diff --git a/CHANGES b/CHANGES index 529702fbbe..6f594aa882 100644 --- a/CHANGES +++ b/CHANGES @@ -111,6 +111,12 @@ Realtime * LDAP realtime configurations for SIP Users now have the AstAccountPathSupport objectIdentifier. This maps to the supportpath option in sip.conf. +RTP +------------------ + * ICE/STUN/TURN support in res_rtp_asterisk has been made optional. To enable + them, an Asterisk-specific version of pjproject needs to be installed. + Tarballs are available from https://github.com/asterisk/pjproject/tags/. + ------------------------------------------------------------------------------ --- Functionality changes from Asterisk 10 to Asterisk 11 -------------------- ------------------------------------------------------------------------------ diff --git a/build_tools/menuselect-deps.in b/build_tools/menuselect-deps.in index b3bcf957d3..bc7c26514f 100644 --- a/build_tools/menuselect-deps.in +++ b/build_tools/menuselect-deps.in @@ -44,6 +44,7 @@ OPENH323=@PBX_OPENH323@ OSPTK=@PBX_OSPTK@ OSS=@PBX_OSS@ PGSQL=@PBX_PGSQL@ +PJPROJECT=@PBX_PJPROJECT@ POPT=@PBX_POPT@ PORTAUDIO=@PBX_PORTAUDIO@ PRI=@PBX_PRI@ diff --git a/configure b/configure index 4162d0b5c5..7fd3c9d07f 100755 --- a/configure +++ b/configure @@ -1,12 +1,14 @@ #! /bin/sh -# From configure.ac Revision: 381869 . +# From configure.ac Revision: 382113 . # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for asterisk trunk. +# Generated by GNU Autoconf 2.67 for asterisk trunk. # # Report bugs to . # # -# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software +# Foundation, Inc. # # # This configure script is free software; the Free Software Foundation @@ -92,7 +94,6 @@ fi IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. -as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -137,31 +138,6 @@ export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH -# Use a proper internal environment variable to ensure we don't fall - # into an infinite loop, continuously re-executing ourselves. - if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then - _as_can_reexec=no; export _as_can_reexec; - # We cannot yet assume a decent shell, so we have to provide a -# neutralization value for shells without unset; and this also -# works around shells that cannot unset nonexistent variables. -# Preserve -v and -x to the replacement shell. -BASH_ENV=/dev/null -ENV=/dev/null -(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV -case $- in # (((( - *v*x* | *x*v* ) as_opts=-vx ;; - *v* ) as_opts=-v ;; - *x* ) as_opts=-x ;; - * ) as_opts= ;; -esac -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} -# Admittedly, this is quite paranoid, since all the known shells bail -# out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -as_fn_exit 255 - fi - # We don't want this to propagate to other subprocesses. - { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh @@ -195,8 +171,7 @@ if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi -test x\$exitcode = x0 || exit 1 -test -x / || exit 1" +test x\$exitcode = x0 || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && @@ -241,25 +216,14 @@ IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : - export CONFIG_SHELL - # We cannot yet assume a decent shell, so we have to provide a -# neutralization value for shells without unset; and this also -# works around shells that cannot unset nonexistent variables. -# Preserve -v and -x to the replacement shell. -BASH_ENV=/dev/null -ENV=/dev/null -(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV -case $- in # (((( - *v*x* | *x*v* ) as_opts=-vx ;; - *v* ) as_opts=-v ;; - *x* ) as_opts=-x ;; - * ) as_opts= ;; -esac -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} -# Admittedly, this is quite paranoid, since all the known shells bail -# out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -exit 255 + # We cannot yet assume a decent shell, so we have to provide a + # neutralization value for shells without unset; and this also + # works around shells that cannot unset nonexistent variables. + BASH_ENV=/dev/null + ENV=/dev/null + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi if test x$as_have_required = xno; then : @@ -362,14 +326,6 @@ $as_echo X"$as_dir" | } # as_fn_mkdir_p - -# as_fn_executable_p FILE -# ----------------------- -# Test if FILE is an executable regular file. -as_fn_executable_p () -{ - test -f "$1" && test -x "$1" -} # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take @@ -491,10 +447,6 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } - # If we had to re-execute with $CONFIG_SHELL, we're ensured to have - # already done that, so ensure we don't try to do so again and fall - # in an infinite loop. This has already happened in practice. - _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). @@ -529,16 +481,16 @@ if (echo >conf$$.file) 2>/dev/null; then # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -pR'. + # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -pR' + as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else - as_ln_s='cp -pR' + as_ln_s='cp -p' fi else - as_ln_s='cp -pR' + as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @@ -550,8 +502,28 @@ else as_mkdir_p=false fi -as_test_x='test -x' -as_executable_p=as_fn_executable_p +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" @@ -662,6 +634,8 @@ PWLIB_LIBDIR PWLIB_INCDIR PWLIBDIR PTLIB_CONFIG +PJPROJECT_LIBS +PJPROJECT_CFLAGS PG_CONFIG CONFIG_NETSNMP CONFIG_NEON29 @@ -895,6 +869,10 @@ PBX_POPT POPT_DIR POPT_INCLUDE POPT_LIB +PBX_PJPROJECT +PJPROJECT_DIR +PJPROJECT_INCLUDE +PJPROJECT_LIB PBX_PGSQL PGSQL_DIR PGSQL_INCLUDE @@ -1271,6 +1249,7 @@ with_openr2 with_osptk with_oss with_postgres +with_pjproject with_popt with_portaudio with_pri @@ -1325,6 +1304,8 @@ ILBC_CFLAGS ILBC_LIBS LIBEDIT_CFLAGS LIBEDIT_LIBS +PJPROJECT_CFLAGS +PJPROJECT_LIBS GMIME_CFLAGS GMIME_LIBS GTK2_CFLAGS @@ -1733,7 +1714,7 @@ Try \`$0 --help' for more information" $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac @@ -1784,6 +1765,8 @@ target=$target_alias if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe + $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used" >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi @@ -2002,6 +1985,7 @@ Optional Packages: --with-osptk=PATH use OSP Toolkit files in PATH --with-oss=PATH use Open Sound System files in PATH --with-postgres=PATH use PostgreSQL files in PATH + --with-pjproject=PATH use PJPROJECT files in PATH --with-popt=PATH use popt files in PATH --with-portaudio=PATH use PortAudio files in PATH --with-pri=PATH use ISDN PRI files in PATH @@ -2056,6 +2040,10 @@ Some influential environment variables: C compiler flags for LIBEDIT, overriding pkg-config LIBEDIT_LIBS linker flags for LIBEDIT, overriding pkg-config + PJPROJECT_CFLAGS + C compiler flags for PJPROJECT, overriding pkg-config + PJPROJECT_LIBS + linker flags for PJPROJECT, overriding pkg-config GMIME_CFLAGS C compiler flags for GMIME, overriding pkg-config GMIME_LIBS linker flags for GMIME, overriding pkg-config @@ -2129,9 +2117,9 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF asterisk configure trunk -generated by GNU Autoconf 2.69 +generated by GNU Autoconf 2.67 -Copyright (C) 2012 Free Software Foundation, Inc. +Copyright (C) 2010 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. @@ -2177,7 +2165,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} as_fn_set_status $ac_retval } # ac_fn_c_try_compile @@ -2214,7 +2202,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} as_fn_set_status $ac_retval } # ac_fn_c_try_cpp @@ -2227,10 +2215,10 @@ fi ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if eval \${$3+:} false; then : + if eval "test \"\${$3+set}\"" = set; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : +if eval "test \"\${$3+set}\"" = set; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 @@ -2297,7 +2285,7 @@ $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : +if eval "test \"\${$3+set}\"" = set; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" @@ -2306,7 +2294,7 @@ eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} } # ac_fn_c_check_header_mongrel @@ -2347,7 +2335,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} as_fn_set_status $ac_retval } # ac_fn_c_try_run @@ -2361,7 +2349,7 @@ ac_fn_c_check_header_compile () as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : +if eval "test \"\${$3+set}\"" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -2379,7 +2367,7 @@ fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} } # ac_fn_c_check_header_compile @@ -2416,7 +2404,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} as_fn_set_status $ac_retval } # ac_fn_cxx_try_compile @@ -2453,7 +2441,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} as_fn_set_status $ac_retval } # ac_fn_cxx_try_cpp @@ -2485,7 +2473,7 @@ $as_echo "$ac_try_echo"; } >&5 test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || - test -x conftest$ac_exeext + $as_test_x conftest$ac_exeext }; then : ac_retval=0 else @@ -2499,7 +2487,7 @@ fi # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} as_fn_set_status $ac_retval } # ac_fn_c_try_link @@ -2512,7 +2500,7 @@ ac_fn_c_check_func () as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : +if eval "test \"\${$3+set}\"" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -2567,7 +2555,7 @@ fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} } # ac_fn_c_check_func @@ -2580,7 +2568,7 @@ ac_fn_c_check_type () as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : +if eval "test \"\${$3+set}\"" = set; then : $as_echo_n "(cached) " >&6 else eval "$3=no" @@ -2621,7 +2609,7 @@ fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} } # ac_fn_c_check_type @@ -2634,7 +2622,7 @@ ac_fn_c_check_member () as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 $as_echo_n "checking for $2.$3... " >&6; } -if eval \${$4+:} false; then : +if eval "test \"\${$4+set}\"" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -2678,7 +2666,7 @@ fi eval ac_res=\$$4 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} } # ac_fn_c_check_member @@ -2699,8 +2687,7 @@ int main () { static int test_array [1 - 2 * !(($2) >= 0)]; -test_array [0] = 0; -return test_array [0]; +test_array [0] = 0 ; return 0; @@ -2716,8 +2703,7 @@ int main () { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; -test_array [0] = 0; -return test_array [0]; +test_array [0] = 0 ; return 0; @@ -2743,8 +2729,7 @@ int main () { static int test_array [1 - 2 * !(($2) < 0)]; -test_array [0] = 0; -return test_array [0]; +test_array [0] = 0 ; return 0; @@ -2760,8 +2745,7 @@ int main () { static int test_array [1 - 2 * !(($2) >= $ac_mid)]; -test_array [0] = 0; -return test_array [0]; +test_array [0] = 0 ; return 0; @@ -2795,8 +2779,7 @@ int main () { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; -test_array [0] = 0; -return test_array [0]; +test_array [0] = 0 ; return 0; @@ -2860,7 +2843,7 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ rm -f conftest.val fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} as_fn_set_status $ac_retval } # ac_fn_c_compute_int @@ -2873,10 +2856,10 @@ rm -f conftest.val ac_fn_cxx_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if eval \${$3+:} false; then : + if eval "test \"\${$3+set}\"" = set; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : +if eval "test \"\${$3+set}\"" = set; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 @@ -2943,7 +2926,7 @@ $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : +if eval "test \"\${$3+set}\"" = set; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" @@ -2952,7 +2935,7 @@ eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} } # ac_fn_cxx_check_header_mongrel @@ -2983,7 +2966,7 @@ $as_echo "$ac_try_echo"; } >&5 test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || - test -x conftest$ac_exeext + $as_test_x conftest$ac_exeext }; then : ac_retval=0 else @@ -2997,7 +2980,7 @@ fi # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} as_fn_set_status $ac_retval } # ac_fn_cxx_try_link @@ -3011,7 +2994,7 @@ ac_fn_cxx_check_header_compile () as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : +if eval "test \"\${$3+set}\"" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -3029,7 +3012,7 @@ fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} } # ac_fn_cxx_check_header_compile cat >config.log <<_ACEOF @@ -3037,7 +3020,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by asterisk $as_me trunk, which was -generated by GNU Autoconf 2.69. Invocation command line was +generated by GNU Autoconf 2.67. Invocation command line was $ $0 $@ @@ -3295,7 +3278,7 @@ $as_echo "$as_me: loading site script $ac_site_file" >&6;} || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file -See \`config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5 ; } fi done @@ -3425,7 +3408,7 @@ $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } -if ${ac_cv_build+:} false; then : +if test "${ac_cv_build+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias @@ -3441,7 +3424,7 @@ fi $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; -*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' @@ -3459,7 +3442,7 @@ case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } -if ${ac_cv_host+:} false; then : +if test "${ac_cv_host+set}" = set; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then @@ -3474,7 +3457,7 @@ fi $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; -*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' @@ -3557,7 +3540,7 @@ if test -n "$ac_tool_prefix"; then set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : +if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3569,7 +3552,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3601,7 +3584,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -3613,7 +3596,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3654,7 +3637,7 @@ fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH -See \`config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5 ; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 @@ -3769,7 +3752,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables -See \`config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5 ; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } @@ -3812,7 +3795,7 @@ else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5 ; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 @@ -3871,7 +3854,7 @@ $as_echo "$ac_try_echo"; } >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. -See \`config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5 ; } fi fi fi @@ -3882,7 +3865,7 @@ rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } -if ${ac_cv_objext+:} false; then : +if test "${ac_cv_objext+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -3923,7 +3906,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile -See \`config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5 ; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi @@ -3933,7 +3916,7 @@ OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if ${ac_cv_c_compiler_gnu+:} false; then : +if test "${ac_cv_c_compiler_gnu+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -3970,7 +3953,7 @@ ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } -if ${ac_cv_prog_cc_g+:} false; then : +if test "${ac_cv_prog_cc_g+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag @@ -4048,7 +4031,7 @@ else fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if ${ac_cv_prog_cc_c89+:} false; then : +if test "${ac_cv_prog_cc_c89+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no @@ -4057,7 +4040,8 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include -struct stat; +#include +#include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); @@ -4156,7 +4140,7 @@ if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then - if ${ac_cv_prog_CPP+:} false; then : + if test "${ac_cv_prog_CPP+set}" = set; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded @@ -4272,7 +4256,7 @@ else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5 ; } fi ac_ext=c @@ -4284,7 +4268,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if ${ac_cv_path_GREP+:} false; then : +if test "${ac_cv_path_GREP+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then @@ -4298,7 +4282,7 @@ do for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_GREP" || continue + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in @@ -4347,7 +4331,7 @@ $as_echo "$ac_cv_path_GREP" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } -if ${ac_cv_path_EGREP+:} false; then : +if test "${ac_cv_path_EGREP+set}" = set; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 @@ -4364,7 +4348,7 @@ do for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_EGREP" || continue + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in @@ -4414,7 +4398,7 @@ $as_echo "$ac_cv_path_EGREP" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } -if ${ac_cv_header_stdc+:} false; then : +if test "${ac_cv_header_stdc+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -4543,7 +4527,7 @@ done ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" -if test "x$ac_cv_header_minix_config_h" = xyes; then : +if test "x$ac_cv_header_minix_config_h" = x""yes; then : MINIX=yes else MINIX= @@ -4565,14 +4549,14 @@ $as_echo "#define _MINIX 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } -if ${ac_cv_safe_to_define___extensions__+:} false; then : +if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -# define __EXTENSIONS__ 1 - $ac_includes_default +# define __EXTENSIONS__ 1 + $ac_includes_default int main () { @@ -4761,7 +4745,7 @@ if test -n "$ac_tool_prefix"; then set dummy ${ac_tool_prefix}uname; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_UNAME+:} false; then : +if test "${ac_cv_path_UNAME+set}" = set; then : $as_echo_n "(cached) " >&6 else case $UNAME in @@ -4775,7 +4759,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4804,7 +4788,7 @@ if test -z "$ac_cv_path_UNAME"; then set dummy uname; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_UNAME+:} false; then : +if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then : $as_echo_n "(cached) " >&6 else case $ac_pt_UNAME in @@ -4818,7 +4802,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4871,7 +4855,7 @@ then set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : +if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -4883,7 +4867,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4911,7 +4895,7 @@ if test -z "$ac_cv_prog_CC"; then set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -4923,7 +4907,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4963,7 +4947,7 @@ fi set dummy ${ac_tool_prefix}g++; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CXX+:} false; then : +if test "${ac_cv_prog_CXX+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CXX"; then @@ -4975,7 +4959,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CXX="${ac_tool_prefix}g++" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5003,7 +4987,7 @@ if test -z "$ac_cv_prog_CXX"; then set dummy g++; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CXX+:} false; then : +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CXX"; then @@ -5015,7 +4999,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CXX="g++" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5055,7 +5039,7 @@ fi set dummy ${ac_tool_prefix}ld; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_LD+:} false; then : +if test "${ac_cv_prog_LD+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$LD"; then @@ -5067,7 +5051,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_LD="${ac_tool_prefix}ld" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5095,7 +5079,7 @@ if test -z "$ac_cv_prog_LD"; then set dummy ld; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_LD+:} false; then : +if test "${ac_cv_prog_ac_ct_LD+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_LD"; then @@ -5107,7 +5091,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_LD="ld" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5147,7 +5131,7 @@ fi set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_RANLIB+:} false; then : +if test "${ac_cv_prog_RANLIB+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then @@ -5159,7 +5143,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5187,7 +5171,7 @@ if test -z "$ac_cv_prog_RANLIB"; then set dummy ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then @@ -5199,7 +5183,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5253,7 +5237,7 @@ if test -z "$CXX"; then set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CXX+:} false; then : +if test "${ac_cv_prog_CXX+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CXX"; then @@ -5265,7 +5249,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5297,7 +5281,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CXX+:} false; then : +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CXX"; then @@ -5309,7 +5293,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CXX="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5375,7 +5359,7 @@ done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if ${ac_cv_cxx_compiler_gnu+:} false; then : +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -5412,7 +5396,7 @@ ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 $as_echo_n "checking whether $CXX accepts -g... " >&6; } -if ${ac_cv_prog_cxx_g+:} false; then : +if test "${ac_cv_prog_cxx_g+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_save_cxx_werror_flag=$ac_cxx_werror_flag @@ -5506,7 +5490,7 @@ if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then - if ${ac_cv_prog_CPP+:} false; then : + if test "${ac_cv_prog_CPP+set}" = set; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded @@ -5622,7 +5606,7 @@ else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5 ; } fi ac_ext=c @@ -5639,7 +5623,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } if test -z "$CXXCPP"; then - if ${ac_cv_prog_CXXCPP+:} false; then : + if test "${ac_cv_prog_CXXCPP+set}" = set; then : $as_echo_n "(cached) " >&6 else # Double quotes because CXXCPP needs to be expanded @@ -5755,7 +5739,7 @@ else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check -See \`config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5 ; } fi ac_ext=c @@ -5768,7 +5752,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # the developers regenerating the configure script don't have to install libtool. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } -if ${ac_cv_path_SED+:} false; then : +if test "${ac_cv_path_SED+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ @@ -5788,7 +5772,7 @@ do for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_SED" || continue + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in @@ -5837,7 +5821,7 @@ $as_echo "$ac_cv_path_SED" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } -if ${ac_cv_prog_egrep+:} false; then : +if test "${ac_cv_prog_egrep+set}" = set; then : $as_echo_n "(cached) " >&6 else if echo a | (grep -E '(a|b)') >/dev/null 2>&1 @@ -5897,7 +5881,7 @@ else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi -if ${lt_cv_path_LD+:} false; then : +if test "${lt_cv_path_LD+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then @@ -5937,7 +5921,7 @@ fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if ${lt_cv_prog_gnu_ld+:} false; then : +if test "${lt_cv_prog_gnu_ld+set}" = set; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. @@ -5961,7 +5945,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AWK+:} false; then : +if test "${ac_cv_prog_AWK+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then @@ -5973,7 +5957,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6014,7 +5998,7 @@ done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then -if ${ac_cv_path_install+:} false; then : +if test "${ac_cv_path_install+set}" = set; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -6034,7 +6018,7 @@ case $as_dir/ in #(( # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. @@ -6106,7 +6090,7 @@ if test -n "$ac_tool_prefix"; then set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_RANLIB+:} false; then : +if test "${ac_cv_prog_RANLIB+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then @@ -6118,7 +6102,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6146,7 +6130,7 @@ if test -z "$ac_cv_prog_RANLIB"; then set dummy ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then @@ -6158,7 +6142,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6195,7 +6179,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5 $as_echo_n "checking for GNU make... " >&6; } -if ${ac_cv_GNU_MAKE+:} false; then : +if test "${ac_cv_GNU_MAKE+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_cv_GNU_MAKE='Not Found' ; @@ -6223,7 +6207,7 @@ GNU_MAKE=$ac_cv_GNU_MAKE { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } -if ${ac_cv_path_EGREP+:} false; then : +if test "${ac_cv_path_EGREP+set}" = set; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 @@ -6240,7 +6224,7 @@ do for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - as_fn_executable_p "$ac_path_EGREP" || continue + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in @@ -6296,7 +6280,7 @@ if test -n "$ac_tool_prefix"; then set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_STRIP+:} false; then : +if test "${ac_cv_prog_STRIP+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then @@ -6308,7 +6292,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6340,7 +6324,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_STRIP+:} false; then : +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then @@ -6352,7 +6336,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6396,7 +6380,7 @@ if test -n "$ac_tool_prefix"; then set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AR+:} false; then : +if test "${ac_cv_prog_AR+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$AR"; then @@ -6408,7 +6392,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AR="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6440,7 +6424,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AR+:} false; then : +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then @@ -6452,7 +6436,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_AR="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6500,7 +6484,7 @@ fi set dummy bison; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_BISON+:} false; then : +if test "${ac_cv_path_BISON+set}" = set; then : $as_echo_n "(cached) " >&6 else case $BISON in @@ -6514,7 +6498,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6541,7 +6525,7 @@ fi set dummy cmp; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_CMP+:} false; then : +if test "${ac_cv_path_CMP+set}" = set; then : $as_echo_n "(cached) " >&6 else case $CMP in @@ -6555,7 +6539,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6582,7 +6566,7 @@ fi set dummy flex; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_FLEX+:} false; then : +if test "${ac_cv_path_FLEX+set}" = set; then : $as_echo_n "(cached) " >&6 else case $FLEX in @@ -6596,7 +6580,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_FLEX="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6623,7 +6607,7 @@ fi set dummy grep; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_GREP+:} false; then : +if test "${ac_cv_path_GREP+set}" = set; then : $as_echo_n "(cached) " >&6 else case $GREP in @@ -6637,7 +6621,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6664,7 +6648,7 @@ fi set dummy python; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PYTHON+:} false; then : +if test "${ac_cv_path_PYTHON+set}" = set; then : $as_echo_n "(cached) " >&6 else case $PYTHON in @@ -6678,7 +6662,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6705,7 +6689,7 @@ fi set dummy find; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_FIND+:} false; then : +if test "${ac_cv_path_FIND+set}" = set; then : $as_echo_n "(cached) " >&6 else case $FIND in @@ -6719,7 +6703,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6746,7 +6730,7 @@ fi set dummy compress; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_COMPRESS+:} false; then : +if test "${ac_cv_path_COMPRESS+set}" = set; then : $as_echo_n "(cached) " >&6 else case $COMPRESS in @@ -6760,7 +6744,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_COMPRESS="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6787,7 +6771,7 @@ fi set dummy basename; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_BASENAME+:} false; then : +if test "${ac_cv_path_BASENAME+set}" = set; then : $as_echo_n "(cached) " >&6 else case $BASENAME in @@ -6801,7 +6785,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_BASENAME="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6828,7 +6812,7 @@ fi set dummy dirname; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_DIRNAME+:} false; then : +if test "${ac_cv_path_DIRNAME+set}" = set; then : $as_echo_n "(cached) " >&6 else case $DIRNAME in @@ -6842,7 +6826,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_DIRNAME="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6869,7 +6853,7 @@ fi set dummy sh; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_SHELL+:} false; then : +if test "${ac_cv_path_SHELL+set}" = set; then : $as_echo_n "(cached) " >&6 else case $SHELL in @@ -6883,7 +6867,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_SHELL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6910,7 +6894,7 @@ fi set dummy ln; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_LN+:} false; then : +if test "${ac_cv_path_LN+set}" = set; then : $as_echo_n "(cached) " >&6 else case $LN in @@ -6924,7 +6908,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6951,7 +6935,7 @@ fi set dummy doxygen; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_DOXYGEN+:} false; then : +if test "${ac_cv_path_DOXYGEN+set}" = set; then : $as_echo_n "(cached) " >&6 else case $DOXYGEN in @@ -6965,7 +6949,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6992,7 +6976,7 @@ fi set dummy dot; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_DOT+:} false; then : +if test "${ac_cv_path_DOT+set}" = set; then : $as_echo_n "(cached) " >&6 else case $DOT in @@ -7006,7 +6990,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7033,7 +7017,7 @@ fi set dummy wget; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_WGET+:} false; then : +if test "${ac_cv_path_WGET+set}" = set; then : $as_echo_n "(cached) " >&6 else case $WGET in @@ -7047,7 +7031,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7074,7 +7058,7 @@ fi set dummy curl; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_CURL+:} false; then : +if test "${ac_cv_path_CURL+set}" = set; then : $as_echo_n "(cached) " >&6 else case $CURL in @@ -7088,7 +7072,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_CURL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7115,7 +7099,7 @@ fi set dummy rubber; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_RUBBER+:} false; then : +if test "${ac_cv_path_RUBBER+set}" = set; then : $as_echo_n "(cached) " >&6 else case $RUBBER in @@ -7129,7 +7113,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_RUBBER="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7156,7 +7140,7 @@ fi set dummy catdvi; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_CATDVI+:} false; then : +if test "${ac_cv_path_CATDVI+set}" = set; then : $as_echo_n "(cached) " >&6 else case $CATDVI in @@ -7170,7 +7154,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_CATDVI="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7197,7 +7181,7 @@ fi set dummy kpsewhich; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_KPATHSEA+:} false; then : +if test "${ac_cv_path_KPATHSEA+set}" = set; then : $as_echo_n "(cached) " >&6 else case $KPATHSEA in @@ -7211,7 +7195,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_KPATHSEA="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7238,7 +7222,7 @@ fi set dummy xmllint; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_XMLLINT+:} false; then : +if test "${ac_cv_path_XMLLINT+set}" = set; then : $as_echo_n "(cached) " >&6 else case $XMLLINT in @@ -7252,7 +7236,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7279,7 +7263,7 @@ fi set dummy xmlstarlet; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_XMLSTARLET+:} false; then : +if test "${ac_cv_path_XMLSTARLET+set}" = set; then : $as_echo_n "(cached) " >&6 else case $XMLSTARLET in @@ -7293,7 +7277,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_XMLSTARLET="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7320,7 +7304,7 @@ fi set dummy git; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_GIT+:} false; then : +if test "${ac_cv_path_GIT+set}" = set; then : $as_echo_n "(cached) " >&6 else case $GIT in @@ -7334,7 +7318,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_GIT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7366,7 +7350,7 @@ else set dummy fetch; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_FETCH+:} false; then : +if test "${ac_cv_path_FETCH+set}" = set; then : $as_echo_n "(cached) " >&6 else case $FETCH in @@ -7380,7 +7364,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_FETCH="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7411,7 +7395,7 @@ fi set dummy ldconfig; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_LDCONFIG+:} false; then : +if test "${ac_cv_path_LDCONFIG+set}" = set; then : $as_echo_n "(cached) " >&6 else case $LDCONFIG in @@ -7425,7 +7409,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7452,7 +7436,7 @@ fi set dummy sha1sum; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_SHA1SUM+:} false; then : +if test "${ac_cv_path_SHA1SUM+set}" = set; then : $as_echo_n "(cached) " >&6 else case $SHA1SUM in @@ -7466,7 +7450,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_SHA1SUM="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7493,7 +7477,7 @@ fi set dummy openssl; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_OPENSSL+:} false; then : +if test "${ac_cv_path_OPENSSL+set}" = set; then : $as_echo_n "(cached) " >&6 else case $OPENSSL in @@ -7507,7 +7491,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_OPENSSL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7533,7 +7517,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison that supports parse-param" >&5 $as_echo_n "checking for bison that supports parse-param... " >&6; } -if ${ac_cv_path_BISON2+:} false; then : +if test "${ac_cv_path_BISON2+set}" = set; then : $as_echo_n "(cached) " >&6 else @@ -7587,7 +7571,7 @@ if test -n "$ac_tool_prefix"; then set dummy ${ac_tool_prefix}soxmix; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_SOXMIX+:} false; then : +if test "${ac_cv_prog_SOXMIX+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$SOXMIX"; then @@ -7599,7 +7583,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_SOXMIX="${ac_tool_prefix}soxmix" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7627,7 +7611,7 @@ if test -z "$ac_cv_prog_SOXMIX"; then set dummy soxmix; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_SOXMIX+:} false; then : +if test "${ac_cv_prog_ac_ct_SOXMIX+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_SOXMIX"; then @@ -7639,7 +7623,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_SOXMIX="soxmix" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7686,7 +7670,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_MD5+:} false; then : +if test "${ac_cv_prog_MD5+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$MD5"; then @@ -7698,7 +7682,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_MD5="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7852,7 +7836,7 @@ $as_echo_n "checking whether pthreads work with $flag... " >&6; } set dummy pthread-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_acx_pthread_config+:} false; then : +if test "${ac_cv_prog_acx_pthread_config+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$acx_pthread_config"; then @@ -7864,7 +7848,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_acx_pthread_config="yes" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -8008,7 +7992,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_PTHREAD_CC+:} false; then : +if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$PTHREAD_CC"; then @@ -8020,7 +8004,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_PTHREAD_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -8094,7 +8078,7 @@ if test "${enable_dev_mode+set}" = set; then : AST_DEVMODE=yes AST_DEVMODE_STRICT=yes ;; - *) as_fn_error $? "bad value ${enableval} for --enable-dev-mode" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --enable-dev-mode" "$LINENO" 5 ;; esac fi @@ -8108,7 +8092,7 @@ if test "${enable_coverage+set}" = set; then : enableval=$enable_coverage; case "${enableval}" in y|ye|yes) AST_CODE_COVERAGE=yes ;; n|no) AST_CODE_COVERAGE=no ;; - *) as_fn_error $? "bad value ${enableval} for --enable-coverage" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --enable-coverage" "$LINENO" 5 ;; esac fi @@ -9053,7 +9037,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AWK+:} false; then : +if test "${ac_cv_prog_AWK+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then @@ -9065,7 +9049,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -9101,7 +9085,7 @@ done set dummy curl-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path__libcurl_config+:} false; then : +if test "${ac_cv_path__libcurl_config+set}" = set; then : $as_echo_n "(cached) " >&6 else case $_libcurl_config in @@ -9115,7 +9099,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -9143,7 +9127,7 @@ fi set dummy curl-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path__libcurl_config+:} false; then : +if test "${ac_cv_path__libcurl_config+set}" = set; then : $as_echo_n "(cached) " >&6 else case $_libcurl_config in @@ -9157,7 +9141,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -9184,7 +9168,7 @@ fi if test x$_libcurl_config != "x" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the version of libcurl" >&5 $as_echo_n "checking for the version of libcurl... " >&6; } -if ${libcurl_cv_lib_curl_version+:} false; then : +if test "${libcurl_cv_lib_curl_version+set}" = set; then : $as_echo_n "(cached) " >&6 else libcurl_cv_lib_curl_version=`$_libcurl_config --version | $AWK '{print $2}'` @@ -9198,7 +9182,7 @@ $as_echo "$libcurl_cv_lib_curl_version" >&6; } if test $_libcurl_wanted -gt 0 ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl >= version 7.10.1" >&5 $as_echo_n "checking for libcurl >= version 7.10.1... " >&6; } -if ${libcurl_cv_lib_version_ok+:} false; then : +if test "${libcurl_cv_lib_version_ok+set}" = set; then : $as_echo_n "(cached) " >&6 else @@ -9252,7 +9236,7 @@ $as_echo "$libcurl_cv_lib_version_ok" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcurl is usable" >&5 $as_echo_n "checking whether libcurl is usable... " >&6; } -if ${libcurl_cv_lib_curl_usable+:} false; then : +if test "${libcurl_cv_lib_curl_usable+set}" = set; then : $as_echo_n "(cached) " >&6 else @@ -9311,7 +9295,7 @@ $as_echo "$libcurl_cv_lib_curl_usable" >&6; } LIBS="$LIBS $CURL_LIB" ac_fn_c_check_func "$LINENO" "curl_free" "ac_cv_func_curl_free" -if test "x$ac_cv_func_curl_free" = xyes; then : +if test "x$ac_cv_func_curl_free" = x""yes; then : else @@ -9937,6 +9921,38 @@ fi + PJPROJECT_DESCRIP="PJPROJECT" + PJPROJECT_OPTION="pjproject" + PBX_PJPROJECT=0 + +# Check whether --with-pjproject was given. +if test "${with_pjproject+set}" = set; then : + withval=$with_pjproject; + case ${withval} in + n|no) + USE_PJPROJECT=no + # -1 is a magic value used by menuselect to know that the package + # was disabled, other than 'not found' + PBX_PJPROJECT=-1 + ;; + y|ye|yes) + ac_mandatory_list="${ac_mandatory_list} PJPROJECT" + ;; + *) + PJPROJECT_DIR="${withval}" + ac_mandatory_list="${ac_mandatory_list} PJPROJECT" + ;; + esac + +fi + + + + + + + + POPT_DESCRIP="popt" POPT_OPTION="popt" PBX_POPT=0 @@ -11103,22 +11119,11 @@ fi # check for basic system features and functionality before # checking for package libraries -ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" -if test "x$ac_cv_type_size_t" = xyes; then : - -else - -cat >>confdefs.h <<_ACEOF -#define size_t unsigned int -_ACEOF - -fi - # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 $as_echo_n "checking for working alloca.h... " >&6; } -if ${ac_cv_working_alloca_h+:} false; then : +if test "${ac_cv_working_alloca_h+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -11151,7 +11156,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 $as_echo_n "checking for alloca... " >&6; } -if ${ac_cv_func_alloca_works+:} false; then : +if test "${ac_cv_func_alloca_works+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -11170,7 +11175,7 @@ else #pragma alloca # else # ifndef alloca /* predefined by HP cc +Olibcalls */ -void *alloca (size_t); +char *alloca (); # endif # endif # endif @@ -11214,7 +11219,7 @@ $as_echo "#define C_ALLOCA 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } -if ${ac_cv_os_cray+:} false; then : +if test "${ac_cv_os_cray+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -11255,7 +11260,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 $as_echo_n "checking stack direction for C alloca... " >&6; } -if ${ac_cv_c_stack_direction+:} false; then : +if test "${ac_cv_c_stack_direction+set}" = set; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : @@ -11265,20 +11270,23 @@ else /* end confdefs.h. */ $ac_includes_default int -find_stack_direction (int *addr, int depth) +find_stack_direction () { - int dir, dummy = 0; - if (! addr) - addr = &dummy; - *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; - dir = depth ? find_stack_direction (addr, depth - 1) : 0; - return dir + dummy; + static char *addr = 0; + auto char dummy; + if (addr == 0) + { + addr = &dummy; + return find_stack_direction (); + } + else + return (&dummy > addr) ? 1 : -1; } int -main (int argc, char **argv) +main () { - return find_stack_direction (0, argc + !argv + 20) < 0; + return find_stack_direction () < 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : @@ -11305,7 +11313,7 @@ for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } -if eval \${$as_ac_Header+:} false; then : +if eval "test \"\${$as_ac_Header+set}\"" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -11345,7 +11353,7 @@ done if test $ac_header_dirent = dirent.h; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 $as_echo_n "checking for library containing opendir... " >&6; } -if ${ac_cv_search_opendir+:} false; then : +if test "${ac_cv_search_opendir+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS @@ -11379,11 +11387,11 @@ for ac_lib in '' dir; do fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext - if ${ac_cv_search_opendir+:} false; then : + if test "${ac_cv_search_opendir+set}" = set; then : break fi done -if ${ac_cv_search_opendir+:} false; then : +if test "${ac_cv_search_opendir+set}" = set; then : else ac_cv_search_opendir=no @@ -11402,7 +11410,7 @@ fi else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 $as_echo_n "checking for library containing opendir... " >&6; } -if ${ac_cv_search_opendir+:} false; then : +if test "${ac_cv_search_opendir+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS @@ -11436,11 +11444,11 @@ for ac_lib in '' x; do fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext - if ${ac_cv_search_opendir+:} false; then : + if test "${ac_cv_search_opendir+set}" = set; then : break fi done -if ${ac_cv_search_opendir+:} false; then : +if test "${ac_cv_search_opendir+set}" = set; then : else ac_cv_search_opendir=no @@ -11460,7 +11468,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } -if ${ac_cv_header_stdc+:} false; then : +if test "${ac_cv_header_stdc+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -11572,7 +11580,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } -if ${ac_cv_header_sys_wait_h+:} false; then : +if test "${ac_cv_header_sys_wait_h+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -11646,7 +11654,7 @@ if test "x${PBX_TERMCAP}" != "x1" -a "${USE_TERMCAP}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_termcap_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -ltermcap" >&5 $as_echo_n "checking for ${pbxfuncname} in -ltermcap... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -11704,7 +11712,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${TERMCAP_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "" "ac_cv_header_" "$ac_includes_default" -if test "x$ac_cv_header_" = xyes; then : +if test "x$ac_cv_header_" = x""yes; then : TERMCAP_HEADER_FOUND=1 else TERMCAP_HEADER_FOUND=0 @@ -11750,7 +11758,7 @@ if test "x${PBX_TINFO}" != "x1" -a "${USE_TINFO}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_tinfo_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -ltinfo" >&5 $as_echo_n "checking for ${pbxfuncname} in -ltinfo... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -11808,7 +11816,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${TINFO_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "" "ac_cv_header_" "$ac_includes_default" -if test "x$ac_cv_header_" = xyes; then : +if test "x$ac_cv_header_" = x""yes; then : TINFO_HEADER_FOUND=1 else TINFO_HEADER_FOUND=0 @@ -11854,7 +11862,7 @@ if test "x${PBX_CURSES}" != "x1" -a "${USE_CURSES}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_curses_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lcurses" >&5 $as_echo_n "checking for ${pbxfuncname} in -lcurses... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -11912,7 +11920,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${CURSES_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "curses.h" "ac_cv_header_curses_h" "$ac_includes_default" -if test "x$ac_cv_header_curses_h" = xyes; then : +if test "x$ac_cv_header_curses_h" = x""yes; then : CURSES_HEADER_FOUND=1 else CURSES_HEADER_FOUND=0 @@ -11958,7 +11966,7 @@ if test "x${PBX_NCURSES}" != "x1" -a "${USE_NCURSES}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_ncurses_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lncurses" >&5 $as_echo_n "checking for ${pbxfuncname} in -lncurses... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -12016,7 +12024,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${NCURSES_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "curses.h" "ac_cv_header_curses_h" "$ac_includes_default" -if test "x$ac_cv_header_curses_h" = xyes; then : +if test "x$ac_cv_header_curses_h" = x""yes; then : NCURSES_HEADER_FOUND=1 else NCURSES_HEADER_FOUND=0 @@ -12062,7 +12070,7 @@ if test "x${PBX_UUID}" != "x1" -a "${USE_UUID}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_uuid_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -luuid" >&5 $as_echo_n "checking for ${pbxfuncname} in -luuid... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -12120,7 +12128,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${UUID_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" -if test "x$ac_cv_header_uuid_uuid_h" = xyes; then : +if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : UUID_HEADER_FOUND=1 else UUID_HEADER_FOUND=0 @@ -12171,7 +12179,7 @@ if test "${enable_xmldoc+set}" = set; then : enableval=$enable_xmldoc; case "${enableval}" in y|ye|yes) disable_xmldoc=no ;; n|no) disable_xmldoc=yes ;; - *) as_fn_error $? "bad value ${enableval} for --disable-xmldoc" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-xmldoc" "$LINENO" 5 ;; esac else disable_xmldoc=no @@ -12187,7 +12195,7 @@ if test "${disable_xmldoc}" != "yes"; then set dummy ${ac_tool_prefix}xml2-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_CONFIG_LIBXML2+:} false; then : +if test "${ac_cv_path_CONFIG_LIBXML2+set}" = set; then : $as_echo_n "(cached) " >&6 else case $CONFIG_LIBXML2 in @@ -12202,7 +12210,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_CONFIG_LIBXML2="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -12231,7 +12239,7 @@ if test -z "$ac_cv_path_CONFIG_LIBXML2"; then set dummy xml2-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_CONFIG_LIBXML2+:} false; then : +if test "${ac_cv_path_ac_pt_CONFIG_LIBXML2+set}" = set; then : $as_echo_n "(cached) " >&6 else case $ac_pt_CONFIG_LIBXML2 in @@ -12246,7 +12254,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_CONFIG_LIBXML2="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -12346,7 +12354,7 @@ fi for ac_header in xlocale.h do : ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default" -if test "x$ac_cv_header_xlocale_h" = xyes; then : +if test "x$ac_cv_header_xlocale_h" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_XLOCALE_H 1 _ACEOF @@ -12371,7 +12379,7 @@ done ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_poll_h" = xyes; then : +if test "x$ac_cv_header_sys_poll_h" = x""yes; then : else @@ -12390,7 +12398,7 @@ if test "$enable_largefile" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } -if ${ac_cv_sys_largefile_CC+:} false; then : +if test "${ac_cv_sys_largefile_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_cv_sys_largefile_CC=no @@ -12441,7 +12449,7 @@ $as_echo "$ac_cv_sys_largefile_CC" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } -if ${ac_cv_sys_file_offset_bits+:} false; then : +if test "${ac_cv_sys_file_offset_bits+set}" = set; then : $as_echo_n "(cached) " >&6 else while :; do @@ -12510,7 +12518,7 @@ rm -rf conftest* if test $ac_cv_sys_file_offset_bits = unknown; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } -if ${ac_cv_sys_large_files+:} false; then : +if test "${ac_cv_sys_large_files+set}" = set; then : $as_echo_n "(cached) " >&6 else while :; do @@ -12577,74 +12585,90 @@ _ACEOF esac rm -rf conftest* fi - - fi # Checks for typedefs, structures, and compiler characteristics. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } -if ${ac_cv_header_stdbool_h+:} false; then : +if test "${ac_cv_header_stdbool_h+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - #include - #ifndef bool - "error: bool is not defined" - #endif - #ifndef false - "error: false is not defined" - #endif - #if false - "error: false is not 0" - #endif - #ifndef true - "error: true is not defined" - #endif - #if true != 1 - "error: true is not 1" - #endif - #ifndef __bool_true_false_are_defined - "error: __bool_true_false_are_defined is not defined" - #endif +#include +#ifndef bool + "error: bool is not defined" +#endif +#ifndef false + "error: false is not defined" +#endif +#if false + "error: false is not 0" +#endif +#ifndef true + "error: true is not defined" +#endif +#if true != 1 + "error: true is not 1" +#endif +#ifndef __bool_true_false_are_defined + "error: __bool_true_false_are_defined is not defined" +#endif - struct s { _Bool s: 1; _Bool t; } s; + struct s { _Bool s: 1; _Bool t; } s; - char a[true == 1 ? 1 : -1]; - char b[false == 0 ? 1 : -1]; - char c[__bool_true_false_are_defined == 1 ? 1 : -1]; - char d[(bool) 0.5 == true ? 1 : -1]; - /* See body of main program for 'e'. */ - char f[(_Bool) 0.0 == false ? 1 : -1]; - char g[true]; - char h[sizeof (_Bool)]; - char i[sizeof s.t]; - enum { j = false, k = true, l = false * true, m = true * 256 }; - /* The following fails for - HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ - _Bool n[m]; - char o[sizeof n == m * sizeof n[0] ? 1 : -1]; - char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; - /* Catch a bug in an HP-UX C compiler. See - http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html - http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html - */ - _Bool q = true; - _Bool *pq = &q; + char a[true == 1 ? 1 : -1]; + char b[false == 0 ? 1 : -1]; + char c[__bool_true_false_are_defined == 1 ? 1 : -1]; + char d[(bool) 0.5 == true ? 1 : -1]; + bool e = &s; + char f[(_Bool) 0.0 == false ? 1 : -1]; + char g[true]; + char h[sizeof (_Bool)]; + char i[sizeof s.t]; + enum { j = false, k = true, l = false * true, m = true * 256 }; + /* The following fails for + HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ + _Bool n[m]; + char o[sizeof n == m * sizeof n[0] ? 1 : -1]; + char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; +# if defined __xlc__ || defined __GNUC__ + /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 + reported by James Lemley on 2005-10-05; see + http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html + This test is not quite right, since xlc is allowed to + reject this program, as the initializer for xlcbug is + not one of the forms that C requires support for. + However, doing the test right would require a runtime + test, and that would make cross-compilation harder. + Let us hope that IBM fixes the xlc bug, and also adds + support for this kind of constant expression. In the + meantime, this test will reject xlc, which is OK, since + our stdbool.h substitute should suffice. We also test + this with GCC, where it should work, to detect more + quickly whether someone messes up the test in the + future. */ + char digs[] = "0123456789"; + int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); +# endif + /* Catch a bug in an HP-UX C compiler. See + http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html + http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html + */ + _Bool q = true; + _Bool *pq = &q; int main () { - bool e = &s; - *pq |= q; - *pq |= ! q; - /* Refer to every declared value, to avoid compiler optimizations. */ - return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l - + !m + !n + !o + !p + !q + !pq); + *pq |= q; + *pq |= ! q; + /* Refer to every declared value, to avoid compiler optimizations. */ + return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l + + !m + !n + !o + !p + !q + !pq); ; return 0; @@ -12659,8 +12683,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 $as_echo "$ac_cv_header_stdbool_h" >&6; } - ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" -if test "x$ac_cv_type__Bool" = xyes; then : +ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" +if test "x$ac_cv_type__Bool" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE__BOOL 1 @@ -12669,7 +12693,6 @@ _ACEOF fi - if test $ac_cv_header_stdbool_h = yes; then $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h @@ -12678,7 +12701,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } -if ${ac_cv_c_const+:} false; then : +if test "${ac_cv_c_const+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -12687,11 +12710,11 @@ else int main () { - +/* FIXME: Include the comments suggested by Paul. */ #ifndef __cplusplus - /* Ultrix mips cc rejects this sort of thing. */ + /* Ultrix mips cc rejects this. */ typedef int charset[2]; - const charset cs = { 0, 0 }; + const charset cs; /* SunOS 4.1.1 cc rejects this. */ char const *const *pcpcc; char **ppc; @@ -12708,9 +12731,8 @@ main () ++pcpcc; ppc = (char**) pcpcc; pcpcc = (char const *const *) ppc; - { /* SCO 3.2v4 cc rejects this sort of thing. */ - char tx; - char *t = &tx; + { /* SCO 3.2v4 cc rejects this. */ + char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; @@ -12726,10 +12748,10 @@ main () iptr p = 0; ++p; } - { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying + { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ - struct s { int j; const int *ap[3]; } bx; - struct s *b = &bx; b->j = 5; + struct s { int j; const int *ap[3]; }; + struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; @@ -12759,7 +12781,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 $as_echo_n "checking for uid_t in sys/types.h... " >&6; } -if ${ac_cv_type_uid_t+:} false; then : +if test "${ac_cv_type_uid_t+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -12789,7 +12811,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 $as_echo_n "checking for inline... " >&6; } -if ${ac_cv_c_inline+:} false; then : +if test "${ac_cv_c_inline+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_cv_c_inline=no @@ -12832,7 +12854,7 @@ esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double with more range or precision than double" >&5 $as_echo_n "checking for long double with more range or precision than double... " >&6; } -if ${ac_cv_type_long_double_wider+:} false; then : +if test "${ac_cv_type_long_double_wider+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -12859,8 +12881,7 @@ static int test_array [1 - 2 * !((0 < ((DBL_MAX_EXP < LDBL_MAX_EXP) - (LDBL_MANT_DIG < DBL_MANT_DIG))) && (int) LDBL_EPSILON == 0 )]; -test_array [0] = 0; -return test_array [0]; +test_array [0] = 0 ; return 0; @@ -12882,7 +12903,7 @@ $as_echo "#define HAVE_LONG_DOUBLE_WIDER 1" >>confdefs.h fi ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" -if test "x$ac_cv_type_mode_t" = xyes; then : +if test "x$ac_cv_type_mode_t" = x""yes; then : else @@ -12893,7 +12914,7 @@ _ACEOF fi ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" -if test "x$ac_cv_type_off_t" = xyes; then : +if test "x$ac_cv_type_off_t" = x""yes; then : else @@ -12904,7 +12925,7 @@ _ACEOF fi ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" -if test "x$ac_cv_type_pid_t" = xyes; then : +if test "x$ac_cv_type_pid_t" = x""yes; then : else @@ -12915,7 +12936,7 @@ _ACEOF fi ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" -if test "x$ac_cv_type_size_t" = xyes; then : +if test "x$ac_cv_type_size_t" = x""yes; then : else @@ -12926,7 +12947,7 @@ _ACEOF fi ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default" -if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then : +if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 @@ -12938,7 +12959,7 @@ fi ac_fn_c_check_member "$LINENO" "struct ucred" "uid" "ac_cv_member_struct_ucred_uid" "#include #include " -if test "x$ac_cv_member_struct_ucred_uid" = xyes; then : +if test "x$ac_cv_member_struct_ucred_uid" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_UCRED_UID 1 @@ -12949,7 +12970,7 @@ fi ac_fn_c_check_member "$LINENO" "struct ucred" "cr_uid" "ac_cv_member_struct_ucred_cr_uid" "#include #include " -if test "x$ac_cv_member_struct_ucred_cr_uid" = xyes; then : +if test "x$ac_cv_member_struct_ucred_cr_uid" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_UCRED_CR_UID 1 @@ -12960,7 +12981,7 @@ fi ac_fn_c_check_member "$LINENO" "struct sockpeercred" "uid" "ac_cv_member_struct_sockpeercred_uid" "#include #include " -if test "x$ac_cv_member_struct_sockpeercred_uid" = xyes; then : +if test "x$ac_cv_member_struct_sockpeercred_uid" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_SOCKPEERCRED_UID 1 @@ -12971,7 +12992,7 @@ fi ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_ifru.ifru_hwaddr" "ac_cv_member_struct_ifreq_ifr_ifru_ifru_hwaddr" "#include " -if test "x$ac_cv_member_struct_ifreq_ifr_ifru_ifru_hwaddr" = xyes; then : +if test "x$ac_cv_member_struct_ifreq_ifr_ifru_ifru_hwaddr" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_IFREQ_IFR_IFRU_IFRU_HWADDR 1 @@ -12982,7 +13003,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } -if ${ac_cv_header_time+:} false; then : +if test "${ac_cv_header_time+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -13017,7 +13038,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } -if ${ac_cv_struct_tm+:} false; then : +if test "${ac_cv_struct_tm+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -13052,7 +13073,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 $as_echo_n "checking for working volatile... " >&6; } -if ${ac_cv_c_volatile+:} false; then : +if test "${ac_cv_c_volatile+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -13085,7 +13106,7 @@ $as_echo "#define volatile /**/" >>confdefs.h fi ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" -if test "x$ac_cv_type_ptrdiff_t" = xyes; then : +if test "x$ac_cv_type_ptrdiff_t" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_PTRDIFF_T 1 @@ -13099,7 +13120,7 @@ fi for ac_header in unistd.h do : ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" -if test "x$ac_cv_header_unistd_h" = xyes; then : +if test "x$ac_cv_header_unistd_h" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_UNISTD_H 1 _ACEOF @@ -13110,7 +13131,7 @@ done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5 $as_echo_n "checking for working chown... " >&6; } -if ${ac_cv_func_chown_works+:} false; then : +if test "${ac_cv_func_chown_works+set}" = set; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : @@ -13163,7 +13184,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5 $as_echo_n "checking whether closedir returns void... " >&6; } -if ${ac_cv_func_closedir_void+:} false; then : +if test "${ac_cv_func_closedir_void+set}" = set; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : @@ -13205,7 +13226,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 $as_echo_n "checking for error_at_line... " >&6; } -if ${ac_cv_lib_error_at_line+:} false; then : +if test "${ac_cv_lib_error_at_line+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -13241,7 +13262,7 @@ fi for ac_header in vfork.h do : ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" -if test "x$ac_cv_header_vfork_h" = xyes; then : +if test "x$ac_cv_header_vfork_h" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_VFORK_H 1 _ACEOF @@ -13265,7 +13286,7 @@ done if test "x$ac_cv_func_fork" = xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 $as_echo_n "checking for working fork... " >&6; } -if ${ac_cv_func_fork_works+:} false; then : +if test "${ac_cv_func_fork_works+set}" = set; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : @@ -13318,7 +13339,7 @@ ac_cv_func_vfork_works=$ac_cv_func_vfork if test "x$ac_cv_func_vfork" = xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 $as_echo_n "checking for working vfork... " >&6; } -if ${ac_cv_func_vfork_works+:} false; then : +if test "${ac_cv_func_vfork_works+set}" = set; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : @@ -13455,7 +13476,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } -if ${ac_cv_sys_largefile_source+:} false; then : +if test "${ac_cv_sys_largefile_source+set}" = set; then : $as_echo_n "(cached) " >&6 else while :; do @@ -13524,7 +13545,7 @@ fi if test $ac_cv_c_compiler_gnu = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 $as_echo_n "checking whether $CC needs -traditional... " >&6; } -if ${ac_cv_prog_gcc_traditional+:} false; then : +if test "${ac_cv_prog_gcc_traditional+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_pattern="Autoconf.*'x'" @@ -13569,7 +13590,7 @@ fi # AC_FUNC_REALLOC { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5 $as_echo_n "checking for working memcmp... " >&6; } -if ${ac_cv_func_memcmp_working+:} false; then : +if test "${ac_cv_func_memcmp_working+set}" = set; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : @@ -13656,7 +13677,7 @@ done for ac_func in getpagesize do : ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" -if test "x$ac_cv_func_getpagesize" = xyes; then : +if test "x$ac_cv_func_getpagesize" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GETPAGESIZE 1 _ACEOF @@ -13666,7 +13687,7 @@ done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 $as_echo_n "checking for working mmap... " >&6; } -if ${ac_cv_func_mmap_fixed_mapped+:} false; then : +if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : @@ -13845,7 +13866,7 @@ done { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5 $as_echo_n "checking types of arguments for select... " >&6; } -if ${ac_cv_func_select_args+:} false; then : +if test "${ac_cv_func_select_args+set}" = set; then : $as_echo_n "(cached) " >&6 else for ac_arg234 in 'fd_set *' 'int *' 'void *'; do @@ -13879,7 +13900,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done done # Provide a safe default value. -: "${ac_cv_func_select_args=int,int *,struct timeval *}" +: ${ac_cv_func_select_args='int,int *,struct timeval *'} fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5 @@ -13905,7 +13926,7 @@ _ACEOF rm -f conftest* -if ${ac_cv_func_setvbuf_reversed+:} false; then : +if test "${ac_cv_func_setvbuf_reversed+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_cv_func_setvbuf_reversed=no @@ -13914,7 +13935,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 $as_echo_n "checking return type of signal handlers... " >&6; } -if ${ac_cv_type_signal+:} false; then : +if test "${ac_cv_type_signal+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -13947,7 +13968,7 @@ _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; } -if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then : +if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then : $as_echo_n "(cached) " >&6 else rm -f conftest.sym conftest.file @@ -14009,7 +14030,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5 $as_echo_n "checking whether stat accepts an empty string... " >&6; } -if ${ac_cv_func_stat_empty_string_bug+:} false; then : +if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : @@ -14055,7 +14076,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5 $as_echo_n "checking for working strcoll... " >&6; } -if ${ac_cv_func_strcoll_works+:} false; then : +if test "${ac_cv_func_strcoll_works+set}" = set; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : @@ -14095,7 +14116,7 @@ fi for ac_func in strftime do : ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" -if test "x$ac_cv_func_strftime" = xyes; then : +if test "x$ac_cv_func_strftime" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRFTIME 1 _ACEOF @@ -14104,7 +14125,7 @@ else # strftime is in -lintl on SCO UNIX. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 $as_echo_n "checking for strftime in -lintl... " >&6; } -if ${ac_cv_lib_intl_strftime+:} false; then : +if test "${ac_cv_lib_intl_strftime+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -14138,7 +14159,7 @@ LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 $as_echo "$ac_cv_lib_intl_strftime" >&6; } -if test "x$ac_cv_lib_intl_strftime" = xyes; then : +if test "x$ac_cv_lib_intl_strftime" = x""yes; then : $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h LIBS="-lintl $LIBS" @@ -14147,17 +14168,13 @@ fi fi done - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5 $as_echo_n "checking for working strnlen... " >&6; } -if ${ac_cv_func_strnlen_working+:} false; then : +if test "${ac_cv_func_strnlen_working+set}" = set; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : - # Guess no on AIX systems, yes otherwise. - case "$host_os" in - aix*) ac_cv_func_strnlen_working=no;; - *) ac_cv_func_strnlen_working=yes;; - esac + ac_cv_func_strnlen_working=no else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -14206,7 +14223,7 @@ esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5 $as_echo_n "checking for working strtod... " >&6; } -if ${ac_cv_func_strtod+:} false; then : +if test "${ac_cv_func_strtod+set}" = set; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : @@ -14265,14 +14282,14 @@ if test $ac_cv_func_strtod = no; then esac ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow" -if test "x$ac_cv_func_pow" = xyes; then : +if test "x$ac_cv_func_pow" = x""yes; then : fi if test $ac_cv_func_pow = no; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5 $as_echo_n "checking for pow in -lm... " >&6; } -if ${ac_cv_lib_m_pow+:} false; then : +if test "${ac_cv_lib_m_pow+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -14306,7 +14323,7 @@ LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5 $as_echo "$ac_cv_lib_m_pow" >&6; } -if test "x$ac_cv_lib_m_pow" = xyes; then : +if test "x$ac_cv_lib_m_pow" = x""yes; then : POW_LIB=-lm else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5 @@ -14322,7 +14339,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether utime accepts a null argument" >&5 $as_echo_n "checking whether utime accepts a null argument... " >&6; } -if ${ac_cv_func_utime_null+:} false; then : +if test "${ac_cv_func_utime_null+set}" = set; then : $as_echo_n "(cached) " >&6 else rm -f conftest.data; >conftest.data @@ -14372,13 +14389,13 @@ rm -f conftest.data for ac_func in vprintf do : ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" -if test "x$ac_cv_func_vprintf" = xyes; then : +if test "x$ac_cv_func_vprintf" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_VPRINTF 1 _ACEOF ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" -if test "x$ac_cv_func__doprnt" = xyes; then : +if test "x$ac_cv_func__doprnt" = x""yes; then : $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h @@ -14405,7 +14422,7 @@ done # so that AC_CHECK_FUNCS can detect functions in that library. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 $as_echo_n "checking for sqrt in -lm... " >&6; } -if ${ac_cv_lib_m_sqrt+:} false; then : +if test "${ac_cv_lib_m_sqrt+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -14439,7 +14456,7 @@ LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 $as_echo "$ac_cv_lib_m_sqrt" >&6; } -if test "x$ac_cv_lib_m_sqrt" = xyes; then : +if test "x$ac_cv_lib_m_sqrt" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBM 1 _ACEOF @@ -14570,7 +14587,7 @@ LDFLAGS=${old_LDFLAGS} rm -f conftest.dynamics ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_poll_h" = xyes; then : +if test "x$ac_cv_header_sys_poll_h" = x""yes; then : HAS_POLL=1 $as_echo "#define HAVE_SYS_POLL_H 1" >>confdefs.h @@ -14584,7 +14601,7 @@ if test "${enable_internal_poll+set}" = set; then : enableval=$enable_internal_poll; case "${enableval}" in y|ye|yes) HAS_POLL="";; n|no) HAS_POLL="${HAS_POLL}" ;; - *) as_fn_error $? "bad value ${enableval} for --enable-internal-poll" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --enable-internal-poll" "$LINENO" 5 ;; esac fi @@ -14595,7 +14612,7 @@ if test "${enable_asteriskssl+set}" = set; then : enableval=$enable_asteriskssl; case "${enableval}" in y|ye|yes) AST_ASTERISKSSL=yes ;; n|no) AST_ASTERISKSSL=no ;; - *) as_fn_error $? "bad value ${enableval} for --disable-asteriskssl" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-asteriskssl" "$LINENO" 5 ;; esac else AST_ASTERISKSSL=yes @@ -14621,7 +14638,7 @@ done for ac_func in inet_aton do : ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton" -if test "x$ac_cv_func_inet_aton" = xyes; then : +if test "x$ac_cv_func_inet_aton" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_INET_ATON 1 _ACEOF @@ -14661,7 +14678,7 @@ rm -f core conftest.err conftest.$ac_objext \ # some systems already have gethostbyname_r so we don't need to build ours in main/utils.c { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname_r" >&5 $as_echo_n "checking for library containing gethostbyname_r... " >&6; } -if ${ac_cv_search_gethostbyname_r+:} false; then : +if test "${ac_cv_search_gethostbyname_r+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS @@ -14695,11 +14712,11 @@ for ac_lib in '' socket nsl; do fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext - if ${ac_cv_search_gethostbyname_r+:} false; then : + if test "${ac_cv_search_gethostbyname_r+set}" = set; then : break fi done -if ${ac_cv_search_gethostbyname_r+:} false; then : +if test "${ac_cv_search_gethostbyname_r+set}" = set; then : else ac_cv_search_gethostbyname_r=no @@ -14773,7 +14790,7 @@ rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_fn_c_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default" -if test "x$ac_cv_header_byteswap_h" = xyes; then : +if test "x$ac_cv_header_byteswap_h" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_BYTESWAP_H 1 @@ -15226,7 +15243,7 @@ rm -f core conftest.err conftest.$ac_objext \ for ac_header in sys/thr.h do : ac_fn_c_check_header_mongrel "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_thr_h" = xyes; then : +if test "x$ac_cv_header_sys_thr_h" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SYS_THR_H 1 _ACEOF @@ -15359,7 +15376,7 @@ if test "${ac_cv_have_variable_fdset}x" = "0x"; then { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5 ; } else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -16402,7 +16419,7 @@ if test "${enable_rpath+set}" = set; then : enableval=$enable_rpath; case "${enableval}" in y|ye|yes) check_rpath=yes ;; n|no) check_rpath=no ;; - *) as_fn_error $? "bad value ${enableval} for --disable-rpath" "$LINENO" 5 ;; + *) as_fn_error $? "bad value ${enableval} for --disable-rpath" "$LINENO" 5 ;; esac else check_rpath=yes @@ -16452,7 +16469,7 @@ rm -f core conftest.err conftest.$ac_objext \ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_9_ninit" >&5 $as_echo_n "checking for library containing res_9_ninit... " >&6; } -if ${ac_cv_search_res_9_ninit+:} false; then : +if test "${ac_cv_search_res_9_ninit+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS @@ -16486,11 +16503,11 @@ for ac_lib in '' resolv; do fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext - if ${ac_cv_search_res_9_ninit+:} false; then : + if test "${ac_cv_search_res_9_ninit+set}" = set; then : break fi done -if ${ac_cv_search_res_9_ninit+:} false; then : +if test "${ac_cv_search_res_9_ninit+set}" = set; then : else ac_cv_search_res_9_ninit=no @@ -16537,7 +16554,7 @@ $as_echo "#define HAVE_RES_NINIT 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_9_ndestroy" >&5 $as_echo_n "checking for library containing res_9_ndestroy... " >&6; } -if ${ac_cv_search_res_9_ndestroy+:} false; then : +if test "${ac_cv_search_res_9_ndestroy+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS @@ -16571,11 +16588,11 @@ for ac_lib in '' resolv; do fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext - if ${ac_cv_search_res_9_ndestroy+:} false; then : + if test "${ac_cv_search_res_9_ndestroy+set}" = set; then : break fi done -if ${ac_cv_search_res_9_ndestroy+:} false; then : +if test "${ac_cv_search_res_9_ndestroy+set}" = set; then : else ac_cv_search_res_9_ndestroy=no @@ -16629,7 +16646,7 @@ rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_9_close" >&5 $as_echo_n "checking for library containing res_9_close... " >&6; } -if ${ac_cv_search_res_9_close+:} false; then : +if test "${ac_cv_search_res_9_close+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS @@ -16663,11 +16680,11 @@ for ac_lib in '' resolv; do fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext - if ${ac_cv_search_res_9_close+:} false; then : + if test "${ac_cv_search_res_9_close+set}" = set; then : break fi done -if ${ac_cv_search_res_9_close+:} false; then : +if test "${ac_cv_search_res_9_close+set}" = set; then : else ac_cv_search_res_9_close=no @@ -16869,7 +16886,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_fn_c_check_header_mongrel "$LINENO" "libkern/OSAtomic.h" "ac_cv_header_libkern_OSAtomic_h" "$ac_includes_default" -if test "x$ac_cv_header_libkern_OSAtomic_h" = xyes; then : +if test "x$ac_cv_header_libkern_OSAtomic_h" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_OSX_ATOMICS 1 @@ -16885,7 +16902,7 @@ fi # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 $as_echo_n "checking size of int... " >&6; } -if ${ac_cv_sizeof_int+:} false; then : +if test "${ac_cv_sizeof_int+set}" = set; then : $as_echo_n "(cached) " >&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : @@ -16895,7 +16912,7 @@ else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (int) -See \`config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5 ; } else ac_cv_sizeof_int=0 fi @@ -16918,7 +16935,7 @@ _ACEOF # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 $as_echo_n "checking size of long... " >&6; } -if ${ac_cv_sizeof_long+:} false; then : +if test "${ac_cv_sizeof_long+set}" = set; then : $as_echo_n "(cached) " >&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : @@ -16928,7 +16945,7 @@ else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (long) -See \`config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5 ; } else ac_cv_sizeof_long=0 fi @@ -16951,7 +16968,7 @@ _ACEOF # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 $as_echo_n "checking size of long long... " >&6; } -if ${ac_cv_sizeof_long_long+:} false; then : +if test "${ac_cv_sizeof_long_long+set}" = set; then : $as_echo_n "(cached) " >&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : @@ -16961,7 +16978,7 @@ else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (long long) -See \`config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5 ; } else ac_cv_sizeof_long_long=0 fi @@ -16984,7 +17001,7 @@ _ACEOF # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char *" >&5 $as_echo_n "checking size of char *... " >&6; } -if ${ac_cv_sizeof_char_p+:} false; then : +if test "${ac_cv_sizeof_char_p+set}" = set; then : $as_echo_n "(cached) " >&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char *))" "ac_cv_sizeof_char_p" "$ac_includes_default"; then : @@ -16994,7 +17011,7 @@ else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (char *) -See \`config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5 ; } else ac_cv_sizeof_char_p=0 fi @@ -17017,7 +17034,7 @@ _ACEOF # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 $as_echo_n "checking size of long... " >&6; } -if ${ac_cv_sizeof_long+:} false; then : +if test "${ac_cv_sizeof_long+set}" = set; then : $as_echo_n "(cached) " >&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : @@ -17027,7 +17044,7 @@ else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (long) -See \`config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5 ; } else ac_cv_sizeof_long=0 fi @@ -17050,7 +17067,7 @@ _ACEOF # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 $as_echo_n "checking size of long long... " >&6; } -if ${ac_cv_sizeof_long_long+:} false; then : +if test "${ac_cv_sizeof_long_long+set}" = set; then : $as_echo_n "(cached) " >&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : @@ -17060,7 +17077,7 @@ else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (long long) -See \`config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5 ; } else ac_cv_sizeof_long_long=0 fi @@ -17090,7 +17107,7 @@ fi # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of fd_set.fds_bits" >&5 $as_echo_n "checking size of fd_set.fds_bits... " >&6; } -if ${ac_cv_sizeof_fd_set_fds_bits+:} false; then : +if test "${ac_cv_sizeof_fd_set_fds_bits+set}" = set; then : $as_echo_n "(cached) " >&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (fd_set.fds_bits))" "ac_cv_sizeof_fd_set_fds_bits" "$ac_includes_default"; then : @@ -17100,7 +17117,7 @@ else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (fd_set.fds_bits) -See \`config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5 ; } else ac_cv_sizeof_fd_set_fds_bits=0 fi @@ -17177,14 +17194,13 @@ LIBS=${old_LIBS} - if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PKG_CONFIG+:} false; then : +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -17198,7 +17214,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -17227,7 +17243,7 @@ if test -z "$ac_cv_path_PKG_CONFIG"; then set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : +if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in @@ -17241,7 +17257,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -17315,7 +17331,7 @@ if test "x${PBX_ALSA}" != "x1" -a "${USE_ALSA}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_asound_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lasound" >&5 $as_echo_n "checking for ${pbxfuncname} in -lasound... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -17373,7 +17389,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${ALSA_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "alsa/asoundlib.h" "ac_cv_header_alsa_asoundlib_h" "$ac_includes_default" -if test "x$ac_cv_header_alsa_asoundlib_h" = xyes; then : +if test "x$ac_cv_header_alsa_asoundlib_h" = x""yes; then : ALSA_HEADER_FOUND=1 else ALSA_HEADER_FOUND=0 @@ -17420,7 +17436,7 @@ if test "x${PBX_BFD}" != "x1" -a "${USE_BFD}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_bfd_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lbfd" >&5 $as_echo_n "checking for ${pbxfuncname} in -lbfd... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -17478,7 +17494,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${BFD_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "bfd.h" "ac_cv_header_bfd_h" "$ac_includes_default" -if test "x$ac_cv_header_bfd_h" = xyes; then : +if test "x$ac_cv_header_bfd_h" = x""yes; then : BFD_HEADER_FOUND=1 else BFD_HEADER_FOUND=0 @@ -17527,7 +17543,7 @@ if test "x${PBX_BFD}" != "x1" -a "${USE_BFD}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_bfd_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lbfd" >&5 $as_echo_n "checking for ${pbxfuncname} in -lbfd... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -17585,7 +17601,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${BFD_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "bfd.h" "ac_cv_header_bfd_h" "$ac_includes_default" -if test "x$ac_cv_header_bfd_h" = xyes; then : +if test "x$ac_cv_header_bfd_h" = x""yes; then : BFD_HEADER_FOUND=1 else BFD_HEADER_FOUND=0 @@ -17634,7 +17650,7 @@ if test "x${PBX_CAP}" != "x1" -a "${USE_CAP}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_cap_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lcap" >&5 $as_echo_n "checking for ${pbxfuncname} in -lcap... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -17692,7 +17708,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${CAP_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_capability_h" = xyes; then : +if test "x$ac_cv_header_sys_capability_h" = x""yes; then : CAP_HEADER_FOUND=1 else CAP_HEADER_FOUND=0 @@ -18115,7 +18131,7 @@ if test "${USE_GSM}" != "no"; then fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gsm_create in -lgsm" >&5 $as_echo_n "checking for gsm_create in -lgsm... " >&6; } -if ${ac_cv_lib_gsm_gsm_create+:} false; then : +if test "${ac_cv_lib_gsm_gsm_create+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -18149,7 +18165,7 @@ LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gsm_gsm_create" >&5 $as_echo "$ac_cv_lib_gsm_gsm_create" >&6; } -if test "x$ac_cv_lib_gsm_gsm_create" = xyes; then : +if test "x$ac_cv_lib_gsm_gsm_create" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GSM 1 @@ -18179,7 +18195,7 @@ fi else ac_fn_c_check_header_mongrel "$LINENO" "gsm.h" "ac_cv_header_gsm_h" "$ac_includes_default" -if test "x$ac_cv_header_gsm_h" = xyes; then : +if test "x$ac_cv_header_gsm_h" = x""yes; then : GSM_HEADER_FOUND=1 else GSM_HEADER_FOUND=0 @@ -18187,7 +18203,7 @@ fi ac_fn_c_check_header_mongrel "$LINENO" "gsm/gsm.h" "ac_cv_header_gsm_gsm_h" "$ac_includes_default" -if test "x$ac_cv_header_gsm_gsm_h" = xyes; then : +if test "x$ac_cv_header_gsm_gsm_h" = x""yes; then : GSM_GSM_HEADER_FOUND=1 else GSM_GSM_HEADER_FOUND=0 @@ -18276,7 +18292,6 @@ if test -n "$ILBC_CFLAGS"; then $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ILBC_CFLAGS=`$PKG_CONFIG --cflags "libilbc" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -18293,7 +18308,6 @@ if test -n "$ILBC_LIBS"; then $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ILBC_LIBS=`$PKG_CONFIG --libs "libilbc" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -18313,9 +18327,9 @@ else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - ILBC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libilbc" 2>&1` + ILBC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libilbc" 2>&1` else - ILBC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libilbc" 2>&1` + ILBC_PKG_ERRORS=`$PKG_CONFIG --print-errors "libilbc" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$ILBC_PKG_ERRORS" >&5 @@ -18383,7 +18397,6 @@ if test -n "$LIBEDIT_CFLAGS"; then $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBEDIT_CFLAGS=`$PKG_CONFIG --cflags "libedit" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -18400,7 +18413,6 @@ if test -n "$LIBEDIT_LIBS"; then $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBEDIT_LIBS=`$PKG_CONFIG --libs "libedit" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -18420,9 +18432,9 @@ else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - LIBEDIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libedit" 2>&1` + LIBEDIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libedit" 2>&1` else - LIBEDIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libedit" 2>&1` + LIBEDIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "libedit" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBEDIT_PKG_ERRORS" >&5 @@ -18483,7 +18495,7 @@ if test "x${PBX_ICONV}" != "x1" -a "${USE_ICONV}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_iconv_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -liconv" >&5 $as_echo_n "checking for ${pbxfuncname} in -liconv... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -18541,7 +18553,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${ICONV_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default" -if test "x$ac_cv_header_iconv_h" = xyes; then : +if test "x$ac_cv_header_iconv_h" = x""yes; then : ICONV_HEADER_FOUND=1 else ICONV_HEADER_FOUND=0 @@ -18588,7 +18600,7 @@ if test "x${PBX_ICONV}" != "x1" -a "${USE_ICONV}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_iconv_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -liconv" >&5 $as_echo_n "checking for ${pbxfuncname} in -liconv... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -18646,7 +18658,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${ICONV_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default" -if test "x$ac_cv_header_iconv_h" = xyes; then : +if test "x$ac_cv_header_iconv_h" = x""yes; then : ICONV_HEADER_FOUND=1 else ICONV_HEADER_FOUND=0 @@ -18693,7 +18705,7 @@ if test "x${PBX_ICONV}" != "x1" -a "${USE_ICONV}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_c_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lc" >&5 $as_echo_n "checking for ${pbxfuncname} in -lc... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -18751,7 +18763,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${ICONV_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default" -if test "x$ac_cv_header_iconv_h" = xyes; then : +if test "x$ac_cv_header_iconv_h" = x""yes; then : ICONV_HEADER_FOUND=1 else ICONV_HEADER_FOUND=0 @@ -18799,7 +18811,7 @@ if test "x${PBX_ICAL}" != "x1" -a "${USE_ICAL}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_ical_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lical" >&5 $as_echo_n "checking for ${pbxfuncname} in -lical... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -18857,7 +18869,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${ICAL_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libical/ical.h" "ac_cv_header_libical_ical_h" "$ac_includes_default" -if test "x$ac_cv_header_libical_ical_h" = xyes; then : +if test "x$ac_cv_header_libical_ical_h" = x""yes; then : ICAL_HEADER_FOUND=1 else ICAL_HEADER_FOUND=0 @@ -18904,7 +18916,7 @@ if test "x${PBX_IKSEMEL}" != "x1" -a "${USE_IKSEMEL}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_iksemel_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -liksemel" >&5 $as_echo_n "checking for ${pbxfuncname} in -liksemel... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -18962,7 +18974,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${IKSEMEL_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "iksemel.h" "ac_cv_header_iksemel_h" "$ac_includes_default" -if test "x$ac_cv_header_iksemel_h" = xyes; then : +if test "x$ac_cv_header_iksemel_h" = x""yes; then : IKSEMEL_HEADER_FOUND=1 else IKSEMEL_HEADER_FOUND=0 @@ -19637,7 +19649,7 @@ if test "x${PBX_IODBC}" != "x1" -a "${USE_IODBC}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_iodbc_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -liodbc" >&5 $as_echo_n "checking for ${pbxfuncname} in -liodbc... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -19695,7 +19707,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${IODBC_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "sql.h" "ac_cv_header_sql_h" "$ac_includes_default" -if test "x$ac_cv_header_sql_h" = xyes; then : +if test "x$ac_cv_header_sql_h" = x""yes; then : IODBC_HEADER_FOUND=1 else IODBC_HEADER_FOUND=0 @@ -19742,7 +19754,7 @@ if test "x${PBX_INOTIFY}" != "x1" -a "${USE_INOTIFY}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_c_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lc" >&5 $as_echo_n "checking for ${pbxfuncname} in -lc... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -19800,7 +19812,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${INOTIFY_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_inotify_h" = xyes; then : +if test "x$ac_cv_header_sys_inotify_h" = x""yes; then : INOTIFY_HEADER_FOUND=1 else INOTIFY_HEADER_FOUND=0 @@ -19847,7 +19859,7 @@ if test "x${PBX_JACK}" != "x1" -a "${USE_JACK}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_jack_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -ljack" >&5 $as_echo_n "checking for ${pbxfuncname} in -ljack... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -19905,7 +19917,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${JACK_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "jack/jack.h" "ac_cv_header_jack_jack_h" "$ac_includes_default" -if test "x$ac_cv_header_jack_jack_h" = xyes; then : +if test "x$ac_cv_header_jack_jack_h" = x""yes; then : JACK_HEADER_FOUND=1 else JACK_HEADER_FOUND=0 @@ -19952,7 +19964,7 @@ if test "x${PBX_JANSSON}" != "x1" -a "${USE_JANSSON}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_jansson_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -ljansson" >&5 $as_echo_n "checking for ${pbxfuncname} in -ljansson... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -20010,7 +20022,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${JANSSON_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "jansson.h" "ac_cv_header_jansson_h" "$ac_includes_default" -if test "x$ac_cv_header_jansson_h" = xyes; then : +if test "x$ac_cv_header_jansson_h" = x""yes; then : JANSSON_HEADER_FOUND=1 else JANSSON_HEADER_FOUND=0 @@ -20058,7 +20070,7 @@ if test "x${PBX_KQUEUE}" != "x1" -a "${USE_KQUEUE}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_c_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lc" >&5 $as_echo_n "checking for ${pbxfuncname} in -lc... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -20116,7 +20128,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${KQUEUE_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_event_h" = xyes; then : +if test "x$ac_cv_header_sys_event_h" = x""yes; then : KQUEUE_HEADER_FOUND=1 else KQUEUE_HEADER_FOUND=0 @@ -20147,7 +20159,7 @@ fi for ac_func in kevent64 do : ac_fn_c_check_func "$LINENO" "kevent64" "ac_cv_func_kevent64" -if test "x$ac_cv_func_kevent64" = xyes; then : +if test "x$ac_cv_func_kevent64" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_KEVENT64 1 _ACEOF @@ -20177,7 +20189,7 @@ if test "x${PBX_LTDL}" != "x1" -a "${USE_LTDL}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_ltdl_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lltdl" >&5 $as_echo_n "checking for ${pbxfuncname} in -lltdl... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -20235,7 +20247,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${LTDL_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default" -if test "x$ac_cv_header_ltdl_h" = xyes; then : +if test "x$ac_cv_header_ltdl_h" = x""yes; then : LTDL_HEADER_FOUND=1 else LTDL_HEADER_FOUND=0 @@ -20282,7 +20294,7 @@ if test "x${PBX_LDAP}" != "x1" -a "${USE_LDAP}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_ldap_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lldap" >&5 $as_echo_n "checking for ${pbxfuncname} in -lldap... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -20340,7 +20352,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${LDAP_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default" -if test "x$ac_cv_header_ldap_h" = xyes; then : +if test "x$ac_cv_header_ldap_h" = x""yes; then : LDAP_HEADER_FOUND=1 else LDAP_HEADER_FOUND=0 @@ -20387,7 +20399,7 @@ if test "x${PBX_MISDN}" != "x1" -a "${USE_MISDN}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_mISDN_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lmISDN" >&5 $as_echo_n "checking for ${pbxfuncname} in -lmISDN... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -20445,7 +20457,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${MISDN_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "mISDNuser/mISDNlib.h" "ac_cv_header_mISDNuser_mISDNlib_h" "$ac_includes_default" -if test "x$ac_cv_header_mISDNuser_mISDNlib_h" = xyes; then : +if test "x$ac_cv_header_mISDNuser_mISDNlib_h" = x""yes; then : MISDN_HEADER_FOUND=1 else MISDN_HEADER_FOUND=0 @@ -20493,7 +20505,7 @@ if test "x${PBX_ISDNNET}" != "x1" -a "${USE_ISDNNET}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_isdnnet_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lisdnnet" >&5 $as_echo_n "checking for ${pbxfuncname} in -lisdnnet... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -20551,7 +20563,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${ISDNNET_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "mISDNuser/isdn_net.h" "ac_cv_header_mISDNuser_isdn_net_h" "$ac_includes_default" -if test "x$ac_cv_header_mISDNuser_isdn_net_h" = xyes; then : +if test "x$ac_cv_header_mISDNuser_isdn_net_h" = x""yes; then : ISDNNET_HEADER_FOUND=1 else ISDNNET_HEADER_FOUND=0 @@ -20597,7 +20609,7 @@ if test "x${PBX_SUPPSERV}" != "x1" -a "${USE_SUPPSERV}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_suppserv_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lsuppserv" >&5 $as_echo_n "checking for ${pbxfuncname} in -lsuppserv... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -20655,7 +20667,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${SUPPSERV_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "mISDNuser/suppserv.h" "ac_cv_header_mISDNuser_suppserv_h" "$ac_includes_default" -if test "x$ac_cv_header_mISDNuser_suppserv_h" = xyes; then : +if test "x$ac_cv_header_mISDNuser_suppserv_h" = x""yes; then : SUPPSERV_HEADER_FOUND=1 else SUPPSERV_HEADER_FOUND=0 @@ -20774,7 +20786,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_fn_c_check_header_mongrel "$LINENO" "linux/mISDNdsp.h" "ac_cv_header_linux_mISDNdsp_h" "$ac_includes_default" -if test "x$ac_cv_header_linux_mISDNdsp_h" = xyes; then : +if test "x$ac_cv_header_linux_mISDNdsp_h" = x""yes; then : cat >>confdefs.h <<_ACEOF #define MISDN_1_2 1 @@ -20785,7 +20797,7 @@ fi ac_fn_c_check_member "$LINENO" "Q931_info_t" "redirect_dn" "ac_cv_member_Q931_info_t_redirect_dn" "#include " -if test "x$ac_cv_member_Q931_info_t_redirect_dn" = xyes; then : +if test "x$ac_cv_member_Q931_info_t_redirect_dn" = x""yes; then : else PBX_MISDN=0 @@ -20801,7 +20813,7 @@ fi set dummy ${ac_tool_prefix}mysql_config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_CONFIG_MYSQLCLIENT+:} false; then : +if test "${ac_cv_path_CONFIG_MYSQLCLIENT+set}" = set; then : $as_echo_n "(cached) " >&6 else case $CONFIG_MYSQLCLIENT in @@ -20816,7 +20828,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_CONFIG_MYSQLCLIENT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -20845,7 +20857,7 @@ if test -z "$ac_cv_path_CONFIG_MYSQLCLIENT"; then set dummy mysql_config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_CONFIG_MYSQLCLIENT+:} false; then : +if test "${ac_cv_path_ac_pt_CONFIG_MYSQLCLIENT+set}" = set; then : $as_echo_n "(cached) " >&6 else case $ac_pt_CONFIG_MYSQLCLIENT in @@ -20860,7 +20872,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_CONFIG_MYSQLCLIENT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -20964,7 +20976,7 @@ if test "x${PBX_NBS}" != "x1" -a "${USE_NBS}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_nbs_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lnbs" >&5 $as_echo_n "checking for ${pbxfuncname} in -lnbs... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -21022,7 +21034,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${NBS_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "nbs.h" "ac_cv_header_nbs_h" "$ac_includes_default" -if test "x$ac_cv_header_nbs_h" = xyes; then : +if test "x$ac_cv_header_nbs_h" = x""yes; then : NBS_HEADER_FOUND=1 else NBS_HEADER_FOUND=0 @@ -21057,7 +21069,7 @@ fi set dummy ${ac_tool_prefix}neon-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_CONFIG_NEON+:} false; then : +if test "${ac_cv_path_CONFIG_NEON+set}" = set; then : $as_echo_n "(cached) " >&6 else case $CONFIG_NEON in @@ -21072,7 +21084,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_CONFIG_NEON="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -21101,7 +21113,7 @@ if test -z "$ac_cv_path_CONFIG_NEON"; then set dummy neon-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_CONFIG_NEON+:} false; then : +if test "${ac_cv_path_ac_pt_CONFIG_NEON+set}" = set; then : $as_echo_n "(cached) " >&6 else case $ac_pt_CONFIG_NEON in @@ -21116,7 +21128,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_CONFIG_NEON="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -21208,7 +21220,7 @@ $as_echo "#define HAVE_NEON 1" >>confdefs.h set dummy ${ac_tool_prefix}neon-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_CONFIG_NEON29+:} false; then : +if test "${ac_cv_path_CONFIG_NEON29+set}" = set; then : $as_echo_n "(cached) " >&6 else case $CONFIG_NEON29 in @@ -21223,7 +21235,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_CONFIG_NEON29="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -21252,7 +21264,7 @@ if test -z "$ac_cv_path_CONFIG_NEON29"; then set dummy neon-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_CONFIG_NEON29+:} false; then : +if test "${ac_cv_path_ac_pt_CONFIG_NEON29+set}" = set; then : $as_echo_n "(cached) " >&6 else case $ac_pt_CONFIG_NEON29 in @@ -21267,7 +21279,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_CONFIG_NEON29="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -21361,7 +21373,7 @@ $as_echo "#define HAVE_NEON29 1" >>confdefs.h set dummy ${ac_tool_prefix}net-snmp-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_CONFIG_NETSNMP+:} false; then : +if test "${ac_cv_path_CONFIG_NETSNMP+set}" = set; then : $as_echo_n "(cached) " >&6 else case $CONFIG_NETSNMP in @@ -21376,7 +21388,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_CONFIG_NETSNMP="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -21405,7 +21417,7 @@ if test -z "$ac_cv_path_CONFIG_NETSNMP"; then set dummy net-snmp-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_CONFIG_NETSNMP+:} false; then : +if test "${ac_cv_path_ac_pt_CONFIG_NETSNMP+set}" = set; then : $as_echo_n "(cached) " >&6 else case $ac_pt_CONFIG_NETSNMP in @@ -21420,7 +21432,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_CONFIG_NETSNMP="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -21528,7 +21540,7 @@ if test "x${PBX_NEWT}" != "x1" -a "${USE_NEWT}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_newt_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lnewt" >&5 $as_echo_n "checking for ${pbxfuncname} in -lnewt... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -21586,7 +21598,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${NEWT_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "newt.h" "ac_cv_header_newt_h" "$ac_includes_default" -if test "x$ac_cv_header_newt_h" = xyes; then : +if test "x$ac_cv_header_newt_h" = x""yes; then : NEWT_HEADER_FOUND=1 else NEWT_HEADER_FOUND=0 @@ -21633,7 +21645,7 @@ if test "x${PBX_UNIXODBC}" != "x1" -a "${USE_UNIXODBC}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_odbc_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lodbc" >&5 $as_echo_n "checking for ${pbxfuncname} in -lodbc... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -21691,7 +21703,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${UNIXODBC_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "sql.h" "ac_cv_header_sql_h" "$ac_includes_default" -if test "x$ac_cv_header_sql_h" = xyes; then : +if test "x$ac_cv_header_sql_h" = x""yes; then : UNIXODBC_HEADER_FOUND=1 else UNIXODBC_HEADER_FOUND=0 @@ -21738,7 +21750,7 @@ if test "x${PBX_OGG}" != "x1" -a "${USE_OGG}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_ogg_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -logg" >&5 $as_echo_n "checking for ${pbxfuncname} in -logg... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -21796,7 +21808,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${OGG_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "" "ac_cv_header_" "$ac_includes_default" -if test "x$ac_cv_header_" = xyes; then : +if test "x$ac_cv_header_" = x""yes; then : OGG_HEADER_FOUND=1 else OGG_HEADER_FOUND=0 @@ -21844,7 +21856,7 @@ if test "x${PBX_BKTR}" != "x1" -a "${USE_BKTR}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_execinfo_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lexecinfo" >&5 $as_echo_n "checking for ${pbxfuncname} in -lexecinfo... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -21902,7 +21914,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${BKTR_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default" -if test "x$ac_cv_header_execinfo_h" = xyes; then : +if test "x$ac_cv_header_execinfo_h" = x""yes; then : BKTR_HEADER_FOUND=1 else BKTR_HEADER_FOUND=0 @@ -21949,7 +21961,7 @@ if test "x${PBX_BKTR}" != "x1" -a "${USE_BKTR}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_c_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lc" >&5 $as_echo_n "checking for ${pbxfuncname} in -lc... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -22007,7 +22019,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${BKTR_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default" -if test "x$ac_cv_header_execinfo_h" = xyes; then : +if test "x$ac_cv_header_execinfo_h" = x""yes; then : BKTR_HEADER_FOUND=1 else BKTR_HEADER_FOUND=0 @@ -22054,7 +22066,7 @@ if test "x${PBX_BLUETOOTH}" != "x1" -a "${USE_BLUETOOTH}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_bluetooth_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lbluetooth" >&5 $as_echo_n "checking for ${pbxfuncname} in -lbluetooth... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -22112,7 +22124,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${BLUETOOTH_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "bluetooth/bluetooth.h" "ac_cv_header_bluetooth_bluetooth_h" "$ac_includes_default" -if test "x$ac_cv_header_bluetooth_bluetooth_h" = xyes; then : +if test "x$ac_cv_header_bluetooth_bluetooth_h" = x""yes; then : BLUETOOTH_HEADER_FOUND=1 else BLUETOOTH_HEADER_FOUND=0 @@ -22160,7 +22172,7 @@ if test "x${PBX_OSS}" != "x1" -a "${USE_OSS}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_ossaudio_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lossaudio" >&5 $as_echo_n "checking for ${pbxfuncname} in -lossaudio... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -22218,7 +22230,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${OSS_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" -if test "x$ac_cv_header_linux_soundcard_h" = xyes; then : +if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : OSS_HEADER_FOUND=1 else OSS_HEADER_FOUND=0 @@ -22264,7 +22276,7 @@ if test "x${PBX_OSS}" != "x1" -a "${USE_OSS}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_ossaudio_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lossaudio" >&5 $as_echo_n "checking for ${pbxfuncname} in -lossaudio... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -22322,7 +22334,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${OSS_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_soundcard_h" = xyes; then : +if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : OSS_HEADER_FOUND=1 else OSS_HEADER_FOUND=0 @@ -22368,7 +22380,7 @@ if test "x${PBX_OSS}" != "x1" -a "${USE_OSS}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_ossaudio_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lossaudio" >&5 $as_echo_n "checking for ${pbxfuncname} in -lossaudio... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -22426,7 +22438,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${OSS_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "soundcard.h" "ac_cv_header_soundcard_h" "$ac_includes_default" -if test "x$ac_cv_header_soundcard_h" = xyes; then : +if test "x$ac_cv_header_soundcard_h" = x""yes; then : OSS_HEADER_FOUND=1 else OSS_HEADER_FOUND=0 @@ -22461,7 +22473,7 @@ if test "${USE_PGSQL}" != "no"; then set dummy ${ac_tool_prefix}pg_config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PG_CONFIG+:} false; then : +if test "${ac_cv_path_PG_CONFIG+set}" = set; then : $as_echo_n "(cached) " >&6 else case $PG_CONFIG in @@ -22475,7 +22487,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -22504,7 +22516,7 @@ if test -z "$ac_cv_path_PG_CONFIG"; then set dummy pg_config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_PG_CONFIG+:} false; then : +if test "${ac_cv_path_ac_pt_PG_CONFIG+set}" = set; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PG_CONFIG in @@ -22518,7 +22530,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -22573,7 +22585,7 @@ $as_echo "$as_me: *** including --without-postgres" >&6;} set dummy ${ac_tool_prefix}pg_config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PG_CONFIG+:} false; then : +if test "${ac_cv_path_PG_CONFIG+set}" = set; then : $as_echo_n "(cached) " >&6 else case $PG_CONFIG in @@ -22587,7 +22599,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -22616,7 +22628,7 @@ if test -z "$ac_cv_path_PG_CONFIG"; then set dummy pg_config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_PG_CONFIG+:} false; then : +if test "${ac_cv_path_ac_pt_PG_CONFIG+set}" = set; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PG_CONFIG in @@ -22630,7 +22642,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -22686,7 +22698,7 @@ $as_echo "$as_me: *** including --without-postgres" >&6;} else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQescapeStringConn in -lpq" >&5 $as_echo_n "checking for PQescapeStringConn in -lpq... " >&6; } -if ${ac_cv_lib_pq_PQescapeStringConn+:} false; then : +if test "${ac_cv_lib_pq_PQescapeStringConn+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -22720,7 +22732,7 @@ LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQescapeStringConn" >&5 $as_echo "$ac_cv_lib_pq_PQescapeStringConn" >&6; } -if test "x$ac_cv_lib_pq_PQescapeStringConn" = xyes; then : +if test "x$ac_cv_lib_pq_PQescapeStringConn" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_PGSQL 1 @@ -22783,6 +22795,93 @@ $as_echo "$as_me: *** including --without-postgres" >&6;} fi + if test "x${PBX_PJPROJECT}" != "x1" -a "${USE_PJPROJECT}" != "no"; then + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PJPROJECT" >&5 +$as_echo_n "checking for PJPROJECT... " >&6; } + +if test -n "$PJPROJECT_CFLAGS"; then + pkg_cv_PJPROJECT_CFLAGS="$PJPROJECT_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpjproject\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libpjproject") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_PJPROJECT_CFLAGS=`$PKG_CONFIG --cflags "libpjproject" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$PJPROJECT_LIBS"; then + pkg_cv_PJPROJECT_LIBS="$PJPROJECT_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpjproject\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libpjproject") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_PJPROJECT_LIBS=`$PKG_CONFIG --libs "libpjproject" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + PJPROJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpjproject" 2>&1` + else + PJPROJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpjproject" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$PJPROJECT_PKG_ERRORS" >&5 + + + PBX_PJPROJECT=0 + + +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + + PBX_PJPROJECT=0 + + +else + PJPROJECT_CFLAGS=$pkg_cv_PJPROJECT_CFLAGS + PJPROJECT_LIBS=$pkg_cv_PJPROJECT_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + PBX_PJPROJECT=1 + PJPROJECT_INCLUDE="$PJPROJECT_CFLAGS" + PJPROJECT_LIB="$PJPROJECT_LIBS" + +$as_echo "#define HAVE_PJPROJECT 1" >>confdefs.h + + +fi + fi + + + if test "x${PBX_POPT}" != "x1" -a "${USE_POPT}" != "no"; then pbxlibdir="" # if --with-POPT=DIR has been specified, use it. @@ -22802,7 +22901,7 @@ if test "x${PBX_POPT}" != "x1" -a "${USE_POPT}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_popt_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpopt" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpopt... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -22860,7 +22959,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${POPT_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "popt.h" "ac_cv_header_popt_h" "$ac_includes_default" -if test "x$ac_cv_header_popt_h" = xyes; then : +if test "x$ac_cv_header_popt_h" = x""yes; then : POPT_HEADER_FOUND=1 else POPT_HEADER_FOUND=0 @@ -22907,7 +23006,7 @@ if test "x${PBX_PORTAUDIO}" != "x1" -a "${USE_PORTAUDIO}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_portaudio_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lportaudio" >&5 $as_echo_n "checking for ${pbxfuncname} in -lportaudio... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -22965,7 +23064,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PORTAUDIO_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "portaudio.h" "ac_cv_header_portaudio_h" "$ac_includes_default" -if test "x$ac_cv_header_portaudio_h" = xyes; then : +if test "x$ac_cv_header_portaudio_h" = x""yes; then : PORTAUDIO_HEADER_FOUND=1 else PORTAUDIO_HEADER_FOUND=0 @@ -23012,7 +23111,7 @@ if test "x${PBX_PRI}" != "x1" -a "${USE_PRI}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_pri_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpri" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpri... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -23070,7 +23169,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PRI_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libpri.h" "ac_cv_header_libpri_h" "$ac_includes_default" -if test "x$ac_cv_header_libpri_h" = xyes; then : +if test "x$ac_cv_header_libpri_h" = x""yes; then : PRI_HEADER_FOUND=1 else PRI_HEADER_FOUND=0 @@ -23116,7 +23215,7 @@ if test "x${PBX_PRI_L2_PERSISTENCE}" != "x1" -a "${USE_PRI_L2_PERSISTENCE}" != " as_ac_Lib=`$as_echo "ac_cv_lib_pri_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpri" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpri... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -23174,7 +23273,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PRI_L2_PERSISTENCE_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libpri.h" "ac_cv_header_libpri_h" "$ac_includes_default" -if test "x$ac_cv_header_libpri_h" = xyes; then : +if test "x$ac_cv_header_libpri_h" = x""yes; then : PRI_L2_PERSISTENCE_HEADER_FOUND=1 else PRI_L2_PERSISTENCE_HEADER_FOUND=0 @@ -23220,7 +23319,7 @@ if test "x${PBX_PRI_DATETIME_SEND}" != "x1" -a "${USE_PRI_DATETIME_SEND}" != "no as_ac_Lib=`$as_echo "ac_cv_lib_pri_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpri" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpri... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -23278,7 +23377,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PRI_DATETIME_SEND_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libpri.h" "ac_cv_header_libpri_h" "$ac_includes_default" -if test "x$ac_cv_header_libpri_h" = xyes; then : +if test "x$ac_cv_header_libpri_h" = x""yes; then : PRI_DATETIME_SEND_HEADER_FOUND=1 else PRI_DATETIME_SEND_HEADER_FOUND=0 @@ -23324,7 +23423,7 @@ if test "x${PBX_PRI_MWI_V2}" != "x1" -a "${USE_PRI_MWI_V2}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_pri_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpri" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpri... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -23382,7 +23481,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PRI_MWI_V2_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libpri.h" "ac_cv_header_libpri_h" "$ac_includes_default" -if test "x$ac_cv_header_libpri_h" = xyes; then : +if test "x$ac_cv_header_libpri_h" = x""yes; then : PRI_MWI_V2_HEADER_FOUND=1 else PRI_MWI_V2_HEADER_FOUND=0 @@ -23428,7 +23527,7 @@ if test "x${PBX_PRI_DISPLAY_TEXT}" != "x1" -a "${USE_PRI_DISPLAY_TEXT}" != "no"; as_ac_Lib=`$as_echo "ac_cv_lib_pri_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpri" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpri... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -23486,7 +23585,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PRI_DISPLAY_TEXT_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libpri.h" "ac_cv_header_libpri_h" "$ac_includes_default" -if test "x$ac_cv_header_libpri_h" = xyes; then : +if test "x$ac_cv_header_libpri_h" = x""yes; then : PRI_DISPLAY_TEXT_HEADER_FOUND=1 else PRI_DISPLAY_TEXT_HEADER_FOUND=0 @@ -23532,7 +23631,7 @@ if test "x${PBX_PRI_MWI}" != "x1" -a "${USE_PRI_MWI}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_pri_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpri" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpri... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -23590,7 +23689,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PRI_MWI_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libpri.h" "ac_cv_header_libpri_h" "$ac_includes_default" -if test "x$ac_cv_header_libpri_h" = xyes; then : +if test "x$ac_cv_header_libpri_h" = x""yes; then : PRI_MWI_HEADER_FOUND=1 else PRI_MWI_HEADER_FOUND=0 @@ -23636,7 +23735,7 @@ if test "x${PBX_PRI_MCID}" != "x1" -a "${USE_PRI_MCID}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_pri_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpri" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpri... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -23694,7 +23793,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PRI_MCID_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libpri.h" "ac_cv_header_libpri_h" "$ac_includes_default" -if test "x$ac_cv_header_libpri_h" = xyes; then : +if test "x$ac_cv_header_libpri_h" = x""yes; then : PRI_MCID_HEADER_FOUND=1 else PRI_MCID_HEADER_FOUND=0 @@ -23740,7 +23839,7 @@ if test "x${PBX_PRI_CALL_WAITING}" != "x1" -a "${USE_PRI_CALL_WAITING}" != "no"; as_ac_Lib=`$as_echo "ac_cv_lib_pri_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpri" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpri... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -23798,7 +23897,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PRI_CALL_WAITING_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libpri.h" "ac_cv_header_libpri_h" "$ac_includes_default" -if test "x$ac_cv_header_libpri_h" = xyes; then : +if test "x$ac_cv_header_libpri_h" = x""yes; then : PRI_CALL_WAITING_HEADER_FOUND=1 else PRI_CALL_WAITING_HEADER_FOUND=0 @@ -23844,7 +23943,7 @@ if test "x${PBX_PRI_AOC_EVENTS}" != "x1" -a "${USE_PRI_AOC_EVENTS}" != "no"; the as_ac_Lib=`$as_echo "ac_cv_lib_pri_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpri" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpri... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -23902,7 +24001,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PRI_AOC_EVENTS_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libpri.h" "ac_cv_header_libpri_h" "$ac_includes_default" -if test "x$ac_cv_header_libpri_h" = xyes; then : +if test "x$ac_cv_header_libpri_h" = x""yes; then : PRI_AOC_EVENTS_HEADER_FOUND=1 else PRI_AOC_EVENTS_HEADER_FOUND=0 @@ -23948,7 +24047,7 @@ if test "x${PBX_PRI_TRANSFER}" != "x1" -a "${USE_PRI_TRANSFER}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_pri_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpri" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpri... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -24006,7 +24105,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PRI_TRANSFER_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libpri.h" "ac_cv_header_libpri_h" "$ac_includes_default" -if test "x$ac_cv_header_libpri_h" = xyes; then : +if test "x$ac_cv_header_libpri_h" = x""yes; then : PRI_TRANSFER_HEADER_FOUND=1 else PRI_TRANSFER_HEADER_FOUND=0 @@ -24052,7 +24151,7 @@ if test "x${PBX_PRI_CCSS}" != "x1" -a "${USE_PRI_CCSS}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_pri_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpri" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpri... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -24110,7 +24209,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PRI_CCSS_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libpri.h" "ac_cv_header_libpri_h" "$ac_includes_default" -if test "x$ac_cv_header_libpri_h" = xyes; then : +if test "x$ac_cv_header_libpri_h" = x""yes; then : PRI_CCSS_HEADER_FOUND=1 else PRI_CCSS_HEADER_FOUND=0 @@ -24156,7 +24255,7 @@ if test "x${PBX_PRI_HANGUP_FIX}" != "x1" -a "${USE_PRI_HANGUP_FIX}" != "no"; the as_ac_Lib=`$as_echo "ac_cv_lib_pri_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpri" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpri... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -24214,7 +24313,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PRI_HANGUP_FIX_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libpri.h" "ac_cv_header_libpri_h" "$ac_includes_default" -if test "x$ac_cv_header_libpri_h" = xyes; then : +if test "x$ac_cv_header_libpri_h" = x""yes; then : PRI_HANGUP_FIX_HEADER_FOUND=1 else PRI_HANGUP_FIX_HEADER_FOUND=0 @@ -24260,7 +24359,7 @@ if test "x${PBX_PRI_SUBADDR}" != "x1" -a "${USE_PRI_SUBADDR}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_pri_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpri" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpri... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -24318,7 +24417,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PRI_SUBADDR_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libpri.h" "ac_cv_header_libpri_h" "$ac_includes_default" -if test "x$ac_cv_header_libpri_h" = xyes; then : +if test "x$ac_cv_header_libpri_h" = x""yes; then : PRI_SUBADDR_HEADER_FOUND=1 else PRI_SUBADDR_HEADER_FOUND=0 @@ -24364,7 +24463,7 @@ if test "x${PBX_PRI_CALL_HOLD}" != "x1" -a "${USE_PRI_CALL_HOLD}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_pri_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpri" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpri... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -24422,7 +24521,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PRI_CALL_HOLD_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libpri.h" "ac_cv_header_libpri_h" "$ac_includes_default" -if test "x$ac_cv_header_libpri_h" = xyes; then : +if test "x$ac_cv_header_libpri_h" = x""yes; then : PRI_CALL_HOLD_HEADER_FOUND=1 else PRI_CALL_HOLD_HEADER_FOUND=0 @@ -24468,7 +24567,7 @@ if test "x${PBX_PRI_CALL_REROUTING}" != "x1" -a "${USE_PRI_CALL_REROUTING}" != " as_ac_Lib=`$as_echo "ac_cv_lib_pri_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpri" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpri... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -24526,7 +24625,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PRI_CALL_REROUTING_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libpri.h" "ac_cv_header_libpri_h" "$ac_includes_default" -if test "x$ac_cv_header_libpri_h" = xyes; then : +if test "x$ac_cv_header_libpri_h" = x""yes; then : PRI_CALL_REROUTING_HEADER_FOUND=1 else PRI_CALL_REROUTING_HEADER_FOUND=0 @@ -24572,7 +24671,7 @@ if test "x${PBX_PRI_SETUP_KEYPAD}" != "x1" -a "${USE_PRI_SETUP_KEYPAD}" != "no"; as_ac_Lib=`$as_echo "ac_cv_lib_pri_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpri" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpri... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -24630,7 +24729,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PRI_SETUP_KEYPAD_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libpri.h" "ac_cv_header_libpri_h" "$ac_includes_default" -if test "x$ac_cv_header_libpri_h" = xyes; then : +if test "x$ac_cv_header_libpri_h" = x""yes; then : PRI_SETUP_KEYPAD_HEADER_FOUND=1 else PRI_SETUP_KEYPAD_HEADER_FOUND=0 @@ -24680,7 +24779,7 @@ if test "x${PBX_PRI_PROG_W_CAUSE}" != "x1" -a "${USE_PRI_PROG_W_CAUSE}" != "no"; as_ac_Lib=`$as_echo "ac_cv_lib_pri_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpri" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpri... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -24738,7 +24837,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PRI_PROG_W_CAUSE_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libpri.h" "ac_cv_header_libpri_h" "$ac_includes_default" -if test "x$ac_cv_header_libpri_h" = xyes; then : +if test "x$ac_cv_header_libpri_h" = x""yes; then : PRI_PROG_W_CAUSE_HEADER_FOUND=1 else PRI_PROG_W_CAUSE_HEADER_FOUND=0 @@ -24784,7 +24883,7 @@ if test "x${PBX_PRI_INBANDDISCONNECT}" != "x1" -a "${USE_PRI_INBANDDISCONNECT}" as_ac_Lib=`$as_echo "ac_cv_lib_pri_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpri" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpri... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -24842,7 +24941,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PRI_INBANDDISCONNECT_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libpri.h" "ac_cv_header_libpri_h" "$ac_includes_default" -if test "x$ac_cv_header_libpri_h" = xyes; then : +if test "x$ac_cv_header_libpri_h" = x""yes; then : PRI_INBANDDISCONNECT_HEADER_FOUND=1 else PRI_INBANDDISCONNECT_HEADER_FOUND=0 @@ -24888,7 +24987,7 @@ if test "x${PBX_PRI_SERVICE_MESSAGES}" != "x1" -a "${USE_PRI_SERVICE_MESSAGES}" as_ac_Lib=`$as_echo "ac_cv_lib_pri_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpri" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpri... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -24946,7 +25045,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PRI_SERVICE_MESSAGES_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libpri.h" "ac_cv_header_libpri_h" "$ac_includes_default" -if test "x$ac_cv_header_libpri_h" = xyes; then : +if test "x$ac_cv_header_libpri_h" = x""yes; then : PRI_SERVICE_MESSAGES_HEADER_FOUND=1 else PRI_SERVICE_MESSAGES_HEADER_FOUND=0 @@ -24992,7 +25091,7 @@ if test "x${PBX_PRI_REVERSE_CHARGE}" != "x1" -a "${USE_PRI_REVERSE_CHARGE}" != " as_ac_Lib=`$as_echo "ac_cv_lib_pri_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lpri" >&5 $as_echo_n "checking for ${pbxfuncname} in -lpri... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -25050,7 +25149,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${PRI_REVERSE_CHARGE_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libpri.h" "ac_cv_header_libpri_h" "$ac_includes_default" -if test "x$ac_cv_header_libpri_h" = xyes; then : +if test "x$ac_cv_header_libpri_h" = x""yes; then : PRI_REVERSE_CHARGE_HEADER_FOUND=1 else PRI_REVERSE_CHARGE_HEADER_FOUND=0 @@ -25098,7 +25197,7 @@ if test "x${PBX_RESAMPLE}" != "x1" -a "${USE_RESAMPLE}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_resample_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lresample" >&5 $as_echo_n "checking for ${pbxfuncname} in -lresample... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -25156,7 +25255,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${RESAMPLE_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libresample.h" "ac_cv_header_libresample_h" "$ac_includes_default" -if test "x$ac_cv_header_libresample_h" = xyes; then : +if test "x$ac_cv_header_libresample_h" = x""yes; then : RESAMPLE_HEADER_FOUND=1 else RESAMPLE_HEADER_FOUND=0 @@ -25265,7 +25364,7 @@ if test "x${PBX_SPANDSP}" != "x1" -a "${USE_SPANDSP}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_spandsp_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lspandsp" >&5 $as_echo_n "checking for ${pbxfuncname} in -lspandsp... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -25323,7 +25422,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${SPANDSP_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "spandsp.h" "ac_cv_header_spandsp_h" "$ac_includes_default" -if test "x$ac_cv_header_spandsp_h" = xyes; then : +if test "x$ac_cv_header_spandsp_h" = x""yes; then : SPANDSP_HEADER_FOUND=1 else SPANDSP_HEADER_FOUND=0 @@ -25374,7 +25473,7 @@ if test "x${PBX_SPANDSP}" != "x1" -a "${USE_SPANDSP}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_spandsp_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lspandsp" >&5 $as_echo_n "checking for ${pbxfuncname} in -lspandsp... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -25432,7 +25531,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${SPANDSP_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "spandsp.h" "ac_cv_header_spandsp_h" "$ac_includes_default" -if test "x$ac_cv_header_spandsp_h" = xyes; then : +if test "x$ac_cv_header_spandsp_h" = x""yes; then : SPANDSP_HEADER_FOUND=1 else SPANDSP_HEADER_FOUND=0 @@ -25481,7 +25580,7 @@ if test "x${PBX_SS7}" != "x1" -a "${USE_SS7}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_ss7_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lss7" >&5 $as_echo_n "checking for ${pbxfuncname} in -lss7... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -25539,7 +25638,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${SS7_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "libss7.h" "ac_cv_header_libss7_h" "$ac_includes_default" -if test "x$ac_cv_header_libss7_h" = xyes; then : +if test "x$ac_cv_header_libss7_h" = x""yes; then : SS7_HEADER_FOUND=1 else SS7_HEADER_FOUND=0 @@ -25586,7 +25685,7 @@ if test "x${PBX_OPENR2}" != "x1" -a "${USE_OPENR2}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_openr2_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lopenr2" >&5 $as_echo_n "checking for ${pbxfuncname} in -lopenr2... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -25644,7 +25743,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${OPENR2_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "openr2.h" "ac_cv_header_openr2_h" "$ac_includes_default" -if test "x$ac_cv_header_openr2_h" = xyes; then : +if test "x$ac_cv_header_openr2_h" = x""yes; then : OPENR2_HEADER_FOUND=1 else OPENR2_HEADER_FOUND=0 @@ -25719,7 +25818,7 @@ fi PWLIBDIR="${HOME}/pwlib" else ac_fn_cxx_check_header_mongrel "$LINENO" "/usr/local/include/ptlib.h" "ac_cv_header__usr_local_include_ptlib_h" "$ac_includes_default" -if test "x$ac_cv_header__usr_local_include_ptlib_h" = xyes; then : +if test "x$ac_cv_header__usr_local_include_ptlib_h" = x""yes; then : HAS_PWLIB=1 fi @@ -25729,7 +25828,7 @@ fi set dummy ptlib-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PTLIB_CONFIG+:} false; then : +if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then : $as_echo_n "(cached) " >&6 else case $PTLIB_CONFIG in @@ -25743,7 +25842,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -25781,7 +25880,7 @@ fi PWLIB_LIB="-L${PWLIB_LIBDIR} `echo ${PWLIB_LIB}`" else ac_fn_cxx_check_header_mongrel "$LINENO" "/usr/include/ptlib.h" "ac_cv_header__usr_include_ptlib_h" "$ac_includes_default" -if test "x$ac_cv_header__usr_include_ptlib_h" = xyes; then : +if test "x$ac_cv_header__usr_include_ptlib_h" = x""yes; then : HAS_PWLIB=1 fi @@ -25791,7 +25890,7 @@ fi set dummy ptlib-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PTLIB_CONFIG+:} false; then : +if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then : $as_echo_n "(cached) " >&6 else case $PTLIB_CONFIG in @@ -25805,7 +25904,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -26170,7 +26269,7 @@ fi CPPFLAGS="${CPPFLAGS} -I/usr/local/include/openh323 -I${PWLIB_INCDIR}" ac_fn_cxx_check_header_compile "$LINENO" "/usr/local/include/openh323/h323.h" "ac_cv_header__usr_local_include_openh323_h323_h" "#include " -if test "x$ac_cv_header__usr_local_include_openh323_h323_h" = xyes; then : +if test "x$ac_cv_header__usr_local_include_openh323_h323_h" = x""yes; then : HAS_OPENH323=1 fi @@ -26189,7 +26288,7 @@ fi CPPFLAGS="${CPPFLAGS} -I/usr/include/openh323 -I${PWLIB_INCDIR}" ac_fn_cxx_check_header_compile "$LINENO" "/usr/include/openh323/h323.h" "ac_cv_header__usr_include_openh323_h323_h" "#include " -if test "x$ac_cv_header__usr_include_openh323_h323_h" = xyes; then : +if test "x$ac_cv_header__usr_include_openh323_h323_h" = x""yes; then : HAS_OPENH323=1 fi @@ -26431,7 +26530,7 @@ if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_lua5.1_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -llua5.1" >&5 $as_echo_n "checking for ${pbxfuncname} in -llua5.1... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -26489,7 +26588,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${LUA_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "lua5.1/lua.h" "ac_cv_header_lua5_1_lua_h" "$ac_includes_default" -if test "x$ac_cv_header_lua5_1_lua_h" = xyes; then : +if test "x$ac_cv_header_lua5_1_lua_h" = x""yes; then : LUA_HEADER_FOUND=1 else LUA_HEADER_FOUND=0 @@ -26544,7 +26643,7 @@ if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_lua_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -llua" >&5 $as_echo_n "checking for ${pbxfuncname} in -llua... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -26602,7 +26701,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${LUA_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "lua.h" "ac_cv_header_lua_h" "$ac_includes_default" -if test "x$ac_cv_header_lua_h" = xyes; then : +if test "x$ac_cv_header_lua_h" = x""yes; then : LUA_HEADER_FOUND=1 else LUA_HEADER_FOUND=0 @@ -26649,7 +26748,7 @@ if test "x${PBX_RADIUS}" != "x1" -a "${USE_RADIUS}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_radiusclient-ng_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lradiusclient-ng" >&5 $as_echo_n "checking for ${pbxfuncname} in -lradiusclient-ng... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -26707,7 +26806,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${RADIUS_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "radiusclient-ng.h" "ac_cv_header_radiusclient_ng_h" "$ac_includes_default" -if test "x$ac_cv_header_radiusclient_ng_h" = xyes; then : +if test "x$ac_cv_header_radiusclient_ng_h" = x""yes; then : RADIUS_HEADER_FOUND=1 else RADIUS_HEADER_FOUND=0 @@ -26754,7 +26853,7 @@ if test "x${PBX_COROSYNC}" != "x1" -a "${USE_COROSYNC}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_cpg_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lcpg" >&5 $as_echo_n "checking for ${pbxfuncname} in -lcpg... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -26812,7 +26911,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${COROSYNC_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "corosync/cpg.h" "ac_cv_header_corosync_cpg_h" "$ac_includes_default" -if test "x$ac_cv_header_corosync_cpg_h" = xyes; then : +if test "x$ac_cv_header_corosync_cpg_h" = x""yes; then : COROSYNC_HEADER_FOUND=1 else COROSYNC_HEADER_FOUND=0 @@ -26858,7 +26957,7 @@ if test "x${PBX_COROSYNC_CFG_STATE_TRACK}" != "x1" -a "${USE_COROSYNC_CFG_STATE_ as_ac_Lib=`$as_echo "ac_cv_lib_cfg_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lcfg" >&5 $as_echo_n "checking for ${pbxfuncname} in -lcfg... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -26916,7 +27015,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${COROSYNC_CFG_STATE_TRACK_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "corosync/cfg.h" "ac_cv_header_corosync_cfg_h" "$ac_includes_default" -if test "x$ac_cv_header_corosync_cfg_h" = xyes; then : +if test "x$ac_cv_header_corosync_cfg_h" = x""yes; then : COROSYNC_CFG_STATE_TRACK_HEADER_FOUND=1 else COROSYNC_CFG_STATE_TRACK_HEADER_FOUND=0 @@ -26963,7 +27062,7 @@ if test "x${PBX_SPEEX}" != "x1" -a "${USE_SPEEX}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_speex_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lspeex" >&5 $as_echo_n "checking for ${pbxfuncname} in -lspeex... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -27021,7 +27120,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${SPEEX_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "speex/speex.h" "ac_cv_header_speex_speex_h" "$ac_includes_default" -if test "x$ac_cv_header_speex_speex_h" = xyes; then : +if test "x$ac_cv_header_speex_speex_h" = x""yes; then : SPEEX_HEADER_FOUND=1 else SPEEX_HEADER_FOUND=0 @@ -27069,7 +27168,7 @@ if test "x${PBX_SPEEX_PREPROCESS}" != "x1" -a "${USE_SPEEX_PREPROCESS}" != "no"; as_ac_Lib=`$as_echo "ac_cv_lib_speex_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lspeex" >&5 $as_echo_n "checking for ${pbxfuncname} in -lspeex... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -27127,7 +27226,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${SPEEX_PREPROCESS_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "speex/speex.h" "ac_cv_header_speex_speex_h" "$ac_includes_default" -if test "x$ac_cv_header_speex_speex_h" = xyes; then : +if test "x$ac_cv_header_speex_speex_h" = x""yes; then : SPEEX_PREPROCESS_HEADER_FOUND=1 else SPEEX_PREPROCESS_HEADER_FOUND=0 @@ -27177,7 +27276,7 @@ if test "x${PBX_SPEEXDSP}" != "x1" -a "${USE_SPEEXDSP}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_speexdsp_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lspeexdsp" >&5 $as_echo_n "checking for ${pbxfuncname} in -lspeexdsp... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -27235,7 +27334,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${SPEEXDSP_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "speex/speex.h" "ac_cv_header_speex_speex_h" "$ac_includes_default" -if test "x$ac_cv_header_speex_speex_h" = xyes; then : +if test "x$ac_cv_header_speex_speex_h" = x""yes; then : SPEEXDSP_HEADER_FOUND=1 else SPEEXDSP_HEADER_FOUND=0 @@ -27287,7 +27386,7 @@ if test "x${PBX_SQLITE}" != "x1" -a "${USE_SQLITE}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_sqlite_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lsqlite" >&5 $as_echo_n "checking for ${pbxfuncname} in -lsqlite... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -27345,7 +27444,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${SQLITE_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "sqlite.h" "ac_cv_header_sqlite_h" "$ac_includes_default" -if test "x$ac_cv_header_sqlite_h" = xyes; then : +if test "x$ac_cv_header_sqlite_h" = x""yes; then : SQLITE_HEADER_FOUND=1 else SQLITE_HEADER_FOUND=0 @@ -27392,7 +27491,7 @@ if test "x${PBX_SQLITE3}" != "x1" -a "${USE_SQLITE3}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_sqlite3_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lsqlite3" >&5 $as_echo_n "checking for ${pbxfuncname} in -lsqlite3... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -27450,7 +27549,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${SQLITE3_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default" -if test "x$ac_cv_header_sqlite3_h" = xyes; then : +if test "x$ac_cv_header_sqlite3_h" = x""yes; then : SQLITE3_HEADER_FOUND=1 else SQLITE3_HEADER_FOUND=0 @@ -27505,7 +27604,7 @@ if test "x${PBX_CRYPTO}" != "x1" -a "${USE_CRYPTO}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_crypto_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lcrypto" >&5 $as_echo_n "checking for ${pbxfuncname} in -lcrypto... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -27563,7 +27662,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${CRYPTO_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "openssl/aes.h" "ac_cv_header_openssl_aes_h" "$ac_includes_default" -if test "x$ac_cv_header_openssl_aes_h" = xyes; then : +if test "x$ac_cv_header_openssl_aes_h" = x""yes; then : CRYPTO_HEADER_FOUND=1 else CRYPTO_HEADER_FOUND=0 @@ -27612,7 +27711,7 @@ if test "x${PBX_OPENSSL}" != "x1" -a "${USE_OPENSSL}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_ssl_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lssl" >&5 $as_echo_n "checking for ${pbxfuncname} in -lssl... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -27670,7 +27769,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${OPENSSL_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" -if test "x$ac_cv_header_openssl_ssl_h" = xyes; then : +if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : OPENSSL_HEADER_FOUND=1 else OPENSSL_HEADER_FOUND=0 @@ -27716,7 +27815,7 @@ then osptk_saved_cppflags="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${osptk_cflags}" ac_fn_c_check_header_mongrel "$LINENO" "osp/osp.h" "ac_cv_header_osp_osp_h" "$ac_includes_default" -if test "x$ac_cv_header_osp_osp_h" = xyes; then : +if test "x$ac_cv_header_osp_osp_h" = x""yes; then : osptk_header_found=yes else osptk_header_found=no @@ -27731,7 +27830,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OSPPInit in -losptk" >&5 $as_echo_n "checking for OSPPInit in -losptk... " >&6; } -if ${ac_cv_lib_osptk_OSPPInit+:} false; then : +if test "${ac_cv_lib_osptk_OSPPInit+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -27765,7 +27864,7 @@ LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osptk_OSPPInit" >&5 $as_echo "$ac_cv_lib_osptk_OSPPInit" >&6; } -if test "x$ac_cv_lib_osptk_OSPPInit" = xyes; then : +if test "x$ac_cv_lib_osptk_OSPPInit" = x""yes; then : osptk_library_found=yes else osptk_library_found=no @@ -27783,7 +27882,7 @@ $as_echo_n "checking if OSP Toolkit version is compatible with app_osplookup... { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } +See \`config.log' for more details" "$LINENO" 5 ; } else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27847,7 +27946,7 @@ if test "x${PBX_OPENSSL_SRTP}" != "x1" -a "${USE_OPENSSL_SRTP}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_ssl_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lssl" >&5 $as_echo_n "checking for ${pbxfuncname} in -lssl... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -27905,7 +28004,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${OPENSSL_SRTP_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" -if test "x$ac_cv_header_openssl_ssl_h" = xyes; then : +if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : OPENSSL_SRTP_HEADER_FOUND=1 else OPENSSL_SRTP_HEADER_FOUND=0 @@ -27953,7 +28052,7 @@ if test "x${PBX_SRTP}" != "x1" -a "${USE_SRTP}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_srtp_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lsrtp" >&5 $as_echo_n "checking for ${pbxfuncname} in -lsrtp... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -28011,7 +28110,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${SRTP_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "srtp/srtp.h" "ac_cv_header_srtp_srtp_h" "$ac_includes_default" -if test "x$ac_cv_header_srtp_srtp_h" = xyes; then : +if test "x$ac_cv_header_srtp_srtp_h" = x""yes; then : SRTP_HEADER_FOUND=1 else SRTP_HEADER_FOUND=0 @@ -28119,7 +28218,6 @@ if test -n "$GMIME_CFLAGS"; then $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GMIME_CFLAGS=`$PKG_CONFIG --cflags "gmime-$ver" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -28136,7 +28234,6 @@ if test -n "$GMIME_LIBS"; then $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GMIME_LIBS=`$PKG_CONFIG --libs "gmime-$ver" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -28156,9 +28253,9 @@ else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - GMIME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmime-$ver" 2>&1` + GMIME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gmime-$ver" 2>&1` else - GMIME_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmime-$ver" 2>&1` + GMIME_PKG_ERRORS=`$PKG_CONFIG --print-errors "gmime-$ver" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GMIME_PKG_ERRORS" >&5 @@ -28215,7 +28312,7 @@ if test "x${PBX_HOARD}" != "x1" -a "${USE_HOARD}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_hoard_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lhoard" >&5 $as_echo_n "checking for ${pbxfuncname} in -lhoard... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -28273,7 +28370,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${HOARD_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "" "ac_cv_header_" "$ac_includes_default" -if test "x$ac_cv_header_" = xyes; then : +if test "x$ac_cv_header_" = x""yes; then : HOARD_HEADER_FOUND=1 else HOARD_HEADER_FOUND=0 @@ -28320,7 +28417,7 @@ if test "x${PBX_FREETDS}" != "x1" -a "${USE_FREETDS}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_sybdb_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lsybdb" >&5 $as_echo_n "checking for ${pbxfuncname} in -lsybdb... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -28378,7 +28475,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${FREETDS_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "sybdb.h" "ac_cv_header_sybdb_h" "$ac_includes_default" -if test "x$ac_cv_header_sybdb_h" = xyes; then : +if test "x$ac_cv_header_sybdb_h" = x""yes; then : FREETDS_HEADER_FOUND=1 else FREETDS_HEADER_FOUND=0 @@ -28407,7 +28504,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tone_zone_find_by_num in -ltonezone" >&5 $as_echo_n "checking for tone_zone_find_by_num in -ltonezone... " >&6; } -if ${ac_cv_lib_tonezone_tone_zone_find_by_num+:} false; then : +if test "${ac_cv_lib_tonezone_tone_zone_find_by_num+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -28441,7 +28538,7 @@ LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tonezone_tone_zone_find_by_num" >&5 $as_echo "$ac_cv_lib_tonezone_tone_zone_find_by_num" >&6; } -if test "x$ac_cv_lib_tonezone_tone_zone_find_by_num" = xyes; then : +if test "x$ac_cv_lib_tonezone_tone_zone_find_by_num" = x""yes; then : tonezone_does_not_need_lm=yes else tonezone_does_not_need_lm=no @@ -28472,7 +28569,7 @@ if test "x${PBX_TONEZONE}" != "x1" -a "${USE_TONEZONE}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_tonezone_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -ltonezone" >&5 $as_echo_n "checking for ${pbxfuncname} in -ltonezone... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -28530,7 +28627,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${TONEZONE_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "dahdi/tonezone.h" "ac_cv_header_dahdi_tonezone_h" "$ac_includes_default" -if test "x$ac_cv_header_dahdi_tonezone_h" = xyes; then : +if test "x$ac_cv_header_dahdi_tonezone_h" = x""yes; then : TONEZONE_HEADER_FOUND=1 else TONEZONE_HEADER_FOUND=0 @@ -28579,7 +28676,7 @@ if test "x${PBX_VORBIS}" != "x1" -a "${USE_VORBIS}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_vorbis_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lvorbis" >&5 $as_echo_n "checking for ${pbxfuncname} in -lvorbis... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -28637,7 +28734,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${VORBIS_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "vorbis/codec.h" "ac_cv_header_vorbis_codec_h" "$ac_includes_default" -if test "x$ac_cv_header_vorbis_codec_h" = xyes; then : +if test "x$ac_cv_header_vorbis_codec_h" = x""yes; then : VORBIS_HEADER_FOUND=1 else VORBIS_HEADER_FOUND=0 @@ -28684,7 +28781,7 @@ if test "x${PBX_VORBIS}" != "x1" -a "${USE_VORBIS}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_vorbis_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lvorbis" >&5 $as_echo_n "checking for ${pbxfuncname} in -lvorbis... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -28742,7 +28839,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${VORBIS_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "vorbis/codec.h" "ac_cv_header_vorbis_codec_h" "$ac_includes_default" -if test "x$ac_cv_header_vorbis_codec_h" = xyes; then : +if test "x$ac_cv_header_vorbis_codec_h" = x""yes; then : VORBIS_HEADER_FOUND=1 else VORBIS_HEADER_FOUND=0 @@ -28905,7 +29002,7 @@ if test "x${PBX_ZLIB}" != "x1" -a "${USE_ZLIB}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_z_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lz" >&5 $as_echo_n "checking for ${pbxfuncname} in -lz... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -28963,7 +29060,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${ZLIB_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" -if test "x$ac_cv_header_zlib_h" = xyes; then : +if test "x$ac_cv_header_zlib_h" = x""yes; then : ZLIB_HEADER_FOUND=1 else ZLIB_HEADER_FOUND=0 @@ -29022,7 +29119,7 @@ rm -f core conftest.err conftest.$ac_objext \ fi ac_fn_c_check_header_mongrel "$LINENO" "h323.h" "ac_cv_header_h323_h" "$ac_includes_default" -if test "x$ac_cv_header_h323_h" = xyes; then : +if test "x$ac_cv_header_h323_h" = x""yes; then : PBX_H323=1 else PBX_H323=0 @@ -29032,7 +29129,7 @@ fi ac_fn_c_check_header_mongrel "$LINENO" "linux/compiler.h" "ac_cv_header_linux_compiler_h" "$ac_includes_default" -if test "x$ac_cv_header_linux_compiler_h" = xyes; then : +if test "x$ac_cv_header_linux_compiler_h" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LINUX_COMPILER_H 1 @@ -29049,7 +29146,7 @@ ac_fn_c_check_header_compile "$LINENO" "linux/ixjuser.h" "ac_cv_header_linux_ixj #endif " -if test "x$ac_cv_header_linux_ixjuser_h" = xyes; then : +if test "x$ac_cv_header_linux_ixjuser_h" = x""yes; then : PBX_IXJUSER=1 else PBX_IXJUSER=0 @@ -29160,7 +29257,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext set dummy ${ac_tool_prefix}sdl-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_CONFIG_SDL+:} false; then : +if test "${ac_cv_path_CONFIG_SDL+set}" = set; then : $as_echo_n "(cached) " >&6 else case $CONFIG_SDL in @@ -29175,7 +29272,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_CONFIG_SDL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -29204,7 +29301,7 @@ if test -z "$ac_cv_path_CONFIG_SDL"; then set dummy sdl-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_CONFIG_SDL+:} false; then : +if test "${ac_cv_path_ac_pt_CONFIG_SDL+set}" = set; then : $as_echo_n "(cached) " >&6 else case $ac_pt_CONFIG_SDL in @@ -29219,7 +29316,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_CONFIG_SDL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -29322,7 +29419,7 @@ if test "x${PBX_SDL_IMAGE}" != "x1" -a "${USE_SDL_IMAGE}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_SDL_image_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lSDL_image" >&5 $as_echo_n "checking for ${pbxfuncname} in -lSDL_image... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -29380,7 +29477,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${SDL_IMAGE_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "SDL_image.h" "ac_cv_header_SDL_image_h" "$ac_includes_default" -if test "x$ac_cv_header_SDL_image_h" = xyes; then : +if test "x$ac_cv_header_SDL_image_h" = x""yes; then : SDL_IMAGE_HEADER_FOUND=1 else SDL_IMAGE_HEADER_FOUND=0 @@ -29426,7 +29523,7 @@ if test "x${PBX_FFMPEG}" != "x1" -a "${USE_FFMPEG}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_avcodec_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lavcodec" >&5 $as_echo_n "checking for ${pbxfuncname} in -lavcodec... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -29484,7 +29581,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${FFMPEG_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "ffmpeg/avcodec.h" "ac_cv_header_ffmpeg_avcodec_h" "$ac_includes_default" -if test "x$ac_cv_header_ffmpeg_avcodec_h" = xyes; then : +if test "x$ac_cv_header_ffmpeg_avcodec_h" = x""yes; then : FFMPEG_HEADER_FOUND=1 else FFMPEG_HEADER_FOUND=0 @@ -29513,7 +29610,7 @@ fi # possible places for video4linux version 1 ac_fn_c_check_header_mongrel "$LINENO" "linux/videodev.h" "ac_cv_header_linux_videodev_h" "$ac_includes_default" -if test "x$ac_cv_header_linux_videodev_h" = xyes; then : +if test "x$ac_cv_header_linux_videodev_h" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_VIDEODEV_H 1 @@ -29544,7 +29641,7 @@ if test "x${PBX_X11}" != "x1" -a "${USE_X11}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_X11_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lX11" >&5 $as_echo_n "checking for ${pbxfuncname} in -lX11... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -29602,7 +29699,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${X11_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "$ac_includes_default" -if test "x$ac_cv_header_X11_Xlib_h" = xyes; then : +if test "x$ac_cv_header_X11_Xlib_h" = x""yes; then : X11_HEADER_FOUND=1 else X11_HEADER_FOUND=0 @@ -29652,7 +29749,7 @@ if test "x${PBX_X11}" != "x1" -a "${USE_X11}" != "no"; then as_ac_Lib=`$as_echo "ac_cv_lib_X11_${pbxfuncname}" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -lX11" >&5 $as_echo_n "checking for ${pbxfuncname} in -lX11... " >&6; } -if eval \${$as_ac_Lib+:} false; then : +if eval "test \"\${$as_ac_Lib+set}\"" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -29710,7 +29807,7 @@ fi ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${X11_INCLUDE}" ac_fn_c_check_header_mongrel "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "$ac_includes_default" -if test "x$ac_cv_header_X11_Xlib_h" = xyes; then : +if test "x$ac_cv_header_X11_Xlib_h" = x""yes; then : X11_HEADER_FOUND=1 else X11_HEADER_FOUND=0 @@ -29746,7 +29843,7 @@ if test "${cross_compiling}" = "no"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /sbin/launchd" >&5 $as_echo_n "checking for /sbin/launchd... " >&6; } -if ${ac_cv_file__sbin_launchd+:} false; then : +if test "${ac_cv_file__sbin_launchd+set}" = set; then : $as_echo_n "(cached) " >&6 else test "$cross_compiling" = yes && @@ -29759,7 +29856,7 @@ fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__sbin_launchd" >&5 $as_echo "$ac_cv_file__sbin_launchd" >&6; } -if test "x$ac_cv_file__sbin_launchd" = xyes; then : +if test "x$ac_cv_file__sbin_launchd" = x""yes; then : $as_echo "#define HAVE_SBIN_LAUNCHD 1" >>confdefs.h @@ -29788,7 +29885,6 @@ if test -n "$GTK2_CFLAGS"; then $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -29805,7 +29901,6 @@ if test -n "$GTK2_LIBS"; then $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -29825,9 +29920,9 @@ else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0" 2>&1` + GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0" 2>&1` else - GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0" 2>&1` + GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTK2_PKG_ERRORS" >&5 @@ -30503,21 +30598,10 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then - if test "x$cache_file" != "x/dev/null"; then + test "x$cache_file" != "x/dev/null" && { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} - if test ! -f "$cache_file" || test -h "$cache_file"; then - cat confcache >"$cache_file" - else - case $cache_file in #( - */* | ?:*) - mv -f confcache "$cache_file"$$ && - mv -f "$cache_file"$$ "$cache_file" ;; #( - *) - mv -f confcache "$cache_file" ;; - esac - fi - fi + cat confcache >$cache_file else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} @@ -30549,7 +30633,7 @@ LTLIBOBJS=$ac_ltlibobjs -: "${CONFIG_STATUS=./config.status}" +: ${CONFIG_STATUS=./config.status} ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" @@ -30650,7 +30734,6 @@ fi IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. -as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -30846,16 +30929,16 @@ if (echo >conf$$.file) 2>/dev/null; then # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -pR'. + # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -pR' + as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else - as_ln_s='cp -pR' + as_ln_s='cp -p' fi else - as_ln_s='cp -pR' + as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @@ -30915,16 +30998,28 @@ else as_mkdir_p=false fi - -# as_fn_executable_p FILE -# ----------------------- -# Test if FILE is an executable regular file. -as_fn_executable_p () -{ - test -f "$1" && test -x "$1" -} # as_fn_executable_p -as_test_x='test -x' -as_executable_p=as_fn_executable_p +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" @@ -30946,7 +31041,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # values after options handling. ac_log=" This file was extended by asterisk $as_me trunk, which was -generated by GNU Autoconf 2.69. Invocation command line was +generated by GNU Autoconf 2.67. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -31008,10 +31103,10 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ asterisk config.status trunk -configured by $0, generated by GNU Autoconf 2.69, +configured by $0, generated by GNU Autoconf 2.67, with options \\"\$ac_cs_config\\" -Copyright (C) 2012 Free Software Foundation, Inc. +Copyright (C) 2010 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -31101,7 +31196,7 @@ fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then - set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' @@ -31135,7 +31230,7 @@ do "makeopts") CONFIG_FILES="$CONFIG_FILES makeopts" ;; "channels/h323/Makefile") CONFIG_FILES="$CONFIG_FILES channels/h323/Makefile" ;; - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; esac done @@ -31157,10 +31252,9 @@ fi # after its creation but before its name has been assigned to `$tmp'. $debug || { - tmp= ac_tmp= + tmp= trap 'exit_status=$? - : "${ac_tmp:=$tmp}" - { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } @@ -31168,13 +31262,12 @@ $debug || { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -d "$tmp" + test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 -ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. @@ -31196,7 +31289,7 @@ else ac_cs_awk_cr=$ac_cr fi -echo 'BEGIN {' >"$ac_tmp/subs1.awk" && +echo 'BEGIN {' >"$tmp/subs1.awk" && _ACEOF @@ -31224,7 +31317,7 @@ done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && +cat >>"\$tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h @@ -31272,7 +31365,7 @@ t delim rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK -cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && +cat >>"\$tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" @@ -31304,7 +31397,7 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat -fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF @@ -31338,7 +31431,7 @@ fi # test -n "$CONFIG_FILES" # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then -cat >"$ac_tmp/defines.awk" <<\_ACAWK || +cat >"$tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF @@ -31350,8 +31443,8 @@ _ACEOF # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do - ac_tt=`sed -n "/$ac_delim/p" confdefs.h` - if test -z "$ac_tt"; then + ac_t=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_t"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 @@ -31452,7 +31545,7 @@ do esac case $ac_mode$ac_tag in :[FHL]*:*);; - :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac @@ -31471,7 +31564,7 @@ do for ac_f do case $ac_f in - -) ac_f="$ac_tmp/stdin";; + -) ac_f="$tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. @@ -31480,7 +31573,7 @@ do [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || - as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" @@ -31506,8 +31599,8 @@ $as_echo "$as_me: creating $ac_file" >&6;} esac case $ac_tag in - *:-:* | *:-) cat >"$ac_tmp/stdin" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + *:-:* | *:-) cat >"$tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac @@ -31637,22 +31730,21 @@ s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t $ac_datarootdir_hack " -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ - >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ - "$ac_tmp/out"`; test -z "$ac_out"; } && + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} - rm -f "$ac_tmp/stdin" + rm -f "$tmp/stdin" case $ac_file in - -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; - *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + -) cat "$tmp/out" && rm -f "$tmp/out";; + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; @@ -31663,20 +31755,20 @@ which seems to be undefined. Please make sure it is defined" >&2;} if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" - } >"$ac_tmp/config.h" \ + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" + } >"$tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" - mv "$ac_tmp/config.h" "$ac_file" \ + mv "$tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi ;; diff --git a/configure.ac b/configure.ac index 6680062877..4df9dc3e61 100644 --- a/configure.ac +++ b/configure.ac @@ -427,6 +427,7 @@ AST_EXT_LIB_SETUP([OPENR2], [MFR2], [openr2]) AST_EXT_LIB_SETUP([OSPTK], [OSP Toolkit], [osptk]) AST_EXT_LIB_SETUP([OSS], [Open Sound System], [oss]) AST_EXT_LIB_SETUP([PGSQL], [PostgreSQL], [postgres]) +AST_EXT_LIB_SETUP([PJPROJECT], [PJPROJECT], [pjproject]) AST_EXT_LIB_SETUP([POPT], [popt], [popt]) AST_EXT_LIB_SETUP([PORTAUDIO], [PortAudio], [portaudio]) AST_EXT_LIB_SETUP([PRI], [ISDN PRI], [pri]) @@ -1987,6 +1988,8 @@ if test "${PG_CONFIG}" != No; then fi fi +AST_PKG_CONFIG_CHECK([PJPROJECT], [libpjproject]) + AST_EXT_LIB_CHECK([POPT], [popt], [poptStrerror], [popt.h]) AST_EXT_LIB_CHECK([PORTAUDIO], [portaudio], [Pa_GetDeviceCount], [portaudio.h]) diff --git a/include/asterisk/autoconfig.h.in b/include/asterisk/autoconfig.h.in index 47a3c01824..a12f30603d 100644 --- a/include/asterisk/autoconfig.h.in +++ b/include/asterisk/autoconfig.h.in @@ -551,6 +551,9 @@ /* Define to indicate presence of the pg_encoding_to_char API. */ #undef HAVE_PGSQL_pg_encoding_to_char +/* Define if your system has the PJPROJECT libraries. */ +#undef HAVE_PJPROJECT + /* Define to 1 if your system defines IP_PKTINFO. */ #undef HAVE_PKTINFO diff --git a/makeopts.in b/makeopts.in index c0b043474b..ad42e293ff 100644 --- a/makeopts.in +++ b/makeopts.in @@ -218,6 +218,9 @@ OSS_LIB=@OSS_LIB@ @FFMPEG_LIB@ @SDL_LIB@ @SDL_IMAGE_LIB@ @X11_LIB@ PGSQL_INCLUDE=@PGSQL_INCLUDE@ PGSQL_LIB=@PGSQL_LIB@ +PJPROJECT_INCLUDE=@PJPROJECT_INCLUDE@ +PJPROJECT_LIB=@PJPROJECT_LIB@ + POPT_INCLUDE=@POPT_INCLUDE@ POPT_LIB=@POPT_LIB@ diff --git a/res/Makefile b/res/Makefile index c4692a6659..53aeeaffdf 100644 --- a/res/Makefile +++ b/res/Makefile @@ -67,26 +67,4 @@ endif ael/pval.o: ael/pval.c clean:: - @if [ -f pjproject/build.mak ]; then $(MAKE) -C pjproject realclean; fi rm -f snmp/*.o snmp/*.i ael/*.o ael/*.i ais/*.o ais/*.i - -dist-clean:: - rm -f pjproject/build.mak - -pjproject/build.mak: pjproject/aconfigure - (cd pjproject && CFLAGS="-fPIC" ./configure --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) --disable-floating-point --disable-sound --disable-oss --disable-speex-aec --disable-l16-codec --disable-gsm-codec --disable-g722-codec --disable-g7221-codec --disable-speex-codec --disable-ilbc-codec --disable-g711-codec) - -ifneq ($(findstring $(MAKECMDGOALS),all),) --include pjproject/build.mak -endif - -.PHONY: FORCE -FORCE: - -$(PJ_LIB_FILES): FORCE - $(MAKE) -C $(patsubst %/lib/,%,$(dir $@))/build/ ../lib/$(notdir $@) - -res_rtp_asterisk.o: $(PJ_LIB_FILES) -res_rtp_asterisk.o: _ASTCFLAGS+=$(PJ_CFLAGS) -res_rtp_asterisk.so: _ASTLDFLAGS+=$(PJ_LDFLAGS) -res_rtp_asterisk.so: LIBS+=$(PJ_LDLIBS) diff --git a/res/pjproject/COPYING b/res/pjproject/COPYING deleted file mode 100644 index 2cf699059d..0000000000 --- a/res/pjproject/COPYING +++ /dev/null @@ -1,352 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA - - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -Preamble -======== - -The licenses for most software are designed to take away your freedom -to share and change it. By contrast, the GNU General Public License is -intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - -When we speak of free software, we are referring to freedom, not price. -Our General Public Licenses are designed to make sure that you have -the freedom to distribute copies of free software (and charge for this -service if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs; and that you know you can do these things. - -To protect your rights, we need to make restrictions that forbid anyone -to deny you these rights or to ask you to surrender the rights. These -restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - -For example, if you distribute copies of such a program, whether gratis -or for a fee, you must give the recipients all the rights that you -have. You must make sure that they, too, receive or can get the source -code. And you must show them these terms so they know their rights. - -We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - -Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - -Finally, any free program is threatened constantly by software patents. -We wish to avoid the danger that redistributors of a free program will -individually obtain patent licenses, in effect making the program -proprietary. To prevent this, we have made it clear that any patent -must be licensed for everyone's free use or not licensed at all. - -The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - 0. This License applies to any program or other work which contains a - notice placed by the copyright holder saying it may be distributed - under the terms of this General Public License. The "Program", - below, refers to any such program or work, and a "work based on - the Program" means either the Program or any derivative work under - copyright law: that is to say, a work containing the Program or a - portion of it, either verbatim or with modifications and/or - translated into another language. (Hereinafter, translation is - included without limitation in the term "modification".) Each - licensee is addressed as "you". - - Activities other than copying, distribution and modification are - not covered by this License; they are outside its scope. The act - of running the Program is not restricted, and the output from the - Program is covered only if its contents constitute a work based on - the Program (independent of having been made by running the - Program). Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's - source code as you receive it, in any medium, provided that you - conspicuously and appropriately publish on each copy an appropriate - copyright notice and disclaimer of warranty; keep intact all the - notices that refer to this License and to the absence of any - warranty; and give any other recipients of the Program a copy of - this License along with the Program. - - You may charge a fee for the physical act of transferring a copy, - and you may at your option offer warranty protection in exchange - for a fee. - - 2. You may modify your copy or copies of the Program or any portion - of it, thus forming a work based on the Program, and copy and - distribute such modifications or work under the terms of Section 1 - above, provided that you also meet all of these conditions: - - a. You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b. You must cause any work that you distribute or publish, that - in whole or in part contains or is derived from the Program - or any part thereof, to be licensed as a whole at no charge - to all third parties under the terms of this License. - - c. If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display - an announcement including an appropriate copyright notice and - a notice that there is no warranty (or else, saying that you - provide a warranty) and that users may redistribute the - program under these conditions, and telling the user how to - view a copy of this License. (Exception: if the Program - itself is interactive but does not normally print such an - announcement, your work based on the Program is not required - to print an announcement.) - - These requirements apply to the modified work as a whole. If - identifiable sections of that work are not derived from the - Program, and can be reasonably considered independent and separate - works in themselves, then this License, and its terms, do not - apply to those sections when you distribute them as separate - works. But when you distribute the same sections as part of a - whole which is a work based on the Program, the distribution of - the whole must be on the terms of this License, whose permissions - for other licensees extend to the entire whole, and thus to each - and every part regardless of who wrote it. - - Thus, it is not the intent of this section to claim rights or - contest your rights to work written entirely by you; rather, the - intent is to exercise the right to control the distribution of - derivative or collective works based on the Program. - - In addition, mere aggregation of another work not based on the - Program with the Program (or with a work based on the Program) on - a volume of a storage or distribution medium does not bring the - other work under the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, - under Section 2) in object code or executable form under the terms - of Sections 1 and 2 above provided that you also do one of the - following: - - a. Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of - Sections 1 and 2 above on a medium customarily used for - software interchange; or, - - b. Accompany it with a written offer, valid for at least three - years, to give any third-party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a - medium customarily used for software interchange; or, - - c. Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with - such an offer, in accord with Subsection b above.) - - The source code for a work means the preferred form of the work for - making modifications to it. For an executable work, complete - source code means all the source code for all modules it contains, - plus any associated interface definition files, plus the scripts - used to control compilation and installation of the executable. - However, as a special exception, the source code distributed need - not include anything that is normally distributed (in either - source or binary form) with the major components (compiler, - kernel, and so on) of the operating system on which the executable - runs, unless that component itself accompanies the executable. - - If distribution of executable or object code is made by offering - access to copy from a designated place, then offering equivalent - access to copy the source code from the same place counts as - distribution of the source code, even though third parties are not - compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program - except as expressly provided under this License. Any attempt - otherwise to copy, modify, sublicense or distribute the Program is - void, and will automatically terminate your rights under this - License. However, parties who have received copies, or rights, - from you under this License will not have their licenses - terminated so long as such parties remain in full compliance. - - 5. You are not required to accept this License, since you have not - signed it. However, nothing else grants you permission to modify - or distribute the Program or its derivative works. These actions - are prohibited by law if you do not accept this License. - Therefore, by modifying or distributing the Program (or any work - based on the Program), you indicate your acceptance of this - License to do so, and all its terms and conditions for copying, - distributing or modifying the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the - Program), the recipient automatically receives a license from the - original licensor to copy, distribute or modify the Program - subject to these terms and conditions. You may not impose any - further restrictions on the recipients' exercise of the rights - granted herein. You are not responsible for enforcing compliance - by third parties to this License. - - 7. If, as a consequence of a court judgment or allegation of patent - infringement or for any other reason (not limited to patent - issues), conditions are imposed on you (whether by court order, - agreement or otherwise) that contradict the conditions of this - License, they do not excuse you from the conditions of this - License. If you cannot distribute so as to satisfy simultaneously - your obligations under this License and any other pertinent - obligations, then as a consequence you may not distribute the - Program at all. For example, if a patent license would not permit - royalty-free redistribution of the Program by all those who - receive copies directly or indirectly through you, then the only - way you could satisfy both it and this License would be to refrain - entirely from distribution of the Program. - - If any portion of this section is held invalid or unenforceable - under any particular circumstance, the balance of the section is - intended to apply and the section as a whole is intended to apply - in other circumstances. - - It is not the purpose of this section to induce you to infringe any - patents or other property right claims or to contest validity of - any such claims; this section has the sole purpose of protecting - the integrity of the free software distribution system, which is - implemented by public license practices. Many people have made - generous contributions to the wide range of software distributed - through that system in reliance on consistent application of that - system; it is up to the author/donor to decide if he or she is - willing to distribute software through any other system and a - licensee cannot impose that choice. - - This section is intended to make thoroughly clear what is believed - to be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in - certain countries either by patents or by copyrighted interfaces, - the original copyright holder who places the Program under this - License may add an explicit geographical distribution limitation - excluding those countries, so that distribution is permitted only - in or among countries not thus excluded. In such case, this - License incorporates the limitation as if written in the body of - this License. - - 9. The Free Software Foundation may publish revised and/or new - versions of the General Public License from time to time. Such - new versions will be similar in spirit to the present version, but - may differ in detail to address new problems or concerns. - - Each version is given a distinguishing version number. If the - Program specifies a version number of this License which applies - to it and "any later version", you have the option of following - the terms and conditions either of that version or of any later - version published by the Free Software Foundation. If the Program - does not specify a version number of this License, you may choose - any version ever published by the Free Software Foundation. - - 10. If you wish to incorporate parts of the Program into other free - programs whose distribution conditions are different, write to the - author to ask for permission. For software which is copyrighted - by the Free Software Foundation, write to the Free Software - Foundation; we sometimes make exceptions for this. Our decision - will be guided by the two goals of preserving the free status of - all derivatives of our free software and of promoting the sharing - and reuse of software generally. - - NO WARRANTY - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO - WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE - LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT - HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT - WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT - NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE - QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE - PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY - SERVICING, REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN - WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY - MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE - LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, - INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR - INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF - DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU - OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY - OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS -How to Apply These Terms to Your New Programs -============================================= - -If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these -terms. - -To do so, attach the following notices to the program. It is safest to -attach them to the start of each source file to most effectively convey -the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - ONE LINE TO GIVE THE PROGRAM'S NAME AND A BRIEF IDEA OF WHAT IT DOES. - Copyright (C) YYYY NAME OF AUTHOR - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) 19YY NAME OF AUTHOR - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the -appropriate parts of the General Public License. Of course, the -commands you use may be called something other than `show w' and `show -c'; they could even be mouse-clicks or menu items--whatever suits your -program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - SIGNATURE OF TY COON, 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, -you may consider it more useful to permit linking proprietary -applications with the library. If this is what you want to do, use the -GNU Library General Public License instead of this License. - diff --git a/res/pjproject/INSTALL.txt b/res/pjproject/INSTALL.txt deleted file mode 100644 index 943315fb01..0000000000 --- a/res/pjproject/INSTALL.txt +++ /dev/null @@ -1,48 +0,0 @@ -[Last update: 2007/02/18] - --= INTRO=- - -This top level projects: - - - pjlib: portability and basic framework library - - pjlib-util: lexical scanner, XML, STUN, MD5, DNS, etc. - - pjmedia: media framework and codecs - - pjsip: SIP stacks (core, UA layer, SIMPLE, etc.) - - pjsip-apps: SIP apps (pjsua, pjsip-perf) - - --= COMPILING =- - -On Windows: - - Visual Studio 6: open pjproject.dsw - - Visual Studio 8/2005: open pjproject-vs8.sln - - Embedded VisualC 4: open open pjsip-apps\build\wince-evc4\wince_demos.vcw - - Build pjsua - -With Makefile: - - on top level dir (e.g. ~/pjproject) - - ./configure && make dep && make clean && make - -Binaries will be in pjsip-apps/bin. - - --= PYTHON MODULE =- - -On Windows: - - Visual Studio 6: open pjsip-apps\build\pjsip_apps.dsw - - Build py_pjsua module - -With GNU and Python: - - cd pjsip-apps/src/py_pjsua - - python setup.py install - -One Python sample application is provided: - pjsip-apps/src/py_pjsua/pjsua_app.py - - --= PORTING =- - - - Just need to port pjlib. - - PJLIB doc has detailed info how to do this. - - Must pass pjlib-test! - diff --git a/res/pjproject/Makefile b/res/pjproject/Makefile deleted file mode 100644 index 832d6f802d..0000000000 --- a/res/pjproject/Makefile +++ /dev/null @@ -1,121 +0,0 @@ -include build.mak -include build/host-$(HOST_NAME).mak --include user.mak -include version.mak - -LIB_DIRS = pjlib/build pjlib-util/build pjnath/build #third_party/build pjmedia/build pjsip/build -DIRS = $(LIB_DIRS) #pjsip-apps/build $(EXTRA_DIRS) - -ifdef MINSIZE -MAKE_FLAGS := MINSIZE=1 -endif - -all clean dep depend distclean print realclean: - for dir in $(DIRS); do \ - if $(MAKE) $(MAKE_FLAGS) -C $$dir $@; then \ - true; \ - else \ - exit 1; \ - fi; \ - done - -lib: - for dir in $(LIB_DIRS); do \ - if $(MAKE) $(MAKE_FLAGS) -C $$dir all; then \ - true; \ - else \ - exit 1; \ - fi; \ - done; \ - - -.PHONY: lib - -doc: - @if test \( ! "$(WWWDIR)" == "" \) -a \( ! -d $(WWWDIR)/pjlib/docs/html \) ; then \ - echo 'Directory "$(WWWDIR)" does not look like a valid pjsip web directory'; \ - exit 1; \ - fi - for dir in $(DIRS); do \ - if $(MAKE) $(MAKE_FLAGS) -C $$dir $@; then \ - true; \ - else \ - exit 1; \ - fi; \ - done - -LIBS = pjlib/lib/libpj-$(TARGET_NAME).a \ - pjlib-util/lib/libpjlib-util-$(TARGET_NAME).a \ - pjnath/lib/libpjnath-$(TARGET_NAME).a \ -# pjmedia/lib/libpjmedia-$(TARGET_NAME).a \ -# pjmedia/lib/libpjmedia-audiodev-$(TARGET_NAME).a \ -# pjmedia/lib/libpjmedia-codec-$(TARGET_NAME).a \ -# pjsip/lib/libpjsip-$(TARGET_NAME).a \ -# pjsip/lib/libpjsip-ua-$(TARGET_NAME).a \ -# pjsip/lib/libpjsip-simple-$(TARGET_NAME).a \ -# pjsip/lib/libpjsua-$(TARGET_NAME).a -BINS = #pjsip-apps/bin/pjsua-$(TARGET_NAME)$(HOST_EXE) - -size: - @echo -n 'Date: ' - @date - @echo - @for lib in $(LIBS); do \ - echo "$$lib:"; \ - size -t $$lib | awk '{print $$1 "\t" $$2 "\t" $$3 "\t" $$6}'; \ - echo; \ - done - @echo - @for bin in $(BINS); do \ - echo "size $$bin:"; \ - size $$bin; \ - done - -#dos2unix: -# for f in `find . | egrep '(mak|h|c|S|s|Makefile)$$'`; do \ -# dos2unix "$$f" > dos2unix.tmp; \ -# cp dos2unix.tmp "$$f"; \ -# done -# rm -f dos2unix.tmp - -xhdrid: - for f in `find . | egrep '\.(h|c|S|s|cpp|hpp)$$'`; do \ - echo Processing $$f...; \ - cat $$f | sed 's/.*\$$Author\$$/ */' > /tmp/id; \ - cp /tmp/id $$f; \ - done - -selftest: pjlib-test pjlib-util-test pjnath-test pjmedia-test pjsip-test pjsua-test - -pjlib-test: pjlib/bin/pjlib-test-$(TARGET_NAME) - cd pjlib/build && ../bin/pjlib-test-$(TARGET_NAME) - -pjlib-util-test: pjlib-util/bin/pjlib-util-test-$(TARGET_NAME) - cd pjlib-util/build && ../bin/pjlib-util-test-$(TARGET_NAME) - -pjnath-test: pjnath/bin/pjnath-test-$(TARGET_NAME) - cd pjnath/build && ../bin/pjnath-test-$(TARGET_NAME) - -pjmedia-test: pjmedia/bin/pjmedia-test-$(TARGET_NAME) - cd pjmedia/build && ../bin/pjmedia-test-$(TARGET_NAME) - -pjsip-test: pjsip/bin/pjsip-test-$(TARGET_NAME) - cd pjsip/build && ../bin/pjsip-test-$(TARGET_NAME) - -pjsua-test: - cd tests/pjsua && python runall.py - -prefix = $(ac_prefix) - -install: - mkdir -p $(DESTDIR)$(prefix)/lib - cp -f $(APP_LIB_FILES) $(DESTDIR)$(prefix)/lib/ - mkdir -p $(DESTDIR)$(prefix)/include - for d in pjlib pjlib-util pjnath pjmedia pjsip; do \ - cp -RLf $$d/include/* $(DESTDIR)$(prefix)/include/; \ - done - mkdir -p $(DESTDIR)$(prefix)/lib/pkgconfig - sed -e "s!@PREFIX@!$(DESTDIR)$(prefix)!" libpjproject.pc.in | \ - sed -e "s/@PJ_VERSION@/$(PJ_VERSION)/" | \ - sed -e "s!@PJ_LDLIBS@!$(PJ_LDLIBS)!" | \ - sed -e "s!@PJ_INSTALL_CFLAGS@!$(PJ_INSTALL_CFLAGS)!" > $(DESTDIR)/$(prefix)/lib/pkgconfig/libpjproject.pc diff --git a/res/pjproject/README-RTEMS b/res/pjproject/README-RTEMS deleted file mode 100644 index 9132319de2..0000000000 --- a/res/pjproject/README-RTEMS +++ /dev/null @@ -1,87 +0,0 @@ - - - - Build Instructions for PJLIB/PJMEDIA/PJSIP RTEMS Port - - - -The RTEMS port uses the POSIX abstraction layer at the moment, and has been -tested with RTEMS 4.6 on i386 target. - - -Building RTEMS ---------------- -I use RTEMS 4.6 on a cygwin host with i386/pc386 as target, but I think it -should work with different RTEMS versions/hosts/targets. - -RTEMS was built with the following commands: - - $ /opt/src/rtems-4.6.6/configure --enable-cxx --enable-posix --enable-networking --enable-rdbg --enable-tests --enable-rtemsbsp=pc386 --target=i386-rtems - $ make - $ make install - - -Supported Targets ------------------ -At the moment, pjlib supports i386 and mpc860 CPU target. For other targets, -you would need to create/tweak the appropriate "m-xxx.mak" in "build" directory -and the corresponding "m_xxx.h" header file in "pj/compat" directory. - -Please refer to pjlib porting guide about how to port PJLIB to new CPU target. - - -Building PJLIB/PJMEDIA/PJSIP ----------------------------- -Use the following steps to build the libraries: - - -1. Set RTEMS_LIBRARY_PATH environment variable to point to your BSP directory - (which is /). - - For example (with sh): - - $ export RTEMS_LIBRARY_PATH=/opt/rtems-4.6/i386-rtems/pc386 - - -2. Unfortunately pjproject's configure script is unable to create "build.mak" - for cross compilation (but this may change in the future), so we need to - create "build.mak" manually. - - The file "README-configure" has some info about the variables in "build.mak". - - For example, the "build.mak" for i386 target: - - export MACHINE_NAME := i386 - export OS_NAME := rtems - export HOST_NAME := mingw - export CC_NAME := gcc - export TARGET_NAME := i386-rtems - export CROSS_COMPILE := i386-rtems- - - -3. Put additional CFLAGS or LDFLAGS that are specific to your target in - "user.mak". - - For example, my "user.mak" looks like this: - - export CFLAGS += - export LDFLAGS += -Wl,-Ttext,0x00100000 -Wl,--defsym -Wl,HeapSize=0x400000 - - -4. Build the libraries: - - $ make dep && make distclean && make - - -5. That should be it. The libraries should be in "lib" directory and - applications in "bin" directory. - - - -Acknowledgements ----------------- -Many thanks for Phil Torre , who did most of the -initial porting and testing with pjlib etc. All credits go to him. - - - diff --git a/res/pjproject/README.txt b/res/pjproject/README.txt deleted file mode 100644 index ee37911a68..0000000000 --- a/res/pjproject/README.txt +++ /dev/null @@ -1,964 +0,0 @@ - Copyright (C) 2003-2008 Benny Prijono - Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - - This program is free software: you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the Free - Software Foundation, either version 2 of the License, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License along - with this program. If not, see http://www.gnu.org/licenses/. - - -Getting Started: Building and Using PJSIP and PJMEDIA - - [Last Update: $Date$] - - Print Friendly Page - _________________________________________________________________ - - This article describes how to download, customize, build, and use the open - source PJSIP and PJMEDIA SIP and media stack. The online (and HTML) version - of this file can be downloaded from http://www.pjsip.org/using.htm - - -Quick Info - _________________________________________________________________ - - Building with GNU tools (Linux, *BSD, MacOS X, mingw, etc.) - Generally these should be all that are needed to build the libraries, - applications, and samples: - - $ ./configure - $ make dep && make clean && make - - Building Win32 Target with Microsoft Visual Studio - Generally we can just do these steps: - - 1. Visual Studio 6: open pjproject.dsw workspace, - 2. Visual Studio 2005: open pjproject-vs8.sln solution, - 3. Create an empty pjlib/include/pj/config_site.h, and - 4. build the pjsua application. - - Building for Windows Mobile - Generally these are all that are needed: - - 1. Open pjsip-apps/build/wince-evc4/wince_demos.vcw EVC4 workspace, - 2. Create an empty pjlib/include/pj/config_site.h, and - 3. build the pjsua_wince application. - - Invoking Older Build System (e.g. for RTEMS) - Generally these should be all that are needed to build the libraries, - applications, and samples: - - $ ./configure-legacy - $ make dep && make clean && make - - Locating Output Binaries/Libraries - Libraries will be put in lib directory, and binaries will be put in - bin directory, under each projects. - - Running the Applications - After successful build, you can try running pjsua application on - pjsip-apps/bin directory. PJSUA manual can be found in - http://www.pjsip.org/pjsua.htm page. - - -Table of Contents: - _________________________________________________________________ - - 1. Getting the Source Distribution - - 1.1 Getting the Release tarball - - 1.2 Getting from Subversion trunk - - 1.3 Source Directories Layout - - 2. Build Preparation - - 2.1 config_site.h file - - 2.2 Disk Space Requirements - - 3. Building Linux, *nix, *BSD, and MacOS X Targets with GNU Build - Systems - - 3.1 Supported Targets - - 3.2 Requirements - - 3.3 Running configure - - 3.4 Running make - - 3.5 Cross Compilation - - 3.6 Build Customizations - - 4. Building for Windows Targets with Microsoft Visual Studio - - 4.1 Requirements - - 4.2 Building the Projects - - 4.3 Debugging the Sample Application - - 5. Building for Windows Mobile Targets (Windows CE/WinCE/PDA/SmartPhone) - - 5.1 Requirements - - 5.2 Building the Projects - - 6. Older PJLIB Build System for Non-Autoconf Targets (e.g. RTEMS) - - 6.1 Supported Targets - - 6.2 Invoking the Build System - - 7. Running the Applications - - 7.1 pjsua - - 7.2 Sample Applications - - 7.3 pjlib-test - - 7.4 pjsip-test - - 8. Using PJPROJECT with Applications - - - Appendix I: Common Problems/Frequently Asked Question (FAQ) - - I.1 fatal error C1083: Cannot open include file: 'pj/config_site.h': - No such file or directory - - -1. Getting the Source Code Distribution - _________________________________________________________________ - - All libraries (PJLIB, PJLIB-UTIL, PJSIP, PJMEDIA, and PJMEDIA-CODEC) are - currently distributed under a single source tree, collectively named as - PJPROJECT or just PJ libraries. These libraries can be obtained by either - downloading the release tarball or getting them from the Subversion trunk. - - -1.1 Getting the Release tarball - _________________________________________________________________ - - Getting the released tarball is a convenient way to obtain stable version of - PJPROJECT. The tarball may not contain the latest features or bug-fixes, but - normally it is considered more stable as each will be tested more rigorously - before released. - - The latest released tarball can be downloaded from the - http://www.pjsip.org/download.htm. - - -1.2 Getting from Subversion trunk - _________________________________________________________________ - - PJPROJECT Subversion repository will always contain the latest/most - up-to-date version of the sources. Normally the Subversion repository is - always kept in a "good" state. However, there's always a chance that things - break and the tree doesn't build correctly (particularly for the - "not-so-popular" targets), so please consult the mailing list should there - be any problems. - - Using Subversion also has benefits of keeping the local copy of the source - up to date with the main PJ source tree and to easily track the changes made - to the local copy, if any. - - -What is Subversion - - Subversion (SVN) is Open Source version control system similar to CVS. - Subversion homepage is in http://subversion.tigris.org/ - - -Getting Subversion Client - - A Subversion (SVN) client is needed to download the PJ source files from - pjsip.org SVN tree. SVN client binaries can be downloaded from - http://subversion.tigris.org/, and the program should be available for - Windows, Linux, MacOS X, and many more platforms. - - -Getting the Source for The First Time - - Once Subversion client is installed, we can use these commands to initially - retrieve the latest sources from the Subversion trunk: - - - - $ svn co http://svn.pjproject.net/repos/pjproject/trunk pjproject - $ cd pjproject - - -Keeping The Local Copy Up-to-Date - - Once sources have been downloaded, we can keep the local copy up to date by - periodically synchronizing the local source with the latest revision from - the PJ's Subversion trunk. The mailing list provides best source of - information about the availability of new updates in the trunk. - - To update the local copy with the latest changes in the main PJ's - repository: - - - - $ cd pjproject - $ svn update - - -Tracking Local and Remote Changes - - To see what files have been changed locally: - - - - $ cd pjproject - $ svn status - - The above command only compares local file against the original local copy, - so it doesn't require Internet connection while performing the check. - - To see both what files have been changed locally and what files have been - updated in the PJ's Subversion repository: - - - - $ cd pjproject - $ svn status -u - - Note that this command requires active Internet connection to query the - status of PJPROJECT's source repository. - - -1.3 Source Directories Layout - _________________________________________________________________ - -Top-Level Directory Layout - - The top-level directories (denoted as $TOP here) in the source distribution - contains the following sub-directories: - - $TOP/build - Contains makefiles that are common for all projects. - - $TOP/pjlib - Contains header and source files of PJLIB. PJLIB is the base - portability and framework library which is used by all other - libraries - - $TOP/pjlib-util - Contains PJLIB-UTIL header and source files. PJLIB-UTIL is an - auxiliary library that contains utility functions such as scanner, - XML, STUN, MD5 algorithm, getopt() implementation, etc. - - $TOP/pjmedia - Contains PJMEDIA and PJMEDIA-CODEC header and source files. The - sources of various codecs (such as GSM, Speex, and iLBC) can be found - under this directory. - - $TOP/pjsip - Contains PJSIP header and source files. - - $TOP/pjsip-apps - Contains source code for PJSUA and various sample applications. - - -Individual Directory Inside Each Project - - Each library directory further contains these sub-directories: - - bin - Contains binaries produced by the build process. - - build - Contains build scripts/makefiles, project files, project workspace, - etc. to build the project. In particular, it contains one Makefile - file to build the project with GNU build systems, and a *.dsw - workspace file to build the library with Microsoft Visual Studio 6 or - later. - - build/output - The build/output directory contains the object files and other files - generated by the build process. To support building multiple targets - with a single source tree, each build target will occupy a different - subdirectory under this directory. - - build/wince-evc4 - This directory contains the project/workspace files to build Windows - CE/WinCE version of the project using Microsoft Embedded Visual C++ - 4. - - build/wince-evc4/output - This directory contains the library, executable, and object files - generated by Windows Mobile build process. - - docs - Contains Doxygen configuration file (doxygen.cfg) to generate online - documentation from the source files. The output documentation will be - put in this directory as well (for example, docs/html directory for - the HTML files). - - (to generate Doxygen documentation from the source tree, just run - "doxygen docs/doxygen.cfg" in the individual project directory. The - generated files will reside in docs directory). - - include - Contains the header files for the project. - - lib - Contains libraries produced by the build process. - - src - Contains the source files of the project. - - -2. Build Preparation - _________________________________________________________________ - -2.1 Create config_site.h file - _________________________________________________________________ - - Before source files can be built, the pjlib/include/pj/config_site.h file - must be created (it can just be an empty file). - - Note: - When the Makefile based build system is used, this process is taken - care by the Makefiles. But when non-Makefile based build system (such - as Visual Studio) is used, the config_site.h file must be created - manually. - - -What is config_site.h File - - The pjlib/include/pj/config_site.h contains local customizations to the - libraries. - - All customizations should be put in this file instead of modifying PJ's - files, because if PJ's files get modified, then those modified files will - not be updated the next time the source is synchronized. Or in other case, - the local modification may be overwritten with the fresh copy from the SVN. - - Putting the local customization to the config_site.h solves this problem, - because this file is not included in the version control, so it will never - be overwritten by "svn update" command. - - Please find list of configuration macros that can be overriden from these - files: - * PJLIB Configuration (the pjlib/config.h file) - * PJLIB-UTIL Configuration (the pjlib-util/config.h file) - * PJMEDIA Configuration (the pjmedia/config.h file) - * PJSIP Configuration (the pjsip/sip_config.h file) - - A sample config_site.h file is also available in - pjlib/include/config_site_sample.h. - - -Creating config_site.h file - - The simplest way is just to create an empty file, to use whetever default - values set by the libraries. - - Another way to create the config_site.h file is to write something like the - following: - - - // Uncomment to get minimum footprint (suitable for 1-2 concurrent calls - only) - //#define PJ_CONFIG_MINIMAL_SIZE - // Uncomment to get maximum performance - //#define PJ_CONFIG_MAXIMUM_SPEED - #include - - -2.2 Disk Space Requirements - _________________________________________________________________ - - The building process needs: - about 50-60 MB of disk space to store the uncompressed source files, and - * about 30-50 MB of additional space for building each target - - (Visual Studio Debug and Release are considered as separate targets) - - -3. Building Linux, *nix, *BSD, and MacOS X Targets with GNU Build Systems - _________________________________________________________________ - -3.1 Supported Targets - _________________________________________________________________ - - The new, autoconf based GNU build system can be used to build the - libraries/applications for the following targets: - * Linux/uC-Linux (i386, Opteron, Itanium, MIPS, PowerPC, etc.), - * MacOS X (PowerPC), - * mingw (i386), - * FreeBSD and maybe other BSD's (i386, Opteron, etc.), - * RTEMS with cross compilation (ARM, powerpc), - * etc. - - -3.2 Requirements - _________________________________________________________________ - - In order to use PJ's GNU build system, these typical GNU tools are needed: - * GNU make (other make will not work), - * GNU binutils for the target, and - * GNU gcc for the target. - * OpenSSL header files/libraries (optional) if TLS support is wanted. - - In addition, the appropriate "SDK" must be installed for the particular - target (this could just be a libc and the appropriate system abstraction - library such as Posix). - - The build system is known to work on the following hosts: - * Linux, many types of distributions. - * MacOS X 10.2 - * mingw (Win2K, XP) - * FreeBSD (must use gmake instead of make) - - Building Win32 applications with Cygwin is currently not supported by the - autoconf script (there is some Windows header conflicts), but one can still - use the old configure script by calling ./configure-legacy. More over, - cross-compilations might also work with Cygwin. - - -3.3 Running configure - _________________________________________________________________ - -Using Default Settings - - Run "./configure" without any options to let the script detect the - appropriate settings for the host: - - - - $ cd pjproject - $ ./configure - ... - - Notes: - The default settings build the libraries in "release" mode, with - default CFLAGS set to "-O2 -DNDEBUG". To change the default CFLAGS, - we can use the usual "./configure CFLAGS='-g'" construct. - - Features Customization - - With the new autoconf based build system, most configuration/customization - can be specified as configure arguments. The list of customizable features - can be viewed by running "./configure --help" command: - - - - $ cd pjproject - $ ./configure --help - ... - Optional Features: - --disable-floating-point Disable floating point where possible - --disable-sound Exclude sound (i.e. use null sound) - --disable-small-filter Exclude small filter in resampling - --disable-large-filter Exclude large filter in resampling - --disable-g711-plc Exclude G.711 Annex A PLC - --disable-speex-aec Exclude Speex Acoustic Echo Canceller/AEC - --disable-g711-codec Exclude G.711 codecs from the build - --disable-l16-codec Exclude Linear/L16 codec family from the build - --disable-gsm-codec Exclude GSM codec in the build - --disable-speex-codec Exclude Speex codecs in the build - --disable-ilbc-codec Exclude iLBC codec in the build - --disable-tls Force excluding TLS support (default is autodetected based on - OpenSSL availability) - ... - - Configuring Debug Version and Other Customizations - - The configure script accepts standard customization, which details can be - obtained by executing ./configure --help. - - Below is an example of specifying CFLAGS in configure: - - - - $ ./configure CFLAGS="-O3 -DNDEBUG -msoft-float -fno-builtin" - ... - - Configuring TLS Support - - By default, TLS support is configured based on the availability of OpenSSL - header files and libraries. If OpenSSL is available at the default include - and library path locations, TLS will be enabled by the configure script. - - You can explicitly disable TLS support by giving the configure script - --disable-tls option. - - - 3.4 Cross Compilation - _________________________________________________________________ - - Cross compilation should be supported, using the usual autoconf syntax: - - - - $ ./configure --host=arm-elf-linux - ... - - Since cross-compilation is not tested as often as the "normal" build, please - watch for the ./configure output for incorrect settings (well ideally this - should be done for normal build too). - - Please refer to Porting Guide for further information about porting PJ - software. - - - 3.5 Running make - _________________________________________________________________ - - Once the configure script completes successfully, start the build process by - invoking these commands: - - - - $ cd pjproject - $ make dep - $ make - - Note: - gmake may need to be specified instead of make for some hosts, to - invoke GNU make instead of the native make. - - - Description of all make targets supported by the Makefile's: - - all - The default (or first) target to build the libraries/binaries. - - dep, depend - Build dependencies rule from the source files. - - clean - Clean the object files for current target, but keep the output - library/binary files intact. - - distclean, realclean - Remove all generated files (object, libraries, binaries, and - dependency files) for current target. - - - Note: - make can be invoked either in the top-level PJ directory or in build - directory under each project to build only the particular project. - - - 3.6 Build Customizations - _________________________________________________________________ - - Build features can be customized by specifying the options when running - ./configure as described in Running Configure above. - - In addition, additional CFLAGS and LDFLAGS options can be put in user.mak - file in PJ root directory (this file may need to be created if it doesn't - exist). Below is a sample of user.mak file contents: - - - - export CFLAGS += -msoft-float -fno-builtin - export LDFLAGS += - - -4. Building for Windows Targets with Microsoft Visual Studio - _________________________________________________________________ - - 4.1 Requirements - _________________________________________________________________ - - The Microsoft Visual Studio based project files can be used with one of the - following: - - * Microsoft Visual Studio 6, - * Microsoft Visual Studio .NET 2002, - * Microsoft Visual Studio .NET 2003, - * Microsoft Visual C++ 2005 (including Express edition), - - In addition, the following SDK's are needed: - * Platform SDK, if you're using Visual Studio 2005 Express (tested with - Platform SDK for Windows Server 2003 SP1), - * DirectX SDK (tested with DirectX version 8 and 9), - * OpenSSL development kit would be needed if TLS support is wanted, or - otherwise this is optional. - - For the host, the following are required: - * Windows NT, 2000, XP, 2003, or later , - * Windows 95/98 should work too, but this has not been tested, - * Sufficient amount of RAM for the build process (at least 256MB). - - - Enabling TLS Support with OpenSSL - - If TLS support is wanted, then OpenSSL SDK must be installed in the - development host. - - To install OpenSSL SDK from the Win32 binary distribution: - 1. Install OpenSSL SDK to any folder (e.g. C:\OpenSSL) - 2. Add OpenSSL DLL location to the system PATH. - 3. Add OpenSSL include path to Visual Studio includes search directory. - Make sure that OpenSSL header files can be accessed from the program - with #include construct. - 4. Add OpenSSL library path to Visual Studio library search directory. Make - sure the following libraries are accessible: - + For Debug build: libeay32MTd and ssleay32MTd. - + For Release build: libeay32MT and ssleay32MT. - - Then to enable TLS transport support in PJSIP, just add - - #define PJSIP_HAS_TLS_TRANSPORT 1 - - in your pj/config_site.h. When this macro is defined, OpenSSL libraries will - be automatically linked to the application via the #pragma construct in - sip_transport_tls_ossl.c file. - - - 4.2 Building the Projects - _________________________________________________________________ - - Follow the steps below to build the libraries/application using Visual - Studio: - 1. For Visual Studio 6: open pjproject.dsw workspace file. - 2. For Visual Studio 8 (VS 2005): open pjproject-vs8.sln solution file. - 3. Set pjsua as Active Project. - 4. Select Debug or Release build as appropriate. - 5. Build the project. This will build pjsua application and all libraries - needed by pjsua. - 6. After successful build, the pjsua application will be placed in - pjsip-apps/bin directory, and the libraries in lib directory under each - projects. - - To build the samples: - 1. (Still using the same workspace) - 2. Set samples project as Active Project - 3. Select Debug or Release build as appropriate. - 4. Build the project. This will build all sample applications and all - libraries needed. - 5. After successful build, the sample applications will be placed in - pjsip-apps/bin/samples directory, and the libraries in lib directory - under each projects. - - 4.3 Debugging the Sample Application - _________________________________________________________________ - - The sample applications are build using Samples.mak makefile, therefore it - is difficult to setup debugging session in Visual Studio for these - applications. To solve this issue, the pjsip_apps workspace contain one - project called sample_debug which can be used to debug the sample - application. - - To setup debugging using sample_debug project: - 1. (Still using pjsip_apps workspace) - 2. Set sample_debug project as Active Project - 3. Edit debug.c file inside this project. - 4. Modify the #include line to include the particular sample application to - debug - 5. Select Debug build. - 6. Build and debug the project. - - -5. Building for Windows Mobile Targets (Windows CE/WinCE/PDA/SmartPhone) - _________________________________________________________________ - - PJ supports building SIP and media stacks and applications for Windows - Mobile targets. A very simple WinCE SIP user agent (with media) application - is provided just as proof of concept that the port works. - - 5.1 Requirements - _________________________________________________________________ - - One of the following development tools is needed to build SIP and media - components for Windows Mobile: - * Microsoft Embedded Visual C++ 4 with appropriate SDKs, or - * Microsoft Visual Studio 2005 for Windows Mobile with appropriate SDKs. - - Note that VS2005 is not directly supported (as I don't have the tools), but - it is reported to work (I assumed that VS2005 for Windows Mobile can import - EVC4 workspace file). - - 5.2 Building the Projects - _________________________________________________________________ - - The Windows Mobile port is included in the main source distribution. Please - follow the following steps to build the WinCE libraries and sample - application: - 1. Open pjsip-apps/build/wince-evc4/wince_demos.vcw workspace file. If - later version of EVC4 is being used, this may cause the workspace file - to be converted to the appropriate format. - 2. Select pjsua_wince project as the Active Project. - 3. Select the appropriate SDK (for example Pocket PC 2003 SDK or SmartPhone - 2003 SDK) - 4. Select the appropriate configuration (for example, Win32 (WCE Emulator - Debug) to debug the program in emulator, or other configurations such as - ARMV4, MIPS, SH3, SH4, or whatever suitable for the device) - 5. Select the appropriate device (Emulator or the actual Device). - 6. Build the project. This will build the sample WinCE application and all - libraries (SIP, Media, etc.) needed by this application. - - Notes - - + If the config_site.h includes config_site_sample.h file, then - there are certain configuration in config_site_sample.h that get - activated for Windows CE targets. Please make sure that these - configurations are suitable for the application. - + The libraries, binaries and object files produced by the build - process are located under build/wince-evc4/output directory of each - projects. - - -6. Older PJLIB Build System for Non-Autoconf Targets (e.g. RTEMS) - _________________________________________________________________ - - The old PJLIB build system can still be used for building PJ libraries, for - example for RTEMS target. Please see the Porting PJLIB page in PJLIB - Reference documentation for information on how to support new target using - this build system. - - 6.1 Supported Targets - _________________________________________________________________ - - The older build system supports building PJ libraries for the following - operating systems: - * RTEMS - * Linux - * MacOS X - * Cygwin and Mingw - - And it supports the following target architectures: - * i386, x86_64, itanium - * ARM - * mips - * powerpc - * mpc860 - * etc. - - For other targets, specific files need to be added to the build system, - please see the Porting PJLIB page in PJLIB Reference documentation for - details. - - 6.2 Invoking the Build System - _________________________________________________________________ - - To invoke the older build system, run the following: - - - - $ cd pjproject - $ ./configure-legacy - $ make dep && make clean && make - - - -7. Running the Applications - _________________________________________________________________ - - Upon successful build, the output libraries (PJLIB, PJLIB-UTIL, PJMEDIA, - PJSIP, etc.) are put under ./lib sub-directory under each project directory. - In addition, some applications may also be built, and such applications will - be put in ./bin sub-directory under each project directory. - - - 7.1 pjsua - _________________________________________________________________ - - pjsua is the reference implementation for both PJSIP and PJMEDIA stack, and - is the main target of the build system. Upon successful build, pjsua - application will be put in pjsip-apps/bin directory. - - pjsua manual can be found in pjsua Manual Page. - - - 7.2 Sample Applications - _________________________________________________________________ - - Sample applications will be built with the Makefile build system. For Visual - Studio, you have to build the samples manually by selecting and building the - Samples project inside pjsip-apps/build/pjsip_apps.dsw project workspace. - - Upon successful build, the sample applications are put in - pjsip-apps/bin/samples directory. - - The sample applications are described in PJMEDIA Samples Page and - PJSIP Samples Page in the website. - - - 7.3 pjlib-test - _________________________________________________________________ - - pjlib-test contains comprehensive tests for testing PJLIB functionality. - This application will only be built when the Makefile build system is used; - with Visual Studio, one has to open pjlib.dsw project in pjlib/build - directory to build this application. - - If you're porting PJLIB to new target, it is recommended to run this - application to make sure that all functionalities works as expected. - - - 7.4 pjsip-test - _________________________________________________________________ - - pjsip-test contains codes for testing various SIP functionalities in PJSIP - and also to benchmark static performance metrics such as message parsing per - second. - - - -8. Using PJPROJECT with Applications - _________________________________________________________________ - - Regardless of the build system being used, the following tasks are normally - needed to be done in order to build application to use PJSIP and PJMEDIA: - 1. Put these include directories in the include search path: - + pjlib/include - + pjlib-util/include - + pjmedia/include - + pjsip/include - 2. Put these library directories in the library search path: - + pjlib/lib - + pjlib-util/lib - + pjmedia/lib - + pjsip/lib - 3. Include the relevant PJ header files in the application source file. For - example, using these would include ALL APIs exported by PJ: - - #include - #include - #include - #include - #include - #include - #include - #include - (Note: the documentation of the relevant libraries should say which - header files should be included to get the declaration of the APIs). - 4. Declare the OS macros. - + For Windows applications built with Visual Studio, we need to - declare PJ_WIN32=1 macro in the project settings (declaring the - macro in the source file may not be sufficient). - + For Windows Mobile applications build with Visual C++, we need to - declare PJ_WIN32_WINCE=1 macro in the project settings. - + For GNU build system/autoconf based build system, we need to - declare PJ_AUTOCONF=1 macro when compiling the applications. - (Note: the old PJ build system requires declaring the target processor - with PJ_M_XXX=1 macro, but this has been made obsolete. The target - processor will be detected from compiler's predefined macro by - pjlib/config.h file). - 5. Link with the appropriate PJ libraries. The following libraries will - need to be included in the library link specifications: - - pjlib - Base library used by all libraries. - - pjlib-util - Auxiliary library containing scanner, XML, STUN, MD5, getopt, - etc, used by the SIP and media stack. - - pjsip - SIP core stack library. - - pjsip-ua - SIP user agent library containing INVITE session, call - transfer, client registration, etc. - - pjsip-simple - SIP SIMPLE library for base event framework, presence, instant - messaging, etc. - - pjsua - High level SIP UA library, combining SIP and media stack into - high-level easy to use API. - - pjmedia - The media framework. - - pjmedia-codec - Container library for various codecs such as GSM, Speex, and - iLBC. - - - Note: the actual library names will be appended with the target name and the - build configuration. For example: - - For Visual Studio builds - The actual library names will look like - pjlib-i386-win32-vc6-debug.lib, - pjlib-i386-win32-vc6-release.lib, etc., depending on whether we - are building the Debug or Release version of the library. - - An easier way to link with the libraries is to include PJ - project files in the workspace, and to configure project - dependencies so that the application depends on the PJ - libraries. This way, we don't need to manually add each PJ - libraries to the input library file specification, since VS - will automatically link the dependency libraries with the - application. - - For Windows Mobile builds - Unfortunately the PJ libraries built for Windows Mobile will - not be placed in the usual lib directory, but rather under the - output directory under build/wince-evc4 project directory. - - An easier way to link with the libraries is to include PJ - project files in the workspace, and to configure project - dependencies so that the application depends on the PJ - libraries. This way, we don't need to manually add each PJ - libraries to the input library file specification, since VS - will automatically link the dependency libraries with the - application. - - For GNU builds - Application's Makefile can get the PJ library suffix by - including PJ's build.mak file from the root PJ directory (the - suffix is contained in TARGET_NAME variable). For example, to - link with PJLIB and PJMEDIA, we can use this syntax in the - LDFLAGS: "-lpj-$(TARGET_NAME) -lpjmedia-$(TARGET_NAME)" - - - 6. Link with system spesific libraries: - - Windows - Add (among other things): wsock32.lib, ws2_32.lib, ole32.lib, - dsound.lib - - Linux, *nix, *BSD - Add (among other things): '-lpthread -lm' (at least). - - MacOS X - Add (among other things): '-framework CoreAudio -lpthread -lm'. - - -Appendix I: Common Problems/Frequently Asked Question (FAQ) - _________________________________________________________________ - - I.1 fatal error C1083: Cannot open include file: 'pj/config_site.h': No such - file or directory - - This error normally occurs when the config_site.h file has not been created. - This file needs to be created manually (an empty file is sufficient). Please - follow the Build Preparation instructions above to create this file. - - - - - - - - - _________________________________________________________________ - - Feedback: - Thanks for using PJ libraries and for reading this document. Please - send feedbacks or general comments to . - diff --git a/res/pjproject/aconfigure b/res/pjproject/aconfigure deleted file mode 100755 index 749ebf018c..0000000000 --- a/res/pjproject/aconfigure +++ /dev/null @@ -1,8590 +0,0 @@ -#! /bin/sh -# Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.65 for pjproject 2.x. -# -# -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# -# -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi - - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in #(( - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break - done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -if test "x$CONFIG_SHELL" = x; then - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. - alias -g '\${1+\"\$@\"}'='\"\$@\"' - setopt NO_GLOB_SUBST -else - case \`(set -o) 2>/dev/null\` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi -" - as_required="as_fn_return () { (exit \$1); } -as_fn_success () { as_fn_return 0; } -as_fn_failure () { as_fn_return 1; } -as_fn_ret_success () { return 0; } -as_fn_ret_failure () { return 1; } - -exitcode=0 -as_fn_success || { exitcode=1; echo as_fn_success failed.; } -as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } -as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } -as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } -if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : - -else - exitcode=1; echo positional parameters were not saved. -fi -test x\$exitcode = x0 || exit 1" - as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO - as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO - eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && - test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 -test \$(( 1 + 1 )) = 2 || exit 1" - if (eval "$as_required") 2>/dev/null; then : - as_have_required=yes -else - as_have_required=no -fi - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : - -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -as_found=false -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - as_found=: - case $as_dir in #( - /*) - for as_base in sh bash ksh sh5; do - # Try only shells that exist, to save several forks. - as_shell=$as_dir/$as_base - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : - CONFIG_SHELL=$as_shell as_have_required=yes - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : - break 2 -fi -fi - done;; - esac - as_found=false -done -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : - CONFIG_SHELL=$SHELL as_have_required=yes -fi; } -IFS=$as_save_IFS - - - if test "x$CONFIG_SHELL" != x; then : - # We cannot yet assume a decent shell, so we have to provide a - # neutralization value for shells without unset; and this also - # works around shells that cannot unset nonexistent variables. - BASH_ENV=/dev/null - ENV=/dev/null - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} -fi - - if test x$as_have_required = xno; then : - $as_echo "$0: This script requires a shell more modern than all" - $as_echo "$0: the shells that I found on your system." - if test x${ZSH_VERSION+set} = xset ; then - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" - $as_echo "$0: be upgraded to zsh 4.3.4 or later." - else - $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, -$0: including any error possibly output before this -$0: message. Then install a modern shell, or manually run -$0: the script under such a shell if you do have one." - fi - exit 1 -fi -fi -fi -SHELL=${CONFIG_SHELL-/bin/sh} -export SHELL -# Unset more variables known to interfere with behavior of common tools. -CLICOLOR_FORCE= GREP_OPTIONS= -unset CLICOLOR_FORCE GREP_OPTIONS - -## --------------------- ## -## M4sh Shell Functions. ## -## --------------------- ## -# as_fn_unset VAR -# --------------- -# Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset - -# as_fn_set_status STATUS -# ----------------------- -# Set $? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} # as_fn_set_status - -# as_fn_exit STATUS -# ----------------- -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} # as_fn_exit - -# as_fn_mkdir_p -# ------------- -# Create "$as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" - - -} # as_fn_mkdir_p -# as_fn_append VAR VALUE -# ---------------------- -# Append the text in VALUE to the end of the definition contained in VAR. Take -# advantage of any shell optimizations that allow amortized linear growth over -# repeated appends, instead of the typical quadratic growth present in naive -# implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' -else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -# as_fn_arith ARG... -# ------------------ -# Perform arithmetic evaluation on the ARGs, and store the result in the -# global $as_val. Take advantage of shells that can avoid forks. The arguments -# must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' -else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -# as_fn_error ERROR [LINENO LOG_FD] -# --------------------------------- -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with status $?, using 1 if that was 0. -as_fn_error () -{ - as_status=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 - fi - $as_echo "$as_me: error: $1" >&2 - as_fn_exit $as_status -} # as_fn_error - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - - - as_lineno_1=$LINENO as_lineno_1a=$LINENO - as_lineno_2=$LINENO as_lineno_2a=$LINENO - eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && - test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { - # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in #((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -test -n "$DJDIR" || exec 7<&0 &1 - -# Name of the host. -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` - -# -# Initializations. -# -ac_default_prefix=/usr/local -ac_clean_files= -ac_config_libobj_dir=. -LIBOBJS= -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= - -# Identity of this package. -PACKAGE_NAME='pjproject' -PACKAGE_TARNAME='pjproject' -PACKAGE_VERSION='2.x' -PACKAGE_STRING='pjproject 2.x' -PACKAGE_BUGREPORT='' -PACKAGE_URL='' - -# Factoring default headers for most tests. -ac_includes_default="\ -#include -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_STAT_H -# include -#endif -#ifdef STDC_HEADERS -# include -# include -#else -# ifdef HAVE_STDLIB_H -# include -# endif -#endif -#ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include -# endif -# include -#endif -#ifdef HAVE_STRINGS_H -# include -#endif -#ifdef HAVE_INTTYPES_H -# include -#endif -#ifdef HAVE_STDINT_H -# include -#endif -#ifdef HAVE_UNISTD_H -# include -#endif" - -ac_subst_vars='LTLIBOBJS -LIBOBJS -ac_main_obj -ac_host -ac_linux_poll -ac_cross_compile -opencore_amrnb_present -opencore_amrnb_h_present -ac_no_opencore_amrnb -libcrypto_present -libssl_present -openssl_h_present -ac_no_ssl -ac_v4l2_ldflags -ac_v4l2_cflags -PKG_CONFIG -SAVED_PKG_CONFIG_PATH -ac_ffmpeg_ldflags -ac_ffmpeg_cflags -ac_has_ffmpeg -ac_sdl_ldflags -ac_sdl_cflags -ac_resample_dll -ac_no_ilbc_codec -ac_no_speex_codec -ac_no_g7221_codec -ac_no_g722_codec -ac_no_gsm_codec -ac_no_l16_codec -ac_no_g711_codec -ac_no_speex_aec -ac_no_large_filter -ac_no_small_filter -ac_qt_cflags -ac_pjmedia_video_has_qt -ac_ios_cflags -ac_pjmedia_video_has_ios -ac_pjmedia_video -ac_pa_use_oss -ac_pa_use_alsa -ac_pa_cflags -ac_external_pa -ac_pjmedia_snd -ac_external_gsm -ac_external_speex -ac_os_objs -EGREP -GREP -CPP -ac_shlib_suffix -ac_build_mak_vars -ac_pjdir -CC_CFLAGS -CC_OPTIMIZE -CC_DEF -CC_INC -CC_OUT -LIBEXT2 -LIBEXT -LDOUT -LD -AR_FLAGS -ac_ct_AR -AR -RANLIB -ac_ct_CXX -CXXFLAGS -CXX -OBJEXT -EXEEXT -ac_ct_CC -CPPFLAGS -LDFLAGS -CFLAGS -CC -target_os -target_vendor -target_cpu -target -host_os -host_vendor -host_cpu -host -build_os -build_vendor -build_cpu -build -target_alias -host_alias -build_alias -LIBS -ECHO_T -ECHO_N -ECHO_C -DEFS -mandir -localedir -libdir -psdir -pdfdir -dvidir -htmldir -infodir -docdir -oldincludedir -includedir -localstatedir -sharedstatedir -sysconfdir -datadir -datarootdir -libexecdir -sbindir -bindir -program_transform_name -prefix -exec_prefix -PACKAGE_URL -PACKAGE_BUGREPORT -PACKAGE_STRING -PACKAGE_VERSION -PACKAGE_TARNAME -PACKAGE_NAME -PATH_SEPARATOR -SHELL' -ac_subst_files='' -ac_user_opts=' -enable_option_checking -enable_floating_point -enable_epoll -with_external_speex -with_external_gsm -enable_sound -with_external_pa -enable_oss -enable_video -enable_ext_sound -enable_small_filter -enable_large_filter -enable_speex_aec -enable_g711_codec -enable_l16_codec -enable_gsm_codec -enable_g722_codec -enable_g7221_codec -enable_speex_codec -enable_ilbc_codec -enable_libsamplerate -enable_resample_dll -with_sdl -enable_sdl -enable_ffmpeg -with_ffmpeg -enable_v4l2 -enable_ipp -with_ipp -with_ipp_samples -with_ipp_arch -enable_ssl -enable_opencore_amrnb -' - ac_precious_vars='build_alias -host_alias -target_alias -CC -CFLAGS -LDFLAGS -LIBS -CPPFLAGS -CXX -CXXFLAGS -CCC -CPP' - - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -ac_unrecognized_opts= -ac_unrecognized_sep= -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -# (The list follows the same order as the GNU Coding Standards.) -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datarootdir='${prefix}/share' -datadir='${datarootdir}' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -includedir='${prefix}/include' -oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' -infodir='${datarootdir}/info' -htmldir='${docdir}' -dvidir='${docdir}' -pdfdir='${docdir}' -psdir='${docdir}' -libdir='${exec_prefix}/lib' -localedir='${datarootdir}/locale' -mandir='${datarootdir}/man' - -ac_prev= -ac_dashdash= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval $ac_prev=\$ac_option - ac_prev= - continue - fi - - case $ac_option in - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *) ac_optarg=yes ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_dashdash$ac_option in - --) - ac_dashdash=yes ;; - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=*) - datadir=$ac_optarg ;; - - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ - | --dataroo | --dataro | --datar) - ac_prev=datarootdir ;; - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) - datarootdir=$ac_optarg ;; - - -disable-* | --disable-*) - ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid feature name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=no ;; - - -docdir | --docdir | --docdi | --doc | --do) - ac_prev=docdir ;; - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) - docdir=$ac_optarg ;; - - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) - ac_prev=dvidir ;; - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) - dvidir=$ac_optarg ;; - - -enable-* | --enable-*) - ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid feature name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=\$ac_optarg ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) - ac_prev=htmldir ;; - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ - | --ht=*) - htmldir=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localedir | --localedir | --localedi | --localed | --locale) - ac_prev=localedir ;; - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) - localedir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst | --locals) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) - ac_prev=pdfdir ;; - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) - pdfdir=$ac_optarg ;; - - -psdir | --psdir | --psdi | --psd | --ps) - ac_prev=psdir ;; - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) - psdir=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid package name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=\$ac_optarg ;; - - -without-* | --without-*) - ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid package name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=no ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; - - -*) as_fn_error "unrecognized option: \`$ac_option' -Try \`$0 --help' for more information." - ;; - - *=*) - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` - # Reject names that are not valid shell variable names. - case $ac_envvar in #( - '' | [0-9]* | *[!_$as_cr_alnum]* ) - as_fn_error "invalid variable name: \`$ac_envvar'" ;; - esac - eval $ac_envvar=\$ac_optarg - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - as_fn_error "missing argument to $ac_option" -fi - -if test -n "$ac_unrecognized_opts"; then - case $enable_option_checking in - no) ;; - fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; - esac -fi - -# Check all directory arguments for consistency. -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ - datadir sysconfdir sharedstatedir localstatedir includedir \ - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir -do - eval ac_val=\$$ac_var - # Remove trailing slashes. - case $ac_val in - */ ) - ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` - eval $ac_var=\$ac_val;; - esac - # Be sure to have absolute directory names. - case $ac_val in - [\\/$]* | ?:[\\/]* ) continue;; - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; - esac - as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -if test "x$host_alias" != x; then - if test "x$build_alias" = x; then - cross_compiling=maybe - $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used." >&2 - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -ac_pwd=`pwd` && test -n "$ac_pwd" && -ac_ls_di=`ls -di .` && -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - as_fn_error "working directory cannot be determined" -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - as_fn_error "pwd does not report name of working directory" - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then the parent directory. - ac_confdir=`$as_dirname -- "$as_myself" || -$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_myself" : 'X\(//\)[^/]' \| \ - X"$as_myself" : 'X\(//\)$' \| \ - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r "$srcdir/$ac_unique_file"; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r "$srcdir/$ac_unique_file"; then - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" -fi -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" -ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" - pwd)` -# When building in place, set srcdir=. -if test "$ac_abs_confdir" = "$ac_pwd"; then - srcdir=. -fi -# Remove unnecessary trailing slashes from srcdir. -# Double slashes in file names in object file debugging info -# mess up M-x gdb in Emacs. -case $srcdir in -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -esac -for ac_var in $ac_precious_vars; do - eval ac_env_${ac_var}_set=\${${ac_var}+set} - eval ac_env_${ac_var}_value=\$${ac_var} - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} - eval ac_cv_env_${ac_var}_value=\$${ac_var} -done - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures pjproject 2.x to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=VALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --help=short display options specific to this package - --help=recursive display the short help of all the included packages - -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking...' messages - --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=config.cache' - -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or \`..'] - -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [PREFIX] - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] - --infodir=DIR info documentation [DATAROOTDIR/info] - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] - --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject] - --htmldir=DIR html documentation [DOCDIR] - --dvidir=DIR dvi documentation [DOCDIR] - --pdfdir=DIR pdf documentation [DOCDIR] - --psdir=DIR ps documentation [DOCDIR] -_ACEOF - - cat <<\_ACEOF - -System types: - --build=BUILD configure for building on BUILD [guessed] - --host=HOST cross-compile to build programs to run on HOST [BUILD] - --target=TARGET configure for building compilers for TARGET [HOST] -_ACEOF -fi - -if test -n "$ac_init_help"; then - case $ac_init_help in - short | recursive ) echo "Configuration of pjproject 2.x:";; - esac - cat <<\_ACEOF - -Optional Features: - --disable-option-checking ignore unrecognized --enable/--with options - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --disable-floating-point - Disable floating point where possible - --enable-epoll Use /dev/epoll ioqueue on Linux (experimental) - --disable-sound Exclude sound (i.e. use null sound) - --disable-oss Disable OSS audio (default: not disabled) - --disable-video Disable video feature - --enable-ext-sound PJMEDIA will not provide any sound device backend - --disable-small-filter Exclude small filter in resampling - --disable-large-filter Exclude large filter in resampling - --disable-speex-aec Exclude Speex Acoustic Echo Canceller/AEC - --disable-g711-codec Exclude G.711 codecs from the build - --disable-l16-codec Exclude Linear/L16 codec family from the build - --disable-gsm-codec Exclude GSM codec in the build - --disable-g722-codec Exclude G.722 codec in the build - --disable-g7221-codec Exclude G.7221 codec in the build - --disable-speex-codec Exclude Speex codecs in the build - --disable-ilbc-codec Exclude iLBC codec in the build - --enable-libsamplerate Link with libsamplerate when available. Note that - PJMEDIA_RESAMPLE_IMP must also be configured - --enable-resample-dll Build libresample as shared library - --disable-sdl Disable SDL (default: not disabled) - --disable-ffmpeg Disable ffmpeg (default: not disabled) - --disable-v4l2 Disable Video4Linux2 (default: not disabled) - --enable-ipp Enable Intel IPP support. Specify the Intel IPP - package and samples location using IPPROOT and - IPPSAMPLES env var or with --with-ipp and - --with-ipp-samples options - --disable-ssl Exclude SSL support the build (default: autodetect) - - --disable-opencore-amrnb - Exclude OpenCORE AMR-NB support from the build - (default: autodetect) - - -Optional Packages: - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-external-speex Use external Speex development files, not the one in - "third_party" directory. When this option is set, - make sure that Speex is accessible to use (hint: use - CFLAGS and LDFLAGS env var to set the include/lib - paths) - --with-external-gsm Use external GSM codec library, not the one in - "third_party" directory. When this option is set, - make sure that the GSM include/lib files are - accessible to use (hint: use CFLAGS and LDFLAGS env - var to set the include/lib paths) - --with-external-pa Use external PortAudio development files, not the - one in "third_party" directory. When this option is - set, make sure that PortAudio is accessible to use - (hint: use CFLAGS and LDFLAGS env var to set the - include/lib paths) - --with-sdl=DIR Specify alternate libSDL prefix - --with-ffmpeg=DIR Specify alternate FFMPEG prefix - --with-ipp=DIR Specify the Intel IPP location - --with-ipp-samples=DIR Specify the Intel IPP samples location - --with-ipp-arch=ARCH Specify the Intel IPP ARCH suffix, e.g. "64" or - "em64t. Default is blank for IA32" - -Some influential environment variables: - CC C compiler command - CFLAGS C compiler flags - LDFLAGS linker flags, e.g. -L if you have libraries in a - nonstandard directory - LIBS libraries to pass to the linker, e.g. -l - CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if - you have headers in a nonstandard directory - CXX C++ compiler command - CXXFLAGS C++ compiler flags - CPP C preprocessor - -Use these variables to override the choices made by `configure' or to help -it to find libraries and programs with nonstandard names/locations. - -Report bugs to the package provider. -_ACEOF -ac_status=$? -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || - continue - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=recursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done -fi - -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -pjproject configure 2.x -generated by GNU Autoconf 2.65 - -Copyright (C) 2009 Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -_ACEOF - exit -fi - -## ------------------------ ## -## Autoconf initialization. ## -## ------------------------ ## - -# ac_fn_c_try_compile LINENO -# -------------------------- -# Try to compile conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext - if { { ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} # ac_fn_c_try_compile - -# ac_fn_cxx_try_compile LINENO -# ---------------------------- -# Try to compile conftest.$ac_ext, and return whether this succeeded. -ac_fn_cxx_try_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext - if { { ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} # ac_fn_cxx_try_compile - -# ac_fn_c_try_link LINENO -# ----------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_link () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information - # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would - # interfere with the next link command; also delete a directory that is - # left behind by Apple's compiler. We do this before executing the actions. - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} # ac_fn_c_try_link - -# ac_fn_c_try_run LINENO -# ---------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -# that executables *can* be run. -ac_fn_c_try_run () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then : - ac_retval=0 -else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=$ac_status -fi - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} # ac_fn_c_try_run - -# ac_fn_c_try_cpp LINENO -# ---------------------- -# Try to preprocess conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_cpp () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} # ac_fn_c_try_cpp - -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} # ac_fn_c_check_header_compile - -# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists, giving a warning if it cannot be compiled using -# the include files in INCLUDES and setting the cache variable VAR -# accordingly. -ac_fn_c_check_header_mongrel () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 -$as_echo_n "checking $2 usability... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_header_compiler=yes -else - ac_header_compiler=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <$2> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - ac_header_preproc=yes -else - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( - yes:no: ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; - no:yes:* ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; -esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=\$ac_header_compiler" -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} # ac_fn_c_check_header_mongrel - -# ac_fn_c_check_func LINENO FUNC VAR -# ---------------------------------- -# Tests whether FUNC exists, setting the cache variable VAR accordingly -ac_fn_c_check_func () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -/* Define $2 to an innocuous variant, in case declares $2. - For example, HP-UX 11i declares gettimeofday. */ -#define $2 innocuous_$2 - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $2 - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char $2 (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_$2 || defined __stub___$2 -choke me -#endif - -int -main () -{ -return $2 (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} # ac_fn_c_check_func -cat >config.log <<_ACEOF -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by pjproject $as_me 2.x, which was -generated by GNU Autoconf 2.65. Invocation command line was - - $ $0 $@ - -_ACEOF -exec 5>>config.log -{ -cat <<_ASUNAME -## --------- ## -## Platform. ## -## --------- ## - -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` - -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` - -_ASUNAME - -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - $as_echo "PATH: $as_dir" - done -IFS=$as_save_IFS - -} >&5 - -cat >&5 <<_ACEOF - - -## ----------- ## -## Core tests. ## -## ----------- ## - -_ACEOF - - -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Strip out --silent because we don't want to record it for future runs. -# Also quote any args containing shell meta-characters. -# Make two passes to allow for proper duplicate-argument suppression. -ac_configure_args= -ac_configure_args0= -ac_configure_args1= -ac_must_keep_next=false -for ac_pass in 1 2 -do - for ac_arg - do - case $ac_arg in - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - continue ;; - *\'*) - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case $ac_pass in - 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; - 2) - as_fn_append ac_configure_args1 " '$ac_arg'" - if test $ac_must_keep_next = true; then - ac_must_keep_next=false # Got value, back to normal. - else - case $ac_arg in - *=* | --config-cache | -C | -disable-* | --disable-* \ - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ - | -with-* | --with-* | -without-* | --without-* | --x) - case "$ac_configure_args0 " in - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; - esac - ;; - -* ) ac_must_keep_next=true ;; - esac - fi - as_fn_append ac_configure_args " '$ac_arg'" - ;; - esac - done -done -{ ac_configure_args0=; unset ac_configure_args0;} -{ ac_configure_args1=; unset ac_configure_args1;} - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Use '\'' to represent an apostrophe within the trap. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -trap 'exit_status=$? - # Save into config.log some information that might help in debugging. - { - echo - - cat <<\_ASBOX -## ---------------- ## -## Cache variables. ## -## ---------------- ## -_ASBOX - echo - # The following way of writing the cache mishandles newlines in values, -( - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - (set) 2>&1 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - sed -n \ - "s/'\''/'\''\\\\'\'''\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" - ;; #( - *) - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) - echo - - cat <<\_ASBOX -## ----------------- ## -## Output variables. ## -## ----------------- ## -_ASBOX - echo - for ac_var in $ac_subst_vars - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - - if test -n "$ac_subst_files"; then - cat <<\_ASBOX -## ------------------- ## -## File substitutions. ## -## ------------------- ## -_ASBOX - echo - for ac_var in $ac_subst_files - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - fi - - if test -s confdefs.h; then - cat <<\_ASBOX -## ----------- ## -## confdefs.h. ## -## ----------- ## -_ASBOX - echo - cat confdefs.h - echo - fi - test "$ac_signal" != 0 && - $as_echo "$as_me: caught signal $ac_signal" - $as_echo "$as_me: exit $exit_status" - } >&5 - rm -f core *.core core.conftest.* && - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && - exit $exit_status -' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal -done -ac_signal=0 - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -f -r conftest* confdefs.h - -$as_echo "/* confdefs.h */" > confdefs.h - -# Predefined preprocessor variables. - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_URL "$PACKAGE_URL" -_ACEOF - - -# Let the site file select an alternate cache file if it wants to. -# Prefer an explicitly selected file to automatically selected ones. -ac_site_file1=NONE -ac_site_file2=NONE -if test -n "$CONFIG_SITE"; then - ac_site_file1=$CONFIG_SITE -elif test "x$prefix" != xNONE; then - ac_site_file1=$prefix/share/config.site - ac_site_file2=$prefix/etc/config.site -else - ac_site_file1=$ac_default_prefix/share/config.site - ac_site_file2=$ac_default_prefix/etc/config.site -fi -for ac_site_file in "$ac_site_file1" "$ac_site_file2" -do - test "x$ac_site_file" = xNONE && continue - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 -$as_echo "$as_me: loading site script $ac_site_file" >&6;} - sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special files - # actually), so we avoid doing that. DJGPP emulates it as a regular file. - if test /dev/null != "$cache_file" && test -f "$cache_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -$as_echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . "$cache_file";; - *) . "./$cache_file";; - esac - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -$as_echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=false -for ac_var in $ac_precious_vars; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val=\$ac_cv_env_${ac_var}_value - eval ac_new_val=\$ac_env_${ac_var}_value - case $ac_old_set,$ac_new_set in - set,) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,set) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,);; - *) - if test "x$ac_old_val" != "x$ac_new_val"; then - # differences in whitespace do not lead to failure. - ac_old_val_w=`echo x $ac_old_val` - ac_new_val_w=`echo x $ac_new_val` - if test "$ac_old_val_w" != "$ac_new_val_w"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - ac_cache_corrupted=: - else - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} - eval $ac_var=\$ac_old_val - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" = set; then - case $ac_new_val in - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; - *) ac_arg=$ac_var=$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) as_fn_append ac_configure_args " '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} - as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 -fi -## -------------------- ## -## Main body of script. ## -## -------------------- ## - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - -host_orig="$host" - -ac_aux_dir= -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do - for ac_t in install-sh install.sh shtool; do - if test -f "$ac_dir/$ac_t"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/$ac_t -c" - break 2 - fi - done -done -if test -z "$ac_aux_dir"; then - as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - -# Make sure we can run config.sub. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 -$as_echo_n "checking build system type... " >&6; } -if test "${ac_cv_build+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_build_alias=$build_alias -test "x$ac_build_alias" = x && - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` -test "x$ac_build_alias" = x && - as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -$as_echo "$ac_cv_build" >&6; } -case $ac_cv_build in -*-*-*) ;; -*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; -esac -build=$ac_cv_build -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_build -shift -build_cpu=$1 -build_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -build_os=$* -IFS=$ac_save_IFS -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 -$as_echo_n "checking host system type... " >&6; } -if test "${ac_cv_host+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test "x$host_alias" = x; then - ac_cv_host=$ac_cv_build -else - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || - as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 -$as_echo "$ac_cv_host" >&6; } -case $ac_cv_host in -*-*-*) ;; -*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; -esac -host=$ac_cv_host -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_host -shift -host_cpu=$1 -host_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -host_os=$* -IFS=$ac_save_IFS -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 -$as_echo_n "checking target system type... " >&6; } -if test "${ac_cv_target+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test "x$target_alias" = x; then - ac_cv_target=$ac_cv_host -else - ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || - as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 -$as_echo "$ac_cv_target" >&6; } -case $ac_cv_target in -*-*-*) ;; -*) as_fn_error "invalid value of canonical target" "$LINENO" 5;; -esac -target=$ac_cv_target -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_target -shift -target_cpu=$1 -target_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -target_os=$* -IFS=$ac_save_IFS -case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac - - -# The aliases save the names the user supplied, while $host etc. -# will get canonicalized. -test -n "$target_alias" && - test "$program_prefix$program_suffix$program_transform_name" = \ - NONENONEs,x,x, && - program_prefix=${target_alias}- -ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h pjlib/include/pj/compat/m_auto.h pjmedia/include/pjmedia/config_auto.h pjmedia/include/pjmedia-codec/config_auto.h pjsip/include/pjsip/sip_autoconf.h" - -ac_config_files="$ac_config_files build.mak build/os-auto.mak build/cc-auto.mak pjlib/build/os-auto.mak pjlib-util/build/os-auto.mak pjmedia/build/os-auto.mak pjsip/build/os-auto.mak third_party/build/os-auto.mak third_party/build/portaudio/os-auto.mak" - - - -if test "$CFLAGS" = ""; then - CFLAGS="-O2" -else - CFLAGS="$CFLAGS" -fi - -CXXFLAGS="$CFLAGS $CXXFLAGS" - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "no acceptable C compiler found in \$PATH -See \`config.log' for more details." "$LINENO" 5; } - -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 - fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done - -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` - -# The possible output files: -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" - -ac_rmfiles= -for ac_file in $ac_files -do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - * ) ac_rmfiles="$ac_rmfiles $ac_file";; - esac -done -rm -f $ac_rmfiles - -if { { ac_try="$ac_link_default" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link_default") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -# in a Makefile. We should not override ac_cv_exeext if it was cached, -# so that the user can short-circuit this test for compilers unknown to -# Autoconf. -for ac_file in $ac_files '' -do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) - ;; - [ab].out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; - then :; else - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - fi - # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' - # argument, so we may need to know it at that point already. - # Even if this section looks crufty: it has the advantage of - # actually working. - break;; - * ) - break;; - esac -done -test "$ac_cv_exeext" = no && ac_cv_exeext= - -else - ac_file='' -fi -if test -z "$ac_file"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ as_fn_set_status 77 -as_fn_error "C compiler cannot create executables -See \`config.log' for more details." "$LINENO" 5; }; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -ac_exeext=$ac_cv_exeext - -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } -if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. -for ac_file in conftest.exe conftest conftest.*; do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - break;; - * ) break;; - esac -done -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." "$LINENO" 5; } -fi -rm -f conftest conftest$ac_cv_exeext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -$as_echo "$ac_cv_exeext" >&6; } - -rm -f conftest.$ac_ext -EXEEXT=$ac_cv_exeext -ac_exeext=$EXEEXT -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -FILE *f = fopen ("conftest.out", "w"); - return ferror (f) || fclose (f) != 0; - - ; - return 0; -} -_ACEOF -ac_clean_files="$ac_clean_files conftest.out" -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } -if test "$cross_compiling" != yes; then - { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - if { ac_try='./conftest$ac_cv_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." "$LINENO" 5; } - fi - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } - -rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 -$as_echo_n "checking for suffix of object files... " >&6; } -if test "${ac_cv_objext+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -if { { ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - for ac_file in conftest.o conftest.obj conftest.*; do - test -f "$ac_file" || continue; - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot compute suffix of object files: cannot compile -See \`config.log' for more details." "$LINENO" 5; } -fi -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -fi -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -else - CFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#include -#include -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_c89=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" != xno; then : - -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -if test -z "$CXX"; then - if test -n "$CCC"; then - CXX=$CCC - else - if test -n "$ac_tool_prefix"; then - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CXX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CXX"; then - ac_cv_prog_CXX="$CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CXX=$ac_cv_prog_CXX -if test -n "$CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -$as_echo "$CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CXX" && break - done -fi -if test -z "$CXX"; then - ac_ct_CXX=$CXX - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CXX"; then - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CXX="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX -if test -n "$ac_ct_CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -$as_echo "$ac_ct_CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CXX" && break -done - - if test "x$ac_ct_CXX" = x; then - CXX="g++" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CXX=$ac_ct_CXX - fi -fi - - fi -fi -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 - fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 -$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 -$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GXX=yes -else - GXX= -fi -ac_test_CXXFLAGS=${CXXFLAGS+set} -ac_save_CXXFLAGS=$CXXFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 -$as_echo_n "checking whether $CXX accepts -g... " >&6; } -if test "${ac_cv_prog_cxx_g+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_save_cxx_werror_flag=$ac_cxx_werror_flag - ac_cxx_werror_flag=yes - ac_cv_prog_cxx_g=no - CXXFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes -else - CXXFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - -else - ac_cxx_werror_flag=$ac_save_cxx_werror_flag - CXXFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cxx_werror_flag=$ac_save_cxx_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 -$as_echo "$ac_cv_prog_cxx_g" >&6; } -if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS=$ac_save_CXXFLAGS -elif test $ac_cv_prog_cxx_g = yes; then - if test "$GXX" = yes; then - CXXFLAGS="-g -O2" - else - CXXFLAGS="-g" - fi -else - if test "$GXX" = yes; then - CXXFLAGS="-O2" - else - CXXFLAGS= - fi -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_RANLIB+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -RANLIB=$ac_cv_prog_RANLIB -if test -n "$RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -$as_echo "$RANLIB" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_RANLIB"; then - ac_ct_RANLIB=$RANLIB - # Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_RANLIB"; then - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_RANLIB="ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB -if test -n "$ac_ct_RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -$as_echo "$ac_ct_RANLIB" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_RANLIB" = x; then - RANLIB=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - RANLIB=$ac_ct_RANLIB - fi -else - RANLIB="$ac_cv_prog_RANLIB" -fi - -if test -n "$ac_tool_prefix"; then - for ac_prog in ar gar - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AR+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AR"; then - ac_cv_prog_AR="$AR" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AR="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AR=$ac_cv_prog_AR -if test -n "$AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -$as_echo "$AR" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AR" && break - done -fi -if test -z "$AR"; then - ac_ct_AR=$AR - for ac_prog in ar gar -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AR"; then - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_AR="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_AR=$ac_cv_prog_ac_ct_AR -if test -n "$ac_ct_AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -$as_echo "$ac_ct_AR" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_AR" && break -done - - if test "x$ac_ct_AR" = x; then - AR=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - AR=$ac_ct_AR - fi -fi - - -if test "$AR_FLAGS" = ""; then AR_FLAGS="rv"; fi - -if test "$LD" = ""; then LD="$CC"; fi - -if test "$LDOUT" = ""; then LDOUT="-o "; fi - -if test "$OBJEXT" = ""; then OBJEXT='o'; fi - -if test "$LIBEXT" = ""; then LIBEXT='a'; fi - -if test "$LIBEXT2" = ""; then LIBEXT2=""; fi - -if test "$CC_OUT" = ""; then CC_OUT="-o "; fi - -if test "$CC_INC" = ""; then CC_INC="-I"; fi - -if test "$CC_DEF" = ""; then CC_DEF="-D"; fi - -if test "$CC_OPTIMIZE" = ""; then CC_OPTIMIZE="-O2"; fi - -if test "$CC_CFLAGS" = ""; then CC_CFLAGS="-Wall"; fi - - - - - - - -case $host in - *mingw* | *cygw* | *win32* | *w32* ) - if pwd -W 2&> /dev/null; then - ac_pjdir=`pwd -W` - else - # We're probably cross-compiling mingw on Linux - ac_pjdir=`pwd` - fi - ;; - *) - ac_pjdir=`pwd` - ;; -esac - - -case $target in - *mingw* | *cygw* | *win32* | *w32* ) - ac_shlib_suffix=dll - ;; - *darwin*) - ac_shlib_suffix=dylib - ;; - *) - ac_shlib_suffix=so - ;; -esac - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 -$as_echo_n "checking for pthread_create in -lpthread... " >&6; } -if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lpthread $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char pthread_create (); -int -main () -{ -return pthread_create (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_pthread_pthread_create=yes -else - ac_cv_lib_pthread_pthread_create=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 -$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } -if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBPTHREAD 1 -_ACEOF - - LIBS="-lpthread $LIBS" - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 -$as_echo_n "checking for puts in -lwsock32... " >&6; } -if test "${ac_cv_lib_wsock32_puts+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lwsock32 $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char puts (); -int -main () -{ -return puts (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_wsock32_puts=yes -else - ac_cv_lib_wsock32_puts=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 -$as_echo "$ac_cv_lib_wsock32_puts" >&6; } -if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBWSOCK32 1 -_ACEOF - - LIBS="-lwsock32 $LIBS" - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 -$as_echo_n "checking for puts in -lws2_32... " >&6; } -if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lws2_32 $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char puts (); -int -main () -{ -return puts (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_ws2_32_puts=yes -else - ac_cv_lib_ws2_32_puts=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 -$as_echo "$ac_cv_lib_ws2_32_puts" >&6; } -if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBWS2_32 1 -_ACEOF - - LIBS="-lws2_32 $LIBS" - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 -$as_echo_n "checking for puts in -lole32... " >&6; } -if test "${ac_cv_lib_ole32_puts+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lole32 $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char puts (); -int -main () -{ -return puts (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_ole32_puts=yes -else - ac_cv_lib_ole32_puts=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 -$as_echo "$ac_cv_lib_ole32_puts" >&6; } -if test "x$ac_cv_lib_ole32_puts" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBOLE32 1 -_ACEOF - - LIBS="-lole32 $LIBS" - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 -$as_echo_n "checking for puts in -lwinmm... " >&6; } -if test "${ac_cv_lib_winmm_puts+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lwinmm $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char puts (); -int -main () -{ -return puts (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_winmm_puts=yes -else - ac_cv_lib_winmm_puts=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 -$as_echo "$ac_cv_lib_winmm_puts" >&6; } -if test "x$ac_cv_lib_winmm_puts" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBWINMM 1 -_ACEOF - - LIBS="-lwinmm $LIBS" - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 -$as_echo_n "checking for puts in -lsocket... " >&6; } -if test "${ac_cv_lib_socket_puts+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsocket $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char puts (); -int -main () -{ -return puts (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_socket_puts=yes -else - ac_cv_lib_socket_puts=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 -$as_echo "$ac_cv_lib_socket_puts" >&6; } -if test "x$ac_cv_lib_socket_puts" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBSOCKET 1 -_ACEOF - - LIBS="-lsocket $LIBS" - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 -$as_echo_n "checking for puts in -lrt... " >&6; } -if test "${ac_cv_lib_rt_puts+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lrt $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char puts (); -int -main () -{ -return puts (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_rt_puts=yes -else - ac_cv_lib_rt_puts=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 -$as_echo "$ac_cv_lib_rt_puts" >&6; } -if test "x$ac_cv_lib_rt_puts" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBRT 1 -_ACEOF - - LIBS="-lrt $LIBS" - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 -$as_echo_n "checking for puts in -lnsl... " >&6; } -if test "${ac_cv_lib_nsl_puts+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lnsl $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char puts (); -int -main () -{ -return puts (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_nsl_puts=yes -else - ac_cv_lib_nsl_puts=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 -$as_echo "$ac_cv_lib_nsl_puts" >&6; } -if test "x$ac_cv_lib_nsl_puts" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBNSL 1 -_ACEOF - - LIBS="-lnsl $LIBS" - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 -$as_echo_n "checking for sin in -lm... " >&6; } -if test "${ac_cv_lib_m_sin+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lm $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char sin (); -int -main () -{ -return sin (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_m_sin=yes -else - ac_cv_lib_m_sin=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 -$as_echo "$ac_cv_lib_m_sin" >&6; } -if test "x$ac_cv_lib_m_sin" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBM 1 -_ACEOF - - LIBS="-lm $LIBS" - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 -$as_echo_n "checking for uuid_generate in -luuid... " >&6; } -if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-luuid $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char uuid_generate (); -int -main () -{ -return uuid_generate (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_uuid_uuid_generate=yes -else - ac_cv_lib_uuid_uuid_generate=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 -$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } -if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBUUID 1 -_ACEOF - - LIBS="-luuid $LIBS" - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 -$as_echo_n "checking for uuid_generate in -luuid... " >&6; } -if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-luuid $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char uuid_generate (); -int -main () -{ -return uuid_generate (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_uuid_uuid_generate=yes -else - ac_cv_lib_uuid_uuid_generate=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 -$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } -if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : - ac_has_uuid_lib=1 -fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 -$as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } -cat >>confdefs.h <<_ACEOF -#define PJ_M_NAME "$target_cpu" -_ACEOF - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 -$as_echo_n "checking memory alignment... " >&6; } -case $target in - sparc64-* | ia64-* | x86_64-* ) - $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 -$as_echo "8 bytes" >&6; } - ;; - * ) - $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 -$as_echo "4 bytes (default)" >&6; } - ;; -esac - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -$as_echo "$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." "$LINENO" 5; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if test "${ac_cv_path_GREP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$GREP"; then - ac_path_GREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue -# Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP="$ac_path_GREP" - ac_path_GREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_GREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_GREP"; then - as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_GREP=$GREP -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -$as_echo "$ac_cv_path_GREP" >&6; } - GREP="$ac_cv_path_GREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if test "${ac_cv_path_EGREP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 - then ac_cv_path_EGREP="$GREP -E" - else - if test -z "$EGREP"; then - ac_path_EGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue -# Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP="$ac_path_EGREP" - ac_path_EGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_EGREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_EGREP"; then - as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_EGREP=$EGREP -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } - EGREP="$ac_cv_path_EGREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#include -#include - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_header_stdc=yes -else - ac_cv_header_stdc=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then : - : -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - -else - ac_cv_header_stdc=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -$as_echo "#define STDC_HEADERS 1" >>confdefs.h - -fi - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -" -eval as_val=\$$as_ac_Header - if test "x$as_val" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 -$as_echo_n "checking whether byte ordering is bigendian... " >&6; } -if test "${ac_cv_c_bigendian+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_c_bigendian=unknown - # See if we're dealing with a universal compiler. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifndef __APPLE_CC__ - not a universal capable compiler - #endif - typedef int dummy; - -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - - # Check for potential -arch flags. It is not universal unless - # there are at least two -arch flags with different values. - ac_arch= - ac_prev= - for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do - if test -n "$ac_prev"; then - case $ac_word in - i?86 | x86_64 | ppc | ppc64) - if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then - ac_arch=$ac_word - else - ac_cv_c_bigendian=universal - break - fi - ;; - esac - ac_prev= - elif test "x$ac_word" = "x-arch"; then - ac_prev=arch - fi - done -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - if test $ac_cv_c_bigendian = unknown; then - # See if sys/param.h defines the BYTE_ORDER macro. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include - -int -main () -{ -#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ - && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ - && LITTLE_ENDIAN) - bogus endian macros - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - # It does; now see whether it defined to BIG_ENDIAN or not. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include - -int -main () -{ -#if BYTE_ORDER != BIG_ENDIAN - not big endian - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_c_bigendian=yes -else - ac_cv_c_bigendian=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - if test $ac_cv_c_bigendian = unknown; then - # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -int -main () -{ -#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) - bogus endian macros - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - # It does; now see whether it defined to _BIG_ENDIAN or not. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -int -main () -{ -#ifndef _BIG_ENDIAN - not big endian - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_c_bigendian=yes -else - ac_cv_c_bigendian=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - if test $ac_cv_c_bigendian = unknown; then - # Compile a test program. - if test "$cross_compiling" = yes; then : - # Try to guess by grepping values from an object file. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -short int ascii_mm[] = - { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; - short int ascii_ii[] = - { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; - int use_ascii (int i) { - return ascii_mm[i] + ascii_ii[i]; - } - short int ebcdic_ii[] = - { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; - short int ebcdic_mm[] = - { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; - int use_ebcdic (int i) { - return ebcdic_mm[i] + ebcdic_ii[i]; - } - extern int foo; - -int -main () -{ -return use_ascii (foo) == use_ebcdic (foo); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then - ac_cv_c_bigendian=yes - fi - if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then - if test "$ac_cv_c_bigendian" = unknown; then - ac_cv_c_bigendian=no - else - # finding both strings is unlikely to happen, but who knows? - ac_cv_c_bigendian=unknown - fi - fi -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ - - /* Are we little or big endian? From Harbison&Steele. */ - union - { - long int l; - char c[sizeof (long int)]; - } u; - u.l = 1; - return u.c[sizeof (long int) - 1] == 1; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - ac_cv_c_bigendian=no -else - ac_cv_c_bigendian=yes -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 -$as_echo "$ac_cv_c_bigendian" >&6; } - case $ac_cv_c_bigendian in #( - yes) - $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h -;; #( - no) - ;; #( - universal) - -$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h - - ;; #( - *) - as_fn_error "unknown endianness - presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; - esac - - -if test "x$ac_cv_c_bigendian" = "xyes"; then - CFLAGS="$CFLAGS -DPJ_IS_BIG_ENDIAN=1 -DPJ_IS_LITTLE_ENDIAN=0" -else - CFLAGS="$CFLAGS -DPJ_IS_BIG_ENDIAN=0 -DPJ_IS_LITTLE_ENDIAN=1" -fi - -case $target in - *mingw* | *cygw* | *win32* | *w32* ) - $as_echo "#define PJ_WIN32 1" >>confdefs.h - - $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h - - $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h - - ;; - *darwin*) - $as_echo "#define PJ_DARWINOS 1" >>confdefs.h - - ;; - *linux*) - $as_echo "#define PJ_LINUX 1" >>confdefs.h - - ;; - *rtems*) - $as_echo "#define PJ_RTEMS 1" >>confdefs.h - - ;; - *sunos* | *solaris* ) - $as_echo "#define PJ_SUNOS 1" >>confdefs.h - - ;; - *) - ;; -esac - - - - -# Check whether --enable-floating-point was given. -if test "${enable_floating_point+set}" = set; then : - enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then - $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 -$as_echo "Checking if floating point is disabled... yes" >&6; } - fi -else - - $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 -$as_echo "Checking if floating point is disabled... no" >&6; } - -fi - - - -ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" -if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : - $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" -if test "x$ac_cv_header_assert_h" = x""yes; then : - $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" -if test "x$ac_cv_header_ctype_h" = x""yes; then : - $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h - -fi - - - -case $target in - *mingw* | *cygw* | *win32* | *w32* ) - $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h - - ;; - *) - ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" -if test "x$ac_cv_header_errno_h" = x""yes; then : - $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h - -fi - - - ;; -esac - -ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" -if test "x$ac_cv_header_fcntl_h" = x""yes; then : - $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" -if test "x$ac_cv_header_linux_socket_h" = x""yes; then : - $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" -if test "x$ac_cv_header_limits_h" = x""yes; then : - $as_echo "#define PJ_HAS_LIMITS_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" -if test "x$ac_cv_header_malloc_h" = x""yes; then : - $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" -if test "x$ac_cv_header_netdb_h" = x""yes; then : - $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" -if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : - $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" -if test "x$ac_cv_header_netinet_in_h" = x""yes; then : - $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if PJ_HAS_SYS_TYPES_H - # include - #endif - #if PJ_HAS_NETINET_IN_SYSTM_H - # include - #endif - #if PJ_HAS_NETINET_IN_H - # include - #endif - -" -if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : - $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" -if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : - $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" -if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : - ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs" -if test "x$ac_cv_func_getifaddrs" = x""yes; then : - $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h - -fi - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" -if test "x$ac_cv_header_semaphore_h" = x""yes; then : - $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" -if test "x$ac_cv_header_setjmp_h" = x""yes; then : - $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" -if test "x$ac_cv_header_stdarg_h" = x""yes; then : - $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" -if test "x$ac_cv_header_stddef_h" = x""yes; then : - $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" -if test "x$ac_cv_header_stdio_h" = x""yes; then : - $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" -if test "x$ac_cv_header_stdint_h" = x""yes; then : - $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" -if test "x$ac_cv_header_stdlib_h" = x""yes; then : - $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" -if test "x$ac_cv_header_string_h" = x""yes; then : - $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : - $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_select_h" = x""yes; then : - $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_socket_h" = x""yes; then : - $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_time_h" = x""yes; then : - $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : - $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_types_h" = x""yes; then : - $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_filio_h" = x""yes; then : - $as_echo "#define PJ_HAS_SYS_FILIO_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_sockio_h" = x""yes; then : - $as_echo "#define PJ_HAS_SYS_SOCKIO_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_utsname_h" = x""yes; then : - $as_echo "#define PJ_HAS_SYS_UTSNAME_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" -if test "x$ac_cv_header_time_h" = x""yes; then : - $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" -if test "x$ac_cv_header_unistd_h" = x""yes; then : - $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" -if test "x$ac_cv_header_winsock_h" = x""yes; then : - $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" -if test "x$ac_cv_header_winsock2_h" = x""yes; then : - $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_compile "$LINENO" "mswsock.h" "ac_cv_header_mswsock_h" "#if PJ_HAS_WINSOCK2_H - # include - #elif PJ_HAS_WINSOCK_H - # include - #endif - -" -if test "x$ac_cv_header_mswsock_h" = x""yes; then : - $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" -if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : - $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h - -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" -if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : - ac_has_uuid_h=1 -fi - - -ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#if PJ_HAS_SYS_TYPES_H - # include - #endif - #if PJ_HAS_SYS_SOCKET_H - - # include - #endif - -" -if test "x$ac_cv_header_net_if_h" = x""yes; then : - $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h - -fi - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_OS_NAME to $target" >&5 -$as_echo "Setting PJ_OS_NAME to $target" >&6; } -cat >>confdefs.h <<_ACEOF -#define PJ_OS_NAME "$target" -_ACEOF - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 -$as_echo "Setting PJ_HAS_ERRNO_VAR to 1" >&6; } -$as_echo "#define PJ_HAS_ERRNO_VAR 1" >>confdefs.h - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 -$as_echo "Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } -$as_echo "#define PJ_HAS_HIGH_RES_TIMER 1" >>confdefs.h - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_MALLOC to 1" >&5 -$as_echo "Setting PJ_HAS_MALLOC to 1" >&6; } -$as_echo "#define PJ_HAS_MALLOC 1" >>confdefs.h - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 -$as_echo "Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } -$as_echo "#define PJ_NATIVE_STRING_IS_UNICODE 0" >>confdefs.h - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 -$as_echo "Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } -$as_echo "#define PJ_ATOMIC_VALUE_TYPE long" >>confdefs.h - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_aton() is available" >&5 -$as_echo_n "checking if inet_aton() is available... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include - #include -int -main () -{ -inet_aton(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - $as_echo "#define PJ_SOCK_HAS_INET_ATON 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton() is available" >&5 -$as_echo_n "checking if inet_pton() is available... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include - #include -int -main () -{ -inet_pton(0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - $as_echo "#define PJ_SOCK_HAS_INET_PTON 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop() is available" >&5 -$as_echo_n "checking if inet_ntop() is available... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include - #include -int -main () -{ -inet_ntop(0, 0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - $as_echo "#define PJ_SOCK_HAS_INET_NTOP 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo() is available" >&5 -$as_echo_n "checking if getaddrinfo() is available... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include - #include -int -main () -{ -getaddrinfo(0, 0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - $as_echo "#define PJ_SOCK_HAS_GETADDRINFO 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in has sin_len member" >&5 -$as_echo_n "checking if sockaddr_in has sin_len member... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include - #include - #include -int -main () -{ -struct sockaddr_in a; a.sin_len=0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - $as_echo "#define PJ_SOCKADDR_HAS_LEN 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if socklen_t is available" >&5 -$as_echo_n "checking if socklen_t is available... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include -int -main () -{ -socklen_t xxx = 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - $as_echo "#define PJ_HAS_SOCKLEN_T 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if SO_ERROR is available" >&5 -$as_echo_n "checking if SO_ERROR is available... " >&6; } -case $target in - *mingw* | *cygw* | *win32* | *w32* ) - $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - ;; - *) - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include - #include - #include -int -main () -{ -int i=SO_ERROR; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ;; -esac - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available" >&5 -$as_echo_n "checking if pthread_rwlock_t is available... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -pthread_rwlock_t *x; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h - - ac_rwmutex="yes" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h - - ac_rwmutex="no" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test "$ac_rwmutex" = "no"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 -$as_echo_n "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... " >&6; } - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#define _POSIX_READER_WRITER_LOCKS - #include -int -main () -{ -pthread_rwlock_t *x; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h - - CFLAGS="$CFLAGS -D_POSIX_THREADS -D_POSIX_READER_WRITER_LOCKS" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_settype() is available" >&5 -$as_echo_n "checking if pthread_mutexattr_settype() is available... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -pthread_mutexattr_settype(0,PTHREAD_MUTEX_FAST_NP); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - $as_echo "#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_t has recursive member" >&5 -$as_echo_n "checking if pthread_mutexattr_t has recursive member... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -pthread_mutexattr_t attr; - attr.recursive=1; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - $as_echo "#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ioqueue backend" >&5 -$as_echo_n "checking ioqueue backend... " >&6; } -# Check whether --enable-epoll was given. -if test "${enable_epoll+set}" = set; then : - enableval=$enable_epoll; - ac_os_objs=ioqueue_epoll.o - { $as_echo "$as_me:${as_lineno-$LINENO}: result: /dev/epoll" >&5 -$as_echo "/dev/epoll" >&6; } - -else - - ac_os_objs=ioqueue_select.o - { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&5 -$as_echo "select()" >&6; } - -fi - - - -case $target in - *mingw* | *cygw* | *win32* | *w32* ) - ac_os_objs="$ac_os_objs file_access_win32.o file_io_win32.o os_core_win32.o os_error_win32.o os_time_win32.o os_timestamp_win32.o guid_win32.o" - ;; - *) - ac_os_objs="$ac_os_objs file_access_unistd.o file_io_ansi.o os_core_unix.o os_error_unix.o os_time_unix.o os_timestamp_posix.o" - case $target in - arm-apple-darwin*) - ac_os_objs="$ac_os_objs os_info_iphone.o" - ;; - esac - # UUID - if test "$ac_has_uuid_lib" = "1" -a "$ac_has_uuid_h" = "1"; then - ac_os_objs="$ac_os_objs guid_uuid.o" - else - ac_os_objs="$ac_os_objs guid_simple.o" - fi - ;; -esac - -case $target in - *darwin*) - ac_os_objs="$ac_os_objs os_core_darwin.o" - ;; -esac - - -ac_external_speex=0 - - -# Check whether --with-external-speex was given. -if test "${with_external_speex+set}" = set; then : - withval=$with_external_speex; - if test "x$with_external_speex" != "xno"; then - # Test Speex installation - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external Speex devkit is installed" >&5 -$as_echo_n "checking if external Speex devkit is installed... " >&6; } - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include - -int -main () -{ -speex_echo_state_init(0, 0); speex_encoder_init(0); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 -$as_echo "yes!!" >&6; } - $as_echo "#define PJMEDIA_EXTERNAL_SPEEX_CODEC 1" >>confdefs.h - - ac_external_speex="1" - -else - as_fn_error "Unable to use external Speex library. If Speex development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - - -fi - - -ac_external_gsm=0 - - -# Check whether --with-external-gsm was given. -if test "${with_external_gsm+set}" = set; then : - withval=$with_external_gsm; - if test "x$with_external_gsm" != "xno"; then - # Test GSM library installation - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm/gsm.h" >&5 -$as_echo_n "checking if external GSM devkit is installed as gsm/gsm.h... " >&6; } - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -gsm_create(); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 -$as_echo "yes!!" >&6; } - $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h - - $as_echo "#define PJMEDIA_EXTERNAL_GSM_GSM_H 1" >>confdefs.h - - ac_external_gsm="1" - -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm.h" >&5 -$as_echo_n "checking if external GSM devkit is installed as gsm.h... " >&6; } - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -gsm_create(); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 -$as_echo "yes!!" >&6; } - $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h - - $as_echo "#define PJMEDIA_EXTERNAL_GSM_H 1" >>confdefs.h - - ac_external_gsm="1" - -else - as_fn_error "Unable to use external GSM library. If GSM development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 - - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - - -fi - - - - - -# Check whether --enable-sound was given. -if test "${enable_sound+set}" = set; then : - enableval=$enable_sound; if test "$enable_sound" = "no"; then - ac_pjmedia_snd=null - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if sound is disabled... yes" >&5 -$as_echo "Checking if sound is disabled... yes" >&6; } - fi - -fi - - -ac_external_pa=0 - - -# Check whether --with-external-pa was given. -if test "${with_external_pa+set}" = set; then : - withval=$with_external_pa; - if test "x$with_external_pa" != "xno"; then - # Test PortAudio installation - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external PortAudio devkit is installed" >&5 -$as_echo_n "checking if external PortAudio devkit is installed... " >&6; } - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -int -main () -{ -Pa_Initialize(); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 -$as_echo "yes!!" >&6; } - ac_external_pa="1" - -else - as_fn_error "Unable to use PortAudio. If PortAudio development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - - -fi - - - -ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : - ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" -if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : - ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" -fi - - -ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" -if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : - ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" -fi - - - -if test "x$ac_cv_c_bigendian" = "xyes"; then - ac_pa_cflags="$ac_pa_cflags -DPA_BIG_ENDIAN" -else - ac_pa_cflags="$ac_pa_cflags -DPA_LITTLE_ENDIAN" -fi - -if test "$enable_sound" = "no"; then - true; -else - case $target in - arm-apple-darwin*) - LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... AudioUnit" >&5 -$as_echo "Checking sound device backend... AudioUnit" >&6; } - ;; - *darwin*) - LIBS="$LIBS -framework CoreAudio -framework CoreServices -framework AudioUnit -framework AudioToolbox" - if test "`uname -r`" = "6.8"; then - #ac_pa_cflags="$ac_pa_cflags -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS" - #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) - ac_pjmedia_snd=pa_old_darwinos - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... old coreaudio" >&5 -$as_echo "Checking sound device backend... old coreaudio" >&6; } - else - ac_pjmedia_snd=pa_darwinos - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... coreaudio" >&5 -$as_echo "Checking sound device backend... coreaudio" >&6; } - fi - ;; - *cygwin* | *mingw*) - ac_pjmedia_snd=pa_win32 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... win32 sound" >&5 -$as_echo "Checking sound device backend... win32 sound" >&6; } - ;; - *rtems*) - ac_pjmedia_snd=null - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... null sound" >&5 -$as_echo "Checking sound device backend... null sound" >&6; } - ;; - *) - ac_pjmedia_snd=pa_unix - ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" -if test "x$ac_cv_header_alsa_version_h" = x""yes; then : - ac_pa_use_alsa=1 - - LIBS="$LIBS -lasound" - -else - ac_pa_use_alsa=0 - -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... unix" >&5 -$as_echo "Checking sound device backend... unix" >&6; } - - ac_pa_use_oss=1 - - # Check whether --enable-oss was given. -if test "${enable_oss+set}" = set; then : - enableval=$enable_oss; - if test "$enable_oss" = "no"; then - ac_pa_use_oss=0 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OSS audio is disabled... yes" >&5 -$as_echo "Checking if OSS audio is disabled... yes" >&6; } - fi - -fi - - ;; - esac -fi - - - -# Check whether --enable-video was given. -if test "${enable_video+set}" = set; then : - enableval=$enable_video; if test "$enable_video" = "no"; then - #AC_DEFINE(PJMEDIA_HAS_VIDEO,0) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Video is disabled" >&5 -$as_echo "Video is disabled" >&6; } - enable_sdl="no" - enable_ffmpeg="no" - enable_v4l2="no" - fi -fi - - -case $target in - arm-apple-darwin*) - LIBS="$LIBS -framework UIKit" - ;; - *darwin*) - LIBS="$LIBS -framework Foundation -framework AppKit" - ;; -esac - -if test "$enable_video" = "no"; then - true; -else - case $target in - arm-apple-darwin*) - ac_pjmedia_video=iphone_os - - - SAVED_LIBS="$LIBS" - LIBS="-framework AVFoundation -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_pjmedia_video_has_ios=yes -else - ac_pjmedia_video_has_ios=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LIBS="$SAVED_LIBS" - if test "$ac_pjmedia_video_has_ios" = "yes"; then - ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1" - LIBS="$LIBS -framework AVFoundation -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if AVFoundation framework is available... yes" >&5 -$as_echo "Checking if AVFoundation framework is available... yes" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if AVFoundation framework is available... no" >&5 -$as_echo "Checking if AVFoundation framework is available... no" >&6; } - fi - ;; - *darwin*) - ac_pjmedia_video=mac_os - - - SAVED_LIBS="$LIBS" - LIBS="-framework QTKit" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_pjmedia_video_has_qt=yes -else - ac_pjmedia_video_has_qt=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LIBS="$SAVED_LIBS" - if test "$ac_pjmedia_video_has_qt" = "yes"; then - ac_qt_cflags="-DPJMEDIA_VIDEO_DEV_HAS_QT=1" - LIBS="$LIBS -framework QTKit -framework QuartzCore -framework OpenGL" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if QTKit framework is available... yes" >&5 -$as_echo "Checking if QTKit framework is available... yes" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if QTKit framework is available... no" >&5 -$as_echo "Checking if QTKit framework is available... no" >&6; } - fi - ;; - esac -fi - -# Check whether --enable-ext_sound was given. -if test "${enable_ext_sound+set}" = set; then : - enableval=$enable_ext_sound; if test "$enable_ext_sound" = "yes"; then - ac_pjmedia_snd=external - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if external sound is set... yes" >&5 -$as_echo "Checking if external sound is set... yes" >&6; } - fi - -fi - - - -# Check whether --enable-small-filter was given. -if test "${enable_small_filter+set}" = set; then : - enableval=$enable_small_filter; if test "$enable_small_filter" = "no"; then - ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... yes" >&5 -$as_echo "Checking if small filter is disabled... yes" >&6; } - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... no" >&5 -$as_echo "Checking if small filter is disabled... no" >&6; } -fi - - - -# Check whether --enable-large-filter was given. -if test "${enable_large_filter+set}" = set; then : - enableval=$enable_large_filter; if test "$enable_large_filter" = "no"; then - ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... yes" >&5 -$as_echo "Checking if large filter is disabled... yes" >&6; } - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... no" >&5 -$as_echo "Checking if large filter is disabled... no" >&6; } -fi - - - -# Check whether --enable-speex-aec was given. -if test "${enable_speex_aec+set}" = set; then : - enableval=$enable_speex_aec; if test "$enable_speex_aec" = "no"; then - ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...yes" >&5 -$as_echo "Checking if Speex AEC is disabled...yes" >&6; } - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...no" >&5 -$as_echo "Checking if Speex AEC is disabled...no" >&6; } -fi - - - -# Check whether --enable-g711-codec was given. -if test "${enable_g711_codec+set}" = set; then : - enableval=$enable_g711_codec; if test "$enable_g711_codec" = "no"; then - ac_no_g711_codec=1 - $as_echo "#define PJMEDIA_HAS_G711_CODEC 0" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...yes" >&5 -$as_echo "Checking if G.711 codec is disabled...yes" >&6; } - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...no" >&5 -$as_echo "Checking if G.711 codec is disabled...no" >&6; } -fi - - - - -# Check whether --enable-l16-codec was given. -if test "${enable_l16_codec+set}" = set; then : - enableval=$enable_l16_codec; if test "$enable_l16_codec" = "no"; then - ac_no_l16_codec=1 - $as_echo "#define PJMEDIA_HAS_L16_CODEC 0" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codecs are disabled...yes" >&5 -$as_echo "Checking if L16 codecs are disabled...yes" >&6; } - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codec is disabled...no" >&5 -$as_echo "Checking if L16 codec is disabled...no" >&6; } -fi - - - - -# Check whether --enable-gsm-codec was given. -if test "${enable_gsm_codec+set}" = set; then : - enableval=$enable_gsm_codec; if test "$enable_gsm_codec" = "no"; then - ac_no_gsm_codec=1 - $as_echo "#define PJMEDIA_HAS_GSM_CODEC 0" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...yes" >&5 -$as_echo "Checking if GSM codec is disabled...yes" >&6; } - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...no" >&5 -$as_echo "Checking if GSM codec is disabled...no" >&6; } -fi - - - -# Check whether --enable-g722-codec was given. -if test "${enable_g722_codec+set}" = set; then : - enableval=$enable_g722_codec; if test "$enable_g722_codec" = "no"; then - ac_no_g722_codec=1 - $as_echo "#define PJMEDIA_HAS_G722_CODEC 0" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...yes" >&5 -$as_echo "Checking if G.722 codec is disabled...yes" >&6; } - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...no" >&5 -$as_echo "Checking if G.722 codec is disabled...no" >&6; } -fi - - - -# Check whether --enable-g7221-codec was given. -if test "${enable_g7221_codec+set}" = set; then : - enableval=$enable_g7221_codec; if test "$enable_g7221_codec" = "no"; then - ac_no_g7221_codec=1 - $as_echo "#define PJMEDIA_HAS_G7221_CODEC 0" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...yes" >&5 -$as_echo "Checking if G.722.1 codec is disabled...yes" >&6; } - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...no" >&5 -$as_echo "Checking if G.722.1 codec is disabled...no" >&6; } -fi - - - -# Check whether --enable-speex-codec was given. -if test "${enable_speex_codec+set}" = set; then : - enableval=$enable_speex_codec; if test "$enable_speex_codec" = "no"; then - ac_no_speex_codec=1 - $as_echo "#define PJMEDIA_HAS_SPEEX_CODEC 0" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...yes" >&5 -$as_echo "Checking if Speex codec is disabled...yes" >&6; } - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...no" >&5 -$as_echo "Checking if Speex codec is disabled...no" >&6; } -fi - - - -# Check whether --enable-ilbc-codec was given. -if test "${enable_ilbc_codec+set}" = set; then : - enableval=$enable_ilbc_codec; if test "$enable_ilbc_codec" = "no"; then - ac_no_ilbc_codec=1 - $as_echo "#define PJMEDIA_HAS_ILBC_CODEC 0" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...yes" >&5 -$as_echo "Checking if iLBC codec is disabled...yes" >&6; } - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...no" >&5 -$as_echo "Checking if iLBC codec is disabled...no" >&6; } -fi - - -# Check whether --enable-libsamplerate was given. -if test "${enable_libsamplerate+set}" = set; then : - enableval=$enable_libsamplerate; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 -$as_echo_n "checking for src_new in -lsamplerate... " >&6; } -if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsamplerate $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char src_new (); -int -main () -{ -return src_new (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_samplerate_src_new=yes -else - ac_cv_lib_samplerate_src_new=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&5 -$as_echo "$ac_cv_lib_samplerate_src_new" >&6; } -if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBSAMPLERATE 1 -_ACEOF - - LIBS="-lsamplerate $LIBS" - -fi - -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping libsamplerate detection" >&5 -$as_echo "Skipping libsamplerate detection" >&6; } - -fi - - - -# Check whether --enable-resample_dll was given. -if test "${enable_resample_dll+set}" = set; then : - enableval=$enable_resample_dll; if test "$enable_resample_dll" = "yes"; then - ac_resample_dll=1 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building libresample as shared library... yes" >&5 -$as_echo "Building libresample as shared library... yes" >&6; } - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building libresample as shared library... no" >&5 -$as_echo "Building libresample as shared library... no" >&6; } - -fi - - - -# Check whether --with-sdl was given. -if test "${with_sdl+set}" = set; then : - withval=$with_sdl; -else - with_sdl=no - -fi - - -# Check whether --enable-sdl was given. -if test "${enable_sdl+set}" = set; then : - enableval=$enable_sdl; - if test "$enable_sdl" = "no"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SDL is disabled... yes" >&5 -$as_echo "Checking if SDL is disabled... yes" >&6; } - fi - -else - - SDL_CONFIG="sdl-config" - if test "x$with_sdl" != "xno" -a "x$with_sdl" != "x"; then - SDL_CONFIG=$with_sdl/bin/sdl-config - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using SDL prefix... $with_sdl" >&5 -$as_echo "Using SDL prefix... $with_sdl" >&6; } - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDL availability.." >&5 -$as_echo_n "checking SDL availability..... " >&6; } - if (sh -c "$SDL_CONFIG --version" | grep 1.3) then - - - ac_sdl_cflags=`$SDL_CONFIG --cflags` - ac_sdl_cflags="-DPJMEDIA_VIDEO_DEV_HAS_SDL=1 $ac_sdl_cflags" - ac_sdl_ldflags=`$SDL_CONFIG --libs` - LIBS="$LIBS $ac_sdl_ldflags" - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Unsupported SDL version" >&5 -$as_echo "Unsupported SDL version" >&6; } - fi - -fi - - - -# Check whether --enable-ffmpeg was given. -if test "${enable_ffmpeg+set}" = set; then : - enableval=$enable_ffmpeg; - ac_has_ffmpeg=0 - - if test "$enable_ffmpeg" = "no"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if ffmpeg is disabled... yes" >&5 -$as_echo "Checking if ffmpeg is disabled... yes" >&6; } - fi - -else - - - - - FFMPEG_PREFIX="" - - SAVED_PKG_CONFIG_PATH=$PKG_CONFIG_PATH - if test "x$with_ffmpeg" != "xno" -a "x$with_ffmpeg" != "x"; then - FFMPEG_PREFIX=$with_ffmpeg - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using ffmpeg prefix... $FFMPEG_PREFIX" >&5 -$as_echo "Using ffmpeg prefix... $FFMPEG_PREFIX" >&6; } - export PKG_CONFIG_PATH=$FFMPEG_PREFIX/lib/pkgconfig - fi - - for ac_prog in pkg-config "python pkgconfig.py" -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$PKG_CONFIG"; then - ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_PKG_CONFIG="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -PKG_CONFIG=$ac_cv_prog_PKG_CONFIG -if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$PKG_CONFIG" && break -done -test -n "$PKG_CONFIG" || PKG_CONFIG="none" - - - if test "$PKG_CONFIG" != "none"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking ffmpeg packages" >&5 -$as_echo_n "checking ffmpeg packages... " >&6; } - av_pkg="" - if $PKG_CONFIG --exists libdevice; then - ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVDEVICE=1" - av_pkg="$av_pkg libdevice" - fi - if $PKG_CONFIG --exists libavformat; then - ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVFORMAT=1" - av_pkg="$av_pkg libavformat" - fi - if $PKG_CONFIG --exists libavcodec; then - ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCODEC=1" - av_pkg="$av_pkg libavcodec" - fi - if $PKG_CONFIG --exists libswscale; then - ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" - av_pkg="$av_pkg libswscale" - fi - if $PKG_CONFIG --exists libavutil; then - ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVUTIL=1" - av_pkg="$av_pkg libavutil" - fi - if $PKG_CONFIG --exists libavcore; then - ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCORE=1" - av_pkg="$av_pkg libavcore" - fi - - if test "x$av_pkg" == "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none detected (check the prefix)! **" >&5 -$as_echo "none detected (check the prefix)! **" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $av_pkg" >&5 -$as_echo "$av_pkg" >&6; } - fi - - ac_ffmpeg_cflags="$ac_ffmpeg_cflags `$PKG_CONFIG --cflags $av_pkg`" - ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags `$PKG_CONFIG --libs $av_pkg`" - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** Warning: neither pkg-config nor python is available, ffmpeg dependency cannot be calculated. If ffmpeg libraries are not detected, you need to specify the correct CFLAGS and LDFLAGS settings for ffmpeg prior to invoking configure ***" >&5 -$as_echo "*** Warning: neither pkg-config nor python is available, ffmpeg dependency cannot be calculated. If ffmpeg libraries are not detected, you need to specify the correct CFLAGS and LDFLAGS settings for ffmpeg prior to invoking configure ***" >&6; } - - LIBS="-L$FFMPEG_PREFIX/lib $LIBS" - LDFLAGS="-L$FFMPEG_PREFIX/lib $LDFLAGS" - CFLAGS="-I$FFMPEG_PREFIX/include $CFLAGS" - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avdevice_version in -lavdevice" >&5 -$as_echo_n "checking for avdevice_version in -lavdevice... " >&6; } -if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lavdevice $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char avdevice_version (); -int -main () -{ -return avdevice_version (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_avdevice_avdevice_version=yes -else - ac_cv_lib_avdevice_avdevice_version=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avdevice_avdevice_version" >&5 -$as_echo "$ac_cv_lib_avdevice_avdevice_version" >&6; } -if test "x$ac_cv_lib_avdevice_avdevice_version" = x""yes; then : - ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVDEVICE=1" - ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavdevice" - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_malloc in -lavutil" >&5 -$as_echo_n "checking for av_malloc in -lavutil... " >&6; } -if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lavutil $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char av_malloc (); -int -main () -{ -return av_malloc (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_avutil_av_malloc=yes -else - ac_cv_lib_avutil_av_malloc=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_malloc" >&5 -$as_echo "$ac_cv_lib_avutil_av_malloc" >&6; } -if test "x$ac_cv_lib_avutil_av_malloc" = x""yes; then : - ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVUTIL=1" - ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavutil" - - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_init in -lavcodec" >&5 -$as_echo_n "checking for avcodec_init in -lavcodec... " >&6; } -if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lavcodec -lavutil - $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char avcodec_init (); -int -main () -{ -return avcodec_init (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_avcodec_avcodec_init=yes -else - ac_cv_lib_avcodec_avcodec_init=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_init" >&5 -$as_echo "$ac_cv_lib_avcodec_avcodec_init" >&6; } -if test "x$ac_cv_lib_avcodec_avcodec_init" = x""yes; then : - ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCODEC=1" - ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcodec" - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_register_all in -lavformat" >&5 -$as_echo_n "checking for av_register_all in -lavformat... " >&6; } -if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lavformat -lavcodec -lavutil - $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char av_register_all (); -int -main () -{ -return av_register_all (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_avformat_av_register_all=yes -else - ac_cv_lib_avformat_av_register_all=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_register_all" >&5 -$as_echo "$ac_cv_lib_avformat_av_register_all" >&6; } -if test "x$ac_cv_lib_avformat_av_register_all" = x""yes; then : - ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVFORMAT=1" - ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavformat" - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sws_scale in -lswscale" >&5 -$as_echo_n "checking for sws_scale in -lswscale... " >&6; } -if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lswscale -lavutil - $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char sws_scale (); -int -main () -{ -return sws_scale (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_swscale_sws_scale=yes -else - ac_cv_lib_swscale_sws_scale=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_sws_scale" >&5 -$as_echo "$ac_cv_lib_swscale_sws_scale" >&6; } -if test "x$ac_cv_lib_swscale_sws_scale" = x""yes; then : - ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" - ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lswscale" - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcore_version in -lavcore" >&5 -$as_echo_n "checking for avcore_version in -lavcore... " >&6; } -if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lavcore $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char avcore_version (); -int -main () -{ -return avcore_version (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_avcore_avcore_version=yes -else - ac_cv_lib_avcore_avcore_version=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcore_avcore_version" >&5 -$as_echo "$ac_cv_lib_avcore_avcore_version" >&6; } -if test "x$ac_cv_lib_avcore_avcore_version" = x""yes; then : - ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCORE=1" - ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcore" - - -fi - - - fi - - LIBS="$LIBS $ac_ffmpeg_ldflags" - export PKG_CONFIG_PATH=$SAVED_PKG_CONFIG_PATH - - -fi - - - -# Check whether --with-ffmpeg was given. -if test "${with_ffmpeg+set}" = set; then : - withval=$with_ffmpeg; -else - with_ffmpeg=no - -fi - - - -# Check whether --enable-v4l2 was given. -if test "${enable_v4l2+set}" = set; then : - enableval=$enable_v4l2; - if test "$enable_v4l2" = "no"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if V4L2 is disabled... yes" >&5 -$as_echo "Checking if V4L2 is disabled... yes" >&6; } - fi - -else - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for v4l2_open in -lv4l2" >&5 -$as_echo_n "checking for v4l2_open in -lv4l2... " >&6; } -if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lv4l2 $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char v4l2_open (); -int -main () -{ -return v4l2_open (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_v4l2_v4l2_open=yes -else - ac_cv_lib_v4l2_v4l2_open=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_v4l2_v4l2_open" >&5 -$as_echo "$ac_cv_lib_v4l2_v4l2_open" >&6; } -if test "x$ac_cv_lib_v4l2_v4l2_open" = x""yes; then : - ac_v4l2_cflags="-DPJMEDIA_VIDEO_DEV_HAS_V4L2=1" - ac_v4l2_ldflags="-lv4l2" - LIBS="$LIBS -lv4l2" - - -fi - - -fi - - -# Check whether --enable-ipp was given. -if test "${enable_ipp+set}" = set; then : - enableval=$enable_ipp; -else - enable_ipp=no - -fi - - - -# Check whether --with-ipp was given. -if test "${with_ipp+set}" = set; then : - withval=$with_ipp; -else - with_ipp=no - -fi - - - -# Check whether --with-ipp-samples was given. -if test "${with_ipp_samples+set}" = set; then : - withval=$with_ipp_samples; -else - with_ipp_samples=no - -fi - - - -# Check whether --with-ipp-arch was given. -if test "${with_ipp_arch+set}" = set; then : - withval=$with_ipp_arch; -else - with_ipp_arch=no - -fi - - -if test "x$enable_ipp" != "xno"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP location" >&5 -$as_echo_n "checking Intel IPP location... " >&6; } - - if test "x$with_ipp" != "xno" -a "x$with_ipp" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp" >&5 -$as_echo "$with_ipp" >&6; } - IPPROOT=$with_ipp - elif test "x$IPPROOT" = "x"; then - if test -d /opt/intel/ipp; then - IPPROOT=`ls -d /opt/intel/ipp/*/* | head -1` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPROOT" >&5 -$as_echo "autodetected in $IPPROOT" >&6; } - fi - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPROOT" >&5 -$as_echo "$IPPROOT" >&6; } - fi - - if test "x$with_ipp_arch" != "xno"; then - IPP_SUFFIX=$with_ipp_arch - { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 -$as_echo "IPP arch suffix is set to $IPP_SUFFIX" >&6; } - else - IPP_SUFFIX="" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to empty" >&5 -$as_echo "IPP arch suffix is set to empty" >&6; } - fi - - if test x$IPPROOT = x; then - as_fn_error "the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option" "$LINENO" 5 - elif test ! -d $IPPROOT; then - as_fn_error "not found" "$LINENO" 5 - elif test ! -d $IPPROOT/include; then - as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 - else - # IPP directory looks okay. - # Remove trailing backslash - IPPROOT=`echo $IPPROOT | sed 's/\/$//'` - - SAVED_CFLAGS="$CFLAGS" - SAVED_LDFLAGS="$LDFLAGS" - SAVED_LIBS="$LIBS" - - IPP_CFLAGS="-I$IPPROOT/include" - IPP_LIBS="-lippsc${IPP_SUFFIX} -lipps${IPP_SUFFIX} -lippcore${IPP_SUFFIX}" - -# - # Some differences between Mac OS X and Linux - case $target in - *darwin* ) - IPP_LDFLAGS="-L$IPPROOT/Libraries -L$IPPROOT/lib" - ;; - *) - # Find out where the libraries live. - IPP7_ARCH="" - if test -d $IPPROOT/lib/intel64; then - IPP7_ARCH="intel64" - elif test -d $IPPROOT/lib/ia32; then - IPP7_ARCH="ia32" - elif test -d $IPPROOT/lib/mic; then - IPP7_ARCH="mic" - fi - - if test -z "$IPP7_ARCH"; then - # IPP6 (and possibly below) - IPP_LDFLAGS="-L$IPPROOT/sharedlib" - IPP_LIBS="$IPP_LIBS -lippsr${IPP_SUFFIX} -lguide" - else - # IPP7 - if ! test -d $IPPROOT/../compiler; then - as_fn_error "Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" "$LINENO" 5 - fi - IPP_CFLAGS="$IPP_CFLAGS" - IPP_LDFLAGS="-L$IPPROOT/lib/intel64 -L$IPPROOT/../compiler/lib/$IPP7_ARCH" - IPP_LIBS="$IPP_LIBS -liomp5" - fi - ;; - esac - - #IPP_LDFLAGS="-L$IPPROOT/sharedlib" - #Static: - #IPP_LIBS="-lippscmerged -lippsrmerged -lippsmerged -lippcore" - - CFLAGS="$CFLAGS $IPP_CFLAGS" - LDFLAGS="$LDFLAGS $IPP_LDFLAGS" - LIBS="$IPP_LIBS $LIBS" - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP usability" >&5 -$as_echo_n "checking Intel IPP usability... " >&6; } - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -int -main () -{ -ippStaticInit(); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 -$as_echo "ok" >&6; } -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly, run with --help for more info -See \`config.log' for more details." "$LINENO" 5; } -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - - CFLAGS="$SAVED_CFLAGS" - LDFLAGS="$SAVED_LDFLAGS" - LIBS="$SAVED_LIBS" - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP samples location" >&5 -$as_echo_n "checking Intel IPP samples location... " >&6; } - - if test "x$with_ipp_samples" != "xno" -a "x$with_ipp_samples" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp_samples" >&5 -$as_echo "$with_ipp_samples" >&6; } - IPPSAMPLES=$with_ipp_samples - elif test "x$IPPSAMPLES" = "x"; then - if test -d /opt/intel/ipp-samples; then - IPPSAMPLES=/opt/intel/ipp-samples - { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPSAMPLES" >&5 -$as_echo "autodetected in $IPPSAMPLES" >&6; } - fi - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLES" >&5 -$as_echo "$IPPSAMPLES" >&6; } - fi - - if test x$IPPSAMPLES = x; then - as_fn_error "the location is neither specified nor can be guessed. Please specify with IPPSAMPLES env var or with --with-ipp-samples option" "$LINENO" 5 - elif test ! -d $IPPSAMPLES; then - as_fn_error "not found" "$LINENO" 5 - elif test ! -d $IPPSAMPLES/speech-codecs; then - as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 - else - # Remove trailing backslash - IPPSAMPLES=`echo $IPPSAMPLES | sed 's/\/$//'` - - # Guess the libusc.a/libspeech.a build location - { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC build location" >&5 -$as_echo_n "checking Intel IPP USC build location... " >&6; } - if test -d $IPPSAMPLES/speech-codecs/bin; then - IPPVER=5 - IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/bin/*gcc*/lib | head -1` - elif test -d $IPPSAMPLES/speech-codecs/_bin; then - IPPVER=6 - if test -d $IPPSAMPLES/speech-codecs/_bin/*gcc*; then - # gcc compiler - IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib | head -1` - elif test -d $IPPSAMPLES/speech-codecs/_bin/*icc*; then - # icc compiler - IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/_bin/*icc*/lib | head -1` - else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? -See \`config.log' for more details." "$LINENO" 5; } - fi - else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? -See \`config.log' for more details." "$LINENO" 5; } - fi - - # Test the directory - if test ! -d $IPPSAMP_DIR; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "There's something wrong with this script, directory $IPPSAMP_DIR does not exist -See \`config.log' for more details." "$LINENO" 5; } - exit 1; - fi - - if test "x$IPPVER" = "x5"; then - IPPSAMP_LIBS="libusc.a" - IPPSAMP_LDLIBS="-lusc" - elif test "x$IPPVER" = "x6"; then - IPPSAMP_LIBS="libspeech.a" - IPPSAMP_LDLIBS="-lspeech" - else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "bug in this script: unsupported IPP version -See \`config.log' for more details." "$LINENO" 5; } - fi - - if test ! -f $IPPSAMP_DIR/$IPPSAMP_LIBS; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR -See \`config.log' for more details." "$LINENO" 5; } - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMP_DIR" >&5 -$as_echo "$IPPSAMP_DIR" >&6; } - - SAVED_CFLAGS="$CFLAGS" - SAVED_LDFLAGS="$LDFLAGS" - SAVED_LIBS="$LIBS" - - IPPSAMP_INC="-I$IPPSAMPLES/speech-codecs/core/usc/include" - CFLAGS="$CFLAGS $IPPSAMP_INC" - LDFLAGS="$LDFLAGS -L$IPPSAMP_DIR" - LIBS="$IPPSAMP_LDLIBS $LIBS" - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC usability" >&5 -$as_echo_n "checking Intel IPP USC usability... " >&6; } - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -int -main () -{ -extern USC_Fxns USC_G729AFP_Fxns; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 -$as_echo "ok" >&6; } -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "failed -See \`config.log' for more details." "$LINENO" 5; } -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - - CFLAGS="$SAVED_CFLAGS" - LDFLAGS="$IPP_LDFLAGS $SAVED_LDFLAGS" - LIBS="$IPP_LIBS $SAVED_LIBS" - - IPP_CFLAGS="$IPP_CFLAGS $IPPSAMP_INC" - IPP_LDFLAGS="$IPP_LDFLAGS -L$IPPSAMP_DIR" - IPP_LIBS="$IPPSAMP_LDLIBS $IPP_LIBS" - fi - - CFLAGS="$CFLAGS $IPP_CFLAGS" - LDFLAGS="$LDFLAGS $IPP_LDFLAGS" - LIBS="$LIBS $IPP_LIBS" - - ac_build_mak_vars="$ac_build_mak_vars\n\ -export IPP_CFLAGS=$IPP_CFLAGS\n\ -export IPP_LDFLAGS=$IPP_LDFLAGS\n\ -export IPP_LIBS=$IPP_LIBS" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping Intel IPP settings (not wanted)" >&5 -$as_echo "Skipping Intel IPP settings (not wanted)" >&6; } -fi - - - - -# Check whether --enable-ssl was given. -if test "${enable_ssl+set}" = set; then : - enableval=$enable_ssl; - if test "$enable_ssl" = "no"; then - ac_no_ssl=1 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SSL support is disabled... yes" >&5 -$as_echo "Checking if SSL support is disabled... yes" >&6; } - fi - -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5 -$as_echo "checking for OpenSSL installations.." >&6; } - - - - ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" -if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : - openssl_h_present=1 -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&5 -$as_echo_n "checking for ERR_load_BIO_strings in -lcrypto... " >&6; } -if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lcrypto $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char ERR_load_BIO_strings (); -int -main () -{ -return ERR_load_BIO_strings (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_crypto_ERR_load_BIO_strings=yes -else - ac_cv_lib_crypto_ERR_load_BIO_strings=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 -$as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } -if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then : - libcrypto_present=1 && LIBS="$LIBS -lcrypto" -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 -$as_echo_n "checking for SSL_library_init in -lssl... " >&6; } -if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lssl $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char SSL_library_init (); -int -main () -{ -return SSL_library_init (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_ssl_SSL_library_init=yes -else - ac_cv_lib_ssl_SSL_library_init=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 -$as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } -if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then : - libssl_present=1 && LIBS="$LIBS -lssl" -fi - - if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL library found, SSL support enabled" >&5 -$as_echo "OpenSSL library found, SSL support enabled" >&6; } - # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK - #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) - $as_echo "#define PJ_HAS_SSL_SOCK 1" >>confdefs.h - - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 -$as_echo "** OpenSSL libraries not found, disabling SSL support **" >&6; } - fi - -fi - - - -# Check whether --enable-opencore_amrnb was given. -if test "${enable_opencore_amrnb+set}" = set; then : - enableval=$enable_opencore_amrnb; - if test "$enable_opencore_amrnb" = "no"; then - ac_no_opencore_amrnb=1 - $as_echo "#define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 0" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OpenCORE AMR-NB support is disabled... yes" >&5 -$as_echo "Checking if OpenCORE AMR-NB support is disabled... yes" >&6; } - fi - -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenCORE AMR-NB installations.." >&5 -$as_echo "checking for OpenCORE AMR-NB installations.." >&6; } - - - ac_fn_c_check_header_mongrel "$LINENO" "opencore-amrnb/interf_enc.h" "ac_cv_header_opencore_amrnb_interf_enc_h" "$ac_includes_default" -if test "x$ac_cv_header_opencore_amrnb_interf_enc_h" = x""yes; then : - opencore_amrnb_h_present=1 -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Encoder_Interface_init in -lopencore-amrnb" >&5 -$as_echo_n "checking for Encoder_Interface_init in -lopencore-amrnb... " >&6; } -if test "${ac_cv_lib_opencore_amrnb_Encoder_Interface_init+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lopencore-amrnb $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char Encoder_Interface_init (); -int -main () -{ -return Encoder_Interface_init (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_opencore_amrnb_Encoder_Interface_init=yes -else - ac_cv_lib_opencore_amrnb_Encoder_Interface_init=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&5 -$as_echo "$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&6; } -if test "x$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" = x""yes; then : - opencore_amrnb_present=1 && LIBS="$LIBS -lopencore-amrnb" -fi - - if test "x$opencore_amrnb_h_present" = "x1" -a "x$opencore_amrnb_present" = "x1"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenCORE AMR-NB library found, AMR-NB support enabled" >&5 -$as_echo "OpenCORE AMR-NB library found, AMR-NB support enabled" >&6; } - $as_echo "#define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 1" >>confdefs.h - - else - ac_no_opencore_amrnb=1 - $as_echo "#define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 0" >>confdefs.h - - fi - -fi - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if select() needs correct nfds" >&5 -$as_echo_n "checking if select() needs correct nfds... " >&6; } -case $target in - *rtems*) $as_echo "#define PJ_SELECT_NEEDS_NFDS 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - ;; - *) $as_echo "#define PJ_SELECT_NEEDS_NFDS 0" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 -$as_echo "no (default)" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 -$as_echo "** Decided that select() doesn't need correct nfds (please check)" >&6; } - ;; -esac - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should enforce stack size" >&5 -$as_echo_n "checking if pj_thread_create() should enforce stack size... " >&6; } -case $target in - *rtems*) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - ;; - *) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 0" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 -$as_echo "no (default)" >&6; } - ;; -esac - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should allocate stack" >&5 -$as_echo_n "checking if pj_thread_create() should allocate stack... " >&6; } -case $target in - *rtems*) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - ;; - *) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 0" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 -$as_echo "no (default)" >&6; } - ;; -esac - -case $target in - *mingw* | *cygw* | *win32* | *w32* ) - $as_echo "#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h - - ;; - *) $as_echo "#define PJ_BLOCKING_ERROR_VAL EAGAIN" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 -$as_echo "** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } - ;; -esac - -case $target in - *mingw* | *cygw* | *win32* | *w32* ) - $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h - - ;; - *) $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 -$as_echo "** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } - ;; -esac - - - - -if test "$build" = "$host"; then - ac_cross_compile= -else - ac_cross_compile=${host_orig}- -fi -ac_linux_poll=select - -ac_host=unix - - -case $target in - *rtems*) - ac_main_obj=main_rtems.o - ;; - *) - ac_main_obj=main.o - ;; -esac - - -ac_build_mak_vars=`echo $ac_build_mak_vars | sed 's/\\\\n/\n/g'` -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes: double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \. - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file - else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -DEFS=-DHAVE_CONFIG_H - -ac_libobjs= -ac_ltlibobjs= -for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue - # 1. Remove the extension, and $U if already installed. - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR - # will be set to the directory where LIBOBJS objects are built. - as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" - as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' -done -LIBOBJS=$ac_libobjs - -LTLIBOBJS=$ac_ltlibobjs - - - - -: ${CONFIG_STATUS=./config.status} -ac_write_fail=0 -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} -as_write_fail=0 -cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -ac_cs_recheck=false -ac_cs_silent=false - -SHELL=\${CONFIG_SHELL-$SHELL} -export SHELL -_ASEOF -cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi - - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in #(( - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break - done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - - -# as_fn_error ERROR [LINENO LOG_FD] -# --------------------------------- -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with status $?, using 1 if that was 0. -as_fn_error () -{ - as_status=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 - fi - $as_echo "$as_me: error: $1" >&2 - as_fn_exit $as_status -} # as_fn_error - - -# as_fn_set_status STATUS -# ----------------------- -# Set $? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} # as_fn_set_status - -# as_fn_exit STATUS -# ----------------- -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} # as_fn_exit - -# as_fn_unset VAR -# --------------- -# Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset -# as_fn_append VAR VALUE -# ---------------------- -# Append the text in VALUE to the end of the definition contained in VAR. Take -# advantage of any shell optimizations that allow amortized linear growth over -# repeated appends, instead of the typical quadratic growth present in naive -# implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' -else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -# as_fn_arith ARG... -# ------------------ -# Perform arithmetic evaluation on the ARGs, and store the result in the -# global $as_val. Take advantage of shells that can avoid forks. The arguments -# must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' -else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in #((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - - -# as_fn_mkdir_p -# ------------- -# Create "$as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" - - -} # as_fn_mkdir_p -if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -exec 6>&1 -## ----------------------------------- ## -## Main body of $CONFIG_STATUS script. ## -## ----------------------------------- ## -_ASEOF -test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# Save the log message, to keep $0 and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. -ac_log=" -This file was extended by pjproject $as_me 2.x, which was -generated by GNU Autoconf 2.65. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -_ACEOF - -case $ac_config_files in *" -"*) set x $ac_config_files; shift; ac_config_files=$*;; -esac - -case $ac_config_headers in *" -"*) set x $ac_config_headers; shift; ac_config_headers=$*;; -esac - - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# Files that config.status was made for. -config_files="$ac_config_files" -config_headers="$ac_config_headers" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -ac_cs_usage="\ -\`$as_me' instantiates files and other configuration actions -from templates according to the current configuration. Unless the files -and actions are specified as TAGs, all are instantiated by default. - -Usage: $0 [OPTION]... [TAG]... - - -h, --help print this help, then exit - -V, --version print version number and configuration settings, then exit - --config print configuration, then exit - -q, --quiet, --silent - do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE - -Configuration files: -$config_files - -Configuration headers: -$config_headers - -Report bugs to the package provider." - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" -ac_cs_version="\\ -pjproject config.status 2.x -configured by $0, generated by GNU Autoconf 2.65, - with options \\"\$ac_cs_config\\" - -Copyright (C) 2009 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd='$ac_pwd' -srcdir='$srcdir' -test -n "\$AWK" || AWK=awk -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# The default lists apply if the user does not specify any file. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; - --config | --confi | --conf | --con | --co | --c ) - $as_echo "$ac_cs_config"; exit ;; - --debug | --debu | --deb | --de | --d | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - as_fn_append CONFIG_FILES " '$ac_optarg'" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - as_fn_append CONFIG_HEADERS " '$ac_optarg'" - ac_need_defaults=false;; - --he | --h) - # Conflict between --help and --header - as_fn_error "ambiguous option: \`$1' -Try \`$0 --help' for more information.";; - --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) as_fn_error "unrecognized option: \`$1' -Try \`$0 --help' for more information." ;; - - *) as_fn_append ac_config_targets " $1" - ac_need_defaults=false ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -if \$ac_cs_recheck; then - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion - shift - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 - CONFIG_SHELL='$SHELL' - export CONFIG_SHELL - exec "\$@" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -## Running $as_me. ## -_ASBOX - $as_echo "$ac_log" -} >&5 - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; - "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; - "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; - "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; - "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; - "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; - "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; - "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; - "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; - "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; - "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; - "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; - "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; - "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; - - *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= - trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status -' 0 - trap 'as_fn_exit 1' 1 2 13 15 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 - -# Set up the scripts for CONFIG_FILES section. -# No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. -if test -n "$CONFIG_FILES"; then - - -ac_cr=`echo X | tr X '\015'` -# On cygwin, bash can eat \r inside `` if the user requested igncr. -# But we know of no other shell where ac_cr would be empty at this -# point, so we can use a bashism as a fallback. -if test "x$ac_cr" = x; then - eval ac_cr=\$\'\\r\' -fi -ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` -if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then - ac_cs_awk_cr='\r' -else - ac_cs_awk_cr=$ac_cr -fi - -echo 'BEGIN {' >"$tmp/subs1.awk" && -_ACEOF - - -{ - echo "cat >conf$$subs.awk <<_ACEOF" && - echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && - echo "_ACEOF" -} >conf$$subs.sh || - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 -ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - . ./conf$$subs.sh || - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 - - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` - if test $ac_delim_n = $ac_delim_num; then - break - elif $ac_last_try; then - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done -rm -f conf$$subs.sh - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -cat >>"\$tmp/subs1.awk" <<\\_ACAWK && -_ACEOF -sed -n ' -h -s/^/S["/; s/!.*/"]=/ -p -g -s/^[^!]*!// -:repl -t repl -s/'"$ac_delim"'$// -t delim -:nl -h -s/\(.\{148\}\)..*/\1/ -t more1 -s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ -p -n -b repl -:more1 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t nl -:delim -h -s/\(.\{148\}\)..*/\1/ -t more2 -s/["\\]/\\&/g; s/^/"/; s/$/"/ -p -b -:more2 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t delim -' >$CONFIG_STATUS || ac_write_fail=1 -rm -f conf$$subs.awk -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -_ACAWK -cat >>"\$tmp/subs1.awk" <<_ACAWK && - for (key in S) S_is_set[key] = 1 - FS = "" - -} -{ - line = $ 0 - nfields = split(line, field, "@") - substed = 0 - len = length(field[1]) - for (i = 2; i < nfields; i++) { - key = field[i] - keylen = length(key) - if (S_is_set[key]) { - value = S[key] - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) - len += length(value) + length(field[++i]) - substed = 1 - } else - len += 1 + keylen - } - - print line -} - -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -else - cat -fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ - || as_fn_error "could not setup config files machinery" "$LINENO" 5 -_ACEOF - -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and -# trailing colons and then remove the whole line if VPATH becomes empty -# (actually we leave an empty line to preserve line numbers). -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=/{ -s/:*\$(srcdir):*/:/ -s/:*\${srcdir}:*/:/ -s/:*@srcdir@:*/:/ -s/^\([^=]*=[ ]*\):*/\1/ -s/:*$// -s/^[^=]*=[ ]*$// -}' -fi - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -fi # test -n "$CONFIG_FILES" - -# Set up the scripts for CONFIG_HEADERS section. -# No need to generate them if there are no CONFIG_HEADERS. -# This happens for instance with `./config.status Makefile'. -if test -n "$CONFIG_HEADERS"; then -cat >"$tmp/defines.awk" <<\_ACAWK || -BEGIN { -_ACEOF - -# Transform confdefs.h into an awk script `defines.awk', embedded as -# here-document in config.status, that substitutes the proper values into -# config.h.in to produce config.h. - -# Create a delimiter string that does not exist in confdefs.h, to ease -# handling of long lines. -ac_delim='%!_!# ' -for ac_last_try in false false :; do - ac_t=`sed -n "/$ac_delim/p" confdefs.h` - if test -z "$ac_t"; then - break - elif $ac_last_try; then - as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done - -# For the awk script, D is an array of macro values keyed by name, -# likewise P contains macro parameters if any. Preserve backslash -# newline sequences. - -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* -sed -n ' -s/.\{148\}/&'"$ac_delim"'/g -t rset -:rset -s/^[ ]*#[ ]*define[ ][ ]*/ / -t def -d -:def -s/\\$// -t bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3"/p -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p -d -:bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3\\\\\\n"\\/p -t cont -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p -t cont -d -:cont -n -s/.\{148\}/&'"$ac_delim"'/g -t clear -:clear -s/\\$// -t bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/"/p -d -:bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p -b cont -' >$CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - for (key in D) D_is_set[key] = 1 - FS = "" -} -/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { - line = \$ 0 - split(line, arg, " ") - if (arg[1] == "#") { - defundef = arg[2] - mac1 = arg[3] - } else { - defundef = substr(arg[1], 2) - mac1 = arg[2] - } - split(mac1, mac2, "(") #) - macro = mac2[1] - prefix = substr(line, 1, index(line, defundef) - 1) - if (D_is_set[macro]) { - # Preserve the white space surrounding the "#". - print prefix "define", macro P[macro] D[macro] - next - } else { - # Replace #undef with comments. This is necessary, for example, - # in the case of _POSIX_SOURCE, which is predefined and required - # on some systems where configure will not decide to define it. - if (defundef == "undef") { - print "/*", prefix defundef, macro, "*/" - next - } - } -} -{ print } -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - as_fn_error "could not setup config headers machinery" "$LINENO" 5 -fi # test -n "$CONFIG_HEADERS" - - -eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " -shift -for ac_tag -do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift - - case $ac_mode in - :L) ac_source=$1;; - :[FH]) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; - esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac - as_fn_append ac_file_inputs " '$ac_f'" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input='Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' - `' by configure.' - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} - fi - # Neutralize special characters interpreted by sed in replacement strings. - case $configure_input in #( - *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | - sed 's/[\\\\&|]/\\\\&/g'`;; #( - *) ac_sed_conf_input=$configure_input;; - esac - - case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; - esac - ;; - esac - - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir="$ac_dir"; as_fn_mkdir_p - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= -ac_sed_dataroot=' -/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/p -/@mandir@/p' -case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in -*datarootdir*) ac_datarootdir_seen=yes;; -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - ac_datarootdir_hack=' - s&@datadir@&$datadir&g - s&@docdir@&$docdir&g - s&@infodir@&$infodir&g - s&@localedir@&$localedir&g - s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; -esac -_ACEOF - -# Neutralize VPATH when `$srcdir' = `.'. -# Shell code in configure.ac might set extrasub. -# FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_sed_extra="$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s|@configure_input@|$ac_sed_conf_input|;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@top_build_prefix@&$ac_top_build_prefix&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -$ac_datarootdir_hack -" -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&5 -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&2;} - - rm -f "$tmp/stdin" - case $ac_file in - -) cat "$tmp/out" && rm -f "$tmp/out";; - *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; - esac \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - ;; - :H) - # - # CONFIG_HEADER - # - if test x"$ac_file" != x-; then - { - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" - } >"$tmp/config.h" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -$as_echo "$as_me: $ac_file is unchanged" >&6;} - else - rm -f "$ac_file" - mv "$tmp/config.h" "$ac_file" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - fi - else - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ - || as_fn_error "could not create -" "$LINENO" 5 - fi - ;; - - - esac - -done # for ac_tag - - -as_fn_exit 0 -_ACEOF -ac_clean_files=$ac_clean_files_save - -test $ac_write_fail = 0 || - as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - ac_config_status_args= - test "$silent" = yes && - ac_config_status_args="$ac_config_status_args --quiet" - exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false - exec 5>>config.log - # Use ||, not &&, to avoid exiting from the if with $? = 1, which - # would make configure fail if this is the last instruction. - $ac_cs_success || as_fn_exit $? -fi -if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} -fi - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: - -Configurations for current target have been written to 'build.mak', and 'os-auto.mak' in various build directories, and pjlib/include/pj/compat/os_auto.h. - -Further customizations can be put in: - - 'user.mak' - - 'pjlib/include/pj/config_site.h' - -The next step now is to run 'make dep' and 'make'. -" >&5 -$as_echo " - -Configurations for current target have been written to 'build.mak', and 'os-auto.mak' in various build directories, and pjlib/include/pj/compat/os_auto.h. - -Further customizations can be put in: - - 'user.mak' - - 'pjlib/include/pj/config_site.h' - -The next step now is to run 'make dep' and 'make'. -" >&6; } - diff --git a/res/pjproject/aconfigure.ac b/res/pjproject/aconfigure.ac deleted file mode 100644 index 15ef7da614..0000000000 --- a/res/pjproject/aconfigure.ac +++ /dev/null @@ -1,1410 +0,0 @@ -AC_INIT(pjproject,2.x) - -host_orig="$host" - -AC_CANONICAL_BUILD -AC_CANONICAL_HOST -AC_CANONICAL_TARGET -AC_CONFIG_HEADER([pjlib/include/pj/compat/os_auto.h - pjlib/include/pj/compat/m_auto.h - pjmedia/include/pjmedia/config_auto.h - pjmedia/include/pjmedia-codec/config_auto.h - pjsip/include/pjsip/sip_autoconf.h - ]) -AC_CONFIG_FILES([build.mak - build/os-auto.mak - build/cc-auto.mak - pjlib/build/os-auto.mak - pjlib-util/build/os-auto.mak - pjmedia/build/os-auto.mak - pjsip/build/os-auto.mak - third_party/build/os-auto.mak - third_party/build/portaudio/os-auto.mak - ]) - - -dnl -dnl Setup default CFLAGS -dnl -if test "$CFLAGS" = ""; then - CFLAGS="-O2" -else - CFLAGS="$CFLAGS" -fi - -CXXFLAGS="$CFLAGS $CXXFLAGS" - -dnl # -dnl # Configure tools -dnl # -AC_PROG_CC -AC_PROG_CXX -AC_LANG_C - -AC_PROG_RANLIB -AC_CHECK_TOOLS([AR], [ar gar], :) - -if test "$AR_FLAGS" = ""; then AR_FLAGS="rv"; fi -AC_SUBST(AR_FLAGS) -if test "$LD" = ""; then LD="$CC"; fi -AC_SUBST(LD) -if test "$LDOUT" = ""; then LDOUT="-o "; fi -AC_SUBST(LDOUT) -if test "$OBJEXT" = ""; then OBJEXT='o'; fi -AC_SUBST(OBJEXT) -if test "$LIBEXT" = ""; then LIBEXT='a'; fi -AC_SUBST(LIBEXT) -if test "$LIBEXT2" = ""; then LIBEXT2=""; fi -AC_SUBST(LIBEXT2) -if test "$CC_OUT" = ""; then CC_OUT="-o "; fi -AC_SUBST(CC_OUT) -if test "$CC_INC" = ""; then CC_INC="-I"; fi -AC_SUBST(CC_INC) -if test "$CC_DEF" = ""; then CC_DEF="-D"; fi -AC_SUBST(CC_DEF) -if test "$CC_OPTIMIZE" = ""; then CC_OPTIMIZE="-O2"; fi -AC_SUBST(CC_OPTIMIZE) -if test "$CC_CFLAGS" = ""; then CC_CFLAGS="-Wall"; fi -AC_SUBST(CC_CFLAGS) - - - -AC_SUBST(ac_pjdir) -AC_SUBST(ac_build_mak_vars) - -case $host in - *mingw* | *cygw* | *win32* | *w32* ) - if pwd -W 2&> /dev/null; then - ac_pjdir=`pwd -W` - else - # We're probably cross-compiling mingw on Linux - ac_pjdir=`pwd` - fi - ;; - *) - ac_pjdir=`pwd` - ;; -esac - -AC_SUBST(ac_shlib_suffix) -case $target in - *mingw* | *cygw* | *win32* | *w32* ) - ac_shlib_suffix=dll - ;; - *darwin*) - ac_shlib_suffix=dylib - ;; - *) - ac_shlib_suffix=so - ;; -esac - -AC_CHECK_LIB(pthread,pthread_create) -AC_CHECK_LIB(wsock32,puts) -AC_CHECK_LIB(ws2_32,puts) -AC_CHECK_LIB(ole32,puts) -AC_CHECK_LIB(winmm,puts) -AC_CHECK_LIB(socket,puts) -AC_CHECK_LIB(rt,puts) -AC_CHECK_LIB(nsl,puts) -AC_CHECK_LIB(m,sin) -AC_CHECK_LIB(uuid,uuid_generate) -AC_CHECK_LIB(uuid,uuid_generate,[ac_has_uuid_lib=1]) - -AC_MSG_RESULT([Setting PJ_M_NAME to $target_cpu]) -AC_DEFINE_UNQUOTED(PJ_M_NAME,["$target_cpu"]) - -dnl -dnl Memory alignment detection -dnl -AC_MSG_CHECKING([memory alignment]) -case $target in - sparc64-* | ia64-* | x86_64-* ) - AC_DEFINE(PJ_POOL_ALIGNMENT, 8) - AC_MSG_RESULT([8 bytes]) - ;; - * ) - AC_DEFINE(PJ_POOL_ALIGNMENT, 4) - AC_MSG_RESULT([4 bytes (default)]) - ;; -esac - - -dnl -dnl Endianness detection -dnl -AC_C_BIGENDIAN - -if test "x$ac_cv_c_bigendian" = "xyes"; then - CFLAGS="$CFLAGS -DPJ_IS_BIG_ENDIAN=1 -DPJ_IS_LITTLE_ENDIAN=0" -else - CFLAGS="$CFLAGS -DPJ_IS_BIG_ENDIAN=0 -DPJ_IS_LITTLE_ENDIAN=1" -fi - -dnl -dnl Legacy macros -dnl -case $target in - *mingw* | *cygw* | *win32* | *w32* ) - AC_DEFINE(PJ_WIN32,1) - AC_DEFINE(PJ_WIN32_WINNT,0x0400) - AC_DEFINE(WIN32_LEAN_AND_MEAN) - ;; - *darwin*) - AC_DEFINE(PJ_DARWINOS,1) - ;; - *linux*) - AC_DEFINE(PJ_LINUX,1) - ;; - *rtems*) - AC_DEFINE(PJ_RTEMS,1) - ;; - *sunos* | *solaris* ) - AC_DEFINE(PJ_SUNOS,1) - ;; - *) - ;; -esac - - - - -dnl # --disable-floating-point option -AC_ARG_ENABLE(floating-point, - AC_HELP_STRING([--disable-floating-point], - [Disable floating point where possible]), - [if test "$enable_floating_point" = "no"; then - AC_DEFINE(PJ_HAS_FLOATING_POINT,0) - AC_MSG_RESULT([Checking if floating point is disabled... yes]) - fi], - [ - AC_DEFINE(PJ_HAS_FLOATING_POINT,1) - AC_MSG_RESULT([Checking if floating point is disabled... no]) - ]) - - -AC_CHECK_HEADER(arpa/inet.h,[AC_DEFINE(PJ_HAS_ARPA_INET_H,1)]) -AC_CHECK_HEADER(assert.h,[AC_DEFINE(PJ_HAS_ASSERT_H,1)]) -AC_CHECK_HEADER(ctype.h,[AC_DEFINE(PJ_HAS_CTYPE_H,1)]) - -case $target in - *mingw* | *cygw* | *win32* | *w32* ) - AC_DEFINE(PJ_HAS_ERRNO_H,0) - ;; - *) - AC_CHECK_HEADER(errno.h,[AC_DEFINE(PJ_HAS_ERRNO_H,1)]) - ;; -esac - -AC_CHECK_HEADER(fcntl.h,[AC_DEFINE(PJ_HAS_FCNTL_H,1)]) -AC_CHECK_HEADER(linux/socket.h,[AC_DEFINE(PJ_HAS_LINUX_SOCKET_H,1)]) -AC_CHECK_HEADER(limits.h,[AC_DEFINE(PJ_HAS_LIMITS_H,1)]) -AC_CHECK_HEADER(malloc.h,[AC_DEFINE(PJ_HAS_MALLOC_H,1)]) -AC_CHECK_HEADER(netdb.h,[AC_DEFINE(PJ_HAS_NETDB_H,1)]) -AC_CHECK_HEADER(netinet/in_systm.h,[AC_DEFINE(PJ_HAS_NETINET_IN_SYSTM_H,1)]) -AC_CHECK_HEADER(netinet/in.h,[AC_DEFINE(PJ_HAS_NETINET_IN_H,1)]) -AC_CHECK_HEADER(netinet/ip.h,[AC_DEFINE(PJ_HAS_NETINET_IP_H,1)],[], - [#if PJ_HAS_SYS_TYPES_H - # include - #endif - #if PJ_HAS_NETINET_IN_SYSTM_H - # include - #endif - #if PJ_HAS_NETINET_IN_H - # include - #endif - ]) -AC_CHECK_HEADER(netinet/tcp.h,[AC_DEFINE(PJ_HAS_NETINET_TCP_H,1)]) -AC_CHECK_HEADER(ifaddrs.h, - [AC_CHECK_FUNC(getifaddrs,[AC_DEFINE(PJ_HAS_IFADDRS_H,1)])]) -AC_CHECK_HEADER(semaphore.h,[AC_DEFINE(PJ_HAS_SEMAPHORE_H,1)]) -AC_CHECK_HEADER(setjmp.h,[AC_DEFINE(PJ_HAS_SETJMP_H,1)]) -AC_CHECK_HEADER(stdarg.h,[AC_DEFINE(PJ_HAS_STDARG_H,1)]) -AC_CHECK_HEADER(stddef.h,[AC_DEFINE(PJ_HAS_STDDEF_H,1)]) -AC_CHECK_HEADER(stdio.h,[AC_DEFINE(PJ_HAS_STDIO_H,1)]) -AC_CHECK_HEADER(stdint.h,[AC_DEFINE(PJ_HAS_STDINT_H,1)]) -AC_CHECK_HEADER(stdlib.h,[AC_DEFINE(PJ_HAS_STDLIB_H,1)]) -AC_CHECK_HEADER(string.h,[AC_DEFINE(PJ_HAS_STRING_H,1)]) -AC_CHECK_HEADER(sys/ioctl.h,[AC_DEFINE(PJ_HAS_SYS_IOCTL_H,1)]) -AC_CHECK_HEADER(sys/select.h,[AC_DEFINE(PJ_HAS_SYS_SELECT_H,1)]) -AC_CHECK_HEADER(sys/socket.h,[AC_DEFINE(PJ_HAS_SYS_SOCKET_H,1)]) -AC_CHECK_HEADER(sys/time.h,[AC_DEFINE(PJ_HAS_SYS_TIME_H,1)]) -AC_CHECK_HEADER(sys/timeb.h,[AC_DEFINE(PJ_HAS_SYS_TIMEB_H,1)]) -AC_CHECK_HEADER(sys/types.h,[AC_DEFINE(PJ_HAS_SYS_TYPES_H,1)]) -AC_CHECK_HEADER(sys/filio.h,[AC_DEFINE(PJ_HAS_SYS_FILIO_H,1)]) -AC_CHECK_HEADER(sys/sockio.h,[AC_DEFINE(PJ_HAS_SYS_SOCKIO_H,1)]) -AC_CHECK_HEADER(sys/utsname.h,[AC_DEFINE(PJ_HAS_SYS_UTSNAME_H,1)]) -AC_CHECK_HEADER(time.h,[AC_DEFINE(PJ_HAS_TIME_H,1)]) -AC_CHECK_HEADER(unistd.h,[AC_DEFINE(PJ_HAS_UNISTD_H,1)]) -AC_CHECK_HEADER(winsock.h,[AC_DEFINE(PJ_HAS_WINSOCK_H,1)]) -AC_CHECK_HEADER(winsock2.h,[AC_DEFINE(PJ_HAS_WINSOCK2_H,1)]) -AC_CHECK_HEADER(mswsock.h,[AC_DEFINE(PJ_HAS_MSWSOCK_H,1)],[], - [#if PJ_HAS_WINSOCK2_H - # include - #elif PJ_HAS_WINSOCK_H - # include - #endif - ]) -AC_CHECK_HEADER(ws2tcpip.h,[AC_DEFINE(PJ_HAS_WS2TCPIP_H,1)]) -AC_CHECK_HEADER(uuid/uuid.h,[ac_has_uuid_h=1]) -AC_CHECK_HEADER(net/if.h,[AC_DEFINE(PJ_HAS_NET_IF_H,1)],[], - [#if PJ_HAS_SYS_TYPES_H - # include - #endif - #if PJ_HAS_SYS_SOCKET_H - - # include - #endif - ]) -AC_MSG_RESULT([Setting PJ_OS_NAME to $target]) -AC_DEFINE_UNQUOTED(PJ_OS_NAME,["$target"]) - -AC_MSG_RESULT([Setting PJ_HAS_ERRNO_VAR to 1]) -AC_DEFINE(PJ_HAS_ERRNO_VAR,1) - -AC_MSG_RESULT([Setting PJ_HAS_HIGH_RES_TIMER to 1]) -AC_DEFINE(PJ_HAS_HIGH_RES_TIMER,1) - -AC_MSG_RESULT([Setting PJ_HAS_MALLOC to 1]) -AC_DEFINE(PJ_HAS_MALLOC,1) - -AC_MSG_RESULT([Setting PJ_NATIVE_STRING_IS_UNICODE to 0]) -AC_DEFINE(PJ_NATIVE_STRING_IS_UNICODE,0) - -AC_MSG_RESULT([Setting PJ_ATOMIC_VALUE_TYPE to long]) -AC_DEFINE(PJ_ATOMIC_VALUE_TYPE,long) - -dnl # Determine if inet_aton() is available -AC_MSG_CHECKING([if inet_aton() is available]) -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include - #include - #include ]], - [inet_aton(0, 0);])], - [AC_DEFINE(PJ_SOCK_HAS_INET_ATON,1) - AC_MSG_RESULT(yes)], - [AC_MSG_RESULT(no)]) - -dnl # Determine if inet_pton() is available -AC_MSG_CHECKING([if inet_pton() is available]) -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include - #include - #include ]], - [inet_pton(0, 0, 0);])], - [AC_DEFINE(PJ_SOCK_HAS_INET_PTON,1) - AC_MSG_RESULT(yes)], - [AC_MSG_RESULT(no)]) - -dnl # Determine if inet_ntop() is available -AC_MSG_CHECKING([if inet_ntop() is available]) -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include - #include - #include ]], - [inet_ntop(0, 0, 0, 0);])], - [AC_DEFINE(PJ_SOCK_HAS_INET_NTOP,1) - AC_MSG_RESULT(yes)], - [AC_MSG_RESULT(no)]) - -dnl # Determine if getaddrinfo() is available -AC_MSG_CHECKING([if getaddrinfo() is available]) -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include - #include - #include ]], - [getaddrinfo(0, 0, 0, 0);])], - [AC_DEFINE(PJ_SOCK_HAS_GETADDRINFO,1) - AC_MSG_RESULT(yes)], - [AC_MSG_RESULT(no)]) - -dnl # Determine if sockaddr_in has sin_len member -AC_MSG_CHECKING([if sockaddr_in has sin_len member]) -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include - #include - #include - #include ]], - [struct sockaddr_in a; a.sin_len=0;])], - [AC_DEFINE(PJ_SOCKADDR_HAS_LEN,1) - AC_MSG_RESULT(yes)], - AC_MSG_RESULT(no)) - -dnl # Determine if socklen_t is available -AC_MSG_CHECKING([if socklen_t is available]) -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include - #include ]], - [socklen_t xxx = 0;])], - [AC_DEFINE(PJ_HAS_SOCKLEN_T,1) - AC_MSG_RESULT(yes)], - AC_MSG_RESULT(no)) - -dnl # Determine if SO_ERROR is available -AC_MSG_CHECKING([if SO_ERROR is available]) -case $target in - *mingw* | *cygw* | *win32* | *w32* ) - AC_DEFINE(PJ_HAS_SO_ERROR,1) - AC_MSG_RESULT(yes) - ;; - *) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include - #include - #include - #include ]], - [int i=SO_ERROR;])], - [AC_DEFINE(PJ_HAS_SO_ERROR,1) - AC_MSG_RESULT(yes)], - AC_MSG_RESULT(no)) - ;; -esac - - -dnl # Determine if RW-mutex is available -AC_MSG_CHECKING([if pthread_rwlock_t is available]) -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include ], - [pthread_rwlock_t *x;])], - [AC_DEFINE(PJ_EMULATE_RWMUTEX,0) - ac_rwmutex="yes" - AC_MSG_RESULT(yes)], - [AC_DEFINE(PJ_EMULATE_RWMUTEX,1) - ac_rwmutex="no" - AC_MSG_RESULT(no)]) - -dnl # If rwmutex is not detected, check again but this time -dnl # with _POSIX_READER_WRITER_LOCKS defined (newlib needs this) -if test "$ac_rwmutex" = "no"; then - AC_MSG_CHECKING([if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS]) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#define _POSIX_READER_WRITER_LOCKS - #include ]], - [pthread_rwlock_t *x;])], - [AC_DEFINE(PJ_EMULATE_RWMUTEX,0) - CFLAGS="$CFLAGS -D_POSIX_THREADS -D_POSIX_READER_WRITER_LOCKS" - AC_MSG_RESULT(yes)], - [AC_DEFINE(PJ_EMULATE_RWMUTEX,1) - AC_MSG_RESULT(no)]) -fi - -dnl # Do we have pthread_mutexattr_settype()? -AC_MSG_CHECKING([if pthread_mutexattr_settype() is available]) -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include ], - [pthread_mutexattr_settype(0,PTHREAD_MUTEX_FAST_NP);])], - [AC_DEFINE(PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE,1) - AC_MSG_RESULT(yes)], - [AC_MSG_RESULT(no)]) - -dnl # Does pthread_mutexattr_t has "recursive" member? -AC_MSG_CHECKING([if pthread_mutexattr_t has recursive member]) -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include ], - [[pthread_mutexattr_t attr; - attr.recursive=1;]])], - [AC_DEFINE(PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE,1) - AC_MSG_RESULT(yes)], - [AC_MSG_RESULT(no)]) - -dnl ###################### -dnl # ioqueue selection -dnl # -AC_SUBST(ac_os_objs) -AC_MSG_CHECKING([ioqueue backend]) -AC_ARG_ENABLE(epoll, - AC_HELP_STRING([--enable-epoll], - [Use /dev/epoll ioqueue on Linux (experimental)]), - [ - ac_os_objs=ioqueue_epoll.o - AC_MSG_RESULT([/dev/epoll]) - ], - [ - ac_os_objs=ioqueue_select.o - AC_MSG_RESULT([select()]) - ]) - - -dnl ###################### -dnl # OS specific files -dnl # -case $target in - *mingw* | *cygw* | *win32* | *w32* ) - ac_os_objs="$ac_os_objs file_access_win32.o file_io_win32.o os_core_win32.o os_error_win32.o os_time_win32.o os_timestamp_win32.o guid_win32.o" - ;; - *) - ac_os_objs="$ac_os_objs file_access_unistd.o file_io_ansi.o os_core_unix.o os_error_unix.o os_time_unix.o os_timestamp_posix.o" - case $target in - arm-apple-darwin*) - ac_os_objs="$ac_os_objs os_info_iphone.o" - ;; - esac - # UUID - if test "$ac_has_uuid_lib" = "1" -a "$ac_has_uuid_h" = "1"; then - ac_os_objs="$ac_os_objs guid_uuid.o" - else - ac_os_objs="$ac_os_objs guid_simple.o" - fi - ;; -esac - -case $target in - *darwin*) - ac_os_objs="$ac_os_objs os_core_darwin.o" - ;; -esac - -dnl ########################################## -dnl # -dnl # PJMEDIA -dnl # - -dnl # Use external Speex installation -AC_SUBST(ac_external_speex,0) -AC_ARG_WITH(external-speex, - AC_HELP_STRING([--with-external-speex], - [Use external Speex development files, not the one in "third_party" directory. When this option is set, make sure that Speex is accessible to use (hint: use CFLAGS and LDFLAGS env var to set the include/lib paths)]), - [ - if test "x$with_external_speex" != "xno"; then - # Test Speex installation - AC_MSG_CHECKING([if external Speex devkit is installed]) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include - #include - ]], - [speex_echo_state_init(0, 0); speex_encoder_init(0); ])], - [AC_MSG_RESULT(yes!!) - AC_DEFINE(PJMEDIA_EXTERNAL_SPEEX_CODEC, 1) - ac_external_speex="1" - ], - [AC_MSG_ERROR([Unable to use external Speex library. If Speex development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths])]) - fi - ] - ) - -dnl # Use external GSM codec library installation -AC_SUBST(ac_external_gsm,0) -AC_ARG_WITH(external-gsm, - AC_HELP_STRING([--with-external-gsm], - [Use external GSM codec library, not the one in "third_party" directory. When this option is set, make sure that the GSM include/lib files are accessible to use (hint: use CFLAGS and LDFLAGS env var to set the include/lib paths)]), - [ - if test "x$with_external_gsm" != "xno"; then - # Test GSM library installation - AC_MSG_CHECKING([if external GSM devkit is installed as gsm/gsm.h]) - AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([[#include ]], [gsm_create(); ]) ], - [AC_MSG_RESULT(yes!!) - AC_DEFINE(PJMEDIA_EXTERNAL_GSM_CODEC, 1) - AC_DEFINE(PJMEDIA_EXTERNAL_GSM_GSM_H, 1) - ac_external_gsm="1" - ], - [ - AC_MSG_RESULT(no) - AC_MSG_CHECKING([if external GSM devkit is installed as gsm.h]) - AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([[#include ]], [gsm_create(); ]) ], - [AC_MSG_RESULT(yes!!) - AC_DEFINE(PJMEDIA_EXTERNAL_GSM_CODEC, 1) - AC_DEFINE(PJMEDIA_EXTERNAL_GSM_H, 1) - ac_external_gsm="1" - ], - [AC_MSG_ERROR([Unable to use external GSM library. If GSM development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths]) - ] - ) - ] - ) - fi - ] - ) - - - -dnl # Sound device backend selection -AC_SUBST(ac_pjmedia_snd) -AC_ARG_ENABLE(sound, - AC_HELP_STRING([--disable-sound], - [Exclude sound (i.e. use null sound)]), - [if test "$enable_sound" = "no"; then - [ac_pjmedia_snd=null] - AC_MSG_RESULT([Checking if sound is disabled... yes]) - fi] - ) - -dnl # Use external PortAudio installation -AC_SUBST(ac_external_pa,0) -AC_ARG_WITH(external-pa, - AC_HELP_STRING([--with-external-pa], - [Use external PortAudio development files, not the one in "third_party" directory. When this option is set, make sure that PortAudio is accessible to use (hint: use CFLAGS and LDFLAGS env var to set the include/lib paths)]), - [ - if test "x$with_external_pa" != "xno"; then - # Test PortAudio installation - AC_MSG_CHECKING([if external PortAudio devkit is installed]) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include - ]], - [Pa_Initialize();])], - [AC_MSG_RESULT(yes!!) - ac_external_pa="1" - ], - [AC_MSG_ERROR([Unable to use PortAudio. If PortAudio development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths])]) - fi - ] - ) - -AC_SUBST(ac_pa_cflags) -AC_CHECK_HEADER(sys/soundcard.h, - [ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H"]) -AC_CHECK_HEADER(linux/soundcard.h, - [ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H"]) -AC_CHECK_HEADER(machine/soundcard.h, - [ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H"]) - -if test "x$ac_cv_c_bigendian" = "xyes"; then - ac_pa_cflags="$ac_pa_cflags -DPA_BIG_ENDIAN" -else - ac_pa_cflags="$ac_pa_cflags -DPA_LITTLE_ENDIAN" -fi - -if test "$enable_sound" = "no"; then - true; -else - case $target in - arm-apple-darwin*) - LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit" - AC_MSG_RESULT([Checking sound device backend... AudioUnit]) - ;; - *darwin*) - LIBS="$LIBS -framework CoreAudio -framework CoreServices -framework AudioUnit -framework AudioToolbox" - if test "`uname -r`" = "6.8"; then - #ac_pa_cflags="$ac_pa_cflags -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS" - #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) - ac_pjmedia_snd=pa_old_darwinos - AC_MSG_RESULT([Checking sound device backend... old coreaudio]) - else - ac_pjmedia_snd=pa_darwinos - AC_MSG_RESULT([Checking sound device backend... coreaudio]) - fi - ;; - *cygwin* | *mingw*) - ac_pjmedia_snd=pa_win32 - AC_MSG_RESULT([Checking sound device backend... win32 sound]) - ;; - *rtems*) - ac_pjmedia_snd=null - AC_MSG_RESULT([Checking sound device backend... null sound]) - ;; - *) - dnl # Check if ALSA is available - ac_pjmedia_snd=pa_unix - AC_CHECK_HEADER(alsa/version.h, - [AC_SUBST(ac_pa_use_alsa,1) - LIBS="$LIBS -lasound" - ], - [AC_SUBST(ac_pa_use_alsa,0)]) - AC_MSG_RESULT([Checking sound device backend... unix]) - - dnl # Check if OSS is disabled - AC_SUBST(ac_pa_use_oss,1) - AC_ARG_ENABLE(oss, - AC_HELP_STRING([--disable-oss], - [Disable OSS audio (default: not disabled)]), - [ - if test "$enable_oss" = "no"; then - [ac_pa_use_oss=0] - AC_MSG_RESULT([Checking if OSS audio is disabled... yes]) - fi - ]) - ;; - esac -fi - -AC_SUBST(ac_pjmedia_video) - -dnl # --disable-video option -AC_ARG_ENABLE(video, - AC_HELP_STRING([--disable-video], - [Disable video feature]), - [if test "$enable_video" = "no"; then - #AC_DEFINE(PJMEDIA_HAS_VIDEO,0) - AC_MSG_RESULT([Video is disabled]) - enable_sdl="no" - enable_ffmpeg="no" - enable_v4l2="no" - fi], - []) - -case $target in - arm-apple-darwin*) - LIBS="$LIBS -framework UIKit" - ;; - *darwin*) - LIBS="$LIBS -framework Foundation -framework AppKit" - ;; -esac - -if test "$enable_video" = "no"; then - true; -else - case $target in - arm-apple-darwin*) - ac_pjmedia_video=iphone_os - AC_SUBST(ac_pjmedia_video_has_ios) - AC_SUBST(ac_ios_cflags) - SAVED_LIBS="$LIBS" - LIBS="-framework AVFoundation -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" - AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [])],[ac_pjmedia_video_has_ios=yes],[ac_pjmedia_video_has_ios=no]) - LIBS="$SAVED_LIBS" - if test "$ac_pjmedia_video_has_ios" = "yes"; then - ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1" - LIBS="$LIBS -framework AVFoundation -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" - AC_MSG_RESULT([Checking if AVFoundation framework is available... yes]) - else - AC_MSG_RESULT([Checking if AVFoundation framework is available... no]) - fi - ;; - *darwin*) - ac_pjmedia_video=mac_os - AC_SUBST(ac_pjmedia_video_has_qt) - AC_SUBST(ac_qt_cflags) - SAVED_LIBS="$LIBS" - LIBS="-framework QTKit" - AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [])],[ac_pjmedia_video_has_qt=yes],[ac_pjmedia_video_has_qt=no]) - LIBS="$SAVED_LIBS" - if test "$ac_pjmedia_video_has_qt" = "yes"; then - ac_qt_cflags="-DPJMEDIA_VIDEO_DEV_HAS_QT=1" - LIBS="$LIBS -framework QTKit -framework QuartzCore -framework OpenGL" - AC_MSG_RESULT([Checking if QTKit framework is available... yes]) - else - AC_MSG_RESULT([Checking if QTKit framework is available... no]) - fi - ;; - esac -fi - -AC_ARG_ENABLE(ext_sound, - AC_HELP_STRING([--enable-ext-sound], - [PJMEDIA will not provide any sound device backend]), - [if test "$enable_ext_sound" = "yes"; then - [ac_pjmedia_snd=external] - AC_MSG_RESULT([Checking if external sound is set... yes]) - fi] - ) - -dnl # Include resampling small filter -AC_SUBST(ac_no_small_filter) -AC_ARG_ENABLE(small-filter, - AC_HELP_STRING([--disable-small-filter], - [Exclude small filter in resampling]), - [if test "$enable_small_filter" = "no"; then - [ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0'] - AC_MSG_RESULT([Checking if small filter is disabled... yes]) - fi], - AC_MSG_RESULT([Checking if small filter is disabled... no])) - -dnl # Include resampling large filter -AC_SUBST(ac_no_large_filter) -AC_ARG_ENABLE(large-filter, - AC_HELP_STRING([--disable-large-filter], - [Exclude large filter in resampling]), - [if test "$enable_large_filter" = "no"; then - [ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0'] - AC_MSG_RESULT([Checking if large filter is disabled... yes]) - fi], - AC_MSG_RESULT([Checking if large filter is disabled... no])) - -dnl # Include Speex AEC -AC_SUBST(ac_no_speex_aec) -AC_ARG_ENABLE(speex-aec, - AC_HELP_STRING([--disable-speex-aec], - [Exclude Speex Acoustic Echo Canceller/AEC]), - [if test "$enable_speex_aec" = "no"; then - [ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0'] - AC_MSG_RESULT([Checking if Speex AEC is disabled...yes]) - fi], - AC_MSG_RESULT([Checking if Speex AEC is disabled...no])) - -dnl # Include G711 codec -AC_SUBST(ac_no_g711_codec) -AC_ARG_ENABLE(g711-codec, - AC_HELP_STRING([--disable-g711-codec], - [Exclude G.711 codecs from the build]), - [if test "$enable_g711_codec" = "no"; then - [ac_no_g711_codec=1] - AC_DEFINE(PJMEDIA_HAS_G711_CODEC,0) - AC_MSG_RESULT([Checking if G.711 codec is disabled...yes]) - fi], - AC_MSG_RESULT([Checking if G.711 codec is disabled...no])) - - -dnl # Include L16 codec -AC_SUBST(ac_no_l16_codec) -AC_ARG_ENABLE(l16-codec, - AC_HELP_STRING([--disable-l16-codec], - [Exclude Linear/L16 codec family from the build]), - [if test "$enable_l16_codec" = "no"; then - [ac_no_l16_codec=1] - AC_DEFINE(PJMEDIA_HAS_L16_CODEC,0) - AC_MSG_RESULT([Checking if L16 codecs are disabled...yes]) - fi], - AC_MSG_RESULT([Checking if L16 codec is disabled...no])) - - -dnl # Include GSM codec -AC_SUBST(ac_no_gsm_codec) -AC_ARG_ENABLE(gsm-codec, - AC_HELP_STRING([--disable-gsm-codec], - [Exclude GSM codec in the build]), - [if test "$enable_gsm_codec" = "no"; then - [ac_no_gsm_codec=1] - AC_DEFINE(PJMEDIA_HAS_GSM_CODEC,0) - AC_MSG_RESULT([Checking if GSM codec is disabled...yes]) - fi], - AC_MSG_RESULT([Checking if GSM codec is disabled...no])) - -dnl # Include G.722 codec -AC_SUBST(ac_no_g722_codec) -AC_ARG_ENABLE(g722-codec, - AC_HELP_STRING([--disable-g722-codec], - [Exclude G.722 codec in the build]), - [if test "$enable_g722_codec" = "no"; then - [ac_no_g722_codec=1] - AC_DEFINE(PJMEDIA_HAS_G722_CODEC,0) - AC_MSG_RESULT([Checking if G.722 codec is disabled...yes]) - fi], - AC_MSG_RESULT([Checking if G.722 codec is disabled...no])) - -dnl # Include G722.1 codec -AC_SUBST(ac_no_g7221_codec) -AC_ARG_ENABLE(g7221-codec, - AC_HELP_STRING([--disable-g7221-codec], - [Exclude G.7221 codec in the build]), - [if test "$enable_g7221_codec" = "no"; then - [ac_no_g7221_codec=1] - AC_DEFINE(PJMEDIA_HAS_G7221_CODEC,0) - AC_MSG_RESULT([Checking if G.722.1 codec is disabled...yes]) - fi], - AC_MSG_RESULT([Checking if G.722.1 codec is disabled...no])) - -dnl # Include Speex codec -AC_SUBST(ac_no_speex_codec) -AC_ARG_ENABLE(speex-codec, - AC_HELP_STRING([--disable-speex-codec], - [Exclude Speex codecs in the build]), - [if test "$enable_speex_codec" = "no"; then - [ac_no_speex_codec=1] - AC_DEFINE(PJMEDIA_HAS_SPEEX_CODEC,0) - AC_MSG_RESULT([Checking if Speex codec is disabled...yes]) - fi], - AC_MSG_RESULT([Checking if Speex codec is disabled...no])) - -dnl # Include iLBC codec -AC_SUBST(ac_no_ilbc_codec) -AC_ARG_ENABLE(ilbc-codec, - AC_HELP_STRING([--disable-ilbc-codec], - [Exclude iLBC codec in the build]), - [if test "$enable_ilbc_codec" = "no"; then - [ac_no_ilbc_codec=1] - AC_DEFINE(PJMEDIA_HAS_ILBC_CODEC,0) - AC_MSG_RESULT([Checking if iLBC codec is disabled...yes]) - fi], - AC_MSG_RESULT([Checking if iLBC codec is disabled...no])) - -dnl # Include libsamplerate -AC_ARG_ENABLE(libsamplerate, - AC_HELP_STRING([--enable-libsamplerate], - [Link with libsamplerate when available. Note that PJMEDIA_RESAMPLE_IMP must also be configured]), - [ AC_CHECK_LIB(samplerate,src_new) ], - AC_MSG_RESULT([Skipping libsamplerate detection]) - ) - -dnl # Include libsamplerate -AC_SUBST(ac_resample_dll) -AC_ARG_ENABLE(resample_dll, - AC_HELP_STRING([--enable-resample-dll], - [Build libresample as shared library]), - [if test "$enable_resample_dll" = "yes"; then - [ac_resample_dll=1] - AC_MSG_RESULT([Building libresample as shared library... yes]) - fi], - AC_MSG_RESULT([Building libresample as shared library... no]) - ) - -dnl # SDL alt prefix -AC_ARG_WITH(sdl, - AC_HELP_STRING([--with-sdl=DIR], - [Specify alternate libSDL prefix]), - [], - [with_sdl=no] - ) - -dnl # SDL -AC_ARG_ENABLE(sdl, - AC_HELP_STRING([--disable-sdl], - [Disable SDL (default: not disabled)]), - [ - if test "$enable_sdl" = "no"; then - AC_MSG_RESULT([Checking if SDL is disabled... yes]) - fi - ], - [ - SDL_CONFIG="sdl-config" - if test "x$with_sdl" != "xno" -a "x$with_sdl" != "x"; then - SDL_CONFIG=$with_sdl/bin/sdl-config - AC_MSG_RESULT([Using SDL prefix... $with_sdl]) - fi - - AC_MSG_CHECKING([SDL availability..]) - if (sh -c "$SDL_CONFIG --version" | grep 1.3) then - AC_SUBST(ac_sdl_cflags) - AC_SUBST(ac_sdl_ldflags) - ac_sdl_cflags=`$SDL_CONFIG --cflags` - ac_sdl_cflags="-DPJMEDIA_VIDEO_DEV_HAS_SDL=1 $ac_sdl_cflags" - ac_sdl_ldflags=`$SDL_CONFIG --libs` - LIBS="$LIBS $ac_sdl_ldflags" - else - AC_MSG_RESULT([Unsupported SDL version]) - fi - ]) - - -dnl # FFMPEG stuffs -AC_ARG_ENABLE(ffmpeg, - AC_HELP_STRING([--disable-ffmpeg], - [Disable ffmpeg (default: not disabled)]), - [ - AC_SUBST(ac_has_ffmpeg,0) - if test "$enable_ffmpeg" = "no"; then - AC_MSG_RESULT([Checking if ffmpeg is disabled... yes]) - fi - ], - [ - AC_SUBST(ac_ffmpeg_cflags) - AC_SUBST(ac_ffmpeg_ldflags) - - FFMPEG_PREFIX="" - AC_SUBST(SAVED_PKG_CONFIG_PATH) - SAVED_PKG_CONFIG_PATH=$PKG_CONFIG_PATH - if test "x$with_ffmpeg" != "xno" -a "x$with_ffmpeg" != "x"; then - FFMPEG_PREFIX=$with_ffmpeg - AC_MSG_RESULT([Using ffmpeg prefix... $FFMPEG_PREFIX]) - export PKG_CONFIG_PATH=$FFMPEG_PREFIX/lib/pkgconfig - fi - - AC_CHECK_PROGS(PKG_CONFIG,pkg-config "python pkgconfig.py",none) - - if test "$PKG_CONFIG" != "none"; then - AC_MSG_CHECKING([ffmpeg packages]) - av_pkg="" - if $PKG_CONFIG --exists libdevice; then - ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVDEVICE=1" - av_pkg="$av_pkg libdevice" - fi - if $PKG_CONFIG --exists libavformat; then - ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVFORMAT=1" - av_pkg="$av_pkg libavformat" - fi - if $PKG_CONFIG --exists libavcodec; then - ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCODEC=1" - av_pkg="$av_pkg libavcodec" - fi - if $PKG_CONFIG --exists libswscale; then - ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" - av_pkg="$av_pkg libswscale" - fi - if $PKG_CONFIG --exists libavutil; then - ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVUTIL=1" - av_pkg="$av_pkg libavutil" - fi - if $PKG_CONFIG --exists libavcore; then - ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCORE=1" - av_pkg="$av_pkg libavcore" - fi - - if test "x$av_pkg" == "x"; then - AC_MSG_RESULT([none detected (check the prefix)! **]) - else - AC_MSG_RESULT([$av_pkg]) - fi - - ac_ffmpeg_cflags="$ac_ffmpeg_cflags `$PKG_CONFIG --cflags $av_pkg`" - ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags `$PKG_CONFIG --libs $av_pkg`" - - else - dnl # - dnl # Use hardcoded values to configure ffmpeg - dnl # - - AC_MSG_RESULT([*** Warning: neither pkg-config nor python is available, ffmpeg dependency cannot be calculated. If ffmpeg libraries are not detected, you need to specify the correct CFLAGS and LDFLAGS settings for ffmpeg prior to invoking configure ***]) - - LIBS="-L$FFMPEG_PREFIX/lib $LIBS" - LDFLAGS="-L$FFMPEG_PREFIX/lib $LDFLAGS" - CFLAGS="-I$FFMPEG_PREFIX/include $CFLAGS" - - AC_CHECK_LIB(avdevice, - avdevice_version, - [ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVDEVICE=1" - ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavdevice" - ] - ) - AC_CHECK_LIB(avutil, - av_malloc, - [ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVUTIL=1" - ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavutil" - ] - ) - AC_CHECK_LIB(avcodec, - avcodec_init, - [ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCODEC=1" - ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcodec" - ], - [], - [-lavutil] - ) - AC_CHECK_LIB(avformat, - av_register_all, - [ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVFORMAT=1" - ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavformat" - ], - [], - [-lavcodec -lavutil] - ) - AC_CHECK_LIB(swscale, - sws_scale, - [ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" - ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lswscale" - ], - [], - [-lavutil] - ) - AC_CHECK_LIB(avcore, - avcore_version, - [ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCORE=1" - ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcore" - ] - ) - - fi - - LIBS="$LIBS $ac_ffmpeg_ldflags" - export PKG_CONFIG_PATH=$SAVED_PKG_CONFIG_PATH - ] - ) - -AC_ARG_WITH(ffmpeg, - AC_HELP_STRING([--with-ffmpeg=DIR], - [Specify alternate FFMPEG prefix]), - [], - [with_ffmpeg=no] - ) - - -dnl # Video for Linux 2 -AC_ARG_ENABLE(v4l2, - AC_HELP_STRING([--disable-v4l2], - [Disable Video4Linux2 (default: not disabled)]), - [ - if test "$enable_v4l2" = "no"; then - AC_MSG_RESULT([Checking if V4L2 is disabled... yes]) - fi - ], - [ - AC_SUBST(ac_v4l2_cflags) - AC_SUBST(ac_v4l2_ldflags) - AC_CHECK_LIB(v4l2, - v4l2_open, - [ac_v4l2_cflags="-DPJMEDIA_VIDEO_DEV_HAS_V4L2=1" - ac_v4l2_ldflags="-lv4l2" - LIBS="$LIBS -lv4l2" - ] - ) - ]) - -dnl ######################################################## -dnl # Intel IPP support -dnl # -AC_ARG_ENABLE(ipp, - AC_HELP_STRING([--enable-ipp], - [Enable Intel IPP support. Specify the Intel IPP package and samples location using IPPROOT and IPPSAMPLES env var or with --with-ipp and --with-ipp-samples options]), - [], - [enable_ipp=no] - ) - -AC_ARG_WITH(ipp, - AC_HELP_STRING([--with-ipp=DIR], - [Specify the Intel IPP location]), - [], - [with_ipp=no] - ) - -AC_ARG_WITH(ipp-samples, - AC_HELP_STRING([--with-ipp-samples=DIR], - [Specify the Intel IPP samples location]), - [], - [with_ipp_samples=no] - ) - -AC_ARG_WITH(ipp-arch, - AC_HELP_STRING([--with-ipp-arch=ARCH], - [Specify the Intel IPP ARCH suffix, e.g. "64" or "em64t. Default is blank for IA32"]), - [], - [with_ipp_arch=no] - ) - -if test "x$enable_ipp" != "xno"; then - dnl # - dnl # Verifying Intel IPP path - dnl # - AC_MSG_CHECKING([Intel IPP location]) - - if test "x$with_ipp" != "xno" -a "x$with_ipp" != "x"; then - AC_MSG_RESULT([$with_ipp]) - IPPROOT=$with_ipp - elif test "x$IPPROOT" = "x"; then - if test -d /opt/intel/ipp; then - IPPROOT=`ls -d /opt/intel/ipp/*/* | head -1` - AC_MSG_RESULT([autodetected in $IPPROOT]) - fi - else - AC_MSG_RESULT([$IPPROOT]) - fi - - if test "x$with_ipp_arch" != "xno"; then - IPP_SUFFIX=$with_ipp_arch - AC_MSG_RESULT([IPP arch suffix is set to $IPP_SUFFIX]) - else - IPP_SUFFIX="" - AC_MSG_RESULT([IPP arch suffix is set to empty]) - fi - - if test x$IPPROOT = x; then - AC_MSG_ERROR([the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option]) - elif test ! -d $IPPROOT; then - AC_MSG_ERROR([not found]) - elif test ! -d $IPPROOT/include; then - AC_MSG_ERROR([directory doesn't seem to be valid]) - else - # IPP directory looks okay. - # Remove trailing backslash - IPPROOT=`echo $IPPROOT | sed 's/\/$//'` - - SAVED_CFLAGS="$CFLAGS" - SAVED_LDFLAGS="$LDFLAGS" - SAVED_LIBS="$LIBS" - - IPP_CFLAGS="-I$IPPROOT/include" - IPP_LIBS="-lippsc${IPP_SUFFIX} -lipps${IPP_SUFFIX} -lippcore${IPP_SUFFIX}" - -# - # Some differences between Mac OS X and Linux - case $target in - *darwin* ) - IPP_LDFLAGS="-L$IPPROOT/Libraries -L$IPPROOT/lib" - ;; - *) - # Find out where the libraries live. - IPP7_ARCH="" - if test -d $IPPROOT/lib/intel64; then - IPP7_ARCH="intel64" - elif test -d $IPPROOT/lib/ia32; then - IPP7_ARCH="ia32" - elif test -d $IPPROOT/lib/mic; then - IPP7_ARCH="mic" - fi - - if test -z "$IPP7_ARCH"; then - # IPP6 (and possibly below) - IPP_LDFLAGS="-L$IPPROOT/sharedlib" - IPP_LIBS="$IPP_LIBS -lippsr${IPP_SUFFIX} -lguide" - else - # IPP7 - if ! test -d $IPPROOT/../compiler; then - AC_MSG_ERROR([Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly]) - fi - IPP_CFLAGS="$IPP_CFLAGS" - IPP_LDFLAGS="-L$IPPROOT/lib/intel64 -L$IPPROOT/../compiler/lib/$IPP7_ARCH" - IPP_LIBS="$IPP_LIBS -liomp5" - fi - ;; - esac - - #IPP_LDFLAGS="-L$IPPROOT/sharedlib" - #Static: - #IPP_LIBS="-lippscmerged -lippsrmerged -lippsmerged -lippcore" - - CFLAGS="$CFLAGS $IPP_CFLAGS" - LDFLAGS="$LDFLAGS $IPP_LDFLAGS" - LIBS="$IPP_LIBS $LIBS" - - - AC_MSG_CHECKING([Intel IPP usability]) - AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include - ]], - [ippStaticInit();])], - [AC_MSG_RESULT(ok)], - [AC_MSG_FAILURE([Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly, run with --help for more info])]) - - CFLAGS="$SAVED_CFLAGS" - LDFLAGS="$SAVED_LDFLAGS" - LIBS="$SAVED_LIBS" - fi - - dnl # - dnl # Verifying Intel IPP samples path - dnl # - AC_MSG_CHECKING([Intel IPP samples location]) - - if test "x$with_ipp_samples" != "xno" -a "x$with_ipp_samples" != "x"; then - AC_MSG_RESULT([$with_ipp_samples]) - IPPSAMPLES=$with_ipp_samples - elif test "x$IPPSAMPLES" = "x"; then - if test -d /opt/intel/ipp-samples; then - IPPSAMPLES=/opt/intel/ipp-samples - AC_MSG_RESULT([autodetected in $IPPSAMPLES]) - fi - else - AC_MSG_RESULT([$IPPSAMPLES]) - fi - - if test x$IPPSAMPLES = x; then - AC_MSG_ERROR([the location is neither specified nor can be guessed. Please specify with IPPSAMPLES env var or with --with-ipp-samples option]) - elif test ! -d $IPPSAMPLES; then - AC_MSG_ERROR([not found]) - elif test ! -d $IPPSAMPLES/speech-codecs; then - AC_MSG_ERROR([directory doesn't seem to be valid]) - else - # Remove trailing backslash - IPPSAMPLES=`echo $IPPSAMPLES | sed 's/\/$//'` - - # Guess the libusc.a/libspeech.a build location - AC_MSG_CHECKING([Intel IPP USC build location]) - if test -d $IPPSAMPLES/speech-codecs/bin; then - IPPVER=5 - IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/bin/*gcc*/lib | head -1` - elif test -d $IPPSAMPLES/speech-codecs/_bin; then - IPPVER=6 - if test -d $IPPSAMPLES/speech-codecs/_bin/*gcc*; then - # gcc compiler - IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib | head -1` - elif test -d $IPPSAMPLES/speech-codecs/_bin/*icc*; then - # icc compiler - IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/_bin/*icc*/lib | head -1` - else - AC_MSG_FAILURE([Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples?]) - fi - else - AC_MSG_FAILURE([unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples?]) - fi - - # Test the directory - if test ! -d $IPPSAMP_DIR; then - AC_MSG_FAILURE([There's something wrong with this script, directory $IPPSAMP_DIR does not exist]) - exit 1; - fi - - if test "x$IPPVER" = "x5"; then - IPPSAMP_LIBS="libusc.a" - IPPSAMP_LDLIBS="-lusc" - elif test "x$IPPVER" = "x6"; then - IPPSAMP_LIBS="libspeech.a" - IPPSAMP_LDLIBS="-lspeech" - else - AC_MSG_FAILURE([bug in this script: unsupported IPP version]) - fi - - if test ! -f $IPPSAMP_DIR/$IPPSAMP_LIBS; then - AC_MSG_FAILURE([$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR]) - fi - - AC_MSG_RESULT([$IPPSAMP_DIR]) - - SAVED_CFLAGS="$CFLAGS" - SAVED_LDFLAGS="$LDFLAGS" - SAVED_LIBS="$LIBS" - - IPPSAMP_INC="-I$IPPSAMPLES/speech-codecs/core/usc/include" - CFLAGS="$CFLAGS $IPPSAMP_INC" - LDFLAGS="$LDFLAGS -L$IPPSAMP_DIR" - LIBS="$IPPSAMP_LDLIBS $LIBS" - - AC_MSG_CHECKING([Intel IPP USC usability]) - AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include - ]], - [extern USC_Fxns USC_G729AFP_Fxns;])], - [AC_MSG_RESULT(ok)], - [AC_MSG_FAILURE(failed)]) - - CFLAGS="$SAVED_CFLAGS" - LDFLAGS="$IPP_LDFLAGS $SAVED_LDFLAGS" - LIBS="$IPP_LIBS $SAVED_LIBS" - - IPP_CFLAGS="$IPP_CFLAGS $IPPSAMP_INC" - IPP_LDFLAGS="$IPP_LDFLAGS -L$IPPSAMP_DIR" - IPP_LIBS="$IPPSAMP_LDLIBS $IPP_LIBS" - fi - - CFLAGS="$CFLAGS $IPP_CFLAGS" - LDFLAGS="$LDFLAGS $IPP_LDFLAGS" - LIBS="$LIBS $IPP_LIBS" - - ac_build_mak_vars="$ac_build_mak_vars\n\ -export IPP_CFLAGS=$IPP_CFLAGS\n\ -export IPP_LDFLAGS=$IPP_LDFLAGS\n\ -export IPP_LIBS=$IPP_LIBS" -else - AC_MSG_RESULT([Skipping Intel IPP settings (not wanted)]) -fi - - -dnl ########################################## -dnl # -dnl # PJSIP CONFIG -dnl # - -dnl # Include SSL support -AC_SUBST(ac_no_ssl) -AC_ARG_ENABLE(ssl, - AC_HELP_STRING([--disable-ssl], - [Exclude SSL support the build (default: autodetect)]) - , - [ - if test "$enable_ssl" = "no"; then - [ac_no_ssl=1] - AC_MSG_RESULT([Checking if SSL support is disabled... yes]) - fi - ], - [ - AC_MSG_RESULT([checking for OpenSSL installations..]) - AC_SUBST(openssl_h_present) - AC_SUBST(libssl_present) - AC_SUBST(libcrypto_present) - AC_CHECK_HEADER(openssl/ssl.h,[openssl_h_present=1]) - AC_CHECK_LIB(crypto,ERR_load_BIO_strings,[libcrypto_present=1 && LIBS="$LIBS -lcrypto"]) - AC_CHECK_LIB(ssl,SSL_library_init,[libssl_present=1 && LIBS="$LIBS -lssl"]) - if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then - AC_MSG_RESULT([OpenSSL library found, SSL support enabled]) - # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK - #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) - AC_DEFINE(PJ_HAS_SSL_SOCK, 1) - else - AC_MSG_RESULT([** OpenSSL libraries not found, disabling SSL support **]) - fi - ]) - -dnl # Include opencore-amrnb support -AC_SUBST(ac_no_opencore_amrnb) -AC_ARG_ENABLE(opencore_amrnb, - AC_HELP_STRING([--disable-opencore-amrnb], - [Exclude OpenCORE AMR-NB support from the build (default: autodetect)]) - , - [ - if test "$enable_opencore_amrnb" = "no"; then - [ac_no_opencore_amrnb=1] - AC_DEFINE(PJMEDIA_HAS_OPENCORE_AMRNB_CODEC,0) - AC_MSG_RESULT([Checking if OpenCORE AMR-NB support is disabled... yes]) - fi - ], - [ - AC_MSG_RESULT([checking for OpenCORE AMR-NB installations..]) - AC_SUBST(opencore_amrnb_h_present) - AC_SUBST(opencore_amrnb_present) - AC_CHECK_HEADER(opencore-amrnb/interf_enc.h,[opencore_amrnb_h_present=1]) - AC_CHECK_LIB(opencore-amrnb,Encoder_Interface_init,[opencore_amrnb_present=1 && LIBS="$LIBS -lopencore-amrnb"]) - if test "x$opencore_amrnb_h_present" = "x1" -a "x$opencore_amrnb_present" = "x1"; then - AC_MSG_RESULT([OpenCORE AMR-NB library found, AMR-NB support enabled]) - AC_DEFINE(PJMEDIA_HAS_OPENCORE_AMRNB_CODEC,1) - else - [ac_no_opencore_amrnb=1] - AC_DEFINE(PJMEDIA_HAS_OPENCORE_AMRNB_CODEC,0) - fi - ]) - -dnl ########################################## -dnl # -dnl # MANUAL CONFIG -dnl # - - -dnl # Determine if select() requires nfds to be filled up with -dnl # correct value (max_fd+1). If zero, nfds will be filled up with -dnl # PJ_FD_SETSIZE -AC_MSG_CHECKING([if select() needs correct nfds]) -case $target in - *rtems*) AC_DEFINE(PJ_SELECT_NEEDS_NFDS,1) - AC_MSG_RESULT(yes) - ;; - *) AC_DEFINE(PJ_SELECT_NEEDS_NFDS,0) - AC_MSG_RESULT([no (default)]) - AC_MSG_RESULT([** Decided that select() doesn't need correct nfds (please check)]) - ;; -esac - -dnl # Determine if pj_thread_create() should enforce thread stack size when -dnl # creating thread. Default is zero, to allow OS to allocate appropriate -dnl # thread's stack size. -AC_MSG_CHECKING([if pj_thread_create() should enforce stack size]) -case $target in - *rtems*) AC_DEFINE(PJ_THREAD_SET_STACK_SIZE,1) - AC_MSG_RESULT(yes) - ;; - *) AC_DEFINE(PJ_THREAD_SET_STACK_SIZE,0) - AC_MSG_RESULT([no (default)]) - ;; -esac - -dnl # Determine if pj_thread_create() should allocate thread's stack from -dnl # the pool. Default is zero, to let OS allocate thread's stack. -AC_MSG_CHECKING([if pj_thread_create() should allocate stack]) -case $target in - *rtems*) AC_DEFINE(PJ_THREAD_ALLOCATE_STACK,1) - AC_MSG_RESULT(yes) - ;; - *) AC_DEFINE(PJ_THREAD_ALLOCATE_STACK,0) - AC_MSG_RESULT([no (default)]) - ;; -esac - -dnl # This value specifies the value set in errno by the OS when a non-blocking -dnl # socket recv() can not return immediate data. -case $target in - *mingw* | *cygw* | *win32* | *w32* ) - AC_DEFINE(PJ_BLOCKING_ERROR_VAL,WSAEWOULDBLOCK) - ;; - *) AC_DEFINE(PJ_BLOCKING_ERROR_VAL,EAGAIN) - AC_MSG_RESULT([** Setting non-blocking recv() retval to EAGAIN (please check)]) - ;; -esac - -dnl # This value specifies the value set in errno by the OS when a non-blocking -dnl # socket connect() can not get connected immediately. -case $target in - *mingw* | *cygw* | *win32* | *w32* ) - AC_DEFINE(PJ_BLOCKING_CONNECT_ERROR_VAL,WSAEWOULDBLOCK) - ;; - *) AC_DEFINE(PJ_BLOCKING_CONNECT_ERROR_VAL,EINPROGRESS) - AC_MSG_RESULT([** Setting non-blocking connect() retval to EINPROGRESS (please check)]) - ;; -esac - - -AC_SUBST(target) -AC_SUBST(ac_cross_compile) -if test "$build" = "$host"; then - ac_cross_compile= -else - ac_cross_compile=${host_orig}- -fi -AC_SUBST(ac_linux_poll,select) -AC_SUBST(ac_host,unix) -AC_SUBST(ac_main_obj) -case $target in - *rtems*) - ac_main_obj=main_rtems.o - ;; - *) - ac_main_obj=main.o - ;; -esac -AC_SUBST(CC) - -ac_build_mak_vars=`echo $ac_build_mak_vars | sed 's/\\\\n/\n/g'` -AC_OUTPUT() - - -AC_MSG_RESULT([ - -Configurations for current target have been written to 'build.mak', and 'os-auto.mak' in various build directories, and pjlib/include/pj/compat/os_auto.h. - -Further customizations can be put in: - - 'user.mak' - - 'pjlib/include/pj/config_site.h' - -The next step now is to run 'make dep' and 'make'. -]) - diff --git a/res/pjproject/build.mak.in b/res/pjproject/build.mak.in deleted file mode 100644 index c7d27fe743..0000000000 --- a/res/pjproject/build.mak.in +++ /dev/null @@ -1,150 +0,0 @@ -export PJDIR := @ac_pjdir@ -include $(PJDIR)/version.mak -export PJ_DIR := $(PJDIR) - -# @configure_input@ -export MACHINE_NAME := auto -export OS_NAME := auto -export HOST_NAME := unix -export CC_NAME := gcc -export TARGET_NAME := @target@ -export CROSS_COMPILE := @ac_cross_compile@ -export LINUX_POLL := @ac_linux_poll@ -export SHLIB_SUFFIX := @ac_shlib_suffix@ - -export ac_prefix := @prefix@ - -LIB_SUFFIX = $(TARGET_NAME).a - -# Determine which party libraries to use -export APP_THIRD_PARTY_LIBS := -lmilenage-$(TARGET_NAME) -lsrtp-$(TARGET_NAME) -export APP_THIRD_PARTY_EXT := -export APP_THIRD_PARTY_LIB_FILES := $(PJ_DIR)/third_party/lib/libmilenage-$(LIB_SUFFIX) $(PJ_DIR)/third_party/lib/libsrtp-$(LIB_SUFFIX) - -ifeq (@ac_resample_dll@,1) -export PJ_RESAMPLE_DLL := 1 -export APP_THIRD_PARTY_LIBS := -lresample $(APP_THIRD_PARTY_LIBS) -export APP_THIRD_PARTY_LIB_FILES := $(PJ_DIR)/third_party/lib/libresample.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/third_party/lib/libresample.$(SHLIB_SUFFIX) $(APP_THIRD_PARTY_LIB_FILES) -else -export APP_THIRD_PARTY_LIBS := -lresample-$(TARGET_NAME) $(APP_THIRD_PARTY_LIBS) -export APP_THIRD_PARTY_LIB_FILES := $(PJ_DIR)/third_party/lib/libresample-$(LIB_SUFFIX) $(APP_THIRD_PARTY_LIB_FILES) -endif - -ifneq (@ac_no_gsm_codec@,1) -ifeq (@ac_external_gsm@,1) -# External GSM library -APP_THIRD_PARTY_EXT += -lgsm -else -APP_THIRD_PARTY_LIBS += -lgsmcodec-$(TARGET_NAME) -APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libgsmcodec-$(LIB_SUFFIX) -endif -endif - -ifneq (@ac_no_speex_codec@,1) -ifeq (@ac_external_speex@,1) -APP_THIRD_PARTY_EXT += -lspeex -lspeexdsp -else -APP_THIRD_PARTY_LIBS += -lspeex-$(TARGET_NAME) -APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libspeex-$(LIB_SUFFIX) -endif -endif - -ifneq (@ac_no_ilbc_codec@,1) -APP_THIRD_PARTY_LIBS += -lilbccodec-$(TARGET_NAME) -APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libilbccodec-$(LIB_SUFFIX) -endif - -ifneq (@ac_no_g7221_codec@,1) -APP_THIRD_PARTY_LIBS += -lg7221codec-$(TARGET_NAME) -APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libg7221codec-$(LIB_SUFFIX) -endif - -ifneq ($(findstring pa,@ac_pjmedia_snd@),) -ifeq (@ac_external_pa@,1) -# External PA -APP_THIRD_PARTY_EXT += -lportaudio -else -APP_THIRD_PARTY_LIBS += -lportaudio-$(TARGET_NAME) -APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libportaudio-$(LIB_SUFFIX) -endif -endif - -# Additional flags -@ac_build_mak_vars@ - -# -# Video -# Note: there are duplicated macros in pjmedia/os-auto.mak.in (and that's not -# good! - -# SDL flags -SDL_CFLAGS = @ac_sdl_cflags@ -SDL_LDFLAGS = @ac_sdl_ldflags@ - -# FFMPEG dlags -FFMPEG_CFLAGS = @ac_ffmpeg_cflags@ -FFMPEG_LDFLAGS = @ac_ffmpeg_ldflags@ - -# Video4Linux2 -V4L2_CFLAGS = @ac_v4l2_cflags@ -V4L2_LDFLAGS = @ac_v4l2_ldflags@ - -# QT -AC_PJMEDIA_VIDEO_HAS_QT = @ac_pjmedia_video_has_qt@ -QT_CFLAGS = @ac_qt_cflags@ - -# iOS -IOS_CFLAGS = @ac_ios_cflags@ - -# PJMEDIA features exclusion -PJ_VIDEO_CFLAGS += $(SDL_CFLAGS) $(FFMPEG_CFLAGS) $(V4L2_CFLAGS) $(QT_CFLAGS) \ - $(IOS_CFLAGS) -PJ_VIDEO_LDFLAGS += $(SDL_LDFLAGS) $(FFMPEG_LDFLAGS) $(V4L2_LDFLAGS) - - -# CFLAGS, LDFLAGS, and LIBS to be used by applications -export APP_CC := @CC@ -export APP_CXX := @CXX@ -export APP_CFLAGS := -DPJ_AUTOCONF=1\ - @CFLAGS@\ - $(PJ_VIDEO_CFLAGS) \ - -I$(PJDIR)/pjlib/include\ - -I$(PJDIR)/pjlib-util/include\ - -I$(PJDIR)/pjnath/include\ - -I$(PJDIR)/pjmedia/include\ - -I$(PJDIR)/pjsip/include -export APP_CXXFLAGS := $(APP_CFLAGS) -export APP_LDFLAGS := -L$(PJDIR)/pjlib/lib\ - -L$(PJDIR)/pjlib-util/lib\ - -L$(PJDIR)/pjnath/lib\ - -L$(PJDIR)/pjmedia/lib\ - -L$(PJDIR)/pjsip/lib\ - -L$(PJDIR)/third_party/lib\ - $(PJ_VIDEO_LDFLAGS) \ - @LDFLAGS@ -export APP_LDLIBS := -lpjnath-$(TARGET_NAME)\ - -lpjlib-util-$(TARGET_NAME)\ - -lpj-$(TARGET_NAME)\ - @LIBS@ -export APP_LIB_FILES = $(PJ_DIR)/pjnath/lib/libpjnath-$(LIB_SUFFIX) \ - $(PJ_DIR)/pjlib-util/lib/libpjlib-util-$(LIB_SUFFIX) \ - $(PJ_DIR)/pjlib/lib/libpj-$(LIB_SUFFIX) - -# Here are the variabels to use if application is using the library -# from within the source distribution -export PJ_CC := $(APP_CC) -export PJ_CXX := $(APP_CXX) -export PJ_CFLAGS := $(APP_CFLAGS) -export PJ_CXXFLAGS := $(APP_CXXFLAGS) -export PJ_LDFLAGS := $(APP_LDFLAGS) -export PJ_LDLIBS := $(APP_LDLIBS) -export PJ_LIB_FILES := $(APP_LIB_FILES) - -# And here are the variables to use if application is using the -# library from the install location (i.e. --prefix) -export PJ_INSTALL_DIR := @prefix@ -export PJ_INSTALL_INC_DIR := $(PJ_INSTALL_DIR)/include -export PJ_INSTALL_LIB_DIR := $(PJ_INSTALL_DIR)/lib -export PJ_INSTALL_CFLAGS := -I$(PJ_INSTALL_INC_DIR) -DPJ_AUTOCONF=1 @CFLAGS@ -export PJ_INSTALL_CXXFLAGS := $(PJ_INSTALL_CFLAGS) -export PJ_INSTALL_LDFLAGS := -L$(PJ_INSTALL_LIB_DIR) $(APP_LDLIBS) diff --git a/res/pjproject/build.symbian/00.bat b/res/pjproject/build.symbian/00.bat deleted file mode 100644 index 4d41259dfa..0000000000 --- a/res/pjproject/build.symbian/00.bat +++ /dev/null @@ -1,7 +0,0 @@ -@rem set MWSym2Libraries=1 -@rem set EPOCROOT=\Symbian\9.1\S60_3rd\ -@rem set EPOCROOT=\Symbian\9.1\S60_3rd_MR_2\ -@rem set EPOCROOT=\Symbian\UIQ3SDK\ -@rem set EPOCROOT=\symbian\UIQ3.1\ -@rem set EPOCROOT=\symbian\9.2\S60_3rd_FP1\ -bldmake bldfiles diff --git a/res/pjproject/build.symbian/01.bat b/res/pjproject/build.symbian/01.bat deleted file mode 100644 index e670ae6a59..0000000000 --- a/res/pjproject/build.symbian/01.bat +++ /dev/null @@ -1,7 +0,0 @@ -@rem call abld build -v vs6 udeb -@rem call abld build -v gcce urel -@rem call abld build winscw udeb -call abld build %1 %2 %3 %4 - - - diff --git a/res/pjproject/build.symbian/bld.inf b/res/pjproject/build.symbian/bld.inf deleted file mode 100644 index 7e26998768..0000000000 --- a/res/pjproject/build.symbian/bld.inf +++ /dev/null @@ -1,37 +0,0 @@ -prj_platforms -winscw -armv5 -gcce - -prj_mmpfiles - -/* Libraries */ -pjlib.mmp -pjlib_util.mmp -pjnath.mmp -pjsdp.mmp -pjmedia.mmp -pjsip.mmp -pjsip_simple.mmp -pjsip_ua.mmp -pjsua_lib.mmp -libsrtp.mmp - -/* Codecs */ -libgsmcodec.mmp -libspeexcodec.mmp -libg7221codec.mmp -libpassthroughcodec.mmp - -/* Resample */ -libresample.mmp - -/* Audio device. */ -pjmedia_audiodev.mmp - -/* Applications */ -//symsndtest.mmp -symbian_ua.mmp -..\pjsip-apps\src\symbian_ua_gui\group\symbian_ua_gui.mmp -gnumakefile ..\pjsip-apps\src\symbian_ua_gui\group\Icons_aif_scalable_dc.mk -pjlib_test.mmp diff --git a/res/pjproject/build.symbian/libg7221codec.mmp b/res/pjproject/build.symbian/libg7221codec.mmp deleted file mode 100644 index 9807a88af0..0000000000 --- a/res/pjproject/build.symbian/libg7221codec.mmp +++ /dev/null @@ -1,56 +0,0 @@ -TARGET libg7221codec.lib -TARGETTYPE lib - -//OPTION CW -lang c++ -OPTION GCCE -O2 -fno-unit-at-a-time -OPTION ARMCC --gnu - -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -// -// GSM codec third party source -// - -SOURCEPATH ..\third_party\g7221\common - -SOURCE basic_op.c -SOURCE common.c -SOURCE huff_tab.c -SOURCE tables.c - -SOURCEPATH ..\third_party\g7221\decode - -SOURCE coef2sam.c -SOURCE dct4_s.c -SOURCE decoder.c - -SOURCEPATH ..\third_party\g7221\encode - -SOURCE dct4_a.c -SOURCE encoder.c -SOURCE sam2coef.c - - -// -// GSM codec wrapper for pjmedia-codec -// - -SOURCEPATH ..\pjmedia\src\pjmedia-codec -SOURCE g7221.c - -// -// Header files -// - - -SYSTEMINCLUDE ..\pjmedia\include -SYSTEMINCLUDE ..\pjlib\include -SYSTEMINCLUDE ..\third_party -SYSTEMINCLUDE ..\third_party\g7221\common -SYSTEMINCLUDE ..\third_party\g7221\decode -SYSTEMINCLUDE ..\third_party\g7221\encode - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc - diff --git a/res/pjproject/build.symbian/libgsmcodec.mmp b/res/pjproject/build.symbian/libgsmcodec.mmp deleted file mode 100644 index 875555bdcb..0000000000 --- a/res/pjproject/build.symbian/libgsmcodec.mmp +++ /dev/null @@ -1,72 +0,0 @@ -#if defined(PJ_BUILD_DLL) - -TARGET libgsmcodec.dll -TARGETTYPE dll -UID 0x0 0xA000000F - -CAPABILITY None -LIBRARY pjlib.lib euser.lib estlib.lib -MACRO PJ_DLL -MACRO PJ_EXPORTING - -DEFFILE .\libgsmcodec.def - -#else - -TARGET libgsmcodec.lib -TARGETTYPE lib - -#endif - -//OPTION CW -lang c++ -OPTION ARMCC --gnu - -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -// -// GSM codec third party source -// - -SOURCEPATH ..\third_party\gsm\src - -SOURCE add.c -SOURCE code.c -SOURCE debug.c -SOURCE decode.c -SOURCE gsm_create.c -SOURCE gsm_decode.c -SOURCE gsm_destroy.c -SOURCE gsm_encode.c -SOURCE gsm_explode.c -SOURCE gsm_implode.c -SOURCE gsm_option.c -SOURCE gsm_print.c -SOURCE long_term.c -SOURCE lpc.c -SOURCE preprocess.c -SOURCE rpe.c -SOURCE short_term.c -SOURCE table.c - - -// -// GSM codec wrapper for pjmedia-codec -// - -SOURCEPATH ..\pjmedia\src\pjmedia-codec -SOURCE gsm.c - -// -// Header files -// - - -SYSTEMINCLUDE ..\pjmedia\include -SYSTEMINCLUDE ..\pjlib\include -SYSTEMINCLUDE ..\third_party\build\gsm -SYSTEMINCLUDE ..\third_party\gsm\inc - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc - diff --git a/res/pjproject/build.symbian/libpassthroughcodec.mmp b/res/pjproject/build.symbian/libpassthroughcodec.mmp deleted file mode 100644 index 3a1911714e..0000000000 --- a/res/pjproject/build.symbian/libpassthroughcodec.mmp +++ /dev/null @@ -1,27 +0,0 @@ -TARGET libpassthroughcodec.lib -TARGETTYPE lib - -MACRO HAVE_CONFIG_H -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -// -// GCCE optimization setting -// -OPTION GCCE -O2 -fno-unit-at-a-time -OPTION ARMCC --gnu - -// -// Passthrough codecs wrapper for pjmedia-codec -// -SOURCEPATH ..\pjmedia\src\pjmedia-codec -SOURCE passthrough.c - -// -// Header files -// -SYSTEMINCLUDE ..\pjmedia\include -SYSTEMINCLUDE ..\pjlib\include - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc diff --git a/res/pjproject/build.symbian/libresample.mmp b/res/pjproject/build.symbian/libresample.mmp deleted file mode 100644 index 3a44e456f5..0000000000 --- a/res/pjproject/build.symbian/libresample.mmp +++ /dev/null @@ -1,26 +0,0 @@ -TARGET libresample.lib -TARGETTYPE lib - -SOURCEPATH ..\third_party\resample\src - -// -// GCCE optimization setting -// -OPTION GCCE -O2 -fno-unit-at-a-time -OPTION ARMCC --gnu - -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -MACRO RESAMPLE_HAS_SMALL_FILTER=1 -MACRO RESAMPLE_HAS_LARGE_FILTER=0 - -SOURCE resamplesubs.c - -SYSTEMINCLUDE ..\third_party\resample\include -SYSTEMINCLUDE ..\third_party\build\resample - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc - - diff --git a/res/pjproject/build.symbian/libspeexcodec.mmp b/res/pjproject/build.symbian/libspeexcodec.mmp deleted file mode 100644 index 816d805370..0000000000 --- a/res/pjproject/build.symbian/libspeexcodec.mmp +++ /dev/null @@ -1,74 +0,0 @@ -TARGET libspeexcodec.lib -TARGETTYPE lib - -MACRO HAVE_CONFIG_H -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -// -// GCCE optimization setting -// -OPTION GCCE -O2 -fno-unit-at-a-time -OPTION ARMCC --gnu - -// -// Speex files -// -SOURCEPATH ..\third_party\speex\libspeex - -SOURCE bits.c -SOURCE cb_search.c -SOURCE exc_5_64_table.c -SOURCE exc_5_256_table.c -SOURCE exc_8_128_table.c -SOURCE exc_10_16_table.c -SOURCE exc_10_32_table.c -SOURCE exc_20_32_table.c -SOURCE fftwrap.c -SOURCE filterbank.c -SOURCE filters.c -SOURCE gain_table.c -SOURCE gain_table_lbr.c -SOURCE hexc_10_32_table.c -SOURCE hexc_table.c -SOURCE high_lsp_tables.c -SOURCE kiss_fft.c -SOURCE kiss_fftr.c -SOURCE lpc.c -SOURCE lsp.c -SOURCE lsp_tables_nb.c -SOURCE ltp.c -SOURCE mdf.c -SOURCE modes.c -SOURCE modes_wb.c -SOURCE nb_celp.c -SOURCE preprocess.c -SOURCE quant_lsp.c -SOURCE sb_celp.c -SOURCE smallft.c -SOURCE speex.c -SOURCE speex_callbacks.c -SOURCE speex_header.c -SOURCE stereo.c -SOURCE vbr.c -SOURCE vq.c -SOURCE window.c - -// -// Speex codec wrapper for pjmedia-codec -// -SOURCEPATH ..\pjmedia\src\pjmedia-codec -SOURCE speex_codec.c - -// -// Header files -// -SYSTEMINCLUDE ..\third_party\speex\include\speex -SYSTEMINCLUDE ..\third_party\speex\include -SYSTEMINCLUDE ..\third_party\speex\symbian - -SYSTEMINCLUDE ..\pjmedia\include -SYSTEMINCLUDE ..\pjlib\include - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc diff --git a/res/pjproject/build.symbian/libsrtp.mmp b/res/pjproject/build.symbian/libsrtp.mmp deleted file mode 100644 index 4309e6dc10..0000000000 --- a/res/pjproject/build.symbian/libsrtp.mmp +++ /dev/null @@ -1,60 +0,0 @@ -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 -OPTION ARMCC --gnu - -// -// 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/res/pjproject/build.symbian/makedef.sh b/res/pjproject/build.symbian/makedef.sh deleted file mode 100644 index d909dbec63..0000000000 --- a/res/pjproject/build.symbian/makedef.sh +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh - -MMP=$1 -if test "$MMP" == ""; then - echo "Usage: makedef.sh FILE.MMP" - echo " or makedef.sh all" - exit 1 -fi - -if test "$MMP" == "all"; then - . $0 pjlib.mmp - . $0 pjlib_util.mmp - . $0 pjnath.mmp - . $0 pjmedia.mmp - . $0 pjsdp.mmp - . $0 pjsip.mmp - . $0 pjsip_simple.mmp - . $0 pjsip_ua.mmp - . $0 pjsua_lib.mmp - . $0 symbian_audio.mmp - . $0 null_audio.mmp - exit 0 -fi - -if test -f $MMP; then - true -else - echo "Unable to open $MMP" - exit 1 -fi - -TARGET=`grep -w '^TARGET' $MMP | awk '{print $2}' | awk -F '.' '{print $1}' | head -1` -DEFFILE="${TARGET}U.def" -SOURCES=`grep -w '^SOURCE' $MMP | awk '{print $2}' | tr '\\\\' '/'` -SOURCEPATH=`grep -w '^SOURCEPATH' $MMP | tr '\\\\' '/' | awk '{print $2}'` -INCPATH=`grep 'INCLUDE' $MMP | awk '{print $2}' | grep pj | tr '\\\\' '/'` -INCLUDE="" -for INC in $INCPATH; do - INCLUDE=`echo $INCLUDE -I$INC` -done - -#-- debug -- -#echo TARGET=$TARGET -#echo SOURCES=$SOURCES -#echo SOURCEPATH=$SOURCEPATH -#echo INCLUDE=$INCLUDE -#-- end -- - -echo > tmpnames.def - -echo "${TARGET}:" - -for file in $SOURCES; do - #SYMBOLS=`grep PJ_DEF ${SOURCEPATH}/$file | awk -F ')' '{print $2}' | awk -F '(' '{print $1}' | awk -F '=' '{print $1}' | tr -d '[:blank:]' | sort | uniq` - SYMBOLS=` - cpp -DPJ_SYMBIAN=1 -DPJ_DLL -DPJ_EXPORTING=1 $INCLUDE ${SOURCEPATH}/$file 2>&1 | - grep EXPORT_C | - sed 's/(/;/' | - sed 's/=/;/' | - awk -F ';' '{print $1}' | - awk '{print $NF}'` - echo Processing ${SOURCEPATH}/$file.. - for SYM in $SYMBOLS; do - echo $SYM >> tmpnames.def - done -done - -echo "Writing $DEFFILE" -echo EXPORTS > $DEFFILE -i=0 -for SYM in `cat tmpnames.def | sort | uniq`; do - echo " $SYM" - i=`expr $i + 1` - printf "\\t%-40s @ $i NONAME\\n" $SYM >> $DEFFILE -done - - -echo -echo "Done. Total $i symbols exported in $DEFFILE." - diff --git a/res/pjproject/build.symbian/null_audio.mmp b/res/pjproject/build.symbian/null_audio.mmp deleted file mode 100644 index de1dcbdc69..0000000000 --- a/res/pjproject/build.symbian/null_audio.mmp +++ /dev/null @@ -1,40 +0,0 @@ -#if defined(PJ_BUILD_DLL) - -TARGET null_audio.dll -TARGETTYPE dll -UID 0x0 0xA0000000 - - -CAPABILITY None -LIBRARY pjlib.lib charconv.lib euser.lib estlib.lib -MACRO PJ_DLL -MACRO PJ_EXPORTING - -DEFFILE .\null_audio.def - -#else - -TARGET null_audio.lib -TARGETTYPE lib - -#endif - -SOURCEPATH ..\pjmedia\src\pjmedia - -OPTION CW -lang c++ -OPTION ARMCC --gnu - -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -// -// Platform independent source -// -SOURCE nullsound.c - -SYSTEMINCLUDE ..\pjlib\include -SYSTEMINCLUDE ..\pjmedia\include - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc - diff --git a/res/pjproject/build.symbian/null_audioU.def b/res/pjproject/build.symbian/null_audioU.def deleted file mode 100644 index 883d5d8361..0000000000 --- a/res/pjproject/build.symbian/null_audioU.def +++ /dev/null @@ -1,12 +0,0 @@ -EXPORTS - pjmedia_snd_deinit @ 1 NONAME - pjmedia_snd_get_dev_count @ 2 NONAME - pjmedia_snd_get_dev_info @ 3 NONAME - pjmedia_snd_init @ 4 NONAME - pjmedia_snd_open @ 5 NONAME - pjmedia_snd_open_player @ 6 NONAME - pjmedia_snd_open_rec @ 7 NONAME - pjmedia_snd_stream_close @ 8 NONAME - pjmedia_snd_stream_get_info @ 9 NONAME - pjmedia_snd_stream_start @ 10 NONAME - pjmedia_snd_stream_stop @ 11 NONAME diff --git a/res/pjproject/build.symbian/pjlib.mmp b/res/pjproject/build.symbian/pjlib.mmp deleted file mode 100644 index e5c3107362..0000000000 --- a/res/pjproject/build.symbian/pjlib.mmp +++ /dev/null @@ -1,122 +0,0 @@ -#if defined(PJ_BUILD_DLL) -TARGET pjlib.dll -TARGETTYPE dll -UID 0x0 0xA0000001 - -CAPABILITY NONE -LIBRARY esock.lib insock.lib charconv.lib euser.lib estlib.lib -MACRO PJ_DLL -MACRO PJ_EXPORTING - -DEFFILE .\pjlib.def - -#else - -TARGET pjlib.lib -TARGETTYPE lib - -#endif - -SOURCEPATH ..\pjlib\src\pj - -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -// Must compile as C++, otherwise exception would not work -OPTION CW -lang c++ -OPTION ARMCC --cpp --gnu -OPTION GCC -x c++ -OPTION GCCE -x c++ - -// -// Platform independent source -// -SOURCE activesock.c -SOURCE array.c -SOURCE config.c -SOURCE ctype.c -SOURCE errno.c -SOURCE fifobuf.c -SOURCE guid.c -SOURCE hash.c -SOURCE list.c -SOURCE lock.c -SOURCE string.c -SOURCE log.c -SOURCE os_info.c -SOURCE os_info_symbian.cpp -SOURCE os_time_common.c -SOURCE pool.c -SOURCE pool_buf.c -SOURCE pool_caching.c -SOURCE rand.c -SOURCE rbtree.c -SOURCE ssl_sock_common.c -SOURCE ssl_sock_dump.c -SOURCE sock_common.c -SOURCE sock_qos_common.c -SOURCE types.c - - -// -// Platform dependent source -// -SOURCE compat\string_compat.c -SOURCE addr_resolv_symbian.cpp -SOURCE exception_symbian.cpp -SOURCE file_access_unistd.c -SOURCE file_io_ansi.c -SOURCE guid_simple.c -SOURCE ioqueue_symbian.cpp -SOURCE ip_helper_symbian.cpp -SOURCE log_writer_symbian_console.cpp -SOURCE os_core_symbian.cpp -SOURCE os_error_symbian.cpp -SOURCE os_timestamp_common.c -SOURCE os_time_unix.c -SOURCE os_timestamp_posix.c -SOURCE pool_policy_new.cpp -SOURCE ssl_sock_symbian.cpp -SOURCE sock_symbian.cpp -SOURCE sock_select_symbian.cpp -SOURCE sock_qos_symbian.cpp -SOURCE timer_symbian.cpp -SOURCE unicode_symbian.cpp - -//DOCUMENT os_symbian.h - -//DOCUMENT pj\addr_resolv.h -//DOCUMENT pj\array.h -//DOCUMENT pj\assert.h -//DOCUMENT pj\config.h -//DOCUMENT pj\config_site.h -//DOCUMENT pj\config_site_sample.h -//DOCUMENT pj\ctype.h -//DOCUMENT pj\errno.h -//DOCUMENT pj\except.h -//DOCUMENT pj\file_access.h -//DOCUMENT pj\file_io.h -//DOCUMENT pj\guid.h -//DOCUMENT pj\hash.h -//DOCUMENT pj\ioqueue.h -//DOCUMENT pj\ip_helper.h -//DOCUMENT pj\list.h -//DOCUMENT pj\lock.h -//DOCUMENT pj\log.h -//DOCUMENT pj\os.h -//DOCUMENT pj\\pool.h -//DOCUMENT pj\\pool_buf.h -//DOCUMENT pj\rand.h -//DOCUMENT pj\rbtree.h -//DOCUMENT pj\sock.h -//DOCUMENT pj\sock_select.h -//DOCUMENT pj\string.h -//DOCUMENT pj\timer.h -//DOCUMENT pj\types.h -//DOCUMENT pj\unicode.h - -SYSTEMINCLUDE ..\pjlib\include -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc - - diff --git a/res/pjproject/build.symbian/pjlibU.def b/res/pjproject/build.symbian/pjlibU.def deleted file mode 100644 index 3ddcb407eb..0000000000 --- a/res/pjproject/build.symbian/pjlibU.def +++ /dev/null @@ -1,323 +0,0 @@ -EXPORTS - PJ_FD_CLR @ 1 NONAME - PJ_FD_COUNT @ 2 NONAME - PJ_FD_ISSET @ 3 NONAME - PJ_FD_SET @ 4 NONAME - PJ_FD_ZERO @ 5 NONAME - PJ_GUID_STRING_LENGTH @ 6 NONAME - PJ_NO_MEMORY_EXCEPTION @ 7 NONAME - PJ_VERSION @ 8 NONAME - pj_AF_INET @ 9 NONAME - pj_AF_INET6 @ 10 NONAME - pj_AF_IRDA @ 11 NONAME - pj_AF_PACKET @ 12 NONAME - pj_AF_UNIX @ 13 NONAME - pj_AF_UNSPEC @ 14 NONAME - pj_GUID_STRING_LENGTH @ 15 NONAME - pj_IPTOS_LOWDELAY @ 16 NONAME - pj_IPTOS_MINCOST @ 17 NONAME - pj_IPTOS_RELIABILITY @ 18 NONAME - pj_IPTOS_THROUGHPUT @ 19 NONAME - pj_IP_TOS @ 20 NONAME - pj_MSG_DONTROUTE @ 21 NONAME - pj_MSG_OOB @ 22 NONAME - pj_MSG_PEEK @ 23 NONAME - pj_NO_MEMORY_EXCEPTION @ 24 NONAME - pj_SOCK_DGRAM @ 25 NONAME - pj_SOCK_RAW @ 26 NONAME - pj_SOCK_RDM @ 27 NONAME - pj_SOCK_STREAM @ 28 NONAME - pj_SOL_IP @ 29 NONAME - pj_SOL_IPV6 @ 30 NONAME - pj_SOL_SOCKET @ 31 NONAME - pj_SOL_TCP @ 32 NONAME - pj_SOL_UDP @ 33 NONAME - pj_SO_RCVBUF @ 34 NONAME - pj_SO_SNDBUF @ 35 NONAME - pj_SO_TYPE @ 36 NONAME - pj_ansi_to_unicode @ 37 NONAME - pj_array_erase @ 38 NONAME - pj_array_find @ 39 NONAME - pj_array_insert @ 40 NONAME - pj_atexit @ 41 NONAME - pj_atomic_add @ 42 NONAME - pj_atomic_add_and_get @ 43 NONAME - pj_atomic_create @ 44 NONAME - pj_atomic_dec @ 45 NONAME - pj_atomic_dec_and_get @ 46 NONAME - pj_atomic_destroy @ 47 NONAME - pj_atomic_get @ 48 NONAME - pj_atomic_inc @ 49 NONAME - pj_atomic_inc_and_get @ 50 NONAME - pj_atomic_set @ 51 NONAME - pj_caching_pool_destroy @ 52 NONAME - pj_caching_pool_init @ 53 NONAME - pj_create_random_string @ 54 NONAME - pj_create_unique_string @ 55 NONAME - pj_dump_config @ 56 NONAME - pj_elapsed_cycle @ 57 NONAME - pj_elapsed_msec @ 58 NONAME - pj_elapsed_nanosec @ 59 NONAME - pj_elapsed_time @ 60 NONAME - pj_elapsed_usec @ 61 NONAME - pj_enter_critical_section @ 62 NONAME - pj_enum_ip_interface @ 63 NONAME - pj_enum_ip_route @ 64 NONAME - pj_exception_id_alloc @ 65 NONAME - pj_exception_id_free @ 66 NONAME - pj_exception_id_name @ 67 NONAME - pj_fifobuf_alloc @ 68 NONAME - pj_fifobuf_free @ 69 NONAME - pj_fifobuf_init @ 70 NONAME - pj_fifobuf_max_size @ 71 NONAME - pj_fifobuf_unalloc @ 72 NONAME - pj_file_close @ 73 NONAME - pj_file_delete @ 74 NONAME - pj_file_exists @ 75 NONAME - pj_file_flush @ 76 NONAME - pj_file_getpos @ 77 NONAME - pj_file_getstat @ 78 NONAME - pj_file_move @ 79 NONAME - pj_file_open @ 80 NONAME - pj_file_read @ 81 NONAME - pj_file_setpos @ 82 NONAME - pj_file_size @ 83 NONAME - pj_file_write @ 84 NONAME - pj_generate_unique_string @ 85 NONAME - pj_get_netos_error @ 86 NONAME - pj_get_os_error @ 87 NONAME - pj_get_timestamp @ 88 NONAME - pj_get_timestamp_freq @ 89 NONAME - pj_get_version @ 90 NONAME - pj_getaddrinfo @ 91 NONAME - pj_getdefaultipinterface @ 92 NONAME - pj_gethostaddr @ 93 NONAME - pj_gethostbyname @ 94 NONAME - pj_gethostip @ 95 NONAME - pj_gethostname @ 96 NONAME - pj_getpid @ 97 NONAME - pj_gettimeofday @ 98 NONAME - pj_hash_calc @ 99 NONAME - pj_hash_calc_tolower @ 100 NONAME - pj_hash_count @ 101 NONAME - pj_hash_create @ 102 NONAME - pj_hash_first @ 103 NONAME - pj_hash_get @ 104 NONAME - pj_hash_next @ 105 NONAME - pj_hash_set @ 106 NONAME - pj_hash_set_np @ 107 NONAME - pj_hash_this @ 108 NONAME - pj_htonl @ 109 NONAME - pj_htons @ 110 NONAME - pj_inet_addr @ 111 NONAME - pj_inet_addr2 @ 112 NONAME - pj_inet_aton @ 113 NONAME - pj_inet_ntoa @ 114 NONAME - pj_inet_ntop @ 115 NONAME - pj_inet_ntop2 @ 116 NONAME - pj_inet_pton @ 117 NONAME - pj_init @ 118 NONAME - pj_ioqueue_accept @ 119 NONAME - pj_ioqueue_connect @ 120 NONAME - pj_ioqueue_create @ 121 NONAME - pj_ioqueue_destroy @ 122 NONAME - pj_ioqueue_get_user_data @ 123 NONAME - pj_ioqueue_is_pending @ 124 NONAME - pj_ioqueue_name @ 125 NONAME - pj_ioqueue_op_key_init @ 126 NONAME - pj_ioqueue_poll @ 127 NONAME - pj_ioqueue_post_completion @ 128 NONAME - pj_ioqueue_recv @ 129 NONAME - pj_ioqueue_recvfrom @ 130 NONAME - pj_ioqueue_register_sock @ 131 NONAME - pj_ioqueue_send @ 132 NONAME - pj_ioqueue_sendto @ 133 NONAME - pj_ioqueue_set_lock @ 134 NONAME - pj_ioqueue_set_user_data @ 135 NONAME - pj_ioqueue_unregister @ 136 NONAME - pj_leave_critical_section @ 137 NONAME - pj_list_erase @ 138 NONAME - pj_list_find_node @ 139 NONAME - pj_list_insert_after @ 140 NONAME - pj_list_insert_before @ 141 NONAME - pj_list_insert_nodes_after @ 142 NONAME - pj_list_insert_nodes_before @ 143 NONAME - pj_list_merge_first @ 144 NONAME - pj_list_merge_last @ 145 NONAME - pj_list_search @ 146 NONAME - pj_list_size @ 147 NONAME - pj_lock_acquire @ 148 NONAME - pj_lock_create_null_mutex @ 149 NONAME - pj_lock_create_recursive_mutex @ 150 NONAME - pj_lock_create_semaphore @ 151 NONAME - pj_lock_create_simple_mutex @ 152 NONAME - pj_lock_destroy @ 153 NONAME - pj_lock_release @ 154 NONAME - pj_lock_tryacquire @ 155 NONAME - pj_log @ 156 NONAME - pj_log_1 @ 157 NONAME - pj_log_2 @ 158 NONAME - pj_log_3 @ 159 NONAME - pj_log_4 @ 160 NONAME - pj_log_5 @ 161 NONAME - pj_log_get_decor @ 162 NONAME - pj_log_get_level @ 163 NONAME - pj_log_get_log_func @ 164 NONAME - pj_log_set_decor @ 165 NONAME - pj_log_set_level @ 166 NONAME - pj_log_set_log_func @ 167 NONAME - pj_log_write @ 168 NONAME - pj_mutex_create @ 169 NONAME - pj_mutex_create_recursive @ 170 NONAME - pj_mutex_create_simple @ 171 NONAME - pj_mutex_destroy @ 172 NONAME - pj_mutex_lock @ 173 NONAME - pj_mutex_trylock @ 174 NONAME - pj_mutex_unlock @ 175 NONAME - pj_ntohl @ 176 NONAME - pj_ntohs @ 177 NONAME - pj_pool_alloc @ 178 NONAME - pj_pool_alloc_from_block @ 179 NONAME - pj_pool_allocate_find @ 180 NONAME - pj_pool_calloc @ 181 NONAME - pj_pool_create @ 182 NONAME - pj_pool_create_int @ 183 NONAME - pj_pool_create_on_buf @ 184 NONAME - pj_pool_destroy_int @ 185 NONAME - pj_pool_factory_default_policy @ 186 NONAME - pj_pool_factory_get_default_policy @ 187 NONAME - pj_pool_get_capacity @ 188 NONAME - pj_pool_get_used_size @ 189 NONAME - pj_pool_getobjname @ 190 NONAME - pj_pool_init_int @ 191 NONAME - pj_pool_release @ 192 NONAME - pj_pool_reset @ 193 NONAME - pj_rand @ 194 NONAME - pj_rbtree_erase @ 195 NONAME - pj_rbtree_find @ 196 NONAME - pj_rbtree_first @ 197 NONAME - pj_rbtree_init @ 198 NONAME - pj_rbtree_insert @ 199 NONAME - pj_rbtree_last @ 200 NONAME - pj_rbtree_max_height @ 201 NONAME - pj_rbtree_min_height @ 202 NONAME - pj_rbtree_next @ 203 NONAME - pj_rbtree_prev @ 204 NONAME - pj_register_strerror @ 205 NONAME - pj_rwmutex_create @ 206 NONAME - pj_rwmutex_destroy @ 207 NONAME - pj_rwmutex_lock_read @ 208 NONAME - pj_rwmutex_lock_write @ 209 NONAME - pj_rwmutex_unlock_read @ 210 NONAME - pj_rwmutex_unlock_write @ 211 NONAME - pj_sem_create @ 212 NONAME - pj_sem_destroy @ 213 NONAME - pj_sem_post @ 214 NONAME - pj_sem_trywait @ 215 NONAME - pj_sem_wait @ 216 NONAME - pj_set_netos_error @ 217 NONAME - pj_set_os_error @ 218 NONAME - pj_shutdown @ 219 NONAME - pj_sock_accept @ 220 NONAME - pj_sock_bind @ 221 NONAME - pj_sock_bind_in @ 222 NONAME - pj_sock_close @ 223 NONAME - pj_sock_connect @ 224 NONAME - pj_sock_getpeername @ 225 NONAME - pj_sock_getsockname @ 226 NONAME - pj_sock_getsockopt @ 227 NONAME - pj_sock_listen @ 228 NONAME - pj_sock_recv @ 229 NONAME - pj_sock_recvfrom @ 230 NONAME - pj_sock_select @ 231 NONAME - pj_sock_send @ 232 NONAME - pj_sock_sendto @ 233 NONAME - pj_sock_setsockopt @ 234 NONAME - pj_sock_shutdown @ 235 NONAME - pj_sock_socket @ 236 NONAME - pj_sockaddr_cmp @ 237 NONAME - pj_sockaddr_copy_addr @ 238 NONAME - pj_sockaddr_get_addr @ 239 NONAME - pj_sockaddr_get_addr_len @ 240 NONAME - pj_sockaddr_get_len @ 241 NONAME - pj_sockaddr_get_port @ 242 NONAME - pj_sockaddr_has_addr @ 243 NONAME - pj_sockaddr_in_get_addr @ 244 NONAME - pj_sockaddr_in_get_port @ 245 NONAME - pj_sockaddr_in_init @ 246 NONAME - pj_sockaddr_in_set_addr @ 247 NONAME - pj_sockaddr_in_set_port @ 248 NONAME - pj_sockaddr_in_set_str_addr @ 249 NONAME - pj_sockaddr_init @ 250 NONAME - pj_sockaddr_print @ 251 NONAME - pj_sockaddr_set_port @ 252 NONAME - pj_sockaddr_set_str_addr @ 253 NONAME - pj_srand @ 254 NONAME - pj_str @ 255 NONAME - pj_strassign @ 256 NONAME - pj_strcat @ 257 NONAME - pj_strcat2 @ 258 NONAME - pj_strcmp @ 259 NONAME - pj_strcmp2 @ 260 NONAME - pj_strcpy @ 261 NONAME - pj_strcpy2 @ 262 NONAME - pj_strdup @ 263 NONAME - pj_strdup2 @ 264 NONAME - pj_strdup2_with_null @ 265 NONAME - pj_strdup3 @ 266 NONAME - pj_strdup_with_null @ 267 NONAME - pj_strerror @ 268 NONAME - pj_stricmp @ 269 NONAME - pj_stricmp2 @ 270 NONAME - pj_strltrim @ 271 NONAME - pj_strncmp @ 272 NONAME - pj_strncmp2 @ 273 NONAME - pj_strncpy @ 274 NONAME - pj_strncpy_with_null @ 275 NONAME - pj_strnicmp @ 276 NONAME - pj_strnicmp2 @ 277 NONAME - pj_strrtrim @ 278 NONAME - pj_strtoul @ 279 NONAME - pj_strtoul2 @ 280 NONAME - pj_strtrim @ 281 NONAME - pj_symbianos_poll @ 282 NONAME - pj_symbianos_set_params @ 283 NONAME - pj_thread_check_stack @ 284 NONAME - pj_thread_create @ 285 NONAME - pj_thread_destroy @ 286 NONAME - pj_thread_get_name @ 287 NONAME - pj_thread_get_os_handle @ 288 NONAME - pj_thread_get_stack_info @ 289 NONAME - pj_thread_get_stack_max_usage @ 290 NONAME - pj_thread_is_registered @ 291 NONAME - pj_thread_join @ 292 NONAME - pj_thread_local_alloc @ 293 NONAME - pj_thread_local_free @ 294 NONAME - pj_thread_local_get @ 295 NONAME - pj_thread_local_set @ 296 NONAME - pj_thread_register @ 297 NONAME - pj_thread_resume @ 298 NONAME - pj_thread_sleep @ 299 NONAME - pj_thread_this @ 300 NONAME - pj_time_decode @ 301 NONAME - pj_time_encode @ 302 NONAME - pj_time_gmt_to_local @ 303 NONAME - pj_time_local_to_gmt @ 304 NONAME - pj_time_val_normalize @ 305 NONAME - pj_timer_entry_init @ 306 NONAME - pj_timer_heap_cancel @ 307 NONAME - pj_timer_heap_count @ 308 NONAME - pj_timer_heap_create @ 309 NONAME - pj_timer_heap_destroy @ 310 NONAME - pj_timer_heap_earliest_time @ 311 NONAME - pj_timer_heap_mem_size @ 312 NONAME - pj_timer_heap_poll @ 313 NONAME - pj_timer_heap_schedule @ 314 NONAME - pj_timer_heap_set_lock @ 315 NONAME - pj_timer_heap_set_max_timed_out_per_poll @ 316 NONAME - pj_unicode_to_ansi @ 317 NONAME - pj_utoa @ 318 NONAME - pj_utoa_pad @ 319 NONAME - platform_strerror @ 320 NONAME - snprintf @ 321 NONAME - vsnprintf @ 322 NONAME diff --git a/res/pjproject/build.symbian/pjlib_test.mmp b/res/pjproject/build.symbian/pjlib_test.mmp deleted file mode 100644 index 73f004bea8..0000000000 --- a/res/pjproject/build.symbian/pjlib_test.mmp +++ /dev/null @@ -1,83 +0,0 @@ -TARGET pjlib_test.exe -TARGETTYPE exe -UID 0x0 0xA0000002 - - -SOURCEPATH ..\pjlib\src\pjlib-test - -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -// Must compile as C++, otherwise exception would not work -OPTION CW -lang c++ -OPTION ARMCC --cpp --gnu -OPTION GCC -x c++ -OPTION GCCE -x c++ - -#if defined(PJ_BUILD_DLL) -MACRO PJ_DLL -LIBRARY pjlib.lib -#else -STATICLIBRARY pjlib.lib -#endif - -// Test files - -SOURCE activesock.c -SOURCE atomic.c -SOURCE echo_clt.c -SOURCE errno.c -SOURCE exception_wrap.cpp -SOURCE fifobuf.c -SOURCE file.c -SOURCE hash_test.c -SOURCE ioq_perf.c -SOURCE ioq_tcp.c -SOURCE ioq_udp.c -SOURCE ioq_unreg.c -SOURCE list.c -SOURCE mutex.c -SOURCE os.c -SOURCE pool_wrap.cpp -SOURCE pool_perf.c -SOURCE rand.c -SOURCE rbtree.c -SOURCE select.c -SOURCE sleep.c -SOURCE sock.c -SOURCE sock_perf.c -SOURCE ssl_sock.c -SOURCE string.c -SOURCE test_wrap.cpp -SOURCE thread.c -SOURCE timer.c -SOURCE timestamp.c -SOURCE udp_echo_srv_ioqueue.c -SOURCE udp_echo_srv_sync.c -SOURCE util.c - -SOURCE main_symbian.cpp - -DOCUMENT test.h - -START RESOURCE pjlib_test_reg.rss - TARGETPATH \private\10003a3f\apps -END - -SYSTEMINCLUDE ..\pjlib\include - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc - -LIBRARY esock.lib insock.lib charconv.lib euser.lib estlib.lib -LIBRARY securesocket.lib x509.lib crypto.lib x500.lib -LIBRARY hal.lib efsrv.lib - -#ifdef WINSCW -STATICLIBRARY eexe.lib ecrt0.lib -#endif - -// Need a bit of mem for logging in the app. -EPOCSTACKSIZE 32768 - -CAPABILITY NetworkServices LocalServices ReadUserData WriteUserData UserEnvironment diff --git a/res/pjproject/build.symbian/pjlib_test.pkg b/res/pjproject/build.symbian/pjlib_test.pkg deleted file mode 100644 index 06d13aac09..0000000000 --- a/res/pjproject/build.symbian/pjlib_test.pkg +++ /dev/null @@ -1,19 +0,0 @@ -; pjlib_test.pkg - -; Languages -&EN - -; Header -;#{"pjlib_test"},(0x200235D3), 0, 1, 1 -#{"pjlib_test"},(0xA0000002), 0, 1, 1 - -; Platform compatibility -[0x101F7961], *, *, *,{"Series60ProductID"} - -; vendor -%{"PJSIP"} -:"PJSIP" - -; Target -"$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\pjlib_test.exe"-"!:\sys\bin\pjlib_test.exe" -"$(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\pjlib_test_reg.rSC"-"!:\private\10003a3f\import\apps\pjlib_test_reg.rSC" diff --git a/res/pjproject/build.symbian/pjlib_util.mmp b/res/pjproject/build.symbian/pjlib_util.mmp deleted file mode 100644 index fbf4b426ad..0000000000 --- a/res/pjproject/build.symbian/pjlib_util.mmp +++ /dev/null @@ -1,83 +0,0 @@ -#if defined(PJ_BUILD_DLL) -TARGET pjlib_util.dll -TARGETTYPE dll -UID 0x0 0xA0000003 - -CAPABILITY NONE -LIBRARY pjlib.lib esock.lib insock.lib charconv.lib euser.lib estlib.lib -MACRO PJ_DLL -MACRO PJ_EXPORTING - -DEFFILE .\pjlib_util.def - -#else - -TARGET pjlib_util.lib -TARGETTYPE lib - -#endif - -SOURCEPATH ..\pjlib-util\src\pjlib-util - -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -// Must compile as C++, otherwise exception would not work -OPTION CW -lang c++ -OPTION ARMCC --cpp --gnu -OPTION GCC -x c++ -OPTION GCCE -x c++ - -// -// PJLIB-UTIL files -// -SOURCE base64.c -SOURCE crc32.c -SOURCE dns.c -SOURCE dns_dump.c -SOURCE dns_server.c -SOURCE errno.c -SOURCE getopt.c -SOURCE hmac_md5.c -SOURCE hmac_sha1.c -SOURCE http_client.c -SOURCE md5.c -SOURCE pcap.c -SOURCE resolver_wrap.cpp -SOURCE scanner.c -SOURCE sha1.c -SOURCE srv_resolver.c -SOURCE string.c -SOURCE stun_simple.c -SOURCE stun_simple_client.c -SOURCE xml_wrap.cpp - -// -// Header files -// -//DOCUMENT pjlib-util\\config.h -//DOCUMENT pjlib-util\\crc32.h -//DOCUMENT pjlib-util\\dns.h -//DOCUMENT pjlib-util\\errno.h -//DOCUMENT pjlib-util\\getopt.h -//DOCUMENT pjlib-util\\hmac_md5.h -//DOCUMENT pjlib-util\hmac_sha1.h -//DOCUMENT pjlib-util\http_client.h -//DOCUMENT pjlib-util\md5.h -//DOCUMENT pjlib-util\resolver.h -//DOCUMENT pjlib-util\scanner.h -//DOCUMENT pjlib-util\sha1.h -//DOCUMENT pjlib-util\srv_resolver.h -//DOCUMENT pjlib-util\string.h -//DOCUMENT pjlib-util\stun_simple.h -//DOCUMENT pjlib-util\types.h -//DOCUMENT pjlib-util\xml.h - - -SYSTEMINCLUDE ..\pjlib\include -SYSTEMINCLUDE ..\pjlib-util\include - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc - - diff --git a/res/pjproject/build.symbian/pjlib_utilU.def b/res/pjproject/build.symbian/pjlib_utilU.def deleted file mode 100644 index 3e482afec5..0000000000 --- a/res/pjproject/build.symbian/pjlib_utilU.def +++ /dev/null @@ -1,92 +0,0 @@ -EXPORTS - pj_cis_add_alpha @ 1 NONAME - pj_cis_add_cis @ 2 NONAME - pj_cis_add_num @ 3 NONAME - pj_cis_add_range @ 4 NONAME - pj_cis_add_str @ 5 NONAME - pj_cis_buf_init @ 6 NONAME - pj_cis_del_range @ 7 NONAME - pj_cis_del_str @ 8 NONAME - pj_cis_dup @ 9 NONAME - pj_cis_init @ 10 NONAME - pj_cis_invert @ 11 NONAME - pj_crc32_calc @ 12 NONAME - pj_crc32_final @ 13 NONAME - pj_crc32_init @ 14 NONAME - pj_crc32_update @ 15 NONAME - pj_dns_dump_packet @ 16 NONAME - pj_dns_get_type_name @ 17 NONAME - pj_dns_make_query @ 18 NONAME - pj_dns_packet_dup @ 19 NONAME - pj_dns_parse_a_response @ 20 NONAME - pj_dns_parse_packet @ 21 NONAME - pj_dns_resolver_add_entry @ 22 NONAME - pj_dns_resolver_cancel_query @ 23 NONAME - pj_dns_resolver_create @ 24 NONAME - pj_dns_resolver_destroy @ 25 NONAME - pj_dns_resolver_dump @ 26 NONAME - pj_dns_resolver_get_cached_count @ 27 NONAME - pj_dns_resolver_get_settings @ 28 NONAME - pj_dns_resolver_handle_events @ 29 NONAME - pj_dns_resolver_set_ns @ 30 NONAME - pj_dns_resolver_set_settings @ 31 NONAME - pj_dns_resolver_start_query @ 32 NONAME - pj_dns_settings_default @ 33 NONAME - pj_dns_srv_resolve @ 34 NONAME - pj_hmac_md5 @ 35 NONAME - pj_hmac_md5_final @ 36 NONAME - pj_hmac_md5_init @ 37 NONAME - pj_hmac_md5_update @ 38 NONAME - pj_hmac_sha1 @ 39 NONAME - pj_hmac_sha1_final @ 40 NONAME - pj_hmac_sha1_init @ 41 NONAME - pj_hmac_sha1_update @ 42 NONAME - pj_md5_final @ 43 NONAME - pj_md5_init @ 44 NONAME - pj_md5_update @ 45 NONAME - pj_scan_advance_n @ 46 NONAME - pj_scan_fini @ 47 NONAME - pj_scan_get @ 48 NONAME - pj_scan_get_char @ 49 NONAME - pj_scan_get_n @ 50 NONAME - pj_scan_get_newline @ 51 NONAME - pj_scan_get_quote @ 52 NONAME - pj_scan_get_quotes @ 53 NONAME - pj_scan_get_unescape @ 54 NONAME - pj_scan_get_until @ 55 NONAME - pj_scan_get_until_ch @ 56 NONAME - pj_scan_get_until_chr @ 57 NONAME - pj_scan_init @ 58 NONAME - pj_scan_peek @ 59 NONAME - pj_scan_peek_n @ 60 NONAME - pj_scan_peek_until @ 61 NONAME - pj_scan_restore_state @ 62 NONAME - pj_scan_save_state @ 63 NONAME - pj_scan_skip_line @ 64 NONAME - pj_scan_skip_whitespace @ 65 NONAME - pj_scan_strcmp @ 66 NONAME - pj_scan_stricmp @ 67 NONAME - pj_scan_stricmp_alnum @ 68 NONAME - pj_sha1_final @ 69 NONAME - pj_sha1_init @ 70 NONAME - pj_sha1_update @ 71 NONAME - pj_str_unescape @ 72 NONAME - pj_strcpy_unescape @ 73 NONAME - pj_strncpy2_escape @ 74 NONAME - pj_strncpy_escape @ 75 NONAME - pj_xml_add_attr @ 76 NONAME - pj_xml_add_node @ 77 NONAME - pj_xml_attr_new @ 78 NONAME - pj_xml_clone @ 79 NONAME - pj_xml_find @ 80 NONAME - pj_xml_find_attr @ 81 NONAME - pj_xml_find_next_node @ 82 NONAME - pj_xml_find_node @ 83 NONAME - pj_xml_node_new @ 84 NONAME - pj_xml_parse @ 85 NONAME - pj_xml_print @ 86 NONAME - pjlib_util_init @ 87 NONAME - pjstun_create_bind_req @ 88 NONAME - pjstun_get_mapped_addr @ 89 NONAME - pjstun_msg_find_attr @ 90 NONAME - pjstun_parse_msg @ 91 NONAME diff --git a/res/pjproject/build.symbian/pjmedia.mmp b/res/pjproject/build.symbian/pjmedia.mmp deleted file mode 100644 index 45903fee1c..0000000000 --- a/res/pjproject/build.symbian/pjmedia.mmp +++ /dev/null @@ -1,136 +0,0 @@ -#if defined(PJ_BUILD_DLL) - -TARGET pjmedia.dll -TARGETTYPE dll -UID 0x0 0xA0000004 - -CAPABILITY None -LIBRARY null_audio.lib pjsdp.lib pjnath.lib pjlib_util.lib pjlib.lib esock.lib insock.lib charconv.lib euser.lib estlib.lib -MACRO PJ_DLL -MACRO PJ_EXPORTING - -DEFFILE .\pjmedia.def - -#else - -TARGET pjmedia.lib -TARGETTYPE lib - -#endif - -SOURCEPATH ..\pjmedia\src\pjmedia - -// -// GCCE optimization setting -// -OPTION GCCE -O2 -fno-unit-at-a-time - -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -// Must compile as C++, otherwise exception would not work -OPTION CW -lang c++ -OPTION ARMCC --cpp --gnu -OPTION GCC -x c++ -OPTION GCCE -x c++ - -// -// Platform independent source -// - -SOURCE alaw_ulaw.c -SOURCE alaw_ulaw_table.c -SOURCE avi_player.c -SOURCE bidirectional.c -SOURCE clock_thread.c -SOURCE codec.c -SOURCE conf_switch.c -SOURCE conference.c -SOURCE converter.c -SOURCE converter_libswscale.c -SOURCE delaybuf.c -SOURCE echo_common.c -SOURCE echo_port.c -SOURCE echo_suppress.c -SOURCE endpoint.c -SOURCE errno.c -SOURCE event.c -SOURCE format.c -SOURCE g711.c -SOURCE jbuf.c -SOURCE master_port.c -SOURCE mem_capture.c -SOURCE mem_player.c -SOURCE null_port.c -SOURCE plc_common.c -SOURCE port.c -SOURCE resample_port.c -SOURCE resample_resample.c -SOURCE rtcp.c -SOURCE rtcp_xr.c -SOURCE rtp.c -//SDP files are in pjsdp.mmp: sdp.c, sdp_cmp.c, sdp_neg.c -//SOURCE session.c // deprecated -SOURCE silencedet.c -SOURCE sound_port.c -SOURCE splitcomb.c -SOURCE stereo_port.c -SOURCE stream.c -SOURCE stream_common.c -SOURCE stream_info.c -SOURCE tonegen.c -SOURCE transport_adapter_sample.c -SOURCE transport_ice.c -SOURCE transport_udp.c -SOURCE transport_srtp.c -SOURCE types.c -SOURCE vid_codec.c -SOURCE vid_codec_util.c -SOURCE vid_port.c -SOURCE vid_stream.c -SOURCE vid_stream_info.c -SOURCE vid_tee.c -SOURCE wav_player.c -SOURCE wav_playlist.c -SOURCE wav_writer.c -SOURCE wave.c -SOURCE wsola.c - -// -// pjmedia-codec common files -// -SOURCEPATH ..\pjmedia\src\pjmedia-codec -SOURCE audio_codecs.c -SOURCE amr_sdp_match.c -SOURCE g7221_sdp_match.c -SOURCE h263_packetizer.c -SOURCE h264_packetizer.c - - -// -// Symbian specific -// These are on separate project -// -//SOURCE symbian_sound.cpp -//SOURCE null_sound.c - - -// -// Header files -// - - -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 .. - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc -//SYSTEMINCLUDE \epoc32\include\mmf\plugin - - diff --git a/res/pjproject/build.symbian/pjmediaU.def b/res/pjproject/build.symbian/pjmediaU.def deleted file mode 100644 index 5d14f351d5..0000000000 --- a/res/pjproject/build.symbian/pjmediaU.def +++ /dev/null @@ -1,193 +0,0 @@ -EXPORTS - echo_supp_cancel_echo @ 1 NONAME - echo_supp_capture @ 2 NONAME - echo_supp_create @ 3 NONAME - echo_supp_destroy @ 4 NONAME - echo_supp_playback @ 5 NONAME - pjmedia_bidirectional_port_create @ 6 NONAME - pjmedia_calc_avg_signal @ 7 NONAME - pjmedia_clock_create @ 8 NONAME - pjmedia_clock_destroy @ 9 NONAME - pjmedia_clock_start @ 10 NONAME - pjmedia_clock_stop @ 11 NONAME - pjmedia_clock_wait @ 12 NONAME - pjmedia_codec_g711_deinit @ 13 NONAME - pjmedia_codec_g711_init @ 14 NONAME - pjmedia_codec_info_to_id @ 15 NONAME - pjmedia_codec_mgr_alloc_codec @ 16 NONAME - pjmedia_codec_mgr_dealloc_codec @ 17 NONAME - pjmedia_codec_mgr_enum_codecs @ 18 NONAME - pjmedia_codec_mgr_find_codecs_by_id @ 19 NONAME - pjmedia_codec_mgr_get_codec_info @ 20 NONAME - pjmedia_codec_mgr_get_default_param @ 21 NONAME - pjmedia_codec_mgr_init @ 22 NONAME - pjmedia_codec_mgr_register_factory @ 23 NONAME - pjmedia_codec_mgr_set_codec_priority @ 24 NONAME - pjmedia_codec_mgr_unregister_factory @ 25 NONAME - pjmedia_conf_add_passive_port @ 26 NONAME - pjmedia_conf_add_port @ 27 NONAME - pjmedia_conf_adjust_rx_level @ 28 NONAME - pjmedia_conf_adjust_tx_level @ 29 NONAME - pjmedia_conf_configure_port @ 30 NONAME - pjmedia_conf_connect_port @ 31 NONAME - pjmedia_conf_create @ 32 NONAME - pjmedia_conf_destroy @ 33 NONAME - pjmedia_conf_disconnect_port @ 34 NONAME - pjmedia_conf_enum_ports @ 35 NONAME - pjmedia_conf_get_connect_count @ 36 NONAME - pjmedia_conf_get_master_port @ 37 NONAME - pjmedia_conf_get_port_count @ 38 NONAME - pjmedia_conf_get_port_info @ 39 NONAME - pjmedia_conf_get_ports_info @ 40 NONAME - pjmedia_conf_get_signal_level @ 41 NONAME - pjmedia_conf_remove_port @ 42 NONAME - pjmedia_conf_set_port0_name @ 43 NONAME - pjmedia_delay_buf_create @ 44 NONAME - pjmedia_delay_buf_get @ 45 NONAME - pjmedia_delay_buf_put @ 46 NONAME - pjmedia_echo_cancel @ 47 NONAME - pjmedia_echo_capture @ 48 NONAME - pjmedia_echo_create @ 49 NONAME - pjmedia_echo_destroy @ 50 NONAME - pjmedia_echo_playback @ 51 NONAME - pjmedia_echo_port_create @ 52 NONAME - pjmedia_endpt_create @ 53 NONAME - pjmedia_endpt_create_pool @ 54 NONAME - pjmedia_endpt_create_sdp @ 55 NONAME - pjmedia_endpt_destroy @ 56 NONAME - pjmedia_endpt_dump @ 57 NONAME - pjmedia_endpt_get_codec_mgr @ 58 NONAME - pjmedia_endpt_get_ioqueue @ 59 NONAME - pjmedia_endpt_get_thread @ 60 NONAME - pjmedia_endpt_get_thread_count @ 61 NONAME - pjmedia_ice_create @ 62 NONAME - pjmedia_ice_destroy @ 63 NONAME - pjmedia_ice_get_comp @ 64 NONAME - pjmedia_ice_get_init_status @ 65 NONAME - pjmedia_ice_init_ice @ 66 NONAME - pjmedia_ice_modify_sdp @ 67 NONAME - pjmedia_ice_simulate_lost @ 68 NONAME - pjmedia_ice_start_ice @ 69 NONAME - pjmedia_ice_start_init @ 70 NONAME - pjmedia_ice_stop_ice @ 71 NONAME - pjmedia_jbuf_create @ 72 NONAME - pjmedia_jbuf_destroy @ 73 NONAME - pjmedia_jbuf_get_frame @ 74 NONAME - pjmedia_jbuf_get_state @ 75 NONAME - pjmedia_jbuf_put_frame @ 76 NONAME - pjmedia_jbuf_reset @ 77 NONAME - pjmedia_jbuf_set_adaptive @ 78 NONAME - pjmedia_jbuf_set_fixed @ 79 NONAME - pjmedia_master_port_create @ 80 NONAME - pjmedia_master_port_destroy @ 81 NONAME - pjmedia_master_port_get_dport @ 82 NONAME - pjmedia_master_port_get_uport @ 83 NONAME - pjmedia_master_port_set_dport @ 84 NONAME - pjmedia_master_port_set_uport @ 85 NONAME - pjmedia_master_port_start @ 86 NONAME - pjmedia_master_port_stop @ 87 NONAME - pjmedia_mem_capture_create @ 88 NONAME - pjmedia_mem_capture_get_size @ 89 NONAME - pjmedia_mem_capture_set_eof_cb @ 90 NONAME - pjmedia_mem_player_create @ 91 NONAME - pjmedia_mem_player_set_eof_cb @ 92 NONAME - pjmedia_null_port_create @ 93 NONAME - pjmedia_plc_create @ 94 NONAME - pjmedia_plc_generate @ 95 NONAME - pjmedia_plc_save @ 96 NONAME - pjmedia_port_destroy @ 97 NONAME - pjmedia_port_get_frame @ 98 NONAME - pjmedia_port_info_init @ 99 NONAME - pjmedia_port_put_frame @ 100 NONAME - pjmedia_resample_create @ 101 NONAME - pjmedia_resample_destroy @ 102 NONAME - pjmedia_resample_get_input_size @ 103 NONAME - pjmedia_resample_port_create @ 104 NONAME - pjmedia_resample_run @ 105 NONAME - pjmedia_rtcp_build_rtcp @ 106 NONAME - pjmedia_rtcp_fini @ 107 NONAME - pjmedia_rtcp_get_ntp_time @ 108 NONAME - pjmedia_rtcp_init @ 109 NONAME - pjmedia_rtcp_rx_rtcp @ 110 NONAME - pjmedia_rtcp_rx_rtp @ 111 NONAME - pjmedia_rtcp_tx_rtp @ 112 NONAME - pjmedia_rtp_decode_rtp @ 113 NONAME - pjmedia_rtp_encode_rtp @ 114 NONAME - pjmedia_rtp_session_init @ 115 NONAME - pjmedia_rtp_session_update @ 116 NONAME - pjmedia_session_check_dtmf @ 117 NONAME - pjmedia_session_create @ 118 NONAME - pjmedia_session_destroy @ 119 NONAME - pjmedia_session_dial_dtmf @ 120 NONAME - pjmedia_session_enum_streams @ 121 NONAME - pjmedia_session_get_dtmf @ 122 NONAME - pjmedia_session_get_info @ 123 NONAME - pjmedia_session_get_port @ 124 NONAME - pjmedia_session_get_stream_stat @ 125 NONAME - pjmedia_session_info_from_sdp @ 126 NONAME - pjmedia_session_pause @ 127 NONAME - pjmedia_session_pause_stream @ 128 NONAME - pjmedia_session_resume @ 129 NONAME - pjmedia_session_resume_stream @ 130 NONAME - pjmedia_session_set_dtmf_callback @ 131 NONAME - pjmedia_silence_det_apply @ 132 NONAME - pjmedia_silence_det_create @ 133 NONAME - pjmedia_silence_det_detect @ 134 NONAME - pjmedia_silence_det_disable @ 135 NONAME - pjmedia_silence_det_set_adaptive @ 136 NONAME - pjmedia_silence_det_set_fixed @ 137 NONAME - pjmedia_silence_det_set_name @ 138 NONAME - pjmedia_silence_det_set_params @ 139 NONAME - pjmedia_snd_port_connect @ 140 NONAME - pjmedia_snd_port_create @ 141 NONAME - pjmedia_snd_port_create_player @ 142 NONAME - pjmedia_snd_port_create_rec @ 143 NONAME - pjmedia_snd_port_destroy @ 144 NONAME - pjmedia_snd_port_disconnect @ 145 NONAME - pjmedia_snd_port_get_ec_tail @ 146 NONAME - pjmedia_snd_port_get_port @ 147 NONAME - pjmedia_snd_port_get_snd_stream @ 148 NONAME - pjmedia_snd_port_set_ec @ 149 NONAME - pjmedia_splitcomb_create @ 150 NONAME - pjmedia_splitcomb_create_rev_channel @ 151 NONAME - pjmedia_splitcomb_set_channel @ 152 NONAME - pjmedia_stream_check_dtmf @ 153 NONAME - pjmedia_stream_create @ 154 NONAME - pjmedia_stream_destroy @ 155 NONAME - pjmedia_stream_dial_dtmf @ 156 NONAME - pjmedia_stream_get_dtmf @ 157 NONAME - pjmedia_stream_get_port @ 158 NONAME - pjmedia_stream_get_stat @ 159 NONAME - pjmedia_stream_get_transport @ 160 NONAME - pjmedia_stream_info_from_sdp @ 161 NONAME - pjmedia_stream_pause @ 162 NONAME - pjmedia_stream_resume @ 163 NONAME - pjmedia_stream_set_dtmf_callback @ 164 NONAME - pjmedia_stream_start @ 165 NONAME - pjmedia_strerror @ 166 NONAME - pjmedia_tonegen_create @ 167 NONAME - pjmedia_tonegen_create2 @ 168 NONAME - pjmedia_tonegen_get_digit_map @ 169 NONAME - pjmedia_tonegen_is_busy @ 170 NONAME - pjmedia_tonegen_play @ 171 NONAME - pjmedia_tonegen_play_digits @ 172 NONAME - pjmedia_tonegen_set_digit_map @ 173 NONAME - pjmedia_tonegen_stop @ 174 NONAME - pjmedia_transport_udp_attach @ 175 NONAME - pjmedia_transport_udp_close @ 176 NONAME - pjmedia_transport_udp_create @ 177 NONAME - pjmedia_transport_udp_create2 @ 178 NONAME - pjmedia_transport_udp_create3 @ 179 NONAME - pjmedia_transport_udp_get_info @ 180 NONAME - pjmedia_transport_udp_simulate_lost @ 181 NONAME - pjmedia_wav_player_port_create @ 182 NONAME - pjmedia_wav_player_port_get_pos @ 183 NONAME - pjmedia_wav_player_port_set_pos @ 184 NONAME - pjmedia_wav_player_set_eof_cb @ 185 NONAME - pjmedia_wav_playlist_create @ 186 NONAME - pjmedia_wav_playlist_set_eof_cb @ 187 NONAME - pjmedia_wav_writer_port_create @ 188 NONAME - pjmedia_wav_writer_port_get_pos @ 189 NONAME - pjmedia_wav_writer_port_set_cb @ 190 NONAME - pjmedia_wave_hdr_file_to_host @ 191 NONAME - pjmedia_wave_hdr_host_to_file @ 192 NONAME diff --git a/res/pjproject/build.symbian/pjmedia_audiodev.mmp b/res/pjproject/build.symbian/pjmedia_audiodev.mmp deleted file mode 100644 index a80cfeb3ac..0000000000 --- a/res/pjproject/build.symbian/pjmedia_audiodev.mmp +++ /dev/null @@ -1,33 +0,0 @@ -TARGET pjmedia_audiodev.lib -TARGETTYPE lib - -SOURCEPATH ..\pjmedia\src\pjmedia-audiodev - -// -// GCCE optimization setting -// -//OPTION GCCE -O2 -fno-unit-at-a-time -OPTION ARMCC --gnu - -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -SOURCE audiodev.c -SOURCE errno.c -SOURCE symb_aps_dev.cpp -SOURCE symb_mda_dev.cpp -SOURCE symb_vas_dev.cpp -SOURCE null_dev.c - -SYSTEMINCLUDE ..\pjmedia\include -SYSTEMINCLUDE ..\pjlib\include -SYSTEMINCLUDE ..\pjlib-util\include - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc -SYSTEMINCLUDE \epoc32\include\mmf\server -SYSTEMINCLUDE \epoc32\include\mmf\common -SYSTEMINCLUDE \epoc32\include\mda\common -SYSTEMINCLUDE \epoc32\include\mmf\plugin - - diff --git a/res/pjproject/build.symbian/pjnath.mmp b/res/pjproject/build.symbian/pjnath.mmp deleted file mode 100644 index 76b64dda88..0000000000 --- a/res/pjproject/build.symbian/pjnath.mmp +++ /dev/null @@ -1,65 +0,0 @@ -#if defined(PJ_BUILD_DLL) -TARGET pjnath.dll -TARGETTYPE dll -UID 0x0 0xA0000005 - -CAPABILITY None -LIBRARY pjlib_util.lib pjlib.lib esock.lib insock.lib charconv.lib euser.lib estlib.lib -MACRO PJ_DLL -MACRO PJ_EXPORTING - -DEFFILE .\pjnath.def - -#else - -TARGET pjnath.lib -TARGETTYPE lib - -#endif - -OPTION ARMCC --gnu - -SOURCEPATH ..\pjnath\src\pjnath - -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -// -// PJNATH files -// -SOURCE errno.c -SOURCE ice_session.c -SOURCE ice_strans.c -SOURCE nat_detect.c -SOURCE stun_auth.c -SOURCE stun_msg.c -SOURCE stun_msg_dump.c -SOURCE stun_session.c -SOURCE stun_sock.c -SOURCE stun_transaction.c -SOURCE turn_session.c -SOURCE turn_sock.c - -// -// Include files -// -//DOCUMENT pjnath\config.h -//DOCUMENT pjnath\\errno.h -//DOCUMENT pjnath\\ice_session.h -//DOCUMENT pjnath\\ice_strans.h -//DOCUMENT pjnath\\stun_auth.h -//DOCUMENT pjnath\\stun_config.h -//DOCUMENT pjnath\\stun_msg.h -//DOCUMENT pjnath\\stun_session.h -//DOCUMENT pjnath\\stun_transaction.h -//DOCUMENT pjnath\\types.h - - - -SYSTEMINCLUDE ..\pjlib\include -SYSTEMINCLUDE ..\pjlib-util\include -SYSTEMINCLUDE ..\pjnath\include - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc - diff --git a/res/pjproject/build.symbian/pjnathU.def b/res/pjproject/build.symbian/pjnathU.def deleted file mode 100644 index db4c28236f..0000000000 --- a/res/pjproject/build.symbian/pjnathU.def +++ /dev/null @@ -1,88 +0,0 @@ -EXPORTS - pj_ice_calc_foundation @ 1 NONAME - pj_ice_get_cand_type_name @ 2 NONAME - pj_ice_sess_add_cand @ 3 NONAME - pj_ice_sess_change_role @ 4 NONAME - pj_ice_sess_create @ 5 NONAME - pj_ice_sess_create_check_list @ 6 NONAME - pj_ice_sess_destroy @ 7 NONAME - pj_ice_sess_find_default_cand @ 8 NONAME - pj_ice_sess_on_rx_pkt @ 9 NONAME - pj_ice_sess_send_data @ 10 NONAME - pj_ice_sess_set_prefs @ 11 NONAME - pj_ice_sess_start_check @ 12 NONAME - pj_ice_strans_add_cand @ 13 NONAME - pj_ice_strans_create @ 14 NONAME - pj_ice_strans_create_comp @ 15 NONAME - pj_ice_strans_destroy @ 16 NONAME - pj_ice_strans_enum_cands @ 17 NONAME - pj_ice_strans_get_comps_status @ 18 NONAME - pj_ice_strans_init_ice @ 19 NONAME - pj_ice_strans_sendto @ 20 NONAME - pj_ice_strans_set_stun_domain @ 21 NONAME - pj_ice_strans_set_stun_srv @ 22 NONAME - pj_ice_strans_start_ice @ 23 NONAME - pj_ice_strans_stop_ice @ 24 NONAME - pj_stun_auth_cred_dup @ 25 NONAME - pj_stun_auth_valid_for_msg @ 26 NONAME - pj_stun_authenticate_request @ 27 NONAME - pj_stun_authenticate_response @ 28 NONAME - pj_stun_binary_attr_create @ 29 NONAME - pj_stun_client_tsx_create @ 30 NONAME - pj_stun_client_tsx_destroy @ 31 NONAME - pj_stun_client_tsx_get_data @ 32 NONAME - pj_stun_client_tsx_is_complete @ 33 NONAME - pj_stun_client_tsx_on_rx_msg @ 34 NONAME - pj_stun_client_tsx_retransmit @ 35 NONAME - pj_stun_client_tsx_schedule_destroy @ 36 NONAME - pj_stun_client_tsx_send_msg @ 37 NONAME - pj_stun_client_tsx_set_data @ 38 NONAME - pj_stun_create_key @ 39 NONAME - pj_stun_detect_nat_type @ 40 NONAME - pj_stun_empty_attr_create @ 41 NONAME - pj_stun_errcode_attr_create @ 42 NONAME - pj_stun_get_attr_name @ 43 NONAME - pj_stun_get_class_name @ 44 NONAME - pj_stun_get_err_reason @ 45 NONAME - pj_stun_get_method_name @ 46 NONAME - pj_stun_get_nat_name @ 47 NONAME - pj_stun_msg_add_attr @ 48 NONAME - pj_stun_msg_add_binary_attr @ 49 NONAME - pj_stun_msg_add_empty_attr @ 50 NONAME - pj_stun_msg_add_errcode_attr @ 51 NONAME - pj_stun_msg_add_msgint_attr @ 52 NONAME - pj_stun_msg_add_sockaddr_attr @ 53 NONAME - pj_stun_msg_add_string_attr @ 54 NONAME - pj_stun_msg_add_uint64_attr @ 55 NONAME - pj_stun_msg_add_uint_attr @ 56 NONAME - pj_stun_msg_add_unknown_attr @ 57 NONAME - pj_stun_msg_check @ 58 NONAME - pj_stun_msg_create @ 59 NONAME - pj_stun_msg_create_response @ 60 NONAME - pj_stun_msg_decode @ 61 NONAME - pj_stun_msg_destroy_tdata @ 62 NONAME - pj_stun_msg_dump @ 63 NONAME - pj_stun_msg_encode @ 64 NONAME - pj_stun_msg_find_attr @ 65 NONAME - pj_stun_msgint_attr_create @ 66 NONAME - pj_stun_session_cancel_req @ 67 NONAME - pj_stun_session_create @ 68 NONAME - pj_stun_session_create_ind @ 69 NONAME - pj_stun_session_create_req @ 70 NONAME - pj_stun_session_create_res @ 71 NONAME - pj_stun_session_destroy @ 72 NONAME - pj_stun_session_get_user_data @ 73 NONAME - pj_stun_session_on_rx_pkt @ 74 NONAME - pj_stun_session_retransmit_req @ 75 NONAME - pj_stun_session_send_msg @ 76 NONAME - pj_stun_session_set_credential @ 77 NONAME - pj_stun_session_set_server_name @ 78 NONAME - pj_stun_session_set_user_data @ 79 NONAME - pj_stun_set_padding_char @ 80 NONAME - pj_stun_sockaddr_attr_create @ 81 NONAME - pj_stun_string_attr_create @ 82 NONAME - pj_stun_uint64_attr_create @ 83 NONAME - pj_stun_uint_attr_create @ 84 NONAME - pj_stun_unknown_attr_create @ 85 NONAME - pjnath_init @ 86 NONAME - pjnath_perror @ 87 NONAME diff --git a/res/pjproject/build.symbian/pjproject.cww b/res/pjproject/build.symbian/pjproject.cww deleted file mode 100644 index 17e1d4c12d..0000000000 --- a/res/pjproject/build.symbian/pjproject.cww +++ /dev/null @@ -1,386 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]> - - - - -1 - 0 - true - pjlib.mcp - - 0 - 0 - - - 347 - 128 - - - 1 - 0 - 0 - 59420 - 1.000000 - 350 - - 4294967294 - 4294967294 - - - - - -1 - 0 - pjlib_util.mcp - - 0 - 0 - - - 347 - 128 - - - 1 - 0 - 0 - 59420 - 1.000000 - 350 - - 4294967294 - 4294967294 - - - - - -1 - 0 - pjnath.mcp - - 0 - 0 - - - 347 - 128 - - - 1 - 0 - 0 - 59420 - 1.000000 - 350 - - 4294967294 - 4294967294 - - - - - -1 - 0 - null_audio.mcp - - 0 - 0 - - - 347 - 128 - - - 1 - 0 - 0 - 59420 - 1.000000 - 350 - - 4294967294 - 4294967294 - - - - - -1 - 0 - pjsdp.mcp - - 0 - 0 - - - 347 - 128 - - - 1 - 0 - 0 - 59420 - 1.000000 - 350 - - 4294967294 - 4294967294 - - - - - -1 - 0 - pjmedia.mcp - - 0 - 0 - - - 347 - 128 - - - 1 - 0 - 0 - 59420 - 1.000000 - 350 - - 4294967294 - 4294967294 - - - - - -1 - 0 - pjsip.mcp - - 0 - 0 - - - 347 - 128 - - - 1 - 0 - 0 - 59420 - 1.000000 - 350 - - 4294967294 - 4294967294 - - - - - -1 - 0 - pjsip_simple.mcp - - 0 - 0 - - - 347 - 128 - - - 1 - 0 - 0 - 59420 - 1.000000 - 350 - - 4294967294 - 4294967294 - - - - - -1 - 0 - pjsip_ua.mcp - - 0 - 0 - - - 347 - 128 - - - 1 - 0 - 0 - 59420 - 1.000000 - 350 - - 4294967294 - 4294967294 - - - - - -1 - 0 - pjsua_lib.mcp - - 0 - 0 - - - 347 - 128 - - - 1 - 0 - 0 - 59420 - 1.000000 - 350 - - 4294967294 - 4294967294 - - - - - -1 - 0 - symbian_ua.mcp - - 0 - 0 - - - 347 - 128 - - - 1 - 0 - 0 - 59420 - 1.000000 - 350 - - 4294967294 - 4294967294 - - - - - -2147483648 - 20 - - 4 - 23 - - - 1464 - 3681 - - - 0 - - - - - - - - - - - - - -2147483648 - 36 - - 4 - 23 - - - 366 - 354 - - - 0 - - - - - - - - - - - - - -2147483648 - 23 - - 6 - 81 - - - 566 - 477 - - - 0 - - - - - - - - - - - - diff --git a/res/pjproject/build.symbian/pjsdp.mmp b/res/pjproject/build.symbian/pjsdp.mmp deleted file mode 100644 index e165704ee7..0000000000 --- a/res/pjproject/build.symbian/pjsdp.mmp +++ /dev/null @@ -1,46 +0,0 @@ -#if defined(PJ_BUILD_DLL) -TARGET pjsdp.dll -TARGETTYPE dll -UID 0x0 0xA0000006 - -CAPABILITY None -LIBRARY pjlib_util.lib pjlib.lib charconv.lib euser.lib estlib.lib -MACRO PJ_DLL -MACRO PJ_EXPORTING - -DEFFILE .\pjsdp.def - -#else - -TARGET pjsdp.lib -TARGETTYPE lib - -#endif - -SOURCEPATH ..\pjmedia\src\pjmedia - -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -// Must compile as C++, otherwise exception would not work -OPTION CW -lang c++ -OPTION ARMCC --cpp --gnu -OPTION GCC -x c++ -OPTION GCCE -x c++ - -// -// Platform independent source -// -SOURCE errno.c -SOURCE sdp_wrap.cpp -SOURCE sdp_cmp.c -SOURCE sdp_neg.c - - -SYSTEMINCLUDE ..\pjlib\include -SYSTEMINCLUDE ..\pjlib-util\include -SYSTEMINCLUDE ..\pjmedia\include - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc - diff --git a/res/pjproject/build.symbian/pjsdpU.def b/res/pjproject/build.symbian/pjsdpU.def deleted file mode 100644 index 569193d012..0000000000 --- a/res/pjproject/build.symbian/pjsdpU.def +++ /dev/null @@ -1,45 +0,0 @@ -EXPORTS - pjmedia_sdp_attr_add @ 1 NONAME - pjmedia_sdp_attr_clone @ 2 NONAME - pjmedia_sdp_attr_create @ 3 NONAME - pjmedia_sdp_attr_find @ 4 NONAME - pjmedia_sdp_attr_find2 @ 5 NONAME - pjmedia_sdp_attr_get_fmtp @ 6 NONAME - pjmedia_sdp_attr_get_rtcp @ 7 NONAME - pjmedia_sdp_attr_get_rtpmap @ 8 NONAME - pjmedia_sdp_attr_remove @ 9 NONAME - pjmedia_sdp_attr_remove_all @ 10 NONAME - pjmedia_sdp_attr_to_rtpmap @ 11 NONAME - pjmedia_sdp_conn_clone @ 12 NONAME - pjmedia_sdp_media_add_attr @ 13 NONAME - pjmedia_sdp_media_clone @ 14 NONAME - pjmedia_sdp_media_cmp @ 15 NONAME - pjmedia_sdp_media_find_attr @ 16 NONAME - pjmedia_sdp_media_find_attr2 @ 17 NONAME - pjmedia_sdp_media_remove_all_attr @ 18 NONAME - pjmedia_sdp_media_remove_attr @ 19 NONAME - pjmedia_sdp_neg_cancel_offer @ 20 NONAME - pjmedia_sdp_neg_create_w_local_offer @ 21 NONAME - pjmedia_sdp_neg_create_w_remote_offer @ 22 NONAME - pjmedia_sdp_neg_get_active_local @ 23 NONAME - pjmedia_sdp_neg_get_active_remote @ 24 NONAME - pjmedia_sdp_neg_get_neg_local @ 25 NONAME - pjmedia_sdp_neg_get_neg_remote @ 26 NONAME - pjmedia_sdp_neg_get_state @ 27 NONAME - pjmedia_sdp_neg_has_local_answer @ 28 NONAME - pjmedia_sdp_neg_modify_local_offer @ 29 NONAME - pjmedia_sdp_neg_negotiate @ 30 NONAME - pjmedia_sdp_neg_send_local_offer @ 31 NONAME - pjmedia_sdp_neg_set_local_answer @ 32 NONAME - pjmedia_sdp_neg_set_prefer_remote_codec_order @ 33 NONAME - pjmedia_sdp_neg_set_remote_answer @ 34 NONAME - pjmedia_sdp_neg_set_remote_offer @ 35 NONAME - pjmedia_sdp_neg_state_str @ 36 NONAME - pjmedia_sdp_neg_was_answer_remote @ 37 NONAME - pjmedia_sdp_parse @ 38 NONAME - pjmedia_sdp_print @ 39 NONAME - pjmedia_sdp_rtpmap_to_attr @ 40 NONAME - pjmedia_sdp_session_clone @ 41 NONAME - pjmedia_sdp_session_cmp @ 42 NONAME - pjmedia_sdp_validate @ 43 NONAME - pjmedia_strerror @ 44 NONAME diff --git a/res/pjproject/build.symbian/pjsip.mmp b/res/pjproject/build.symbian/pjsip.mmp deleted file mode 100644 index 1fd7440cab..0000000000 --- a/res/pjproject/build.symbian/pjsip.mmp +++ /dev/null @@ -1,69 +0,0 @@ -#if defined(PJ_BUILD_DLL) - -TARGET pjsip.dll -TARGETTYPE dll - -UID 0x0 0xA0000007 - - -CAPABILITY None -LIBRARY pjsdp.lib pjlib_util.lib pjlib.lib esock.lib insock.lib charconv.lib euser.lib estlib.lib -MACRO PJ_DLL -MACRO PJ_EXPORTING - -DEFFILE .\pjsip.def - -#else - -TARGET pjsip.lib -TARGETTYPE lib - -#endif - -SOURCEPATH ..\pjsip\src\pjsip - -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -// Must compile as C++, otherwise exception would not work -OPTION CW -lang c++ -OPTION ARMCC --cpp --gnu -OPTION GCC -x c++ -OPTION GCCE -x c++ - -// PJSIP-CORE files - -//SOURCE sip_auth_aka.c -SOURCE sip_auth_client.c -SOURCE sip_auth_msg.c -SOURCE sip_auth_parser_wrap.cpp -SOURCE sip_auth_server.c -SOURCE sip_config.c -SOURCE sip_dialog_wrap.cpp -SOURCE sip_endpoint_wrap.cpp -SOURCE sip_errno.c -SOURCE sip_msg.c -SOURCE sip_multipart.c -SOURCE sip_parser_wrap.cpp -SOURCE sip_resolve.c -SOURCE sip_tel_uri_wrap.cpp -SOURCE sip_transaction.c -SOURCE sip_transport_wrap.cpp -SOURCE sip_transport_loop.c -SOURCE sip_transport_tcp.c -SOURCE sip_transport_udp.c -SOURCE sip_transport_tls.c -SOURCE sip_ua_layer.c -SOURCE sip_uri.c -SOURCE sip_util_wrap.cpp -SOURCE sip_util_proxy_wrap.cpp -SOURCE sip_util_statefull.c - -SYSTEMINCLUDE ..\pjlib\include -SYSTEMINCLUDE ..\pjlib-util\include -SYSTEMINCLUDE ..\pjsip\include - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc - - diff --git a/res/pjproject/build.symbian/pjsipU.def b/res/pjproject/build.symbian/pjsipU.def deleted file mode 100644 index 68d31eba31..0000000000 --- a/res/pjproject/build.symbian/pjsipU.def +++ /dev/null @@ -1,280 +0,0 @@ -EXPORTS - pjsip_accept_hdr_create @ 1 NONAME - pjsip_accept_hdr_init @ 2 NONAME - pjsip_ack_method @ 3 NONAME - pjsip_allow_hdr_create @ 4 NONAME - pjsip_allow_hdr_init @ 5 NONAME - pjsip_auth_clt_clone @ 6 NONAME - pjsip_auth_clt_get_prefs @ 7 NONAME - pjsip_auth_clt_init @ 8 NONAME - pjsip_auth_clt_init_req @ 9 NONAME - pjsip_auth_clt_reinit_req @ 10 NONAME - pjsip_auth_clt_set_credentials @ 11 NONAME - pjsip_auth_clt_set_prefs @ 12 NONAME - pjsip_auth_create_digest @ 13 NONAME - pjsip_auth_deinit_parser @ 14 NONAME - pjsip_auth_init_parser @ 15 NONAME - pjsip_auth_srv_challenge @ 16 NONAME - pjsip_auth_srv_init @ 17 NONAME - pjsip_auth_srv_verify @ 18 NONAME - pjsip_authorization_hdr_create @ 19 NONAME - pjsip_bye_method @ 20 NONAME - pjsip_calculate_branch_id @ 21 NONAME - pjsip_cancel_method @ 22 NONAME - pjsip_cid_hdr_create @ 23 NONAME - pjsip_cid_hdr_init @ 24 NONAME - pjsip_clen_hdr_create @ 25 NONAME - pjsip_clen_hdr_init @ 26 NONAME - pjsip_clone_text_data @ 27 NONAME - pjsip_concat_param_imp @ 28 NONAME - pjsip_contact_hdr_create @ 29 NONAME - pjsip_contact_hdr_init @ 30 NONAME - pjsip_cred_info_dup @ 31 NONAME - pjsip_cseq_hdr_create @ 32 NONAME - pjsip_cseq_hdr_init @ 33 NONAME - pjsip_ctype_hdr_create @ 34 NONAME - pjsip_ctype_hdr_init @ 35 NONAME - pjsip_dlg_add_usage @ 36 NONAME - pjsip_dlg_create_request @ 37 NONAME - pjsip_dlg_create_response @ 38 NONAME - pjsip_dlg_create_uac @ 39 NONAME - pjsip_dlg_create_uas @ 40 NONAME - pjsip_dlg_dec_lock @ 41 NONAME - pjsip_dlg_dec_session @ 42 NONAME - pjsip_dlg_fork @ 43 NONAME - pjsip_dlg_get_mod_data @ 44 NONAME - pjsip_dlg_inc_lock @ 45 NONAME - pjsip_dlg_inc_session @ 46 NONAME - pjsip_dlg_modify_response @ 47 NONAME - pjsip_dlg_respond @ 48 NONAME - pjsip_dlg_send_request @ 49 NONAME - pjsip_dlg_send_response @ 50 NONAME - pjsip_dlg_set_mod_data @ 51 NONAME - pjsip_dlg_set_route_set @ 52 NONAME - pjsip_dlg_set_transport @ 53 NONAME - pjsip_dlg_terminate @ 54 NONAME - pjsip_dlg_try_inc_lock @ 55 NONAME - pjsip_endpt_acquire_transport @ 56 NONAME - pjsip_endpt_add_capability @ 57 NONAME - pjsip_endpt_cancel_timer @ 58 NONAME - pjsip_endpt_create @ 59 NONAME - pjsip_endpt_create_ack @ 60 NONAME - pjsip_endpt_create_cancel @ 61 NONAME - pjsip_endpt_create_pool @ 62 NONAME - pjsip_endpt_create_request @ 63 NONAME - pjsip_endpt_create_request_from_hdr @ 64 NONAME - pjsip_endpt_create_request_fwd @ 65 NONAME - pjsip_endpt_create_resolver @ 66 NONAME - pjsip_endpt_create_response @ 67 NONAME - pjsip_endpt_create_response_fwd @ 68 NONAME - pjsip_endpt_create_tdata @ 69 NONAME - pjsip_endpt_destroy @ 70 NONAME - pjsip_endpt_dump @ 71 NONAME - pjsip_endpt_get_capability @ 72 NONAME - pjsip_endpt_get_ioqueue @ 73 NONAME - pjsip_endpt_get_request_headers @ 74 NONAME - pjsip_endpt_get_resolver @ 75 NONAME - pjsip_endpt_get_timer_heap @ 76 NONAME - pjsip_endpt_get_tpmgr @ 77 NONAME - pjsip_endpt_handle_events @ 78 NONAME - pjsip_endpt_handle_events2 @ 79 NONAME - pjsip_endpt_has_capability @ 80 NONAME - pjsip_endpt_log_error @ 81 NONAME - pjsip_endpt_name @ 82 NONAME - pjsip_endpt_register_module @ 83 NONAME - pjsip_endpt_release_pool @ 84 NONAME - pjsip_endpt_resolve @ 85 NONAME - pjsip_endpt_respond @ 86 NONAME - pjsip_endpt_respond_stateless @ 87 NONAME - pjsip_endpt_schedule_timer @ 88 NONAME - pjsip_endpt_send_raw @ 89 NONAME - pjsip_endpt_send_raw_to_uri @ 90 NONAME - pjsip_endpt_send_request @ 91 NONAME - pjsip_endpt_send_request_stateless @ 92 NONAME - pjsip_endpt_send_response @ 93 NONAME - pjsip_endpt_send_response2 @ 94 NONAME - pjsip_endpt_set_resolver @ 95 NONAME - pjsip_endpt_unregister_module @ 96 NONAME - pjsip_event_str @ 97 NONAME - pjsip_expires_hdr_create @ 98 NONAME - pjsip_expires_hdr_init @ 99 NONAME - pjsip_find_msg @ 100 NONAME - pjsip_from_hdr_create @ 101 NONAME - pjsip_from_hdr_init @ 102 NONAME - pjsip_fromto_hdr_set_from @ 103 NONAME - pjsip_fromto_hdr_set_to @ 104 NONAME - pjsip_generic_array_hdr_create @ 105 NONAME - pjsip_generic_array_hdr_init @ 106 NONAME - pjsip_generic_int_hdr_create @ 107 NONAME - pjsip_generic_int_hdr_init @ 108 NONAME - pjsip_generic_string_hdr_create @ 109 NONAME - pjsip_generic_string_hdr_init @ 110 NONAME - pjsip_generic_string_hdr_init2 @ 111 NONAME - pjsip_get_ack_method @ 112 NONAME - pjsip_get_bye_method @ 113 NONAME - pjsip_get_cancel_method @ 114 NONAME - pjsip_get_invite_method @ 115 NONAME - pjsip_get_options_method @ 116 NONAME - pjsip_get_register_method @ 117 NONAME - pjsip_get_request_dest @ 118 NONAME - pjsip_get_response_addr @ 119 NONAME - pjsip_get_status_text @ 120 NONAME - pjsip_hdr_clone @ 121 NONAME - pjsip_hdr_print_on @ 122 NONAME - pjsip_hdr_shallow_clone @ 123 NONAME - pjsip_invite_method @ 124 NONAME - pjsip_loop_set_delay @ 125 NONAME - pjsip_loop_set_discard @ 126 NONAME - pjsip_loop_set_failure @ 127 NONAME - pjsip_loop_set_recv_delay @ 128 NONAME - pjsip_loop_set_send_callback_delay @ 129 NONAME - pjsip_loop_start @ 130 NONAME - pjsip_max_fwd_hdr_create @ 131 NONAME - pjsip_max_fwd_hdr_init @ 132 NONAME - pjsip_method_cmp @ 133 NONAME - pjsip_method_copy @ 134 NONAME - pjsip_method_creates_dialog @ 135 NONAME - pjsip_method_init @ 136 NONAME - pjsip_method_init_np @ 137 NONAME - pjsip_method_set @ 138 NONAME - pjsip_min_expires_hdr_create @ 139 NONAME - pjsip_min_expires_hdr_init @ 140 NONAME - pjsip_msg_body_clone @ 141 NONAME - pjsip_msg_body_copy @ 142 NONAME - pjsip_msg_body_create @ 143 NONAME - pjsip_msg_clone @ 144 NONAME - pjsip_msg_create @ 145 NONAME - pjsip_msg_find_hdr @ 146 NONAME - pjsip_msg_find_hdr_by_name @ 147 NONAME - pjsip_msg_find_remove_hdr @ 148 NONAME - pjsip_msg_print @ 149 NONAME - pjsip_name_addr_assign @ 150 NONAME - pjsip_name_addr_create @ 151 NONAME - pjsip_name_addr_init @ 152 NONAME - pjsip_options_method @ 153 NONAME - pjsip_param_cfind @ 154 NONAME - pjsip_param_clone @ 155 NONAME - pjsip_param_find @ 156 NONAME - pjsip_param_print_on @ 157 NONAME - pjsip_param_shallow_clone @ 158 NONAME - pjsip_parse_end_hdr_imp @ 159 NONAME - pjsip_parse_hdr @ 160 NONAME - pjsip_parse_msg @ 161 NONAME - pjsip_parse_param_imp @ 162 NONAME - pjsip_parse_rdata @ 163 NONAME - pjsip_parse_status_line @ 164 NONAME - pjsip_parse_uri @ 165 NONAME - pjsip_parse_uri_param_imp @ 166 NONAME - pjsip_parser_const @ 167 NONAME - pjsip_print_text_body @ 168 NONAME - pjsip_process_route_set @ 169 NONAME - pjsip_proxy_authenticate_hdr_create @ 170 NONAME - pjsip_proxy_authorization_hdr_create @ 171 NONAME - pjsip_rdata_get_dlg @ 172 NONAME - pjsip_rdata_get_tsx @ 173 NONAME - pjsip_register_hdr_parser @ 174 NONAME - pjsip_register_method @ 175 NONAME - pjsip_register_uri_parser @ 176 NONAME - pjsip_require_hdr_create @ 177 NONAME - pjsip_require_hdr_init @ 178 NONAME - pjsip_resolve @ 179 NONAME - pjsip_resolver_create @ 180 NONAME - pjsip_resolver_destroy @ 181 NONAME - pjsip_resolver_get_resolver @ 182 NONAME - pjsip_resolver_set_resolver @ 183 NONAME - pjsip_retry_after_hdr_create @ 184 NONAME - pjsip_retry_after_hdr_init @ 185 NONAME - pjsip_role_name @ 186 NONAME - pjsip_route_hdr_create @ 187 NONAME - pjsip_route_hdr_init @ 188 NONAME - pjsip_routing_hdr_set_route @ 189 NONAME - pjsip_routing_hdr_set_rr @ 190 NONAME - pjsip_rr_hdr_create @ 191 NONAME - pjsip_rr_hdr_init @ 192 NONAME - pjsip_rx_data_get_info @ 193 NONAME - pjsip_sip_uri_assign @ 194 NONAME - pjsip_sip_uri_create @ 195 NONAME - pjsip_sip_uri_init @ 196 NONAME - pjsip_sip_uri_set_secure @ 197 NONAME - pjsip_strerror @ 198 NONAME - pjsip_supported_hdr_create @ 199 NONAME - pjsip_supported_hdr_init @ 200 NONAME - pjsip_tcp_transport_start @ 201 NONAME - pjsip_tcp_transport_start2 @ 202 NONAME - pjsip_tel_nb_cmp @ 203 NONAME - pjsip_tel_uri_create @ 204 NONAME - pjsip_to_hdr_create @ 205 NONAME - pjsip_to_hdr_init @ 206 NONAME - pjsip_tpmgr_acquire_transport @ 207 NONAME - pjsip_tpmgr_create @ 208 NONAME - pjsip_tpmgr_destroy @ 209 NONAME - pjsip_tpmgr_dump_transports @ 210 NONAME - pjsip_tpmgr_find_local_addr @ 211 NONAME - pjsip_tpmgr_get_transport_count @ 212 NONAME - pjsip_tpmgr_receive_packet @ 213 NONAME - pjsip_tpmgr_register_tpfactory @ 214 NONAME - pjsip_tpmgr_send_raw @ 215 NONAME - pjsip_tpmgr_unregister_tpfactory @ 216 NONAME - pjsip_tpselector_add_ref @ 217 NONAME - pjsip_tpselector_dec_ref @ 218 NONAME - pjsip_transport_add_ref @ 219 NONAME - pjsip_transport_dec_ref @ 220 NONAME - pjsip_transport_destroy @ 221 NONAME - pjsip_transport_get_default_port_for_type @ 222 NONAME - pjsip_transport_get_flag_from_type @ 223 NONAME - pjsip_transport_get_type_desc @ 224 NONAME - pjsip_transport_get_type_from_flag @ 225 NONAME - pjsip_transport_get_type_from_name @ 226 NONAME - pjsip_transport_get_type_name @ 227 NONAME - pjsip_transport_register @ 228 NONAME - pjsip_transport_register_type @ 229 NONAME - pjsip_transport_send @ 230 NONAME - pjsip_transport_shutdown @ 231 NONAME - pjsip_transport_type_get_af @ 232 NONAME - pjsip_tsx_create_key @ 233 NONAME - pjsip_tsx_create_uac @ 234 NONAME - pjsip_tsx_create_uas @ 235 NONAME - pjsip_tsx_get_dlg @ 236 NONAME - pjsip_tsx_layer_destroy @ 237 NONAME - pjsip_tsx_layer_dump @ 238 NONAME - pjsip_tsx_layer_find_tsx @ 239 NONAME - pjsip_tsx_layer_get_tsx_count @ 240 NONAME - pjsip_tsx_layer_init_module @ 241 NONAME - pjsip_tsx_layer_instance @ 242 NONAME - pjsip_tsx_recv_msg @ 243 NONAME - pjsip_tsx_retransmit_no_state @ 244 NONAME - pjsip_tsx_send_msg @ 245 NONAME - pjsip_tsx_set_transport @ 246 NONAME - pjsip_tsx_state_str @ 247 NONAME - pjsip_tsx_stop_retransmit @ 248 NONAME - pjsip_tsx_terminate @ 249 NONAME - pjsip_tx_data_add_ref @ 250 NONAME - pjsip_tx_data_create @ 251 NONAME - pjsip_tx_data_dec_ref @ 252 NONAME - pjsip_tx_data_get_info @ 253 NONAME - pjsip_tx_data_invalidate_msg @ 254 NONAME - pjsip_tx_data_is_valid @ 255 NONAME - pjsip_tx_data_set_transport @ 256 NONAME - pjsip_ua_destroy @ 257 NONAME - pjsip_ua_dump @ 258 NONAME - pjsip_ua_find_dialog @ 259 NONAME - pjsip_ua_get_dlg_set_count @ 260 NONAME - pjsip_ua_get_endpt @ 261 NONAME - pjsip_ua_init_module @ 262 NONAME - pjsip_ua_instance @ 263 NONAME - pjsip_ua_register_dlg @ 264 NONAME - pjsip_ua_unregister_dlg @ 265 NONAME - pjsip_udp_transport_attach @ 266 NONAME - pjsip_udp_transport_attach2 @ 267 NONAME - pjsip_udp_transport_get_socket @ 268 NONAME - pjsip_udp_transport_pause @ 269 NONAME - pjsip_udp_transport_restart @ 270 NONAME - pjsip_udp_transport_start @ 271 NONAME - pjsip_udp_transport_start6 @ 272 NONAME - pjsip_unsupported_hdr_create @ 273 NONAME - pjsip_unsupported_hdr_init @ 274 NONAME - pjsip_via_hdr_create @ 275 NONAME - pjsip_via_hdr_init @ 276 NONAME - pjsip_warning_hdr_create @ 277 NONAME - pjsip_warning_hdr_create_from_status @ 278 NONAME - pjsip_www_authenticate_hdr_create @ 279 NONAME diff --git a/res/pjproject/build.symbian/pjsip_simple.mmp b/res/pjproject/build.symbian/pjsip_simple.mmp deleted file mode 100644 index 9b83a9df97..0000000000 --- a/res/pjproject/build.symbian/pjsip_simple.mmp +++ /dev/null @@ -1,54 +0,0 @@ -#if defined(PJ_BUILD_DLL) - -TARGET pjsip_simple.dll -TARGETTYPE dll - -UID 0x0 0xA0000008 - - -CAPABILITY None -LIBRARY pjsip.lib pjsdp.lib pjlib_util.lib pjlib.lib esock.lib insock.lib charconv.lib euser.lib estlib.lib -MACRO PJ_DLL -MACRO PJ_EXPORTING - -DEFFILE .\pjsip_simple.def - -#else - -TARGET pjsip_simple.lib -TARGETTYPE lib - -#endif - -SOURCEPATH ..\pjsip\src\pjsip-simple - -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -// Must compile as C++, otherwise exception would not work -OPTION CW -lang c++ -OPTION ARMCC --cpp --gnu -OPTION GCC -x c++ -OPTION GCCE -x c++ - -// PJSIP-SIMPLE files - -SOURCE errno.c -SOURCE evsub.c -SOURCE evsub_msg.c -SOURCE iscomposing.c -SOURCE mwi.c -SOURCE pidf.c -SOURCE presence.c -SOURCE presence_body.c -SOURCE publishc.c -SOURCE rpid.c -SOURCE xpidf.c - -SYSTEMINCLUDE ..\pjlib\include -SYSTEMINCLUDE ..\pjlib-util\include -SYSTEMINCLUDE ..\pjsip\include - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc - diff --git a/res/pjproject/build.symbian/pjsip_simpleU.def b/res/pjproject/build.symbian/pjsip_simpleU.def deleted file mode 100644 index 7e417937bc..0000000000 --- a/res/pjproject/build.symbian/pjsip_simpleU.def +++ /dev/null @@ -1,96 +0,0 @@ -EXPORTS - pjpidf_create @ 1 NONAME - pjpidf_parse @ 2 NONAME - pjpidf_pres_add_note @ 3 NONAME - pjpidf_pres_add_tuple @ 4 NONAME - pjpidf_pres_construct @ 5 NONAME - pjpidf_pres_find_tuple @ 6 NONAME - pjpidf_pres_get_first_note @ 7 NONAME - pjpidf_pres_get_first_tuple @ 8 NONAME - pjpidf_pres_get_next_note @ 9 NONAME - pjpidf_pres_get_next_tuple @ 10 NONAME - pjpidf_pres_remove_tuple @ 11 NONAME - pjpidf_print @ 12 NONAME - pjpidf_status_construct @ 13 NONAME - pjpidf_status_is_basic_open @ 14 NONAME - pjpidf_status_set_basic_open @ 15 NONAME - pjpidf_tuple_add_note @ 16 NONAME - pjpidf_tuple_construct @ 17 NONAME - pjpidf_tuple_get_contact @ 18 NONAME - pjpidf_tuple_get_contact_prio @ 19 NONAME - pjpidf_tuple_get_first_note @ 20 NONAME - pjpidf_tuple_get_id @ 21 NONAME - pjpidf_tuple_get_next_note @ 22 NONAME - pjpidf_tuple_get_status @ 23 NONAME - pjpidf_tuple_get_timestamp @ 24 NONAME - pjpidf_tuple_set_contact @ 25 NONAME - pjpidf_tuple_set_contact_prio @ 26 NONAME - pjpidf_tuple_set_id @ 27 NONAME - pjpidf_tuple_set_timestamp @ 28 NONAME - pjpidf_tuple_set_timestamp_np @ 29 NONAME - pjrpid_add_element @ 30 NONAME - pjrpid_element_dup @ 31 NONAME - pjrpid_get_element @ 32 NONAME - pjsip_allow_events_hdr_create @ 33 NONAME - pjsip_event_hdr_create @ 34 NONAME - pjsip_evsub_accept @ 35 NONAME - pjsip_evsub_create_uac @ 36 NONAME - pjsip_evsub_create_uas @ 37 NONAME - pjsip_evsub_current_notify @ 38 NONAME - pjsip_evsub_get_allow_events_hdr @ 39 NONAME - pjsip_evsub_get_mod_data @ 40 NONAME - pjsip_evsub_get_state @ 41 NONAME - pjsip_evsub_get_state_name @ 42 NONAME - pjsip_evsub_init_module @ 43 NONAME - pjsip_evsub_init_parser @ 44 NONAME - pjsip_evsub_initiate @ 45 NONAME - pjsip_evsub_instance @ 46 NONAME - pjsip_evsub_notify @ 47 NONAME - pjsip_evsub_register_pkg @ 48 NONAME - pjsip_evsub_send_request @ 49 NONAME - pjsip_evsub_set_mod_data @ 50 NONAME - pjsip_evsub_terminate @ 51 NONAME - pjsip_get_notify_method @ 52 NONAME - pjsip_get_subscribe_method @ 53 NONAME - pjsip_iscomposing_create_body @ 54 NONAME - pjsip_iscomposing_create_xml @ 55 NONAME - pjsip_iscomposing_parse @ 56 NONAME - pjsip_notify_method @ 57 NONAME - pjsip_pres_accept @ 58 NONAME - pjsip_pres_create_pidf @ 59 NONAME - pjsip_pres_create_uac @ 60 NONAME - pjsip_pres_create_uas @ 61 NONAME - pjsip_pres_create_xpidf @ 62 NONAME - pjsip_pres_current_notify @ 63 NONAME - pjsip_pres_get_status @ 64 NONAME - pjsip_pres_init_module @ 65 NONAME - pjsip_pres_initiate @ 66 NONAME - pjsip_pres_instance @ 67 NONAME - pjsip_pres_notify @ 68 NONAME - pjsip_pres_parse_pidf @ 69 NONAME - pjsip_pres_parse_xpidf @ 70 NONAME - pjsip_pres_send_request @ 71 NONAME - pjsip_pres_set_status @ 72 NONAME - pjsip_pres_terminate @ 73 NONAME - pjsip_publishc_create @ 74 NONAME - pjsip_publishc_destroy @ 75 NONAME - pjsip_publishc_get_pool @ 76 NONAME - pjsip_publishc_init @ 77 NONAME - pjsip_publishc_init_module @ 78 NONAME - pjsip_publishc_publish @ 79 NONAME - pjsip_publishc_send @ 80 NONAME - pjsip_publishc_set_credentials @ 81 NONAME - pjsip_publishc_set_route_set @ 82 NONAME - pjsip_publishc_unpublish @ 83 NONAME - pjsip_publishc_update_expires @ 84 NONAME - pjsip_sub_state_hdr_create @ 85 NONAME - pjsip_subscribe_method @ 86 NONAME - pjsip_tsx_get_evsub @ 87 NONAME - pjsipsimple_strerror @ 88 NONAME - pjxpidf_create @ 89 NONAME - pjxpidf_get_status @ 90 NONAME - pjxpidf_get_uri @ 91 NONAME - pjxpidf_parse @ 92 NONAME - pjxpidf_print @ 93 NONAME - pjxpidf_set_status @ 94 NONAME - pjxpidf_set_uri @ 95 NONAME diff --git a/res/pjproject/build.symbian/pjsip_ua.mmp b/res/pjproject/build.symbian/pjsip_ua.mmp deleted file mode 100644 index 609c0a3947..0000000000 --- a/res/pjproject/build.symbian/pjsip_ua.mmp +++ /dev/null @@ -1,52 +0,0 @@ -#if defined(PJ_BUILD_DLL) - -TARGET pjsip_ua.dll -TARGETTYPE dll - -UID 0x0 0xA0000009 - - -CAPABILITY None -LIBRARY pjsip_simple.lib pjsip.lib pjsdp.lib pjlib_util.lib pjlib.lib esock.lib insock.lib charconv.lib euser.lib estlib.lib -MACRO PJ_DLL -MACRO PJ_EXPORTING - -DEFFILE .\pjsip_ua.def - -#else - -TARGET pjsip_ua.lib -TARGETTYPE lib - -#endif - -SOURCEPATH ..\pjsip\src\pjsip-ua - -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -// Must compile as C++, otherwise exception would not work -OPTION CW -lang c++ -OPTION ARMCC --cpp --gnu -OPTION GCC -x c++ -OPTION GCCE -x c++ - - -// PJSIP-UA files - -SOURCE sip_inv.c -SOURCE sip_reg.c -SOURCE sip_replaces.c -SOURCE sip_xfer.c -SOURCE sip_100rel.c -SOURCE sip_timer.c - -SYSTEMINCLUDE ..\pjlib\include -SYSTEMINCLUDE ..\pjlib-util\include -SYSTEMINCLUDE ..\pjsip\include -SYSTEMINCLUDE ..\pjmedia\include - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc - - diff --git a/res/pjproject/build.symbian/pjsip_uaU.def b/res/pjproject/build.symbian/pjsip_uaU.def deleted file mode 100644 index 0c847a9940..0000000000 --- a/res/pjproject/build.symbian/pjsip_uaU.def +++ /dev/null @@ -1,58 +0,0 @@ -EXPORTS - pjsip_100rel_attach @ 1 NONAME - pjsip_100rel_create_prack @ 2 NONAME - pjsip_100rel_end_session @ 3 NONAME - pjsip_100rel_init_module @ 4 NONAME - pjsip_100rel_is_reliable @ 5 NONAME - pjsip_100rel_on_rx_prack @ 6 NONAME - pjsip_100rel_send_prack @ 7 NONAME - pjsip_100rel_tx_response @ 8 NONAME - pjsip_create_sdp_body @ 9 NONAME - pjsip_dlg_get_inv_session @ 10 NONAME - pjsip_get_prack_method @ 11 NONAME - pjsip_get_refer_method @ 12 NONAME - pjsip_inv_answer @ 13 NONAME - pjsip_inv_create_ack @ 14 NONAME - pjsip_inv_create_uac @ 15 NONAME - pjsip_inv_create_uas @ 16 NONAME - pjsip_inv_end_session @ 17 NONAME - pjsip_inv_initial_answer @ 18 NONAME - pjsip_inv_invite @ 19 NONAME - pjsip_inv_reinvite @ 20 NONAME - pjsip_inv_send_msg @ 21 NONAME - pjsip_inv_set_sdp_answer @ 22 NONAME - pjsip_inv_state_name @ 23 NONAME - pjsip_inv_terminate @ 24 NONAME - pjsip_inv_update @ 25 NONAME - pjsip_inv_usage_init @ 26 NONAME - pjsip_inv_usage_instance @ 27 NONAME - pjsip_inv_verify_request @ 28 NONAME - pjsip_prack_method @ 29 NONAME - pjsip_refer_method @ 30 NONAME - pjsip_regc_add_headers @ 31 NONAME - pjsip_regc_create @ 32 NONAME - pjsip_regc_destroy @ 33 NONAME - pjsip_regc_get_info @ 34 NONAME - pjsip_regc_get_pool @ 35 NONAME - pjsip_regc_init @ 36 NONAME - pjsip_regc_register @ 37 NONAME - pjsip_regc_send @ 38 NONAME - pjsip_regc_set_credentials @ 39 NONAME - pjsip_regc_set_prefs @ 40 NONAME - pjsip_regc_set_route_set @ 41 NONAME - pjsip_regc_set_transport @ 42 NONAME - pjsip_regc_unregister @ 43 NONAME - pjsip_regc_unregister_all @ 44 NONAME - pjsip_regc_update_contact @ 45 NONAME - pjsip_regc_update_expires @ 46 NONAME - pjsip_replaces_hdr_create @ 47 NONAME - pjsip_replaces_init_module @ 48 NONAME - pjsip_replaces_verify_request @ 49 NONAME - pjsip_xfer_accept @ 50 NONAME - pjsip_xfer_create_uac @ 51 NONAME - pjsip_xfer_create_uas @ 52 NONAME - pjsip_xfer_current_notify @ 53 NONAME - pjsip_xfer_init_module @ 54 NONAME - pjsip_xfer_initiate @ 55 NONAME - pjsip_xfer_notify @ 56 NONAME - pjsip_xfer_send_request @ 57 NONAME diff --git a/res/pjproject/build.symbian/pjstun_client.mmp b/res/pjproject/build.symbian/pjstun_client.mmp deleted file mode 100644 index 6ca5eabcae..0000000000 --- a/res/pjproject/build.symbian/pjstun_client.mmp +++ /dev/null @@ -1,41 +0,0 @@ -TARGET pjstun_client.exe -TARGETTYPE exe -UID 0x0 0xA000000A - -OPTION ARMCC --gnu - -SOURCEPATH ..\pjnath\src\pjstun-client - -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -// PJSTUN-CLIENT files - -SOURCE client_main.c - -//SOURCE main_symbian.cpp - - -SYSTEMINCLUDE ..\pjlib\include -SYSTEMINCLUDE ..\pjlib-util\include -SYSTEMINCLUDE ..\pjnath\include - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc - -#if defined(PJ_BUILD_DLL) -MACRO PJ_DLL -LIBRARY pjnath.lib pjlib_util.lib pjlib.lib -#else -STATICLIBRARY pjnath.lib pjlib_util.lib pjlib.lib -#endif - -LIBRARY esock.lib insock.lib charconv.lib euser.lib estlib.lib - -#ifdef WINSCW -STATICLIBRARY eexe.lib ecrt0.lib -#endif - - -CAPABILITY None - diff --git a/res/pjproject/build.symbian/pjsua_lib.mmp b/res/pjproject/build.symbian/pjsua_lib.mmp deleted file mode 100644 index 0ec25cab35..0000000000 --- a/res/pjproject/build.symbian/pjsua_lib.mmp +++ /dev/null @@ -1,55 +0,0 @@ -#if defined(PJ_BUILD_DLL) - -TARGET pjsua_lib.dll -TARGETTYPE dll - -UID 0x0 0xA000000B - - -CAPABILITY None -LIBRARY pjsip_ua.lib pjsip_simple.lib pjsip.lib pjmedia.lib null_audio.lib pjsdp.lib pjnath.lib pjlib_util.lib pjlib.lib esock.lib insock.lib charconv.lib euser.lib estlib.lib -MACRO PJ_DLL -MACRO PJ_EXPORTING - -DEFFILE .\pjsua_lib.def - -#else - -TARGET pjsua_lib.lib -TARGETTYPE lib - -#endif - -SOURCEPATH ..\pjsip\src\pjsua-lib - -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -// Must compile as C++, otherwise exception would not work -OPTION CW -lang c++ -OPTION ARMCC --cpp --gnu -OPTION GCC -x c++ -OPTION GCCE -x c++ - -// PJLIB-UTIL files - -SOURCE pjsua_acc.c -SOURCE pjsua_aud.c -SOURCE pjsua_call.c -SOURCE pjsua_core.c -SOURCE pjsua_dump.c -SOURCE pjsua_im.c -SOURCE pjsua_media.c -SOURCE pjsua_pres.c -SOURCE pjsua_vid.c - -SYSTEMINCLUDE ..\pjlib\include -SYSTEMINCLUDE ..\pjlib-util\include -SYSTEMINCLUDE ..\pjnath\include -SYSTEMINCLUDE ..\pjmedia\include -SYSTEMINCLUDE ..\pjsip\include - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc - - diff --git a/res/pjproject/build.symbian/pjsua_libU.def b/res/pjproject/build.symbian/pjsua_libU.def deleted file mode 100644 index 911efbc611..0000000000 --- a/res/pjproject/build.symbian/pjsua_libU.def +++ /dev/null @@ -1,122 +0,0 @@ -EXPORTS - pjsua_acc_add @ 1 NONAME - pjsua_acc_add_local @ 2 NONAME - pjsua_acc_config_default @ 3 NONAME - pjsua_acc_config_dup @ 4 NONAME - pjsua_acc_create_request @ 5 NONAME - pjsua_acc_create_uac_contact @ 6 NONAME - pjsua_acc_create_uas_contact @ 7 NONAME - pjsua_acc_del @ 8 NONAME - pjsua_acc_enum_info @ 9 NONAME - pjsua_acc_find_for_incoming @ 10 NONAME - pjsua_acc_find_for_outgoing @ 11 NONAME - pjsua_acc_get_count @ 12 NONAME - pjsua_acc_get_default @ 13 NONAME - pjsua_acc_get_info @ 14 NONAME - pjsua_acc_is_valid @ 15 NONAME - pjsua_acc_modify @ 16 NONAME - pjsua_acc_set_default @ 17 NONAME - pjsua_acc_set_online_status @ 18 NONAME - pjsua_acc_set_online_status2 @ 19 NONAME - pjsua_acc_set_registration @ 20 NONAME - pjsua_acc_set_transport @ 21 NONAME - pjsua_buddy_add @ 22 NONAME - pjsua_buddy_config_default @ 23 NONAME - pjsua_buddy_del @ 24 NONAME - pjsua_buddy_get_info @ 25 NONAME - pjsua_buddy_is_valid @ 26 NONAME - pjsua_buddy_subscribe_pres @ 27 NONAME - pjsua_buddy_update_pres @ 28 NONAME - pjsua_call_answer @ 29 NONAME - pjsua_call_dial_dtmf @ 30 NONAME - pjsua_call_dump @ 31 NONAME - pjsua_call_get_conf_port @ 32 NONAME - pjsua_call_get_count @ 33 NONAME - pjsua_call_get_info @ 34 NONAME - pjsua_call_get_max_count @ 35 NONAME - pjsua_call_get_rem_nat_type @ 36 NONAME - pjsua_call_get_user_data @ 37 NONAME - pjsua_call_hangup @ 38 NONAME - pjsua_call_hangup_all @ 39 NONAME - pjsua_call_has_media @ 40 NONAME - pjsua_call_is_active @ 41 NONAME - pjsua_call_make_call @ 42 NONAME - pjsua_call_reinvite @ 43 NONAME - pjsua_call_send_im @ 44 NONAME - pjsua_call_send_request @ 45 NONAME - pjsua_call_send_typing_ind @ 46 NONAME - pjsua_call_set_hold @ 47 NONAME - pjsua_call_set_user_data @ 48 NONAME - pjsua_call_update @ 49 NONAME - pjsua_call_xfer @ 50 NONAME - pjsua_call_xfer_replaces @ 51 NONAME - pjsua_codec_get_param @ 52 NONAME - pjsua_codec_set_param @ 53 NONAME - pjsua_codec_set_priority @ 54 NONAME - pjsua_conf_add_port @ 55 NONAME - pjsua_conf_adjust_rx_level @ 56 NONAME - pjsua_conf_adjust_tx_level @ 57 NONAME - pjsua_conf_connect @ 58 NONAME - pjsua_conf_disconnect @ 59 NONAME - pjsua_conf_get_active_ports @ 60 NONAME - pjsua_conf_get_max_ports @ 61 NONAME - pjsua_conf_get_port_info @ 62 NONAME - pjsua_conf_get_signal_level @ 63 NONAME - pjsua_conf_remove_port @ 64 NONAME - pjsua_config_default @ 65 NONAME - pjsua_config_dup @ 66 NONAME - pjsua_create @ 67 NONAME - pjsua_destroy @ 68 NONAME - pjsua_detect_nat_type @ 69 NONAME - pjsua_dump @ 70 NONAME - pjsua_enum_accs @ 71 NONAME - pjsua_enum_buddies @ 72 NONAME - pjsua_enum_calls @ 73 NONAME - pjsua_enum_codecs @ 74 NONAME - pjsua_enum_conf_ports @ 75 NONAME - pjsua_enum_snd_devs @ 76 NONAME - pjsua_enum_transports @ 77 NONAME - pjsua_get_buddy_count @ 78 NONAME - pjsua_get_ec_tail @ 79 NONAME - pjsua_get_nat_type @ 80 NONAME - pjsua_get_pjmedia_endpt @ 81 NONAME - pjsua_get_pjsip_endpt @ 82 NONAME - pjsua_get_pool_factory @ 83 NONAME - pjsua_get_snd_dev @ 84 NONAME - pjsua_get_var @ 85 NONAME - pjsua_handle_events @ 86 NONAME - pjsua_im_send @ 87 NONAME - pjsua_im_typing @ 88 NONAME - pjsua_init @ 89 NONAME - pjsua_logging_config_default @ 90 NONAME - pjsua_logging_config_dup @ 91 NONAME - pjsua_media_config_default @ 92 NONAME - pjsua_media_transports_create @ 93 NONAME - pjsua_msg_data_init @ 94 NONAME - pjsua_perror @ 95 NONAME - pjsua_player_create @ 96 NONAME - pjsua_player_destroy @ 97 NONAME - pjsua_player_get_conf_port @ 98 NONAME - pjsua_player_get_port @ 99 NONAME - pjsua_player_set_pos @ 100 NONAME - pjsua_playlist_create @ 101 NONAME - pjsua_pool_create @ 102 NONAME - pjsua_pres_dump @ 103 NONAME - pjsua_reconfigure_logging @ 104 NONAME - pjsua_recorder_create @ 105 NONAME - pjsua_recorder_destroy @ 106 NONAME - pjsua_recorder_get_conf_port @ 107 NONAME - pjsua_recorder_get_port @ 108 NONAME - pjsua_set_ec @ 109 NONAME - pjsua_set_no_snd_dev @ 110 NONAME - pjsua_set_null_snd_dev @ 111 NONAME - pjsua_set_snd_dev @ 112 NONAME - pjsua_start @ 113 NONAME - pjsua_transport_close @ 114 NONAME - pjsua_transport_config_default @ 115 NONAME - pjsua_transport_config_dup @ 116 NONAME - pjsua_transport_create @ 117 NONAME - pjsua_transport_get_info @ 118 NONAME - pjsua_transport_register @ 119 NONAME - pjsua_transport_set_enable @ 120 NONAME - pjsua_verify_sip_url @ 121 NONAME diff --git a/res/pjproject/build.symbian/symbian_audio.mmp b/res/pjproject/build.symbian/symbian_audio.mmp deleted file mode 100644 index bba9ce5fa0..0000000000 --- a/res/pjproject/build.symbian/symbian_audio.mmp +++ /dev/null @@ -1,47 +0,0 @@ -#if defined(PJ_BUILD_DLL) - -TARGET symbian_audio.dll -TARGETTYPE dll -UID 0x0 0xA000000C - -CAPABILITY None -LIBRARY pjlib.lib charconv.lib euser.lib estlib.lib -LIBRARY mediaclientaudiostream.lib -LIBRARY mediaclientaudioinputstream.lib - -MACRO PJ_DLL -MACRO PJ_EXPORTING - -DEFFILE .\symbian_audio.def - -#else - -TARGET symbian_audio.lib -TARGETTYPE lib - -#endif - -SOURCEPATH ..\pjmedia\src\pjmedia - -OPTION CW -lang c++ -OPTION GCCE -O2 -fno-unit-at-a-time -OPTION ARMCC --gnu - -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -SOURCE nullsound.c -SOURCE symbian_sound.cpp -SOURCE symbian_sound_aps.cpp - -SYSTEMINCLUDE ..\pjlib\include -SYSTEMINCLUDE ..\pjmedia\include - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc -SYSTEMINCLUDE \epoc32\include\mmf\server -SYSTEMINCLUDE \epoc32\include\mmf\common -SYSTEMINCLUDE \epoc32\include\mda\common - -SYSTEMINCLUDE \epoc32\include\mmf\plugin - diff --git a/res/pjproject/build.symbian/symbian_audioU.def b/res/pjproject/build.symbian/symbian_audioU.def deleted file mode 100644 index 883d5d8361..0000000000 --- a/res/pjproject/build.symbian/symbian_audioU.def +++ /dev/null @@ -1,12 +0,0 @@ -EXPORTS - pjmedia_snd_deinit @ 1 NONAME - pjmedia_snd_get_dev_count @ 2 NONAME - pjmedia_snd_get_dev_info @ 3 NONAME - pjmedia_snd_init @ 4 NONAME - pjmedia_snd_open @ 5 NONAME - pjmedia_snd_open_player @ 6 NONAME - pjmedia_snd_open_rec @ 7 NONAME - pjmedia_snd_stream_close @ 8 NONAME - pjmedia_snd_stream_get_info @ 9 NONAME - pjmedia_snd_stream_start @ 10 NONAME - pjmedia_snd_stream_stop @ 11 NONAME diff --git a/res/pjproject/build.symbian/symbian_ua.mmp b/res/pjproject/build.symbian/symbian_ua.mmp deleted file mode 100644 index 6b39495274..0000000000 --- a/res/pjproject/build.symbian/symbian_ua.mmp +++ /dev/null @@ -1,84 +0,0 @@ -// These part may be overwritten by automated test -// =BEGIN -#define SND_HAS_APS 0 -#define SND_HAS_VAS 0 -#define SND_HAS_MDA 1 -// =END - -TARGET symbian_ua.exe -TARGETTYPE exe -//UID 0x0 0x200235D3 -UID 0x0 0xA000000D - -SOURCEPATH ..\pjsip-apps\src\symbian_ua - -OPTION ARMCC --gnu - -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -// Source files - -SOURCE ua.cpp -SOURCE main_symbian.cpp - -DOCUMENT ua.h - -START RESOURCE symbian_ua_reg.rss - TARGETPATH \private\10003a3f\apps -END - -SYSTEMINCLUDE ..\pjlib\include -SYSTEMINCLUDE ..\pjlib-util\include -SYSTEMINCLUDE ..\pjnath\include -SYSTEMINCLUDE ..\pjmedia\include -SYSTEMINCLUDE ..\pjsip\include - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc - -// Ordering static libs based on dependencies, most to least dependent, -// this could be necessary for some SDKs, e.g: S60 3rd MR -STATICLIBRARY pjsua_lib.lib -STATICLIBRARY pjsip_ua.lib pjsip_simple.lib pjsip.lib -STATICLIBRARY libgsmcodec.lib libspeexcodec.lib -STATICLIBRARY libg7221codec.lib libpassthroughcodec.lib -STATICLIBRARY pjmedia.lib -STATICLIBRARY pjmedia_audiodev.lib -STATICLIBRARY pjsdp.lib -STATICLIBRARY pjnath.lib -STATICLIBRARY pjlib_util.lib pjlib.lib -STATICLIBRARY libsrtp.lib -STATICLIBRARY libresample.lib - -#if SND_HAS_APS - LIBRARY APSSession2.lib -#endif - -#if SND_HAS_VAS - LIBRARY VoIPAudioIntfc.lib -#endif - -#if SND_HAS_MDA - LIBRARY mediaclientaudiostream.lib - LIBRARY mediaclientaudioinputstream.lib -#endif - -#if SND_HAS_APS || SND_HAS_VAS - CAPABILITY NetworkServices LocalServices ReadUserData WriteUserData UserEnvironment MultimediaDD -#else - CAPABILITY NetworkServices LocalServices ReadUserData WriteUserData UserEnvironment -#endif - -#ifdef WINSCW - STATICLIBRARY eexe.lib ecrt0.lib -#endif - -LIBRARY esock.lib insock.lib charconv.lib euser.lib estlib.lib commdb.lib apengine.lib -LIBRARY securesocket.lib x509.lib crypto.lib x500.lib -LIBRARY hal.lib efsrv.lib - -// The default 8KB seems to be insufficient with all bells and -// whistles turned on -EPOCSTACKSIZE 12288 - diff --git a/res/pjproject/build.symbian/symbian_ua.pkg b/res/pjproject/build.symbian/symbian_ua.pkg deleted file mode 100644 index 32894c3821..0000000000 --- a/res/pjproject/build.symbian/symbian_ua.pkg +++ /dev/null @@ -1,19 +0,0 @@ -; symbian_ua.pkg - -; Languages -&EN - -; Header -;#{"symbian_ua"},(0x200235D3), 0, 1, 1 -#{"symbian_ua"},(0xA000000D), 0, 1, 1 - -; Platform compatibility -[0x101F7961], *, *, *,{"Series60ProductID"} - -; vendor -%{"PJSIP"} -:"PJSIP" - -; Target -"$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\symbian_ua.exe"-"!:\sys\bin\symbian_ua.exe" -"$(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\symbian_ua_reg.rSC"-"!:\private\10003a3f\import\apps\symbian_ua_reg.rSC" diff --git a/res/pjproject/build.symbian/symbian_ua_udeb.pkg b/res/pjproject/build.symbian/symbian_ua_udeb.pkg deleted file mode 100644 index 19ab90fe33..0000000000 --- a/res/pjproject/build.symbian/symbian_ua_udeb.pkg +++ /dev/null @@ -1,21 +0,0 @@ -; symbian_ua_udeb.pkg - -; for Carbide development, please use symbian_ua.pkg for comfortness -; (epoc32 path, platform, and target are set automatically using env vars) - -; Languages -&EN - -; Header -#{"symbian_ua"},(0x200235D3), 0, 1, 1 - -; Platform compatibility -[0x101F7961], *, *, *,{"Series60ProductID"} - -; vendor -%{"PJSIP"} -:"PJSIP" - -; Target -"C:\Symbian\9.2\S60_3rd_FP1\epoc32\release\gcce\UDEB\symbian_ua.exe"-"!:\sys\bin\symbian_ua.exe" -"C:\Symbian\9.2\S60_3rd_FP1\epoc32\data\z\private\10003a3f\apps\symbian_ua_reg.rSC"-"!:\private\10003a3f\import\apps\symbian_ua_reg.rSC" diff --git a/res/pjproject/build.symbian/symbian_ua_urel.pkg b/res/pjproject/build.symbian/symbian_ua_urel.pkg deleted file mode 100644 index 03a5c2b8cc..0000000000 --- a/res/pjproject/build.symbian/symbian_ua_urel.pkg +++ /dev/null @@ -1,21 +0,0 @@ -; symbian_ua.pkg - -; for Carbide development, please use symbian_ua.pkg for comfortness -; (epoc32 path, platform, and target are set automatically using env vars) - -; Languages -&EN - -; Header -#{"symbian_ua"},(0x200235D3), 0, 1, 1 - -; Platform compatibility -[0x101F7961], *, *, *,{"Series60ProductID"} - -; vendor -%{"PJSIP"} -:"PJSIP" - -; Target -"C:\Symbian\9.1\S60_3rd_MR\epoc32\release\gcce\UREL\symbian_ua.exe"-"!:\sys\bin\symbian_ua.exe" -"C:\Symbian\9.1\S60_3rd_MR\epoc32\data\z\private\10003a3f\apps\symbian_ua_reg.rSC"-"!:\private\10003a3f\import\apps\symbian_ua_reg.rSC" diff --git a/res/pjproject/build.symbian/symsndtest.mmp b/res/pjproject/build.symbian/symsndtest.mmp deleted file mode 100644 index fb375dbc13..0000000000 --- a/res/pjproject/build.symbian/symsndtest.mmp +++ /dev/null @@ -1,51 +0,0 @@ -#define SND_USE_APS 0 -#define SND_USE_VAS 0 - -TARGET symsndtest.exe -TARGETTYPE exe -UID 0x0 0xA000000E - -OPTION ARMCC --gnu - -SOURCEPATH ..\pjsip-apps\src\symsndtest - -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -// Test files - -SOURCE app_main.cpp -SOURCE main_symbian.cpp - -START RESOURCE symsndtest_reg.rss - TARGETPATH \private\10003a3f\apps -END - -SYSTEMINCLUDE ..\pjlib\include -SYSTEMINCLUDE ..\pjmedia\include - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\libc - -LIBRARY charconv.lib euser.lib estlib.lib -LIBRARY esock.lib insock.lib -STATICLIBRARY pjmedia_audiodev.lib -STATICLIBRARY pjmedia.lib -STATICLIBRARY pjlib.lib -STATICLIBRARY libresample.lib - -#if SND_USE_APS - LIBRARY APSSession2.lib - CAPABILITY NetworkServices LocalServices ReadUserData WriteUserData UserEnvironment MultimediaDD -#elif SND_USE_VAS - LIBRARY VoIPAudioIntfc.lib - CAPABILITY NetworkServices LocalServices ReadUserData WriteUserData UserEnvironment MultimediaDD -#else - LIBRARY mediaclientaudiostream.lib - LIBRARY mediaclientaudioinputstream.lib - CAPABILITY NetworkServices LocalServices ReadUserData WriteUserData UserEnvironment -#endif - -#ifdef WINSCW - STATICLIBRARY eexe.lib ecrt0.lib -#endif diff --git a/res/pjproject/build.symbian/symsndtest.pkg b/res/pjproject/build.symbian/symsndtest.pkg deleted file mode 100644 index b401cee1fe..0000000000 --- a/res/pjproject/build.symbian/symsndtest.pkg +++ /dev/null @@ -1,19 +0,0 @@ -; symsndtest.pkg - -; Languages -&EN - -; Header -#{"symsndtest"},(0xA000000E), 0, 1, 1 - -; Platform compatibility -[0x101F7961], *, *, *, {"Series60ProductID"} - -; vendor -%{"PJSIP"} -:"PJSIP" - -; Target -"$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\symsndtest.exe"-"!:\sys\bin\symsndtest.exe" -"$(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\symsndtest_reg.rSC"-"!:\private\10003a3f\import\apps\symsndtest_reg.rSC" - diff --git a/res/pjproject/build/cc-auto.mak.in b/res/pjproject/build/cc-auto.mak.in deleted file mode 100644 index 2530e210b1..0000000000 --- a/res/pjproject/build/cc-auto.mak.in +++ /dev/null @@ -1,22 +0,0 @@ -export CC = @CC@ -c -export CXX = @CXX@ -c -export AR = @AR@ -export AR_FLAGS = @AR_FLAGS@ -export LD = @LD@ -export LDOUT = -o -export RANLIB = @RANLIB@ - -export OBJEXT := .@OBJEXT@ -export LIBEXT := .@LIBEXT@ -export LIBEXT2 := @LIBEXT2@ - -export CC_OUT := @CC_OUT@ -export CC_INC := @CC_INC@ -export CC_DEF := @CC_DEF@ -export CC_OPTIMIZE := @CC_OPTIMIZE@ -export CC_LIB := -l - -export CC_SOURCES := -export CC_CFLAGS := @CC_CFLAGS@ -export CC_LDFLAGS := - diff --git a/res/pjproject/build/cc-gcc.mak b/res/pjproject/build/cc-gcc.mak deleted file mode 100644 index a3b4807e79..0000000000 --- a/res/pjproject/build/cc-gcc.mak +++ /dev/null @@ -1,22 +0,0 @@ -export CC = $(CROSS_COMPILE)gcc -c -export AR = $(CROSS_COMPILE)ar rv -export LD = $(CROSS_COMPILE)gcc -export LDOUT = -o -export RANLIB = $(CROSS_COMPILE)ranlib - -export OBJEXT := .o -export LIBEXT := .a -export LIBEXT2 := - -export CC_OUT := -o -export CC_INC := -I -export CC_DEF := -D -export CC_OPTIMIZE := -O2 -export CC_LIB := -l - -export CC_SOURCES := -export CC_CFLAGS := -Wall -#export CC_CFLAGS += -Wdeclaration-after-statement -#export CC_CXXFLAGS := -Wdeclaration-after-statement -export CC_LDFLAGS := - diff --git a/res/pjproject/build/cc-vc.mak b/res/pjproject/build/cc-vc.mak deleted file mode 100644 index 187372d1c2..0000000000 --- a/res/pjproject/build/cc-vc.mak +++ /dev/null @@ -1,20 +0,0 @@ -export CC := cl /c /nologo -export AR := lib /NOLOGO /OUT: -export LD := cl /nologo -export LDOUT := /Fe -export RANLIB := echo ranlib - -export OBJEXT := .obj -export LIBEXT := .lib -export LIBEXT2 := .LIB - -export CC_OUT := /Fo -export CC_INC := /I -export CC_DEF := /D -export CC_OPTIMIZE := /Ox -export CC_LIB := - -export CC_SOURCES := -export CC_CFLAGS := /W4 /MT -export CC_CXXFLAGS := /GX -export CC_LDFLAGS := /MT diff --git a/res/pjproject/build/common.mak b/res/pjproject/build/common.mak deleted file mode 100644 index ad6df03e94..0000000000 --- a/res/pjproject/build/common.mak +++ /dev/null @@ -1,63 +0,0 @@ -# -# Include host/target/compiler selection. -# This will export CC_NAME, MACHINE_NAME, OS_NAME, and HOST_NAME variables. -# -include $(PJDIR)/build.mak - -# -# Include global compiler specific definitions -# -include $(PJDIR)/build/cc-$(CC_NAME).mak - -# -# (Optionally) Include compiler specific configuration that is -# specific to this project. This configuration file is -# located in this directory. -# --include cc-$(CC_NAME).mak - -# -# Include auto configured compiler specification. -# This will override the compiler settings above. -# Currently this is made OPTIONAL, to prevent people -# from getting errors because they don't re-run ./configure -# after downloading new PJSIP. -# --include $(PJDIR)/build/cc-auto.mak - -# -# Include global machine specific definitions -# -include $(PJDIR)/build/m-$(MACHINE_NAME).mak --include m-$(MACHINE_NAME).mak - -# -# Include target OS specific definitions -# -include $(PJDIR)/build/os-$(OS_NAME).mak - -# -# (Optionally) Include target OS specific configuration that is -# specific to this project. This configuration file is -# located in this directory. -# --include os-$(OS_NAME).mak - -# -# Include host specific definitions -# -include $(PJDIR)/build/host-$(HOST_NAME).mak - -# -# (Optionally) Include host specific configuration that is -# specific to this project. This configuration file is -# located in this directory. -# --include host-$(HOST_NAME).mak - -# -# Include global user configuration, if any -# --include $(PJDIR)/user.mak - - diff --git a/res/pjproject/build/host-mingw.mak b/res/pjproject/build/host-mingw.mak deleted file mode 100644 index 94d03af321..0000000000 --- a/res/pjproject/build/host-mingw.mak +++ /dev/null @@ -1,13 +0,0 @@ -export HOST_MV := mv -export HOST_RM := rm -f @@ -export HOST_RMR := rm -rf @@ -export HOST_RMDIR := rm -rf @@ -export HOST_MKDIR := mkdir @@ -export HOST_EXE := .exe -export HOST_PSEP := / - -export HOST_SOURCES := -export HOST_CFLAGS := -export HOST_CXXFLAGS := -export HOST_LDFLAGS := $(CC_LIB)stdc++$(LIBEXT2) - diff --git a/res/pjproject/build/host-unix.mak b/res/pjproject/build/host-unix.mak deleted file mode 100644 index 0c62ac5434..0000000000 --- a/res/pjproject/build/host-unix.mak +++ /dev/null @@ -1,13 +0,0 @@ -export HOST_MV := mv -export HOST_RM := rm -f @@ -export HOST_RMR := rm -rf @@ -export HOST_RMDIR := rm -rf @@ -export HOST_MKDIR := mkdir -p @@ -export HOST_EXE := $(HOST_EXE) -export HOST_PSEP := / - -export HOST_SOURCES := -export HOST_CFLAGS := -export HOST_CXXFLAGS := -export HOST_LDFLAGS := - diff --git a/res/pjproject/build/host-win32.mak b/res/pjproject/build/host-win32.mak deleted file mode 100644 index 9d0b379fbd..0000000000 --- a/res/pjproject/build/host-win32.mak +++ /dev/null @@ -1,12 +0,0 @@ -export HOST_MV := ren -export HOST_RM := if exist @@; del /F /Q @@ -export HOST_RMR := if exist @@; del /F /Q @@ -export HOST_RMDIR := if exist @@; rmdir @@ -export HOST_MKDIR := if not exist @@; mkdir @@ -export HOST_EXE := .exe -export HOST_PSEP := \\ - -export HOST_SOURCES := -export HOST_CFLAGS := -export HOST_CXXFLAGS := -export HOST_LDFLAGS := diff --git a/res/pjproject/build/m-alpha.mak b/res/pjproject/build/m-alpha.mak deleted file mode 100644 index f1c7502514..0000000000 --- a/res/pjproject/build/m-alpha.mak +++ /dev/null @@ -1,4 +0,0 @@ -export M_CFLAGS := $(CC_DEF)PJ_M_ALPHA=1 -export M_CXXFLAGS := -export M_LDFLAGS := -export M_SOURCES := diff --git a/res/pjproject/build/m-arm.mak b/res/pjproject/build/m-arm.mak deleted file mode 100644 index 43a1ef2b37..0000000000 --- a/res/pjproject/build/m-arm.mak +++ /dev/null @@ -1,4 +0,0 @@ -export M_CFLAGS := $(CC_DEF)PJ_M_ARMV4=1 -export M_CXXFLAGS := -export M_LDFLAGS := -export M_SOURCES := diff --git a/res/pjproject/build/m-auto.mak b/res/pjproject/build/m-auto.mak deleted file mode 100644 index 3bd2ac3498..0000000000 --- a/res/pjproject/build/m-auto.mak +++ /dev/null @@ -1 +0,0 @@ -# Nothing needs to be defined here diff --git a/res/pjproject/build/m-i386.mak b/res/pjproject/build/m-i386.mak deleted file mode 100644 index 1a8229d71d..0000000000 --- a/res/pjproject/build/m-i386.mak +++ /dev/null @@ -1,4 +0,0 @@ -export M_CFLAGS := $(CC_DEF)PJ_M_I386=1 -export M_CXXFLAGS := -export M_LDFLAGS := -export M_SOURCES := diff --git a/res/pjproject/build/m-m68k.mak b/res/pjproject/build/m-m68k.mak deleted file mode 100644 index 265a6eae95..0000000000 --- a/res/pjproject/build/m-m68k.mak +++ /dev/null @@ -1,4 +0,0 @@ -export M_CFLAGS := $(CC_DEF)PJ_M_M68K=1 -export M_CXXFLAGS := -export M_LDFLAGS := -export M_SOURCES := diff --git a/res/pjproject/build/m-mpc860.mak b/res/pjproject/build/m-mpc860.mak deleted file mode 100644 index 04ff947115..0000000000 --- a/res/pjproject/build/m-mpc860.mak +++ /dev/null @@ -1,9 +0,0 @@ -# -# PowerPC MPC860 specific. -# It's a PowerPC without floating point support. -# -export M_CFLAGS := $(CC_DEF)PJ_M_POWERPC=1 $(CC_DEF)PJ_HAS_FLOATING_POINT=0 -mcpu=860 -export M_CXXFLAGS := -export M_LDFLAGS := -mcpu=860 -export M_SOURCES := - diff --git a/res/pjproject/build/m-powerpc.mak b/res/pjproject/build/m-powerpc.mak deleted file mode 100644 index 6a8d448303..0000000000 --- a/res/pjproject/build/m-powerpc.mak +++ /dev/null @@ -1,4 +0,0 @@ -export M_CFLAGS := $(CC_DEF)PJ_M_POWERPC=1 -export M_CXXFLAGS := -export M_LDFLAGS := -export M_SOURCES := diff --git a/res/pjproject/build/m-sparc.mak b/res/pjproject/build/m-sparc.mak deleted file mode 100644 index fa27aacc51..0000000000 --- a/res/pjproject/build/m-sparc.mak +++ /dev/null @@ -1,4 +0,0 @@ -export M_CFLAGS := $(CC_DEF)PJ_M_SPARC=1 -export M_CXXFLAGS := -export M_LDFLAGS := -export M_SOURCES := diff --git a/res/pjproject/build/m-x86_64.mak b/res/pjproject/build/m-x86_64.mak deleted file mode 100644 index 5e847e9c0d..0000000000 --- a/res/pjproject/build/m-x86_64.mak +++ /dev/null @@ -1,4 +0,0 @@ -export M_CFLAGS := $(CC_DEF)PJ_M_X86_64=1 -export M_CXXFLAGS := -export M_LDFLAGS := -export M_SOURCES := diff --git a/res/pjproject/build/os-auto.mak.in b/res/pjproject/build/os-auto.mak.in deleted file mode 100644 index 3d99927e57..0000000000 --- a/res/pjproject/build/os-auto.mak.in +++ /dev/null @@ -1,11 +0,0 @@ -# @configure_input@ - -export OS_CFLAGS := $(CC_DEF)PJ_AUTOCONF=1 @CFLAGS@ - -export OS_CXXFLAGS := $(CC_DEF)PJ_AUTOCONF=1 @CXXFLAGS@ - -export OS_LDFLAGS := @LDFLAGS@ @LIBS@ - -export OS_SOURCES := - - diff --git a/res/pjproject/build/os-darwinos.mak b/res/pjproject/build/os-darwinos.mak deleted file mode 100644 index 9db31a160a..0000000000 --- a/res/pjproject/build/os-darwinos.mak +++ /dev/null @@ -1,9 +0,0 @@ -export OS_CFLAGS := $(CC_DEF)PJ_DARWINOS=1 - -export OS_CXXFLAGS := - -export OS_LDFLAGS := $(CC_LIB)pthread$(LIBEXT2) -framework CoreAudio -lm - -export OS_SOURCES := - - diff --git a/res/pjproject/build/os-linux-kernel.mak b/res/pjproject/build/os-linux-kernel.mak deleted file mode 100644 index f5591161a9..0000000000 --- a/res/pjproject/build/os-linux-kernel.mak +++ /dev/null @@ -1,43 +0,0 @@ - -include $(KERNEL_DIR)/.config - -# -# Basic kernel compilation flags. -# -export OS_CFLAGS := $(CC_DEF)PJ_LINUX_KERNEL=1 -D__KERNEL__ \ - -I$(KERNEL_DIR)/include -iwithprefix include \ - -nostdinc -msoft-float - -# -# Additional kernel compilation flags are taken from the kernel Makefile -# itself. -# - -KERNEL_CFLAGS := \ - $(shell cd $(KERNEL_DIR) ; \ - make script SCRIPT='@echo $$(CFLAGS) $$(CFLAGS_MODULE)' $(KERNEL_ARCH)) - -export OS_CFLAGS += $(KERNEL_CFLAGS) - -# -DMODULE -I$(KERNEL_DIR)/include -nostdinc \ -# -Wstrict-prototypes \ -# -Wno-trigraphs -fno-strict-aliasing -fno-common \ -# -msoft-float -m32 -fno-builtin-sprintf -fno-builtin-log2\ -# -fno-builtin-puts -mpreferred-stack-boundary=2 \ -# -fno-unit-at-a-time -march=i686 -mregparm=3 \ -# -iwithprefix include - -#export OS_CFLAGS += -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH=\"i386\" \ -# -D_LARGEFILE64_SOURCE -I$(KERNEL_DIR)/arch/um/include \ -# -Derrno=kernel_errno \ -# -I$(KERNEL_DIR)/arch/um/kernel/tt/include \ -# -I$(KERNEL_DIR)/arch/um/kernel/skas/include \ - - -export OS_CXXFLAGS := - -export OS_LDFLAGS := - -export OS_SOURCES := - - diff --git a/res/pjproject/build/os-linux.mak b/res/pjproject/build/os-linux.mak deleted file mode 100644 index d3783b8432..0000000000 --- a/res/pjproject/build/os-linux.mak +++ /dev/null @@ -1,9 +0,0 @@ -export OS_CFLAGS := $(CC_DEF)PJ_LINUX=1 - -export OS_CXXFLAGS := - -export OS_LDFLAGS := -lportaudio-$(TARGET_NAME) -lgsmcodec-$(TARGET_NAME) -lilbccodec-$(TARGET_NAME) -lspeex-$(TARGET_NAME) -lresample-$(TARGET_NAME) $(CC_LIB)pthread$(LIBEXT2) -lm - -export OS_SOURCES := - - diff --git a/res/pjproject/build/os-palmos.mak b/res/pjproject/build/os-palmos.mak deleted file mode 100644 index 43f83bb3ee..0000000000 --- a/res/pjproject/build/os-palmos.mak +++ /dev/null @@ -1,32 +0,0 @@ -# -# make-mingw.inc: Mingw specific compilation switches. -# -PALM_OS_SDK_VER := 0x06000000 -PALM_OS_TARGET_HOST := TARGET_HOST_PALMOS -PALM_OS_TARGET_PLATFORM := TARGET_PLATFORM_PALMSIM_WIN32 -PALM_OS_BUILD_TYPE := BUILD_TYPE_DEBUG -PALM_OS_TRACE_OUTPUT := TRACE_OUTPUT_ON -PALM_OS_CPU_TYPE := CPU_ARM - -export CROSS_COMPILE := - -ifeq ($(CC_NAME),gcc) - export CFLAGS += -mno-cygwin -fexceptions -frtti -endif - -export OS_CFLAGS := $(CC_DEF)PJ_PALMOS=1 \ - $(CC_DEF)__PALMOS_KERNEL__=1 \ - $(CC_DEF)__PALMOS__=$(PALM_OS_SDK_VER) \ - $(CC_DEF)BUILD_TYPE=$(PALM_OS_BUILD_TYPE) \ - $(CC_DEF)TRACE_OUTPUT=$(PALM_OS_TRACE_OUTPUT) \ - $(CC_DEF)_SUPPORTS_NAMESPACE=0 \ - $(CC_DEF)_SUPPORTS_RTTI=0 \ - $(CC_DEF)TARGET_HOST=$(PALM_OS_TRAGET_HOST) \ - $(CC_DEF)TARGET_PLATFORM=$(PALM_OS_TARGET_PLATFORM) - -export OS_CXXFLAGS := - -export OS_LDFLAGS := - -export OS_SOURCES := - diff --git a/res/pjproject/build/os-rtems.mak b/res/pjproject/build/os-rtems.mak deleted file mode 100644 index af99dbfc15..0000000000 --- a/res/pjproject/build/os-rtems.mak +++ /dev/null @@ -1,17 +0,0 @@ -# -# Global OS specific configurations for RTEMS OS. -# -# Thanks Zetron, Inc and Phil Torre for donating PJLIB -# port to RTEMS. -# -export RTEMS_DEBUG := -ggdb3 -DRTEMS_DEBUG -DDEBUG -qrtems_debug - -export OS_CFLAGS := $(CC_DEF)PJ_RTEMS=1 \ - -B$(RTEMS_LIBRARY_PATH)/lib/ -specs bsp_specs -qrtems - -export OS_CXXFLAGS := - -export OS_LDFLAGS := -B$(RTEMS_LIBRARY_PATH)/lib/ -specs bsp_specs -qrtems -lm - -export OS_SOURCES := - diff --git a/res/pjproject/build/os-sunos.mak b/res/pjproject/build/os-sunos.mak deleted file mode 100644 index 608f9ebb43..0000000000 --- a/res/pjproject/build/os-sunos.mak +++ /dev/null @@ -1,13 +0,0 @@ -export OS_CFLAGS := $(CC_DEF)PJ_SUNOS=1 - -export OS_CXXFLAGS := - -export OS_LDFLAGS := $(CC_LIB)pthread$(LIBEXT2) \ - $(CC_LIB)socket$(LIBEXT2) \ - $(CC_LIB)rt$(LIBEXT2) \ - $(CC_LIB)nsl$(LIBEXT2) \ - $(CC_LIB)m$(LIBEXT2) - -export OS_SOURCES := - - diff --git a/res/pjproject/build/os-win32.mak b/res/pjproject/build/os-win32.mak deleted file mode 100644 index 816a97f136..0000000000 --- a/res/pjproject/build/os-win32.mak +++ /dev/null @@ -1,12 +0,0 @@ -export OS_CFLAGS := $(CC_DEF)PJ_WIN32=1 - -export OS_CXXFLAGS := - -export OS_LDFLAGS := $(CC_LIB)wsock32$(LIBEXT2) \ - $(CC_LIB)ws2_32$(LIBEXT2)\ - $(CC_LIB)ole32$(LIBEXT2)\ - $(CC_LIB)m$(LIBEXT2) - -export OS_SOURCES := - - diff --git a/res/pjproject/build/rules.mak b/res/pjproject/build/rules.mak deleted file mode 100644 index 15ae667273..0000000000 --- a/res/pjproject/build/rules.mak +++ /dev/null @@ -1,195 +0,0 @@ -ifeq ($(LIBDIR),) -LIBDIR = ../lib -endif -ifeq ($(BINDIR),) -BINDIR = ../bin -endif - -# -# The full path of output lib file (e.g. ../lib/libapp.a). -# -LIB = $($(APP)_LIB) - -# -# The full path of output lib file (e.g. ../lib/libapp.a). -# -SHLIB = $($(APP)_SHLIB) - -# -# The full path of output executable file (e.g. ../bin/app.exe). -# -EXE = $($(APP)_EXE) - -# -# Source directory -# -SRCDIR = $($(APP)_SRCDIR) - -# -# Output directory for object files (i.e. output/target) -# -OBJDIR = output/$(app)-$(TARGET_NAME) - -ifeq ($(OS_NAME),linux-kernel) -export $(APP)_CFLAGS += -DKBUILD_MODNAME=$(app) -DKBUILD_BASENAME=$(app) -endif - - -# -# OBJS is ./output/target/file.o -# -OBJS = $(foreach file, $($(APP)_OBJS), $(OBJDIR)/$(file)) -OBJDIRS := $(sort $(dir $(OBJS))) - -# -# FULL_SRCS is ../src/app/file1.c ../src/app/file1.S -# -FULL_SRCS = $(foreach file, $($(APP)_OBJS), $(SRCDIR)/$(basename $(file)).m $(SRCDIR)/$(basename $(file)).c $(SRCDIR)/$(basename $(file)).cpp $(SRCDIR)/$(basename $(file)).S) - -# -# When generating dependency (gcc -MM), ideally we use only either -# CFLAGS or CXXFLAGS (not both). But I just couldn't make if/ifeq to work. -# -DEPFLAGS = $($(APP)_CXXFLAGS) $($(APP)_CFLAGS) - -# Dependency file -DEP_FILE := .$(app)-$(TARGET_NAME).depend - - -print_common: - @echo "###" - @echo "### DUMPING MAKE VARIABLES (I WON'T DO ANYTHING ELSE):" - @echo "###" - @echo APP=$(APP) - @echo OBJDIR=$(OBJDIR) - @echo OBJDIRS=$(OBJDIRS) - @echo OBJS=$(OBJS) - @echo SRCDIR=$(SRCDIR) - @echo FULL_SRCS=$(FULL_SRCS) - @echo $(APP)_CFLAGS=$($(APP)_CFLAGS) - @echo $(APP)_CXXFLAGS=$($(APP)_CXXFLAGS) - @echo $(APP)_LDFLAGS=$($(APP)_LDFLAGS) - @echo DEPFLAGS=$(DEPFLAGS) - @echo CC=$(CC) - @echo AR=$(AR) - @echo AR_FLAGS=$(AR_FLAGS) - @echo RANLIB=$(RANLIB) - -print_bin: print_common - @echo EXE=$(EXE) - @echo BINDIR=$(BINDIR) - -print_lib: print_common - @echo LIB=$(LIB) - @echo LIBDIR=$(LIBDIR) - -$(LIB): $(OBJDIRS) $(OBJS) $($(APP)_EXTRA_DEP) - if test ! -d $(LIBDIR); then $(subst @@,$(subst /,$(HOST_PSEP),$(LIBDIR)),$(HOST_MKDIR)); fi - $(AR) $(AR_FLAGS) $(LIB) $(OBJS) - $(RANLIB) $(LIB) - -$(SHLIB): $(OBJDIRS) $(OBJS) $($(APP)_EXTRA_DEP) - if test ! -d $(LIBDIR); then $(subst @@,$(subst /,$(HOST_PSEP),$(LIBDIR)),$(HOST_MKDIR)); fi - $(LD) $(LDOUT)$(subst /,$(HOST_PSEP),$(SHLIB)) \ - $(subst /,$(HOST_PSEP),$(OBJS)) $($(APP)_LDFLAGS) - -$(EXE): $(OBJDIRS) $(OBJS) $($(APP)_EXTRA_DEP) - if test ! -d $(BINDIR); then $(subst @@,$(subst /,$(HOST_PSEP),$(BINDIR)),$(HOST_MKDIR)); fi - $(LD) $(LDOUT)$(subst /,$(HOST_PSEP),$(EXE)) \ - $(subst /,$(HOST_PSEP),$(OBJS)) $($(APP)_LDFLAGS) - -$(OBJDIR)/$(app).o: $(OBJDIRS) $(OBJS) - $(CROSS_COMPILE)ld -r -o $@ $(OBJS) - -$(OBJDIR)/$(app).ko: $(OBJDIR)/$(app).o - @echo Creating kbuild Makefile... - @echo "# Our module name:" > $(OBJDIR)/Makefile - @echo 'obj-m += $(app).o' >> $(OBJDIR)/Makefile - @echo >> $(OBJDIR)/Makefile - @echo "# Object members:" >> $(OBJDIR)/Makefile - @echo -n '$(app)-objs += ' >> $(OBJDIR)/Makefile - @for file in $($(APP)_OBJS); do \ - echo -n "$$file " >> $(OBJDIR)/Makefile; \ - done - @echo >> $(OBJDIR)/Makefile - @echo >> $(OBJDIR)/Makefile - @echo "# Prevent .o files to be built by kbuild:" >> $(OBJDIR)/Makefile - @for file in $($(APP)_OBJS); do \ - echo ".PHONY: `pwd`/$(OBJDIR)/$$file" >> $(OBJDIR)/Makefile; \ - done - @echo >> $(OBJDIR)/Makefile - @echo all: >> $(OBJDIR)/Makefile - @echo -e "\tmake -C $(KERNEL_DIR) M=`pwd`/$(OBJDIR) modules $(KERNEL_ARCH)" >> $(OBJDIR)/Makefile - @echo Invoking kbuild... - make -C $(OBJDIR) - -../lib/$(app).ko: $(LIB) $(OBJDIR)/$(app).ko - cp $(OBJDIR)/$(app).ko ../lib - -$(OBJDIR)/%$(OBJEXT): $(SRCDIR)/%.m - $(CC) $($(APP)_CFLAGS) \ - $(CC_OUT)$(subst /,$(HOST_PSEP),$@) \ - $(subst /,$(HOST_PSEP),$<) - -$(OBJDIR)/%$(OBJEXT): $(SRCDIR)/%.c - $(CC) $($(APP)_CFLAGS) \ - $(CC_OUT)$(subst /,$(HOST_PSEP),$@) \ - $(subst /,$(HOST_PSEP),$<) - -$(OBJDIR)/%$(OBJEXT): $(SRCDIR)/%.S - $(CC) $($(APP)_CFLAGS) \ - $(CC_OUT)$(subst /,$(HOST_PSEP),$@) \ - $(subst /,$(HOST_PSEP),$<) - -$(OBJDIR)/%$(OBJEXT): $(SRCDIR)/%.cpp - $(CC) $($(APP)_CXXFLAGS) \ - $(CC_OUT)$(subst /,$(HOST_PSEP),$@) \ - $(subst /,$(HOST_PSEP),$<) - -$(OBJDIRS): - $(subst @@,$(subst /,$(HOST_PSEP),$@),$(HOST_MKDIR)) - -$(LIBDIR): - $(subst @@,$(subst /,$(HOST_PSEP),$(LIBDIR)),$(HOST_MKDIR)) - -$(BINDIR): - $(subst @@,$(subst /,$(HOST_PSEP),$(BINDIR)),$(HOST_MKDIR)) - -clean: - $(subst @@,$(subst /,$(HOST_PSEP),$(OBJDIR)/*),$(HOST_RMR)) - $(subst @@,$(subst /,$(HOST_PSEP),$(OBJDIR)),$(HOST_RMDIR)) -ifeq ($(OS_NAME),linux-kernel) - rm -f ../lib/$(app).o -endif - -gcov-report: - for file in $(FULL_SRCS); do \ - gcov $$file -n -o $(OBJDIR); \ - done - -realclean: clean - $(subst @@,$(subst /,$(HOST_PSEP),$(LIB)) $(subst /,$(HOST_PSEP),$(EXE)),$(HOST_RM)) - $(subst @@,$(DEP_FILE),$(HOST_RM)) -ifeq ($(OS_NAME),linux-kernel) - rm -f ../lib/$(app).ko -endif - -depend: - $(subst @@,$(DEP_FILE),$(HOST_RM)) - for F in $(FULL_SRCS); do \ - if test -f $$F; then \ - echo "$(OBJDIR)/" | tr -d '\n' >> $(DEP_FILE); \ - if $(CC) -M $(DEPFLAGS) $$F | sed '/^#/d' >> $(DEP_FILE); then \ - true; \ - else \ - echo 'err:' >> $(DEP_FILE); \ - rm -f $(DEP_FILE); \ - exit 1; \ - fi; \ - fi; \ - done; - -dep: depend - --include $(DEP_FILE) - diff --git a/res/pjproject/build/vs/pjproject-vs8-common-defaults.vsprops b/res/pjproject/build/vs/pjproject-vs8-common-defaults.vsprops deleted file mode 100644 index f35dec27eb..0000000000 --- a/res/pjproject/build/vs/pjproject-vs8-common-defaults.vsprops +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - diff --git a/res/pjproject/build/vs/pjproject-vs8-debug-defaults.vsprops b/res/pjproject/build/vs/pjproject-vs8-debug-defaults.vsprops deleted file mode 100644 index 61995d936a..0000000000 --- a/res/pjproject/build/vs/pjproject-vs8-debug-defaults.vsprops +++ /dev/null @@ -1,19 +0,0 @@ - - - - - diff --git a/res/pjproject/build/vs/pjproject-vs8-debug-dynamic-defaults.vsprops b/res/pjproject/build/vs/pjproject-vs8-debug-dynamic-defaults.vsprops deleted file mode 100644 index f121c8fd32..0000000000 --- a/res/pjproject/build/vs/pjproject-vs8-debug-dynamic-defaults.vsprops +++ /dev/null @@ -1,12 +0,0 @@ - - - - diff --git a/res/pjproject/build/vs/pjproject-vs8-debug-static-defaults.vsprops b/res/pjproject/build/vs/pjproject-vs8-debug-static-defaults.vsprops deleted file mode 100644 index 0330723c32..0000000000 --- a/res/pjproject/build/vs/pjproject-vs8-debug-static-defaults.vsprops +++ /dev/null @@ -1,12 +0,0 @@ - - - - diff --git a/res/pjproject/build/vs/pjproject-vs8-release-defaults.vsprops b/res/pjproject/build/vs/pjproject-vs8-release-defaults.vsprops deleted file mode 100644 index 8579da5491..0000000000 --- a/res/pjproject/build/vs/pjproject-vs8-release-defaults.vsprops +++ /dev/null @@ -1,17 +0,0 @@ - - - - - diff --git a/res/pjproject/build/vs/pjproject-vs8-release-dynamic-defaults.vsprops b/res/pjproject/build/vs/pjproject-vs8-release-dynamic-defaults.vsprops deleted file mode 100644 index 5e4f35a38b..0000000000 --- a/res/pjproject/build/vs/pjproject-vs8-release-dynamic-defaults.vsprops +++ /dev/null @@ -1,12 +0,0 @@ - - - - diff --git a/res/pjproject/build/vs/pjproject-vs8-release-static-defaults.vsprops b/res/pjproject/build/vs/pjproject-vs8-release-static-defaults.vsprops deleted file mode 100644 index 94d084d38b..0000000000 --- a/res/pjproject/build/vs/pjproject-vs8-release-static-defaults.vsprops +++ /dev/null @@ -1,12 +0,0 @@ - - - - diff --git a/res/pjproject/build/vs/pjproject-vs8-win32-common-defaults.vsprops b/res/pjproject/build/vs/pjproject-vs8-win32-common-defaults.vsprops deleted file mode 100644 index 2cfd97872f..0000000000 --- a/res/pjproject/build/vs/pjproject-vs8-win32-common-defaults.vsprops +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - diff --git a/res/pjproject/build/vs/pjproject-vs8-win32-release-defaults.vsprops b/res/pjproject/build/vs/pjproject-vs8-win32-release-defaults.vsprops deleted file mode 100644 index 6b696ae278..0000000000 --- a/res/pjproject/build/vs/pjproject-vs8-win32-release-defaults.vsprops +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/res/pjproject/build/vs/pjproject-vs8-wm2003-common-defaults.vsprops b/res/pjproject/build/vs/pjproject-vs8-wm2003-common-defaults.vsprops deleted file mode 100644 index 6b94917a01..0000000000 --- a/res/pjproject/build/vs/pjproject-vs8-wm2003-common-defaults.vsprops +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - diff --git a/res/pjproject/build/vs/pjproject-vs8-wm2003-release-defaults.vsprops b/res/pjproject/build/vs/pjproject-vs8-wm2003-release-defaults.vsprops deleted file mode 100644 index 6c6ada6087..0000000000 --- a/res/pjproject/build/vs/pjproject-vs8-wm2003-release-defaults.vsprops +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/res/pjproject/build/vs/pjproject-vs8-wm5-common-defaults.vsprops b/res/pjproject/build/vs/pjproject-vs8-wm5-common-defaults.vsprops deleted file mode 100644 index d5135ea685..0000000000 --- a/res/pjproject/build/vs/pjproject-vs8-wm5-common-defaults.vsprops +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - diff --git a/res/pjproject/build/vs/pjproject-vs8-wm5-release-defaults.vsprops b/res/pjproject/build/vs/pjproject-vs8-wm5-release-defaults.vsprops deleted file mode 100644 index 8372c8cb57..0000000000 --- a/res/pjproject/build/vs/pjproject-vs8-wm5-release-defaults.vsprops +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/res/pjproject/build/vs/pjproject-vs8-wm6-common-defaults.vsprops b/res/pjproject/build/vs/pjproject-vs8-wm6-common-defaults.vsprops deleted file mode 100644 index 5f94b04495..0000000000 --- a/res/pjproject/build/vs/pjproject-vs8-wm6-common-defaults.vsprops +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - diff --git a/res/pjproject/build/vs/pjproject-vs8-wm6-release-defaults.vsprops b/res/pjproject/build/vs/pjproject-vs8-wm6-release-defaults.vsprops deleted file mode 100644 index ad75a1f910..0000000000 --- a/res/pjproject/build/vs/pjproject-vs8-wm6-release-defaults.vsprops +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/res/pjproject/c++-build.mak b/res/pjproject/c++-build.mak deleted file mode 100644 index bc647ceb8f..0000000000 --- a/res/pjproject/c++-build.mak +++ /dev/null @@ -1,20 +0,0 @@ -include build.mak -include build/host-$(HOST_NAME).mak - -DIRS = pjlib pjlib-util pjnath pjmedia pjsip - -ifdef MINSIZE -MAKE_FLAGS := MINSIZE=1 -endif - -export CPP_MODE=1 - -all clean dep depend distclean doc print realclean: - for dir in $(DIRS); do \ - if $(MAKE) $(MAKE_FLAGS) -C $$dir/build $@; then \ - true; \ - else \ - exit 1; \ - fi; \ - done - diff --git a/res/pjproject/config.guess b/res/pjproject/config.guess deleted file mode 100755 index dff9e481b7..0000000000 --- a/res/pjproject/config.guess +++ /dev/null @@ -1,1317 +0,0 @@ -#! /bin/sh -# Attempt to guess a canonical system name. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# Free Software Foundation, Inc. - -timestamp='2001-09-04' - -# This file is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Written by Per Bothner . -# Please send patches to . -# -# This script attempts to guess a canonical system name similar to -# config.sub. If it succeeds, it prints the system name on stdout, and -# exits with 0. Otherwise, it exits with 1. -# -# The plan is that this can be called by configure scripts if you -# don't specify an explicit build system type. - -me=`echo "$0" | sed -e 's,.*/,,'` - -usage="\ -Usage: $0 [OPTION] - -Output the configuration name of the system \`$me' is run on. - -Operation modes: - -h, --help print this help, then exit - -t, --time-stamp print date of last modification, then exit - -v, --version print version number, then exit - -Report bugs and patches to ." - -version="\ -GNU config.guess ($timestamp) - -Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -Free Software Foundation, Inc. - -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." - -help=" -Try \`$me --help' for more information." - -# Parse command line -while test $# -gt 0 ; do - case $1 in - --time-stamp | --time* | -t ) - echo "$timestamp" ; exit 0 ;; - --version | -v ) - echo "$version" ; exit 0 ;; - --help | --h* | -h ) - echo "$usage"; exit 0 ;; - -- ) # Stop option processing - shift; break ;; - - ) # Use stdin as input. - break ;; - -* ) - echo "$me: invalid option $1$help" >&2 - exit 1 ;; - * ) - break ;; - esac -done - -if test $# != 0; then - echo "$me: too many arguments$help" >&2 - exit 1 -fi - - -dummy=dummy-$$ -trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15 - -# CC_FOR_BUILD -- compiler used by this script. -# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still -# use `HOST_CC' if defined, but it is deprecated. - -set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in - ,,) echo "int dummy(){}" > $dummy.c ; - for c in cc gcc c89 ; do - ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; - if test $? = 0 ; then - CC_FOR_BUILD="$c"; break ; - fi ; - done ; - rm -f $dummy.c $dummy.o $dummy.rel ; - if test x"$CC_FOR_BUILD" = x ; then - CC_FOR_BUILD=no_compiler_found ; - fi - ;; - ,,*) CC_FOR_BUILD=$CC ;; - ,*,*) CC_FOR_BUILD=$HOST_CC ;; -esac' - -# This is needed to find uname on a Pyramid OSx when run in the BSD universe. -# (ghazi@noc.rutgers.edu 1994-08-24) -if (test -f /.attbin/uname) >/dev/null 2>&1 ; then - PATH=$PATH:/.attbin ; export PATH -fi - -UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown -UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown -UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown - -# Note: order is significant - the case branches are not exclusive. - -case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in - *:NetBSD:*:*) - # Netbsd (nbsd) targets should (where applicable) match one or - # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, - # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently - # switched to ELF, *-*-netbsd* would select the old - # object file format. This provides both forward - # compatibility and a consistent mechanism for selecting the - # object file format. - # Determine the machine/vendor (is the vendor relevant). - case "${UNAME_MACHINE}" in - amiga) machine=m68k-unknown ;; - arm32) machine=arm-unknown ;; - atari*) machine=m68k-atari ;; - sun3*) machine=m68k-sun ;; - mac68k) machine=m68k-apple ;; - macppc) machine=powerpc-apple ;; - hp3[0-9][05]) machine=m68k-hp ;; - ibmrt|romp-ibm) machine=romp-ibm ;; - *) machine=${UNAME_MACHINE}-unknown ;; - esac - # The Operating System including object format, if it has switched - # to ELF recently, or will in the future. - case "${UNAME_MACHINE}" in - i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k) - eval $set_cc_for_build - if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep __ELF__ >/dev/null - then - # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). - # Return netbsd for either. FIX? - os=netbsd - else - os=netbsdelf - fi - ;; - *) - os=netbsd - ;; - esac - # The OS release - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: - # contains redundant information, the shorter form: - # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. - echo "${machine}-${os}${release}" - exit 0 ;; - alpha:OSF1:*:*) - if test $UNAME_RELEASE = "V4.0"; then - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` - fi - # A Vn.n version is a released version. - # A Tn.n version is a released field test version. - # A Xn.n version is an unreleased experimental baselevel. - # 1.2 uses "1.2" for uname -r. - cat <$dummy.s - .data -\$Lformat: - .byte 37,100,45,37,120,10,0 # "%d-%x\n" - - .text - .globl main - .align 4 - .ent main -main: - .frame \$30,16,\$26,0 - ldgp \$29,0(\$27) - .prologue 1 - .long 0x47e03d80 # implver \$0 - lda \$2,-1 - .long 0x47e20c21 # amask \$2,\$1 - lda \$16,\$Lformat - mov \$0,\$17 - not \$1,\$18 - jsr \$26,printf - ldgp \$29,0(\$26) - mov 0,\$16 - jsr \$26,exit - .end main -EOF - eval $set_cc_for_build - $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null - if test "$?" = 0 ; then - case `./$dummy` in - 0-0) - UNAME_MACHINE="alpha" - ;; - 1-0) - UNAME_MACHINE="alphaev5" - ;; - 1-1) - UNAME_MACHINE="alphaev56" - ;; - 1-101) - UNAME_MACHINE="alphapca56" - ;; - 2-303) - UNAME_MACHINE="alphaev6" - ;; - 2-307) - UNAME_MACHINE="alphaev67" - ;; - 2-1307) - UNAME_MACHINE="alphaev68" - ;; - esac - fi - rm -f $dummy.s $dummy - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - exit 0 ;; - Alpha\ *:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # Should we change UNAME_MACHINE based on the output of uname instead - # of the specific Alpha model? - echo alpha-pc-interix - exit 0 ;; - 21064:Windows_NT:50:3) - echo alpha-dec-winnt3.5 - exit 0 ;; - Amiga*:UNIX_System_V:4.0:*) - echo m68k-unknown-sysv4 - exit 0;; - amiga:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - *:[Aa]miga[Oo][Ss]:*:*) - echo ${UNAME_MACHINE}-unknown-amigaos - exit 0 ;; - arc64:OpenBSD:*:*) - echo mips64el-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - arc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - hkmips:OpenBSD:*:*) - echo mips-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - pmax:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sgi:OpenBSD:*:*) - echo mips-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - wgrisc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - *:OS/390:*:*) - echo i370-ibm-openedition - exit 0 ;; - arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) - echo arm-acorn-riscix${UNAME_RELEASE} - exit 0;; - SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) - echo hppa1.1-hitachi-hiuxmpp - exit 0;; - Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) - # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. - if test "`(/bin/universe) 2>/dev/null`" = att ; then - echo pyramid-pyramid-sysv3 - else - echo pyramid-pyramid-bsd - fi - exit 0 ;; - NILE*:*:*:dcosx) - echo pyramid-pyramid-svr4 - exit 0 ;; - sun4H:SunOS:5.*:*) - echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) - echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - i86pc:SunOS:5.*:*) - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - sun4*:SunOS:6*:*) - # According to config.sub, this is the proper way to canonicalize - # SunOS6. Hard to guess exactly what SunOS6 will be like, but - # it's likely to be more like Solaris than SunOS4. - echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - sun4*:SunOS:*:*) - case "`/usr/bin/arch -k`" in - Series*|S4*) - UNAME_RELEASE=`uname -v` - ;; - esac - # Japanese Language versions have a version number like `4.1.3-JL'. - echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` - exit 0 ;; - sun3*:SunOS:*:*) - echo m68k-sun-sunos${UNAME_RELEASE} - exit 0 ;; - sun*:*:4.2BSD:*) - UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` - test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 - case "`/bin/arch`" in - sun3) - echo m68k-sun-sunos${UNAME_RELEASE} - ;; - sun4) - echo sparc-sun-sunos${UNAME_RELEASE} - ;; - esac - exit 0 ;; - aushp:SunOS:*:*) - echo sparc-auspex-sunos${UNAME_RELEASE} - exit 0 ;; - sparc*:NetBSD:*) - echo `uname -p`-unknown-netbsd${UNAME_RELEASE} - exit 0 ;; - atari*:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - # The situation for MiNT is a little confusing. The machine name - # can be virtually everything (everything which is not - # "atarist" or "atariste" at least should have a processor - # > m68000). The system name ranges from "MiNT" over "FreeMiNT" - # to the lowercase version "mint" (or "freemint"). Finally - # the system name "TOS" denotes a system which is actually not - # MiNT. But MiNT is downward compatible to TOS, so this should - # be no problem. - atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; - atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; - *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; - milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) - echo m68k-milan-mint${UNAME_RELEASE} - exit 0 ;; - hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) - echo m68k-hades-mint${UNAME_RELEASE} - exit 0 ;; - *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) - echo m68k-unknown-mint${UNAME_RELEASE} - exit 0 ;; - sun3*:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mac68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme88k:OpenBSD:*:*) - echo m88k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - powerpc:machten:*:*) - echo powerpc-apple-machten${UNAME_RELEASE} - exit 0 ;; - RISC*:Mach:*:*) - echo mips-dec-mach_bsd4.3 - exit 0 ;; - RISC*:ULTRIX:*:*) - echo mips-dec-ultrix${UNAME_RELEASE} - exit 0 ;; - VAX*:ULTRIX*:*:*) - echo vax-dec-ultrix${UNAME_RELEASE} - exit 0 ;; - 2020:CLIX:*:* | 2430:CLIX:*:*) - echo clipper-intergraph-clix${UNAME_RELEASE} - exit 0 ;; - mips:*:*:UMIPS | mips:*:*:RISCos) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c -#ifdef __cplusplus -#include /* for printf() prototype */ - int main (int argc, char *argv[]) { -#else - int main (argc, argv) int argc; char *argv[]; { -#endif - #if defined (host_mips) && defined (MIPSEB) - #if defined (SYSTYPE_SYSV) - printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_SVR4) - printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) - printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); - #endif - #endif - exit (-1); - } -EOF - $CC_FOR_BUILD $dummy.c -o $dummy \ - && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ - && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - echo mips-mips-riscos${UNAME_RELEASE} - exit 0 ;; - Motorola:PowerMAX_OS:*:*) - echo powerpc-motorola-powermax - exit 0 ;; - Night_Hawk:Power_UNIX:*:*) - echo powerpc-harris-powerunix - exit 0 ;; - m88k:CX/UX:7*:*) - echo m88k-harris-cxux7 - exit 0 ;; - m88k:*:4*:R4*) - echo m88k-motorola-sysv4 - exit 0 ;; - m88k:*:3*:R3*) - echo m88k-motorola-sysv3 - exit 0 ;; - AViiON:dgux:*:*) - # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`/usr/bin/uname -p` - if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] - then - if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ - [ ${TARGET_BINARY_INTERFACE}x = x ] - then - echo m88k-dg-dgux${UNAME_RELEASE} - else - echo m88k-dg-dguxbcs${UNAME_RELEASE} - fi - else - echo i586-dg-dgux${UNAME_RELEASE} - fi - exit 0 ;; - M88*:DolphinOS:*:*) # DolphinOS (SVR3) - echo m88k-dolphin-sysv3 - exit 0 ;; - M88*:*:R3*:*) - # Delta 88k system running SVR3 - echo m88k-motorola-sysv3 - exit 0 ;; - XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) - echo m88k-tektronix-sysv3 - exit 0 ;; - Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) - echo m68k-tektronix-bsd - exit 0 ;; - *:IRIX*:*:*) - echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` - exit 0 ;; - ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id - exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' - i*86:AIX:*:*) - echo i386-ibm-aix - exit 0 ;; - ia64:AIX:*:*) - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} - fi - echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} - exit 0 ;; - *:AIX:2:3) - if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - - main() - { - if (!__power_pc()) - exit(1); - puts("powerpc-ibm-aix3.2.5"); - exit(0); - } -EOF - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - echo rs6000-ibm-aix3.2.5 - elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then - echo rs6000-ibm-aix3.2.4 - else - echo rs6000-ibm-aix3.2 - fi - exit 0 ;; - *:AIX:*:[45]) - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'` - if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then - IBM_ARCH=rs6000 - else - IBM_ARCH=powerpc - fi - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} - fi - echo ${IBM_ARCH}-ibm-aix${IBM_REV} - exit 0 ;; - *:AIX:*:*) - echo rs6000-ibm-aix - exit 0 ;; - ibmrt:4.4BSD:*|romp-ibm:BSD:*) - echo romp-ibm-bsd4.4 - exit 0 ;; - ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and - echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to - exit 0 ;; # report: romp-ibm BSD 4.3 - *:BOSX:*:*) - echo rs6000-bull-bosx - exit 0 ;; - DPX/2?00:B.O.S.:*:*) - echo m68k-bull-sysv3 - exit 0 ;; - 9000/[34]??:4.3bsd:1.*:*) - echo m68k-hp-bsd - exit 0 ;; - hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) - echo m68k-hp-bsd4.4 - exit 0 ;; - 9000/[34678]??:HP-UX:*:*) - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - case "${UNAME_MACHINE}" in - 9000/31? ) HP_ARCH=m68000 ;; - 9000/[34]?? ) HP_ARCH=m68k ;; - 9000/[678][0-9][0-9]) - case "${HPUX_REV}" in - 11.[0-9][0-9]) - if [ -x /usr/bin/getconf ]; then - sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` - case "${sc_cpu_version}" in - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 - 532) # CPU_PA_RISC2_0 - case "${sc_kernel_bits}" in - 32) HP_ARCH="hppa2.0n" ;; - 64) HP_ARCH="hppa2.0w" ;; - esac ;; - esac - fi ;; - esac - if [ "${HP_ARCH}" = "" ]; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - - #define _HPUX_SOURCE - #include - #include - - int main () - { - #if defined(_SC_KERNEL_BITS) - long bits = sysconf(_SC_KERNEL_BITS); - #endif - long cpu = sysconf (_SC_CPU_VERSION); - - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; - case CPU_PA_RISC2_0: - #if defined(_SC_KERNEL_BITS) - switch (bits) - { - case 64: puts ("hppa2.0w"); break; - case 32: puts ("hppa2.0n"); break; - default: puts ("hppa2.0"); break; - } break; - #else /* !defined(_SC_KERNEL_BITS) */ - puts ("hppa2.0"); break; - #endif - default: puts ("hppa1.0"); break; - } - exit (0); - } -EOF - (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy` - if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi - rm -f $dummy.c $dummy - fi ;; - esac - echo ${HP_ARCH}-hp-hpux${HPUX_REV} - exit 0 ;; - ia64:HP-UX:*:*) - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - echo ia64-hp-hpux${HPUX_REV} - exit 0 ;; - 3050*:HI-UX:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - int - main () - { - long cpu = sysconf (_SC_CPU_VERSION); - /* The order matters, because CPU_IS_HP_MC68K erroneously returns - true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct - results, however. */ - if (CPU_IS_PA_RISC (cpu)) - { - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; - case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; - default: puts ("hppa-hitachi-hiuxwe2"); break; - } - } - else if (CPU_IS_HP_MC68K (cpu)) - puts ("m68k-hitachi-hiuxwe2"); - else puts ("unknown-hitachi-hiuxwe2"); - exit (0); - } -EOF - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - echo unknown-hitachi-hiuxwe2 - exit 0 ;; - 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) - echo hppa1.1-hp-bsd - exit 0 ;; - 9000/8??:4.3bsd:*:*) - echo hppa1.0-hp-bsd - exit 0 ;; - *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) - echo hppa1.0-hp-mpeix - exit 0 ;; - hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) - echo hppa1.1-hp-osf - exit 0 ;; - hp8??:OSF1:*:*) - echo hppa1.0-hp-osf - exit 0 ;; - i*86:OSF1:*:*) - if [ -x /usr/sbin/sysversion ] ; then - echo ${UNAME_MACHINE}-unknown-osf1mk - else - echo ${UNAME_MACHINE}-unknown-osf1 - fi - exit 0 ;; - parisc*:Lites*:*:*) - echo hppa1.1-hp-lites - exit 0 ;; - hppa*:OpenBSD:*:*) - echo hppa-unknown-openbsd - exit 0 ;; - C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) - echo c1-convex-bsd - exit 0 ;; - C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit 0 ;; - C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) - echo c34-convex-bsd - exit 0 ;; - C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) - echo c38-convex-bsd - exit 0 ;; - C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) - echo c4-convex-bsd - exit 0 ;; - CRAY*X-MP:*:*:*) - echo xmp-cray-unicos - exit 0 ;; - CRAY*Y-MP:*:*:*) - echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY*[A-Z]90:*:*:*) - echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ - | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ - -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY*TS:*:*:*) - echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY*T3D:*:*:*) - echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY*T3E:*:*:*) - echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY*SV1:*:*:*) - echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY-2:*:*:*) - echo cray2-cray-unicos - exit 0 ;; - F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) - FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit 0 ;; - hp300:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) - echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} - exit 0 ;; - sparc*:BSD/OS:*:*) - echo sparc-unknown-bsdi${UNAME_RELEASE} - exit 0 ;; - *:BSD/OS:*:*) - echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} - exit 0 ;; - *:FreeBSD:*:*) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` - exit 0 ;; - *:OpenBSD:*:*) - echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - exit 0 ;; - i*:CYGWIN*:*) - echo ${UNAME_MACHINE}-pc-cygwin - exit 0 ;; - i*:MINGW*:*) - echo ${UNAME_MACHINE}-pc-mingw32 - exit 0 ;; - i*:PW*:*) - echo ${UNAME_MACHINE}-pc-pw32 - exit 0 ;; - i*:Windows_NT*:* | Pentium*:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we - # UNAME_MACHINE based on the output of uname instead of i386? - echo i386-pc-interix - exit 0 ;; - i*:UWIN*:*) - echo ${UNAME_MACHINE}-pc-uwin - exit 0 ;; - p*:CYGWIN*:*) - echo powerpcle-unknown-cygwin - exit 0 ;; - prep*:SunOS:5.*:*) - echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - *:GNU:*:*) - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` - exit 0 ;; - i*86:Minix:*:*) - echo ${UNAME_MACHINE}-pc-minix - exit 0 ;; - arm*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; - ia64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux - exit 0 ;; - m68*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; - mips:Linux:*:*) - case `sed -n '/^byte/s/^.*: \(.*\) endian/\1/p' < /proc/cpuinfo` in - big) echo mips-unknown-linux-gnu && exit 0 ;; - little) echo mipsel-unknown-linux-gnu && exit 0 ;; - esac - ;; - ppc:Linux:*:*) - echo powerpc-unknown-linux-gnu - exit 0 ;; - ppc64:Linux:*:*) - echo powerpc64-unknown-linux-gnu - exit 0 ;; - alpha:Linux:*:*) - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in - EV5) UNAME_MACHINE=alphaev5 ;; - EV56) UNAME_MACHINE=alphaev56 ;; - PCA56) UNAME_MACHINE=alphapca56 ;; - PCA57) UNAME_MACHINE=alphapca56 ;; - EV6) UNAME_MACHINE=alphaev6 ;; - EV67) UNAME_MACHINE=alphaev67 ;; - EV68*) UNAME_MACHINE=alphaev68 ;; - esac - objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} - exit 0 ;; - parisc:Linux:*:* | hppa:Linux:*:*) - # Look for CPU level - case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in - PA7*) echo hppa1.1-unknown-linux-gnu ;; - PA8*) echo hppa2.0-unknown-linux-gnu ;; - *) echo hppa-unknown-linux-gnu ;; - esac - exit 0 ;; - parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-gnu - exit 0 ;; - s390:Linux:*:* | s390x:Linux:*:*) - echo ${UNAME_MACHINE}-ibm-linux - exit 0 ;; - sh*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; - sparc:Linux:*:* | sparc64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; - x86_64:Linux:*:*) - echo x86_64-unknown-linux-gnu - exit 0 ;; - i*86:Linux:*:*) - # The BFD linker knows what the default object file format is, so - # first see if it will tell us. cd to the root directory to prevent - # problems with other programs or directories called `ld' in the path. - ld_supported_targets=`cd /; ld --help 2>&1 \ - | sed -ne '/supported targets:/!d - s/[ ][ ]*/ /g - s/.*supported targets: *// - s/ .*// - p'` - case "$ld_supported_targets" in - elf32-i386) - TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" - ;; - a.out-i386-linux) - echo "${UNAME_MACHINE}-pc-linux-gnuaout" - exit 0 ;; - coff-i386) - echo "${UNAME_MACHINE}-pc-linux-gnucoff" - exit 0 ;; - "") - # Either a pre-BFD a.out linker (linux-gnuoldld) or - # one that does not give us useful --help. - echo "${UNAME_MACHINE}-pc-linux-gnuoldld" - exit 0 ;; - esac - # Determine whether the default compiler is a.out or elf - eval $set_cc_for_build - cat >$dummy.c < -#ifdef __cplusplus -#include /* for printf() prototype */ - int main (int argc, char *argv[]) { -#else - int main (argc, argv) int argc; char *argv[]; { -#endif -#ifdef __ELF__ -# ifdef __GLIBC__ -# if __GLIBC__ >= 2 - printf ("%s-pc-linux-gnu\n", argv[1]); -# else - printf ("%s-pc-linux-gnulibc1\n", argv[1]); -# endif -# else - printf ("%s-pc-linux-gnulibc1\n", argv[1]); -# endif -#else - printf ("%s-pc-linux-gnuaout\n", argv[1]); -#endif - return 0; -} -EOF - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 - ;; - i*86:DYNIX/ptx:4*:*) - # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. - # earlier versions are messed up and put the nodename in both - # sysname and nodename. - echo i386-sequent-sysv4 - exit 0 ;; - i*86:UNIX_SV:4.2MP:2.*) - # Unixware is an offshoot of SVR4, but it has its own version - # number series starting with 2... - # I am not positive that other SVR4 systems won't match this, - # I just have to hope. -- rms. - # Use sysv4.2uw... so that sysv4* matches it. - echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} - exit 0 ;; - i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) - UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` - if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then - echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} - else - echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} - fi - exit 0 ;; - i*86:*:5:[78]*) - case `/bin/uname -X | grep "^Machine"` in - *486*) UNAME_MACHINE=i486 ;; - *Pentium) UNAME_MACHINE=i586 ;; - *Pent*|*Celeron) UNAME_MACHINE=i686 ;; - esac - echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} - exit 0 ;; - i*86:*:3.2:*) - if test -f /usr/options/cb.name; then - UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then - UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')` - (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 - (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ - && UNAME_MACHINE=i586 - (/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \ - && UNAME_MACHINE=i686 - (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \ - && UNAME_MACHINE=i686 - echo ${UNAME_MACHINE}-pc-sco$UNAME_REL - else - echo ${UNAME_MACHINE}-pc-sysv32 - fi - exit 0 ;; - i*86:*DOS:*:*) - echo ${UNAME_MACHINE}-pc-msdosdjgpp - exit 0 ;; - pc:*:*:*) - # Left here for compatibility: - # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i386. - echo i386-pc-msdosdjgpp - exit 0 ;; - Intel:Mach:3*:*) - echo i386-pc-mach3 - exit 0 ;; - paragon:*:*:*) - echo i860-intel-osf1 - exit 0 ;; - i860:*:4.*:*) # i860-SVR4 - if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then - echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 - else # Add other i860-SVR4 vendors below as they are discovered. - echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 - fi - exit 0 ;; - mini*:CTIX:SYS*5:*) - # "miniframe" - echo m68010-convergent-sysv - exit 0 ;; - M68*:*:R3V[567]*:*) - test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; - 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0) - OS_REL='' - test -r /etc/.relid \ - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4.3${OS_REL} && exit 0 - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ - && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; - 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4 && exit 0 ;; - m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) - echo m68k-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - mc68030:UNIX_System_V:4.*:*) - echo m68k-atari-sysv4 - exit 0 ;; - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) - echo i386-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - TSUNAMI:LynxOS:2.*:*) - echo sparc-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - rs6000:LynxOS:2.*:*) - echo rs6000-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) - echo powerpc-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - SM[BE]S:UNIX_SV:*:*) - echo mips-dde-sysv${UNAME_RELEASE} - exit 0 ;; - RM*:ReliantUNIX-*:*:*) - echo mips-sni-sysv4 - exit 0 ;; - RM*:SINIX-*:*:*) - echo mips-sni-sysv4 - exit 0 ;; - *:SINIX-*:*:*) - if uname -p 2>/dev/null >/dev/null ; then - UNAME_MACHINE=`(uname -p) 2>/dev/null` - echo ${UNAME_MACHINE}-sni-sysv4 - else - echo ns32k-sni-sysv - fi - exit 0 ;; - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says - echo i586-unisys-sysv4 - exit 0 ;; - *:UNIX_System_V:4*:FTX*) - # From Gerald Hewes . - # How about differentiating between stratus architectures? -djm - echo hppa1.1-stratus-sysv4 - exit 0 ;; - *:*:*:FTX*) - # From seanf@swdc.stratus.com. - echo i860-stratus-sysv4 - exit 0 ;; - *:VOS:*:*) - # From Paul.Green@stratus.com. - echo hppa1.1-stratus-vos - exit 0 ;; - mc68*:A/UX:*:*) - echo m68k-apple-aux${UNAME_RELEASE} - exit 0 ;; - news*:NEWS-OS:6*:*) - echo mips-sony-newsos6 - exit 0 ;; - R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) - if [ -d /usr/nec ]; then - echo mips-nec-sysv${UNAME_RELEASE} - else - echo mips-unknown-sysv${UNAME_RELEASE} - fi - exit 0 ;; - BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. - echo powerpc-be-beos - exit 0 ;; - BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. - echo powerpc-apple-beos - exit 0 ;; - BePC:BeOS:*:*) # BeOS running on Intel PC compatible. - echo i586-pc-beos - exit 0 ;; - SX-4:SUPER-UX:*:*) - echo sx4-nec-superux${UNAME_RELEASE} - exit 0 ;; - SX-5:SUPER-UX:*:*) - echo sx5-nec-superux${UNAME_RELEASE} - exit 0 ;; - Power*:Rhapsody:*:*) - echo powerpc-apple-rhapsody${UNAME_RELEASE} - exit 0 ;; - *:Rhapsody:*:*) - echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} - exit 0 ;; - *:Darwin:*:*) - echo `uname -p`-apple-darwin${UNAME_RELEASE} - exit 0 ;; - *:procnto*:*:* | *:QNX:[0123456789]*:*) - if test "${UNAME_MACHINE}" = "x86pc"; then - UNAME_MACHINE=pc - fi - echo `uname -p`-${UNAME_MACHINE}-nto-qnx - exit 0 ;; - *:QNX:*:4*) - echo i386-pc-qnx - exit 0 ;; - NSR-[KW]:NONSTOP_KERNEL:*:*) - echo nsr-tandem-nsk${UNAME_RELEASE} - exit 0 ;; - *:NonStop-UX:*:*) - echo mips-compaq-nonstopux - exit 0 ;; - BS2000:POSIX*:*:*) - echo bs2000-siemens-sysv - exit 0 ;; - DS/*:UNIX_System_V:*:*) - echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} - exit 0 ;; - *:Plan9:*:*) - # "uname -m" is not consistent, so use $cputype instead. 386 - # is converted to i386 for consistency with other x86 - # operating systems. - if test "$cputype" = "386"; then - UNAME_MACHINE=i386 - else - UNAME_MACHINE="$cputype" - fi - echo ${UNAME_MACHINE}-unknown-plan9 - exit 0 ;; - i*86:OS/2:*:*) - # If we were able to find `uname', then EMX Unix compatibility - # is probably installed. - echo ${UNAME_MACHINE}-pc-os2-emx - exit 0 ;; - *:TOPS-10:*:*) - echo pdp10-unknown-tops10 - exit 0 ;; - *:TENEX:*:*) - echo pdp10-unknown-tenex - exit 0 ;; - KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) - echo pdp10-dec-tops20 - exit 0 ;; - XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) - echo pdp10-xkl-tops20 - exit 0 ;; - *:TOPS-20:*:*) - echo pdp10-unknown-tops20 - exit 0 ;; - *:ITS:*:*) - echo pdp10-unknown-its - exit 0 ;; - i*86:XTS-300:*:STOP) - echo ${UNAME_MACHINE}-unknown-stop - exit 0 ;; - i*86:atheos:*:*) - echo ${UNAME_MACHINE}-unknown-atheos - exit 0 ;; -esac - -#echo '(No uname command or uname output not recognized.)' 1>&2 -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 - -eval $set_cc_for_build -cat >$dummy.c < -# include -#endif -main () -{ -#if defined (sony) -#if defined (MIPSEB) - /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, - I don't know.... */ - printf ("mips-sony-bsd\n"); exit (0); -#else -#include - printf ("m68k-sony-newsos%s\n", -#ifdef NEWSOS4 - "4" -#else - "" -#endif - ); exit (0); -#endif -#endif - -#if defined (__arm) && defined (__acorn) && defined (__unix) - printf ("arm-acorn-riscix"); exit (0); -#endif - -#if defined (hp300) && !defined (hpux) - printf ("m68k-hp-bsd\n"); exit (0); -#endif - -#if defined (NeXT) -#if !defined (__ARCHITECTURE__) -#define __ARCHITECTURE__ "m68k" -#endif - int version; - version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; - if (version < 4) - printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); - else - printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); - exit (0); -#endif - -#if defined (MULTIMAX) || defined (n16) -#if defined (UMAXV) - printf ("ns32k-encore-sysv\n"); exit (0); -#else -#if defined (CMU) - printf ("ns32k-encore-mach\n"); exit (0); -#else - printf ("ns32k-encore-bsd\n"); exit (0); -#endif -#endif -#endif - -#if defined (__386BSD__) - printf ("i386-pc-bsd\n"); exit (0); -#endif - -#if defined (sequent) -#if defined (i386) - printf ("i386-sequent-dynix\n"); exit (0); -#endif -#if defined (ns32000) - printf ("ns32k-sequent-dynix\n"); exit (0); -#endif -#endif - -#if defined (_SEQUENT_) - struct utsname un; - - uname(&un); - - if (strncmp(un.version, "V2", 2) == 0) { - printf ("i386-sequent-ptx2\n"); exit (0); - } - if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ - printf ("i386-sequent-ptx1\n"); exit (0); - } - printf ("i386-sequent-ptx\n"); exit (0); - -#endif - -#if defined (vax) -# if !defined (ultrix) -# include -# if defined (BSD) -# if BSD == 43 - printf ("vax-dec-bsd4.3\n"); exit (0); -# else -# if BSD == 199006 - printf ("vax-dec-bsd4.3reno\n"); exit (0); -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# endif -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# else - printf ("vax-dec-ultrix\n"); exit (0); -# endif -#endif - -#if defined (alliant) && defined (i860) - printf ("i860-alliant-bsd\n"); exit (0); -#endif - - exit (1); -} -EOF - -$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0 -rm -f $dummy.c $dummy - -# Apollos put the system type in the environment. - -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } - -# Convex versions that predate uname can use getsysinfo(1) - -if [ -x /usr/convex/getsysinfo ] -then - case `getsysinfo -f cpu_type` in - c1*) - echo c1-convex-bsd - exit 0 ;; - c2*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit 0 ;; - c34*) - echo c34-convex-bsd - exit 0 ;; - c38*) - echo c38-convex-bsd - exit 0 ;; - c4*) - echo c4-convex-bsd - exit 0 ;; - esac -fi - -cat >&2 < in order to provide the needed -information to handle your system. - -config.guess timestamp = $timestamp - -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null` - -hostinfo = `(hostinfo) 2>/dev/null` -/bin/universe = `(/bin/universe) 2>/dev/null` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` -/bin/arch = `(/bin/arch) 2>/dev/null` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` - -UNAME_MACHINE = ${UNAME_MACHINE} -UNAME_RELEASE = ${UNAME_RELEASE} -UNAME_SYSTEM = ${UNAME_SYSTEM} -UNAME_VERSION = ${UNAME_VERSION} -EOF - -exit 1 - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" -# time-stamp-end: "'" -# End: diff --git a/res/pjproject/config.sub b/res/pjproject/config.sub deleted file mode 100755 index 746ee208a1..0000000000 --- a/res/pjproject/config.sub +++ /dev/null @@ -1,1572 +0,0 @@ -#! /bin/sh -# Configuration validation subroutine script. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. - -timestamp='2005-04-22' - -# This file is (in principle) common to ALL GNU software. -# The presence of a machine in this file suggests that SOME GNU software -# can handle that machine. It does not imply ALL GNU software can. -# -# This file is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, -# Boston, MA 02111-1307, USA. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Please send patches to . Submit a context -# diff and a properly formatted ChangeLog entry. -# -# Configuration subroutine to validate and canonicalize a configuration type. -# Supply the specified configuration type as an argument. -# If it is invalid, we print an error message on stderr and exit with code 1. -# Otherwise, we print the canonical config type on stdout and succeed. - -# This file is supposed to be the same for all GNU packages -# and recognize all the CPU types, system types and aliases -# that are meaningful with *any* GNU software. -# Each package is responsible for reporting which valid configurations -# it does not support. The user should be able to distinguish -# a failure to support a valid configuration from a meaningless -# configuration. - -# The goal of this file is to map all the various variations of a given -# machine specification into a single specification in the form: -# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM -# or in some cases, the newer four-part form: -# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM -# It is wrong to echo any other type of specification. - -me=`echo "$0" | sed -e 's,.*/,,'` - -usage="\ -Usage: $0 [OPTION] CPU-MFR-OPSYS - $0 [OPTION] ALIAS - -Canonicalize a configuration name. - -Operation modes: - -h, --help print this help, then exit - -t, --time-stamp print date of last modification, then exit - -v, --version print version number, then exit - -Report bugs and patches to ." - -version="\ -GNU config.sub ($timestamp) - -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 -Free Software Foundation, Inc. - -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." - -help=" -Try \`$me --help' for more information." - -# Parse command line -while test $# -gt 0 ; do - case $1 in - --time-stamp | --time* | -t ) - echo "$timestamp" ; exit 0 ;; - --version | -v ) - echo "$version" ; exit 0 ;; - --help | --h* | -h ) - echo "$usage"; exit 0 ;; - -- ) # Stop option processing - shift; break ;; - - ) # Use stdin as input. - break ;; - -* ) - echo "$me: invalid option $1$help" - exit 1 ;; - - *local*) - # First pass through any local machine types. - echo $1 - exit 0;; - - * ) - break ;; - esac -done - -case $# in - 0) echo "$me: missing argument$help" >&2 - exit 1;; - 1) ;; - *) echo "$me: too many arguments$help" >&2 - exit 1;; -esac - -# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). -# Here we must recognize all the valid KERNEL-OS combinations. -maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` -case $maybe_os in - nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ - kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) - os=-$maybe_os - basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` - ;; - *) - basic_machine=`echo $1 | sed 's/-[^-]*$//'` - if [ $basic_machine != $1 ] - then os=`echo $1 | sed 's/.*-/-/'` - else os=; fi - ;; -esac - -### Let's recognize common machines as not being operating systems so -### that things like config.sub decstation-3100 work. We also -### recognize some manufacturers as not being operating systems, so we -### can provide default operating systems below. -case $os in - -sun*os*) - # Prevent following clause from handling this invalid input. - ;; - -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ - -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ - -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis | -knuth | -cray) - os= - basic_machine=$1 - ;; - -sim | -cisco | -oki | -wec | -winbond) - os= - basic_machine=$1 - ;; - -scout) - ;; - -wrs) - os=-vxworks - basic_machine=$1 - ;; - -chorusos*) - os=-chorusos - basic_machine=$1 - ;; - -chorusrdb) - os=-chorusrdb - basic_machine=$1 - ;; - -hiux*) - os=-hiuxwe2 - ;; - -sco5) - os=-sco3.2v5 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco4) - os=-sco3.2v4 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2.[4-9]*) - os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2v[4-9]*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco*) - os=-sco3.2v2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -udk*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -isc) - os=-isc2.2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -clix*) - basic_machine=clipper-intergraph - ;; - -isc*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -lynx*) - os=-lynxos - ;; - -ptx*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` - ;; - -windowsnt*) - os=`echo $os | sed -e 's/windowsnt/winnt/'` - ;; - -psos*) - os=-psos - ;; - -mint | -mint[0-9]*) - basic_machine=m68k-atari - os=-mint - ;; -esac - -# Decode aliases for certain CPU-COMPANY combinations. -case $basic_machine in - # Recognize the basic CPU types without company name. - # Some are omitted here because they have special meanings below. - 1750a | 580 \ - | a29k \ - | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ - | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ - | am33_2.0 \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ - | bfin \ - | c4x | clipper \ - | d10v | d30v | dlx | dsp16xx \ - | fr30 | frv \ - | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ - | i370 | i860 | i960 | ia64 \ - | ip2k | iq2000 \ - | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ - | mips | mipsbe | mipseb | mipsel | mipsle \ - | mips16 \ - | mips64 | mips64el \ - | mips64vr | mips64vrel \ - | mips64orion | mips64orionel \ - | mips64vr4100 | mips64vr4100el \ - | mips64vr4300 | mips64vr4300el \ - | mips64vr5000 | mips64vr5000el \ - | mipsisa32 | mipsisa32el \ - | mipsisa32r2 | mipsisa32r2el \ - | mipsisa64 | mipsisa64el \ - | mipsisa64r2 | mipsisa64r2el \ - | mipsisa64sb1 | mipsisa64sb1el \ - | mipsisa64sr71k | mipsisa64sr71kel \ - | mipstx39 | mipstx39el \ - | mn10200 | mn10300 \ - | msp430 \ - | ns16k | ns32k \ - | openrisc | or32 \ - | pdp10 | pdp11 | pj | pjl \ - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ - | pyramid \ - | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ - | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ - | sparcv8 | sparcv9 | sparcv9b \ - | strongarm \ - | tahoe | thumb | tic4x | tic80 | tron \ - | v850 | v850e \ - | we32k \ - | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ - | z8k) - basic_machine=$basic_machine-unknown - ;; - m6811 | m68hc11 | m6812 | m68hc12) - # Motorola 68HC11/12. - basic_machine=$basic_machine-unknown - os=-none - ;; - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) - ;; - - # We use `pc' rather than `unknown' - # because (1) that's what they normally are, and - # (2) the word "unknown" tends to confuse beginning users. - i*86 | x86_64) - basic_machine=$basic_machine-pc - ;; - # Object if more than one company name word. - *-*-*) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; - # Recognize the basic CPU types with company name. - 580-* \ - | a29k-* \ - | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ - | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ - | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* \ - | bfin-* | bs2000-* \ - | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ - | clipper-* | craynv-* | cydra-* \ - | d10v-* | d30v-* | dlx-* \ - | elxsi-* \ - | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ - | h8300-* | h8500-* \ - | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ - | i*86-* | i860-* | i960-* | ia64-* \ - | ip2k-* | iq2000-* \ - | m32r-* | m32rle-* \ - | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | maxq-* | mcore-* \ - | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ - | mips16-* \ - | mips64-* | mips64el-* \ - | mips64vr-* | mips64vrel-* \ - | mips64orion-* | mips64orionel-* \ - | mips64vr4100-* | mips64vr4100el-* \ - | mips64vr4300-* | mips64vr4300el-* \ - | mips64vr5000-* | mips64vr5000el-* \ - | mipsisa32-* | mipsisa32el-* \ - | mipsisa32r2-* | mipsisa32r2el-* \ - | mipsisa64-* | mipsisa64el-* \ - | mipsisa64r2-* | mipsisa64r2el-* \ - | mipsisa64sb1-* | mipsisa64sb1el-* \ - | mipsisa64sr71k-* | mipsisa64sr71kel-* \ - | mipstx39-* | mipstx39el-* \ - | mmix-* \ - | msp430-* \ - | none-* | np1-* | ns16k-* | ns32k-* \ - | orion-* \ - | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ - | pyramid-* \ - | romp-* | rs6000-* \ - | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ - | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ - | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ - | tahoe-* | thumb-* \ - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ - | tron-* \ - | v850-* | v850e-* | vax-* \ - | we32k-* \ - | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ - | xstormy16-* | xtensa-* \ - | ymp-* \ - | z8k-*) - ;; - # Recognize the various machine names and aliases which stand - # for a CPU type and a company and sometimes even an OS. - 386bsd) - basic_machine=i386-unknown - os=-bsd - ;; - 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) - basic_machine=m68000-att - ;; - 3b*) - basic_machine=we32k-att - ;; - a29khif) - basic_machine=a29k-amd - os=-udi - ;; - abacus) - basic_machine=abacus-unknown - ;; - adobe68k) - basic_machine=m68010-adobe - os=-scout - ;; - alliant | fx80) - basic_machine=fx80-alliant - ;; - altos | altos3068) - basic_machine=m68k-altos - ;; - am29k) - basic_machine=a29k-none - os=-bsd - ;; - amd64) - basic_machine=x86_64-pc - ;; - amd64-*) - basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - amdahl) - basic_machine=580-amdahl - os=-sysv - ;; - amiga | amiga-*) - basic_machine=m68k-unknown - ;; - amigaos | amigados) - basic_machine=m68k-unknown - os=-amigaos - ;; - amigaunix | amix) - basic_machine=m68k-unknown - os=-sysv4 - ;; - apollo68) - basic_machine=m68k-apollo - os=-sysv - ;; - apollo68bsd) - basic_machine=m68k-apollo - os=-bsd - ;; - aux) - basic_machine=m68k-apple - os=-aux - ;; - balance) - basic_machine=ns32k-sequent - os=-dynix - ;; - c90) - basic_machine=c90-cray - os=-unicos - ;; - convex-c1) - basic_machine=c1-convex - os=-bsd - ;; - convex-c2) - basic_machine=c2-convex - os=-bsd - ;; - convex-c32) - basic_machine=c32-convex - os=-bsd - ;; - convex-c34) - basic_machine=c34-convex - os=-bsd - ;; - convex-c38) - basic_machine=c38-convex - os=-bsd - ;; - cray | j90) - basic_machine=j90-cray - os=-unicos - ;; - craynv) - basic_machine=craynv-cray - os=-unicosmp - ;; - cr16c) - basic_machine=cr16c-unknown - os=-elf - ;; - crds | unos) - basic_machine=m68k-crds - ;; - crisv32 | crisv32-* | etraxfs*) - basic_machine=crisv32-axis - ;; - cris | cris-* | etrax*) - basic_machine=cris-axis - ;; - crx) - basic_machine=crx-unknown - os=-elf - ;; - da30 | da30-*) - basic_machine=m68k-da30 - ;; - decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) - basic_machine=mips-dec - ;; - decsystem10* | dec10*) - basic_machine=pdp10-dec - os=-tops10 - ;; - decsystem20* | dec20*) - basic_machine=pdp10-dec - os=-tops20 - ;; - delta | 3300 | motorola-3300 | motorola-delta \ - | 3300-motorola | delta-motorola) - basic_machine=m68k-motorola - ;; - delta88) - basic_machine=m88k-motorola - os=-sysv3 - ;; - djgpp) - basic_machine=i586-pc - os=-msdosdjgpp - ;; - dpx20 | dpx20-*) - basic_machine=rs6000-bull - os=-bosx - ;; - dpx2* | dpx2*-bull) - basic_machine=m68k-bull - os=-sysv3 - ;; - ebmon29k) - basic_machine=a29k-amd - os=-ebmon - ;; - elxsi) - basic_machine=elxsi-elxsi - os=-bsd - ;; - encore | umax | mmax) - basic_machine=ns32k-encore - ;; - es1800 | OSE68k | ose68k | ose | OSE) - basic_machine=m68k-ericsson - os=-ose - ;; - fx2800) - basic_machine=i860-alliant - ;; - genix) - basic_machine=ns32k-ns - ;; - gmicro) - basic_machine=tron-gmicro - os=-sysv - ;; - go32) - basic_machine=i386-pc - os=-go32 - ;; - h3050r* | hiux*) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - h8300hms) - basic_machine=h8300-hitachi - os=-hms - ;; - h8300xray) - basic_machine=h8300-hitachi - os=-xray - ;; - h8500hms) - basic_machine=h8500-hitachi - os=-hms - ;; - harris) - basic_machine=m88k-harris - os=-sysv3 - ;; - hp300-*) - basic_machine=m68k-hp - ;; - hp300bsd) - basic_machine=m68k-hp - os=-bsd - ;; - hp300hpux) - basic_machine=m68k-hp - os=-hpux - ;; - hp3k9[0-9][0-9] | hp9[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hp9k2[0-9][0-9] | hp9k31[0-9]) - basic_machine=m68000-hp - ;; - hp9k3[2-9][0-9]) - basic_machine=m68k-hp - ;; - hp9k6[0-9][0-9] | hp6[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hp9k7[0-79][0-9] | hp7[0-79][0-9]) - basic_machine=hppa1.1-hp - ;; - hp9k78[0-9] | hp78[0-9]) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][13679] | hp8[0-9][13679]) - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][0-9] | hp8[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hppa-next) - os=-nextstep3 - ;; - hppaosf) - basic_machine=hppa1.1-hp - os=-osf - ;; - hppro) - basic_machine=hppa1.1-hp - os=-proelf - ;; - i370-ibm* | ibm*) - basic_machine=i370-ibm - ;; -# I'm not sure what "Sysv32" means. Should this be sysv3.2? - i*86v32) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv32 - ;; - i*86v4*) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv4 - ;; - i*86v) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv - ;; - i*86sol2) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-solaris2 - ;; - i386mach) - basic_machine=i386-mach - os=-mach - ;; - i386-vsta | vsta) - basic_machine=i386-unknown - os=-vsta - ;; - iris | iris4d) - basic_machine=mips-sgi - case $os in - -irix*) - ;; - *) - os=-irix4 - ;; - esac - ;; - isi68 | isi) - basic_machine=m68k-isi - os=-sysv - ;; - m88k-omron*) - basic_machine=m88k-omron - ;; - magnum | m3230) - basic_machine=mips-mips - os=-sysv - ;; - merlin) - basic_machine=ns32k-utek - os=-sysv - ;; - mingw32) - basic_machine=i386-pc - os=-mingw32 - ;; - miniframe) - basic_machine=m68000-convergent - ;; - *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) - basic_machine=m68k-atari - os=-mint - ;; - mips3*-*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` - ;; - mips3*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown - ;; - monitor) - basic_machine=m68k-rom68k - os=-coff - ;; - morphos) - basic_machine=powerpc-unknown - os=-morphos - ;; - msdos) - basic_machine=i386-pc - os=-msdos - ;; - mvs) - basic_machine=i370-ibm - os=-mvs - ;; - ncr3000) - basic_machine=i486-ncr - os=-sysv4 - ;; - netbsd386) - basic_machine=i386-unknown - os=-netbsd - ;; - netwinder) - basic_machine=armv4l-rebel - os=-linux - ;; - news | news700 | news800 | news900) - basic_machine=m68k-sony - os=-newsos - ;; - news1000) - basic_machine=m68030-sony - os=-newsos - ;; - news-3600 | risc-news) - basic_machine=mips-sony - os=-newsos - ;; - necv70) - basic_machine=v70-nec - os=-sysv - ;; - next | m*-next ) - basic_machine=m68k-next - case $os in - -nextstep* ) - ;; - -ns2*) - os=-nextstep2 - ;; - *) - os=-nextstep3 - ;; - esac - ;; - nh3000) - basic_machine=m68k-harris - os=-cxux - ;; - nh[45]000) - basic_machine=m88k-harris - os=-cxux - ;; - nindy960) - basic_machine=i960-intel - os=-nindy - ;; - mon960) - basic_machine=i960-intel - os=-mon960 - ;; - nonstopux) - basic_machine=mips-compaq - os=-nonstopux - ;; - np1) - basic_machine=np1-gould - ;; - nsr-tandem) - basic_machine=nsr-tandem - ;; - op50n-* | op60c-*) - basic_machine=hppa1.1-oki - os=-proelf - ;; - or32 | or32-*) - basic_machine=or32-unknown - os=-coff - ;; - os400) - basic_machine=powerpc-ibm - os=-os400 - ;; - OSE68000 | ose68000) - basic_machine=m68000-ericsson - os=-ose - ;; - os68k) - basic_machine=m68k-none - os=-os68k - ;; - pa-hitachi) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - paragon) - basic_machine=i860-intel - os=-osf - ;; - pbd) - basic_machine=sparc-tti - ;; - pbb) - basic_machine=m68k-tti - ;; - pc532 | pc532-*) - basic_machine=ns32k-pc532 - ;; - pentium | p5 | k5 | k6 | nexgen | viac3) - basic_machine=i586-pc - ;; - pentiumpro | p6 | 6x86 | athlon | athlon_*) - basic_machine=i686-pc - ;; - pentiumii | pentium2 | pentiumiii | pentium3) - basic_machine=i686-pc - ;; - pentium4) - basic_machine=i786-pc - ;; - pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) - basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentiumpro-* | p6-* | 6x86-* | athlon-*) - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentium4-*) - basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pn) - basic_machine=pn-gould - ;; - power) basic_machine=power-ibm - ;; - ppc) basic_machine=powerpc-unknown - ;; - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppcle | powerpclittle | ppc-le | powerpc-little) - basic_machine=powerpcle-unknown - ;; - ppcle-* | powerpclittle-*) - basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppc64) basic_machine=powerpc64-unknown - ;; - ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppc64le | powerpc64little | ppc64-le | powerpc64-little) - basic_machine=powerpc64le-unknown - ;; - ppc64le-* | powerpc64little-*) - basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ps2) - basic_machine=i386-ibm - ;; - pw32) - basic_machine=i586-unknown - os=-pw32 - ;; - rom68k) - basic_machine=m68k-rom68k - os=-coff - ;; - rm[46]00) - basic_machine=mips-siemens - ;; - rtpc | rtpc-*) - basic_machine=romp-ibm - ;; - s390 | s390-*) - basic_machine=s390-ibm - ;; - s390x | s390x-*) - basic_machine=s390x-ibm - ;; - sa29200) - basic_machine=a29k-amd - os=-udi - ;; - sb1) - basic_machine=mipsisa64sb1-unknown - ;; - sb1el) - basic_machine=mipsisa64sb1el-unknown - ;; - sei) - basic_machine=mips-sei - os=-seiux - ;; - sequent) - basic_machine=i386-sequent - ;; - sh) - basic_machine=sh-hitachi - os=-hms - ;; - sh64) - basic_machine=sh64-unknown - ;; - sparclite-wrs | simso-wrs) - basic_machine=sparclite-wrs - os=-vxworks - ;; - sps7) - basic_machine=m68k-bull - os=-sysv2 - ;; - spur) - basic_machine=spur-unknown - ;; - st2000) - basic_machine=m68k-tandem - ;; - stratus) - basic_machine=i860-stratus - os=-sysv4 - ;; - sun2) - basic_machine=m68000-sun - ;; - sun2os3) - basic_machine=m68000-sun - os=-sunos3 - ;; - sun2os4) - basic_machine=m68000-sun - os=-sunos4 - ;; - sun3os3) - basic_machine=m68k-sun - os=-sunos3 - ;; - sun3os4) - basic_machine=m68k-sun - os=-sunos4 - ;; - sun4os3) - basic_machine=sparc-sun - os=-sunos3 - ;; - sun4os4) - basic_machine=sparc-sun - os=-sunos4 - ;; - sun4sol2) - basic_machine=sparc-sun - os=-solaris2 - ;; - sun3 | sun3-*) - basic_machine=m68k-sun - ;; - sun4) - basic_machine=sparc-sun - ;; - sun386 | sun386i | roadrunner) - basic_machine=i386-sun - ;; - sv1) - basic_machine=sv1-cray - os=-unicos - ;; - symmetry) - basic_machine=i386-sequent - os=-dynix - ;; - t3e) - basic_machine=alphaev5-cray - os=-unicos - ;; - t90) - basic_machine=t90-cray - os=-unicos - ;; - tic54x | c54x*) - basic_machine=tic54x-unknown - os=-coff - ;; - tic55x | c55x*) - basic_machine=tic55x-unknown - os=-coff - ;; - tic6x | c6x*) - basic_machine=tic6x-unknown - os=-coff - ;; - tx39) - basic_machine=mipstx39-unknown - ;; - tx39el) - basic_machine=mipstx39el-unknown - ;; - toad1) - basic_machine=pdp10-xkl - os=-tops20 - ;; - tower | tower-32) - basic_machine=m68k-ncr - ;; - tpf) - basic_machine=s390x-ibm - os=-tpf - ;; - udi29k) - basic_machine=a29k-amd - os=-udi - ;; - ultra3) - basic_machine=a29k-nyu - os=-sym1 - ;; - v810 | necv810) - basic_machine=v810-nec - os=-none - ;; - vaxv) - basic_machine=vax-dec - os=-sysv - ;; - vms) - basic_machine=vax-dec - os=-vms - ;; - vpp*|vx|vx-*) - basic_machine=f301-fujitsu - ;; - vxworks960) - basic_machine=i960-wrs - os=-vxworks - ;; - vxworks68) - basic_machine=m68k-wrs - os=-vxworks - ;; - vxworks29k) - basic_machine=a29k-wrs - os=-vxworks - ;; - w65*) - basic_machine=w65-wdc - os=-none - ;; - w89k-*) - basic_machine=hppa1.1-winbond - os=-proelf - ;; - xbox) - basic_machine=i686-pc - os=-mingw32 - ;; - xps | xps100) - basic_machine=xps100-honeywell - ;; - ymp) - basic_machine=ymp-cray - os=-unicos - ;; - z8k-*-coff) - basic_machine=z8k-unknown - os=-sim - ;; - none) - basic_machine=none-none - os=-none - ;; - -# Here we handle the default manufacturer of certain CPU types. It is in -# some cases the only manufacturer, in others, it is the most popular. - w89k) - basic_machine=hppa1.1-winbond - ;; - op50n) - basic_machine=hppa1.1-oki - ;; - op60c) - basic_machine=hppa1.1-oki - ;; - romp) - basic_machine=romp-ibm - ;; - mmix) - basic_machine=mmix-knuth - ;; - rs6000) - basic_machine=rs6000-ibm - ;; - vax) - basic_machine=vax-dec - ;; - pdp10) - # there are many clones, so DEC is not a safe bet - basic_machine=pdp10-unknown - ;; - pdp11) - basic_machine=pdp11-dec - ;; - we32k) - basic_machine=we32k-att - ;; - sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele) - basic_machine=sh-unknown - ;; - sh64) - basic_machine=sh64-unknown - ;; - sparc | sparcv8 | sparcv9 | sparcv9b) - basic_machine=sparc-sun - ;; - cydra) - basic_machine=cydra-cydrome - ;; - orion) - basic_machine=orion-highlevel - ;; - orion105) - basic_machine=clipper-highlevel - ;; - mac | mpw | mac-mpw) - basic_machine=m68k-apple - ;; - pmac | pmac-mpw) - basic_machine=powerpc-apple - ;; - nios2*) - basic_machine=nios2-altera - ;; - *-unknown) - # Make sure to match an already-canonicalized machine name. - ;; - *) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; -esac - -# Here we canonicalize certain aliases for manufacturers. -case $basic_machine in - *-digital*) - basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` - ;; - *-commodore*) - basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` - ;; - *) - ;; -esac - -# Decode manufacturer-specific aliases for certain operating systems. - -if [ x"$os" != x"" ] -then -case $os in - # First match some system type aliases - # that might get confused with valid system types. - # -solaris* is a basic system type, with this one exception. - -solaris1 | -solaris1.*) - os=`echo $os | sed -e 's|solaris1|sunos4|'` - ;; - -solaris) - os=-solaris2 - ;; - -svr4*) - os=-sysv4 - ;; - -unixware*) - os=-sysv4.2uw - ;; - -gnu/linux*) - os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` - ;; - # First accept the basic system types. - # The portable systems comes first. - # Each alternative MUST END IN A *, to match a version number. - # -sysv* is not here because it comes later, after sysvr4. - -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* \ - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ - | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ - | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ - | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ - | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -chorusos* | -chorusrdb* \ - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ - | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ - | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ - | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ - | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ - | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ - | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*) - # Remember, each alternative MUST END IN *, to match a version number. - ;; - -qnx*) - case $basic_machine in - x86-* | i*86-*) - ;; - *) - os=-nto$os - ;; - esac - ;; - -nto-qnx*) - ;; - -nto*) - os=`echo $os | sed -e 's|nto|nto-qnx|'` - ;; - -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ - | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ - | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) - ;; - -mac*) - os=`echo $os | sed -e 's|mac|macos|'` - ;; - -linux-dietlibc) - os=-linux-dietlibc - ;; - -linux*) - os=`echo $os | sed -e 's|linux|linux-gnu|'` - ;; - -sunos5*) - os=`echo $os | sed -e 's|sunos5|solaris2|'` - ;; - -sunos6*) - os=`echo $os | sed -e 's|sunos6|solaris3|'` - ;; - -opened*) - os=-openedition - ;; - -os400*) - os=-os400 - ;; - -wince*) - os=-wince - ;; - -osfrose*) - os=-osfrose - ;; - -osf*) - os=-osf - ;; - -utek*) - os=-bsd - ;; - -dynix*) - os=-bsd - ;; - -acis*) - os=-aos - ;; - -atheos*) - os=-atheos - ;; - -syllable*) - os=-syllable - ;; - -386bsd) - os=-bsd - ;; - -ctix* | -uts*) - os=-sysv - ;; - -nova*) - os=-rtmk-nova - ;; - -ns2 ) - os=-nextstep2 - ;; - -nsk*) - os=-nsk - ;; - # Preserve the version number of sinix5. - -sinix5.*) - os=`echo $os | sed -e 's|sinix|sysv|'` - ;; - -sinix*) - os=-sysv4 - ;; - -tpf*) - os=-tpf - ;; - -triton*) - os=-sysv3 - ;; - -oss*) - os=-sysv3 - ;; - -svr4) - os=-sysv4 - ;; - -svr3) - os=-sysv3 - ;; - -sysvr4) - os=-sysv4 - ;; - # This must come after -sysvr4. - -sysv*) - ;; - -ose*) - os=-ose - ;; - -es1800*) - os=-ose - ;; - -xenix) - os=-xenix - ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) - os=-mint - ;; - -aros*) - os=-aros - ;; - -kaos*) - os=-kaos - ;; - -zvmoe) - os=-zvmoe - ;; - -none) - ;; - *) - # Get rid of the `-' at the beginning of $os. - os=`echo $os | sed 's/[^-]*-//'` - echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 - exit 1 - ;; -esac -else - -# Here we handle the default operating systems that come with various machines. -# The value should be what the vendor currently ships out the door with their -# machine or put another way, the most popular os provided with the machine. - -# Note that if you're going to try to match "-MANUFACTURER" here (say, -# "-sun"), then you have to tell the case statement up towards the top -# that MANUFACTURER isn't an operating system. Otherwise, code above -# will signal an error saying that MANUFACTURER isn't an operating -# system, and we'll never get to this point. - -case $basic_machine in - *-acorn) - os=-riscix1.2 - ;; - arm*-rebel) - os=-linux - ;; - arm*-semi) - os=-aout - ;; - c4x-* | tic4x-*) - os=-coff - ;; - # This must come before the *-dec entry. - pdp10-*) - os=-tops20 - ;; - pdp11-*) - os=-none - ;; - *-dec | vax-*) - os=-ultrix4.2 - ;; - m68*-apollo) - os=-domain - ;; - i386-sun) - os=-sunos4.0.2 - ;; - m68000-sun) - os=-sunos3 - # This also exists in the configure program, but was not the - # default. - # os=-sunos4 - ;; - m68*-cisco) - os=-aout - ;; - mips*-cisco) - os=-elf - ;; - mips*-*) - os=-elf - ;; - or32-*) - os=-coff - ;; - *-tti) # must be before sparc entry or we get the wrong os. - os=-sysv3 - ;; - sparc-* | *-sun) - os=-sunos4.1.1 - ;; - *-be) - os=-beos - ;; - *-ibm) - os=-aix - ;; - *-knuth) - os=-mmixware - ;; - *-wec) - os=-proelf - ;; - *-winbond) - os=-proelf - ;; - *-oki) - os=-proelf - ;; - *-hp) - os=-hpux - ;; - *-hitachi) - os=-hiux - ;; - i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) - os=-sysv - ;; - *-cbm) - os=-amigaos - ;; - *-dg) - os=-dgux - ;; - *-dolphin) - os=-sysv3 - ;; - m68k-ccur) - os=-rtu - ;; - m88k-omron*) - os=-luna - ;; - *-next ) - os=-nextstep - ;; - *-sequent) - os=-ptx - ;; - *-crds) - os=-unos - ;; - *-ns) - os=-genix - ;; - i370-*) - os=-mvs - ;; - *-next) - os=-nextstep3 - ;; - *-gould) - os=-sysv - ;; - *-highlevel) - os=-bsd - ;; - *-encore) - os=-bsd - ;; - *-sgi) - os=-irix - ;; - *-siemens) - os=-sysv4 - ;; - *-masscomp) - os=-rtu - ;; - f30[01]-fujitsu | f700-fujitsu) - os=-uxpv - ;; - *-rom68k) - os=-coff - ;; - *-*bug) - os=-coff - ;; - *-apple) - os=-macos - ;; - *-atari*) - os=-mint - ;; - *) - os=-none - ;; -esac -fi - -# Here we handle the case where we know the os, and the CPU type, but not the -# manufacturer. We pick the logical manufacturer. -vendor=unknown -case $basic_machine in - *-unknown) - case $os in - -riscix*) - vendor=acorn - ;; - -sunos*) - vendor=sun - ;; - -aix*) - vendor=ibm - ;; - -beos*) - vendor=be - ;; - -hpux*) - vendor=hp - ;; - -mpeix*) - vendor=hp - ;; - -hiux*) - vendor=hitachi - ;; - -unos*) - vendor=crds - ;; - -dgux*) - vendor=dg - ;; - -luna*) - vendor=omron - ;; - -genix*) - vendor=ns - ;; - -mvs* | -opened*) - vendor=ibm - ;; - -os400*) - vendor=ibm - ;; - -ptx*) - vendor=sequent - ;; - -tpf*) - vendor=ibm - ;; - -vxsim* | -vxworks* | -windiss*) - vendor=wrs - ;; - -aux*) - vendor=apple - ;; - -hms*) - vendor=hitachi - ;; - -mpw* | -macos*) - vendor=apple - ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) - vendor=atari - ;; - -vos*) - vendor=stratus - ;; - esac - basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` - ;; -esac - -echo $basic_machine$os -exit 0 - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" -# time-stamp-end: "'" -# End: diff --git a/res/pjproject/configure b/res/pjproject/configure deleted file mode 100755 index 849e354731..0000000000 --- a/res/pjproject/configure +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -./aconfigure $* - -# Note: -# if you're looking for the old configure script, it has been renamed -# to configure-legacy - diff --git a/res/pjproject/configure-iphone b/res/pjproject/configure-iphone deleted file mode 100755 index 742dce0818..0000000000 --- a/res/pjproject/configure-iphone +++ /dev/null @@ -1,142 +0,0 @@ -#!/bin/bash - -F="configure-iphone" - -if test "$*" = "--help" -o "$*" = "-h"; then - echo "$F [OPTIONS]" - echo "" - echo "where:" - echo " OPTIONS Other options that will be passed directly to" - echo " ./aconfigure script. Run ./aconfigure --help" - echo " for more info." - echo "" - echo "Environment variables:" - echo " IPHONESDK Optionally specify which SDK to use. Value is the full " - echo " path of the SDK. By default, the latest SDK installed" - echo " will be used." - echo " CC Optionally specify the path of the ARM cross compiler" - echo " to use. By default, the compiler is deduced from the" - echo " SDK." - echo " ARCH Optional flags to specify target architecture, e.g." - echo " ARCH='-arch armv6'" - echo "" - exit 0 -fi - -# Set the main iPhone developer directory, if not set -if test "x${DEVPATH}" = "x"; then - DEVPATH=/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer - if test ! -d $DEVPATH; then - DEVPATH=/Developer/Platforms/iPhoneOS.platform/Developer - fi - echo "$F: DEVPATH is not specified, using ${DEVPATH}" -fi - -# Make sure $DEVPATH directory exist -if test ! -d $DEVPATH; then - echo "$F error: directory $DEVPATH does not exist. Please install iPhone development kit" - exit 1 -fi - -# Choose SDK version to use -if test "$IPHONESDK" = ""; then - # If IPHONESDK is not set, use the latest one - for f in `ls $DEVPATH/SDKs/`; do echo $f | sed 's/\(.sdk\)//'; done | sort | tail -1 > tmpsdkname - IPHONESDK=`cat tmpsdkname`.sdk - rm -f tmpsdkname - SDKPATH=${DEVPATH}/SDKs/${IPHONESDK} - echo "$F: IPHONESDK is not specified, choosing ${IPHONESDK}" -elif test -d ${IPHONESDK}; then - # .. else if IPHONESDK is set and it points to a valid path, just use it - SDKPATH=${IPHONESDK} -else - # .. else assume the SDK name is used. - SDKPATH=${DEVPATH}/SDKs/${IPHONESDK} -fi - -# Test the SDK directory -if test ! -d ${SDKPATH}/usr/include; then - echo "$F error: unable to find valid iPhone SDK in ${SDKPATH}" - exit 1 -fi - -# Default CFLAGS if it's not specified -if test "$CFLAGS" = ""; then - CFLAGS="-O2 -Wno-unused-label" -fi - -# Default LDFLAGS if it's not specified -if test "$LDFLAGS" = ""; then - LDFLAGS="-O2" -fi - -# Determine which gcc for this SDK. Binaries should have the -# full path as it's not normally in user's PATH - -if test "${CC}" = ""; then - # Try to use llvm-gcc if available - gccpath="${DEVPATH}/usr/bin/llvm-gcc" - if test -e ${gccpath}; then - export CC="${gccpath}" - - if test "${ARCH}" = ""; then - export ARCH="-arch armv7" - echo "$F: ARCH is not specified, choosing ${ARCH}" - fi - else - for archpath in `ls -d ${SDKPATH}/usr/lib/gcc/arm-apple-darwin*`; do - archname=`basename ${archpath}` - for gccver in `ls ${archpath}`; do - gccpath="${DEVPATH}/usr/bin/${archname}-gcc-${gccver}" - if test -e ${gccpath}; then - export CC="${gccpath}" - fi - done - done - fi - if test ! "${CC}" = ""; then - echo "$F: CC is not specified, choosing ${CC}" - fi -fi - -if test "${CC}" = ""; then - echo "$F error: unable to find gcc for ${IPHONESDK}. If you think you have the right gcc, set the full path in CC environment variable." - exit 1 -fi - -# Set CXX if not set -if test "${CXX}" = ""; then - export CXX=`echo ${CC} | sed 's/gcc/g++/'` - echo "$F: CXX is not specified, using ${CXX}" -fi - -# Other settings to feed to configure script. -#ARCH="-arch armv6" -export CFLAGS="${CFLAGS} -DPJ_SDK_NAME=\"\\\"`basename $SDKPATH`\\\"\" ${ARCH} -isysroot ${SDKPATH}" -export LDFLAGS="${LDFLAGS} ${ARCH} -isysroot ${SDKPATH} -framework AudioToolbox -framework Foundation" -export AR="${DEVPATH}/usr/bin/libtool -static -o" -export RANLIB="echo ranlib" -# Use gcc -E as preprocessor instead of cpp, since cpp will find the -# header files in standard /usr/include instead of in isysroot -export CPP="${CC} ${ARCH} -E -isysroot ${SDKPATH}" - -# Print settings -if test "1" = "1"; then - echo "$F: calling ./aconfigure with env vars:" - echo " CC = ${CC}" - echo " CXX = ${CXX}" - echo " SDKPATH = ${SDKPATH}" - echo " CFLAGS = ${CFLAGS}" - echo " LDFLAGS = ${LDFLAGS}" - echo " AR = ${AR}" - echo " RANLIB = ${RANLIB}" -fi - -# And finally invoke the configure script itself -./aconfigure --host=arm-apple-darwin9 --disable-floating-point --disable-sdl $* - -if test "$?" = "0"; then - echo "Done configuring for `basename $SDKPATH`" - echo "" -fi - diff --git a/res/pjproject/configure-legacy b/res/pjproject/configure-legacy deleted file mode 100755 index fd0dd948f9..0000000000 --- a/res/pjproject/configure-legacy +++ /dev/null @@ -1,148 +0,0 @@ -#!/bin/sh - -PJDIR=`pwd` - -# -# Detect machine, unless the choice has been made already. -# -if [ "$MACHINE" = "" ]; then - MACHINE=`uname -m` -fi - -if echo $MACHINE | grep sun4u > /dev/null; then - MACHINE_NAME=sparc -elif echo $MACHINE | grep i.86 > /dev/null; then - MACHINE_NAME=i386 -elif echo $MACHINE | grep x86_64 > /dev/null; then - MACHINE_NAME=x86_64 -elif echo $MACHINE | grep alpha > /dev/null; then - MACHINE_NAME=alpha -elif echo $MACHINE | grep Mac > /dev/null; then - MACHINE_NAME=powerpc -else - echo "Unable to detect processor type ('uname -m' == '$MACHINE')" - exit 1 -fi - -# -# Detect OS and host, unless the choice has been made already -# -if [ "$SYSTEM" = "" ]; then - SYSTEM=`uname -s` -fi - - -if echo $SYSTEM | grep -i sunos > /dev/null; then - OS_NAME=sunos - HOST_NAME=unix -elif echo $SYSTEM | grep -i linux > /dev/null; then - OS_NAME=linux - HOST_NAME=unix - # More on linux version - KERNEL_VER=`uname -r` - if echo $KERNEL_VER | grep '^2\.4' > /dev/null; then - LINUX_POLL=select - elif echo $KERNEL_VER | grep '^2\.2' > /dev/null; then - LINUX_POLL=select - elif echo $KERNEL_VER | grep '^2\.0' > /dev/null; then - LINUX_EPOLL=select - else -# LINUX_POLL=epoll - LINUX_POLL=select - fi -elif echo $SYSTEM | grep -i mingw > /dev/null; then - OS_NAME=win32 - HOST_NAME=mingw -elif echo $SYSTEM | grep -i cygwin > /dev/null; then - OS_NAME=win32 - HOST_NAME=mingw -elif echo $SYSTEM | grep -i darwin > /dev/null; then - OS_NAME=darwinos - HOST_NAME=unix -elif echo $SYSTEM | grep -i rtems > /dev/null; then - OS_NAME=rtems - HOST_NAME=unix -else - echo "Unable to detect system type ('uname -s' == '$SYSTEM')" - exit 1 -fi - -# -# Detect gcc, unless it has been chosen already -# -if [ "$CC_NAME" = "" ]; then - if gcc --version 2>&1 > /dev/null; then - CC_NAME=gcc - else - echo "Unable to find gcc" - exit 1 - fi -fi - - -# -# Specify TARGET_NAME, if not already choosen. -# -if [ "$TARGET_NAME" = "" ]; then - TARGET_NAME=$MACHINE_NAME-$OS_NAME-$CC_NAME -fi - - -if test -f build.mak; then - echo 'Saving build.mak --> build.mak.old' - cp -f build.mak build.mak.old -fi - -echo 'build.mak configurations are set as follows:' -echo " PJDIR = $PJDIR" -echo " MACHINE_NAME = $MACHINE_NAME" -echo " OS_NAME = $OS_NAME" -echo " HOST_NAME = $HOST_NAME" -echo " CC_NAME = $CC_NAME" -echo " TARGET_NAME = $TARGET_NAME" -echo " CROSS_COMPILE = $CROSS_COMPILE" -echo " LINUX_POLL = $LINUX_POLL" - -echo "# Auto-generated build.mak" > build.mak -echo "export PJDIR := $PJDIR" >> build.mak -echo "export MACHINE_NAME := $MACHINE_NAME" >> build.mak -echo "export OS_NAME := $OS_NAME" >> build.mak -echo "export HOST_NAME := $HOST_NAME" >> build.mak -echo "export CC_NAME := $CC_NAME" >> build.mak -echo "export TARGET_NAME := $TARGET_NAME" >> build.mak -echo "export CROSS_COMPILE := $CROSS_COMPILE" >> build.mak -echo "export LINUX_POLL := $LINUX_POLL" >> build.mak - -echo >> build.mak - -cat << EOF >> build.mak -export APP_CC = \$(CROSS_COMPILE)\$(CC_NAME) - -export APP_CFLAGS = \$(CC_CFLAGS) \$(OS_CFLAGS) \$(HOST_CFLAGS) \$(M_CFLAGS) \$(CFLAGS) -I\$(PJDIR)/pjlib/include -I\$(PJDIR)/pjlib-util/include -I\$(PJDIR)/pjnath/include -I\$(PJDIR)/pjmedia/include -I\$(PJDIR)/pjsip/include - -export APP_CXXFLAGS = \$(APP_CFLAGS) - -export APP_LDFLAGS = -L\$(PJDIR)/pjlib/lib -L\$(PJDIR)/pjlib-util/lib -L\$(PJDIR)/pjnath/lib -L\$(PJDIR)/pjmedia/lib -L\$(PJDIR)/pjsip/lib -L\$(PJDIR)/third_party/lib - -export APP_LDLIBS = -lpjsua-\$(TARGET_NAME) -lpjsip-ua-\$(TARGET_NAME) -lpjsip-simple-\$(TARGET_NAME) -lpjsip-\$(TARGET_NAME) -lpjmedia-codec-\$(TARGET_NAME) -lpjmedia-\$(TARGET_NAME) -lpjnath-\$(TARGET_NAME) -lpjlib-util-\$(TARGET_NAME) \$(APP_THIRD_PARTY_LIBS) \$(APP_THIRD_PARTY_EXT) -lpj-\$(TARGET_NAME) \$(CC_LDFLAGS) \$(OS_LDFLAGS) \$(M_LDFLAGS) \$(HOST_LDFLAGS) \$(LDFLAGS) - -export PJ_DIR = \$(PJDIR) -export PJ_CC = \$(APP_CC) -export PJ_CFLAGS = \$(APP_CFLAGS) -export PJ_CXXFLAGS = \$(APP_CXXFLAGS) -export PJ_LDFLAGS = \$(APP_LDFLAGS) -export PJ_LDLIBS = \$(APP_LDLIBS) - -EOF - -touch user.mak - - -echo -echo "The configuration for current host has been written to 'build.mak'." -echo "Customizations can be put in:" -echo " - 'user.mak'" -echo " - 'pjlib/include/pj/config_site.h'" -echo -echo "Next, run 'make dep && make clean && make'" - diff --git a/res/pjproject/install-sh b/res/pjproject/install-sh deleted file mode 100755 index 11870f1b01..0000000000 --- a/res/pjproject/install-sh +++ /dev/null @@ -1,251 +0,0 @@ -#!/bin/sh -# -# install - install a program, script, or datafile -# This comes from X11R5 (mit/util/scripts/install.sh). -# -# Copyright 1991 by the Massachusetts Institute of Technology -# -# Permission to use, copy, modify, distribute, and sell this software and its -# documentation for any purpose is hereby granted without fee, provided that -# the above copyright notice appear in all copies and that both that -# copyright notice and this permission notice appear in supporting -# documentation, and that the name of M.I.T. not be used in advertising or -# publicity pertaining to distribution of the software without specific, -# written prior permission. M.I.T. makes no representations about the -# suitability of this software for any purpose. It is provided "as is" -# without express or implied warranty. -# -# Calling this script install-sh is preferred over install.sh, to prevent -# `make' implicit rules from creating a file called install from it -# when there is no Makefile. -# -# This script is compatible with the BSD install script, but was written -# from scratch. It can only install one file at a time, a restriction -# shared with many OS's install programs. - - -# set DOITPROG to echo to test this script - -# Don't use :- since 4.3BSD and earlier shells don't like it. -doit="${DOITPROG-}" - - -# put in absolute paths if you don't have them in your path; or use env. vars. - -mvprog="${MVPROG-mv}" -cpprog="${CPPROG-cp}" -chmodprog="${CHMODPROG-chmod}" -chownprog="${CHOWNPROG-chown}" -chgrpprog="${CHGRPPROG-chgrp}" -stripprog="${STRIPPROG-strip}" -rmprog="${RMPROG-rm}" -mkdirprog="${MKDIRPROG-mkdir}" - -transformbasename="" -transform_arg="" -instcmd="$mvprog" -chmodcmd="$chmodprog 0755" -chowncmd="" -chgrpcmd="" -stripcmd="" -rmcmd="$rmprog -f" -mvcmd="$mvprog" -src="" -dst="" -dir_arg="" - -while [ x"$1" != x ]; do - case $1 in - -c) instcmd="$cpprog" - shift - continue;; - - -d) dir_arg=true - shift - continue;; - - -m) chmodcmd="$chmodprog $2" - shift - shift - continue;; - - -o) chowncmd="$chownprog $2" - shift - shift - continue;; - - -g) chgrpcmd="$chgrpprog $2" - shift - shift - continue;; - - -s) stripcmd="$stripprog" - shift - continue;; - - -t=*) transformarg=`echo $1 | sed 's/-t=//'` - shift - continue;; - - -b=*) transformbasename=`echo $1 | sed 's/-b=//'` - shift - continue;; - - *) if [ x"$src" = x ] - then - src=$1 - else - # this colon is to work around a 386BSD /bin/sh bug - : - dst=$1 - fi - shift - continue;; - esac -done - -if [ x"$src" = x ] -then - echo "install: no input file specified" - exit 1 -else - : -fi - -if [ x"$dir_arg" != x ]; then - dst=$src - src="" - - if [ -d $dst ]; then - instcmd=: - chmodcmd="" - else - instcmd=$mkdirprog - fi -else - -# Waiting for this to be detected by the "$instcmd $src $dsttmp" command -# might cause directories to be created, which would be especially bad -# if $src (and thus $dsttmp) contains '*'. - - if [ -f "$src" ] || [ -d "$src" ] - then - : - else - echo "install: $src does not exist" - exit 1 - fi - - if [ x"$dst" = x ] - then - echo "install: no destination specified" - exit 1 - else - : - fi - -# If destination is a directory, append the input filename; if your system -# does not like double slashes in filenames, you may need to add some logic - - if [ -d $dst ] - then - dst="$dst"/`basename $src` - else - : - fi -fi - -## this sed command emulates the dirname command -dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` - -# Make sure that the destination directory exists. -# this part is taken from Noah Friedman's mkinstalldirs script - -# Skip lots of stat calls in the usual case. -if [ ! -d "$dstdir" ]; then -defaultIFS=' - ' -IFS="${IFS-${defaultIFS}}" - -oIFS="${IFS}" -# Some sh's can't handle IFS=/ for some reason. -IFS='%' -set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` -IFS="${oIFS}" - -pathcomp='' - -while [ $# -ne 0 ] ; do - pathcomp="${pathcomp}${1}" - shift - - if [ ! -d "${pathcomp}" ] ; - then - $mkdirprog "${pathcomp}" - else - : - fi - - pathcomp="${pathcomp}/" -done -fi - -if [ x"$dir_arg" != x ] -then - $doit $instcmd $dst && - - if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else : ; fi && - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else : ; fi && - if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else : ; fi && - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else : ; fi -else - -# If we're going to rename the final executable, determine the name now. - - if [ x"$transformarg" = x ] - then - dstfile=`basename $dst` - else - dstfile=`basename $dst $transformbasename | - sed $transformarg`$transformbasename - fi - -# don't allow the sed command to completely eliminate the filename - - if [ x"$dstfile" = x ] - then - dstfile=`basename $dst` - else - : - fi - -# Make a temp file name in the proper directory. - - dsttmp=$dstdir/#inst.$$# - -# Move or copy the file name to the temp name - - $doit $instcmd $src $dsttmp && - - trap "rm -f ${dsttmp}" 0 && - -# and set any options; do chmod last to preserve setuid bits - -# If any of these fail, we abort the whole thing. If we want to -# ignore errors from any of these, just make sure not to ignore -# errors from the above "$doit $instcmd $src $dsttmp" command. - - if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else :;fi && - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else :;fi && - if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else :;fi && - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else :;fi && - -# Now rename the file to the real destination. - - $doit $rmcmd -f $dstdir/$dstfile && - $doit $mvcmd $dsttmp $dstdir/$dstfile - -fi && - - -exit 0 diff --git a/res/pjproject/libpjproject.pc.in b/res/pjproject/libpjproject.pc.in deleted file mode 100644 index 7cd4313f55..0000000000 --- a/res/pjproject/libpjproject.pc.in +++ /dev/null @@ -1,13 +0,0 @@ -# Package Information for pkg-config - -prefix=@PREFIX@ -exec_prefix=${prefix} -libdir=${exec_prefix}/lib -includedir=${prefix}/include - -Name: libpjproject -Description: Multimedia communication library -URL: http://www.pjsip.org -Version: @PJ_VERSION@ -Libs: -L${libdir} @PJ_LDLIBS@ -Cflags: -I${includedir} @PJ_INSTALL_CFLAGS@ diff --git a/res/pjproject/pjlib-util/build/Makefile b/res/pjproject/pjlib-util/build/Makefile deleted file mode 100644 index 6c37979b78..0000000000 --- a/res/pjproject/pjlib-util/build/Makefile +++ /dev/null @@ -1,108 +0,0 @@ -# By default, the test application includes main.o. -# OS make file may override this with os-specific files -export UTIL_TEST_OBJS = main.o - -include ../../build.mak -include ../../version.mak -include $(PJDIR)/build/common.mak - -RULES_MAK := $(PJDIR)/build/rules.mak - -PJLIB_LIB:=$(PJDIR)/pjlib/lib/libpj-$(TARGET_NAME)$(LIBEXT) -export PJLIB_UTIL_LIB:=../lib/libpjlib-util-$(TARGET_NAME)$(LIBEXT) - -############################################################################### -# Gather all flags. -# -export _CFLAGS := $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \ - $(CFLAGS) $(CC_INC)../include $(CC_INC)../../pjlib/include -export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ - $(HOST_CXXFLAGS) $(CXXFLAGS) -export _LDFLAGS := $(subst /,$(HOST_PSEP),$(PJLIB_UTIL_LIB)) \ - $(subst /,$(HOST_PSEP),$(PJLIB_LIB)) \ - $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \ - $(LDFLAGS) - -############################################################################### -# Defines for building PJLIB-UTIL library -# -export PJLIB_UTIL_SRCDIR = ../src/pjlib-util -export PJLIB_UTIL_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ - base64.o crc32.o errno.o dns.o dns_dump.o dns_server.o \ - getopt.o hmac_md5.o hmac_sha1.o http_client.o md5.o pcap.o resolver.o \ - scanner.o sha1.o srv_resolver.o string.o stun_simple.o \ - stun_simple_client.o xml.o -export PJLIB_UTIL_CFLAGS += $(_CFLAGS) - -############################################################################### -# Defines for building test application -# -export UTIL_TEST_SRCDIR = ../src/pjlib-util-test -export UTIL_TEST_OBJS += xml.o encryption.o stun.o resolver_test.o test.o \ - http_client.o -export UTIL_TEST_CFLAGS += $(_CFLAGS) -export UTIL_TEST_LDFLAGS += $(_LDFLAGS) -export UTIL_TEST_EXE:=../bin/pjlib-util-test-$(TARGET_NAME)$(HOST_EXE) - - -export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT -############################################################################### -# Main entry -# -# $(TARGET) is defined in os-$(OS_NAME).mak file in current directory. -# -TARGETS := pjlib-util pjlib-util-test - -all: $(TARGETS) - -doc: - cd .. && rm -rf docs/$(PJ_VERSION) && doxygen docs/doxygen.cfg - @if [ -n "$(WWWDIR)" ] && ! [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjlib-util/docs/html" ] ; then \ - echo "Creating docs/$(PJ_VERSION)/pjlib-util/docs/html" ; \ - mkdir -p $(WWWDIR)/docs/$(PJ_VERSION)/pjlib-util/docs/html ; \ - fi - @if [ -n "$(WWWDIR)" ] && [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjlib-util/docs/html" ] ; then \ - echo "Copying docs/$(PJ_VERSION) to $(WWWDIR)/docs/$(PJ_VERSION)/pjlib-util/docs/html.." ; \ - cp -v -a ../docs/$(PJ_VERSION)/html/* $(WWWDIR)/docs/$(PJ_VERSION)/pjlib-util/docs/html/ ; \ - fi - -dep: depend -distclean: realclean - -.PHONY: dep depend clean realclean distclean -.PHONY: $(TARGETS) -.PHONY: $(PJLIB_UTIL_LIB) $(UTIL_TEST_EXE) - -pjlib-util: $(PJLIB_UTIL_LIB) -$(PJLIB_UTIL_LIB): - $(MAKE) -f $(RULES_MAK) APP=PJLIB_UTIL app=pjlib-util $(PJLIB_UTIL_LIB) - -pjlib-util-test: $(UTIL_TEST_EXE) -$(UTIL_TEST_EXE): $(PJLIB_UTIL_LIB) - $(MAKE) -f $(RULES_MAK) APP=UTIL_TEST app=pjlib-util-test $(UTIL_TEST_EXE) - -.PHONY: ../lib/pjlib-util.ko -../lib/pjlib-util.ko: - echo Making $@ - $(MAKE) -f $(RULES_MAK) APP=PJLIB_UTIL app=pjlib-util $@ - -.PHONY: ../lib/pjlib-util-test.ko -../lib/pjlib-util-test.ko: - $(MAKE) -f $(RULES_MAK) APP=UTIL_TEST app=pjlib-util-test $@ - -clean: - $(MAKE) -f $(RULES_MAK) APP=PJLIB_UTIL app=pjlib-util $@ - $(MAKE) -f $(RULES_MAK) APP=UTIL_TEST app=pjlib-util-test $@ - -realclean: - $(subst @@,$(subst /,$(HOST_PSEP),.pjlib-util-$(TARGET_NAME).depend),$(HOST_RMR)) - $(subst @@,$(subst /,$(HOST_PSEP),.pjlib-util-test-$(TARGET_NAME).depend),$(HOST_RMR)) - $(MAKE) -f $(RULES_MAK) APP=PJLIB_UTIL app=pjlib-util $@ - $(MAKE) -f $(RULES_MAK) APP=UTIL_TEST app=pjlib-util-test $@ - -depend: - $(MAKE) -f $(RULES_MAK) APP=PJLIB_UTIL app=pjlib-util $@ - $(MAKE) -f $(RULES_MAK) APP=UTIL_TEST app=pjlib-util-test $@ - echo '$(UTIL_TEST_EXE): $(PJLIB_UTIL_LIB) $(PJLIB_LIB)' >> .pjlib-util-test-$(TARGET_NAME).depend; \ - - diff --git a/res/pjproject/pjlib-util/build/os-auto.mak.in b/res/pjproject/pjlib-util/build/os-auto.mak.in deleted file mode 100644 index b416085bde..0000000000 --- a/res/pjproject/pjlib-util/build/os-auto.mak.in +++ /dev/null @@ -1,3 +0,0 @@ -# @configure_input@ -export UTIL_TEST_OBJS = @ac_main_obj@ - diff --git a/res/pjproject/pjlib-util/build/os-rtems.mak b/res/pjproject/pjlib-util/build/os-rtems.mak deleted file mode 100644 index 600d46771f..0000000000 --- a/res/pjproject/pjlib-util/build/os-rtems.mak +++ /dev/null @@ -1,2 +0,0 @@ -export UTIL_TEST_OBJS = main_rtems.o - diff --git a/res/pjproject/pjlib-util/build/pjlib_util.dsw b/res/pjproject/pjlib-util/build/pjlib_util.dsw deleted file mode 100644 index ebb412dfc7..0000000000 --- a/res/pjproject/pjlib-util/build/pjlib_util.dsw +++ /dev/null @@ -1,71 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "pjlib"="..\..\pjlib\build\pjlib.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjlib_test"="..\..\pjlib\build\pjlib_test.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjlib_util"=".\pjlib_util.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjlib_util_test"=".\pjlib_util_test.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name pjlib_util - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjlib - End Project Dependency -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/res/pjproject/pjlib-util/build/pjlib_util.vcproj b/res/pjproject/pjlib-util/build/pjlib_util.vcproj deleted file mode 100644 index ec17e4c7f1..0000000000 --- a/res/pjproject/pjlib-util/build/pjlib_util.vcproj +++ /dev/null @@ -1,4808 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjlib-util/build/pjlib_util_test.vcproj b/res/pjproject/pjlib-util/build/pjlib_util_test.vcproj deleted file mode 100644 index cdc07eb9dc..0000000000 --- a/res/pjproject/pjlib-util/build/pjlib_util_test.vcproj +++ /dev/null @@ -1,3375 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjlib-util/build/wince-evc4/pjlib_util_test_wince.vcp b/res/pjproject/pjlib-util/build/wince-evc4/pjlib_util_test_wince.vcp deleted file mode 100644 index 44d99cbee2..0000000000 --- a/res/pjproject/pjlib-util/build/wince-evc4/pjlib_util_test_wince.vcp +++ /dev/null @@ -1,10346 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="pjlib_util_test_wince" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE MIPSIV_FP) Application" 0x9201 -# TARGTYPE "Win32 (WCE x86) Application" 0x8301 -# TARGTYPE "Win32 (WCE ARMV4) Application" 0xa301 -# TARGTYPE "Win32 (WCE MIPS16) Application" 0x8901 -# TARGTYPE "Win32 (WCE SH3) Application" 0x8101 -# TARGTYPE "Win32 (WCE ARMV4I) Application" 0xa501 -# TARGTYPE "Win32 (WCE SH4) Application" 0x8601 -# TARGTYPE "Win32 (WCE MIPSII_FP) Application" 0xa201 -# TARGTYPE "Win32 (WCE emulator) Application" 0xa601 -# TARGTYPE "Win32 (WCE MIPSIV) Application" 0x9601 -# TARGTYPE "Win32 (WCE ARMV4T) Application" 0xa401 -# TARGTYPE "Win32 (WCE MIPSII) Application" 0xa101 - -CFG=pjlib_util_test_wince - Win32 (WCE MIPSII_FP) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "pjlib_util_test_wince.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "pjlib_util_test_wince.vcn" CFG="pjlib_util_test_wince - Win32 (WCE MIPSII_FP) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "pjlib_util_test_wince - Win32 (WCE MIPSII_FP) Release" (based on "Win32 (WCE MIPSII_FP) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE MIPSII_FP) Debug" (based on "Win32 (WCE MIPSII_FP) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE MIPSII) Release" (based on "Win32 (WCE MIPSII) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE MIPSII) Debug" (based on "Win32 (WCE MIPSII) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE SH4) Release" (based on "Win32 (WCE SH4) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE SH4) Debug" (based on "Win32 (WCE SH4) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE SH3) Release" (based on "Win32 (WCE SH3) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE SH3) Debug" (based on "Win32 (WCE SH3) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE MIPSIV) Release" (based on "Win32 (WCE MIPSIV) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE MIPSIV) Debug" (based on "Win32 (WCE MIPSIV) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE MIPSIV_FP) Release" (based on "Win32 (WCE MIPSIV_FP) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE MIPSIV_FP) Debug" (based on "Win32 (WCE MIPSIV_FP) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE MIPS16) Release" (based on "Win32 (WCE MIPS16) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE MIPS16) Debug" (based on "Win32 (WCE MIPS16) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Application") -!MESSAGE "pjlib_util_test_wince - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "MIPSII_FPRel" -# PROP BASE Intermediate_Dir "MIPSII_FPRel" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_util_test_MIPSII_FPRel" -# PROP Intermediate_Dir "./output/pjlib_util_test_MIPSII_FPRel" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "MIPSII_FPDbg" -# PROP BASE Intermediate_Dir "MIPSII_FPDbg" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_util_test_MIPSII_FPDbg" -# PROP Intermediate_Dir "./output/pjlib_util_test_MIPSII_FPDbg" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "MIPSIIRel" -# PROP BASE Intermediate_Dir "MIPSIIRel" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_util_test_MIPSIIRel" -# PROP Intermediate_Dir "./output/pjlib_util_test_MIPSIIRel" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "MIPSIIDbg" -# PROP BASE Intermediate_Dir "MIPSIIDbg" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_util_test_MIPSIIDbg" -# PROP Intermediate_Dir "./output/pjlib_util_test_MIPSIIDbg" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "SH4Rel" -# PROP BASE Intermediate_Dir "SH4Rel" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_util_test_SH4Rel" -# PROP Intermediate_Dir "./output/pjlib_util_test_SH4Rel" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Qsh4 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Qsh4 /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "SH4Dbg" -# PROP BASE Intermediate_Dir "SH4Dbg" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_util_test_SH4Dbg" -# PROP Intermediate_Dir "./output/pjlib_util_test_SH4Dbg" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /Qsh4 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /D "DEBUG" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /Qsh4 /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH3) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "SH3Rel" -# PROP BASE Intermediate_Dir "SH3Rel" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_util_test_SH3Rel" -# PROP Intermediate_Dir "./output/pjlib_util_test_SH3Rel" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH3) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "SH3Dbg" -# PROP BASE Intermediate_Dir "SH3Dbg" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_util_test_SH3Dbg" -# PROP Intermediate_Dir "./output/pjlib_util_test_SH3Dbg" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "MIPSIVRel" -# PROP BASE Intermediate_Dir "MIPSIVRel" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_util_test_MIPSIVRel" -# PROP Intermediate_Dir "./output/pjlib_util_test_MIPSIVRel" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "MIPSIVDbg" -# PROP BASE Intermediate_Dir "MIPSIVDbg" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_util_test_MIPSIVDbg" -# PROP Intermediate_Dir "./output/pjlib_util_test_MIPSIVDbg" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "emulatorRel" -# PROP BASE Intermediate_Dir "emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_util_test_emulatorRel" -# PROP Intermediate_Dir "./output/pjlib_util_test_emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "emulatorDbg" -# PROP BASE Intermediate_Dir "emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_util_test_emulatorDbg" -# PROP Intermediate_Dir "./output/pjlib_util_test_emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "ARMV4IRel" -# PROP BASE Intermediate_Dir "ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_util_test_ARMV4IRel" -# PROP Intermediate_Dir "./output/pjlib_util_test_ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "ARMV4IDbg" -# PROP BASE Intermediate_Dir "ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_util_test_ARMV4IDbg" -# PROP Intermediate_Dir "./output/pjlib_util_test_ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "MIPSIV_FPRel" -# PROP BASE Intermediate_Dir "MIPSIV_FPRel" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_util_test_MIPSIV_FPRel" -# PROP Intermediate_Dir "./output/pjlib_util_test_MIPSIV_FPRel" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "MIPSIV_FPDbg" -# PROP BASE Intermediate_Dir "MIPSIV_FPDbg" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_util_test_MIPSIV_FPDbg" -# PROP Intermediate_Dir "./output/pjlib_util_test_MIPSIV_FPDbg" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "ARMV4Rel" -# PROP BASE Intermediate_Dir "ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_util_test_ARMV4Rel" -# PROP Intermediate_Dir "./output/pjlib_util_test_ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "ARMV4Dbg" -# PROP BASE Intermediate_Dir "ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_util_test_ARMV4Dbg" -# PROP Intermediate_Dir "./output/pjlib_util_test_ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPS16) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "MIPS16Rel" -# PROP BASE Intermediate_Dir "MIPS16Rel" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_util_test_MIPS16Rel" -# PROP Intermediate_Dir "./output/pjlib_util_test_MIPS16Rel" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /YX /QMmips16 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /YX /QMmips16 /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPS16) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "MIPS16Dbg" -# PROP BASE Intermediate_Dir "MIPS16Dbg" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_util_test_MIPS16Dbg" -# PROP Intermediate_Dir "./output/pjlib_util_test_MIPS16Dbg" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /YX /QMmips16 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /YX /QMmips16 /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "ARMV4TRel" -# PROP BASE Intermediate_Dir "ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_util_test_ARMV4TRel" -# PROP Intermediate_Dir "./output/pjlib_util_test_ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "ARMV4TDbg" -# PROP BASE Intermediate_Dir "ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_util_test_ARMV4TDbg" -# PROP Intermediate_Dir "./output/pjlib_util_test_ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /D "DEBUG" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "X86Rel" -# PROP BASE Intermediate_Dir "X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_util_test_X86Rel" -# PROP Intermediate_Dir "./output/pjlib_util_test_X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 winsock.lib ws2.lib $(CEx86Corelibc) commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "X86Dbg" -# PROP BASE Intermediate_Dir "X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_util_test_X86Dbg" -# PROP Intermediate_Dir "./output/pjlib_util_test_X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 winsock.lib ws2.lib $(CEx86Corelibc) commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ENDIF - -# Begin Target - -# Name "pjlib_util_test_wince - Win32 (WCE MIPSII_FP) Release" -# Name "pjlib_util_test_wince - Win32 (WCE MIPSII_FP) Debug" -# Name "pjlib_util_test_wince - Win32 (WCE MIPSII) Release" -# Name "pjlib_util_test_wince - Win32 (WCE MIPSII) Debug" -# Name "pjlib_util_test_wince - Win32 (WCE SH4) Release" -# Name "pjlib_util_test_wince - Win32 (WCE SH4) Debug" -# Name "pjlib_util_test_wince - Win32 (WCE SH3) Release" -# Name "pjlib_util_test_wince - Win32 (WCE SH3) Debug" -# Name "pjlib_util_test_wince - Win32 (WCE MIPSIV) Release" -# Name "pjlib_util_test_wince - Win32 (WCE MIPSIV) Debug" -# Name "pjlib_util_test_wince - Win32 (WCE emulator) Release" -# Name "pjlib_util_test_wince - Win32 (WCE emulator) Debug" -# Name "pjlib_util_test_wince - Win32 (WCE ARMV4I) Release" -# Name "pjlib_util_test_wince - Win32 (WCE ARMV4I) Debug" -# Name "pjlib_util_test_wince - Win32 (WCE MIPSIV_FP) Release" -# Name "pjlib_util_test_wince - Win32 (WCE MIPSIV_FP) Debug" -# Name "pjlib_util_test_wince - Win32 (WCE ARMV4) Release" -# Name "pjlib_util_test_wince - Win32 (WCE ARMV4) Debug" -# Name "pjlib_util_test_wince - Win32 (WCE MIPS16) Release" -# Name "pjlib_util_test_wince - Win32 (WCE MIPS16) Debug" -# Name "pjlib_util_test_wince - Win32 (WCE ARMV4T) Release" -# Name "pjlib_util_test_wince - Win32 (WCE ARMV4T) Debug" -# Name "pjlib_util_test_wince - Win32 (WCE x86) Release" -# Name "pjlib_util_test_wince - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE="..\..\src\pjlib-util-test\encryption.c" - -!IF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ENCRY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util-test\main_win32.c" - -!IF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util-test\resolver_test.c" - -!IF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util-test\stun.c" - -!IF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII_FP) Release" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII_FP) Debug" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII) Release" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII) Debug" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH4) Release" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH4) Debug" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH3) Release" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH3) Debug" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV) Release" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV) Debug" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE emulator) Release" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE emulator) Debug" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4I) Release" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4I) Debug" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV_FP) Release" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4) Release" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4) Debug" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPS16) Release" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPS16) Debug" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4T) Release" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4T) Debug" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE x86) Release" - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE x86) Debug" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util-test\test.c" - -!IF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\getopt.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\md5.h"\ - "..\..\include\pjlib-util\pcap.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\sha1.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util-test\xml.c" - -!IF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\xml.h"\ - "..\..\src\pjlib-util-test\test.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE="..\..\src\pjlib-util-test\test.h" -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/res/pjproject/pjlib-util/build/wince-evc4/pjlib_util_wince.vcp b/res/pjproject/pjlib-util/build/wince-evc4/pjlib_util_wince.vcp deleted file mode 100644 index 45e4ec308b..0000000000 --- a/res/pjproject/pjlib-util/build/wince-evc4/pjlib_util_wince.vcp +++ /dev/null @@ -1,10710 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="pjlib_util_wince" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE x86) Static Library" 0x8304 -# TARGTYPE "Win32 (WCE ARMV4) Static Library" 0xa304 -# TARGTYPE "Win32 (WCE ARMV4I) Static Library" 0xa504 -# TARGTYPE "Win32 (WCE emulator) Static Library" 0xa604 -# TARGTYPE "Win32 (WCE ARMV4T) Static Library" 0xa404 - -CFG=PJLIB_UTIL_WINCE - WIN32 (WCE EMULATOR) DEBUG -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "pjlib_util_wince.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "pjlib_util_wince.vcn" CFG="PJLIB_UTIL_WINCE - WIN32 (WCE EMULATOR) DEBUG" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "pjlib_util_wince - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "pjlib_util_wince - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "pjlib_util_wince - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "pjlib_util_wince - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "pjlib_util_wince - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "pjlib_util_wince - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "pjlib_util_wince - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Static Library") -!MESSAGE "pjlib_util_wince - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib-util-emulatorRel" -# PROP BASE Intermediate_Dir "./output/pjlib-util-emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib-util-emulatorRel" -# PROP Intermediate_Dir "./output/pjlib-util-emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /D "NDEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib-util-emulatorDbg" -# PROP BASE Intermediate_Dir "./output/pjlib-util-emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib-util-emulatorDbg" -# PROP Intermediate_Dir "./output/pjlib-util-emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib-util-ARMV4IRel" -# PROP BASE Intermediate_Dir "./output/pjlib-util-ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib-util-ARMV4IRel" -# PROP Intermediate_Dir "./output/pjlib-util-ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /D "ARMV4I" /D "NDEBUG" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib-util-ARMV4IDbg" -# PROP BASE Intermediate_Dir "./output/pjlib-util-ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib-util-ARMV4IDbg" -# PROP Intermediate_Dir "./output/pjlib-util-ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /D "DEBUG" /D "ARMV4I" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib-util-ARMV4Rel" -# PROP BASE Intermediate_Dir "./output/pjlib-util-ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib-util-ARMV4Rel" -# PROP Intermediate_Dir "./output/pjlib-util-ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /D "NDEBUG" /D "ARMV4" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib-util-ARMV4Dbg" -# PROP BASE Intermediate_Dir "./output/pjlib-util-ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib-util-ARMV4Dbg" -# PROP Intermediate_Dir "./output/pjlib-util-ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /D "DEBUG" /D "ARMV4" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib-util-ARMV4TRel" -# PROP BASE Intermediate_Dir "./output/pjlib-util-ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib-util-ARMV4TRel" -# PROP Intermediate_Dir "./output/pjlib-util-ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "NDEBUG" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib-util-ARMV4TDbg" -# PROP BASE Intermediate_Dir "./output/pjlib-util-ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib-util-ARMV4TDbg" -# PROP Intermediate_Dir "./output/pjlib-util-ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /D "DEBUG" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib-util-X86Rel" -# PROP BASE Intermediate_Dir "./output/pjlib-util-X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib-util-X86Rel" -# PROP Intermediate_Dir "./output/pjlib-util-X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /D "NDEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib-util-X86Dbg" -# PROP BASE Intermediate_Dir "./output/pjlib-util-X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib-util-X86Dbg" -# PROP Intermediate_Dir "./output/pjlib-util-X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ENDIF - -# Begin Target - -# Name "pjlib_util_wince - Win32 (WCE emulator) Release" -# Name "pjlib_util_wince - Win32 (WCE emulator) Debug" -# Name "pjlib_util_wince - Win32 (WCE ARMV4I) Release" -# Name "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" -# Name "pjlib_util_wince - Win32 (WCE ARMV4) Release" -# Name "pjlib_util_wince - Win32 (WCE ARMV4) Debug" -# Name "pjlib_util_wince - Win32 (WCE ARMV4T) Release" -# Name "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" -# Name "pjlib_util_wince - Win32 (WCE x86) Release" -# Name "pjlib_util_wince - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE="..\..\src\pjlib-util\base64.c" - -!IF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Release" - -DEP_CPP_BASE6=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_BASE6=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_BASE6=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_BASE6=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_BASE6=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_BASE6=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_BASE6=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_BASE6=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_BASE6=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_BASE6=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_BASE6=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_BASE6=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_BASE6=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_BASE6=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_BASE6=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Release" - -DEP_CPP_BASE6=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_BASE6=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Debug" - -DEP_CPP_BASE6=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\base64.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_BASE6=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util\crc32.c" - -!IF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Release" - -DEP_CPP_CRC32=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\crc32.h"\ - -NODEP_CPP_CRC32=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_CRC32=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_CRC32=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_CRC32=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\crc32.h"\ - -NODEP_CPP_CRC32=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_CRC32=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\crc32.h"\ - -NODEP_CPP_CRC32=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_CRC32=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\crc32.h"\ - "..\..\include\pjlib-util\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_CRC32=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\crc32.h"\ - -NODEP_CPP_CRC32=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_CRC32=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\crc32.h"\ - -NODEP_CPP_CRC32=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_CRC32=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\crc32.h"\ - -NODEP_CPP_CRC32=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Release" - -DEP_CPP_CRC32=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\crc32.h"\ - -NODEP_CPP_CRC32=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Debug" - -DEP_CPP_CRC32=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\crc32.h"\ - -NODEP_CPP_CRC32=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util\dns.c" - -!IF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Release" - -DEP_CPP_DNS_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_DNS_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_DNS_C=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_DNS_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_DNS_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_DNS_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_DNS_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_DNS_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_DNS_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Release" - -DEP_CPP_DNS_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Debug" - -DEP_CPP_DNS_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util\dns_dump.c" - -!IF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Release" - -DEP_CPP_DNS_D=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\dns.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_DNS_D=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_DNS_D=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_DNS_D=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\dns.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_DNS_D=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\dns.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_DNS_D=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_DNS_D=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\dns.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_DNS_D=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\dns.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_DNS_D=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\dns.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Release" - -DEP_CPP_DNS_D=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\dns.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Debug" - -DEP_CPP_DNS_D=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\dns.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util\dns_server.c" - -!IF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Release" - -DEP_CPP_DNS_S=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_DNS_S=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_DNS_S=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_DNS_S=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_DNS_S=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_DNS_S=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_DNS_S=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_DNS_S=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Release" - -DEP_CPP_DNS_S=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Debug" - -DEP_CPP_DNS_S=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\dns_server.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util\errno.c" - -!IF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\errno.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\errno.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\errno.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\errno.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\errno.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\errno.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\errno.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\errno.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util\getopt.c" - -!IF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Release" - -DEP_CPP_GETOP=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\getopt.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_GETOP=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\getopt.h"\ - -NODEP_CPP_GETOP=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_GETOP=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\getopt.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_GETOP=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\getopt.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_GETOP=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\getopt.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_GETOP=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\getopt.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_GETOP=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\getopt.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_GETOP=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\getopt.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Release" - -DEP_CPP_GETOP=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\getopt.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Debug" - -DEP_CPP_GETOP=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\getopt.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util\hmac_md5.c" - -!IF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Release" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\md5.h"\ - -NODEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\md5.h"\ - -NODEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\md5.h"\ - -NODEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\md5.h"\ - -NODEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\hmac_md5.h"\ - "..\..\include\pjlib-util\md5.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\md5.h"\ - -NODEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\md5.h"\ - -NODEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\md5.h"\ - -NODEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Release" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\md5.h"\ - -NODEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Debug" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\md5.h"\ - -NODEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util\hmac_sha1.c" - -!IF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Release" - -DEP_CPP_HMAC_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\sha1.h"\ - -NODEP_CPP_HMAC_S=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_HMAC_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\sha1.h"\ - -NODEP_CPP_HMAC_S=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_HMAC_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\sha1.h"\ - -NODEP_CPP_HMAC_S=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_HMAC_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\sha1.h"\ - -NODEP_CPP_HMAC_S=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_HMAC_S=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\sha1.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_HMAC_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\sha1.h"\ - -NODEP_CPP_HMAC_S=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_HMAC_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\sha1.h"\ - -NODEP_CPP_HMAC_S=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_HMAC_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\sha1.h"\ - -NODEP_CPP_HMAC_S=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Release" - -DEP_CPP_HMAC_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\sha1.h"\ - -NODEP_CPP_HMAC_S=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Debug" - -DEP_CPP_HMAC_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\hmac_sha1.h"\ - "..\..\include\pjlib-util\sha1.h"\ - -NODEP_CPP_HMAC_S=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util\md5.c" - -!IF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Release" - -DEP_CPP_MD5_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\md5.h"\ - -NODEP_CPP_MD5_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_MD5_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\md5.h"\ - -NODEP_CPP_MD5_C=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_MD5_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\md5.h"\ - -NODEP_CPP_MD5_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_MD5_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\md5.h"\ - -NODEP_CPP_MD5_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_MD5_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\md5.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_MD5_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\md5.h"\ - -NODEP_CPP_MD5_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_MD5_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\md5.h"\ - -NODEP_CPP_MD5_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_MD5_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\md5.h"\ - -NODEP_CPP_MD5_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Release" - -DEP_CPP_MD5_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\md5.h"\ - -NODEP_CPP_MD5_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Debug" - -DEP_CPP_MD5_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\md5.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util\pcap.c" - -!IF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Release" - -DEP_CPP_PCAP_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\pcap.h"\ - -NODEP_CPP_PCAP_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_PCAP_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\pcap.h"\ - -NODEP_CPP_PCAP_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PCAP_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\pcap.h"\ - -NODEP_CPP_PCAP_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PCAP_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\pcap.h"\ - -NODEP_CPP_PCAP_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_PCAP_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\pcap.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PCAP_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\pcap.h"\ - -NODEP_CPP_PCAP_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PCAP_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\pcap.h"\ - -NODEP_CPP_PCAP_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PCAP_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\pcap.h"\ - -NODEP_CPP_PCAP_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Release" - -DEP_CPP_PCAP_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\pcap.h"\ - -NODEP_CPP_PCAP_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Debug" - -DEP_CPP_PCAP_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\pcap.h"\ - -NODEP_CPP_PCAP_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util\resolver.c" - -!IF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Release" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\resolver.h"\ - -NODEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\resolver.h"\ - -NODEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\resolver.h"\ - -NODEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\resolver.h"\ - -NODEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\resolver.h"\ - -NODEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\resolver.h"\ - -NODEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Release" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\resolver.h"\ - -NODEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Debug" - -DEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\resolver.h"\ - -NODEP_CPP_RESOL=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util\scanner.c" - -!IF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SCANN=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\src\pjlib-util\scanner_cis_bitwise.c"\ - "..\..\src\pjlib-util\scanner_cis_uint.c"\ - -NODEP_CPP_SCANN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SCANN=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\src\pjlib-util\scanner_cis_bitwise.c"\ - "..\..\src\pjlib-util\scanner_cis_uint.c"\ - -NODEP_CPP_SCANN=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SCANN=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\src\pjlib-util\scanner_cis_bitwise.c"\ - "..\..\src\pjlib-util\scanner_cis_uint.c"\ - -NODEP_CPP_SCANN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SCANN=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\src\pjlib-util\scanner_cis_bitwise.c"\ - "..\..\src\pjlib-util\scanner_cis_uint.c"\ - -NODEP_CPP_SCANN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SCANN=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\src\pjlib-util\scanner_cis_bitwise.c"\ - "..\..\src\pjlib-util\scanner_cis_uint.c"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SCANN=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\src\pjlib-util\scanner_cis_bitwise.c"\ - "..\..\src\pjlib-util\scanner_cis_uint.c"\ - -NODEP_CPP_SCANN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SCANN=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\src\pjlib-util\scanner_cis_bitwise.c"\ - "..\..\src\pjlib-util\scanner_cis_uint.c"\ - -NODEP_CPP_SCANN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SCANN=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\src\pjlib-util\scanner_cis_bitwise.c"\ - "..\..\src\pjlib-util\scanner_cis_uint.c"\ - -NODEP_CPP_SCANN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Release" - -DEP_CPP_SCANN=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\src\pjlib-util\scanner_cis_bitwise.c"\ - "..\..\src\pjlib-util\scanner_cis_uint.c"\ - -NODEP_CPP_SCANN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SCANN=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\src\pjlib-util\scanner_cis_bitwise.c"\ - "..\..\src\pjlib-util\scanner_cis_uint.c"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util\sha1.c" - -!IF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\sha1.h"\ - -NODEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\src\pjlib-util\config.h"\ - "..\..\src\pjlib-util\os_types.h"\ - "..\..\src\pjlib-util\sha1.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\sha1.h"\ - -NODEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\src\pjlib-util\config.h"\ - "..\..\src\pjlib-util\os_types.h"\ - "..\..\src\pjlib-util\sha1.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\sha1.h"\ - -NODEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\src\pjlib-util\config.h"\ - "..\..\src\pjlib-util\os_types.h"\ - "..\..\src\pjlib-util\sha1.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\sha1.h"\ - -NODEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\src\pjlib-util\config.h"\ - "..\..\src\pjlib-util\os_types.h"\ - "..\..\src\pjlib-util\sha1.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\sha1.h"\ - -NODEP_CPP_SHA1_=\ - "..\..\src\pjlib-util\config.h"\ - "..\..\src\pjlib-util\os_types.h"\ - "..\..\src\pjlib-util\sha1.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\sha1.h"\ - -NODEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\src\pjlib-util\config.h"\ - "..\..\src\pjlib-util\os_types.h"\ - "..\..\src\pjlib-util\sha1.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\sha1.h"\ - -NODEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\src\pjlib-util\config.h"\ - "..\..\src\pjlib-util\os_types.h"\ - "..\..\src\pjlib-util\sha1.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\sha1.h"\ - -NODEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\src\pjlib-util\config.h"\ - "..\..\src\pjlib-util\os_types.h"\ - "..\..\src\pjlib-util\sha1.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Release" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\sha1.h"\ - -NODEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\src\pjlib-util\config.h"\ - "..\..\src\pjlib-util\os_types.h"\ - "..\..\src\pjlib-util\sha1.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\sha1.h"\ - -NODEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\src\pjlib-util\config.h"\ - "..\..\src\pjlib-util\os_types.h"\ - "..\..\src\pjlib-util\sha1.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util\srv_resolver.c" - -!IF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SRV_R=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_SRV_R=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SRV_R=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_SRV_R=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SRV_R=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_SRV_R=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SRV_R=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_SRV_R=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SRV_R=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SRV_R=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_SRV_R=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SRV_R=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_SRV_R=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SRV_R=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_SRV_R=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Release" - -DEP_CPP_SRV_R=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_SRV_R=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SRV_R=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\dns.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\resolver.h"\ - "..\..\include\pjlib-util\srv_resolver.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_SRV_R=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util\string.c" - -!IF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Release" - -DEP_CPP_STRIN=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\string.h"\ - -NODEP_CPP_STRIN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_STRIN=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\string.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_STRIN=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_STRIN=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\string.h"\ - -NODEP_CPP_STRIN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_STRIN=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\string.h"\ - -NODEP_CPP_STRIN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_STRIN=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\string.h"\ - "..\..\include\pjlib-util\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_STRIN=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\string.h"\ - -NODEP_CPP_STRIN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_STRIN=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\string.h"\ - -NODEP_CPP_STRIN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_STRIN=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\string.h"\ - -NODEP_CPP_STRIN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Release" - -DEP_CPP_STRIN=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\string.h"\ - -NODEP_CPP_STRIN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Debug" - -DEP_CPP_STRIN=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\string.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util\stun_simple.c" - -!IF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_STUN_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_STUN_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_STUN_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_STUN_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_STUN_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_STUN_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_STUN_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_STUN_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_STUN_=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util\stun_simple_client.c" - -!IF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\errno.h"\ - "..\..\include\pjlib-util\stun_simple.h"\ - "..\..\include\pjlib-util\types.h"\ - -NODEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-util\xml.c" - -!IF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Release" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\xml.h"\ - -NODEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - -NODEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\xml.h"\ - -NODEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\xml.h"\ - -NODEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjlib-util\config.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\types.h"\ - "..\..\include\pjlib-util\xml.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\xml.h"\ - -NODEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\xml.h"\ - -NODEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\xml.h"\ - -NODEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Release" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\xml.h"\ - -NODEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_util_wince - Win32 (WCE x86) Debug" - -DEP_CPP_XML_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjlib-util\scanner.h"\ - "..\..\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\include\pjlib-util\xml.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE="..\..\include\pjlib-util\base64.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util\config.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util\crc32.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util\dns.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util\dns_server.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util\errno.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util\getopt.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util\hmac_md5.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util\hmac_sha1.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util\md5.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util\pcap.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util\resolver.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util\scanner.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util\scanner_cis_bitwise.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util\scanner_cis_uint.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util\sha1.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util\srv_resolver.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util\string.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util\stun_simple.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util\types.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjlib-util\xml.h" -# End Source File -# End Group -# End Target -# End Project diff --git a/res/pjproject/pjlib-util/build/wince-evc4/pjlib_util_wince.vcw b/res/pjproject/pjlib-util/build/wince-evc4/pjlib_util_wince.vcw deleted file mode 100644 index cc48ec707c..0000000000 --- a/res/pjproject/pjlib-util/build/wince-evc4/pjlib_util_wince.vcw +++ /dev/null @@ -1,59 +0,0 @@ -Microsoft eMbedded Visual Tools Workspace File, Format Version 4.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "pjlib_util_test_wince"=".\pjlib_util_test_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name pjlib_util_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjlib_wince - End Project Dependency -}}} - -############################################################################### - -Project: "pjlib_util_wince"=".\pjlib_util_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjlib_wince"="..\..\..\pjlib\build\wince-evc4\pjlib_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/res/pjproject/pjlib-util/docs/doxygen.cfg b/res/pjproject/pjlib-util/docs/doxygen.cfg deleted file mode 100644 index 509c784fbb..0000000000 --- a/res/pjproject/pjlib-util/docs/doxygen.cfg +++ /dev/null @@ -1,1053 +0,0 @@ -# Doxyfile 1.3-rc3 - -# This file describes the settings to be used by the documentation system -# doxygen (www.doxygen.org) for a project -# -# All text after a hash (#) is considered a comment and will be ignored -# The format is: -# TAG = value [value, ...] -# For lists items can also be appended using: -# TAG += value [value, ...] -# Values that contain spaces should be placed between quotes (" ") - -#--------------------------------------------------------------------------- -# General configuration options -#--------------------------------------------------------------------------- - -# The PROJECT_NAME tag is a single word (or a sequence of words surrounded -# by quotes) that should identify the project. - -PROJECT_NAME = "PJLIB-UTIL Reference" - -# The PROJECT_NUMBER tag can be used to enter a project or revision number. -# This could be handy for archiving the generated documentation or -# if some version control system is used. - -PROJECT_NUMBER = $(PJ_VERSION) - -# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) -# base path where the generated documentation will be put. -# If a relative path is entered, it will be relative to the location -# where doxygen was started. If left blank the current directory will be used. - -OUTPUT_DIRECTORY = docs/$(PJ_VERSION) - -# The OUTPUT_LANGUAGE tag is used to specify the language in which all -# documentation generated by doxygen is written. Doxygen will use this -# information to generate all constant output in the proper language. -# The default language is English, other supported languages are: -# Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, Dutch, -# Finnish, French, German, Greek, Hungarian, Italian, Japanese, Japanese-en -# (Japanese with english messages), Korean, Norwegian, Polish, Portuguese, -# Romanian, Russian, Serbian, Slovak, Slovene, Spanish, Swedish and Ukrainian. - -OUTPUT_LANGUAGE = English - -# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in -# documentation are documented, even if no documentation was available. -# Private class members and static file members will be hidden unless -# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES - -EXTRACT_ALL = NO - -# If the EXTRACT_PRIVATE tag is set to YES all private members of a class -# will be included in the documentation. - -EXTRACT_PRIVATE = NO - -# If the EXTRACT_STATIC tag is set to YES all static members of a file -# will be included in the documentation. - -EXTRACT_STATIC = NO - -# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) -# defined locally in source files will be included in the documentation. -# If set to NO only classes defined in header files are included. - -EXTRACT_LOCAL_CLASSES = YES - -# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all -# undocumented members of documented classes, files or namespaces. -# If set to NO (the default) these members will be included in the -# various overviews, but no documentation section is generated. -# This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_MEMBERS = NO - -# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all -# undocumented classes that are normally visible in the class hierarchy. -# If set to NO (the default) these class will be included in the various -# overviews. This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_CLASSES = NO - -# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all -# friend (class|struct|union) declarations. -# If set to NO (the default) these declarations will be included in the -# documentation. - -HIDE_FRIEND_COMPOUNDS = NO - -# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any -# documentation blocks found inside the body of a function. -# If set to NO (the default) these blocks will be appended to the -# function's detailed documentation block. - -HIDE_IN_BODY_DOCS = NO - -# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will -# include brief member descriptions after the members that are listed in -# the file and class documentation (similar to JavaDoc). -# Set to NO to disable this. - -BRIEF_MEMBER_DESC = YES - -# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend -# the brief description of a member or function before the detailed description. -# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the -# brief descriptions will be completely suppressed. - -REPEAT_BRIEF = YES - -# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then -# Doxygen will generate a detailed section even if there is only a brief -# description. - -ALWAYS_DETAILED_SEC = NO - -# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited -# members of a class in the documentation of that class as if those members were -# ordinary class members. Constructors, destructors and assignment operators of -# the base classes will not be shown. - -INLINE_INHERITED_MEMB = NO - -# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full -# path before files name in the file list and in the header files. If set -# to NO the shortest path that makes the file name unique will be used. - -FULL_PATH_NAMES = NO - -# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag -# can be used to strip a user defined part of the path. Stripping is -# only done if one of the specified strings matches the left-hand part of -# the path. It is allowed to use relative paths in the argument list. - -STRIP_FROM_PATH = "c:\project\pjproject" - -# The INTERNAL_DOCS tag determines if documentation -# that is typed after a \internal command is included. If the tag is set -# to NO (the default) then the documentation will be excluded. -# Set it to YES to include the internal documentation. - -INTERNAL_DOCS = NO - -# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate -# file names in lower case letters. If set to YES upper case letters are also -# allowed. This is useful if you have classes or files whose names only differ -# in case and if your file system supports case sensitive file names. Windows -# users are adviced to set this option to NO. - -CASE_SENSE_NAMES = YES - -# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter -# (but less readable) file names. This can be useful is your file systems -# doesn't support long names like on DOS, Mac, or CD-ROM. - -SHORT_NAMES = NO - -# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen -# will show members with their full class and namespace scopes in the -# documentation. If set to YES the scope will be hidden. - -HIDE_SCOPE_NAMES = NO - -# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen -# will generate a verbatim copy of the header file for each class for -# which an include is specified. Set to NO to disable this. - -VERBATIM_HEADERS = YES - -# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen -# will put list of the files that are included by a file in the documentation -# of that file. - -SHOW_INCLUDE_FILES = NO - -# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen -# will interpret the first line (until the first dot) of a JavaDoc-style -# comment as the brief description. If set to NO, the JavaDoc -# comments will behave just like the Qt-style comments (thus requiring an -# explict @brief command for a brief description. - -JAVADOC_AUTOBRIEF = NO - -# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen -# treat a multi-line C++ special comment block (i.e. a block of //! or /// -# comments) as a brief description. This used to be the default behaviour. -# The new default is to treat a multi-line C++ comment block as a detailed -# description. Set this tag to YES if you prefer the old behaviour instead. - -MULTILINE_CPP_IS_BRIEF = NO - -# If the DETAILS_AT_TOP tag is set to YES then Doxygen -# will output the detailed description near the top, like JavaDoc. -# If set to NO, the detailed description appears after the member -# documentation. - -DETAILS_AT_TOP = YES - -# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented -# member inherits the documentation from any documented member that it -# reimplements. - -INHERIT_DOCS = YES - -# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] -# is inserted in the documentation for inline members. - -INLINE_INFO = YES - -# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen -# will sort the (detailed) documentation of file and class members -# alphabetically by member name. If set to NO the members will appear in -# declaration order. - -SORT_MEMBER_DOCS = YES - -# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC -# tag is set to YES, then doxygen will reuse the documentation of the first -# member in the group (if any) for the other members of the group. By default -# all members of a group must be documented explicitly. - -DISTRIBUTE_GROUP_DOC = NO - -# The TAB_SIZE tag can be used to set the number of spaces in a tab. -# Doxygen uses this value to replace tabs by spaces in code fragments. - -TAB_SIZE = 8 - -# The GENERATE_TODOLIST tag can be used to enable (YES) or -# disable (NO) the todo list. This list is created by putting \todo -# commands in the documentation. - -GENERATE_TODOLIST = YES - -# The GENERATE_TESTLIST tag can be used to enable (YES) or -# disable (NO) the test list. This list is created by putting \test -# commands in the documentation. - -GENERATE_TESTLIST = YES - -# The GENERATE_BUGLIST tag can be used to enable (YES) or -# disable (NO) the bug list. This list is created by putting \bug -# commands in the documentation. - -GENERATE_BUGLIST = YES - -# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or -# disable (NO) the deprecated list. This list is created by putting -# \deprecated commands in the documentation. - -GENERATE_DEPRECATEDLIST= YES - -# This tag can be used to specify a number of aliases that acts -# as commands in the documentation. An alias has the form "name=value". -# For example adding "sideeffect=\par Side Effects:\n" will allow you to -# put the command \sideeffect (or @sideeffect) in the documentation, which -# will result in a user defined paragraph with heading "Side Effects:". -# You can put \n's in the value part of an alias to insert newlines. - -ALIASES = - -# The ENABLED_SECTIONS tag can be used to enable conditional -# documentation sections, marked by \if sectionname ... \endif. - -ENABLED_SECTIONS = - -# The MAX_INITIALIZER_LINES tag determines the maximum number of lines -# the initial value of a variable or define consist of for it to appear in -# the documentation. If the initializer consists of more lines than specified -# here it will be hidden. Use a value of 0 to hide initializers completely. -# The appearance of the initializer of individual variables and defines in the -# documentation can be controlled using \showinitializer or \hideinitializer -# command in the documentation regardless of this setting. - -MAX_INITIALIZER_LINES = 30 - -# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources -# only. Doxygen will then generate output that is more tailored for C. -# For instance some of the names that are used will be different. The list -# of all members will be omitted, etc. - -OPTIMIZE_OUTPUT_FOR_C = YES - -# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources -# only. Doxygen will then generate output that is more tailored for Java. -# For instance namespaces will be presented as packages, qualified scopes -# will look different, etc. - -OPTIMIZE_OUTPUT_JAVA = NO - -# Set the SHOW_USED_FILES tag to NO to disable the list of files generated -# at the bottom of the documentation of classes and structs. If set to YES the -# list will mention the files that were used to generate the documentation. - -SHOW_USED_FILES = YES -TYPEDEF_HIDES_STRUCT = YES - -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- - -# The QUIET tag can be used to turn on/off the messages that are generated -# by doxygen. Possible values are YES and NO. If left blank NO is used. - -QUIET = NO - -# The WARNINGS tag can be used to turn on/off the warning messages that are -# generated by doxygen. Possible values are YES and NO. If left blank -# NO is used. - -WARNINGS = YES - -# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings -# for undocumented members. If EXTRACT_ALL is set to YES then this flag will -# automatically be disabled. - -WARN_IF_UNDOCUMENTED = YES - -# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for -# potential errors in the documentation, such as not documenting some -# parameters in a documented function, or documenting parameters that -# don't exist or using markup commands wrongly. - -WARN_IF_DOC_ERROR = YES - -# The WARN_FORMAT tag determines the format of the warning messages that -# doxygen can produce. The string should contain the $file, $line, and $text -# tags, which will be replaced by the file and line number from which the -# warning originated and the warning text. - -WARN_FORMAT = "$file:$line: $text" - -# The WARN_LOGFILE tag can be used to specify a file to which warning -# and error messages should be written. If left blank the output is written -# to stderr. - -WARN_LOGFILE = - -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- - -# The INPUT tag can be used to specify the files and/or directories that contain -# documented source files. You may enter file names like "myfile.cpp" or -# directories like "/usr/src/myproject". Separate the files or directories -# with spaces. - -INPUT = include/pjlib-util - -# If the value of the INPUT tag contains directories, you can use the -# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank the following patterns are tested: -# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp -# *.h++ *.idl *.odl - -FILE_PATTERNS = *.h *.c - -# The RECURSIVE tag can be used to turn specify whether or not subdirectories -# should be searched for input files as well. Possible values are YES and NO. -# If left blank NO is used. - -RECURSIVE = YES - -# The EXCLUDE tag can be used to specify files and/or directories that should -# excluded from the INPUT source files. This way you can easily exclude a -# subdirectory from a directory tree whose root is specified with the INPUT tag. - -EXCLUDE = - -# The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories -# that are symbolic links (a Unix filesystem feature) are excluded from the input. - -EXCLUDE_SYMLINKS = NO - -# If the value of the INPUT tag contains directories, you can use the -# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude -# certain files from those directories. - -EXCLUDE_PATTERNS = "*_i.h" "*/compat/*" - -# The EXAMPLE_PATH tag can be used to specify one or more files or -# directories that contain example code fragments that are included (see -# the \include command). - -EXAMPLE_PATH = . - -# If the value of the EXAMPLE_PATH tag contains directories, you can use the -# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank all files are included. - -EXAMPLE_PATTERNS = - -# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be -# searched for input files to be used with the \include or \dontinclude -# commands irrespective of the value of the RECURSIVE tag. -# Possible values are YES and NO. If left blank NO is used. - -EXAMPLE_RECURSIVE = YES - -# The IMAGE_PATH tag can be used to specify one or more files or -# directories that contain image that are included in the documentation (see -# the \image command). - -IMAGE_PATH = - -# The INPUT_FILTER tag can be used to specify a program that doxygen should -# invoke to filter for each input file. Doxygen will invoke the filter program -# by executing (via popen()) the command , where -# is the value of the INPUT_FILTER tag, and is the name of an -# input file. Doxygen will then use the output that the filter program writes -# to standard output. - -INPUT_FILTER = - -# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using -# INPUT_FILTER) will be used to filter the input files when producing source -# files to browse (i.e. when SOURCE_BROWSER is set to YES). - -FILTER_SOURCE_FILES = NO - -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- - -# If the SOURCE_BROWSER tag is set to YES then a list of source files will -# be generated. Documented entities will be cross-referenced with these sources. - -SOURCE_BROWSER = NO - -# Setting the INLINE_SOURCES tag to YES will include the body -# of functions and classes directly in the documentation. - -INLINE_SOURCES = NO - -# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct -# doxygen to hide any special comment blocks from generated source code -# fragments. Normal C and C++ comments will always remain visible. - -STRIP_CODE_COMMENTS = YES - -# If the REFERENCED_BY_RELATION tag is set to YES (the default) -# then for each documented function all documented -# functions referencing it will be listed. - -REFERENCED_BY_RELATION = YES - -# If the REFERENCES_RELATION tag is set to YES (the default) -# then for each documented function all documented entities -# called/used by that function will be listed. - -REFERENCES_RELATION = YES - -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- - -# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index -# of all compounds will be generated. Enable this if the project -# contains a lot of classes, structs, unions or interfaces. - -ALPHABETICAL_INDEX = NO - -# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then -# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns -# in which this list will be split (can be a number in the range [1..20]) - -COLS_IN_ALPHA_INDEX = 5 - -# In case all classes in a project start with a common prefix, all -# classes will be put under the same header in the alphabetical index. -# The IGNORE_PREFIX tag can be used to specify one or more prefixes that -# should be ignored while generating the index headers. - -IGNORE_PREFIX = - -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- - -# If the GENERATE_HTML tag is set to YES (the default) Doxygen will -# generate HTML output. - -GENERATE_HTML = YES - -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `html' will be used as the default path. - -HTML_OUTPUT = html - -# The HTML_FILE_EXTENSION tag can be used to specify the file extension for -# each generated HTML page (for example: .htm,.php,.asp). If it is left blank -# doxygen will generate files with .html extension. - -HTML_FILE_EXTENSION = .htm - -# The HTML_HEADER tag can be used to specify a personal HTML header for -# each generated HTML page. If it is left blank doxygen will generate a -# standard header. - -HTML_HEADER = docs/header.html - -# The HTML_FOOTER tag can be used to specify a personal HTML footer for -# each generated HTML page. If it is left blank doxygen will generate a -# standard footer. - -HTML_FOOTER = docs/footer.html - -# The HTML_STYLESHEET tag can be used to specify a user defined cascading -# style sheet that is used by each HTML page. It can be used to -# fine-tune the look of the HTML output. If the tag is left blank doxygen -# will generate a default style sheet - -HTML_STYLESHEET = docs/doxygen.css - -# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, -# files or namespaces will be aligned in HTML using tables. If set to -# NO a bullet list will be used. - -HTML_ALIGN_MEMBERS = YES - -# If the GENERATE_HTMLHELP tag is set to YES, additional index files -# will be generated that can be used as input for tools like the -# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) -# of the generated HTML documentation. - -GENERATE_HTMLHELP = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can -# be used to specify the file name of the resulting .chm file. You -# can add a path in front of the file if the result should not be -# written to the html output dir. - -CHM_FILE = - -# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can -# be used to specify the location (absolute path including file name) of -# the HTML help compiler (hhc.exe). If non empty doxygen will try to run -# the html help compiler on the generated index.hhp. - -HHC_LOCATION = - -# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag -# controls if a separate .chi index file is generated (YES) or that -# it should be included in the master .chm file (NO). - -GENERATE_CHI = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag -# controls whether a binary table of contents is generated (YES) or a -# normal table of contents (NO) in the .chm file. - -BINARY_TOC = NO - -# The TOC_EXPAND flag can be set to YES to add extra items for group members -# to the contents of the Html help documentation and to the tree view. - -TOC_EXPAND = NO - -# The DISABLE_INDEX tag can be used to turn on/off the condensed index at -# top of each HTML page. The value NO (the default) enables the index and -# the value YES disables it. - -DISABLE_INDEX = NO - -# This tag can be used to set the number of enum values (range [1..20]) -# that doxygen will group on one line in the generated HTML documentation. - -ENUM_VALUES_PER_LINE = 4 - -# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be -# generated containing a tree-like index structure (just like the one that -# is generated for HTML Help). For this to work a browser that supports -# JavaScript, DHTML, CSS and frames is required (for instance Mozilla, -# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are -# probably better off using the HTML help feature. - -GENERATE_TREEVIEW = NO - -# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be -# used to set the initial width (in pixels) of the frame in which the tree -# is shown. - -TREEVIEW_WIDTH = 250 - -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- - -# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will -# generate Latex output. - -GENERATE_LATEX = YES - -# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `latex' will be used as the default path. - -LATEX_OUTPUT = latex - -# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be -# invoked. If left blank `latex' will be used as the default command name. - -LATEX_CMD_NAME = latex - -# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to -# generate index for LaTeX. If left blank `makeindex' will be used as the -# default command name. - -MAKEINDEX_CMD_NAME = makeindex - -# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact -# LaTeX documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_LATEX = NO - -# The PAPER_TYPE tag can be used to set the paper type that is used -# by the printer. Possible values are: a4, a4wide, letter, legal and -# executive. If left blank a4wide will be used. - -PAPER_TYPE = a4wide - -# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX -# packages that should be included in the LaTeX output. - -EXTRA_PACKAGES = - -# The LATEX_HEADER tag can be used to specify a personal LaTeX header for -# the generated latex document. The header should contain everything until -# the first chapter. If it is left blank doxygen will generate a -# standard header. Notice: only use this tag if you know what you are doing! - -LATEX_HEADER = - -# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated -# is prepared for conversion to pdf (using ps2pdf). The pdf file will -# contain links (just like the HTML output) instead of page references -# This makes the output suitable for online browsing using a pdf viewer. - -PDF_HYPERLINKS = YES - -# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of -# plain latex in the generated Makefile. Set this option to YES to get a -# higher quality PDF documentation. - -USE_PDFLATEX = YES - -# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. -# command to the generated LaTeX files. This will instruct LaTeX to keep -# running if errors occur, instead of asking the user for help. -# This option is also used when generating formulas in HTML. - -LATEX_BATCHMODE = NO - -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- - -# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output -# The RTF output is optimised for Word 97 and may not look very pretty with -# other RTF readers or editors. - -GENERATE_RTF = NO - -# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `rtf' will be used as the default path. - -RTF_OUTPUT = rtf - -# If the COMPACT_RTF tag is set to YES Doxygen generates more compact -# RTF documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_RTF = NO - -# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated -# will contain hyperlink fields. The RTF file will -# contain links (just like the HTML output) instead of page references. -# This makes the output suitable for online browsing using WORD or other -# programs which support those fields. -# Note: wordpad (write) and others do not support links. - -RTF_HYPERLINKS = NO - -# Load stylesheet definitions from file. Syntax is similar to doxygen's -# config file, i.e. a series of assigments. You only have to provide -# replacements, missing definitions are set to their default value. - -RTF_STYLESHEET_FILE = - -# Set optional variables used in the generation of an rtf document. -# Syntax is similar to doxygen's config file. - -RTF_EXTENSIONS_FILE = - -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- - -# If the GENERATE_MAN tag is set to YES (the default) Doxygen will -# generate man pages - -GENERATE_MAN = NO - -# The MAN_OUTPUT tag is used to specify where the man pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `man' will be used as the default path. - -MAN_OUTPUT = man - -# The MAN_EXTENSION tag determines the extension that is added to -# the generated man pages (default is the subroutine's section .3) - -MAN_EXTENSION = .3 - -# If the MAN_LINKS tag is set to YES and Doxygen generates man output, -# then it will generate one additional man file for each entity -# documented in the real man page(s). These additional files -# only source the real man page, but without them the man command -# would be unable to find the correct page. The default is NO. - -MAN_LINKS = NO - -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- - -# If the GENERATE_XML tag is set to YES Doxygen will -# generate an XML file that captures the structure of -# the code including all documentation. Note that this -# feature is still experimental and incomplete at the -# moment. - -GENERATE_XML = NO - -# The XML_SCHEMA tag can be used to specify an XML schema, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_SCHEMA = - -# The XML_DTD tag can be used to specify an XML DTD, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_DTD = - -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- - -# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will -# generate an AutoGen Definitions (see autogen.sf.net) file -# that captures the structure of the code including all -# documentation. Note that this feature is still experimental -# and incomplete at the moment. - -GENERATE_AUTOGEN_DEF = NO - -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- - -# If the GENERATE_PERLMOD tag is set to YES Doxygen will -# generate a Perl module file that captures the structure of -# the code including all documentation. Note that this -# feature is still experimental and incomplete at the -# moment. - -GENERATE_PERLMOD = NO - -# If the PERLMOD_LATEX tag is set to YES Doxygen will generate -# the necessary Makefile rules, Perl scripts and LaTeX code to be able -# to generate PDF and DVI output from the Perl module output. - -PERLMOD_LATEX = NO - -# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be -# nicely formatted so it can be parsed by a human reader. This is useful -# if you want to understand what is going on. On the other hand, if this -# tag is set to NO the size of the Perl module output will be much smaller -# and Perl will parse it just the same. - -PERLMOD_PRETTY = YES - -# The names of the make variables in the generated doxyrules.make file -# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. -# This is useful so different doxyrules.make files included by the same -# Makefile don't overwrite each other's variables. - -PERLMOD_MAKEVAR_PREFIX = - -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- - -# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will -# evaluate all C-preprocessor directives found in the sources and include -# files. - -ENABLE_PREPROCESSING = YES - -# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro -# names in the source code. If set to NO (the default) only conditional -# compilation will be performed. Macro expansion can be done in a controlled -# way by setting EXPAND_ONLY_PREDEF to YES. - -MACRO_EXPANSION = YES - -# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES -# then the macro expansion is limited to the macros specified with the -# PREDEFINED and EXPAND_AS_PREDEFINED tags. - -EXPAND_ONLY_PREDEF = NO - -# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files -# in the INCLUDE_PATH (see below) will be search if a #include is found. - -SEARCH_INCLUDES = YES - -# The INCLUDE_PATH tag can be used to specify one or more directories that -# contain include files that are not input files but should be processed by -# the preprocessor. - -INCLUDE_PATH = - -# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard -# patterns (like *.h and *.hpp) to filter out the header-files in the -# directories. If left blank, the patterns specified with FILE_PATTERNS will -# be used. - -INCLUDE_FILE_PATTERNS = - -# The PREDEFINED tag can be used to specify one or more macro names that -# are defined before the preprocessor is started (similar to the -D option of -# gcc). The argument of the tag is a list of macros of the form: name -# or name=definition (no spaces). If the definition and the = are -# omitted =1 is assumed. - -PREDEFINED = PJ_DECL(x)=x PJ_DEF(x)=x PJ_IDECL(x)=x \ - PJ_IDEF(x)=x PJ_INLINE(x)=x \ - PJ_DECL_DATA(x)=x \ - PJ_DECL_NO_RETURN(x)=x \ - PJ_NO_RETURN=x \ - PJ_HAS_HIGH_RES_TIMER=1 \ - PJ_LOG_MAX_LEVEL=4 \ - PJ_HAS_SEMAPHORE=1 \ - PJ_HAS_EVENT_OBJ=1 \ - PJ_HAS_TCP=1 - - -# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then -# this tag can be used to specify a list of macro names that should be expanded. -# The macro definition that is found in the sources will be used. -# Use the PREDEFINED tag if you want to use a different macro definition. - -EXPAND_AS_DEFINED = - -# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then -# doxygen's preprocessor will remove all function-like macros that are alone -# on a line, have an all uppercase name, and do not end with a semicolon. Such -# function macros are typically used for boiler-plate code, and will confuse the -# parser if not removed. - -SKIP_FUNCTION_MACROS = YES - -#--------------------------------------------------------------------------- -# Configuration::addtions related to external references -#--------------------------------------------------------------------------- - -# The TAGFILES tag can be used to specify one or more tagfiles. - -TAGFILES = ../pjlib/docs/pjlib.tag=../../../pjlib/docs/html ../pjnath/docs/pjnath.tag=../../../pjnath/docs/html ../pjsip/docs/pjsip.tag=../../../pjsip/docs/html ../pjmedia/docs/pjmedia.tag=../../../pjmedia/docs/html - -# When a file name is specified after GENERATE_TAGFILE, doxygen will create -# a tag file that is based on the input files it reads. - -GENERATE_TAGFILE = docs/pjlib-util.tag - -# If the ALLEXTERNALS tag is set to YES all external classes will be listed -# in the class index. If set to NO only the inherited external classes -# will be listed. - -ALLEXTERNALS = NO - -# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed -# in the modules index. If set to NO, only the current project's groups will -# be listed. - -EXTERNAL_GROUPS = NO - -# The PERL_PATH should be the absolute path and name of the perl script -# interpreter (i.e. the result of `which perl'). - -#PERL_PATH = /usr/bin/perl -PERL_PATH = /c/Perl/bin/perl - -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- - -# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will -# generate a inheritance diagram (in Html, RTF and LaTeX) for classes with base or -# super classes. Setting the tag to NO turns the diagrams off. Note that this -# option is superceded by the HAVE_DOT option below. This is only a fallback. It is -# recommended to install and use dot, since it yield more powerful graphs. - -CLASS_DIAGRAMS = NO - -# If set to YES, the inheritance and collaboration graphs will hide -# inheritance and usage relations if the target is undocumented -# or is not a class. - -HIDE_UNDOC_RELATIONS = YES - -# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is -# available from the path. This tool is part of Graphviz, a graph visualization -# toolkit from AT&T and Lucent Bell Labs. The other options in this section -# have no effect if this option is set to NO (the default) - -HAVE_DOT = NO - -# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect inheritance relations. Setting this tag to YES will force the -# the CLASS_DIAGRAMS tag to NO. - -CLASS_GRAPH = YES - -# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect implementation dependencies (inheritance, containment, and -# class references variables) of the class with other documented classes. - -COLLABORATION_GRAPH = YES - -# If set to YES, the inheritance and collaboration graphs will show the -# relations between templates and their instances. - -TEMPLATE_RELATIONS = YES - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT -# tags are set to YES then doxygen will generate a graph for each documented -# file showing the direct and indirect include dependencies of the file with -# other documented files. - -INCLUDE_GRAPH = YES - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and -# HAVE_DOT tags are set to YES then doxygen will generate a graph for each -# documented header file showing the documented files that directly or -# indirectly include this file. - -INCLUDED_BY_GRAPH = YES - -# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen -# will graphical hierarchy of all classes instead of a textual one. - -GRAPHICAL_HIERARCHY = YES - -# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images -# generated by dot. Possible values are png, jpg, or gif -# If left blank png will be used. - -DOT_IMAGE_FORMAT = png - -# The tag DOT_PATH can be used to specify the path where the dot tool can be -# found. If left blank, it is assumed the dot tool can be found on the path. - -DOT_PATH = - -# The DOTFILE_DIRS tag can be used to specify one or more directories that -# contain dot files that are included in the documentation (see the -# \dotfile command). - -DOTFILE_DIRS = - -# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width -# (in pixels) of the graphs generated by dot. If a graph becomes larger than -# this value, doxygen will try to truncate the graph, so that it fits within -# the specified constraint. Beware that most browsers cannot cope with very -# large images. - -MAX_DOT_GRAPH_WIDTH = 1024 - -# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height -# (in pixels) of the graphs generated by dot. If a graph becomes larger than -# this value, doxygen will try to truncate the graph, so that it fits within -# the specified constraint. Beware that most browsers cannot cope with very -# large images. - -MAX_DOT_GRAPH_HEIGHT = 1024 - -# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will -# generate a legend page explaining the meaning of the various boxes and -# arrows in the dot generated graphs. - -GENERATE_LEGEND = YES - -# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will -# remove the intermedate dot files that are used to generate -# the various graphs. - -DOT_CLEANUP = YES - -#--------------------------------------------------------------------------- -# Configuration::addtions related to the search engine -#--------------------------------------------------------------------------- - -# The SEARCHENGINE tag specifies whether or not a search engine should be -# used. If set to NO the values of all tags below this one will be ignored. - -SEARCHENGINE = NO - -# The CGI_NAME tag should be the name of the CGI script that -# starts the search engine (doxysearch) with the correct parameters. -# A script with this name will be generated by doxygen. - -#CGI_NAME = search.cgi - -# The CGI_URL tag should be the absolute URL to the directory where the -# cgi binaries are located. See the documentation of your http daemon for -# details. - -#CGI_URL = - -# The DOC_URL tag should be the absolute URL to the directory where the -# documentation is located. If left blank the absolute path to the -# documentation, with file:// prepended to it, will be used. - -#DOC_URL = - -# The DOC_ABSPATH tag should be the absolute path to the directory where the -# documentation is located. If left blank the directory on the local machine -# will be used. - -#DOC_ABSPATH = - -# The BIN_ABSPATH tag must point to the directory where the doxysearch binary -# is installed. - -#BIN_ABSPATH = /usr/local/bin/ - -# The EXT_DOC_PATHS tag can be used to specify one or more paths to -# documentation generated for other projects. This allows doxysearch to search -# the documentation for these projects as well. - -#EXT_DOC_PATHS = diff --git a/res/pjproject/pjlib-util/docs/doxygen.css b/res/pjproject/pjlib-util/docs/doxygen.css deleted file mode 100644 index 015c0c272a..0000000000 --- a/res/pjproject/pjlib-util/docs/doxygen.css +++ /dev/null @@ -1,305 +0,0 @@ -BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV { - font-family: Geneva, Arial, Helvetica, sans-serif; -} -BODY,TD { - font-size: 80%; -} -CODE { - font-size: 120%; - font-family: monospace; -} -.fragment, pre { - font-size: 110%; - font-family: monospace; -} -H1 { - text-align: center; - font-size: 240%; -} -H2 { - font-size: 200%; - margin-top : 60px; -} -H3 { - font-size: 160%; -} -H4 { - font-size: 120%; -} -CAPTION { font-weight: bold } -DIV.qindex { - width: 100%; - background-color: #eeeeff; - border: 1px solid #b0b0b0; - text-align: center; - margin: 2px; - padding: 2px; - line-height: 140%; -} -DIV.nav { - width: 100%; - background-color: #eeeeff; - border: 1px solid #b0b0b0; - text-align: center; - margin: 2px; - padding: 2px; - line-height: 140%; -} -A.qindex { - text-decoration: none; - font-size: 120%; - color: #1A419D; -} -A.qindex:visited { - text-decoration: none; - color: #1A419D -} -A.qindex:hover { - text-decoration: none; - background-color: #ddddff; -} -A.qindexHL { - text-decoration: none; - font-weight: bold; - background-color: #6666cc; - color: #ffffff; - border: 1px double #9295C2; -} -A.qindexHL:hover { - text-decoration: none; - background-color: #6666cc; - color: #ffffff; -} -A.qindexHL:visited { text-decoration: none; background-color: #6666cc; color: #ffffff } -A.el { text-decoration: none; font-weight: bold } -A.elRef { font-weight: bold } -A.code:link { text-decoration: none; font-weight: normal; color: #0000FF; } -A.code:visited { text-decoration: none; font-weight: normal; color: #0000FF} -A.codeRef:link { font-weight: normal; color: #0000FF} -A.codeRef:visited { font-weight: normal; color: #0000FF} -A:hover { text-decoration: none; background-color: #f2f2ff } -DL.el { margin-left: -1cm } -PRE.fragment { - border: 1px solid #CCCCCC; - background-color: #f5f5f5; - margin-top: 4px; - margin-bottom: 4px; - margin-left: 2px; - margin-right: 8px; - padding-left: 6px; - padding-right: 6px; - padding-top: 4px; - padding-bottom: 4px; -} -DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px } -TD.md { background-color: #F4F4FB; font-weight: bold; } -TD.mdPrefix { - background-color: #F4F4FB; - color: #606060; - font-size: 80%; -} -TD.mdname1 { background-color: #F4F4FB; font-weight: bold; color: #602020; } -TD.mdname { background-color: #F4F4FB; font-weight: bold; color: #602020; width: 600px; } -DIV.groupHeader { - margin-left: 16px; - margin-top: 12px; - margin-bottom: 6px; - font-weight: bold; -} -DIV.groupText { margin-left: 16px; font-style: italic; font-size: 90% } -BODY { - background: white; - color: black; - margin-right: 20px; - margin-left: 20px; -} -TD.indexkey { - background-color: #eeeeff; - font-weight: bold; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px; - border: 1px solid #CCCCCC; -} -TD.indexvalue { - background-color: #eeeeff; - font-style: italic; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px; - border: 1px solid #CCCCCC; -} -TR.memlist { - background-color: #f0f0f0; -} -P.formulaDsp { text-align: center; } -IMG.formulaDsp { } -IMG.formulaInl { vertical-align: middle; } -SPAN.keyword { color: #008000 } -SPAN.keywordtype { color: #604020 } -SPAN.keywordflow { color: #e08000 } -SPAN.comment { color: #800000 } -SPAN.preprocessor { color: #806020 } -SPAN.stringliteral { color: #002080 } -SPAN.charliteral { color: #008080 } -.mdTable { - border: 1px solid #868686; - background-color: #F4F4FB; -} -.mdRow { - padding: 8px 10px; -} -.mdescLeft { - padding: 0px 8px 4px 8px; - font-size: 80%; - font-style: italic; - background-color: #FAFAFA; - border-top: 1px none #E0E0E0; - border-right: 1px none #E0E0E0; - border-bottom: 1px none #E0E0E0; - border-left: 1px none #E0E0E0; - margin: 0px; -} -.mdescRight { - padding: 0px 8px 4px 8px; - font-size: 80%; - font-style: italic; - background-color: #FAFAFA; - border-top: 1px none #E0E0E0; - border-right: 1px none #E0E0E0; - border-bottom: 1px none #E0E0E0; - border-left: 1px none #E0E0E0; - margin: 0px; -} -.memItemLeft { - padding: 1px 0px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: solid; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; -} -.memItemRight { - padding: 1px 8px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: solid; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; -} -.memTemplItemLeft { - padding: 1px 0px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: none; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; -} -.memTemplItemRight { - padding: 1px 8px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: none; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; -} -.memTemplParams { - padding: 1px 0px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: solid; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - color: #606060; - background-color: #FAFAFA; - font-size: 80%; -} -.search { color: #003399; - font-weight: bold; -} -FORM.search { - margin-bottom: 0px; - margin-top: 0px; -} -INPUT.search { font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #eeeeff; -} -TD.tiny { font-size: 75%; -} -a { - color: #252E78; -} -a:visited { - color: #3D2185; -} -.dirtab { padding: 4px; - border-collapse: collapse; - border: 1px solid #b0b0b0; -} -TH.dirtab { background: #eeeeff; - font-weight: bold; -} -HR { height: 1px; - border: none; - border-top: 1px solid black; -} diff --git a/res/pjproject/pjlib-util/docs/footer.html b/res/pjproject/pjlib-util/docs/footer.html deleted file mode 100644 index e09df7ed68..0000000000 --- a/res/pjproject/pjlib-util/docs/footer.html +++ /dev/null @@ -1,11 +0,0 @@ -

 

-
-PJLIB-UTIL Open Source, small footprint, and portable asynchronous/caching DNS resolver, text scanner, STUN client, and XML library
-Copyright (C) 2006-2009 Teluu Inc. -
- - - - - - diff --git a/res/pjproject/pjlib-util/docs/header.html b/res/pjproject/pjlib-util/docs/header.html deleted file mode 100644 index d7b6451f72..0000000000 --- a/res/pjproject/pjlib-util/docs/header.html +++ /dev/null @@ -1,9 +0,0 @@ - - -$title ($projectnumber) - - - -

Home --> Documentations --> PJLIB-UTIL Reference

- - diff --git a/res/pjproject/pjlib-util/include/pjlib-util.h b/res/pjproject/pjlib-util/include/pjlib-util.h deleted file mode 100644 index ee3b276827..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util.h +++ /dev/null @@ -1,66 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIB_UTIL_H__ -#define __PJLIB_UTIL_H__ - -/** - * @file pjlib-util.h - * @brief pjlib-util.h - */ - -/* Base */ -#include -#include - -/* Getopt */ -#include - -/* Crypto */ -#include -#include -#include -#include -#include -#include - -/* DNS and resolver */ -#include -#include -#include - -/* Simple DNS server */ -#include - -/* Text scanner */ -#include - -/* XML */ -#include - -/* Old STUN */ -#include - -/* PCAP */ -#include - -/* HTTP */ -#include - -#endif /* __PJLIB_UTIL_H__ */ diff --git a/res/pjproject/pjlib-util/include/pjlib-util/base64.h b/res/pjproject/pjlib-util/include/pjlib-util/base64.h deleted file mode 100644 index bb84498474..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/base64.h +++ /dev/null @@ -1,92 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIB_UTIL_BASE64_H__ -#define __PJLIB_UTIL_BASE64_H__ - -/** - * @file base64.h - * @brief Base64 encoding and decoding - */ - -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJLIB_UTIL_BASE64 Base64 Encoding/Decoding - * @ingroup PJLIB_UTIL_ENCRYPTION - * @{ - * This module implements base64 encoding and decoding. - */ - -/** - * Helper macro to calculate the approximate length required for base256 to - * base64 conversion. - */ -#define PJ_BASE256_TO_BASE64_LEN(len) (len * 4 / 3 + 3) - -/** - * Helper macro to calculate the approximage length required for base64 to - * base256 conversion. - */ -#define PJ_BASE64_TO_BASE256_LEN(len) (len * 3 / 4) - - -/** - * Encode a buffer into base64 encoding. - * - * @param input The input buffer. - * @param in_len Size of the input buffer. - * @param output Output buffer. Caller must allocate this buffer with - * the appropriate size. - * @param out_len On entry, it specifies the length of the output buffer. - * Upon return, this will be filled with the actual - * length of the output buffer. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pj_base64_encode(const pj_uint8_t *input, int in_len, - char *output, int *out_len); - - -/** - * Decode base64 string. - * - * @param input Input string. - * @param out Buffer to store the output. Caller must allocate - * this buffer with the appropriate size. - * @param out_len On entry, it specifies the length of the output buffer. - * Upon return, this will be filled with the actual - * length of the output. - */ -PJ_DECL(pj_status_t) pj_base64_decode(const pj_str_t *input, - pj_uint8_t *out, int *out_len); - - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJLIB_UTIL_BASE64_H__ */ - diff --git a/res/pjproject/pjlib-util/include/pjlib-util/config.h b/res/pjproject/pjlib-util/include/pjlib-util/config.h deleted file mode 100644 index ff3c4e6d26..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/config.h +++ /dev/null @@ -1,274 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIB_UTIL_CONFIG_H__ -#define __PJLIB_UTIL_CONFIG_H__ - - -/** - * @file config.h - * @brief Compile time settings - */ - -/** - * @defgroup PJLIB_UTIL_CONFIG Configuration - * @ingroup PJLIB_UTIL_BASE - * @{ - */ - - -/* ************************************************************************** - * DNS CONFIGURATION - */ - -/** - * Maximum number of IP addresses in DNS A response. - */ -#ifndef PJ_DNS_MAX_IP_IN_A_REC -# define PJ_DNS_MAX_IP_IN_A_REC 8 -#endif - - -/** - * Maximum server address entries per one SRV record - */ -#ifndef PJ_DNS_SRV_MAX_ADDR -# define PJ_DNS_SRV_MAX_ADDR 8 -#endif - - -/** - * This constant specifies the maximum names to keep in the temporary name - * table when performing name compression scheme when duplicating DNS packet - * (the #pj_dns_packet_dup() function). - * - * Generally name compression is desired, since it saves some memory (see - * PJ_DNS_RESOLVER_RES_BUF_SIZE setting). However it comes at the expense of - * a little processing overhead to perform name scanning and also a little - * bit more stack usage (8 bytes per entry on 32bit platform). - * - * Default: 16 - */ -#ifndef PJ_DNS_MAX_NAMES_IN_NAMETABLE -# define PJ_DNS_MAX_NAMES_IN_NAMETABLE 16 -#endif - - -/* ************************************************************************** - * RESOLVER CONFIGURATION - */ - - -/** - * Maximum numbers of DNS nameservers that can be configured in resolver. - */ -#ifndef PJ_DNS_RESOLVER_MAX_NS -# define PJ_DNS_RESOLVER_MAX_NS 16 -#endif - - -/** - * Default retransmission delay, in miliseconds. The combination of - * retransmission delay and count determines the query timeout. - * - * Default: 2000 (2 seconds, according to RFC 1035) - */ -#ifndef PJ_DNS_RESOLVER_QUERY_RETRANSMIT_DELAY -# define PJ_DNS_RESOLVER_QUERY_RETRANSMIT_DELAY 2000 -#endif - - -/** - * Maximum number of transmissions before timeout is declared for - * the query. - * - * Default: 5 - */ -#ifndef PJ_DNS_RESOLVER_QUERY_RETRANSMIT_COUNT -# define PJ_DNS_RESOLVER_QUERY_RETRANSMIT_COUNT 5 -#endif - - -/** - * Maximum life-time of DNS response in the resolver response cache, - * in seconds. If the value is zero, then DNS response caching will be - * disabled. - * - * Default is 300 seconds (5 minutes). - * - * @see PJ_DNS_RESOLVER_INVALID_TTL - */ -#ifndef PJ_DNS_RESOLVER_MAX_TTL -# define PJ_DNS_RESOLVER_MAX_TTL (5*60) -#endif - -/** - * The life-time of invalid DNS response in the resolver response cache. - * An invalid DNS response is a response which RCODE is non-zero and - * response without any answer section. These responses can be put in - * the cache too to minimize message round-trip. - * - * Default: 60 (one minute). - * - * @see PJ_DNS_RESOLVER_MAX_TTL - */ -#ifndef PJ_DNS_RESOLVER_INVALID_TTL -# define PJ_DNS_RESOLVER_INVALID_TTL 60 -#endif - -/** - * The interval on which nameservers which are known to be good to be - * probed again to determine whether they are still good. Note that - * this applies to both active nameserver (the one currently being used) - * and idle nameservers (good nameservers that are not currently selected). - * The probing to query the "goodness" of nameservers involves sending - * the same query to multiple servers, so it's probably not a good idea - * to send this probing too often. - * - * Default: 600 (ten minutes) - * - * @see PJ_DNS_RESOLVER_BAD_NS_TTL - */ -#ifndef PJ_DNS_RESOLVER_GOOD_NS_TTL -# define PJ_DNS_RESOLVER_GOOD_NS_TTL (10*60) -#endif - -/** - * The interval on which nameservers which known to be bad to be probed - * again to determine whether it is still bad. - * - * Default: 60 (one minute) - * - * @see PJ_DNS_RESOLVER_GOOD_NS_TTL - */ -#ifndef PJ_DNS_RESOLVER_BAD_NS_TTL -# define PJ_DNS_RESOLVER_BAD_NS_TTL (1*60) -#endif - - -/** - * Maximum size of UDP packet. RFC 1035 states that maximum size of - * DNS packet carried over UDP is 512 bytes. - * - * Default: 512 byes - */ -#ifndef PJ_DNS_RESOLVER_MAX_UDP_SIZE -# define PJ_DNS_RESOLVER_MAX_UDP_SIZE 512 -#endif - - -/** - * Size of memory pool allocated for each individual DNS response cache. - * This value here should be more or less the same as maximum UDP packet - * size (PJ_DNS_RESOLVER_MAX_UDP_SIZE), since the DNS replicator function - * (#pj_dns_packet_dup()) is also capable of performing name compressions. - * - * Default: 512 - */ -#ifndef PJ_DNS_RESOLVER_RES_BUF_SIZE -# define PJ_DNS_RESOLVER_RES_BUF_SIZE 512 -#endif - - -/** - * Size of temporary pool buffer for parsing DNS packets in resolver. - * - * default: 4000 - */ -#ifndef PJ_DNS_RESOLVER_TMP_BUF_SIZE -# define PJ_DNS_RESOLVER_TMP_BUF_SIZE 4000 -#endif - - -/* ************************************************************************** - * SCANNER CONFIGURATION - */ - - -/** - * Macro PJ_SCANNER_USE_BITWISE is defined and non-zero (by default yes) - * will enable the use of bitwise for character input specification (cis). - * This would save several kilobytes of .bss memory in the SIP parser. - */ -#ifndef PJ_SCANNER_USE_BITWISE -# define PJ_SCANNER_USE_BITWISE 1 -#endif - - - -/* ************************************************************************** - * STUN CLIENT CONFIGURATION - */ - -/** - * Maximum number of attributes in the STUN packet (for the old STUN - * library). - * - * Default: 16 - */ -#ifndef PJSTUN_MAX_ATTR -# define PJSTUN_MAX_ATTR 16 -#endif - - -/** - * Maximum number of attributes in the STUN packet (for the new STUN - * library). - * - * Default: 16 - */ -#ifndef PJ_STUN_MAX_ATTR -# define PJ_STUN_MAX_ATTR 16 -#endif - - -/* ************************************************************************** - * ENCRYPTION - */ - -/** - * Specifies whether CRC32 algorithm should use the table based lookup table - * for faster calculation, at the expense of about 1KB table size on the - * executable. If zero, the CRC32 will use non-table based which is more than - * an order of magnitude slower. - * - * Default: 1 - */ -#ifndef PJ_CRC32_HAS_TABLES -# define PJ_CRC32_HAS_TABLES 1 -#endif - - -/* ************************************************************************** - * HTTP Client configuration - */ -/** - * Timeout value for HTTP request operation. The value is in ms. - * Default: 60000ms - */ -#ifndef PJ_HTTP_DEFAULT_TIMEOUT -# define PJ_HTTP_DEFAULT_TIMEOUT (60000) -#endif - -/** - * @} - */ - -#endif /* __PJLIB_UTIL_CONFIG_H__ */ - diff --git a/res/pjproject/pjlib-util/include/pjlib-util/crc32.h b/res/pjproject/pjlib-util/include/pjlib-util/crc32.h deleted file mode 100644 index 66596cbc5a..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/crc32.h +++ /dev/null @@ -1,96 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIB_UTIL_CRC32_H__ -#define __PJLIB_UTIL_CRC32_H__ - -/** - * @file crc32.h - * @brief CRC32 implementation - */ - -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJLIB_UTIL_CRC32 CRC32 (Cyclic Redundancy Check) - * @ingroup PJLIB_UTIL_ENCRYPTION - * @{ - * This implements CRC32 algorithm. See ITU-T V.42 for the formal - * specification. - */ - -/** CRC32 context. */ -typedef struct pj_crc32_context -{ - pj_uint32_t crc_state; /**< Current state. */ -} pj_crc32_context; - - -/** - * Initialize CRC32 context. - * - * @param ctx CRC32 context. - */ -PJ_DECL(void) pj_crc32_init(pj_crc32_context *ctx); - -/** - * Feed data incrementally to the CRC32 algorithm. - * - * @param ctx CRC32 context. - * @param data Input data. - * @param nbytes Length of the input data. - * - * @return The current CRC32 value. - */ -PJ_DECL(pj_uint32_t) pj_crc32_update(pj_crc32_context *ctx, - const pj_uint8_t *data, - pj_size_t nbytes); - -/** - * Finalize CRC32 calculation and retrieve the CRC32 value. - * - * @param ctx CRC32 context. - * - * @return The current CRC value. - */ -PJ_DECL(pj_uint32_t) pj_crc32_final(pj_crc32_context *ctx); - -/** - * Perform one-off CRC32 calculation to the specified data. - * - * @param data Input data. - * @param nbytes Length of input data. - * - * @return CRC value of the data. - */ -PJ_DECL(pj_uint32_t) pj_crc32_calc(const pj_uint8_t *data, - pj_size_t nbytes); - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJLIB_UTIL_CRC32_H__ */ - diff --git a/res/pjproject/pjlib-util/include/pjlib-util/dns.h b/res/pjproject/pjlib-util/include/pjlib-util/dns.h deleted file mode 100644 index eb66a6c89b..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/dns.h +++ /dev/null @@ -1,445 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIB_UTIL_DNS_H__ -#define __PJLIB_UTIL_DNS_H__ - - -/** - * @file dns.h - * @brief Low level DNS message parsing and packetization. - */ -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_DNS DNS and Asynchronous DNS Resolver - * @ingroup PJ_PROTOCOLS - */ - -/** - * @defgroup PJ_DNS_PARSING Low-level DNS Message Parsing and Packetization - * @ingroup PJ_DNS - * @{ - * - * This module provides low-level services to parse and packetize DNS queries - * and responses. The functions support building a DNS query packet and parse - * the data in the DNS response. This implementation conforms to the - * following specifications: - * - RFC 1035: DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION - * - RFC 1886: DNS Extensions to support IP version 6 - * - * To create a DNS query packet, application should call #pj_dns_make_query() - * function, specifying the desired DNS query type, the name to be resolved, - * and the buffer where the DNS packet will be built into. - * - * When incoming DNS query or response packet arrives, application can use - * #pj_dns_parse_packet() to parse the TCP/UDP payload into parsed DNS packet - * structure. - * - * This module does not provide any networking functionalities to send or - * receive DNS packets. This functionality should be provided by higher layer - * modules such as @ref PJ_DNS_RESOLVER. - */ - -enum -{ - PJ_DNS_CLASS_IN = 1 /**< DNS class IN. */ -}; - -/** - * This enumeration describes standard DNS record types as described by - * RFC 1035, RFC 2782, and others. - */ -typedef enum pj_dns_type -{ - PJ_DNS_TYPE_A = 1, /**< Host address (A) record. */ - PJ_DNS_TYPE_NS = 2, /**< Authoritative name server (NS) */ - PJ_DNS_TYPE_MD = 3, /**< Mail destination (MD) record. */ - PJ_DNS_TYPE_MF = 4, /**< Mail forwarder (MF) record. */ - PJ_DNS_TYPE_CNAME = 5, /**< Canonical name (CNAME) record. */ - PJ_DNS_TYPE_SOA = 6, /**< Marks start of zone authority. */ - PJ_DNS_TYPE_MB = 7, /**< Mailbox domain name (MB). */ - PJ_DNS_TYPE_MG = 8, /**< Mail group member (MG). */ - PJ_DNS_TYPE_MR = 9, /**< Mail rename domain name. */ - PJ_DNS_TYPE_NULL = 10, /**< NULL RR. */ - PJ_DNS_TYPE_WKS = 11, /**< Well known service description */ - PJ_DNS_TYPE_PTR = 12, /**< Domain name pointer. */ - PJ_DNS_TYPE_HINFO = 13, /**< Host information. */ - PJ_DNS_TYPE_MINFO = 14, /**< Mailbox or mail list information. */ - PJ_DNS_TYPE_MX = 15, /**< Mail exchange record. */ - PJ_DNS_TYPE_TXT = 16, /**< Text string. */ - PJ_DNS_TYPE_RP = 17, /**< Responsible person. */ - PJ_DNS_TYPE_AFSB = 18, /**< AFS cell database. */ - PJ_DNS_TYPE_X25 = 19, /**< X.25 calling address. */ - PJ_DNS_TYPE_ISDN = 20, /**< ISDN calling address. */ - PJ_DNS_TYPE_RT = 21, /**< Router. */ - PJ_DNS_TYPE_NSAP = 22, /**< NSAP address. */ - PJ_DNS_TYPE_NSAP_PTR= 23, /**< NSAP reverse address. */ - PJ_DNS_TYPE_SIG = 24, /**< Signature. */ - PJ_DNS_TYPE_KEY = 25, /**< Key. */ - PJ_DNS_TYPE_PX = 26, /**< X.400 mail mapping. */ - PJ_DNS_TYPE_GPOS = 27, /**< Geographical position (withdrawn) */ - PJ_DNS_TYPE_AAAA = 28, /**< IPv6 address. */ - PJ_DNS_TYPE_LOC = 29, /**< Location. */ - PJ_DNS_TYPE_NXT = 30, /**< Next valid name in the zone. */ - PJ_DNS_TYPE_EID = 31, /**< Endpoint idenfitier. */ - PJ_DNS_TYPE_NIMLOC = 32, /**< Nimrod locator. */ - PJ_DNS_TYPE_SRV = 33, /**< Server selection (SRV) record. */ - PJ_DNS_TYPE_ATMA = 34, /**< DNS ATM address record. */ - PJ_DNS_TYPE_NAPTR = 35, /**< DNS Naming authority pointer record. */ - PJ_DNS_TYPE_KX = 36, /**< DNS key exchange record. */ - PJ_DNS_TYPE_CERT = 37, /**< DNS certificate record. */ - PJ_DNS_TYPE_A6 = 38, /**< DNS IPv6 address (experimental) */ - PJ_DNS_TYPE_DNAME = 39, /**< DNS non-terminal name redirection rec. */ - - PJ_DNS_TYPE_OPT = 41, /**< DNS options - contains EDNS metadata. */ - PJ_DNS_TYPE_APL = 42, /**< DNS Address Prefix List (APL) record. */ - PJ_DNS_TYPE_DS = 43, /**< DNS Delegation Signer (DS) */ - PJ_DNS_TYPE_SSHFP = 44, /**< DNS SSH Key Fingerprint */ - PJ_DNS_TYPE_IPSECKEY= 45, /**< DNS IPSEC Key. */ - PJ_DNS_TYPE_RRSIG = 46, /**< DNS Resource Record signature. */ - PJ_DNS_TYPE_NSEC = 47, /**< DNS Next Secure Name. */ - PJ_DNS_TYPE_DNSKEY = 48 /**< DNSSEC Key. */ -} pj_dns_type; - - - -/** - * Standard DNS header, according to RFC 1035, which will be present in - * both DNS query and DNS response. - * - * Note that all values seen by application would be in - * host by order. The library would convert them to network - * byte order as necessary. - */ -typedef struct pj_dns_hdr -{ - pj_uint16_t id; /**< Transaction ID. */ - pj_uint16_t flags; /**< Flags. */ - pj_uint16_t qdcount; /**< Nb. of queries. */ - pj_uint16_t anscount; /**< Nb. of res records */ - pj_uint16_t nscount; /**< Nb. of NS records. */ - pj_uint16_t arcount; /**< Nb. of additional records */ -} pj_dns_hdr; - -/** Create RCODE flag */ -#define PJ_DNS_SET_RCODE(c) ((pj_uint16_t)((c) & 0x0F)) - -/** Create RA (Recursion Available) bit */ -#define PJ_DNS_SET_RA(on) ((pj_uint16_t)((on) << 7)) - -/** Create RD (Recursion Desired) bit */ -#define PJ_DNS_SET_RD(on) ((pj_uint16_t)((on) << 8)) - -/** Create TC (Truncated) bit */ -#define PJ_DNS_SET_TC(on) ((pj_uint16_t)((on) << 9)) - -/** Create AA (Authoritative Answer) bit */ -#define PJ_DNS_SET_AA(on) ((pj_uint16_t)((on) << 10)) - -/** Create four bits opcode */ -#define PJ_DNS_SET_OPCODE(o) ((pj_uint16_t)((o) << 11)) - -/** Create query/response bit */ -#define PJ_DNS_SET_QR(on) ((pj_uint16_t)((on) << 15)) - - -/** Get RCODE value */ -#define PJ_DNS_GET_RCODE(val) (((val) & PJ_DNS_SET_RCODE(0x0F)) >> 0) - -/** Get RA bit */ -#define PJ_DNS_GET_RA(val) (((val) & PJ_DNS_SET_RA(1)) >> 7) - -/** Get RD bit */ -#define PJ_DNS_GET_RD(val) (((val) & PJ_DNS_SET_RD(1)) >> 8) - -/** Get TC bit */ -#define PJ_DNS_GET_TC(val) (((val) & PJ_DNS_SET_TC(1)) >> 9) - -/** Get AA bit */ -#define PJ_DNS_GET_AA(val) (((val) & PJ_DNS_SET_AA(1)) >> 10) - -/** Get OPCODE value */ -#define PJ_DNS_GET_OPCODE(val) (((val) & PJ_DNS_SET_OPCODE(0x0F)) >> 11) - -/** Get QR bit */ -#define PJ_DNS_GET_QR(val) (((val) & PJ_DNS_SET_QR(1)) >> 15) - - -/** - * These constants describe DNS RCODEs. Application can fold these constants - * into PJLIB pj_status_t namespace by calling #PJ_STATUS_FROM_DNS_RCODE() - * macro. - */ -typedef enum pj_dns_rcode -{ - PJ_DNS_RCODE_FORMERR = 1, /**< Format error. */ - PJ_DNS_RCODE_SERVFAIL = 2, /**< Server failure. */ - PJ_DNS_RCODE_NXDOMAIN = 3, /**< Name Error. */ - PJ_DNS_RCODE_NOTIMPL = 4, /**< Not Implemented. */ - PJ_DNS_RCODE_REFUSED = 5, /**< Refused. */ - PJ_DNS_RCODE_YXDOMAIN = 6, /**< The name exists. */ - PJ_DNS_RCODE_YXRRSET = 7, /**< The RRset (name, type) exists. */ - PJ_DNS_RCODE_NXRRSET = 8, /**< The RRset (name, type) doesn't exist*/ - PJ_DNS_RCODE_NOTAUTH = 9, /**< Not authorized. */ - PJ_DNS_RCODE_NOTZONE = 10 /**< The zone specified is not a zone. */ - -} pj_dns_rcode; - - -/** - * This structure describes a DNS query record. - */ -typedef struct pj_dns_parsed_query -{ - pj_str_t name; /**< The domain in the query. */ - pj_uint16_t type; /**< Type of the query (pj_dns_type) */ - pj_uint16_t dnsclass; /**< Network class (PJ_DNS_CLASS_IN=1) */ -} pj_dns_parsed_query; - - -/** - * This structure describes a Resource Record parsed from the DNS packet. - * All integral values are in host byte order. - */ -typedef struct pj_dns_parsed_rr -{ - pj_str_t name; /**< The domain name which this rec pertains. */ - pj_uint16_t type; /**< RR type code. */ - pj_uint16_t dnsclass; /**< Class of data (PJ_DNS_CLASS_IN=1). */ - pj_uint32_t ttl; /**< Time to live. */ - pj_uint16_t rdlength; /**< Resource data length. */ - void *data; /**< Pointer to the raw resource data, only - when the type is not known. If it is known, - the data will be put in rdata below. */ - - /** For resource types that are recognized/supported by this library, - * the parsed resource data will be placed in this rdata union. - */ - union rdata - { - /** SRV Resource Data (PJ_DNS_TYPE_SRV, 33) */ - struct srv { - pj_uint16_t prio; /**< Target priority (lower is higher). */ - pj_uint16_t weight; /**< Weight/proportion */ - pj_uint16_t port; /**< Port number of the service */ - pj_str_t target; /**< Target name. */ - } srv; - - /** CNAME Resource Data (PJ_DNS_TYPE_CNAME, 5) */ - struct cname { - pj_str_t name; /**< Primary canonical name for an alias. */ - } cname; - - /** NS Resource Data (PJ_DNS_TYPE_NS, 2) */ - struct ns { - pj_str_t name; /**< Primary name server. */ - } ns; - - /** PTR Resource Data (PJ_DNS_TYPE_PTR, 12) */ - struct ptr { - pj_str_t name; /**< PTR name. */ - } ptr; - - /** A Resource Data (PJ_DNS_TYPE_A, 1) */ - struct a { - pj_in_addr ip_addr;/**< IPv4 address in network byte order. */ - } a; - - /** AAAA Resource Data (PJ_DNS_TYPE_AAAA, 28) */ - struct aaaa { - pj_in6_addr ip_addr;/**< IPv6 address in network byte order. */ - } aaaa; - - } rdata; - -} pj_dns_parsed_rr; - - -/** - * This structure describes the parsed repersentation of the raw DNS packet. - * Note that all integral values in the parsed packet are represented in - * host byte order. - */ -typedef struct pj_dns_parsed_packet -{ - pj_dns_hdr hdr; /**< Pointer to DNS hdr, in host byte order */ - pj_dns_parsed_query *q; /**< Array of DNS queries. */ - pj_dns_parsed_rr *ans; /**< Array of DNS RR answer. */ - pj_dns_parsed_rr *ns; /**< Array of NS record in the answer. */ - pj_dns_parsed_rr *arr; /**< Array of additional RR answer. */ -} pj_dns_parsed_packet; - - -/** - * Option flags to be specified when calling #pj_dns_packet_dup() function. - * These flags can be combined with bitwise OR operation. - */ -enum pj_dns_dup_options -{ - PJ_DNS_NO_QD = 1, /**< Do not duplicate the query section. */ - PJ_DNS_NO_ANS = 2, /**< Do not duplicate the answer section. */ - PJ_DNS_NO_NS = 4, /**< Do not duplicate the NS section. */ - PJ_DNS_NO_AR = 8 /**< Do not duplicate the additional rec section */ -}; - - -/** - * Create DNS query packet to resolve the specified names. This function - * can be used to build any types of DNS query, such as A record or DNS SRV - * record. - * - * Application specifies the type of record and the name to be queried, - * and the function will build the DNS query packet into the buffer - * specified. Once the packet is successfully built, application can send - * the packet via TCP or UDP connection. - * - * @param packet The buffer to put the DNS query packet. - * @param size On input, it specifies the size of the buffer. - * On output, it will be filled with the actual size of - * the DNS query packet. - * @param id DNS query ID to associate DNS response with the - * query. - * @param qtype DNS type of record to be queried (see #pj_dns_type). - * @param name Name to be queried from the DNS server. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_dns_make_query(void *packet, - unsigned *size, - pj_uint16_t id, - int qtype, - const pj_str_t *name); - -/** - * Parse raw DNS packet into parsed DNS packet structure. This function is - * able to parse few DNS resource records such as A record, PTR record, - * CNAME record, NS record, and SRV record. - * - * @param pool Pool to allocate memory for the parsed packet. - * @param packet Pointer to the DNS packet (the TCP/UDP payload of - * the raw packet). - * @param size The size of the DNS packet. - * @param p_res Pointer to store the resulting parsed packet. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_dns_parse_packet(pj_pool_t *pool, - const void *packet, - unsigned size, - pj_dns_parsed_packet **p_res); - -/** - * Duplicate DNS packet. - * - * @param pool The pool to allocate memory for the duplicated packet. - * @param p The DNS packet to be cloned. - * @param options Option flags, from pj_dns_dup_options. - * @param p_dst Pointer to store the cloned DNS packet. - */ -PJ_DECL(void) pj_dns_packet_dup(pj_pool_t *pool, - const pj_dns_parsed_packet*p, - unsigned options, - pj_dns_parsed_packet **p_dst); - - -/** - * Utility function to get the type name string of the specified DNS type. - * - * @param type DNS type (see #pj_dns_type). - * - * @return String name of the type (e.g. "A", "SRV", etc.). - */ -PJ_DECL(const char *) pj_dns_get_type_name(int type); - - -/** - * Initialize DNS record as DNS SRV record. - * - * @param rec The DNS resource record to be initialized as DNS - * SRV record. - * @param res_name Resource name. - * @param dnsclass DNS class. - * @param ttl Resource TTL value. - * @param prio DNS SRV priority. - * @param weight DNS SRV weight. - * @param port Target port. - * @param target Target name. - */ -PJ_DECL(void) pj_dns_init_srv_rr(pj_dns_parsed_rr *rec, - const pj_str_t *res_name, - unsigned dnsclass, - unsigned ttl, - unsigned prio, - unsigned weight, - unsigned port, - const pj_str_t *target); - -/** - * Initialize DNS record as DNS CNAME record. - * - * @param rec The DNS resource record to be initialized as DNS - * CNAME record. - * @param res_name Resource name. - * @param dnsclass DNS class. - * @param ttl Resource TTL value. - * @param name Host name. - */ -PJ_DECL(void) pj_dns_init_cname_rr(pj_dns_parsed_rr *rec, - const pj_str_t *res_name, - unsigned dnsclass, - unsigned ttl, - const pj_str_t *name); - -/** - * Initialize DNS record as DNS A record. - * - * @param rec The DNS resource record to be initialized as DNS - * A record. - * @param res_name Resource name. - * @param dnsclass DNS class. - * @param ttl Resource TTL value. - * @param ip_addr Host address. - */ -PJ_DECL(void) pj_dns_init_a_rr(pj_dns_parsed_rr *rec, - const pj_str_t *res_name, - unsigned dnsclass, - unsigned ttl, - const pj_in_addr *ip_addr); - -/** - * Dump DNS packet to standard log. - * - * @param res The DNS packet. - */ -PJ_DECL(void) pj_dns_dump_packet(const pj_dns_parsed_packet *res); - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJLIB_UTIL_DNS_H__ */ - diff --git a/res/pjproject/pjlib-util/include/pjlib-util/dns_server.h b/res/pjproject/pjlib-util/include/pjlib-util/dns_server.h deleted file mode 100644 index d73ff3da4e..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/dns_server.h +++ /dev/null @@ -1,117 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIB_UTIL_DNS_SERVER_H__ -#define __PJLIB_UTIL_DNS_SERVER_H__ - -/** - * @file dns_server.h - * @brief Simple DNS server - */ -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_DNS_SERVER Simple DNS Server - * @ingroup PJ_DNS - * @{ - * This contains a simple but fully working DNS server implementation, - * mostly for testing purposes. It supports serving various DNS resource - * records such as SRV, CNAME, A, and AAAA. - */ - -/** - * Opaque structure to hold DNS server instance. - */ -typedef struct pj_dns_server pj_dns_server; - -/** - * Create the DNS server instance. The instance will run immediately. - * - * @param pf The pool factory to create memory pools. - * @param ioqueue Ioqueue instance where the server socket will be - * registered to. - * @param af Address family of the server socket (valid values - * are pj_AF_INET() for IPv4 and pj_AF_INET6() for IPv6). - * @param port The UDP port to listen. - * @param flags Flags, currently must be zero. - * @param p_srv Pointer to receive the DNS server instance. - * - * @return PJ_SUCCESS if server has been created successfully, - * otherwise the function will return the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pj_dns_server_create(pj_pool_factory *pf, - pj_ioqueue_t *ioqueue, - int af, - unsigned port, - unsigned flags, - pj_dns_server **p_srv); - -/** - * Destroy DNS server instance. - * - * @param srv The DNS server instance. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_dns_server_destroy(pj_dns_server *srv); - - -/** - * Add generic resource record entries to the server. - * - * @param srv The DNS server instance. - * @param count Number of records to be added. - * @param rr Array of records to be added. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_dns_server_add_rec(pj_dns_server *srv, - unsigned count, - const pj_dns_parsed_rr rr[]); - -/** - * Remove the specified record from the server. - * - * @param srv The DNS server instance. - * @param dns_class The resource's DNS class. Valid value is PJ_DNS_CLASS_IN. - * @param type The resource type. - * @param name The resource name to be removed. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_dns_server_del_rec(pj_dns_server *srv, - int dns_class, - pj_dns_type type, - const pj_str_t *name); - - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJLIB_UTIL_DNS_SERVER_H__ */ - diff --git a/res/pjproject/pjlib-util/include/pjlib-util/errno.h b/res/pjproject/pjlib-util/include/pjlib-util/errno.h deleted file mode 100644 index 5e42653f89..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/errno.h +++ /dev/null @@ -1,393 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIB_UTIL_ERRNO_H__ -#define __PJLIB_UTIL_ERRNO_H__ - - -#include - -/** - * @defgroup PJLIB_UTIL_ERROR Error Codes - * @ingroup PJLIB_UTIL_BASE - * @{ - */ - -/** - * Start of error code relative to PJ_ERRNO_START_USER. - * This value is 320000. - */ -#define PJLIB_UTIL_ERRNO_START (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*3) - - -/************************************************************ - * STUN ERROR - ***********************************************************/ -/** - * @hideinitializer - * Unable to resolve STUN server - */ -#define PJLIB_UTIL_ESTUNRESOLVE (PJLIB_UTIL_ERRNO_START+1) /* 320001 */ -/** - * @hideinitializer - * Unknown STUN message type. - */ -#define PJLIB_UTIL_ESTUNINMSGTYPE (PJLIB_UTIL_ERRNO_START+2) /* 320002 */ -/** - * @hideinitializer - * Invalid STUN message length - */ -#define PJLIB_UTIL_ESTUNINMSGLEN (PJLIB_UTIL_ERRNO_START+3) /* 320003 */ -/** - * @hideinitializer - * Invalid STUN attribute length - */ -#define PJLIB_UTIL_ESTUNINATTRLEN (PJLIB_UTIL_ERRNO_START+4) /* 320004 */ -/** - * @hideinitializer - * Invalid STUN attribute type - */ -#define PJLIB_UTIL_ESTUNINATTRTYPE (PJLIB_UTIL_ERRNO_START+5) /* 320005 */ -/** - * @hideinitializer - * Invalid STUN server/socket index - */ -#define PJLIB_UTIL_ESTUNININDEX (PJLIB_UTIL_ERRNO_START+6) /* 320006 */ -/** - * @hideinitializer - * No STUN binding response in the message - */ -#define PJLIB_UTIL_ESTUNNOBINDRES (PJLIB_UTIL_ERRNO_START+7) /* 320007 */ -/** - * @hideinitializer - * Received STUN error attribute - */ -#define PJLIB_UTIL_ESTUNRECVERRATTR (PJLIB_UTIL_ERRNO_START+8) /* 320008 */ -/** - * @hideinitializer - * No STUN mapped address attribute - */ -#define PJLIB_UTIL_ESTUNNOMAP (PJLIB_UTIL_ERRNO_START+9) /* 320009 */ -/** - * @hideinitializer - * Received no response from STUN server - */ -#define PJLIB_UTIL_ESTUNNOTRESPOND (PJLIB_UTIL_ERRNO_START+10) /* 320010 */ -/** - * @hideinitializer - * Symetric NAT detected by STUN - */ -#define PJLIB_UTIL_ESTUNSYMMETRIC (PJLIB_UTIL_ERRNO_START+11) /* 320011 */ -/** - * @hideinitializer - * Invalid STUN magic value - */ -#define PJLIB_UTIL_ESTUNNOTMAGIC (PJLIB_UTIL_ERRNO_START+12) /* 320012 */ -/** - * @hideinitializer - * Invalid STUN fingerprint value - */ -#define PJLIB_UTIL_ESTUNFINGERPRINT (PJLIB_UTIL_ERRNO_START+13) /* 320013 */ - - - -/************************************************************ - * XML ERROR - ***********************************************************/ -/** - * @hideinitializer - * General invalid XML message. - */ -#define PJLIB_UTIL_EINXML (PJLIB_UTIL_ERRNO_START+20) /* 320020 */ - - - -/************************************************************ - * DNS ERROR - ***********************************************************/ -/** - * @hideinitializer - * DNS query packet buffer is too small. - * This error occurs when the user supplied buffer for creating DNS - * query (#pj_dns_make_query() function) is too small. - */ -#define PJLIB_UTIL_EDNSQRYTOOSMALL (PJLIB_UTIL_ERRNO_START+40) /* 320040 */ -/** - * @hideinitializer - * Invalid DNS packet length. - * This error occurs when the received DNS response packet does not - * match all the fields length. - */ -#define PJLIB_UTIL_EDNSINSIZE (PJLIB_UTIL_ERRNO_START+41) /* 320041 */ -/** - * @hideinitializer - * Invalid DNS class. - * This error occurs when the received DNS response contains network - * class other than IN (Internet). - */ -#define PJLIB_UTIL_EDNSINCLASS (PJLIB_UTIL_ERRNO_START+42) /* 320042 */ -/** - * @hideinitializer - * Invalid DNS name pointer. - * This error occurs when parsing the compressed names inside DNS - * response packet, when the name pointer points to an invalid address - * or the parsing has triggerred too much recursion. - */ -#define PJLIB_UTIL_EDNSINNAMEPTR (PJLIB_UTIL_ERRNO_START+43) /* 320043 */ -/** - * @hideinitializer - * Invalid DNS nameserver address. If hostname was specified for nameserver - * address, this error means that the function was unable to resolve - * the nameserver hostname. - */ -#define PJLIB_UTIL_EDNSINNSADDR (PJLIB_UTIL_ERRNO_START+44) /* 320044 */ -/** - * @hideinitializer - * No nameserver is in DNS resolver. No nameserver is configured in the - * resolver. - */ -#define PJLIB_UTIL_EDNSNONS (PJLIB_UTIL_ERRNO_START+45) /* 320045 */ -/** - * @hideinitializer - * No working DNS nameserver. All nameservers have been queried, - * but none was able to serve any DNS requests. These "bad" nameservers - * will be re-tested again for "goodness" after some period. - */ -#define PJLIB_UTIL_EDNSNOWORKINGNS (PJLIB_UTIL_ERRNO_START+46) /* 320046 */ -/** - * @hideinitializer - * No answer record in the DNS response. - */ -#define PJLIB_UTIL_EDNSNOANSWERREC (PJLIB_UTIL_ERRNO_START+47) /* 320047 */ -/** - * @hideinitializer - * Invalid DNS answer. This error is raised for example when the DNS - * answer does not have a query section, or the type of RR in the answer - * doesn't match the query. - */ -#define PJLIB_UTIL_EDNSINANSWER (PJLIB_UTIL_ERRNO_START+48) /* 320048 */ - - -/* DNS ERRORS MAPPED FROM RCODE: */ - -/** - * Start of error code mapped from DNS RCODE - */ -#define PJLIB_UTIL_DNS_RCODE_START (PJLIB_UTIL_ERRNO_START+50) /* 320050 */ - -/** - * Map DNS RCODE status into pj_status_t. - */ -#define PJ_STATUS_FROM_DNS_RCODE(rcode) (rcode==0 ? PJ_SUCCESS : \ - PJLIB_UTIL_DNS_RCODE_START+rcode) -/** - * @hideinitializer - * Format error - The name server was unable to interpret the query. - * This corresponds to DNS RCODE 1. - */ -#define PJLIB_UTIL_EDNS_FORMERR PJ_STATUS_FROM_DNS_RCODE(1) /* 320051 */ -/** - * @hideinitializer - * Server failure - The name server was unable to process this query due to a - * problem with the name server. - * This corresponds to DNS RCODE 2. - */ -#define PJLIB_UTIL_EDNS_SERVFAIL PJ_STATUS_FROM_DNS_RCODE(2) /* 320052 */ -/** - * @hideinitializer - * Name Error - Meaningful only for responses from an authoritative name - * server, this code signifies that the domain name referenced in the query - * does not exist. - * This corresponds to DNS RCODE 3. - */ -#define PJLIB_UTIL_EDNS_NXDOMAIN PJ_STATUS_FROM_DNS_RCODE(3) /* 320053 */ -/** - * @hideinitializer - * Not Implemented - The name server does not support the requested kind of - * query. - * This corresponds to DNS RCODE 4. - */ -#define PJLIB_UTIL_EDNS_NOTIMPL PJ_STATUS_FROM_DNS_RCODE(4) /* 320054 */ -/** - * @hideinitializer - * Refused - The name server refuses to perform the specified operation for - * policy reasons. - * This corresponds to DNS RCODE 5. - */ -#define PJLIB_UTIL_EDNS_REFUSED PJ_STATUS_FROM_DNS_RCODE(5) /* 320055 */ -/** - * @hideinitializer - * The name exists. - * This corresponds to DNS RCODE 6. - */ -#define PJLIB_UTIL_EDNS_YXDOMAIN PJ_STATUS_FROM_DNS_RCODE(6) /* 320056 */ -/** - * @hideinitializer - * The RRset (name, type) exists. - * This corresponds to DNS RCODE 7. - */ -#define PJLIB_UTIL_EDNS_YXRRSET PJ_STATUS_FROM_DNS_RCODE(7) /* 320057 */ -/** - * @hideinitializer - * The RRset (name, type) does not exist. - * This corresponds to DNS RCODE 8. - */ -#define PJLIB_UTIL_EDNS_NXRRSET PJ_STATUS_FROM_DNS_RCODE(8) /* 320058 */ -/** - * @hideinitializer - * The requestor is not authorized to perform this operation. - * This corresponds to DNS RCODE 9. - */ -#define PJLIB_UTIL_EDNS_NOTAUTH PJ_STATUS_FROM_DNS_RCODE(9) /* 320059 */ -/** - * @hideinitializer - * The zone specified is not a zone. - * This corresponds to DNS RCODE 10. - */ -#define PJLIB_UTIL_EDNS_NOTZONE PJ_STATUS_FROM_DNS_RCODE(10)/* 320060 */ - - -/************************************************************ - * NEW STUN ERROR - ***********************************************************/ -/* Messaging errors */ -/** - * @hideinitializer - * Too many STUN attributes. - */ -#define PJLIB_UTIL_ESTUNTOOMANYATTR (PJLIB_UTIL_ERRNO_START+110)/* 320110 */ -/** - * @hideinitializer - * Unknown STUN attribute. This error happens when the decoder encounters - * mandatory attribute type which it doesn't understand. - */ -#define PJLIB_UTIL_ESTUNUNKNOWNATTR (PJLIB_UTIL_ERRNO_START+111)/* 320111 */ -/** - * @hideinitializer - * Invalid STUN socket address length. - */ -#define PJLIB_UTIL_ESTUNINADDRLEN (PJLIB_UTIL_ERRNO_START+112)/* 320112 */ -/** - * @hideinitializer - * STUN IPv6 attribute not supported - */ -#define PJLIB_UTIL_ESTUNIPV6NOTSUPP (PJLIB_UTIL_ERRNO_START+113)/* 320113 */ -/** - * @hideinitializer - * Expecting STUN response message. - */ -#define PJLIB_UTIL_ESTUNNOTRESPONSE (PJLIB_UTIL_ERRNO_START+114)/* 320114 */ -/** - * @hideinitializer - * STUN transaction ID mismatch. - */ -#define PJLIB_UTIL_ESTUNINVALIDID (PJLIB_UTIL_ERRNO_START+115)/* 320115 */ -/** - * @hideinitializer - * Unable to find handler for the request. - */ -#define PJLIB_UTIL_ESTUNNOHANDLER (PJLIB_UTIL_ERRNO_START+116)/* 320116 */ -/** - * @hideinitializer - * Found non-FINGERPRINT attribute after MESSAGE-INTEGRITY. This is not - * valid since MESSAGE-INTEGRITY MUST be the last attribute or the - * attribute right before FINGERPRINT before the message. - */ -#define PJLIB_UTIL_ESTUNMSGINTPOS (PJLIB_UTIL_ERRNO_START+118)/* 320118 */ -/** - * @hideinitializer - * Found attribute after FINGERPRINT. This is not valid since FINGERPRINT - * MUST be the last attribute in the message. - */ -#define PJLIB_UTIL_ESTUNFINGERPOS (PJLIB_UTIL_ERRNO_START+119)/* 320119 */ -/** - * @hideinitializer - * Missing STUN USERNAME attribute. - * When credential is included in the STUN message (MESSAGE-INTEGRITY is - * present), the USERNAME attribute must be present in the message. - */ -#define PJLIB_UTIL_ESTUNNOUSERNAME (PJLIB_UTIL_ERRNO_START+120)/* 320120 */ -/** - * @hideinitializer - * Unknown STUN username/credential. - */ -#define PJLIB_UTIL_ESTUNUSERNAME (PJLIB_UTIL_ERRNO_START+121)/* 320121 */ -/** - * @hideinitializer - * Missing/invalidSTUN MESSAGE-INTEGRITY attribute. - */ -#define PJLIB_UTIL_ESTUNMSGINT (PJLIB_UTIL_ERRNO_START+122)/* 320122 */ -/** - * @hideinitializer - * Found duplicate STUN attribute. - */ -#define PJLIB_UTIL_ESTUNDUPATTR (PJLIB_UTIL_ERRNO_START+123)/* 320123 */ -/** - * @hideinitializer - * Missing STUN REALM attribute. - */ -#define PJLIB_UTIL_ESTUNNOREALM (PJLIB_UTIL_ERRNO_START+124)/* 320124 */ -/** - * @hideinitializer - * Missing/stale STUN NONCE attribute value. - */ -#define PJLIB_UTIL_ESTUNNONCE (PJLIB_UTIL_ERRNO_START+125)/* 320125 */ -/** - * @hideinitializer - * STUN transaction terminates with failure. - */ -#define PJLIB_UTIL_ESTUNTSXFAILED (PJLIB_UTIL_ERRNO_START+126)/* 320126 */ - - -//#define PJ_STATUS_FROM_STUN_CODE(code) (PJLIB_UTIL_ERRNO_START+code) - -/************************************************************ - * HTTP Client ERROR - ***********************************************************/ -/** - * @hideinitializer - * Invalid URL format - */ -#define PJLIB_UTIL_EHTTPINURL (PJLIB_UTIL_ERRNO_START+151)/* 320151 */ -/** - * @hideinitializer - * Invalid port number - */ -#define PJLIB_UTIL_EHTTPINPORT (PJLIB_UTIL_ERRNO_START+152)/* 320152 */ -/** - * @hideinitializer - * Incomplete headers received - */ -#define PJLIB_UTIL_EHTTPINCHDR (PJLIB_UTIL_ERRNO_START+153)/* 320153 */ -/** - * @hideinitializer - * Insufficient buffer - */ -#define PJLIB_UTIL_EHTTPINSBUF (PJLIB_UTIL_ERRNO_START+154)/* 320154 */ -/** - * @hideinitializer - * Connection lost - */ -#define PJLIB_UTIL_EHTTPLOST (PJLIB_UTIL_ERRNO_START+155)/* 320155 */ - -/** - * @} - */ - -#endif /* __PJLIB_UTIL_ERRNO_H__ */ diff --git a/res/pjproject/pjlib-util/include/pjlib-util/getopt.h b/res/pjproject/pjlib-util/include/pjlib-util/getopt.h deleted file mode 100644 index 6c304d2e48..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/getopt.h +++ /dev/null @@ -1,146 +0,0 @@ -/* $Id$ */ -/* This file has now become GPL. */ -/* Declarations for pj_getopt. - Copyright (C) 1989,90,91,92,93,94,96,97,98 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public License as - published by the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with the GNU C Library; see the file COPYING.LIB. If not, - write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ - -#ifndef __PJ_GETOPT_H__ -#define __PJ_GETOPT_H__ 1 - -/** - * @file getopt.h - * @brief Compile time settings - */ - -/** - * @defgroup PJLIB_UTIL_GETOPT Getopt - * @ingroup PJLIB_TEXT - * @{ - */ - -#ifdef __cplusplus -extern "C" { -#endif - -/* For communication from `pj_getopt' to the caller. - When `pj_getopt' finds an option that takes an argument, - the argument value is returned here. - Also, when `ordering' is RETURN_IN_ORDER, - each non-option ARGV-element is returned here. */ - -extern char *pj_optarg; - -/* Index in ARGV of the next element to be scanned. - This is used for communication to and from the caller - and for communication between successive calls to `pj_getopt'. - - On entry to `pj_getopt', zero means this is the first call; initialize. - - When `pj_getopt' returns -1, this is the index of the first of the - non-option elements that the caller should itself scan. - - Otherwise, `pj_optind' communicates from one call to the next - how much of ARGV has been scanned so far. */ - -extern int pj_optind; - -/* Set to an option character which was unrecognized. */ - -extern int pj_optopt; - -/* Describe the long-named options requested by the application. - The LONG_OPTIONS argument to pj_getopt_long or pj_getopt_long_only is a vector - of `struct pj_getopt_option' terminated by an element containing a name which is - zero. - - The field `has_arg' is: - no_argument (or 0) if the option does not take an argument, - required_argument (or 1) if the option requires an argument, - optional_argument (or 2) if the option takes an optional argument. - - If the field `flag' is not NULL, it points to a variable that is set - to the value given in the field `val' when the option is found, but - left unchanged if the option is not found. - - To have a long-named option do something other than set an `int' to - a compiled-in constant, such as set a value from `pj_optarg', set the - option's `flag' field to zero and its `val' field to a nonzero - value (the equivalent single-letter option character, if there is - one). For long options that have a zero `flag' field, `pj_getopt' - returns the contents of the `val' field. */ - -struct pj_getopt_option -{ - const char *name; - /* has_arg can't be an enum because some compilers complain about - type mismatches in all the code that assumes it is an int. */ - int has_arg; - int *flag; - int val; -}; - -/* Names for the values of the `has_arg' field of `struct pj_getopt_option'. */ - -# define no_argument 0 -# define required_argument 1 -# define optional_argument 2 - - -/* Get definitions and prototypes for functions to process the - arguments in ARGV (ARGC of them, minus the program name) for - options given in OPTS. - - Return the option character from OPTS just read. Return -1 when - there are no more options. For unrecognized options, or options - missing arguments, `pj_optopt' is set to the option letter, and '?' is - returned. - - The OPTS string is a list of characters which are recognized option - letters, optionally followed by colons, specifying that that letter - takes an argument, to be placed in `pj_optarg'. - - If a letter in OPTS is followed by two colons, its argument is - optional. This behavior is specific to the GNU `pj_getopt'. - - The argument `--' causes premature termination of argument - scanning, explicitly telling `pj_getopt' that there are no more - options. - - If OPTS begins with `--', then non-option arguments are treated as - arguments to the option '\0'. This behavior is specific to the GNU - `pj_getopt'. */ - -int pj_getopt (int argc, char *const *argv, const char *shortopts); - -int pj_getopt_long (int argc, char *const *argv, const char *options, - const struct pj_getopt_option *longopts, int *longind); -int pj_getopt_long_only (int argc, char *const *argv, - const char *shortopts, - const struct pj_getopt_option *longopts, int *longind); - - -#ifdef __cplusplus -} -#endif - -/** - * @} - */ - -#endif /* pj_getopt.h */ - diff --git a/res/pjproject/pjlib-util/include/pjlib-util/hmac_md5.h b/res/pjproject/pjlib-util/include/pjlib-util/hmac_md5.h deleted file mode 100644 index 2b59024ee8..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/hmac_md5.h +++ /dev/null @@ -1,109 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIB_UTIL_HMAC_MD5_H__ -#define __PJLIB_UTIL_HMAC_MD5_H__ - -/** - * @file hmac_md5.h - * @brief HMAC MD5 Message Authentication - */ - -/** - * @defgroup PJLIB_UTIL_ENCRYPTION Encryption Algorithms - */ - -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJLIB_UTIL_HMAC_MD5 HMAC MD5 Message Authentication - * @ingroup PJLIB_UTIL_ENCRYPTION - * @{ - * - * This module contains the implementation of HMAC: Keyed-Hashing - * for Message Authentication, as described in RFC 2104 - */ - -/** - * The HMAC-MD5 context used in the incremental HMAC calculation. - */ -typedef struct pj_hmac_md5_context -{ - pj_md5_context context; /**< MD5 context */ - pj_uint8_t k_opad[64]; /**< opad xor-ed with key */ -} pj_hmac_md5_context; - - -/** - * Calculate HMAC MD5 digest for the specified input and key. - * - * @param input Pointer to the input stream. - * @param input_len Length of input stream in bytes. - * @param key Pointer to the authentication key. - * @param key_len Length of the authentication key. - * @param digest Buffer to be filled with HMAC MD5 digest. - */ -PJ_DECL(void) pj_hmac_md5(const pj_uint8_t *input, unsigned input_len, - const pj_uint8_t *key, unsigned key_len, - pj_uint8_t digest[16]); - - -/** - * Initiate HMAC-MD5 context for incremental hashing. - * - * @param hctx HMAC-MD5 context. - * @param key Pointer to the authentication key. - * @param key_len Length of the authentication key. - */ -PJ_DECL(void) pj_hmac_md5_init(pj_hmac_md5_context *hctx, - const pj_uint8_t *key, unsigned key_len); - -/** - * Append string to the message. - * - * @param hctx HMAC-MD5 context. - * @param input Pointer to the input stream. - * @param input_len Length of input stream in bytes. - */ -PJ_DECL(void) pj_hmac_md5_update(pj_hmac_md5_context *hctx, - const pj_uint8_t *input, - unsigned input_len); - -/** - * Finish the message and return the digest. - * - * @param hctx HMAC-MD5 context. - * @param digest Buffer to be filled with HMAC MD5 digest. - */ -PJ_DECL(void) pj_hmac_md5_final(pj_hmac_md5_context *hctx, - pj_uint8_t digest[16]); - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJLIB_UTIL_HMAC_MD5_H__ */ - - diff --git a/res/pjproject/pjlib-util/include/pjlib-util/hmac_sha1.h b/res/pjproject/pjlib-util/include/pjlib-util/hmac_sha1.h deleted file mode 100644 index dc1ff201d6..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/hmac_sha1.h +++ /dev/null @@ -1,107 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIB_UTIL_HMAC_SHA1_H__ -#define __PJLIB_UTIL_HMAC_SHA1_H__ - -/** - * @file hmac_sha1.h - * @brief HMAC SHA1 Message Authentication - */ - -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJLIB_UTIL_HMAC_SHA1 HMAC SHA1 Message Authentication - * @ingroup PJLIB_UTIL_ENCRYPTION - * @{ - * - * This module contains the implementation of HMAC: Keyed-Hashing - * for Message Authentication, as described in RFC 2104. - */ - -/** - * The HMAC-SHA1 context used in the incremental HMAC calculation. - */ -typedef struct pj_hmac_sha1_context -{ - pj_sha1_context context; /**< SHA1 context */ - pj_uint8_t k_opad[64]; /**< opad xor-ed with key */ -} pj_hmac_sha1_context; - - -/** - * Calculate HMAC-SHA1 digest for the specified input and key with this - * single function call. - * - * @param input Pointer to the input stream. - * @param input_len Length of input stream in bytes. - * @param key Pointer to the authentication key. - * @param key_len Length of the authentication key. - * @param digest Buffer to be filled with HMAC SHA1 digest. - */ -PJ_DECL(void) pj_hmac_sha1(const pj_uint8_t *input, unsigned input_len, - const pj_uint8_t *key, unsigned key_len, - pj_uint8_t digest[20]); - - -/** - * Initiate HMAC-SHA1 context for incremental hashing. - * - * @param hctx HMAC-SHA1 context. - * @param key Pointer to the authentication key. - * @param key_len Length of the authentication key. - */ -PJ_DECL(void) pj_hmac_sha1_init(pj_hmac_sha1_context *hctx, - const pj_uint8_t *key, unsigned key_len); - -/** - * Append string to the message. - * - * @param hctx HMAC-SHA1 context. - * @param input Pointer to the input stream. - * @param input_len Length of input stream in bytes. - */ -PJ_DECL(void) pj_hmac_sha1_update(pj_hmac_sha1_context *hctx, - const pj_uint8_t *input, - unsigned input_len); - -/** - * Finish the message and return the digest. - * - * @param hctx HMAC-SHA1 context. - * @param digest Buffer to be filled with HMAC SHA1 digest. - */ -PJ_DECL(void) pj_hmac_sha1_final(pj_hmac_sha1_context *hctx, - pj_uint8_t digest[20]); - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJLIB_UTIL_HMAC_SHA1_H__ */ - - diff --git a/res/pjproject/pjlib-util/include/pjlib-util/http_client.h b/res/pjproject/pjlib-util/include/pjlib-util/http_client.h deleted file mode 100644 index b75c7ea8b2..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/http_client.h +++ /dev/null @@ -1,494 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIB_UTIL_HTTP_CLIENT_H__ -#define __PJLIB_UTIL_HTTP_CLIENT_H__ - -/** - * @file http_client.h - * @brief Simple HTTP Client - */ -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_HTTP_CLIENT Simple HTTP Client - * @ingroup PJ_PROTOCOLS - * @{ - * This contains a simple HTTP client implementation. - * Some known limitations: - * - Does not support chunked Transfer-Encoding. - */ - -/** - * This opaque structure describes the http request. - */ -typedef struct pj_http_req pj_http_req; - -/** - * Defines the maximum number of elements in a pj_http_headers - * structure. - */ -#define PJ_HTTP_HEADER_SIZE 32 - -/** - * HTTP header representation. - */ -typedef struct pj_http_header_elmt -{ - pj_str_t name; /**< Header name */ - pj_str_t value; /**< Header value */ -} pj_http_header_elmt; - -/** - * This structure describes http request/response headers. - * Application should call #pj_http_headers_add_elmt() to - * add a header field. - */ -typedef struct pj_http_headers -{ - /**< Number of header fields */ - unsigned count; - - /** Header elements/fields */ - pj_http_header_elmt header[PJ_HTTP_HEADER_SIZE]; -} pj_http_headers; - -/** - * Structure to save HTTP authentication credential. - */ -typedef struct pj_http_auth_cred -{ - /** - * Specify specific authentication schemes to be responded. Valid values - * are "basic" and "digest". If this field is not set, any authentication - * schemes will be responded. - * - * Default is empty. - */ - pj_str_t scheme; - - /** - * Specify specific authentication realm to be responded. If this field - * is set, only 401/407 response with matching realm will be responded. - * If this field is not set, any realms will be responded. - * - * Default is empty. - */ - pj_str_t realm; - - /** - * Specify authentication username. - * - * Default is empty. - */ - pj_str_t username; - - /** - * The type of password in \a data field. Currently only 0 is - * supported, meaning the \a data contains plain-text password. - * - * Default is 0. - */ - unsigned data_type; - - /** - * Specify authentication password. The encoding of the password depends - * on the value of \a data_type field above. - * - * Default is empty. - */ - pj_str_t data; - -} pj_http_auth_cred; - - -/** - * Parameters that can be given during http request creation. Application - * must initialize this structure with #pj_http_req_param_default(). - */ -typedef struct pj_http_req_param -{ - /** - * The address family of the URL. - * Default is pj_AF_INET(). - */ - int addr_family; - - /** - * The HTTP request method. - * Default is GET. - */ - pj_str_t method; - - /** - * The HTTP protocol version ("1.0" or "1.1"). - * Default is "1.0". - */ - pj_str_t version; - - /** - * HTTP request operation timeout. - * Default is PJ_HTTP_DEFAULT_TIMEOUT. - */ - pj_time_val timeout; - - /** - * User-defined data. - * Default is NULL. - */ - void *user_data; - - /** - * HTTP request headers. - * Default is empty. - */ - pj_http_headers headers; - - /** - * This structure describes the http request body. If application - * specifies the data to send, the data must remain valid until - * the HTTP request is sent. Alternatively, application can choose - * to specify total_size as the total data size to send instead - * while leaving the data NULL (and its size 0). In this case, - * HTTP request will then call on_send_data() callback once it is - * ready to send the request body. This will be useful if - * application does not wish to load the data into the buffer at - * once. - * - * Default is empty. - */ - struct pj_http_reqdata - { - void *data; /**< Request body data */ - pj_size_t size; /**< Request body size */ - pj_size_t total_size; /**< If total_size > 0, data */ - /**< will be provided later */ - } reqdata; - - /** - * Authentication credential needed to respond to 401/407 response. - */ - pj_http_auth_cred auth_cred; - - /** - * Optional source port range to use when binding the socket. - * This can be used if the source port needs to be within a certain range - * for instance due to strict firewall settings. The port used will be - * randomized within the range. - * - * Note that if authentication is configured, the authentication response - * will be a new transaction - * - * Default is 0 (The OS will select the source port automatically) - */ - pj_uint16_t source_port_range_start; - - /** - * Optional source port range to use when binding. - * The size of the port restriction range - * - * Default is 0 (The OS will select the source port automatically)) - */ - pj_uint16_t source_port_range_size; - - /** - * Max number of retries if binding to a port fails. - * Note that this does not adress the scenario where a request times out - * or errors. This needs to be taken care of by the on_complete callback. - * - * Default is 3 - */ - pj_uint16_t max_retries; - -} pj_http_req_param; - -/** - * HTTP authentication challenge, parsed from WWW-Authenticate header. - */ -typedef struct pj_http_auth_chal -{ - pj_str_t scheme; /**< Auth scheme. */ - pj_str_t realm; /**< Realm for the challenge. */ - pj_str_t domain; /**< Domain. */ - pj_str_t nonce; /**< Nonce challenge. */ - pj_str_t opaque; /**< Opaque value. */ - int stale; /**< Stale parameter. */ - pj_str_t algorithm; /**< Algorithm parameter. */ - pj_str_t qop; /**< Quality of protection. */ -} pj_http_auth_chal; - -/** - * This structure describes HTTP response. - */ -typedef struct pj_http_resp -{ - pj_str_t version; /**< HTTP version of the server */ - pj_uint16_t status_code; /**< Status code of the request */ - pj_str_t reason; /**< Reason phrase */ - pj_http_headers headers; /**< Response headers */ - pj_http_auth_chal auth_chal; /**< Parsed WWW-Authenticate header, if - any. */ - pj_int32_t content_length; /**< The value of content-length header - field. -1 if not specified. */ - void *data; /**< Data received */ - pj_size_t size; /**< Data size */ -} pj_http_resp; - -/** - * This structure describes HTTP URL. - */ -typedef struct pj_http_url -{ - pj_str_t username; /**< Username part */ - pj_str_t passwd; /**< Password part */ - pj_str_t protocol; /**< Protocol used */ - pj_str_t host; /**< Host name */ - pj_uint16_t port; /**< Port number */ - pj_str_t path; /**< Path */ -} pj_http_url; - -/** - * This structure describes the callbacks to be called by the HTTP request. - */ -typedef struct pj_http_req_callback -{ - /** - * This callback is called when a complete HTTP response header - * is received. - * - * @param http_req The http request. - * @param resp The response of the request. - */ - void (*on_response)(pj_http_req *http_req, const pj_http_resp *resp); - - /** - * This callback is called when the HTTP request is ready to send - * its request body. Application may wish to use this callback if - * it wishes to load the data at a later time or if it does not - * wish to load the whole data into memory. In order for this - * callback to be called, application MUST set http_req_param.total_size - * to a value greater than 0. - * - * @param http_req The http request. - * @param data Pointer to the data that will be sent. Application - * must set the pointer to the current data chunk/segment - * to be sent. Data must remain valid until the next - * on_send_data() callback or for the last segment, - * until it is sent. - * @param size Pointer to the data size that will be sent. - */ - void (*on_send_data)(pj_http_req *http_req, - void **data, pj_size_t *size); - - /** - * This callback is called when a segment of response body data - * arrives. If this callback is specified (i.e. not NULL), the - * on_complete() callback will be called with zero-length data - * (within the response parameter), hence the application must - * store and manage its own data buffer, otherwise the - * on_complete() callback will be called with the response - * parameter containing the complete data. - * - * @param http_req The http request. - * @param data The buffer containing the data. - * @param size The length of data in the buffer. - */ - void (*on_data_read)(pj_http_req *http_req, - void *data, pj_size_t size); - - /** - * This callback is called when the HTTP request is completed. - * If the callback on_data_read() is specified, the variable - * response->data will be set to NULL, otherwise it will - * contain the complete data. Response data is allocated from - * pj_http_req's internal memory pool so the data remain valid - * as long as pj_http_req is not destroyed and application does - * not start a new request. - * - * If no longer required, application may choose to destroy - * pj_http_req immediately by calling #pj_http_req_destroy() inside - * the callback. - * - * @param http_req The http request. - * @param status The status of the request operation. PJ_SUCCESS - * if the operation completed successfully - * (connection-wise). To check the server's - * status-code response to the HTTP request, - * application should check resp->status_code instead. - * @param resp The response of the corresponding request. If - * the status argument is non-PJ_SUCCESS, this - * argument will be set to NULL. - */ - void (*on_complete)(pj_http_req *http_req, - pj_status_t status, - const pj_http_resp *resp); - -} pj_http_req_callback; - - -/** - * Initialize the http request parameters with the default values. - * - * @param param The parameter to be initialized. - */ -PJ_DECL(void) pj_http_req_param_default(pj_http_req_param *param); - -/** - * Add a header element/field. Application MUST make sure that - * name and val pointer remains valid until the HTTP request is sent. - * - * @param headers The headers. - * @param name The header field name. - * @param value The header field value. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_http_headers_add_elmt(pj_http_headers *headers, - pj_str_t *name, - pj_str_t *val); - -/** - * The same as #pj_http_headers_add_elmt() with char * as - * its parameters. Application MUST make sure that name and val pointer - * remains valid until the HTTP request is sent. - * - * @param headers The headers. - * @param name The header field name. - * @param value The header field value. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_http_headers_add_elmt2(pj_http_headers *headers, - char *name, char *val); - -/** - * Parse a http URL into its components. - * - * @param url The URL to be parsed. - * @param hurl Pointer to receive the parsed result. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_http_req_parse_url(const pj_str_t *url, - pj_http_url *hurl); - -/** - * Create the HTTP request. - * - * @param pool Pool to use. HTTP request will use the pool's factory - * to allocate its own memory pool. - * @param url HTTP URL request. - * @param timer The timer to use. - * @param ioqueue The ioqueue to use. - * @param param Optional parameters. When this parameter is not - * specifed (NULL), the default values will be used. - * @param hcb Pointer to structure containing application - * callbacks. - * @param http_req Pointer to receive the http request instance. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_http_req_create(pj_pool_t *pool, - const pj_str_t *url, - pj_timer_heap_t *timer, - pj_ioqueue_t *ioqueue, - const pj_http_req_param *param, - const pj_http_req_callback *hcb, - pj_http_req **http_req); - -/** - * Set the timeout of the HTTP request operation. Note that if the - * HTTP request is currently running, the timeout will only affect - * subsequent request operations. - * - * @param http_req The http request. - * @param timeout Timeout value for HTTP request operation. - */ -PJ_DECL(void) pj_http_req_set_timeout(pj_http_req *http_req, - const pj_time_val* timeout); - -/** - * Starts an asynchronous HTTP request to the URL specified. - * - * @param http_req The http request. - * - * @return - * - PJ_SUCCESS if success - * - non-zero which indicates the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_http_req_start(pj_http_req *http_req); - -/** - * Cancel the asynchronous HTTP request. - * - * @param http_req The http request. - * @param notify If non-zero, the on_complete() callback will be - * called with status PJ_ECANCELLED to notify that - * the query has been cancelled. - * - * @return - * - PJ_SUCCESS if success - * - non-zero which indicates the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_http_req_cancel(pj_http_req *http_req, - pj_bool_t notify); - -/** - * Destroy the http request. - * - * @param http_req The http request to be destroyed. - * - * @return PJ_SUCCESS if success. - */ -PJ_DECL(pj_status_t) pj_http_req_destroy(pj_http_req *http_req); - -/** - * Find out whether the http request is running. - * - * @param http_req The http request. - * - * @return PJ_TRUE if a request is pending, or - * PJ_FALSE if idle - */ -PJ_DECL(pj_bool_t) pj_http_req_is_running(const pj_http_req *http_req); - -/** - * Retrieve the user data previously associated with this http - * request. - * - * @param http_req The http request. - * - * @return The user data. - */ -PJ_DECL(void *) pj_http_req_get_user_data(pj_http_req *http_req); - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJLIB_UTIL_HTTP_CLIENT_H__ */ diff --git a/res/pjproject/pjlib-util/include/pjlib-util/md5.h b/res/pjproject/pjlib-util/include/pjlib-util/md5.h deleted file mode 100644 index f8c68be8b8..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/md5.h +++ /dev/null @@ -1,74 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIB_UTIL_MD5_H__ -#define __PJLIB_UTIL_MD5_H__ - -/** - * @file md5.h - * @brief MD5 Functions - */ - -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJLIB_UTIL_MD5 MD5 - * @ingroup PJLIB_UTIL_ENCRYPTION - * @{ - */ - - -/** MD5 context. */ -typedef struct pj_md5_context -{ - pj_uint32_t buf[4]; /**< buf */ - pj_uint32_t bits[2]; /**< bits */ - pj_uint8_t in[64]; /**< in */ -} pj_md5_context; - -/** Initialize the algorithm. - * @param pms MD5 context. - */ -PJ_DECL(void) pj_md5_init(pj_md5_context *pms); - -/** Append a string to the message. - * @param pms MD5 context. - * @param data Data. - * @param nbytes Length of data. - */ -PJ_DECL(void) pj_md5_update( pj_md5_context *pms, - const pj_uint8_t *data, unsigned nbytes); - -/** Finish the message and return the digest. - * @param pms MD5 context. - * @param digest 16 byte digest. - */ -PJ_DECL(void) pj_md5_final(pj_md5_context *pms, pj_uint8_t digest[16]); - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJLIB_UTIL_MD5_H__ */ diff --git a/res/pjproject/pjlib-util/include/pjlib-util/pcap.h b/res/pjproject/pjlib-util/include/pjlib-util/pcap.h deleted file mode 100644 index d6283dc248..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/pcap.h +++ /dev/null @@ -1,196 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIB_UTIL_PCAP_H__ -#define __PJLIB_UTIL_PCAP_H__ - -/** - * @file pcap.h - * @brief Simple PCAP file reader - */ - -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_PCAP Simple PCAP file reader - * @ingroup PJ_FILE_FMT - * @{ - * This module describes simple utility to read PCAP file. It is not intended - * to support all PCAP features (that's what libpcap is for!), but it can - * be useful for example to playback or stream PCAP contents. - */ - -/** - * Enumeration to describe supported data link types. - */ -typedef enum pj_pcap_link_type -{ - /** Ethernet data link */ - PJ_PCAP_LINK_TYPE_ETH = 1 - -} pj_pcap_link_type; - - -/** - * Enumeration to describe supported protocol types. - */ -typedef enum pj_pcap_proto_type -{ - /** UDP protocol */ - PJ_PCAP_PROTO_TYPE_UDP = 17 - -} pj_pcap_proto_type; - - -/** - * This describes UDP header, which may optionally be returned in - * #pj_pcap_read_udp() function. All fields are in network byte order. - */ -typedef struct pj_pcap_udp_hdr -{ - pj_uint16_t src_port; /**< Source port. */ - pj_uint16_t dst_port; /**< Destination port */ - pj_uint16_t len; /**< Length. */ - pj_uint16_t csum; /**< Checksum. */ -} pj_pcap_udp_hdr; - - -/** - * This structure describes the filter to be used when reading packets from - * a PCAP file. When a filter is configured, only packets matching all the - * filter specifications will be read from PCAP file. - */ -typedef struct pj_pcap_filter -{ - /** - * Select data link type, or zero to include any supported data links. - */ - pj_pcap_link_type link; - - /** - * Select protocol, or zero to include all supported protocols. - */ - pj_pcap_proto_type proto; - - /** - * Specify source IP address of the packets, or zero to include packets - * from any IP addresses. Note that IP address here must be in - * network byte order. - */ - pj_uint32_t ip_src; - - /** - * Specify destination IP address of the packets, or zero to include packets - * destined to any IP addresses. Note that IP address here must be in - * network byte order. - */ - pj_uint32_t ip_dst; - - /** - * Specify source port of the packets, or zero to include packets with - * any source port number. Note that the port number must be in network - * byte order. - */ - pj_uint16_t src_port; - - /** - * Specify destination port of the packets, or zero to include packets with - * any destination port number. Note that the port number must be in network - * byte order. - */ - pj_uint16_t dst_port; - -} pj_pcap_filter; - - -/** Opaque declaration for PCAP file */ -typedef struct pj_pcap_file pj_pcap_file; - - -/** - * Initialize filter with default values. The default value is to allow - * any packets. - * - * @param filter Filter to be initialized. - */ -PJ_DECL(void) pj_pcap_filter_default(pj_pcap_filter *filter); - -/** - * Open PCAP file. - * - * @param pool Pool to allocate memory. - * @param path File/path name. - * @param p_file Pointer to receive PCAP file handle. - * - * @return PJ_SUCCESS if file can be opened successfully. - */ -PJ_DECL(pj_status_t) pj_pcap_open(pj_pool_t *pool, - const char *path, - pj_pcap_file **p_file); - -/** - * Close PCAP file. - * - * @param file PCAP file handle. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_pcap_close(pj_pcap_file *file); - -/** - * Configure filter for reading the file. When filter is configured, - * only packets matching all the filter settings will be returned. - * - * @param file PCAP file handle. - * @param filter The filter. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_pcap_set_filter(pj_pcap_file *file, - const pj_pcap_filter *filter); - -/** - * Read UDP payload from the next packet in the PCAP file. Optionally it - * can return the UDP header, if caller supplies it. - * - * @param file PCAP file handle. - * @param udp_hdr Optional buffer to receive UDP header. - * @param udp_payload Buffer to receive the UDP payload. - * @param udp_payload_size On input, specify the size of the buffer. - * On output, it will be filled with the actual size - * of the payload as read from the packet. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_pcap_read_udp(pj_pcap_file *file, - pj_pcap_udp_hdr *udp_hdr, - pj_uint8_t *udp_payload, - pj_size_t *udp_payload_size); - - -/** - * @} - */ - -PJ_END_DECL - -#endif /* __PJLIB_UTIL_PCAP_H__ */ - diff --git a/res/pjproject/pjlib-util/include/pjlib-util/resolver.h b/res/pjproject/pjlib-util/include/pjlib-util/resolver.h deleted file mode 100644 index 0611747bb7..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/resolver.h +++ /dev/null @@ -1,460 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIB_UTIL_RESOLVER_H__ -#define __PJLIB_UTIL_RESOLVER_H__ - -/** - * @file resolver.h - * @brief Asynchronous DNS resolver - */ -#include - - -PJ_BEGIN_DECL - - -/** - * @defgroup PJ_DNS_RESOLVER DNS Asynchronous/Caching Resolution Engine - * @ingroup PJ_DNS - * @{ - * - * This module manages the host/server resolution by performing asynchronous - * DNS queries and caching the results in the cache. It uses PJLIB-UTIL - * low-level DNS parsing functions (see @ref PJ_DNS) and currently supports - * several types of DNS resource records such as A record (typical query with - * gethostbyname()) and SRV record. - * - * \section PJ_DNS_RESOLVER_FEATURES Features - * - * \subsection PJ_DNS_RESOLVER_FEATURES_ASYNC Asynchronous Query and Query Aggregation - * - * The DNS queries are performed asychronously, with timeout setting - * configured on per resolver instance basis. Application can issue multiple - * asynchronous queries simultaneously. Subsequent queries to the same resource - * (name and DNS resource type) while existing query is still pending will be - * merged into one query, so that only one DNS request packet is issued. - * - * \subsection PJ_DNS_RESOLVER_FEATURES_RETRANSMISSION Query Retransmission - * - * Asynchronous query will be retransmitted if no response is received - * within the preconfigured time. Once maximum retransmission count is - * exceeded and no response is received, the query will time out and the - * callback will be called when error status. - * - * \subsection PJ_DNS_RESOLVER_FEATURES_CACHING Response Caching with TTL - * - * The resolver instance caches the results returned by nameservers, to - * enhance the performance by minimizing the message round-trip to the server. - * The TTL of the cached resposne is calculated from minimum TTL value found - * across all resource record (RR) TTL in the response and further more it can - * be limited to some preconfigured maximum TTL in the resolver. - * - * Response caching can be disabled by setting the maximum TTL value of the - * resolver to zero. - * - * \subsection PJ_DNS_RESOLVER_FEATURES_PARALLEL Parallel and Backup Name Servers - * - * When the resolver is configured with multiple nameservers, initially the - * queries will be issued to multiple name servers simultaneously to probe - * which servers are not active. Once the probing stage is done, subsequent - * queries will be directed to only one ACTIVE server which provides the best - * response time. - * - * Name servers are probed periodically to see which nameservers are active - * and which are down. This probing is done when a query is sent, thus no - * timer is needed to maintain this. Also probing will be done in parallel - * so that there would be no additional delay for the query. - * - * - * \subsection PJ_DNS_RESOLVER_FEATURES_REC Supported Resource Records - * - * The low-level DNS parsing utility (see @ref PJ_DNS) supports parsing of - * the following DNS resource records (RR): - * - DNS A record - * - DNS SRV record - * - DNS PTR record - * - DNS NS record - * - DNS CNAME record - * - * For other types of record, application can parse the raw resource - * record data (rdata) from the parsed DNS packet (#pj_dns_parsed_packet). - * - * - * \section PJ_DNS_RESOLVER_USING Using the Resolver - * - * To use the resolver, application first creates the resolver instance by - * calling #pj_dns_resolver_create(). If application already has its own - * timer and ioqueue instances, it can instruct the resolver to use these - * instances so that application does not need to poll the resolver - * periodically to process events. If application does not specify the - * timer and ioqueue instance for the resolver, an internal timer and - * ioqueue will be created by the resolver. And since the resolver does not - * create it's own thread, application MUST poll the resolver periodically - * by calling #pj_dns_resolver_handle_events() to allow events (network and - * timer) to be processed. - * - * Next, application MUST configure the nameservers to be used by the - * resolver, by calling #pj_dns_resolver_set_ns(). - * - * Application performs asynchronous query by submitting the query with - * #pj_dns_resolver_start_query(). Once the query completes (either - * successfully or times out), the callback will be called. - * - * Application can cancel a pending query by calling #pj_dns_resolver_cancel_query(). - * - * Resolver must be destroyed by calling #pj_dns_resolver_destroy() to - * release all resources back to the system. - * - * - * \section PJ_DNS_RESOLVER_LIMITATIONS Resolver Limitations - * - * Current implementation mainly suffers from a growing memory problem, - * which mainly is caused by the response caching. Although there is only - * one cache entry per {query, name} combination, these cache entry will - * never get deleted since there is no timer is created to invalidate these - * entries. So the more unique names being queried by application, there more - * enties will be created in the response cache. - * - * Note that a single response entry will occupy about 600-700 bytes of - * pool memory (the PJ_DNS_RESOLVER_RES_BUF_SIZE value plus internal - * structure). - * - * Application can work around this problem by doing one of these: - * - disable caching by setting PJ_DNS_RESOLVER_MAX_TTL and - * PJ_DNS_RESOLVER_INVALID_TTL to zero. - * - periodically query #pj_dns_resolver_get_cached_count() and destroy- - * recreate the resolver to recycle the memory used by the resolver. - * - * Note that future improvement may solve this problem by introducing - * expiration timer to the cached entries. - * - * - * \section PJ_DNS_RESOLVER_REFERENCE Reference - * - * The PJLIB-UTIL resolver was built from the information in the following - * standards: - * - - * RFC 1035: "Domain names - implementation and specification" - * - - * RFC 2782: "A DNS RR for specifying the location of services (DNS SRV)" - * - */ - - - -/** - * Opaque data type for DNS resolver object. - */ -typedef struct pj_dns_resolver pj_dns_resolver; - -/** - * Opaque data type for asynchronous DNS query object. - */ -typedef struct pj_dns_async_query pj_dns_async_query; - -/** - * Type of asynchronous callback which will be called when the asynchronous - * query completes. - * - * @param user_data The user data set by application when creating the - * asynchronous query. - * @param status Status of the DNS resolution. - * @param response The response packet received from the server. This - * argument may be NULL when status is not PJ_SUCCESS. - */ -typedef void pj_dns_callback(void *user_data, - pj_status_t status, - pj_dns_parsed_packet *response); - - -/** - * This structure describes resolver settings. - */ -typedef struct pj_dns_settings -{ - unsigned options; /**< Options flags. */ - unsigned qretr_delay; /**< Query retransmit delay in msec. */ - unsigned qretr_count; /**< Query maximum retransmission count. */ - unsigned cache_max_ttl; /**< Maximum TTL for cached responses. If the - value is zero, caching is disabled. */ - unsigned good_ns_ttl; /**< See #PJ_DNS_RESOLVER_GOOD_NS_TTL */ - unsigned bad_ns_ttl; /**< See #PJ_DNS_RESOLVER_BAD_NS_TTL */ -} pj_dns_settings; - - -/** - * This structure represents DNS A record, as the result of parsing - * DNS response packet using #pj_dns_parse_a_response(). - */ -typedef struct pj_dns_a_record -{ - /** The target name being queried. */ - pj_str_t name; - - /** If target name corresponds to a CNAME entry, the alias contains - * the value of the CNAME entry, otherwise it will be empty. - */ - pj_str_t alias; - - /** Number of IP addresses. */ - unsigned addr_count; - - /** IP addresses of the host found in the response */ - pj_in_addr addr[PJ_DNS_MAX_IP_IN_A_REC]; - - /** Internal buffer for hostname and alias. */ - char buf_[128]; - -} pj_dns_a_record; - - -/** - * Set default values to the DNS settings. - * - * @param s The DNS settings to be initialized. - */ -PJ_DECL(void) pj_dns_settings_default(pj_dns_settings *s); - - -/** - * Create DNS resolver instance. After the resolver is created, application - * MUST configure the nameservers with #pj_dns_resolver_set_ns(). - * - * When creating the resolver, application may specify both timer heap - * and ioqueue instance, so that it doesn't need to poll the resolver - * periodically. - * - * @param pf Pool factory where the memory pool will be created from. - * @param name Optional resolver name to identify the instance in - * the log. - * @param options Optional options, must be zero for now. - * @param timer Optional timer heap instance to be used by the resolver. - * If timer heap is not specified, an internal timer will be - * created, and application would need to poll the resolver - * periodically. - * @param ioqueue Optional I/O Queue instance to be used by the resolver. - * If ioqueue is not specified, an internal one will be - * created, and application would need to poll the resolver - * periodically. - * @param p_resolver Pointer to receive the resolver instance. - * - * @return PJ_SUCCESS on success, or the appropriate error code, - */ -PJ_DECL(pj_status_t) pj_dns_resolver_create(pj_pool_factory *pf, - const char *name, - unsigned options, - pj_timer_heap_t *timer, - pj_ioqueue_t *ioqueue, - pj_dns_resolver **p_resolver); - - -/** - * Update the name servers for the DNS resolver. The name servers MUST be - * configured before any resolution can be done. The order of nameservers - * specifies their priority; the first name server will be tried first - * before the next in the list. - * - * @param resolver The resolver instance. - * @param count Number of name servers in the array. - * @param servers Array of name server IP addresses or hostnames. If - * hostname is specified, the hostname must be resolvable - * with pj_gethostbyname(). - * @param ports Optional array of ports. If this argument is NULL, - * the nameserver will use default port. - * - * @return PJ_SUCCESS on success, or the appropriate error code, - */ -PJ_DECL(pj_status_t) pj_dns_resolver_set_ns(pj_dns_resolver *resolver, - unsigned count, - const pj_str_t servers[], - const pj_uint16_t ports[]); - - -/** - * Get the resolver current settings. - * - * @param resolver The resolver instance. - * @param st Buffer to be filled up with resolver settings. - * - * @return The query timeout setting, in seconds. - */ -PJ_DECL(pj_status_t) pj_dns_resolver_get_settings(pj_dns_resolver *resolver, - pj_dns_settings *st); - - -/** - * Modify the resolver settings. Application should initialize the settings - * by retrieving current settings first before applying new settings, to - * ensure that all fields are initialized properly. - * - * @param resolver The resolver instance. - * @param st The resolver settings. - * - * @return PJ_SUCCESS on success, or the appropriate error code, - */ -PJ_DECL(pj_status_t) pj_dns_resolver_set_settings(pj_dns_resolver *resolver, - const pj_dns_settings *st); - - -/** - * Poll for events from the resolver. This function MUST be called - * periodically when the resolver is using it's own timer or ioqueue - * (in other words, when NULL is specified as either \a timer or - * \a ioqueue argument in #pj_dns_resolver_create()). - * - * @param resolver The resolver instance. - * @param timeout Maximum time to wait for event occurence. If this - * argument is NULL, this function will wait forever - * until events occur. - */ -PJ_DECL(void) pj_dns_resolver_handle_events(pj_dns_resolver *resolver, - const pj_time_val *timeout); - - -/** - * Destroy DNS resolver instance. - * - * @param resolver The resolver object to be destryed - * @param notify If non-zero, all pending asynchronous queries will be - * cancelled and its callback will be called. If FALSE, - * then no callback will be called. - * - * @return PJ_SUCCESS on success, or the appropriate error code, - */ -PJ_DECL(pj_status_t) pj_dns_resolver_destroy(pj_dns_resolver *resolver, - pj_bool_t notify); - - -/** - * Create and start asynchronous DNS query for a single resource. Depending - * on whether response cache is available, this function will either start - * an asynchronous DNS query or call the callback immediately. - * - * If response is not available in the cache, an asynchronous query will be - * started, and callback will be called at some time later when the query - * completes. If \a p_query argument is not NULL, it will be filled with - * the asynchronous query object. - * - * If response is available in the cache, the callback will be called - * immediately before this function returns. In this case, if \a p_query - * argument is not NULL, the value will be set to NULL since no new query - * is started. - * - * @param resolver The resolver object. - * @param name The name to be resolved. - * @param type The type of resource (see #pj_dns_type constants). - * @param options Optional options, must be zero for now. - * @param cb Callback to be called when the query completes, - * either successfully or with failure. - * @param user_data Arbitrary user data to be associated with the query, - * and which will be given back in the callback. - * @param p_query Optional pointer to receive the query object, if one - * was started. If this pointer is specified, a NULL may - * be returned if response cache is available immediately. - * - * @return PJ_SUCCESS if either an asynchronous query has been - * started successfully or response cache is available and - * the user callback has been called. - */ -PJ_DECL(pj_status_t) pj_dns_resolver_start_query(pj_dns_resolver *resolver, - const pj_str_t *name, - int type, - unsigned options, - pj_dns_callback *cb, - void *user_data, - pj_dns_async_query **p_query); - -/** - * Cancel a pending query. - * - * @param query The pending asynchronous query to be cancelled. - * @param notify If non-zero, the callback will be called with failure - * status to notify that the query has been cancelled. - * - * @return PJ_SUCCESS on success, or the appropriate error code, - */ -PJ_DECL(pj_status_t) pj_dns_resolver_cancel_query(pj_dns_async_query *query, - pj_bool_t notify); - -/** - * A utility function to parse a DNS response containing A records into - * DNS A record. - * - * @param pkt The DNS response packet. - * @param rec The structure to be initialized with the parsed - * DNS A record from the packet. - * - * @return PJ_SUCCESS if response can be parsed successfully. - */ -PJ_DECL(pj_status_t) pj_dns_parse_a_response(const pj_dns_parsed_packet *pkt, - pj_dns_a_record *rec); - - -/** - * Put the specified DNS packet into DNS cache. This function is mainly used - * for testing the resolver, however it can also be used to inject entries - * into the resolver. - * - * The packet MUST contain either answer section or query section so that - * it can be indexed. - * - * @param resolver The resolver instance. - * @param pkt DNS packet to be added to the DNS cache. If the packet - * matches existing entry, it will update the entry. - * @param set_ttl If the value is PJ_FALSE, the entry will not expire - * (so use with care). Otherwise cache expiration will be - * calculated based on the TTL of the answeres. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_dns_resolver_add_entry(pj_dns_resolver *resolver, - const pj_dns_parsed_packet *pkt, - pj_bool_t set_ttl); - -/** - * Get the total number of response in the response cache. - * - * @param resolver The resolver instance. - * - * @return Current number of entries being stored in the response - * cache. - */ -PJ_DECL(unsigned) pj_dns_resolver_get_cached_count(pj_dns_resolver *resolver); - - -/** - * Dump resolver state to the log. - * - * @param resolver The resolver instance. - * @param detail Will print detailed entries. - */ -PJ_DECL(void) pj_dns_resolver_dump(pj_dns_resolver *resolver, - pj_bool_t detail); - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJLIB_UTIL_RESOLVER_H__ */ - diff --git a/res/pjproject/pjlib-util/include/pjlib-util/scanner.h b/res/pjproject/pjlib-util/include/pjlib-util/scanner.h deleted file mode 100644 index dfed17e208..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/scanner.h +++ /dev/null @@ -1,555 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_SCANNER_H__ -#define __PJ_SCANNER_H__ - -/** - * @file scanner.h - * @brief Text Scanning. - */ - -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_SCAN Fast Text Scanning - * @ingroup PJLIB_TEXT - * @brief Text scanning utility. - * - * This module describes a fast text scanning functions. - * - * @{ - */ -#if defined(PJ_SCANNER_USE_BITWISE) && PJ_SCANNER_USE_BITWISE != 0 -# include -#else -# include -#endif - -/** - * Initialize scanner input specification buffer. - * - * @param cs_buf The scanner character specification. - */ -PJ_DECL(void) pj_cis_buf_init(pj_cis_buf_t *cs_buf); - -/** - * Create a new input specification. - * - * @param cs_buf Specification buffer. - * @param cis Character input specification to be initialized. - * - * @return PJ_SUCCESS if new specification has been successfully - * created, or PJ_ETOOMANY if there are already too many - * specifications in the buffer. - */ -PJ_DECL(pj_status_t) pj_cis_init(pj_cis_buf_t *cs_buf, pj_cis_t *cis); - -/** - * Create a new input specification based on an existing specification. - * - * @param new_cis The new specification to be initialized. - * @param existing The existing specification, from which the input - * bitmask will be copied to the new specification. - * - * @return PJ_SUCCESS if new specification has been successfully - * created, or PJ_ETOOMANY if there are already too many - * specifications in the buffer. - */ -PJ_DECL(pj_status_t) pj_cis_dup(pj_cis_t *new_cis, pj_cis_t *existing); - -/** - * Add the characters in the specified range '[cstart, cend)' to the - * specification (the last character itself ('cend') is not added). - * - * @param cis The scanner character specification. - * @param cstart The first character in the range. - * @param cend The next character after the last character in the range. - */ -PJ_DECL(void) pj_cis_add_range( pj_cis_t *cis, int cstart, int cend); - -/** - * Add alphabetic characters to the specification. - * - * @param cis The scanner character specification. - */ -PJ_DECL(void) pj_cis_add_alpha( pj_cis_t *cis); - -/** - * Add numeric characters to the specification. - * - * @param cis The scanner character specification. - */ -PJ_DECL(void) pj_cis_add_num( pj_cis_t *cis); - -/** - * Add the characters in the string to the specification. - * - * @param cis The scanner character specification. - * @param str The string. - */ -PJ_DECL(void) pj_cis_add_str( pj_cis_t *cis, const char *str); - -/** - * Add specification from another specification. - * - * @param cis The specification is to be set. - * @param rhs The specification to be copied. - */ -PJ_DECL(void) pj_cis_add_cis( pj_cis_t *cis, const pj_cis_t *rhs); - -/** - * Delete characters in the specified range from the specification. - * - * @param cis The scanner character specification. - * @param cstart The first character in the range. - * @param cend The next character after the last character in the range. - */ -PJ_DECL(void) pj_cis_del_range( pj_cis_t *cis, int cstart, int cend); - -/** - * Delete characters in the specified string from the specification. - * - * @param cis The scanner character specification. - * @param str The string. - */ -PJ_DECL(void) pj_cis_del_str( pj_cis_t *cis, const char *str); - -/** - * Invert specification. - * - * @param cis The scanner character specification. - */ -PJ_DECL(void) pj_cis_invert( pj_cis_t *cis ); - -/** - * Check whether the specified character belongs to the specification. - * - * @param cis The scanner character specification. - * @param c The character to check for matching. - * - * @return Non-zero if match (not necessarily one). - */ -PJ_INLINE(int) pj_cis_match( const pj_cis_t *cis, pj_uint8_t c ) -{ - return PJ_CIS_ISSET(cis, c); -} - - -/** - * Flags for scanner. - */ -enum -{ - /** This flags specifies that the scanner should automatically skip - whitespaces - */ - PJ_SCAN_AUTOSKIP_WS = 1, - - /** This flags specifies that the scanner should automatically skip - SIP header continuation. This flag implies PJ_SCAN_AUTOSKIP_WS. - */ - PJ_SCAN_AUTOSKIP_WS_HEADER = 3, - - /** Auto-skip new lines. - */ - PJ_SCAN_AUTOSKIP_NEWLINE = 4 -}; - - -/* Forward decl. */ -struct pj_scanner; - - -/** - * The callback function type to be called by the scanner when it encounters - * syntax error. - * - * @param scanner The scanner instance that calls the callback . - */ -typedef void (*pj_syn_err_func_ptr)(struct pj_scanner *scanner); - - -/** - * The text scanner structure. - */ -typedef struct pj_scanner -{ - char *begin; /**< Start of input buffer. */ - char *end; /**< End of input buffer. */ - char *curptr; /**< Current pointer. */ - int line; /**< Current line. */ - char *start_line; /**< Where current line starts. */ - int skip_ws; /**< Skip whitespace flag. */ - pj_syn_err_func_ptr callback; /**< Syntax error callback. */ -} pj_scanner; - - -/** - * This structure can be used by application to store the state of the parser, - * so that the scanner state can be rollback to this state when necessary. - */ -typedef struct pj_scan_state -{ - char *curptr; /**< Current scanner's pointer. */ - int line; /**< Current line. */ - char *start_line; /**< Start of current line. */ -} pj_scan_state; - - -/** - * Initialize the scanner. Note that the input string buffer must have - * length at least buflen+1 because the scanner will NULL terminate the - * string during initialization. - * - * @param scanner The scanner to be initialized. - * @param bufstart The input buffer to scan. Note that buffer[buflen] will be - * filled with NULL char until scanner is destroyed, so - * the actual buffer length must be at least buflen+1. - * @param buflen The length of the input buffer, which normally is - * strlen(bufstart). - * @param options Zero, or combination of PJ_SCAN_AUTOSKIP_WS or - * PJ_SCAN_AUTOSKIP_WS_HEADER - * @param callback Callback to be called when the scanner encounters syntax - * error condition. - */ -PJ_DECL(void) pj_scan_init( pj_scanner *scanner, char *bufstart, int buflen, - unsigned options, - pj_syn_err_func_ptr callback ); - - -/** - * Call this function when application has finished using the scanner. - * - * @param scanner The scanner. - */ -PJ_DECL(void) pj_scan_fini( pj_scanner *scanner ); - - -/** - * Determine whether the EOF condition for the scanner has been met. - * - * @param scanner The scanner. - * - * @return Non-zero if scanner is EOF. - */ -PJ_INLINE(int) pj_scan_is_eof( const pj_scanner *scanner) -{ - return scanner->curptr >= scanner->end; -} - - -/** - * Peek strings in current position according to parameter spec, and return - * the strings in parameter out. The current scanner position will not be - * moved. If the scanner is already in EOF state, syntax error callback will - * be called thrown. - * - * @param scanner The scanner. - * @param spec The spec to match input string. - * @param out String to store the result. - * - * @return the character right after the peek-ed position or zero if there's - * no more characters. - */ -PJ_DECL(int) pj_scan_peek( pj_scanner *scanner, - const pj_cis_t *spec, pj_str_t *out); - - -/** - * Peek len characters in current position, and return them in out parameter. - * Note that whitespaces or newlines will be returned as it is, regardless - * of PJ_SCAN_AUTOSKIP_WS settings. If the character left is less than len, - * syntax error callback will be called. - * - * @param scanner The scanner. - * @param len Length to peek. - * @param out String to store the result. - * - * @return the character right after the peek-ed position or zero if there's - * no more characters. - */ -PJ_DECL(int) pj_scan_peek_n( pj_scanner *scanner, - pj_size_t len, pj_str_t *out); - - -/** - * Peek strings in current position until spec is matched, and return - * the strings in parameter out. The current scanner position will not be - * moved. If the scanner is already in EOF state, syntax error callback will - * be called. - * - * @param scanner The scanner. - * @param spec The peeking will stop when the input match this spec. - * @param out String to store the result. - * - * @return the character right after the peek-ed position. - */ -PJ_DECL(int) pj_scan_peek_until( pj_scanner *scanner, - const pj_cis_t *spec, - pj_str_t *out); - - -/** - * Get characters from the buffer according to the spec, and return them - * in out parameter. The scanner will attempt to get as many characters as - * possible as long as the spec matches. If the first character doesn't - * match the spec, or scanner is already in EOF when this function is called, - * an exception will be thrown. - * - * @param scanner The scanner. - * @param spec The spec to match input string. - * @param out String to store the result. - */ -PJ_DECL(void) pj_scan_get( pj_scanner *scanner, - const pj_cis_t *spec, pj_str_t *out); - - -/** - * Just like #pj_scan_get(), but additionally performs unescaping when - * escaped ('%') character is found. The input spec MUST NOT contain the - * specification for '%' characted. - * - * @param scanner The scanner. - * @param spec The spec to match input string. - * @param out String to store the result. - */ -PJ_DECL(void) pj_scan_get_unescape( pj_scanner *scanner, - const pj_cis_t *spec, pj_str_t *out); - - -/** - * Get characters between quotes. If current input doesn't match begin_quote, - * syntax error will be thrown. Note that the resulting string will contain - * the enclosing quote. - * - * @param scanner The scanner. - * @param begin_quote The character to begin the quote. - * @param end_quote The character to end the quote. - * @param out String to store the result. - */ -PJ_DECL(void) pj_scan_get_quote( pj_scanner *scanner, - int begin_quote, int end_quote, - pj_str_t *out); - -/** - * Get characters between quotes. If current input doesn't match begin_quote, - * syntax error will be thrown. Note that the resulting string will contain - * the enclosing quote. - * - * @param scanner The scanner. - * @param begin_quotes The character array to begin the quotes. For example, - * the two characters " and '. - * @param end_quotes The character array to end the quotes. The position - * found in the begin_quotes array will be used to match - * the end quotes. So if the begin_quotes was the array - * of "'< the end_quotes should be "'>. If begin_array - * matched the ' then the end_quotes will look for ' to - * match at the end. - * @param qsize The size of the begin_quotes and end_quotes arrays. - * @param out String to store the result. - */ -PJ_DECL(void) pj_scan_get_quotes(pj_scanner *scanner, - const char *begin_quotes, - const char *end_quotes, int qsize, - pj_str_t *out); - - -/** - * Get N characters from the scanner. - * - * @param scanner The scanner. - * @param N Number of characters to get. - * @param out String to store the result. - */ -PJ_DECL(void) pj_scan_get_n( pj_scanner *scanner, - unsigned N, pj_str_t *out); - - -/** - * Get one character from the scanner. - * - * @param scanner The scanner. - * - * @return The character. - */ -PJ_DECL(int) pj_scan_get_char( pj_scanner *scanner ); - - -/** - * Get characters from the scanner and move the scanner position until the - * current character matches the spec. - * - * @param scanner The scanner. - * @param spec Get until the input match this spec. - * @param out String to store the result. - */ -PJ_DECL(void) pj_scan_get_until( pj_scanner *scanner, - const pj_cis_t *spec, pj_str_t *out); - - -/** - * Get characters from the scanner and move the scanner position until the - * current character matches until_char. - * - * @param scanner The scanner. - * @param until_char Get until the input match this character. - * @param out String to store the result. - */ -PJ_DECL(void) pj_scan_get_until_ch( pj_scanner *scanner, - int until_char, pj_str_t *out); - - -/** - * Get characters from the scanner and move the scanner position until the - * current character matches until_char. - * - * @param scanner The scanner. - * @param until_spec Get until the input match any of these characters. - * @param out String to store the result. - */ -PJ_DECL(void) pj_scan_get_until_chr( pj_scanner *scanner, - const char *until_spec, pj_str_t *out); - -/** - * Advance the scanner N characters, and skip whitespace - * if necessary. - * - * @param scanner The scanner. - * @param N Number of characters to skip. - * @param skip Flag to specify whether whitespace should be skipped - * after skipping the characters. - */ -PJ_DECL(void) pj_scan_advance_n( pj_scanner *scanner, - unsigned N, pj_bool_t skip); - - -/** - * Compare string in current position with the specified string. - * - * @param scanner The scanner. - * @param s The string to compare with. - * @param len Length of the string to compare. - * - * @return zero, <0, or >0 (just like strcmp()). - */ -PJ_DECL(int) pj_scan_strcmp( pj_scanner *scanner, const char *s, int len); - - -/** - * Case-less string comparison of current position with the specified - * string. - * - * @param scanner The scanner. - * @param s The string to compare with. - * @param len Length of the string to compare with. - * - * @return zero, <0, or >0 (just like strcmp()). - */ -PJ_DECL(int) pj_scan_stricmp( pj_scanner *scanner, const char *s, int len); - -/** - * Perform case insensitive string comparison of string in current position, - * knowing that the string to compare only consists of alphanumeric - * characters. - * - * Note that unlike #pj_scan_stricmp, this function can only return zero or - * -1. - * - * @param scanner The scanner. - * @param s The string to compare with. - * @param len Length of the string to compare with. - * - * @return zero if equal or -1. - * - * @see strnicmp_alnum, pj_stricmp_alnum - */ -PJ_DECL(int) pj_scan_stricmp_alnum( pj_scanner *scanner, const char *s, - int len); - - -/** - * Get a newline from the scanner. A newline is defined as '\\n', or '\\r', or - * "\\r\\n". If current input is not newline, syntax error will be thrown. - * - * @param scanner The scanner. - */ -PJ_DECL(void) pj_scan_get_newline( pj_scanner *scanner ); - - -/** - * Manually skip whitespaces according to flag that was specified when - * the scanner was initialized. - * - * @param scanner The scanner. - */ -PJ_DECL(void) pj_scan_skip_whitespace( pj_scanner *scanner ); - - -/** - * Skip current line. - * - * @param scanner The scanner. - */ -PJ_DECL(void) pj_scan_skip_line( pj_scanner *scanner ); - -/** - * Save the full scanner state. - * - * @param scanner The scanner. - * @param state Variable to store scanner's state. - */ -PJ_DECL(void) pj_scan_save_state( const pj_scanner *scanner, - pj_scan_state *state); - - -/** - * Restore the full scanner state. - * Note that this would not restore the string if application has modified - * it. This will only restore the scanner scanning position. - * - * @param scanner The scanner. - * @param state State of the scanner. - */ -PJ_DECL(void) pj_scan_restore_state( pj_scanner *scanner, - pj_scan_state *state); - -/** - * Get current column position. - * - * @param scanner The scanner. - * - * @return The column position. - */ -PJ_INLINE(int) pj_scan_get_col( const pj_scanner *scanner ) -{ - return (int)(scanner->curptr - scanner->start_line); -} - -/** - * @} - */ - - -PJ_END_DECL - -#endif - diff --git a/res/pjproject/pjlib-util/include/pjlib-util/scanner_cis_bitwise.h b/res/pjproject/pjlib-util/include/pjlib-util/scanner_cis_bitwise.h deleted file mode 100644 index a0d3a2c7c3..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/scanner_cis_bitwise.h +++ /dev/null @@ -1,97 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIB_UTIL_SCANNER_CIS_BIT_H__ -#define __PJLIB_UTIL_SCANNER_CIS_BIT_H__ - -#include - -PJ_BEGIN_DECL - -/** - * This describes the type of individual character specification in - * #pj_cis_buf_t. Basicly the number of bits here - */ -#ifndef PJ_CIS_ELEM_TYPE -# define PJ_CIS_ELEM_TYPE pj_uint32_t -#endif - -/** - * This describes the type of individual character specification in - * #pj_cis_buf_t. - */ -typedef PJ_CIS_ELEM_TYPE pj_cis_elem_t; - -/** - * Maximum number of input specification in a buffer. - * Effectively this means the number of bits in pj_cis_elem_t. - */ -#define PJ_CIS_MAX_INDEX (sizeof(pj_cis_elem_t) << 3) - -/** - * The scanner input specification buffer. - */ -typedef struct pj_cis_buf_t -{ - pj_cis_elem_t cis_buf[256]; /**< Must be 256 (not 128)! */ - pj_cis_elem_t use_mask; /**< To keep used indexes. */ -} pj_cis_buf_t; - -/** - * Character input specification. - */ -typedef struct pj_cis_t -{ - pj_cis_elem_t *cis_buf; /**< Pointer to buffer. */ - int cis_id; /**< Id. */ -} pj_cis_t; - - -/** - * Set the membership of the specified character. - * Note that this is a macro, and arguments may be evaluated more than once. - * - * @param cis Pointer to character input specification. - * @param c The character. - */ -#define PJ_CIS_SET(cis,c) ((cis)->cis_buf[(int)(c)] |= (1 << (cis)->cis_id)) - -/** - * Remove the membership of the specified character. - * Note that this is a macro, and arguments may be evaluated more than once. - * - * @param cis Pointer to character input specification. - * @param c The character to be removed from the membership. - */ -#define PJ_CIS_CLR(cis,c) ((cis)->cis_buf[(int)c] &= ~(1 << (cis)->cis_id)) - -/** - * Check the membership of the specified character. - * Note that this is a macro, and arguments may be evaluated more than once. - * - * @param cis Pointer to character input specification. - * @param c The character. - */ -#define PJ_CIS_ISSET(cis,c) ((cis)->cis_buf[(int)c] & (1 << (cis)->cis_id)) - - - -PJ_END_DECL - -#endif /* __PJLIB_UTIL_SCANNER_CIS_BIT_H__ */ diff --git a/res/pjproject/pjlib-util/include/pjlib-util/scanner_cis_uint.h b/res/pjproject/pjlib-util/include/pjlib-util/scanner_cis_uint.h deleted file mode 100644 index 0bd8759f55..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/scanner_cis_uint.h +++ /dev/null @@ -1,84 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIB_UTIL_SCANNER_CIS_BIT_H__ -#define __PJLIB_UTIL_SCANNER_CIS_BIT_H__ - -#include - -PJ_BEGIN_DECL - -/** - * This describes the type of individual character specification in - * #pj_cis_buf_t. Basicly the number of bits here - */ -#ifndef PJ_CIS_ELEM_TYPE -# define PJ_CIS_ELEM_TYPE int -#endif - -/** - * This describes the type of individual character specification in - * #pj_cis_buf_t. - */ -typedef PJ_CIS_ELEM_TYPE pj_cis_elem_t; - -/** pj_cis_buf_t is not used when uint back-end is used. */ -typedef int pj_cis_buf_t; - -/** - * Character input specification. - */ -typedef struct pj_cis_t -{ - PJ_CIS_ELEM_TYPE cis_buf[256]; /**< Internal buffer. */ -} pj_cis_t; - - -/** - * Set the membership of the specified character. - * Note that this is a macro, and arguments may be evaluated more than once. - * - * @param cis Pointer to character input specification. - * @param c The character. - */ -#define PJ_CIS_SET(cis,c) ((cis)->cis_buf[(int)(c)] = 1) - -/** - * Remove the membership of the specified character. - * Note that this is a macro, and arguments may be evaluated more than once. - * - * @param cis Pointer to character input specification. - * @param c The character to be removed from the membership. - */ -#define PJ_CIS_CLR(cis,c) ((cis)->cis_buf[(int)c] = 0) - -/** - * Check the membership of the specified character. - * Note that this is a macro, and arguments may be evaluated more than once. - * - * @param cis Pointer to character input specification. - * @param c The character. - */ -#define PJ_CIS_ISSET(cis,c) ((cis)->cis_buf[(int)c]) - - - -PJ_END_DECL - -#endif /* __PJLIB_UTIL_SCANNER_CIS_BIT_H__ */ diff --git a/res/pjproject/pjlib-util/include/pjlib-util/sha1.h b/res/pjproject/pjlib-util/include/pjlib-util/sha1.h deleted file mode 100644 index 7529a7b30a..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/sha1.h +++ /dev/null @@ -1,80 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIB_UTIL_SHA1_H__ -#define __PJLIB_UTIL_SHA1_H__ - -/** - * @file sha1.h - * @brief SHA1 encryption implementation - */ - -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJLIB_UTIL_SHA1 SHA1 - * @ingroup PJLIB_UTIL_ENCRYPTION - * @{ - */ - -/** SHA1 context */ -typedef struct pj_sha1_context -{ - pj_uint32_t state[5]; /**< State */ - pj_uint32_t count[2]; /**< Count */ - pj_uint8_t buffer[64]; /**< Buffer */ -} pj_sha1_context; - -/** SHA1 digest size is 20 bytes */ -#define PJ_SHA1_DIGEST_SIZE 20 - - -/** Initialize the algorithm. - * @param ctx SHA1 context. - */ -PJ_DECL(void) pj_sha1_init(pj_sha1_context *ctx); - -/** Append a stream to the message. - * @param ctx SHA1 context. - * @param data Data. - * @param nbytes Length of data. - */ -PJ_DECL(void) pj_sha1_update(pj_sha1_context *ctx, - const pj_uint8_t *data, - const pj_size_t nbytes); - -/** Finish the message and return the digest. - * @param ctx SHA1 context. - * @param digest 16 byte digest. - */ -PJ_DECL(void) pj_sha1_final(pj_sha1_context *ctx, - pj_uint8_t digest[PJ_SHA1_DIGEST_SIZE]); - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJLIB_UTIL_SHA1_H__ */ - diff --git a/res/pjproject/pjlib-util/include/pjlib-util/srv_resolver.h b/res/pjproject/pjlib-util/include/pjlib-util/srv_resolver.h deleted file mode 100644 index 770a2a723f..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/srv_resolver.h +++ /dev/null @@ -1,215 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIB_UTIL_SRV_RESOLVER_H__ -#define __PJLIB_UTIL_SRV_RESOLVER_H__ - -/** - * @file srv_resolver.h - * @brief DNS SRV resolver - */ -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_DNS_SRV_RESOLVER DNS SRV Resolution Helper - * @ingroup PJ_DNS - * @{ - * - * \section PJ_DNS_SRV_RESOLVER_INTRO DNS SRV Resolution Helper - * - * This module provides an even higher layer of abstraction for the DNS - * resolution framework, to resolve DNS SRV names. - * - * The #pj_dns_srv_resolve() function will asynchronously resolve the server - * name into IP address(es) with a single function call. If the SRV name - * contains multiple names, then each will be resolved with individual - * DNS A resolution to get the IP addresses. Upon successful completion, - * application callback will be called with each IP address of the - * target selected based on the load-balancing and fail-over criteria - * below. - * - * When the resolver fails to resolve the name using DNS SRV resolution - * (for example when the DNS SRV record is not present in the DNS server), - * the resolver will fallback to using DNS A record resolution to resolve - * the name. - * - * \subsection PJ_DNS_SRV_RESOLVER_FAILOVER_LOADBALANCE Load-Balancing and Fail-Over - * - * When multiple targets are returned in the DNS SRV response, server entries - * are selected based on the following rule (which is described in RFC 2782): - * - targets will be sorted based on the priority first. - * - for targets with the same priority, #pj_dns_srv_resolve() will select - * only one target according to its weight. To select this one target, - * the function associates running-sum for all targets, and generates - * a random number between zero and the total running-sum (inclusive). - * The target selected is the first target with running-sum greater than - * or equal to this random number. - * - * The above procedure will select one target for each priority, allowing - * application to fail-over to the next target when the previous target fails. - * These targets are returned in the #pj_dns_srv_record structure - * argument of the callback. - * - * \section PJ_DNS_SRV_RESOLVER_REFERENCE Reference - * - * Reference: - * - RFC 2782: - * A DNS RR for specifying the location of services (DNS SRV) - */ - -/** - * Flags to be specified when starting the DNS SRV query. - */ -typedef enum pj_dns_srv_option -{ - /** - * Specify if the resolver should fallback with DNS A - * resolution when the SRV resolution fails. This option may - * be specified together with PJ_DNS_SRV_FALLBACK_AAAA to - * make the resolver fallback to AAAA if SRV resolution fails, - * and then to DNS A resolution if the AAAA resolution fails. - */ - PJ_DNS_SRV_FALLBACK_A = 1, - - /** - * Specify if the resolver should fallback with DNS AAAA - * resolution when the SRV resolution fails. This option may - * be specified together with PJ_DNS_SRV_FALLBACK_A to - * make the resolver fallback to AAAA if SRV resolution fails, - * and then to DNS A resolution if the AAAA resolution fails. - */ - PJ_DNS_SRV_FALLBACK_AAAA = 2, - - /** - * Specify if the resolver should try to resolve with DNS AAAA - * resolution first of each targets in the DNS SRV record. If - * this option is not specified, the SRV resolver will query - * the DNS A record for the target instead. - */ - PJ_DNS_SRV_RESOLVE_AAAA = 4 - -} pj_dns_srv_option; - - -/** - * This structure represents DNS SRV records as the result of DNS SRV - * resolution using #pj_dns_srv_resolve(). - */ -typedef struct pj_dns_srv_record -{ - /** Number of address records. */ - unsigned count; - - /** Address records. */ - struct - { - /** Server priority (the lower the higher the priority). */ - unsigned priority; - - /** Server weight (the higher the more load it can handle). */ - unsigned weight; - - /** Port number. */ - pj_uint16_t port; - - /** The host address. */ - pj_dns_a_record server; - - } entry[PJ_DNS_SRV_MAX_ADDR]; - -} pj_dns_srv_record; - - -/** Opaque declaration for DNS SRV query */ -typedef struct pj_dns_srv_async_query pj_dns_srv_async_query; - -/** - * Type of callback function to receive notification from the resolver - * when the resolution process completes. - */ -typedef void pj_dns_srv_resolver_cb(void *user_data, - pj_status_t status, - const pj_dns_srv_record *rec); - - -/** - * Start DNS SRV resolution for the specified name. The full name of the - * entry will be concatenated from \a res_name and \a domain_name fragments. - * - * @param domain_name The domain name part of the name. - * @param res_name The full service name, including the transport name - * and with all the leading underscore characters and - * ending dot (e.g. "_sip._udp.", "_stun._udp."). - * @param def_port The port number to be assigned to the resolved address - * when the DNS SRV resolution fails and the name is - * resolved with DNS A resolution. - * @param pool Memory pool used to allocate memory for the query. - * @param resolver The resolver instance. - * @param option Option flags, which can be constructed from - * #pj_dns_srv_option bitmask. Note that this argument - * was called "fallback_a" in pjsip version 0.8.0 and - * older, but the new option should be backward - * compatible with existing applications. If application - * specifies PJ_TRUE as "fallback_a" value, it will - * correspond to PJ_DNS_SRV_FALLBACK_A option. - * @param token Arbitrary data to be associated with this query when - * the calback is called. - * @param cb Pointer to callback function to receive the - * notification when the resolution process completes. - * @param p_query Optional pointer to receive the query object, if one - * was started. If this pointer is specified, a NULL may - * be returned if response cache is available immediately. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_dns_srv_resolve(const pj_str_t *domain_name, - const pj_str_t *res_name, - unsigned def_port, - pj_pool_t *pool, - pj_dns_resolver *resolver, - unsigned option, - void *token, - pj_dns_srv_resolver_cb *cb, - pj_dns_srv_async_query **p_query); - - -/** - * Cancel an outstanding DNS SRV query. - * - * @param query The pending asynchronous query to be cancelled. - * @param notify If non-zero, the callback will be called with failure - * status to notify that the query has been cancelled. - * - * @return PJ_SUCCESS on success, or the appropriate error code, - */ -PJ_DECL(pj_status_t) pj_dns_srv_cancel_query(pj_dns_srv_async_query *query, - pj_bool_t notify); - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJLIB_UTIL_SRV_RESOLVER_H__ */ - diff --git a/res/pjproject/pjlib-util/include/pjlib-util/string.h b/res/pjproject/pjlib-util/include/pjlib-util/string.h deleted file mode 100644 index 48e432b3d7..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/string.h +++ /dev/null @@ -1,102 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIB_UTIL_STRING_H__ -#define __PJLIB_UTIL_STRING_H__ - -/** - * @file string.h - * @brief More string functions. - */ - -#include -#include - -/** - * @defgroup PJLIB_UTIL_STRING String Escaping Utilities - * @ingroup PJLIB_TEXT - * @{ - */ - -PJ_BEGIN_DECL - -/** - * Unescape string. If source string does not contain any escaped - * characters, the function would simply return the original string. - * Otherwise a new string will be allocated. - * - * @param pool Pool to allocate the string. - * @param src Source string to unescape. - * - * @return String with no escaped characters. - */ -PJ_DECL(pj_str_t) pj_str_unescape( pj_pool_t *pool, const pj_str_t *src); - -/** - * Unescape string to destination. - * - * @param dst Target string. - * @param src Source string. - * - * @return Target string. - */ -PJ_DECL(pj_str_t*) pj_strcpy_unescape(pj_str_t *dst, const pj_str_t *src); - -/** - * Copy string to destination while escaping reserved characters, up to - * the specified maximum length. - * - * @param dst Target string. - * @param src Source string. - * @param max Maximum length to copy to target string. - * @param unres Unreserved characters, which are allowed to appear - * unescaped. - * - * @return The target string if all characters have been copied - * successfully, or NULL if there's not enough buffer to - * escape the strings. - */ -PJ_DECL(pj_str_t*) pj_strncpy_escape(pj_str_t *dst, const pj_str_t *src, - pj_ssize_t max, const pj_cis_t *unres); - - -/** - * Copy string to destination while escaping reserved characters, up to - * the specified maximum length. - * - * @param dst Target string. - * @param src Source string. - * @param max Maximum length to copy to target string. - * @param unres Unreserved characters, which are allowed to appear - * unescaped. - * - * @return The length of the destination, or -1 if there's not - * enough buffer. - */ -PJ_DECL(pj_ssize_t) pj_strncpy2_escape(char *dst, const pj_str_t *src, - pj_ssize_t max, const pj_cis_t *unres); - -PJ_END_DECL - - -/** - * @} - */ - -#endif /* __PJLIB_UTIL_STRING_H__ */ diff --git a/res/pjproject/pjlib-util/include/pjlib-util/stun_simple.h b/res/pjproject/pjlib-util/include/pjlib-util/stun_simple.h deleted file mode 100644 index 773548d29a..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/stun_simple.h +++ /dev/null @@ -1,209 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSTUN_H__ -#define __PJSTUN_H__ - -/** - * @file stun.h - * @brief STUN client. - */ - -#include -#include - - -PJ_BEGIN_DECL - -/* - * This enumeration describes STUN message types. - */ -typedef enum pjstun_msg_type -{ - PJSTUN_BINDING_REQUEST = 0x0001, - PJSTUN_BINDING_RESPONSE = 0x0101, - PJSTUN_BINDING_ERROR_RESPONSE = 0x0111, - PJSTUN_SHARED_SECRET_REQUEST = 0x0002, - PJSTUN_SHARED_SECRET_RESPONSE = 0x0102, - PJSTUN_SHARED_SECRET_ERROR_RESPONSE = 0x0112 -} pjstun_msg_type; - - -/* - * This enumeration describes STUN attribute types. - */ -typedef enum pjstun_attr_type -{ - PJSTUN_ATTR_MAPPED_ADDR = 1, - PJSTUN_ATTR_RESPONSE_ADDR, - PJSTUN_ATTR_CHANGE_REQUEST, - PJSTUN_ATTR_SOURCE_ADDR, - PJSTUN_ATTR_CHANGED_ADDR, - PJSTUN_ATTR_USERNAME, - PJSTUN_ATTR_PASSWORD, - PJSTUN_ATTR_MESSAGE_INTEGRITY, - PJSTUN_ATTR_ERROR_CODE, - PJSTUN_ATTR_UNKNOWN_ATTRIBUTES, - PJSTUN_ATTR_REFLECTED_FROM, - PJSTUN_ATTR_XOR_MAPPED_ADDR = 0x0020 -} pjstun_attr_type; - - -/* - * This structre describes STUN message header. - */ -typedef struct pjstun_msg_hdr -{ - pj_uint16_t type; - pj_uint16_t length; - pj_uint32_t tsx[4]; -} pjstun_msg_hdr; - - -/* - * This structre describes STUN attribute header. - */ -typedef struct pjstun_attr_hdr -{ - pj_uint16_t type; - pj_uint16_t length; -} pjstun_attr_hdr; - - -/* - * This structre describes STUN MAPPED-ADDR attribute. - */ -typedef struct pjstun_mapped_addr_attr -{ - pjstun_attr_hdr hdr; - pj_uint8_t ignored; - pj_uint8_t family; - pj_uint16_t port; - pj_uint32_t addr; -} pjstun_mapped_addr_attr; - -typedef pjstun_mapped_addr_attr pjstun_response_addr_attr; -typedef pjstun_mapped_addr_attr pjstun_changed_addr_attr; -typedef pjstun_mapped_addr_attr pjstun_src_addr_attr; -typedef pjstun_mapped_addr_attr pjstun_reflected_form_attr; - -typedef struct pjstun_change_request_attr -{ - pjstun_attr_hdr hdr; - pj_uint32_t value; -} pjstun_change_request_attr; - -typedef struct pjstun_username_attr -{ - pjstun_attr_hdr hdr; - pj_uint32_t value[1]; -} pjstun_username_attr; - -typedef pjstun_username_attr pjstun_password_attr; - -typedef struct pjstun_error_code_attr -{ - pjstun_attr_hdr hdr; - pj_uint16_t ignored; - pj_uint8_t err_class; - pj_uint8_t number; - char reason[4]; -} pjstun_error_code_attr; - -typedef struct pjstun_msg -{ - pjstun_msg_hdr *hdr; - int attr_count; - pjstun_attr_hdr *attr[PJSTUN_MAX_ATTR]; -} pjstun_msg; - -/* STUN message API (stun.c). */ - -PJ_DECL(pj_status_t) pjstun_create_bind_req( pj_pool_t *pool, - void **msg, pj_size_t *len, - pj_uint32_t id_hi, - pj_uint32_t id_lo); -PJ_DECL(pj_status_t) pjstun_parse_msg( void *buf, pj_size_t len, - pjstun_msg *msg); -PJ_DECL(void*) pjstun_msg_find_attr( pjstun_msg *msg, pjstun_attr_type t); - - -/** - * @defgroup PJLIB_UTIL_STUN_CLIENT Simple STUN Helper - * @ingroup PJ_PROTOCOLS - * @brief A simple and small footprint STUN resolution helper - * @{ - * - * This is the older implementation of STUN client, with only one function - * provided (pjstun_get_mapped_addr()) to retrieve the public IP address - * of multiple sockets. - */ - -/** - * This is the main function to request the mapped address of local sockets - * to multiple STUN servers. This function is able to find the mapped - * addresses of multiple sockets simultaneously, and for each socket, two - * requests will be sent to two different STUN servers to see if both servers - * get the same public address for the same socket. (Note that application can - * specify the same address for the two servers, but still two requests will - * be sent for each server). - * - * This function will perform necessary retransmissions of the requests if - * response is not received within a predetermined period. When all responses - * have been received, the function will compare the mapped addresses returned - * by the servers, and when both are equal, the address will be returned in - * \a mapped_addr argument. - * - * @param pf The pool factory where memory will be allocated from. - * @param sock_cnt Number of sockets in the socket array. - * @param sock Array of local UDP sockets which public addresses are - * to be queried from the STUN servers. - * @param srv1 Host name or IP address string of the first STUN - * server. - * @param port1 The port number of the first STUN server. - * @param srv2 Host name or IP address string of the second STUN - * server. - * @param port2 The port number of the second STUN server. - * @param mapped_addr Array to receive the mapped public address of the local - * UDP sockets, when the function returns PJ_SUCCESS. - * - * @return This functions returns PJ_SUCCESS if responses are - * received from all servers AND all servers returned the - * same mapped public address. Otherwise this function may - * return one of the following error codes: - * - PJLIB_UTIL_ESTUNNOTRESPOND: no respons from servers. - * - PJLIB_UTIL_ESTUNSYMMETRIC: different mapped addresses - * are returned by servers. - * - etc. - * - */ -PJ_DECL(pj_status_t) pjstun_get_mapped_addr( pj_pool_factory *pf, - int sock_cnt, pj_sock_t sock[], - const pj_str_t *srv1, int port1, - const pj_str_t *srv2, int port2, - pj_sockaddr_in mapped_addr[]); - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJSTUN_H__ */ - diff --git a/res/pjproject/pjlib-util/include/pjlib-util/types.h b/res/pjproject/pjlib-util/include/pjlib-util/types.h deleted file mode 100644 index e1dcbc49bf..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/types.h +++ /dev/null @@ -1,95 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIB_UTIL_TYPES_H__ -#define __PJLIB_UTIL_TYPES_H__ - -/** - * @file types.h - * @brief PJLIB-UTIL types. - */ - -#include -#include - -/** - * @defgroup PJLIB_UTIL_BASE Base - * @{ - */ - -PJ_BEGIN_DECL - -/** - * Initialize PJLIB UTIL (defined in errno.c) - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjlib_util_init(void); - - - -PJ_END_DECL - - -/** - * @} - */ - -/** - * @defgroup PJLIB_TEXT Text and String Manipulation - */ - -/** - * @defgroup PJ_PROTOCOLS Protocols - */ - -/** - * @defgroup PJ_FILE_FMT File Formats - */ - -/** - * @mainpage PJLIB-UTIL - * - * \n - * \n - * \n - * This is the documentation of PJLIB-UTIL, an auxiliary library providing - * adjunct functions to PJLIB. - * - * Please go to the Table of Contents page - * for list of modules. - * - * - * \n - * \n - * \n - * \n - * \n - * \n - * \n - * \n - * \n - * \n - * \n - * \n - * \n - */ - -#endif /* __PJLIB_UTIL_TYPES_H__ */ - diff --git a/res/pjproject/pjlib-util/include/pjlib-util/xml.h b/res/pjproject/pjlib-util/include/pjlib-util/xml.h deleted file mode 100644 index 150dad2285..0000000000 --- a/res/pjproject/pjlib-util/include/pjlib-util/xml.h +++ /dev/null @@ -1,246 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_XML_H__ -#define __PJ_XML_H__ - -/** - * @file xml.h - * @brief PJLIB XML Parser/Helper. - */ - -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_TINY_XML Mini/Tiny XML Parser/Helper - * @ingroup PJ_FILE_FMT - * @{ - */ - -/** Typedef for XML attribute. */ -typedef struct pj_xml_attr pj_xml_attr; - -/** Typedef for XML nodes. */ -typedef struct pj_xml_node pj_xml_node; - -/** This structure declares XML attribute. */ -struct pj_xml_attr -{ - PJ_DECL_LIST_MEMBER(pj_xml_attr); /**< Standard list elements. */ - pj_str_t name; /**< Attribute name. */ - pj_str_t value; /**< Attribute value. */ -}; - -/** This structure describes XML node head inside XML node structure. - */ -typedef struct pj_xml_node_head -{ - PJ_DECL_LIST_MEMBER(pj_xml_node); /**< Standard list elements. */ -} pj_xml_node_head; - -/** This structure describes XML node. */ -struct pj_xml_node -{ - PJ_DECL_LIST_MEMBER(pj_xml_node); /**< List @a prev and @a next member */ - pj_str_t name; /**< Node name. */ - pj_xml_attr attr_head; /**< Attribute list. */ - pj_xml_node_head node_head; /**< Node list. */ - pj_str_t content; /**< Node content. */ -}; - -/** - * Parse XML message into XML document with a single root node. The parser - * is capable of parsing XML processing instruction construct ("next is the starting point. - * @param name Node name to find. - * - * @return XML node found or NULL. - */ -PJ_DECL(pj_xml_node*) pj_xml_find_next_node(const pj_xml_node *parent, - const pj_xml_node *node, - const pj_str_t *name); - -/** - * Recursively find the first node with the specified name in the child nodes - * and their children. - * - * @param parent Parent node. - * @param name Node name to find. - * - * @return XML node found or NULL. - */ -PJ_DECL(pj_xml_node*) pj_xml_find_node_rec(const pj_xml_node *parent, - const pj_str_t *name); - - -/** - * Find first attribute within a node with the specified name and optional - * value. - * - * @param node XML Node. - * @param name Attribute name to find. - * @param value Optional value to match. - * - * @return XML attribute found, or NULL. - */ -PJ_DECL(pj_xml_attr*) pj_xml_find_attr(const pj_xml_node *node, - const pj_str_t *name, - const pj_str_t *value); - - -/** - * Find a direct child node with the specified name and match the function. - * - * @param parent Parent node. - * @param name Optional name. If this is NULL, the name will not be - * matched. - * @param data Data to be passed to matching function. - * @param match Optional matching function. - * - * @return The first matched node, or NULL. - */ -PJ_DECL(pj_xml_node*) pj_xml_find( const pj_xml_node *parent, - const pj_str_t *name, - const void *data, - pj_bool_t (*match)(const pj_xml_node *, - const void*)); - - -/** - * Recursively find a child node with the specified name and match the - * function. - * - * @param parent Parent node. - * @param name Optional name. If this is NULL, the name will not be - * matched. - * @param data Data to be passed to matching function. - * @param match Optional matching function. - * - * @return The first matched node, or NULL. - */ -PJ_DECL(pj_xml_node*) pj_xml_find_rec(const pj_xml_node *parent, - const pj_str_t *name, - const void *data, - pj_bool_t (*match)(const pj_xml_node*, - const void*)); - - -/** - * @} - */ - -PJ_END_DECL - -#endif /* __PJ_XML_H__ */ diff --git a/res/pjproject/pjlib-util/src/pjlib-util-test/encryption.c b/res/pjproject/pjlib-util/src/pjlib-util-test/encryption.c deleted file mode 100644 index d9af3d9f82..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util-test/encryption.c +++ /dev/null @@ -1,766 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include - - -#if INCLUDE_ENCRYPTION_TEST - -/* - * Encryption algorithm tests. - */ -#define THIS_FILE "encryption.c" - - -/* - * SHA1 test from the original sha1.c source file. - */ -static char *sha1_test_data[] = { - "abc", - "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq", - "A million repetitions of 'a'" -}; -static char *sha1_test_results[] = { - "A9993E36 4706816A BA3E2571 7850C26C 9CD0D89D", - "84983E44 1C3BD26E BAAE4AA1 F95129E5 E54670F1", - "34AA973C D4C4DAA4 F61EEB2B DBAD2731 6534016F" -}; - - -static void digest_to_hex(const pj_uint8_t digest[PJ_SHA1_DIGEST_SIZE], - char *output) -{ - int i,j; - char *c = output; - - for (i = 0; i < PJ_SHA1_DIGEST_SIZE/4; i++) { - for (j = 0; j < 4; j++) { - sprintf(c,"%02X", digest[i*4+j]); - c += 2; - } - sprintf(c, " "); - c += 1; - } - *(c - 1) = '\0'; -} - -static int sha1_test1(void) -{ - enum { MILLION = 1000000 }; - int k; - pj_sha1_context context; - pj_uint8_t digest[20]; - char output[80]; - pj_pool_t *pool; - pj_uint8_t *block; - - PJ_LOG(3, (THIS_FILE, " SHA1 test vector 1 from sha1.c..")); - - for (k = 0; k < 2; k++){ - pj_sha1_init(&context); - pj_sha1_update(&context, (pj_uint8_t*)sha1_test_data[k], - pj_ansi_strlen(sha1_test_data[k])); - pj_sha1_final(&context, digest); - digest_to_hex(digest, output); - - if (pj_ansi_strcmp(output, sha1_test_results[k])) { - PJ_LOG(3, (THIS_FILE, " incorrect hash result on k=%d", k)); - return -10; - } - } - - /* million 'a' vector we feed separately */ - pj_sha1_init(&context); - for (k = 0; k < MILLION; k++) - pj_sha1_update(&context, (pj_uint8_t*)"a", 1); - pj_sha1_final(&context, digest); - digest_to_hex(digest, output); - if (strcmp(output, sha1_test_results[2])) { - PJ_LOG(3, (THIS_FILE, " incorrect hash result!")); - return -20; - } - - /* million 'a' test, using block */ - pool = pj_pool_create(mem, "sha1test", 256, 512, NULL); - block = (pj_uint8_t*)pj_pool_alloc(pool, MILLION); - pj_memset(block, 'a', MILLION); - - pj_sha1_init(&context); - pj_sha1_update(&context, block, MILLION); - pj_sha1_final(&context, digest); - digest_to_hex(digest, output); - if (strcmp(output, sha1_test_results[2])) { - pj_pool_release(pool); - PJ_LOG(3, (THIS_FILE, " incorrect hash result for block update!")); - return -21; - } - - /* verify that original buffer was not modified */ - for (k=0; k 0) { - pj_crc32_update(&ctx, (pj_uint8_t*)crc32_test_data[i].input + len/2, - len - len/2); - } - - crc1 = pj_crc32_final(&ctx); - - if (crc0 != crc1) { - PJ_LOG(3,(THIS_FILE, - " error: crc algorithm error on test %d", i)); - return -85; - } - - } - return 0; -} - -enum -{ - ENCODE = 1, - DECODE = 2, - ENCODE_DECODE = 3 -}; - -/* - * Base64 test vectors (RFC 4648) - */ -static struct base64_test_vec -{ - const char *base256; - const char *base64; - unsigned flag; -} base64_test_vec[] = -{ - { - "", - "", - ENCODE_DECODE - }, - { - "f", - "Zg==", - ENCODE_DECODE - }, - { - "fo", - "Zm8=", - ENCODE_DECODE - }, - { - "foo", - "Zm9v", - ENCODE_DECODE - }, - { - "foob", - "Zm9vYg==", - ENCODE_DECODE - }, - { - "fooba", - "Zm9vYmE=", - ENCODE_DECODE - }, - { - "foobar", - "Zm9vYmFy", - ENCODE_DECODE - }, - { - "\x14\xfb\x9c\x03\xd9\x7e", - "FPucA9l+", - ENCODE_DECODE - }, - { - "\x14\xfb\x9c\x03\xd9", - "FPucA9k=", - ENCODE_DECODE - }, - { - "\x14\xfb\x9c\x03", - "FPucAw==", - ENCODE_DECODE - }, - /* with whitespaces */ - { - "foobar", - "Zm9v\r\nYmFy", - DECODE - }, - { - "foobar", - "\nZ\r\nm 9\tv\nYm\nF\ny\n", - DECODE - }, -}; - - -static int base64_test(void) -{ - unsigned i; - char output[80]; - pj_status_t rc; - - PJ_LOG(3, (THIS_FILE, " base64 test..")); - - for (i=0; i -#include - -#define ACTION_REPLY 0 -#define ACTION_IGNORE -1 - -static struct server_t -{ - pj_sock_t sock; - pj_uint16_t port; - pj_thread_t *thread; - - /* Action: - * 0: reply with the response in resp. - * -1: ignore query (to simulate timeout). - * other: reply with that error - */ - int action; - pj_bool_t send_content_length; - unsigned data_size; - unsigned buf_size; -} g_server; - -static pj_bool_t thread_quit; -static pj_timer_heap_t *timer_heap; -static pj_ioqueue_t *ioqueue; -static pj_pool_t *pool; -static pj_http_req *http_req; -static pj_bool_t test_cancel = PJ_FALSE; -static pj_size_t total_size; -static pj_size_t send_size = 0; -static pj_status_t sstatus; -static pj_sockaddr_in addr; -static int counter = 0; - -static int server_thread(void *p) -{ - struct server_t *srv = (struct server_t*)p; - char *pkt = (char*)pj_pool_alloc(pool, srv->buf_size); - pj_sock_t newsock = PJ_INVALID_SOCKET; - - while (!thread_quit) { - pj_ssize_t pkt_len; - int rc; - pj_fd_set_t rset; - pj_time_val timeout = {0, 500}; - - while (!thread_quit) { - PJ_FD_ZERO(&rset); - PJ_FD_SET(srv->sock, &rset); - rc = pj_sock_select(srv->sock+1, &rset, NULL, NULL, &timeout); - if (rc != 1) { - continue; - } - - rc = pj_sock_accept(srv->sock, &newsock, NULL, NULL); - if (rc == PJ_SUCCESS) { - break; - } - } - - if (thread_quit) - break; - - while (!thread_quit) { - PJ_FD_ZERO(&rset); - PJ_FD_SET(newsock, &rset); - rc = pj_sock_select(newsock+1, &rset, NULL, NULL, &timeout); - if (rc != 1) { - PJ_LOG(3,("http test", "client timeout")); - continue; - } - - pkt_len = srv->buf_size; - rc = pj_sock_recv(newsock, pkt, &pkt_len, 0); - if (rc == PJ_SUCCESS) { - break; - } - } - - if (thread_quit) - break; - - /* Simulate network RTT */ - pj_thread_sleep(50); - - if (srv->action == ACTION_IGNORE) { - continue; - } else if (srv->action == ACTION_REPLY) { - unsigned send_size = 0, ctr = 0; - pj_ansi_sprintf(pkt, "HTTP/1.0 200 OK\r\n"); - if (srv->send_content_length) { - pj_ansi_sprintf(pkt + pj_ansi_strlen(pkt), - "Content-Length: %d\r\n", - srv->data_size); - } - pj_ansi_sprintf(pkt + pj_ansi_strlen(pkt), "\r\n"); - pkt_len = pj_ansi_strlen(pkt); - rc = pj_sock_send(newsock, pkt, &pkt_len, 0); - if (rc != PJ_SUCCESS) { - pj_sock_close(newsock); - continue; - } - while (send_size < srv->data_size) { - pkt_len = srv->data_size - send_size; - if (pkt_len > (signed)srv->buf_size) - pkt_len = srv->buf_size; - send_size += pkt_len; - pj_create_random_string(pkt, pkt_len); - pj_ansi_sprintf(pkt, "\nPacket: %d", ++ctr); - pkt[pj_ansi_strlen(pkt)] = '\n'; - rc = pj_sock_send(newsock, pkt, &pkt_len, 0); - if (rc != PJ_SUCCESS) - break; - } - pj_sock_close(newsock); - } - } - - return 0; -} - -static void on_data_read(pj_http_req *hreq, void *data, pj_size_t size) -{ - PJ_UNUSED_ARG(hreq); - PJ_UNUSED_ARG(data); - - PJ_LOG(5, (THIS_FILE, "\nData received: %d bytes", size)); - if (size > 0) { -#ifdef VERBOSE - printf("%.*s\n", (int)size, (char *)data); -#endif - } -} - -static void on_send_data(pj_http_req *hreq, - void **data, pj_size_t *size) -{ - char *sdata; - pj_size_t sendsz = 8397; - - PJ_UNUSED_ARG(hreq); - - if (send_size + sendsz > total_size) { - sendsz = total_size - send_size; - } - send_size += sendsz; - - sdata = (char*)pj_pool_alloc(pool, sendsz); - pj_create_random_string(sdata, sendsz); - pj_ansi_sprintf(sdata, "\nSegment #%d\n", ++counter); - *data = sdata; - *size = sendsz; - - PJ_LOG(5, (THIS_FILE, "\nSending data progress: %d out of %d bytes", - send_size, total_size)); -} - - -static void on_complete(pj_http_req *hreq, pj_status_t status, - const pj_http_resp *resp) -{ - PJ_UNUSED_ARG(hreq); - - if (status == PJ_ECANCELLED) { - PJ_LOG(5, (THIS_FILE, "Request cancelled")); - return; - } else if (status == PJ_ETIMEDOUT) { - PJ_LOG(5, (THIS_FILE, "Request timed out!")); - return; - } else if (status != PJ_SUCCESS) { - PJ_LOG(3, (THIS_FILE, "Error %d", status)); - return; - } - PJ_LOG(5, (THIS_FILE, "\nData completed: %d bytes", resp->size)); - if (resp->size > 0 && resp->data) { -#ifdef VERBOSE - printf("%.*s\n", (int)resp->size, (char *)resp->data); -#endif - } -} - -static void on_response(pj_http_req *hreq, const pj_http_resp *resp) -{ - pj_size_t i; - - PJ_UNUSED_ARG(hreq); - PJ_UNUSED_ARG(resp); - PJ_UNUSED_ARG(i); - -#ifdef VERBOSE - printf("%.*s, %d, %.*s\n", STR_PREC(resp->version), - resp->status_code, STR_PREC(resp->reason)); - for (i = 0; i < resp->headers.count; i++) { - printf("%.*s : %.*s\n", - STR_PREC(resp->headers.header[i].name), - STR_PREC(resp->headers.header[i].value)); - } -#endif - - if (test_cancel) { - /* Need to delay closing the client socket here, otherwise the - * server will get SIGPIPE when sending response. - */ - pj_thread_sleep(100); - pj_http_req_cancel(hreq, PJ_TRUE); - test_cancel = PJ_FALSE; - } -} - - -pj_status_t parse_url(const char *url, pj_http_url *hurl) -{ - pj_str_t surl; - pj_status_t status; - - pj_cstr(&surl, url); - status = pj_http_req_parse_url(&surl, hurl); -#ifdef VERBOSE - if (!status) { - printf("URL: %s\nProtocol: %.*s\nHost: %.*s\nPort: %d\nPath: %.*s\n\n", - url, STR_PREC(hurl->protocol), STR_PREC(hurl->host), - hurl->port, STR_PREC(hurl->path)); - } else { - } -#endif - return status; -} - -static int parse_url_test() -{ - struct test_data - { - char *url; - pj_status_t result; - const char *username; - const char *passwd; - const char *host; - int port; - const char *path; - } test_data[] = - { - /* Simple URL without '/' in the end */ - {"http://www.pjsip.org", PJ_SUCCESS, "", "", "www.pjsip.org", 80, "/"}, - - /* Simple URL with port number but without '/' in the end */ - {"http://pjsip.org:8080", PJ_SUCCESS, "", "", "pjsip.org", 8080, "/"}, - - /* URL with path */ - {"http://127.0.0.1:280/Joomla/index.php?option=com_content&task=view&id=5&Itemid=6", - PJ_SUCCESS, "", "", "127.0.0.1", 280, - "/Joomla/index.php?option=com_content&task=view&id=5&Itemid=6"}, - - /* URL with port and path */ - {"http://pjsip.org:81/about-us/", PJ_SUCCESS, "", "", "pjsip.org", 81, "/about-us/"}, - - /* unsupported protocol */ - {"ftp://www.pjsip.org", PJ_ENOTSUP, "", "", "", 80, ""}, - - /* invalid format */ - {"http:/pjsip.org/about-us/", PJLIB_UTIL_EHTTPINURL, "", "", "", 80, ""}, - - /* invalid port number */ - {"http://pjsip.org:xyz/", PJLIB_UTIL_EHTTPINPORT, "", "", "", 80, ""}, - - /* with username and password */ - {"http://user:pass@pjsip.org", PJ_SUCCESS, "user", "pass", "pjsip.org", 80, "/"}, - - /* password only*/ - {"http://:pass@pjsip.org", PJ_SUCCESS, "", "pass", "pjsip.org", 80, "/"}, - - /* user only*/ - {"http://user:@pjsip.org", PJ_SUCCESS, "user", "", "pjsip.org", 80, "/"}, - - /* empty username and passwd*/ - {"http://:@pjsip.org", PJ_SUCCESS, "", "", "pjsip.org", 80, "/"}, - - /* '@' character in username and path */ - {"http://user@pjsip.org/@", PJ_SUCCESS, "user", "", "pjsip.org", 80, "/@"}, - - /* '@' character in path */ - {"http://pjsip.org/@", PJ_SUCCESS, "", "", "pjsip.org", 80, "/@"}, - - /* '@' character in path */ - {"http://pjsip.org/one@", PJ_SUCCESS, "", "", "pjsip.org", 80, "/one@"}, - - /* Invalid URL */ - {"http://:", PJ_EINVAL, "", "", "", 0, ""}, - - /* Invalid URL */ - {"http://@", PJ_EINVAL, "", "", "", 0, ""}, - - /* Invalid URL */ - {"http", PJ_EINVAL, "", "", "", 0, ""}, - - /* Invalid URL */ - {"http:/", PJ_EINVAL, "", "", "", 0, ""}, - - /* Invalid URL */ - {"http://", PJ_EINVAL, "", "", "", 0, ""}, - - /* Invalid URL */ - {"http:///", PJ_EINVAL, "", "", "", 0, ""}, - - /* Invalid URL */ - {"http://@/", PJ_EINVAL, "", "", "", 0, ""}, - - /* Invalid URL */ - {"http:///@", PJ_EINVAL, "", "", "", 0, ""}, - - /* Invalid URL */ - {"http://:::", PJ_EINVAL, "", "", "", 0, ""}, - }; - unsigned i; - - for (i=0; iurl)); - status = parse_url(ptd->url, &hurl); - - if (status != ptd->result) { - PJ_LOG(3,(THIS_FILE, "%d", status)); - return -11; - } - if (status != PJ_SUCCESS) - continue; - if (pj_strcmp2(&hurl.username, ptd->username)) - return -12; - if (pj_strcmp2(&hurl.passwd, ptd->passwd)) - return -13; - if (pj_strcmp2(&hurl.host, ptd->host)) - return -14; - if (hurl.port != ptd->port) - return -15; - if (pj_strcmp2(&hurl.path, ptd->path)) - return -16; - } - - return 0; -} - -/* - * GET request scenario 1: using on_response() and on_data_read() - * Server replies with content-length. Application cancels the - * request upon receiving the response, then start it again. - */ -int http_client_test1() -{ - pj_str_t url; - pj_http_req_callback hcb; - pj_http_req_param param; - char urlbuf[80]; - - pj_bzero(&hcb, sizeof(hcb)); - hcb.on_complete = &on_complete; - hcb.on_data_read = &on_data_read; - hcb.on_response = &on_response; - pj_http_req_param_default(¶m); - - /* Create pool, timer, and ioqueue */ - pool = pj_pool_create(mem, NULL, 8192, 4096, NULL); - if (pj_timer_heap_create(pool, 16, &timer_heap)) - return -31; - if (pj_ioqueue_create(pool, 16, &ioqueue)) - return -32; - -#ifdef USE_LOCAL_SERVER - - thread_quit = PJ_FALSE; - g_server.action = ACTION_REPLY; - g_server.send_content_length = PJ_TRUE; - g_server.data_size = 2970; - g_server.buf_size = 1024; - - sstatus = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, - &g_server.sock); - if (sstatus != PJ_SUCCESS) - return -41; - - pj_sockaddr_in_init(&addr, NULL, 0); - - sstatus = pj_sock_bind(g_server.sock, &addr, sizeof(addr)); - if (sstatus != PJ_SUCCESS) - return -43; - - { - pj_sockaddr_in addr; - int addr_len = sizeof(addr); - sstatus = pj_sock_getsockname(g_server.sock, &addr, &addr_len); - if (sstatus != PJ_SUCCESS) - return -44; - g_server.port = pj_sockaddr_in_get_port(&addr); - pj_ansi_snprintf(urlbuf, sizeof(urlbuf), - "http://127.0.0.1:%d/about-us/", - g_server.port); - url = pj_str(urlbuf); - } - - sstatus = pj_sock_listen(g_server.sock, 8); - if (sstatus != PJ_SUCCESS) - return -45; - - sstatus = pj_thread_create(pool, NULL, &server_thread, &g_server, - 0, 0, &g_server.thread); - if (sstatus != PJ_SUCCESS) - return -47; - -#else - pj_cstr(&url, "http://www.teluu.com/about-us/"); -#endif - - if (pj_http_req_create(pool, &url, timer_heap, ioqueue, - ¶m, &hcb, &http_req)) - return -33; - - test_cancel = PJ_TRUE; - if (pj_http_req_start(http_req)) - return -35; - - while (pj_http_req_is_running(http_req)) { - pj_time_val delay = {0, 50}; - pj_ioqueue_poll(ioqueue, &delay); - pj_timer_heap_poll(timer_heap, NULL); - } - - if (pj_http_req_start(http_req)) - return -37; - - while (pj_http_req_is_running(http_req)) { - pj_time_val delay = {0, 50}; - pj_ioqueue_poll(ioqueue, &delay); - pj_timer_heap_poll(timer_heap, NULL); - } - -#ifdef USE_LOCAL_SERVER - thread_quit = PJ_TRUE; - pj_thread_join(g_server.thread); - pj_sock_close(g_server.sock); -#endif - - pj_http_req_destroy(http_req); - pj_ioqueue_destroy(ioqueue); - pj_timer_heap_destroy(timer_heap); - pj_pool_release(pool); - - return PJ_SUCCESS; -} - -/* - * GET request scenario 2: using on_complete() to get the - * complete data. Server does not reply with content-length. - * Request timed out, application sets a longer timeout, then - * then restart the request. - */ -int http_client_test2() -{ - pj_str_t url; - pj_http_req_callback hcb; - pj_http_req_param param; - pj_time_val timeout; - char urlbuf[80]; - - pj_bzero(&hcb, sizeof(hcb)); - hcb.on_complete = &on_complete; - hcb.on_response = &on_response; - pj_http_req_param_default(¶m); - - /* Create pool, timer, and ioqueue */ - pool = pj_pool_create(mem, NULL, 8192, 4096, NULL); - if (pj_timer_heap_create(pool, 16, &timer_heap)) - return -41; - if (pj_ioqueue_create(pool, 16, &ioqueue)) - return -42; - -#ifdef USE_LOCAL_SERVER - - pj_cstr(&url, "http://127.0.0.1:380"); - param.timeout.sec = 0; - param.timeout.msec = 2000; - - thread_quit = PJ_FALSE; - g_server.action = ACTION_IGNORE; - g_server.send_content_length = PJ_FALSE; - g_server.data_size = 4173; - g_server.buf_size = 1024; - - sstatus = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, - &g_server.sock); - if (sstatus != PJ_SUCCESS) - return -41; - - pj_sockaddr_in_init(&addr, NULL, 0); - - sstatus = pj_sock_bind(g_server.sock, &addr, sizeof(addr)); - if (sstatus != PJ_SUCCESS) - return -43; - - { - pj_sockaddr_in addr; - int addr_len = sizeof(addr); - sstatus = pj_sock_getsockname(g_server.sock, &addr, &addr_len); - if (sstatus != PJ_SUCCESS) - return -44; - g_server.port = pj_sockaddr_in_get_port(&addr); - pj_ansi_snprintf(urlbuf, sizeof(urlbuf), - "http://127.0.0.1:%d", - g_server.port); - url = pj_str(urlbuf); - } - - sstatus = pj_sock_listen(g_server.sock, 8); - if (sstatus != PJ_SUCCESS) - return -45; - - sstatus = pj_thread_create(pool, NULL, &server_thread, &g_server, - 0, 0, &g_server.thread); - if (sstatus != PJ_SUCCESS) - return -47; - -#else - pj_cstr(&url, "http://www.google.com.sg"); - param.timeout.sec = 0; - param.timeout.msec = 50; -#endif - - pj_http_headers_add_elmt2(¶m.headers, (char*)"Accept", - (char*)"image/gif, image/x-xbitmap, image/jpeg, " - "image/pjpeg, application/x-ms-application," - " application/vnd.ms-xpsdocument, " - "application/xaml+xml, " - "application/x-ms-xbap, " - "application/x-shockwave-flash, " - "application/vnd.ms-excel, " - "application/vnd.ms-powerpoint, " - "application/msword, */*"); - pj_http_headers_add_elmt2(¶m.headers, (char*)"Accept-Language", - (char*)"en-sg"); - pj_http_headers_add_elmt2(¶m.headers, (char*)"User-Agent", - (char*)"Mozilla/4.0 (compatible; MSIE 7.0; " - "Windows NT 6.0; SLCC1; " - ".NET CLR 2.0.50727; " - ".NET CLR 3.0.04506)"); - if (pj_http_req_create(pool, &url, timer_heap, ioqueue, - ¶m, &hcb, &http_req)) - return -43; - - if (pj_http_req_start(http_req)) - return -45; - - while (pj_http_req_is_running(http_req)) { - pj_time_val delay = {0, 50}; - pj_ioqueue_poll(ioqueue, &delay); - pj_timer_heap_poll(timer_heap, NULL); - } - -#ifdef USE_LOCAL_SERVER - g_server.action = ACTION_REPLY; -#endif - - timeout.sec = 0; timeout.msec = 10000; - pj_http_req_set_timeout(http_req, &timeout); - if (pj_http_req_start(http_req)) - return -47; - - while (pj_http_req_is_running(http_req)) { - pj_time_val delay = {0, 50}; - pj_ioqueue_poll(ioqueue, &delay); - pj_timer_heap_poll(timer_heap, NULL); - } - -#ifdef USE_LOCAL_SERVER - thread_quit = PJ_TRUE; - pj_thread_join(g_server.thread); - pj_sock_close(g_server.sock); -#endif - - pj_http_req_destroy(http_req); - pj_ioqueue_destroy(ioqueue); - pj_timer_heap_destroy(timer_heap); - pj_pool_release(pool); - - return PJ_SUCCESS; -} - -/* - * PUT request scenario 1: sending the whole data at once - */ -int http_client_test_put1() -{ - pj_str_t url; - pj_http_req_callback hcb; - pj_http_req_param param; - char *data; - int length = 3875; - char urlbuf[80]; - - pj_bzero(&hcb, sizeof(hcb)); - hcb.on_complete = &on_complete; - hcb.on_data_read = &on_data_read; - hcb.on_response = &on_response; - - /* Create pool, timer, and ioqueue */ - pool = pj_pool_create(mem, NULL, 8192, 4096, NULL); - if (pj_timer_heap_create(pool, 16, &timer_heap)) - return -51; - if (pj_ioqueue_create(pool, 16, &ioqueue)) - return -52; - -#ifdef USE_LOCAL_SERVER - thread_quit = PJ_FALSE; - g_server.action = ACTION_REPLY; - g_server.send_content_length = PJ_TRUE; - g_server.data_size = 0; - g_server.buf_size = 4096; - - sstatus = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, - &g_server.sock); - if (sstatus != PJ_SUCCESS) - return -41; - - pj_sockaddr_in_init(&addr, NULL, 0); - - sstatus = pj_sock_bind(g_server.sock, &addr, sizeof(addr)); - if (sstatus != PJ_SUCCESS) - return -43; - - { - pj_sockaddr_in addr; - int addr_len = sizeof(addr); - sstatus = pj_sock_getsockname(g_server.sock, &addr, &addr_len); - if (sstatus != PJ_SUCCESS) - return -44; - g_server.port = pj_sockaddr_in_get_port(&addr); - pj_ansi_snprintf(urlbuf, sizeof(urlbuf), - "http://127.0.0.1:%d/test/test.txt", - g_server.port); - url = pj_str(urlbuf); - } - - sstatus = pj_sock_listen(g_server.sock, 8); - if (sstatus != PJ_SUCCESS) - return -45; - - sstatus = pj_thread_create(pool, NULL, &server_thread, &g_server, - 0, 0, &g_server.thread); - if (sstatus != PJ_SUCCESS) - return -47; - -#else - pj_cstr(&url, "http://127.0.0.1:280/test/test.txt"); - -#endif - - pj_http_req_param_default(¶m); - pj_strset2(¶m.method, (char*)"PUT"); - data = (char*)pj_pool_alloc(pool, length); - pj_create_random_string(data, length); - pj_ansi_sprintf(data, "PUT test\n"); - param.reqdata.data = data; - param.reqdata.size = length; - if (pj_http_req_create(pool, &url, timer_heap, ioqueue, - ¶m, &hcb, &http_req)) - return -53; - - if (pj_http_req_start(http_req)) - return -55; - - while (pj_http_req_is_running(http_req)) { - pj_time_val delay = {0, 50}; - pj_ioqueue_poll(ioqueue, &delay); - pj_timer_heap_poll(timer_heap, NULL); - } - -#ifdef USE_LOCAL_SERVER - thread_quit = PJ_TRUE; - pj_thread_join(g_server.thread); - pj_sock_close(g_server.sock); -#endif - - pj_http_req_destroy(http_req); - pj_ioqueue_destroy(ioqueue); - pj_timer_heap_destroy(timer_heap); - pj_pool_release(pool); - - return PJ_SUCCESS; -} - -/* - * PUT request scenario 2: using on_send_data() callback to - * sending the data in chunks - */ -int http_client_test_put2() -{ - pj_str_t url; - pj_http_req_callback hcb; - pj_http_req_param param; - char urlbuf[80]; - - pj_bzero(&hcb, sizeof(hcb)); - hcb.on_complete = &on_complete; - hcb.on_send_data = &on_send_data; - hcb.on_data_read = &on_data_read; - hcb.on_response = &on_response; - - /* Create pool, timer, and ioqueue */ - pool = pj_pool_create(mem, NULL, 8192, 4096, NULL); - if (pj_timer_heap_create(pool, 16, &timer_heap)) - return -51; - if (pj_ioqueue_create(pool, 16, &ioqueue)) - return -52; - -#ifdef USE_LOCAL_SERVER - thread_quit = PJ_FALSE; - g_server.action = ACTION_REPLY; - g_server.send_content_length = PJ_TRUE; - g_server.data_size = 0; - g_server.buf_size = 16384; - - sstatus = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, - &g_server.sock); - if (sstatus != PJ_SUCCESS) - return -41; - - pj_sockaddr_in_init(&addr, NULL, 0); - - sstatus = pj_sock_bind(g_server.sock, &addr, sizeof(addr)); - if (sstatus != PJ_SUCCESS) - return -43; - - { - pj_sockaddr_in addr; - int addr_len = sizeof(addr); - sstatus = pj_sock_getsockname(g_server.sock, &addr, &addr_len); - if (sstatus != PJ_SUCCESS) - return -44; - g_server.port = pj_sockaddr_in_get_port(&addr); - pj_ansi_snprintf(urlbuf, sizeof(urlbuf), - "http://127.0.0.1:%d/test/test2.txt", - g_server.port); - url = pj_str(urlbuf); - } - - sstatus = pj_sock_listen(g_server.sock, 8); - if (sstatus != PJ_SUCCESS) - return -45; - - sstatus = pj_thread_create(pool, NULL, &server_thread, &g_server, - 0, 0, &g_server.thread); - if (sstatus != PJ_SUCCESS) - return -47; - -#else - pj_cstr(&url, "http://127.0.0.1:280/test/test2.txt"); - -#endif - - pj_http_req_param_default(¶m); - pj_strset2(¶m.method, (char*)"PUT"); - total_size = 15383; - send_size = 0; - param.reqdata.total_size = total_size; - if (pj_http_req_create(pool, &url, timer_heap, ioqueue, - ¶m, &hcb, &http_req)) - return -53; - - if (pj_http_req_start(http_req)) - return -55; - - while (pj_http_req_is_running(http_req)) { - pj_time_val delay = {0, 50}; - pj_ioqueue_poll(ioqueue, &delay); - pj_timer_heap_poll(timer_heap, NULL); - } - -#ifdef USE_LOCAL_SERVER - thread_quit = PJ_TRUE; - pj_thread_join(g_server.thread); - pj_sock_close(g_server.sock); -#endif - - pj_http_req_destroy(http_req); - pj_ioqueue_destroy(ioqueue); - pj_timer_heap_destroy(timer_heap); - pj_pool_release(pool); - - return PJ_SUCCESS; -} - -int http_client_test_delete() -{ - pj_str_t url; - pj_http_req_callback hcb; - pj_http_req_param param; - char urlbuf[80]; - - pj_bzero(&hcb, sizeof(hcb)); - hcb.on_complete = &on_complete; - hcb.on_response = &on_response; - - /* Create pool, timer, and ioqueue */ - pool = pj_pool_create(mem, NULL, 8192, 4096, NULL); - if (pj_timer_heap_create(pool, 16, &timer_heap)) - return -61; - if (pj_ioqueue_create(pool, 16, &ioqueue)) - return -62; - -#ifdef USE_LOCAL_SERVER - thread_quit = PJ_FALSE; - g_server.action = ACTION_REPLY; - g_server.send_content_length = PJ_TRUE; - g_server.data_size = 0; - g_server.buf_size = 1024; - - sstatus = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, - &g_server.sock); - if (sstatus != PJ_SUCCESS) - return -41; - - pj_sockaddr_in_init(&addr, NULL, 0); - - sstatus = pj_sock_bind(g_server.sock, &addr, sizeof(addr)); - if (sstatus != PJ_SUCCESS) - return -43; - - { - pj_sockaddr_in addr; - int addr_len = sizeof(addr); - sstatus = pj_sock_getsockname(g_server.sock, &addr, &addr_len); - if (sstatus != PJ_SUCCESS) - return -44; - g_server.port = pj_sockaddr_in_get_port(&addr); - pj_ansi_snprintf(urlbuf, sizeof(urlbuf), - "http://127.0.0.1:%d/test/test2.txt", - g_server.port); - url = pj_str(urlbuf); - } - - sstatus = pj_sock_listen(g_server.sock, 8); - if (sstatus != PJ_SUCCESS) - return -45; - - sstatus = pj_thread_create(pool, NULL, &server_thread, &g_server, - 0, 0, &g_server.thread); - if (sstatus != PJ_SUCCESS) - return -47; - -#else - pj_cstr(&url, "http://127.0.0.1:280/test/test2.txt"); -#endif - - pj_http_req_param_default(¶m); - pj_strset2(¶m.method, (char*)"DELETE"); - if (pj_http_req_create(pool, &url, timer_heap, ioqueue, - ¶m, &hcb, &http_req)) - return -63; - - if (pj_http_req_start(http_req)) - return -65; - - while (pj_http_req_is_running(http_req)) { - pj_time_val delay = {0, 50}; - pj_ioqueue_poll(ioqueue, &delay); - pj_timer_heap_poll(timer_heap, NULL); - } - -#ifdef USE_LOCAL_SERVER - thread_quit = PJ_TRUE; - pj_thread_join(g_server.thread); - pj_sock_close(g_server.sock); -#endif - - pj_http_req_destroy(http_req); - pj_ioqueue_destroy(ioqueue); - pj_timer_heap_destroy(timer_heap); - pj_pool_release(pool); - - return PJ_SUCCESS; -} - -int http_client_test() -{ - int rc; - - PJ_LOG(3, (THIS_FILE, "..Testing URL parsing")); - rc = parse_url_test(); - if (rc) - return rc; - - PJ_LOG(3, (THIS_FILE, "..Testing GET request scenario 1")); - rc = http_client_test1(); - if (rc) - return rc; - - PJ_LOG(3, (THIS_FILE, "..Testing GET request scenario 2")); - rc = http_client_test2(); - if (rc) - return rc; - - PJ_LOG(3, (THIS_FILE, "..Testing PUT request scenario 1")); - rc = http_client_test_put1(); - if (rc) - return rc; - - PJ_LOG(3, (THIS_FILE, "..Testing PUT request scenario 2")); - rc = http_client_test_put2(); - if (rc) - return rc; - - PJ_LOG(3, (THIS_FILE, "..Testing DELETE request")); - rc = http_client_test_delete(); - if (rc) - return rc; - - return PJ_SUCCESS; -} - -#else -/* To prevent warning about "translation unit is empty" - * when this test is disabled. - */ -int dummy_http_client_test; -#endif /* INCLUDE_HTTP_CLIENT_TEST */ diff --git a/res/pjproject/pjlib-util/src/pjlib-util-test/main.c b/res/pjproject/pjlib-util/src/pjlib-util-test/main.c deleted file mode 100644 index 7cc99204fa..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util-test/main.c +++ /dev/null @@ -1,63 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include - -#if defined(PJ_SUNOS) && PJ_SUNOS!=0 -#include -static void init_signals() -{ - struct sigaction act; - - memset(&act, 0, sizeof(act)); - act.sa_handler = SIG_IGN; - - sigaction(SIGALRM, &act, NULL); -} - -#else -#define init_signals() -#endif - -#define boost() - -int main(int argc, char *argv[]) -{ - int rc; - - PJ_UNUSED_ARG(argc); - PJ_UNUSED_ARG(argv); - - boost(); - init_signals(); - - rc = test_main(); - - if (argc==2 && pj_ansi_strcmp(argv[1], "-i")==0) { - char s[10]; - - puts("Press ENTER to quit"); - if (fgets(s, sizeof(s), stdin) == NULL) - return rc; - } - - return rc; -} - diff --git a/res/pjproject/pjlib-util/src/pjlib-util-test/main_rtems.c b/res/pjproject/pjlib-util/src/pjlib-util-test/main_rtems.c deleted file mode 100644 index 4b7b58d274..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util-test/main_rtems.c +++ /dev/null @@ -1,11 +0,0 @@ - -/* - * !! OIY OIY !! - * - * The purpose of this file is only to get pjlib-util-test linked. I haven't - * actually tried to run pjlib-util-test on RTEMS!! - * - */ - - -#include "../../pjlib/src/pjlib-test/main_rtems.c" diff --git a/res/pjproject/pjlib-util/src/pjlib-util-test/main_win32.c b/res/pjproject/pjlib-util/src/pjlib-util-test/main_win32.c deleted file mode 100644 index 3043a395f9..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util-test/main_win32.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../pjlib/src/pjlib-test/main_win32.c" diff --git a/res/pjproject/pjlib-util/src/pjlib-util-test/resolver_test.c b/res/pjproject/pjlib-util/src/pjlib-util-test/resolver_test.c deleted file mode 100644 index ebe466e900..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util-test/resolver_test.c +++ /dev/null @@ -1,1405 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include "test.h" - - -#define THIS_FILE "srv_resolver_test.c" - -//////////////////////////////////////////////////////////////////////////// -/* - * TODO: create various invalid DNS packets. - */ - - -//////////////////////////////////////////////////////////////////////////// - - -#define ACTION_REPLY 0 -#define ACTION_IGNORE -1 -#define ACTION_CB -2 - -static struct server_t -{ - pj_sock_t sock; - pj_uint16_t port; - pj_thread_t *thread; - - /* Action: - * 0: reply with the response in resp. - * -1: ignore query (to simulate timeout). - * other: reply with that error - */ - int action; - - pj_dns_parsed_packet resp; - void (*action_cb)(const pj_dns_parsed_packet *pkt, - pj_dns_parsed_packet **p_res); - - unsigned pkt_count; - -} g_server[2]; - -static pj_pool_t *pool; -static pj_dns_resolver *resolver; -static pj_bool_t thread_quit; -static pj_timer_heap_t *timer_heap; -static pj_ioqueue_t *ioqueue; -static pj_thread_t *poll_thread; -static pj_sem_t *sem; -static pj_dns_settings set; - -#define MAX_LABEL 32 - -struct label_tab -{ - unsigned count; - - struct { - unsigned pos; - pj_str_t label; - } a[MAX_LABEL]; -}; - -static void write16(pj_uint8_t *p, pj_uint16_t val) -{ - p[0] = (pj_uint8_t)(val >> 8); - p[1] = (pj_uint8_t)(val & 0xFF); -} - -static void write32(pj_uint8_t *p, pj_uint32_t val) -{ - val = pj_htonl(val); - pj_memcpy(p, &val, 4); -} - -static int print_name(pj_uint8_t *pkt, int size, - pj_uint8_t *pos, const pj_str_t *name, - struct label_tab *tab) -{ - pj_uint8_t *p = pos; - const char *endlabel, *endname; - unsigned i; - pj_str_t label; - - /* Check if name is in the table */ - for (i=0; icount; ++i) { - if (pj_strcmp(&tab->a[i].label, name)==0) - break; - } - - if (i != tab->count) { - write16(p, (pj_uint16_t)(tab->a[i].pos | (0xc0 << 8))); - return 2; - } else { - if (tab->count < MAX_LABEL) { - tab->a[tab->count].pos = (p-pkt); - tab->a[tab->count].label.ptr = (char*)(p+1); - tab->a[tab->count].label.slen = name->slen; - ++tab->count; - } - } - - endlabel = name->ptr; - endname = name->ptr + name->slen; - - label.ptr = (char*)name->ptr; - - while (endlabel != endname) { - - while (endlabel != endname && *endlabel != '.') - ++endlabel; - - label.slen = (endlabel - label.ptr); - - if (size < label.slen+1) - return -1; - - *p = (pj_uint8_t)label.slen; - pj_memcpy(p+1, label.ptr, label.slen); - - size -= (label.slen+1); - p += (label.slen+1); - - if (endlabel != endname && *endlabel == '.') - ++endlabel; - label.ptr = (char*)endlabel; - } - - if (size == 0) - return -1; - - *p++ = '\0'; - - return p-pos; -} - -static int print_rr(pj_uint8_t *pkt, int size, pj_uint8_t *pos, - const pj_dns_parsed_rr *rr, struct label_tab *tab) -{ - pj_uint8_t *p = pos; - int len; - - len = print_name(pkt, size, pos, &rr->name, tab); - if (len < 0) - return -1; - - p += len; - size -= len; - - if (size < 8) - return -1; - - pj_assert(rr->dnsclass == 1); - - write16(p+0, (pj_uint16_t)rr->type); /* type */ - write16(p+2, (pj_uint16_t)rr->dnsclass); /* class */ - write32(p+4, rr->ttl); /* TTL */ - - p += 8; - size -= 8; - - if (rr->type == PJ_DNS_TYPE_A) { - - if (size < 6) - return -1; - - /* RDLEN is 4 */ - write16(p, 4); - - /* Address */ - pj_memcpy(p+2, &rr->rdata.a.ip_addr, 4); - - p += 6; - size -= 6; - - } else if (rr->type == PJ_DNS_TYPE_CNAME || - rr->type == PJ_DNS_TYPE_NS || - rr->type == PJ_DNS_TYPE_PTR) { - - if (size < 4) - return -1; - - len = print_name(pkt, size-2, p+2, &rr->rdata.cname.name, tab); - if (len < 0) - return -1; - - write16(p, (pj_uint16_t)len); - - p += (len + 2); - size -= (len + 2); - - } else if (rr->type == PJ_DNS_TYPE_SRV) { - - if (size < 10) - return -1; - - write16(p+2, rr->rdata.srv.prio); /* Priority */ - write16(p+4, rr->rdata.srv.weight); /* Weight */ - write16(p+6, rr->rdata.srv.port); /* Port */ - - /* Target */ - len = print_name(pkt, size-8, p+8, &rr->rdata.srv.target, tab); - if (len < 0) - return -1; - - /* RDLEN */ - write16(p, (pj_uint16_t)(len + 6)); - - p += (len + 8); - size -= (len + 8); - - } else { - pj_assert(!"Not supported"); - return -1; - } - - return p-pos; -} - -static int print_packet(const pj_dns_parsed_packet *rec, pj_uint8_t *pkt, - int size) -{ - pj_uint8_t *p = pkt; - struct label_tab tab; - int i, len; - - tab.count = 0; - -#if 0 - pj_enter_critical_section(); - PJ_LOG(3,(THIS_FILE, "Sending response:")); - pj_dns_dump_packet(rec); - pj_leave_critical_section(); -#endif - - pj_assert(sizeof(pj_dns_hdr)==12); - if (size < (int)sizeof(pj_dns_hdr)) - return -1; - - /* Initialize header */ - write16(p+0, rec->hdr.id); - write16(p+2, rec->hdr.flags); - write16(p+4, rec->hdr.qdcount); - write16(p+6, rec->hdr.anscount); - write16(p+8, rec->hdr.nscount); - write16(p+10, rec->hdr.arcount); - - p = pkt + sizeof(pj_dns_hdr); - size -= sizeof(pj_dns_hdr); - - /* Print queries */ - for (i=0; ihdr.qdcount; ++i) { - - len = print_name(pkt, size, p, &rec->q[i].name, &tab); - if (len < 0) - return -1; - - p += len; - size -= len; - - if (size < 4) - return -1; - - /* Set type */ - write16(p+0, (pj_uint16_t)rec->q[i].type); - - /* Set class (IN=1) */ - pj_assert(rec->q[i].dnsclass == 1); - write16(p+2, rec->q[i].dnsclass); - - p += 4; - } - - /* Print answers */ - for (i=0; ihdr.anscount; ++i) { - len = print_rr(pkt, size, p, &rec->ans[i], &tab); - if (len < 0) - return -1; - - p += len; - size -= len; - } - - /* Print NS records */ - for (i=0; ihdr.nscount; ++i) { - len = print_rr(pkt, size, p, &rec->ns[i], &tab); - if (len < 0) - return -1; - - p += len; - size -= len; - } - - /* Print additional records */ - for (i=0; ihdr.arcount; ++i) { - len = print_rr(pkt, size, p, &rec->arr[i], &tab); - if (len < 0) - return -1; - - p += len; - size -= len; - } - - return p - pkt; -} - - -static int server_thread(void *p) -{ - struct server_t *srv = (struct server_t*)p; - - while (!thread_quit) { - pj_fd_set_t rset; - pj_time_val timeout = {0, 500}; - pj_sockaddr_in src_addr; - pj_dns_parsed_packet *req; - char pkt[1024]; - pj_ssize_t pkt_len; - int rc, src_len; - - PJ_FD_ZERO(&rset); - PJ_FD_SET(srv->sock, &rset); - - rc = pj_sock_select(srv->sock+1, &rset, NULL, NULL, &timeout); - if (rc != 1) - continue; - - src_len = sizeof(src_addr); - pkt_len = sizeof(pkt); - rc = pj_sock_recvfrom(srv->sock, pkt, &pkt_len, 0, - &src_addr, &src_len); - if (rc != 0) { - app_perror("Server error receiving packet", rc); - continue; - } - - PJ_LOG(5,(THIS_FILE, "Server %d processing packet", srv - &g_server[0])); - srv->pkt_count++; - - rc = pj_dns_parse_packet(pool, pkt, pkt_len, &req); - if (rc != PJ_SUCCESS) { - app_perror("server error parsing packet", rc); - continue; - } - - /* Verify packet */ - pj_assert(req->hdr.qdcount == 1); - pj_assert(req->q[0].dnsclass == 1); - - /* Simulate network RTT */ - pj_thread_sleep(50); - - if (srv->action == ACTION_IGNORE) { - continue; - } else if (srv->action == ACTION_REPLY) { - srv->resp.hdr.id = req->hdr.id; - pkt_len = print_packet(&srv->resp, (pj_uint8_t*)pkt, sizeof(pkt)); - pj_sock_sendto(srv->sock, pkt, &pkt_len, 0, &src_addr, src_len); - } else if (srv->action == ACTION_CB) { - pj_dns_parsed_packet *resp; - (*srv->action_cb)(req, &resp); - resp->hdr.id = req->hdr.id; - pkt_len = print_packet(resp, (pj_uint8_t*)pkt, sizeof(pkt)); - pj_sock_sendto(srv->sock, pkt, &pkt_len, 0, &src_addr, src_len); - } else if (srv->action > 0) { - req->hdr.flags |= PJ_DNS_SET_RCODE(srv->action); - pkt_len = print_packet(req, (pj_uint8_t*)pkt, sizeof(pkt)); - pj_sock_sendto(srv->sock, pkt, &pkt_len, 0, &src_addr, src_len); - } - } - - return 0; -} - -static int poll_worker_thread(void *p) -{ - PJ_UNUSED_ARG(p); - - while (!thread_quit) { - pj_time_val delay = {0, 100}; - pj_timer_heap_poll(timer_heap, NULL); - pj_ioqueue_poll(ioqueue, &delay); - } - - return 0; -} - -static void destroy(void); - -static int init(void) -{ - pj_status_t status; - pj_str_t nameservers[2]; - pj_uint16_t ports[2]; - int i; - - nameservers[0] = pj_str("127.0.0.1"); - ports[0] = 5553; - nameservers[1] = pj_str("127.0.0.1"); - ports[1] = 5554; - - g_server[0].port = ports[0]; - g_server[1].port = ports[1]; - - pool = pj_pool_create(mem, NULL, 2000, 2000, NULL); - - status = pj_sem_create(pool, NULL, 0, 2, &sem); - pj_assert(status == PJ_SUCCESS); - - for (i=0; i<2; ++i) { - pj_sockaddr_in addr; - - status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &g_server[i].sock); - if (status != PJ_SUCCESS) - return -10; - - pj_sockaddr_in_init(&addr, NULL, (pj_uint16_t)g_server[i].port); - - status = pj_sock_bind(g_server[i].sock, &addr, sizeof(addr)); - if (status != PJ_SUCCESS) - return -20; - - status = pj_thread_create(pool, NULL, &server_thread, &g_server[i], - 0, 0, &g_server[i].thread); - if (status != PJ_SUCCESS) - return -30; - } - - status = pj_timer_heap_create(pool, 16, &timer_heap); - pj_assert(status == PJ_SUCCESS); - - status = pj_ioqueue_create(pool, 16, &ioqueue); - pj_assert(status == PJ_SUCCESS); - - status = pj_dns_resolver_create(mem, NULL, 0, timer_heap, ioqueue, &resolver); - if (status != PJ_SUCCESS) - return -40; - - pj_dns_resolver_get_settings(resolver, &set); - set.good_ns_ttl = 20; - set.bad_ns_ttl = 20; - pj_dns_resolver_set_settings(resolver, &set); - - status = pj_dns_resolver_set_ns(resolver, 2, nameservers, ports); - pj_assert(status == PJ_SUCCESS); - - status = pj_thread_create(pool, NULL, &poll_worker_thread, NULL, 0, 0, &poll_thread); - pj_assert(status == PJ_SUCCESS); - - return 0; -} - - -static void destroy(void) -{ - int i; - - thread_quit = PJ_TRUE; - - for (i=0; i<2; ++i) { - pj_thread_join(g_server[i].thread); - pj_sock_close(g_server[i].sock); - } - - pj_thread_join(poll_thread); - - pj_dns_resolver_destroy(resolver, PJ_FALSE); - pj_ioqueue_destroy(ioqueue); - pj_timer_heap_destroy(timer_heap); - - pj_sem_destroy(sem); - pj_pool_release(pool); -} - - -//////////////////////////////////////////////////////////////////////////// -/* DNS A parser tests */ -static int a_parser_test(void) -{ - pj_dns_parsed_packet pkt; - pj_dns_a_record rec; - pj_status_t rc; - - PJ_LOG(3,(THIS_FILE, " DNS A record parser tests")); - - pkt.q = PJ_POOL_ZALLOC_T(pool, pj_dns_parsed_query); - pkt.ans = (pj_dns_parsed_rr*) - pj_pool_calloc(pool, 32, sizeof(pj_dns_parsed_rr)); - - /* Simple answer with direct A record, but with addition of - * a CNAME and another A to confuse the parser. - */ - PJ_LOG(3,(THIS_FILE, " A RR with duplicate CNAME/A")); - pkt.hdr.flags = 0; - pkt.hdr.qdcount = 1; - pkt.q[0].type = PJ_DNS_TYPE_A; - pkt.q[0].dnsclass = 1; - pkt.q[0].name = pj_str("ahost"); - pkt.hdr.anscount = 3; - - /* This is the RR corresponding to the query */ - pkt.ans[0].name = pj_str("ahost"); - pkt.ans[0].type = PJ_DNS_TYPE_A; - pkt.ans[0].dnsclass = 1; - pkt.ans[0].ttl = 1; - pkt.ans[0].rdata.a.ip_addr.s_addr = 0x01020304; - - /* CNAME to confuse the parser */ - pkt.ans[1].name = pj_str("ahost"); - pkt.ans[1].type = PJ_DNS_TYPE_CNAME; - pkt.ans[1].dnsclass = 1; - pkt.ans[1].ttl = 1; - pkt.ans[1].rdata.cname.name = pj_str("bhost"); - - /* DNS A RR to confuse the parser */ - pkt.ans[2].name = pj_str("bhost"); - pkt.ans[2].type = PJ_DNS_TYPE_A; - pkt.ans[2].dnsclass = 1; - pkt.ans[2].ttl = 1; - pkt.ans[2].rdata.a.ip_addr.s_addr = 0x0203; - - - rc = pj_dns_parse_a_response(&pkt, &rec); - pj_assert(rc == PJ_SUCCESS); - pj_assert(pj_strcmp2(&rec.name, "ahost")==0); - pj_assert(rec.alias.slen == 0); - pj_assert(rec.addr_count == 1); - pj_assert(rec.addr[0].s_addr == 0x01020304); - - /* Answer with the target corresponds to a CNAME entry, but not - * as the first record, and with additions of some CNAME and A - * entries to confuse the parser. - */ - PJ_LOG(3,(THIS_FILE, " CNAME RR with duplicate CNAME/A")); - pkt.hdr.flags = 0; - pkt.hdr.qdcount = 1; - pkt.q[0].type = PJ_DNS_TYPE_A; - pkt.q[0].dnsclass = 1; - pkt.q[0].name = pj_str("ahost"); - pkt.hdr.anscount = 4; - - /* This is the DNS A record for the alias */ - pkt.ans[0].name = pj_str("ahostalias"); - pkt.ans[0].type = PJ_DNS_TYPE_A; - pkt.ans[0].dnsclass = 1; - pkt.ans[0].ttl = 1; - pkt.ans[0].rdata.a.ip_addr.s_addr = 0x02020202; - - /* CNAME entry corresponding to the query */ - pkt.ans[1].name = pj_str("ahost"); - pkt.ans[1].type = PJ_DNS_TYPE_CNAME; - pkt.ans[1].dnsclass = 1; - pkt.ans[1].ttl = 1; - pkt.ans[1].rdata.cname.name = pj_str("ahostalias"); - - /* Another CNAME to confuse the parser */ - pkt.ans[2].name = pj_str("ahost"); - pkt.ans[2].type = PJ_DNS_TYPE_CNAME; - pkt.ans[2].dnsclass = 1; - pkt.ans[2].ttl = 1; - pkt.ans[2].rdata.cname.name = pj_str("ahostalias2"); - - /* Another DNS A to confuse the parser */ - pkt.ans[3].name = pj_str("ahostalias2"); - pkt.ans[3].type = PJ_DNS_TYPE_A; - pkt.ans[3].dnsclass = 1; - pkt.ans[3].ttl = 1; - pkt.ans[3].rdata.a.ip_addr.s_addr = 0x03030303; - - rc = pj_dns_parse_a_response(&pkt, &rec); - pj_assert(rc == PJ_SUCCESS); - pj_assert(pj_strcmp2(&rec.name, "ahost")==0); - pj_assert(pj_strcmp2(&rec.alias, "ahostalias")==0); - pj_assert(rec.addr_count == 1); - pj_assert(rec.addr[0].s_addr == 0x02020202); - - /* - * No query section. - */ - PJ_LOG(3,(THIS_FILE, " No query section")); - pkt.hdr.qdcount = 0; - pkt.hdr.anscount = 0; - - rc = pj_dns_parse_a_response(&pkt, &rec); - pj_assert(rc == PJLIB_UTIL_EDNSINANSWER); - - /* - * No answer section. - */ - PJ_LOG(3,(THIS_FILE, " No answer section")); - pkt.hdr.flags = 0; - pkt.hdr.qdcount = 1; - pkt.q[0].type = PJ_DNS_TYPE_A; - pkt.q[0].dnsclass = 1; - pkt.q[0].name = pj_str("ahost"); - pkt.hdr.anscount = 0; - - rc = pj_dns_parse_a_response(&pkt, &rec); - pj_assert(rc == PJLIB_UTIL_EDNSNOANSWERREC); - - /* - * Answer doesn't match query. - */ - PJ_LOG(3,(THIS_FILE, " Answer doesn't match query")); - pkt.hdr.flags = 0; - pkt.hdr.qdcount = 1; - pkt.q[0].type = PJ_DNS_TYPE_A; - pkt.q[0].dnsclass = 1; - pkt.q[0].name = pj_str("ahost"); - pkt.hdr.anscount = 1; - - /* An answer that doesn't match the query */ - pkt.ans[0].name = pj_str("ahostalias"); - pkt.ans[0].type = PJ_DNS_TYPE_A; - pkt.ans[0].dnsclass = 1; - pkt.ans[0].ttl = 1; - pkt.ans[0].rdata.a.ip_addr.s_addr = 0x02020202; - - rc = pj_dns_parse_a_response(&pkt, &rec); - pj_assert(rc == PJLIB_UTIL_EDNSNOANSWERREC); - - - /* - * DNS CNAME that doesn't have corresponding DNS A. - */ - PJ_LOG(3,(THIS_FILE, " CNAME with no matching DNS A RR (1)")); - pkt.hdr.flags = 0; - pkt.hdr.qdcount = 1; - pkt.q[0].type = PJ_DNS_TYPE_A; - pkt.q[0].dnsclass = 1; - pkt.q[0].name = pj_str("ahost"); - pkt.hdr.anscount = 1; - - /* The CNAME */ - pkt.ans[0].name = pj_str("ahost"); - pkt.ans[0].type = PJ_DNS_TYPE_CNAME; - pkt.ans[0].dnsclass = 1; - pkt.ans[0].ttl = 1; - pkt.ans[0].rdata.cname.name = pj_str("ahostalias"); - - rc = pj_dns_parse_a_response(&pkt, &rec); - pj_assert(rc == PJLIB_UTIL_EDNSNOANSWERREC); - - - /* - * DNS CNAME that doesn't have corresponding DNS A. - */ - PJ_LOG(3,(THIS_FILE, " CNAME with no matching DNS A RR (2)")); - pkt.hdr.flags = 0; - pkt.hdr.qdcount = 1; - pkt.q[0].type = PJ_DNS_TYPE_A; - pkt.q[0].dnsclass = 1; - pkt.q[0].name = pj_str("ahost"); - pkt.hdr.anscount = 2; - - /* The CNAME */ - pkt.ans[0].name = pj_str("ahost"); - pkt.ans[0].type = PJ_DNS_TYPE_CNAME; - pkt.ans[0].dnsclass = 1; - pkt.ans[0].ttl = 1; - pkt.ans[0].rdata.cname.name = pj_str("ahostalias"); - - /* DNS A record, but the name doesn't match */ - pkt.ans[1].name = pj_str("ahost"); - pkt.ans[1].type = PJ_DNS_TYPE_A; - pkt.ans[1].dnsclass = 1; - pkt.ans[1].ttl = 1; - pkt.ans[1].rdata.a.ip_addr.s_addr = 0x01020304; - - rc = pj_dns_parse_a_response(&pkt, &rec); - pj_assert(rc == PJLIB_UTIL_EDNSNOANSWERREC); - - return 0; -} - - -//////////////////////////////////////////////////////////////////////////// -/* Simple DNS test */ -#define IP_ADDR0 0x00010203 - -static void dns_callback(void *user_data, - pj_status_t status, - pj_dns_parsed_packet *resp) -{ - PJ_UNUSED_ARG(user_data); - - pj_sem_post(sem); - - PJ_ASSERT_ON_FAIL(status == PJ_SUCCESS, return); - PJ_ASSERT_ON_FAIL(resp, return); - PJ_ASSERT_ON_FAIL(resp->hdr.anscount == 1, return); - PJ_ASSERT_ON_FAIL(resp->ans[0].type == PJ_DNS_TYPE_A, return); - PJ_ASSERT_ON_FAIL(resp->ans[0].rdata.a.ip_addr.s_addr == IP_ADDR0, return); - -} - - -static int simple_test(void) -{ - pj_str_t name = pj_str("helloworld"); - pj_dns_parsed_packet *r; - pj_status_t status; - - PJ_LOG(3,(THIS_FILE, " simple successful test")); - - g_server[0].pkt_count = 0; - g_server[1].pkt_count = 0; - - g_server[0].action = ACTION_REPLY; - r = &g_server[0].resp; - r->hdr.qdcount = 1; - r->hdr.anscount = 1; - r->q = PJ_POOL_ZALLOC_T(pool, pj_dns_parsed_query); - r->q[0].type = PJ_DNS_TYPE_A; - r->q[0].dnsclass = 1; - r->q[0].name = name; - r->ans = PJ_POOL_ZALLOC_T(pool, pj_dns_parsed_rr); - r->ans[0].type = PJ_DNS_TYPE_A; - r->ans[0].dnsclass = 1; - r->ans[0].name = name; - r->ans[0].rdata.a.ip_addr.s_addr = IP_ADDR0; - - g_server[1].action = ACTION_REPLY; - r = &g_server[1].resp; - r->hdr.qdcount = 1; - r->hdr.anscount = 1; - r->q = PJ_POOL_ZALLOC_T(pool, pj_dns_parsed_query); - r->q[0].type = PJ_DNS_TYPE_A; - r->q[0].dnsclass = 1; - r->q[0].name = name; - r->ans = PJ_POOL_ZALLOC_T(pool, pj_dns_parsed_rr); - r->ans[0].type = PJ_DNS_TYPE_A; - r->ans[0].dnsclass = 1; - r->ans[0].name = name; - r->ans[0].rdata.a.ip_addr.s_addr = IP_ADDR0; - - status = pj_dns_resolver_start_query(resolver, &name, PJ_DNS_TYPE_A, 0, - &dns_callback, NULL, NULL); - if (status != PJ_SUCCESS) - return -1000; - - pj_sem_wait(sem); - pj_thread_sleep(1000); - - - /* Both servers must get packet */ - pj_assert(g_server[0].pkt_count == 1); - pj_assert(g_server[1].pkt_count == 1); - - return 0; -} - - -//////////////////////////////////////////////////////////////////////////// -/* DNS nameserver fail-over test */ - -static void dns_callback_1b(void *user_data, - pj_status_t status, - pj_dns_parsed_packet *resp) -{ - PJ_UNUSED_ARG(user_data); - PJ_UNUSED_ARG(resp); - - pj_sem_post(sem); - - PJ_ASSERT_ON_FAIL(status==PJ_STATUS_FROM_DNS_RCODE(PJ_DNS_RCODE_NXDOMAIN), - return); -} - - - - -/* DNS test */ -static int dns_test(void) -{ - pj_str_t name = pj_str("name00"); - pj_status_t status; - - PJ_LOG(3,(THIS_FILE, " simple error response test")); - - g_server[0].pkt_count = 0; - g_server[1].pkt_count = 0; - - g_server[0].action = PJ_DNS_RCODE_NXDOMAIN; - g_server[1].action = PJ_DNS_RCODE_NXDOMAIN; - - status = pj_dns_resolver_start_query(resolver, &name, PJ_DNS_TYPE_A, 0, - &dns_callback_1b, NULL, NULL); - if (status != PJ_SUCCESS) - return -1000; - - pj_sem_wait(sem); - pj_thread_sleep(1000); - - /* Now only server 0 should get packet, since both servers are - * in STATE_ACTIVE state - */ - pj_assert((g_server[0].pkt_count == 1 && g_server[1].pkt_count == 0) || - (g_server[1].pkt_count == 1 && g_server[0].pkt_count == 0)); - - /* Wait to allow probing period to complete */ - PJ_LOG(3,(THIS_FILE, " waiting for active NS to expire (%d sec)", - set.good_ns_ttl)); - pj_thread_sleep(set.good_ns_ttl * 1000); - - /* - * Fail-over test - */ - PJ_LOG(3,(THIS_FILE, " failing server0")); - g_server[0].action = ACTION_IGNORE; - g_server[1].action = PJ_DNS_RCODE_NXDOMAIN; - - g_server[0].pkt_count = 0; - g_server[1].pkt_count = 0; - - name = pj_str("name01"); - status = pj_dns_resolver_start_query(resolver, &name, PJ_DNS_TYPE_A, 0, - &dns_callback_1b, NULL, NULL); - if (status != PJ_SUCCESS) - return -1000; - - pj_sem_wait(sem); - - /* - * Check that both servers still receive requests, since they are - * in probing state. - */ - PJ_LOG(3,(THIS_FILE, " checking both NS during probing period")); - g_server[0].action = ACTION_IGNORE; - g_server[1].action = PJ_DNS_RCODE_NXDOMAIN; - - g_server[0].pkt_count = 0; - g_server[1].pkt_count = 0; - - name = pj_str("name02"); - status = pj_dns_resolver_start_query(resolver, &name, PJ_DNS_TYPE_A, 0, - &dns_callback_1b, NULL, NULL); - if (status != PJ_SUCCESS) - return -1000; - - pj_sem_wait(sem); - pj_thread_sleep(set.qretr_delay * set.qretr_count); - - /* Both servers must get requests */ - pj_assert(g_server[0].pkt_count >= 1); - pj_assert(g_server[1].pkt_count == 1); - - /* Wait to allow probing period to complete */ - PJ_LOG(3,(THIS_FILE, " waiting for probing state to end (%d sec)", - set.qretr_delay * - (set.qretr_count+2) / 1000)); - pj_thread_sleep(set.qretr_delay * (set.qretr_count + 2)); - - - /* - * Now only server 1 should get requests. - */ - PJ_LOG(3,(THIS_FILE, " verifying only good NS is used")); - g_server[0].action = PJ_DNS_RCODE_NXDOMAIN; - g_server[1].action = PJ_DNS_RCODE_NXDOMAIN; - - g_server[0].pkt_count = 0; - g_server[1].pkt_count = 0; - - name = pj_str("name03"); - status = pj_dns_resolver_start_query(resolver, &name, PJ_DNS_TYPE_A, 0, - &dns_callback_1b, NULL, NULL); - if (status != PJ_SUCCESS) - return -1000; - - pj_sem_wait(sem); - pj_thread_sleep(1000); - - /* Both servers must get requests */ - pj_assert(g_server[0].pkt_count == 0); - pj_assert(g_server[1].pkt_count == 1); - - /* Wait to allow probing period to complete */ - PJ_LOG(3,(THIS_FILE, " waiting for active NS to expire (%d sec)", - set.good_ns_ttl)); - pj_thread_sleep(set.good_ns_ttl * 1000); - - /* - * Now fail server 1 to switch to server 0 - */ - g_server[0].action = PJ_DNS_RCODE_NXDOMAIN; - g_server[1].action = ACTION_IGNORE; - - g_server[0].pkt_count = 0; - g_server[1].pkt_count = 0; - - name = pj_str("name04"); - status = pj_dns_resolver_start_query(resolver, &name, PJ_DNS_TYPE_A, 0, - &dns_callback_1b, NULL, NULL); - if (status != PJ_SUCCESS) - return -1000; - - pj_sem_wait(sem); - - /* Wait to allow probing period to complete */ - PJ_LOG(3,(THIS_FILE, " waiting for probing state (%d sec)", - set.qretr_delay * (set.qretr_count+2) / 1000)); - pj_thread_sleep(set.qretr_delay * (set.qretr_count + 2)); - - /* - * Now only server 0 should get requests. - */ - PJ_LOG(3,(THIS_FILE, " verifying good NS")); - g_server[0].action = PJ_DNS_RCODE_NXDOMAIN; - g_server[1].action = ACTION_IGNORE; - - g_server[0].pkt_count = 0; - g_server[1].pkt_count = 0; - - name = pj_str("name05"); - status = pj_dns_resolver_start_query(resolver, &name, PJ_DNS_TYPE_A, 0, - &dns_callback_1b, NULL, NULL); - if (status != PJ_SUCCESS) - return -1000; - - pj_sem_wait(sem); - pj_thread_sleep(1000); - - /* Only good NS should get request */ - pj_assert(g_server[0].pkt_count == 1); - pj_assert(g_server[1].pkt_count == 0); - - - return 0; -} - - -//////////////////////////////////////////////////////////////////////////// -/* Resolver test, normal, with CNAME */ -#define IP_ADDR1 0x02030405 -#define PORT1 50061 - -static void action1_1(const pj_dns_parsed_packet *pkt, - pj_dns_parsed_packet **p_res) -{ - pj_dns_parsed_packet *res; - char *target = "sip.somedomain.com"; - - res = PJ_POOL_ZALLOC_T(pool, pj_dns_parsed_packet); - - if (res->q == NULL) { - res->q = PJ_POOL_ZALLOC_T(pool, pj_dns_parsed_query); - } - if (res->ans == NULL) { - res->ans = (pj_dns_parsed_rr*) - pj_pool_calloc(pool, 4, sizeof(pj_dns_parsed_rr)); - } - - res->hdr.qdcount = 1; - res->q[0].type = pkt->q[0].type; - res->q[0].dnsclass = pkt->q[0].dnsclass; - res->q[0].name = pkt->q[0].name; - - if (pkt->q[0].type == PJ_DNS_TYPE_SRV) { - - pj_assert(pj_strcmp2(&pkt->q[0].name, "_sip._udp.somedomain.com")==0); - - res->hdr.anscount = 1; - res->ans[0].type = PJ_DNS_TYPE_SRV; - res->ans[0].dnsclass = 1; - res->ans[0].name = res->q[0].name; - res->ans[0].ttl = 1; - res->ans[0].rdata.srv.prio = 1; - res->ans[0].rdata.srv.weight = 2; - res->ans[0].rdata.srv.port = PORT1; - res->ans[0].rdata.srv.target = pj_str(target); - - } else if (pkt->q[0].type == PJ_DNS_TYPE_A) { - char *alias = "sipalias.somedomain.com"; - - pj_assert(pj_strcmp2(&res->q[0].name, target)==0); - - res->hdr.anscount = 2; - res->ans[0].type = PJ_DNS_TYPE_CNAME; - res->ans[0].dnsclass = 1; - res->ans[0].ttl = 1000; /* resolver should select minimum TTL */ - res->ans[0].name = res->q[0].name; - res->ans[0].rdata.cname.name = pj_str(alias); - - res->ans[1].type = PJ_DNS_TYPE_A; - res->ans[1].dnsclass = 1; - res->ans[1].ttl = 1; - res->ans[1].name = pj_str(alias); - res->ans[1].rdata.a.ip_addr.s_addr = IP_ADDR1; - } - - *p_res = res; -} - -static void srv_cb_1(void *user_data, - pj_status_t status, - const pj_dns_srv_record *rec) -{ - PJ_UNUSED_ARG(user_data); - - pj_sem_post(sem); - - PJ_ASSERT_ON_FAIL(status == PJ_SUCCESS, return); - PJ_ASSERT_ON_FAIL(rec->count == 1, return); - PJ_ASSERT_ON_FAIL(rec->entry[0].priority == 1, return); - PJ_ASSERT_ON_FAIL(rec->entry[0].weight == 2, return); - PJ_ASSERT_ON_FAIL(pj_strcmp2(&rec->entry[0].server.name, "sip.somedomain.com")==0, - return); - PJ_ASSERT_ON_FAIL(pj_strcmp2(&rec->entry[0].server.alias, "sipalias.somedomain.com")==0, - return); - PJ_ASSERT_ON_FAIL(rec->entry[0].server.addr[0].s_addr == IP_ADDR1, return); - PJ_ASSERT_ON_FAIL(rec->entry[0].port == PORT1, return); - - -} - -static void srv_cb_1b(void *user_data, - pj_status_t status, - const pj_dns_srv_record *rec) -{ - PJ_UNUSED_ARG(user_data); - - pj_sem_post(sem); - - PJ_ASSERT_ON_FAIL(status==PJ_STATUS_FROM_DNS_RCODE(PJ_DNS_RCODE_NXDOMAIN), - return); - PJ_ASSERT_ON_FAIL(rec->count == 0, return); -} - -static int srv_resolver_test(void) -{ - pj_status_t status; - pj_str_t domain = pj_str("somedomain.com"); - pj_str_t res_name = pj_str("_sip._udp."); - - /* Successful scenario */ - PJ_LOG(3,(THIS_FILE, " srv_resolve(): success scenario")); - - g_server[0].action = ACTION_CB; - g_server[0].action_cb = &action1_1; - g_server[1].action = ACTION_CB; - g_server[1].action_cb = &action1_1; - - g_server[0].pkt_count = 0; - g_server[1].pkt_count = 0; - - status = pj_dns_srv_resolve(&domain, &res_name, 5061, pool, resolver, PJ_TRUE, - NULL, &srv_cb_1, NULL); - pj_assert(status == PJ_SUCCESS); - - pj_sem_wait(sem); - - /* Because of previous tests, only NS 1 should get the request */ - pj_assert(g_server[0].pkt_count == 2); /* 2 because of SRV and A resolution */ - pj_assert(g_server[1].pkt_count == 0); - - - /* Wait until cache expires and nameserver state moves out from STATE_PROBING */ - PJ_LOG(3,(THIS_FILE, " waiting for cache to expire (~15 secs)..")); - pj_thread_sleep(1000 + - ((set.qretr_count + 2) * set.qretr_delay)); - - /* Successful scenario */ - PJ_LOG(3,(THIS_FILE, " srv_resolve(): parallel queries")); - g_server[0].pkt_count = 0; - g_server[1].pkt_count = 0; - - status = pj_dns_srv_resolve(&domain, &res_name, 5061, pool, resolver, PJ_TRUE, - NULL, &srv_cb_1, NULL); - pj_assert(status == PJ_SUCCESS); - - - status = pj_dns_srv_resolve(&domain, &res_name, 5061, pool, resolver, PJ_TRUE, - NULL, &srv_cb_1, NULL); - pj_assert(status == PJ_SUCCESS); - - pj_sem_wait(sem); - pj_sem_wait(sem); - - /* Only server one should get a query */ - pj_assert(g_server[0].pkt_count == 2); /* 2 because of SRV and A resolution */ - pj_assert(g_server[1].pkt_count == 0); - - /* Since TTL is one, subsequent queries should fail */ - PJ_LOG(3,(THIS_FILE, " srv_resolve(): cache expires scenario")); - - - pj_thread_sleep(1000); - - g_server[0].action = PJ_DNS_RCODE_NXDOMAIN; - g_server[1].action = PJ_DNS_RCODE_NXDOMAIN; - - status = pj_dns_srv_resolve(&domain, &res_name, 5061, pool, resolver, PJ_TRUE, - NULL, &srv_cb_1b, NULL); - pj_assert(status == PJ_SUCCESS); - - pj_sem_wait(sem); - - return 0; -} - - -//////////////////////////////////////////////////////////////////////////// -/* Fallback because there's no SRV in answer */ -#define TARGET "domain2.com" -#define IP_ADDR2 0x02030405 -#define PORT2 50062 - -static void action2_1(const pj_dns_parsed_packet *pkt, - pj_dns_parsed_packet **p_res) -{ - pj_dns_parsed_packet *res; - - res = PJ_POOL_ZALLOC_T(pool, pj_dns_parsed_packet); - - res->q = PJ_POOL_ZALLOC_T(pool, pj_dns_parsed_query); - res->ans = (pj_dns_parsed_rr*) - pj_pool_calloc(pool, 4, sizeof(pj_dns_parsed_rr)); - - res->hdr.qdcount = 1; - res->q[0].type = pkt->q[0].type; - res->q[0].dnsclass = pkt->q[0].dnsclass; - res->q[0].name = pkt->q[0].name; - - if (pkt->q[0].type == PJ_DNS_TYPE_SRV) { - - pj_assert(pj_strcmp2(&pkt->q[0].name, "_sip._udp." TARGET)==0); - - res->hdr.anscount = 1; - res->ans[0].type = PJ_DNS_TYPE_A; // <-- this will cause the fallback - res->ans[0].dnsclass = 1; - res->ans[0].name = res->q[0].name; - res->ans[0].ttl = 1; - res->ans[0].rdata.srv.prio = 1; - res->ans[0].rdata.srv.weight = 2; - res->ans[0].rdata.srv.port = PORT2; - res->ans[0].rdata.srv.target = pj_str("sip01." TARGET); - - } else if (pkt->q[0].type == PJ_DNS_TYPE_A) { - char *alias = "sipalias01." TARGET; - - pj_assert(pj_strcmp2(&res->q[0].name, TARGET)==0); - - res->hdr.anscount = 2; - res->ans[0].type = PJ_DNS_TYPE_CNAME; - res->ans[0].dnsclass = 1; - res->ans[0].name = res->q[0].name; - res->ans[0].ttl = 1; - res->ans[0].rdata.cname.name = pj_str(alias); - - res->ans[1].type = PJ_DNS_TYPE_A; - res->ans[1].dnsclass = 1; - res->ans[1].name = pj_str(alias); - res->ans[1].ttl = 1; - res->ans[1].rdata.a.ip_addr.s_addr = IP_ADDR2; - } - - *p_res = res; -} - -static void srv_cb_2(void *user_data, - pj_status_t status, - const pj_dns_srv_record *rec) -{ - PJ_UNUSED_ARG(user_data); - - pj_sem_post(sem); - - PJ_ASSERT_ON_FAIL(status == PJ_SUCCESS, return); - PJ_ASSERT_ON_FAIL(rec->count == 1, return); - PJ_ASSERT_ON_FAIL(rec->entry[0].priority == 0, return); - PJ_ASSERT_ON_FAIL(rec->entry[0].weight == 0, return); - PJ_ASSERT_ON_FAIL(pj_strcmp2(&rec->entry[0].server.name, TARGET)==0, - return); - PJ_ASSERT_ON_FAIL(pj_strcmp2(&rec->entry[0].server.alias, "sipalias01." TARGET)==0, - return); - PJ_ASSERT_ON_FAIL(rec->entry[0].server.addr[0].s_addr == IP_ADDR2, return); - PJ_ASSERT_ON_FAIL(rec->entry[0].port == PORT2, return); -} - -static int srv_resolver_fallback_test(void) -{ - pj_status_t status; - pj_str_t domain = pj_str(TARGET); - pj_str_t res_name = pj_str("_sip._udp."); - - PJ_LOG(3,(THIS_FILE, " srv_resolve(): fallback test")); - - g_server[0].action = ACTION_CB; - g_server[0].action_cb = &action2_1; - g_server[1].action = ACTION_CB; - g_server[1].action_cb = &action2_1; - - status = pj_dns_srv_resolve(&domain, &res_name, PORT2, pool, resolver, PJ_TRUE, - NULL, &srv_cb_2, NULL); - if (status != PJ_SUCCESS) { - app_perror(" srv_resolve error", status); - pj_assert(status == PJ_SUCCESS); - } - - pj_sem_wait(sem); - - /* Subsequent query should just get the response from the cache */ - PJ_LOG(3,(THIS_FILE, " srv_resolve(): cache test")); - g_server[0].pkt_count = 0; - g_server[1].pkt_count = 0; - - status = pj_dns_srv_resolve(&domain, &res_name, PORT2, pool, resolver, PJ_TRUE, - NULL, &srv_cb_2, NULL); - if (status != PJ_SUCCESS) { - app_perror(" srv_resolve error", status); - pj_assert(status == PJ_SUCCESS); - } - - pj_sem_wait(sem); - - pj_assert(g_server[0].pkt_count == 0); - pj_assert(g_server[1].pkt_count == 0); - - return 0; -} - - -//////////////////////////////////////////////////////////////////////////// -/* Too many SRV or A entries */ -#define DOMAIN3 "d3" -#define SRV_COUNT3 (PJ_DNS_SRV_MAX_ADDR+1) -#define A_COUNT3 (PJ_DNS_MAX_IP_IN_A_REC+1) -#define PORT3 50063 -#define IP_ADDR3 0x03030303 - -static void action3_1(const pj_dns_parsed_packet *pkt, - pj_dns_parsed_packet **p_res) -{ - pj_dns_parsed_packet *res; - unsigned i; - - res = PJ_POOL_ZALLOC_T(pool, pj_dns_parsed_packet); - - if (res->q == NULL) { - res->q = PJ_POOL_ZALLOC_T(pool, pj_dns_parsed_query); - } - - res->hdr.qdcount = 1; - res->q[0].type = pkt->q[0].type; - res->q[0].dnsclass = pkt->q[0].dnsclass; - res->q[0].name = pkt->q[0].name; - - if (pkt->q[0].type == PJ_DNS_TYPE_SRV) { - - pj_assert(pj_strcmp2(&pkt->q[0].name, "_sip._udp." DOMAIN3)==0); - - res->hdr.anscount = SRV_COUNT3; - res->ans = (pj_dns_parsed_rr*) - pj_pool_calloc(pool, SRV_COUNT3, sizeof(pj_dns_parsed_rr)); - - for (i=0; ians[i].type = PJ_DNS_TYPE_SRV; - res->ans[i].dnsclass = 1; - res->ans[i].name = res->q[0].name; - res->ans[i].ttl = 1; - res->ans[i].rdata.srv.prio = (pj_uint16_t)i; - res->ans[i].rdata.srv.weight = 2; - res->ans[i].rdata.srv.port = (pj_uint16_t)(PORT3+i); - - target = (char*)pj_pool_alloc(pool, 16); - sprintf(target, "sip%02d." DOMAIN3, i); - res->ans[i].rdata.srv.target = pj_str(target); - } - - } else if (pkt->q[0].type == PJ_DNS_TYPE_A) { - - //pj_assert(pj_strcmp2(&res->q[0].name, "sip." DOMAIN3)==0); - - res->hdr.anscount = A_COUNT3; - res->ans = (pj_dns_parsed_rr*) - pj_pool_calloc(pool, A_COUNT3, sizeof(pj_dns_parsed_rr)); - - for (i=0; ians[i].type = PJ_DNS_TYPE_A; - res->ans[i].dnsclass = 1; - res->ans[i].ttl = 1; - res->ans[i].name = res->q[0].name; - res->ans[i].rdata.a.ip_addr.s_addr = IP_ADDR3+i; - } - } - - *p_res = res; -} - -static void srv_cb_3(void *user_data, - pj_status_t status, - const pj_dns_srv_record *rec) -{ - unsigned i; - - PJ_UNUSED_ARG(user_data); - PJ_UNUSED_ARG(status); - PJ_UNUSED_ARG(rec); - - pj_assert(status == PJ_SUCCESS); - pj_assert(rec->count == PJ_DNS_SRV_MAX_ADDR); - - for (i=0; ientry[i].priority == i); - pj_assert(rec->entry[i].weight == 2); - //pj_assert(pj_strcmp2(&rec->entry[i].server.name, "sip." DOMAIN3)==0); - pj_assert(rec->entry[i].server.alias.slen == 0); - pj_assert(rec->entry[i].port == PORT3+i); - - pj_assert(rec->entry[i].server.addr_count == PJ_DNS_MAX_IP_IN_A_REC); - - for (j=0; jentry[i].server.addr[j].s_addr == IP_ADDR3+j); - } - } - - pj_sem_post(sem); -} - -static int srv_resolver_many_test(void) -{ - pj_status_t status; - pj_str_t domain = pj_str(DOMAIN3); - pj_str_t res_name = pj_str("_sip._udp."); - - /* Successful scenario */ - PJ_LOG(3,(THIS_FILE, " srv_resolve(): too many entries test")); - - g_server[0].action = ACTION_CB; - g_server[0].action_cb = &action3_1; - g_server[1].action = ACTION_CB; - g_server[1].action_cb = &action3_1; - - g_server[0].pkt_count = 0; - g_server[1].pkt_count = 0; - - status = pj_dns_srv_resolve(&domain, &res_name, 1, pool, resolver, PJ_TRUE, - NULL, &srv_cb_3, NULL); - pj_assert(status == PJ_SUCCESS); - - pj_sem_wait(sem); - - return 0; -} - - -//////////////////////////////////////////////////////////////////////////// - - -int resolver_test(void) -{ - int rc; - - rc = init(); - if (rc != 0) - goto on_error; - - rc = a_parser_test(); - if (rc != 0) - goto on_error; - - rc = simple_test(); - if (rc != 0) - goto on_error; - - rc = dns_test(); - if (rc != 0) - goto on_error; - - srv_resolver_test(); - srv_resolver_fallback_test(); - srv_resolver_many_test(); - - destroy(); - return 0; - -on_error: - destroy(); - return rc; -} - - diff --git a/res/pjproject/pjlib-util/src/pjlib-util-test/stun.c b/res/pjproject/pjlib-util/src/pjlib-util-test/stun.c deleted file mode 100644 index ea1411947c..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util-test/stun.c +++ /dev/null @@ -1,119 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -static int decode_test(void) -{ - /* Invalid message type */ - - /* Short message */ - - /* Long, random message */ - - /* Message length in header is shorter */ - - /* Message length in header is longer */ - - /* Invalid magic */ - - /* Attribute length is not valid */ - - /* Unknown mandatory attribute type should generate error */ - - /* Unknown but non-mandatory should be okay */ - - /* String/binary attribute length is larger than the message */ - - /* Valid message with MESSAGE-INTEGRITY */ - - /* Valid message with FINGERPRINT */ - - /* Valid message with MESSAGE-INTEGRITY and FINGERPRINT */ - - /* Another attribute not FINGERPRINT exists after MESSAGE-INTEGRITY */ - - /* Another attribute exists after FINGERPRINT */ - - return 0; -} - -static int decode_verify(void) -{ - /* Decode all attribute types */ - return 0; -} - -static int auth_test(void) -{ - /* REALM and USERNAME is present, but MESSAGE-INTEGRITY is not present. - * For short term, must with reply 401 without REALM. - * For long term, must reply with 401 with REALM. - */ - - /* USERNAME is not present, server must respond with 432 (Missing - * Username). - */ - - /* If long term credential is wanted and REALM is not present, server - * must respond with 434 (Missing Realm) - */ - - /* If REALM doesn't match, server must respond with 434 (Missing Realm) - * too, containing REALM and NONCE attribute. - */ - - /* When long term authentication is wanted and NONCE is NOT present, - * server must respond with 435 (Missing Nonce), containing REALM and - * NONCE attribute. - */ - - /* Simulate 438 (Stale Nonce) */ - - /* Simulate 436 (Unknown Username) */ - - /* When server wants to use short term credential, but request has - * REALM, reject with .... ??? - */ - - /* Invalid HMAC */ - - /* Valid static short term, without NONCE */ - - /* Valid static short term, WITH NONCE */ - - /* Valid static long term (with NONCE */ - - /* Valid dynamic short term (without NONCE) */ - - /* Valid dynamic short term (with NONCE) */ - - /* Valid dynamic long term (with NONCE) */ - - return 0; -} - - -int stun_test(void) -{ - decode_verify(); - decode_test(); - auth_test(); - return 0; -} - diff --git a/res/pjproject/pjlib-util/src/pjlib-util-test/test.c b/res/pjproject/pjlib-util/src/pjlib-util-test/test.c deleted file mode 100644 index feb2c0110d..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util-test/test.c +++ /dev/null @@ -1,112 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include - -void app_perror(const char *msg, pj_status_t rc) -{ - char errbuf[256]; - - PJ_CHECK_STACK(); - - pj_strerror(rc, errbuf, sizeof(errbuf)); - PJ_LOG(1,("test", "%s: [pj_status_t=%d] %s", msg, rc, errbuf)); -} - -#define DO_TEST(test) do { \ - PJ_LOG(3, ("test", "Running %s...", #test)); \ - rc = test; \ - PJ_LOG(3, ("test", \ - "%s(%d)", \ - (char*)(rc ? "..ERROR" : "..success"), rc)); \ - if (rc!=0) goto on_return; \ - } while (0) - - -pj_pool_factory *mem; - -int param_log_decor = PJ_LOG_HAS_NEWLINE | PJ_LOG_HAS_TIME | - PJ_LOG_HAS_MICRO_SEC; - -static int test_inner(void) -{ - pj_caching_pool caching_pool; - int rc = 0; - - mem = &caching_pool.factory; - - pj_log_set_level(3); - pj_log_set_decor(param_log_decor); - - rc = pj_init(); - if (rc != 0) { - app_perror("pj_init() error!!", rc); - return rc; - } - - rc = pjlib_util_init(); - pj_assert(rc == 0); - - pj_dump_config(); - pj_caching_pool_init( &caching_pool, &pj_pool_factory_default_policy, 0 ); - -#if INCLUDE_XML_TEST - DO_TEST(xml_test()); -#endif - -#if INCLUDE_ENCRYPTION_TEST - DO_TEST(encryption_test()); - DO_TEST(encryption_benchmark()); -#endif - -#if INCLUDE_STUN_TEST - DO_TEST(stun_test()); -#endif - -#if INCLUDE_RESOLVER_TEST - DO_TEST(resolver_test()); -#endif - -#if INCLUDE_HTTP_CLIENT_TEST - DO_TEST(http_client_test()); -#endif - -on_return: - return rc; -} - -int test_main(void) -{ - PJ_USE_EXCEPTION; - - PJ_TRY { - return test_inner(); - } - PJ_CATCH_ANY { - int id = PJ_GET_EXCEPTION(); - PJ_LOG(3,("test", "FATAL: unhandled exception id %d (%s)", - id, pj_exception_id_name(id))); - } - PJ_END; - - return -1; -} - diff --git a/res/pjproject/pjlib-util/src/pjlib-util-test/test.h b/res/pjproject/pjlib-util/src/pjlib-util-test/test.h deleted file mode 100644 index 37b1d90909..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util-test/test.h +++ /dev/null @@ -1,38 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include - -#define INCLUDE_XML_TEST 1 -#define INCLUDE_ENCRYPTION_TEST 1 -#define INCLUDE_STUN_TEST 1 -#define INCLUDE_RESOLVER_TEST 1 -#define INCLUDE_HTTP_CLIENT_TEST 1 - -extern int xml_test(void); -extern int encryption_test(); -extern int encryption_benchmark(); -extern int stun_test(); -extern int test_main(void); -extern int resolver_test(void); -extern int http_client_test(); - -extern void app_perror(const char *title, pj_status_t rc); -extern pj_pool_factory *mem; - diff --git a/res/pjproject/pjlib-util/src/pjlib-util-test/xml.c b/res/pjproject/pjlib-util/src/pjlib-util-test/xml.c deleted file mode 100644 index f14167b164..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util-test/xml.c +++ /dev/null @@ -1,145 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" - - -#if INCLUDE_XML_TEST - -#include -#include - -#define THIS_FILE "xml_test" - -static const char *xml_doc[] = -{ -" \n" -" \n" -"\n" -" \n" -" \n" -" open\n" -" assistant\n" -" \n" -" \n" -" true\n" -" false\n" -" true\n" -" \n" -" tel:09012345678\n" -" \n" -"\n" -" \n" -" \n" -" open\n" -" \n" -" im:pep@example.com\n" -" \n" -"\n" -" \n" -" \n" -" closed\n" -" meeting\n" -" \n" -" http://example.com/~pep/\n" -" http://example.com/~pep/icon.gif\n" -" http://example.com/~pep/card.vcd\n" -" sip:pep@example.com\n" -" \n" -"\n" -" Full state presence document\n" -"\n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" -"\n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" -"\n" -" \n" -} -; - -static int xml_parse_print_test(const char *doc) -{ - pj_str_t msg; - pj_pool_t *pool; - pj_xml_node *root; - char *output; - int output_len; - - pool = pj_pool_create(mem, "xml", 4096, 1024, NULL); - pj_strdup2(pool, &msg, doc); - root = pj_xml_parse(pool, msg.ptr, msg.slen); - if (!root) { - PJ_LOG(1, (THIS_FILE, " Error: unable to parse XML")); - return -10; - } - - output = (char*)pj_pool_zalloc(pool, msg.slen + 512); - output_len = pj_xml_print(root, output, msg.slen+512, PJ_TRUE); - if (output_len < 1) { - PJ_LOG(1, (THIS_FILE, " Error: buffer too small to print XML file")); - return -20; - } - output[output_len] = '\0'; - - - pj_pool_release(pool); - return 0; -} - -int xml_test() -{ - unsigned i; - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - -#define INV -1 -#define PADDING '=' - -const char base64_char[] = { - 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', - 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', - 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', - 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', - 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', - 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', - '8', '9', '+', '/' -}; - -static int base256_char(char c) -{ - if (c >= 'A' && c <= 'Z') - return (c - 'A'); - else if (c >= 'a' && c <= 'z') - return (c - 'a' + 26); - else if (c >= '0' && c <= '9') - return (c - '0' + 52); - else if (c == '+') - return (62); - else if (c == '/') - return (63); - else { - /* It *may* happen on bad input, so this is not a good idea. - * pj_assert(!"Should not happen as '=' should have been filtered"); - */ - return INV; - } -} - - -static void base256to64(pj_uint8_t c1, pj_uint8_t c2, pj_uint8_t c3, - int padding, char *output) -{ - *output++ = base64_char[c1>>2]; - *output++ = base64_char[((c1 & 0x3)<< 4) | ((c2 & 0xF0) >> 4)]; - switch (padding) { - case 0: - *output++ = base64_char[((c2 & 0xF) << 2) | ((c3 & 0xC0) >>6)]; - *output = base64_char[c3 & 0x3F]; - break; - case 1: - *output++ = base64_char[((c2 & 0xF) << 2) | ((c3 & 0xC0) >>6)]; - *output = PADDING; - break; - case 2: - default: - *output++ = PADDING; - *output = PADDING; - break; - } -} - - -PJ_DEF(pj_status_t) pj_base64_encode(const pj_uint8_t *input, int in_len, - char *output, int *out_len) -{ - const pj_uint8_t *pi = input; - pj_uint8_t c1, c2, c3; - int i = 0; - char *po = output; - - PJ_ASSERT_RETURN(input && output && out_len, PJ_EINVAL); - PJ_ASSERT_RETURN(*out_len >= PJ_BASE256_TO_BASE64_LEN(in_len), - PJ_ETOOSMALL); - - while (i < in_len) { - c1 = *pi++; - ++i; - - if (i == in_len) { - base256to64(c1, 0, 0, 2, po); - po += 4; - break; - } else { - c2 = *pi++; - ++i; - - if (i == in_len) { - base256to64(c1, c2, 0, 1, po); - po += 4; - break; - } else { - c3 = *pi++; - ++i; - base256to64(c1, c2, c3, 0, po); - } - } - - po += 4; - } - - *out_len = po - output; - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pj_base64_decode(const pj_str_t *input, - pj_uint8_t *out, int *out_len) -{ - const char *buf = input->ptr; - int len = input->slen; - int i, j, k; - int c[4]; - - PJ_ASSERT_RETURN(input && out && out_len, PJ_EINVAL); - - while (buf[len-1] == '=' && len) - --len; - - PJ_ASSERT_RETURN(*out_len >= PJ_BASE64_TO_BASE256_LEN(len), - PJ_ETOOSMALL); - - for (i=0, j=0; i 1) { - out[j++] = (pj_uint8_t)((c[0]<<2) | ((c[1] & 0x30)>>4)); - if (k > 2) { - out[j++] = (pj_uint8_t) - (((c[1] & 0x0F)<<4) | ((c[2] & 0x3C)>>2)); - } - } - break; - } - - out[j++] = (pj_uint8_t)((c[0]<<2) | ((c[1] & 0x30)>>4)); - out[j++] = (pj_uint8_t)(((c[1] & 0x0F)<<4) | ((c[2] & 0x3C)>>2)); - out[j++] = (pj_uint8_t)(((c[2] & 0x03)<<6) | (c[3] & 0x3F)); - } - - pj_assert(j < *out_len); - *out_len = j; - - return PJ_SUCCESS; -} - - diff --git a/res/pjproject/pjlib-util/src/pjlib-util/crc32.c b/res/pjproject/pjlib-util/src/pjlib-util/crc32.c deleted file mode 100644 index 3d634645d7..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/crc32.c +++ /dev/null @@ -1,243 +0,0 @@ -/* $Id$ */ -/* - * This is an implementation of CRC32. See ISO 3309 and ITU-T V.42 - * for a formal specification - * - * This file is partly taken from Crypto++ library (http://www.cryptopp.com) - * and http://www.di-mgt.com.au/crypto.html#CRC. - * - * Since the original version of the code is put in public domain, - * this file is put on public domain as well. - */ -#include - - -#define CRC32_NEGL 0xffffffffL - -#if defined(PJ_CRC32_HAS_TABLES) && PJ_CRC32_HAS_TABLES!=0 -// crc.cpp - written and placed in the public domain by Wei Dai - -/* Table of CRC-32's of all single byte values (made by makecrc.c) */ -#if defined(PJ_IS_LITTLE_ENDIAN) && PJ_IS_LITTLE_ENDIAN != 0 - -#define CRC32_INDEX(c) (c & 0xff) -#define CRC32_SHIFTED(c) (c >> 8) -#define CRC32_SWAP(c) (c) - -static const pj_uint32_t crc_tab[] = { - 0x00000000L, 0x77073096L, 0xee0e612cL, 0x990951baL, 0x076dc419L, - 0x706af48fL, 0xe963a535L, 0x9e6495a3L, 0x0edb8832L, 0x79dcb8a4L, - 0xe0d5e91eL, 0x97d2d988L, 0x09b64c2bL, 0x7eb17cbdL, 0xe7b82d07L, - 0x90bf1d91L, 0x1db71064L, 0x6ab020f2L, 0xf3b97148L, 0x84be41deL, - 0x1adad47dL, 0x6ddde4ebL, 0xf4d4b551L, 0x83d385c7L, 0x136c9856L, - 0x646ba8c0L, 0xfd62f97aL, 0x8a65c9ecL, 0x14015c4fL, 0x63066cd9L, - 0xfa0f3d63L, 0x8d080df5L, 0x3b6e20c8L, 0x4c69105eL, 0xd56041e4L, - 0xa2677172L, 0x3c03e4d1L, 0x4b04d447L, 0xd20d85fdL, 0xa50ab56bL, - 0x35b5a8faL, 0x42b2986cL, 0xdbbbc9d6L, 0xacbcf940L, 0x32d86ce3L, - 0x45df5c75L, 0xdcd60dcfL, 0xabd13d59L, 0x26d930acL, 0x51de003aL, - 0xc8d75180L, 0xbfd06116L, 0x21b4f4b5L, 0x56b3c423L, 0xcfba9599L, - 0xb8bda50fL, 0x2802b89eL, 0x5f058808L, 0xc60cd9b2L, 0xb10be924L, - 0x2f6f7c87L, 0x58684c11L, 0xc1611dabL, 0xb6662d3dL, 0x76dc4190L, - 0x01db7106L, 0x98d220bcL, 0xefd5102aL, 0x71b18589L, 0x06b6b51fL, - 0x9fbfe4a5L, 0xe8b8d433L, 0x7807c9a2L, 0x0f00f934L, 0x9609a88eL, - 0xe10e9818L, 0x7f6a0dbbL, 0x086d3d2dL, 0x91646c97L, 0xe6635c01L, - 0x6b6b51f4L, 0x1c6c6162L, 0x856530d8L, 0xf262004eL, 0x6c0695edL, - 0x1b01a57bL, 0x8208f4c1L, 0xf50fc457L, 0x65b0d9c6L, 0x12b7e950L, - 0x8bbeb8eaL, 0xfcb9887cL, 0x62dd1ddfL, 0x15da2d49L, 0x8cd37cf3L, - 0xfbd44c65L, 0x4db26158L, 0x3ab551ceL, 0xa3bc0074L, 0xd4bb30e2L, - 0x4adfa541L, 0x3dd895d7L, 0xa4d1c46dL, 0xd3d6f4fbL, 0x4369e96aL, - 0x346ed9fcL, 0xad678846L, 0xda60b8d0L, 0x44042d73L, 0x33031de5L, - 0xaa0a4c5fL, 0xdd0d7cc9L, 0x5005713cL, 0x270241aaL, 0xbe0b1010L, - 0xc90c2086L, 0x5768b525L, 0x206f85b3L, 0xb966d409L, 0xce61e49fL, - 0x5edef90eL, 0x29d9c998L, 0xb0d09822L, 0xc7d7a8b4L, 0x59b33d17L, - 0x2eb40d81L, 0xb7bd5c3bL, 0xc0ba6cadL, 0xedb88320L, 0x9abfb3b6L, - 0x03b6e20cL, 0x74b1d29aL, 0xead54739L, 0x9dd277afL, 0x04db2615L, - 0x73dc1683L, 0xe3630b12L, 0x94643b84L, 0x0d6d6a3eL, 0x7a6a5aa8L, - 0xe40ecf0bL, 0x9309ff9dL, 0x0a00ae27L, 0x7d079eb1L, 0xf00f9344L, - 0x8708a3d2L, 0x1e01f268L, 0x6906c2feL, 0xf762575dL, 0x806567cbL, - 0x196c3671L, 0x6e6b06e7L, 0xfed41b76L, 0x89d32be0L, 0x10da7a5aL, - 0x67dd4accL, 0xf9b9df6fL, 0x8ebeeff9L, 0x17b7be43L, 0x60b08ed5L, - 0xd6d6a3e8L, 0xa1d1937eL, 0x38d8c2c4L, 0x4fdff252L, 0xd1bb67f1L, - 0xa6bc5767L, 0x3fb506ddL, 0x48b2364bL, 0xd80d2bdaL, 0xaf0a1b4cL, - 0x36034af6L, 0x41047a60L, 0xdf60efc3L, 0xa867df55L, 0x316e8eefL, - 0x4669be79L, 0xcb61b38cL, 0xbc66831aL, 0x256fd2a0L, 0x5268e236L, - 0xcc0c7795L, 0xbb0b4703L, 0x220216b9L, 0x5505262fL, 0xc5ba3bbeL, - 0xb2bd0b28L, 0x2bb45a92L, 0x5cb36a04L, 0xc2d7ffa7L, 0xb5d0cf31L, - 0x2cd99e8bL, 0x5bdeae1dL, 0x9b64c2b0L, 0xec63f226L, 0x756aa39cL, - 0x026d930aL, 0x9c0906a9L, 0xeb0e363fL, 0x72076785L, 0x05005713L, - 0x95bf4a82L, 0xe2b87a14L, 0x7bb12baeL, 0x0cb61b38L, 0x92d28e9bL, - 0xe5d5be0dL, 0x7cdcefb7L, 0x0bdbdf21L, 0x86d3d2d4L, 0xf1d4e242L, - 0x68ddb3f8L, 0x1fda836eL, 0x81be16cdL, 0xf6b9265bL, 0x6fb077e1L, - 0x18b74777L, 0x88085ae6L, 0xff0f6a70L, 0x66063bcaL, 0x11010b5cL, - 0x8f659effL, 0xf862ae69L, 0x616bffd3L, 0x166ccf45L, 0xa00ae278L, - 0xd70dd2eeL, 0x4e048354L, 0x3903b3c2L, 0xa7672661L, 0xd06016f7L, - 0x4969474dL, 0x3e6e77dbL, 0xaed16a4aL, 0xd9d65adcL, 0x40df0b66L, - 0x37d83bf0L, 0xa9bcae53L, 0xdebb9ec5L, 0x47b2cf7fL, 0x30b5ffe9L, - 0xbdbdf21cL, 0xcabac28aL, 0x53b39330L, 0x24b4a3a6L, 0xbad03605L, - 0xcdd70693L, 0x54de5729L, 0x23d967bfL, 0xb3667a2eL, 0xc4614ab8L, - 0x5d681b02L, 0x2a6f2b94L, 0xb40bbe37L, 0xc30c8ea1L, 0x5a05df1bL, - 0x2d02ef8dL -}; - - -#elif defined(PJ_IS_BIG_ENDIAN) && PJ_IS_BIG_ENDIAN != 0 -#define CRC32_INDEX(c) (c >> 24) -#define CRC32_SHIFTED(c) (c << 8) -#define CRC32_SWAP(c) ((((c) & 0xff000000) >> 24) | \ - (((c) & 0x00ff0000) >> 8) | \ - (((c) & 0x0000ff00) << 8) | \ - (((c) & 0x000000ff) << 24)) - -static const pj_uint32_t crc_tab[] = { - 0x00000000L, 0x96300777L, 0x2c610eeeL, 0xba510999L, 0x19c46d07L, - 0x8ff46a70L, 0x35a563e9L, 0xa395649eL, 0x3288db0eL, 0xa4b8dc79L, - 0x1ee9d5e0L, 0x88d9d297L, 0x2b4cb609L, 0xbd7cb17eL, 0x072db8e7L, - 0x911dbf90L, 0x6410b71dL, 0xf220b06aL, 0x4871b9f3L, 0xde41be84L, - 0x7dd4da1aL, 0xebe4dd6dL, 0x51b5d4f4L, 0xc785d383L, 0x56986c13L, - 0xc0a86b64L, 0x7af962fdL, 0xecc9658aL, 0x4f5c0114L, 0xd96c0663L, - 0x633d0ffaL, 0xf50d088dL, 0xc8206e3bL, 0x5e10694cL, 0xe44160d5L, - 0x727167a2L, 0xd1e4033cL, 0x47d4044bL, 0xfd850dd2L, 0x6bb50aa5L, - 0xfaa8b535L, 0x6c98b242L, 0xd6c9bbdbL, 0x40f9bcacL, 0xe36cd832L, - 0x755cdf45L, 0xcf0dd6dcL, 0x593dd1abL, 0xac30d926L, 0x3a00de51L, - 0x8051d7c8L, 0x1661d0bfL, 0xb5f4b421L, 0x23c4b356L, 0x9995bacfL, - 0x0fa5bdb8L, 0x9eb80228L, 0x0888055fL, 0xb2d90cc6L, 0x24e90bb1L, - 0x877c6f2fL, 0x114c6858L, 0xab1d61c1L, 0x3d2d66b6L, 0x9041dc76L, - 0x0671db01L, 0xbc20d298L, 0x2a10d5efL, 0x8985b171L, 0x1fb5b606L, - 0xa5e4bf9fL, 0x33d4b8e8L, 0xa2c90778L, 0x34f9000fL, 0x8ea80996L, - 0x18980ee1L, 0xbb0d6a7fL, 0x2d3d6d08L, 0x976c6491L, 0x015c63e6L, - 0xf4516b6bL, 0x62616c1cL, 0xd8306585L, 0x4e0062f2L, 0xed95066cL, - 0x7ba5011bL, 0xc1f40882L, 0x57c40ff5L, 0xc6d9b065L, 0x50e9b712L, - 0xeab8be8bL, 0x7c88b9fcL, 0xdf1ddd62L, 0x492dda15L, 0xf37cd38cL, - 0x654cd4fbL, 0x5861b24dL, 0xce51b53aL, 0x7400bca3L, 0xe230bbd4L, - 0x41a5df4aL, 0xd795d83dL, 0x6dc4d1a4L, 0xfbf4d6d3L, 0x6ae96943L, - 0xfcd96e34L, 0x468867adL, 0xd0b860daL, 0x732d0444L, 0xe51d0333L, - 0x5f4c0aaaL, 0xc97c0dddL, 0x3c710550L, 0xaa410227L, 0x10100bbeL, - 0x86200cc9L, 0x25b56857L, 0xb3856f20L, 0x09d466b9L, 0x9fe461ceL, - 0x0ef9de5eL, 0x98c9d929L, 0x2298d0b0L, 0xb4a8d7c7L, 0x173db359L, - 0x810db42eL, 0x3b5cbdb7L, 0xad6cbac0L, 0x2083b8edL, 0xb6b3bf9aL, - 0x0ce2b603L, 0x9ad2b174L, 0x3947d5eaL, 0xaf77d29dL, 0x1526db04L, - 0x8316dc73L, 0x120b63e3L, 0x843b6494L, 0x3e6a6d0dL, 0xa85a6a7aL, - 0x0bcf0ee4L, 0x9dff0993L, 0x27ae000aL, 0xb19e077dL, 0x44930ff0L, - 0xd2a30887L, 0x68f2011eL, 0xfec20669L, 0x5d5762f7L, 0xcb676580L, - 0x71366c19L, 0xe7066b6eL, 0x761bd4feL, 0xe02bd389L, 0x5a7ada10L, - 0xcc4add67L, 0x6fdfb9f9L, 0xf9efbe8eL, 0x43beb717L, 0xd58eb060L, - 0xe8a3d6d6L, 0x7e93d1a1L, 0xc4c2d838L, 0x52f2df4fL, 0xf167bbd1L, - 0x6757bca6L, 0xdd06b53fL, 0x4b36b248L, 0xda2b0dd8L, 0x4c1b0aafL, - 0xf64a0336L, 0x607a0441L, 0xc3ef60dfL, 0x55df67a8L, 0xef8e6e31L, - 0x79be6946L, 0x8cb361cbL, 0x1a8366bcL, 0xa0d26f25L, 0x36e26852L, - 0x95770cccL, 0x03470bbbL, 0xb9160222L, 0x2f260555L, 0xbe3bbac5L, - 0x280bbdb2L, 0x925ab42bL, 0x046ab35cL, 0xa7ffd7c2L, 0x31cfd0b5L, - 0x8b9ed92cL, 0x1daede5bL, 0xb0c2649bL, 0x26f263ecL, 0x9ca36a75L, - 0x0a936d02L, 0xa906099cL, 0x3f360eebL, 0x85670772L, 0x13570005L, - 0x824abf95L, 0x147ab8e2L, 0xae2bb17bL, 0x381bb60cL, 0x9b8ed292L, - 0x0dbed5e5L, 0xb7efdc7cL, 0x21dfdb0bL, 0xd4d2d386L, 0x42e2d4f1L, - 0xf8b3dd68L, 0x6e83da1fL, 0xcd16be81L, 0x5b26b9f6L, 0xe177b06fL, - 0x7747b718L, 0xe65a0888L, 0x706a0fffL, 0xca3b0666L, 0x5c0b0111L, - 0xff9e658fL, 0x69ae62f8L, 0xd3ff6b61L, 0x45cf6c16L, 0x78e20aa0L, - 0xeed20dd7L, 0x5483044eL, 0xc2b30339L, 0x612667a7L, 0xf71660d0L, - 0x4d476949L, 0xdb776e3eL, 0x4a6ad1aeL, 0xdc5ad6d9L, 0x660bdf40L, - 0xf03bd837L, 0x53aebca9L, 0xc59ebbdeL, 0x7fcfb247L, 0xe9ffb530L, - 0x1cf2bdbdL, 0x8ac2bacaL, 0x3093b353L, 0xa6a3b424L, 0x0536d0baL, - 0x9306d7cdL, 0x2957de54L, 0xbf67d923L, 0x2e7a66b3L, 0xb84a61c4L, - 0x021b685dL, 0x942b6f2aL, 0x37be0bb4L, 0xa18e0cc3L, 0x1bdf055aL, - 0x8def022dL -}; - -#else -# error "Endianness not defined" -#endif - - -PJ_DEF(void) pj_crc32_init(pj_crc32_context *ctx) -{ - ctx->crc_state = 0; -} - -PJ_DEF(pj_uint32_t) pj_crc32_update(pj_crc32_context *ctx, - const pj_uint8_t *data, - pj_size_t nbytes) -{ - pj_uint32_t crc = ctx->crc_state ^ CRC32_NEGL; - - for( ; (((unsigned long)data) & 0x03) && nbytes > 0; --nbytes) { - crc = crc_tab[CRC32_INDEX(crc) ^ *data++] ^ CRC32_SHIFTED(crc); - } - - while (nbytes >= 4) { - crc ^= *(const pj_uint32_t *)data; - crc = crc_tab[CRC32_INDEX(crc)] ^ CRC32_SHIFTED(crc); - crc = crc_tab[CRC32_INDEX(crc)] ^ CRC32_SHIFTED(crc); - crc = crc_tab[CRC32_INDEX(crc)] ^ CRC32_SHIFTED(crc); - crc = crc_tab[CRC32_INDEX(crc)] ^ CRC32_SHIFTED(crc); - nbytes -= 4; - data += 4; - } - - while (nbytes--) { - crc = crc_tab[CRC32_INDEX(crc) ^ *data++] ^ CRC32_SHIFTED(crc); - } - - ctx->crc_state = crc ^ CRC32_NEGL; - - return ctx->crc_state; -} - -PJ_DEF(pj_uint32_t) pj_crc32_final(pj_crc32_context *ctx) -{ - return CRC32_SWAP(ctx->crc_state); -} - - -#else - -PJ_DEF(void) pj_crc32_init(pj_crc32_context *ctx) -{ - ctx->crc_state = CRC32_NEGL; -} - - -PJ_DEF(pj_uint32_t) pj_crc32_update(pj_crc32_context *ctx, - const pj_uint8_t *octets, - pj_size_t len) - -{ - pj_uint32_t crc = ctx->crc_state; - - while (len--) { - pj_uint32_t temp; - int j; - - temp = (pj_uint32_t)((crc & 0xFF) ^ *octets++); - for (j = 0; j < 8; j++) - { - if (temp & 0x1) - temp = (temp >> 1) ^ 0xEDB88320; - else - temp >>= 1; - } - crc = (crc >> 8) ^ temp; - } - ctx->crc_state = crc; - - return crc ^ CRC32_NEGL; -} - -PJ_DEF(pj_uint32_t) pj_crc32_final(pj_crc32_context *ctx) -{ - ctx->crc_state ^= CRC32_NEGL; - return ctx->crc_state; -} - -#endif - - -PJ_DEF(pj_uint32_t) pj_crc32_calc( const pj_uint8_t *data, - pj_size_t nbytes) -{ - pj_crc32_context ctx; - - pj_crc32_init(&ctx); - pj_crc32_update(&ctx, data, nbytes); - return pj_crc32_final(&ctx); -} - diff --git a/res/pjproject/pjlib-util/src/pjlib-util/dns.c b/res/pjproject/pjlib-util/src/pjlib-util/dns.c deleted file mode 100644 index 4cefaffbbf..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/dns.c +++ /dev/null @@ -1,744 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include - - -PJ_DEF(const char *) pj_dns_get_type_name(int type) -{ - switch (type) { - case PJ_DNS_TYPE_A: return "A"; - case PJ_DNS_TYPE_AAAA: return "AAAA"; - case PJ_DNS_TYPE_SRV: return "SRV"; - case PJ_DNS_TYPE_NS: return "NS"; - case PJ_DNS_TYPE_CNAME: return "CNAME"; - case PJ_DNS_TYPE_PTR: return "PTR"; - case PJ_DNS_TYPE_MX: return "MX"; - case PJ_DNS_TYPE_TXT: return "TXT"; - case PJ_DNS_TYPE_NAPTR: return "NAPTR"; - } - return "(Unknown)"; -} - - -static void write16(pj_uint8_t *p, pj_uint16_t val) -{ - p[0] = (pj_uint8_t)(val >> 8); - p[1] = (pj_uint8_t)(val & 0xFF); -} - - -/** - * Initialize a DNS query transaction. - */ -PJ_DEF(pj_status_t) pj_dns_make_query( void *packet, - unsigned *size, - pj_uint16_t id, - int qtype, - const pj_str_t *name) -{ - pj_uint8_t *query, *p = (pj_uint8_t*)packet; - const char *startlabel, *endlabel, *endname; - unsigned d; - - /* Sanity check */ - PJ_ASSERT_RETURN(packet && size && qtype && name, PJ_EINVAL); - - /* Calculate total number of bytes required. */ - d = sizeof(pj_dns_hdr) + name->slen + 4; - - /* Check that size is sufficient. */ - PJ_ASSERT_RETURN(*size >= d, PJLIB_UTIL_EDNSQRYTOOSMALL); - - /* Initialize header */ - pj_assert(sizeof(pj_dns_hdr)==12); - pj_bzero(p, sizeof(struct pj_dns_hdr)); - write16(p+0, id); - write16(p+2, (pj_uint16_t)PJ_DNS_SET_RD(1)); - write16(p+4, (pj_uint16_t)1); - - /* Initialize query */ - query = p = ((pj_uint8_t*)packet)+sizeof(pj_dns_hdr); - - /* Tokenize name */ - startlabel = endlabel = name->ptr; - endname = name->ptr + name->slen; - while (endlabel != endname) { - while (endlabel != endname && *endlabel != '.') - ++endlabel; - *p++ = (pj_uint8_t)(endlabel - startlabel); - pj_memcpy(p, startlabel, endlabel-startlabel); - p += (endlabel-startlabel); - if (endlabel != endname && *endlabel == '.') - ++endlabel; - startlabel = endlabel; - } - *p++ = '\0'; - - /* Set type */ - write16(p, (pj_uint16_t)qtype); - p += 2; - - /* Set class (IN=1) */ - write16(p, 1); - p += 2; - - /* Done, calculate length */ - *size = p - (pj_uint8_t*)packet; - - return 0; -} - - -/* Get a name length (note: name consists of multiple labels and - * it may contain pointers when name compression is applied) - */ -static pj_status_t get_name_len(int rec_counter, const pj_uint8_t *pkt, - const pj_uint8_t *start, const pj_uint8_t *max, - int *parsed_len, int *name_len) -{ - const pj_uint8_t *p; - pj_status_t status; - - /* Limit the number of recursion */ - if (rec_counter > 10) { - /* Too many name recursion */ - return PJLIB_UTIL_EDNSINNAMEPTR; - } - - *name_len = *parsed_len = 0; - p = start; - while (*p) { - if ((*p & 0xc0) == 0xc0) { - /* Compression is found! */ - int ptr_len = 0; - int dummy; - pj_uint16_t offset; - - /* Get the 14bit offset */ - pj_memcpy(&offset, p, 2); - offset ^= pj_htons((pj_uint16_t)(0xc0 << 8)); - offset = pj_ntohs(offset); - - /* Check that offset is valid */ - if (offset >= max - pkt) - return PJLIB_UTIL_EDNSINNAMEPTR; - - /* Get the name length from that offset. */ - status = get_name_len(rec_counter+1, pkt, pkt + offset, max, - &dummy, &ptr_len); - if (status != PJ_SUCCESS) - return status; - - *parsed_len += 2; - *name_len += ptr_len; - - return PJ_SUCCESS; - } else { - unsigned label_len = *p; - - /* Check that label length is valid */ - if (pkt+label_len > max) - return PJLIB_UTIL_EDNSINNAMEPTR; - - p += (label_len + 1); - *parsed_len += (label_len + 1); - - if (*p != 0) - ++label_len; - - *name_len += label_len; - - if (p >= max) - return PJLIB_UTIL_EDNSINSIZE; - } - } - ++p; - (*parsed_len)++; - - return PJ_SUCCESS; -} - - -/* Parse and copy name (note: name consists of multiple labels and - * it may contain pointers when compression is applied). - */ -static pj_status_t get_name(int rec_counter, const pj_uint8_t *pkt, - const pj_uint8_t *start, const pj_uint8_t *max, - pj_str_t *name) -{ - const pj_uint8_t *p; - pj_status_t status; - - /* Limit the number of recursion */ - if (rec_counter > 10) { - /* Too many name recursion */ - return PJLIB_UTIL_EDNSINNAMEPTR; - } - - p = start; - while (*p) { - if ((*p & 0xc0) == 0xc0) { - /* Compression is found! */ - pj_uint16_t offset; - - /* Get the 14bit offset */ - pj_memcpy(&offset, p, 2); - offset ^= pj_htons((pj_uint16_t)(0xc0 << 8)); - offset = pj_ntohs(offset); - - /* Check that offset is valid */ - if (offset >= max - pkt) - return PJLIB_UTIL_EDNSINNAMEPTR; - - /* Retrieve the name from that offset. */ - status = get_name(rec_counter+1, pkt, pkt + offset, max, name); - if (status != PJ_SUCCESS) - return status; - - return PJ_SUCCESS; - } else { - unsigned label_len = *p; - - /* Check that label length is valid */ - if (pkt+label_len > max) - return PJLIB_UTIL_EDNSINNAMEPTR; - - pj_memcpy(name->ptr + name->slen, p+1, label_len); - name->slen += label_len; - - p += label_len + 1; - if (*p != 0) { - *(name->ptr + name->slen) = '.'; - ++name->slen; - } - - if (p >= max) - return PJLIB_UTIL_EDNSINSIZE; - } - } - - return PJ_SUCCESS; -} - - -/* Parse query records. */ -static pj_status_t parse_query(pj_dns_parsed_query *q, pj_pool_t *pool, - const pj_uint8_t *pkt, const pj_uint8_t *start, - const pj_uint8_t *max, int *parsed_len) -{ - const pj_uint8_t *p = start; - int name_len, name_part_len; - pj_status_t status; - - /* Get the length of the name */ - status = get_name_len(0, pkt, start, max, &name_part_len, &name_len); - if (status != PJ_SUCCESS) - return status; - - /* Allocate memory for the name */ - q->name.ptr = (char*) pj_pool_alloc(pool, name_len+4); - q->name.slen = 0; - - /* Get the name */ - status = get_name(0, pkt, start, max, &q->name); - if (status != PJ_SUCCESS) - return status; - - p = (start + name_part_len); - - /* Get the type */ - pj_memcpy(&q->type, p, 2); - q->type = pj_ntohs(q->type); - p += 2; - - /* Get the class */ - pj_memcpy(&q->dnsclass, p, 2); - q->dnsclass = pj_ntohs(q->dnsclass); - p += 2; - - *parsed_len = (int)(p - start); - - return PJ_SUCCESS; -} - - -/* Parse RR records */ -static pj_status_t parse_rr(pj_dns_parsed_rr *rr, pj_pool_t *pool, - const pj_uint8_t *pkt, - const pj_uint8_t *start, const pj_uint8_t *max, - int *parsed_len) -{ - const pj_uint8_t *p = start; - int name_len, name_part_len; - pj_status_t status; - - /* Get the length of the name */ - status = get_name_len(0, pkt, start, max, &name_part_len, &name_len); - if (status != PJ_SUCCESS) - return status; - - /* Allocate memory for the name */ - rr->name.ptr = (char*) pj_pool_alloc(pool, name_len+4); - rr->name.slen = 0; - - /* Get the name */ - status = get_name(0, pkt, start, max, &rr->name); - if (status != PJ_SUCCESS) - return status; - - p = (start + name_part_len); - - /* Check the size can accomodate next few fields. */ - if (p+10 > max) - return PJLIB_UTIL_EDNSINSIZE; - - /* Get the type */ - pj_memcpy(&rr->type, p, 2); - rr->type = pj_ntohs(rr->type); - p += 2; - - /* Get the class */ - pj_memcpy(&rr->dnsclass, p, 2); - rr->dnsclass = pj_ntohs(rr->dnsclass); - p += 2; - - /* Class MUST be IN */ - if (rr->dnsclass != 1) - return PJLIB_UTIL_EDNSINCLASS; - - /* Get TTL */ - pj_memcpy(&rr->ttl, p, 4); - rr->ttl = pj_ntohl(rr->ttl); - p += 4; - - /* Get rdlength */ - pj_memcpy(&rr->rdlength, p, 2); - rr->rdlength = pj_ntohs(rr->rdlength); - p += 2; - - /* Check that length is valid */ - if (p + rr->rdlength > max) - return PJLIB_UTIL_EDNSINSIZE; - - /* Parse some well known records */ - if (rr->type == PJ_DNS_TYPE_A) { - pj_memcpy(&rr->rdata.a.ip_addr, p, 4); - p += 4; - - } else if (rr->type == PJ_DNS_TYPE_AAAA) { - pj_memcpy(&rr->rdata.aaaa.ip_addr, p, 16); - p += 16; - - } else if (rr->type == PJ_DNS_TYPE_CNAME || - rr->type == PJ_DNS_TYPE_NS || - rr->type == PJ_DNS_TYPE_PTR) - { - - /* Get the length of the target name */ - status = get_name_len(0, pkt, p, max, &name_part_len, &name_len); - if (status != PJ_SUCCESS) - return status; - - /* Allocate memory for the name */ - rr->rdata.cname.name.ptr = (char*) pj_pool_alloc(pool, name_len); - rr->rdata.cname.name.slen = 0; - - /* Get the name */ - status = get_name(0, pkt, p, max, &rr->rdata.cname.name); - if (status != PJ_SUCCESS) - return status; - - p += name_part_len; - - } else if (rr->type == PJ_DNS_TYPE_SRV) { - - /* Priority */ - pj_memcpy(&rr->rdata.srv.prio, p, 2); - rr->rdata.srv.prio = pj_ntohs(rr->rdata.srv.prio); - p += 2; - - /* Weight */ - pj_memcpy(&rr->rdata.srv.weight, p, 2); - rr->rdata.srv.weight = pj_ntohs(rr->rdata.srv.weight); - p += 2; - - /* Port */ - pj_memcpy(&rr->rdata.srv.port, p, 2); - rr->rdata.srv.port = pj_ntohs(rr->rdata.srv.port); - p += 2; - - /* Get the length of the target name */ - status = get_name_len(0, pkt, p, max, &name_part_len, &name_len); - if (status != PJ_SUCCESS) - return status; - - /* Allocate memory for the name */ - rr->rdata.srv.target.ptr = (char*) pj_pool_alloc(pool, name_len); - rr->rdata.srv.target.slen = 0; - - /* Get the name */ - status = get_name(0, pkt, p, max, &rr->rdata.srv.target); - if (status != PJ_SUCCESS) - return status; - p += name_part_len; - - } else { - /* Copy the raw data */ - rr->data = pj_pool_alloc(pool, rr->rdlength); - pj_memcpy(rr->data, p, rr->rdlength); - - p += rr->rdlength; - } - - *parsed_len = (int)(p - start); - return PJ_SUCCESS; -} - - -/* - * Parse raw DNS packet into DNS packet structure. - */ -PJ_DEF(pj_status_t) pj_dns_parse_packet( pj_pool_t *pool, - const void *packet, - unsigned size, - pj_dns_parsed_packet **p_res) -{ - pj_dns_parsed_packet *res; - const pj_uint8_t *start, *end; - pj_status_t status; - unsigned i; - - /* Sanity checks */ - PJ_ASSERT_RETURN(pool && packet && size && p_res, PJ_EINVAL); - - /* Packet size must be at least as big as the header */ - if (size < sizeof(pj_dns_hdr)) - return PJLIB_UTIL_EDNSINSIZE; - - /* Create the structure */ - res = PJ_POOL_ZALLOC_T(pool, pj_dns_parsed_packet); - - /* Copy the DNS header, and convert endianness to host byte order */ - pj_memcpy(&res->hdr, packet, sizeof(pj_dns_hdr)); - res->hdr.id = pj_ntohs(res->hdr.id); - res->hdr.flags = pj_ntohs(res->hdr.flags); - res->hdr.qdcount = pj_ntohs(res->hdr.qdcount); - res->hdr.anscount = pj_ntohs(res->hdr.anscount); - res->hdr.nscount = pj_ntohs(res->hdr.nscount); - res->hdr.arcount = pj_ntohs(res->hdr.arcount); - - /* Mark start and end of payload */ - start = ((const pj_uint8_t*)packet) + sizeof(pj_dns_hdr); - end = ((const pj_uint8_t*)packet) + size; - - /* Parse query records (if any). - */ - if (res->hdr.qdcount) { - res->q = (pj_dns_parsed_query*) - pj_pool_zalloc(pool, res->hdr.qdcount * - sizeof(pj_dns_parsed_query)); - for (i=0; ihdr.qdcount; ++i) { - int parsed_len = 0; - - status = parse_query(&res->q[i], pool, (const pj_uint8_t*)packet, - start, end, &parsed_len); - if (status != PJ_SUCCESS) - return status; - - start += parsed_len; - } - } - - /* Parse answer, if any */ - if (res->hdr.anscount) { - res->ans = (pj_dns_parsed_rr*) - pj_pool_zalloc(pool, res->hdr.anscount * - sizeof(pj_dns_parsed_rr)); - - for (i=0; ihdr.anscount; ++i) { - int parsed_len; - - status = parse_rr(&res->ans[i], pool, (const pj_uint8_t*)packet, - start, end, &parsed_len); - if (status != PJ_SUCCESS) - return status; - - start += parsed_len; - } - } - - /* Parse authoritative NS records, if any */ - if (res->hdr.nscount) { - res->ns = (pj_dns_parsed_rr*) - pj_pool_zalloc(pool, res->hdr.nscount * - sizeof(pj_dns_parsed_rr)); - - for (i=0; ihdr.nscount; ++i) { - int parsed_len; - - status = parse_rr(&res->ns[i], pool, (const pj_uint8_t*)packet, - start, end, &parsed_len); - if (status != PJ_SUCCESS) - return status; - - start += parsed_len; - } - } - - /* Parse additional RR answer, if any */ - if (res->hdr.arcount) { - res->arr = (pj_dns_parsed_rr*) - pj_pool_zalloc(pool, res->hdr.arcount * - sizeof(pj_dns_parsed_rr)); - - for (i=0; ihdr.arcount; ++i) { - int parsed_len; - - status = parse_rr(&res->arr[i], pool, (const pj_uint8_t*)packet, - start, end, &parsed_len); - if (status != PJ_SUCCESS) - return status; - - start += parsed_len; - } - } - - /* Looks like everything is okay */ - *p_res = res; - - return PJ_SUCCESS; -} - - -/* Perform name compression scheme. - * If a name is already in the nametable, when no need to duplicate - * the string with the pool, but rather just use the pointer there. - */ -static void apply_name_table( unsigned *count, - pj_str_t nametable[], - const pj_str_t *src, - pj_pool_t *pool, - pj_str_t *dst) -{ - unsigned i; - - /* Scan strings in nametable */ - for (i=0; i<*count; ++i) { - if (pj_stricmp(&nametable[i], src) == 0) - break; - } - - /* If name is found in nametable, use the pointer in the nametable */ - if (i != *count) { - dst->ptr = nametable[i].ptr; - dst->slen = nametable[i].slen; - return; - } - - /* Otherwise duplicate the string, and insert new name in nametable */ - pj_strdup(pool, dst, src); - - if (*count < PJ_DNS_MAX_NAMES_IN_NAMETABLE) { - nametable[*count].ptr = dst->ptr; - nametable[*count].slen = dst->slen; - - ++(*count); - } -} - -static void copy_query(pj_pool_t *pool, pj_dns_parsed_query *dst, - const pj_dns_parsed_query *src, - unsigned *nametable_count, - pj_str_t nametable[]) -{ - pj_memcpy(dst, src, sizeof(*src)); - apply_name_table(nametable_count, nametable, &src->name, pool, &dst->name); -} - - -static void copy_rr(pj_pool_t *pool, pj_dns_parsed_rr *dst, - const pj_dns_parsed_rr *src, - unsigned *nametable_count, - pj_str_t nametable[]) -{ - pj_memcpy(dst, src, sizeof(*src)); - apply_name_table(nametable_count, nametable, &src->name, pool, &dst->name); - - if (src->data) { - dst->data = pj_pool_alloc(pool, src->rdlength); - pj_memcpy(dst->data, src->data, src->rdlength); - } - - if (src->type == PJ_DNS_TYPE_SRV) { - apply_name_table(nametable_count, nametable, &src->rdata.srv.target, - pool, &dst->rdata.srv.target); - } else if (src->type == PJ_DNS_TYPE_A) { - dst->rdata.a.ip_addr.s_addr = src->rdata.a.ip_addr.s_addr; - } else if (src->type == PJ_DNS_TYPE_AAAA) { - pj_memcpy(&dst->rdata.aaaa.ip_addr, &src->rdata.aaaa.ip_addr, - sizeof(pj_in6_addr)); - } else if (src->type == PJ_DNS_TYPE_CNAME) { - pj_strdup(pool, &dst->rdata.cname.name, &src->rdata.cname.name); - } else if (src->type == PJ_DNS_TYPE_NS) { - pj_strdup(pool, &dst->rdata.ns.name, &src->rdata.ns.name); - } else if (src->type == PJ_DNS_TYPE_PTR) { - pj_strdup(pool, &dst->rdata.ptr.name, &src->rdata.ptr.name); - } -} - -/* - * Duplicate DNS packet. - */ -PJ_DEF(void) pj_dns_packet_dup(pj_pool_t *pool, - const pj_dns_parsed_packet*p, - unsigned options, - pj_dns_parsed_packet **p_dst) -{ - pj_dns_parsed_packet *dst; - unsigned nametable_count = 0; -#if PJ_DNS_MAX_NAMES_IN_NAMETABLE - pj_str_t nametable[PJ_DNS_MAX_NAMES_IN_NAMETABLE]; -#else - pj_str_t *nametable = NULL; -#endif - unsigned i; - - PJ_ASSERT_ON_FAIL(pool && p && p_dst, return); - - /* Create packet and copy header */ - *p_dst = dst = PJ_POOL_ZALLOC_T(pool, pj_dns_parsed_packet); - pj_memcpy(&dst->hdr, &p->hdr, sizeof(p->hdr)); - - /* Initialize section counts in the target packet to zero. - * If memory allocation fails during copying process, the target packet - * should have a correct section counts. - */ - dst->hdr.qdcount = 0; - dst->hdr.anscount = 0; - dst->hdr.nscount = 0; - dst->hdr.arcount = 0; - - - /* Copy query section */ - if (p->hdr.qdcount && (options & PJ_DNS_NO_QD)==0) { - dst->q = (pj_dns_parsed_query*) - pj_pool_alloc(pool, p->hdr.qdcount * - sizeof(pj_dns_parsed_query)); - for (i=0; ihdr.qdcount; ++i) { - copy_query(pool, &dst->q[i], &p->q[i], - &nametable_count, nametable); - ++dst->hdr.qdcount; - } - } - - /* Copy answer section */ - if (p->hdr.anscount && (options & PJ_DNS_NO_ANS)==0) { - dst->ans = (pj_dns_parsed_rr*) - pj_pool_alloc(pool, p->hdr.anscount * - sizeof(pj_dns_parsed_rr)); - for (i=0; ihdr.anscount; ++i) { - copy_rr(pool, &dst->ans[i], &p->ans[i], - &nametable_count, nametable); - ++dst->hdr.anscount; - } - } - - /* Copy NS section */ - if (p->hdr.nscount && (options & PJ_DNS_NO_NS)==0) { - dst->ns = (pj_dns_parsed_rr*) - pj_pool_alloc(pool, p->hdr.nscount * - sizeof(pj_dns_parsed_rr)); - for (i=0; ihdr.nscount; ++i) { - copy_rr(pool, &dst->ns[i], &p->ns[i], - &nametable_count, nametable); - ++dst->hdr.nscount; - } - } - - /* Copy additional info section */ - if (p->hdr.arcount && (options & PJ_DNS_NO_AR)==0) { - dst->arr = (pj_dns_parsed_rr*) - pj_pool_alloc(pool, p->hdr.arcount * - sizeof(pj_dns_parsed_rr)); - for (i=0; ihdr.arcount; ++i) { - copy_rr(pool, &dst->arr[i], &p->arr[i], - &nametable_count, nametable); - ++dst->hdr.arcount; - } - } -} - - -PJ_DEF(void) pj_dns_init_srv_rr( pj_dns_parsed_rr *rec, - const pj_str_t *res_name, - unsigned dnsclass, - unsigned ttl, - unsigned prio, - unsigned weight, - unsigned port, - const pj_str_t *target) -{ - pj_bzero(rec, sizeof(*rec)); - rec->name = *res_name; - rec->type = PJ_DNS_TYPE_SRV; - rec->dnsclass = (pj_uint16_t) dnsclass; - rec->ttl = ttl; - rec->rdata.srv.prio = (pj_uint16_t) prio; - rec->rdata.srv.weight = (pj_uint16_t) weight; - rec->rdata.srv.port = (pj_uint16_t) port; - rec->rdata.srv.target = *target; -} - - -PJ_DEF(void) pj_dns_init_cname_rr( pj_dns_parsed_rr *rec, - const pj_str_t *res_name, - unsigned dnsclass, - unsigned ttl, - const pj_str_t *name) -{ - pj_bzero(rec, sizeof(*rec)); - rec->name = *res_name; - rec->type = PJ_DNS_TYPE_CNAME; - rec->dnsclass = (pj_uint16_t) dnsclass; - rec->ttl = ttl; - rec->rdata.cname.name = *name; -} - - -PJ_DEF(void) pj_dns_init_a_rr( pj_dns_parsed_rr *rec, - const pj_str_t *res_name, - unsigned dnsclass, - unsigned ttl, - const pj_in_addr *ip_addr) -{ - pj_bzero(rec, sizeof(*rec)); - rec->name = *res_name; - rec->type = PJ_DNS_TYPE_A; - rec->dnsclass = (pj_uint16_t) dnsclass; - rec->ttl = ttl; - rec->rdata.a.ip_addr = *ip_addr; -} - diff --git a/res/pjproject/pjlib-util/src/pjlib-util/dns_dump.c b/res/pjproject/pjlib-util/src/pjlib-util/dns_dump.c deleted file mode 100644 index 95e58c796c..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/dns_dump.c +++ /dev/null @@ -1,193 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -#define THIS_FILE "dns_dump.c" -#define LEVEL 3 - -static const char *spell_ttl(char *buf, int size, unsigned ttl) -{ -#define DAY (3600*24) -#define HOUR (3600) -#define MINUTE (60) - - char *p = buf; - int len; - - if (ttl > DAY) { - len = pj_ansi_snprintf(p, size, "%dd ", ttl/DAY); - if (len < 1) - return "-err-"; - size -= len; - p += len; - ttl %= DAY; - } - - if (ttl > HOUR) { - len = pj_ansi_snprintf(p, size, "%dh ", ttl/HOUR); - if (len < 1) - return "-err-"; - size -= len; - p += len; - ttl %= HOUR; - } - - if (ttl > MINUTE) { - len = pj_ansi_snprintf(p, size, "%dm ", ttl/MINUTE); - if (len < 1) - return "-err-"; - size -= len; - p += len; - ttl %= MINUTE; - } - - if (ttl > 0) { - len = pj_ansi_snprintf(p, size, "%ds ", ttl); - if (len < 1) - return "-err-"; - size -= len; - p += len; - ttl = 0; - } - - *p = '\0'; - return buf; -} - - -static void dump_query(unsigned index, const pj_dns_parsed_query *q) -{ - PJ_LOG(3,(THIS_FILE, " %d. Name: %.*s", - index, (int)q->name.slen, q->name.ptr)); - PJ_LOG(3,(THIS_FILE, " Type: %s (%d)", - pj_dns_get_type_name(q->type), q->type)); - PJ_LOG(3,(THIS_FILE, " Class: %s (%d)", - (q->dnsclass==1 ? "IN" : ""), q->dnsclass)); -} - -static void dump_answer(unsigned index, const pj_dns_parsed_rr *rr) -{ - const pj_str_t root_name = { "", 6 }; - const pj_str_t *name = &rr->name; - char ttl_words[32]; - - if (name->slen == 0) - name = &root_name; - - PJ_LOG(3,(THIS_FILE, " %d. %s record (type=%d)", - index, pj_dns_get_type_name(rr->type), - rr->type)); - PJ_LOG(3,(THIS_FILE, " Name: %.*s", (int)name->slen, name->ptr)); - PJ_LOG(3,(THIS_FILE, " TTL: %u (%s)", rr->ttl, - spell_ttl(ttl_words, sizeof(ttl_words), rr->ttl))); - PJ_LOG(3,(THIS_FILE, " Data length: %u", rr->rdlength)); - - if (rr->type == PJ_DNS_TYPE_SRV) { - PJ_LOG(3,(THIS_FILE, " SRV: prio=%d, weight=%d %.*s:%d", - rr->rdata.srv.prio, rr->rdata.srv.weight, - (int)rr->rdata.srv.target.slen, - rr->rdata.srv.target.ptr, - rr->rdata.srv.port)); - } else if (rr->type == PJ_DNS_TYPE_CNAME || - rr->type == PJ_DNS_TYPE_NS || - rr->type == PJ_DNS_TYPE_PTR) - { - PJ_LOG(3,(THIS_FILE, " Name: %.*s", - (int)rr->rdata.cname.name.slen, - rr->rdata.cname.name.ptr)); - } else if (rr->type == PJ_DNS_TYPE_A) { - PJ_LOG(3,(THIS_FILE, " IP address: %s", - pj_inet_ntoa(rr->rdata.a.ip_addr))); - } else if (rr->type == PJ_DNS_TYPE_AAAA) { - char addr[PJ_INET6_ADDRSTRLEN]; - PJ_LOG(3,(THIS_FILE, " IPv6 address: %s", - pj_inet_ntop2(pj_AF_INET6(), &rr->rdata.aaaa.ip_addr, - addr, sizeof(addr)))); - } -} - - -PJ_DEF(void) pj_dns_dump_packet(const pj_dns_parsed_packet *res) -{ - unsigned i; - - PJ_ASSERT_ON_FAIL(res != NULL, return); - - /* Header part */ - PJ_LOG(3,(THIS_FILE, "Domain Name System packet (%s):", - (PJ_DNS_GET_QR(res->hdr.flags) ? "response" : "query"))); - PJ_LOG(3,(THIS_FILE, " Transaction ID: %d", res->hdr.id)); - PJ_LOG(3,(THIS_FILE, - " Flags: opcode=%d, authoritative=%d, truncated=%d, rcode=%d", - PJ_DNS_GET_OPCODE(res->hdr.flags), - PJ_DNS_GET_AA(res->hdr.flags), - PJ_DNS_GET_TC(res->hdr.flags), - PJ_DNS_GET_RCODE(res->hdr.flags))); - PJ_LOG(3,(THIS_FILE, " Nb of queries: %d", res->hdr.qdcount)); - PJ_LOG(3,(THIS_FILE, " Nb of answer RR: %d", res->hdr.anscount)); - PJ_LOG(3,(THIS_FILE, " Nb of authority RR: %d", res->hdr.nscount)); - PJ_LOG(3,(THIS_FILE, " Nb of additional RR: %d", res->hdr.arcount)); - PJ_LOG(3,(THIS_FILE, "")); - - /* Dump queries */ - if (res->hdr.qdcount) { - PJ_LOG(3,(THIS_FILE, " Queries:")); - - for (i=0; ihdr.qdcount; ++i) { - dump_query(i, &res->q[i]); - } - PJ_LOG(3,(THIS_FILE, "")); - } - - /* Dump answers */ - if (res->hdr.anscount) { - PJ_LOG(3,(THIS_FILE, " Answers RR:")); - - for (i=0; ihdr.anscount; ++i) { - dump_answer(i, &res->ans[i]); - } - PJ_LOG(3,(THIS_FILE, "")); - } - - /* Dump NS sections */ - if (res->hdr.anscount) { - PJ_LOG(3,(THIS_FILE, " NS Authority RR:")); - - for (i=0; ihdr.nscount; ++i) { - dump_answer(i, &res->ns[i]); - } - PJ_LOG(3,(THIS_FILE, "")); - } - - /* Dump Additional info sections */ - if (res->hdr.arcount) { - PJ_LOG(3,(THIS_FILE, " Additional Info RR:")); - - for (i=0; ihdr.arcount; ++i) { - dump_answer(i, &res->arr[i]); - } - PJ_LOG(3,(THIS_FILE, "")); - } - -} - diff --git a/res/pjproject/pjlib-util/src/pjlib-util/dns_server.c b/res/pjproject/pjlib-util/src/pjlib-util/dns_server.c deleted file mode 100644 index 6d5b84f724..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/dns_server.c +++ /dev/null @@ -1,554 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "dns_server.c" -#define MAX_ANS 16 -#define MAX_PKT 1500 -#define MAX_LABEL 32 - -struct label_tab -{ - unsigned count; - - struct { - unsigned pos; - pj_str_t label; - } a[MAX_LABEL]; -}; - -struct rr -{ - PJ_DECL_LIST_MEMBER(struct rr); - pj_dns_parsed_rr rec; -}; - - -struct pj_dns_server -{ - pj_pool_t *pool; - pj_pool_factory *pf; - pj_activesock_t *asock; - pj_ioqueue_op_key_t send_key; - struct rr rr_list; -}; - - -static pj_bool_t on_data_recvfrom(pj_activesock_t *asock, - void *data, - pj_size_t size, - const pj_sockaddr_t *src_addr, - int addr_len, - pj_status_t status); - - -PJ_DEF(pj_status_t) pj_dns_server_create( pj_pool_factory *pf, - pj_ioqueue_t *ioqueue, - int af, - unsigned port, - unsigned flags, - pj_dns_server **p_srv) -{ - pj_pool_t *pool; - pj_dns_server *srv; - pj_sockaddr sock_addr; - pj_activesock_cb sock_cb; - pj_status_t status; - - PJ_ASSERT_RETURN(pf && ioqueue && p_srv && flags==0, PJ_EINVAL); - PJ_ASSERT_RETURN(af==pj_AF_INET() || af==pj_AF_INET6(), PJ_EINVAL); - - pool = pj_pool_create(pf, "dnsserver", 256, 256, NULL); - srv = (pj_dns_server*) PJ_POOL_ZALLOC_T(pool, pj_dns_server); - srv->pool = pool; - srv->pf = pf; - pj_list_init(&srv->rr_list); - - pj_bzero(&sock_addr, sizeof(sock_addr)); - sock_addr.addr.sa_family = (pj_uint16_t)af; - pj_sockaddr_set_port(&sock_addr, (pj_uint16_t)port); - - pj_bzero(&sock_cb, sizeof(sock_cb)); - sock_cb.on_data_recvfrom = &on_data_recvfrom; - - status = pj_activesock_create_udp(pool, &sock_addr, NULL, ioqueue, - &sock_cb, srv, &srv->asock, NULL); - if (status != PJ_SUCCESS) - goto on_error; - - pj_ioqueue_op_key_init(&srv->send_key, sizeof(srv->send_key)); - - status = pj_activesock_start_recvfrom(srv->asock, pool, MAX_PKT, 0); - if (status != PJ_SUCCESS) - goto on_error; - - *p_srv = srv; - return PJ_SUCCESS; - -on_error: - pj_dns_server_destroy(srv); - return status; -} - - -PJ_DEF(pj_status_t) pj_dns_server_destroy(pj_dns_server *srv) -{ - PJ_ASSERT_RETURN(srv, PJ_EINVAL); - - if (srv->asock) { - pj_activesock_close(srv->asock); - srv->asock = NULL; - } - - if (srv->pool) { - pj_pool_t *pool = srv->pool; - srv->pool = NULL; - pj_pool_release(pool); - } - - return PJ_SUCCESS; -} - - -static struct rr* find_rr( pj_dns_server *srv, - unsigned dns_class, - unsigned type /* pj_dns_type */, - const pj_str_t *name) -{ - struct rr *r; - - r = srv->rr_list.next; - while (r != &srv->rr_list) { - if (r->rec.dnsclass == dns_class && r->rec.type == type && - pj_stricmp(&r->rec.name, name)==0) - { - return r; - } - r = r->next; - } - - return NULL; -} - - -PJ_DEF(pj_status_t) pj_dns_server_add_rec( pj_dns_server *srv, - unsigned count, - const pj_dns_parsed_rr rr_param[]) -{ - unsigned i; - - PJ_ASSERT_RETURN(srv && count && rr_param, PJ_EINVAL); - - for (i=0; ipool, struct rr); - pj_memcpy(&rr->rec, &rr_param[i], sizeof(pj_dns_parsed_rr)); - - pj_list_push_back(&srv->rr_list, rr); - } - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pj_dns_server_del_rec( pj_dns_server *srv, - int dns_class, - pj_dns_type type, - const pj_str_t *name) -{ - struct rr *rr; - - PJ_ASSERT_RETURN(srv && type && name, PJ_EINVAL); - - rr = find_rr(srv, dns_class, type, name); - if (!rr) - return PJ_ENOTFOUND; - - pj_list_erase(rr); - - return PJ_SUCCESS; -} - - -static void write16(pj_uint8_t *p, pj_uint16_t val) -{ - p[0] = (pj_uint8_t)(val >> 8); - p[1] = (pj_uint8_t)(val & 0xFF); -} - -static void write32(pj_uint8_t *p, pj_uint32_t val) -{ - val = pj_htonl(val); - pj_memcpy(p, &val, 4); -} - -static int print_name(pj_uint8_t *pkt, int size, - pj_uint8_t *pos, const pj_str_t *name, - struct label_tab *tab) -{ - pj_uint8_t *p = pos; - const char *endlabel, *endname; - unsigned i; - pj_str_t label; - - /* Check if name is in the table */ - for (i=0; icount; ++i) { - if (pj_strcmp(&tab->a[i].label, name)==0) - break; - } - - if (i != tab->count) { - write16(p, (pj_uint16_t)(tab->a[i].pos | (0xc0 << 8))); - return 2; - } else { - if (tab->count < MAX_LABEL) { - tab->a[tab->count].pos = (p-pkt); - tab->a[tab->count].label.ptr = (char*)(p+1); - tab->a[tab->count].label.slen = name->slen; - ++tab->count; - } - } - - endlabel = name->ptr; - endname = name->ptr + name->slen; - - label.ptr = (char*)name->ptr; - - while (endlabel != endname) { - - while (endlabel != endname && *endlabel != '.') - ++endlabel; - - label.slen = (endlabel - label.ptr); - - if (size < label.slen+1) - return -1; - - *p = (pj_uint8_t)label.slen; - pj_memcpy(p+1, label.ptr, label.slen); - - size -= (label.slen+1); - p += (label.slen+1); - - if (endlabel != endname && *endlabel == '.') - ++endlabel; - label.ptr = (char*)endlabel; - } - - if (size == 0) - return -1; - - *p++ = '\0'; - - return p-pos; -} - -static int print_rr(pj_uint8_t *pkt, int size, pj_uint8_t *pos, - const pj_dns_parsed_rr *rr, struct label_tab *tab) -{ - pj_uint8_t *p = pos; - int len; - - len = print_name(pkt, size, pos, &rr->name, tab); - if (len < 0) - return -1; - - p += len; - size -= len; - - if (size < 8) - return -1; - - pj_assert(rr->dnsclass == 1); - - write16(p+0, (pj_uint16_t)rr->type); /* type */ - write16(p+2, (pj_uint16_t)rr->dnsclass); /* class */ - write32(p+4, rr->ttl); /* TTL */ - - p += 8; - size -= 8; - - if (rr->type == PJ_DNS_TYPE_A) { - - if (size < 6) - return -1; - - /* RDLEN is 4 */ - write16(p, 4); - - /* Address */ - pj_memcpy(p+2, &rr->rdata.a.ip_addr, 4); - - p += 6; - size -= 6; - - } else if (rr->type == PJ_DNS_TYPE_CNAME || - rr->type == PJ_DNS_TYPE_NS || - rr->type == PJ_DNS_TYPE_PTR) { - - if (size < 4) - return -1; - - len = print_name(pkt, size-2, p+2, &rr->rdata.cname.name, tab); - if (len < 0) - return -1; - - write16(p, (pj_uint16_t)len); - - p += (len + 2); - size -= (len + 2); - - } else if (rr->type == PJ_DNS_TYPE_SRV) { - - if (size < 10) - return -1; - - write16(p+2, rr->rdata.srv.prio); /* Priority */ - write16(p+4, rr->rdata.srv.weight); /* Weight */ - write16(p+6, rr->rdata.srv.port); /* Port */ - - /* Target */ - len = print_name(pkt, size-8, p+8, &rr->rdata.srv.target, tab); - if (len < 0) - return -1; - - /* RDLEN */ - write16(p, (pj_uint16_t)(len + 6)); - - p += (len + 8); - size -= (len + 8); - - } else { - pj_assert(!"Not supported"); - return -1; - } - - return p-pos; -} - -static int print_packet(const pj_dns_parsed_packet *rec, pj_uint8_t *pkt, - int size) -{ - pj_uint8_t *p = pkt; - struct label_tab tab; - int i, len; - - tab.count = 0; - - pj_assert(sizeof(pj_dns_hdr)==12); - if (size < (int)sizeof(pj_dns_hdr)) - return -1; - - /* Initialize header */ - write16(p+0, rec->hdr.id); - write16(p+2, rec->hdr.flags); - write16(p+4, rec->hdr.qdcount); - write16(p+6, rec->hdr.anscount); - write16(p+8, rec->hdr.nscount); - write16(p+10, rec->hdr.arcount); - - p = pkt + sizeof(pj_dns_hdr); - size -= sizeof(pj_dns_hdr); - - /* Print queries */ - for (i=0; ihdr.qdcount; ++i) { - - len = print_name(pkt, size, p, &rec->q[i].name, &tab); - if (len < 0) - return -1; - - p += len; - size -= len; - - if (size < 4) - return -1; - - /* Set type */ - write16(p+0, (pj_uint16_t)rec->q[i].type); - - /* Set class (IN=1) */ - pj_assert(rec->q[i].dnsclass == 1); - write16(p+2, rec->q[i].dnsclass); - - p += 4; - } - - /* Print answers */ - for (i=0; ihdr.anscount; ++i) { - len = print_rr(pkt, size, p, &rec->ans[i], &tab); - if (len < 0) - return -1; - - p += len; - size -= len; - } - - /* Print NS records */ - for (i=0; ihdr.nscount; ++i) { - len = print_rr(pkt, size, p, &rec->ns[i], &tab); - if (len < 0) - return -1; - - p += len; - size -= len; - } - - /* Print additional records */ - for (i=0; ihdr.arcount; ++i) { - len = print_rr(pkt, size, p, &rec->arr[i], &tab); - if (len < 0) - return -1; - - p += len; - size -= len; - } - - return p - pkt; -} - - -static pj_bool_t on_data_recvfrom(pj_activesock_t *asock, - void *data, - pj_size_t size, - const pj_sockaddr_t *src_addr, - int addr_len, - pj_status_t status) -{ - pj_dns_server *srv; - pj_pool_t *pool; - pj_dns_parsed_packet *req; - pj_dns_parsed_packet ans; - struct rr *rr; - pj_ssize_t pkt_len; - unsigned i; - - if (status != PJ_SUCCESS) - return PJ_TRUE; - - srv = (pj_dns_server*) pj_activesock_get_user_data(asock); - pool = pj_pool_create(srv->pf, "dnssrvrx", 512, 256, NULL); - - status = pj_dns_parse_packet(pool, data, size, &req); - if (status != PJ_SUCCESS) { - char addrinfo[PJ_INET6_ADDRSTRLEN+10]; - pj_sockaddr_print(src_addr, addrinfo, sizeof(addrinfo), 3); - PJ_LOG(4,(THIS_FILE, "Error parsing query from %s", addrinfo)); - goto on_return; - } - - /* Init answer */ - pj_bzero(&ans, sizeof(ans)); - ans.hdr.id = req->hdr.id; - ans.hdr.qdcount = 1; - ans.q = (pj_dns_parsed_query*) PJ_POOL_ALLOC_T(pool, pj_dns_parsed_query); - pj_memcpy(ans.q, req->q, sizeof(pj_dns_parsed_query)); - - if (req->hdr.qdcount != 1) { - ans.hdr.flags = PJ_DNS_SET_RCODE(PJ_DNS_RCODE_FORMERR); - goto send_pkt; - } - - if (req->q[0].dnsclass != PJ_DNS_CLASS_IN) { - ans.hdr.flags = PJ_DNS_SET_RCODE(PJ_DNS_RCODE_NOTIMPL); - goto send_pkt; - } - - /* Find the record */ - rr = find_rr(srv, req->q->dnsclass, req->q->type, &req->q->name); - if (rr == NULL) { - ans.hdr.flags = PJ_DNS_SET_RCODE(PJ_DNS_RCODE_NXDOMAIN); - goto send_pkt; - } - - /* Init answer record */ - ans.hdr.anscount = 0; - ans.ans = (pj_dns_parsed_rr*) - pj_pool_calloc(pool, MAX_ANS, sizeof(pj_dns_parsed_rr)); - - /* DNS SRV query needs special treatment since it returns multiple - * records - */ - if (req->q->type == PJ_DNS_TYPE_SRV) { - struct rr *r; - - r = srv->rr_list.next; - while (r != &srv->rr_list) { - if (r->rec.dnsclass == req->q->dnsclass && - r->rec.type == PJ_DNS_TYPE_SRV && - pj_stricmp(&r->rec.name, &req->q->name)==0 && - ans.hdr.anscount < MAX_ANS) - { - pj_memcpy(&ans.ans[ans.hdr.anscount], &r->rec, - sizeof(pj_dns_parsed_rr)); - ++ans.hdr.anscount; - } - r = r->next; - } - } else { - /* Otherwise just copy directly from the server record */ - pj_memcpy(&ans.ans[ans.hdr.anscount], &rr->rec, - sizeof(pj_dns_parsed_rr)); - ++ans.hdr.anscount; - } - - /* For each CNAME entry, add A entry */ - for (i=0; irec, - sizeof(pj_dns_parsed_rr)); - ++ans.hdr.anscount; - } - } - -send_pkt: - pkt_len = print_packet(&ans, (pj_uint8_t*)data, MAX_PKT); - if (pkt_len < 1) { - PJ_LOG(4,(THIS_FILE, "Error: answer too large")); - goto on_return; - } - - status = pj_activesock_sendto(srv->asock, &srv->send_key, data, &pkt_len, - 0, src_addr, addr_len); - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - PJ_LOG(4,(THIS_FILE, "Error sending answer, status=%d", status)); - goto on_return; - } - -on_return: - pj_pool_release(pool); - return PJ_TRUE; -} - diff --git a/res/pjproject/pjlib-util/src/pjlib-util/errno.c b/res/pjproject/pjlib-util/src/pjlib-util/errno.c deleted file mode 100644 index 83a25753a7..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/errno.c +++ /dev/null @@ -1,174 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - - - -/* PJLIB_UTIL's own error codes/messages - * MUST KEEP THIS ARRAY SORTED!! - * Message must be limited to 64 chars! - */ -#if defined(PJ_HAS_ERROR_STRING) && PJ_HAS_ERROR_STRING!=0 -static const struct -{ - int code; - const char *msg; -} err_str[] = -{ - /* STUN errors */ - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNRESOLVE, "Unable to resolve STUN server" ), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNINMSGTYPE, "Unknown STUN message type" ), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNINMSGLEN, "Invalid STUN message length" ), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNINATTRLEN, "STUN attribute length error" ), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNINATTRTYPE, "Invalid STUN attribute type" ), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNININDEX, "Invalid STUN server/socket index" ), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNNOBINDRES, "No STUN binding response in the message" ), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNRECVERRATTR, "Received STUN error attribute" ), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNNOMAP, "No STUN mapped address attribute" ), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNNOTRESPOND, "Received no response from STUN server" ), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNSYMMETRIC, "Symetric NAT detected by STUN" ), - - /* XML errors */ - PJ_BUILD_ERR( PJLIB_UTIL_EINXML, "Invalid XML message" ), - - /* DNS errors */ - PJ_BUILD_ERR( PJLIB_UTIL_EDNSQRYTOOSMALL, "DNS query packet buffer is too small"), - PJ_BUILD_ERR( PJLIB_UTIL_EDNSINSIZE, "Invalid DNS packet length"), - PJ_BUILD_ERR( PJLIB_UTIL_EDNSINCLASS, "Invalid DNS class"), - PJ_BUILD_ERR( PJLIB_UTIL_EDNSINNAMEPTR, "Invalid DNS name pointer"), - PJ_BUILD_ERR( PJLIB_UTIL_EDNSINNSADDR, "Invalid DNS nameserver address"), - PJ_BUILD_ERR( PJLIB_UTIL_EDNSNONS, "No nameserver is in DNS resolver"), - PJ_BUILD_ERR( PJLIB_UTIL_EDNSNOWORKINGNS, "No working DNS nameserver"), - PJ_BUILD_ERR( PJLIB_UTIL_EDNSNOANSWERREC, "No answer record in the DNS response"), - PJ_BUILD_ERR( PJLIB_UTIL_EDNSINANSWER, "Invalid DNS answer"), - - PJ_BUILD_ERR( PJLIB_UTIL_EDNS_FORMERR, "DNS \"Format error\""), - PJ_BUILD_ERR( PJLIB_UTIL_EDNS_SERVFAIL, "DNS \"Server failure\""), - PJ_BUILD_ERR( PJLIB_UTIL_EDNS_NXDOMAIN, "DNS \"Name Error\""), - PJ_BUILD_ERR( PJLIB_UTIL_EDNS_NOTIMPL, "DNS \"Not Implemented\""), - PJ_BUILD_ERR( PJLIB_UTIL_EDNS_REFUSED, "DNS \"Refused\""), - PJ_BUILD_ERR( PJLIB_UTIL_EDNS_YXDOMAIN, "DNS \"The name exists\""), - PJ_BUILD_ERR( PJLIB_UTIL_EDNS_YXRRSET, "DNS \"The RRset (name, type) exists\""), - PJ_BUILD_ERR( PJLIB_UTIL_EDNS_NXRRSET, "DNS \"The RRset (name, type) does not exist\""), - PJ_BUILD_ERR( PJLIB_UTIL_EDNS_NOTAUTH, "DNS \"Not authorized\""), - PJ_BUILD_ERR( PJLIB_UTIL_EDNS_NOTZONE, "DNS \"The zone specified is not a zone\""), - - /* STUN */ - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNTOOMANYATTR, "Too many STUN attributes"), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNUNKNOWNATTR, "Unknown STUN attribute"), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNINADDRLEN, "Invalid STUN socket address length"), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNIPV6NOTSUPP, "STUN IPv6 attribute not supported"), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNNOTRESPONSE, "Expecting STUN response message"), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNINVALIDID, "STUN transaction ID mismatch"), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNNOHANDLER, "Unable to find STUN handler for the request"), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNMSGINTPOS, "Found non-FINGERPRINT attr. after MESSAGE-INTEGRITY"), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNFINGERPOS, "Found STUN attribute after FINGERPRINT"), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNNOUSERNAME, "Missing STUN USERNAME attribute"), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNMSGINT, "Missing/invalid STUN MESSAGE-INTEGRITY attribute"), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNDUPATTR, "Found duplicate STUN attribute"), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNNOREALM, "Missing STUN REALM attribute"), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNNONCE, "Missing/stale STUN NONCE attribute value"), - PJ_BUILD_ERR( PJLIB_UTIL_ESTUNTSXFAILED, "STUN transaction terminates with failure"), - - /* HTTP Client */ - PJ_BUILD_ERR( PJLIB_UTIL_EHTTPINURL, "Invalid URL format"), - PJ_BUILD_ERR( PJLIB_UTIL_EHTTPINPORT, "Invalid URL port number"), - PJ_BUILD_ERR( PJLIB_UTIL_EHTTPINCHDR, "Incomplete response header received"), - PJ_BUILD_ERR( PJLIB_UTIL_EHTTPINSBUF, "Insufficient buffer"), - PJ_BUILD_ERR( PJLIB_UTIL_EHTTPLOST, "Connection lost"), -}; -#endif /* PJ_HAS_ERROR_STRING */ - - -/* - * pjlib_util_strerror() - */ -pj_str_t pjlib_util_strerror(pj_status_t statcode, - char *buf, pj_size_t bufsize ) -{ - pj_str_t errstr; - -#if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING != 0) - - if (statcode >= PJLIB_UTIL_ERRNO_START && - statcode < PJLIB_UTIL_ERRNO_START + PJ_ERRNO_SPACE_SIZE) - { - /* Find the error in the table. - * Use binary search! - */ - int first = 0; - int n = PJ_ARRAY_SIZE(err_str); - - while (n > 0) { - int half = n/2; - int mid = first + half; - - if (err_str[mid].code < statcode) { - first = mid+1; - n -= (half+1); - } else if (err_str[mid].code > statcode) { - n = half; - } else { - first = mid; - break; - } - } - - - if (PJ_ARRAY_SIZE(err_str) && err_str[first].code == statcode) { - pj_str_t msg; - - msg.ptr = (char*)err_str[first].msg; - msg.slen = pj_ansi_strlen(err_str[first].msg); - - errstr.ptr = buf; - pj_strncpy_with_null(&errstr, &msg, bufsize); - return errstr; - - } - } - -#endif /* PJ_HAS_ERROR_STRING */ - - - /* Error not found. */ - errstr.ptr = buf; - errstr.slen = pj_ansi_snprintf(buf, bufsize, - "Unknown pjlib-util error %d", - statcode); - - return errstr; -} - - -PJ_DEF(pj_status_t) pjlib_util_init(void) -{ - pj_status_t status; - - status = pj_register_strerror(PJLIB_UTIL_ERRNO_START, - PJ_ERRNO_SPACE_SIZE, - &pjlib_util_strerror); - pj_assert(status == PJ_SUCCESS); - - return PJ_SUCCESS; -} diff --git a/res/pjproject/pjlib-util/src/pjlib-util/getopt.c b/res/pjproject/pjlib-util/src/pjlib-util/getopt.c deleted file mode 100644 index 6edf186a39..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/getopt.c +++ /dev/null @@ -1,731 +0,0 @@ -/* $Id$ */ -/* - * pj_getopt entry points - * - * modified by Mike Borella - */ - -#include -#include - -/* Internal only. Users should not call this directly. */ -static -int _getopt_internal (int argc, char *const *argv, - const char *shortopts, - const struct pj_getopt_option *longopts, int *longind, - int long_only); - -/* pj_getopt_long and pj_getopt_long_only entry points for GNU pj_getopt. - Copyright (C) 1987,88,89,90,91,92,93,94,96,97 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public License as - published by the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with the GNU C Library; see the file COPYING.LIB. If not, - write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ - - -/* Comment out all this code if we are using the GNU C Library, and are not - actually compiling the library itself. This code is part of the GNU C - Library, but also included in many other GNU distributions. Compiling - and linking in this code is a waste when using the GNU C library - (especially if it is a shared library). Rather than having every GNU - program understand `configure --with-gnu-libc' and omit the object files, - it is simpler to just do this in the source for each such file. */ - -# define GETOPT_INTERFACE_VERSION 2 - - -int -pj_getopt_long (int argc, char *const *argv, const char *options, - const struct pj_getopt_option *long_options, int *opt_index) -{ - return _getopt_internal (argc, argv, options, long_options, opt_index, 0); -} - -/* Like pj_getopt_long, but '-' as well as '--' can indicate a long option. - If an option that starts with '-' (not '--') doesn't match a long option, - but does match a short option, it is parsed as a short option - instead. */ - -int -pj_getopt (int argc, char * const * argv, const char * optstring) -{ - return _getopt_internal (argc, argv, optstring, - (const struct pj_getopt_option *) 0, - (int *) 0, - 0); -} - - -#define _(msgid) (msgid) - -/* This version of `pj_getopt' appears to the caller like standard Unix `pj_getopt' - but it behaves differently for the user, since it allows the user - to intersperse the options with the other arguments. - - As `pj_getopt' works, it permutes the elements of ARGV so that, - when it is done, all the options precede everything else. Thus - all application programs are extended to handle flexible argument order. - - Setting the environment variable POSIXLY_CORRECT disables permutation. - Then the behavior is completely standard. - - GNU application programs can use a third alternative mode in which - they can distinguish the relative order of options and other arguments. */ - -/* For communication from `pj_getopt' to the caller. - When `pj_getopt' finds an option that takes an argument, - the argument value is returned here. - Also, when `ordering' is RETURN_IN_ORDER, - each non-option ARGV-element is returned here. */ - -char *pj_optarg = NULL; - -/* Index in ARGV of the next element to be scanned. - This is used for communication to and from the caller - and for communication between successive calls to `pj_getopt'. - - On entry to `pj_getopt', zero means this is the first call; initialize. - - When `pj_getopt' returns -1, this is the index of the first of the - non-option elements that the caller should itself scan. - - Otherwise, `pj_optind' communicates from one call to the next - how much of ARGV has been scanned so far. */ - -/* 1003.2 says this must be 1 before any call. */ -int pj_optind = 1; - -/* Formerly, initialization of pj_getopt depended on pj_optind==0, which - causes problems with re-calling pj_getopt as programs generally don't - know that. */ - -int __getopt_initialized = 0; - -/* The next char to be scanned in the option-element - in which the last option character we returned was found. - This allows us to pick up the scan where we left off. - - If this is zero, or a null string, it means resume the scan - by advancing to the next ARGV-element. */ - -static char *nextchar; - -/* Set to an option character which was unrecognized. - This must be initialized on some systems to avoid linking in the - system's own pj_getopt implementation. */ - -int pj_optopt = '?'; - -/* Describe how to deal with options that follow non-option ARGV-elements. - - If the caller did not specify anything, - the default is REQUIRE_ORDER if the environment variable - POSIXLY_CORRECT is defined, PERMUTE otherwise. - - REQUIRE_ORDER means don't recognize them as options; - stop option processing when the first non-option is seen. - This is what Unix does. - This mode of operation is selected by either setting the environment - variable POSIXLY_CORRECT, or using `+' as the first character - of the list of option characters. - - PERMUTE is the default. We permute the contents of ARGV as we scan, - so that eventually all the non-options are at the end. This allows options - to be given in any order, even with programs that were not written to - expect this. - - RETURN_IN_ORDER is an option available to programs that were written - to expect options and other ARGV-elements in any order and that care about - the ordering of the two. We describe each non-option ARGV-element - as if it were the argument of an option with character code 1. - Using `-' as the first character of the list of option characters - selects this mode of operation. - - The special argument `--' forces an end of option-scanning regardless - of the value of `ordering'. In the case of RETURN_IN_ORDER, only - `--' can cause `pj_getopt' to return -1 with `pj_optind' != ARGC. */ - -static enum -{ - REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER -} ordering; - -/* Value of POSIXLY_CORRECT environment variable. */ -static char *posixly_correct; - -static char * -my_index (const char *str, int chr) -{ - while (*str) - { - if (*str == chr) - return (char *) str; - str++; - } - return 0; -} - - -/* Handle permutation of arguments. */ - -/* Describe the part of ARGV that contains non-options that have - been skipped. `first_nonopt' is the index in ARGV of the first of them; - `last_nonopt' is the index after the last of them. */ - -static int first_nonopt; -static int last_nonopt; - -# define SWAP_FLAGS(ch1, ch2) - -/* Exchange two adjacent subsequences of ARGV. - One subsequence is elements [first_nonopt,last_nonopt) - which contains all the non-options that have been skipped so far. - The other is elements [last_nonopt,pj_optind), which contains all - the options processed since those non-options were skipped. - - `first_nonopt' and `last_nonopt' are relocated so that they describe - the new indices of the non-options in ARGV after they are moved. */ - -static void -exchange (char **argv) -{ - int bottom = first_nonopt; - int middle = last_nonopt; - int top = pj_optind; - char *tem; - - /* Exchange the shorter segment with the far end of the longer segment. - That puts the shorter segment into the right place. - It leaves the longer segment in the right place overall, - but it consists of two parts that need to be swapped next. */ - - while (top > middle && middle > bottom) - { - if (top - middle > middle - bottom) - { - /* Bottom segment is the short one. */ - int len = middle - bottom; - register int i; - - /* Swap it with the top part of the top segment. */ - for (i = 0; i < len; i++) - { - tem = argv[bottom + i]; - argv[bottom + i] = argv[top - (middle - bottom) + i]; - argv[top - (middle - bottom) + i] = tem; - SWAP_FLAGS (bottom + i, top - (middle - bottom) + i); - } - /* Exclude the moved bottom segment from further swapping. */ - top -= len; - } - else - { - /* Top segment is the short one. */ - int len = top - middle; - register int i; - - /* Swap it with the bottom part of the bottom segment. */ - for (i = 0; i < len; i++) - { - tem = argv[bottom + i]; - argv[bottom + i] = argv[middle + i]; - argv[middle + i] = tem; - SWAP_FLAGS (bottom + i, middle + i); - } - /* Exclude the moved top segment from further swapping. */ - bottom += len; - } - } - - /* Update records for the slots the non-options now occupy. */ - - first_nonopt += (pj_optind - last_nonopt); - last_nonopt = pj_optind; -} - -/* Initialize the internal data when the first call is made. */ - -static const char *_getopt_initialize (int argc, char *const *argv, - const char *optstring) -{ - PJ_UNUSED_ARG(argc); - PJ_UNUSED_ARG(argv); - - /* Start processing options with ARGV-element 1 (since ARGV-element 0 - is the program name); the sequence of previously skipped - non-option ARGV-elements is empty. */ - - first_nonopt = last_nonopt = pj_optind; - - nextchar = NULL; - - //posixly_correct = getenv ("POSIXLY_CORRECT"); - posixly_correct = NULL; - - /* Determine how to handle the ordering of options and nonoptions. */ - - if (optstring[0] == '-') - { - ordering = RETURN_IN_ORDER; - ++optstring; - } - else if (optstring[0] == '+') - { - ordering = REQUIRE_ORDER; - ++optstring; - } - else if (posixly_correct != NULL) - ordering = REQUIRE_ORDER; - else - ordering = PERMUTE; - - return optstring; -} - -/* Scan elements of ARGV (whose length is ARGC) for option characters - given in OPTSTRING. - - If an element of ARGV starts with '-', and is not exactly "-" or "--", - then it is an option element. The characters of this element - (aside from the initial '-') are option characters. If `pj_getopt' - is called repeatedly, it returns successively each of the option characters - from each of the option elements. - - If `pj_getopt' finds another option character, it returns that character, - updating `pj_optind' and `nextchar' so that the next call to `pj_getopt' can - resume the scan with the following option character or ARGV-element. - - If there are no more option characters, `pj_getopt' returns -1. - Then `pj_optind' is the index in ARGV of the first ARGV-element - that is not an option. (The ARGV-elements have been permuted - so that those that are not options now come last.) - - OPTSTRING is a string containing the legitimate option characters. - If an option character is seen that is not listed in OPTSTRING, - return '?' after printing an error message. If you set `pj_opterr' to - zero, the error message is suppressed but we still return '?'. - - If a char in OPTSTRING is followed by a colon, that means it wants an arg, - so the following text in the same ARGV-element, or the text of the following - ARGV-element, is returned in `pj_optarg'. Two colons mean an option that - wants an optional arg; if there is text in the current ARGV-element, - it is returned in `pj_optarg', otherwise `pj_optarg' is set to zero. - - If OPTSTRING starts with `-' or `+', it requests different methods of - handling the non-option ARGV-elements. - See the comments about RETURN_IN_ORDER and REQUIRE_ORDER, above. - - Long-named options begin with `--' instead of `-'. - Their names may be abbreviated as long as the abbreviation is unique - or is an exact match for some defined option. If they have an - argument, it follows the option name in the same ARGV-element, separated - from the option name by a `=', or else the in next ARGV-element. - When `pj_getopt' finds a long-named option, it returns 0 if that option's - `flag' field is nonzero, the value of the option's `val' field - if the `flag' field is zero. - - The elements of ARGV aren't really const, because we permute them. - But we pretend they're const in the prototype to be compatible - with other systems. - - LONGOPTS is a vector of `struct pj_getopt_option' terminated by an - element containing a name which is zero. - - LONGIND returns the index in LONGOPT of the long-named option found. - It is only valid when a long-named option has been found by the most - recent call. - - If LONG_ONLY is nonzero, '-' as well as '--' can introduce - long-named options. */ - -static int -_getopt_internal (int argc, char *const *argv, const char *optstring, - const struct pj_getopt_option *longopts, int *longind, - int long_only) -{ - pj_optarg = NULL; - - if (pj_optind == 0 || !__getopt_initialized) - { - if (pj_optind == 0) - pj_optind = 1; /* Don't scan ARGV[0], the program name. */ - optstring = _getopt_initialize (argc, argv, optstring); - __getopt_initialized = 1; - } - - /* Test whether ARGV[pj_optind] points to a non-option argument. - Either it does not have option syntax, or there is an environment flag - from the shell indicating it is not an option. The later information - is only used when the used in the GNU libc. */ -#define NONOPTION_P (argv[pj_optind][0] != '-' || argv[pj_optind][1] == '\0') - - if (nextchar == NULL || *nextchar == '\0') - { - /* Advance to the next ARGV-element. */ - - /* Give FIRST_NONOPT & LAST_NONOPT rational values if OPTIND has been - moved back by the user (who may also have changed the arguments). */ - if (last_nonopt > pj_optind) - last_nonopt = pj_optind; - if (first_nonopt > pj_optind) - first_nonopt = pj_optind; - - if (ordering == PERMUTE) - { - /* If we have just processed some options following some non-options, - exchange them so that the options come first. */ - - if (first_nonopt != last_nonopt && last_nonopt != pj_optind) - exchange ((char **) argv); - else if (last_nonopt != pj_optind) - first_nonopt = pj_optind; - - /* Skip any additional non-options - and extend the range of non-options previously skipped. */ - - while (pj_optind < argc && NONOPTION_P) - pj_optind++; - last_nonopt = pj_optind; - } - - /* The special ARGV-element `--' means premature end of options. - Skip it like a null option, - then exchange with previous non-options as if it were an option, - then skip everything else like a non-option. */ - - if (pj_optind != argc && !pj_ansi_strcmp(argv[pj_optind], "--")) - { - pj_optind++; - - if (first_nonopt != last_nonopt && last_nonopt != pj_optind) - exchange ((char **) argv); - else if (first_nonopt == last_nonopt) - first_nonopt = pj_optind; - last_nonopt = argc; - - pj_optind = argc; - } - - /* If we have done all the ARGV-elements, stop the scan - and back over any non-options that we skipped and permuted. */ - - if (pj_optind == argc) - { - /* Set the next-arg-index to point at the non-options - that we previously skipped, so the caller will digest them. */ - if (first_nonopt != last_nonopt) - pj_optind = first_nonopt; - return -1; - } - - /* If we have come to a non-option and did not permute it, - either stop the scan or describe it to the caller and pass it by. */ - - if (NONOPTION_P) - { - if (ordering == REQUIRE_ORDER) - return -1; - pj_optarg = argv[pj_optind++]; - return 1; - } - - /* We have found another option-ARGV-element. - Skip the initial punctuation. */ - - nextchar = (argv[pj_optind] + 1 - + (longopts != NULL && argv[pj_optind][1] == '-')); - } - - /* Decode the current option-ARGV-element. */ - - /* Check whether the ARGV-element is a long option. - - If long_only and the ARGV-element has the form "-f", where f is - a valid short option, don't consider it an abbreviated form of - a long option that starts with f. Otherwise there would be no - way to give the -f short option. - - On the other hand, if there's a long option "fubar" and - the ARGV-element is "-fu", do consider that an abbreviation of - the long option, just like "--fu", and not "-f" with arg "u". - - This distinction seems to be the most useful approach. */ - - if (longopts != NULL - && (argv[pj_optind][1] == '-' - || (long_only && (argv[pj_optind][2] || !my_index (optstring, argv[pj_optind][1]))))) - { - char *nameend; - const struct pj_getopt_option *p; - const struct pj_getopt_option *pfound = NULL; - int exact = 0; - int ambig = 0; - int indfound = -1; - int option_index; - - for (nameend = nextchar; *nameend && *nameend != '='; nameend++) - /* Do nothing. */ ; - - /* Test all long options for either exact match - or abbreviated matches. */ - for (p = longopts, option_index = 0; p->name; p++, option_index++) - if (!strncmp (p->name, nextchar, nameend - nextchar)) - { - if ((unsigned int) (nameend - nextchar) - == (unsigned int) strlen (p->name)) - { - /* Exact match found. */ - pfound = p; - indfound = option_index; - exact = 1; - break; - } - else if (pfound == NULL) - { - /* First nonexact match found. */ - pfound = p; - indfound = option_index; - } - else - /* Second or later nonexact match found. */ - ambig = 1; - } - - if (ambig && !exact) - { - nextchar += strlen (nextchar); - pj_optind++; - pj_optopt = 0; - return '?'; - } - - if (pfound != NULL) - { - option_index = indfound; - pj_optind++; - if (*nameend) - { - /* Don't test has_arg with >, because some C compilers don't - allow it to be used on enums. */ - if (pfound->has_arg) - pj_optarg = nameend + 1; - else - { - nextchar += strlen (nextchar); - - pj_optopt = pfound->val; - return '?'; - } - } - else if (pfound->has_arg == 1) - { - if (pj_optind < argc) - pj_optarg = argv[pj_optind++]; - else - { - nextchar += strlen (nextchar); - pj_optopt = pfound->val; - return optstring[0] == ':' ? ':' : '?'; - } - } - nextchar += strlen (nextchar); - if (longind != NULL) - *longind = option_index; - if (pfound->flag) - { - *(pfound->flag) = pfound->val; - return 0; - } - return pfound->val; - } - - /* Can't find it as a long option. If this is not pj_getopt_long_only, - or the option starts with '--' or is not a valid short - option, then it's an error. - Otherwise interpret it as a short option. */ - if (!long_only || argv[pj_optind][1] == '-' - || my_index (optstring, *nextchar) == NULL) - { - nextchar = (char *) ""; - pj_optind++; - pj_optopt = 0; - return '?'; - } - } - - /* Look at and handle the next short option-character. */ - - { - char c = *nextchar++; - char *temp = my_index (optstring, c); - - /* Increment `pj_optind' when we start to process its last character. */ - if (*nextchar == '\0') - ++pj_optind; - - if (temp == NULL || c == ':') - { - pj_optopt = c; - return '?'; - } - /* Convenience. Treat POSIX -W foo same as long option --foo */ - if (temp[0] == 'W' && temp[1] == ';') - { - char *nameend; - const struct pj_getopt_option *p; - const struct pj_getopt_option *pfound = NULL; - int exact = 0; - int ambig = 0; - int indfound = 0; - int option_index; - - /* This is an option that requires an argument. */ - if (*nextchar != '\0') - { - pj_optarg = nextchar; - /* If we end this ARGV-element by taking the rest as an arg, - we must advance to the next element now. */ - pj_optind++; - } - else if (pj_optind == argc) - { - pj_optopt = c; - if (optstring[0] == ':') - c = ':'; - else - c = '?'; - return c; - } - else - /* We already incremented `pj_optind' once; - increment it again when taking next ARGV-elt as argument. */ - pj_optarg = argv[pj_optind++]; - - /* pj_optarg is now the argument, see if it's in the - table of longopts. */ - - for (nextchar = nameend = pj_optarg; *nameend && *nameend != '='; nameend++) - /* Do nothing. */ ; - - /* Test all long options for either exact match - or abbreviated matches. */ - for (p = longopts, option_index = 0; p->name; p++, option_index++) - if (!strncmp (p->name, nextchar, nameend - nextchar)) - { - if ((unsigned int) (nameend - nextchar) == strlen (p->name)) - { - /* Exact match found. */ - pfound = p; - indfound = option_index; - exact = 1; - break; - } - else if (pfound == NULL) - { - /* First nonexact match found. */ - pfound = p; - indfound = option_index; - } - else - /* Second or later nonexact match found. */ - ambig = 1; - } - if (ambig && !exact) - { - nextchar += strlen (nextchar); - pj_optind++; - return '?'; - } - if (pfound != NULL) - { - option_index = indfound; - if (*nameend) - { - /* Don't test has_arg with >, because some C compilers don't - allow it to be used on enums. */ - if (pfound->has_arg) - pj_optarg = nameend + 1; - else - { - nextchar += strlen (nextchar); - return '?'; - } - } - else if (pfound->has_arg == 1) - { - if (pj_optind < argc) - pj_optarg = argv[pj_optind++]; - else - { - nextchar += strlen (nextchar); - return optstring[0] == ':' ? ':' : '?'; - } - } - nextchar += strlen (nextchar); - if (longind != NULL) - *longind = option_index; - if (pfound->flag) - { - *(pfound->flag) = pfound->val; - return 0; - } - return pfound->val; - } - nextchar = NULL; - return 'W'; /* Let the application handle it. */ - } - if (temp[1] == ':') - { - if (temp[2] == ':') - { - /* This is an option that accepts an argument optionally. */ - if (*nextchar != '\0') - { - pj_optarg = nextchar; - pj_optind++; - } - else - pj_optarg = NULL; - nextchar = NULL; - } - else - { - /* This is an option that requires an argument. */ - if (*nextchar != '\0') - { - pj_optarg = nextchar; - /* If we end this ARGV-element by taking the rest as an arg, - we must advance to the next element now. */ - pj_optind++; - } - else if (pj_optind == argc) - { - pj_optopt = c; - if (optstring[0] == ':') - c = ':'; - else - c = '?'; - } - else - /* We already incremented `pj_optind' once; - increment it again when taking next ARGV-elt as argument. */ - pj_optarg = argv[pj_optind++]; - nextchar = NULL; - } - } - return c; - } -} - diff --git a/res/pjproject/pjlib-util/src/pjlib-util/hmac_md5.c b/res/pjproject/pjlib-util/src/pjlib-util/hmac_md5.c deleted file mode 100644 index de0aa0e053..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/hmac_md5.c +++ /dev/null @@ -1,97 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - - -PJ_DEF(void) pj_hmac_md5_init(pj_hmac_md5_context *hctx, - const pj_uint8_t *key, unsigned key_len) -{ - pj_uint8_t k_ipad[64]; - pj_uint8_t tk[16]; - int i; - - /* if key is longer than 64 bytes reset it to key=MD5(key) */ - if (key_len > 64) { - pj_md5_context tctx; - - pj_md5_init(&tctx); - pj_md5_update(&tctx, key, key_len); - pj_md5_final(&tctx, tk); - - key = tk; - key_len = 16; - } - - /* - * HMAC = H(K XOR opad, H(K XOR ipad, text)) - */ - - /* start out by storing key in pads */ - pj_bzero( k_ipad, sizeof(k_ipad)); - pj_bzero( hctx->k_opad, sizeof(hctx->k_opad)); - pj_memcpy( k_ipad, key, key_len); - pj_memcpy( hctx->k_opad, key, key_len); - - /* XOR key with ipad and opad values */ - for (i=0; i<64; i++) { - k_ipad[i] ^= 0x36; - hctx->k_opad[i] ^= 0x5c; - } - /* - * perform inner MD5 - */ - pj_md5_init(&hctx->context); - pj_md5_update(&hctx->context, k_ipad, 64); - -} - -PJ_DEF(void) pj_hmac_md5_update(pj_hmac_md5_context *hctx, - const pj_uint8_t *input, - unsigned input_len) -{ - pj_md5_update(&hctx->context, input, input_len); -} - -PJ_DEF(void) pj_hmac_md5_final(pj_hmac_md5_context *hctx, - pj_uint8_t digest[16]) -{ - pj_md5_final(&hctx->context, digest); - - /* - * perform outer MD5 - */ - pj_md5_init(&hctx->context); - pj_md5_update(&hctx->context, hctx->k_opad, 64); - pj_md5_update(&hctx->context, digest, 16); - pj_md5_final(&hctx->context, digest); -} - -PJ_DEF(void) pj_hmac_md5( const pj_uint8_t *input, unsigned input_len, - const pj_uint8_t *key, unsigned key_len, - pj_uint8_t digest[16] ) -{ - pj_hmac_md5_context ctx; - - pj_hmac_md5_init(&ctx, key, key_len); - pj_hmac_md5_update(&ctx, input, input_len); - pj_hmac_md5_final(&ctx, digest); -} - diff --git a/res/pjproject/pjlib-util/src/pjlib-util/hmac_sha1.c b/res/pjproject/pjlib-util/src/pjlib-util/hmac_sha1.c deleted file mode 100644 index 4d91186b43..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/hmac_sha1.c +++ /dev/null @@ -1,95 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - - -PJ_DEF(void) pj_hmac_sha1_init(pj_hmac_sha1_context *hctx, - const pj_uint8_t *key, unsigned key_len) -{ - pj_uint8_t k_ipad[64]; - pj_uint8_t tk[20]; - unsigned i; - - /* if key is longer than 64 bytes reset it to key=SHA1(key) */ - if (key_len > 64) { - pj_sha1_context tctx; - - pj_sha1_init(&tctx); - pj_sha1_update(&tctx, key, key_len); - pj_sha1_final(&tctx, tk); - - key = tk; - key_len = 20; - } - - /* - * HMAC = H(K XOR opad, H(K XOR ipad, text)) - */ - - /* start out by storing key in pads */ - pj_bzero( k_ipad, sizeof(k_ipad)); - pj_bzero( hctx->k_opad, sizeof(hctx->k_opad)); - pj_memcpy( k_ipad, key, key_len); - pj_memcpy( hctx->k_opad, key, key_len); - - /* XOR key with ipad and opad values */ - for (i=0; i<64; i++) { - k_ipad[i] ^= 0x36; - hctx->k_opad[i] ^= 0x5c; - } - /* - * perform inner SHA1 - */ - pj_sha1_init(&hctx->context); - pj_sha1_update(&hctx->context, k_ipad, 64); -} - -PJ_DEF(void) pj_hmac_sha1_update(pj_hmac_sha1_context *hctx, - const pj_uint8_t *input, unsigned input_len) -{ - pj_sha1_update(&hctx->context, input, input_len); -} - -PJ_DEF(void) pj_hmac_sha1_final(pj_hmac_sha1_context *hctx, - pj_uint8_t digest[20]) -{ - pj_sha1_final(&hctx->context, digest); - - /* - * perform outer SHA1 - */ - pj_sha1_init(&hctx->context); - pj_sha1_update(&hctx->context, hctx->k_opad, 64); - pj_sha1_update(&hctx->context, digest, 20); - pj_sha1_final(&hctx->context, digest); -} - -PJ_DEF(void) pj_hmac_sha1(const pj_uint8_t *input, unsigned input_len, - const pj_uint8_t *key, unsigned key_len, - pj_uint8_t digest[20] ) -{ - pj_hmac_sha1_context ctx; - - pj_hmac_sha1_init(&ctx, key, key_len); - pj_hmac_sha1_update(&ctx, input, input_len); - pj_hmac_sha1_final(&ctx, digest); -} - diff --git a/res/pjproject/pjlib-util/src/pjlib-util/http_client.c b/res/pjproject/pjlib-util/src/pjlib-util/http_client.c deleted file mode 100644 index cf96a2dfb0..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/http_client.c +++ /dev/null @@ -1,1654 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "http_client.c" - -#if 0 - /* Enable some tracing */ - #define TRACE_(arg) PJ_LOG(3,arg) -#else - #define TRACE_(arg) -#endif - -#define NUM_PROTOCOL 2 -#define HTTP_1_0 "1.0" -#define HTTP_1_1 "1.1" -#define CONTENT_LENGTH "Content-Length" -/* Buffer size for sending/receiving messages. */ -#define BUF_SIZE 2048 -/* Initial data buffer size to store the data in case content- - * length is not specified in the server's response. - */ -#define INITIAL_DATA_BUF_SIZE 2048 -#define INITIAL_POOL_SIZE 1024 -#define POOL_INCREMENT_SIZE 512 - -enum http_protocol -{ - PROTOCOL_HTTP, - PROTOCOL_HTTPS -}; - -static const char *http_protocol_names[NUM_PROTOCOL] = -{ - "HTTP", - "HTTPS" -}; - -static const unsigned int http_default_port[NUM_PROTOCOL] = -{ - 80, - 443 -}; - -enum http_method -{ - HTTP_GET, - HTTP_PUT, - HTTP_DELETE -}; - -static const char *http_method_names[3] = -{ - "GET", - "PUT", - "DELETE" -}; - -enum http_state -{ - IDLE, - CONNECTING, - SENDING_REQUEST, - SENDING_REQUEST_BODY, - REQUEST_SENT, - READING_RESPONSE, - READING_DATA, - READING_COMPLETE, - ABORTING, -}; - -enum auth_state -{ - AUTH_NONE, /* Not authenticating */ - AUTH_RETRYING, /* New request with auth has been submitted */ - AUTH_DONE /* Done retrying the request with auth. */ -}; - -struct pj_http_req -{ - pj_str_t url; /* Request URL */ - pj_http_url hurl; /* Parsed request URL */ - pj_sockaddr addr; /* The host's socket address */ - pj_http_req_param param; /* HTTP request parameters */ - pj_pool_t *pool; /* Pool to allocate memory from */ - pj_timer_heap_t *timer; /* Timer for timeout management */ - pj_ioqueue_t *ioqueue; /* Ioqueue to use */ - pj_http_req_callback cb; /* Callbacks */ - pj_activesock_t *asock; /* Active socket */ - pj_status_t error; /* Error status */ - pj_str_t buffer; /* Buffer to send/receive msgs */ - enum http_state state; /* State of the HTTP request */ - enum auth_state auth_state; /* Authentication state */ - pj_timer_entry timer_entry;/* Timer entry */ - pj_bool_t resolved; /* Whether URL's host is resolved */ - pj_http_resp response; /* HTTP response */ - pj_ioqueue_op_key_t op_key; - struct tcp_state - { - /* Total data sent so far if the data is sent in segments (i.e. - * if on_send_data() is not NULL and if param.reqdata.total_size > 0) - */ - pj_size_t tot_chunk_size; - /* Size of data to be sent (in a single activesock operation).*/ - pj_size_t send_size; - /* Data size sent so far. */ - pj_size_t current_send_size; - /* Total data received so far. */ - pj_size_t current_read_size; - } tcp_state; -}; - -/* Start sending the request */ -static pj_status_t http_req_start_sending(pj_http_req *hreq); -/* Start reading the response */ -static pj_status_t http_req_start_reading(pj_http_req *hreq); -/* End the request */ -static pj_status_t http_req_end_request(pj_http_req *hreq); -/* Parse the header data and populate the header fields with the result. */ -static pj_status_t http_headers_parse(char *hdata, pj_size_t size, - pj_http_headers *headers); -/* Parse the response */ -static pj_status_t http_response_parse(pj_pool_t *pool, - pj_http_resp *response, - void *data, pj_size_t size, - pj_size_t *remainder); -/* Restart the request with authentication */ -static void restart_req_with_auth(pj_http_req *hreq); -/* Parse authentication challenge */ -static pj_status_t parse_auth_chal(pj_pool_t *pool, pj_str_t *input, - pj_http_auth_chal *chal); - -static pj_uint16_t get_http_default_port(const pj_str_t *protocol) -{ - int i; - - for (i = 0; i < NUM_PROTOCOL; i++) { - if (!pj_stricmp2(protocol, http_protocol_names[i])) { - return (pj_uint16_t)http_default_port[i]; - } - } - return 0; -} - -static const char * get_protocol(const pj_str_t *protocol) -{ - int i; - - for (i = 0; i < NUM_PROTOCOL; i++) { - if (!pj_stricmp2(protocol, http_protocol_names[i])) { - return http_protocol_names[i]; - } - } - - /* Should not happen */ - pj_assert(0); - return NULL; -} - - -/* Syntax error handler for parser. */ -static void on_syntax_error(pj_scanner *scanner) -{ - PJ_UNUSED_ARG(scanner); - PJ_THROW(PJ_EINVAL); // syntax error -} - -/* Callback when connection is established to the server */ -static pj_bool_t http_on_connect(pj_activesock_t *asock, - pj_status_t status) -{ - pj_http_req *hreq = (pj_http_req*) pj_activesock_get_user_data(asock); - - if (hreq->state == ABORTING || hreq->state == IDLE) - return PJ_FALSE; - - if (status != PJ_SUCCESS) { - hreq->error = status; - pj_http_req_cancel(hreq, PJ_TRUE); - return PJ_FALSE; - } - - /* OK, we are connected. Start sending the request */ - hreq->state = SENDING_REQUEST; - http_req_start_sending(hreq); - return PJ_TRUE; -} - -static pj_bool_t http_on_data_sent(pj_activesock_t *asock, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t sent) -{ - pj_http_req *hreq = (pj_http_req*) pj_activesock_get_user_data(asock); - - PJ_UNUSED_ARG(op_key); - - if (hreq->state == ABORTING || hreq->state == IDLE) - return PJ_FALSE; - - if (sent <= 0) { - hreq->error = (sent < 0 ? -sent : PJLIB_UTIL_EHTTPLOST); - pj_http_req_cancel(hreq, PJ_TRUE); - return PJ_FALSE; - } - - hreq->tcp_state.current_send_size += sent; - TRACE_((THIS_FILE, "\nData sent: %d out of %d bytes", - hreq->tcp_state.current_send_size, hreq->tcp_state.send_size)); - if (hreq->tcp_state.current_send_size == hreq->tcp_state.send_size) { - /* Find out whether there is a request body to send. */ - if (hreq->param.reqdata.total_size > 0 || - hreq->param.reqdata.size > 0) - { - if (hreq->state == SENDING_REQUEST) { - /* Start sending the request body */ - hreq->state = SENDING_REQUEST_BODY; - hreq->tcp_state.tot_chunk_size = 0; - pj_assert(hreq->param.reqdata.total_size == 0 || - (hreq->param.reqdata.total_size > 0 && - hreq->param.reqdata.size == 0)); - } else { - /* Continue sending the next chunk of the request body */ - hreq->tcp_state.tot_chunk_size += hreq->tcp_state.send_size; - if (hreq->tcp_state.tot_chunk_size == - hreq->param.reqdata.total_size || - hreq->param.reqdata.total_size == 0) - { - /* Finish sending all the chunks, start reading - * the response. - */ - hreq->state = REQUEST_SENT; - http_req_start_reading(hreq); - return PJ_TRUE; - } - } - if (hreq->param.reqdata.total_size > 0 && - hreq->cb.on_send_data) - { - /* Call the callback for the application to provide - * the next chunk of data to be sent. - */ - (*hreq->cb.on_send_data)(hreq, &hreq->param.reqdata.data, - &hreq->param.reqdata.size); - /* Make sure the total data size given by the user does not - * exceed what the user originally said. - */ - pj_assert(hreq->tcp_state.tot_chunk_size + - hreq->param.reqdata.size <= - hreq->param.reqdata.total_size); - } - http_req_start_sending(hreq); - } else { - /* No request body, proceed to reading the server's response. */ - hreq->state = REQUEST_SENT; - http_req_start_reading(hreq); - } - } - return PJ_TRUE; -} - -static pj_bool_t http_on_data_read(pj_activesock_t *asock, - void *data, - pj_size_t size, - pj_status_t status, - pj_size_t *remainder) -{ - pj_http_req *hreq = (pj_http_req*) pj_activesock_get_user_data(asock); - - TRACE_((THIS_FILE, "\nData received: %d bytes", size)); - - if (hreq->state == ABORTING || hreq->state == IDLE) - return PJ_FALSE; - - if (hreq->state == READING_RESPONSE) { - pj_status_t st; - pj_size_t rem; - - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - hreq->error = status; - pj_http_req_cancel(hreq, PJ_TRUE); - return PJ_FALSE; - } - - /* Parse the response. */ - st = http_response_parse(hreq->pool, &hreq->response, - data, size, &rem); - if (st == PJLIB_UTIL_EHTTPINCHDR) { - /* If we already use up all our buffer and still - * hasn't received the whole header, return error - */ - if (size == BUF_SIZE) { - hreq->error = PJ_ETOOBIG; // response header size is too big - pj_http_req_cancel(hreq, PJ_TRUE); - return PJ_FALSE; - } - /* Keep the data if we do not get the whole response header */ - *remainder = size; - } else { - hreq->state = READING_DATA; - if (st != PJ_SUCCESS) { - /* Server replied with an invalid (or unknown) response - * format. We'll just pass the whole (unparsed) response - * to the user. - */ - hreq->response.data = data; - hreq->response.size = size - rem; - } - - /* If code is 401 or 407, find and parse WWW-Authenticate or - * Proxy-Authenticate header - */ - if (hreq->response.status_code == 401 || - hreq->response.status_code == 407) - { - const pj_str_t STR_WWW_AUTH = { "WWW-Authenticate", 16 }; - const pj_str_t STR_PROXY_AUTH = { "Proxy-Authenticate", 18 }; - pj_http_resp *response = &hreq->response; - pj_http_headers *hdrs = &response->headers; - unsigned i; - - status = PJ_ENOTFOUND; - for (i = 0; i < hdrs->count; i++) { - if (!pj_stricmp(&hdrs->header[i].name, &STR_WWW_AUTH) || - !pj_stricmp(&hdrs->header[i].name, &STR_PROXY_AUTH)) - { - status = parse_auth_chal(hreq->pool, - &hdrs->header[i].value, - &response->auth_chal); - break; - } - } - - /* Check if we should perform authentication */ - if (status == PJ_SUCCESS && - hreq->auth_state == AUTH_NONE && - hreq->response.auth_chal.scheme.slen && - hreq->param.auth_cred.username.slen && - (hreq->param.auth_cred.scheme.slen == 0 || - !pj_stricmp(&hreq->response.auth_chal.scheme, - &hreq->param.auth_cred.scheme)) && - (hreq->param.auth_cred.realm.slen == 0 || - !pj_stricmp(&hreq->response.auth_chal.realm, - &hreq->param.auth_cred.realm)) - ) - { - /* Yes, authentication is required and we have been - * configured with credential. - */ - restart_req_with_auth(hreq); - if (hreq->auth_state == AUTH_RETRYING) { - /* We'll be resending the request with auth. This - * connection has been closed. - */ - return PJ_FALSE; - } - } - } - - /* We already received the response header, call the - * appropriate callback. - */ - if (hreq->cb.on_response) - (*hreq->cb.on_response)(hreq, &hreq->response); - hreq->response.data = NULL; - hreq->response.size = 0; - - if (rem > 0 || hreq->response.content_length == 0) - return http_on_data_read(asock, (rem == 0 ? NULL: - (char *)data + size - rem), - rem, PJ_SUCCESS, NULL); - } - - return PJ_TRUE; - } - - if (hreq->state != READING_DATA) - return PJ_FALSE; - if (hreq->cb.on_data_read) { - /* If application wishes to receive the data once available, call - * its callback. - */ - if (size > 0) - (*hreq->cb.on_data_read)(hreq, data, size); - } else { - if (hreq->response.size == 0) { - /* If we know the content length, allocate the data based - * on that, otherwise we'll use initial buffer size and grow - * it later if necessary. - */ - hreq->response.size = (hreq->response.content_length == -1 ? - INITIAL_DATA_BUF_SIZE : - hreq->response.content_length); - hreq->response.data = pj_pool_alloc(hreq->pool, - hreq->response.size); - } - - /* If the size of data received exceeds its current size, - * grow the buffer by a factor of 2. - */ - if (hreq->tcp_state.current_read_size + size > - hreq->response.size) - { - void *olddata = hreq->response.data; - - hreq->response.data = pj_pool_alloc(hreq->pool, - hreq->response.size << 1); - pj_memcpy(hreq->response.data, olddata, hreq->response.size); - hreq->response.size <<= 1; - } - - /* Append the response data. */ - pj_memcpy((char *)hreq->response.data + - hreq->tcp_state.current_read_size, data, size); - } - hreq->tcp_state.current_read_size += size; - - /* If the total data received so far is equal to the content length - * or if it's already EOF. - */ - if ((hreq->response.content_length >=0 && - (pj_ssize_t)hreq->tcp_state.current_read_size >= - hreq->response.content_length) || - (status == PJ_EEOF && hreq->response.content_length == -1)) - { - /* Finish reading */ - http_req_end_request(hreq); - hreq->response.size = hreq->tcp_state.current_read_size; - - /* HTTP request is completed, call the callback. */ - if (hreq->cb.on_complete) { - (*hreq->cb.on_complete)(hreq, PJ_SUCCESS, &hreq->response); - } - - return PJ_FALSE; - } - - /* Error status or premature EOF. */ - if ((status != PJ_SUCCESS && status != PJ_EPENDING && status != PJ_EEOF) - || (status == PJ_EEOF && hreq->response.content_length > -1)) - { - hreq->error = status; - pj_http_req_cancel(hreq, PJ_TRUE); - return PJ_FALSE; - } - - return PJ_TRUE; -} - -/* Callback to be called when query has timed out */ -static void on_timeout( pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry) -{ - pj_http_req *hreq = (pj_http_req *) entry->user_data; - - PJ_UNUSED_ARG(timer_heap); - - /* Recheck that the request is still not completed, since there is a - * slight possibility of race condition (timer elapsed while at the - * same time response arrives). - */ - if (hreq->state == READING_COMPLETE) { - /* Yeah, we finish on time */ - return; - } - - /* Invalidate id. */ - hreq->timer_entry.id = 0; - - /* Request timed out. */ - hreq->error = PJ_ETIMEDOUT; - pj_http_req_cancel(hreq, PJ_TRUE); -} - -/* Parse authentication challenge */ -static pj_status_t parse_auth_chal(pj_pool_t *pool, pj_str_t *input, - pj_http_auth_chal *chal) -{ - pj_scanner scanner; - const pj_str_t REALM_STR = { "realm", 5}, - NONCE_STR = { "nonce", 5}, - ALGORITHM_STR = { "algorithm", 9 }, - STALE_STR = { "stale", 5}, - QOP_STR = { "qop", 3}, - OPAQUE_STR = { "opaque", 6}; - pj_status_t status = PJ_SUCCESS; - PJ_USE_EXCEPTION ; - - pj_scan_init(&scanner, input->ptr, input->slen, PJ_SCAN_AUTOSKIP_WS, - &on_syntax_error); - PJ_TRY { - /* Get auth scheme */ - if (*scanner.curptr == '"') { - pj_scan_get_quote(&scanner, '"', '"', &chal->scheme); - chal->scheme.ptr++; - chal->scheme.slen -= 2; - } else { - pj_scan_get_until_chr(&scanner, " \t\r\n", &chal->scheme); - } - - /* Loop parsing all parameters */ - for (;;) { - const char *end_param = ", \t\r\n;"; - pj_str_t name, value; - - /* Get pair of parameter name and value */ - value.ptr = NULL; - value.slen = 0; - pj_scan_get_until_chr(&scanner, "=, \t\r\n", &name); - if (*scanner.curptr == '=') { - pj_scan_get_char(&scanner); - if (!pj_scan_is_eof(&scanner)) { - if (*scanner.curptr == '"' || *scanner.curptr == '\'') { - int quote_char = *scanner.curptr; - pj_scan_get_quote(&scanner, quote_char, quote_char, - &value); - value.ptr++; - value.slen -= 2; - } else if (!strchr(end_param, *scanner.curptr)) { - pj_scan_get_until_chr(&scanner, end_param, &value); - } - } - value = pj_str_unescape(pool, &value); - } - - if (!pj_stricmp(&name, &REALM_STR)) { - chal->realm = value; - - } else if (!pj_stricmp(&name, &NONCE_STR)) { - chal->nonce = value; - - } else if (!pj_stricmp(&name, &ALGORITHM_STR)) { - chal->algorithm = value; - - } else if (!pj_stricmp(&name, &OPAQUE_STR)) { - chal->opaque = value; - - } else if (!pj_stricmp(&name, &QOP_STR)) { - chal->qop = value; - - } else if (!pj_stricmp(&name, &STALE_STR)) { - chal->stale = value.slen && - (*value.ptr != '0') && - (*value.ptr != 'f') && - (*value.ptr != 'F'); - - } - - /* Eat comma */ - if (!pj_scan_is_eof(&scanner) && *scanner.curptr == ',') - pj_scan_get_char(&scanner); - else - break; - } - - } - PJ_CATCH_ANY { - status = PJ_GET_EXCEPTION(); - pj_bzero(chal, sizeof(*chal)); - TRACE_((THIS_FILE, "Error: parsing of auth header failed")); - } - PJ_END; - pj_scan_fini(&scanner); - return status; -} - -/* The same as #pj_http_headers_add_elmt() with char * as - * its parameters. - */ -PJ_DEF(pj_status_t) pj_http_headers_add_elmt2(pj_http_headers *headers, - char *name, char *val) -{ - pj_str_t f, v; - pj_cstr(&f, name); - pj_cstr(&v, val); - return pj_http_headers_add_elmt(headers, &f, &v); -} - -PJ_DEF(pj_status_t) pj_http_headers_add_elmt(pj_http_headers *headers, - pj_str_t *name, - pj_str_t *val) -{ - PJ_ASSERT_RETURN(headers && name && val, PJ_FALSE); - if (headers->count >= PJ_HTTP_HEADER_SIZE) - return PJ_ETOOMANY; - pj_strassign(&headers->header[headers->count].name, name); - pj_strassign(&headers->header[headers->count++].value, val); - return PJ_SUCCESS; -} - -static pj_status_t http_response_parse(pj_pool_t *pool, - pj_http_resp *response, - void *data, pj_size_t size, - pj_size_t *remainder) -{ - pj_size_t i; - char *cptr; - char *end_status, *newdata; - pj_scanner scanner; - pj_str_t s; - const pj_str_t STR_CONTENT_LENGTH = { CONTENT_LENGTH, 14 }; - pj_status_t status; - - PJ_USE_EXCEPTION; - - PJ_ASSERT_RETURN(response, PJ_EINVAL); - if (size < 2) - return PJLIB_UTIL_EHTTPINCHDR; - /* Detect whether we already receive the response's status-line - * and its headers. We're looking for a pair of CRLFs. A pair of - * LFs is also supported although it is not RFC standard. - */ - cptr = (char *)data; - for (i = 1, cptr++; i < size; i++, cptr++) { - if (*cptr == '\n') { - if (*(cptr - 1) == '\n') - break; - if (*(cptr - 1) == '\r') { - if (i >= 3 && *(cptr - 2) == '\n' && *(cptr - 3) == '\r') - break; - } - } - } - if (i == size) - return PJLIB_UTIL_EHTTPINCHDR; - *remainder = size - 1 - i; - - pj_bzero(response, sizeof(response)); - response->content_length = -1; - - newdata = (char*) pj_pool_alloc(pool, i); - pj_memcpy(newdata, data, i); - - /* Parse the status-line. */ - pj_scan_init(&scanner, newdata, i, 0, &on_syntax_error); - PJ_TRY { - pj_scan_get_until_ch(&scanner, ' ', &response->version); - pj_scan_advance_n(&scanner, 1, PJ_FALSE); - pj_scan_get_until_ch(&scanner, ' ', &s); - response->status_code = (pj_uint16_t)pj_strtoul(&s); - pj_scan_advance_n(&scanner, 1, PJ_FALSE); - pj_scan_get_until_ch(&scanner, '\n', &response->reason); - if (response->reason.ptr[response->reason.slen-1] == '\r') - response->reason.slen--; - } - PJ_CATCH_ANY { - pj_scan_fini(&scanner); - return PJ_GET_EXCEPTION(); - } - PJ_END; - - end_status = scanner.curptr; - pj_scan_fini(&scanner); - - /* Parse the response headers. */ - size = i - 2 - (end_status - newdata); - if (size > 0) { - status = http_headers_parse(end_status + 1, size, - &response->headers); - } else { - status = PJ_SUCCESS; - } - - /* Find content-length header field. */ - for (i = 0; i < response->headers.count; i++) { - if (!pj_stricmp(&response->headers.header[i].name, - &STR_CONTENT_LENGTH)) - { - response->content_length = - pj_strtoul(&response->headers.header[i].value); - /* If content length is zero, make sure that it is because the - * header value is really zero and not due to parsing error. - */ - if (response->content_length == 0) { - if (pj_strcmp2(&response->headers.header[i].value, "0")) { - response->content_length = -1; - } - } - break; - } - } - - return status; -} - -static pj_status_t http_headers_parse(char *hdata, pj_size_t size, - pj_http_headers *headers) -{ - pj_scanner scanner; - pj_str_t s, s2; - pj_status_t status; - PJ_USE_EXCEPTION; - - PJ_ASSERT_RETURN(headers, PJ_EINVAL); - - pj_scan_init(&scanner, hdata, size, 0, &on_syntax_error); - - /* Parse each line of header field consisting of header field name and - * value, separated by ":" and any number of white spaces. - */ - PJ_TRY { - do { - pj_scan_get_until_chr(&scanner, ":\n", &s); - if (*scanner.curptr == ':') { - pj_scan_advance_n(&scanner, 1, PJ_TRUE); - pj_scan_get_until_ch(&scanner, '\n', &s2); - if (s2.ptr[s2.slen-1] == '\r') - s2.slen--; - status = pj_http_headers_add_elmt(headers, &s, &s2); - if (status != PJ_SUCCESS) - PJ_THROW(status); - } - pj_scan_advance_n(&scanner, 1, PJ_TRUE); - /* Finish parsing */ - if (pj_scan_is_eof(&scanner)) - break; - } while (1); - } - PJ_CATCH_ANY { - pj_scan_fini(&scanner); - return PJ_GET_EXCEPTION(); - } - PJ_END; - - pj_scan_fini(&scanner); - - return PJ_SUCCESS; -} - -PJ_DEF(void) pj_http_req_param_default(pj_http_req_param *param) -{ - pj_assert(param); - pj_bzero(param, sizeof(*param)); - param->addr_family = pj_AF_INET(); - pj_strset2(¶m->method, (char*)http_method_names[HTTP_GET]); - pj_strset2(¶m->version, (char*)HTTP_1_0); - param->timeout.msec = PJ_HTTP_DEFAULT_TIMEOUT; - pj_time_val_normalize(¶m->timeout); - param->max_retries = 3; -} - -/* Get the location of '@' character to indicate the end of - * user:passwd part of an URI. If user:passwd part is not - * present, NULL will be returned. - */ -static char *get_url_at_pos(const char *str, long len) -{ - const char *end = str + len; - const char *p = str; - - /* skip scheme: */ - while (p!=end && *p!='/') ++p; - if (p!=end && *p=='/') ++p; - if (p!=end && *p=='/') ++p; - if (p==end) return NULL; - - for (; p!=end; ++p) { - switch (*p) { - case '/': - return NULL; - case '@': - return (char*)p; - } - } - - return NULL; -} - - -PJ_DEF(pj_status_t) pj_http_req_parse_url(const pj_str_t *url, - pj_http_url *hurl) -{ - pj_scanner scanner; - int len = url->slen; - PJ_USE_EXCEPTION; - - if (!len) return -1; - - pj_bzero(hurl, sizeof(*hurl)); - pj_scan_init(&scanner, url->ptr, url->slen, 0, &on_syntax_error); - - PJ_TRY { - pj_str_t s; - - /* Exhaust any whitespaces. */ - pj_scan_skip_whitespace(&scanner); - - /* Parse the protocol */ - pj_scan_get_until_ch(&scanner, ':', &s); - if (!pj_stricmp2(&s, http_protocol_names[PROTOCOL_HTTP])) { - pj_strset2(&hurl->protocol, - (char*)http_protocol_names[PROTOCOL_HTTP]); - } else if (!pj_stricmp2(&s, http_protocol_names[PROTOCOL_HTTPS])) { - pj_strset2(&hurl->protocol, - (char*)http_protocol_names[PROTOCOL_HTTPS]); - } else { - PJ_THROW(PJ_ENOTSUP); // unsupported protocol - } - - if (pj_scan_strcmp(&scanner, "://", 3)) { - PJ_THROW(PJLIB_UTIL_EHTTPINURL); // no "://" after protocol name - } - pj_scan_advance_n(&scanner, 3, PJ_FALSE); - - if (get_url_at_pos(url->ptr, url->slen)) { - /* Parse username and password */ - pj_scan_get_until_chr(&scanner, ":@", &hurl->username); - if (*scanner.curptr == ':') { - pj_scan_get_char(&scanner); - pj_scan_get_until_chr(&scanner, "@", &hurl->passwd); - } else { - hurl->passwd.slen = 0; - } - pj_scan_get_char(&scanner); - } - - /* Parse the host and port number (if any) */ - pj_scan_get_until_chr(&scanner, ":/", &s); - pj_strassign(&hurl->host, &s); - if (hurl->host.slen==0) - PJ_THROW(PJ_EINVAL); - if (pj_scan_is_eof(&scanner) || *scanner.curptr == '/') { - /* No port number specified */ - /* Assume default http/https port number */ - hurl->port = get_http_default_port(&hurl->protocol); - pj_assert(hurl->port > 0); - } else { - pj_scan_advance_n(&scanner, 1, PJ_FALSE); - pj_scan_get_until_ch(&scanner, '/', &s); - /* Parse the port number */ - hurl->port = (pj_uint16_t)pj_strtoul(&s); - if (!hurl->port) - PJ_THROW(PJLIB_UTIL_EHTTPINPORT); // invalid port number - } - - if (!pj_scan_is_eof(&scanner)) { - hurl->path.ptr = scanner.curptr; - hurl->path.slen = scanner.end - scanner.curptr; - } else { - /* no path, append '/' */ - pj_cstr(&hurl->path, "/"); - } - } - PJ_CATCH_ANY { - pj_scan_fini(&scanner); - return PJ_GET_EXCEPTION(); - } - PJ_END; - - pj_scan_fini(&scanner); - return PJ_SUCCESS; -} - -PJ_DEF(void) pj_http_req_set_timeout(pj_http_req *http_req, - const pj_time_val* timeout) -{ - pj_memcpy(&http_req->param.timeout, timeout, sizeof(*timeout)); -} - -PJ_DEF(pj_status_t) pj_http_req_create(pj_pool_t *pool, - const pj_str_t *url, - pj_timer_heap_t *timer, - pj_ioqueue_t *ioqueue, - const pj_http_req_param *param, - const pj_http_req_callback *hcb, - pj_http_req **http_req) -{ - pj_pool_t *own_pool; - pj_http_req *hreq; - char *at_pos; - pj_status_t status; - - PJ_ASSERT_RETURN(pool && url && timer && ioqueue && - hcb && http_req, PJ_EINVAL); - - *http_req = NULL; - own_pool = pj_pool_create(pool->factory, NULL, INITIAL_POOL_SIZE, - POOL_INCREMENT_SIZE, NULL); - hreq = PJ_POOL_ZALLOC_T(own_pool, struct pj_http_req); - if (!hreq) - return PJ_ENOMEM; - - /* Initialization */ - hreq->pool = own_pool; - hreq->ioqueue = ioqueue; - hreq->timer = timer; - hreq->asock = NULL; - pj_memcpy(&hreq->cb, hcb, sizeof(*hcb)); - hreq->state = IDLE; - hreq->resolved = PJ_FALSE; - hreq->buffer.ptr = NULL; - pj_timer_entry_init(&hreq->timer_entry, 0, hreq, &on_timeout); - - /* Initialize parameter */ - if (param) { - pj_memcpy(&hreq->param, param, sizeof(*param)); - /* TODO: validate the param here - * Should we validate the method as well? If yes, based on all HTTP - * methods or based on supported methods only? For the later, one - * drawback would be that you can't use this if the method is not - * officially supported - */ - PJ_ASSERT_RETURN(hreq->param.addr_family==PJ_AF_UNSPEC || - hreq->param.addr_family==PJ_AF_INET || - hreq->param.addr_family==PJ_AF_INET6, PJ_EAFNOTSUP); - PJ_ASSERT_RETURN(!pj_strcmp2(&hreq->param.version, HTTP_1_0) || - !pj_strcmp2(&hreq->param.version, HTTP_1_1), - PJ_ENOTSUP); - pj_time_val_normalize(&hreq->param.timeout); - } else { - pj_http_req_param_default(&hreq->param); - } - - /* Parse the URL */ - if (!pj_strdup_with_null(hreq->pool, &hreq->url, url)) { - pj_pool_release(hreq->pool); - return PJ_ENOMEM; - } - status = pj_http_req_parse_url(&hreq->url, &hreq->hurl); - if (status != PJ_SUCCESS) { - pj_pool_release(hreq->pool); - return status; // Invalid URL supplied - } - - /* If URL contains username/password, move them to credential and - * remove them from the URL. - */ - if ((at_pos=get_url_at_pos(hreq->url.ptr, hreq->url.slen)) != NULL) { - pj_str_t tmp; - char *user_pos = pj_strchr(&hreq->url, '/'); - int removed_len; - - /* Save credential first, unescape the string */ - tmp = pj_str_unescape(hreq->pool, &hreq->hurl.username);; - pj_strdup(hreq->pool, &hreq->param.auth_cred.username, &tmp); - - tmp = pj_str_unescape(hreq->pool, &hreq->hurl.passwd); - pj_strdup(hreq->pool, &hreq->param.auth_cred.data, &tmp); - - hreq->hurl.username.ptr = hreq->hurl.passwd.ptr = NULL; - hreq->hurl.username.slen = hreq->hurl.passwd.slen = 0; - - /* Remove "username:password@" from the URL */ - pj_assert(user_pos != 0 && user_pos < at_pos); - user_pos += 2; - removed_len = at_pos + 1 - user_pos; - pj_memmove(user_pos, at_pos+1, hreq->url.ptr+hreq->url.slen-at_pos-1); - hreq->url.slen -= removed_len; - - /* Need to adjust hostname and path pointers due to memmove*/ - if (hreq->hurl.host.ptr > user_pos && - hreq->hurl.host.ptr < user_pos + hreq->url.slen) - { - hreq->hurl.host.ptr -= removed_len; - } - /* path may come from a string constant, don't shift it if so */ - if (hreq->hurl.path.ptr > user_pos && - hreq->hurl.path.ptr < user_pos + hreq->url.slen) - { - hreq->hurl.path.ptr -= removed_len; - } - } - - *http_req = hreq; - return PJ_SUCCESS; -} - -PJ_DEF(pj_bool_t) pj_http_req_is_running(const pj_http_req *http_req) -{ - PJ_ASSERT_RETURN(http_req, PJ_FALSE); - return (http_req->state != IDLE); -} - -PJ_DEF(void*) pj_http_req_get_user_data(pj_http_req *http_req) -{ - PJ_ASSERT_RETURN(http_req, NULL); - return http_req->param.user_data; -} - -static pj_status_t start_http_req(pj_http_req *http_req, - pj_bool_t notify_on_fail) -{ - pj_sock_t sock = PJ_INVALID_SOCKET; - pj_status_t status; - pj_activesock_cb asock_cb; - int retry = 0; - - PJ_ASSERT_RETURN(http_req, PJ_EINVAL); - /* Http request is not idle, a request was initiated before and - * is still in progress - */ - PJ_ASSERT_RETURN(http_req->state == IDLE, PJ_EBUSY); - - /* Reset few things to make sure restarting works */ - http_req->error = 0; - http_req->response.headers.count = 0; - pj_bzero(&http_req->tcp_state, sizeof(http_req->tcp_state)); - - if (!http_req->resolved) { - /* Resolve the Internet address of the host */ - status = pj_sockaddr_init(http_req->param.addr_family, - &http_req->addr, &http_req->hurl.host, - http_req->hurl.port); - if (status != PJ_SUCCESS || - !pj_sockaddr_has_addr(&http_req->addr) || - (http_req->param.addr_family==pj_AF_INET() && - http_req->addr.ipv4.sin_addr.s_addr==PJ_INADDR_NONE)) - { - goto on_return; - } - http_req->resolved = PJ_TRUE; - } - - status = pj_sock_socket(http_req->param.addr_family, pj_SOCK_STREAM(), - 0, &sock); - if (status != PJ_SUCCESS) - goto on_return; // error creating socket - - pj_bzero(&asock_cb, sizeof(asock_cb)); - asock_cb.on_data_read = &http_on_data_read; - asock_cb.on_data_sent = &http_on_data_sent; - asock_cb.on_connect_complete = &http_on_connect; - - do - { - pj_sockaddr_in bound_addr; - pj_uint16_t port = 0; - - /* If we are using port restriction. - * Get a random port within the range - */ - if (http_req->param.source_port_range_start != 0) { - port = (pj_uint16_t) - (http_req->param.source_port_range_start + - (pj_rand() % http_req->param.source_port_range_size)); - } - - pj_sockaddr_in_init(&bound_addr, NULL, port); - status = pj_sock_bind(sock, &bound_addr, sizeof(bound_addr)); - - } while (status != PJ_SUCCESS && (retry++ < http_req->param.max_retries)); - - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, - "Unable to bind to the requested port")); - pj_sock_close(sock); - goto on_return; - } - - // TODO: should we set whole data to 0 by default? - // or add it in the param? - status = pj_activesock_create(http_req->pool, sock, pj_SOCK_STREAM(), - NULL, http_req->ioqueue, - &asock_cb, http_req, &http_req->asock); - if (status != PJ_SUCCESS) { - pj_sock_close(sock); - goto on_return; // error creating activesock - } - - /* Schedule timeout timer for the request */ - pj_assert(http_req->timer_entry.id == 0); - http_req->timer_entry.id = 1; - status = pj_timer_heap_schedule(http_req->timer, &http_req->timer_entry, - &http_req->param.timeout); - if (status != PJ_SUCCESS) { - http_req->timer_entry.id = 0; - goto on_return; // error scheduling timer - } - - /* Connect to host */ - http_req->state = CONNECTING; - status = pj_activesock_start_connect(http_req->asock, http_req->pool, - (pj_sock_t *)&(http_req->addr), - pj_sockaddr_get_len(&http_req->addr)); - if (status == PJ_SUCCESS) { - http_req->state = SENDING_REQUEST; - status = http_req_start_sending(http_req); - if (status != PJ_SUCCESS) - goto on_return; - } else if (status != PJ_EPENDING) { - goto on_return; // error connecting - } - - return PJ_SUCCESS; - -on_return: - http_req->error = status; - if (notify_on_fail) - pj_http_req_cancel(http_req, PJ_TRUE); - else - http_req_end_request(http_req); - - return status; -} - -/* Starts an asynchronous HTTP request to the URL specified. */ -PJ_DEF(pj_status_t) pj_http_req_start(pj_http_req *http_req) -{ - return start_http_req(http_req, PJ_FALSE); -} - -/* Respond to basic authentication challenge */ -static pj_status_t auth_respond_basic(pj_http_req *hreq) -{ - /* Basic authentication: - * credentials = "Basic" basic-credentials - * basic-credentials = base64-user-pass - * base64-user-pass = - * user-pass = userid ":" password - * - * Sample: - * Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ== - */ - pj_str_t user_pass; - pj_http_header_elmt *phdr; - int len; - - /* Use send buffer to store userid ":" password */ - user_pass.ptr = hreq->buffer.ptr; - pj_strcpy(&user_pass, &hreq->param.auth_cred.username); - pj_strcat2(&user_pass, ":"); - pj_strcat(&user_pass, &hreq->param.auth_cred.data); - - /* Create Authorization header */ - phdr = &hreq->param.headers.header[hreq->param.headers.count++]; - pj_bzero(phdr, sizeof(*phdr)); - if (hreq->response.status_code == 401) - phdr->name = pj_str("Authorization"); - else - phdr->name = pj_str("Proxy-Authorization"); - - len = PJ_BASE256_TO_BASE64_LEN(user_pass.slen) + 10; - phdr->value.ptr = (char*)pj_pool_alloc(hreq->pool, len); - phdr->value.slen = 0; - - pj_strcpy2(&phdr->value, "Basic "); - len -= phdr->value.slen; - pj_base64_encode((pj_uint8_t*)user_pass.ptr, (int)user_pass.slen, - phdr->value.ptr + phdr->value.slen, &len); - phdr->value.slen += len; - - return PJ_SUCCESS; -} - -/** Length of digest string. */ -#define MD5_STRLEN 32 -/* A macro just to get rid of type mismatch between char and unsigned char */ -#define MD5_APPEND(pms,buf,len) pj_md5_update(pms, (const pj_uint8_t*)buf, len) - -/* Transform digest to string. - * output must be at least PJSIP_MD5STRLEN+1 bytes. - * - * NOTE: THE OUTPUT STRING IS NOT NULL TERMINATED! - */ -static void digest2str(const unsigned char digest[], char *output) -{ - int i; - for (i = 0; i<16; ++i) { - pj_val_to_hex_digit(digest[i], output); - output += 2; - } -} - -static void auth_create_digest_response(pj_str_t *result, - const pj_http_auth_cred *cred, - const pj_str_t *nonce, - const pj_str_t *nc, - const pj_str_t *cnonce, - const pj_str_t *qop, - const pj_str_t *uri, - const pj_str_t *realm, - const pj_str_t *method) -{ - char ha1[MD5_STRLEN]; - char ha2[MD5_STRLEN]; - unsigned char digest[16]; - pj_md5_context pms; - - pj_assert(result->slen >= MD5_STRLEN); - - TRACE_((THIS_FILE, "Begin creating digest")); - - if (cred->data_type == 0) { - /*** - *** ha1 = MD5(username ":" realm ":" password) - ***/ - pj_md5_init(&pms); - MD5_APPEND( &pms, cred->username.ptr, cred->username.slen); - MD5_APPEND( &pms, ":", 1); - MD5_APPEND( &pms, realm->ptr, realm->slen); - MD5_APPEND( &pms, ":", 1); - MD5_APPEND( &pms, cred->data.ptr, cred->data.slen); - pj_md5_final(&pms, digest); - - digest2str(digest, ha1); - - } else if (cred->data_type == 1) { - pj_assert(cred->data.slen == 32); - pj_memcpy( ha1, cred->data.ptr, cred->data.slen ); - } else { - pj_assert(!"Invalid data_type"); - } - - TRACE_((THIS_FILE, " ha1=%.32s", ha1)); - - /*** - *** ha2 = MD5(method ":" req_uri) - ***/ - pj_md5_init(&pms); - MD5_APPEND( &pms, method->ptr, method->slen); - MD5_APPEND( &pms, ":", 1); - MD5_APPEND( &pms, uri->ptr, uri->slen); - pj_md5_final(&pms, digest); - digest2str(digest, ha2); - - TRACE_((THIS_FILE, " ha2=%.32s", ha2)); - - /*** - *** When qop is not used: - *** response = MD5(ha1 ":" nonce ":" ha2) - *** - *** When qop=auth is used: - *** response = MD5(ha1 ":" nonce ":" nc ":" cnonce ":" qop ":" ha2) - ***/ - pj_md5_init(&pms); - MD5_APPEND( &pms, ha1, MD5_STRLEN); - MD5_APPEND( &pms, ":", 1); - MD5_APPEND( &pms, nonce->ptr, nonce->slen); - if (qop && qop->slen != 0) { - MD5_APPEND( &pms, ":", 1); - MD5_APPEND( &pms, nc->ptr, nc->slen); - MD5_APPEND( &pms, ":", 1); - MD5_APPEND( &pms, cnonce->ptr, cnonce->slen); - MD5_APPEND( &pms, ":", 1); - MD5_APPEND( &pms, qop->ptr, qop->slen); - } - MD5_APPEND( &pms, ":", 1); - MD5_APPEND( &pms, ha2, MD5_STRLEN); - - /* This is the final response digest. */ - pj_md5_final(&pms, digest); - - /* Convert digest to string and store in chal->response. */ - result->slen = MD5_STRLEN; - digest2str(digest, result->ptr); - - TRACE_((THIS_FILE, " digest=%.32s", result->ptr)); - TRACE_((THIS_FILE, "Digest created")); -} - -/* Find out if qop offer contains "auth" token */ -static pj_bool_t auth_has_qop( pj_pool_t *pool, const pj_str_t *qop_offer) -{ - pj_str_t qop; - char *p; - - pj_strdup_with_null( pool, &qop, qop_offer); - p = qop.ptr; - while (*p) { - *p = (char)pj_tolower(*p); - ++p; - } - - p = qop.ptr; - while (*p) { - if (*p=='a' && *(p+1)=='u' && *(p+2)=='t' && *(p+3)=='h') { - int e = *(p+4); - if (e=='"' || e==',' || e==0) - return PJ_TRUE; - else - p += 4; - } else { - ++p; - } - } - - return PJ_FALSE; -} - -#define STR_PREC(s) (int)(s).slen, (s).ptr - -/* Respond to digest authentication */ -static pj_status_t auth_respond_digest(pj_http_req *hreq) -{ - const pj_http_auth_chal *chal = &hreq->response.auth_chal; - const pj_http_auth_cred *cred = &hreq->param.auth_cred; - pj_http_header_elmt *phdr; - char digest_response_buf[MD5_STRLEN]; - int len; - pj_str_t digest_response; - - /* Check algorithm is supported. We only support MD5 */ - if (chal->algorithm.slen!=0 && - pj_stricmp2(&chal->algorithm, "MD5")) - { - TRACE_((THIS_FILE, "Error: Unsupported digest algorithm \"%.*s\"", - chal->algorithm.slen, chal->algorithm.ptr)); - return PJ_ENOTSUP; - } - - /* Add Authorization header */ - phdr = &hreq->param.headers.header[hreq->param.headers.count++]; - pj_bzero(phdr, sizeof(*phdr)); - if (hreq->response.status_code == 401) - phdr->name = pj_str("Authorization"); - else - phdr->name = pj_str("Proxy-Authorization"); - - /* Allocate space for the header */ - len = 8 + /* Digest */ - 16 + hreq->param.auth_cred.username.slen + /* username= */ - 12 + chal->realm.slen + /* realm= */ - 12 + chal->nonce.slen + /* nonce= */ - 8 + hreq->hurl.path.slen + /* uri= */ - 16 + /* algorithm=MD5 */ - 16 + MD5_STRLEN + /* response= */ - 12 + /* qop=auth */ - 8 + /* nc=.. */ - 30 + /* cnonce= */ - 12 + chal->opaque.slen + /* opaque=".." */ - 0; - phdr->value.ptr = (char*)pj_pool_alloc(hreq->pool, len); - - /* Configure buffer to temporarily store the digest */ - digest_response.ptr = digest_response_buf; - digest_response.slen = MD5_STRLEN; - - if (chal->qop.slen == 0) { - const pj_str_t STR_MD5 = { "MD5", 3 }; - - /* Server doesn't require quality of protection. */ - auth_create_digest_response(&digest_response, cred, - &chal->nonce, NULL, NULL, NULL, - &hreq->hurl.path, &chal->realm, - &hreq->param.method); - - len = pj_ansi_snprintf( - phdr->value.ptr, len, - "Digest username=\"%.*s\", " - "realm=\"%.*s\", " - "nonce=\"%.*s\", " - "uri=\"%.*s\", " - "algorithm=%.*s, " - "response=\"%.*s\"", - STR_PREC(cred->username), - STR_PREC(chal->realm), - STR_PREC(chal->nonce), - STR_PREC(hreq->hurl.path), - STR_PREC(STR_MD5), - STR_PREC(digest_response)); - if (len < 0) - return PJ_ETOOSMALL; - phdr->value.slen = len; - - } else if (auth_has_qop(hreq->pool, &chal->qop)) { - /* Server requires quality of protection. - * We respond with selecting "qop=auth" protection. - */ - const pj_str_t STR_MD5 = { "MD5", 3 }; - const pj_str_t qop = pj_str("auth"); - const pj_str_t nc = pj_str("00000001"); - const pj_str_t cnonce = pj_str("b39971"); - - auth_create_digest_response(&digest_response, cred, - &chal->nonce, &nc, &cnonce, &qop, - &hreq->hurl.path, &chal->realm, - &hreq->param.method); - len = pj_ansi_snprintf( - phdr->value.ptr, len, - "Digest username=\"%.*s\", " - "realm=\"%.*s\", " - "nonce=\"%.*s\", " - "uri=\"%.*s\", " - "algorithm=%.*s, " - "response=\"%.*s\", " - "qop=%.*s, " - "nc=%.*s, " - "cnonce=\"%.*s\"", - STR_PREC(cred->username), - STR_PREC(chal->realm), - STR_PREC(chal->nonce), - STR_PREC(hreq->hurl.path), - STR_PREC(STR_MD5), - STR_PREC(digest_response), - STR_PREC(qop), - STR_PREC(nc), - STR_PREC(cnonce)); - if (len < 0) - return PJ_ETOOSMALL; - phdr->value.slen = len; - - if (chal->opaque.slen) { - pj_strcat2(&phdr->value, ", opaque=\""); - pj_strcat(&phdr->value, &chal->opaque); - pj_strcat2(&phdr->value, "\""); - } - - } else { - /* Server requires quality protection that we don't support. */ - TRACE_((THIS_FILE, "Error: Unsupported qop offer %.*s", - chal->qop.slen, chal->qop.ptr)); - return PJ_ENOTSUP; - } - - return PJ_SUCCESS; -} - - -static void restart_req_with_auth(pj_http_req *hreq) -{ - pj_http_auth_chal *chal = &hreq->response.auth_chal; - pj_http_auth_cred *cred = &hreq->param.auth_cred; - pj_status_t status; - - if (hreq->param.headers.count >= PJ_HTTP_HEADER_SIZE) { - TRACE_((THIS_FILE, "Error: no place to put Authorization header")); - hreq->auth_state = AUTH_DONE; - return; - } - - /* If credential specifies specific scheme, make sure they match */ - if (cred->scheme.slen && pj_stricmp(&chal->scheme, &cred->scheme)) { - status = PJ_ENOTSUP; - TRACE_((THIS_FILE, "Error: auth schemes mismatch")); - goto on_error; - } - - /* If credential specifies specific realm, make sure they match */ - if (cred->realm.slen && pj_stricmp(&chal->realm, &cred->realm)) { - status = PJ_ENOTSUP; - TRACE_((THIS_FILE, "Error: auth realms mismatch")); - goto on_error; - } - - if (!pj_stricmp2(&chal->scheme, "basic")) { - status = auth_respond_basic(hreq); - } else if (!pj_stricmp2(&chal->scheme, "digest")) { - status = auth_respond_digest(hreq); - } else { - TRACE_((THIS_FILE, "Error: unsupported HTTP auth scheme")); - status = PJ_ENOTSUP; - } - - if (status != PJ_SUCCESS) - goto on_error; - - http_req_end_request(hreq); - - status = start_http_req(hreq, PJ_TRUE); - if (status != PJ_SUCCESS) - goto on_error; - - hreq->auth_state = AUTH_RETRYING; - return; - -on_error: - hreq->auth_state = AUTH_DONE; -} - - -/* snprintf() to a pj_str_t struct with an option to append the - * result at the back of the string. - */ -void str_snprintf(pj_str_t *s, size_t size, - pj_bool_t append, const char *format, ...) -{ - va_list arg; - int retval; - - va_start(arg, format); - if (!append) - s->slen = 0; - size -= s->slen; - retval = pj_ansi_vsnprintf(s->ptr + s->slen, - size, format, arg); - s->slen += ((retval < (int)size) ? retval : size - 1); - va_end(arg); -} - -static pj_status_t http_req_start_sending(pj_http_req *hreq) -{ - pj_status_t status; - pj_str_t pkt; - pj_ssize_t len; - pj_size_t i; - - PJ_ASSERT_RETURN(hreq->state == SENDING_REQUEST || - hreq->state == SENDING_REQUEST_BODY, PJ_EBUG); - - if (hreq->state == SENDING_REQUEST) { - /* Prepare the request data */ - if (!hreq->buffer.ptr) - hreq->buffer.ptr = (char*)pj_pool_alloc(hreq->pool, BUF_SIZE); - pj_strassign(&pkt, &hreq->buffer); - pkt.slen = 0; - /* Start-line */ - str_snprintf(&pkt, BUF_SIZE, PJ_TRUE, "%.*s %.*s %s/%.*s\r\n", - STR_PREC(hreq->param.method), - STR_PREC(hreq->hurl.path), - get_protocol(&hreq->hurl.protocol), - STR_PREC(hreq->param.version)); - /* Header field "Host" */ - str_snprintf(&pkt, BUF_SIZE, PJ_TRUE, "Host: %.*s:%d\r\n", - STR_PREC(hreq->hurl.host), hreq->hurl.port); - if (!pj_strcmp2(&hreq->param.method, http_method_names[HTTP_PUT])) { - char buf[16]; - - /* Header field "Content-Length" */ - pj_utoa(hreq->param.reqdata.total_size ? - hreq->param.reqdata.total_size: - hreq->param.reqdata.size, buf); - str_snprintf(&pkt, BUF_SIZE, PJ_TRUE, "%s: %s\r\n", - CONTENT_LENGTH, buf); - } - - /* Append user-specified headers */ - for (i = 0; i < hreq->param.headers.count; i++) { - str_snprintf(&pkt, BUF_SIZE, PJ_TRUE, "%.*s: %.*s\r\n", - STR_PREC(hreq->param.headers.header[i].name), - STR_PREC(hreq->param.headers.header[i].value)); - } - if (pkt.slen >= BUF_SIZE - 1) { - status = PJLIB_UTIL_EHTTPINSBUF; - goto on_return; - } - - pj_strcat2(&pkt, "\r\n"); - pkt.ptr[pkt.slen] = 0; - TRACE_((THIS_FILE, "%s", pkt.ptr)); - } else { - pkt.ptr = (char*)hreq->param.reqdata.data; - pkt.slen = hreq->param.reqdata.size; - } - - /* Send the request */ - len = pj_strlen(&pkt); - pj_ioqueue_op_key_init(&hreq->op_key, sizeof(hreq->op_key)); - hreq->tcp_state.send_size = len; - hreq->tcp_state.current_send_size = 0; - status = pj_activesock_send(hreq->asock, &hreq->op_key, - pkt.ptr, &len, 0); - - if (status == PJ_SUCCESS) { - http_on_data_sent(hreq->asock, &hreq->op_key, len); - } else if (status != PJ_EPENDING) { - goto on_return; // error sending data - } - - return PJ_SUCCESS; - -on_return: - http_req_end_request(hreq); - return status; -} - -static pj_status_t http_req_start_reading(pj_http_req *hreq) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(hreq->state == REQUEST_SENT, PJ_EBUG); - - /* Receive the response */ - hreq->state = READING_RESPONSE; - hreq->tcp_state.current_read_size = 0; - pj_assert(hreq->buffer.ptr); - status = pj_activesock_start_read2(hreq->asock, hreq->pool, BUF_SIZE, - (void**)&hreq->buffer.ptr, 0); - if (status != PJ_SUCCESS) { - /* Error reading */ - http_req_end_request(hreq); - return status; - } - - return PJ_SUCCESS; -} - -static pj_status_t http_req_end_request(pj_http_req *hreq) -{ - if (hreq->asock) { - pj_activesock_close(hreq->asock); - hreq->asock = NULL; - } - - /* Cancel query timeout timer. */ - if (hreq->timer_entry.id != 0) { - pj_timer_heap_cancel(hreq->timer, &hreq->timer_entry); - /* Invalidate id. */ - hreq->timer_entry.id = 0; - } - - hreq->state = IDLE; - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_http_req_cancel(pj_http_req *http_req, - pj_bool_t notify) -{ - http_req->state = ABORTING; - - http_req_end_request(http_req); - - if (notify && http_req->cb.on_complete) { - (*http_req->cb.on_complete)(http_req, (!http_req->error? - PJ_ECANCELLED: http_req->error), NULL); - } - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pj_http_req_destroy(pj_http_req *http_req) -{ - PJ_ASSERT_RETURN(http_req, PJ_EINVAL); - - /* If there is any pending request, cancel it */ - if (http_req->state != IDLE) { - pj_http_req_cancel(http_req, PJ_FALSE); - } - - pj_pool_release(http_req->pool); - - return PJ_SUCCESS; -} diff --git a/res/pjproject/pjlib-util/src/pjlib-util/md5.c b/res/pjproject/pjlib-util/src/pjlib-util/md5.c deleted file mode 100644 index 142a4e5826..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/md5.c +++ /dev/null @@ -1,266 +0,0 @@ -/* $Id$ */ -/* - * This is the implementation of MD5 algorithm, based on the code - * written by Colin Plumb. This file is put in public domain. - */ -#include -#include /* pj_memcpy */ -/* - * This code implements the MD5 message-digest algorithm. - * The algorithm is due to Ron Rivest. This code was - * written by Colin Plumb in 1993, no copyright is claimed. - * This code is in the public domain; do with it what you wish. - * - * Equivalent code is available from RSA Data Security, Inc. - * This code has been tested against that, and is equivalent, - * except that you don't need to include two pages of legalese - * with every copy. - * - * To compute the message digest of a chunk of bytes, declare an - * MD5Context structure, pass it to MD5Init, call MD5Update as - * needed on buffers full of bytes, and then call MD5Final, which - * will fill a supplied 16-byte array with the digest. - */ - -#if defined(PJ_IS_BIG_ENDIAN) && PJ_IS_BIG_ENDIAN != 0 -#define HIGHFIRST 1 -#endif - -#ifndef HIGHFIRST -#define byteReverse(buf, len) /* Nothing */ -#else -void byteReverse(unsigned char *buf, unsigned longs); - -#ifndef ASM_MD5 -/* - * Note: this code is harmless on little-endian machines. - */ -void byteReverse(unsigned char *buf, unsigned longs) -{ - pj_uint32_t t; - do { - t = (pj_uint32_t) ((unsigned) buf[3] << 8 | buf[2]) << 16 | - ((unsigned) buf[1] << 8 | buf[0]); - *(pj_uint32_t *) buf = t; - buf += 4; - } while (--longs); -} -#endif -#endif - -static void MD5Transform(pj_uint32_t buf[4], pj_uint32_t const in[16]); - - -/* - * Start MD5 accumulation. Set bit count to 0 and buffer to mysterious - * initialization constants. - */ -PJ_DEF(void) pj_md5_init(pj_md5_context *ctx) -{ - ctx->buf[0] = 0x67452301; - ctx->buf[1] = 0xefcdab89; - ctx->buf[2] = 0x98badcfe; - ctx->buf[3] = 0x10325476; - - ctx->bits[0] = 0; - ctx->bits[1] = 0; -} - -/* - * Update context to reflect the concatenation of another buffer full - * of bytes. - */ -PJ_DEF(void) pj_md5_update( pj_md5_context *ctx, - unsigned char const *buf, unsigned len) -{ - pj_uint32_t t; - - /* Update bitcount */ - - t = ctx->bits[0]; - if ((ctx->bits[0] = t + ((pj_uint32_t) len << 3)) < t) - ctx->bits[1]++; /* Carry from low to high */ - ctx->bits[1] += len >> 29; - - t = (t >> 3) & 0x3f; /* Bytes already in shsInfo->data */ - - /* Handle any leading odd-sized chunks */ - - if (t) { - unsigned char *p = (unsigned char *) ctx->in + t; - - t = 64 - t; - if (len < t) { - pj_memcpy(p, buf, len); - return; - } - pj_memcpy(p, buf, t); - byteReverse(ctx->in, 16); - MD5Transform(ctx->buf, (pj_uint32_t *) ctx->in); - buf += t; - len -= t; - } - /* Process data in 64-byte chunks */ - - while (len >= 64) { - pj_memcpy(ctx->in, buf, 64); - byteReverse(ctx->in, 16); - MD5Transform(ctx->buf, (pj_uint32_t *) ctx->in); - buf += 64; - len -= 64; - } - - /* Handle any remaining bytes of data. */ - - pj_memcpy(ctx->in, buf, len); -} - -/* - * Final wrapup - pad to 64-byte boundary with the bit pattern - * 1 0* (64-bit count of bits processed, MSB-first) - */ -PJ_DEF(void) pj_md5_final(pj_md5_context *ctx, unsigned char digest[16]) -{ - unsigned count; - unsigned char *p; - - /* Compute number of bytes mod 64 */ - count = (ctx->bits[0] >> 3) & 0x3F; - - /* Set the first char of padding to 0x80. This is safe since there is - always at least one byte free */ - p = ctx->in + count; - *p++ = 0x80; - - /* Bytes of padding needed to make 64 bytes */ - count = 64 - 1 - count; - - /* Pad out to 56 mod 64 */ - if (count < 8) { - /* Two lots of padding: Pad the first block to 64 bytes */ - pj_bzero(p, count); - byteReverse(ctx->in, 16); - MD5Transform(ctx->buf, (pj_uint32_t *) ctx->in); - - /* Now fill the next block with 56 bytes */ - pj_bzero(ctx->in, 56); - } else { - /* Pad block to 56 bytes */ - pj_bzero(p, count - 8); - } - byteReverse(ctx->in, 14); - - /* Append length in bits and transform */ - ((pj_uint32_t *) ctx->in)[14] = ctx->bits[0]; - ((pj_uint32_t *) ctx->in)[15] = ctx->bits[1]; - - MD5Transform(ctx->buf, (pj_uint32_t *) ctx->in); - byteReverse((unsigned char *) ctx->buf, 4); - pj_memcpy(digest, ctx->buf, 16); - pj_bzero(ctx, sizeof(ctx)); /* In case it's sensitive */ -} - -#ifndef ASM_MD5 - -/* The four core functions - F1 is optimized somewhat */ - -/* #define F1(x, y, z) (x & y | ~x & z) */ -#define F1(x, y, z) (z ^ (x & (y ^ z))) -#define F2(x, y, z) F1(z, x, y) -#define F3(x, y, z) (x ^ y ^ z) -#define F4(x, y, z) (y ^ (x | ~z)) - -/* This is the central step in the MD5 algorithm. */ -#define MD5STEP(f, w, x, y, z, data, s) \ - ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) - -/* - * The core of the MD5 algorithm, this alters an existing MD5 hash to - * reflect the addition of 16 longwords of new data. MD5Update blocks - * the data and converts bytes into longwords for this routine. - */ -static void MD5Transform(pj_uint32_t buf[4], pj_uint32_t const in[16]) -{ - register pj_uint32_t a, b, c, d; - - a = buf[0]; - b = buf[1]; - c = buf[2]; - d = buf[3]; - - MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); - MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); - MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); - MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); - MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); - MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); - MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); - MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); - MD5STEP(F1, a, b, c, d, in[8] + 0x698098d8, 7); - MD5STEP(F1, d, a, b, c, in[9] + 0x8b44f7af, 12); - MD5STEP(F1, c, d, a, b, in[10] + 0xffff5bb1, 17); - MD5STEP(F1, b, c, d, a, in[11] + 0x895cd7be, 22); - MD5STEP(F1, a, b, c, d, in[12] + 0x6b901122, 7); - MD5STEP(F1, d, a, b, c, in[13] + 0xfd987193, 12); - MD5STEP(F1, c, d, a, b, in[14] + 0xa679438e, 17); - MD5STEP(F1, b, c, d, a, in[15] + 0x49b40821, 22); - - MD5STEP(F2, a, b, c, d, in[1] + 0xf61e2562, 5); - MD5STEP(F2, d, a, b, c, in[6] + 0xc040b340, 9); - MD5STEP(F2, c, d, a, b, in[11] + 0x265e5a51, 14); - MD5STEP(F2, b, c, d, a, in[0] + 0xe9b6c7aa, 20); - MD5STEP(F2, a, b, c, d, in[5] + 0xd62f105d, 5); - MD5STEP(F2, d, a, b, c, in[10] + 0x02441453, 9); - MD5STEP(F2, c, d, a, b, in[15] + 0xd8a1e681, 14); - MD5STEP(F2, b, c, d, a, in[4] + 0xe7d3fbc8, 20); - MD5STEP(F2, a, b, c, d, in[9] + 0x21e1cde6, 5); - MD5STEP(F2, d, a, b, c, in[14] + 0xc33707d6, 9); - MD5STEP(F2, c, d, a, b, in[3] + 0xf4d50d87, 14); - MD5STEP(F2, b, c, d, a, in[8] + 0x455a14ed, 20); - MD5STEP(F2, a, b, c, d, in[13] + 0xa9e3e905, 5); - MD5STEP(F2, d, a, b, c, in[2] + 0xfcefa3f8, 9); - MD5STEP(F2, c, d, a, b, in[7] + 0x676f02d9, 14); - MD5STEP(F2, b, c, d, a, in[12] + 0x8d2a4c8a, 20); - - MD5STEP(F3, a, b, c, d, in[5] + 0xfffa3942, 4); - MD5STEP(F3, d, a, b, c, in[8] + 0x8771f681, 11); - MD5STEP(F3, c, d, a, b, in[11] + 0x6d9d6122, 16); - MD5STEP(F3, b, c, d, a, in[14] + 0xfde5380c, 23); - MD5STEP(F3, a, b, c, d, in[1] + 0xa4beea44, 4); - MD5STEP(F3, d, a, b, c, in[4] + 0x4bdecfa9, 11); - MD5STEP(F3, c, d, a, b, in[7] + 0xf6bb4b60, 16); - MD5STEP(F3, b, c, d, a, in[10] + 0xbebfbc70, 23); - MD5STEP(F3, a, b, c, d, in[13] + 0x289b7ec6, 4); - MD5STEP(F3, d, a, b, c, in[0] + 0xeaa127fa, 11); - MD5STEP(F3, c, d, a, b, in[3] + 0xd4ef3085, 16); - MD5STEP(F3, b, c, d, a, in[6] + 0x04881d05, 23); - MD5STEP(F3, a, b, c, d, in[9] + 0xd9d4d039, 4); - MD5STEP(F3, d, a, b, c, in[12] + 0xe6db99e5, 11); - MD5STEP(F3, c, d, a, b, in[15] + 0x1fa27cf8, 16); - MD5STEP(F3, b, c, d, a, in[2] + 0xc4ac5665, 23); - - MD5STEP(F4, a, b, c, d, in[0] + 0xf4292244, 6); - MD5STEP(F4, d, a, b, c, in[7] + 0x432aff97, 10); - MD5STEP(F4, c, d, a, b, in[14] + 0xab9423a7, 15); - MD5STEP(F4, b, c, d, a, in[5] + 0xfc93a039, 21); - MD5STEP(F4, a, b, c, d, in[12] + 0x655b59c3, 6); - MD5STEP(F4, d, a, b, c, in[3] + 0x8f0ccc92, 10); - MD5STEP(F4, c, d, a, b, in[10] + 0xffeff47d, 15); - MD5STEP(F4, b, c, d, a, in[1] + 0x85845dd1, 21); - MD5STEP(F4, a, b, c, d, in[8] + 0x6fa87e4f, 6); - MD5STEP(F4, d, a, b, c, in[15] + 0xfe2ce6e0, 10); - MD5STEP(F4, c, d, a, b, in[6] + 0xa3014314, 15); - MD5STEP(F4, b, c, d, a, in[13] + 0x4e0811a1, 21); - MD5STEP(F4, a, b, c, d, in[4] + 0xf7537e82, 6); - MD5STEP(F4, d, a, b, c, in[11] + 0xbd3af235, 10); - MD5STEP(F4, c, d, a, b, in[2] + 0x2ad7d2bb, 15); - MD5STEP(F4, b, c, d, a, in[9] + 0xeb86d391, 21); - - buf[0] += a; - buf[1] += b; - buf[2] += c; - buf[3] += d; -} - -#endif - diff --git a/res/pjproject/pjlib-util/src/pjlib-util/pcap.c b/res/pjproject/pjlib-util/src/pjlib-util/pcap.c deleted file mode 100644 index bf45b7144b..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/pcap.c +++ /dev/null @@ -1,392 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include - -#if 0 -# define TRACE_(x) PJ_LOG(5,x) -#else -# define TRACE_(x) -#endif - - -#pragma pack(1) - -typedef struct pj_pcap_hdr -{ - pj_uint32_t magic_number; /* magic number */ - pj_uint16_t version_major; /* major version number */ - pj_uint16_t version_minor; /* minor version number */ - pj_int32_t thiszone; /* GMT to local correction */ - pj_uint32_t sigfigs; /* accuracy of timestamps */ - pj_uint32_t snaplen; /* max length of captured packets, in octets */ - pj_uint32_t network; /* data link type */ -} pj_pcap_hdr; - -typedef struct pj_pcap_rec_hdr -{ - pj_uint32_t ts_sec; /* timestamp seconds */ - pj_uint32_t ts_usec; /* timestamp microseconds */ - pj_uint32_t incl_len; /* number of octets of packet saved in file */ - pj_uint32_t orig_len; /* actual length of packet */ -} pj_pcap_rec_hdr; - -#if 0 -/* gcc insisted on aligning this struct to 32bit on ARM */ -typedef struct pj_pcap_eth_hdr -{ - pj_uint8_t dest[6]; - pj_uint8_t src[6]; - pj_uint8_t len[2]; -} pj_pcap_eth_hdr; -#else -typedef pj_uint8_t pj_pcap_eth_hdr[14]; -#endif - -typedef struct pj_pcap_ip_hdr -{ - pj_uint8_t v_ihl; - pj_uint8_t tos; - pj_uint16_t len; - pj_uint16_t id; - pj_uint16_t flags_fragment; - pj_uint8_t ttl; - pj_uint8_t proto; - pj_uint16_t csum; - pj_uint32_t ip_src; - pj_uint32_t ip_dst; -} pj_pcap_ip_hdr; - -/* Implementation of pcap file */ -struct pj_pcap_file -{ - char obj_name[PJ_MAX_OBJ_NAME]; - pj_oshandle_t fd; - pj_bool_t swap; - pj_pcap_hdr hdr; - pj_pcap_filter filter; -}; - -/* Init default filter */ -PJ_DEF(void) pj_pcap_filter_default(pj_pcap_filter *filter) -{ - pj_bzero(filter, sizeof(*filter)); -} - -/* Open pcap file */ -PJ_DEF(pj_status_t) pj_pcap_open(pj_pool_t *pool, - const char *path, - pj_pcap_file **p_file) -{ - pj_pcap_file *file; - pj_ssize_t sz; - pj_status_t status; - - PJ_ASSERT_RETURN(pool && path && p_file, PJ_EINVAL); - - /* More sanity checks */ - TRACE_(("pcap", "sizeof(pj_pcap_eth_hdr)=%d", - sizeof(pj_pcap_eth_hdr))); - PJ_ASSERT_RETURN(sizeof(pj_pcap_eth_hdr)==14, PJ_EBUG); - TRACE_(("pcap", "sizeof(pj_pcap_ip_hdr)=%d", - sizeof(pj_pcap_ip_hdr))); - PJ_ASSERT_RETURN(sizeof(pj_pcap_ip_hdr)==20, PJ_EBUG); - TRACE_(("pcap", "sizeof(pj_pcap_udp_hdr)=%d", - sizeof(pj_pcap_udp_hdr))); - PJ_ASSERT_RETURN(sizeof(pj_pcap_udp_hdr)==8, PJ_EBUG); - - file = PJ_POOL_ZALLOC_T(pool, pj_pcap_file); - - pj_ansi_strcpy(file->obj_name, "pcap"); - - status = pj_file_open(pool, path, PJ_O_RDONLY, &file->fd); - if (status != PJ_SUCCESS) - return status; - - /* Read file pcap header */ - sz = sizeof(file->hdr); - status = pj_file_read(file->fd, &file->hdr, &sz); - if (status != PJ_SUCCESS) { - pj_file_close(file->fd); - return status; - } - - /* Check magic number */ - if (file->hdr.magic_number == 0xa1b2c3d4) { - file->swap = PJ_FALSE; - } else if (file->hdr.magic_number == 0xd4c3b2a1) { - file->swap = PJ_TRUE; - file->hdr.network = pj_ntohl(file->hdr.network); - } else { - /* Not PCAP file */ - pj_file_close(file->fd); - return PJ_EINVALIDOP; - } - - TRACE_((file->obj_name, "PCAP file %s opened", path)); - - *p_file = file; - return PJ_SUCCESS; -} - -/* Close pcap file */ -PJ_DEF(pj_status_t) pj_pcap_close(pj_pcap_file *file) -{ - PJ_ASSERT_RETURN(file, PJ_EINVAL); - TRACE_((file->obj_name, "PCAP file closed")); - return pj_file_close(file->fd); -} - -/* Setup filter */ -PJ_DEF(pj_status_t) pj_pcap_set_filter(pj_pcap_file *file, - const pj_pcap_filter *fil) -{ - PJ_ASSERT_RETURN(file && fil, PJ_EINVAL); - pj_memcpy(&file->filter, fil, sizeof(pj_pcap_filter)); - return PJ_SUCCESS; -} - -/* Read file */ -static pj_status_t read_file(pj_pcap_file *file, - void *buf, - pj_ssize_t *sz) -{ - pj_status_t status; - status = pj_file_read(file->fd, buf, sz); - if (status != PJ_SUCCESS) - return status; - if (*sz == 0) - return PJ_EEOF; - return PJ_SUCCESS; -} - -static pj_status_t skip(pj_oshandle_t fd, pj_off_t bytes) -{ - pj_status_t status; - status = pj_file_setpos(fd, bytes, PJ_SEEK_CUR); - if (status != PJ_SUCCESS) - return status; - return PJ_SUCCESS; -} - - -#define SKIP_PKT() \ - if (rec_incl > sz_read) { \ - status = skip(file->fd, rec_incl-sz_read);\ - if (status != PJ_SUCCESS) \ - return status; \ - } - -/* Read UDP packet */ -PJ_DEF(pj_status_t) pj_pcap_read_udp(pj_pcap_file *file, - pj_pcap_udp_hdr *udp_hdr, - pj_uint8_t *udp_payload, - pj_size_t *udp_payload_size) -{ - PJ_ASSERT_RETURN(file && udp_payload && udp_payload_size, PJ_EINVAL); - PJ_ASSERT_RETURN(*udp_payload_size, PJ_EINVAL); - - /* Check data link type in PCAP file header */ - if ((file->filter.link && - file->hdr.network != (pj_uint32_t)file->filter.link) || - file->hdr.network != PJ_PCAP_LINK_TYPE_ETH) - { - /* Link header other than Ethernet is not supported for now */ - return PJ_ENOTSUP; - } - - /* Loop until we have the packet */ - for (;;) { - union { - pj_pcap_rec_hdr rec; - pj_pcap_eth_hdr eth; - pj_pcap_ip_hdr ip; - pj_pcap_udp_hdr udp; - } tmp; - unsigned rec_incl; - pj_ssize_t sz; - unsigned sz_read = 0; - pj_status_t status; - - TRACE_((file->obj_name, "Reading packet..")); - - /* Read PCAP packet header */ - sz = sizeof(tmp.rec); - status = read_file(file, &tmp.rec, &sz); - if (status != PJ_SUCCESS) { - TRACE_((file->obj_name, "read_file() error: %d", status)); - return status; - } - - rec_incl = tmp.rec.incl_len; - - /* Swap byte ordering */ - if (file->swap) { - tmp.rec.incl_len = pj_ntohl(tmp.rec.incl_len); - tmp.rec.orig_len = pj_ntohl(tmp.rec.orig_len); - tmp.rec.ts_sec = pj_ntohl(tmp.rec.ts_sec); - tmp.rec.ts_usec = pj_ntohl(tmp.rec.ts_usec); - } - - /* Read link layer header */ - switch (file->hdr.network) { - case PJ_PCAP_LINK_TYPE_ETH: - sz = sizeof(tmp.eth); - status = read_file(file, &tmp.eth, &sz); - break; - default: - TRACE_((file->obj_name, "Error: link layer not Ethernet")); - return PJ_ENOTSUP; - } - - if (status != PJ_SUCCESS) { - TRACE_((file->obj_name, "Error reading Eth header: %d", status)); - return status; - } - - sz_read += sz; - - /* Read IP header */ - sz = sizeof(tmp.ip); - status = read_file(file, &tmp.ip, &sz); - if (status != PJ_SUCCESS) { - TRACE_((file->obj_name, "Error reading IP header: %d", status)); - return status; - } - - sz_read += sz; - - /* Skip if IP source mismatch */ - if (file->filter.ip_src && tmp.ip.ip_src != file->filter.ip_src) { - TRACE_((file->obj_name, "IP source %s mismatch, skipping", - pj_inet_ntoa(*(pj_in_addr*)&tmp.ip.ip_src))); - SKIP_PKT(); - continue; - } - - /* Skip if IP destination mismatch */ - if (file->filter.ip_dst && tmp.ip.ip_dst != file->filter.ip_dst) { - TRACE_((file->obj_name, "IP detination %s mismatch, skipping", - pj_inet_ntoa(*(pj_in_addr*)&tmp.ip.ip_dst))); - SKIP_PKT(); - continue; - } - - /* Skip if proto mismatch */ - if (file->filter.proto && tmp.ip.proto != file->filter.proto) { - TRACE_((file->obj_name, "IP proto %d mismatch, skipping", - tmp.ip.proto)); - SKIP_PKT(); - continue; - } - - /* Read transport layer header */ - switch (tmp.ip.proto) { - case PJ_PCAP_PROTO_TYPE_UDP: - sz = sizeof(tmp.udp); - status = read_file(file, &tmp.udp, &sz); - if (status != PJ_SUCCESS) { - TRACE_((file->obj_name, "Error reading UDP header: %d",status)); - return status; - } - - sz_read += sz; - - /* Skip if source port mismatch */ - if (file->filter.src_port && - tmp.udp.src_port != file->filter.src_port) - { - TRACE_((file->obj_name, "UDP src port %d mismatch, skipping", - pj_ntohs(tmp.udp.src_port))); - SKIP_PKT(); - continue; - } - - /* Skip if destination port mismatch */ - if (file->filter.dst_port && - tmp.udp.dst_port != file->filter.dst_port) - { - TRACE_((file->obj_name, "UDP dst port %d mismatch, skipping", - pj_ntohs(tmp.udp.dst_port))); - SKIP_PKT(); - continue; - } - - /* Copy UDP header if caller wants it */ - if (udp_hdr) { - pj_memcpy(udp_hdr, &tmp.udp, sizeof(*udp_hdr)); - } - - /* Calculate payload size */ - sz = pj_ntohs(tmp.udp.len) - sizeof(tmp.udp); - break; - default: - TRACE_((file->obj_name, "Not UDP, skipping")); - SKIP_PKT(); - continue; - } - - /* Check if payload fits the buffer */ - if (sz > (pj_ssize_t)*udp_payload_size) { - TRACE_((file->obj_name, - "Error: packet too large (%d bytes required)", sz)); - SKIP_PKT(); - return PJ_ETOOSMALL; - } - - /* Read the payload */ - status = read_file(file, udp_payload, &sz); - if (status != PJ_SUCCESS) { - TRACE_((file->obj_name, "Error reading payload: %d", status)); - return status; - } - - sz_read += sz; - - *udp_payload_size = sz; - - // Some layers may have trailer, e.g: link eth2. - /* Check that we've read all the packets */ - //PJ_ASSERT_RETURN(sz_read == rec_incl, PJ_EBUG); - - /* Skip trailer */ - while (sz_read < rec_incl) { - sz = rec_incl - sz_read; - status = read_file(file, &tmp.eth, &sz); - if (status != PJ_SUCCESS) { - TRACE_((file->obj_name, "Error reading trailer: %d", status)); - return status; - } - sz_read += sz; - } - - return PJ_SUCCESS; - } - - /* Does not reach here */ -} - - diff --git a/res/pjproject/pjlib-util/src/pjlib-util/resolver.c b/res/pjproject/pjlib-util/src/pjlib-util/resolver.c deleted file mode 100644 index 81220bc93f..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/resolver.c +++ /dev/null @@ -1,1588 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#define THIS_FILE "resolver.c" - - -/* Check that maximum DNS nameservers is not too large. - * This has got todo with the datatype to index the nameserver in the query. - */ -#if PJ_DNS_RESOLVER_MAX_NS > 256 -# error "PJ_DNS_RESOLVER_MAX_NS is too large (max=256)" -#endif - - -#define RES_HASH_TABLE_SIZE 127 /**< Hash table size (must be 2^n-1 */ -#define PORT 53 /**< Default NS port. */ -#define Q_HASH_TABLE_SIZE 127 /**< Query hash table size */ -#define TIMER_SIZE 127 /**< Initial number of timers. */ -#define MAX_FD 3 /**< Maximum internal sockets. */ - -#define RES_BUF_SZ PJ_DNS_RESOLVER_RES_BUF_SIZE -#define UDPSZ PJ_DNS_RESOLVER_MAX_UDP_SIZE -#define TMP_SZ PJ_DNS_RESOLVER_TMP_BUF_SIZE - - -/* Nameserver state */ -enum ns_state -{ - STATE_PROBING, - STATE_ACTIVE, - STATE_BAD, -}; - -static const char *state_names[3] = -{ - "Probing", - "Active", - "Bad" -}; - - -/* - * Each nameserver entry. - * A name server is identified by its socket address (IP and port). - * Each NS will have a flag to indicate whether it's properly functioning. - */ -struct nameserver -{ - pj_sockaddr_in addr; /**< Server address. */ - - enum ns_state state; /**< Nameserver state. */ - pj_time_val state_expiry; /**< Time set next state. */ - pj_time_val rt_delay; /**< Response time. */ - - - /* For calculating rt_delay: */ - pj_uint16_t q_id; /**< Query ID. */ - pj_time_val sent_time; /**< Time this query is sent. */ -}; - - -/* Child query list head - * See comments on pj_dns_async_query below. - */ -struct query_head -{ - PJ_DECL_LIST_MEMBER(pj_dns_async_query); -}; - - -/* Key to look for outstanding query and/or cached response */ -struct res_key -{ - pj_uint16_t qtype; /**< Query type. */ - char name[PJ_MAX_HOSTNAME]; /**< Name being queried */ -}; - - -/* - * This represents each asynchronous query entry. - * This entry will be put in two hash tables, the first one keyed on the DNS - * transaction ID to match response with the query, and the second one keyed - * on "res_key" structure above to match a new request against outstanding - * requests. - * - * An asynchronous entry may have child entries; child entries are subsequent - * queries to the same resource while there is pending query on the same - * DNS resource name and type. When a query has child entries, once the - * response is received (or error occurs), the response will trigger callback - * invocations for all childs entries. - * - * Note: when application cancels the query, the callback member will be - * set to NULL, but for simplicity, the query will be let running. - */ -struct pj_dns_async_query -{ - PJ_DECL_LIST_MEMBER(pj_dns_async_query); /**< List member. */ - - pj_dns_resolver *resolver; /**< The resolver instance. */ - pj_uint16_t id; /**< Transaction ID. */ - - unsigned transmit_cnt; /**< Number of transmissions. */ - - struct res_key key; /**< Key to index this query. */ - pj_hash_entry_buf hbufid; /**< Hash buffer 1 */ - pj_hash_entry_buf hbufkey; /**< Hash buffer 2 */ - pj_timer_entry timer_entry; /**< Timer to manage timeouts */ - unsigned options; /**< Query options. */ - void *user_data; /**< Application data. */ - pj_dns_callback *cb; /**< Callback to be called. */ - struct query_head child_head; /**< Child queries list head. */ -}; - - -/* This structure is used to keep cached response entry. - * The cache is a hash table keyed on "res_key" structure above. - */ -struct cached_res -{ - PJ_DECL_LIST_MEMBER(struct cached_res); - - pj_pool_t *pool; /**< Cache's pool. */ - struct res_key key; /**< Resource key. */ - pj_hash_entry_buf hbuf; /**< Hash buffer */ - pj_time_val expiry_time; /**< Expiration time. */ - pj_dns_parsed_packet *pkt; /**< The response packet. */ -}; - - -/* Resolver entry */ -struct pj_dns_resolver -{ - pj_str_t name; /**< Resolver instance name for id. */ - - /* Internals */ - pj_pool_t *pool; /**< Internal pool. */ - pj_mutex_t *mutex; /**< Mutex protection. */ - pj_bool_t own_timer; /**< Do we own timer? */ - pj_timer_heap_t *timer; /**< Timer instance. */ - pj_bool_t own_ioqueue; /**< Do we own ioqueue? */ - pj_ioqueue_t *ioqueue; /**< Ioqueue instance. */ - char tmp_pool[TMP_SZ];/**< Temporary pool buffer. */ - - /* Socket */ - pj_sock_t udp_sock; /**< UDP socket. */ - pj_ioqueue_key_t *udp_key; /**< UDP socket ioqueue key. */ - unsigned char udp_rx_pkt[UDPSZ];/**< UDP receive buffer. */ - unsigned char udp_tx_pkt[UDPSZ];/**< UDP receive buffer. */ - pj_ssize_t udp_len; /**< Length of received packet. */ - pj_ioqueue_op_key_t udp_op_key; /**< UDP read operation key. */ - pj_sockaddr_in udp_src_addr; /**< Source address of packet */ - int udp_addr_len; /**< Source address length. */ - - /* Settings */ - pj_dns_settings settings; /**< Resolver settings. */ - - /* Nameservers */ - unsigned ns_count; /**< Number of name servers. */ - struct nameserver ns[PJ_DNS_RESOLVER_MAX_NS]; /**< Array of NS. */ - - /* Last DNS transaction ID used. */ - pj_uint16_t last_id; - - /* Hash table for cached response */ - pj_hash_table_t *hrescache; /**< Cached response in hash table */ - - /* Pending asynchronous query, hashed by transaction ID. */ - pj_hash_table_t *hquerybyid; - - /* Pending asynchronous query, hashed by "res_key" */ - pj_hash_table_t *hquerybyres; - - /* Query entries free list */ - struct query_head query_free_nodes; -}; - - -/* Callback from ioqueue when packet is received */ -static void on_read_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read); - -/* Callback to be called when query has timed out */ -static void on_timeout( pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry); - -/* Select which nameserver to use */ -static pj_status_t select_nameservers(pj_dns_resolver *resolver, - unsigned *count, - unsigned servers[]); - - -/* Initialize DNS settings with default values */ -PJ_DEF(void) pj_dns_settings_default(pj_dns_settings *s) -{ - pj_bzero(s, sizeof(pj_dns_settings)); - s->qretr_delay = PJ_DNS_RESOLVER_QUERY_RETRANSMIT_DELAY; - s->qretr_count = PJ_DNS_RESOLVER_QUERY_RETRANSMIT_COUNT; - s->cache_max_ttl = PJ_DNS_RESOLVER_MAX_TTL; - s->good_ns_ttl = PJ_DNS_RESOLVER_GOOD_NS_TTL; - s->bad_ns_ttl = PJ_DNS_RESOLVER_BAD_NS_TTL; -} - - -/* - * Create the resolver. - */ -PJ_DEF(pj_status_t) pj_dns_resolver_create( pj_pool_factory *pf, - const char *name, - unsigned options, - pj_timer_heap_t *timer, - pj_ioqueue_t *ioqueue, - pj_dns_resolver **p_resolver) -{ - pj_pool_t *pool; - pj_dns_resolver *resv; - pj_ioqueue_callback socket_cb; - pj_status_t status; - - /* Sanity check */ - PJ_ASSERT_RETURN(pf && p_resolver, PJ_EINVAL); - - if (name == NULL) - name = THIS_FILE; - - /* Create and initialize resolver instance */ - pool = pj_pool_create(pf, name, 4000, 4000, NULL); - if (!pool) - return PJ_ENOMEM; - - /* Create pool and name */ - resv = PJ_POOL_ZALLOC_T(pool, struct pj_dns_resolver); - resv->pool = pool; - resv->udp_sock = PJ_INVALID_SOCKET; - pj_strdup2_with_null(pool, &resv->name, name); - - /* Create the mutex */ - status = pj_mutex_create_recursive(pool, name, &resv->mutex); - if (status != PJ_SUCCESS) - goto on_error; - - /* Timer, ioqueue, and settings */ - resv->timer = timer; - resv->ioqueue = ioqueue; - resv->last_id = 1; - - pj_dns_settings_default(&resv->settings); - resv->settings.options = options; - - /* Create the timer heap if one is not specified */ - if (resv->timer == NULL) { - status = pj_timer_heap_create(pool, TIMER_SIZE, &resv->timer); - if (status != PJ_SUCCESS) - goto on_error; - } - - /* Create the ioqueue if one is not specified */ - if (resv->ioqueue == NULL) { - status = pj_ioqueue_create(pool, MAX_FD, &resv->ioqueue); - if (status != PJ_SUCCESS) - goto on_error; - } - - /* Response cache hash table */ - resv->hrescache = pj_hash_create(pool, RES_HASH_TABLE_SIZE); - - /* Query hash table and free list. */ - resv->hquerybyid = pj_hash_create(pool, Q_HASH_TABLE_SIZE); - resv->hquerybyres = pj_hash_create(pool, Q_HASH_TABLE_SIZE); - pj_list_init(&resv->query_free_nodes); - - /* Create the UDP socket */ - status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &resv->udp_sock); - if (status != PJ_SUCCESS) - goto on_error; - - /* Bind to any address/port */ - status = pj_sock_bind_in(resv->udp_sock, 0, 0); - if (status != PJ_SUCCESS) - goto on_error; - - /* Register to ioqueue */ - pj_bzero(&socket_cb, sizeof(socket_cb)); - socket_cb.on_read_complete = &on_read_complete; - status = pj_ioqueue_register_sock(pool, resv->ioqueue, resv->udp_sock, - resv, &socket_cb, &resv->udp_key); - if (status != PJ_SUCCESS) - goto on_error; - - pj_ioqueue_op_key_init(&resv->udp_op_key, sizeof(resv->udp_op_key)); - - /* Start asynchronous read to the UDP socket */ - resv->udp_len = sizeof(resv->udp_rx_pkt); - resv->udp_addr_len = sizeof(resv->udp_src_addr); - status = pj_ioqueue_recvfrom(resv->udp_key, &resv->udp_op_key, - resv->udp_rx_pkt, &resv->udp_len, - PJ_IOQUEUE_ALWAYS_ASYNC, - &resv->udp_src_addr, &resv->udp_addr_len); - if (status != PJ_EPENDING) - goto on_error; - - - /* Looks like everything is okay */ - *p_resolver = resv; - return PJ_SUCCESS; - -on_error: - pj_dns_resolver_destroy(resv, PJ_FALSE); - return status; -} - - -/* - * Destroy DNS resolver instance. - */ -PJ_DEF(pj_status_t) pj_dns_resolver_destroy( pj_dns_resolver *resolver, - pj_bool_t notify) -{ - pj_hash_iterator_t it_buf, *it; - PJ_ASSERT_RETURN(resolver, PJ_EINVAL); - - if (notify) { - /* - * Notify pending queries if requested. - */ - it = pj_hash_first(resolver->hquerybyid, &it_buf); - while (it) { - pj_dns_async_query *q = (pj_dns_async_query *) - pj_hash_this(resolver->hquerybyid, it); - pj_dns_async_query *cq; - if (q->cb) - (*q->cb)(q->user_data, PJ_ECANCELLED, NULL); - - cq = q->child_head.next; - while (cq != (pj_dns_async_query*)&q->child_head) { - if (cq->cb) - (*cq->cb)(cq->user_data, PJ_ECANCELLED, NULL); - cq = cq->next; - } - it = pj_hash_next(resolver->hquerybyid, it); - } - } - - /* Destroy cached entries */ - it = pj_hash_first(resolver->hrescache, &it_buf); - while (it) { - struct cached_res *cache; - - cache = (struct cached_res*) pj_hash_this(resolver->hrescache, it); - pj_hash_set(NULL, resolver->hrescache, &cache->key, - sizeof(cache->key), 0, NULL); - pj_pool_release(cache->pool); - - it = pj_hash_first(resolver->hrescache, &it_buf); - } - - if (resolver->own_timer && resolver->timer) { - pj_timer_heap_destroy(resolver->timer); - resolver->timer = NULL; - } - - if (resolver->udp_key != NULL) { - pj_ioqueue_unregister(resolver->udp_key); - resolver->udp_key = NULL; - resolver->udp_sock = PJ_INVALID_SOCKET; - } else if (resolver->udp_sock != PJ_INVALID_SOCKET) { - pj_sock_close(resolver->udp_sock); - resolver->udp_sock = PJ_INVALID_SOCKET; - } - - if (resolver->own_ioqueue && resolver->ioqueue) { - pj_ioqueue_destroy(resolver->ioqueue); - resolver->ioqueue = NULL; - } - - if (resolver->mutex) { - pj_mutex_destroy(resolver->mutex); - resolver->mutex = NULL; - } - - if (resolver->pool) { - pj_pool_t *pool = resolver->pool; - resolver->pool = NULL; - pj_pool_release(pool); - } - return PJ_SUCCESS; -} - - - -/* - * Configure name servers for the DNS resolver. - */ -PJ_DEF(pj_status_t) pj_dns_resolver_set_ns( pj_dns_resolver *resolver, - unsigned count, - const pj_str_t servers[], - const pj_uint16_t ports[]) -{ - unsigned i; - pj_time_val now; - pj_status_t status; - - PJ_ASSERT_RETURN(resolver && count && servers, PJ_EINVAL); - PJ_ASSERT_RETURN(count < PJ_DNS_RESOLVER_MAX_NS, PJ_EINVAL); - - pj_mutex_lock(resolver->mutex); - - if (count > PJ_DNS_RESOLVER_MAX_NS) - count = PJ_DNS_RESOLVER_MAX_NS; - - resolver->ns_count = 0; - pj_bzero(resolver->ns, sizeof(resolver->ns)); - - pj_gettimeofday(&now); - - for (i=0; ins[i]; - - status = pj_sockaddr_in_init(&ns->addr, &servers[i], - (pj_uint16_t)(ports ? ports[i] : PORT)); - if (status != PJ_SUCCESS) { - pj_mutex_unlock(resolver->mutex); - return PJLIB_UTIL_EDNSINNSADDR; - } - - ns->state = STATE_ACTIVE; - ns->state_expiry = now; - ns->rt_delay.sec = 10; - } - - resolver->ns_count = count; - - pj_mutex_unlock(resolver->mutex); - return PJ_SUCCESS; -} - - - -/* - * Modify the resolver settings. - */ -PJ_DEF(pj_status_t) pj_dns_resolver_set_settings(pj_dns_resolver *resolver, - const pj_dns_settings *st) -{ - PJ_ASSERT_RETURN(resolver && st, PJ_EINVAL); - - pj_mutex_lock(resolver->mutex); - pj_memcpy(&resolver->settings, st, sizeof(*st)); - pj_mutex_unlock(resolver->mutex); - return PJ_SUCCESS; -} - - -/* - * Get the resolver current settings. - */ -PJ_DEF(pj_status_t) pj_dns_resolver_get_settings( pj_dns_resolver *resolver, - pj_dns_settings *st) -{ - PJ_ASSERT_RETURN(resolver && st, PJ_EINVAL); - - pj_mutex_lock(resolver->mutex); - pj_memcpy(st, &resolver->settings, sizeof(*st)); - pj_mutex_unlock(resolver->mutex); - return PJ_SUCCESS; -} - - -/* - * Poll for events from the resolver. - */ -PJ_DEF(void) pj_dns_resolver_handle_events(pj_dns_resolver *resolver, - const pj_time_val *timeout) -{ - PJ_ASSERT_ON_FAIL(resolver, return); - - pj_mutex_lock(resolver->mutex); - pj_timer_heap_poll(resolver->timer, NULL); - pj_mutex_unlock(resolver->mutex); - - pj_ioqueue_poll(resolver->ioqueue, timeout); -} - - -/* Get one query node from the free node, if any, or allocate - * a new one. - */ -static pj_dns_async_query *alloc_qnode(pj_dns_resolver *resolver, - unsigned options, - void *user_data, - pj_dns_callback *cb) -{ - pj_dns_async_query *q; - - /* Merge query options with resolver options */ - options |= resolver->settings.options; - - if (!pj_list_empty(&resolver->query_free_nodes)) { - q = resolver->query_free_nodes.next; - pj_list_erase(q); - pj_bzero(q, sizeof(*q)); - } else { - q = PJ_POOL_ZALLOC_T(resolver->pool, pj_dns_async_query); - } - - /* Init query */ - q->resolver = resolver; - q->options = options; - q->user_data = user_data; - q->cb = cb; - pj_list_init(&q->child_head); - - return q; -} - - -/* - * Transmit query. - */ -static pj_status_t transmit_query(pj_dns_resolver *resolver, - pj_dns_async_query *q) -{ - unsigned pkt_size; - unsigned i, server_cnt; - unsigned servers[PJ_DNS_RESOLVER_MAX_NS]; - pj_time_val now; - pj_str_t name; - pj_time_val delay; - pj_status_t status; - - /* Create DNS query packet */ - pkt_size = sizeof(resolver->udp_tx_pkt); - name = pj_str(q->key.name); - status = pj_dns_make_query(resolver->udp_tx_pkt, &pkt_size, - q->id, q->key.qtype, &name); - if (status != PJ_SUCCESS) { - return status; - } - - /* Select which nameserver(s) to send requests to. */ - server_cnt = PJ_ARRAY_SIZE(servers); - status = select_nameservers(resolver, &server_cnt, servers); - if (status != PJ_SUCCESS) { - return status; - } - - if (server_cnt == 0) { - return PJLIB_UTIL_EDNSNOWORKINGNS; - } - - /* Start retransmit/timeout timer for the query */ - pj_assert(q->timer_entry.id == 0); - q->timer_entry.id = 1; - q->timer_entry.user_data = q; - q->timer_entry.cb = &on_timeout; - - delay.sec = 0; - delay.msec = resolver->settings.qretr_delay; - pj_time_val_normalize(&delay); - status = pj_timer_heap_schedule(resolver->timer, &q->timer_entry, &delay); - if (status != PJ_SUCCESS) { - return status; - } - - /* Get current time. */ - pj_gettimeofday(&now); - - /* Send the packet to name servers */ - for (i=0; ins[servers[i]]; - - pj_sock_sendto(resolver->udp_sock, resolver->udp_tx_pkt, &sent, 0, - &resolver->ns[servers[i]].addr, sizeof(pj_sockaddr_in)); - - PJ_LOG(4,(resolver->name.ptr, - "%s %d bytes to NS %d (%s:%d): DNS %s query for %s", - (q->transmit_cnt==0? "Transmitting":"Re-transmitting"), - (int)sent, servers[i], - pj_inet_ntoa(ns->addr.sin_addr), - (int)pj_ntohs(ns->addr.sin_port), - pj_dns_get_type_name(q->key.qtype), - q->key.name)); - - if (ns->q_id == 0) { - ns->q_id = q->id; - ns->sent_time = now; - } - } - - ++q->transmit_cnt; - - return PJ_SUCCESS; -} - - -/* - * Initialize resource key for hash table lookup. - */ -static void init_res_key(struct res_key *key, int type, const pj_str_t *name) -{ - unsigned i, len; - char *dst = key->name; - const char *src = name->ptr; - - pj_bzero(key, sizeof(struct res_key)); - key->qtype = (pj_uint16_t)type; - - len = name->slen; - if (len > PJ_MAX_HOSTNAME) len = PJ_MAX_HOSTNAME; - - /* Copy key, in lowercase */ - for (i=0; ipool->factory, "dnscache", - RES_BUF_SZ, 256, NULL); - cache = PJ_POOL_ZALLOC_T(pool, struct cached_res); - cache->pool = pool; - - return cache; -} - -/* Put unused/expired cached entry to the free list */ -static void free_entry(pj_dns_resolver *resolver, struct cached_res *cache) -{ - PJ_UNUSED_ARG(resolver); - pj_pool_release(cache->pool); -} - - -/* - * Create and start asynchronous DNS query for a single resource. - */ -PJ_DEF(pj_status_t) pj_dns_resolver_start_query( pj_dns_resolver *resolver, - const pj_str_t *name, - int type, - unsigned options, - pj_dns_callback *cb, - void *user_data, - pj_dns_async_query **p_query) -{ - pj_time_val now; - struct res_key key; - struct cached_res *cache; - pj_dns_async_query *q; - pj_uint32_t hval; - pj_status_t status = PJ_SUCCESS; - - /* Validate arguments */ - PJ_ASSERT_RETURN(resolver && name && type, PJ_EINVAL); - - /* Check name is not too long. */ - PJ_ASSERT_RETURN(name->slen>0 && name->slen < PJ_MAX_HOSTNAME, - PJ_ENAMETOOLONG); - - /* Check type */ - PJ_ASSERT_RETURN(type > 0 && type < 0xFFFF, PJ_EINVAL); - - if (p_query) - *p_query = NULL; - - /* Build resource key for looking up hash tables */ - init_res_key(&key, type, name); - - /* Start working with the resolver */ - pj_mutex_lock(resolver->mutex); - - /* Get current time. */ - pj_gettimeofday(&now); - - /* First, check if we have cached response for the specified name/type, - * and the cached entry has not expired. - */ - hval = 0; - cache = (struct cached_res *) pj_hash_get(resolver->hrescache, &key, - sizeof(key), &hval); - if (cache) { - /* We've found a cached entry. */ - - /* Check for expiration */ - if (PJ_TIME_VAL_GT(cache->expiry_time, now)) { - - /* Log */ - PJ_LOG(5,(resolver->name.ptr, - "Picked up DNS %s record for %.*s from cache, ttl=%d", - pj_dns_get_type_name(type), - (int)name->slen, name->ptr, - (int)(cache->expiry_time.sec - now.sec))); - - /* Map DNS Rcode in the response into PJLIB status name space */ - status = PJ_DNS_GET_RCODE(cache->pkt->hdr.flags); - status = PJ_STATUS_FROM_DNS_RCODE(status); - - /* This cached response is still valid. Just return this - * response to caller. - */ - if (cb) { - (*cb)(user_data, status, cache->pkt); - } - - /* Done. No host resolution is necessary */ - - /* Must return PJ_SUCCESS */ - status = PJ_SUCCESS; - - goto on_return; - } - - /* At this point, we have a cached entry, but this entry has expired. - * Remove this entry from the cached list. - */ - pj_hash_set(NULL, resolver->hrescache, &key, sizeof(key), 0, NULL); - - /* Store the entry into free nodes */ - free_entry(resolver, cache); - - /* Must continue with creating a query now */ - } - - /* Next, check if we have pending query on the same resource */ - q = (pj_dns_async_query *) pj_hash_get(resolver->hquerybyres, &key, - sizeof(key), NULL); - if (q) { - /* Yes, there's another pending query to the same key. - * Just create a new child query and add this query to - * pending query's child queries. - */ - pj_dns_async_query *nq; - - nq = alloc_qnode(resolver, options, user_data, cb); - pj_list_push_back(&q->child_head, nq); - - /* Done. This child query will be notified once the "parent" - * query completes. - */ - status = PJ_SUCCESS; - goto on_return; - } - - /* There's no pending query to the same key, initiate a new one. */ - q = alloc_qnode(resolver, options, user_data, cb); - - /* Save the ID and key */ - /* TODO: dnsext-forgery-resilient: randomize id for security */ - q->id = resolver->last_id++; - if (resolver->last_id == 0) - resolver->last_id = 1; - pj_memcpy(&q->key, &key, sizeof(struct res_key)); - - /* Send the query */ - status = transmit_query(resolver, q); - if (status != PJ_SUCCESS) { - pj_list_push_back(&resolver->query_free_nodes, q); - goto on_return; - } - - /* Add query entry to the hash tables */ - pj_hash_set_np(resolver->hquerybyid, &q->id, sizeof(q->id), - 0, q->hbufid, q); - pj_hash_set_np(resolver->hquerybyres, &q->key, sizeof(q->key), - 0, q->hbufkey, q); - - if (p_query) - *p_query = q; - -on_return: - pj_mutex_unlock(resolver->mutex); - return status; -} - - -/* - * Cancel a pending query. - */ -PJ_DEF(pj_status_t) pj_dns_resolver_cancel_query(pj_dns_async_query *query, - pj_bool_t notify) -{ - pj_dns_callback *cb; - - PJ_ASSERT_RETURN(query, PJ_EINVAL); - - pj_mutex_lock(query->resolver->mutex); - - cb = query->cb; - query->cb = NULL; - - if (notify) - (*cb)(query->user_data, PJ_ECANCELLED, NULL); - - pj_mutex_unlock(query->resolver->mutex); - return PJ_SUCCESS; -} - - -/* - * DNS response containing A packet. - */ -PJ_DEF(pj_status_t) pj_dns_parse_a_response(const pj_dns_parsed_packet *pkt, - pj_dns_a_record *rec) -{ - enum { MAX_SEARCH = 20 }; - pj_str_t hostname, alias = {NULL, 0}, *resname; - unsigned bufstart = 0; - unsigned bufleft = sizeof(rec->buf_); - unsigned i, ansidx, search_cnt=0; - - PJ_ASSERT_RETURN(pkt && rec, PJ_EINVAL); - - /* Init the record */ - pj_bzero(rec, sizeof(pj_dns_a_record)); - - /* Return error if there's error in the packet. */ - if (PJ_DNS_GET_RCODE(pkt->hdr.flags)) - return PJ_STATUS_FROM_DNS_RCODE(PJ_DNS_GET_RCODE(pkt->hdr.flags)); - - /* Return error if there's no query section */ - if (pkt->hdr.qdcount == 0) - return PJLIB_UTIL_EDNSINANSWER; - - /* Return error if there's no answer */ - if (pkt->hdr.anscount == 0) - return PJLIB_UTIL_EDNSNOANSWERREC; - - /* Get the hostname from the query. */ - hostname = pkt->q[0].name; - - /* Copy hostname to the record */ - if (hostname.slen > (int)bufleft) { - return PJ_ENAMETOOLONG; - } - - pj_memcpy(&rec->buf_[bufstart], hostname.ptr, hostname.slen); - rec->name.ptr = &rec->buf_[bufstart]; - rec->name.slen = hostname.slen; - - bufstart += hostname.slen; - bufleft -= hostname.slen; - - /* Find the first RR which name matches the hostname */ - for (ansidx=0; ansidx < pkt->hdr.anscount; ++ansidx) { - if (pj_stricmp(&pkt->ans[ansidx].name, &hostname)==0) - break; - } - - if (ansidx == pkt->hdr.anscount) - return PJLIB_UTIL_EDNSNOANSWERREC; - - resname = &hostname; - - /* Keep following CNAME records. */ - while (pkt->ans[ansidx].type == PJ_DNS_TYPE_CNAME && - search_cnt++ < MAX_SEARCH) - { - resname = &pkt->ans[ansidx].rdata.cname.name; - - if (!alias.slen) - alias = *resname; - - for (i=0; i < pkt->hdr.anscount; ++i) { - if (pj_stricmp(resname, &pkt->ans[i].name)==0) { - break; - } - } - - if (i==pkt->hdr.anscount) - return PJLIB_UTIL_EDNSNOANSWERREC; - - ansidx = i; - } - - if (search_cnt >= MAX_SEARCH) - return PJLIB_UTIL_EDNSINANSWER; - - if (pkt->ans[ansidx].type != PJ_DNS_TYPE_A) - return PJLIB_UTIL_EDNSINANSWER; - - /* Copy alias to the record, if present. */ - if (alias.slen) { - if (alias.slen > (int)bufleft) - return PJ_ENAMETOOLONG; - - pj_memcpy(&rec->buf_[bufstart], alias.ptr, alias.slen); - rec->alias.ptr = &rec->buf_[bufstart]; - rec->alias.slen = alias.slen; - - bufstart += alias.slen; - bufleft -= alias.slen; - } - - /* Get the IP addresses. */ - for (i=0; i < pkt->hdr.anscount; ++i) { - if (pkt->ans[i].type == PJ_DNS_TYPE_A && - pj_stricmp(&pkt->ans[i].name, resname)==0 && - rec->addr_count < PJ_DNS_MAX_IP_IN_A_REC) - { - rec->addr[rec->addr_count++].s_addr = - pkt->ans[i].rdata.a.ip_addr.s_addr; - } - } - - if (rec->addr_count == 0) - return PJLIB_UTIL_EDNSNOANSWERREC; - - return PJ_SUCCESS; -} - - -/* Set nameserver state */ -static void set_nameserver_state(pj_dns_resolver *resolver, - unsigned index, - enum ns_state state, - const pj_time_val *now) -{ - struct nameserver *ns = &resolver->ns[index]; - enum ns_state old_state = ns->state; - - ns->state = state; - ns->state_expiry = *now; - - if (state == STATE_PROBING) - ns->state_expiry.sec += ((resolver->settings.qretr_count + 2) * - resolver->settings.qretr_delay) / 1000; - else if (state == STATE_ACTIVE) - ns->state_expiry.sec += resolver->settings.good_ns_ttl; - else - ns->state_expiry.sec += resolver->settings.bad_ns_ttl; - - PJ_LOG(5, (resolver->name.ptr, "Nameserver %s:%d state changed %s --> %s", - pj_inet_ntoa(ns->addr.sin_addr), - (int)pj_ntohs(ns->addr.sin_port), - state_names[old_state], state_names[state])); -} - - -/* Select which nameserver(s) to use. Note this may return multiple - * name servers. The algorithm to select which nameservers to be - * sent the request to is as follows: - * - select the first nameserver that is known to be good for the - * last PJ_DNS_RESOLVER_GOOD_NS_TTL interval. - * - for all NSes, if last_known_good >= PJ_DNS_RESOLVER_GOOD_NS_TTL, - * include the NS to re-check again that the server is still good, - * unless the NS is known to be bad in the last PJ_DNS_RESOLVER_BAD_NS_TTL - * interval. - * - for all NSes, if last_known_bad >= PJ_DNS_RESOLVER_BAD_NS_TTL, - * also include the NS to re-check again that the server is still bad. - */ -static pj_status_t select_nameservers(pj_dns_resolver *resolver, - unsigned *count, - unsigned servers[]) -{ - unsigned i, max_count=*count; - int min; - pj_time_val now; - - pj_assert(max_count > 0); - - *count = 0; - servers[0] = 0xFFFF; - - /* Check that nameservers are configured. */ - if (resolver->ns_count == 0) - return PJLIB_UTIL_EDNSNONS; - - pj_gettimeofday(&now); - - /* Select one Active nameserver with best response time. */ - for (min=-1, i=0; ins_count; ++i) { - struct nameserver *ns = &resolver->ns[i]; - - if (ns->state != STATE_ACTIVE) - continue; - - if (min == -1) - min = i; - else if (PJ_TIME_VAL_LT(ns->rt_delay, resolver->ns[min].rt_delay)) - min = i; - } - if (min != -1) { - servers[0] = min; - ++(*count); - } - - /* Scan nameservers. */ - for (i=0; ins_count && *count < max_count; ++i) { - struct nameserver *ns = &resolver->ns[i]; - - if (PJ_TIME_VAL_LTE(ns->state_expiry, now)) { - if (ns->state == STATE_PROBING) { - set_nameserver_state(resolver, i, STATE_BAD, &now); - } else { - set_nameserver_state(resolver, i, STATE_PROBING, &now); - if ((int)i != min) { - servers[*count] = i; - ++(*count); - } - } - } else if (ns->state == STATE_PROBING && (int)i != min) { - servers[*count] = i; - ++(*count); - } - } - - return PJ_SUCCESS; -} - - -/* Update name server status */ -static void report_nameserver_status(pj_dns_resolver *resolver, - const pj_sockaddr_in *ns_addr, - const pj_dns_parsed_packet *pkt) -{ - unsigned i; - int rcode; - pj_uint32_t q_id; - pj_time_val now; - pj_bool_t is_good; - - /* Only mark nameserver as "bad" if it returned non-parseable response or - * it returned the following status codes - */ - if (pkt) { - rcode = PJ_DNS_GET_RCODE(pkt->hdr.flags); - q_id = pkt->hdr.id; - } else { - rcode = 0; - q_id = (pj_uint32_t)-1; - } - - if (!pkt || rcode == PJ_DNS_RCODE_SERVFAIL || - rcode == PJ_DNS_RCODE_REFUSED || - rcode == PJ_DNS_RCODE_NOTAUTH) - { - is_good = PJ_FALSE; - } else { - is_good = PJ_TRUE; - } - - - /* Mark time */ - pj_gettimeofday(&now); - - /* Recheck all nameservers. */ - for (i=0; ins_count; ++i) { - struct nameserver *ns = &resolver->ns[i]; - - if (ns->addr.sin_addr.s_addr == ns_addr->sin_addr.s_addr && - ns->addr.sin_port == ns_addr->sin_port && - ns->addr.sin_family == ns_addr->sin_family) - { - if (q_id == ns->q_id) { - /* Calculate response time */ - pj_time_val rt = now; - PJ_TIME_VAL_SUB(rt, ns->sent_time); - ns->rt_delay = rt; - ns->q_id = 0; - } - set_nameserver_state(resolver, i, - (is_good ? STATE_ACTIVE : STATE_BAD), &now); - break; - } - } -} - - -/* Update response cache */ -static void update_res_cache(pj_dns_resolver *resolver, - const struct res_key *key, - pj_status_t status, - pj_bool_t set_expiry, - const pj_dns_parsed_packet *pkt) -{ - struct cached_res *cache; - pj_uint32_t hval=0, ttl; - - /* If status is unsuccessful, clear the same entry from the cache */ - if (status != PJ_SUCCESS) { - cache = (struct cached_res *) pj_hash_get(resolver->hrescache, key, - sizeof(*key), &hval); - if (cache) - free_entry(resolver, cache); - pj_hash_set(NULL, resolver->hrescache, key, sizeof(*key), hval, NULL); - } - - - /* Calculate expiration time. */ - if (set_expiry) { - if (pkt->hdr.anscount == 0 || status != PJ_SUCCESS) { - /* If we don't have answers for the name, then give a different - * ttl value (note: PJ_DNS_RESOLVER_INVALID_TTL may be zero, - * which means that invalid names won't be kept in the cache) - */ - ttl = PJ_DNS_RESOLVER_INVALID_TTL; - - } else { - /* Otherwise get the minimum TTL from the answers */ - unsigned i; - ttl = 0xFFFFFFFF; - for (i=0; ihdr.anscount; ++i) { - if (pkt->ans[i].ttl < ttl) - ttl = pkt->ans[i].ttl; - } - } - } else { - ttl = 0xFFFFFFFF; - } - - /* Apply maximum TTL */ - if (ttl > resolver->settings.cache_max_ttl) - ttl = resolver->settings.cache_max_ttl; - - /* If TTL is zero, clear the same entry in the hash table */ - if (ttl == 0) { - cache = (struct cached_res *) pj_hash_get(resolver->hrescache, key, - sizeof(*key), &hval); - if (cache) - free_entry(resolver, cache); - pj_hash_set(NULL, resolver->hrescache, key, sizeof(*key), hval, NULL); - return; - } - - /* Get a cache response entry */ - cache = (struct cached_res *) pj_hash_get(resolver->hrescache, key, - sizeof(*key), &hval); - if (cache == NULL) { - cache = alloc_entry(resolver); - } - - /* Duplicate the packet. - * We don't need to keep the NS and AR sections from the packet, - * so exclude from duplication. We do need to keep the Query - * section since DNS A parser needs the query section to know - * the name being requested. - */ - cache->pkt = NULL; - pj_dns_packet_dup(cache->pool, pkt, - PJ_DNS_NO_NS | PJ_DNS_NO_AR, - &cache->pkt); - - /* Calculate expiration time */ - if (set_expiry) { - pj_gettimeofday(&cache->expiry_time); - cache->expiry_time.sec += ttl; - } else { - cache->expiry_time.sec = 0x7FFFFFFFL; - cache->expiry_time.msec = 0; - } - - /* Copy key to the cached response */ - pj_memcpy(&cache->key, key, sizeof(*key)); - - /* Update the hash table */ - pj_hash_set_np(resolver->hrescache, &cache->key, sizeof(*key), hval, - cache->hbuf, cache); - -} - - -/* Callback to be called when query has timed out */ -static void on_timeout( pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry) -{ - pj_dns_resolver *resolver; - pj_dns_async_query *q, *cq; - pj_status_t status; - - PJ_UNUSED_ARG(timer_heap); - - q = (pj_dns_async_query *) entry->user_data; - resolver = q->resolver; - - pj_mutex_lock(resolver->mutex); - - /* Recheck that this query is still pending, since there is a slight - * possibility of race condition (timer elapsed while at the same time - * response arrives) - */ - if (pj_hash_get(resolver->hquerybyid, &q->id, sizeof(q->id), NULL)==NULL) { - /* Yeah, this query is done. */ - pj_mutex_unlock(resolver->mutex); - return; - } - - /* Invalidate id. */ - q->timer_entry.id = 0; - - /* Check to see if we should retransmit instead of time out */ - if (q->transmit_cnt < resolver->settings.qretr_count) { - status = transmit_query(resolver, q); - if (status == PJ_SUCCESS) { - pj_mutex_unlock(resolver->mutex); - return; - } else { - /* Error occurs */ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(4,(resolver->name.ptr, - "Error transmitting request: %s", errmsg)); - - /* Let it fallback to timeout section below */ - } - } - - /* Clear hash table entries */ - pj_hash_set(NULL, resolver->hquerybyid, &q->id, sizeof(q->id), 0, NULL); - pj_hash_set(NULL, resolver->hquerybyres, &q->key, sizeof(q->key), 0, NULL); - - /* Call application callback, if any. */ - if (q->cb) - (*q->cb)(q->user_data, PJ_ETIMEDOUT, NULL); - - /* Call application callback for child queries. */ - cq = q->child_head.next; - while (cq != (void*)&q->child_head) { - if (cq->cb) - (*cq->cb)(cq->user_data, PJ_ETIMEDOUT, NULL); - cq = cq->next; - } - - /* Clear data */ - q->timer_entry.id = 0; - q->user_data = NULL; - - /* Put child entries into recycle list */ - cq = q->child_head.next; - while (cq != (void*)&q->child_head) { - pj_dns_async_query *next = cq->next; - pj_list_push_back(&resolver->query_free_nodes, cq); - cq = next; - } - - /* Put query entry into recycle list */ - pj_list_push_back(&resolver->query_free_nodes, q); - - pj_mutex_unlock(resolver->mutex); -} - - -/* Callback from ioqueue when packet is received */ -static void on_read_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read) -{ - pj_dns_resolver *resolver; - pj_pool_t *pool = NULL; - pj_dns_parsed_packet *dns_pkt; - pj_dns_async_query *q; - pj_status_t status; - PJ_USE_EXCEPTION; - - - resolver = (pj_dns_resolver *) pj_ioqueue_get_user_data(key); - pj_mutex_lock(resolver->mutex); - - - /* Check for errors */ - if (bytes_read < 0) { - char errmsg[PJ_ERR_MSG_SIZE]; - - status = -bytes_read; - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(4,(resolver->name.ptr, - "DNS resolver read error from %s:%d: %s", - pj_inet_ntoa(resolver->udp_src_addr.sin_addr), - pj_ntohs(resolver->udp_src_addr.sin_port), - errmsg)); - - goto read_next_packet; - } - - PJ_LOG(5,(resolver->name.ptr, - "Received %d bytes DNS response from %s:%d", - (int)bytes_read, - pj_inet_ntoa(resolver->udp_src_addr.sin_addr), - pj_ntohs(resolver->udp_src_addr.sin_port))); - - - /* Check for zero packet */ - if (bytes_read == 0) - goto read_next_packet; - - /* Create temporary pool from a fixed buffer */ - pool = pj_pool_create_on_buf("restmp", resolver->tmp_pool, - sizeof(resolver->tmp_pool)); - - /* Parse DNS response */ - status = -1; - dns_pkt = NULL; - PJ_TRY { - status = pj_dns_parse_packet(pool, resolver->udp_rx_pkt, - (unsigned)bytes_read, &dns_pkt); - } - PJ_CATCH_ANY { - status = PJ_ENOMEM; - } - PJ_END; - - /* Update nameserver status */ - report_nameserver_status(resolver, &resolver->udp_src_addr, dns_pkt); - - /* Handle parse error */ - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(3,(resolver->name.ptr, - "Error parsing DNS response from %s:%d: %s", - pj_inet_ntoa(resolver->udp_src_addr.sin_addr), - pj_ntohs(resolver->udp_src_addr.sin_port), - errmsg)); - goto read_next_packet; - } - - /* Find the query based on the transaction ID */ - q = (pj_dns_async_query*) - pj_hash_get(resolver->hquerybyid, &dns_pkt->hdr.id, - sizeof(dns_pkt->hdr.id), NULL); - if (!q) { - PJ_LOG(5,(resolver->name.ptr, - "DNS response from %s:%d id=%d discarded", - pj_inet_ntoa(resolver->udp_src_addr.sin_addr), - pj_ntohs(resolver->udp_src_addr.sin_port), - (unsigned)dns_pkt->hdr.id)); - goto read_next_packet; - } - - /* Map DNS Rcode in the response into PJLIB status name space */ - status = PJ_STATUS_FROM_DNS_RCODE(PJ_DNS_GET_RCODE(dns_pkt->hdr.flags)); - - /* Cancel query timeout timer. */ - pj_assert(q->timer_entry.id != 0); - pj_timer_heap_cancel(resolver->timer, &q->timer_entry); - q->timer_entry.id = 0; - - /* Clear hash table entries */ - pj_hash_set(NULL, resolver->hquerybyid, &q->id, sizeof(q->id), 0, NULL); - pj_hash_set(NULL, resolver->hquerybyres, &q->key, sizeof(q->key), 0, NULL); - - /* Workaround for deadlock problem in #1108 */ - pj_mutex_unlock(resolver->mutex); - - /* Notify applications first, to allow application to modify the - * record before it is saved to the hash table. - */ - if (q->cb) - (*q->cb)(q->user_data, status, dns_pkt); - - /* If query has subqueries, notify subqueries's application callback */ - if (!pj_list_empty(&q->child_head)) { - pj_dns_async_query *child_q; - - child_q = q->child_head.next; - while (child_q != (pj_dns_async_query*)&q->child_head) { - if (child_q->cb) - (*child_q->cb)(child_q->user_data, status, dns_pkt); - child_q = child_q->next; - } - } - - /* Workaround for deadlock problem in #1108 */ - pj_mutex_lock(resolver->mutex); - - /* Save/update response cache. */ - update_res_cache(resolver, &q->key, status, PJ_TRUE, dns_pkt); - - /* Recycle query objects, starting with the child queries */ - if (!pj_list_empty(&q->child_head)) { - pj_dns_async_query *child_q; - - child_q = q->child_head.next; - while (child_q != (pj_dns_async_query*)&q->child_head) { - pj_dns_async_query *next = child_q->next; - pj_list_erase(child_q); - pj_list_push_back(&resolver->query_free_nodes, child_q); - child_q = next; - } - } - pj_list_push_back(&resolver->query_free_nodes, q); - -read_next_packet: - if (pool) { - /* needed just in case PJ_HAS_POOL_ALT_API is set */ - pj_pool_release(pool); - } - bytes_read = sizeof(resolver->udp_rx_pkt); - resolver->udp_addr_len = sizeof(resolver->udp_src_addr); - status = pj_ioqueue_recvfrom(resolver->udp_key, op_key, - resolver->udp_rx_pkt, - &bytes_read, PJ_IOQUEUE_ALWAYS_ASYNC, - &resolver->udp_src_addr, - &resolver->udp_addr_len); - if (status != PJ_EPENDING) { - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(4,(resolver->name.ptr, "DNS resolver ioqueue read error: %s", - errmsg)); - - pj_assert(!"Unhandled error"); - } - - pj_mutex_unlock(resolver->mutex); -} - - -/* - * Put the specified DNS packet into DNS cache. This function is mainly used - * for testing the resolver, however it can also be used to inject entries - * into the resolver. - */ -PJ_DEF(pj_status_t) pj_dns_resolver_add_entry( pj_dns_resolver *resolver, - const pj_dns_parsed_packet *pkt, - pj_bool_t set_ttl) -{ - struct res_key key; - - /* Sanity check */ - PJ_ASSERT_RETURN(resolver && pkt, PJ_EINVAL); - - /* Packet must be a DNS response */ - PJ_ASSERT_RETURN(PJ_DNS_GET_QR(pkt->hdr.flags) & 1, PJ_EINVAL); - - /* Make sure there are answers in the packet */ - PJ_ASSERT_RETURN((pkt->hdr.anscount && pkt->ans) || - (pkt->hdr.qdcount && pkt->q), - PJLIB_UTIL_EDNSNOANSWERREC); - - pj_mutex_lock(resolver->mutex); - - /* Build resource key for looking up hash tables */ - pj_bzero(&key, sizeof(struct res_key)); - if (pkt->hdr.anscount) { - /* Make sure name is not too long. */ - PJ_ASSERT_RETURN(pkt->ans[0].name.slen < PJ_MAX_HOSTNAME, - PJ_ENAMETOOLONG); - - init_res_key(&key, pkt->ans[0].type, &pkt->ans[0].name); - - } else { - /* Make sure name is not too long. */ - PJ_ASSERT_RETURN(pkt->q[0].name.slen < PJ_MAX_HOSTNAME, - PJ_ENAMETOOLONG); - - init_res_key(&key, pkt->q[0].type, &pkt->q[0].name); - } - - /* Insert entry. */ - update_res_cache(resolver, &key, PJ_SUCCESS, set_ttl, pkt); - - pj_mutex_unlock(resolver->mutex); - - return PJ_SUCCESS; -} - - -/* - * Get the total number of response in the response cache. - */ -PJ_DEF(unsigned) pj_dns_resolver_get_cached_count(pj_dns_resolver *resolver) -{ - unsigned count; - - PJ_ASSERT_RETURN(resolver, 0); - - pj_mutex_lock(resolver->mutex); - count = pj_hash_count(resolver->hrescache); - pj_mutex_unlock(resolver->mutex); - - return count; -} - - -/* - * Dump resolver state to the log. - */ -PJ_DEF(void) pj_dns_resolver_dump(pj_dns_resolver *resolver, - pj_bool_t detail) -{ -#if PJ_LOG_MAX_LEVEL >= 3 - unsigned i; - pj_time_val now; - - pj_mutex_lock(resolver->mutex); - - pj_gettimeofday(&now); - - PJ_LOG(3,(resolver->name.ptr, " Dumping resolver state:")); - - PJ_LOG(3,(resolver->name.ptr, " Name servers:")); - for (i=0; ins_count; ++i) { - const char *state_names[] = { "probing", "active", "bad"}; - struct nameserver *ns = &resolver->ns[i]; - - PJ_LOG(3,(resolver->name.ptr, - " NS %d: %s:%d (state=%s until %ds, rtt=%d ms)", - i, pj_inet_ntoa(ns->addr.sin_addr), - pj_ntohs(ns->addr.sin_port), - state_names[ns->state], - ns->state_expiry.sec - now.sec, - PJ_TIME_VAL_MSEC(ns->rt_delay))); - } - - PJ_LOG(3,(resolver->name.ptr, " Nb. of cached responses: %u", - pj_hash_count(resolver->hrescache))); - if (detail) { - pj_hash_iterator_t itbuf, *it; - it = pj_hash_first(resolver->hrescache, &itbuf); - while (it) { - struct cached_res *cache; - cache = (struct cached_res*)pj_hash_this(resolver->hrescache, it); - PJ_LOG(3,(resolver->name.ptr, - " Type %s: %s", - pj_dns_get_type_name(cache->key.qtype), - cache->key.name)); - it = pj_hash_next(resolver->hrescache, it); - } - } - PJ_LOG(3,(resolver->name.ptr, " Nb. of pending queries: %u (%u)", - pj_hash_count(resolver->hquerybyid), - pj_hash_count(resolver->hquerybyres))); - if (detail) { - pj_hash_iterator_t itbuf, *it; - it = pj_hash_first(resolver->hquerybyid, &itbuf); - while (it) { - struct pj_dns_async_query *q; - q = (pj_dns_async_query*) pj_hash_this(resolver->hquerybyid, it); - PJ_LOG(3,(resolver->name.ptr, - " Type %s: %s", - pj_dns_get_type_name(q->key.qtype), - q->key.name)); - it = pj_hash_next(resolver->hquerybyid, it); - } - } - PJ_LOG(3,(resolver->name.ptr, " Nb. of pending query free nodes: %u", - pj_list_size(&resolver->query_free_nodes))); - PJ_LOG(3,(resolver->name.ptr, " Nb. of timer entries: %u", - pj_timer_heap_count(resolver->timer))); - PJ_LOG(3,(resolver->name.ptr, " Pool capacity: %d, used size: %d", - pj_pool_get_capacity(resolver->pool), - pj_pool_get_used_size(resolver->pool))); - - pj_mutex_unlock(resolver->mutex); -#endif -} - diff --git a/res/pjproject/pjlib-util/src/pjlib-util/resolver_wrap.cpp b/res/pjproject/pjlib-util/src/pjlib-util/resolver_wrap.cpp deleted file mode 100644 index f70bb0a0b4..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/resolver_wrap.cpp +++ /dev/null @@ -1,24 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * This file is a C++ wrapper, see ticket #886 for details. - */ - -#include "resolver.c" diff --git a/res/pjproject/pjlib-util/src/pjlib-util/scanner.c b/res/pjproject/pjlib-util/src/pjlib-util/scanner.c deleted file mode 100644 index 6fc68a4e53..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/scanner.c +++ /dev/null @@ -1,636 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include - -#define PJ_SCAN_IS_SPACE(c) ((c)==' ' || (c)=='\t') -#define PJ_SCAN_IS_NEWLINE(c) ((c)=='\r' || (c)=='\n') -#define PJ_SCAN_IS_PROBABLY_SPACE(c) ((c) <= 32) -#define PJ_SCAN_CHECK_EOF(s) (s != scanner->end) - - -#if defined(PJ_SCANNER_USE_BITWISE) && PJ_SCANNER_USE_BITWISE != 0 -# include "scanner_cis_bitwise.c" -#else -# include "scanner_cis_uint.c" -#endif - - -static void pj_scan_syntax_err(pj_scanner *scanner) -{ - (*scanner->callback)(scanner); -} - - -PJ_DEF(void) pj_cis_add_range(pj_cis_t *cis, int cstart, int cend) -{ - /* Can not set zero. This is the requirement of the parser. */ - pj_assert(cstart > 0); - - while (cstart != cend) { - PJ_CIS_SET(cis, cstart); - ++cstart; - } -} - -PJ_DEF(void) pj_cis_add_alpha(pj_cis_t *cis) -{ - pj_cis_add_range( cis, 'a', 'z'+1); - pj_cis_add_range( cis, 'A', 'Z'+1); -} - -PJ_DEF(void) pj_cis_add_num(pj_cis_t *cis) -{ - pj_cis_add_range( cis, '0', '9'+1); -} - -PJ_DEF(void) pj_cis_add_str( pj_cis_t *cis, const char *str) -{ - while (*str) { - PJ_CIS_SET(cis, *str); - ++str; - } -} - -PJ_DEF(void) pj_cis_add_cis( pj_cis_t *cis, const pj_cis_t *rhs) -{ - int i; - for (i=0; i<256; ++i) { - if (PJ_CIS_ISSET(rhs, i)) - PJ_CIS_SET(cis, i); - } -} - -PJ_DEF(void) pj_cis_del_range( pj_cis_t *cis, int cstart, int cend) -{ - while (cstart != cend) { - PJ_CIS_CLR(cis, cstart); - cstart++; - } -} - -PJ_DEF(void) pj_cis_del_str( pj_cis_t *cis, const char *str) -{ - while (*str) { - PJ_CIS_CLR(cis, *str); - ++str; - } -} - -PJ_DEF(void) pj_cis_invert( pj_cis_t *cis ) -{ - unsigned i; - /* Can not set zero. This is the requirement of the parser. */ - for (i=1; i<256; ++i) { - if (PJ_CIS_ISSET(cis,i)) - PJ_CIS_CLR(cis,i); - else - PJ_CIS_SET(cis,i); - } -} - -PJ_DEF(void) pj_scan_init( pj_scanner *scanner, char *bufstart, int buflen, - unsigned options, pj_syn_err_func_ptr callback ) -{ - PJ_CHECK_STACK(); - - scanner->begin = scanner->curptr = bufstart; - scanner->end = bufstart + buflen; - scanner->line = 1; - scanner->start_line = scanner->begin; - scanner->callback = callback; - scanner->skip_ws = options; - - if (scanner->skip_ws) - pj_scan_skip_whitespace(scanner); -} - - -PJ_DEF(void) pj_scan_fini( pj_scanner *scanner ) -{ - PJ_CHECK_STACK(); - PJ_UNUSED_ARG(scanner); -} - -PJ_DEF(void) pj_scan_skip_whitespace( pj_scanner *scanner ) -{ - register char *s = scanner->curptr; - - while (PJ_SCAN_IS_SPACE(*s)) { - ++s; - } - - if (PJ_SCAN_IS_NEWLINE(*s) && (scanner->skip_ws & PJ_SCAN_AUTOSKIP_NEWLINE)) { - for (;;) { - if (*s == '\r') { - ++s; - if (*s == '\n') ++s; - ++scanner->line; - scanner->curptr = scanner->start_line = s; - } else if (*s == '\n') { - ++s; - ++scanner->line; - scanner->curptr = scanner->start_line = s; - } else if (PJ_SCAN_IS_SPACE(*s)) { - do { - ++s; - } while (PJ_SCAN_IS_SPACE(*s)); - } else { - break; - } - } - } - - if (PJ_SCAN_IS_NEWLINE(*s) && (scanner->skip_ws & PJ_SCAN_AUTOSKIP_WS_HEADER)==PJ_SCAN_AUTOSKIP_WS_HEADER) { - /* Check for header continuation. */ - scanner->curptr = s; - - if (*s == '\r') { - ++s; - } - if (*s == '\n') { - ++s; - } - scanner->start_line = s; - - if (PJ_SCAN_IS_SPACE(*s)) { - register char *t = s; - do { - ++t; - } while (PJ_SCAN_IS_SPACE(*t)); - - ++scanner->line; - scanner->curptr = t; - } - } else { - scanner->curptr = s; - } -} - -PJ_DEF(void) pj_scan_skip_line( pj_scanner *scanner ) -{ - char *s = pj_ansi_strchr(scanner->curptr, '\n'); - if (!s) { - scanner->curptr = scanner->end; - } else { - scanner->curptr = scanner->start_line = s+1; - scanner->line++; - } -} - -PJ_DEF(int) pj_scan_peek( pj_scanner *scanner, - const pj_cis_t *spec, pj_str_t *out) -{ - register char *s = scanner->curptr; - - if (s >= scanner->end) { - pj_scan_syntax_err(scanner); - return -1; - } - - /* Don't need to check EOF with PJ_SCAN_CHECK_EOF(s) */ - while (pj_cis_match(spec, *s)) - ++s; - - pj_strset3(out, scanner->curptr, s); - return *s; -} - - -PJ_DEF(int) pj_scan_peek_n( pj_scanner *scanner, - pj_size_t len, pj_str_t *out) -{ - char *endpos = scanner->curptr + len; - - if (endpos > scanner->end) { - pj_scan_syntax_err(scanner); - return -1; - } - - pj_strset(out, scanner->curptr, len); - return *endpos; -} - - -PJ_DEF(int) pj_scan_peek_until( pj_scanner *scanner, - const pj_cis_t *spec, - pj_str_t *out) -{ - register char *s = scanner->curptr; - - if (s >= scanner->end) { - pj_scan_syntax_err(scanner); - return -1; - } - - while (PJ_SCAN_CHECK_EOF(s) && !pj_cis_match( spec, *s)) - ++s; - - pj_strset3(out, scanner->curptr, s); - return *s; -} - - -PJ_DEF(void) pj_scan_get( pj_scanner *scanner, - const pj_cis_t *spec, pj_str_t *out) -{ - register char *s = scanner->curptr; - - pj_assert(pj_cis_match(spec,0)==0); - - /* EOF is detected implicitly */ - if (!pj_cis_match(spec, *s)) { - pj_scan_syntax_err(scanner); - return; - } - - do { - ++s; - } while (pj_cis_match(spec, *s)); - /* No need to check EOF here (PJ_SCAN_CHECK_EOF(s)) because - * buffer is NULL terminated and pj_cis_match(spec,0) should be - * false. - */ - - pj_strset3(out, scanner->curptr, s); - - scanner->curptr = s; - - if (PJ_SCAN_IS_PROBABLY_SPACE(*s) && scanner->skip_ws) { - pj_scan_skip_whitespace(scanner); - } -} - - -PJ_DEF(void) pj_scan_get_unescape( pj_scanner *scanner, - const pj_cis_t *spec, pj_str_t *out) -{ - register char *s = scanner->curptr; - char *dst = s; - - pj_assert(pj_cis_match(spec,0)==0); - - /* Must not match character '%' */ - pj_assert(pj_cis_match(spec,'%')==0); - - /* EOF is detected implicitly */ - if (!pj_cis_match(spec, *s) && *s != '%') { - pj_scan_syntax_err(scanner); - return; - } - - out->ptr = s; - do { - if (*s == '%') { - if (s+3 <= scanner->end && pj_isxdigit(*(s+1)) && - pj_isxdigit(*(s+2))) - { - *dst = (pj_uint8_t) ((pj_hex_digit_to_val(*(s+1)) << 4) + - pj_hex_digit_to_val(*(s+2))); - ++dst; - s += 3; - } else { - *dst++ = *s++; - *dst++ = *s++; - break; - } - } - - if (pj_cis_match(spec, *s)) { - char *start = s; - do { - ++s; - } while (pj_cis_match(spec, *s)); - - if (dst != start) pj_memmove(dst, start, s-start); - dst += (s-start); - } - - } while (*s == '%'); - - scanner->curptr = s; - out->slen = (dst - out->ptr); - - if (PJ_SCAN_IS_PROBABLY_SPACE(*s) && scanner->skip_ws) { - pj_scan_skip_whitespace(scanner); - } -} - - -PJ_DEF(void) pj_scan_get_quote( pj_scanner *scanner, - int begin_quote, int end_quote, - pj_str_t *out) -{ - char beg = (char)begin_quote; - char end = (char)end_quote; - pj_scan_get_quotes(scanner, &beg, &end, 1, out); -} - -PJ_DEF(void) pj_scan_get_quotes(pj_scanner *scanner, - const char *begin_quote, const char *end_quote, - int qsize, pj_str_t *out) -{ - register char *s = scanner->curptr; - int qpair = -1; - int i; - - pj_assert(qsize > 0); - - /* Check and eat the begin_quote. */ - for (i = 0; i < qsize; ++i) { - if (*s == begin_quote[i]) { - qpair = i; - break; - } - } - if (qpair == -1) { - pj_scan_syntax_err(scanner); - return; - } - ++s; - - /* Loop until end_quote is found. - */ - do { - /* loop until end_quote is found. */ - while (PJ_SCAN_CHECK_EOF(s) && *s != '\n' && *s != end_quote[qpair]) { - ++s; - } - - /* check that no backslash character precedes the end_quote. */ - if (*s == end_quote[qpair]) { - if (*(s-1) == '\\') { - if (s-2 == scanner->begin) { - break; - } else { - char *q = s-2; - char *r = s-2; - - while (r != scanner->begin && *r == '\\') { - --r; - } - /* break from main loop if we have odd number of backslashes */ - if (((unsigned)(q-r) & 0x01) == 1) { - ++s; - break; - } - ++s; - } - } else { - /* end_quote is not preceeded by backslash. break now. */ - break; - } - } else { - /* loop ended by non-end_quote character. break now. */ - break; - } - } while (1); - - /* Check and eat the end quote. */ - if (*s != end_quote[qpair]) { - pj_scan_syntax_err(scanner); - return; - } - ++s; - - pj_strset3(out, scanner->curptr, s); - - scanner->curptr = s; - - if (PJ_SCAN_IS_PROBABLY_SPACE(*s) && scanner->skip_ws) { - pj_scan_skip_whitespace(scanner); - } -} - - -PJ_DEF(void) pj_scan_get_n( pj_scanner *scanner, - unsigned N, pj_str_t *out) -{ - if (scanner->curptr + N > scanner->end) { - pj_scan_syntax_err(scanner); - return; - } - - pj_strset(out, scanner->curptr, N); - - scanner->curptr += N; - - if (PJ_SCAN_IS_PROBABLY_SPACE(*scanner->curptr) && scanner->skip_ws) { - pj_scan_skip_whitespace(scanner); - } -} - - -PJ_DEF(int) pj_scan_get_char( pj_scanner *scanner ) -{ - int chr = *scanner->curptr; - - if (!chr) { - pj_scan_syntax_err(scanner); - return 0; - } - - ++scanner->curptr; - - if (PJ_SCAN_IS_PROBABLY_SPACE(*scanner->curptr) && scanner->skip_ws) { - pj_scan_skip_whitespace(scanner); - } - return chr; -} - - -PJ_DEF(void) pj_scan_get_newline( pj_scanner *scanner ) -{ - if (!PJ_SCAN_IS_NEWLINE(*scanner->curptr)) { - pj_scan_syntax_err(scanner); - return; - } - - if (*scanner->curptr == '\r') { - ++scanner->curptr; - } - if (*scanner->curptr == '\n') { - ++scanner->curptr; - } - - ++scanner->line; - scanner->start_line = scanner->curptr; - - /** - * This probably is a bug, see PROTOS test #2480. - * This would cause scanner to incorrectly eat two new lines, e.g. - * when parsing: - * - * Content-Length: 120\r\n - * \r\n - * ... - * - * When pj_scan_get_newline() is called to parse the first newline - * in the Content-Length header, it will eat the second newline - * too because it thinks that it's a header continuation. - * - * if (PJ_SCAN_IS_PROBABLY_SPACE(*scanner->curptr) && scanner->skip_ws) { - * pj_scan_skip_whitespace(scanner); - * } - */ -} - - -PJ_DEF(void) pj_scan_get_until( pj_scanner *scanner, - const pj_cis_t *spec, pj_str_t *out) -{ - register char *s = scanner->curptr; - - if (s >= scanner->end) { - pj_scan_syntax_err(scanner); - return; - } - - while (PJ_SCAN_CHECK_EOF(s) && !pj_cis_match(spec, *s)) { - ++s; - } - - pj_strset3(out, scanner->curptr, s); - - scanner->curptr = s; - - if (PJ_SCAN_IS_PROBABLY_SPACE(*s) && scanner->skip_ws) { - pj_scan_skip_whitespace(scanner); - } -} - - -PJ_DEF(void) pj_scan_get_until_ch( pj_scanner *scanner, - int until_char, pj_str_t *out) -{ - register char *s = scanner->curptr; - - if (s >= scanner->end) { - pj_scan_syntax_err(scanner); - return; - } - - while (PJ_SCAN_CHECK_EOF(s) && *s != until_char) { - ++s; - } - - pj_strset3(out, scanner->curptr, s); - - scanner->curptr = s; - - if (PJ_SCAN_IS_PROBABLY_SPACE(*s) && scanner->skip_ws) { - pj_scan_skip_whitespace(scanner); - } -} - - -PJ_DEF(void) pj_scan_get_until_chr( pj_scanner *scanner, - const char *until_spec, pj_str_t *out) -{ - register char *s = scanner->curptr; - int speclen; - - if (s >= scanner->end) { - pj_scan_syntax_err(scanner); - return; - } - - speclen = strlen(until_spec); - while (PJ_SCAN_CHECK_EOF(s) && !memchr(until_spec, *s, speclen)) { - ++s; - } - - pj_strset3(out, scanner->curptr, s); - - scanner->curptr = s; - - if (PJ_SCAN_IS_PROBABLY_SPACE(*s) && scanner->skip_ws) { - pj_scan_skip_whitespace(scanner); - } -} - -PJ_DEF(void) pj_scan_advance_n( pj_scanner *scanner, - unsigned N, pj_bool_t skip_ws) -{ - if (scanner->curptr + N > scanner->end) { - pj_scan_syntax_err(scanner); - return; - } - - scanner->curptr += N; - - if (PJ_SCAN_IS_PROBABLY_SPACE(*scanner->curptr) && skip_ws) { - pj_scan_skip_whitespace(scanner); - } -} - - -PJ_DEF(int) pj_scan_strcmp( pj_scanner *scanner, const char *s, int len) -{ - if (scanner->curptr + len > scanner->end) { - pj_scan_syntax_err(scanner); - return -1; - } - return strncmp(scanner->curptr, s, len); -} - - -PJ_DEF(int) pj_scan_stricmp( pj_scanner *scanner, const char *s, int len) -{ - if (scanner->curptr + len > scanner->end) { - pj_scan_syntax_err(scanner); - return -1; - } - return pj_ansi_strnicmp(scanner->curptr, s, len); -} - -PJ_DEF(int) pj_scan_stricmp_alnum( pj_scanner *scanner, const char *s, - int len) -{ - if (scanner->curptr + len > scanner->end) { - pj_scan_syntax_err(scanner); - return -1; - } - return strnicmp_alnum(scanner->curptr, s, len); -} - -PJ_DEF(void) pj_scan_save_state( const pj_scanner *scanner, - pj_scan_state *state) -{ - state->curptr = scanner->curptr; - state->line = scanner->line; - state->start_line = scanner->start_line; -} - - -PJ_DEF(void) pj_scan_restore_state( pj_scanner *scanner, - pj_scan_state *state) -{ - scanner->curptr = state->curptr; - scanner->line = state->line; - scanner->start_line = state->start_line; -} - - diff --git a/res/pjproject/pjlib-util/src/pjlib-util/scanner_cis_bitwise.c b/res/pjproject/pjlib-util/src/pjlib-util/scanner_cis_bitwise.c deleted file mode 100644 index 7eea1c2a26..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/scanner_cis_bitwise.c +++ /dev/null @@ -1,69 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * THIS FILE IS INCLUDED BY scanner.c. - * DO NOT COMPILE THIS FILE ALONE! - */ - -PJ_DEF(void) pj_cis_buf_init( pj_cis_buf_t *cis_buf) -{ - pj_bzero(cis_buf->cis_buf, sizeof(cis_buf->cis_buf)); - cis_buf->use_mask = 0; -} - -PJ_DEF(pj_status_t) pj_cis_init(pj_cis_buf_t *cis_buf, pj_cis_t *cis) -{ - unsigned i; - - cis->cis_buf = cis_buf->cis_buf; - - for (i=0; iuse_mask & (1 << i)) == 0) { - cis->cis_id = i; - cis_buf->use_mask |= (1 << i); - return PJ_SUCCESS; - } - } - - cis->cis_id = PJ_CIS_MAX_INDEX; - return PJ_ETOOMANY; -} - -PJ_DEF(pj_status_t) pj_cis_dup( pj_cis_t *new_cis, pj_cis_t *existing) -{ - pj_status_t status; - unsigned i; - - /* Warning: typecasting here! */ - status = pj_cis_init((pj_cis_buf_t*)existing->cis_buf, new_cis); - if (status != PJ_SUCCESS) - return status; - - for (i=0; i<256; ++i) { - if (PJ_CIS_ISSET(existing, i)) - PJ_CIS_SET(new_cis, i); - else - PJ_CIS_CLR(new_cis, i); - } - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjlib-util/src/pjlib-util/scanner_cis_uint.c b/res/pjproject/pjlib-util/src/pjlib-util/scanner_cis_uint.c deleted file mode 100644 index 4e126a783c..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/scanner_cis_uint.c +++ /dev/null @@ -1,46 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * THIS FILE IS INCLUDED BY scanner.c. - * DO NOT COMPILE THIS FILE ALONE! - */ - - -PJ_DEF(void) pj_cis_buf_init( pj_cis_buf_t *cis_buf) -{ - /* Do nothing. */ - PJ_UNUSED_ARG(cis_buf); -} - -PJ_DEF(pj_status_t) pj_cis_init(pj_cis_buf_t *cis_buf, pj_cis_t *cis) -{ - PJ_UNUSED_ARG(cis_buf); - pj_bzero(cis->cis_buf, sizeof(cis->cis_buf)); - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_cis_dup( pj_cis_t *new_cis, pj_cis_t *existing) -{ - pj_memcpy(new_cis, existing, sizeof(pj_cis_t)); - return PJ_SUCCESS; -} - - diff --git a/res/pjproject/pjlib-util/src/pjlib-util/sha1.c b/res/pjproject/pjlib-util/src/pjlib-util/sha1.c deleted file mode 100644 index d36e34e021..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/sha1.c +++ /dev/null @@ -1,262 +0,0 @@ -/* $Id$ */ -/* - * Modified 2/07 - * By Benny Prijono - * Still 100% Public Domain - * - * This is the implementation of SHA-1 encryption algorithm based on - * Steve Reid work. Modified to work with PJLIB. - */ - -/* -SHA-1 in C -By Steve Reid -100% Public Domain - ------------------ -Modified 7/98 -By James H. Brown -Still 100% Public Domain - -Corrected a problem which generated improper hash values on 16 bit machines -Routine SHA1Update changed from - void SHA1Update(SHA1_CTX* context, unsigned char* data, unsigned int -len) -to - void SHA1Update(SHA1_CTX* context, unsigned char* data, unsigned -long len) - -The 'len' parameter was declared an int which works fine on 32 bit machines. -However, on 16 bit machines an int is too small for the shifts being done -against -it. This caused the hash function to generate incorrect values if len was -greater than 8191 (8K - 1) due to the 'len << 3' on line 3 of SHA1Update(). - -Since the file IO in main() reads 16K at a time, any file 8K or larger would -be guaranteed to generate the wrong hash (e.g. Test Vector #3, a million -"a"s). - -I also changed the declaration of variables i & j in SHA1Update to -unsigned long from unsigned int for the same reason. - -These changes should make no difference to any 32 bit implementations since -an -int and a long are the same size in those environments. - --- -I also corrected a few compiler warnings generated by Borland C. -1. Added #include for exit() prototype -2. Removed unused variable 'j' in SHA1Final -3. Changed exit(0) to return(0) at end of main. - -ALL changes I made can be located by searching for comments containing 'JHB' ------------------ -Modified 8/98 -By Steve Reid -Still 100% public domain - -1- Removed #include and used return() instead of exit() -2- Fixed overwriting of finalcount in SHA1Final() (discovered by Chris Hall) -3- Changed email address from steve@edmweb.com to sreid@sea-to-sky.net - ------------------ -Modified 4/01 -By Saul Kravitz -Still 100% PD -Modified to run on Compaq Alpha hardware. - ------------------ -Modified 07/2002 -By Ralph Giles -Still 100% public domain -modified for use with stdint types, autoconf -code cleanup, removed attribution comments -switched SHA1Final() argument order for consistency -use SHA1_ prefix for public api -move public api to sha1.h -*/ - -/* -Test Vectors (from FIPS PUB 180-1) -"abc" - A9993E36 4706816A BA3E2571 7850C26C 9CD0D89D -"abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq" - 84983E44 1C3BD26E BAAE4AA1 F95129E5 E54670F1 -A million repetitions of "a" - 34AA973C D4C4DAA4 F61EEB2B DBAD2731 6534016F -*/ - -/* #define SHA1HANDSOFF */ -/* blp: -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include -#include - -#include "os_types.h" - -#include "sha1.h" -*/ -#include -#include - -#undef SHA1HANDSOFF - - -static void SHA1_Transform(pj_uint32_t state[5], pj_uint8_t buffer[64]); - -#define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits)))) - -/* blk0() and blk() perform the initial expand. */ -/* I got the idea of expanding during the round function from SSLeay */ -/* FIXME: can we do this in an endian-proof way? */ -/* #ifdef WORDS_BIGENDIAN */ -#if defined(PJ_IS_BIG_ENDIAN) && PJ_IS_BIG_ENDIAN != 0 -#define blk0(i) block->l[i] -#else -#define blk0(i) (block->l[i] = (rol(block->l[i],24)&0xFF00FF00) \ - |(rol(block->l[i],8)&0x00FF00FF)) -#endif -#define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \ - ^block->l[(i+2)&15]^block->l[i&15],1)) - -/* (R0+R1), R2, R3, R4 are the different operations used in SHA1 */ -#define R0(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk0(i)+0x5A827999+rol(v,5);w=rol(w,30); -#define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30); -#define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30); -#define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30); -#define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30); - - -/* Hash a single 512-bit block. This is the core of the algorithm. */ -static void SHA1_Transform(pj_uint32_t state[5], pj_uint8_t buffer[64]) -{ - pj_uint32_t a, b, c, d, e; - typedef union { - pj_uint8_t c[64]; - pj_uint32_t l[16]; - } CHAR64LONG16; - CHAR64LONG16* block; - -#ifdef SHA1HANDSOFF - static pj_uint8_t workspace[64]; - block = (CHAR64LONG16*)workspace; - pj_memcpy(block, buffer, 64); -#else - block = (CHAR64LONG16*)buffer; -#endif - - /* Copy context->state[] to working vars */ - a = state[0]; - b = state[1]; - c = state[2]; - d = state[3]; - e = state[4]; - - /* 4 rounds of 20 operations each. Loop unrolled. */ - R0(a,b,c,d,e, 0); R0(e,a,b,c,d, 1); R0(d,e,a,b,c, 2); R0(c,d,e,a,b, 3); - R0(b,c,d,e,a, 4); R0(a,b,c,d,e, 5); R0(e,a,b,c,d, 6); R0(d,e,a,b,c, 7); - R0(c,d,e,a,b, 8); R0(b,c,d,e,a, 9); R0(a,b,c,d,e,10); R0(e,a,b,c,d,11); - R0(d,e,a,b,c,12); R0(c,d,e,a,b,13); R0(b,c,d,e,a,14); R0(a,b,c,d,e,15); - R1(e,a,b,c,d,16); R1(d,e,a,b,c,17); R1(c,d,e,a,b,18); R1(b,c,d,e,a,19); - R2(a,b,c,d,e,20); R2(e,a,b,c,d,21); R2(d,e,a,b,c,22); R2(c,d,e,a,b,23); - R2(b,c,d,e,a,24); R2(a,b,c,d,e,25); R2(e,a,b,c,d,26); R2(d,e,a,b,c,27); - R2(c,d,e,a,b,28); R2(b,c,d,e,a,29); R2(a,b,c,d,e,30); R2(e,a,b,c,d,31); - R2(d,e,a,b,c,32); R2(c,d,e,a,b,33); R2(b,c,d,e,a,34); R2(a,b,c,d,e,35); - R2(e,a,b,c,d,36); R2(d,e,a,b,c,37); R2(c,d,e,a,b,38); R2(b,c,d,e,a,39); - R3(a,b,c,d,e,40); R3(e,a,b,c,d,41); R3(d,e,a,b,c,42); R3(c,d,e,a,b,43); - R3(b,c,d,e,a,44); R3(a,b,c,d,e,45); R3(e,a,b,c,d,46); R3(d,e,a,b,c,47); - R3(c,d,e,a,b,48); R3(b,c,d,e,a,49); R3(a,b,c,d,e,50); R3(e,a,b,c,d,51); - R3(d,e,a,b,c,52); R3(c,d,e,a,b,53); R3(b,c,d,e,a,54); R3(a,b,c,d,e,55); - R3(e,a,b,c,d,56); R3(d,e,a,b,c,57); R3(c,d,e,a,b,58); R3(b,c,d,e,a,59); - R4(a,b,c,d,e,60); R4(e,a,b,c,d,61); R4(d,e,a,b,c,62); R4(c,d,e,a,b,63); - R4(b,c,d,e,a,64); R4(a,b,c,d,e,65); R4(e,a,b,c,d,66); R4(d,e,a,b,c,67); - R4(c,d,e,a,b,68); R4(b,c,d,e,a,69); R4(a,b,c,d,e,70); R4(e,a,b,c,d,71); - R4(d,e,a,b,c,72); R4(c,d,e,a,b,73); R4(b,c,d,e,a,74); R4(a,b,c,d,e,75); - R4(e,a,b,c,d,76); R4(d,e,a,b,c,77); R4(c,d,e,a,b,78); R4(b,c,d,e,a,79); - - /* Add the working vars back into context.state[] */ - state[0] += a; - state[1] += b; - state[2] += c; - state[3] += d; - state[4] += e; - - /* Wipe variables */ - a = b = c = d = e = 0; -} - - -/* SHA1Init - Initialize new context */ -PJ_DEF(void) pj_sha1_init(pj_sha1_context* context) -{ - /* SHA1 initialization constants */ - context->state[0] = 0x67452301; - context->state[1] = 0xEFCDAB89; - context->state[2] = 0x98BADCFE; - context->state[3] = 0x10325476; - context->state[4] = 0xC3D2E1F0; - context->count[0] = context->count[1] = 0; -} - - -/* Run your data through this. */ -PJ_DEF(void) pj_sha1_update(pj_sha1_context* context, - const pj_uint8_t* data, const pj_size_t len) -{ - pj_size_t i, j; - - j = (context->count[0] >> 3) & 63; - if ((context->count[0] += len << 3) < (len << 3)) context->count[1]++; - context->count[1] += (len >> 29); - if ((j + len) > 63) { - pj_memcpy(&context->buffer[j], data, (i = 64-j)); - SHA1_Transform(context->state, context->buffer); - for ( ; i + 63 < len; i += 64) { - pj_uint8_t tmp[64]; - pj_memcpy(tmp, data + i, 64); - SHA1_Transform(context->state, tmp); - } - j = 0; - } - else i = 0; - pj_memcpy(&context->buffer[j], &data[i], len - i); - -} - - -/* Add padding and return the message digest. */ -PJ_DEF(void) pj_sha1_final(pj_sha1_context* context, - pj_uint8_t digest[PJ_SHA1_DIGEST_SIZE]) -{ - pj_uint32_t i; - pj_uint8_t finalcount[8]; - - for (i = 0; i < 8; i++) { - finalcount[i] = (unsigned char)((context->count[(i >= 4 ? 0 : 1)] - >> ((3-(i & 3)) * 8) ) & 255); /* Endian independent */ - } - pj_sha1_update(context, (pj_uint8_t *)"\200", 1); - while ((context->count[0] & 504) != 448) { - pj_sha1_update(context, (pj_uint8_t *)"\0", 1); - } - pj_sha1_update(context, finalcount, 8); /* Should cause a SHA1_Transform() */ - for (i = 0; i < PJ_SHA1_DIGEST_SIZE; i++) { - digest[i] = (pj_uint8_t) - ((context->state[i>>2] >> ((3-(i & 3)) * 8) ) & 255); - } - - /* Wipe variables */ - i = 0; - pj_memset(context->buffer, 0, 64); - pj_memset(context->state, 0, 20); - pj_memset(context->count, 0, 8); - pj_memset(finalcount, 0, 8); /* SWR */ - -#ifdef SHA1HANDSOFF /* make SHA1Transform overwrite its own static vars */ - SHA1_Transform(context->state, context->buffer); -#endif -} - diff --git a/res/pjproject/pjlib-util/src/pjlib-util/srv_resolver.c b/res/pjproject/pjlib-util/src/pjlib-util/srv_resolver.c deleted file mode 100644 index 7a1a99a6e8..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/srv_resolver.c +++ /dev/null @@ -1,674 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#define THIS_FILE "srv_resolver.c" - -#define ADDR_MAX_COUNT PJ_DNS_MAX_IP_IN_A_REC - -struct common -{ - pj_dns_type type; /**< Type of this structure.*/ -}; - -struct srv_target -{ - struct common common; - pj_dns_srv_async_query *parent; - pj_str_t target_name; - pj_dns_async_query *q_a; - char target_buf[PJ_MAX_HOSTNAME]; - pj_str_t cname; - char cname_buf[PJ_MAX_HOSTNAME]; - unsigned port; - unsigned priority; - unsigned weight; - unsigned sum; - unsigned addr_cnt; - pj_in_addr addr[ADDR_MAX_COUNT]; -}; - -struct pj_dns_srv_async_query -{ - struct common common; - char *objname; - - pj_dns_type dns_state; /**< DNS type being resolved. */ - pj_dns_resolver *resolver; /**< Resolver SIP instance. */ - void *token; - pj_dns_async_query *q_srv; - pj_dns_srv_resolver_cb *cb; - pj_status_t last_error; - - /* Original request: */ - unsigned option; - pj_str_t full_name; - pj_str_t domain_part; - pj_uint16_t def_port; - - /* SRV records and their resolved IP addresses: */ - unsigned srv_cnt; - struct srv_target srv[PJ_DNS_SRV_MAX_ADDR]; - - /* Number of hosts in SRV records that the IP address has been resolved */ - unsigned host_resolved; - -}; - - -/* Async resolver callback, forward decl. */ -static void dns_callback(void *user_data, - pj_status_t status, - pj_dns_parsed_packet *pkt); - - - -/* - * The public API to invoke DNS SRV resolution. - */ -PJ_DEF(pj_status_t) pj_dns_srv_resolve( const pj_str_t *domain_name, - const pj_str_t *res_name, - unsigned def_port, - pj_pool_t *pool, - pj_dns_resolver *resolver, - unsigned option, - void *token, - pj_dns_srv_resolver_cb *cb, - pj_dns_srv_async_query **p_query) -{ - int len; - pj_str_t target_name; - pj_dns_srv_async_query *query_job; - pj_status_t status; - - PJ_ASSERT_RETURN(domain_name && domain_name->slen && - res_name && res_name->slen && - pool && resolver && cb, PJ_EINVAL); - - /* Build full name */ - len = domain_name->slen + res_name->slen + 2; - target_name.ptr = (char*) pj_pool_alloc(pool, len); - pj_strcpy(&target_name, res_name); - if (res_name->ptr[res_name->slen-1] != '.') - pj_strcat2(&target_name, "."); - len = target_name.slen; - pj_strcat(&target_name, domain_name); - target_name.ptr[target_name.slen] = '\0'; - - - /* Build the query_job state */ - query_job = PJ_POOL_ZALLOC_T(pool, pj_dns_srv_async_query); - query_job->common.type = PJ_DNS_TYPE_SRV; - query_job->objname = target_name.ptr; - query_job->resolver = resolver; - query_job->token = token; - query_job->cb = cb; - query_job->option = option; - query_job->full_name = target_name; - query_job->domain_part.ptr = target_name.ptr + len; - query_job->domain_part.slen = target_name.slen - len; - query_job->def_port = (pj_uint16_t)def_port; - - /* Start the asynchronous query_job */ - - query_job->dns_state = PJ_DNS_TYPE_SRV; - - PJ_LOG(5, (query_job->objname, - "Starting async DNS %s query_job: target=%.*s:%d", - pj_dns_get_type_name(query_job->dns_state), - (int)target_name.slen, target_name.ptr, - def_port)); - - status = pj_dns_resolver_start_query(resolver, &target_name, - query_job->dns_state, 0, - &dns_callback, - query_job, &query_job->q_srv); - if (status==PJ_SUCCESS && p_query) - *p_query = query_job; - - return status; -} - - -/* - * Cancel pending query. - */ -PJ_DEF(pj_status_t) pj_dns_srv_cancel_query(pj_dns_srv_async_query *query, - pj_bool_t notify) -{ - pj_bool_t has_pending = PJ_FALSE; - unsigned i; - - if (query->q_srv) { - pj_dns_resolver_cancel_query(query->q_srv, PJ_FALSE); - query->q_srv = NULL; - has_pending = PJ_TRUE; - } - - for (i=0; isrv_cnt; ++i) { - struct srv_target *srv = &query->srv[i]; - if (srv->q_a) { - pj_dns_resolver_cancel_query(srv->q_a, PJ_FALSE); - srv->q_a = NULL; - has_pending = PJ_TRUE; - } - } - - if (has_pending && notify && query->cb) { - (*query->cb)(query->token, PJ_ECANCELLED, NULL); - } - - return has_pending? PJ_SUCCESS : PJ_EINVALIDOP; -} - - -#define SWAP(type,ptr1,ptr2) if (ptr1 != ptr2) { \ - type tmp; \ - pj_memcpy(&tmp, ptr1, sizeof(type)); \ - pj_memcpy(ptr1, ptr2, sizeof(type)); \ - (ptr1)->target_name.ptr = (ptr1)->target_buf;\ - pj_memcpy(ptr2, &tmp, sizeof(type)); \ - (ptr2)->target_name.ptr = (ptr2)->target_buf;\ - } else {} - - -/* Build server entries in the query_job based on received SRV response */ -static void build_server_entries(pj_dns_srv_async_query *query_job, - pj_dns_parsed_packet *response) -{ - unsigned i; - - /* Save the Resource Records in DNS answer into SRV targets. */ - query_job->srv_cnt = 0; - for (i=0; ihdr.anscount && - query_job->srv_cnt < PJ_DNS_SRV_MAX_ADDR; ++i) - { - pj_dns_parsed_rr *rr = &response->ans[i]; - struct srv_target *srv = &query_job->srv[query_job->srv_cnt]; - - if (rr->type != PJ_DNS_TYPE_SRV) { - PJ_LOG(4,(query_job->objname, - "Received non SRV answer for SRV query_job!")); - continue; - } - - if (rr->rdata.srv.target.slen > PJ_MAX_HOSTNAME) { - PJ_LOG(4,(query_job->objname, "Hostname is too long!")); - continue; - } - - /* Build the SRV entry for RR */ - pj_bzero(srv, sizeof(*srv)); - srv->target_name.ptr = srv->target_buf; - pj_strncpy(&srv->target_name, &rr->rdata.srv.target, - sizeof(srv->target_buf)); - srv->port = rr->rdata.srv.port; - srv->priority = rr->rdata.srv.prio; - srv->weight = rr->rdata.srv.weight; - - ++query_job->srv_cnt; - } - - if (query_job->srv_cnt == 0) { - PJ_LOG(4,(query_job->objname, - "Could not find SRV record in DNS answer!")); - return; - } - - /* First pass: - * order the entries based on priority. - */ - for (i=0; isrv_cnt-1; ++i) { - unsigned min = i, j; - for (j=i+1; jsrv_cnt; ++j) { - if (query_job->srv[j].priority < query_job->srv[min].priority) - min = j; - } - SWAP(struct srv_target, &query_job->srv[i], &query_job->srv[min]); - } - - /* Second pass: - * pick one host among hosts with the same priority, according - * to its weight. The idea is when one server fails, client should - * contact the next server with higher priority rather than contacting - * server with the same priority as the failed one. - * - * The algorithm for selecting server among servers with the same - * priority is described in RFC 2782. - */ - for (i=0; isrv_cnt; ++i) { - unsigned j, count=1, sum; - - /* Calculate running sum for servers with the same priority */ - sum = query_job->srv[i].sum = query_job->srv[i].weight; - for (j=i+1; jsrv_cnt && - query_job->srv[j].priority == query_job->srv[i].priority; ++j) - { - sum += query_job->srv[j].weight; - query_job->srv[j].sum = sum; - ++count; - } - - if (count > 1) { - unsigned r; - - /* Elect one random number between zero and the total sum of - * weight (inclusive). - */ - r = pj_rand() % (sum + 1); - - /* Select the first server which running sum is greater than or - * equal to the random number. - */ - for (j=i; jsrv[j].sum >= r) - break; - } - - /* Must have selected one! */ - pj_assert(j != i+count); - - /* Put this entry in front (of entries with same priority) */ - SWAP(struct srv_target, &query_job->srv[i], &query_job->srv[j]); - - /* Remove all other entries (of the same priority) */ - while (count > 1) { - pj_array_erase(query_job->srv, sizeof(struct srv_target), - query_job->srv_cnt, i+1); - --count; - --query_job->srv_cnt; - } - } - } - - /* Since we've been moving around SRV entries, update the pointers - * in target_name. - */ - for (i=0; isrv_cnt; ++i) { - query_job->srv[i].target_name.ptr = query_job->srv[i].target_buf; - } - - /* Check for Additional Info section if A records are available, and - * fill in the IP address (so that we won't need to resolve the A - * record with another DNS query_job). - */ - for (i=0; ihdr.arcount; ++i) { - pj_dns_parsed_rr *rr = &response->arr[i]; - unsigned j; - - if (rr->type != PJ_DNS_TYPE_A) - continue; - - /* Yippeaiyee!! There is an "A" record! - * Update the IP address of the corresponding SRV record. - */ - for (j=0; jsrv_cnt; ++j) { - if (pj_stricmp(&rr->name, &query_job->srv[j].target_name)==0) { - unsigned cnt = query_job->srv[j].addr_cnt; - query_job->srv[j].addr[cnt].s_addr = rr->rdata.a.ip_addr.s_addr; - /* Only increment host_resolved once per SRV record */ - if (query_job->srv[j].addr_cnt == 0) - ++query_job->host_resolved; - ++query_job->srv[j].addr_cnt; - break; - } - } - - /* Not valid message; SRV entry might have been deleted in - * server selection process. - */ - /* - if (j == query_job->srv_cnt) { - PJ_LOG(4,(query_job->objname, - "Received DNS SRV answer with A record, but " - "couldn't find matching name (name=%.*s)", - (int)rr->name.slen, - rr->name.ptr)); - } - */ - } - - /* Rescan again the name specified in the SRV record to see if IP - * address is specified as the target name (unlikely, but well, who - * knows..). - */ - for (i=0; isrv_cnt; ++i) { - pj_in_addr addr; - - if (query_job->srv[i].addr_cnt != 0) { - /* IP address already resolved */ - continue; - } - - if (pj_inet_aton(&query_job->srv[i].target_name, &addr) != 0) { - query_job->srv[i].addr[query_job->srv[i].addr_cnt++] = addr; - ++query_job->host_resolved; - } - } - - /* Print resolved entries to the log */ - PJ_LOG(5,(query_job->objname, - "SRV query_job for %.*s completed, " - "%d of %d total entries selected%c", - (int)query_job->full_name.slen, - query_job->full_name.ptr, - query_job->srv_cnt, - response->hdr.anscount, - (query_job->srv_cnt ? ':' : ' '))); - - for (i=0; isrv_cnt; ++i) { - const char *addr; - - if (query_job->srv[i].addr_cnt != 0) - addr = pj_inet_ntoa(query_job->srv[i].addr[0]); - else - addr = "-"; - - PJ_LOG(5,(query_job->objname, - " %d: SRV %d %d %d %.*s (%s)", - i, query_job->srv[i].priority, - query_job->srv[i].weight, - query_job->srv[i].port, - (int)query_job->srv[i].target_name.slen, - query_job->srv[i].target_name.ptr, - addr)); - } -} - - -/* Start DNS A record queries for all SRV records in the query_job structure */ -static pj_status_t resolve_hostnames(pj_dns_srv_async_query *query_job) -{ - unsigned i; - pj_status_t err=PJ_SUCCESS, status; - - query_job->dns_state = PJ_DNS_TYPE_A; - for (i=0; isrv_cnt; ++i) { - struct srv_target *srv = &query_job->srv[i]; - - PJ_LOG(5, (query_job->objname, - "Starting async DNS A query_job for %.*s", - (int)srv->target_name.slen, - srv->target_name.ptr)); - - srv->common.type = PJ_DNS_TYPE_A; - srv->parent = query_job; - - status = pj_dns_resolver_start_query(query_job->resolver, - &srv->target_name, - PJ_DNS_TYPE_A, 0, - &dns_callback, - srv, &srv->q_a); - if (status != PJ_SUCCESS) { - query_job->host_resolved++; - err = status; - } - } - - return (query_job->host_resolved == query_job->srv_cnt) ? err : PJ_SUCCESS; -} - -/* - * This callback is called by PJLIB-UTIL DNS resolver when asynchronous - * query_job has completed (successfully or with error). - */ -static void dns_callback(void *user_data, - pj_status_t status, - pj_dns_parsed_packet *pkt) -{ - struct common *common = (struct common*) user_data; - pj_dns_srv_async_query *query_job; - struct srv_target *srv = NULL; - unsigned i; - - if (common->type == PJ_DNS_TYPE_SRV) { - query_job = (pj_dns_srv_async_query*) common; - srv = NULL; - } else if (common->type == PJ_DNS_TYPE_A) { - srv = (struct srv_target*) common; - query_job = srv->parent; - } else { - pj_assert(!"Unexpected user data!"); - return; - } - - /* Proceed to next stage */ - if (query_job->dns_state == PJ_DNS_TYPE_SRV) { - - /* We are getting SRV response */ - - query_job->q_srv = NULL; - - if (status == PJ_SUCCESS && pkt->hdr.anscount != 0) { - /* Got SRV response, build server entry. If A records are available - * in additional records section of the DNS response, save them too. - */ - build_server_entries(query_job, pkt); - - } else if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - - /* Update query_job last error */ - query_job->last_error = status; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(4,(query_job->objname, - "DNS SRV resolution failed for %.*s: %s", - (int)query_job->full_name.slen, - query_job->full_name.ptr, - errmsg)); - - /* Trigger error when fallback is disabled */ - if ((query_job->option & - (PJ_DNS_SRV_FALLBACK_A | PJ_DNS_SRV_FALLBACK_AAAA)) == 0) - { - goto on_error; - } - } - - /* If we can't build SRV record, assume the original target is - * an A record and resolve with DNS A resolution. - */ - if (query_job->srv_cnt == 0) { - /* Looks like we aren't getting any SRV responses. - * Resolve the original target as A record by creating a - * single "dummy" srv record and start the hostname resolution. - */ - PJ_LOG(4, (query_job->objname, - "DNS SRV resolution failed for %.*s, trying " - "resolving A record for %.*s", - (int)query_job->full_name.slen, - query_job->full_name.ptr, - (int)query_job->domain_part.slen, - query_job->domain_part.ptr)); - - /* Create a "dummy" srv record using the original target */ - i = query_job->srv_cnt++; - pj_bzero(&query_job->srv[i], sizeof(query_job->srv[i])); - query_job->srv[i].target_name = query_job->domain_part; - query_job->srv[i].priority = 0; - query_job->srv[i].weight = 0; - query_job->srv[i].port = query_job->def_port; - } - - - /* Resolve server hostnames (DNS A record) for hosts which don't have - * A record yet. - */ - if (query_job->host_resolved != query_job->srv_cnt) { - status = resolve_hostnames(query_job); - if (status != PJ_SUCCESS) - goto on_error; - - /* Must return now. Callback may have been called and query_job - * may have been destroyed. - */ - return; - } - - } else if (query_job->dns_state == PJ_DNS_TYPE_A) { - - /* Clear the outstanding job */ - srv->q_a = NULL; - - /* Check that we really have answer */ - if (status==PJ_SUCCESS && pkt->hdr.anscount != 0) { - pj_dns_a_record rec; - - /* Parse response */ - status = pj_dns_parse_a_response(pkt, &rec); - if (status != PJ_SUCCESS) - goto on_error; - - pj_assert(rec.addr_count != 0); - - /* Update CNAME alias, if present. */ - if (rec.alias.slen) { - pj_assert(rec.alias.slen <= (int)sizeof(srv->cname_buf)); - srv->cname.ptr = srv->cname_buf; - pj_strcpy(&srv->cname, &rec.alias); - } else { - srv->cname.slen = 0; - } - - /* Update IP address of the corresponding hostname or CNAME */ - if (srv->addr_cnt < ADDR_MAX_COUNT) { - srv->addr[srv->addr_cnt++].s_addr = rec.addr[0].s_addr; - - PJ_LOG(5,(query_job->objname, - "DNS A for %.*s: %s", - (int)srv->target_name.slen, - srv->target_name.ptr, - pj_inet_ntoa(rec.addr[0]))); - } - - /* Check for multiple IP addresses */ - for (i=1; iaddr_cnt < ADDR_MAX_COUNT; ++i) - { - srv->addr[srv->addr_cnt++].s_addr = rec.addr[i].s_addr; - - PJ_LOG(5,(query_job->objname, - "Additional DNS A for %.*s: %s", - (int)srv->target_name.slen, - srv->target_name.ptr, - pj_inet_ntoa(rec.addr[i]))); - } - - } else if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - - /* Update last error */ - query_job->last_error = status; - - /* Log error */ - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(4,(query_job->objname, "DNS A record resolution failed: %s", - errmsg)); - } - - ++query_job->host_resolved; - - } else { - pj_assert(!"Unexpected state!"); - query_job->last_error = status = PJ_EINVALIDOP; - goto on_error; - } - - /* Check if all hosts have been resolved */ - if (query_job->host_resolved == query_job->srv_cnt) { - /* Got all answers, build server addresses */ - pj_dns_srv_record srv_rec; - - srv_rec.count = 0; - for (i=0; isrv_cnt; ++i) { - unsigned j; - struct srv_target *srv = &query_job->srv[i]; - - srv_rec.entry[srv_rec.count].priority = srv->priority; - srv_rec.entry[srv_rec.count].weight = srv->weight; - srv_rec.entry[srv_rec.count].port = (pj_uint16_t)srv->port ; - - srv_rec.entry[srv_rec.count].server.name = srv->target_name; - srv_rec.entry[srv_rec.count].server.alias = srv->cname; - srv_rec.entry[srv_rec.count].server.addr_count = 0; - - pj_assert(srv->addr_cnt <= PJ_DNS_MAX_IP_IN_A_REC); - - for (j=0; jaddr_cnt; ++j) { - srv_rec.entry[srv_rec.count].server.addr[j].s_addr = - srv->addr[j].s_addr; - ++srv_rec.entry[srv_rec.count].server.addr_count; - } - - if (srv->addr_cnt > 0) { - ++srv_rec.count; - if (srv_rec.count == PJ_DNS_SRV_MAX_ADDR) - break; - } - } - - PJ_LOG(5,(query_job->objname, - "Server resolution complete, %d server entry(s) found", - srv_rec.count)); - - - if (srv_rec.count > 0) - status = PJ_SUCCESS; - else { - status = query_job->last_error; - if (status == PJ_SUCCESS) - status = PJLIB_UTIL_EDNSNOANSWERREC; - } - - /* Call the callback */ - (*query_job->cb)(query_job->token, status, &srv_rec); - } - - - return; - -on_error: - /* Check for failure */ - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - PJ_UNUSED_ARG(errmsg); - PJ_LOG(4,(query_job->objname, - "DNS %s record resolution error for '%.*s'." - " Err=%d (%s)", - pj_dns_get_type_name(query_job->dns_state), - (int)query_job->domain_part.slen, - query_job->domain_part.ptr, - status, - pj_strerror(status,errmsg,sizeof(errmsg)).ptr)); - (*query_job->cb)(query_job->token, status, NULL); - return; - } -} - - diff --git a/res/pjproject/pjlib-util/src/pjlib-util/string.c b/res/pjproject/pjlib-util/src/pjlib-util/string.c deleted file mode 100644 index 4958278ff0..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/string.c +++ /dev/null @@ -1,110 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -PJ_DEF(pj_str_t) pj_str_unescape( pj_pool_t *pool, const pj_str_t *src_str) -{ - char *src = src_str->ptr; - char *end = src + src_str->slen; - pj_str_t dst_str; - char *dst; - - if (pj_strchr(src_str, '%')==NULL) - return *src_str; - - dst = dst_str.ptr = (char*) pj_pool_alloc(pool, src_str->slen); - - while (src != end) { - if (*src == '%' && src < end-2 && pj_isxdigit(*(src+1)) && - pj_isxdigit(*(src+2))) - { - *dst = (pj_uint8_t) ((pj_hex_digit_to_val(*(src+1)) << 4) + - pj_hex_digit_to_val(*(src+2))); - ++dst; - src += 3; - } else { - *dst++ = *src++; - } - } - dst_str.slen = dst - dst_str.ptr; - return dst_str; -} - -PJ_DEF(pj_str_t*) pj_strcpy_unescape(pj_str_t *dst_str, - const pj_str_t *src_str) -{ - const char *src = src_str->ptr; - const char *end = src + src_str->slen; - char *dst = dst_str->ptr; - - while (src != end) { - if (*src == '%' && src < end-2) { - *dst = (pj_uint8_t) ((pj_hex_digit_to_val(*(src+1)) << 4) + - pj_hex_digit_to_val(*(src+2))); - ++dst; - src += 3; - } else { - *dst++ = *src++; - } - } - dst_str->slen = dst - dst_str->ptr; - return dst_str; -} - -PJ_DEF(pj_ssize_t) pj_strncpy2_escape( char *dst_str, const pj_str_t *src_str, - pj_ssize_t max, const pj_cis_t *unres) -{ - const char *src = src_str->ptr; - const char *src_end = src + src_str->slen; - char *dst = dst_str; - char *dst_end = dst + max; - - if (max < src_str->slen) - return -1; - - while (src != src_end && dst != dst_end) { - if (pj_cis_match(unres, *src)) { - *dst++ = *src++; - } else { - if (dst < dst_end-2) { - *dst++ = '%'; - pj_val_to_hex_digit(*src, dst); - dst+=2; - ++src; - } else { - break; - } - } - } - - return src==src_end ? dst-dst_str : -1; -} - -PJ_DEF(pj_str_t*) pj_strncpy_escape(pj_str_t *dst_str, - const pj_str_t *src_str, - pj_ssize_t max, const pj_cis_t *unres) -{ - dst_str->slen = pj_strncpy2_escape(dst_str->ptr, src_str, max, unres); - return dst_str->slen < 0 ? NULL : dst_str; -} - diff --git a/res/pjproject/pjlib-util/src/pjlib-util/stun_simple.c b/res/pjproject/pjlib-util/src/pjlib-util/stun_simple.c deleted file mode 100644 index a14d0d8ec7..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/stun_simple.c +++ /dev/null @@ -1,131 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "stun_simple.c" - -PJ_DEF(pj_status_t) pjstun_create_bind_req( pj_pool_t *pool, - void **msg, pj_size_t *len, - pj_uint32_t id_hi, - pj_uint32_t id_lo) -{ - pjstun_msg_hdr *hdr; - - PJ_CHECK_STACK(); - - - hdr = PJ_POOL_ZALLOC_T(pool, pjstun_msg_hdr); - if (!hdr) - return PJ_ENOMEM; - - hdr->type = pj_htons(PJSTUN_BINDING_REQUEST); - hdr->tsx[2] = pj_htonl(id_hi); - hdr->tsx[3] = pj_htonl(id_lo); - *msg = hdr; - *len = sizeof(pjstun_msg_hdr); - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjstun_parse_msg( void *buf, pj_size_t len, - pjstun_msg *msg) -{ - pj_uint16_t msg_type, msg_len; - char *p_attr; - - PJ_CHECK_STACK(); - - msg->hdr = (pjstun_msg_hdr*)buf; - msg_type = pj_ntohs(msg->hdr->type); - - switch (msg_type) { - case PJSTUN_BINDING_REQUEST: - case PJSTUN_BINDING_RESPONSE: - case PJSTUN_BINDING_ERROR_RESPONSE: - case PJSTUN_SHARED_SECRET_REQUEST: - case PJSTUN_SHARED_SECRET_RESPONSE: - case PJSTUN_SHARED_SECRET_ERROR_RESPONSE: - break; - default: - PJ_LOG(4,(THIS_FILE, "Error: unknown msg type %d", msg_type)); - return PJLIB_UTIL_ESTUNINMSGTYPE; - } - - msg_len = pj_ntohs(msg->hdr->length); - if (msg_len != len - sizeof(pjstun_msg_hdr)) { - PJ_LOG(4,(THIS_FILE, "Error: invalid msg_len %d (expecting %d)", - msg_len, len - sizeof(pjstun_msg_hdr))); - return PJLIB_UTIL_ESTUNINMSGLEN; - } - - msg->attr_count = 0; - p_attr = (char*)buf + sizeof(pjstun_msg_hdr); - - while (msg_len > 0) { - pjstun_attr_hdr **attr = &msg->attr[msg->attr_count]; - pj_uint32_t len; - pj_uint16_t attr_type; - - *attr = (pjstun_attr_hdr*)p_attr; - len = pj_ntohs((pj_uint16_t) ((*attr)->length)) + sizeof(pjstun_attr_hdr); - len = (len + 3) & ~3; - - if (msg_len < len) { - PJ_LOG(4,(THIS_FILE, "Error: length mismatch in attr %d", - msg->attr_count)); - return PJLIB_UTIL_ESTUNINATTRLEN; - } - - attr_type = pj_ntohs((*attr)->type); - if (attr_type > PJSTUN_ATTR_REFLECTED_FROM && - attr_type != PJSTUN_ATTR_XOR_MAPPED_ADDR) - { - PJ_LOG(5,(THIS_FILE, "Warning: unknown attr type %x in attr %d. " - "Attribute was ignored.", - attr_type, msg->attr_count)); - } - - msg_len = (pj_uint16_t)(msg_len - len); - p_attr += len; - ++msg->attr_count; - } - - return PJ_SUCCESS; -} - -PJ_DEF(void*) pjstun_msg_find_attr( pjstun_msg *msg, pjstun_attr_type t) -{ - int i; - - PJ_CHECK_STACK(); - - for (i=0; iattr_count; ++i) { - pjstun_attr_hdr *attr = msg->attr[i]; - if (pj_ntohs(attr->type) == t) - return attr; - } - - return 0; -} diff --git a/res/pjproject/pjlib-util/src/pjlib-util/stun_simple_client.c b/res/pjproject/pjlib-util/src/pjlib-util/stun_simple_client.c deleted file mode 100644 index dc13fe1a4c..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/stun_simple_client.c +++ /dev/null @@ -1,335 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include - - -enum { MAX_REQUEST = 4 }; -static int stun_timer[] = {500, 500, 500, 500 }; -#define STUN_MAGIC 0x2112A442 - -#define THIS_FILE "stun_client.c" -#define LOG_ADDR(addr) pj_inet_ntoa(addr.sin_addr), pj_ntohs(addr.sin_port) - -#define TRACE_(x) PJ_LOG(6,x) - -PJ_DEF(pj_status_t) pjstun_get_mapped_addr( pj_pool_factory *pf, - int sock_cnt, pj_sock_t sock[], - const pj_str_t *srv1, int port1, - const pj_str_t *srv2, int port2, - pj_sockaddr_in mapped_addr[]) -{ - unsigned srv_cnt; - pj_sockaddr_in srv_addr[2]; - int i, send_cnt = 0, nfds; - pj_pool_t *pool; - struct query_rec { - struct { - pj_uint32_t mapped_addr; - pj_uint32_t mapped_port; - } srv[2]; - } *rec; - void *out_msg; - pj_size_t out_msg_len; - int wait_resp = 0; - pj_status_t status; - - PJ_CHECK_STACK(); - - TRACE_((THIS_FILE, "Entering pjstun_get_mapped_addr()")); - - /* Create pool. */ - pool = pj_pool_create(pf, "stun%p", 400, 400, NULL); - if (!pool) - return PJ_ENOMEM; - - - /* Allocate client records */ - rec = (struct query_rec*) pj_pool_calloc(pool, sock_cnt, sizeof(*rec)); - if (!rec) { - status = PJ_ENOMEM; - goto on_error; - } - - TRACE_((THIS_FILE, " Memory allocated.")); - - /* Create the outgoing BIND REQUEST message template */ - status = pjstun_create_bind_req( pool, &out_msg, &out_msg_len, - pj_rand(), pj_rand()); - if (status != PJ_SUCCESS) - goto on_error; - - TRACE_((THIS_FILE, " Binding request created.")); - - /* Resolve servers. */ - status = pj_sockaddr_in_init(&srv_addr[0], srv1, (pj_uint16_t)port1); - if (status != PJ_SUCCESS) - goto on_error; - - srv_cnt = 1; - - if (srv2 && port2) { - status = pj_sockaddr_in_init(&srv_addr[1], srv2, (pj_uint16_t)port2); - if (status != PJ_SUCCESS) - goto on_error; - - if (srv_addr[1].sin_addr.s_addr != srv_addr[0].sin_addr.s_addr && - srv_addr[1].sin_port != srv_addr[0].sin_port) - { - srv_cnt++; - } - } - - TRACE_((THIS_FILE, " Server initialized, using %d server(s)", srv_cnt)); - - /* Init mapped addresses to zero */ - pj_memset(mapped_addr, 0, sock_cnt * sizeof(pj_sockaddr_in)); - - /* We need these many responses */ - wait_resp = sock_cnt * srv_cnt; - - TRACE_((THIS_FILE, " Done initialization.")); - -#if defined(PJ_SELECT_NEEDS_NFDS) && PJ_SELECT_NEEDS_NFDS!=0 - nfds = -1; - for (i=0; i nfds) { - nfds = sock[i]; - } - } -#else - nfds = PJ_IOQUEUE_MAX_HANDLES-1; -#endif - - /* Main retransmission loop. */ - for (send_cnt=0; send_cnttsx[2] = pj_htonl(i); - msg_hdr->tsx[3] = pj_htonl(j); - - /* Send! */ - sent_len = out_msg_len; - status = pj_sock_sendto(sock[i], out_msg, &sent_len, 0, - (pj_sockaddr_t*)&srv_addr[j], - sizeof(pj_sockaddr_in)); - } - } - - /* All requests sent. - * The loop below will wait for responses until all responses have - * been received (i.e. wait_resp==0) or timeout occurs, which then - * we'll go to the next retransmission iteration. - */ - TRACE_((THIS_FILE, " Request(s) sent, counter=%d", send_cnt)); - - /* Calculate time of next retransmission. */ - pj_gettimeofday(&next_tx); - next_tx.sec += (stun_timer[send_cnt]/1000); - next_tx.msec += (stun_timer[send_cnt]%1000); - pj_time_val_normalize(&next_tx); - - for (pj_gettimeofday(&now), select_rc=1; - status==PJ_SUCCESS && select_rc>=1 && wait_resp>0 - && PJ_TIME_VAL_LT(now, next_tx); - pj_gettimeofday(&now)) - { - pj_time_val timeout; - - timeout = next_tx; - PJ_TIME_VAL_SUB(timeout, now); - - for (i=0; itsx[2]); - srv_idx = pj_ntohl(msg.hdr->tsx[3]); - - if (sock_idx<0 || sock_idx>=sock_cnt || sock_idx!=i || - srv_idx<0 || srv_idx>=2) - { - status = PJLIB_UTIL_ESTUNININDEX; - continue; - } - - if (pj_ntohs(msg.hdr->type) != PJSTUN_BINDING_RESPONSE) { - status = PJLIB_UTIL_ESTUNNOBINDRES; - continue; - } - - if (rec[sock_idx].srv[srv_idx].mapped_port != 0) { - /* Already got response */ - continue; - } - - /* From this part, we consider the packet as a valid STUN - * response for our request. - */ - --wait_resp; - - if (pjstun_msg_find_attr(&msg, PJSTUN_ATTR_ERROR_CODE) != NULL) { - status = PJLIB_UTIL_ESTUNRECVERRATTR; - continue; - } - - attr = (pjstun_mapped_addr_attr*) - pjstun_msg_find_attr(&msg, PJSTUN_ATTR_MAPPED_ADDR); - if (!attr) { - attr = (pjstun_mapped_addr_attr*) - pjstun_msg_find_attr(&msg, PJSTUN_ATTR_XOR_MAPPED_ADDR); - if (!attr || attr->family != 1) { - status = PJLIB_UTIL_ESTUNNOMAP; - continue; - } - } - - rec[sock_idx].srv[srv_idx].mapped_addr = attr->addr; - rec[sock_idx].srv[srv_idx].mapped_port = attr->port; - if (pj_ntohs(attr->hdr.type) == PJSTUN_ATTR_XOR_MAPPED_ADDR) { - rec[sock_idx].srv[srv_idx].mapped_addr ^= pj_htonl(STUN_MAGIC); - rec[sock_idx].srv[srv_idx].mapped_port ^= pj_htons(STUN_MAGIC >> 16); - } - } - } - - /* The best scenario is if all requests have been replied. - * Then we don't need to go to the next retransmission iteration. - */ - if (wait_resp <= 0) - break; - } - - TRACE_((THIS_FILE, " All responses received, calculating result..")); - - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -/* - * md5.h - */ -PJ_EXPORT_SYMBOL(md5_init) -PJ_EXPORT_SYMBOL(md5_append) -PJ_EXPORT_SYMBOL(md5_finish) - -/* - * scanner.h - */ -PJ_EXPORT_SYMBOL(pj_cs_init) -PJ_EXPORT_SYMBOL(pj_cs_set) -PJ_EXPORT_SYMBOL(pj_cs_add_range) -PJ_EXPORT_SYMBOL(pj_cs_add_alpha) -PJ_EXPORT_SYMBOL(pj_cs_add_num) -PJ_EXPORT_SYMBOL(pj_cs_add_str) -PJ_EXPORT_SYMBOL(pj_cs_del_range) -PJ_EXPORT_SYMBOL(pj_cs_del_str) -PJ_EXPORT_SYMBOL(pj_cs_invert) -PJ_EXPORT_SYMBOL(pj_scan_init) -PJ_EXPORT_SYMBOL(pj_scan_fini) -PJ_EXPORT_SYMBOL(pj_scan_peek) -PJ_EXPORT_SYMBOL(pj_scan_peek_n) -PJ_EXPORT_SYMBOL(pj_scan_peek_until) -PJ_EXPORT_SYMBOL(pj_scan_get) -PJ_EXPORT_SYMBOL(pj_scan_get_quote) -PJ_EXPORT_SYMBOL(pj_scan_get_n) -PJ_EXPORT_SYMBOL(pj_scan_get_char) -PJ_EXPORT_SYMBOL(pj_scan_get_newline) -PJ_EXPORT_SYMBOL(pj_scan_get_until) -PJ_EXPORT_SYMBOL(pj_scan_get_until_ch) -PJ_EXPORT_SYMBOL(pj_scan_get_until_chr) -PJ_EXPORT_SYMBOL(pj_scan_advance_n) -PJ_EXPORT_SYMBOL(pj_scan_strcmp) -PJ_EXPORT_SYMBOL(pj_scan_stricmp) -PJ_EXPORT_SYMBOL(pj_scan_skip_whitespace) -PJ_EXPORT_SYMBOL(pj_scan_save_state) -PJ_EXPORT_SYMBOL(pj_scan_restore_state) - -/* - * stun.h - */ -PJ_EXPORT_SYMBOL(pj_stun_create_bind_req) -PJ_EXPORT_SYMBOL(pj_stun_parse_msg) -PJ_EXPORT_SYMBOL(pj_stun_msg_find_attr) -PJ_EXPORT_SYMBOL(pj_stun_get_mapped_addr) -PJ_EXPORT_SYMBOL(pj_stun_get_err_msg) - -/* - * xml.h - */ -PJ_EXPORT_SYMBOL(pj_xml_parse) -PJ_EXPORT_SYMBOL(pj_xml_print) -PJ_EXPORT_SYMBOL(pj_xml_add_node) -PJ_EXPORT_SYMBOL(pj_xml_add_attr) -PJ_EXPORT_SYMBOL(pj_xml_find_node) -PJ_EXPORT_SYMBOL(pj_xml_find_next_node) -PJ_EXPORT_SYMBOL(pj_xml_find_attr) -PJ_EXPORT_SYMBOL(pj_xml_find) - - diff --git a/res/pjproject/pjlib-util/src/pjlib-util/xml.c b/res/pjproject/pjlib-util/src/pjlib-util/xml.c deleted file mode 100644 index f1bfaf7890..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/xml.c +++ /dev/null @@ -1,520 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include - -#define EX_SYNTAX_ERROR 12 -#define THIS_FILE "xml.c" - -static void on_syntax_error(struct pj_scanner *scanner) -{ - PJ_UNUSED_ARG(scanner); - PJ_THROW(EX_SYNTAX_ERROR); -} - -static pj_xml_node *alloc_node( pj_pool_t *pool ) -{ - pj_xml_node *node; - - node = PJ_POOL_ZALLOC_T(pool, pj_xml_node); - pj_list_init( &node->attr_head ); - pj_list_init( &node->node_head ); - - return node; -} - -static pj_xml_attr *alloc_attr( pj_pool_t *pool ) -{ - return PJ_POOL_ZALLOC_T(pool, pj_xml_attr); -} - -/* This is a recursive function! */ -static pj_xml_node *xml_parse_node( pj_pool_t *pool, pj_scanner *scanner) -{ - pj_xml_node *node; - pj_str_t end_name; - - PJ_CHECK_STACK(); - - if (*scanner->curptr != '<') - on_syntax_error(scanner); - - /* Handle Processing Instructino (PI) construct (i.e. "curptr == '<' && *(scanner->curptr+1) == '?') { - pj_scan_advance_n(scanner, 2, PJ_FALSE); - for (;;) { - pj_str_t dummy; - pj_scan_get_until_ch(scanner, '?', &dummy); - if (*scanner->curptr=='?' && *(scanner->curptr+1)=='>') { - pj_scan_advance_n(scanner, 2, PJ_TRUE); - break; - } else { - pj_scan_advance_n(scanner, 1, PJ_FALSE); - } - } - return xml_parse_node(pool, scanner); - } - - /* Handle comments construct (i.e. "', &dummy); - if (pj_scan_strcmp(scanner, ">", 1) == 0) { - pj_scan_advance_n(scanner, 1, PJ_TRUE); - break; - } else { - pj_scan_advance_n(scanner, 1, PJ_FALSE); - } - } - return xml_parse_node(pool, scanner); - } - - /* Alloc node. */ - node = alloc_node(pool); - - /* Get '<' */ - pj_scan_get_char(scanner); - - /* Get node name. */ - pj_scan_get_until_chr( scanner, " />\t\r\n", &node->name); - - /* Get attributes. */ - while (*scanner->curptr != '>' && *scanner->curptr != '/') { - pj_xml_attr *attr = alloc_attr(pool); - - pj_scan_get_until_chr( scanner, "=> \t\r\n", &attr->name); - if (*scanner->curptr == '=') { - pj_scan_get_char( scanner ); - pj_scan_get_quotes(scanner, "\"'", "\"'", 2, &attr->value); - /* remove quote characters */ - ++attr->value.ptr; - attr->value.slen -= 2; - } - - pj_list_push_back( &node->attr_head, attr ); - } - - if (*scanner->curptr == '/') { - pj_scan_get_char(scanner); - if (pj_scan_get_char(scanner) != '>') - on_syntax_error(scanner); - return node; - } - - /* Enclosing bracket. */ - if (pj_scan_get_char(scanner) != '>') - on_syntax_error(scanner); - - /* Sub nodes. */ - while (*scanner->curptr == '<' && *(scanner->curptr+1) != '/') { - pj_xml_node *sub_node = xml_parse_node(pool, scanner); - pj_list_push_back( &node->node_head, sub_node ); - } - - /* Content. */ - if (!pj_scan_is_eof(scanner) && *scanner->curptr != '<') { - pj_scan_get_until_ch(scanner, '<', &node->content); - } - - /* Enclosing node. */ - if (pj_scan_get_char(scanner) != '<' || pj_scan_get_char(scanner) != '/') - on_syntax_error(scanner); - - pj_scan_get_until_chr(scanner, " \t>", &end_name); - - /* Compare name. */ - if (pj_stricmp(&node->name, &end_name) != 0) - on_syntax_error(scanner); - - /* Enclosing '>' */ - if (pj_scan_get_char(scanner) != '>') - on_syntax_error(scanner); - - return node; -} - -PJ_DEF(pj_xml_node*) pj_xml_parse( pj_pool_t *pool, char *msg, pj_size_t len) -{ - pj_xml_node *node = NULL; - pj_scanner scanner; - PJ_USE_EXCEPTION; - - if (!msg || !len || !pool) - return NULL; - - pj_scan_init( &scanner, msg, len, - PJ_SCAN_AUTOSKIP_WS|PJ_SCAN_AUTOSKIP_NEWLINE, - &on_syntax_error); - PJ_TRY { - node = xml_parse_node(pool, &scanner); - } - PJ_CATCH_ANY { - PJ_LOG(4,(THIS_FILE, "Syntax error parsing XML in line %d column %d", - scanner.line, pj_scan_get_col(&scanner))); - } - PJ_END; - pj_scan_fini( &scanner ); - return node; -} - -/* This is a recursive function. */ -static int xml_print_node( const pj_xml_node *node, int indent, - char *buf, pj_size_t len ) -{ - int i; - char *p = buf; - pj_xml_attr *attr; - pj_xml_node *sub_node; - -#define SIZE_LEFT() ((int)(len - (p-buf))) - - PJ_CHECK_STACK(); - - /* Print name. */ - if (SIZE_LEFT() < node->name.slen + indent + 5) - return -1; - for (i=0; iname.ptr, node->name.slen); - p += node->name.slen; - - /* Print attributes. */ - attr = node->attr_head.next; - while (attr != &node->attr_head) { - - if (SIZE_LEFT() < attr->name.slen + attr->value.slen + 4) - return -1; - - *p++ = ' '; - - /* Attribute name. */ - pj_memcpy(p, attr->name.ptr, attr->name.slen); - p += attr->name.slen; - - /* Attribute value. */ - if (attr->value.slen) { - *p++ = '='; - *p++ = '"'; - pj_memcpy(p, attr->value.ptr, attr->value.slen); - p += attr->value.slen; - *p++ = '"'; - } - - attr = attr->next; - } - - /* Check for empty node. */ - if (node->content.slen==0 && - node->node_head.next==(pj_xml_node*)&node->node_head) - { - *p++ = ' '; - *p++ = '/'; - *p++ = '>'; - return p-buf; - } - - /* Enclosing '>' */ - if (SIZE_LEFT() < 1) return -1; - *p++ = '>'; - - /* Print sub nodes. */ - sub_node = node->node_head.next; - while (sub_node != (pj_xml_node*)&node->node_head) { - int printed; - - if (SIZE_LEFT() < indent + 3) - return -1; - //*p++ = '\r'; - *p++ = '\n'; - - printed = xml_print_node(sub_node, indent + 1, p, SIZE_LEFT()); - if (printed < 0) - return -1; - - p += printed; - sub_node = sub_node->next; - } - - /* Content. */ - if (node->content.slen) { - if (SIZE_LEFT() < node->content.slen) return -1; - pj_memcpy(p, node->content.ptr, node->content.slen); - p += node->content.slen; - } - - /* Enclosing node. */ - if (node->node_head.next != (pj_xml_node*)&node->node_head) { - if (SIZE_LEFT() < node->name.slen + 5 + indent) - return -1; - //*p++ = '\r'; - *p++ = '\n'; - for (i=0; iname.slen + 3) - return -1; - } - *p++ = '<'; - *p++ = '/'; - pj_memcpy(p, node->name.ptr, node->name.slen); - p += node->name.slen; - *p++ = '>'; - -#undef SIZE_LEFT - - return p - buf; -} - -PJ_DEF(int) pj_xml_print(const pj_xml_node *node, char *buf, pj_size_t len, - pj_bool_t include_prolog) -{ - int prolog_len = 0; - int printed; - - if (!node || !buf || !len) - return 0; - - if (include_prolog) { - pj_str_t prolog = {"\n", 39}; - if ((int)len < prolog.slen) - return -1; - pj_memcpy(buf, prolog.ptr, prolog.slen); - prolog_len = prolog.slen; - } - - printed = xml_print_node(node, 0, buf+prolog_len, len-prolog_len) + prolog_len; - if (printed > 0 && len-printed >= 1) { - buf[printed++] = '\n'; - } - return printed; -} - -PJ_DEF(pj_xml_node*) pj_xml_node_new(pj_pool_t *pool, const pj_str_t *name) -{ - pj_xml_node *node = alloc_node(pool); - pj_strdup(pool, &node->name, name); - return node; -} - -PJ_DEF(pj_xml_attr*) pj_xml_attr_new( pj_pool_t *pool, const pj_str_t *name, - const pj_str_t *value) -{ - pj_xml_attr *attr = alloc_attr(pool); - pj_strdup( pool, &attr->name, name); - pj_strdup( pool, &attr->value, value); - return attr; -} - -PJ_DEF(void) pj_xml_add_node( pj_xml_node *parent, pj_xml_node *node ) -{ - pj_list_push_back(&parent->node_head, node); -} - -PJ_DEF(void) pj_xml_add_attr( pj_xml_node *node, pj_xml_attr *attr ) -{ - pj_list_push_back(&node->attr_head, attr); -} - -PJ_DEF(pj_xml_node*) pj_xml_find_node(const pj_xml_node *parent, - const pj_str_t *name) -{ - const pj_xml_node *node = parent->node_head.next; - - PJ_CHECK_STACK(); - - while (node != (void*)&parent->node_head) { - if (pj_stricmp(&node->name, name) == 0) - return (pj_xml_node*)node; - node = node->next; - } - return NULL; -} - -PJ_DEF(pj_xml_node*) pj_xml_find_node_rec(const pj_xml_node *parent, - const pj_str_t *name) -{ - const pj_xml_node *node = parent->node_head.next; - - PJ_CHECK_STACK(); - - while (node != (void*)&parent->node_head) { - pj_xml_node *found; - if (pj_stricmp(&node->name, name) == 0) - return (pj_xml_node*)node; - found = pj_xml_find_node_rec(node, name); - if (found) - return (pj_xml_node*)found; - node = node->next; - } - return NULL; -} - -PJ_DEF(pj_xml_node*) pj_xml_find_next_node( const pj_xml_node *parent, - const pj_xml_node *node, - const pj_str_t *name) -{ - PJ_CHECK_STACK(); - - node = node->next; - while (node != (void*)&parent->node_head) { - if (pj_stricmp(&node->name, name) == 0) - return (pj_xml_node*)node; - node = node->next; - } - return NULL; -} - - -PJ_DEF(pj_xml_attr*) pj_xml_find_attr( const pj_xml_node *node, - const pj_str_t *name, - const pj_str_t *value) -{ - const pj_xml_attr *attr = node->attr_head.next; - while (attr != (void*)&node->attr_head) { - if (pj_stricmp(&attr->name, name)==0) { - if (value) { - if (pj_stricmp(&attr->value, value)==0) - return (pj_xml_attr*)attr; - } else { - return (pj_xml_attr*)attr; - } - } - attr = attr->next; - } - return NULL; -} - - - -PJ_DEF(pj_xml_node*) pj_xml_find( const pj_xml_node *parent, - const pj_str_t *name, - const void *data, - pj_bool_t (*match)(const pj_xml_node *, - const void*)) -{ - const pj_xml_node *node = (const pj_xml_node *)parent->node_head.next; - - if (!name && !match) - return NULL; - - while (node != (const pj_xml_node*) &parent->node_head) { - if (name) { - if (pj_stricmp(&node->name, name)!=0) { - node = node->next; - continue; - } - } - if (match) { - if (match(node, data)) - return (pj_xml_node*)node; - } else { - return (pj_xml_node*)node; - } - - node = node->next; - } - return NULL; -} - -PJ_DEF(pj_xml_node*) pj_xml_find_rec( const pj_xml_node *parent, - const pj_str_t *name, - const void *data, - pj_bool_t (*match)(const pj_xml_node*, - const void*)) -{ - const pj_xml_node *node = (const pj_xml_node *)parent->node_head.next; - - if (!name && !match) - return NULL; - - while (node != (const pj_xml_node*) &parent->node_head) { - pj_xml_node *found; - - if (name) { - if (pj_stricmp(&node->name, name)==0) { - if (match) { - if (match(node, data)) - return (pj_xml_node*)node; - } else { - return (pj_xml_node*)node; - } - } - - } else if (match) { - if (match(node, data)) - return (pj_xml_node*)node; - } - - found = pj_xml_find_rec(node, name, data, match); - if (found) - return found; - - node = node->next; - } - return NULL; -} - -PJ_DEF(pj_xml_node*) pj_xml_clone( pj_pool_t *pool, const pj_xml_node *rhs) -{ - pj_xml_node *node; - const pj_xml_attr *r_attr; - const pj_xml_node *child; - - node = alloc_node(pool); - - pj_strdup(pool, &node->name, &rhs->name); - pj_strdup(pool, &node->content, &rhs->content); - - /* Clone all attributes */ - r_attr = rhs->attr_head.next; - while (r_attr != &rhs->attr_head) { - - pj_xml_attr *attr; - - attr = alloc_attr(pool); - pj_strdup(pool, &attr->name, &r_attr->name); - pj_strdup(pool, &attr->value, &r_attr->value); - - pj_list_push_back(&node->attr_head, attr); - - r_attr = r_attr->next; - } - - /* Clone all child nodes. */ - child = rhs->node_head.next; - while (child != (pj_xml_node*) &rhs->node_head) { - pj_xml_node *new_child; - - new_child = pj_xml_clone(pool, child); - pj_list_push_back(&node->node_head, new_child); - - child = child->next; - } - - return node; -} diff --git a/res/pjproject/pjlib-util/src/pjlib-util/xml_wrap.cpp b/res/pjproject/pjlib-util/src/pjlib-util/xml_wrap.cpp deleted file mode 100644 index e1d729ffde..0000000000 --- a/res/pjproject/pjlib-util/src/pjlib-util/xml_wrap.cpp +++ /dev/null @@ -1,24 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * This file is a C++ wrapper, see ticket #886 for details. - */ - -#include "xml.c" diff --git a/res/pjproject/pjlib/build/Makefile b/res/pjproject/pjlib/build/Makefile deleted file mode 100644 index 272206d7e4..0000000000 --- a/res/pjproject/pjlib/build/Makefile +++ /dev/null @@ -1,121 +0,0 @@ -include ../../build.mak -include ../../version.mak -include $(PJDIR)/build/common.mak - -RULES_MAK := $(PJDIR)/build/rules.mak - - -export PJLIB_LIB := ../lib/libpj-$(TARGET_NAME)$(LIBEXT) - -############################################################################### -# Gather all flags. -# -export _CFLAGS := $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \ - $(CFLAGS) $(CC_INC)../include -export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ - $(HOST_CXXFLAGS) $(CXXFLAGS) -export _LDFLAGS := $(subst /,$(HOST_PSEP),$(PJLIB_LIB)) \ - $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \ - $(LDFLAGS) - -############################################################################### -# Defines for building PJLIB library -# -export PJLIB_SRCDIR = ../src/pj -export PJLIB_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ - activesock.o array.o config.o ctype.o errno.o except.o fifobuf.o \ - guid.o hash.o ip_helper_generic.o list.o lock.o log.o os_time_common.o \ - os_info.o pool.o pool_buf.o pool_caching.o pool_dbg.o rand.o \ - rbtree.o sock_common.o sock_qos_common.o sock_qos_bsd.o \ - ssl_sock_common.o ssl_sock_ossl.o ssl_sock_dump.o \ - string.o timer.o types.o -export PJLIB_CFLAGS += $(_CFLAGS) - -############################################################################### -# Defines for building test application -# -export TEST_SRCDIR = ../src/pjlib-test -export TEST_OBJS += activesock.o atomic.o echo_clt.o errno.o exception.o \ - fifobuf.o file.o hash_test.o ioq_perf.o ioq_udp.o \ - ioq_unreg.o ioq_tcp.o \ - list.o mutex.o os.o pool.o pool_perf.o rand.o rbtree.o \ - select.o sleep.o sock.o sock_perf.o ssl_sock.o \ - string.o test.o thread.o timer.o timestamp.o \ - udp_echo_srv_sync.o udp_echo_srv_ioqueue.o \ - util.o -export TEST_CFLAGS += $(_CFLAGS) -export TEST_LDFLAGS += $(_LDFLAGS) -export TEST_EXE := ../bin/pjlib-test-$(TARGET_NAME)$(HOST_EXE) - - -export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT -############################################################################### -# Main entry -# -# $(TARGET) is defined in os-$(OS_NAME).mak file in current directory. -# - -all: $(TARGETS) - -doc: - cd .. && rm -rf docs/$(PJ_VERSION) && doxygen docs/doxygen.cfg - @if [ -n "$(WWWDIR)" ] && ! [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjlib/docs/html" ] ; then \ - echo "Creating docs/$(PJ_VERSION)/pjlib/docs/html" ; \ - mkdir -p $(WWWDIR)/docs/$(PJ_VERSION)/pjlib/docs/html ; \ - fi - @if [ -n "$(WWWDIR)" ] && [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjlib/docs/html" ] ; then \ - echo "Copying docs/$(PJ_VERSION) to $(WWWDIR)/docs/$(PJ_VERSION)/pjlib/docs/html.." ; \ - cp -v -a ../docs/$(PJ_VERSION)/html/* $(WWWDIR)/docs/$(PJ_VERSION)/pjlib/docs/html/ ; \ - fi -print: - $(MAKE) -f $(RULES_MAK) APP=PJLIB app=pjlib print_lib - $(MAKE) -f $(RULES_MAK) APP=TEST app=pjlib-test print_bin - -depend: ../include/pj/config_site.h - $(MAKE) -f $(RULES_MAK) APP=PJLIB app=pjlib depend - $(MAKE) -f $(RULES_MAK) APP=TEST app=pjlib-test depend - echo '$(TEST_EXE): $(PJLIB_LIB)' >> .pjlib-test-$(TARGET_NAME).depend - - -.PHONY: dep depend clean realclean distclean -.PHONY: $(TARGETS) -.PHONY: $(PJLIB_LIB) $(TEST_EXE) - -dep: depend - -pjlib: $(PJLIB_LIB) -$(PJLIB_LIB): ../include/pj/config_site.h - $(MAKE) -f $(RULES_MAK) APP=PJLIB app=pjlib $(PJLIB_LIB) - -../include/pj/config_site.h: - touch ../include/pj/config_site.h - -pjlib-test: $(TEST_EXE) -$(TEST_EXE): $(PJLIB_LIB) - $(MAKE) -f $(RULES_MAK) APP=TEST app=pjlib-test $(TEST_EXE) - -.PHONY: ../lib/pjlib.ko -../lib/pjlib.ko: - echo Making $@ - $(MAKE) -f $(RULES_MAK) APP=PJLIB app=pjlib $@ - -.PHONY: ../lib/pjlib-test.ko -../lib/pjlib-test.ko: - $(MAKE) -f $(RULES_MAK) APP=TEST app=pjlib-test $@ - -clean: - $(MAKE) -f $(RULES_MAK) APP=PJLIB app=pjlib clean - $(MAKE) -f $(RULES_MAK) APP=TEST app=pjlib-test clean - -realclean: - $(subst @@,$(subst /,$(HOST_PSEP),.pjlib-$(TARGET_NAME).depend),$(HOST_RMR)) - $(subst @@,$(subst /,$(HOST_PSEP),.pjlib-test-$(TARGET_NAME).depend),$(HOST_RMR)) - $(MAKE) -f $(RULES_MAK) APP=PJLIB app=pjlib realclean - $(MAKE) -f $(RULES_MAK) APP=TEST app=pjlib-test realclean - -distclean: realclean - -gcov-report: - $(MAKE) -f $(RULES_MAK) APP=PJLIB app=pjlib gcov-report - $(MAKE) -f $(RULES_MAK) APP=TEST app=pjlib-test gcov-report - diff --git a/res/pjproject/pjlib/build/cacert.pem b/res/pjproject/pjlib/build/cacert.pem deleted file mode 100644 index cfce09205f..0000000000 --- a/res/pjproject/pjlib/build/cacert.pem +++ /dev/null @@ -1,14 +0,0 @@ ------BEGIN CERTIFICATE----- -MIICNDCCAZ2gAwIBAgIJAIa9mZggMk2WMA0GCSqGSIb3DQEBBAUAMDMxEjAQBgNV -BAMTCXBqc2lwLmxhYjEdMBsGCSqGSIb3DQEJARYOdGVzdEBwanNpcC5sYWIwHhcN -MTAwMjEwMDkwNTQ0WhcNMjAwMjA4MDkwNTQ0WjAzMRIwEAYDVQQDEwlwanNpcC5s -YWIxHTAbBgkqhkiG9w0BCQEWDnRlc3RAcGpzaXAubGFiMIGfMA0GCSqGSIb3DQEB -AQUAA4GNADCBiQKBgQDI9T0Pf+1gKOTOAGEpZ481Q6xfm5vz6n1+6udxzQtfPKlQ -rPD5x5im2u3tmy6ABxZeY5tCdeikBPiGlc5bRIRng6KM8kidkg3gEhwhRUxHCMWb -mBpkz7rFERf/pWAOCqYCiy1RT8QrK+XOFoFdJhdF85UPDEUw+pHEsYetTDs9RQID -AQABo1AwTjBMBgNVHREERTBDgglwanNpcC5sYWKCDXNpcC5wanNpcC5sYWKBDnRl -c3RAcGpzaXAubGFihhFzaXA6c2lwLnBqc2lwLmxhYocEfwAAATANBgkqhkiG9w0B -AQQFAAOBgQCLPl/WF1QvjT36kVLH0nxfHwDOJuAzlh6nv9rYBviOLw9FTEMgW6hA -oG55YSdVjTnMynTMOH/kVp4Vxlk46A8neE+/LI8RPh6lJh52vb+iPAtBpsQoq06T -+u4DfJcN8Y/jy+QAn78jryKjwKuZWfuWny9gxsLWMUbH5Bc6v6wfQQ== ------END CERTIFICATE----- diff --git a/res/pjproject/pjlib/build/os-auto.mak.in b/res/pjproject/pjlib/build/os-auto.mak.in deleted file mode 100644 index a4a2b8aa01..0000000000 --- a/res/pjproject/pjlib/build/os-auto.mak.in +++ /dev/null @@ -1,35 +0,0 @@ -# @configure_input@ - -# Determine OS specific files -AC_OS_OBJS=@ac_os_objs@ - -# -# PJLIB_OBJS specified here are object files to be included in PJLIB -# (the library) for this specific operating system. Object files common -# to all operating systems should go in Makefile instead. -# -export PJLIB_OBJS += $(AC_OS_OBJS) \ - addr_resolv_sock.o \ - log_writer_stdout.o \ - os_timestamp_common.o \ - pool_policy_malloc.o sock_bsd.o sock_select.o - -# -# TEST_OBJS are operating system specific object files to be included in -# the test application. -# -export TEST_OBJS += @ac_main_obj@ - -# -# Additional LDFLAGS for pjlib-test -# -export TEST_LDFLAGS += @LDFLAGS@ @LIBS@ - -# -# TARGETS are make targets in the Makefile, to be executed for this given -# operating system. -# -export TARGETS = pjlib pjlib-test - - - diff --git a/res/pjproject/pjlib/build/os-darwinos.mak b/res/pjproject/pjlib/build/os-darwinos.mak deleted file mode 100644 index ee83decb03..0000000000 --- a/res/pjproject/pjlib/build/os-darwinos.mak +++ /dev/null @@ -1,37 +0,0 @@ -# -# PJLIB OS specific configuration for Darwin/MacOSX target. -# - -# -# PJLIB_OBJS specified here are object files to be included in PJLIB -# (the library) for this specific operating system. Object files common -# to all operating systems should go in Makefile instead. -# -export PJLIB_OBJS += addr_resolv_sock.o guid_simple.o \ - log_writer_stdout.o os_core_unix.o \ - os_error_unix.o os_time_unix.o \ - os_timestamp_common.o os_timestamp_posix.o \ - pool_policy_malloc.o sock_bsd.o sock_select.o - -export PJLIB_OBJS += ioqueue_select.o -#export PJLIB_OBJS += ioqueue_epoll.o - -export PJLIB_OBJS += file_access_unistd.o file_io_ansi.o - -# -# TEST_OBJS are operating system specific object files to be included in -# the test application. -# -export TEST_OBJS += main.o - -# -# Additional LDFLAGS for pjlib-test -# -export TEST_LDFLAGS += -lm - -# -# TARGETS are make targets in the Makefile, to be executed for this given -# operating system. -# -export TARGETS = pjlib pjlib-test - diff --git a/res/pjproject/pjlib/build/os-linux-kernel.mak b/res/pjproject/pjlib/build/os-linux-kernel.mak deleted file mode 100644 index 934c889811..0000000000 --- a/res/pjproject/pjlib/build/os-linux-kernel.mak +++ /dev/null @@ -1,47 +0,0 @@ -# -# OS specific configuration for Linux Kernel module target. -# - -# -# PJLIB_OBJS specified here are object files to be included in PJLIB -# (the library) for this specific operating system. Object files common -# to all operating systems should go in Makefile instead. -# -export PJLIB_OBJS += compat/sigjmp.o compat/setjmp_i386.o \ - compat/longjmp_i386.o compat/string.o \ - addr_resolv_linux_kernel.o \ - guid_simple.o \ - log_writer_printk.o pool_policy_kmalloc.o \ - os_error_linux_kernel.o os_core_linux_kernel.o \ - os_time_linux_kernel.o os_timestamp_common.o \ - os_timestamp_linux_kernel.o \ - sock_linux_kernel.o sock_select.o - -# For IOQueue, we can use either epoll or select -export PJLIB_OBJS += ioqueue_epoll.o -#export PJLIB_OBJS += ioqueue_select.o - -# -# TEST_OBJS are operating system specific object files to be included in -# the test application. -# -export TEST_OBJS += main_mod.o - -# -# Additional CFLAGS -# -export TEST_CFLAGS += -msoft-float - -# -# Additional LD_FLAGS for this target. -# -export TEST_LDFLAGS += -lgcc - - -# -# TARGETS are make targets in the Makefile, to be executed for this given -# operating system. -# -export TARGETS := ../lib/pjlib.ko ../lib/pjlib-test.ko - - diff --git a/res/pjproject/pjlib/build/os-linux.mak b/res/pjproject/pjlib/build/os-linux.mak deleted file mode 100644 index 11c6fa73c1..0000000000 --- a/res/pjproject/pjlib/build/os-linux.mak +++ /dev/null @@ -1,39 +0,0 @@ -# -# OS specific configuration for Linux OS target. -# - -# -# PJLIB_OBJS specified here are object files to be included in PJLIB -# (the library) for this specific operating system. Object files common -# to all operating systems should go in Makefile instead. -# -export PJLIB_OBJS += addr_resolv_sock.o file_access_unistd.o \ - file_io_ansi.o guid_simple.o \ - log_writer_stdout.o os_core_unix.o \ - os_error_unix.o os_time_unix.o \ - os_timestamp_common.o os_timestamp_posix.o \ - pool_policy_malloc.o sock_bsd.o sock_select.o - -ifeq (epoll,$(LINUX_POLL)) -export PJLIB_OBJS += ioqueue_epoll.o -else -export PJLIB_OBJS += ioqueue_select.o -endif - -# -# TEST_OBJS are operating system specific object files to be included in -# the test application. -# -export TEST_OBJS += main.o - -# -# Additional LDFLAGS for pjlib-test -# -export TEST_LDFLAGS += -lm - -# -# TARGETS are make targets in the Makefile, to be executed for this given -# operating system. -# -export TARGETS = pjlib pjlib-test - diff --git a/res/pjproject/pjlib/build/os-rtems.mak b/res/pjproject/pjlib/build/os-rtems.mak deleted file mode 100644 index 1501dd9b29..0000000000 --- a/res/pjproject/pjlib/build/os-rtems.mak +++ /dev/null @@ -1,46 +0,0 @@ -# -# PJLIB OS specific configuration for RTEMS -# -# Thanks Zetron, Inc. and Phil Torre for donating PJLIB -# port to RTEMS. -# - -# -# PJLIB_OBJS specified here are object files to be included in PJLIB -# (the library) for this specific operating system. Object files common -# to all operating systems should go in Makefile instead. -# -export PJLIB_OBJS += addr_resolv_sock.o guid_simple.o \ - log_writer_stdout.o os_core_unix.o \ - os_error_unix.o os_time_unix.o \ - os_timestamp_common.o os_timestamp_posix.o \ - pool_policy_malloc.o sock_bsd.o sock_select.o - -export PJLIB_OBJS += ioqueue_select.o -export PJLIB_OBJS += file_access_unistd.o file_io_ansi.o - -# -# TEST_OBJS are operating system specific object files to be included in -# the test application. -# -export TEST_OBJS += main_rtems.o - -# -# RTEMS_LIBRARY_PATH points to the installed RTEMS libraries for the -# desired target. pjlib-test can't link without this. -# -export RTEMS_LIBRARY_PATH := $(RTEMS_LIBRARY_PATH) - -# -# Additional LDFLAGS for pjlib-test -# -export TEST_LDFLAGS += - -# -# TARGETS are make targets in the Makefile, to be executed for this given -# operating system. -# -export TARGETS = pjlib pjlib-test - - - diff --git a/res/pjproject/pjlib/build/os-sunos.mak b/res/pjproject/pjlib/build/os-sunos.mak deleted file mode 100644 index f0043ad65c..0000000000 --- a/res/pjproject/pjlib/build/os-sunos.mak +++ /dev/null @@ -1,36 +0,0 @@ -# -# PJLIB OS specific configuration for SunOS target. -# - -# -# PJLIB_OBJS specified here are object files to be included in PJLIB -# (the library) for this specific operating system. Object files common -# to all operating systems should go in Makefile instead. -# -export PJLIB_OBJS += addr_resolv_sock.o file_access_unistd.o \ - file_io_ansi.o guid_simple.o \ - log_writer_stdout.o os_core_unix.o \ - os_error_unix.o os_time_unix.o \ - os_timestamp_common.o os_timestamp_posix.o \ - pool_policy_malloc.o sock_bsd.o sock_select.o - -export PJLIB_OBJS += ioqueue_select.o -#export PJLIB_OBJS += ioqueue_epoll.o - -# -# TEST_OBJS are operating system specific object files to be included in -# the test application. -# -export TEST_OBJS += main.o - -# -# Additional LDFLAGS for pjlib-test -# -export TEST_LDFLAGS += -lm - -# -# TARGETS are make targets in the Makefile, to be executed for this given -# operating system. -# -export TARGETS = pjlib pjlib-test - diff --git a/res/pjproject/pjlib/build/os-win32.mak b/res/pjproject/pjlib/build/os-win32.mak deleted file mode 100644 index 0290fea955..0000000000 --- a/res/pjproject/pjlib/build/os-win32.mak +++ /dev/null @@ -1,33 +0,0 @@ -# -# OS specific configuration for Win32 OS target. -# - -# -# PJLIB_OBJS specified here are object files to be included in PJLIB -# (the library) for this specific operating system. Object files common -# to all operating systems should go in Makefile instead. -# -export PJLIB_OBJS += addr_resolv_sock.o guid_win32.o \ - log_writer_stdout.o os_core_win32.o \ - os_error_win32.o os_time_bsd.o os_timestamp_common.o \ - os_timestamp_win32.o \ - pool_policy_malloc.o sock_bsd.o sock_select.o - -#export PJLIB_OBJS += ioqueue_winnt.o -export PJLIB_OBJS += ioqueue_select.o - -export PJLIB_OBJS += file_io_win32.o file_access_win32.o -#export PJLIB_OBJS += file_io_ansi.o - -# -# TEST_OBJS are operating system specific object files to be included in -# the test application. -# -export TEST_OBJS += main.o - -# -# TARGETS are make targets in the Makefile, to be executed for this given -# operating system. -# -export TARGETS = pjlib pjlib-test - diff --git a/res/pjproject/pjlib/build/pjlib.vcproj b/res/pjproject/pjlib/build/pjlib.vcproj deleted file mode 100644 index b949188e0b..0000000000 --- a/res/pjproject/pjlib/build/pjlib.vcproj +++ /dev/null @@ -1,11804 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjlib/build/pjlib_samples.mak b/res/pjproject/pjlib/build/pjlib_samples.mak deleted file mode 100644 index 9425d14b01..0000000000 --- a/res/pjproject/pjlib/build/pjlib_samples.mak +++ /dev/null @@ -1,36 +0,0 @@ - -OUTDIR=.\output\pjlib-samples-i386-win32-$(VC)-$(MODE) - -SRCDIR=../src/pjlib-samples - -SAMPLES=$(OUTDIR)/except.exe \ - $(OUTDIR)/log.exe \ - $(OUTDIR)/list.exe \ - -!IF "$(MODE)" == "debug" -MODE_CFLAGS=/MTd -!ELSE -MODE_CFLAGS=/MT -!ENDIF - -CFLAGS=/nologo /W4 $(MODE_CFLAGS) /DPJ_WIN32=1 /DPJ_M_I386=1 /I../include - -PJLIB=../lib/pjlib-i386-win32-$(VC)-$(MODE).lib - -DEPEND=$(PJLIB) -LIBS=netapi32.lib mswsock.lib ws2_32.lib ole32.lib advapi32.lib -CL=cl.exe - -all: "$(OUTDIR)" $(SAMPLES) - -$(SAMPLES): "$(SRCDIR)/$(@B).c" $(DEPEND) - $(CL) /Fe$@ \ - /Fo$(@R).obj \ - $(CFLAGS) \ - $** $(LIBS) - -"$(OUTDIR)" : - @IF NOT EXIST "$(OUTDIR)" MKDIR "$(OUTDIR)" - -clean : - @IF EXIST "$(OUTDIR)" DEL /Q "$(OUTDIR)\*.*" && RMDIR "$(OUTDIR)" diff --git a/res/pjproject/pjlib/build/pjlib_test.vcproj b/res/pjproject/pjlib/build/pjlib_test.vcproj deleted file mode 100644 index da8c5ae601..0000000000 --- a/res/pjproject/pjlib/build/pjlib_test.vcproj +++ /dev/null @@ -1,5301 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjlib/build/privkey.pem b/res/pjproject/pjlib/build/privkey.pem deleted file mode 100644 index 44c4b4e65f..0000000000 --- a/res/pjproject/pjlib/build/privkey.pem +++ /dev/null @@ -1,15 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIICXgIBAAKBgQDI9T0Pf+1gKOTOAGEpZ481Q6xfm5vz6n1+6udxzQtfPKlQrPD5 -x5im2u3tmy6ABxZeY5tCdeikBPiGlc5bRIRng6KM8kidkg3gEhwhRUxHCMWbmBpk -z7rFERf/pWAOCqYCiy1RT8QrK+XOFoFdJhdF85UPDEUw+pHEsYetTDs9RQIDAQAB -AoGAGV+1xQY/H7wqH8S2f/begzg3RJ8uUt8R13urm5frTqwnKNOdXbyRDshn8G9+ -sJW0gliLWxnuNP+Xrc6ujqGZIguK/yAxJ3LprAN2Ay1lW2ONyZNMquBeIY5Txhyy -SnU7U+NQYgA3+w9T7O7YQ575TTDm2gri558jIx8t55Wo9sUCQQDtjfGZ3sYXwpxR -MvtdtfwDxSKhf6glT6dn7/37KITBZXFy6Eb/tHrEEUuwR46g30vTd2JElCB+QExu -4sZDt813AkEA2I/WXdGVRXtHzVivf3AnqWyXfrfAAXlBmEkgPyIPwE1+mxeNxkU7 -TRn0MOqAfbQW4+GRIYCKSBLodRnRq2iKIwJBAJLYa8DyNQH7CyYmnbwQAvlRo1ax -0v89ff6CHD5ljar/SmH9s+XdawZIqsENet13KyhNZDGAX5WrqZPiGy1BMYECQQC1 -FREawfUfdEZF3rJgzVdcxACpZNyYXtwKipr8L28cTbBf3wIdmCZOAjW98VgfxEaf -pi3E5ca7HZRi1oQL4A4hAkEA5koHCQYl+5PDjbLtxl0VyVCpmT9BrcZ99MS+ZEaW -2+HpKIhXrEFxePQaWbCaW7gjKmKUwC0qqu0moedqJC3mzg== ------END RSA PRIVATE KEY----- diff --git a/res/pjproject/pjlib/build/wince-evc4/pjlib_test_wince.vcp b/res/pjproject/pjlib/build/wince-evc4/pjlib_test_wince.vcp deleted file mode 100644 index fc36ce6cae..0000000000 --- a/res/pjproject/pjlib/build/wince-evc4/pjlib_test_wince.vcp +++ /dev/null @@ -1,39723 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="pjlib_test_wince" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE MIPSIV_FP) Application" 0x9201 -# TARGTYPE "Win32 (WCE x86) Application" 0x8301 -# TARGTYPE "Win32 (WCE ARMV4) Application" 0xa301 -# TARGTYPE "Win32 (WCE MIPS16) Application" 0x8901 -# TARGTYPE "Win32 (WCE SH3) Application" 0x8101 -# TARGTYPE "Win32 (WCE ARMV4I) Application" 0xa501 -# TARGTYPE "Win32 (WCE SH4) Application" 0x8601 -# TARGTYPE "Win32 (WCE MIPSII_FP) Application" 0xa201 -# TARGTYPE "Win32 (WCE emulator) Application" 0xa601 -# TARGTYPE "Win32 (WCE MIPSIV) Application" 0x9601 -# TARGTYPE "Win32 (WCE ARMV4T) Application" 0xa401 -# TARGTYPE "Win32 (WCE MIPSII) Application" 0xa101 - -CFG=pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "pjlib_test_wince.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "pjlib_test_wince.vcn" CFG="pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" (based on "Win32 (WCE MIPSII_FP) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" (based on "Win32 (WCE MIPSII_FP) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE MIPSII) Release" (based on "Win32 (WCE MIPSII) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE MIPSII) Debug" (based on "Win32 (WCE MIPSII) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE SH4) Release" (based on "Win32 (WCE SH4) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE SH4) Debug" (based on "Win32 (WCE SH4) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE SH3) Release" (based on "Win32 (WCE SH3) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE SH3) Debug" (based on "Win32 (WCE SH3) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE MIPSIV) Release" (based on "Win32 (WCE MIPSIV) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" (based on "Win32 (WCE MIPSIV) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" (based on "Win32 (WCE MIPSIV_FP) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" (based on "Win32 (WCE MIPSIV_FP) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE MIPS16) Release" (based on "Win32 (WCE MIPS16) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE MIPS16) Debug" (based on "Win32 (WCE MIPS16) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Application") -!MESSAGE "pjlib_test_wince - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib_test_MIPSII_FPRel" -# PROP BASE Intermediate_Dir "./output/pjlib_test_MIPSII_FPRel" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_test_MIPSII_FPRel" -# PROP Intermediate_Dir "./output/pjlib_test_MIPSII_FPRel" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D "NDEBUG" /D PJ_WIN32_WINCE=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib_test_MIPSII_FPDbg" -# PROP BASE Intermediate_Dir "./output/pjlib_test_MIPSII_FPDbg" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_test_MIPSII_FPDbg" -# PROP Intermediate_Dir "./output/pjlib_test_MIPSII_FPDbg" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D PJ_WIN32_WINCE=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib_test_MIPSIIRel" -# PROP BASE Intermediate_Dir "./output/pjlib_test_MIPSIIRel" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_test_MIPSIIRel" -# PROP Intermediate_Dir "./output/pjlib_test_MIPSIIRel" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "NDEBUG" /D PJ_WIN32_WINCE=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib_test_MIPSIIDbg" -# PROP BASE Intermediate_Dir "./output/pjlib_test_MIPSIIDbg" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_test_MIPSIIDbg" -# PROP Intermediate_Dir "./output/pjlib_test_MIPSIIDbg" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D PJ_WIN32_WINCE=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib_test_SH4Rel" -# PROP BASE Intermediate_Dir "./output/pjlib_test_SH4Rel" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_test_SH4Rel" -# PROP Intermediate_Dir "./output/pjlib_test_SH4Rel" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Qsh4 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /D "SHx" /D "SH4" /D "_SH4_" /D "NDEBUG" /D PJ_WIN32_WINCE=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /Qsh4 /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib_test_SH4Dbg" -# PROP BASE Intermediate_Dir "./output/pjlib_test_SH4Dbg" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_test_SH4Dbg" -# PROP Intermediate_Dir "./output/pjlib_test_SH4Dbg" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /Qsh4 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "SHx" /D "SH4" /D "_SH4_" /D PJ_WIN32_WINCE=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /Qsh4 /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib_test_SH3Rel" -# PROP BASE Intermediate_Dir "./output/pjlib_test_SH3Rel" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_test_SH3Rel" -# PROP Intermediate_Dir "./output/pjlib_test_SH3Rel" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /D "SHx" /D "SH3" /D "_SH3_" /D "NDEBUG" /D PJ_WIN32_WINCE=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib_test_SH3Dbg" -# PROP BASE Intermediate_Dir "./output/pjlib_test_SH3Dbg" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_test_SH3Dbg" -# PROP Intermediate_Dir "./output/pjlib_test_SH3Dbg" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D PJ_WIN32_WINCE=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib_test_MIPSIVRel" -# PROP BASE Intermediate_Dir "./output/pjlib_test_MIPSIVRel" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_test_MIPSIVRel" -# PROP Intermediate_Dir "./output/pjlib_test_MIPSIVRel" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "NDEBUG" /D PJ_WIN32_WINCE=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib_test_MIPSIVDbg" -# PROP BASE Intermediate_Dir "./output/pjlib_test_MIPSIVDbg" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_test_MIPSIVDbg" -# PROP Intermediate_Dir "./output/pjlib_test_MIPSIVDbg" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D PJ_WIN32_WINCE=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib_test_emulatorRel" -# PROP BASE Intermediate_Dir "./output/pjlib_test_emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_test_emulatorRel" -# PROP Intermediate_Dir "./output/pjlib_test_emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /D "_i386_" /D "i_386_" /D "_X86_" /D "x86" /D "NDEBUG" /D PJ_WIN32_WINCE=1 /D PJ_M_I386=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /Gs8192 /GF /O2 /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib_test_emulatorDbg" -# PROP BASE Intermediate_Dir "./output/pjlib_test_emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_test_emulatorDbg" -# PROP Intermediate_Dir "./output/pjlib_test_emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "_i386_" /D "i_386_" /D "_X86_" /D "x86" /D PJ_WIN32_WINCE=1 /D PJ_M_I386=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /FR /YX /Gs8192 /GF /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib_test_ARMV4IRel" -# PROP BASE Intermediate_Dir "./output/pjlib_test_ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_test_ARMV4IRel" -# PROP Intermediate_Dir "./output/pjlib_test_ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /D "ARM" /D "_ARM_" /D "ARMV4I" /D "NDEBUG" /D PJ_WIN32_WINCE=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib_test_ARMV4IDbg" -# PROP BASE Intermediate_Dir "./output/pjlib_test_ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_test_ARMV4IDbg" -# PROP Intermediate_Dir "./output/pjlib_test_ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4I" /D PJ_WIN32_WINCE=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib_test_MIPSIV_FPRel" -# PROP BASE Intermediate_Dir "./output/pjlib_test_MIPSIV_FPRel" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_test_MIPSIV_FPRel" -# PROP Intermediate_Dir "./output/pjlib_test_MIPSIV_FPRel" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D "NDEBUG" /D PJ_WIN32_WINCE=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib_test_MIPSIV_FPDbg" -# PROP BASE Intermediate_Dir "./output/pjlib_test_MIPSIV_FPDbg" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_test_MIPSIV_FPDbg" -# PROP Intermediate_Dir "./output/pjlib_test_MIPSIV_FPDbg" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D PJ_WIN32_WINCE=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib_test_ARMV4Rel" -# PROP BASE Intermediate_Dir "./output/pjlib_test_ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_test_ARMV4Rel" -# PROP Intermediate_Dir "./output/pjlib_test_ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /D "ARM" /D "_ARM_" /D "ARMV4" /D "NDEBUG" /D PJ_WIN32_WINCE=1 /D PJ_M_ARMV4=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib_test_ARMV4Dbg" -# PROP BASE Intermediate_Dir "./output/pjlib_test_ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_test_ARMV4Dbg" -# PROP Intermediate_Dir "./output/pjlib_test_ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D PJ_WIN32_WINCE=1 /D PJ_M_ARMV4=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /FR /YX /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib_test_MIPS16Rel" -# PROP BASE Intermediate_Dir "./output/pjlib_test_MIPS16Rel" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_test_MIPS16Rel" -# PROP Intermediate_Dir "./output/pjlib_test_MIPS16Rel" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /YX /QMmips16 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /D PJ_WIN32_WINCE=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips16 /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib_test_MIPS16Dbg" -# PROP BASE Intermediate_Dir "./output/pjlib_test_MIPS16Dbg" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_test_MIPS16Dbg" -# PROP Intermediate_Dir "./output/pjlib_test_MIPS16Dbg" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /YX /QMmips16 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D "_MIPS16_" /D "MIPS16SUPPORT" /D PJ_WIN32_WINCE=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips16 /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib_test_ARMV4TRel" -# PROP BASE Intermediate_Dir "./output/pjlib_test_ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_test_ARMV4TRel" -# PROP Intermediate_Dir "./output/pjlib_test_ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /D "ARM" /D "_ARM_" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "NDEBUG" /D PJ_WIN32_WINCE=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib_test_ARMV4TDbg" -# PROP BASE Intermediate_Dir "./output/pjlib_test_ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_test_ARMV4TDbg" -# PROP Intermediate_Dir "./output/pjlib_test_ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "ARM" /D "_ARM_" /D PJ_WIN32_WINCE=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib_test_X86Rel" -# PROP BASE Intermediate_Dir "./output/pjlib_test_X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_test_X86Rel" -# PROP Intermediate_Dir "./output/pjlib_test_X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /D "_i386_" /D "i_386_" /D "_X86_" /D "x86" /D "NDEBUG" /D PJ_WIN32_WINCE=1 /D PJ_M_I386=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /Gs8192 /GF /O2 /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib_test_X86Dbg" -# PROP BASE Intermediate_Dir "./output/pjlib_test_X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_test_X86Dbg" -# PROP Intermediate_Dir "./output/pjlib_test_X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "_i386_" /D "i_386_" /D "_X86_" /D "x86" /D PJ_WIN32_WINCE=1 /D PJ_M_I386=1 /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /Gs8192 /GF /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 winsock.lib ws2.lib $(CEx86Corelibc) commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ENDIF - -# Begin Target - -# Name "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" -# Name "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" -# Name "pjlib_test_wince - Win32 (WCE MIPSII) Release" -# Name "pjlib_test_wince - Win32 (WCE MIPSII) Debug" -# Name "pjlib_test_wince - Win32 (WCE SH4) Release" -# Name "pjlib_test_wince - Win32 (WCE SH4) Debug" -# Name "pjlib_test_wince - Win32 (WCE SH3) Release" -# Name "pjlib_test_wince - Win32 (WCE SH3) Debug" -# Name "pjlib_test_wince - Win32 (WCE MIPSIV) Release" -# Name "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" -# Name "pjlib_test_wince - Win32 (WCE emulator) Release" -# Name "pjlib_test_wince - Win32 (WCE emulator) Debug" -# Name "pjlib_test_wince - Win32 (WCE ARMV4I) Release" -# Name "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" -# Name "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" -# Name "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" -# Name "pjlib_test_wince - Win32 (WCE ARMV4) Release" -# Name "pjlib_test_wince - Win32 (WCE ARMV4) Debug" -# Name "pjlib_test_wince - Win32 (WCE MIPS16) Release" -# Name "pjlib_test_wince - Win32 (WCE MIPS16) Debug" -# Name "pjlib_test_wince - Win32 (WCE ARMV4T) Release" -# Name "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" -# Name "pjlib_test_wince - Win32 (WCE x86) Release" -# Name "pjlib_test_wince - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE="..\..\src\pjlib-test\atomic.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ATOMI=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ATOMI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\echo_clt.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ECHO_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ECHO_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\errno.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\exception.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\fifobuf.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\file.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_FILE_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\hash_test.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\ioq_perf.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_IOQ_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\ioq_tcp.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_T=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_IOQ_T=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\ioq_udp.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_IOQ_U=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_IOQ_U=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\ioq_unreg.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_IOQ_UN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\list.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_LIST_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_LIST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\main.c" -DEP_CPP_MAIN_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - -# PROP Exclude_From_Build 1 -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\main_win32.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\unicode.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_MAIN_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\mutex.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_MUTEX=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_MUTEX=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\os.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\pool.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_POOL_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_POOL_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\pool_perf.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\rand.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RAND_=\ - "..\..\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\rbtree.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\select.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SELEC=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SELEC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SELEC=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\sleep.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SLEEP=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SLEEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\sock.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pj\os_symbian.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\sock_perf.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_SOCK_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SOCK_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\string.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_STRIN=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\test.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TEST_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TEST_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TEST_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\thread.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_THREA=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_THREA=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_THREA=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\timer.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TIMER=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\timestamp.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_TIMES=\ - "..\..\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TIMES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\udp_echo_srv_ioqueue.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_E=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_UDP_E=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\udp_echo_srv_sync.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UDP_EC=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_UDP_EC=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjlib-test\util.c" - -!IF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - -NODEP_CPP_UTIL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_UTIL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_armv4.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_powerpc.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\m_x86_64.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE="..\..\src\pjlib-test\test.h" -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/res/pjproject/pjlib/build/wince-evc4/pjlib_wince.vcp b/res/pjproject/pjlib/build/wince-evc4/pjlib_wince.vcp deleted file mode 100644 index 5fba89836a..0000000000 --- a/res/pjproject/pjlib/build/wince-evc4/pjlib_wince.vcp +++ /dev/null @@ -1,15361 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="pjlib_wince" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE x86) Static Library" 0x8304 -# TARGTYPE "Win32 (WCE ARMV4) Static Library" 0xa304 -# TARGTYPE "Win32 (WCE ARMV4I) Static Library" 0xa504 -# TARGTYPE "Win32 (WCE emulator) Static Library" 0xa604 -# TARGTYPE "Win32 (WCE ARMV4T) Static Library" 0xa404 - -CFG=pjlib_wince - Win32 (WCE x86) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "pjlib_wince.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "pjlib_wince.vcn" CFG="pjlib_wince - Win32 (WCE x86) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "pjlib_wince - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "pjlib_wince - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "pjlib_wince - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "pjlib_wince - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "pjlib_wince - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "pjlib_wince - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "pjlib_wince - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "pjlib_wince - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "pjlib_wince - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Static Library") -!MESSAGE "pjlib_wince - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib_emulatorRel" -# PROP BASE Intermediate_Dir "./output/pjlib_emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_emulatorRel" -# PROP Intermediate_Dir "./output/pjlib_emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /D "NDEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# SUBTRACT CPP /Fr -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib_emulatorDbg" -# PROP BASE Intermediate_Dir "./output/pjlib_emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_emulatorDbg" -# PROP Intermediate_Dir "./output/pjlib_emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -# SUBTRACT CPP /Fr -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib_ARMV4IRel" -# PROP BASE Intermediate_Dir "./output/pjlib_ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_ARMV4IRel" -# PROP Intermediate_Dir "./output/pjlib_ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /D "ARMV4I" /D "NDEBUG" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# SUBTRACT CPP /Fr -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib_ARMV4IDbg" -# PROP BASE Intermediate_Dir "./output/pjlib_ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_ARMV4IDbg" -# PROP Intermediate_Dir "./output/pjlib_ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "ARMV4I" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# SUBTRACT CPP /Fr -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib_ARMV4Rel" -# PROP BASE Intermediate_Dir "./output/pjlib_ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_ARMV4Rel" -# PROP Intermediate_Dir "./output/pjlib_ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /Oxt /I "../../include" /D "NDEBUG" /D "ARMV4" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMT) /c -# SUBTRACT CPP /Fr -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib_ARMV4Dbg" -# PROP BASE Intermediate_Dir "./output/pjlib_ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_ARMV4Dbg" -# PROP Intermediate_Dir "./output/pjlib_ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "ARMV4" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# SUBTRACT CPP /Fr -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib_ARMV4TRel" -# PROP BASE Intermediate_Dir "./output/pjlib_ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_ARMV4TRel" -# PROP Intermediate_Dir "./output/pjlib_ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "NDEBUG" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# SUBTRACT CPP /Fr -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib_ARMV4TDbg" -# PROP BASE Intermediate_Dir "./output/pjlib_ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_ARMV4TDbg" -# PROP Intermediate_Dir "./output/pjlib_ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# SUBTRACT CPP /Fr -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjlib_X86Rel" -# PROP BASE Intermediate_Dir "./output/pjlib_X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjlib_X86Rel" -# PROP Intermediate_Dir "./output/pjlib_X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /D "NDEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# SUBTRACT CPP /Fr -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjlib_X86Dbg" -# PROP BASE Intermediate_Dir "./output/pjlib_X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjlib_X86Dbg" -# PROP Intermediate_Dir "./output/pjlib_X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -# SUBTRACT CPP /Fr -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ENDIF - -# Begin Target - -# Name "pjlib_wince - Win32 (WCE emulator) Release" -# Name "pjlib_wince - Win32 (WCE emulator) Debug" -# Name "pjlib_wince - Win32 (WCE ARMV4I) Release" -# Name "pjlib_wince - Win32 (WCE ARMV4I) Debug" -# Name "pjlib_wince - Win32 (WCE ARMV4) Release" -# Name "pjlib_wince - Win32 (WCE ARMV4) Debug" -# Name "pjlib_wince - Win32 (WCE ARMV4T) Release" -# Name "pjlib_wince - Win32 (WCE ARMV4T) Debug" -# Name "pjlib_wince - Win32 (WCE x86) Release" -# Name "pjlib_wince - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\src\pj\activesock.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ACTIV=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ACTIV=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ACTIV=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ACTIV=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ACTIV=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ACTIV=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ACTIV=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ACTIV=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_ACTIV=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ACTIV=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\addr_resolv_sock.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ADDR_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ADDR_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ADDR_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ADDR_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ADDR_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ADDR_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ADDR_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ADDR_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ADDR_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ADDR_=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ADDR_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ADDR_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ADDR_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ADDR_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_ADDR_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ADDR_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ADDR_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\array.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ARRAY=\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ARRAY=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ARRAY=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ARRAY=\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ARRAY=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ARRAY=\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ARRAY=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ARRAY=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ARRAY=\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ARRAY=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ARRAY=\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ARRAY=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ARRAY=\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ARRAY=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_ARRAY=\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ARRAY=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ARRAY=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\config.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_CONFI=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_CONFI=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_CONFI=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_CONFI=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_CONFI=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_CONFI=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_CONFI=\ - "..\..\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_CONFI=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_CONFI=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_CONFI=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_CONFI=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\ctype.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_CTYPE=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_CTYPE=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_CTYPE=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_CTYPE=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_CTYPE=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_CTYPE=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_CTYPE=\ - "..\..\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_CTYPE=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_CTYPE=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_CTYPE=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_CTYPE=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\errno.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ERRNO=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\except.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_EXCEP=\ - "..\..\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_EXCEP=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\fifobuf.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_FIFOB=\ - "..\..\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_FIFOB=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\file_access_win32.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_FILE_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_FILE_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_FILE_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_FILE_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_FILE_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_FILE_=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\unicode.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_FILE_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_FILE_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_FILE_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_FILE_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\file_io_win32.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_FILE_I=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_FILE_I=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_FILE_I=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_FILE_I=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_FILE_I=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_FILE_I=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_FILE_I=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\unicode.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_FILE_I=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_FILE_I=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_FILE_I=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_FILE_I=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\guid.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_GUID_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_GUID_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_GUID_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_GUID_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_GUID_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_GUID_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_GUID_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_GUID_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_GUID_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_GUID_=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_GUID_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_GUID_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_GUID_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_GUID_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_GUID_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_GUID_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_GUID_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\guid_simple.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_GUID_S=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_GUID_S=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_GUID_S=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_GUID_S=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_GUID_S=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_GUID_S=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_GUID_S=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_GUID_S=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_GUID_S=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_GUID_S=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_GUID_S=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_GUID_S=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_GUID_S=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_GUID_S=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_GUID_S=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_GUID_S=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_GUID_S=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\hash.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_HASH_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_HASH_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_HASH_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_HASH_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_HASH_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_HASH_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_HASH_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_HASH_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_HASH_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_HASH_=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_HASH_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_HASH_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_HASH_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_HASH_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_HASH_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_HASH_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_HASH_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\ioqueue_common_abs.c -# PROP Exclude_From_Build 1 -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\ioqueue_common_abs.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\ioqueue_select.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_IOQUE=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pj\ioqueue_common_abs.c"\ - "..\..\src\pj\ioqueue_common_abs.h"\ - -NODEP_CPP_IOQUE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_IOQUE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pj\ioqueue_common_abs.c"\ - "..\..\src\pj\ioqueue_common_abs.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_IOQUE=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pj\ioqueue_common_abs.c"\ - "..\..\src\pj\ioqueue_common_abs.h"\ - -NODEP_CPP_IOQUE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_IOQUE=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pj\ioqueue_common_abs.c"\ - "..\..\src\pj\ioqueue_common_abs.h"\ - -NODEP_CPP_IOQUE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_IOQUE=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pj\ioqueue_common_abs.c"\ - "..\..\src\pj\ioqueue_common_abs.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_IOQUE=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pj\ioqueue_common_abs.c"\ - "..\..\src\pj\ioqueue_common_abs.h"\ - -NODEP_CPP_IOQUE=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_IOQUE=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pj\ioqueue_common_abs.c"\ - "..\..\src\pj\ioqueue_common_abs.h"\ - -NODEP_CPP_IOQUE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_IOQUE=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pj\ioqueue_common_abs.c"\ - "..\..\src\pj\ioqueue_common_abs.h"\ - -NODEP_CPP_IOQUE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_IOQUE=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - "..\..\src\pj\ioqueue_common_abs.c"\ - "..\..\src\pj\ioqueue_common_abs.h"\ - -NODEP_CPP_IOQUE=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_IOQUE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pj\ioqueue_common_abs.c"\ - "..\..\src\pj\ioqueue_common_abs.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\ip_helper_win32.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_IP_HE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - -NODEP_CPP_IP_HE=\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - ".\pexport.h"\ - ".\phlpapi.h"\ - ".\ptypes.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_IP_HE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - -NODEP_CPP_IP_HE=\ - ".\pexport.h"\ - ".\phlpapi.h"\ - ".\ptypes.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_IP_HE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - -NODEP_CPP_IP_HE=\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - ".\pexport.h"\ - ".\phlpapi.h"\ - ".\ptypes.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_IP_HE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - -NODEP_CPP_IP_HE=\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - ".\pexport.h"\ - ".\phlpapi.h"\ - ".\ptypes.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_IP_HE=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - -NODEP_CPP_IP_HE=\ - ".\pexport.h"\ - ".\phlpapi.h"\ - ".\ptypes.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_IP_HE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - -NODEP_CPP_IP_HE=\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - ".\pexport.h"\ - ".\phlpapi.h"\ - ".\ptypes.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_IP_HE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - -NODEP_CPP_IP_HE=\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - ".\pexport.h"\ - ".\phlpapi.h"\ - ".\ptypes.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_IP_HE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - -NODEP_CPP_IP_HE=\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - ".\pexport.h"\ - ".\phlpapi.h"\ - ".\ptypes.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_IP_HE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - -NODEP_CPP_IP_HE=\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - ".\pexport.h"\ - ".\phlpapi.h"\ - ".\ptypes.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_IP_HE=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - -NODEP_CPP_IP_HE=\ - ".\pexport.h"\ - ".\phlpapi.h"\ - ".\ptypes.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\list.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_LIST_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_LIST_=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_LIST_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_LIST_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_LIST_=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_LIST_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_LIST_=\ - "..\..\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_LIST_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_LIST_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_LIST_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_LIST_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\lock.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_LOCK_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_LOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_LOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_LOCK_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_LOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_LOCK_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_LOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_LOCK_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_LOCK_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_LOCK_=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_LOCK_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_LOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_LOCK_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_LOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_LOCK_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_LOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_LOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\log.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_LOG_C=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_LOG_C=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_LOG_C=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_LOG_C=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_LOG_C=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_LOG_C=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_LOG_C=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_LOG_C=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_LOG_C=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_LOG_C=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_LOG_C=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_LOG_C=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_LOG_C=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_LOG_C=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_LOG_C=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_LOG_C=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_LOG_C=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\log_writer_stdout.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_LOG_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdfileio.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_LOG_W=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdfileio.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_LOG_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdfileio.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_LOG_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdfileio.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_LOG_W=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdfileio.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_LOG_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdfileio.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_LOG_W=\ - "..\..\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_LOG_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdfileio.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_LOG_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdfileio.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_LOG_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdfileio.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_LOG_W=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdfileio.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\os_core_win32.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_OS_CO=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_OS_CO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_OS_CO=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pj\os_rwmutex.c"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_OS_CO=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_OS_CO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_OS_CO=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_OS_CO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_OS_CO=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pj\os_rwmutex.c"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_OS_CO=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_OS_CO=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_OS_CO=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_OS_CO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_OS_CO=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_OS_CO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_OS_CO=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_OS_CO=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_OS_CO=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pj\os_rwmutex.c"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\os_error_win32.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_OS_ER=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_OS_ER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_OS_ER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_OS_ER=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_OS_ER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_OS_ER=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_OS_ER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_OS_ER=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_OS_ER=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_OS_ER=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_OS_ER=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_OS_ER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_OS_ER=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_OS_ER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_OS_ER=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_OS_ER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_OS_ER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\os_time_win32.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_OS_TI=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_OS_TI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_OS_TI=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_OS_TI=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_OS_TI=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_OS_TI=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_OS_TI=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_OS_TI=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_OS_TI=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_OS_TI=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_OS_TI=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\os_timestamp_common.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_OS_TIM=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_OS_TIM=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_OS_TIM=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_OS_TIM=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_OS_TIM=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_OS_TIM=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_OS_TIM=\ - "..\..\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_OS_TIM=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_OS_TIM=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_OS_TIM=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_OS_TIM=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\os_timestamp_win32.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_OS_TIME=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_OS_TIME=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_OS_TIME=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_OS_TIME=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_OS_TIME=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_OS_TIME=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_OS_TIME=\ - "..\..\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_OS_TIME=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_OS_TIME=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_OS_TIME=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_OS_TIME=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\pool.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_POOL_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_POOL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_POOL_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_POOL_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_POOL_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_POOL_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_POOL_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_POOL_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_POOL_=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_POOL_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\pool_buf.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_POOL_B=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_POOL_B=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_POOL_B=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_POOL_B=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_POOL_B=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_POOL_B=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_POOL_B=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_POOL_B=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_POOL_B=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_POOL_B=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\pool_caching.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_POOL_C=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_C=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_POOL_C=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_POOL_C=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_C=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_POOL_C=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_C=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_POOL_C=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_POOL_C=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_C=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_POOL_C=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_C=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_POOL_C=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_C=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_POOL_C=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_C=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_POOL_C=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\pool_policy_malloc.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pj\pool_signature.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - "..\..\src\pj\pool_signature.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_POOL_P=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_POOL_P=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\malloc.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\rand.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\rand.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\rand.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\rand.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\rand.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\rand.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\rand.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_RAND_=\ - "..\..\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\rand.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\rand.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\rand.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_RAND_=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\rand.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\rbtree.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_RBTRE=\ - "..\..\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_RBTRE=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\sock_bsd.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_SOCK_=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SOCK_=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\sock_common.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SOCK_C=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SOCK_C=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SOCK_C=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SOCK_C=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SOCK_C=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SOCK_C=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SOCK_C=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SOCK_C=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_SOCK_C=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SOCK_C=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\sock_select.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SOCK_S=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SOCK_S=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SOCK_S=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SOCK_S=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SOCK_S=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SOCK_S=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_SOCK_S=\ - "..\..\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SOCK_S=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SOCK_S=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_SOCK_S=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SOCK_S=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\socket.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\string.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_STRIN=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_STRIN=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_STRIN=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_STRIN=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_STRIN=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\timer.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TIMER=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TIMER=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TIMER=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TIMER=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TIMER=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TIMER=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TIMER=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_TIMER=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_TIMER=\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TIMER=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\types.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TYPES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TYPES=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TYPES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TYPES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TYPES=\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TYPES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_TYPES=\ - "..\..\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TYPES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TYPES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_TYPES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TYPES=\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pj\unicode_win32.c - -!IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_UNICO=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_UNICO=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_UNICO=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_UNICO=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_UNICO=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_UNICO=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_UNICO=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_UNICO=\ - "..\..\include\pj\activesock.h"\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_armcc.h"\ - "..\..\include\pj\compat\cc_codew.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_gcce.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\cc_mwcc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\m_auto.h"\ - "..\..\include\pj\compat\os_auto.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_symbian.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\stdarg.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\config_site_sample.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\math.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_UNICO=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_UNICO=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_UNICO=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_UNICO=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_UNICO=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_UNICO=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" - -DEP_CPP_UNICO=\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\m_alpha.h"\ - "..\..\include\pj\compat\m_i386.h"\ - "..\..\include\pj\compat\m_m68k.h"\ - "..\..\include\pj\compat\m_sparc.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\types.h"\ - -NODEP_CPP_UNICO=\ - "..\..\include\pj\compat\m_arm.h"\ - "..\..\include\pj\compat\sprintf.h"\ - "..\..\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_UNICO=\ - "..\..\include\pj\addr_resolv.h"\ - "..\..\include\pj\array.h"\ - "..\..\include\pj\assert.h"\ - "..\..\include\pj\compat\assert.h"\ - "..\..\include\pj\compat\cc_gcc.h"\ - "..\..\include\pj\compat\cc_msvc.h"\ - "..\..\include\pj\compat\ctype.h"\ - "..\..\include\pj\compat\errno.h"\ - "..\..\include\pj\compat\high_precision.h"\ - "..\..\include\pj\compat\os_darwinos.h"\ - "..\..\include\pj\compat\os_linux.h"\ - "..\..\include\pj\compat\os_linux_kernel.h"\ - "..\..\include\pj\compat\os_palmos.h"\ - "..\..\include\pj\compat\os_rtems.h"\ - "..\..\include\pj\compat\os_sunos.h"\ - "..\..\include\pj\compat\os_win32.h"\ - "..\..\include\pj\compat\os_win32_wince.h"\ - "..\..\include\pj\compat\setjmp.h"\ - "..\..\include\pj\compat\size_t.h"\ - "..\..\include\pj\compat\string.h"\ - "..\..\include\pj\config.h"\ - "..\..\include\pj\config_site.h"\ - "..\..\include\pj\ctype.h"\ - "..\..\include\pj\errno.h"\ - "..\..\include\pj\except.h"\ - "..\..\include\pj\fifobuf.h"\ - "..\..\include\pj\file_access.h"\ - "..\..\include\pj\file_io.h"\ - "..\..\include\pj\guid.h"\ - "..\..\include\pj\hash.h"\ - "..\..\include\pj\ioqueue.h"\ - "..\..\include\pj\ip_helper.h"\ - "..\..\include\pj\list.h"\ - "..\..\include\pj\list_i.h"\ - "..\..\include\pj\lock.h"\ - "..\..\include\pj\log.h"\ - "..\..\include\pj\os.h"\ - "..\..\include\pj\pool.h"\ - "..\..\include\pj\pool_alt.h"\ - "..\..\include\pj\pool_buf.h"\ - "..\..\include\pj\pool_i.h"\ - "..\..\include\pj\rand.h"\ - "..\..\include\pj\rbtree.h"\ - "..\..\include\pj\sock.h"\ - "..\..\include\pj\sock_select.h"\ - "..\..\include\pj\string.h"\ - "..\..\include\pj\string_i.h"\ - "..\..\include\pj\timer.h"\ - "..\..\include\pj\types.h"\ - "..\..\include\pj\unicode.h"\ - "..\..\include\pjlib.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Group "compat" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\..\include\pj\compat\assert.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\compat\cc_gcc.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\compat\cc_msvc.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\compat\ctype.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\compat\errno.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\compat\high_precision.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\compat\m_armv4.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\compat\m_i386.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\compat\malloc.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\compat\os_win32_wince.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\compat\rand.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\compat\setjmp.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\compat\size_t.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\compat\socket.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\compat\sprintf.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\compat\stdarg.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\compat\stdfileio.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\compat\string.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\compat\time.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\compat\vsprintf.h -# End Source File -# End Group -# Begin Source File - -SOURCE=..\..\include\pj\activesock.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\addr_resolv.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\array.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\assert.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\config.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\config_site.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\config_site_sample.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\ctype.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\doxygen.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\errno.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\except.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\fifobuf.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\file_access.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\file_io.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\guid.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\hash.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\ioqueue.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\ip_helper.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\list.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\list_i.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\lock.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\log.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\math.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\os.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjlib.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\pool.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\pool_buf.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\pool_i.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\rand.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\rbtree.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\sock.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\sock_select.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\string.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\string_i.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\timer.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\types.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pj\unicode.h -# End Source File -# End Group -# End Target -# End Project diff --git a/res/pjproject/pjlib/build/wince-evc4/pjlib_wince.vcw b/res/pjproject/pjlib/build/wince-evc4/pjlib_wince.vcw deleted file mode 100644 index 663394a1ee..0000000000 --- a/res/pjproject/pjlib/build/wince-evc4/pjlib_wince.vcw +++ /dev/null @@ -1,44 +0,0 @@ -Microsoft eMbedded Visual Tools Workspace File, Format Version 4.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "pjlib_test_wince"=".\pjlib_test_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name pjlib_wince - End Project Dependency -}}} - -############################################################################### - -Project: "pjlib_wince"=".\pjlib_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/res/pjproject/pjlib/docs/doxygen.cfg b/res/pjproject/pjlib/docs/doxygen.cfg deleted file mode 100644 index 802484c501..0000000000 --- a/res/pjproject/pjlib/docs/doxygen.cfg +++ /dev/null @@ -1,1052 +0,0 @@ -# Doxyfile 1.3-rc3 - -# This file describes the settings to be used by the documentation system -# doxygen (www.doxygen.org) for a project -# -# All text after a hash (#) is considered a comment and will be ignored -# The format is: -# TAG = value [value, ...] -# For lists items can also be appended using: -# TAG += value [value, ...] -# Values that contain spaces should be placed between quotes (" ") - -#--------------------------------------------------------------------------- -# General configuration options -#--------------------------------------------------------------------------- - -# The PROJECT_NAME tag is a single word (or a sequence of words surrounded -# by quotes) that should identify the project. - -PROJECT_NAME = "PJLIB Reference" - -# The PROJECT_NUMBER tag can be used to enter a project or revision number. -# This could be handy for archiving the generated documentation or -# if some version control system is used. - -PROJECT_NUMBER = $(PJ_VERSION) - -# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) -# base path where the generated documentation will be put. -# If a relative path is entered, it will be relative to the location -# where doxygen was started. If left blank the current directory will be used. - -OUTPUT_DIRECTORY = docs/$(PJ_VERSION) - -# The OUTPUT_LANGUAGE tag is used to specify the language in which all -# documentation generated by doxygen is written. Doxygen will use this -# information to generate all constant output in the proper language. -# The default language is English, other supported languages are: -# Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, Dutch, -# Finnish, French, German, Greek, Hungarian, Italian, Japanese, Japanese-en -# (Japanese with english messages), Korean, Norwegian, Polish, Portuguese, -# Romanian, Russian, Serbian, Slovak, Slovene, Spanish, Swedish and Ukrainian. - -OUTPUT_LANGUAGE = English - -# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in -# documentation are documented, even if no documentation was available. -# Private class members and static file members will be hidden unless -# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES - -EXTRACT_ALL = NO - -# If the EXTRACT_PRIVATE tag is set to YES all private members of a class -# will be included in the documentation. - -EXTRACT_PRIVATE = NO - -# If the EXTRACT_STATIC tag is set to YES all static members of a file -# will be included in the documentation. - -EXTRACT_STATIC = NO - -# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) -# defined locally in source files will be included in the documentation. -# If set to NO only classes defined in header files are included. - -EXTRACT_LOCAL_CLASSES = YES - -# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all -# undocumented members of documented classes, files or namespaces. -# If set to NO (the default) these members will be included in the -# various overviews, but no documentation section is generated. -# This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_MEMBERS = NO - -# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all -# undocumented classes that are normally visible in the class hierarchy. -# If set to NO (the default) these class will be included in the various -# overviews. This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_CLASSES = NO - -# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all -# friend (class|struct|union) declarations. -# If set to NO (the default) these declarations will be included in the -# documentation. - -HIDE_FRIEND_COMPOUNDS = NO - -# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any -# documentation blocks found inside the body of a function. -# If set to NO (the default) these blocks will be appended to the -# function's detailed documentation block. - -HIDE_IN_BODY_DOCS = NO - -# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will -# include brief member descriptions after the members that are listed in -# the file and class documentation (similar to JavaDoc). -# Set to NO to disable this. - -BRIEF_MEMBER_DESC = YES - -# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend -# the brief description of a member or function before the detailed description. -# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the -# brief descriptions will be completely suppressed. - -REPEAT_BRIEF = YES - -# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then -# Doxygen will generate a detailed section even if there is only a brief -# description. - -ALWAYS_DETAILED_SEC = NO - -# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited -# members of a class in the documentation of that class as if those members were -# ordinary class members. Constructors, destructors and assignment operators of -# the base classes will not be shown. - -INLINE_INHERITED_MEMB = NO - -# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full -# path before files name in the file list and in the header files. If set -# to NO the shortest path that makes the file name unique will be used. - -FULL_PATH_NAMES = NO - -# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag -# can be used to strip a user defined part of the path. Stripping is -# only done if one of the specified strings matches the left-hand part of -# the path. It is allowed to use relative paths in the argument list. - -STRIP_FROM_PATH = "c:\project\pjproject" - -# The INTERNAL_DOCS tag determines if documentation -# that is typed after a \internal command is included. If the tag is set -# to NO (the default) then the documentation will be excluded. -# Set it to YES to include the internal documentation. - -INTERNAL_DOCS = NO - -# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate -# file names in lower case letters. If set to YES upper case letters are also -# allowed. This is useful if you have classes or files whose names only differ -# in case and if your file system supports case sensitive file names. Windows -# users are adviced to set this option to NO. - -CASE_SENSE_NAMES = YES - -# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter -# (but less readable) file names. This can be useful is your file systems -# doesn't support long names like on DOS, Mac, or CD-ROM. - -SHORT_NAMES = NO - -# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen -# will show members with their full class and namespace scopes in the -# documentation. If set to YES the scope will be hidden. - -HIDE_SCOPE_NAMES = NO - -# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen -# will generate a verbatim copy of the header file for each class for -# which an include is specified. Set to NO to disable this. - -VERBATIM_HEADERS = YES - -# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen -# will put list of the files that are included by a file in the documentation -# of that file. - -SHOW_INCLUDE_FILES = NO - -# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen -# will interpret the first line (until the first dot) of a JavaDoc-style -# comment as the brief description. If set to NO, the JavaDoc -# comments will behave just like the Qt-style comments (thus requiring an -# explict @brief command for a brief description. - -JAVADOC_AUTOBRIEF = NO - -# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen -# treat a multi-line C++ special comment block (i.e. a block of //! or /// -# comments) as a brief description. This used to be the default behaviour. -# The new default is to treat a multi-line C++ comment block as a detailed -# description. Set this tag to YES if you prefer the old behaviour instead. - -MULTILINE_CPP_IS_BRIEF = NO - -# If the DETAILS_AT_TOP tag is set to YES then Doxygen -# will output the detailed description near the top, like JavaDoc. -# If set to NO, the detailed description appears after the member -# documentation. - -DETAILS_AT_TOP = YES - -# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented -# member inherits the documentation from any documented member that it -# reimplements. - -INHERIT_DOCS = YES - -# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] -# is inserted in the documentation for inline members. - -INLINE_INFO = YES - -# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen -# will sort the (detailed) documentation of file and class members -# alphabetically by member name. If set to NO the members will appear in -# declaration order. - -SORT_MEMBER_DOCS = YES - -# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC -# tag is set to YES, then doxygen will reuse the documentation of the first -# member in the group (if any) for the other members of the group. By default -# all members of a group must be documented explicitly. - -DISTRIBUTE_GROUP_DOC = NO - -# The TAB_SIZE tag can be used to set the number of spaces in a tab. -# Doxygen uses this value to replace tabs by spaces in code fragments. - -TAB_SIZE = 8 - -# The GENERATE_TODOLIST tag can be used to enable (YES) or -# disable (NO) the todo list. This list is created by putting \todo -# commands in the documentation. - -GENERATE_TODOLIST = YES - -# The GENERATE_TESTLIST tag can be used to enable (YES) or -# disable (NO) the test list. This list is created by putting \test -# commands in the documentation. - -GENERATE_TESTLIST = YES - -# The GENERATE_BUGLIST tag can be used to enable (YES) or -# disable (NO) the bug list. This list is created by putting \bug -# commands in the documentation. - -GENERATE_BUGLIST = YES - -# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or -# disable (NO) the deprecated list. This list is created by putting -# \deprecated commands in the documentation. - -GENERATE_DEPRECATEDLIST= YES - -# This tag can be used to specify a number of aliases that acts -# as commands in the documentation. An alias has the form "name=value". -# For example adding "sideeffect=\par Side Effects:\n" will allow you to -# put the command \sideeffect (or @sideeffect) in the documentation, which -# will result in a user defined paragraph with heading "Side Effects:". -# You can put \n's in the value part of an alias to insert newlines. - -ALIASES = - -# The ENABLED_SECTIONS tag can be used to enable conditional -# documentation sections, marked by \if sectionname ... \endif. - -ENABLED_SECTIONS = - -# The MAX_INITIALIZER_LINES tag determines the maximum number of lines -# the initial value of a variable or define consist of for it to appear in -# the documentation. If the initializer consists of more lines than specified -# here it will be hidden. Use a value of 0 to hide initializers completely. -# The appearance of the initializer of individual variables and defines in the -# documentation can be controlled using \showinitializer or \hideinitializer -# command in the documentation regardless of this setting. - -MAX_INITIALIZER_LINES = 30 - -# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources -# only. Doxygen will then generate output that is more tailored for C. -# For instance some of the names that are used will be different. The list -# of all members will be omitted, etc. - -OPTIMIZE_OUTPUT_FOR_C = YES - -# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources -# only. Doxygen will then generate output that is more tailored for Java. -# For instance namespaces will be presented as packages, qualified scopes -# will look different, etc. - -OPTIMIZE_OUTPUT_JAVA = NO - -# Set the SHOW_USED_FILES tag to NO to disable the list of files generated -# at the bottom of the documentation of classes and structs. If set to YES the -# list will mention the files that were used to generate the documentation. - -SHOW_USED_FILES = YES -TYPEDEF_HIDES_STRUCT = YES - -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- - -# The QUIET tag can be used to turn on/off the messages that are generated -# by doxygen. Possible values are YES and NO. If left blank NO is used. - -QUIET = NO - -# The WARNINGS tag can be used to turn on/off the warning messages that are -# generated by doxygen. Possible values are YES and NO. If left blank -# NO is used. - -WARNINGS = YES - -# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings -# for undocumented members. If EXTRACT_ALL is set to YES then this flag will -# automatically be disabled. - -WARN_IF_UNDOCUMENTED = YES - -# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for -# potential errors in the documentation, such as not documenting some -# parameters in a documented function, or documenting parameters that -# don't exist or using markup commands wrongly. - -WARN_IF_DOC_ERROR = YES - -# The WARN_FORMAT tag determines the format of the warning messages that -# doxygen can produce. The string should contain the $file, $line, and $text -# tags, which will be replaced by the file and line number from which the -# warning originated and the warning text. - -WARN_FORMAT = "$file:$line: $text" - -# The WARN_LOGFILE tag can be used to specify a file to which warning -# and error messages should be written. If left blank the output is written -# to stderr. - -WARN_LOGFILE = - -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- - -# The INPUT tag can be used to specify the files and/or directories that contain -# documented source files. You may enter file names like "myfile.cpp" or -# directories like "/usr/src/myproject". Separate the files or directories -# with spaces. - -INPUT = include/pj src/pjlib-samples src/pjlib-test - -# If the value of the INPUT tag contains directories, you can use the -# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank the following patterns are tested: -# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp -# *.h++ *.idl *.odl - -FILE_PATTERNS = *.h *.c - -# The RECURSIVE tag can be used to turn specify whether or not subdirectories -# should be searched for input files as well. Possible values are YES and NO. -# If left blank NO is used. - -RECURSIVE = YES - -# The EXCLUDE tag can be used to specify files and/or directories that should -# excluded from the INPUT source files. This way you can easily exclude a -# subdirectory from a directory tree whose root is specified with the INPUT tag. - -EXCLUDE = - -# The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories -# that are symbolic links (a Unix filesystem feature) are excluded from the input. - -EXCLUDE_SYMLINKS = NO - -# If the value of the INPUT tag contains directories, you can use the -# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude -# certain files from those directories. - -EXCLUDE_PATTERNS = "*_i.h" "*/compat/*" "*/config_site.h" - -# The EXAMPLE_PATH tag can be used to specify one or more files or -# directories that contain example code fragments that are included (see -# the \include command). - -EXAMPLE_PATH = . - -# If the value of the EXAMPLE_PATH tag contains directories, you can use the -# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank all files are included. - -EXAMPLE_PATTERNS = - -# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be -# searched for input files to be used with the \include or \dontinclude -# commands irrespective of the value of the RECURSIVE tag. -# Possible values are YES and NO. If left blank NO is used. - -EXAMPLE_RECURSIVE = YES - -# The IMAGE_PATH tag can be used to specify one or more files or -# directories that contain image that are included in the documentation (see -# the \image command). - -IMAGE_PATH = - -# The INPUT_FILTER tag can be used to specify a program that doxygen should -# invoke to filter for each input file. Doxygen will invoke the filter program -# by executing (via popen()) the command , where -# is the value of the INPUT_FILTER tag, and is the name of an -# input file. Doxygen will then use the output that the filter program writes -# to standard output. - -INPUT_FILTER = - -# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using -# INPUT_FILTER) will be used to filter the input files when producing source -# files to browse (i.e. when SOURCE_BROWSER is set to YES). - -FILTER_SOURCE_FILES = NO - -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- - -# If the SOURCE_BROWSER tag is set to YES then a list of source files will -# be generated. Documented entities will be cross-referenced with these sources. - -SOURCE_BROWSER = NO - -# Setting the INLINE_SOURCES tag to YES will include the body -# of functions and classes directly in the documentation. - -INLINE_SOURCES = NO - -# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct -# doxygen to hide any special comment blocks from generated source code -# fragments. Normal C and C++ comments will always remain visible. - -STRIP_CODE_COMMENTS = YES - -# If the REFERENCED_BY_RELATION tag is set to YES (the default) -# then for each documented function all documented -# functions referencing it will be listed. - -REFERENCED_BY_RELATION = YES - -# If the REFERENCES_RELATION tag is set to YES (the default) -# then for each documented function all documented entities -# called/used by that function will be listed. - -REFERENCES_RELATION = YES - -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- - -# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index -# of all compounds will be generated. Enable this if the project -# contains a lot of classes, structs, unions or interfaces. - -ALPHABETICAL_INDEX = NO - -# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then -# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns -# in which this list will be split (can be a number in the range [1..20]) - -COLS_IN_ALPHA_INDEX = 5 - -# In case all classes in a project start with a common prefix, all -# classes will be put under the same header in the alphabetical index. -# The IGNORE_PREFIX tag can be used to specify one or more prefixes that -# should be ignored while generating the index headers. - -IGNORE_PREFIX = - -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- - -# If the GENERATE_HTML tag is set to YES (the default) Doxygen will -# generate HTML output. - -GENERATE_HTML = YES - -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `html' will be used as the default path. - -HTML_OUTPUT = html - -# The HTML_FILE_EXTENSION tag can be used to specify the file extension for -# each generated HTML page (for example: .htm,.php,.asp). If it is left blank -# doxygen will generate files with .html extension. - -HTML_FILE_EXTENSION = .htm - -# The HTML_HEADER tag can be used to specify a personal HTML header for -# each generated HTML page. If it is left blank doxygen will generate a -# standard header. - -HTML_HEADER = docs/header.html - -# The HTML_FOOTER tag can be used to specify a personal HTML footer for -# each generated HTML page. If it is left blank doxygen will generate a -# standard footer. - -HTML_FOOTER = docs/footer.html - -# The HTML_STYLESHEET tag can be used to specify a user defined cascading -# style sheet that is used by each HTML page. It can be used to -# fine-tune the look of the HTML output. If the tag is left blank doxygen -# will generate a default style sheet - -HTML_STYLESHEET = docs/doxygen.css - -# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, -# files or namespaces will be aligned in HTML using tables. If set to -# NO a bullet list will be used. - -HTML_ALIGN_MEMBERS = YES - -# If the GENERATE_HTMLHELP tag is set to YES, additional index files -# will be generated that can be used as input for tools like the -# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) -# of the generated HTML documentation. - -GENERATE_HTMLHELP = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can -# be used to specify the file name of the resulting .chm file. You -# can add a path in front of the file if the result should not be -# written to the html output dir. - -CHM_FILE = - -# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can -# be used to specify the location (absolute path including file name) of -# the HTML help compiler (hhc.exe). If non empty doxygen will try to run -# the html help compiler on the generated index.hhp. - -HHC_LOCATION = - -# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag -# controls if a separate .chi index file is generated (YES) or that -# it should be included in the master .chm file (NO). - -GENERATE_CHI = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag -# controls whether a binary table of contents is generated (YES) or a -# normal table of contents (NO) in the .chm file. - -BINARY_TOC = NO - -# The TOC_EXPAND flag can be set to YES to add extra items for group members -# to the contents of the Html help documentation and to the tree view. - -TOC_EXPAND = NO - -# The DISABLE_INDEX tag can be used to turn on/off the condensed index at -# top of each HTML page. The value NO (the default) enables the index and -# the value YES disables it. - -DISABLE_INDEX = NO - -# This tag can be used to set the number of enum values (range [1..20]) -# that doxygen will group on one line in the generated HTML documentation. - -ENUM_VALUES_PER_LINE = 4 - -# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be -# generated containing a tree-like index structure (just like the one that -# is generated for HTML Help). For this to work a browser that supports -# JavaScript, DHTML, CSS and frames is required (for instance Mozilla, -# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are -# probably better off using the HTML help feature. - -GENERATE_TREEVIEW = NO - -# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be -# used to set the initial width (in pixels) of the frame in which the tree -# is shown. - -TREEVIEW_WIDTH = 250 - -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- - -# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will -# generate Latex output. - -GENERATE_LATEX = YES - -# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `latex' will be used as the default path. - -LATEX_OUTPUT = latex - -# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be -# invoked. If left blank `latex' will be used as the default command name. - -LATEX_CMD_NAME = latex - -# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to -# generate index for LaTeX. If left blank `makeindex' will be used as the -# default command name. - -MAKEINDEX_CMD_NAME = makeindex - -# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact -# LaTeX documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_LATEX = NO - -# The PAPER_TYPE tag can be used to set the paper type that is used -# by the printer. Possible values are: a4, a4wide, letter, legal and -# executive. If left blank a4wide will be used. - -PAPER_TYPE = a4wide - -# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX -# packages that should be included in the LaTeX output. - -EXTRA_PACKAGES = - -# The LATEX_HEADER tag can be used to specify a personal LaTeX header for -# the generated latex document. The header should contain everything until -# the first chapter. If it is left blank doxygen will generate a -# standard header. Notice: only use this tag if you know what you are doing! - -LATEX_HEADER = - -# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated -# is prepared for conversion to pdf (using ps2pdf). The pdf file will -# contain links (just like the HTML output) instead of page references -# This makes the output suitable for online browsing using a pdf viewer. - -PDF_HYPERLINKS = YES - -# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of -# plain latex in the generated Makefile. Set this option to YES to get a -# higher quality PDF documentation. - -USE_PDFLATEX = YES - -# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. -# command to the generated LaTeX files. This will instruct LaTeX to keep -# running if errors occur, instead of asking the user for help. -# This option is also used when generating formulas in HTML. - -LATEX_BATCHMODE = NO - -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- - -# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output -# The RTF output is optimised for Word 97 and may not look very pretty with -# other RTF readers or editors. - -GENERATE_RTF = NO - -# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `rtf' will be used as the default path. - -RTF_OUTPUT = rtf - -# If the COMPACT_RTF tag is set to YES Doxygen generates more compact -# RTF documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_RTF = NO - -# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated -# will contain hyperlink fields. The RTF file will -# contain links (just like the HTML output) instead of page references. -# This makes the output suitable for online browsing using WORD or other -# programs which support those fields. -# Note: wordpad (write) and others do not support links. - -RTF_HYPERLINKS = NO - -# Load stylesheet definitions from file. Syntax is similar to doxygen's -# config file, i.e. a series of assigments. You only have to provide -# replacements, missing definitions are set to their default value. - -RTF_STYLESHEET_FILE = - -# Set optional variables used in the generation of an rtf document. -# Syntax is similar to doxygen's config file. - -RTF_EXTENSIONS_FILE = - -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- - -# If the GENERATE_MAN tag is set to YES (the default) Doxygen will -# generate man pages - -GENERATE_MAN = NO - -# The MAN_OUTPUT tag is used to specify where the man pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `man' will be used as the default path. - -MAN_OUTPUT = man - -# The MAN_EXTENSION tag determines the extension that is added to -# the generated man pages (default is the subroutine's section .3) - -MAN_EXTENSION = .3 - -# If the MAN_LINKS tag is set to YES and Doxygen generates man output, -# then it will generate one additional man file for each entity -# documented in the real man page(s). These additional files -# only source the real man page, but without them the man command -# would be unable to find the correct page. The default is NO. - -MAN_LINKS = NO - -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- - -# If the GENERATE_XML tag is set to YES Doxygen will -# generate an XML file that captures the structure of -# the code including all documentation. Note that this -# feature is still experimental and incomplete at the -# moment. - -GENERATE_XML = NO - -# The XML_SCHEMA tag can be used to specify an XML schema, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_SCHEMA = - -# The XML_DTD tag can be used to specify an XML DTD, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_DTD = - -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- - -# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will -# generate an AutoGen Definitions (see autogen.sf.net) file -# that captures the structure of the code including all -# documentation. Note that this feature is still experimental -# and incomplete at the moment. - -GENERATE_AUTOGEN_DEF = NO - -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- - -# If the GENERATE_PERLMOD tag is set to YES Doxygen will -# generate a Perl module file that captures the structure of -# the code including all documentation. Note that this -# feature is still experimental and incomplete at the -# moment. - -GENERATE_PERLMOD = NO - -# If the PERLMOD_LATEX tag is set to YES Doxygen will generate -# the necessary Makefile rules, Perl scripts and LaTeX code to be able -# to generate PDF and DVI output from the Perl module output. - -PERLMOD_LATEX = NO - -# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be -# nicely formatted so it can be parsed by a human reader. This is useful -# if you want to understand what is going on. On the other hand, if this -# tag is set to NO the size of the Perl module output will be much smaller -# and Perl will parse it just the same. - -PERLMOD_PRETTY = YES - -# The names of the make variables in the generated doxyrules.make file -# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. -# This is useful so different doxyrules.make files included by the same -# Makefile don't overwrite each other's variables. - -PERLMOD_MAKEVAR_PREFIX = - -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- - -# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will -# evaluate all C-preprocessor directives found in the sources and include -# files. - -ENABLE_PREPROCESSING = YES - -# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro -# names in the source code. If set to NO (the default) only conditional -# compilation will be performed. Macro expansion can be done in a controlled -# way by setting EXPAND_ONLY_PREDEF to YES. - -MACRO_EXPANSION = YES - -# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES -# then the macro expansion is limited to the macros specified with the -# PREDEFINED and EXPAND_AS_PREDEFINED tags. - -EXPAND_ONLY_PREDEF = NO - -# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files -# in the INCLUDE_PATH (see below) will be search if a #include is found. - -SEARCH_INCLUDES = YES - -# The INCLUDE_PATH tag can be used to specify one or more directories that -# contain include files that are not input files but should be processed by -# the preprocessor. - -INCLUDE_PATH = - -# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard -# patterns (like *.h and *.hpp) to filter out the header-files in the -# directories. If left blank, the patterns specified with FILE_PATTERNS will -# be used. - -INCLUDE_FILE_PATTERNS = - -# The PREDEFINED tag can be used to specify one or more macro names that -# are defined before the preprocessor is started (similar to the -D option of -# gcc). The argument of the tag is a list of macros of the form: name -# or name=definition (no spaces). If the definition and the = are -# omitted =1 is assumed. - -PREDEFINED = PJ_DECL(x)=x PJ_DEF(x)=x PJ_IDECL(x)=x \ - PJ_IDEF(x)=x PJ_INLINE(x)=x \ - PJ_DECL_DATA(x)=x \ - PJ_DECL_NO_RETURN(x)=x \ - PJ_NO_RETURN=x \ - PJ_HAS_HIGH_RES_TIMER=1 \ - PJ_LOG_MAX_LEVEL=4 \ - PJ_HAS_SEMAPHORE=1 \ - PJ_HAS_EVENT_OBJ=1 \ - PJ_HAS_TCP=1 - -# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then -# this tag can be used to specify a list of macro names that should be expanded. -# The macro definition that is found in the sources will be used. -# Use the PREDEFINED tag if you want to use a different macro definition. - -EXPAND_AS_DEFINED = - -# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then -# doxygen's preprocessor will remove all function-like macros that are alone -# on a line, have an all uppercase name, and do not end with a semicolon. Such -# function macros are typically used for boiler-plate code, and will confuse the -# parser if not removed. - -SKIP_FUNCTION_MACROS = YES - -#--------------------------------------------------------------------------- -# Configuration::addtions related to external references -#--------------------------------------------------------------------------- - -# The TAGFILES tag can be used to specify one or more tagfiles. - -TAGFILES = - -# When a file name is specified after GENERATE_TAGFILE, doxygen will create -# a tag file that is based on the input files it reads. - -GENERATE_TAGFILE = docs/pjlib.tag - -# If the ALLEXTERNALS tag is set to YES all external classes will be listed -# in the class index. If set to NO only the inherited external classes -# will be listed. - -ALLEXTERNALS = NO - -# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed -# in the modules index. If set to NO, only the current project's groups will -# be listed. - -EXTERNAL_GROUPS = YES - -# The PERL_PATH should be the absolute path and name of the perl script -# interpreter (i.e. the result of `which perl'). - -#PERL_PATH = /usr/bin/perl -PERL_PATH = /c/Perl/bin/perl - -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- - -# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will -# generate a inheritance diagram (in Html, RTF and LaTeX) for classes with base or -# super classes. Setting the tag to NO turns the diagrams off. Note that this -# option is superceded by the HAVE_DOT option below. This is only a fallback. It is -# recommended to install and use dot, since it yield more powerful graphs. - -CLASS_DIAGRAMS = NO - -# If set to YES, the inheritance and collaboration graphs will hide -# inheritance and usage relations if the target is undocumented -# or is not a class. - -HIDE_UNDOC_RELATIONS = YES - -# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is -# available from the path. This tool is part of Graphviz, a graph visualization -# toolkit from AT&T and Lucent Bell Labs. The other options in this section -# have no effect if this option is set to NO (the default) - -HAVE_DOT = NO - -# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect inheritance relations. Setting this tag to YES will force the -# the CLASS_DIAGRAMS tag to NO. - -CLASS_GRAPH = YES - -# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect implementation dependencies (inheritance, containment, and -# class references variables) of the class with other documented classes. - -COLLABORATION_GRAPH = YES - -# If set to YES, the inheritance and collaboration graphs will show the -# relations between templates and their instances. - -TEMPLATE_RELATIONS = YES - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT -# tags are set to YES then doxygen will generate a graph for each documented -# file showing the direct and indirect include dependencies of the file with -# other documented files. - -INCLUDE_GRAPH = YES - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and -# HAVE_DOT tags are set to YES then doxygen will generate a graph for each -# documented header file showing the documented files that directly or -# indirectly include this file. - -INCLUDED_BY_GRAPH = YES - -# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen -# will graphical hierarchy of all classes instead of a textual one. - -GRAPHICAL_HIERARCHY = YES - -# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images -# generated by dot. Possible values are png, jpg, or gif -# If left blank png will be used. - -DOT_IMAGE_FORMAT = png - -# The tag DOT_PATH can be used to specify the path where the dot tool can be -# found. If left blank, it is assumed the dot tool can be found on the path. - -DOT_PATH = - -# The DOTFILE_DIRS tag can be used to specify one or more directories that -# contain dot files that are included in the documentation (see the -# \dotfile command). - -DOTFILE_DIRS = - -# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width -# (in pixels) of the graphs generated by dot. If a graph becomes larger than -# this value, doxygen will try to truncate the graph, so that it fits within -# the specified constraint. Beware that most browsers cannot cope with very -# large images. - -MAX_DOT_GRAPH_WIDTH = 1024 - -# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height -# (in pixels) of the graphs generated by dot. If a graph becomes larger than -# this value, doxygen will try to truncate the graph, so that it fits within -# the specified constraint. Beware that most browsers cannot cope with very -# large images. - -MAX_DOT_GRAPH_HEIGHT = 1024 - -# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will -# generate a legend page explaining the meaning of the various boxes and -# arrows in the dot generated graphs. - -GENERATE_LEGEND = YES - -# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will -# remove the intermedate dot files that are used to generate -# the various graphs. - -DOT_CLEANUP = YES - -#--------------------------------------------------------------------------- -# Configuration::addtions related to the search engine -#--------------------------------------------------------------------------- - -# The SEARCHENGINE tag specifies whether or not a search engine should be -# used. If set to NO the values of all tags below this one will be ignored. - -SEARCHENGINE = NO - -# The CGI_NAME tag should be the name of the CGI script that -# starts the search engine (doxysearch) with the correct parameters. -# A script with this name will be generated by doxygen. - -#CGI_NAME = search.cgi - -# The CGI_URL tag should be the absolute URL to the directory where the -# cgi binaries are located. See the documentation of your http daemon for -# details. - -#CGI_URL = - -# The DOC_URL tag should be the absolute URL to the directory where the -# documentation is located. If left blank the absolute path to the -# documentation, with file:// prepended to it, will be used. - -#DOC_URL = - -# The DOC_ABSPATH tag should be the absolute path to the directory where the -# documentation is located. If left blank the directory on the local machine -# will be used. - -#DOC_ABSPATH = - -# The BIN_ABSPATH tag must point to the directory where the doxysearch binary -# is installed. - -#BIN_ABSPATH = /usr/local/bin/ - -# The EXT_DOC_PATHS tag can be used to specify one or more paths to -# documentation generated for other projects. This allows doxysearch to search -# the documentation for these projects as well. - -#EXT_DOC_PATHS = diff --git a/res/pjproject/pjlib/docs/doxygen.css b/res/pjproject/pjlib/docs/doxygen.css deleted file mode 100644 index 015c0c272a..0000000000 --- a/res/pjproject/pjlib/docs/doxygen.css +++ /dev/null @@ -1,305 +0,0 @@ -BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV { - font-family: Geneva, Arial, Helvetica, sans-serif; -} -BODY,TD { - font-size: 80%; -} -CODE { - font-size: 120%; - font-family: monospace; -} -.fragment, pre { - font-size: 110%; - font-family: monospace; -} -H1 { - text-align: center; - font-size: 240%; -} -H2 { - font-size: 200%; - margin-top : 60px; -} -H3 { - font-size: 160%; -} -H4 { - font-size: 120%; -} -CAPTION { font-weight: bold } -DIV.qindex { - width: 100%; - background-color: #eeeeff; - border: 1px solid #b0b0b0; - text-align: center; - margin: 2px; - padding: 2px; - line-height: 140%; -} -DIV.nav { - width: 100%; - background-color: #eeeeff; - border: 1px solid #b0b0b0; - text-align: center; - margin: 2px; - padding: 2px; - line-height: 140%; -} -A.qindex { - text-decoration: none; - font-size: 120%; - color: #1A419D; -} -A.qindex:visited { - text-decoration: none; - color: #1A419D -} -A.qindex:hover { - text-decoration: none; - background-color: #ddddff; -} -A.qindexHL { - text-decoration: none; - font-weight: bold; - background-color: #6666cc; - color: #ffffff; - border: 1px double #9295C2; -} -A.qindexHL:hover { - text-decoration: none; - background-color: #6666cc; - color: #ffffff; -} -A.qindexHL:visited { text-decoration: none; background-color: #6666cc; color: #ffffff } -A.el { text-decoration: none; font-weight: bold } -A.elRef { font-weight: bold } -A.code:link { text-decoration: none; font-weight: normal; color: #0000FF; } -A.code:visited { text-decoration: none; font-weight: normal; color: #0000FF} -A.codeRef:link { font-weight: normal; color: #0000FF} -A.codeRef:visited { font-weight: normal; color: #0000FF} -A:hover { text-decoration: none; background-color: #f2f2ff } -DL.el { margin-left: -1cm } -PRE.fragment { - border: 1px solid #CCCCCC; - background-color: #f5f5f5; - margin-top: 4px; - margin-bottom: 4px; - margin-left: 2px; - margin-right: 8px; - padding-left: 6px; - padding-right: 6px; - padding-top: 4px; - padding-bottom: 4px; -} -DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px } -TD.md { background-color: #F4F4FB; font-weight: bold; } -TD.mdPrefix { - background-color: #F4F4FB; - color: #606060; - font-size: 80%; -} -TD.mdname1 { background-color: #F4F4FB; font-weight: bold; color: #602020; } -TD.mdname { background-color: #F4F4FB; font-weight: bold; color: #602020; width: 600px; } -DIV.groupHeader { - margin-left: 16px; - margin-top: 12px; - margin-bottom: 6px; - font-weight: bold; -} -DIV.groupText { margin-left: 16px; font-style: italic; font-size: 90% } -BODY { - background: white; - color: black; - margin-right: 20px; - margin-left: 20px; -} -TD.indexkey { - background-color: #eeeeff; - font-weight: bold; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px; - border: 1px solid #CCCCCC; -} -TD.indexvalue { - background-color: #eeeeff; - font-style: italic; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px; - border: 1px solid #CCCCCC; -} -TR.memlist { - background-color: #f0f0f0; -} -P.formulaDsp { text-align: center; } -IMG.formulaDsp { } -IMG.formulaInl { vertical-align: middle; } -SPAN.keyword { color: #008000 } -SPAN.keywordtype { color: #604020 } -SPAN.keywordflow { color: #e08000 } -SPAN.comment { color: #800000 } -SPAN.preprocessor { color: #806020 } -SPAN.stringliteral { color: #002080 } -SPAN.charliteral { color: #008080 } -.mdTable { - border: 1px solid #868686; - background-color: #F4F4FB; -} -.mdRow { - padding: 8px 10px; -} -.mdescLeft { - padding: 0px 8px 4px 8px; - font-size: 80%; - font-style: italic; - background-color: #FAFAFA; - border-top: 1px none #E0E0E0; - border-right: 1px none #E0E0E0; - border-bottom: 1px none #E0E0E0; - border-left: 1px none #E0E0E0; - margin: 0px; -} -.mdescRight { - padding: 0px 8px 4px 8px; - font-size: 80%; - font-style: italic; - background-color: #FAFAFA; - border-top: 1px none #E0E0E0; - border-right: 1px none #E0E0E0; - border-bottom: 1px none #E0E0E0; - border-left: 1px none #E0E0E0; - margin: 0px; -} -.memItemLeft { - padding: 1px 0px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: solid; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; -} -.memItemRight { - padding: 1px 8px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: solid; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; -} -.memTemplItemLeft { - padding: 1px 0px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: none; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; -} -.memTemplItemRight { - padding: 1px 8px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: none; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; -} -.memTemplParams { - padding: 1px 0px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: solid; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - color: #606060; - background-color: #FAFAFA; - font-size: 80%; -} -.search { color: #003399; - font-weight: bold; -} -FORM.search { - margin-bottom: 0px; - margin-top: 0px; -} -INPUT.search { font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #eeeeff; -} -TD.tiny { font-size: 75%; -} -a { - color: #252E78; -} -a:visited { - color: #3D2185; -} -.dirtab { padding: 4px; - border-collapse: collapse; - border: 1px solid #b0b0b0; -} -TH.dirtab { background: #eeeeff; - font-weight: bold; -} -HR { height: 1px; - border: none; - border-top: 1px solid black; -} diff --git a/res/pjproject/pjlib/docs/footer.html b/res/pjproject/pjlib/docs/footer.html deleted file mode 100644 index 8b1e479879..0000000000 --- a/res/pjproject/pjlib/docs/footer.html +++ /dev/null @@ -1,11 +0,0 @@ -

 

-
-PJLIB Open Source, high performance, small footprint, and very very portable framework
-Copyright (C) 2006-2009 Teluu Inc. -
- - - - - - diff --git a/res/pjproject/pjlib/docs/header.html b/res/pjproject/pjlib/docs/header.html deleted file mode 100644 index e7187ee6e0..0000000000 --- a/res/pjproject/pjlib/docs/header.html +++ /dev/null @@ -1,9 +0,0 @@ - - -$title ($projectnumber) - - - -

Home --> Documentations --> PJLIB Reference

- - diff --git a/res/pjproject/pjlib/include/pj++/file.hpp b/res/pjproject/pjlib/include/pj++/file.hpp deleted file mode 100644 index ee6998c50f..0000000000 --- a/res/pjproject/pjlib/include/pj++/file.hpp +++ /dev/null @@ -1,188 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJPP_FILE_HPP__ -#define __PJPP_FILE_HPP__ - -#include -#include -#include -#include - -// -// File API. -// -class Pj_File_API -{ -public: - // - // Check file existance. - // - static bool file_exists(const char *filename) - { - return pj_file_exists(filename) != 0; - } - - // - // Get file size. - // - static pj_off_t file_size(const char *filename) - { - return pj_file_size(filename); - } - - // - // Delete file. - // - static pj_status_t file_delete(const char *filename) - { - return pj_file_delete(filename); - } - - // - // Move/rename file. - // - static pj_status_t file_move(const char *oldname, const char *newname) - { - return pj_file_move(oldname, newname); - } - - // - // Get stat. - // - static pj_status_t file_stat(const char *filename, pj_file_stat *buf) - { - return pj_file_getstat(filename, buf); - } -}; - - -// -// File. -// -class Pj_File : public Pj_Object -{ -public: - // - // Offset type to be used in setpos. - // - enum Offset_Type - { - PJ_SEEK_SET = PJ_SEEK_SET, - PJ_SEEK_CUR = PJ_SEEK_CUR, - PJ_SEEK_END = PJ_SEEK_END, - }; - - // - // Default constructor. - // - Pj_File() - : hnd_(0) - { - } - - // - // Construct and open a file. - // - Pj_File(Pj_Pool *pool, const char *filename, - unsigned access = PJ_O_RDONLY) - : hnd_(NULL) - { - open(pool, filename, access); - } - - // - // Destructor closes the file. - // - ~Pj_File() - { - close(); - } - - // - // Open a file. - // - pj_status_t open(Pj_Pool *pool, const char *filename, - unsigned access = PJ_O_RDONLY ) - { - close(); - return pj_file_open(pool->pool_(), filename, access, &hnd_); - } - - // - // Close a file. - // - void close() - { - if (hnd_ != 0) { - pj_file_close(hnd_); - hnd_ = 0; - } - } - - // - // Write data. - // - pj_ssize_t write(const void *buff, pj_size_t size) - { - pj_ssize_t bytes = size; - if (pj_file_write(hnd_, buff, &bytes) != PJ_SUCCESS) - return -1; - return bytes; - } - - // - // Read data. - // - pj_ssize_t read(void *buf, pj_size_t size) - { - pj_ssize_t bytes = size; - if (pj_file_read(hnd_, buf, &bytes) != PJ_SUCCESS) - return -1; - return bytes; - } - - // - // Set file position. - // - pj_status_t setpos(pj_off_t offset, Offset_Type whence) - { - return pj_file_setpos(hnd_, offset, - (enum pj_file_seek_type)whence); - } - - // - // Get file position. - // - pj_off_t getpos() - { - pj_off_t pos; - if (pj_file_getpos(hnd_, &pos) != PJ_SUCCESS) - return -1; - return pos; - } - -private: - pj_oshandle_t hnd_; -}; - - - -#endif /* __PJPP_FILE_HPP__ */ - diff --git a/res/pjproject/pjlib/include/pj++/hash.hpp b/res/pjproject/pjlib/include/pj++/hash.hpp deleted file mode 100644 index de89e5a603..0000000000 --- a/res/pjproject/pjlib/include/pj++/hash.hpp +++ /dev/null @@ -1,156 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJPP_HASH_HPP__ -#define __PJPP_HASH_HPP__ - -#include -#include -#include - -// -// Hash table. -// -class Pj_Hash_Table : public Pj_Object -{ -public: - // - // Hash table iterator. - // - class iterator - { - public: - iterator() - { - } - explicit iterator(pj_hash_table_t *h, pj_hash_iterator_t *i) - : ht_(h), it_(i) - { - } - iterator(const iterator &rhs) - : ht_(rhs.ht_), it_(rhs.it_) - { - } - void operator++() - { - it_ = pj_hash_next(ht_, it_); - } - bool operator==(const iterator &rhs) - { - return ht_ == rhs.ht_ && it_ == rhs.it_; - } - iterator & operator=(const iterator &rhs) - { - ht_=rhs.ht_; it_=rhs.it_; - return *this; - } - private: - pj_hash_table_t *ht_; - pj_hash_iterator_t it_val_; - pj_hash_iterator_t *it_; - - friend class Pj_Hash_Table; - }; - - // - // Construct hash table. - // - Pj_Hash_Table(Pj_Pool *pool, unsigned size) - { - table_ = pj_hash_create(pool->pool_(), size); - } - - // - // Destroy hash table. - // - ~Pj_Hash_Table() - { - } - - // - // Calculate hash value. - // - static pj_uint32_t calc( pj_uint32_t initial_hval, - const void *key, - unsigned keylen = PJ_HASH_KEY_STRING) - { - return pj_hash_calc(initial_hval, key, keylen); - } - - // - // Return pjlib compatible hash table object. - // - pj_hash_table_t *pj_hash_table_t_() - { - return table_; - } - - // - // Get the value associated with the specified key. - // - void *get(const void *key, unsigned keylen = PJ_HASH_KEY_STRING) - { - return pj_hash_get(table_, key, keylen); - } - - // - // Associate a value with a key. - // Set the value to NULL to delete the key from the hash table. - // - void set(Pj_Pool *pool, - const void *key, - void *value, - unsigned keylen = PJ_HASH_KEY_STRING) - { - pj_hash_set(pool->pool_(), table_, key, keylen, value); - } - - // - // Get number of items in the hash table. - // - unsigned count() - { - return pj_hash_count(table_); - } - - // - // Iterate hash table. - // - iterator begin() - { - iterator it(table_, NULL); - it.it_ = pj_hash_first(table_, &it.it_val_); - return it; - } - - // - // End of items. - // - iterator end() - { - return iterator(table_, NULL); - } - -private: - pj_hash_table_t *table_; -}; - - -#endif /* __PJPP_HASH_HPP__ */ - diff --git a/res/pjproject/pjlib/include/pj++/list.hpp b/res/pjproject/pjlib/include/pj++/list.hpp deleted file mode 100644 index 3dfdf6aedd..0000000000 --- a/res/pjproject/pjlib/include/pj++/list.hpp +++ /dev/null @@ -1,352 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJPP_LIST_HPP__ -#define __PJPP_LIST_HPP__ - -#include -#include - - -// -// Linked-list. -// -// Note: -// List_Node must have public member next and prev. Normally -// it will be declared like: -// -// struct my_node -// { -// PJ_DECL_LIST_MEMBER(struct my_node); -// .. -// }; -// -// -template -class Pj_List : public Pj_Object -{ -public: - // - // List const_iterator. - // - class const_iterator - { - public: - const_iterator() - : node_(NULL) - {} - const_iterator(const List_Node *nd) - : node_((List_Node*)nd) - {} - const List_Node * operator *() - { - return node_; - } - const List_Node * operator -> () - { - return node_; - } - const_iterator operator++() - { - return const_iterator((const List_Node *)node_->next); - } - bool operator==(const const_iterator &rhs) - { - return node_ == rhs.node_; - } - bool operator!=(const const_iterator &rhs) - { - return node_ != rhs.node_; - } - - protected: - List_Node *node_; - }; - - // - // List iterator. - // - class iterator : public const_iterator - { - public: - iterator() - {} - iterator(List_Node *nd) - : const_iterator(nd) - {} - List_Node * operator *() - { - return node_; - } - List_Node * operator -> () - { - return node_; - } - iterator operator++() - { - return iterator((List_Node*)node_->next); - } - bool operator==(const iterator &rhs) - { - return node_ == rhs.node_; - } - bool operator!=(const iterator &rhs) - { - return node_ != rhs.node_; - } - }; - - // - // Default constructor. - // - Pj_List() - { - pj_list_init(&root_); - if (0) compiletest(); - } - - // - // You can cast Pj_List to pj_list - // - operator pj_list&() - { - return (pj_list&)root_; - } - operator const pj_list&() - { - return (const pj_list&)root_; - } - - // - // You can cast Pj_List to pj_list* too - // - operator pj_list*() - { - return (pj_list*)&root_; - } - operator const pj_list*() - { - return (const pj_list*)&root_; - } - - // - // Check if list is empty. - // - bool empty() const - { - return pj_list_empty(&root_); - } - - // - // Get first element. - // - iterator begin() - { - return iterator(root_.next); - } - - // - // Get first element. - // - const_iterator begin() const - { - return const_iterator(root_.next); - } - - // - // Get end-of-element - // - const_iterator end() const - { - return const_iterator((List_Node*)&root_); - } - - // - // Get end-of-element - // - iterator end() - { - return iterator((List_Node*)&root_); - } - - // - // Insert node. - // - void insert_before (iterator &pos, List_Node *node) - { - pj_list_insert_before( *pos, node ); - } - - // - // Insert node. - // - void insert_after(iterator &pos, List_Node *node) - { - pj_list_insert_after(*pos, node); - } - - // - // Merge list. - // - void merge_first(List_Node *list2) - { - pj_list_merge_first(&root_, list2); - } - - // - // Merge list. - // - void merge_last(Pj_List *list) - { - pj_list_merge_last(&root_, &list->root_); - } - - // - // Insert list. - // - void insert_nodes_before(iterator &pos, Pj_List *list2) - { - pj_list_insert_nodes_before(*pos, &list2->root_); - } - - // - // Insert list. - // - void insert_nodes_after(iterator &pos, Pj_List *list2) - { - pj_list_insert_nodes_after(*pos, &list2->root_); - } - - // - // Erase an element. - // - void erase(iterator &it) - { - pj_list_erase(*it); - } - - // - // Get first element. - // - List_Node *front() - { - return root_.next; - } - - // - // Get first element. - // - const List_Node *front() const - { - return root_.next; - } - - // - // Remove first element. - // - void pop_front() - { - pj_list_erase(root_.next); - } - - // - // Get last element. - // - List_Node *back() - { - return root_.prev; - } - - // - // Get last element. - // - const List_Node *back() const - { - return root_.prev; - } - - // - // Remove last element. - // - void pop_back() - { - pj_list_erase(root_.prev); - } - - // - // Find a node. - // - iterator find(List_Node *node) - { - List_Node *n = pj_list_find_node(&root_, node); - return n ? iterator(n) : end(); - } - - // - // Find a node. - // - const_iterator find(List_Node *node) const - { - List_Node *n = pj_list_find_node(&root_, node); - return n ? const_iterator(n) : end(); - } - - // - // Insert a node in the back. - // - void push_back(List_Node *node) - { - pj_list_insert_after(root_.prev, node); - } - - // - // Insert a node in the front. - // - void push_front(List_Node *node) - { - pj_list_insert_before(root_.next, node); - } - - // - // Remove all elements. - // - void clear() - { - root_.next = &root_; - root_.prev = &root_; - } - -private: - struct RootNode - { - PJ_DECL_LIST_MEMBER(List_Node); - } root_; - - void compiletest() - { - // If you see error in this line, - // it's because List_Node is not derived from Pj_List_Node. - List_Node *n = (List_Node*)0; - n = (List_Node *)n->next; n = (List_Node *)n->prev; - } -}; - - -#endif /* __PJPP_LIST_HPP__ */ - diff --git a/res/pjproject/pjlib/include/pj++/lock.hpp b/res/pjproject/pjlib/include/pj++/lock.hpp deleted file mode 100644 index 7bf0c36b51..0000000000 --- a/res/pjproject/pjlib/include/pj++/lock.hpp +++ /dev/null @@ -1,149 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJPP_LOCK_HPP__ -#define __PJPP_LOCK_HPP__ - -#include -#include -#include - -////////////////////////////////////////////////////////////////////////////// -// Lock object. -// -class Pj_Lock : public Pj_Object -{ -public: - // - // Constructor. - // - explicit Pj_Lock(pj_lock_t *lock) - : lock_(lock) - { - } - - // - // Destructor. - // - ~Pj_Lock() - { - if (lock_) - pj_lock_destroy(lock_); - } - - // - // Get pjlib compatible lock object. - // - pj_lock_t *pj_lock_t_() - { - return lock_; - } - - // - // acquire lock. - // - pj_status_t acquire() - { - return pj_lock_acquire(lock_); - } - - // - // release lock,. - // - pj_status_t release() - { - return pj_lock_release(lock_); - } - -protected: - pj_lock_t *lock_; -}; - - -////////////////////////////////////////////////////////////////////////////// -// Null lock object. -// -class Pj_Null_Lock : public Pj_Lock -{ -public: - // - // Default constructor. - // - explicit Pj_Null_Lock(Pj_Pool *pool, const char *name = NULL) - : Pj_Lock(NULL) - { - pj_lock_create_null_mutex(pool->pool_(), name, &lock_); - } -}; - -////////////////////////////////////////////////////////////////////////////// -// Simple mutex lock object. -// -class Pj_Simple_Mutex_Lock : public Pj_Lock -{ -public: - // - // Default constructor. - // - explicit Pj_Simple_Mutex_Lock(Pj_Pool *pool, const char *name = NULL) - : Pj_Lock(NULL) - { - pj_lock_create_simple_mutex(pool->pool_(), name, &lock_); - } -}; - -////////////////////////////////////////////////////////////////////////////// -// Recursive mutex lock object. -// -class Pj_Recursive_Mutex_Lock : public Pj_Lock -{ -public: - // - // Default constructor. - // - explicit Pj_Recursive_Mutex_Lock(Pj_Pool *pool, const char *name = NULL) - : Pj_Lock(NULL) - { - pj_lock_create_recursive_mutex(pool->pool_(), name, &lock_); - } -}; - -////////////////////////////////////////////////////////////////////////////// -// Semaphore lock object. -// -class Pj_Semaphore_Lock : public Pj_Lock -{ -public: - // - // Default constructor. - // - explicit Pj_Semaphore_Lock(Pj_Pool *pool, - unsigned max=PJ_MAXINT32, - unsigned initial=0, - const char *name=NULL) - : Pj_Lock(NULL) - { - pj_lock_create_semaphore(pool->pool_(), name, initial, max, &lock_); - } -}; - - - -#endif /* __PJPP_LOCK_HPP__ */ - diff --git a/res/pjproject/pjlib/include/pj++/os.hpp b/res/pjproject/pjlib/include/pj++/os.hpp deleted file mode 100644 index 31cb7313a4..0000000000 --- a/res/pjproject/pjlib/include/pj++/os.hpp +++ /dev/null @@ -1,870 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJPP_OS_HPP__ -#define __PJPP_OS_HPP__ - -#include -#include -#include -#include - -class Pj_Thread; - -// -// Thread API. -// -class Pj_Thread_API -{ -public: - // - // Create a thread. - // - static pj_status_t create( Pj_Pool *pool, pj_thread_t **thread, - pj_thread_proc *proc, void *arg, - unsigned flags = 0, - const char *name = NULL, - pj_size_t stack_size = 0 ) - { - return pj_thread_create(pool->pool_(), name, proc, arg, stack_size, - flags, thread); - } - - // - // Register a thread. - // - static pj_status_t register_this_thread( pj_thread_desc desc, - pj_thread_t **thread, - const char *name = NULL ) - { - return pj_thread_register( name, desc, thread ); - } - - // - // Get current thread. - // Will return pj_thread_t (sorry folks, not Pj_Thread). - // - static pj_thread_t *this_thread() - { - return pj_thread_this(); - } - - // - // Get thread name. - // - static const char *get_name(pj_thread_t *thread) - { - return pj_thread_get_name(thread); - } - - // - // Resume thread. - // - static pj_status_t resume(pj_thread_t *thread) - { - return pj_thread_resume(thread); - } - - // - // Sleep. - // - static pj_status_t sleep(unsigned msec) - { - return pj_thread_sleep(msec); - } - - // - // Join the specified thread. - // - static pj_status_t join(pj_thread_t *thread) - { - return pj_thread_join(thread); - } - - // - // Destroy thread - // - static pj_status_t destroy(pj_thread_t *thread) - { - return pj_thread_destroy(thread); - } -}; - - - -// -// Thread object. -// -// How to use: -// Derive a class from this class, then override main(). -// -class Pj_Thread : public Pj_Object -{ -public: - enum Flags - { - FLAG_SUSPENDED = PJ_THREAD_SUSPENDED - }; - - // - // Default constructor. - // - Pj_Thread() - : thread_(NULL) - { - } - - // - // Destroy thread. - // - ~Pj_Thread() - { - destroy(); - } - - // - // This is the main thread function. - // - virtual int main() = 0; - - // - // Start a thread. - // - pj_status_t create( Pj_Pool *pool, - unsigned flags = 0, - const char *thread_name = NULL, - pj_size_t stack_size = PJ_THREAD_DEFAULT_STACK_SIZE) - { - destroy(); - return Pj_Thread_API::create( pool, &thread_, &thread_proc, this, - flags, thread_name, stack_size); - } - - // - // Get pjlib compatible thread object. - // - pj_thread_t *pj_thread_t_() - { - return thread_; - } - - // - // Get thread name. - // - const char *get_name() - { - return Pj_Thread_API::get_name(thread_); - } - - // - // Resume a suspended thread. - // - pj_status_t resume() - { - return Pj_Thread_API::resume(thread_); - } - - // - // Join this thread. - // - pj_status_t join() - { - return Pj_Thread_API::join(thread_); - } - - // - // Destroy thread. - // - pj_status_t destroy() - { - if (thread_) { - Pj_Thread_API::destroy(thread_); - thread_ = NULL; - } - } - -protected: - pj_thread_t *thread_; - - static int PJ_THREAD_FUNC thread_proc(void *obj) - { - Pj_Thread *thread_class = (Pj_Thread*)obj; - return thread_class->main(); - } -}; - - -// -// External Thread -// (threads that were started by external means, i.e. not -// with Pj_Thread::create). -// -// This class will normally be defined as local variable in -// external thread's stack, normally inside thread's main proc. -// But be aware that the handle will be destroyed on destructor! -// -class Pj_External_Thread : public Pj_Thread -{ -public: - Pj_External_Thread() - { - } - - // - // Register external thread so that pjlib functions can work - // in that thread. - // - pj_status_t register_this_thread( const char *name=NULL ) - { - return Pj_Thread_API::register_this_thread(desc_, &thread_,name); - } - -private: - pj_thread_desc desc_; -}; - - -// -// Thread specific data/thread local storage/TLS. -// -class Pj_Thread_Local_API -{ -public: - // - // Allocate thread local storage (TLS) index. - // - static pj_status_t alloc(long *index) - { - return pj_thread_local_alloc(index); - } - - // - // Free TLS index. - // - static void free(long index) - { - pj_thread_local_free(index); - } - - // - // Set thread specific data. - // - static pj_status_t set(long index, void *value) - { - return pj_thread_local_set(index, value); - } - - // - // Get thread specific data. - // - static void *get(long index) - { - return pj_thread_local_get(index); - } - -}; - -// -// Atomic variable -// -// How to use: -// Pj_Atomic_Var var(pool, 0); -// var.set(..); -// -class Pj_Atomic_Var : public Pj_Object -{ -public: - // - // Default constructor, initialize variable with NULL. - // - Pj_Atomic_Var() - : var_(NULL) - { - } - - // - // Construct atomic variable. - // - Pj_Atomic_Var(Pj_Pool *pool, pj_atomic_value_t value) - : var_(NULL) - { - create(pool, value); - } - - // - // Destructor. - // - ~Pj_Atomic_Var() - { - destroy(); - } - - // - // Create atomic variable. - // - pj_status_t create( Pj_Pool *pool, pj_atomic_value_t value) - { - destroy(); - return pj_atomic_create(pool->pool_(), value, &var_); - } - - // - // Destroy. - // - void destroy() - { - if (var_) { - pj_atomic_destroy(var_); - var_ = NULL; - } - } - - // - // Get pjlib compatible atomic variable. - // - pj_atomic_t *pj_atomic_t_() - { - return var_; - } - - // - // Set the value. - // - void set(pj_atomic_value_t val) - { - pj_atomic_set(var_, val); - } - - // - // Get the value. - // - pj_atomic_value_t get() - { - return pj_atomic_get(var_); - } - - // - // Increment. - // - void inc() - { - pj_atomic_inc(var_); - } - - // - // Increment and get the result. - // - pj_atomic_value_t inc_and_get() - { - return pj_atomic_inc_and_get(var_); - } - - // - // Decrement. - // - void dec() - { - pj_atomic_dec(var_); - } - - // - // Decrement and get the result. - // - pj_atomic_value_t dec_and_get() - { - return pj_atomic_dec_and_get(var_); - } - - // - // Add the variable. - // - void add(pj_atomic_value_t value) - { - pj_atomic_add(var_, value); - } - - // - // Add the variable and get the value. - // - pj_atomic_value_t add_and_get(pj_atomic_value_t value) - { - return pj_atomic_add_and_get(var_, value ); - } - -private: - pj_atomic_t *var_; -}; - - -// -// Mutex -// -class Pj_Mutex : public Pj_Object -{ -public: - // - // Mutex type. - // - enum Type - { - DEFAULT = PJ_MUTEX_DEFAULT, - SIMPLE = PJ_MUTEX_SIMPLE, - RECURSE = PJ_MUTEX_RECURSE, - }; - - // - // Default constructor will create default mutex. - // - explicit Pj_Mutex(Pj_Pool *pool, Type type = DEFAULT, - const char *name = NULL) - : mutex_(NULL) - { - create(pool, type, name); - } - - // - // Destructor. - // - ~Pj_Mutex() - { - destroy(); - } - - // - // Create mutex. - // - pj_status_t create( Pj_Pool *pool, Type type, const char *name = NULL) - { - destroy(); - return pj_mutex_create( pool->pool_(), name, type, - &mutex_ ); - } - - // - // Create simple mutex. - // - pj_status_t create_simple( Pj_Pool *pool,const char *name = NULL) - { - return create(pool, SIMPLE, name); - } - - // - // Create recursive mutex. - // - pj_status_t create_recursive( Pj_Pool *pool, const char *name = NULL ) - { - return create(pool, RECURSE, name); - } - - // - // Get pjlib compatible mutex object. - // - pj_mutex_t *pj_mutex_t_() - { - return mutex_; - } - - // - // Destroy mutex. - // - void destroy() - { - if (mutex_) { - pj_mutex_destroy(mutex_); - mutex_ = NULL; - } - } - - // - // Lock mutex. - // - pj_status_t acquire() - { - return pj_mutex_lock(mutex_); - } - - // - // Unlock mutex. - // - pj_status_t release() - { - return pj_mutex_unlock(mutex_); - } - - // - // Try locking the mutex. - // - pj_status_t tryacquire() - { - return pj_mutex_trylock(mutex_); - } - -private: - pj_mutex_t *mutex_; -}; - - -// -// Semaphore -// -class Pj_Semaphore : public Pj_Object -{ -public: - // - // Construct semaphore - // - Pj_Semaphore(Pj_Pool *pool, unsigned max, - unsigned initial = 0, const char *name = NULL) - : sem_(NULL) - { - create(pool, max, initial, name); - } - - // - // Destructor. - // - ~Pj_Semaphore() - { - destroy(); - } - - // - // Create semaphore - // - pj_status_t create( Pj_Pool *pool, unsigned max, - unsigned initial = 0, const char *name = NULL ) - { - destroy(); - return pj_sem_create( pool->pool_(), name, initial, max, &sem_); - } - - // - // Destroy semaphore. - // - void destroy() - { - if (sem_) { - pj_sem_destroy(sem_); - sem_ = NULL; - } - } - - // - // Get pjlib compatible semaphore object. - // - pj_sem_t *pj_sem_t_() - { - return (pj_sem_t*)this; - } - - // - // Wait semaphore. - // - pj_status_t wait() - { - return pj_sem_wait(this->pj_sem_t_()); - } - - // - // Wait semaphore. - // - pj_status_t acquire() - { - return wait(); - } - - // - // Try wait semaphore. - // - pj_status_t trywait() - { - return pj_sem_trywait(this->pj_sem_t_()); - } - - // - // Try wait semaphore. - // - pj_status_t tryacquire() - { - return trywait(); - } - - // - // Post semaphore. - // - pj_status_t post() - { - return pj_sem_post(this->pj_sem_t_()); - } - - // - // Post semaphore. - // - pj_status_t release() - { - return post(); - } - -private: - pj_sem_t *sem_; -}; - - -// -// Event object. -// -class Pj_Event -{ -public: - // - // Construct event object. - // - Pj_Event( Pj_Pool *pool, bool manual_reset = false, - bool initial = false, const char *name = NULL ) - : event_(NULL) - { - create(pool, manual_reset, initial, name); - } - - // - // Destructor. - // - ~Pj_Event() - { - destroy(); - } - - // - // Create event object. - // - pj_status_t create( Pj_Pool *pool, bool manual_reset = false, - bool initial = false, const char *name = NULL) - { - destroy(); - return pj_event_create(pool->pool_(), name, manual_reset, initial, - &event_); - } - - // - // Get pjlib compatible event object. - // - pj_event_t *pj_event_t_() - { - return event_; - } - - // - // Destroy event object. - // - void destroy() - { - if (event_) { - pj_event_destroy(event_); - event_ = NULL; - } - } - - // - // Wait. - // - pj_status_t wait() - { - return pj_event_wait(event_); - } - - // - // Try wait. - // - pj_status_t trywait() - { - return pj_event_trywait(event_); - } - - // - // Set event state to signalled. - // - pj_status_t set() - { - return pj_event_set(this->pj_event_t_()); - } - - // - // Release one waiting thread. - // - pj_status_t pulse() - { - return pj_event_pulse(this->pj_event_t_()); - } - - // - // Set a non-signalled. - // - pj_status_t reset() - { - return pj_event_reset(this->pj_event_t_()); - } - -private: - pj_event_t *event_; -}; - -// -// Timestamp -// -class Pj_Timestamp -{ -public: - pj_status_t get_timestamp() - { - return pj_get_timestamp(&ts_); - } - - Pj_Timestamp& operator += (const Pj_Timestamp &rhs) - { - pj_add_timestamp(&ts_, &rhs.ts_); - return *this; - } - - Pj_Timestamp& operator -= (const Pj_Timestamp &rhs) - { - pj_sub_timestamp(&ts_, &rhs.ts_); - return *this; - } - - Pj_Time_Val to_time() const - { - Pj_Timestamp zero; - pj_memset(&zero, 0, sizeof(zero)); - return Pj_Time_Val(pj_elapsed_time(&zero.ts_, &ts_)); - } - - pj_uint32_t to_msec() const - { - Pj_Timestamp zero; - pj_memset(&zero, 0, sizeof(zero)); - return pj_elapsed_msec(&zero.ts_, &ts_); - } - - pj_uint32_t to_usec() const - { - Pj_Timestamp zero; - pj_memset(&zero, 0, sizeof(zero)); - return pj_elapsed_usec(&zero.ts_, &ts_); - } - - pj_uint32_t to_nanosec() const - { - Pj_Timestamp zero; - pj_memset(&zero, 0, sizeof(zero)); - return pj_elapsed_nanosec(&zero.ts_, &ts_); - } - - pj_uint32_t to_cycle() const - { - Pj_Timestamp zero; - pj_memset(&zero, 0, sizeof(zero)); - return pj_elapsed_cycle(&zero.ts_, &ts_); - } - -private: - pj_timestamp ts_; -}; - - -// -// OS abstraction. -// -class Pj_OS_API -{ -public: - // - // Get current time. - // - static pj_status_t gettimeofday( Pj_Time_Val *tv ) - { - return pj_gettimeofday(tv); - } - - // - // Parse to time of day. - // - static pj_status_t time_decode( const Pj_Time_Val *tv, - pj_parsed_time *pt ) - { - return pj_time_decode(tv, pt); - } - - // - // Parse from time of day. - // - static pj_status_t time_encode( const pj_parsed_time *pt, - Pj_Time_Val *tv) - { - return pj_time_encode(pt, tv); - } - - // - // Convert to GMT. - // - static pj_status_t time_local_to_gmt( Pj_Time_Val *tv ) - { - return pj_time_local_to_gmt( tv ); - } - - // - // Convert time to local. - // - static pj_status_t time_gmt_to_local( Pj_Time_Val *tv) - { - return pj_time_gmt_to_local( tv ); - } -}; - -// -// Timeval inlines. -// -inline pj_status_t Pj_Time_Val::gettimeofday() -{ - return Pj_OS_API::gettimeofday(this); -} - -inline pj_parsed_time Pj_Time_Val::decode() -{ - pj_parsed_time pt; - Pj_OS_API::time_decode(this, &pt); - return pt; -} - -inline pj_status_t Pj_Time_Val::encode(const pj_parsed_time *pt) -{ - return Pj_OS_API::time_encode(pt, this); -} - -inline pj_status_t Pj_Time_Val::to_gmt() -{ - return Pj_OS_API::time_local_to_gmt(this); -} - -inline pj_status_t Pj_Time_Val::to_local() -{ - return Pj_OS_API::time_gmt_to_local(this); -} - -#endif /* __PJPP_OS_HPP__ */ - diff --git a/res/pjproject/pjlib/include/pj++/pool.hpp b/res/pjproject/pjlib/include/pj++/pool.hpp deleted file mode 100644 index 607ca7fc95..0000000000 --- a/res/pjproject/pjlib/include/pj++/pool.hpp +++ /dev/null @@ -1,279 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJPP_POOL_HPP__ -#define __PJPP_POOL_HPP__ - -#include - -class Pj_Pool; -class Pj_Caching_Pool; - -// -// Base class for all Pjlib objects -// -class Pj_Object -{ -public: - void *operator new(unsigned int class_size, Pj_Pool *pool); - void *operator new(unsigned int class_size, Pj_Pool &pool); - - void operator delete(void*) - { - } - - void operator delete(void*, Pj_Pool*) - { - } - - void operator delete(void*, Pj_Pool&) - { - } - - // - // Inline implementations at the end of this file. - // - -private: - // Can not use normal new operator; must use pool. - // e.g.: - // obj = new(pool) Pj_The_Object(pool, ...); - // - void *operator new(unsigned int) - {} -}; - - -// -// Pool. -// -class Pj_Pool : public Pj_Object -{ -public: - // - // Default constructor, initializes internal pool to NULL. - // Application must call attach() some time later. - // - Pj_Pool() - : p_(NULL) - { - } - - // - // Create pool. - // - Pj_Pool(Pj_Caching_Pool &caching_pool, - pj_size_t initial_size, - pj_size_t increment_size, - const char *name = NULL, - pj_pool_callback *callback = NULL); - - // - // Construct from existing pool. - // - explicit Pj_Pool(pj_pool_t *pool) - : p_(pool) - { - } - - // - // Attach existing pool. - // - void attach(pj_pool_t *pool) - { - p_ = pool; - } - - // - // Destructor. - // - // Release pool back to factory. Remember: if you delete pool, then - // make sure that all objects that have been allocated from this pool - // have been properly destroyed. - // - // This is where C++ is trickier than plain C!! - // - ~Pj_Pool() - { - if (p_) - pj_pool_release(p_); - } - - // - // Get name. - // - const char *getobjname() const - { - return pj_pool_getobjname(p_); - } - - // - // You can cast Pj_Pool to pj_pool_t* - // - operator pj_pool_t*() - { - return p_; - } - - // - // Get pjlib compatible pool object. - // - pj_pool_t *pool_() - { - return p_; - } - - // - // Get pjlib compatible pool object. - // - const pj_pool_t *pool_() const - { - return p_; - } - - // - // Get pjlib compatible pool object. - // - pj_pool_t *pj_pool_t_() - { - return p_; - } - - // - // Reset pool. - // - void reset() - { - pj_pool_reset(p_); - } - - // - // Get current capacity. - // - pj_size_t get_capacity() - { - pj_pool_get_capacity(p_); - } - - // - // Get current total bytes allocated from the pool. - // - pj_size_t get_used_size() - { - pj_pool_get_used_size(p_); - } - - // - // Allocate. - // - void *alloc(pj_size_t size) - { - return pj_pool_alloc(p_, size); - } - - // - // Allocate elements and zero fill the memory. - // - void *calloc(pj_size_t count, pj_size_t elem) - { - return pj_pool_calloc(p_, count, elem); - } - - // - // Allocate and zero fill memory. - // - void *zalloc(pj_size_t size) - { - return pj_pool_zalloc(p_, size); - } - -private: - pj_pool_t *p_; -}; - - -// -// Caching pool. -// -class Pj_Caching_Pool -{ -public: - // - // Construct caching pool. - // - Pj_Caching_Pool( pj_size_t cache_capacity = 0, - const pj_pool_factory_policy *pol=&pj_pool_factory_default_policy) - { - pj_caching_pool_init(&cp_, pol, cache_capacity); - } - - // - // Destroy caching pool. - // - ~Pj_Caching_Pool() - { - pj_caching_pool_destroy(&cp_); - } - - // - // Create pool. - // - pj_pool_t *create_pool( pj_size_t initial_size, - pj_size_t increment_size, - const char *name = NULL, - pj_pool_callback *callback = NULL) - { - return (pj_pool_t*)(*cp_.factory.create_pool)(&cp_.factory, name, - initial_size, - increment_size, - callback); - } - -private: - pj_caching_pool cp_; -}; - -// -// Inlines for Pj_Object -// -inline void *Pj_Object::operator new(unsigned int class_size, Pj_Pool *pool) -{ - return pool->alloc(class_size); -} -inline void *Pj_Object::operator new(unsigned int class_size, Pj_Pool &pool) -{ - return pool.alloc(class_size); -} - -// -// Inlines for Pj_Pool -// -inline Pj_Pool::Pj_Pool( Pj_Caching_Pool &caching_pool, - pj_size_t initial_size, - pj_size_t increment_size, - const char *name, - pj_pool_callback *callback) -{ - p_ = caching_pool.create_pool(initial_size, increment_size, name, - callback); -} - - -#endif /* __PJPP_POOL_HPP__ */ - diff --git a/res/pjproject/pjlib/include/pj++/proactor.hpp b/res/pjproject/pjlib/include/pj++/proactor.hpp deleted file mode 100644 index 14ec287805..0000000000 --- a/res/pjproject/pjlib/include/pj++/proactor.hpp +++ /dev/null @@ -1,515 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJPP_PROACTOR_HPP__ -#define __PJPP_PROACTOR_HPP__ - -#include -#include -#include -#include -#include - -class Pj_Proactor; -class Pj_Event_Handler; - - -////////////////////////////////////////////////////////////////////////////// -// Asynchronous operation key. -// -// Applications may inheric this class to put their application -// specific data. -// -class Pj_Async_Op : public pj_ioqueue_op_key_t -{ -public: - // - // Construct with null handler. - // App must call set_handler() before use. - // - Pj_Async_Op() - : handler_(NULL) - { - pj_ioqueue_op_key_init(this, sizeof(*this)); - } - - // - // Constructor. - // - explicit Pj_Async_Op(Pj_Event_Handler *handler) - : handler_(handler) - { - pj_ioqueue_op_key_init(this, sizeof(*this)); - } - - // - // Set handler. - // - void set_handler(Pj_Event_Handler *handler) - { - handler_ = handler; - } - - // - // Check whether operation is still pending for this key. - // - bool is_pending(); - - // - // Cancel the operation. - // - bool cancel(pj_ssize_t bytes_status=-PJ_ECANCELLED); - -protected: - Pj_Event_Handler *handler_; -}; - - -////////////////////////////////////////////////////////////////////////////// -// Event handler. -// -// Applications should inherit this class to receive various event -// notifications. -// -// Applications should implement get_socket_handle(). -// -class Pj_Event_Handler : public Pj_Object -{ - friend class Pj_Proactor; -public: - // - // Default constructor. - // - Pj_Event_Handler() - : key_(NULL) - { - pj_memset(&timer_, 0, sizeof(timer_)); - timer_.user_data = this; - timer_.cb = &timer_callback; - } - - // - // Destroy. - // - virtual ~Pj_Event_Handler() - { - unregister(); - } - - // - // Unregister this handler from the ioqueue. - // - void unregister() - { - if (key_) { - pj_ioqueue_unregister(key_); - key_ = NULL; - } - } - - // - // Get socket handle associated with this. - // - virtual pj_sock_t get_socket_handle() - { - return PJ_INVALID_SOCKET; - } - - // - // Start async receive. - // - pj_status_t recv( Pj_Async_Op *op_key, - void *buf, pj_ssize_t *len, - unsigned flags) - { - return pj_ioqueue_recv( key_, op_key, - buf, len, flags); - } - - // - // Start async recvfrom() - // - pj_status_t recvfrom( Pj_Async_Op *op_key, - void *buf, pj_ssize_t *len, unsigned flags, - Pj_Inet_Addr *addr) - { - addr->addrlen_ = sizeof(Pj_Inet_Addr); - return pj_ioqueue_recvfrom( key_, op_key, buf, len, flags, - addr, &addr->addrlen_ ); - } - - // - // Start async send() - // - pj_status_t send( Pj_Async_Op *op_key, - const void *data, pj_ssize_t *len, - unsigned flags) - { - return pj_ioqueue_send( key_, op_key, data, len, flags); - } - - // - // Start async sendto() - // - pj_status_t sendto( Pj_Async_Op *op_key, - const void *data, pj_ssize_t *len, unsigned flags, - const Pj_Inet_Addr &addr) - { - return pj_ioqueue_sendto(key_, op_key, data, len, flags, - &addr, sizeof(addr)); - } - -#if PJ_HAS_TCP - // - // Start async connect() - // - pj_status_t connect(const Pj_Inet_Addr &addr) - { - return pj_ioqueue_connect(key_, &addr, sizeof(addr)); - } - - // - // Start async accept(). - // - pj_status_t accept( Pj_Async_Op *op_key, - Pj_Socket *sock, - Pj_Inet_Addr *local = NULL, - Pj_Inet_Addr *remote = NULL) - { - int *addrlen = local ? &local->addrlen_ : NULL; - return pj_ioqueue_accept( key_, op_key, &sock->sock_, - local, remote, addrlen ); - } - -#endif - -protected: - ////////////////// - // Overridables - ////////////////// - - // - // Timeout callback. - // - virtual void on_timeout(int) - { - } - - // - // On read complete callback. - // - virtual void on_read_complete( Pj_Async_Op*, pj_ssize_t) - { - } - - // - // On write complete callback. - // - virtual void on_write_complete( Pj_Async_Op *, pj_ssize_t) - { - } - -#if PJ_HAS_TCP - // - // On connect complete callback. - // - virtual void on_connect_complete(pj_status_t) - { - } - - // - // On new connection callback. - // - virtual void on_accept_complete( Pj_Async_Op*, pj_sock_t, pj_status_t) - { - } - -#endif - - -private: - pj_ioqueue_key_t *key_; - pj_timer_entry timer_; - - friend class Pj_Proactor; - friend class Pj_Async_Op; - - // - // Static timer callback. - // - static void timer_callback( pj_timer_heap_t*, - struct pj_timer_entry *entry) - { - Pj_Event_Handler *handler = - (Pj_Event_Handler*) entry->user_data; - - handler->on_timeout(entry->id); - } -}; - -inline bool Pj_Async_Op::is_pending() -{ - return pj_ioqueue_is_pending(handler_->key_, this) != 0; -} - -inline bool Pj_Async_Op::cancel(pj_ssize_t bytes_status) -{ - return pj_ioqueue_post_completion(handler_->key_, this, - bytes_status) == PJ_SUCCESS; -} - -////////////////////////////////////////////////////////////////////////////// -// Proactor -// -class Pj_Proactor : public Pj_Object -{ -public: - // - // Default constructor, initializes to NULL. - // - Pj_Proactor() - : ioq_(NULL), th_(NULL) - { - cb_.on_read_complete = &read_complete_cb; - cb_.on_write_complete = &write_complete_cb; - cb_.on_accept_complete = &accept_complete_cb; - cb_.on_connect_complete = &connect_complete_cb; - } - - // - // Construct proactor. - // - Pj_Proactor( Pj_Pool *pool, pj_size_t max_fd, - pj_size_t max_timer_entries ) - : ioq_(NULL), th_(NULL) - { - cb_.on_read_complete = &read_complete_cb; - cb_.on_write_complete = &write_complete_cb; - cb_.on_accept_complete = &accept_complete_cb; - cb_.on_connect_complete = &connect_complete_cb; - - create(pool, max_fd, max_timer_entries); - } - - // - // Destructor. - // - ~Pj_Proactor() - { - destroy(); - } - - // - // Create proactor. - // - pj_status_t create( Pj_Pool *pool, pj_size_t max_fd, - pj_size_t timer_entry_count) - { - pj_status_t status; - - destroy(); - - status = pj_ioqueue_create(pool->pool_(), max_fd, &ioq_); - if (status != PJ_SUCCESS) - return status; - - status = pj_timer_heap_create(pool->pool_(), - timer_entry_count, &th_); - if (status != PJ_SUCCESS) { - pj_ioqueue_destroy(ioq_); - ioq_ = NULL; - return NULL; - } - - return status; - } - - // - // Destroy proactor. - // - void destroy() - { - if (ioq_) { - pj_ioqueue_destroy(ioq_); - ioq_ = NULL; - } - if (th_) { - pj_timer_heap_destroy(th_); - th_ = NULL; - } - } - - // - // Register handler. - // This will call handler->get_socket_handle() - // - pj_status_t register_socket_handler(Pj_Pool *pool, - Pj_Event_Handler *handler) - { - return pj_ioqueue_register_sock( pool->pool_(), ioq_, - handler->get_socket_handle(), - handler, &cb_, &handler->key_ ); - } - - // - // Unregister handler. - // - static void unregister_handler(Pj_Event_Handler *handler) - { - if (handler->key_) { - pj_ioqueue_unregister( handler->key_ ); - handler->key_ = NULL; - } - } - - // - // Scheduler timer. - // - bool schedule_timer( Pj_Event_Handler *handler, - const Pj_Time_Val &delay, - int id=-1) - { - return schedule_timer(th_, handler, delay, id); - } - - // - // Cancel timer. - // - bool cancel_timer(Pj_Event_Handler *handler) - { - return pj_timer_heap_cancel(th_, &handler->timer_) == 1; - } - - // - // Handle events. - // - int handle_events(Pj_Time_Val *max_timeout) - { - Pj_Time_Val timeout(0, 0); - int timer_count; - - timer_count = pj_timer_heap_poll( th_, &timeout ); - - if (timeout.get_sec() < 0) - timeout.sec = PJ_MAXINT32; - - /* If caller specifies maximum time to wait, then compare the value - * with the timeout to wait from timer, and use the minimum value. - */ - if (max_timeout && timeout >= *max_timeout) { - timeout = *max_timeout; - } - - /* Poll events in ioqueue. */ - int ioqueue_count; - - ioqueue_count = pj_ioqueue_poll(ioq_, &timeout); - if (ioqueue_count < 0) - return ioqueue_count; - - return ioqueue_count + timer_count; - } - - // - // Get the internal ioqueue object. - // - pj_ioqueue_t *get_io_queue() - { - return ioq_; - } - - // - // Get the internal timer heap object. - // - pj_timer_heap_t *get_timer_heap() - { - return th_; - } - -private: - pj_ioqueue_t *ioq_; - pj_timer_heap_t *th_; - pj_ioqueue_callback cb_; - - static bool schedule_timer( pj_timer_heap_t *timer, - Pj_Event_Handler *handler, - const Pj_Time_Val &delay, - int id=-1) - { - handler->timer_.id = id; - return pj_timer_heap_schedule(timer, &handler->timer_, &delay) == 0; - } - - - // - // Static read completion callback. - // - static void read_complete_cb( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read) - { - Pj_Event_Handler *handler = - (Pj_Event_Handler*) pj_ioqueue_get_user_data(key); - - handler->on_read_complete((Pj_Async_Op*)op_key, bytes_read); - } - - // - // Static write completion callback. - // - static void write_complete_cb(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_sent) - { - Pj_Event_Handler *handler = - (Pj_Event_Handler*) pj_ioqueue_get_user_data(key); - - handler->on_write_complete((Pj_Async_Op*)op_key, bytes_sent); - } - - // - // Static accept completion callback. - // - static void accept_complete_cb(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_sock_t new_sock, - pj_status_t status) - { - Pj_Event_Handler *handler = - (Pj_Event_Handler*) pj_ioqueue_get_user_data(key); - - handler->on_accept_complete((Pj_Async_Op*)op_key, new_sock, status); - } - - // - // Static connect completion callback. - // - static void connect_complete_cb(pj_ioqueue_key_t *key, - pj_status_t status) - { - Pj_Event_Handler *handler = - (Pj_Event_Handler*) pj_ioqueue_get_user_data(key); - - handler->on_connect_complete(status); - } - -}; - -#endif /* __PJPP_PROACTOR_HPP__ */ - diff --git a/res/pjproject/pjlib/include/pj++/scanner.hpp b/res/pjproject/pjlib/include/pj++/scanner.hpp deleted file mode 100644 index 1be9ba5f72..0000000000 --- a/res/pjproject/pjlib/include/pj++/scanner.hpp +++ /dev/null @@ -1,246 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJPP_SCANNER_HPP__ -#define __PJPP_SCANNER_HPP__ - -#include -#include - -class Pj_Cis; -class Pj_Cis_Buffer; -class Pj_Scanner; - -class Pj_Cis_Buffer -{ - friend class Pj_Cis; - -public: - Pj_Cis_Buffer() - { - pj_cis_buf_init(&buf_); - } - -private: - pj_cis_buf_t buf_; -}; - - -class Pj_Cis -{ - friend class Pj_Scanner; - -public: - Pj_Cis(Pj_Cis_Buffer *buf) - { - pj_cis_init(&buf->buf_, &cis_); - } - - Pj_Cis(const Pj_Cis &rhs) - { - pj_cis_dup(&cis_, (pj_cis_t*)&rhs.cis_); - } - - void add_range(int start, int end) - { - pj_cis_add_range(&cis_, start, end); - } - - void add_alpha() - { - pj_cis_add_alpha(&cis_); - } - - void add_num() - { - pj_cis_add_num(&cis_); - } - - void add_str(const char *str) - { - pj_cis_add_str(&cis_, str); - } - - void add_cis(const Pj_Cis &rhs) - { - pj_cis_add_cis(&cis_, &rhs.cis_); - } - - void del_range(int start, int end) - { - pj_cis_del_range(&cis_, start, end); - } - - void del_str(const char *str) - { - pj_cis_del_str(&cis_, str); - } - - void invert() - { - pj_cis_invert(&cis_); - } - - bool match(int c) const - { - return pj_cis_match(&cis_, c) != 0; - } - -private: - pj_cis_t cis_; -}; - - - -class Pj_Scanner -{ -public: - Pj_Scanner() {} - - enum - { - SYNTAX_ERROR = 101 - }; - static void syntax_error_handler_throw_pj(pj_scanner *); - - typedef pj_scan_state State; - - void init(char *buf, int len, unsigned options=PJ_SCAN_AUTOSKIP_WS, - pj_syn_err_func_ptr callback = &syntax_error_handler_throw_pj) - { - pj_scan_init(&scanner_, buf, len, options, callback); - } - - void fini() - { - pj_scan_fini(&scanner_); - } - - int eof() const - { - return pj_scan_is_eof(&scanner_); - } - - int peek_char() const - { - return *scanner_.curptr; - } - - int peek(const Pj_Cis *cis, Pj_String *out) - { - return pj_scan_peek(&scanner_, &cis->cis_, out); - } - - int peek_n(pj_size_t len, Pj_String *out) - { - return pj_scan_peek_n(&scanner_, len, out); - } - - int peek_until(const Pj_Cis *cis, Pj_String *out) - { - return pj_scan_peek_until(&scanner_, &cis->cis_, out); - } - - void get(const Pj_Cis *cis, Pj_String *out) - { - pj_scan_get(&scanner_, &cis->cis_, out); - } - - void get_n(unsigned N, Pj_String *out) - { - pj_scan_get_n(&scanner_, N, out); - } - - int get_char() - { - return pj_scan_get_char(&scanner_); - } - - void get_quote(int begin_quote, int end_quote, Pj_String *out) - { - pj_scan_get_quote(&scanner_, begin_quote, end_quote, out); - } - - void get_newline() - { - pj_scan_get_newline(&scanner_); - } - - void get_until(const Pj_Cis *cis, Pj_String *out) - { - pj_scan_get_until(&scanner_, &cis->cis_, out); - } - - void get_until_ch(int until_ch, Pj_String *out) - { - pj_scan_get_until_ch(&scanner_, until_ch, out); - } - - void get_until_chr(const char *spec, Pj_String *out) - { - pj_scan_get_until_chr(&scanner_, spec, out); - } - - void advance_n(unsigned N, bool skip_ws=true) - { - pj_scan_advance_n(&scanner_, N, skip_ws); - } - - int strcmp(const char *s, int len) - { - return pj_scan_strcmp(&scanner_, s, len); - } - - int stricmp(const char *s, int len) - { - return pj_scan_stricmp(&scanner_, s, len); - } - - void skip_ws() - { - pj_scan_skip_whitespace(&scanner_); - } - - void save_state(State *state) const - { - pj_scan_save_state(&scanner_, state); - } - - void restore_state(State *state) - { - pj_scan_restore_state(&scanner_, state); - } - - int get_pos_line() const - { - return scanner_.line; - } - - int get_pos_col() const - { - return pj_scan_get_col(&scanner_); - } - - -private: - pj_scanner scanner_; -}; - -#endif /* __PJPP_SCANNER_HPP__ */ - diff --git a/res/pjproject/pjlib/include/pj++/sock.hpp b/res/pjproject/pjlib/include/pj++/sock.hpp deleted file mode 100644 index 66a03f359a..0000000000 --- a/res/pjproject/pjlib/include/pj++/sock.hpp +++ /dev/null @@ -1,444 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJPP_SOCK_HPP__ -#define __PJPP_SOCK_HPP__ - -#include -#include - -class Pj_Event_Handler; - -// -// Base class for address. -// -class Pj_Addr -{ -}; - -// -// Internet address. -// -class Pj_Inet_Addr : public pj_sockaddr_in, public Pj_Addr -{ -public: - // - // Get port number. - // - pj_uint16_t get_port_number() const - { - return pj_sockaddr_in_get_port(this); - } - - // - // Set port number. - // - void set_port_number(pj_uint16_t port) - { - sin_family = PJ_AF_INET; - pj_sockaddr_in_set_port(this, port); - } - - // - // Get IP address. - // - pj_uint32_t get_ip_address() const - { - return pj_sockaddr_in_get_addr(this).s_addr; - } - - // - // Get address string. - // - const char *get_address() const - { - return pj_inet_ntoa(sin_addr); - } - - // - // Set IP address. - // - void set_ip_address(pj_uint32_t addr) - { - sin_family = PJ_AF_INET; - pj_sockaddr_in_set_addr(this, addr); - } - - // - // Set address. - // - pj_status_t set_address(const pj_str_t *addr) - { - return pj_sockaddr_in_set_str_addr(this, addr); - } - - // - // Set address. - // - pj_status_t set_address(const char *addr) - { - pj_str_t s; - return pj_sockaddr_in_set_str_addr(this, pj_cstr(&s, addr)); - } - - // - // Compare for equality. - // - bool operator==(const Pj_Inet_Addr &rhs) const - { - return sin_family == rhs.sin_family && - sin_addr.s_addr == rhs.sin_addr.s_addr && - sin_port == rhs.sin_port; - } - -private: - // - // Dummy length used in pj_ioqueue_recvfrom() etc - // - friend class Pj_Event_Handler; - friend class Pj_Socket; - friend class Pj_Sock_Stream; - friend class Pj_Sock_Dgram; - - int addrlen_; -}; - - -// -// Socket base class. -// -// Note: -// socket will not automatically be closed on destructor. -// -class Pj_Socket -{ -public: - // - // Default constructor. - // - Pj_Socket() - : sock_(PJ_INVALID_SOCKET) - { - } - - // - // Initialize from a socket handle. - // - explicit Pj_Socket(pj_sock_t sock) - : sock_(sock) - { - } - - // - // Copy constructor. - // - Pj_Socket(const Pj_Socket &rhs) - : sock_(rhs.sock_) - { - } - - // - // Destructor will not close the socket. - // You must call close() explicitly. - // - ~Pj_Socket() - { - } - - // - // Set socket handle. - // - void set_handle(pj_sock_t sock) - { - sock_ = sock; - } - - // - // Get socket handle. - // - pj_sock_t get_handle() const - { - return sock_; - } - - // - // Get socket handle. - // - pj_sock_t& get_handle() - { - return sock_; - } - - // - // See if the socket is valid. - // - bool is_valid() const - { - return sock_ != PJ_INVALID_SOCKET; - } - - // - // Create the socket. - // - pj_status_t create(int af, int type, int proto) - { - return pj_sock_socket(af, type, proto, &sock_); - } - - // - // Bind socket. - // - pj_status_t bind(const Pj_Inet_Addr &addr) - { - return pj_sock_bind(sock_, &addr, sizeof(Pj_Inet_Addr)); - } - - // - // Close socket. - // - pj_status_t close() - { - pj_sock_close(sock_); - } - - // - // Get peer socket name. - // - pj_status_t getpeername(Pj_Inet_Addr *addr) - { - return pj_sock_getpeername(sock_, addr, &addr->addrlen_); - } - - // - // getsockname - // - pj_status_t getsockname(Pj_Inet_Addr *addr) - { - return pj_sock_getsockname(sock_, addr, &addr->addrlen_); - } - - // - // getsockopt. - // - pj_status_t getsockopt(pj_uint16_t level, pj_uint16_t optname, - void *optval, int *optlen) - { - return pj_sock_getsockopt(sock_, level, optname, optval, optlen); - } - - // - // setsockopt - // - pj_status_t setsockopt(pj_uint16_t level, pj_uint16_t optname, - const void *optval, int optlen) - { - return pj_sock_setsockopt(sock_, level, optname, optval, optlen); - } - - // - // receive data. - // - pj_ssize_t recv(void *buf, pj_size_t len, int flag = 0) - { - pj_ssize_t bytes = len; - if (pj_sock_recv(sock_, buf, &bytes, flag) != PJ_SUCCESS) - return -1; - return bytes; - } - - // - // send data. - // - pj_ssize_t send(const void *buf, pj_ssize_t len, int flag = 0) - { - pj_ssize_t bytes = len; - if (pj_sock_send(sock_, buf, &bytes, flag) != PJ_SUCCESS) - return -1; - return bytes; - } - - // - // connect. - // - pj_status_t connect(const Pj_Inet_Addr &addr) - { - return pj_sock_connect(sock_, &addr, sizeof(Pj_Inet_Addr)); - } - - // - // assignment. - // - Pj_Socket &operator=(const Pj_Socket &rhs) - { - sock_ = rhs.sock_; - return *this; - } - -protected: - friend class Pj_Event_Handler; - pj_sock_t sock_; -}; - - -#if PJ_HAS_TCP -// -// Stream socket. -// -class Pj_Sock_Stream : public Pj_Socket -{ -public: - // - // Default constructor. - // - Pj_Sock_Stream() - { - } - - // - // Initialize from a socket handle. - // - explicit Pj_Sock_Stream(pj_sock_t sock) - : Pj_Socket(sock) - { - } - - // - // Copy constructor. - // - Pj_Sock_Stream(const Pj_Sock_Stream &rhs) : Pj_Socket(rhs) - { - } - - // - // Assignment. - // - Pj_Sock_Stream &operator=(const Pj_Sock_Stream &rhs) - { - sock_ = rhs.sock_; - return *this; - } - - // - // listen() - // - pj_status_t listen(int backlog = 5) - { - return pj_sock_listen(sock_, backlog); - } - - // - // blocking accept() - // - Pj_Sock_Stream accept(Pj_Inet_Addr *remote_addr = NULL) - { - pj_sock_t newsock; - int *addrlen = remote_addr ? &remote_addr->addrlen_ : NULL; - pj_status_t status; - - status = pj_sock_accept(sock_, &newsock, remote_addr, addrlen); - if (status != PJ_SUCCESS) - return Pj_Sock_Stream(-1); - - return Pj_Sock_Stream(newsock); - } - - // - // shutdown() - // - pj_status_t shutdown(int how = PJ_SHUT_RDWR) - { - return pj_sock_shutdown(sock_, how); - } - -}; -#endif - -// -// Datagram socket. -// -class Pj_Sock_Dgram : public Pj_Socket -{ -public: - // - // Default constructor. - // - Pj_Sock_Dgram() - { - } - - // - // Initialize from a socket handle. - // - explicit Pj_Sock_Dgram(pj_sock_t sock) - : Pj_Socket(sock) - { - } - - // - // Copy constructor. - // - Pj_Sock_Dgram(const Pj_Sock_Dgram &rhs) - : Pj_Socket(rhs) - { - } - - // - // Assignment. - // - Pj_Sock_Dgram &operator=(const Pj_Sock_Dgram &rhs) - { - Pj_Socket::operator =(rhs); - return *this; - } - - // - // recvfrom() - // - pj_ssize_t recvfrom( void *buf, pj_size_t len, int flag = 0, - Pj_Inet_Addr *fromaddr = NULL) - { - pj_ssize_t bytes = len; - int *addrlen = fromaddr ? &fromaddr->addrlen_ : NULL; - if (pj_sock_recvfrom( sock_, buf, &bytes, flag, - fromaddr, addrlen) != PJ_SUCCESS) - { - return -1; - } - return bytes; - } - - // - // sendto() - // - pj_ssize_t sendto( const void *buf, pj_size_t len, int flag, - const Pj_Inet_Addr &addr) - { - pj_ssize_t bytes = len; - if (pj_sock_sendto( sock_, buf, &bytes, flag, - &addr, sizeof(pj_sockaddr_in)) != PJ_SUCCESS) - { - return -1; - } - return bytes; - } -}; - - -#endif /* __PJPP_SOCK_HPP__ */ - diff --git a/res/pjproject/pjlib/include/pj++/string.hpp b/res/pjproject/pjlib/include/pj++/string.hpp deleted file mode 100644 index 56d242e090..0000000000 --- a/res/pjproject/pjlib/include/pj++/string.hpp +++ /dev/null @@ -1,468 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJPP_STRING_HPP__ -#define __PJPP_STRING_HPP__ - -#include -#include -#include - -// -// String wrapper class for pj_str_t. -// -class Pj_String : public pj_str_t -{ -public: - // - // Default constructor. - // - Pj_String() - { - pj_assert(sizeof(Pj_String) == sizeof(pj_str_t)); - ptr=NULL; - slen=0; - } - - // - // Construct the buffer from a char* (use with care) - // - Pj_String(char *str) - { - set(str); - } - - // - // Construct from a const char*. - // - Pj_String(Pj_Pool &pool, const char *src) - { - set(pool, src); - } - - // - // Construct from pj_str_t&. - // - explicit Pj_String(pj_str_t &s) - { - ptr = s.ptr; - slen = s.slen; - } - - // - // Construct from const pj_str_t& (use with care!). - // - explicit Pj_String(const pj_str_t &s) - { - ptr = (char*)s.ptr; - slen = s.slen; - } - - // - // Construct by copying from const pj_str_t*. - // - Pj_String(Pj_Pool &pool, const pj_str_t *s) - { - set(pool, s); - } - - // - // Construct by copying from Pj_String - // - Pj_String(Pj_Pool &pool, const Pj_String &rhs) - { - set(pool, rhs); - } - - // - // Construct from another Pj_String, use with care! - // - explicit Pj_String(const Pj_String &rhs) - { - ptr = rhs.ptr; - slen = rhs.slen; - } - - // - // Construct from a char* and a length. - // - Pj_String(char *str, pj_size_t len) - { - set(str, len); - } - - // - // Construct from pair of pointer. - // - Pj_String(char *begin, char *end) - { - pj_strset3(this, begin, end); - } - - // - // You can cast Pj_String to pj_str_t* - // - operator pj_str_t*() - { - return this; - } - - // - // You can cast const Pj_String to const pj_str_t* - // - operator const pj_str_t*() const - { - return this; - } - - // - // Get the length of the string. - // - pj_size_t length() const - { - return pj_strlen(this); - } - - // - // Get the length of the string. - // - pj_size_t size() const - { - return length(); - } - - // - // Get the string buffer. - // - const char *buf() const - { - return ptr; - } - - // - // Initialize buffer from char*. - // - void set(char *str) - { - pj_strset2(this, str); - } - - // - // Initialize by copying from a const char*. - // - void set(Pj_Pool &pool, const char *s) - { - pj_strdup2(pool, this, s); - } - - // - // Initialize from pj_str_t*. - // - void set(pj_str_t *s) - { - pj_strassign(this, s); - } - - // - // Initialize by copying from const pj_str_t*. - // - void set(Pj_Pool &pool, const pj_str_t *s) - { - pj_strdup(pool, this, s); - } - - // - // Initialize from char* and length. - // - void set(char *str, pj_size_t len) - { - pj_strset(this, str, len); - } - - // - // Initialize from pair of pointers. - // - void set(char *begin, char *end) - { - pj_strset3(this, begin, end); - } - - // - // Initialize from other Pj_String. - // - void set(Pj_String &rhs) - { - pj_strassign(this, &rhs); - } - - // - // Initialize by copying from a Pj_String*. - // - void set(Pj_Pool &pool, const Pj_String *s) - { - pj_strdup(pool, this, s); - } - - // - // Initialize by copying from other Pj_String. - // - void set(Pj_Pool &pool, const Pj_String &s) - { - pj_strdup(pool, this, &s); - } - - // - // Copy the contents of other string. - // - void strcpy(const pj_str_t *s) - { - pj_strcpy(this, s); - } - - // - // Copy the contents of other string. - // - void strcpy(const Pj_String &rhs) - { - pj_strcpy(this, &rhs); - } - - // - // Copy the contents of other string. - // - void strcpy(const char *s) - { - pj_strcpy2(this, s); - } - - // - // Compare string. - // - int strcmp(const char *s) const - { - return pj_strcmp2(this, s); - } - - // - // Compare string. - // - int strcmp(const pj_str_t *s) const - { - return pj_strcmp(this, s); - } - - // - // Compare string. - // - int strcmp(const Pj_String &rhs) const - { - return pj_strcmp(this, &rhs); - } - - // - // Compare string. - // - int strncmp(const char *s, pj_size_t len) const - { - return pj_strncmp2(this, s, len); - } - - // - // Compare string. - // - int strncmp(const pj_str_t *s, pj_size_t len) const - { - return pj_strncmp(this, s, len); - } - - // - // Compare string. - // - int strncmp(const Pj_String &rhs, pj_size_t len) const - { - return pj_strncmp(this, &rhs, len); - } - - // - // Compare string. - // - int stricmp(const char *s) const - { - return pj_stricmp2(this, s); - } - - // - // Compare string. - // - int stricmp(const pj_str_t *s) const - { - return pj_stricmp(this, s); - } - - // - // Compare string. - // - int stricmp(const Pj_String &rhs) const - { - return stricmp(&rhs); - } - - // - // Compare string. - // - int strnicmp(const char *s, pj_size_t len) const - { - return pj_strnicmp2(this, s, len); - } - - // - // Compare string. - // - int strnicmp(const pj_str_t *s, pj_size_t len) const - { - return pj_strnicmp(this, s, len); - } - - // - // Compare string. - // - int strnicmp(const Pj_String &rhs, pj_size_t len) const - { - return strnicmp(&rhs, len); - } - - // - // Compare contents for equality. - // - bool operator==(const char *s) const - { - return strcmp(s) == 0; - } - - // - // Compare contents for equality. - // - bool operator==(const pj_str_t *s) const - { - return strcmp(s) == 0; - } - - // - // Compare contents for equality. - // - bool operator==(const Pj_String &rhs) const - { - return pj_strcmp(this, &rhs) == 0; - } - - // - // Assign from char* - // - Pj_String& operator=(char *s) - { - set(s); - return *this; - } - - /// - // Assign from another Pj_String, use with care! - // - Pj_String& operator=(const Pj_String &rhs) - { - ptr = rhs.ptr; - slen = rhs.slen; - return *this; - } - - // - // Find a character in the string. - // - char *strchr(int chr) - { - return pj_strchr(this, chr); - } - - // - // Find a character in the string. - // - char *find(int chr) - { - return strchr(chr); - } - - // - // Concatenate string. - // - void strcat(const Pj_String &rhs) - { - pj_strcat(this, &rhs); - } - - // - // Left trim. - // - void ltrim() - { - pj_strltrim(this); - } - - // - // Right trim. - // - void rtrim() - { - pj_strrtrim(this); - } - - // - // Left and right trim. - // - void trim() - { - pj_strtrim(this); - } - - // - // Convert to unsigned long. - // - unsigned long to_ulong() const - { - return pj_strtoul(this); - } - - // - // Convert from unsigned long. - // - void from_ulong(unsigned long value) - { - slen = pj_utoa(value, ptr); - } - - // - // Convert from unsigned long with padding. - // - void from_ulong_with_pad(unsigned long value, int min_dig=0, int pad=' ') - { - slen = pj_utoa_pad(value, ptr, min_dig, pad); - } - -}; - -#endif /* __PJPP_STRING_HPP__ */ - diff --git a/res/pjproject/pjlib/include/pj++/timer.hpp b/res/pjproject/pjlib/include/pj++/timer.hpp deleted file mode 100644 index 6bab73e211..0000000000 --- a/res/pjproject/pjlib/include/pj++/timer.hpp +++ /dev/null @@ -1,198 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJPP_TIMER_HPP__ -#define __PJPP_TIMER_HPP__ - -#include -#include -#include -#include - -class Pj_Timer_Heap; - -////////////////////////////////////////////////////////////////////////////// -// Timer entry. -// -// How to use: -// Derive class from Pj_Timer_Entry and override on_timeout(). -// Scheduler timer in Pj_Timer_Heap. -// -class Pj_Timer_Entry : public Pj_Object -{ - friend class Pj_Timer_Heap; - -public: - // - // Default constructor. - // - Pj_Timer_Entry() - { - entry_.user_data = this; - entry_.cb = &timer_heap_callback; - } - - // - // Destructor, do nothing. - // - ~Pj_Timer_Entry() - { - } - - // - // Override this to get the timeout notification. - // - virtual void on_timeout(int id) = 0; - -private: - pj_timer_entry entry_; - - static void timer_heap_callback(pj_timer_heap_t*, pj_timer_entry *e) - { - Pj_Timer_Entry *entry = (Pj_Timer_Entry*) e->user_data; - entry->on_timeout(e->id); - } - -}; - -////////////////////////////////////////////////////////////////////////////// -// Timer heap. -// -class Pj_Timer_Heap : public Pj_Object -{ -public: - // - // Default constructor. - // - Pj_Timer_Heap() - : ht_(NULL) - { - } - - // - // Construct timer heap. - // - Pj_Timer_Heap(Pj_Pool *pool, pj_size_t initial_count) - : ht_(NULL) - { - create(pool, initial_count); - } - - // - // Destructor. - // - ~Pj_Timer_Heap() - { - destroy(); - } - - // - // Create - // - pj_status_t create(Pj_Pool *pool, pj_size_t initial_count) - { - destroy(); - return pj_timer_heap_create(pool->pool_(), initial_count, &ht_); - } - - // - // Destroy - // - void destroy() - { - if (ht_) { - pj_timer_heap_destroy(ht_); - ht_ = NULL; - } - } - - // - // Get pjlib compatible timer heap object. - // - pj_timer_heap_t *get_timer_heap() - { - return ht_; - } - - // - // Set the lock object. - // - void set_lock( Pj_Lock *lock, bool auto_delete ) - { - pj_timer_heap_set_lock( ht_, lock->pj_lock_t_(), auto_delete); - } - - // - // Set maximum number of timed out entries to be processed per poll. - // - unsigned set_max_timed_out_per_poll(unsigned count) - { - return pj_timer_heap_set_max_timed_out_per_poll(ht_, count); - } - - // - // Schedule a timer. - // - bool schedule( Pj_Timer_Entry *ent, const Pj_Time_Val &delay, - int id) - { - ent->entry_.id = id; - return pj_timer_heap_schedule(ht_, &ent->entry_, &delay) == 0; - } - - // - // Cancel a timer. - // - bool cancel(Pj_Timer_Entry *ent) - { - return pj_timer_heap_cancel(ht_, &ent->entry_) == 1; - } - - // - // Get current number of timers - // - pj_size_t count() - { - return pj_timer_heap_count(ht_); - } - - // - // Get the earliest time. - // Return false if no timer is found. - // - bool earliest_time(Pj_Time_Val *t) - { - return pj_timer_heap_earliest_time(ht_, t) == PJ_SUCCESS; - } - - // - // Poll the timer. - // Return number of timed out entries has been called. - // - unsigned poll(Pj_Time_Val *next_delay = NULL) - { - return pj_timer_heap_poll(ht_, next_delay); - } - -private: - pj_timer_heap_t *ht_; -}; - -#endif /* __PJPP_TIMER_HPP__ */ - diff --git a/res/pjproject/pjlib/include/pj++/tree.hpp b/res/pjproject/pjlib/include/pj++/tree.hpp deleted file mode 100644 index b28e2990df..0000000000 --- a/res/pjproject/pjlib/include/pj++/tree.hpp +++ /dev/null @@ -1,129 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJPP_TREE_HPP__ -#define __PJPP_TREE_HPP__ - -#include - -// -// Tree. -// -class PJ_Tree -{ -public: - typedef pj_rbtree_comp Comp; - class iterator; - class reverse_iterator; - - class Node : private pj_rbtree_node - { - friend class PJ_Tree; - friend class iterator; - friend class reverse_iterator; - - public: - Node() {} - explicit Node(void *data) { user_data = data; } - void set_user_data(void *data) { user_data = data; } - void *get_user_data() const { return user_data; } - }; - - class iterator - { - public: - iterator() {} - iterator(const iterator &rhs) : tr_(rhs.tr_), nd_(rhs.nd_) {} - iterator(pj_rbtree *tr, pj_rbtree_node *nd) : tr_(tr), nd_(nd) {} - Node *operator*() { return (Node*)nd_; } - bool operator==(const iterator &rhs) const { return tr_==rhs.tr_ && nd_==rhs.nd_; } - iterator &operator=(const iterator &rhs) { tr_=rhs.tr_; nd_=rhs.nd_; return *this; } - void operator++() { nd_=pj_rbtree_next(tr_, nd_); } - void operator--() { nd_=pj_rbtree_prev(tr_, nd_); } - protected: - pj_rbtree *tr_; - pj_rbtree_node *nd_; - }; - - class reverse_iterator : public iterator - { - public: - reverse_iterator() {} - reverse_iterator(const reverse_iterator &it) : iterator(it) {} - reverse_iterator(pj_rbtree *t, pj_rbtree_node *n) : iterator(t, n) {} - reverse_iterator &operator=(const reverse_iterator &rhs) { iterator::operator=(rhs); return *this; } - Node *operator*() { return (Node*)nd_; } - bool operator==(const reverse_iterator &rhs) const { return iterator::operator==(rhs); } - void operator++() { nd_=pj_rbtree_prev(tr_, nd_); } - void operator--() { nd_=pj_rbtree_next(tr_, nd_); } - }; - - explicit PJ_Tree(Comp *comp) { pj_rbtree_init(&t_, comp); } - - iterator begin() - { - return iterator(&t_, pj_rbtree_first(&t_)); - } - - iterator end() - { - return iterator(&t_, NULL); - } - - reverse_iterator rbegin() - { - return reverse_iterator(&t_, pj_rbtree_last(&t_)); - } - - reverse_iterator rend() - { - return reverse_iterator(&t_, NULL); - } - - bool insert(Node *node) - { - return pj_rbtree_insert(&t_, node)==0 ? true : false; - } - - Node *find(const void *key) - { - return (Node*)pj_rbtree_find(&t_, key); - } - - Node *erase(Node *node) - { - return (Node*)pj_rbtree_erase(&t_, node); - } - - unsigned max_height(Node *node=NULL) - { - return pj_rbtree_max_height(&t_, node); - } - - unsigned min_height(Node *node=NULL) - { - return pj_rbtree_min_height(&t_, node); - } - -private: - pj_rbtree t_; -}; - -#endif /* __PJPP_TREE_HPP__ */ - diff --git a/res/pjproject/pjlib/include/pj++/types.hpp b/res/pjproject/pjlib/include/pj++/types.hpp deleted file mode 100644 index 48dc40b6ec..0000000000 --- a/res/pjproject/pjlib/include/pj++/types.hpp +++ /dev/null @@ -1,175 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJPP_TYPES_HPP__ -#define __PJPP_TYPES_HPP__ - -#include - -class Pj_Pool; -class Pj_Socket ; -class Pj_Lock; - - -// -// PJLIB initializer. -// -class Pjlib -{ -public: - Pjlib() - { - pj_init(); - } -}; - -// -// Class Pj_Object is declared in pool.hpp -// - -// -// Time value wrapper. -// -class Pj_Time_Val : public pj_time_val -{ -public: - Pj_Time_Val() - { - } - - Pj_Time_Val(long init_sec, long init_msec) - { - sec = init_sec; - msec = init_msec; - } - - Pj_Time_Val(const Pj_Time_Val &rhs) - { - sec=rhs.sec; - msec=rhs.msec; - } - - explicit Pj_Time_Val(const pj_time_val &tv) - { - sec = tv.sec; - msec = tv.msec; - } - - long get_sec() const - { - return sec; - } - - long get_msec() const - { - return msec; - } - - void set_sec (long s) - { - sec = s; - } - - void set_msec(long ms) - { - msec = ms; - normalize(); - } - - long to_msec() const - { - return PJ_TIME_VAL_MSEC((*this)); - } - - bool operator == (const Pj_Time_Val &rhs) const - { - return PJ_TIME_VAL_EQ((*this), rhs); - } - - bool operator > (const Pj_Time_Val &rhs) const - { - return PJ_TIME_VAL_GT((*this), rhs); - } - - bool operator >= (const Pj_Time_Val &rhs) const - { - return PJ_TIME_VAL_GTE((*this), rhs); - } - - bool operator < (const Pj_Time_Val &rhs) const - { - return PJ_TIME_VAL_LT((*this), rhs); - } - - bool operator <= (const Pj_Time_Val &rhs) const - { - return PJ_TIME_VAL_LTE((*this), rhs); - } - - Pj_Time_Val & operator = (const Pj_Time_Val &rhs) - { - sec = rhs.sec; - msec = rhs.msec; - return *this; - } - - Pj_Time_Val & operator += (const Pj_Time_Val &rhs) - { - PJ_TIME_VAL_ADD((*this), rhs); - return *this; - } - - Pj_Time_Val & operator -= (const Pj_Time_Val &rhs) - { - PJ_TIME_VAL_SUB((*this), rhs); - return *this; - } - - /* Must include os.hpp to use these, otherwise unresolved in linking */ - inline pj_status_t gettimeofday(); - inline pj_parsed_time decode(); - inline pj_status_t encode(const pj_parsed_time *pt); - inline pj_status_t to_gmt(); - inline pj_status_t to_local(); - - -private: - void normalize() - { - pj_time_val_normalize(this); - } - -}; - -// -// Macro to declare common object comparison operators. -// -#define PJ_DECLARE_OPERATORS(rhs_type) \ - bool operator!=(rhs_type rhs) const { \ - return !operator==(rhs); } \ - bool operator<=(rhs_type rhs) const { \ - return operator<(rhs) || operator==(rhs); } \ - bool operator>(rhs_type rhs) const { \ - return !operator<=(rhs); } \ - bool operator>=(rhs_type rhs) const { \ - return !operator<(rhs); } - - -#endif /* __PJPP_TYPES_HPP__ */ - diff --git a/res/pjproject/pjlib/include/pj/activesock.h b/res/pjproject/pjlib/include/pj/activesock.h deleted file mode 100644 index 5a201864d0..0000000000 --- a/res/pjproject/pjlib/include/pj/activesock.h +++ /dev/null @@ -1,560 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_ASYNCSOCK_H__ -#define __PJ_ASYNCSOCK_H__ - -/** - * @file activesock.h - * @brief Active socket - */ - -#include -#include - - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_ACTIVESOCK Active socket I/O - * @brief Active socket performs active operations on socket. - * @ingroup PJ_IO - * @{ - * - * Active socket is a higher level abstraction to the ioqueue. It provides - * automation to socket operations which otherwise would have to be done - * manually by the applications. For example with socket recv(), recvfrom(), - * and accept() operations, application only needs to invoke these - * operation once, and it will be notified whenever data or incoming TCP - * connection (in the case of accept()) arrives. - */ - -/** - * This opaque structure describes the active socket. - */ -typedef struct pj_activesock_t pj_activesock_t; - -/** - * This structure contains the callbacks to be called by the active socket. - */ -typedef struct pj_activesock_cb -{ - /** - * This callback is called when a data arrives as the result of - * pj_activesock_start_read(). - * - * @param asock The active socket. - * @param data The buffer containing the new data, if any. If - * the status argument is non-PJ_SUCCESS, this - * argument may be NULL. - * @param size The length of data in the buffer. - * @param status The status of the read operation. This may contain - * non-PJ_SUCCESS for example when the TCP connection - * has been closed. In this case, the buffer may - * contain left over data from previous callback which - * the application may want to process. - * @param remainder If application wishes to leave some data in the - * buffer (common for TCP applications), it should - * move the remainder data to the front part of the - * buffer and set the remainder length here. The value - * of this parameter will be ignored for datagram - * sockets. - * - * @return PJ_TRUE if further read is desired, and PJ_FALSE - * when application no longer wants to receive data. - * Application may destroy the active socket in the - * callback and return PJ_FALSE here. - */ - pj_bool_t (*on_data_read)(pj_activesock_t *asock, - void *data, - pj_size_t size, - pj_status_t status, - pj_size_t *remainder); - /** - * This callback is called when a packet arrives as the result of - * pj_activesock_start_recvfrom(). - * - * @param asock The active socket. - * @param data The buffer containing the packet, if any. If - * the status argument is non-PJ_SUCCESS, this - * argument will be set to NULL. - * @param size The length of packet in the buffer. If - * the status argument is non-PJ_SUCCESS, this - * argument will be set to zero. - * @param src_addr Source address of the packet. - * @param addr_len Length of the source address. - * @param status This contains - * - * @return PJ_TRUE if further read is desired, and PJ_FALSE - * when application no longer wants to receive data. - * Application may destroy the active socket in the - * callback and return PJ_FALSE here. - */ - pj_bool_t (*on_data_recvfrom)(pj_activesock_t *asock, - void *data, - pj_size_t size, - const pj_sockaddr_t *src_addr, - int addr_len, - pj_status_t status); - - /** - * This callback is called when data has been sent. - * - * @param asock The active socket. - * @param send_key Key associated with the send operation. - * @param sent If value is positive non-zero it indicates the - * number of data sent. When the value is negative, - * it contains the error code which can be retrieved - * by negating the value (i.e. status=-sent). - * - * @return Application may destroy the active socket in the - * callback and return PJ_FALSE here. - */ - pj_bool_t (*on_data_sent)(pj_activesock_t *asock, - pj_ioqueue_op_key_t *send_key, - pj_ssize_t sent); - - /** - * This callback is called when new connection arrives as the result - * of pj_activesock_start_accept(). - * - * @param asock The active socket. - * @param newsock The new incoming socket. - * @param src_addr The source address of the connection. - * @param addr_len Length of the source address. - * - * @return PJ_TRUE if further accept() is desired, and PJ_FALSE - * when application no longer wants to accept incoming - * connection. Application may destroy the active socket - * in the callback and return PJ_FALSE here. - */ - pj_bool_t (*on_accept_complete)(pj_activesock_t *asock, - pj_sock_t newsock, - const pj_sockaddr_t *src_addr, - int src_addr_len); - - /** - * This callback is called when pending connect operation has been - * completed. - * - * @param asock The active socket. - * @param status The connection result. If connection has been - * successfully established, the status will contain - * PJ_SUCCESS. - * - * @return Application may destroy the active socket in the - * callback and return PJ_FALSE here. - */ - pj_bool_t (*on_connect_complete)(pj_activesock_t *asock, - pj_status_t status); - -} pj_activesock_cb; - - -/** - * Settings that can be given during active socket creation. Application - * must initialize this structure with #pj_activesock_cfg_default(). - */ -typedef struct pj_activesock_cfg -{ - /** - * Number of concurrent asynchronous operations that is to be supported - * by the active socket. This value only affects socket receive and - * accept operations -- the active socket will issue one or more - * asynchronous read and accept operations based on the value of this - * field. Setting this field to more than one will allow more than one - * incoming data or incoming connections to be processed simultaneously - * on multiprocessor systems, when the ioqueue is polled by more than - * one threads. - * - * The default value is 1. - */ - unsigned async_cnt; - - /** - * The ioqueue concurrency to be forced on the socket when it is - * registered to the ioqueue. See #pj_ioqueue_set_concurrency() for more - * info about ioqueue concurrency. - * - * When this value is -1, the concurrency setting will not be forced for - * this socket, and the socket will inherit the concurrency setting of - * the ioqueue. When this value is zero, the active socket will disable - * concurrency for the socket. When this value is +1, the active socket - * will enable concurrency for the socket. - * - * The default value is -1. - */ - int concurrency; - - /** - * If this option is specified, the active socket will make sure that - * asynchronous send operation with stream oriented socket will only - * call the callback after all data has been sent. This means that the - * active socket will automatically resend the remaining data until - * all data has been sent. - * - * Please note that when this option is specified, it is possible that - * error is reported after partial data has been sent. Also setting - * this will disable the ioqueue concurrency for the socket. - * - * Default value is 1. - */ - pj_bool_t whole_data; - -} pj_activesock_cfg; - - -/** - * Initialize the active socket configuration with the default values. - * - * @param cfg The configuration to be initialized. - */ -PJ_DECL(void) pj_activesock_cfg_default(pj_activesock_cfg *cfg); - - -/** - * Create the active socket for the specified socket. This will register - * the socket to the specified ioqueue. - * - * @param pool Pool to allocate memory from. - * @param sock The socket handle. - * @param sock_type Specify socket type, either pj_SOCK_DGRAM() or - * pj_SOCK_STREAM(). The active socket needs this - * information to handle connection closure for - * connection oriented sockets. - * @param ioqueue The ioqueue to use. - * @param opt Optional settings. When this setting is not specifed, - * the default values will be used. - * @param cb Pointer to structure containing application - * callbacks. - * @param user_data Arbitrary user data to be associated with this - * active socket. - * @param p_asock Pointer to receive the active socket instance. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_activesock_create(pj_pool_t *pool, - pj_sock_t sock, - int sock_type, - const pj_activesock_cfg *opt, - pj_ioqueue_t *ioqueue, - const pj_activesock_cb *cb, - void *user_data, - pj_activesock_t **p_asock); - -/** - * Create UDP socket descriptor, bind it to the specified address, and - * create the active socket for the socket descriptor. - * - * @param pool Pool to allocate memory from. - * @param addr Specifies the address family of the socket and the - * address where the socket should be bound to. If - * this argument is NULL, then AF_INET is assumed and - * the socket will be bound to any addresses and port. - * @param opt Optional settings. When this setting is not specifed, - * the default values will be used. - * @param cb Pointer to structure containing application - * callbacks. - * @param user_data Arbitrary user data to be associated with this - * active socket. - * @param p_asock Pointer to receive the active socket instance. - * @param bound_addr If this argument is specified, it will be filled with - * the bound address on return. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_activesock_create_udp(pj_pool_t *pool, - const pj_sockaddr *addr, - const pj_activesock_cfg *opt, - pj_ioqueue_t *ioqueue, - const pj_activesock_cb *cb, - void *user_data, - pj_activesock_t **p_asock, - pj_sockaddr *bound_addr); - - -/** - * Close the active socket. This will unregister the socket from the - * ioqueue and ultimately close the socket. - * - * @param asock The active socket. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_activesock_close(pj_activesock_t *asock); - -#if (defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ - PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0) || \ - defined(DOXYGEN) -/** - * Set iPhone OS background mode setting. Setting to 1 will enable TCP - * active socket to receive incoming data when application is in the - * background. Setting to 0 will disable it. Default value of this - * setting is PJ_ACTIVESOCK_TCP_IPHONE_OS_BG. - * - * This API is only available if PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT - * is set to non-zero. - * - * @param asock The active socket. - * @param val The value of background mode setting. - * - */ -PJ_DECL(void) pj_activesock_set_iphone_os_bg(pj_activesock_t *asock, - int val); - -/** - * Enable/disable support for iPhone OS background mode. This setting - * will apply globally and will affect any active sockets created - * afterwards, if you want to change the setting for a particular - * active socket, use #pj_activesock_set_iphone_os_bg() instead. - * By default, this setting is enabled. - * - * This API is only available if PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT - * is set to non-zero. - * - * @param val The value of global background mode setting. - * - */ -PJ_DECL(void) pj_activesock_enable_iphone_os_bg(pj_bool_t val); -#endif - -/** - * Associate arbitrary data with the active socket. Application may - * inspect this data in the callbacks and associate it with higher - * level processing. - * - * @param asock The active socket. - * @param user_data The user data to be associated with the active - * socket. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_activesock_set_user_data(pj_activesock_t *asock, - void *user_data); - -/** - * Retrieve the user data previously associated with this active - * socket. - * - * @param asock The active socket. - * - * @return The user data. - */ -PJ_DECL(void*) pj_activesock_get_user_data(pj_activesock_t *asock); - - -/** - * Starts read operation on this active socket. This function will create - * \a async_cnt number of buffers (the \a async_cnt parameter was given - * in \a pj_activesock_create() function) where each buffer is \a buff_size - * long. The buffers are allocated from the specified \a pool. Once the - * buffers are created, it then issues \a async_cnt number of asynchronous - * \a recv() operations to the socket and returns back to caller. Incoming - * data on the socket will be reported back to application via the - * \a on_data_read() callback. - * - * Application only needs to call this function once to initiate read - * operations. Further read operations will be done automatically by the - * active socket when \a on_data_read() callback returns non-zero. - * - * @param asock The active socket. - * @param pool Pool used to allocate buffers for incoming data. - * @param buff_size The size of each buffer, in bytes. - * @param flags Flags to be given to pj_ioqueue_recv(). - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_activesock_start_read(pj_activesock_t *asock, - pj_pool_t *pool, - unsigned buff_size, - pj_uint32_t flags); - -/** - * Same as #pj_activesock_start_read(), except that the application - * supplies the buffers for the read operation so that the acive socket - * does not have to allocate the buffers. - * - * @param asock The active socket. - * @param pool Pool used to allocate buffers for incoming data. - * @param buff_size The size of each buffer, in bytes. - * @param readbuf Array of packet buffers, each has buff_size size. - * @param flags Flags to be given to pj_ioqueue_recv(). - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_activesock_start_read2(pj_activesock_t *asock, - pj_pool_t *pool, - unsigned buff_size, - void *readbuf[], - pj_uint32_t flags); - -/** - * Same as pj_activesock_start_read(), except that this function is used - * only for datagram sockets, and it will trigger \a on_data_recvfrom() - * callback instead. - * - * @param asock The active socket. - * @param pool Pool used to allocate buffers for incoming data. - * @param buff_size The size of each buffer, in bytes. - * @param flags Flags to be given to pj_ioqueue_recvfrom(). - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_activesock_start_recvfrom(pj_activesock_t *asock, - pj_pool_t *pool, - unsigned buff_size, - pj_uint32_t flags); - -/** - * Same as #pj_activesock_start_recvfrom() except that the recvfrom() - * operation takes the buffer from the argument rather than creating - * new ones. - * - * @param asock The active socket. - * @param pool Pool used to allocate buffers for incoming data. - * @param buff_size The size of each buffer, in bytes. - * @param readbuf Array of packet buffers, each has buff_size size. - * @param flags Flags to be given to pj_ioqueue_recvfrom(). - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_activesock_start_recvfrom2(pj_activesock_t *asock, - pj_pool_t *pool, - unsigned buff_size, - void *readbuf[], - pj_uint32_t flags); - -/** - * Send data using the socket. - * - * @param asock The active socket. - * @param send_key The operation key to send the data, which is useful - * if application wants to submit multiple pending - * send operations and want to track which exact data - * has been sent in the \a on_data_sent() callback. - * @param data The data to be sent. This data must remain valid - * until the data has been sent. - * @param size The size of the data. - * @param flags Flags to be given to pj_ioqueue_send(). - * - * - * @return PJ_SUCCESS if data has been sent immediately, or - * PJ_EPENDING if data cannot be sent immediately. In - * this case the \a on_data_sent() callback will be - * called when data is actually sent. Any other return - * value indicates error condition. - */ -PJ_DECL(pj_status_t) pj_activesock_send(pj_activesock_t *asock, - pj_ioqueue_op_key_t *send_key, - const void *data, - pj_ssize_t *size, - unsigned flags); - -/** - * Send datagram using the socket. - * - * @param asock The active socket. - * @param send_key The operation key to send the data, which is useful - * if application wants to submit multiple pending - * send operations and want to track which exact data - * has been sent in the \a on_data_sent() callback. - * @param data The data to be sent. This data must remain valid - * until the data has been sent. - * @param size The size of the data. - * @param flags Flags to be given to pj_ioqueue_send(). - * @param addr The destination address. - * @param addr_len The length of the address. - * - * @return PJ_SUCCESS if data has been sent immediately, or - * PJ_EPENDING if data cannot be sent immediately. In - * this case the \a on_data_sent() callback will be - * called when data is actually sent. Any other return - * value indicates error condition. - */ -PJ_DECL(pj_status_t) pj_activesock_sendto(pj_activesock_t *asock, - pj_ioqueue_op_key_t *send_key, - const void *data, - pj_ssize_t *size, - unsigned flags, - const pj_sockaddr_t *addr, - int addr_len); - -#if PJ_HAS_TCP -/** - * Starts asynchronous socket accept() operations on this active socket. - * Application must bind the socket before calling this function. This - * function will issue \a async_cnt number of asynchronous \a accept() - * operations to the socket and returns back to caller. Incoming - * connection on the socket will be reported back to application via the - * \a on_accept_complete() callback. - * - * Application only needs to call this function once to initiate accept() - * operations. Further accept() operations will be done automatically by - * the active socket when \a on_accept_complete() callback returns non-zero. - * - * @param asock The active socket. - * @param pool Pool used to allocate some internal data for the - * operation. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_activesock_start_accept(pj_activesock_t *asock, - pj_pool_t *pool); - -/** - * Starts asynchronous socket connect() operation for this socket. Once - * the connection is done (either successfully or not), the - * \a on_connect_complete() callback will be called. - * - * @param asock The active socket. - * @param pool The pool to allocate some internal data for the - * operation. - * @param remaddr Remote address. - * @param addr_len Length of the remote address. - * - * @return PJ_SUCCESS if connection can be established immediately, - * or PJ_EPENDING if connection cannot be established - * immediately. In this case the \a on_connect_complete() - * callback will be called when connection is complete. - * Any other return value indicates error condition. - */ -PJ_DECL(pj_status_t) pj_activesock_start_connect(pj_activesock_t *asock, - pj_pool_t *pool, - const pj_sockaddr_t *remaddr, - int addr_len); - -#endif /* PJ_HAS_TCP */ - -/** - * @} - */ - -PJ_END_DECL - -#endif /* __PJ_ASYNCSOCK_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/addr_resolv.h b/res/pjproject/pjlib/include/pj/addr_resolv.h deleted file mode 100644 index 096dde1464..0000000000 --- a/res/pjproject/pjlib/include/pj/addr_resolv.h +++ /dev/null @@ -1,165 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_ADDR_RESOLV_H__ -#define __PJ_ADDR_RESOLV_H__ - -/** - * @file addr_resolv.h - * @brief IP address resolution. - */ - -#include - -PJ_BEGIN_DECL - -/** - * @defgroup pj_addr_resolve Network Address Resolution - * @ingroup PJ_IO - * @{ - * - * This module provides function to resolve Internet address of the - * specified host name. To resolve a particular host name, application - * can just call #pj_gethostbyname(). - * - * Example: - *
- *   ...
- *   pj_hostent he;
- *   pj_status_t rc;
- *   pj_str_t host = pj_str("host.example.com");
- *   
- *   rc = pj_gethostbyname( &host, &he);
- *   if (rc != PJ_SUCCESS) {
- *      char errbuf[80];
- *      pj_strerror( rc, errbuf, sizeof(errbuf));
- *      PJ_LOG(2,("sample", "Unable to resolve host, error=%s", errbuf));
- *      return rc;
- *   }
- *
- *   // process address...
- *   addr.sin_addr.s_addr = *(pj_uint32_t*)he.h_addr;
- *   ...
- * 
- * - * It's pretty simple really... - */ - -/** This structure describes an Internet host address. */ -typedef struct pj_hostent -{ - char *h_name; /**< The official name of the host. */ - char **h_aliases; /**< Aliases list. */ - int h_addrtype; /**< Host address type. */ - int h_length; /**< Length of address. */ - char **h_addr_list; /**< List of addresses. */ -} pj_hostent; - -/** Shortcut to h_addr_list[0] */ -#define h_addr h_addr_list[0] - -/** - * This structure describes address information pj_getaddrinfo(). - */ -typedef struct pj_addrinfo -{ - char ai_canonname[PJ_MAX_HOSTNAME]; /**< Canonical name for host*/ - pj_sockaddr ai_addr; /**< Binary address. */ -} pj_addrinfo; - - -/** - * This function fills the structure of type pj_hostent for a given host name. - * For host resolution function that also works with IPv6, please see - * #pj_getaddrinfo(). - * - * @param name Host name to resolve. Specifying IPv4 address here - * may fail on some platforms (e.g. Windows) - * @param he The pj_hostent structure to be filled. Note that - * the pointers in this structure points to temporary - * variables which value will be reset upon subsequent - * invocation. - * - * @return PJ_SUCCESS, or the appropriate error codes. - */ -PJ_DECL(pj_status_t) pj_gethostbyname(const pj_str_t *name, pj_hostent *he); - - -/** - * Resolve the primary IP address of local host. - * - * @param af The desired address family to query. Valid values - * are pj_AF_INET() or pj_AF_INET6(). - * @param addr On successful resolution, the address family and address - * part of this socket address will be filled up with the host - * IP address, in network byte order. Other parts of the socket - * address are untouched. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_gethostip(int af, pj_sockaddr *addr); - - -/** - * Get the IP address of the default interface. Default interface is the - * interface of the default route. - * - * @param af The desired address family to query. Valid values - * are pj_AF_INET() or pj_AF_INET6(). - * @param addr On successful resolution, the address family and address - * part of this socket address will be filled up with the host - * IP address, in network byte order. Other parts of the socket - * address are untouched. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_getdefaultipinterface(int af, - pj_sockaddr *addr); - - -/** - * This function translates the name of a service location (for example, - * a host name) and returns a set of addresses and associated information - * to be used in creating a socket with which to address the specified - * service. - * - * @param af The desired address family to query. Valid values - * are pj_AF_INET(), pj_AF_INET6(), or pj_AF_UNSPEC(). - * @param name Descriptive name or an address string, such as host - * name. - * @param count On input, it specifies the number of elements in - * \a ai array. On output, this will be set with the - * number of address informations found for the - * specified name. - * @param ai Array of address info to be filled with the information - * about the host. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_getaddrinfo(int af, const pj_str_t *name, - unsigned *count, pj_addrinfo ai[]); - - - -/** @} */ - -PJ_END_DECL - -#endif /* __PJ_ADDR_RESOLV_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/array.h b/res/pjproject/pjlib/include/pj/array.h deleted file mode 100644 index ca737823e1..0000000000 --- a/res/pjproject/pjlib/include/pj/array.h +++ /dev/null @@ -1,96 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_ARRAY_H__ -#define __PJ_ARRAY_H__ - -/** - * @file array.h - * @brief PJLIB Array helper. - */ -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_ARRAY Array helper. - * @ingroup PJ_DS - * @{ - * - * This module provides helper to manipulate array of elements of any size. - * It provides most used array operations such as insert, erase, and search. - */ - -/** - * Insert value to the array at the given position, and rearrange the - * remaining nodes after the position. - * - * @param array the array. - * @param elem_size the size of the individual element. - * @param count the CURRENT number of elements in the array. - * @param pos the position where the new element is put. - * @param value the value to copy to the new element. - */ -PJ_DECL(void) pj_array_insert( void *array, - unsigned elem_size, - unsigned count, - unsigned pos, - const void *value); - -/** - * Erase a value from the array at given position, and rearrange the remaining - * elements post the erased element. - * - * @param array the array. - * @param elem_size the size of the individual element. - * @param count the current number of elements in the array. - * @param pos the index/position to delete. - */ -PJ_DECL(void) pj_array_erase( void *array, - unsigned elem_size, - unsigned count, - unsigned pos); - -/** - * Search the first value in the array according to matching function. - * - * @param array the array. - * @param elem_size the individual size of the element. - * @param count the number of elements. - * @param matching the matching function, which MUST return PJ_SUCCESS if - * the specified element match. - * @param result the pointer to the value found. - * - * @return PJ_SUCCESS if value is found, otherwise the error code. - */ -PJ_DECL(pj_status_t) pj_array_find( const void *array, - unsigned elem_size, - unsigned count, - pj_status_t (*matching)(const void *value), - void **result); - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJ_ARRAY_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/assert.h b/res/pjproject/pjlib/include/pj/assert.h deleted file mode 100644 index 52eb9ab187..0000000000 --- a/res/pjproject/pjlib/include/pj/assert.h +++ /dev/null @@ -1,95 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_ASSERT_H__ -#define __PJ_ASSERT_H__ - -/** - * @file assert.h - * @brief Assertion macro pj_assert(). - */ - -#include -#include - -/** - * @defgroup pj_assert Assertion Macro - * @ingroup PJ_MISC - * @{ - * - * Assertion and other helper macros for sanity checking. - */ - -/** - * @hideinitializer - * Check during debug build that an expression is true. If the expression - * computes to false during run-time, then the program will stop at the - * offending statements. - * For release build, this macro will not do anything. - * - * @param expr The expression to be evaluated. - */ -#ifndef pj_assert -# define pj_assert(expr) assert(expr) -#endif - - -/** - * @hideinitializer - * If #PJ_ENABLE_EXTRA_CHECK is declared and the value is non-zero, then - * #PJ_ASSERT_RETURN macro will evaluate the expression in @a expr during - * run-time. If the expression yields false, assertion will be triggered - * and the current function will return with the specified return value. - * - * If #PJ_ENABLE_EXTRA_CHECK is not declared or is zero, then no run-time - * checking will be performed. The macro simply evaluates to pj_assert(expr). - */ -#if defined(PJ_ENABLE_EXTRA_CHECK) && PJ_ENABLE_EXTRA_CHECK != 0 -# define PJ_ASSERT_RETURN(expr,retval) \ - do { \ - if (!(expr)) { pj_assert(expr); return retval; } \ - } while (0) -#else -# define PJ_ASSERT_RETURN(expr,retval) pj_assert(expr) -#endif - -/** - * @hideinitializer - * If #PJ_ENABLE_EXTRA_CHECK is declared and non-zero, then - * #PJ_ASSERT_ON_FAIL macro will evaluate the expression in @a expr during - * run-time. If the expression yields false, assertion will be triggered - * and @a exec_on_fail will be executed. - * - * If #PJ_ENABLE_EXTRA_CHECK is not declared or is zero, then no run-time - * checking will be performed. The macro simply evaluates to pj_assert(expr). - */ -#if defined(PJ_ENABLE_EXTRA_CHECK) && PJ_ENABLE_EXTRA_CHECK != 0 -# define PJ_ASSERT_ON_FAIL(expr,exec_on_fail) \ - do { \ - pj_assert(expr); \ - if (!(expr)) exec_on_fail; \ - } while (0) -#else -# define PJ_ASSERT_ON_FAIL(expr,exec_on_fail) pj_assert(expr) -#endif - -/** @} */ - -#endif /* __PJ_ASSERT_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/assert.h b/res/pjproject/pjlib/include/pj/compat/assert.h deleted file mode 100644 index e1ef24acc1..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/assert.h +++ /dev/null @@ -1,44 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_ASSERT_H__ -#define __PJ_COMPAT_ASSERT_H__ - -/** - * @file assert.h - * @brief Provides assert() macro. - */ - -#if defined(PJ_HAS_ASSERT_H) && PJ_HAS_ASSERT_H != 0 -# include - -#elif defined(PJ_LINUX_KERNEL) && PJ_LINUX_KERNEL != 0 -# define assert(expr) do { \ - if (!(expr)) \ - printk("!!ASSERTION FAILED: [%s:%d] \"" #expr "\"\n",\ - __FILE__, __LINE__); \ - } while (0) - -#else -# warning "assert() is not implemented" -# define assert(expr) -#endif - -#endif /* __PJ_COMPAT_ASSERT_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/cc_armcc.h b/res/pjproject/pjlib/include/pj/compat/cc_armcc.h deleted file mode 100644 index b4af09c795..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/cc_armcc.h +++ /dev/null @@ -1,57 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_CC_ARMCC_H__ -#define __PJ_COMPAT_CC_ARMCC_H__ - -/** - * @file cc_armcc.h - * @brief Describes ARMCC compiler specifics. - */ - -#ifndef __ARMCC__ -# error "This file is only for armcc!" -#endif - -#define PJ_CC_NAME "armcc" -#define PJ_CC_VER_1 (__ARMCC_VERSION/100000) -#define PJ_CC_VER_2 ((__ARMCC_VERSION%100000)/10000) -#define PJ_CC_VER_3 (__ARMCC_VERSION%10000) - -#ifdef __cplusplus -# define PJ_INLINE_SPECIFIER inline -#else -# define PJ_INLINE_SPECIFIER static __inline -#endif - -#define PJ_THREAD_FUNC -#define PJ_NORETURN -#define PJ_ATTR_NORETURN __attribute__ ((noreturn)) - -#define PJ_HAS_INT64 1 - -typedef long long pj_int64_t; -typedef unsigned long long pj_uint64_t; - -#define PJ_INT64_FMT "L" - -#define PJ_UNREACHED(x) - -#endif /* __PJ_COMPAT_CC_ARMCC_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/cc_codew.h b/res/pjproject/pjlib/include/pj/compat/cc_codew.h deleted file mode 100644 index cdd5cf0a22..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/cc_codew.h +++ /dev/null @@ -1,55 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_CC_CODEW_H__ -#define __PJ_COMPAT_CC_CODEW_H__ - -/** - * @file cc_codew.h - * @brief Describes MetroWerks Code Warrior compiler specifics. - */ - -#ifndef __MWERKS__ -# error "This file is only for Code Warrior!" -#endif - -#define PJ_CC_NAME "codewarrior" -#define PJ_CC_VER_1 ((__MWERKS__ & 0xF000) >> 12) -#define PJ_CC_VER_2 ((__MWERKS__ & 0x0F00) >> 8) -#define PJ_CC_VER_3 ((__MWERKS__ & 0xFF)) - - -#define PJ_INLINE_SPECIFIER static inline -#define PJ_THREAD_FUNC -#define PJ_NORETURN -#define PJ_ATTR_NORETURN - -#define PJ_HAS_INT64 1 - -typedef long long pj_int64_t; -typedef unsigned long long pj_uint64_t; - -#define PJ_INT64(val) val##LL -#define PJ_UINT64(val) val##LLU -#define PJ_INT64_FMT "L" - -#define PJ_UNREACHED(x) - -#endif /* __PJ_COMPAT_CC_CODEW_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/cc_gcc.h b/res/pjproject/pjlib/include/pj/compat/cc_gcc.h deleted file mode 100644 index 77d93f329f..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/cc_gcc.h +++ /dev/null @@ -1,78 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_CC_GCC_H__ -#define __PJ_COMPAT_CC_GCC_H__ - -/** - * @file cc_gcc.h - * @brief Describes GCC compiler specifics. - */ - -#ifndef __GNUC__ -# error "This file is only for gcc!" -#endif - -#define PJ_CC_NAME "gcc" -#define PJ_CC_VER_1 __GNUC__ -#define PJ_CC_VER_2 __GNUC_MINOR__ - -/* __GNUC_PATCHLEVEL__ doesn't exist in gcc-2.9x.x */ -#ifdef __GNUC_PATCHLEVEL__ -# define PJ_CC_VER_3 __GNUC_PATCHLEVEL__ -#else -# define PJ_CC_VER_3 0 -#endif - - - -#define PJ_THREAD_FUNC -#define PJ_NORETURN - -#define PJ_HAS_INT64 1 - -#ifdef __STRICT_ANSI__ - #include - typedef int64_t pj_int64_t; - typedef uint64_t pj_uint64_t; - #define PJ_INLINE_SPECIFIER static __inline - #define PJ_ATTR_NORETURN -#else - typedef long long pj_int64_t; - typedef unsigned long long pj_uint64_t; - #define PJ_INLINE_SPECIFIER static inline - #define PJ_ATTR_NORETURN __attribute__ ((noreturn)) -#endif - -#define PJ_INT64(val) val##LL -#define PJ_UINT64(val) val##LLU -#define PJ_INT64_FMT "L" - - -#ifdef __GLIBC__ -# define PJ_HAS_BZERO 1 -#endif - -#define PJ_UNREACHED(x) - -#define PJ_ALIGN_DATA(declaration, alignment) declaration __attribute__((aligned (alignment))) - - -#endif /* __PJ_COMPAT_CC_GCC_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/cc_gcce.h b/res/pjproject/pjlib/include/pj/compat/cc_gcce.h deleted file mode 100644 index e322743546..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/cc_gcce.h +++ /dev/null @@ -1,54 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_CC_GCCE_H__ -#define __PJ_COMPAT_CC_GCCE_H__ - -/** - * @file cc_gcce.h - * @brief Describes GCCE compiler specifics. - */ - -#ifndef __GCCE__ -# error "This file is only for gcce!" -#endif - -#define PJ_CC_NAME "gcce" -#define PJ_CC_VER_1 __GCCE__ -#define PJ_CC_VER_2 __GCCE_MINOR__ -#define PJ_CC_VER_3 __GCCE_PATCHLEVEL__ - - -#define PJ_INLINE_SPECIFIER static inline -#define PJ_THREAD_FUNC -#define PJ_NORETURN -#define PJ_ATTR_NORETURN __attribute__ ((noreturn)) - -#define PJ_HAS_INT64 1 - -typedef long long pj_int64_t; -typedef unsigned long long pj_uint64_t; - -#define PJ_INT64(val) val##LL -#define PJ_UINT64(val) val##LLU -#define PJ_INT64_FMT "L" - - -#endif /* __PJ_COMPAT_CC_GCCE_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/cc_msvc.h b/res/pjproject/pjlib/include/pj/compat/cc_msvc.h deleted file mode 100644 index 0b1fd68afd..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/cc_msvc.h +++ /dev/null @@ -1,87 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_CC_MSVC_H__ -#define __PJ_COMPAT_CC_MSVC_H__ - -/** - * @file cc_msvc.h - * @brief Describes Microsoft Visual C compiler specifics. - */ - -#ifndef _MSC_VER -# error "This header file is only for Visual C compiler!" -#endif - -#define PJ_CC_NAME "msvc" -#define PJ_CC_VER_1 (_MSC_VER/100) -#define PJ_CC_VER_2 (_MSC_VER%100) -#define PJ_CC_VER_3 0 - -/* Disable CRT deprecation warnings. */ -#if PJ_CC_VER_1 >= 8 && !defined(_CRT_SECURE_NO_DEPRECATE) -# define _CRT_SECURE_NO_DEPRECATE -#endif -#if PJ_CC_VER_1 >= 8 && !defined(_CRT_SECURE_NO_WARNINGS) -# define _CRT_SECURE_NO_WARNINGS - /* The above doesn't seem to work, at least on VS2005, so lets use - * this construct as well. - */ -# pragma warning(disable: 4996) -#endif - -#pragma warning(disable: 4127) // conditional expression is constant -#pragma warning(disable: 4611) // not wise to mix setjmp with C++ -#pragma warning(disable: 4514) // unref. inline function has been removed -#ifdef NDEBUG -# pragma warning(disable: 4702) // unreachable code -# pragma warning(disable: 4710) // function is not inlined. -# pragma warning(disable: 4711) // function selected for auto inline expansion -#endif - -#ifdef __cplusplus -# define PJ_INLINE_SPECIFIER inline -#else -# define PJ_INLINE_SPECIFIER static __inline -#endif - -#define PJ_EXPORT_DECL_SPECIFIER __declspec(dllexport) -#define PJ_EXPORT_DEF_SPECIFIER __declspec(dllexport) -#define PJ_IMPORT_DECL_SPECIFIER __declspec(dllimport) - -#define PJ_THREAD_FUNC -#define PJ_NORETURN __declspec(noreturn) -#define PJ_ATTR_NORETURN - -#define PJ_HAS_INT64 1 - -typedef __int64 pj_int64_t; -typedef unsigned __int64 pj_uint64_t; - -#define PJ_INT64(val) val##i64 -#define PJ_UINT64(val) val##ui64 -#define PJ_INT64_FMT "I64" - -#define PJ_UNREACHED(x) - -#define PJ_ALIGN_DATA(declaration, alignment) __declspec(align(alignment)) declaration - - -#endif /* __PJ_COMPAT_CC_MSVC_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/cc_mwcc.h b/res/pjproject/pjlib/include/pj/compat/cc_mwcc.h deleted file mode 100644 index 1efd320587..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/cc_mwcc.h +++ /dev/null @@ -1,55 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_CC_MWCC_H__ -#define __PJ_COMPAT_CC_MWCC_H__ - -/** - * @file cc_mwcc.h - * @brief Describes MWCC compiler specifics. - */ - -#ifndef __CW32__ -# error "This file is only for mwcc!" -#endif - -#define PJ_CC_NAME "mwcc32sym" -#define PJ_CC_VER_1 1 -#define PJ_CC_VER_2 0 -#define PJ_CC_VER_3 0 - - -#define PJ_INLINE_SPECIFIER static inline -#define PJ_THREAD_FUNC -#define PJ_NORETURN -#define PJ_ATTR_NORETURN __attribute__ ((noreturn)) - -#define PJ_HAS_INT64 1 - -typedef long long pj_int64_t; -typedef unsigned long long pj_uint64_t; - -#define PJ_INT64(val) val##LL -#define PJ_UINT64(val) val##LLU -#define PJ_INT64_FMT "L" - -#define PJ_UNREACHED(x) - -#endif /* __PJ_COMPAT_CC_MWCC_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/ctype.h b/res/pjproject/pjlib/include/pj/compat/ctype.h deleted file mode 100644 index 3adf21388f..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/ctype.h +++ /dev/null @@ -1,49 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_CTYPE_H__ -#define __PJ_COMPAT_CTYPE_H__ - -/** - * @file ctype.h - * @brief Provides ctype function family. - */ - -#if defined(PJ_HAS_CTYPE_H) && PJ_HAS_CTYPE_H != 0 -# include -#else -# define isalnum(c) (isalpha(c) || isdigit(c)) -# define isalpha(c) (islower(c) || isupper(c)) -# define isascii(c) (((unsigned char)(c))<=0x7f) -# define isdigit(c) ((c)>='0' && (c)<='9') -# define isspace(c) ((c)==' ' || (c)=='\t' ||\ - (c)=='\n' || (c)=='\r' || (c)=='\v') -# define islower(c) ((c)>='a' && (c)<='z') -# define isupper(c) ((c)>='A' && (c)<='Z') -# define isxdigit(c) (isdigit(c) || (tolower(c)>='a'&&tolower(c)<='f')) -# define tolower(c) (((c) >= 'A' && (c) <= 'Z') ? (c)+('a'-'A') : (c)) -# define toupper(c) (((c) >= 'a' && (c) <= 'z') ? (c)-('a'-'A') : (c)) -#endif - -#ifndef isblank -# define isblank(c) (c==' ' || c=='\t') -#endif - - -#endif /* __PJ_COMPAT_CTYPE_H__ */ diff --git a/res/pjproject/pjlib/include/pj/compat/errno.h b/res/pjproject/pjlib/include/pj/compat/errno.h deleted file mode 100644 index ebc7b6dd12..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/errno.h +++ /dev/null @@ -1,44 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_ERRNO_H__ -#define __PJ_COMPAT_ERRNO_H__ - -#if defined(PJ_WIN32) && PJ_WIN32 != 0 || \ - defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE != 0 - - typedef unsigned long pj_os_err_type; -# define pj_get_native_os_error() GetLastError() -# define pj_get_native_netos_error() WSAGetLastError() - -#elif defined(PJ_HAS_ERRNO_VAR) && PJ_HAS_ERRNO_VAR!= 0 - - typedef int pj_os_err_type; -# define pj_get_native_os_error() (errno) -# define pj_get_native_netos_error() (errno) - -#else - -# error "Please define how to get errno for this platform here!" - -#endif - - -#endif /* __PJ_COMPAT_ERRNO_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/high_precision.h b/res/pjproject/pjlib/include/pj/compat/high_precision.h deleted file mode 100644 index 5ef089ece1..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/high_precision.h +++ /dev/null @@ -1,103 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_HIGH_PRECISION_H__ -#define __PJ_COMPAT_HIGH_PRECISION_H__ - - -#if defined(PJ_HAS_FLOATING_POINT) && PJ_HAS_FLOATING_POINT != 0 - /* - * The first choice for high precision math is to use double. - */ -# include - typedef double pj_highprec_t; - -# define PJ_HIGHPREC_VALUE_IS_ZERO(a) (a==0) -# define pj_highprec_mod(a,b) (a=fmod(a,b)) - -#elif defined(PJ_LINUX_KERNEL) && PJ_LINUX_KERNEL != 0 - -# include - - typedef pj_int64_t pj_highprec_t; - -# define pj_highprec_div(a1,a2) do_div(a1,a2) -# define pj_highprec_mod(a1,a2) (a1=do_mod(a1, a2)) - - PJ_INLINE(pj_int64_t) do_mod( pj_int64_t a1, pj_int64_t a2) - { - return do_div(a1,a2); - } - - -#elif defined(PJ_HAS_INT64) && PJ_HAS_INT64 != 0 - /* - * Next choice is to use 64-bit arithmatics. - */ - typedef pj_int64_t pj_highprec_t; - -#else -# warning "High precision math is not available" - - /* - * Last, fallback to 32-bit arithmetics. - */ - typedef pj_int32_t pj_highprec_t; - -#endif - -/** - * @def pj_highprec_mul - * pj_highprec_mul(a1, a2) - High Precision Multiplication - * Multiply a1 and a2, and store the result in a1. - */ -#ifndef pj_highprec_mul -# define pj_highprec_mul(a1,a2) (a1 = a1 * a2) -#endif - -/** - * @def pj_highprec_div - * pj_highprec_div(a1, a2) - High Precision Division - * Divide a2 from a1, and store the result in a1. - */ -#ifndef pj_highprec_div -# define pj_highprec_div(a1,a2) (a1 = a1 / a2) -#endif - -/** - * @def pj_highprec_mod - * pj_highprec_mod(a1, a2) - High Precision Modulus - * Get the modulus a2 from a1, and store the result in a1. - */ -#ifndef pj_highprec_mod -# define pj_highprec_mod(a1,a2) (a1 = a1 % a2) -#endif - - -/** - * @def PJ_HIGHPREC_VALUE_IS_ZERO(a) - * Test if the specified high precision value is zero. - */ -#ifndef PJ_HIGHPREC_VALUE_IS_ZERO -# define PJ_HIGHPREC_VALUE_IS_ZERO(a) (a==0) -#endif - - -#endif /* __PJ_COMPAT_HIGH_PRECISION_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/m_alpha.h b/res/pjproject/pjlib/include/pj/compat/m_alpha.h deleted file mode 100644 index e35a4b9bd6..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/m_alpha.h +++ /dev/null @@ -1,36 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_M_ALPHA_H__ -#define __PJ_COMPAT_M_ALPHA_H__ - -/** - * @file m_alpha.h - * @brief Describes Alpha processor family specifics. - */ - -#define PJ_M_NAME "alpha" - -#define PJ_HAS_PENTIUM 0 -#define PJ_IS_LITTLE_ENDIAN 1 -#define PJ_IS_BIG_ENDIAN 0 - - -#endif /* __PJ_COMPAT_M_ALPHA_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/m_armv4.h b/res/pjproject/pjlib/include/pj/compat/m_armv4.h deleted file mode 100644 index 701e45ae41..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/m_armv4.h +++ /dev/null @@ -1,39 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_M_ARMV4_H__ -#define __PJ_COMPAT_M_ARMV4_H__ - -/** - * @file m_armv4.h - * @brief Describes ARM family processor specifics. - */ - -/* - * This file covers PJ_M_ARMV4 etc. - */ - -#define PJ_M_NAME "armv4" - -#define PJ_HAS_PENTIUM 0 -#define PJ_IS_LITTLE_ENDIAN 1 -#define PJ_IS_BIG_ENDIAN 0 - - -#endif /* __PJ_COMPAT_M_ARMV4_H__ */ diff --git a/res/pjproject/pjlib/include/pj/compat/m_auto.h.in b/res/pjproject/pjlib/include/pj/compat/m_auto.h.in deleted file mode 100644 index 79330b9bdd..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/m_auto.h.in +++ /dev/null @@ -1,60 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_M_AUTO_H__ -#define __PJ_COMPAT_M_AUTO_H__ - -/** - * @file m_auto.h - * @brief Automatically generated process definition file. - */ - -/* Machine name, filled in by autoconf script */ -#undef PJ_M_NAME - -/* Endianness. It's reported on pjsip list on 09/02/13 that autoconf - * endianness detection failed for universal build, so special case - * for it here. Thanks Ruud Klaver for the fix. - */ -#ifdef PJ_DARWINOS -# ifdef __BIG_ENDIAN__ -# define WORDS_BIGENDIAN 1 -# endif -#else - /* Endianness, as detected by autoconf */ -# undef WORDS_BIGENDIAN -#endif - -#ifdef WORDS_BIGENDIAN -# define PJ_IS_LITTLE_ENDIAN 0 -# define PJ_IS_BIG_ENDIAN 1 -#else -# define PJ_IS_LITTLE_ENDIAN 1 -# define PJ_IS_BIG_ENDIAN 0 -#endif - - -/* Specify if floating point is present/desired */ -#undef PJ_HAS_FLOATING_POINT - -/* Deprecated */ -#define PJ_HAS_PENTIUM 0 - -#endif /* __PJ_COMPAT_M_AUTO_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/m_i386.h b/res/pjproject/pjlib/include/pj/compat/m_i386.h deleted file mode 100644 index f56d100402..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/m_i386.h +++ /dev/null @@ -1,35 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_M_i386_H__ -#define __PJ_COMPAT_M_i386_H__ - -/** - * @file m_i386.h - * @brief Describes Intel i386 family processor specifics. - */ - -#define PJ_M_NAME "i386" - -#define PJ_HAS_PENTIUM 1 -#define PJ_IS_LITTLE_ENDIAN 1 -#define PJ_IS_BIG_ENDIAN 0 - - -#endif /* __PJ_COMPAT_M_i386_H__ */ diff --git a/res/pjproject/pjlib/include/pj/compat/m_m68k.h b/res/pjproject/pjlib/include/pj/compat/m_m68k.h deleted file mode 100644 index 45a03d32cc..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/m_m68k.h +++ /dev/null @@ -1,35 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_M_M68K_H__ -#define __PJ_COMPAT_M_M68K_H__ - -/** - * @file m_m68k.h - * @brief Describes Motorola m68k family processor specifics. - */ - -#define PJ_M_NAME "m68k" - -#define PJ_HAS_PENTIUM 0 -#define PJ_IS_LITTLE_ENDIAN 1 -#define PJ_IS_BIG_ENDIAN 0 - - -#endif /* __PJ_COMPAT_M_M68K_H__ */ diff --git a/res/pjproject/pjlib/include/pj/compat/m_powerpc.h b/res/pjproject/pjlib/include/pj/compat/m_powerpc.h deleted file mode 100644 index 13a6992f57..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/m_powerpc.h +++ /dev/null @@ -1,36 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_M_POWERPC_H__ -#define __PJ_COMPAT_M_POWERPC_H__ - -/** - * @file m_ppc.h - * @brief Describes PowerPC family processor specifics. - */ - -#define PJ_M_NAME "powerpc" - -#define PJ_HAS_PENTIUM 0 -#define PJ_IS_LITTLE_ENDIAN 0 -#define PJ_IS_BIG_ENDIAN 1 - - -#endif /* __PJ_COMPAT_M_POWERPC_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/m_sparc.h b/res/pjproject/pjlib/include/pj/compat/m_sparc.h deleted file mode 100644 index a1508a56fe..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/m_sparc.h +++ /dev/null @@ -1,35 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_M_SPARC_H__ -#define __PJ_COMPAT_M_SPARC_H__ - -/** - * @file m_sparc.h - * @brief Describes SPARC family processor specifics. - */ - -#define PJ_M_NAME "sparc" - -#define PJ_HAS_PENTIUM 0 -#define PJ_IS_LITTLE_ENDIAN 0 -#define PJ_IS_BIG_ENDIAN 1 - - -#endif /* __PJ_COMPAT_M_SPARC_H__ */ diff --git a/res/pjproject/pjlib/include/pj/compat/m_x86_64.h b/res/pjproject/pjlib/include/pj/compat/m_x86_64.h deleted file mode 100644 index f0edfafa8c..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/m_x86_64.h +++ /dev/null @@ -1,36 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_M_x86_64_H__ -#define __PJ_COMPAT_M_x86_64_H__ - -/** - * @file m_i386.h - * @brief Describes 64bit x86 Intel/AMD family processor specifics. - */ - -#define PJ_M_NAME "x86_64" - -#define PJ_HAS_PENTIUM 1 -#define PJ_IS_LITTLE_ENDIAN 1 -#define PJ_IS_BIG_ENDIAN 0 - - -#endif /* __PJ_COMPAT_M_x86_64_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/malloc.h b/res/pjproject/pjlib/include/pj/compat/malloc.h deleted file mode 100644 index a60b57e2e4..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/malloc.h +++ /dev/null @@ -1,34 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_MALLOC_H__ -#define __PJ_COMPAT_MALLOC_H__ - -/** - * @file malloc.h - * @brief Provides malloc() and free() functions. - */ - -#if defined(PJ_HAS_MALLOC_H) && PJ_HAS_MALLOC_H != 0 -# include -#elif defined(PJ_HAS_STDLIB_H) && PJ_HAS_STDLIB_H != 0 -# include -#endif - -#endif /* __PJ_COMPAT_MALLOC_H__ */ diff --git a/res/pjproject/pjlib/include/pj/compat/os_auto.h.in b/res/pjproject/pjlib/include/pj/compat/os_auto.h.in deleted file mode 100644 index 77980d36e4..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/os_auto.h.in +++ /dev/null @@ -1,212 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_OS_AUTO_H__ -#define __PJ_COMPAT_OS_AUTO_H__ - -/** - * @file os_auto.h - * @brief Describes operating system specifics (automatically detected by - * autoconf) - */ - -/* Canonical OS name */ -#undef PJ_OS_NAME - -/* Legacy macros */ -#undef PJ_WIN32 -#undef PJ_WIN32_WINNT -#undef WIN32_LEAN_AND_MEAN -#undef PJ_DARWINOS -#undef PJ_LINUX -#undef PJ_RTEMS -#undef PJ_SUNOS - -#if defined(PJ_WIN32_WINNT) && !defined(_WIN32_WINNT) -# define _WIN32_WINNT PJ_WIN32_WINNT -#endif - -/* Headers availability */ -#undef PJ_HAS_ARPA_INET_H -#undef PJ_HAS_ASSERT_H -#undef PJ_HAS_CTYPE_H -#undef PJ_HAS_ERRNO_H -#undef PJ_HAS_FCNTL_H -#undef PJ_HAS_LIMITS_H -#undef PJ_HAS_LINUX_SOCKET_H -#undef PJ_HAS_MALLOC_H -#undef PJ_HAS_NETDB_H -#undef PJ_HAS_NETINET_IN_SYSTM_H -#undef PJ_HAS_NETINET_IN_H -#undef PJ_HAS_NETINET_IP_H -#undef PJ_HAS_NETINET_TCP_H -#undef PJ_HAS_NET_IF_H -#undef PJ_HAS_IFADDRS_H -#undef PJ_HAS_SEMAPHORE_H -#undef PJ_HAS_SETJMP_H -#undef PJ_HAS_STDARG_H -#undef PJ_HAS_STDDEF_H -#undef PJ_HAS_STDIO_H -#undef PJ_HAS_STDINT_H -#undef PJ_HAS_STDLIB_H -#undef PJ_HAS_STRING_H -#undef PJ_HAS_SYS_IOCTL_H -#undef PJ_HAS_SYS_SELECT_H -#undef PJ_HAS_SYS_SOCKET_H -#undef PJ_HAS_SYS_TIME_H -#undef PJ_HAS_SYS_TIMEB_H -#undef PJ_HAS_SYS_TYPES_H -#undef PJ_HAS_SYS_FILIO_H -#undef PJ_HAS_SYS_SOCKIO_H -#undef PJ_HAS_SYS_UTSNAME_H -#undef PJ_HAS_TIME_H -#undef PJ_HAS_UNISTD_H - -#undef PJ_HAS_MSWSOCK_H -#undef PJ_HAS_WINSOCK_H -#undef PJ_HAS_WINSOCK2_H -#undef PJ_HAS_WS2TCPIP_H - -#undef PJ_SOCK_HAS_INET_ATON -#undef PJ_SOCK_HAS_INET_PTON -#undef PJ_SOCK_HAS_INET_NTOP -#undef PJ_SOCK_HAS_GETADDRINFO - -/* On these OSes, semaphore feature depends on semaphore.h */ -#if defined(PJ_HAS_SEMAPHORE_H) && PJ_HAS_SEMAPHORE_H!=0 -# define PJ_HAS_SEMAPHORE 1 -#elif defined(PJ_WIN32) && PJ_WIN32!=0 -# define PJ_HAS_SEMAPHORE 1 -#else -# define PJ_HAS_SEMAPHORE 0 -#endif - -/* Do we have pthread_mutexattr_settype()? */ -#undef PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE - -/* Does pthread_mutexattr_t has "recursive" member? */ -#undef PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE - -/* Set 1 if native sockaddr_in has sin_len member. - * Default: 0 - */ -#undef PJ_SOCKADDR_HAS_LEN - -/* Does the OS have socklen_t? */ -#undef PJ_HAS_SOCKLEN_T - -#if !defined(socklen_t) && (!defined(PJ_HAS_SOCKLEN_T) || PJ_HAS_SOCKLEN_T==0) -# define PJ_HAS_SOCKLEN_T 1 - typedef int socklen_t; -#endif - -/** - * If this macro is set, it tells select I/O Queue that select() needs to - * be given correct value of nfds (i.e. largest fd + 1). This requires - * select ioqueue to re-scan the descriptors on each registration and - * unregistration. - * If this macro is not set, then ioqueue will always give FD_SETSIZE for - * nfds argument when calling select(). - * - * Default: 0 - */ -#undef PJ_SELECT_NEEDS_NFDS - -/* Is errno a good way to retrieve OS errors? - */ -#undef PJ_HAS_ERRNO_VAR - -/* When this macro is set, getsockopt(SOL_SOCKET, SO_ERROR) will return - * the status of non-blocking connect() operation. - */ -#undef PJ_HAS_SO_ERROR - -/* This value specifies the value set in errno by the OS when a non-blocking - * socket recv() can not return immediate daata. - */ -#undef PJ_BLOCKING_ERROR_VAL - -/* This value specifies the value set in errno by the OS when a non-blocking - * socket connect() can not get connected immediately. - */ -#undef PJ_BLOCKING_CONNECT_ERROR_VAL - -/* Default threading is enabled, unless it's overridden. */ -#ifndef PJ_HAS_THREADS -# define PJ_HAS_THREADS (1) -#endif - -/* Do we need high resolution timer? */ -#undef PJ_HAS_HIGH_RES_TIMER - -/* Is malloc() available? */ -#undef PJ_HAS_MALLOC - -#ifndef PJ_OS_HAS_CHECK_STACK -# define PJ_OS_HAS_CHECK_STACK 0 -#endif - -/* Unicode? */ -#undef PJ_NATIVE_STRING_IS_UNICODE - -/* Pool alignment in bytes */ -#undef PJ_POOL_ALIGNMENT - -/* The type of atomic variable value: */ -#undef PJ_ATOMIC_VALUE_TYPE - -#if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 -# include "TargetConditionals.h" -# if TARGET_OS_IPHONE -# include "Availability.h" - /* Use CFHost API for pj_getaddrinfo() (see ticket #1246) */ -# define PJ_GETADDRINFO_USE_CFHOST 1 - /* Disable local host resolution in pj_gethostip() (see ticket #1342) */ -# define PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION 1 -# ifdef __IPHONE_4_0 - /* Is multitasking support available? (see ticket #1107) */ -# define PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT 1 - /* Enable activesock TCP background mode support */ -# define PJ_ACTIVESOCK_TCP_IPHONE_OS_BG 1 -# endif -# endif -#endif - -/* If 1, use Read/Write mutex emulation for platforms that don't support it */ -#undef PJ_EMULATE_RWMUTEX - -/* If 1, pj_thread_create() should enforce the stack size when creating - * threads. - * Default: 0 (let OS decide the thread's stack size). - */ -#undef PJ_THREAD_SET_STACK_SIZE - -/* If 1, pj_thread_create() should allocate stack from the pool supplied. - * Default: 0 (let OS allocate memory for thread's stack). - */ -#undef PJ_THREAD_ALLOCATE_STACK - -/* SSL socket availability. */ -#ifndef PJ_HAS_SSL_SOCK -#undef PJ_HAS_SSL_SOCK -#endif - - -#endif /* __PJ_COMPAT_OS_AUTO_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/os_darwinos.h b/res/pjproject/pjlib/include/pj/compat/os_darwinos.h deleted file mode 100644 index 92b0b6ba3c..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/os_darwinos.h +++ /dev/null @@ -1,145 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_OS_DARWINOS_H__ -#define __PJ_COMPAT_OS_DARWINOS_H__ - -/** - * @file os_darwinos.h - * @brief Describes Darwin/MacOSX operating system specifics. - */ - -#define PJ_OS_NAME "darwin" - -#define PJ_HAS_ARPA_INET_H 1 -#define PJ_HAS_ASSERT_H 1 -#define PJ_HAS_CTYPE_H 1 -#define PJ_HAS_ERRNO_H 1 -#define PJ_HAS_LINUX_SOCKET_H 0 -#define PJ_HAS_MALLOC_H 0 -#define PJ_HAS_NETDB_H 1 -#define PJ_HAS_NETINET_IN_H 1 -#define PJ_HAS_NETINET_TCP_H 1 -#define PJ_HAS_SETJMP_H 1 -#define PJ_HAS_STDARG_H 1 -#define PJ_HAS_STDDEF_H 1 -#define PJ_HAS_STDIO_H 1 -#define PJ_HAS_STDLIB_H 1 -#define PJ_HAS_STRING_H 1 -#define PJ_HAS_SYS_IOCTL_H 1 -#define PJ_HAS_SYS_SELECT_H 1 -#define PJ_HAS_SYS_SOCKET_H 1 -#define PJ_HAS_SYS_TIME_H 1 -#define PJ_HAS_SYS_TIMEB_H 1 -#define PJ_HAS_SYS_TYPES_H 1 -#define PJ_HAS_TIME_H 1 -#define PJ_HAS_UNISTD_H 1 - -#define PJ_HAS_MSWSOCK_H 0 -#define PJ_HAS_WINSOCK_H 0 -#define PJ_HAS_WINSOCK2_H 0 - -/* Is errno a good way to retrieve OS errors? - */ -#define PJ_HAS_ERRNO_VAR 1 - -/* Has inet_aton() ? - */ -#define PJ_SOCK_HAS_INET_ATON 1 - -/* When this macro is set, getsockopt(SOL_SOCKET, SO_ERROR) will return - * the status of non-blocking connect() operation. - */ -#define PJ_HAS_SO_ERROR 1 - -/* This value specifies the value set in errno by the OS when a non-blocking - * socket recv() can not return immediate daata. - */ -#define PJ_BLOCKING_ERROR_VAL EWOULDBLOCK - -/* This value specifies the value set in errno by the OS when a non-blocking - * socket connect() can not get connected immediately. - */ -#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS - -/* Default threading is enabled, unless it's overridden. */ -#ifndef PJ_HAS_THREADS -# define PJ_HAS_THREADS (1) -#endif - -#define PJ_HAS_HIGH_RES_TIMER 1 -#define PJ_HAS_MALLOC 1 -#ifndef PJ_OS_HAS_CHECK_STACK -# define PJ_OS_HAS_CHECK_STACK 0 -#endif -#define PJ_NATIVE_STRING_IS_UNICODE 0 - -#define PJ_ATOMIC_VALUE_TYPE long - -/* - * Socket related - */ -typedef int socklen_t; - -/* Set 1 if native sockaddr_in has sin_len member. - * Default: 0 - */ -#define PJ_SOCKADDR_HAS_LEN 1 - -/* - * gcc complains that it can not use precompiled header because - * the value of FD_SETSIZE that we declare in pj/config.h is - * different than the value in /usr/include/sys/types.h. - * - * This changes the default value for Darwin. - */ -#define PJ_IOQUEUE_MAX_HANDLES 1024 - -/** - * If this macro is set, it tells select I/O Queue that select() needs to - * be given correct value of nfds (i.e. largest fd + 1). This requires - * select ioqueue to re-scan the descriptors on each registration and - * unregistration. - * If this macro is not set, then ioqueue will always give FD_SETSIZE for - * nfds argument when calling select(). - * - * Default: 0 - */ -#define PJ_SELECT_NEEDS_NFDS 0 - -/* If 1, use Read/Write mutex emulation for platforms that don't support it */ -#define PJ_EMULATE_RWMUTEX 0 - -/* If 1, pj_thread_create() should enforce the stack size when creating - * threads. - * Default: 0 (let OS decide the thread's stack size). - */ -#define PJ_THREAD_SET_STACK_SIZE 0 - -/* If 1, pj_thread_create() should allocate stack from the pool supplied. - * Default: 0 (let OS allocate memory for thread's stack). - */ -#define PJ_THREAD_ALLOCATE_STACK 0 - -/* Oh well.. MacOS 10.2 doesn't have socklen_t, but 10.4 has! */ -#define PJ_HAS_SOCKLEN_T 0 - - -#endif /* __PJ_COMPAT_OS_DARWINOS_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/os_linux.h b/res/pjproject/pjlib/include/pj/compat/os_linux.h deleted file mode 100644 index 40840e251f..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/os_linux.h +++ /dev/null @@ -1,129 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_OS_LINUX_H__ -#define __PJ_COMPAT_OS_LINUX_H__ - -/** - * @file os_linux.h - * @brief Describes Linux operating system specifics. - */ - -#define PJ_OS_NAME "linux" - -#define PJ_HAS_ARPA_INET_H 1 -#define PJ_HAS_ASSERT_H 1 -#define PJ_HAS_CTYPE_H 1 -#define PJ_HAS_ERRNO_H 1 -#define PJ_HAS_LINUX_SOCKET_H 0 -#define PJ_HAS_MALLOC_H 1 -#define PJ_HAS_NETDB_H 1 -#define PJ_HAS_NETINET_IN_H 1 -#define PJ_HAS_SETJMP_H 1 -#define PJ_HAS_STDARG_H 1 -#define PJ_HAS_STDDEF_H 1 -#define PJ_HAS_STDIO_H 1 -#define PJ_HAS_STDLIB_H 1 -#define PJ_HAS_STRING_H 1 -#define PJ_HAS_SYS_IOCTL_H 1 -#define PJ_HAS_SYS_SELECT_H 1 -#define PJ_HAS_SYS_SOCKET_H 1 -#define PJ_HAS_SYS_TIME_H 1 -#define PJ_HAS_SYS_TIMEB_H 1 -#define PJ_HAS_SYS_TYPES_H 1 -#define PJ_HAS_TIME_H 1 -#define PJ_HAS_UNISTD_H 1 -#define PJ_HAS_SEMAPHORE_H 1 - -#define PJ_HAS_MSWSOCK_H 0 -#define PJ_HAS_WINSOCK_H 0 -#define PJ_HAS_WINSOCK2_H 0 - -#define PJ_SOCK_HAS_INET_ATON 1 - -/* Set 1 if native sockaddr_in has sin_len member. - * Default: 0 - */ -#define PJ_SOCKADDR_HAS_LEN 0 - -/** - * If this macro is set, it tells select I/O Queue that select() needs to - * be given correct value of nfds (i.e. largest fd + 1). This requires - * select ioqueue to re-scan the descriptors on each registration and - * unregistration. - * If this macro is not set, then ioqueue will always give FD_SETSIZE for - * nfds argument when calling select(). - * - * Default: 0 - */ -#define PJ_SELECT_NEEDS_NFDS 0 - -/* Is errno a good way to retrieve OS errors? - */ -#define PJ_HAS_ERRNO_VAR 1 - -/* When this macro is set, getsockopt(SOL_SOCKET, SO_ERROR) will return - * the status of non-blocking connect() operation. - */ -#define PJ_HAS_SO_ERROR 1 - -/* This value specifies the value set in errno by the OS when a non-blocking - * socket recv() can not return immediate daata. - */ -#define PJ_BLOCKING_ERROR_VAL EAGAIN - -/* This value specifies the value set in errno by the OS when a non-blocking - * socket connect() can not get connected immediately. - */ -#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS - -/* Default threading is enabled, unless it's overridden. */ -#ifndef PJ_HAS_THREADS -# define PJ_HAS_THREADS (1) -#endif - -#define PJ_HAS_HIGH_RES_TIMER 1 -#define PJ_HAS_MALLOC 1 -#ifndef PJ_OS_HAS_CHECK_STACK -# define PJ_OS_HAS_CHECK_STACK 0 -#endif -#define PJ_NATIVE_STRING_IS_UNICODE 0 - -#define PJ_ATOMIC_VALUE_TYPE long - -/* If 1, use Read/Write mutex emulation for platforms that don't support it */ -#define PJ_EMULATE_RWMUTEX 0 - -/* If 1, pj_thread_create() should enforce the stack size when creating - * threads. - * Default: 0 (let OS decide the thread's stack size). - */ -#define PJ_THREAD_SET_STACK_SIZE 0 - -/* If 1, pj_thread_create() should allocate stack from the pool supplied. - * Default: 0 (let OS allocate memory for thread's stack). - */ -#define PJ_THREAD_ALLOCATE_STACK 0 - -/* Linux has socklen_t */ -#define PJ_HAS_SOCKLEN_T 1 - - -#endif /* __PJ_COMPAT_OS_LINUX_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/os_linux_kernel.h b/res/pjproject/pjlib/include/pj/compat/os_linux_kernel.h deleted file mode 100644 index c395234a38..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/os_linux_kernel.h +++ /dev/null @@ -1,149 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_OS_LINUX_KERNEL_H__ -#define __PJ_COMPAT_OS_LINUX_KERNEL_H__ - -/** - * @file os_linux.h - * @brief Describes Linux operating system specifics. - */ - -#define PJ_OS_NAME "linux-module" - -#define PJ_HAS_ARPA_INET_H 0 -#define PJ_HAS_ASSERT_H 0 -#define PJ_HAS_CTYPE_H 0 -#define PJ_HAS_ERRNO_H 0 -#define PJ_HAS_LINUX_SOCKET_H 1 -#define PJ_HAS_MALLOC_H 0 -#define PJ_HAS_NETDB_H 0 -#define PJ_HAS_NETINET_IN_H 0 -#define PJ_HAS_SETJMP_H 0 -#define PJ_HAS_STDARG_H 1 -#define PJ_HAS_STDDEF_H 0 -#define PJ_HAS_STDIO_H 0 -#define PJ_HAS_STDLIB_H 0 -#define PJ_HAS_STRING_H 0 -#define PJ_HAS_SYS_IOCTL_H 0 -#define PJ_HAS_SYS_SELECT_H 0 -#define PJ_HAS_SYS_SOCKET_H 0 -#define PJ_HAS_SYS_TIME_H 0 -#define PJ_HAS_SYS_TIMEB_H 0 -#define PJ_HAS_SYS_TYPES_H 0 -#define PJ_HAS_TIME_H 0 -#define PJ_HAS_UNISTD_H 0 - -#define PJ_HAS_MSWSOCK_H 0 -#define PJ_HAS_WINSOCK_H 0 -#define PJ_HAS_WINSOCK2_H 0 - -#define PJ_SOCK_HAS_INET_ATON 0 - -/* Set 1 if native sockaddr_in has sin_len member. - * Default: 0 - */ -#define PJ_SOCKADDR_HAS_LEN 0 - -/* When this macro is set, getsockopt(SOL_SOCKET, SO_ERROR) will return - * the status of non-blocking connect() operation. - */ -#define PJ_HAS_SO_ERROR 1 - -/** - * If this macro is set, it tells select I/O Queue that select() needs to - * be given correct value of nfds (i.e. largest fd + 1). This requires - * select ioqueue to re-scan the descriptors on each registration and - * unregistration. - * If this macro is not set, then ioqueue will always give FD_SETSIZE for - * nfds argument when calling select(). - * - * Default: 0 - */ -#define PJ_SELECT_NEEDS_NFDS 0 - -/* Is errno a good way to retrieve OS errors? - * (probably no for linux kernel) - * If you answer no here, you'll need to tell pjlib how to get OS - * error (a compile error will tell you exactly where) - */ -#define PJ_HAS_ERRNO_VAR 0 - -/* This value specifies the value set in errno by the OS when a non-blocking - * socket recv() can not return immediate daata. - */ -#define PJ_BLOCKING_ERROR_VAL EAGAIN - -/* This value specifies the value set in errno by the OS when a non-blocking - * socket connect() can not get connected immediately. - */ -#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS - -#ifndef PJ_HAS_THREADS -# define PJ_HAS_THREADS (1) -#endif - - -/* - * Declare __FD_SETSIZE now before including . - */ -#define __FD_SETSIZE PJ_IOQUEUE_MAX_HANDLES - -#define NULL ((void*)0) - -#include /* Needed by all modules */ -#include /* Needed for KERN_INFO */ - -#define __PJ_EXPORT_SYMBOL(a) EXPORT_SYMBOL(a); - -/* - * Override features. - */ -#define PJ_HAS_FLOATING_POINT 0 -#define PJ_HAS_MALLOC 0 -#define PJ_HAS_SEMAPHORE 0 -#define PJ_HAS_EVENT_OBJ 0 -#define PJ_HAS_HIGH_RES_TIMER 1 -#ifndef PJ_OS_HAS_CHECK_STACK -# define PJ_OS_HAS_CHECK_STACK 0 -#endif -#define PJ_TERM_HAS_COLOR 0 -#define PJ_NATIVE_STRING_IS_UNICODE 0 - -#define PJ_ATOMIC_VALUE_TYPE int -#define PJ_THREAD_DESC_SIZE 128 - -/* If 1, use Read/Write mutex emulation for platforms that don't support it */ -#define PJ_EMULATE_RWMUTEX 0 - -/* If 1, pj_thread_create() should enforce the stack size when creating - * threads. - * Default: 0 (let OS decide the thread's stack size). - */ -#define PJ_THREAD_SET_STACK_SIZE 0 - -/* If 1, pj_thread_create() should allocate stack from the pool supplied. - * Default: 0 (let OS allocate memory for thread's stack). - */ -#define PJ_THREAD_ALLOCATE_STACK 0 - - - -#endif /* __PJ_COMPAT_OS_LINUX_KERNEL_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/os_palmos.h b/res/pjproject/pjlib/include/pj/compat/os_palmos.h deleted file mode 100644 index 7d403cd526..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/os_palmos.h +++ /dev/null @@ -1,119 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_OS_PALMOS_H__ -#define __PJ_COMPAT_OS_PALMOS_H__ - -/** - * @file os_palmos.h - * @brief Describes PalmOS operating system specifics. - */ - -#define PJ_OS_NAME "palmos" - -#define PJ_HAS_ARPA_INET_H 0 -#define PJ_HAS_ASSERT_H 1 -#define PJ_HAS_CTYPE_H 1 -#define PJ_HAS_ERRNO_H 0 -#define PJ_HAS_MALLOC_H 1 -#define PJ_HAS_NETDB_H 0 -#define PJ_HAS_NETINET_IN_H 0 -#define PJ_HAS_SETJMP_H 1 -#define PJ_HAS_STDARG_H 1 -#define PJ_HAS_STDDEF_H 1 -#define PJ_HAS_STDIO_H 1 -#define PJ_HAS_STDLIB_H 1 -#define PJ_HAS_STRING_H 1 -#define PJ_HAS_SYS_IOCTL_H 0 -#define PJ_HAS_SYS_SELECT_H 0 -#define PJ_HAS_SYS_SOCKET_H 0 -#define PJ_HAS_SYS_TIMEB_H 0 -#define PJ_HAS_SYS_TYPES_H 1 -#define PJ_HAS_TIME_H 1 -#define PJ_HAS_UNISTD_H 0 - -#define PJ_HAS_MSWSOCK_H 0 -#define PJ_HAS_WINSOCK_H 0 -#define PJ_HAS_WINSOCK2_H 0 - -#define PJ_SOCK_HAS_INET_ATON 0 - -/* Set 1 if native sockaddr_in has sin_len member. - * Default: 0 - */ -#define PJ_SOCKADDR_HAS_LEN 0 - -/** - * If this macro is set, it tells select I/O Queue that select() needs to - * be given correct value of nfds (i.e. largest fd + 1). This requires - * select ioqueue to re-scan the descriptors on each registration and - * unregistration. - * If this macro is not set, then ioqueue will always give FD_SETSIZE for - * nfds argument when calling select(). - * - * Default: 0 - */ -#define PJ_SELECT_NEEDS_NFDS 0 - -/* Is errno a good way to retrieve OS errors? - */ -#define PJ_HAS_ERRNO_VAR 0 - -/* When this macro is set, getsockopt(SOL_SOCKET, SO_ERROR) will return - * the status of non-blocking connect() operation. - */ -#define PJ_HAS_SO_ERROR 0 - -/* This value specifies the value set in errno by the OS when a non-blocking - * socket recv() can not return immediate daata. - */ -#define PJ_BLOCKING_ERROR_VAL xxx - -/* This value specifies the value set in errno by the OS when a non-blocking - * socket connect() can not get connected immediately. - */ -#define PJ_BLOCKING_CONNECT_ERROR_VAL xxx - -/* Default threading is enabled, unless it's overridden. */ -#ifndef PJ_HAS_THREADS -# define PJ_HAS_THREADS (1) -#endif - -#define PJ_HAS_HIGH_RES_TIMER 1 -#ifndef PJ_OS_HAS_CHECK_STACK -# define PJ_OS_HAS_CHECK_STACK 0 -#define PJ_NATIVE_STRING_IS_UNICODE 0 - -/* If 1, use Read/Write mutex emulation for platforms that don't support it */ -#define PJ_EMULATE_RWMUTEX 1 - -/* If 1, pj_thread_create() should enforce the stack size when creating - * threads. - * Default: 0 (let OS decide the thread's stack size). - */ -#define PJ_THREAD_SET_STACK_SIZE 0 - -/* If 1, pj_thread_create() should allocate stack from the pool supplied. - * Default: 0 (let OS allocate memory for thread's stack). - */ -#define PJ_THREAD_ALLOCATE_STACK 0 - - -#endif /* __PJ_COMPAT_OS_PALMOS_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/os_rtems.h b/res/pjproject/pjlib/include/pj/compat/os_rtems.h deleted file mode 100644 index b9a50478ca..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/os_rtems.h +++ /dev/null @@ -1,139 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * Thanks Zetron, Inc and Phil Torre for donating PJLIB - * port to RTEMS. - */ - -#ifndef __PJ_COMPAT_OS_RTEMS_H__ -#define __PJ_COMPAT_OS_RTEMS_H__ - -/** - * @file os_linux.h - * @brief Describes Linux operating system specifics. - */ - -#define PJ_OS_NAME "rtems" - -#define PJ_HAS_ARPA_INET_H 1 -#define PJ_HAS_ASSERT_H 1 -#define PJ_HAS_CTYPE_H 1 -#define PJ_HAS_ERRNO_H 1 -#define PJ_HAS_LINUX_SOCKET_H 0 -#define PJ_HAS_MALLOC_H 1 -#define PJ_HAS_NETDB_H 1 -#define PJ_HAS_NETINET_IN_H 1 -#define PJ_HAS_SETJMP_H 1 -#define PJ_HAS_STDARG_H 0 -#define PJ_HAS_STDDEF_H 1 -#define PJ_HAS_STDIO_H 1 -#define PJ_HAS_STDLIB_H 1 -#define PJ_HAS_STRING_H 1 -#define PJ_HAS_SYS_IOCTL_H 1 -#define PJ_HAS_SYS_SELECT_H 1 -#define PJ_HAS_SYS_SOCKET_H 1 -#define PJ_HAS_SYS_TIME_H 1 -#define PJ_HAS_SYS_TIMEB_H 1 -#define PJ_HAS_SYS_TYPES_H 1 -#define PJ_HAS_TIME_H 1 -#define PJ_HAS_UNISTD_H 1 - -#define PJ_HAS_MSWSOCK_H 0 -#define PJ_HAS_WINSOCK_H 0 -#define PJ_HAS_WINSOCK2_H 0 - -#define PJ_SOCK_HAS_INET_ATON 1 - -/* Set 1 if native sockaddr_in has sin_len member. - * Default: 0 - */ -#define PJ_SOCKADDR_HAS_LEN 1 - -/* Is errno a good way to retrieve OS errors? - */ -#define PJ_HAS_ERRNO_VAR 1 - -/* When this macro is set, getsockopt(SOL_SOCKET, SO_ERROR) will return - * the status of non-blocking connect() operation. - */ -#define PJ_HAS_SO_ERROR 1 - -/** - * If this macro is set, it tells select I/O Queue that select() needs to - * be given correct value of nfds (i.e. largest fd + 1). This requires - * select ioqueue to re-scan the descriptors on each registration and - * unregistration. - * If this macro is not set, then ioqueue will always give FD_SETSIZE for - * nfds argument when calling select(). - * - * Default: 0 - */ -#define PJ_SELECT_NEEDS_NFDS 1 - -/* This value specifies the value set in errno by the OS when a non-blocking - * socket recv() can not return immediate daata. - */ -#define PJ_BLOCKING_ERROR_VAL EWOULDBLOCK - -/* This value specifies the value set in errno by the OS when a non-blocking - * socket connect() can not get connected immediately. - */ -#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS - -/* Default threading is enabled, unless it's overridden. */ -#ifndef PJ_HAS_THREADS -# define PJ_HAS_THREADS (1) -#endif - -#define PJ_HAS_HIGH_RES_TIMER 1 -#define PJ_HAS_MALLOC 1 -#ifndef PJ_OS_HAS_CHECK_STACK -# define PJ_OS_HAS_CHECK_STACK 0 -#endif -#define PJ_NATIVE_STRING_IS_UNICODE 0 - -#define PJ_ATOMIC_VALUE_TYPE int - -/* If 1, use Read/Write mutex emulation for platforms that don't support it */ -#define PJ_EMULATE_RWMUTEX 1 - -/* Missing socklen_t */ -typedef int socklen_t; - -/* If 1, pj_thread_create() should enforce the stack size when creating - * threads. - * Default: 0 (let OS decide the thread's stack size). - */ -#define PJ_THREAD_SET_STACK_SIZE 1 - -/* If 1, pj_thread_create() should allocate stack from the pool supplied. - * Default: 0 (let OS allocate memory for thread's stack). - */ -#define PJ_THREAD_ALLOCATE_STACK 1 - -/* RTEMS has socklen_t (does it? )*/ -#define PJ_HAS_SOCKLEN_T 1 - - - - -#endif /* __PJ_COMPAT_OS_RTEMS_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/os_sunos.h b/res/pjproject/pjlib/include/pj/compat/os_sunos.h deleted file mode 100644 index 73c132f911..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/os_sunos.h +++ /dev/null @@ -1,132 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_OS_SUNOS_H__ -#define __PJ_COMPAT_OS_SUNOS_H__ - -/** - * @file os_sunos.h - * @brief Describes SunOS/Solaris operating system specifics. - */ - -#define PJ_OS_NAME "sunos" - -#define PJ_HAS_ARPA_INET_H 1 -#define PJ_HAS_ASSERT_H 1 -#define PJ_HAS_CTYPE_H 1 -#define PJ_HAS_ERRNO_H 1 -#define PJ_HAS_LINUX_SOCKET_H 0 -#define PJ_HAS_MALLOC_H 1 -#define PJ_HAS_NETDB_H 1 -#define PJ_HAS_NETINET_IN_H 1 -#define PJ_HAS_SETJMP_H 1 -#define PJ_HAS_STDARG_H 1 -#define PJ_HAS_STDDEF_H 1 -#define PJ_HAS_STDIO_H 1 -#define PJ_HAS_STDLIB_H 1 -#define PJ_HAS_STRING_H 1 -#define PJ_HAS_SYS_IOCTL_H 1 -#define PJ_HAS_SYS_SELECT_H 1 -#define PJ_HAS_SYS_SOCKET_H 1 -#define PJ_HAS_SYS_TIME_H 0 -#define PJ_HAS_SYS_TIMEB_H 1 -#define PJ_HAS_SYS_TYPES_H 1 -#define PJ_HAS_TIME_H 1 -#define PJ_HAS_UNISTD_H 1 - -#define PJ_HAS_MSWSOCK_H 0 -#define PJ_HAS_WINSOCK_H 0 -#define PJ_HAS_WINSOCK2_H 0 - -#define PJ_SOCK_HAS_INET_ATON 0 - -/* Set 1 if native sockaddr_in has sin_len member. - * Default: 0 - */ -#define PJ_SOCKADDR_HAS_LEN 0 - -/* Is errno a good way to retrieve OS errors? - */ -#define PJ_HAS_ERRNO_VAR 1 - -/* When this macro is set, getsockopt(SOL_SOCKET, SO_ERROR) will return - * the status of non-blocking connect() operation. - */ -#define PJ_HAS_SO_ERROR 0 - -/* This value specifies the value set in errno by the OS when a non-blocking - * socket recv() can not return immediate daata. - */ -#define PJ_BLOCKING_ERROR_VAL EWOULDBLOCK - -/* This value specifies the value set in errno by the OS when a non-blocking - * socket connect() can not get connected immediately. - */ -#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS - -/** - * If this macro is set, it tells select I/O Queue that select() needs to - * be given correct value of nfds (i.e. largest fd + 1). This requires - * select ioqueue to re-scan the descriptors on each registration and - * unregistration. - * If this macro is not set, then ioqueue will always give FD_SETSIZE for - * nfds argument when calling select(). - * - * Default: 0 - */ -#define PJ_SELECT_NEEDS_NFDS 0 - -/* Default threading is enabled, unless it's overridden. */ -#ifndef PJ_HAS_THREADS -# define PJ_HAS_THREADS (1) -#endif - -#define PJ_HAS_HIGH_RES_TIMER 1 -#define PJ_HAS_MALLOC 1 -#ifndef PJ_OS_HAS_CHECK_STACK -# define PJ_OS_HAS_CHECK_STACK 0 -#endif -#define PJ_NATIVE_STRING_IS_UNICODE 0 - -#define PJ_ATOMIC_VALUE_TYPE long - -/* Get BSD related identifers in Sun's include files */ -#define BSD_COMP - -/* If 1, use Read/Write mutex emulation for platforms that don't support it */ -#define PJ_EMULATE_RWMUTEX 0 - -/* If 1, pj_thread_create() should enforce the stack size when creating - * threads. - * Default: 0 (let OS decide the thread's stack size). - */ -#define PJ_THREAD_SET_STACK_SIZE 0 - -/* If 1, pj_thread_create() should allocate stack from the pool supplied. - * Default: 0 (let OS allocate memory for thread's stack). - */ -#define PJ_THREAD_ALLOCATE_STACK 0 - -/* SunOS has socklen_t (does it? )*/ -#define PJ_HAS_SOCKLEN_T 1 - - - -#endif /* __PJ_COMPAT_OS_SUNOS_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/os_symbian.h b/res/pjproject/pjlib/include/pj/compat/os_symbian.h deleted file mode 100644 index 9f953648d0..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/os_symbian.h +++ /dev/null @@ -1,167 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_OS_SYMBIAN_H__ -#define __PJ_COMPAT_OS_SYMBIAN_H__ - -/** - * @file os_symbian.h - * @brief Describes Symbian operating system specifics. - */ - -#define PJ_OS_NAME "symbian" - -#define PJ_HAS_ARPA_INET_H 1 -#define PJ_HAS_ASSERT_H 1 -#define PJ_HAS_CTYPE_H 1 -#define PJ_HAS_ERRNO_H 1 -#define PJ_HAS_LINUX_SOCKET_H 0 -#define PJ_HAS_MALLOC_H 0 -#define PJ_HAS_NETDB_H 1 -#define PJ_HAS_NETINET_IN_H 1 -#define PJ_HAS_NETINET_TCP_H 0 -#define PJ_HAS_SETJMP_H 1 -#define PJ_HAS_STDARG_H 1 -#define PJ_HAS_STDDEF_H 1 -#define PJ_HAS_STDIO_H 1 -#define PJ_HAS_STDLIB_H 1 -#define PJ_HAS_STRING_H 1 -#define PJ_HAS_NO_SNPRINTF 1 -#define PJ_HAS_SYS_IOCTL_H 1 -#define PJ_HAS_SYS_SELECT_H 0 -#define PJ_HAS_SYS_SOCKET_H 1 -#define PJ_HAS_SYS_TIME_H 1 -#define PJ_HAS_SYS_TIMEB_H 0 -#define PJ_HAS_SYS_TYPES_H 1 -#define PJ_HAS_TIME_H 1 -#define PJ_HAS_UNISTD_H 1 - -#define PJ_HAS_MSWSOCK_H 0 -#define PJ_HAS_WINSOCK_H 0 -#define PJ_HAS_WINSOCK2_H 0 - -#define PJ_SOCK_HAS_INET_ATON 0 - -/* Set 1 if native sockaddr_in has sin_len member. - * Default: 0 - */ -#define PJ_SOCKADDR_HAS_LEN 0 -/* Is errno a good way to retrieve OS errors? - */ -#define PJ_HAS_ERRNO_VAR 1 - -/* When this macro is set, getsockopt(SOL_SOCKET, SO_ERROR) will return - * the status of non-blocking connect() operation. - */ -#define PJ_HAS_SO_ERROR 1 - -/** - * If this macro is set, it tells select I/O Queue that select() needs to - * be given correct value of nfds (i.e. largest fd + 1). This requires - * select ioqueue to re-scan the descriptors on each registration and - * unregistration. - * If this macro is not set, then ioqueue will always give FD_SETSIZE for - * nfds argument when calling select(). - * - * Default: 0 - */ -#define PJ_SELECT_NEEDS_NFDS 0 - -/* This value specifies the value set in errno by the OS when a non-blocking - * socket recv() can not return immediate daata. - */ -#define PJ_BLOCKING_ERROR_VAL EAGAIN - -/* This value specifies the value set in errno by the OS when a non-blocking - * socket connect() can not get connected immediately. - */ -#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS - -/* - * We don't want to use threads in Symbian - */ -#define PJ_HAS_THREADS 0 - - -/* - * Declare __FD_SETSIZE now before including . -#define __FD_SETSIZE PJ_IOQUEUE_MAX_HANDLES - */ - -#ifndef NULL -# define NULL 0 -#endif - -/* Endianness */ -#ifndef PJ_IS_LITTLE_ENDIAN -# define PJ_IS_LITTLE_ENDIAN 1 -# define PJ_IS_BIG_ENDIAN 0 -#endif - -/* Doesn't seem to allow more than this */ -#define PJ_IOQUEUE_MAX_HANDLES 8 - -/* - * Override features. - */ -#define PJ_HAS_FLOATING_POINT 0 -#define PJ_HAS_MALLOC 0 -#define PJ_HAS_SEMAPHORE 1 -#define PJ_HAS_EVENT_OBJ 0 -#define PJ_HAS_HIGH_RES_TIMER 1 -#define PJ_OS_HAS_CHECK_STACK 0 -#define PJ_TERM_HAS_COLOR 0 -#define PJ_NATIVE_STRING_IS_UNICODE 0 -#define PJ_NATIVE_ERR_POSITIVE 0 - -#define PJ_ATOMIC_VALUE_TYPE int -#define PJ_THREAD_DESC_SIZE 128 - -/* If 1, use Read/Write mutex emulation for platforms that don't support it */ -#define PJ_EMULATE_RWMUTEX 1 - -/* If 1, pj_thread_create() should enforce the stack size when creating - * threads. - * Default: 0 (let OS decide the thread's stack size). - */ -#define PJ_THREAD_SET_STACK_SIZE 0 - -/* If 1, pj_thread_create() should allocate stack from the pool supplied. - * Default: 0 (let OS allocate memory for thread's stack). - */ -#define PJ_THREAD_ALLOCATE_STACK 0 - -/* Missing socklen_t */ -#define PJ_HAS_SOCKLEN_T 1 -typedef unsigned int socklen_t; - -#ifndef __GCCE__ -#include -#endif - -#define PJ_EXPORT_DECL_SPECIFIER IMPORT_C -//#define PJ_EXPORT_DECL_SPECIFIER -#define PJ_EXPORT_DEF_SPECIFIER EXPORT_C -#define PJ_IMPORT_DECL_SPECIFIER IMPORT_C - - -#endif /* __PJ_COMPAT_OS_SYMBIAN_H__ */ - - - diff --git a/res/pjproject/pjlib/include/pj/compat/os_win32.h b/res/pjproject/pjlib/include/pj/compat/os_win32.h deleted file mode 100644 index 4fa8b21ea4..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/os_win32.h +++ /dev/null @@ -1,139 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_OS_WIN32_H__ -#define __PJ_COMPAT_OS_WIN32_H__ - -/** - * @file os_win32.h - * @brief Describes Win32 operating system family specifics. - */ - -#define PJ_OS_NAME "win32" - -#define WIN32_LEAN_AND_MEAN -#define PJ_WIN32_WINNT 0x0400 -#ifndef _WIN32_WINNT -# define _WIN32_WINNT PJ_WIN32_WINNT -#endif - -#define PJ_HAS_ARPA_INET_H 0 -#define PJ_HAS_ASSERT_H 1 -#define PJ_HAS_CTYPE_H 1 -#define PJ_HAS_ERRNO_H 0 /* Must be zero, otherwise errno_test() fails. */ -#define PJ_HAS_LINUX_SOCKET_H 0 -#define PJ_HAS_MALLOC_H 1 -#define PJ_HAS_NETDB_H 0 -#define PJ_HAS_NETINET_IN_H 0 -#define PJ_HAS_NETINET_TCP_H 0 -#define PJ_HAS_SETJMP_H 1 -#define PJ_HAS_STDARG_H 1 -#define PJ_HAS_STDDEF_H 1 -#undef PJ_HAS_STDINT_H -#define PJ_HAS_STDIO_H 1 -#define PJ_HAS_STDLIB_H 1 -#define PJ_HAS_STRING_H 1 -#define PJ_HAS_SYS_IOCTL_H 0 -#define PJ_HAS_SYS_SELECT_H 0 -#define PJ_HAS_SYS_SOCKET_H 0 -#define PJ_HAS_SYS_TIME_H 0 -#define PJ_HAS_SYS_TIMEB_H 1 -#define PJ_HAS_SYS_TYPES_H 1 -#define PJ_HAS_TIME_H 1 -#define PJ_HAS_UNISTD_H 0 - -#define PJ_HAS_MSWSOCK_H 1 -#define PJ_HAS_WINSOCK_H 0 -#define PJ_HAS_WINSOCK2_H 1 -#define PJ_HAS_WS2TCPIP_H 1 - -#define PJ_SOCK_HAS_INET_ATON 0 - -/* Set 1 if native sockaddr_in has sin_len member. - * Default: 0 - */ -#define PJ_SOCKADDR_HAS_LEN 0 - -/* Is errno a good way to retrieve OS errors? (No) - */ -#define PJ_HAS_ERRNO_VAR 0 - -/* When this macro is set, getsockopt(SOL_SOCKET, SO_ERROR) will return - * the status of non-blocking connect() operation. - */ -#define PJ_HAS_SO_ERROR 1 - -/* This value specifies the value set in errno by the OS when a non-blocking - * socket recv() or send() can not return immediately. - */ -#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK - -/* This value specifies the value set in errno by the OS when a non-blocking - * socket connect() can not get connected immediately. - */ -#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK - -/** - * If this macro is set, it tells select I/O Queue that select() needs to - * be given correct value of nfds (i.e. largest fd + 1). This requires - * select ioqueue to re-scan the descriptors on each registration and - * unregistration. - * If this macro is not set, then ioqueue will always give FD_SETSIZE for - * nfds argument when calling select(). - * - * Default: 0 - */ -#define PJ_SELECT_NEEDS_NFDS 0 - -/* Default threading is enabled, unless it's overridden. */ -#ifndef PJ_HAS_THREADS -# define PJ_HAS_THREADS (1) -#endif - -#define PJ_HAS_HIGH_RES_TIMER 1 -#define PJ_HAS_MALLOC 1 -#ifndef PJ_OS_HAS_CHECK_STACK -# define PJ_OS_HAS_CHECK_STACK 1 -#endif - -#ifdef UNICODE -# define PJ_NATIVE_STRING_IS_UNICODE 1 -#else -# define PJ_NATIVE_STRING_IS_UNICODE 0 -#endif - -#define PJ_ATOMIC_VALUE_TYPE long - -/* If 1, use Read/Write mutex emulation for platforms that don't support it */ -#define PJ_EMULATE_RWMUTEX 1 - -/* If 1, pj_thread_create() should enforce the stack size when creating - * threads. - * Default: 0 (let OS decide the thread's stack size). - */ -#define PJ_THREAD_SET_STACK_SIZE 0 - -/* If 1, pj_thread_create() should allocate stack from the pool supplied. - * Default: 0 (let OS allocate memory for thread's stack). - */ -#define PJ_THREAD_ALLOCATE_STACK 0 - - -#endif /* __PJ_COMPAT_OS_WIN32_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/os_win32_wince.h b/res/pjproject/pjlib/include/pj/compat/os_win32_wince.h deleted file mode 100644 index 9ae05313e2..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/os_win32_wince.h +++ /dev/null @@ -1,146 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_OS_WIN32_WINCE_H__ -#define __PJ_COMPAT_OS_WIN32_WINCE_H__ - -/** - * @file os_win32.h - * @brief Describes Win32 operating system family specifics. - */ - -#define PJ_OS_NAME "win32-wince" - -#define WIN32_LEAN_AND_MEAN -#define RPC_NO_WINDOWS_H -//#define PJ_WIN32_WINNT 0x0400 -//#define _WIN32_WINNT PJ_WIN32_WINNT - -#define PJ_HAS_ARPA_INET_H 0 -#define PJ_HAS_ASSERT_H 1 -#define PJ_HAS_CTYPE_H 1 -#define PJ_HAS_ERRNO_H 0 /* Must be zero, otherwise errno_test() fails. */ -#define PJ_HAS_LINUX_SOCKET_H 0 -#define PJ_HAS_MALLOC_H 1 -#define PJ_HAS_NETDB_H 0 -#define PJ_HAS_NETINET_IN_H 0 -#define PJ_HAS_NETINET_TCP_H 0 -#define PJ_HAS_SETJMP_H 1 -#define PJ_HAS_STDARG_H 1 -#define PJ_HAS_STDDEF_H 1 -#define PJ_HAS_STDIO_H 1 -#define PJ_HAS_STDLIB_H 1 -#define PJ_HAS_STRING_H 1 -#define PJ_HAS_SYS_IOCTL_H 0 -#define PJ_HAS_SYS_SELECT_H 0 -#define PJ_HAS_SYS_SOCKET_H 0 -#define PJ_HAS_SYS_TIME_H 0 -#define PJ_HAS_SYS_TIMEB_H 0 /* Doesn't have sys/timeb.h */ -#define PJ_HAS_SYS_TYPES_H 0 /* Doesn't have sys/types.h */ -#define PJ_HAS_TIME_H 1 -#define PJ_HAS_UNISTD_H 0 - -#define PJ_HAS_MSWSOCK_H 1 -#define PJ_HAS_WINSOCK_H 0 -#define PJ_HAS_WINSOCK2_H 1 - -#define PJ_SOCK_HAS_INET_ATON 0 - -/* Set 1 if native sockaddr_in has sin_len member. - * Default: 0 - */ -#define PJ_SOCKADDR_HAS_LEN 0 - -/* Is errno a good way to retrieve OS errors? (no) - */ -#define PJ_HAS_ERRNO_VAR 0 - -/* When this macro is set, getsockopt(SOL_SOCKET, SO_ERROR) will return - * the status of non-blocking connect() operation. - */ -#define PJ_HAS_SO_ERROR 0 - -/* This value specifies the value set in errno by the OS when a non-blocking - * socket recv() or send() can not return immediately. - */ -#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK - -/* This value specifies the value set in errno by the OS when a non-blocking - * socket connect() can not get connected immediately. - */ -#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK - -/** - * If this macro is set, it tells select I/O Queue that select() needs to - * be given correct value of nfds (i.e. largest fd + 1). This requires - * select ioqueue to re-scan the descriptors on each registration and - * unregistration. - * If this macro is not set, then ioqueue will always give FD_SETSIZE for - * nfds argument when calling select(). - * - * Default: 0 - */ -#define PJ_SELECT_NEEDS_NFDS 0 - -/* Endianness */ -#ifndef PJ_IS_LITTLE_ENDIAN -# define PJ_IS_LITTLE_ENDIAN 1 -# define PJ_IS_BIG_ENDIAN 0 -#endif - -/* Default threading is enabled, unless it's overridden. */ -#ifndef PJ_HAS_THREADS -# define PJ_HAS_THREADS (1) -#endif - -#define PJ_HAS_HIGH_RES_TIMER 1 -#define PJ_HAS_MALLOC 1 -#define PJ_OS_HAS_CHECK_STACK 1 - -#define PJ_ATOMIC_VALUE_TYPE long - -/* TlsAlloc() error value. */ -#define TLS_OUT_OF_INDEXES 0xFFFFFFFF - -/* No console. */ -#define PJ_TERM_HAS_COLOR 0 - -/* No rdtsc */ -#define PJ_TIMESTAMP_USE_RDTSC 0 - -/* Native string is Unicode. */ -#define PJ_NATIVE_STRING_IS_UNICODE 1 - -/* If 1, use Read/Write mutex emulation for platforms that don't support it */ -#define PJ_EMULATE_RWMUTEX 1 - -/* If 1, pj_thread_create() should enforce the stack size when creating - * threads. - * Default: 0 (let OS decide the thread's stack size). - */ -#define PJ_THREAD_SET_STACK_SIZE 0 - -/* If 1, pj_thread_create() should allocate stack from the pool supplied. - * Default: 0 (let OS allocate memory for thread's stack). - */ -#define PJ_THREAD_ALLOCATE_STACK 0 - - -#endif /* __PJ_COMPAT_OS_WIN32_WINCE_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/rand.h b/res/pjproject/pjlib/include/pj/compat/rand.h deleted file mode 100644 index d0b5dd0beb..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/rand.h +++ /dev/null @@ -1,70 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_RAND_H__ -#define __PJ_COMPAT_RAND_H__ - -/** - * @file rand.h - * @brief Provides platform_rand() and platform_srand() functions. - */ - -#if defined(PJ_HAS_STDLIB_H) && PJ_HAS_STDLIB_H != 0 - /* - * Use stdlib based rand() and srand(). - */ -# include -# define platform_srand srand -# if defined(RAND_MAX) && RAND_MAX <= 0xFFFF - /* - * When rand() is only 16 bit strong, double the strength - * by calling it twice! - */ - PJ_INLINE(int) platform_rand(void) - { - return ((rand() & 0xFFFF) << 16) | (rand() & 0xFFFF); - } -# else -# define platform_rand rand -# endif - -#elif defined(PJ_LINUX_KERNEL) && PJ_LINUX_KERNEL != 0 - /* - * Linux kernel mode random number generator. - */ -# include -# define platform_srand(seed) - - PJ_INLINE(int) platform_rand(void) - { - int value; - get_random_bytes((void*)&value, sizeof(value)); - return value; - } - -#else -# warning "platform_rand() is not implemented" -# define platform_rand() 1 -# define platform_srand(seed) - -#endif - - -#endif /* __PJ_COMPAT_RAND_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/setjmp.h b/res/pjproject/pjlib/include/pj/compat/setjmp.h deleted file mode 100644 index b0b979ddd7..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/setjmp.h +++ /dev/null @@ -1,98 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_SETJMP_H__ -#define __PJ_COMPAT_SETJMP_H__ - -/** - * @file setjmp.h - * @brief Provides setjmp.h functionality. - */ - -#if defined(PJ_HAS_SETJMP_H) && PJ_HAS_SETJMP_H != 0 -# include - typedef jmp_buf pj_jmp_buf; -# ifndef pj_setjmp -# define pj_setjmp(buf) setjmp(buf) -# endif -# ifndef pj_longjmp -# define pj_longjmp(buf,d) longjmp(buf,d) -# endif - -#elif defined(PJ_LINUX_KERNEL) && PJ_LINUX_KERNEL != 0 && \ - defined(PJ_M_I386) && PJ_M_I386 != 0 - - /* - * These are taken from uClibc. - * Copyright (C) 2000-2003 Erik Andersen - */ -# if defined __USE_MISC || defined _ASM -# define JB_BX 0 -# define JB_SI 1 -# define JB_DI 2 -# define JB_BP 3 -# define JB_SP 4 -# define JB_PC 5 -# define JB_SIZE 24 -# endif - -# ifndef _ASM - typedef int __jmp_buf[6]; - - /* A `sigset_t' has a bit for each signal. */ -# define _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int))) - typedef struct __sigset_t_tag - { - unsigned long int __val[_SIGSET_NWORDS]; - } __sigset_t; - - /* Calling environment, plus possibly a saved signal mask. */ - typedef struct __jmp_buf_tag /* C++ doesn't like tagless structs. */ - { - /* NOTE: The machine-dependent definitions of `__sigsetjmp' - assume that a `jmp_buf' begins with a `__jmp_buf' and that - `__mask_was_saved' follows it. Do not move these members - or add others before it. */ - __jmp_buf __jmpbuf; /* Calling environment. */ - int __mask_was_saved; /* Saved the signal mask? */ - // we never saved the mask. - __sigset_t __saved_mask; /* Saved signal mask. */ - } jmp_buf[1]; - - typedef jmp_buf sigjmp_buf; - typedef jmp_buf pj_jmp_buf; - - PJ_DECL(int) pj_setjmp(pj_jmp_buf env); - PJ_DECL(void) pj_longjmp(pj_jmp_buf env, int val) __attribute__((noreturn)); - -# endif /* _ASM */ - -#elif defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0 - /* Symbian framework don't use setjmp/longjmp */ - -#else -# warning "setjmp()/longjmp() is not implemented" - typedef int pj_jmp_buf[1]; -# define pj_setjmp(buf) 0 -# define pj_longjmp(buf,d) 0 -#endif - - -#endif /* __PJ_COMPAT_SETJMP_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/size_t.h b/res/pjproject/pjlib/include/pj/compat/size_t.h deleted file mode 100644 index 3f4e47b5fb..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/size_t.h +++ /dev/null @@ -1,32 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_SIZE_T_H__ -#define __PJ_COMPAT_SIZE_T_H__ - -/** - * @file size_t.h - * @brief Provides size_t type. - */ -#if PJ_HAS_STDDEF_H -# include -#endif - -#endif /* __PJ_COMPAT_SIZE_T_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/socket.h b/res/pjproject/pjlib/include/pj/compat/socket.h deleted file mode 100644 index 0babcc51af..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/socket.h +++ /dev/null @@ -1,239 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_SOCKET_H__ -#define __PJ_COMPAT_SOCKET_H__ - -/** - * @file socket.h - * @brief Provides all socket related functions,data types, error codes, etc. - */ - -#if defined(PJ_HAS_WINSOCK2_H) && PJ_HAS_WINSOCK2_H != 0 -# include -#endif - -#if defined(PJ_HAS_WINSOCK_H) && PJ_HAS_WINSOCK_H != 0 -# include -#endif - -#if defined(PJ_HAS_WS2TCPIP_H) && PJ_HAS_WS2TCPIP_H != 0 -# include -#endif - - -/* - * IPv6 for Visual Studio's - * - * = Visual Studio 6 = - * - * Visual Studio 6 does not ship with IPv6 support, so you MUST - * download and install IPv6 Tehnology Preview (IPv6Kit) from: - * http://msdn.microsoft.com/downloads/sdks/platform/tpipv6/ReadMe.asp - * Then put IPv6Kit\inc in your Visual Studio include path. - * - * In addition, by default IPv6Kit does not want to install on - * Windows 2000 SP4. Please see: - * http://msdn.microsoft.com/downloads/sdks/platform/tpipv6/faq.asp - * on how to install IPv6Kit on Win2K SP4. - * - * - * = Visual Studio 2003, 2005 (including Express) = - * - * These VS uses Microsoft Platform SDK for Windows Server 2003 SP1, and - * it has built-in IPv6 support. - */ -#if defined(_MSC_VER) && defined(PJ_HAS_IPV6) && PJ_HAS_IPV6!=0 -# ifndef s_addr -# define s_addr S_un.S_addr -# endif - -# if !defined(IPPROTO_IPV6) - /* Need to download and install IPv6Kit for this platform. - * Please see the comments above about Visual Studio 6. - */ -# include -# endif - -# define PJ_SOCK_HAS_GETADDRINFO 1 -#endif /* _MSC_VER */ - -#if defined(PJ_HAS_SYS_TYPES_H) && PJ_HAS_SYS_TYPES_H != 0 -# include -#endif - -#if defined(PJ_HAS_SYS_SOCKET_H) && PJ_HAS_SYS_SOCKET_H != 0 -# include -#endif - -#if defined(PJ_HAS_LINUX_SOCKET_H) && PJ_HAS_LINUX_SOCKET_H != 0 -# include -#endif - -#if defined(PJ_HAS_SYS_SELECT_H) && PJ_HAS_SYS_SELECT_H != 0 -# include -#endif - -#if defined(PJ_HAS_NETINET_IN_H) && PJ_HAS_NETINET_IN_H != 0 -# include -#endif - -#if defined(PJ_HAS_NETINET_IN_SYSTM_H) && PJ_HAS_NETINET_IN_SYSTM_H != 0 -/* Required to include netinet/ip.h in FreeBSD 7.0 */ -# include -#endif - -#if defined(PJ_HAS_NETINET_IP_H) && PJ_HAS_NETINET_IP_H != 0 -/* To pull in IPTOS_* constants */ -# include -#endif - -#if defined(PJ_HAS_NETINET_TCP_H) && PJ_HAS_NETINET_TCP_H != 0 -/* To pull in TCP_NODELAY constants */ -# include -#endif - -#if defined(PJ_HAS_NET_IF_H) && PJ_HAS_NET_IF_H != 0 -/* For interface enumeration in ip_helper */ -# include -#endif - -#if defined(PJ_HAS_IFADDRS_H) && PJ_HAS_IFADDRS_H != 0 -/* Interface enum with getifaddrs() which works with IPv6 */ -# include -#endif - -#if defined(PJ_HAS_ARPA_INET_H) && PJ_HAS_ARPA_INET_H != 0 -# include -#endif - -#if defined(PJ_HAS_SYS_IOCTL_H) && PJ_HAS_SYS_IOCTL_H != 0 -# include /* FBIONBIO */ -#endif - -#if defined(PJ_HAS_ERRNO_H) && PJ_HAS_ERRNO_H != 0 -# include -#endif - -#if defined(PJ_HAS_NETDB_H) && PJ_HAS_NETDB_H != 0 -# include -#endif - -#if defined(PJ_HAS_UNISTD_H) && PJ_HAS_UNISTD_H != 0 -# include -#endif - -#if defined(PJ_HAS_SYS_FILIO_H) && PJ_HAS_SYS_FILIO_H != 0 -# include -#endif - -#if defined(PJ_HAS_SYS_SOCKIO_H) && PJ_HAS_SYS_SOCKIO_H != 0 -# include -#endif - - -/* - * Define common errors. - */ -#if (defined(PJ_WIN32) && PJ_WIN32!=0) || \ - (defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0) -# define OSERR_EWOULDBLOCK WSAEWOULDBLOCK -# define OSERR_EINPROGRESS WSAEINPROGRESS -# define OSERR_ECONNRESET WSAECONNRESET -# define OSERR_ENOTCONN WSAENOTCONN -#elif defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0 -# define OSERR_EWOULDBLOCK -1 -# define OSERR_EINPROGRESS -1 -# define OSERR_ECONNRESET -1 -# define OSERR_ENOTCONN -1 -#else -# define OSERR_EWOULDBLOCK EWOULDBLOCK -# define OSERR_EINPROGRESS EINPROGRESS -# define OSERR_ECONNRESET ECONNRESET -# define OSERR_ENOTCONN ENOTCONN -#endif - - -/* - * And undefine these.. - */ -#undef s_addr -#undef s6_addr - -/* - * Linux kernel specifics - */ -#if defined(PJ_LINUX_KERNEL) -# include -# include /* FIONBIO */ -# include /* sys_select() */ -# include /* set/get_fs() */ - - typedef int socklen_t; -# define getsockopt sys_getsockopt - - /* - * Wrapper for select() in Linux kernel. - */ - PJ_INLINE(int) select(int n, fd_set *inp, fd_set *outp, fd_set *exp, - struct timeval *tvp) - { - int count; - mm_segment_t oldfs = get_fs(); - set_fs(KERNEL_DS); - count = sys_select(n, inp, outp, exp, tvp); - set_fs(oldfs); - return count; - } -#endif /* PJ_LINUX_KERNEL */ - - -/* - * This will finally be obsoleted, since it should be declared in - * os_auto.h - */ -#if !defined(PJ_HAS_SOCKLEN_T) || PJ_HAS_SOCKLEN_T==0 - typedef int socklen_t; -#endif - -/* Regarding sin_len member of sockaddr_in: - * BSD systems (including MacOS X requires that the sin_len member of - * sockaddr_in be set to sizeof(sockaddr_in), while other systems (Windows - * and Linux included) do not. - * - * To maintain compatibility between systems, PJLIB will automatically - * set this field before invoking native OS socket API, and it will - * always reset the field to zero before returning pj_sockaddr_in to - * application (such as in pj_getsockname() and pj_recvfrom()). - * - * Application MUST always set this field to zero. - * - * This way we can avoid hard to find problem such as when the socket - * address is used as hash table key. - */ -#if defined(PJ_SOCKADDR_HAS_LEN) && PJ_SOCKADDR_HAS_LEN!=0 -# define PJ_SOCKADDR_SET_LEN(addr,len) (((pj_addr_hdr*)(addr))->sa_zero_len=(len)) -# define PJ_SOCKADDR_RESET_LEN(addr) (((pj_addr_hdr*)(addr))->sa_zero_len=0) -#else -# define PJ_SOCKADDR_SET_LEN(addr,len) -# define PJ_SOCKADDR_RESET_LEN(addr) -#endif - -#endif /* __PJ_COMPAT_SOCKET_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/compat/stdarg.h b/res/pjproject/pjlib/include/pj/compat/stdarg.h deleted file mode 100644 index 13e307525f..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/stdarg.h +++ /dev/null @@ -1,32 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_STDARG_H__ -#define __PJ_COMPAT_STDARG_H__ - -/** - * @file stdarg.h - * @brief Provides stdarg functionality. - */ - -#if defined(PJ_HAS_STDARG_H) && PJ_HAS_STDARG_H != 0 -# include -#endif - -#endif /* __PJ_COMPAT_STDARG_H__ */ diff --git a/res/pjproject/pjlib/include/pj/compat/stdfileio.h b/res/pjproject/pjlib/include/pj/compat/stdfileio.h deleted file mode 100644 index 06047f626c..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/stdfileio.h +++ /dev/null @@ -1,32 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_STDFILEIO_H__ -#define __PJ_COMPAT_STDFILEIO_H__ - -/** - * @file stdfileio.h - * @brief Compatibility for ANSI file I/O like fputs, fflush, etc. - */ - -#if defined(PJ_HAS_STDIO_H) && PJ_HAS_STDIO_H != 0 -# include -#endif - -#endif /* __PJ_COMPAT_STDFILEIO_H__ */ diff --git a/res/pjproject/pjlib/include/pj/compat/string.h b/res/pjproject/pjlib/include/pj/compat/string.h deleted file mode 100644 index fde421a239..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/string.h +++ /dev/null @@ -1,144 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_STRING_H__ -#define __PJ_COMPAT_STRING_H__ - -/** - * @file string.h - * @brief Provides string manipulation functions found in ANSI string.h. - */ - - -#if defined(PJ_HAS_STRING_H) && PJ_HAS_STRING_H != 0 -# include -#else - - PJ_DECL(int) strcasecmp(const char *s1, const char *s2); - PJ_DECL(int) strncasecmp(const char *s1, const char *s2, int len); - -#endif - -/* For sprintf family */ -#include - -/* On WinCE, string stuffs are declared in stdlib.h */ -#if defined(PJ_HAS_STDLIB_H) && PJ_HAS_STDLIB_H!=0 -# include -#endif - -#if defined(_MSC_VER) -# define strcasecmp _stricmp -# define strncasecmp _strnicmp -# define snprintf _snprintf -# define vsnprintf _vsnprintf -# define snwprintf _snwprintf -# define wcsicmp _wcsicmp -# define wcsnicmp _wcsnicmp -#else -# define stricmp strcasecmp -# define strnicmp strncasecmp - -# if defined(PJ_NATIVE_STRING_IS_UNICODE) && PJ_NATIVE_STRING_IS_UNICODE!=0 -# error "Implement Unicode string functions" -# endif -#endif - -#define pj_ansi_strcmp strcmp -#define pj_ansi_strncmp strncmp -#define pj_ansi_strlen strlen -#define pj_ansi_strcpy strcpy -#define pj_ansi_strncpy strncpy -#define pj_ansi_strcat strcat -#define pj_ansi_strstr strstr -#define pj_ansi_strchr strchr -#define pj_ansi_strcasecmp strcasecmp -#define pj_ansi_stricmp strcasecmp -#define pj_ansi_strncasecmp strncasecmp -#define pj_ansi_strnicmp strncasecmp -#define pj_ansi_sprintf sprintf - -#if defined(PJ_HAS_NO_SNPRINTF) && PJ_HAS_NO_SNPRINTF != 0 -# include -# include - PJ_BEGIN_DECL - PJ_DECL(int) snprintf(char*s1, pj_size_t len, const char*s2, ...); - PJ_DECL(int) vsnprintf(char*s1, pj_size_t len, const char*s2, va_list arg); - PJ_END_DECL -#endif - -#define pj_ansi_snprintf snprintf -#define pj_ansi_vsprintf vsprintf -#define pj_ansi_vsnprintf vsnprintf - -#define pj_unicode_strcmp wcscmp -#define pj_unicode_strncmp wcsncmp -#define pj_unicode_strlen wcslen -#define pj_unicode_strcpy wcscpy -#define pj_unicode_strncpy wcsncpy -#define pj_unicode_strcat wcscat -#define pj_unicode_strstr wcsstr -#define pj_unicode_strchr wcschr -#define pj_unicode_strcasecmp wcsicmp -#define pj_unicode_stricmp wcsicmp -#define pj_unicode_strncasecmp wcsnicmp -#define pj_unicode_strnicmp wcsnicmp -#define pj_unicode_sprintf swprintf -#define pj_unicode_snprintf snwprintf -#define pj_unicode_vsprintf vswprintf -#define pj_unicode_vsnprintf vsnwprintf - -#if defined(PJ_NATIVE_STRING_IS_UNICODE) && PJ_NATIVE_STRING_IS_UNICODE!=0 -# define pj_native_strcmp pj_unicode_strcmp -# define pj_native_strncmp pj_unicode_strncmp -# define pj_native_strlen pj_unicode_strlen -# define pj_native_strcpy pj_unicode_strcpy -# define pj_native_strncpy pj_unicode_strncpy -# define pj_native_strcat pj_unicode_strcat -# define pj_native_strstr pj_unicode_strstr -# define pj_native_strchr pj_unicode_strchr -# define pj_native_strcasecmp pj_unicode_strcasecmp -# define pj_native_stricmp pj_unicode_stricmp -# define pj_native_strncasecmp pj_unicode_strncasecmp -# define pj_native_strnicmp pj_unicode_strnicmp -# define pj_native_sprintf pj_unicode_sprintf -# define pj_native_snprintf pj_unicode_snprintf -# define pj_native_vsprintf pj_unicode_vsprintf -# define pj_native_vsnprintf pj_unicode_vsnprintf -#else -# define pj_native_strcmp pj_ansi_strcmp -# define pj_native_strncmp pj_ansi_strncmp -# define pj_native_strlen pj_ansi_strlen -# define pj_native_strcpy pj_ansi_strcpy -# define pj_native_strncpy pj_ansi_strncpy -# define pj_native_strcat pj_ansi_strcat -# define pj_native_strstr pj_ansi_strstr -# define pj_native_strchr pj_ansi_strchr -# define pj_native_strcasecmp pj_ansi_strcasecmp -# define pj_native_stricmp pj_ansi_stricmp -# define pj_native_strncasecmp pj_ansi_strncasecmp -# define pj_native_strnicmp pj_ansi_strnicmp -# define pj_native_sprintf pj_ansi_sprintf -# define pj_native_snprintf pj_ansi_snprintf -# define pj_native_vsprintf pj_ansi_vsprintf -# define pj_native_vsnprintf pj_ansi_vsnprintf -#endif - - -#endif /* __PJ_COMPAT_STRING_H__ */ diff --git a/res/pjproject/pjlib/include/pj/compat/time.h b/res/pjproject/pjlib/include/pj/compat/time.h deleted file mode 100644 index 6ac2432819..0000000000 --- a/res/pjproject/pjlib/include/pj/compat/time.h +++ /dev/null @@ -1,42 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_COMPAT_TIME_H__ -#define __PJ_COMPAT_TIME_H__ - -/** - * @file time.h - * @brief Provides ftime() and localtime() etc functions. - */ - -#if defined(PJ_HAS_TIME_H) && PJ_HAS_TIME_H != 0 -# include -#endif - -#if defined(PJ_HAS_SYS_TIME_H) && PJ_HAS_SYS_TIME_H != 0 -# include -#endif - -#if defined(PJ_HAS_SYS_TIMEB_H) && PJ_HAS_SYS_TIMEB_H != 0 -# include -#endif - - -#endif /* __PJ_COMPAT_TIME_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/config.h b/res/pjproject/pjlib/include/pj/config.h deleted file mode 100644 index 30f345baf3..0000000000 --- a/res/pjproject/pjlib/include/pj/config.h +++ /dev/null @@ -1,1198 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_CONFIG_H__ -#define __PJ_CONFIG_H__ - - -/** - * @file config.h - * @brief PJLIB Main configuration settings. - */ - -/******************************************************************** - * Include compiler specific configuration. - */ -#if defined(_MSC_VER) -# include -#elif defined(__GNUC__) -# include -#elif defined(__CW32__) -# include -#elif defined(__MWERKS__) -# include -#elif defined(__GCCE__) -# include -#elif defined(__ARMCC__) -# include -#else -# error "Unknown compiler." -#endif - -/* PJ_ALIGN_DATA is compiler specific directive to align data address */ -#ifndef PJ_ALIGN_DATA -# error "PJ_ALIGN_DATA is not defined!" -#endif - -/******************************************************************** - * Include target OS specific configuration. - */ -#if defined(PJ_AUTOCONF) - /* - * Autoconf - */ -# include - -#elif defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0 - /* - * SymbianOS - */ -# include - -#elif defined(PJ_WIN32_WINCE) || defined(_WIN32_WCE) || defined(UNDER_CE) - /* - * Windows CE - */ -# undef PJ_WIN32_WINCE -# define PJ_WIN32_WINCE 1 -# include - - /* Also define Win32 */ -# define PJ_WIN32 1 - -#elif defined(PJ_WIN32) || defined(_WIN32) || defined(__WIN32__) || \ - defined(_WIN64) || defined(WIN32) || defined(__TOS_WIN__) - /* - * Win32 - */ -# undef PJ_WIN32 -# define PJ_WIN32 1 -# include - -#elif defined(PJ_LINUX_KERNEL) && PJ_LINUX_KERNEL!=0 - /* - * Linux kernel - */ -# include - -#elif defined(PJ_LINUX) || defined(linux) || defined(__linux) - /* - * Linux - */ -# undef PJ_LINUX -# define PJ_LINUX 1 -# include - -#elif defined(PJ_PALMOS) && PJ_PALMOS!=0 - /* - * Palm - */ -# include - -#elif defined(PJ_SUNOS) || defined(sun) || defined(__sun) - /* - * SunOS - */ -# undef PJ_SUNOS -# define PJ_SUNOS 1 -# include - -#elif defined(PJ_DARWINOS) || defined(__MACOSX__) || \ - defined (__APPLE__) || defined (__MACH__) - /* - * MacOS X - */ -# undef PJ_DARWINOS -# define PJ_DARWINOS 1 -# include - -#elif defined(PJ_RTEMS) && PJ_RTEMS!=0 - /* - * RTEMS - */ -# include -#else -# error "Please specify target os." -#endif - - -/******************************************************************** - * Target machine specific configuration. - */ -#if defined(PJ_AUTOCONF) - /* - * Autoconf configured - */ -#include - -#elif defined (PJ_M_I386) || defined(_i386_) || defined(i_386_) || \ - defined(_X86_) || defined(x86) || defined(__i386__) || \ - defined(__i386) || defined(_M_IX86) || defined(__I86__) - /* - * Generic i386 processor family, little-endian - */ -# undef PJ_M_I386 -# define PJ_M_I386 1 -# define PJ_M_NAME "i386" -# define PJ_HAS_PENTIUM 1 -# define PJ_IS_LITTLE_ENDIAN 1 -# define PJ_IS_BIG_ENDIAN 0 - - -#elif defined (PJ_M_X86_64) || defined(__amd64__) || defined(__amd64) || \ - defined(__x86_64__) || defined(__x86_64) - /* - * AMD 64bit processor, little endian - */ -# undef PJ_M_X86_64 -# define PJ_M_X86_64 1 -# define PJ_M_NAME "x86_64" -# define PJ_HAS_PENTIUM 1 -# define PJ_IS_LITTLE_ENDIAN 1 -# define PJ_IS_BIG_ENDIAN 0 - -#elif defined(PJ_M_IA64) || defined(__ia64__) || defined(_IA64) || \ - defined(__IA64__) || defined( _M_IA64) - /* - * Intel IA64 processor, default to little endian - */ -# undef PJ_M_IA64 -# define PJ_M_IA64 1 -# define PJ_M_NAME "ia64" -# define PJ_HAS_PENTIUM 1 -# define PJ_IS_LITTLE_ENDIAN 1 -# define PJ_IS_BIG_ENDIAN 0 - -#elif defined (PJ_M_M68K) && PJ_M_M68K != 0 - - /* - * Motorola m68k processor, big endian - */ -# undef PJ_M_M68K -# define PJ_M_M68K 1 -# define PJ_M_NAME "m68k" -# define PJ_HAS_PENTIUM 0 -# define PJ_IS_LITTLE_ENDIAN 0 -# define PJ_IS_BIG_ENDIAN 1 - - -#elif defined (PJ_M_ALPHA) || defined (__alpha__) || defined (__alpha) || \ - defined (_M_ALPHA) - /* - * DEC Alpha processor, little endian - */ -# undef PJ_M_ALPHA -# define PJ_M_ALPHA 1 -# define PJ_M_NAME "alpha" -# define PJ_HAS_PENTIUM 0 -# define PJ_IS_LITTLE_ENDIAN 1 -# define PJ_IS_BIG_ENDIAN 0 - - -#elif defined(PJ_M_MIPS) || defined(__mips__) || defined(__mips) || \ - defined(__MIPS__) || defined(MIPS) || defined(_MIPS_) - /* - * MIPS, bi-endian, so raise error if endianness is not configured - */ -# undef PJ_M_MIPS -# define PJ_M_MIPS 1 -# define PJ_M_NAME "mips" -# define PJ_HAS_PENTIUM 0 -# if !PJ_IS_LITTLE_ENDIAN && !PJ_IS_BIG_ENDIAN -# error Endianness must be declared for this processor -# endif - - -#elif defined (PJ_M_SPARC) || defined( __sparc__) || defined(__sparc) - /* - * Sun Sparc, big endian - */ -# undef PJ_M_SPARC -# define PJ_M_SPARC 1 -# define PJ_M_NAME "sparc" -# define PJ_HAS_PENTIUM 0 -# define PJ_IS_LITTLE_ENDIAN 0 -# define PJ_IS_BIG_ENDIAN 1 - -#elif defined (PJ_M_ARMV4) || defined(ARM) || defined(_ARM_) || \ - defined(ARMV4) || defined(__arm__) - /* - * ARM, bi-endian, so raise error if endianness is not configured - */ -# undef PJ_M_ARMV4 -# define PJ_M_ARMV4 1 -# define PJ_M_NAME "armv4" -# define PJ_HAS_PENTIUM 0 -# if !PJ_IS_LITTLE_ENDIAN && !PJ_IS_BIG_ENDIAN -# error Endianness must be declared for this processor -# endif - -#elif defined (PJ_M_POWERPC) || defined(__powerpc) || defined(__powerpc__) || \ - defined(__POWERPC__) || defined(__ppc__) || defined(_M_PPC) || \ - defined(_ARCH_PPC) - /* - * PowerPC, bi-endian, so raise error if endianness is not configured - */ -# undef PJ_M_POWERPC -# define PJ_M_POWERPC 1 -# define PJ_M_NAME "powerpc" -# define PJ_HAS_PENTIUM 0 -# if !PJ_IS_LITTLE_ENDIAN && !PJ_IS_BIG_ENDIAN -# error Endianness must be declared for this processor -# endif - -#elif defined (PJ_M_NIOS2) || defined(__nios2) || defined(__nios2__) || \ - defined(__NIOS2__) || defined(__M_NIOS2) || defined(_ARCH_NIOS2) - /* - * Nios2, little endian - */ -# undef PJ_M_NIOS2 -# define PJ_M_NIOS2 1 -# define PJ_M_NAME "nios2" -# define PJ_HAS_PENTIUM 0 -# define PJ_IS_LITTLE_ENDIAN 1 -# define PJ_IS_BIG_ENDIAN 0 - -#else -# error "Please specify target machine." -#endif - -/* Include size_t definition. */ -#include - -/* Include site/user specific configuration to control PJLIB features. - * YOU MUST CREATE THIS FILE YOURSELF!! - */ -#include - -/******************************************************************** - * PJLIB Features. - */ - -/* Overrides for DOXYGEN */ -#ifdef DOXYGEN -# undef PJ_FUNCTIONS_ARE_INLINED -# undef PJ_HAS_FLOATING_POINT -# undef PJ_LOG_MAX_LEVEL -# undef PJ_LOG_MAX_SIZE -# undef PJ_LOG_USE_STACK_BUFFER -# undef PJ_TERM_HAS_COLOR -# undef PJ_POOL_DEBUG -# undef PJ_HAS_TCP -# undef PJ_MAX_HOSTNAME -# undef PJ_IOQUEUE_MAX_HANDLES -# undef FD_SETSIZE -# undef PJ_HAS_SEMAPHORE -# undef PJ_HAS_EVENT_OBJ -# undef PJ_ENABLE_EXTRA_CHECK -# undef PJ_EXCEPTION_USE_WIN32_SEH -# undef PJ_HAS_ERROR_STRING - -# define PJ_HAS_IPV6 1 -#endif - -/** - * @defgroup pj_config Build Configuration - * @{ - * - * This section contains macros that can set during PJLIB build process - * to controll various aspects of the library. - * - * Note: the values in this page does NOT necessarily reflect to the - * macro values during the build process. - */ - -/** - * If this macro is set to 1, it will enable some debugging checking - * in the library. - * - * Default: equal to (NOT NDEBUG). - */ -#ifndef PJ_DEBUG -# ifndef NDEBUG -# define PJ_DEBUG 1 -# else -# define PJ_DEBUG 0 -# endif -#endif - -/** - * Enable this macro to activate logging to mutex/semaphore related events. - * This is useful to troubleshoot concurrency problems such as deadlocks. - * In addition, you should also add PJ_LOG_HAS_THREAD_ID flag to the - * log decoration to assist the troubleshooting. - * - * Default: 0 - */ -#ifndef PJ_DEBUG_MUTEX -# define PJ_DEBUG_MUTEX 0 -#endif - -/** - * Expand functions in *_i.h header files as inline. - * - * Default: 0. - */ -#ifndef PJ_FUNCTIONS_ARE_INLINED -# define PJ_FUNCTIONS_ARE_INLINED 0 -#endif - -/** - * Use floating point computations in the library. - * - * Default: 1. - */ -#ifndef PJ_HAS_FLOATING_POINT -# define PJ_HAS_FLOATING_POINT 1 -#endif - -/** - * Declare maximum logging level/verbosity. Lower number indicates higher - * importance, with the highest importance has level zero. The least - * important level is five in this implementation, but this can be extended - * by supplying the appropriate implementation. - * - * The level conventions: - * - 0: fatal error - * - 1: error - * - 2: warning - * - 3: info - * - 4: debug - * - 5: trace - * - 6: more detailed trace - * - * Default: 4 - */ -#ifndef PJ_LOG_MAX_LEVEL -# define PJ_LOG_MAX_LEVEL 5 -#endif - -/** - * Maximum message size that can be sent to output device for each call - * to PJ_LOG(). If the message size is longer than this value, it will be cut. - * This may affect the stack usage, depending whether PJ_LOG_USE_STACK_BUFFER - * flag is set. - * - * Default: 4000 - */ -#ifndef PJ_LOG_MAX_SIZE -# define PJ_LOG_MAX_SIZE 4000 -#endif - -/** - * Log buffer. - * Does the log get the buffer from the stack? (default is yes). - * If the value is set to NO, then the buffer will be taken from static - * buffer, which in this case will make the log function non-reentrant. - * - * Default: 1 - */ -#ifndef PJ_LOG_USE_STACK_BUFFER -# define PJ_LOG_USE_STACK_BUFFER 1 -#endif - -/** - * Enable log indentation feature. - * - * Default: 1 - */ -#ifndef PJ_LOG_ENABLE_INDENT -# define PJ_LOG_ENABLE_INDENT 1 -#endif - -/** - * Number of PJ_LOG_INDENT_CHAR to put every time pj_log_push_indent() - * is called. - * - * Default: 1 - */ -#ifndef PJ_LOG_INDENT_SIZE -# define PJ_LOG_INDENT_SIZE 1 -#endif - -/** - * Log indentation character. - * - * Default: space - */ -#ifndef PJ_LOG_INDENT_CHAR -# define PJ_LOG_INDENT_CHAR '.' -#endif - -/** - * Colorfull terminal (for logging etc). - * - * Default: 1 - */ -#ifndef PJ_TERM_HAS_COLOR -# define PJ_TERM_HAS_COLOR 1 -#endif - - -/** - * Set this flag to non-zero to enable various checking for pool - * operations. When this flag is set, assertion must be enabled - * in the application. - * - * This will slow down pool creation and destruction and will add - * few bytes of overhead, so application would normally want to - * disable this feature on release build. - * - * Default: 0 - */ -#ifndef PJ_SAFE_POOL -# define PJ_SAFE_POOL 0 -#endif - - -/** - * If pool debugging is used, then each memory allocation from the pool - * will call malloc(), and pool will release all memory chunks when it - * is destroyed. This works better when memory verification programs - * such as Rational Purify is used. - * - * Default: 0 - */ -#ifndef PJ_POOL_DEBUG -# define PJ_POOL_DEBUG 0 -#endif - - -/** - * Specify this as \a stack_size argument in #pj_thread_create() to specify - * that thread should use default stack size for the current platform. - * - * Default: 8192 - */ -#ifndef PJ_THREAD_DEFAULT_STACK_SIZE -# define PJ_THREAD_DEFAULT_STACK_SIZE 8192 -#endif - - -/** - * Specify if PJ_CHECK_STACK() macro is enabled to check the sanity of - * the stack. The OS implementation may check that no stack overflow - * occurs, and it also may collect statistic about stack usage. Note - * that this will increase the footprint of the libraries since it - * tracks the filename and line number of each functions. - */ -#ifndef PJ_OS_HAS_CHECK_STACK -# define PJ_OS_HAS_CHECK_STACK 0 -#endif - -/** - * Do we have alternate pool implementation? - * - * Default: 0 - */ -#ifndef PJ_HAS_POOL_ALT_API -# define PJ_HAS_POOL_ALT_API PJ_POOL_DEBUG -#endif - - -/** - * Support TCP in the library. - * Disabling TCP will reduce the footprint slightly (about 6KB). - * - * Default: 1 - */ -#ifndef PJ_HAS_TCP -# define PJ_HAS_TCP 1 -#endif - -/** - * Support IPv6 in the library. If this support is disabled, some IPv6 - * related functions will return PJ_EIPV6NOTSUP. - * - * Default: 0 (disabled, for now) - */ -#ifndef PJ_HAS_IPV6 -# define PJ_HAS_IPV6 0 -#endif - - /** - * Maximum hostname length. - * Libraries sometimes needs to make copy of an address to stack buffer; - * the value here affects the stack usage. - * - * Default: 128 - */ -#ifndef PJ_MAX_HOSTNAME -# define PJ_MAX_HOSTNAME (128) -#endif - -/** - * Maximum consecutive identical error for accept() operation before - * activesock stops calling the next ioqueue accept. - * - * Default: 50 - */ -#ifndef PJ_ACTIVESOCK_MAX_CONSECUTIVE_ACCEPT_ERROR -# define PJ_ACTIVESOCK_MAX_CONSECUTIVE_ACCEPT_ERROR 50 -#endif - -/** - * Constants for declaring the maximum handles that can be supported by - * a single IOQ framework. This constant might not be relevant to the - * underlying I/O queue impelementation, but still, developers should be - * aware of this constant, to make sure that the program will not break when - * the underlying implementation changes. - */ -#ifndef PJ_IOQUEUE_MAX_HANDLES -# define PJ_IOQUEUE_MAX_HANDLES (64) -#endif - - -/** - * If PJ_IOQUEUE_HAS_SAFE_UNREG macro is defined, then ioqueue will do more - * things to ensure thread safety of handle unregistration operation by - * employing reference counter to each handle. - * - * In addition, the ioqueue will preallocate memory for the handles, - * according to the maximum number of handles that is specified during - * ioqueue creation. - * - * All applications would normally want this enabled, but you may disable - * this if: - * - there is no dynamic unregistration to all ioqueues. - * - there is no threading, or there is no preemptive multitasking. - * - * Default: 1 - */ -#ifndef PJ_IOQUEUE_HAS_SAFE_UNREG -# define PJ_IOQUEUE_HAS_SAFE_UNREG 1 -#endif - - -/** - * Default concurrency setting for sockets/handles registered to ioqueue. - * This controls whether the ioqueue is allowed to call the key's callback - * concurrently/in parallel. The default is yes, which means that if there - * are more than one pending operations complete simultaneously, more - * than one threads may call the key's callback at the same time. This - * generally would promote good scalability for application, at the - * expense of more complexity to manage the concurrent accesses. - * - * Please see the ioqueue documentation for more info. - */ -#ifndef PJ_IOQUEUE_DEFAULT_ALLOW_CONCURRENCY -# define PJ_IOQUEUE_DEFAULT_ALLOW_CONCURRENCY 1 -#endif - - -/* Sanity check: - * if ioqueue concurrency is disallowed, PJ_IOQUEUE_HAS_SAFE_UNREG - * must be enabled. - */ -#if (PJ_IOQUEUE_DEFAULT_ALLOW_CONCURRENCY==0) && (PJ_IOQUEUE_HAS_SAFE_UNREG==0) -# error PJ_IOQUEUE_HAS_SAFE_UNREG must be enabled if ioqueue concurrency \ - is disabled -#endif - - -/** - * When safe unregistration (PJ_IOQUEUE_HAS_SAFE_UNREG) is configured in - * ioqueue, the PJ_IOQUEUE_KEY_FREE_DELAY macro specifies how long the - * ioqueue key is kept in closing state before it can be reused. - * - * The value is in miliseconds. - * - * Default: 500 msec. - */ -#ifndef PJ_IOQUEUE_KEY_FREE_DELAY -# define PJ_IOQUEUE_KEY_FREE_DELAY 500 -#endif - - -/** - * Determine if FD_SETSIZE is changeable/set-able. If so, then we will - * set it to PJ_IOQUEUE_MAX_HANDLES. Currently we detect this by checking - * for Winsock. - */ -#ifndef PJ_FD_SETSIZE_SETABLE -# if (defined(PJ_HAS_WINSOCK_H) && PJ_HAS_WINSOCK_H!=0) || \ - (defined(PJ_HAS_WINSOCK2_H) && PJ_HAS_WINSOCK2_H!=0) -# define PJ_FD_SETSIZE_SETABLE 1 -# else -# define PJ_FD_SETSIZE_SETABLE 0 -# endif -#endif - -/** - * Overrides FD_SETSIZE so it is consistent throughout the library. - * We only do this if we detected that FD_SETSIZE is changeable. If - * FD_SETSIZE is not set-able, then PJ_IOQUEUE_MAX_HANDLES must be - * set to value lower than FD_SETSIZE. - */ -#if PJ_FD_SETSIZE_SETABLE - /* Only override FD_SETSIZE if the value has not been set */ -# ifndef FD_SETSIZE -# define FD_SETSIZE PJ_IOQUEUE_MAX_HANDLES -# endif -#else - /* When FD_SETSIZE is not changeable, check if PJ_IOQUEUE_MAX_HANDLES - * is lower than FD_SETSIZE value. - */ -# ifdef FD_SETSIZE -# if PJ_IOQUEUE_MAX_HANDLES > FD_SETSIZE -# error "PJ_IOQUEUE_MAX_HANDLES is greater than FD_SETSIZE" -# endif -# endif -#endif - - -/** - * Specify whether #pj_enum_ip_interface() function should exclude - * loopback interfaces. - * - * Default: 1 - */ -#ifndef PJ_IP_HELPER_IGNORE_LOOPBACK_IF -# define PJ_IP_HELPER_IGNORE_LOOPBACK_IF 1 -#endif - - -/** - * Has semaphore functionality? - * - * Default: 1 - */ -#ifndef PJ_HAS_SEMAPHORE -# define PJ_HAS_SEMAPHORE 1 -#endif - - -/** - * Event object (for synchronization, e.g. in Win32) - * - * Default: 1 - */ -#ifndef PJ_HAS_EVENT_OBJ -# define PJ_HAS_EVENT_OBJ 1 -#endif - - -/** - * Maximum file name length. - */ -#ifndef PJ_MAXPATH -# define PJ_MAXPATH 260 -#endif - - -/** - * Enable library's extra check. - * If this macro is enabled, #PJ_ASSERT_RETURN macro will expand to - * run-time checking. If this macro is disabled, #PJ_ASSERT_RETURN - * will simply evaluate to #pj_assert(). - * - * You can disable this macro to reduce size, at the risk of crashes - * if invalid value (e.g. NULL) is passed to the library. - * - * Default: 1 - */ -#ifndef PJ_ENABLE_EXTRA_CHECK -# define PJ_ENABLE_EXTRA_CHECK 1 -#endif - - -/** - * Enable name registration for exceptions with #pj_exception_id_alloc(). - * If this feature is enabled, then the library will keep track of - * names associated with each exception ID requested by application via - * #pj_exception_id_alloc(). - * - * Disabling this macro will reduce the code and .bss size by a tad bit. - * See also #PJ_MAX_EXCEPTION_ID. - * - * Default: 1 - */ -#ifndef PJ_HAS_EXCEPTION_NAMES -# define PJ_HAS_EXCEPTION_NAMES 1 -#endif - -/** - * Maximum number of unique exception IDs that can be requested - * with #pj_exception_id_alloc(). For each entry, a small record will - * be allocated in the .bss segment. - * - * Default: 16 - */ -#ifndef PJ_MAX_EXCEPTION_ID -# define PJ_MAX_EXCEPTION_ID 16 -#endif - -/** - * Should we use Windows Structured Exception Handling (SEH) for the - * PJLIB exceptions. - * - * Default: 0 - */ -#ifndef PJ_EXCEPTION_USE_WIN32_SEH -# define PJ_EXCEPTION_USE_WIN32_SEH 0 -#endif - -/** - * Should we attempt to use Pentium's rdtsc for high resolution - * timestamp. - * - * Default: 0 - */ -#ifndef PJ_TIMESTAMP_USE_RDTSC -# define PJ_TIMESTAMP_USE_RDTSC 0 -#endif - -/** - * Is native platform error positive number? - * Default: 1 (yes) - */ -#ifndef PJ_NATIVE_ERR_POSITIVE -# define PJ_NATIVE_ERR_POSITIVE 1 -#endif - -/** - * Include error message string in the library (pj_strerror()). - * This is very much desirable! - * - * Default: 1 - */ -#ifndef PJ_HAS_ERROR_STRING -# define PJ_HAS_ERROR_STRING 1 -#endif - - -/** - * Include pj_stricmp_alnum() and pj_strnicmp_alnum(), i.e. custom - * functions to compare alnum strings. On some systems, they're faster - * then stricmp/strcasecmp, but they can be slower on other systems. - * When disabled, pjlib will fallback to stricmp/strnicmp. - * - * Default: 0 - */ -#ifndef PJ_HAS_STRICMP_ALNUM -# define PJ_HAS_STRICMP_ALNUM 0 -#endif - - -/* - * Types of QoS backend implementation. - */ - -/** - * Dummy QoS backend implementation, will always return error on all - * the APIs. - */ -#define PJ_QOS_DUMMY 1 - -/** QoS backend based on setsockopt(IP_TOS) */ -#define PJ_QOS_BSD 2 - -/** QoS backend for Windows Mobile 6 */ -#define PJ_QOS_WM 3 - -/** QoS backend for Symbian */ -#define PJ_QOS_SYMBIAN 4 - -/** - * Force the use of some QoS backend API for some platforms. - */ -#ifndef PJ_QOS_IMPLEMENTATION -# if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE && _WIN32_WCE >= 0x502 - /* Windows Mobile 6 or later */ -# define PJ_QOS_IMPLEMENTATION PJ_QOS_WM -# endif -#endif - - -/** - * Enable secure socket. For most platforms, this is implemented using - * OpenSSL, so this will require OpenSSL to be installed. For Symbian - * platform, this is implemented natively using CSecureSocket. - * - * Default: 0 (for now) - */ -#ifndef PJ_HAS_SSL_SOCK -# define PJ_HAS_SSL_SOCK 0 -#endif - - -/** - * Disable WSAECONNRESET error for UDP sockets on Win32 platforms. See - * https://trac.pjsip.org/repos/ticket/1197. - * - * Default: 1 - */ -#ifndef PJ_SOCK_DISABLE_WSAECONNRESET -# define PJ_SOCK_DISABLE_WSAECONNRESET 1 -#endif - - -/** @} */ - -/******************************************************************** - * General macros. - */ - -/** - * @defgroup pj_dll_target Building Dynamic Link Libraries (DLL/DSO) - * @ingroup pj_config - * @{ - * - * The libraries support generation of dynamic link libraries for - * Symbian ABIv2 target (.dso/Dynamic Shared Object files, in Symbian - * terms). Similar procedures may be applied for Win32 DLL with some - * modification. - * - * Depending on the platforms, these steps may be necessary in order to - * produce the dynamic libraries: - * - Create the (Visual Studio) projects to produce DLL output. PJLIB - * does not provide ready to use project files to produce DLL, so - * you need to create these projects yourself. For Symbian, the MMP - * files have been setup to produce DSO files for targets that - * require them. - * - In the (Visual Studio) projects, some macros need to be declared - * so that appropriate modifiers are added to symbol declarations - * and definitions. Please see the macro section below for information - * regarding these macros. For Symbian, these have been taken care by the - * MMP files. - * - Some build systems require .DEF file to be specified when creating - * the DLL. For Symbian, .DEF files are included in pjlib distribution, - * in pjlib/build.symbian directory. These DEF files are - * created by running ./makedef.sh all from this directory, - * inside Mingw. - * - * Macros related for building DLL/DSO files: - * - For platforms that supports dynamic link libraries generation, - * it must declare PJ_EXPORT_SPECIFIER macro which value contains - * the prefix to be added to symbol definition, to export this - * symbol in the DLL/DSO. For example, on Win32/Visual Studio, the - * value of this macro is \a __declspec(dllexport), and for ARM - * ABIv2/Symbian, the value is \a EXPORT_C. - * - For platforms that supports linking with dynamic link libraries, - * it must declare PJ_IMPORT_SPECIFIER macro which value contains - * the prefix to be added to symbol declaration, to import this - * symbol from a DLL/DSO. For example, on Win32/Visual Studio, the - * value of this macro is \a __declspec(dllimport), and for ARM - * ABIv2/Symbian, the value is \a IMPORT_C. - * - Both PJ_EXPORT_SPECIFIER and PJ_IMPORT_SPECIFIER - * macros above can be declared in your \a config_site.h if they are not - * declared by pjlib. - * - When PJLIB is built as DLL/DSO, both PJ_DLL and - * PJ_EXPORTING macros must be declared, so that - * PJ_EXPORT_SPECIFIER modifier will be added into function - * definition. - * - When application wants to link dynamically with PJLIB, then it - * must declare PJ_DLL macro when using/including PJLIB header, - * so that PJ_IMPORT_SPECIFIER modifier is properly added into - * symbol declarations. - * - * When PJ_DLL macro is not declared, static linking is assumed. - * - * For example, here are some settings to produce DLLs with Visual Studio - * on Windows/Win32: - * - Create Visual Studio projects to produce DLL. Add the appropriate - * project dependencies to avoid link errors. - * - In the projects, declare PJ_DLL and PJ_EXPORTING - * macros. - * - Declare these macros in your config_site.h: - \verbatim - #define PJ_EXPORT_SPECIFIER __declspec(dllexport) - #define PJ_IMPORT_SPECIFIER __declspec(dllimport) - \endverbatim - * - And in the application (that links with the DLL) project, add - * PJ_DLL in the macro declarations. - */ - -/** @} */ - -/** - * @defgroup pj_config Build Configuration - * @{ - */ - -/** - * @def PJ_INLINE(type) - * @param type The return type of the function. - * Expand the function as inline. - */ -#define PJ_INLINE(type) PJ_INLINE_SPECIFIER type - -/** - * This macro declares platform/compiler specific specifier prefix - * to be added to symbol declaration to export the symbol when PJLIB - * is built as dynamic library. - * - * This macro should have been added by platform specific headers, - * if the platform supports building dynamic library target. - */ -#ifndef PJ_EXPORT_DECL_SPECIFIER -# define PJ_EXPORT_DECL_SPECIFIER -#endif - - -/** - * This macro declares platform/compiler specific specifier prefix - * to be added to symbol definition to export the symbol when PJLIB - * is built as dynamic library. - * - * This macro should have been added by platform specific headers, - * if the platform supports building dynamic library target. - */ -#ifndef PJ_EXPORT_DEF_SPECIFIER -# define PJ_EXPORT_DEF_SPECIFIER -#endif - - -/** - * This macro declares platform/compiler specific specifier prefix - * to be added to symbol declaration to import the symbol. - * - * This macro should have been added by platform specific headers, - * if the platform supports building dynamic library target. - */ -#ifndef PJ_IMPORT_DECL_SPECIFIER -# define PJ_IMPORT_DECL_SPECIFIER -#endif - - -/** - * This macro has been deprecated. It will evaluate to nothing. - */ -#ifndef PJ_EXPORT_SYMBOL -# define PJ_EXPORT_SYMBOL(x) -#endif - - -/** - * @def PJ_DECL(type) - * @param type The return type of the function. - * Declare a function. - */ -#if defined(PJ_DLL) -# if defined(PJ_EXPORTING) -# define PJ_DECL(type) PJ_EXPORT_DECL_SPECIFIER type -# else -# define PJ_DECL(type) PJ_IMPORT_DECL_SPECIFIER type -# endif -#elif !defined(PJ_DECL) -# if defined(__cplusplus) -# define PJ_DECL(type) type -# else -# define PJ_DECL(type) extern type -# endif -#endif - - -/** - * @def PJ_DEF(type) - * @param type The return type of the function. - * Define a function. - */ -#if defined(PJ_DLL) && defined(PJ_EXPORTING) -# define PJ_DEF(type) PJ_EXPORT_DEF_SPECIFIER type -#elif !defined(PJ_DEF) -# define PJ_DEF(type) type -#endif - - -/** - * @def PJ_DECL_NO_RETURN(type) - * @param type The return type of the function. - * Declare a function that will not return. - */ -/** - * @def PJ_IDECL_NO_RETURN(type) - * @param type The return type of the function. - * Declare an inline function that will not return. - */ -/** - * @def PJ_BEGIN_DECL - * Mark beginning of declaration section in a header file. - */ -/** - * @def PJ_END_DECL - * Mark end of declaration section in a header file. - */ -#ifdef __cplusplus -# define PJ_DECL_NO_RETURN(type) PJ_DECL(type) PJ_NORETURN -# define PJ_IDECL_NO_RETURN(type) PJ_INLINE(type) PJ_NORETURN -# define PJ_BEGIN_DECL extern "C" { -# define PJ_END_DECL } -#else -# define PJ_DECL_NO_RETURN(type) PJ_NORETURN PJ_DECL(type) -# define PJ_IDECL_NO_RETURN(type) PJ_NORETURN PJ_INLINE(type) -# define PJ_BEGIN_DECL -# define PJ_END_DECL -#endif - - - -/** - * @def PJ_DECL_DATA(type) - * @param type The data type. - * Declare a global data. - */ -#if defined(PJ_DLL) -# if defined(PJ_EXPORTING) -# define PJ_DECL_DATA(type) PJ_EXPORT_DECL_SPECIFIER extern type -# else -# define PJ_DECL_DATA(type) PJ_IMPORT_DECL_SPECIFIER extern type -# endif -#elif !defined(PJ_DECL_DATA) -# define PJ_DECL_DATA(type) extern type -#endif - - -/** - * @def PJ_DEF_DATA(type) - * @param type The data type. - * Define a global data. - */ -#if defined(PJ_DLL) && defined(PJ_EXPORTING) -# define PJ_DEF_DATA(type) PJ_EXPORT_DEF_SPECIFIER type -#elif !defined(PJ_DEF_DATA) -# define PJ_DEF_DATA(type) type -#endif - - -/** - * @def PJ_IDECL(type) - * @param type The function's return type. - * Declare a function that may be expanded as inline. - */ -/** - * @def PJ_IDEF(type) - * @param type The function's return type. - * Define a function that may be expanded as inline. - */ - -#if PJ_FUNCTIONS_ARE_INLINED -# define PJ_IDECL(type) PJ_INLINE(type) -# define PJ_IDEF(type) PJ_INLINE(type) -#else -# define PJ_IDECL(type) PJ_DECL(type) -# define PJ_IDEF(type) PJ_DEF(type) -#endif - - -/** - * @def PJ_UNUSED_ARG(arg) - * @param arg The argument name. - * PJ_UNUSED_ARG prevents warning about unused argument in a function. - */ -#define PJ_UNUSED_ARG(arg) (void)arg - -/** - * @def PJ_TODO(id) - * @param id Any identifier that will be printed as TODO message. - * PJ_TODO macro will display TODO message as warning during compilation. - * Example: PJ_TODO(CLEAN_UP_ERROR); - */ -#ifndef PJ_TODO -# define PJ_TODO(id) TODO___##id: -#endif - -/** - * Function attributes to inform that the function may throw exception. - * - * @param x The exception list, enclosed in parenthesis. - */ -#define __pj_throw__(x) - -/** @} */ - -/******************************************************************** - * Sanity Checks - */ -#ifndef PJ_HAS_HIGH_RES_TIMER -# error "PJ_HAS_HIGH_RES_TIMER is not defined!" -#endif - -#if !defined(PJ_HAS_PENTIUM) -# error "PJ_HAS_PENTIUM is not defined!" -#endif - -#if !defined(PJ_IS_LITTLE_ENDIAN) -# error "PJ_IS_LITTLE_ENDIAN is not defined!" -#endif - -#if !defined(PJ_IS_BIG_ENDIAN) -# error "PJ_IS_BIG_ENDIAN is not defined!" -#endif - -#if !defined(PJ_EMULATE_RWMUTEX) -# error "PJ_EMULATE_RWMUTEX should be defined in compat/os_xx.h" -#endif - -#if !defined(PJ_THREAD_SET_STACK_SIZE) -# error "PJ_THREAD_SET_STACK_SIZE should be defined in compat/os_xx.h" -#endif - -#if !defined(PJ_THREAD_ALLOCATE_STACK) -# error "PJ_THREAD_ALLOCATE_STACK should be defined in compat/os_xx.h" -#endif - -PJ_BEGIN_DECL - -/** PJLIB version major number. */ -#define PJ_VERSION_NUM_MAJOR 2 - -/** PJLIB version minor number. */ -#define PJ_VERSION_NUM_MINOR 0 - -/** PJLIB version revision number. */ -#define PJ_VERSION_NUM_REV 0 - -/** - * Extra suffix for the version (e.g. "-trunk"), or empty for - * web release version. - */ -#define PJ_VERSION_NUM_EXTRA "" - -/** - * PJLIB version number consists of three bytes with the following format: - * 0xMMIIRR00, where MM: major number, II: minor number, RR: revision - * number, 00: always zero for now. - */ -#define PJ_VERSION_NUM ((PJ_VERSION_NUM_MAJOR << 24) | \ - (PJ_VERSION_NUM_MINOR << 16) | \ - (PJ_VERSION_NUM_REV << 8)) - -/** - * PJLIB version string constant. @see pj_get_version() - */ -PJ_DECL_DATA(const char*) PJ_VERSION; - -/** - * Get PJLIB version string. - * - * @return #PJ_VERSION constant. - */ -PJ_DECL(const char*) pj_get_version(void); - -/** - * Dump configuration to log with verbosity equal to info(3). - */ -PJ_DECL(void) pj_dump_config(void); - -PJ_END_DECL - - -#endif /* __PJ_CONFIG_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/config_site.h b/res/pjproject/pjlib/include/pj/config_site.h deleted file mode 100644 index 553eaae562..0000000000 --- a/res/pjproject/pjlib/include/pj/config_site.h +++ /dev/null @@ -1,409 +0,0 @@ -/* - * This file contains several sample settings especially for Windows - * Mobile and Symbian targets. You can include this file in your - * file. - * - * The Windows Mobile and Symbian settings will be activated - * automatically if you include this file. - * - * In addition, you may specify one of these macros (before including - * this file) to activate additional settings: - * - * #define PJ_CONFIG_NOKIA_APS_DIRECT - * Use this macro to activate the APS-Direct feature. Please see - * http://trac.pjsip.org/repos/wiki/Nokia_APS_VAS_Direct for more - * info. - * - * #define PJ_CONFIG_WIN32_WMME_DIRECT - * Configuration to activate "APS-Direct" media mode on Windows or - * Windows Mobile, useful for testing purposes only. - */ - -#define PJ_HAS_IPV6 1 -#define PJ_TODO(id) - -/* - * Typical configuration for WinCE target. - */ -#if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0 - - /* - * PJLIB settings. - */ - - /* Disable floating point support */ - #define PJ_HAS_FLOATING_POINT 0 - - /* - * PJMEDIA settings - */ - - /* Select codecs to disable */ - #define PJMEDIA_HAS_L16_CODEC 0 - #define PJMEDIA_HAS_ILBC_CODEC 0 - - /* We probably need more buffers on WM, so increase the limit */ - #define PJMEDIA_SOUND_BUFFER_COUNT 32 - - /* Fine tune Speex's default settings for best performance/quality */ - #define PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY 5 - - /* For CPU reason, disable speex AEC and use the echo suppressor. */ - #define PJMEDIA_HAS_SPEEX_AEC 0 - - /* Previously, resampling is disabled due to performance reason and - * this condition prevented some 'light' wideband codecs (e.g: G722.1) - * to work along with narrowband codecs. Lately, some tests showed - * that 16kHz <-> 8kHz resampling using libresample small filter was - * affordable on ARM9 260 MHz, so here we decided to enable resampling. - * Note that it is important to make sure that libresample is created - * using small filter. For example PJSUA_DEFAULT_CODEC_QUALITY must - * be set to 3 or 4 so pjsua-lib will apply small filter resampling. - */ - //#define PJMEDIA_RESAMPLE_IMP PJMEDIA_RESAMPLE_NONE - #define PJMEDIA_RESAMPLE_IMP PJMEDIA_RESAMPLE_LIBRESAMPLE - - /* Use the lighter WSOLA implementation */ - #define PJMEDIA_WSOLA_IMP PJMEDIA_WSOLA_IMP_WSOLA_LITE - - /* - * PJSIP settings. - */ - - /* Set maximum number of dialog/transaction/calls to minimum to reduce - * memory usage - */ - #define PJSIP_MAX_TSX_COUNT 31 - #define PJSIP_MAX_DIALOG_COUNT 31 - #define PJSUA_MAX_CALLS 4 - - /* - * PJSUA settings - */ - - /* Default codec quality, previously was set to 5, however it is now - * set to 4 to make sure pjsua instantiates resampler with small filter. - */ - #define PJSUA_DEFAULT_CODEC_QUALITY 4 - - /* Set maximum number of objects to minimum to reduce memory usage */ - #define PJSUA_MAX_ACC 4 - #define PJSUA_MAX_PLAYERS 4 - #define PJSUA_MAX_RECORDERS 4 - #define PJSUA_MAX_CONF_PORTS (PJSUA_MAX_CALLS+2*PJSUA_MAX_PLAYERS) - #define PJSUA_MAX_BUDDIES 32 - -#endif /* PJ_WIN32_WINCE */ - - -/* - * Typical configuration for Symbian OS target - */ -#if defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0 - - /* - * PJLIB settings. - */ - - /* Disable floating point support */ - #define PJ_HAS_FLOATING_POINT 0 - - /* Misc PJLIB setting */ - #define PJ_MAXPATH 80 - - /* This is important for Symbian. Symbian lacks vsnprintf(), so - * if the log buffer is not long enough it's possible that - * large incoming packet will corrupt memory when the log tries - * to log the packet. - */ - #define PJ_LOG_MAX_SIZE (PJSIP_MAX_PKT_LEN+500) - - /* Since we don't have threads, log buffer can use static buffer - * rather than stack - */ - #define PJ_LOG_USE_STACK_BUFFER 0 - - /* Disable check stack since it increases footprint */ - #define PJ_OS_HAS_CHECK_STACK 0 - - - /* - * PJMEDIA settings - */ - - /* Disable non-Symbian audio devices */ - #define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0 - #define PJMEDIA_AUDIO_DEV_HAS_WMME 0 - - /* Select codecs to disable */ - #define PJMEDIA_HAS_L16_CODEC 0 - #define PJMEDIA_HAS_ILBC_CODEC 0 - #define PJMEDIA_HAS_G722_CODEC 0 - - /* Fine tune Speex's default settings for best performance/quality */ - #define PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY 5 - - /* For CPU reason, disable speex AEC and use the echo suppressor. */ - #define PJMEDIA_HAS_SPEEX_AEC 0 - - /* Previously, resampling is disabled due to performance reason and - * this condition prevented some 'light' wideband codecs (e.g: G722.1) - * to work along with narrowband codecs. Lately, some tests showed - * that 16kHz <-> 8kHz resampling using libresample small filter was - * affordable on ARM9 222 MHz, so here we decided to enable resampling. - * Note that it is important to make sure that libresample is created - * using small filter. For example PJSUA_DEFAULT_CODEC_QUALITY must - * be set to 3 or 4 so pjsua-lib will apply small filter resampling. - */ - //#define PJMEDIA_RESAMPLE_IMP PJMEDIA_RESAMPLE_NONE - #define PJMEDIA_RESAMPLE_IMP PJMEDIA_RESAMPLE_LIBRESAMPLE - - /* Use the lighter WSOLA implementation */ - #define PJMEDIA_WSOLA_IMP PJMEDIA_WSOLA_IMP_WSOLA_LITE - - /* We probably need more buffers especially if MDA audio backend - * is used, so increase the limit - */ - #define PJMEDIA_SOUND_BUFFER_COUNT 32 - - /* - * PJSIP settings. - */ - - /* Disable safe module access, since we don't use multithreading */ - #define PJSIP_SAFE_MODULE 0 - - /* Use large enough packet size */ - #define PJSIP_MAX_PKT_LEN 2000 - - /* Symbian has problem with too many large blocks */ - #define PJSIP_POOL_LEN_ENDPT 1000 - #define PJSIP_POOL_INC_ENDPT 1000 - #define PJSIP_POOL_RDATA_LEN 2000 - #define PJSIP_POOL_RDATA_INC 2000 - #define PJSIP_POOL_LEN_TDATA 2000 - #define PJSIP_POOL_INC_TDATA 512 - #define PJSIP_POOL_LEN_UA 2000 - #define PJSIP_POOL_INC_UA 1000 - #define PJSIP_POOL_TSX_LAYER_LEN 256 - #define PJSIP_POOL_TSX_LAYER_INC 256 - #define PJSIP_POOL_TSX_LEN 512 - #define PJSIP_POOL_TSX_INC 128 - - /* - * PJSUA settings. - */ - - /* Default codec quality, previously was set to 5, however it is now - * set to 4 to make sure pjsua instantiates resampler with small filter. - */ - #define PJSUA_DEFAULT_CODEC_QUALITY 4 - - /* Set maximum number of dialog/transaction/calls to minimum */ - #define PJSIP_MAX_TSX_COUNT 31 - #define PJSIP_MAX_DIALOG_COUNT 31 - #define PJSUA_MAX_CALLS 4 - - /* Other pjsua settings */ - #define PJSUA_MAX_ACC 4 - #define PJSUA_MAX_PLAYERS 4 - #define PJSUA_MAX_RECORDERS 4 - #define PJSUA_MAX_CONF_PORTS (PJSUA_MAX_CALLS+2*PJSUA_MAX_PLAYERS) - #define PJSUA_MAX_BUDDIES 32 -#endif - - -/* - * Additional configuration to activate APS-Direct feature for - * Nokia S60 target - * - * Please see http://trac.pjsip.org/repos/wiki/Nokia_APS_VAS_Direct - */ -#ifdef PJ_CONFIG_NOKIA_APS_DIRECT - - /* MUST use switchboard rather than the conference bridge */ - #define PJMEDIA_CONF_USE_SWITCH_BOARD 1 - - /* Enable APS sound device backend and disable MDA & VAS */ - #define PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA 0 - #define PJMEDIA_AUDIO_DEV_HAS_SYMB_APS 1 - #define PJMEDIA_AUDIO_DEV_HAS_SYMB_VAS 0 - - /* Enable passthrough codec framework */ - #define PJMEDIA_HAS_PASSTHROUGH_CODECS 1 - - /* And selectively enable which codecs are supported by the handset */ - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMU 1 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMA 1 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_AMR 1 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_G729 1 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_ILBC 1 - -#endif - - -/* - * Additional configuration to activate VAS-Direct feature for - * Nokia S60 target - * - * Please see http://trac.pjsip.org/repos/wiki/Nokia_APS_VAS_Direct - */ -#ifdef PJ_CONFIG_NOKIA_VAS_DIRECT - - /* MUST use switchboard rather than the conference bridge */ - #define PJMEDIA_CONF_USE_SWITCH_BOARD 1 - - /* Enable VAS sound device backend and disable MDA & APS */ - #define PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA 0 - #define PJMEDIA_AUDIO_DEV_HAS_SYMB_APS 0 - #define PJMEDIA_AUDIO_DEV_HAS_SYMB_VAS 1 - - /* Enable passthrough codec framework */ - #define PJMEDIA_HAS_PASSTHROUGH_CODECS 1 - - /* And selectively enable which codecs are supported by the handset */ - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMU 1 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMA 1 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_AMR 1 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_G729 1 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_ILBC 1 - -#endif - - -/* - * Configuration to activate "APS-Direct" media mode on Windows, - * useful for testing purposes only. - */ -#ifdef PJ_CONFIG_WIN32_WMME_DIRECT - - /* MUST use switchboard rather than the conference bridge */ - #define PJMEDIA_CONF_USE_SWITCH_BOARD 1 - - /* Only WMME supports the "direct" feature */ - #define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0 - #define PJMEDIA_AUDIO_DEV_HAS_WMME 1 - - /* Enable passthrough codec framework */ - #define PJMEDIA_HAS_PASSTHROUGH_CODECS 1 - - /* Only PCMA and PCMU are supported by WMME-direct */ - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMU 1 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMA 1 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_AMR 0 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_G729 0 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_ILBC 0 - -#endif - -/* - * iPhone sample settings. - */ -#ifdef PJ_CONFIG_IPHONE - /* - * PJLIB settings. - */ - - /* Disable floating point support */ - #define PJ_HAS_FLOATING_POINT 0 - - /* - * PJMEDIA settings - */ - - /* We have our own native CoreAudio backend */ - #define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0 - #define PJMEDIA_AUDIO_DEV_HAS_WMME 0 - #define PJMEDIA_AUDIO_DEV_HAS_COREAUDIO 1 - - /* The CoreAudio backend has built-in echo canceller! */ - #define PJMEDIA_HAS_SPEEX_AEC 0 - - /* Disable some codecs */ - #define PJMEDIA_HAS_L16_CODEC 0 - #define PJMEDIA_HAS_G722_CODEC 0 - - /* Use the built-in CoreAudio's iLBC codec (yay!) */ - #define PJMEDIA_HAS_ILBC_CODEC 1 - #define PJMEDIA_ILBC_CODEC_USE_COREAUDIO 1 - - /* Fine tune Speex's default settings for best performance/quality */ - #define PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY 5 - - /* - * PJSIP settings. - */ - - /* Increase allowable packet size, just in case */ - //#define PJSIP_MAX_PKT_LEN 2000 - - /* - * PJSUA settings. - */ - - /* Default codec quality, previously was set to 5, however it is now - * set to 4 to make sure pjsua instantiates resampler with small filter. - */ - #define PJSUA_DEFAULT_CODEC_QUALITY 4 - - /* Set maximum number of dialog/transaction/calls to minimum */ - #define PJSIP_MAX_TSX_COUNT 31 - #define PJSIP_MAX_DIALOG_COUNT 31 - #define PJSUA_MAX_CALLS 4 - - /* Other pjsua settings */ - #define PJSUA_MAX_ACC 4 - #define PJSUA_MAX_PLAYERS 4 - #define PJSUA_MAX_RECORDERS 4 - #define PJSUA_MAX_CONF_PORTS (PJSUA_MAX_CALLS+2*PJSUA_MAX_PLAYERS) - #define PJSUA_MAX_BUDDIES 32 - -#endif - -/* - * Minimum size - */ -#ifdef PJ_CONFIG_MINIMAL_SIZE - -# undef PJ_OS_HAS_CHECK_STACK -# define PJ_OS_HAS_CHECK_STACK 0 -# define PJ_LOG_MAX_LEVEL 0 -# define PJ_ENABLE_EXTRA_CHECK 0 -# define PJ_HAS_ERROR_STRING 0 -# undef PJ_IOQUEUE_MAX_HANDLES -/* Putting max handles to lower than 32 will make pj_fd_set_t size smaller - * than native fdset_t and will trigger assertion on sock_select.c. - */ -# define PJ_IOQUEUE_MAX_HANDLES 32 -# define PJ_CRC32_HAS_TABLES 0 -# define PJSIP_MAX_TSX_COUNT 15 -# define PJSIP_MAX_DIALOG_COUNT 15 -# define PJSIP_UDP_SO_SNDBUF_SIZE 4000 -# define PJSIP_UDP_SO_RCVBUF_SIZE 4000 -# define PJMEDIA_HAS_ALAW_ULAW_TABLE 0 - -#elif defined(PJ_CONFIG_MAXIMUM_SPEED) -# define PJ_SCANNER_USE_BITWISE 0 -# undef PJ_OS_HAS_CHECK_STACK -# define PJ_OS_HAS_CHECK_STACK 0 -# define PJ_LOG_MAX_LEVEL 3 -# define PJ_ENABLE_EXTRA_CHECK 0 -# define PJ_IOQUEUE_MAX_HANDLES 5000 -# define PJSIP_MAX_TSX_COUNT ((640*1024)-1) -# define PJSIP_MAX_DIALOG_COUNT ((640*1024)-1) -# define PJSIP_UDP_SO_SNDBUF_SIZE (24*1024*1024) -# define PJSIP_UDP_SO_RCVBUF_SIZE (24*1024*1024) -# define PJ_DEBUG 0 -# define PJSIP_SAFE_MODULE 0 -# define PJ_HAS_STRICMP_ALNUM 0 -# define PJ_HASH_USE_OWN_TOLOWER 1 -# define PJSIP_UNESCAPE_IN_PLACE 1 - -# ifdef PJ_WIN32 -# define PJSIP_MAX_NET_EVENTS 10 -# endif - -# define PJSUA_MAX_CALLS 512 - -#endif - diff --git a/res/pjproject/pjlib/include/pj/config_site_sample.h b/res/pjproject/pjlib/include/pj/config_site_sample.h deleted file mode 100644 index 0c7832f068..0000000000 --- a/res/pjproject/pjlib/include/pj/config_site_sample.h +++ /dev/null @@ -1,407 +0,0 @@ -/* - * This file contains several sample settings especially for Windows - * Mobile and Symbian targets. You can include this file in your - * file. - * - * The Windows Mobile and Symbian settings will be activated - * automatically if you include this file. - * - * In addition, you may specify one of these macros (before including - * this file) to activate additional settings: - * - * #define PJ_CONFIG_NOKIA_APS_DIRECT - * Use this macro to activate the APS-Direct feature. Please see - * http://trac.pjsip.org/repos/wiki/Nokia_APS_VAS_Direct for more - * info. - * - * #define PJ_CONFIG_WIN32_WMME_DIRECT - * Configuration to activate "APS-Direct" media mode on Windows or - * Windows Mobile, useful for testing purposes only. - */ - - -/* - * Typical configuration for WinCE target. - */ -#if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0 - - /* - * PJLIB settings. - */ - - /* Disable floating point support */ - #define PJ_HAS_FLOATING_POINT 0 - - /* - * PJMEDIA settings - */ - - /* Select codecs to disable */ - #define PJMEDIA_HAS_L16_CODEC 0 - #define PJMEDIA_HAS_ILBC_CODEC 0 - - /* We probably need more buffers on WM, so increase the limit */ - #define PJMEDIA_SOUND_BUFFER_COUNT 32 - - /* Fine tune Speex's default settings for best performance/quality */ - #define PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY 5 - - /* For CPU reason, disable speex AEC and use the echo suppressor. */ - #define PJMEDIA_HAS_SPEEX_AEC 0 - - /* Previously, resampling is disabled due to performance reason and - * this condition prevented some 'light' wideband codecs (e.g: G722.1) - * to work along with narrowband codecs. Lately, some tests showed - * that 16kHz <-> 8kHz resampling using libresample small filter was - * affordable on ARM9 260 MHz, so here we decided to enable resampling. - * Note that it is important to make sure that libresample is created - * using small filter. For example PJSUA_DEFAULT_CODEC_QUALITY must - * be set to 3 or 4 so pjsua-lib will apply small filter resampling. - */ - //#define PJMEDIA_RESAMPLE_IMP PJMEDIA_RESAMPLE_NONE - #define PJMEDIA_RESAMPLE_IMP PJMEDIA_RESAMPLE_LIBRESAMPLE - - /* Use the lighter WSOLA implementation */ - #define PJMEDIA_WSOLA_IMP PJMEDIA_WSOLA_IMP_WSOLA_LITE - - /* - * PJSIP settings. - */ - - /* Set maximum number of dialog/transaction/calls to minimum to reduce - * memory usage - */ - #define PJSIP_MAX_TSX_COUNT 31 - #define PJSIP_MAX_DIALOG_COUNT 31 - #define PJSUA_MAX_CALLS 4 - - /* - * PJSUA settings - */ - - /* Default codec quality, previously was set to 5, however it is now - * set to 4 to make sure pjsua instantiates resampler with small filter. - */ - #define PJSUA_DEFAULT_CODEC_QUALITY 4 - - /* Set maximum number of objects to minimum to reduce memory usage */ - #define PJSUA_MAX_ACC 4 - #define PJSUA_MAX_PLAYERS 4 - #define PJSUA_MAX_RECORDERS 4 - #define PJSUA_MAX_CONF_PORTS (PJSUA_MAX_CALLS+2*PJSUA_MAX_PLAYERS) - #define PJSUA_MAX_BUDDIES 32 - -#endif /* PJ_WIN32_WINCE */ - - -/* - * Typical configuration for Symbian OS target - */ -#if defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0 - - /* - * PJLIB settings. - */ - - /* Disable floating point support */ - #define PJ_HAS_FLOATING_POINT 0 - - /* Misc PJLIB setting */ - #define PJ_MAXPATH 80 - - /* This is important for Symbian. Symbian lacks vsnprintf(), so - * if the log buffer is not long enough it's possible that - * large incoming packet will corrupt memory when the log tries - * to log the packet. - */ - #define PJ_LOG_MAX_SIZE (PJSIP_MAX_PKT_LEN+500) - - /* Since we don't have threads, log buffer can use static buffer - * rather than stack - */ - #define PJ_LOG_USE_STACK_BUFFER 0 - - /* Disable check stack since it increases footprint */ - #define PJ_OS_HAS_CHECK_STACK 0 - - - /* - * PJMEDIA settings - */ - - /* Disable non-Symbian audio devices */ - #define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0 - #define PJMEDIA_AUDIO_DEV_HAS_WMME 0 - - /* Select codecs to disable */ - #define PJMEDIA_HAS_L16_CODEC 0 - #define PJMEDIA_HAS_ILBC_CODEC 0 - #define PJMEDIA_HAS_G722_CODEC 0 - - /* Fine tune Speex's default settings for best performance/quality */ - #define PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY 5 - - /* For CPU reason, disable speex AEC and use the echo suppressor. */ - #define PJMEDIA_HAS_SPEEX_AEC 0 - - /* Previously, resampling is disabled due to performance reason and - * this condition prevented some 'light' wideband codecs (e.g: G722.1) - * to work along with narrowband codecs. Lately, some tests showed - * that 16kHz <-> 8kHz resampling using libresample small filter was - * affordable on ARM9 222 MHz, so here we decided to enable resampling. - * Note that it is important to make sure that libresample is created - * using small filter. For example PJSUA_DEFAULT_CODEC_QUALITY must - * be set to 3 or 4 so pjsua-lib will apply small filter resampling. - */ - //#define PJMEDIA_RESAMPLE_IMP PJMEDIA_RESAMPLE_NONE - #define PJMEDIA_RESAMPLE_IMP PJMEDIA_RESAMPLE_LIBRESAMPLE - - /* Use the lighter WSOLA implementation */ - #define PJMEDIA_WSOLA_IMP PJMEDIA_WSOLA_IMP_WSOLA_LITE - - /* We probably need more buffers especially if MDA audio backend - * is used, so increase the limit - */ - #define PJMEDIA_SOUND_BUFFER_COUNT 32 - - /* - * PJSIP settings. - */ - - /* Disable safe module access, since we don't use multithreading */ - #define PJSIP_SAFE_MODULE 0 - - /* Use large enough packet size */ - #define PJSIP_MAX_PKT_LEN 2000 - - /* Symbian has problem with too many large blocks */ - #define PJSIP_POOL_LEN_ENDPT 1000 - #define PJSIP_POOL_INC_ENDPT 1000 - #define PJSIP_POOL_RDATA_LEN 2000 - #define PJSIP_POOL_RDATA_INC 2000 - #define PJSIP_POOL_LEN_TDATA 2000 - #define PJSIP_POOL_INC_TDATA 512 - #define PJSIP_POOL_LEN_UA 2000 - #define PJSIP_POOL_INC_UA 1000 - #define PJSIP_POOL_TSX_LAYER_LEN 256 - #define PJSIP_POOL_TSX_LAYER_INC 256 - #define PJSIP_POOL_TSX_LEN 512 - #define PJSIP_POOL_TSX_INC 128 - - /* - * PJSUA settings. - */ - - /* Default codec quality, previously was set to 5, however it is now - * set to 4 to make sure pjsua instantiates resampler with small filter. - */ - #define PJSUA_DEFAULT_CODEC_QUALITY 4 - - /* Set maximum number of dialog/transaction/calls to minimum */ - #define PJSIP_MAX_TSX_COUNT 31 - #define PJSIP_MAX_DIALOG_COUNT 31 - #define PJSUA_MAX_CALLS 4 - - /* Other pjsua settings */ - #define PJSUA_MAX_ACC 4 - #define PJSUA_MAX_PLAYERS 4 - #define PJSUA_MAX_RECORDERS 4 - #define PJSUA_MAX_CONF_PORTS (PJSUA_MAX_CALLS+2*PJSUA_MAX_PLAYERS) - #define PJSUA_MAX_BUDDIES 32 -#endif - - -/* - * Additional configuration to activate APS-Direct feature for - * Nokia S60 target - * - * Please see http://trac.pjsip.org/repos/wiki/Nokia_APS_VAS_Direct - */ -#ifdef PJ_CONFIG_NOKIA_APS_DIRECT - - /* MUST use switchboard rather than the conference bridge */ - #define PJMEDIA_CONF_USE_SWITCH_BOARD 1 - - /* Enable APS sound device backend and disable MDA & VAS */ - #define PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA 0 - #define PJMEDIA_AUDIO_DEV_HAS_SYMB_APS 1 - #define PJMEDIA_AUDIO_DEV_HAS_SYMB_VAS 0 - - /* Enable passthrough codec framework */ - #define PJMEDIA_HAS_PASSTHROUGH_CODECS 1 - - /* And selectively enable which codecs are supported by the handset */ - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMU 1 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMA 1 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_AMR 1 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_G729 1 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_ILBC 1 - -#endif - - -/* - * Additional configuration to activate VAS-Direct feature for - * Nokia S60 target - * - * Please see http://trac.pjsip.org/repos/wiki/Nokia_APS_VAS_Direct - */ -#ifdef PJ_CONFIG_NOKIA_VAS_DIRECT - - /* MUST use switchboard rather than the conference bridge */ - #define PJMEDIA_CONF_USE_SWITCH_BOARD 1 - - /* Enable VAS sound device backend and disable MDA & APS */ - #define PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA 0 - #define PJMEDIA_AUDIO_DEV_HAS_SYMB_APS 0 - #define PJMEDIA_AUDIO_DEV_HAS_SYMB_VAS 1 - - /* Enable passthrough codec framework */ - #define PJMEDIA_HAS_PASSTHROUGH_CODECS 1 - - /* And selectively enable which codecs are supported by the handset */ - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMU 1 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMA 1 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_AMR 1 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_G729 1 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_ILBC 1 - -#endif - - -/* - * Configuration to activate "APS-Direct" media mode on Windows, - * useful for testing purposes only. - */ -#ifdef PJ_CONFIG_WIN32_WMME_DIRECT - - /* MUST use switchboard rather than the conference bridge */ - #define PJMEDIA_CONF_USE_SWITCH_BOARD 1 - - /* Only WMME supports the "direct" feature */ - #define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0 - #define PJMEDIA_AUDIO_DEV_HAS_WMME 1 - - /* Enable passthrough codec framework */ - #define PJMEDIA_HAS_PASSTHROUGH_CODECS 1 - - /* Only PCMA and PCMU are supported by WMME-direct */ - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMU 1 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMA 1 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_AMR 0 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_G729 0 - #define PJMEDIA_HAS_PASSTHROUGH_CODEC_ILBC 0 - -#endif - -/* - * iPhone sample settings. - */ -#if PJ_CONFIG_IPHONE - /* - * PJLIB settings. - */ - - /* Disable floating point support */ - #define PJ_HAS_FLOATING_POINT 0 - - /* - * PJMEDIA settings - */ - - /* We have our own native CoreAudio backend */ - #define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0 - #define PJMEDIA_AUDIO_DEV_HAS_WMME 0 - #define PJMEDIA_AUDIO_DEV_HAS_COREAUDIO 1 - - /* The CoreAudio backend has built-in echo canceller! */ - #define PJMEDIA_HAS_SPEEX_AEC 0 - - /* Disable some codecs */ - #define PJMEDIA_HAS_L16_CODEC 0 - #define PJMEDIA_HAS_G722_CODEC 0 - - /* Use the built-in CoreAudio's iLBC codec (yay!) */ - #define PJMEDIA_HAS_ILBC_CODEC 1 - #define PJMEDIA_ILBC_CODEC_USE_COREAUDIO 1 - - /* Fine tune Speex's default settings for best performance/quality */ - #define PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY 5 - - /* - * PJSIP settings. - */ - - /* Increase allowable packet size, just in case */ - //#define PJSIP_MAX_PKT_LEN 2000 - - /* - * PJSUA settings. - */ - - /* Default codec quality, previously was set to 5, however it is now - * set to 4 to make sure pjsua instantiates resampler with small filter. - */ - #define PJSUA_DEFAULT_CODEC_QUALITY 4 - - /* Set maximum number of dialog/transaction/calls to minimum */ - #define PJSIP_MAX_TSX_COUNT 31 - #define PJSIP_MAX_DIALOG_COUNT 31 - #define PJSUA_MAX_CALLS 4 - - /* Other pjsua settings */ - #define PJSUA_MAX_ACC 4 - #define PJSUA_MAX_PLAYERS 4 - #define PJSUA_MAX_RECORDERS 4 - #define PJSUA_MAX_CONF_PORTS (PJSUA_MAX_CALLS+2*PJSUA_MAX_PLAYERS) - #define PJSUA_MAX_BUDDIES 32 - -#endif - -/* - * Minimum size - */ -#ifdef PJ_CONFIG_MINIMAL_SIZE - -# undef PJ_OS_HAS_CHECK_STACK -# define PJ_OS_HAS_CHECK_STACK 0 -# define PJ_LOG_MAX_LEVEL 0 -# define PJ_ENABLE_EXTRA_CHECK 0 -# define PJ_HAS_ERROR_STRING 0 -# undef PJ_IOQUEUE_MAX_HANDLES -/* Putting max handles to lower than 32 will make pj_fd_set_t size smaller - * than native fdset_t and will trigger assertion on sock_select.c. - */ -# define PJ_IOQUEUE_MAX_HANDLES 32 -# define PJ_CRC32_HAS_TABLES 0 -# define PJSIP_MAX_TSX_COUNT 15 -# define PJSIP_MAX_DIALOG_COUNT 15 -# define PJSIP_UDP_SO_SNDBUF_SIZE 4000 -# define PJSIP_UDP_SO_RCVBUF_SIZE 4000 -# define PJMEDIA_HAS_ALAW_ULAW_TABLE 0 - -#elif defined(PJ_CONFIG_MAXIMUM_SPEED) -# define PJ_SCANNER_USE_BITWISE 0 -# undef PJ_OS_HAS_CHECK_STACK -# define PJ_OS_HAS_CHECK_STACK 0 -# define PJ_LOG_MAX_LEVEL 3 -# define PJ_ENABLE_EXTRA_CHECK 0 -# define PJ_IOQUEUE_MAX_HANDLES 5000 -# define PJSIP_MAX_TSX_COUNT ((640*1024)-1) -# define PJSIP_MAX_DIALOG_COUNT ((640*1024)-1) -# define PJSIP_UDP_SO_SNDBUF_SIZE (24*1024*1024) -# define PJSIP_UDP_SO_RCVBUF_SIZE (24*1024*1024) -# define PJ_DEBUG 0 -# define PJSIP_SAFE_MODULE 0 -# define PJ_HAS_STRICMP_ALNUM 0 -# define PJ_HASH_USE_OWN_TOLOWER 1 -# define PJSIP_UNESCAPE_IN_PLACE 1 - -# ifdef PJ_WIN32 -# define PJSIP_MAX_NET_EVENTS 10 -# endif - -# define PJSUA_MAX_CALLS 512 - -#endif - diff --git a/res/pjproject/pjlib/include/pj/ctype.h b/res/pjproject/pjlib/include/pj/ctype.h deleted file mode 100644 index 060ec8d430..0000000000 --- a/res/pjproject/pjlib/include/pj/ctype.h +++ /dev/null @@ -1,175 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_CTYPE_H__ -#define __PJ_CTYPE_H__ - -/** - * @file ctype.h - * @brief C type helper macros. - */ - -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup pj_ctype ctype - Character Type - * @ingroup PJ_MISC - * @{ - * - * This module contains several inline functions/macros for testing or - * manipulating character types. It is provided in PJLIB because PJLIB - * must not depend to LIBC. - */ - -/** - * Returns a non-zero value if either isalpha or isdigit is true for c. - * @param c The integer character to test. - * @return Non-zero value if either isalpha or isdigit is true for c. - */ -PJ_INLINE(int) pj_isalnum(unsigned char c) { return isalnum(c); } - -/** - * Returns a non-zero value if c is a particular representation of an - * alphabetic character. - * @param c The integer character to test. - * @return Non-zero value if c is a particular representation of an - * alphabetic character. - */ -PJ_INLINE(int) pj_isalpha(unsigned char c) { return isalpha(c); } - -/** - * Returns a non-zero value if c is a particular representation of an - * ASCII character. - * @param c The integer character to test. - * @return Non-zero value if c is a particular representation of - * an ASCII character. - */ -PJ_INLINE(int) pj_isascii(unsigned char c) { return c<128; } - -/** - * Returns a non-zero value if c is a particular representation of - * a decimal-digit character. - * @param c The integer character to test. - * @return Non-zero value if c is a particular representation of - * a decimal-digit character. - */ -PJ_INLINE(int) pj_isdigit(unsigned char c) { return isdigit(c); } - -/** - * Returns a non-zero value if c is a particular representation of - * a space character (0x09 - 0x0D or 0x20). - * @param c The integer character to test. - * @return Non-zero value if c is a particular representation of - * a space character (0x09 - 0x0D or 0x20). - */ -PJ_INLINE(int) pj_isspace(unsigned char c) { return isspace(c); } - -/** - * Returns a non-zero value if c is a particular representation of - * a lowercase character. - * @param c The integer character to test. - * @return Non-zero value if c is a particular representation of - * a lowercase character. - */ -PJ_INLINE(int) pj_islower(unsigned char c) { return islower(c); } - - -/** - * Returns a non-zero value if c is a particular representation of - * a uppercase character. - * @param c The integer character to test. - * @return Non-zero value if c is a particular representation of - * a uppercase character. - */ -PJ_INLINE(int) pj_isupper(unsigned char c) { return isupper(c); } - -/** - * Returns a non-zero value if c is a either a space (' ') or horizontal - * tab ('\\t') character. - * @param c The integer character to test. - * @return Non-zero value if c is a either a space (' ') or horizontal - * tab ('\\t') character. - */ -PJ_INLINE(int) pj_isblank(unsigned char c) { return isblank(c); } - -/** - * Converts character to lowercase. - * @param c The integer character to convert. - * @return Lowercase character of c. - */ -PJ_INLINE(int) pj_tolower(unsigned char c) { return tolower(c); } - -/** - * Converts character to uppercase. - * @param c The integer character to convert. - * @return Uppercase character of c. - */ -PJ_INLINE(int) pj_toupper(unsigned char c) { return toupper(c); } - -/** - * Returns a non-zero value if c is a particular representation of - * an hexadecimal digit character. - * @param c The integer character to test. - * @return Non-zero value if c is a particular representation of - * an hexadecimal digit character. - */ -PJ_INLINE(int) pj_isxdigit(unsigned char c){ return isxdigit(c); } - -/** - * Array of hex digits, in lowerspace. - */ -/*extern char pj_hex_digits[];*/ -#define pj_hex_digits "0123456789abcdef" - -/** - * Convert a value to hex representation. - * @param value Integral value to convert. - * @param p Buffer to hold the hex representation, which must be - * at least two bytes length. - */ -PJ_INLINE(void) pj_val_to_hex_digit(unsigned value, char *p) -{ - *p++ = pj_hex_digits[ (value & 0xF0) >> 4 ]; - *p = pj_hex_digits[ (value & 0x0F) ]; -} - -/** - * Convert hex digit c to integral value. - * @param c The hex digit character. - * @return The integral value between 0 and 15. - */ -PJ_INLINE(unsigned) pj_hex_digit_to_val(unsigned char c) -{ - if (c <= '9') - return (c-'0') & 0x0F; - else if (c <= 'F') - return (c-'A'+10) & 0x0F; - else - return (c-'a'+10) & 0x0F; -} - -/** @} */ - -PJ_END_DECL - -#endif /* __PJ_CTYPE_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/doxygen.h b/res/pjproject/pjlib/include/pj/doxygen.h deleted file mode 100644 index 81fa735f48..0000000000 --- a/res/pjproject/pjlib/include/pj/doxygen.h +++ /dev/null @@ -1,996 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_DOXYGEN_H__ -#define __PJ_DOXYGEN_H__ - -/** - * @file doxygen.h - * @brief Doxygen's mainpage. - */ - -/*////////////////////////////////////////////////////////////////////////// */ -/* - INTRODUCTION PAGE - */ - -/** - * @mainpage Welcome to PJLIB! - * - * @section intro_sec What is PJLIB - * - * PJLIB is an Open Source, small footprint framework library written in C for - * making scalable applications. Because of its small footprint, it can be used - * in embedded applications (we hope so!), but yet the library is also aimed for - * facilitating the creation of high performance protocol stacks. - * - * PJLIB is released under GPL terms. - * - * @section download_sec Download - * - * PJLIB and all documentation can be downloaded from - * http://www.pjsip.org. - * - * - * @section how_to_use_sec About This Documentation - * - * This document is generated directly from PJLIB source file using - * \a doxygen (http://www.doxygen.org). Doxygen is a great (and free!) - * tools for generating such documentation. - * - * - * @subsection find_samples_subsec How to Read This Document - * - * This documentation is laid out more to be a reference guide instead - * of tutorial, therefore first time users may find it difficult to - * grasp PJLIB by reading this document alone. - * - * However, we've tried our best to make this document easy to follow. - * For first time users, we would suggest that you follow these steps - * when reading this documentation: - * - * - continue reading this introduction chapter. At the end of this - * chapter, you'll find section called \ref pjlib_fundamentals_sec - * which should guide you to understand basic things about PJLIB. - * - * - find information about specific features that you want to use - * in PJLIB. Use the Module Index to find out about all - * features in PJLIB (if you're browsing the HTML documentation, - * click on the \a Module link on top of the page, or if you're - * reading the PDF documentation, click on \a Module \a Documentation - * on the navigation pane on the left). - * - * @subsection doc_organize_sec How To's - * - * Please find below links to specific tasks that you probably - * want to do: - * - * - How to Build PJLIB - *\n - * Please refer to \ref pjlib_build_sys_pg page for more information. - * - * - How to Use PJLIB in My Application - *\n - * Please refer to \ref configure_app_sec for more information. - * - * - How to Port PJLIB - *\n - * Please refer to \ref porting_pjlib_pg page. - * - * - Where to Read Samples Documentation - *\n - * Most of the modules provide link to the corresponding sample file. - * Alternatively, to get the list of all examples, you can click on - * Related Pages on the top of HTML document or on - * PJLIB Page Documentation on navigation pane of your PDF reader. - * - * - How to Submit Code to PJLIB Project - *\n - * Please read \ref pjlib_coding_convention_page before submitting - * your code. Send your code as patch against current Subversion tree - * to the appropriate mailing list. - * - * - * @section features_sec Features - * - * @subsection open_source_feat It's Open Source! - * - * PJLIB is currently released on GPL license, but other arrangements - * can be made with the author. - * - * @subsection extreme_portable_feat Extreme Portability - * - * PJLIB is designed to be extremely portable. It can run on any kind - * of processors (16-bit, 32-bit, or 64-bit, big or little endian, single - * or multi-processors) and operating systems. Floating point or no - * floating point. Multi-threading or not. - * It can even run in environment where no ANSI LIBC is available. - * - * Currently PJLIB is known to run on these platforms: - * - Win32/x86 (Win95/98/ME, NT/2000/XP/2003, mingw). - * - arm, WinCE and Windows Mobile. - * - Linux/x86, (user mode and as kernel module(!)). - * - Linux/alpha - * - Solaris/ultra. - * - MacOS X/powerpc - * - RTEMS (x86 and powerpc). - * - * And efforts is under way to port PJLIB on: - * - Symbian OS - * - * - * @subsection small_size_feat Small in Size - * - * One of the primary objectives is to have library that is small in size for - * typical embedded applications. As a rough guidance, we aim to keep the - * library size below 100KB for it to be considered as small. - * As the result, most of the functionalities in the library can be tailored - * to meet the requirements; user can enable/disable specific functionalities - * to get the desired size/performance/functionality balance. - * - * For more info, please see @ref pj_config. - * - * - * @subsection big_perform_feat Big in Performance - * - * Almost everything in PJLIB is designed to achieve the highest possible - * performance out of the target platform. - * - * - * @subsection no_dyn_mem No Dynamic Memory Allocations - * - * The central idea of PJLIB is that for applications to run as fast as it can, - * it should not use \a malloc() at all, but instead should get the memory - * from a preallocated storage pool. There are few things that can be - * optimized with this approach: - * - * - \a alloc() is a O(1) operation. - * - no mutex is used inside alloc(). It is assumed that synchronization - * will be used in higher abstraction by application anyway. - * - no \a free() is required. All chunks will be deleted when the pool is - * destroyed. - * - * The performance gained on some systems can be as high as 30x speed up - * against \a malloc() and \a free() on certain configurations, but of - * course your mileage may vary. - * - * For more information, see \ref PJ_POOL_GROUP - * - * - * @subsection os_abstract_feat Operating System Abstraction - * - * PJLIB has abstractions for features that are normally not portable - * across operating systems: - * - @ref PJ_THREAD - *\n - * Portable thread manipulation. - * - @ref PJ_TLS - *\n - * Storing data in thread's private data. - * - @ref PJ_MUTEX - *\n - * Mutual exclusion protection. - * - @ref PJ_SEM - *\n - * Semaphores. - * - @ref PJ_ATOMIC - *\n - * Atomic variables and their operations. - * - @ref PJ_CRIT_SEC - *\n - * Fast locking of critical sections. - * - @ref PJ_LOCK - *\n - * High level abstraction for lock objects. - * - @ref PJ_EVENT - *\n - * Event object. - * - @ref PJ_TIME - *\n - * Portable time manipulation. - * - @ref PJ_TIMESTAMP - *\n - * High resolution time value. - * - etc. - * - * - * @subsection ll_network_io_sec Low-Level Network I/O - * - * PJLIB has very portable abstraction and fairly complete set of API for - * doing network I/O communications. At the lowest level, PJLIB provides: - * - * - @ref PJ_SOCK - *\n - * A highly portable socket abstraction, runs on all kind of - * network APIs such as standard BSD socket, Windows socket, Linux - * \b kernel socket, PalmOS networking API, etc. - * - * - @ref pj_addr_resolve - *\n - * Portable address resolution, which implements #pj_gethostbyname(). - * - * - @ref PJ_SOCK_SELECT - *\n - * A portable \a select() like API (#pj_sock_select()) which can be - * implemented with various back-end. - * - * - * - * @subsection timer_mgmt_sec Timer Management - * - * A passive framework for managing timer, see @ref PJ_TIMER for more info. - * There is also function to retrieve high resolution timestamp - * from the system (see @ref PJ_TIMESTAMP). - * - * - * @subsection data_struct_sec Various Data Structures - * - * Various data structures are provided in the library: - * - * - @ref PJ_PSTR - * - @ref PJ_ARRAY - * - @ref PJ_HASH - * - @ref PJ_LIST - * - @ref PJ_RBTREE - * - * - * @subsection exception_sec Exception Construct - * - * A convenient TRY/CATCH like construct to propagate errors, which by - * default are used by the @ref PJ_POOL_GROUP "memory pool" and - * the lexical scanner in pjlib-util. The exception - * construct can be used to write programs like below: - * - *
- *    #define SYNTAX_ERROR  1
- *
- *    PJ_TRY {
- *       msg = NULL;
- *       msg = parse_msg(buf, len);
- *    }
- *    PJ_CATCH ( SYNTAX_ERROR ) {
- *       .. handle error ..
- *    }
- *    PJ_END;
- * 
- * - * Please see @ref PJ_EXCEPT for more information. - * - * - * @subsection logging_sec Logging Facility - * - * PJLIB @ref PJ_LOG consists of macros to write logging information to - * some output device. Some of the features of the logging facility: - * - * - the verbosity can be fine-tuned both at compile time (to control - * the library size) or run-time (to control the verbosity of the - * information). - * - output device is configurable (e.g. stdout, printk, file, etc.) - * - log decoration is configurable. - * - * See @ref PJ_LOG for more information. - * - * - * @subsection guid_gen_sec Random and GUID Generation - * - * PJLIB provides facility to create random string - * (#pj_create_random_string()) or globally unique identifier - * (see @ref PJ_GUID). - * - * - * - * @section configure_app_sec Configuring Application to use PJLIB - * - * @subsection pjlib_compil_sec Building PJLIB - * - * Follow the instructions in \ref pjlib_build_sys_pg to build - * PJLIB. - * - * @subsection pjlib_compil_app_sec Building Applications with PJLIB - * - * Use the following settings when building applications with PJLIB. - * - * @subsubsection compil_inc_dir_sec Include Search Path - * - * Add this to your include search path ($PJLIB is PJLIB root directory): - *
- *   $PJLIB/include
- * 
- * - * @subsubsection compil_inc_file_sec Include PJLIB Header - * - * To include all PJLIB headers: - * \verbatim - #include - \endverbatim - * - * Alternatively, you can include individual PJLIB headers like this: - * \verbatim - #include - #include - \endverbatim - * - * - * @subsubsection compil_lib_dir_sec Library Path - * - * Add this to your library search path: - *
- *   $PJLIB/lib
- * 
- * - * Then add the appropriate PJLIB library to your link specification. For - * example, you would add \c libpj-i386-linux-gcc.a when you're building - * applications in Linux. - * - * - * @subsection pjlib_fundamentals_sec Principles in Using PJLIB - * - * Few things that you \b MUST do when using PJLIB, to make sure that - * you create trully portable applications. - * - * @subsubsection call_pjlib_init_sec Call pj_init() - * - * Before you do anything else, call \c pj_init(). This would make sure that - * PJLIB system is properly set up. - * - * @subsubsection no_ansi_subsec Do NOT Use ANSI C - * - * Contrary to popular teaching, ANSI C (and LIBC) is not the most portable - * library in the world, nor it's the most ubiquitous. For example, LIBC - * is not available in Linux kernel. Also normally LIBC will be excluded - * from compilation of RTOSes to reduce size. - * - * So for maximum portability, do NOT use ANSI C. Do not even try to include - * any other header files outside . Stick with the functionalities - * provided by PJLIB. - * - * - * @subsubsection string_rep_subsubsec Use pj_str_t instead of C Strings - * - * PJLIB uses pj_str_t instead of normal C strings. You SHOULD follow this - * convention too. Remember, ANSI string-h is not always available. And - * PJLIB string is faster! - * - * @subsubsection mem_alloc_subsubsec Use Pool for Memory Allocations - * - * You MUST NOT use \a malloc() or any other memory allocation functions. - * Use PJLIB @ref PJ_POOL_GROUP instead! It's faster and most portable. - * - * @subsection logging_subsubsec Use Logging for Text Display - * - * DO NOT use for text output. Use PJLIB @ref PJ_LOG instead. - * - * - * @section porting_pjlib_sec0 Porting PJLIB - * - * Please see \ref porting_pjlib_pg page on more information to port - * PJLIB to new target. - * - * @section enjoy_sec Enjoy Using PJLIB! - * - * We hope that you find PJLIB usefull for your application. If you - * have any questions, suggestions, critics, bug fixes, or anything - * else, we would be happy to hear it. - * - * Enjoy using PJLIB! - * - * Benny Prijono < bennylp at pjsip dot org > - */ - - - -/*////////////////////////////////////////////////////////////////////////// */ -/* - CODING CONVENTION - */ - -/** - * @page pjlib_coding_convention_page Coding Convention - * - * Before you submit your code/patches to be included with PJLIB, you must - * make sure that your code is compliant with PJLIB coding convention. - * This is very important! Otherwise we would not accept your code. - * - * @section coding_conv_editor_sec Editor Settings - * - * The single most important thing in the whole coding convention is editor - * settings. It's more important than the correctness of your code (bugs will - * only crash the system, but incorrect tab size is mental!). - * - * Kindly set your editor as follows: - * - tab size to \b 8. - * - indentation to \b 4. - * - * With \c vi, you can do it with: - *
- *  :se ts=8
- *  :se sts=4
- * 
- * - * You should replace tab with eight spaces. - * - * @section coding_conv_detail_sec Coding Style - * - * Coding style MUST strictly follow K&R style. The rest of coding style - * must follow current style. You SHOULD be able to observe the style - * currently used by PJLIB from PJLIB sources, and apply the style to your - * code. If you're not able to do simple thing like to observe PJLIB - * coding style from the sources, then logic dictates that your ability to - * observe more difficult area in PJLIB such as memory allocation strategy, - * concurrency, etc is questionable. - * - * @section coding_conv_comment_sec Commenting Your Code - * - * Public API (e.g. in header files) MUST have doxygen compliant comments. - * - */ - - -/*////////////////////////////////////////////////////////////////////////// */ -/* - BUILDING AND INSTALLING PJLIB - */ - - - -/** - * @page pjlib_build_sys_pg Building, and Installing PJLIB - * - * @section build_sys_install_sec Build and Installation - * - * \note - * The most up-to-date information on building and installing PJLIB - * should be found in the website, under "Getting Started" document. - * More over, the new PJLIB build system is now based on autoconf, - * so some of the information here might not be relevant anymore - * (although most still are, since the autoconf script still use - * the old Makefile system as the backend). - * - * @subsection build_sys_install_win32_sec Visual Studio - * - * The PJLIB Visual Studio workspace supports the building of PJLIB - * for Win32 target. Although currently only the Visual Studio 6 Workspace is - * actively maintained, developers with later version of Visual Studio - * can easily imports VS6 workspace into their IDE. - * - * To start building PJLIB projects with Visual Studio 6 or later, open - * the \a workspace file in the corresponding \b \c build directory. You have - * several choices on which \a dsw file to open: - \verbatim - $PJPROJECT/pjlib/build/pjlib.dsw - $PJPROJECT/pjsip/build/pjsip.dsw - ..etc - \endverbatim - * - * The easiest way is to open pjsip_apps.dsw file in \b \c $PJPROJECT/pjsip-apps/build - * directory, and build pjsua project or the samples project. - * However this will not build the complete projects. - * For example, the PJLIB test is not included in this workspace. - * To build the complete projects, you must - * open and build each \a dsw file in \c build directory in each - * subprojects. For example, to open the complete PJLIB workspace, open - * pjlib.dsw in $PJPROJECT/pjlib/build directory. - * - * - * @subsubsection config_site_create_vc_sec Create config_site.h - * - * The file $PJPROJECT/pjlib/include/pj/config_site.h - * is supposed to contain configuration that is specific to your site/target. - * This file is not part of PJLIB, so you must create it yourself. Normally - * you just need to create a blank file. - * - * The reason why it's not included in PJLIB is so that you would not accidently - * overwrite your site configuration. - * - * If you fail to do this, Visual C will complain with error like: - * - * "fatal error C1083: Cannot open include file: 'pj/config_site.h': No such file - * or directory". - * - * @subsubsection build_vc_subsubsec Build the Projects - * - * Just hit the build button! - * - * - * @subsection build_sys_install_unix_sec Make System - * - * For other targets, PJLIB provides a rather comprehensive build system - * that uses GNU \a make (and only GNU \a make will work). - * Currently, the build system supports building * PJLIB for these targets: - * - i386/Win32/mingw - * - i386/Linux - * - i386/Linux (kernel) - * - alpha/linux - * - sparc/SunOS - * - etc.. - * - * - * @subsubsection build_req_sec Requirements - * - * In order to use the \c make based build system, you MUST have: - * - * - GNU make - *\n - * The Makefiles heavily utilize GNU make commands which most likely - * are not available in other \c make system. - * - bash shell is recommended. - *\n - * Specificly, there is a command "echo -n" which may not work - * in other shells. This command is used when generating dependencies - * (make dep) and it's located in - * $PJPROJECT/build/rules.mak. - * - ar, ranlib from GNU binutils - *\n - * In your system has different ar or ranlib (e.g. they - * may have been installed as gar and granlib), then - * either you create the relevant symbolic links, or modify - * $PJPROJECT/build/cc-gcc.mak and rename ar and - * ranlib to the appropriate names. - * - gcc to generate dependency. - *\n - * Currently the build system uses "gcc -MM" to generate build - * dependencies. If gcc is not desired to generate dependency, - * then either you don't run make dep, or edit - * $PJPROJECT/build/rules.mak to calculate dependency using - * your prefered method. (And let me know when you do so so that I can - * update the file. :) ) - * - * @subsubsection build_overview_sec Building the Project - * - * Generally, steps required to build the PJLIB are: - * - \verbatim - $ cd /home/user/pjproject - $ ./configure - $ touch pjlib/include/pj/config_site.h - $ make dep - $ make - \endverbatim - * - * The above process will build all static libraries and all applications. - * - * \note the configure script is not a proper autoconf script, - * but rather a simple shell script to detect current host. This script - * currently does not support cross-compilation. - * - * \note For Linux kernel target, there are additional steps required, which - * will be explained in section \ref linux_kern_target_subsec. - * - * @subsubsection build_mak_sec Cross Compilation - * - * For cross compilation, you will need to edit the \c build.mak file in - * \c $PJPROJECT root directory manually. Please see README-configure file - * in the root directory for more information. - * - * For Linux kernel target, you are also required to declare the following - * variables in this file: - * - \c KERNEL_DIR: full path of kernel source tree. - * - \c KERNEL_ARCH: kernel ARCH options (e.g. "ARCH=um"), or leave blank - * for default. - * - \c PJPROJECT_DIR: full path of PJPROJECT source tree. - * - * Apart from these, there are also additional steps required to build - * Linux kernel target, which will be explained in \ref linux_kern_target_subsec. - * - * @subsubsection build_dir_sec Files in "build" Directory - * - * The *.mak files in \c $PJPROJECT/build directory are used to specify - * the configuration for the specified compiler, target machine target - * operating system, and host options. These files will be executed - * (included) by \a make during building process, depending on the values - * specified in $PJPROJECT/build.mak file. - * - * Normally you don't need to edit these files, except when you're porting - * PJLIB to new target. - * - * Below are the description of some files in this directory: - * - * - rules.mak: contains generic rules always included during make. - * - cc-gcc.mak: rules when gcc is used for compiler. - * - cc-vc.mak: rules when MSVC compiler is used. - * - host-mingw.mak: rules for building in mingw host. - * - host-unix.mak: rules for building in Unix/Posix host. - * - host-win32.mak: rules for building in Win32 command console - * (only valid when VC is used). - * - m-i386.mak: rules when target machine is an i386 processor. - * - m-m68k.mak: rules when target machine is an m68k processor. - * - os-linux.mak: rules when target OS is Linux. - * - os-linux-kernel.mak: rules when PJLIB is to be build as - * part of Linux kernel. - * - os-win32.mak: rules when target OS is Win32. - * - * - * @subsubsection config_site_create_sec Create config_site.h - * - * The file $PJPROJECT/pjlib/include/pj/config_site.h - * is supposed to contain configuration that is specific to your site/target. - * This file is not part of PJLIB, so you must create it yourself. - * - * The reason why it's not included in PJLIB is so that you would not accidently - * overwrite your site configuration. - * - * - * @subsubsection invoking_make_sec Invoking make - * - * Normally, \a make is invoked in \c build directory under each project. - * For example, to build PJLIB, you would invoke \a make in - * \c $PJPROJECT/pjlib/build directory like below: - * - \verbatim - $ cd pjlib/build - $ make - \endverbatim - * - * Alternatively you may invoke make in $PJPROJECT - * directory, to build all projects under that directory (e.g. - * PJLIB, PJSIP, etc.). - * - * - * @subsubsection linux_kern_target_subsec Linux Kernel Target - * - * \note - * BUILDING APPLICATIONS IN LINUX KERNEL MODE IS A VERY DANGEROUS BUSINESS. - * YOU MAY CRASH THE WHOLE OF YOUR SYSTEM, CORRUPT YOUR HARDISK, ETC. PJLIB - * KERNEL MODULES ARE STILL IN EXPERIMENTAL PHASE. DO NOT RUN IT IN PRODUCTION - * SYSTEMS OR OTHER SYSTEMS WHERE RISK OF LOSS OF DATA IS NOT ACCEPTABLE. - * YOU HAVE BEEN WARNED. - * - * \note - * User Mode Linux (UML) provides excellent way to experiment with Linux - * kernel without risking the stability of the host system. See - * http://user-mode-linux.sourceforge.net for details. - * - * \note - * I only use UML to experiment with PJLIB kernel modules. - * I wouldn't be so foolish to use my host Linux machine to experiment - * with this. - * - * \note - * You have been warned. - * - * For building PJLIB for Linux kernel target, there are additional steps required. - * In general, the additional tasks are: - * - Declare some more variables in build.mak file (this - * has been explained in \ref build_mak_sec above). - * - Perform these two small modifications in kernel source tree. - * - * There are two small modification need to be applied to the kernel tree. - * - * 1. Edit Makefile in kernel root source tree. - * - * Add the following lines at the end of the Makefile in your - * $KERNEL_SRC dir: - \verbatim -script: - $(SCRIPT) - \endverbatim - * - * \note Remember to replace spaces with tab in the Makefile. - * - * The modification above is needed to capture kernel's \c $CFLAGS and - * \c $CFLAGS_MODULE which will be used for PJLIB's compilation. - * - * 2. Add Additional Exports. - * - * We need the kernel to export some more symbols for our use. So we declare - * the additional symbols to be exported in extra-exports.c file, and add - * a this file to be compiled into the kernel: - * - * - Copy the file extra-exports.c from pjlib/src/pj - * directory to $KERNEL_SRC/kernel/ directory. - * - Edit Makefile in that directory, and add this line - * somewhere after the declaration of that variable: - \verbatim -obj-y += extra-exports.o - \endverbatim - * - * To illustrate what have been done in your kernel source tree, below - * is screenshot of my kernel source tree _after_ the modification. - * - \verbatim -[root@vpc-linux linux-2.6.7]# pwd -/usr/src/linux-2.6.7 -[root@vpc-linux linux-2.6.7]# -[root@vpc-linux linux-2.6.7]# -[root@vpc-linux linux-2.6.7]# tail Makefile - -endif # skip-makefile - -FORCE: - -.PHONY: script - -script: - $(SCRIPT) - -[root@vpc-linux linux-2.6.7]# -[root@vpc-linux linux-2.6.7]# -[root@vpc-linux linux-2.6.7]# head kernel/extra-exports.c -#include -#include - -EXPORT_SYMBOL(sys_select); - -EXPORT_SYMBOL(sys_epoll_create); -EXPORT_SYMBOL(sys_epoll_ctl); -EXPORT_SYMBOL(sys_epoll_wait); - -EXPORT_SYMBOL(sys_socket); -[root@vpc-linux linux-2.6.7]# -[root@vpc-linux linux-2.6.7]# -[root@vpc-linux linux-2.6.7]# head -15 kernel/Makefile -# -# Makefile for the linux kernel. -# - -obj-y = sched.o fork.o exec_domain.o panic.o printk.o profile.o \ - exit.o itimer.o time.o softirq.o resource.o \ - sysctl.o capability.o ptrace.o timer.o user.o \ - signal.o sys.o kmod.o workqueue.o pid.o \ - rcupdate.o intermodule.o extable.o params.o posix-timers.o \ - kthread.o - -obj-y += extra-exports.o - -obj-$(CONFIG_FUTEX) += futex.o -obj-$(CONFIG_GENERIC_ISA_DMA) += dma.o -[root@vpc-linux linux-2.6.7]# - - \endverbatim - * - * Then you must rebuild the kernel. - * If you fail to do this, you won't be able to insmod pjlib. - * - * \note You will see a lots of warning messages during pjlib-test compilation. - * The warning messages complain about unresolved symbols which are defined - * in pjlib module. You can safely ignore these warnings. However, you can not - * ignore warnings about non-pjlib unresolved symbols. - * - * - * @subsection makefile_explained_sec Makefile Explained - * - * The \a Makefile for each project (e.g. PJLIB, PJSIP, etc) should be - * very similar in the contents. The Makefile is located under \c build - * directory in each project subdir. - * - * @subsubsection pjlib_makefile_subsec PJLIB Makefile. - * - * Below is PJLIB's Makefile: - * - * \include build/Makefile - * - * @subsubsection pjlib_os_makefile_subsec PJLIB os-linux.mak. - * - * Below is file os-linux.mak file in - * $PJPROJECT/pjlib/build directory, - * which is OS specific configuration file for Linux target that is specific - * for PJLIB project. For \b global OS specific configuration, please see - * $PJPROJECT/build/os-*.mak. - * - * \include build/os-linux.mak - * - */ - - -/*////////////////////////////////////////////////////////////////////////// */ -/* - PORTING PJLIB - */ - - - -/** - * @page porting_pjlib_pg Porting PJLIB - * - * \note - * Since version 0.5.8, PJLIB build system is now based on autoconf, so - * most of the time we shouldn't need to apply the tweakings below to get - * PJLIB working on a new platform. However, since the autoconf build system - * still uses the old Makefile build system, the information below may still - * be useful for reference. - * - * - * @section new_arch_sec Porting to New CPU Architecture - * - * Below is step-by-step guide to add support for new CPU architecture. - * This sample is based on porting to Alpha architecture; however steps for - * porting to other CPU architectures should be pretty similar. - * - * Also note that in this example, the operating system used is Linux. - * Should you wish to add support for new operating system, then follow - * the next section \ref porting_os_sec. - * - * Step-by-step guide to port to new CPU architecture: - * - decide the name for the new architecture. In this case, we choose - * alpha. - * - edit file $PJPROJECT/build.mak, and add new section for - * the new target: - *
- *      #
- *      # Linux alpha, gcc
- *      #
- *      export MACHINE_NAME := alpha
- *      export OS_NAME := linux
- *      export CC_NAME := gcc
- *      export HOST_NAME := unix
- *    
- * - * - create a new file $PJPROJECT/build/m-alpha.mak. - * Alternatively create a copy from other file in this directory. - * The contents of this file will look something like: - *
- *      export M_CFLAGS := $(CC_DEF)PJ_M_ALPHA=1
- *      export M_CXXFLAGS :=
- *      export M_LDFLAGS :=
- *      export M_SOURCES :=
- *    
- * - create a new file $PJPROJECT/pjlib/include/pj/compat/m_alpha.h. - * Alternatively create a copy from other header file in this directory. - * The contents of this file will look something like: - *
- *      #define PJ_HAS_PENTIUM          0
- *      #define PJ_IS_LITTLE_ENDIAN     1
- *      #define PJ_IS_BIG_ENDIAN        0
- *    
- * - edit pjlib/include/pj/config.h. Add new processor - * configuration in this header file, like follows: - *
- *      ...
- *      #elif defined (PJ_M_ALPHA) && PJ_M_ALPHA != 0
- *      #   include 
- *      ...
- *    
- * - done. Build PJLIB with: - *
- *      $ cd $PJPROJECT/pjlib/build
- *      $ make dep
- *      $ make clean
- *      $ make
- *    
- * - * @section porting_os_sec Porting to New Operating System Target - * - * This section will try to give you rough guideline on how to - * port PJLIB to a new target. As a sample, we give the target a name tag, - * for example xos (for X OS). - * - * @subsection new_compat_os_h_file_sec Create New Compat Header File - * - * You'll need to create a new header file - * include/pj/compat/os_xos.h. You can copy as a - * template other header file and edit it accordingly. - * - * @subsection modify_config_h_file_sec Modify config.h - * - * Then modify file include/pj/config.h to include - * this file accordingly (e.g. when macro PJ_XOS is - * defined): - * - \verbatim - ... - #elif defined(PJ_XOS) - # include - #else - #... - \endverbatim - * - * @subsection new_target_mak_file_sec Create New Global Make Config File - * - * Then you'll need to create global configuration file that - * is specific for this OS, i.e. os-xos.mak in - * $PJPROJECT/build directory. - * - * At very minimum, the file will normally need to define - * PJ_XOS=1 in the \c CFLAGS section: - * - \verbatim -# -# $PJPROJECT/build/os-xos.mak: -# -export OS_CFLAGS := $(CC_DEF)PJ_XOS=1 -export OS_CXXFLAGS := -export OS_LDFLAGS := -export OS_SOURCES := - \endverbatim - * - * - * @subsection new_target_prj_mak_file_sec Create New Project's Make Config File - * - * Then you'll need to create xos-specific configuration file - * for PJLIB. This file is also named os-xos.mak, - * but its located in pjlib/build directory. - * This file will specify source files that are specific to - * this OS to be included in the build process. - * - * Below is a sample: - \verbatim -# -# pjlib/build/os-xos.mak: -# XOS specific configuration for PJLIB. -# -export PJLIB_OBJS += os_core_xos.o \ - os_error_unix.o \ - os_time_ansi.o -export TEST_OBJS += main.o -export TARGETS = pjlib pjlib-test - \endverbatim - * - * @subsection new_target_src_sec Create and Edit Source Files - * - * You'll normally need to create at least these files: - * - os_core_xos.c: core OS specific - * functionality. - * - os_timestamp_xos.c: how to get timestamp - * in this OS. - * - * Depending on how things are done in your OS, you may need - * to create these files: - * - os_error_*.c: how to manipulate - * OS error codes. Alternatively you may use existing - * os_error_unix.c if the OS has \c errno and - * \c strerror() function. - * - ioqueue_*.c: if the OS has specific method - * to perform asynchronous I/O. Alternatively you may - * use existing ioqueue_select.c if the OS supports - * \c select() function call. - * - sock_*.c: if the OS has specific method - * to perform socket communication. Alternatively you may - * use existing sock_bsd.c if the OS supports - * BSD socket API, and edit include/pj/compat/socket.h - * file accordingly. - * - * You will also need to check various files in - * include/pj/compat/*.h, to see if they're - * compatible with your OS. - * - * @subsection new_target_build_file_sec Build The Project - * - * After basic building blocks have been created for the OS, then - * the easiest way to see which parts need to be fixed is by building - * the project and see the error messages. - * - * @subsection new_target_edit_vs_new_file_sec Editing Existing Files vs Creating New File - * - * When you encounter compatibility errors in PJLIB during porting, - * you have three options on how to fix the error: - * - edit the existing *.c file, and give it #ifdef - * switch for the new OS, or - * - edit include/pj/compat/*.h instead, or - * - create a totally new file. - * - * Basicly there is no strict rule on which approach is the best - * to use, however the following guidelines may be used: - * - if the file is expected to be completely different than - * any existing file, then perhaps you should create a completely - * new file. For example, file os_core_xxx.c will - * normally be different for each OS flavour. - * - if the difference can be localized in include/compat - * header file, and existing #ifdef switch is there, - * then preferably you should edit this include/compat - * header file. - * - if the existing *.c file has #ifdef switch, - * then you may add another #elif switch there. This - * normally is used for behaviors that are not totally - * different on each platform. - * - other than that above, use your own judgement on whether - * to edit the file or create new file etc. - */ - -#endif /* __PJ_DOXYGEN_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/errno.h b/res/pjproject/pjlib/include/pj/errno.h deleted file mode 100644 index 66fea9493b..0000000000 --- a/res/pjproject/pjlib/include/pj/errno.h +++ /dev/null @@ -1,577 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_ERRNO_H__ -#define __PJ_ERRNO_H__ - -/** - * @file errno.h - * @brief PJLIB Error Subsystem - */ -#include -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup pj_errno Error Subsystem - * @{ - * - * The PJLIB Error Subsystem is a framework to unify all error codes - * produced by all components into a single error space, and provide - * uniform set of APIs to access them. With this framework, any error - * codes are encoded as pj_status_t value. The framework is extensible, - * application may register new error spaces to be recognized by - * the framework. - * - * @section pj_errno_retval Return Values - * - * All functions that returns @a pj_status_t returns @a PJ_SUCCESS if the - * operation was completed successfully, or non-zero value to indicate - * error. If the error came from operating system, then the native error - * code is translated/folded into PJLIB's error namespace by using - * #PJ_STATUS_FROM_OS() macro. The function will do this automatically - * before returning the error to caller. - * - * @section err_services Retrieving and Displaying Error Messages - * - * The framework provides the following APIs to retrieve and/or display - * error messages: - * - * - #pj_strerror(): this is the base API to retrieve error string - * description for the specified pj_status_t error code. - * - * - #PJ_PERROR() macro: use this macro similar to PJ_LOG to format - * an error message and display them to the log - * - * - #pj_perror(): this function is similar to PJ_PERROR() but unlike - * #PJ_PERROR(), this function will always be included in the - * link process. Due to this reason, prefer to use #PJ_PERROR() - * if the application is concerned about the executable size. - * - * Application MUST NOT pass native error codes (such as error code from - * functions like GetLastError() or errno) to PJLIB functions expecting - * @a pj_status_t. - * - * @section err_extending Extending the Error Space - * - * Application may register new error space to be recognized by the - * framework by using #pj_register_strerror(). Use the range started - * from PJ_ERRNO_START_USER to avoid conflict with existing error - * spaces. - * - */ - -/** - * Guidelines on error message length. - */ -#define PJ_ERR_MSG_SIZE 80 - -/** - * Buffer for title string of #PJ_PERROR(). - */ -#ifndef PJ_PERROR_TITLE_BUF_SIZE -# define PJ_PERROR_TITLE_BUF_SIZE 120 -#endif - - -/** - * Get the last platform error/status, folded into pj_status_t. - * @return OS dependent error code, folded into pj_status_t. - * @remark This function gets errno, or calls GetLastError() function and - * convert the code into pj_status_t with PJ_STATUS_FROM_OS. Do - * not call this for socket functions! - * @see pj_get_netos_error() - */ -PJ_DECL(pj_status_t) pj_get_os_error(void); - -/** - * Set last error. - * @param code pj_status_t - */ -PJ_DECL(void) pj_set_os_error(pj_status_t code); - -/** - * Get the last error from socket operations. - * @return Last socket error, folded into pj_status_t. - */ -PJ_DECL(pj_status_t) pj_get_netos_error(void); - -/** - * Set error code. - * @param code pj_status_t. - */ -PJ_DECL(void) pj_set_netos_error(pj_status_t code); - - -/** - * Get the error message for the specified error code. The message - * string will be NULL terminated. - * - * @param statcode The error code. - * @param buf Buffer to hold the error message string. - * @param bufsize Size of the buffer. - * - * @return The error message as NULL terminated string, - * wrapped with pj_str_t. - */ -PJ_DECL(pj_str_t) pj_strerror( pj_status_t statcode, - char *buf, pj_size_t bufsize); - -/** - * A utility macro to print error message pertaining to the specified error - * code to the log. This macro will construct the error message title - * according to the 'title_fmt' argument, and add the error string pertaining - * to the error code after the title string. A colon (':') will be added - * automatically between the title and the error string. - * - * This function is similar to pj_perror() function, but has the advantage - * that the function call can be omitted from the link process if the - * log level argument is below PJ_LOG_MAX_LEVEL threshold. - * - * Note that the title string constructed from the title_fmt will be built on - * a string buffer which size is PJ_PERROR_TITLE_BUF_SIZE, which normally is - * allocated from the stack. By default this buffer size is small (around - * 120 characters). Application MUST ensure that the constructed title string - * will not exceed this limit, since not all platforms support truncating - * the string. - * - * @see pj_perror() - * - * @param level The logging verbosity level, valid values are 0-6. Lower - * number indicates higher importance, with level zero - * indicates fatal error. Only numeral argument is - * permitted (e.g. not variable). - * @param arg Enclosed 'printf' like arguments, with the following - * arguments: - * - the sender (NULL terminated string), - * - the error code (pj_status_t) - * - the format string (title_fmt), and - * - optional variable number of arguments suitable for the - * format string. - * - * Sample: - * \verbatim - PJ_PERROR(2, (__FILE__, PJ_EBUSY, "Error making %s", "coffee")); - \endverbatim - * @hideinitializer - */ -#define PJ_PERROR(level,arg) do { \ - pj_perror_wrapper_##level(arg); \ - } while (0) - -/** - * A utility function to print error message pertaining to the specified error - * code to the log. This function will construct the error message title - * according to the 'title_fmt' argument, and add the error string pertaining - * to the error code after the title string. A colon (':') will be added - * automatically between the title and the error string. - * - * Unlike the PJ_PERROR() macro, this function takes the \a log_level argument - * as a normal argument, unlike in PJ_PERROR() where a numeral value must be - * given. However this function will always be linked to the executable, - * unlike PJ_PERROR() which can be omitted when the level is below the - * PJ_LOG_MAX_LEVEL. - * - * Note that the title string constructed from the title_fmt will be built on - * a string buffer which size is PJ_PERROR_TITLE_BUF_SIZE, which normally is - * allocated from the stack. By default this buffer size is small (around - * 120 characters). Application MUST ensure that the constructed title string - * will not exceed this limit, since not all platforms support truncating - * the string. - * - * @see PJ_PERROR() - */ -PJ_DECL(void) pj_perror(int log_level, const char *sender, pj_status_t status, - const char *title_fmt, ...); - - -/** - * Type of callback to be specified in #pj_register_strerror() - * - * @param e The error code to lookup. - * @param msg Buffer to store the error message. - * @param max Length of the buffer. - * - * @return The error string. - */ -typedef pj_str_t (*pj_error_callback)(pj_status_t e, char *msg, pj_size_t max); - - -/** - * Register strerror message handler for the specified error space. - * Application can register its own handler to supply the error message - * for the specified error code range. This handler will be called - * by #pj_strerror(). - * - * @param start_code The starting error code where the handler should - * be called to retrieve the error message. - * @param err_space The size of error space. The error code range then - * will fall in start_code to start_code+err_space-1 - * range. - * @param f The handler to be called when #pj_strerror() is - * supplied with error code that falls into this range. - * - * @return PJ_SUCCESS or the specified error code. The - * registration may fail when the error space has been - * occupied by other handler, or when there are too many - * handlers registered to PJLIB. - */ -PJ_DECL(pj_status_t) pj_register_strerror(pj_status_t start_code, - pj_status_t err_space, - pj_error_callback f); - -/** - * @hideinitializer - * Return platform os error code folded into pj_status_t code. This is - * the macro that is used throughout the library for all PJLIB's functions - * that returns error from operating system. Application may override - * this macro to reduce size (e.g. by defining it to always return - * #PJ_EUNKNOWN). - * - * Note: - * This macro MUST return non-zero value regardless whether zero is - * passed as the argument. The reason is to protect logic error when - * the operating system doesn't report error codes properly. - * - * @param os_code Platform OS error code. This value may be evaluated - * more than once. - * @return The platform os error code folded into pj_status_t. - */ -#ifndef PJ_RETURN_OS_ERROR -# define PJ_RETURN_OS_ERROR(os_code) (os_code ? \ - PJ_STATUS_FROM_OS(os_code) : -1) -#endif - - -/** - * @hideinitializer - * Fold a platform specific error into an pj_status_t code. - * - * @param e The platform os error code. - * @return pj_status_t - * @warning Macro implementation; the syserr argument may be evaluated - * multiple times. - */ -#if PJ_NATIVE_ERR_POSITIVE -# define PJ_STATUS_FROM_OS(e) (e == 0 ? PJ_SUCCESS : e + PJ_ERRNO_START_SYS) -#else -# define PJ_STATUS_FROM_OS(e) (e == 0 ? PJ_SUCCESS : PJ_ERRNO_START_SYS - e) -#endif - -/** - * @hideinitializer - * Fold an pj_status_t code back to the native platform defined error. - * - * @param e The pj_status_t folded platform os error code. - * @return pj_os_err_type - * @warning macro implementation; the statcode argument may be evaluated - * multiple times. If the statcode was not created by - * pj_get_os_error or PJ_STATUS_FROM_OS, the results are undefined. - */ -#if PJ_NATIVE_ERR_POSITIVE -# define PJ_STATUS_TO_OS(e) (e == 0 ? PJ_SUCCESS : e - PJ_ERRNO_START_SYS) -#else -# define PJ_STATUS_TO_OS(e) (e == 0 ? PJ_SUCCESS : PJ_ERRNO_START_SYS - e) -#endif - - -/** - * @defgroup pj_errnum PJLIB's Own Error Codes - * @ingroup pj_errno - * @{ - */ - -/** - * Use this macro to generate error message text for your error code, - * so that they look uniformly as the rest of the libraries. - * - * @param code The error code - * @param msg The error test. - */ -#ifndef PJ_BUILD_ERR -# define PJ_BUILD_ERR(code,msg) { code, msg " (" #code ")" } -#endif - - -/** - * @hideinitializer - * Unknown error has been reported. - */ -#define PJ_EUNKNOWN (PJ_ERRNO_START_STATUS + 1) /* 70001 */ -/** - * @hideinitializer - * The operation is pending and will be completed later. - */ -#define PJ_EPENDING (PJ_ERRNO_START_STATUS + 2) /* 70002 */ -/** - * @hideinitializer - * Too many connecting sockets. - */ -#define PJ_ETOOMANYCONN (PJ_ERRNO_START_STATUS + 3) /* 70003 */ -/** - * @hideinitializer - * Invalid argument. - */ -#define PJ_EINVAL (PJ_ERRNO_START_STATUS + 4) /* 70004 */ -/** - * @hideinitializer - * Name too long (eg. hostname too long). - */ -#define PJ_ENAMETOOLONG (PJ_ERRNO_START_STATUS + 5) /* 70005 */ -/** - * @hideinitializer - * Not found. - */ -#define PJ_ENOTFOUND (PJ_ERRNO_START_STATUS + 6) /* 70006 */ -/** - * @hideinitializer - * Not enough memory. - */ -#define PJ_ENOMEM (PJ_ERRNO_START_STATUS + 7) /* 70007 */ -/** - * @hideinitializer - * Bug detected! - */ -#define PJ_EBUG (PJ_ERRNO_START_STATUS + 8) /* 70008 */ -/** - * @hideinitializer - * Operation timed out. - */ -#define PJ_ETIMEDOUT (PJ_ERRNO_START_STATUS + 9) /* 70009 */ -/** - * @hideinitializer - * Too many objects. - */ -#define PJ_ETOOMANY (PJ_ERRNO_START_STATUS + 10)/* 70010 */ -/** - * @hideinitializer - * Object is busy. - */ -#define PJ_EBUSY (PJ_ERRNO_START_STATUS + 11)/* 70011 */ -/** - * @hideinitializer - * The specified option is not supported. - */ -#define PJ_ENOTSUP (PJ_ERRNO_START_STATUS + 12)/* 70012 */ -/** - * @hideinitializer - * Invalid operation. - */ -#define PJ_EINVALIDOP (PJ_ERRNO_START_STATUS + 13)/* 70013 */ -/** - * @hideinitializer - * Operation is cancelled. - */ -#define PJ_ECANCELLED (PJ_ERRNO_START_STATUS + 14)/* 70014 */ -/** - * @hideinitializer - * Object already exists. - */ -#define PJ_EEXISTS (PJ_ERRNO_START_STATUS + 15)/* 70015 */ -/** - * @hideinitializer - * End of file. - */ -#define PJ_EEOF (PJ_ERRNO_START_STATUS + 16)/* 70016 */ -/** - * @hideinitializer - * Size is too big. - */ -#define PJ_ETOOBIG (PJ_ERRNO_START_STATUS + 17)/* 70017 */ -/** - * @hideinitializer - * Error in gethostbyname(). This is a generic error returned when - * gethostbyname() has returned an error. - */ -#define PJ_ERESOLVE (PJ_ERRNO_START_STATUS + 18)/* 70018 */ -/** - * @hideinitializer - * Size is too small. - */ -#define PJ_ETOOSMALL (PJ_ERRNO_START_STATUS + 19)/* 70019 */ -/** - * @hideinitializer - * Ignored - */ -#define PJ_EIGNORED (PJ_ERRNO_START_STATUS + 20)/* 70020 */ -/** - * @hideinitializer - * IPv6 is not supported - */ -#define PJ_EIPV6NOTSUP (PJ_ERRNO_START_STATUS + 21)/* 70021 */ -/** - * @hideinitializer - * Unsupported address family - */ -#define PJ_EAFNOTSUP (PJ_ERRNO_START_STATUS + 22)/* 70022 */ - -/** @} */ /* pj_errnum */ - -/** @} */ /* pj_errno */ - - -/** - * PJ_ERRNO_START is where PJLIB specific error values start. - */ -#define PJ_ERRNO_START 20000 - -/** - * PJ_ERRNO_SPACE_SIZE is the maximum number of errors in one of - * the error/status range below. - */ -#define PJ_ERRNO_SPACE_SIZE 50000 - -/** - * PJ_ERRNO_START_STATUS is where PJLIB specific status codes start. - * Effectively the error in this class would be 70000 - 119000. - */ -#define PJ_ERRNO_START_STATUS (PJ_ERRNO_START + PJ_ERRNO_SPACE_SIZE) - -/** - * PJ_ERRNO_START_SYS converts platform specific error codes into - * pj_status_t values. - * Effectively the error in this class would be 120000 - 169000. - */ -#define PJ_ERRNO_START_SYS (PJ_ERRNO_START_STATUS + PJ_ERRNO_SPACE_SIZE) - -/** - * PJ_ERRNO_START_USER are reserved for applications that use error - * codes along with PJLIB codes. - * Effectively the error in this class would be 170000 - 219000. - */ -#define PJ_ERRNO_START_USER (PJ_ERRNO_START_SYS + PJ_ERRNO_SPACE_SIZE) - - -/* - * Below are list of error spaces that have been taken so far: - * - PJSIP_ERRNO_START (PJ_ERRNO_START_USER) - * - PJMEDIA_ERRNO_START (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE) - * - PJSIP_SIMPLE_ERRNO_START (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*2) - * - PJLIB_UTIL_ERRNO_START (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*3) - * - PJNATH_ERRNO_START (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*4) - * - PJMEDIA_AUDIODEV_ERRNO_START (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*5) - * - PJ_SSL_ERRNO_START (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*6) - * - PJMEDIA_VIDEODEV_ERRNO_START (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*7) - */ - -/* Internal */ -void pj_errno_clear_handlers(void); - - -/****** Internal for PJ_PERROR *******/ - -/** - * @def pj_perror_wrapper_1(arg) - * Internal function to write log with verbosity 1. Will evaluate to - * empty expression if PJ_LOG_MAX_LEVEL is below 1. - * @param arg Log expression. - */ -#if PJ_LOG_MAX_LEVEL >= 1 - #define pj_perror_wrapper_1(arg) pj_perror_1 arg - /** Internal function. */ - PJ_DECL(void) pj_perror_1(const char *sender, pj_status_t status, - const char *title_fmt, ...); -#else - #define pj_perror_wrapper_1(arg) -#endif - -/** - * @def pj_perror_wrapper_2(arg) - * Internal function to write log with verbosity 2. Will evaluate to - * empty expression if PJ_LOG_MAX_LEVEL is below 2. - * @param arg Log expression. - */ -#if PJ_LOG_MAX_LEVEL >= 2 - #define pj_perror_wrapper_2(arg) pj_perror_2 arg - /** Internal function. */ - PJ_DECL(void) pj_perror_2(const char *sender, pj_status_t status, - const char *title_fmt, ...); -#else - #define pj_perror_wrapper_2(arg) -#endif - -/** - * @def pj_perror_wrapper_3(arg) - * Internal function to write log with verbosity 3. Will evaluate to - * empty expression if PJ_LOG_MAX_LEVEL is below 3. - * @param arg Log expression. - */ -#if PJ_LOG_MAX_LEVEL >= 3 - #define pj_perror_wrapper_3(arg) pj_perror_3 arg - /** Internal function. */ - PJ_DECL(void) pj_perror_3(const char *sender, pj_status_t status, - const char *title_fmt, ...); -#else - #define pj_perror_wrapper_3(arg) -#endif - -/** - * @def pj_perror_wrapper_4(arg) - * Internal function to write log with verbosity 4. Will evaluate to - * empty expression if PJ_LOG_MAX_LEVEL is below 4. - * @param arg Log expression. - */ -#if PJ_LOG_MAX_LEVEL >= 4 - #define pj_perror_wrapper_4(arg) pj_perror_4 arg - /** Internal function. */ - PJ_DECL(void) pj_perror_4(const char *sender, pj_status_t status, - const char *title_fmt, ...); -#else - #define pj_perror_wrapper_4(arg) -#endif - -/** - * @def pj_perror_wrapper_5(arg) - * Internal function to write log with verbosity 5. Will evaluate to - * empty expression if PJ_LOG_MAX_LEVEL is below 5. - * @param arg Log expression. - */ -#if PJ_LOG_MAX_LEVEL >= 5 - #define pj_perror_wrapper_5(arg) pj_perror_5 arg - /** Internal function. */ - PJ_DECL(void) pj_perror_5(const char *sender, pj_status_t status, - const char *title_fmt, ...); -#else - #define pj_perror_wrapper_5(arg) -#endif - -/** - * @def pj_perror_wrapper_6(arg) - * Internal function to write log with verbosity 6. Will evaluate to - * empty expression if PJ_LOG_MAX_LEVEL is below 6. - * @param arg Log expression. - */ -#if PJ_LOG_MAX_LEVEL >= 6 - #define pj_perror_wrapper_6(arg) pj_perror_6 arg - /** Internal function. */ - PJ_DECL(void) pj_perror_6(const char *sender, pj_status_t status, - const char *title_fmt, ...); -#else - #define pj_perror_wrapper_6(arg) -#endif - - - - -PJ_END_DECL - -#endif /* __PJ_ERRNO_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/except.h b/res/pjproject/pjlib/include/pj/except.h deleted file mode 100644 index efe42e7b6f..0000000000 --- a/res/pjproject/pjlib/include/pj/except.h +++ /dev/null @@ -1,421 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_EXCEPTION_H__ -#define __PJ_EXCEPTION_H__ - -/** - * @file except.h - * @brief Exception Handling in C. - */ - -#include -#include -#include - - -PJ_BEGIN_DECL - - -/** - * @defgroup PJ_EXCEPT Exception Handling - * @ingroup PJ_MISC - * @{ - * - * \section pj_except_sample_sec Quick Example - * - * For the impatient, take a look at some examples: - * - @ref page_pjlib_samples_except_c - * - @ref page_pjlib_exception_test - * - * \section pj_except_except Exception Handling - * - * This module provides exception handling syntactically similar to C++ in - * C language. In Win32 systems, it uses Windows Structured Exception - * Handling (SEH) if macro PJ_EXCEPTION_USE_WIN32_SEH is non-zero. - * Otherwise it will use setjmp() and longjmp(). - * - * On some platforms where setjmp/longjmp is not available, setjmp/longjmp - * implementation is provided. See for compatibility. - * - * The exception handling mechanism is completely thread safe, so the exception - * thrown by one thread will not interfere with other thread. - * - * The exception handling constructs are similar to C++. The blocks will be - * constructed similar to the following sample: - * - * \verbatim - #define NO_MEMORY 1 - #define SYNTAX_ERROR 2 - - int sample1() - { - PJ_USE_EXCEPTION; // declare local exception stack. - - PJ_TRY { - ...// do something.. - } - PJ_CATCH(NO_MEMORY) { - ... // handle exception 1 - } - PJ_END; - } - - int sample2() - { - PJ_USE_EXCEPTION; // declare local exception stack. - - PJ_TRY { - ...// do something.. - } - PJ_CATCH_ANY { - if (PJ_GET_EXCEPTION() == NO_MEMORY) - ...; // handle no memory situation - else if (PJ_GET_EXCEPTION() == SYNTAX_ERROR) - ...; // handle syntax error - } - PJ_END; - } - \endverbatim - * - * The above sample uses hard coded exception ID. It is @b strongly - * recommended that applications request a unique exception ID instead - * of hard coded value like above. - * - * \section pj_except_reg Exception ID Allocation - * - * To ensure that exception ID (number) are used consistently and to - * prevent ID collisions in an application, it is strongly suggested that - * applications allocate an exception ID for each possible exception - * type. As a bonus of this process, the application can identify - * the name of the exception when the particular exception is thrown. - * - * Exception ID management are performed with the following APIs: - * - #pj_exception_id_alloc(). - * - #pj_exception_id_free(). - * - #pj_exception_id_name(). - * - * - * PJLIB itself automatically allocates one exception id, i.e. - * #PJ_NO_MEMORY_EXCEPTION which is declared in . This exception - * ID is raised by default pool policy when it fails to allocate memory. - * - * CAVEATS: - * - unlike C++ exception, the scheme here won't call destructors of local - * objects if exception is thrown. Care must be taken when a function - * hold some resorce such as pool or mutex etc. - * - You CAN NOT make nested exception in one single function without using - * a nested PJ_USE_EXCEPTION. Samples: - \verbatim - void wrong_sample() - { - PJ_USE_EXCEPTION; - - PJ_TRY { - // Do stuffs - ... - } - PJ_CATCH_ANY { - // Do other stuffs - .... - .. - - // The following block is WRONG! You MUST declare - // PJ_USE_EXCEPTION once again in this block. - PJ_TRY { - .. - } - PJ_CATCH_ANY { - .. - } - PJ_END; - } - PJ_END; - } - - \endverbatim - - * - You MUST NOT exit the function inside the PJ_TRY block. The correct way - * is to return from the function after PJ_END block is executed. - * For example, the following code will yield crash not in this code, - * but rather in the subsequent execution of PJ_TRY block: - \verbatim - void wrong_sample() - { - PJ_USE_EXCEPTION; - - PJ_TRY { - // do some stuffs - ... - return; <======= DO NOT DO THIS! - } - PJ_CATCH_ANY { - } - PJ_END; - } - \endverbatim - - * - You can not provide more than PJ_CATCH or PJ_CATCH_ANY nor use PJ_CATCH - * and PJ_CATCH_ANY for a single PJ_TRY. - * - Exceptions will always be caught by the first handler (unlike C++ where - * exception is only caught if the type matches. - - * \section PJ_EX_KEYWORDS Keywords - * - * \subsection PJ_THROW PJ_THROW(expression) - * Throw an exception. The expression thrown is an integer as the result of - * the \a expression. This keyword can be specified anywhere within the - * program. - * - * \subsection PJ_USE_EXCEPTION PJ_USE_EXCEPTION - * Specify this in the variable definition section of the function block - * (or any blocks) to specify that the block has \a PJ_TRY/PJ_CATCH exception - * block. - * Actually, this is just a macro to declare local variable which is used to - * push the exception state to the exception stack. - * Note: you must specify PJ_USE_EXCEPTION as the last statement in the - * local variable declarations, since it may evaluate to nothing. - * - * \subsection PJ_TRY PJ_TRY - * The \a PJ_TRY keyword is typically followed by a block. If an exception is - * thrown in this block, then the execution will resume to the \a PJ_CATCH - * handler. - * - * \subsection PJ_CATCH PJ_CATCH(expression) - * The \a PJ_CATCH is normally followed by a block. This block will be executed - * if the exception being thrown is equal to the expression specified in the - * \a PJ_CATCH. - * - * \subsection PJ_CATCH_ANY PJ_CATCH_ANY - * The \a PJ_CATCH is normally followed by a block. This block will be executed - * if any exception was raised in the TRY block. - * - * \subsection PJ_END PJ_END - * Specify this keyword to mark the end of \a PJ_TRY / \a PJ_CATCH blocks. - * - * \subsection PJ_GET_EXCEPTION PJ_GET_EXCEPTION(void) - * Get the last exception thrown. This macro is normally called inside the - * \a PJ_CATCH or \a PJ_CATCH_ANY block, altough it can be used anywhere where - * the \a PJ_USE_EXCEPTION definition is in scope. - * - * - * \section pj_except_examples_sec Examples - * - * For some examples on how to use the exception construct, please see: - * - @ref page_pjlib_samples_except_c - * - @ref page_pjlib_exception_test - */ - -/** - * Allocate a unique exception id. - * Applications don't have to allocate a unique exception ID before using - * the exception construct. However, by doing so it ensures that there is - * no collisions of exception ID. - * - * As a bonus, when exception number is acquired through this function, - * the library can assign name to the exception (only if - * PJ_HAS_EXCEPTION_NAMES is enabled (default is yes)) and find out the - * exception name when it catches an exception. - * - * @param name Name to be associated with the exception ID. - * @param id Pointer to receive the ID. - * - * @return PJ_SUCCESS on success or PJ_ETOOMANY if the library - * is running out out ids. - */ -PJ_DECL(pj_status_t) pj_exception_id_alloc(const char *name, - pj_exception_id_t *id); - -/** - * Free an exception id. - * - * @param id The exception ID. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_exception_id_free(pj_exception_id_t id); - -/** - * Retrieve name associated with the exception id. - * - * @param id The exception ID. - * - * @return The name associated with the specified ID. - */ -PJ_DECL(const char*) pj_exception_id_name(pj_exception_id_t id); - - -/** @} */ - -#if defined(PJ_EXCEPTION_USE_WIN32_SEH) && PJ_EXCEPTION_USE_WIN32_SEH != 0 -/***************************************************************************** - ** - ** IMPLEMENTATION OF EXCEPTION USING WINDOWS SEH - ** - ****************************************************************************/ -#define WIN32_LEAN_AND_MEAN -#include - -PJ_IDECL_NO_RETURN(void) -pj_throw_exception_(pj_exception_id_t id) PJ_ATTR_NORETURN -{ - RaiseException(id,1,0,NULL); -} - -#define PJ_USE_EXCEPTION -#define PJ_TRY __try -#define PJ_CATCH(id) __except(GetExceptionCode()==id ? \ - EXCEPTION_EXECUTE_HANDLER : \ - EXCEPTION_CONTINUE_SEARCH) -#define PJ_CATCH_ANY __except(EXCEPTION_EXECUTE_HANDLER) -#define PJ_END -#define PJ_THROW(id) pj_throw_exception_(id) -#define PJ_GET_EXCEPTION() GetExceptionCode() - - -#elif defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0 -/***************************************************************************** - ** - ** IMPLEMENTATION OF EXCEPTION USING SYMBIAN LEAVE/TRAP FRAMEWORK - ** - ****************************************************************************/ - -/* To include this file, the source file must be compiled as - * C++ code! - */ -#ifdef __cplusplus - -class TPjException -{ -public: - int code_; -}; - -#define PJ_USE_EXCEPTION -#define PJ_TRY try -//#define PJ_CATCH(id) -#define PJ_CATCH_ANY catch (const TPjException & pj_excp_) -#define PJ_END -#define PJ_THROW(x_id) do { TPjException e; e.code_=x_id; throw e;} \ - while (0) -#define PJ_GET_EXCEPTION() pj_excp_.code_ - -#else - -#define PJ_USE_EXCEPTION -#define PJ_TRY -#define PJ_CATCH_ANY if (0) -#define PJ_END -#define PJ_THROW(x_id) do { PJ_LOG(1,("PJ_THROW"," error code = %d",x_id)); } while (0) -#define PJ_GET_EXCEPTION() 0 - -#endif /* __cplusplus */ - -#else -/***************************************************************************** - ** - ** IMPLEMENTATION OF EXCEPTION USING GENERIC SETJMP/LONGJMP - ** - ****************************************************************************/ - -/** - * This structure (which should be invisible to user) manages the TRY handler - * stack. - */ -struct pj_exception_state_t -{ - struct pj_exception_state_t *prev; /**< Previous state in the list. */ - pj_jmp_buf state; /**< jmp_buf. */ -}; - -/** - * Throw exception. - * @param id Exception Id. - */ -PJ_DECL_NO_RETURN(void) -pj_throw_exception_(pj_exception_id_t id) PJ_ATTR_NORETURN; - -/** - * Push exception handler. - */ -PJ_DECL(void) pj_push_exception_handler_(struct pj_exception_state_t *rec); - -/** - * Pop exception handler. - */ -PJ_DECL(void) pj_pop_exception_handler_(struct pj_exception_state_t *rec); - -/** - * Declare that the function will use exception. - * @hideinitializer - */ -#define PJ_USE_EXCEPTION struct pj_exception_state_t pj_x_except__; int pj_x_code__ - -/** - * Start exception specification block. - * @hideinitializer - */ -#define PJ_TRY if (1) { \ - pj_push_exception_handler_(&pj_x_except__); \ - pj_x_code__ = pj_setjmp(pj_x_except__.state); \ - if (pj_x_code__ == 0) -/** - * Catch the specified exception Id. - * @param id The exception number to catch. - * @hideinitializer - */ -#define PJ_CATCH(id) else if (pj_x_code__ == (id)) - -/** - * Catch any exception number. - * @hideinitializer - */ -#define PJ_CATCH_ANY else - -/** - * End of exception specification block. - * @hideinitializer - */ -#define PJ_END pj_pop_exception_handler_(&pj_x_except__); \ - } else {} - -/** - * Throw exception. - * @param exception_id The exception number. - * @hideinitializer - */ -#define PJ_THROW(exception_id) pj_throw_exception_(exception_id) - -/** - * Get current exception. - * @return Current exception code. - * @hideinitializer - */ -#define PJ_GET_EXCEPTION() (pj_x_code__) - -#endif /* PJ_EXCEPTION_USE_WIN32_SEH */ - - -PJ_END_DECL - - - -#endif /* __PJ_EXCEPTION_H__ */ - - diff --git a/res/pjproject/pjlib/include/pj/fifobuf.h b/res/pjproject/pjlib/include/pj/fifobuf.h deleted file mode 100644 index 8a4b2d618c..0000000000 --- a/res/pjproject/pjlib/include/pj/fifobuf.h +++ /dev/null @@ -1,44 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_FIFOBUF_H__ -#define __PJ_FIFOBUF_H__ - -#include - -PJ_BEGIN_DECL - -typedef struct pj_fifobuf_t pj_fifobuf_t; -struct pj_fifobuf_t -{ - char *first, *last; - char *ubegin, *uend; - int full; -}; - -PJ_DECL(void) pj_fifobuf_init (pj_fifobuf_t *fb, void *buffer, unsigned size); -PJ_DECL(unsigned) pj_fifobuf_max_size (pj_fifobuf_t *fb); -PJ_DECL(void*) pj_fifobuf_alloc (pj_fifobuf_t *fb, unsigned size); -PJ_DECL(pj_status_t) pj_fifobuf_unalloc (pj_fifobuf_t *fb, void *buf); -PJ_DECL(pj_status_t) pj_fifobuf_free (pj_fifobuf_t *fb, void *buf); - -PJ_END_DECL - -#endif /* __PJ_FIFOBUF_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/file_access.h b/res/pjproject/pjlib/include/pj/file_access.h deleted file mode 100644 index 30b633a0f2..0000000000 --- a/res/pjproject/pjlib/include/pj/file_access.h +++ /dev/null @@ -1,109 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_FILE_ACCESS_H__ -#define __PJ_FILE_ACCESS_H__ - -/** - * @file file_access.h - * @brief File manipulation and access. - */ -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_FILE_ACCESS File Access - * @ingroup PJ_IO - * @{ - * - */ - -/** - * This structure describes file information, to be obtained by - * calling #pj_file_getstat(). The time information in this structure - * is in local time. - */ -typedef struct pj_file_stat -{ - pj_off_t size; /**< Total file size. */ - pj_time_val atime; /**< Time of last access. */ - pj_time_val mtime; /**< Time of last modification. */ - pj_time_val ctime; /**< Time of last creation. */ -} pj_file_stat; - - -/** - * Returns non-zero if the specified file exists. - * - * @param filename The file name. - * - * @return Non-zero if the file exists. - */ -PJ_DECL(pj_bool_t) pj_file_exists(const char *filename); - -/** - * Returns the size of the file. - * - * @param filename The file name. - * - * @return The file size in bytes or -1 on error. - */ -PJ_DECL(pj_off_t) pj_file_size(const char *filename); - -/** - * Delete a file. - * - * @param filename The filename. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_file_delete(const char *filename); - -/** - * Move a \c oldname to \c newname. If \c newname already exists, - * it will be overwritten. - * - * @param oldname The file to rename. - * @param newname New filename to assign. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_file_move( const char *oldname, - const char *newname); - - -/** - * Return information about the specified file. The time information in - * the \c stat structure will be in local time. - * - * @param filename The filename. - * @param stat Pointer to variable to receive file information. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_file_getstat(const char *filename, pj_file_stat *stat); - - -/** @} */ - -PJ_END_DECL - - -#endif /* __PJ_FILE_ACCESS_H__ */ diff --git a/res/pjproject/pjlib/include/pj/file_io.h b/res/pjproject/pjlib/include/pj/file_io.h deleted file mode 100644 index d036543059..0000000000 --- a/res/pjproject/pjlib/include/pj/file_io.h +++ /dev/null @@ -1,183 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_FILE_IO_H__ -#define __PJ_FILE_IO_H__ - -/** - * @file file_io.h - * @brief Simple file I/O abstraction. - */ -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_FILE_IO File I/O - * @ingroup PJ_IO - * @{ - * - * This file contains functionalities to perform file I/O. The file - * I/O can be implemented with various back-end, either using native - * file API or ANSI stream. - * - * @section pj_file_size_limit_sec Size Limits - * - * There may be limitation on the size that can be handled by the - * #pj_file_setpos() or #pj_file_getpos() functions. The API itself - * uses 64-bit integer for the file offset/position (where available); - * however some backends (such as ANSI) may only support signed 32-bit - * offset resolution. - * - * Reading and writing operation uses signed 32-bit integer to indicate - * the size. - * - * - */ - -/** - * These enumerations are used when opening file. Values PJ_O_RDONLY, - * PJ_O_WRONLY, and PJ_O_RDWR are mutually exclusive. Value PJ_O_APPEND - * can only be used when the file is opened for writing. - */ -enum pj_file_access -{ - PJ_O_RDONLY = 0x1101, /**< Open file for reading. */ - PJ_O_WRONLY = 0x1102, /**< Open file for writing. */ - PJ_O_RDWR = 0x1103, /**< Open file for reading and writing. - File will be truncated. */ - PJ_O_APPEND = 0x1108 /**< Append to existing file. */ -}; - -/** - * The seek directive when setting the file position with #pj_file_setpos. - */ -enum pj_file_seek_type -{ - PJ_SEEK_SET = 0x1201, /**< Offset from beginning of the file. */ - PJ_SEEK_CUR = 0x1202, /**< Offset from current position. */ - PJ_SEEK_END = 0x1203 /**< Size of the file plus offset. */ -}; - -/** - * Open the file as specified in \c pathname with the specified - * mode, and return the handle in \c fd. All files will be opened - * as binary. - * - * @param pool Pool to allocate memory for the new file descriptor. - * @param pathname The file name to open. - * @param flags Open flags, which is bitmask combination of - * #pj_file_access enum. The flag must be either - * PJ_O_RDONLY, PJ_O_WRONLY, or PJ_O_RDWR. When file - * writing is specified, existing file will be - * truncated unless PJ_O_APPEND is specified. - * @param fd The returned descriptor. - * - * @return PJ_SUCCESS or the appropriate error code on error. - */ -PJ_DECL(pj_status_t) pj_file_open(pj_pool_t *pool, - const char *pathname, - unsigned flags, - pj_oshandle_t *fd); - -/** - * Close an opened file descriptor. - * - * @param fd The file descriptor. - * - * @return PJ_SUCCESS or the appropriate error code on error. - */ -PJ_DECL(pj_status_t) pj_file_close(pj_oshandle_t fd); - -/** - * Write data with the specified size to an opened file. - * - * @param fd The file descriptor. - * @param data Data to be written to the file. - * @param size On input, specifies the size of data to be written. - * On return, it contains the number of data actually - * written to the file. - * - * @return PJ_SUCCESS or the appropriate error code on error. - */ -PJ_DECL(pj_status_t) pj_file_write(pj_oshandle_t fd, - const void *data, - pj_ssize_t *size); - -/** - * Read data from the specified file. When end-of-file condition is set, - * this function will return PJ_SUCCESS but the size will contain zero. - * - * @param fd The file descriptor. - * @param data Pointer to buffer to receive the data. - * @param size On input, specifies the maximum number of data to - * read from the file. On output, it contains the size - * of data actually read from the file. It will contain - * zero when EOF occurs. - * - * @return PJ_SUCCESS or the appropriate error code on error. - * When EOF occurs, the return is PJ_SUCCESS but size - * will report zero. - */ -PJ_DECL(pj_status_t) pj_file_read(pj_oshandle_t fd, - void *data, - pj_ssize_t *size); - -/** - * Set file position to new offset according to directive \c whence. - * - * @param fd The file descriptor. - * @param offset The new file position to set. - * @param whence The directive. - * - * @return PJ_SUCCESS or the appropriate error code on error. - */ -PJ_DECL(pj_status_t) pj_file_setpos(pj_oshandle_t fd, - pj_off_t offset, - enum pj_file_seek_type whence); - -/** - * Get current file position. - * - * @param fd The file descriptor. - * @param pos On return contains the file position as measured - * from the beginning of the file. - * - * @return PJ_SUCCESS or the appropriate error code on error. - */ -PJ_DECL(pj_status_t) pj_file_getpos(pj_oshandle_t fd, - pj_off_t *pos); - -/** - * Flush file buffers. - * - * @param fd The file descriptor. - * - * @return PJ_SUCCESS or the appropriate error code on error. - */ -PJ_DECL(pj_status_t) pj_file_flush(pj_oshandle_t fd); - - -/** @} */ - - -PJ_END_DECL - -#endif /* __PJ_FILE_IO_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/guid.h b/res/pjproject/pjlib/include/pj/guid.h deleted file mode 100644 index 96a5849e4a..0000000000 --- a/res/pjproject/pjlib/include/pj/guid.h +++ /dev/null @@ -1,101 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_GUID_H__ -#define __PJ_GUID_H__ - - -/** - * @file guid.h - * @brief GUID Globally Unique Identifier. - */ -#include - - -PJ_BEGIN_DECL - - -/** - * @defgroup PJ_DS Data Structure. - */ -/** - * @defgroup PJ_GUID Globally Unique Identifier - * @ingroup PJ_DS - * @{ - * - * This module provides API to create string that is globally unique. - * If application doesn't require that strong requirement, it can just - * use #pj_create_random_string() instead. - */ - - -/** - * PJ_GUID_STRING_LENGTH specifies length of GUID string. The value is - * dependent on the algorithm used internally to generate the GUID string. - * If real GUID generator is used, then the length will be between 32 and - * 36 bytes. Application should not assume which algorithm will - * be used by GUID generator. - * - * Regardless of the actual length of the GUID, it will not exceed - * PJ_GUID_MAX_LENGTH characters. - * - * @see pj_GUID_STRING_LENGTH() - * @see PJ_GUID_MAX_LENGTH - */ -PJ_DECL_DATA(const unsigned) PJ_GUID_STRING_LENGTH; - -/** - * Get #PJ_GUID_STRING_LENGTH constant. - */ -PJ_DECL(unsigned) pj_GUID_STRING_LENGTH(void); - -/** - * PJ_GUID_MAX_LENGTH specifies the maximum length of GUID string, - * regardless of which algorithm to use. - */ -#define PJ_GUID_MAX_LENGTH 36 - -/** - * Create a globally unique string, which length is PJ_GUID_STRING_LENGTH - * characters. Caller is responsible for preallocating the storage used - * in the string. - * - * @param str The string to store the result. - * - * @return The string. - */ -PJ_DECL(pj_str_t*) pj_generate_unique_string(pj_str_t *str); - -/** - * Generate a unique string. - * - * @param pool Pool to allocate memory from. - * @param str The string. - */ -PJ_DECL(void) pj_create_unique_string(pj_pool_t *pool, pj_str_t *str); - - -/** - * @} - */ - -PJ_END_DECL - -#endif/* __PJ_GUID_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/hash.h b/res/pjproject/pjlib/include/pj/hash.h deleted file mode 100644 index 7b9f6df3e9..0000000000 --- a/res/pjproject/pjlib/include/pj/hash.h +++ /dev/null @@ -1,220 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_HASH_H__ -#define __PJ_HASH_H__ - -/** - * @file hash.h - * @brief Hash Table. - */ - -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_HASH Hash Table - * @ingroup PJ_DS - * @{ - * A hash table is a dictionary in which keys are mapped to array positions by - * hash functions. Having the keys of more than one item map to the same - * position is called a collision. In this library, we will chain the nodes - * that have the same key in a list. - */ - -/** - * If this constant is used as keylen, then the key is interpreted as - * NULL terminated string. - */ -#define PJ_HASH_KEY_STRING ((unsigned)-1) - -/** - * This indicates the size of of each hash entry. - */ -#define PJ_HASH_ENTRY_BUF_SIZE (3*sizeof(void*) + 2*sizeof(pj_uint32_t)) - -/** - * Type declaration for entry buffer, used by #pj_hash_set_np() - */ -typedef void *pj_hash_entry_buf[(PJ_HASH_ENTRY_BUF_SIZE+sizeof(void*)-1)/(sizeof(void*))]; - -/** - * This is the function that is used by the hash table to calculate hash value - * of the specified key. - * - * @param hval the initial hash value, or zero. - * @param key the key to calculate. - * @param keylen the length of the key, or PJ_HASH_KEY_STRING to treat - * the key as null terminated string. - * - * @return the hash value. - */ -PJ_DECL(pj_uint32_t) pj_hash_calc(pj_uint32_t hval, - const void *key, unsigned keylen); - - -/** - * Convert the key to lowercase and calculate the hash value. The resulting - * string is stored in \c result. - * - * @param hval The initial hash value, normally zero. - * @param result Buffer to store the result, which must be enough to hold - * the string. - * @param key The input key to be converted and calculated. - * - * @return The hash value. - */ -PJ_DECL(pj_uint32_t) pj_hash_calc_tolower(pj_uint32_t hval, - char *result, - const pj_str_t *key); - -/** - * Create a hash table with the specified 'bucket' size. - * - * @param pool the pool from which the hash table will be allocated from. - * @param size the bucket size, which will be round-up to the nearest 2^n-1 - * - * @return the hash table. - */ -PJ_DECL(pj_hash_table_t*) pj_hash_create(pj_pool_t *pool, unsigned size); - - -/** - * Get the value associated with the specified key. - * - * @param ht the hash table. - * @param key the key to look for. - * @param keylen the length of the key, or PJ_HASH_KEY_STRING to use the - * string length of the key. - * @param hval if this argument is not NULL and the value is not zero, - * the value will be used as the computed hash value. If - * the argument is not NULL and the value is zero, it will - * be filled with the computed hash upon return. - * - * @return the value associated with the key, or NULL if the key is not found. - */ -PJ_DECL(void *) pj_hash_get( pj_hash_table_t *ht, - const void *key, unsigned keylen, - pj_uint32_t *hval ); - - -/** - * Associate/disassociate a value with the specified key. If value is not - * NULL and entry already exists, the entry's value will be overwritten. - * If value is not NULL and entry does not exist, a new one will be created - * with the specified pool. Otherwise if value is NULL, entry will be - * deleted if it exists. - * - * @param pool the pool to allocate the new entry if a new entry has to be - * created. - * @param ht the hash table. - * @param key the key. If pool is not specified, the key MUST point to - * buffer that remains valid for the duration of the entry. - * @param keylen the length of the key, or PJ_HASH_KEY_STRING to use the - * string length of the key. - * @param hval if the value is not zero, then the hash table will use - * this value to search the entry's index, otherwise it will - * compute the key. This value can be obtained when calling - * #pj_hash_get(). - * @param value value to be associated, or NULL to delete the entry with - * the specified key. - */ -PJ_DECL(void) pj_hash_set( pj_pool_t *pool, pj_hash_table_t *ht, - const void *key, unsigned keylen, pj_uint32_t hval, - void *value ); - - -/** - * Associate/disassociate a value with the specified key. This function works - * like #pj_hash_set(), except that it doesn't use pool (hence the np -- no - * pool suffix). If new entry needs to be allocated, it will use the entry_buf. - * - * @param ht the hash table. - * @param key the key. - * @param keylen the length of the key, or PJ_HASH_KEY_STRING to use the - * string length of the key. - * @param hval if the value is not zero, then the hash table will use - * this value to search the entry's index, otherwise it will - * compute the key. This value can be obtained when calling - * #pj_hash_get(). - * @param entry_buf Buffer which will be used for the new entry, when one needs - * to be created. - * @param value value to be associated, or NULL to delete the entry with - * the specified key. - */ -PJ_DECL(void) pj_hash_set_np(pj_hash_table_t *ht, - const void *key, unsigned keylen, - pj_uint32_t hval, pj_hash_entry_buf entry_buf, - void *value); - -/** - * Get the total number of entries in the hash table. - * - * @param ht the hash table. - * - * @return the number of entries in the hash table. - */ -PJ_DECL(unsigned) pj_hash_count( pj_hash_table_t *ht ); - - -/** - * Get the iterator to the first element in the hash table. - * - * @param ht the hash table. - * @param it the iterator for iterating hash elements. - * - * @return the iterator to the hash element, or NULL if no element presents. - */ -PJ_DECL(pj_hash_iterator_t*) pj_hash_first( pj_hash_table_t *ht, - pj_hash_iterator_t *it ); - - -/** - * Get the next element from the iterator. - * - * @param ht the hash table. - * @param it the hash iterator. - * - * @return the next iterator, or NULL if there's no more element. - */ -PJ_DECL(pj_hash_iterator_t*) pj_hash_next( pj_hash_table_t *ht, - pj_hash_iterator_t *it ); - -/** - * Get the value associated with a hash iterator. - * - * @param ht the hash table. - * @param it the hash iterator. - * - * @return the value associated with the current element in iterator. - */ -PJ_DECL(void*) pj_hash_this( pj_hash_table_t *ht, - pj_hash_iterator_t *it ); - - -/** - * @} - */ - -PJ_END_DECL - -#endif - - diff --git a/res/pjproject/pjlib/include/pj/ioqueue.h b/res/pjproject/pjlib/include/pj/ioqueue.h deleted file mode 100644 index 40bb403c6b..0000000000 --- a/res/pjproject/pjlib/include/pj/ioqueue.h +++ /dev/null @@ -1,805 +0,0 @@ -/* $Id$ - */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_IOQUEUE_H__ -#define __PJ_IOQUEUE_H__ - -/** - * @file ioqueue.h - * @brief I/O Dispatching Mechanism - */ - -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_IO Input/Output - * @brief Input/Output - * @ingroup PJ_OS - * - * This section contains API building blocks to perform network I/O and - * communications. If provides: - * - @ref PJ_SOCK - *\n - * A highly portable socket abstraction, runs on all kind of - * network APIs such as standard BSD socket, Windows socket, Linux - * \b kernel socket, PalmOS networking API, etc. - * - * - @ref pj_addr_resolve - *\n - * Portable address resolution, which implements #pj_gethostbyname(). - * - * - @ref PJ_SOCK_SELECT - *\n - * A portable \a select() like API (#pj_sock_select()) which can be - * implemented with various back-ends. - * - * - @ref PJ_IOQUEUE - *\n - * Framework for dispatching network events. - * - * For more information see the modules below. - */ - -/** - * @defgroup PJ_IOQUEUE IOQueue: I/O Event Dispatching with Proactor Pattern - * @ingroup PJ_IO - * @{ - * - * I/O Queue provides API for performing asynchronous I/O operations. It - * conforms to proactor pattern, which allows application to submit an - * asynchronous operation and to be notified later when the operation has - * completed. - * - * The I/O Queue can work on both socket and file descriptors. For - * asynchronous file operations however, one must make sure that the correct - * file I/O back-end is used, because not all file I/O back-end can be - * used with the ioqueue. Please see \ref PJ_FILE_IO for more details. - * - * The framework works natively in platforms where asynchronous operation API - * exists, such as in Windows NT with IoCompletionPort/IOCP. In other - * platforms, the I/O queue abstracts the operating system's event poll API - * to provide semantics similar to IoCompletionPort with minimal penalties - * (i.e. per ioqueue and per handle mutex protection). - * - * The I/O queue provides more than just unified abstraction. It also: - * - makes sure that the operation uses the most effective way to utilize - * the underlying mechanism, to achieve the maximum theoritical - * throughput possible on a given platform. - * - choose the most efficient mechanism for event polling on a given - * platform. - * - * Currently, the I/O Queue is implemented using: - * - select(), as the common denominator, but the least - * efficient. Also the number of descriptor is limited to - * \c PJ_IOQUEUE_MAX_HANDLES (which by default is 64). - * - /dev/epoll on Linux (user mode and kernel mode), - * a much faster replacement for select() on Linux (and more importantly - * doesn't have limitation on number of descriptors). - * - I/O Completion ports on Windows NT/2000/XP, which is the most - * efficient way to dispatch events in Windows NT based OSes, and most - * importantly, it doesn't have the limit on how many handles to monitor. - * And it works with files (not only sockets) as well. - * - * - * \section pj_ioqueue_concurrency_sec Concurrency Rules - * - * The ioqueue has been fine tuned to allow multiple threads to poll the - * handles simultaneously, to maximize scalability when the application is - * running on multiprocessor systems. When more than one threads are polling - * the ioqueue and there are more than one handles are signaled, more than - * one threads will execute the callback simultaneously to serve the events. - * These parallel executions are completely safe when the events happen for - * two different handles. - * - * However, with multithreading, care must be taken when multiple events - * happen on the same handle, or when event is happening on a handle (and - * the callback is being executed) and application is performing - * unregistration to the handle at the same time. - * - * The treatments of above scenario differ according to the concurrency - * setting that are applied to the handle. - * - * \subsection pj_ioq_concur_set Concurrency Settings for Handles - * - * Concurrency can be set on per handle (key) basis, by using - * #pj_ioqueue_set_concurrency() function. The default key concurrency value - * for the handle is inherited from the key concurrency setting of the ioqueue, - * and the key concurrency setting for the ioqueue can be changed by using - * #pj_ioqueue_set_default_concurrency(). The default key concurrency setting - * for ioqueue itself is controlled by compile time setting - * PJ_IOQUEUE_DEFAULT_ALLOW_CONCURRENCY. - * - * Note that this key concurrency setting only controls whether multiple - * threads are allowed to operate on the same key at the same time. - * The ioqueue itself always allows multiple threads to enter the ioqeuue at - * the same time, and also simultaneous callback calls to differrent - * keys is always allowed regardless to the key concurrency setting. - * - * \subsection pj_ioq_parallel Parallel Callback Executions for the Same Handle - * - * Note that when key concurrency is enabled (i.e. parallel callback calls on - * the same key is allowed; this is the default setting), the ioqueue will only - * perform simultaneous callback executions on the same key when the key has - * invoked multiple pending operations. This could be done for example by - * calling #pj_ioqueue_recvfrom() more than once on the same key, each with - * the same key but different operation key (pj_ioqueue_op_key_t). With this - * scenario, when multiple packets arrive on the key at the same time, more - * than one threads may execute the callback simultaneously, each with the - * same key but different operation key. - * - * When there is only one pending operation on the key (e.g. there is only one - * #pj_ioqueue_recvfrom() invoked on the key), then events occuring to the - * same key will be queued by the ioqueue, thus no simultaneous callback calls - * will be performed. - * - * \subsection pj_ioq_allow_concur Concurrency is Enabled (Default Value) - * - * The default setting for the ioqueue is to allow multiple threads to - * execute callbacks for the same handle/key. This setting is selected to - * promote good performance and scalability for application. - * - * However this setting has a major drawback with regard to synchronization, - * and application MUST carefully follow the following guidelines to ensure - * that parallel access to the key does not cause problems: - * - * - Always note that callback may be called simultaneously for the same - * key. - * - Care must be taken when unregistering a key from the - * ioqueue. Application must take care that when one thread is issuing - * an unregistration, other thread is not simultaneously invoking the - * callback to the same key. - *\n - * This happens because the ioqueue functions are working with a pointer - * to the key, and there is a possible race condition where the pointer - * has been rendered invalid by other threads before the ioqueue has a - * chance to acquire mutex on it. - * - * \subsection pj_ioq_disallow_concur Concurrency is Disabled - * - * Alternatively, application may disable key concurrency to make - * synchronization easier. As noted above, there are three ways to control - * key concurrency setting: - * - by controlling on per handle/key basis, with #pj_ioqueue_set_concurrency(). - * - by changing default key concurrency setting on the ioqueue, with - * #pj_ioqueue_set_default_concurrency(). - * - by changing the default concurrency on compile time, by declaring - * PJ_IOQUEUE_DEFAULT_ALLOW_CONCURRENCY macro to zero in your config_site.h - * - * \section pj_ioqeuue_examples_sec Examples - * - * For some examples on how to use the I/O Queue, please see: - * - * - \ref page_pjlib_ioqueue_tcp_test - * - \ref page_pjlib_ioqueue_udp_test - * - \ref page_pjlib_ioqueue_perf_test - */ - - -/** - * This structure describes operation specific key to be submitted to - * I/O Queue when performing the asynchronous operation. This key will - * be returned to the application when completion callback is called. - * - * Application normally wants to attach it's specific data in the - * \c user_data field so that it can keep track of which operation has - * completed when the callback is called. Alternatively, application can - * also extend this struct to include its data, because the pointer that - * is returned in the completion callback will be exactly the same as - * the pointer supplied when the asynchronous function is called. - */ -typedef struct pj_ioqueue_op_key_t -{ - void *internal__[32]; /**< Internal I/O Queue data. */ - void *activesock_data; /**< Active socket data. */ - void *user_data; /**< Application data. */ -} pj_ioqueue_op_key_t; - -/** - * This structure describes the callbacks to be called when I/O operation - * completes. - */ -typedef struct pj_ioqueue_callback -{ - /** - * This callback is called when #pj_ioqueue_recv or #pj_ioqueue_recvfrom - * completes. - * - * @param key The key. - * @param op_key Operation key. - * @param bytes_read >= 0 to indicate the amount of data read, - * otherwise negative value containing the error - * code. To obtain the pj_status_t error code, use - * (pj_status_t code = -bytes_read). - */ - void (*on_read_complete)(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read); - - /** - * This callback is called when #pj_ioqueue_send or #pj_ioqueue_sendto - * completes. - * - * @param key The key. - * @param op_key Operation key. - * @param bytes_sent >= 0 to indicate the amount of data written, - * otherwise negative value containing the error - * code. To obtain the pj_status_t error code, use - * (pj_status_t code = -bytes_sent). - */ - void (*on_write_complete)(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_sent); - - /** - * This callback is called when #pj_ioqueue_accept completes. - * - * @param key The key. - * @param op_key Operation key. - * @param sock Newly connected socket. - * @param status Zero if the operation completes successfully. - */ - void (*on_accept_complete)(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_sock_t sock, - pj_status_t status); - - /** - * This callback is called when #pj_ioqueue_connect completes. - * - * @param key The key. - * @param status PJ_SUCCESS if the operation completes successfully. - */ - void (*on_connect_complete)(pj_ioqueue_key_t *key, - pj_status_t status); -} pj_ioqueue_callback; - - -/** - * Types of pending I/O Queue operation. This enumeration is only used - * internally within the ioqueue. - */ -typedef enum pj_ioqueue_operation_e -{ - PJ_IOQUEUE_OP_NONE = 0, /**< No operation. */ - PJ_IOQUEUE_OP_READ = 1, /**< read() operation. */ - PJ_IOQUEUE_OP_RECV = 2, /**< recv() operation. */ - PJ_IOQUEUE_OP_RECV_FROM = 4, /**< recvfrom() operation. */ - PJ_IOQUEUE_OP_WRITE = 8, /**< write() operation. */ - PJ_IOQUEUE_OP_SEND = 16, /**< send() operation. */ - PJ_IOQUEUE_OP_SEND_TO = 32, /**< sendto() operation. */ -#if defined(PJ_HAS_TCP) && PJ_HAS_TCP != 0 - PJ_IOQUEUE_OP_ACCEPT = 64, /**< accept() operation. */ - PJ_IOQUEUE_OP_CONNECT = 128 /**< connect() operation. */ -#endif /* PJ_HAS_TCP */ -} pj_ioqueue_operation_e; - - -/** - * This macro specifies the maximum number of events that can be - * processed by the ioqueue on a single poll cycle, on implementation - * that supports it. The value is only meaningfull when specified - * during PJLIB build. - */ -#ifndef PJ_IOQUEUE_MAX_EVENTS_IN_SINGLE_POLL -# define PJ_IOQUEUE_MAX_EVENTS_IN_SINGLE_POLL (16) -#endif - -/** - * When this flag is specified in ioqueue's recv() or send() operations, - * the ioqueue will always mark the operation as asynchronous. - */ -#define PJ_IOQUEUE_ALWAYS_ASYNC ((pj_uint32_t)1 << (pj_uint32_t)31) - -/** - * Return the name of the ioqueue implementation. - * - * @return Implementation name. - */ -PJ_DECL(const char*) pj_ioqueue_name(void); - - -/** - * Create a new I/O Queue framework. - * - * @param pool The pool to allocate the I/O queue structure. - * @param max_fd The maximum number of handles to be supported, which - * should not exceed PJ_IOQUEUE_MAX_HANDLES. - * @param ioqueue Pointer to hold the newly created I/O Queue. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pj_ioqueue_create( pj_pool_t *pool, - pj_size_t max_fd, - pj_ioqueue_t **ioqueue); - -/** - * Destroy the I/O queue. - * - * @param ioque The I/O Queue to be destroyed. - * - * @return PJ_SUCCESS if success. - */ -PJ_DECL(pj_status_t) pj_ioqueue_destroy( pj_ioqueue_t *ioque ); - -/** - * Set the lock object to be used by the I/O Queue. This function can only - * be called right after the I/O queue is created, before any handle is - * registered to the I/O queue. - * - * Initially the I/O queue is created with non-recursive mutex protection. - * Applications can supply alternative lock to be used by calling this - * function. - * - * @param ioque The ioqueue instance. - * @param lock The lock to be used by the ioqueue. - * @param auto_delete In non-zero, the lock will be deleted by the ioqueue. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_ioqueue_set_lock( pj_ioqueue_t *ioque, - pj_lock_t *lock, - pj_bool_t auto_delete ); - -/** - * Set default concurrency policy for this ioqueue. If this function is not - * called, the default concurrency policy for the ioqueue is controlled by - * compile time setting PJ_IOQUEUE_DEFAULT_ALLOW_CONCURRENCY. - * - * Note that changing the concurrency setting to the ioqueue will only affect - * subsequent key registrations. To modify the concurrency setting for - * individual key, use #pj_ioqueue_set_concurrency(). - * - * @param ioqueue The ioqueue instance. - * @param allow Non-zero to allow concurrent callback calls, or - * PJ_FALSE to disallow it. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_ioqueue_set_default_concurrency(pj_ioqueue_t *ioqueue, - pj_bool_t allow); - -/** - * Register a socket to the I/O queue framework. - * When a socket is registered to the IOQueue, it may be modified to use - * non-blocking IO. If it is modified, there is no guarantee that this - * modification will be restored after the socket is unregistered. - * - * @param pool To allocate the resource for the specified handle, - * which must be valid until the handle/key is unregistered - * from I/O Queue. - * @param ioque The I/O Queue. - * @param sock The socket. - * @param user_data User data to be associated with the key, which can be - * retrieved later. - * @param cb Callback to be called when I/O operation completes. - * @param key Pointer to receive the key to be associated with this - * socket. Subsequent I/O queue operation will need this - * key. - * - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_ioqueue_register_sock( pj_pool_t *pool, - pj_ioqueue_t *ioque, - pj_sock_t sock, - void *user_data, - const pj_ioqueue_callback *cb, - pj_ioqueue_key_t **key ); - -/** - * Unregister from the I/O Queue framework. Caller must make sure that - * the key doesn't have any pending operations before calling this function, - * by calling #pj_ioqueue_is_pending() for all previously submitted - * operations except asynchronous connect, and if necessary call - * #pj_ioqueue_post_completion() to cancel the pending operations. - * - * Note that asynchronous connect operation will automatically be - * cancelled during the unregistration. - * - * Also note that when I/O Completion Port backend is used, application - * MUST close the handle immediately after unregistering the key. This is - * because there is no unregistering API for IOCP. The only way to - * unregister the handle from IOCP is to close the handle. - * - * @param key The key that was previously obtained from registration. - * - * @return PJ_SUCCESS on success or the error code. - * - * @see pj_ioqueue_is_pending - */ -PJ_DECL(pj_status_t) pj_ioqueue_unregister( pj_ioqueue_key_t *key ); - - -/** - * Get user data associated with an ioqueue key. - * - * @param key The key that was previously obtained from registration. - * - * @return The user data associated with the descriptor, or NULL - * on error or if no data is associated with the key during - * registration. - */ -PJ_DECL(void*) pj_ioqueue_get_user_data( pj_ioqueue_key_t *key ); - -/** - * Set or change the user data to be associated with the file descriptor or - * handle or socket descriptor. - * - * @param key The key that was previously obtained from registration. - * @param user_data User data to be associated with the descriptor. - * @param old_data Optional parameter to retrieve the old user data. - * - * @return PJ_SUCCESS on success or the error code. - */ -PJ_DECL(pj_status_t) pj_ioqueue_set_user_data( pj_ioqueue_key_t *key, - void *user_data, - void **old_data); - -/** - * Configure whether the ioqueue is allowed to call the key's callback - * concurrently/in parallel. The default concurrency setting for the key - * is controlled by ioqueue's default concurrency value, which can be - * changed by calling #pj_ioqueue_set_default_concurrency(). - * - * If concurrency is allowed for the key, it means that if there are more - * than one pending operations complete simultaneously, more than one - * threads may call the key's callback at the same time. This generally - * would promote good scalability for application, at the expense of more - * complexity to manage the concurrent accesses in application's code. - * - * Alternatively application may disable the concurrent access by - * setting the \a allow flag to false. With concurrency disabled, only - * one thread can call the key's callback at one time. - * - * @param key The key that was previously obtained from registration. - * @param allow Set this to non-zero to allow concurrent callback calls - * and zero (PJ_FALSE) to disallow it. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_ioqueue_set_concurrency(pj_ioqueue_key_t *key, - pj_bool_t allow); - -/** - * Acquire the key's mutex. When the key's concurrency is disabled, - * application may call this function to synchronize its operation - * with the key's callback (i.e. this function will block until the - * key's callback returns). - * - * @param key The key that was previously obtained from registration. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_ioqueue_lock_key(pj_ioqueue_key_t *key); - -/** - * Release the lock previously acquired with pj_ioqueue_lock_key(). - * - * @param key The key that was previously obtained from registration. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_ioqueue_unlock_key(pj_ioqueue_key_t *key); - -/** - * Initialize operation key. - * - * @param op_key The operation key to be initialied. - * @param size The size of the operation key. - */ -PJ_DECL(void) pj_ioqueue_op_key_init( pj_ioqueue_op_key_t *op_key, - pj_size_t size ); - -/** - * Check if operation is pending on the specified operation key. - * The \c op_key must have been initialized with #pj_ioqueue_op_key_init() - * or submitted as pending operation before, or otherwise the result - * is undefined. - * - * @param key The key. - * @param op_key The operation key, previously submitted to any of - * the I/O functions and has returned PJ_EPENDING. - * - * @return Non-zero if operation is still pending. - */ -PJ_DECL(pj_bool_t) pj_ioqueue_is_pending( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key ); - - -/** - * Post completion status to the specified operation key and call the - * appropriate callback. When the callback is called, the number of bytes - * received in read/write callback or the status in accept/connect callback - * will be set from the \c bytes_status parameter. - * - * @param key The key. - * @param op_key Pending operation key. - * @param bytes_status Number of bytes or status to be set. A good value - * to put here is -PJ_ECANCELLED. - * - * @return PJ_SUCCESS if completion status has been successfully - * sent. - */ -PJ_DECL(pj_status_t) pj_ioqueue_post_completion( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_status ); - - - -#if defined(PJ_HAS_TCP) && PJ_HAS_TCP != 0 -/** - * Instruct I/O Queue to accept incoming connection on the specified - * listening socket. This function will return immediately (i.e. non-blocking) - * regardless whether a connection is immediately available. If the function - * can't complete immediately, the caller will be notified about the incoming - * connection when it calls pj_ioqueue_poll(). If a new connection is - * immediately available, the function returns PJ_SUCCESS with the new - * connection; in this case, the callback WILL NOT be called. - * - * @param key The key which registered to the server socket. - * @param op_key An operation specific key to be associated with the - * pending operation, so that application can keep track of - * which operation has been completed when the callback is - * called. - * @param new_sock Argument which contain pointer to receive the new socket - * for the incoming connection. - * @param local Optional argument which contain pointer to variable to - * receive local address. - * @param remote Optional argument which contain pointer to variable to - * receive the remote address. - * @param addrlen On input, contains the length of the buffer for the - * address, and on output, contains the actual length of the - * address. This argument is optional. - * @return - * - PJ_SUCCESS When connection is available immediately, and the - * parameters will be updated to contain information about - * the new connection. In this case, a completion callback - * WILL NOT be called. - * - PJ_EPENDING If no connection is available immediately. When a new - * connection arrives, the callback will be called. - * - non-zero which indicates the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_ioqueue_accept( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_sock_t *new_sock, - pj_sockaddr_t *local, - pj_sockaddr_t *remote, - int *addrlen ); - -/** - * Initiate non-blocking socket connect. If the socket can NOT be connected - * immediately, asynchronous connect() will be scheduled and caller will be - * notified via completion callback when it calls pj_ioqueue_poll(). If - * socket is connected immediately, the function returns PJ_SUCCESS and - * completion callback WILL NOT be called. - * - * @param key The key associated with TCP socket - * @param addr The remote address. - * @param addrlen The remote address length. - * - * @return - * - PJ_SUCCESS If socket is connected immediately. In this case, the - * completion callback WILL NOT be called. - * - PJ_EPENDING If operation is queued, or - * - non-zero Indicates the error code. - */ -PJ_DECL(pj_status_t) pj_ioqueue_connect( pj_ioqueue_key_t *key, - const pj_sockaddr_t *addr, - int addrlen ); - -#endif /* PJ_HAS_TCP */ - -/** - * Poll the I/O Queue for completed events. - * - * Note: polling the ioqueue is not necessary in Symbian. Please see - * @ref PJ_SYMBIAN_OS for more info. - * - * @param ioque the I/O Queue. - * @param timeout polling timeout, or NULL if the thread wishes to wait - * indefinetely for the event. - * - * @return - * - zero if timed out (no event). - * - (<0) if error occured during polling. Callback will NOT be called. - * - (>1) to indicate numbers of events. Callbacks have been called. - */ -PJ_DECL(int) pj_ioqueue_poll( pj_ioqueue_t *ioque, - const pj_time_val *timeout); - - -/** - * Instruct the I/O Queue to read from the specified handle. This function - * returns immediately (i.e. non-blocking) regardless whether some data has - * been transfered. If the operation can't complete immediately, caller will - * be notified about the completion when it calls pj_ioqueue_poll(). If data - * is immediately available, the function will return PJ_SUCCESS and the - * callback WILL NOT be called. - * - * @param key The key that uniquely identifies the handle. - * @param op_key An operation specific key to be associated with the - * pending operation, so that application can keep track of - * which operation has been completed when the callback is - * called. Caller must make sure that this key remains - * valid until the function completes. - * @param buffer The buffer to hold the read data. The caller MUST make sure - * that this buffer remain valid until the framework completes - * reading the handle. - * @param length On input, it specifies the size of the buffer. If data is - * available to be read immediately, the function returns - * PJ_SUCCESS and this argument will be filled with the - * amount of data read. If the function is pending, caller - * will be notified about the amount of data read in the - * callback. This parameter can point to local variable in - * caller's stack and doesn't have to remain valid for the - * duration of pending operation. - * @param flags Recv flag. If flags has PJ_IOQUEUE_ALWAYS_ASYNC then - * the function will never return PJ_SUCCESS. - * - * @return - * - PJ_SUCCESS If immediate data has been received in the buffer. In this - * case, the callback WILL NOT be called. - * - PJ_EPENDING If the operation has been queued, and the callback will be - * called when data has been received. - * - non-zero The return value indicates the error code. - */ -PJ_DECL(pj_status_t) pj_ioqueue_recv( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - void *buffer, - pj_ssize_t *length, - pj_uint32_t flags ); - -/** - * This function behaves similarly as #pj_ioqueue_recv(), except that it is - * normally called for socket, and the remote address will also be returned - * along with the data. Caller MUST make sure that both buffer and addr - * remain valid until the framework completes reading the data. - * - * @param key The key that uniquely identifies the handle. - * @param op_key An operation specific key to be associated with the - * pending operation, so that application can keep track of - * which operation has been completed when the callback is - * called. - * @param buffer The buffer to hold the read data. The caller MUST make sure - * that this buffer remain valid until the framework completes - * reading the handle. - * @param length On input, it specifies the size of the buffer. If data is - * available to be read immediately, the function returns - * PJ_SUCCESS and this argument will be filled with the - * amount of data read. If the function is pending, caller - * will be notified about the amount of data read in the - * callback. This parameter can point to local variable in - * caller's stack and doesn't have to remain valid for the - * duration of pending operation. - * @param flags Recv flag. If flags has PJ_IOQUEUE_ALWAYS_ASYNC then - * the function will never return PJ_SUCCESS. - * @param addr Optional Pointer to buffer to receive the address. - * @param addrlen On input, specifies the length of the address buffer. - * On output, it will be filled with the actual length of - * the address. This argument can be NULL if \c addr is not - * specified. - * - * @return - * - PJ_SUCCESS If immediate data has been received. In this case, the - * callback must have been called before this function - * returns, and no pending operation is scheduled. - * - PJ_EPENDING If the operation has been queued. - * - non-zero The return value indicates the error code. - */ -PJ_DECL(pj_status_t) pj_ioqueue_recvfrom( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - void *buffer, - pj_ssize_t *length, - pj_uint32_t flags, - pj_sockaddr_t *addr, - int *addrlen); - -/** - * Instruct the I/O Queue to write to the handle. This function will return - * immediately (i.e. non-blocking) regardless whether some data has been - * transfered. If the function can't complete immediately, the caller will - * be notified about the completion when it calls pj_ioqueue_poll(). If - * operation completes immediately and data has been transfered, the function - * returns PJ_SUCCESS and the callback will NOT be called. - * - * @param key The key that identifies the handle. - * @param op_key An operation specific key to be associated with the - * pending operation, so that application can keep track of - * which operation has been completed when the callback is - * called. - * @param data The data to send. Caller MUST make sure that this buffer - * remains valid until the write operation completes. - * @param length On input, it specifies the length of data to send. When - * data was sent immediately, this function returns PJ_SUCCESS - * and this parameter contains the length of data sent. If - * data can not be sent immediately, an asynchronous operation - * is scheduled and caller will be notified via callback the - * number of bytes sent. This parameter can point to local - * variable on caller's stack and doesn't have to remain - * valid until the operation has completed. - * @param flags Send flags. If flags has PJ_IOQUEUE_ALWAYS_ASYNC then - * the function will never return PJ_SUCCESS. - * - * @return - * - PJ_SUCCESS If data was immediately transfered. In this case, no - * pending operation has been scheduled and the callback - * WILL NOT be called. - * - PJ_EPENDING If the operation has been queued. Once data base been - * transfered, the callback will be called. - * - non-zero The return value indicates the error code. - */ -PJ_DECL(pj_status_t) pj_ioqueue_send( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - const void *data, - pj_ssize_t *length, - pj_uint32_t flags ); - - -/** - * Instruct the I/O Queue to write to the handle. This function will return - * immediately (i.e. non-blocking) regardless whether some data has been - * transfered. If the function can't complete immediately, the caller will - * be notified about the completion when it calls pj_ioqueue_poll(). If - * operation completes immediately and data has been transfered, the function - * returns PJ_SUCCESS and the callback will NOT be called. - * - * @param key the key that identifies the handle. - * @param op_key An operation specific key to be associated with the - * pending operation, so that application can keep track of - * which operation has been completed when the callback is - * called. - * @param data the data to send. Caller MUST make sure that this buffer - * remains valid until the write operation completes. - * @param length On input, it specifies the length of data to send. When - * data was sent immediately, this function returns PJ_SUCCESS - * and this parameter contains the length of data sent. If - * data can not be sent immediately, an asynchronous operation - * is scheduled and caller will be notified via callback the - * number of bytes sent. This parameter can point to local - * variable on caller's stack and doesn't have to remain - * valid until the operation has completed. - * @param flags send flags. If flags has PJ_IOQUEUE_ALWAYS_ASYNC then - * the function will never return PJ_SUCCESS. - * @param addr Optional remote address. - * @param addrlen Remote address length, \c addr is specified. - * - * @return - * - PJ_SUCCESS If data was immediately written. - * - PJ_EPENDING If the operation has been queued. - * - non-zero The return value indicates the error code. - */ -PJ_DECL(pj_status_t) pj_ioqueue_sendto( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - const void *data, - pj_ssize_t *length, - pj_uint32_t flags, - const pj_sockaddr_t *addr, - int addrlen); - - -/** - * !} - */ - -PJ_END_DECL - -#endif /* __PJ_IOQUEUE_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/ip_helper.h b/res/pjproject/pjlib/include/pj/ip_helper.h deleted file mode 100644 index f8266cd8a5..0000000000 --- a/res/pjproject/pjlib/include/pj/ip_helper.h +++ /dev/null @@ -1,97 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_IP_ROUTE_H__ -#define __PJ_IP_ROUTE_H__ - -/** - * @file ip_helper.h - * @brief IP helper API - */ - -#include - -PJ_BEGIN_DECL - -/** - * @defgroup pj_ip_helper IP Interface and Routing Helper - * @ingroup PJ_IO - * @{ - * - * This module provides functions to query local host's IP interface and - * routing table. - */ - -/** - * This structure describes IP routing entry. - */ -typedef union pj_ip_route_entry -{ - /** IP routing entry for IP version 4 routing */ - struct - { - pj_in_addr if_addr; /**< Local interface IP address. */ - pj_in_addr dst_addr; /**< Destination IP address. */ - pj_in_addr mask; /**< Destination mask. */ - } ipv4; -} pj_ip_route_entry; - - -/** - * Enumerate the local IP interfaces currently active in the host. - * - * @param af Family of the address to be retrieved. Application - * may specify pj_AF_UNSPEC() to retrieve all addresses, - * or pj_AF_INET() or pj_AF_INET6() to retrieve interfaces - * with specific address family. - * @param count On input, specify the number of entries. On output, - * it will be filled with the actual number of entries. - * @param ifs Array of socket addresses, which address part will - * be filled with the interface address. The address - * family part will be initialized with the address - * family of the IP address. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_enum_ip_interface(int af, - unsigned *count, - pj_sockaddr ifs[]); - - -/** - * Enumerate the IP routing table for this host. - * - * @param count On input, specify the number of routes entries. On output, - * it will be filled with the actual number of route entries. - * @param routes Array of IP routing entries. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_enum_ip_route(unsigned *count, - pj_ip_route_entry routes[]); - - - -/** @} */ - -PJ_END_DECL - - -#endif /* __PJ_IP_ROUTE_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/list.h b/res/pjproject/pjlib/include/pj/list.h deleted file mode 100644 index 0cc4b9977b..0000000000 --- a/res/pjproject/pjlib/include/pj/list.h +++ /dev/null @@ -1,273 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_LIST_H__ -#define __PJ_LIST_H__ - -/** - * @file list.h - * @brief Linked List data structure. - */ - -#include - -PJ_BEGIN_DECL - -/* - * @defgroup PJ_DS Data Structure. - */ - -/** - * @defgroup PJ_LIST Linked List - * @ingroup PJ_DS - * @{ - * - * List in PJLIB is implemented as doubly-linked list, and it won't require - * dynamic memory allocation (just as all PJLIB data structures). The list here - * should be viewed more like a low level C list instead of high level C++ list - * (which normally are easier to use but require dynamic memory allocations), - * therefore all caveats with C list apply here too (such as you can NOT put - * a node in more than one lists). - * - * \section pj_list_example_sec Examples - * - * See below for examples on how to manipulate linked list: - * - @ref page_pjlib_samples_list_c - * - @ref page_pjlib_list_test - */ - - -/** - * Use this macro in the start of the structure declaration to declare that - * the structure can be used in the linked list operation. This macro simply - * declares additional member @a prev and @a next to the structure. - * @hideinitializer - */ -#define PJ_DECL_LIST_MEMBER(type) \ - /** List @a prev. */ \ - type *prev; \ - /** List @a next. */ \ - type *next - - -/** - * This structure describes generic list node and list. The owner of this list - * must initialize the 'value' member to an appropriate value (typically the - * owner itself). - */ -struct pj_list -{ - PJ_DECL_LIST_MEMBER(void); -}; - - -/** - * Initialize the list. - * Initially, the list will have no member, and function pj_list_empty() will - * always return nonzero (which indicates TRUE) for the newly initialized - * list. - * - * @param node The list head. - */ -PJ_INLINE(void) pj_list_init(pj_list_type * node) -{ - ((pj_list*)node)->next = ((pj_list*)node)->prev = node; -} - - -/** - * Check that the list is empty. - * - * @param node The list head. - * - * @return Non-zero if the list is empty, or zero if it is not empty. - * - */ -PJ_INLINE(int) pj_list_empty(const pj_list_type * node) -{ - return ((pj_list*)node)->next == node; -} - - -/** - * Insert the node to the list before the specified element position. - * - * @param pos The element to which the node will be inserted before. - * @param node The element to be inserted. - * - * @return void. - */ -PJ_IDECL(void) pj_list_insert_before(pj_list_type *pos, pj_list_type *node); - - -/** - * Insert the node to the back of the list. This is just an alias for - * #pj_list_insert_before(). - * - * @param list The list. - * @param node The element to be inserted. - */ -PJ_INLINE(void) pj_list_push_back(pj_list_type *list, pj_list_type *node) -{ - pj_list_insert_before(list, node); -} - - -/** - * Inserts all nodes in \a nodes to the target list. - * - * @param lst The target list. - * @param nodes Nodes list. - */ -PJ_IDECL(void) pj_list_insert_nodes_before(pj_list_type *lst, - pj_list_type *nodes); - -/** - * Insert a node to the list after the specified element position. - * - * @param pos The element in the list which will precede the inserted - * element. - * @param node The element to be inserted after the position element. - * - * @return void. - */ -PJ_IDECL(void) pj_list_insert_after(pj_list_type *pos, pj_list_type *node); - - -/** - * Insert the node to the front of the list. This is just an alias for - * #pj_list_insert_after(). - * - * @param list The list. - * @param node The element to be inserted. - */ -PJ_INLINE(void) pj_list_push_front(pj_list_type *list, pj_list_type *node) -{ - pj_list_insert_after(list, node); -} - - -/** - * Insert all nodes in \a nodes to the target list. - * - * @param lst The target list. - * @param nodes Nodes list. - */ -PJ_IDECL(void) pj_list_insert_nodes_after(pj_list_type *lst, - pj_list_type *nodes); - - -/** - * Remove elements from the source list, and insert them to the destination - * list. The elements of the source list will occupy the - * front elements of the target list. Note that the node pointed by \a list2 - * itself is not considered as a node, but rather as the list descriptor, so - * it will not be inserted to the \a list1. The elements to be inserted starts - * at \a list2->next. If \a list2 is to be included in the operation, use - * \a pj_list_insert_nodes_before. - * - * @param list1 The destination list. - * @param list2 The source list. - * - * @return void. - */ -PJ_IDECL(void) pj_list_merge_first(pj_list_type *list1, pj_list_type *list2); - - -/** - * Remove elements from the second list argument, and insert them to the list - * in the first argument. The elements from the second list will be appended - * to the first list. Note that the node pointed by \a list2 - * itself is not considered as a node, but rather as the list descriptor, so - * it will not be inserted to the \a list1. The elements to be inserted starts - * at \a list2->next. If \a list2 is to be included in the operation, use - * \a pj_list_insert_nodes_before. - * - * @param list1 The element in the list which will precede the inserted - * element. - * @param list2 The element in the list to be inserted. - * - * @return void. - */ -PJ_IDECL(void) pj_list_merge_last( pj_list_type *list1, pj_list_type *list2); - - -/** - * Erase the node from the list it currently belongs. - * - * @param node The element to be erased. - */ -PJ_IDECL(void) pj_list_erase(pj_list_type *node); - - -/** - * Find node in the list. - * - * @param list The list head. - * @param node The node element to be searched. - * - * @return The node itself if it is found in the list, or NULL if it is not - * found in the list. - */ -PJ_IDECL(pj_list_type*) pj_list_find_node(pj_list_type *list, - pj_list_type *node); - - -/** - * Search the list for the specified value, using the specified comparison - * function. This function iterates on nodes in the list, started with the - * first node, and call the user supplied comparison function until the - * comparison function returns ZERO. - * - * @param list The list head. - * @param value The user defined value to be passed in the comparison - * function - * @param comp The comparison function, which should return ZERO to - * indicate that the searched value is found. - * - * @return The first node that matched, or NULL if it is not found. - */ -PJ_IDECL(pj_list_type*) pj_list_search(pj_list_type *list, void *value, - int (*comp)(void *value, - const pj_list_type *node) - ); - - -/** - * Traverse the list to get the number of elements in the list. - * - * @param list The list head. - * - * @return Number of elements. - */ -PJ_IDECL(pj_size_t) pj_list_size(const pj_list_type *list); - - -/** - * @} - */ - -#if PJ_FUNCTIONS_ARE_INLINED -# include "list_i.h" -#endif - -PJ_END_DECL - -#endif /* __PJ_LIST_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/list_i.h b/res/pjproject/pjlib/include/pj/list_i.h deleted file mode 100644 index 91ee183f08..0000000000 --- a/res/pjproject/pjlib/include/pj/list_i.h +++ /dev/null @@ -1,121 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - - -/* Internal */ -PJ_INLINE(void) pj_link_node(pj_list_type *prev, pj_list_type *next) -{ - ((pj_list*)prev)->next = next; - ((pj_list*)next)->prev = prev; -} - -PJ_IDEF(void) pj_list_insert_after(pj_list_type *pos, pj_list_type *node) -{ - ((pj_list*)node)->prev = pos; - ((pj_list*)node)->next = ((pj_list*)pos)->next; - ((pj_list*) ((pj_list*)pos)->next) ->prev = node; - ((pj_list*)pos)->next = node; -} - - -PJ_IDEF(void) pj_list_insert_before(pj_list_type *pos, pj_list_type *node) -{ - pj_list_insert_after(((pj_list*)pos)->prev, node); -} - - -PJ_IDEF(void) pj_list_insert_nodes_after(pj_list_type *pos, pj_list_type *lst) -{ - pj_list *lst_last = (pj_list *) ((pj_list*)lst)->prev; - pj_list *pos_next = (pj_list *) ((pj_list*)pos)->next; - - pj_link_node(pos, lst); - pj_link_node(lst_last, pos_next); -} - -PJ_IDEF(void) pj_list_insert_nodes_before(pj_list_type *pos, pj_list_type *lst) -{ - pj_list_insert_nodes_after(((pj_list*)pos)->prev, lst); -} - -PJ_IDEF(void) pj_list_merge_last(pj_list_type *lst1, pj_list_type *lst2) -{ - if (!pj_list_empty(lst2)) { - pj_link_node(((pj_list*)lst1)->prev, ((pj_list*)lst2)->next); - pj_link_node(((pj_list*)lst2)->prev, lst1); - pj_list_init(lst2); - } -} - -PJ_IDEF(void) pj_list_merge_first(pj_list_type *lst1, pj_list_type *lst2) -{ - if (!pj_list_empty(lst2)) { - pj_link_node(((pj_list*)lst2)->prev, ((pj_list*)lst1)->next); - pj_link_node(((pj_list*)lst1), ((pj_list*)lst2)->next); - pj_list_init(lst2); - } -} - -PJ_IDEF(void) pj_list_erase(pj_list_type *node) -{ - pj_link_node( ((pj_list*)node)->prev, ((pj_list*)node)->next); - - /* It'll be safer to init the next/prev fields to itself, to - * prevent multiple erase() from corrupting the list. See - * ticket #520 for one sample bug. - */ - pj_list_init(node); -} - - -PJ_IDEF(pj_list_type*) pj_list_find_node(pj_list_type *list, pj_list_type *node) -{ - pj_list *p = (pj_list *) ((pj_list*)list)->next; - while (p != list && p != node) - p = (pj_list *) p->next; - - return p==node ? p : NULL; -} - - -PJ_IDEF(pj_list_type*) pj_list_search(pj_list_type *list, void *value, - int (*comp)(void *value, const pj_list_type *node)) -{ - pj_list *p = (pj_list *) ((pj_list*)list)->next; - while (p != list && (*comp)(value, p) != 0) - p = (pj_list *) p->next; - - return p==list ? NULL : p; -} - - -PJ_IDEF(pj_size_t) pj_list_size(const pj_list_type *list) -{ - const pj_list *node = (const pj_list*) ((const pj_list*)list)->next; - pj_size_t count = 0; - - while (node != list) { - ++count; - node = (pj_list*)node->next; - } - - return count; -} - diff --git a/res/pjproject/pjlib/include/pj/lock.h b/res/pjproject/pjlib/include/pj/lock.h deleted file mode 100644 index b8bdb0f94a..0000000000 --- a/res/pjproject/pjlib/include/pj/lock.h +++ /dev/null @@ -1,154 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_LOCK_H__ -#define __PJ_LOCK_H__ - -/** - * @file lock.h - * @brief Higher abstraction for locking objects. - */ -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_LOCK Lock Objects - * @ingroup PJ_OS - * @{ - * - * Lock Objects are higher abstraction for different lock mechanisms. - * It offers the same API for manipulating different lock types (e.g. - * @ref PJ_MUTEX "mutex", @ref PJ_SEM "semaphores", or null locks). - * Because Lock Objects have the same API for different types of lock - * implementation, it can be passed around in function arguments. As the - * result, it can be used to control locking policy for a particular - * feature. - */ - - -/** - * Create simple, non recursive mutex lock object. - * - * @param pool Memory pool. - * @param name Lock object's name. - * @param lock Pointer to store the returned handle. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_lock_create_simple_mutex( pj_pool_t *pool, - const char *name, - pj_lock_t **lock ); - -/** - * Create recursive mutex lock object. - * - * @param pool Memory pool. - * @param name Lock object's name. - * @param lock Pointer to store the returned handle. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_lock_create_recursive_mutex( pj_pool_t *pool, - const char *name, - pj_lock_t **lock ); - - -/** - * Create NULL mutex. A NULL mutex doesn't actually have any synchronization - * object attached to it. - * - * @param pool Memory pool. - * @param name Lock object's name. - * @param lock Pointer to store the returned handle. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_lock_create_null_mutex( pj_pool_t *pool, - const char *name, - pj_lock_t **lock ); - - -#if defined(PJ_HAS_SEMAPHORE) && PJ_HAS_SEMAPHORE != 0 -/** - * Create semaphore lock object. - * - * @param pool Memory pool. - * @param name Lock object's name. - * @param initial Initial value of the semaphore. - * @param max Maximum value of the semaphore. - * @param lock Pointer to store the returned handle. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_lock_create_semaphore( pj_pool_t *pool, - const char *name, - unsigned initial, - unsigned max, - pj_lock_t **lock ); - -#endif /* PJ_HAS_SEMAPHORE */ - -/** - * Acquire lock on the specified lock object. - * - * @param lock The lock object. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_lock_acquire( pj_lock_t *lock ); - - -/** - * Try to acquire lock on the specified lock object. - * - * @param lock The lock object. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_lock_tryacquire( pj_lock_t *lock ); - - -/** - * Release lock on the specified lock object. - * - * @param lock The lock object. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_lock_release( pj_lock_t *lock ); - - -/** - * Destroy the lock object. - * - * @param lock The lock object. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_lock_destroy( pj_lock_t *lock ); - - -/** @} */ - -PJ_END_DECL - - -#endif /* __PJ_LOCK_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/log.h b/res/pjproject/pjlib/include/pj/log.h deleted file mode 100644 index 103469f906..0000000000 --- a/res/pjproject/pjlib/include/pj/log.h +++ /dev/null @@ -1,423 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_LOG_H__ -#define __PJ_LOG_H__ - -/** - * @file log.h - * @brief Logging Utility. - */ - -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_MISC Miscelaneous - */ - -/** - * @defgroup PJ_LOG Logging Facility - * @ingroup PJ_MISC - * @{ - * - * The PJLIB logging facility is a configurable, flexible, and convenient - * way to write logging or trace information. - * - * To write to the log, one uses construct like below: - * - *
- *   ...
- *   PJ_LOG(3, ("main.c", "Starting hello..."));
- *   ...
- *   PJ_LOG(3, ("main.c", "Hello world from process %d", pj_getpid()));
- *   ...
- * 
- * - * In the above example, the number @b 3 controls the verbosity level of - * the information (which means "information", by convention). The string - * "main.c" specifies the source or sender of the message. - * - * - * \section pj_log_quick_sample_sec Examples - * - * For examples, see: - * - @ref page_pjlib_samples_log_c. - * - */ - -/** - * Log decoration flag, to be specified with #pj_log_set_decor(). - */ -enum pj_log_decoration -{ - PJ_LOG_HAS_DAY_NAME = 1, /**< Include day name [default: no] */ - PJ_LOG_HAS_YEAR = 2, /**< Include year digit [no] */ - PJ_LOG_HAS_MONTH = 4, /**< Include month [no] */ - PJ_LOG_HAS_DAY_OF_MON = 8, /**< Include day of month [no] */ - PJ_LOG_HAS_TIME = 16, /**< Include time [yes] */ - PJ_LOG_HAS_MICRO_SEC = 32, /**< Include microseconds [yes] */ - PJ_LOG_HAS_SENDER = 64, /**< Include sender in the log [yes] */ - PJ_LOG_HAS_NEWLINE = 128, /**< Terminate each call with newline [yes] */ - PJ_LOG_HAS_CR = 256, /**< Include carriage return [no] */ - PJ_LOG_HAS_SPACE = 512, /**< Include two spaces before log [yes] */ - PJ_LOG_HAS_COLOR = 1024, /**< Colorize logs [yes on win32] */ - PJ_LOG_HAS_LEVEL_TEXT = 2048, /**< Include level text string [no] */ - PJ_LOG_HAS_THREAD_ID = 4096, /**< Include thread identification [no] */ - PJ_LOG_HAS_THREAD_SWC = 8192, /**< Add mark when thread has switched [yes]*/ - PJ_LOG_HAS_INDENT =16384 /**< Indentation. Say yes! [yes] */ -}; - -/** - * Write log message. - * This is the main macro used to write text to the logging backend. - * - * @param level The logging verbosity level. Lower number indicates higher - * importance, with level zero indicates fatal error. Only - * numeral argument is permitted (e.g. not variable). - * @param arg Enclosed 'printf' like arguments, with the first - * argument is the sender, the second argument is format - * string and the following arguments are variable number of - * arguments suitable for the format string. - * - * Sample: - * \verbatim - PJ_LOG(2, (__FILE__, "current value is %d", value)); - \endverbatim - * @hideinitializer - */ -#define PJ_LOG(level,arg) do { \ - if (level <= pj_log_get_level()) \ - pj_log_wrapper_##level(arg); \ - } while (0) - -/** - * Signature for function to be registered to the logging subsystem to - * write the actual log message to some output device. - * - * @param level Log level. - * @param data Log message, which will be NULL terminated. - * @param len Message length. - */ -typedef void pj_log_func(int level, const char *data, int len); - -/** - * Default logging writer function used by front end logger function. - * This function will print the log message to stdout only. - * Application normally should NOT need to call this function, but - * rather use the PJ_LOG macro. - * - * @param level Log level. - * @param buffer Log message. - * @param len Message length. - */ -PJ_DECL(void) pj_log_write(int level, const char *buffer, int len); - - -#if PJ_LOG_MAX_LEVEL >= 1 - -/** - * Write to log. - * - * @param sender Source of the message. - * @param level Verbosity level. - * @param format Format. - * @param marker Marker. - */ -PJ_DECL(void) pj_log(const char *sender, int level, - const char *format, va_list marker); - -/** - * Change log output function. The front-end logging functions will call - * this function to write the actual message to the desired device. - * By default, the front-end functions use pj_log_write() to write - * the messages, unless it's changed by calling this function. - * - * @param func The function that will be called to write the log - * messages to the desired device. - */ -PJ_DECL(void) pj_log_set_log_func( pj_log_func *func ); - -/** - * Get the current log output function that is used to write log messages. - * - * @return Current log output function. - */ -PJ_DECL(pj_log_func*) pj_log_get_log_func(void); - -/** - * Set maximum log level. Application can call this function to set - * the desired level of verbosity of the logging messages. The bigger the - * value, the more verbose the logging messages will be printed. However, - * the maximum level of verbosity can not exceed compile time value of - * PJ_LOG_MAX_LEVEL. - * - * @param level The maximum level of verbosity of the logging - * messages (6=very detailed..1=error only, 0=disabled) - */ -PJ_DECL(void) pj_log_set_level(int level); - -/** - * Get current maximum log verbositylevel. - * - * @return Current log maximum level. - */ -#if 1 -PJ_DECL(int) pj_log_get_level(void); -#else -PJ_DECL_DATA(int) pj_log_max_level; -#define pj_log_get_level() pj_log_max_level -#endif - -/** - * Set log decoration. The log decoration flag controls what are printed - * to output device alongside the actual message. For example, application - * can specify that date/time information should be displayed with each - * log message. - * - * @param decor Bitmask combination of #pj_log_decoration to control - * the layout of the log message. - */ -PJ_DECL(void) pj_log_set_decor(unsigned decor); - -/** - * Get current log decoration flag. - * - * @return Log decoration flag. - */ -PJ_DECL(unsigned) pj_log_get_decor(void); - -/** - * Add indentation to log message. Indentation will add PJ_LOG_INDENT_CHAR - * before the message, and is useful to show the depth of function calls. - * - * @param indent The indentation to add or substract. Positive value - * adds current indent, negative value subtracts current - * indent. - */ -PJ_DECL(void) pj_log_add_indent(int indent); - -/** - * Push indentation to the right by default value (PJ_LOG_INDENT). - */ -PJ_DECL(void) pj_log_push_indent(void); - -/** - * Pop indentation (to the left) by default value (PJ_LOG_INDENT). - */ -PJ_DECL(void) pj_log_pop_indent(void); - -/** - * Set color of log messages. - * - * @param level Log level which color will be changed. - * @param color Desired color. - */ -PJ_DECL(void) pj_log_set_color(int level, pj_color_t color); - -/** - * Get color of log messages. - * - * @param level Log level which color will be returned. - * @return Log color. - */ -PJ_DECL(pj_color_t) pj_log_get_color(int level); - -/** - * Internal function to be called by pj_init() - */ -pj_status_t pj_log_init(void); - -#else /* #if PJ_LOG_MAX_LEVEL >= 1 */ - -/** - * Change log output function. The front-end logging functions will call - * this function to write the actual message to the desired device. - * By default, the front-end functions use pj_log_write() to write - * the messages, unless it's changed by calling this function. - * - * @param func The function that will be called to write the log - * messages to the desired device. - */ -# define pj_log_set_log_func(func) - -/** - * Set maximum log level. Application can call this function to set - * the desired level of verbosity of the logging messages. The bigger the - * value, the more verbose the logging messages will be printed. However, - * the maximum level of verbosity can not exceed compile time value of - * PJ_LOG_MAX_LEVEL. - * - * @param level The maximum level of verbosity of the logging - * messages (6=very detailed..1=error only, 0=disabled) - */ -# define pj_log_set_level(level) - -/** - * Set log decoration. The log decoration flag controls what are printed - * to output device alongside the actual message. For example, application - * can specify that date/time information should be displayed with each - * log message. - * - * @param decor Bitmask combination of #pj_log_decoration to control - * the layout of the log message. - */ -# define pj_log_set_decor(decor) - -/** - * Set color of log messages. - * - * @param level Log level which color will be changed. - * @param color Desired color. - */ -# define pj_log_set_color(level, color) - -/** - * Get current maximum log verbositylevel. - * - * @return Current log maximum level. - */ -# define pj_log_get_level() 0 - -/** - * Get current log decoration flag. - * - * @return Log decoration flag. - */ -# define pj_log_get_decor() 0 - -/** - * Get color of log messages. - * - * @param level Log level which color will be returned. - * @return Log color. - */ -# define pj_log_get_color(level) 0 - - -/** - * Internal. - */ -# define pj_log_init() PJ_SUCCESS - -#endif /* #if PJ_LOG_MAX_LEVEL >= 1 */ - -/** - * @} - */ - -/* **************************************************************************/ -/* - * Log functions implementation prototypes. - * These functions are called by PJ_LOG macros according to verbosity - * level specified when calling the macro. Applications should not normally - * need to call these functions directly. - */ - -/** - * @def pj_log_wrapper_1(arg) - * Internal function to write log with verbosity 1. Will evaluate to - * empty expression if PJ_LOG_MAX_LEVEL is below 1. - * @param arg Log expression. - */ -#if PJ_LOG_MAX_LEVEL >= 1 - #define pj_log_wrapper_1(arg) pj_log_1 arg - /** Internal function. */ - PJ_DECL(void) pj_log_1(const char *src, const char *format, ...); -#else - #define pj_log_wrapper_1(arg) -#endif - -/** - * @def pj_log_wrapper_2(arg) - * Internal function to write log with verbosity 2. Will evaluate to - * empty expression if PJ_LOG_MAX_LEVEL is below 2. - * @param arg Log expression. - */ -#if PJ_LOG_MAX_LEVEL >= 2 - #define pj_log_wrapper_2(arg) pj_log_2 arg - /** Internal function. */ - PJ_DECL(void) pj_log_2(const char *src, const char *format, ...); -#else - #define pj_log_wrapper_2(arg) -#endif - -/** - * @def pj_log_wrapper_3(arg) - * Internal function to write log with verbosity 3. Will evaluate to - * empty expression if PJ_LOG_MAX_LEVEL is below 3. - * @param arg Log expression. - */ -#if PJ_LOG_MAX_LEVEL >= 3 - #define pj_log_wrapper_3(arg) pj_log_3 arg - /** Internal function. */ - PJ_DECL(void) pj_log_3(const char *src, const char *format, ...); -#else - #define pj_log_wrapper_3(arg) -#endif - -/** - * @def pj_log_wrapper_4(arg) - * Internal function to write log with verbosity 4. Will evaluate to - * empty expression if PJ_LOG_MAX_LEVEL is below 4. - * @param arg Log expression. - */ -#if PJ_LOG_MAX_LEVEL >= 4 - #define pj_log_wrapper_4(arg) pj_log_4 arg - /** Internal function. */ - PJ_DECL(void) pj_log_4(const char *src, const char *format, ...); -#else - #define pj_log_wrapper_4(arg) -#endif - -/** - * @def pj_log_wrapper_5(arg) - * Internal function to write log with verbosity 5. Will evaluate to - * empty expression if PJ_LOG_MAX_LEVEL is below 5. - * @param arg Log expression. - */ -#if PJ_LOG_MAX_LEVEL >= 5 - #define pj_log_wrapper_5(arg) pj_log_5 arg - /** Internal function. */ - PJ_DECL(void) pj_log_5(const char *src, const char *format, ...); -#else - #define pj_log_wrapper_5(arg) -#endif - -/** - * @def pj_log_wrapper_6(arg) - * Internal function to write log with verbosity 6. Will evaluate to - * empty expression if PJ_LOG_MAX_LEVEL is below 6. - * @param arg Log expression. - */ -#if PJ_LOG_MAX_LEVEL >= 6 - #define pj_log_wrapper_6(arg) pj_log_6 arg - /** Internal function. */ - PJ_DECL(void) pj_log_6(const char *src, const char *format, ...); -#else - #define pj_log_wrapper_6(arg) -#endif - - -PJ_END_DECL - -#endif /* __PJ_LOG_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/math.h b/res/pjproject/pjlib/include/pj/math.h deleted file mode 100644 index 85f264ae11..0000000000 --- a/res/pjproject/pjlib/include/pj/math.h +++ /dev/null @@ -1,197 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#ifndef __PJ_MATH_H__ -#define __PJ_MATH_H__ - -/** - * @file math.h - * @brief Mathematics and Statistics. - */ - -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup pj_math Mathematics and Statistics - * @ingroup PJ_MISC - * @{ - * - * Provides common mathematics constants and operations, and also standard - * statistics calculation (min, max, mean, standard deviation). Statistics - * calculation is done in realtime (statistics state is updated on time each - * new sample comes). - */ - -/** - * Mathematical constants - */ -#define PJ_PI 3.14159265358979323846 /* pi */ -#define PJ_1_PI 0.318309886183790671538 /* 1/pi */ - -/** - * Mathematical macro - */ -#define PJ_ABS(x) ((x) > 0 ? (x) : -(x)) -#define PJ_MAX(x, y) ((x) > (y)? (x) : (y)) -#define PJ_MIN(x, y) ((x) < (y)? (x) : (y)) - -/** - * This structure describes statistics state. - */ -typedef struct pj_math_stat -{ - int n; /* number of samples */ - int max; /* maximum value */ - int min; /* minimum value */ - int last; /* last value */ - int mean; /* mean */ - - /* Private members */ -#if PJ_HAS_FLOATING_POINT - float fmean_; /* mean(floating point) */ -#else - int mean_res_; /* mean residu */ -#endif - pj_highprec_t m2_; /* variance * n */ -} pj_math_stat; - -/** - * Calculate integer square root of an integer. - * - * @param i Integer to be calculated. - * - * @return Square root result. - */ -PJ_INLINE(unsigned) pj_isqrt(unsigned i) -{ - unsigned res = 1, prev; - - /* Rough guess, calculate half bit of input */ - prev = i >> 2; - while (prev) { - prev >>= 2; - res <<= 1; - } - - /* Babilonian method */ - do { - prev = res; - res = (prev + i/prev) >> 1; - } while ((prev+res)>>1 != res); - - return res; -} - -/** - * Initialize statistics state. - * - * @param stat Statistic state. - */ -PJ_INLINE(void) pj_math_stat_init(pj_math_stat *stat) -{ - pj_bzero(stat, sizeof(pj_math_stat)); -} - -/** - * Update statistics state as a new sample comes. - * - * @param stat Statistic state. - * @param val The new sample data. - */ -PJ_INLINE(void) pj_math_stat_update(pj_math_stat *stat, int val) -{ -#if PJ_HAS_FLOATING_POINT - float delta; -#else - int delta; -#endif - - stat->last = val; - - if (stat->n++) { - if (stat->min > val) - stat->min = val; - if (stat->max < val) - stat->max = val; - } else { - stat->min = stat->max = val; - } - -#if PJ_HAS_FLOATING_POINT - delta = val - stat->fmean_; - stat->fmean_ += delta/stat->n; - - /* Return mean value with 'rounding' */ - stat->mean = (int) (stat->fmean_ + 0.5); - - stat->m2_ += (int)(delta * (val-stat->fmean_)); -#else - delta = val - stat->mean; - stat->mean += delta/stat->n; - stat->mean_res_ += delta % stat->n; - if (stat->mean_res_ >= stat->n) { - ++stat->mean; - stat->mean_res_ -= stat->n; - } else if (stat->mean_res_ <= -stat->n) { - --stat->mean; - stat->mean_res_ += stat->n; - } - - stat->m2_ += delta * (val-stat->mean); -#endif -} - -/** - * Get the standard deviation of specified statistics state. - * - * @param stat Statistic state. - * - * @return The standard deviation. - */ -PJ_INLINE(unsigned) pj_math_stat_get_stddev(const pj_math_stat *stat) -{ - if (stat->n == 0) return 0; - return (pj_isqrt((unsigned)(stat->m2_/stat->n))); -} - -/** - * Set the standard deviation of statistics state. This is useful when - * the statistic state is operated in 'read-only' mode as a storage of - * statistical data. - * - * @param stat Statistic state. - * - * @param dev The standard deviation. - */ -PJ_INLINE(void) pj_math_stat_set_stddev(pj_math_stat *stat, unsigned dev) -{ - if (stat->n == 0) - stat->n = 1; - stat->m2_ = dev*dev*stat->n; -} - -/** @} */ - -PJ_END_DECL - -#endif /* __PJ_MATH_H__ */ diff --git a/res/pjproject/pjlib/include/pj/os.h b/res/pjproject/pjlib/include/pj/os.h deleted file mode 100644 index 3ce877afe2..0000000000 --- a/res/pjproject/pjlib/include/pj/os.h +++ /dev/null @@ -1,1476 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_OS_H__ -#define __PJ_OS_H__ - -/** - * @file os.h - * @brief OS dependent functions - */ -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_OS Operating System Dependent Functionality. - */ - - -/* **************************************************************************/ -/** - * @defgroup PJ_SYS_INFO System Information - * @ingroup PJ_OS - * @{ - */ - -/** - * These enumeration contains constants to indicate support of miscellaneous - * system features. These will go in "flags" field of #pj_sys_info structure. - */ -typedef enum pj_sys_info_flag -{ - /** - * Support for Apple iOS background feature. - */ - PJ_SYS_HAS_IOS_BG = 1 - -} pj_sys_info_flag; - - -/** - * This structure contains information about the system. Use #pj_get_sys_info() - * to obtain the system information. - */ -typedef struct pj_sys_info -{ - /** - * Null terminated string containing processor information (e.g. "i386", - * "x86_64"). It may contain empty string if the value cannot be obtained. - */ - pj_str_t machine; - - /** - * Null terminated string identifying the system operation (e.g. "Linux", - * "win32", "wince"). It may contain empty string if the value cannot be - * obtained. - */ - pj_str_t os_name; - - /** - * A number containing the operating system version number. By convention, - * this field is divided into four bytes, where the highest order byte - * contains the most major version of the OS, the next less significant - * byte contains the less major version, and so on. How the OS version - * number is mapped into these four bytes would be specific for each OS. - * For example, Linux-2.6.32-28 would yield "os_ver" value of 0x0206201c, - * while for Windows 7 it will be 0x06010000 (because dwMajorVersion is - * 6 and dwMinorVersion is 1 for Windows 7). - * - * This field may contain zero if the OS version cannot be obtained. - */ - pj_uint32_t os_ver; - - /** - * Null terminated string identifying the SDK name that is used to build - * the library (e.g. "glibc", "uclibc", "msvc", "wince"). It may contain - * empty string if the value cannot eb obtained. - */ - pj_str_t sdk_name; - - /** - * A number containing the SDK version, using the numbering convention as - * the "os_ver" field. The value will be zero if the version cannot be - * obtained. - */ - pj_uint32_t sdk_ver; - - /** - * A longer null terminated string identifying the underlying system with - * as much information as possible. - */ - pj_str_t info; - - /** - * Other flags containing system specific information. The value is - * bitmask of #pj_sys_info_flag constants. - */ - pj_uint32_t flags; - -} pj_sys_info; - - -/** - * Obtain the system information. - * - * @return System information structure. - */ -PJ_DECL(const pj_sys_info*) pj_get_sys_info(void); - -/* - * @} - */ - -/* **************************************************************************/ -/** - * @defgroup PJ_THREAD Threads - * @ingroup PJ_OS - * @{ - * This module provides multithreading API. - * - * \section pj_thread_examples_sec Examples - * - * For examples, please see: - * - \ref page_pjlib_thread_test - * - \ref page_pjlib_sleep_test - * - */ - -/** - * Thread creation flags: - * - PJ_THREAD_SUSPENDED: specify that the thread should be created suspended. - */ -typedef enum pj_thread_create_flags -{ - PJ_THREAD_SUSPENDED = 1 -} pj_thread_create_flags; - - -/** - * Type of thread entry function. - */ -typedef int (PJ_THREAD_FUNC pj_thread_proc)(void*); - -/** - * Size of thread struct. - */ -#if !defined(PJ_THREAD_DESC_SIZE) -# define PJ_THREAD_DESC_SIZE (64) -#endif - -/** - * Thread structure, to thread's state when the thread is created by external - * or native API. - */ -typedef long pj_thread_desc[PJ_THREAD_DESC_SIZE]; - -/** - * Get process ID. - * @return process ID. - */ -PJ_DECL(pj_uint32_t) pj_getpid(void); - -/** - * Create a new thread. - * - * @param pool The memory pool from which the thread record - * will be allocated from. - * @param thread_name The optional name to be assigned to the thread. - * @param proc Thread entry function. - * @param arg Argument to be passed to the thread entry function. - * @param stack_size The size of the stack for the new thread, or ZERO or - * PJ_THREAD_DEFAULT_STACK_SIZE to let the - * library choose the reasonable size for the stack. - * For some systems, the stack will be allocated from - * the pool, so the pool must have suitable capacity. - * @param flags Flags for thread creation, which is bitmask combination - * from enum pj_thread_create_flags. - * @param thread Pointer to hold the newly created thread. - * - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_thread_create( pj_pool_t *pool, - const char *thread_name, - pj_thread_proc *proc, - void *arg, - pj_size_t stack_size, - unsigned flags, - pj_thread_t **thread ); - -/** - * Register a thread that was created by external or native API to PJLIB. - * This function must be called in the context of the thread being registered. - * When the thread is created by external function or API call, - * it must be 'registered' to PJLIB using pj_thread_register(), so that it can - * cooperate with PJLIB's framework. During registration, some data needs to - * be maintained, and this data must remain available during the thread's - * lifetime. - * - * @param thread_name The optional name to be assigned to the thread. - * @param desc Thread descriptor, which must be available throughout - * the lifetime of the thread. - * @param thread Pointer to hold the created thread handle. - * - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_thread_register ( const char *thread_name, - pj_thread_desc desc, - pj_thread_t **thread); - -/** - * Check if this thread has been registered to PJLIB. - * - * @return Non-zero if it is registered. - */ -PJ_DECL(pj_bool_t) pj_thread_is_registered(void); - - -/** - * Get thread priority value for the thread. - * - * @param thread Thread handle. - * - * @return Thread priority value, or -1 on error. - */ -PJ_DECL(int) pj_thread_get_prio(pj_thread_t *thread); - - -/** - * Set the thread priority. The priority value must be in the priority - * value range, which can be retrieved with #pj_thread_get_prio_min() and - * #pj_thread_get_prio_max() functions. - * - * @param thread Thread handle. - * @param prio New priority to be set to the thread. - * - * @return PJ_SUCCESS on success or the error code. - */ -PJ_DECL(pj_status_t) pj_thread_set_prio(pj_thread_t *thread, int prio); - -/** - * Get the lowest priority value available for this thread. - * - * @param thread Thread handle. - * @return Minimum thread priority value, or -1 on error. - */ -PJ_DECL(int) pj_thread_get_prio_min(pj_thread_t *thread); - - -/** - * Get the highest priority value available for this thread. - * - * @param thread Thread handle. - * @return Minimum thread priority value, or -1 on error. - */ -PJ_DECL(int) pj_thread_get_prio_max(pj_thread_t *thread); - - -/** - * Return native handle from pj_thread_t for manipulation using native - * OS APIs. - * - * @param thread PJLIB thread descriptor. - * - * @return Native thread handle. For example, when the - * backend thread uses pthread, this function will - * return pointer to pthread_t, and on Windows, - * this function will return HANDLE. - */ -PJ_DECL(void*) pj_thread_get_os_handle(pj_thread_t *thread); - -/** - * Get thread name. - * - * @param thread The thread handle. - * - * @return Thread name as null terminated string. - */ -PJ_DECL(const char*) pj_thread_get_name(pj_thread_t *thread); - -/** - * Resume a suspended thread. - * - * @param thread The thread handle. - * - * @return zero on success. - */ -PJ_DECL(pj_status_t) pj_thread_resume(pj_thread_t *thread); - -/** - * Get the current thread. - * - * @return Thread handle of current thread. - */ -PJ_DECL(pj_thread_t*) pj_thread_this(void); - -/** - * Join thread, and block the caller thread until the specified thread exits. - * If the specified thread has already been dead, or it does not exist, - * the function will return immediately with successfull status. - * - * @param thread The thread handle. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pj_thread_join(pj_thread_t *thread); - - -/** - * Destroy thread and release resources allocated for the thread. - * However, the memory allocated for the pj_thread_t itself will only be released - * when the pool used to create the thread is destroyed. - * - * @param thread The thread handle. - * - * @return zero on success. - */ -PJ_DECL(pj_status_t) pj_thread_destroy(pj_thread_t *thread); - - -/** - * Put the current thread to sleep for the specified miliseconds. - * - * @param msec Miliseconds delay. - * - * @return zero if successfull. - */ -PJ_DECL(pj_status_t) pj_thread_sleep(unsigned msec); - -/** - * @def PJ_CHECK_STACK() - * PJ_CHECK_STACK() macro is used to check the sanity of the stack. - * The OS implementation may check that no stack overflow occurs, and - * it also may collect statistic about stack usage. - */ -#if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK!=0 - -# define PJ_CHECK_STACK() pj_thread_check_stack(__FILE__, __LINE__) - -/** @internal - * The implementation of stack checking. - */ -PJ_DECL(void) pj_thread_check_stack(const char *file, int line); - -/** @internal - * Get maximum stack usage statistic. - */ -PJ_DECL(pj_uint32_t) pj_thread_get_stack_max_usage(pj_thread_t *thread); - -/** @internal - * Dump thread stack status. - */ -PJ_DECL(pj_status_t) pj_thread_get_stack_info(pj_thread_t *thread, - const char **file, - int *line); -#else - -# define PJ_CHECK_STACK() -/** pj_thread_get_stack_max_usage() for the thread */ -# define pj_thread_get_stack_max_usage(thread) 0 -/** pj_thread_get_stack_info() for the thread */ -# define pj_thread_get_stack_info(thread,f,l) (*(f)="",*(l)=0) -#endif /* PJ_OS_HAS_CHECK_STACK */ - -/** - * @} - */ - -/* **************************************************************************/ -/** - * @defgroup PJ_SYMBIAN_OS Symbian OS Specific - * @ingroup PJ_OS - * @{ - * Functionalities specific to Symbian OS. - * - * Symbian OS strongly discourages the use of polling since this wastes - * CPU power, and instead provides Active Object and Active Scheduler - * pattern to allow application (in this case, PJLIB) to register asynchronous - * tasks. PJLIB port for Symbian complies to this recommended behavior. - * As the result, few things have been changed in PJLIB for Symbian: - * - the timer heap (see @ref PJ_TIMER) is implemented with active - * object framework, and each timer entry registered to the timer - * heap will register an Active Object to the Active Scheduler. - * Because of this, polling the timer heap with pj_timer_heap_poll() - * is no longer necessary, and this function will just evaluate - * to nothing. - * - the ioqueue (see @ref PJ_IOQUEUE) is also implemented with - * active object framework, with each asynchronous operation will - * register an Active Object to the Active Scheduler. Because of - * this, polling the ioqueue with pj_ioqueue_poll() is no longer - * necessary, and this function will just evaluate to nothing. - * - * Since timer heap and ioqueue polling are no longer necessary, Symbian - * application can now poll for all events by calling - * \a User::WaitForAnyRequest() and \a CActiveScheduler::RunIfReady(). - * PJLIB provides a thin wrapper which calls these two functions, - * called pj_symbianos_poll(). - */ - -/** - * Wait the completion of any Symbian active objects. When the timeout - * value is not specified (the \a ms_timeout argument is -1), this - * function is a thin wrapper which calls \a User::WaitForAnyRequest() - * and \a CActiveScheduler::RunIfReady(). If the timeout value is - * specified, this function will schedule a timer entry to the timer - * heap (which is an Active Object), to limit the wait time for event - * occurences. Scheduling a timer entry is an expensive operation, - * therefore application should only specify a timeout value when it's - * really necessary (for example, when it's not sure there are other - * Active Objects currently running in the application). - * - * @param priority The minimum priority of the Active Objects to - * poll, which values are from CActive::TPriority - * constants. If -1 is given, CActive::EPriorityStandard. - * priority will be used. - * @param ms_timeout Optional timeout to wait. Application should - * specify -1 to let the function wait indefinitely - * for any events. - * - * @return PJ_TRUE if there have been any events executed - * during the polling. This function will only return - * PJ_FALSE if \a ms_timeout argument is specified - * (i.e. the value is not -1) and there was no event - * executed when the timeout timer elapsed. - */ -PJ_DECL(pj_bool_t) pj_symbianos_poll(int priority, int ms_timeout); - - -/** - * This structure declares Symbian OS specific parameters that can be - * specified when calling #pj_symbianos_set_params(). - */ -typedef struct pj_symbianos_params -{ - /** - * Optional RSocketServ instance to be used by PJLIB. If this - * value is NULL, PJLIB will create a new RSocketServ instance - * when pj_init() is called. - */ - void *rsocketserv; - - /** - * Optional RConnection instance to be used by PJLIB when creating - * sockets. If this value is NULL, no RConnection will be - * specified when creating sockets. - */ - void *rconnection; - - /** - * Optional RHostResolver instance to be used by PJLIB. If this value - * is NULL, a new RHostResolver instance will be created when - * pj_init() is called. - */ - void *rhostresolver; - - /** - * Optional RHostResolver for IPv6 instance to be used by PJLIB. - * If this value is NULL, a new RHostResolver instance will be created - * when pj_init() is called. - */ - void *rhostresolver6; - -} pj_symbianos_params; - -/** - * Specify Symbian OS parameters to be used by PJLIB. This function MUST - * be called before #pj_init() is called. - * - * @param prm Symbian specific parameters. - * - * @return PJ_SUCCESS if the parameters can be applied - * successfully. - */ -PJ_DECL(pj_status_t) pj_symbianos_set_params(pj_symbianos_params *prm); - -/** - * Notify PJLIB that the access point connection has been down or unusable - * and PJLIB should not try to access the Symbian socket API (especially ones - * that send packets). Sending packet when RConnection is reconnected to - * different access point may cause the WaitForRequest() for the function to - * block indefinitely. - * - * @param up If set to PJ_FALSE it will cause PJLIB to not try - * to access socket API, and error will be returned - * immediately instead. - */ -PJ_DECL(void) pj_symbianos_set_connection_status(pj_bool_t up); - -/** - * @} - */ - -/* **************************************************************************/ -/** - * @defgroup PJ_TLS Thread Local Storage. - * @ingroup PJ_OS - * @{ - */ - -/** - * Allocate thread local storage index. The initial value of the variable at - * the index is zero. - * - * @param index Pointer to hold the return value. - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_thread_local_alloc(long *index); - -/** - * Deallocate thread local variable. - * - * @param index The variable index. - */ -PJ_DECL(void) pj_thread_local_free(long index); - -/** - * Set the value of thread local variable. - * - * @param index The index of the variable. - * @param value The value. - */ -PJ_DECL(pj_status_t) pj_thread_local_set(long index, void *value); - -/** - * Get the value of thread local variable. - * - * @param index The index of the variable. - * @return The value. - */ -PJ_DECL(void*) pj_thread_local_get(long index); - - -/** - * @} - */ - - -/* **************************************************************************/ -/** - * @defgroup PJ_ATOMIC Atomic Variables - * @ingroup PJ_OS - * @{ - * - * This module provides API to manipulate atomic variables. - * - * \section pj_atomic_examples_sec Examples - * - * For some example codes, please see: - * - @ref page_pjlib_atomic_test - */ - - -/** - * Create atomic variable. - * - * @param pool The pool. - * @param initial The initial value of the atomic variable. - * @param atomic Pointer to hold the atomic variable upon return. - * - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_atomic_create( pj_pool_t *pool, - pj_atomic_value_t initial, - pj_atomic_t **atomic ); - -/** - * Destroy atomic variable. - * - * @param atomic_var the atomic variable. - * - * @return PJ_SUCCESS if success. - */ -PJ_DECL(pj_status_t) pj_atomic_destroy( pj_atomic_t *atomic_var ); - -/** - * Set the value of an atomic type, and return the previous value. - * - * @param atomic_var the atomic variable. - * @param value value to be set to the variable. - */ -PJ_DECL(void) pj_atomic_set( pj_atomic_t *atomic_var, - pj_atomic_value_t value); - -/** - * Get the value of an atomic type. - * - * @param atomic_var the atomic variable. - * - * @return the value of the atomic variable. - */ -PJ_DECL(pj_atomic_value_t) pj_atomic_get(pj_atomic_t *atomic_var); - -/** - * Increment the value of an atomic type. - * - * @param atomic_var the atomic variable. - */ -PJ_DECL(void) pj_atomic_inc(pj_atomic_t *atomic_var); - -/** - * Increment the value of an atomic type and get the result. - * - * @param atomic_var the atomic variable. - * - * @return The incremented value. - */ -PJ_DECL(pj_atomic_value_t) pj_atomic_inc_and_get(pj_atomic_t *atomic_var); - -/** - * Decrement the value of an atomic type. - * - * @param atomic_var the atomic variable. - */ -PJ_DECL(void) pj_atomic_dec(pj_atomic_t *atomic_var); - -/** - * Decrement the value of an atomic type and get the result. - * - * @param atomic_var the atomic variable. - * - * @return The decremented value. - */ -PJ_DECL(pj_atomic_value_t) pj_atomic_dec_and_get(pj_atomic_t *atomic_var); - -/** - * Add a value to an atomic type. - * - * @param atomic_var The atomic variable. - * @param value Value to be added. - */ -PJ_DECL(void) pj_atomic_add( pj_atomic_t *atomic_var, - pj_atomic_value_t value); - -/** - * Add a value to an atomic type and get the result. - * - * @param atomic_var The atomic variable. - * @param value Value to be added. - * - * @return The result after the addition. - */ -PJ_DECL(pj_atomic_value_t) pj_atomic_add_and_get( pj_atomic_t *atomic_var, - pj_atomic_value_t value); - -/** - * @} - */ - -/* **************************************************************************/ -/** - * @defgroup PJ_MUTEX Mutexes. - * @ingroup PJ_OS - * @{ - * - * Mutex manipulation. Alternatively, application can use higher abstraction - * for lock objects, which provides uniform API for all kinds of lock - * mechanisms, including mutex. See @ref PJ_LOCK for more information. - */ - -/** - * Mutex types: - * - PJ_MUTEX_DEFAULT: default mutex type, which is system dependent. - * - PJ_MUTEX_SIMPLE: non-recursive mutex. - * - PJ_MUTEX_RECURSE: recursive mutex. - */ -typedef enum pj_mutex_type_e -{ - PJ_MUTEX_DEFAULT, - PJ_MUTEX_SIMPLE, - PJ_MUTEX_RECURSE -} pj_mutex_type_e; - - -/** - * Create mutex of the specified type. - * - * @param pool The pool. - * @param name Name to be associated with the mutex (for debugging). - * @param type The type of the mutex, of type #pj_mutex_type_e. - * @param mutex Pointer to hold the returned mutex instance. - * - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_mutex_create(pj_pool_t *pool, - const char *name, - int type, - pj_mutex_t **mutex); - -/** - * Create simple, non-recursive mutex. - * This function is a simple wrapper for #pj_mutex_create to create - * non-recursive mutex. - * - * @param pool The pool. - * @param name Mutex name. - * @param mutex Pointer to hold the returned mutex instance. - * - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_mutex_create_simple( pj_pool_t *pool, const char *name, - pj_mutex_t **mutex ); - -/** - * Create recursive mutex. - * This function is a simple wrapper for #pj_mutex_create to create - * recursive mutex. - * - * @param pool The pool. - * @param name Mutex name. - * @param mutex Pointer to hold the returned mutex instance. - * - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_mutex_create_recursive( pj_pool_t *pool, - const char *name, - pj_mutex_t **mutex ); - -/** - * Acquire mutex lock. - * - * @param mutex The mutex. - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_mutex_lock(pj_mutex_t *mutex); - -/** - * Release mutex lock. - * - * @param mutex The mutex. - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_mutex_unlock(pj_mutex_t *mutex); - -/** - * Try to acquire mutex lock. - * - * @param mutex The mutex. - * @return PJ_SUCCESS on success, or the error code if the - * lock couldn't be acquired. - */ -PJ_DECL(pj_status_t) pj_mutex_trylock(pj_mutex_t *mutex); - -/** - * Destroy mutex. - * - * @param mutex Te mutex. - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_mutex_destroy(pj_mutex_t *mutex); - -/** - * Determine whether calling thread is owning the mutex (only available when - * PJ_DEBUG is set). - * @param mutex The mutex. - * @return Non-zero if yes. - */ -PJ_DECL(pj_bool_t) pj_mutex_is_locked(pj_mutex_t *mutex); - -/** - * @} - */ - -/* **************************************************************************/ -/** - * @defgroup PJ_RW_MUTEX Reader/Writer Mutex - * @ingroup PJ_OS - * @{ - * Reader/writer mutex is a classic synchronization object where multiple - * readers can acquire the mutex, but only a single writer can acquire the - * mutex. - */ - -/** - * Opaque declaration for reader/writer mutex. - * Reader/writer mutex is a classic synchronization object where multiple - * readers can acquire the mutex, but only a single writer can acquire the - * mutex. - */ -typedef struct pj_rwmutex_t pj_rwmutex_t; - -/** - * Create reader/writer mutex. - * - * @param pool Pool to allocate memory for the mutex. - * @param name Name to be assigned to the mutex. - * @param mutex Pointer to receive the newly created mutex. - * - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_rwmutex_create(pj_pool_t *pool, const char *name, - pj_rwmutex_t **mutex); - -/** - * Lock the mutex for reading. - * - * @param mutex The mutex. - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_rwmutex_lock_read(pj_rwmutex_t *mutex); - -/** - * Lock the mutex for writing. - * - * @param mutex The mutex. - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_rwmutex_lock_write(pj_rwmutex_t *mutex); - -/** - * Release read lock. - * - * @param mutex The mutex. - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_rwmutex_unlock_read(pj_rwmutex_t *mutex); - -/** - * Release write lock. - * - * @param mutex The mutex. - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_rwmutex_unlock_write(pj_rwmutex_t *mutex); - -/** - * Destroy reader/writer mutex. - * - * @param mutex The mutex. - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_rwmutex_destroy(pj_rwmutex_t *mutex); - - -/** - * @} - */ - - -/* **************************************************************************/ -/** - * @defgroup PJ_CRIT_SEC Critical sections. - * @ingroup PJ_OS - * @{ - * Critical section protection can be used to protect regions where: - * - mutual exclusion protection is needed. - * - it's rather too expensive to create a mutex. - * - the time spent in the region is very very brief. - * - * Critical section is a global object, and it prevents any threads from - * entering any regions that are protected by critical section once a thread - * is already in the section. - * - * Critial section is \a not recursive! - * - * Application MUST NOT call any functions that may cause current - * thread to block (such as allocating memory, performing I/O, locking mutex, - * etc.) while holding the critical section. - */ -/** - * Enter critical section. - */ -PJ_DECL(void) pj_enter_critical_section(void); - -/** - * Leave critical section. - */ -PJ_DECL(void) pj_leave_critical_section(void); - -/** - * @} - */ - -/* **************************************************************************/ -#if defined(PJ_HAS_SEMAPHORE) && PJ_HAS_SEMAPHORE != 0 -/** - * @defgroup PJ_SEM Semaphores. - * @ingroup PJ_OS - * @{ - * - * This module provides abstraction for semaphores, where available. - */ - -/** - * Create semaphore. - * - * @param pool The pool. - * @param name Name to be assigned to the semaphore (for logging purpose) - * @param initial The initial count of the semaphore. - * @param max The maximum count of the semaphore. - * @param sem Pointer to hold the semaphore created. - * - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_sem_create( pj_pool_t *pool, - const char *name, - unsigned initial, - unsigned max, - pj_sem_t **sem); - -/** - * Wait for semaphore. - * - * @param sem The semaphore. - * - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_sem_wait(pj_sem_t *sem); - -/** - * Try wait for semaphore. - * - * @param sem The semaphore. - * - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_sem_trywait(pj_sem_t *sem); - -/** - * Release semaphore. - * - * @param sem The semaphore. - * - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_sem_post(pj_sem_t *sem); - -/** - * Destroy semaphore. - * - * @param sem The semaphore. - * - * @return PJ_SUCCESS on success, or the error code. - */ -PJ_DECL(pj_status_t) pj_sem_destroy(pj_sem_t *sem); - -/** - * @} - */ -#endif /* PJ_HAS_SEMAPHORE */ - - -/* **************************************************************************/ -#if defined(PJ_HAS_EVENT_OBJ) && PJ_HAS_EVENT_OBJ != 0 -/** - * @defgroup PJ_EVENT Event Object. - * @ingroup PJ_OS - * @{ - * - * This module provides abstraction to event object (e.g. Win32 Event) where - * available. Event objects can be used for synchronization among threads. - */ - -/** - * Create event object. - * - * @param pool The pool. - * @param name The name of the event object (for logging purpose). - * @param manual_reset Specify whether the event is manual-reset - * @param initial Specify the initial state of the event object. - * @param event Pointer to hold the returned event object. - * - * @return event handle, or NULL if failed. - */ -PJ_DECL(pj_status_t) pj_event_create(pj_pool_t *pool, const char *name, - pj_bool_t manual_reset, pj_bool_t initial, - pj_event_t **event); - -/** - * Wait for event to be signaled. - * - * @param event The event object. - * - * @return zero if successfull. - */ -PJ_DECL(pj_status_t) pj_event_wait(pj_event_t *event); - -/** - * Try wait for event object to be signalled. - * - * @param event The event object. - * - * @return zero if successfull. - */ -PJ_DECL(pj_status_t) pj_event_trywait(pj_event_t *event); - -/** - * Set the event object state to signaled. For auto-reset event, this - * will only release the first thread that are waiting on the event. For - * manual reset event, the state remains signaled until the event is reset. - * If there is no thread waiting on the event, the event object state - * remains signaled. - * - * @param event The event object. - * - * @return zero if successfull. - */ -PJ_DECL(pj_status_t) pj_event_set(pj_event_t *event); - -/** - * Set the event object to signaled state to release appropriate number of - * waiting threads and then reset the event object to non-signaled. For - * manual-reset event, this function will release all waiting threads. For - * auto-reset event, this function will only release one waiting thread. - * - * @param event The event object. - * - * @return zero if successfull. - */ -PJ_DECL(pj_status_t) pj_event_pulse(pj_event_t *event); - -/** - * Set the event object state to non-signaled. - * - * @param event The event object. - * - * @return zero if successfull. - */ -PJ_DECL(pj_status_t) pj_event_reset(pj_event_t *event); - -/** - * Destroy the event object. - * - * @param event The event object. - * - * @return zero if successfull. - */ -PJ_DECL(pj_status_t) pj_event_destroy(pj_event_t *event); - -/** - * @} - */ -#endif /* PJ_HAS_EVENT_OBJ */ - -/* **************************************************************************/ -/** - * @addtogroup PJ_TIME Time Data Type and Manipulation. - * @ingroup PJ_OS - * @{ - * This module provides API for manipulating time. - * - * \section pj_time_examples_sec Examples - * - * For examples, please see: - * - \ref page_pjlib_sleep_test - */ - -/** - * Get current time of day in local representation. - * - * @param tv Variable to store the result. - * - * @return zero if successfull. - */ -PJ_DECL(pj_status_t) pj_gettimeofday(pj_time_val *tv); - - -/** - * Parse time value into date/time representation. - * - * @param tv The time. - * @param pt Variable to store the date time result. - * - * @return zero if successfull. - */ -PJ_DECL(pj_status_t) pj_time_decode(const pj_time_val *tv, pj_parsed_time *pt); - -/** - * Encode date/time to time value. - * - * @param pt The date/time. - * @param tv Variable to store time value result. - * - * @return zero if successfull. - */ -PJ_DECL(pj_status_t) pj_time_encode(const pj_parsed_time *pt, pj_time_val *tv); - -/** - * Convert local time to GMT. - * - * @param tv Time to convert. - * - * @return zero if successfull. - */ -PJ_DECL(pj_status_t) pj_time_local_to_gmt(pj_time_val *tv); - -/** - * Convert GMT to local time. - * - * @param tv Time to convert. - * - * @return zero if successfull. - */ -PJ_DECL(pj_status_t) pj_time_gmt_to_local(pj_time_val *tv); - -/** - * @} - */ - -/* **************************************************************************/ -#if defined(PJ_TERM_HAS_COLOR) && PJ_TERM_HAS_COLOR != 0 - -/** - * @defgroup PJ_TERM Terminal - * @ingroup PJ_OS - * @{ - */ - -/** - * Set current terminal color. - * - * @param color The RGB color. - * - * @return zero on success. - */ -PJ_DECL(pj_status_t) pj_term_set_color(pj_color_t color); - -/** - * Get current terminal foreground color. - * - * @return RGB color. - */ -PJ_DECL(pj_color_t) pj_term_get_color(void); - -/** - * @} - */ - -#endif /* PJ_TERM_HAS_COLOR */ - -/* **************************************************************************/ -/** - * @defgroup PJ_TIMESTAMP High Resolution Timestamp - * @ingroup PJ_OS - * @{ - * - * PJLIB provides High Resolution Timestamp API to access highest - * resolution timestamp value provided by the platform. The API is usefull - * to measure precise elapsed time, and can be used in applications such - * as profiling. - * - * The timestamp value is represented in cycles, and can be related to - * normal time (in seconds or sub-seconds) using various functions provided. - * - * \section pj_timestamp_examples_sec Examples - * - * For examples, please see: - * - \ref page_pjlib_sleep_test - * - \ref page_pjlib_timestamp_test - */ - -/* - * High resolution timer. - */ -#if defined(PJ_HAS_HIGH_RES_TIMER) && PJ_HAS_HIGH_RES_TIMER != 0 - -/** - * Get monotonic time since some unspecified starting point. - * - * @param tv Variable to store the result. - * - * @return PJ_SUCCESS if successful. - */ -PJ_DECL(pj_status_t) pj_gettickcount(pj_time_val *tv); - -/** - * Acquire high resolution timer value. The time value are stored - * in cycles. - * - * @param ts High resolution timer value. - * @return PJ_SUCCESS or the appropriate error code. - * - * @see pj_get_timestamp_freq(). - */ -PJ_DECL(pj_status_t) pj_get_timestamp(pj_timestamp *ts); - -/** - * Get high resolution timer frequency, in cycles per second. - * - * @param freq Timer frequency, in cycles per second. - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_get_timestamp_freq(pj_timestamp *freq); - -/** - * Set timestamp from 32bit values. - * @param t The timestamp to be set. - * @param hi The high 32bit part. - * @param lo The low 32bit part. - */ -PJ_INLINE(void) pj_set_timestamp32(pj_timestamp *t, pj_uint32_t hi, - pj_uint32_t lo) -{ - t->u32.hi = hi; - t->u32.lo = lo; -} - - -/** - * Compare timestamp t1 and t2. - * @param t1 t1. - * @param t2 t2. - * @return -1 if (t1 < t2), 1 if (t1 > t2), or 0 if (t1 == t2) - */ -PJ_INLINE(int) pj_cmp_timestamp(const pj_timestamp *t1, const pj_timestamp *t2) -{ -#if PJ_HAS_INT64 - if (t1->u64 < t2->u64) - return -1; - else if (t1->u64 > t2->u64) - return 1; - else - return 0; -#else - if (t1->u32.hi < t2->u32.hi || - (t1->u32.hi == t2->u32.hi && t1->u32.lo < t2->u32.lo)) - return -1; - else if (t1->u32.hi > t2->u32.hi || - (t1->u32.hi == t2->u32.hi && t1->u32.lo > t2->u32.lo)) - return 1; - else - return 0; -#endif -} - - -/** - * Add timestamp t2 to t1. - * @param t1 t1. - * @param t2 t2. - */ -PJ_INLINE(void) pj_add_timestamp(pj_timestamp *t1, const pj_timestamp *t2) -{ -#if PJ_HAS_INT64 - t1->u64 += t2->u64; -#else - pj_uint32_t old = t1->u32.lo; - t1->u32.hi += t2->u32.hi; - t1->u32.lo += t2->u32.lo; - if (t1->u32.lo < old) - ++t1->u32.hi; -#endif -} - -/** - * Add timestamp t2 to t1. - * @param t1 t1. - * @param t2 t2. - */ -PJ_INLINE(void) pj_add_timestamp32(pj_timestamp *t1, pj_uint32_t t2) -{ -#if PJ_HAS_INT64 - t1->u64 += t2; -#else - pj_uint32_t old = t1->u32.lo; - t1->u32.lo += t2; - if (t1->u32.lo < old) - ++t1->u32.hi; -#endif -} - -/** - * Substract timestamp t2 from t1. - * @param t1 t1. - * @param t2 t2. - */ -PJ_INLINE(void) pj_sub_timestamp(pj_timestamp *t1, const pj_timestamp *t2) -{ -#if PJ_HAS_INT64 - t1->u64 -= t2->u64; -#else - t1->u32.hi -= t2->u32.hi; - if (t1->u32.lo >= t2->u32.lo) - t1->u32.lo -= t2->u32.lo; - else { - t1->u32.lo -= t2->u32.lo; - --t1->u32.hi; - } -#endif -} - -/** - * Substract timestamp t2 from t1. - * @param t1 t1. - * @param t2 t2. - */ -PJ_INLINE(void) pj_sub_timestamp32(pj_timestamp *t1, pj_uint32_t t2) -{ -#if PJ_HAS_INT64 - t1->u64 -= t2; -#else - if (t1->u32.lo >= t2) - t1->u32.lo -= t2; - else { - t1->u32.lo -= t2; - --t1->u32.hi; - } -#endif -} - -/** - * Get the timestamp difference between t2 and t1 (that is t2 minus t1), - * and return a 32bit signed integer difference. - */ -PJ_INLINE(pj_int32_t) pj_timestamp_diff32(const pj_timestamp *t1, - const pj_timestamp *t2) -{ - /* Be careful with the signess (I think!) */ -#if PJ_HAS_INT64 - pj_int64_t diff = t2->u64 - t1->u64; - return (pj_int32_t) diff; -#else - pj_int32 diff = t2->u32.lo - t1->u32.lo; - return diff; -#endif -} - - -/** - * Calculate the elapsed time, and store it in pj_time_val. - * This function calculates the elapsed time using highest precision - * calculation that is available for current platform, considering - * whether floating point or 64-bit precision arithmetic is available. - * For maximum portability, application should prefer to use this function - * rather than calculating the elapsed time by itself. - * - * @param start The starting timestamp. - * @param stop The end timestamp. - * - * @return Elapsed time as #pj_time_val. - * - * @see pj_elapsed_usec(), pj_elapsed_cycle(), pj_elapsed_nanosec() - */ -PJ_DECL(pj_time_val) pj_elapsed_time( const pj_timestamp *start, - const pj_timestamp *stop ); - -/** - * Calculate the elapsed time as 32-bit miliseconds. - * This function calculates the elapsed time using highest precision - * calculation that is available for current platform, considering - * whether floating point or 64-bit precision arithmetic is available. - * For maximum portability, application should prefer to use this function - * rather than calculating the elapsed time by itself. - * - * @param start The starting timestamp. - * @param stop The end timestamp. - * - * @return Elapsed time in milisecond. - * - * @see pj_elapsed_time(), pj_elapsed_cycle(), pj_elapsed_nanosec() - */ -PJ_DECL(pj_uint32_t) pj_elapsed_msec( const pj_timestamp *start, - const pj_timestamp *stop ); - -/** - * Variant of #pj_elapsed_msec() which returns 64bit value. - */ -PJ_DECL(pj_uint64_t) pj_elapsed_msec64(const pj_timestamp *start, - const pj_timestamp *stop ); - -/** - * Calculate the elapsed time in 32-bit microseconds. - * This function calculates the elapsed time using highest precision - * calculation that is available for current platform, considering - * whether floating point or 64-bit precision arithmetic is available. - * For maximum portability, application should prefer to use this function - * rather than calculating the elapsed time by itself. - * - * @param start The starting timestamp. - * @param stop The end timestamp. - * - * @return Elapsed time in microsecond. - * - * @see pj_elapsed_time(), pj_elapsed_cycle(), pj_elapsed_nanosec() - */ -PJ_DECL(pj_uint32_t) pj_elapsed_usec( const pj_timestamp *start, - const pj_timestamp *stop ); - -/** - * Calculate the elapsed time in 32-bit nanoseconds. - * This function calculates the elapsed time using highest precision - * calculation that is available for current platform, considering - * whether floating point or 64-bit precision arithmetic is available. - * For maximum portability, application should prefer to use this function - * rather than calculating the elapsed time by itself. - * - * @param start The starting timestamp. - * @param stop The end timestamp. - * - * @return Elapsed time in nanoseconds. - * - * @see pj_elapsed_time(), pj_elapsed_cycle(), pj_elapsed_usec() - */ -PJ_DECL(pj_uint32_t) pj_elapsed_nanosec( const pj_timestamp *start, - const pj_timestamp *stop ); - -/** - * Calculate the elapsed time in 32-bit cycles. - * This function calculates the elapsed time using highest precision - * calculation that is available for current platform, considering - * whether floating point or 64-bit precision arithmetic is available. - * For maximum portability, application should prefer to use this function - * rather than calculating the elapsed time by itself. - * - * @param start The starting timestamp. - * @param stop The end timestamp. - * - * @return Elapsed time in cycles. - * - * @see pj_elapsed_usec(), pj_elapsed_time(), pj_elapsed_nanosec() - */ -PJ_DECL(pj_uint32_t) pj_elapsed_cycle( const pj_timestamp *start, - const pj_timestamp *stop ); - - -#endif /* PJ_HAS_HIGH_RES_TIMER */ - -/** @} */ - - -/* **************************************************************************/ -/** - * @defgroup PJ_APP_OS Application execution - * @ingroup PJ_OS - * @{ - */ - -/* Type for main function. */ -typedef int (*pj_main_func_ptr)(int argc, char *argv[]); - -/** - * Run the application. This function has to be called in the main thread - * and after doing the necessary initialization according to the flags - * provided, it will call main_func() function. - * - * @param main_func Application's main function. - * @param argc Number of arguments from the main() function, which - * will be passed to main_func() function. - * @param argv The arguments from the main() function, which will - * be passed to main_func() function. - * @param flags Flags for application execution, currently must be 0. - * - * @return main_func()'s return value. - */ -int pj_run_app(pj_main_func_ptr main_func, int argc, char *argv[], - unsigned flags); - -/** @} */ - - -/* **************************************************************************/ -/** - * Internal PJLIB function to initialize the threading subsystem. - * @return PJ_SUCCESS or the appropriate error code. - */ -pj_status_t pj_thread_init(void); - - -PJ_END_DECL - -#endif /* __PJ_OS_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/pool.h b/res/pjproject/pjlib/include/pj/pool.h deleted file mode 100644 index 96c6de3b11..0000000000 --- a/res/pjproject/pjlib/include/pj/pool.h +++ /dev/null @@ -1,903 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include - -/* See if we use pool's alternate API. - * The alternate API is used e.g. to implement pool debugging. - */ -#if PJ_HAS_POOL_ALT_API -# include -#endif - - -#ifndef __PJ_POOL_H__ -#define __PJ_POOL_H__ - -/** - * @file pool.h - * @brief Memory Pool. - */ - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_POOL_GROUP Fast Memory Pool - * @brief - * Memory pools allow dynamic memory allocation comparable to malloc or the - * new in operator C++. Those implementations are not desirable for very - * high performance applications or real-time systems, because of the - * performance bottlenecks and it suffers from fragmentation issue. - * - * \section PJ_POOL_INTRO_SEC PJLIB's Memory Pool - * \subsection PJ_POOL_ADVANTAGE_SUBSEC Advantages - * - * PJLIB's pool has many advantages over traditional malloc/new operator and - * over other memory pool implementations, because: - * - unlike other memory pool implementation, it allows allocation of - * memory chunks of different sizes, - * - it's very very fast. - * \n - * Memory chunk allocation is not only an O(1) - * operation, but it's also very simple (just - * few pointer arithmetic operations) and it doesn't require locking - * any mutex, - * - it's memory efficient. - * \n - * Pool doesn't keep track individual memory chunks allocated by - * applications, so there is no additional overhead needed for each - * memory allocation (other than possible additional of few bytes, up to - * PJ_POOL_ALIGNMENT-1, for aligning the memory). - * But see the @ref PJ_POOL_CAVEATS_SUBSEC below. - * - it prevents memory leaks. - * \n - * Memory pool inherently has garbage collection functionality. In fact, - * there is no need to free the chunks allocated from the memory pool. - * All chunks previously allocated from the pool will be freed once the - * pool itself is destroyed. This would prevent memory leaks that haunt - * programmers for decades, and it provides additional performance - * advantage over traditional malloc/new operator. - * - * Even more, PJLIB's memory pool provides some additional usability and - * flexibility for applications: - * - memory leaks are easily traceable, since memory pool is assigned name, - * and application can inspect what pools currently active in the system. - * - by design, memory allocation from a pool is not thread safe. We assumed - * that a pool will be owned by a higher level object, and thread safety - * should be handled by that object. This enables very fast pool operations - * and prevents unnecessary locking operations, - * - by default, the memory pool API behaves more like C++ new operator, - * in that it will throw PJ_NO_MEMORY_EXCEPTION exception (see - * @ref PJ_EXCEPT) when memory chunk allocation fails. This enables failure - * handling to be done on more high level function (instead of checking - * the result of pj_pool_alloc() everytime). If application doesn't like - * this, the default behavior can be changed on global basis by supplying - * different policy to the pool factory. - * - any memory allocation backend allocator/deallocator may be used. By - * default, the policy uses malloc() and free() to manage the pool's block, - * but application may use different strategy, for example to allocate - * memory blocks from a globally static memory location. - * - * - * \subsection PJ_POOL_PERFORMANCE_SUBSEC Performance - * - * The result of PJLIB's memory design and careful implementation is a - * memory allocation strategy that can speed-up the memory allocations - * and deallocations by up to 30 times compared to standard - * malloc()/free() (more than 150 million allocations per second on a - * P4/3.0GHz Linux machine). - * - * (Note: your mileage may vary, of course. You can see how much PJLIB's - * pool improves the performance over malloc()/free() in your target - * system by running pjlib-test application). - * - * - * \subsection PJ_POOL_CAVEATS_SUBSEC Caveats - * - * There are some caveats though! - * - * When creating pool, PJLIB requires applications to specify the initial - * pool size, and as soon as the pool is created, PJLIB allocates memory - * from the system by that size. Application designers MUST choose the - * initial pool size carefully, since choosing too big value will result in - * wasting system's memory. - * - * But the pool can grow. Application designer can specify how the - * pool will grow in size, by specifying the size increment when creating - * the pool. - * - * The pool, however, cannot shrink! Since there is no - * function to deallocate memory chunks, there is no way for the pool to - * release back unused memory to the system. - * Application designers must be aware that constant memory allocations - * from pool that has infinite life-time may cause the memory usage of - * the application to grow over time. - * - * - * \section PJ_POOL_USING_SEC Using Memory Pool - * - * This section describes how to use PJLIB's memory pool framework. - * As we hope the readers will witness, PJLIB's memory pool API is quite - * straightforward. - * - * \subsection PJ_POOL_USING_F Create Pool Factory - * First, application needs to initialize a pool factory (this normally - * only needs to be done once in one application). PJLIB provides - * a pool factory implementation called caching pool (see @ref - * PJ_CACHING_POOL), and it is initialized by calling #pj_caching_pool_init(). - * - * \subsection PJ_POOL_USING_P Create The Pool - * Then application creates the pool object itself with #pj_pool_create(), - * specifying among other thing the pool factory where the pool should - * be created from, the pool name, initial size, and increment/expansion - * size. - * - * \subsection PJ_POOL_USING_M Allocate Memory as Required - * Then whenever application needs to allocate dynamic memory, it would - * call #pj_pool_alloc(), #pj_pool_calloc(), or #pj_pool_zalloc() to - * allocate memory chunks from the pool. - * - * \subsection PJ_POOL_USING_DP Destroy the Pool - * When application has finished with the pool, it should call - * #pj_pool_release() to release the pool object back to the factory. - * Depending on the types of the factory, this may release the memory back - * to the operating system. - * - * \subsection PJ_POOL_USING_Dc Destroy the Pool Factory - * And finally, before application quites, it should deinitialize the - * pool factory, to make sure that all memory blocks allocated by the - * factory are released back to the operating system. After this, of - * course no more memory pool allocation can be requested. - * - * \subsection PJ_POOL_USING_EX Example - * Below is a sample complete program that utilizes PJLIB's memory pool. - * - * \code - - #include - - #define THIS_FILE "pool_sample.c" - - static void my_perror(const char *title, pj_status_t status) - { - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(1,(THIS_FILE, "%s: %s [status=%d]", title, errmsg, status)); - } - - static void pool_demo_1(pj_pool_factory *pfactory) - { - unsigned i; - pj_pool_t *pool; - - // Must create pool before we can allocate anything - pool = pj_pool_create(pfactory, // the factory - "pool1", // pool's name - 4000, // initial size - 4000, // increment size - NULL); // use default callback. - if (pool == NULL) { - my_perror("Error creating pool", PJ_ENOMEM); - return; - } - - // Demo: allocate some memory chunks - for (i=0; i<1000; ++i) { - void *p; - - p = pj_pool_alloc(pool, (pj_rand()+1) % 512); - - // Do something with p - ... - - // Look! No need to free p!! - } - - // Done with silly demo, must free pool to release all memory. - pj_pool_release(pool); - } - - int main() - { - pj_caching_pool cp; - pj_status_t status; - - // Must init PJLIB before anything else - status = pj_init(); - if (status != PJ_SUCCESS) { - my_perror("Error initializing PJLIB", status); - return 1; - } - - // Create the pool factory, in this case, a caching pool, - // using default pool policy. - pj_caching_pool_init(&cp, NULL, 1024*1024 ); - - // Do a demo - pool_demo_1(&cp.factory); - - // Done with demos, destroy caching pool before exiting app. - pj_caching_pool_destroy(&cp); - - return 0; - } - - \endcode - * - * More information about pool factory, the pool object, and caching pool - * can be found on the Module Links below. - */ - - -/** - * @defgroup PJ_POOL Memory Pool Object - * @ingroup PJ_POOL_GROUP - * @brief - * The memory pool is an opaque object created by pool factory. - * Application uses this object to request a memory chunk, by calling - * #pj_pool_alloc(), #pj_pool_calloc(), or #pj_pool_zalloc(). - * When the application has finished using - * the pool, it must call #pj_pool_release() to free all the chunks previously - * allocated and release the pool back to the factory. - * - * A memory pool is initialized with an initial amount of memory, which is - * called a block. Pool can be configured to dynamically allocate more memory - * blocks when it runs out of memory. - * - * The pool doesn't keep track of individual memory allocations - * by user, and the user doesn't have to free these indidual allocations. This - * makes memory allocation simple and very fast. All the memory allocated from - * the pool will be destroyed when the pool itself is destroyed. - * - * \section PJ_POOL_THREADING_SEC More on Threading Policies - * - By design, memory allocation from a pool is not thread safe. We assumed - * that a pool will be owned by an object, and thread safety should be - * handled by that object. Thus these functions are not thread safe: - * - #pj_pool_alloc, - * - #pj_pool_calloc, - * - and other pool statistic functions. - * - Threading in the pool factory is decided by the policy set for the - * factory when it was created. - * - * \section PJ_POOL_EXAMPLES_SEC Examples - * - * For some sample codes on how to use the pool, please see: - * - @ref page_pjlib_pool_test - * - * @{ - */ - -/** - * The type for function to receive callback from the pool when it is unable - * to allocate memory. The elegant way to handle this condition is to throw - * exception, and this is what is expected by most of this library - * components. - */ -typedef void pj_pool_callback(pj_pool_t *pool, pj_size_t size); - -/** - * This class, which is used internally by the pool, describes a single - * block of memory from which user memory allocations will be allocated from. - */ -typedef struct pj_pool_block -{ - PJ_DECL_LIST_MEMBER(struct pj_pool_block); /**< List's prev and next. */ - unsigned char *buf; /**< Start of buffer. */ - unsigned char *cur; /**< Current alloc ptr. */ - unsigned char *end; /**< End of buffer. */ -} pj_pool_block; - - -/** - * This structure describes the memory pool. Only implementors of pool factory - * need to care about the contents of this structure. - */ -struct pj_pool_t -{ - PJ_DECL_LIST_MEMBER(struct pj_pool_t); /**< Standard list elements. */ - - /** Pool name */ - char obj_name[PJ_MAX_OBJ_NAME]; - - /** Pool factory. */ - pj_pool_factory *factory; - - /** Data put by factory */ - void *factory_data; - - /** Current capacity allocated by the pool. */ - pj_size_t capacity; - - /** Size of memory block to be allocated when the pool runs out of memory */ - pj_size_t increment_size; - - /** List of memory blocks allcoated by the pool. */ - pj_pool_block block_list; - - /** The callback to be called when the pool is unable to allocate memory. */ - pj_pool_callback *callback; - -}; - - -/** - * Guidance on how much memory required for initial pool administrative data. - */ -#define PJ_POOL_SIZE (sizeof(struct pj_pool_t)) - -/** - * Pool memory alignment (must be power of 2). - */ -#ifndef PJ_POOL_ALIGNMENT -# define PJ_POOL_ALIGNMENT 4 -#endif - -/** - * Create a new pool from the pool factory. This wrapper will call create_pool - * member of the pool factory. - * - * @param factory The pool factory. - * @param name The name to be assigned to the pool. The name should - * not be longer than PJ_MAX_OBJ_NAME (32 chars), or - * otherwise it will be truncated. - * @param initial_size The size of initial memory blocks taken by the pool. - * Note that the pool will take 68+20 bytes for - * administrative area from this block. - * @param increment_size the size of each additional blocks to be allocated - * when the pool is running out of memory. If user - * requests memory which is larger than this size, then - * an error occurs. - * Note that each time a pool allocates additional block, - * it needs PJ_POOL_SIZE more to store some - * administrative info. - * @param callback Callback to be called when error occurs in the pool. - * If this value is NULL, then the callback from pool - * factory policy will be used. - * Note that when an error occurs during pool creation, - * the callback itself is not called. Instead, NULL - * will be returned. - * - * @return The memory pool, or NULL. - */ -PJ_IDECL(pj_pool_t*) pj_pool_create(pj_pool_factory *factory, - const char *name, - pj_size_t initial_size, - pj_size_t increment_size, - pj_pool_callback *callback); - -/** - * Release the pool back to pool factory. - * - * @param pool Memory pool. - */ -PJ_IDECL(void) pj_pool_release( pj_pool_t *pool ); - -/** - * Get pool object name. - * - * @param pool the pool. - * - * @return pool name as NULL terminated string. - */ -PJ_IDECL(const char *) pj_pool_getobjname( const pj_pool_t *pool ); - -/** - * Reset the pool to its state when it was initialized. - * This means that if additional blocks have been allocated during runtime, - * then they will be freed. Only the original block allocated during - * initialization is retained. This function will also reset the internal - * counters, such as pool capacity and used size. - * - * @param pool the pool. - */ -PJ_DECL(void) pj_pool_reset( pj_pool_t *pool ); - - -/** - * Get the pool capacity, that is, the system storage that have been allocated - * by the pool, and have been used/will be used to allocate user requests. - * There's no guarantee that the returned value represent a single - * contiguous block, because the capacity may be spread in several blocks. - * - * @param pool the pool. - * - * @return the capacity. - */ -PJ_IDECL(pj_size_t) pj_pool_get_capacity( pj_pool_t *pool ); - -/** - * Get the total size of user allocation request. - * - * @param pool the pool. - * - * @return the total size. - */ -PJ_IDECL(pj_size_t) pj_pool_get_used_size( pj_pool_t *pool ); - -/** - * Allocate storage with the specified size from the pool. - * If there's no storage available in the pool, then the pool can allocate more - * blocks if the increment size is larger than the requested size. - * - * @param pool the pool. - * @param size the requested size. - * - * @return pointer to the allocated memory. - * - * @see PJ_POOL_ALLOC_T - */ -PJ_IDECL(void*) pj_pool_alloc( pj_pool_t *pool, pj_size_t size); - -/** - * Allocate storage from the pool, and initialize it to zero. - * This function behaves like pj_pool_alloc(), except that the storage will - * be initialized to zero. - * - * @param pool the pool. - * @param count the number of elements in the array. - * @param elem the size of individual element. - * - * @return pointer to the allocated memory. - */ -PJ_IDECL(void*) pj_pool_calloc( pj_pool_t *pool, pj_size_t count, - pj_size_t elem); - - -/** - * Allocate storage from the pool and initialize it to zero. - * - * @param pool The pool. - * @param size The size to be allocated. - * - * @return Pointer to the allocated memory. - * - * @see PJ_POOL_ZALLOC_T - */ -PJ_INLINE(void*) pj_pool_zalloc(pj_pool_t *pool, pj_size_t size) -{ - return pj_pool_calloc(pool, 1, size); -} - - -/** - * This macro allocates memory from the pool and returns the instance of - * the specified type. It provides a stricker type safety than pj_pool_alloc() - * since the return value of this macro will be type-casted to the specified - * type. - * - * @param pool The pool - * @param type The type of object to be allocated - * - * @return Memory buffer of the specified type. - */ -#define PJ_POOL_ALLOC_T(pool,type) \ - ((type*)pj_pool_alloc(pool, sizeof(type))) - -/** - * This macro allocates memory from the pool, zeroes the buffer, and - * returns the instance of the specified type. It provides a stricker type - * safety than pj_pool_zalloc() since the return value of this macro will be - * type-casted to the specified type. - * - * @param pool The pool - * @param type The type of object to be allocated - * - * @return Memory buffer of the specified type. - */ -#define PJ_POOL_ZALLOC_T(pool,type) \ - ((type*)pj_pool_zalloc(pool, sizeof(type))) - -/* - * Internal functions - */ -PJ_IDECL(void*) pj_pool_alloc_from_block(pj_pool_block *block, pj_size_t size); -PJ_DECL(void*) pj_pool_allocate_find(pj_pool_t *pool, unsigned size); - - - -/** - * @} // PJ_POOL - */ - -/* **************************************************************************/ -/** - * @defgroup PJ_POOL_FACTORY Pool Factory and Policy - * @ingroup PJ_POOL_GROUP - * @brief - * A pool object must be created through a factory. A factory not only provides - * generic interface functions to create and release pool, but also provides - * strategy to manage the life time of pools. One sample implementation, - * \a pj_caching_pool, can be set to keep the pools released by application for - * future use as long as the total memory is below the limit. - * - * The pool factory interface declared in PJLIB is designed to be extensible. - * Application can define its own strategy by creating it's own pool factory - * implementation, and this strategy can be used even by existing library - * without recompilation. - * - * \section PJ_POOL_FACTORY_ITF Pool Factory Interface - * The pool factory defines the following interface: - * - \a policy: the memory pool factory policy. - * - \a create_pool(): create a new memory pool. - * - \a release_pool(): release memory pool back to factory. - * - * \section PJ_POOL_FACTORY_POL Pool Factory Policy. - * - * A pool factory only defines functions to create and release pool and how - * to manage pools, but the rest of the functionalities are controlled by - * policy. A pool policy defines: - * - how memory block is allocated and deallocated (the default implementation - * allocates and deallocate memory by calling malloc() and free()). - * - callback to be called when memory allocation inside a pool fails (the - * default implementation will throw PJ_NO_MEMORY_EXCEPTION exception). - * - concurrency when creating and releasing pool from/to the factory. - * - * A pool factory can be given different policy during creation to make - * it behave differently. For example, caching pool factory can be configured - * to allocate and deallocate from a static/contiguous/preallocated memory - * instead of using malloc()/free(). - * - * What strategy/factory and what policy to use is not defined by PJLIB, but - * instead is left to application to make use whichever is most efficient for - * itself. - * - * The pool factory policy controls the behaviour of memory factories, and - * defines the following interface: - * - \a block_alloc(): allocate memory block from backend memory mgmt/system. - * - \a block_free(): free memory block back to backend memory mgmt/system. - * @{ - */ - -/* We unfortunately don't have support for factory policy options as now, - so we keep this commented at the moment. -enum PJ_POOL_FACTORY_OPTION -{ - PJ_POOL_FACTORY_SERIALIZE = 1 -}; -*/ - -/** - * This structure declares pool factory interface. - */ -typedef struct pj_pool_factory_policy -{ - /** - * Allocate memory block (for use by pool). This function is called - * by memory pool to allocate memory block. - * - * @param factory Pool factory. - * @param size The size of memory block to allocate. - * - * @return Memory block. - */ - void* (*block_alloc)(pj_pool_factory *factory, pj_size_t size); - - /** - * Free memory block. - * - * @param factory Pool factory. - * @param mem Memory block previously allocated by block_alloc(). - * @param size The size of memory block. - */ - void (*block_free)(pj_pool_factory *factory, void *mem, pj_size_t size); - - /** - * Default callback to be called when memory allocation fails. - */ - pj_pool_callback *callback; - - /** - * Option flags. - */ - unsigned flags; - -} pj_pool_factory_policy; - -/** - * \def PJ_NO_MEMORY_EXCEPTION - * This constant denotes the exception number that will be thrown by default - * memory factory policy when memory allocation fails. - * - * @see pj_NO_MEMORY_EXCEPTION() - */ -PJ_DECL_DATA(int) PJ_NO_MEMORY_EXCEPTION; - -/** - * Get #PJ_NO_MEMORY_EXCEPTION constant. - */ -PJ_DECL(int) pj_NO_MEMORY_EXCEPTION(void); - -/** - * This global variable points to default memory pool factory policy. - * The behaviour of the default policy is: - * - block allocation and deallocation use malloc() and free(). - * - callback will raise PJ_NO_MEMORY_EXCEPTION exception. - * - access to pool factory is not serialized (i.e. not thread safe). - * - * @see pj_pool_factory_get_default_policy - */ -PJ_DECL_DATA(pj_pool_factory_policy) pj_pool_factory_default_policy; - - -/** - * Get the default pool factory policy. - * - * @return the pool policy. - */ -PJ_DECL(const pj_pool_factory_policy*) pj_pool_factory_get_default_policy(void); - - -/** - * This structure contains the declaration for pool factory interface. - */ -struct pj_pool_factory -{ - /** - * Memory pool policy. - */ - pj_pool_factory_policy policy; - - /** - * Create a new pool from the pool factory. - * - * @param factory The pool factory. - * @param name the name to be assigned to the pool. The name should - * not be longer than PJ_MAX_OBJ_NAME (32 chars), or - * otherwise it will be truncated. - * @param initial_size the size of initial memory blocks taken by the pool. - * Note that the pool will take 68+20 bytes for - * administrative area from this block. - * @param increment_size the size of each additional blocks to be allocated - * when the pool is running out of memory. If user - * requests memory which is larger than this size, then - * an error occurs. - * Note that each time a pool allocates additional block, - * it needs 20 bytes (equal to sizeof(pj_pool_block)) to - * store some administrative info. - * @param callback Cllback to be called when error occurs in the pool. - * Note that when an error occurs during pool creation, - * the callback itself is not called. Instead, NULL - * will be returned. - * - * @return the memory pool, or NULL. - */ - pj_pool_t* (*create_pool)( pj_pool_factory *factory, - const char *name, - pj_size_t initial_size, - pj_size_t increment_size, - pj_pool_callback *callback); - - /** - * Release the pool to the pool factory. - * - * @param factory The pool factory. - * @param pool The pool to be released. - */ - void (*release_pool)( pj_pool_factory *factory, pj_pool_t *pool ); - - /** - * Dump pool status to log. - * - * @param factory The pool factory. - */ - void (*dump_status)( pj_pool_factory *factory, pj_bool_t detail ); - - /** - * This is optional callback to be called by allocation policy when - * it allocates a new memory block. The factory may use this callback - * for example to keep track of the total number of memory blocks - * currently allocated by applications. - * - * @param factory The pool factory. - * @param size Size requested by application. - * - * @return MUST return PJ_TRUE, otherwise the block - * allocation is cancelled. - */ - pj_bool_t (*on_block_alloc)(pj_pool_factory *factory, pj_size_t size); - - /** - * This is optional callback to be called by allocation policy when - * it frees memory block. The factory may use this callback - * for example to keep track of the total number of memory blocks - * currently allocated by applications. - * - * @param factory The pool factory. - * @param size Size freed. - */ - void (*on_block_free)(pj_pool_factory *factory, pj_size_t size); - -}; - -/** - * This function is intended to be used by pool factory implementors. - * @param factory Pool factory. - * @param name Pool name. - * @param initial_size Initial size. - * @param increment_size Increment size. - * @param callback Callback. - * @return The pool object, or NULL. - */ -PJ_DECL(pj_pool_t*) pj_pool_create_int( pj_pool_factory *factory, - const char *name, - pj_size_t initial_size, - pj_size_t increment_size, - pj_pool_callback *callback); - -/** - * This function is intended to be used by pool factory implementors. - * @param pool The pool. - * @param name Pool name. - * @param increment_size Increment size. - * @param callback Callback function. - */ -PJ_DECL(void) pj_pool_init_int( pj_pool_t *pool, - const char *name, - pj_size_t increment_size, - pj_pool_callback *callback); - -/** - * This function is intended to be used by pool factory implementors. - * @param pool The memory pool. - */ -PJ_DECL(void) pj_pool_destroy_int( pj_pool_t *pool ); - - -/** - * Dump pool factory state. - * @param pf The pool factory. - * @param detail Detail state required. - */ -PJ_INLINE(void) pj_pool_factory_dump( pj_pool_factory *pf, - pj_bool_t detail ) -{ - (*pf->dump_status)(pf, detail); -} - -/** - * @} // PJ_POOL_FACTORY - */ - -/* **************************************************************************/ - -/** - * @defgroup PJ_CACHING_POOL Caching Pool Factory - * @ingroup PJ_POOL_GROUP - * @brief - * Caching pool is one sample implementation of pool factory where the - * factory can reuse memory to create a pool. Application defines what the - * maximum memory the factory can hold, and when a pool is released the - * factory decides whether to destroy the pool or to keep it for future use. - * If the total amount of memory in the internal cache is still within the - * limit, the factory will keep the pool in the internal cache, otherwise the - * pool will be destroyed, thus releasing the memory back to the system. - * - * @{ - */ - -/** - * Number of unique sizes, to be used as index to the free list. - * Each pool in the free list is organized by it's size. - */ -#define PJ_CACHING_POOL_ARRAY_SIZE 16 - -/** - * Declaration for caching pool. Application doesn't normally need to - * care about the contents of this struct, it is only provided here because - * application need to define an instance of this struct (we can not allocate - * the struct from a pool since there is no pool factory yet!). - */ -struct pj_caching_pool -{ - /** Pool factory interface, must be declared first. */ - pj_pool_factory factory; - - /** Current factory's capacity, i.e. number of bytes that are allocated - * and available for application in this factory. The factory's - * capacity represents the size of all pools kept by this factory - * in it's free list, which will be returned to application when it - * requests to create a new pool. - */ - pj_size_t capacity; - - /** Maximum size that can be held by this factory. Once the capacity - * has exceeded @a max_capacity, further #pj_pool_release() will - * flush the pool. If the capacity is still below the @a max_capacity, - * #pj_pool_release() will save the pool to the factory's free list. - */ - pj_size_t max_capacity; - - /** - * Number of pools currently held by applications. This number gets - * incremented everytime #pj_pool_create() is called, and gets - * decremented when #pj_pool_release() is called. - */ - pj_size_t used_count; - - /** - * Total size of memory currently used by application. - */ - pj_size_t used_size; - - /** - * The maximum size of memory used by application throughout the life - * of the caching pool. - */ - pj_size_t peak_used_size; - - /** - * Lists of pools in the cache, indexed by pool size. - */ - pj_list free_list[PJ_CACHING_POOL_ARRAY_SIZE]; - - /** - * List of pools currently allocated by applications. - */ - pj_list used_list; - - /** - * Internal pool. - */ - char pool_buf[256 * (sizeof(long) / 4)]; - - /** - * Mutex. - */ - pj_lock_t *lock; -}; - - - -/** - * Initialize caching pool. - * - * @param ch_pool The caching pool factory to be initialized. - * @param policy Pool factory policy. - * @param max_capacity The total capacity to be retained in the cache. When - * the pool is returned to the cache, it will be kept in - * recycling list if the total capacity of pools in this - * list plus the capacity of the pool is still below this - * value. - */ -PJ_DECL(void) pj_caching_pool_init( pj_caching_pool *ch_pool, - const pj_pool_factory_policy *policy, - pj_size_t max_capacity); - - -/** - * Destroy caching pool, and release all the pools in the recycling list. - * - * @param ch_pool The caching pool. - */ -PJ_DECL(void) pj_caching_pool_destroy( pj_caching_pool *ch_pool ); - -/** - * @} // PJ_CACHING_POOL - */ - -# if PJ_FUNCTIONS_ARE_INLINED -# include "pool_i.h" -# endif - -PJ_END_DECL - -#endif /* __PJ_POOL_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/pool_alt.h b/res/pjproject/pjlib/include/pj/pool_alt.h deleted file mode 100644 index 6b9b9df7b2..0000000000 --- a/res/pjproject/pjlib/include/pj/pool_alt.h +++ /dev/null @@ -1,198 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_POOL_ALT_H__ -#define __PJ_POOL_ALT_H__ - -#define __PJ_POOL_H__ - - -/** - * The type for function to receive callback from the pool when it is unable - * to allocate memory. The elegant way to handle this condition is to throw - * exception, and this is what is expected by most of this library - * components. - */ -typedef void pj_pool_callback(pj_pool_t *pool, pj_size_t size); - -struct pj_pool_mem -{ - struct pj_pool_mem *next; - - /* data follows immediately */ -}; - - -struct pj_pool_t -{ - struct pj_pool_mem *first_mem; - pj_pool_factory *factory; - char obj_name[32]; - pj_size_t used_size; - pj_pool_callback *cb; -}; - - -#define PJ_POOL_SIZE (sizeof(struct pj_pool_t)) - -/** - * This constant denotes the exception number that will be thrown by default - * memory factory policy when memory allocation fails. - */ -extern int PJ_NO_MEMORY_EXCEPTION; - - - -/* - * Declare all pool API as macro that calls the implementation - * function. - */ -#define pj_pool_create(fc,nm,init,inc,cb) \ - pj_pool_create_imp(__FILE__, __LINE__, fc, nm, init, inc, cb) - -#define pj_pool_release(pool) pj_pool_release_imp(pool) -#define pj_pool_getobjname(pool) pj_pool_getobjname_imp(pool) -#define pj_pool_reset(pool) pj_pool_reset_imp(pool) -#define pj_pool_get_capacity(pool) pj_pool_get_capacity_imp(pool) -#define pj_pool_get_used_size(pool) pj_pool_get_used_size_imp(pool) -#define pj_pool_alloc(pool,sz) \ - pj_pool_alloc_imp(__FILE__, __LINE__, pool, sz) - -#define pj_pool_calloc(pool,cnt,elem) \ - pj_pool_calloc_imp(__FILE__, __LINE__, pool, cnt, elem) - -#define pj_pool_zalloc(pool,sz) \ - pj_pool_zalloc_imp(__FILE__, __LINE__, pool, sz) - - - -/* - * Declare prototypes for pool implementation API. - */ - -/* Create pool */ -PJ_DECL(pj_pool_t*) pj_pool_create_imp(const char *file, int line, - void *factory, - const char *name, - pj_size_t initial_size, - pj_size_t increment_size, - pj_pool_callback *callback); - -/* Release pool */ -PJ_DECL(void) pj_pool_release_imp(pj_pool_t *pool); - -/* Get pool name */ -PJ_DECL(const char*) pj_pool_getobjname_imp(pj_pool_t *pool); - -/* Reset pool */ -PJ_DECL(void) pj_pool_reset_imp(pj_pool_t *pool); - -/* Get capacity */ -PJ_DECL(pj_size_t) pj_pool_get_capacity_imp(pj_pool_t *pool); - -/* Get total used size */ -PJ_DECL(pj_size_t) pj_pool_get_used_size_imp(pj_pool_t *pool); - -/* Allocate memory from the pool */ -PJ_DECL(void*) pj_pool_alloc_imp(const char *file, int line, - pj_pool_t *pool, pj_size_t sz); - -/* Allocate memory from the pool and zero the memory */ -PJ_DECL(void*) pj_pool_calloc_imp(const char *file, int line, - pj_pool_t *pool, unsigned cnt, - unsigned elemsz); - -/* Allocate memory from the pool and zero the memory */ -PJ_DECL(void*) pj_pool_zalloc_imp(const char *file, int line, - pj_pool_t *pool, pj_size_t sz); - - -#define PJ_POOL_ZALLOC_T(pool,type) \ - ((type*)pj_pool_zalloc(pool, sizeof(type))) -#define PJ_POOL_ALLOC_T(pool,type) \ - ((type*)pj_pool_alloc(pool, sizeof(type))) -#ifndef PJ_POOL_ALIGNMENT -# define PJ_POOL_ALIGNMENT 4 -#endif - -/** - * This structure declares pool factory interface. - */ -typedef struct pj_pool_factory_policy -{ - /** - * Allocate memory block (for use by pool). This function is called - * by memory pool to allocate memory block. - * - * @param factory Pool factory. - * @param size The size of memory block to allocate. - * - * @return Memory block. - */ - void* (*block_alloc)(pj_pool_factory *factory, pj_size_t size); - - /** - * Free memory block. - * - * @param factory Pool factory. - * @param mem Memory block previously allocated by block_alloc(). - * @param size The size of memory block. - */ - void (*block_free)(pj_pool_factory *factory, void *mem, pj_size_t size); - - /** - * Default callback to be called when memory allocation fails. - */ - pj_pool_callback *callback; - - /** - * Option flags. - */ - unsigned flags; - -} pj_pool_factory_policy; - -struct pj_pool_factory -{ - pj_pool_factory_policy policy; - int dummy; -}; - -struct pj_caching_pool -{ - pj_pool_factory factory; - - /* just to make it compilable */ - unsigned used_count; - unsigned used_size; - unsigned peak_used_size; -}; - -/* just to make it compilable */ -typedef struct pj_pool_block -{ - int dummy; -} pj_pool_block; - -#define pj_caching_pool_init( cp, pol, mac) -#define pj_caching_pool_destroy(cp) -#define pj_pool_factory_dump(pf, detail) - -#endif /* __PJ_POOL_ALT_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/pool_buf.h b/res/pjproject/pjlib/include/pj/pool_buf.h deleted file mode 100644 index b7cf180eb7..0000000000 --- a/res/pjproject/pjlib/include/pj/pool_buf.h +++ /dev/null @@ -1,105 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __POOL_STACK_H__ -#define __POOL_STACK_H__ - -#include - -/** - * @defgroup PJ_POOL_BUFFER Stack/Buffer Based Memory Pool Allocator - * @ingroup PJ_POOL_GROUP - * @brief Stack/buffer based pool. - * - * This section describes an implementation of memory pool which uses - * memory allocated from the stack. Application creates this pool - * by specifying a buffer (which can be allocated from static memory or - * stack variable), and then use normal pool API to access/use the pool. - * - * If the buffer specified during pool creation is a buffer located in the - * stack, the pool will be invalidated (or implicitly destroyed) when the - * execution leaves the enclosing block containing the buffer. Note - * that application must make sure that any objects allocated from this - * pool (such as mutexes) have been destroyed before the pool gets - * invalidated. - * - * Sample usage: - * - * \code - #include - - static void test() - { - char buffer[500]; - pj_pool_t *pool; - void *p; - - pool = pj_pool_create_on_buf("thepool", buffer, sizeof(buffer)); - - // Use the pool as usual - p = pj_pool_alloc(pool, ...); - ... - - // No need to release the pool - } - - int main() - { - pj_init(); - test(); - return 0; - } - - \endcode - * - * @{ - */ - -PJ_BEGIN_DECL - -/** - * Create the pool using the specified buffer as the pool's memory. - * Subsequent allocations made from the pool will use the memory from - * this buffer. - * - * If the buffer specified in the parameter is a buffer located in the - * stack, the pool will be invalid (or implicitly destroyed) when the - * execution leaves the enclosing block containing the buffer. Note - * that application must make sure that any objects allocated from this - * pool (such as mutexes) have been destroyed before the pool gets - * invalidated. - * - * @param name Optional pool name. - * @param buf Buffer to be used by the pool. - * @param size The size of the buffer. - * - * @return The memory pool instance. - */ -PJ_DECL(pj_pool_t*) pj_pool_create_on_buf(const char *name, - void *buf, - pj_size_t size); - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __POOL_STACK_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/pool_i.h b/res/pjproject/pjlib/include/pj/pool_i.h deleted file mode 100644 index 5462196982..0000000000 --- a/res/pjproject/pjlib/include/pj/pool_i.h +++ /dev/null @@ -1,94 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - - -#include - - -PJ_IDEF(pj_size_t) pj_pool_get_capacity( pj_pool_t *pool ) -{ - return pool->capacity; -} - -PJ_IDEF(pj_size_t) pj_pool_get_used_size( pj_pool_t *pool ) -{ - pj_pool_block *b = pool->block_list.next; - pj_size_t used_size = sizeof(pj_pool_t); - while (b != &pool->block_list) { - used_size += (b->cur - b->buf) + sizeof(pj_pool_block); - b = b->next; - } - return used_size; -} - -PJ_IDEF(void*) pj_pool_alloc_from_block( pj_pool_block *block, pj_size_t size ) -{ - /* The operation below is valid for size==0. - * When size==0, the function will return the pointer to the pool - * memory address, but no memory will be allocated. - */ - if (size & (PJ_POOL_ALIGNMENT-1)) { - size = (size + PJ_POOL_ALIGNMENT) & ~(PJ_POOL_ALIGNMENT-1); - } - if ((unsigned)(block->end - block->cur) >= size) { - void *ptr = block->cur; - block->cur += size; - return ptr; - } - return NULL; -} - -PJ_IDEF(void*) pj_pool_alloc( pj_pool_t *pool, pj_size_t size) -{ - void *ptr = pj_pool_alloc_from_block(pool->block_list.next, size); - if (!ptr) - ptr = pj_pool_allocate_find(pool, size); - return ptr; -} - - -PJ_IDEF(void*) pj_pool_calloc( pj_pool_t *pool, pj_size_t count, pj_size_t size) -{ - void *buf = pj_pool_alloc( pool, size*count); - if (buf) - pj_bzero(buf, size * count); - return buf; -} - -PJ_IDEF(const char *) pj_pool_getobjname( const pj_pool_t *pool ) -{ - return pool->obj_name; -} - -PJ_IDEF(pj_pool_t*) pj_pool_create( pj_pool_factory *f, - const char *name, - pj_size_t initial_size, - pj_size_t increment_size, - pj_pool_callback *callback) -{ - return (*f->create_pool)(f, name, initial_size, increment_size, callback); -} - -PJ_IDEF(void) pj_pool_release( pj_pool_t *pool ) -{ - if (pool->factory->release_pool) - (*pool->factory->release_pool)(pool->factory, pool); -} - diff --git a/res/pjproject/pjlib/include/pj/rand.h b/res/pjproject/pjlib/include/pj/rand.h deleted file mode 100644 index 1a69183f10..0000000000 --- a/res/pjproject/pjlib/include/pj/rand.h +++ /dev/null @@ -1,66 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_RAND_H__ -#define __PJ_RAND_H__ - -/** - * @file rand.h - * @brief Random Number Generator. - */ - -#include - -PJ_BEGIN_DECL - - -/** - * @defgroup PJ_RAND Random Number Generator - * @ingroup PJ_MISC - * @{ - * This module contains functions for generating random numbers. - * This abstraction is needed not only because not all platforms have - * \a rand() and \a srand(), but also on some platforms \a rand() - * only has 16-bit randomness, which is not good enough. - */ - -/** - * Put in seed to random number generator. - * - * @param seed Seed value. - */ -PJ_DECL(void) pj_srand(unsigned int seed); - - -/** - * Generate random integer with 32bit randomness. - * - * @return a random integer. - */ -PJ_DECL(int) pj_rand(void); - - -/** @} */ - - -PJ_END_DECL - - -#endif /* __PJ_RAND_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/rbtree.h b/res/pjproject/pjlib/include/pj/rbtree.h deleted file mode 100644 index 7bc87426f2..0000000000 --- a/res/pjproject/pjlib/include/pj/rbtree.h +++ /dev/null @@ -1,210 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_RBTREE_H__ -#define __PJ_RBTREE_H__ - -/** - * @file rbtree.h - * @brief Red/Black Tree - */ - -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_RBTREE Red/Black Balanced Tree - * @ingroup PJ_DS - * @brief - * Red/Black tree is the variant of balanced tree, where the search, insert, - * and delete operation is \b guaranteed to take at most \a O( lg(n) ). - * @{ - */ -/** - * Color type for Red-Black tree. - */ -typedef enum pj_rbcolor_t -{ - PJ_RBCOLOR_BLACK, - PJ_RBCOLOR_RED -} pj_rbcolor_t; - -/** - * The type of the node of the R/B Tree. - */ -typedef struct pj_rbtree_node -{ - /** Pointers to the node's parent, and left and right siblings. */ - struct pj_rbtree_node *parent, *left, *right; - - /** Key associated with the node. */ - const void *key; - - /** User data associated with the node. */ - void *user_data; - - /** The R/B Tree node color. */ - pj_rbcolor_t color; - -} pj_rbtree_node; - - -/** - * The type of function use to compare key value of tree node. - * @return - * 0 if the keys are equal - * <0 if key1 is lower than key2 - * >0 if key1 is greater than key2. - */ -typedef int pj_rbtree_comp(const void *key1, const void *key2); - - -/** - * Declaration of a red-black tree. All elements in the tree must have UNIQUE - * key. - * A red black tree always maintains the balance of the tree, so that the - * tree height will not be greater than lg(N). Insert, search, and delete - * operation will take lg(N) on the worst case. But for insert and delete, - * there is additional time needed to maintain the balance of the tree. - */ -typedef struct pj_rbtree -{ - pj_rbtree_node null_node; /**< Constant to indicate NULL node. */ - pj_rbtree_node *null; /**< Constant to indicate NULL node. */ - pj_rbtree_node *root; /**< Root tree node. */ - unsigned size; /**< Number of elements in the tree. */ - pj_rbtree_comp *comp; /**< Key comparison function. */ -} pj_rbtree; - - -/** - * Guidance on how much memory required for each of the node. - */ -#define PJ_RBTREE_NODE_SIZE (sizeof(pj_rbtree_node)) - - -/** - * Guidance on memory required for the tree. - */ -#define PJ_RBTREE_SIZE (sizeof(pj_rbtree)) - - -/** - * Initialize the tree. - * @param tree the tree to be initialized. - * @param comp key comparison function to be used for this tree. - */ -PJ_DECL(void) pj_rbtree_init( pj_rbtree *tree, pj_rbtree_comp *comp); - -/** - * Get the first element in the tree. - * The first element always has the least value for the key, according to - * the comparison function. - * @param tree the tree. - * @return the tree node, or NULL if the tree has no element. - */ -PJ_DECL(pj_rbtree_node*) pj_rbtree_first( pj_rbtree *tree ); - -/** - * Get the last element in the tree. - * The last element always has the greatest key value, according to the - * comparison function defined for the tree. - * @param tree the tree. - * @return the tree node, or NULL if the tree has no element. - */ -PJ_DECL(pj_rbtree_node*) pj_rbtree_last( pj_rbtree *tree ); - -/** - * Get the successive element for the specified node. - * The successive element is an element with greater key value. - * @param tree the tree. - * @param node the node. - * @return the successive node, or NULL if the node has no successor. - */ -PJ_DECL(pj_rbtree_node*) pj_rbtree_next( pj_rbtree *tree, - pj_rbtree_node *node ); - -/** - * The the previous node for the specified node. - * The previous node is an element with less key value. - * @param tree the tree. - * @param node the node. - * @return the previous node, or NULL if the node has no previous node. - */ -PJ_DECL(pj_rbtree_node*) pj_rbtree_prev( pj_rbtree *tree, - pj_rbtree_node *node ); - -/** - * Insert a new node. - * The node will be inserted at sorted location. The key of the node must - * be UNIQUE, i.e. it hasn't existed in the tree. - * @param tree the tree. - * @param node the node to be inserted. - * @return zero on success, or -1 if the key already exist. - */ -PJ_DECL(int) pj_rbtree_insert( pj_rbtree *tree, - pj_rbtree_node *node ); - -/** - * Find a node which has the specified key. - * @param tree the tree. - * @param key the key to search. - * @return the tree node with the specified key, or NULL if the key can not - * be found. - */ -PJ_DECL(pj_rbtree_node*) pj_rbtree_find( pj_rbtree *tree, - const void *key ); - -/** - * Erase a node from the tree. - * @param tree the tree. - * @param node the node to be erased. - * @return the tree node itself. - */ -PJ_DECL(pj_rbtree_node*) pj_rbtree_erase( pj_rbtree *tree, - pj_rbtree_node *node ); - -/** - * Get the maximum tree height from the specified node. - * @param tree the tree. - * @param node the node, or NULL to get the root of the tree. - * @return the maximum height, which should be at most lg(N) - */ -PJ_DECL(unsigned) pj_rbtree_max_height( pj_rbtree *tree, - pj_rbtree_node *node ); - -/** - * Get the minumum tree height from the specified node. - * @param tree the tree. - * @param node the node, or NULL to get the root of the tree. - * @return the height - */ -PJ_DECL(unsigned) pj_rbtree_min_height( pj_rbtree *tree, - pj_rbtree_node *node ); - - -/** - * @} - */ - -PJ_END_DECL - -#endif /* __PJ_RBTREE_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/sock.h b/res/pjproject/pjlib/include/pj/sock.h deleted file mode 100644 index 0f8850d3b7..0000000000 --- a/res/pjproject/pjlib/include/pj/sock.h +++ /dev/null @@ -1,1399 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_SOCK_H__ -#define __PJ_SOCK_H__ - -/** - * @file sock.h - * @brief Socket Abstraction. - */ - -#include - -PJ_BEGIN_DECL - - -/** - * @defgroup PJ_SOCK Socket Abstraction - * @ingroup PJ_IO - * @{ - * - * The PJLIB socket abstraction layer is a thin and very portable abstraction - * for socket API. It provides API similar to BSD socket API. The abstraction - * is needed because BSD socket API is not always available on all platforms, - * therefore it wouldn't be possible to create a trully portable network - * programs unless we provide such abstraction. - * - * Applications can use this API directly in their application, just - * as they would when using traditional BSD socket API, provided they - * call #pj_init() first. - * - * \section pj_sock_examples_sec Examples - * - * For some examples on how to use the socket API, please see: - * - * - \ref page_pjlib_sock_test - * - \ref page_pjlib_select_test - * - \ref page_pjlib_sock_perf_test - */ - - -/** - * Supported address families. - * APPLICATION MUST USE THESE VALUES INSTEAD OF NORMAL AF_*, BECAUSE - * THE LIBRARY WILL DO TRANSLATION TO THE NATIVE VALUE. - */ - -/** Address family is unspecified. @see pj_AF_UNSPEC() */ -extern const pj_uint16_t PJ_AF_UNSPEC; - -/** Unix domain socket. @see pj_AF_UNIX() */ -extern const pj_uint16_t PJ_AF_UNIX; - -/** POSIX name for AF_UNIX */ -#define PJ_AF_LOCAL PJ_AF_UNIX; - -/** Internet IP protocol. @see pj_AF_INET() */ -extern const pj_uint16_t PJ_AF_INET; - -/** IP version 6. @see pj_AF_INET6() */ -extern const pj_uint16_t PJ_AF_INET6; - -/** Packet family. @see pj_AF_PACKET() */ -extern const pj_uint16_t PJ_AF_PACKET; - -/** IRDA sockets. @see pj_AF_IRDA() */ -extern const pj_uint16_t PJ_AF_IRDA; - -/* - * Accessor functions for various address family constants. These - * functions are provided because Symbian doesn't allow exporting - * global variables from a DLL. - */ - -#if defined(PJ_DLL) - /** Get #PJ_AF_UNSPEC value */ - PJ_DECL(pj_uint16_t) pj_AF_UNSPEC(void); - /** Get #PJ_AF_UNIX value. */ - PJ_DECL(pj_uint16_t) pj_AF_UNIX(void); - /** Get #PJ_AF_INET value. */ - PJ_DECL(pj_uint16_t) pj_AF_INET(void); - /** Get #PJ_AF_INET6 value. */ - PJ_DECL(pj_uint16_t) pj_AF_INET6(void); - /** Get #PJ_AF_PACKET value. */ - PJ_DECL(pj_uint16_t) pj_AF_PACKET(void); - /** Get #PJ_AF_IRDA value. */ - PJ_DECL(pj_uint16_t) pj_AF_IRDA(void); -#else - /* When pjlib is not built as DLL, these accessor functions are - * simply a macro to get their constants - */ - /** Get #PJ_AF_UNSPEC value */ -# define pj_AF_UNSPEC() PJ_AF_UNSPEC - /** Get #PJ_AF_UNIX value. */ -# define pj_AF_UNIX() PJ_AF_UNIX - /** Get #PJ_AF_INET value. */ -# define pj_AF_INET() PJ_AF_INET - /** Get #PJ_AF_INET6 value. */ -# define pj_AF_INET6() PJ_AF_INET6 - /** Get #PJ_AF_PACKET value. */ -# define pj_AF_PACKET() PJ_AF_PACKET - /** Get #PJ_AF_IRDA value. */ -# define pj_AF_IRDA() PJ_AF_IRDA -#endif - - -/** - * Supported types of sockets. - * APPLICATION MUST USE THESE VALUES INSTEAD OF NORMAL SOCK_*, BECAUSE - * THE LIBRARY WILL TRANSLATE THE VALUE TO THE NATIVE VALUE. - */ - -/** Sequenced, reliable, connection-based byte streams. - * @see pj_SOCK_STREAM() */ -extern const pj_uint16_t PJ_SOCK_STREAM; - -/** Connectionless, unreliable datagrams of fixed maximum lengths. - * @see pj_SOCK_DGRAM() */ -extern const pj_uint16_t PJ_SOCK_DGRAM; - -/** Raw protocol interface. @see pj_SOCK_RAW() */ -extern const pj_uint16_t PJ_SOCK_RAW; - -/** Reliably-delivered messages. @see pj_SOCK_RDM() */ -extern const pj_uint16_t PJ_SOCK_RDM; - - -/* - * Accessor functions for various constants. These functions are provided - * because Symbian doesn't allow exporting global variables from a DLL. - */ - -#if defined(PJ_DLL) - /** Get #PJ_SOCK_STREAM constant */ - PJ_DECL(int) pj_SOCK_STREAM(void); - /** Get #PJ_SOCK_DGRAM constant */ - PJ_DECL(int) pj_SOCK_DGRAM(void); - /** Get #PJ_SOCK_RAW constant */ - PJ_DECL(int) pj_SOCK_RAW(void); - /** Get #PJ_SOCK_RDM constant */ - PJ_DECL(int) pj_SOCK_RDM(void); -#else - /** Get #PJ_SOCK_STREAM constant */ -# define pj_SOCK_STREAM() PJ_SOCK_STREAM - /** Get #PJ_SOCK_DGRAM constant */ -# define pj_SOCK_DGRAM() PJ_SOCK_DGRAM - /** Get #PJ_SOCK_RAW constant */ -# define pj_SOCK_RAW() PJ_SOCK_RAW - /** Get #PJ_SOCK_RDM constant */ -# define pj_SOCK_RDM() PJ_SOCK_RDM -#endif - - -/** - * Socket level specified in #pj_sock_setsockopt() or #pj_sock_getsockopt(). - * APPLICATION MUST USE THESE VALUES INSTEAD OF NORMAL SOL_*, BECAUSE - * THE LIBRARY WILL TRANSLATE THE VALUE TO THE NATIVE VALUE. - */ -/** Socket level. @see pj_SOL_SOCKET() */ -extern const pj_uint16_t PJ_SOL_SOCKET; -/** IP level. @see pj_SOL_IP() */ -extern const pj_uint16_t PJ_SOL_IP; -/** TCP level. @see pj_SOL_TCP() */ -extern const pj_uint16_t PJ_SOL_TCP; -/** UDP level. @see pj_SOL_UDP() */ -extern const pj_uint16_t PJ_SOL_UDP; -/** IP version 6. @see pj_SOL_IPV6() */ -extern const pj_uint16_t PJ_SOL_IPV6; - -/* - * Accessor functions for various constants. These functions are provided - * because Symbian doesn't allow exporting global variables from a DLL. - */ - -#if defined(PJ_DLL) - /** Get #PJ_SOL_SOCKET constant */ - PJ_DECL(pj_uint16_t) pj_SOL_SOCKET(void); - /** Get #PJ_SOL_IP constant */ - PJ_DECL(pj_uint16_t) pj_SOL_IP(void); - /** Get #PJ_SOL_TCP constant */ - PJ_DECL(pj_uint16_t) pj_SOL_TCP(void); - /** Get #PJ_SOL_UDP constant */ - PJ_DECL(pj_uint16_t) pj_SOL_UDP(void); - /** Get #PJ_SOL_IPV6 constant */ - PJ_DECL(pj_uint16_t) pj_SOL_IPV6(void); -#else - /** Get #PJ_SOL_SOCKET constant */ -# define pj_SOL_SOCKET() PJ_SOL_SOCKET - /** Get #PJ_SOL_IP constant */ -# define pj_SOL_IP() PJ_SOL_IP - /** Get #PJ_SOL_TCP constant */ -# define pj_SOL_TCP() PJ_SOL_TCP - /** Get #PJ_SOL_UDP constant */ -# define pj_SOL_UDP() PJ_SOL_UDP - /** Get #PJ_SOL_IPV6 constant */ -# define pj_SOL_IPV6() PJ_SOL_IPV6 -#endif - - -/* IP_TOS - * - * Note: - * TOS CURRENTLY DOES NOT WORK IN Windows 2000 and above! - * See http://support.microsoft.com/kb/248611 - */ -/** IP_TOS optname in setsockopt(). @see pj_IP_TOS() */ -extern const pj_uint16_t PJ_IP_TOS; - -/* - * IP TOS related constats. - * - * Note: - * TOS CURRENTLY DOES NOT WORK IN Windows 2000 and above! - * See http://support.microsoft.com/kb/248611 - */ -/** Minimize delays. @see pj_IPTOS_LOWDELAY() */ -extern const pj_uint16_t PJ_IPTOS_LOWDELAY; - -/** Optimize throughput. @see pj_IPTOS_THROUGHPUT() */ -extern const pj_uint16_t PJ_IPTOS_THROUGHPUT; - -/** Optimize for reliability. @see pj_IPTOS_RELIABILITY() */ -extern const pj_uint16_t PJ_IPTOS_RELIABILITY; - -/** "filler data" where slow transmission does't matter. - * @see pj_IPTOS_MINCOST() */ -extern const pj_uint16_t PJ_IPTOS_MINCOST; - - -#if defined(PJ_DLL) - /** Get #PJ_IP_TOS constant */ - PJ_DECL(int) pj_IP_TOS(void); - - /** Get #PJ_IPTOS_LOWDELAY constant */ - PJ_DECL(int) pj_IPTOS_LOWDELAY(void); - - /** Get #PJ_IPTOS_THROUGHPUT constant */ - PJ_DECL(int) pj_IPTOS_THROUGHPUT(void); - - /** Get #PJ_IPTOS_RELIABILITY constant */ - PJ_DECL(int) pj_IPTOS_RELIABILITY(void); - - /** Get #PJ_IPTOS_MINCOST constant */ - PJ_DECL(int) pj_IPTOS_MINCOST(void); -#else - /** Get #PJ_IP_TOS constant */ -# define pj_IP_TOS() PJ_IP_TOS - - /** Get #PJ_IPTOS_LOWDELAY constant */ -# define pj_IPTOS_LOWDELAY() PJ_IP_TOS_LOWDELAY - - /** Get #PJ_IPTOS_THROUGHPUT constant */ -# define pj_IPTOS_THROUGHPUT() PJ_IP_TOS_THROUGHPUT - - /** Get #PJ_IPTOS_RELIABILITY constant */ -# define pj_IPTOS_RELIABILITY() PJ_IP_TOS_RELIABILITY - - /** Get #PJ_IPTOS_MINCOST constant */ -# define pj_IPTOS_MINCOST() PJ_IP_TOS_MINCOST -#endif - - -/** - * Values to be specified as \c optname when calling #pj_sock_setsockopt() - * or #pj_sock_getsockopt(). - */ - -/** Socket type. @see pj_SO_TYPE() */ -extern const pj_uint16_t PJ_SO_TYPE; - -/** Buffer size for receive. @see pj_SO_RCVBUF() */ -extern const pj_uint16_t PJ_SO_RCVBUF; - -/** Buffer size for send. @see pj_SO_SNDBUF() */ -extern const pj_uint16_t PJ_SO_SNDBUF; - -/** Disables the Nagle algorithm for send coalescing. @see pj_TCP_NODELAY */ -extern const pj_uint16_t PJ_TCP_NODELAY; - -/** Allows the socket to be bound to an address that is already in use. - * @see pj_SO_REUSEADDR */ -extern const pj_uint16_t PJ_SO_REUSEADDR; - -/** Do not generate SIGPIPE. @see pj_SO_NOSIGPIPE */ -extern const pj_uint16_t PJ_SO_NOSIGPIPE; - -/** Set the protocol-defined priority for all packets to be sent on socket. - */ -extern const pj_uint16_t PJ_SO_PRIORITY; - -/** IP multicast interface. @see pj_IP_MULTICAST_IF() */ -extern const pj_uint16_t PJ_IP_MULTICAST_IF; - -/** IP multicast ttl. @see pj_IP_MULTICAST_TTL() */ -extern const pj_uint16_t PJ_IP_MULTICAST_TTL; - -/** IP multicast loopback. @see pj_IP_MULTICAST_LOOP() */ -extern const pj_uint16_t PJ_IP_MULTICAST_LOOP; - -/** Add an IP group membership. @see pj_IP_ADD_MEMBERSHIP() */ -extern const pj_uint16_t PJ_IP_ADD_MEMBERSHIP; - -/** Drop an IP group membership. @see pj_IP_DROP_MEMBERSHIP() */ -extern const pj_uint16_t PJ_IP_DROP_MEMBERSHIP; - - -#if defined(PJ_DLL) - /** Get #PJ_SO_TYPE constant */ - PJ_DECL(pj_uint16_t) pj_SO_TYPE(void); - - /** Get #PJ_SO_RCVBUF constant */ - PJ_DECL(pj_uint16_t) pj_SO_RCVBUF(void); - - /** Get #PJ_SO_SNDBUF constant */ - PJ_DECL(pj_uint16_t) pj_SO_SNDBUF(void); - - /** Get #PJ_TCP_NODELAY constant */ - PJ_DECL(pj_uint16_t) pj_TCP_NODELAY(void); - - /** Get #PJ_SO_REUSEADDR constant */ - PJ_DECL(pj_uint16_t) pj_SO_REUSEADDR(void); - - /** Get #PJ_SO_NOSIGPIPE constant */ - PJ_DECL(pj_uint16_t) pj_SO_NOSIGPIPE(void); - - /** Get #PJ_SO_PRIORITY constant */ - PJ_DECL(pj_uint16_t) pj_SO_PRIORITY(void); - - /** Get #PJ_IP_MULTICAST_IF constant */ - PJ_DECL(pj_uint16_t) pj_IP_MULTICAST_IF(void); - - /** Get #PJ_IP_MULTICAST_TTL constant */ - PJ_DECL(pj_uint16_t) pj_IP_MULTICAST_TTL(void); - - /** Get #PJ_IP_MULTICAST_LOOP constant */ - PJ_DECL(pj_uint16_t) pj_IP_MULTICAST_LOOP(void); - - /** Get #PJ_IP_ADD_MEMBERSHIP constant */ - PJ_DECL(pj_uint16_t) pj_IP_ADD_MEMBERSHIP(void); - - /** Get #PJ_IP_DROP_MEMBERSHIP constant */ - PJ_DECL(pj_uint16_t) pj_IP_DROP_MEMBERSHIP(void); -#else - /** Get #PJ_SO_TYPE constant */ -# define pj_SO_TYPE() PJ_SO_TYPE - - /** Get #PJ_SO_RCVBUF constant */ -# define pj_SO_RCVBUF() PJ_SO_RCVBUF - - /** Get #PJ_SO_SNDBUF constant */ -# define pj_SO_SNDBUF() PJ_SO_SNDBUF - - /** Get #PJ_TCP_NODELAY constant */ -# define pj_TCP_NODELAY() PJ_TCP_NODELAY - - /** Get #PJ_SO_REUSEADDR constant */ -# define pj_SO_REUSEADDR() PJ_SO_REUSEADDR - - /** Get #PJ_SO_NOSIGPIPE constant */ -# define pj_SO_NOSIGPIPE() PJ_SO_NOSIGPIPE - - /** Get #PJ_SO_PRIORITY constant */ -# define pj_SO_PRIORITY() PJ_SO_PRIORITY - - /** Get #PJ_IP_MULTICAST_IF constant */ -# define pj_IP_MULTICAST_IF() PJ_IP_MULTICAST_IF - - /** Get #PJ_IP_MULTICAST_TTL constant */ -# define pj_IP_MULTICAST_TTL() PJ_IP_MULTICAST_TTL - - /** Get #PJ_IP_MULTICAST_LOOP constant */ -# define pj_IP_MULTICAST_LOOP() PJ_IP_MULTICAST_LOOP - - /** Get #PJ_IP_ADD_MEMBERSHIP constant */ -# define pj_IP_ADD_MEMBERSHIP() PJ_IP_ADD_MEMBERSHIP - - /** Get #PJ_IP_DROP_MEMBERSHIP constant */ -# define pj_IP_DROP_MEMBERSHIP() PJ_IP_DROP_MEMBERSHIP -#endif - - -/* - * Flags to be specified in #pj_sock_recv, #pj_sock_send, etc. - */ - -/** Out-of-band messages. @see pj_MSG_OOB() */ -extern const int PJ_MSG_OOB; - -/** Peek, don't remove from buffer. @see pj_MSG_PEEK() */ -extern const int PJ_MSG_PEEK; - -/** Don't route. @see pj_MSG_DONTROUTE() */ -extern const int PJ_MSG_DONTROUTE; - - -#if defined(PJ_DLL) - /** Get #PJ_MSG_OOB constant */ - PJ_DECL(int) pj_MSG_OOB(void); - - /** Get #PJ_MSG_PEEK constant */ - PJ_DECL(int) pj_MSG_PEEK(void); - - /** Get #PJ_MSG_DONTROUTE constant */ - PJ_DECL(int) pj_MSG_DONTROUTE(void); -#else - /** Get #PJ_MSG_OOB constant */ -# define pj_MSG_OOB() PJ_MSG_OOB - - /** Get #PJ_MSG_PEEK constant */ -# define pj_MSG_PEEK() PJ_MSG_PEEK - - /** Get #PJ_MSG_DONTROUTE constant */ -# define pj_MSG_DONTROUTE() PJ_MSG_DONTROUTE -#endif - - -/** - * Flag to be specified in #pj_sock_shutdown(). - */ -typedef enum pj_socket_sd_type -{ - PJ_SD_RECEIVE = 0, /**< No more receive. */ - PJ_SHUT_RD = 0, /**< Alias for SD_RECEIVE. */ - PJ_SD_SEND = 1, /**< No more sending. */ - PJ_SHUT_WR = 1, /**< Alias for SD_SEND. */ - PJ_SD_BOTH = 2, /**< No more send and receive. */ - PJ_SHUT_RDWR = 2 /**< Alias for SD_BOTH. */ -} pj_socket_sd_type; - - - -/** Address to accept any incoming messages. */ -#define PJ_INADDR_ANY ((pj_uint32_t)0) - -/** Address indicating an error return */ -#define PJ_INADDR_NONE ((pj_uint32_t)0xffffffff) - -/** Address to send to all hosts. */ -#define PJ_INADDR_BROADCAST ((pj_uint32_t)0xffffffff) - - -/** - * Maximum length specifiable by #pj_sock_listen(). - * If the build system doesn't override this value, then the lowest - * denominator (five, in Win32 systems) will be used. - */ -#if !defined(PJ_SOMAXCONN) -# define PJ_SOMAXCONN 5 -#endif - - -/** - * Constant for invalid socket returned by #pj_sock_socket() and - * #pj_sock_accept(). - */ -#define PJ_INVALID_SOCKET (-1) - -#ifndef _ASTERISK_H -/* Must undefine s_addr because of pj_in_addr below */ -#undef s_addr - -/** - * This structure describes Internet address. - */ -typedef struct pj_in_addr -{ - pj_uint32_t s_addr; /**< The 32bit IP address. */ -} pj_in_addr; - -#else -#include -#include -typedef struct in_addr pj_in_addr; -#endif - -/** - * Maximum length of text representation of an IPv4 address. - */ -#define PJ_INET_ADDRSTRLEN 16 - -/** - * Maximum length of text representation of an IPv6 address. - */ -#define PJ_INET6_ADDRSTRLEN 46 - -/** - * The size of sin_zero field in pj_sockaddr_in structure. Most OSes - * use 8, but others such as the BSD TCP/IP stack in eCos uses 24. - */ -#ifndef PJ_SOCKADDR_IN_SIN_ZERO_LEN -# define PJ_SOCKADDR_IN_SIN_ZERO_LEN 8 -#endif - -/** - * This structure describes Internet socket address. - * If PJ_SOCKADDR_HAS_LEN is not zero, then sin_zero_len member is added - * to this struct. As far the application is concerned, the value of - * this member will always be zero. Internally, PJLIB may modify the value - * before calling OS socket API, and reset the value back to zero before - * returning the struct to application. - */ -struct pj_sockaddr_in -{ -#if defined(PJ_SOCKADDR_HAS_LEN) && PJ_SOCKADDR_HAS_LEN!=0 - pj_uint8_t sin_zero_len; /**< Just ignore this. */ - pj_uint8_t sin_family; /**< Address family. */ -#else - pj_uint16_t sin_family; /**< Address family. */ -#endif - pj_uint16_t sin_port; /**< Transport layer port number. */ - pj_in_addr sin_addr; /**< IP address. */ - char sin_zero[PJ_SOCKADDR_IN_SIN_ZERO_LEN]; /**< Padding.*/ -}; - - -#undef s6_addr - -/** - * This structure describes IPv6 address. - */ -typedef union pj_in6_addr -{ - /* This is the main entry */ - pj_uint8_t s6_addr[16]; /**< 8-bit array */ - - /* While these are used for proper alignment */ - pj_uint32_t u6_addr32[4]; - - /* Do not use this with Winsock2, as this will align pj_sockaddr_in6 - * to 64-bit boundary and Winsock2 doesn't like it! - * Update 26/04/2010: - * This is now disabled, see http://trac.pjsip.org/repos/ticket/1058 - */ -#if 0 && defined(PJ_HAS_INT64) && PJ_HAS_INT64!=0 && \ - (!defined(PJ_WIN32) || PJ_WIN32==0) - pj_int64_t u6_addr64[2]; -#endif - -} pj_in6_addr; - - -/** Initializer value for pj_in6_addr. */ -#define PJ_IN6ADDR_ANY_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } } - -/** Initializer value for pj_in6_addr. */ -#define PJ_IN6ADDR_LOOPBACK_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } } - -/** - * This structure describes IPv6 socket address. - * If PJ_SOCKADDR_HAS_LEN is not zero, then sin_zero_len member is added - * to this struct. As far the application is concerned, the value of - * this member will always be zero. Internally, PJLIB may modify the value - * before calling OS socket API, and reset the value back to zero before - * returning the struct to application. - */ -typedef struct pj_sockaddr_in6 -{ -#if defined(PJ_SOCKADDR_HAS_LEN) && PJ_SOCKADDR_HAS_LEN!=0 - pj_uint8_t sin6_zero_len; /**< Just ignore this. */ - pj_uint8_t sin6_family; /**< Address family. */ -#else - pj_uint16_t sin6_family; /**< Address family */ -#endif - pj_uint16_t sin6_port; /**< Transport layer port number. */ - pj_uint32_t sin6_flowinfo; /**< IPv6 flow information */ - pj_in6_addr sin6_addr; /**< IPv6 address. */ - pj_uint32_t sin6_scope_id; /**< Set of interfaces for a scope */ -} pj_sockaddr_in6; - - -/** - * This structure describes common attributes found in transport addresses. - * If PJ_SOCKADDR_HAS_LEN is not zero, then sa_zero_len member is added - * to this struct. As far the application is concerned, the value of - * this member will always be zero. Internally, PJLIB may modify the value - * before calling OS socket API, and reset the value back to zero before - * returning the struct to application. - */ -typedef struct pj_addr_hdr -{ -#if defined(PJ_SOCKADDR_HAS_LEN) && PJ_SOCKADDR_HAS_LEN!=0 - pj_uint8_t sa_zero_len; - pj_uint8_t sa_family; -#else - pj_uint16_t sa_family; /**< Common data: address family. */ -#endif -} pj_addr_hdr; - - -/** - * This union describes a generic socket address. - */ -typedef union pj_sockaddr -{ - pj_addr_hdr addr; /**< Generic transport address. */ - pj_sockaddr_in ipv4; /**< IPv4 transport address. */ - pj_sockaddr_in6 ipv6; /**< IPv6 transport address. */ -} pj_sockaddr; - - -/** - * This structure provides multicast group information for IPv4 addresses. - */ -typedef struct pj_ip_mreq { - pj_in_addr imr_multiaddr; /**< IP multicast address of group. */ - pj_in_addr imr_interface; /**< local IP address of interface. */ -} pj_ip_mreq; - - -/***************************************************************************** - * - * SOCKET ADDRESS MANIPULATION. - * - ***************************************************************************** - */ - -/** - * Convert 16-bit value from network byte order to host byte order. - * - * @param netshort 16-bit network value. - * @return 16-bit host value. - */ -PJ_DECL(pj_uint16_t) pj_ntohs(pj_uint16_t netshort); - -/** - * Convert 16-bit value from host byte order to network byte order. - * - * @param hostshort 16-bit host value. - * @return 16-bit network value. - */ -PJ_DECL(pj_uint16_t) pj_htons(pj_uint16_t hostshort); - -/** - * Convert 32-bit value from network byte order to host byte order. - * - * @param netlong 32-bit network value. - * @return 32-bit host value. - */ -PJ_DECL(pj_uint32_t) pj_ntohl(pj_uint32_t netlong); - -/** - * Convert 32-bit value from host byte order to network byte order. - * - * @param hostlong 32-bit host value. - * @return 32-bit network value. - */ -PJ_DECL(pj_uint32_t) pj_htonl(pj_uint32_t hostlong); - -/** - * Convert an Internet host address given in network byte order - * to string in standard numbers and dots notation. - * - * @param inaddr The host address. - * @return The string address. - */ -PJ_DECL(char*) pj_inet_ntoa(pj_in_addr inaddr); - -/** - * This function converts the Internet host address cp from the standard - * numbers-and-dots notation into binary data and stores it in the structure - * that inp points to. - * - * @param cp IP address in standard numbers-and-dots notation. - * @param inp Structure that holds the output of the conversion. - * - * @return nonzero if the address is valid, zero if not. - */ -PJ_DECL(int) pj_inet_aton(const pj_str_t *cp, pj_in_addr *inp); - -/** - * This function converts an address in its standard text presentation form - * into its numeric binary form. It supports both IPv4 and IPv6 address - * conversion. - * - * @param af Specify the family of the address. The PJ_AF_INET and - * PJ_AF_INET6 address families shall be supported. - * @param src Points to the string being passed in. - * @param dst Points to a buffer into which the function stores the - * numeric address; this shall be large enough to hold the - * numeric address (32 bits for PJ_AF_INET, 128 bits for - * PJ_AF_INET6). - * - * @return PJ_SUCCESS if conversion was successful. - */ -PJ_DECL(pj_status_t) pj_inet_pton(int af, const pj_str_t *src, void *dst); - -/** - * This function converts a numeric address into a text string suitable - * for presentation. It supports both IPv4 and IPv6 address - * conversion. - * @see pj_sockaddr_print() - * - * @param af Specify the family of the address. This can be PJ_AF_INET - * or PJ_AF_INET6. - * @param src Points to a buffer holding an IPv4 address if the af argument - * is PJ_AF_INET, or an IPv6 address if the af argument is - * PJ_AF_INET6; the address must be in network byte order. - * @param dst Points to a buffer where the function stores the resulting - * text string; it shall not be NULL. - * @param size Specifies the size of this buffer, which shall be large - * enough to hold the text string (PJ_INET_ADDRSTRLEN characters - * for IPv4, PJ_INET6_ADDRSTRLEN characters for IPv6). - * - * @return PJ_SUCCESS if conversion was successful. - */ -PJ_DECL(pj_status_t) pj_inet_ntop(int af, const void *src, - char *dst, int size); - -/** - * Converts numeric address into its text string representation. - * @see pj_sockaddr_print() - * - * @param af Specify the family of the address. This can be PJ_AF_INET - * or PJ_AF_INET6. - * @param src Points to a buffer holding an IPv4 address if the af argument - * is PJ_AF_INET, or an IPv6 address if the af argument is - * PJ_AF_INET6; the address must be in network byte order. - * @param dst Points to a buffer where the function stores the resulting - * text string; it shall not be NULL. - * @param size Specifies the size of this buffer, which shall be large - * enough to hold the text string (PJ_INET_ADDRSTRLEN characters - * for IPv4, PJ_INET6_ADDRSTRLEN characters for IPv6). - * - * @return The address string or NULL if failed. - */ -PJ_DECL(char*) pj_inet_ntop2(int af, const void *src, - char *dst, int size); - -/** - * Print socket address. - * - * @param addr The socket address. - * @param buf Text buffer. - * @param size Size of buffer. - * @param flags Bitmask combination of these value: - * - 1: port number is included. - * - 2: square bracket is included for IPv6 address. - * - * @return The address string. - */ -PJ_DECL(char*) pj_sockaddr_print(const pj_sockaddr_t *addr, - char *buf, int size, - unsigned flags); - -/** - * Convert address string with numbers and dots to binary IP address. - * - * @param cp The IP address in numbers and dots notation. - * @return If success, the IP address is returned in network - * byte order. If failed, PJ_INADDR_NONE will be - * returned. - * @remark - * This is an obsolete interface to #pj_inet_aton(); it is obsolete - * because -1 is a valid address (255.255.255.255), and #pj_inet_aton() - * provides a cleaner way to indicate error return. - */ -PJ_DECL(pj_in_addr) pj_inet_addr(const pj_str_t *cp); - -/** - * Convert address string with numbers and dots to binary IP address. - * - * @param cp The IP address in numbers and dots notation. - * @return If success, the IP address is returned in network - * byte order. If failed, PJ_INADDR_NONE will be - * returned. - * @remark - * This is an obsolete interface to #pj_inet_aton(); it is obsolete - * because -1 is a valid address (255.255.255.255), and #pj_inet_aton() - * provides a cleaner way to indicate error return. - */ -PJ_DECL(pj_in_addr) pj_inet_addr2(const char *cp); - -/** - * Initialize IPv4 socket address based on the address and port info. - * The string address may be in a standard numbers and dots notation or - * may be a hostname. If hostname is specified, then the function will - * resolve the host into the IP address. - * - * @see pj_sockaddr_init() - * - * @param addr The IP socket address to be set. - * @param cp The address string, which can be in a standard - * dotted numbers or a hostname to be resolved. - * @param port The port number, in host byte order. - * - * @return Zero on success. - */ -PJ_DECL(pj_status_t) pj_sockaddr_in_init( pj_sockaddr_in *addr, - const pj_str_t *cp, - pj_uint16_t port); - -/** - * Initialize IP socket address based on the address and port info. - * The string address may be in a standard numbers and dots notation or - * may be a hostname. If hostname is specified, then the function will - * resolve the host into the IP address. - * - * @see pj_sockaddr_in_init() - * - * @param af Internet address family. - * @param addr The IP socket address to be set. - * @param cp The address string, which can be in a standard - * dotted numbers or a hostname to be resolved. - * @param port The port number, in host byte order. - * - * @return Zero on success. - */ -PJ_DECL(pj_status_t) pj_sockaddr_init(int af, - pj_sockaddr *addr, - const pj_str_t *cp, - pj_uint16_t port); - -/** - * Compare two socket addresses. - * - * @param addr1 First address. - * @param addr2 Second address. - * - * @return Zero on equal, -1 if addr1 is less than addr2, - * and +1 if addr1 is more than addr2. - */ -PJ_DECL(int) pj_sockaddr_cmp(const pj_sockaddr_t *addr1, - const pj_sockaddr_t *addr2); - -/** - * Get pointer to the address part of a socket address. - * - * @param addr Socket address. - * - * @return Pointer to address part (sin_addr or sin6_addr, - * depending on address family) - */ -PJ_DECL(void*) pj_sockaddr_get_addr(const pj_sockaddr_t *addr); - -/** - * Check that a socket address contains a non-zero address part. - * - * @param addr Socket address. - * - * @return Non-zero if address is set to non-zero. - */ -PJ_DECL(pj_bool_t) pj_sockaddr_has_addr(const pj_sockaddr_t *addr); - -/** - * Get the address part length of a socket address, based on its address - * family. For PJ_AF_INET, the length will be sizeof(pj_in_addr), and - * for PJ_AF_INET6, the length will be sizeof(pj_in6_addr). - * - * @param addr Socket address. - * - * @return Length in bytes. - */ -PJ_DECL(unsigned) pj_sockaddr_get_addr_len(const pj_sockaddr_t *addr); - -/** - * Get the socket address length, based on its address - * family. For PJ_AF_INET, the length will be sizeof(pj_sockaddr_in), and - * for PJ_AF_INET6, the length will be sizeof(pj_sockaddr_in6). - * - * @param addr Socket address. - * - * @return Length in bytes. - */ -PJ_DECL(unsigned) pj_sockaddr_get_len(const pj_sockaddr_t *addr); - -/** - * Copy only the address part (sin_addr/sin6_addr) of a socket address. - * - * @param dst Destination socket address. - * @param src Source socket address. - * - * @see @pj_sockaddr_cp() - */ -PJ_DECL(void) pj_sockaddr_copy_addr(pj_sockaddr *dst, - const pj_sockaddr *src); -/** - * Copy socket address. This will copy the whole structure depending - * on the address family of the source socket address. - * - * @param dst Destination socket address. - * @param src Source socket address. - * - * @see @pj_sockaddr_copy_addr() - */ -PJ_DECL(void) pj_sockaddr_cp(pj_sockaddr_t *dst, const pj_sockaddr_t *src); - -/** - * Get the IP address of an IPv4 socket address. - * The address is returned as 32bit value in host byte order. - * - * @param addr The IP socket address. - * @return 32bit address, in host byte order. - */ -PJ_DECL(pj_in_addr) pj_sockaddr_in_get_addr(const pj_sockaddr_in *addr); - -/** - * Set the IP address of an IPv4 socket address. - * - * @param addr The IP socket address. - * @param hostaddr The host address, in host byte order. - */ -PJ_DECL(void) pj_sockaddr_in_set_addr(pj_sockaddr_in *addr, - pj_uint32_t hostaddr); - -/** - * Set the IP address of an IP socket address from string address, - * with resolving the host if necessary. The string address may be in a - * standard numbers and dots notation or may be a hostname. If hostname - * is specified, then the function will resolve the host into the IP - * address. - * - * @see pj_sockaddr_set_str_addr() - * - * @param addr The IP socket address to be set. - * @param cp The address string, which can be in a standard - * dotted numbers or a hostname to be resolved. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pj_sockaddr_in_set_str_addr( pj_sockaddr_in *addr, - const pj_str_t *cp); - -/** - * Set the IP address of an IPv4 or IPv6 socket address from string address, - * with resolving the host if necessary. The string address may be in a - * standard IPv6 or IPv6 address or may be a hostname. If hostname - * is specified, then the function will resolve the host into the IP - * address according to the address family. - * - * @param af Address family. - * @param addr The IP socket address to be set. - * @param cp The address string, which can be in a standard - * IP numbers (IPv4 or IPv6) or a hostname to be resolved. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pj_sockaddr_set_str_addr(int af, - pj_sockaddr *addr, - const pj_str_t *cp); - -/** - * Get the port number of a socket address, in host byte order. - * This function can be used for both IPv4 and IPv6 socket address. - * - * @param addr Socket address. - * - * @return Port number, in host byte order. - */ -PJ_DECL(pj_uint16_t) pj_sockaddr_get_port(const pj_sockaddr_t *addr); - -/** - * Get the transport layer port number of an Internet socket address. - * The port is returned in host byte order. - * - * @param addr The IP socket address. - * @return Port number, in host byte order. - */ -PJ_DECL(pj_uint16_t) pj_sockaddr_in_get_port(const pj_sockaddr_in *addr); - -/** - * Set the port number of an Internet socket address. - * - * @param addr The socket address. - * @param hostport The port number, in host byte order. - */ -PJ_DECL(pj_status_t) pj_sockaddr_set_port(pj_sockaddr *addr, - pj_uint16_t hostport); - -/** - * Set the port number of an IPv4 socket address. - * - * @see pj_sockaddr_set_port() - * - * @param addr The IP socket address. - * @param hostport The port number, in host byte order. - */ -PJ_DECL(void) pj_sockaddr_in_set_port(pj_sockaddr_in *addr, - pj_uint16_t hostport); - -/** - * Parse string containing IP address and optional port into socket address, - * possibly also with address family detection. This function supports both - * IPv4 and IPv6 parsing, however IPv6 parsing may only be done if IPv6 is - * enabled during compilation. - * - * This function supports parsing several formats. Sample IPv4 inputs and - * their default results:: - * - "10.0.0.1:80": address 10.0.0.1 and port 80. - * - "10.0.0.1": address 10.0.0.1 and port zero. - * - "10.0.0.1:": address 10.0.0.1 and port zero. - * - "10.0.0.1:0": address 10.0.0.1 and port zero. - * - ":80": address 0.0.0.0 and port 80. - * - ":": address 0.0.0.0 and port 0. - * - "localhost": address 127.0.0.1 and port 0. - * - "localhost:": address 127.0.0.1 and port 0. - * - "localhost:80": address 127.0.0.1 and port 80. - * - * Sample IPv6 inputs and their default results: - * - "[fec0::01]:80": address fec0::01 and port 80 - * - "[fec0::01]": address fec0::01 and port 0 - * - "[fec0::01]:": address fec0::01 and port 0 - * - "[fec0::01]:0": address fec0::01 and port 0 - * - "fec0::01": address fec0::01 and port 0 - * - "fec0::01:80": address fec0::01:80 and port 0 - * - "::": address zero (::) and port 0 - * - "[::]": address zero (::) and port 0 - * - "[::]:": address zero (::) and port 0 - * - ":::": address zero (::) and port 0 - * - "[::]:80": address zero (::) and port 0 - * - ":::80": address zero (::) and port 80 - * - * Note: when the IPv6 socket address contains port number, the IP - * part of the socket address should be enclosed with square brackets, - * otherwise the port number will be included as part of the IP address - * (see "fec0::01:80" example above). - * - * @param af Optionally specify the address family to be used. If the - * address family is to be deducted from the input, specify - * pj_AF_UNSPEC() here. Other supported values are - * #pj_AF_INET() and #pj_AF_INET6() - * @param options Additional options to assist the parsing, must be zero - * for now. - * @param str The input string to be parsed. - * @param addr Pointer to store the result. - * - * @return PJ_SUCCESS if the parsing is successful. - * - * @see pj_sockaddr_parse2() - */ -PJ_DECL(pj_status_t) pj_sockaddr_parse(int af, unsigned options, - const pj_str_t *str, - pj_sockaddr *addr); - -/** - * This function is similar to #pj_sockaddr_parse(), except that it will not - * convert the hostpart into IP address (thus possibly resolving the hostname - * into a #pj_sockaddr. - * - * Unlike #pj_sockaddr_parse(), this function has a limitation that if port - * number is specified in an IPv6 input string, the IP part of the IPv6 socket - * address MUST be enclosed in square brackets, otherwise the port number will - * be considered as part of the IPv6 IP address. - * - * @param af Optionally specify the address family to be used. If the - * address family is to be deducted from the input, specify - * #pj_AF_UNSPEC() here. Other supported values are - * #pj_AF_INET() and #pj_AF_INET6() - * @param options Additional options to assist the parsing, must be zero - * for now. - * @param str The input string to be parsed. - * @param hostpart Optional pointer to store the host part of the socket - * address, with any brackets removed. - * @param port Optional pointer to store the port number. If port number - * is not found, this will be set to zero upon return. - * @param raf Optional pointer to store the detected address family of - * the input address. - * - * @return PJ_SUCCESS if the parsing is successful. - * - * @see pj_sockaddr_parse() - */ -PJ_DECL(pj_status_t) pj_sockaddr_parse2(int af, unsigned options, - const pj_str_t *str, - pj_str_t *hostpart, - pj_uint16_t *port, - int *raf); - -/***************************************************************************** - * - * HOST NAME AND ADDRESS. - * - ***************************************************************************** - */ - -/** - * Get system's host name. - * - * @return The hostname, or empty string if the hostname can not - * be identified. - */ -PJ_DECL(const pj_str_t*) pj_gethostname(void); - -/** - * Get host's IP address, which the the first IP address that is resolved - * from the hostname. - * - * @return The host's IP address, PJ_INADDR_NONE if the host - * IP address can not be identified. - */ -PJ_DECL(pj_in_addr) pj_gethostaddr(void); - - -/***************************************************************************** - * - * SOCKET API. - * - ***************************************************************************** - */ - -/** - * Create new socket/endpoint for communication. - * - * @param family Specifies a communication domain; this selects the - * protocol family which will be used for communication. - * @param type The socket has the indicated type, which specifies the - * communication semantics. - * @param protocol Specifies a particular protocol to be used with the - * socket. Normally only a single protocol exists to support - * a particular socket type within a given protocol family, - * in which a case protocol can be specified as 0. - * @param sock New socket descriptor, or PJ_INVALID_SOCKET on error. - * - * @return Zero on success. - */ -PJ_DECL(pj_status_t) pj_sock_socket(int family, - int type, - int protocol, - pj_sock_t *sock); - -/** - * Close the socket descriptor. - * - * @param sockfd The socket descriptor. - * - * @return Zero on success. - */ -PJ_DECL(pj_status_t) pj_sock_close(pj_sock_t sockfd); - - -/** - * This function gives the socket sockfd the local address my_addr. my_addr is - * addrlen bytes long. Traditionally, this is called assigning a name to - * a socket. When a socket is created with #pj_sock_socket(), it exists in a - * name space (address family) but has no name assigned. - * - * @param sockfd The socket desriptor. - * @param my_addr The local address to bind the socket to. - * @param addrlen The length of the address. - * - * @return Zero on success. - */ -PJ_DECL(pj_status_t) pj_sock_bind( pj_sock_t sockfd, - const pj_sockaddr_t *my_addr, - int addrlen); - -/** - * Bind the IP socket sockfd to the given address and port. - * - * @param sockfd The socket descriptor. - * @param addr Local address to bind the socket to, in host byte order. - * @param port The local port to bind the socket to, in host byte order. - * - * @return Zero on success. - */ -PJ_DECL(pj_status_t) pj_sock_bind_in( pj_sock_t sockfd, - pj_uint32_t addr, - pj_uint16_t port); - -#if PJ_HAS_TCP -/** - * Listen for incoming connection. This function only applies to connection - * oriented sockets (such as PJ_SOCK_STREAM or PJ_SOCK_SEQPACKET), and it - * indicates the willingness to accept incoming connections. - * - * @param sockfd The socket descriptor. - * @param backlog Defines the maximum length the queue of pending - * connections may grow to. - * - * @return Zero on success. - */ -PJ_DECL(pj_status_t) pj_sock_listen( pj_sock_t sockfd, - int backlog ); - -/** - * Accept new connection on the specified connection oriented server socket. - * - * @param serverfd The server socket. - * @param newsock New socket on success, of PJ_INVALID_SOCKET if failed. - * @param addr A pointer to sockaddr type. If the argument is not NULL, - * it will be filled by the address of connecting entity. - * @param addrlen Initially specifies the length of the address, and upon - * return will be filled with the exact address length. - * - * @return Zero on success, or the error number. - */ -PJ_DECL(pj_status_t) pj_sock_accept( pj_sock_t serverfd, - pj_sock_t *newsock, - pj_sockaddr_t *addr, - int *addrlen); -#endif - -/** - * The file descriptor sockfd must refer to a socket. If the socket is of - * type PJ_SOCK_DGRAM then the serv_addr address is the address to which - * datagrams are sent by default, and the only address from which datagrams - * are received. If the socket is of type PJ_SOCK_STREAM or PJ_SOCK_SEQPACKET, - * this call attempts to make a connection to another socket. The - * other socket is specified by serv_addr, which is an address (of length - * addrlen) in the communications space of the socket. Each communications - * space interprets the serv_addr parameter in its own way. - * - * @param sockfd The socket descriptor. - * @param serv_addr Server address to connect to. - * @param addrlen The length of server address. - * - * @return Zero on success. - */ -PJ_DECL(pj_status_t) pj_sock_connect( pj_sock_t sockfd, - const pj_sockaddr_t *serv_addr, - int addrlen); - -/** - * Return the address of peer which is connected to socket sockfd. - * - * @param sockfd The socket descriptor. - * @param addr Pointer to sockaddr structure to which the address - * will be returned. - * @param namelen Initially the length of the addr. Upon return the value - * will be set to the actual length of the address. - * - * @return Zero on success. - */ -PJ_DECL(pj_status_t) pj_sock_getpeername(pj_sock_t sockfd, - pj_sockaddr_t *addr, - int *namelen); - -/** - * Return the current name of the specified socket. - * - * @param sockfd The socket descriptor. - * @param addr Pointer to sockaddr structure to which the address - * will be returned. - * @param namelen Initially the length of the addr. Upon return the value - * will be set to the actual length of the address. - * - * @return Zero on success. - */ -PJ_DECL(pj_status_t) pj_sock_getsockname( pj_sock_t sockfd, - pj_sockaddr_t *addr, - int *namelen); - -/** - * Get socket option associated with a socket. Options may exist at multiple - * protocol levels; they are always present at the uppermost socket level. - * - * @param sockfd The socket descriptor. - * @param level The level which to get the option from. - * @param optname The option name. - * @param optval Identifies the buffer which the value will be - * returned. - * @param optlen Initially contains the length of the buffer, upon - * return will be set to the actual size of the value. - * - * @return Zero on success. - */ -PJ_DECL(pj_status_t) pj_sock_getsockopt( pj_sock_t sockfd, - pj_uint16_t level, - pj_uint16_t optname, - void *optval, - int *optlen); -/** - * Manipulate the options associated with a socket. Options may exist at - * multiple protocol levels; they are always present at the uppermost socket - * level. - * - * @param sockfd The socket descriptor. - * @param level The level which to get the option from. - * @param optname The option name. - * @param optval Identifies the buffer which contain the value. - * @param optlen The length of the value. - * - * @return PJ_SUCCESS or the status code. - */ -PJ_DECL(pj_status_t) pj_sock_setsockopt( pj_sock_t sockfd, - pj_uint16_t level, - pj_uint16_t optname, - const void *optval, - int optlen); - - -/** - * Receives data stream or message coming to the specified socket. - * - * @param sockfd The socket descriptor. - * @param buf The buffer to receive the data or message. - * @param len On input, the length of the buffer. On return, - * contains the length of data received. - * @param flags Flags (such as pj_MSG_PEEK()). - * - * @return PJ_SUCCESS or the error code. - */ -PJ_DECL(pj_status_t) pj_sock_recv(pj_sock_t sockfd, - void *buf, - pj_ssize_t *len, - unsigned flags); - -/** - * Receives data stream or message coming to the specified socket. - * - * @param sockfd The socket descriptor. - * @param buf The buffer to receive the data or message. - * @param len On input, the length of the buffer. On return, - * contains the length of data received. - * @param flags Flags (such as pj_MSG_PEEK()). - * @param from If not NULL, it will be filled with the source - * address of the connection. - * @param fromlen Initially contains the length of from address, - * and upon return will be filled with the actual - * length of the address. - * - * @return PJ_SUCCESS or the error code. - */ -PJ_DECL(pj_status_t) pj_sock_recvfrom( pj_sock_t sockfd, - void *buf, - pj_ssize_t *len, - unsigned flags, - pj_sockaddr_t *from, - int *fromlen); - -/** - * Transmit data to the socket. - * - * @param sockfd Socket descriptor. - * @param buf Buffer containing data to be sent. - * @param len On input, the length of the data in the buffer. - * Upon return, it will be filled with the length - * of data sent. - * @param flags Flags (such as pj_MSG_DONTROUTE()). - * - * @return PJ_SUCCESS or the status code. - */ -PJ_DECL(pj_status_t) pj_sock_send(pj_sock_t sockfd, - const void *buf, - pj_ssize_t *len, - unsigned flags); - -/** - * Transmit data to the socket to the specified address. - * - * @param sockfd Socket descriptor. - * @param buf Buffer containing data to be sent. - * @param len On input, the length of the data in the buffer. - * Upon return, it will be filled with the length - * of data sent. - * @param flags Flags (such as pj_MSG_DONTROUTE()). - * @param to The address to send. - * @param tolen The length of the address in bytes. - * - * @return PJ_SUCCESS or the status code. - */ -PJ_DECL(pj_status_t) pj_sock_sendto(pj_sock_t sockfd, - const void *buf, - pj_ssize_t *len, - unsigned flags, - const pj_sockaddr_t *to, - int tolen); - -#if PJ_HAS_TCP -/** - * The shutdown call causes all or part of a full-duplex connection on the - * socket associated with sockfd to be shut down. - * - * @param sockfd The socket descriptor. - * @param how If how is PJ_SHUT_RD, further receptions will be - * disallowed. If how is PJ_SHUT_WR, further transmissions - * will be disallowed. If how is PJ_SHUT_RDWR, further - * receptions andtransmissions will be disallowed. - * - * @return Zero on success. - */ -PJ_DECL(pj_status_t) pj_sock_shutdown( pj_sock_t sockfd, - int how); -#endif - -/** - * @} - */ - - -PJ_END_DECL - -#endif /* __PJ_SOCK_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/sock_qos.h b/res/pjproject/pjlib/include/pj/sock_qos.h deleted file mode 100644 index c23204be0d..0000000000 --- a/res/pjproject/pjlib/include/pj/sock_qos.h +++ /dev/null @@ -1,427 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_SOCK_QOS_H__ -#define __PJ_SOCK_QOS_H__ - -/** - * @file sock_qos.h - * @brief Socket QoS API - */ - -#include - -PJ_BEGIN_DECL - - -/** - * @defgroup socket_qos Socket Quality of Service (QoS) API: TOS, DSCP, WMM, IEEE 802.1p - * @ingroup PJ_SOCK - * @{ - - - \section intro QoS Technologies - - QoS settings are available for both Layer 2 and 3 of TCP/IP protocols: - - \subsection intro_ieee8021p Layer 2: IEEE 802.1p for Ethernet - - IEEE 802.1p tagging will mark frames sent by a host for prioritized - delivery using a 3-bit Priority field in the virtual local area network - (VLAN) header of the Ethernet frame. The VLAN header is placed inside - the Ethernet header, between the Source Address field and either the - Length field (for an IEEE 802.3 frame) or the EtherType field (for an - Ethernet II frame). - - \subsection intro_wmm Layer 2: WMM - - At the Network Interface layer for IEEE 802.11 wireless, the Wi-Fi - Alliance certification for Wi-Fi Multimedia (WMM) defines four access - categories for prioritizing network traffic. These access categories - are (in order of highest to lowest priority) voice, video, best-effort, - and background. Host support for WMM prioritization requires that both - wireless network adapters and their drivers support WMM. Wireless - access points (APs) must have WMM enabled. - - \subsection intro_dscp Layer 3: DSCP - - At the Internet layer, you can use Differentiated Services/Diffserv and - set the value of the Differentiated Services Code Point (DSCP) in the - IP header. As defined in RFC 2474, the DSCP value is the high-order 6 bits - of the IP version 4 (IPv4) TOS field and the IP version 6 (IPv6) Traffic - Class field. - - \subsection intro_other Layer 3: Other - - Other mechanisms exist (such as RSVP, IntServ) but this will not be - implemented. - - - \section availability QoS Availability - - \subsection linux Linux - - DSCP is available via IP TOS option. - - Ethernet 802.1p tagging is done by setting setsockopt(SO_PRIORITY) option - of the socket, then with the set_egress_map option of the vconfig utility - to convert this to set vlan-qos field of the packet. - - WMM is not known to be available. - - \subsection windows Windows and Windows Mobile - - (It's a mess!) - - DSCP is settable with setsockopt() on Windows 2000 or older, but Windows - would silently ignore this call on WinXP or later, unless administrator - modifies the registry. On Windows 2000, Windows XP, and Windows Server - 2003, GQoS (Generic QoS) API is the standard API, but this API may not be - supported in the future. On Vista and Windows 7, the is a new QoS2 API, - also known as Quality Windows Audio-Video Experience (qWAVE). - - IEEE 802.1p tagging is available via Traffic Control (TC) API, available - on Windows XP SP2, but this needs administrator access. For Vista and - later, it's in qWAVE. - - WMM is available for mobile platforms on Windows Mobile 6 platform and - Windows Embedded CE 6, via setsockopt(IP_DSCP_TRAFFIC_TYPE). qWAVE - supports this as well. - - \subsection symbian Symbian S60 3rd Ed - - Both DSCP and WMM is supported via RSocket::SetOpt() with will set both - Layer 2 and Layer 3 QoS settings accordingly. Internally, PJLIB sets the - DSCP field of the socket, and based on certain DSCP values mapping, - Symbian will set the WMM tag accordingly. - - \section api PJLIB's QoS API Abstraction - - Based on the above, the following API is implemented. - - Declare the following "standard" traffic types. - - \code - typedef enum pj_qos_type - { - PJ_QOS_TYPE_BEST_EFFORT, - PJ_QOS_TYPE_BACKGROUND, - PJ_QOS_TYPE_VIDEO, - PJ_QOS_TYPE_VOICE, - PJ_QOS_TYPE_CONTROL - } pj_qos_type; - \endcode - - The traffic classes above will determine how the Layer 2 and 3 QoS - settings will be used. The standard mapping between the classes above - to the corresponding Layer 2 and 3 settings are as follows: - - \code - ================================================================= - PJLIB Traffic Type IP DSCP WMM 802.1p - ----------------------------------------------------------------- - BEST_EFFORT 0x00 BE (Bulk Effort) 0 - BACKGROUND 0x08 BK (Bulk) 2 - VIDEO 0x28 VI (Video) 5 - VOICE 0x30 VO (Voice) 6 - CONTROL 0x38 VO (Voice) 7 - ================================================================= - \endcode - - There are two sets of API provided to manipulate the QoS parameters. - - \subsection portable_api Portable API - - The first set of API is: - - \code - // Set QoS parameters - PJ_DECL(pj_status_t) pj_sock_set_qos_type(pj_sock_t sock, - pj_qos_type val); - - // Get QoS parameters - PJ_DECL(pj_status_t) pj_sock_get_qos_type(pj_sock_t sock, - pj_qos_type *p_val); - \endcode - - The API will set the traffic type according to the DSCP class, for both - Layer 2 and Layer 3 QoS settings, where it's available. If any of the - layer QoS setting is not settable, the API will silently ignore it. - If both layers are not setable, the API will return error. - - The API above is the recommended use of QoS, since it is the most - portable across all platforms. - - \subsection detail_api Fine Grained Control API - - The second set of API is intended for application that wants to fine - tune the QoS parameters. - - The Layer 2 and 3 QoS parameters are stored in pj_qos_params structure: - - \code - typedef enum pj_qos_flag - { - PJ_QOS_PARAM_HAS_DSCP = 1, - PJ_QOS_PARAM_HAS_SO_PRIO = 2, - PJ_QOS_PARAM_HAS_WMM = 4 - } pj_qos_flag; - - typedef enum pj_qos_wmm_prio - { - PJ_QOS_WMM_PRIO_BULK_EFFORT, - PJ_QOS_WMM_PRIO_BULK, - PJ_QOS_WMM_PRIO_VIDEO, - PJ_QOS_WMM_PRIO_VOICE - } pj_qos_wmm_prio; - - typedef struct pj_qos_params - { - pj_uint8_t flags; // Determines which values to - // set, bitmask of pj_qos_flag - pj_uint8_t dscp_val; // The 6 bits DSCP value to set - pj_uint8_t so_prio; // SO_PRIORITY value - pj_qos_wmm_prio wmm_prio; // WMM priority value - } pj_qos_params; - \endcode - - The second set of API with more fine-grained control over the parameters - are: - - \code - // Retrieve QoS params for the specified traffic type - PJ_DECL(pj_status_t) pj_qos_get_params(pj_qos_type type, - pj_qos_params *p); - - // Set QoS parameters to the socket - PJ_DECL(pj_status_t) pj_sock_set_qos_params(pj_sock_t sock, - const pj_qos_params *p); - - // Get QoS parameters from the socket - PJ_DECL(pj_status_t) pj_sock_get_qos_params(pj_sock_t sock, - pj_qos_params *p); - \endcode - - - Important: - - The pj_sock_set/get_qos_params() APIs are not portable, and it's probably - only going to be implemented on Linux. Application should always try to - use pj_sock_set_qos_type() instead. - */ - - -/** - * High level traffic classification. - */ -typedef enum pj_qos_type -{ - PJ_QOS_TYPE_BEST_EFFORT, /**< Best effort traffic (default value). - Any QoS function calls with specifying - this value are effectively no-op */ - PJ_QOS_TYPE_BACKGROUND, /**< Background traffic. */ - PJ_QOS_TYPE_VIDEO, /**< Video traffic. */ - PJ_QOS_TYPE_VOICE, /**< Voice traffic. */ - PJ_QOS_TYPE_CONTROL /**< Control traffic. */ -} pj_qos_type; - -/** - * Bitmask flag to indicate which QoS layer setting is set in the - * \a flags field of the #pj_qos_params structure. - */ -typedef enum pj_qos_flag -{ - PJ_QOS_PARAM_HAS_DSCP = 1, /**< DSCP field is set. */ - PJ_QOS_PARAM_HAS_SO_PRIO = 2, /**< Socket SO_PRIORITY */ - PJ_QOS_PARAM_HAS_WMM = 4 /**< WMM field is set. */ -} pj_qos_flag; - - -/** - * Standard WMM priorities. - */ -typedef enum pj_qos_wmm_prio -{ - PJ_QOS_WMM_PRIO_BULK_EFFORT, /**< Bulk effort priority */ - PJ_QOS_WMM_PRIO_BULK, /**< Bulk priority. */ - PJ_QOS_WMM_PRIO_VIDEO, /**< Video priority */ - PJ_QOS_WMM_PRIO_VOICE /**< Voice priority */ -} pj_qos_wmm_prio; - - -/** - * QoS parameters to be set or retrieved to/from the socket. - */ -typedef struct pj_qos_params -{ - pj_uint8_t flags; /**< Determines which values to - set, bitmask of pj_qos_flag */ - pj_uint8_t dscp_val; /**< The 6 bits DSCP value to set */ - pj_uint8_t so_prio; /**< SO_PRIORITY value */ - pj_qos_wmm_prio wmm_prio; /**< WMM priority value */ -} pj_qos_params; - - - -/** - * This is the high level and portable API to enable QoS on the specified - * socket, by setting the traffic type to the specified parameter. - * - * @param sock The socket. - * @param type Traffic type to be set. - * - * @return PJ_SUCCESS if at least Layer 2 or Layer 3 setting is - * successfully set. If both Layer 2 and Layer 3 settings - * can't be set, this function will return error. - */ -PJ_DECL(pj_status_t) pj_sock_set_qos_type(pj_sock_t sock, - pj_qos_type type); - -/** - * This is the high level and portable API to get the traffic type that has - * been set on the socket. On occasions where the Layer 2 or Layer 3 settings - * were modified by using low level API, this function may return approximation - * of the closest QoS type that matches the settings. - * - * @param sock The socket. - * @param p_type Pointer to receive the traffic type of the socket. - * - * @return PJ_SUCCESS if traffic type for the socket can be obtained - * or approximated.. - */ -PJ_DECL(pj_status_t) pj_sock_get_qos_type(pj_sock_t sock, - pj_qos_type *p_type); - - -/** - * This is a convenience function to apply QoS to the socket, and print error - * logging if the operations failed. Both QoS traffic type and the low level - * QoS parameters can be applied with this function. - * - * @param sock The socket handle. - * @param qos_type QoS traffic type. The QoS traffic type will be applied - * only if the value is not PJ_QOS_TYPE_BEST_EFFORT, - * @param qos_params Optional low-level QoS parameters. This will be - * applied only if this argument is not NULL and the - * flags inside the structure is non-zero. Upon return, - * the flags will indicate which parameters have been - * applied successfully. - * @param log_level This function will print to log at this level upon - * encountering errors. - * @param log_sender Optional sender name in the log. - * @param sock_name Optional name to help identify the socket in the log. - * - * @return PJ_SUCCESS if at least Layer 2 or Layer 3 setting is - * successfully set. If both Layer 2 and Layer 3 settings - * can't be set, this function will return error. - * - * @see pj_sock_apply_qos2() - */ -PJ_DECL(pj_status_t) pj_sock_apply_qos(pj_sock_t sock, - pj_qos_type qos_type, - pj_qos_params *qos_params, - unsigned log_level, - const char *log_sender, - const char *sock_name); - -/** - * Variant of #pj_sock_apply_qos() where the \a qos_params parameter is - * const. - * - * @see pj_sock_apply_qos() - */ -PJ_DECL(pj_status_t) pj_sock_apply_qos2(pj_sock_t sock, - pj_qos_type qos_type, - const pj_qos_params *qos_params, - unsigned log_level, - const char *log_sender, - const char *sock_name); - -/** - * Retrieve the standard mapping of QoS params for the specified traffic - * type. - * - * @param type The traffic type from which the QoS parameters - * are to be retrieved. - * @param p_param Pointer to receive the QoS parameters. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_qos_get_params(pj_qos_type type, - pj_qos_params *p_param); - - -/** - * Retrieve the traffic type that matches the specified QoS parameters. - * If no exact matching is found, this function will return an - * approximation of the closest matching traffic type for the specified - * QoS parameters. - * - * @param param Structure containing QoS parameters to map into - * "standard" traffic types. - * @param p_type Pointer to receive the traffic type. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_qos_get_type(const pj_qos_params *param, - pj_qos_type *p_type); - - -/** - * This is a low level API to set QoS parameters to the socket. - * - * @param sock The socket. - * @param param Structure containing QoS parameters to be applied - * to the socket. Upon return, the \a flags field - * of this structure will be set with bitmask value - * indicating which QoS settings have successfully - * been applied to the socket. - * - * @return PJ_SUCCESS if at least one field setting has been - * successfully set. If no setting can't be set, - * this function will return error. - */ -PJ_DECL(pj_status_t) pj_sock_set_qos_params(pj_sock_t sock, - pj_qos_params *param); - -/** - * This is a low level API to get QoS parameters from the socket. - * - * @param sock The socket. - * @param p_param Pointer to receive the parameters. Upon returning - * successfully, the \a flags field of this structure - * will be initialized with the appropriate bitmask - * to indicate which fields have been successfully - * retrieved. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_sock_get_qos_params(pj_sock_t sock, - pj_qos_params *p_param); - - -/** - * @} - */ - - -PJ_END_DECL - -#endif /* __PJ_SOCK_QOS_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/sock_select.h b/res/pjproject/pjlib/include/pj/sock_select.h deleted file mode 100644 index 1b5b335b6c..0000000000 --- a/res/pjproject/pjlib/include/pj/sock_select.h +++ /dev/null @@ -1,152 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_SELECT_H__ -#define __PJ_SELECT_H__ - -/** - * @file sock_select.h - * @brief Socket select(). - */ - -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_SOCK_SELECT Socket select() API. - * @ingroup PJ_IO - * @{ - * This module provides portable abstraction for \a select() like API. - * The abstraction is needed so that it can utilize various event - * dispatching mechanisms that are available across platforms. - * - * The API is very similar to normal \a select() usage. - * - * \section pj_sock_select_examples_sec Examples - * - * For some examples on how to use the select API, please see: - * - * - \ref page_pjlib_select_test - */ - -/** - * Portable structure declarations for pj_fd_set. - * The implementation of pj_sock_select() does not use this structure - * per-se, but instead it will use the native fd_set structure. However, - * we must make sure that the size of pj_fd_set_t can accomodate the - * native fd_set structure. - */ -typedef struct pj_fd_set_t -{ - pj_sock_t data[PJ_IOQUEUE_MAX_HANDLES+ 4]; /**< Opaque buffer for fd_set */ -} pj_fd_set_t; - - -/** - * Initialize the descriptor set pointed to by fdsetp to the null set. - * - * @param fdsetp The descriptor set. - */ -PJ_DECL(void) PJ_FD_ZERO(pj_fd_set_t *fdsetp); - - -/** - * This is an internal function, application shouldn't use this. - * - * Get the number of descriptors in the set. This is defined in sock_select.c - * This function will only return the number of sockets set from PJ_FD_SET - * operation. When the set is modified by other means (such as by select()), - * the count will not be reflected here. - * - * @param fdsetp The descriptor set. - * - * @return Number of descriptors in the set. - */ -PJ_DECL(pj_size_t) PJ_FD_COUNT(const pj_fd_set_t *fdsetp); - - -/** - * Add the file descriptor fd to the set pointed to by fdsetp. - * If the file descriptor fd is already in this set, there shall be no effect - * on the set, nor will an error be returned. - * - * @param fd The socket descriptor. - * @param fdsetp The descriptor set. - */ -PJ_DECL(void) PJ_FD_SET(pj_sock_t fd, pj_fd_set_t *fdsetp); - -/** - * Remove the file descriptor fd from the set pointed to by fdsetp. - * If fd is not a member of this set, there shall be no effect on the set, - * nor will an error be returned. - * - * @param fd The socket descriptor. - * @param fdsetp The descriptor set. - */ -PJ_DECL(void) PJ_FD_CLR(pj_sock_t fd, pj_fd_set_t *fdsetp); - - -/** - * Evaluate to non-zero if the file descriptor fd is a member of the set - * pointed to by fdsetp, and shall evaluate to zero otherwise. - * - * @param fd The socket descriptor. - * @param fdsetp The descriptor set. - * - * @return Nonzero if fd is member of the descriptor set. - */ -PJ_DECL(pj_bool_t) PJ_FD_ISSET(pj_sock_t fd, const pj_fd_set_t *fdsetp); - - -/** - * This function wait for a number of file descriptors to change status. - * The behaviour is the same as select() function call which appear in - * standard BSD socket libraries. - * - * @param n On Unices, this specifies the highest-numbered - * descriptor in any of the three set, plus 1. On Windows, - * the value is ignored. - * @param readfds Optional pointer to a set of sockets to be checked for - * readability. - * @param writefds Optional pointer to a set of sockets to be checked for - * writability. - * @param exceptfds Optional pointer to a set of sockets to be checked for - * errors. - * @param timeout Maximum time for select to wait, or null for blocking - * operations. - * - * @return The total number of socket handles that are ready, or - * zero if the time limit expired, or -1 if an error occurred. - */ -PJ_DECL(int) pj_sock_select( int n, - pj_fd_set_t *readfds, - pj_fd_set_t *writefds, - pj_fd_set_t *exceptfds, - const pj_time_val *timeout); - - -/** - * @} - */ - - -PJ_END_DECL - -#endif /* __PJ_SELECT_H__ */ diff --git a/res/pjproject/pjlib/include/pj/ssl_sock.h b/res/pjproject/pjlib/include/pj/ssl_sock.h deleted file mode 100644 index 0e8fb4a473..0000000000 --- a/res/pjproject/pjlib/include/pj/ssl_sock.h +++ /dev/null @@ -1,1046 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_SSL_SOCK_H__ -#define __PJ_SSL_SOCK_H__ - -/** - * @file ssl_sock.h - * @brief Secure socket - */ - -#include -#include -#include - - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_SSL_SOCK Secure socket I/O - * @brief Secure socket provides security on socket operation using standard - * security protocols such as SSL and TLS. - * @ingroup PJ_IO - * @{ - * - * Secure socket wraps normal socket and applies security features, i.e: - * privacy and data integrity, on the socket traffic, using standard security - * protocols such as SSL and TLS. - * - * Secure socket employs active socket operations, which is similar to (and - * described more detail) in \ref PJ_ACTIVESOCK. - */ - - - /** - * This opaque structure describes the secure socket. - */ -typedef struct pj_ssl_sock_t pj_ssl_sock_t; - - -/** - * Opaque declaration of endpoint certificate or credentials. This may contains - * certificate, private key, and trusted Certificate Authorities list. - */ -typedef struct pj_ssl_cert_t pj_ssl_cert_t; - - -typedef enum pj_ssl_cert_verify_flag_t -{ - /** - * No error in verification. - */ - PJ_SSL_CERT_ESUCCESS = 0, - - /** - * The issuer certificate cannot be found. - */ - PJ_SSL_CERT_EISSUER_NOT_FOUND = (1 << 0), - - /** - * The certificate is untrusted. - */ - PJ_SSL_CERT_EUNTRUSTED = (1 << 1), - - /** - * The certificate has expired or not yet valid. - */ - PJ_SSL_CERT_EVALIDITY_PERIOD = (1 << 2), - - /** - * One or more fields of the certificate cannot be decoded due to - * invalid format. - */ - PJ_SSL_CERT_EINVALID_FORMAT = (1 << 3), - - /** - * The certificate cannot be used for the specified purpose. - */ - PJ_SSL_CERT_EINVALID_PURPOSE = (1 << 4), - - /** - * The issuer info in the certificate does not match to the (candidate) - * issuer certificate, e.g: issuer name not match to subject name - * of (candidate) issuer certificate. - */ - PJ_SSL_CERT_EISSUER_MISMATCH = (1 << 5), - - /** - * The CRL certificate cannot be found or cannot be read properly. - */ - PJ_SSL_CERT_ECRL_FAILURE = (1 << 6), - - /** - * The certificate has been revoked. - */ - PJ_SSL_CERT_EREVOKED = (1 << 7), - - /** - * The certificate chain length is too long. - */ - PJ_SSL_CERT_ECHAIN_TOO_LONG = (1 << 8), - - /** - * The server identity does not match to any identities specified in - * the certificate, e.g: subjectAltName extension, subject common name. - * This flag will only be set by application as SSL socket does not - * perform server identity verification. - */ - PJ_SSL_CERT_EIDENTITY_NOT_MATCH = (1 << 30), - - /** - * Unknown verification error. - */ - PJ_SSL_CERT_EUNKNOWN = (1 << 31) - -} pj_ssl_cert_verify_flag_t; - - -typedef enum pj_ssl_cert_name_type -{ - PJ_SSL_CERT_NAME_UNKNOWN = 0, - PJ_SSL_CERT_NAME_RFC822, - PJ_SSL_CERT_NAME_DNS, - PJ_SSL_CERT_NAME_URI, - PJ_SSL_CERT_NAME_IP -} pj_ssl_cert_name_type; - -/** - * Describe structure of certificate info. - */ -typedef struct pj_ssl_cert_info { - - unsigned version; /**< Certificate version */ - - pj_uint8_t serial_no[20]; /**< Serial number, array of - octets, first index is - MSB */ - - struct { - pj_str_t cn; /**< Common name */ - pj_str_t info; /**< One line subject, fields - are separated by slash, e.g: - "CN=sample.org/OU=HRD" */ - } subject; /**< Subject */ - - struct { - pj_str_t cn; /**< Common name */ - pj_str_t info; /**< One line subject, fields - are separated by slash.*/ - } issuer; /**< Issuer */ - - struct { - pj_time_val start; /**< Validity start */ - pj_time_val end; /**< Validity end */ - pj_bool_t gmt; /**< Flag if validity date/time - use GMT */ - } validity; /**< Validity */ - - struct { - unsigned cnt; /**< # of entry */ - struct { - pj_ssl_cert_name_type type; - /**< Name type */ - pj_str_t name; /**< The name */ - } *entry; /**< Subject alt name entry */ - } subj_alt_name; /**< Subject alternative - name extension */ - -} pj_ssl_cert_info; - - -/** - * Create credential from files. - * - * @param CA_file The file of trusted CA list. - * @param cert_file The file of certificate. - * @param privkey_file The file of private key. - * @param privkey_pass The password of private key, if any. - * @param p_cert Pointer to credential instance to be created. - * - * @return PJ_SUCCESS when successful. - */ -PJ_DECL(pj_status_t) pj_ssl_cert_load_from_files(pj_pool_t *pool, - const pj_str_t *CA_file, - const pj_str_t *cert_file, - const pj_str_t *privkey_file, - const pj_str_t *privkey_pass, - pj_ssl_cert_t **p_cert); - - -/** - * Dump SSL certificate info. - * - * @param ci The certificate info. - * @param indent String for left indentation. - * @param buf The buffer where certificate info will be printed on. - * @param buf_size The buffer size. - * - * @return The length of the dump result, or -1 when buffer size - * is not sufficient. - */ -PJ_DECL(pj_ssize_t) pj_ssl_cert_info_dump(const pj_ssl_cert_info *ci, - const char *indent, - char *buf, - pj_size_t buf_size); - - -/** - * Get SSL certificate verification error messages from verification status. - * - * @param verify_status The SSL certificate verification status. - * @param error_strings Array of strings to receive the verification error - * messages. - * @param count On input it specifies maximum error messages should be - * retrieved. On output it specifies the number of error - * messages retrieved. - * - * @return PJ_SUCCESS when successful. - */ -PJ_DECL(pj_status_t) pj_ssl_cert_get_verify_status_strings( - pj_uint32_t verify_status, - const char *error_strings[], - unsigned *count); - - -/** - * Cipher suites enumeration. - */ -typedef enum pj_ssl_cipher { - - /* NULL */ - PJ_TLS_NULL_WITH_NULL_NULL = 0x00000000, - - /* TLS/SSLv3 */ - PJ_TLS_RSA_WITH_NULL_MD5 = 0x00000001, - PJ_TLS_RSA_WITH_NULL_SHA = 0x00000002, - PJ_TLS_RSA_WITH_NULL_SHA256 = 0x0000003B, - PJ_TLS_RSA_WITH_RC4_128_MD5 = 0x00000004, - PJ_TLS_RSA_WITH_RC4_128_SHA = 0x00000005, - PJ_TLS_RSA_WITH_3DES_EDE_CBC_SHA = 0x0000000A, - PJ_TLS_RSA_WITH_AES_128_CBC_SHA = 0x0000002F, - PJ_TLS_RSA_WITH_AES_256_CBC_SHA = 0x00000035, - PJ_TLS_RSA_WITH_AES_128_CBC_SHA256 = 0x0000003C, - PJ_TLS_RSA_WITH_AES_256_CBC_SHA256 = 0x0000003D, - PJ_TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA = 0x0000000D, - PJ_TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA = 0x00000010, - PJ_TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA = 0x00000013, - PJ_TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA = 0x00000016, - PJ_TLS_DH_DSS_WITH_AES_128_CBC_SHA = 0x00000030, - PJ_TLS_DH_RSA_WITH_AES_128_CBC_SHA = 0x00000031, - PJ_TLS_DHE_DSS_WITH_AES_128_CBC_SHA = 0x00000032, - PJ_TLS_DHE_RSA_WITH_AES_128_CBC_SHA = 0x00000033, - PJ_TLS_DH_DSS_WITH_AES_256_CBC_SHA = 0x00000036, - PJ_TLS_DH_RSA_WITH_AES_256_CBC_SHA = 0x00000037, - PJ_TLS_DHE_DSS_WITH_AES_256_CBC_SHA = 0x00000038, - PJ_TLS_DHE_RSA_WITH_AES_256_CBC_SHA = 0x00000039, - PJ_TLS_DH_DSS_WITH_AES_128_CBC_SHA256 = 0x0000003E, - PJ_TLS_DH_RSA_WITH_AES_128_CBC_SHA256 = 0x0000003F, - PJ_TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 = 0x00000040, - PJ_TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 = 0x00000067, - PJ_TLS_DH_DSS_WITH_AES_256_CBC_SHA256 = 0x00000068, - PJ_TLS_DH_RSA_WITH_AES_256_CBC_SHA256 = 0x00000069, - PJ_TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 = 0x0000006A, - PJ_TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 = 0x0000006B, - PJ_TLS_DH_anon_WITH_RC4_128_MD5 = 0x00000018, - PJ_TLS_DH_anon_WITH_3DES_EDE_CBC_SHA = 0x0000001B, - PJ_TLS_DH_anon_WITH_AES_128_CBC_SHA = 0x00000034, - PJ_TLS_DH_anon_WITH_AES_256_CBC_SHA = 0x0000003A, - PJ_TLS_DH_anon_WITH_AES_128_CBC_SHA256 = 0x0000006C, - PJ_TLS_DH_anon_WITH_AES_256_CBC_SHA256 = 0x0000006D, - - /* TLS (deprecated) */ - PJ_TLS_RSA_EXPORT_WITH_RC4_40_MD5 = 0x00000003, - PJ_TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5 = 0x00000006, - PJ_TLS_RSA_WITH_IDEA_CBC_SHA = 0x00000007, - PJ_TLS_RSA_EXPORT_WITH_DES40_CBC_SHA = 0x00000008, - PJ_TLS_RSA_WITH_DES_CBC_SHA = 0x00000009, - PJ_TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA = 0x0000000B, - PJ_TLS_DH_DSS_WITH_DES_CBC_SHA = 0x0000000C, - PJ_TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA = 0x0000000E, - PJ_TLS_DH_RSA_WITH_DES_CBC_SHA = 0x0000000F, - PJ_TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA = 0x00000011, - PJ_TLS_DHE_DSS_WITH_DES_CBC_SHA = 0x00000012, - PJ_TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA = 0x00000014, - PJ_TLS_DHE_RSA_WITH_DES_CBC_SHA = 0x00000015, - PJ_TLS_DH_anon_EXPORT_WITH_RC4_40_MD5 = 0x00000017, - PJ_TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA = 0x00000019, - PJ_TLS_DH_anon_WITH_DES_CBC_SHA = 0x0000001A, - - /* SSLv3 */ - PJ_SSL_FORTEZZA_KEA_WITH_NULL_SHA = 0x0000001C, - PJ_SSL_FORTEZZA_KEA_WITH_FORTEZZA_CBC_SHA = 0x0000001D, - PJ_SSL_FORTEZZA_KEA_WITH_RC4_128_SHA = 0x0000001E, - - /* SSLv2 */ - PJ_SSL_CK_RC4_128_WITH_MD5 = 0x00010080, - PJ_SSL_CK_RC4_128_EXPORT40_WITH_MD5 = 0x00020080, - PJ_SSL_CK_RC2_128_CBC_WITH_MD5 = 0x00030080, - PJ_SSL_CK_RC2_128_CBC_EXPORT40_WITH_MD5 = 0x00040080, - PJ_SSL_CK_IDEA_128_CBC_WITH_MD5 = 0x00050080, - PJ_SSL_CK_DES_64_CBC_WITH_MD5 = 0x00060040, - PJ_SSL_CK_DES_192_EDE3_CBC_WITH_MD5 = 0x000700C0 - -} pj_ssl_cipher; - - -/** - * Get cipher list supported by SSL/TLS backend. - * - * @param ciphers The ciphers buffer to receive cipher list. - * @param cipher_num Maximum number of ciphers to be received. - * - * @return PJ_SUCCESS when successful. - */ -PJ_DECL(pj_status_t) pj_ssl_cipher_get_availables(pj_ssl_cipher ciphers[], - unsigned *cipher_num); - - -/** - * Check if the specified cipher is supported by SSL/TLS backend. - * - * @param cipher The cipher. - * - * @return PJ_TRUE when supported. - */ -PJ_DECL(pj_bool_t) pj_ssl_cipher_is_supported(pj_ssl_cipher cipher); - - -/** - * Get cipher name string. - * - * @param cipher The cipher. - * - * @return The cipher name or NULL if cipher is not recognized/ - * supported. - */ -PJ_DECL(const char*) pj_ssl_cipher_name(pj_ssl_cipher cipher); - - -/** - * Get cipher ID from cipher name string. - * - * @param cipher_name The cipher name string. - * - * @return The cipher ID or PJ_TLS_UNKNOWN_CIPHER if the cipher - * name string is not recognized/supported. - */ -PJ_DECL(pj_ssl_cipher) pj_ssl_cipher_id(const char *cipher_name); - - -/** - * This structure contains the callbacks to be called by the secure socket. - */ -typedef struct pj_ssl_sock_cb -{ - /** - * This callback is called when a data arrives as the result of - * pj_ssl_sock_start_read(). - * - * @param ssock The secure socket. - * @param data The buffer containing the new data, if any. If - * the status argument is non-PJ_SUCCESS, this - * argument may be NULL. - * @param size The length of data in the buffer. - * @param status The status of the read operation. This may contain - * non-PJ_SUCCESS for example when the TCP connection - * has been closed. In this case, the buffer may - * contain left over data from previous callback which - * the application may want to process. - * @param remainder If application wishes to leave some data in the - * buffer (common for TCP applications), it should - * move the remainder data to the front part of the - * buffer and set the remainder length here. The value - * of this parameter will be ignored for datagram - * sockets. - * - * @return PJ_TRUE if further read is desired, and PJ_FALSE - * when application no longer wants to receive data. - * Application may destroy the secure socket in the - * callback and return PJ_FALSE here. - */ - pj_bool_t (*on_data_read)(pj_ssl_sock_t *ssock, - void *data, - pj_size_t size, - pj_status_t status, - pj_size_t *remainder); - /** - * This callback is called when a packet arrives as the result of - * pj_ssl_sock_start_recvfrom(). - * - * @param ssock The secure socket. - * @param data The buffer containing the packet, if any. If - * the status argument is non-PJ_SUCCESS, this - * argument will be set to NULL. - * @param size The length of packet in the buffer. If - * the status argument is non-PJ_SUCCESS, this - * argument will be set to zero. - * @param src_addr Source address of the packet. - * @param addr_len Length of the source address. - * @param status This contains - * - * @return PJ_TRUE if further read is desired, and PJ_FALSE - * when application no longer wants to receive data. - * Application may destroy the secure socket in the - * callback and return PJ_FALSE here. - */ - pj_bool_t (*on_data_recvfrom)(pj_ssl_sock_t *ssock, - void *data, - pj_size_t size, - const pj_sockaddr_t *src_addr, - int addr_len, - pj_status_t status); - - /** - * This callback is called when data has been sent. - * - * @param ssock The secure socket. - * @param send_key Key associated with the send operation. - * @param sent If value is positive non-zero it indicates the - * number of data sent. When the value is negative, - * it contains the error code which can be retrieved - * by negating the value (i.e. status=-sent). - * - * @return Application may destroy the secure socket in the - * callback and return PJ_FALSE here. - */ - pj_bool_t (*on_data_sent)(pj_ssl_sock_t *ssock, - pj_ioqueue_op_key_t *send_key, - pj_ssize_t sent); - - /** - * This callback is called when new connection arrives as the result - * of pj_ssl_sock_start_accept(). - * - * @param ssock The secure socket. - * @param newsock The new incoming secure socket. - * @param src_addr The source address of the connection. - * @param addr_len Length of the source address. - * - * @return PJ_TRUE if further accept() is desired, and PJ_FALSE - * when application no longer wants to accept incoming - * connection. Application may destroy the secure socket - * in the callback and return PJ_FALSE here. - */ - pj_bool_t (*on_accept_complete)(pj_ssl_sock_t *ssock, - pj_ssl_sock_t *newsock, - const pj_sockaddr_t *src_addr, - int src_addr_len); - - /** - * This callback is called when pending connect operation has been - * completed. - * - * @param ssock The secure socket. - * @param status The connection result. If connection has been - * successfully established, the status will contain - * PJ_SUCCESS. - * - * @return Application may destroy the secure socket in the - * callback and return PJ_FALSE here. - */ - pj_bool_t (*on_connect_complete)(pj_ssl_sock_t *ssock, - pj_status_t status); - -} pj_ssl_sock_cb; - - -/** - * Enumeration of secure socket protocol types. - */ -typedef enum pj_ssl_sock_proto -{ - PJ_SSL_SOCK_PROTO_DEFAULT, /**< Default protocol of backend. */ - PJ_SSL_SOCK_PROTO_TLS1, /**< TLSv1.0 protocol. */ - PJ_SSL_SOCK_PROTO_SSL3, /**< SSLv3.0 protocol. */ - PJ_SSL_SOCK_PROTO_SSL23, /**< SSLv3.0 but can roll back to - SSLv2.0. */ - PJ_SSL_SOCK_PROTO_SSL2, /**< SSLv2.0 protocol. */ - PJ_SSL_SOCK_PROTO_DTLS1 /**< DTLSv1.0 protocol. */ -} pj_ssl_sock_proto; - - -/** - * Definition of secure socket info structure. - */ -typedef struct pj_ssl_sock_info -{ - /** - * Describes whether secure socket connection is established, i.e: TLS/SSL - * handshaking has been done successfully. - */ - pj_bool_t established; - - /** - * Describes secure socket protocol being used. - */ - pj_ssl_sock_proto proto; - - /** - * Describes cipher suite being used, this will only be set when connection - * is established. - */ - pj_ssl_cipher cipher; - - /** - * Describes local address. - */ - pj_sockaddr local_addr; - - /** - * Describes remote address. - */ - pj_sockaddr remote_addr; - - /** - * Describes active local certificate info. - */ - pj_ssl_cert_info *local_cert_info; - - /** - * Describes active remote certificate info. - */ - pj_ssl_cert_info *remote_cert_info; - - /** - * Status of peer certificate verification. - */ - pj_uint32_t verify_status; - -} pj_ssl_sock_info; - - -/** - * Definition of secure socket creation parameters. - */ -typedef struct pj_ssl_sock_param -{ - /** - * Specifies socket address family, either pj_AF_INET() and pj_AF_INET6(). - * - * Default is pj_AF_INET(). - */ - int sock_af; - - /** - * Specify socket type, either pj_SOCK_DGRAM() or pj_SOCK_STREAM(). - * - * Default is pj_SOCK_STREAM(). - */ - int sock_type; - - /** - * Specify the ioqueue to use. Secure socket uses the ioqueue to perform - * active socket operations, see \ref PJ_ACTIVESOCK for more detail. - */ - pj_ioqueue_t *ioqueue; - - /** - * Specify the timer heap to use. Secure socket uses the timer to provide - * auto cancelation on asynchronous operation when it takes longer time - * than specified timeout period, e.g: security negotiation timeout. - */ - pj_timer_heap_t *timer_heap; - - /** - * Specify secure socket callbacks, see #pj_ssl_sock_cb. - */ - pj_ssl_sock_cb cb; - - /** - * Specify secure socket user data. - */ - void *user_data; - - /** - * Specify security protocol to use, see #pj_ssl_sock_proto. - * - * Default is PJ_SSL_SOCK_PROTO_DEFAULT. - */ - pj_ssl_sock_proto proto; - - /** - * Number of concurrent asynchronous operations that is to be supported - * by the secure socket. This value only affects socket receive and - * accept operations -- the secure socket will issue one or more - * asynchronous read and accept operations based on the value of this - * field. Setting this field to more than one will allow more than one - * incoming data or incoming connections to be processed simultaneously - * on multiprocessor systems, when the ioqueue is polled by more than - * one threads. - * - * The default value is 1. - */ - unsigned async_cnt; - - /** - * The ioqueue concurrency to be forced on the socket when it is - * registered to the ioqueue. See #pj_ioqueue_set_concurrency() for more - * info about ioqueue concurrency. - * - * When this value is -1, the concurrency setting will not be forced for - * this socket, and the socket will inherit the concurrency setting of - * the ioqueue. When this value is zero, the secure socket will disable - * concurrency for the socket. When this value is +1, the secure socket - * will enable concurrency for the socket. - * - * The default value is -1. - */ - int concurrency; - - /** - * If this option is specified, the secure socket will make sure that - * asynchronous send operation with stream oriented socket will only - * call the callback after all data has been sent. This means that the - * secure socket will automatically resend the remaining data until - * all data has been sent. - * - * Please note that when this option is specified, it is possible that - * error is reported after partial data has been sent. Also setting - * this will disable the ioqueue concurrency for the socket. - * - * Default value is 1. - */ - pj_bool_t whole_data; - - /** - * Specify buffer size for sending operation. Buffering sending data - * is used for allowing application to perform multiple outstanding - * send operations. Whenever application specifies this setting too - * small, sending operation may return PJ_ENOMEM. - * - * Default value is 8192 bytes. - */ - pj_size_t send_buffer_size; - - /** - * Specify buffer size for receiving encrypted (and perhaps compressed) - * data on underlying socket. This setting is unused on Symbian, since - * SSL/TLS Symbian backend, CSecureSocket, can use application buffer - * directly. - * - * Default value is 1500. - */ - pj_size_t read_buffer_size; - - /** - * Number of ciphers contained in the specified cipher preference. - * If this is set to zero, then default cipher list of the backend - * will be used. - */ - unsigned ciphers_num; - - /** - * Ciphers and order preference. If empty, then default cipher list and - * its default order of the backend will be used. - */ - pj_ssl_cipher *ciphers; - - /** - * Security negotiation timeout. If this is set to zero (both sec and - * msec), the negotiation doesn't have a timeout. - * - * Default value is zero. - */ - pj_time_val timeout; - - /** - * Specify whether endpoint should verify peer certificate. - * - * Default value is PJ_FALSE. - */ - pj_bool_t verify_peer; - - /** - * When secure socket is acting as server (handles incoming connection), - * it will require the client to provide certificate. - * - * Default value is PJ_FALSE. - */ - pj_bool_t require_client_cert; - - /** - * Server name indication. When secure socket is acting as client - * (perform outgoing connection) and the server may host multiple - * 'virtual' servers at a single underlying network address, setting - * this will allow client to tell the server a name of the server - * it is contacting. - * - * Default value is zero/not-set. - */ - pj_str_t server_name; - - /** - * QoS traffic type to be set on this transport. When application wants - * to apply QoS tagging to the transport, it's preferable to set this - * field rather than \a qos_param fields since this is more portable. - * - * Default value is PJ_QOS_TYPE_BEST_EFFORT. - */ - pj_qos_type qos_type; - - /** - * Set the low level QoS parameters to the transport. This is a lower - * level operation than setting the \a qos_type field and may not be - * supported on all platforms. - * - * By default all settings in this structure are disabled. - */ - pj_qos_params qos_params; - - /** - * Specify if the transport should ignore any errors when setting the QoS - * traffic type/parameters. - * - * Default: PJ_TRUE - */ - pj_bool_t qos_ignore_error; - - -} pj_ssl_sock_param; - - -/** - * Initialize the secure socket parameters for its creation with - * the default values. - * - * @param param The parameter to be initialized. - */ -PJ_DECL(void) pj_ssl_sock_param_default(pj_ssl_sock_param *param); - - -/** - * Create secure socket instance. - * - * @param pool The pool for allocating secure socket instance. - * @param param The secure socket parameter, see #pj_ssl_sock_param. - * @param p_ssock Pointer to secure socket instance to be created. - * - * @return PJ_SUCCESS when successful. - */ -PJ_DECL(pj_status_t) pj_ssl_sock_create(pj_pool_t *pool, - const pj_ssl_sock_param *param, - pj_ssl_sock_t **p_ssock); - - -/** - * Set secure socket certificate or credentials. Credentials may include - * certificate, private key and trusted Certification Authorities list. - * Normally, server socket must provide certificate (and private key). - * Socket client may also need to provide certificate in case requested - * by the server. - * - * @param ssock The secure socket instance. - * @param pool The pool. - * @param cert The endpoint certificate/credentials, see - * #pj_ssl_cert_t. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_ssl_sock_set_certificate( - pj_ssl_sock_t *ssock, - pj_pool_t *pool, - const pj_ssl_cert_t *cert); - - -/** - * Close and destroy the secure socket. - * - * @param ssock The secure socket. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_ssl_sock_close(pj_ssl_sock_t *ssock); - - -/** - * Associate arbitrary data with the secure socket. Application may - * inspect this data in the callbacks and associate it with higher - * level processing. - * - * @param ssock The secure socket. - * @param user_data The user data to be associated with the secure - * socket. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_ssl_sock_set_user_data(pj_ssl_sock_t *ssock, - void *user_data); - -/** - * Retrieve the user data previously associated with this secure - * socket. - * - * @param ssock The secure socket. - * - * @return The user data. - */ -PJ_DECL(void*) pj_ssl_sock_get_user_data(pj_ssl_sock_t *ssock); - - -/** - * Retrieve the local address and port used by specified secure socket. - * - * @param ssock The secure socket. - * @param info The info buffer to be set, see #pj_ssl_sock_info. - * - * @return PJ_SUCCESS on successful. - */ -PJ_DECL(pj_status_t) pj_ssl_sock_get_info(pj_ssl_sock_t *ssock, - pj_ssl_sock_info *info); - - -/** - * Starts read operation on this secure socket. This function will create - * \a async_cnt number of buffers (the \a async_cnt parameter was given - * in \a pj_ssl_sock_create() function) where each buffer is \a buff_size - * long. The buffers are allocated from the specified \a pool. Once the - * buffers are created, it then issues \a async_cnt number of asynchronous - * \a recv() operations to the socket and returns back to caller. Incoming - * data on the socket will be reported back to application via the - * \a on_data_read() callback. - * - * Application only needs to call this function once to initiate read - * operations. Further read operations will be done automatically by the - * secure socket when \a on_data_read() callback returns non-zero. - * - * @param ssock The secure socket. - * @param pool Pool used to allocate buffers for incoming data. - * @param buff_size The size of each buffer, in bytes. - * @param flags Flags to be given to pj_ioqueue_recv(). - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_ssl_sock_start_read(pj_ssl_sock_t *ssock, - pj_pool_t *pool, - unsigned buff_size, - pj_uint32_t flags); - -/** - * Same as #pj_ssl_sock_start_read(), except that the application - * supplies the buffers for the read operation so that the acive socket - * does not have to allocate the buffers. - * - * @param ssock The secure socket. - * @param pool Pool used to allocate buffers for incoming data. - * @param buff_size The size of each buffer, in bytes. - * @param readbuf Array of packet buffers, each has buff_size size. - * @param flags Flags to be given to pj_ioqueue_recv(). - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_ssl_sock_start_read2(pj_ssl_sock_t *ssock, - pj_pool_t *pool, - unsigned buff_size, - void *readbuf[], - pj_uint32_t flags); - -/** - * Same as pj_ssl_sock_start_read(), except that this function is used - * only for datagram sockets, and it will trigger \a on_data_recvfrom() - * callback instead. - * - * @param ssock The secure socket. - * @param pool Pool used to allocate buffers for incoming data. - * @param buff_size The size of each buffer, in bytes. - * @param flags Flags to be given to pj_ioqueue_recvfrom(). - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_ssl_sock_start_recvfrom(pj_ssl_sock_t *ssock, - pj_pool_t *pool, - unsigned buff_size, - pj_uint32_t flags); - -/** - * Same as #pj_ssl_sock_start_recvfrom() except that the recvfrom() - * operation takes the buffer from the argument rather than creating - * new ones. - * - * @param ssock The secure socket. - * @param pool Pool used to allocate buffers for incoming data. - * @param buff_size The size of each buffer, in bytes. - * @param readbuf Array of packet buffers, each has buff_size size. - * @param flags Flags to be given to pj_ioqueue_recvfrom(). - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_ssl_sock_start_recvfrom2(pj_ssl_sock_t *ssock, - pj_pool_t *pool, - unsigned buff_size, - void *readbuf[], - pj_uint32_t flags); - -/** - * Send data using the socket. - * - * @param ssock The secure socket. - * @param send_key The operation key to send the data, which is useful - * if application wants to submit multiple pending - * send operations and want to track which exact data - * has been sent in the \a on_data_sent() callback. - * @param data The data to be sent. This data must remain valid - * until the data has been sent. - * @param size The size of the data. - * @param flags Flags to be given to pj_ioqueue_send(). - * - * @return PJ_SUCCESS if data has been sent immediately, or - * PJ_EPENDING if data cannot be sent immediately or - * PJ_ENOMEM when sending buffer could not handle all - * queued data, see \a send_buffer_size. The callback - * \a on_data_sent() will be called when data is actually - * sent. Any other return value indicates error condition. - */ -PJ_DECL(pj_status_t) pj_ssl_sock_send(pj_ssl_sock_t *ssock, - pj_ioqueue_op_key_t *send_key, - const void *data, - pj_ssize_t *size, - unsigned flags); - -/** - * Send datagram using the socket. - * - * @param ssock The secure socket. - * @param send_key The operation key to send the data, which is useful - * if application wants to submit multiple pending - * send operations and want to track which exact data - * has been sent in the \a on_data_sent() callback. - * @param data The data to be sent. This data must remain valid - * until the data has been sent. - * @param size The size of the data. - * @param flags Flags to be given to pj_ioqueue_send(). - * @param addr The destination address. - * @param addr_len Length of buffer containing destination address. - * - * @return PJ_SUCCESS if data has been sent immediately, or - * PJ_EPENDING if data cannot be sent immediately. In - * this case the \a on_data_sent() callback will be - * called when data is actually sent. Any other return - * value indicates error condition. - */ -PJ_DECL(pj_status_t) pj_ssl_sock_sendto(pj_ssl_sock_t *ssock, - pj_ioqueue_op_key_t *send_key, - const void *data, - pj_ssize_t *size, - unsigned flags, - const pj_sockaddr_t *addr, - int addr_len); - - -/** - * Starts asynchronous socket accept() operations on this secure socket. - * This function will issue \a async_cnt number of asynchronous \a accept() - * operations to the socket and returns back to caller. Incoming - * connection on the socket will be reported back to application via the - * \a on_accept_complete() callback. - * - * Application only needs to call this function once to initiate accept() - * operations. Further accept() operations will be done automatically by - * the secure socket when \a on_accept_complete() callback returns non-zero. - * - * @param ssock The secure socket. - * @param pool Pool used to allocate some internal data for the - * operation. - * @param localaddr Local address to bind on. - * @param addr_len Length of buffer containing local address. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_ssl_sock_start_accept(pj_ssl_sock_t *ssock, - pj_pool_t *pool, - const pj_sockaddr_t *local_addr, - int addr_len); - - -/** - * Starts asynchronous socket connect() operation and SSL/TLS handshaking - * for this socket. Once the connection is done (either successfully or not), - * the \a on_connect_complete() callback will be called. - * - * @param ssock The secure socket. - * @param pool The pool to allocate some internal data for the - * operation. - * @param localaddr Local address. - * @param remaddr Remote address. - * @param addr_len Length of buffer containing above addresses. - * - * @return PJ_SUCCESS if connection can be established immediately - * or PJ_EPENDING if connection cannot be established - * immediately. In this case the \a on_connect_complete() - * callback will be called when connection is complete. - * Any other return value indicates error condition. - */ -PJ_DECL(pj_status_t) pj_ssl_sock_start_connect(pj_ssl_sock_t *ssock, - pj_pool_t *pool, - const pj_sockaddr_t *localaddr, - const pj_sockaddr_t *remaddr, - int addr_len); - - -/** - * Starts SSL/TLS renegotiation over an already established SSL connection - * for this socket. This operation is performed transparently, no callback - * will be called once the renegotiation completed successfully. However, - * when the renegotiation fails, the connection will be closed and callback - * \a on_data_read() will be invoked with non-PJ_SUCCESS status code. - * - * @param ssock The secure socket. - * - * @return PJ_SUCCESS if renegotiation is completed immediately, - * or PJ_EPENDING if renegotiation has been started and - * waiting for completion, or the appropriate error code - * on failure. - */ -PJ_DECL(pj_status_t) pj_ssl_sock_renegotiate(pj_ssl_sock_t *ssock); - - -/** - * @} - */ - -PJ_END_DECL - -#endif /* __PJ_SSL_SOCK_H__ */ diff --git a/res/pjproject/pjlib/include/pj/string.h b/res/pjproject/pjlib/include/pj/string.h deleted file mode 100644 index 6df22f12af..0000000000 --- a/res/pjproject/pjlib/include/pj/string.h +++ /dev/null @@ -1,692 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_STRING_H__ -#define __PJ_STRING_H__ - -/** - * @file string.h - * @brief PJLIB String Operations. - */ - -#include -#include - - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_PSTR String Operations - * @ingroup PJ_DS - * @{ - * This module provides string manipulation API. - * - * \section pj_pstr_not_null_sec PJLIB String is NOT Null Terminated! - * - * That is the first information that developers need to know. Instead - * of using normal C string, strings in PJLIB are represented as - * pj_str_t structure below: - * - *
- *   typedef struct pj_str_t
- *   {
- *       char      *ptr;
- *       pj_size_t  slen;
- *   } pj_str_t;
- * 
- * - * There are some advantages of using this approach: - * - the string can point to arbitrary location in memory even - * if the string in that location is not null terminated. This is - * most usefull for text parsing, where the parsed text can just - * point to the original text in the input. If we use C string, - * then we will have to copy the text portion from the input - * to a string variable. - * - because the length of the string is known, string copy operation - * can be made more efficient. - * - * Most of APIs in PJLIB that expect or return string will represent - * the string as pj_str_t instead of normal C string. - * - * \section pj_pstr_examples_sec Examples - * - * For some examples, please see: - * - @ref page_pjlib_string_test - */ - -/** - * Create string initializer from a normal C string. - * - * @param str Null terminated string to be stored. - * - * @return pj_str_t. - */ -PJ_IDECL(pj_str_t) pj_str(char *str); - -/** - * Create constant string from normal C string. - * - * @param str The string to be initialized. - * @param s Null terminated string. - * - * @return pj_str_t. - */ -PJ_INLINE(const pj_str_t*) pj_cstr(pj_str_t *str, const char *s) -{ - str->ptr = (char*)s; - str->slen = s ? (pj_ssize_t)strlen(s) : 0; - return str; -} - -/** - * Set the pointer and length to the specified value. - * - * @param str the string. - * @param ptr pointer to set. - * @param length length to set. - * - * @return the string. - */ -PJ_INLINE(pj_str_t*) pj_strset( pj_str_t *str, char *ptr, pj_size_t length) -{ - str->ptr = ptr; - str->slen = (pj_ssize_t)length; - return str; -} - -/** - * Set the pointer and length of the string to the source string, which - * must be NULL terminated. - * - * @param str the string. - * @param src pointer to set. - * - * @return the string. - */ -PJ_INLINE(pj_str_t*) pj_strset2( pj_str_t *str, char *src) -{ - str->ptr = src; - str->slen = src ? (pj_ssize_t)strlen(src) : 0; - return str; -} - -/** - * Set the pointer and the length of the string. - * - * @param str The target string. - * @param begin The start of the string. - * @param end The end of the string. - * - * @return the target string. - */ -PJ_INLINE(pj_str_t*) pj_strset3( pj_str_t *str, char *begin, char *end ) -{ - str->ptr = begin; - str->slen = (pj_ssize_t)(end-begin); - return str; -} - -/** - * Assign string. - * - * @param dst The target string. - * @param src The source string. - * - * @return the target string. - */ -PJ_IDECL(pj_str_t*) pj_strassign( pj_str_t *dst, pj_str_t *src ); - -/** - * Copy string contents. - * - * @param dst The target string. - * @param src The source string. - * - * @return the target string. - */ -PJ_IDECL(pj_str_t*) pj_strcpy(pj_str_t *dst, const pj_str_t *src); - -/** - * Copy string contents. - * - * @param dst The target string. - * @param src The source string. - * - * @return the target string. - */ -PJ_IDECL(pj_str_t*) pj_strcpy2(pj_str_t *dst, const char *src); - -/** - * Copy source string to destination up to the specified max length. - * - * @param dst The target string. - * @param src The source string. - * @param max Maximum characters to copy. - * - * @return the target string. - */ -PJ_IDECL(pj_str_t*) pj_strncpy(pj_str_t *dst, const pj_str_t *src, - pj_ssize_t max); - -/** - * Copy source string to destination up to the specified max length, - * and NULL terminate the destination. If source string length is - * greater than or equal to max, then max-1 will be copied. - * - * @param dst The target string. - * @param src The source string. - * @param max Maximum characters to copy. - * - * @return the target string. - */ -PJ_IDECL(pj_str_t*) pj_strncpy_with_null(pj_str_t *dst, const pj_str_t *src, - pj_ssize_t max); - -/** - * Duplicate string. - * - * @param pool The pool. - * @param dst The string result. - * @param src The string to duplicate. - * - * @return the string result. - */ -PJ_IDECL(pj_str_t*) pj_strdup(pj_pool_t *pool, - pj_str_t *dst, - const pj_str_t *src); - -/** - * Duplicate string and NULL terminate the destination string. - * - * @param pool The pool. - * @param dst The string result. - * @param src The string to duplicate. - * - * @return The string result. - */ -PJ_IDECL(pj_str_t*) pj_strdup_with_null(pj_pool_t *pool, - pj_str_t *dst, - const pj_str_t *src); - -/** - * Duplicate string. - * - * @param pool The pool. - * @param dst The string result. - * @param src The string to duplicate. - * - * @return the string result. - */ -PJ_IDECL(pj_str_t*) pj_strdup2(pj_pool_t *pool, - pj_str_t *dst, - const char *src); - -/** - * Duplicate string and NULL terminate the destination string. - * - * @param pool The pool. - * @param dst The string result. - * @param src The string to duplicate. - * - * @return The string result. - */ -PJ_IDECL(pj_str_t*) pj_strdup2_with_null(pj_pool_t *pool, - pj_str_t *dst, - const char *src); - - -/** - * Duplicate string. - * - * @param pool The pool. - * @param src The string to duplicate. - * - * @return the string result. - */ -PJ_IDECL(pj_str_t) pj_strdup3(pj_pool_t *pool, const char *src); - -/** - * Return the length of the string. - * - * @param str The string. - * - * @return the length of the string. - */ -PJ_INLINE(pj_size_t) pj_strlen( const pj_str_t *str ) -{ - return str->slen; -} - -/** - * Return the pointer to the string data. - * - * @param str The string. - * - * @return the pointer to the string buffer. - */ -PJ_INLINE(const char*) pj_strbuf( const pj_str_t *str ) -{ - return str->ptr; -} - -/** - * Compare strings. - * - * @param str1 The string to compare. - * @param str2 The string to compare. - * - * @return - * - < 0 if str1 is less than str2 - * - 0 if str1 is identical to str2 - * - > 0 if str1 is greater than str2 - */ -PJ_IDECL(int) pj_strcmp( const pj_str_t *str1, const pj_str_t *str2); - -/** - * Compare strings. - * - * @param str1 The string to compare. - * @param str2 The string to compare. - * - * @return - * - < 0 if str1 is less than str2 - * - 0 if str1 is identical to str2 - * - > 0 if str1 is greater than str2 - */ -PJ_IDECL(int) pj_strcmp2( const pj_str_t *str1, const char *str2 ); - -/** - * Compare strings. - * - * @param str1 The string to compare. - * @param str2 The string to compare. - * @param len The maximum number of characters to compare. - * - * @return - * - < 0 if str1 is less than str2 - * - 0 if str1 is identical to str2 - * - > 0 if str1 is greater than str2 - */ -PJ_IDECL(int) pj_strncmp( const pj_str_t *str1, const pj_str_t *str2, - pj_size_t len); - -/** - * Compare strings. - * - * @param str1 The string to compare. - * @param str2 The string to compare. - * @param len The maximum number of characters to compare. - * - * @return - * - < 0 if str1 is less than str2 - * - 0 if str1 is identical to str2 - * - > 0 if str1 is greater than str2 - */ -PJ_IDECL(int) pj_strncmp2( const pj_str_t *str1, const char *str2, - pj_size_t len); - -/** - * Perform case-insensitive comparison to the strings. - * - * @param str1 The string to compare. - * @param str2 The string to compare. - * - * @return - * - < 0 if str1 is less than str2 - * - 0 if str1 is equal to str2 - * - > 0 if str1 is greater than str2 - */ -PJ_IDECL(int) pj_stricmp(const pj_str_t *str1, const pj_str_t *str2); - -/** - * Perform lowercase comparison to the strings which consists of only - * alnum characters. More over, it will only return non-zero if both - * strings are not equal, not the usual negative or positive value. - * - * If non-alnum inputs are given, then the function may mistakenly - * treat two strings as equal. - * - * @param str1 The string to compare. - * @param str2 The string to compare. - * @param len The length to compare. - * - * @return - * - 0 if str1 is equal to str2 - * - (-1) if not equal. - */ -#if defined(PJ_HAS_STRICMP_ALNUM) && PJ_HAS_STRICMP_ALNUM!=0 -PJ_IDECL(int) strnicmp_alnum(const char *str1, const char *str2, - int len); -#else -#define strnicmp_alnum pj_ansi_strnicmp -#endif - -/** - * Perform lowercase comparison to the strings which consists of only - * alnum characters. More over, it will only return non-zero if both - * strings are not equal, not the usual negative or positive value. - * - * If non-alnum inputs are given, then the function may mistakenly - * treat two strings as equal. - * - * @param str1 The string to compare. - * @param str2 The string to compare. - * - * @return - * - 0 if str1 is equal to str2 - * - (-1) if not equal. - */ -#if defined(PJ_HAS_STRICMP_ALNUM) && PJ_HAS_STRICMP_ALNUM!=0 -PJ_IDECL(int) pj_stricmp_alnum(const pj_str_t *str1, const pj_str_t *str2); -#else -#define pj_stricmp_alnum pj_stricmp -#endif - -/** - * Perform case-insensitive comparison to the strings. - * - * @param str1 The string to compare. - * @param str2 The string to compare. - * - * @return - * - < 0 if str1 is less than str2 - * - 0 if str1 is identical to str2 - * - > 0 if str1 is greater than str2 - */ -PJ_IDECL(int) pj_stricmp2( const pj_str_t *str1, const char *str2); - -/** - * Perform case-insensitive comparison to the strings. - * - * @param str1 The string to compare. - * @param str2 The string to compare. - * @param len The maximum number of characters to compare. - * - * @return - * - < 0 if str1 is less than str2 - * - 0 if str1 is identical to str2 - * - > 0 if str1 is greater than str2 - */ -PJ_IDECL(int) pj_strnicmp( const pj_str_t *str1, const pj_str_t *str2, - pj_size_t len); - -/** - * Perform case-insensitive comparison to the strings. - * - * @param str1 The string to compare. - * @param str2 The string to compare. - * @param len The maximum number of characters to compare. - * - * @return - * - < 0 if str1 is less than str2 - * - 0 if str1 is identical to str2 - * - > 0 if str1 is greater than str2 - */ -PJ_IDECL(int) pj_strnicmp2( const pj_str_t *str1, const char *str2, - pj_size_t len); - -/** - * Concatenate strings. - * - * @param dst The destination string. - * @param src The source string. - */ -PJ_IDECL(void) pj_strcat(pj_str_t *dst, const pj_str_t *src); - - -/** - * Concatenate strings. - * - * @param dst The destination string. - * @param src The source string. - */ -PJ_IDECL(void) pj_strcat2(pj_str_t *dst, const char *src); - - -/** - * Finds a character in a string. - * - * @param str The string. - * @param chr The character to find. - * - * @return the pointer to first character found, or NULL. - */ -PJ_INLINE(char*) pj_strchr( const pj_str_t *str, int chr) -{ - return (char*) memchr((char*)str->ptr, chr, str->slen); -} - -/** - * Find the occurence of a substring substr in string str. - * - * @param str The string to search. - * @param substr The string to search fo. - * - * @return the pointer to the position of substr in str, or NULL. Note - * that if str is not NULL terminated, the returned pointer - * is pointing to non-NULL terminated string. - */ -PJ_DECL(char*) pj_strstr(const pj_str_t *str, const pj_str_t *substr); - -/** - * Performs substring lookup like pj_strstr() but ignores the case of - * both strings. - * - * @param str The string to search. - * @param substr The string to search fo. - * - * @return the pointer to the position of substr in str, or NULL. Note - * that if str is not NULL terminated, the returned pointer - * is pointing to non-NULL terminated string. - */ -PJ_DECL(char*) pj_stristr(const pj_str_t *str, const pj_str_t *substr); - -/** - * Remove (trim) leading whitespaces from the string. - * - * @param str The string. - * - * @return the string. - */ -PJ_DECL(pj_str_t*) pj_strltrim( pj_str_t *str ); - -/** - * Remove (trim) the trailing whitespaces from the string. - * - * @param str The string. - * - * @return the string. - */ -PJ_DECL(pj_str_t*) pj_strrtrim( pj_str_t *str ); - -/** - * Remove (trim) leading and trailing whitespaces from the string. - * - * @param str The string. - * - * @return the string. - */ -PJ_IDECL(pj_str_t*) pj_strtrim( pj_str_t *str ); - -/** - * Initialize the buffer with some random string. Note that the - * generated string is not NULL terminated. - * - * @param str the string to store the result. - * @param length the length of the random string to generate. - * - * @return the string. - */ -PJ_DECL(char*) pj_create_random_string(char *str, pj_size_t length); - -/** - * Convert string to unsigned integer. The conversion will stop as - * soon as non-digit character is found or all the characters have - * been processed. - * - * @param str the string. - * - * @return the unsigned integer. - */ -PJ_DECL(unsigned long) pj_strtoul(const pj_str_t *str); - -/** - * Convert strings to an unsigned long-integer value. - * This function stops reading the string input either when the number - * of characters has exceeded the length of the input or it has read - * the first character it cannot recognize as part of a number, that is - * a character greater than or equal to base. - * - * @param str The input string. - * @param endptr Optional pointer to receive the remainder/unparsed - * portion of the input. - * @param base Number base to use. - * - * @return the unsigned integer number. - */ -PJ_DECL(unsigned long) pj_strtoul2(const pj_str_t *str, pj_str_t *endptr, - unsigned base); - -/** - * Utility to convert unsigned integer to string. Note that the - * string will be NULL terminated. - * - * @param val the unsigned integer value. - * @param buf the buffer - * - * @return the number of characters written - */ -PJ_DECL(int) pj_utoa(unsigned long val, char *buf); - -/** - * Convert unsigned integer to string with minimum digits. Note that the - * string will be NULL terminated. - * - * @param val The unsigned integer value. - * @param buf The buffer. - * @param min_dig Minimum digits to be printed, or zero to specify no - * minimum digit. - * @param pad The padding character to be put in front of the string - * when the digits is less than minimum. - * - * @return the number of characters written. - */ -PJ_DECL(int) pj_utoa_pad( unsigned long val, char *buf, int min_dig, int pad); - - -/** - * Fill the memory location with zero. - * - * @param dst The destination buffer. - * @param size The number of bytes. - */ -PJ_INLINE(void) pj_bzero(void *dst, pj_size_t size) -{ -#if defined(PJ_HAS_BZERO) && PJ_HAS_BZERO!=0 - bzero(dst, size); -#else - memset(dst, 0, size); -#endif -} - - -/** - * Fill the memory location with value. - * - * @param dst The destination buffer. - * @param c Character to set. - * @param size The number of characters. - * - * @return the value of dst. - */ -PJ_INLINE(void*) pj_memset(void *dst, int c, pj_size_t size) -{ - return memset(dst, c, size); -} - -/** - * Copy buffer. - * - * @param dst The destination buffer. - * @param src The source buffer. - * @param size The size to copy. - * - * @return the destination buffer. - */ -PJ_INLINE(void*) pj_memcpy(void *dst, const void *src, pj_size_t size) -{ - return memcpy(dst, src, size); -} - -/** - * Move memory. - * - * @param dst The destination buffer. - * @param src The source buffer. - * @param size The size to copy. - * - * @return the destination buffer. - */ -PJ_INLINE(void*) pj_memmove(void *dst, const void *src, pj_size_t size) -{ - return memmove(dst, src, size); -} - -/** - * Compare buffers. - * - * @param buf1 The first buffer. - * @param buf2 The second buffer. - * @param size The size to compare. - * - * @return negative, zero, or positive value. - */ -PJ_INLINE(int) pj_memcmp(const void *buf1, const void *buf2, pj_size_t size) -{ - return memcmp(buf1, buf2, size); -} - -/** - * Find character in the buffer. - * - * @param buf The buffer. - * @param c The character to find. - * @param size The size to check. - * - * @return the pointer to location where the character is found, or NULL if - * not found. - */ -PJ_INLINE(void*) pj_memchr(const void *buf, int c, pj_size_t size) -{ - return (void*)memchr((void*)buf, c, size); -} - - -/** - * @} - */ - -#if PJ_FUNCTIONS_ARE_INLINED -# include -#endif - -PJ_END_DECL - -#endif /* __PJ_STRING_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/string_i.h b/res/pjproject/pjlib/include/pj/string_i.h deleted file mode 100644 index 98b97dc640..0000000000 --- a/res/pjproject/pjlib/include/pj/string_i.h +++ /dev/null @@ -1,371 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include - -PJ_IDEF(pj_str_t) pj_str(char *str) -{ - pj_str_t dst; - dst.ptr = str; - dst.slen = str ? pj_ansi_strlen(str) : 0; - return dst; -} - -PJ_IDEF(pj_str_t*) pj_strdup(pj_pool_t *pool, - pj_str_t *dst, - const pj_str_t *src) -{ - /* Without this, destination will be corrupted */ - if (dst == src) - return dst; - - if (src->slen) { - dst->ptr = (char*)pj_pool_alloc(pool, src->slen); - pj_memcpy(dst->ptr, src->ptr, src->slen); - } - dst->slen = src->slen; - return dst; -} - -PJ_IDEF(pj_str_t*) pj_strdup_with_null( pj_pool_t *pool, - pj_str_t *dst, - const pj_str_t *src) -{ - dst->ptr = (char*)pj_pool_alloc(pool, src->slen+1); - if (src->slen) { - pj_memcpy(dst->ptr, src->ptr, src->slen); - } - dst->slen = src->slen; - dst->ptr[dst->slen] = '\0'; - return dst; -} - -PJ_IDEF(pj_str_t*) pj_strdup2(pj_pool_t *pool, - pj_str_t *dst, - const char *src) -{ - dst->slen = src ? pj_ansi_strlen(src) : 0; - if (dst->slen) { - dst->ptr = (char*)pj_pool_alloc(pool, dst->slen); - pj_memcpy(dst->ptr, src, dst->slen); - } else { - dst->ptr = NULL; - } - return dst; -} - -PJ_IDEF(pj_str_t*) pj_strdup2_with_null( pj_pool_t *pool, - pj_str_t *dst, - const char *src) -{ - dst->slen = src ? pj_ansi_strlen(src) : 0; - dst->ptr = (char*)pj_pool_alloc(pool, dst->slen+1); - if (dst->slen) { - pj_memcpy(dst->ptr, src, dst->slen); - } - dst->ptr[dst->slen] = '\0'; - return dst; -} - -PJ_IDEF(pj_str_t) pj_strdup3(pj_pool_t *pool, const char *src) -{ - pj_str_t temp; - pj_strdup2(pool, &temp, src); - return temp; -} - -PJ_IDEF(pj_str_t*) pj_strassign( pj_str_t *dst, pj_str_t *src ) -{ - dst->ptr = src->ptr; - dst->slen = src->slen; - return dst; -} - -PJ_IDEF(pj_str_t*) pj_strcpy(pj_str_t *dst, const pj_str_t *src) -{ - dst->slen = src->slen; - if (src->slen > 0) - pj_memcpy(dst->ptr, src->ptr, src->slen); - return dst; -} - -PJ_IDEF(pj_str_t*) pj_strcpy2(pj_str_t *dst, const char *src) -{ - dst->slen = src ? pj_ansi_strlen(src) : 0; - if (dst->slen > 0) - pj_memcpy(dst->ptr, src, dst->slen); - return dst; -} - -PJ_IDEF(pj_str_t*) pj_strncpy( pj_str_t *dst, const pj_str_t *src, - pj_ssize_t max) -{ - if (max > src->slen) max = src->slen; - pj_memcpy(dst->ptr, src->ptr, max); - dst->slen = max; - return dst; -} - -PJ_IDEF(pj_str_t*) pj_strncpy_with_null( pj_str_t *dst, const pj_str_t *src, - pj_ssize_t max) -{ - if (max <= src->slen) - max = max-1; - else - max = src->slen; - - pj_memcpy(dst->ptr, src->ptr, max); - dst->ptr[max] = '\0'; - dst->slen = max; - return dst; -} - - -PJ_IDEF(int) pj_strcmp( const pj_str_t *str1, const pj_str_t *str2) -{ - if (str1->slen == 0) { - return str2->slen==0 ? 0 : -1; - } else if (str2->slen == 0) { - return 1; - } else { - int min = (str1->slen < str2->slen)? str1->slen : str2->slen; - int res = pj_memcmp(str1->ptr, str2->ptr, min); - if (res == 0) { - return (str1->slen < str2->slen) ? -1 : - (str1->slen == str2->slen ? 0 : 1); - } else { - return res; - } - } -} - -PJ_IDEF(int) pj_strncmp( const pj_str_t *str1, const pj_str_t *str2, - pj_size_t len) -{ - pj_str_t copy1, copy2; - - if (len < (unsigned)str1->slen) { - copy1.ptr = str1->ptr; - copy1.slen = len; - str1 = ©1; - } - - if (len < (unsigned)str2->slen) { - copy2.ptr = str2->ptr; - copy2.slen = len; - str2 = ©2; - } - - return pj_strcmp(str1, str2); -} - -PJ_IDEF(int) pj_strncmp2( const pj_str_t *str1, const char *str2, - pj_size_t len) -{ - pj_str_t copy2; - - if (str2) { - copy2.ptr = (char*)str2; - copy2.slen = pj_ansi_strlen(str2); - } else { - copy2.slen = 0; - } - - return pj_strncmp(str1, ©2, len); -} - -PJ_IDEF(int) pj_strcmp2( const pj_str_t *str1, const char *str2 ) -{ - pj_str_t copy2; - - if (str2) { - copy2.ptr = (char*)str2; - copy2.slen = pj_ansi_strlen(str2); - } else { - copy2.ptr = NULL; - copy2.slen = 0; - } - - return pj_strcmp(str1, ©2); -} - -PJ_IDEF(int) pj_stricmp( const pj_str_t *str1, const pj_str_t *str2) -{ - if (str1->slen == 0) { - return str2->slen==0 ? 0 : -1; - } else if (str2->slen == 0) { - return 1; - } else { - int min = (str1->slen < str2->slen)? str1->slen : str2->slen; - int res = pj_ansi_strnicmp(str1->ptr, str2->ptr, min); - if (res == 0) { - return (str1->slen < str2->slen) ? -1 : - (str1->slen == str2->slen ? 0 : 1); - } else { - return res; - } - } -} - -#if defined(PJ_HAS_STRICMP_ALNUM) && PJ_HAS_STRICMP_ALNUM!=0 -PJ_IDEF(int) strnicmp_alnum( const char *str1, const char *str2, - int len) -{ - if (len==0) - return 0; - else { - register const pj_uint32_t *p1 = (pj_uint32_t*)str1, - *p2 = (pj_uint32_t*)str2; - while (len > 3 && (*p1 & 0x5F5F5F5F)==(*p2 & 0x5F5F5F5F)) - ++p1, ++p2, len-=4; - - if (len > 3) - return -1; -#if defined(PJ_IS_LITTLE_ENDIAN) && PJ_IS_LITTLE_ENDIAN!=0 - else if (len==3) - return ((*p1 & 0x005F5F5F)==(*p2 & 0x005F5F5F)) ? 0 : -1; - else if (len==2) - return ((*p1 & 0x00005F5F)==(*p2 & 0x00005F5F)) ? 0 : -1; - else if (len==1) - return ((*p1 & 0x0000005F)==(*p2 & 0x0000005F)) ? 0 : -1; -#else - else if (len==3) - return ((*p1 & 0x5F5F5F00)==(*p2 & 0x5F5F5F00)) ? 0 : -1; - else if (len==2) - return ((*p1 & 0x5F5F0000)==(*p2 & 0x5F5F0000)) ? 0 : -1; - else if (len==1) - return ((*p1 & 0x5F000000)==(*p2 & 0x5F000000)) ? 0 : -1; -#endif - else - return 0; - } -} - -PJ_IDEF(int) pj_stricmp_alnum(const pj_str_t *str1, const pj_str_t *str2) -{ - register int len = str1->slen; - - if (len != str2->slen) { - return (len < str2->slen) ? -1 : 1; - } else if (len == 0) { - return 0; - } else { - register const pj_uint32_t *p1 = (pj_uint32_t*)str1->ptr, - *p2 = (pj_uint32_t*)str2->ptr; - while (len > 3 && (*p1 & 0x5F5F5F5F)==(*p2 & 0x5F5F5F5F)) - ++p1, ++p2, len-=4; - - if (len > 3) - return -1; -#if defined(PJ_IS_LITTLE_ENDIAN) && PJ_IS_LITTLE_ENDIAN!=0 - else if (len==3) - return ((*p1 & 0x005F5F5F)==(*p2 & 0x005F5F5F)) ? 0 : -1; - else if (len==2) - return ((*p1 & 0x00005F5F)==(*p2 & 0x00005F5F)) ? 0 : -1; - else if (len==1) - return ((*p1 & 0x0000005F)==(*p2 & 0x0000005F)) ? 0 : -1; -#else - else if (len==3) - return ((*p1 & 0x5F5F5F00)==(*p2 & 0x5F5F5F00)) ? 0 : -1; - else if (len==2) - return ((*p1 & 0x5F5F0000)==(*p2 & 0x5F5F0000)) ? 0 : -1; - else if (len==1) - return ((*p1 & 0x5F000000)==(*p2 & 0x5F000000)) ? 0 : -1; -#endif - else - return 0; - } -} -#endif /* PJ_HAS_STRICMP_ALNUM */ - -PJ_IDEF(int) pj_stricmp2( const pj_str_t *str1, const char *str2) -{ - pj_str_t copy2; - - if (str2) { - copy2.ptr = (char*)str2; - copy2.slen = pj_ansi_strlen(str2); - } else { - copy2.ptr = NULL; - copy2.slen = 0; - } - - return pj_stricmp(str1, ©2); -} - -PJ_IDEF(int) pj_strnicmp( const pj_str_t *str1, const pj_str_t *str2, - pj_size_t len) -{ - pj_str_t copy1, copy2; - - if (len < (unsigned)str1->slen) { - copy1.ptr = str1->ptr; - copy1.slen = len; - str1 = ©1; - } - - if (len < (unsigned)str2->slen) { - copy2.ptr = str2->ptr; - copy2.slen = len; - str2 = ©2; - } - - return pj_stricmp(str1, str2); -} - -PJ_IDEF(int) pj_strnicmp2( const pj_str_t *str1, const char *str2, - pj_size_t len) -{ - pj_str_t copy2; - - if (str2) { - copy2.ptr = (char*)str2; - copy2.slen = pj_ansi_strlen(str2); - } else { - copy2.slen = 0; - } - - return pj_strnicmp(str1, ©2, len); -} - -PJ_IDEF(void) pj_strcat(pj_str_t *dst, const pj_str_t *src) -{ - if (src->slen) { - pj_memcpy(dst->ptr + dst->slen, src->ptr, src->slen); - dst->slen += src->slen; - } -} - -PJ_IDEF(void) pj_strcat2(pj_str_t *dst, const char *str) -{ - unsigned len = str? pj_ansi_strlen(str) : 0; - if (len) { - pj_memcpy(dst->ptr + dst->slen, str, len); - dst->slen += len; - } -} - -PJ_IDEF(pj_str_t*) pj_strtrim( pj_str_t *str ) -{ - pj_strltrim(str); - pj_strrtrim(str); - return str; -} - diff --git a/res/pjproject/pjlib/include/pj/timer.h b/res/pjproject/pjlib/include/pj/timer.h deleted file mode 100644 index 24d2bcb533..0000000000 --- a/res/pjproject/pjlib/include/pj/timer.h +++ /dev/null @@ -1,272 +0,0 @@ -/* $Id$ */ -/* - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#ifndef __PJ_TIMER_H__ -#define __PJ_TIMER_H__ - -/** - * @file timer.h - * @brief Timer Heap - */ - -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJ_TIMER Timer Heap Management. - * @ingroup PJ_MISC - * @brief - * The timer scheduling implementation here is based on ACE library's - * ACE_Timer_Heap, with only little modification to suit our library's style - * (I even left most of the comments in the original source). - * - * To quote the original quote in ACE_Timer_Heap_T class: - * - * This implementation uses a heap-based callout queue of - * absolute times. Therefore, in the average and worst case, - * scheduling, canceling, and expiring timers is O(log N) (where - * N is the total number of timers). In addition, we can also - * preallocate as many \a ACE_Timer_Nodes as there are slots in - * the heap. This allows us to completely remove the need for - * dynamic memory allocation, which is important for real-time - * systems. - * - * You can find the fine ACE library at: - * http://www.cs.wustl.edu/~schmidt/ACE.html - * - * ACE is Copyright (C)1993-2006 Douglas C. Schmidt - * - * @{ - * - * \section pj_timer_examples_sec Examples - * - * For some examples on how to use the timer heap, please see the link below. - * - * - \ref page_pjlib_timer_test - */ - - -/** - * The type for internal timer ID. - */ -typedef int pj_timer_id_t; - -/** - * Forward declaration for pj_timer_entry. - */ -struct pj_timer_entry; - -/** - * The type of callback function to be called by timer scheduler when a timer - * has expired. - * - * @param timer_heap The timer heap. - * @param entry Timer entry which timer's has expired. - */ -typedef void pj_timer_heap_callback(pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry); - - -/** - * This structure represents an entry to the timer. - */ -struct pj_timer_entry -{ - /** - * User data to be associated with this entry. - * Applications normally will put the instance of object that - * owns the timer entry in this field. - */ - void *user_data; - - /** - * Arbitrary ID assigned by the user/owner of this entry. - * Applications can use this ID to distinguish multiple - * timer entries that share the same callback and user_data. - */ - int id; - - /** - * Callback to be called when the timer expires. - */ - pj_timer_heap_callback *cb; - - /** - * Internal unique timer ID, which is assigned by the timer heap. - * Application should not touch this ID. - */ - pj_timer_id_t _timer_id; - - /** - * The future time when the timer expires, which the value is updated - * by timer heap when the timer is scheduled. - */ - pj_time_val _timer_value; -}; - - -/** - * Calculate memory size required to create a timer heap. - * - * @param count Number of timer entries to be supported. - * @return Memory size requirement in bytes. - */ -PJ_DECL(pj_size_t) pj_timer_heap_mem_size(pj_size_t count); - -/** - * Create a timer heap. - * - * @param pool The pool where allocations in the timer heap will be - * allocated. The timer heap will dynamicly allocate - * more storate from the pool if the number of timer - * entries registered is more than the size originally - * requested when calling this function. - * @param count The maximum number of timer entries to be supported - * initially. If the application registers more entries - * during runtime, then the timer heap will resize. - * @param ht Pointer to receive the created timer heap. - * - * @return PJ_SUCCESS, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_timer_heap_create( pj_pool_t *pool, - pj_size_t count, - pj_timer_heap_t **ht); - -/** - * Destroy the timer heap. - * - * @param ht The timer heap. - */ -PJ_DECL(void) pj_timer_heap_destroy( pj_timer_heap_t *ht ); - - -/** - * Set lock object to be used by the timer heap. By default, the timer heap - * uses dummy synchronization. - * - * @param ht The timer heap. - * @param lock The lock object to be used for synchronization. - * @param auto_del If nonzero, the lock object will be destroyed when - * the timer heap is destroyed. - */ -PJ_DECL(void) pj_timer_heap_set_lock( pj_timer_heap_t *ht, - pj_lock_t *lock, - pj_bool_t auto_del ); - -/** - * Set maximum number of timed out entries to process in a single poll. - * - * @param ht The timer heap. - * @param count Number of entries. - * - * @return The old number. - */ -PJ_DECL(unsigned) pj_timer_heap_set_max_timed_out_per_poll(pj_timer_heap_t *ht, - unsigned count ); - -/** - * Initialize a timer entry. Application should call this function at least - * once before scheduling the entry to the timer heap, to properly initialize - * the timer entry. - * - * @param entry The timer entry to be initialized. - * @param id Arbitrary ID assigned by the user/owner of this entry. - * Applications can use this ID to distinguish multiple - * timer entries that share the same callback and user_data. - * @param user_data User data to be associated with this entry. - * Applications normally will put the instance of object that - * owns the timer entry in this field. - * @param cb Callback function to be called when the timer elapses. - * - * @return The timer entry itself. - */ -PJ_DECL(pj_timer_entry*) pj_timer_entry_init( pj_timer_entry *entry, - int id, - void *user_data, - pj_timer_heap_callback *cb ); - -/** - * Schedule a timer entry which will expire AFTER the specified delay. - * - * @param ht The timer heap. - * @param entry The entry to be registered. - * @param delay The interval to expire. - * @return PJ_SUCCESS, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_timer_heap_schedule( pj_timer_heap_t *ht, - pj_timer_entry *entry, - const pj_time_val *delay); - -/** - * Cancel a previously registered timer. - * - * @param ht The timer heap. - * @param entry The entry to be cancelled. - * @return The number of timer cancelled, which should be one if the - * entry has really been registered, or zero if no timer was - * cancelled. - */ -PJ_DECL(int) pj_timer_heap_cancel( pj_timer_heap_t *ht, - pj_timer_entry *entry); - -/** - * Get the number of timer entries. - * - * @param ht The timer heap. - * @return The number of timer entries. - */ -PJ_DECL(pj_size_t) pj_timer_heap_count( pj_timer_heap_t *ht ); - -/** - * Get the earliest time registered in the timer heap. The timer heap - * MUST have at least one timer being scheduled (application should use - * #pj_timer_heap_count() before calling this function). - * - * @param ht The timer heap. - * @param timeval The time deadline of the earliest timer entry. - * - * @return PJ_SUCCESS, or PJ_ENOTFOUND if no entry is scheduled. - */ -PJ_DECL(pj_status_t) pj_timer_heap_earliest_time( pj_timer_heap_t *ht, - pj_time_val *timeval); - -/** - * Poll the timer heap, check for expired timers and call the callback for - * each of the expired timers. - * - * Note: polling the timer heap is not necessary in Symbian. Please see - * @ref PJ_SYMBIAN_OS for more info. - * - * @param ht The timer heap. - * @param next_delay If this parameter is not NULL, it will be filled up with - * the time delay until the next timer elapsed, or - * PJ_MAXINT32 in the sec part if no entry exist. - * - * @return The number of timers expired. - */ -PJ_DECL(unsigned) pj_timer_heap_poll( pj_timer_heap_t *ht, - pj_time_val *next_delay); - -/** - * @} - */ - -PJ_END_DECL - -#endif /* __PJ_TIMER_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/types.h b/res/pjproject/pjlib/include/pj/types.h deleted file mode 100644 index 1e434dd35d..0000000000 --- a/res/pjproject/pjlib/include/pj/types.h +++ /dev/null @@ -1,547 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_TYPES_H__ -#define __PJ_TYPES_H__ - - -/** - * @file types.h - * @brief Declaration of basic types and utility. - */ -/** - * @defgroup PJ_BASIC Basic Data Types and Library Functionality. - * @ingroup PJ_DS - * @{ - */ -#include - -PJ_BEGIN_DECL - -/* ************************************************************************* */ - -/** Signed 32bit integer. */ -typedef int pj_int32_t; - -/** Unsigned 32bit integer. */ -typedef unsigned int pj_uint32_t; - -/** Signed 16bit integer. */ -typedef short pj_int16_t; - -/** Unsigned 16bit integer. */ -typedef unsigned short pj_uint16_t; - -/** Signed 8bit integer. */ -typedef signed char pj_int8_t; - -/** Unsigned 8bit integer. */ -typedef unsigned char pj_uint8_t; - -/** Large unsigned integer. */ -typedef size_t pj_size_t; - -/** Large signed integer. */ -typedef long pj_ssize_t; - -/** Status code. */ -typedef int pj_status_t; - -/** Boolean. */ -typedef int pj_bool_t; - -/** Native char type, which will be equal to wchar_t for Unicode - * and char for ANSI. */ -#if defined(PJ_NATIVE_STRING_IS_UNICODE) && PJ_NATIVE_STRING_IS_UNICODE!=0 - typedef wchar_t pj_char_t; -#else - typedef char pj_char_t; -#endif - -/** This macro creates Unicode or ANSI literal string depending whether - * native platform string is Unicode or ANSI. */ -#if defined(PJ_NATIVE_STRING_IS_UNICODE) && PJ_NATIVE_STRING_IS_UNICODE!=0 -# define PJ_T(literal_str) L##literal_str -#else -# define PJ_T(literal_str) literal_str -#endif - - -/** Status is OK. */ -#define PJ_SUCCESS 0 - -/** True value. */ -#define PJ_TRUE 1 - -/** False value. */ -#define PJ_FALSE 0 - -/** - * File offset type. - */ -#if defined(PJ_HAS_INT64) && PJ_HAS_INT64!=0 -typedef pj_int64_t pj_off_t; -#else -typedef pj_ssize_t pj_off_t; -#endif - -/* ************************************************************************* */ -/* - * Data structure types. - */ -/** - * This type is used as replacement to legacy C string, and used throughout - * the library. By convention, the string is NOT null terminated. - */ -struct pj_str_t -{ - /** Buffer pointer, which is by convention NOT null terminated. */ - char *ptr; - - /** The length of the string. */ - pj_ssize_t slen; -}; - -/** - * This structure represents high resolution (64bit) time value. The time - * values represent time in cycles, which is retrieved by calling - * #pj_get_timestamp(). - */ -typedef union pj_timestamp -{ - struct - { -#if defined(PJ_IS_LITTLE_ENDIAN) && PJ_IS_LITTLE_ENDIAN!=0 - pj_uint32_t lo; /**< Low 32-bit value of the 64-bit value. */ - pj_uint32_t hi; /**< high 32-bit value of the 64-bit value. */ -#else - pj_uint32_t hi; /**< high 32-bit value of the 64-bit value. */ - pj_uint32_t lo; /**< Low 32-bit value of the 64-bit value. */ -#endif - } u32; /**< The 64-bit value as two 32-bit values. */ - -#if PJ_HAS_INT64 - pj_uint64_t u64; /**< The whole 64-bit value, where available. */ -#endif -} pj_timestamp; - - - -/** - * The opaque data type for linked list, which is used as arguments throughout - * the linked list operations. - */ -typedef void pj_list_type; - -/** - * List. - */ -typedef struct pj_list pj_list; - -/** - * Opaque data type for hash tables. - */ -typedef struct pj_hash_table_t pj_hash_table_t; - -/** - * Opaque data type for hash entry (only used internally by hash table). - */ -typedef struct pj_hash_entry pj_hash_entry; - -/** - * Data type for hash search iterator. - * This structure should be opaque, however applications need to declare - * concrete variable of this type, that's why the declaration is visible here. - */ -typedef struct pj_hash_iterator_t -{ - pj_uint32_t index; /**< Internal index. */ - pj_hash_entry *entry; /**< Internal entry. */ -} pj_hash_iterator_t; - - -/** - * Forward declaration for memory pool factory. - */ -typedef struct pj_pool_factory pj_pool_factory; - -/** - * Opaque data type for memory pool. - */ -typedef struct pj_pool_t pj_pool_t; - -/** - * Forward declaration for caching pool, a pool factory implementation. - */ -typedef struct pj_caching_pool pj_caching_pool; - -/** - * This type is used as replacement to legacy C string, and used throughout - * the library. - */ -typedef struct pj_str_t pj_str_t; - -/** - * Opaque data type for I/O Queue structure. - */ -typedef struct pj_ioqueue_t pj_ioqueue_t; - -/** - * Opaque data type for key that identifies a handle registered to the - * I/O queue framework. - */ -typedef struct pj_ioqueue_key_t pj_ioqueue_key_t; - -/** - * Opaque data to identify timer heap. - */ -typedef struct pj_timer_heap_t pj_timer_heap_t; - -/** - * Forward declaration for timer entry. - */ -typedef struct pj_timer_entry pj_timer_entry; - -/** - * Opaque data type for atomic operations. - */ -typedef struct pj_atomic_t pj_atomic_t; - -/** - * Value type of an atomic variable. - */ -typedef PJ_ATOMIC_VALUE_TYPE pj_atomic_value_t; - -/* ************************************************************************* */ - -/** Thread handle. */ -typedef struct pj_thread_t pj_thread_t; - -/** Lock object. */ -typedef struct pj_lock_t pj_lock_t; - -/** Mutex handle. */ -typedef struct pj_mutex_t pj_mutex_t; - -/** Semaphore handle. */ -typedef struct pj_sem_t pj_sem_t; - -/** Event object. */ -typedef struct pj_event_t pj_event_t; - -/** Unidirectional stream pipe object. */ -typedef struct pj_pipe_t pj_pipe_t; - -/** Operating system handle. */ -typedef void *pj_oshandle_t; - -/** Socket handle. */ -typedef long pj_sock_t; - -/** Generic socket address. */ -typedef void pj_sockaddr_t; - -/** Forward declaration. */ -typedef struct pj_sockaddr_in pj_sockaddr_in; - -/** Color type. */ -typedef unsigned int pj_color_t; - -/** Exception id. */ -typedef int pj_exception_id_t; - -/* ************************************************************************* */ - -/** Utility macro to compute the number of elements in static array. */ -#define PJ_ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0])) - -/** Maximum value for signed 32-bit integer. */ -#define PJ_MAXINT32 0x7FFFFFFFL - -/** - * Length of object names. - */ -#define PJ_MAX_OBJ_NAME 32 - -/* ************************************************************************* */ -/* - * General. - */ -/** - * Initialize the PJ Library. - * This function must be called before using the library. The purpose of this - * function is to initialize static library data, such as character table used - * in random string generation, and to initialize operating system dependent - * functionality (such as WSAStartup() in Windows). - * - * Apart from calling pj_init(), application typically should also initialize - * the random seed by calling pj_srand(). - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pj_init(void); - - -/** - * Shutdown PJLIB. - */ -PJ_DECL(void) pj_shutdown(void); - -/** - * Type of callback to register to pj_atexit(). - */ -typedef void (*pj_exit_callback)(void); - -/** - * Register cleanup function to be called by PJLIB when pj_shutdown() is - * called. - * - * @param func The function to be registered. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pj_atexit(pj_exit_callback func); - - - -/** - * Swap the byte order of an 16bit data. - * - * @param val16 The 16bit data. - * - * @return An 16bit data with swapped byte order. - */ -PJ_INLINE(pj_int16_t) pj_swap16(pj_int16_t val16) -{ - pj_uint8_t *p = (pj_uint8_t*)&val16; - pj_uint8_t tmp = *p; - *p = *(p+1); - *(p+1) = tmp; - return val16; -} - -/** - * Swap the byte order of an 32bit data. - * - * @param val32 The 32bit data. - * - * @return An 32bit data with swapped byte order. - */ -PJ_INLINE(pj_int32_t) pj_swap32(pj_int32_t val32) -{ - pj_uint8_t *p = (pj_uint8_t*)&val32; - pj_uint8_t tmp = *p; - *p = *(p+3); - *(p+3) = tmp; - tmp = *(p+1); - *(p+1) = *(p+2); - *(p+2) = tmp; - return val32; -} - - -/** - * @} - */ -/** - * @addtogroup PJ_TIME Time Data Type and Manipulation. - * @ingroup PJ_MISC - * @{ - */ - -/** - * Representation of time value in this library. - * This type can be used to represent either an interval or a specific time - * or date. - */ -typedef struct pj_time_val -{ - /** The seconds part of the time. */ - long sec; - - /** The miliseconds fraction of the time. */ - long msec; - -} pj_time_val; - -/** - * Normalize the value in time value. - * @param t Time value to be normalized. - */ -PJ_DECL(void) pj_time_val_normalize(pj_time_val *t); - -/** - * Get the total time value in miliseconds. This is the same as - * multiplying the second part with 1000 and then add the miliseconds - * part to the result. - * - * @param t The time value. - * @return Total time in miliseconds. - * @hideinitializer - */ -#define PJ_TIME_VAL_MSEC(t) ((t).sec * 1000 + (t).msec) - -/** - * This macro will check if \a t1 is equal to \a t2. - * - * @param t1 The first time value to compare. - * @param t2 The second time value to compare. - * @return Non-zero if both time values are equal. - * @hideinitializer - */ -#define PJ_TIME_VAL_EQ(t1, t2) ((t1).sec==(t2).sec && (t1).msec==(t2).msec) - -/** - * This macro will check if \a t1 is greater than \a t2 - * - * @param t1 The first time value to compare. - * @param t2 The second time value to compare. - * @return Non-zero if t1 is greater than t2. - * @hideinitializer - */ -#define PJ_TIME_VAL_GT(t1, t2) ((t1).sec>(t2).sec || \ - ((t1).sec==(t2).sec && (t1).msec>(t2).msec)) - -/** - * This macro will check if \a t1 is greater than or equal to \a t2 - * - * @param t1 The first time value to compare. - * @param t2 The second time value to compare. - * @return Non-zero if t1 is greater than or equal to t2. - * @hideinitializer - */ -#define PJ_TIME_VAL_GTE(t1, t2) (PJ_TIME_VAL_GT(t1,t2) || \ - PJ_TIME_VAL_EQ(t1,t2)) - -/** - * This macro will check if \a t1 is less than \a t2 - * - * @param t1 The first time value to compare. - * @param t2 The second time value to compare. - * @return Non-zero if t1 is less than t2. - * @hideinitializer - */ -#define PJ_TIME_VAL_LT(t1, t2) (!(PJ_TIME_VAL_GTE(t1,t2))) - -/** - * This macro will check if \a t1 is less than or equal to \a t2. - * - * @param t1 The first time value to compare. - * @param t2 The second time value to compare. - * @return Non-zero if t1 is less than or equal to t2. - * @hideinitializer - */ -#define PJ_TIME_VAL_LTE(t1, t2) (!PJ_TIME_VAL_GT(t1, t2)) - -/** - * Add \a t2 to \a t1 and store the result in \a t1. Effectively - * - * this macro will expand as: (\a t1 += \a t2). - * @param t1 The time value to add. - * @param t2 The time value to be added to \a t1. - * @hideinitializer - */ -#define PJ_TIME_VAL_ADD(t1, t2) do { \ - (t1).sec += (t2).sec; \ - (t1).msec += (t2).msec; \ - pj_time_val_normalize(&(t1)); \ - } while (0) - - -/** - * Substract \a t2 from \a t1 and store the result in \a t1. Effectively - * this macro will expand as (\a t1 -= \a t2). - * - * @param t1 The time value to subsctract. - * @param t2 The time value to be substracted from \a t1. - * @hideinitializer - */ -#define PJ_TIME_VAL_SUB(t1, t2) do { \ - (t1).sec -= (t2).sec; \ - (t1).msec -= (t2).msec; \ - pj_time_val_normalize(&(t1)); \ - } while (0) - - -/** - * This structure represent the parsed representation of time. - * It is acquired by calling #pj_time_decode(). - */ -typedef struct pj_parsed_time -{ - /** This represents day of week where value zero means Sunday */ - int wday; - - /* This represents day of the year, 0-365, where zero means - * 1st of January. - */ - /*int yday; */ - - /** This represents day of month: 1-31 */ - int day; - - /** This represents month, with the value is 0 - 11 (zero is January) */ - int mon; - - /** This represent the actual year (unlike in ANSI libc where - * the value must be added by 1900). - */ - int year; - - /** This represents the second part, with the value is 0-59 */ - int sec; - - /** This represents the minute part, with the value is: 0-59 */ - int min; - - /** This represents the hour part, with the value is 0-23 */ - int hour; - - /** This represents the milisecond part, with the value is 0-999 */ - int msec; - -} pj_parsed_time; - - -/** - * @} // Time Management - */ - -/* ************************************************************************* */ -/* - * Terminal. - */ -/** - * Color code combination. - */ -enum { - PJ_TERM_COLOR_R = 2, /**< Red */ - PJ_TERM_COLOR_G = 4, /**< Green */ - PJ_TERM_COLOR_B = 1, /**< Blue. */ - PJ_TERM_COLOR_BRIGHT = 8 /**< Bright mask. */ -}; - - - - -PJ_END_DECL - - -#endif /* __PJ_TYPES_H__ */ - diff --git a/res/pjproject/pjlib/include/pj/unicode.h b/res/pjproject/pjlib/include/pj/unicode.h deleted file mode 100644 index 47e5fe2b6c..0000000000 --- a/res/pjproject/pjlib/include/pj/unicode.h +++ /dev/null @@ -1,141 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_UNICODE_H__ -#define __PJ_UNICODE_H__ - -#include - - -/** - * @defgroup PJ_UNICODE Unicode Support - * @ingroup PJ_MISC - * @{ - */ - -PJ_BEGIN_DECL - - -/** - * @file unicode.h - * @brief Provides Unicode conversion for Unicode OSes - */ - -/** - * Convert ANSI strings to Unicode strings. - * - * @param str The ANSI string to be converted. - * @param len The length of the input string. - * @param wbuf Buffer to hold the Unicode string output. - * @param wbuf_count Buffer size, in number of elements (not bytes). - * - * @return The Unicode string, NULL terminated. - */ -PJ_DECL(wchar_t*) pj_ansi_to_unicode(const char *str, pj_size_t len, - wchar_t *wbuf, pj_size_t wbuf_count); - - -/** - * Convert Unicode string to ANSI string. - * - * @param wstr The Unicode string to be converted. - * @param len The length of the input string. - * @param buf Buffer to hold the ANSI string output. - * @param buf_size Size of the output buffer. - * - * @return The ANSI string, NULL terminated. - */ -PJ_DECL(char*) pj_unicode_to_ansi(const wchar_t *wstr, pj_size_t len, - char *buf, pj_size_t buf_size); - - -#if defined(PJ_NATIVE_STRING_IS_UNICODE) && PJ_NATIVE_STRING_IS_UNICODE!=0 - -/** - * This macro is used to declare temporary Unicode buffer for ANSI to - * Unicode conversion, and should be put in declaration section of a block. - * When PJ_NATIVE_STRING_IS_UNICODE macro is not defined, this - * macro will expand to nothing. - */ -# define PJ_DECL_UNICODE_TEMP_BUF(buf,size) wchar_t buf[size]; - -/** - * This macro will convert ANSI string to native, when the platform's - * native string is Unicode (PJ_NATIVE_STRING_IS_UNICODE is non-zero). - */ -# define PJ_STRING_TO_NATIVE(s,buf,max) pj_ansi_to_unicode( \ - s, strlen(s), \ - buf, max) - -/** - * This macro is used to declare temporary ANSI buffer for Unicode to - * ANSI conversion, and should be put in declaration section of a block. - * When PJ_NATIVE_STRING_IS_UNICODE macro is not defined, this - * macro will expand to nothing. - */ -# define PJ_DECL_ANSI_TEMP_BUF(buf,size) char buf[size]; - - -/** - * This macro will convert Unicode string to ANSI, when the platform's - * native string is Unicode (PJ_NATIVE_STRING_IS_UNICODE is non-zero). - */ -# define PJ_NATIVE_TO_STRING(cs,buf,max) pj_unicode_to_ansi( \ - cs, wcslen(cs), \ - buf, max) - -#else - -/** - * This macro is used to declare temporary Unicode buffer for ANSI to - * Unicode conversion, and should be put in declaration section of a block. - * When PJ_NATIVE_STRING_IS_UNICODE macro is not defined, this - * macro will expand to nothing. - */ -# define PJ_DECL_UNICODE_TEMP_BUF(var,size) -/** - * This macro will convert ANSI string to native, when the platform's - * native string is Unicode (PJ_NATIVE_STRING_IS_UNICODE is non-zero). - */ -# define PJ_STRING_TO_NATIVE(s,buf,max) ((char*)s) -/** - * This macro is used to declare temporary ANSI buffer for Unicode to - * ANSI conversion, and should be put in declaration section of a block. - * When PJ_NATIVE_STRING_IS_UNICODE macro is not defined, this - * macro will expand to nothing. - */ -# define PJ_DECL_ANSI_TEMP_BUF(buf,size) -/** - * This macro will convert Unicode string to ANSI, when the platform's - * native string is Unicode (PJ_NATIVE_STRING_IS_UNICODE is non-zero). - */ -# define PJ_NATIVE_TO_STRING(cs,buf,max) ((char*)(const char*)cs) - -#endif - - - -PJ_END_DECL - -/* - * @} - */ - - -#endif /* __PJ_UNICODE_H__ */ diff --git a/res/pjproject/pjlib/include/pjlib++.hpp b/res/pjproject/pjlib/include/pjlib++.hpp deleted file mode 100644 index f91a1ce1bf..0000000000 --- a/res/pjproject/pjlib/include/pjlib++.hpp +++ /dev/null @@ -1,35 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIBPP_H__ -#define __PJLIBPP_H__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#endif /* __PJLIBPP_H__ */ diff --git a/res/pjproject/pjlib/include/pjlib.h b/res/pjproject/pjlib/include/pjlib.h deleted file mode 100644 index 8cce8806c7..0000000000 --- a/res/pjproject/pjlib/include/pjlib.h +++ /dev/null @@ -1,63 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#ifndef __PJLIB_H__ -#define __PJLIB_H__ - -/** - * @file pjlib.h - * @brief Include all PJLIB header files. - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -#endif /* __PJLIB_H__ */ - diff --git a/res/pjproject/pjlib/src/pj/activesock.c b/res/pjproject/pjlib/src/pj/activesock.c deleted file mode 100644 index 5452ca4b2a..0000000000 --- a/res/pjproject/pjlib/src/pj/activesock.c +++ /dev/null @@ -1,882 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include - -#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ - PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 -# include - - static pj_bool_t ios_bg_support = PJ_TRUE; -#endif - -#define PJ_ACTIVESOCK_MAX_LOOP 50 - - -enum read_type -{ - TYPE_NONE, - TYPE_RECV, - TYPE_RECV_FROM -}; - -struct read_op -{ - pj_ioqueue_op_key_t op_key; - pj_uint8_t *pkt; - unsigned max_size; - pj_size_t size; - pj_sockaddr src_addr; - int src_addr_len; -}; - -struct accept_op -{ - pj_ioqueue_op_key_t op_key; - pj_sock_t new_sock; - pj_sockaddr rem_addr; - int rem_addr_len; -}; - -struct send_data -{ - pj_uint8_t *data; - pj_ssize_t len; - pj_ssize_t sent; - unsigned flags; -}; - -struct pj_activesock_t -{ - pj_ioqueue_key_t *key; - pj_bool_t stream_oriented; - pj_bool_t whole_data; - pj_ioqueue_t *ioqueue; - void *user_data; - unsigned async_count; - unsigned max_loop; - pj_activesock_cb cb; -#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ - PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 - int bg_setting; - pj_sock_t sock; - CFReadStreamRef readStream; -#endif - - unsigned err_counter; - pj_status_t last_err; - - struct send_data send_data; - - struct read_op *read_op; - pj_uint32_t read_flags; - enum read_type read_type; - - struct accept_op *accept_op; -}; - - -static void ioqueue_on_read_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read); -static void ioqueue_on_write_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_sent); -#if PJ_HAS_TCP -static void ioqueue_on_accept_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_sock_t sock, - pj_status_t status); -static void ioqueue_on_connect_complete(pj_ioqueue_key_t *key, - pj_status_t status); -#endif - -PJ_DEF(void) pj_activesock_cfg_default(pj_activesock_cfg *cfg) -{ - pj_bzero(cfg, sizeof(*cfg)); - cfg->async_cnt = 1; - cfg->concurrency = -1; - cfg->whole_data = PJ_TRUE; -} - -#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ - PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 -static void activesock_destroy_iphone_os_stream(pj_activesock_t *asock) -{ - if (asock->readStream) { - CFReadStreamClose(asock->readStream); - CFRelease(asock->readStream); - asock->readStream = NULL; - } -} - -static void activesock_create_iphone_os_stream(pj_activesock_t *asock) -{ - if (ios_bg_support && asock->bg_setting && asock->stream_oriented) { - activesock_destroy_iphone_os_stream(asock); - - CFStreamCreatePairWithSocket(kCFAllocatorDefault, asock->sock, - &asock->readStream, NULL); - - if (!asock->readStream || - CFReadStreamSetProperty(asock->readStream, - kCFStreamNetworkServiceType, - kCFStreamNetworkServiceTypeVoIP) - != TRUE || - CFReadStreamOpen(asock->readStream) != TRUE) - { - PJ_LOG(2,("", "Failed to configure TCP transport for VoIP " - "usage. Background mode will not be supported.")); - - activesock_destroy_iphone_os_stream(asock); - } - } -} - - -PJ_DEF(void) pj_activesock_set_iphone_os_bg(pj_activesock_t *asock, - int val) -{ - asock->bg_setting = val; - if (asock->bg_setting) - activesock_create_iphone_os_stream(asock); - else - activesock_destroy_iphone_os_stream(asock); -} - -PJ_DEF(void) pj_activesock_enable_iphone_os_bg(pj_bool_t val) -{ - ios_bg_support = val; -} -#endif - -PJ_DEF(pj_status_t) pj_activesock_create( pj_pool_t *pool, - pj_sock_t sock, - int sock_type, - const pj_activesock_cfg *opt, - pj_ioqueue_t *ioqueue, - const pj_activesock_cb *cb, - void *user_data, - pj_activesock_t **p_asock) -{ - pj_activesock_t *asock; - pj_ioqueue_callback ioq_cb; - pj_status_t status; - - PJ_ASSERT_RETURN(pool && ioqueue && cb && p_asock, PJ_EINVAL); - PJ_ASSERT_RETURN(sock!=0 && sock!=PJ_INVALID_SOCKET, PJ_EINVAL); - PJ_ASSERT_RETURN(sock_type==pj_SOCK_STREAM() || - sock_type==pj_SOCK_DGRAM(), PJ_EINVAL); - PJ_ASSERT_RETURN(!opt || opt->async_cnt >= 1, PJ_EINVAL); - - asock = PJ_POOL_ZALLOC_T(pool, pj_activesock_t); - asock->ioqueue = ioqueue; - asock->stream_oriented = (sock_type == pj_SOCK_STREAM()); - asock->async_count = (opt? opt->async_cnt : 1); - asock->whole_data = (opt? opt->whole_data : 1); - asock->max_loop = PJ_ACTIVESOCK_MAX_LOOP; - asock->user_data = user_data; - pj_memcpy(&asock->cb, cb, sizeof(*cb)); - - pj_bzero(&ioq_cb, sizeof(ioq_cb)); - ioq_cb.on_read_complete = &ioqueue_on_read_complete; - ioq_cb.on_write_complete = &ioqueue_on_write_complete; -#if PJ_HAS_TCP - ioq_cb.on_connect_complete = &ioqueue_on_connect_complete; - ioq_cb.on_accept_complete = &ioqueue_on_accept_complete; -#endif - - status = pj_ioqueue_register_sock(pool, ioqueue, sock, asock, - &ioq_cb, &asock->key); - if (status != PJ_SUCCESS) { - pj_activesock_close(asock); - return status; - } - - if (asock->whole_data) { - /* Must disable concurrency otherwise there is a race condition */ - pj_ioqueue_set_concurrency(asock->key, 0); - } else if (opt && opt->concurrency >= 0) { - pj_ioqueue_set_concurrency(asock->key, opt->concurrency); - } - -#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ - PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 - asock->sock = sock; - asock->bg_setting = PJ_ACTIVESOCK_TCP_IPHONE_OS_BG; -#endif - - *p_asock = asock; - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pj_activesock_create_udp( pj_pool_t *pool, - const pj_sockaddr *addr, - const pj_activesock_cfg *opt, - pj_ioqueue_t *ioqueue, - const pj_activesock_cb *cb, - void *user_data, - pj_activesock_t **p_asock, - pj_sockaddr *bound_addr) -{ - pj_sock_t sock_fd; - pj_sockaddr default_addr; - pj_status_t status; - - if (addr == NULL) { - pj_sockaddr_init(pj_AF_INET(), &default_addr, NULL, 0); - addr = &default_addr; - } - - status = pj_sock_socket(addr->addr.sa_family, pj_SOCK_DGRAM(), 0, - &sock_fd); - if (status != PJ_SUCCESS) { - return status; - } - - status = pj_sock_bind(sock_fd, addr, pj_sockaddr_get_len(addr)); - if (status != PJ_SUCCESS) { - pj_sock_close(sock_fd); - return status; - } - - status = pj_activesock_create(pool, sock_fd, pj_SOCK_DGRAM(), opt, - ioqueue, cb, user_data, p_asock); - if (status != PJ_SUCCESS) { - pj_sock_close(sock_fd); - return status; - } - - if (bound_addr) { - int addr_len = sizeof(*bound_addr); - status = pj_sock_getsockname(sock_fd, bound_addr, &addr_len); - if (status != PJ_SUCCESS) { - pj_activesock_close(*p_asock); - return status; - } - } - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pj_activesock_close(pj_activesock_t *asock) -{ - PJ_ASSERT_RETURN(asock, PJ_EINVAL); - if (asock->key) { -#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ - PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 - activesock_destroy_iphone_os_stream(asock); -#endif - - pj_ioqueue_unregister(asock->key); - asock->key = NULL; - } - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pj_activesock_set_user_data( pj_activesock_t *asock, - void *user_data) -{ - PJ_ASSERT_RETURN(asock, PJ_EINVAL); - asock->user_data = user_data; - return PJ_SUCCESS; -} - - -PJ_DEF(void*) pj_activesock_get_user_data(pj_activesock_t *asock) -{ - PJ_ASSERT_RETURN(asock, NULL); - return asock->user_data; -} - - -PJ_DEF(pj_status_t) pj_activesock_start_read(pj_activesock_t *asock, - pj_pool_t *pool, - unsigned buff_size, - pj_uint32_t flags) -{ - void **readbuf; - unsigned i; - - PJ_ASSERT_RETURN(asock && pool && buff_size, PJ_EINVAL); - - readbuf = (void**) pj_pool_calloc(pool, asock->async_count, - sizeof(void*)); - - for (i=0; iasync_count; ++i) { - readbuf[i] = pj_pool_alloc(pool, buff_size); - } - - return pj_activesock_start_read2(asock, pool, buff_size, readbuf, flags); -} - - -PJ_DEF(pj_status_t) pj_activesock_start_read2( pj_activesock_t *asock, - pj_pool_t *pool, - unsigned buff_size, - void *readbuf[], - pj_uint32_t flags) -{ - unsigned i; - pj_status_t status; - - PJ_ASSERT_RETURN(asock && pool && buff_size, PJ_EINVAL); - PJ_ASSERT_RETURN(asock->read_type == TYPE_NONE, PJ_EINVALIDOP); - PJ_ASSERT_RETURN(asock->read_op == NULL, PJ_EINVALIDOP); - - asock->read_op = (struct read_op*) - pj_pool_calloc(pool, asock->async_count, - sizeof(struct read_op)); - asock->read_type = TYPE_RECV; - asock->read_flags = flags; - - for (i=0; iasync_count; ++i) { - struct read_op *r = &asock->read_op[i]; - pj_ssize_t size_to_read; - - r->pkt = (pj_uint8_t*)readbuf[i]; - r->max_size = size_to_read = buff_size; - - status = pj_ioqueue_recv(asock->key, &r->op_key, r->pkt, &size_to_read, - PJ_IOQUEUE_ALWAYS_ASYNC | flags); - PJ_ASSERT_RETURN(status != PJ_SUCCESS, PJ_EBUG); - - if (status != PJ_EPENDING) - return status; - } - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pj_activesock_start_recvfrom(pj_activesock_t *asock, - pj_pool_t *pool, - unsigned buff_size, - pj_uint32_t flags) -{ - void **readbuf; - unsigned i; - - PJ_ASSERT_RETURN(asock && pool && buff_size, PJ_EINVAL); - - readbuf = (void**) pj_pool_calloc(pool, asock->async_count, - sizeof(void*)); - - for (i=0; iasync_count; ++i) { - readbuf[i] = pj_pool_alloc(pool, buff_size); - } - - return pj_activesock_start_recvfrom2(asock, pool, buff_size, - readbuf, flags); -} - - -PJ_DEF(pj_status_t) pj_activesock_start_recvfrom2( pj_activesock_t *asock, - pj_pool_t *pool, - unsigned buff_size, - void *readbuf[], - pj_uint32_t flags) -{ - unsigned i; - pj_status_t status; - - PJ_ASSERT_RETURN(asock && pool && buff_size, PJ_EINVAL); - PJ_ASSERT_RETURN(asock->read_type == TYPE_NONE, PJ_EINVALIDOP); - - asock->read_op = (struct read_op*) - pj_pool_calloc(pool, asock->async_count, - sizeof(struct read_op)); - asock->read_type = TYPE_RECV_FROM; - asock->read_flags = flags; - - for (i=0; iasync_count; ++i) { - struct read_op *r = &asock->read_op[i]; - pj_ssize_t size_to_read; - - r->pkt = (pj_uint8_t*) readbuf[i]; - r->max_size = size_to_read = buff_size; - r->src_addr_len = sizeof(r->src_addr); - - status = pj_ioqueue_recvfrom(asock->key, &r->op_key, r->pkt, - &size_to_read, - PJ_IOQUEUE_ALWAYS_ASYNC | flags, - &r->src_addr, &r->src_addr_len); - PJ_ASSERT_RETURN(status != PJ_SUCCESS, PJ_EBUG); - - if (status != PJ_EPENDING) - return status; - } - - return PJ_SUCCESS; -} - - -static void ioqueue_on_read_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read) -{ - pj_activesock_t *asock; - struct read_op *r = (struct read_op*)op_key; - unsigned loop = 0; - pj_status_t status; - - asock = (pj_activesock_t*) pj_ioqueue_get_user_data(key); - - do { - unsigned flags; - - if (bytes_read > 0) { - /* - * We've got new data. - */ - pj_size_t remainder; - pj_bool_t ret; - - /* Append this new data to existing data. If socket is stream - * oriented, user might have left some data in the buffer. - * Otherwise if socket is datagram there will be nothing in - * existing packet hence the packet will contain only the new - * packet. - */ - r->size += bytes_read; - - /* Set default remainder to zero */ - remainder = 0; - - /* And return value to TRUE */ - ret = PJ_TRUE; - - /* Notify callback */ - if (asock->read_type == TYPE_RECV && asock->cb.on_data_read) { - ret = (*asock->cb.on_data_read)(asock, r->pkt, r->size, - PJ_SUCCESS, &remainder); - } else if (asock->read_type == TYPE_RECV_FROM && - asock->cb.on_data_recvfrom) - { - ret = (*asock->cb.on_data_recvfrom)(asock, r->pkt, r->size, - &r->src_addr, - r->src_addr_len, - PJ_SUCCESS); - } - - /* If callback returns false, we have been destroyed! */ - if (!ret) - return; - - /* Only stream oriented socket may leave data in the packet */ - if (asock->stream_oriented) { - r->size = remainder; - } else { - r->size = 0; - } - - } else if (bytes_read <= 0 && - -bytes_read != PJ_STATUS_FROM_OS(OSERR_EWOULDBLOCK) && - -bytes_read != PJ_STATUS_FROM_OS(OSERR_EINPROGRESS) && - (asock->stream_oriented || - -bytes_read != PJ_STATUS_FROM_OS(OSERR_ECONNRESET))) - { - pj_size_t remainder; - pj_bool_t ret; - - if (bytes_read == 0) { - /* For stream/connection oriented socket, this means the - * connection has been closed. For datagram sockets, it means - * we've received datagram with zero length. - */ - if (asock->stream_oriented) - status = PJ_EEOF; - else - status = PJ_SUCCESS; - } else { - /* This means we've got an error. If this is stream/connection - * oriented, it means connection has been closed. For datagram - * sockets, it means we've got some error (e.g. EWOULDBLOCK). - */ - status = -bytes_read; - } - - /* Set default remainder to zero */ - remainder = 0; - - /* And return value to TRUE */ - ret = PJ_TRUE; - - /* Notify callback */ - if (asock->read_type == TYPE_RECV && asock->cb.on_data_read) { - /* For connection oriented socket, we still need to report - * the remainder data (if any) to the user to let user do - * processing with the remainder data before it closes the - * connection. - * If there is no remainder data, set the packet to NULL. - */ - - /* Shouldn't set the packet to NULL, as there may be active - * socket user, such as SSL socket, that needs to have access - * to the read buffer packet. - */ - //ret = (*asock->cb.on_data_read)(asock, (r->size? r->pkt:NULL), - // r->size, status, &remainder); - ret = (*asock->cb.on_data_read)(asock, r->pkt, r->size, - status, &remainder); - - } else if (asock->read_type == TYPE_RECV_FROM && - asock->cb.on_data_recvfrom) - { - /* This would always be datagram oriented hence there's - * nothing in the packet. We can't be sure if there will be - * anything useful in the source_addr, so just put NULL - * there too. - */ - /* In some scenarios, status may be PJ_SUCCESS. The upper - * layer application may not expect the callback to be called - * with successful status and NULL data, so lets not call the - * callback if the status is PJ_SUCCESS. - */ - if (status != PJ_SUCCESS ) { - ret = (*asock->cb.on_data_recvfrom)(asock, NULL, 0, - NULL, 0, status); - } - } - - /* If callback returns false, we have been destroyed! */ - if (!ret) - return; - - /* Only stream oriented socket may leave data in the packet */ - if (asock->stream_oriented) { - r->size = remainder; - } else { - r->size = 0; - } - } - - /* Read next data. We limit ourselves to processing max_loop immediate - * data, so when the loop counter has exceeded this value, force the - * read()/recvfrom() to return pending operation to allow the program - * to do other jobs. - */ - bytes_read = r->max_size - r->size; - flags = asock->read_flags; - if (++loop >= asock->max_loop) - flags |= PJ_IOQUEUE_ALWAYS_ASYNC; - - if (asock->read_type == TYPE_RECV) { - status = pj_ioqueue_recv(key, op_key, r->pkt + r->size, - &bytes_read, flags); - } else { - r->src_addr_len = sizeof(r->src_addr); - status = pj_ioqueue_recvfrom(key, op_key, r->pkt + r->size, - &bytes_read, flags, - &r->src_addr, &r->src_addr_len); - } - - if (status == PJ_SUCCESS) { - /* Immediate data */ - ; - } else if (status != PJ_EPENDING && status != PJ_ECANCELLED) { - /* Error */ - bytes_read = -status; - } else { - break; - } - } while (1); - -} - - -static pj_status_t send_remaining(pj_activesock_t *asock, - pj_ioqueue_op_key_t *send_key) -{ - struct send_data *sd = (struct send_data*)send_key->activesock_data; - pj_status_t status; - - do { - pj_ssize_t size; - - size = sd->len - sd->sent; - status = pj_ioqueue_send(asock->key, send_key, - sd->data+sd->sent, &size, sd->flags); - if (status != PJ_SUCCESS) { - /* Pending or error */ - break; - } - - sd->sent += size; - if (sd->sent == sd->len) { - /* The whole data has been sent. */ - return PJ_SUCCESS; - } - - } while (sd->sent < sd->len); - - return status; -} - - -PJ_DEF(pj_status_t) pj_activesock_send( pj_activesock_t *asock, - pj_ioqueue_op_key_t *send_key, - const void *data, - pj_ssize_t *size, - unsigned flags) -{ - PJ_ASSERT_RETURN(asock && send_key && data && size, PJ_EINVAL); - - send_key->activesock_data = NULL; - - if (asock->whole_data) { - pj_ssize_t whole; - pj_status_t status; - - whole = *size; - - status = pj_ioqueue_send(asock->key, send_key, data, size, flags); - if (status != PJ_SUCCESS) { - /* Pending or error */ - return status; - } - - if (*size == whole) { - /* The whole data has been sent. */ - return PJ_SUCCESS; - } - - /* Data was partially sent */ - asock->send_data.data = (pj_uint8_t*)data; - asock->send_data.len = whole; - asock->send_data.sent = *size; - asock->send_data.flags = flags; - send_key->activesock_data = &asock->send_data; - - /* Try again */ - status = send_remaining(asock, send_key); - if (status == PJ_SUCCESS) { - *size = whole; - } - return status; - - } else { - return pj_ioqueue_send(asock->key, send_key, data, size, flags); - } -} - - -PJ_DEF(pj_status_t) pj_activesock_sendto( pj_activesock_t *asock, - pj_ioqueue_op_key_t *send_key, - const void *data, - pj_ssize_t *size, - unsigned flags, - const pj_sockaddr_t *addr, - int addr_len) -{ - PJ_ASSERT_RETURN(asock && send_key && data && size && addr && addr_len, - PJ_EINVAL); - - return pj_ioqueue_sendto(asock->key, send_key, data, size, flags, - addr, addr_len); -} - - -static void ioqueue_on_write_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_sent) -{ - pj_activesock_t *asock; - - asock = (pj_activesock_t*) pj_ioqueue_get_user_data(key); - - if (bytes_sent > 0 && op_key->activesock_data) { - /* whole_data is requested. Make sure we send all the data */ - struct send_data *sd = (struct send_data*)op_key->activesock_data; - - sd->sent += bytes_sent; - if (sd->sent == sd->len) { - /* all has been sent */ - bytes_sent = sd->sent; - op_key->activesock_data = NULL; - } else { - /* send remaining data */ - pj_status_t status; - - status = send_remaining(asock, op_key); - if (status == PJ_EPENDING) - return; - else if (status == PJ_SUCCESS) - bytes_sent = sd->sent; - else - bytes_sent = -status; - - op_key->activesock_data = NULL; - } - } - - if (asock->cb.on_data_sent) { - pj_bool_t ret; - - ret = (*asock->cb.on_data_sent)(asock, op_key, bytes_sent); - - /* If callback returns false, we have been destroyed! */ - if (!ret) - return; - } -} - -#if PJ_HAS_TCP -PJ_DEF(pj_status_t) pj_activesock_start_accept(pj_activesock_t *asock, - pj_pool_t *pool) -{ - unsigned i; - - PJ_ASSERT_RETURN(asock, PJ_EINVAL); - PJ_ASSERT_RETURN(asock->accept_op==NULL, PJ_EINVALIDOP); - - asock->accept_op = (struct accept_op*) - pj_pool_calloc(pool, asock->async_count, - sizeof(struct accept_op)); - for (i=0; iasync_count; ++i) { - struct accept_op *a = &asock->accept_op[i]; - pj_status_t status; - - do { - a->new_sock = PJ_INVALID_SOCKET; - a->rem_addr_len = sizeof(a->rem_addr); - - status = pj_ioqueue_accept(asock->key, &a->op_key, &a->new_sock, - NULL, &a->rem_addr, &a->rem_addr_len); - if (status == PJ_SUCCESS) { - /* We've got immediate connection. Not sure if it's a good - * idea to call the callback now (probably application will - * not be prepared to process it), so lets just silently - * close the socket. - */ - pj_sock_close(a->new_sock); - } - } while (status == PJ_SUCCESS); - - if (status != PJ_EPENDING) { - return status; - } - } - - return PJ_SUCCESS; -} - - -static void ioqueue_on_accept_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_sock_t new_sock, - pj_status_t status) -{ - pj_activesock_t *asock = (pj_activesock_t*) pj_ioqueue_get_user_data(key); - struct accept_op *accept_op = (struct accept_op*) op_key; - - PJ_UNUSED_ARG(new_sock); - - do { - if (status == asock->last_err && status != PJ_SUCCESS) { - asock->err_counter++; - if (asock->err_counter >= PJ_ACTIVESOCK_MAX_CONSECUTIVE_ACCEPT_ERROR) { - PJ_LOG(3, ("", "Received %d consecutive errors: %d for the accept()" - " operation, stopping further ioqueue accepts.", - asock->err_counter, asock->last_err)); - return; - } - } else { - asock->err_counter = 0; - asock->last_err = status; - } - - if (status==PJ_SUCCESS && asock->cb.on_accept_complete) { - pj_bool_t ret; - - /* Notify callback */ - ret = (*asock->cb.on_accept_complete)(asock, accept_op->new_sock, - &accept_op->rem_addr, - accept_op->rem_addr_len); - - /* If callback returns false, we have been destroyed! */ - if (!ret) - return; - -#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ - PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 - activesock_create_iphone_os_stream(asock); -#endif - } else if (status==PJ_SUCCESS) { - /* Application doesn't handle the new socket, we need to - * close it to avoid resource leak. - */ - pj_sock_close(accept_op->new_sock); - } - - /* Prepare next accept() */ - accept_op->new_sock = PJ_INVALID_SOCKET; - accept_op->rem_addr_len = sizeof(accept_op->rem_addr); - - status = pj_ioqueue_accept(asock->key, op_key, &accept_op->new_sock, - NULL, &accept_op->rem_addr, - &accept_op->rem_addr_len); - - } while (status != PJ_EPENDING && status != PJ_ECANCELLED); -} - - -PJ_DEF(pj_status_t) pj_activesock_start_connect( pj_activesock_t *asock, - pj_pool_t *pool, - const pj_sockaddr_t *remaddr, - int addr_len) -{ - PJ_UNUSED_ARG(pool); - return pj_ioqueue_connect(asock->key, remaddr, addr_len); -} - -static void ioqueue_on_connect_complete(pj_ioqueue_key_t *key, - pj_status_t status) -{ - pj_activesock_t *asock = (pj_activesock_t*) pj_ioqueue_get_user_data(key); - - if (asock->cb.on_connect_complete) { - pj_bool_t ret; - - ret = (*asock->cb.on_connect_complete)(asock, status); - - if (!ret) { - /* We've been destroyed */ - return; - } - -#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ - PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 - activesock_create_iphone_os_stream(asock); -#endif - - } -} -#endif /* PJ_HAS_TCP */ - diff --git a/res/pjproject/pjlib/src/pj/addr_resolv_linux_kernel.c b/res/pjproject/pjlib/src/pj/addr_resolv_linux_kernel.c deleted file mode 100644 index c2147bb313..0000000000 --- a/res/pjproject/pjlib/src/pj/addr_resolv_linux_kernel.c +++ /dev/null @@ -1,26 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include - -PJ_DEF(pj_status_t) pj_gethostbyname(const pj_str_t *hostname, pj_hostent *phe) -{ - return -1; -} - diff --git a/res/pjproject/pjlib/src/pj/addr_resolv_sock.c b/res/pjproject/pjlib/src/pj/addr_resolv_sock.c deleted file mode 100644 index fb730fd489..0000000000 --- a/res/pjproject/pjlib/src/pj/addr_resolv_sock.c +++ /dev/null @@ -1,282 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - -#if defined(PJ_GETADDRINFO_USE_CFHOST) && PJ_GETADDRINFO_USE_CFHOST!=0 -# include -# include -#endif - -PJ_DEF(pj_status_t) pj_gethostbyname(const pj_str_t *hostname, pj_hostent *phe) -{ - struct hostent *he; - char copy[PJ_MAX_HOSTNAME]; - - pj_assert(hostname && hostname ->slen < PJ_MAX_HOSTNAME); - - if (hostname->slen >= PJ_MAX_HOSTNAME) - return PJ_ENAMETOOLONG; - - pj_memcpy(copy, hostname->ptr, hostname->slen); - copy[ hostname->slen ] = '\0'; - - he = gethostbyname(copy); - if (!he) { - return PJ_ERESOLVE; - /* DO NOT use pj_get_netos_error() since host resolution error - * is reported in h_errno instead of errno! - return pj_get_netos_error(); - */ - } - - phe->h_name = he->h_name; - phe->h_aliases = he->h_aliases; - phe->h_addrtype = he->h_addrtype; - phe->h_length = he->h_length; - phe->h_addr_list = he->h_addr_list; - - return PJ_SUCCESS; -} - -/* Resolve IPv4/IPv6 address */ -PJ_DEF(pj_status_t) pj_getaddrinfo(int af, const pj_str_t *nodename, - unsigned *count, pj_addrinfo ai[]) -{ -#if defined(PJ_SOCK_HAS_GETADDRINFO) && PJ_SOCK_HAS_GETADDRINFO!=0 - char nodecopy[PJ_MAX_HOSTNAME]; - pj_bool_t has_addr = PJ_FALSE; - unsigned i; -#if defined(PJ_GETADDRINFO_USE_CFHOST) && PJ_GETADDRINFO_USE_CFHOST!=0 - CFStringRef hostname; - CFHostRef hostRef; - pj_status_t status = PJ_SUCCESS; -#else - int rc; - struct addrinfo hint, *res, *orig_res; -#endif - - PJ_ASSERT_RETURN(nodename && count && *count && ai, PJ_EINVAL); - PJ_ASSERT_RETURN(nodename->ptr && nodename->slen, PJ_EINVAL); - PJ_ASSERT_RETURN(af==PJ_AF_INET || af==PJ_AF_INET6 || - af==PJ_AF_UNSPEC, PJ_EINVAL); - - /* Check if nodename is IP address */ - pj_bzero(&ai[0], sizeof(ai[0])); - if ((af==PJ_AF_INET || af==PJ_AF_UNSPEC) && - pj_inet_pton(PJ_AF_INET, nodename, - &ai[0].ai_addr.ipv4.sin_addr) == PJ_SUCCESS) - { - af = PJ_AF_INET; - has_addr = PJ_TRUE; - } else if ((af==PJ_AF_INET6 || af==PJ_AF_UNSPEC) && - pj_inet_pton(PJ_AF_INET6, nodename, - &ai[0].ai_addr.ipv6.sin6_addr) == PJ_SUCCESS) - { - af = PJ_AF_INET6; - has_addr = PJ_TRUE; - } - - if (has_addr) { - pj_str_t tmp; - - tmp.ptr = ai[0].ai_canonname; - pj_strncpy_with_null(&tmp, nodename, PJ_MAX_HOSTNAME); - ai[0].ai_addr.addr.sa_family = (pj_uint16_t)af; - *count = 1; - - return PJ_SUCCESS; - } - - /* Copy node name to null terminated string. */ - if (nodename->slen >= PJ_MAX_HOSTNAME) - return PJ_ENAMETOOLONG; - pj_memcpy(nodecopy, nodename->ptr, nodename->slen); - nodecopy[nodename->slen] = '\0'; - -#if defined(PJ_GETADDRINFO_USE_CFHOST) && PJ_GETADDRINFO_USE_CFHOST!=0 - hostname = CFStringCreateWithCStringNoCopy(kCFAllocatorDefault, nodecopy, - kCFStringEncodingASCII, - kCFAllocatorNull); - hostRef = CFHostCreateWithName(kCFAllocatorDefault, hostname); - if (CFHostStartInfoResolution(hostRef, kCFHostAddresses, nil)) { - CFArrayRef addrRef = CFHostGetAddressing(hostRef, nil); - i = 0; - if (addrRef != nil) { - CFIndex idx, naddr; - - naddr = CFArrayGetCount(addrRef); - for (idx = 0; idx < naddr && i < *count; idx++) { - struct sockaddr *addr; - - addr = (struct sockaddr *) - CFDataGetBytePtr(CFArrayGetValueAtIndex(addrRef, idx)); - /* This should not happen. */ - pj_assert(addr); - - /* Ignore unwanted address families */ - if (af!=PJ_AF_UNSPEC && addr->sa_family != af) - continue; - - /* Store canonical name */ - pj_ansi_strcpy(ai[i].ai_canonname, nodecopy); - - /* Store address */ - PJ_ASSERT_ON_FAIL(sizeof(*addr) <= sizeof(pj_sockaddr), - continue); - pj_memcpy(&ai[i].ai_addr, addr, sizeof(*addr)); - PJ_SOCKADDR_RESET_LEN(&ai[i].ai_addr); - - i++; - } - } - - *count = i; - } else { - status = PJ_ERESOLVE; - } - - CFRelease(hostRef); - CFRelease(hostname); - - return status; -#else - /* Call getaddrinfo() */ - pj_bzero(&hint, sizeof(hint)); - hint.ai_family = af; - - rc = getaddrinfo(nodecopy, NULL, &hint, &res); - if (rc != 0) - return PJ_ERESOLVE; - - orig_res = res; - - /* Enumerate each item in the result */ - for (i=0; i<*count && res; res=res->ai_next) { - /* Ignore unwanted address families */ - if (af!=PJ_AF_UNSPEC && res->ai_family != af) - continue; - - /* Store canonical name (possibly truncating the name) */ - if (res->ai_canonname) { - pj_ansi_strncpy(ai[i].ai_canonname, res->ai_canonname, - sizeof(ai[i].ai_canonname)); - ai[i].ai_canonname[sizeof(ai[i].ai_canonname)-1] = '\0'; - } else { - pj_ansi_strcpy(ai[i].ai_canonname, nodecopy); - } - - /* Store address */ - PJ_ASSERT_ON_FAIL(res->ai_addrlen <= sizeof(pj_sockaddr), continue); - pj_memcpy(&ai[i].ai_addr, res->ai_addr, res->ai_addrlen); - PJ_SOCKADDR_RESET_LEN(&ai[i].ai_addr); - - /* Next slot */ - ++i; - } - - *count = i; - - freeaddrinfo(orig_res); - - /* Done */ - return PJ_SUCCESS; -#endif - -#else /* PJ_SOCK_HAS_GETADDRINFO */ - pj_bool_t has_addr = PJ_FALSE; - - PJ_ASSERT_RETURN(count && *count, PJ_EINVAL); - - /* Check if nodename is IP address */ - pj_bzero(&ai[0], sizeof(ai[0])); - if ((af==PJ_AF_INET || af==PJ_AF_UNSPEC) && - pj_inet_pton(PJ_AF_INET, nodename, - &ai[0].ai_addr.ipv4.sin_addr) == PJ_SUCCESS) - { - af = PJ_AF_INET; - has_addr = PJ_TRUE; - } - else if ((af==PJ_AF_INET6 || af==PJ_AF_UNSPEC) && - pj_inet_pton(PJ_AF_INET6, nodename, - &ai[0].ai_addr.ipv6.sin6_addr) == PJ_SUCCESS) - { - af = PJ_AF_INET6; - has_addr = PJ_TRUE; - } - - if (has_addr) { - pj_str_t tmp; - - tmp.ptr = ai[0].ai_canonname; - pj_strncpy_with_null(&tmp, nodename, PJ_MAX_HOSTNAME); - ai[0].ai_addr.addr.sa_family = (pj_uint16_t)af; - *count = 1; - - return PJ_SUCCESS; - } - - if (af == PJ_AF_INET || af == PJ_AF_UNSPEC) { - pj_hostent he; - unsigned i, max_count; - pj_status_t status; - - /* VC6 complains that "he" is uninitialized */ - #ifdef _MSC_VER - pj_bzero(&he, sizeof(he)); - #endif - - status = pj_gethostbyname(nodename, &he); - if (status != PJ_SUCCESS) - return status; - - max_count = *count; - *count = 0; - - pj_bzero(ai, max_count * sizeof(pj_addrinfo)); - - for (i=0; he.h_addr_list[i] && *count - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include - -#include "os_symbian.h" - -#define THIS_FILE "addr_resolv_symbian.cpp" -#define TRACE_ME 0 - - -// PJLIB API: resolve hostname -PJ_DEF(pj_status_t) pj_gethostbyname(const pj_str_t *name, pj_hostent *he) -{ - static pj_addrinfo ai; - static char *aliases[2]; - static char *addrlist[2]; - unsigned count = 1; - pj_status_t status; - - status = pj_getaddrinfo(PJ_AF_INET, name, &count, &ai); - if (status != PJ_SUCCESS) - return status; - - aliases[0] = ai.ai_canonname; - aliases[1] = NULL; - - addrlist[0] = (char*) &ai.ai_addr.ipv4.sin_addr; - addrlist[1] = NULL; - - pj_bzero(he, sizeof(*he)); - he->h_name = aliases[0]; - he->h_aliases = aliases; - he->h_addrtype = PJ_AF_INET; - he->h_length = 4; - he->h_addr_list = addrlist; - - return PJ_SUCCESS; -} - - -// Resolve for specific address family -static pj_status_t getaddrinfo_by_af(int af, const pj_str_t *name, - unsigned *count, pj_addrinfo ai[]) -{ - unsigned i; - pj_status_t status; - - PJ_ASSERT_RETURN(name && count && ai, PJ_EINVAL); - -#if !defined(PJ_HAS_IPV6) || !PJ_HAS_IPV6 - if (af == PJ_AF_INET6) - return PJ_EIPV6NOTSUP; -#endif - - // Return failure if access point is marked as down by app. - PJ_SYMBIAN_CHECK_CONNECTION(); - - // Get resolver for the specified address family - RHostResolver &resv = PjSymbianOS::Instance()->GetResolver(af); - - // Convert name to Unicode - wchar_t name16[PJ_MAX_HOSTNAME]; - pj_ansi_to_unicode(name->ptr, name->slen, name16, PJ_ARRAY_SIZE(name16)); - TPtrC16 data((const TUint16*)name16); - - // Resolve! - TNameEntry nameEntry; - TRequestStatus reqStatus; - - resv.GetByName(data, nameEntry, reqStatus); - User::WaitForRequest(reqStatus); - - // Iterate each result - i = 0; - while (reqStatus == KErrNone && i < *count) { - - // Get the resolved TInetAddr - TInetAddr inetAddr(nameEntry().iAddr); - int addrlen; - -#if TRACE_ME - if (1) { - pj_sockaddr a; - char ipaddr[PJ_INET6_ADDRSTRLEN+2]; - int namelen; - - namelen = sizeof(pj_sockaddr); - if (PjSymbianOS::Addr2pj(inetAddr, a, &namelen, - PJ_FALSE) == PJ_SUCCESS) - { - PJ_LOG(5,(THIS_FILE, "resolve %.*s: %s", - (int)name->slen, name->ptr, - pj_sockaddr_print(&a, ipaddr, sizeof(ipaddr), 2))); - } - } -#endif - - // Ignore if this is not the same address family - // Not a good idea, as Symbian mapps IPv4 to IPv6. - //fam = inetAddr.Family(); - //if (fam != af) { - // resv.Next(nameEntry, reqStatus); - // User::WaitForRequest(reqStatus); - // continue; - //} - - // Convert IP address first to get IPv4 mapped address - addrlen = sizeof(ai[i].ai_addr); - status = PjSymbianOS::Addr2pj(inetAddr, ai[i].ai_addr, - &addrlen, PJ_TRUE); - if (status != PJ_SUCCESS) - return status; - - // Ignore if address family doesn't match - if (ai[i].ai_addr.addr.sa_family != af) { - resv.Next(nameEntry, reqStatus); - User::WaitForRequest(reqStatus); - continue; - } - - // Convert the official address to ANSI. - pj_unicode_to_ansi((const wchar_t*)nameEntry().iName.Ptr(), - nameEntry().iName.Length(), - ai[i].ai_canonname, sizeof(ai[i].ai_canonname)); - - // Next - ++i; - resv.Next(nameEntry, reqStatus); - User::WaitForRequest(reqStatus); - } - - *count = i; - return PJ_SUCCESS; -} - -/* Resolve IPv4/IPv6 address */ -PJ_DEF(pj_status_t) pj_getaddrinfo(int af, const pj_str_t *nodename, - unsigned *count, pj_addrinfo ai[]) -{ - unsigned start; - pj_status_t status = PJ_EAFNOTSUP; - - PJ_ASSERT_RETURN(af==PJ_AF_INET || af==PJ_AF_INET6 || af==PJ_AF_UNSPEC, - PJ_EAFNOTSUP); - PJ_ASSERT_RETURN(nodename && count && *count && ai, PJ_EINVAL); - - start = 0; - - if (af==PJ_AF_INET6 || af==PJ_AF_UNSPEC) { - unsigned max = *count; - status = getaddrinfo_by_af(PJ_AF_INET6, nodename, - &max, &ai[start]); - if (status == PJ_SUCCESS) { - (*count) -= max; - start += max; - } - } - - if (af==PJ_AF_INET || af==PJ_AF_UNSPEC) { - unsigned max = *count; - status = getaddrinfo_by_af(PJ_AF_INET, nodename, - &max, &ai[start]); - if (status == PJ_SUCCESS) { - (*count) -= max; - start += max; - } - } - - *count = start; - - if (*count) { - return PJ_SUCCESS; - } else { - return status!=PJ_SUCCESS ? status : PJ_ENOTFOUND; - } -} - diff --git a/res/pjproject/pjlib/src/pj/array.c b/res/pjproject/pjlib/src/pj/array.c deleted file mode 100644 index 665b38d2b1..0000000000 --- a/res/pjproject/pjlib/src/pj/array.c +++ /dev/null @@ -1,71 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -PJ_DEF(void) pj_array_insert( void *array, - unsigned elem_size, - unsigned count, - unsigned pos, - const void *value) -{ - if (count && pos < count) { - pj_memmove( (char*)array + (pos+1)*elem_size, - (char*)array + pos*elem_size, - (count-pos)*elem_size); - } - pj_memmove((char*)array + pos*elem_size, value, elem_size); -} - -PJ_DEF(void) pj_array_erase( void *array, - unsigned elem_size, - unsigned count, - unsigned pos) -{ - pj_assert(count != 0); - if (pos < count-1) { - pj_memmove( (char*)array + pos*elem_size, - (char*)array + (pos+1)*elem_size, - (count-pos-1)*elem_size); - } -} - -PJ_DEF(pj_status_t) pj_array_find( const void *array, - unsigned elem_size, - unsigned count, - pj_status_t (*matching)(const void *value), - void **result) -{ - unsigned i; - const char *char_array = (const char*)array; - for (i=0; i - -.global __longjmp -.type __longjmp,%function -.align 4 -__longjmp: - movl 4(%esp), %ecx /* User's jmp_buf in %ecx. */ - movl 8(%esp), %eax /* Second argument is return value. */ - /* Save the return address now. */ - movl (JB_PC*4)(%ecx), %edx - /* Restore registers. */ - movl (JB_BX*4)(%ecx), %ebx - movl (JB_SI*4)(%ecx), %esi - movl (JB_DI*4)(%ecx), %edi - movl (JB_BP*4)(%ecx), %ebp - movl (JB_SP*4)(%ecx), %esp - /* Jump to saved PC. */ - jmp *%edx -.size __longjmp,.-__longjmp - diff --git a/res/pjproject/pjlib/src/pj/compat/setjmp_i386.S b/res/pjproject/pjlib/src/pj/compat/setjmp_i386.S deleted file mode 100644 index 9cdaaff74d..0000000000 --- a/res/pjproject/pjlib/src/pj/compat/setjmp_i386.S +++ /dev/null @@ -1,61 +0,0 @@ -/* setjmp for i386, ELF version. - Copyright (C) 1995, 1996, 1997, 2000, 2001 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ - -#define _ASM -#define _SETJMP_H -#define PJ_LINUX_KERNEL 1 -#include - - -.global __sigsetjmp -.type __sigsetjmp,%function -.align 4 - -__sigsetjmp: - movl 4 (%esp), %eax - /* Save registers. */ - movl %ebx, (0 *4)(%eax) - movl %esi, (1 *4)(%eax) - movl %edi, (2 *4)(%eax) - /* Save SP as it will be after we return. */ - leal 4(%esp), %ecx - movl %ecx, (4 *4)(%eax) - /* Save PC we are returning to now. */ - movl 0(%esp), %ecx - movl %ecx, (5 *4)(%eax) - /* Save caller's frame pointer. */ - movl %ebp, (3 *4)(%eax) - - /* Make a tail call to __sigjmp_save; it takes the same args. */ -#ifdef __PIC__ - /* We cannot use the PLT, because it requires that %ebx be set, but - we can't save and restore our caller's value. Instead, we do an - indirect jump through the GOT, using for the temporary register - %ecx, which is call-clobbered. */ - call .Lhere -.Lhere: - popl %ecx - addl $_GLOBAL_OFFSET_TABLE_+[.- .Lhere ], %ecx - movl __sigjmp_save @GOT (%ecx), %ecx - jmp *%ecx -#else - jmp __sigjmp_save -#endif -.size __sigsetjmp,.-__sigsetjmp - diff --git a/res/pjproject/pjlib/src/pj/compat/sigjmp.c b/res/pjproject/pjlib/src/pj/compat/sigjmp.c deleted file mode 100644 index 5300a3113f..0000000000 --- a/res/pjproject/pjlib/src/pj/compat/sigjmp.c +++ /dev/null @@ -1,40 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -int __sigjmp_save(sigjmp_buf env, int savemask) -{ - return 0; -} - -extern int __sigsetjmp(pj_jmp_buf env, int savemask); -extern void __longjmp(pj_jmp_buf env, int val) __attribute__((noreturn)); - -PJ_DEF(int) pj_setjmp(pj_jmp_buf env) -{ - return __sigsetjmp(env, 0); -} - -PJ_DEF(void) pj_longjmp(pj_jmp_buf env, int val) -{ - __longjmp(env, val); -} - diff --git a/res/pjproject/pjlib/src/pj/compat/string.c b/res/pjproject/pjlib/src/pj/compat/string.c deleted file mode 100644 index 137691ebfe..0000000000 --- a/res/pjproject/pjlib/src/pj/compat/string.c +++ /dev/null @@ -1,45 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - -PJ_DEF(int) strcasecmp(const char *s1, const char *s2) -{ - while ((*s1==*s2) || (pj_tolower(*s1)==pj_tolower(*s2))) { - if (!*s1++) - return 0; - ++s2; - } - return (pj_tolower(*s1) < pj_tolower(*s2)) ? -1 : 1; -} - -PJ_DEF(int) strncasecmp(const char *s1, const char *s2, int len) -{ - if (!len) return 0; - - while ((*s1==*s2) || (pj_tolower(*s1)==pj_tolower(*s2))) { - if (!*s1++ || --len <= 0) - return 0; - ++s2; - } - return (pj_tolower(*s1) < pj_tolower(*s2)) ? -1 : 1; -} - diff --git a/res/pjproject/pjlib/src/pj/compat/string_compat.c b/res/pjproject/pjlib/src/pj/compat/string_compat.c deleted file mode 100644 index 64e917ad0f..0000000000 --- a/res/pjproject/pjlib/src/pj/compat/string_compat.c +++ /dev/null @@ -1,83 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - - -#if defined(PJ_HAS_STRING_H) && PJ_HAS_STRING_H != 0 -/* Nothing to do */ -#else -PJ_DEF(int) strcasecmp(const char *s1, const char *s2) -{ - while ((*s1==*s2) || (pj_tolower(*s1)==pj_tolower(*s2))) { - if (!*s1++) - return 0; - ++s2; - } - return (pj_tolower(*s1) < pj_tolower(*s2)) ? -1 : 1; -} - -PJ_DEF(int) strncasecmp(const char *s1, const char *s2, int len) -{ - if (!len) return 0; - - while ((*s1==*s2) || (pj_tolower(*s1)==pj_tolower(*s2))) { - if (!*s1++ || --len <= 0) - return 0; - ++s2; - } - return (pj_tolower(*s1) < pj_tolower(*s2)) ? -1 : 1; -} -#endif - -#if defined(PJ_HAS_NO_SNPRINTF) && PJ_HAS_NO_SNPRINTF != 0 - -PJ_DEF(int) snprintf(char *s1, pj_size_t len, const char *s2, ...) -{ - int ret; - va_list arg; - - PJ_UNUSED_ARG(len); - - va_start(arg, s2); - ret = vsprintf(s1, s2, arg); - va_end(arg); - - return ret; -} - -PJ_DEF(int) vsnprintf(char *s1, pj_size_t len, const char *s2, va_list arg) -{ -#define MARK_CHAR ((char)255) - int rc; - - s1[len-1] = MARK_CHAR; - - rc = vsprintf(s1,s2,arg); - - pj_assert(s1[len-1] == MARK_CHAR || s1[len-1] == '\0'); - - return rc; -} - -#endif - diff --git a/res/pjproject/pjlib/src/pj/config.c b/res/pjproject/pjlib/src/pj/config.c deleted file mode 100644 index 83ba55dacc..0000000000 --- a/res/pjproject/pjlib/src/pj/config.c +++ /dev/null @@ -1,89 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - -static const char *id = "config.c"; - -#define PJ_MAKE_VERSION3_1(a,b,d) #a "." #b d -#define PJ_MAKE_VERSION3_2(a,b,d) PJ_MAKE_VERSION3_1(a,b,d) - -#define PJ_MAKE_VERSION4_1(a,b,c,d) #a "." #b "." #c d -#define PJ_MAKE_VERSION4_2(a,b,c,d) PJ_MAKE_VERSION4_1(a,b,c,d) - -#if PJ_VERSION_NUM_REV -PJ_DEF_DATA(const char*) PJ_VERSION = PJ_MAKE_VERSION4_2(PJ_VERSION_NUM_MAJOR, - PJ_VERSION_NUM_MINOR, - PJ_VERSION_NUM_REV, - PJ_VERSION_NUM_EXTRA); -#else -PJ_DEF_DATA(const char*) PJ_VERSION = PJ_MAKE_VERSION3_2(PJ_VERSION_NUM_MAJOR, - PJ_VERSION_NUM_MINOR, - PJ_VERSION_NUM_EXTRA); -#endif - -/* - * Get PJLIB version string. - */ -PJ_DEF(const char*) pj_get_version(void) -{ - return PJ_VERSION; -} - -PJ_DEF(void) pj_dump_config(void) -{ - PJ_LOG(3, (id, "PJLIB (c)2008-2009 Teluu Inc.")); - PJ_LOG(3, (id, "Dumping configurations:")); - PJ_LOG(3, (id, " PJ_VERSION : %s", PJ_VERSION)); - PJ_LOG(3, (id, " PJ_M_NAME : %s", PJ_M_NAME)); - PJ_LOG(3, (id, " PJ_HAS_PENTIUM : %d", PJ_HAS_PENTIUM)); - PJ_LOG(3, (id, " PJ_OS_NAME : %s", PJ_OS_NAME)); - PJ_LOG(3, (id, " PJ_CC_NAME/VER_(1,2,3) : %s-%d.%d.%d", PJ_CC_NAME, - PJ_CC_VER_1, PJ_CC_VER_2, PJ_CC_VER_3)); - PJ_LOG(3, (id, " PJ_IS_(BIG/LITTLE)_ENDIAN : %s", - (PJ_IS_BIG_ENDIAN?"big-endian":"little-endian"))); - PJ_LOG(3, (id, " PJ_HAS_INT64 : %d", PJ_HAS_INT64)); - PJ_LOG(3, (id, " PJ_HAS_FLOATING_POINT : %d", PJ_HAS_FLOATING_POINT)); - PJ_LOG(3, (id, " PJ_DEBUG : %d", PJ_DEBUG)); - PJ_LOG(3, (id, " PJ_FUNCTIONS_ARE_INLINED : %d", PJ_FUNCTIONS_ARE_INLINED)); - PJ_LOG(3, (id, " PJ_LOG_MAX_LEVEL : %d", PJ_LOG_MAX_LEVEL)); - PJ_LOG(3, (id, " PJ_LOG_MAX_SIZE : %d", PJ_LOG_MAX_SIZE)); - PJ_LOG(3, (id, " PJ_LOG_USE_STACK_BUFFER : %d", PJ_LOG_USE_STACK_BUFFER)); - PJ_LOG(3, (id, " PJ_POOL_DEBUG : %d", PJ_POOL_DEBUG)); - PJ_LOG(3, (id, " PJ_HAS_POOL_ALT_API : %d", PJ_HAS_POOL_ALT_API)); - PJ_LOG(3, (id, " PJ_HAS_TCP : %d", PJ_HAS_TCP)); - PJ_LOG(3, (id, " PJ_MAX_HOSTNAME : %d", PJ_MAX_HOSTNAME)); - PJ_LOG(3, (id, " ioqueue type : %s", pj_ioqueue_name())); - PJ_LOG(3, (id, " PJ_IOQUEUE_MAX_HANDLES : %d", PJ_IOQUEUE_MAX_HANDLES)); - PJ_LOG(3, (id, " PJ_IOQUEUE_HAS_SAFE_UNREG : %d", PJ_IOQUEUE_HAS_SAFE_UNREG)); - PJ_LOG(3, (id, " PJ_HAS_THREADS : %d", PJ_HAS_THREADS)); - PJ_LOG(3, (id, " PJ_LOG_USE_STACK_BUFFER : %d", PJ_LOG_USE_STACK_BUFFER)); - PJ_LOG(3, (id, " PJ_HAS_SEMAPHORE : %d", PJ_HAS_SEMAPHORE)); - PJ_LOG(3, (id, " PJ_HAS_EVENT_OBJ : %d", PJ_HAS_EVENT_OBJ)); - PJ_LOG(3, (id, " PJ_ENABLE_EXTRA_CHECK : %d", PJ_ENABLE_EXTRA_CHECK)); - PJ_LOG(3, (id, " PJ_HAS_EXCEPTION_NAMES : %d", PJ_HAS_EXCEPTION_NAMES)); - PJ_LOG(3, (id, " PJ_MAX_EXCEPTION_ID : %d", PJ_MAX_EXCEPTION_ID)); - PJ_LOG(3, (id, " PJ_EXCEPTION_USE_WIN32_SEH: %d", PJ_EXCEPTION_USE_WIN32_SEH)); - PJ_LOG(3, (id, " PJ_TIMESTAMP_USE_RDTSC: : %d", PJ_TIMESTAMP_USE_RDTSC)); - PJ_LOG(3, (id, " PJ_OS_HAS_CHECK_STACK : %d", PJ_OS_HAS_CHECK_STACK)); - PJ_LOG(3, (id, " PJ_HAS_HIGH_RES_TIMER : %d", PJ_HAS_HIGH_RES_TIMER)); -} - diff --git a/res/pjproject/pjlib/src/pj/ctype.c b/res/pjproject/pjlib/src/pj/ctype.c deleted file mode 100644 index d000659648..0000000000 --- a/res/pjproject/pjlib/src/pj/ctype.c +++ /dev/null @@ -1,28 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include - -/* -char pj_hex_digits[] = {'0', '1', '2', '3', '4', '5', '6', '7', - '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' }; -*/ - -int pjlib_ctype_c_dummy_symbol; - diff --git a/res/pjproject/pjlib/src/pj/errno.c b/res/pjproject/pjlib/src/pj/errno.c deleted file mode 100644 index 615d1450d4..0000000000 --- a/res/pjproject/pjlib/src/pj/errno.c +++ /dev/null @@ -1,320 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - -/* Prototype for platform specific error message, which will be defined - * in separate file. - */ -PJ_BEGIN_DECL - - PJ_DECL(int) platform_strerror(pj_os_err_type code, - char *buf, pj_size_t bufsize ); -PJ_END_DECL - -#ifndef PJLIB_MAX_ERR_MSG_HANDLER -# define PJLIB_MAX_ERR_MSG_HANDLER 10 -#endif - -/* Error message handler. */ -static unsigned err_msg_hnd_cnt; -static struct err_msg_hnd -{ - pj_status_t begin; - pj_status_t end; - pj_str_t (*strerror)(pj_status_t, char*, pj_size_t); - -} err_msg_hnd[PJLIB_MAX_ERR_MSG_HANDLER]; - -/* PJLIB's own error codes/messages */ -#if defined(PJ_HAS_ERROR_STRING) && PJ_HAS_ERROR_STRING!=0 - -static const struct -{ - int code; - const char *msg; -} err_str[] = -{ - PJ_BUILD_ERR(PJ_EUNKNOWN, "Unknown Error" ), - PJ_BUILD_ERR(PJ_EPENDING, "Pending operation" ), - PJ_BUILD_ERR(PJ_ETOOMANYCONN, "Too many connecting sockets" ), - PJ_BUILD_ERR(PJ_EINVAL, "Invalid value or argument" ), - PJ_BUILD_ERR(PJ_ENAMETOOLONG, "Name too long" ), - PJ_BUILD_ERR(PJ_ENOTFOUND, "Not found" ), - PJ_BUILD_ERR(PJ_ENOMEM, "Not enough memory" ), - PJ_BUILD_ERR(PJ_EBUG, "BUG DETECTED!" ), - PJ_BUILD_ERR(PJ_ETIMEDOUT, "Operation timed out" ), - PJ_BUILD_ERR(PJ_ETOOMANY, "Too many objects of the specified type"), - PJ_BUILD_ERR(PJ_EBUSY, "Object is busy"), - PJ_BUILD_ERR(PJ_ENOTSUP, "Option/operation is not supported"), - PJ_BUILD_ERR(PJ_EINVALIDOP, "Invalid operation"), - PJ_BUILD_ERR(PJ_ECANCELLED, "Operation cancelled"), - PJ_BUILD_ERR(PJ_EEXISTS, "Object already exists" ), - PJ_BUILD_ERR(PJ_EEOF, "End of file" ), - PJ_BUILD_ERR(PJ_ETOOBIG, "Size is too big"), - PJ_BUILD_ERR(PJ_ERESOLVE, "gethostbyname() has returned error"), - PJ_BUILD_ERR(PJ_ETOOSMALL, "Size is too short"), - PJ_BUILD_ERR(PJ_EIGNORED, "Ignored"), - PJ_BUILD_ERR(PJ_EIPV6NOTSUP, "IPv6 is not supported"), - PJ_BUILD_ERR(PJ_EAFNOTSUP, "Unsupported address family") -}; -#endif /* PJ_HAS_ERROR_STRING */ - - -/* - * pjlib_error() - * - * Retrieve message string for PJLIB's own error code. - */ -static int pjlib_error(pj_status_t code, char *buf, pj_size_t size) -{ -#if defined(PJ_HAS_ERROR_STRING) && PJ_HAS_ERROR_STRING!=0 - unsigned i; - - for (i=0; i= size) len = size-1; - pj_memcpy(buf, err_str[i].msg, len); - buf[len] = '\0'; - return len; - } - } -#endif - - return pj_ansi_snprintf( buf, size, "Unknown pjlib error %d", code); -} - -#define IN_RANGE(val,start,end) ((val)>=(start) && (val)<(end)) - -/* Register strerror handle. */ -PJ_DEF(pj_status_t) pj_register_strerror( pj_status_t start, - pj_status_t space, - pj_error_callback f) -{ - unsigned i; - - /* Check arguments. */ - PJ_ASSERT_RETURN(start && space && f, PJ_EINVAL); - - /* Check if there aren't too many handlers registered. */ - PJ_ASSERT_RETURN(err_msg_hnd_cnt < PJ_ARRAY_SIZE(err_msg_hnd), - PJ_ETOOMANY); - - /* Start error must be greater than PJ_ERRNO_START_USER */ - PJ_ASSERT_RETURN(start >= PJ_ERRNO_START_USER, PJ_EEXISTS); - - /* Check that no existing handler has covered the specified range. */ - for (i=0; i= 1 -static void invoke_log(const char *sender, int level, const char *format, ...) -{ - va_list arg; - va_start(arg, format); - pj_log(sender, level, format, arg); - va_end(arg); -} - -static void pj_perror_imp(int log_level, const char *sender, - pj_status_t status, - const char *title_fmt, va_list marker) -{ - char titlebuf[PJ_PERROR_TITLE_BUF_SIZE]; - char errmsg[PJ_ERR_MSG_SIZE]; - int len; - - /* Build the title */ - len = pj_ansi_vsnprintf(titlebuf, sizeof(titlebuf), title_fmt, marker); - if (len < 0 || len >= (int)sizeof(titlebuf)) - pj_ansi_strcpy(titlebuf, "Error"); - - /* Get the error */ - pj_strerror(status, errmsg, sizeof(errmsg)); - - /* Send to log */ - invoke_log(sender, log_level, "%s: %s", titlebuf, errmsg); -} - -PJ_DEF(void) pj_perror(int log_level, const char *sender, pj_status_t status, - const char *title_fmt, ...) -{ - va_list marker; - va_start(marker, title_fmt); - pj_perror_imp(log_level, sender, status, title_fmt, marker); - va_end(marker); -} - -PJ_DEF(void) pj_perror_1(const char *sender, pj_status_t status, - const char *title_fmt, ...) -{ - va_list marker; - va_start(marker, title_fmt); - pj_perror_imp(1, sender, status, title_fmt, marker); - va_end(marker); -} - -#else /* #if PJ_LOG_MAX_LEVEL >= 1 */ -PJ_DEF(void) pj_perror(int log_level, const char *sender, pj_status_t status, - const char *title_fmt, ...) -{ -} -#endif /* #if PJ_LOG_MAX_LEVEL >= 1 */ - - -#if PJ_LOG_MAX_LEVEL >= 2 -PJ_DEF(void) pj_perror_2(const char *sender, pj_status_t status, - const char *title_fmt, ...) -{ - va_list marker; - va_start(marker, title_fmt); - pj_perror_imp(2, sender, status, title_fmt, marker); - va_end(marker); -} -#endif - -#if PJ_LOG_MAX_LEVEL >= 3 -PJ_DEF(void) pj_perror_3(const char *sender, pj_status_t status, - const char *title_fmt, ...) -{ - va_list marker; - va_start(marker, title_fmt); - pj_perror_imp(3, sender, status, title_fmt, marker); - va_end(marker); -} -#endif - -#if PJ_LOG_MAX_LEVEL >= 4 -PJ_DEF(void) pj_perror_4(const char *sender, pj_status_t status, - const char *title_fmt, ...) -{ - va_list marker; - va_start(marker, title_fmt); - pj_perror_imp(4, sender, status, title_fmt, marker); - va_end(marker); -} -#endif - -#if PJ_LOG_MAX_LEVEL >= 5 -PJ_DEF(void) pj_perror_5(const char *sender, pj_status_t status, - const char *title_fmt, ...) -{ - va_list marker; - va_start(marker, title_fmt); - pj_perror_imp(5, sender, status, title_fmt, marker); - va_end(marker); -} -#endif - -#if PJ_LOG_MAX_LEVEL >= 6 -PJ_DEF(void) pj_perror_6(const char *sender, pj_status_t status, - const char *title_fmt, ...) -{ - va_list marker; - va_start(marker, title_fmt); - pj_perror_imp(6, sender, status, title_fmt, marker); - va_end(marker); -} -#endif - diff --git a/res/pjproject/pjlib/src/pj/except.c b/res/pjproject/pjlib/src/pj/except.c deleted file mode 100644 index abe1ce61e3..0000000000 --- a/res/pjproject/pjlib/src/pj/except.c +++ /dev/null @@ -1,185 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - -static long thread_local_id = -1; - -#if defined(PJ_HAS_EXCEPTION_NAMES) && PJ_HAS_EXCEPTION_NAMES != 0 - static const char *exception_id_names[PJ_MAX_EXCEPTION_ID]; -#else - /* - * Start from 1 (not 0)!!! - * Exception 0 is reserved for normal path of setjmp()!!! - */ - static int last_exception_id = 1; -#endif /* PJ_HAS_EXCEPTION_NAMES */ - - -#if !defined(PJ_EXCEPTION_USE_WIN32_SEH) || PJ_EXCEPTION_USE_WIN32_SEH==0 -PJ_DEF(void) pj_throw_exception_(int exception_id) -{ - struct pj_exception_state_t *handler; - - handler = (struct pj_exception_state_t*) - pj_thread_local_get(thread_local_id); - if (handler == NULL) { - PJ_LOG(1,("except.c", "!!!FATAL: unhandled exception %s!\n", - pj_exception_id_name(exception_id))); - pj_assert(handler != NULL); - /* This will crash the system! */ - } - pj_pop_exception_handler_(handler); - pj_longjmp(handler->state, exception_id); -} - -static void exception_cleanup(void) -{ - if (thread_local_id != -1) { - pj_thread_local_free(thread_local_id); - thread_local_id = -1; - } - -#if defined(PJ_HAS_EXCEPTION_NAMES) && PJ_HAS_EXCEPTION_NAMES != 0 - { - unsigned i; - for (i=0; iprev = parent_handler; - pj_thread_local_set(thread_local_id, rec); -} - -PJ_DEF(void) pj_pop_exception_handler_(struct pj_exception_state_t *rec) -{ - struct pj_exception_state_t *handler; - - handler = (struct pj_exception_state_t *) - pj_thread_local_get(thread_local_id); - if (handler && handler==rec) { - pj_thread_local_set(thread_local_id, handler->prev); - } -} -#endif - -#if defined(PJ_HAS_EXCEPTION_NAMES) && PJ_HAS_EXCEPTION_NAMES != 0 -PJ_DEF(pj_status_t) pj_exception_id_alloc( const char *name, - pj_exception_id_t *id) -{ - unsigned i; - - pj_enter_critical_section(); - - /* - * Start from 1 (not 0)!!! - * Exception 0 is reserved for normal path of setjmp()!!! - */ - for (i=1; i0 && id0 && id"); - - if (exception_id_names[id] == NULL) { - pj_ansi_snprintf(unknown_name, sizeof(unknown_name), - "exception %d", id); - return unknown_name; - } - - return exception_id_names[id]; -} - -#else /* PJ_HAS_EXCEPTION_NAMES */ -PJ_DEF(pj_status_t) pj_exception_id_alloc( const char *name, - pj_exception_id_t *id) -{ - PJ_ASSERT_RETURN(last_exception_id < PJ_MAX_EXCEPTION_ID-1, PJ_ETOOMANY); - - *id = last_exception_id++; - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_exception_id_free( pj_exception_id_t id ) -{ - return PJ_SUCCESS; -} - -PJ_DEF(const char*) pj_exception_id_name(pj_exception_id_t id) -{ - return ""; -} - -#endif /* PJ_HAS_EXCEPTION_NAMES */ - - - diff --git a/res/pjproject/pjlib/src/pj/exception_symbian.cpp b/res/pjproject/pjlib/src/pj/exception_symbian.cpp deleted file mode 100644 index 4b5da40697..0000000000 --- a/res/pjproject/pjlib/src/pj/exception_symbian.cpp +++ /dev/null @@ -1,116 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - - -#if defined(PJ_HAS_EXCEPTION_NAMES) && PJ_HAS_EXCEPTION_NAMES != 0 - static const char *exception_id_names[PJ_MAX_EXCEPTION_ID]; -#else - /* - * Start from 1 (not 0)!!! - * Exception 0 is reserved for normal path of setjmp()!!! - */ - static int last_exception_id = 1; -#endif /* PJ_HAS_EXCEPTION_NAMES */ - - -#if defined(PJ_HAS_EXCEPTION_NAMES) && PJ_HAS_EXCEPTION_NAMES != 0 -PJ_DEF(pj_status_t) pj_exception_id_alloc( const char *name, - pj_exception_id_t *id) -{ - unsigned i; - - pj_enter_critical_section(); - - /* - * Start from 1 (not 0)!!! - * Exception 0 is reserved for normal path of setjmp()!!! - */ - for (i=1; i0 && id0 && id"); - - if (exception_id_names[id] == NULL) - return ""; - - return exception_id_names[id]; -} - -#else /* PJ_HAS_EXCEPTION_NAMES */ -PJ_DEF(pj_status_t) pj_exception_id_alloc( const char *name, - pj_exception_id_t *id) -{ - PJ_ASSERT_RETURN(last_exception_id < PJ_MAX_EXCEPTION_ID-1, PJ_ETOOMANY); - - *id = last_exception_id++; - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_exception_id_free( pj_exception_id_t id ) -{ - return PJ_SUCCESS; -} - -PJ_DEF(const char*) pj_exception_id_name(pj_exception_id_t id) -{ - return ""; -} - -#endif /* PJ_HAS_EXCEPTION_NAMES */ - - - diff --git a/res/pjproject/pjlib/src/pj/extra-exports.c b/res/pjproject/pjlib/src/pj/extra-exports.c deleted file mode 100644 index 23a37bd9fc..0000000000 --- a/res/pjproject/pjlib/src/pj/extra-exports.c +++ /dev/null @@ -1,41 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -EXPORT_SYMBOL(sys_select); - -EXPORT_SYMBOL(sys_epoll_create); -EXPORT_SYMBOL(sys_epoll_ctl); -EXPORT_SYMBOL(sys_epoll_wait); - -EXPORT_SYMBOL(sys_socket); -EXPORT_SYMBOL(sys_bind); -EXPORT_SYMBOL(sys_getpeername); -EXPORT_SYMBOL(sys_getsockname); -EXPORT_SYMBOL(sys_sendto); -EXPORT_SYMBOL(sys_recvfrom); -EXPORT_SYMBOL(sys_getsockopt); -EXPORT_SYMBOL(sys_setsockopt); -EXPORT_SYMBOL(sys_listen); -EXPORT_SYMBOL(sys_shutdown); -EXPORT_SYMBOL(sys_connect); -EXPORT_SYMBOL(sys_accept); - diff --git a/res/pjproject/pjlib/src/pj/fifobuf.c b/res/pjproject/pjlib/src/pj/fifobuf.c deleted file mode 100644 index fe023d8f3a..0000000000 --- a/res/pjproject/pjlib/src/pj/fifobuf.c +++ /dev/null @@ -1,189 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -#define THIS_FILE "fifobuf" - -#define SZ sizeof(unsigned) - -PJ_DEF(void) pj_fifobuf_init (pj_fifobuf_t *fifobuf, void *buffer, unsigned size) -{ - PJ_CHECK_STACK(); - - PJ_LOG(6, (THIS_FILE, - "fifobuf_init fifobuf=%p buffer=%p, size=%d", - fifobuf, buffer, size)); - - fifobuf->first = (char*)buffer; - fifobuf->last = fifobuf->first + size; - fifobuf->ubegin = fifobuf->uend = fifobuf->first; - fifobuf->full = 0; -} - -PJ_DEF(unsigned) pj_fifobuf_max_size (pj_fifobuf_t *fifobuf) -{ - unsigned s1, s2; - - PJ_CHECK_STACK(); - - if (fifobuf->uend >= fifobuf->ubegin) { - s1 = fifobuf->last - fifobuf->uend; - s2 = fifobuf->ubegin - fifobuf->first; - } else { - s1 = s2 = fifobuf->ubegin - fifobuf->uend; - } - - return s1full) { - PJ_LOG(6, (THIS_FILE, - "fifobuf_alloc fifobuf=%p, size=%d: full!", - fifobuf, size)); - return NULL; - } - - /* try to allocate from the end part of the fifo */ - if (fifobuf->uend >= fifobuf->ubegin) { - available = fifobuf->last - fifobuf->uend; - if (available >= size+SZ) { - char *ptr = fifobuf->uend; - fifobuf->uend += (size+SZ); - if (fifobuf->uend == fifobuf->last) - fifobuf->uend = fifobuf->first; - if (fifobuf->uend == fifobuf->ubegin) - fifobuf->full = 1; - *(unsigned*)ptr = size+SZ; - ptr += SZ; - - PJ_LOG(6, (THIS_FILE, - "fifobuf_alloc fifobuf=%p, size=%d: returning %p, p1=%p, p2=%p", - fifobuf, size, ptr, fifobuf->ubegin, fifobuf->uend)); - return ptr; - } - } - - /* try to allocate from the start part of the fifo */ - start = (fifobuf->uend <= fifobuf->ubegin) ? fifobuf->uend : fifobuf->first; - available = fifobuf->ubegin - start; - if (available >= size+SZ) { - char *ptr = start; - fifobuf->uend = start + size + SZ; - if (fifobuf->uend == fifobuf->ubegin) - fifobuf->full = 1; - *(unsigned*)ptr = size+SZ; - ptr += SZ; - - PJ_LOG(6, (THIS_FILE, - "fifobuf_alloc fifobuf=%p, size=%d: returning %p, p1=%p, p2=%p", - fifobuf, size, ptr, fifobuf->ubegin, fifobuf->uend)); - return ptr; - } - - PJ_LOG(6, (THIS_FILE, - "fifobuf_alloc fifobuf=%p, size=%d: no space left! p1=%p, p2=%p", - fifobuf, size, fifobuf->ubegin, fifobuf->uend)); - return NULL; -} - -PJ_DEF(pj_status_t) pj_fifobuf_unalloc (pj_fifobuf_t *fifobuf, void *buf) -{ - char *ptr = (char*)buf; - char *endptr; - unsigned sz; - - PJ_CHECK_STACK(); - - ptr -= SZ; - sz = *(unsigned*)ptr; - - endptr = fifobuf->uend; - if (endptr == fifobuf->first) - endptr = fifobuf->last; - - if (ptr+sz != endptr) { - pj_assert(!"Invalid pointer to undo alloc"); - return -1; - } - - fifobuf->uend = ptr; - fifobuf->full = 0; - - PJ_LOG(6, (THIS_FILE, - "fifobuf_unalloc fifobuf=%p, ptr=%p, size=%d, p1=%p, p2=%p", - fifobuf, buf, sz, fifobuf->ubegin, fifobuf->uend)); - - return 0; -} - -PJ_DEF(pj_status_t) pj_fifobuf_free (pj_fifobuf_t *fifobuf, void *buf) -{ - char *ptr = (char*)buf; - char *end; - unsigned sz; - - PJ_CHECK_STACK(); - - ptr -= SZ; - if (ptr < fifobuf->first || ptr >= fifobuf->last) { - pj_assert(!"Invalid pointer to free"); - return -1; - } - - if (ptr != fifobuf->ubegin && ptr != fifobuf->first) { - pj_assert(!"Invalid free() sequence!"); - return -1; - } - - end = (fifobuf->uend > fifobuf->ubegin) ? fifobuf->uend : fifobuf->last; - sz = *(unsigned*)ptr; - if (ptr+sz > end) { - pj_assert(!"Invalid size!"); - return -1; - } - - fifobuf->ubegin = ptr + sz; - - /* Rollover */ - if (fifobuf->ubegin == fifobuf->last) - fifobuf->ubegin = fifobuf->first; - - /* Reset if fifobuf is empty */ - if (fifobuf->ubegin == fifobuf->uend) - fifobuf->ubegin = fifobuf->uend = fifobuf->first; - - fifobuf->full = 0; - - PJ_LOG(6, (THIS_FILE, - "fifobuf_free fifobuf=%p, ptr=%p, size=%d, p1=%p, p2=%p", - fifobuf, buf, sz, fifobuf->ubegin, fifobuf->uend)); - - return 0; -} diff --git a/res/pjproject/pjlib/src/pj/file_access_unistd.c b/res/pjproject/pjlib/src/pj/file_access_unistd.c deleted file mode 100644 index b257ff4b02..0000000000 --- a/res/pjproject/pjlib/src/pj/file_access_unistd.c +++ /dev/null @@ -1,114 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - -#include -#include -#include -#include /* rename() */ -#include - -/* - * pj_file_exists() - */ -PJ_DEF(pj_bool_t) pj_file_exists(const char *filename) -{ - struct stat buf; - - PJ_ASSERT_RETURN(filename, 0); - - if (stat(filename, &buf) != 0) - return 0; - - return PJ_TRUE; -} - - -/* - * pj_file_size() - */ -PJ_DEF(pj_off_t) pj_file_size(const char *filename) -{ - struct stat buf; - - PJ_ASSERT_RETURN(filename, -1); - - if (stat(filename, &buf) != 0) - return -1; - - return buf.st_size; -} - - -/* - * pj_file_delete() - */ -PJ_DEF(pj_status_t) pj_file_delete(const char *filename) -{ - PJ_ASSERT_RETURN(filename, PJ_EINVAL); - - if (unlink(filename)!=0) { - return PJ_RETURN_OS_ERROR(errno); - } - return PJ_SUCCESS; -} - - -/* - * pj_file_move() - */ -PJ_DEF(pj_status_t) pj_file_move( const char *oldname, const char *newname) -{ - PJ_ASSERT_RETURN(oldname && newname, PJ_EINVAL); - - if (rename(oldname, newname) != 0) { - return PJ_RETURN_OS_ERROR(errno); - } - return PJ_SUCCESS; -} - - -/* - * pj_file_getstat() - */ -PJ_DEF(pj_status_t) pj_file_getstat(const char *filename, - pj_file_stat *statbuf) -{ - struct stat buf; - - PJ_ASSERT_RETURN(filename && statbuf, PJ_EINVAL); - - if (stat(filename, &buf) != 0) { - return PJ_RETURN_OS_ERROR(errno); - } - - statbuf->size = buf.st_size; - statbuf->ctime.sec = buf.st_ctime; - statbuf->ctime.msec = 0; - statbuf->mtime.sec = buf.st_mtime; - statbuf->mtime.msec = 0; - statbuf->atime.sec = buf.st_atime; - statbuf->atime.msec = 0; - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjlib/src/pj/file_access_win32.c b/res/pjproject/pjlib/src/pj/file_access_win32.c deleted file mode 100644 index 5cae386bcb..0000000000 --- a/res/pjproject/pjlib/src/pj/file_access_win32.c +++ /dev/null @@ -1,215 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include - -#if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0 - /* WinCE lacks READ_CONTROL so we must use GENERIC_READ */ -# define CONTROL_ACCESS GENERIC_READ -#else -# define CONTROL_ACCESS READ_CONTROL -#endif - - -/* - * pj_file_exists() - */ -PJ_DEF(pj_bool_t) pj_file_exists(const char *filename) -{ - PJ_DECL_UNICODE_TEMP_BUF(wfilename,256) - HANDLE hFile; - - PJ_ASSERT_RETURN(filename != NULL, 0); - - hFile = CreateFile(PJ_STRING_TO_NATIVE(filename,wfilename,sizeof(wfilename)), - CONTROL_ACCESS, - FILE_SHARE_READ, NULL, - OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); - if (hFile == INVALID_HANDLE_VALUE) - return 0; - - CloseHandle(hFile); - return PJ_TRUE; -} - - -/* - * pj_file_size() - */ -PJ_DEF(pj_off_t) pj_file_size(const char *filename) -{ - PJ_DECL_UNICODE_TEMP_BUF(wfilename,256) - HANDLE hFile; - DWORD sizeLo, sizeHi; - pj_off_t size; - - PJ_ASSERT_RETURN(filename != NULL, -1); - - hFile = CreateFile(PJ_STRING_TO_NATIVE(filename, wfilename,sizeof(wfilename)), - CONTROL_ACCESS, - FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, - OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); - if (hFile == INVALID_HANDLE_VALUE) - return -1; - - sizeLo = GetFileSize(hFile, &sizeHi); - if (sizeLo == INVALID_FILE_SIZE) { - DWORD dwStatus = GetLastError(); - if (dwStatus != NO_ERROR) { - CloseHandle(hFile); - return -1; - } - } - - size = sizeHi; - size = (size << 32) + sizeLo; - - CloseHandle(hFile); - return size; -} - - -/* - * pj_file_delete() - */ -PJ_DEF(pj_status_t) pj_file_delete(const char *filename) -{ - PJ_DECL_UNICODE_TEMP_BUF(wfilename,256) - - PJ_ASSERT_RETURN(filename != NULL, PJ_EINVAL); - - if (DeleteFile(PJ_STRING_TO_NATIVE(filename,wfilename,sizeof(wfilename))) == FALSE) - return PJ_RETURN_OS_ERROR(GetLastError()); - - return PJ_SUCCESS; -} - - -/* - * pj_file_move() - */ -PJ_DEF(pj_status_t) pj_file_move( const char *oldname, const char *newname) -{ - PJ_DECL_UNICODE_TEMP_BUF(woldname,256) - PJ_DECL_UNICODE_TEMP_BUF(wnewname,256) - BOOL rc; - - PJ_ASSERT_RETURN(oldname!=NULL && newname!=NULL, PJ_EINVAL); - -#if PJ_WIN32_WINNT >= 0x0400 - rc = MoveFileEx(PJ_STRING_TO_NATIVE(oldname,woldname,sizeof(woldname)), - PJ_STRING_TO_NATIVE(newname,wnewname,sizeof(wnewname)), - MOVEFILE_COPY_ALLOWED|MOVEFILE_REPLACE_EXISTING); -#else - rc = MoveFile(PJ_STRING_TO_NATIVE(oldname,woldname,sizeof(woldname)), - PJ_STRING_TO_NATIVE(newname,wnewname,sizeof(wnewname))); -#endif - - if (!rc) - return PJ_RETURN_OS_ERROR(GetLastError()); - - return PJ_SUCCESS; -} - - -static pj_status_t file_time_to_time_val(const FILETIME *file_time, - pj_time_val *time_val) -{ - FILETIME local_file_time; - SYSTEMTIME localTime; - pj_parsed_time pt; - - if (!FileTimeToLocalFileTime(file_time, &local_file_time)) - return PJ_RETURN_OS_ERROR(GetLastError()); - - if (!FileTimeToSystemTime(file_time, &localTime)) - return PJ_RETURN_OS_ERROR(GetLastError()); - - //if (!SystemTimeToTzSpecificLocalTime(NULL, &systemTime, &localTime)) - // return PJ_RETURN_OS_ERROR(GetLastError()); - - pj_bzero(&pt, sizeof(pt)); - pt.year = localTime.wYear; - pt.mon = localTime.wMonth-1; - pt.day = localTime.wDay; - pt.wday = localTime.wDayOfWeek; - - pt.hour = localTime.wHour; - pt.min = localTime.wMinute; - pt.sec = localTime.wSecond; - pt.msec = localTime.wMilliseconds; - - return pj_time_encode(&pt, time_val); -} - -/* - * pj_file_getstat() - */ -PJ_DEF(pj_status_t) pj_file_getstat(const char *filename, pj_file_stat *stat) -{ - PJ_DECL_UNICODE_TEMP_BUF(wfilename,256) - HANDLE hFile; - DWORD sizeLo, sizeHi; - FILETIME creationTime, accessTime, writeTime; - - PJ_ASSERT_RETURN(filename!=NULL && stat!=NULL, PJ_EINVAL); - - hFile = CreateFile(PJ_STRING_TO_NATIVE(filename,wfilename,sizeof(wfilename)), - CONTROL_ACCESS, - FILE_SHARE_READ, NULL, - OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); - if (hFile == INVALID_HANDLE_VALUE) - return PJ_RETURN_OS_ERROR(GetLastError()); - - sizeLo = GetFileSize(hFile, &sizeHi); - if (sizeLo == INVALID_FILE_SIZE) { - DWORD dwStatus = GetLastError(); - if (dwStatus != NO_ERROR) { - CloseHandle(hFile); - return PJ_RETURN_OS_ERROR(dwStatus); - } - } - - stat->size = sizeHi; - stat->size = (stat->size << 32) + sizeLo; - - if (GetFileTime(hFile, &creationTime, &accessTime, &writeTime)==FALSE) { - DWORD dwStatus = GetLastError(); - CloseHandle(hFile); - return PJ_RETURN_OS_ERROR(dwStatus); - } - - CloseHandle(hFile); - - if (file_time_to_time_val(&creationTime, &stat->ctime) != PJ_SUCCESS) - return PJ_RETURN_OS_ERROR(GetLastError()); - - file_time_to_time_val(&accessTime, &stat->atime); - file_time_to_time_val(&writeTime, &stat->mtime); - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjlib/src/pj/file_io_ansi.c b/res/pjproject/pjlib/src/pj/file_io_ansi.c deleted file mode 100644 index d7a68cd649..0000000000 --- a/res/pjproject/pjlib/src/pj/file_io_ansi.c +++ /dev/null @@ -1,170 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - -PJ_DEF(pj_status_t) pj_file_open( pj_pool_t *pool, - const char *pathname, - unsigned flags, - pj_oshandle_t *fd) -{ - char mode[8]; - char *p = mode; - - PJ_ASSERT_RETURN(pathname && fd, PJ_EINVAL); - PJ_UNUSED_ARG(pool); - - if ((flags & PJ_O_APPEND) == PJ_O_APPEND) { - if ((flags & PJ_O_WRONLY) == PJ_O_WRONLY) { - *p++ = 'a'; - if ((flags & PJ_O_RDONLY) == PJ_O_RDONLY) - *p++ = '+'; - } else { - /* This is invalid. - * Can not specify PJ_O_RDONLY with PJ_O_APPEND! - */ - } - } else { - if ((flags & PJ_O_RDONLY) == PJ_O_RDONLY) { - *p++ = 'r'; - if ((flags & PJ_O_WRONLY) == PJ_O_WRONLY) - *p++ = '+'; - } else { - *p++ = 'w'; - } - } - - if (p==mode) - return PJ_EINVAL; - - *p++ = 'b'; - *p++ = '\0'; - - *fd = fopen(pathname, mode); - if (*fd == NULL) - return PJ_RETURN_OS_ERROR(errno); - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_file_close(pj_oshandle_t fd) -{ - PJ_ASSERT_RETURN(fd, PJ_EINVAL); - if (fclose((FILE*)fd) != 0) - return PJ_RETURN_OS_ERROR(errno); - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_file_write( pj_oshandle_t fd, - const void *data, - pj_ssize_t *size) -{ - size_t written; - - clearerr((FILE*)fd); - written = fwrite(data, 1, *size, (FILE*)fd); - if (ferror((FILE*)fd)) { - *size = -1; - return PJ_RETURN_OS_ERROR(errno); - } - - *size = written; - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_file_read( pj_oshandle_t fd, - void *data, - pj_ssize_t *size) -{ - size_t bytes; - - clearerr((FILE*)fd); - bytes = fread(data, 1, *size, (FILE*)fd); - if (ferror((FILE*)fd)) { - *size = -1; - return PJ_RETURN_OS_ERROR(errno); - } - - *size = bytes; - return PJ_SUCCESS; -} - -/* -PJ_DEF(pj_bool_t) pj_file_eof(pj_oshandle_t fd, enum pj_file_access access) -{ - PJ_UNUSED_ARG(access); - return feof((FILE*)fd) ? PJ_TRUE : 0; -} -*/ - -PJ_DEF(pj_status_t) pj_file_setpos( pj_oshandle_t fd, - pj_off_t offset, - enum pj_file_seek_type whence) -{ - int mode; - - switch (whence) { - case PJ_SEEK_SET: - mode = SEEK_SET; break; - case PJ_SEEK_CUR: - mode = SEEK_CUR; break; - case PJ_SEEK_END: - mode = SEEK_END; break; - default: - pj_assert(!"Invalid whence in file_setpos"); - return PJ_EINVAL; - } - - if (fseek((FILE*)fd, (long)offset, mode) != 0) - return PJ_RETURN_OS_ERROR(errno); - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_file_getpos( pj_oshandle_t fd, - pj_off_t *pos) -{ - long offset; - - offset = ftell((FILE*)fd); - if (offset == -1) { - *pos = -1; - return PJ_RETURN_OS_ERROR(errno); - } - - *pos = offset; - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_file_flush(pj_oshandle_t fd) -{ - int rc; - - rc = fflush((FILE*)fd); - if (rc == EOF) { - return PJ_RETURN_OS_ERROR(errno); - } - - return PJ_SUCCESS; -} diff --git a/res/pjproject/pjlib/src/pj/file_io_win32.c b/res/pjproject/pjlib/src/pj/file_io_win32.c deleted file mode 100644 index e7c16356c4..0000000000 --- a/res/pjproject/pjlib/src/pj/file_io_win32.c +++ /dev/null @@ -1,240 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -#include - -#ifndef INVALID_SET_FILE_POINTER -# define INVALID_SET_FILE_POINTER ((DWORD)-1) -#endif - -/** - * Check for end-of-file condition on the specified descriptor. - * - * @param fd The file descriptor. - * @param access The desired access. - * - * @return Non-zero if file is EOF. - */ -PJ_DECL(pj_bool_t) pj_file_eof(pj_oshandle_t fd, - enum pj_file_access access); - - -PJ_DEF(pj_status_t) pj_file_open( pj_pool_t *pool, - const char *pathname, - unsigned flags, - pj_oshandle_t *fd) -{ - PJ_DECL_UNICODE_TEMP_BUF(wpathname,256) - HANDLE hFile; - DWORD dwDesiredAccess = 0; - DWORD dwShareMode = 0; - DWORD dwCreationDisposition = 0; - DWORD dwFlagsAndAttributes = 0; - - PJ_UNUSED_ARG(pool); - - PJ_ASSERT_RETURN(pathname!=NULL, PJ_EINVAL); - - if ((flags & PJ_O_WRONLY) == PJ_O_WRONLY) { - dwDesiredAccess |= GENERIC_WRITE; - if ((flags & PJ_O_APPEND) == PJ_O_APPEND) { -#if !defined(PJ_WIN32_WINCE) || !PJ_WIN32_WINCE - /* FILE_APPEND_DATA is invalid on WM2003 and WM5, but it seems - * to be working on WM6. All are tested on emulator though. - * Removing this also seem to work (i.e. data is appended), so - * I guess this flag is "optional". - * See http://trac.pjsip.org/repos/ticket/825 - */ - dwDesiredAccess |= FILE_APPEND_DATA; -#endif - dwCreationDisposition |= OPEN_ALWAYS; - } else { - dwDesiredAccess &= ~(FILE_APPEND_DATA); - dwCreationDisposition |= CREATE_ALWAYS; - } - } - if ((flags & PJ_O_RDONLY) == PJ_O_RDONLY) { - dwDesiredAccess |= GENERIC_READ; - if (flags == PJ_O_RDONLY) - dwCreationDisposition |= OPEN_EXISTING; - } - - if (dwDesiredAccess == 0) { - pj_assert(!"Invalid file open flags"); - return PJ_EINVAL; - } - - dwShareMode = FILE_SHARE_READ | FILE_SHARE_WRITE; - dwFlagsAndAttributes = FILE_ATTRIBUTE_NORMAL; - - hFile = CreateFile(PJ_STRING_TO_NATIVE(pathname,wpathname,sizeof(wpathname)), - dwDesiredAccess, dwShareMode, NULL, - dwCreationDisposition, dwFlagsAndAttributes, NULL); - if (hFile == INVALID_HANDLE_VALUE) { - *fd = 0; - return PJ_RETURN_OS_ERROR(GetLastError()); - } - - if ((flags & PJ_O_APPEND) == PJ_O_APPEND) { - pj_status_t status; - - status = pj_file_setpos(hFile, 0, PJ_SEEK_END); - if (status != PJ_SUCCESS) { - pj_file_close(hFile); - return status; - } - } - - *fd = hFile; - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_file_close(pj_oshandle_t fd) -{ - if (CloseHandle(fd)==0) - return PJ_RETURN_OS_ERROR(GetLastError()); - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_file_write( pj_oshandle_t fd, - const void *data, - pj_ssize_t *size) -{ - BOOL rc; - DWORD bytesWritten; - - rc = WriteFile(fd, data, *size, &bytesWritten, NULL); - if (!rc) { - *size = -1; - return PJ_RETURN_OS_ERROR(GetLastError()); - } - - *size = bytesWritten; - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_file_read( pj_oshandle_t fd, - void *data, - pj_ssize_t *size) -{ - BOOL rc; - DWORD bytesRead; - - rc = ReadFile(fd, data, *size, &bytesRead, NULL); - if (!rc) { - *size = -1; - return PJ_RETURN_OS_ERROR(GetLastError()); - } - - *size = bytesRead; - return PJ_SUCCESS; -} - -/* -PJ_DEF(pj_bool_t) pj_file_eof(pj_oshandle_t fd, enum pj_file_access access) -{ - BOOL rc; - DWORD dummy = 0, bytes; - DWORD dwStatus; - - if ((access & PJ_O_RDONLY) == PJ_O_RDONLY) { - rc = ReadFile(fd, &dummy, 0, &bytes, NULL); - } else if ((access & PJ_O_WRONLY) == PJ_O_WRONLY) { - rc = WriteFile(fd, &dummy, 0, &bytes, NULL); - } else { - pj_assert(!"Invalid access"); - return PJ_TRUE; - } - - dwStatus = GetLastError(); - if (dwStatus==ERROR_HANDLE_EOF) - return PJ_TRUE; - - return 0; -} -*/ - -PJ_DEF(pj_status_t) pj_file_setpos( pj_oshandle_t fd, - pj_off_t offset, - enum pj_file_seek_type whence) -{ - DWORD dwMoveMethod; - DWORD dwNewPos; - LONG hi32; - - if (whence == PJ_SEEK_SET) - dwMoveMethod = FILE_BEGIN; - else if (whence == PJ_SEEK_CUR) - dwMoveMethod = FILE_CURRENT; - else if (whence == PJ_SEEK_END) - dwMoveMethod = FILE_END; - else { - pj_assert(!"Invalid whence in file_setpos"); - return PJ_EINVAL; - } - - hi32 = (LONG)(offset >> 32); - dwNewPos = SetFilePointer(fd, (long)offset, &hi32, dwMoveMethod); - if (dwNewPos == (DWORD)INVALID_SET_FILE_POINTER) { - DWORD dwStatus = GetLastError(); - if (dwStatus != 0) - return PJ_RETURN_OS_ERROR(dwStatus); - /* dwNewPos actually is not an error. */ - } - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_file_getpos( pj_oshandle_t fd, - pj_off_t *pos) -{ - LONG hi32 = 0; - DWORD lo32; - - lo32 = SetFilePointer(fd, 0, &hi32, FILE_CURRENT); - if (lo32 == (DWORD)INVALID_SET_FILE_POINTER) { - DWORD dwStatus = GetLastError(); - if (dwStatus != 0) - return PJ_RETURN_OS_ERROR(dwStatus); - } - - *pos = hi32; - *pos = (*pos << 32) + lo32; - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_file_flush(pj_oshandle_t fd) -{ - BOOL rc; - - rc = FlushFileBuffers(fd); - - if (!rc) { - DWORD dwStatus = GetLastError(); - if (dwStatus != 0) - return PJ_RETURN_OS_ERROR(dwStatus); - } - - return PJ_SUCCESS; -} diff --git a/res/pjproject/pjlib/src/pj/guid.c b/res/pjproject/pjlib/src/pj/guid.c deleted file mode 100644 index 1ed9515c15..0000000000 --- a/res/pjproject/pjlib/src/pj/guid.c +++ /dev/null @@ -1,27 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -PJ_DEF(void) pj_create_unique_string(pj_pool_t *pool, pj_str_t *str) -{ - str->ptr = (char*)pj_pool_alloc(pool, PJ_GUID_STRING_LENGTH); - pj_generate_unique_string(str); -} diff --git a/res/pjproject/pjlib/src/pj/guid_simple.c b/res/pjproject/pjlib/src/pj/guid_simple.c deleted file mode 100644 index 029ee8ddbe..0000000000 --- a/res/pjproject/pjlib/src/pj/guid_simple.c +++ /dev/null @@ -1,81 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - -PJ_DEF_DATA(const unsigned) PJ_GUID_STRING_LENGTH=32; - -static char guid_chars[64]; - -PJ_DEF(unsigned) pj_GUID_STRING_LENGTH() -{ - return PJ_GUID_STRING_LENGTH; -} - -static void init_guid_chars(void) -{ - char *p = guid_chars; - unsigned i; - - for (i=0; i<10; ++i) - *p++ = '0'+i; - - for (i=0; i<26; ++i) { - *p++ = 'a'+i; - *p++ = 'A'+i; - } - - *p++ = '-'; - *p++ = '.'; -} - -PJ_DEF(pj_str_t*) pj_generate_unique_string(pj_str_t *str) -{ - char *p, *end; - - PJ_CHECK_STACK(); - - if (guid_chars[0] == '\0') { - pj_enter_critical_section(); - if (guid_chars[0] == '\0') { - init_guid_chars(); - } - pj_leave_critical_section(); - } - - /* This would only work if PJ_GUID_STRING_LENGTH is multiple of 2 bytes */ - pj_assert(PJ_GUID_STRING_LENGTH % 2 == 0); - - for (p=str->ptr, end=p+PJ_GUID_STRING_LENGTH; p0 && p>=8, rand_val>>=8, p++) { - *p = guid_chars[(rand_val & 0xFF) & 63]; - } - } - - str->slen = PJ_GUID_STRING_LENGTH; - return str; -} - diff --git a/res/pjproject/pjlib/src/pj/guid_uuid.c b/res/pjproject/pjlib/src/pj/guid_uuid.c deleted file mode 100644 index 98c52fa0e9..0000000000 --- a/res/pjproject/pjlib/src/pj/guid_uuid.c +++ /dev/null @@ -1,53 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - -#include - -PJ_DEF_DATA(const unsigned) PJ_GUID_STRING_LENGTH=36; - -PJ_DEF(unsigned) pj_GUID_STRING_LENGTH() -{ - return PJ_GUID_STRING_LENGTH; -} - -PJ_DEF(pj_str_t*) pj_generate_unique_string(pj_str_t *str) -{ - enum {GUID_LEN = 36}; - char sguid[GUID_LEN + 1]; - uuid_t uuid = {0}; - - PJ_ASSERT_RETURN(GUID_LEN <= PJ_GUID_STRING_LENGTH, NULL); - PJ_ASSERT_RETURN(str->ptr != NULL, NULL); - PJ_CHECK_STACK(); - - uuid_generate(uuid); - uuid_unparse(uuid, sguid); - - pj_memcpy(str->ptr, sguid, GUID_LEN); - str->slen = GUID_LEN; - - return str; -} - diff --git a/res/pjproject/pjlib/src/pj/guid_win32.c b/res/pjproject/pjlib/src/pj/guid_win32.c deleted file mode 100644 index de944f1049..0000000000 --- a/res/pjproject/pjlib/src/pj/guid_win32.c +++ /dev/null @@ -1,72 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - - -PJ_DEF_DATA(const unsigned) PJ_GUID_STRING_LENGTH=32; - -PJ_DEF(unsigned) pj_GUID_STRING_LENGTH() -{ - return PJ_GUID_STRING_LENGTH; -} - -PJ_INLINE(void) hex2digit(unsigned value, char *p) -{ - static char hex[] = {'0', '1', '2', '3', '4', '5', '6', '7', - '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' }; - *p++ = hex[ (value & 0xF0) >> 4 ]; - *p++ = hex[ (value & 0x0F) ]; -} - -static void guid_to_str( GUID *guid, pj_str_t *str ) -{ - unsigned i; - const unsigned char *src = (const unsigned char*)guid; - char *dst = str->ptr; - - guid->Data1 = pj_ntohl(guid->Data1); - guid->Data2 = pj_ntohs(guid->Data2); - guid->Data3 = pj_ntohs(guid->Data3); - - for (i=0; i<16; ++i) { - hex2digit( *src, dst ); - dst += 2; - ++src; - } - str->slen = 32; -} - - -PJ_DEF(pj_str_t*) pj_generate_unique_string(pj_str_t *str) -{ - GUID guid; - - PJ_CHECK_STACK(); - - CoCreateGuid(&guid); - guid_to_str( &guid, str ); - return str; -} - diff --git a/res/pjproject/pjlib/src/pj/hash.c b/res/pjproject/pjlib/src/pj/hash.c deleted file mode 100644 index d22bf42184..0000000000 --- a/res/pjproject/pjlib/src/pj/hash.c +++ /dev/null @@ -1,349 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include - -/** - * The hash multiplier used to calculate hash value. - */ -#define PJ_HASH_MULTIPLIER 33 - - -struct pj_hash_entry -{ - struct pj_hash_entry *next; - void *key; - pj_uint32_t hash; - pj_uint32_t keylen; - void *value; -}; - - -struct pj_hash_table_t -{ - pj_hash_entry **table; - unsigned count, rows; - pj_hash_iterator_t iterator; -}; - - - -PJ_DEF(pj_uint32_t) pj_hash_calc(pj_uint32_t hash, const void *key, - unsigned keylen) -{ - PJ_CHECK_STACK(); - - if (keylen==PJ_HASH_KEY_STRING) { - const pj_uint8_t *p = (const pj_uint8_t*)key; - for ( ; *p; ++p ) { - hash = (hash * PJ_HASH_MULTIPLIER) + *p; - } - } else { - const pj_uint8_t *p = (const pj_uint8_t*)key, - *end = p + keylen; - for ( ; p!=end; ++p) { - hash = (hash * PJ_HASH_MULTIPLIER) + *p; - } - } - return hash; -} - -PJ_DEF(pj_uint32_t) pj_hash_calc_tolower( pj_uint32_t hval, - char *result, - const pj_str_t *key) -{ - long i; - -#if defined(PJ_HASH_USE_OWN_TOLOWER) && PJ_HASH_USE_OWN_TOLOWER != 0 - for (i=0; islen; ++i) { - pj_uint8_t c = key->ptr[i]; - if (c & 64) - result[i] = (char)(c | 32); - else - result[i] = (char)c; - hval = hval * PJ_HASH_MULTIPLIER + result[i]; - } -#else - for (i=0; islen; ++i) { - result[i] = (char)pj_tolower(key->ptr[i]); - hval = hval * PJ_HASH_MULTIPLIER + result[i]; - } -#endif - - return hval; -} - - -PJ_DEF(pj_hash_table_t*) pj_hash_create(pj_pool_t *pool, unsigned size) -{ - pj_hash_table_t *h; - unsigned table_size; - - /* Check that PJ_HASH_ENTRY_BUF_SIZE is correct. */ - PJ_ASSERT_RETURN(sizeof(pj_hash_entry)<=PJ_HASH_ENTRY_BUF_SIZE, NULL); - - h = PJ_POOL_ALLOC_T(pool, pj_hash_table_t); - h->count = 0; - - PJ_LOG( 6, ("hashtbl", "hash table %p created from pool %s", h, pj_pool_getobjname(pool))); - - /* size must be 2^n - 1. - round-up the size to this rule, except when size is 2^n, then size - will be round-down to 2^n-1. - */ - table_size = 8; - do { - table_size <<= 1; - } while (table_size < size); - table_size -= 1; - - h->rows = table_size; - h->table = (pj_hash_entry**) - pj_pool_calloc(pool, table_size+1, sizeof(pj_hash_entry*)); - return h; -} - -static pj_hash_entry **find_entry( pj_pool_t *pool, pj_hash_table_t *ht, - const void *key, unsigned keylen, - void *val, pj_uint32_t *hval, - void *entry_buf) -{ - pj_uint32_t hash; - pj_hash_entry **p_entry, *entry; - - if (hval && *hval != 0) { - hash = *hval; - if (keylen==PJ_HASH_KEY_STRING) { - keylen = pj_ansi_strlen((const char*)key); - } - } else { - /* This slightly differs with pj_hash_calc() because we need - * to get the keylen when keylen is PJ_HASH_KEY_STRING. - */ - hash=0; - if (keylen==PJ_HASH_KEY_STRING) { - const pj_uint8_t *p = (const pj_uint8_t*)key; - for ( ; *p; ++p ) { - hash = hash * PJ_HASH_MULTIPLIER + *p; - } - keylen = p - (const unsigned char*)key; - } else { - const pj_uint8_t *p = (const pj_uint8_t*)key, - *end = p + keylen; - for ( ; p!=end; ++p) { - hash = hash * PJ_HASH_MULTIPLIER + *p; - } - } - - /* Report back the computed hash. */ - if (hval) - *hval = hash; - } - - /* scan the linked list */ - for (p_entry = &ht->table[hash & ht->rows], entry=*p_entry; - entry; - p_entry = &entry->next, entry = *p_entry) - { - if (entry->hash==hash && entry->keylen==keylen && - pj_memcmp(entry->key, key, keylen)==0) - { - break; - } - } - - if (entry || val==NULL) - return p_entry; - - /* Entry not found, create a new one. - * If entry_buf is specified, use it. Otherwise allocate from pool. - */ - if (entry_buf) { - entry = (pj_hash_entry*)entry_buf; - } else { - /* Pool must be specified! */ - PJ_ASSERT_RETURN(pool != NULL, NULL); - - entry = PJ_POOL_ALLOC_T(pool, pj_hash_entry); - PJ_LOG(6, ("hashtbl", - "%p: New p_entry %p created, pool used=%u, cap=%u", - ht, entry, pj_pool_get_used_size(pool), - pj_pool_get_capacity(pool))); - } - entry->next = NULL; - entry->hash = hash; - if (pool) { - entry->key = pj_pool_alloc(pool, keylen); - pj_memcpy(entry->key, key, keylen); - } else { - entry->key = (void*)key; - } - entry->keylen = keylen; - entry->value = val; - *p_entry = entry; - - ++ht->count; - - return p_entry; -} - -PJ_DEF(void *) pj_hash_get( pj_hash_table_t *ht, - const void *key, unsigned keylen, - pj_uint32_t *hval) -{ - pj_hash_entry *entry; - entry = *find_entry( NULL, ht, key, keylen, NULL, hval, NULL); - return entry ? entry->value : NULL; -} - -PJ_DEF(void) pj_hash_set( pj_pool_t *pool, pj_hash_table_t *ht, - const void *key, unsigned keylen, pj_uint32_t hval, - void *value ) -{ - pj_hash_entry **p_entry; - - p_entry = find_entry( pool, ht, key, keylen, value, &hval, NULL); - if (*p_entry) { - if (value == NULL) { - /* delete entry */ - PJ_LOG(6, ("hashtbl", "%p: p_entry %p deleted", ht, *p_entry)); - *p_entry = (*p_entry)->next; - --ht->count; - - } else { - /* overwrite */ - (*p_entry)->value = value; - PJ_LOG(6, ("hashtbl", "%p: p_entry %p value set to %p", ht, - *p_entry, value)); - } - } -} - -PJ_DEF(void) pj_hash_set_np( pj_hash_table_t *ht, - const void *key, unsigned keylen, - pj_uint32_t hval, pj_hash_entry_buf entry_buf, - void *value) -{ - pj_hash_entry **p_entry; - - p_entry = find_entry( NULL, ht, key, keylen, value, &hval, - (void*)entry_buf ); - if (*p_entry) { - if (value == NULL) { - /* delete entry */ - PJ_LOG(6, ("hashtbl", "%p: p_entry %p deleted", ht, *p_entry)); - *p_entry = (*p_entry)->next; - --ht->count; - - } else { - /* overwrite */ - (*p_entry)->value = value; - PJ_LOG(6, ("hashtbl", "%p: p_entry %p value set to %p", ht, - *p_entry, value)); - } - } -} - -PJ_DEF(unsigned) pj_hash_count( pj_hash_table_t *ht ) -{ - return ht->count; -} - -PJ_DEF(pj_hash_iterator_t*) pj_hash_first( pj_hash_table_t *ht, - pj_hash_iterator_t *it ) -{ - it->index = 0; - it->entry = NULL; - - for (; it->index <= ht->rows; ++it->index) { - it->entry = ht->table[it->index]; - if (it->entry) { - break; - } - } - - return it->entry ? it : NULL; -} - -PJ_DEF(pj_hash_iterator_t*) pj_hash_next( pj_hash_table_t *ht, - pj_hash_iterator_t *it ) -{ - it->entry = it->entry->next; - if (it->entry) { - return it; - } - - for (++it->index; it->index <= ht->rows; ++it->index) { - it->entry = ht->table[it->index]; - if (it->entry) { - break; - } - } - - return it->entry ? it : NULL; -} - -PJ_DEF(void*) pj_hash_this( pj_hash_table_t *ht, pj_hash_iterator_t *it ) -{ - PJ_CHECK_STACK(); - PJ_UNUSED_ARG(ht); - return it->entry->value; -} - -#if 0 -void pj_hash_dump_collision( pj_hash_table_t *ht ) -{ - unsigned min=0xFFFFFFFF, max=0; - unsigned i; - char line[120]; - int len, totlen = 0; - - for (i=0; i<=ht->rows; ++i) { - unsigned count = 0; - pj_hash_entry *entry = ht->table[i]; - while (entry) { - ++count; - entry = entry->next; - } - if (count < min) - min = count; - if (count > max) - max = count; - len = pj_snprintf( line+totlen, sizeof(line)-totlen, "%3d:%3d ", i, count); - if (len < 1) - break; - totlen += len; - - if ((i+1) % 10 == 0) { - line[totlen] = '\0'; - PJ_LOG(4,(__FILE__, line)); - } - } - - PJ_LOG(4,(__FILE__,"Count: %d, min: %d, max: %d\n", ht->count, min, max)); -} -#endif - - diff --git a/res/pjproject/pjlib/src/pj/ioqueue_common_abs.c b/res/pjproject/pjlib/src/pj/ioqueue_common_abs.c deleted file mode 100644 index 296aea9022..0000000000 --- a/res/pjproject/pjlib/src/pj/ioqueue_common_abs.c +++ /dev/null @@ -1,1314 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * ioqueue_common_abs.c - * - * This contains common functionalities to emulate proactor pattern with - * various event dispatching mechanisms (e.g. select, epoll). - * - * This file will be included by the appropriate ioqueue implementation. - * This file is NOT supposed to be compiled as stand-alone source. - */ - -#define PENDING_RETRY 2 - -static void ioqueue_init( pj_ioqueue_t *ioqueue ) -{ - ioqueue->lock = NULL; - ioqueue->auto_delete_lock = 0; - ioqueue->default_concurrency = PJ_IOQUEUE_DEFAULT_ALLOW_CONCURRENCY; -} - -static pj_status_t ioqueue_destroy(pj_ioqueue_t *ioqueue) -{ - if (ioqueue->auto_delete_lock && ioqueue->lock ) { - pj_lock_release(ioqueue->lock); - return pj_lock_destroy(ioqueue->lock); - } - - return PJ_SUCCESS; -} - -/* - * pj_ioqueue_set_lock() - */ -PJ_DEF(pj_status_t) pj_ioqueue_set_lock( pj_ioqueue_t *ioqueue, - pj_lock_t *lock, - pj_bool_t auto_delete ) -{ - PJ_ASSERT_RETURN(ioqueue && lock, PJ_EINVAL); - - if (ioqueue->auto_delete_lock && ioqueue->lock) { - pj_lock_destroy(ioqueue->lock); - } - - ioqueue->lock = lock; - ioqueue->auto_delete_lock = auto_delete; - - return PJ_SUCCESS; -} - -static pj_status_t ioqueue_init_key( pj_pool_t *pool, - pj_ioqueue_t *ioqueue, - pj_ioqueue_key_t *key, - pj_sock_t sock, - void *user_data, - const pj_ioqueue_callback *cb) -{ - pj_status_t rc; - int optlen; - - PJ_UNUSED_ARG(pool); - - key->ioqueue = ioqueue; - key->fd = sock; - key->user_data = user_data; - pj_list_init(&key->read_list); - pj_list_init(&key->write_list); -#if PJ_HAS_TCP - pj_list_init(&key->accept_list); - key->connecting = 0; -#endif - - /* Save callback. */ - pj_memcpy(&key->cb, cb, sizeof(pj_ioqueue_callback)); - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - /* Set initial reference count to 1 */ - pj_assert(key->ref_count == 0); - ++key->ref_count; - - key->closing = 0; -#endif - - rc = pj_ioqueue_set_concurrency(key, ioqueue->default_concurrency); - if (rc != PJ_SUCCESS) - return rc; - - /* Get socket type. When socket type is datagram, some optimization - * will be performed during send to allow parallel send operations. - */ - optlen = sizeof(key->fd_type); - rc = pj_sock_getsockopt(sock, pj_SOL_SOCKET(), pj_SO_TYPE(), - &key->fd_type, &optlen); - if (rc != PJ_SUCCESS) - key->fd_type = pj_SOCK_STREAM(); - - /* Create mutex for the key. */ -#if !PJ_IOQUEUE_HAS_SAFE_UNREG - rc = pj_mutex_create_simple(pool, NULL, &key->mutex); -#endif - - return rc; -} - -/* - * pj_ioqueue_get_user_data() - * - * Obtain value associated with a key. - */ -PJ_DEF(void*) pj_ioqueue_get_user_data( pj_ioqueue_key_t *key ) -{ - PJ_ASSERT_RETURN(key != NULL, NULL); - return key->user_data; -} - -/* - * pj_ioqueue_set_user_data() - */ -PJ_DEF(pj_status_t) pj_ioqueue_set_user_data( pj_ioqueue_key_t *key, - void *user_data, - void **old_data) -{ - PJ_ASSERT_RETURN(key, PJ_EINVAL); - - if (old_data) - *old_data = key->user_data; - key->user_data = user_data; - - return PJ_SUCCESS; -} - -PJ_INLINE(int) key_has_pending_write(pj_ioqueue_key_t *key) -{ - return !pj_list_empty(&key->write_list); -} - -PJ_INLINE(int) key_has_pending_read(pj_ioqueue_key_t *key) -{ - return !pj_list_empty(&key->read_list); -} - -PJ_INLINE(int) key_has_pending_accept(pj_ioqueue_key_t *key) -{ -#if PJ_HAS_TCP - return !pj_list_empty(&key->accept_list); -#else - PJ_UNUSED_ARG(key); - return 0; -#endif -} - -PJ_INLINE(int) key_has_pending_connect(pj_ioqueue_key_t *key) -{ - return key->connecting; -} - - -#if PJ_IOQUEUE_HAS_SAFE_UNREG -# define IS_CLOSING(key) (key->closing) -#else -# define IS_CLOSING(key) (0) -#endif - - -/* - * ioqueue_dispatch_event() - * - * Report occurence of an event in the key to be processed by the - * framework. - */ -void ioqueue_dispatch_write_event(pj_ioqueue_t *ioqueue, pj_ioqueue_key_t *h) -{ - /* Lock the key. */ - pj_mutex_lock(h->mutex); - - if (IS_CLOSING(h)) { - pj_mutex_unlock(h->mutex); - return; - } - -#if defined(PJ_HAS_TCP) && PJ_HAS_TCP!=0 - if (h->connecting) { - /* Completion of connect() operation */ - pj_status_t status; - pj_bool_t has_lock; - - /* Clear operation. */ - h->connecting = 0; - - ioqueue_remove_from_set(ioqueue, h, WRITEABLE_EVENT); - ioqueue_remove_from_set(ioqueue, h, EXCEPTION_EVENT); - - -#if (defined(PJ_HAS_SO_ERROR) && PJ_HAS_SO_ERROR!=0) - /* from connect(2): - * On Linux, use getsockopt to read the SO_ERROR option at - * level SOL_SOCKET to determine whether connect() completed - * successfully (if SO_ERROR is zero). - */ - { - int value; - int vallen = sizeof(value); - int gs_rc = pj_sock_getsockopt(h->fd, SOL_SOCKET, SO_ERROR, - &value, &vallen); - if (gs_rc != 0) { - /* Argh!! What to do now??? - * Just indicate that the socket is connected. The - * application will get error as soon as it tries to use - * the socket to send/receive. - */ - status = PJ_SUCCESS; - } else { - status = PJ_STATUS_FROM_OS(value); - } - } -#elif defined(PJ_WIN32) && PJ_WIN32!=0 - status = PJ_SUCCESS; /* success */ -#else - /* Excellent information in D.J. Bernstein page: - * http://cr.yp.to/docs/connect.html - * - * Seems like the most portable way of detecting connect() - * failure is to call getpeername(). If socket is connected, - * getpeername() will return 0. If the socket is not connected, - * it will return ENOTCONN, and read(fd, &ch, 1) will produce - * the right errno through error slippage. This is a combination - * of suggestions from Douglas C. Schmidt and Ken Keys. - */ - { - struct sockaddr_in addr; - int addrlen = sizeof(addr); - - status = pj_sock_getpeername(h->fd, (struct sockaddr*)&addr, - &addrlen); - } -#endif - - /* Unlock; from this point we don't need to hold key's mutex - * (unless concurrency is disabled, which in this case we should - * hold the mutex while calling the callback) */ - if (h->allow_concurrent) { - /* concurrency may be changed while we're in the callback, so - * save it to a flag. - */ - has_lock = PJ_FALSE; - pj_mutex_unlock(h->mutex); - } else { - has_lock = PJ_TRUE; - } - - /* Call callback. */ - if (h->cb.on_connect_complete && !IS_CLOSING(h)) - (*h->cb.on_connect_complete)(h, status); - - /* Unlock if we still hold the lock */ - if (has_lock) { - pj_mutex_unlock(h->mutex); - } - - /* Done. */ - - } else -#endif /* PJ_HAS_TCP */ - if (key_has_pending_write(h)) { - /* Socket is writable. */ - struct write_operation *write_op; - pj_ssize_t sent; - pj_status_t send_rc = PJ_SUCCESS; - - /* Get the first in the queue. */ - write_op = h->write_list.next; - - /* For datagrams, we can remove the write_op from the list - * so that send() can work in parallel. - */ - if (h->fd_type == pj_SOCK_DGRAM()) { - pj_list_erase(write_op); - - if (pj_list_empty(&h->write_list)) - ioqueue_remove_from_set(ioqueue, h, WRITEABLE_EVENT); - - } - - /* Send the data. - * Unfortunately we must do this while holding key's mutex, thus - * preventing parallel write on a single key.. :-(( - */ - sent = write_op->size - write_op->written; - if (write_op->op == PJ_IOQUEUE_OP_SEND) { - send_rc = pj_sock_send(h->fd, write_op->buf+write_op->written, - &sent, write_op->flags); - /* Can't do this. We only clear "op" after we're finished sending - * the whole buffer. - */ - //write_op->op = 0; - } else if (write_op->op == PJ_IOQUEUE_OP_SEND_TO) { - int retry = 2; - while (--retry >= 0) { - send_rc = pj_sock_sendto(h->fd, - write_op->buf+write_op->written, - &sent, write_op->flags, - &write_op->rmt_addr, - write_op->rmt_addrlen); -#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ - PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 - /* Special treatment for dead UDP sockets here, see ticket #1107 */ - if (send_rc==PJ_STATUS_FROM_OS(EPIPE) && !IS_CLOSING(h) && - h->fd_type==pj_SOCK_DGRAM()) - { - PJ_PERROR(4,(THIS_FILE, send_rc, - "Send error for socket %d, retrying", - h->fd)); - replace_udp_sock(h); - continue; - } -#endif - break; - } - - /* Can't do this. We only clear "op" after we're finished sending - * the whole buffer. - */ - //write_op->op = 0; - } else { - pj_assert(!"Invalid operation type!"); - write_op->op = PJ_IOQUEUE_OP_NONE; - send_rc = PJ_EBUG; - } - - if (send_rc == PJ_SUCCESS) { - write_op->written += sent; - } else { - pj_assert(send_rc > 0); - write_op->written = -send_rc; - } - - /* Are we finished with this buffer? */ - if (send_rc!=PJ_SUCCESS || - write_op->written == (pj_ssize_t)write_op->size || - h->fd_type == pj_SOCK_DGRAM()) - { - pj_bool_t has_lock; - - write_op->op = PJ_IOQUEUE_OP_NONE; - - if (h->fd_type != pj_SOCK_DGRAM()) { - /* Write completion of the whole stream. */ - pj_list_erase(write_op); - - /* Clear operation if there's no more data to send. */ - if (pj_list_empty(&h->write_list)) - ioqueue_remove_from_set(ioqueue, h, WRITEABLE_EVENT); - - } - - /* Unlock; from this point we don't need to hold key's mutex - * (unless concurrency is disabled, which in this case we should - * hold the mutex while calling the callback) */ - if (h->allow_concurrent) { - /* concurrency may be changed while we're in the callback, so - * save it to a flag. - */ - has_lock = PJ_FALSE; - pj_mutex_unlock(h->mutex); - } else { - has_lock = PJ_TRUE; - } - - /* Call callback. */ - if (h->cb.on_write_complete && !IS_CLOSING(h)) { - (*h->cb.on_write_complete)(h, - (pj_ioqueue_op_key_t*)write_op, - write_op->written); - } - - if (has_lock) { - pj_mutex_unlock(h->mutex); - } - - } else { - pj_mutex_unlock(h->mutex); - } - - /* Done. */ - } else { - /* - * This is normal; execution may fall here when multiple threads - * are signalled for the same event, but only one thread eventually - * able to process the event. - */ - pj_mutex_unlock(h->mutex); - } -} - -void ioqueue_dispatch_read_event( pj_ioqueue_t *ioqueue, pj_ioqueue_key_t *h ) -{ - pj_status_t rc; - - /* Lock the key. */ - pj_mutex_lock(h->mutex); - - if (IS_CLOSING(h)) { - pj_mutex_unlock(h->mutex); - return; - } - -# if PJ_HAS_TCP - if (!pj_list_empty(&h->accept_list)) { - - struct accept_operation *accept_op; - pj_bool_t has_lock; - - /* Get one accept operation from the list. */ - accept_op = h->accept_list.next; - pj_list_erase(accept_op); - accept_op->op = PJ_IOQUEUE_OP_NONE; - - /* Clear bit in fdset if there is no more pending accept */ - if (pj_list_empty(&h->accept_list)) - ioqueue_remove_from_set(ioqueue, h, READABLE_EVENT); - - rc=pj_sock_accept(h->fd, accept_op->accept_fd, - accept_op->rmt_addr, accept_op->addrlen); - if (rc==PJ_SUCCESS && accept_op->local_addr) { - rc = pj_sock_getsockname(*accept_op->accept_fd, - accept_op->local_addr, - accept_op->addrlen); - } - - /* Unlock; from this point we don't need to hold key's mutex - * (unless concurrency is disabled, which in this case we should - * hold the mutex while calling the callback) */ - if (h->allow_concurrent) { - /* concurrency may be changed while we're in the callback, so - * save it to a flag. - */ - has_lock = PJ_FALSE; - pj_mutex_unlock(h->mutex); - } else { - has_lock = PJ_TRUE; - } - - /* Call callback. */ - if (h->cb.on_accept_complete && !IS_CLOSING(h)) { - (*h->cb.on_accept_complete)(h, - (pj_ioqueue_op_key_t*)accept_op, - *accept_op->accept_fd, rc); - } - - if (has_lock) { - pj_mutex_unlock(h->mutex); - } - } - else -# endif - if (key_has_pending_read(h)) { - struct read_operation *read_op; - pj_ssize_t bytes_read; - pj_bool_t has_lock; - - /* Get one pending read operation from the list. */ - read_op = h->read_list.next; - pj_list_erase(read_op); - - /* Clear fdset if there is no pending read. */ - if (pj_list_empty(&h->read_list)) - ioqueue_remove_from_set(ioqueue, h, READABLE_EVENT); - - bytes_read = read_op->size; - - if ((read_op->op == PJ_IOQUEUE_OP_RECV_FROM)) { - read_op->op = PJ_IOQUEUE_OP_NONE; - rc = pj_sock_recvfrom(h->fd, read_op->buf, &bytes_read, - read_op->flags, - read_op->rmt_addr, - read_op->rmt_addrlen); - } else if ((read_op->op == PJ_IOQUEUE_OP_RECV)) { - read_op->op = PJ_IOQUEUE_OP_NONE; - rc = pj_sock_recv(h->fd, read_op->buf, &bytes_read, - read_op->flags); - } else { - pj_assert(read_op->op == PJ_IOQUEUE_OP_READ); - read_op->op = PJ_IOQUEUE_OP_NONE; - /* - * User has specified pj_ioqueue_read(). - * On Win32, we should do ReadFile(). But because we got - * here because of select() anyway, user must have put a - * socket descriptor on h->fd, which in this case we can - * just call pj_sock_recv() instead of ReadFile(). - * On Unix, user may put a file in h->fd, so we'll have - * to call read() here. - * This may not compile on systems which doesn't have - * read(). That's why we only specify PJ_LINUX here so - * that error is easier to catch. - */ -# if defined(PJ_WIN32) && PJ_WIN32 != 0 || \ - defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE != 0 - rc = pj_sock_recv(h->fd, read_op->buf, &bytes_read, - read_op->flags); - //rc = ReadFile((HANDLE)h->fd, read_op->buf, read_op->size, - // &bytes_read, NULL); -# elif (defined(PJ_HAS_UNISTD_H) && PJ_HAS_UNISTD_H != 0) - bytes_read = read(h->fd, read_op->buf, bytes_read); - rc = (bytes_read >= 0) ? PJ_SUCCESS : pj_get_os_error(); -# elif defined(PJ_LINUX_KERNEL) && PJ_LINUX_KERNEL != 0 - bytes_read = sys_read(h->fd, read_op->buf, bytes_read); - rc = (bytes_read >= 0) ? PJ_SUCCESS : -bytes_read; -# else -# error "Implement read() for this platform!" -# endif - } - - if (rc != PJ_SUCCESS) { -# if defined(PJ_WIN32) && PJ_WIN32 != 0 - /* On Win32, for UDP, WSAECONNRESET on the receive side - * indicates that previous sending has triggered ICMP Port - * Unreachable message. - * But we wouldn't know at this point which one of previous - * key that has triggered the error, since UDP socket can - * be shared! - * So we'll just ignore it! - */ - - if (rc == PJ_STATUS_FROM_OS(WSAECONNRESET)) { - //PJ_LOG(4,(THIS_FILE, - // "Ignored ICMP port unreach. on key=%p", h)); - } -# endif - - /* In any case we would report this to caller. */ - bytes_read = -rc; - -#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ - PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 - /* Special treatment for dead UDP sockets here, see ticket #1107 */ - if (rc == PJ_STATUS_FROM_OS(ENOTCONN) && !IS_CLOSING(h) && - h->fd_type==pj_SOCK_DGRAM()) - { - replace_udp_sock(h); - } -#endif - } - - /* Unlock; from this point we don't need to hold key's mutex - * (unless concurrency is disabled, which in this case we should - * hold the mutex while calling the callback) */ - if (h->allow_concurrent) { - /* concurrency may be changed while we're in the callback, so - * save it to a flag. - */ - has_lock = PJ_FALSE; - pj_mutex_unlock(h->mutex); - } else { - has_lock = PJ_TRUE; - } - - /* Call callback. */ - if (h->cb.on_read_complete && !IS_CLOSING(h)) { - (*h->cb.on_read_complete)(h, - (pj_ioqueue_op_key_t*)read_op, - bytes_read); - } - - if (has_lock) { - pj_mutex_unlock(h->mutex); - } - - } else { - /* - * This is normal; execution may fall here when multiple threads - * are signalled for the same event, but only one thread eventually - * able to process the event. - */ - pj_mutex_unlock(h->mutex); - } -} - - -void ioqueue_dispatch_exception_event( pj_ioqueue_t *ioqueue, - pj_ioqueue_key_t *h ) -{ - pj_bool_t has_lock; - - pj_mutex_lock(h->mutex); - - if (!h->connecting) { - /* It is possible that more than one thread was woken up, thus - * the remaining thread will see h->connecting as zero because - * it has been processed by other thread. - */ - pj_mutex_unlock(h->mutex); - return; - } - - if (IS_CLOSING(h)) { - pj_mutex_unlock(h->mutex); - return; - } - - /* Clear operation. */ - h->connecting = 0; - - ioqueue_remove_from_set(ioqueue, h, WRITEABLE_EVENT); - ioqueue_remove_from_set(ioqueue, h, EXCEPTION_EVENT); - - /* Unlock; from this point we don't need to hold key's mutex - * (unless concurrency is disabled, which in this case we should - * hold the mutex while calling the callback) */ - if (h->allow_concurrent) { - /* concurrency may be changed while we're in the callback, so - * save it to a flag. - */ - has_lock = PJ_FALSE; - pj_mutex_unlock(h->mutex); - } else { - has_lock = PJ_TRUE; - } - - /* Call callback. */ - if (h->cb.on_connect_complete && !IS_CLOSING(h)) { - pj_status_t status = -1; -#if (defined(PJ_HAS_SO_ERROR) && PJ_HAS_SO_ERROR!=0) - int value; - int vallen = sizeof(value); - int gs_rc = pj_sock_getsockopt(h->fd, SOL_SOCKET, SO_ERROR, - &value, &vallen); - if (gs_rc == 0) { - status = PJ_RETURN_OS_ERROR(value); - } -#endif - - (*h->cb.on_connect_complete)(h, status); - } - - if (has_lock) { - pj_mutex_unlock(h->mutex); - } -} - -/* - * pj_ioqueue_recv() - * - * Start asynchronous recv() from the socket. - */ -PJ_DEF(pj_status_t) pj_ioqueue_recv( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - void *buffer, - pj_ssize_t *length, - unsigned flags ) -{ - struct read_operation *read_op; - - PJ_ASSERT_RETURN(key && op_key && buffer && length, PJ_EINVAL); - PJ_CHECK_STACK(); - - /* Check if key is closing (need to do this first before accessing - * other variables, since they might have been destroyed. See ticket - * #469). - */ - if (IS_CLOSING(key)) - return PJ_ECANCELLED; - - read_op = (struct read_operation*)op_key; - read_op->op = PJ_IOQUEUE_OP_NONE; - - /* Try to see if there's data immediately available. - */ - if ((flags & PJ_IOQUEUE_ALWAYS_ASYNC) == 0) { - pj_status_t status; - pj_ssize_t size; - - size = *length; - status = pj_sock_recv(key->fd, buffer, &size, flags); - if (status == PJ_SUCCESS) { - /* Yes! Data is available! */ - *length = size; - return PJ_SUCCESS; - } else { - /* If error is not EWOULDBLOCK (or EAGAIN on Linux), report - * the error to caller. - */ - if (status != PJ_STATUS_FROM_OS(PJ_BLOCKING_ERROR_VAL)) - return status; - } - } - - flags &= ~(PJ_IOQUEUE_ALWAYS_ASYNC); - - /* - * No data is immediately available. - * Must schedule asynchronous operation to the ioqueue. - */ - read_op->op = PJ_IOQUEUE_OP_RECV; - read_op->buf = buffer; - read_op->size = *length; - read_op->flags = flags; - - pj_mutex_lock(key->mutex); - /* Check again. Handle may have been closed after the previous check - * in multithreaded app. If we add bad handle to the set it will - * corrupt the ioqueue set. See #913 - */ - if (IS_CLOSING(key)) { - pj_mutex_unlock(key->mutex); - return PJ_ECANCELLED; - } - pj_list_insert_before(&key->read_list, read_op); - ioqueue_add_to_set(key->ioqueue, key, READABLE_EVENT); - pj_mutex_unlock(key->mutex); - - return PJ_EPENDING; -} - -/* - * pj_ioqueue_recvfrom() - * - * Start asynchronous recvfrom() from the socket. - */ -PJ_DEF(pj_status_t) pj_ioqueue_recvfrom( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - void *buffer, - pj_ssize_t *length, - unsigned flags, - pj_sockaddr_t *addr, - int *addrlen) -{ - struct read_operation *read_op; - - PJ_ASSERT_RETURN(key && op_key && buffer && length, PJ_EINVAL); - PJ_CHECK_STACK(); - - /* Check if key is closing. */ - if (IS_CLOSING(key)) - return PJ_ECANCELLED; - - read_op = (struct read_operation*)op_key; - read_op->op = PJ_IOQUEUE_OP_NONE; - - /* Try to see if there's data immediately available. - */ - if ((flags & PJ_IOQUEUE_ALWAYS_ASYNC) == 0) { - pj_status_t status; - pj_ssize_t size; - - size = *length; - status = pj_sock_recvfrom(key->fd, buffer, &size, flags, - addr, addrlen); - if (status == PJ_SUCCESS) { - /* Yes! Data is available! */ - *length = size; - return PJ_SUCCESS; - } else { - /* If error is not EWOULDBLOCK (or EAGAIN on Linux), report - * the error to caller. - */ - if (status != PJ_STATUS_FROM_OS(PJ_BLOCKING_ERROR_VAL)) - return status; - } - } - - flags &= ~(PJ_IOQUEUE_ALWAYS_ASYNC); - - /* - * No data is immediately available. - * Must schedule asynchronous operation to the ioqueue. - */ - read_op->op = PJ_IOQUEUE_OP_RECV_FROM; - read_op->buf = buffer; - read_op->size = *length; - read_op->flags = flags; - read_op->rmt_addr = addr; - read_op->rmt_addrlen = addrlen; - - pj_mutex_lock(key->mutex); - /* Check again. Handle may have been closed after the previous check - * in multithreaded app. If we add bad handle to the set it will - * corrupt the ioqueue set. See #913 - */ - if (IS_CLOSING(key)) { - pj_mutex_unlock(key->mutex); - return PJ_ECANCELLED; - } - pj_list_insert_before(&key->read_list, read_op); - ioqueue_add_to_set(key->ioqueue, key, READABLE_EVENT); - pj_mutex_unlock(key->mutex); - - return PJ_EPENDING; -} - -/* - * pj_ioqueue_send() - * - * Start asynchronous send() to the descriptor. - */ -PJ_DEF(pj_status_t) pj_ioqueue_send( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - const void *data, - pj_ssize_t *length, - unsigned flags) -{ - struct write_operation *write_op; - pj_status_t status; - unsigned retry; - pj_ssize_t sent; - - PJ_ASSERT_RETURN(key && op_key && data && length, PJ_EINVAL); - PJ_CHECK_STACK(); - - /* Check if key is closing. */ - if (IS_CLOSING(key)) - return PJ_ECANCELLED; - - /* We can not use PJ_IOQUEUE_ALWAYS_ASYNC for socket write. */ - flags &= ~(PJ_IOQUEUE_ALWAYS_ASYNC); - - /* Fast track: - * Try to send data immediately, only if there's no pending write! - * Note: - * We are speculating that the list is empty here without properly - * acquiring ioqueue's mutex first. This is intentional, to maximize - * performance via parallelism. - * - * This should be safe, because: - * - by convention, we require caller to make sure that the - * key is not unregistered while other threads are invoking - * an operation on the same key. - * - pj_list_empty() is safe to be invoked by multiple threads, - * even when other threads are modifying the list. - */ - if (pj_list_empty(&key->write_list)) { - /* - * See if data can be sent immediately. - */ - sent = *length; - status = pj_sock_send(key->fd, data, &sent, flags); - if (status == PJ_SUCCESS) { - /* Success! */ - *length = sent; - return PJ_SUCCESS; - } else { - /* If error is not EWOULDBLOCK (or EAGAIN on Linux), report - * the error to caller. - */ - if (status != PJ_STATUS_FROM_OS(PJ_BLOCKING_ERROR_VAL)) { - return status; - } - } - } - - /* - * Schedule asynchronous send. - */ - write_op = (struct write_operation*)op_key; - - /* Spin if write_op has pending operation */ - for (retry=0; write_op->op != 0 && retryop) { - /* Unable to send packet because there is already pending write in the - * write_op. We could not put the operation into the write_op - * because write_op already contains a pending operation! And - * we could not send the packet directly with send() either, - * because that will break the order of the packet. So we can - * only return error here. - * - * This could happen for example in multithreads program, - * where polling is done by one thread, while other threads are doing - * the sending only. If the polling thread runs on lower priority - * than the sending thread, then it's possible that the pending - * write flag is not cleared in-time because clearing is only done - * during polling. - * - * Aplication should specify multiple write operation keys on - * situation like this. - */ - //pj_assert(!"ioqueue: there is pending operation on this key!"); - return PJ_EBUSY; - } - - write_op->op = PJ_IOQUEUE_OP_SEND; - write_op->buf = (char*)data; - write_op->size = *length; - write_op->written = 0; - write_op->flags = flags; - - pj_mutex_lock(key->mutex); - /* Check again. Handle may have been closed after the previous check - * in multithreaded app. If we add bad handle to the set it will - * corrupt the ioqueue set. See #913 - */ - if (IS_CLOSING(key)) { - pj_mutex_unlock(key->mutex); - return PJ_ECANCELLED; - } - pj_list_insert_before(&key->write_list, write_op); - ioqueue_add_to_set(key->ioqueue, key, WRITEABLE_EVENT); - pj_mutex_unlock(key->mutex); - - return PJ_EPENDING; -} - - -/* - * pj_ioqueue_sendto() - * - * Start asynchronous write() to the descriptor. - */ -PJ_DEF(pj_status_t) pj_ioqueue_sendto( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - const void *data, - pj_ssize_t *length, - pj_uint32_t flags, - const pj_sockaddr_t *addr, - int addrlen) -{ - struct write_operation *write_op; - unsigned retry; - pj_bool_t restart_retry = PJ_FALSE; - pj_status_t status; - pj_ssize_t sent; - - PJ_ASSERT_RETURN(key && op_key && data && length, PJ_EINVAL); - PJ_CHECK_STACK(); - -#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ - PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 -retry_on_restart: -#else - PJ_UNUSED_ARG(restart_retry); -#endif - /* Check if key is closing. */ - if (IS_CLOSING(key)) - return PJ_ECANCELLED; - - /* We can not use PJ_IOQUEUE_ALWAYS_ASYNC for socket write */ - flags &= ~(PJ_IOQUEUE_ALWAYS_ASYNC); - - /* Fast track: - * Try to send data immediately, only if there's no pending write! - * Note: - * We are speculating that the list is empty here without properly - * acquiring ioqueue's mutex first. This is intentional, to maximize - * performance via parallelism. - * - * This should be safe, because: - * - by convention, we require caller to make sure that the - * key is not unregistered while other threads are invoking - * an operation on the same key. - * - pj_list_empty() is safe to be invoked by multiple threads, - * even when other threads are modifying the list. - */ - if (pj_list_empty(&key->write_list)) { - /* - * See if data can be sent immediately. - */ - sent = *length; - status = pj_sock_sendto(key->fd, data, &sent, flags, addr, addrlen); - if (status == PJ_SUCCESS) { - /* Success! */ - *length = sent; - return PJ_SUCCESS; - } else { - /* If error is not EWOULDBLOCK (or EAGAIN on Linux), report - * the error to caller. - */ - if (status != PJ_STATUS_FROM_OS(PJ_BLOCKING_ERROR_VAL)) { -#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ - PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 - /* Special treatment for dead UDP sockets here, see ticket #1107 */ - if (status==PJ_STATUS_FROM_OS(EPIPE) && !IS_CLOSING(key) && - key->fd_type==pj_SOCK_DGRAM() && !restart_retry) - { - PJ_PERROR(4,(THIS_FILE, status, - "Send error for socket %d, retrying", - key->fd)); - replace_udp_sock(key); - restart_retry = PJ_TRUE; - goto retry_on_restart; - } -#endif - - return status; - } - status = status; - } - } - - /* - * Check that address storage can hold the address parameter. - */ - PJ_ASSERT_RETURN(addrlen <= (int)sizeof(pj_sockaddr_in), PJ_EBUG); - - /* - * Schedule asynchronous send. - */ - write_op = (struct write_operation*)op_key; - - /* Spin if write_op has pending operation */ - for (retry=0; write_op->op != 0 && retryop) { - /* Unable to send packet because there is already pending write on the - * write_op. We could not put the operation into the write_op - * because write_op already contains a pending operation! And - * we could not send the packet directly with sendto() either, - * because that will break the order of the packet. So we can - * only return error here. - * - * This could happen for example in multithreads program, - * where polling is done by one thread, while other threads are doing - * the sending only. If the polling thread runs on lower priority - * than the sending thread, then it's possible that the pending - * write flag is not cleared in-time because clearing is only done - * during polling. - * - * Aplication should specify multiple write operation keys on - * situation like this. - */ - //pj_assert(!"ioqueue: there is pending operation on this key!"); - return PJ_EBUSY; - } - - write_op->op = PJ_IOQUEUE_OP_SEND_TO; - write_op->buf = (char*)data; - write_op->size = *length; - write_op->written = 0; - write_op->flags = flags; - pj_memcpy(&write_op->rmt_addr, addr, addrlen); - write_op->rmt_addrlen = addrlen; - - pj_mutex_lock(key->mutex); - /* Check again. Handle may have been closed after the previous check - * in multithreaded app. If we add bad handle to the set it will - * corrupt the ioqueue set. See #913 - */ - if (IS_CLOSING(key)) { - pj_mutex_unlock(key->mutex); - return PJ_ECANCELLED; - } - pj_list_insert_before(&key->write_list, write_op); - ioqueue_add_to_set(key->ioqueue, key, WRITEABLE_EVENT); - pj_mutex_unlock(key->mutex); - - return PJ_EPENDING; -} - -#if PJ_HAS_TCP -/* - * Initiate overlapped accept() operation. - */ -PJ_DEF(pj_status_t) pj_ioqueue_accept( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_sock_t *new_sock, - pj_sockaddr_t *local, - pj_sockaddr_t *remote, - int *addrlen) -{ - struct accept_operation *accept_op; - pj_status_t status; - - /* check parameters. All must be specified! */ - PJ_ASSERT_RETURN(key && op_key && new_sock, PJ_EINVAL); - - /* Check if key is closing. */ - if (IS_CLOSING(key)) - return PJ_ECANCELLED; - - accept_op = (struct accept_operation*)op_key; - accept_op->op = PJ_IOQUEUE_OP_NONE; - - /* Fast track: - * See if there's new connection available immediately. - */ - if (pj_list_empty(&key->accept_list)) { - status = pj_sock_accept(key->fd, new_sock, remote, addrlen); - if (status == PJ_SUCCESS) { - /* Yes! New connection is available! */ - if (local && addrlen) { - status = pj_sock_getsockname(*new_sock, local, addrlen); - if (status != PJ_SUCCESS) { - pj_sock_close(*new_sock); - *new_sock = PJ_INVALID_SOCKET; - return status; - } - } - return PJ_SUCCESS; - } else { - /* If error is not EWOULDBLOCK (or EAGAIN on Linux), report - * the error to caller. - */ - if (status != PJ_STATUS_FROM_OS(PJ_BLOCKING_ERROR_VAL)) { - return status; - } - } - } - - /* - * No connection is available immediately. - * Schedule accept() operation to be completed when there is incoming - * connection available. - */ - accept_op->op = PJ_IOQUEUE_OP_ACCEPT; - accept_op->accept_fd = new_sock; - accept_op->rmt_addr = remote; - accept_op->addrlen= addrlen; - accept_op->local_addr = local; - - pj_mutex_lock(key->mutex); - /* Check again. Handle may have been closed after the previous check - * in multithreaded app. If we add bad handle to the set it will - * corrupt the ioqueue set. See #913 - */ - if (IS_CLOSING(key)) { - pj_mutex_unlock(key->mutex); - return PJ_ECANCELLED; - } - pj_list_insert_before(&key->accept_list, accept_op); - ioqueue_add_to_set(key->ioqueue, key, READABLE_EVENT); - pj_mutex_unlock(key->mutex); - - return PJ_EPENDING; -} - -/* - * Initiate overlapped connect() operation (well, it's non-blocking actually, - * since there's no overlapped version of connect()). - */ -PJ_DEF(pj_status_t) pj_ioqueue_connect( pj_ioqueue_key_t *key, - const pj_sockaddr_t *addr, - int addrlen ) -{ - pj_status_t status; - - /* check parameters. All must be specified! */ - PJ_ASSERT_RETURN(key && addr && addrlen, PJ_EINVAL); - - /* Check if key is closing. */ - if (IS_CLOSING(key)) - return PJ_ECANCELLED; - - /* Check if socket has not been marked for connecting */ - if (key->connecting != 0) - return PJ_EPENDING; - - status = pj_sock_connect(key->fd, addr, addrlen); - if (status == PJ_SUCCESS) { - /* Connected! */ - return PJ_SUCCESS; - } else { - if (status == PJ_STATUS_FROM_OS(PJ_BLOCKING_CONNECT_ERROR_VAL)) { - /* Pending! */ - pj_mutex_lock(key->mutex); - /* Check again. Handle may have been closed after the previous - * check in multithreaded app. See #913 - */ - if (IS_CLOSING(key)) { - pj_mutex_unlock(key->mutex); - return PJ_ECANCELLED; - } - key->connecting = PJ_TRUE; - ioqueue_add_to_set(key->ioqueue, key, WRITEABLE_EVENT); - ioqueue_add_to_set(key->ioqueue, key, EXCEPTION_EVENT); - pj_mutex_unlock(key->mutex); - return PJ_EPENDING; - } else { - /* Error! */ - return status; - } - } -} -#endif /* PJ_HAS_TCP */ - - -PJ_DEF(void) pj_ioqueue_op_key_init( pj_ioqueue_op_key_t *op_key, - pj_size_t size ) -{ - pj_bzero(op_key, size); -} - - -/* - * pj_ioqueue_is_pending() - */ -PJ_DEF(pj_bool_t) pj_ioqueue_is_pending( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key ) -{ - struct generic_operation *op_rec; - - PJ_UNUSED_ARG(key); - - op_rec = (struct generic_operation*)op_key; - return op_rec->op != 0; -} - - -/* - * pj_ioqueue_post_completion() - */ -PJ_DEF(pj_status_t) pj_ioqueue_post_completion( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_status ) -{ - struct generic_operation *op_rec; - - /* - * Find the operation key in all pending operation list to - * really make sure that it's still there; then call the callback. - */ - pj_mutex_lock(key->mutex); - - /* Find the operation in the pending read list. */ - op_rec = (struct generic_operation*)key->read_list.next; - while (op_rec != (void*)&key->read_list) { - if (op_rec == (void*)op_key) { - pj_list_erase(op_rec); - op_rec->op = PJ_IOQUEUE_OP_NONE; - pj_mutex_unlock(key->mutex); - - (*key->cb.on_read_complete)(key, op_key, bytes_status); - return PJ_SUCCESS; - } - op_rec = op_rec->next; - } - - /* Find the operation in the pending write list. */ - op_rec = (struct generic_operation*)key->write_list.next; - while (op_rec != (void*)&key->write_list) { - if (op_rec == (void*)op_key) { - pj_list_erase(op_rec); - op_rec->op = PJ_IOQUEUE_OP_NONE; - pj_mutex_unlock(key->mutex); - - (*key->cb.on_write_complete)(key, op_key, bytes_status); - return PJ_SUCCESS; - } - op_rec = op_rec->next; - } - - /* Find the operation in the pending accept list. */ - op_rec = (struct generic_operation*)key->accept_list.next; - while (op_rec != (void*)&key->accept_list) { - if (op_rec == (void*)op_key) { - pj_list_erase(op_rec); - op_rec->op = PJ_IOQUEUE_OP_NONE; - pj_mutex_unlock(key->mutex); - - (*key->cb.on_accept_complete)(key, op_key, - PJ_INVALID_SOCKET, - bytes_status); - return PJ_SUCCESS; - } - op_rec = op_rec->next; - } - - pj_mutex_unlock(key->mutex); - - return PJ_EINVALIDOP; -} - -PJ_DEF(pj_status_t) pj_ioqueue_set_default_concurrency( pj_ioqueue_t *ioqueue, - pj_bool_t allow) -{ - PJ_ASSERT_RETURN(ioqueue != NULL, PJ_EINVAL); - ioqueue->default_concurrency = allow; - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pj_ioqueue_set_concurrency(pj_ioqueue_key_t *key, - pj_bool_t allow) -{ - PJ_ASSERT_RETURN(key, PJ_EINVAL); - - /* PJ_IOQUEUE_HAS_SAFE_UNREG must be enabled if concurrency is - * disabled. - */ - PJ_ASSERT_RETURN(allow || PJ_IOQUEUE_HAS_SAFE_UNREG, PJ_EINVAL); - - key->allow_concurrent = allow; - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_ioqueue_lock_key(pj_ioqueue_key_t *key) -{ - return pj_mutex_lock(key->mutex); -} - -PJ_DEF(pj_status_t) pj_ioqueue_unlock_key(pj_ioqueue_key_t *key) -{ - return pj_mutex_unlock(key->mutex); -} - diff --git a/res/pjproject/pjlib/src/pj/ioqueue_common_abs.h b/res/pjproject/pjlib/src/pj/ioqueue_common_abs.h deleted file mode 100644 index 3a41051bc2..0000000000 --- a/res/pjproject/pjlib/src/pj/ioqueue_common_abs.h +++ /dev/null @@ -1,139 +0,0 @@ -/* $Id */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* ioqueue_common_abs.h - * - * This file contains private declarations for abstracting various - * event polling/dispatching mechanisms (e.g. select, poll, epoll) - * to the ioqueue. - */ - -#include - -/* - * The select ioqueue relies on socket functions (pj_sock_xxx()) to return - * the correct error code. - */ -#if PJ_RETURN_OS_ERROR(100) != PJ_STATUS_FROM_OS(100) -# error "Proper error reporting must be enabled for ioqueue to work!" -#endif - - -struct generic_operation -{ - PJ_DECL_LIST_MEMBER(struct generic_operation); - pj_ioqueue_operation_e op; -}; - -struct read_operation -{ - PJ_DECL_LIST_MEMBER(struct read_operation); - pj_ioqueue_operation_e op; - - void *buf; - pj_size_t size; - unsigned flags; - pj_sockaddr_t *rmt_addr; - int *rmt_addrlen; -}; - -struct write_operation -{ - PJ_DECL_LIST_MEMBER(struct write_operation); - pj_ioqueue_operation_e op; - - char *buf; - pj_size_t size; - pj_ssize_t written; - unsigned flags; - pj_sockaddr_in rmt_addr; - int rmt_addrlen; -}; - -struct accept_operation -{ - PJ_DECL_LIST_MEMBER(struct accept_operation); - pj_ioqueue_operation_e op; - - pj_sock_t *accept_fd; - pj_sockaddr_t *local_addr; - pj_sockaddr_t *rmt_addr; - int *addrlen; -}; - -union operation_key -{ - struct generic_operation generic; - struct read_operation read; - struct write_operation write; -#if PJ_HAS_TCP - struct accept_operation accept; -#endif -}; - -#if PJ_IOQUEUE_HAS_SAFE_UNREG -# define UNREG_FIELDS \ - unsigned ref_count; \ - pj_bool_t closing; \ - pj_time_val free_time; \ - -#else -# define UNREG_FIELDS -#endif - -#define DECLARE_COMMON_KEY \ - PJ_DECL_LIST_MEMBER(struct pj_ioqueue_key_t); \ - pj_ioqueue_t *ioqueue; \ - pj_mutex_t *mutex; \ - pj_bool_t inside_callback; \ - pj_bool_t destroy_requested; \ - pj_bool_t allow_concurrent; \ - pj_sock_t fd; \ - int fd_type; \ - void *user_data; \ - pj_ioqueue_callback cb; \ - int connecting; \ - struct read_operation read_list; \ - struct write_operation write_list; \ - struct accept_operation accept_list; \ - UNREG_FIELDS - - -#define DECLARE_COMMON_IOQUEUE \ - pj_lock_t *lock; \ - pj_bool_t auto_delete_lock; \ - pj_bool_t default_concurrency; - - -enum ioqueue_event_type -{ - NO_EVENT, - READABLE_EVENT, - WRITEABLE_EVENT, - EXCEPTION_EVENT, -}; - -static void ioqueue_add_to_set( pj_ioqueue_t *ioqueue, - pj_ioqueue_key_t *key, - enum ioqueue_event_type event_type ); -static void ioqueue_remove_from_set( pj_ioqueue_t *ioqueue, - pj_ioqueue_key_t *key, - enum ioqueue_event_type event_type); - diff --git a/res/pjproject/pjlib/src/pj/ioqueue_dummy.c b/res/pjproject/pjlib/src/pj/ioqueue_dummy.c deleted file mode 100644 index 43dd162515..0000000000 --- a/res/pjproject/pjlib/src/pj/ioqueue_dummy.c +++ /dev/null @@ -1,194 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "ioqueue" - -#define PJ_IOQUEUE_IS_READ_OP(op) \ - ((op & PJ_IOQUEUE_OP_READ) || (op & PJ_IOQUEUE_OP_RECV_FROM)) -#define PJ_IOQUEUE_IS_WRITE_OP(op) \ - ((op & PJ_IOQUEUE_OP_WRITE) || (op & PJ_IOQUEUE_OP_SEND_TO)) - - -#if PJ_HAS_TCP -# define PJ_IOQUEUE_IS_ACCEPT_OP(op) (op & PJ_IOQUEUE_OP_ACCEPT) -# define PJ_IOQUEUE_IS_CONNECT_OP(op) (op & PJ_IOQUEUE_OP_CONNECT) -#else -# define PJ_IOQUEUE_IS_ACCEPT_OP(op) 0 -# define PJ_IOQUEUE_IS_CONNECT_OP(op) 0 -#endif - -#if defined(PJ_DEBUG) && PJ_DEBUG != 0 -# define VALIDATE_FD_SET 1 -#else -# define VALIDATE_FD_SET 0 -#endif - -struct pj_ioqueue_key_t -{ - PJ_DECL_LIST_MEMBER(struct pj_ioqueue_key_t) - pj_sock_t fd; - pj_ioqueue_operation_e op; - void *user_data; - pj_ioqueue_callback cb; -}; - -struct pj_ioqueue_t -{ -}; - -PJ_DEF(pj_status_t) pj_ioqueue_create( pj_pool_t *pool, - pj_size_t max_fd, - int max_threads, - pj_ioqueue_t **ptr_ioqueue) -{ - return PJ_ENOTSUP; -} - -PJ_DEF(pj_status_t) pj_ioqueue_destroy(pj_ioqueue_t *ioque) -{ - return PJ_ENOTSUP; -} - -PJ_DEF(pj_status_t) pj_ioqueue_set_lock( pj_ioqueue_t *ioque, - pj_lock_t *lock, - pj_bool_t auto_delete ) -{ - return PJ_ENOTSUP; -} - -PJ_DEF(pj_status_t) pj_ioqueue_register_sock( pj_pool_t *pool, - pj_ioqueue_t *ioque, - pj_sock_t sock, - void *user_data, - const pj_ioqueue_callback *cb, - pj_ioqueue_key_t **ptr_key) -{ - return PJ_ENOTSUP; -} - -PJ_DEF(pj_status_t) pj_ioqueue_unregister( pj_ioqueue_t *ioque, - pj_ioqueue_key_t *key) -{ - return PJ_ENOTSUP; -} - -PJ_DEF(void*) pj_ioqueue_get_user_data( pj_ioqueue_key_t *key ) -{ - return NULL; -} - - -PJ_DEF(int) pj_ioqueue_poll( pj_ioqueue_t *ioque, const pj_time_val *timeout) -{ - return -1; -} - -PJ_DEF(pj_status_t) pj_ioqueue_read( pj_ioqueue_t *ioque, - pj_ioqueue_key_t *key, - void *buffer, - pj_size_t buflen) -{ - return -1; -} - -PJ_DEF(pj_status_t) pj_ioqueue_recv( pj_ioqueue_t *ioque, - pj_ioqueue_key_t *key, - void *buffer, - pj_size_t buflen, - unsigned flags) -{ - return -1; -} - -PJ_DEF(pj_status_t) pj_ioqueue_recvfrom( pj_ioqueue_t *ioque, - pj_ioqueue_key_t *key, - void *buffer, - pj_size_t buflen, - unsigned flags, - pj_sockaddr_t *addr, - int *addrlen) -{ - return -1; -} - -PJ_DEF(pj_status_t) pj_ioqueue_write( pj_ioqueue_t *ioque, - pj_ioqueue_key_t *key, - const void *data, - pj_size_t datalen) -{ - return -1; -} - -PJ_DEF(pj_status_t) pj_ioqueue_send( pj_ioqueue_t *ioque, - pj_ioqueue_key_t *key, - const void *data, - pj_size_t datalen, - unsigned flags) -{ - return -1; -} - -PJ_DEF(pj_status_t) pj_ioqueue_sendto( pj_ioqueue_t *ioque, - pj_ioqueue_key_t *key, - const void *data, - pj_size_t datalen, - unsigned flags, - const pj_sockaddr_t *addr, - int addrlen) -{ - return -1; -} - -#if PJ_HAS_TCP -/* - * Initiate overlapped accept() operation. - */ -PJ_DEF(pj_status_t) pj_ioqueue_accept( pj_ioqueue_t *ioqueue, - pj_ioqueue_key_t *key, - pj_sock_t *new_sock, - pj_sockaddr_t *local, - pj_sockaddr_t *remote, - int *addrlen) -{ - return -1; -} - -/* - * Initiate overlapped connect() operation (well, it's non-blocking actually, - * since there's no overlapped version of connect()). - */ -PJ_DEF(pj_status_t) pj_ioqueue_connect( pj_ioqueue_t *ioqueue, - pj_ioqueue_key_t *key, - const pj_sockaddr_t *addr, - int addrlen ) -{ - return -1; -} -#endif /* PJ_HAS_TCP */ - diff --git a/res/pjproject/pjlib/src/pj/ioqueue_epoll.c b/res/pjproject/pjlib/src/pj/ioqueue_epoll.c deleted file mode 100644 index 4c5477911f..0000000000 --- a/res/pjproject/pjlib/src/pj/ioqueue_epoll.c +++ /dev/null @@ -1,749 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -/* - * ioqueue_epoll.c - * - * This is the implementation of IOQueue framework using /dev/epoll - * API in _both_ Linux user-mode and kernel-mode. - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#if !defined(PJ_LINUX_KERNEL) || PJ_LINUX_KERNEL==0 - /* - * Linux user mode - */ -# include -# include -# include - -# define epoll_data data.ptr -# define epoll_data_type void* -# define ioctl_val_type unsigned long -# define getsockopt_val_ptr int* -# define os_getsockopt getsockopt -# define os_ioctl ioctl -# define os_read read -# define os_close close -# define os_epoll_create epoll_create -# define os_epoll_ctl epoll_ctl -# define os_epoll_wait epoll_wait -#else - /* - * Linux kernel mode. - */ -# include -# include -# if defined(MODVERSIONS) -# include -# endif -# include -# include -# include -# include -# include -# include -# include - enum EPOLL_EVENTS - { - EPOLLIN = 0x001, - EPOLLOUT = 0x004, - EPOLLERR = 0x008, - }; -# define os_epoll_create sys_epoll_create - static int os_epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) - { - long rc; - mm_segment_t oldfs = get_fs(); - set_fs(KERNEL_DS); - rc = sys_epoll_ctl(epfd, op, fd, event); - set_fs(oldfs); - if (rc) { - errno = -rc; - return -1; - } else { - return 0; - } - } - static int os_epoll_wait(int epfd, struct epoll_event *events, - int maxevents, int timeout) - { - int count; - mm_segment_t oldfs = get_fs(); - set_fs(KERNEL_DS); - count = sys_epoll_wait(epfd, events, maxevents, timeout); - set_fs(oldfs); - return count; - } -# define os_close sys_close -# define os_getsockopt pj_sock_getsockopt - static int os_read(int fd, void *buf, size_t len) - { - long rc; - mm_segment_t oldfs = get_fs(); - set_fs(KERNEL_DS); - rc = sys_read(fd, buf, len); - set_fs(oldfs); - if (rc) { - errno = -rc; - return -1; - } else { - return 0; - } - } -# define socklen_t unsigned -# define ioctl_val_type unsigned long - int ioctl(int fd, int opt, ioctl_val_type value); - static int os_ioctl(int fd, int opt, ioctl_val_type value) - { - int rc; - mm_segment_t oldfs = get_fs(); - set_fs(KERNEL_DS); - rc = ioctl(fd, opt, value); - set_fs(oldfs); - if (rc < 0) { - errno = -rc; - return rc; - } else - return rc; - } -# define getsockopt_val_ptr char* - -# define epoll_data data -# define epoll_data_type __u32 -#endif - -#define THIS_FILE "ioq_epoll" - -//#define TRACE_(expr) PJ_LOG(3,expr) -#define TRACE_(expr) - -/* - * Include common ioqueue abstraction. - */ -#include "ioqueue_common_abs.h" - -/* - * This describes each key. - */ -struct pj_ioqueue_key_t -{ - DECLARE_COMMON_KEY -}; - -struct queue -{ - pj_ioqueue_key_t *key; - enum ioqueue_event_type event_type; -}; - -/* - * This describes the I/O queue. - */ -struct pj_ioqueue_t -{ - DECLARE_COMMON_IOQUEUE - - unsigned max, count; - //pj_ioqueue_key_t hlist; - pj_ioqueue_key_t active_list; - int epfd; - //struct epoll_event *events; - //struct queue *queue; - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - pj_mutex_t *ref_cnt_mutex; - pj_ioqueue_key_t closing_list; - pj_ioqueue_key_t free_list; -#endif -}; - -/* Include implementation for common abstraction after we declare - * pj_ioqueue_key_t and pj_ioqueue_t. - */ -#include "ioqueue_common_abs.c" - -#if PJ_IOQUEUE_HAS_SAFE_UNREG -/* Scan closing keys to be put to free list again */ -static void scan_closing_keys(pj_ioqueue_t *ioqueue); -#endif - -/* - * pj_ioqueue_name() - */ -PJ_DEF(const char*) pj_ioqueue_name(void) -{ -#if defined(PJ_LINUX_KERNEL) && PJ_LINUX_KERNEL!=0 - return "epoll-kernel"; -#else - return "epoll"; -#endif -} - -/* - * pj_ioqueue_create() - * - * Create select ioqueue. - */ -PJ_DEF(pj_status_t) pj_ioqueue_create( pj_pool_t *pool, - pj_size_t max_fd, - pj_ioqueue_t **p_ioqueue) -{ - pj_ioqueue_t *ioqueue; - pj_status_t rc; - pj_lock_t *lock; - int i; - - /* Check that arguments are valid. */ - PJ_ASSERT_RETURN(pool != NULL && p_ioqueue != NULL && - max_fd > 0, PJ_EINVAL); - - /* Check that size of pj_ioqueue_op_key_t is sufficient */ - PJ_ASSERT_RETURN(sizeof(pj_ioqueue_op_key_t)-sizeof(void*) >= - sizeof(union operation_key), PJ_EBUG); - - ioqueue = pj_pool_alloc(pool, sizeof(pj_ioqueue_t)); - - ioqueue_init(ioqueue); - - ioqueue->max = max_fd; - ioqueue->count = 0; - pj_list_init(&ioqueue->active_list); - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - /* When safe unregistration is used (the default), we pre-create - * all keys and put them in the free list. - */ - - /* Mutex to protect key's reference counter - * We don't want to use key's mutex or ioqueue's mutex because - * that would create deadlock situation in some cases. - */ - rc = pj_mutex_create_simple(pool, NULL, &ioqueue->ref_cnt_mutex); - if (rc != PJ_SUCCESS) - return rc; - - - /* Init key list */ - pj_list_init(&ioqueue->free_list); - pj_list_init(&ioqueue->closing_list); - - - /* Pre-create all keys according to max_fd */ - for ( i=0; iref_count = 0; - rc = pj_mutex_create_recursive(pool, NULL, &key->mutex); - if (rc != PJ_SUCCESS) { - key = ioqueue->free_list.next; - while (key != &ioqueue->free_list) { - pj_mutex_destroy(key->mutex); - key = key->next; - } - pj_mutex_destroy(ioqueue->ref_cnt_mutex); - return rc; - } - - pj_list_push_back(&ioqueue->free_list, key); - } -#endif - - rc = pj_lock_create_simple_mutex(pool, "ioq%p", &lock); - if (rc != PJ_SUCCESS) - return rc; - - rc = pj_ioqueue_set_lock(ioqueue, lock, PJ_TRUE); - if (rc != PJ_SUCCESS) - return rc; - - ioqueue->epfd = os_epoll_create(max_fd); - if (ioqueue->epfd < 0) { - ioqueue_destroy(ioqueue); - return PJ_RETURN_OS_ERROR(pj_get_native_os_error()); - } - - /*ioqueue->events = pj_pool_calloc(pool, max_fd, sizeof(struct epoll_event)); - PJ_ASSERT_RETURN(ioqueue->events != NULL, PJ_ENOMEM); - - ioqueue->queue = pj_pool_calloc(pool, max_fd, sizeof(struct queue)); - PJ_ASSERT_RETURN(ioqueue->queue != NULL, PJ_ENOMEM); - */ - PJ_LOG(4, ("pjlib", "epoll I/O Queue created (%p)", ioqueue)); - - *p_ioqueue = ioqueue; - return PJ_SUCCESS; -} - -/* - * pj_ioqueue_destroy() - * - * Destroy ioqueue. - */ -PJ_DEF(pj_status_t) pj_ioqueue_destroy(pj_ioqueue_t *ioqueue) -{ - pj_ioqueue_key_t *key; - - PJ_ASSERT_RETURN(ioqueue, PJ_EINVAL); - PJ_ASSERT_RETURN(ioqueue->epfd > 0, PJ_EINVALIDOP); - - pj_lock_acquire(ioqueue->lock); - os_close(ioqueue->epfd); - ioqueue->epfd = 0; - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - /* Destroy reference counters */ - key = ioqueue->active_list.next; - while (key != &ioqueue->active_list) { - pj_mutex_destroy(key->mutex); - key = key->next; - } - - key = ioqueue->closing_list.next; - while (key != &ioqueue->closing_list) { - pj_mutex_destroy(key->mutex); - key = key->next; - } - - key = ioqueue->free_list.next; - while (key != &ioqueue->free_list) { - pj_mutex_destroy(key->mutex); - key = key->next; - } - - pj_mutex_destroy(ioqueue->ref_cnt_mutex); -#endif - return ioqueue_destroy(ioqueue); -} - -/* - * pj_ioqueue_register_sock() - * - * Register a socket to ioqueue. - */ -PJ_DEF(pj_status_t) pj_ioqueue_register_sock( pj_pool_t *pool, - pj_ioqueue_t *ioqueue, - pj_sock_t sock, - void *user_data, - const pj_ioqueue_callback *cb, - pj_ioqueue_key_t **p_key) -{ - pj_ioqueue_key_t *key = NULL; - pj_uint32_t value; - struct epoll_event ev; - int status; - pj_status_t rc = PJ_SUCCESS; - - PJ_ASSERT_RETURN(pool && ioqueue && sock != PJ_INVALID_SOCKET && - cb && p_key, PJ_EINVAL); - - pj_lock_acquire(ioqueue->lock); - - if (ioqueue->count >= ioqueue->max) { - rc = PJ_ETOOMANY; - TRACE_((THIS_FILE, "pj_ioqueue_register_sock error: too many files")); - goto on_return; - } - - /* Set socket to nonblocking. */ - value = 1; - if ((rc=os_ioctl(sock, FIONBIO, (ioctl_val_type)&value))) { - TRACE_((THIS_FILE, "pj_ioqueue_register_sock error: ioctl rc=%d", - rc)); - rc = pj_get_netos_error(); - goto on_return; - } - - /* If safe unregistration (PJ_IOQUEUE_HAS_SAFE_UNREG) is used, get - * the key from the free list. Otherwise allocate a new one. - */ -#if PJ_IOQUEUE_HAS_SAFE_UNREG - - /* Scan closing_keys first to let them come back to free_list */ - scan_closing_keys(ioqueue); - - pj_assert(!pj_list_empty(&ioqueue->free_list)); - if (pj_list_empty(&ioqueue->free_list)) { - rc = PJ_ETOOMANY; - goto on_return; - } - - key = ioqueue->free_list.next; - pj_list_erase(key); -#else - /* Create key. */ - key = (pj_ioqueue_key_t*)pj_pool_zalloc(pool, sizeof(pj_ioqueue_key_t)); -#endif - - rc = ioqueue_init_key(pool, ioqueue, key, sock, user_data, cb); - if (rc != PJ_SUCCESS) { - key = NULL; - goto on_return; - } - - /* Create key's mutex */ - /* rc = pj_mutex_create_recursive(pool, NULL, &key->mutex); - if (rc != PJ_SUCCESS) { - key = NULL; - goto on_return; - } -*/ - /* os_epoll_ctl. */ - ev.events = EPOLLIN | EPOLLERR; - ev.epoll_data = (epoll_data_type)key; - status = os_epoll_ctl(ioqueue->epfd, EPOLL_CTL_ADD, sock, &ev); - if (status < 0) { - rc = pj_get_os_error(); - pj_mutex_destroy(key->mutex); - key = NULL; - TRACE_((THIS_FILE, - "pj_ioqueue_register_sock error: os_epoll_ctl rc=%d", - status)); - goto on_return; - } - - /* Register */ - pj_list_insert_before(&ioqueue->active_list, key); - ++ioqueue->count; - - //TRACE_((THIS_FILE, "socket registered, count=%d", ioqueue->count)); - -on_return: - *p_key = key; - pj_lock_release(ioqueue->lock); - - return rc; -} - -#if PJ_IOQUEUE_HAS_SAFE_UNREG -/* Increment key's reference counter */ -static void increment_counter(pj_ioqueue_key_t *key) -{ - pj_mutex_lock(key->ioqueue->ref_cnt_mutex); - ++key->ref_count; - pj_mutex_unlock(key->ioqueue->ref_cnt_mutex); -} - -/* Decrement the key's reference counter, and when the counter reach zero, - * destroy the key. - * - * Note: MUST NOT CALL THIS FUNCTION WHILE HOLDING ioqueue's LOCK. - */ -static void decrement_counter(pj_ioqueue_key_t *key) -{ - pj_lock_acquire(key->ioqueue->lock); - pj_mutex_lock(key->ioqueue->ref_cnt_mutex); - --key->ref_count; - if (key->ref_count == 0) { - - pj_assert(key->closing == 1); - pj_gettickcount(&key->free_time); - key->free_time.msec += PJ_IOQUEUE_KEY_FREE_DELAY; - pj_time_val_normalize(&key->free_time); - - pj_list_erase(key); - pj_list_push_back(&key->ioqueue->closing_list, key); - - } - pj_mutex_unlock(key->ioqueue->ref_cnt_mutex); - pj_lock_release(key->ioqueue->lock); -} -#endif - -/* - * pj_ioqueue_unregister() - * - * Unregister handle from ioqueue. - */ -PJ_DEF(pj_status_t) pj_ioqueue_unregister( pj_ioqueue_key_t *key) -{ - pj_ioqueue_t *ioqueue; - struct epoll_event ev; - int status; - - PJ_ASSERT_RETURN(key != NULL, PJ_EINVAL); - - ioqueue = key->ioqueue; - - /* Lock the key to make sure no callback is simultaneously modifying - * the key. We need to lock the key before ioqueue here to prevent - * deadlock. - */ - pj_mutex_lock(key->mutex); - - /* Also lock ioqueue */ - pj_lock_acquire(ioqueue->lock); - - pj_assert(ioqueue->count > 0); - --ioqueue->count; -#if !PJ_IOQUEUE_HAS_SAFE_UNREG - pj_list_erase(key); -#endif - - ev.events = 0; - ev.epoll_data = (epoll_data_type)key; - status = os_epoll_ctl( ioqueue->epfd, EPOLL_CTL_DEL, key->fd, &ev); - if (status != 0) { - pj_status_t rc = pj_get_os_error(); - pj_lock_release(ioqueue->lock); - return rc; - } - - /* Destroy the key. */ - pj_sock_close(key->fd); - - pj_lock_release(ioqueue->lock); - - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - /* Mark key is closing. */ - key->closing = 1; - - /* Decrement counter. */ - decrement_counter(key); - - /* Done. */ - pj_mutex_unlock(key->mutex); -#else - pj_mutex_destroy(key->mutex); -#endif - - return PJ_SUCCESS; -} - -/* ioqueue_remove_from_set() - * This function is called from ioqueue_dispatch_event() to instruct - * the ioqueue to remove the specified descriptor from ioqueue's descriptor - * set for the specified event. - */ -static void ioqueue_remove_from_set( pj_ioqueue_t *ioqueue, - pj_ioqueue_key_t *key, - enum ioqueue_event_type event_type) -{ - if (event_type == WRITEABLE_EVENT) { - struct epoll_event ev; - - ev.events = EPOLLIN | EPOLLERR; - ev.epoll_data = (epoll_data_type)key; - os_epoll_ctl( ioqueue->epfd, EPOLL_CTL_MOD, key->fd, &ev); - } -} - -/* - * ioqueue_add_to_set() - * This function is called from pj_ioqueue_recv(), pj_ioqueue_send() etc - * to instruct the ioqueue to add the specified handle to ioqueue's descriptor - * set for the specified event. - */ -static void ioqueue_add_to_set( pj_ioqueue_t *ioqueue, - pj_ioqueue_key_t *key, - enum ioqueue_event_type event_type ) -{ - if (event_type == WRITEABLE_EVENT) { - struct epoll_event ev; - - ev.events = EPOLLIN | EPOLLOUT | EPOLLERR; - ev.epoll_data = (epoll_data_type)key; - os_epoll_ctl( ioqueue->epfd, EPOLL_CTL_MOD, key->fd, &ev); - } -} - -#if PJ_IOQUEUE_HAS_SAFE_UNREG -/* Scan closing keys to be put to free list again */ -static void scan_closing_keys(pj_ioqueue_t *ioqueue) -{ - pj_time_val now; - pj_ioqueue_key_t *h; - - pj_gettickcount(&now); - h = ioqueue->closing_list.next; - while (h != &ioqueue->closing_list) { - pj_ioqueue_key_t *next = h->next; - - pj_assert(h->closing != 0); - - if (PJ_TIME_VAL_GTE(now, h->free_time)) { - pj_list_erase(h); - pj_list_push_back(&ioqueue->free_list, h); - } - h = next; - } -} -#endif - -/* - * pj_ioqueue_poll() - * - */ -PJ_DEF(int) pj_ioqueue_poll( pj_ioqueue_t *ioqueue, const pj_time_val *timeout) -{ - int i, count, processed; - int msec; - //struct epoll_event *events = ioqueue->events; - //struct queue *queue = ioqueue->queue; - struct epoll_event events[PJ_IOQUEUE_MAX_EVENTS_IN_SINGLE_POLL]; - struct queue queue[PJ_IOQUEUE_MAX_EVENTS_IN_SINGLE_POLL]; - pj_timestamp t1, t2; - - PJ_CHECK_STACK(); - - msec = timeout ? PJ_TIME_VAL_MSEC(*timeout) : 9000; - - TRACE_((THIS_FILE, "start os_epoll_wait, msec=%d", msec)); - pj_get_timestamp(&t1); - - //count = os_epoll_wait( ioqueue->epfd, events, ioqueue->max, msec); - count = os_epoll_wait( ioqueue->epfd, events, PJ_IOQUEUE_MAX_EVENTS_IN_SINGLE_POLL, msec); - if (count == 0) { -#if PJ_IOQUEUE_HAS_SAFE_UNREG - /* Check the closing keys only when there's no activity and when there are - * pending closing keys. - */ - if (count == 0 && !pj_list_empty(&ioqueue->closing_list)) { - pj_lock_acquire(ioqueue->lock); - scan_closing_keys(ioqueue); - pj_lock_release(ioqueue->lock); - } -#endif - TRACE_((THIS_FILE, "os_epoll_wait timed out")); - return count; - } - else if (count < 0) { - TRACE_((THIS_FILE, "os_epoll_wait error")); - return -pj_get_netos_error(); - } - - pj_get_timestamp(&t2); - TRACE_((THIS_FILE, "os_epoll_wait returns %d, time=%d usec", - count, pj_elapsed_usec(&t1, &t2))); - - /* Lock ioqueue. */ - pj_lock_acquire(ioqueue->lock); - - for (processed=0, i=0; iconnecting) && !IS_CLOSING(h)) { - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - increment_counter(h); -#endif - queue[processed].key = h; - queue[processed].event_type = WRITEABLE_EVENT; - ++processed; - } -#endif /* PJ_HAS_TCP */ - - /* - * Check for error condition. - */ - if (events[i].events & EPOLLERR && (h->connecting) && !IS_CLOSING(h)) { - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - increment_counter(h); -#endif - queue[processed].key = h; - queue[processed].event_type = EXCEPTION_EVENT; - ++processed; - } - } - pj_lock_release(ioqueue->lock); - - /* Now process the events. */ - for (i=0; i 0 but no descriptors are actually set! - */ - if (count > 0 && !processed && msec > 0) { - pj_thread_sleep(msec); - } - - pj_get_timestamp(&t1); - TRACE_((THIS_FILE, "ioqueue_poll() returns %d, time=%d usec", - processed, pj_elapsed_usec(&t2, &t1))); - - return processed; -} - diff --git a/res/pjproject/pjlib/src/pj/ioqueue_linux_kernel.c b/res/pjproject/pjlib/src/pj/ioqueue_linux_kernel.c deleted file mode 100644 index ca2bd135d0..0000000000 --- a/res/pjproject/pjlib/src/pj/ioqueue_linux_kernel.c +++ /dev/null @@ -1,162 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "ioqueue" - -#define PJ_IOQUEUE_IS_READ_OP(op) \ - ((op & PJ_IOQUEUE_OP_READ) || (op & PJ_IOQUEUE_OP_RECV_FROM)) -#define PJ_IOQUEUE_IS_WRITE_OP(op) \ - ((op & PJ_IOQUEUE_OP_WRITE) || (op & PJ_IOQUEUE_OP_SEND_TO)) - - -#if PJ_HAS_TCP -# define PJ_IOQUEUE_IS_ACCEPT_OP(op) (op & PJ_IOQUEUE_OP_ACCEPT) -# define PJ_IOQUEUE_IS_CONNECT_OP(op) (op & PJ_IOQUEUE_OP_CONNECT) -#else -# define PJ_IOQUEUE_IS_ACCEPT_OP(op) 0 -# define PJ_IOQUEUE_IS_CONNECT_OP(op) 0 -#endif - -#if defined(PJ_DEBUG) && PJ_DEBUG != 0 -# define VALIDATE_FD_SET 1 -#else -# define VALIDATE_FD_SET 0 -#endif - -struct pj_ioqueue_key_t -{ - PJ_DECL_LIST_MEMBER(struct pj_ioqueue_key_t) - pj_sock_t fd; - pj_ioqueue_operation_e op; - void *user_data; - pj_ioqueue_callback cb; -}; - -struct pj_ioqueue_t -{ -}; - -PJ_DEF(pj_ioqueue_t*) pj_ioqueue_create(pj_pool_t *pool, pj_size_t max_fd) -{ - return NULL; -} - -PJ_DEF(pj_status_t) pj_ioqueue_destroy(pj_ioqueue_t *ioque) -{ - return 0; -} - -PJ_DEF(pj_ioqueue_key_t*) pj_ioqueue_register( pj_pool_t *pool, - pj_ioqueue_t *ioque, - pj_oshandle_t sock, - void *user_data, - const pj_ioqueue_callback *cb) -{ - return NULL; -} - -PJ_DEF(pj_status_t) pj_ioqueue_unregister( pj_ioqueue_t *ioque, - pj_ioqueue_key_t *key) -{ - return -1; -} - -PJ_DEF(void*) pj_ioqueue_get_user_data( pj_ioqueue_key_t *key ) -{ - return NULL; -} - - -PJ_DEF(int) pj_ioqueue_poll( pj_ioqueue_t *ioque, const pj_time_val *timeout) -{ - return -1; -} - -PJ_DEF(int) pj_ioqueue_read( pj_ioqueue_t *ioque, - pj_ioqueue_key_t *key, - void *buffer, - pj_size_t buflen) -{ - return -1; -} - -PJ_DEF(int) pj_ioqueue_recvfrom( pj_ioqueue_t *ioque, - pj_ioqueue_key_t *key, - void *buffer, - pj_size_t buflen, - pj_sockaddr_t *addr, - int *addrlen) -{ - return -1; -} - -PJ_DEF(int) pj_ioqueue_write( pj_ioqueue_t *ioque, - pj_ioqueue_key_t *key, - const void *data, - pj_size_t datalen) -{ - return -1; -} - -PJ_DEF(int) pj_ioqueue_sendto( pj_ioqueue_t *ioque, - pj_ioqueue_key_t *key, - const void *data, - pj_size_t datalen, - const pj_sockaddr_t *addr, - int addrlen) -{ - return -1; -} - -#if PJ_HAS_TCP -/* - * Initiate overlapped accept() operation. - */ -PJ_DEF(int) pj_ioqueue_accept( pj_ioqueue_t *ioqueue, - pj_ioqueue_key_t *key, - pj_sock_t *new_sock, - pj_sockaddr_t *local, - pj_sockaddr_t *remote, - int *addrlen) -{ - return -1; -} - -/* - * Initiate overlapped connect() operation (well, it's non-blocking actually, - * since there's no overlapped version of connect()). - */ -PJ_DEF(pj_status_t) pj_ioqueue_connect( pj_ioqueue_t *ioqueue, - pj_ioqueue_key_t *key, - const pj_sockaddr_t *addr, - int addrlen ) -{ - return -1; -} -#endif /* PJ_HAS_TCP */ - diff --git a/res/pjproject/pjlib/src/pj/ioqueue_select.c b/res/pjproject/pjlib/src/pj/ioqueue_select.c deleted file mode 100644 index 603b7ee8f6..0000000000 --- a/res/pjproject/pjlib/src/pj/ioqueue_select.c +++ /dev/null @@ -1,926 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * sock_select.c - * - * This is the implementation of IOQueue using pj_sock_select(). - * It runs anywhere where pj_sock_select() is available (currently - * Win32, Linux, Linux kernel, etc.). - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* Now that we have access to OS'es , lets check again that - * PJ_IOQUEUE_MAX_HANDLES is not greater than FD_SETSIZE - */ -#if PJ_IOQUEUE_MAX_HANDLES > FD_SETSIZE -# error "PJ_IOQUEUE_MAX_HANDLES cannot be greater than FD_SETSIZE" -#endif - - -/* - * Include declaration from common abstraction. - */ -#include "ioqueue_common_abs.h" - -/* - * ISSUES with ioqueue_select() - * - * EAGAIN/EWOULDBLOCK error in recv(): - * - when multiple threads are working with the ioqueue, application - * may receive EAGAIN or EWOULDBLOCK in the receive callback. - * This error happens because more than one thread is watching for - * the same descriptor set, so when all of them call recv() or recvfrom() - * simultaneously, only one will succeed and the rest will get the error. - * - */ -#define THIS_FILE "ioq_select" - -/* - * The select ioqueue relies on socket functions (pj_sock_xxx()) to return - * the correct error code. - */ -#if PJ_RETURN_OS_ERROR(100) != PJ_STATUS_FROM_OS(100) -# error "Error reporting must be enabled for this function to work!" -#endif - -/* - * During debugging build, VALIDATE_FD_SET is set. - * This will check the validity of the fd_sets. - */ -/* -#if defined(PJ_DEBUG) && PJ_DEBUG != 0 -# define VALIDATE_FD_SET 1 -#else -# define VALIDATE_FD_SET 0 -#endif -*/ -#define VALIDATE_FD_SET 0 - -#if 0 -# define TRACE__(args) PJ_LOG(3,args) -#else -# define TRACE__(args) -#endif - -/* - * This describes each key. - */ -struct pj_ioqueue_key_t -{ - DECLARE_COMMON_KEY -}; - -/* - * This describes the I/O queue itself. - */ -struct pj_ioqueue_t -{ - DECLARE_COMMON_IOQUEUE - - unsigned max, count; /* Max and current key count */ - int nfds; /* The largest fd value (for select)*/ - pj_ioqueue_key_t active_list; /* List of active keys. */ - pj_fd_set_t rfdset; - pj_fd_set_t wfdset; -#if PJ_HAS_TCP - pj_fd_set_t xfdset; -#endif - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - pj_mutex_t *ref_cnt_mutex; - pj_ioqueue_key_t closing_list; - pj_ioqueue_key_t free_list; -#endif -}; - -/* Proto */ -#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ - PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 -static pj_status_t replace_udp_sock(pj_ioqueue_key_t *h); -#endif - -/* Include implementation for common abstraction after we declare - * pj_ioqueue_key_t and pj_ioqueue_t. - */ -#include "ioqueue_common_abs.c" - -#if PJ_IOQUEUE_HAS_SAFE_UNREG -/* Scan closing keys to be put to free list again */ -static void scan_closing_keys(pj_ioqueue_t *ioqueue); -#endif - -/* - * pj_ioqueue_name() - */ -PJ_DEF(const char*) pj_ioqueue_name(void) -{ - return "select"; -} - -/* - * Scan the socket descriptor sets for the largest descriptor. - * This value is needed by select(). - */ -#if defined(PJ_SELECT_NEEDS_NFDS) && PJ_SELECT_NEEDS_NFDS!=0 -static void rescan_fdset(pj_ioqueue_t *ioqueue) -{ - pj_ioqueue_key_t *key = ioqueue->active_list.next; - int max = 0; - - while (key != &ioqueue->active_list) { - if (key->fd > max) - max = key->fd; - key = key->next; - } - - ioqueue->nfds = max; -} -#else -static void rescan_fdset(pj_ioqueue_t *ioqueue) -{ - ioqueue->nfds = FD_SETSIZE-1; -} -#endif - - -/* - * pj_ioqueue_create() - * - * Create select ioqueue. - */ -PJ_DEF(pj_status_t) pj_ioqueue_create( pj_pool_t *pool, - pj_size_t max_fd, - pj_ioqueue_t **p_ioqueue) -{ - pj_ioqueue_t *ioqueue; - pj_lock_t *lock; - unsigned i; - pj_status_t rc; - - /* Check that arguments are valid. */ - PJ_ASSERT_RETURN(pool != NULL && p_ioqueue != NULL && - max_fd > 0 && max_fd <= PJ_IOQUEUE_MAX_HANDLES, - PJ_EINVAL); - - /* Check that size of pj_ioqueue_op_key_t is sufficient */ - PJ_ASSERT_RETURN(sizeof(pj_ioqueue_op_key_t)-sizeof(void*) >= - sizeof(union operation_key), PJ_EBUG); - - /* Create and init common ioqueue stuffs */ - ioqueue = PJ_POOL_ALLOC_T(pool, pj_ioqueue_t); - ioqueue_init(ioqueue); - - ioqueue->max = max_fd; - ioqueue->count = 0; - PJ_FD_ZERO(&ioqueue->rfdset); - PJ_FD_ZERO(&ioqueue->wfdset); -#if PJ_HAS_TCP - PJ_FD_ZERO(&ioqueue->xfdset); -#endif - pj_list_init(&ioqueue->active_list); - - rescan_fdset(ioqueue); - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - /* When safe unregistration is used (the default), we pre-create - * all keys and put them in the free list. - */ - - /* Mutex to protect key's reference counter - * We don't want to use key's mutex or ioqueue's mutex because - * that would create deadlock situation in some cases. - */ - rc = pj_mutex_create_simple(pool, NULL, &ioqueue->ref_cnt_mutex); - if (rc != PJ_SUCCESS) - return rc; - - - /* Init key list */ - pj_list_init(&ioqueue->free_list); - pj_list_init(&ioqueue->closing_list); - - - /* Pre-create all keys according to max_fd */ - for (i=0; iref_count = 0; - rc = pj_mutex_create_recursive(pool, NULL, &key->mutex); - if (rc != PJ_SUCCESS) { - key = ioqueue->free_list.next; - while (key != &ioqueue->free_list) { - pj_mutex_destroy(key->mutex); - key = key->next; - } - pj_mutex_destroy(ioqueue->ref_cnt_mutex); - return rc; - } - - pj_list_push_back(&ioqueue->free_list, key); - } -#endif - - /* Create and init ioqueue mutex */ - rc = pj_lock_create_simple_mutex(pool, "ioq%p", &lock); - if (rc != PJ_SUCCESS) - return rc; - - rc = pj_ioqueue_set_lock(ioqueue, lock, PJ_TRUE); - if (rc != PJ_SUCCESS) - return rc; - - PJ_LOG(4, ("pjlib", "select() I/O Queue created (%p)", ioqueue)); - - *p_ioqueue = ioqueue; - return PJ_SUCCESS; -} - -/* - * pj_ioqueue_destroy() - * - * Destroy ioqueue. - */ -PJ_DEF(pj_status_t) pj_ioqueue_destroy(pj_ioqueue_t *ioqueue) -{ - pj_ioqueue_key_t *key; - - PJ_ASSERT_RETURN(ioqueue, PJ_EINVAL); - - pj_lock_acquire(ioqueue->lock); - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - /* Destroy reference counters */ - key = ioqueue->active_list.next; - while (key != &ioqueue->active_list) { - pj_mutex_destroy(key->mutex); - key = key->next; - } - - key = ioqueue->closing_list.next; - while (key != &ioqueue->closing_list) { - pj_mutex_destroy(key->mutex); - key = key->next; - } - - key = ioqueue->free_list.next; - while (key != &ioqueue->free_list) { - pj_mutex_destroy(key->mutex); - key = key->next; - } - - pj_mutex_destroy(ioqueue->ref_cnt_mutex); -#endif - - return ioqueue_destroy(ioqueue); -} - - -/* - * pj_ioqueue_register_sock() - * - * Register socket handle to ioqueue. - */ -PJ_DEF(pj_status_t) pj_ioqueue_register_sock( pj_pool_t *pool, - pj_ioqueue_t *ioqueue, - pj_sock_t sock, - void *user_data, - const pj_ioqueue_callback *cb, - pj_ioqueue_key_t **p_key) -{ - pj_ioqueue_key_t *key = NULL; -#if defined(PJ_WIN32) && PJ_WIN32!=0 || \ - defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0 - u_long value; -#else - pj_uint32_t value; -#endif - pj_status_t rc = PJ_SUCCESS; - - PJ_ASSERT_RETURN(pool && ioqueue && sock != PJ_INVALID_SOCKET && - cb && p_key, PJ_EINVAL); - - pj_lock_acquire(ioqueue->lock); - - if (ioqueue->count >= ioqueue->max) { - rc = PJ_ETOOMANY; - goto on_return; - } - - /* If safe unregistration (PJ_IOQUEUE_HAS_SAFE_UNREG) is used, get - * the key from the free list. Otherwise allocate a new one. - */ -#if PJ_IOQUEUE_HAS_SAFE_UNREG - - /* Scan closing_keys first to let them come back to free_list */ - scan_closing_keys(ioqueue); - - pj_assert(!pj_list_empty(&ioqueue->free_list)); - if (pj_list_empty(&ioqueue->free_list)) { - rc = PJ_ETOOMANY; - goto on_return; - } - - key = ioqueue->free_list.next; - pj_list_erase(key); -#else - key = (pj_ioqueue_key_t*)pj_pool_zalloc(pool, sizeof(pj_ioqueue_key_t)); -#endif - - rc = ioqueue_init_key(pool, ioqueue, key, sock, user_data, cb); - if (rc != PJ_SUCCESS) { - key = NULL; - goto on_return; - } - - /* Set socket to nonblocking. */ - value = 1; -#if defined(PJ_WIN32) && PJ_WIN32!=0 || \ - defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0 - if (ioctlsocket(sock, FIONBIO, &value)) { -#else - if (ioctl(sock, FIONBIO, &value)) { -#endif - rc = pj_get_netos_error(); - goto on_return; - } - - - /* Put in active list. */ - pj_list_insert_before(&ioqueue->active_list, key); - ++ioqueue->count; - - /* Rescan fdset to get max descriptor */ - rescan_fdset(ioqueue); - -on_return: - /* On error, socket may be left in non-blocking mode. */ - *p_key = key; - pj_lock_release(ioqueue->lock); - - return rc; -} - -#if PJ_IOQUEUE_HAS_SAFE_UNREG -/* Increment key's reference counter */ -static void increment_counter(pj_ioqueue_key_t *key) -{ - pj_mutex_lock(key->ioqueue->ref_cnt_mutex); - ++key->ref_count; - pj_mutex_unlock(key->ioqueue->ref_cnt_mutex); -} - -/* Decrement the key's reference counter, and when the counter reach zero, - * destroy the key. - * - * Note: MUST NOT CALL THIS FUNCTION WHILE HOLDING ioqueue's LOCK. - */ -static void decrement_counter(pj_ioqueue_key_t *key) -{ - pj_lock_acquire(key->ioqueue->lock); - pj_mutex_lock(key->ioqueue->ref_cnt_mutex); - --key->ref_count; - if (key->ref_count == 0) { - - pj_assert(key->closing == 1); - pj_gettickcount(&key->free_time); - key->free_time.msec += PJ_IOQUEUE_KEY_FREE_DELAY; - pj_time_val_normalize(&key->free_time); - - pj_list_erase(key); - pj_list_push_back(&key->ioqueue->closing_list, key); - /* Rescan fdset to get max descriptor */ - rescan_fdset(key->ioqueue); - } - pj_mutex_unlock(key->ioqueue->ref_cnt_mutex); - pj_lock_release(key->ioqueue->lock); -} -#endif - - -/* - * pj_ioqueue_unregister() - * - * Unregister handle from ioqueue. - */ -PJ_DEF(pj_status_t) pj_ioqueue_unregister( pj_ioqueue_key_t *key) -{ - pj_ioqueue_t *ioqueue; - - PJ_ASSERT_RETURN(key, PJ_EINVAL); - - ioqueue = key->ioqueue; - - /* Lock the key to make sure no callback is simultaneously modifying - * the key. We need to lock the key before ioqueue here to prevent - * deadlock. - */ - pj_mutex_lock(key->mutex); - - /* Also lock ioqueue */ - pj_lock_acquire(ioqueue->lock); - - pj_assert(ioqueue->count > 0); - --ioqueue->count; -#if !PJ_IOQUEUE_HAS_SAFE_UNREG - /* Ticket #520, key will be erased more than once */ - pj_list_erase(key); -#endif - PJ_FD_CLR(key->fd, &ioqueue->rfdset); - PJ_FD_CLR(key->fd, &ioqueue->wfdset); -#if PJ_HAS_TCP - PJ_FD_CLR(key->fd, &ioqueue->xfdset); -#endif - - /* Close socket. */ - pj_sock_close(key->fd); - - /* Clear callback */ - key->cb.on_accept_complete = NULL; - key->cb.on_connect_complete = NULL; - key->cb.on_read_complete = NULL; - key->cb.on_write_complete = NULL; - - /* Must release ioqueue lock first before decrementing counter, to - * prevent deadlock. - */ - pj_lock_release(ioqueue->lock); - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - /* Mark key is closing. */ - key->closing = 1; - - /* Decrement counter. */ - decrement_counter(key); - - /* Done. */ - pj_mutex_unlock(key->mutex); -#else - pj_mutex_destroy(key->mutex); -#endif - - return PJ_SUCCESS; -} - - -/* This supposed to check whether the fd_set values are consistent - * with the operation currently set in each key. - */ -#if VALIDATE_FD_SET -static void validate_sets(const pj_ioqueue_t *ioqueue, - const pj_fd_set_t *rfdset, - const pj_fd_set_t *wfdset, - const pj_fd_set_t *xfdset) -{ - pj_ioqueue_key_t *key; - - /* - * This basicly would not work anymore. - * We need to lock key before performing the check, but we can't do - * so because we're holding ioqueue mutex. If we acquire key's mutex - * now, the will cause deadlock. - */ - pj_assert(0); - - key = ioqueue->active_list.next; - while (key != &ioqueue->active_list) { - if (!pj_list_empty(&key->read_list) -#if defined(PJ_HAS_TCP) && PJ_HAS_TCP != 0 - || !pj_list_empty(&key->accept_list) -#endif - ) - { - pj_assert(PJ_FD_ISSET(key->fd, rfdset)); - } - else { - pj_assert(PJ_FD_ISSET(key->fd, rfdset) == 0); - } - if (!pj_list_empty(&key->write_list) -#if defined(PJ_HAS_TCP) && PJ_HAS_TCP != 0 - || key->connecting -#endif - ) - { - pj_assert(PJ_FD_ISSET(key->fd, wfdset)); - } - else { - pj_assert(PJ_FD_ISSET(key->fd, wfdset) == 0); - } -#if defined(PJ_HAS_TCP) && PJ_HAS_TCP != 0 - if (key->connecting) - { - pj_assert(PJ_FD_ISSET(key->fd, xfdset)); - } - else { - pj_assert(PJ_FD_ISSET(key->fd, xfdset) == 0); - } -#endif /* PJ_HAS_TCP */ - - key = key->next; - } -} -#endif /* VALIDATE_FD_SET */ - - -/* ioqueue_remove_from_set() - * This function is called from ioqueue_dispatch_event() to instruct - * the ioqueue to remove the specified descriptor from ioqueue's descriptor - * set for the specified event. - */ -static void ioqueue_remove_from_set( pj_ioqueue_t *ioqueue, - pj_ioqueue_key_t *key, - enum ioqueue_event_type event_type) -{ - pj_lock_acquire(ioqueue->lock); - - if (event_type == READABLE_EVENT) - PJ_FD_CLR((pj_sock_t)key->fd, &ioqueue->rfdset); - else if (event_type == WRITEABLE_EVENT) - PJ_FD_CLR((pj_sock_t)key->fd, &ioqueue->wfdset); -#if defined(PJ_HAS_TCP) && PJ_HAS_TCP!=0 - else if (event_type == EXCEPTION_EVENT) - PJ_FD_CLR((pj_sock_t)key->fd, &ioqueue->xfdset); -#endif - else - pj_assert(0); - - pj_lock_release(ioqueue->lock); -} - -/* - * ioqueue_add_to_set() - * This function is called from pj_ioqueue_recv(), pj_ioqueue_send() etc - * to instruct the ioqueue to add the specified handle to ioqueue's descriptor - * set for the specified event. - */ -static void ioqueue_add_to_set( pj_ioqueue_t *ioqueue, - pj_ioqueue_key_t *key, - enum ioqueue_event_type event_type ) -{ - pj_lock_acquire(ioqueue->lock); - - if (event_type == READABLE_EVENT) - PJ_FD_SET((pj_sock_t)key->fd, &ioqueue->rfdset); - else if (event_type == WRITEABLE_EVENT) - PJ_FD_SET((pj_sock_t)key->fd, &ioqueue->wfdset); -#if defined(PJ_HAS_TCP) && PJ_HAS_TCP!=0 - else if (event_type == EXCEPTION_EVENT) - PJ_FD_SET((pj_sock_t)key->fd, &ioqueue->xfdset); -#endif - else - pj_assert(0); - - pj_lock_release(ioqueue->lock); -} - -#if PJ_IOQUEUE_HAS_SAFE_UNREG -/* Scan closing keys to be put to free list again */ -static void scan_closing_keys(pj_ioqueue_t *ioqueue) -{ - pj_time_val now; - pj_ioqueue_key_t *h; - - pj_gettickcount(&now); - h = ioqueue->closing_list.next; - while (h != &ioqueue->closing_list) { - pj_ioqueue_key_t *next = h->next; - - pj_assert(h->closing != 0); - - if (PJ_TIME_VAL_GTE(now, h->free_time)) { - pj_list_erase(h); - pj_list_push_back(&ioqueue->free_list, h); - } - h = next; - } -} -#endif - -#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ - PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 -static pj_status_t replace_udp_sock(pj_ioqueue_key_t *h) -{ - enum flags { - HAS_PEER_ADDR = 1, - HAS_QOS = 2 - }; - pj_sock_t old_sock, new_sock = PJ_INVALID_SOCKET; - pj_sockaddr local_addr, rem_addr; - int val, addr_len; - pj_fd_set_t *fds[3]; - unsigned i, fds_cnt, flags=0; - pj_qos_params qos_params; - unsigned msec; - pj_status_t status; - - pj_lock_acquire(h->ioqueue->lock); - - old_sock = h->fd; - - /* Can only replace UDP socket */ - pj_assert(h->fd_type == pj_SOCK_DGRAM()); - - PJ_LOG(4,(THIS_FILE, "Attempting to replace UDP socket %d", old_sock)); - - /* Investigate the old socket */ - addr_len = sizeof(local_addr); - status = pj_sock_getsockname(old_sock, &local_addr, &addr_len); - if (status != PJ_SUCCESS) - goto on_error; - - addr_len = sizeof(rem_addr); - status = pj_sock_getpeername(old_sock, &rem_addr, &addr_len); - if (status == PJ_SUCCESS) - flags |= HAS_PEER_ADDR; - - status = pj_sock_get_qos_params(old_sock, &qos_params); - if (status == PJ_SUCCESS) - flags |= HAS_QOS; - - /* We're done with the old socket, close it otherwise we'll get - * error in bind() - */ - pj_sock_close(old_sock); - - /* Prepare the new socket */ - status = pj_sock_socket(local_addr.addr.sa_family, PJ_SOCK_DGRAM, 0, - &new_sock); - if (status != PJ_SUCCESS) - goto on_error; - - /* Even after the socket is closed, we'll still get "Address in use" - * errors, so force it with SO_REUSEADDR - */ - val = 1; - status = pj_sock_setsockopt(new_sock, SOL_SOCKET, SO_REUSEADDR, - &val, sizeof(val)); - if (status != PJ_SUCCESS) - goto on_error; - - /* The loop is silly, but what else can we do? */ - addr_len = pj_sockaddr_get_len(&local_addr); - for (msec=20; ; msec<1000? msec=msec*2 : 1000) { - status = pj_sock_bind(new_sock, &local_addr, addr_len); - if (status != PJ_STATUS_FROM_OS(EADDRINUSE)) - break; - PJ_LOG(4,(THIS_FILE, "Address is still in use, retrying..")); - pj_thread_sleep(msec); - } - - if (status != PJ_SUCCESS) - goto on_error; - - if (flags & HAS_QOS) { - status = pj_sock_set_qos_params(new_sock, &qos_params); - if (status != PJ_SUCCESS) - goto on_error; - } - - if (flags & HAS_PEER_ADDR) { - status = pj_sock_connect(new_sock, &rem_addr, addr_len); - if (status != PJ_SUCCESS) - goto on_error; - } - - /* Set socket to nonblocking. */ - val = 1; -#if defined(PJ_WIN32) && PJ_WIN32!=0 || \ - defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0 - if (ioctlsocket(new_sock, FIONBIO, &val)) { -#else - if (ioctl(new_sock, FIONBIO, &val)) { -#endif - status = pj_get_netos_error(); - goto on_error; - } - - /* Replace the occurrence of old socket with new socket in the - * fd sets. - */ - fds_cnt = 0; - fds[fds_cnt++] = &h->ioqueue->rfdset; - fds[fds_cnt++] = &h->ioqueue->wfdset; -#if PJ_HAS_TCP - fds[fds_cnt++] = &h->ioqueue->xfdset; -#endif - - for (i=0; ifd = new_sock; - - PJ_LOG(4,(THIS_FILE, "UDP has been replaced successfully!")); - - pj_lock_release(h->ioqueue->lock); - - return PJ_SUCCESS; - -on_error: - if (new_sock != PJ_INVALID_SOCKET) - pj_sock_close(new_sock); - PJ_PERROR(1,(THIS_FILE, status, "Error replacing socket")); - pj_lock_release(h->ioqueue->lock); - return status; -} -#endif - - -/* - * pj_ioqueue_poll() - * - * Few things worth written: - * - * - we used to do only one callback called per poll, but it didn't go - * very well. The reason is because on some situation, the write - * callback gets called all the time, thus doesn't give the read - * callback to get called. This happens, for example, when user - * submit write operation inside the write callback. - * As the result, we changed the behaviour so that now multiple - * callbacks are called in a single poll. It should be fast too, - * just that we need to be carefull with the ioqueue data structs. - * - * - to guarantee preemptiveness etc, the poll function must strictly - * work on fd_set copy of the ioqueue (not the original one). - */ -PJ_DEF(int) pj_ioqueue_poll( pj_ioqueue_t *ioqueue, const pj_time_val *timeout) -{ - pj_fd_set_t rfdset, wfdset, xfdset; - int count, counter; - pj_ioqueue_key_t *h; - struct event - { - pj_ioqueue_key_t *key; - enum ioqueue_event_type event_type; - } event[PJ_IOQUEUE_MAX_EVENTS_IN_SINGLE_POLL]; - - PJ_ASSERT_RETURN(ioqueue, -PJ_EINVAL); - - /* Lock ioqueue before making fd_set copies */ - pj_lock_acquire(ioqueue->lock); - - /* We will only do select() when there are sockets to be polled. - * Otherwise select() will return error. - */ - if (PJ_FD_COUNT(&ioqueue->rfdset)==0 && - PJ_FD_COUNT(&ioqueue->wfdset)==0 -#if defined(PJ_HAS_TCP) && PJ_HAS_TCP!=0 - && PJ_FD_COUNT(&ioqueue->xfdset)==0 -#endif - ) - { -#if PJ_IOQUEUE_HAS_SAFE_UNREG - scan_closing_keys(ioqueue); -#endif - pj_lock_release(ioqueue->lock); - TRACE__((THIS_FILE, " poll: no fd is set")); - if (timeout) - pj_thread_sleep(PJ_TIME_VAL_MSEC(*timeout)); - return 0; - } - - /* Copy ioqueue's pj_fd_set_t to local variables. */ - pj_memcpy(&rfdset, &ioqueue->rfdset, sizeof(pj_fd_set_t)); - pj_memcpy(&wfdset, &ioqueue->wfdset, sizeof(pj_fd_set_t)); -#if PJ_HAS_TCP - pj_memcpy(&xfdset, &ioqueue->xfdset, sizeof(pj_fd_set_t)); -#else - PJ_FD_ZERO(&xfdset); -#endif - -#if VALIDATE_FD_SET - validate_sets(ioqueue, &rfdset, &wfdset, &xfdset); -#endif - - /* Unlock ioqueue before select(). */ - pj_lock_release(ioqueue->lock); - - count = pj_sock_select(ioqueue->nfds+1, &rfdset, &wfdset, &xfdset, - timeout); - - if (count == 0) - return 0; - else if (count < 0) - return -pj_get_netos_error(); - else if (count > PJ_IOQUEUE_MAX_EVENTS_IN_SINGLE_POLL) - count = PJ_IOQUEUE_MAX_EVENTS_IN_SINGLE_POLL; - - /* Scan descriptor sets for event and add the events in the event - * array to be processed later in this function. We do this so that - * events can be processed in parallel without holding ioqueue lock. - */ - pj_lock_acquire(ioqueue->lock); - - counter = 0; - - /* Scan for writable sockets first to handle piggy-back data - * coming with accept(). - */ - h = ioqueue->active_list.next; - for ( ; h!=&ioqueue->active_list && counternext) { - - if ( (key_has_pending_write(h) || key_has_pending_connect(h)) - && PJ_FD_ISSET(h->fd, &wfdset) && !IS_CLOSING(h)) - { -#if PJ_IOQUEUE_HAS_SAFE_UNREG - increment_counter(h); -#endif - event[counter].key = h; - event[counter].event_type = WRITEABLE_EVENT; - ++counter; - } - - /* Scan for readable socket. */ - if ((key_has_pending_read(h) || key_has_pending_accept(h)) - && PJ_FD_ISSET(h->fd, &rfdset) && !IS_CLOSING(h) && - counterfd, &xfdset) && - !IS_CLOSING(h) && counterlock); - - count = counter; - - /* Now process all events. The dispatch functions will take care - * of locking in each of the key - */ - for (counter=0; counter - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include - -#include "os_symbian.h" - -class CIoqueueCallback; - -/* - * IO Queue structure. - */ -struct pj_ioqueue_t -{ - int eventCount; -}; - - -///////////////////////////////////////////////////////////////////////////// -// Class to encapsulate asynchronous socket operation. -// -class CIoqueueCallback : public CActive -{ -public: - static CIoqueueCallback* NewL(pj_ioqueue_t *ioqueue, - pj_ioqueue_key_t *key, - pj_sock_t sock, - const pj_ioqueue_callback *cb, - void *user_data); - - // - // Start asynchronous recv() operation - // - pj_status_t StartRead(pj_ioqueue_op_key_t *op_key, - void *buf, pj_ssize_t *size, unsigned flags, - pj_sockaddr_t *addr, int *addrlen); - - // - // Start asynchronous accept() operation. - // - pj_status_t StartAccept(pj_ioqueue_op_key_t *op_key, - pj_sock_t *new_sock, - pj_sockaddr_t *local, - pj_sockaddr_t *remote, - int *addrlen ); - - // - // Completion callback. - // - void RunL(); - - // - // CActive's DoCancel() - // - void DoCancel(); - - // - // Cancel operation and call callback. - // - void CancelOperation(pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_status); - - // - // Accessors - // - void* get_user_data() const - { - return user_data_; - } - void set_user_data(void *user_data) - { - user_data_ = user_data; - } - pj_ioqueue_op_key_t *get_op_key() const - { - return pending_data_.common_.op_key_; - } - CPjSocket* get_pj_socket() - { - return sock_; - } - -private: - // Type of pending operation. - enum Type { - TYPE_NONE, - TYPE_READ, - TYPE_ACCEPT, - }; - - // Static data. - pj_ioqueue_t *ioqueue_; - pj_ioqueue_key_t *key_; - CPjSocket *sock_; - pj_ioqueue_callback cb_; - void *user_data_; - - // Symbian data. - TPtr8 aBufferPtr_; - TInetAddr aAddress_; - - // Application data. - Type type_; - - union Pending_Data - { - struct Common - { - pj_ioqueue_op_key_t *op_key_; - } common_; - - struct Pending_Read - { - pj_ioqueue_op_key_t *op_key_; - pj_sockaddr_t *addr_; - int *addrlen_; - } read_; - - struct Pending_Accept - { - pj_ioqueue_op_key_t *op_key_; - pj_sock_t *new_sock_; - pj_sockaddr_t *local_; - pj_sockaddr_t *remote_; - int *addrlen_; - } accept_; - }; - - union Pending_Data pending_data_; - RSocket blank_sock_; - - CIoqueueCallback(pj_ioqueue_t *ioqueue, - pj_ioqueue_key_t *key, pj_sock_t sock, - const pj_ioqueue_callback *cb, void *user_data) - : CActive(CActive::EPriorityStandard), - ioqueue_(ioqueue), key_(key), sock_((CPjSocket*)sock), - user_data_(user_data), aBufferPtr_(NULL, 0), type_(TYPE_NONE) - { - pj_memcpy(&cb_, cb, sizeof(*cb)); - } - - - void ConstructL() - { - CActiveScheduler::Add(this); - } - - void HandleReadCompletion(); - CPjSocket *HandleAcceptCompletion(); -}; - - -CIoqueueCallback* CIoqueueCallback::NewL(pj_ioqueue_t *ioqueue, - pj_ioqueue_key_t *key, - pj_sock_t sock, - const pj_ioqueue_callback *cb, - void *user_data) -{ - CIoqueueCallback *self = new CIoqueueCallback(ioqueue, key, sock, - cb, user_data); - CleanupStack::PushL(self); - self->ConstructL(); - CleanupStack::Pop(self); - - return self; -} - - -// -// Start asynchronous recv() operation -// -pj_status_t CIoqueueCallback::StartRead(pj_ioqueue_op_key_t *op_key, - void *buf, pj_ssize_t *size, - unsigned flags, - pj_sockaddr_t *addr, int *addrlen) -{ - PJ_ASSERT_RETURN(IsActive()==false, PJ_EBUSY); - PJ_ASSERT_RETURN(pending_data_.common_.op_key_==NULL, PJ_EBUSY); - - flags &= ~PJ_IOQUEUE_ALWAYS_ASYNC; - - pending_data_.read_.op_key_ = op_key; - pending_data_.read_.addr_ = addr; - pending_data_.read_.addrlen_ = addrlen; - - aBufferPtr_.Set((TUint8*)buf, 0, (TInt)*size); - - type_ = TYPE_READ; - if (addr && addrlen) { - sock_->Socket().RecvFrom(aBufferPtr_, aAddress_, flags, iStatus); - } else { - aAddress_.SetAddress(0); - aAddress_.SetPort(0); - - if (sock_->IsDatagram()) { - sock_->Socket().Recv(aBufferPtr_, flags, iStatus); - } else { - // Using static like this is not pretty, but we don't need to use - // the value anyway, hence doing it like this is probably most - // optimal. - static TSockXfrLength len; - sock_->Socket().RecvOneOrMore(aBufferPtr_, flags, iStatus, len); - } - } - - SetActive(); - return PJ_EPENDING; -} - - -// -// Start asynchronous accept() operation. -// -pj_status_t CIoqueueCallback::StartAccept(pj_ioqueue_op_key_t *op_key, - pj_sock_t *new_sock, - pj_sockaddr_t *local, - pj_sockaddr_t *remote, - int *addrlen ) -{ - PJ_ASSERT_RETURN(IsActive()==false, PJ_EBUSY); - PJ_ASSERT_RETURN(pending_data_.common_.op_key_==NULL, PJ_EBUSY); - - // addrlen must be specified if local or remote is specified - PJ_ASSERT_RETURN((!local && !remote) || - (addrlen && *addrlen), PJ_EINVAL); - - pending_data_.accept_.op_key_ = op_key; - pending_data_.accept_.new_sock_ = new_sock; - pending_data_.accept_.local_ = local; - pending_data_.accept_.remote_ = remote; - pending_data_.accept_.addrlen_ = addrlen; - - // Create blank socket - blank_sock_.Open(PjSymbianOS::Instance()->SocketServ()); - - type_ = TYPE_ACCEPT; - sock_->Socket().Accept(blank_sock_, iStatus); - - SetActive(); - return PJ_EPENDING; -} - - -// -// Handle asynchronous RecvFrom() completion -// -void CIoqueueCallback::HandleReadCompletion() -{ - if (pending_data_.read_.addr_ && pending_data_.read_.addrlen_) { - PjSymbianOS::Addr2pj(aAddress_, - *(pj_sockaddr*)pending_data_.read_.addr_, - pending_data_.read_.addrlen_); - pending_data_.read_.addr_ = NULL; - pending_data_.read_.addrlen_ = NULL; - } - - pending_data_.read_.op_key_ = NULL; -} - - -// -// Handle asynchronous Accept() completion. -// -CPjSocket *CIoqueueCallback::HandleAcceptCompletion() -{ - CPjSocket *pjNewSock = new CPjSocket(get_pj_socket()->GetAf(), - get_pj_socket()->GetSockType(), - blank_sock_); - int addrlen = 0; - - if (pending_data_.accept_.new_sock_) { - *pending_data_.accept_.new_sock_ = (pj_sock_t)pjNewSock; - pending_data_.accept_.new_sock_ = NULL; - } - - if (pending_data_.accept_.local_) { - TInetAddr aAddr; - pj_sockaddr *ptr_sockaddr; - - blank_sock_.LocalName(aAddr); - ptr_sockaddr = (pj_sockaddr*)pending_data_.accept_.local_; - addrlen = *pending_data_.accept_.addrlen_; - PjSymbianOS::Addr2pj(aAddr, *ptr_sockaddr, &addrlen); - pending_data_.accept_.local_ = NULL; - } - - if (pending_data_.accept_.remote_) { - TInetAddr aAddr; - pj_sockaddr *ptr_sockaddr; - - blank_sock_.RemoteName(aAddr); - ptr_sockaddr = (pj_sockaddr*)pending_data_.accept_.remote_; - addrlen = *pending_data_.accept_.addrlen_; - PjSymbianOS::Addr2pj(aAddr, *ptr_sockaddr, &addrlen); - pending_data_.accept_.remote_ = NULL; - } - - if (pending_data_.accept_.addrlen_) { - if (addrlen == 0) { - if (pjNewSock->GetAf() == PJ_AF_INET) - addrlen = sizeof(pj_sockaddr_in); - else if (pjNewSock->GetAf() == PJ_AF_INET6) - addrlen = sizeof(pj_sockaddr_in6); - else { - pj_assert(!"Unsupported address family"); - } - } - *pending_data_.accept_.addrlen_ = addrlen; - pending_data_.accept_.addrlen_ = NULL; - } - - return pjNewSock; -} - - -// -// Completion callback. -// -void CIoqueueCallback::RunL() -{ - pj_ioqueue_t *ioq = ioqueue_; - Type cur_type = type_; - - type_ = TYPE_NONE; - - if (cur_type == TYPE_READ) { - // - // Completion of asynchronous RecvFrom() - // - - /* Clear op_key (save it to temp variable first!) */ - pj_ioqueue_op_key_t *op_key = pending_data_.read_.op_key_; - pending_data_.read_.op_key_ = NULL; - - // Handle failure condition - if (iStatus != KErrNone) { - if (cb_.on_read_complete) { - cb_.on_read_complete( key_, op_key, - -PJ_RETURN_OS_ERROR(iStatus.Int())); - } - return; - } - - HandleReadCompletion(); - - /* Call callback */ - if (cb_.on_read_complete) { - cb_.on_read_complete(key_, op_key, aBufferPtr_.Length()); - } - - } else if (cur_type == TYPE_ACCEPT) { - // - // Completion of asynchronous Accept() - // - - /* Clear op_key (save it to temp variable first!) */ - pj_ioqueue_op_key_t *op_key = pending_data_.read_.op_key_; - pending_data_.read_.op_key_ = NULL; - - // Handle failure condition - if (iStatus != KErrNone) { - if (pending_data_.accept_.new_sock_) - *pending_data_.accept_.new_sock_ = PJ_INVALID_SOCKET; - - if (cb_.on_accept_complete) { - cb_.on_accept_complete( key_, op_key, PJ_INVALID_SOCKET, - -PJ_RETURN_OS_ERROR(iStatus.Int())); - } - return; - } - - CPjSocket *pjNewSock = HandleAcceptCompletion(); - - // Call callback. - if (cb_.on_accept_complete) { - cb_.on_accept_complete( key_, op_key, (pj_sock_t)pjNewSock, - PJ_SUCCESS); - } - } - - ioq->eventCount++; -} - -// -// CActive's DoCancel() -// -void CIoqueueCallback::DoCancel() -{ - if (type_ == TYPE_READ) - sock_->Socket().CancelRecv(); - else if (type_ == TYPE_ACCEPT) - sock_->Socket().CancelAccept(); - - type_ = TYPE_NONE; - pending_data_.common_.op_key_ = NULL; -} - -// -// Cancel operation and call callback. -// -void CIoqueueCallback::CancelOperation(pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_status) -{ - Type cur_type = type_; - - pj_assert(op_key == pending_data_.common_.op_key_); - - Cancel(); - - if (cur_type == TYPE_READ) { - if (cb_.on_read_complete) - cb_.on_read_complete(key_, op_key, bytes_status); - } else if (cur_type == TYPE_ACCEPT) - ; -} - - -///////////////////////////////////////////////////////////////////////////// -/* - * IO Queue key structure. - */ -struct pj_ioqueue_key_t -{ - CIoqueueCallback *cbObj; -}; - - -/* - * Return the name of the ioqueue implementation. - */ -PJ_DEF(const char*) pj_ioqueue_name(void) -{ - return "ioqueue-symbian"; -} - - -/* - * Create a new I/O Queue framework. - */ -PJ_DEF(pj_status_t) pj_ioqueue_create( pj_pool_t *pool, - pj_size_t max_fd, - pj_ioqueue_t **p_ioqueue) -{ - pj_ioqueue_t *ioq; - - PJ_UNUSED_ARG(max_fd); - - ioq = PJ_POOL_ZALLOC_T(pool, pj_ioqueue_t); - *p_ioqueue = ioq; - return PJ_SUCCESS; -} - - -/* - * Destroy the I/O queue. - */ -PJ_DEF(pj_status_t) pj_ioqueue_destroy( pj_ioqueue_t *ioq ) -{ - PJ_UNUSED_ARG(ioq); - return PJ_SUCCESS; -} - - -/* - * Set the lock object to be used by the I/O Queue. - */ -PJ_DEF(pj_status_t) pj_ioqueue_set_lock( pj_ioqueue_t *ioq, - pj_lock_t *lock, - pj_bool_t auto_delete ) -{ - /* Don't really need lock for now */ - PJ_UNUSED_ARG(ioq); - - if (auto_delete) { - pj_lock_destroy(lock); - } - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_ioqueue_set_default_concurrency(pj_ioqueue_t *ioqueue, - pj_bool_t allow) -{ - /* Not supported, just return PJ_SUCCESS silently */ - PJ_UNUSED_ARG(ioqueue); - PJ_UNUSED_ARG(allow); - return PJ_SUCCESS; -} - -/* - * Register a socket to the I/O queue framework. - */ -PJ_DEF(pj_status_t) pj_ioqueue_register_sock( pj_pool_t *pool, - pj_ioqueue_t *ioq, - pj_sock_t sock, - void *user_data, - const pj_ioqueue_callback *cb, - pj_ioqueue_key_t **p_key ) -{ - pj_ioqueue_key_t *key; - - key = PJ_POOL_ZALLOC_T(pool, pj_ioqueue_key_t); - key->cbObj = CIoqueueCallback::NewL(ioq, key, sock, cb, user_data); - - *p_key = key; - return PJ_SUCCESS; -} - -/* - * Unregister from the I/O Queue framework. - */ -PJ_DEF(pj_status_t) pj_ioqueue_unregister( pj_ioqueue_key_t *key ) -{ - if (key == NULL || key->cbObj == NULL) - return PJ_SUCCESS; - - // Cancel pending async object - if (key->cbObj) { - key->cbObj->Cancel(); - } - - // Close socket. - key->cbObj->get_pj_socket()->Socket().Close(); - delete key->cbObj->get_pj_socket(); - - // Delete async object. - if (key->cbObj) { - delete key->cbObj; - key->cbObj = NULL; - } - - return PJ_SUCCESS; -} - - -/* - * Get user data associated with an ioqueue key. - */ -PJ_DEF(void*) pj_ioqueue_get_user_data( pj_ioqueue_key_t *key ) -{ - return key->cbObj->get_user_data(); -} - - -/* - * Set or change the user data to be associated with the file descriptor or - * handle or socket descriptor. - */ -PJ_DEF(pj_status_t) pj_ioqueue_set_user_data( pj_ioqueue_key_t *key, - void *user_data, - void **old_data) -{ - if (old_data) - *old_data = key->cbObj->get_user_data(); - key->cbObj->set_user_data(user_data); - - return PJ_SUCCESS; -} - - -/* - * Initialize operation key. - */ -PJ_DEF(void) pj_ioqueue_op_key_init( pj_ioqueue_op_key_t *op_key, - pj_size_t size ) -{ - pj_bzero(op_key, size); -} - - -/* - * Check if operation is pending on the specified operation key. - */ -PJ_DEF(pj_bool_t) pj_ioqueue_is_pending( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key ) -{ - return key->cbObj->get_op_key()==op_key && - key->cbObj->IsActive(); -} - - -/* - * Post completion status to the specified operation key and call the - * appropriate callback. - */ -PJ_DEF(pj_status_t) pj_ioqueue_post_completion( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_status ) -{ - if (pj_ioqueue_is_pending(key, op_key)) { - key->cbObj->CancelOperation(op_key, bytes_status); - } - return PJ_SUCCESS; -} - - -#if defined(PJ_HAS_TCP) && PJ_HAS_TCP != 0 -/** - * Instruct I/O Queue to accept incoming connection on the specified - * listening socket. - */ -PJ_DEF(pj_status_t) pj_ioqueue_accept( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_sock_t *new_sock, - pj_sockaddr_t *local, - pj_sockaddr_t *remote, - int *addrlen ) -{ - - return key->cbObj->StartAccept(op_key, new_sock, local, remote, addrlen); -} - - -/* - * Initiate non-blocking socket connect. - */ -PJ_DEF(pj_status_t) pj_ioqueue_connect( pj_ioqueue_key_t *key, - const pj_sockaddr_t *addr, - int addrlen ) -{ - pj_status_t status; - - RSocket &rSock = key->cbObj->get_pj_socket()->Socket(); - TInetAddr inetAddr; - TRequestStatus reqStatus; - - // Return failure if access point is marked as down by app. - PJ_SYMBIAN_CHECK_CONNECTION(); - - // Convert address - status = PjSymbianOS::pj2Addr(*(const pj_sockaddr*)addr, addrlen, - inetAddr); - if (status != PJ_SUCCESS) - return status; - - // We don't support async connect for now. - PJ_TODO(IOQUEUE_SUPPORT_ASYNC_CONNECT); - - rSock.Connect(inetAddr, reqStatus); - User::WaitForRequest(reqStatus); - - if (reqStatus == KErrNone) - return PJ_SUCCESS; - - return PJ_RETURN_OS_ERROR(reqStatus.Int()); -} - - -#endif /* PJ_HAS_TCP */ - -/* - * Poll the I/O Queue for completed events. - */ -PJ_DEF(int) pj_ioqueue_poll( pj_ioqueue_t *ioq, - const pj_time_val *timeout) -{ - /* Polling is not necessary on Symbian, since all async activities - * are registered to active scheduler. - */ - PJ_UNUSED_ARG(ioq); - PJ_UNUSED_ARG(timeout); - return 0; -} - - -/* - * Instruct the I/O Queue to read from the specified handle. - */ -PJ_DEF(pj_status_t) pj_ioqueue_recv( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - void *buffer, - pj_ssize_t *length, - pj_uint32_t flags ) -{ - // If socket has reader, delete it. - if (key->cbObj->get_pj_socket()->Reader()) - key->cbObj->get_pj_socket()->DestroyReader(); - - // Clear flag - flags &= ~PJ_IOQUEUE_ALWAYS_ASYNC; - return key->cbObj->StartRead(op_key, buffer, length, flags, NULL, NULL); -} - - -/* - * This function behaves similarly as #pj_ioqueue_recv(), except that it is - * normally called for socket, and the remote address will also be returned - * along with the data. - */ -PJ_DEF(pj_status_t) pj_ioqueue_recvfrom( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - void *buffer, - pj_ssize_t *length, - pj_uint32_t flags, - pj_sockaddr_t *addr, - int *addrlen) -{ - CPjSocket *sock = key->cbObj->get_pj_socket(); - - // If address is specified, check that the length match the - // address family - if (addr || addrlen) { - PJ_ASSERT_RETURN(addr && addrlen && *addrlen, PJ_EINVAL); - if (sock->GetAf() == PJ_AF_INET) { - PJ_ASSERT_RETURN(*addrlen>=(int)sizeof(pj_sockaddr_in), PJ_EINVAL); - } else if (sock->GetAf() == PJ_AF_INET6) { - PJ_ASSERT_RETURN(*addrlen>=(int)sizeof(pj_sockaddr_in6), PJ_EINVAL); - } - } - - // If socket has reader, delete it. - if (sock->Reader()) - sock->DestroyReader(); - - if (key->cbObj->IsActive()) - return PJ_EBUSY; - - // Clear flag - flags &= ~PJ_IOQUEUE_ALWAYS_ASYNC; - return key->cbObj->StartRead(op_key, buffer, length, flags, addr, addrlen); -} - - -/* - * Instruct the I/O Queue to write to the handle. - */ -PJ_DEF(pj_status_t) pj_ioqueue_send( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - const void *data, - pj_ssize_t *length, - pj_uint32_t flags ) -{ - TRequestStatus reqStatus; - TPtrC8 aBuffer((const TUint8*)data, (TInt)*length); - TSockXfrLength aLen; - - PJ_UNUSED_ARG(op_key); - - // Forcing pending operation is not supported. - PJ_ASSERT_RETURN((flags & PJ_IOQUEUE_ALWAYS_ASYNC)==0, PJ_EINVAL); - - // Return failure if access point is marked as down by app. - PJ_SYMBIAN_CHECK_CONNECTION(); - - // Clear flag - flags &= ~PJ_IOQUEUE_ALWAYS_ASYNC; - - key->cbObj->get_pj_socket()->Socket().Send(aBuffer, flags, reqStatus, aLen); - User::WaitForRequest(reqStatus); - - if (reqStatus.Int() != KErrNone) - return PJ_RETURN_OS_ERROR(reqStatus.Int()); - - //At least in UIQ Emulator, aLen.Length() reports incorrect length - //for UDP (some newlc.com users seem to have reported this too). - //*length = aLen.Length(); - return PJ_SUCCESS; -} - - -/* - * Instruct the I/O Queue to write to the handle. - */ -PJ_DEF(pj_status_t) pj_ioqueue_sendto( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - const void *data, - pj_ssize_t *length, - pj_uint32_t flags, - const pj_sockaddr_t *addr, - int addrlen) -{ - TRequestStatus reqStatus; - TPtrC8 aBuffer; - TInetAddr inetAddr; - TSockXfrLength aLen; - pj_status_t status; - - PJ_UNUSED_ARG(op_key); - - // Forcing pending operation is not supported. - PJ_ASSERT_RETURN((flags & PJ_IOQUEUE_ALWAYS_ASYNC)==0, PJ_EINVAL); - - // Return failure if access point is marked as down by app. - PJ_SYMBIAN_CHECK_CONNECTION(); - - // Convert address - status = PjSymbianOS::pj2Addr(*(const pj_sockaddr*)addr, addrlen, - inetAddr); - if (status != PJ_SUCCESS) - return status; - - // Clear flag - flags &= ~PJ_IOQUEUE_ALWAYS_ASYNC; - - aBuffer.Set((const TUint8*)data, (TInt)*length); - CPjSocket *pjSock = key->cbObj->get_pj_socket(); - - pjSock->Socket().SendTo(aBuffer, inetAddr, flags, reqStatus, aLen); - User::WaitForRequest(reqStatus); - - if (reqStatus.Int() != KErrNone) - return PJ_RETURN_OS_ERROR(reqStatus.Int()); - - //At least in UIQ Emulator, aLen.Length() reports incorrect length - //for UDP (some newlc.com users seem to have reported this too). - //*length = aLen.Length(); - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_ioqueue_set_concurrency(pj_ioqueue_key_t *key, - pj_bool_t allow) -{ - /* Not supported, just return PJ_SUCCESS silently */ - PJ_UNUSED_ARG(key); - PJ_UNUSED_ARG(allow); - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_ioqueue_lock_key(pj_ioqueue_key_t *key) -{ - /* Not supported, just return PJ_SUCCESS silently */ - PJ_UNUSED_ARG(key); - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_ioqueue_unlock_key(pj_ioqueue_key_t *key) -{ - /* Not supported, just return PJ_SUCCESS silently */ - PJ_UNUSED_ARG(key); - return PJ_SUCCESS; -} diff --git a/res/pjproject/pjlib/src/pj/ioqueue_winnt.c b/res/pjproject/pjlib/src/pj/ioqueue_winnt.c deleted file mode 100644 index 948727c626..0000000000 --- a/res/pjproject/pjlib/src/pj/ioqueue_winnt.c +++ /dev/null @@ -1,1443 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#if defined(PJ_HAS_WINSOCK2_H) && PJ_HAS_WINSOCK2_H != 0 -# include -#elif defined(PJ_HAS_WINSOCK_H) && PJ_HAS_WINSOCK_H != 0 -# include -#endif - -#if defined(PJ_HAS_MSWSOCK_H) && PJ_HAS_MSWSOCK_H != 0 -# include -#endif - - -/* The address specified in AcceptEx() must be 16 more than the size of - * SOCKADDR (source: MSDN). - */ -#define ACCEPT_ADDR_LEN (sizeof(pj_sockaddr_in)+16) - -typedef struct generic_overlapped -{ - WSAOVERLAPPED overlapped; - pj_ioqueue_operation_e operation; -} generic_overlapped; - -/* - * OVERLAPPPED structure for send and receive. - */ -typedef struct ioqueue_overlapped -{ - WSAOVERLAPPED overlapped; - pj_ioqueue_operation_e operation; - WSABUF wsabuf; - pj_sockaddr_in dummy_addr; - int dummy_addrlen; -} ioqueue_overlapped; - -#if PJ_HAS_TCP -/* - * OVERLAP structure for accept. - */ -typedef struct ioqueue_accept_rec -{ - WSAOVERLAPPED overlapped; - pj_ioqueue_operation_e operation; - pj_sock_t newsock; - pj_sock_t *newsock_ptr; - int *addrlen; - void *remote; - void *local; - char accept_buf[2 * ACCEPT_ADDR_LEN]; -} ioqueue_accept_rec; -#endif - -/* - * Structure to hold pending operation key. - */ -union operation_key -{ - generic_overlapped generic; - ioqueue_overlapped overlapped; -#if PJ_HAS_TCP - ioqueue_accept_rec accept; -#endif -}; - -/* Type of handle in the key. */ -enum handle_type -{ - HND_IS_UNKNOWN, - HND_IS_FILE, - HND_IS_SOCKET, -}; - -enum { POST_QUIT_LEN = 0xFFFFDEADUL }; - -/* - * Structure for individual socket. - */ -struct pj_ioqueue_key_t -{ - PJ_DECL_LIST_MEMBER(struct pj_ioqueue_key_t); - - pj_ioqueue_t *ioqueue; - HANDLE hnd; - void *user_data; - enum handle_type hnd_type; - pj_ioqueue_callback cb; - pj_bool_t allow_concurrent; - -#if PJ_HAS_TCP - int connecting; -#endif - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - pj_atomic_t *ref_count; - pj_bool_t closing; - pj_time_val free_time; - pj_mutex_t *mutex; -#endif - -}; - -/* - * IO Queue structure. - */ -struct pj_ioqueue_t -{ - HANDLE iocp; - pj_lock_t *lock; - pj_bool_t auto_delete_lock; - pj_bool_t default_concurrency; - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - pj_ioqueue_key_t active_list; - pj_ioqueue_key_t free_list; - pj_ioqueue_key_t closing_list; -#endif - - /* These are to keep track of connecting sockets */ -#if PJ_HAS_TCP - unsigned event_count; - HANDLE event_pool[MAXIMUM_WAIT_OBJECTS+1]; - unsigned connecting_count; - HANDLE connecting_handles[MAXIMUM_WAIT_OBJECTS+1]; - pj_ioqueue_key_t *connecting_keys[MAXIMUM_WAIT_OBJECTS+1]; -#endif -}; - - -#if PJ_IOQUEUE_HAS_SAFE_UNREG -/* Prototype */ -static void scan_closing_keys(pj_ioqueue_t *ioqueue); -#endif - - -#if PJ_HAS_TCP -/* - * Process the socket when the overlapped accept() completed. - */ -static void ioqueue_on_accept_complete(pj_ioqueue_key_t *key, - ioqueue_accept_rec *accept_overlapped) -{ - struct sockaddr *local; - struct sockaddr *remote; - int locallen, remotelen; - pj_status_t status; - - PJ_CHECK_STACK(); - - /* On WinXP or later, use SO_UPDATE_ACCEPT_CONTEXT so that socket - * addresses can be obtained with getsockname() and getpeername(). - */ - status = setsockopt(accept_overlapped->newsock, SOL_SOCKET, - SO_UPDATE_ACCEPT_CONTEXT, - (char*)&key->hnd, - sizeof(SOCKET)); - /* SO_UPDATE_ACCEPT_CONTEXT is for WinXP or later. - * So ignore the error status. - */ - - /* Operation complete immediately. */ - if (accept_overlapped->addrlen) { - GetAcceptExSockaddrs( accept_overlapped->accept_buf, - 0, - ACCEPT_ADDR_LEN, - ACCEPT_ADDR_LEN, - &local, - &locallen, - &remote, - &remotelen); - if (*accept_overlapped->addrlen >= locallen) { - if (accept_overlapped->local) - pj_memcpy(accept_overlapped->local, local, locallen); - if (accept_overlapped->remote) - pj_memcpy(accept_overlapped->remote, remote, locallen); - } else { - if (accept_overlapped->local) - pj_bzero(accept_overlapped->local, - *accept_overlapped->addrlen); - if (accept_overlapped->remote) - pj_bzero(accept_overlapped->remote, - *accept_overlapped->addrlen); - } - - *accept_overlapped->addrlen = locallen; - } - if (accept_overlapped->newsock_ptr) - *accept_overlapped->newsock_ptr = accept_overlapped->newsock; - accept_overlapped->operation = 0; -} - -static void erase_connecting_socket( pj_ioqueue_t *ioqueue, unsigned pos) -{ - pj_ioqueue_key_t *key = ioqueue->connecting_keys[pos]; - HANDLE hEvent = ioqueue->connecting_handles[pos]; - - /* Remove key from array of connecting handles. */ - pj_array_erase(ioqueue->connecting_keys, sizeof(key), - ioqueue->connecting_count, pos); - pj_array_erase(ioqueue->connecting_handles, sizeof(HANDLE), - ioqueue->connecting_count, pos); - --ioqueue->connecting_count; - - /* Disassociate the socket from the event. */ - WSAEventSelect((pj_sock_t)key->hnd, hEvent, 0); - - /* Put event object to pool. */ - if (ioqueue->event_count < MAXIMUM_WAIT_OBJECTS) { - ioqueue->event_pool[ioqueue->event_count++] = hEvent; - } else { - /* Shouldn't happen. There should be no more pending connections - * than max. - */ - pj_assert(0); - CloseHandle(hEvent); - } - -} - -/* - * Poll for the completion of non-blocking connect(). - * If there's a completion, the function return the key of the completed - * socket, and 'result' argument contains the connect() result. If connect() - * succeeded, 'result' will have value zero, otherwise will have the error - * code. - */ -static int check_connecting( pj_ioqueue_t *ioqueue ) -{ - if (ioqueue->connecting_count) { - int i, count; - struct - { - pj_ioqueue_key_t *key; - pj_status_t status; - } events[PJ_IOQUEUE_MAX_EVENTS_IN_SINGLE_POLL-1]; - - pj_lock_acquire(ioqueue->lock); - for (count=0; countconnecting_count, - ioqueue->connecting_handles, - FALSE, 0); - if (result >= WAIT_OBJECT_0 && - result < WAIT_OBJECT_0+ioqueue->connecting_count) - { - WSANETWORKEVENTS net_events; - - /* Got completed connect(). */ - unsigned pos = result - WAIT_OBJECT_0; - events[count].key = ioqueue->connecting_keys[pos]; - - /* See whether connect has succeeded. */ - WSAEnumNetworkEvents((pj_sock_t)events[count].key->hnd, - ioqueue->connecting_handles[pos], - &net_events); - events[count].status = - PJ_STATUS_FROM_OS(net_events.iErrorCode[FD_CONNECT_BIT]); - - /* Erase socket from pending connect. */ - erase_connecting_socket(ioqueue, pos); - } else { - /* No more events */ - break; - } - } - pj_lock_release(ioqueue->lock); - - /* Call callbacks. */ - for (i=0; icb.on_connect_complete) { - events[i].key->cb.on_connect_complete(events[i].key, - events[i].status); - } - } - - return count; - } - - return 0; - -} -#endif - -/* - * pj_ioqueue_name() - */ -PJ_DEF(const char*) pj_ioqueue_name(void) -{ - return "iocp"; -} - -/* - * pj_ioqueue_create() - */ -PJ_DEF(pj_status_t) pj_ioqueue_create( pj_pool_t *pool, - pj_size_t max_fd, - pj_ioqueue_t **p_ioqueue) -{ - pj_ioqueue_t *ioqueue; - unsigned i; - pj_status_t rc; - - PJ_UNUSED_ARG(max_fd); - PJ_ASSERT_RETURN(pool && p_ioqueue, PJ_EINVAL); - - rc = sizeof(union operation_key); - - /* Check that sizeof(pj_ioqueue_op_key_t) makes sense. */ - PJ_ASSERT_RETURN(sizeof(pj_ioqueue_op_key_t)-sizeof(void*) >= - sizeof(union operation_key), PJ_EBUG); - - /* Create IOCP */ - ioqueue = pj_pool_zalloc(pool, sizeof(*ioqueue)); - ioqueue->iocp = CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, 0, 0); - if (ioqueue->iocp == NULL) - return PJ_RETURN_OS_ERROR(GetLastError()); - - /* Create IOCP mutex */ - rc = pj_lock_create_recursive_mutex(pool, NULL, &ioqueue->lock); - if (rc != PJ_SUCCESS) { - CloseHandle(ioqueue->iocp); - return rc; - } - - ioqueue->auto_delete_lock = PJ_TRUE; - ioqueue->default_concurrency = PJ_IOQUEUE_DEFAULT_ALLOW_CONCURRENCY; - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - /* - * Create and initialize key pools. - */ - pj_list_init(&ioqueue->active_list); - pj_list_init(&ioqueue->free_list); - pj_list_init(&ioqueue->closing_list); - - /* Preallocate keys according to max_fd setting, and put them - * in free_list. - */ - for (i=0; iref_count); - if (rc != PJ_SUCCESS) { - key = ioqueue->free_list.next; - while (key != &ioqueue->free_list) { - pj_atomic_destroy(key->ref_count); - pj_mutex_destroy(key->mutex); - key = key->next; - } - CloseHandle(ioqueue->iocp); - return rc; - } - - rc = pj_mutex_create_recursive(pool, "ioqkey", &key->mutex); - if (rc != PJ_SUCCESS) { - pj_atomic_destroy(key->ref_count); - key = ioqueue->free_list.next; - while (key != &ioqueue->free_list) { - pj_atomic_destroy(key->ref_count); - pj_mutex_destroy(key->mutex); - key = key->next; - } - CloseHandle(ioqueue->iocp); - return rc; - } - - pj_list_push_back(&ioqueue->free_list, key); - } -#endif - - *p_ioqueue = ioqueue; - - PJ_LOG(4, ("pjlib", "WinNT IOCP I/O Queue created (%p)", ioqueue)); - return PJ_SUCCESS; -} - -/* - * pj_ioqueue_destroy() - */ -PJ_DEF(pj_status_t) pj_ioqueue_destroy( pj_ioqueue_t *ioqueue ) -{ -#if PJ_HAS_TCP - unsigned i; -#endif - pj_ioqueue_key_t *key; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(ioqueue, PJ_EINVAL); - - pj_lock_acquire(ioqueue->lock); - -#if PJ_HAS_TCP - /* Destroy events in the pool */ - for (i=0; ievent_count; ++i) { - CloseHandle(ioqueue->event_pool[i]); - } - ioqueue->event_count = 0; -#endif - - if (CloseHandle(ioqueue->iocp) != TRUE) - return PJ_RETURN_OS_ERROR(GetLastError()); - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - /* Destroy reference counters */ - key = ioqueue->active_list.next; - while (key != &ioqueue->active_list) { - pj_atomic_destroy(key->ref_count); - pj_mutex_destroy(key->mutex); - key = key->next; - } - - key = ioqueue->closing_list.next; - while (key != &ioqueue->closing_list) { - pj_atomic_destroy(key->ref_count); - pj_mutex_destroy(key->mutex); - key = key->next; - } - - key = ioqueue->free_list.next; - while (key != &ioqueue->free_list) { - pj_atomic_destroy(key->ref_count); - pj_mutex_destroy(key->mutex); - key = key->next; - } -#endif - - if (ioqueue->auto_delete_lock) - pj_lock_destroy(ioqueue->lock); - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pj_ioqueue_set_default_concurrency(pj_ioqueue_t *ioqueue, - pj_bool_t allow) -{ - PJ_ASSERT_RETURN(ioqueue != NULL, PJ_EINVAL); - ioqueue->default_concurrency = allow; - return PJ_SUCCESS; -} - -/* - * pj_ioqueue_set_lock() - */ -PJ_DEF(pj_status_t) pj_ioqueue_set_lock( pj_ioqueue_t *ioqueue, - pj_lock_t *lock, - pj_bool_t auto_delete ) -{ - PJ_ASSERT_RETURN(ioqueue && lock, PJ_EINVAL); - - if (ioqueue->auto_delete_lock) { - pj_lock_destroy(ioqueue->lock); - } - - ioqueue->lock = lock; - ioqueue->auto_delete_lock = auto_delete; - - return PJ_SUCCESS; -} - -/* - * pj_ioqueue_register_sock() - */ -PJ_DEF(pj_status_t) pj_ioqueue_register_sock( pj_pool_t *pool, - pj_ioqueue_t *ioqueue, - pj_sock_t sock, - void *user_data, - const pj_ioqueue_callback *cb, - pj_ioqueue_key_t **key ) -{ - HANDLE hioq; - pj_ioqueue_key_t *rec; - u_long value; - int rc; - - PJ_ASSERT_RETURN(pool && ioqueue && cb && key, PJ_EINVAL); - - pj_lock_acquire(ioqueue->lock); - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - /* Scan closing list first to release unused keys. - * Must do this with lock acquired. - */ - scan_closing_keys(ioqueue); - - /* If safe unregistration is used, then get the key record from - * the free list. - */ - if (pj_list_empty(&ioqueue->free_list)) { - pj_lock_release(ioqueue->lock); - return PJ_ETOOMANY; - } - - rec = ioqueue->free_list.next; - pj_list_erase(rec); - - /* Set initial reference count to 1 */ - pj_assert(pj_atomic_get(rec->ref_count) == 0); - pj_atomic_inc(rec->ref_count); - - rec->closing = 0; - -#else - rec = pj_pool_zalloc(pool, sizeof(pj_ioqueue_key_t)); -#endif - - /* Build the key for this socket. */ - rec->ioqueue = ioqueue; - rec->hnd = (HANDLE)sock; - rec->hnd_type = HND_IS_SOCKET; - rec->user_data = user_data; - pj_memcpy(&rec->cb, cb, sizeof(pj_ioqueue_callback)); - - /* Set concurrency for this handle */ - rc = pj_ioqueue_set_concurrency(rec, ioqueue->default_concurrency); - if (rc != PJ_SUCCESS) { - pj_lock_release(ioqueue->lock); - return rc; - } - -#if PJ_HAS_TCP - rec->connecting = 0; -#endif - - /* Set socket to nonblocking. */ - value = 1; - rc = ioctlsocket(sock, FIONBIO, &value); - if (rc != 0) { - pj_lock_release(ioqueue->lock); - return PJ_RETURN_OS_ERROR(WSAGetLastError()); - } - - /* Associate with IOCP */ - hioq = CreateIoCompletionPort((HANDLE)sock, ioqueue->iocp, (DWORD)rec, 0); - if (!hioq) { - pj_lock_release(ioqueue->lock); - return PJ_RETURN_OS_ERROR(GetLastError()); - } - - *key = rec; - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - pj_list_push_back(&ioqueue->active_list, rec); -#endif - - pj_lock_release(ioqueue->lock); - - return PJ_SUCCESS; -} - - -/* - * pj_ioqueue_get_user_data() - */ -PJ_DEF(void*) pj_ioqueue_get_user_data( pj_ioqueue_key_t *key ) -{ - PJ_ASSERT_RETURN(key, NULL); - return key->user_data; -} - -/* - * pj_ioqueue_set_user_data() - */ -PJ_DEF(pj_status_t) pj_ioqueue_set_user_data( pj_ioqueue_key_t *key, - void *user_data, - void **old_data ) -{ - PJ_ASSERT_RETURN(key, PJ_EINVAL); - - if (old_data) - *old_data = key->user_data; - - key->user_data = user_data; - return PJ_SUCCESS; -} - - -#if PJ_IOQUEUE_HAS_SAFE_UNREG -/* Decrement the key's reference counter, and when the counter reach zero, - * destroy the key. - */ -static void decrement_counter(pj_ioqueue_key_t *key) -{ - if (pj_atomic_dec_and_get(key->ref_count) == 0) { - - pj_lock_acquire(key->ioqueue->lock); - - pj_assert(key->closing == 1); - pj_gettickcount(&key->free_time); - key->free_time.msec += PJ_IOQUEUE_KEY_FREE_DELAY; - pj_time_val_normalize(&key->free_time); - - pj_list_erase(key); - pj_list_push_back(&key->ioqueue->closing_list, key); - - pj_lock_release(key->ioqueue->lock); - } -} -#endif - -/* - * Poll the I/O Completion Port, execute callback, - * and return the key and bytes transfered of the last operation. - */ -static pj_bool_t poll_iocp( HANDLE hIocp, DWORD dwTimeout, - pj_ssize_t *p_bytes, pj_ioqueue_key_t **p_key ) -{ - DWORD dwBytesTransfered, dwKey; - generic_overlapped *pOv; - pj_ioqueue_key_t *key; - pj_ssize_t size_status = -1; - BOOL rcGetQueued; - - /* Poll for completion status. */ - rcGetQueued = GetQueuedCompletionStatus(hIocp, &dwBytesTransfered, - &dwKey, (OVERLAPPED**)&pOv, - dwTimeout); - - /* The return value is: - * - nonzero if event was dequeued. - * - zero and pOv==NULL if no event was dequeued. - * - zero and pOv!=NULL if event for failed I/O was dequeued. - */ - if (pOv) { - pj_bool_t has_lock; - - /* Event was dequeued for either successfull or failed I/O */ - key = (pj_ioqueue_key_t*)dwKey; - size_status = dwBytesTransfered; - - /* Report to caller regardless */ - if (p_bytes) - *p_bytes = size_status; - if (p_key) - *p_key = key; - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - /* We shouldn't call callbacks if key is quitting. */ - if (key->closing) - return PJ_TRUE; - - /* If concurrency is disabled, lock the key - * (and save the lock status to local var since app may change - * concurrency setting while in the callback) */ - if (key->allow_concurrent == PJ_FALSE) { - pj_mutex_lock(key->mutex); - has_lock = PJ_TRUE; - } else { - has_lock = PJ_FALSE; - } - - /* Now that we get the lock, check again that key is not closing */ - if (key->closing) { - if (has_lock) { - pj_mutex_unlock(key->mutex); - } - return PJ_TRUE; - } - - /* Increment reference counter to prevent this key from being - * deleted - */ - pj_atomic_inc(key->ref_count); -#else - PJ_UNUSED_ARG(has_lock); -#endif - - /* Carry out the callback */ - switch (pOv->operation) { - case PJ_IOQUEUE_OP_READ: - case PJ_IOQUEUE_OP_RECV: - case PJ_IOQUEUE_OP_RECV_FROM: - pOv->operation = 0; - if (key->cb.on_read_complete) - key->cb.on_read_complete(key, (pj_ioqueue_op_key_t*)pOv, - size_status); - break; - case PJ_IOQUEUE_OP_WRITE: - case PJ_IOQUEUE_OP_SEND: - case PJ_IOQUEUE_OP_SEND_TO: - pOv->operation = 0; - if (key->cb.on_write_complete) - key->cb.on_write_complete(key, (pj_ioqueue_op_key_t*)pOv, - size_status); - break; -#if PJ_HAS_TCP - case PJ_IOQUEUE_OP_ACCEPT: - /* special case for accept. */ - ioqueue_on_accept_complete(key, (ioqueue_accept_rec*)pOv); - if (key->cb.on_accept_complete) { - ioqueue_accept_rec *accept_rec = (ioqueue_accept_rec*)pOv; - pj_status_t status = PJ_SUCCESS; - pj_sock_t newsock; - - newsock = accept_rec->newsock; - accept_rec->newsock = PJ_INVALID_SOCKET; - - if (newsock == PJ_INVALID_SOCKET) { - int dwError = WSAGetLastError(); - if (dwError == 0) dwError = OSERR_ENOTCONN; - status = PJ_RETURN_OS_ERROR(dwError); - } - - key->cb.on_accept_complete(key, (pj_ioqueue_op_key_t*)pOv, - newsock, status); - - } - break; - case PJ_IOQUEUE_OP_CONNECT: -#endif - case PJ_IOQUEUE_OP_NONE: - pj_assert(0); - break; - } - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - decrement_counter(key); - if (has_lock) - pj_mutex_unlock(key->mutex); -#endif - - return PJ_TRUE; - } - - /* No event was queued. */ - return PJ_FALSE; -} - -/* - * pj_ioqueue_unregister() - */ -PJ_DEF(pj_status_t) pj_ioqueue_unregister( pj_ioqueue_key_t *key ) -{ - unsigned i; - pj_bool_t has_lock; - enum { RETRY = 10 }; - - PJ_ASSERT_RETURN(key, PJ_EINVAL); - -#if PJ_HAS_TCP - if (key->connecting) { - unsigned pos; - pj_ioqueue_t *ioqueue; - - ioqueue = key->ioqueue; - - /* Erase from connecting_handles */ - pj_lock_acquire(ioqueue->lock); - for (pos=0; pos < ioqueue->connecting_count; ++pos) { - if (ioqueue->connecting_keys[pos] == key) { - erase_connecting_socket(ioqueue, pos); - break; - } - } - key->connecting = 0; - pj_lock_release(ioqueue->lock); - } -#endif - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - /* Mark key as closing before closing handle. */ - key->closing = 1; - - /* If concurrency is disabled, wait until the key has finished - * processing the callback - */ - if (key->allow_concurrent == PJ_FALSE) { - pj_mutex_lock(key->mutex); - has_lock = PJ_TRUE; - } else { - has_lock = PJ_FALSE; - } -#else - PJ_UNUSED_ARG(has_lock); -#endif - - /* Close handle (the only way to disassociate handle from IOCP). - * We also need to close handle to make sure that no further events - * will come to the handle. - */ - /* Update 2008/07/18 (http://trac.pjsip.org/repos/ticket/575): - * - It seems that CloseHandle() in itself does not actually close - * the socket (i.e. it will still appear in "netstat" output). Also - * if we only use CloseHandle(), an "Invalid Handle" exception will - * be raised in WSACleanup(). - * - MSDN documentation says that CloseHandle() must be called after - * closesocket() call (see - * http://msdn.microsoft.com/en-us/library/ms724211(VS.85).aspx). - * But turns out that this will raise "Invalid Handle" exception - * in debug mode. - * So because of this, we replaced CloseHandle() with closesocket() - * instead. These was tested on WinXP SP2. - */ - //CloseHandle(key->hnd); - pj_sock_close((pj_sock_t)key->hnd); - - /* Reset callbacks */ - key->cb.on_accept_complete = NULL; - key->cb.on_connect_complete = NULL; - key->cb.on_read_complete = NULL; - key->cb.on_write_complete = NULL; - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - /* Even after handle is closed, I suspect that IOCP may still try to - * do something with the handle, causing memory corruption when pool - * debugging is enabled. - * - * Forcing context switch seems to have fixed that, but this is quite - * an ugly solution.. - * - * Update 2008/02/13: - * This should not happen if concurrency is disallowed for the key. - * So at least application has a solution for this (i.e. by disallowing - * concurrency in the key). - */ - //This will loop forever if unregistration is done on the callback. - //Doing this with RETRY I think should solve the IOCP setting the - //socket signalled, without causing the deadlock. - //while (pj_atomic_get(key->ref_count) != 1) - // pj_thread_sleep(0); - for (i=0; pj_atomic_get(key->ref_count) != 1 && imutex); -#endif - - return PJ_SUCCESS; -} - -#if PJ_IOQUEUE_HAS_SAFE_UNREG -/* Scan the closing list, and put pending closing keys to free list. - * Must do this with ioqueue mutex held. - */ -static void scan_closing_keys(pj_ioqueue_t *ioqueue) -{ - if (!pj_list_empty(&ioqueue->closing_list)) { - pj_time_val now; - pj_ioqueue_key_t *key; - - pj_gettickcount(&now); - - /* Move closing keys to free list when they've finished the closing - * idle time. - */ - key = ioqueue->closing_list.next; - while (key != &ioqueue->closing_list) { - pj_ioqueue_key_t *next = key->next; - - pj_assert(key->closing != 0); - - if (PJ_TIME_VAL_GTE(now, key->free_time)) { - pj_list_erase(key); - pj_list_push_back(&ioqueue->free_list, key); - } - key = next; - } - } -} -#endif - -/* - * pj_ioqueue_poll() - * - * Poll for events. - */ -PJ_DEF(int) pj_ioqueue_poll( pj_ioqueue_t *ioqueue, const pj_time_val *timeout) -{ - DWORD dwMsec; -#if PJ_HAS_TCP - int connect_count = 0; -#endif - int event_count = 0; - - PJ_ASSERT_RETURN(ioqueue, -PJ_EINVAL); - - /* Calculate miliseconds timeout for GetQueuedCompletionStatus */ - dwMsec = timeout ? timeout->sec*1000 + timeout->msec : INFINITE; - - /* Poll for completion status. */ - event_count = poll_iocp(ioqueue->iocp, dwMsec, NULL, NULL); - -#if PJ_HAS_TCP - /* Check the connecting array, only when there's no activity. */ - if (event_count == 0) { - connect_count = check_connecting(ioqueue); - if (connect_count > 0) - event_count += connect_count; - } -#endif - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - /* Check the closing keys only when there's no activity and when there are - * pending closing keys. - */ - if (event_count == 0 && !pj_list_empty(&ioqueue->closing_list)) { - pj_lock_acquire(ioqueue->lock); - scan_closing_keys(ioqueue); - pj_lock_release(ioqueue->lock); - } -#endif - - /* Return number of events. */ - return event_count; -} - -/* - * pj_ioqueue_recv() - * - * Initiate overlapped WSARecv() operation. - */ -PJ_DEF(pj_status_t) pj_ioqueue_recv( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - void *buffer, - pj_ssize_t *length, - pj_uint32_t flags ) -{ - /* - * Ideally we should just call pj_ioqueue_recvfrom() with NULL addr and - * addrlen here. But unfortunately it generates EINVAL... :-( - * -bennylp - */ - int rc; - DWORD bytesRead; - DWORD dwFlags = 0; - union operation_key *op_key_rec; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(key && op_key && buffer && length, PJ_EINVAL); - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - /* Check key is not closing */ - if (key->closing) - return PJ_ECANCELLED; -#endif - - op_key_rec = (union operation_key*)op_key->internal__; - op_key_rec->overlapped.wsabuf.buf = buffer; - op_key_rec->overlapped.wsabuf.len = *length; - - dwFlags = flags; - - /* Try non-overlapped received first to see if data is - * immediately available. - */ - if ((flags & PJ_IOQUEUE_ALWAYS_ASYNC) == 0) { - rc = WSARecv((SOCKET)key->hnd, &op_key_rec->overlapped.wsabuf, 1, - &bytesRead, &dwFlags, NULL, NULL); - if (rc == 0) { - *length = bytesRead; - return PJ_SUCCESS; - } else { - DWORD dwError = WSAGetLastError(); - if (dwError != WSAEWOULDBLOCK) { - *length = -1; - return PJ_RETURN_OS_ERROR(dwError); - } - } - } - - dwFlags &= ~(PJ_IOQUEUE_ALWAYS_ASYNC); - - /* - * No immediate data available. - * Register overlapped Recv() operation. - */ - pj_bzero( &op_key_rec->overlapped.overlapped, - sizeof(op_key_rec->overlapped.overlapped)); - op_key_rec->overlapped.operation = PJ_IOQUEUE_OP_RECV; - - rc = WSARecv((SOCKET)key->hnd, &op_key_rec->overlapped.wsabuf, 1, - &bytesRead, &dwFlags, - &op_key_rec->overlapped.overlapped, NULL); - if (rc == SOCKET_ERROR) { - DWORD dwStatus = WSAGetLastError(); - if (dwStatus!=WSA_IO_PENDING) { - *length = -1; - return PJ_STATUS_FROM_OS(dwStatus); - } - } - - /* Pending operation has been scheduled. */ - return PJ_EPENDING; -} - -/* - * pj_ioqueue_recvfrom() - * - * Initiate overlapped RecvFrom() operation. - */ -PJ_DEF(pj_status_t) pj_ioqueue_recvfrom( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - void *buffer, - pj_ssize_t *length, - pj_uint32_t flags, - pj_sockaddr_t *addr, - int *addrlen) -{ - int rc; - DWORD bytesRead; - DWORD dwFlags = 0; - union operation_key *op_key_rec; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(key && op_key && buffer, PJ_EINVAL); - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - /* Check key is not closing */ - if (key->closing) - return PJ_ECANCELLED; -#endif - - op_key_rec = (union operation_key*)op_key->internal__; - op_key_rec->overlapped.wsabuf.buf = buffer; - op_key_rec->overlapped.wsabuf.len = *length; - - dwFlags = flags; - - /* Try non-overlapped received first to see if data is - * immediately available. - */ - if ((flags & PJ_IOQUEUE_ALWAYS_ASYNC) == 0) { - rc = WSARecvFrom((SOCKET)key->hnd, &op_key_rec->overlapped.wsabuf, 1, - &bytesRead, &dwFlags, addr, addrlen, NULL, NULL); - if (rc == 0) { - *length = bytesRead; - return PJ_SUCCESS; - } else { - DWORD dwError = WSAGetLastError(); - if (dwError != WSAEWOULDBLOCK) { - *length = -1; - return PJ_RETURN_OS_ERROR(dwError); - } - } - } - - dwFlags &= ~(PJ_IOQUEUE_ALWAYS_ASYNC); - - /* - * No immediate data available. - * Register overlapped Recv() operation. - */ - pj_bzero( &op_key_rec->overlapped.overlapped, - sizeof(op_key_rec->overlapped.overlapped)); - op_key_rec->overlapped.operation = PJ_IOQUEUE_OP_RECV; - - rc = WSARecvFrom((SOCKET)key->hnd, &op_key_rec->overlapped.wsabuf, 1, - &bytesRead, &dwFlags, addr, addrlen, - &op_key_rec->overlapped.overlapped, NULL); - if (rc == SOCKET_ERROR) { - DWORD dwStatus = WSAGetLastError(); - if (dwStatus!=WSA_IO_PENDING) { - *length = -1; - return PJ_STATUS_FROM_OS(dwStatus); - } - } - - /* Pending operation has been scheduled. */ - return PJ_EPENDING; -} - -/* - * pj_ioqueue_send() - * - * Initiate overlapped Send operation. - */ -PJ_DEF(pj_status_t) pj_ioqueue_send( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - const void *data, - pj_ssize_t *length, - pj_uint32_t flags ) -{ - return pj_ioqueue_sendto(key, op_key, data, length, flags, NULL, 0); -} - - -/* - * pj_ioqueue_sendto() - * - * Initiate overlapped SendTo operation. - */ -PJ_DEF(pj_status_t) pj_ioqueue_sendto( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - const void *data, - pj_ssize_t *length, - pj_uint32_t flags, - const pj_sockaddr_t *addr, - int addrlen) -{ - int rc; - DWORD bytesWritten; - DWORD dwFlags; - union operation_key *op_key_rec; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(key && op_key && data, PJ_EINVAL); - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - /* Check key is not closing */ - if (key->closing) - return PJ_ECANCELLED; -#endif - - op_key_rec = (union operation_key*)op_key->internal__; - - /* - * First try blocking write. - */ - op_key_rec->overlapped.wsabuf.buf = (void*)data; - op_key_rec->overlapped.wsabuf.len = *length; - - dwFlags = flags; - - if ((flags & PJ_IOQUEUE_ALWAYS_ASYNC) == 0) { - rc = WSASendTo((SOCKET)key->hnd, &op_key_rec->overlapped.wsabuf, 1, - &bytesWritten, dwFlags, addr, addrlen, - NULL, NULL); - if (rc == 0) { - *length = bytesWritten; - return PJ_SUCCESS; - } else { - DWORD dwStatus = WSAGetLastError(); - if (dwStatus != WSAEWOULDBLOCK) { - *length = -1; - return PJ_RETURN_OS_ERROR(dwStatus); - } - } - } - - dwFlags &= ~(PJ_IOQUEUE_ALWAYS_ASYNC); - - /* - * Data can't be sent immediately. - * Schedule asynchronous WSASend(). - */ - pj_bzero( &op_key_rec->overlapped.overlapped, - sizeof(op_key_rec->overlapped.overlapped)); - op_key_rec->overlapped.operation = PJ_IOQUEUE_OP_SEND; - - rc = WSASendTo((SOCKET)key->hnd, &op_key_rec->overlapped.wsabuf, 1, - &bytesWritten, dwFlags, addr, addrlen, - &op_key_rec->overlapped.overlapped, NULL); - if (rc == SOCKET_ERROR) { - DWORD dwStatus = WSAGetLastError(); - if (dwStatus!=WSA_IO_PENDING) - return PJ_STATUS_FROM_OS(dwStatus); - } - - /* Asynchronous operation successfully submitted. */ - return PJ_EPENDING; -} - -#if PJ_HAS_TCP - -/* - * pj_ioqueue_accept() - * - * Initiate overlapped accept() operation. - */ -PJ_DEF(pj_status_t) pj_ioqueue_accept( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_sock_t *new_sock, - pj_sockaddr_t *local, - pj_sockaddr_t *remote, - int *addrlen) -{ - BOOL rc; - DWORD bytesReceived; - pj_status_t status; - union operation_key *op_key_rec; - SOCKET sock; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(key && op_key && new_sock, PJ_EINVAL); - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - /* Check key is not closing */ - if (key->closing) - return PJ_ECANCELLED; -#endif - - /* - * See if there is a new connection immediately available. - */ - sock = WSAAccept((SOCKET)key->hnd, remote, addrlen, NULL, 0); - if (sock != INVALID_SOCKET) { - /* Yes! New socket is available! */ - if (local && addrlen) { - int status; - - /* On WinXP or later, use SO_UPDATE_ACCEPT_CONTEXT so that socket - * addresses can be obtained with getsockname() and getpeername(). - */ - status = setsockopt(sock, SOL_SOCKET, SO_UPDATE_ACCEPT_CONTEXT, - (char*)&key->hnd, sizeof(SOCKET)); - /* SO_UPDATE_ACCEPT_CONTEXT is for WinXP or later. - * So ignore the error status. - */ - - status = getsockname(sock, local, addrlen); - if (status != 0) { - DWORD dwError = WSAGetLastError(); - closesocket(sock); - return PJ_RETURN_OS_ERROR(dwError); - } - } - - *new_sock = sock; - return PJ_SUCCESS; - - } else { - DWORD dwError = WSAGetLastError(); - if (dwError != WSAEWOULDBLOCK) { - return PJ_RETURN_OS_ERROR(dwError); - } - } - - /* - * No connection is immediately available. - * Must schedule an asynchronous operation. - */ - op_key_rec = (union operation_key*)op_key->internal__; - - status = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, - &op_key_rec->accept.newsock); - if (status != PJ_SUCCESS) - return status; - - op_key_rec->accept.operation = PJ_IOQUEUE_OP_ACCEPT; - op_key_rec->accept.addrlen = addrlen; - op_key_rec->accept.local = local; - op_key_rec->accept.remote = remote; - op_key_rec->accept.newsock_ptr = new_sock; - pj_bzero( &op_key_rec->accept.overlapped, - sizeof(op_key_rec->accept.overlapped)); - - rc = AcceptEx( (SOCKET)key->hnd, (SOCKET)op_key_rec->accept.newsock, - op_key_rec->accept.accept_buf, - 0, ACCEPT_ADDR_LEN, ACCEPT_ADDR_LEN, - &bytesReceived, - &op_key_rec->accept.overlapped ); - - if (rc == TRUE) { - ioqueue_on_accept_complete(key, &op_key_rec->accept); - return PJ_SUCCESS; - } else { - DWORD dwStatus = WSAGetLastError(); - if (dwStatus!=WSA_IO_PENDING) - return PJ_STATUS_FROM_OS(dwStatus); - } - - /* Asynchronous Accept() has been submitted. */ - return PJ_EPENDING; -} - - -/* - * pj_ioqueue_connect() - * - * Initiate overlapped connect() operation (well, it's non-blocking actually, - * since there's no overlapped version of connect()). - */ -PJ_DEF(pj_status_t) pj_ioqueue_connect( pj_ioqueue_key_t *key, - const pj_sockaddr_t *addr, - int addrlen ) -{ - HANDLE hEvent; - pj_ioqueue_t *ioqueue; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(key && addr && addrlen, PJ_EINVAL); - -#if PJ_IOQUEUE_HAS_SAFE_UNREG - /* Check key is not closing */ - if (key->closing) - return PJ_ECANCELLED; -#endif - - /* Initiate connect() */ - if (connect((pj_sock_t)key->hnd, addr, addrlen) != 0) { - DWORD dwStatus; - dwStatus = WSAGetLastError(); - if (dwStatus != WSAEWOULDBLOCK) { - return PJ_RETURN_OS_ERROR(dwStatus); - } - } else { - /* Connect has completed immediately! */ - return PJ_SUCCESS; - } - - ioqueue = key->ioqueue; - - /* Add to the array of connecting socket to be polled */ - pj_lock_acquire(ioqueue->lock); - - if (ioqueue->connecting_count >= MAXIMUM_WAIT_OBJECTS) { - pj_lock_release(ioqueue->lock); - return PJ_ETOOMANYCONN; - } - - /* Get or create event object. */ - if (ioqueue->event_count) { - hEvent = ioqueue->event_pool[ioqueue->event_count - 1]; - --ioqueue->event_count; - } else { - hEvent = CreateEvent(NULL, TRUE, FALSE, NULL); - if (hEvent == NULL) { - DWORD dwStatus = GetLastError(); - pj_lock_release(ioqueue->lock); - return PJ_STATUS_FROM_OS(dwStatus); - } - } - - /* Mark key as connecting. - * We can't use array index since key can be removed dynamically. - */ - key->connecting = 1; - - /* Associate socket events to the event object. */ - if (WSAEventSelect((pj_sock_t)key->hnd, hEvent, FD_CONNECT) != 0) { - CloseHandle(hEvent); - pj_lock_release(ioqueue->lock); - return PJ_RETURN_OS_ERROR(WSAGetLastError()); - } - - /* Add to array. */ - ioqueue->connecting_keys[ ioqueue->connecting_count ] = key; - ioqueue->connecting_handles[ ioqueue->connecting_count ] = hEvent; - ioqueue->connecting_count++; - - pj_lock_release(ioqueue->lock); - - return PJ_EPENDING; -} -#endif /* #if PJ_HAS_TCP */ - - -PJ_DEF(void) pj_ioqueue_op_key_init( pj_ioqueue_op_key_t *op_key, - pj_size_t size ) -{ - pj_bzero(op_key, size); -} - -PJ_DEF(pj_bool_t) pj_ioqueue_is_pending( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key ) -{ - BOOL rc; - DWORD bytesTransfered; - - rc = GetOverlappedResult( key->hnd, (LPOVERLAPPED)op_key, - &bytesTransfered, FALSE ); - - if (rc == FALSE) { - return GetLastError()==ERROR_IO_INCOMPLETE; - } - - return FALSE; -} - - -PJ_DEF(pj_status_t) pj_ioqueue_post_completion( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_status ) -{ - BOOL rc; - - rc = PostQueuedCompletionStatus(key->ioqueue->iocp, bytes_status, - (long)key, (OVERLAPPED*)op_key ); - if (rc == FALSE) { - return PJ_RETURN_OS_ERROR(GetLastError()); - } - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_ioqueue_set_concurrency(pj_ioqueue_key_t *key, - pj_bool_t allow) -{ - PJ_ASSERT_RETURN(key, PJ_EINVAL); - - /* PJ_IOQUEUE_HAS_SAFE_UNREG must be enabled if concurrency is - * disabled. - */ - PJ_ASSERT_RETURN(allow || PJ_IOQUEUE_HAS_SAFE_UNREG, PJ_EINVAL); - - key->allow_concurrent = allow; - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_ioqueue_lock_key(pj_ioqueue_key_t *key) -{ -#if PJ_IOQUEUE_HAS_SAFE_UNREG - return pj_mutex_lock(key->mutex); -#else - PJ_ASSERT_RETURN(!"PJ_IOQUEUE_HAS_SAFE_UNREG is disabled", PJ_EINVALIDOP); -#endif -} - -PJ_DEF(pj_status_t) pj_ioqueue_unlock_key(pj_ioqueue_key_t *key) -{ -#if PJ_IOQUEUE_HAS_SAFE_UNREG - return pj_mutex_unlock(key->mutex); -#else - PJ_ASSERT_RETURN(!"PJ_IOQUEUE_HAS_SAFE_UNREG is disabled", PJ_EINVALIDOP); -#endif -} - diff --git a/res/pjproject/pjlib/src/pj/ip_helper_generic.c b/res/pjproject/pjlib/src/pj/ip_helper_generic.c deleted file mode 100644 index 26ef0e7e9e..0000000000 --- a/res/pjproject/pjlib/src/pj/ip_helper_generic.c +++ /dev/null @@ -1,401 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include - -/* Set to 1 to enable tracing */ -#if 0 -# include -# define THIS_FILE "ip_helper_generic.c" -# define TRACE_(exp) PJ_LOG(5,exp) - static const char *get_os_errmsg(void) - { - static char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(pj_get_os_error(), errmsg, sizeof(errmsg)); - return errmsg; - } - static const char *get_addr(void *addr) - { - static char txt[PJ_INET6_ADDRSTRLEN]; - struct sockaddr *ad = (struct sockaddr*)addr; - if (ad->sa_family != PJ_AF_INET && ad->sa_family != PJ_AF_INET6) - return "?"; - return pj_inet_ntop2(ad->sa_family, pj_sockaddr_get_addr(ad), - txt, sizeof(txt)); - } -#else -# define TRACE_(exp) -#endif - - -#if 0 - /* dummy */ - -#elif defined(PJ_HAS_IFADDRS_H) && PJ_HAS_IFADDRS_H != 0 && \ - defined(PJ_HAS_NET_IF_H) && PJ_HAS_NET_IF_H != 0 -/* Using getifaddrs() is preferred since it can work with both IPv4 and IPv6 */ -static pj_status_t if_enum_by_af(int af, - unsigned *p_cnt, - pj_sockaddr ifs[]) -{ - struct ifaddrs *ifap = NULL, *it; - unsigned max; - - PJ_ASSERT_RETURN(af==PJ_AF_INET || af==PJ_AF_INET6, PJ_EINVAL); - - TRACE_((THIS_FILE, "Starting interface enum with getifaddrs() for af=%d", - af)); - - if (getifaddrs(&ifap) != 0) { - TRACE_((THIS_FILE, " getifarrds() failed: %s", get_os_errmsg())); - return PJ_RETURN_OS_ERROR(pj_get_netos_error()); - } - - it = ifap; - max = *p_cnt; - *p_cnt = 0; - for (; it!=NULL && *p_cnt < max; it = it->ifa_next) { - struct sockaddr *ad = it->ifa_addr; - - TRACE_((THIS_FILE, " checking %s", it->ifa_name)); - - if ((it->ifa_flags & IFF_UP)==0) { - TRACE_((THIS_FILE, " interface is down")); - continue; /* Skip when interface is down */ - } - -#if PJ_IP_HELPER_IGNORE_LOOPBACK_IF - if (it->ifa_flags & IFF_LOOPBACK) { - TRACE_((THIS_FILE, " loopback interface")); - continue; /* Skip loopback interface */ - } -#endif - - if (ad==NULL) { - TRACE_((THIS_FILE, " NULL address ignored")); - continue; /* reported to happen on Linux 2.6.25.9 - with ppp interface */ - } - - if (ad->sa_family != af) { - TRACE_((THIS_FILE, " address %s ignored (af=%d)", - get_addr(ad), ad->sa_family)); - continue; /* Skip when interface is down */ - } - - /* Ignore 0.0.0.0/8 address. This is a special address - * which doesn't seem to have practical use. - */ - if (af==pj_AF_INET() && - (pj_ntohl(((pj_sockaddr_in*)ad)->sin_addr.s_addr) >> 24) == 0) - { - TRACE_((THIS_FILE, " address %s ignored (0.0.0.0/8 class)", - get_addr(ad), ad->sa_family)); - continue; - } - - TRACE_((THIS_FILE, " address %s (af=%d) added at index %d", - get_addr(ad), ad->sa_family, *p_cnt)); - - pj_bzero(&ifs[*p_cnt], sizeof(ifs[0])); - pj_memcpy(&ifs[*p_cnt], ad, pj_sockaddr_get_len(ad)); - PJ_SOCKADDR_RESET_LEN(&ifs[*p_cnt]); - (*p_cnt)++; - } - - freeifaddrs(ifap); - TRACE_((THIS_FILE, "done, found %d address(es)", *p_cnt)); - return (*p_cnt != 0) ? PJ_SUCCESS : PJ_ENOTFOUND; -} - -#elif defined(SIOCGIFCONF) && \ - defined(PJ_HAS_NET_IF_H) && PJ_HAS_NET_IF_H != 0 - -/* Note: this does not work with IPv6 */ -static pj_status_t if_enum_by_af(int af, - unsigned *p_cnt, - pj_sockaddr ifs[]) -{ - pj_sock_t sock; - char buf[512]; - struct ifconf ifc; - struct ifreq *ifr; - int i, count; - pj_status_t status; - - PJ_ASSERT_RETURN(af==PJ_AF_INET || af==PJ_AF_INET6, PJ_EINVAL); - - TRACE_((THIS_FILE, "Starting interface enum with SIOCGIFCONF for af=%d", - af)); - - status = pj_sock_socket(af, PJ_SOCK_DGRAM, 0, &sock); - if (status != PJ_SUCCESS) - return status; - - /* Query available interfaces */ - ifc.ifc_len = sizeof(buf); - ifc.ifc_buf = buf; - - if (ioctl(sock, SIOCGIFCONF, &ifc) < 0) { - int oserr = pj_get_netos_error(); - TRACE_((THIS_FILE, " ioctl(SIOCGIFCONF) failed: %s", get_os_errmsg())); - pj_sock_close(sock); - return PJ_RETURN_OS_ERROR(oserr); - } - - /* Done with socket */ - pj_sock_close(sock); - - /* Interface interfaces */ - ifr = (struct ifreq*) ifc.ifc_req; - count = ifc.ifc_len / sizeof(struct ifreq); - if (count > *p_cnt) - count = *p_cnt; - - *p_cnt = 0; - for (i=0; iifr_addr; - - TRACE_((THIS_FILE, " checking interface %s", itf->ifr_name)); - - /* Skip address with different family */ - if (ad->sa_family != af) { - TRACE_((THIS_FILE, " address %s (af=%d) ignored", - get_addr(ad), (int)ad->sa_family)); - continue; - } - - if ((itf->ifr_flags & IFF_UP)==0) { - TRACE_((THIS_FILE, " interface is down")); - continue; /* Skip when interface is down */ - } - -#if PJ_IP_HELPER_IGNORE_LOOPBACK_IF - if (itf->ifr_flags & IFF_LOOPBACK) { - TRACE_((THIS_FILE, " loopback interface")); - continue; /* Skip loopback interface */ - } -#endif - - /* Ignore 0.0.0.0/8 address. This is a special address - * which doesn't seem to have practical use. - */ - if (af==pj_AF_INET() && - (pj_ntohl(((pj_sockaddr_in*)ad)->sin_addr.s_addr) >> 24) == 0) - { - TRACE_((THIS_FILE, " address %s ignored (0.0.0.0/8 class)", - get_addr(ad), ad->sa_family)); - continue; - } - - TRACE_((THIS_FILE, " address %s (af=%d) added at index %d", - get_addr(ad), ad->sa_family, *p_cnt)); - - pj_bzero(&ifs[*p_cnt], sizeof(ifs[0])); - pj_memcpy(&ifs[*p_cnt], ad, pj_sockaddr_get_len(ad)); - PJ_SOCKADDR_RESET_LEN(&ifs[*p_cnt]); - (*p_cnt)++; - } - - TRACE_((THIS_FILE, "done, found %d address(es)", *p_cnt)); - return (*p_cnt != 0) ? PJ_SUCCESS : PJ_ENOTFOUND; -} - -#elif defined(PJ_HAS_NET_IF_H) && PJ_HAS_NET_IF_H != 0 -/* Note: this does not work with IPv6 */ -static pj_status_t if_enum_by_af(int af, unsigned *p_cnt, pj_sockaddr ifs[]) -{ - struct if_nameindex *if_list; - struct ifreq ifreq; - pj_sock_t sock; - unsigned i, max_count; - pj_status_t status; - - PJ_ASSERT_RETURN(af==PJ_AF_INET || af==PJ_AF_INET6, PJ_EINVAL); - - TRACE_((THIS_FILE, "Starting if_nameindex() for af=%d", af)); - - status = pj_sock_socket(af, PJ_SOCK_DGRAM, 0, &sock); - if (status != PJ_SUCCESS) - return status; - - if_list = if_nameindex(); - if (if_list == NULL) - return PJ_ENOTFOUND; - - max_count = *p_cnt; - *p_cnt = 0; - for (i=0; if_list[i].if_index && *p_cntsa_family != af) { - TRACE_((THIS_FILE, " address %s family %d ignored", - get_addr(&ifreq.ifr_addr), - ifreq.ifr_addr.sa_family)); - continue; /* Not address family that we want, continue */ - } - - /* Ignore 0.0.0.0/8 address. This is a special address - * which doesn't seem to have practical use. - */ - if (af==pj_AF_INET() && - (pj_ntohl(((pj_sockaddr_in*)ad)->sin_addr.s_addr) >> 24) == 0) - { - TRACE_((THIS_FILE, " address %s ignored (0.0.0.0/8 class)", - get_addr(ad), ad->sa_family)); - continue; - } - - /* Got an address ! */ - TRACE_((THIS_FILE, " address %s (af=%d) added at index %d", - get_addr(ad), ad->sa_family, *p_cnt)); - - pj_bzero(&ifs[*p_cnt], sizeof(ifs[0])); - pj_memcpy(&ifs[*p_cnt], ad, pj_sockaddr_get_len(ad)); - PJ_SOCKADDR_RESET_LEN(&ifs[*p_cnt]); - (*p_cnt)++; - } - - if_freenameindex(if_list); - pj_sock_close(sock); - - TRACE_((THIS_FILE, "done, found %d address(es)", *p_cnt)); - return (*p_cnt != 0) ? PJ_SUCCESS : PJ_ENOTFOUND; -} - -#else -static pj_status_t if_enum_by_af(int af, - unsigned *p_cnt, - pj_sockaddr ifs[]) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(p_cnt && *p_cnt > 0 && ifs, PJ_EINVAL); - - pj_bzero(ifs, sizeof(ifs[0]) * (*p_cnt)); - - /* Just get one default route */ - status = pj_getdefaultipinterface(af, &ifs[0]); - if (status != PJ_SUCCESS) - return status; - - *p_cnt = 1; - return PJ_SUCCESS; -} -#endif /* SIOCGIFCONF */ - -/* - * Enumerate the local IP interface currently active in the host. - */ -PJ_DEF(pj_status_t) pj_enum_ip_interface(int af, - unsigned *p_cnt, - pj_sockaddr ifs[]) -{ - unsigned start; - pj_status_t status; - - start = 0; - if (af==PJ_AF_INET6 || af==PJ_AF_UNSPEC) { - unsigned max = *p_cnt; - status = if_enum_by_af(PJ_AF_INET6, &max, &ifs[start]); - if (status == PJ_SUCCESS) { - start += max; - (*p_cnt) -= max; - } - } - - if (af==PJ_AF_INET || af==PJ_AF_UNSPEC) { - unsigned max = *p_cnt; - status = if_enum_by_af(PJ_AF_INET, &max, &ifs[start]); - if (status == PJ_SUCCESS) { - start += max; - (*p_cnt) -= max; - } - } - - *p_cnt = start; - - return (*p_cnt != 0) ? PJ_SUCCESS : PJ_ENOTFOUND; -} - -/* - * Enumerate the IP routing table for this host. - */ -PJ_DEF(pj_status_t) pj_enum_ip_route(unsigned *p_cnt, - pj_ip_route_entry routes[]) -{ - pj_sockaddr itf; - pj_status_t status; - - PJ_ASSERT_RETURN(p_cnt && *p_cnt > 0 && routes, PJ_EINVAL); - - pj_bzero(routes, sizeof(routes[0]) * (*p_cnt)); - - /* Just get one default route */ - status = pj_getdefaultipinterface(PJ_AF_INET, &itf); - if (status != PJ_SUCCESS) - return status; - - routes[0].ipv4.if_addr.s_addr = itf.ipv4.sin_addr.s_addr; - routes[0].ipv4.dst_addr.s_addr = 0; - routes[0].ipv4.mask.s_addr = 0; - *p_cnt = 1; - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjlib/src/pj/ip_helper_symbian.cpp b/res/pjproject/pjlib/src/pj/ip_helper_symbian.cpp deleted file mode 100644 index f980045093..0000000000 --- a/res/pjproject/pjlib/src/pj/ip_helper_symbian.cpp +++ /dev/null @@ -1,150 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include - - -#include "os_symbian.h" - -#define THIS_FILE "ip_helper_symbian.cpp" -#define TRACE_ME 0 - -static pj_status_t rsock_enum_interface(int af, - unsigned *p_cnt, - pj_sockaddr ifs[]) -{ - TInt rc; - RSocket rSock; - TPckgBuf info; - unsigned i; - - if (PjSymbianOS::Instance()->Connection()) { - - rc = rSock.Open(PjSymbianOS::Instance()->SocketServ(), - af, PJ_SOCK_DGRAM, KProtocolInetUdp, - *PjSymbianOS::Instance()->Connection()); - } else { - - rc = rSock.Open(PjSymbianOS::Instance()->SocketServ(), - af, PJ_SOCK_DGRAM, KProtocolInetUdp); - - } - - if (rc != KErrNone) - return PJ_RETURN_OS_ERROR(rc); - - rSock.SetOpt(KSoInetEnumInterfaces, KSolInetIfCtrl); - - for (i=0; i<*p_cnt && - rSock.GetOpt(KSoInetNextInterface, KSolInetIfCtrl, - info) == KErrNone; ) - { - TInetAddr &iAddress = info().iAddress; - int namelen; - -#if TRACE_ME - if (1) { - pj_sockaddr a; - char ipaddr[PJ_INET6_ADDRSTRLEN+2]; - - namelen = sizeof(pj_sockaddr); - if (PjSymbianOS::Addr2pj(iAddress, a, &namelen, - PJ_FALSE) == PJ_SUCCESS) - { - PJ_LOG(5,(THIS_FILE, "Enum: found address %s", - pj_sockaddr_print(&a, ipaddr, sizeof(ipaddr), 2))); - } - } -#endif - - namelen = sizeof(ifs[i]); - if (PjSymbianOS::Addr2pj(iAddress, ifs[i], &namelen, - PJ_TRUE) != PJ_SUCCESS) - { - continue; - } - - if (ifs[i].addr.sa_family != af) - continue; - - ++i; - } - - rSock.Close(); - - // Done - *p_cnt = i; - - return PJ_SUCCESS; -} - -/* - * Enumerate the local IP interface currently active in the host. - */ -PJ_DEF(pj_status_t) pj_enum_ip_interface(int af, - unsigned *p_cnt, - pj_sockaddr ifs[]) -{ - unsigned start; - pj_status_t status = PJ_SUCCESS; - - start = 0; - - /* Get IPv6 interface first. */ - if (af==PJ_AF_INET6 || af==PJ_AF_UNSPEC) { - unsigned max = *p_cnt; - status = rsock_enum_interface(PJ_AF_INET6, &max, &ifs[start]); - if (status == PJ_SUCCESS) { - (*p_cnt) -= max; - start += max; - } - } - - /* Get IPv4 interface. */ - if (af==PJ_AF_INET || af==PJ_AF_UNSPEC) { - unsigned max = *p_cnt; - status = rsock_enum_interface(PJ_AF_INET, &max, &ifs[start]); - if (status == PJ_SUCCESS) { - (*p_cnt) -= max; - start += max; - } - } - - *p_cnt = start; - - return start ? PJ_SUCCESS : PJ_ENOTFOUND; -} - -/* - * Enumerate the IP routing table for this host. - */ -PJ_DEF(pj_status_t) pj_enum_ip_route(unsigned *p_cnt, - pj_ip_route_entry routes[]) -{ - PJ_ASSERT_RETURN(p_cnt && *p_cnt > 0 && routes, PJ_EINVAL); - *p_cnt = 0; - return PJ_ENOTSUP; -} - diff --git a/res/pjproject/pjlib/src/pj/ip_helper_win32.c b/res/pjproject/pjlib/src/pj/ip_helper_win32.c deleted file mode 100644 index 4a4b53a489..0000000000 --- a/res/pjproject/pjlib/src/pj/ip_helper_win32.c +++ /dev/null @@ -1,441 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include - -#define WIN32_LEAN_AND_MEAN -#include - -/* PMIB_ICMP_EX is not declared in VC6, causing error. - * But EVC4, which also claims to be VC6, does have it! - */ -#if defined(_MSC_VER) && _MSC_VER==1200 && !defined(PJ_WIN32_WINCE) -# define PMIB_ICMP_EX void* -#endif -#include - -/* If you encounter error "Cannot open include file: 'Iphlpapi.h' here, - * you need to install newer Platform SDK. Presumably you're using - * Microsoft Visual Studio 6? - */ -#include - -#include -#include -#include -#include - -/* Dealing with Unicode quirks: - - There seems to be a difference with GetProcAddress() API signature between - Windows (i.e. Win32) and Windows CE (e.g. Windows Mobile). On Windows, the - API is declared as: - - FARPROC GetProcAddress( - HMODULE hModule, - LPCSTR lpProcName); - - while on Windows CE: - - FARPROC GetProcAddress( - HMODULE hModule, - LPCWSTR lpProcName); - - Notice the difference with lpProcName argument type. This means that on - Windows, even on Unicode Windows, the lpProcName always takes ANSI format, - while on Windows CE, the argument follows the UNICODE setting. - - Because of this, we use a different Unicode treatment here than the usual - PJ_NATIVE_STRING_IS_UNICODE PJLIB setting (): - - GPA_TEXT macro: convert literal string to platform's native literal - string - - gpa_char: the platform native character type - - Note that "GPA" and "gpa" are abbreviations for GetProcAddress. -*/ -#if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0 - /* on CE, follow the PJLIB Unicode setting */ -# define GPA_TEXT(x) PJ_T(x) -# define gpa_char pj_char_t -#else - /* on non-CE, always use ANSI format */ -# define GPA_TEXT(x) x -# define gpa_char char -#endif - - -typedef DWORD (WINAPI *PFN_GetIpAddrTable)(PMIB_IPADDRTABLE pIpAddrTable, - PULONG pdwSize, - BOOL bOrder); -typedef DWORD (WINAPI *PFN_GetAdapterAddresses)(ULONG Family, - ULONG Flags, - PVOID Reserved, - PIP_ADAPTER_ADDRESSES AdapterAddresses, - PULONG SizePointer); -typedef DWORD (WINAPI *PFN_GetIpForwardTable)(PMIB_IPFORWARDTABLE pIpForwardTable, - PULONG pdwSize, - BOOL bOrder); -typedef DWORD (WINAPI *PFN_GetIfEntry)(PMIB_IFROW pIfRow); - -static HANDLE s_hDLL; -static PFN_GetIpAddrTable s_pfnGetIpAddrTable; -static PFN_GetAdapterAddresses s_pfnGetAdapterAddresses; -static PFN_GetIpForwardTable s_pfnGetIpForwardTable; -static PFN_GetIfEntry s_pfnGetIfEntry; - - -static void unload_iphlp_module(void) -{ - FreeLibrary(s_hDLL); - s_hDLL = NULL; - s_pfnGetIpAddrTable = NULL; - s_pfnGetIpForwardTable = NULL; - s_pfnGetIfEntry = NULL; - s_pfnGetAdapterAddresses = NULL; -} - -static FARPROC GetIpHlpApiProc(gpa_char *lpProcName) -{ - if(NULL == s_hDLL) { - s_hDLL = LoadLibrary(PJ_T("IpHlpApi")); - if(NULL != s_hDLL) { - pj_atexit(&unload_iphlp_module); - } - } - - if(NULL != s_hDLL) - return GetProcAddress(s_hDLL, lpProcName); - - return NULL; -} - -static DWORD MyGetIpAddrTable(PMIB_IPADDRTABLE pIpAddrTable, - PULONG pdwSize, - BOOL bOrder) -{ - if(NULL == s_pfnGetIpAddrTable) { - s_pfnGetIpAddrTable = (PFN_GetIpAddrTable) - GetIpHlpApiProc(GPA_TEXT("GetIpAddrTable")); - } - - if(NULL != s_pfnGetIpAddrTable) { - return s_pfnGetIpAddrTable(pIpAddrTable, pdwSize, bOrder); - } - - return ERROR_NOT_SUPPORTED; -} - -static DWORD MyGetAdapterAddresses(ULONG Family, - ULONG Flags, - PVOID Reserved, - PIP_ADAPTER_ADDRESSES AdapterAddresses, - PULONG SizePointer) -{ - if(NULL == s_pfnGetAdapterAddresses) { - s_pfnGetAdapterAddresses = (PFN_GetAdapterAddresses) - GetIpHlpApiProc(GPA_TEXT("GetAdaptersAddresses")); - } - - if(NULL != s_pfnGetAdapterAddresses) { - return s_pfnGetAdapterAddresses(Family, Flags, Reserved, - AdapterAddresses, SizePointer); - } - - return ERROR_NOT_SUPPORTED; -} - -#if PJ_IP_HELPER_IGNORE_LOOPBACK_IF -static DWORD MyGetIfEntry(MIB_IFROW *pIfRow) -{ - if(NULL == s_pfnGetIfEntry) { - s_pfnGetIfEntry = (PFN_GetIfEntry) - GetIpHlpApiProc(GPA_TEXT("GetIfEntry")); - } - - if(NULL != s_pfnGetIfEntry) { - return s_pfnGetIfEntry(pIfRow); - } - - return ERROR_NOT_SUPPORTED; -} -#endif - - -static DWORD MyGetIpForwardTable(PMIB_IPFORWARDTABLE pIpForwardTable, - PULONG pdwSize, - BOOL bOrder) -{ - if(NULL == s_pfnGetIpForwardTable) { - s_pfnGetIpForwardTable = (PFN_GetIpForwardTable) - GetIpHlpApiProc(GPA_TEXT("GetIpForwardTable")); - } - - if(NULL != s_pfnGetIpForwardTable) { - return s_pfnGetIpForwardTable(pIpForwardTable, pdwSize, bOrder); - } - - return ERROR_NOT_SUPPORTED; -} - -/* Enumerate local IP interface using GetIpAddrTable() - * for IPv4 addresses only. - */ -static pj_status_t enum_ipv4_interface(unsigned *p_cnt, - pj_sockaddr ifs[]) -{ - char ipTabBuff[512]; - MIB_IPADDRTABLE *pTab = (MIB_IPADDRTABLE*)ipTabBuff; - ULONG tabSize = sizeof(ipTabBuff); - unsigned i, count; - DWORD rc = NO_ERROR; - - PJ_ASSERT_RETURN(p_cnt && ifs, PJ_EINVAL); - - /* Get IP address table */ - rc = MyGetIpAddrTable(pTab, &tabSize, FALSE); - if (rc != NO_ERROR) { - if (rc == ERROR_INSUFFICIENT_BUFFER) { - /* Retry with larger buffer */ - pTab = (MIB_IPADDRTABLE*)malloc(tabSize); - if (pTab) - rc = MyGetIpAddrTable(pTab, &tabSize, FALSE); - } - - if (rc != NO_ERROR) { - if (pTab != (MIB_IPADDRTABLE*)ipTabBuff) - free(pTab); - return PJ_RETURN_OS_ERROR(rc); - } - } - - /* Reset result */ - pj_bzero(ifs, sizeof(ifs[0]) * (*p_cnt)); - - /* Now fill out the entries */ - count = (pTab->dwNumEntries < *p_cnt) ? pTab->dwNumEntries : *p_cnt; - *p_cnt = 0; - for (i=0; itable[i].dwAddr == 0) - continue; - - /* Ignore 0.0.0.0/8 address. This is a special address - * which doesn't seem to have practical use. - */ - if ((pj_ntohl(pTab->table[i].dwAddr) >> 24) == 0) - continue; - -#if PJ_IP_HELPER_IGNORE_LOOPBACK_IF - /* Investigate the type of this interface */ - pj_bzero(&ifRow, sizeof(ifRow)); - ifRow.dwIndex = pTab->table[i].dwIndex; - if (MyGetIfEntry(&ifRow) != 0) - continue; - - if (ifRow.dwType == MIB_IF_TYPE_LOOPBACK) - continue; -#endif - - ifs[*p_cnt].ipv4.sin_family = PJ_AF_INET; - ifs[*p_cnt].ipv4.sin_addr.s_addr = pTab->table[i].dwAddr; - (*p_cnt)++; - } - - if (pTab != (MIB_IPADDRTABLE*)ipTabBuff) - free(pTab); - - return (*p_cnt) ? PJ_SUCCESS : PJ_ENOTFOUND; -} - -/* Enumerate local IP interface using GetAdapterAddresses(), - * which works for both IPv4 and IPv6. - */ -static pj_status_t enum_ipv4_ipv6_interface(int af, - unsigned *p_cnt, - pj_sockaddr ifs[]) -{ - pj_uint8_t buffer[600]; - IP_ADAPTER_ADDRESSES *adapter = (IP_ADAPTER_ADDRESSES*)buffer; - void *adapterBuf = NULL; - ULONG size = sizeof(buffer); - ULONG flags; - unsigned i; - DWORD rc; - - flags = GAA_FLAG_SKIP_FRIENDLY_NAME | - GAA_FLAG_SKIP_DNS_SERVER | - GAA_FLAG_SKIP_MULTICAST; - - rc = MyGetAdapterAddresses(af, flags, NULL, adapter, &size); - if (rc != ERROR_SUCCESS) { - if (rc == ERROR_BUFFER_OVERFLOW) { - /* Retry with larger memory size */ - adapterBuf = malloc(size); - adapter = (IP_ADAPTER_ADDRESSES*) adapterBuf; - if (adapter != NULL) - rc = MyGetAdapterAddresses(af, flags, NULL, adapter, &size); - } - - if (rc != ERROR_SUCCESS) { - if (adapterBuf) - free(adapterBuf); - return PJ_RETURN_OS_ERROR(rc); - } - } - - /* Reset result */ - pj_bzero(ifs, sizeof(ifs[0]) * (*p_cnt)); - - /* Enumerate interface */ - for (i=0; i<*p_cnt && adapter; adapter = adapter->Next) { - if (adapter->FirstUnicastAddress) { - SOCKET_ADDRESS *pAddr = &adapter->FirstUnicastAddress->Address; - - /* Ignore address family which we didn't request, just in case */ - if (pAddr->lpSockaddr->sa_family != PJ_AF_INET && - pAddr->lpSockaddr->sa_family != PJ_AF_INET6) - { - continue; - } - - /* Apply some filtering to known IPv4 unusable addresses */ - if (pAddr->lpSockaddr->sa_family == PJ_AF_INET) { - const pj_sockaddr_in *addr_in = - (const pj_sockaddr_in*)pAddr->lpSockaddr; - - /* Ignore 0.0.0.0 address (interface is down?) */ - if (addr_in->sin_addr.s_addr == 0) - continue; - - /* Ignore 0.0.0.0/8 address. This is a special address - * which doesn't seem to have practical use. - */ - if ((pj_ntohl(addr_in->sin_addr.s_addr) >> 24) == 0) - continue; - } - -#if PJ_IP_HELPER_IGNORE_LOOPBACK_IF - /* Ignore loopback interfaces */ - /* This should have been IF_TYPE_SOFTWARE_LOOPBACK according to - * MSDN, and this macro should have been declared in Ipifcons.h, - * but some SDK versions don't have it. - */ - if (adapter->IfType == MIB_IF_TYPE_LOOPBACK) - continue; -#endif - - /* Ignore down interface */ - if (adapter->OperStatus != IfOperStatusUp) - continue; - - ifs[i].addr.sa_family = pAddr->lpSockaddr->sa_family; - pj_memcpy(&ifs[i], pAddr->lpSockaddr, pAddr->iSockaddrLength); - ++i; - } - } - - if (adapterBuf) - free(adapterBuf); - - *p_cnt = i; - return (*p_cnt) ? PJ_SUCCESS : PJ_ENOTFOUND; -} - - -/* - * Enumerate the local IP interface currently active in the host. - */ -PJ_DEF(pj_status_t) pj_enum_ip_interface(int af, - unsigned *p_cnt, - pj_sockaddr ifs[]) -{ - pj_status_t status = -1; - - PJ_ASSERT_RETURN(p_cnt && ifs, PJ_EINVAL); - PJ_ASSERT_RETURN(af==PJ_AF_UNSPEC || af==PJ_AF_INET || af==PJ_AF_INET6, - PJ_EAFNOTSUP); - - status = enum_ipv4_ipv6_interface(af, p_cnt, ifs); - if (status != PJ_SUCCESS && (af==PJ_AF_INET || af==PJ_AF_UNSPEC)) - status = enum_ipv4_interface(p_cnt, ifs); - return status; -} - -/* - * Enumerate the IP routing table for this host. - */ -PJ_DEF(pj_status_t) pj_enum_ip_route(unsigned *p_cnt, - pj_ip_route_entry routes[]) -{ - char ipTabBuff[1024]; - MIB_IPADDRTABLE *pIpTab; - char rtabBuff[1024]; - MIB_IPFORWARDTABLE *prTab; - ULONG tabSize; - unsigned i, count; - DWORD rc = NO_ERROR; - - PJ_ASSERT_RETURN(p_cnt && routes, PJ_EINVAL); - - pIpTab = (MIB_IPADDRTABLE *)ipTabBuff; - prTab = (MIB_IPFORWARDTABLE *)rtabBuff; - - /* First get IP address table */ - tabSize = sizeof(ipTabBuff); - rc = MyGetIpAddrTable(pIpTab, &tabSize, FALSE); - if (rc != NO_ERROR) - return PJ_RETURN_OS_ERROR(rc); - - /* Next get IP route table */ - tabSize = sizeof(rtabBuff); - - rc = MyGetIpForwardTable(prTab, &tabSize, 1); - if (rc != NO_ERROR) - return PJ_RETURN_OS_ERROR(rc); - - /* Reset routes */ - pj_bzero(routes, sizeof(routes[0]) * (*p_cnt)); - - /* Now fill out the route entries */ - count = (prTab->dwNumEntries < *p_cnt) ? prTab->dwNumEntries : *p_cnt; - *p_cnt = 0; - for (i=0; idwNumEntries; ++j) { - if (pIpTab->table[j].dwIndex == prTab->table[i].dwForwardIfIndex) - break; - } - - if (j==pIpTab->dwNumEntries) - continue; /* Interface not found */ - - routes[*p_cnt].ipv4.if_addr.s_addr = pIpTab->table[j].dwAddr; - routes[*p_cnt].ipv4.dst_addr.s_addr = prTab->table[i].dwForwardDest; - routes[*p_cnt].ipv4.mask.s_addr = prTab->table[i].dwForwardMask; - - (*p_cnt)++; - } - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjlib/src/pj/list.c b/res/pjproject/pjlib/src/pj/list.c deleted file mode 100644 index 2d7a3b06a4..0000000000 --- a/res/pjproject/pjlib/src/pj/list.c +++ /dev/null @@ -1,26 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include - -#if !PJ_FUNCTIONS_ARE_INLINED -# include -#endif - - diff --git a/res/pjproject/pjlib/src/pj/lock.c b/res/pjproject/pjlib/src/pj/lock.c deleted file mode 100644 index c281f8b38f..0000000000 --- a/res/pjproject/pjlib/src/pj/lock.c +++ /dev/null @@ -1,198 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - - -typedef void LOCK_OBJ; - -/* - * Lock structure. - */ -struct pj_lock_t -{ - LOCK_OBJ *lock_object; - - pj_status_t (*acquire) (LOCK_OBJ*); - pj_status_t (*tryacquire) (LOCK_OBJ*); - pj_status_t (*release) (LOCK_OBJ*); - pj_status_t (*destroy) (LOCK_OBJ*); -}; - -typedef pj_status_t (*FPTR)(LOCK_OBJ*); - -/****************************************************************************** - * Implementation of lock object with mutex. - */ -static pj_lock_t mutex_lock_template = -{ - NULL, - (FPTR) &pj_mutex_lock, - (FPTR) &pj_mutex_trylock, - (FPTR) &pj_mutex_unlock, - (FPTR) &pj_mutex_destroy -}; - -static pj_status_t create_mutex_lock( pj_pool_t *pool, - const char *name, - int type, - pj_lock_t **lock ) -{ - pj_lock_t *p_lock; - pj_mutex_t *mutex; - pj_status_t rc; - - PJ_ASSERT_RETURN(pool && lock, PJ_EINVAL); - - p_lock = PJ_POOL_ALLOC_T(pool, pj_lock_t); - if (!p_lock) - return PJ_ENOMEM; - - pj_memcpy(p_lock, &mutex_lock_template, sizeof(pj_lock_t)); - rc = pj_mutex_create(pool, name, type, &mutex); - if (rc != PJ_SUCCESS) - return rc; - - p_lock->lock_object = mutex; - *lock = p_lock; - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pj_lock_create_simple_mutex( pj_pool_t *pool, - const char *name, - pj_lock_t **lock ) -{ - return create_mutex_lock(pool, name, PJ_MUTEX_SIMPLE, lock); -} - -PJ_DEF(pj_status_t) pj_lock_create_recursive_mutex( pj_pool_t *pool, - const char *name, - pj_lock_t **lock ) -{ - return create_mutex_lock(pool, name, PJ_MUTEX_RECURSE, lock); -} - - -/****************************************************************************** - * Implementation of NULL lock object. - */ -static pj_status_t null_op(void *arg) -{ - PJ_UNUSED_ARG(arg); - return PJ_SUCCESS; -} - -static pj_lock_t null_lock_template = -{ - NULL, - &null_op, - &null_op, - &null_op, - &null_op -}; - -PJ_DEF(pj_status_t) pj_lock_create_null_mutex( pj_pool_t *pool, - const char *name, - pj_lock_t **lock ) -{ - PJ_UNUSED_ARG(name); - PJ_UNUSED_ARG(pool); - - PJ_ASSERT_RETURN(lock, PJ_EINVAL); - - *lock = &null_lock_template; - return PJ_SUCCESS; -} - - -/****************************************************************************** - * Implementation of semaphore lock object. - */ -#if defined(PJ_HAS_SEMAPHORE) && PJ_HAS_SEMAPHORE != 0 - -static pj_lock_t sem_lock_template = -{ - NULL, - (FPTR) &pj_sem_wait, - (FPTR) &pj_sem_trywait, - (FPTR) &pj_sem_post, - (FPTR) &pj_sem_destroy -}; - -PJ_DEF(pj_status_t) pj_lock_create_semaphore( pj_pool_t *pool, - const char *name, - unsigned initial, - unsigned max, - pj_lock_t **lock ) -{ - pj_lock_t *p_lock; - pj_sem_t *sem; - pj_status_t rc; - - PJ_ASSERT_RETURN(pool && lock, PJ_EINVAL); - - p_lock = PJ_POOL_ALLOC_T(pool, pj_lock_t); - if (!p_lock) - return PJ_ENOMEM; - - pj_memcpy(p_lock, &sem_lock_template, sizeof(pj_lock_t)); - rc = pj_sem_create( pool, name, initial, max, &sem); - if (rc != PJ_SUCCESS) - return rc; - - p_lock->lock_object = sem; - *lock = p_lock; - - return PJ_SUCCESS; -} - - -#endif /* PJ_HAS_SEMAPHORE */ - - -PJ_DEF(pj_status_t) pj_lock_acquire( pj_lock_t *lock ) -{ - PJ_ASSERT_RETURN(lock != NULL, PJ_EINVAL); - return (*lock->acquire)(lock->lock_object); -} - -PJ_DEF(pj_status_t) pj_lock_tryacquire( pj_lock_t *lock ) -{ - PJ_ASSERT_RETURN(lock != NULL, PJ_EINVAL); - return (*lock->tryacquire)(lock->lock_object); -} - -PJ_DEF(pj_status_t) pj_lock_release( pj_lock_t *lock ) -{ - PJ_ASSERT_RETURN(lock != NULL, PJ_EINVAL); - return (*lock->release)(lock->lock_object); -} - -PJ_DEF(pj_status_t) pj_lock_destroy( pj_lock_t *lock ) -{ - PJ_ASSERT_RETURN(lock != NULL, PJ_EINVAL); - return (*lock->destroy)(lock->lock_object); -} - diff --git a/res/pjproject/pjlib/src/pj/log.c b/res/pjproject/pjlib/src/pj/log.c deleted file mode 100644 index 5d56d8ed9b..0000000000 --- a/res/pjproject/pjlib/src/pj/log.c +++ /dev/null @@ -1,543 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - -#if PJ_LOG_MAX_LEVEL >= 1 - -#if 0 -PJ_DEF_DATA(int) pj_log_max_level = PJ_LOG_MAX_LEVEL; -#else -static int pj_log_max_level = PJ_LOG_MAX_LEVEL; -#endif - -static void *g_last_thread; - -#if PJ_HAS_THREADS -static long thread_suspended_tls_id = -1; -# if PJ_LOG_ENABLE_INDENT -static long thread_indent_tls_id = -1; -# endif -#endif - -#if !PJ_LOG_ENABLE_INDENT || !PJ_HAS_THREADS -static int log_indent; -#endif - -static pj_log_func *log_writer = &pj_log_write; -static unsigned log_decor = PJ_LOG_HAS_TIME | PJ_LOG_HAS_MICRO_SEC | - PJ_LOG_HAS_SENDER | PJ_LOG_HAS_NEWLINE | - PJ_LOG_HAS_SPACE | PJ_LOG_HAS_THREAD_SWC | - PJ_LOG_HAS_INDENT -#if defined(PJ_WIN32) && PJ_WIN32!=0 - | PJ_LOG_HAS_COLOR -#endif - ; - -static pj_color_t PJ_LOG_COLOR_0 = PJ_TERM_COLOR_BRIGHT | PJ_TERM_COLOR_R; -static pj_color_t PJ_LOG_COLOR_1 = PJ_TERM_COLOR_BRIGHT | PJ_TERM_COLOR_R; -static pj_color_t PJ_LOG_COLOR_2 = PJ_TERM_COLOR_BRIGHT | - PJ_TERM_COLOR_R | - PJ_TERM_COLOR_G; -static pj_color_t PJ_LOG_COLOR_3 = PJ_TERM_COLOR_BRIGHT | - PJ_TERM_COLOR_R | - PJ_TERM_COLOR_G | - PJ_TERM_COLOR_B; -static pj_color_t PJ_LOG_COLOR_4 = PJ_TERM_COLOR_R | - PJ_TERM_COLOR_G | - PJ_TERM_COLOR_B; -static pj_color_t PJ_LOG_COLOR_5 = PJ_TERM_COLOR_R | - PJ_TERM_COLOR_G | - PJ_TERM_COLOR_B; -static pj_color_t PJ_LOG_COLOR_6 = PJ_TERM_COLOR_R | - PJ_TERM_COLOR_G | - PJ_TERM_COLOR_B; -/* Default terminal color */ -static pj_color_t PJ_LOG_COLOR_77 = PJ_TERM_COLOR_R | - PJ_TERM_COLOR_G | - PJ_TERM_COLOR_B; - -#if PJ_LOG_USE_STACK_BUFFER==0 -static char log_buffer[PJ_LOG_MAX_SIZE]; -#endif - -#define LOG_MAX_INDENT 80 - -#if PJ_HAS_THREADS -static void logging_shutdown(void) -{ - if (thread_suspended_tls_id != -1) { - pj_thread_local_free(thread_suspended_tls_id); - thread_suspended_tls_id = -1; - } -# if PJ_LOG_ENABLE_INDENT - if (thread_indent_tls_id != -1) { - pj_thread_local_free(thread_indent_tls_id); - thread_indent_tls_id = -1; - } -# endif -} -#endif /* PJ_HAS_THREADS */ - -#if PJ_LOG_ENABLE_INDENT && PJ_HAS_THREADS -static void log_set_indent(int indent) -{ - if (indent < 0) indent = 0; - pj_thread_local_set(thread_indent_tls_id, (void*)(long)indent); -} - -static int log_get_raw_indent(void) -{ - return (long)pj_thread_local_get(thread_indent_tls_id); -} - -#else -static void log_set_indent(int indent) -{ - log_indent = indent; - if (log_indent < 0) log_indent = 0; -} - -static int log_get_raw_indent(void) -{ - return log_indent; -} -#endif /* PJ_LOG_ENABLE_INDENT && PJ_HAS_THREADS */ - -static int log_get_indent(void) -{ - int indent = log_get_raw_indent(); - return indent > LOG_MAX_INDENT ? LOG_MAX_INDENT : indent; -} - -PJ_DEF(void) pj_log_add_indent(int indent) -{ - log_set_indent(log_get_raw_indent() + indent); -} - -PJ_DEF(void) pj_log_push_indent(void) -{ - pj_log_add_indent(PJ_LOG_INDENT_SIZE); -} - -PJ_DEF(void) pj_log_pop_indent(void) -{ - pj_log_add_indent(-PJ_LOG_INDENT_SIZE); -} - -pj_status_t pj_log_init(void) -{ -#if PJ_HAS_THREADS - if (thread_suspended_tls_id == -1) { - pj_status_t status; - status = pj_thread_local_alloc(&thread_suspended_tls_id); - if (status != PJ_SUCCESS) - return status; - -# if PJ_LOG_ENABLE_INDENT - status = pj_thread_local_alloc(&thread_indent_tls_id); - if (status != PJ_SUCCESS) { - pj_thread_local_free(thread_suspended_tls_id); - thread_suspended_tls_id = -1; - return status; - } -# endif - pj_atexit(&logging_shutdown); - } -#endif - g_last_thread = NULL; - return PJ_SUCCESS; -} - -PJ_DEF(void) pj_log_set_decor(unsigned decor) -{ - log_decor = decor; -} - -PJ_DEF(unsigned) pj_log_get_decor(void) -{ - return log_decor; -} - -PJ_DEF(void) pj_log_set_color(int level, pj_color_t color) -{ - switch (level) - { - case 0: PJ_LOG_COLOR_0 = color; - break; - case 1: PJ_LOG_COLOR_1 = color; - break; - case 2: PJ_LOG_COLOR_2 = color; - break; - case 3: PJ_LOG_COLOR_3 = color; - break; - case 4: PJ_LOG_COLOR_4 = color; - break; - case 5: PJ_LOG_COLOR_5 = color; - break; - case 6: PJ_LOG_COLOR_6 = color; - break; - /* Default terminal color */ - case 77: PJ_LOG_COLOR_77 = color; - break; - default: - /* Do nothing */ - break; - } -} - -PJ_DEF(pj_color_t) pj_log_get_color(int level) -{ - switch (level) { - case 0: - return PJ_LOG_COLOR_0; - case 1: - return PJ_LOG_COLOR_1; - case 2: - return PJ_LOG_COLOR_2; - case 3: - return PJ_LOG_COLOR_3; - case 4: - return PJ_LOG_COLOR_4; - case 5: - return PJ_LOG_COLOR_5; - case 6: - return PJ_LOG_COLOR_6; - default: - /* Return default terminal color */ - return PJ_LOG_COLOR_77; - } -} - -PJ_DEF(void) pj_log_set_level(int level) -{ - pj_log_max_level = level; -} - -#if 1 -PJ_DEF(int) pj_log_get_level(void) -{ - return pj_log_max_level; -} -#endif - -PJ_DEF(void) pj_log_set_log_func( pj_log_func *func ) -{ - log_writer = func; -} - -PJ_DEF(pj_log_func*) pj_log_get_log_func(void) -{ - return log_writer; -} - -/* Temporarily suspend logging facility for this thread. - * If thread local storage/variable is not used or not initialized, then - * we can only suspend the logging globally across all threads. This may - * happen e.g. when log function is called before PJLIB is fully initialized - * or after PJLIB is shutdown. - */ -static void suspend_logging(int *saved_level) -{ - /* Save the level regardless, just in case PJLIB is shutdown - * between suspend and resume. - */ - *saved_level = pj_log_max_level; - -#if PJ_HAS_THREADS - if (thread_suspended_tls_id != -1) - { - pj_thread_local_set(thread_suspended_tls_id, (void*)PJ_TRUE); - } - else -#endif - { - pj_log_max_level = 0; - } -} - -/* Resume logging facility for this thread */ -static void resume_logging(int *saved_level) -{ -#if PJ_HAS_THREADS - if (thread_suspended_tls_id != -1) - { - pj_thread_local_set(thread_suspended_tls_id, (void*)PJ_FALSE); - } - else -#endif - { - /* Only revert the level if application doesn't change the - * logging level between suspend and resume. - */ - if (pj_log_max_level==0 && *saved_level) - pj_log_max_level = *saved_level; - } -} - -/* Is logging facility suspended for this thread? */ -static pj_bool_t is_logging_suspended(void) -{ -#if PJ_HAS_THREADS - if (thread_suspended_tls_id != -1) - { - return pj_thread_local_get(thread_suspended_tls_id) != NULL; - } - else -#endif - { - return pj_log_max_level == 0; - } -} - -PJ_DEF(void) pj_log( const char *sender, int level, - const char *format, va_list marker) -{ - pj_time_val now; - pj_parsed_time ptime; - char *pre; -#if PJ_LOG_USE_STACK_BUFFER - char log_buffer[PJ_LOG_MAX_SIZE]; -#endif - int saved_level, len, print_len, indent; - - PJ_CHECK_STACK(); - - if (level > pj_log_max_level) - return; - - if (is_logging_suspended()) - return; - - /* Temporarily disable logging for this thread. Some of PJLIB APIs that - * this function calls below will recursively call the logging function - * back, hence it will cause infinite recursive calls if we allow that. - */ - suspend_logging(&saved_level); - - /* Get current date/time. */ - pj_gettimeofday(&now); - pj_time_decode(&now, &ptime); - - pre = log_buffer; - if (log_decor & PJ_LOG_HAS_LEVEL_TEXT) { - static const char *ltexts[] = { "FATAL:", "ERROR:", " WARN:", - " INFO:", "DEBUG:", "TRACE:", "DETRC:"}; - pj_ansi_strcpy(pre, ltexts[level]); - pre += 6; - } - if (log_decor & PJ_LOG_HAS_DAY_NAME) { - static const char *wdays[] = { "Sun", "Mon", "Tue", "Wed", - "Thu", "Fri", "Sat"}; - pj_ansi_strcpy(pre, wdays[ptime.wday]); - pre += 3; - } - if (log_decor & PJ_LOG_HAS_YEAR) { - if (pre!=log_buffer) *pre++ = ' '; - pre += pj_utoa(ptime.year, pre); - } - if (log_decor & PJ_LOG_HAS_MONTH) { - *pre++ = '-'; - pre += pj_utoa_pad(ptime.mon+1, pre, 2, '0'); - } - if (log_decor & PJ_LOG_HAS_DAY_OF_MON) { - *pre++ = '-'; - pre += pj_utoa_pad(ptime.day, pre, 2, '0'); - } - if (log_decor & PJ_LOG_HAS_TIME) { - if (pre!=log_buffer) *pre++ = ' '; - pre += pj_utoa_pad(ptime.hour, pre, 2, '0'); - *pre++ = ':'; - pre += pj_utoa_pad(ptime.min, pre, 2, '0'); - *pre++ = ':'; - pre += pj_utoa_pad(ptime.sec, pre, 2, '0'); - } - if (log_decor & PJ_LOG_HAS_MICRO_SEC) { - *pre++ = '.'; - pre += pj_utoa_pad(ptime.msec, pre, 3, '0'); - } - if (log_decor & PJ_LOG_HAS_SENDER) { - enum { SENDER_WIDTH = 14 }; - int sender_len = strlen(sender); - if (pre!=log_buffer) *pre++ = ' '; - if (sender_len <= SENDER_WIDTH) { - while (sender_len < SENDER_WIDTH) - *pre++ = ' ', ++sender_len; - while (*sender) - *pre++ = *sender++; - } else { - int i; - for (i=0; i 0) { - pj_memset(pre, PJ_LOG_INDENT_CHAR, indent); - pre += indent; - } - } -#endif - - len = pre - log_buffer; - - /* Print the whole message to the string log_buffer. */ - print_len = pj_ansi_vsnprintf(pre, sizeof(log_buffer)-len, format, - marker); - if (print_len < 0) { - level = 1; - print_len = pj_ansi_snprintf(pre, sizeof(log_buffer)-len, - ""); - } - len = len + print_len; - if (len > 0 && len < (int)sizeof(log_buffer)-2) { - if (log_decor & PJ_LOG_HAS_CR) { - log_buffer[len++] = '\r'; - } - if (log_decor & PJ_LOG_HAS_NEWLINE) { - log_buffer[len++] = '\n'; - } - log_buffer[len] = '\0'; - } else { - len = sizeof(log_buffer)-1; - if (log_decor & PJ_LOG_HAS_CR) { - log_buffer[sizeof(log_buffer)-3] = '\r'; - } - if (log_decor & PJ_LOG_HAS_NEWLINE) { - log_buffer[sizeof(log_buffer)-2] = '\n'; - } - log_buffer[sizeof(log_buffer)-1] = '\0'; - } - - /* It should be safe to resume logging at this point. Application can - * recursively call the logging function inside the callback. - */ - resume_logging(&saved_level); - - if (log_writer) - (*log_writer)(level, log_buffer, len); -} - -/* -PJ_DEF(void) pj_log_0(const char *obj, const char *format, ...) -{ - va_list arg; - va_start(arg, format); - pj_log(obj, 0, format, arg); - va_end(arg); -} -*/ - -PJ_DEF(void) pj_log_1(const char *obj, const char *format, ...) -{ - va_list arg; - va_start(arg, format); - pj_log(obj, 1, format, arg); - va_end(arg); -} -#endif /* PJ_LOG_MAX_LEVEL >= 1 */ - -#if PJ_LOG_MAX_LEVEL >= 2 -PJ_DEF(void) pj_log_2(const char *obj, const char *format, ...) -{ - va_list arg; - va_start(arg, format); - pj_log(obj, 2, format, arg); - va_end(arg); -} -#endif - -#if PJ_LOG_MAX_LEVEL >= 3 -PJ_DEF(void) pj_log_3(const char *obj, const char *format, ...) -{ - va_list arg; - va_start(arg, format); - pj_log(obj, 3, format, arg); - va_end(arg); -} -#endif - -#if PJ_LOG_MAX_LEVEL >= 4 -PJ_DEF(void) pj_log_4(const char *obj, const char *format, ...) -{ - va_list arg; - va_start(arg, format); - pj_log(obj, 4, format, arg); - va_end(arg); -} -#endif - -#if PJ_LOG_MAX_LEVEL >= 5 -PJ_DEF(void) pj_log_5(const char *obj, const char *format, ...) -{ - va_list arg; - va_start(arg, format); - pj_log(obj, 5, format, arg); - va_end(arg); -} -#endif - -#if PJ_LOG_MAX_LEVEL >= 6 -PJ_DEF(void) pj_log_6(const char *obj, const char *format, ...) -{ - va_list arg; - va_start(arg, format); - pj_log(obj, 6, format, arg); - va_end(arg); -} -#endif - diff --git a/res/pjproject/pjlib/src/pj/log_writer_printk.c b/res/pjproject/pjlib/src/pj/log_writer_printk.c deleted file mode 100644 index 51ab669949..0000000000 --- a/res/pjproject/pjlib/src/pj/log_writer_printk.c +++ /dev/null @@ -1,28 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -PJ_DEF(void) pj_log_write(int level, const char *buffer, int len) -{ - PJ_CHECK_STACK(); - printk(KERN_INFO "%s", buffer); -} - diff --git a/res/pjproject/pjlib/src/pj/log_writer_stdout.c b/res/pjproject/pjlib/src/pj/log_writer_stdout.c deleted file mode 100644 index ede1505970..0000000000 --- a/res/pjproject/pjlib/src/pj/log_writer_stdout.c +++ /dev/null @@ -1,57 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - - -static void term_set_color(int level) -{ -#if defined(PJ_TERM_HAS_COLOR) && PJ_TERM_HAS_COLOR != 0 - pj_term_set_color(pj_log_get_color(level)); -#else - PJ_UNUSED_ARG(level); -#endif -} - -static void term_restore_color(void) -{ -#if defined(PJ_TERM_HAS_COLOR) && PJ_TERM_HAS_COLOR != 0 - /* Set terminal to its default color */ - pj_term_set_color(pj_log_get_color(77)); -#endif -} - - -PJ_DEF(void) pj_log_write(int level, const char *buffer, int len) -{ - PJ_CHECK_STACK(); - PJ_UNUSED_ARG(len); - - /* Copy to terminal/file. */ - if (pj_log_get_decor() & PJ_LOG_HAS_COLOR) { - term_set_color(level); - printf("%s", buffer); - term_restore_color(); - } else { - printf("%s", buffer); - } -} - diff --git a/res/pjproject/pjlib/src/pj/log_writer_symbian_console.cpp b/res/pjproject/pjlib/src/pj/log_writer_symbian_console.cpp deleted file mode 100644 index 0ecb82659b..0000000000 --- a/res/pjproject/pjlib/src/pj/log_writer_symbian_console.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - -#include "os_symbian.h" -#include - -PJ_DEF(void) pj_log_write(int level, const char *buffer, int len) -{ -#if 0 - wchar_t wbuffer[PJ_LOG_MAX_SIZE]; - CConsoleBase *cons = PjSymbianOS::Instance->Console(); - - pj_ansi_to_unicode(buffer, len, wbuffer, PJ_ARRAY_SIZE(wbuffer)); - - - TPtrC16 aPtr((TUint16*)wbuffer, len); - console->Write(aPtr); -#else - PJ_UNUSED_ARG(level); - PJ_UNUSED_ARG(buffer); - PJ_UNUSED_ARG(len); -#endif -} - diff --git a/res/pjproject/pjlib/src/pj/os_core_darwin.m b/res/pjproject/pjlib/src/pj/os_core_darwin.m deleted file mode 100644 index 7b21f8720c..0000000000 --- a/res/pjproject/pjlib/src/pj/os_core_darwin.m +++ /dev/null @@ -1,100 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include "TargetConditionals.h" - -#if TARGET_OS_IPHONE - -PJ_DEF(int) pj_run_app(pj_main_func_ptr main_func, int argc, char *argv[], - unsigned flags) -{ - return (*main_func)(argc, argv); -} - -#else - -#include -#include -#include -#include - -#define THIS_FILE "os_core_darwin.m" - -typedef struct run_app_t { - pj_main_func_ptr main_func; - int argc; - char **argv; - int retval; -} run_app_t; - -@interface DeadThread: NSObject { ;; } -+ (void)enterMultiThreadedMode; -+ (void)emptyThreadMethod:(id)obj; -@end - -@implementation DeadThread -+ (void)enterMultiThreadedMode -{ - [NSThread detachNewThreadSelector:@selector(emptyThreadMethod:) - toTarget:[DeadThread class] withObject:nil]; -} - -+ (void)emptyThreadMethod:(id)obj { ; } -@end - -static void* main_thread(void *data) -{ - run_app_t *param = (run_app_t *)data; - - param->retval = (*param->main_func)(param->argc, param->argv); - CFRunLoopStop(CFRunLoopGetMain()); - - return NULL; -} - -/* - * pj_run_app() - * This function has to be called from the main thread. The purpose of - * this function is to initialize the application's memory pool, event - * loop management, and multi-threading environment. - */ -PJ_DEF(int) pj_run_app(pj_main_func_ptr main_func, int argc, char *argv[], - unsigned flags) -{ - pthread_t thread; - run_app_t param; - NSAutoreleasePool *pool; - - pool = [[NSAutoreleasePool alloc] init]; - [NSApplication sharedApplication]; - [DeadThread enterMultiThreadedMode]; - - param.argc = argc; - param.argv = (char **)argv; - param.main_func = main_func; - if (pthread_create(&thread, NULL, &main_thread, ¶m) == 0) { - CFRunLoopRun(); - } - - PJ_UNUSED_ARG(pool); - - return param.retval; -} - -#endif diff --git a/res/pjproject/pjlib/src/pj/os_core_linux_kernel.c b/res/pjproject/pjlib/src/pj/os_core_linux_kernel.c deleted file mode 100644 index c1c5ca21b7..0000000000 --- a/res/pjproject/pjlib/src/pj/os_core_linux_kernel.c +++ /dev/null @@ -1,698 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#if defined(MODVERSIONS) -#include -#endif -#include -#include -//#include -#include -#include - -#include -#include -#include - -#define THIS_FILE "oslinuxkern" - -struct pj_thread_t -{ - /** Thread's name. */ - char obj_name[PJ_MAX_OBJ_NAME]; - - /** Linux task structure for thread. */ - struct task_struct *thread; - - /** Flags (specified in pj_thread_create) */ - unsigned flags; - - /** Task queue needed to launch thread. */ - //struct tq_struct tq; - - /** Semaphore needed to control thread startup. */ - struct semaphore startstop_sem; - - /** Semaphore to suspend thread during startup. */ - struct semaphore suspend_sem; - - /** Queue thread is waiting on. Gets initialized by - thread_initialize, can be used by thread itself. - */ - wait_queue_head_t queue; - - /** Flag to tell thread whether to die or not. - When the thread receives a signal, it must check - the value of terminate and call thread_deinitialize and terminate - if set. - */ - int terminate; - - /** Thread's entry. */ - pj_thread_proc *func; - - /** Argument. */ - void *arg; -}; - -struct pj_atomic_t -{ - atomic_t atom; -}; - -struct pj_mutex_t -{ - struct semaphore sem; - pj_bool_t recursive; - pj_thread_t *owner; - int own_count; -}; - -struct pj_sem_t -{ - struct semaphore sem; -}; - -/* - * Static global variables. - */ -#define MAX_TLS_ID 32 -static void *tls_values[MAX_TLS_ID]; -static int tls_id; -static long thread_tls_id; -static spinlock_t critical_section = SPIN_LOCK_UNLOCKED; -static unsigned long spinlock_flags; -static pj_thread_t main_thread; - -/* private functions */ -//#define TRACE_(expr) PJ_LOG(3,expr) -#define TRACE_(x) - - -/* This must be called in the context of the new thread. */ -static void thread_initialize( pj_thread_t *thread ) -{ - TRACE_((THIS_FILE, "---new thread initializing...")); - - /* Set TLS */ - pj_thread_local_set(thread_tls_id, thread); - - /* fill in thread structure */ - thread->thread = current; - pj_assert(thread->thread != NULL); - - /* set signal mask to what we want to respond */ - siginitsetinv(¤t->blocked, - sigmask(SIGKILL)|sigmask(SIGINT)|sigmask(SIGTERM)); - - /* initialise wait queue */ - init_waitqueue_head(&thread->queue); - - /* initialise termination flag */ - thread->terminate = 0; - - /* set name of this process (making sure obj_name is null - * terminated first) - */ - thread->obj_name[PJ_MAX_OBJ_NAME-1] = '\0'; - sprintf(current->comm, thread->obj_name); - - /* tell the creator that we are ready and let him continue */ - up(&thread->startstop_sem); -} - -/* cleanup of thread. Called by the exiting thread. */ -static void thread_deinitialize(pj_thread_t *thread) -{ - /* we are terminating */ - - /* lock the kernel, the exit will unlock it */ - thread->thread = NULL; - mb(); - - /* notify the stop_kthread() routine that we are terminating. */ - up(&thread->startstop_sem); - - /* the kernel_thread that called clone() does a do_exit here. */ - - /* there is no race here between execution of the "killer" and - real termination of the thread (race window between up and do_exit), - since both the thread and the "killer" function are running with - the kernel lock held. - The kernel lock will be freed after the thread exited, so the code - is really not executed anymore as soon as the unload functions gets - the kernel lock back. - The init process may not have made the cleanup of the process here, - but the cleanup can be done safely with the module unloaded. - */ - -} - -static int thread_proc(void *arg) -{ - pj_thread_t *thread = arg; - - TRACE_((THIS_FILE, "---new thread starting!")); - - /* Initialize thread. */ - thread_initialize( thread ); - - /* Wait if created suspended. */ - if (thread->flags & PJ_THREAD_SUSPENDED) { - TRACE_((THIS_FILE, "---new thread suspended...")); - down(&thread->suspend_sem); - } - - TRACE_((THIS_FILE, "---new thread running...")); - - pj_assert(thread->func != NULL); - - /* Call thread's entry. */ - (*thread->func)(thread->arg); - - TRACE_((THIS_FILE, "---thread exiting...")); - - /* Cleanup thread. */ - thread_deinitialize(thread); - - return 0; -} - -/* The very task entry. */ -static void kthread_launcher(void *arg) -{ - TRACE_((THIS_FILE, "...launching thread!...")); - kernel_thread(&thread_proc, arg, 0); -} - -PJ_DEF(pj_status_t) pj_init(void) -{ - pj_status_t rc; - - PJ_LOG(5, ("pj_init", "Initializing PJ Library..")); - - rc = pj_thread_init(); - if (rc != PJ_SUCCESS) - return rc; - - /* Initialize exception ID for the pool. - * Must do so after critical section is configured. - */ - rc = pj_exception_id_alloc("PJLIB/No memory", &PJ_NO_MEMORY_EXCEPTION); - if (rc != PJ_SUCCESS) - return rc; - - return PJ_SUCCESS; -} - -PJ_DEF(pj_uint32_t) pj_getpid(void) -{ - return 1; -} - -PJ_DEF(pj_status_t) pj_thread_register ( const char *cstr_thread_name, - pj_thread_desc desc, - pj_thread_t **ptr_thread) -{ - char stack_ptr; - pj_thread_t *thread = (pj_thread_t *)desc; - pj_str_t thread_name = pj_str((char*)cstr_thread_name); - - /* Size sanity check. */ - if (sizeof(pj_thread_desc) < sizeof(pj_thread_t)) { - pj_assert(!"Not enough pj_thread_desc size!"); - return PJ_EBUG; - } - - /* If a thread descriptor has been registered before, just return it. */ - if (pj_thread_local_get (thread_tls_id) != 0) { - // 2006-02-26 bennylp: - // This wouldn't work in all cases!. - // If thread is created by external module (e.g. sound thread), - // thread may be reused while the pool used for the thread descriptor - // has been deleted by application. - //*thread_ptr = (pj_thread_t*)pj_thread_local_get (thread_tls_id); - //return PJ_SUCCESS; - } - - /* Initialize and set the thread entry. */ - pj_bzero(desc, sizeof(struct pj_thread_t)); - - if(cstr_thread_name && pj_strlen(&thread_name) < sizeof(thread->obj_name)-1) - pj_sprintf(thread->obj_name, cstr_thread_name, thread->thread); - else - pj_snprintf(thread->obj_name, sizeof(thread->obj_name), - "thr%p", (void*)thread->thread); - - /* Initialize. */ - thread_initialize(thread); - - /* Eat semaphore. */ - down(&thread->startstop_sem); - -#if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK!=0 - thread->stk_start = &stack_ptr; - thread->stk_size = 0xFFFFFFFFUL; - thread->stk_max_usage = 0; -#else - stack_ptr = '\0'; -#endif - - *ptr_thread = thread; - return PJ_SUCCESS; -} - - -pj_status_t pj_thread_init(void) -{ - pj_status_t rc; - pj_thread_t *dummy; - - rc = pj_thread_local_alloc(&thread_tls_id); - if (rc != PJ_SUCCESS) - return rc; - - return pj_thread_register("pjlib-main", (long*)&main_thread, &dummy); -} - -PJ_DEF(pj_status_t) pj_thread_create( pj_pool_t *pool, const char *thread_name, - pj_thread_proc *proc, void *arg, - pj_size_t stack_size, unsigned flags, - pj_thread_t **ptr_thread) -{ - pj_thread_t *thread; - - TRACE_((THIS_FILE, "pj_thread_create()")); - - PJ_ASSERT_RETURN(pool && proc && ptr_thread, PJ_EINVAL); - - thread = pj_pool_zalloc(pool, sizeof(pj_thread_t)); - if (!thread) - return PJ_ENOMEM; - - PJ_UNUSED_ARG(stack_size); - - /* Thread name. */ - if (!thread_name) - thread_name = "thr%p"; - - if (strchr(thread_name, '%')) { - pj_snprintf(thread->obj_name, PJ_MAX_OBJ_NAME, thread_name, thread); - } else { - strncpy(thread->obj_name, thread_name, PJ_MAX_OBJ_NAME); - thread->obj_name[PJ_MAX_OBJ_NAME-1] = '\0'; - } - - /* Init thread's semaphore. */ - TRACE_((THIS_FILE, "...init semaphores...")); - init_MUTEX_LOCKED(&thread->startstop_sem); - init_MUTEX_LOCKED(&thread->suspend_sem); - - thread->flags = flags; - - if ((flags & PJ_THREAD_SUSPENDED) == 0) { - up(&thread->suspend_sem); - } - - /* Store the functions and argument. */ - thread->func = proc; - thread->arg = arg; - - /* Save return value. */ - *ptr_thread = thread; - - /* Create the new thread by running a task through keventd. */ - -#if 0 - /* Initialize the task queue struct. */ - thread->tq.sync = 0; - INIT_LIST_HEAD(&thread->tq.list); - thread->tq.routine = kthread_launcher; - thread->tq.data = thread; - - /* and schedule it for execution. */ - schedule_task(&thread->tq); -#endif - kthread_launcher(thread); - - /* Wait until thread has reached the setup_thread routine. */ - TRACE_((THIS_FILE, "...wait for the new thread...")); - down(&thread->startstop_sem); - - TRACE_((THIS_FILE, "...main thread resumed...")); - return PJ_SUCCESS; -} - -PJ_DEF(const char*) pj_thread_get_name(pj_thread_t *thread) -{ - return thread->obj_name; -} - -PJ_DEF(pj_status_t) pj_thread_resume(pj_thread_t *thread) -{ - up(&thread->suspend_sem); - return PJ_SUCCESS; -} - -PJ_DEF(pj_thread_t*) pj_thread_this(void) -{ - return (pj_thread_t*)pj_thread_local_get(thread_tls_id); -} - -PJ_DEF(pj_status_t) pj_thread_join(pj_thread_t *p) -{ - TRACE_((THIS_FILE, "pj_thread_join()")); - down(&p->startstop_sem); - TRACE_((THIS_FILE, " joined!")); - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_thread_destroy(pj_thread_t *thread) -{ - PJ_ASSERT_RETURN(thread != NULL, PJ_EINVALIDOP); - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_thread_sleep(unsigned msec) -{ - pj_highprec_t ticks; - pj_thread_t *thread = pj_thread_this(); - - PJ_ASSERT_RETURN(thread != NULL, PJ_EBUG); - - /* Use high precision calculation to make sure we don't - * crop values: - * - * ticks = HZ * msec / 1000 - */ - ticks = HZ; - pj_highprec_mul(ticks, msec); - pj_highprec_div(ticks, 1000); - - TRACE_((THIS_FILE, "this thread will sleep for %u ticks", ticks)); - interruptible_sleep_on_timeout( &thread->queue, ticks); - return PJ_SUCCESS; -} - - -/////////////////////////////////////////////////////////////////////////////// -PJ_DEF(pj_status_t) pj_atomic_create( pj_pool_t *pool, - pj_atomic_value_t value, - pj_atomic_t **ptr_var) -{ - pj_atomic_t *t = pj_pool_calloc(pool, 1, sizeof(pj_atomic_t)); - if (!t) return PJ_ENOMEM; - - atomic_set(&t->atom, value); - *ptr_var = t; - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_atomic_destroy( pj_atomic_t *var ) -{ - return PJ_SUCCESS; -} - -PJ_DEF(void) pj_atomic_set(pj_atomic_t *var, pj_atomic_value_t value) -{ - atomic_set(&var->atom, value); -} - -PJ_DEF(pj_atomic_value_t) pj_atomic_get(pj_atomic_t *var) -{ - return atomic_read(&var->atom); -} - -PJ_DEF(void) pj_atomic_inc(pj_atomic_t *var) -{ - atomic_inc(&var->atom); -} - -PJ_DEF(void) pj_atomic_dec(pj_atomic_t *var) -{ - atomic_dec(&var->atom); -} - -PJ_DEF(void) pj_atomic_add( pj_atomic_t *var, pj_atomic_value_t value ) -{ - atomic_add(value, &var->atom); -} - - -/////////////////////////////////////////////////////////////////////////////// -PJ_DEF(pj_status_t) pj_thread_local_alloc(long *index) -{ - if (tls_id >= MAX_TLS_ID) - return PJ_ETOOMANY; - - *index = tls_id++; - - return PJ_SUCCESS; -} - -PJ_DEF(void) pj_thread_local_free(long index) -{ - pj_assert(index >= 0 && index < MAX_TLS_ID); -} - -PJ_DEF(pj_status_t) pj_thread_local_set(long index, void *value) -{ - pj_assert(index >= 0 && index < MAX_TLS_ID); - tls_values[index] = value; - return PJ_SUCCESS; -} - -PJ_DEF(void*) pj_thread_local_get(long index) -{ - pj_assert(index >= 0 && index < MAX_TLS_ID); - return tls_values[index]; -} - - -/////////////////////////////////////////////////////////////////////////////// -PJ_DEF(void) pj_enter_critical_section(void) -{ - spin_lock_irqsave(&critical_section, spinlock_flags); -} - -PJ_DEF(void) pj_leave_critical_section(void) -{ - spin_unlock_irqrestore(&critical_section, spinlock_flags); -} - - -/////////////////////////////////////////////////////////////////////////////// -PJ_DEF(pj_status_t) pj_mutex_create( pj_pool_t *pool, - const char *name, - int type, - pj_mutex_t **ptr_mutex) -{ - pj_mutex_t *mutex; - - PJ_UNUSED_ARG(name); - - mutex = pj_pool_alloc(pool, sizeof(pj_mutex_t)); - if (!mutex) - return PJ_ENOMEM; - - init_MUTEX(&mutex->sem); - - mutex->recursive = (type == PJ_MUTEX_RECURSE); - mutex->owner = NULL; - mutex->own_count = 0; - - /* Done. */ - *ptr_mutex = mutex; - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_mutex_create_simple( pj_pool_t *pool, const char *name, - pj_mutex_t **mutex ) -{ - return pj_mutex_create(pool, name, PJ_MUTEX_SIMPLE, mutex); -} - -PJ_DEF(pj_status_t) pj_mutex_create_recursive( pj_pool_t *pool, - const char *name, - pj_mutex_t **mutex ) -{ - return pj_mutex_create( pool, name, PJ_MUTEX_RECURSE, mutex); -} - -PJ_DEF(pj_status_t) pj_mutex_lock(pj_mutex_t *mutex) -{ - PJ_ASSERT_RETURN(mutex, PJ_EINVAL); - - if (mutex->recursive) { - pj_thread_t *this_thread = pj_thread_this(); - if (mutex->owner == this_thread) { - ++mutex->own_count; - } else { - down(&mutex->sem); - pj_assert(mutex->own_count == 0); - mutex->owner = this_thread; - mutex->own_count = 1; - } - } else { - down(&mutex->sem); - } - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_mutex_trylock(pj_mutex_t *mutex) -{ - long rc; - - PJ_ASSERT_RETURN(mutex, PJ_EINVAL); - - if (mutex->recursive) { - pj_thread_t *this_thread = pj_thread_this(); - if (mutex->owner == this_thread) { - ++mutex->own_count; - } else { - rc = down_interruptible(&mutex->sem); - if (rc != 0) - return PJ_RETURN_OS_ERROR(-rc); - pj_assert(mutex->own_count == 0); - mutex->owner = this_thread; - mutex->own_count = 1; - } - } else { - int rc = down_trylock(&mutex->sem); - if (rc != 0) - return PJ_RETURN_OS_ERROR(-rc); - } - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_mutex_unlock(pj_mutex_t *mutex) -{ - PJ_ASSERT_RETURN(mutex, PJ_EINVAL); - - if (mutex->recursive) { - pj_thread_t *this_thread = pj_thread_this(); - if (mutex->owner == this_thread) { - pj_assert(mutex->own_count > 0); - --mutex->own_count; - if (mutex->own_count == 0) { - mutex->owner = NULL; - up(&mutex->sem); - } - } else { - pj_assert(!"Not owner!"); - return PJ_EINVALIDOP; - } - } else { - up(&mutex->sem); - } - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_mutex_destroy(pj_mutex_t *mutex) -{ - PJ_ASSERT_RETURN(mutex != NULL, PJ_EINVAL); - - return PJ_SUCCESS; -} - -#if defined(PJ_DEBUG) && PJ_DEBUG != 0 -PJ_DEF(pj_bool_t) pj_mutex_is_locked(pj_mutex_t *mutex) -{ - if (mutex->recursive) - return mutex->owner == pj_thread_this(); - else - return 1; -} -#endif /* PJ_DEBUG */ - - -#if defined(PJ_HAS_SEMAPHORE) && PJ_HAS_SEMAPHORE != 0 - -PJ_DEF(pj_status_t) pj_sem_create( pj_pool_t *pool, - const char *name, - unsigned initial, - unsigned max, - pj_sem_t **sem) -{ - pj_sem_t *sem; - - PJ_UNUSED_ARG(max); - - PJ_ASSERT_RETURN(pool && sem, PJ_EINVAL); - - sem = pj_pool_alloc(pool, sizeof(pj_sem_t)); - sema_init(&sem->sem, initial); - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_sem_wait(pj_sem_t *sem) -{ - PJ_ASSERT_RETURN(pool && sem, PJ_EINVAL); - - down(&sem->sem); - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_sem_trywait(pj_sem_t *sem) -{ - int rc; - - PJ_ASSERT_RETURN(pool && sem, PJ_EINVAL); - - rc = down_trylock(&sem->sem); - if (rc != 0) { - return PJ_RETURN_OS_ERROR(-rc); - } else { - return PJ_SUCCESS; - } -} - -PJ_DEF(pj_status_t) pj_sem_post(pj_sem_t *sem) -{ - PJ_ASSERT_RETURN(pool && sem, PJ_EINVAL); - - up(&sem->sem); - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_sem_destroy(pj_sem_t *sem) -{ - PJ_ASSERT_RETURN(pool && sem, PJ_EINVAL); - - return PJ_SUCCESS; -} - -#endif /* PJ_HAS_SEMAPHORE */ - - - - diff --git a/res/pjproject/pjlib/src/pj/os_core_symbian.cpp b/res/pjproject/pjlib/src/pj/os_core_symbian.cpp deleted file mode 100644 index d6a1df22f3..0000000000 --- a/res/pjproject/pjlib/src/pj/os_core_symbian.cpp +++ /dev/null @@ -1,1063 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "os_symbian.h" - - -#define PJ_MAX_TLS 32 -#define DUMMY_MUTEX ((pj_mutex_t*)101) -#define DUMMY_SEMAPHORE ((pj_sem_t*)102) -#define THIS_FILE "os_core_symbian.c" - -/* Default message slot number for RSocketServ::Connect(). - * Increase it to 32 from the default 8 (KESockDefaultMessageSlots) - */ -#ifndef PJ_SYMBIAN_SOCK_MSG_SLOTS -# define PJ_SYMBIAN_SOCK_MSG_SLOTS 32 -#endif - -/* - * Note: - * - * The Symbian implementation does not support threading! - */ - -struct pj_thread_t -{ - char obj_name[PJ_MAX_OBJ_NAME]; - void *tls_values[PJ_MAX_TLS]; - -#if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK!=0 - pj_uint32_t stk_size; - pj_uint32_t stk_max_usage; - char *stk_start; - const char *caller_file; - int caller_line; -#endif - -} main_thread; - -struct pj_atomic_t -{ - pj_atomic_value_t value; -}; - -struct pj_sem_t -{ - int value; - int max; -}; - -/* Flag and reference counter for PJLIB instance */ -static int initialized; - -/* Flags to indicate which TLS variables have been used */ -static int tls_vars[PJ_MAX_TLS]; - -/* atexit handlers */ -static unsigned atexit_count; -static void (*atexit_func[32])(void); - - -///////////////////////////////////////////////////////////////////////////// -// -// CPjTimeoutTimer implementation -// - -CPjTimeoutTimer::CPjTimeoutTimer() -: CActive(PJ_SYMBIAN_TIMER_PRIORITY), hasTimedOut_(PJ_FALSE) -{ -} - -CPjTimeoutTimer::~CPjTimeoutTimer() -{ - Cancel(); - timer_.Close(); -} - -void CPjTimeoutTimer::ConstructL() -{ - hasTimedOut_ = PJ_FALSE; - timer_.CreateLocal(); - CActiveScheduler::Add(this); -} - -CPjTimeoutTimer *CPjTimeoutTimer::NewL() -{ - CPjTimeoutTimer *self = new CPjTimeoutTimer; - CleanupStack::PushL(self); - - self->ConstructL(); - - CleanupStack::Pop(self); - return self; - -} - -void CPjTimeoutTimer::StartTimer(TUint miliSeconds) -{ - Cancel(); - - hasTimedOut_ = PJ_FALSE; - timer_.After(iStatus, miliSeconds * 1000); - SetActive(); -} - -bool CPjTimeoutTimer::HasTimedOut() const -{ - return hasTimedOut_ != 0; -} - -void CPjTimeoutTimer::RunL() -{ - hasTimedOut_ = PJ_TRUE; -} - -void CPjTimeoutTimer::DoCancel() -{ - timer_.Cancel(); -} - -TInt CPjTimeoutTimer::RunError(TInt aError) -{ - PJ_UNUSED_ARG(aError); - return KErrNone; -} - - - -///////////////////////////////////////////////////////////////////////////// -// -// PjSymbianOS implementation -// - -PjSymbianOS::PjSymbianOS() -: isConnectionUp_(false), - isSocketServInitialized_(false), isResolverInitialized_(false), - console_(NULL), selectTimeoutTimer_(NULL), - appSocketServ_(NULL), appConnection_(NULL), appHostResolver_(NULL), - appHostResolver6_(NULL) -{ -} - -// Set parameters -void PjSymbianOS::SetParameters(pj_symbianos_params *params) -{ - appSocketServ_ = (RSocketServ*) params->rsocketserv; - appConnection_ = (RConnection*) params->rconnection; - appHostResolver_ = (RHostResolver*) params->rhostresolver; - appHostResolver6_ = (RHostResolver*) params->rhostresolver6; -} - -// Get PjSymbianOS instance -PjSymbianOS *PjSymbianOS::Instance() -{ - static PjSymbianOS instance_; - return &instance_; -} - - -// Initialize -TInt PjSymbianOS::Initialize() -{ - TInt err; - - selectTimeoutTimer_ = CPjTimeoutTimer::NewL(); - -#if 0 - pj_assert(console_ == NULL); - TRAPD(err, console_ = Console::NewL(_L("PJLIB"), - TSize(KConsFullScreen,KConsFullScreen))); - return err; -#endif - - /* Only create RSocketServ if application doesn't specify it - * in the parameters - */ - if (!isSocketServInitialized_ && appSocketServ_ == NULL) { - err = socketServ_.Connect(PJ_SYMBIAN_SOCK_MSG_SLOTS); - if (err != KErrNone) - goto on_error; - - isSocketServInitialized_ = true; - } - - if (!isResolverInitialized_) { - if (appHostResolver_ == NULL) { - if (Connection()) - err = hostResolver_.Open(SocketServ(), KAfInet, KSockStream, - *Connection()); - else - err = hostResolver_.Open(SocketServ(), KAfInet, KSockStream); - - if (err != KErrNone) - goto on_error; - } - -#if defined(PJ_HAS_IPV6) && PJ_HAS_IPV6!=0 - if (appHostResolver6_ == NULL) { - if (Connection()) - err = hostResolver6_.Open(SocketServ(), KAfInet6, KSockStream, - *Connection()); - else - err = hostResolver6_.Open(SocketServ(), KAfInet6, KSockStream); - - if (err != KErrNone) - goto on_error; - } -#endif - - - isResolverInitialized_ = true; - } - - isConnectionUp_ = true; - - return KErrNone; - -on_error: - Shutdown(); - return err; -} - -// Shutdown -void PjSymbianOS::Shutdown() -{ - isConnectionUp_ = false; - - if (isResolverInitialized_) { - hostResolver_.Close(); -#if defined(PJ_HAS_IPV6) && PJ_HAS_IPV6!=0 - hostResolver6_.Close(); -#endif - isResolverInitialized_ = false; - } - - if (isSocketServInitialized_) { - socketServ_.Close(); - isSocketServInitialized_ = false; - } - - delete console_; - console_ = NULL; - - delete selectTimeoutTimer_; - selectTimeoutTimer_ = NULL; - - appSocketServ_ = NULL; - appConnection_ = NULL; - appHostResolver_ = NULL; - appHostResolver6_ = NULL; -} - -// Convert to Unicode -TInt PjSymbianOS::ConvertToUnicode(TDes16 &aUnicode, const TDesC8 &aForeign) -{ -#if 0 - pj_assert(conv_ != NULL); - return conv_->ConvertToUnicode(aUnicode, aForeign, convToUnicodeState_); -#else - return CnvUtfConverter::ConvertToUnicodeFromUtf8(aUnicode, aForeign); -#endif -} - -// Convert from Unicode -TInt PjSymbianOS::ConvertFromUnicode(TDes8 &aForeign, const TDesC16 &aUnicode) -{ -#if 0 - pj_assert(conv_ != NULL); - return conv_->ConvertFromUnicode(aForeign, aUnicode, convToAnsiState_); -#else - return CnvUtfConverter::ConvertFromUnicodeToUtf8(aForeign, aUnicode); -#endif -} - - -///////////////////////////////////////////////////////////////////////////// -// -// PJLIB os.h implementation -// - -PJ_DEF(pj_uint32_t) pj_getpid(void) -{ - return 0; -} - - -/* Set Symbian specific parameters */ -PJ_DEF(pj_status_t) pj_symbianos_set_params(pj_symbianos_params *prm) -{ - PJ_ASSERT_RETURN(prm != NULL, PJ_EINVAL); - PjSymbianOS::Instance()->SetParameters(prm); - return PJ_SUCCESS; -} - - -/* Set connection status */ -PJ_DEF(void) pj_symbianos_set_connection_status(pj_bool_t up) -{ - PjSymbianOS::Instance()->SetConnectionStatus(up != 0); -} - - -/* - * pj_init(void). - * Init PJLIB! - */ -PJ_DEF(pj_status_t) pj_init(void) -{ - char stack_ptr; - pj_status_t status; - - /* Check if PJLIB have been initialized */ - if (initialized) { - ++initialized; - return PJ_SUCCESS; - } - - pj_ansi_strcpy(main_thread.obj_name, "pjthread"); - - // Init main thread - pj_memset(&main_thread, 0, sizeof(main_thread)); - - // Initialize PjSymbianOS instance - PjSymbianOS *os = PjSymbianOS::Instance(); - - PJ_LOG(4,(THIS_FILE, "Initializing PJLIB for Symbian OS..")); - - TInt err; - err = os->Initialize(); - if (err != KErrNone) - return PJ_RETURN_OS_ERROR(err); - - /* Init logging */ - pj_log_init(); - - /* Initialize exception ID for the pool. - * Must do so after critical section is configured. - */ - status = pj_exception_id_alloc("PJLIB/No memory", &PJ_NO_MEMORY_EXCEPTION); - if (status != PJ_SUCCESS) - goto on_error; - -#if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK!=0 - main_thread.stk_start = &stack_ptr; - main_thread.stk_size = 0xFFFFFFFFUL; - main_thread.stk_max_usage = 0; -#else - stack_ptr = '\0'; -#endif - - /* Flag PJLIB as initialized */ - ++initialized; - pj_assert(initialized == 1); - - PJ_LOG(5,(THIS_FILE, "PJLIB initialized.")); - return PJ_SUCCESS; - -on_error: - pj_shutdown(); - return PJ_RETURN_OS_ERROR(err); -} - - -PJ_DEF(pj_status_t) pj_atexit(pj_exit_callback func) -{ - if (atexit_count >= PJ_ARRAY_SIZE(atexit_func)) - return PJ_ETOOMANY; - - atexit_func[atexit_count++] = func; - return PJ_SUCCESS; -} - - - -PJ_DEF(void) pj_shutdown(void) -{ - /* Only perform shutdown operation when 'initialized' reaches zero */ - pj_assert(initialized > 0); - if (--initialized != 0) - return; - - /* Call atexit() functions */ - while (atexit_count > 0) { - (*atexit_func[atexit_count-1])(); - --atexit_count; - } - - /* Free exception ID */ - if (PJ_NO_MEMORY_EXCEPTION != -1) { - pj_exception_id_free(PJ_NO_MEMORY_EXCEPTION); - PJ_NO_MEMORY_EXCEPTION = -1; - } - - /* Clear static variables */ - pj_errno_clear_handlers(); - - PjSymbianOS *os = PjSymbianOS::Instance(); - os->Shutdown(); -} - -///////////////////////////////////////////////////////////////////////////// - -class CPollTimeoutTimer : public CActive -{ -public: - static CPollTimeoutTimer* NewL(int msec, TInt prio); - ~CPollTimeoutTimer(); - - virtual void RunL(); - virtual void DoCancel(); - -private: - RTimer rtimer_; - - explicit CPollTimeoutTimer(TInt prio); - void ConstructL(int msec); -}; - -CPollTimeoutTimer::CPollTimeoutTimer(TInt prio) -: CActive(prio) -{ -} - - -CPollTimeoutTimer::~CPollTimeoutTimer() -{ - rtimer_.Close(); -} - -void CPollTimeoutTimer::ConstructL(int msec) -{ - rtimer_.CreateLocal(); - CActiveScheduler::Add(this); - rtimer_.After(iStatus, msec*1000); - SetActive(); -} - -CPollTimeoutTimer* CPollTimeoutTimer::NewL(int msec, TInt prio) -{ - CPollTimeoutTimer *self = new CPollTimeoutTimer(prio); - CleanupStack::PushL(self); - self->ConstructL(msec); - CleanupStack::Pop(self); - - return self; -} - -void CPollTimeoutTimer::RunL() -{ -} - -void CPollTimeoutTimer::DoCancel() -{ - rtimer_.Cancel(); -} - - -/* - * Wait the completion of any Symbian active objects. - */ -PJ_DEF(pj_bool_t) pj_symbianos_poll(int priority, int ms_timeout) -{ - CPollTimeoutTimer *timer = NULL; - - if (priority==-1) - priority = EPriorityNull; - - if (ms_timeout >= 0) { - timer = CPollTimeoutTimer::NewL(ms_timeout, priority); - } - - PjSymbianOS::Instance()->WaitForActiveObjects(priority); - - if (timer) { - bool timer_is_active = timer->IsActive(); - - timer->Cancel(); - - delete timer; - - return timer_is_active ? PJ_TRUE : PJ_FALSE; - - } else { - return PJ_TRUE; - } -} - - -/* - * pj_thread_is_registered() - */ -PJ_DEF(pj_bool_t) pj_thread_is_registered(void) -{ - return PJ_FALSE; -} - - -/* - * Get thread priority value for the thread. - */ -PJ_DEF(int) pj_thread_get_prio(pj_thread_t *thread) -{ - PJ_UNUSED_ARG(thread); - return 1; -} - - -/* - * Set the thread priority. - */ -PJ_DEF(pj_status_t) pj_thread_set_prio(pj_thread_t *thread, int prio) -{ - PJ_UNUSED_ARG(thread); - PJ_UNUSED_ARG(prio); - return PJ_SUCCESS; -} - - -/* - * Get the lowest priority value available on this system. - */ -PJ_DEF(int) pj_thread_get_prio_min(pj_thread_t *thread) -{ - PJ_UNUSED_ARG(thread); - return 1; -} - - -/* - * Get the highest priority value available on this system. - */ -PJ_DEF(int) pj_thread_get_prio_max(pj_thread_t *thread) -{ - PJ_UNUSED_ARG(thread); - return 1; -} - - -/* - * pj_thread_get_os_handle() - */ -PJ_DEF(void*) pj_thread_get_os_handle(pj_thread_t *thread) -{ - PJ_UNUSED_ARG(thread); - return NULL; -} - -/* - * pj_thread_register(..) - */ -PJ_DEF(pj_status_t) pj_thread_register ( const char *cstr_thread_name, - pj_thread_desc desc, - pj_thread_t **thread_ptr) -{ - PJ_UNUSED_ARG(cstr_thread_name); - PJ_UNUSED_ARG(desc); - PJ_UNUSED_ARG(thread_ptr); - return PJ_EINVALIDOP; -} - - -/* - * pj_thread_create(...) - */ -PJ_DEF(pj_status_t) pj_thread_create( pj_pool_t *pool, - const char *thread_name, - pj_thread_proc *proc, - void *arg, - pj_size_t stack_size, - unsigned flags, - pj_thread_t **ptr_thread) -{ - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(thread_name); - PJ_UNUSED_ARG(proc); - PJ_UNUSED_ARG(arg); - PJ_UNUSED_ARG(stack_size); - PJ_UNUSED_ARG(flags); - PJ_UNUSED_ARG(ptr_thread); - - /* Sorry mate, we don't support threading */ - return PJ_ENOTSUP; -} - -/* - * pj_thread-get_name() - */ -PJ_DEF(const char*) pj_thread_get_name(pj_thread_t *p) -{ - pj_assert(p == &main_thread); - return p->obj_name; -} - -/* - * pj_thread_resume() - */ -PJ_DEF(pj_status_t) pj_thread_resume(pj_thread_t *p) -{ - PJ_UNUSED_ARG(p); - return PJ_EINVALIDOP; -} - -/* - * pj_thread_this() - */ -PJ_DEF(pj_thread_t*) pj_thread_this(void) -{ - return &main_thread; -} - -/* - * pj_thread_join() - */ -PJ_DEF(pj_status_t) pj_thread_join(pj_thread_t *rec) -{ - PJ_UNUSED_ARG(rec); - return PJ_EINVALIDOP; -} - -/* - * pj_thread_destroy() - */ -PJ_DEF(pj_status_t) pj_thread_destroy(pj_thread_t *rec) -{ - PJ_UNUSED_ARG(rec); - return PJ_EINVALIDOP; -} - -/* - * pj_thread_sleep() - */ -PJ_DEF(pj_status_t) pj_thread_sleep(unsigned msec) -{ - User::After(msec*1000); - - return PJ_SUCCESS; -} - - -/////////////////////////////////////////////////////////////////////////////// -/* - * pj_thread_local_alloc() - */ - -PJ_DEF(pj_status_t) pj_thread_local_alloc(long *index) -{ - unsigned i; - - /* Find unused TLS variable */ - for (i=0; i= 0 && index < (int)PJ_ARRAY_SIZE(tls_vars) && - tls_vars[index] != 0, return); - - tls_vars[index] = 0; -} - - -/* - * pj_thread_local_set() - */ -PJ_DEF(pj_status_t) pj_thread_local_set(long index, void *value) -{ - pj_thread_t *rec = pj_thread_this(); - - PJ_ASSERT_RETURN(index >= 0 && index < (int)PJ_ARRAY_SIZE(tls_vars) && - tls_vars[index] != 0, PJ_EINVAL); - - rec->tls_values[index] = value; - return PJ_SUCCESS; -} - -/* - * pj_thread_local_get() - */ -PJ_DEF(void*) pj_thread_local_get(long index) -{ - pj_thread_t *rec = pj_thread_this(); - - PJ_ASSERT_RETURN(index >= 0 && index < (int)PJ_ARRAY_SIZE(tls_vars) && - tls_vars[index] != 0, NULL); - - return rec->tls_values[index]; -} - - -/////////////////////////////////////////////////////////////////////////////// -/* - * Create atomic variable. - */ -PJ_DEF(pj_status_t) pj_atomic_create( pj_pool_t *pool, - pj_atomic_value_t initial, - pj_atomic_t **atomic ) -{ - *atomic = (pj_atomic_t*)pj_pool_alloc(pool, sizeof(struct pj_atomic_t)); - (*atomic)->value = initial; - return PJ_SUCCESS; -} - - -/* - * Destroy atomic variable. - */ -PJ_DEF(pj_status_t) pj_atomic_destroy( pj_atomic_t *atomic_var ) -{ - PJ_UNUSED_ARG(atomic_var); - return PJ_SUCCESS; -} - - -/* - * Set the value of an atomic type, and return the previous value. - */ -PJ_DEF(void) pj_atomic_set( pj_atomic_t *atomic_var, - pj_atomic_value_t value) -{ - atomic_var->value = value; -} - - -/* - * Get the value of an atomic type. - */ -PJ_DEF(pj_atomic_value_t) pj_atomic_get(pj_atomic_t *atomic_var) -{ - return atomic_var->value; -} - - -/* - * Increment the value of an atomic type. - */ -PJ_DEF(void) pj_atomic_inc(pj_atomic_t *atomic_var) -{ - ++atomic_var->value; -} - - -/* - * Increment the value of an atomic type and get the result. - */ -PJ_DEF(pj_atomic_value_t) pj_atomic_inc_and_get(pj_atomic_t *atomic_var) -{ - return ++atomic_var->value; -} - - -/* - * Decrement the value of an atomic type. - */ -PJ_DEF(void) pj_atomic_dec(pj_atomic_t *atomic_var) -{ - --atomic_var->value; -} - - -/* - * Decrement the value of an atomic type and get the result. - */ -PJ_DEF(pj_atomic_value_t) pj_atomic_dec_and_get(pj_atomic_t *atomic_var) -{ - return --atomic_var->value; -} - - -/* - * Add a value to an atomic type. - */ -PJ_DEF(void) pj_atomic_add( pj_atomic_t *atomic_var, - pj_atomic_value_t value) -{ - atomic_var->value += value; -} - - -/* - * Add a value to an atomic type and get the result. - */ -PJ_DEF(pj_atomic_value_t) pj_atomic_add_and_get( pj_atomic_t *atomic_var, - pj_atomic_value_t value) -{ - atomic_var->value += value; - return atomic_var->value; -} - - - -///////////////////////////////////////////////////////////////////////////// - -PJ_DEF(pj_status_t) pj_mutex_create( pj_pool_t *pool, - const char *name, - int type, - pj_mutex_t **mutex) -{ - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(name); - PJ_UNUSED_ARG(type); - - *mutex = DUMMY_MUTEX; - return PJ_SUCCESS; -} - -/* - * pj_mutex_create_simple() - */ -PJ_DEF(pj_status_t) pj_mutex_create_simple( pj_pool_t *pool, - const char *name, - pj_mutex_t **mutex ) -{ - return pj_mutex_create(pool, name, PJ_MUTEX_SIMPLE, mutex); -} - - -PJ_DEF(pj_status_t) pj_mutex_create_recursive( pj_pool_t *pool, - const char *name, - pj_mutex_t **mutex ) -{ - return pj_mutex_create(pool, name, PJ_MUTEX_RECURSE, mutex); -} - - -/* - * pj_mutex_lock() - */ -PJ_DEF(pj_status_t) pj_mutex_lock(pj_mutex_t *mutex) -{ - pj_assert(mutex == DUMMY_MUTEX); - return PJ_SUCCESS; -} - -/* - * pj_mutex_trylock() - */ -PJ_DEF(pj_status_t) pj_mutex_trylock(pj_mutex_t *mutex) -{ - pj_assert(mutex == DUMMY_MUTEX); - return PJ_SUCCESS; -} - -/* - * pj_mutex_unlock() - */ -PJ_DEF(pj_status_t) pj_mutex_unlock(pj_mutex_t *mutex) -{ - pj_assert(mutex == DUMMY_MUTEX); - return PJ_SUCCESS; -} - -/* - * pj_mutex_destroy() - */ -PJ_DEF(pj_status_t) pj_mutex_destroy(pj_mutex_t *mutex) -{ - pj_assert(mutex == DUMMY_MUTEX); - return PJ_SUCCESS; -} - - -///////////////////////////////////////////////////////////////////////////// -/* - * RW Mutex - */ -#include "os_rwmutex.c" - - -///////////////////////////////////////////////////////////////////////////// - -/* - * Enter critical section. - */ -PJ_DEF(void) pj_enter_critical_section(void) -{ - /* Nothing to do */ -} - - -/* - * Leave critical section. - */ -PJ_DEF(void) pj_leave_critical_section(void) -{ - /* Nothing to do */ -} - - -///////////////////////////////////////////////////////////////////////////// - -/* - * Create semaphore. - */ -PJ_DEF(pj_status_t) pj_sem_create( pj_pool_t *pool, - const char *name, - unsigned initial, - unsigned max, - pj_sem_t **p_sem) -{ - pj_sem_t *sem; - - PJ_UNUSED_ARG(name); - - sem = (pj_sem_t*) pj_pool_zalloc(pool, sizeof(pj_sem_t)); - sem->value = initial; - sem->max = max; - - *p_sem = sem; - - return PJ_SUCCESS; -} - - -/* - * Wait for semaphore. - */ -PJ_DEF(pj_status_t) pj_sem_wait(pj_sem_t *sem) -{ - if (sem->value > 0) { - sem->value--; - return PJ_SUCCESS; - } else { - pj_assert(!"Unexpected!"); - return PJ_EINVALIDOP; - } -} - - -/* - * Try wait for semaphore. - */ -PJ_DEF(pj_status_t) pj_sem_trywait(pj_sem_t *sem) -{ - if (sem->value > 0) { - sem->value--; - return PJ_SUCCESS; - } else { - pj_assert(!"Unexpected!"); - return PJ_EINVALIDOP; - } -} - - -/* - * Release semaphore. - */ -PJ_DEF(pj_status_t) pj_sem_post(pj_sem_t *sem) -{ - sem->value++; - return PJ_SUCCESS; -} - - -/* - * Destroy semaphore. - */ -PJ_DEF(pj_status_t) pj_sem_destroy(pj_sem_t *sem) -{ - PJ_UNUSED_ARG(sem); - return PJ_SUCCESS; -} - - -#if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK != 0 -/* - * The implementation of stack checking. - */ -PJ_DEF(void) pj_thread_check_stack(const char *file, int line) -{ - char stk_ptr; - pj_uint32_t usage; - pj_thread_t *thread = pj_thread_this(); - - pj_assert(thread); - - /* Calculate current usage. */ - usage = (&stk_ptr > thread->stk_start) ? &stk_ptr - thread->stk_start : - thread->stk_start - &stk_ptr; - - /* Assert if stack usage is dangerously high. */ - pj_assert("STACK OVERFLOW!! " && (usage <= thread->stk_size - 128)); - - /* Keep statistic. */ - if (usage > thread->stk_max_usage) { - thread->stk_max_usage = usage; - thread->caller_file = file; - thread->caller_line = line; - } -} - -/* - * Get maximum stack usage statistic. - */ -PJ_DEF(pj_uint32_t) pj_thread_get_stack_max_usage(pj_thread_t *thread) -{ - return thread->stk_max_usage; -} - -/* - * Dump thread stack status. - */ -PJ_DEF(pj_status_t) pj_thread_get_stack_info(pj_thread_t *thread, - const char **file, - int *line) -{ - pj_assert(thread); - - *file = thread->caller_file; - *line = thread->caller_line; - return 0; -} - -#endif /* PJ_OS_HAS_CHECK_STACK */ - -/* - * pj_run_app() - */ -PJ_DEF(int) pj_run_app(pj_main_func_ptr main_func, int argc, char *argv[], - unsigned flags) -{ - return (*main_func)(argc, argv); -} diff --git a/res/pjproject/pjlib/src/pj/os_core_unix.c b/res/pjproject/pjlib/src/pj/os_core_unix.c deleted file mode 100644 index 810e4b0de1..0000000000 --- a/res/pjproject/pjlib/src/pj/os_core_unix.c +++ /dev/null @@ -1,1851 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -/* - * Contributors: - * - Thanks for Zetron, Inc. (Phil Torre, ptorre@zetron.com) for donating - * the RTEMS port. - */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE -#endif -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#if defined(PJ_HAS_SEMAPHORE_H) && PJ_HAS_SEMAPHORE_H != 0 -# include -#endif - -#include // getpid() -#include // errno - -#include - -#define THIS_FILE "os_core_unix.c" - -#define SIGNATURE1 0xDEAFBEEF -#define SIGNATURE2 0xDEADC0DE - -struct pj_thread_t -{ - char obj_name[PJ_MAX_OBJ_NAME]; - pthread_t thread; - pj_thread_proc *proc; - void *arg; - pj_uint32_t signature1; - pj_uint32_t signature2; - - pj_mutex_t *suspended_mutex; - -#if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK!=0 - pj_uint32_t stk_size; - pj_uint32_t stk_max_usage; - char *stk_start; - const char *caller_file; - int caller_line; -#endif -}; - -struct pj_atomic_t -{ - pj_mutex_t *mutex; - pj_atomic_value_t value; -}; - -struct pj_mutex_t -{ - pthread_mutex_t mutex; - char obj_name[PJ_MAX_OBJ_NAME]; -#if PJ_DEBUG - int nesting_level; - pj_thread_t *owner; - char owner_name[PJ_MAX_OBJ_NAME]; -#endif -}; - -#if defined(PJ_HAS_SEMAPHORE) && PJ_HAS_SEMAPHORE != 0 -struct pj_sem_t -{ - sem_t *sem; - char obj_name[PJ_MAX_OBJ_NAME]; -}; -#endif /* PJ_HAS_SEMAPHORE */ - -#if defined(PJ_HAS_EVENT_OBJ) && PJ_HAS_EVENT_OBJ != 0 -struct pj_event_t -{ - char obj_name[PJ_MAX_OBJ_NAME]; -}; -#endif /* PJ_HAS_EVENT_OBJ */ - - -/* - * Flag and reference counter for PJLIB instance. - */ -static int initialized; - -#if PJ_HAS_THREADS - static pj_thread_t main_thread; - static long thread_tls_id; - static pj_mutex_t critical_section; -#else -# define MAX_THREADS 32 - static int tls_flag[MAX_THREADS]; - static void *tls[MAX_THREADS]; -#endif - -static unsigned atexit_count; -static void (*atexit_func[32])(void); - -static pj_status_t init_mutex(pj_mutex_t *mutex, const char *name, int type); - -/* - * pj_init(void). - * Init PJLIB! - */ -PJ_DEF(pj_status_t) pj_init(void) -{ - char dummy_guid[PJ_GUID_MAX_LENGTH]; - pj_str_t guid; - pj_status_t rc; - - /* Check if PJLIB have been initialized */ - if (initialized) { - ++initialized; - return PJ_SUCCESS; - } - -#if PJ_HAS_THREADS - /* Init this thread's TLS. */ - if ((rc=pj_thread_init()) != 0) { - return rc; - } - - /* Critical section. */ - if ((rc=init_mutex(&critical_section, "critsec", PJ_MUTEX_RECURSE)) != 0) - return rc; - -#endif - - /* Init logging */ - pj_log_init(); - - /* Initialize exception ID for the pool. - * Must do so after critical section is configured. - */ - rc = pj_exception_id_alloc("PJLIB/No memory", &PJ_NO_MEMORY_EXCEPTION); - if (rc != PJ_SUCCESS) - return rc; - - /* Init random seed. */ - /* Or probably not. Let application in charge of this */ - /* pj_srand( clock() ); */ - - /* Startup GUID. */ - guid.ptr = dummy_guid; - pj_generate_unique_string( &guid ); - - /* Startup timestamp */ -#if defined(PJ_HAS_HIGH_RES_TIMER) && PJ_HAS_HIGH_RES_TIMER != 0 - { - pj_timestamp dummy_ts; - if ((rc=pj_get_timestamp(&dummy_ts)) != 0) { - return rc; - } - } -#endif - - /* Flag PJLIB as initialized */ - ++initialized; - pj_assert(initialized == 1); - - PJ_LOG(4,(THIS_FILE, "pjlib %s for POSIX initialized", - PJ_VERSION)); - - return PJ_SUCCESS; -} - -/* - * pj_atexit() - */ -PJ_DEF(pj_status_t) pj_atexit(void (*func)(void)) -{ - if (atexit_count >= PJ_ARRAY_SIZE(atexit_func)) - return PJ_ETOOMANY; - - atexit_func[atexit_count++] = func; - return PJ_SUCCESS; -} - -/* - * pj_shutdown(void) - */ -PJ_DEF(void) pj_shutdown() -{ - int i; - - /* Only perform shutdown operation when 'initialized' reaches zero */ - pj_assert(initialized > 0); - if (--initialized != 0) - return; - - /* Call atexit() functions */ - for (i=atexit_count-1; i>=0; --i) { - (*atexit_func[i])(); - } - atexit_count = 0; - - /* Free exception ID */ - if (PJ_NO_MEMORY_EXCEPTION != -1) { - pj_exception_id_free(PJ_NO_MEMORY_EXCEPTION); - PJ_NO_MEMORY_EXCEPTION = -1; - } - -#if PJ_HAS_THREADS - /* Destroy PJLIB critical section */ - pj_mutex_destroy(&critical_section); - - /* Free PJLIB TLS */ - if (thread_tls_id != -1) { - pj_thread_local_free(thread_tls_id); - thread_tls_id = -1; - } - - /* Ticket #1132: Assertion when (re)starting PJLIB on different thread */ - pj_bzero(&main_thread, sizeof(main_thread)); -#endif - - /* Clear static variables */ - pj_errno_clear_handlers(); -} - - -/* - * pj_getpid(void) - */ -PJ_DEF(pj_uint32_t) pj_getpid(void) -{ - PJ_CHECK_STACK(); - return getpid(); -} - -/* - * Check if this thread has been registered to PJLIB. - */ -PJ_DEF(pj_bool_t) pj_thread_is_registered(void) -{ -#if PJ_HAS_THREADS - return pj_thread_local_get(thread_tls_id) != 0; -#else - pj_assert("pj_thread_is_registered() called in non-threading mode!"); - return PJ_TRUE; -#endif -} - - -/* - * Get thread priority value for the thread. - */ -PJ_DEF(int) pj_thread_get_prio(pj_thread_t *thread) -{ -#if PJ_HAS_THREADS - struct sched_param param; - int policy; - int rc; - - rc = pthread_getschedparam (thread->thread, &policy, ¶m); - if (rc != 0) - return -1; - - return param.sched_priority; -#else - PJ_UNUSED_ARG(thread); - return 1; -#endif -} - - -/* - * Set the thread priority. - */ -PJ_DEF(pj_status_t) pj_thread_set_prio(pj_thread_t *thread, int prio) -{ -#if PJ_HAS_THREADS - struct sched_param param; - int policy; - int rc; - - rc = pthread_getschedparam (thread->thread, &policy, ¶m); - if (rc != 0) - return PJ_RETURN_OS_ERROR(rc); - - param.sched_priority = prio; - - rc = pthread_setschedparam(thread->thread, policy, ¶m); - if (rc != 0) - return PJ_RETURN_OS_ERROR(rc); - - return PJ_SUCCESS; -#else - PJ_UNUSED_ARG(thread); - PJ_UNUSED_ARG(prio); - pj_assert("pj_thread_set_prio() called in non-threading mode!"); - return 1; -#endif -} - - -/* - * Get the lowest priority value available on this system. - */ -PJ_DEF(int) pj_thread_get_prio_min(pj_thread_t *thread) -{ - struct sched_param param; - int policy; - int rc; - - rc = pthread_getschedparam(thread->thread, &policy, ¶m); - if (rc != 0) - return -1; - -#if defined(_POSIX_PRIORITY_SCHEDULING) - return sched_get_priority_min(policy); -#elif defined __OpenBSD__ - /* Thread prio min/max are declared in OpenBSD private hdr */ - return 0; -#else - pj_assert("pj_thread_get_prio_min() not supported!"); - return 0; -#endif -} - - -/* - * Get the highest priority value available on this system. - */ -PJ_DEF(int) pj_thread_get_prio_max(pj_thread_t *thread) -{ - struct sched_param param; - int policy; - int rc; - - rc = pthread_getschedparam(thread->thread, &policy, ¶m); - if (rc != 0) - return -1; - -#if defined(_POSIX_PRIORITY_SCHEDULING) - return sched_get_priority_max(policy); -#elif defined __OpenBSD__ - /* Thread prio min/max are declared in OpenBSD private hdr */ - return 31; -#else - pj_assert("pj_thread_get_prio_max() not supported!"); - return 0; -#endif -} - - -/* - * Get native thread handle - */ -PJ_DEF(void*) pj_thread_get_os_handle(pj_thread_t *thread) -{ - PJ_ASSERT_RETURN(thread, NULL); - -#if PJ_HAS_THREADS - return &thread->thread; -#else - pj_assert("pj_thread_is_registered() called in non-threading mode!"); - return NULL; -#endif -} - -/* - * pj_thread_register(..) - */ -PJ_DEF(pj_status_t) pj_thread_register ( const char *cstr_thread_name, - pj_thread_desc desc, - pj_thread_t **ptr_thread) -{ -#if PJ_HAS_THREADS - char stack_ptr; - pj_status_t rc; - pj_thread_t *thread = (pj_thread_t *)desc; - pj_str_t thread_name = pj_str((char*)cstr_thread_name); - - /* Size sanity check. */ - if (sizeof(pj_thread_desc) < sizeof(pj_thread_t)) { - pj_assert(!"Not enough pj_thread_desc size!"); - return PJ_EBUG; - } - - /* Warn if this thread has been registered before */ - if (pj_thread_local_get (thread_tls_id) != 0) { - // 2006-02-26 bennylp: - // This wouldn't work in all cases!. - // If thread is created by external module (e.g. sound thread), - // thread may be reused while the pool used for the thread descriptor - // has been deleted by application. - //*thread_ptr = (pj_thread_t*)pj_thread_local_get (thread_tls_id); - //return PJ_SUCCESS; - PJ_LOG(4,(THIS_FILE, "Info: possibly re-registering existing " - "thread")); - } - - /* On the other hand, also warn if the thread descriptor buffer seem to - * have been used to register other threads. - */ - pj_assert(thread->signature1 != SIGNATURE1 || - thread->signature2 != SIGNATURE2 || - (thread->thread == pthread_self())); - - /* Initialize and set the thread entry. */ - pj_bzero(desc, sizeof(struct pj_thread_t)); - thread->thread = pthread_self(); - thread->signature1 = SIGNATURE1; - thread->signature2 = SIGNATURE2; - - if(cstr_thread_name && pj_strlen(&thread_name) < sizeof(thread->obj_name)-1) - pj_ansi_snprintf(thread->obj_name, sizeof(thread->obj_name), - cstr_thread_name, thread->thread); - else - pj_ansi_snprintf(thread->obj_name, sizeof(thread->obj_name), - "thr%p", (void*)thread->thread); - - rc = pj_thread_local_set(thread_tls_id, thread); - if (rc != PJ_SUCCESS) { - pj_bzero(desc, sizeof(struct pj_thread_t)); - return rc; - } - -#if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK!=0 - thread->stk_start = &stack_ptr; - thread->stk_size = 0xFFFFFFFFUL; - thread->stk_max_usage = 0; -#else - stack_ptr = '\0'; -#endif - - *ptr_thread = thread; - return PJ_SUCCESS; -#else - pj_thread_t *thread = (pj_thread_t*)desc; - *ptr_thread = thread; - return PJ_SUCCESS; -#endif -} - -/* - * pj_thread_init(void) - */ -pj_status_t pj_thread_init(void) -{ -#if PJ_HAS_THREADS - pj_status_t rc; - pj_thread_t *dummy; - - rc = pj_thread_local_alloc(&thread_tls_id ); - if (rc != PJ_SUCCESS) { - return rc; - } - return pj_thread_register("thr%p", (long*)&main_thread, &dummy); -#else - PJ_LOG(2,(THIS_FILE, "Thread init error. Threading is not enabled!")); - return PJ_EINVALIDOP; -#endif -} - -#if PJ_HAS_THREADS -/* - * thread_main() - * - * This is the main entry for all threads. - */ -static void *thread_main(void *param) -{ - pj_thread_t *rec = (pj_thread_t*)param; - void *result; - pj_status_t rc; - -#if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK!=0 - rec->stk_start = (char*)&rec; -#endif - - /* Set current thread id. */ - rc = pj_thread_local_set(thread_tls_id, rec); - if (rc != PJ_SUCCESS) { - pj_assert(!"Thread TLS ID is not set (pj_init() error?)"); - } - - /* Check if suspension is required. */ - if (rec->suspended_mutex) { - pj_mutex_lock(rec->suspended_mutex); - pj_mutex_unlock(rec->suspended_mutex); - } - - PJ_LOG(6,(rec->obj_name, "Thread started")); - - /* Call user's entry! */ - result = (void*)(long)(*rec->proc)(rec->arg); - - /* Done. */ - PJ_LOG(6,(rec->obj_name, "Thread quitting")); - - return result; -} -#endif - -/* - * pj_thread_create(...) - */ -PJ_DEF(pj_status_t) pj_thread_create( pj_pool_t *pool, - const char *thread_name, - pj_thread_proc *proc, - void *arg, - pj_size_t stack_size, - unsigned flags, - pj_thread_t **ptr_thread) -{ -#if PJ_HAS_THREADS - pj_thread_t *rec; - pthread_attr_t thread_attr; - void *stack_addr; - int rc; - - PJ_UNUSED_ARG(stack_addr); - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(pool && proc && ptr_thread, PJ_EINVAL); - - /* Create thread record and assign name for the thread */ - rec = (struct pj_thread_t*) pj_pool_zalloc(pool, sizeof(pj_thread_t)); - PJ_ASSERT_RETURN(rec, PJ_ENOMEM); - - /* Set name. */ - if (!thread_name) - thread_name = "thr%p"; - - if (strchr(thread_name, '%')) { - pj_ansi_snprintf(rec->obj_name, PJ_MAX_OBJ_NAME, thread_name, rec); - } else { - strncpy(rec->obj_name, thread_name, PJ_MAX_OBJ_NAME); - rec->obj_name[PJ_MAX_OBJ_NAME-1] = '\0'; - } - - /* Set default stack size */ - if (stack_size == 0) - stack_size = PJ_THREAD_DEFAULT_STACK_SIZE; - -#if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK!=0 - rec->stk_size = stack_size; - rec->stk_max_usage = 0; -#endif - - /* Emulate suspended thread with mutex. */ - if (flags & PJ_THREAD_SUSPENDED) { - rc = pj_mutex_create_simple(pool, NULL, &rec->suspended_mutex); - if (rc != PJ_SUCCESS) { - return rc; - } - - pj_mutex_lock(rec->suspended_mutex); - } else { - pj_assert(rec->suspended_mutex == NULL); - } - - - /* Init thread attributes */ - pthread_attr_init(&thread_attr); - -#if defined(PJ_THREAD_SET_STACK_SIZE) && PJ_THREAD_SET_STACK_SIZE!=0 - /* Set thread's stack size */ - rc = pthread_attr_setstacksize(&thread_attr, stack_size); - if (rc != 0) - return PJ_RETURN_OS_ERROR(rc); -#endif /* PJ_THREAD_SET_STACK_SIZE */ - - -#if defined(PJ_THREAD_ALLOCATE_STACK) && PJ_THREAD_ALLOCATE_STACK!=0 - /* Allocate memory for the stack */ - stack_addr = pj_pool_alloc(pool, stack_size); - PJ_ASSERT_RETURN(stack_addr, PJ_ENOMEM); - - rc = pthread_attr_setstackaddr(&thread_attr, stack_addr); - if (rc != 0) - return PJ_RETURN_OS_ERROR(rc); -#endif /* PJ_THREAD_ALLOCATE_STACK */ - - - /* Create the thread. */ - rec->proc = proc; - rec->arg = arg; - rc = pthread_create( &rec->thread, &thread_attr, &thread_main, rec); - if (rc != 0) { - return PJ_RETURN_OS_ERROR(rc); - } - - *ptr_thread = rec; - - PJ_LOG(6, (rec->obj_name, "Thread created")); - return PJ_SUCCESS; -#else - pj_assert(!"Threading is disabled!"); - return PJ_EINVALIDOP; -#endif -} - -/* - * pj_thread-get_name() - */ -PJ_DEF(const char*) pj_thread_get_name(pj_thread_t *p) -{ -#if PJ_HAS_THREADS - pj_thread_t *rec = (pj_thread_t*)p; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(p, ""); - - return rec->obj_name; -#else - return ""; -#endif -} - -/* - * pj_thread_resume() - */ -PJ_DEF(pj_status_t) pj_thread_resume(pj_thread_t *p) -{ - pj_status_t rc; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(p, PJ_EINVAL); - - rc = pj_mutex_unlock(p->suspended_mutex); - - return rc; -} - -/* - * pj_thread_this() - */ -PJ_DEF(pj_thread_t*) pj_thread_this(void) -{ -#if PJ_HAS_THREADS - pj_thread_t *rec = (pj_thread_t*)pj_thread_local_get(thread_tls_id); - - if (rec == NULL) { - pj_assert(!"Calling pjlib from unknown/external thread. You must " - "register external threads with pj_thread_register() " - "before calling any pjlib functions."); - } - - /* - * MUST NOT check stack because this function is called - * by PJ_CHECK_STACK() itself!!! - * - */ - - return rec; -#else - pj_assert(!"Threading is not enabled!"); - return NULL; -#endif -} - -/* - * pj_thread_join() - */ -PJ_DEF(pj_status_t) pj_thread_join(pj_thread_t *p) -{ -#if PJ_HAS_THREADS - pj_thread_t *rec = (pj_thread_t *)p; - void *ret; - int result; - - PJ_CHECK_STACK(); - - PJ_LOG(6, (pj_thread_this()->obj_name, "Joining thread %s", p->obj_name)); - result = pthread_join( rec->thread, &ret); - - if (result == 0) - return PJ_SUCCESS; - else { - /* Calling pthread_join() on a thread that no longer exists and - * getting back ESRCH isn't an error (in this context). - * Thanks Phil Torre . - */ - return result==ESRCH ? PJ_SUCCESS : PJ_RETURN_OS_ERROR(result); - } -#else - PJ_CHECK_STACK(); - pj_assert(!"No multithreading support!"); - return PJ_EINVALIDOP; -#endif -} - -/* - * pj_thread_destroy() - */ -PJ_DEF(pj_status_t) pj_thread_destroy(pj_thread_t *p) -{ - PJ_CHECK_STACK(); - - /* Destroy mutex used to suspend thread */ - if (p->suspended_mutex) { - pj_mutex_destroy(p->suspended_mutex); - p->suspended_mutex = NULL; - } - - return PJ_SUCCESS; -} - -/* - * pj_thread_sleep() - */ -PJ_DEF(pj_status_t) pj_thread_sleep(unsigned msec) -{ -/* TODO: should change this to something like PJ_OS_HAS_NANOSLEEP */ -#if defined(PJ_RTEMS) && PJ_RTEMS!=0 - enum { NANOSEC_PER_MSEC = 1000000 }; - struct timespec req; - - PJ_CHECK_STACK(); - req.tv_sec = msec / 1000; - req.tv_nsec = (msec % 1000) * NANOSEC_PER_MSEC; - - if (nanosleep(&req, NULL) == 0) - return PJ_SUCCESS; - - return PJ_RETURN_OS_ERROR(pj_get_native_os_error()); -#else - PJ_CHECK_STACK(); - - pj_set_os_error(0); - - usleep(msec * 1000); - - /* MacOS X (reported on 10.5) seems to always set errno to ETIMEDOUT. - * It does so because usleep() is declared to return int, and we're - * supposed to check for errno only when usleep() returns non-zero. - * Unfortunately, usleep() is declared to return void in other platforms - * so it's not possible to always check for the return value (unless - * we add a detection routine in autoconf). - * - * As a workaround, here we check if ETIMEDOUT is returned and - * return successfully if it is. - */ - if (pj_get_native_os_error() == ETIMEDOUT) - return PJ_SUCCESS; - - return pj_get_os_error(); - -#endif /* PJ_RTEMS */ -} - -#if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK!=0 -/* - * pj_thread_check_stack() - * Implementation for PJ_CHECK_STACK() - */ -PJ_DEF(void) pj_thread_check_stack(const char *file, int line) -{ - char stk_ptr; - pj_uint32_t usage; - pj_thread_t *thread = pj_thread_this(); - - /* Calculate current usage. */ - usage = (&stk_ptr > thread->stk_start) ? &stk_ptr - thread->stk_start : - thread->stk_start - &stk_ptr; - - /* Assert if stack usage is dangerously high. */ - pj_assert("STACK OVERFLOW!! " && (usage <= thread->stk_size - 128)); - - /* Keep statistic. */ - if (usage > thread->stk_max_usage) { - thread->stk_max_usage = usage; - thread->caller_file = file; - thread->caller_line = line; - } -} - -/* - * pj_thread_get_stack_max_usage() - */ -PJ_DEF(pj_uint32_t) pj_thread_get_stack_max_usage(pj_thread_t *thread) -{ - return thread->stk_max_usage; -} - -/* - * pj_thread_get_stack_info() - */ -PJ_DEF(pj_status_t) pj_thread_get_stack_info( pj_thread_t *thread, - const char **file, - int *line ) -{ - pj_assert(thread); - - *file = thread->caller_file; - *line = thread->caller_line; - return 0; -} - -#endif /* PJ_OS_HAS_CHECK_STACK */ - -/////////////////////////////////////////////////////////////////////////////// -/* - * pj_atomic_create() - */ -PJ_DEF(pj_status_t) pj_atomic_create( pj_pool_t *pool, - pj_atomic_value_t initial, - pj_atomic_t **ptr_atomic) -{ - pj_status_t rc; - pj_atomic_t *atomic_var; - - atomic_var = PJ_POOL_ZALLOC_T(pool, pj_atomic_t); - - PJ_ASSERT_RETURN(atomic_var, PJ_ENOMEM); - -#if PJ_HAS_THREADS - rc = pj_mutex_create(pool, "atm%p", PJ_MUTEX_SIMPLE, &atomic_var->mutex); - if (rc != PJ_SUCCESS) - return rc; -#endif - atomic_var->value = initial; - - *ptr_atomic = atomic_var; - return PJ_SUCCESS; -} - -/* - * pj_atomic_destroy() - */ -PJ_DEF(pj_status_t) pj_atomic_destroy( pj_atomic_t *atomic_var ) -{ - PJ_ASSERT_RETURN(atomic_var, PJ_EINVAL); -#if PJ_HAS_THREADS - return pj_mutex_destroy( atomic_var->mutex ); -#else - return 0; -#endif -} - -/* - * pj_atomic_set() - */ -PJ_DEF(void) pj_atomic_set(pj_atomic_t *atomic_var, pj_atomic_value_t value) -{ - PJ_CHECK_STACK(); - -#if PJ_HAS_THREADS - pj_mutex_lock( atomic_var->mutex ); -#endif - atomic_var->value = value; -#if PJ_HAS_THREADS - pj_mutex_unlock( atomic_var->mutex); -#endif -} - -/* - * pj_atomic_get() - */ -PJ_DEF(pj_atomic_value_t) pj_atomic_get(pj_atomic_t *atomic_var) -{ - pj_atomic_value_t oldval; - - PJ_CHECK_STACK(); - -#if PJ_HAS_THREADS - pj_mutex_lock( atomic_var->mutex ); -#endif - oldval = atomic_var->value; -#if PJ_HAS_THREADS - pj_mutex_unlock( atomic_var->mutex); -#endif - return oldval; -} - -/* - * pj_atomic_inc_and_get() - */ -PJ_DEF(pj_atomic_value_t) pj_atomic_inc_and_get(pj_atomic_t *atomic_var) -{ - pj_atomic_value_t new_value; - - PJ_CHECK_STACK(); - -#if PJ_HAS_THREADS - pj_mutex_lock( atomic_var->mutex ); -#endif - new_value = ++atomic_var->value; -#if PJ_HAS_THREADS - pj_mutex_unlock( atomic_var->mutex); -#endif - - return new_value; -} -/* - * pj_atomic_inc() - */ -PJ_DEF(void) pj_atomic_inc(pj_atomic_t *atomic_var) -{ - pj_atomic_inc_and_get(atomic_var); -} - -/* - * pj_atomic_dec_and_get() - */ -PJ_DEF(pj_atomic_value_t) pj_atomic_dec_and_get(pj_atomic_t *atomic_var) -{ - pj_atomic_value_t new_value; - - PJ_CHECK_STACK(); - -#if PJ_HAS_THREADS - pj_mutex_lock( atomic_var->mutex ); -#endif - new_value = --atomic_var->value; -#if PJ_HAS_THREADS - pj_mutex_unlock( atomic_var->mutex); -#endif - - return new_value; -} - -/* - * pj_atomic_dec() - */ -PJ_DEF(void) pj_atomic_dec(pj_atomic_t *atomic_var) -{ - pj_atomic_dec_and_get(atomic_var); -} - -/* - * pj_atomic_add_and_get() - */ -PJ_DEF(pj_atomic_value_t) pj_atomic_add_and_get( pj_atomic_t *atomic_var, - pj_atomic_value_t value ) -{ - pj_atomic_value_t new_value; - -#if PJ_HAS_THREADS - pj_mutex_lock(atomic_var->mutex); -#endif - - atomic_var->value += value; - new_value = atomic_var->value; - -#if PJ_HAS_THREADS - pj_mutex_unlock(atomic_var->mutex); -#endif - - return new_value; -} - -/* - * pj_atomic_add() - */ -PJ_DEF(void) pj_atomic_add( pj_atomic_t *atomic_var, - pj_atomic_value_t value ) -{ - pj_atomic_add_and_get(atomic_var, value); -} - -/////////////////////////////////////////////////////////////////////////////// -/* - * pj_thread_local_alloc() - */ -PJ_DEF(pj_status_t) pj_thread_local_alloc(long *p_index) -{ -#if PJ_HAS_THREADS - pthread_key_t key; - int rc; - - PJ_ASSERT_RETURN(p_index != NULL, PJ_EINVAL); - - pj_assert( sizeof(pthread_key_t) <= sizeof(long)); - if ((rc=pthread_key_create(&key, NULL)) != 0) - return PJ_RETURN_OS_ERROR(rc); - - *p_index = key; - return PJ_SUCCESS; -#else - int i; - for (i=0; i= 0 && index < MAX_THREADS); - tls[index] = value; - return PJ_SUCCESS; -#endif -} - -PJ_DEF(void*) pj_thread_local_get(long index) -{ - //Can't check stack because this function is called - //by PJ_CHECK_STACK() itself!!! - //PJ_CHECK_STACK(); -#if PJ_HAS_THREADS - return pthread_getspecific(index); -#else - pj_assert(index >= 0 && index < MAX_THREADS); - return tls[index]; -#endif -} - -/////////////////////////////////////////////////////////////////////////////// -PJ_DEF(void) pj_enter_critical_section(void) -{ -#if PJ_HAS_THREADS - pj_mutex_lock(&critical_section); -#endif -} - -PJ_DEF(void) pj_leave_critical_section(void) -{ -#if PJ_HAS_THREADS - pj_mutex_unlock(&critical_section); -#endif -} - - -/////////////////////////////////////////////////////////////////////////////// -#if defined(PJ_LINUX) && PJ_LINUX!=0 -PJ_BEGIN_DECL -PJ_DECL(int) pthread_mutexattr_settype(pthread_mutexattr_t*,int); -PJ_END_DECL -#endif - -static pj_status_t init_mutex(pj_mutex_t *mutex, const char *name, int type) -{ -#if PJ_HAS_THREADS - pthread_mutexattr_t attr; - int rc; - - PJ_CHECK_STACK(); - - rc = pthread_mutexattr_init(&attr); - if (rc != 0) - return PJ_RETURN_OS_ERROR(rc); - - if (type == PJ_MUTEX_SIMPLE) { -#if (defined(PJ_LINUX) && PJ_LINUX!=0) || \ - defined(PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE) - rc = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_FAST_NP); -#elif (defined(PJ_RTEMS) && PJ_RTEMS!=0) || \ - defined(PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE) - /* Nothing to do, default is simple */ -#else - rc = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL); -#endif - } else { -#if (defined(PJ_LINUX) && PJ_LINUX!=0) || \ - defined(PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE) - rc = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP); -#elif (defined(PJ_RTEMS) && PJ_RTEMS!=0) || \ - defined(PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE) - // Phil Torre : - // The RTEMS implementation of POSIX mutexes doesn't include - // pthread_mutexattr_settype(), so what follows is a hack - // until I get RTEMS patched to support the set/get functions. - // - // More info: - // newlib's pthread also lacks pthread_mutexattr_settype(), - // but it seems to have mutexattr.recursive. - PJ_TODO(FIX_RTEMS_RECURSIVE_MUTEX_TYPE) - attr.recursive = 1; -#else - rc = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); -#endif - } - - if (rc != 0) { - return PJ_RETURN_OS_ERROR(rc); - } - - rc = pthread_mutex_init(&mutex->mutex, &attr); - if (rc != 0) { - return PJ_RETURN_OS_ERROR(rc); - } - - rc = pthread_mutexattr_destroy(&attr); - if (rc != 0) { - pj_status_t status = PJ_RETURN_OS_ERROR(rc); - pthread_mutex_destroy(&mutex->mutex); - return status; - } - -#if PJ_DEBUG - /* Set owner. */ - mutex->nesting_level = 0; - mutex->owner = NULL; -#endif - - /* Set name. */ - if (!name) { - name = "mtx%p"; - } - if (strchr(name, '%')) { - pj_ansi_snprintf(mutex->obj_name, PJ_MAX_OBJ_NAME, name, mutex); - } else { - strncpy(mutex->obj_name, name, PJ_MAX_OBJ_NAME); - mutex->obj_name[PJ_MAX_OBJ_NAME-1] = '\0'; - } - - PJ_LOG(6, (mutex->obj_name, "Mutex created")); - return PJ_SUCCESS; -#else /* PJ_HAS_THREADS */ - return PJ_SUCCESS; -#endif -} - -/* - * pj_mutex_create() - */ -PJ_DEF(pj_status_t) pj_mutex_create(pj_pool_t *pool, - const char *name, - int type, - pj_mutex_t **ptr_mutex) -{ -#if PJ_HAS_THREADS - pj_status_t rc; - pj_mutex_t *mutex; - - PJ_ASSERT_RETURN(pool && ptr_mutex, PJ_EINVAL); - - mutex = PJ_POOL_ALLOC_T(pool, pj_mutex_t); - PJ_ASSERT_RETURN(mutex, PJ_ENOMEM); - - if ((rc=init_mutex(mutex, name, type)) != PJ_SUCCESS) - return rc; - - *ptr_mutex = mutex; - return PJ_SUCCESS; -#else /* PJ_HAS_THREADS */ - *ptr_mutex = (pj_mutex_t*)1; - return PJ_SUCCESS; -#endif -} - -/* - * pj_mutex_create_simple() - */ -PJ_DEF(pj_status_t) pj_mutex_create_simple( pj_pool_t *pool, - const char *name, - pj_mutex_t **mutex ) -{ - return pj_mutex_create(pool, name, PJ_MUTEX_SIMPLE, mutex); -} - -/* - * pj_mutex_create_recursive() - */ -PJ_DEF(pj_status_t) pj_mutex_create_recursive( pj_pool_t *pool, - const char *name, - pj_mutex_t **mutex ) -{ - return pj_mutex_create(pool, name, PJ_MUTEX_RECURSE, mutex); -} - -/* - * pj_mutex_lock() - */ -PJ_DEF(pj_status_t) pj_mutex_lock(pj_mutex_t *mutex) -{ -#if PJ_HAS_THREADS - pj_status_t status; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(mutex, PJ_EINVAL); - -#if PJ_DEBUG - PJ_LOG(6,(mutex->obj_name, "Mutex: thread %s is waiting (mutex owner=%s)", - pj_thread_this()->obj_name, - mutex->owner_name)); -#else - PJ_LOG(6,(mutex->obj_name, "Mutex: thread %s is waiting", - pj_thread_this()->obj_name)); -#endif - - status = pthread_mutex_lock( &mutex->mutex ); - - -#if PJ_DEBUG - if (status == PJ_SUCCESS) { - mutex->owner = pj_thread_this(); - pj_ansi_strcpy(mutex->owner_name, mutex->owner->obj_name); - ++mutex->nesting_level; - } - - PJ_LOG(6,(mutex->obj_name, - (status==0 ? - "Mutex acquired by thread %s (level=%d)" : - "Mutex acquisition FAILED by %s (level=%d)"), - pj_thread_this()->obj_name, - mutex->nesting_level)); -#else - PJ_LOG(6,(mutex->obj_name, - (status==0 ? "Mutex acquired by thread %s" : "FAILED by %s"), - pj_thread_this()->obj_name)); -#endif - - if (status == 0) - return PJ_SUCCESS; - else - return PJ_RETURN_OS_ERROR(status); -#else /* PJ_HAS_THREADS */ - pj_assert( mutex == (pj_mutex_t*)1 ); - return PJ_SUCCESS; -#endif -} - -/* - * pj_mutex_unlock() - */ -PJ_DEF(pj_status_t) pj_mutex_unlock(pj_mutex_t *mutex) -{ -#if PJ_HAS_THREADS - pj_status_t status; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(mutex, PJ_EINVAL); - -#if PJ_DEBUG - pj_assert(mutex->owner == pj_thread_this()); - if (--mutex->nesting_level == 0) { - mutex->owner = NULL; - mutex->owner_name[0] = '\0'; - } - - PJ_LOG(6,(mutex->obj_name, "Mutex released by thread %s (level=%d)", - pj_thread_this()->obj_name, - mutex->nesting_level)); -#else - PJ_LOG(6,(mutex->obj_name, "Mutex released by thread %s", - pj_thread_this()->obj_name)); -#endif - - status = pthread_mutex_unlock( &mutex->mutex ); - if (status == 0) - return PJ_SUCCESS; - else - return PJ_RETURN_OS_ERROR(status); - -#else /* PJ_HAS_THREADS */ - pj_assert( mutex == (pj_mutex_t*)1 ); - return PJ_SUCCESS; -#endif -} - -/* - * pj_mutex_trylock() - */ -PJ_DEF(pj_status_t) pj_mutex_trylock(pj_mutex_t *mutex) -{ -#if PJ_HAS_THREADS - int status; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(mutex, PJ_EINVAL); - - PJ_LOG(6,(mutex->obj_name, "Mutex: thread %s is trying", - pj_thread_this()->obj_name)); - - status = pthread_mutex_trylock( &mutex->mutex ); - - if (status==0) { -#if PJ_DEBUG - mutex->owner = pj_thread_this(); - pj_ansi_strcpy(mutex->owner_name, mutex->owner->obj_name); - ++mutex->nesting_level; - - PJ_LOG(6,(mutex->obj_name, "Mutex acquired by thread %s (level=%d)", - pj_thread_this()->obj_name, - mutex->nesting_level)); -#else - PJ_LOG(6,(mutex->obj_name, "Mutex acquired by thread %s", - pj_thread_this()->obj_name)); -#endif - } else { - PJ_LOG(6,(mutex->obj_name, "Mutex: thread %s's trylock() failed", - pj_thread_this()->obj_name)); - } - - if (status==0) - return PJ_SUCCESS; - else - return PJ_RETURN_OS_ERROR(status); -#else /* PJ_HAS_THREADS */ - pj_assert( mutex == (pj_mutex_t*)1); - return PJ_SUCCESS; -#endif -} - -/* - * pj_mutex_destroy() - */ -PJ_DEF(pj_status_t) pj_mutex_destroy(pj_mutex_t *mutex) -{ - enum { RETRY = 4 }; - int status = 0; - unsigned retry; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(mutex, PJ_EINVAL); - -#if PJ_HAS_THREADS - PJ_LOG(6,(mutex->obj_name, "Mutex destroyed by thread %s", - pj_thread_this()->obj_name)); - - for (retry=0; retrymutex ); - if (status == PJ_SUCCESS) - break; - else if (retrymutex); - } - - if (status == 0) - return PJ_SUCCESS; - else { - return PJ_RETURN_OS_ERROR(status); - } -#else - pj_assert( mutex == (pj_mutex_t*)1 ); - status = PJ_SUCCESS; - return status; -#endif -} - -#if PJ_DEBUG -PJ_DEF(pj_bool_t) pj_mutex_is_locked(pj_mutex_t *mutex) -{ -#if PJ_HAS_THREADS - return mutex->owner == pj_thread_this(); -#else - return 1; -#endif -} -#endif - -/////////////////////////////////////////////////////////////////////////////// -/* - * Include Read/Write mutex emulation for POSIX platforms that lack it (e.g. - * RTEMS). Otherwise use POSIX rwlock. - */ -#if defined(PJ_EMULATE_RWMUTEX) && PJ_EMULATE_RWMUTEX!=0 - /* We need semaphore functionality to emulate rwmutex */ -# if !defined(PJ_HAS_SEMAPHORE) || PJ_HAS_SEMAPHORE==0 -# error "Semaphore support needs to be enabled to emulate rwmutex" -# endif -# include "os_rwmutex.c" -#else -struct pj_rwmutex_t -{ - pthread_rwlock_t rwlock; -}; - -PJ_DEF(pj_status_t) pj_rwmutex_create(pj_pool_t *pool, const char *name, - pj_rwmutex_t **p_mutex) -{ - pj_rwmutex_t *rwm; - pj_status_t status; - - PJ_UNUSED_ARG(name); - - rwm = PJ_POOL_ALLOC_T(pool, pj_rwmutex_t); - PJ_ASSERT_RETURN(rwm, PJ_ENOMEM); - - status = pthread_rwlock_init(&rwm->rwlock, NULL); - if (status != 0) - return PJ_RETURN_OS_ERROR(status); - - *p_mutex = rwm; - return PJ_SUCCESS; -} - -/* - * Lock the mutex for reading. - * - */ -PJ_DEF(pj_status_t) pj_rwmutex_lock_read(pj_rwmutex_t *mutex) -{ - pj_status_t status; - - status = pthread_rwlock_rdlock(&mutex->rwlock); - if (status != 0) - return PJ_RETURN_OS_ERROR(status); - - return PJ_SUCCESS; -} - -/* - * Lock the mutex for writing. - * - */ -PJ_DEF(pj_status_t) pj_rwmutex_lock_write(pj_rwmutex_t *mutex) -{ - pj_status_t status; - - status = pthread_rwlock_wrlock(&mutex->rwlock); - if (status != 0) - return PJ_RETURN_OS_ERROR(status); - - return PJ_SUCCESS; -} - -/* - * Release read lock. - * - */ -PJ_DEF(pj_status_t) pj_rwmutex_unlock_read(pj_rwmutex_t *mutex) -{ - return pj_rwmutex_unlock_write(mutex); -} - -/* - * Release write lock. - * - */ -PJ_DEF(pj_status_t) pj_rwmutex_unlock_write(pj_rwmutex_t *mutex) -{ - pj_status_t status; - - status = pthread_rwlock_unlock(&mutex->rwlock); - if (status != 0) - return PJ_RETURN_OS_ERROR(status); - - return PJ_SUCCESS; -} - -/* - * Destroy reader/writer mutex. - * - */ -PJ_DEF(pj_status_t) pj_rwmutex_destroy(pj_rwmutex_t *mutex) -{ - pj_status_t status; - - status = pthread_rwlock_destroy(&mutex->rwlock); - if (status != 0) - return PJ_RETURN_OS_ERROR(status); - - return PJ_SUCCESS; -} - -#endif /* PJ_EMULATE_RWMUTEX */ - - -/////////////////////////////////////////////////////////////////////////////// -#if defined(PJ_HAS_SEMAPHORE) && PJ_HAS_SEMAPHORE != 0 - -/* - * pj_sem_create() - */ -PJ_DEF(pj_status_t) pj_sem_create( pj_pool_t *pool, - const char *name, - unsigned initial, - unsigned max, - pj_sem_t **ptr_sem) -{ -#if PJ_HAS_THREADS - pj_sem_t *sem; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(pool != NULL && ptr_sem != NULL, PJ_EINVAL); - - sem = PJ_POOL_ALLOC_T(pool, pj_sem_t); - PJ_ASSERT_RETURN(sem, PJ_ENOMEM); - -#if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 - /* MacOS X doesn't support anonymous semaphore */ - { - char sem_name[PJ_GUID_MAX_LENGTH+1]; - pj_str_t nam; - - /* We should use SEM_NAME_LEN, but this doesn't seem to be - * declared anywhere? The value here is just from trial and error - * to get the longest name supported. - */ -# define MAX_SEM_NAME_LEN 23 - - /* Create a unique name for the semaphore. */ - if (PJ_GUID_STRING_LENGTH <= MAX_SEM_NAME_LEN) { - nam.ptr = sem_name; - pj_generate_unique_string(&nam); - sem_name[nam.slen] = '\0'; - } else { - pj_create_random_string(sem_name, MAX_SEM_NAME_LEN); - sem_name[MAX_SEM_NAME_LEN] = '\0'; - } - - /* Create semaphore */ - sem->sem = sem_open(sem_name, O_CREAT|O_EXCL, S_IRUSR|S_IWUSR, - initial); - if (sem->sem == SEM_FAILED) - return PJ_RETURN_OS_ERROR(pj_get_native_os_error()); - - /* And immediately release the name as we don't need it */ - sem_unlink(sem_name); - } -#else - sem->sem = PJ_POOL_ALLOC_T(pool, sem_t); - if (sem_init( sem->sem, 0, initial) != 0) - return PJ_RETURN_OS_ERROR(pj_get_native_os_error()); -#endif - - /* Set name. */ - if (!name) { - name = "sem%p"; - } - if (strchr(name, '%')) { - pj_ansi_snprintf(sem->obj_name, PJ_MAX_OBJ_NAME, name, sem); - } else { - strncpy(sem->obj_name, name, PJ_MAX_OBJ_NAME); - sem->obj_name[PJ_MAX_OBJ_NAME-1] = '\0'; - } - - PJ_LOG(6, (sem->obj_name, "Semaphore created")); - - *ptr_sem = sem; - return PJ_SUCCESS; -#else - *ptr_sem = (pj_sem_t*)1; - return PJ_SUCCESS; -#endif -} - -/* - * pj_sem_wait() - */ -PJ_DEF(pj_status_t) pj_sem_wait(pj_sem_t *sem) -{ -#if PJ_HAS_THREADS - int result; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(sem, PJ_EINVAL); - - PJ_LOG(6, (sem->obj_name, "Semaphore: thread %s is waiting", - pj_thread_this()->obj_name)); - - result = sem_wait( sem->sem ); - - if (result == 0) { - PJ_LOG(6, (sem->obj_name, "Semaphore acquired by thread %s", - pj_thread_this()->obj_name)); - } else { - PJ_LOG(6, (sem->obj_name, "Semaphore: thread %s FAILED to acquire", - pj_thread_this()->obj_name)); - } - - if (result == 0) - return PJ_SUCCESS; - else - return PJ_RETURN_OS_ERROR(pj_get_native_os_error()); -#else - pj_assert( sem == (pj_sem_t*) 1 ); - return PJ_SUCCESS; -#endif -} - -/* - * pj_sem_trywait() - */ -PJ_DEF(pj_status_t) pj_sem_trywait(pj_sem_t *sem) -{ -#if PJ_HAS_THREADS - int result; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(sem, PJ_EINVAL); - - result = sem_trywait( sem->sem ); - - if (result == 0) { - PJ_LOG(6, (sem->obj_name, "Semaphore acquired by thread %s", - pj_thread_this()->obj_name)); - } - if (result == 0) - return PJ_SUCCESS; - else - return PJ_RETURN_OS_ERROR(pj_get_native_os_error()); -#else - pj_assert( sem == (pj_sem_t*)1 ); - return PJ_SUCCESS; -#endif -} - -/* - * pj_sem_post() - */ -PJ_DEF(pj_status_t) pj_sem_post(pj_sem_t *sem) -{ -#if PJ_HAS_THREADS - int result; - PJ_LOG(6, (sem->obj_name, "Semaphore released by thread %s", - pj_thread_this()->obj_name)); - result = sem_post( sem->sem ); - - if (result == 0) - return PJ_SUCCESS; - else - return PJ_RETURN_OS_ERROR(pj_get_native_os_error()); -#else - pj_assert( sem == (pj_sem_t*) 1); - return PJ_SUCCESS; -#endif -} - -/* - * pj_sem_destroy() - */ -PJ_DEF(pj_status_t) pj_sem_destroy(pj_sem_t *sem) -{ -#if PJ_HAS_THREADS - int result; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(sem, PJ_EINVAL); - - PJ_LOG(6, (sem->obj_name, "Semaphore destroyed by thread %s", - pj_thread_this()->obj_name)); -#if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 - result = sem_close( sem->sem ); -#else - result = sem_destroy( sem->sem ); -#endif - - if (result == 0) - return PJ_SUCCESS; - else - return PJ_RETURN_OS_ERROR(pj_get_native_os_error()); -#else - pj_assert( sem == (pj_sem_t*) 1 ); - return PJ_SUCCESS; -#endif -} - -#endif /* PJ_HAS_SEMAPHORE */ - -/////////////////////////////////////////////////////////////////////////////// -#if defined(PJ_HAS_EVENT_OBJ) && PJ_HAS_EVENT_OBJ != 0 - -/* - * pj_event_create() - */ -PJ_DEF(pj_status_t) pj_event_create(pj_pool_t *pool, const char *name, - pj_bool_t manual_reset, pj_bool_t initial, - pj_event_t **ptr_event) -{ - pj_assert(!"Not supported!"); - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(name); - PJ_UNUSED_ARG(manual_reset); - PJ_UNUSED_ARG(initial); - PJ_UNUSED_ARG(ptr_event); - return PJ_EINVALIDOP; -} - -/* - * pj_event_wait() - */ -PJ_DEF(pj_status_t) pj_event_wait(pj_event_t *event) -{ - PJ_UNUSED_ARG(event); - return PJ_EINVALIDOP; -} - -/* - * pj_event_trywait() - */ -PJ_DEF(pj_status_t) pj_event_trywait(pj_event_t *event) -{ - PJ_UNUSED_ARG(event); - return PJ_EINVALIDOP; -} - -/* - * pj_event_set() - */ -PJ_DEF(pj_status_t) pj_event_set(pj_event_t *event) -{ - PJ_UNUSED_ARG(event); - return PJ_EINVALIDOP; -} - -/* - * pj_event_pulse() - */ -PJ_DEF(pj_status_t) pj_event_pulse(pj_event_t *event) -{ - PJ_UNUSED_ARG(event); - return PJ_EINVALIDOP; -} - -/* - * pj_event_reset() - */ -PJ_DEF(pj_status_t) pj_event_reset(pj_event_t *event) -{ - PJ_UNUSED_ARG(event); - return PJ_EINVALIDOP; -} - -/* - * pj_event_destroy() - */ -PJ_DEF(pj_status_t) pj_event_destroy(pj_event_t *event) -{ - PJ_UNUSED_ARG(event); - return PJ_EINVALIDOP; -} - -#endif /* PJ_HAS_EVENT_OBJ */ - -/////////////////////////////////////////////////////////////////////////////// -#if defined(PJ_TERM_HAS_COLOR) && PJ_TERM_HAS_COLOR != 0 -/* - * Terminal - */ - -/** - * Set terminal color. - */ -PJ_DEF(pj_status_t) pj_term_set_color(pj_color_t color) -{ - /* put bright prefix to ansi_color */ - char ansi_color[12] = "\033[01;3"; - - if (color & PJ_TERM_COLOR_BRIGHT) { - color ^= PJ_TERM_COLOR_BRIGHT; - } else { - strcpy(ansi_color, "\033[00;3"); - } - - switch (color) { - case 0: - /* black color */ - strcat(ansi_color, "0m"); - break; - case PJ_TERM_COLOR_R: - /* red color */ - strcat(ansi_color, "1m"); - break; - case PJ_TERM_COLOR_G: - /* green color */ - strcat(ansi_color, "2m"); - break; - case PJ_TERM_COLOR_B: - /* blue color */ - strcat(ansi_color, "4m"); - break; - case PJ_TERM_COLOR_R | PJ_TERM_COLOR_G: - /* yellow color */ - strcat(ansi_color, "3m"); - break; - case PJ_TERM_COLOR_R | PJ_TERM_COLOR_B: - /* magenta color */ - strcat(ansi_color, "5m"); - break; - case PJ_TERM_COLOR_G | PJ_TERM_COLOR_B: - /* cyan color */ - strcat(ansi_color, "6m"); - break; - case PJ_TERM_COLOR_R | PJ_TERM_COLOR_G | PJ_TERM_COLOR_B: - /* white color */ - strcat(ansi_color, "7m"); - break; - default: - /* default console color */ - strcpy(ansi_color, "\033[00m"); - break; - } - - fputs(ansi_color, stdout); - - return PJ_SUCCESS; -} - -/** - * Get current terminal foreground color. - */ -PJ_DEF(pj_color_t) pj_term_get_color(void) -{ - return 0; -} - -#endif /* PJ_TERM_HAS_COLOR */ - -#if !defined(PJ_DARWINOS) || PJ_DARWINOS == 0 -/* - * pj_run_app() - */ -PJ_DEF(int) pj_run_app(pj_main_func_ptr main_func, int argc, char *argv[], - unsigned flags) -{ - return (*main_func)(argc, argv); -} -#endif diff --git a/res/pjproject/pjlib/src/pj/os_core_win32.c b/res/pjproject/pjlib/src/pj/os_core_win32.c deleted file mode 100644 index 5168d7db11..0000000000 --- a/res/pjproject/pjlib/src/pj/os_core_win32.c +++ /dev/null @@ -1,1456 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#if defined(PJ_HAS_WINSOCK_H) && PJ_HAS_WINSOCK_H != 0 -# include -#endif - -#if defined(PJ_HAS_WINSOCK2_H) && PJ_HAS_WINSOCK2_H != 0 -# include -#endif - -/* Activate mutex related logging if PJ_DEBUG_MUTEX is set, otherwise - * use default level 6 logging. - */ -#if defined(PJ_DEBUG_MUTEX) && PJ_DEBUG_MUTEX -# undef PJ_DEBUG -# define PJ_DEBUG 1 -# define LOG_MUTEX(expr) PJ_LOG(5,expr) -#else -# define LOG_MUTEX(expr) PJ_LOG(6,expr) -#endif - -#define THIS_FILE "os_core_win32.c" - -/* - * Implementation of pj_thread_t. - */ -struct pj_thread_t -{ - char obj_name[PJ_MAX_OBJ_NAME]; - HANDLE hthread; - DWORD idthread; - pj_thread_proc *proc; - void *arg; - -#if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK!=0 - pj_uint32_t stk_size; - pj_uint32_t stk_max_usage; - char *stk_start; - const char *caller_file; - int caller_line; -#endif -}; - - -/* - * Implementation of pj_mutex_t. - */ -struct pj_mutex_t -{ -#if PJ_WIN32_WINNT >= 0x0400 - CRITICAL_SECTION crit; -#else - HANDLE hMutex; -#endif - char obj_name[PJ_MAX_OBJ_NAME]; -#if PJ_DEBUG - int nesting_level; - pj_thread_t *owner; -#endif -}; - -/* - * Implementation of pj_sem_t. - */ -typedef struct pj_sem_t -{ - HANDLE hSemaphore; - char obj_name[PJ_MAX_OBJ_NAME]; -} pj_mem_t; - - -/* - * Implementation of pj_event_t. - */ -struct pj_event_t -{ - HANDLE hEvent; - char obj_name[PJ_MAX_OBJ_NAME]; -}; - -/* - * Implementation of pj_atomic_t. - */ -struct pj_atomic_t -{ - long value; -}; - -/* - * Flag and reference counter for PJLIB instance. - */ -static int initialized; - -/* - * Static global variables. - */ -static pj_thread_desc main_thread; -static long thread_tls_id = -1; -static pj_mutex_t critical_section_mutex; -static unsigned atexit_count; -static void (*atexit_func[32])(void); - -/* - * Some static prototypes. - */ -static pj_status_t init_mutex(pj_mutex_t *mutex, const char *name); - - -/* - * pj_init(void). - * Init PJLIB! - */ -PJ_DEF(pj_status_t) pj_init(void) -{ - WSADATA wsa; - char dummy_guid[32]; /* use maximum GUID length */ - pj_str_t guid; - pj_status_t rc; - - /* Check if PJLIB have been initialized */ - if (initialized) { - ++initialized; - return PJ_SUCCESS; - } - - /* Init Winsock.. */ - if (WSAStartup(MAKEWORD(2,0), &wsa) != 0) { - return PJ_RETURN_OS_ERROR(WSAGetLastError()); - } - - /* Init this thread's TLS. */ - if ((rc=pj_thread_init()) != PJ_SUCCESS) { - return rc; - } - - /* Init logging */ - pj_log_init(); - - /* Init random seed. */ - /* Or probably not. Let application in charge of this */ - /* pj_srand( GetCurrentProcessId() ); */ - - /* Initialize critical section. */ - if ((rc=init_mutex(&critical_section_mutex, "pj%p")) != PJ_SUCCESS) - return rc; - - /* Startup GUID. */ - guid.ptr = dummy_guid; - pj_generate_unique_string( &guid ); - - /* Initialize exception ID for the pool. - * Must do so after critical section is configured. - */ - rc = pj_exception_id_alloc("PJLIB/No memory", &PJ_NO_MEMORY_EXCEPTION); - if (rc != PJ_SUCCESS) - return rc; - - /* Startup timestamp */ -#if defined(PJ_HAS_HIGH_RES_TIMER) && PJ_HAS_HIGH_RES_TIMER != 0 - { - pj_timestamp dummy_ts; - if ((rc=pj_get_timestamp_freq(&dummy_ts)) != PJ_SUCCESS) { - return rc; - } - if ((rc=pj_get_timestamp(&dummy_ts)) != PJ_SUCCESS) { - return rc; - } - } -#endif - - /* Flag PJLIB as initialized */ - ++initialized; - pj_assert(initialized == 1); - - PJ_LOG(4,(THIS_FILE, "pjlib %s for win32 initialized", - PJ_VERSION)); - - return PJ_SUCCESS; -} - -/* - * pj_atexit() - */ -PJ_DEF(pj_status_t) pj_atexit(void (*func)(void)) -{ - if (atexit_count >= PJ_ARRAY_SIZE(atexit_func)) - return PJ_ETOOMANY; - - atexit_func[atexit_count++] = func; - return PJ_SUCCESS; -} - - -/* - * pj_shutdown(void) - */ -PJ_DEF(void) pj_shutdown() -{ - int i; - - /* Only perform shutdown operation when 'initialized' reaches zero */ - pj_assert(initialized > 0); - if (--initialized != 0) - return; - - /* Display stack usage */ -#if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK!=0 - { - pj_thread_t *rec = (pj_thread_t*)main_thread; - PJ_LOG(5,(rec->obj_name, "Main thread stack max usage=%u by %s:%d", - rec->stk_max_usage, rec->caller_file, rec->caller_line)); - } -#endif - - /* Call atexit() functions */ - for (i=atexit_count-1; i>=0; --i) { - (*atexit_func[i])(); - } - atexit_count = 0; - - /* Free exception ID */ - if (PJ_NO_MEMORY_EXCEPTION != -1) { - pj_exception_id_free(PJ_NO_MEMORY_EXCEPTION); - PJ_NO_MEMORY_EXCEPTION = -1; - } - - /* Destroy PJLIB critical section */ - pj_mutex_destroy(&critical_section_mutex); - - /* Free PJLIB TLS */ - if (thread_tls_id != -1) { - pj_thread_local_free(thread_tls_id); - thread_tls_id = -1; - } - - /* Clear static variables */ - pj_errno_clear_handlers(); - - /* Ticket #1132: Assertion when (re)starting PJLIB on different thread */ - pj_bzero(main_thread, sizeof(main_thread)); - - /* Shutdown Winsock */ - WSACleanup(); -} - - -/* - * pj_getpid(void) - */ -PJ_DEF(pj_uint32_t) pj_getpid(void) -{ - PJ_CHECK_STACK(); - return GetCurrentProcessId(); -} - -/* - * Check if this thread has been registered to PJLIB. - */ -PJ_DEF(pj_bool_t) pj_thread_is_registered(void) -{ - return pj_thread_local_get(thread_tls_id) != 0; -} - - -/* - * Get thread priority value for the thread. - */ -PJ_DEF(int) pj_thread_get_prio(pj_thread_t *thread) -{ - return GetThreadPriority(thread->hthread); -} - - -/* - * Set the thread priority. - */ -PJ_DEF(pj_status_t) pj_thread_set_prio(pj_thread_t *thread, int prio) -{ -#if PJ_HAS_THREADS - PJ_ASSERT_RETURN(thread, PJ_EINVAL); - PJ_ASSERT_RETURN(prio>=THREAD_PRIORITY_IDLE && - prio<=THREAD_PRIORITY_TIME_CRITICAL, - PJ_EINVAL); - - if (SetThreadPriority(thread->hthread, prio) == FALSE) - return PJ_RETURN_OS_ERROR(GetLastError()); - - return PJ_SUCCESS; - -#else - PJ_UNUSED_ARG(thread); - PJ_UNUSED_ARG(prio); - pj_assert("pj_thread_set_prio() called in non-threading mode!"); - return PJ_EINVALIDOP; -#endif -} - - -/* - * Get the lowest priority value available on this system. - */ -PJ_DEF(int) pj_thread_get_prio_min(pj_thread_t *thread) -{ - PJ_UNUSED_ARG(thread); - return THREAD_PRIORITY_IDLE; -} - - -/* - * Get the highest priority value available on this system. - */ -PJ_DEF(int) pj_thread_get_prio_max(pj_thread_t *thread) -{ - PJ_UNUSED_ARG(thread); - return THREAD_PRIORITY_TIME_CRITICAL; -} - - -/* - * Get native thread handle - */ -PJ_DEF(void*) pj_thread_get_os_handle(pj_thread_t *thread) -{ - PJ_ASSERT_RETURN(thread, NULL); - -#if PJ_HAS_THREADS - return thread->hthread; -#else - pj_assert("pj_thread_is_registered() called in non-threading mode!"); - return NULL; -#endif -} - -/* - * pj_thread_register(..) - */ -PJ_DEF(pj_status_t) pj_thread_register ( const char *cstr_thread_name, - pj_thread_desc desc, - pj_thread_t **thread_ptr) -{ - char stack_ptr; - pj_status_t rc; - pj_thread_t *thread = (pj_thread_t *)desc; - pj_str_t thread_name = pj_str((char*)cstr_thread_name); - - /* Size sanity check. */ - if (sizeof(pj_thread_desc) < sizeof(pj_thread_t)) { - pj_assert(!"Not enough pj_thread_desc size!"); - return PJ_EBUG; - } - - /* If a thread descriptor has been registered before, just return it. */ - if (pj_thread_local_get (thread_tls_id) != 0) { - // 2006-02-26 bennylp: - // This wouldn't work in all cases!. - // If thread is created by external module (e.g. sound thread), - // thread may be reused while the pool used for the thread descriptor - // has been deleted by application. - //*thread_ptr = (pj_thread_t*)pj_thread_local_get (thread_tls_id); - //return PJ_SUCCESS; - } - - /* Initialize and set the thread entry. */ - pj_bzero(desc, sizeof(struct pj_thread_t)); - thread->hthread = GetCurrentThread(); - thread->idthread = GetCurrentThreadId(); - -#if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK!=0 - thread->stk_start = &stack_ptr; - thread->stk_size = 0xFFFFFFFFUL; - thread->stk_max_usage = 0; -#else - stack_ptr = '\0'; -#endif - - if (cstr_thread_name && pj_strlen(&thread_name) < sizeof(thread->obj_name)-1) - pj_ansi_snprintf(thread->obj_name, sizeof(thread->obj_name), - cstr_thread_name, thread->idthread); - else - pj_ansi_snprintf(thread->obj_name, sizeof(thread->obj_name), - "thr%p", (void*)thread->idthread); - - rc = pj_thread_local_set(thread_tls_id, thread); - if (rc != PJ_SUCCESS) - return rc; - - *thread_ptr = thread; - return PJ_SUCCESS; -} - -/* - * pj_thread_init(void) - */ -pj_status_t pj_thread_init(void) -{ - pj_status_t rc; - pj_thread_t *thread; - - rc = pj_thread_local_alloc(&thread_tls_id); - if (rc != PJ_SUCCESS) - return rc; - - return pj_thread_register("thr%p", main_thread, &thread); -} - -static DWORD WINAPI thread_main(void *param) -{ - pj_thread_t *rec = param; - DWORD result; - -#if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK!=0 - rec->stk_start = (char*)&rec; -#endif - - if (pj_thread_local_set(thread_tls_id, rec) != PJ_SUCCESS) { - pj_assert(!"TLS is not set (pj_init() error?)"); - } - - PJ_LOG(6,(rec->obj_name, "Thread started")); - - result = (*rec->proc)(rec->arg); - - PJ_LOG(6,(rec->obj_name, "Thread quitting")); -#if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK!=0 - PJ_LOG(5,(rec->obj_name, "Thread stack max usage=%u by %s:%d", - rec->stk_max_usage, rec->caller_file, rec->caller_line)); -#endif - - return (DWORD)result; -} - -/* - * pj_thread_create(...) - */ -PJ_DEF(pj_status_t) pj_thread_create( pj_pool_t *pool, - const char *thread_name, - pj_thread_proc *proc, - void *arg, - pj_size_t stack_size, - unsigned flags, - pj_thread_t **thread_ptr) -{ - DWORD dwflags = 0; - pj_thread_t *rec; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(pool && proc && thread_ptr, PJ_EINVAL); - - /* Set flags */ - if (flags & PJ_THREAD_SUSPENDED) - dwflags |= CREATE_SUSPENDED; - - /* Create thread record and assign name for the thread */ - rec = (struct pj_thread_t*) pj_pool_calloc(pool, 1, sizeof(pj_thread_t)); - if (!rec) - return PJ_ENOMEM; - - /* Set name. */ - if (!thread_name) - thread_name = "thr%p"; - - if (strchr(thread_name, '%')) { - pj_ansi_snprintf(rec->obj_name, PJ_MAX_OBJ_NAME, thread_name, rec); - } else { - pj_ansi_strncpy(rec->obj_name, thread_name, PJ_MAX_OBJ_NAME); - rec->obj_name[PJ_MAX_OBJ_NAME-1] = '\0'; - } - - PJ_LOG(6, (rec->obj_name, "Thread created")); - -#if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK!=0 - rec->stk_size = stack_size ? stack_size : 0xFFFFFFFFUL; - rec->stk_max_usage = 0; -#endif - - /* Create the thread. */ - rec->proc = proc; - rec->arg = arg; - rec->hthread = CreateThread(NULL, stack_size, - thread_main, rec, - dwflags, &rec->idthread); - if (rec->hthread == NULL) - return PJ_RETURN_OS_ERROR(GetLastError()); - - /* Success! */ - *thread_ptr = rec; - return PJ_SUCCESS; -} - -/* - * pj_thread-get_name() - */ -PJ_DEF(const char*) pj_thread_get_name(pj_thread_t *p) -{ - pj_thread_t *rec = (pj_thread_t*)p; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(p, ""); - - return rec->obj_name; -} - -/* - * pj_thread_resume() - */ -PJ_DEF(pj_status_t) pj_thread_resume(pj_thread_t *p) -{ - pj_thread_t *rec = (pj_thread_t*)p; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(p, PJ_EINVAL); - - if (ResumeThread(rec->hthread) == (DWORD)-1) - return PJ_RETURN_OS_ERROR(GetLastError()); - else - return PJ_SUCCESS; -} - -/* - * pj_thread_this() - */ -PJ_DEF(pj_thread_t*) pj_thread_this(void) -{ - pj_thread_t *rec = pj_thread_local_get(thread_tls_id); - - if (rec == NULL) { - pj_assert(!"Calling pjlib from unknown/external thread. You must " - "register external threads with pj_thread_register() " - "before calling any pjlib functions."); - } - - /* - * MUST NOT check stack because this function is called - * by PJ_CHECK_STACK() itself!!! - * - */ - - return rec; -} - -/* - * pj_thread_join() - */ -PJ_DEF(pj_status_t) pj_thread_join(pj_thread_t *p) -{ - pj_thread_t *rec = (pj_thread_t *)p; - DWORD rc; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(p, PJ_EINVAL); - - if (p == pj_thread_this()) - return PJ_ECANCELLED; - - PJ_LOG(6, (pj_thread_this()->obj_name, "Joining thread %s", p->obj_name)); - - rc = WaitForSingleObject(rec->hthread, INFINITE); - - if (rc==WAIT_OBJECT_0) - return PJ_SUCCESS; - else if (rc==WAIT_TIMEOUT) - return PJ_ETIMEDOUT; - else - return PJ_RETURN_OS_ERROR(GetLastError()); -} - -/* - * pj_thread_destroy() - */ -PJ_DEF(pj_status_t) pj_thread_destroy(pj_thread_t *p) -{ - pj_thread_t *rec = (pj_thread_t *)p; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(p, PJ_EINVAL); - - if (CloseHandle(rec->hthread) == TRUE) - return PJ_SUCCESS; - else - return PJ_RETURN_OS_ERROR(GetLastError()); -} - -/* - * pj_thread_sleep() - */ -PJ_DEF(pj_status_t) pj_thread_sleep(unsigned msec) -{ - PJ_CHECK_STACK(); - Sleep(msec); - return PJ_SUCCESS; -} - -#if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK != 0 -/* - * pj_thread_check_stack() - * Implementation for PJ_CHECK_STACK() - */ -PJ_DEF(void) pj_thread_check_stack(const char *file, int line) -{ - char stk_ptr; - pj_uint32_t usage; - pj_thread_t *thread = pj_thread_this(); - - pj_assert(thread); - - /* Calculate current usage. */ - usage = (&stk_ptr > thread->stk_start) ? &stk_ptr - thread->stk_start : - thread->stk_start - &stk_ptr; - - /* Assert if stack usage is dangerously high. */ - pj_assert("STACK OVERFLOW!! " && (usage <= thread->stk_size - 128)); - - /* Keep statistic. */ - if (usage > thread->stk_max_usage) { - thread->stk_max_usage = usage; - thread->caller_file = file; - thread->caller_line = line; - } - -} - -/* - * pj_thread_get_stack_max_usage() - */ -PJ_DEF(pj_uint32_t) pj_thread_get_stack_max_usage(pj_thread_t *thread) -{ - return thread->stk_max_usage; -} - -/* - * pj_thread_get_stack_info() - */ -PJ_DEF(pj_status_t) pj_thread_get_stack_info( pj_thread_t *thread, - const char **file, - int *line ) -{ - pj_assert(thread); - - *file = thread->caller_file; - *line = thread->caller_line; - return 0; -} - -#endif /* PJ_OS_HAS_CHECK_STACK */ - - -/////////////////////////////////////////////////////////////////////////////// - -/* - * pj_atomic_create() - */ -PJ_DEF(pj_status_t) pj_atomic_create( pj_pool_t *pool, - pj_atomic_value_t initial, - pj_atomic_t **atomic_ptr) -{ - pj_atomic_t *atomic_var = pj_pool_alloc(pool, sizeof(pj_atomic_t)); - if (!atomic_var) - return PJ_ENOMEM; - - atomic_var->value = initial; - *atomic_ptr = atomic_var; - - return PJ_SUCCESS; -} - -/* - * pj_atomic_destroy() - */ -PJ_DEF(pj_status_t) pj_atomic_destroy( pj_atomic_t *var ) -{ - PJ_UNUSED_ARG(var); - PJ_ASSERT_RETURN(var, PJ_EINVAL); - - return 0; -} - -/* - * pj_atomic_set() - */ -PJ_DEF(void) pj_atomic_set( pj_atomic_t *atomic_var, pj_atomic_value_t value) -{ - PJ_CHECK_STACK(); - - InterlockedExchange(&atomic_var->value, value); -} - -/* - * pj_atomic_get() - */ -PJ_DEF(pj_atomic_value_t) pj_atomic_get(pj_atomic_t *atomic_var) -{ - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(atomic_var, 0); - - return atomic_var->value; -} - -/* - * pj_atomic_inc_and_get() - */ -PJ_DEF(pj_atomic_value_t) pj_atomic_inc_and_get(pj_atomic_t *atomic_var) -{ - PJ_CHECK_STACK(); - -#if defined(PJ_WIN32_WINNT) && PJ_WIN32_WINNT >= 0x0400 - return InterlockedIncrement(&atomic_var->value); -#else - return InterlockedIncrement(&atomic_var->value); -#endif -} - -/* - * pj_atomic_inc() - */ -PJ_DEF(void) pj_atomic_inc(pj_atomic_t *atomic_var) -{ - pj_atomic_inc_and_get(atomic_var); -} - -/* - * pj_atomic_dec_and_get() - */ -PJ_DEF(pj_atomic_value_t) pj_atomic_dec_and_get(pj_atomic_t *atomic_var) -{ - PJ_CHECK_STACK(); - -#if defined(PJ_WIN32_WINNT) && PJ_WIN32_WINNT >= 0x0400 - return InterlockedDecrement(&atomic_var->value); -#else - return InterlockedDecrement(&atomic_var->value); -#endif -} - -/* - * pj_atomic_dec() - */ -PJ_DEF(void) pj_atomic_dec(pj_atomic_t *atomic_var) -{ - pj_atomic_dec_and_get(atomic_var); -} - -/* - * pj_atomic_add() - */ -PJ_DEF(void) pj_atomic_add( pj_atomic_t *atomic_var, - pj_atomic_value_t value ) -{ -#if defined(PJ_WIN32_WINNT) && PJ_WIN32_WINNT >= 0x0400 - InterlockedExchangeAdd( &atomic_var->value, value ); -#else - InterlockedExchangeAdd( &atomic_var->value, value ); -#endif -} - -/* - * pj_atomic_add_and_get() - */ -PJ_DEF(pj_atomic_value_t) pj_atomic_add_and_get( pj_atomic_t *atomic_var, - pj_atomic_value_t value) -{ -#if defined(PJ_WIN32_WINNT) && PJ_WIN32_WINNT >= 0x0400 - long oldValue = InterlockedExchangeAdd( &atomic_var->value, value); - return oldValue + value; -#else - long oldValue = InterlockedExchangeAdd( &atomic_var->value, value); - return oldValue + value; -#endif -} - -/////////////////////////////////////////////////////////////////////////////// -/* - * pj_thread_local_alloc() - */ -PJ_DEF(pj_status_t) pj_thread_local_alloc(long *index) -{ - PJ_ASSERT_RETURN(index != NULL, PJ_EINVAL); - - //Can't check stack because this function is called in the - //beginning before main thread is initialized. - //PJ_CHECK_STACK(); - - *index = TlsAlloc(); - - if (*index == TLS_OUT_OF_INDEXES) - return PJ_RETURN_OS_ERROR(GetLastError()); - else - return PJ_SUCCESS; -} - -/* - * pj_thread_local_free() - */ -PJ_DEF(void) pj_thread_local_free(long index) -{ - PJ_CHECK_STACK(); - TlsFree(index); -} - -/* - * pj_thread_local_set() - */ -PJ_DEF(pj_status_t) pj_thread_local_set(long index, void *value) -{ - BOOL rc; - - //Can't check stack because this function is called in the - //beginning before main thread is initialized. - //PJ_CHECK_STACK(); - rc = TlsSetValue(index, value); - return rc!=0 ? PJ_SUCCESS : PJ_RETURN_OS_ERROR(GetLastError()); -} - -/* - * pj_thread_local_get() - */ -PJ_DEF(void*) pj_thread_local_get(long index) -{ - //Can't check stack because this function is called - //by PJ_CHECK_STACK() itself!!! - //PJ_CHECK_STACK(); - return TlsGetValue(index); -} - -/////////////////////////////////////////////////////////////////////////////// -static pj_status_t init_mutex(pj_mutex_t *mutex, const char *name) -{ - - PJ_CHECK_STACK(); - -#if PJ_WIN32_WINNT >= 0x0400 - InitializeCriticalSection(&mutex->crit); -#else - mutex->hMutex = CreateMutex(NULL, FALSE, NULL); - if (!mutex->hMutex) { - return PJ_RETURN_OS_ERROR(GetLastError()); - } -#endif - -#if PJ_DEBUG - /* Set owner. */ - mutex->nesting_level = 0; - mutex->owner = NULL; -#endif - - /* Set name. */ - if (!name) { - name = "mtx%p"; - } - if (strchr(name, '%')) { - pj_ansi_snprintf(mutex->obj_name, PJ_MAX_OBJ_NAME, name, mutex); - } else { - pj_ansi_strncpy(mutex->obj_name, name, PJ_MAX_OBJ_NAME); - mutex->obj_name[PJ_MAX_OBJ_NAME-1] = '\0'; - } - - PJ_LOG(6, (mutex->obj_name, "Mutex created")); - return PJ_SUCCESS; -} - -/* - * pj_mutex_create() - */ -PJ_DEF(pj_status_t) pj_mutex_create(pj_pool_t *pool, - const char *name, - int type, - pj_mutex_t **mutex_ptr) -{ - pj_status_t rc; - pj_mutex_t *mutex; - - PJ_UNUSED_ARG(type); - PJ_ASSERT_RETURN(pool && mutex_ptr, PJ_EINVAL); - - mutex = pj_pool_alloc(pool, sizeof(*mutex)); - if (!mutex) - return PJ_ENOMEM; - - rc = init_mutex(mutex, name); - if (rc != PJ_SUCCESS) - return rc; - - *mutex_ptr = mutex; - - return PJ_SUCCESS; -} - -/* - * pj_mutex_create_simple() - */ -PJ_DEF(pj_status_t) pj_mutex_create_simple( pj_pool_t *pool, - const char *name, - pj_mutex_t **mutex ) -{ - return pj_mutex_create(pool, name, PJ_MUTEX_SIMPLE, mutex); -} - -/* - * pj_mutex_create_recursive() - */ -PJ_DEF(pj_status_t) pj_mutex_create_recursive( pj_pool_t *pool, - const char *name, - pj_mutex_t **mutex ) -{ - return pj_mutex_create(pool, name, PJ_MUTEX_RECURSE, mutex); -} - -/* - * pj_mutex_lock() - */ -PJ_DEF(pj_status_t) pj_mutex_lock(pj_mutex_t *mutex) -{ - pj_status_t status; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(mutex, PJ_EINVAL); - - LOG_MUTEX((mutex->obj_name, "Mutex: thread %s is waiting", - pj_thread_this()->obj_name)); - -#if PJ_WIN32_WINNT >= 0x0400 - EnterCriticalSection(&mutex->crit); - status=PJ_SUCCESS; -#else - if (WaitForSingleObject(mutex->hMutex, INFINITE)==WAIT_OBJECT_0) - status = PJ_SUCCESS; - else - status = PJ_STATUS_FROM_OS(GetLastError()); - -#endif - LOG_MUTEX((mutex->obj_name, - (status==PJ_SUCCESS ? "Mutex acquired by thread %s" : "FAILED by %s"), - pj_thread_this()->obj_name)); - -#if PJ_DEBUG - if (status == PJ_SUCCESS) { - mutex->owner = pj_thread_this(); - ++mutex->nesting_level; - } -#endif - - return status; -} - -/* - * pj_mutex_unlock() - */ -PJ_DEF(pj_status_t) pj_mutex_unlock(pj_mutex_t *mutex) -{ - pj_status_t status; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(mutex, PJ_EINVAL); - -#if PJ_DEBUG - pj_assert(mutex->owner == pj_thread_this()); - if (--mutex->nesting_level == 0) { - mutex->owner = NULL; - } -#endif - - LOG_MUTEX((mutex->obj_name, "Mutex released by thread %s", - pj_thread_this()->obj_name)); - -#if PJ_WIN32_WINNT >= 0x0400 - LeaveCriticalSection(&mutex->crit); - status=PJ_SUCCESS; -#else - status = ReleaseMutex(mutex->hMutex) ? PJ_SUCCESS : - PJ_STATUS_FROM_OS(GetLastError()); -#endif - return status; -} - -/* - * pj_mutex_trylock() - */ -PJ_DEF(pj_status_t) pj_mutex_trylock(pj_mutex_t *mutex) -{ - pj_status_t status; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(mutex, PJ_EINVAL); - - LOG_MUTEX((mutex->obj_name, "Mutex: thread %s is trying", - pj_thread_this()->obj_name)); - -#if PJ_WIN32_WINNT >= 0x0400 - status=TryEnterCriticalSection(&mutex->crit) ? PJ_SUCCESS : PJ_EUNKNOWN; -#else - status = WaitForSingleObject(mutex->hMutex, 0)==WAIT_OBJECT_0 ? - PJ_SUCCESS : PJ_ETIMEDOUT; -#endif - if (status==PJ_SUCCESS) { - LOG_MUTEX((mutex->obj_name, "Mutex acquired by thread %s", - pj_thread_this()->obj_name)); - -#if PJ_DEBUG - mutex->owner = pj_thread_this(); - ++mutex->nesting_level; -#endif - } else { - LOG_MUTEX((mutex->obj_name, "Mutex: thread %s's trylock() failed", - pj_thread_this()->obj_name)); - } - - return status; -} - -/* - * pj_mutex_destroy() - */ -PJ_DEF(pj_status_t) pj_mutex_destroy(pj_mutex_t *mutex) -{ - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(mutex, PJ_EINVAL); - - LOG_MUTEX((mutex->obj_name, "Mutex destroyed")); - -#if PJ_WIN32_WINNT >= 0x0400 - DeleteCriticalSection(&mutex->crit); - return PJ_SUCCESS; -#else - return CloseHandle(mutex->hMutex) ? PJ_SUCCESS : - PJ_RETURN_OS_ERROR(GetLastError()); -#endif -} - -/* - * pj_mutex_is_locked() - */ -PJ_DEF(pj_bool_t) pj_mutex_is_locked(pj_mutex_t *mutex) -{ -#if PJ_DEBUG - return mutex->owner == pj_thread_this(); -#else - PJ_UNUSED_ARG(mutex); - pj_assert(!"PJ_DEBUG is not set!"); - return 1; -#endif -} - -/////////////////////////////////////////////////////////////////////////////// -/* - * Win32 lacks Read/Write mutex, so include the emulation. - */ -#include "os_rwmutex.c" - -/////////////////////////////////////////////////////////////////////////////// -/* - * pj_enter_critical_section() - */ -PJ_DEF(void) pj_enter_critical_section(void) -{ - pj_mutex_lock(&critical_section_mutex); -} - - -/* - * pj_leave_critical_section() - */ -PJ_DEF(void) pj_leave_critical_section(void) -{ - pj_mutex_unlock(&critical_section_mutex); -} - -/////////////////////////////////////////////////////////////////////////////// -#if defined(PJ_HAS_SEMAPHORE) && PJ_HAS_SEMAPHORE != 0 - -/* - * pj_sem_create() - */ -PJ_DEF(pj_status_t) pj_sem_create( pj_pool_t *pool, - const char *name, - unsigned initial, - unsigned max, - pj_sem_t **sem_ptr) -{ - pj_sem_t *sem; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(pool && sem_ptr, PJ_EINVAL); - - sem = pj_pool_alloc(pool, sizeof(*sem)); - sem->hSemaphore = CreateSemaphore(NULL, initial, max, NULL); - if (!sem->hSemaphore) - return PJ_RETURN_OS_ERROR(GetLastError()); - - /* Set name. */ - if (!name) { - name = "sem%p"; - } - if (strchr(name, '%')) { - pj_ansi_snprintf(sem->obj_name, PJ_MAX_OBJ_NAME, name, sem); - } else { - pj_ansi_strncpy(sem->obj_name, name, PJ_MAX_OBJ_NAME); - sem->obj_name[PJ_MAX_OBJ_NAME-1] = '\0'; - } - - LOG_MUTEX((sem->obj_name, "Semaphore created")); - - *sem_ptr = sem; - return PJ_SUCCESS; -} - -static pj_status_t pj_sem_wait_for(pj_sem_t *sem, unsigned timeout) -{ - DWORD result; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(sem, PJ_EINVAL); - - LOG_MUTEX((sem->obj_name, "Semaphore: thread %s is waiting", - pj_thread_this()->obj_name)); - - result = WaitForSingleObject(sem->hSemaphore, timeout); - if (result == WAIT_OBJECT_0) { - LOG_MUTEX((sem->obj_name, "Semaphore acquired by thread %s", - pj_thread_this()->obj_name)); - } else { - LOG_MUTEX((sem->obj_name, "Semaphore: thread %s FAILED to acquire", - pj_thread_this()->obj_name)); - } - - if (result==WAIT_OBJECT_0) - return PJ_SUCCESS; - else if (result==WAIT_TIMEOUT) - return PJ_ETIMEDOUT; - else - return PJ_RETURN_OS_ERROR(GetLastError()); -} - -/* - * pj_sem_wait() - */ -PJ_DEF(pj_status_t) pj_sem_wait(pj_sem_t *sem) -{ - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(sem, PJ_EINVAL); - - return pj_sem_wait_for(sem, INFINITE); -} - -/* - * pj_sem_trywait() - */ -PJ_DEF(pj_status_t) pj_sem_trywait(pj_sem_t *sem) -{ - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(sem, PJ_EINVAL); - - return pj_sem_wait_for(sem, 0); -} - -/* - * pj_sem_post() - */ -PJ_DEF(pj_status_t) pj_sem_post(pj_sem_t *sem) -{ - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(sem, PJ_EINVAL); - - LOG_MUTEX((sem->obj_name, "Semaphore released by thread %s", - pj_thread_this()->obj_name)); - - if (ReleaseSemaphore(sem->hSemaphore, 1, NULL)) - return PJ_SUCCESS; - else - return PJ_RETURN_OS_ERROR(GetLastError()); -} - -/* - * pj_sem_destroy() - */ -PJ_DEF(pj_status_t) pj_sem_destroy(pj_sem_t *sem) -{ - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(sem, PJ_EINVAL); - - LOG_MUTEX((sem->obj_name, "Semaphore destroyed by thread %s", - pj_thread_this()->obj_name)); - - if (CloseHandle(sem->hSemaphore)) - return PJ_SUCCESS; - else - return PJ_RETURN_OS_ERROR(GetLastError()); -} - -#endif /* PJ_HAS_SEMAPHORE */ -/////////////////////////////////////////////////////////////////////////////// - - -#if defined(PJ_HAS_EVENT_OBJ) && PJ_HAS_EVENT_OBJ != 0 - -/* - * pj_event_create() - */ -PJ_DEF(pj_status_t) pj_event_create( pj_pool_t *pool, - const char *name, - pj_bool_t manual_reset, - pj_bool_t initial, - pj_event_t **event_ptr) -{ - pj_event_t *event; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(pool && event_ptr, PJ_EINVAL); - - event = pj_pool_alloc(pool, sizeof(*event)); - if (!event) - return PJ_ENOMEM; - - event->hEvent = CreateEvent(NULL, manual_reset?TRUE:FALSE, - initial?TRUE:FALSE, NULL); - - if (!event->hEvent) - return PJ_RETURN_OS_ERROR(GetLastError()); - - /* Set name. */ - if (!name) { - name = "evt%p"; - } - if (strchr(name, '%')) { - pj_ansi_snprintf(event->obj_name, PJ_MAX_OBJ_NAME, name, event); - } else { - pj_ansi_strncpy(event->obj_name, name, PJ_MAX_OBJ_NAME); - event->obj_name[PJ_MAX_OBJ_NAME-1] = '\0'; - } - - PJ_LOG(6, (event->obj_name, "Event created")); - - *event_ptr = event; - return PJ_SUCCESS; -} - -static pj_status_t pj_event_wait_for(pj_event_t *event, unsigned timeout) -{ - DWORD result; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(event, PJ_EINVAL); - - PJ_LOG(6, (event->obj_name, "Event: thread %s is waiting", - pj_thread_this()->obj_name)); - - result = WaitForSingleObject(event->hEvent, timeout); - if (result == WAIT_OBJECT_0) { - PJ_LOG(6, (event->obj_name, "Event: thread %s is released", - pj_thread_this()->obj_name)); - } else { - PJ_LOG(6, (event->obj_name, "Event: thread %s FAILED to acquire", - pj_thread_this()->obj_name)); - } - - if (result==WAIT_OBJECT_0) - return PJ_SUCCESS; - else if (result==WAIT_TIMEOUT) - return PJ_ETIMEDOUT; - else - return PJ_RETURN_OS_ERROR(GetLastError()); -} - -/* - * pj_event_wait() - */ -PJ_DEF(pj_status_t) pj_event_wait(pj_event_t *event) -{ - PJ_ASSERT_RETURN(event, PJ_EINVAL); - - return pj_event_wait_for(event, INFINITE); -} - -/* - * pj_event_trywait() - */ -PJ_DEF(pj_status_t) pj_event_trywait(pj_event_t *event) -{ - PJ_ASSERT_RETURN(event, PJ_EINVAL); - - return pj_event_wait_for(event, 0); -} - -/* - * pj_event_set() - */ -PJ_DEF(pj_status_t) pj_event_set(pj_event_t *event) -{ - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(event, PJ_EINVAL); - - PJ_LOG(6, (event->obj_name, "Setting event")); - - if (SetEvent(event->hEvent)) - return PJ_SUCCESS; - else - return PJ_RETURN_OS_ERROR(GetLastError()); -} - -/* - * pj_event_pulse() - */ -PJ_DEF(pj_status_t) pj_event_pulse(pj_event_t *event) -{ - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(event, PJ_EINVAL); - - PJ_LOG(6, (event->obj_name, "Pulsing event")); - - if (PulseEvent(event->hEvent)) - return PJ_SUCCESS; - else - return PJ_RETURN_OS_ERROR(GetLastError()); -} - -/* - * pj_event_reset() - */ -PJ_DEF(pj_status_t) pj_event_reset(pj_event_t *event) -{ - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(event, PJ_EINVAL); - - PJ_LOG(6, (event->obj_name, "Event is reset")); - - if (ResetEvent(event->hEvent)) - return PJ_SUCCESS; - else - return PJ_RETURN_OS_ERROR(GetLastError()); -} - -/* - * pj_event_destroy() - */ -PJ_DEF(pj_status_t) pj_event_destroy(pj_event_t *event) -{ - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(event, PJ_EINVAL); - - PJ_LOG(6, (event->obj_name, "Event is destroying")); - - if (CloseHandle(event->hEvent)) - return PJ_SUCCESS; - else - return PJ_RETURN_OS_ERROR(GetLastError()); -} - -#endif /* PJ_HAS_EVENT_OBJ */ - -/////////////////////////////////////////////////////////////////////////////// -#if defined(PJ_TERM_HAS_COLOR) && PJ_TERM_HAS_COLOR != 0 -/* - * Terminal color - */ - -static WORD pj_color_to_os_attr(pj_color_t color) -{ - WORD attr = 0; - - if (color & PJ_TERM_COLOR_R) - attr |= FOREGROUND_RED; - if (color & PJ_TERM_COLOR_G) - attr |= FOREGROUND_GREEN; - if (color & PJ_TERM_COLOR_B) - attr |= FOREGROUND_BLUE; - if (color & PJ_TERM_COLOR_BRIGHT) - attr |= FOREGROUND_INTENSITY; - - return attr; -} - -static pj_color_t os_attr_to_pj_color(WORD attr) -{ - int color = 0; - - if (attr & FOREGROUND_RED) - color |= PJ_TERM_COLOR_R; - if (attr & FOREGROUND_GREEN) - color |= PJ_TERM_COLOR_G; - if (attr & FOREGROUND_BLUE) - color |= PJ_TERM_COLOR_B; - if (attr & FOREGROUND_INTENSITY) - color |= PJ_TERM_COLOR_BRIGHT; - - return color; -} - - -/* - * pj_term_set_color() - */ -PJ_DEF(pj_status_t) pj_term_set_color(pj_color_t color) -{ - BOOL rc; - WORD attr = 0; - - PJ_CHECK_STACK(); - - attr = pj_color_to_os_attr(color); - rc = SetConsoleTextAttribute( GetStdHandle(STD_OUTPUT_HANDLE), attr); - return rc ? PJ_SUCCESS : PJ_RETURN_OS_ERROR(GetLastError()); -} - -/* - * pj_term_get_color() - * Get current terminal foreground color. - */ -PJ_DEF(pj_color_t) pj_term_get_color(void) -{ - CONSOLE_SCREEN_BUFFER_INFO info; - - PJ_CHECK_STACK(); - - GetConsoleScreenBufferInfo( GetStdHandle(STD_OUTPUT_HANDLE), &info); - return os_attr_to_pj_color(info.wAttributes); -} - -#endif /* PJ_TERM_HAS_COLOR */ - -/* - * pj_run_app() - */ -PJ_DEF(int) pj_run_app(pj_main_func_ptr main_func, int argc, char *argv[], - unsigned flags) -{ - PJ_UNUSED_ARG(flags); - return (*main_func)(argc, argv); -} diff --git a/res/pjproject/pjlib/src/pj/os_error_linux_kernel.c b/res/pjproject/pjlib/src/pj/os_error_linux_kernel.c deleted file mode 100644 index 7cf28e63c8..0000000000 --- a/res/pjproject/pjlib/src/pj/os_error_linux_kernel.c +++ /dev/null @@ -1,81 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#if defined(MODVERSIONS) -#include -#endif -#include -#include - -int kernel_errno; - -PJ_DEF(pj_status_t) pj_get_os_error(void) -{ - return errno; -} - -PJ_DEF(void) pj_set_os_error(pj_status_t code) -{ - errno = code; -} - -PJ_DEF(pj_status_t) pj_get_netos_error(void) -{ - return errno; -} - -PJ_DEF(void) pj_set_netos_error(pj_status_t code) -{ - errno = code; -} - -/* - * platform_strerror() - * - * Platform specific error message. This file is called by pj_strerror() - * in errno.c - */ -int platform_strerror( pj_os_err_type os_errcode, - char *buf, pj_size_t bufsize) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - int len; - - /* Handle EINVAL as special case so that it'll pass errno test. */ - if (os_errcode==EINVAL) - strcpy(errmsg, "Invalid value"); - else - snprintf(errmsg, sizeof(errmsg), "errno=%d", os_errcode); - - len = strlen(errmsg); - - if (len >= bufsize) - len = bufsize-1; - - pj_memcpy(buf, errmsg, len); - buf[len] = '\0'; - - return len; -} - - diff --git a/res/pjproject/pjlib/src/pj/os_error_symbian.cpp b/res/pjproject/pjlib/src/pj/os_error_symbian.cpp deleted file mode 100644 index 4af9b30ef7..0000000000 --- a/res/pjproject/pjlib/src/pj/os_error_symbian.cpp +++ /dev/null @@ -1,172 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - -#include -#include - - -#if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING!=0) -static const struct { - pj_os_err_type code; - const char *msg; -} gaErrorList[] = { - /* - * Generic error -1 to -46 - */ - PJ_BUILD_ERR( KErrNotFound, "Unable to find the specified object"), - PJ_BUILD_ERR( KErrGeneral, "General (unspecified) error"), - PJ_BUILD_ERR( KErrCancel, "The operation was cancelled"), - PJ_BUILD_ERR( KErrNoMemory, "Not enough memory"), - PJ_BUILD_ERR( KErrNotSupported, "The operation requested is not supported"), - PJ_BUILD_ERR( KErrArgument, "Bad request"), - PJ_BUILD_ERR( KErrTotalLossOfPrecision, "Total loss of precision"), - PJ_BUILD_ERR( KErrBadHandle, "Bad object"), - PJ_BUILD_ERR( KErrOverflow, "Overflow"), - PJ_BUILD_ERR( KErrUnderflow, "Underflow"), - PJ_BUILD_ERR( KErrAlreadyExists,"Already exists"), - PJ_BUILD_ERR( KErrPathNotFound, "Unable to find the specified folder"), - PJ_BUILD_ERR( KErrDied, "Closed"), - PJ_BUILD_ERR( KErrInUse, "The specified object is currently in use by another program"), - PJ_BUILD_ERR( KErrServerTerminated, "Server has closed"), - PJ_BUILD_ERR( KErrServerBusy, "Server busy"), - PJ_BUILD_ERR( KErrCompletion, "Completion error"), - PJ_BUILD_ERR( KErrNotReady, "Not ready"), - PJ_BUILD_ERR( KErrUnknown, "Unknown error"), - PJ_BUILD_ERR( KErrCorrupt, "Corrupt"), - PJ_BUILD_ERR( KErrAccessDenied, "Access denied"), - PJ_BUILD_ERR( KErrLocked, "Locked"), - PJ_BUILD_ERR( KErrWrite, "Failed to write"), - PJ_BUILD_ERR( KErrDisMounted, "Wrong disk present"), - PJ_BUILD_ERR( KErrEof, "Unexpected end of file"), - PJ_BUILD_ERR( KErrDiskFull, "Disk full"), - PJ_BUILD_ERR( KErrBadDriver, "Bad device driver"), - PJ_BUILD_ERR( KErrBadName, "Bad name"), - PJ_BUILD_ERR( KErrCommsLineFail,"Comms line failed"), - PJ_BUILD_ERR( KErrCommsFrame, "Comms frame error"), - PJ_BUILD_ERR( KErrCommsOverrun, "Comms overrun error"), - PJ_BUILD_ERR( KErrCommsParity, "Comms parity error"), - PJ_BUILD_ERR( KErrTimedOut, "Timed out"), - PJ_BUILD_ERR( KErrCouldNotConnect, "Failed to connect"), - PJ_BUILD_ERR( KErrCouldNotDisconnect, "Failed to disconnect"), - PJ_BUILD_ERR( KErrDisconnected, "Disconnected"), - PJ_BUILD_ERR( KErrBadLibraryEntryPoint, "Bad library entry point"), - PJ_BUILD_ERR( KErrBadDescriptor,"Bad descriptor"), - PJ_BUILD_ERR( KErrAbort, "Interrupted"), - PJ_BUILD_ERR( KErrTooBig, "Too big"), - PJ_BUILD_ERR( KErrDivideByZero, "Divide by zero"), - PJ_BUILD_ERR( KErrBadPower, "Batteries too low"), - PJ_BUILD_ERR( KErrDirFull, "Folder full"), - PJ_BUILD_ERR( KErrHardwareNotAvailable, ""), - PJ_BUILD_ERR( KErrSessionClosed, ""), - PJ_BUILD_ERR( KErrPermissionDenied, ""), - - /* - * Socket errors (-190 - -1000) - */ - PJ_BUILD_ERR( KErrNetUnreach, "Could not connect to the network. Currently unreachable"), - PJ_BUILD_ERR( KErrHostUnreach, "Could not connect to the specified server"), - PJ_BUILD_ERR( KErrNoProtocolOpt,"The specified server refuses the selected protocol"), - PJ_BUILD_ERR( KErrUrgentData, ""), - PJ_BUILD_ERR( KErrWouldBlock, "Conflicts with KErrExtended, but cannot occur in practice"), - - {0, NULL} -}; - -#endif /* PJ_HAS_ERROR_STRING */ - - -PJ_DEF(pj_status_t) pj_get_os_error(void) -{ - return -1; -} - -PJ_DEF(void) pj_set_os_error(pj_status_t code) -{ - PJ_UNUSED_ARG(code); -} - -PJ_DEF(pj_status_t) pj_get_netos_error(void) -{ - return -1; -} - -PJ_DEF(void) pj_set_netos_error(pj_status_t code) -{ - PJ_UNUSED_ARG(code); -} - -PJ_BEGIN_DECL - - PJ_DECL(int) platform_strerror( pj_os_err_type os_errcode, - char *buf, pj_size_t bufsize); -PJ_END_DECL - -/* - * platform_strerror() - * - * Platform specific error message. This file is called by pj_strerror() - * in errno.c - */ -PJ_DEF(int) platform_strerror( pj_os_err_type os_errcode, - char *buf, pj_size_t bufsize) -{ - int len = 0; - - pj_assert(buf != NULL); - pj_assert(bufsize >= 0); - - /* - * MUST NOT check stack here. - * This function might be called from PJ_CHECK_STACK() itself! - //PJ_CHECK_STACK(); - */ - - if (!len) { -#if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING!=0) - int i; - for (i = 0; gaErrorList[i].msg; ++i) { - if (gaErrorList[i].code == os_errcode) { - len = strlen(gaErrorList[i].msg); - if ((pj_size_t)len >= bufsize) { - len = bufsize-1; - } - pj_memcpy(buf, gaErrorList[i].msg, len); - buf[len] = '\0'; - break; - } - } -#endif /* PJ_HAS_ERROR_STRING */ - - } - - if (!len) { - len = pj_ansi_snprintf( buf, bufsize, "Symbian native error %d", - os_errcode); - buf[len] = '\0'; - } - - return len; -} - diff --git a/res/pjproject/pjlib/src/pj/os_error_unix.c b/res/pjproject/pjlib/src/pj/os_error_unix.c deleted file mode 100644 index 523f585a25..0000000000 --- a/res/pjproject/pjlib/src/pj/os_error_unix.c +++ /dev/null @@ -1,69 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - -PJ_DEF(pj_status_t) pj_get_os_error(void) -{ - return PJ_STATUS_FROM_OS(errno); -} - -PJ_DEF(void) pj_set_os_error(pj_status_t code) -{ - errno = PJ_STATUS_TO_OS(code); -} - -PJ_DEF(pj_status_t) pj_get_netos_error(void) -{ - return PJ_STATUS_FROM_OS(errno); -} - -PJ_DEF(void) pj_set_netos_error(pj_status_t code) -{ - errno = PJ_STATUS_TO_OS(code); -} - -PJ_BEGIN_DECL - - PJ_DECL(int) platform_strerror(pj_os_err_type code, - char *buf, pj_size_t bufsize ); -PJ_END_DECL - -/* - * platform_strerror() - * - * Platform specific error message. This file is called by pj_strerror() - * in errno.c - */ -int platform_strerror( pj_os_err_type os_errcode, - char *buf, pj_size_t bufsize) -{ - const char *syserr = strerror(os_errcode); - pj_size_t len = syserr ? strlen(syserr) : 0; - - if (len >= bufsize) len = bufsize - 1; - if (len > 0) - pj_memcpy(buf, syserr, len); - buf[len] = '\0'; - return len; -} - - diff --git a/res/pjproject/pjlib/src/pj/os_error_win32.c b/res/pjproject/pjlib/src/pj/os_error_win32.c deleted file mode 100644 index c0e0aa5929..0000000000 --- a/res/pjproject/pjlib/src/pj/os_error_win32.c +++ /dev/null @@ -1,220 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - - -#if defined(PJ_HAS_WINSOCK2_H) && PJ_HAS_WINSOCK2_H != 0 -# include -#elif defined(PJ_HAS_WINSOCK_H) && PJ_HAS_WINSOCK_H != 0 -# include -#endif - - -/* - * From Apache's APR: - */ -#if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING!=0) - -static const struct { - pj_os_err_type code; - const char *msg; -} gaErrorList[] = { - PJ_BUILD_ERR( WSAEINTR, "Interrupted system call"), - PJ_BUILD_ERR( WSAEBADF, "Bad file number"), - PJ_BUILD_ERR( WSAEACCES, "Permission denied"), - PJ_BUILD_ERR( WSAEFAULT, "Bad address"), - PJ_BUILD_ERR( WSAEINVAL, "Invalid argument"), - PJ_BUILD_ERR( WSAEMFILE, "Too many open sockets"), - PJ_BUILD_ERR( WSAEWOULDBLOCK, "Operation would block"), - PJ_BUILD_ERR( WSAEINPROGRESS, "Operation now in progress"), - PJ_BUILD_ERR( WSAEALREADY, "Operation already in progress"), - PJ_BUILD_ERR( WSAENOTSOCK, "Socket operation on non-socket"), - PJ_BUILD_ERR( WSAEDESTADDRREQ, "Destination address required"), - PJ_BUILD_ERR( WSAEMSGSIZE, "Message too long"), - PJ_BUILD_ERR( WSAEPROTOTYPE, "Protocol wrong type for socket"), - PJ_BUILD_ERR( WSAENOPROTOOPT, "Bad protocol option"), - PJ_BUILD_ERR( WSAEPROTONOSUPPORT, "Protocol not supported"), - PJ_BUILD_ERR( WSAESOCKTNOSUPPORT, "Socket type not supported"), - PJ_BUILD_ERR( WSAEOPNOTSUPP, "Operation not supported on socket"), - PJ_BUILD_ERR( WSAEPFNOSUPPORT, "Protocol family not supported"), - PJ_BUILD_ERR( WSAEAFNOSUPPORT, "Address family not supported"), - PJ_BUILD_ERR( WSAEADDRINUSE, "Address already in use"), - PJ_BUILD_ERR( WSAEADDRNOTAVAIL, "Can't assign requested address"), - PJ_BUILD_ERR( WSAENETDOWN, "Network is down"), - PJ_BUILD_ERR( WSAENETUNREACH, "Network is unreachable"), - PJ_BUILD_ERR( WSAENETRESET, "Net connection reset"), - PJ_BUILD_ERR( WSAECONNABORTED, "Software caused connection abort"), - PJ_BUILD_ERR( WSAECONNRESET, "Connection reset by peer"), - PJ_BUILD_ERR( WSAENOBUFS, "No buffer space available"), - PJ_BUILD_ERR( WSAEISCONN, "Socket is already connected"), - PJ_BUILD_ERR( WSAENOTCONN, "Socket is not connected"), - PJ_BUILD_ERR( WSAESHUTDOWN, "Can't send after socket shutdown"), - PJ_BUILD_ERR( WSAETOOMANYREFS, "Too many references, can't splice"), - PJ_BUILD_ERR( WSAETIMEDOUT, "Connection timed out"), - PJ_BUILD_ERR( WSAECONNREFUSED, "Connection refused"), - PJ_BUILD_ERR( WSAELOOP, "Too many levels of symbolic links"), - PJ_BUILD_ERR( WSAENAMETOOLONG, "File name too long"), - PJ_BUILD_ERR( WSAEHOSTDOWN, "Host is down"), - PJ_BUILD_ERR( WSAEHOSTUNREACH, "No route to host"), - PJ_BUILD_ERR( WSAENOTEMPTY, "Directory not empty"), - PJ_BUILD_ERR( WSAEPROCLIM, "Too many processes"), - PJ_BUILD_ERR( WSAEUSERS, "Too many users"), - PJ_BUILD_ERR( WSAEDQUOT, "Disc quota exceeded"), - PJ_BUILD_ERR( WSAESTALE, "Stale NFS file handle"), - PJ_BUILD_ERR( WSAEREMOTE, "Too many levels of remote in path"), - PJ_BUILD_ERR( WSASYSNOTREADY, "Network system is unavailable"), - PJ_BUILD_ERR( WSAVERNOTSUPPORTED, "Winsock version out of range"), - PJ_BUILD_ERR( WSANOTINITIALISED, "WSAStartup not yet called"), - PJ_BUILD_ERR( WSAEDISCON, "Graceful shutdown in progress"), -/* -#define WSAENOMORE (WSABASEERR+102) -#define WSAECANCELLED (WSABASEERR+103) -#define WSAEINVALIDPROCTABLE (WSABASEERR+104) -#define WSAEINVALIDPROVIDER (WSABASEERR+105) -#define WSAEPROVIDERFAILEDINIT (WSABASEERR+106) -#define WSASYSCALLFAILURE (WSABASEERR+107) -#define WSASERVICE_NOT_FOUND (WSABASEERR+108) -#define WSATYPE_NOT_FOUND (WSABASEERR+109) -#define WSA_E_NO_MORE (WSABASEERR+110) -#define WSA_E_CANCELLED (WSABASEERR+111) -#define WSAEREFUSED (WSABASEERR+112) - */ - PJ_BUILD_ERR( WSAHOST_NOT_FOUND, "Host not found"), -/* -#define WSATRY_AGAIN (WSABASEERR+1002) -#define WSANO_RECOVERY (WSABASEERR+1003) - */ - PJ_BUILD_ERR( WSANO_DATA, "No host data of that type was found"), - {0, NULL} -}; - -#endif /* PJ_HAS_ERROR_STRING */ - - - -PJ_DEF(pj_status_t) pj_get_os_error(void) -{ - return PJ_STATUS_FROM_OS(GetLastError()); -} - -PJ_DEF(void) pj_set_os_error(pj_status_t code) -{ - SetLastError(PJ_STATUS_TO_OS(code)); -} - -PJ_DEF(pj_status_t) pj_get_netos_error(void) -{ - return PJ_STATUS_FROM_OS(WSAGetLastError()); -} - -PJ_DEF(void) pj_set_netos_error(pj_status_t code) -{ - WSASetLastError(PJ_STATUS_TO_OS(code)); -} - -/* - * platform_strerror() - * - * Platform specific error message. This file is called by pj_strerror() - * in errno.c - */ -int platform_strerror( pj_os_err_type os_errcode, - char *buf, pj_size_t bufsize) -{ - int len = 0; - PJ_DECL_UNICODE_TEMP_BUF(wbuf,128); - - pj_assert(buf != NULL); - pj_assert(bufsize >= 0); - - /* - * MUST NOT check stack here. - * This function might be called from PJ_CHECK_STACK() itself! - //PJ_CHECK_STACK(); - */ - - if (!len) { -#if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING!=0) - int i; - for (i = 0; gaErrorList[i].msg; ++i) { - if (gaErrorList[i].code == os_errcode) { - len = strlen(gaErrorList[i].msg); - if ((pj_size_t)len >= bufsize) { - len = bufsize-1; - } - pj_memcpy(buf, gaErrorList[i].msg, len); - buf[len] = '\0'; - break; - } - } -#endif /* PJ_HAS_ERROR_STRING */ - - } - - - if (!len) { -#if PJ_NATIVE_STRING_IS_UNICODE - len = FormatMessage( FORMAT_MESSAGE_FROM_SYSTEM - | FORMAT_MESSAGE_IGNORE_INSERTS, - NULL, - os_errcode, - MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), - wbuf, - sizeof(wbuf), - NULL); - if (len) { - pj_unicode_to_ansi(wbuf, len, buf, bufsize); - } -#else - len = FormatMessage( FORMAT_MESSAGE_FROM_SYSTEM - | FORMAT_MESSAGE_IGNORE_INSERTS, - NULL, - os_errcode, - MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), - buf, - bufsize, - NULL); - buf[bufsize-1] = '\0'; -#endif - - if (len) { - /* Remove trailing newlines. */ - while (len && (buf[len-1] == '\n' || buf[len-1] == '\r')) { - buf[len-1] = '\0'; - --len; - } - } - } - - if (!len) { - len = pj_ansi_snprintf( buf, bufsize, "Win32 error code %u", - (unsigned)os_errcode); - if (len < 0 || len >= (int)bufsize) - len = bufsize-1; - buf[len] = '\0'; - } - - return len; -} - diff --git a/res/pjproject/pjlib/src/pj/os_info.c b/res/pjproject/pjlib/src/pj/os_info.c deleted file mode 100644 index fe284addad..0000000000 --- a/res/pjproject/pjlib/src/pj/os_info.c +++ /dev/null @@ -1,319 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -/* - * FYI these links contain useful infos about predefined macros across - * platforms: - * - http://predef.sourceforge.net/preos.html - */ - -#if defined(PJ_HAS_SYS_UTSNAME_H) && PJ_HAS_SYS_UTSNAME_H != 0 -/* For uname() */ -# include -# include -# define PJ_HAS_UNAME 1 -#endif - -#if defined(PJ_HAS_LIMITS_H) && PJ_HAS_LIMITS_H != 0 -/* Include to get to get various glibc macros. - * See http://predef.sourceforge.net/prelib.html - */ -# include -#endif - -#if defined(_MSC_VER) -/* For all Windows including mobile */ -# include -#endif - -#if defined(PJ_DARWINOS) && PJ_DARWINOS != 0 -# include "TargetConditionals.h" -#endif - -#ifndef PJ_SYS_INFO_BUFFER_SIZE -# define PJ_SYS_INFO_BUFFER_SIZE 64 -#endif - - -#if defined(PJ_DARWINOS) && PJ_DARWINOS != 0 && TARGET_OS_IPHONE - void pj_iphone_os_get_sys_info(pj_sys_info *si, pj_str_t *si_buffer); -#endif - -#if defined(PJ_SYMBIAN) && PJ_SYMBIAN != 0 - PJ_BEGIN_DECL - unsigned pj_symbianos_get_model_info(char *buf, unsigned buf_size); - unsigned pj_symbianos_get_platform_info(char *buf, unsigned buf_size); - void pj_symbianos_get_sdk_info(pj_str_t *name, pj_uint32_t *ver); - PJ_END_DECL -#endif - - -static char *ver_info(pj_uint32_t ver, char *buf) -{ - int len; - - if (ver == 0) { - *buf = '\0'; - return buf; - } - - sprintf(buf, "-%u.%u", - (ver & 0xFF000000) >> 24, - (ver & 0x00FF0000) >> 16); - len = strlen(buf); - - if (ver & 0xFFFF) { - sprintf(buf+len, ".%u", (ver & 0xFF00) >> 8); - len = strlen(buf); - - if (ver & 0x00FF) { - sprintf(buf+len, ".%u", (ver & 0xFF)); - } - } - - return buf; -} - -static pj_uint32_t parse_version(char *str) -{ - char *tok; - int i, maxtok; - pj_uint32_t version = 0; - - while (*str && !pj_isdigit(*str)) - str++; - - maxtok = 4; - for (tok = strtok(str, ".-"), i=0; tok && i= len+1) { \ - si.field.ptr = si_buffer + PJ_SYS_INFO_BUFFER_SIZE - left; \ - si.field.slen = len; \ - pj_memcpy(si.field.ptr, str, len+1); \ - left -= (len+1); \ - } \ - } while (0) - - /* - * Machine and OS info. - */ -#if defined(PJ_HAS_UNAME) && PJ_HAS_UNAME - #if defined(PJ_DARWINOS) && PJ_DARWINOS != 0 && TARGET_OS_IPHONE && \ - (!defined TARGET_IPHONE_SIMULATOR || TARGET_IPHONE_SIMULATOR == 0) - { - pj_str_t buf = {si_buffer + PJ_SYS_INFO_BUFFER_SIZE - left, left}; - pj_str_t machine = {"arm", 3}; - pj_str_t sdk_name = {"iOS-SDK", 7}; - char tmp[PJ_SYS_INFO_BUFFER_SIZE]; - - pj_iphone_os_get_sys_info(&si, &buf); - left -= si.os_name.slen + 1; - - si.os_ver = parse_version(si.machine.ptr); - - si.machine = machine; - si.sdk_name = sdk_name; - - #ifdef PJ_SDK_NAME - pj_memcpy(tmp, PJ_SDK_NAME, pj_ansi_strlen(PJ_SDK_NAME) + 1); - si.sdk_ver = parse_version(tmp); - #endif - } - #else - { - struct utsname u; - - /* Successful uname() returns zero on Linux and positive value - * on OpenSolaris. - */ - if (uname(&u) == -1) - goto get_sdk_info; - - ALLOC_CP_STR(u.machine, machine); - ALLOC_CP_STR(u.sysname, os_name); - - si.os_ver = parse_version(u.release); - } - #endif -#elif defined(_MSC_VER) - { - OSVERSIONINFO ovi; - - ovi.dwOSVersionInfoSize = sizeof(ovi); - - if (GetVersionEx(&ovi) == FALSE) - goto get_sdk_info; - - si.os_ver = (ovi.dwMajorVersion << 24) | - (ovi.dwMinorVersion << 16); - #if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE - si.os_name = pj_str("wince"); - #else - si.os_name = pj_str("win32"); - #endif - } - - { - SYSTEM_INFO wsi; - - GetSystemInfo(&wsi); - switch (wsi.wProcessorArchitecture) { - #if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE - case PROCESSOR_ARCHITECTURE_ARM: - si.machine = pj_str("arm"); - break; - case PROCESSOR_ARCHITECTURE_SHX: - si.machine = pj_str("shx"); - break; - #else - case PROCESSOR_ARCHITECTURE_AMD64: - si.machine = pj_str("x86_64"); - break; - case PROCESSOR_ARCHITECTURE_IA64: - si.machine = pj_str("ia64"); - break; - case PROCESSOR_ARCHITECTURE_INTEL: - si.machine = pj_str("i386"); - break; - #endif /* PJ_WIN32_WINCE */ - } - } -#elif defined(PJ_SYMBIAN) && PJ_SYMBIAN != 0 - { - pj_symbianos_get_model_info(si_buffer, sizeof(si_buffer)); - ALLOC_CP_STR(si_buffer, machine); - - char *p = si_buffer + sizeof(si_buffer) - left; - unsigned plen; - plen = pj_symbianos_get_platform_info(p, left); - if (plen) { - /* Output format will be "Series60vX.X" */ - si.os_name = pj_str("S60"); - si.os_ver = parse_version(p+9); - } else { - si.os_name = pj_str("Unknown"); - } - } -#endif - - /* - * SDK info. - */ -get_sdk_info: - -#if defined(__GLIBC__) - si.sdk_ver = (__GLIBC__ << 24) | - (__GLIBC_MINOR__ << 16); - si.sdk_name = pj_str("glibc"); -#elif defined(__GNU_LIBRARY__) - si.sdk_ver = (__GNU_LIBRARY__ << 24) | - (__GNU_LIBRARY_MINOR__ << 16); - si.sdk_name = pj_str("libc"); -#elif defined(__UCLIBC__) - si.sdk_ver = (__UCLIBC_MAJOR__ << 24) | - (__UCLIBC_MINOR__ << 16); - si.sdk_name = pj_str("uclibc"); -#elif defined(_WIN32_WCE) && _WIN32_WCE - /* Old window mobile declares _WIN32_WCE as decimal (e.g. 300, 420, etc.), - * but then it was changed to use hex, e.g. 0x420, etc. See - * http://social.msdn.microsoft.com/forums/en-US/vssmartdevicesnative/thread/8a97c59f-5a1c-4bc6-99e6-427f065ff439/ - */ - #if _WIN32_WCE <= 500 - si.sdk_ver = ( (_WIN32_WCE / 100) << 24) | - ( ((_WIN32_WCE % 100) / 10) << 16) | - ( (_WIN32_WCE % 10) << 8); - #else - si.sdk_ver = ( ((_WIN32_WCE & 0xFF00) >> 8) << 24) | - ( ((_WIN32_WCE & 0x00F0) >> 4) << 16) | - ( ((_WIN32_WCE & 0x000F) >> 0) << 8); - #endif - si.sdk_name = pj_str("cesdk"); -#elif defined(_MSC_VER) - /* No SDK info is easily obtainable for Visual C, so lets just use - * _MSC_VER. The _MSC_VER macro reports the major and minor versions - * of the compiler. For example, 1310 for Microsoft Visual C++ .NET 2003. - * 1310 represents version 13 and a 1.0 point release. - * The Visual C++ 2005 compiler version is 1400. - */ - si.sdk_ver = ((_MSC_VER / 100) << 24) | - (((_MSC_VER % 100) / 10) << 16) | - ((_MSC_VER % 10) << 8); - si.sdk_name = pj_str("msvc"); -#elif defined(PJ_SYMBIAN) && PJ_SYMBIAN != 0 - pj_symbianos_get_sdk_info(&si.sdk_name, &si.sdk_ver); -#endif - - /* - * Build the info string. - */ - { - char tmp[PJ_SYS_INFO_BUFFER_SIZE]; - char os_ver[20], sdk_ver[20]; - int cnt; - - cnt = pj_ansi_snprintf(tmp, sizeof(tmp), - "%s%s%s%s%s%s%s", - si.os_name.ptr, - ver_info(si.os_ver, os_ver), - (si.machine.slen ? "/" : ""), - si.machine.ptr, - (si.sdk_name.slen ? "/" : ""), - si.sdk_name.ptr, - ver_info(si.sdk_ver, sdk_ver)); - if (cnt > 0 && cnt < (int)sizeof(tmp)) { - ALLOC_CP_STR(tmp, info); - } - } - - si_initialized = PJ_TRUE; - return &si; -} diff --git a/res/pjproject/pjlib/src/pj/os_info_iphone.m b/res/pjproject/pjlib/src/pj/os_info_iphone.m deleted file mode 100644 index ef20f927fa..0000000000 --- a/res/pjproject/pjlib/src/pj/os_info_iphone.m +++ /dev/null @@ -1,53 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "TargetConditionals.h" - -#if !defined TARGET_IPHONE_SIMULATOR || TARGET_IPHONE_SIMULATOR == 0 - -#include -#include - -#include - -void pj_iphone_os_get_sys_info(pj_sys_info *si, pj_str_t *si_buffer) -{ - unsigned buf_len = si_buffer->slen, left = si_buffer->slen, len; - UIDevice *device = [UIDevice currentDevice]; - - if ([device respondsToSelector:@selector(isMultitaskingSupported)]) - si->flags |= PJ_SYS_HAS_IOS_BG; - -#define ALLOC_CP_STR(str,field) \ - do { \ - len = [str length]; \ - if (len && left >= len+1) { \ - si->field.ptr = si_buffer->ptr + buf_len - left; \ - si->field.slen = len; \ - [str getCString:si->field.ptr maxLength:len+1 \ - encoding:NSASCIIStringEncoding]; \ - left -= (len+1); \ - } \ - } while (0) - - ALLOC_CP_STR([device systemName], os_name); - ALLOC_CP_STR([device systemVersion], machine); -} - -#endif diff --git a/res/pjproject/pjlib/src/pj/os_info_symbian.cpp b/res/pjproject/pjlib/src/pj/os_info_symbian.cpp deleted file mode 100644 index 4c2e86b5e8..0000000000 --- a/res/pjproject/pjlib/src/pj/os_info_symbian.cpp +++ /dev/null @@ -1,190 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#if !defined(PJ_SYMBIAN) || PJ_SYMBIAN == 0 -# error This file is only for Symbian platform -#endif - -#include -#include - -#include /* link against efsrv.lib */ -#include /* link against hal.lib */ -#include /* link against charconv.lib */ - - -PJ_BEGIN_DECL -unsigned pj_symbianos_get_model_info(char *buf, unsigned buf_size); -unsigned pj_symbianos_get_platform_info(char *buf, unsigned buf_size); -void pj_symbianos_get_sdk_info(pj_str_t *name, pj_uint32_t *ver); -PJ_END_DECL - - -/* Get Symbian phone model info, returning length of model info */ -unsigned pj_symbianos_get_model_info(char *buf, unsigned buf_size) -{ - pj_str_t model_name; - - /* Get machine UID */ - TInt hal_val; - HAL::Get(HAL::EMachineUid, hal_val); - pj_ansi_snprintf(buf, buf_size, "0x%08X", hal_val); - pj_strset2(&model_name, buf); - - /* Get model name */ - const pj_str_t st_copyright = {"(C)", 3}; - const pj_str_t st_nokia = {"Nokia", 5}; - char tmp_buf[64]; - pj_str_t tmp_str; - - _LIT(KModelFilename,"Z:\\resource\\versions\\model.txt"); - RFile file; - RFs fs; - TInt err; - - fs.Connect(1); - err = file.Open(fs, KModelFilename, EFileRead); - if (err == KErrNone) { - TFileText text; - text.Set(file); - TBuf16<64> ModelName16; - err = text.Read(ModelName16); - if (err == KErrNone) { - TPtr8 ptr8((TUint8*)tmp_buf, sizeof(tmp_buf)); - ptr8.Copy(ModelName16); - pj_strset(&tmp_str, tmp_buf, ptr8.Length()); - pj_strtrim(&tmp_str); - } - file.Close(); - } - fs.Close(); - if (err != KErrNone) - goto on_return; - - /* The retrieved model name is usually in long format, e.g: - * "© Nokia N95 (01.01)", "(C) Nokia E52". As we need only - * the short version, let's clean it up. - */ - - /* Remove preceding non-ASCII chars, e.g: "©" */ - char *p = tmp_str.ptr; - while (!pj_isascii(*p)) { p++; } - pj_strset(&tmp_str, p, tmp_str.slen - (p - tmp_str.ptr)); - - /* Remove "(C)" */ - p = pj_stristr(&tmp_str, &st_copyright); - if (p) { - p += st_copyright.slen; - pj_strset(&tmp_str, p, tmp_str.slen - (p - tmp_str.ptr)); - } - - /* Remove "Nokia" */ - p = pj_stristr(&tmp_str, &st_nokia); - if (p) { - p += st_nokia.slen; - pj_strset(&tmp_str, p, tmp_str.slen - (p - tmp_str.ptr)); - } - - /* Remove language version, e.g: "(01.01)" */ - p = pj_strchr(&tmp_str, '('); - if (p) { - tmp_str.slen = p - tmp_str.ptr; - } - - pj_strtrim(&tmp_str); - - if (tmp_str.slen == 0) - goto on_return; - - if ((unsigned)tmp_str.slen > buf_size - model_name.slen - 3) - tmp_str.slen = buf_size - model_name.slen - 3; - - pj_strcat2(&model_name, "("); - pj_strcat(&model_name, &tmp_str); - pj_strcat2(&model_name, ")"); - - /* Zero terminate */ - buf[model_name.slen] = '\0'; - -on_return: - return model_name.slen; -} - - -/* Get platform info, returned format will be "Series60vX.X" */ -unsigned pj_symbianos_get_platform_info(char *buf, unsigned buf_size) -{ - /* OS info */ - _LIT(KS60ProductIDFile, "Series60v*.sis"); - _LIT(KROMInstallDir, "z:\\system\\install\\"); - - RFs fs; - TFindFile ff(fs); - CDir* result; - pj_str_t plat_info = {NULL, 0}; - TInt err; - - fs.Connect(1); - err = ff.FindWildByDir(KS60ProductIDFile, KROMInstallDir, result); - if (err == KErrNone) { - err = result->Sort(ESortByName|EDescending); - if (err == KErrNone) { - TPtr8 tmp_ptr8((TUint8*)buf, buf_size); - const pj_str_t tmp_ext = {".sis", 4}; - char *p; - - tmp_ptr8.Copy((*result)[0].iName); - pj_strset(&plat_info, buf, (pj_size_t)tmp_ptr8.Length()); - p = pj_stristr(&plat_info, &tmp_ext); - if (p) - plat_info.slen -= (p - plat_info.ptr); - } - delete result; - } - fs.Close(); - buf[plat_info.slen] = '\0'; - - return plat_info.slen; -} - - -/* Get SDK info */ -void pj_symbianos_get_sdk_info(pj_str_t *name, pj_uint32_t *ver) -{ - const pj_str_t S60 = {"S60", 3}; - #if defined(__SERIES60_30__) - *name = S60; - *ver = (3 << 24); - #elif defined(__SERIES60_31__) - *name = S60; - *ver = (3 << 24) | (1 << 16); - #elif defined(__S60_32__) - *name = S60; - *ver = (3 << 24) | (2 << 16); - #elif defined(__S60_50__) - *name = S60; - *ver = (5 << 24); - #elif defined(__NOKIA_N97__) - *name = pj_str("N97"); - *ver = (1 << 24); - #else - *name = pj_str("Unknown"); - *ver = 0; - #endif -} - diff --git a/res/pjproject/pjlib/src/pj/os_rwmutex.c b/res/pjproject/pjlib/src/pj/os_rwmutex.c deleted file mode 100644 index 4a87afe297..0000000000 --- a/res/pjproject/pjlib/src/pj/os_rwmutex.c +++ /dev/null @@ -1,163 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * Note: - * - * DO NOT BUILD THIS FILE DIRECTLY. THIS FILE WILL BE INCLUDED BY os_core_*.c - * WHEN MACRO PJ_EMULATE_RWMUTEX IS SET. - */ - -/* - * os_rwmutex.c: - * - * Implementation of Read-Write mutex for platforms that lack it (e.g. - * Win32, RTEMS). - */ - - -struct pj_rwmutex_t -{ - pj_mutex_t *read_lock; - /* write_lock must use semaphore, because write_lock may be released - * by thread other than the thread that acquire the write_lock in the - * first place. - */ - pj_sem_t *write_lock; - pj_int32_t reader_count; -}; - -/* - * Create reader/writer mutex. - * - */ -PJ_DEF(pj_status_t) pj_rwmutex_create(pj_pool_t *pool, const char *name, - pj_rwmutex_t **p_mutex) -{ - pj_status_t status; - pj_rwmutex_t *rwmutex; - - PJ_ASSERT_RETURN(pool && p_mutex, PJ_EINVAL); - - *p_mutex = NULL; - rwmutex = PJ_POOL_ALLOC_T(pool, pj_rwmutex_t); - - status = pj_mutex_create_simple(pool, name, &rwmutex ->read_lock); - if (status != PJ_SUCCESS) - return status; - - status = pj_sem_create(pool, name, 1, 1, &rwmutex->write_lock); - if (status != PJ_SUCCESS) { - pj_mutex_destroy(rwmutex->read_lock); - return status; - } - - rwmutex->reader_count = 0; - *p_mutex = rwmutex; - return PJ_SUCCESS; -} - -/* - * Lock the mutex for reading. - * - */ -PJ_DEF(pj_status_t) pj_rwmutex_lock_read(pj_rwmutex_t *mutex) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(mutex, PJ_EINVAL); - - status = pj_mutex_lock(mutex->read_lock); - if (status != PJ_SUCCESS) { - pj_assert(!"This pretty much is unexpected"); - return status; - } - - mutex->reader_count++; - - pj_assert(mutex->reader_count < 0x7FFFFFF0L); - - if (mutex->reader_count == 1) - pj_sem_wait(mutex->write_lock); - - status = pj_mutex_unlock(mutex->read_lock); - return status; -} - -/* - * Lock the mutex for writing. - * - */ -PJ_DEF(pj_status_t) pj_rwmutex_lock_write(pj_rwmutex_t *mutex) -{ - PJ_ASSERT_RETURN(mutex, PJ_EINVAL); - return pj_sem_wait(mutex->write_lock); -} - -/* - * Release read lock. - * - */ -PJ_DEF(pj_status_t) pj_rwmutex_unlock_read(pj_rwmutex_t *mutex) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(mutex, PJ_EINVAL); - - status = pj_mutex_lock(mutex->read_lock); - if (status != PJ_SUCCESS) { - pj_assert(!"This pretty much is unexpected"); - return status; - } - - pj_assert(mutex->reader_count >= 1); - - --mutex->reader_count; - if (mutex->reader_count == 0) - pj_sem_post(mutex->write_lock); - - status = pj_mutex_unlock(mutex->read_lock); - return status; -} - -/* - * Release write lock. - * - */ -PJ_DEF(pj_status_t) pj_rwmutex_unlock_write(pj_rwmutex_t *mutex) -{ - PJ_ASSERT_RETURN(mutex, PJ_EINVAL); - pj_assert(mutex->reader_count <= 1); - return pj_sem_post(mutex->write_lock); -} - - -/* - * Destroy reader/writer mutex. - * - */ -PJ_DEF(pj_status_t) pj_rwmutex_destroy(pj_rwmutex_t *mutex) -{ - PJ_ASSERT_RETURN(mutex, PJ_EINVAL); - pj_mutex_destroy(mutex->read_lock); - pj_sem_destroy(mutex->write_lock); - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjlib/src/pj/os_symbian.h b/res/pjproject/pjlib/src/pj/os_symbian.h deleted file mode 100644 index c40c2236fa..0000000000 --- a/res/pjproject/pjlib/src/pj/os_symbian.h +++ /dev/null @@ -1,422 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __OS_SYMBIAN_H__ -#define __OS_SYMBIAN_H__ - -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -// Forward declarations -class CPjSocketReader; - -#ifndef PJ_SYMBIAN_TIMER_PRIORITY -# define PJ_SYMBIAN_TIMER_PRIORITY EPriorityNormal -#endif - -// -// PJLIB Symbian's Socket -// -class CPjSocket -{ -public: - enum - { - MAX_LEN = 1500, - }; - - // Construct CPjSocket - CPjSocket(int af, int sock_type, RSocket &sock) - : af_(af), sock_(sock), sock_type_(sock_type), connected_(false), - sockReader_(NULL) - { - } - - // Destroy CPjSocket - ~CPjSocket(); - - // Get address family - int GetAf() const - { - return af_; - } - - // Get the internal RSocket - RSocket& Socket() - { - return sock_; - } - - // Get socket connected flag. - bool IsConnected() const - { - return connected_; - } - - // Set socket connected flag. - void SetConnected(bool connected) - { - connected_ = connected; - } - - // Get socket type - int GetSockType() const - { - return sock_type_; - } - - // Returns true if socket is a datagram - bool IsDatagram() const - { - return sock_type_ == KSockDatagram; - } - - // Get socket reader, if any. - // May return NULL. - CPjSocketReader *Reader() - { - return sockReader_; - } - - // Create socket reader. - CPjSocketReader *CreateReader(unsigned max_len=CPjSocket::MAX_LEN); - - // Delete socket reader when it's not wanted. - void DestroyReader(); - -private: - int af_; - RSocket sock_; // Must not be reference, or otherwise - // it may point to local variable! - unsigned sock_type_; - - bool connected_; - CPjSocketReader *sockReader_; -}; - - -// -// Socket reader, used by select() and ioqueue abstraction -// -class CPjSocketReader : public CActive -{ -public: - // Construct. - static CPjSocketReader *NewL(CPjSocket &sock, unsigned max_len=CPjSocket::MAX_LEN); - - // Destroy; - ~CPjSocketReader(); - - // Start asynchronous read from the socket. - void StartRecv(void (*cb)(void *key)=NULL, - void *key=NULL, - TDes8 *aDesc = NULL, - TUint flags = 0); - - // Start asynchronous read from the socket. - void StartRecvFrom(void (*cb)(void *key)=NULL, - void *key=NULL, - TDes8 *aDesc = NULL, - TUint flags = 0, - TSockAddr *fromAddr = NULL); - - // Cancel asynchronous read. - void DoCancel(); - - // Implementation: called when read has completed. - void RunL(); - - // Check if there's pending data. - bool HasData() const - { - return buffer_.Length() != 0; - } - - // Append data to aDesc, up to aDesc's maximum size. - // If socket is datagram based, buffer_ will be clared. - void ReadData(TDes8 &aDesc, TInetAddr *addr=NULL); - -private: - CPjSocket &sock_; - bool isDatagram_; - TPtr8 buffer_; - TInetAddr recvAddr_; - - void (*readCb_)(void *key); - void *key_; - - // - // Constructor - // - CPjSocketReader(CPjSocket &sock); - void ConstructL(unsigned max_len); -}; - - - -// -// Time-out Timer Active Object -// -class CPjTimeoutTimer : public CActive -{ -public: - static CPjTimeoutTimer *NewL(); - ~CPjTimeoutTimer(); - - void StartTimer(TUint miliSeconds); - bool HasTimedOut() const; - -protected: - virtual void RunL(); - virtual void DoCancel(); - virtual TInt RunError(TInt aError); - -private: - RTimer timer_; - pj_bool_t hasTimedOut_; - - CPjTimeoutTimer(); - void ConstructL(); -}; - - - -// -// Symbian OS helper for PJLIB -// -class PjSymbianOS -{ -public: - // - // Get the singleton instance of PjSymbianOS - // - static PjSymbianOS *Instance(); - - // - // Set parameters - // - void SetParameters(pj_symbianos_params *params); - - // - // Initialize. - // - TInt Initialize(); - - // - // Shutdown. - // - void Shutdown(); - - - // - // Socket helper. - // - - // Get RSocketServ instance to be used by all sockets. - RSocketServ &SocketServ() - { - return appSocketServ_ ? *appSocketServ_ : socketServ_; - } - - // Get RConnection instance, if any. - RConnection *Connection() - { - return appConnection_; - } - - // Convert TInetAddr to pj_sockaddr_in - static inline pj_status_t Addr2pj(const TInetAddr & sym_addr, - pj_sockaddr &pj_addr, - int *addr_len, - pj_bool_t convert_ipv4_mapped_addr = PJ_FALSE) - { - TUint fam = sym_addr.Family(); - pj_bzero(&pj_addr, *addr_len); - if (fam == PJ_AF_INET || - (convert_ipv4_mapped_addr && - fam == PJ_AF_INET6 && - sym_addr.IsV4Mapped())) - { - pj_addr.addr.sa_family = PJ_AF_INET; - PJ_ASSERT_RETURN(*addr_len>=(int)sizeof(pj_sockaddr_in), PJ_ETOOSMALL); - pj_addr.ipv4.sin_addr.s_addr = pj_htonl(sym_addr.Address()); - pj_addr.ipv4.sin_port = pj_htons((pj_uint16_t) sym_addr.Port()); - *addr_len = sizeof(pj_sockaddr_in); - } else if (fam == PJ_AF_INET6) { - PJ_ASSERT_RETURN(*addr_len>=(int)sizeof(pj_sockaddr_in6), PJ_ETOOSMALL); - const TIp6Addr & ip6 = sym_addr.Ip6Address(); - pj_addr.addr.sa_family = PJ_AF_INET6; - pj_memcpy(&pj_addr.ipv6.sin6_addr, ip6.u.iAddr8, 16); - pj_addr.ipv6.sin6_port = pj_htons((pj_uint16_t) sym_addr.Port()); - pj_addr.ipv6.sin6_scope_id = pj_htonl(sym_addr.Scope()); - pj_addr.ipv6.sin6_flowinfo = pj_htonl(sym_addr.FlowLabel()); - *addr_len = sizeof(pj_sockaddr_in6); - } else { - pj_assert(!"Unsupported address family"); - return PJ_EAFNOTSUP; - } - - return PJ_SUCCESS; - } - - - // Convert pj_sockaddr_in to TInetAddr - static inline pj_status_t pj2Addr(const pj_sockaddr &pj_addr, - int addrlen, - TInetAddr & sym_addr) - { - if (pj_addr.addr.sa_family == PJ_AF_INET) { - PJ_ASSERT_RETURN(addrlen >= (int)sizeof(pj_sockaddr_in), PJ_EINVAL); - sym_addr.Init(KAfInet); - sym_addr.SetAddress((TUint32)pj_ntohl(pj_addr.ipv4.sin_addr.s_addr)); - sym_addr.SetPort(pj_ntohs(pj_addr.ipv4.sin_port)); - } else if (pj_addr.addr.sa_family == PJ_AF_INET6) { - TIp6Addr ip6; - - PJ_ASSERT_RETURN(addrlen>=(int)sizeof(pj_sockaddr_in6), PJ_EINVAL); - pj_memcpy(ip6.u.iAddr8, &pj_addr.ipv6.sin6_addr, 16); - sym_addr.Init(KAfInet6); - sym_addr.SetAddress(ip6); - sym_addr.SetScope(pj_ntohl(pj_addr.ipv6.sin6_scope_id)); - sym_addr.SetFlowLabel(pj_ntohl(pj_addr.ipv6.sin6_flowinfo)); - } else { - pj_assert(!"Unsupported address family"); - } - return PJ_SUCCESS; - } - - - // - // Resolver helper - // - - // Get RHostResolver instance - RHostResolver & GetResolver(int af) - { - if (af==PJ_AF_INET6) { - return appHostResolver6_ ? *appHostResolver6_ : hostResolver6_; - } else { - return appHostResolver_ ? *appHostResolver_ : hostResolver_; - } - } - - // - // Return true if the access point connection is up - // - bool IsConnectionUp() const - { - return isConnectionUp_; - } - - // - // Set access point connection status - // - void SetConnectionStatus(bool up) - { - isConnectionUp_ = up; - } - - // - // Unicode Converter - // - - // Convert to Unicode - TInt ConvertToUnicode(TDes16 &aUnicode, const TDesC8 &aForeign); - - // Convert from Unicode - TInt ConvertFromUnicode(TDes8 &aForeign, const TDesC16 &aUnicode); - - // - // Get console - // - - // Get console - CConsoleBase *Console() - { - return console_; - } - - // - // Get select() timeout timer. - // - CPjTimeoutTimer *SelectTimeoutTimer() - { - return selectTimeoutTimer_; - } - - // - // Wait for any active objects to run. - // - void WaitForActiveObjects(TInt aPriority = CActive::EPriorityStandard) - { - TInt aError; - CActiveScheduler::Current()->WaitForAnyRequest(); - CActiveScheduler::RunIfReady(aError, aPriority); - } - -private: - bool isConnectionUp_; - - bool isSocketServInitialized_; - RSocketServ socketServ_; - - bool isResolverInitialized_; - RHostResolver hostResolver_; - RHostResolver hostResolver6_; - - CConsoleBase* console_; - - CPjTimeoutTimer *selectTimeoutTimer_; - - // App parameters - RSocketServ *appSocketServ_; - RConnection *appConnection_; - RHostResolver *appHostResolver_; - RHostResolver *appHostResolver6_; - -private: - PjSymbianOS(); -}; - -// This macro is used to check the access point connection status and return -// failure if the AP connection is down or unusable. See the documentation -// of pj_symbianos_set_connection_status() for more info -#define PJ_SYMBIAN_CHECK_CONNECTION() \ - PJ_SYMBIAN_CHECK_CONNECTION2(PJ_ECANCELLED) - -#define PJ_SYMBIAN_CHECK_CONNECTION2(retval) \ - do { \ - if (!PjSymbianOS::Instance()->IsConnectionUp()) \ - return retval; \ - } while (0); - -#endif /* __OS_SYMBIAN_H__ */ - diff --git a/res/pjproject/pjlib/src/pj/os_time_bsd.c b/res/pjproject/pjlib/src/pj/os_time_bsd.c deleted file mode 100644 index 3adba23ff3..0000000000 --- a/res/pjproject/pjlib/src/pj/os_time_bsd.c +++ /dev/null @@ -1,36 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -/////////////////////////////////////////////////////////////////////////////// - -PJ_DEF(pj_status_t) pj_gettimeofday(pj_time_val *tv) -{ - struct timeb tb; - - PJ_CHECK_STACK(); - - ftime(&tb); - tv->sec = tb.time; - tv->msec = tb.millitm; - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjlib/src/pj/os_time_common.c b/res/pjproject/pjlib/src/pj/os_time_common.c deleted file mode 100644 index c3c2a9c0ff..0000000000 --- a/res/pjproject/pjlib/src/pj/os_time_common.c +++ /dev/null @@ -1,86 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - - -/////////////////////////////////////////////////////////////////////////////// - -PJ_DEF(pj_status_t) pj_time_decode(const pj_time_val *tv, pj_parsed_time *pt) -{ - struct tm *local_time; - - PJ_CHECK_STACK(); - - local_time = localtime((time_t*)&tv->sec); - - pt->year = local_time->tm_year+1900; - pt->mon = local_time->tm_mon; - pt->day = local_time->tm_mday; - pt->hour = local_time->tm_hour; - pt->min = local_time->tm_min; - pt->sec = local_time->tm_sec; - pt->wday = local_time->tm_wday; - pt->msec = tv->msec; - - return PJ_SUCCESS; -} - -/** - * Encode parsed time to time value. - */ -PJ_DEF(pj_status_t) pj_time_encode(const pj_parsed_time *pt, pj_time_val *tv) -{ - struct tm local_time; - - local_time.tm_year = pt->year-1900; - local_time.tm_mon = pt->mon; - local_time.tm_mday = pt->day; - local_time.tm_hour = pt->hour; - local_time.tm_min = pt->min; - local_time.tm_sec = pt->sec; - local_time.tm_isdst = 0; - - tv->sec = mktime(&local_time); - tv->msec = pt->msec; - - return PJ_SUCCESS; -} - -/** - * Convert local time to GMT. - */ -PJ_DEF(pj_status_t) pj_time_local_to_gmt(pj_time_val *tv) -{ - PJ_UNUSED_ARG(tv); - return PJ_EBUG; -} - -/** - * Convert GMT to local time. - */ -PJ_DEF(pj_status_t) pj_time_gmt_to_local(pj_time_val *tv) -{ - PJ_UNUSED_ARG(tv); - return PJ_EBUG; -} - - diff --git a/res/pjproject/pjlib/src/pj/os_time_linux_kernel.c b/res/pjproject/pjlib/src/pj/os_time_linux_kernel.c deleted file mode 100644 index 4d835b71fd..0000000000 --- a/res/pjproject/pjlib/src/pj/os_time_linux_kernel.c +++ /dev/null @@ -1,66 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -/////////////////////////////////////////////////////////////////////////////// - -PJ_DEF(pj_status_t) pj_gettimeofday(pj_time_val *tv) -{ - struct timeval tval; - - do_gettimeofday(&tval); - tv->sec = tval.tv_sec; - tv->msec = tval.tv_usec / 1000; - - return 0; -} - -PJ_DEF(pj_status_t) pj_time_decode(const pj_time_val *tv, pj_parsed_time *pt) -{ - pt->year = 2005; - pt->mon = 8; - pt->day = 20; - pt->hour = 16; - pt->min = 30; - pt->sec = 30; - pt->wday = 3; - pt->yday = 200; - pt->msec = 777; - - return -1; -} - -/** - * Encode parsed time to time value. - */ -PJ_DEF(pj_status_t) pj_time_encode(const pj_parsed_time *pt, pj_time_val *tv); - -/** - * Convert local time to GMT. - */ -PJ_DEF(pj_status_t) pj_time_local_to_gmt(pj_time_val *tv); - -/** - * Convert GMT to local time. - */ -PJ_DEF(pj_status_t) pj_time_gmt_to_local(pj_time_val *tv); - - diff --git a/res/pjproject/pjlib/src/pj/os_time_unix.c b/res/pjproject/pjlib/src/pj/os_time_unix.c deleted file mode 100644 index 70c8c1fe62..0000000000 --- a/res/pjproject/pjlib/src/pj/os_time_unix.c +++ /dev/null @@ -1,47 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - -#if defined(PJ_HAS_UNISTD_H) && PJ_HAS_UNISTD_H!=0 -# include -#endif - -#include - -/////////////////////////////////////////////////////////////////////////////// - -PJ_DEF(pj_status_t) pj_gettimeofday(pj_time_val *p_tv) -{ - struct timeval the_time; - int rc; - - PJ_CHECK_STACK(); - - rc = gettimeofday(&the_time, NULL); - if (rc != 0) - return PJ_RETURN_OS_ERROR(pj_get_native_os_error()); - - p_tv->sec = the_time.tv_sec; - p_tv->msec = the_time.tv_usec / 1000; - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjlib/src/pj/os_time_win32.c b/res/pjproject/pjlib/src/pj/os_time_win32.c deleted file mode 100644 index fbd2972d0d..0000000000 --- a/res/pjproject/pjlib/src/pj/os_time_win32.c +++ /dev/null @@ -1,303 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -/////////////////////////////////////////////////////////////////////////////// - -#define SECS_TO_FT_MULT 10000000 - -static LARGE_INTEGER base_time; - -#if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE -# define WINCE_TIME -#endif - -#ifdef WINCE_TIME -/* Note: - * In Windows CE/Windows Mobile platforms, the availability of milliseconds - * time resolution in SYSTEMTIME.wMilliseconds depends on the OEM, and most - * likely it won't be available. When it's not available, the - * SYSTEMTIME.wMilliseconds will contain a constant arbitrary value. - * - * Because of that, we need to emulate the milliseconds time resolution - * using QueryPerformanceCounter() (via pj_get_timestamp() API). However - * there is limitation on using this, i.e. the time returned by - * pj_gettimeofday() may be off by up to plus/minus 999 msec (the second - * part will be correct, however the msec part may be off), because we're - * not synchronizing the msec field with the change of value of the "second" - * field of the system time. - * - * Also there is other caveat which need to be handled (and they are - * handled by this implementation): - * - user may change system time, so pj_gettimeofday() needs to periodically - * checks if system time has changed. The period on which system time is - * checked is controlled by PJ_WINCE_TIME_CHECK_INTERVAL macro. - */ -static LARGE_INTEGER g_start_time; /* Time gettimeofday() is first called */ -static pj_timestamp g_start_tick; /* TS gettimeofday() is first called */ -static pj_timestamp g_last_update; /* Last time check_system_time() is - called, to periodically synchronize - with up-to-date system time (in case - user changes system time). */ -static pj_uint64_t g_update_period; /* Period (in TS) check_system_time() - should be called. */ - -/* Period on which check_system_time() is called, in seconds */ -#ifndef PJ_WINCE_TIME_CHECK_INTERVAL -# define PJ_WINCE_TIME_CHECK_INTERVAL (10) -#endif - -#endif - -#ifdef WINCE_TIME -static pj_status_t init_start_time(void) -{ - SYSTEMTIME st; - FILETIME ft; - pj_timestamp freq; - pj_status_t status; - - GetLocalTime(&st); - SystemTimeToFileTime(&st, &ft); - - g_start_time.LowPart = ft.dwLowDateTime; - g_start_time.HighPart = ft.dwHighDateTime; - g_start_time.QuadPart /= SECS_TO_FT_MULT; - g_start_time.QuadPart -= base_time.QuadPart; - - status = pj_get_timestamp(&g_start_tick); - if (status != PJ_SUCCESS) - return status; - - g_last_update.u64 = g_start_tick.u64; - - status = pj_get_timestamp_freq(&freq); - if (status != PJ_SUCCESS) - return status; - - g_update_period = PJ_WINCE_TIME_CHECK_INTERVAL * freq.u64; - - PJ_LOG(4,("os_time_win32.c", "WinCE time (re)started")); - - return PJ_SUCCESS; -} - -static pj_status_t check_system_time(pj_uint64_t ts_elapsed) -{ - enum { MIS = 5 }; - SYSTEMTIME st; - FILETIME ft; - LARGE_INTEGER cur, calc; - DWORD diff; - pj_timestamp freq; - pj_status_t status; - - /* Get system's current time */ - GetLocalTime(&st); - SystemTimeToFileTime(&st, &ft); - - cur.LowPart = ft.dwLowDateTime; - cur.HighPart = ft.dwHighDateTime; - cur.QuadPart /= SECS_TO_FT_MULT; - cur.QuadPart -= base_time.QuadPart; - - /* Get our calculated system time */ - status = pj_get_timestamp_freq(&freq); - if (status != PJ_SUCCESS) - return status; - - calc.QuadPart = g_start_time.QuadPart + ts_elapsed / freq.u64; - - /* See the difference between calculated and actual system time */ - if (calc.QuadPart >= cur.QuadPart) { - diff = (DWORD)(calc.QuadPart - cur.QuadPart); - } else { - diff = (DWORD)(cur.QuadPart - calc.QuadPart); - } - - if (diff > MIS) { - /* System time has changed */ - PJ_LOG(3,("os_time_win32.c", "WinCE system time changed detected " - "(diff=%u)", diff)); - status = init_start_time(); - } else { - status = PJ_SUCCESS; - } - - return status; -} - -#endif - -// Find 1st Jan 1970 as a FILETIME -static pj_status_t get_base_time(void) -{ - SYSTEMTIME st; - FILETIME ft; - pj_status_t status = PJ_SUCCESS; - - memset(&st,0,sizeof(st)); - st.wYear=1970; - st.wMonth=1; - st.wDay=1; - SystemTimeToFileTime(&st, &ft); - - base_time.LowPart = ft.dwLowDateTime; - base_time.HighPart = ft.dwHighDateTime; - base_time.QuadPart /= SECS_TO_FT_MULT; - -#ifdef WINCE_TIME - pj_enter_critical_section(); - status = init_start_time(); - pj_leave_critical_section(); -#endif - - return status; -} - -PJ_DEF(pj_status_t) pj_gettimeofday(pj_time_val *tv) -{ -#ifdef WINCE_TIME - pj_timestamp tick; - pj_uint64_t msec_elapsed; -#else - SYSTEMTIME st; - FILETIME ft; - LARGE_INTEGER li; -#endif - pj_status_t status; - - if (base_time.QuadPart == 0) { - status = get_base_time(); - if (status != PJ_SUCCESS) - return status; - } - -#ifdef WINCE_TIME - do { - status = pj_get_timestamp(&tick); - if (status != PJ_SUCCESS) - return status; - - if (tick.u64 - g_last_update.u64 >= g_update_period) { - pj_enter_critical_section(); - if (tick.u64 - g_last_update.u64 >= g_update_period) { - g_last_update.u64 = tick.u64; - check_system_time(tick.u64 - g_start_tick.u64); - } - pj_leave_critical_section(); - } else { - break; - } - } while (1); - - msec_elapsed = pj_elapsed_msec64(&g_start_tick, &tick); - - tv->sec = (long)(g_start_time.QuadPart + msec_elapsed/1000); - tv->msec = (long)(msec_elapsed % 1000); -#else - /* Standard Win32 GetLocalTime */ - GetLocalTime(&st); - SystemTimeToFileTime(&st, &ft); - - li.LowPart = ft.dwLowDateTime; - li.HighPart = ft.dwHighDateTime; - li.QuadPart /= SECS_TO_FT_MULT; - li.QuadPart -= base_time.QuadPart; - - tv->sec = li.LowPart; - tv->msec = st.wMilliseconds; -#endif /* WINCE_TIME */ - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_time_decode(const pj_time_val *tv, pj_parsed_time *pt) -{ - LARGE_INTEGER li; - FILETIME ft; - SYSTEMTIME st; - - li.QuadPart = tv->sec; - li.QuadPart += base_time.QuadPart; - li.QuadPart *= SECS_TO_FT_MULT; - - ft.dwLowDateTime = li.LowPart; - ft.dwHighDateTime = li.HighPart; - FileTimeToSystemTime(&ft, &st); - - pt->year = st.wYear; - pt->mon = st.wMonth-1; - pt->day = st.wDay; - pt->wday = st.wDayOfWeek; - - pt->hour = st.wHour; - pt->min = st.wMinute; - pt->sec = st.wSecond; - pt->msec = tv->msec; - - return PJ_SUCCESS; -} - -/** - * Encode parsed time to time value. - */ -PJ_DEF(pj_status_t) pj_time_encode(const pj_parsed_time *pt, pj_time_val *tv) -{ - SYSTEMTIME st; - FILETIME ft; - LARGE_INTEGER li; - - pj_bzero(&st, sizeof(st)); - st.wYear = (pj_uint16_t) pt->year; - st.wMonth = (pj_uint16_t) (pt->mon + 1); - st.wDay = (pj_uint16_t) pt->day; - st.wHour = (pj_uint16_t) pt->hour; - st.wMinute = (pj_uint16_t) pt->min; - st.wSecond = (pj_uint16_t) pt->sec; - st.wMilliseconds = (pj_uint16_t) pt->msec; - - SystemTimeToFileTime(&st, &ft); - - li.LowPart = ft.dwLowDateTime; - li.HighPart = ft.dwHighDateTime; - li.QuadPart /= SECS_TO_FT_MULT; - li.QuadPart -= base_time.QuadPart; - - tv->sec = li.LowPart; - tv->msec = st.wMilliseconds; - - return PJ_SUCCESS; -} - -/** - * Convert local time to GMT. - */ -PJ_DEF(pj_status_t) pj_time_local_to_gmt(pj_time_val *tv); - -/** - * Convert GMT to local time. - */ -PJ_DEF(pj_status_t) pj_time_gmt_to_local(pj_time_val *tv); - - diff --git a/res/pjproject/pjlib/src/pj/os_timestamp_common.c b/res/pjproject/pjlib/src/pj/os_timestamp_common.c deleted file mode 100644 index 9e6ff7453e..0000000000 --- a/res/pjproject/pjlib/src/pj/os_timestamp_common.c +++ /dev/null @@ -1,206 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -#if defined(PJ_HAS_HIGH_RES_TIMER) && PJ_HAS_HIGH_RES_TIMER != 0 - -#define U32MAX (0xFFFFFFFFUL) -#define NANOSEC (1000000000UL) -#define USEC (1000000UL) -#define MSEC (1000) - -#define u64tohighprec(u64) ((pj_highprec_t)((pj_int64_t)(u64))) - -static pj_highprec_t get_elapsed( const pj_timestamp *start, - const pj_timestamp *stop ) -{ -#if defined(PJ_HAS_INT64) && PJ_HAS_INT64!=0 - return u64tohighprec(stop->u64 - start->u64); -#else - pj_highprec_t elapsed_hi, elapsed_lo; - - elapsed_hi = stop->u32.hi - start->u32.hi; - elapsed_lo = stop->u32.lo - start->u32.lo; - - /* elapsed_hi = elapsed_hi * U32MAX */ - pj_highprec_mul(elapsed_hi, U32MAX); - - return elapsed_hi + elapsed_lo; -#endif -} - -static pj_highprec_t elapsed_msec( const pj_timestamp *start, - const pj_timestamp *stop ) -{ - pj_timestamp ts_freq; - pj_highprec_t freq, elapsed; - - if (pj_get_timestamp_freq(&ts_freq) != PJ_SUCCESS) - return 0; - - /* Convert frequency timestamp */ -#if defined(PJ_HAS_INT64) && PJ_HAS_INT64!=0 - freq = u64tohighprec(ts_freq.u64); -#else - freq = ts_freq.u32.hi; - pj_highprec_mul(freq, U32MAX); - freq += ts_freq.u32.lo; -#endif - - /* Avoid division by zero. */ - if (freq == 0) freq = 1; - - /* Get elapsed time in cycles. */ - elapsed = get_elapsed(start, stop); - - /* usec = elapsed * MSEC / freq */ - pj_highprec_mul(elapsed, MSEC); - pj_highprec_div(elapsed, freq); - - return elapsed; -} - -static pj_highprec_t elapsed_usec( const pj_timestamp *start, - const pj_timestamp *stop ) -{ - pj_timestamp ts_freq; - pj_highprec_t freq, elapsed; - - if (pj_get_timestamp_freq(&ts_freq) != PJ_SUCCESS) - return 0; - - /* Convert frequency timestamp */ -#if defined(PJ_HAS_INT64) && PJ_HAS_INT64!=0 - freq = u64tohighprec(ts_freq.u64); -#else - freq = ts_freq.u32.hi; - pj_highprec_mul(freq, U32MAX); - freq += ts_freq.u32.lo; -#endif - - /* Avoid division by zero. */ - if (freq == 0) freq = 1; - - /* Get elapsed time in cycles. */ - elapsed = get_elapsed(start, stop); - - /* usec = elapsed * USEC / freq */ - pj_highprec_mul(elapsed, USEC); - pj_highprec_div(elapsed, freq); - - return elapsed; -} - -PJ_DEF(pj_uint32_t) pj_elapsed_nanosec( const pj_timestamp *start, - const pj_timestamp *stop ) -{ - pj_timestamp ts_freq; - pj_highprec_t freq, elapsed; - - if (pj_get_timestamp_freq(&ts_freq) != PJ_SUCCESS) - return 0; - - /* Convert frequency timestamp */ -#if defined(PJ_HAS_INT64) && PJ_HAS_INT64!=0 - freq = u64tohighprec(ts_freq.u64); -#else - freq = ts_freq.u32.hi; - pj_highprec_mul(freq, U32MAX); - freq += ts_freq.u32.lo; -#endif - - /* Avoid division by zero. */ - if (freq == 0) freq = 1; - - /* Get elapsed time in cycles. */ - elapsed = get_elapsed(start, stop); - - /* usec = elapsed * USEC / freq */ - pj_highprec_mul(elapsed, NANOSEC); - pj_highprec_div(elapsed, freq); - - return (pj_uint32_t)elapsed; -} - -PJ_DEF(pj_uint32_t) pj_elapsed_usec( const pj_timestamp *start, - const pj_timestamp *stop ) -{ - return (pj_uint32_t)elapsed_usec(start, stop); -} - -PJ_DEF(pj_uint32_t) pj_elapsed_msec( const pj_timestamp *start, - const pj_timestamp *stop ) -{ - return (pj_uint32_t)elapsed_msec(start, stop); -} - -PJ_DEF(pj_uint64_t) pj_elapsed_msec64(const pj_timestamp *start, - const pj_timestamp *stop ) -{ - return (pj_uint64_t)elapsed_msec(start, stop); -} - -PJ_DEF(pj_time_val) pj_elapsed_time( const pj_timestamp *start, - const pj_timestamp *stop ) -{ - pj_highprec_t elapsed = elapsed_msec(start, stop); - pj_time_val tv_elapsed; - - if (PJ_HIGHPREC_VALUE_IS_ZERO(elapsed)) { - tv_elapsed.sec = tv_elapsed.msec = 0; - return tv_elapsed; - } else { - pj_highprec_t sec, msec; - - sec = elapsed; - pj_highprec_div(sec, MSEC); - tv_elapsed.sec = (long)sec; - - msec = elapsed; - pj_highprec_mod(msec, MSEC); - tv_elapsed.msec = (long)msec; - - return tv_elapsed; - } -} - -PJ_DEF(pj_uint32_t) pj_elapsed_cycle( const pj_timestamp *start, - const pj_timestamp *stop ) -{ - return stop->u32.lo - start->u32.lo; -} - -PJ_DEF(pj_status_t) pj_gettickcount(pj_time_val *tv) -{ - pj_timestamp ts, start; - pj_status_t status; - - if ((status = pj_get_timestamp(&ts)) != PJ_SUCCESS) - return status; - - pj_set_timestamp32(&start, 0, 0); - *tv = pj_elapsed_time(&start, &ts); - - return PJ_SUCCESS; -} - -#endif /* PJ_HAS_HIGH_RES_TIMER */ - diff --git a/res/pjproject/pjlib/src/pj/os_timestamp_linux_kernel.c b/res/pjproject/pjlib/src/pj/os_timestamp_linux_kernel.c deleted file mode 100644 index 425d503a4f..0000000000 --- a/res/pjproject/pjlib/src/pj/os_timestamp_linux_kernel.c +++ /dev/null @@ -1,79 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -#if 0 -PJ_DEF(pj_status_t) pj_get_timestamp(pj_timestamp *ts) -{ - ts->u32.hi = 0; - ts->u32.lo = jiffies; - return 0; -} - -PJ_DEF(pj_status_t) pj_get_timestamp_freq(pj_timestamp *freq) -{ - freq->u32.hi = 0; - freq->u32.lo = HZ; - return 0; -} -#elif 0 -PJ_DEF(pj_status_t) pj_get_timestamp(pj_timestamp *ts) -{ - struct timespec tv; - - tv = CURRENT_TIME; - - ts->u64 = tv.tv_sec; - ts->u64 *= NSEC_PER_SEC; - ts->u64 += tv.tv_nsec; - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_get_timestamp_freq(pj_timestamp *freq) -{ - freq->u32.hi = 0; - freq->u32.lo = NSEC_PER_SEC; - return 0; -} -#else -PJ_DEF(pj_status_t) pj_get_timestamp(pj_timestamp *ts) -{ - struct timeval tv; - - do_gettimeofday(&tv); - - ts->u64 = tv.tv_sec; - ts->u64 *= USEC_PER_SEC; - ts->u64 += tv.tv_usec; - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_get_timestamp_freq(pj_timestamp *freq) -{ - freq->u32.hi = 0; - freq->u32.lo = USEC_PER_SEC; - return 0; -} - -#endif - diff --git a/res/pjproject/pjlib/src/pj/os_timestamp_posix.c b/res/pjproject/pjlib/src/pj/os_timestamp_posix.c deleted file mode 100644 index eec6ed1fbc..0000000000 --- a/res/pjproject/pjlib/src/pj/os_timestamp_posix.c +++ /dev/null @@ -1,220 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - -#if defined(PJ_HAS_UNISTD_H) && PJ_HAS_UNISTD_H != 0 -# include - -# if defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0 && \ - defined(_POSIX_MONOTONIC_CLOCK) -# define USE_POSIX_TIMERS 1 -# endif - -#endif - -#if defined(PJ_HAS_PENTIUM) && PJ_HAS_PENTIUM!=0 && \ - defined(PJ_TIMESTAMP_USE_RDTSC) && PJ_TIMESTAMP_USE_RDTSC!=0 && \ - defined(PJ_M_I386) && PJ_M_I386!=0 && \ - defined(PJ_LINUX) && PJ_LINUX!=0 -static int machine_speed_mhz; -static pj_timestamp machine_speed; - -static __inline__ unsigned long long int rdtsc() -{ - unsigned long long int x; - __asm__ volatile (".byte 0x0f, 0x31" : "=A" (x)); - return x; -} - -/* Determine machine's CPU MHz to get the counter's frequency. - */ -static int get_machine_speed_mhz() -{ - FILE *strm; - char buf[512]; - int len; - char *pos, *end; - - PJ_CHECK_STACK(); - - /* Open /proc/cpuinfo and read the file */ - strm = fopen("/proc/cpuinfo", "r"); - if (!strm) - return -1; - len = fread(buf, 1, sizeof(buf), strm); - fclose(strm); - if (len < 1) { - return -1; - } - buf[len] = '\0'; - - /* Locate the MHz digit. */ - pos = strstr(buf, "cpu MHz"); - if (!pos) - return -1; - pos = strchr(pos, ':'); - if (!pos) - return -1; - end = (pos += 2); - while (isdigit(*end)) ++end; - *end = '\0'; - - /* Return the Mhz part, and give it a +1. */ - return atoi(pos)+1; -} - -PJ_DEF(pj_status_t) pj_get_timestamp(pj_timestamp *ts) -{ - if (machine_speed_mhz == 0) { - machine_speed_mhz = get_machine_speed_mhz(); - if (machine_speed_mhz > 0) { - machine_speed.u64 = machine_speed_mhz * 1000000.0; - } - } - - if (machine_speed_mhz == -1) { - ts->u64 = 0; - return -1; - } - ts->u64 = rdtsc(); - return 0; -} - -PJ_DEF(pj_status_t) pj_get_timestamp_freq(pj_timestamp *freq) -{ - if (machine_speed_mhz == 0) { - machine_speed_mhz = get_machine_speed_mhz(); - if (machine_speed_mhz > 0) { - machine_speed.u64 = machine_speed_mhz * 1000000.0; - } - } - - if (machine_speed_mhz == -1) { - freq->u64 = 1; /* return 1 to prevent division by zero in apps. */ - return -1; - } - - freq->u64 = machine_speed.u64; - return 0; -} - -#elif defined(PJ_DARWINOS) && PJ_DARWINOS != 0 -#include -#include -#include - -#define NSEC_PER_SEC 1000000000 - -PJ_DEF(pj_status_t) pj_get_timestamp(pj_timestamp *ts) -{ - mach_timespec_t tp; - int ret; - clock_serv_t serv; - - ret = host_get_clock_service(mach_host_self(), SYSTEM_CLOCK, &serv); - if (ret != KERN_SUCCESS) { - return PJ_RETURN_OS_ERROR(EINVAL); - } - - ret = clock_get_time(serv, &tp); - if (ret != KERN_SUCCESS) { - return PJ_RETURN_OS_ERROR(EINVAL); - } - - ts->u64 = tp.tv_sec; - ts->u64 *= NSEC_PER_SEC; - ts->u64 += tp.tv_nsec; - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_get_timestamp_freq(pj_timestamp *freq) -{ - freq->u32.hi = 0; - freq->u32.lo = NSEC_PER_SEC; - - return PJ_SUCCESS; -} - -#elif defined(USE_POSIX_TIMERS) && USE_POSIX_TIMERS != 0 -#include -#include -#include - -#define NSEC_PER_SEC 1000000000 - -PJ_DEF(pj_status_t) pj_get_timestamp(pj_timestamp *ts) -{ - struct timespec tp; - - if (clock_gettime(CLOCK_MONOTONIC, &tp) != 0) { - return PJ_RETURN_OS_ERROR(pj_get_native_os_error()); - } - - ts->u64 = tp.tv_sec; - ts->u64 *= NSEC_PER_SEC; - ts->u64 += tp.tv_nsec; - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_get_timestamp_freq(pj_timestamp *freq) -{ - freq->u32.hi = 0; - freq->u32.lo = NSEC_PER_SEC; - - return PJ_SUCCESS; -} - -#else -#include -#include - -#define USEC_PER_SEC 1000000 - -PJ_DEF(pj_status_t) pj_get_timestamp(pj_timestamp *ts) -{ - struct timeval tv; - - if (gettimeofday(&tv, NULL) != 0) { - return PJ_RETURN_OS_ERROR(pj_get_native_os_error()); - } - - ts->u64 = tv.tv_sec; - ts->u64 *= USEC_PER_SEC; - ts->u64 += tv.tv_usec; - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_get_timestamp_freq(pj_timestamp *freq) -{ - freq->u32.hi = 0; - freq->u32.lo = USEC_PER_SEC; - - return PJ_SUCCESS; -} - -#endif diff --git a/res/pjproject/pjlib/src/pj/os_timestamp_win32.c b/res/pjproject/pjlib/src/pj/os_timestamp_win32.c deleted file mode 100644 index e77b14a330..0000000000 --- a/res/pjproject/pjlib/src/pj/os_timestamp_win32.c +++ /dev/null @@ -1,295 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - -#define THIS_FILE "os_timestamp_win32.c" - - -#if 1 -# define TRACE_(x) PJ_LOG(3,x) -#else -# define TRACE_(x) ; -#endif - - -///////////////////////////////////////////////////////////////////////////// - -#if defined(PJ_TIMESTAMP_USE_RDTSC) && PJ_TIMESTAMP_USE_RDTSC!=0 && \ - defined(PJ_M_I386) && PJ_M_I386 != 0 && \ - defined(PJ_HAS_PENTIUM) && PJ_HAS_PENTIUM!=0 && \ - defined(_MSC_VER) - -/* - * Use rdtsc to get the OS timestamp. - */ -static LONG CpuMhz; -static pj_int64_t CpuHz; - -static pj_status_t GetCpuHz(void) -{ - HKEY key; - LONG rc; - DWORD size; - -#if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0 - rc = RegOpenKeyEx(HKEY_LOCAL_MACHINE, - L"HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0", - 0, 0, &key); -#else - rc = RegOpenKey( HKEY_LOCAL_MACHINE, - "HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0", - &key); -#endif - - if (rc != ERROR_SUCCESS) - return PJ_RETURN_OS_ERROR(rc); - - size = sizeof(CpuMhz); - rc = RegQueryValueEx(key, "~MHz", NULL, NULL, (BYTE*)&CpuMhz, &size); - RegCloseKey(key); - - if (rc != ERROR_SUCCESS) { - return PJ_RETURN_OS_ERROR(rc); - } - - CpuHz = CpuMhz; - CpuHz = CpuHz * 1000000; - - return PJ_SUCCESS; -} - -/* __int64 is nicely returned in EDX:EAX */ -__declspec(naked) __int64 rdtsc() -{ - __asm - { - RDTSC - RET - } -} - -PJ_DEF(pj_status_t) pj_get_timestamp(pj_timestamp *ts) -{ - ts->u64 = rdtsc(); - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_get_timestamp_freq(pj_timestamp *freq) -{ - pj_status_t status; - - if (CpuHz == 0) { - status = GetCpuHz(); - if (status != PJ_SUCCESS) - return status; - } - - freq->u64 = CpuHz; - return PJ_SUCCESS; -} - -///////////////////////////////////////////////////////////////////////////// - -#elif defined(PJ_TIMESTAMP_WIN32_USE_SAFE_QPC) && \ - PJ_TIMESTAMP_WIN32_USE_SAFE_QPC!=0 - -/* Use safe QueryPerformanceCounter. - * This implementation has some protection against bug in KB Q274323: - * Performance counter value may unexpectedly leap forward - * http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q274323 - * - * THIS SHOULD NOT BE USED YET AS IT DOESN'T HANDLE SYSTEM TIME - * CHANGE. - */ - -static pj_timestamp g_ts_freq; -static pj_timestamp g_ts_base; -static pj_int64_t g_time_base; - -PJ_DEF(pj_status_t) pj_get_timestamp(pj_timestamp *ts) -{ - enum { MAX_RETRY = 10 }; - unsigned i; - - - /* pj_get_timestamp_freq() must have been called before. - * This is done when application called pj_init(). - */ - pj_assert(g_ts_freq.u64 != 0); - - /* Retry QueryPerformanceCounter() until we're sure that the - * value returned makes sense. - */ - i = 0; - do { - LARGE_INTEGER val; - pj_int64_t counter64, time64, diff; - pj_time_val time_now; - - /* Retrieve the counter */ - if (!QueryPerformanceCounter(&val)) - return PJ_RETURN_OS_ERROR(GetLastError()); - - /* Regardless of the goodness of the value, we should put - * the counter here, because normally application wouldn't - * check the error result of this function. - */ - ts->u64 = val.QuadPart; - - /* Retrieve time */ - pj_gettimeofday(&time_now); - - /* Get the counter elapsed time in miliseconds */ - counter64 = (val.QuadPart - g_ts_base.u64) * 1000 / g_ts_freq.u64; - - /* Get the time elapsed in miliseconds. - * We don't want to use PJ_TIME_VAL_MSEC() since it's using - * 32bit calculation, which limits the maximum elapsed time - * to around 49 days only. - */ - time64 = time_now.sec; - time64 = time64 * 1000 + time_now.msec; - //time64 = GetTickCount(); - - /* It's good if the difference between two clocks are within - * some compile time constant (default: 20ms, which to allow - * context switch happen between QueryPerformanceCounter and - * pj_gettimeofday()). - */ - diff = (time64 - g_time_base) - counter64; - if (diff >= -20 && diff <= 20) { - /* It's good */ - return PJ_SUCCESS; - } - - ++i; - - } while (i < MAX_RETRY); - - TRACE_((THIS_FILE, "QueryPerformanceCounter returned bad value")); - return PJ_ETIMEDOUT; -} - -static pj_status_t init_performance_counter(void) -{ - LARGE_INTEGER val; - pj_time_val time_base; - pj_status_t status; - - /* Get the frequency */ - if (!QueryPerformanceFrequency(&val)) - return PJ_RETURN_OS_ERROR(GetLastError()); - - g_ts_freq.u64 = val.QuadPart; - - /* Get the base timestamp */ - if (!QueryPerformanceCounter(&val)) - return PJ_RETURN_OS_ERROR(GetLastError()); - - g_ts_base.u64 = val.QuadPart; - - - /* Get the base time */ - status = pj_gettimeofday(&time_base); - if (status != PJ_SUCCESS) - return status; - - /* Convert time base to 64bit value in msec */ - g_time_base = time_base.sec; - g_time_base = g_time_base * 1000 + time_base.msec; - //g_time_base = GetTickCount(); - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_get_timestamp_freq(pj_timestamp *freq) -{ - if (g_ts_freq.u64 == 0) { - enum { MAX_REPEAT = 10 }; - unsigned i; - pj_status_t status; - - /* Make unellegant compiler happy */ - status = 0; - - /* Repeat initializing performance counter until we're sure - * the base timing is correct. It is possible that the system - * returns bad counter during this initialization! - */ - for (i=0; iu64 = g_ts_freq.u64; - return PJ_SUCCESS; -} - -///////////////////////////////////////////////////////////////////////////// - -#else - -/* - * Use QueryPerformanceCounter and QueryPerformanceFrequency. - * This should be the default implementation to be used on Windows. - */ -PJ_DEF(pj_status_t) pj_get_timestamp(pj_timestamp *ts) -{ - LARGE_INTEGER val; - - if (!QueryPerformanceCounter(&val)) - return PJ_RETURN_OS_ERROR(GetLastError()); - - ts->u64 = val.QuadPart; - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_get_timestamp_freq(pj_timestamp *freq) -{ - LARGE_INTEGER val; - - if (!QueryPerformanceFrequency(&val)) - return PJ_RETURN_OS_ERROR(GetLastError()); - - freq->u64 = val.QuadPart; - return PJ_SUCCESS; -} - - -#endif /* PJ_TIMESTAMP_USE_RDTSC */ - diff --git a/res/pjproject/pjlib/src/pj/pool.c b/res/pjproject/pjlib/src/pj/pool.c deleted file mode 100644 index ff2aa1a699..0000000000 --- a/res/pjproject/pjlib/src/pj/pool.c +++ /dev/null @@ -1,301 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - -#if !PJ_HAS_POOL_ALT_API - - -/* Include inline definitions when inlining is disabled. */ -#if !PJ_FUNCTIONS_ARE_INLINED -# include -#endif - -#define LOG(expr) PJ_LOG(6,expr) -#define ALIGN_PTR(PTR,ALIGNMENT) (PTR + (-(long)(PTR) & (ALIGNMENT-1))) - -PJ_DEF_DATA(int) PJ_NO_MEMORY_EXCEPTION; - -PJ_DEF(int) pj_NO_MEMORY_EXCEPTION() -{ - return PJ_NO_MEMORY_EXCEPTION; -} - -/* - * Create new block. - * Create a new big chunk of memory block, from which user allocation will be - * taken from. - */ -static pj_pool_block *pj_pool_create_block( pj_pool_t *pool, pj_size_t size) -{ - pj_pool_block *block; - - PJ_CHECK_STACK(); - pj_assert(size >= sizeof(pj_pool_block)); - - LOG((pool->obj_name, "create_block(sz=%u), cur.cap=%u, cur.used=%u", - size, pool->capacity, pj_pool_get_used_size(pool))); - - /* Request memory from allocator. */ - block = (pj_pool_block*) - (*pool->factory->policy.block_alloc)(pool->factory, size); - if (block == NULL) { - (*pool->callback)(pool, size); - return NULL; - } - - /* Add capacity. */ - pool->capacity += size; - - /* Set start and end of buffer. */ - block->buf = ((unsigned char*)block) + sizeof(pj_pool_block); - block->end = ((unsigned char*)block) + size; - - /* Set the start pointer, aligning it as needed */ - block->cur = ALIGN_PTR(block->buf, PJ_POOL_ALIGNMENT); - - /* Insert in the front of the list. */ - pj_list_insert_after(&pool->block_list, block); - - LOG((pool->obj_name," block created, buffer=%p-%p",block->buf, block->end)); - - return block; -} - -/* - * Allocate memory chunk for user from available blocks. - * This will iterate through block list to find space to allocate the chunk. - * If no space is available in all the blocks, a new block might be created - * (depending on whether the pool is allowed to resize). - */ -PJ_DEF(void*) pj_pool_allocate_find(pj_pool_t *pool, unsigned size) -{ - pj_pool_block *block = pool->block_list.next; - void *p; - unsigned block_size; - - PJ_CHECK_STACK(); - - while (block != &pool->block_list) { - p = pj_pool_alloc_from_block(block, size); - if (p != NULL) - return p; - block = block->next; - } - /* No available space in all blocks. */ - - /* If pool is configured NOT to expand, return error. */ - if (pool->increment_size == 0) { - LOG((pool->obj_name, "Can't expand pool to allocate %u bytes " - "(used=%u, cap=%u)", - size, pj_pool_get_used_size(pool), pool->capacity)); - (*pool->callback)(pool, size); - return NULL; - } - - /* If pool is configured to expand, but the increment size - * is less than the required size, expand the pool by multiple - * increment size. Also count the size wasted due to aligning - * the block. - */ - if (pool->increment_size < - size + sizeof(pj_pool_block) + PJ_POOL_ALIGNMENT) - { - unsigned count; - count = (size + pool->increment_size + sizeof(pj_pool_block) + - PJ_POOL_ALIGNMENT) / - pool->increment_size; - block_size = count * pool->increment_size; - - } else { - block_size = pool->increment_size; - } - - LOG((pool->obj_name, - "%u bytes requested, resizing pool by %u bytes (used=%u, cap=%u)", - size, block_size, pj_pool_get_used_size(pool), pool->capacity)); - - block = pj_pool_create_block(pool, block_size); - if (!block) - return NULL; - - p = pj_pool_alloc_from_block(block, size); - pj_assert(p != NULL); -#if PJ_DEBUG - if (p == NULL) { - p = p; - } -#endif - return p; -} - -/* - * Internal function to initialize pool. - */ -PJ_DEF(void) pj_pool_init_int( pj_pool_t *pool, - const char *name, - pj_size_t increment_size, - pj_pool_callback *callback) -{ - PJ_CHECK_STACK(); - - pool->increment_size = increment_size; - pool->callback = callback; - - if (name) { - if (strchr(name, '%') != NULL) { - pj_ansi_snprintf(pool->obj_name, sizeof(pool->obj_name), - name, pool); - } else { - pj_ansi_strncpy(pool->obj_name, name, PJ_MAX_OBJ_NAME); - pool->obj_name[PJ_MAX_OBJ_NAME-1] = '\0'; - } - } else { - pool->obj_name[0] = '\0'; - } -} - -/* - * Create new memory pool. - */ -PJ_DEF(pj_pool_t*) pj_pool_create_int( pj_pool_factory *f, const char *name, - pj_size_t initial_size, - pj_size_t increment_size, - pj_pool_callback *callback) -{ - pj_pool_t *pool; - pj_pool_block *block; - pj_uint8_t *buffer; - - PJ_CHECK_STACK(); - - /* Size must be at least sizeof(pj_pool)+sizeof(pj_pool_block) */ - PJ_ASSERT_RETURN(initial_size >= sizeof(pj_pool_t)+sizeof(pj_pool_block), - NULL); - - /* If callback is NULL, set calback from the policy */ - if (callback == NULL) - callback = f->policy.callback; - - /* Allocate initial block */ - buffer = (pj_uint8_t*) (*f->policy.block_alloc)(f, initial_size); - if (!buffer) - return NULL; - - /* Set pool administrative data. */ - pool = (pj_pool_t*)buffer; - pj_bzero(pool, sizeof(*pool)); - - pj_list_init(&pool->block_list); - pool->factory = f; - - /* Create the first block from the memory. */ - block = (pj_pool_block*) (buffer + sizeof(*pool)); - block->buf = ((unsigned char*)block) + sizeof(pj_pool_block); - block->end = buffer + initial_size; - - /* Set the start pointer, aligning it as needed */ - block->cur = ALIGN_PTR(block->buf, PJ_POOL_ALIGNMENT); - - pj_list_insert_after(&pool->block_list, block); - - pj_pool_init_int(pool, name, increment_size, callback); - - /* Pool initial capacity and used size */ - pool->capacity = initial_size; - - LOG((pool->obj_name, "pool created, size=%u", pool->capacity)); - return pool; -} - -/* - * Reset the pool to the state when it was created. - * All blocks will be deallocated except the first block. All memory areas - * are marked as free. - */ -static void reset_pool(pj_pool_t *pool) -{ - pj_pool_block *block; - - PJ_CHECK_STACK(); - - block = pool->block_list.prev; - if (block == &pool->block_list) - return; - - /* Skip the first block because it is occupying the same memory - as the pool itself. - */ - block = block->prev; - - while (block != &pool->block_list) { - pj_pool_block *prev = block->prev; - pj_list_erase(block); - (*pool->factory->policy.block_free)(pool->factory, block, - block->end - (unsigned char*)block); - block = prev; - } - - block = pool->block_list.next; - - /* Set the start pointer, aligning it as needed */ - block->cur = ALIGN_PTR(block->buf, PJ_POOL_ALIGNMENT); - - pool->capacity = block->end - (unsigned char*)pool; -} - -/* - * The public function to reset pool. - */ -PJ_DEF(void) pj_pool_reset(pj_pool_t *pool) -{ - LOG((pool->obj_name, "reset(): cap=%d, used=%d(%d%%)", - pool->capacity, pj_pool_get_used_size(pool), - pj_pool_get_used_size(pool)*100/pool->capacity)); - - reset_pool(pool); -} - -/* - * Destroy the pool. - */ -PJ_DEF(void) pj_pool_destroy_int(pj_pool_t *pool) -{ - pj_size_t initial_size; - - LOG((pool->obj_name, "destroy(): cap=%d, used=%d(%d%%), block0=%p-%p", - pool->capacity, pj_pool_get_used_size(pool), - pj_pool_get_used_size(pool)*100/pool->capacity, - ((pj_pool_block*)pool->block_list.next)->buf, - ((pj_pool_block*)pool->block_list.next)->end)); - - reset_pool(pool); - initial_size = ((pj_pool_block*)pool->block_list.next)->end - - (unsigned char*)pool; - if (pool->factory->policy.block_free) - (*pool->factory->policy.block_free)(pool->factory, pool, initial_size); -} - - -#endif /* PJ_HAS_POOL_ALT_API */ - diff --git a/res/pjproject/pjlib/src/pj/pool_buf.c b/res/pjproject/pjlib/src/pj/pool_buf.c deleted file mode 100644 index 5e88981e9c..0000000000 --- a/res/pjproject/pjlib/src/pj/pool_buf.c +++ /dev/null @@ -1,115 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - -struct pj_pool_factory stack_based_factory; - -struct creation_param -{ - void *stack_buf; - pj_size_t size; -}; - -static int is_initialized; -static long tls = -1; -static void* stack_alloc(pj_pool_factory *factory, pj_size_t size); - -static void pool_buf_cleanup(void) -{ - if (tls != -1) { - pj_thread_local_free(tls); - tls = -1; - } - if (is_initialized) - is_initialized = 0; -} - -static pj_status_t pool_buf_initialize(void) -{ - pj_atexit(&pool_buf_cleanup); - - stack_based_factory.policy.block_alloc = &stack_alloc; - return pj_thread_local_alloc(&tls); -} - -static void* stack_alloc(pj_pool_factory *factory, pj_size_t size) -{ - struct creation_param *param; - void *buf; - - PJ_UNUSED_ARG(factory); - - param = (struct creation_param*) pj_thread_local_get(tls); - if (param == NULL) { - /* Don't assert(), this is normal no-memory situation */ - return NULL; - } - - pj_thread_local_set(tls, NULL); - - PJ_ASSERT_RETURN(size <= param->size, NULL); - - buf = param->stack_buf; - - /* Prevent the buffer from being reused */ - param->stack_buf = NULL; - - return buf; -} - - -PJ_DEF(pj_pool_t*) pj_pool_create_on_buf(const char *name, - void *buf, - pj_size_t size) -{ -#if PJ_HAS_POOL_ALT_API == 0 - struct creation_param param; - long align_diff; - - PJ_ASSERT_RETURN(buf && size, NULL); - - if (!is_initialized) { - if (pool_buf_initialize() != PJ_SUCCESS) - return NULL; - is_initialized = 1; - } - - /* Check and align buffer */ - align_diff = (long)buf; - if (align_diff & (PJ_POOL_ALIGNMENT-1)) { - align_diff &= (PJ_POOL_ALIGNMENT-1); - buf = (void*) (((char*)buf) + align_diff); - size -= align_diff; - } - - param.stack_buf = buf; - param.size = size; - pj_thread_local_set(tls, ¶m); - - return pj_pool_create_int(&stack_based_factory, name, size, 0, - pj_pool_factory_default_policy.callback); -#else - PJ_UNUSED_ARG(buf); - return pj_pool_create(NULL, name, size, size, NULL); -#endif -} - diff --git a/res/pjproject/pjlib/src/pj/pool_caching.c b/res/pjproject/pjlib/src/pj/pool_caching.c deleted file mode 100644 index 1e75302504..0000000000 --- a/res/pjproject/pjlib/src/pj/pool_caching.c +++ /dev/null @@ -1,334 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include - -#if !PJ_HAS_POOL_ALT_API - -static pj_pool_t* cpool_create_pool(pj_pool_factory *pf, - const char *name, - pj_size_t initial_size, - pj_size_t increment_sz, - pj_pool_callback *callback); -static void cpool_release_pool(pj_pool_factory *pf, pj_pool_t *pool); -static void cpool_dump_status(pj_pool_factory *factory, pj_bool_t detail ); -static pj_bool_t cpool_on_block_alloc(pj_pool_factory *f, pj_size_t sz); -static void cpool_on_block_free(pj_pool_factory *f, pj_size_t sz); - - -static pj_size_t pool_sizes[PJ_CACHING_POOL_ARRAY_SIZE] = -{ - 256, 512, 1024, 2048, 4096, 8192, 12288, 16384, - 20480, 24576, 28672, 32768, 40960, 49152, 57344, 65536 -}; - -/* Index where the search for size should begin. - * Start with pool_sizes[5], which is 8192. - */ -#define START_SIZE 5 - - -PJ_DEF(void) pj_caching_pool_init( pj_caching_pool *cp, - const pj_pool_factory_policy *policy, - pj_size_t max_capacity) -{ - int i; - pj_pool_t *pool; - - PJ_CHECK_STACK(); - - pj_bzero(cp, sizeof(*cp)); - - cp->max_capacity = max_capacity; - pj_list_init(&cp->used_list); - for (i=0; ifree_list[i]); - - if (policy == NULL) { - policy = &pj_pool_factory_default_policy; - } - - pj_memcpy(&cp->factory.policy, policy, sizeof(pj_pool_factory_policy)); - cp->factory.create_pool = &cpool_create_pool; - cp->factory.release_pool = &cpool_release_pool; - cp->factory.dump_status = &cpool_dump_status; - cp->factory.on_block_alloc = &cpool_on_block_alloc; - cp->factory.on_block_free = &cpool_on_block_free; - - pool = pj_pool_create_on_buf("cachingpool", cp->pool_buf, sizeof(cp->pool_buf)); - pj_lock_create_simple_mutex(pool, "cachingpool", &cp->lock); -} - -PJ_DEF(void) pj_caching_pool_destroy( pj_caching_pool *cp ) -{ - int i; - pj_pool_t *pool; - - PJ_CHECK_STACK(); - - /* Delete all pool in free list */ - for (i=0; i < PJ_CACHING_POOL_ARRAY_SIZE; ++i) { - pj_pool_t *pool = (pj_pool_t*) cp->free_list[i].next; - pj_pool_t *next; - for (; pool != (void*)&cp->free_list[i]; pool = next) { - next = pool->next; - pj_list_erase(pool); - pj_pool_destroy_int(pool); - } - } - - /* Delete all pools in used list */ - pool = (pj_pool_t*) cp->used_list.next; - while (pool != (pj_pool_t*) &cp->used_list) { - pj_pool_t *next = pool->next; - pj_list_erase(pool); - PJ_LOG(4,(pool->obj_name, - "Pool is not released by application, releasing now")); - pj_pool_destroy_int(pool); - pool = next; - } - - if (cp->lock) { - pj_lock_destroy(cp->lock); - pj_lock_create_null_mutex(NULL, "cachingpool", &cp->lock); - } -} - -static pj_pool_t* cpool_create_pool(pj_pool_factory *pf, - const char *name, - pj_size_t initial_size, - pj_size_t increment_sz, - pj_pool_callback *callback) -{ - pj_caching_pool *cp = (pj_caching_pool*)pf; - pj_pool_t *pool; - int idx; - - PJ_CHECK_STACK(); - - pj_lock_acquire(cp->lock); - - /* Use pool factory's policy when callback is NULL */ - if (callback == NULL) { - callback = pf->policy.callback; - } - - /* Search the suitable size for the pool. - * We'll just do linear search to the size array, as the array size itself - * is only a few elements. Binary search I suspect will be less efficient - * for this purpose. - */ - if (initial_size <= pool_sizes[START_SIZE]) { - for (idx=START_SIZE-1; - idx >= 0 && pool_sizes[idx] >= initial_size; - --idx) - ; - ++idx; - } else { - for (idx=START_SIZE+1; - idx < PJ_CACHING_POOL_ARRAY_SIZE && - pool_sizes[idx] < initial_size; - ++idx) - ; - } - - /* Check whether there's a pool in the list. */ - if (idx==PJ_CACHING_POOL_ARRAY_SIZE || pj_list_empty(&cp->free_list[idx])) { - /* No pool is available. */ - /* Set minimum size. */ - if (idx < PJ_CACHING_POOL_ARRAY_SIZE) - initial_size = pool_sizes[idx]; - - /* Create new pool */ - pool = pj_pool_create_int(&cp->factory, name, initial_size, - increment_sz, callback); - if (!pool) { - pj_lock_release(cp->lock); - return NULL; - } - - } else { - /* Get one pool from the list. */ - pool = (pj_pool_t*) cp->free_list[idx].next; - pj_list_erase(pool); - - /* Initialize the pool. */ - pj_pool_init_int(pool, name, increment_sz, callback); - - /* Update pool manager's free capacity. */ - cp->capacity -= pj_pool_get_capacity(pool); - - PJ_LOG(6, (pool->obj_name, "pool reused, size=%u", pool->capacity)); - } - - /* Put in used list. */ - pj_list_insert_before( &cp->used_list, pool ); - - /* Mark factory data */ - pool->factory_data = (void*) (long) idx; - - /* Increment used count. */ - ++cp->used_count; - - pj_lock_release(cp->lock); - return pool; -} - -static void cpool_release_pool( pj_pool_factory *pf, pj_pool_t *pool) -{ - pj_caching_pool *cp = (pj_caching_pool*)pf; - unsigned pool_capacity; - unsigned i; - - PJ_CHECK_STACK(); - - PJ_ASSERT_ON_FAIL(pf && pool, return); - - pj_lock_acquire(cp->lock); - -#if PJ_SAFE_POOL - /* Make sure pool is still in our used list */ - if (pj_list_find_node(&cp->used_list, pool) != pool) { - pj_assert(!"Attempt to destroy pool that has been destroyed before"); - return; - } -#endif - - /* Erase from the used list. */ - pj_list_erase(pool); - - /* Decrement used count. */ - --cp->used_count; - - pool_capacity = pj_pool_get_capacity(pool); - - /* Destroy the pool if the size is greater than our size or if the total - * capacity in our recycle list (plus the size of the pool) exceeds - * maximum capacity. - . */ - if (pool_capacity > pool_sizes[PJ_CACHING_POOL_ARRAY_SIZE-1] || - cp->capacity + pool_capacity > cp->max_capacity) - { - pj_pool_destroy_int(pool); - pj_lock_release(cp->lock); - return; - } - - /* Reset pool. */ - PJ_LOG(6, (pool->obj_name, "recycle(): cap=%d, used=%d(%d%%)", - pool_capacity, pj_pool_get_used_size(pool), - pj_pool_get_used_size(pool)*100/pool_capacity)); - pj_pool_reset(pool); - - pool_capacity = pj_pool_get_capacity(pool); - - /* - * Otherwise put the pool in our recycle list. - */ - i = (unsigned) (unsigned long) pool->factory_data; - - pj_assert(i= PJ_CACHING_POOL_ARRAY_SIZE ) { - /* Something has gone wrong with the pool. */ - pj_pool_destroy_int(pool); - pj_lock_release(cp->lock); - return; - } - - pj_list_insert_after(&cp->free_list[i], pool); - cp->capacity += pool_capacity; - - pj_lock_release(cp->lock); -} - -static void cpool_dump_status(pj_pool_factory *factory, pj_bool_t detail ) -{ -#if PJ_LOG_MAX_LEVEL >= 3 - pj_caching_pool *cp = (pj_caching_pool*)factory; - - pj_lock_acquire(cp->lock); - - PJ_LOG(3,("cachpool", " Dumping caching pool:")); - PJ_LOG(3,("cachpool", " Capacity=%u, max_capacity=%u, used_cnt=%u", \ - cp->capacity, cp->max_capacity, cp->used_count)); - if (detail) { - pj_pool_t *pool = (pj_pool_t*) cp->used_list.next; - pj_uint32_t total_used = 0, total_capacity = 0; - PJ_LOG(3,("cachpool", " Dumping all active pools:")); - while (pool != (void*)&cp->used_list) { - unsigned pool_capacity = pj_pool_get_capacity(pool); - PJ_LOG(3,("cachpool", " %16s: %8d of %8d (%d%%) used", - pj_pool_getobjname(pool), - pj_pool_get_used_size(pool), - pool_capacity, - pj_pool_get_used_size(pool)*100/pool_capacity)); - total_used += pj_pool_get_used_size(pool); - total_capacity += pool_capacity; - pool = pool->next; - } - if (total_capacity) { - PJ_LOG(3,("cachpool", " Total %9d of %9d (%d %%) used!", - total_used, total_capacity, - total_used * 100 / total_capacity)); - } - } - - pj_lock_release(cp->lock); -#else - PJ_UNUSED_ARG(factory); - PJ_UNUSED_ARG(detail); -#endif -} - - -static pj_bool_t cpool_on_block_alloc(pj_pool_factory *f, pj_size_t sz) -{ - pj_caching_pool *cp = (pj_caching_pool*)f; - - //Can't lock because mutex is not recursive - //if (cp->mutex) pj_mutex_lock(cp->mutex); - - cp->used_size += sz; - if (cp->used_size > cp->peak_used_size) - cp->peak_used_size = cp->used_size; - - //if (cp->mutex) pj_mutex_unlock(cp->mutex); - - return PJ_TRUE; -} - - -static void cpool_on_block_free(pj_pool_factory *f, pj_size_t sz) -{ - pj_caching_pool *cp = (pj_caching_pool*)f; - - //pj_mutex_lock(cp->mutex); - cp->used_size -= sz; - //pj_mutex_unlock(cp->mutex); -} - - -#endif /* PJ_HAS_POOL_ALT_API */ - diff --git a/res/pjproject/pjlib/src/pj/pool_dbg.c b/res/pjproject/pjlib/src/pj/pool_dbg.c deleted file mode 100644 index c9f714ed40..0000000000 --- a/res/pjproject/pjlib/src/pj/pool_dbg.c +++ /dev/null @@ -1,190 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -#if PJ_HAS_POOL_ALT_API - -#if PJ_HAS_MALLOC_H -# include -#endif - - -#if PJ_HAS_STDLIB_H -# include -#endif - - -#if defined(PJ_WIN32) && PJ_WIN32!=0 && defined(PJ_DEBUG) && PJ_DEBUG!=0 \ - && !PJ_NATIVE_STRING_IS_UNICODE -# include -# define TRACE_(msg) OutputDebugString(msg) -#endif - -/* Uncomment this to enable TRACE_ */ -//#undef TRACE_ - - - -int PJ_NO_MEMORY_EXCEPTION; - - -PJ_DEF(int) pj_NO_MEMORY_EXCEPTION() -{ - return PJ_NO_MEMORY_EXCEPTION; -} - -/* Create pool */ -PJ_DEF(pj_pool_t*) pj_pool_create_imp( const char *file, int line, - void *factory, - const char *name, - pj_size_t initial_size, - pj_size_t increment_size, - pj_pool_callback *callback) -{ - pj_pool_t *pool; - - PJ_UNUSED_ARG(file); - PJ_UNUSED_ARG(line); - PJ_UNUSED_ARG(factory); - PJ_UNUSED_ARG(initial_size); - PJ_UNUSED_ARG(increment_size); - - pool = malloc(sizeof(struct pj_pool_t)); - if (!pool) - return NULL; - - if (name) { - pj_ansi_strncpy(pool->obj_name, name, sizeof(pool->obj_name)); - pool->obj_name[sizeof(pool->obj_name)-1] = '\0'; - } else { - strcpy(pool->obj_name, "altpool"); - } - - pool->factory = NULL; - pool->first_mem = NULL; - pool->used_size = 0; - pool->cb = callback; - - return pool; -} - - -/* Release pool */ -PJ_DEF(void) pj_pool_release_imp(pj_pool_t *pool) -{ - pj_pool_reset(pool); - free(pool); -} - -/* Get pool name */ -PJ_DEF(const char*) pj_pool_getobjname_imp(pj_pool_t *pool) -{ - PJ_UNUSED_ARG(pool); - return "pooldbg"; -} - -/* Reset pool */ -PJ_DEF(void) pj_pool_reset_imp(pj_pool_t *pool) -{ - struct pj_pool_mem *mem; - - mem = pool->first_mem; - while (mem) { - struct pj_pool_mem *next = mem->next; - free(mem); - mem = next; - } - - pool->first_mem = NULL; -} - -/* Get capacity */ -PJ_DEF(pj_size_t) pj_pool_get_capacity_imp(pj_pool_t *pool) -{ - PJ_UNUSED_ARG(pool); - - /* Unlimited capacity */ - return 0x7FFFFFFFUL; -} - -/* Get total used size */ -PJ_DEF(pj_size_t) pj_pool_get_used_size_imp(pj_pool_t *pool) -{ - return pool->used_size; -} - -/* Allocate memory from the pool */ -PJ_DEF(void*) pj_pool_alloc_imp( const char *file, int line, - pj_pool_t *pool, pj_size_t sz) -{ - struct pj_pool_mem *mem; - - PJ_UNUSED_ARG(file); - PJ_UNUSED_ARG(line); - - mem = malloc(sz + sizeof(struct pj_pool_mem)); - if (!mem) { - if (pool->cb) - (*pool->cb)(pool, sz); - return NULL; - } - - mem->next = pool->first_mem; - pool->first_mem = mem; - -#ifdef TRACE_ - { - char msg[120]; - pj_ansi_sprintf(msg, "Mem %X (%d+%d bytes) allocated by %s:%d\r\n", - mem, sz, sizeof(struct pj_pool_mem), - file, line); - TRACE_(msg); - } -#endif - - return ((char*)mem) + sizeof(struct pj_pool_mem); -} - -/* Allocate memory from the pool and zero the memory */ -PJ_DEF(void*) pj_pool_calloc_imp( const char *file, int line, - pj_pool_t *pool, unsigned cnt, - unsigned elemsz) -{ - void *mem; - - mem = pj_pool_alloc_imp(file, line, pool, cnt*elemsz); - if (!mem) - return NULL; - - pj_bzero(mem, cnt*elemsz); - return mem; -} - -/* Allocate memory from the pool and zero the memory */ -PJ_DEF(void*) pj_pool_zalloc_imp( const char *file, int line, - pj_pool_t *pool, pj_size_t sz) -{ - return pj_pool_calloc_imp(file, line, pool, 1, sz); -} - - - -#endif /* PJ_HAS_POOL_ALT_API */ diff --git a/res/pjproject/pjlib/src/pj/pool_policy_kmalloc.c b/res/pjproject/pjlib/src/pj/pool_policy_kmalloc.c deleted file mode 100644 index 3f7ca4ffaa..0000000000 --- a/res/pjproject/pjlib/src/pj/pool_policy_kmalloc.c +++ /dev/null @@ -1,64 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - - -static void *default_block_alloc(pj_pool_factory *factory, pj_size_t size) -{ - PJ_CHECK_STACK(); - PJ_UNUSED_ARG(factory); - - return kmalloc(size, GFP_ATOMIC); -} - -static void default_block_free(pj_pool_factory *factory, - void *mem, pj_size_t size) -{ - PJ_CHECK_STACK(); - PJ_UNUSED_ARG(factory); - PJ_UNUSED_ARG(size); - - kfree(mem); -} - -static void default_pool_callback(pj_pool_t *pool, pj_size_t size) -{ - PJ_CHECK_STACK(); - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(size); - - PJ_THROW(PJ_NO_MEMORY_EXCEPTION); -} - -pj_pool_factory_policy pj_pool_factory_default_policy = -{ - &default_block_alloc, - &default_block_free, - &default_pool_callback, - 0 -}; - -PJ_DEF(const pj_pool_factory_policy*) pj_pool_factory_get_default_policy(void) -{ - return &pj_pool_factory_default_policy; -} - diff --git a/res/pjproject/pjlib/src/pj/pool_policy_malloc.c b/res/pjproject/pjlib/src/pj/pool_policy_malloc.c deleted file mode 100644 index b2a9157da5..0000000000 --- a/res/pjproject/pjlib/src/pj/pool_policy_malloc.c +++ /dev/null @@ -1,104 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -#if !PJ_HAS_POOL_ALT_API - -/* - * This file contains pool default policy definition and implementation. - */ -#include "pool_signature.h" - - -static void *default_block_alloc(pj_pool_factory *factory, pj_size_t size) -{ - void *p; - - PJ_CHECK_STACK(); - - if (factory->on_block_alloc) { - int rc; - rc = factory->on_block_alloc(factory, size); - if (!rc) - return NULL; - } - - p = malloc(size+(SIG_SIZE << 1)); - - if (p == NULL) { - if (factory->on_block_free) - factory->on_block_free(factory, size); - } else { - /* Apply signature when PJ_SAFE_POOL is set. It will move - * "p" pointer forward. - */ - APPLY_SIG(p, size); - } - - return p; -} - -static void default_block_free(pj_pool_factory *factory, void *mem, - pj_size_t size) -{ - PJ_CHECK_STACK(); - - if (factory->on_block_free) - factory->on_block_free(factory, size); - - /* Check and remove signature when PJ_SAFE_POOL is set. It will - * move "mem" pointer backward. - */ - REMOVE_SIG(mem, size); - - /* Note that when PJ_SAFE_POOL is set, the actual size of the block - * is size + SIG_SIZE*2. - */ - - free(mem); -} - -static void default_pool_callback(pj_pool_t *pool, pj_size_t size) -{ - PJ_CHECK_STACK(); - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(size); - - PJ_THROW(PJ_NO_MEMORY_EXCEPTION); -} - -PJ_DEF_DATA(pj_pool_factory_policy) pj_pool_factory_default_policy = -{ - &default_block_alloc, - &default_block_free, - &default_pool_callback, - 0 -}; - -PJ_DEF(const pj_pool_factory_policy*) pj_pool_factory_get_default_policy(void) -{ - return &pj_pool_factory_default_policy; -} - - -#endif /* PJ_HAS_POOL_ALT_API */ diff --git a/res/pjproject/pjlib/src/pj/pool_policy_new.cpp b/res/pjproject/pjlib/src/pj/pool_policy_new.cpp deleted file mode 100644 index 66375cd4fb..0000000000 --- a/res/pjproject/pjlib/src/pj/pool_policy_new.cpp +++ /dev/null @@ -1,102 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - -#if !PJ_HAS_POOL_ALT_API - -/* - * This file contains pool default policy definition and implementation. - */ -#include "pool_signature.h" - - -static void *operator_new(pj_pool_factory *factory, pj_size_t size) -{ - void *mem; - - PJ_CHECK_STACK(); - - if (factory->on_block_alloc) { - int rc; - rc = factory->on_block_alloc(factory, size); - if (!rc) - return NULL; - } - - mem = (void*) new char[size+(SIG_SIZE << 1)]; - - /* Exception for new operator may be disabled, so.. */ - if (mem) { - /* Apply signature when PJ_SAFE_POOL is set. It will move - * "mem" pointer forward. - */ - APPLY_SIG(mem, size); - } - - return mem; -} - -static void operator_delete(pj_pool_factory *factory, void *mem, pj_size_t size) -{ - PJ_CHECK_STACK(); - - if (factory->on_block_free) - factory->on_block_free(factory, size); - - /* Check and remove signature when PJ_SAFE_POOL is set. It will - * move "mem" pointer backward. - */ - REMOVE_SIG(mem, size); - - /* Note that when PJ_SAFE_POOL is set, the actual size of the block - * is size + SIG_SIZE*2. - */ - - char *p = (char*)mem; - delete [] p; -} - -static void default_pool_callback(pj_pool_t *pool, pj_size_t size) -{ - PJ_CHECK_STACK(); - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(size); - - PJ_THROW(PJ_NO_MEMORY_EXCEPTION); -} - -PJ_DEF_DATA(pj_pool_factory_policy) pj_pool_factory_default_policy = -{ - &operator_new, - &operator_delete, - &default_pool_callback, - 0 -}; - -PJ_DEF(const pj_pool_factory_policy*) pj_pool_factory_get_default_policy(void) -{ - return &pj_pool_factory_default_policy; -} - - -#endif /* PJ_HAS_POOL_ALT_API */ - diff --git a/res/pjproject/pjlib/src/pj/pool_signature.h b/res/pjproject/pjlib/src/pj/pool_signature.h deleted file mode 100644 index e51f292122..0000000000 --- a/res/pjproject/pjlib/src/pj/pool_signature.h +++ /dev/null @@ -1,68 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -#if PJ_SAFE_POOL -# define SIG_SIZE sizeof(pj_uint32_t) - -static void apply_signature(void *p, pj_size_t size); -static void check_pool_signature(void *p, pj_size_t size); - -# define APPLY_SIG(p,sz) apply_signature(p,sz), \ - p=(void*)(((char*)p)+SIG_SIZE) -# define REMOVE_SIG(p,sz) check_pool_signature(p,sz), \ - p=(void*)(((char*)p)-SIG_SIZE) - -# define SIG_BEGIN 0x600DC0DE -# define SIG_END 0x0BADC0DE - -static void apply_signature(void *p, pj_size_t size) -{ - pj_uint32_t sig; - - sig = SIG_BEGIN; - pj_memcpy(p, &sig, SIG_SIZE); - - sig = SIG_END; - pj_memcpy(((char*)p)+SIG_SIZE+size, &sig, SIG_SIZE); -} - -static void check_pool_signature(void *p, pj_size_t size) -{ - pj_uint32_t sig; - pj_uint8_t *mem = (pj_uint8_t*)p; - - /* Check that signature at the start of the block is still intact */ - sig = SIG_BEGIN; - pj_assert(!pj_memcmp(mem-SIG_SIZE, &sig, SIG_SIZE)); - - /* Check that signature at the end of the block is still intact. - * Note that "mem" has been incremented by SIG_SIZE - */ - sig = SIG_END; - pj_assert(!pj_memcmp(mem+size, &sig, SIG_SIZE)); -} - -#else -# define SIG_SIZE 0 -# define APPLY_SIG(p,sz) -# define REMOVE_SIG(p,sz) -#endif diff --git a/res/pjproject/pjlib/src/pj/rand.c b/res/pjproject/pjlib/src/pj/rand.c deleted file mode 100644 index 4f788bb490..0000000000 --- a/res/pjproject/pjlib/src/pj/rand.c +++ /dev/null @@ -1,35 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - -PJ_DEF(void) pj_srand(unsigned int seed) -{ - PJ_CHECK_STACK(); - platform_srand(seed); -} - -PJ_DEF(int) pj_rand(void) -{ - PJ_CHECK_STACK(); - return platform_rand(); -} - diff --git a/res/pjproject/pjlib/src/pj/rbtree.c b/res/pjproject/pjlib/src/pj/rbtree.c deleted file mode 100644 index b640087bb6..0000000000 --- a/res/pjproject/pjlib/src/pj/rbtree.c +++ /dev/null @@ -1,428 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -static void left_rotate( pj_rbtree *tree, pj_rbtree_node *node ) -{ - pj_rbtree_node *rnode, *parent; - - PJ_CHECK_STACK(); - - rnode = node->right; - if (rnode == tree->null) - return; - - node->right = rnode->left; - if (rnode->left != tree->null) - rnode->left->parent = node; - parent = node->parent; - rnode->parent = parent; - if (parent != tree->null) { - if (parent->left == node) - parent->left = rnode; - else - parent->right = rnode; - } else { - tree->root = rnode; - } - rnode->left = node; - node->parent = rnode; -} - -static void right_rotate( pj_rbtree *tree, pj_rbtree_node *node ) -{ - pj_rbtree_node *lnode, *parent; - - PJ_CHECK_STACK(); - - lnode = node->left; - if (lnode == tree->null) - return; - - node->left = lnode->right; - if (lnode->right != tree->null) - lnode->right->parent = node; - parent = node->parent; - lnode->parent = parent; - - if (parent != tree->null) { - if (parent->left == node) - parent->left = lnode; - else - parent->right = lnode; - } else { - tree->root = lnode; - } - lnode->right = node; - node->parent = lnode; -} - -static void insert_fixup( pj_rbtree *tree, pj_rbtree_node *node ) -{ - pj_rbtree_node *temp, *parent; - - PJ_CHECK_STACK(); - - while (node != tree->root && node->parent->color == PJ_RBCOLOR_RED) { - parent = node->parent; - if (parent == parent->parent->left) { - temp = parent->parent->right; - if (temp->color == PJ_RBCOLOR_RED) { - temp->color = PJ_RBCOLOR_BLACK; - node = parent; - node->color = PJ_RBCOLOR_BLACK; - node = node->parent; - node->color = PJ_RBCOLOR_RED; - } else { - if (node == parent->right) { - node = parent; - left_rotate(tree, node); - } - temp = node->parent; - temp->color = PJ_RBCOLOR_BLACK; - temp = temp->parent; - temp->color = PJ_RBCOLOR_RED; - right_rotate( tree, temp); - } - } else { - temp = parent->parent->left; - if (temp->color == PJ_RBCOLOR_RED) { - temp->color = PJ_RBCOLOR_BLACK; - node = parent; - node->color = PJ_RBCOLOR_BLACK; - node = node->parent; - node->color = PJ_RBCOLOR_RED; - } else { - if (node == parent->left) { - node = parent; - right_rotate(tree, node); - } - temp = node->parent; - temp->color = PJ_RBCOLOR_BLACK; - temp = temp->parent; - temp->color = PJ_RBCOLOR_RED; - left_rotate(tree, temp); - } - } - } - - tree->root->color = PJ_RBCOLOR_BLACK; -} - - -static void delete_fixup( pj_rbtree *tree, pj_rbtree_node *node ) -{ - pj_rbtree_node *temp; - - PJ_CHECK_STACK(); - - while (node != tree->root && node->color == PJ_RBCOLOR_BLACK) { - if (node->parent->left == node) { - temp = node->parent->right; - if (temp->color == PJ_RBCOLOR_RED) { - temp->color = PJ_RBCOLOR_BLACK; - node->parent->color = PJ_RBCOLOR_RED; - left_rotate(tree, node->parent); - temp = node->parent->right; - } - if (temp->left->color == PJ_RBCOLOR_BLACK && - temp->right->color == PJ_RBCOLOR_BLACK) - { - temp->color = PJ_RBCOLOR_RED; - node = node->parent; - } else { - if (temp->right->color == PJ_RBCOLOR_BLACK) { - temp->left->color = PJ_RBCOLOR_BLACK; - temp->color = PJ_RBCOLOR_RED; - right_rotate( tree, temp); - temp = node->parent->right; - } - temp->color = node->parent->color; - temp->right->color = PJ_RBCOLOR_BLACK; - node->parent->color = PJ_RBCOLOR_BLACK; - left_rotate(tree, node->parent); - node = tree->root; - } - } else { - temp = node->parent->left; - if (temp->color == PJ_RBCOLOR_RED) { - temp->color = PJ_RBCOLOR_BLACK; - node->parent->color = PJ_RBCOLOR_RED; - right_rotate( tree, node->parent); - temp = node->parent->left; - } - if (temp->right->color == PJ_RBCOLOR_BLACK && - temp->left->color == PJ_RBCOLOR_BLACK) - { - temp->color = PJ_RBCOLOR_RED; - node = node->parent; - } else { - if (temp->left->color == PJ_RBCOLOR_BLACK) { - temp->right->color = PJ_RBCOLOR_BLACK; - temp->color = PJ_RBCOLOR_RED; - left_rotate( tree, temp); - temp = node->parent->left; - } - temp->color = node->parent->color; - node->parent->color = PJ_RBCOLOR_BLACK; - temp->left->color = PJ_RBCOLOR_BLACK; - right_rotate(tree, node->parent); - node = tree->root; - } - } - } - - node->color = PJ_RBCOLOR_BLACK; -} - - -PJ_DEF(void) pj_rbtree_init( pj_rbtree *tree, pj_rbtree_comp *comp ) -{ - PJ_CHECK_STACK(); - - tree->null = tree->root = &tree->null_node; - tree->null->key = NULL; - tree->null->user_data = NULL; - tree->size = 0; - tree->null->left = tree->null->right = tree->null->parent = tree->null; - tree->null->color = PJ_RBCOLOR_BLACK; - tree->comp = comp; -} - -PJ_DEF(pj_rbtree_node*) pj_rbtree_first( pj_rbtree *tree ) -{ - register pj_rbtree_node *node = tree->root; - register pj_rbtree_node *null = tree->null; - - PJ_CHECK_STACK(); - - while (node->left != null) - node = node->left; - return node != null ? node : NULL; -} - -PJ_DEF(pj_rbtree_node*) pj_rbtree_last( pj_rbtree *tree ) -{ - register pj_rbtree_node *node = tree->root; - register pj_rbtree_node *null = tree->null; - - PJ_CHECK_STACK(); - - while (node->right != null) - node = node->right; - return node != null ? node : NULL; -} - -PJ_DEF(pj_rbtree_node*) pj_rbtree_next( pj_rbtree *tree, - register pj_rbtree_node *node ) -{ - register pj_rbtree_node *null = tree->null; - - PJ_CHECK_STACK(); - - if (node->right != null) { - for (node=node->right; node->left!=null; node = node->left) - /* void */; - } else { - register pj_rbtree_node *temp = node->parent; - while (temp!=null && temp->right==node) { - node = temp; - temp = temp->parent; - } - node = temp; - } - return node != null ? node : NULL; -} - -PJ_DEF(pj_rbtree_node*) pj_rbtree_prev( pj_rbtree *tree, - register pj_rbtree_node *node ) -{ - register pj_rbtree_node *null = tree->null; - - PJ_CHECK_STACK(); - - if (node->left != null) { - for (node=node->left; node->right!=null; node=node->right) - /* void */; - } else { - register pj_rbtree_node *temp = node->parent; - while (temp!=null && temp->left==node) { - node = temp; - temp = temp->parent; - } - node = temp; - } - return node != null ? node : NULL; -} - -PJ_DEF(int) pj_rbtree_insert( pj_rbtree *tree, - pj_rbtree_node *element ) -{ - int rv = 0; - pj_rbtree_node *node, *parent = tree->null, - *null = tree->null; - pj_rbtree_comp *comp = tree->comp; - - PJ_CHECK_STACK(); - - node = tree->root; - while (node != null) { - rv = (*comp)(element->key, node->key); - if (rv == 0) { - /* found match, i.e. entry with equal key already exist */ - return -1; - } - parent = node; - node = rv < 0 ? node->left : node->right; - } - - element->color = PJ_RBCOLOR_RED; - element->left = element->right = null; - - node = element; - if (parent != null) { - node->parent = parent; - if (rv < 0) - parent->left = node; - else - parent->right = node; - insert_fixup( tree, node); - } else { - tree->root = node; - node->parent = null; - node->color = PJ_RBCOLOR_BLACK; - } - - ++tree->size; - return 0; -} - - -PJ_DEF(pj_rbtree_node*) pj_rbtree_find( pj_rbtree *tree, - const void *key ) -{ - int rv; - pj_rbtree_node *node = tree->root; - pj_rbtree_node *null = tree->null; - pj_rbtree_comp *comp = tree->comp; - - while (node != null) { - rv = (*comp)(key, node->key); - if (rv == 0) - return node; - node = rv < 0 ? node->left : node->right; - } - return node != null ? node : NULL; -} - -PJ_DEF(pj_rbtree_node*) pj_rbtree_erase( pj_rbtree *tree, - pj_rbtree_node *node ) -{ - pj_rbtree_node *succ; - pj_rbtree_node *null = tree->null; - pj_rbtree_node *child; - pj_rbtree_node *parent; - - PJ_CHECK_STACK(); - - if (node->left == null || node->right == null) { - succ = node; - } else { - for (succ=node->right; succ->left!=null; succ=succ->left) - /* void */; - } - - child = succ->left != null ? succ->left : succ->right; - parent = succ->parent; - child->parent = parent; - - if (parent != null) { - if (parent->left == succ) - parent->left = child; - else - parent->right = child; - } else - tree->root = child; - - if (succ != node) { - succ->parent = node->parent; - succ->left = node->left; - succ->right = node->right; - succ->color = node->color; - - parent = node->parent; - if (parent != null) { - if (parent->left==node) - parent->left=succ; - else - parent->right=succ; - } - if (node->left != null) - node->left->parent = succ;; - if (node->right != null) - node->right->parent = succ; - - if (tree->root == node) - tree->root = succ; - } - - if (succ->color == PJ_RBCOLOR_BLACK) { - if (child != null) - delete_fixup(tree, child); - tree->null->color = PJ_RBCOLOR_BLACK; - } - - --tree->size; - return node; -} - - -PJ_DEF(unsigned) pj_rbtree_max_height( pj_rbtree *tree, - pj_rbtree_node *node ) -{ - unsigned l, r; - - PJ_CHECK_STACK(); - - if (node==NULL) - node = tree->root; - - l = node->left != tree->null ? pj_rbtree_max_height(tree,node->left)+1 : 0; - r = node->right != tree->null ? pj_rbtree_max_height(tree,node->right)+1 : 0; - return l > r ? l : r; -} - -PJ_DEF(unsigned) pj_rbtree_min_height( pj_rbtree *tree, - pj_rbtree_node *node ) -{ - unsigned l, r; - - PJ_CHECK_STACK(); - - if (node==NULL) - node=tree->root; - - l = (node->left != tree->null) ? pj_rbtree_max_height(tree,node->left)+1 : 0; - r = (node->right != tree->null) ? pj_rbtree_max_height(tree,node->right)+1 : 0; - return l > r ? r : l; -} - - diff --git a/res/pjproject/pjlib/src/pj/sock_bsd.c b/res/pjproject/pjlib/src/pj/sock_bsd.c deleted file mode 100644 index 3bd7121bad..0000000000 --- a/res/pjproject/pjlib/src/pj/sock_bsd.c +++ /dev/null @@ -1,843 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Address families conversion. - * The values here are indexed based on pj_addr_family. - */ -const pj_uint16_t PJ_AF_UNSPEC = AF_UNSPEC; -const pj_uint16_t PJ_AF_UNIX = AF_UNIX; -const pj_uint16_t PJ_AF_INET = AF_INET; -const pj_uint16_t PJ_AF_INET6 = AF_INET6; -#ifdef AF_PACKET -const pj_uint16_t PJ_AF_PACKET = AF_PACKET; -#else -const pj_uint16_t PJ_AF_PACKET = 0xFFFF; -#endif -#ifdef AF_IRDA -const pj_uint16_t PJ_AF_IRDA = AF_IRDA; -#else -const pj_uint16_t PJ_AF_IRDA = 0xFFFF; -#endif - -/* - * Socket types conversion. - * The values here are indexed based on pj_sock_type - */ -const pj_uint16_t PJ_SOCK_STREAM= SOCK_STREAM; -const pj_uint16_t PJ_SOCK_DGRAM = SOCK_DGRAM; -const pj_uint16_t PJ_SOCK_RAW = SOCK_RAW; -const pj_uint16_t PJ_SOCK_RDM = SOCK_RDM; - -/* - * Socket level values. - */ -const pj_uint16_t PJ_SOL_SOCKET = SOL_SOCKET; -#ifdef SOL_IP -const pj_uint16_t PJ_SOL_IP = SOL_IP; -#elif defined(PJ_WIN32) && PJ_WIN32 -const pj_uint16_t PJ_SOL_IP = IPPROTO_IP; -#else -const pj_uint16_t PJ_SOL_IP = 0; -#endif /* SOL_IP */ - -#if defined(SOL_TCP) -const pj_uint16_t PJ_SOL_TCP = SOL_TCP; -#elif defined(IPPROTO_TCP) -const pj_uint16_t PJ_SOL_TCP = IPPROTO_TCP; -#elif defined(PJ_WIN32) && PJ_WIN32 -const pj_uint16_t PJ_SOL_TCP = IPPROTO_TCP; -#else -const pj_uint16_t PJ_SOL_TCP = 6; -#endif /* SOL_TCP */ - -#ifdef SOL_UDP -const pj_uint16_t PJ_SOL_UDP = SOL_UDP; -#elif defined(IPPROTO_UDP) -const pj_uint16_t PJ_SOL_UDP = IPPROTO_UDP; -#elif defined(PJ_WIN32) && PJ_WIN32 -const pj_uint16_t PJ_SOL_UDP = IPPROTO_UDP; -#else -const pj_uint16_t PJ_SOL_UDP = 17; -#endif /* SOL_UDP */ - -#ifdef SOL_IPV6 -const pj_uint16_t PJ_SOL_IPV6 = SOL_IPV6; -#elif defined(PJ_WIN32) && PJ_WIN32 -# if defined(IPPROTO_IPV6) || (_WIN32_WINNT >= 0x0501) - const pj_uint16_t PJ_SOL_IPV6 = IPPROTO_IPV6; -# else - const pj_uint16_t PJ_SOL_IPV6 = 41; -# endif -#else -const pj_uint16_t PJ_SOL_IPV6 = 41; -#endif /* SOL_IPV6 */ - -/* IP_TOS */ -#ifdef IP_TOS -const pj_uint16_t PJ_IP_TOS = IP_TOS; -#else -const pj_uint16_t PJ_IP_TOS = 1; -#endif - - -/* TOS settings (declared in netinet/ip.h) */ -#ifdef IPTOS_LOWDELAY -const pj_uint16_t PJ_IPTOS_LOWDELAY = IPTOS_LOWDELAY; -#else -const pj_uint16_t PJ_IPTOS_LOWDELAY = 0x10; -#endif -#ifdef IPTOS_THROUGHPUT -const pj_uint16_t PJ_IPTOS_THROUGHPUT = IPTOS_THROUGHPUT; -#else -const pj_uint16_t PJ_IPTOS_THROUGHPUT = 0x08; -#endif -#ifdef IPTOS_RELIABILITY -const pj_uint16_t PJ_IPTOS_RELIABILITY = IPTOS_RELIABILITY; -#else -const pj_uint16_t PJ_IPTOS_RELIABILITY = 0x04; -#endif -#ifdef IPTOS_MINCOST -const pj_uint16_t PJ_IPTOS_MINCOST = IPTOS_MINCOST; -#else -const pj_uint16_t PJ_IPTOS_MINCOST = 0x02; -#endif - - -/* optname values. */ -const pj_uint16_t PJ_SO_TYPE = SO_TYPE; -const pj_uint16_t PJ_SO_RCVBUF = SO_RCVBUF; -const pj_uint16_t PJ_SO_SNDBUF = SO_SNDBUF; -const pj_uint16_t PJ_TCP_NODELAY= TCP_NODELAY; -const pj_uint16_t PJ_SO_REUSEADDR= SO_REUSEADDR; -#ifdef SO_NOSIGPIPE -const pj_uint16_t PJ_SO_NOSIGPIPE = SO_NOSIGPIPE; -#else -const pj_uint16_t PJ_SO_NOSIGPIPE = 0xFFFF; -#endif -#if defined(SO_PRIORITY) -const pj_uint16_t PJ_SO_PRIORITY = SO_PRIORITY; -#else -/* This is from Linux, YMMV */ -const pj_uint16_t PJ_SO_PRIORITY = 12; -#endif - -/* Multicasting is not supported e.g. in PocketPC 2003 SDK */ -#ifdef IP_MULTICAST_IF -const pj_uint16_t PJ_IP_MULTICAST_IF = IP_MULTICAST_IF; -const pj_uint16_t PJ_IP_MULTICAST_TTL = IP_MULTICAST_TTL; -const pj_uint16_t PJ_IP_MULTICAST_LOOP = IP_MULTICAST_LOOP; -const pj_uint16_t PJ_IP_ADD_MEMBERSHIP = IP_ADD_MEMBERSHIP; -const pj_uint16_t PJ_IP_DROP_MEMBERSHIP = IP_DROP_MEMBERSHIP; -#else -const pj_uint16_t PJ_IP_MULTICAST_IF = 0xFFFF; -const pj_uint16_t PJ_IP_MULTICAST_TTL = 0xFFFF; -const pj_uint16_t PJ_IP_MULTICAST_LOOP = 0xFFFF; -const pj_uint16_t PJ_IP_ADD_MEMBERSHIP = 0xFFFF; -const pj_uint16_t PJ_IP_DROP_MEMBERSHIP = 0xFFFF; -#endif - -/* recv() and send() flags */ -const int PJ_MSG_OOB = MSG_OOB; -const int PJ_MSG_PEEK = MSG_PEEK; -const int PJ_MSG_DONTROUTE = MSG_DONTROUTE; - - -#if 0 -static void CHECK_ADDR_LEN(const pj_sockaddr *addr, int len) -{ - pj_sockaddr *a = (pj_sockaddr*)addr; - pj_assert((a->addr.sa_family==PJ_AF_INET && len==sizeof(pj_sockaddr_in)) || - (a->addr.sa_family==PJ_AF_INET6 && len==sizeof(pj_sockaddr_in6))); - -} -#else -#define CHECK_ADDR_LEN(addr,len) -#endif - -/* - * Convert 16-bit value from network byte order to host byte order. - */ -PJ_DEF(pj_uint16_t) pj_ntohs(pj_uint16_t netshort) -{ - return ntohs(netshort); -} - -/* - * Convert 16-bit value from host byte order to network byte order. - */ -PJ_DEF(pj_uint16_t) pj_htons(pj_uint16_t hostshort) -{ - return htons(hostshort); -} - -/* - * Convert 32-bit value from network byte order to host byte order. - */ -PJ_DEF(pj_uint32_t) pj_ntohl(pj_uint32_t netlong) -{ - return ntohl(netlong); -} - -/* - * Convert 32-bit value from host byte order to network byte order. - */ -PJ_DEF(pj_uint32_t) pj_htonl(pj_uint32_t hostlong) -{ - return htonl(hostlong); -} - -/* - * Convert an Internet host address given in network byte order - * to string in standard numbers and dots notation. - */ -PJ_DEF(char*) pj_inet_ntoa(pj_in_addr inaddr) -{ -#if !defined(PJ_LINUX) && !defined(PJ_LINUX_KERNEL) - return inet_ntoa(*(struct in_addr*)&inaddr); -#else - struct in_addr addr; - addr.s_addr = inaddr.s_addr; - return inet_ntoa(addr); -#endif -} - -/* - * This function converts the Internet host address cp from the standard - * numbers-and-dots notation into binary data and stores it in the structure - * that inp points to. - */ -PJ_DEF(int) pj_inet_aton(const pj_str_t *cp, pj_in_addr *inp) -{ - char tempaddr[PJ_INET_ADDRSTRLEN]; - - /* Initialize output with PJ_INADDR_NONE. - * Some apps relies on this instead of the return value - * (and anyway the return value is quite confusing!) - */ - inp->s_addr = PJ_INADDR_NONE; - - /* Caution: - * this function might be called with cp->slen >= 16 - * (i.e. when called with hostname to check if it's an IP addr). - */ - PJ_ASSERT_RETURN(cp && cp->slen && inp, 0); - if (cp->slen >= PJ_INET_ADDRSTRLEN) { - return 0; - } - - pj_memcpy(tempaddr, cp->ptr, cp->slen); - tempaddr[cp->slen] = '\0'; - -#if defined(PJ_SOCK_HAS_INET_ATON) && PJ_SOCK_HAS_INET_ATON != 0 - return inet_aton(tempaddr, (struct in_addr*)inp); -#else - inp->s_addr = inet_addr(tempaddr); - return inp->s_addr == PJ_INADDR_NONE ? 0 : 1; -#endif -} - -/* - * Convert text to IPv4/IPv6 address. - */ -PJ_DEF(pj_status_t) pj_inet_pton(int af, const pj_str_t *src, void *dst) -{ - char tempaddr[PJ_INET6_ADDRSTRLEN]; - - PJ_ASSERT_RETURN(af==PJ_AF_INET || af==PJ_AF_INET6, PJ_EAFNOTSUP); - PJ_ASSERT_RETURN(src && src->slen && dst, PJ_EINVAL); - - /* Initialize output with PJ_IN_ADDR_NONE for IPv4 (to be - * compatible with pj_inet_aton() - */ - if (af==PJ_AF_INET) { - ((pj_in_addr*)dst)->s_addr = PJ_INADDR_NONE; - } - - /* Caution: - * this function might be called with cp->slen >= 46 - * (i.e. when called with hostname to check if it's an IP addr). - */ - if (src->slen >= PJ_INET6_ADDRSTRLEN) { - return PJ_ENAMETOOLONG; - } - - pj_memcpy(tempaddr, src->ptr, src->slen); - tempaddr[src->slen] = '\0'; - -#if defined(PJ_SOCK_HAS_INET_PTON) && PJ_SOCK_HAS_INET_PTON != 0 - /* - * Implementation using inet_pton() - */ - if (inet_pton(af, tempaddr, dst) != 1) { - pj_status_t status = pj_get_netos_error(); - if (status == PJ_SUCCESS) - status = PJ_EUNKNOWN; - - return status; - } - - return PJ_SUCCESS; - -#elif defined(PJ_WIN32) || defined(PJ_WIN32_WINCE) - /* - * Implementation on Windows, using WSAStringToAddress(). - * Should also work on Unicode systems. - */ - { - PJ_DECL_UNICODE_TEMP_BUF(wtempaddr,PJ_INET6_ADDRSTRLEN) - pj_sockaddr sock_addr; - int addr_len = sizeof(sock_addr); - int rc; - - sock_addr.addr.sa_family = (pj_uint16_t)af; - rc = WSAStringToAddress( - PJ_STRING_TO_NATIVE(tempaddr,wtempaddr,sizeof(wtempaddr)), - af, NULL, (LPSOCKADDR)&sock_addr, &addr_len); - if (rc != 0) { - /* If you get rc 130022 Invalid argument (WSAEINVAL) with IPv6, - * check that you have IPv6 enabled (install it in the network - * adapter). - */ - pj_status_t status = pj_get_netos_error(); - if (status == PJ_SUCCESS) - status = PJ_EUNKNOWN; - - return status; - } - - if (sock_addr.addr.sa_family == PJ_AF_INET) { - pj_memcpy(dst, &sock_addr.ipv4.sin_addr, 4); - return PJ_SUCCESS; - } else if (sock_addr.addr.sa_family == PJ_AF_INET6) { - pj_memcpy(dst, &sock_addr.ipv6.sin6_addr, 16); - return PJ_SUCCESS; - } else { - pj_assert(!"Shouldn't happen"); - return PJ_EBUG; - } - } -#elif !defined(PJ_HAS_IPV6) || PJ_HAS_IPV6==0 - /* IPv6 support is disabled, just return error without raising assertion */ - return PJ_EIPV6NOTSUP; -#else - pj_assert(!"Not supported"); - return PJ_EIPV6NOTSUP; -#endif -} - -/* - * Convert IPv4/IPv6 address to text. - */ -PJ_DEF(pj_status_t) pj_inet_ntop(int af, const void *src, - char *dst, int size) - -{ - PJ_ASSERT_RETURN(src && dst && size, PJ_EINVAL); - - *dst = '\0'; - - PJ_ASSERT_RETURN(af==PJ_AF_INET || af==PJ_AF_INET6, PJ_EAFNOTSUP); - -#if defined(PJ_SOCK_HAS_INET_NTOP) && PJ_SOCK_HAS_INET_NTOP != 0 - /* - * Implementation using inet_ntop() - */ - if (inet_ntop(af, src, dst, size) == NULL) { - pj_status_t status = pj_get_netos_error(); - if (status == PJ_SUCCESS) - status = PJ_EUNKNOWN; - - return status; - } - - return PJ_SUCCESS; - -#elif defined(PJ_WIN32) || defined(PJ_WIN32_WINCE) - /* - * Implementation on Windows, using WSAAddressToString(). - * Should also work on Unicode systems. - */ - { - PJ_DECL_UNICODE_TEMP_BUF(wtempaddr,PJ_INET6_ADDRSTRLEN) - pj_sockaddr sock_addr; - DWORD addr_len, addr_str_len; - int rc; - - pj_bzero(&sock_addr, sizeof(sock_addr)); - sock_addr.addr.sa_family = (pj_uint16_t)af; - if (af == PJ_AF_INET) { - if (size < PJ_INET_ADDRSTRLEN) - return PJ_ETOOSMALL; - pj_memcpy(&sock_addr.ipv4.sin_addr, src, 4); - addr_len = sizeof(pj_sockaddr_in); - addr_str_len = PJ_INET_ADDRSTRLEN; - } else if (af == PJ_AF_INET6) { - if (size < PJ_INET6_ADDRSTRLEN) - return PJ_ETOOSMALL; - pj_memcpy(&sock_addr.ipv6.sin6_addr, src, 16); - addr_len = sizeof(pj_sockaddr_in6); - addr_str_len = PJ_INET6_ADDRSTRLEN; - } else { - pj_assert(!"Unsupported address family"); - return PJ_EAFNOTSUP; - } - -#if PJ_NATIVE_STRING_IS_UNICODE - rc = WSAAddressToString((LPSOCKADDR)&sock_addr, addr_len, - NULL, wtempaddr, &addr_str_len); - if (rc == 0) { - pj_unicode_to_ansi(wtempaddr, wcslen(wtempaddr), dst, size); - } -#else - rc = WSAAddressToString((LPSOCKADDR)&sock_addr, addr_len, - NULL, dst, &addr_str_len); -#endif - - if (rc != 0) { - pj_status_t status = pj_get_netos_error(); - if (status == PJ_SUCCESS) - status = PJ_EUNKNOWN; - - return status; - } - - return PJ_SUCCESS; - } - -#elif !defined(PJ_HAS_IPV6) || PJ_HAS_IPV6==0 - /* IPv6 support is disabled, just return error without raising assertion */ - return PJ_EIPV6NOTSUP; -#else - pj_assert(!"Not supported"); - return PJ_EIPV6NOTSUP; -#endif -} - -/* - * Get hostname. - */ -PJ_DEF(const pj_str_t*) pj_gethostname(void) -{ - static char buf[PJ_MAX_HOSTNAME]; - static pj_str_t hostname; - - PJ_CHECK_STACK(); - - if (hostname.ptr == NULL) { - hostname.ptr = buf; - if (gethostname(buf, sizeof(buf)) != 0) { - hostname.ptr[0] = '\0'; - hostname.slen = 0; - } else { - hostname.slen = strlen(buf); - } - } - return &hostname; -} - -#if defined(PJ_WIN32) -/* - * Create new socket/endpoint for communication and returns a descriptor. - */ -PJ_DEF(pj_status_t) pj_sock_socket(int af, - int type, - int proto, - pj_sock_t *sock) -{ - PJ_CHECK_STACK(); - - /* Sanity checks. */ - PJ_ASSERT_RETURN(sock!=NULL, PJ_EINVAL); - PJ_ASSERT_RETURN((unsigned)PJ_INVALID_SOCKET==INVALID_SOCKET, - (*sock=PJ_INVALID_SOCKET, PJ_EINVAL)); - - *sock = WSASocket(af, type, proto, NULL, 0, WSA_FLAG_OVERLAPPED); - - if (*sock == PJ_INVALID_SOCKET) - return PJ_RETURN_OS_ERROR(pj_get_native_netos_error()); - -#if PJ_SOCK_DISABLE_WSAECONNRESET && \ - (!defined(PJ_WIN32_WINCE) || PJ_WIN32_WINCE==0) - -#ifndef SIO_UDP_CONNRESET - #define SIO_UDP_CONNRESET _WSAIOW(IOC_VENDOR,12) -#endif - - /* Disable WSAECONNRESET for UDP. - * See https://trac.pjsip.org/repos/ticket/1197 - */ - if (type==PJ_SOCK_DGRAM) { - DWORD dwBytesReturned = 0; - BOOL bNewBehavior = FALSE; - DWORD rc; - - rc = WSAIoctl(*sock, SIO_UDP_CONNRESET, - &bNewBehavior, sizeof(bNewBehavior), - NULL, 0, &dwBytesReturned, - NULL, NULL); - - if (rc==SOCKET_ERROR) { - // Ignored.. - } - } -#endif - - return PJ_SUCCESS; -} - -#else -/* - * Create new socket/endpoint for communication and returns a descriptor. - */ -PJ_DEF(pj_status_t) pj_sock_socket(int af, - int type, - int proto, - pj_sock_t *sock) -{ - - PJ_CHECK_STACK(); - - /* Sanity checks. */ - PJ_ASSERT_RETURN(sock!=NULL, PJ_EINVAL); - PJ_ASSERT_RETURN(PJ_INVALID_SOCKET==-1, - (*sock=PJ_INVALID_SOCKET, PJ_EINVAL)); - - *sock = socket(af, type, proto); - if (*sock == PJ_INVALID_SOCKET) - return PJ_RETURN_OS_ERROR(pj_get_native_netos_error()); - else { - pj_int32_t val = 1; - if (type == pj_SOCK_STREAM()) { - pj_sock_setsockopt(*sock, pj_SOL_SOCKET(), pj_SO_NOSIGPIPE(), - &val, sizeof(val)); - } -#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ - PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 - if (type == pj_SOCK_DGRAM()) { - pj_sock_setsockopt(*sock, pj_SOL_SOCKET(), SO_NOSIGPIPE, - &val, sizeof(val)); - } -#endif - return PJ_SUCCESS; - } -} -#endif - -/* - * Bind socket. - */ -PJ_DEF(pj_status_t) pj_sock_bind( pj_sock_t sock, - const pj_sockaddr_t *addr, - int len) -{ - PJ_CHECK_STACK(); - - PJ_ASSERT_RETURN(addr && len >= (int)sizeof(struct sockaddr_in), PJ_EINVAL); - - CHECK_ADDR_LEN(addr, len); - - if (bind(sock, (struct sockaddr*)addr, len) != 0) - return PJ_RETURN_OS_ERROR(pj_get_native_netos_error()); - else - return PJ_SUCCESS; -} - - -/* - * Bind socket. - */ -PJ_DEF(pj_status_t) pj_sock_bind_in( pj_sock_t sock, - pj_uint32_t addr32, - pj_uint16_t port) -{ - pj_sockaddr_in addr; - - PJ_CHECK_STACK(); - - PJ_SOCKADDR_SET_LEN(&addr, sizeof(pj_sockaddr_in)); - addr.sin_family = PJ_AF_INET; - pj_bzero(addr.sin_zero, sizeof(addr.sin_zero)); - addr.sin_addr.s_addr = pj_htonl(addr32); - addr.sin_port = pj_htons(port); - - return pj_sock_bind(sock, &addr, sizeof(pj_sockaddr_in)); -} - - -/* - * Close socket. - */ -PJ_DEF(pj_status_t) pj_sock_close(pj_sock_t sock) -{ - int rc; - - PJ_CHECK_STACK(); -#if defined(PJ_WIN32) && PJ_WIN32!=0 || \ - defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0 - rc = closesocket(sock); -#else - rc = close(sock); -#endif - - if (rc != 0) - return PJ_RETURN_OS_ERROR(pj_get_native_netos_error()); - else - return PJ_SUCCESS; -} - -/* - * Get remote's name. - */ -PJ_DEF(pj_status_t) pj_sock_getpeername( pj_sock_t sock, - pj_sockaddr_t *addr, - int *namelen) -{ - PJ_CHECK_STACK(); - if (getpeername(sock, (struct sockaddr*)addr, (socklen_t*)namelen) != 0) - return PJ_RETURN_OS_ERROR(pj_get_native_netos_error()); - else { - PJ_SOCKADDR_RESET_LEN(addr); - return PJ_SUCCESS; - } -} - -/* - * Get socket name. - */ -PJ_DEF(pj_status_t) pj_sock_getsockname( pj_sock_t sock, - pj_sockaddr_t *addr, - int *namelen) -{ - PJ_CHECK_STACK(); - if (getsockname(sock, (struct sockaddr*)addr, (socklen_t*)namelen) != 0) - return PJ_RETURN_OS_ERROR(pj_get_native_netos_error()); - else { - PJ_SOCKADDR_RESET_LEN(addr); - return PJ_SUCCESS; - } -} - -/* - * Send data - */ -PJ_DEF(pj_status_t) pj_sock_send(pj_sock_t sock, - const void *buf, - pj_ssize_t *len, - unsigned flags) -{ - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(len, PJ_EINVAL); - - *len = send(sock, (const char*)buf, *len, flags); - - if (*len < 0) - return PJ_RETURN_OS_ERROR(pj_get_native_netos_error()); - else - return PJ_SUCCESS; -} - - -/* - * Send data. - */ -PJ_DEF(pj_status_t) pj_sock_sendto(pj_sock_t sock, - const void *buf, - pj_ssize_t *len, - unsigned flags, - const pj_sockaddr_t *to, - int tolen) -{ - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(len, PJ_EINVAL); - - CHECK_ADDR_LEN(to, tolen); - - *len = sendto(sock, (const char*)buf, *len, flags, - (const struct sockaddr*)to, tolen); - - if (*len < 0) - return PJ_RETURN_OS_ERROR(pj_get_native_netos_error()); - else - return PJ_SUCCESS; -} - -/* - * Receive data. - */ -PJ_DEF(pj_status_t) pj_sock_recv(pj_sock_t sock, - void *buf, - pj_ssize_t *len, - unsigned flags) -{ - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(buf && len, PJ_EINVAL); - - *len = recv(sock, (char*)buf, *len, flags); - - if (*len < 0) - return PJ_RETURN_OS_ERROR(pj_get_native_netos_error()); - else - return PJ_SUCCESS; -} - -/* - * Receive data. - */ -PJ_DEF(pj_status_t) pj_sock_recvfrom(pj_sock_t sock, - void *buf, - pj_ssize_t *len, - unsigned flags, - pj_sockaddr_t *from, - int *fromlen) -{ - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(buf && len, PJ_EINVAL); - PJ_ASSERT_RETURN(from && fromlen, (*len=-1, PJ_EINVAL)); - - *len = recvfrom(sock, (char*)buf, *len, flags, - (struct sockaddr*)from, (socklen_t*)fromlen); - - if (*len < 0) - return PJ_RETURN_OS_ERROR(pj_get_native_netos_error()); - else { - PJ_SOCKADDR_RESET_LEN(from); - return PJ_SUCCESS; - } -} - -/* - * Get socket option. - */ -PJ_DEF(pj_status_t) pj_sock_getsockopt( pj_sock_t sock, - pj_uint16_t level, - pj_uint16_t optname, - void *optval, - int *optlen) -{ - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(optval && optlen, PJ_EINVAL); - - if (getsockopt(sock, level, optname, (char*)optval, (socklen_t*)optlen)!=0) - return PJ_RETURN_OS_ERROR(pj_get_native_netos_error()); - else - return PJ_SUCCESS; -} - -/* - * Set socket option. - */ -PJ_DEF(pj_status_t) pj_sock_setsockopt( pj_sock_t sock, - pj_uint16_t level, - pj_uint16_t optname, - const void *optval, - int optlen) -{ - PJ_CHECK_STACK(); - if (setsockopt(sock, level, optname, (const char*)optval, optlen) != 0) - return PJ_RETURN_OS_ERROR(pj_get_native_netos_error()); - else - return PJ_SUCCESS; -} - -/* - * Connect socket. - */ -PJ_DEF(pj_status_t) pj_sock_connect( pj_sock_t sock, - const pj_sockaddr_t *addr, - int namelen) -{ - PJ_CHECK_STACK(); - if (connect(sock, (struct sockaddr*)addr, namelen) != 0) - return PJ_RETURN_OS_ERROR(pj_get_native_netos_error()); - else - return PJ_SUCCESS; -} - - -/* - * Shutdown socket. - */ -#if PJ_HAS_TCP -PJ_DEF(pj_status_t) pj_sock_shutdown( pj_sock_t sock, - int how) -{ - PJ_CHECK_STACK(); - if (shutdown(sock, how) != 0) - return PJ_RETURN_OS_ERROR(pj_get_native_netos_error()); - else - return PJ_SUCCESS; -} - -/* - * Start listening to incoming connections. - */ -PJ_DEF(pj_status_t) pj_sock_listen( pj_sock_t sock, - int backlog) -{ - PJ_CHECK_STACK(); - if (listen(sock, backlog) != 0) - return PJ_RETURN_OS_ERROR(pj_get_native_netos_error()); - else - return PJ_SUCCESS; -} - -/* - * Accept incoming connections - */ -PJ_DEF(pj_status_t) pj_sock_accept( pj_sock_t serverfd, - pj_sock_t *newsock, - pj_sockaddr_t *addr, - int *addrlen) -{ - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(newsock != NULL, PJ_EINVAL); - -#if defined(PJ_SOCKADDR_HAS_LEN) && PJ_SOCKADDR_HAS_LEN!=0 - if (addr) { - PJ_SOCKADDR_SET_LEN(addr, *addrlen); - } -#endif - - *newsock = accept(serverfd, (struct sockaddr*)addr, (socklen_t*)addrlen); - if (*newsock==PJ_INVALID_SOCKET) - return PJ_RETURN_OS_ERROR(pj_get_native_netos_error()); - else { - -#if defined(PJ_SOCKADDR_HAS_LEN) && PJ_SOCKADDR_HAS_LEN!=0 - if (addr) { - PJ_SOCKADDR_RESET_LEN(addr); - } -#endif - - return PJ_SUCCESS; - } -} -#endif /* PJ_HAS_TCP */ - - diff --git a/res/pjproject/pjlib/src/pj/sock_common.c b/res/pjproject/pjlib/src/pj/sock_common.c deleted file mode 100644 index 948d47da15..0000000000 --- a/res/pjproject/pjlib/src/pj/sock_common.c +++ /dev/null @@ -1,1196 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#if 0 - /* Enable some tracing */ - #include - #define THIS_FILE "sock_common.c" - #define TRACE_(arg) PJ_LOG(4,arg) -#else - #define TRACE_(arg) -#endif - - -/* - * Convert address string with numbers and dots to binary IP address. - */ -PJ_DEF(pj_in_addr) pj_inet_addr(const pj_str_t *cp) -{ - pj_in_addr addr; - - pj_inet_aton(cp, &addr); - return addr; -} - -/* - * Convert address string with numbers and dots to binary IP address. - */ -PJ_DEF(pj_in_addr) pj_inet_addr2(const char *cp) -{ - pj_str_t str = pj_str((char*)cp); - return pj_inet_addr(&str); -} - -/* - * Get text representation. - */ -PJ_DEF(char*) pj_inet_ntop2( int af, const void *src, - char *dst, int size) -{ - pj_status_t status; - - status = pj_inet_ntop(af, src, dst, size); - return (status==PJ_SUCCESS)? dst : NULL; -} - -/* - * Print socket address. - */ -PJ_DEF(char*) pj_sockaddr_print( const pj_sockaddr_t *addr, - char *buf, int size, - unsigned flags) -{ - enum { - WITH_PORT = 1, - WITH_BRACKETS = 2 - }; - - char txt[PJ_INET6_ADDRSTRLEN]; - char port[32]; - const pj_addr_hdr *h = (const pj_addr_hdr*)addr; - char *bquote, *equote; - pj_status_t status; - - status = pj_inet_ntop(h->sa_family, pj_sockaddr_get_addr(addr), - txt, sizeof(txt)); - if (status != PJ_SUCCESS) - return ""; - - if (h->sa_family != PJ_AF_INET6 || (flags & WITH_BRACKETS)==0) { - bquote = ""; equote = ""; - } else { - bquote = "["; equote = "]"; - } - - if (flags & WITH_PORT) { - pj_ansi_snprintf(port, sizeof(port), ":%d", - pj_sockaddr_get_port(addr)); - } else { - port[0] = '\0'; - } - - pj_ansi_snprintf(buf, size, "%s%s%s%s", - bquote, txt, equote, port); - - return buf; -} - -/* - * Set the IP address of an IP socket address from string address, - * with resolving the host if necessary. The string address may be in a - * standard numbers and dots notation or may be a hostname. If hostname - * is specified, then the function will resolve the host into the IP - * address. - */ -PJ_DEF(pj_status_t) pj_sockaddr_in_set_str_addr( pj_sockaddr_in *addr, - const pj_str_t *str_addr) -{ - PJ_CHECK_STACK(); - - PJ_ASSERT_RETURN(!str_addr || str_addr->slen < PJ_MAX_HOSTNAME, - (addr->sin_addr.s_addr=PJ_INADDR_NONE, PJ_EINVAL)); - - PJ_SOCKADDR_RESET_LEN(addr); - addr->sin_family = AF_INET; - pj_bzero(addr->sin_zero, sizeof(addr->sin_zero)); - - if (str_addr && str_addr->slen) { - addr->sin_addr = pj_inet_addr(str_addr); - if (addr->sin_addr.s_addr == PJ_INADDR_NONE) { - pj_hostent he; - pj_status_t rc; - - rc = pj_gethostbyname(str_addr, &he); - if (rc == 0) { - addr->sin_addr.s_addr = *(pj_uint32_t*)he.h_addr; - } else { - addr->sin_addr.s_addr = PJ_INADDR_NONE; - return rc; - } - } - - } else { - addr->sin_addr.s_addr = 0; - } - - return PJ_SUCCESS; -} - -/* Set address from a name */ -PJ_DEF(pj_status_t) pj_sockaddr_set_str_addr(int af, - pj_sockaddr *addr, - const pj_str_t *str_addr) -{ - pj_status_t status; - - if (af == PJ_AF_INET) { - return pj_sockaddr_in_set_str_addr(&addr->ipv4, str_addr); - } - - PJ_ASSERT_RETURN(af==PJ_AF_INET6, PJ_EAFNOTSUP); - - /* IPv6 specific */ - - addr->ipv6.sin6_family = PJ_AF_INET6; - PJ_SOCKADDR_RESET_LEN(addr); - - if (str_addr && str_addr->slen) { - status = pj_inet_pton(PJ_AF_INET6, str_addr, &addr->ipv6.sin6_addr); - if (status != PJ_SUCCESS) { - pj_addrinfo ai; - unsigned count = 1; - - status = pj_getaddrinfo(PJ_AF_INET6, str_addr, &count, &ai); - if (status==PJ_SUCCESS) { - pj_memcpy(&addr->ipv6.sin6_addr, &ai.ai_addr.ipv6.sin6_addr, - sizeof(pj_sockaddr_in6)); - } - } - } else { - status = PJ_SUCCESS; - } - - return status; -} - -/* - * Set the IP address and port of an IP socket address. - * The string address may be in a standard numbers and dots notation or - * may be a hostname. If hostname is specified, then the function will - * resolve the host into the IP address. - */ -PJ_DEF(pj_status_t) pj_sockaddr_in_init( pj_sockaddr_in *addr, - const pj_str_t *str_addr, - pj_uint16_t port) -{ - PJ_ASSERT_RETURN(addr, (addr->sin_addr.s_addr=PJ_INADDR_NONE, PJ_EINVAL)); - - PJ_SOCKADDR_RESET_LEN(addr); - addr->sin_family = PJ_AF_INET; - pj_bzero(addr->sin_zero, sizeof(addr->sin_zero)); - pj_sockaddr_in_set_port(addr, port); - return pj_sockaddr_in_set_str_addr(addr, str_addr); -} - -/* - * Initialize IP socket address based on the address and port info. - */ -PJ_DEF(pj_status_t) pj_sockaddr_init(int af, - pj_sockaddr *addr, - const pj_str_t *cp, - pj_uint16_t port) -{ - pj_status_t status; - - if (af == PJ_AF_INET) { - return pj_sockaddr_in_init(&addr->ipv4, cp, port); - } - - /* IPv6 specific */ - PJ_ASSERT_RETURN(af==PJ_AF_INET6, PJ_EAFNOTSUP); - - pj_bzero(addr, sizeof(pj_sockaddr_in6)); - addr->addr.sa_family = PJ_AF_INET6; - - status = pj_sockaddr_set_str_addr(af, addr, cp); - if (status != PJ_SUCCESS) - return status; - - addr->ipv6.sin6_port = pj_htons(port); - return PJ_SUCCESS; -} - -/* - * Compare two socket addresses. - */ -PJ_DEF(int) pj_sockaddr_cmp( const pj_sockaddr_t *addr1, - const pj_sockaddr_t *addr2) -{ - const pj_sockaddr *a1 = (const pj_sockaddr*) addr1; - const pj_sockaddr *a2 = (const pj_sockaddr*) addr2; - int port1, port2; - int result; - - /* Compare address family */ - if (a1->addr.sa_family < a2->addr.sa_family) - return -1; - else if (a1->addr.sa_family > a2->addr.sa_family) - return 1; - - /* Compare addresses */ - result = pj_memcmp(pj_sockaddr_get_addr(a1), - pj_sockaddr_get_addr(a2), - pj_sockaddr_get_addr_len(a1)); - if (result != 0) - return result; - - /* Compare port number */ - port1 = pj_sockaddr_get_port(a1); - port2 = pj_sockaddr_get_port(a2); - - if (port1 < port2) - return -1; - else if (port1 > port2) - return 1; - - /* TODO: - * Do we need to compare flow label and scope id in IPv6? - */ - - /* Looks equal */ - return 0; -} - -/* - * Get first IP address associated with the hostname. - */ -PJ_DEF(pj_in_addr) pj_gethostaddr(void) -{ - pj_sockaddr_in addr; - const pj_str_t *hostname = pj_gethostname(); - - pj_sockaddr_in_set_str_addr(&addr, hostname); - return addr.sin_addr; -} - -/* - * Get port number of a pj_sockaddr_in - */ -PJ_DEF(pj_uint16_t) pj_sockaddr_in_get_port(const pj_sockaddr_in *addr) -{ - return pj_ntohs(addr->sin_port); -} - -/* - * Get the address part - */ -PJ_DEF(void*) pj_sockaddr_get_addr(const pj_sockaddr_t *addr) -{ - const pj_sockaddr *a = (const pj_sockaddr*)addr; - - PJ_ASSERT_RETURN(a->addr.sa_family == PJ_AF_INET || - a->addr.sa_family == PJ_AF_INET6, NULL); - - if (a->addr.sa_family == PJ_AF_INET6) - return (void*) &a->ipv6.sin6_addr; - else - return (void*) &a->ipv4.sin_addr; -} - -/* - * Check if sockaddr contains a non-zero address - */ -PJ_DEF(pj_bool_t) pj_sockaddr_has_addr(const pj_sockaddr_t *addr) -{ - const pj_sockaddr *a = (const pj_sockaddr*)addr; - - /* It's probably not wise to raise assertion here if - * the address doesn't contain a valid address family, and - * just return PJ_FALSE instead. - * - * The reason is because application may need to distinguish - * these three conditions with sockaddr: - * a) sockaddr is not initialized. This is by convention - * indicated by sa_family==0. - * b) sockaddr is initialized with zero address. This is - * indicated with the address field having zero address. - * c) sockaddr is initialized with valid address/port. - * - * If we enable this assertion, then application will loose - * the capability to specify condition a), since it will be - * forced to always initialize sockaddr (even with zero address). - * This may break some parts of upper layer libraries. - */ - //PJ_ASSERT_RETURN(a->addr.sa_family == PJ_AF_INET || - // a->addr.sa_family == PJ_AF_INET6, PJ_FALSE); - - if (a->addr.sa_family!=PJ_AF_INET && a->addr.sa_family!=PJ_AF_INET6) { - return PJ_FALSE; - } else if (a->addr.sa_family == PJ_AF_INET6) { - pj_uint8_t zero[24]; - pj_bzero(zero, sizeof(zero)); - return pj_memcmp(a->ipv6.sin6_addr.s6_addr, zero, - sizeof(pj_in6_addr)) != 0; - } else - return a->ipv4.sin_addr.s_addr != PJ_INADDR_ANY; -} - -/* - * Get port number - */ -PJ_DEF(pj_uint16_t) pj_sockaddr_get_port(const pj_sockaddr_t *addr) -{ - const pj_sockaddr *a = (const pj_sockaddr*) addr; - - PJ_ASSERT_RETURN(a->addr.sa_family == PJ_AF_INET || - a->addr.sa_family == PJ_AF_INET6, (pj_uint16_t)0xFFFF); - - return pj_ntohs((pj_uint16_t)(a->addr.sa_family == PJ_AF_INET6 ? - a->ipv6.sin6_port : a->ipv4.sin_port)); -} - -/* - * Get the length of the address part. - */ -PJ_DEF(unsigned) pj_sockaddr_get_addr_len(const pj_sockaddr_t *addr) -{ - const pj_sockaddr *a = (const pj_sockaddr*) addr; - PJ_ASSERT_RETURN(a->addr.sa_family == PJ_AF_INET || - a->addr.sa_family == PJ_AF_INET6, 0); - return a->addr.sa_family == PJ_AF_INET6 ? - sizeof(pj_in6_addr) : sizeof(pj_in_addr); -} - -/* - * Get socket address length. - */ -PJ_DEF(unsigned) pj_sockaddr_get_len(const pj_sockaddr_t *addr) -{ - const pj_sockaddr *a = (const pj_sockaddr*) addr; - PJ_ASSERT_RETURN(a->addr.sa_family == PJ_AF_INET || - a->addr.sa_family == PJ_AF_INET6, 0); - return a->addr.sa_family == PJ_AF_INET6 ? - sizeof(pj_sockaddr_in6) : sizeof(pj_sockaddr_in); -} - -/* - * Copy only the address part (sin_addr/sin6_addr) of a socket address. - */ -PJ_DEF(void) pj_sockaddr_copy_addr( pj_sockaddr *dst, - const pj_sockaddr *src) -{ - /* Destination sockaddr might not be initialized */ - const char *srcbuf = (char*)pj_sockaddr_get_addr(src); - char *dstbuf = ((char*)dst) + (srcbuf - (char*)src); - pj_memcpy(dstbuf, srcbuf, pj_sockaddr_get_addr_len(src)); -} - -/* - * Copy socket address. - */ -PJ_DEF(void) pj_sockaddr_cp(pj_sockaddr_t *dst, const pj_sockaddr_t *src) -{ - pj_memcpy(dst, src, pj_sockaddr_get_len(src)); -} - -/* - * Set port number of pj_sockaddr_in - */ -PJ_DEF(void) pj_sockaddr_in_set_port(pj_sockaddr_in *addr, - pj_uint16_t hostport) -{ - addr->sin_port = pj_htons(hostport); -} - -/* - * Set port number of pj_sockaddr - */ -PJ_DEF(pj_status_t) pj_sockaddr_set_port(pj_sockaddr *addr, - pj_uint16_t hostport) -{ - int af = addr->addr.sa_family; - - PJ_ASSERT_RETURN(af==PJ_AF_INET || af==PJ_AF_INET6, PJ_EINVAL); - - if (af == PJ_AF_INET6) - addr->ipv6.sin6_port = pj_htons(hostport); - else - addr->ipv4.sin_port = pj_htons(hostport); - - return PJ_SUCCESS; -} - -/* - * Get IPv4 address - */ -PJ_DEF(pj_in_addr) pj_sockaddr_in_get_addr(const pj_sockaddr_in *addr) -{ - pj_in_addr in_addr; - in_addr.s_addr = pj_ntohl(addr->sin_addr.s_addr); - return in_addr; -} - -/* - * Set IPv4 address - */ -PJ_DEF(void) pj_sockaddr_in_set_addr(pj_sockaddr_in *addr, - pj_uint32_t hostaddr) -{ - addr->sin_addr.s_addr = pj_htonl(hostaddr); -} - -/* - * Parse address - */ -PJ_DEF(pj_status_t) pj_sockaddr_parse2(int af, unsigned options, - const pj_str_t *str, - pj_str_t *p_hostpart, - pj_uint16_t *p_port, - int *raf) -{ - const char *end = str->ptr + str->slen; - const char *last_colon_pos = NULL; - unsigned colon_cnt = 0; - const char *p; - - PJ_ASSERT_RETURN((af==PJ_AF_INET || af==PJ_AF_INET6 || af==PJ_AF_UNSPEC) && - options==0 && - str!=NULL, PJ_EINVAL); - - /* Special handling for empty input */ - if (str->slen==0 || str->ptr==NULL) { - if (p_hostpart) - p_hostpart->slen = 0; - if (p_port) - *p_port = 0; - if (raf) - *raf = PJ_AF_INET; - return PJ_SUCCESS; - } - - /* Count the colon and get the last colon */ - for (p=str->ptr; p!=end; ++p) { - if (*p == ':') { - ++colon_cnt; - last_colon_pos = p; - } - } - - /* Deduce address family if it's not given */ - if (af == PJ_AF_UNSPEC) { - if (colon_cnt > 1) - af = PJ_AF_INET6; - else - af = PJ_AF_INET; - } else if (af == PJ_AF_INET && colon_cnt > 1) - return PJ_EINVAL; - - if (raf) - *raf = af; - - if (af == PJ_AF_INET) { - /* Parse as IPv4. Supported formats: - * - "10.0.0.1:80" - * - "10.0.0.1" - * - "10.0.0.1:" - * - ":80" - * - ":" - */ - pj_str_t hostpart; - unsigned long port; - - hostpart.ptr = (char*)str->ptr; - - if (last_colon_pos) { - pj_str_t port_part; - int i; - - hostpart.slen = last_colon_pos - str->ptr; - - port_part.ptr = (char*)last_colon_pos + 1; - port_part.slen = end - port_part.ptr; - - /* Make sure port number is valid */ - for (i=0; i 65535) - return PJ_EINVAL; - } else { - hostpart.slen = str->slen; - port = 0; - } - - if (p_hostpart) - *p_hostpart = hostpart; - if (p_port) - *p_port = (pj_uint16_t)port; - - return PJ_SUCCESS; - - } else if (af == PJ_AF_INET6) { - - /* Parse as IPv6. Supported formats: - * - "fe::01:80" ==> note: port number is zero in this case, not 80! - * - "[fe::01]:80" - * - "fe::01" - * - "fe::01:" - * - "[fe::01]" - * - "[fe::01]:" - * - "[::]:80" - * - ":::80" - * - "[::]" - * - "[::]:" - * - ":::" - * - "::" - */ - pj_str_t hostpart, port_part; - - if (*str->ptr == '[') { - char *end_bracket; - int i; - unsigned long port; - - if (last_colon_pos == NULL) - return PJ_EINVAL; - - end_bracket = pj_strchr(str, ']'); - if (end_bracket == NULL) - return PJ_EINVAL; - - hostpart.ptr = (char*)str->ptr + 1; - hostpart.slen = end_bracket - hostpart.ptr; - - if (last_colon_pos < end_bracket) { - port_part.ptr = NULL; - port_part.slen = 0; - } else { - port_part.ptr = (char*)last_colon_pos + 1; - port_part.slen = end - port_part.ptr; - } - - /* Make sure port number is valid */ - for (i=0; i 65535) - return PJ_EINVAL; - - if (p_hostpart) - *p_hostpart = hostpart; - if (p_port) - *p_port = (pj_uint16_t)port; - - return PJ_SUCCESS; - - } else { - /* Treat everything as part of the IPv6 IP address */ - if (p_hostpart) - *p_hostpart = *str; - if (p_port) - *p_port = 0; - - return PJ_SUCCESS; - } - - } else { - return PJ_EAFNOTSUP; - } - -} - -/* - * Parse address - */ -PJ_DEF(pj_status_t) pj_sockaddr_parse( int af, unsigned options, - const pj_str_t *str, - pj_sockaddr *addr) -{ - pj_str_t hostpart; - pj_uint16_t port; - pj_status_t status; - - PJ_ASSERT_RETURN(addr, PJ_EINVAL); - PJ_ASSERT_RETURN(af==PJ_AF_UNSPEC || - af==PJ_AF_INET || - af==PJ_AF_INET6, PJ_EINVAL); - PJ_ASSERT_RETURN(options == 0, PJ_EINVAL); - - status = pj_sockaddr_parse2(af, options, str, &hostpart, &port, &af); - if (status != PJ_SUCCESS) - return status; - -#if !defined(PJ_HAS_IPV6) || !PJ_HAS_IPV6 - if (af==PJ_AF_INET6) - return PJ_EIPV6NOTSUP; -#endif - - status = pj_sockaddr_init(af, addr, &hostpart, port); -#if defined(PJ_HAS_IPV6) && PJ_HAS_IPV6 - if (status != PJ_SUCCESS && af == PJ_AF_INET6) { - /* Parsing does not yield valid address. Try to treat the last - * portion after the colon as port number. - */ - const char *last_colon_pos=NULL, *p; - const char *end = str->ptr + str->slen; - unsigned long long_port; - pj_str_t port_part; - int i; - - /* Parse as IPv6:port */ - for (p=str->ptr; p!=end; ++p) { - if (*p == ':') - last_colon_pos = p; - } - - if (last_colon_pos == NULL) - return status; - - hostpart.ptr = (char*)str->ptr; - hostpart.slen = last_colon_pos - str->ptr; - - port_part.ptr = (char*)last_colon_pos + 1; - port_part.slen = end - port_part.ptr; - - /* Make sure port number is valid */ - for (i=0; i 65535) - return status; - - port = (pj_uint16_t)long_port; - - status = pj_sockaddr_init(PJ_AF_INET6, addr, &hostpart, port); - } -#endif - - return status; -} - -/* Resolve the IP address of local machine */ -PJ_DEF(pj_status_t) pj_gethostip(int af, pj_sockaddr *addr) -{ - unsigned i, count, cand_cnt; - enum { - CAND_CNT = 8, - - /* Weighting to be applied to found addresses */ - WEIGHT_HOSTNAME = 1, /* hostname IP is not always valid! */ - WEIGHT_DEF_ROUTE = 2, - WEIGHT_INTERFACE = 1, - WEIGHT_LOOPBACK = -5, - WEIGHT_LINK_LOCAL = -4, - WEIGHT_DISABLED = -50, - - MIN_WEIGHT = WEIGHT_DISABLED+1 /* minimum weight to use */ - }; - /* candidates: */ - pj_sockaddr cand_addr[CAND_CNT]; - int cand_weight[CAND_CNT]; - int selected_cand; - char strip[PJ_INET6_ADDRSTRLEN+10]; - /* Special IPv4 addresses. */ - struct spec_ipv4_t - { - pj_uint32_t addr; - pj_uint32_t mask; - int weight; - } spec_ipv4[] = - { - /* 127.0.0.0/8, loopback addr will be used if there is no other - * addresses. - */ - { 0x7f000000, 0xFF000000, WEIGHT_LOOPBACK }, - - /* 0.0.0.0/8, special IP that doesn't seem to be practically useful */ - { 0x00000000, 0xFF000000, WEIGHT_DISABLED }, - - /* 169.254.0.0/16, a zeroconf/link-local address, which has higher - * priority than loopback and will be used if there is no other - * valid addresses. - */ - { 0xa9fe0000, 0xFFFF0000, WEIGHT_LINK_LOCAL } - }; - /* Special IPv6 addresses */ - struct spec_ipv6_t - { - pj_uint8_t addr[16]; - pj_uint8_t mask[16]; - int weight; - } spec_ipv6[] = - { - /* Loopback address, ::1/128 */ - { {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1}, - {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, - 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff}, - WEIGHT_LOOPBACK - }, - - /* Link local, fe80::/10 */ - { {0xfe,0x80,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, - {0xff,0xc0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, - WEIGHT_LINK_LOCAL - }, - - /* Disabled, ::/128 */ - { {0x0,0x0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, - { 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, - 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff}, - WEIGHT_DISABLED - } - }; - pj_addrinfo ai; - pj_status_t status; - - /* May not be used if TRACE_ is disabled */ - PJ_UNUSED_ARG(strip); - -#ifdef _MSC_VER - /* Get rid of "uninitialized he variable" with MS compilers */ - pj_bzero(&ai, sizeof(ai)); -#endif - - cand_cnt = 0; - pj_bzero(cand_addr, sizeof(cand_addr)); - pj_bzero(cand_weight, sizeof(cand_weight)); - for (i=0; iaddr.sa_family = (pj_uint16_t)af; - PJ_SOCKADDR_RESET_LEN(addr); - -#if !defined(PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION) || \ - PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION == 0 - /* Get hostname's IP address */ - count = 1; - status = pj_getaddrinfo(af, pj_gethostname(), &count, &ai); - if (status == PJ_SUCCESS) { - pj_assert(ai.ai_addr.addr.sa_family == (pj_uint16_t)af); - pj_sockaddr_copy_addr(&cand_addr[cand_cnt], &ai.ai_addr); - pj_sockaddr_set_port(&cand_addr[cand_cnt], 0); - cand_weight[cand_cnt] += WEIGHT_HOSTNAME; - ++cand_cnt; - - TRACE_((THIS_FILE, "hostname IP is %s", - pj_sockaddr_print(&ai.ai_addr, strip, sizeof(strip), 0))); - } -#else - PJ_UNUSED_ARG(ai); - PJ_UNUSED_ARG(count); -#endif - - /* Get default interface (interface for default route) */ - if (cand_cnt < PJ_ARRAY_SIZE(cand_addr)) { - status = pj_getdefaultipinterface(af, addr); - if (status == PJ_SUCCESS) { - TRACE_((THIS_FILE, "default IP is %s", - pj_sockaddr_print(addr, strip, sizeof(strip), 0))); - - pj_sockaddr_set_port(addr, 0); - for (i=0; i= cand_cnt) { - pj_sockaddr_copy_addr(&cand_addr[i], addr); - ++cand_cnt; - } - } - } - - - /* Enumerate IP interfaces */ - if (cand_cnt < PJ_ARRAY_SIZE(cand_addr)) { - unsigned start_if = cand_cnt; - unsigned count = PJ_ARRAY_SIZE(cand_addr) - start_if; - - status = pj_enum_ip_interface(af, &count, &cand_addr[start_if]); - if (status == PJ_SUCCESS && count) { - /* Clear the port number */ - for (i=0; i cand_weight[selected_cand]) - selected_cand = i; - } - - /* If else fails, returns loopback interface as the last resort */ - if (selected_cand == -1) { - if (af==PJ_AF_INET) { - addr->ipv4.sin_addr.s_addr = pj_htonl (0x7f000001); - } else { - pj_in6_addr *s6_addr; - - s6_addr = (pj_in6_addr*) pj_sockaddr_get_addr(addr); - pj_bzero(s6_addr, sizeof(pj_in6_addr)); - s6_addr->s6_addr[15] = 1; - } - TRACE_((THIS_FILE, "Loopback IP %s returned", - pj_sockaddr_print(addr, strip, sizeof(strip), 0))); - } else { - pj_sockaddr_copy_addr(addr, &cand_addr[selected_cand]); - TRACE_((THIS_FILE, "Candidate %s selected", - pj_sockaddr_print(addr, strip, sizeof(strip), 0))); - } - - return PJ_SUCCESS; -} - -/* Get the default IP interface */ -PJ_DEF(pj_status_t) pj_getdefaultipinterface(int af, pj_sockaddr *addr) -{ - pj_sock_t fd; - pj_str_t cp; - pj_sockaddr a; - int len; - pj_uint8_t zero[64]; - pj_status_t status; - - addr->addr.sa_family = (pj_uint16_t)af; - - status = pj_sock_socket(af, pj_SOCK_DGRAM(), 0, &fd); - if (status != PJ_SUCCESS) { - return status; - } - - if (af == PJ_AF_INET) { - cp = pj_str("1.1.1.1"); - } else { - cp = pj_str("1::1"); - } - status = pj_sockaddr_init(af, &a, &cp, 53); - if (status != PJ_SUCCESS) { - pj_sock_close(fd); - return status; - } - - status = pj_sock_connect(fd, &a, pj_sockaddr_get_len(&a)); - if (status != PJ_SUCCESS) { - pj_sock_close(fd); - return status; - } - - len = sizeof(a); - status = pj_sock_getsockname(fd, &a, &len); - if (status != PJ_SUCCESS) { - pj_sock_close(fd); - return status; - } - - pj_sock_close(fd); - - /* Check that the address returned is not zero */ - pj_bzero(zero, sizeof(zero)); - if (pj_memcmp(pj_sockaddr_get_addr(&a), zero, - pj_sockaddr_get_addr_len(&a))==0) - { - return PJ_ENOTFOUND; - } - - pj_sockaddr_copy_addr(addr, &a); - - /* Success */ - return PJ_SUCCESS; -} - - -/* Only need to implement these in DLL build */ -#if defined(PJ_DLL) - -PJ_DEF(pj_uint16_t) pj_AF_UNSPEC(void) -{ - return PJ_AF_UNSPEC; -} - -PJ_DEF(pj_uint16_t) pj_AF_UNIX(void) -{ - return PJ_AF_UNIX; -} - -PJ_DEF(pj_uint16_t) pj_AF_INET(void) -{ - return PJ_AF_INET; -} - -PJ_DEF(pj_uint16_t) pj_AF_INET6(void) -{ - return PJ_AF_INET6; -} - -PJ_DEF(pj_uint16_t) pj_AF_PACKET(void) -{ - return PJ_AF_PACKET; -} - -PJ_DEF(pj_uint16_t) pj_AF_IRDA(void) -{ - return PJ_AF_IRDA; -} - -PJ_DEF(int) pj_SOCK_STREAM(void) -{ - return PJ_SOCK_STREAM; -} - -PJ_DEF(int) pj_SOCK_DGRAM(void) -{ - return PJ_SOCK_DGRAM; -} - -PJ_DEF(int) pj_SOCK_RAW(void) -{ - return PJ_SOCK_RAW; -} - -PJ_DEF(int) pj_SOCK_RDM(void) -{ - return PJ_SOCK_RDM; -} - -PJ_DEF(pj_uint16_t) pj_SOL_SOCKET(void) -{ - return PJ_SOL_SOCKET; -} - -PJ_DEF(pj_uint16_t) pj_SOL_IP(void) -{ - return PJ_SOL_IP; -} - -PJ_DEF(pj_uint16_t) pj_SOL_TCP(void) -{ - return PJ_SOL_TCP; -} - -PJ_DEF(pj_uint16_t) pj_SOL_UDP(void) -{ - return PJ_SOL_UDP; -} - -PJ_DEF(pj_uint16_t) pj_SOL_IPV6(void) -{ - return PJ_SOL_IPV6; -} - -PJ_DEF(int) pj_IP_TOS(void) -{ - return PJ_IP_TOS; -} - -PJ_DEF(int) pj_IPTOS_LOWDELAY(void) -{ - return PJ_IPTOS_LOWDELAY; -} - -PJ_DEF(int) pj_IPTOS_THROUGHPUT(void) -{ - return PJ_IPTOS_THROUGHPUT; -} - -PJ_DEF(int) pj_IPTOS_RELIABILITY(void) -{ - return PJ_IPTOS_RELIABILITY; -} - -PJ_DEF(int) pj_IPTOS_MINCOST(void) -{ - return PJ_IPTOS_MINCOST; -} - -PJ_DEF(pj_uint16_t) pj_SO_TYPE(void) -{ - return PJ_SO_TYPE; -} - -PJ_DEF(pj_uint16_t) pj_SO_RCVBUF(void) -{ - return PJ_SO_RCVBUF; -} - -PJ_DEF(pj_uint16_t) pj_SO_SNDBUF(void) -{ - return PJ_SO_SNDBUF; -} - -PJ_DEF(pj_uint16_t) pj_TCP_NODELAY(void) -{ - return PJ_TCP_NODELAY; -} - -PJ_DEF(pj_uint16_t) pj_SO_REUSEADDR(void) -{ - return PJ_SO_REUSEADDR; -} - -PJ_DEF(pj_uint16_t) pj_SO_NOSIGPIPE(void) -{ - return PJ_SO_NOSIGPIPE; -} - -PJ_DEF(pj_uint16_t) pj_SO_PRIORITY(void) -{ - return PJ_SO_PRIORITY; -} - -PJ_DEF(pj_uint16_t) pj_IP_MULTICAST_IF(void) -{ - return PJ_IP_MULTICAST_IF; -} - -PJ_DEF(pj_uint16_t) pj_IP_MULTICAST_TTL(void) -{ - return PJ_IP_MULTICAST_TTL; -} - -PJ_DEF(pj_uint16_t) pj_IP_MULTICAST_LOOP(void) -{ - return PJ_IP_MULTICAST_LOOP; -} - -PJ_DEF(pj_uint16_t) pj_IP_ADD_MEMBERSHIP(void) -{ - return PJ_IP_ADD_MEMBERSHIP; -} - -PJ_DEF(pj_uint16_t) pj_IP_DROP_MEMBERSHIP(void) -{ - return PJ_IP_DROP_MEMBERSHIP; -} - -PJ_DEF(int) pj_MSG_OOB(void) -{ - return PJ_MSG_OOB; -} - -PJ_DEF(int) pj_MSG_PEEK(void) -{ - return PJ_MSG_PEEK; -} - -PJ_DEF(int) pj_MSG_DONTROUTE(void) -{ - return PJ_MSG_DONTROUTE; -} - -#endif /* PJ_DLL */ - diff --git a/res/pjproject/pjlib/src/pj/sock_linux_kernel.c b/res/pjproject/pjlib/src/pj/sock_linux_kernel.c deleted file mode 100644 index c7a80972de..0000000000 --- a/res/pjproject/pjlib/src/pj/sock_linux_kernel.c +++ /dev/null @@ -1,755 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include /* pj_memcpy() */ -#include /* PJ_CHECK_STACK() */ -#include /* pj_gethostbyname() */ -#include -#include -#include -#include - -/* Linux kernel specific. */ -#include -#include -//#include -#include -#include /* sys_xxx() */ -#include /* FIONBIO */ -#include /* for pj_gethostname() */ - -/* - * Address families conversion. - * The values here are indexed based on pj_addr_family-0xFF00. - */ -const pj_uint16_t PJ_AF_UNIX = AF_UNIX; -const pj_uint16_t PJ_AF_INET = AF_INET; -const pj_uint16_t PJ_AF_INET6 = AF_INET6; -#ifdef AF_PACKET -const pj_uint16_t PJ_AF_PACKET = AF_PACKET; -#else -# error "AF_PACKET undeclared!" -#endif -#ifdef AF_IRDA -const pj_uint16_t PJ_AF_IRDA = AF_IRDA; -#else -# error "AF_IRDA undeclared!" -#endif - -/* - * Socket types conversion. - * The values here are indexed based on pj_sock_type-0xFF00 - */ -const pj_uint16_t PJ_SOCK_STREAM= SOCK_STREAM; -const pj_uint16_t PJ_SOCK_DGRAM = SOCK_DGRAM; -const pj_uint16_t PJ_SOCK_RAW = SOCK_RAW; -const pj_uint16_t PJ_SOCK_RDM = SOCK_RDM; - -/* - * Socket level values. - */ -const pj_uint16_t PJ_SOL_SOCKET = SOL_SOCKET; -#ifdef SOL_IP -const pj_uint16_t PJ_SOL_IP = SOL_IP; -#else -# error "SOL_IP undeclared!" -#endif /* SOL_IP */ -#if defined(SOL_TCP) -const pj_uint16_t PJ_SOL_TCP = SOL_TCP; -#else -# error "SOL_TCP undeclared!" -#endif /* SOL_TCP */ -#ifdef SOL_UDP -const pj_uint16_t PJ_SOL_UDP = SOL_UDP; -#else -# error "SOL_UDP undeclared!" -#endif -#ifdef SOL_IPV6 -const pj_uint16_t PJ_SOL_IPV6 = SOL_IPV6; -#else -# error "SOL_IPV6 undeclared!" -#endif - -/* optname values. */ -const pj_uint16_t PJ_SO_TYPE = SO_TYPE; -const pj_uint16_t PJ_SO_RCVBUF = SO_RCVBUF; -const pj_uint16_t PJ_SO_SNDBUF = SO_SNDBUF; - -/* - * Convert 16-bit value from network byte order to host byte order. - */ -PJ_DEF(pj_uint16_t) pj_ntohs(pj_uint16_t netshort) -{ - return ntohs(netshort); -} - -/* - * Convert 16-bit value from host byte order to network byte order. - */ -PJ_DEF(pj_uint16_t) pj_htons(pj_uint16_t hostshort) -{ - return htons(hostshort); -} - -/* - * Convert 32-bit value from network byte order to host byte order. - */ -PJ_DEF(pj_uint32_t) pj_ntohl(pj_uint32_t netlong) -{ - return ntohl(netlong); -} - -/* - * Convert 32-bit value from host byte order to network byte order. - */ -PJ_DEF(pj_uint32_t) pj_htonl(pj_uint32_t hostlong) -{ - return htonl(hostlong); -} - -/* - * Convert an Internet host address given in network byte order - * to string in standard numbers and dots notation. - */ -PJ_DEF(char*) pj_inet_ntoa(pj_in_addr in) -{ -#define UC(b) (((int)b)&0xff) - static char b[18]; - char *p; - - p = (char *)∈ - pj_snprintf(b, sizeof(b), "%d.%d.%d.%d", - UC(p[0]), UC(p[1]), UC(p[2]), UC(p[3])); - - return b; -} - -/* - * This function converts the Internet host address ccp from the standard - * numbers-and-dots notation into binary data and stores it in the structure - * that inp points to. - */ -PJ_DEF(int) pj_inet_aton(const pj_str_t *ccp, pj_in_addr *addr) -{ - pj_uint32_t val; - int base, n; - char c; - unsigned parts[4]; - unsigned *pp = parts; - char cp_copy[18]; - char *cp = cp_copy; - - addr->s_addr = PJ_INADDR_NONE; - - if (ccp->slen > 15) return 0; - - pj_memcpy(cp, ccp->ptr, ccp->slen); - cp[ccp->slen] = '\0'; - - c = *cp; - for (;;) { - /* - * Collect number up to ``.''. - * Values are specified as for C: - * 0x=hex, 0=octal, isdigit=decimal. - */ - if (!pj_isdigit((int)c)) - return (0); - val = 0; base = 10; - if (c == '0') { - c = *++cp; - if (c == 'x' || c == 'X') - base = 16, c = *++cp; - else - base = 8; - } - - for (;;) { - if (pj_isascii((int)c) && pj_isdigit((int)c)) { - val = (val * base) + (c - '0'); - c = *++cp; - } else if (base==16 && pj_isascii((int)c) && pj_isxdigit((int)c)) { - val = (val << 4) | - (c + 10 - (pj_islower((int)c) ? 'a' : 'A')); - c = *++cp; - } else - break; - } - - if (c == '.') { - /* - * Internet format: - * a.b.c.d - * a.b.c (with c treated as 16 bits) - * a.b (with b treated as 24 bits) - */ - if (pp >= parts + 3) - return (0); - *pp++ = val; - c = *++cp; - } else - break; - } - - /* - * Check for trailing characters. - */ - if (c != '\0' && (!pj_isascii((int)c) || !pj_isspace((int)c))) - return (0); - /* - * Concoct the address according to - * the number of parts specified. - */ - n = pp - parts + 1; - switch (n) { - case 0: - return (0); /* initial nondigit */ - case 1: /* a -- 32 bits */ - break; - case 2: /* a.b -- 8.24 bits */ - if (val > 0xffffff) - return (0); - val |= parts[0] << 24; - break; - case 3: /* a.b.c -- 8.8.16 bits */ - if (val > 0xffff) - return (0); - val |= (parts[0] << 24) | (parts[1] << 16); - break; - case 4: /* a.b.c.d -- 8.8.8.8 bits */ - if (val > 0xff) - return (0); - val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8); - break; - } - - if (addr) - addr->s_addr = pj_htonl(val); - return (1); -} - -/* - * Convert address string with numbers and dots to binary IP address. - */ -PJ_DEF(pj_in_addr) pj_inet_addr(const pj_str_t *cp) -{ - pj_in_addr addr; - pj_inet_aton(cp, &addr); - return addr; -} - -/* - * Set the IP address of an IP socket address from string address, - * with resolving the host if necessary. The string address may be in a - * standard numbers and dots notation or may be a hostname. If hostname - * is specified, then the function will resolve the host into the IP - * address. - */ -PJ_DEF(pj_status_t) pj_sockaddr_in_set_str_addr( pj_sockaddr_in *addr, - const pj_str_t *str_addr) -{ - PJ_CHECK_STACK(); - - pj_assert(str_addr && str_addr->slen < PJ_MAX_HOSTNAME); - - addr->sin_family = AF_INET; - - if (str_addr && str_addr->slen) { - addr->sin_addr = pj_inet_addr(str_addr); - if (addr->sin_addr.s_addr == PJ_INADDR_NONE) { - pj_hostent he; - if (pj_gethostbyname(str_addr, &he) == 0) { - addr->sin_addr.s_addr = *(pj_uint32_t*)he.h_addr; - } else { - addr->sin_addr.s_addr = PJ_INADDR_NONE; - return -1; - } - } - - } else { - addr->sin_addr.s_addr = 0; - } - - return PJ_SUCCESS; -} - -/* - * Set the IP address and port of an IP socket address. - * The string address may be in a standard numbers and dots notation or - * may be a hostname. If hostname is specified, then the function will - * resolve the host into the IP address. - */ -PJ_DEF(pj_status_t) pj_sockaddr_in_init( pj_sockaddr_in *addr, - const pj_str_t *str_addr, - pj_uint16_t port) -{ - pj_assert(addr && str_addr); - - addr->sin_family = PJ_AF_INET; - pj_sockaddr_in_set_port(addr, port); - return pj_sockaddr_in_set_str_addr(addr, str_addr); -} - - -/* - * Get hostname. - */ -PJ_DEF(const pj_str_t*) pj_gethostname(void) -{ - static char buf[PJ_MAX_HOSTNAME]; - static pj_str_t hostname; - - PJ_CHECK_STACK(); - - if (hostname.ptr == NULL) { - hostname.ptr = buf; - down_read(&uts_sem); - hostname.slen = strlen(system_utsname.nodename); - if (hostname.slen > PJ_MAX_HOSTNAME) { - hostname.ptr[0] = '\0'; - hostname.slen = 0; - } else { - pj_memcpy(hostname.ptr, system_utsname.nodename, hostname.slen); - } - up_read(&uts_sem); - } - return &hostname; -} - -/* - * Get first IP address associated with the hostname. - */ -PJ_DEF(pj_in_addr) pj_gethostaddr(void) -{ - pj_sockaddr_in addr; - const pj_str_t *hostname = pj_gethostname(); - - pj_sockaddr_in_set_str_addr(&addr, hostname); - return addr.sin_addr; -} - - -/* - * Create new socket/endpoint for communication and returns a descriptor. - */ -PJ_DEF(pj_status_t) pj_sock_socket(int af, int type, int proto, - pj_sock_t *sock_fd) -{ - long result; - - PJ_CHECK_STACK(); - - /* Sanity checks. */ - PJ_ASSERT_RETURN(PJ_INVALID_SOCKET == -1 && sock_fd != NULL, PJ_EINVAL); - - /* Initialize returned socket */ - *sock_fd = PJ_INVALID_SOCKET; - - /* Create socket. */ - result = sys_socket(af, type, proto); - if (result < 0) { - return PJ_RETURN_OS_ERROR((-result)); - } - - *sock_fd = result; - - return PJ_SUCCESS; -} - -/* - * Bind socket. - */ -PJ_DEF(pj_status_t) pj_sock_bind( pj_sock_t sockfd, - const pj_sockaddr_t *addr, - int len) -{ - long err; - mm_segment_t oldfs; - - PJ_CHECK_STACK(); - - PJ_ASSERT_RETURN(addr!=NULL && len >= sizeof(struct pj_sockaddr), - PJ_EINVAL); - - oldfs = get_fs(); - set_fs(KERNEL_DS); - - err = sys_bind(sockfd, (struct sockaddr*)addr, len); - - set_fs(oldfs); - - if (err) - return PJ_RETURN_OS_ERROR(-err); - else - return PJ_SUCCESS; -} - - -/* - * Bind socket. - */ -PJ_DEF(pj_status_t) pj_sock_bind_in( pj_sock_t sockfd, - pj_uint32_t addr32, - pj_uint16_t port) -{ - pj_sockaddr_in addr; - - PJ_CHECK_STACK(); - - addr.sin_family = PJ_AF_INET; - addr.sin_addr.s_addr = pj_htonl(addr32); - addr.sin_port = pj_htons(port); - - return pj_sock_bind(sockfd, &addr, sizeof(pj_sockaddr_in)); -} - -/* - * Close socket. - */ -PJ_DEF(pj_status_t) pj_sock_close(pj_sock_t sockfd) -{ - long err; - - err = sys_close(sockfd); - - if (err != 0) - return PJ_RETURN_OS_ERROR(-err); - else - return PJ_SUCCESS; -} - -/* - * Get remote's name. - */ -PJ_DEF(pj_status_t) pj_sock_getpeername( pj_sock_t sockfd, - pj_sockaddr_t *addr, - int *namelen) -{ - mm_segment_t oldfs; - long err; - - PJ_CHECK_STACK(); - - oldfs = get_fs(); - set_fs(KERNEL_DS); - - err = sys_getpeername( sockfd, addr, namelen); - - set_fs(oldfs); - - if (err) - return PJ_RETURN_OS_ERROR(-err); - else - return PJ_SUCCESS; -} - -/* - * Get socket name. - */ -PJ_DEF(pj_status_t) pj_sock_getsockname( pj_sock_t sockfd, - pj_sockaddr_t *addr, - int *namelen) -{ - mm_segment_t oldfs; - int err; - - PJ_CHECK_STACK(); - - oldfs = get_fs(); - set_fs(KERNEL_DS); - - err = sys_getsockname( sockfd, addr, namelen ); - - set_fs(oldfs); - - if (err) - return PJ_RETURN_OS_ERROR(-err); - else - return PJ_SUCCESS; -} - -/* - * Send data - */ -PJ_DEF(pj_status_t) pj_sock_send( pj_sock_t sockfd, - const void *buf, - pj_ssize_t *len, - unsigned flags) -{ - return pj_sock_sendto(sockfd, buf, len, flags, NULL, 0); -} - - -/* - * Send data. - */ -PJ_DEF(pj_status_t) pj_sock_sendto( pj_sock_t sockfd, - const void *buff, - pj_ssize_t *len, - unsigned flags, - const pj_sockaddr_t *addr, - int addr_len) -{ - long err; - mm_segment_t oldfs; - - PJ_CHECK_STACK(); - - oldfs = get_fs(); - set_fs(KERNEL_DS); - - err = *len = sys_sendto( sockfd, (void*)buff, *len, flags, - (void*)addr, addr_len ); - - set_fs(oldfs); - - if (err >= 0) { - return PJ_SUCCESS; - } - else { - return PJ_RETURN_OS_ERROR(-err); - } -} - -/* - * Receive data. - */ -PJ_DEF(pj_status_t) pj_sock_recv( pj_sock_t sockfd, - void *buf, - pj_ssize_t *len, - unsigned flags) -{ - return pj_sock_recvfrom(sockfd, buf, len, flags, NULL, NULL); -} - -/* - * Receive data. - */ -PJ_DEF(pj_status_t) pj_sock_recvfrom( pj_sock_t sockfd, - void *buff, - pj_ssize_t *size, - unsigned flags, - pj_sockaddr_t *from, - int *fromlen) -{ - mm_segment_t oldfs; - long err; - - PJ_CHECK_STACK(); - - oldfs = get_fs(); - set_fs(KERNEL_DS); - - err = *size = sys_recvfrom( sockfd, buff, *size, flags, from, fromlen); - - set_fs(oldfs); - - if (err >= 0) { - return PJ_SUCCESS; - } - else { - return PJ_RETURN_OS_ERROR(-err); - } -} - -/* - * Get socket option. - */ -PJ_DEF(pj_status_t) pj_sock_getsockopt( pj_sock_t sockfd, - pj_uint16_t level, - pj_uint16_t optname, - void *optval, - int *optlen) -{ - mm_segment_t oldfs; - long err; - - PJ_CHECK_STACK(); - - oldfs = get_fs(); - set_fs(KERNEL_DS); - - err = sys_getsockopt( sockfd, level, optname, optval, optlen); - - set_fs(oldfs); - - if (err) - return PJ_RETURN_OS_ERROR(-err); - else - return PJ_SUCCESS; -} - -/* - * Set socket option. - */ -PJ_DEF(pj_status_t) pj_sock_setsockopt( pj_sock_t sockfd, - pj_uint16_t level, - pj_uint16_t optname, - const void *optval, - int optlen) -{ - long err; - mm_segment_t oldfs; - - PJ_CHECK_STACK(); - - - oldfs = get_fs(); - set_fs(KERNEL_DS); - - err = sys_setsockopt( sockfd, level, optname, (void*)optval, optlen); - - set_fs(oldfs); - - if (err) - return PJ_RETURN_OS_ERROR(-err); - else - return PJ_SUCCESS; -} - -/* - * Shutdown socket. - */ -#if PJ_HAS_TCP -PJ_DEF(pj_status_t) pj_sock_shutdown( pj_sock_t sockfd, - int how) -{ - long err; - - PJ_CHECK_STACK(); - - err = sys_shutdown(sockfd, how); - - if (err) - return PJ_RETURN_OS_ERROR(-err); - else - return PJ_SUCCESS; -} - -/* - * Start listening to incoming connections. - */ -PJ_DEF(pj_status_t) pj_sock_listen( pj_sock_t sockfd, - int backlog) -{ - long err; - - PJ_CHECK_STACK(); - - err = sys_listen( sockfd, backlog ); - - if (err) - return PJ_RETURN_OS_ERROR(-err); - else - return PJ_SUCCESS; -} - -/* - * Connect socket. - */ -PJ_DEF(pj_status_t) pj_sock_connect( pj_sock_t sockfd, - const pj_sockaddr_t *addr, - int namelen) -{ - long err; - mm_segment_t oldfs; - - PJ_CHECK_STACK(); - - oldfs = get_fs(); - set_fs(KERNEL_DS); - - err = sys_connect( sockfd, (void*)addr, namelen ); - - set_fs(oldfs); - - if (err) - return PJ_RETURN_OS_ERROR(-err); - else - return PJ_SUCCESS; -} - -/* - * Accept incoming connections - */ -PJ_DEF(pj_status_t) pj_sock_accept( pj_sock_t sockfd, - pj_sock_t *newsockfd, - pj_sockaddr_t *addr, - int *addrlen) -{ - long err; - - PJ_CHECK_STACK(); - - PJ_ASSERT_RETURN(newsockfd != NULL, PJ_EINVAL); - - err = sys_accept( sockfd, addr, addrlen); - - if (err < 0) { - *newsockfd = PJ_INVALID_SOCKET; - return PJ_RETURN_OS_ERROR(-err); - } - else { - *newsockfd = err; - return PJ_SUCCESS; - } -} -#endif /* PJ_HAS_TCP */ - - - -/* - * Permission to steal inet_ntoa() and inet_aton() as long as this notice below - * is included: - */ -/* - * Copyright (c) 1983, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ - diff --git a/res/pjproject/pjlib/src/pj/sock_qos_bsd.c b/res/pjproject/pjlib/src/pj/sock_qos_bsd.c deleted file mode 100644 index c4c54ba520..0000000000 --- a/res/pjproject/pjlib/src/pj/sock_qos_bsd.c +++ /dev/null @@ -1,132 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -/* This is the implementation of QoS with BSD socket's setsockopt(), - * using IP_TOS and SO_PRIORITY - */ -#if !defined(PJ_QOS_IMPLEMENTATION) || PJ_QOS_IMPLEMENTATION==PJ_QOS_BSD - -PJ_DEF(pj_status_t) pj_sock_set_qos_params(pj_sock_t sock, - pj_qos_params *param) -{ - pj_status_t last_err = PJ_ENOTSUP; - pj_status_t status; - - /* No op? */ - if (!param->flags) - return PJ_SUCCESS; - - /* Clear WMM field since we don't support it */ - param->flags &= ~(PJ_QOS_PARAM_HAS_WMM); - - /* Set TOS/DSCP */ - if (param->flags & PJ_QOS_PARAM_HAS_DSCP) { - /* Value is dscp_val << 2 */ - int val = (param->dscp_val << 2); - status = pj_sock_setsockopt(sock, pj_SOL_IP(), pj_IP_TOS(), - &val, sizeof(val)); - if (status != PJ_SUCCESS) { - param->flags &= ~(PJ_QOS_PARAM_HAS_DSCP); - last_err = status; - } - } - - /* Set SO_PRIORITY */ - if (param->flags & PJ_QOS_PARAM_HAS_SO_PRIO) { - int val = param->so_prio; - status = pj_sock_setsockopt(sock, pj_SOL_SOCKET(), pj_SO_PRIORITY(), - &val, sizeof(val)); - if (status != PJ_SUCCESS) { - param->flags &= ~(PJ_QOS_PARAM_HAS_SO_PRIO); - last_err = status; - } - } - - return param->flags ? PJ_SUCCESS : last_err; -} - -PJ_DEF(pj_status_t) pj_sock_set_qos_type(pj_sock_t sock, - pj_qos_type type) -{ - pj_qos_params param; - pj_status_t status; - - status = pj_qos_get_params(type, ¶m); - if (status != PJ_SUCCESS) - return status; - - return pj_sock_set_qos_params(sock, ¶m); -} - - -PJ_DEF(pj_status_t) pj_sock_get_qos_params(pj_sock_t sock, - pj_qos_params *p_param) -{ - pj_status_t last_err = PJ_ENOTSUP; - int val, optlen; - pj_status_t status; - - pj_bzero(p_param, sizeof(*p_param)); - - /* Get DSCP/TOS value */ - optlen = sizeof(val); - status = pj_sock_getsockopt(sock, pj_SOL_IP(), pj_IP_TOS(), - &val, &optlen); - if (status == PJ_SUCCESS) { - p_param->flags |= PJ_QOS_PARAM_HAS_DSCP; - p_param->dscp_val = (pj_uint8_t)(val >> 2); - } else { - last_err = status; - } - - /* Get SO_PRIORITY */ - optlen = sizeof(val); - status = pj_sock_getsockopt(sock, pj_SOL_SOCKET(), pj_SO_PRIORITY(), - &val, &optlen); - if (status == PJ_SUCCESS) { - p_param->flags |= PJ_QOS_PARAM_HAS_SO_PRIO; - p_param->so_prio = (pj_uint8_t)val; - } else { - last_err = status; - } - - /* WMM is not supported */ - - return p_param->flags ? PJ_SUCCESS : last_err; -} - -PJ_DEF(pj_status_t) pj_sock_get_qos_type(pj_sock_t sock, - pj_qos_type *p_type) -{ - pj_qos_params param; - pj_status_t status; - - status = pj_sock_get_qos_params(sock, ¶m); - if (status != PJ_SUCCESS) - return status; - - return pj_qos_get_type(¶m, p_type); -} - -#endif /* PJ_QOS_IMPLEMENTATION */ - diff --git a/res/pjproject/pjlib/src/pj/sock_qos_common.c b/res/pjproject/pjlib/src/pj/sock_qos_common.c deleted file mode 100644 index b12d097392..0000000000 --- a/res/pjproject/pjlib/src/pj/sock_qos_common.c +++ /dev/null @@ -1,151 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - -#define THIS_FILE "sock_qos_common.c" -#define ALL_FLAGS (PJ_QOS_PARAM_HAS_DSCP | PJ_QOS_PARAM_HAS_SO_PRIO | \ - PJ_QOS_PARAM_HAS_WMM) - -/* "Standard" mapping between traffic type and QoS params */ -static const pj_qos_params qos_map[] = -{ - /* flags dscp prio wmm_prio */ - {ALL_FLAGS, 0x00, 0, PJ_QOS_WMM_PRIO_BULK_EFFORT}, /* BE */ - {ALL_FLAGS, 0x08, 2, PJ_QOS_WMM_PRIO_BULK}, /* BK */ - {ALL_FLAGS, 0x28, 5, PJ_QOS_WMM_PRIO_VIDEO}, /* VI */ - {ALL_FLAGS, 0x30, 6, PJ_QOS_WMM_PRIO_VOICE}, /* VO */ - {ALL_FLAGS, 0x38, 7, PJ_QOS_WMM_PRIO_VOICE} /* CO */ -}; - - -/* Retrieve the mapping for the specified type */ -PJ_DEF(pj_status_t) pj_qos_get_params(pj_qos_type type, - pj_qos_params *p_param) -{ - PJ_ASSERT_RETURN(type<=PJ_QOS_TYPE_CONTROL && p_param, PJ_EINVAL); - pj_memcpy(p_param, &qos_map[type], sizeof(*p_param)); - return PJ_SUCCESS; -} - -/* Get the matching traffic type */ -PJ_DEF(pj_status_t) pj_qos_get_type( const pj_qos_params *param, - pj_qos_type *p_type) -{ - unsigned dscp_type = PJ_QOS_TYPE_BEST_EFFORT, - prio_type = PJ_QOS_TYPE_BEST_EFFORT, - wmm_type = PJ_QOS_TYPE_BEST_EFFORT; - unsigned i, count=0; - - PJ_ASSERT_RETURN(param && p_type, PJ_EINVAL); - - if (param->flags & PJ_QOS_PARAM_HAS_DSCP) { - for (i=0; i<=PJ_QOS_TYPE_CONTROL; ++i) { - if (param->dscp_val >= qos_map[i].dscp_val) - dscp_type = (pj_qos_type)i; - } - ++count; - } - - if (param->flags & PJ_QOS_PARAM_HAS_SO_PRIO) { - for (i=0; i<=PJ_QOS_TYPE_CONTROL; ++i) { - if (param->so_prio >= qos_map[i].so_prio) - prio_type = (pj_qos_type)i; - } - ++count; - } - - if (param->flags & PJ_QOS_PARAM_HAS_WMM) { - for (i=0; i<=PJ_QOS_TYPE_CONTROL; ++i) { - if (param->wmm_prio >= qos_map[i].wmm_prio) - wmm_type = (pj_qos_type)i; - } - ++count; - } - - if (count) - *p_type = (pj_qos_type)((dscp_type + prio_type + wmm_type) / count); - else - *p_type = PJ_QOS_TYPE_BEST_EFFORT; - - return PJ_SUCCESS; -} - -/* Apply QoS */ -PJ_DEF(pj_status_t) pj_sock_apply_qos( pj_sock_t sock, - pj_qos_type qos_type, - pj_qos_params *qos_params, - unsigned log_level, - const char *log_sender, - const char *sock_name) -{ - pj_status_t qos_type_rc = PJ_SUCCESS, - qos_params_rc = PJ_SUCCESS; - - if (!log_sender) - log_sender = THIS_FILE; - if (!sock_name) - sock_name = "socket"; - - if (qos_type != PJ_QOS_TYPE_BEST_EFFORT) { - qos_type_rc = pj_sock_set_qos_type(sock, qos_type); - - if (qos_type_rc != PJ_SUCCESS) { - pj_perror(log_level, log_sender, qos_type_rc, - "Error setting QoS type %d to %s", - qos_type, sock_name); - } - } - - if (qos_params && qos_params->flags) { - qos_params_rc = pj_sock_set_qos_params(sock, qos_params); - if (qos_params_rc != PJ_SUCCESS) { - pj_perror(log_level, log_sender, qos_params_rc, - "Error setting QoS params (flags=%d) to %s", - qos_params->flags, sock_name); - if (qos_type_rc != PJ_SUCCESS) - return qos_params_rc; - } - } else if (qos_type_rc != PJ_SUCCESS) - return qos_type_rc; - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pj_sock_apply_qos2( pj_sock_t sock, - pj_qos_type qos_type, - const pj_qos_params *qos_params, - unsigned log_level, - const char *log_sender, - const char *sock_name) -{ - pj_qos_params qos_params_buf, *qos_params_copy = NULL; - - if (qos_params) { - pj_memcpy(&qos_params_buf, qos_params, sizeof(*qos_params)); - qos_params_copy = &qos_params_buf; - } - - return pj_sock_apply_qos(sock, qos_type, qos_params_copy, - log_level, log_sender, sock_name); -} diff --git a/res/pjproject/pjlib/src/pj/sock_qos_dummy.c b/res/pjproject/pjlib/src/pj/sock_qos_dummy.c deleted file mode 100644 index ad0dab36e2..0000000000 --- a/res/pjproject/pjlib/src/pj/sock_qos_dummy.c +++ /dev/null @@ -1,76 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - -/* Dummy implementation of QoS API. - * (this is controlled by pjlib's config.h) - */ -#if defined(PJ_QOS_IMPLEMENTATION) && PJ_QOS_IMPLEMENTATION==PJ_QOS_DUMMY - -#define THIS_FILE "sock_qos_dummy.c" - - -PJ_DEF(pj_status_t) pj_sock_set_qos_params(pj_sock_t sock, - pj_qos_params *param) -{ - PJ_UNUSED_ARG(sock); - PJ_UNUSED_ARG(param); - - PJ_LOG(4,(THIS_FILE, "pj_sock_set_qos_params() is not implemented " - "for this platform")); - return PJ_ENOTSUP; -} - -PJ_DEF(pj_status_t) pj_sock_set_qos_type(pj_sock_t sock, - pj_qos_type type) -{ - PJ_UNUSED_ARG(sock); - PJ_UNUSED_ARG(type); - - PJ_LOG(4,(THIS_FILE, "pj_sock_set_qos_type() is not implemented " - "for this platform")); - return PJ_ENOTSUP; -} - - -PJ_DEF(pj_status_t) pj_sock_get_qos_params(pj_sock_t sock, - pj_qos_params *p_param) -{ - PJ_UNUSED_ARG(sock); - PJ_UNUSED_ARG(p_param); - - PJ_LOG(4,(THIS_FILE, "pj_sock_get_qos_params() is not implemented " - "for this platform")); - return PJ_ENOTSUP; -} - -PJ_DEF(pj_status_t) pj_sock_get_qos_type(pj_sock_t sock, - pj_qos_type *p_type) -{ - PJ_UNUSED_ARG(sock); - PJ_UNUSED_ARG(p_type); - - PJ_LOG(4,(THIS_FILE, "pj_sock_get_qos_type() is not implemented " - "for this platform")); - return PJ_ENOTSUP; -} - -#endif /* PJ_QOS_DUMMY */ diff --git a/res/pjproject/pjlib/src/pj/sock_qos_symbian.cpp b/res/pjproject/pjlib/src/pj/sock_qos_symbian.cpp deleted file mode 100644 index 7d350ed6bb..0000000000 --- a/res/pjproject/pjlib/src/pj/sock_qos_symbian.cpp +++ /dev/null @@ -1,95 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include "os_symbian.h" - -PJ_DEF(pj_status_t) pj_sock_set_qos_params(pj_sock_t sock, - pj_qos_params *param) -{ - PJ_ASSERT_RETURN(sock!=0 && sock!=PJ_INVALID_SOCKET, PJ_EINVAL); - - CPjSocket *pjsock = (CPjSocket*)sock; - RSocket & rsock = pjsock->Socket(); - pj_status_t last_err = PJ_ENOTSUP; - - /* SO_PRIORITY and WMM are not supported */ - param->flags &= ~(PJ_QOS_PARAM_HAS_SO_PRIO | PJ_QOS_PARAM_HAS_WMM); - - if (param->flags & PJ_QOS_PARAM_HAS_DSCP) { - TInt err; - - err = rsock.SetOpt(KSoIpTOS, KProtocolInetIp, - (param->dscp_val << 2)); - if (err != KErrNone) { - last_err = PJ_RETURN_OS_ERROR(err); - param->flags &= ~(PJ_QOS_PARAM_HAS_DSCP); - } - } - - return param->flags ? PJ_SUCCESS : last_err; -} - -PJ_DEF(pj_status_t) pj_sock_set_qos_type(pj_sock_t sock, - pj_qos_type type) -{ - pj_qos_params param; - pj_status_t status; - - status = pj_qos_get_params(type, ¶m); - if (status != PJ_SUCCESS) - return status; - - return pj_sock_set_qos_params(sock, ¶m); -} - - -PJ_DEF(pj_status_t) pj_sock_get_qos_params(pj_sock_t sock, - pj_qos_params *p_param) -{ - PJ_ASSERT_RETURN(sock!=0 && sock!=PJ_INVALID_SOCKET, PJ_EINVAL); - - CPjSocket *pjsock = (CPjSocket*)sock; - RSocket & rsock = pjsock->Socket(); - TInt err, dscp; - - pj_bzero(p_param, sizeof(*p_param)); - - err = rsock.GetOpt(KSoIpTOS, KProtocolInetIp, dscp); - if (err == KErrNone) { - p_param->flags |= PJ_QOS_PARAM_HAS_DSCP; - p_param->dscp_val = (dscp >> 2); - return PJ_SUCCESS; - } else { - return PJ_RETURN_OS_ERROR(err); - } -} - -PJ_DEF(pj_status_t) pj_sock_get_qos_type(pj_sock_t sock, - pj_qos_type *p_type) -{ - pj_qos_params param; - pj_status_t status; - - status = pj_sock_get_qos_params(sock, ¶m); - if (status != PJ_SUCCESS) - return status; - - return pj_qos_get_type(¶m, p_type); -} - diff --git a/res/pjproject/pjlib/src/pj/sock_qos_wm.c b/res/pjproject/pjlib/src/pj/sock_qos_wm.c deleted file mode 100644 index 46eb3e2511..0000000000 --- a/res/pjproject/pjlib/src/pj/sock_qos_wm.c +++ /dev/null @@ -1,103 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -#include - -/* QoS implementation for Windows Mobile 6, must be enabled explicitly - * (this is controlled by pjlib's config.h) - */ -#if defined(PJ_QOS_IMPLEMENTATION) && PJ_QOS_IMPLEMENTATION==PJ_QOS_WM - -#define THIS_FILE "sock_qos_wm.c" - -/* Mapping between our traffic type and WM's DSCP traffic types */ -static const int dscp_map[] = -{ - DSCPBestEffort, - DSCPBackground, - DSCPVideo, - DSCPAudio, - DSCPControl -}; - -PJ_DEF(pj_status_t) pj_sock_set_qos_params(pj_sock_t sock, - pj_qos_params *param) -{ - PJ_UNUSED_ARG(sock); - PJ_UNUSED_ARG(param); - - PJ_LOG(4,(THIS_FILE, "pj_sock_set_qos_params() is not implemented " - "for this platform")); - return PJ_ENOTSUP; -} - -PJ_DEF(pj_status_t) pj_sock_set_qos_type(pj_sock_t sock, - pj_qos_type type) -{ - int value; - - PJ_ASSERT_RETURN(type < PJ_ARRAY_SIZE(dscp_map), PJ_EINVAL); - - value = dscp_map[type]; - return pj_sock_setsockopt(sock, IPPROTO_IP, IP_DSCP_TRAFFIC_TYPE, - &value, sizeof(value)); -} - - -PJ_DEF(pj_status_t) pj_sock_get_qos_params(pj_sock_t sock, - pj_qos_params *p_param) -{ - PJ_UNUSED_ARG(sock); - PJ_UNUSED_ARG(p_param); - - PJ_LOG(4,(THIS_FILE, "pj_sock_get_qos_params() is not implemented " - "for this platform")); - return PJ_ENOTSUP; -} - -PJ_DEF(pj_status_t) pj_sock_get_qos_type(pj_sock_t sock, - pj_qos_type *p_type) -{ - pj_status_t status; - int value, optlen; - unsigned i; - - optlen = sizeof(value); - value = 0; - status = pj_sock_getsockopt(sock, IPPROTO_IP, IP_DSCP_TRAFFIC_TYPE, - &value, &optlen); - if (status != PJ_SUCCESS) - return status; - - *p_type = PJ_QOS_TYPE_BEST_EFFORT; - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - -#if defined(PJ_HAS_STRING_H) && PJ_HAS_STRING_H!=0 -# include -#endif - -#if defined(PJ_HAS_SYS_TIME_H) && PJ_HAS_SYS_TIME_H!=0 -# include -#endif - -#ifdef _MSC_VER -# pragma warning(disable: 4018) // Signed/unsigned mismatch in FD_* -# pragma warning(disable: 4389) // Signed/unsigned mismatch in FD_* -#endif - -#define PART_FDSET(ps) ((fd_set*)&ps->data[1]) -#define PART_FDSET_OR_NULL(ps) (ps ? PART_FDSET(ps) : NULL) -#define PART_COUNT(ps) (ps->data[0]) - -PJ_DEF(void) PJ_FD_ZERO(pj_fd_set_t *fdsetp) -{ - PJ_CHECK_STACK(); - pj_assert(sizeof(pj_fd_set_t)-sizeof(pj_sock_t) >= sizeof(fd_set)); - - FD_ZERO(PART_FDSET(fdsetp)); - PART_COUNT(fdsetp) = 0; -} - - -PJ_DEF(void) PJ_FD_SET(pj_sock_t fd, pj_fd_set_t *fdsetp) -{ - PJ_CHECK_STACK(); - pj_assert(sizeof(pj_fd_set_t)-sizeof(pj_sock_t) >= sizeof(fd_set)); - - if (!PJ_FD_ISSET(fd, fdsetp)) - ++PART_COUNT(fdsetp); - FD_SET(fd, PART_FDSET(fdsetp)); -} - - -PJ_DEF(void) PJ_FD_CLR(pj_sock_t fd, pj_fd_set_t *fdsetp) -{ - PJ_CHECK_STACK(); - pj_assert(sizeof(pj_fd_set_t)-sizeof(pj_sock_t) >= sizeof(fd_set)); - - if (PJ_FD_ISSET(fd, fdsetp)) - --PART_COUNT(fdsetp); - FD_CLR(fd, PART_FDSET(fdsetp)); -} - - -PJ_DEF(pj_bool_t) PJ_FD_ISSET(pj_sock_t fd, const pj_fd_set_t *fdsetp) -{ - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(sizeof(pj_fd_set_t)-sizeof(pj_sock_t) >= sizeof(fd_set), - 0); - - return FD_ISSET(fd, PART_FDSET(fdsetp)); -} - -PJ_DEF(pj_size_t) PJ_FD_COUNT(const pj_fd_set_t *fdsetp) -{ - return PART_COUNT(fdsetp); -} - -PJ_DEF(int) pj_sock_select( int n, - pj_fd_set_t *readfds, - pj_fd_set_t *writefds, - pj_fd_set_t *exceptfds, - const pj_time_val *timeout) -{ - struct timeval os_timeout, *p_os_timeout; - - PJ_CHECK_STACK(); - - PJ_ASSERT_RETURN(sizeof(pj_fd_set_t)-sizeof(pj_sock_t) >= sizeof(fd_set), - PJ_EBUG); - - if (timeout) { - os_timeout.tv_sec = timeout->sec; - os_timeout.tv_usec = timeout->msec * 1000; - p_os_timeout = &os_timeout; - } else { - p_os_timeout = NULL; - } - - return select(n, PART_FDSET_OR_NULL(readfds), PART_FDSET_OR_NULL(writefds), - PART_FDSET_OR_NULL(exceptfds), p_os_timeout); -} - diff --git a/res/pjproject/pjlib/src/pj/sock_select_symbian.cpp b/res/pjproject/pjlib/src/pj/sock_select_symbian.cpp deleted file mode 100644 index 8ac6948d5f..0000000000 --- a/res/pjproject/pjlib/src/pj/sock_select_symbian.cpp +++ /dev/null @@ -1,163 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include "os_symbian.h" - - -struct symbian_fd_set -{ - unsigned count; - CPjSocket *sock[PJ_IOQUEUE_MAX_HANDLES]; -}; - - -PJ_DEF(void) PJ_FD_ZERO(pj_fd_set_t *fdsetp) -{ - symbian_fd_set *fds = (symbian_fd_set *)fdsetp; - fds->count = 0; -} - - -PJ_DEF(void) PJ_FD_SET(pj_sock_t fd, pj_fd_set_t *fdsetp) -{ - symbian_fd_set *fds = (symbian_fd_set *)fdsetp; - - PJ_ASSERT_ON_FAIL(fds->count < PJ_IOQUEUE_MAX_HANDLES, return); - fds->sock[fds->count++] = (CPjSocket*)fd; -} - - -PJ_DEF(void) PJ_FD_CLR(pj_sock_t fd, pj_fd_set_t *fdsetp) -{ - symbian_fd_set *fds = (symbian_fd_set *)fdsetp; - unsigned i; - - for (i=0; icount; ++i) { - if (fds->sock[i] == (CPjSocket*)fd) { - pj_array_erase(fds->sock, sizeof(fds->sock[0]), fds->count, i); - --fds->count; - return; - } - } -} - - -PJ_DEF(pj_bool_t) PJ_FD_ISSET(pj_sock_t fd, const pj_fd_set_t *fdsetp) -{ - symbian_fd_set *fds = (symbian_fd_set *)fdsetp; - unsigned i; - - for (i=0; icount; ++i) { - if (fds->sock[i] == (CPjSocket*)fd) { - return PJ_TRUE; - } - } - - return PJ_FALSE; -} - -PJ_DEF(pj_size_t) PJ_FD_COUNT(const pj_fd_set_t *fdsetp) -{ - symbian_fd_set *fds = (symbian_fd_set *)fdsetp; - return fds->count; -} - - -PJ_DEF(int) pj_sock_select( int n, - pj_fd_set_t *readfds, - pj_fd_set_t *writefds, - pj_fd_set_t *exceptfds, - const pj_time_val *timeout) -{ - CPjTimeoutTimer *pjTimer; - unsigned i; - - PJ_UNUSED_ARG(n); - PJ_UNUSED_ARG(writefds); - PJ_UNUSED_ARG(exceptfds); - - if (timeout) { - pjTimer = PjSymbianOS::Instance()->SelectTimeoutTimer(); - pjTimer->StartTimer(timeout->sec*1000 + timeout->msec); - - } else { - pjTimer = NULL; - } - - /* Scan for readable sockets */ - - if (readfds) { - symbian_fd_set *fds = (symbian_fd_set *)readfds; - - do { - /* Scan sockets for readily available data */ - for (i=0; icount; ++i) { - CPjSocket *pjsock = fds->sock[i]; - - if (pjsock->Reader()) { - if (pjsock->Reader()->HasData() && !pjsock->Reader()->IsActive()) { - - /* Found socket with data ready */ - PJ_FD_ZERO(readfds); - PJ_FD_SET((pj_sock_t)pjsock, readfds); - - /* Cancel timer, if any */ - if (pjTimer) { - pjTimer->Cancel(); - } - - /* Clear writable and exception fd_set */ - if (writefds) - PJ_FD_ZERO(writefds); - if (exceptfds) - PJ_FD_ZERO(exceptfds); - - return 1; - - } else if (!pjsock->Reader()->IsActive()) - pjsock->Reader()->StartRecvFrom(); - - } else { - pjsock->CreateReader(); - pjsock->Reader()->StartRecvFrom(); - } - } - - PjSymbianOS::Instance()->WaitForActiveObjects(); - - } while (pjTimer==NULL || !pjTimer->HasTimedOut()); - } - - - /* Timeout */ - - if (readfds) - PJ_FD_ZERO(readfds); - if (writefds) - PJ_FD_ZERO(writefds); - if (exceptfds) - PJ_FD_ZERO(exceptfds); - - return 0; -} - diff --git a/res/pjproject/pjlib/src/pj/sock_symbian.cpp b/res/pjproject/pjlib/src/pj/sock_symbian.cpp deleted file mode 100644 index e72bbdad79..0000000000 --- a/res/pjproject/pjlib/src/pj/sock_symbian.cpp +++ /dev/null @@ -1,1021 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include - -#include "os_symbian.h" - - -/* - * Address families. - */ -const pj_uint16_t PJ_AF_UNSPEC = KAFUnspec; -const pj_uint16_t PJ_AF_UNIX = 0xFFFF; -const pj_uint16_t PJ_AF_INET = KAfInet; -const pj_uint16_t PJ_AF_INET6 = KAfInet6; -const pj_uint16_t PJ_AF_PACKET = 0xFFFF; -const pj_uint16_t PJ_AF_IRDA = 0xFFFF; - -/* - * Socket types conversion. - * The values here are indexed based on pj_sock_type - */ -const pj_uint16_t PJ_SOCK_STREAM= KSockStream; -const pj_uint16_t PJ_SOCK_DGRAM = KSockDatagram; -const pj_uint16_t PJ_SOCK_RAW = 0xFFFF; -const pj_uint16_t PJ_SOCK_RDM = 0xFFFF; - -/* we don't support setsockopt(), these are just dummy values */ -const pj_uint16_t PJ_SOL_SOCKET = 0xFFFF; -const pj_uint16_t PJ_SOL_IP = 0xFFFF; -const pj_uint16_t PJ_SOL_TCP = 0xFFFF; -const pj_uint16_t PJ_SOL_UDP = 0xFFFF; -const pj_uint16_t PJ_SOL_IPV6 = 0xFFFF; -const pj_uint16_t PJ_SO_NOSIGPIPE = 0xFFFF; - -/* TOS */ -const pj_uint16_t PJ_IP_TOS = 0; -const pj_uint16_t PJ_IPTOS_LOWDELAY = 0; -const pj_uint16_t PJ_IPTOS_THROUGHPUT = 0; -const pj_uint16_t PJ_IPTOS_RELIABILITY = 0; -const pj_uint16_t PJ_IPTOS_MINCOST = 0; - -/* Misc */ -const pj_uint16_t PJ_TCP_NODELAY = 0xFFFF; -const pj_uint16_t PJ_SO_REUSEADDR = 0xFFFF; -const pj_uint16_t PJ_SO_PRIORITY = 0xFFFF; - -/* ioctl() is also not supported. */ -const pj_uint16_t PJ_SO_TYPE = 0xFFFF; -const pj_uint16_t PJ_SO_RCVBUF = 0xFFFF; -const pj_uint16_t PJ_SO_SNDBUF = 0xFFFF; - -/* IP multicast is also not supported. */ -const pj_uint16_t PJ_IP_MULTICAST_IF = 0xFFFF; -const pj_uint16_t PJ_IP_MULTICAST_TTL = 0xFFFF; -const pj_uint16_t PJ_IP_MULTICAST_LOOP = 0xFFFF; -const pj_uint16_t PJ_IP_ADD_MEMBERSHIP = 0xFFFF; -const pj_uint16_t PJ_IP_DROP_MEMBERSHIP = 0xFFFF; - -/* Flags */ -const int PJ_MSG_OOB = 0; -const int PJ_MSG_PEEK = KSockReadPeek; -const int PJ_MSG_DONTROUTE = 0; - -///////////////////////////////////////////////////////////////////////////// -// -// CPjSocket implementation. -// (declaration is in os_symbian.h) -// - -CPjSocket::~CPjSocket() -{ - DestroyReader(); - sock_.Close(); -} - - -// Create socket reader. -CPjSocketReader *CPjSocket::CreateReader(unsigned max_len) -{ - pj_assert(sockReader_ == NULL); - return sockReader_ = CPjSocketReader::NewL(*this, max_len); -} - -// Delete socket reader when it's not wanted. -void CPjSocket::DestroyReader() -{ - if (sockReader_) { - sockReader_->Cancel(); - delete sockReader_; - sockReader_ = NULL; - } -} - - -///////////////////////////////////////////////////////////////////////////// -// -// CPjSocketReader implementation -// (declaration in os_symbian.h) -// - - -CPjSocketReader::CPjSocketReader(CPjSocket &sock) -: CActive(EPriorityStandard), - sock_(sock), buffer_(NULL, 0), readCb_(NULL), key_(NULL) -{ -} - - -void CPjSocketReader::ConstructL(unsigned max_len) -{ - isDatagram_ = sock_.IsDatagram(); - - TUint8 *ptr = new TUint8[max_len]; - buffer_.Set(ptr, 0, (TInt)max_len); - CActiveScheduler::Add(this); -} - -CPjSocketReader *CPjSocketReader::NewL(CPjSocket &sock, unsigned max_len) -{ - CPjSocketReader *self = new (ELeave) CPjSocketReader(sock); - CleanupStack::PushL(self); - self->ConstructL(max_len); - CleanupStack::Pop(self); - - return self; -} - - -CPjSocketReader::~CPjSocketReader() -{ - const TUint8 *data = buffer_.Ptr(); - delete [] data; -} - -void CPjSocketReader::StartRecv(void (*cb)(void *key), - void *key, - TDes8 *aDesc, - TUint flags) -{ - StartRecvFrom(cb, key, aDesc, flags, NULL); -} - -void CPjSocketReader::StartRecvFrom(void (*cb)(void *key), - void *key, - TDes8 *aDesc, - TUint flags, - TSockAddr *fromAddr) -{ - readCb_ = cb; - key_ = key; - - if (aDesc == NULL) aDesc = &buffer_; - if (fromAddr == NULL) fromAddr = &recvAddr_; - - sock_.Socket().RecvFrom(*aDesc, *fromAddr, flags, iStatus); - SetActive(); -} - -void CPjSocketReader::DoCancel() -{ - sock_.Socket().CancelRecv(); -} - -void CPjSocketReader::RunL() -{ - void (*old_cb)(void *key) = readCb_; - void *old_key = key_; - - readCb_ = NULL; - key_ = NULL; - - if (old_cb) { - (*old_cb)(old_key); - } -} - -// Append data to aDesc, up to aDesc's maximum size. -// If socket is datagram based, buffer_ will be clared. -void CPjSocketReader::ReadData(TDes8 &aDesc, TInetAddr *addr) -{ - if (isDatagram_) - aDesc.Zero(); - - if (buffer_.Length() == 0) - return; - - TInt size_to_copy = aDesc.MaxLength() - aDesc.Length(); - if (size_to_copy > buffer_.Length()) - size_to_copy = buffer_.Length(); - - aDesc.Append(buffer_.Ptr(), size_to_copy); - - if (isDatagram_) - buffer_.Zero(); - else - buffer_.Delete(0, size_to_copy); - - if (addr) - *addr = recvAddr_; -} - - - -///////////////////////////////////////////////////////////////////////////// -// -// PJLIB's sock.h implementation -// - -/* - * Convert 16-bit value from network byte order to host byte order. - */ -PJ_DEF(pj_uint16_t) pj_ntohs(pj_uint16_t netshort) -{ -#if PJ_IS_LITTLE_ENDIAN - return pj_swap16(netshort); -#else - return netshort; -#endif -} - -/* - * Convert 16-bit value from host byte order to network byte order. - */ -PJ_DEF(pj_uint16_t) pj_htons(pj_uint16_t hostshort) -{ -#if PJ_IS_LITTLE_ENDIAN - return pj_swap16(hostshort); -#else - return hostshort; -#endif -} - -/* - * Convert 32-bit value from network byte order to host byte order. - */ -PJ_DEF(pj_uint32_t) pj_ntohl(pj_uint32_t netlong) -{ -#if PJ_IS_LITTLE_ENDIAN - return pj_swap32(netlong); -#else - return netlong; -#endif -} - -/* - * Convert 32-bit value from host byte order to network byte order. - */ -PJ_DEF(pj_uint32_t) pj_htonl(pj_uint32_t hostlong) -{ -#if PJ_IS_LITTLE_ENDIAN - return pj_swap32(hostlong); -#else - return netlong; -#endif -} - -/* - * Convert an Internet host address given in network byte order - * to string in standard numbers and dots notation. - */ -PJ_DEF(char*) pj_inet_ntoa(pj_in_addr inaddr) -{ - static char str8[PJ_INET_ADDRSTRLEN]; - TBuf str16(0); - - /* (Symbian IP address is in host byte order) */ - TInetAddr temp_addr((TUint32)pj_ntohl(inaddr.s_addr), (TUint)0); - temp_addr.Output(str16); - - return pj_unicode_to_ansi((const wchar_t*)str16.PtrZ(), str16.Length(), - str8, sizeof(str8)); -} - -/* - * This function converts the Internet host address cp from the standard - * numbers-and-dots notation into binary data and stores it in the structure - * that inp points to. - */ -PJ_DEF(int) pj_inet_aton(const pj_str_t *cp, pj_in_addr *inp) -{ - enum { MAXIPLEN = PJ_INET_ADDRSTRLEN }; - - /* Initialize output with PJ_INADDR_NONE. - * Some apps relies on this instead of the return value - * (and anyway the return value is quite confusing!) - */ - inp->s_addr = PJ_INADDR_NONE; - - /* Caution: - * this function might be called with cp->slen >= 16 - * (i.e. when called with hostname to check if it's an IP addr). - */ - PJ_ASSERT_RETURN(cp && cp->slen && inp, 0); - if (cp->slen >= 16) { - return 0; - } - - char tempaddr8[MAXIPLEN]; - pj_memcpy(tempaddr8, cp->ptr, cp->slen); - tempaddr8[cp->slen] = '\0'; - - wchar_t tempaddr16[MAXIPLEN]; - pj_ansi_to_unicode(tempaddr8, pj_ansi_strlen(tempaddr8), - tempaddr16, sizeof(tempaddr16)); - - TBuf ip_addr((const TText*)tempaddr16); - - TInetAddr addr; - addr.Init(KAfInet); - if (addr.Input(ip_addr) == KErrNone) { - /* Success (Symbian IP address is in host byte order) */ - inp->s_addr = pj_htonl(addr.Address()); - return 1; - } else { - /* Error */ - return 0; - } -} - -/* - * Convert text to IPv4/IPv6 address. - */ -PJ_DEF(pj_status_t) pj_inet_pton(int af, const pj_str_t *src, void *dst) -{ - char tempaddr[PJ_INET6_ADDRSTRLEN]; - - PJ_ASSERT_RETURN(af==PJ_AF_INET || af==PJ_AF_INET6, PJ_EINVAL); - PJ_ASSERT_RETURN(src && src->slen && dst, PJ_EINVAL); - - /* Initialize output with PJ_IN_ADDR_NONE for IPv4 (to be - * compatible with pj_inet_aton() - */ - if (af==PJ_AF_INET) { - ((pj_in_addr*)dst)->s_addr = PJ_INADDR_NONE; - } - - /* Caution: - * this function might be called with cp->slen >= 46 - * (i.e. when called with hostname to check if it's an IP addr). - */ - if (src->slen >= PJ_INET6_ADDRSTRLEN) { - return PJ_ENAMETOOLONG; - } - - pj_memcpy(tempaddr, src->ptr, src->slen); - tempaddr[src->slen] = '\0'; - - - wchar_t tempaddr16[PJ_INET6_ADDRSTRLEN]; - pj_ansi_to_unicode(tempaddr, pj_ansi_strlen(tempaddr), - tempaddr16, sizeof(tempaddr16)); - - TBuf ip_addr((const TText*)tempaddr16); - - TInetAddr addr; - addr.Init(KAfInet6); - if (addr.Input(ip_addr) == KErrNone) { - if (af==PJ_AF_INET) { - /* Success (Symbian IP address is in host byte order) */ - pj_uint32_t ip = pj_htonl(addr.Address()); - pj_memcpy(dst, &ip, 4); - } else if (af==PJ_AF_INET6) { - const TIp6Addr & ip6 = addr.Ip6Address(); - pj_memcpy(dst, ip6.u.iAddr8, 16); - } else { - pj_assert(!"Unexpected!"); - return PJ_EBUG; - } - return PJ_SUCCESS; - } else { - /* Error */ - return PJ_EINVAL; - } -} - -/* - * Convert IPv4/IPv6 address to text. - */ -PJ_DEF(pj_status_t) pj_inet_ntop(int af, const void *src, - char *dst, int size) - -{ - PJ_ASSERT_RETURN(src && dst && size, PJ_EINVAL); - - *dst = '\0'; - - if (af==PJ_AF_INET) { - - TBuf str16; - pj_in_addr inaddr; - - if (size < PJ_INET_ADDRSTRLEN) - return PJ_ETOOSMALL; - - pj_memcpy(&inaddr, src, 4); - - /* Symbian IP address is in host byte order */ - TInetAddr temp_addr((TUint32)pj_ntohl(inaddr.s_addr), (TUint)0); - temp_addr.Output(str16); - - pj_unicode_to_ansi((const wchar_t*)str16.PtrZ(), str16.Length(), - dst, size); - return PJ_SUCCESS; - - } else if (af==PJ_AF_INET6) { - TBuf str16; - - if (size < PJ_INET6_ADDRSTRLEN) - return PJ_ETOOSMALL; - - TIp6Addr ip6; - pj_memcpy(ip6.u.iAddr8, src, 16); - - TInetAddr temp_addr(ip6, (TUint)0); - temp_addr.Output(str16); - - pj_unicode_to_ansi((const wchar_t*)str16.PtrZ(), str16.Length(), - dst, size); - return PJ_SUCCESS; - - } else { - pj_assert(!"Unsupport address family"); - return PJ_EINVAL; - } - -} - -/* - * Get hostname. - */ -PJ_DEF(const pj_str_t*) pj_gethostname(void) -{ - static char buf[PJ_MAX_HOSTNAME]; - static pj_str_t hostname; - - PJ_CHECK_STACK(); - - if (hostname.ptr == NULL) { - RHostResolver &resv = PjSymbianOS::Instance()->GetResolver(PJ_AF_INET); - TRequestStatus reqStatus; - THostName tmpName; - - // Return empty hostname if access point is marked as down by app. - PJ_SYMBIAN_CHECK_CONNECTION2(&hostname); - - resv.GetHostName(tmpName, reqStatus); - User::WaitForRequest(reqStatus); - - hostname.ptr = pj_unicode_to_ansi((const wchar_t*)tmpName.Ptr(), tmpName.Length(), - buf, sizeof(buf)); - hostname.slen = tmpName.Length(); - } - return &hostname; -} - -/* - * Create new socket/endpoint for communication and returns a descriptor. - */ -PJ_DEF(pj_status_t) pj_sock_socket(int af, - int type, - int proto, - pj_sock_t *p_sock) -{ - TInt rc; - - PJ_CHECK_STACK(); - - /* Sanity checks. */ - PJ_ASSERT_RETURN(p_sock!=NULL, PJ_EINVAL); - - // Return failure if access point is marked as down by app. - PJ_SYMBIAN_CHECK_CONNECTION(); - - /* Set proto if none is specified. */ - if (proto == 0) { - if (type == pj_SOCK_STREAM()) - proto = KProtocolInetTcp; - else if (type == pj_SOCK_DGRAM()) - proto = KProtocolInetUdp; - } - - /* Create Symbian RSocket */ - RSocket rSock; - if (PjSymbianOS::Instance()->Connection()) - rc = rSock.Open(PjSymbianOS::Instance()->SocketServ(), - af, type, proto, - *PjSymbianOS::Instance()->Connection()); - else - rc = rSock.Open(PjSymbianOS::Instance()->SocketServ(), - af, type, proto); - - if (rc != KErrNone) - return PJ_RETURN_OS_ERROR(rc); - - - /* Wrap Symbian RSocket into PJLIB's CPjSocket, and return to caller */ - CPjSocket *pjSock = new CPjSocket(af, type, rSock); - *p_sock = (pj_sock_t)pjSock; - - return PJ_SUCCESS; -} - - -/* - * Bind socket. - */ -PJ_DEF(pj_status_t) pj_sock_bind( pj_sock_t sock, - const pj_sockaddr_t *addr, - int len) -{ - pj_status_t status; - TInt rc; - - PJ_CHECK_STACK(); - - PJ_ASSERT_RETURN(sock != 0, PJ_EINVAL); - PJ_ASSERT_RETURN(addr && len>=(int)sizeof(pj_sockaddr_in), PJ_EINVAL); - - // Convert PJLIB's pj_sockaddr into Symbian's TInetAddr - TInetAddr inetAddr; - status = PjSymbianOS::pj2Addr(*(pj_sockaddr*)addr, len, inetAddr); - if (status != PJ_SUCCESS) - return status; - - // Get the RSocket instance - RSocket &rSock = ((CPjSocket*)sock)->Socket(); - - // Bind - rc = rSock.Bind(inetAddr); - - return (rc==KErrNone) ? PJ_SUCCESS : PJ_RETURN_OS_ERROR(rc); -} - - -/* - * Bind socket. - */ -PJ_DEF(pj_status_t) pj_sock_bind_in( pj_sock_t sock, - pj_uint32_t addr32, - pj_uint16_t port) -{ - pj_sockaddr_in addr; - - PJ_CHECK_STACK(); - - pj_bzero(&addr, sizeof(addr)); - addr.sin_family = PJ_AF_INET; - addr.sin_addr.s_addr = pj_htonl(addr32); - addr.sin_port = pj_htons(port); - - return pj_sock_bind(sock, &addr, sizeof(pj_sockaddr_in)); -} - - -/* - * Close socket. - */ -PJ_DEF(pj_status_t) pj_sock_close(pj_sock_t sock) -{ - PJ_CHECK_STACK(); - - PJ_ASSERT_RETURN(sock != 0, PJ_EINVAL); - - CPjSocket *pjSock = (CPjSocket*)sock; - - // This will close the socket. - delete pjSock; - - return PJ_SUCCESS; -} - -/* - * Get remote's name. - */ -PJ_DEF(pj_status_t) pj_sock_getpeername( pj_sock_t sock, - pj_sockaddr_t *addr, - int *namelen) -{ - PJ_CHECK_STACK(); - - PJ_ASSERT_RETURN(sock && addr && namelen && - *namelen>=(int)sizeof(pj_sockaddr_in), PJ_EINVAL); - - CPjSocket *pjSock = (CPjSocket*)sock; - RSocket &rSock = pjSock->Socket(); - - // Socket must be connected. - PJ_ASSERT_RETURN(pjSock->IsConnected(), PJ_EINVALIDOP); - - TInetAddr inetAddr; - rSock.RemoteName(inetAddr); - - return PjSymbianOS::Addr2pj(inetAddr, *(pj_sockaddr*)addr, namelen); -} - -/* - * Get socket name. - */ -PJ_DEF(pj_status_t) pj_sock_getsockname( pj_sock_t sock, - pj_sockaddr_t *addr, - int *namelen) -{ - PJ_CHECK_STACK(); - - PJ_ASSERT_RETURN(sock && addr && namelen && - *namelen>=(int)sizeof(pj_sockaddr_in), PJ_EINVAL); - - CPjSocket *pjSock = (CPjSocket*)sock; - RSocket &rSock = pjSock->Socket(); - - TInetAddr inetAddr; - rSock.LocalName(inetAddr); - - return PjSymbianOS::Addr2pj(inetAddr, *(pj_sockaddr*)addr, namelen); -} - -/* - * Send data - */ -PJ_DEF(pj_status_t) pj_sock_send(pj_sock_t sock, - const void *buf, - pj_ssize_t *len, - unsigned flags) -{ - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(sock && buf && len, PJ_EINVAL); - - // Return failure if access point is marked as down by app. - PJ_SYMBIAN_CHECK_CONNECTION(); - - CPjSocket *pjSock = (CPjSocket*)sock; - RSocket &rSock = pjSock->Socket(); - - // send() should only be called to connected socket - PJ_ASSERT_RETURN(pjSock->IsConnected(), PJ_EINVALIDOP); - - TPtrC8 data((const TUint8*)buf, (TInt)*len); - TRequestStatus reqStatus; - TSockXfrLength sentLen; - - rSock.Send(data, flags, reqStatus, sentLen); - User::WaitForRequest(reqStatus); - - if (reqStatus.Int()==KErrNone) { - //*len = (TInt) sentLen.Length(); - return PJ_SUCCESS; - } else - return PJ_RETURN_OS_ERROR(reqStatus.Int()); -} - - -/* - * Send data. - */ -PJ_DEF(pj_status_t) pj_sock_sendto(pj_sock_t sock, - const void *buf, - pj_ssize_t *len, - unsigned flags, - const pj_sockaddr_t *to, - int tolen) -{ - pj_status_t status; - - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(sock && buf && len, PJ_EINVAL); - - // Return failure if access point is marked as down by app. - PJ_SYMBIAN_CHECK_CONNECTION(); - - CPjSocket *pjSock = (CPjSocket*)sock; - RSocket &rSock = pjSock->Socket(); - - // Only supports AF_INET for now - PJ_ASSERT_RETURN(tolen>=(int)sizeof(pj_sockaddr_in), PJ_EINVAL); - - TInetAddr inetAddr; - status = PjSymbianOS::pj2Addr(*(pj_sockaddr*)to, tolen, inetAddr); - if (status != PJ_SUCCESS) - return status; - - TPtrC8 data((const TUint8*)buf, (TInt)*len); - TRequestStatus reqStatus; - TSockXfrLength sentLen; - - rSock.SendTo(data, inetAddr, flags, reqStatus, sentLen); - User::WaitForRequest(reqStatus); - - if (reqStatus.Int()==KErrNone) { - //For some reason TSockXfrLength is not returning correctly! - //*len = (TInt) sentLen.Length(); - return PJ_SUCCESS; - } else - return PJ_RETURN_OS_ERROR(reqStatus.Int()); -} - -/* - * Receive data. - */ -PJ_DEF(pj_status_t) pj_sock_recv(pj_sock_t sock, - void *buf, - pj_ssize_t *len, - unsigned flags) -{ - PJ_CHECK_STACK(); - - PJ_ASSERT_RETURN(sock && buf && len, PJ_EINVAL); - PJ_ASSERT_RETURN(*len > 0, PJ_EINVAL); - - // Return failure if access point is marked as down by app. - PJ_SYMBIAN_CHECK_CONNECTION(); - - CPjSocket *pjSock = (CPjSocket*)sock; - - if (pjSock->Reader()) { - CPjSocketReader *reader = pjSock->Reader(); - - while (reader->IsActive() && !reader->HasData()) { - User::WaitForAnyRequest(); - } - - if (reader->HasData()) { - TPtr8 data((TUint8*)buf, (TInt)*len); - TInetAddr inetAddr; - - reader->ReadData(data, &inetAddr); - - *len = data.Length(); - return PJ_SUCCESS; - } - } - - TRequestStatus reqStatus; - TSockXfrLength recvLen; - TPtr8 data((TUint8*)buf, (TInt)*len, (TInt)*len); - - if (pjSock->IsDatagram()) { - pjSock->Socket().Recv(data, flags, reqStatus); - } else { - // Using static like this is not pretty, but we don't need to use - // the value anyway, hence doing it like this is probably most - // optimal. - static TSockXfrLength len; - pjSock->Socket().RecvOneOrMore(data, flags, reqStatus, len); - } - User::WaitForRequest(reqStatus); - - if (reqStatus == KErrNone) { - //*len = (TInt)recvLen.Length(); - *len = data.Length(); - return PJ_SUCCESS; - } else { - *len = -1; - return PJ_RETURN_OS_ERROR(reqStatus.Int()); - } -} - -/* - * Receive data. - */ -PJ_DEF(pj_status_t) pj_sock_recvfrom(pj_sock_t sock, - void *buf, - pj_ssize_t *len, - unsigned flags, - pj_sockaddr_t *from, - int *fromlen) -{ - PJ_CHECK_STACK(); - - PJ_ASSERT_RETURN(sock && buf && len && from && fromlen, PJ_EINVAL); - PJ_ASSERT_RETURN(*len > 0, PJ_EINVAL); - PJ_ASSERT_RETURN(*fromlen >= (int)sizeof(pj_sockaddr_in), PJ_EINVAL); - - // Return failure if access point is marked as down by app. - PJ_SYMBIAN_CHECK_CONNECTION(); - - CPjSocket *pjSock = (CPjSocket*)sock; - RSocket &rSock = pjSock->Socket(); - - if (pjSock->Reader()) { - CPjSocketReader *reader = pjSock->Reader(); - - while (reader->IsActive() && !reader->HasData()) { - User::WaitForAnyRequest(); - } - - if (reader->HasData()) { - TPtr8 data((TUint8*)buf, (TInt)*len); - TInetAddr inetAddr; - - reader->ReadData(data, &inetAddr); - - *len = data.Length(); - - if (from && fromlen) { - return PjSymbianOS::Addr2pj(inetAddr, *(pj_sockaddr*)from, - fromlen); - } else { - return PJ_SUCCESS; - } - } - } - - TInetAddr inetAddr; - TRequestStatus reqStatus; - TSockXfrLength recvLen; - TPtr8 data((TUint8*)buf, (TInt)*len, (TInt)*len); - - rSock.RecvFrom(data, inetAddr, flags, reqStatus, recvLen); - User::WaitForRequest(reqStatus); - - if (reqStatus == KErrNone) { - //*len = (TInt)recvLen.Length(); - *len = data.Length(); - return PjSymbianOS::Addr2pj(inetAddr, *(pj_sockaddr*)from, fromlen); - } else { - *len = -1; - *fromlen = -1; - return PJ_RETURN_OS_ERROR(reqStatus.Int()); - } -} - -/* - * Get socket option. - */ -PJ_DEF(pj_status_t) pj_sock_getsockopt( pj_sock_t sock, - pj_uint16_t level, - pj_uint16_t optname, - void *optval, - int *optlen) -{ - // Not supported for now. - PJ_UNUSED_ARG(sock); - PJ_UNUSED_ARG(level); - PJ_UNUSED_ARG(optname); - PJ_UNUSED_ARG(optval); - PJ_UNUSED_ARG(optlen); - return PJ_EINVALIDOP; -} - -/* - * Set socket option. - */ -PJ_DEF(pj_status_t) pj_sock_setsockopt( pj_sock_t sock, - pj_uint16_t level, - pj_uint16_t optname, - const void *optval, - int optlen) -{ - // Not supported for now. - PJ_UNUSED_ARG(sock); - PJ_UNUSED_ARG(level); - PJ_UNUSED_ARG(optname); - PJ_UNUSED_ARG(optval); - PJ_UNUSED_ARG(optlen); - return PJ_EINVALIDOP; -} - -/* - * Connect socket. - */ -PJ_DEF(pj_status_t) pj_sock_connect( pj_sock_t sock, - const pj_sockaddr_t *addr, - int namelen) -{ - pj_status_t status; - - PJ_CHECK_STACK(); - - PJ_ASSERT_RETURN(sock && addr && namelen, PJ_EINVAL); - PJ_ASSERT_RETURN(((pj_sockaddr*)addr)->addr.sa_family == PJ_AF_INET, - PJ_EINVAL); - - // Return failure if access point is marked as down by app. - PJ_SYMBIAN_CHECK_CONNECTION(); - - CPjSocket *pjSock = (CPjSocket*)sock; - RSocket &rSock = pjSock->Socket(); - - TInetAddr inetAddr; - TRequestStatus reqStatus; - - status = PjSymbianOS::pj2Addr(*(pj_sockaddr*)addr, namelen, inetAddr); - if (status != PJ_SUCCESS) - return status; - - rSock.Connect(inetAddr, reqStatus); - User::WaitForRequest(reqStatus); - - if (reqStatus == KErrNone) { - pjSock->SetConnected(true); - return PJ_SUCCESS; - } else { - return PJ_RETURN_OS_ERROR(reqStatus.Int()); - } -} - - -/* - * Shutdown socket. - */ -#if PJ_HAS_TCP -PJ_DEF(pj_status_t) pj_sock_shutdown( pj_sock_t sock, - int how) -{ - PJ_CHECK_STACK(); - - PJ_ASSERT_RETURN(sock, PJ_EINVAL); - - CPjSocket *pjSock = (CPjSocket*)sock; - RSocket &rSock = pjSock->Socket(); - - RSocket::TShutdown aHow; - if (how == PJ_SD_RECEIVE) - aHow = RSocket::EStopInput; - else if (how == PJ_SHUT_WR) - aHow = RSocket::EStopOutput; - else - aHow = RSocket::ENormal; - - TRequestStatus reqStatus; - - rSock.Shutdown(aHow, reqStatus); - User::WaitForRequest(reqStatus); - - if (reqStatus == KErrNone) { - return PJ_SUCCESS; - } else { - return PJ_RETURN_OS_ERROR(reqStatus.Int()); - } -} - -/* - * Start listening to incoming connections. - */ -PJ_DEF(pj_status_t) pj_sock_listen( pj_sock_t sock, - int backlog) -{ - PJ_CHECK_STACK(); - - PJ_ASSERT_RETURN(sock && backlog, PJ_EINVAL); - - CPjSocket *pjSock = (CPjSocket*)sock; - RSocket &rSock = pjSock->Socket(); - - TInt rc = rSock.Listen((TUint)backlog); - - if (rc == KErrNone) { - return PJ_SUCCESS; - } else { - return PJ_RETURN_OS_ERROR(rc); - } -} - -/* - * Accept incoming connections - */ -PJ_DEF(pj_status_t) pj_sock_accept( pj_sock_t serverfd, - pj_sock_t *newsock, - pj_sockaddr_t *addr, - int *addrlen) -{ - PJ_CHECK_STACK(); - - PJ_ASSERT_RETURN(serverfd && newsock, PJ_EINVAL); - - CPjSocket *pjSock = (CPjSocket*)serverfd; - RSocket &rSock = pjSock->Socket(); - - // Create a 'blank' socket - RSocket newSock; - newSock.Open(PjSymbianOS::Instance()->SocketServ()); - - // Call Accept() - TRequestStatus reqStatus; - - rSock.Accept(newSock, reqStatus); - User::WaitForRequest(reqStatus); - - if (reqStatus != KErrNone) { - return PJ_RETURN_OS_ERROR(reqStatus.Int()); - } - - // Create PJ socket - CPjSocket *newPjSock = new CPjSocket(pjSock->GetAf(), pjSock->GetSockType(), - newSock); - newPjSock->SetConnected(true); - - *newsock = (pj_sock_t) newPjSock; - - if (addr && addrlen) { - return pj_sock_getpeername(*newsock, addr, addrlen); - } - - return PJ_SUCCESS; -} -#endif /* PJ_HAS_TCP */ - - diff --git a/res/pjproject/pjlib/src/pj/ssl_sock_common.c b/res/pjproject/pjlib/src/pj/ssl_sock_common.c deleted file mode 100644 index 67a8d63c73..0000000000 --- a/res/pjproject/pjlib/src/pj/ssl_sock_common.c +++ /dev/null @@ -1,138 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -/* - * Initialize the SSL socket configuration with the default values. - */ -PJ_DEF(void) pj_ssl_sock_param_default(pj_ssl_sock_param *param) -{ - pj_bzero(param, sizeof(*param)); - - /* Socket config */ - param->sock_af = PJ_AF_INET; - param->sock_type = pj_SOCK_STREAM(); - param->async_cnt = 1; - param->concurrency = -1; - param->whole_data = PJ_TRUE; - param->send_buffer_size = 8192; -#if !defined(PJ_SYMBIAN) || PJ_SYMBIAN==0 - param->read_buffer_size = 1500; -#endif - param->qos_type = PJ_QOS_TYPE_BEST_EFFORT; - param->qos_ignore_error = PJ_TRUE; - - /* Security config */ - param->proto = PJ_SSL_SOCK_PROTO_DEFAULT; -} - - -PJ_DEF(pj_status_t) pj_ssl_cert_get_verify_status_strings( - pj_uint32_t verify_status, - const char *error_strings[], - unsigned *count) -{ - unsigned i = 0, shift_idx = 0; - unsigned unknown = 0; - pj_uint32_t errs; - - PJ_ASSERT_RETURN(error_strings && count, PJ_EINVAL); - - if (verify_status == PJ_SSL_CERT_ESUCCESS && *count) { - error_strings[0] = "OK"; - *count = 1; - return PJ_SUCCESS; - } - - errs = verify_status; - - while (errs && i < *count) { - pj_uint32_t err; - const char *p = NULL; - - if ((errs & 1) == 0) { - shift_idx++; - errs >>= 1; - continue; - } - - err = (1 << shift_idx); - - switch (err) { - case PJ_SSL_CERT_EISSUER_NOT_FOUND: - p = "The issuer certificate cannot be found"; - break; - case PJ_SSL_CERT_EUNTRUSTED: - p = "The certificate is untrusted"; - break; - case PJ_SSL_CERT_EVALIDITY_PERIOD: - p = "The certificate has expired or not yet valid"; - break; - case PJ_SSL_CERT_EINVALID_FORMAT: - p = "One or more fields of the certificate cannot be decoded " - "due to invalid format"; - break; - case PJ_SSL_CERT_EISSUER_MISMATCH: - p = "The issuer info in the certificate does not match to the " - "(candidate) issuer certificate"; - break; - case PJ_SSL_CERT_ECRL_FAILURE: - p = "The CRL certificate cannot be found or cannot be read " - "properly"; - break; - case PJ_SSL_CERT_EREVOKED: - p = "The certificate has been revoked"; - break; - case PJ_SSL_CERT_EINVALID_PURPOSE: - p = "The certificate or CA certificate cannot be used for the " - "specified purpose"; - break; - case PJ_SSL_CERT_ECHAIN_TOO_LONG: - p = "The certificate chain length is too long"; - break; - case PJ_SSL_CERT_EIDENTITY_NOT_MATCH: - p = "The server identity does not match to any identities " - "specified in the certificate"; - break; - case PJ_SSL_CERT_EUNKNOWN: - default: - unknown++; - break; - } - - /* Set error string */ - if (p) - error_strings[i++] = p; - - /* Next */ - shift_idx++; - errs >>= 1; - } - - /* Unknown error */ - if (unknown && i < *count) - error_strings[i++] = "Unknown verification error"; - - *count = i; - - return PJ_SUCCESS; -} diff --git a/res/pjproject/pjlib/src/pj/ssl_sock_dump.c b/res/pjproject/pjlib/src/pj/ssl_sock_dump.c deleted file mode 100644 index 307431f5bb..0000000000 --- a/res/pjproject/pjlib/src/pj/ssl_sock_dump.c +++ /dev/null @@ -1,148 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - - -/* Only build when PJ_HAS_SSL_SOCK is enabled */ -#if defined(PJ_HAS_SSL_SOCK) && PJ_HAS_SSL_SOCK!=0 - -#define THIS_FILE "ssl_sock_dump.c" - -#define CHECK_BUF_LEN() \ - if ((len < 0) || (len >= end-p)) { \ - *p = '\0'; \ - return -1; \ - } \ - p += len; - -PJ_DEF(pj_ssize_t) pj_ssl_cert_info_dump(const pj_ssl_cert_info *ci, - const char *indent, - char *buf, - pj_size_t buf_size) -{ - const char *wdays[] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; - pj_parsed_time pt1; - pj_parsed_time pt2; - unsigned i; - int len = 0; - char *p, *end; - - p = buf; - end = buf + buf_size; - - pj_time_decode(&ci->validity.start, &pt1); - pj_time_decode(&ci->validity.end, &pt2); - - /* Version */ - len = pj_ansi_snprintf(p, end-p, "%sVersion : v%d\n", - indent, ci->version); - CHECK_BUF_LEN(); - - /* Serial number */ - len = pj_ansi_snprintf(p, end-p, "%sSerial : ", indent); - CHECK_BUF_LEN(); - - for (i = 0; i < sizeof(ci->serial_no) && !ci->serial_no[i]; ++i); - for (; i < sizeof(ci->serial_no); ++i) { - len = pj_ansi_snprintf(p, end-p, "%02X ", ci->serial_no[i]); - CHECK_BUF_LEN(); - } - *(p-1) = '\n'; - - /* Subject */ - len = pj_ansi_snprintf( p, end-p, "%sSubject : %.*s\n", indent, - (int)ci->subject.cn.slen, - ci->subject.cn.ptr); - CHECK_BUF_LEN(); - len = pj_ansi_snprintf( p, end-p, "%s %.*s\n", indent, - (int)ci->subject.info.slen, - ci->subject.info.ptr); - CHECK_BUF_LEN(); - - /* Issuer */ - len = pj_ansi_snprintf( p, end-p, "%sIssuer : %.*s\n", indent, - (int)ci->issuer.cn.slen, - ci->issuer.cn.ptr); - CHECK_BUF_LEN(); - len = pj_ansi_snprintf( p, end-p, "%s %.*s\n", indent, - (int)ci->issuer.info.slen, - ci->issuer.info.ptr); - CHECK_BUF_LEN(); - - /* Validity period */ - len = pj_ansi_snprintf( p, end-p, "%sValid from : %s %4d-%02d-%02d " - "%02d:%02d:%02d.%03d %s\n", indent, - wdays[pt1.wday], pt1.year, pt1.mon+1, pt1.day, - pt1.hour, pt1.min, pt1.sec, pt1.msec, - (ci->validity.gmt? "GMT":"")); - CHECK_BUF_LEN(); - - len = pj_ansi_snprintf( p, end-p, "%sValid to : %s %4d-%02d-%02d " - "%02d:%02d:%02d.%03d %s\n", indent, - wdays[pt2.wday], pt2.year, pt2.mon+1, pt2.day, - pt2.hour, pt2.min, pt2.sec, pt2.msec, - (ci->validity.gmt? "GMT":"")); - CHECK_BUF_LEN(); - - /* Subject alternative name extension */ - if (ci->subj_alt_name.cnt) { - unsigned i; - - len = pj_ansi_snprintf(p, end-p, "%ssubjectAltName extension\n", - indent); - CHECK_BUF_LEN(); - - for (i = 0; i < ci->subj_alt_name.cnt; ++i) { - const char *type = NULL; - - switch(ci->subj_alt_name.entry[i].type) { - case PJ_SSL_CERT_NAME_RFC822: - type = "MAIL"; - break; - case PJ_SSL_CERT_NAME_DNS: - type = " DNS"; - break; - case PJ_SSL_CERT_NAME_URI: - type = " URI"; - break; - case PJ_SSL_CERT_NAME_IP: - type = " IP"; - break; - default: - break; - } - if (type) { - len = pj_ansi_snprintf( p, end-p, "%s %s : %.*s\n", indent, - type, - (int)ci->subj_alt_name.entry[i].name.slen, - ci->subj_alt_name.entry[i].name.ptr); - CHECK_BUF_LEN(); - } - } - } - - return (p-buf); -} - - -#endif /* PJ_HAS_SSL_SOCK */ - diff --git a/res/pjproject/pjlib/src/pj/ssl_sock_ossl.c b/res/pjproject/pjlib/src/pj/ssl_sock_ossl.c deleted file mode 100644 index fbb5a49ce1..0000000000 --- a/res/pjproject/pjlib/src/pj/ssl_sock_ossl.c +++ /dev/null @@ -1,2390 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -/* Only build when PJ_HAS_SSL_SOCK is enabled */ -#if defined(PJ_HAS_SSL_SOCK) && PJ_HAS_SSL_SOCK!=0 - -#define THIS_FILE "ssl_sock_ossl.c" - -/* Workaround for ticket #985 */ -#define DELAYED_CLOSE_TIMEOUT 200 - -/* Maximum ciphers */ -#define MAX_CIPHERS 100 - -/* - * Include OpenSSL headers - */ -#include -#include -#include -#include - - -#ifdef _MSC_VER -# ifdef _DEBUG -# pragma comment( lib, "libeay32MTd") -# pragma comment( lib, "ssleay32MTd") -#else -# pragma comment( lib, "libeay32MT") -# pragma comment( lib, "ssleay32MT") -# endif -#endif - - -/* - * SSL/TLS state enumeration. - */ -enum ssl_state { - SSL_STATE_NULL, - SSL_STATE_HANDSHAKING, - SSL_STATE_ESTABLISHED -}; - -/* - * Internal timer types. - */ -enum timer_id -{ - TIMER_NONE, - TIMER_HANDSHAKE_TIMEOUT, - TIMER_CLOSE -}; - -/* - * Structure of SSL socket read buffer. - */ -typedef struct read_data_t -{ - void *data; - pj_size_t len; -} read_data_t; - -/* - * Get the offset of pointer to read-buffer of SSL socket from read-buffer - * of active socket. Note that both SSL socket and active socket employ - * different but correlated read-buffers (as much as async_cnt for each), - * and to make it easier/faster to find corresponding SSL socket's read-buffer - * from known active socket's read-buffer, the pointer of corresponding - * SSL socket's read-buffer is stored right after the end of active socket's - * read-buffer. - */ -#define OFFSET_OF_READ_DATA_PTR(ssock, asock_rbuf) \ - (read_data_t**) \ - ((pj_int8_t*)(asock_rbuf) + \ - ssock->param.read_buffer_size) - -/* - * Structure of SSL socket write buffer. - */ -typedef struct write_data_t { - pj_ioqueue_op_key_t key; - pj_size_t record_len; - pj_ioqueue_op_key_t *app_key; - pj_size_t plain_data_len; - pj_size_t data_len; - unsigned flags; - union { - char content[1]; - const char *ptr; - } data; -} write_data_t; - -/* - * Structure of SSL socket write state. - */ -typedef struct write_state_t { - char *buf; - pj_size_t max_len; - char *start; - pj_size_t len; - write_data_t *last_data; -} write_state_t; - -/* - * Structure of write data pending. - */ -typedef struct write_pending_t { - PJ_DECL_LIST_MEMBER(struct write_pending_t); - write_data_t data; -} write_pending_t; - -/* - * Secure socket structure definition. - */ -struct pj_ssl_sock_t -{ - pj_pool_t *pool; - pj_ssl_sock_t *parent; - pj_ssl_sock_param param; - pj_ssl_cert_t *cert; - - pj_ssl_cert_info local_cert_info; - pj_ssl_cert_info remote_cert_info; - - pj_bool_t is_server; - enum ssl_state ssl_state; - pj_ioqueue_op_key_t handshake_op_key; - pj_timer_entry timer; - pj_status_t verify_status; - - pj_sock_t sock; - pj_activesock_t *asock; - - pj_sockaddr local_addr; - pj_sockaddr rem_addr; - int addr_len; - - pj_bool_t read_started; - pj_size_t read_size; - pj_uint32_t read_flags; - void **asock_rbuf; - read_data_t *ssock_rbuf; - - write_state_t write_state; - write_pending_t write_pending; - write_pending_t write_pending_empty; - pj_lock_t *write_mutex; /* protect write BIO and write_state */ - - SSL_CTX *ossl_ctx; - SSL *ossl_ssl; - BIO *ossl_rbio; - BIO *ossl_wbio; -}; - - -/* - * Certificate/credential structure definition. - */ -struct pj_ssl_cert_t -{ - pj_str_t CA_file; - pj_str_t cert_file; - pj_str_t privkey_file; - pj_str_t privkey_pass; -}; - - -static pj_status_t flush_delayed_send(pj_ssl_sock_t *ssock); - -/* - ******************************************************************* - * Static/internal functions. - ******************************************************************* - */ - -/** - * Mapping from OpenSSL error codes to pjlib error space. - */ - -#define PJ_SSL_ERRNO_START (PJ_ERRNO_START_USER + \ - PJ_ERRNO_SPACE_SIZE*6) - -#define PJ_SSL_ERRNO_SPACE_SIZE PJ_ERRNO_SPACE_SIZE - -#define STATUS_FROM_SSL_ERR(err, status) { \ - status = ERR_GET_LIB(err)*300 + ERR_GET_REASON(err);\ - pj_assert(status < PJ_SSL_ERRNO_SPACE_SIZE);\ - if (status) status += PJ_SSL_ERRNO_START;\ -} - -#define GET_SSL_STATUS(status) { \ - unsigned long e = ERR_get_error();\ - STATUS_FROM_SSL_ERR(e, status);\ -} - -/* - * Get error string of OpenSSL. - */ -static pj_str_t ssl_strerror(pj_status_t status, - char *buf, pj_size_t bufsize) -{ - pj_str_t errstr; - unsigned long ssl_err = status; - - if (ssl_err) { - unsigned long l, r; - ssl_err -= PJ_SSL_ERRNO_START; - l = ssl_err/300; - r = ssl_err%300; - ssl_err = ERR_PACK(l, 0, r); - } - -#if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING != 0) - - { - const char *tmp = NULL; - - if (ssl_err >= 300) - tmp = ERR_reason_error_string(ssl_err); - else - tmp = X509_verify_cert_error_string(ssl_err); - - if (tmp) { - pj_ansi_strncpy(buf, tmp, bufsize); - errstr = pj_str(buf); - return errstr; - } - } - -#endif /* PJ_HAS_ERROR_STRING */ - - errstr.ptr = buf; - errstr.slen = pj_ansi_snprintf(buf, bufsize, - "Unknown OpenSSL error %lu", - ssl_err); - - return errstr; -} - - -/* OpenSSL library initialization counter */ -static int openssl_init_count; - -/* OpenSSL available ciphers */ -static unsigned openssl_cipher_num; -static struct openssl_ciphers_t { - pj_ssl_cipher id; - const char *name; -} openssl_ciphers[MAX_CIPHERS]; - -/* OpenSSL application data index */ -static int sslsock_idx; - - -/* Initialize OpenSSL */ -static pj_status_t init_openssl(void) -{ - pj_status_t status; - - if (openssl_init_count) - return PJ_SUCCESS; - - openssl_init_count = 1; - - /* Register error subsystem */ - status = pj_register_strerror(PJ_SSL_ERRNO_START, - PJ_SSL_ERRNO_SPACE_SIZE, - &ssl_strerror); - pj_assert(status == PJ_SUCCESS); - - /* Init OpenSSL lib */ - SSL_library_init(); - SSL_load_error_strings(); - OpenSSL_add_all_algorithms(); - - /* Init available ciphers */ - if (openssl_cipher_num == 0) { - SSL_METHOD *meth = NULL; - SSL_CTX *ctx; - SSL *ssl; - STACK_OF(SSL_CIPHER) *sk_cipher; - unsigned i, n; - - meth = (SSL_METHOD*)SSLv23_server_method(); - if (!meth) - meth = (SSL_METHOD*)TLSv1_server_method(); - if (!meth) - meth = (SSL_METHOD*)SSLv3_server_method(); -#ifndef OPENSSL_NO_SSL2 - if (!meth) - meth = (SSL_METHOD*)SSLv2_server_method(); -#endif - pj_assert(meth); - - ctx=SSL_CTX_new(meth); - SSL_CTX_set_cipher_list(ctx, "ALL"); - - ssl = SSL_new(ctx); - sk_cipher = SSL_get_ciphers(ssl); - - n = sk_SSL_CIPHER_num(sk_cipher); - if (n > PJ_ARRAY_SIZE(openssl_ciphers)) - n = PJ_ARRAY_SIZE(openssl_ciphers); - - for (i = 0; i < n; ++i) { - SSL_CIPHER *c; - c = sk_SSL_CIPHER_value(sk_cipher,i); - openssl_ciphers[i].id = (pj_ssl_cipher) - (pj_uint32_t)c->id & 0x00FFFFFF; - openssl_ciphers[i].name = SSL_CIPHER_get_name(c); - } - - SSL_free(ssl); - SSL_CTX_free(ctx); - - openssl_cipher_num = n; - } - - /* Create OpenSSL application data index for SSL socket */ - sslsock_idx = SSL_get_ex_new_index(0, "SSL socket", NULL, NULL, NULL); - - return PJ_SUCCESS; -} - - -/* Shutdown OpenSSL */ -static void shutdown_openssl(void) -{ - PJ_UNUSED_ARG(openssl_init_count); -} - - -/* SSL password callback. */ -static int password_cb(char *buf, int num, int rwflag, void *user_data) -{ - pj_ssl_cert_t *cert = (pj_ssl_cert_t*) user_data; - - PJ_UNUSED_ARG(rwflag); - - if(num < cert->privkey_pass.slen) - return 0; - - pj_memcpy(buf, cert->privkey_pass.ptr, cert->privkey_pass.slen); - return cert->privkey_pass.slen; -} - - -/* SSL password callback. */ -static int verify_cb(int preverify_ok, X509_STORE_CTX *x509_ctx) -{ - pj_ssl_sock_t *ssock; - SSL *ossl_ssl; - int err; - - /* Get SSL instance */ - ossl_ssl = X509_STORE_CTX_get_ex_data(x509_ctx, - SSL_get_ex_data_X509_STORE_CTX_idx()); - pj_assert(ossl_ssl); - - /* Get SSL socket instance */ - ssock = SSL_get_ex_data(ossl_ssl, sslsock_idx); - pj_assert(ssock); - - /* Store verification status */ - err = X509_STORE_CTX_get_error(x509_ctx); - switch (err) { - case X509_V_OK: - break; - - case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT: - ssock->verify_status |= PJ_SSL_CERT_EISSUER_NOT_FOUND; - break; - - case X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD: - case X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD: - case X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE: - case X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY: - ssock->verify_status |= PJ_SSL_CERT_EINVALID_FORMAT; - break; - - case X509_V_ERR_CERT_NOT_YET_VALID: - case X509_V_ERR_CERT_HAS_EXPIRED: - ssock->verify_status |= PJ_SSL_CERT_EVALIDITY_PERIOD; - break; - - case X509_V_ERR_UNABLE_TO_GET_CRL: - case X509_V_ERR_CRL_NOT_YET_VALID: - case X509_V_ERR_CRL_HAS_EXPIRED: - case X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE: - case X509_V_ERR_CRL_SIGNATURE_FAILURE: - case X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD: - case X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD: - ssock->verify_status |= PJ_SSL_CERT_ECRL_FAILURE; - break; - - case X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT: - case X509_V_ERR_CERT_UNTRUSTED: - case X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN: - case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY: - ssock->verify_status |= PJ_SSL_CERT_EUNTRUSTED; - break; - - case X509_V_ERR_CERT_SIGNATURE_FAILURE: - case X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE: - case X509_V_ERR_SUBJECT_ISSUER_MISMATCH: - case X509_V_ERR_AKID_SKID_MISMATCH: - case X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH: - case X509_V_ERR_KEYUSAGE_NO_CERTSIGN: - ssock->verify_status |= PJ_SSL_CERT_EISSUER_MISMATCH; - break; - - case X509_V_ERR_CERT_REVOKED: - ssock->verify_status |= PJ_SSL_CERT_EREVOKED; - break; - - case X509_V_ERR_INVALID_PURPOSE: - case X509_V_ERR_CERT_REJECTED: - case X509_V_ERR_INVALID_CA: - ssock->verify_status |= PJ_SSL_CERT_EINVALID_PURPOSE; - break; - - case X509_V_ERR_CERT_CHAIN_TOO_LONG: /* not really used */ - case X509_V_ERR_PATH_LENGTH_EXCEEDED: - ssock->verify_status |= PJ_SSL_CERT_ECHAIN_TOO_LONG; - break; - - /* Unknown errors */ - case X509_V_ERR_OUT_OF_MEM: - default: - ssock->verify_status |= PJ_SSL_CERT_EUNKNOWN; - break; - } - - /* When verification is not requested just return ok here, however - * application can still get the verification status. - */ - if (PJ_FALSE == ssock->param.verify_peer) - preverify_ok = 1; - - return preverify_ok; -} - -/* Setting SSL sock cipher list */ -static pj_status_t set_cipher_list(pj_ssl_sock_t *ssock); - - -/* Create and initialize new SSL context and instance */ -static pj_status_t create_ssl(pj_ssl_sock_t *ssock) -{ - SSL_METHOD *ssl_method; - SSL_CTX *ctx; - pj_ssl_cert_t *cert; - int mode, rc; - pj_status_t status; - - pj_assert(ssock); - - cert = ssock->cert; - - /* Make sure OpenSSL library has been initialized */ - init_openssl(); - - /* Determine SSL method to use */ - switch (ssock->param.proto) { - case PJ_SSL_SOCK_PROTO_DEFAULT: - case PJ_SSL_SOCK_PROTO_TLS1: - ssl_method = (SSL_METHOD*)TLSv1_method(); - break; -#ifndef OPENSSL_NO_SSL2 - case PJ_SSL_SOCK_PROTO_SSL2: - ssl_method = (SSL_METHOD*)SSLv2_method(); - break; -#endif - case PJ_SSL_SOCK_PROTO_SSL3: - ssl_method = (SSL_METHOD*)SSLv3_method(); - break; - case PJ_SSL_SOCK_PROTO_SSL23: - ssl_method = (SSL_METHOD*)SSLv23_method(); - break; - //case PJ_SSL_SOCK_PROTO_DTLS1: - //ssl_method = (SSL_METHOD*)DTLSv1_method(); - //break; - default: - return PJ_EINVAL; - } - - /* Create SSL context */ - ctx = SSL_CTX_new(ssl_method); - if (ctx == NULL) { - GET_SSL_STATUS(status); - return status; - } - - /* Apply credentials */ - if (cert) { - /* Load CA list if one is specified. */ - if (cert->CA_file.slen) { - - rc = SSL_CTX_load_verify_locations(ctx, cert->CA_file.ptr, NULL); - - if (rc != 1) { - GET_SSL_STATUS(status); - PJ_LOG(1,(ssock->pool->obj_name, "Error loading CA list file " - "'%s'", cert->CA_file.ptr)); - SSL_CTX_free(ctx); - return status; - } - } - - /* Set password callback */ - if (cert->privkey_pass.slen) { - SSL_CTX_set_default_passwd_cb(ctx, password_cb); - SSL_CTX_set_default_passwd_cb_userdata(ctx, cert); - } - - - /* Load certificate if one is specified */ - if (cert->cert_file.slen) { - - /* Load certificate chain from file into ctx */ - rc = SSL_CTX_use_certificate_chain_file(ctx, cert->cert_file.ptr); - - if(rc != 1) { - GET_SSL_STATUS(status); - PJ_LOG(1,(ssock->pool->obj_name, "Error loading certificate " - "chain file '%s'", cert->cert_file.ptr)); - SSL_CTX_free(ctx); - return status; - } - } - - - /* Load private key if one is specified */ - if (cert->privkey_file.slen) { - /* Adds the first private key found in file to ctx */ - rc = SSL_CTX_use_PrivateKey_file(ctx, cert->privkey_file.ptr, - SSL_FILETYPE_PEM); - - if(rc != 1) { - GET_SSL_STATUS(status); - PJ_LOG(1,(ssock->pool->obj_name, "Error adding private key " - "from '%s'", cert->privkey_file.ptr)); - SSL_CTX_free(ctx); - return status; - } - } - } - - /* Create SSL instance */ - ssock->ossl_ctx = ctx; - ssock->ossl_ssl = SSL_new(ssock->ossl_ctx); - if (ssock->ossl_ssl == NULL) { - GET_SSL_STATUS(status); - return status; - } - - /* Set SSL sock as application data of SSL instance */ - SSL_set_ex_data(ssock->ossl_ssl, sslsock_idx, ssock); - - /* SSL verification options */ - mode = SSL_VERIFY_PEER; - if (ssock->is_server && ssock->param.require_client_cert) - mode |= SSL_VERIFY_FAIL_IF_NO_PEER_CERT; - - SSL_set_verify(ssock->ossl_ssl, mode, &verify_cb); - - /* Set cipher list */ - status = set_cipher_list(ssock); - if (status != PJ_SUCCESS) - return status; - - /* Setup SSL BIOs */ - ssock->ossl_rbio = BIO_new(BIO_s_mem()); - ssock->ossl_wbio = BIO_new(BIO_s_mem()); - (void)BIO_set_close(ssock->ossl_rbio, BIO_CLOSE); - (void)BIO_set_close(ssock->ossl_wbio, BIO_CLOSE); - SSL_set_bio(ssock->ossl_ssl, ssock->ossl_rbio, ssock->ossl_wbio); - - return PJ_SUCCESS; -} - - -/* Destroy SSL context and instance */ -static void destroy_ssl(pj_ssl_sock_t *ssock) -{ - /* Destroy SSL instance */ - if (ssock->ossl_ssl) { - SSL_shutdown(ssock->ossl_ssl); - SSL_free(ssock->ossl_ssl); /* this will also close BIOs */ - ssock->ossl_ssl = NULL; - } - - /* Destroy SSL context */ - if (ssock->ossl_ctx) { - SSL_CTX_free(ssock->ossl_ctx); - ssock->ossl_ctx = NULL; - } - - /* Potentially shutdown OpenSSL library if this is the last - * context exists. - */ - shutdown_openssl(); -} - - -/* Reset SSL socket state */ -static void reset_ssl_sock_state(pj_ssl_sock_t *ssock) -{ - ssock->ssl_state = SSL_STATE_NULL; - - destroy_ssl(ssock); - - if (ssock->asock) { - pj_activesock_close(ssock->asock); - ssock->asock = NULL; - ssock->sock = PJ_INVALID_SOCKET; - } - if (ssock->sock != PJ_INVALID_SOCKET) { - pj_sock_close(ssock->sock); - ssock->sock = PJ_INVALID_SOCKET; - } - - /* Upon error, OpenSSL may leave any error description in the thread - * error queue, which sometime may cause next call to SSL API returning - * false error alarm, e.g: in Linux, SSL_CTX_use_certificate_chain_file() - * returning false error after a handshake error (in different SSL_CTX!). - * For now, just clear thread error queue here. - */ - ERR_clear_error(); -} - - -/* Generate cipher list with user preference order in OpenSSL format */ -static pj_status_t set_cipher_list(pj_ssl_sock_t *ssock) -{ - char buf[1024]; - pj_str_t cipher_list; - STACK_OF(SSL_CIPHER) *sk_cipher; - unsigned i; - int j, ret; - - if (ssock->param.ciphers_num == 0) - return PJ_SUCCESS; - - pj_strset(&cipher_list, buf, 0); - - /* Set SSL with ALL available ciphers */ - SSL_set_cipher_list(ssock->ossl_ssl, "ALL"); - - /* Generate user specified cipher list in OpenSSL format */ - sk_cipher = SSL_get_ciphers(ssock->ossl_ssl); - for (i = 0; i < ssock->param.ciphers_num; ++i) { - for (j = 0; j < sk_SSL_CIPHER_num(sk_cipher); ++j) { - SSL_CIPHER *c; - c = sk_SSL_CIPHER_value(sk_cipher, j); - if (ssock->param.ciphers[i] == (pj_ssl_cipher) - ((pj_uint32_t)c->id & 0x00FFFFFF)) - { - const char *c_name; - - c_name = SSL_CIPHER_get_name(c); - - /* Check buffer size */ - if (cipher_list.slen + pj_ansi_strlen(c_name) + 2 > sizeof(buf)) { - pj_assert(!"Insufficient temporary buffer for cipher"); - return PJ_ETOOMANY; - } - - /* Add colon separator */ - if (cipher_list.slen) - pj_strcat2(&cipher_list, ":"); - - /* Add the cipher */ - pj_strcat2(&cipher_list, c_name); - break; - } - } - } - - /* Put NULL termination in the generated cipher list */ - cipher_list.ptr[cipher_list.slen] = '\0'; - - /* Finally, set chosen cipher list */ - ret = SSL_set_cipher_list(ssock->ossl_ssl, buf); - if (ret < 1) { - pj_status_t status; - GET_SSL_STATUS(status); - return status; - } - - return PJ_SUCCESS; -} - - -/* Parse OpenSSL ASN1_TIME to pj_time_val and GMT info */ -static pj_bool_t parse_ossl_asn1_time(pj_time_val *tv, pj_bool_t *gmt, - const ASN1_TIME *tm) -{ - unsigned long parts[7] = {0}; - char *p, *end; - unsigned len; - pj_bool_t utc; - pj_parsed_time pt; - int i; - - utc = tm->type == V_ASN1_UTCTIME; - p = (char*)tm->data; - len = tm->length; - end = p + len - 1; - - /* GMT */ - *gmt = (*end == 'Z'); - - /* parse parts */ - for (i = 0; i < 7 && p < end; ++i) { - pj_str_t st; - - if (i==0 && !utc) { - /* 4 digits year part for non-UTC time format */ - st.slen = 4; - } else if (i==6) { - /* fraction of seconds */ - if (*p == '.') ++p; - st.slen = end - p + 1; - } else { - /* other parts always 2 digits length */ - st.slen = 2; - } - st.ptr = p; - - parts[i] = pj_strtoul(&st); - p += st.slen; - } - - /* encode parts to pj_time_val */ - pt.year = parts[0]; - if (utc) - pt.year += (pt.year < 50)? 2000:1900; - pt.mon = parts[1] - 1; - pt.day = parts[2]; - pt.hour = parts[3]; - pt.min = parts[4]; - pt.sec = parts[5]; - pt.msec = parts[6]; - - pj_time_encode(&pt, tv); - - return PJ_TRUE; -} - - -/* Get Common Name field string from a general name string */ -static void get_cn_from_gen_name(const pj_str_t *gen_name, pj_str_t *cn) -{ - pj_str_t CN_sign = {"/CN=", 4}; - char *p, *q; - - pj_bzero(cn, sizeof(cn)); - - p = pj_strstr(gen_name, &CN_sign); - if (!p) - return; - - p += 4; /* shift pointer to value part */ - pj_strset(cn, p, gen_name->slen - (p - gen_name->ptr)); - q = pj_strchr(cn, '/'); - if (q) - cn->slen = q - p; -} - - -/* Get certificate info from OpenSSL X509, in case the certificate info - * hal already populated, this function will check if the contents need - * to be updated by inspecting the issuer and the serial number. - */ -static void get_cert_info(pj_pool_t *pool, pj_ssl_cert_info *ci, X509 *x) -{ - pj_bool_t update_needed; - char buf[512]; - pj_uint8_t serial_no[64] = {0}; /* should be >= sizeof(ci->serial_no) */ - pj_uint8_t *p; - unsigned len; - GENERAL_NAMES *names = NULL; - - pj_assert(pool && ci && x); - - /* Get issuer */ - X509_NAME_oneline(X509_get_issuer_name(x), buf, sizeof(buf)); - - /* Get serial no */ - p = (pj_uint8_t*) M_ASN1_STRING_data(X509_get_serialNumber(x)); - len = M_ASN1_STRING_length(X509_get_serialNumber(x)); - if (len > sizeof(ci->serial_no)) - len = sizeof(ci->serial_no); - pj_memcpy(serial_no + sizeof(ci->serial_no) - len, p, len); - - /* Check if the contents need to be updated. */ - update_needed = pj_strcmp2(&ci->issuer.info, buf) || - pj_memcmp(ci->serial_no, serial_no, sizeof(ci->serial_no)); - if (!update_needed) - return; - - /* Update cert info */ - - pj_bzero(ci, sizeof(pj_ssl_cert_info)); - - /* Version */ - ci->version = X509_get_version(x) + 1; - - /* Issuer */ - pj_strdup2(pool, &ci->issuer.info, buf); - get_cn_from_gen_name(&ci->issuer.info, &ci->issuer.cn); - - /* Serial number */ - pj_memcpy(ci->serial_no, serial_no, sizeof(ci->serial_no)); - - /* Subject */ - pj_strdup2(pool, &ci->subject.info, - X509_NAME_oneline(X509_get_subject_name(x), - buf, sizeof(buf))); - get_cn_from_gen_name(&ci->subject.info, &ci->subject.cn); - - /* Validity */ - parse_ossl_asn1_time(&ci->validity.start, &ci->validity.gmt, - X509_get_notBefore(x)); - parse_ossl_asn1_time(&ci->validity.end, &ci->validity.gmt, - X509_get_notAfter(x)); - - /* Subject Alternative Name extension */ - if (ci->version >= 3) { - names = (GENERAL_NAMES*) X509_get_ext_d2i(x, NID_subject_alt_name, - NULL, NULL); - } - if (names) { - unsigned i, cnt; - - cnt = sk_GENERAL_NAME_num(names); - ci->subj_alt_name.entry = pj_pool_calloc(pool, cnt, - sizeof(*ci->subj_alt_name.entry)); - - for (i = 0; i < cnt; ++i) { - unsigned char *p = 0; - pj_ssl_cert_name_type type = PJ_SSL_CERT_NAME_UNKNOWN; - const GENERAL_NAME *name; - - name = sk_GENERAL_NAME_value(names, i); - - switch (name->type) { - case GEN_EMAIL: - len = ASN1_STRING_to_UTF8(&p, name->d.ia5); - type = PJ_SSL_CERT_NAME_RFC822; - break; - case GEN_DNS: - len = ASN1_STRING_to_UTF8(&p, name->d.ia5); - type = PJ_SSL_CERT_NAME_DNS; - break; - case GEN_URI: - len = ASN1_STRING_to_UTF8(&p, name->d.ia5); - type = PJ_SSL_CERT_NAME_URI; - break; - case GEN_IPADD: - p = ASN1_STRING_data(name->d.ip); - len = ASN1_STRING_length(name->d.ip); - type = PJ_SSL_CERT_NAME_IP; - break; - default: - break; - } - - if (p && len && type != PJ_SSL_CERT_NAME_UNKNOWN) { - ci->subj_alt_name.entry[ci->subj_alt_name.cnt].type = type; - if (type == PJ_SSL_CERT_NAME_IP) { - int af = pj_AF_INET(); - if (len == sizeof(pj_in6_addr)) af = pj_AF_INET6(); - pj_inet_ntop2(af, p, buf, sizeof(buf)); - pj_strdup2(pool, - &ci->subj_alt_name.entry[ci->subj_alt_name.cnt].name, - buf); - } else { - pj_strdup2(pool, - &ci->subj_alt_name.entry[ci->subj_alt_name.cnt].name, - (char*)p); - OPENSSL_free(p); - } - ci->subj_alt_name.cnt++; - } - } - } -} - - -/* Update local & remote certificates info. This function should be - * called after handshake or renegotiation successfully completed. - */ -static void update_certs_info(pj_ssl_sock_t *ssock) -{ - X509 *x; - - pj_assert(ssock->ssl_state == SSL_STATE_ESTABLISHED); - - /* Active local certificate */ - x = SSL_get_certificate(ssock->ossl_ssl); - if (x) { - get_cert_info(ssock->pool, &ssock->local_cert_info, x); - /* Don't free local's X509! */ - } else { - pj_bzero(&ssock->local_cert_info, sizeof(pj_ssl_cert_info)); - } - - /* Active remote certificate */ - x = SSL_get_peer_certificate(ssock->ossl_ssl); - if (x) { - get_cert_info(ssock->pool, &ssock->remote_cert_info, x); - /* Free peer's X509 */ - X509_free(x); - } else { - pj_bzero(&ssock->remote_cert_info, sizeof(pj_ssl_cert_info)); - } -} - - -/* When handshake completed: - * - notify application - * - if handshake failed, reset SSL state - * - return PJ_FALSE when SSL socket instance is destroyed by application. - */ -static pj_bool_t on_handshake_complete(pj_ssl_sock_t *ssock, - pj_status_t status) -{ - /* Cancel handshake timer */ - if (ssock->timer.id == TIMER_HANDSHAKE_TIMEOUT) { - pj_timer_heap_cancel(ssock->param.timer_heap, &ssock->timer); - ssock->timer.id = TIMER_NONE; - } - - /* Update certificates info on successful handshake */ - if (status == PJ_SUCCESS) - update_certs_info(ssock); - - /* Accepting */ - if (ssock->is_server) { - if (status != PJ_SUCCESS) { - /* Handshake failed in accepting, destroy our self silently. */ - - char errmsg[PJ_ERR_MSG_SIZE]; - char buf[PJ_INET6_ADDRSTRLEN+10]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(3,(ssock->pool->obj_name, "Handshake failed in accepting " - "%s: %s", - pj_sockaddr_print(&ssock->rem_addr, buf, sizeof(buf), 3), - errmsg)); - - /* Workaround for ticket #985 */ -#if defined(PJ_WIN32) && PJ_WIN32!=0 - if (ssock->param.timer_heap) { - pj_time_val interval = {0, DELAYED_CLOSE_TIMEOUT}; - - reset_ssl_sock_state(ssock); - - ssock->timer.id = TIMER_CLOSE; - pj_time_val_normalize(&interval); - if (pj_timer_heap_schedule(ssock->param.timer_heap, - &ssock->timer, &interval) != 0) - { - ssock->timer.id = TIMER_NONE; - pj_ssl_sock_close(ssock); - } - } else -#endif /* PJ_WIN32 */ - { - pj_ssl_sock_close(ssock); - } - return PJ_FALSE; - } - /* Notify application the newly accepted SSL socket */ - if (ssock->param.cb.on_accept_complete) { - pj_bool_t ret; - ret = (*ssock->param.cb.on_accept_complete) - (ssock->parent, ssock, (pj_sockaddr_t*)&ssock->rem_addr, - pj_sockaddr_get_len((pj_sockaddr_t*)&ssock->rem_addr)); - if (ret == PJ_FALSE) - return PJ_FALSE; - } - } - - /* Connecting */ - else { - /* On failure, reset SSL socket state first, as app may try to - * reconnect in the callback. - */ - if (status != PJ_SUCCESS) { - reset_ssl_sock_state(ssock); - } - if (ssock->param.cb.on_connect_complete) { - pj_bool_t ret; - ret = (*ssock->param.cb.on_connect_complete)(ssock, status); - if (ret == PJ_FALSE) - return PJ_FALSE; - } - } - - return PJ_TRUE; -} - -/* Flush write BIO to network socket. Note that any access to write BIO - * MUST be serialized, so mutex protection must cover any call to OpenSSL - * API (that possibly generate data for write BIO) along with the call to - * this function (flushing all data in write BIO generated by above - * OpenSSL API call). - */ -static pj_status_t flush_write_bio(pj_ssl_sock_t *ssock, - pj_ioqueue_op_key_t *send_key, - pj_size_t orig_len, - unsigned flags) -{ - char *data; - pj_ssize_t len; - - write_state_t *write_st = &ssock->write_state; - write_data_t *wdata; - pj_size_t avail_len, needed_len, skipped_len = 0; - pj_status_t status; - - /* Check if there is data in write BIO, flush it if any */ - if (!BIO_pending(ssock->ossl_wbio)) - return PJ_SUCCESS; - - /* Get data and its length */ - len = BIO_get_mem_data(ssock->ossl_wbio, &data); - if (len == 0) - return PJ_SUCCESS; - - /* Calculate buffer size needed, and align it to 8 */ - needed_len = len + sizeof(write_data_t); - needed_len = ((needed_len + 7) >> 3) << 3; - - /* Check buffer availability */ - avail_len = write_st->max_len - write_st->len; - if (avail_len < needed_len) - return PJ_ENOMEM; - - /* More buffer availability check, note that the write data must be in - * a contigue buffer. - */ - if (write_st->len == 0) { - - write_st->start = write_st->buf; - wdata = (write_data_t*)write_st->start; - - } else { - - char *reg1, *reg2; - pj_size_t reg1_len, reg2_len; - - /* Unused slots may be wrapped/splitted into two regions, so let's - * analyze them if any region can hold the write data. - */ - reg1 = write_st->start + write_st->len; - if (reg1 >= write_st->buf + write_st->max_len) - reg1 -= write_st->max_len; - reg1_len = write_st->max_len - write_st->len; - if (reg1 + reg1_len > write_st->buf + write_st->max_len) { - reg1_len = write_st->buf + write_st->max_len - reg1; - reg2 = write_st->buf; - reg2_len = write_st->start - write_st->buf; - } else { - reg2 = NULL; - reg2_len = 0; - } - avail_len = PJ_MAX(reg1_len, reg2_len); - if (avail_len < needed_len) - return PJ_ENOMEM; - - /* Get write data pointer and update buffer length */ - if (reg1_len >= needed_len) { - wdata = (write_data_t*)reg1; - } else { - wdata = (write_data_t*)reg2; - /* Unused slot in region 1 is skipped as current write data - * doesn't fit it. - */ - skipped_len = reg1_len; - } - } - - /* Copy the data and set its properties into the buffer */ - pj_bzero(wdata, sizeof(write_data_t)); - wdata->app_key = send_key; - wdata->record_len = needed_len; - wdata->data_len = len; - wdata->plain_data_len = orig_len; - wdata->flags = flags; - pj_memcpy(&wdata->data, data, len); - - /* Send it */ - if (ssock->param.sock_type == pj_SOCK_STREAM()) { - status = pj_activesock_send(ssock->asock, &wdata->key, - wdata->data.content, &len, - flags); - } else { - status = pj_activesock_sendto(ssock->asock, &wdata->key, - wdata->data.content, &len, - flags, - (pj_sockaddr_t*)&ssock->rem_addr, - ssock->addr_len); - } - - /* Oh no, EWOULDBLOCK! */ - if (status == PJ_STATUS_FROM_OS(OSERR_EWOULDBLOCK)) { - /* Just return PJ_SUCCESS here, the pending data will be sent in next - * call of this function since the data is still stored in write BIO. - */ - return PJ_SUCCESS; - } - - /* Reset write BIO after flushed */ - (void)BIO_reset(ssock->ossl_wbio); - - if (status == PJ_EPENDING) { - /* Update write state */ - pj_assert(skipped_len==0 || write_st->last_data); - write_st->len += needed_len + skipped_len; - if (write_st->last_data) - write_st->last_data->record_len += skipped_len; - write_st->last_data = wdata; - } - - return status; -} - - -static void on_timer(pj_timer_heap_t *th, struct pj_timer_entry *te) -{ - pj_ssl_sock_t *ssock = (pj_ssl_sock_t*)te->user_data; - int timer_id = te->id; - - te->id = TIMER_NONE; - - PJ_UNUSED_ARG(th); - - switch (timer_id) { - case TIMER_HANDSHAKE_TIMEOUT: - PJ_LOG(1,(ssock->pool->obj_name, "SSL timeout after %d.%ds", - ssock->param.timeout.sec, ssock->param.timeout.msec)); - - on_handshake_complete(ssock, PJ_ETIMEDOUT); - break; - case TIMER_CLOSE: - pj_ssl_sock_close(ssock); - break; - default: - pj_assert(!"Unknown timer"); - break; - } -} - - -/* Asynchronouse handshake */ -static pj_status_t do_handshake(pj_ssl_sock_t *ssock) -{ - pj_status_t status; - int err; - - pj_lock_acquire(ssock->write_mutex); - - /* Perform SSL handshake */ - err = SSL_do_handshake(ssock->ossl_ssl); - if (err < 0) { - err = SSL_get_error(ssock->ossl_ssl, err); - if (err != SSL_ERROR_NONE && err != SSL_ERROR_WANT_READ) - { - /* Handshake fails */ - GET_SSL_STATUS(status); - pj_lock_release(ssock->write_mutex); - return status; - } - } - - /* SSL_do_handshake() may put some pending data into SSL write BIO, - * flush it if any. - */ - status = flush_write_bio(ssock, &ssock->handshake_op_key, 0, 0); - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - pj_lock_release(ssock->write_mutex); - return status; - } - - pj_lock_release(ssock->write_mutex); - - /* Check if handshake has been completed */ - if (SSL_is_init_finished(ssock->ossl_ssl)) { - ssock->ssl_state = SSL_STATE_ESTABLISHED; - return PJ_SUCCESS; - } - - return PJ_EPENDING; -} - - -/* - ******************************************************************* - * Active socket callbacks. - ******************************************************************* - */ - -static pj_bool_t asock_on_data_read (pj_activesock_t *asock, - void *data, - pj_size_t size, - pj_status_t status, - pj_size_t *remainder) -{ - pj_ssl_sock_t *ssock = (pj_ssl_sock_t*) - pj_activesock_get_user_data(asock); - pj_size_t nwritten; - - /* Socket error or closed */ - if (data && size > 0) { - /* Consume the whole data */ - nwritten = BIO_write(ssock->ossl_rbio, data, size); - if (nwritten < size) { - GET_SSL_STATUS(status); - goto on_error; - } - } - - /* Check if SSL handshake hasn't finished yet */ - if (ssock->ssl_state == SSL_STATE_HANDSHAKING) { - pj_bool_t ret = PJ_TRUE; - - if (status == PJ_SUCCESS) - status = do_handshake(ssock); - - /* Not pending is either success or failed */ - if (status != PJ_EPENDING) - ret = on_handshake_complete(ssock, status); - - return ret; - } - - /* See if there is any decrypted data for the application */ - if (ssock->read_started) { - do { - read_data_t *buf = *(OFFSET_OF_READ_DATA_PTR(ssock, data)); - void *data_ = (pj_int8_t*)buf->data + buf->len; - int size_ = ssock->read_size - buf->len; - - /* SSL_read() may write some data to BIO write when re-negotiation - * is on progress, so let's protect it with write mutex. - */ - pj_lock_acquire(ssock->write_mutex); - size_ = SSL_read(ssock->ossl_ssl, data_, size_); - pj_lock_release(ssock->write_mutex); - - if (size_ > 0 || status != PJ_SUCCESS) { - if (ssock->param.cb.on_data_read) { - pj_bool_t ret; - pj_size_t remainder_ = 0; - - if (size_ > 0) - buf->len += size_; - - ret = (*ssock->param.cb.on_data_read)(ssock, buf->data, - buf->len, status, - &remainder_); - if (!ret) { - /* We've been destroyed */ - return PJ_FALSE; - } - - /* Application may have left some data to be consumed - * later. - */ - buf->len = remainder_; - } - - /* Active socket signalled connection closed/error, this has - * been signalled to the application along with any remaining - * buffer. So, let's just reset SSL socket now. - */ - if (status != PJ_SUCCESS) { - reset_ssl_sock_state(ssock); - return PJ_FALSE; - } - - } else { - - int err = SSL_get_error(ssock->ossl_ssl, size); - - /* SSL might just return SSL_ERROR_WANT_READ in - * re-negotiation. - */ - if (err != SSL_ERROR_NONE && err != SSL_ERROR_WANT_READ) - { - /* Reset SSL socket state, then return PJ_FALSE */ - GET_SSL_STATUS(status); - reset_ssl_sock_state(ssock); - goto on_error; - } - - status = do_handshake(ssock); - if (status == PJ_SUCCESS) { - /* Renegotiation completed */ - - /* Update certificates */ - update_certs_info(ssock); - - pj_lock_acquire(ssock->write_mutex); - status = flush_delayed_send(ssock); - pj_lock_release(ssock->write_mutex); - - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - PJ_PERROR(1,(ssock->pool->obj_name, status, - "Failed to flush delayed send")); - goto on_error; - } - } else if (status != PJ_EPENDING) { - PJ_PERROR(1,(ssock->pool->obj_name, status, - "Renegotiation failed")); - goto on_error; - } - - break; - } - } while (1); - } - - return PJ_TRUE; - -on_error: - if (ssock->ssl_state == SSL_STATE_HANDSHAKING) - return on_handshake_complete(ssock, status); - - if (ssock->read_started && ssock->param.cb.on_data_read) { - pj_bool_t ret; - ret = (*ssock->param.cb.on_data_read)(ssock, NULL, 0, status, - remainder); - if (!ret) { - /* We've been destroyed */ - return PJ_FALSE; - } - } - - reset_ssl_sock_state(ssock); - return PJ_FALSE; -} - - -static pj_bool_t asock_on_data_sent (pj_activesock_t *asock, - pj_ioqueue_op_key_t *send_key, - pj_ssize_t sent) -{ - pj_ssl_sock_t *ssock = (pj_ssl_sock_t*) - pj_activesock_get_user_data(asock); - - PJ_UNUSED_ARG(send_key); - PJ_UNUSED_ARG(sent); - - if (ssock->ssl_state == SSL_STATE_HANDSHAKING) { - /* Initial handshaking */ - pj_status_t status; - - status = do_handshake(ssock); - /* Not pending is either success or failed */ - if (status != PJ_EPENDING) - return on_handshake_complete(ssock, status); - - } else if (send_key != &ssock->handshake_op_key) { - /* Some data has been sent, notify application */ - write_data_t *wdata = (write_data_t*)send_key; - if (ssock->param.cb.on_data_sent) { - pj_bool_t ret; - ret = (*ssock->param.cb.on_data_sent)(ssock, wdata->app_key, - wdata->plain_data_len); - if (!ret) { - /* We've been destroyed */ - return PJ_FALSE; - } - } - - /* Update write buffer state */ - pj_lock_acquire(ssock->write_mutex); - ssock->write_state.start += wdata->record_len; - ssock->write_state.len -= wdata->record_len; - if (ssock->write_state.last_data == wdata) { - pj_assert(ssock->write_state.len == 0); - ssock->write_state.last_data = NULL; - } - pj_lock_release(ssock->write_mutex); - - } else { - /* SSL re-negotiation is on-progress, just do nothing */ - } - - return PJ_TRUE; -} - - -static pj_bool_t asock_on_accept_complete (pj_activesock_t *asock, - pj_sock_t newsock, - const pj_sockaddr_t *src_addr, - int src_addr_len) -{ - pj_ssl_sock_t *ssock_parent = (pj_ssl_sock_t*) - pj_activesock_get_user_data(asock); - pj_ssl_sock_t *ssock; - pj_activesock_cb asock_cb; - pj_activesock_cfg asock_cfg; - unsigned i; - pj_status_t status; - - PJ_UNUSED_ARG(src_addr_len); - - /* Create new SSL socket instance */ - status = pj_ssl_sock_create(ssock_parent->pool, &ssock_parent->param, - &ssock); - if (status != PJ_SUCCESS) - goto on_return; - - /* Update new SSL socket attributes */ - ssock->sock = newsock; - ssock->parent = ssock_parent; - ssock->is_server = PJ_TRUE; - if (ssock_parent->cert) { - status = pj_ssl_sock_set_certificate(ssock, ssock->pool, - ssock_parent->cert); - if (status != PJ_SUCCESS) - goto on_return; - } - - /* Apply QoS, if specified */ - status = pj_sock_apply_qos2(ssock->sock, ssock->param.qos_type, - &ssock->param.qos_params, 1, - ssock->pool->obj_name, NULL); - if (status != PJ_SUCCESS && !ssock->param.qos_ignore_error) - goto on_return; - - /* Update local address */ - ssock->addr_len = src_addr_len; - status = pj_sock_getsockname(ssock->sock, &ssock->local_addr, - &ssock->addr_len); - if (status != PJ_SUCCESS) { - /* This fails on few envs, e.g: win IOCP, just tolerate this and - * use parent local address instead. - */ - pj_sockaddr_cp(&ssock->local_addr, &ssock_parent->local_addr); - } - - /* Set remote address */ - pj_sockaddr_cp(&ssock->rem_addr, src_addr); - - /* Create SSL context */ - status = create_ssl(ssock); - if (status != PJ_SUCCESS) - goto on_return; - - /* Prepare read buffer */ - ssock->asock_rbuf = (void**)pj_pool_calloc(ssock->pool, - ssock->param.async_cnt, - sizeof(void*)); - for (i = 0; iparam.async_cnt; ++i) { - ssock->asock_rbuf[i] = (void*) pj_pool_alloc( - ssock->pool, - ssock->param.read_buffer_size + - sizeof(read_data_t*)); - } - - /* Create active socket */ - pj_activesock_cfg_default(&asock_cfg); - asock_cfg.async_cnt = ssock->param.async_cnt; - asock_cfg.concurrency = ssock->param.concurrency; - asock_cfg.whole_data = PJ_TRUE; - - pj_bzero(&asock_cb, sizeof(asock_cb)); - asock_cb.on_data_read = asock_on_data_read; - asock_cb.on_data_sent = asock_on_data_sent; - - status = pj_activesock_create(ssock->pool, - ssock->sock, - ssock->param.sock_type, - &asock_cfg, - ssock->param.ioqueue, - &asock_cb, - ssock, - &ssock->asock); - - if (status != PJ_SUCCESS) - goto on_return; - - /* Start read */ - status = pj_activesock_start_read2(ssock->asock, ssock->pool, - ssock->param.read_buffer_size, - ssock->asock_rbuf, - PJ_IOQUEUE_ALWAYS_ASYNC); - if (status != PJ_SUCCESS) - goto on_return; - - /* Prepare write/send state */ - pj_assert(ssock->write_state.max_len == 0); - ssock->write_state.buf = (char*) - pj_pool_alloc(ssock->pool, - ssock->param.send_buffer_size); - ssock->write_state.max_len = ssock->param.send_buffer_size; - ssock->write_state.start = ssock->write_state.buf; - ssock->write_state.len = 0; - - /* Start handshake timer */ - if (ssock->param.timer_heap && (ssock->param.timeout.sec != 0 || - ssock->param.timeout.msec != 0)) - { - pj_assert(ssock->timer.id == TIMER_NONE); - ssock->timer.id = TIMER_HANDSHAKE_TIMEOUT; - status = pj_timer_heap_schedule(ssock->param.timer_heap, - &ssock->timer, - &ssock->param.timeout); - if (status != PJ_SUCCESS) - ssock->timer.id = TIMER_NONE; - } - - /* Start SSL handshake */ - ssock->ssl_state = SSL_STATE_HANDSHAKING; - SSL_set_accept_state(ssock->ossl_ssl); - status = do_handshake(ssock); - -on_return: - if (ssock && status != PJ_EPENDING) - on_handshake_complete(ssock, status); - - /* Must return PJ_TRUE whatever happened, as active socket must - * continue listening. - */ - return PJ_TRUE; -} - - -static pj_bool_t asock_on_connect_complete (pj_activesock_t *asock, - pj_status_t status) -{ - pj_ssl_sock_t *ssock = (pj_ssl_sock_t*) - pj_activesock_get_user_data(asock); - unsigned i; - - if (status != PJ_SUCCESS) - goto on_return; - - /* Update local address */ - ssock->addr_len = sizeof(pj_sockaddr); - status = pj_sock_getsockname(ssock->sock, &ssock->local_addr, - &ssock->addr_len); - if (status != PJ_SUCCESS) - goto on_return; - - /* Create SSL context */ - status = create_ssl(ssock); - if (status != PJ_SUCCESS) - goto on_return; - - /* Prepare read buffer */ - ssock->asock_rbuf = (void**)pj_pool_calloc(ssock->pool, - ssock->param.async_cnt, - sizeof(void*)); - for (i = 0; iparam.async_cnt; ++i) { - ssock->asock_rbuf[i] = (void*) pj_pool_alloc( - ssock->pool, - ssock->param.read_buffer_size + - sizeof(read_data_t*)); - } - - /* Start read */ - status = pj_activesock_start_read2(ssock->asock, ssock->pool, - ssock->param.read_buffer_size, - ssock->asock_rbuf, - PJ_IOQUEUE_ALWAYS_ASYNC); - if (status != PJ_SUCCESS) - goto on_return; - - /* Prepare write/send state */ - pj_assert(ssock->write_state.max_len == 0); - ssock->write_state.buf = (char*) - pj_pool_alloc(ssock->pool, - ssock->param.send_buffer_size); - ssock->write_state.max_len = ssock->param.send_buffer_size; - ssock->write_state.start = ssock->write_state.buf; - ssock->write_state.len = 0; - -#ifdef SSL_set_tlsext_host_name - /* Set server name to connect */ - if (ssock->param.server_name.slen) { - /* Server name is null terminated already */ - if (!SSL_set_tlsext_host_name(ssock->ossl_ssl, - ssock->param.server_name.ptr)) - { - char err_str[PJ_ERR_MSG_SIZE]; - - ERR_error_string_n(ERR_get_error(), err_str, sizeof(err_str)); - PJ_LOG(3,(ssock->pool->obj_name, "SSL_set_tlsext_host_name() " - "failed: %s", err_str)); - } - } -#endif - - /* Start SSL handshake */ - ssock->ssl_state = SSL_STATE_HANDSHAKING; - SSL_set_connect_state(ssock->ossl_ssl); - - status = do_handshake(ssock); - if (status != PJ_EPENDING) - goto on_return; - - return PJ_TRUE; - -on_return: - return on_handshake_complete(ssock, status); -} - - - -/* - ******************************************************************* - * API - ******************************************************************* - */ - -/* Load credentials from files. */ -PJ_DEF(pj_status_t) pj_ssl_cert_load_from_files (pj_pool_t *pool, - const pj_str_t *CA_file, - const pj_str_t *cert_file, - const pj_str_t *privkey_file, - const pj_str_t *privkey_pass, - pj_ssl_cert_t **p_cert) -{ - pj_ssl_cert_t *cert; - - PJ_ASSERT_RETURN(pool && CA_file && cert_file && privkey_file, PJ_EINVAL); - - cert = PJ_POOL_ZALLOC_T(pool, pj_ssl_cert_t); - pj_strdup_with_null(pool, &cert->CA_file, CA_file); - pj_strdup_with_null(pool, &cert->cert_file, cert_file); - pj_strdup_with_null(pool, &cert->privkey_file, privkey_file); - pj_strdup_with_null(pool, &cert->privkey_pass, privkey_pass); - - *p_cert = cert; - - return PJ_SUCCESS; -} - - -/* Set SSL socket credentials. */ -PJ_DECL(pj_status_t) pj_ssl_sock_set_certificate( - pj_ssl_sock_t *ssock, - pj_pool_t *pool, - const pj_ssl_cert_t *cert) -{ - pj_ssl_cert_t *cert_; - - PJ_ASSERT_RETURN(ssock && pool && cert, PJ_EINVAL); - - cert_ = PJ_POOL_ZALLOC_T(pool, pj_ssl_cert_t); - pj_memcpy(cert_, cert, sizeof(cert)); - pj_strdup_with_null(pool, &cert_->CA_file, &cert->CA_file); - pj_strdup_with_null(pool, &cert_->cert_file, &cert->cert_file); - pj_strdup_with_null(pool, &cert_->privkey_file, &cert->privkey_file); - pj_strdup_with_null(pool, &cert_->privkey_pass, &cert->privkey_pass); - - ssock->cert = cert_; - - return PJ_SUCCESS; -} - - -/* Get available ciphers. */ -PJ_DEF(pj_status_t) pj_ssl_cipher_get_availables(pj_ssl_cipher ciphers[], - unsigned *cipher_num) -{ - unsigned i; - - PJ_ASSERT_RETURN(ciphers && cipher_num, PJ_EINVAL); - - if (openssl_cipher_num == 0) { - init_openssl(); - shutdown_openssl(); - } - - if (openssl_cipher_num == 0) { - *cipher_num = 0; - return PJ_ENOTFOUND; - } - - *cipher_num = PJ_MIN(*cipher_num, openssl_cipher_num); - - for (i = 0; i < *cipher_num; ++i) - ciphers[i] = openssl_ciphers[i].id; - - return PJ_SUCCESS; -} - - -/* Get cipher name string */ -PJ_DEF(const char*) pj_ssl_cipher_name(pj_ssl_cipher cipher) -{ - unsigned i; - - if (openssl_cipher_num == 0) { - init_openssl(); - shutdown_openssl(); - } - - for (i = 0; i < openssl_cipher_num; ++i) { - if (cipher == openssl_ciphers[i].id) - return openssl_ciphers[i].name; - } - - return NULL; -} - -/* Check if the specified cipher is supported by SSL/TLS backend. */ -PJ_DEF(pj_bool_t) pj_ssl_cipher_is_supported(pj_ssl_cipher cipher) -{ - unsigned i; - - if (openssl_cipher_num == 0) { - init_openssl(); - shutdown_openssl(); - } - - for (i = 0; i < openssl_cipher_num; ++i) { - if (cipher == openssl_ciphers[i].id) - return PJ_TRUE; - } - - return PJ_FALSE; -} - - -/* - * Create SSL socket instance. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_create (pj_pool_t *pool, - const pj_ssl_sock_param *param, - pj_ssl_sock_t **p_ssock) -{ - pj_ssl_sock_t *ssock; - pj_status_t status; - - PJ_ASSERT_RETURN(pool && param && p_ssock, PJ_EINVAL); - PJ_ASSERT_RETURN(param->sock_type == pj_SOCK_STREAM(), PJ_ENOTSUP); - - pool = pj_pool_create(pool->factory, "ssl%p", 512, 512, NULL); - - /* Create secure socket */ - ssock = PJ_POOL_ZALLOC_T(pool, pj_ssl_sock_t); - ssock->pool = pool; - ssock->sock = PJ_INVALID_SOCKET; - ssock->ssl_state = SSL_STATE_NULL; - pj_list_init(&ssock->write_pending); - pj_list_init(&ssock->write_pending_empty); - pj_timer_entry_init(&ssock->timer, 0, ssock, &on_timer); - - /* Create secure socket mutex */ - status = pj_lock_create_recursive_mutex(pool, pool->obj_name, - &ssock->write_mutex); - if (status != PJ_SUCCESS) - return status; - - /* Init secure socket param */ - ssock->param = *param; - ssock->param.read_buffer_size = ((ssock->param.read_buffer_size+7)>>3)<<3; - if (param->ciphers_num > 0) { - unsigned i; - ssock->param.ciphers = (pj_ssl_cipher*) - pj_pool_calloc(pool, param->ciphers_num, - sizeof(pj_ssl_cipher)); - for (i = 0; i < param->ciphers_num; ++i) - ssock->param.ciphers[i] = param->ciphers[i]; - } - - /* Server name must be null-terminated */ - pj_strdup_with_null(pool, &ssock->param.server_name, - ¶m->server_name); - - /* Finally */ - *p_ssock = ssock; - - return PJ_SUCCESS; -} - - -/* - * Close the secure socket. This will unregister the socket from the - * ioqueue and ultimately close the socket. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_close(pj_ssl_sock_t *ssock) -{ - pj_pool_t *pool; - - PJ_ASSERT_RETURN(ssock, PJ_EINVAL); - - if (!ssock->pool) - return PJ_SUCCESS; - - if (ssock->timer.id != TIMER_NONE) { - pj_timer_heap_cancel(ssock->param.timer_heap, &ssock->timer); - ssock->timer.id = TIMER_NONE; - } - - reset_ssl_sock_state(ssock); - pj_lock_destroy(ssock->write_mutex); - - pool = ssock->pool; - ssock->pool = NULL; - if (pool) - pj_pool_release(pool); - - return PJ_SUCCESS; -} - - -/* - * Associate arbitrary data with the secure socket. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_set_user_data(pj_ssl_sock_t *ssock, - void *user_data) -{ - PJ_ASSERT_RETURN(ssock, PJ_EINVAL); - - ssock->param.user_data = user_data; - return PJ_SUCCESS; -} - - -/* - * Retrieve the user data previously associated with this secure - * socket. - */ -PJ_DEF(void*) pj_ssl_sock_get_user_data(pj_ssl_sock_t *ssock) -{ - PJ_ASSERT_RETURN(ssock, NULL); - - return ssock->param.user_data; -} - - -/* - * Retrieve the local address and port used by specified SSL socket. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_get_info (pj_ssl_sock_t *ssock, - pj_ssl_sock_info *info) -{ - pj_bzero(info, sizeof(*info)); - - /* Established flag */ - info->established = (ssock->ssl_state == SSL_STATE_ESTABLISHED); - - /* Protocol */ - info->proto = ssock->param.proto; - - /* Local address */ - pj_sockaddr_cp(&info->local_addr, &ssock->local_addr); - - if (info->established) { - const SSL_CIPHER *cipher; - - /* Current cipher */ - cipher = SSL_get_current_cipher(ssock->ossl_ssl); - info->cipher = (cipher->id & 0x00FFFFFF); - - /* Remote address */ - pj_sockaddr_cp(&info->remote_addr, &ssock->rem_addr); - - /* Certificates info */ - info->local_cert_info = &ssock->local_cert_info; - info->remote_cert_info = &ssock->remote_cert_info; - - /* Verification status */ - info->verify_status = ssock->verify_status; - } - - return PJ_SUCCESS; -} - - -/* - * Starts read operation on this secure socket. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_start_read (pj_ssl_sock_t *ssock, - pj_pool_t *pool, - unsigned buff_size, - pj_uint32_t flags) -{ - void **readbuf; - unsigned i; - - PJ_ASSERT_RETURN(ssock && pool && buff_size, PJ_EINVAL); - PJ_ASSERT_RETURN(ssock->ssl_state==SSL_STATE_ESTABLISHED, PJ_EINVALIDOP); - - readbuf = (void**) pj_pool_calloc(pool, ssock->param.async_cnt, - sizeof(void*)); - - for (i=0; iparam.async_cnt; ++i) { - readbuf[i] = pj_pool_alloc(pool, buff_size); - } - - return pj_ssl_sock_start_read2(ssock, pool, buff_size, - readbuf, flags); -} - - -/* - * Same as #pj_ssl_sock_start_read(), except that the application - * supplies the buffers for the read operation so that the acive socket - * does not have to allocate the buffers. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_start_read2 (pj_ssl_sock_t *ssock, - pj_pool_t *pool, - unsigned buff_size, - void *readbuf[], - pj_uint32_t flags) -{ - unsigned i; - - PJ_ASSERT_RETURN(ssock && pool && buff_size && readbuf, PJ_EINVAL); - PJ_ASSERT_RETURN(ssock->ssl_state==SSL_STATE_ESTABLISHED, PJ_EINVALIDOP); - - /* Create SSL socket read buffer */ - ssock->ssock_rbuf = (read_data_t*)pj_pool_calloc(pool, - ssock->param.async_cnt, - sizeof(read_data_t)); - - /* Store SSL socket read buffer pointer in the activesock read buffer */ - for (i=0; iparam.async_cnt; ++i) { - read_data_t **p_ssock_rbuf = - OFFSET_OF_READ_DATA_PTR(ssock, ssock->asock_rbuf[i]); - - ssock->ssock_rbuf[i].data = readbuf[i]; - ssock->ssock_rbuf[i].len = 0; - - *p_ssock_rbuf = &ssock->ssock_rbuf[i]; - } - - ssock->read_size = buff_size; - ssock->read_started = PJ_TRUE; - ssock->read_flags = flags; - - return PJ_SUCCESS; -} - - -/* - * Same as pj_ssl_sock_start_read(), except that this function is used - * only for datagram sockets, and it will trigger \a on_data_recvfrom() - * callback instead. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_start_recvfrom (pj_ssl_sock_t *ssock, - pj_pool_t *pool, - unsigned buff_size, - pj_uint32_t flags) -{ - PJ_UNUSED_ARG(ssock); - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(buff_size); - PJ_UNUSED_ARG(flags); - - return PJ_ENOTSUP; -} - - -/* - * Same as #pj_ssl_sock_start_recvfrom() except that the recvfrom() - * operation takes the buffer from the argument rather than creating - * new ones. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_start_recvfrom2 (pj_ssl_sock_t *ssock, - pj_pool_t *pool, - unsigned buff_size, - void *readbuf[], - pj_uint32_t flags) -{ - PJ_UNUSED_ARG(ssock); - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(buff_size); - PJ_UNUSED_ARG(readbuf); - PJ_UNUSED_ARG(flags); - - return PJ_ENOTSUP; -} - -/* Write plain data to SSL and flush write BIO. Note that accessing - * write BIO must be serialized, so a call to this function must be - * protected by write mutex of SSL socket. - */ -static pj_status_t ssl_write(pj_ssl_sock_t *ssock, - pj_ioqueue_op_key_t *send_key, - const void *data, - pj_ssize_t size, - unsigned flags) -{ - pj_status_t status; - int nwritten; - - /* Write the plain data to SSL, after SSL encrypts it, write BIO will - * contain the secured data to be sent via socket. Note that re- - * negotitation may be on progress, so sending data should be delayed - * until re-negotiation is completed. - */ - nwritten = SSL_write(ssock->ossl_ssl, data, size); - - if (nwritten == size) { - /* All data written, flush write BIO to network socket */ - status = flush_write_bio(ssock, send_key, size, flags); - } else if (nwritten <= 0) { - /* SSL failed to process the data, it may just that re-negotiation - * is on progress. - */ - int err; - err = SSL_get_error(ssock->ossl_ssl, nwritten); - if (err == SSL_ERROR_WANT_READ || err == SSL_ERROR_NONE) { - /* Re-negotiation is on progress, flush re-negotiation data */ - status = flush_write_bio(ssock, &ssock->handshake_op_key, 0, 0); - if (status == PJ_SUCCESS || status == PJ_EPENDING) - /* Just return PJ_EBUSY when re-negotiation is on progress */ - status = PJ_EBUSY; - } else { - /* Some problem occured */ - GET_SSL_STATUS(status); - } - } else { - /* nwritten < *size, shouldn't happen, unless write BIO cannot hold - * the whole secured data, perhaps because of insufficient memory. - */ - status = PJ_ENOMEM; - } - - return status; -} - -/* Flush delayed data sending in the write pending list. Note that accessing - * write pending list must be serialized, so a call to this function must be - * protected by write mutex of SSL socket. - */ -static pj_status_t flush_delayed_send(pj_ssl_sock_t *ssock) -{ - while (!pj_list_empty(&ssock->write_pending)) { - write_pending_t *wp; - pj_status_t status; - - wp = ssock->write_pending.next; - - status = ssl_write(ssock, &wp->data.key, wp->data.data.ptr, - wp->data.plain_data_len, wp->data.flags); - if (status != PJ_SUCCESS) - return status; - - pj_list_erase(wp); - pj_list_push_back(&ssock->write_pending_empty, wp); - } - - return PJ_SUCCESS; -} - -/* Sending is delayed, push back the sending data into pending list. Note that - * accessing write pending list must be serialized, so a call to this function - * must be protected by write mutex of SSL socket. - */ -static pj_status_t delay_send (pj_ssl_sock_t *ssock, - pj_ioqueue_op_key_t *send_key, - const void *data, - pj_ssize_t size, - unsigned flags) -{ - write_pending_t *wp; - - /* Init write pending instance */ - if (!pj_list_empty(&ssock->write_pending_empty)) { - wp = ssock->write_pending_empty.next; - pj_list_erase(wp); - } else { - wp = PJ_POOL_ZALLOC_T(ssock->pool, write_pending_t); - } - - wp->data.app_key = send_key; - wp->data.plain_data_len = size; - wp->data.data.ptr = data; - wp->data.flags = flags; - - pj_list_push_back(&ssock->write_pending, wp); - - /* Must return PJ_EPENDING */ - return PJ_EPENDING; -} - -/** - * Send data using the socket. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_send (pj_ssl_sock_t *ssock, - pj_ioqueue_op_key_t *send_key, - const void *data, - pj_ssize_t *size, - unsigned flags) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(ssock && data && size && (*size>0), PJ_EINVAL); - PJ_ASSERT_RETURN(ssock->ssl_state==SSL_STATE_ESTABLISHED, PJ_EINVALIDOP); - - pj_lock_acquire(ssock->write_mutex); - - /* Flush delayed send first. Sending data might be delayed when - * re-negotiation is on-progress. - */ - status = flush_delayed_send(ssock); - if (status == PJ_EBUSY) { - /* Re-negotiation is on progress, delay sending */ - status = delay_send(ssock, send_key, data, *size, flags); - goto on_return; - } else if (status != PJ_SUCCESS) { - goto on_return; - } - - /* Write data to SSL */ - status = ssl_write(ssock, send_key, data, *size, flags); - if (status == PJ_EBUSY) { - /* Re-negotiation is on progress, delay sending */ - status = delay_send(ssock, send_key, data, *size, flags); - } - -on_return: - pj_lock_release(ssock->write_mutex); - return status; -} - - -/** - * Send datagram using the socket. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_sendto (pj_ssl_sock_t *ssock, - pj_ioqueue_op_key_t *send_key, - const void *data, - pj_ssize_t *size, - unsigned flags, - const pj_sockaddr_t *addr, - int addr_len) -{ - PJ_UNUSED_ARG(ssock); - PJ_UNUSED_ARG(send_key); - PJ_UNUSED_ARG(data); - PJ_UNUSED_ARG(size); - PJ_UNUSED_ARG(flags); - PJ_UNUSED_ARG(addr); - PJ_UNUSED_ARG(addr_len); - - return PJ_ENOTSUP; -} - - -/** - * Starts asynchronous socket accept() operations on this secure socket. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_start_accept (pj_ssl_sock_t *ssock, - pj_pool_t *pool, - const pj_sockaddr_t *localaddr, - int addr_len) -{ - pj_activesock_cb asock_cb; - pj_activesock_cfg asock_cfg; - pj_status_t status; - - PJ_ASSERT_RETURN(ssock && pool && localaddr && addr_len, PJ_EINVAL); - - /* Create socket */ - status = pj_sock_socket(ssock->param.sock_af, ssock->param.sock_type, 0, - &ssock->sock); - if (status != PJ_SUCCESS) - goto on_error; - - /* Apply QoS, if specified */ - status = pj_sock_apply_qos2(ssock->sock, ssock->param.qos_type, - &ssock->param.qos_params, 2, - ssock->pool->obj_name, NULL); - if (status != PJ_SUCCESS && !ssock->param.qos_ignore_error) - goto on_error; - - /* Bind socket */ - status = pj_sock_bind(ssock->sock, localaddr, addr_len); - if (status != PJ_SUCCESS) - goto on_error; - - /* Start listening to the address */ - status = pj_sock_listen(ssock->sock, PJ_SOMAXCONN); - if (status != PJ_SUCCESS) - goto on_error; - - /* Create active socket */ - pj_activesock_cfg_default(&asock_cfg); - asock_cfg.async_cnt = ssock->param.async_cnt; - asock_cfg.concurrency = ssock->param.concurrency; - asock_cfg.whole_data = PJ_TRUE; - - pj_bzero(&asock_cb, sizeof(asock_cb)); - asock_cb.on_accept_complete = asock_on_accept_complete; - - status = pj_activesock_create(pool, - ssock->sock, - ssock->param.sock_type, - &asock_cfg, - ssock->param.ioqueue, - &asock_cb, - ssock, - &ssock->asock); - - if (status != PJ_SUCCESS) - goto on_error; - - /* Start accepting */ - status = pj_activesock_start_accept(ssock->asock, pool); - if (status != PJ_SUCCESS) - goto on_error; - - /* Update local address */ - ssock->addr_len = addr_len; - status = pj_sock_getsockname(ssock->sock, &ssock->local_addr, - &ssock->addr_len); - if (status != PJ_SUCCESS) - pj_sockaddr_cp(&ssock->local_addr, localaddr); - - ssock->is_server = PJ_TRUE; - - return PJ_SUCCESS; - -on_error: - reset_ssl_sock_state(ssock); - return status; -} - - -/** - * Starts asynchronous socket connect() operation. - */ -PJ_DECL(pj_status_t) pj_ssl_sock_start_connect(pj_ssl_sock_t *ssock, - pj_pool_t *pool, - const pj_sockaddr_t *localaddr, - const pj_sockaddr_t *remaddr, - int addr_len) -{ - pj_activesock_cb asock_cb; - pj_activesock_cfg asock_cfg; - pj_status_t status; - - PJ_ASSERT_RETURN(ssock && pool && localaddr && remaddr && addr_len, - PJ_EINVAL); - - /* Create socket */ - status = pj_sock_socket(ssock->param.sock_af, ssock->param.sock_type, 0, - &ssock->sock); - if (status != PJ_SUCCESS) - goto on_error; - - /* Apply QoS, if specified */ - status = pj_sock_apply_qos2(ssock->sock, ssock->param.qos_type, - &ssock->param.qos_params, 2, - ssock->pool->obj_name, NULL); - if (status != PJ_SUCCESS && !ssock->param.qos_ignore_error) - goto on_error; - - /* Bind socket */ - status = pj_sock_bind(ssock->sock, localaddr, addr_len); - if (status != PJ_SUCCESS) - goto on_error; - - /* Create active socket */ - pj_activesock_cfg_default(&asock_cfg); - asock_cfg.async_cnt = ssock->param.async_cnt; - asock_cfg.concurrency = ssock->param.concurrency; - asock_cfg.whole_data = PJ_TRUE; - - pj_bzero(&asock_cb, sizeof(asock_cb)); - asock_cb.on_connect_complete = asock_on_connect_complete; - asock_cb.on_data_read = asock_on_data_read; - asock_cb.on_data_sent = asock_on_data_sent; - - status = pj_activesock_create(pool, - ssock->sock, - ssock->param.sock_type, - &asock_cfg, - ssock->param.ioqueue, - &asock_cb, - ssock, - &ssock->asock); - - if (status != PJ_SUCCESS) - goto on_error; - - /* Save remote address */ - pj_sockaddr_cp(&ssock->rem_addr, remaddr); - - /* Start timer */ - if (ssock->param.timer_heap && (ssock->param.timeout.sec != 0 || - ssock->param.timeout.msec != 0)) - { - pj_assert(ssock->timer.id == TIMER_NONE); - ssock->timer.id = TIMER_HANDSHAKE_TIMEOUT; - status = pj_timer_heap_schedule(ssock->param.timer_heap, - &ssock->timer, - &ssock->param.timeout); - if (status != PJ_SUCCESS) - ssock->timer.id = TIMER_NONE; - } - - status = pj_activesock_start_connect(ssock->asock, pool, remaddr, - addr_len); - - if (status == PJ_SUCCESS) - asock_on_connect_complete(ssock->asock, PJ_SUCCESS); - else if (status != PJ_EPENDING) - goto on_error; - - /* Update local address */ - ssock->addr_len = addr_len; - status = pj_sock_getsockname(ssock->sock, &ssock->local_addr, - &ssock->addr_len); - /* Note that we may not get an IP address here. This can - * happen for example on Windows, where getsockname() - * would return 0.0.0.0 if socket has just started the - * async connect. In this case, just leave the local - * address with 0.0.0.0 for now; it will be updated - * once the socket is established. - */ - - /* Update SSL state */ - ssock->is_server = PJ_FALSE; - - return PJ_EPENDING; - -on_error: - reset_ssl_sock_state(ssock); - return status; -} - - -PJ_DEF(pj_status_t) pj_ssl_sock_renegotiate(pj_ssl_sock_t *ssock) -{ - int ret; - pj_status_t status; - - PJ_ASSERT_RETURN(ssock->ssl_state == SSL_STATE_ESTABLISHED, PJ_EINVALIDOP); - - if (SSL_renegotiate_pending(ssock->ossl_ssl)) - return PJ_EPENDING; - - ret = SSL_renegotiate(ssock->ossl_ssl); - if (ret <= 0) { - GET_SSL_STATUS(status); - } else { - status = do_handshake(ssock); - } - - return status; -} - -#endif /* PJ_HAS_SSL_SOCK */ - diff --git a/res/pjproject/pjlib/src/pj/ssl_sock_symbian.cpp b/res/pjproject/pjlib/src/pj/ssl_sock_symbian.cpp deleted file mode 100644 index 47288fae61..0000000000 --- a/res/pjproject/pjlib/src/pj/ssl_sock_symbian.cpp +++ /dev/null @@ -1,1426 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include - -#include "os_symbian.h" -#include -#include -#include - -#define THIS_FILE "ssl_sock_symbian.cpp" - - -/* Cipher name structure */ -typedef struct cipher_name_t { - pj_ssl_cipher cipher; - const char *name; -} cipher_name_t; - -/* Cipher name constants */ -static cipher_name_t cipher_names[] = -{ - {PJ_TLS_NULL_WITH_NULL_NULL, "NULL"}, - - /* TLS/SSLv3 */ - {PJ_TLS_RSA_WITH_NULL_MD5, "TLS_RSA_WITH_NULL_MD5"}, - {PJ_TLS_RSA_WITH_NULL_SHA, "TLS_RSA_WITH_NULL_SHA"}, - {PJ_TLS_RSA_WITH_NULL_SHA256, "TLS_RSA_WITH_NULL_SHA256"}, - {PJ_TLS_RSA_WITH_RC4_128_MD5, "TLS_RSA_WITH_RC4_128_MD5"}, - {PJ_TLS_RSA_WITH_RC4_128_SHA, "TLS_RSA_WITH_RC4_128_SHA"}, - {PJ_TLS_RSA_WITH_3DES_EDE_CBC_SHA, "TLS_RSA_WITH_3DES_EDE_CBC_SHA"}, - {PJ_TLS_RSA_WITH_AES_128_CBC_SHA, "TLS_RSA_WITH_AES_128_CBC_SHA"}, - {PJ_TLS_RSA_WITH_AES_256_CBC_SHA, "TLS_RSA_WITH_AES_256_CBC_SHA"}, - {PJ_TLS_RSA_WITH_AES_128_CBC_SHA256, "TLS_RSA_WITH_AES_128_CBC_SHA256"}, - {PJ_TLS_RSA_WITH_AES_256_CBC_SHA256, "TLS_RSA_WITH_AES_256_CBC_SHA256"}, - {PJ_TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA, "TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA"}, - {PJ_TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA, "TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA"}, - {PJ_TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA, "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"}, - {PJ_TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA, "TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA"}, - {PJ_TLS_DH_DSS_WITH_AES_128_CBC_SHA, "TLS_DH_DSS_WITH_AES_128_CBC_SHA"}, - {PJ_TLS_DH_RSA_WITH_AES_128_CBC_SHA, "TLS_DH_RSA_WITH_AES_128_CBC_SHA"}, - {PJ_TLS_DHE_DSS_WITH_AES_128_CBC_SHA, "TLS_DHE_DSS_WITH_AES_128_CBC_SHA"}, - {PJ_TLS_DHE_RSA_WITH_AES_128_CBC_SHA, "TLS_DHE_RSA_WITH_AES_128_CBC_SHA"}, - {PJ_TLS_DH_DSS_WITH_AES_256_CBC_SHA, "TLS_DH_DSS_WITH_AES_256_CBC_SHA"}, - {PJ_TLS_DH_RSA_WITH_AES_256_CBC_SHA, "TLS_DH_RSA_WITH_AES_256_CBC_SHA"}, - {PJ_TLS_DHE_DSS_WITH_AES_256_CBC_SHA, "TLS_DHE_DSS_WITH_AES_256_CBC_SHA"}, - {PJ_TLS_DHE_RSA_WITH_AES_256_CBC_SHA, "TLS_DHE_RSA_WITH_AES_256_CBC_SHA"}, - {PJ_TLS_DH_DSS_WITH_AES_128_CBC_SHA256, "TLS_DH_DSS_WITH_AES_128_CBC_SHA256"}, - {PJ_TLS_DH_RSA_WITH_AES_128_CBC_SHA256, "TLS_DH_RSA_WITH_AES_128_CBC_SHA256"}, - {PJ_TLS_DHE_DSS_WITH_AES_128_CBC_SHA256, "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256"}, - {PJ_TLS_DHE_RSA_WITH_AES_128_CBC_SHA256, "TLS_DHE_RSA_WITH_AES_128_CBC_SHA256"}, - {PJ_TLS_DH_DSS_WITH_AES_256_CBC_SHA256, "TLS_DH_DSS_WITH_AES_256_CBC_SHA256"}, - {PJ_TLS_DH_RSA_WITH_AES_256_CBC_SHA256, "TLS_DH_RSA_WITH_AES_256_CBC_SHA256"}, - {PJ_TLS_DHE_DSS_WITH_AES_256_CBC_SHA256, "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256"}, - {PJ_TLS_DHE_RSA_WITH_AES_256_CBC_SHA256, "TLS_DHE_RSA_WITH_AES_256_CBC_SHA256"}, - {PJ_TLS_DH_anon_WITH_RC4_128_MD5, "TLS_DH_anon_WITH_RC4_128_MD5"}, - {PJ_TLS_DH_anon_WITH_3DES_EDE_CBC_SHA, "TLS_DH_anon_WITH_3DES_EDE_CBC_SHA"}, - {PJ_TLS_DH_anon_WITH_AES_128_CBC_SHA, "TLS_DH_anon_WITH_AES_128_CBC_SHA"}, - {PJ_TLS_DH_anon_WITH_AES_256_CBC_SHA, "TLS_DH_anon_WITH_AES_256_CBC_SHA"}, - {PJ_TLS_DH_anon_WITH_AES_128_CBC_SHA256, "TLS_DH_anon_WITH_AES_128_CBC_SHA256"}, - {PJ_TLS_DH_anon_WITH_AES_256_CBC_SHA256, "TLS_DH_anon_WITH_AES_256_CBC_SHA256"}, - - /* TLS (deprecated) */ - {PJ_TLS_RSA_EXPORT_WITH_RC4_40_MD5, "TLS_RSA_EXPORT_WITH_RC4_40_MD5"}, - {PJ_TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5, "TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5"}, - {PJ_TLS_RSA_WITH_IDEA_CBC_SHA, "TLS_RSA_WITH_IDEA_CBC_SHA"}, - {PJ_TLS_RSA_EXPORT_WITH_DES40_CBC_SHA, "TLS_RSA_EXPORT_WITH_DES40_CBC_SHA"}, - {PJ_TLS_RSA_WITH_DES_CBC_SHA, "TLS_RSA_WITH_DES_CBC_SHA"}, - {PJ_TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA, "TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA"}, - {PJ_TLS_DH_DSS_WITH_DES_CBC_SHA, "TLS_DH_DSS_WITH_DES_CBC_SHA"}, - {PJ_TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA, "TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA"}, - {PJ_TLS_DH_RSA_WITH_DES_CBC_SHA, "TLS_DH_RSA_WITH_DES_CBC_SHA"}, - {PJ_TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA, "TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA"}, - {PJ_TLS_DHE_DSS_WITH_DES_CBC_SHA, "TLS_DHE_DSS_WITH_DES_CBC_SHA"}, - {PJ_TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, "TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA"}, - {PJ_TLS_DHE_RSA_WITH_DES_CBC_SHA, "TLS_DHE_RSA_WITH_DES_CBC_SHA"}, - {PJ_TLS_DH_anon_EXPORT_WITH_RC4_40_MD5, "TLS_DH_anon_EXPORT_WITH_RC4_40_MD5"}, - {PJ_TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA, "TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA"}, - {PJ_TLS_DH_anon_WITH_DES_CBC_SHA, "TLS_DH_anon_WITH_DES_CBC_SHA"}, - - /* SSLv3 */ - {PJ_SSL_FORTEZZA_KEA_WITH_NULL_SHA, "SSL_FORTEZZA_KEA_WITH_NULL_SHA"}, - {PJ_SSL_FORTEZZA_KEA_WITH_FORTEZZA_CBC_SHA,"SSL_FORTEZZA_KEA_WITH_FORTEZZA_CBC_SHA"}, - {PJ_SSL_FORTEZZA_KEA_WITH_RC4_128_SHA, "SSL_FORTEZZA_KEA_WITH_RC4_128_SHA"}, - - /* SSLv2 */ - {PJ_SSL_CK_RC4_128_WITH_MD5, "SSL_CK_RC4_128_WITH_MD5"}, - {PJ_SSL_CK_RC4_128_EXPORT40_WITH_MD5, "SSL_CK_RC4_128_EXPORT40_WITH_MD5"}, - {PJ_SSL_CK_RC2_128_CBC_WITH_MD5, "SSL_CK_RC2_128_CBC_WITH_MD5"}, - {PJ_SSL_CK_RC2_128_CBC_EXPORT40_WITH_MD5, "SSL_CK_RC2_128_CBC_EXPORT40_WITH_MD5"}, - {PJ_SSL_CK_IDEA_128_CBC_WITH_MD5, "SSL_CK_IDEA_128_CBC_WITH_MD5"}, - {PJ_SSL_CK_DES_64_CBC_WITH_MD5, "SSL_CK_DES_64_CBC_WITH_MD5"}, - {PJ_SSL_CK_DES_192_EDE3_CBC_WITH_MD5, "SSL_CK_DES_192_EDE3_CBC_WITH_MD5"} -}; - - -/* Get cipher name string */ -static const char* get_cipher_name(pj_ssl_cipher cipher) -{ - unsigned i, n; - - n = PJ_ARRAY_SIZE(cipher_names); - for (i = 0; i < n; ++i) { - if (cipher == cipher_names[i].cipher) - return cipher_names[i].name; - } - - return "CIPHER_UNKNOWN"; -} - -typedef void (*CPjSSLSocket_cb)(int err, void *key); - -class CPjSSLSocketReader : public CActive -{ -public: - static CPjSSLSocketReader *NewL(CSecureSocket &sock) - { - CPjSSLSocketReader *self = new (ELeave) - CPjSSLSocketReader(sock); - CleanupStack::PushL(self); - self->ConstructL(); - CleanupStack::Pop(self); - return self; - } - - ~CPjSSLSocketReader() { - Cancel(); - } - - /* Asynchronous read from the socket. */ - int Read(CPjSSLSocket_cb cb, void *key, TPtr8 &data, TUint flags) - { - PJ_ASSERT_RETURN(!IsActive(), PJ_EBUSY); - - cb_ = cb; - key_ = key; - sock_.RecvOneOrMore(data, iStatus, len_received_); - SetActive(); - - return PJ_EPENDING; - } - -private: - CSecureSocket &sock_; - CPjSSLSocket_cb cb_; - void *key_; - TSockXfrLength len_received_; /* not really useful? */ - - void DoCancel() { - sock_.CancelAll(); - } - - void RunL() { - (*cb_)(iStatus.Int(), key_); - } - - CPjSSLSocketReader(CSecureSocket &sock) : - CActive(0), sock_(sock), cb_(NULL), key_(NULL) - {} - - void ConstructL() { - CActiveScheduler::Add(this); - } -}; - -class CPjSSLSocket : public CActive -{ -public: - enum ssl_state { - SSL_STATE_NULL, - SSL_STATE_CONNECTING, - SSL_STATE_HANDSHAKING, - SSL_STATE_ESTABLISHED - }; - - static CPjSSLSocket *NewL(const TDesC8 &ssl_proto, - pj_qos_type qos_type, - const pj_qos_params &qos_params) - { - CPjSSLSocket *self = new (ELeave) CPjSSLSocket(qos_type, qos_params); - CleanupStack::PushL(self); - self->ConstructL(ssl_proto); - CleanupStack::Pop(self); - return self; - } - - ~CPjSSLSocket() { - Cancel(); - CleanupSubObjects(); - } - - int Connect(CPjSSLSocket_cb cb, void *key, const TInetAddr &local_addr, - const TInetAddr &rem_addr, - const TDesC8 &servername = TPtrC8(NULL,0), - const TDesC8 &ciphers = TPtrC8(NULL,0)); - int Send(CPjSSLSocket_cb cb, void *key, const TDesC8 &aDesc, TUint flags); - int SendSync(const TDesC8 &aDesc, TUint flags); - - CPjSSLSocketReader* GetReader(); - enum ssl_state GetState() const { return state_; } - const TInetAddr* GetLocalAddr() const { return &local_addr_; } - int GetCipher(TDes8 &cipher) const { - if (securesock_) - return securesock_->CurrentCipherSuite(cipher); - return KErrNotFound; - } - const CX509Certificate *GetPeerCert() { - if (securesock_) - return securesock_->ServerCert(); - return NULL; - } - -private: - enum ssl_state state_; - pj_sock_t sock_; - CSecureSocket *securesock_; - bool is_connected_; - - pj_qos_type qos_type_; - pj_qos_params qos_params_; - - CPjSSLSocketReader *reader_; - TBuf<32> ssl_proto_; - TInetAddr rem_addr_; - TPtrC8 servername_; - TPtrC8 ciphers_; - TInetAddr local_addr_; - TSockXfrLength sent_len_; - - CPjSSLSocket_cb cb_; - void *key_; - - void DoCancel(); - void RunL(); - - CPjSSLSocket(pj_qos_type qos_type, const pj_qos_params &qos_params) : - CActive(0), state_(SSL_STATE_NULL), sock_(PJ_INVALID_SOCKET), - securesock_(NULL), is_connected_(false), - qos_type_(qos_type), qos_params_(qos_params), - reader_(NULL), cb_(NULL), key_(NULL) - {} - - void ConstructL(const TDesC8 &ssl_proto) { - ssl_proto_.Copy(ssl_proto); - CActiveScheduler::Add(this); - } - - void CleanupSubObjects() { - delete reader_; - reader_ = NULL; - if (securesock_) { - if (state_ == SSL_STATE_ESTABLISHED) - securesock_->Close(); - delete securesock_; - securesock_ = NULL; - } - if (sock_ != PJ_INVALID_SOCKET) { - pj_sock_close(sock_); - sock_ = PJ_INVALID_SOCKET; - } - } -}; - -int CPjSSLSocket::Connect(CPjSSLSocket_cb cb, void *key, - const TInetAddr &local_addr, - const TInetAddr &rem_addr, - const TDesC8 &servername, - const TDesC8 &ciphers) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(state_ == SSL_STATE_NULL, PJ_EINVALIDOP); - - status = pj_sock_socket(rem_addr.Family(), pj_SOCK_STREAM(), 0, &sock_); - if (status != PJ_SUCCESS) - return status; - - // Apply QoS - status = pj_sock_apply_qos2(sock_, qos_type_, &qos_params_, - 2, THIS_FILE, NULL); - - RSocket &rSock = ((CPjSocket*)sock_)->Socket(); - - local_addr_ = local_addr; - - if (!local_addr_.IsUnspecified()) { - TInt err = rSock.Bind(local_addr_); - if (err != KErrNone) - return PJ_RETURN_OS_ERROR(err); - } - - cb_ = cb; - key_ = key; - rem_addr_ = rem_addr; - - /* Note: the following members only keep the pointer, not the data */ - servername_.Set(servername); - ciphers_.Set(ciphers); - - rSock.Connect(rem_addr_, iStatus); - SetActive(); - state_ = SSL_STATE_CONNECTING; - - rSock.LocalName(local_addr_); - - return PJ_EPENDING; -} - -int CPjSSLSocket::Send(CPjSSLSocket_cb cb, void *key, const TDesC8 &aDesc, - TUint flags) -{ - PJ_UNUSED_ARG(flags); - - PJ_ASSERT_RETURN(state_ == SSL_STATE_ESTABLISHED, PJ_EINVALIDOP); - - if (IsActive()) - return PJ_EBUSY; - - cb_ = cb; - key_ = key; - - securesock_->Send(aDesc, iStatus, sent_len_); - SetActive(); - - return PJ_EPENDING; -} - -int CPjSSLSocket::SendSync(const TDesC8 &aDesc, TUint flags) -{ - PJ_UNUSED_ARG(flags); - - PJ_ASSERT_RETURN(state_ == SSL_STATE_ESTABLISHED, PJ_EINVALIDOP); - - TRequestStatus reqStatus; - securesock_->Send(aDesc, reqStatus, sent_len_); - User::WaitForRequest(reqStatus); - - return PJ_RETURN_OS_ERROR(reqStatus.Int()); -} - -CPjSSLSocketReader* CPjSSLSocket::GetReader() -{ - PJ_ASSERT_RETURN(state_ == SSL_STATE_ESTABLISHED, NULL); - - if (reader_) - return reader_; - - TRAPD(err, reader_ = CPjSSLSocketReader::NewL(*securesock_)); - if (err != KErrNone) - return NULL; - - return reader_; -} - -void CPjSSLSocket::DoCancel() -{ - /* Operation to be cancelled depends on current state */ - switch (state_) { - case SSL_STATE_CONNECTING: - { - RSocket &rSock = ((CPjSocket*)sock_)->Socket(); - - rSock.CancelConnect(); - CleanupSubObjects(); - state_ = SSL_STATE_NULL; - } - break; - case SSL_STATE_HANDSHAKING: - { - securesock_->CancelHandshake(); - CleanupSubObjects(); - state_ = SSL_STATE_NULL; - } - break; - case SSL_STATE_ESTABLISHED: - securesock_->CancelSend(); - break; - default: - break; - } -} - -void CPjSSLSocket::RunL() -{ - switch (state_) { - case SSL_STATE_CONNECTING: - if (iStatus != KErrNone) { - CleanupSubObjects(); - state_ = SSL_STATE_NULL; - /* Dispatch connect failure notification */ - if (cb_) (*cb_)(iStatus.Int(), key_); - } else { - RSocket &rSock = ((CPjSocket*)sock_)->Socket(); - - /* Get local addr */ - rSock.LocalName(local_addr_); - - /* Prepare and start handshake */ - securesock_ = CSecureSocket::NewL(rSock, ssl_proto_); - securesock_->SetDialogMode(EDialogModeAttended); - if (servername_.Length() > 0) - securesock_->SetOpt(KSoSSLDomainName, KSolInetSSL, - servername_); - if (ciphers_.Length() > 0) - securesock_->SetAvailableCipherSuites(ciphers_); - - // FlushSessionCache() seems to also fire signals to all - // completed AOs (something like CActiveScheduler::RunIfReady()) - // which may cause problem, e.g: we've experienced that when - // SSL timeout is set to 1s, the SSL timeout timer fires up - // at this point and securesock_ instance gets deleted here! - // So be careful using this. And we don't think we need it here. - //securesock_->FlushSessionCache(); - - securesock_->StartClientHandshake(iStatus); - SetActive(); - state_ = SSL_STATE_HANDSHAKING; - } - break; - case SSL_STATE_HANDSHAKING: - if (iStatus == KErrNone) { - state_ = SSL_STATE_ESTABLISHED; - } else { - state_ = SSL_STATE_NULL; - CleanupSubObjects(); - } - /* Dispatch connect status notification */ - if (cb_) (*cb_)(iStatus.Int(), key_); - break; - case SSL_STATE_ESTABLISHED: - /* Dispatch data sent notification */ - if (cb_) (*cb_)(iStatus.Int(), key_); - break; - default: - pj_assert(0); - break; - } -} - -typedef void (*CPjTimer_cb)(void *user_data); - -class CPjTimer : public CActive -{ -public: - CPjTimer(const pj_time_val *delay, CPjTimer_cb cb, void *user_data) : - CActive(0), cb_(cb), user_data_(user_data) - { - CActiveScheduler::Add(this); - - rtimer_.CreateLocal(); - pj_int32_t interval = PJ_TIME_VAL_MSEC(*delay) * 1000; - if (interval < 0) { - interval = 0; - } - rtimer_.After(iStatus, interval); - SetActive(); - } - - ~CPjTimer() { Cancel(); } - -private: - RTimer rtimer_; - CPjTimer_cb cb_; - void *user_data_; - - void RunL() { if (cb_) (*cb_)(user_data_); } - void DoCancel() { rtimer_.Cancel(); } -}; - -/* - * Structure of recv/read state. - */ -typedef struct read_state_t { - TPtr8 *read_buf; - TPtr8 *orig_buf; - pj_uint32_t flags; -} read_state_t; - -/* - * Structure of send/write data. - */ -typedef struct write_data_t { - pj_size_t len; - pj_ioqueue_op_key_t *key; - pj_size_t data_len; - char data[1]; -} write_data_t; - -/* - * Structure of send/write state. - */ -typedef struct write_state_t { - char *buf; - pj_size_t max_len; - char *start; - pj_size_t len; - write_data_t *current_data; - TPtrC8 send_ptr; -} write_state_t; - -/* - * Secure socket structure definition. - */ -struct pj_ssl_sock_t -{ - pj_pool_t *pool; - pj_ssl_sock_cb cb; - void *user_data; - - pj_bool_t established; - write_state_t write_state; - read_state_t read_state; - CPjTimer *connect_timer; - - CPjSSLSocket *sock; - int sock_af; - int sock_type; - pj_sockaddr local_addr; - pj_sockaddr rem_addr; - - /* QoS settings */ - pj_qos_type qos_type; - pj_qos_params qos_params; - pj_bool_t qos_ignore_error; - - - pj_ssl_sock_proto proto; - pj_time_val timeout; - pj_str_t servername; - pj_str_t ciphers; - pj_ssl_cert_info remote_cert_info; -}; - - -static pj_str_t get_cert_name(char *buf, unsigned buf_len, - const CX500DistinguishedName &name) -{ - TInt i; - TUint8 *p; - TInt l = buf_len; - - p = (TUint8*)buf; - for(i = 0; i < name.Count(); ++i) { - const CX520AttributeTypeAndValue &attr = name.Element(i); - - /* Print element separator */ - *p++ = '/'; - if (0 == --l) break; - - /* Print the type. */ - TPtr8 type(p, l); - type.Copy(attr.Type()); - p += type.Length(); - l -= type.Length(); - if (0 >= --l) break; - - /* Print equal sign */ - *p++ = '='; - if (0 == --l) break; - - /* Print the value. Let's just get the raw data here */ - TPtr8 value(p, l); - value.Copy(attr.EncodedValue().Mid(2)); - p += value.Length(); - l -= value.Length(); - if (0 >= --l) break; - } - - pj_str_t src; - pj_strset(&src, buf, buf_len - l); - - return src; -} - -/* Get certificate info from CX509Certificate. - */ -static void get_cert_info(pj_pool_t *pool, pj_ssl_cert_info *ci, - const CX509Certificate *x) -{ - enum { tmp_buf_len = 512 }; - char *tmp_buf; - unsigned len; - - pj_assert(pool && ci && x); - - /* Init */ - tmp_buf = new char[tmp_buf_len]; - pj_bzero(ci, sizeof(*ci)); - - /* Version */ - ci->version = x->Version(); - - /* Serial number */ - len = x->SerialNumber().Length(); - if (len > sizeof(ci->serial_no)) - len = sizeof(ci->serial_no); - pj_memcpy(ci->serial_no + sizeof(ci->serial_no) - len, - x->SerialNumber().Ptr(), len); - - /* Subject */ - { - HBufC *subject = NULL; - TRAPD(err, subject = x->SubjectL()); - if (err == KErrNone) { - TPtr16 ptr16(subject->Des()); - len = ptr16.Length(); - TPtr8 ptr8((TUint8*)pj_pool_alloc(pool, len), len); - ptr8.Copy(ptr16); - pj_strset(&ci->subject.cn, (char*)ptr8.Ptr(), ptr8.Length()); - } - pj_str_t tmp = get_cert_name(tmp_buf, tmp_buf_len, - x->SubjectName()); - pj_strdup(pool, &ci->subject.info, &tmp); - } - - /* Issuer */ - { - HBufC *issuer = NULL; - TRAPD(err, issuer = x->IssuerL()); - if (err == KErrNone) { - TPtr16 ptr16(issuer->Des()); - len = ptr16.Length(); - TPtr8 ptr8((TUint8*)pj_pool_alloc(pool, len), len); - ptr8.Copy(ptr16); - pj_strset(&ci->issuer.cn, (char*)ptr8.Ptr(), ptr8.Length()); - } - pj_str_t tmp = get_cert_name(tmp_buf, tmp_buf_len, - x->IssuerName()); - pj_strdup(pool, &ci->issuer.info, &tmp); - } - - /* Validity */ - const CValidityPeriod &valid_period = x->ValidityPeriod(); - TTime base_time(TDateTime(1970, EJanuary, 0, 0, 0, 0, 0)); - TTimeIntervalSeconds tmp_sec; - valid_period.Start().SecondsFrom(base_time, tmp_sec); - ci->validity.start.sec = tmp_sec.Int(); - valid_period.Finish().SecondsFrom(base_time, tmp_sec); - ci->validity.end.sec = tmp_sec.Int(); - - /* Deinit */ - delete [] tmp_buf; -} - - -/* Update certificates info. This function should be called after handshake - * or renegotiation successfully completed. - */ -static void update_certs_info(pj_ssl_sock_t *ssock) -{ - const CX509Certificate *x; - - pj_assert(ssock && ssock->sock && - ssock->sock->GetState() == CPjSSLSocket::SSL_STATE_ESTABLISHED); - - /* Active remote certificate */ - x = ssock->sock->GetPeerCert(); - if (x) { - get_cert_info(ssock->pool, &ssock->remote_cert_info, x); - } else { - pj_bzero(&ssock->remote_cert_info, sizeof(pj_ssl_cert_info)); - } -} - - -/* Available ciphers */ -static unsigned ciphers_num_ = 0; -static struct ciphers_t -{ - pj_ssl_cipher id; - const char *name; -} ciphers_[64]; - -/* - * Get cipher list supported by SSL/TLS backend. - */ -PJ_DEF(pj_status_t) pj_ssl_cipher_get_availables (pj_ssl_cipher ciphers[], - unsigned *cipher_num) -{ - unsigned i; - - PJ_ASSERT_RETURN(ciphers && cipher_num, PJ_EINVAL); - - if (ciphers_num_ == 0) { - RSocket sock; - CSecureSocket *secure_sock; - TPtrC16 proto(_L16("TLS1.0")); - - secure_sock = CSecureSocket::NewL(sock, proto); - if (secure_sock) { - TBuf8<128> ciphers_buf(0); - secure_sock->AvailableCipherSuites(ciphers_buf); - - ciphers_num_ = ciphers_buf.Length() / 2; - if (ciphers_num_ > PJ_ARRAY_SIZE(ciphers_)) - ciphers_num_ = PJ_ARRAY_SIZE(ciphers_); - for (i = 0; i < ciphers_num_; ++i) { - ciphers_[i].id = (pj_ssl_cipher)(ciphers_buf[i*2]*10 + - ciphers_buf[i*2+1]); - ciphers_[i].name = get_cipher_name(ciphers_[i].id); - } - } - - delete secure_sock; - } - - if (ciphers_num_ == 0) { - *cipher_num = 0; - return PJ_ENOTFOUND; - } - - *cipher_num = PJ_MIN(*cipher_num, ciphers_num_); - for (i = 0; i < *cipher_num; ++i) - ciphers[i] = ciphers_[i].id; - - return PJ_SUCCESS; -} - - -/* Get cipher name string */ -PJ_DEF(const char*) pj_ssl_cipher_name(pj_ssl_cipher cipher) -{ - unsigned i; - - if (ciphers_num_ == 0) { - pj_ssl_cipher c[1]; - i = 0; - pj_ssl_cipher_get_availables(c, &i); - } - - for (i = 0; i < ciphers_num_; ++i) { - if (cipher == ciphers_[i].id) - return ciphers_[i].name; - } - - return NULL; -} - - -/* Check if the specified cipher is supported by SSL/TLS backend. */ -PJ_DEF(pj_bool_t) pj_ssl_cipher_is_supported(pj_ssl_cipher cipher) -{ - unsigned i; - - if (ciphers_num_ == 0) { - pj_ssl_cipher c[1]; - i = 0; - pj_ssl_cipher_get_availables(c, &i); - } - - for (i = 0; i < ciphers_num_; ++i) { - if (cipher == ciphers_[i].id) - return PJ_TRUE; - } - - return PJ_FALSE; -} - - -/* - * Create SSL socket instance. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_create (pj_pool_t *pool, - const pj_ssl_sock_param *param, - pj_ssl_sock_t **p_ssock) -{ - pj_ssl_sock_t *ssock; - - PJ_ASSERT_RETURN(param->async_cnt == 1, PJ_EINVAL); - PJ_ASSERT_RETURN(pool && param && p_ssock, PJ_EINVAL); - - /* Allocate secure socket */ - ssock = PJ_POOL_ZALLOC_T(pool, pj_ssl_sock_t); - - /* Allocate write buffer */ - ssock->write_state.buf = (char*)pj_pool_alloc(pool, - param->send_buffer_size); - ssock->write_state.max_len = param->send_buffer_size; - ssock->write_state.start = ssock->write_state.buf; - - /* Init secure socket */ - ssock->pool = pool; - ssock->sock_af = param->sock_af; - ssock->sock_type = param->sock_type; - ssock->cb = param->cb; - ssock->user_data = param->user_data; - ssock->timeout = param->timeout; - if (param->ciphers_num > 0) { - /* Cipher list in Symbian is represented as array of two-octets. */ - ssock->ciphers.slen = param->ciphers_num*2; - ssock->ciphers.ptr = (char*)pj_pool_alloc(pool, ssock->ciphers.slen); - pj_uint8_t *c = (pj_uint8_t*)ssock->ciphers.ptr; - for (unsigned i = 0; i < param->ciphers_num; ++i) { - *c++ = (pj_uint8_t)(param->ciphers[i] & 0xFF00) >> 8; - *c++ = (pj_uint8_t)(param->ciphers[i] & 0xFF); - } - } - pj_strdup_with_null(pool, &ssock->servername, ¶m->server_name); - - ssock->qos_type = param->qos_type; - ssock->qos_ignore_error = param->qos_ignore_error; - pj_memcpy(&ssock->qos_params, ¶m->qos_params, - sizeof(param->qos_params)); - - /* Finally */ - *p_ssock = ssock; - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pj_ssl_cert_load_from_files(pj_pool_t *pool, - const pj_str_t *CA_file, - const pj_str_t *cert_file, - const pj_str_t *privkey_file, - const pj_str_t *privkey_pass, - pj_ssl_cert_t **p_cert) -{ - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(CA_file); - PJ_UNUSED_ARG(cert_file); - PJ_UNUSED_ARG(privkey_file); - PJ_UNUSED_ARG(privkey_pass); - PJ_UNUSED_ARG(p_cert); - return PJ_ENOTSUP; -} - -/* - * Set SSL socket credential. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_set_certificate( - pj_ssl_sock_t *ssock, - pj_pool_t *pool, - const pj_ssl_cert_t *cert) -{ - PJ_UNUSED_ARG(ssock); - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(cert); - return PJ_ENOTSUP; -} - -/* - * Close the SSL socket. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_close(pj_ssl_sock_t *ssock) -{ - PJ_ASSERT_RETURN(ssock, PJ_EINVAL); - - delete ssock->connect_timer; - ssock->connect_timer = NULL; - - delete ssock->sock; - ssock->sock = NULL; - - delete ssock->read_state.read_buf; - delete ssock->read_state.orig_buf; - ssock->read_state.read_buf = NULL; - ssock->read_state.orig_buf = NULL; - - return PJ_SUCCESS; -} - - -/* - * Associate arbitrary data with the SSL socket. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_set_user_data (pj_ssl_sock_t *ssock, - void *user_data) -{ - PJ_ASSERT_RETURN(ssock, PJ_EINVAL); - - ssock->user_data = user_data; - - return PJ_SUCCESS; -} - - -/* - * Retrieve the user data previously associated with this SSL - * socket. - */ -PJ_DEF(void*) pj_ssl_sock_get_user_data(pj_ssl_sock_t *ssock) -{ - PJ_ASSERT_RETURN(ssock, NULL); - - return ssock->user_data; -} - - -/* - * Retrieve the local address and port used by specified SSL socket. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_get_info (pj_ssl_sock_t *ssock, - pj_ssl_sock_info *info) -{ - PJ_ASSERT_RETURN(ssock && info, PJ_EINVAL); - - pj_bzero(info, sizeof(*info)); - - info->established = ssock->established; - - /* Local address */ - if (ssock->sock) { - const TInetAddr* local_addr_ = ssock->sock->GetLocalAddr(); - int addrlen = sizeof(pj_sockaddr); - pj_status_t status; - - status = PjSymbianOS::Addr2pj(*local_addr_, info->local_addr, &addrlen); - if (status != PJ_SUCCESS) - return status; - } else { - pj_sockaddr_cp(&info->local_addr, &ssock->local_addr); - } - - if (info->established) { - /* Cipher suite */ - TBuf8<4> cipher; - if (ssock->sock->GetCipher(cipher) == KErrNone) { - info->cipher = (pj_ssl_cipher)cipher[1]; - } - - /* Remote address */ - pj_sockaddr_cp((pj_sockaddr_t*)&info->remote_addr, - (pj_sockaddr_t*)&ssock->rem_addr); - - /* Certificates info */ - info->remote_cert_info = &ssock->remote_cert_info; - } - - /* Protocol */ - info->proto = ssock->proto; - - return PJ_SUCCESS; -} - - -/* - * Starts read operation on this SSL socket. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_start_read (pj_ssl_sock_t *ssock, - pj_pool_t *pool, - unsigned buff_size, - pj_uint32_t flags) -{ - PJ_ASSERT_RETURN(ssock && pool && buff_size, PJ_EINVAL); - PJ_ASSERT_RETURN(ssock->established, PJ_EINVALIDOP); - - /* Reading is already started */ - if (ssock->read_state.orig_buf) { - return PJ_SUCCESS; - } - - void *readbuf[1]; - readbuf[0] = pj_pool_alloc(pool, buff_size); - return pj_ssl_sock_start_read2(ssock, pool, buff_size, readbuf, flags); -} - -static void read_cb(int err, void *key) -{ - pj_ssl_sock_t *ssock = (pj_ssl_sock_t*)key; - pj_status_t status; - - status = (err == KErrNone)? PJ_SUCCESS : PJ_RETURN_OS_ERROR(err); - - /* Check connection status */ - if (err == KErrEof || !PjSymbianOS::Instance()->IsConnectionUp() || - !ssock->established) - { - status = PJ_EEOF; - } - - /* Notify data arrival */ - if (ssock->cb.on_data_read) { - pj_size_t remainder = 0; - char *data = (char*)ssock->read_state.orig_buf->Ptr(); - pj_size_t data_len = ssock->read_state.read_buf->Length() + - ssock->read_state.read_buf->Ptr() - - ssock->read_state.orig_buf->Ptr(); - - if (data_len > 0) { - /* Notify received data */ - pj_bool_t ret = (*ssock->cb.on_data_read)(ssock, data, data_len, - status, &remainder); - if (!ret) { - /* We've been destroyed */ - return; - } - - /* Calculate available data for next READ operation */ - if (remainder > 0) { - pj_size_t data_maxlen = ssock->read_state.orig_buf->MaxLength(); - - /* There is some data left unconsumed by application, we give - * smaller buffer for next READ operation. - */ - ssock->read_state.read_buf->Set((TUint8*)data+remainder, 0, - data_maxlen - remainder); - } else { - /* Give all buffer for next READ operation. - */ - ssock->read_state.read_buf->Set(*ssock->read_state.orig_buf); - } - } - } - - if (status == PJ_SUCCESS) { - /* Perform the "next" READ operation */ - CPjSSLSocketReader *reader = ssock->sock->GetReader(); - ssock->read_state.read_buf->SetLength(0); - status = reader->Read(&read_cb, ssock, *ssock->read_state.read_buf, - ssock->read_state.flags); - } - - /* Connection closed or something goes wrong */ - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - /* Notify error */ - if (ssock->cb.on_data_read) { - pj_bool_t ret = (*ssock->cb.on_data_read)(ssock, NULL, 0, - status, NULL); - if (!ret) { - /* We've been destroyed */ - return; - } - } - - delete ssock->read_state.read_buf; - delete ssock->read_state.orig_buf; - ssock->read_state.read_buf = NULL; - ssock->read_state.orig_buf = NULL; - ssock->established = PJ_FALSE; - } -} - -/* - * Same as #pj_ssl_sock_start_read(), except that the application - * supplies the buffers for the read operation so that the acive socket - * does not have to allocate the buffers. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_start_read2 (pj_ssl_sock_t *ssock, - pj_pool_t *pool, - unsigned buff_size, - void *readbuf[], - pj_uint32_t flags) -{ - PJ_ASSERT_RETURN(ssock && buff_size && readbuf, PJ_EINVAL); - PJ_ASSERT_RETURN(ssock->established, PJ_EINVALIDOP); - - /* Return failure if access point is marked as down by app. */ - PJ_SYMBIAN_CHECK_CONNECTION(); - - /* Reading is already started */ - if (ssock->read_state.orig_buf) { - return PJ_SUCCESS; - } - - PJ_UNUSED_ARG(pool); - - /* Get reader instance */ - CPjSSLSocketReader *reader = ssock->sock->GetReader(); - if (!reader) - return PJ_ENOMEM; - - /* We manage two buffer pointers here: - * 1. orig_buf keeps the orginal buffer address (and its max length). - * 2. read_buf provides buffer for READ operation, mind that there may be - * some remainder data left by application. - */ - ssock->read_state.read_buf = new TPtr8((TUint8*)readbuf[0], 0, buff_size); - ssock->read_state.orig_buf = new TPtr8((TUint8*)readbuf[0], 0, buff_size); - ssock->read_state.flags = flags; - - pj_status_t status; - status = reader->Read(&read_cb, ssock, *ssock->read_state.read_buf, - ssock->read_state.flags); - - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - delete ssock->read_state.read_buf; - delete ssock->read_state.orig_buf; - ssock->read_state.read_buf = NULL; - ssock->read_state.orig_buf = NULL; - - return status; - } - - return PJ_SUCCESS; -} - -/* - * Same as pj_ssl_sock_start_read(), except that this function is used - * only for datagram sockets, and it will trigger \a on_data_recvfrom() - * callback instead. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_start_recvfrom (pj_ssl_sock_t *ssock, - pj_pool_t *pool, - unsigned buff_size, - pj_uint32_t flags) -{ - PJ_UNUSED_ARG(ssock); - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(buff_size); - PJ_UNUSED_ARG(flags); - return PJ_ENOTSUP; -} - -/* - * Same as #pj_ssl_sock_start_recvfrom() except that the recvfrom() - * operation takes the buffer from the argument rather than creating - * new ones. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_start_recvfrom2 (pj_ssl_sock_t *ssock, - pj_pool_t *pool, - unsigned buff_size, - void *readbuf[], - pj_uint32_t flags) -{ - PJ_UNUSED_ARG(ssock); - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(buff_size); - PJ_UNUSED_ARG(readbuf); - PJ_UNUSED_ARG(flags); - return PJ_ENOTSUP; -} - -static void send_cb(int err, void *key) -{ - pj_ssl_sock_t *ssock = (pj_ssl_sock_t*)key; - write_state_t *st = &ssock->write_state; - - /* Check connection status */ - if (err != KErrNone || !PjSymbianOS::Instance()->IsConnectionUp() || - !ssock->established) - { - ssock->established = PJ_FALSE; - return; - } - - /* Remove sent data from buffer */ - st->start += st->current_data->len; - st->len -= st->current_data->len; - - /* Reset current outstanding send */ - st->current_data = NULL; - - /* Let's check if there is pending data to send */ - if (st->len) { - write_data_t *wdata = (write_data_t*)st->start; - pj_status_t status; - - st->send_ptr.Set((TUint8*)wdata->data, (TInt)wdata->data_len); - st->current_data = wdata; - status = ssock->sock->Send(&send_cb, ssock, st->send_ptr, 0); - if (status != PJ_EPENDING) { - ssock->established = PJ_FALSE; - st->len = 0; - return; - } - } else { - /* Buffer empty, reset the start position */ - st->start = st->buf; - } -} - -/* - * Send data using the socket. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_send (pj_ssl_sock_t *ssock, - pj_ioqueue_op_key_t *send_key, - const void *data, - pj_ssize_t *size, - unsigned flags) -{ - PJ_CHECK_STACK(); - PJ_ASSERT_RETURN(ssock && data && size, PJ_EINVAL); - PJ_ASSERT_RETURN(ssock->write_state.max_len == 0 || - ssock->write_state.max_len >= (pj_size_t)*size, - PJ_ETOOSMALL); - - /* Check connection status */ - if (!PjSymbianOS::Instance()->IsConnectionUp() || !ssock->established) - { - ssock->established = PJ_FALSE; - return PJ_ECANCELLED; - } - - write_state_t *st = &ssock->write_state; - - /* Synchronous mode */ - if (st->max_len == 0) { - st->send_ptr.Set((TUint8*)data, (TInt)*size); - return ssock->sock->SendSync(st->send_ptr, flags); - } - - /* CSecureSocket only allows one outstanding send operation, so - * we use buffering mechanism to allow application to perform send - * operations at any time. - */ - - pj_size_t needed_len = *size + sizeof(write_data_t) - 1; - - /* Align needed_len to be multiplication of 4 */ - needed_len = ((needed_len + 3) >> 2) << 2; - - /* Block until there is buffer slot available and contiguous! */ - while (st->start + st->len + needed_len > st->buf + st->max_len) { - pj_symbianos_poll(-1, -1); - } - - /* Push back the send data into the buffer */ - write_data_t *wdata = (write_data_t*)(st->start + st->len); - - wdata->len = needed_len; - wdata->key = send_key; - wdata->data_len = (pj_size_t)*size; - pj_memcpy(wdata->data, data, *size); - st->len += needed_len; - - /* If no outstanding send, send it */ - if (st->current_data == NULL) { - pj_status_t status; - - wdata = (write_data_t*)st->start; - st->current_data = wdata; - st->send_ptr.Set((TUint8*)wdata->data, (TInt)wdata->data_len); - status = ssock->sock->Send(&send_cb, ssock, st->send_ptr, flags); - - if (status != PJ_EPENDING) { - *size = -status; - return status; - } - } - - return PJ_SUCCESS; -} - -/* - * Send datagram using the socket. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_sendto (pj_ssl_sock_t *ssock, - pj_ioqueue_op_key_t *send_key, - const void *data, - pj_ssize_t *size, - unsigned flags, - const pj_sockaddr_t *addr, - int addr_len) -{ - PJ_UNUSED_ARG(ssock); - PJ_UNUSED_ARG(send_key); - PJ_UNUSED_ARG(data); - PJ_UNUSED_ARG(size); - PJ_UNUSED_ARG(flags); - PJ_UNUSED_ARG(addr); - PJ_UNUSED_ARG(addr_len); - return PJ_ENOTSUP; -} - -/* - * Starts asynchronous socket accept() operations on this SSL socket. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_start_accept (pj_ssl_sock_t *ssock, - pj_pool_t *pool, - const pj_sockaddr_t *local_addr, - int addr_len) -{ - PJ_UNUSED_ARG(ssock); - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(local_addr); - PJ_UNUSED_ARG(addr_len); - - return PJ_ENOTSUP; -} - -static void connect_cb(int err, void *key) -{ - pj_ssl_sock_t *ssock = (pj_ssl_sock_t*)key; - pj_status_t status; - - if (ssock->connect_timer) { - delete ssock->connect_timer; - ssock->connect_timer = NULL; - } - - status = (err == KErrNone)? PJ_SUCCESS : PJ_RETURN_OS_ERROR(err); - if (status == PJ_SUCCESS) { - ssock->established = PJ_TRUE; - update_certs_info(ssock); - } else { - delete ssock->sock; - ssock->sock = NULL; - if (err == KErrTimedOut) status = PJ_ETIMEDOUT; - } - - if (ssock->cb.on_connect_complete) { - pj_bool_t ret = (*ssock->cb.on_connect_complete)(ssock, status); - if (!ret) { - /* We've been destroyed */ - return; - } - } -} - -static void connect_timer_cb(void *key) -{ - connect_cb(KErrTimedOut, key); -} - -/* - * Starts asynchronous socket connect() operation and SSL/TLS handshaking - * for this socket. Once the connection is done (either successfully or not), - * the \a on_connect_complete() callback will be called. - */ -PJ_DEF(pj_status_t) pj_ssl_sock_start_connect (pj_ssl_sock_t *ssock, - pj_pool_t *pool, - const pj_sockaddr_t *localaddr, - const pj_sockaddr_t *remaddr, - int addr_len) -{ - CPjSSLSocket *sock = NULL; - pj_status_t status; - - PJ_ASSERT_RETURN(ssock && pool && localaddr && remaddr && addr_len, - PJ_EINVAL); - - /* Check connection status */ - PJ_SYMBIAN_CHECK_CONNECTION(); - - if (ssock->sock != NULL) { - CPjSSLSocket::ssl_state state = ssock->sock->GetState(); - switch (state) { - case CPjSSLSocket::SSL_STATE_ESTABLISHED: - return PJ_SUCCESS; - default: - return PJ_EPENDING; - } - } - - /* Set SSL protocol */ - TPtrC8 proto; - - if (ssock->proto == PJ_SSL_SOCK_PROTO_DEFAULT) - ssock->proto = PJ_SSL_SOCK_PROTO_TLS1; - - /* CSecureSocket only support TLS1.0 and SSL3.0 */ - switch(ssock->proto) { - case PJ_SSL_SOCK_PROTO_TLS1: - proto.Set((const TUint8*)"TLS1.0", 6); - break; - case PJ_SSL_SOCK_PROTO_SSL3: - proto.Set((const TUint8*)"SSL3.0", 6); - break; - default: - return PJ_ENOTSUP; - } - - /* Prepare addresses */ - TInetAddr localaddr_, remaddr_; - status = PjSymbianOS::pj2Addr(*(pj_sockaddr*)localaddr, addr_len, - localaddr_); - if (status != PJ_SUCCESS) - return status; - - status = PjSymbianOS::pj2Addr(*(pj_sockaddr*)remaddr, addr_len, - remaddr_); - if (status != PJ_SUCCESS) - return status; - - pj_sockaddr_cp((pj_sockaddr_t*)&ssock->rem_addr, remaddr); - - /* Init SSL engine */ - TRAPD(err, sock = CPjSSLSocket::NewL(proto, ssock->qos_type, - ssock->qos_params)); - if (err != KErrNone) - return PJ_ENOMEM; - - if (ssock->timeout.sec != 0 || ssock->timeout.msec != 0) { - ssock->connect_timer = new CPjTimer(&ssock->timeout, - &connect_timer_cb, ssock); - } - - /* Convert server name to Symbian descriptor */ - TPtrC8 servername_((TUint8*)ssock->servername.ptr, - ssock->servername.slen); - - /* Convert cipher list to Symbian descriptor */ - TPtrC8 ciphers_((TUint8*)ssock->ciphers.ptr, - ssock->ciphers.slen); - - /* Try to connect */ - status = sock->Connect(&connect_cb, ssock, localaddr_, remaddr_, - servername_, ciphers_); - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - delete sock; - return status; - } - - ssock->sock = sock; - return status; -} - - -PJ_DEF(pj_status_t) pj_ssl_sock_renegotiate(pj_ssl_sock_t *ssock) -{ - PJ_UNUSED_ARG(ssock); - return PJ_ENOTSUP; -} diff --git a/res/pjproject/pjlib/src/pj/string.c b/res/pjproject/pjlib/src/pj/string.c deleted file mode 100644 index 52e7c7949a..0000000000 --- a/res/pjproject/pjlib/src/pj/string.c +++ /dev/null @@ -1,202 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - -#if PJ_FUNCTIONS_ARE_INLINED==0 -# include -#endif - - -PJ_DEF(char*) pj_strstr(const pj_str_t *str, const pj_str_t *substr) -{ - const char *s, *ends; - - /* Special case when substr is zero */ - if (substr->slen == 0) { - return (char*)str->ptr; - } - - s = str->ptr; - ends = str->ptr + str->slen - substr->slen; - for (; s<=ends; ++s) { - if (pj_ansi_strncmp(s, substr->ptr, substr->slen)==0) - return (char*)s; - } - return NULL; -} - - -PJ_DEF(char*) pj_stristr(const pj_str_t *str, const pj_str_t *substr) -{ - const char *s, *ends; - - /* Special case when substr is zero */ - if (substr->slen == 0) { - return (char*)str->ptr; - } - - s = str->ptr; - ends = str->ptr + str->slen - substr->slen; - for (; s<=ends; ++s) { - if (pj_ansi_strnicmp(s, substr->ptr, substr->slen)==0) - return (char*)s; - } - return NULL; -} - - -PJ_DEF(pj_str_t*) pj_strltrim( pj_str_t *str ) -{ - char *end = str->ptr + str->slen; - register char *p = str->ptr; - while (p < end && pj_isspace(*p)) - ++p; - str->slen -= (p - str->ptr); - str->ptr = p; - return str; -} - -PJ_DEF(pj_str_t*) pj_strrtrim( pj_str_t *str ) -{ - char *end = str->ptr + str->slen; - register char *p = end - 1; - while (p >= str->ptr && pj_isspace(*p)) - --p; - str->slen -= ((end - p) - 1); - return str; -} - -PJ_DEF(char*) pj_create_random_string(char *str, pj_size_t len) -{ - unsigned i; - char *p = str; - - PJ_CHECK_STACK(); - - for (i=0; i> 24, p+0 ); - pj_val_to_hex_digit( (val & 0x00FF0000) >> 16, p+2 ); - pj_val_to_hex_digit( (val & 0x0000FF00) >> 8, p+4 ); - pj_val_to_hex_digit( (val & 0x000000FF) >> 0, p+6 ); - p += 8; - } - for (i=i * 8; islen; ++i) { - if (!pj_isdigit(str->ptr[i])) - break; - value = value * 10 + (str->ptr[i] - '0'); - } - return value; -} - -PJ_DEF(unsigned long) pj_strtoul2(const pj_str_t *str, pj_str_t *endptr, - unsigned base) -{ - unsigned long value; - unsigned i; - - PJ_CHECK_STACK(); - - value = 0; - if (base <= 10) { - for (i=0; i<(unsigned)str->slen; ++i) { - unsigned c = (str->ptr[i] - '0'); - if (c >= base) - break; - value = value * base + c; - } - } else if (base == 16) { - for (i=0; i<(unsigned)str->slen; ++i) { - if (!pj_isxdigit(str->ptr[i])) - break; - value = value * 16 + pj_hex_digit_to_val(str->ptr[i]); - } - } else { - pj_assert(!"Unsupported base"); - i = 0; - value = 0xFFFFFFFFUL; - } - - if (endptr) { - endptr->ptr = str->ptr + i; - endptr->slen = str->slen - i; - } - - return value; -} - -PJ_DEF(int) pj_utoa(unsigned long val, char *buf) -{ - return pj_utoa_pad(val, buf, 0, 0); -} - -PJ_DEF(int) pj_utoa_pad( unsigned long val, char *buf, int min_dig, int pad) -{ - char *p; - int len; - - PJ_CHECK_STACK(); - - p = buf; - do { - unsigned long digval = (unsigned long) (val % 10); - val /= 10; - *p++ = (char) (digval + '0'); - } while (val > 0); - - len = p-buf; - while (len < min_dig) { - *p++ = (char)pad; - ++len; - } - *p-- = '\0'; - - do { - char temp = *p; - *p = *buf; - *buf = temp; - --p; - ++buf; - } while (buf < p); - - return len; -} - - diff --git a/res/pjproject/pjlib/src/pj/symbols.c b/res/pjproject/pjlib/src/pj/symbols.c deleted file mode 100644 index ab83af956a..0000000000 --- a/res/pjproject/pjlib/src/pj/symbols.c +++ /dev/null @@ -1,348 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include - -/* - * addr_resolv.h - */ -PJ_EXPORT_SYMBOL(pj_gethostbyname) - -/* - * array.h - */ -PJ_EXPORT_SYMBOL(pj_array_insert) -PJ_EXPORT_SYMBOL(pj_array_erase) -PJ_EXPORT_SYMBOL(pj_array_find) - -/* - * config.h - */ -PJ_EXPORT_SYMBOL(pj_dump_config) - -/* - * errno.h - */ -PJ_EXPORT_SYMBOL(pj_get_os_error) -PJ_EXPORT_SYMBOL(pj_set_os_error) -PJ_EXPORT_SYMBOL(pj_get_netos_error) -PJ_EXPORT_SYMBOL(pj_set_netos_error) -PJ_EXPORT_SYMBOL(pj_strerror) - -/* - * except.h - */ -PJ_EXPORT_SYMBOL(pj_throw_exception_) -PJ_EXPORT_SYMBOL(pj_push_exception_handler_) -PJ_EXPORT_SYMBOL(pj_pop_exception_handler_) -PJ_EXPORT_SYMBOL(pj_setjmp) -PJ_EXPORT_SYMBOL(pj_longjmp) -PJ_EXPORT_SYMBOL(pj_exception_id_alloc) -PJ_EXPORT_SYMBOL(pj_exception_id_free) -PJ_EXPORT_SYMBOL(pj_exception_id_name) - - -/* - * fifobuf.h - */ -PJ_EXPORT_SYMBOL(pj_fifobuf_init) -PJ_EXPORT_SYMBOL(pj_fifobuf_max_size) -PJ_EXPORT_SYMBOL(pj_fifobuf_alloc) -PJ_EXPORT_SYMBOL(pj_fifobuf_unalloc) -PJ_EXPORT_SYMBOL(pj_fifobuf_free) - -/* - * guid.h - */ -PJ_EXPORT_SYMBOL(pj_generate_unique_string) -PJ_EXPORT_SYMBOL(pj_create_unique_string) - -/* - * hash.h - */ -PJ_EXPORT_SYMBOL(pj_hash_calc) -PJ_EXPORT_SYMBOL(pj_hash_create) -PJ_EXPORT_SYMBOL(pj_hash_get) -PJ_EXPORT_SYMBOL(pj_hash_set) -PJ_EXPORT_SYMBOL(pj_hash_count) -PJ_EXPORT_SYMBOL(pj_hash_first) -PJ_EXPORT_SYMBOL(pj_hash_next) -PJ_EXPORT_SYMBOL(pj_hash_this) - -/* - * ioqueue.h - */ -PJ_EXPORT_SYMBOL(pj_ioqueue_create) -PJ_EXPORT_SYMBOL(pj_ioqueue_destroy) -PJ_EXPORT_SYMBOL(pj_ioqueue_set_lock) -PJ_EXPORT_SYMBOL(pj_ioqueue_register_sock) -PJ_EXPORT_SYMBOL(pj_ioqueue_unregister) -PJ_EXPORT_SYMBOL(pj_ioqueue_get_user_data) -PJ_EXPORT_SYMBOL(pj_ioqueue_poll) -PJ_EXPORT_SYMBOL(pj_ioqueue_read) -PJ_EXPORT_SYMBOL(pj_ioqueue_recv) -PJ_EXPORT_SYMBOL(pj_ioqueue_recvfrom) -PJ_EXPORT_SYMBOL(pj_ioqueue_write) -PJ_EXPORT_SYMBOL(pj_ioqueue_send) -PJ_EXPORT_SYMBOL(pj_ioqueue_sendto) -#if defined(PJ_HAS_TCP) && PJ_HAS_TCP != 0 -PJ_EXPORT_SYMBOL(pj_ioqueue_accept) -PJ_EXPORT_SYMBOL(pj_ioqueue_connect) -#endif - -/* - * list.h - */ -PJ_EXPORT_SYMBOL(pj_list_insert_before) -PJ_EXPORT_SYMBOL(pj_list_insert_nodes_before) -PJ_EXPORT_SYMBOL(pj_list_insert_after) -PJ_EXPORT_SYMBOL(pj_list_insert_nodes_after) -PJ_EXPORT_SYMBOL(pj_list_merge_first) -PJ_EXPORT_SYMBOL(pj_list_merge_last) -PJ_EXPORT_SYMBOL(pj_list_erase) -PJ_EXPORT_SYMBOL(pj_list_find_node) -PJ_EXPORT_SYMBOL(pj_list_search) - - -/* - * log.h - */ -PJ_EXPORT_SYMBOL(pj_log_write) -#if PJ_LOG_MAX_LEVEL >= 1 -PJ_EXPORT_SYMBOL(pj_log_set_log_func) -PJ_EXPORT_SYMBOL(pj_log_get_log_func) -PJ_EXPORT_SYMBOL(pj_log_set_level) -PJ_EXPORT_SYMBOL(pj_log_get_level) -PJ_EXPORT_SYMBOL(pj_log_set_decor) -PJ_EXPORT_SYMBOL(pj_log_get_decor) -PJ_EXPORT_SYMBOL(pj_log_1) -#endif -#if PJ_LOG_MAX_LEVEL >= 2 -PJ_EXPORT_SYMBOL(pj_log_2) -#endif -#if PJ_LOG_MAX_LEVEL >= 3 -PJ_EXPORT_SYMBOL(pj_log_3) -#endif -#if PJ_LOG_MAX_LEVEL >= 4 -PJ_EXPORT_SYMBOL(pj_log_4) -#endif -#if PJ_LOG_MAX_LEVEL >= 5 -PJ_EXPORT_SYMBOL(pj_log_5) -#endif -#if PJ_LOG_MAX_LEVEL >= 6 -PJ_EXPORT_SYMBOL(pj_log_6) -#endif - -/* - * os.h - */ -PJ_EXPORT_SYMBOL(pj_init) -PJ_EXPORT_SYMBOL(pj_getpid) -PJ_EXPORT_SYMBOL(pj_thread_register) -PJ_EXPORT_SYMBOL(pj_thread_create) -PJ_EXPORT_SYMBOL(pj_thread_get_name) -PJ_EXPORT_SYMBOL(pj_thread_resume) -PJ_EXPORT_SYMBOL(pj_thread_this) -PJ_EXPORT_SYMBOL(pj_thread_join) -PJ_EXPORT_SYMBOL(pj_thread_destroy) -PJ_EXPORT_SYMBOL(pj_thread_sleep) -#if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK != 0 -PJ_EXPORT_SYMBOL(pj_thread_check_stack) -PJ_EXPORT_SYMBOL(pj_thread_get_stack_max_usage) -PJ_EXPORT_SYMBOL(pj_thread_get_stack_info) -#endif -PJ_EXPORT_SYMBOL(pj_atomic_create) -PJ_EXPORT_SYMBOL(pj_atomic_destroy) -PJ_EXPORT_SYMBOL(pj_atomic_set) -PJ_EXPORT_SYMBOL(pj_atomic_get) -PJ_EXPORT_SYMBOL(pj_atomic_inc) -PJ_EXPORT_SYMBOL(pj_atomic_dec) -PJ_EXPORT_SYMBOL(pj_thread_local_alloc) -PJ_EXPORT_SYMBOL(pj_thread_local_free) -PJ_EXPORT_SYMBOL(pj_thread_local_set) -PJ_EXPORT_SYMBOL(pj_thread_local_get) -PJ_EXPORT_SYMBOL(pj_enter_critical_section) -PJ_EXPORT_SYMBOL(pj_leave_critical_section) -PJ_EXPORT_SYMBOL(pj_mutex_create) -PJ_EXPORT_SYMBOL(pj_mutex_lock) -PJ_EXPORT_SYMBOL(pj_mutex_unlock) -PJ_EXPORT_SYMBOL(pj_mutex_trylock) -PJ_EXPORT_SYMBOL(pj_mutex_destroy) -#if defined(PJ_DEBUG) && PJ_DEBUG != 0 -PJ_EXPORT_SYMBOL(pj_mutex_is_locked) -#endif -#if defined(PJ_HAS_SEMAPHORE) && PJ_HAS_SEMAPHORE != 0 -PJ_EXPORT_SYMBOL(pj_sem_create) -PJ_EXPORT_SYMBOL(pj_sem_wait) -PJ_EXPORT_SYMBOL(pj_sem_trywait) -PJ_EXPORT_SYMBOL(pj_sem_post) -PJ_EXPORT_SYMBOL(pj_sem_destroy) -#endif -PJ_EXPORT_SYMBOL(pj_gettimeofday) -PJ_EXPORT_SYMBOL(pj_time_decode) -#if defined(PJ_HAS_HIGH_RES_TIMER) && PJ_HAS_HIGH_RES_TIMER != 0 -PJ_EXPORT_SYMBOL(pj_gettickcount) -PJ_EXPORT_SYMBOL(pj_get_timestamp) -PJ_EXPORT_SYMBOL(pj_get_timestamp_freq) -PJ_EXPORT_SYMBOL(pj_elapsed_time) -PJ_EXPORT_SYMBOL(pj_elapsed_usec) -PJ_EXPORT_SYMBOL(pj_elapsed_nanosec) -PJ_EXPORT_SYMBOL(pj_elapsed_cycle) -#endif - - -/* - * pool.h - */ -PJ_EXPORT_SYMBOL(pj_pool_create) -PJ_EXPORT_SYMBOL(pj_pool_release) -PJ_EXPORT_SYMBOL(pj_pool_getobjname) -PJ_EXPORT_SYMBOL(pj_pool_reset) -PJ_EXPORT_SYMBOL(pj_pool_get_capacity) -PJ_EXPORT_SYMBOL(pj_pool_get_used_size) -PJ_EXPORT_SYMBOL(pj_pool_alloc) -PJ_EXPORT_SYMBOL(pj_pool_calloc) -PJ_EXPORT_SYMBOL(pj_pool_factory_default_policy) -PJ_EXPORT_SYMBOL(pj_pool_create_int) -PJ_EXPORT_SYMBOL(pj_pool_init_int) -PJ_EXPORT_SYMBOL(pj_pool_destroy_int) -PJ_EXPORT_SYMBOL(pj_caching_pool_init) -PJ_EXPORT_SYMBOL(pj_caching_pool_destroy) - -/* - * rand.h - */ -PJ_EXPORT_SYMBOL(pj_rand) -PJ_EXPORT_SYMBOL(pj_srand) - -/* - * rbtree.h - */ -PJ_EXPORT_SYMBOL(pj_rbtree_init) -PJ_EXPORT_SYMBOL(pj_rbtree_first) -PJ_EXPORT_SYMBOL(pj_rbtree_last) -PJ_EXPORT_SYMBOL(pj_rbtree_next) -PJ_EXPORT_SYMBOL(pj_rbtree_prev) -PJ_EXPORT_SYMBOL(pj_rbtree_insert) -PJ_EXPORT_SYMBOL(pj_rbtree_find) -PJ_EXPORT_SYMBOL(pj_rbtree_erase) -PJ_EXPORT_SYMBOL(pj_rbtree_max_height) -PJ_EXPORT_SYMBOL(pj_rbtree_min_height) - -/* - * sock.h - */ -PJ_EXPORT_SYMBOL(PJ_AF_UNIX) -PJ_EXPORT_SYMBOL(PJ_AF_INET) -PJ_EXPORT_SYMBOL(PJ_AF_INET6) -PJ_EXPORT_SYMBOL(PJ_AF_PACKET) -PJ_EXPORT_SYMBOL(PJ_AF_IRDA) -PJ_EXPORT_SYMBOL(PJ_SOCK_STREAM) -PJ_EXPORT_SYMBOL(PJ_SOCK_DGRAM) -PJ_EXPORT_SYMBOL(PJ_SOCK_RAW) -PJ_EXPORT_SYMBOL(PJ_SOCK_RDM) -PJ_EXPORT_SYMBOL(PJ_SOL_SOCKET) -PJ_EXPORT_SYMBOL(PJ_SOL_IP) -PJ_EXPORT_SYMBOL(PJ_SOL_TCP) -PJ_EXPORT_SYMBOL(PJ_SOL_UDP) -PJ_EXPORT_SYMBOL(PJ_SOL_IPV6) -PJ_EXPORT_SYMBOL(pj_ntohs) -PJ_EXPORT_SYMBOL(pj_htons) -PJ_EXPORT_SYMBOL(pj_ntohl) -PJ_EXPORT_SYMBOL(pj_htonl) -PJ_EXPORT_SYMBOL(pj_inet_ntoa) -PJ_EXPORT_SYMBOL(pj_inet_aton) -PJ_EXPORT_SYMBOL(pj_inet_addr) -PJ_EXPORT_SYMBOL(pj_sockaddr_in_set_str_addr) -PJ_EXPORT_SYMBOL(pj_sockaddr_in_init) -PJ_EXPORT_SYMBOL(pj_gethostname) -PJ_EXPORT_SYMBOL(pj_gethostaddr) -PJ_EXPORT_SYMBOL(pj_sock_socket) -PJ_EXPORT_SYMBOL(pj_sock_close) -PJ_EXPORT_SYMBOL(pj_sock_bind) -PJ_EXPORT_SYMBOL(pj_sock_bind_in) -#if defined(PJ_HAS_TCP) && PJ_HAS_TCP != 0 -PJ_EXPORT_SYMBOL(pj_sock_listen) -PJ_EXPORT_SYMBOL(pj_sock_accept) -PJ_EXPORT_SYMBOL(pj_sock_shutdown) -#endif -PJ_EXPORT_SYMBOL(pj_sock_connect) -PJ_EXPORT_SYMBOL(pj_sock_getpeername) -PJ_EXPORT_SYMBOL(pj_sock_getsockname) -PJ_EXPORT_SYMBOL(pj_sock_getsockopt) -PJ_EXPORT_SYMBOL(pj_sock_setsockopt) -PJ_EXPORT_SYMBOL(pj_sock_recv) -PJ_EXPORT_SYMBOL(pj_sock_recvfrom) -PJ_EXPORT_SYMBOL(pj_sock_send) -PJ_EXPORT_SYMBOL(pj_sock_sendto) - -/* - * sock_select.h - */ -PJ_EXPORT_SYMBOL(PJ_FD_ZERO) -PJ_EXPORT_SYMBOL(PJ_FD_SET) -PJ_EXPORT_SYMBOL(PJ_FD_CLR) -PJ_EXPORT_SYMBOL(PJ_FD_ISSET) -PJ_EXPORT_SYMBOL(pj_sock_select) - -/* - * string.h - */ -PJ_EXPORT_SYMBOL(pj_str) -PJ_EXPORT_SYMBOL(pj_strassign) -PJ_EXPORT_SYMBOL(pj_strcpy) -PJ_EXPORT_SYMBOL(pj_strcpy2) -PJ_EXPORT_SYMBOL(pj_strdup) -PJ_EXPORT_SYMBOL(pj_strdup_with_null) -PJ_EXPORT_SYMBOL(pj_strdup2) -PJ_EXPORT_SYMBOL(pj_strdup3) -PJ_EXPORT_SYMBOL(pj_strcmp) -PJ_EXPORT_SYMBOL(pj_strcmp2) -PJ_EXPORT_SYMBOL(pj_strncmp) -PJ_EXPORT_SYMBOL(pj_strncmp2) -PJ_EXPORT_SYMBOL(pj_stricmp) -PJ_EXPORT_SYMBOL(pj_stricmp2) -PJ_EXPORT_SYMBOL(pj_strnicmp) -PJ_EXPORT_SYMBOL(pj_strnicmp2) -PJ_EXPORT_SYMBOL(pj_strcat) -PJ_EXPORT_SYMBOL(pj_strltrim) -PJ_EXPORT_SYMBOL(pj_strrtrim) -PJ_EXPORT_SYMBOL(pj_strtrim) -PJ_EXPORT_SYMBOL(pj_create_random_string) -PJ_EXPORT_SYMBOL(pj_strtoul) -PJ_EXPORT_SYMBOL(pj_utoa) -PJ_EXPORT_SYMBOL(pj_utoa_pad) - -/* - * timer.h - */ -PJ_EXPORT_SYMBOL(pj_timer_heap_mem_size) -PJ_EXPORT_SYMBOL(pj_timer_heap_create) -PJ_EXPORT_SYMBOL(pj_timer_entry_init) -PJ_EXPORT_SYMBOL(pj_timer_heap_schedule) -PJ_EXPORT_SYMBOL(pj_timer_heap_cancel) -PJ_EXPORT_SYMBOL(pj_timer_heap_count) -PJ_EXPORT_SYMBOL(pj_timer_heap_earliest_time) -PJ_EXPORT_SYMBOL(pj_timer_heap_poll) - -/* - * types.h - */ -PJ_EXPORT_SYMBOL(pj_time_val_normalize) - diff --git a/res/pjproject/pjlib/src/pj/timer.c b/res/pjproject/pjlib/src/pj/timer.c deleted file mode 100644 index 573c7ecb34..0000000000 --- a/res/pjproject/pjlib/src/pj/timer.c +++ /dev/null @@ -1,554 +0,0 @@ -/* $Id$ */ -/* - * The PJLIB's timer heap is based (or more correctly, copied and modied) - * from ACE library by Douglas C. Schmidt. ACE is an excellent OO framework - * that implements many core patterns for concurrent communication software. - * If you're looking for C++ alternative of PJLIB, then ACE is your best - * solution. - * - * You may use this file according to ACE open source terms or PJLIB open - * source terms. You can find the fine ACE library at: - * http://www.cs.wustl.edu/~schmidt/ACE.html - * - * ACE is Copyright (C)1993-2006 Douglas C. Schmidt - * - * GNU Public License: - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include - -#define HEAP_PARENT(X) (X == 0 ? 0 : (((X) - 1) / 2)) -#define HEAP_LEFT(X) (((X)+(X))+1) - - -#define DEFAULT_MAX_TIMED_OUT_PER_POLL (64) - - -/** - * The implementation of timer heap. - */ -struct pj_timer_heap_t -{ - /** Pool from which the timer heap resize will get the storage from */ - pj_pool_t *pool; - - /** Maximum size of the heap. */ - pj_size_t max_size; - - /** Current size of the heap. */ - pj_size_t cur_size; - - /** Max timed out entries to process per poll. */ - unsigned max_entries_per_poll; - - /** Lock object. */ - pj_lock_t *lock; - - /** Autodelete lock. */ - pj_bool_t auto_delete_lock; - - /** - * Current contents of the Heap, which is organized as a "heap" of - * pj_timer_entry *'s. In this context, a heap is a "partially - * ordered, almost complete" binary tree, which is stored in an - * array. - */ - pj_timer_entry **heap; - - /** - * An array of "pointers" that allows each pj_timer_entry in the - * to be located in O(1) time. Basically, - * contains the slot in the array where an pj_timer_entry - * with timer id resides. Thus, the timer id passed back from - * is really an slot into the array. The - * array serves two purposes: negative values are - * treated as "pointers" for the , whereas positive - * values are treated as "pointers" into the array. - */ - pj_timer_id_t *timer_ids; - - /** - * "Pointer" to the first element in the freelist contained within - * the array, which is organized as a stack. - */ - pj_timer_id_t timer_ids_freelist; - - /** Callback to be called when a timer expires. */ - pj_timer_heap_callback *callback; - -}; - - - -PJ_INLINE(void) lock_timer_heap( pj_timer_heap_t *ht ) -{ - if (ht->lock) { - pj_lock_acquire(ht->lock); - } -} - -PJ_INLINE(void) unlock_timer_heap( pj_timer_heap_t *ht ) -{ - if (ht->lock) { - pj_lock_release(ht->lock); - } -} - - -static void copy_node( pj_timer_heap_t *ht, int slot, pj_timer_entry *moved_node ) -{ - PJ_CHECK_STACK(); - - // Insert into its new location in the heap. - ht->heap[slot] = moved_node; - - // Update the corresponding slot in the parallel array. - ht->timer_ids[moved_node->_timer_id] = slot; -} - -static pj_timer_id_t pop_freelist( pj_timer_heap_t *ht ) -{ - // We need to truncate this to for backwards compatibility. - pj_timer_id_t new_id = ht->timer_ids_freelist; - - PJ_CHECK_STACK(); - - // The freelist values in the are negative, so we need - // to negate them to get the next freelist "pointer." - ht->timer_ids_freelist = - -ht->timer_ids[ht->timer_ids_freelist]; - - return new_id; - -} - -static void push_freelist (pj_timer_heap_t *ht, pj_timer_id_t old_id) -{ - PJ_CHECK_STACK(); - - // The freelist values in the are negative, so we need - // to negate them to get the next freelist "pointer." - ht->timer_ids[old_id] = -ht->timer_ids_freelist; - ht->timer_ids_freelist = old_id; -} - - -static void reheap_down(pj_timer_heap_t *ht, pj_timer_entry *moved_node, - size_t slot, size_t child) -{ - PJ_CHECK_STACK(); - - // Restore the heap property after a deletion. - - while (child < ht->cur_size) - { - // Choose the smaller of the two children. - if (child + 1 < ht->cur_size - && PJ_TIME_VAL_LT(ht->heap[child + 1]->_timer_value, ht->heap[child]->_timer_value)) - child++; - - // Perform a if the child has a larger timeout value than - // the . - if (PJ_TIME_VAL_LT(ht->heap[child]->_timer_value, moved_node->_timer_value)) - { - copy_node( ht, slot, ht->heap[child]); - slot = child; - child = HEAP_LEFT(child); - } - else - // We've found our location in the heap. - break; - } - - copy_node( ht, slot, moved_node); -} - -static void reheap_up( pj_timer_heap_t *ht, pj_timer_entry *moved_node, - size_t slot, size_t parent) -{ - // Restore the heap property after an insertion. - - while (slot > 0) - { - // If the parent node is greater than the we need - // to copy it down. - if (PJ_TIME_VAL_LT(moved_node->_timer_value, ht->heap[parent]->_timer_value)) - { - copy_node(ht, slot, ht->heap[parent]); - slot = parent; - parent = HEAP_PARENT(slot); - } - else - break; - } - - // Insert the new node into its proper resting place in the heap and - // update the corresponding slot in the parallel array. - copy_node(ht, slot, moved_node); -} - - -static pj_timer_entry * remove_node( pj_timer_heap_t *ht, size_t slot) -{ - pj_timer_entry *removed_node = ht->heap[slot]; - - // Return this timer id to the freelist. - push_freelist( ht, removed_node->_timer_id ); - - // Decrement the size of the heap by one since we're removing the - // "slot"th node. - ht->cur_size--; - - // Set the ID - removed_node->_timer_id = -1; - - // Only try to reheapify if we're not deleting the last entry. - - if (slot < ht->cur_size) - { - int parent; - pj_timer_entry *moved_node = ht->heap[ht->cur_size]; - - // Move the end node to the location being removed and update - // the corresponding slot in the parallel array. - copy_node( ht, slot, moved_node); - - // If the time_value_> is great than or equal its - // parent it needs be moved down the heap. - parent = HEAP_PARENT (slot); - - if (PJ_TIME_VAL_GTE(moved_node->_timer_value, ht->heap[parent]->_timer_value)) - reheap_down( ht, moved_node, slot, HEAP_LEFT(slot)); - else - reheap_up( ht, moved_node, slot, parent); - } - - return removed_node; -} - -static void grow_heap(pj_timer_heap_t *ht) -{ - // All the containers will double in size from max_size_ - size_t new_size = ht->max_size * 2; - pj_timer_id_t *new_timer_ids; - pj_size_t i; - - // First grow the heap itself. - - pj_timer_entry **new_heap = 0; - - new_heap = (pj_timer_entry**) - pj_pool_alloc(ht->pool, sizeof(pj_timer_entry*) * new_size); - memcpy(new_heap, ht->heap, ht->max_size * sizeof(pj_timer_entry*)); - //delete [] this->heap_; - ht->heap = new_heap; - - // Grow the array of timer ids. - - new_timer_ids = 0; - new_timer_ids = (pj_timer_id_t*) - pj_pool_alloc(ht->pool, new_size * sizeof(pj_timer_id_t)); - - memcpy( new_timer_ids, ht->timer_ids, ht->max_size * sizeof(pj_timer_id_t)); - - //delete [] timer_ids_; - ht->timer_ids = new_timer_ids; - - // And add the new elements to the end of the "freelist". - for (i = ht->max_size; i < new_size; i++) - ht->timer_ids[i] = -((pj_timer_id_t) (i + 1)); - - ht->max_size = new_size; -} - -static void insert_node(pj_timer_heap_t *ht, pj_timer_entry *new_node) -{ - if (ht->cur_size + 2 >= ht->max_size) - grow_heap(ht); - - reheap_up( ht, new_node, ht->cur_size, HEAP_PARENT(ht->cur_size)); - ht->cur_size++; -} - - -static pj_status_t schedule_entry( pj_timer_heap_t *ht, - pj_timer_entry *entry, - const pj_time_val *future_time ) -{ - if (ht->cur_size < ht->max_size) - { - // Obtain the next unique sequence number. - // Set the entry - entry->_timer_id = pop_freelist(ht); - entry->_timer_value = *future_time; - insert_node( ht, entry); - return 0; - } - else - return -1; -} - - -static int cancel( pj_timer_heap_t *ht, - pj_timer_entry *entry, - int dont_call) -{ - long timer_node_slot; - - PJ_CHECK_STACK(); - - // Check to see if the timer_id is out of range - if (entry->_timer_id < 0 || (pj_size_t)entry->_timer_id > ht->max_size) - return 0; - - timer_node_slot = ht->timer_ids[entry->_timer_id]; - - if (timer_node_slot < 0) // Check to see if timer_id is still valid. - return 0; - - if (entry != ht->heap[timer_node_slot]) - { - pj_assert(entry == ht->heap[timer_node_slot]); - return 0; - } - else - { - remove_node( ht, timer_node_slot); - - if (dont_call == 0) - // Call the close hook. - (*ht->callback)(ht, entry); - return 1; - } -} - - -/* - * Calculate memory size required to create a timer heap. - */ -PJ_DEF(pj_size_t) pj_timer_heap_mem_size(pj_size_t count) -{ - return /* size of the timer heap itself: */ - sizeof(pj_timer_heap_t) + - /* size of each entry: */ - (count+2) * (sizeof(pj_timer_entry*)+sizeof(pj_timer_id_t)) + - /* lock, pool etc: */ - 132; -} - -/* - * Create a new timer heap. - */ -PJ_DEF(pj_status_t) pj_timer_heap_create( pj_pool_t *pool, - pj_size_t size, - pj_timer_heap_t **p_heap) -{ - pj_timer_heap_t *ht; - pj_size_t i; - - PJ_ASSERT_RETURN(pool && p_heap, PJ_EINVAL); - - *p_heap = NULL; - - /* Magic? */ - size += 2; - - /* Allocate timer heap data structure from the pool */ - ht = PJ_POOL_ALLOC_T(pool, pj_timer_heap_t); - if (!ht) - return PJ_ENOMEM; - - /* Initialize timer heap sizes */ - ht->max_size = size; - ht->cur_size = 0; - ht->max_entries_per_poll = DEFAULT_MAX_TIMED_OUT_PER_POLL; - ht->timer_ids_freelist = 1; - ht->pool = pool; - - /* Lock. */ - ht->lock = NULL; - ht->auto_delete_lock = 0; - - // Create the heap array. - ht->heap = (pj_timer_entry**) - pj_pool_alloc(pool, sizeof(pj_timer_entry*) * size); - if (!ht->heap) - return PJ_ENOMEM; - - // Create the parallel - ht->timer_ids = (pj_timer_id_t *) - pj_pool_alloc( pool, sizeof(pj_timer_id_t) * size); - if (!ht->timer_ids) - return PJ_ENOMEM; - - // Initialize the "freelist," which uses negative values to - // distinguish freelist elements from "pointers" into the - // array. - for (i=0; itimer_ids[i] = -((pj_timer_id_t) (i + 1)); - - *p_heap = ht; - return PJ_SUCCESS; -} - -PJ_DEF(void) pj_timer_heap_destroy( pj_timer_heap_t *ht ) -{ - if (ht->lock && ht->auto_delete_lock) { - pj_lock_destroy(ht->lock); - ht->lock = NULL; - } -} - -PJ_DEF(void) pj_timer_heap_set_lock( pj_timer_heap_t *ht, - pj_lock_t *lock, - pj_bool_t auto_del ) -{ - if (ht->lock && ht->auto_delete_lock) - pj_lock_destroy(ht->lock); - - ht->lock = lock; - ht->auto_delete_lock = auto_del; -} - - -PJ_DEF(unsigned) pj_timer_heap_set_max_timed_out_per_poll(pj_timer_heap_t *ht, - unsigned count ) -{ - unsigned old_count = ht->max_entries_per_poll; - ht->max_entries_per_poll = count; - return old_count; -} - -PJ_DEF(pj_timer_entry*) pj_timer_entry_init( pj_timer_entry *entry, - int id, - void *user_data, - pj_timer_heap_callback *cb ) -{ - pj_assert(entry && cb); - - entry->_timer_id = -1; - entry->id = id; - entry->user_data = user_data; - entry->cb = cb; - - return entry; -} - -PJ_DEF(pj_status_t) pj_timer_heap_schedule( pj_timer_heap_t *ht, - pj_timer_entry *entry, - const pj_time_val *delay) -{ - pj_status_t status; - pj_time_val expires; - - PJ_ASSERT_RETURN(ht && entry && delay, PJ_EINVAL); - PJ_ASSERT_RETURN(entry->cb != NULL, PJ_EINVAL); - - /* Prevent same entry from being scheduled more than once */ - PJ_ASSERT_RETURN(entry->_timer_id < 1, PJ_EINVALIDOP); - - pj_gettickcount(&expires); - PJ_TIME_VAL_ADD(expires, *delay); - - lock_timer_heap(ht); - status = schedule_entry(ht, entry, &expires); - unlock_timer_heap(ht); - - return status; -} - -PJ_DEF(int) pj_timer_heap_cancel( pj_timer_heap_t *ht, - pj_timer_entry *entry) -{ - int count; - - PJ_ASSERT_RETURN(ht && entry, PJ_EINVAL); - - lock_timer_heap(ht); - count = cancel(ht, entry, 1); - unlock_timer_heap(ht); - - return count; -} - -PJ_DEF(unsigned) pj_timer_heap_poll( pj_timer_heap_t *ht, - pj_time_val *next_delay ) -{ - pj_time_val now; - unsigned count; - - PJ_ASSERT_RETURN(ht, 0); - - if (!ht->cur_size && next_delay) { - next_delay->sec = next_delay->msec = PJ_MAXINT32; - return 0; - } - - count = 0; - pj_gettickcount(&now); - - lock_timer_heap(ht); - while ( ht->cur_size && - PJ_TIME_VAL_LTE(ht->heap[0]->_timer_value, now) && - count < ht->max_entries_per_poll ) - { - pj_timer_entry *node = remove_node(ht, 0); - ++count; - - unlock_timer_heap(ht); - if (node->cb) - (*node->cb)(ht, node); - lock_timer_heap(ht); - } - if (ht->cur_size && next_delay) { - *next_delay = ht->heap[0]->_timer_value; - PJ_TIME_VAL_SUB(*next_delay, now); - if (next_delay->sec < 0 || next_delay->msec < 0) - next_delay->sec = next_delay->msec = 0; - } else if (next_delay) { - next_delay->sec = next_delay->msec = PJ_MAXINT32; - } - unlock_timer_heap(ht); - - return count; -} - -PJ_DEF(pj_size_t) pj_timer_heap_count( pj_timer_heap_t *ht ) -{ - PJ_ASSERT_RETURN(ht, 0); - - return ht->cur_size; -} - -PJ_DEF(pj_status_t) pj_timer_heap_earliest_time( pj_timer_heap_t * ht, - pj_time_val *timeval) -{ - pj_assert(ht->cur_size != 0); - if (ht->cur_size == 0) - return PJ_ENOTFOUND; - - lock_timer_heap(ht); - *timeval = ht->heap[0]->_timer_value; - unlock_timer_heap(ht); - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjlib/src/pj/timer_symbian.cpp b/res/pjproject/pjlib/src/pj/timer_symbian.cpp deleted file mode 100644 index ca40a667d9..0000000000 --- a/res/pjproject/pjlib/src/pj/timer_symbian.cpp +++ /dev/null @@ -1,446 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - -#include "os_symbian.h" - - -#define DEFAULT_MAX_TIMED_OUT_PER_POLL (64) - -// Maximum number of miliseconds that RTimer.At() supports -#define MAX_RTIMER_INTERVAL 2147 - -/* Absolute maximum number of timer entries */ -#ifndef PJ_SYMBIAN_TIMER_MAX_COUNT -# define PJ_SYMBIAN_TIMER_MAX_COUNT 65535 -#endif - -/* Get the number of free slots in the timer heap */ -#define FREECNT(th) (th->max_size - th->cur_size) - -// Forward declaration -class CPjTimerEntry; - -/** - * The implementation of timer heap. - */ -struct pj_timer_heap_t -{ - /** Maximum size of the heap. */ - pj_size_t max_size; - - /** Current size of the heap. */ - pj_size_t cur_size; - - /** Array of timer entries. A scheduled timer will occupy one slot, and - * the slot number will be saved in entry->_timer_id - */ - CPjTimerEntry **entries; - - /** Array of free slot indexes in the "entries" array */ - int *free_slots; -}; - -/** - * Active object for each timer entry. - */ -class CPjTimerEntry : public CActive -{ -public: - pj_timer_entry *entry_; - - static CPjTimerEntry* NewL( pj_timer_heap_t *timer_heap, - pj_timer_entry *entry, - const pj_time_val *delay); - - ~CPjTimerEntry(); - - virtual void RunL(); - virtual void DoCancel(); - -private: - pj_timer_heap_t *timer_heap_; - RTimer rtimer_; - pj_uint32_t interval_left_; - - CPjTimerEntry(pj_timer_heap_t *timer_heap, pj_timer_entry *entry); - void ConstructL(const pj_time_val *delay); - void Schedule(); -}; - -////////////////////////////////////////////////////////////////////////////// -/* - * Implementation. - */ - -/* Grow timer heap to the specified size */ -static pj_status_t realloc_timer_heap(pj_timer_heap_t *th, pj_size_t new_size) -{ - typedef CPjTimerEntry *entry_ptr; - CPjTimerEntry **entries = NULL; - int *free_slots = NULL; - unsigned i, j; - - if (new_size > PJ_SYMBIAN_TIMER_MAX_COUNT) { - /* Just some sanity limit */ - new_size = PJ_SYMBIAN_TIMER_MAX_COUNT; - if (new_size <= th->max_size) { - /* We've grown large enough */ - pj_assert(!"Too many timer heap entries"); - return PJ_ETOOMANY; - } - } - - /* Allocate entries, move entries from the old array if there is one */ - entries = new entry_ptr[new_size]; - if (th->entries) { - pj_memcpy(entries, th->entries, th->max_size * sizeof(th->entries[0])); - } - /* Initialize the remaining new area */ - pj_bzero(&entries[th->max_size], - (new_size - th->max_size) * sizeof(th->entries[0])); - - /* Allocate free slots array */ - free_slots = new int[new_size]; - if (th->free_slots) { - pj_memcpy(free_slots, th->free_slots, - FREECNT(th) * sizeof(th->free_slots[0])); - } - /* Initialize the remaining new area */ - for (i=FREECNT(th), j=th->max_size; jentries; - th->entries = entries; - th->max_size = new_size; - delete [] th->free_slots; - th->free_slots = free_slots; - - return PJ_SUCCESS; -} - -/* Allocate and register an entry to timer heap for newly scheduled entry */ -static pj_status_t add_entry(pj_timer_heap_t *th, CPjTimerEntry *entry) -{ - pj_status_t status; - int slot; - - /* Check that there's still capacity left in the timer heap */ - if (FREECNT(th) < 1) { - // Grow the timer heap twice the capacity - status = realloc_timer_heap(th, th->max_size * 2); - if (status != PJ_SUCCESS) - return status; - } - - /* Allocate one free slot. Use LIFO */ - slot = th->free_slots[FREECNT(th)-1]; - PJ_ASSERT_RETURN((slot >= 0) && (slot < (int)th->max_size) && - (th->entries[slot]==NULL), PJ_EBUG); - - th->free_slots[FREECNT(th)-1] = -1; - th->entries[slot] = entry; - entry->entry_->_timer_id = slot; - ++th->cur_size; - - return PJ_SUCCESS; -} - -/* Free a slot when an entry's timer has elapsed or cancel */ -static pj_status_t remove_entry(pj_timer_heap_t *th, CPjTimerEntry *entry) -{ - int slot = entry->entry_->_timer_id; - - PJ_ASSERT_RETURN(slot >= 0 && slot < (int)th->max_size, PJ_EBUG); - PJ_ASSERT_RETURN(FREECNT(th) < th->max_size, PJ_EBUG); - PJ_ASSERT_RETURN(th->entries[slot]==entry, PJ_EBUG); - PJ_ASSERT_RETURN(th->free_slots[FREECNT(th)]==-1, PJ_EBUG); - - th->entries[slot] = NULL; - th->free_slots[FREECNT(th)] = slot; - entry->entry_->_timer_id = -1; - --th->cur_size; - - return PJ_SUCCESS; -} - - -CPjTimerEntry::CPjTimerEntry(pj_timer_heap_t *timer_heap, - pj_timer_entry *entry) -: CActive(PJ_SYMBIAN_TIMER_PRIORITY), entry_(entry), timer_heap_(timer_heap), - interval_left_(0) -{ -} - -CPjTimerEntry::~CPjTimerEntry() -{ - Cancel(); - rtimer_.Close(); -} - -void CPjTimerEntry::Schedule() -{ - pj_int32_t interval; - - if (interval_left_ > MAX_RTIMER_INTERVAL) { - interval = MAX_RTIMER_INTERVAL; - } else { - interval = interval_left_; - } - - interval_left_ -= interval; - rtimer_.After(iStatus, interval * 1000); - SetActive(); -} - -void CPjTimerEntry::ConstructL(const pj_time_val *delay) -{ - rtimer_.CreateLocal(); - CActiveScheduler::Add(this); - - interval_left_ = PJ_TIME_VAL_MSEC(*delay); - Schedule(); -} - -CPjTimerEntry* CPjTimerEntry::NewL(pj_timer_heap_t *timer_heap, - pj_timer_entry *entry, - const pj_time_val *delay) -{ - CPjTimerEntry *self = new CPjTimerEntry(timer_heap, entry); - CleanupStack::PushL(self); - self->ConstructL(delay); - CleanupStack::Pop(self); - - return self; -} - -void CPjTimerEntry::RunL() -{ - if (interval_left_ > 0) { - Schedule(); - return; - } - - remove_entry(timer_heap_, this); - entry_->cb(timer_heap_, entry_); - - // Finger's crossed! - delete this; -} - -void CPjTimerEntry::DoCancel() -{ - /* It's possible that _timer_id is -1, see schedule(). In this case, - * the entry has not been added to the timer heap, so don't remove - * it. - */ - if (entry_ && entry_->_timer_id != -1) - remove_entry(timer_heap_, this); - - rtimer_.Cancel(); -} - - -////////////////////////////////////////////////////////////////////////////// - - -/* - * Calculate memory size required to create a timer heap. - */ -PJ_DEF(pj_size_t) pj_timer_heap_mem_size(pj_size_t count) -{ - return /* size of the timer heap itself: */ - sizeof(pj_timer_heap_t) + - /* size of each entry: */ - (count+2) * (sizeof(void*)+sizeof(int)) + - /* lock, pool etc: */ - 132; -} - -/* - * Create a new timer heap. - */ -PJ_DEF(pj_status_t) pj_timer_heap_create( pj_pool_t *pool, - pj_size_t size, - pj_timer_heap_t **p_heap) -{ - pj_timer_heap_t *ht; - pj_status_t status; - - PJ_ASSERT_RETURN(pool && p_heap, PJ_EINVAL); - - *p_heap = NULL; - - /* Allocate timer heap data structure from the pool */ - ht = PJ_POOL_ZALLOC_T(pool, pj_timer_heap_t); - if (!ht) - return PJ_ENOMEM; - - /* Allocate slots */ - status = realloc_timer_heap(ht, size); - if (status != PJ_SUCCESS) - return status; - - *p_heap = ht; - return PJ_SUCCESS; -} - -PJ_DEF(void) pj_timer_heap_destroy( pj_timer_heap_t *ht ) -{ - /* Cancel and delete pending active objects */ - if (ht->entries) { - unsigned i; - for (i=0; imax_size; ++i) { - if (ht->entries[i]) { - ht->entries[i]->entry_ = NULL; - ht->entries[i]->Cancel(); - delete ht->entries[i]; - ht->entries[i] = NULL; - } - } - } - - delete [] ht->entries; - delete [] ht->free_slots; - - ht->entries = NULL; - ht->free_slots = NULL; -} - -PJ_DEF(void) pj_timer_heap_set_lock( pj_timer_heap_t *ht, - pj_lock_t *lock, - pj_bool_t auto_del ) -{ - PJ_UNUSED_ARG(ht); - if (auto_del) - pj_lock_destroy(lock); -} - - -PJ_DEF(unsigned) pj_timer_heap_set_max_timed_out_per_poll(pj_timer_heap_t *ht, - unsigned count ) -{ - /* Not applicable */ - PJ_UNUSED_ARG(count); - return ht->max_size; -} - -PJ_DEF(pj_timer_entry*) pj_timer_entry_init( pj_timer_entry *entry, - int id, - void *user_data, - pj_timer_heap_callback *cb ) -{ - pj_assert(entry && cb); - - entry->_timer_id = -1; - entry->id = id; - entry->user_data = user_data; - entry->cb = cb; - - return entry; -} - -PJ_DEF(pj_status_t) pj_timer_heap_schedule( pj_timer_heap_t *ht, - pj_timer_entry *entry, - const pj_time_val *delay) -{ - CPjTimerEntry *timerObj; - pj_status_t status; - - PJ_ASSERT_RETURN(ht && entry && delay, PJ_EINVAL); - PJ_ASSERT_RETURN(entry->cb != NULL, PJ_EINVAL); - - /* Prevent same entry from being scheduled more than once */ - PJ_ASSERT_RETURN(entry->_timer_id < 1, PJ_EINVALIDOP); - - entry->_timer_id = -1; - - timerObj = CPjTimerEntry::NewL(ht, entry, delay); - status = add_entry(ht, timerObj); - if (status != PJ_SUCCESS) { - timerObj->Cancel(); - delete timerObj; - return status; - } - - return PJ_SUCCESS; -} - -PJ_DEF(int) pj_timer_heap_cancel( pj_timer_heap_t *ht, - pj_timer_entry *entry) -{ - PJ_ASSERT_RETURN(ht && entry, PJ_EINVAL); - - if (entry->_timer_id >= 0 && entry->_timer_id < (int)ht->max_size) { - CPjTimerEntry *timerObj = ht->entries[entry->_timer_id]; - if (timerObj) { - timerObj->Cancel(); - delete timerObj; - return 1; - } else { - return 0; - } - } else { - return 0; - } -} - -PJ_DEF(unsigned) pj_timer_heap_poll( pj_timer_heap_t *ht, - pj_time_val *next_delay ) -{ - /* Polling is not necessary on Symbian, since all async activities - * are registered to active scheduler. - */ - PJ_UNUSED_ARG(ht); - if (next_delay) { - next_delay->sec = 1; - next_delay->msec = 0; - } - return 0; -} - -PJ_DEF(pj_size_t) pj_timer_heap_count( pj_timer_heap_t *ht ) -{ - PJ_ASSERT_RETURN(ht, 0); - - return ht->cur_size; -} - -PJ_DEF(pj_status_t) pj_timer_heap_earliest_time( pj_timer_heap_t * ht, - pj_time_val *timeval) -{ - /* We don't support this! */ - PJ_UNUSED_ARG(ht); - - timeval->sec = 1; - timeval->msec = 0; - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjlib/src/pj/types.c b/res/pjproject/pjlib/src/pj/types.c deleted file mode 100644 index 89cb36e829..0000000000 --- a/res/pjproject/pjlib/src/pj/types.c +++ /dev/null @@ -1,46 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -PJ_DEF(void) pj_time_val_normalize(pj_time_val *t) -{ - PJ_CHECK_STACK(); - - if (t->msec >= 1000) { - t->sec += (t->msec / 1000); - t->msec = (t->msec % 1000); - } - else if (t->msec <= -1000) { - do { - t->sec--; - t->msec += 1000; - } while (t->msec <= -1000); - } - - if (t->sec >= 1 && t->msec < 0) { - t->sec--; - t->msec += 1000; - - } else if (t->sec < 0 && t->msec > 0) { - t->sec++; - t->msec -= 1000; - } -} diff --git a/res/pjproject/pjlib/src/pj/unicode_symbian.cpp b/res/pjproject/pjlib/src/pj/unicode_symbian.cpp deleted file mode 100644 index f4b598f50b..0000000000 --- a/res/pjproject/pjlib/src/pj/unicode_symbian.cpp +++ /dev/null @@ -1,76 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include - -#include "os_symbian.h" - - -/* - * Convert ANSI strings to Unicode strings. - */ -PJ_DEF(wchar_t*) pj_ansi_to_unicode( const char *str, pj_size_t len, - wchar_t *wbuf, pj_size_t wbuf_count) -{ - TPtrC8 aForeign((const TUint8*)str, (TInt)len); - TPtr16 aUnicode((TUint16*)wbuf, (TInt)(wbuf_count-1)); - TInt left; - - left = PjSymbianOS::Instance()->ConvertToUnicode(aUnicode, aForeign); - - if (left != 0) { - // Error, or there are unconvertable characters - *wbuf = 0; - } else { - if (len < wbuf_count) - wbuf[len] = 0; - else - wbuf[len-1] = 0; - } - - return wbuf; -} - - -/* - * Convert Unicode string to ANSI string. - */ -PJ_DEF(char*) pj_unicode_to_ansi( const wchar_t *wstr, pj_size_t len, - char *buf, pj_size_t buf_size) -{ - TPtrC16 aUnicode((const TUint16*)wstr, (TInt)len); - TPtr8 aForeign((TUint8*)buf, (TInt)(buf_size-1)); - TInt left; - - left = PjSymbianOS::Instance()->ConvertFromUnicode(aForeign, aUnicode); - - if (left != 0) { - // Error, or there are unconvertable characters - buf[0] = '\0'; - } else { - if (len < buf_size) - buf[len] = '\0'; - else - buf[len-1] = '\0'; - } - - return buf; -} - - diff --git a/res/pjproject/pjlib/src/pj/unicode_win32.c b/res/pjproject/pjlib/src/pj/unicode_win32.c deleted file mode 100644 index 999a0404a1..0000000000 --- a/res/pjproject/pjlib/src/pj/unicode_win32.c +++ /dev/null @@ -1,59 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - - -PJ_DEF(wchar_t*) pj_ansi_to_unicode(const char *s, pj_size_t len, - wchar_t *buf, pj_size_t buf_count) -{ - PJ_ASSERT_RETURN(s && buf, NULL); - - len = MultiByteToWideChar(CP_ACP, 0, s, len, - buf, buf_count); - if (buf_count) { - if (len < buf_count) - buf[len] = 0; - else - buf[len-1] = 0; - } - - return buf; -} - - -PJ_DEF(char*) pj_unicode_to_ansi( const wchar_t *wstr, pj_size_t len, - char *buf, pj_size_t buf_size) -{ - PJ_ASSERT_RETURN(wstr && buf, NULL); - - len = WideCharToMultiByte(CP_ACP, 0, wstr, len, buf, buf_size, NULL, NULL); - if (buf_size) { - if (len < buf_size) - buf[len] = '\0'; - else - buf[len-1] = '\0'; - } - - return buf; -} - diff --git a/res/pjproject/pjlib/src/pjlib++-test/main.cpp b/res/pjproject/pjlib/src/pjlib++-test/main.cpp deleted file mode 100644 index 1675644782..0000000000 --- a/res/pjproject/pjlib/src/pjlib++-test/main.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/* $Id */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class My_Async_Op : public Pj_Async_Op -{ -}; - -class My_Event_Handler : public Pj_Event_Handler -{ -}; - -int main() -{ - Pjlib lib; - Pj_Caching_Pool mem; - Pj_Pool the_pool; - Pj_Pool *pool = &the_pool; - - the_pool.attach(mem.create_pool(4000,4000)); - - Pj_Semaphore_Lock lsem(pool); - Pj_Semaphore_Lock *plsem; - - plsem = new(pool) Pj_Semaphore_Lock(pool); - delete plsem; - - Pj_Proactor proactor(pool, 100, 100); - - My_Event_Handler *event_handler = new(the_pool) My_Event_Handler; - proactor.register_socket_handler(pool, event_handler); - proactor.unregister_handler(event_handler); - - return 0; -} - diff --git a/res/pjproject/pjlib/src/pjlib-samples/except.c b/res/pjproject/pjlib/src/pjlib-samples/except.c deleted file mode 100644 index ffc0d8ed17..0000000000 --- a/res/pjproject/pjlib/src/pjlib-samples/except.c +++ /dev/null @@ -1,82 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -/** - * \page page_pjlib_samples_except_c Example: Exception Handling - * - * Below is sample program to demonstrate how to use exception handling. - * - * \includelineno pjlib-samples/except.c - */ - -static pj_exception_id_t NO_MEMORY, OTHER_EXCEPTION; - -static void randomly_throw_exception() -{ - if (pj_rand() % 2) - PJ_THROW(OTHER_EXCEPTION); -} - -static void *my_malloc(size_t size) -{ - void *ptr = malloc(size); - if (!ptr) - PJ_THROW(NO_MEMORY); - return ptr; -} - -static int test_exception() -{ - PJ_USE_EXCEPTION; - - PJ_TRY { - void *data = my_malloc(200); - free(data); - randomly_throw_exception(); - } - PJ_CATCH_ANY { - pj_exception_id_t x_id; - - x_id = PJ_GET_EXCEPTION(); - printf("Caught exception %d (%s)\n", - x_id, pj_exception_id_name(x_id)); - } - PJ_END - return 1; -} - -int main() -{ - pj_status_t rc; - - // Error handling is omited for clarity. - - rc = pj_init(); - - rc = pj_exception_id_alloc("No Memory", &NO_MEMORY); - rc = pj_exception_id_alloc("Other Exception", &OTHER_EXCEPTION); - - return test_exception(); -} - diff --git a/res/pjproject/pjlib/src/pjlib-samples/list.c b/res/pjproject/pjlib/src/pjlib-samples/list.c deleted file mode 100644 index ec55405555..0000000000 --- a/res/pjproject/pjlib/src/pjlib-samples/list.c +++ /dev/null @@ -1,72 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - -/** - * \page page_pjlib_samples_list_c Example: List Manipulation - * - * Below is sample program to demonstrate how to manipulate linked list. - * - * \includelineno pjlib-samples/list.c - */ - -struct my_node -{ - // This must be the first member declared in the struct! - PJ_DECL_LIST_MEMBER(struct my_node); - int value; -}; - - -int main() -{ - struct my_node nodes[10]; - struct my_node list; - struct my_node *it; - int i; - - // Initialize the list as empty. - pj_list_init(&list); - - // Insert nodes. - for (i=0; i<10; ++i) { - nodes[i].value = i; - pj_list_insert_before(&list, &nodes[i]); - } - - // Iterate list nodes. - it = list.next; - while (it != &list) { - PJ_LOG(3,("list", "value = %d", it->value)); - it = it->next; - } - - // Erase all nodes. - for (i=0; i<10; ++i) { - pj_list_erase(&nodes[i]); - } - - // List must be empty by now. - pj_assert( pj_list_empty(&list) ); - - return 0; -}; diff --git a/res/pjproject/pjlib/src/pjlib-samples/log.c b/res/pjproject/pjlib/src/pjlib-samples/log.c deleted file mode 100644 index cefec10a25..0000000000 --- a/res/pjproject/pjlib/src/pjlib-samples/log.c +++ /dev/null @@ -1,43 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include - -/** - * \page page_pjlib_samples_log_c Example: Log, Hello World - * - * Very simple program to write log. - * - * \includelineno pjlib-samples/log.c - */ - -int main() -{ - pj_status_t rc; - - // Error handling omited for clarity - - // Must initialize PJLIB first! - rc = pj_init(); - - PJ_LOG(3, ("main.c", "Hello world!")); - - return 0; -} - diff --git a/res/pjproject/pjlib/src/pjlib-test/activesock.c b/res/pjproject/pjlib/src/pjlib-test/activesock.c deleted file mode 100644 index 6fc613558c..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/activesock.c +++ /dev/null @@ -1,521 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include - -/** - * \page page_pjlib_activesock_test Test: Active Socket - * - * This file is pjlib-test/activesock.c - * - * \include pjlib-test/activesock.c - */ - -#if INCLUDE_ACTIVESOCK_TEST - -#define THIS_FILE "activesock.c" - - -/******************************************************************* - * Simple UDP echo server. - */ -struct udp_echo_srv -{ - pj_activesock_t *asock; - pj_bool_t echo_enabled; - pj_uint16_t port; - pj_ioqueue_op_key_t send_key; - pj_status_t status; - unsigned rx_cnt; - unsigned rx_err_cnt, tx_err_cnt; -}; - -static void udp_echo_err(const char *title, pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(3,(THIS_FILE, " error: %s: %s", title, errmsg)); -} - -static pj_bool_t udp_echo_srv_on_data_recvfrom(pj_activesock_t *asock, - void *data, - pj_size_t size, - const pj_sockaddr_t *src_addr, - int addr_len, - pj_status_t status) -{ - struct udp_echo_srv *srv; - pj_ssize_t sent; - - - srv = (struct udp_echo_srv*) pj_activesock_get_user_data(asock); - - if (status != PJ_SUCCESS) { - srv->status = status; - srv->rx_err_cnt++; - udp_echo_err("recvfrom() callback", status); - return PJ_TRUE; - } - - srv->rx_cnt++; - - /* Send back if echo is enabled */ - if (srv->echo_enabled) { - sent = size; - srv->status = pj_activesock_sendto(asock, &srv->send_key, data, - &sent, 0, - src_addr, addr_len); - if (srv->status != PJ_SUCCESS) { - srv->tx_err_cnt++; - udp_echo_err("sendto()", status); - } - } - - return PJ_TRUE; -} - - -static pj_status_t udp_echo_srv_create(pj_pool_t *pool, - pj_ioqueue_t *ioqueue, - pj_bool_t enable_echo, - struct udp_echo_srv **p_srv) -{ - struct udp_echo_srv *srv; - pj_sock_t sock_fd = PJ_INVALID_SOCKET; - pj_sockaddr addr; - int addr_len; - pj_activesock_cb activesock_cb; - pj_status_t status; - - srv = PJ_POOL_ZALLOC_T(pool, struct udp_echo_srv); - srv->echo_enabled = enable_echo; - - pj_sockaddr_in_init(&addr.ipv4, NULL, 0); - addr_len = sizeof(addr); - - pj_bzero(&activesock_cb, sizeof(activesock_cb)); - activesock_cb.on_data_recvfrom = &udp_echo_srv_on_data_recvfrom; - - status = pj_activesock_create_udp(pool, &addr, NULL, ioqueue, &activesock_cb, - srv, &srv->asock, &addr); - if (status != PJ_SUCCESS) { - pj_sock_close(sock_fd); - udp_echo_err("pj_activesock_create()", status); - return status; - } - - srv->port = pj_ntohs(addr.ipv4.sin_port); - - pj_ioqueue_op_key_init(&srv->send_key, sizeof(srv->send_key)); - - status = pj_activesock_start_recvfrom(srv->asock, pool, 32, 0); - if (status != PJ_SUCCESS) { - pj_activesock_close(srv->asock); - udp_echo_err("pj_activesock_start_recvfrom()", status); - return status; - } - - - *p_srv = srv; - return PJ_SUCCESS; -} - -static void udp_echo_srv_destroy(struct udp_echo_srv *srv) -{ - pj_activesock_close(srv->asock); -} - -/******************************************************************* - * UDP ping pong test (send packet back and forth between two UDP echo - * servers. - */ -static int udp_ping_pong_test(void) -{ - pj_ioqueue_t *ioqueue = NULL; - pj_pool_t *pool = NULL; - struct udp_echo_srv *srv1=NULL, *srv2=NULL; - pj_bool_t need_send = PJ_TRUE; - unsigned data = 0; - int count, ret; - pj_status_t status; - - pool = pj_pool_create(mem, "pingpong", 512, 512, NULL); - if (!pool) - return -10; - - status = pj_ioqueue_create(pool, 4, &ioqueue); - if (status != PJ_SUCCESS) { - ret = -20; - udp_echo_err("pj_ioqueue_create()", status); - goto on_return; - } - - status = udp_echo_srv_create(pool, ioqueue, PJ_TRUE, &srv1); - if (status != PJ_SUCCESS) { - ret = -30; - goto on_return; - } - - status = udp_echo_srv_create(pool, ioqueue, PJ_TRUE, &srv2); - if (status != PJ_SUCCESS) { - ret = -40; - goto on_return; - } - - /* initiate the first send */ - for (count=0; count<1000; ++count) { - unsigned last_rx1, last_rx2; - unsigned i; - - if (need_send) { - pj_str_t loopback; - pj_sockaddr_in addr; - pj_ssize_t sent; - - ++data; - - sent = sizeof(data); - loopback = pj_str("127.0.0.1"); - pj_sockaddr_in_init(&addr, &loopback, srv2->port); - status = pj_activesock_sendto(srv1->asock, &srv1->send_key, - &data, &sent, 0, - &addr, sizeof(addr)); - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - ret = -50; - udp_echo_err("sendto()", status); - goto on_return; - } - - need_send = PJ_FALSE; - } - - last_rx1 = srv1->rx_cnt; - last_rx2 = srv2->rx_cnt; - - for (i=0; i<10 && last_rx1 == srv1->rx_cnt && last_rx2 == srv2->rx_cnt; ++i) { - pj_time_val delay = {0, 10}; -#ifdef PJ_SYMBIAN - pj_symbianos_poll(-1, 100); -#else - pj_ioqueue_poll(ioqueue, &delay); -#endif - } - - if (srv1->rx_err_cnt+srv1->tx_err_cnt != 0 || - srv2->rx_err_cnt+srv2->tx_err_cnt != 0) - { - /* Got error */ - ret = -60; - goto on_return; - } - - if (last_rx1 == srv1->rx_cnt && last_rx2 == srv2->rx_cnt) { - /* Packet lost */ - ret = -70; - udp_echo_err("packets have been lost", PJ_ETIMEDOUT); - goto on_return; - } - } - - ret = 0; - -on_return: - if (srv2) - udp_echo_srv_destroy(srv2); - if (srv1) - udp_echo_srv_destroy(srv1); - if (ioqueue) - pj_ioqueue_destroy(ioqueue); - if (pool) - pj_pool_release(pool); - - return ret; -} - - - -#define SIGNATURE 0xdeadbeef -struct tcp_pkt -{ - pj_uint32_t signature; - pj_uint32_t seq; - char fill[513]; -}; - -struct tcp_state -{ - pj_bool_t err; - pj_bool_t sent; - pj_uint32_t next_recv_seq; - pj_uint8_t pkt[600]; -}; - -struct send_key -{ - pj_ioqueue_op_key_t op_key; -}; - - -static pj_bool_t tcp_on_data_read(pj_activesock_t *asock, - void *data, - pj_size_t size, - pj_status_t status, - pj_size_t *remainder) -{ - struct tcp_state *st = (struct tcp_state*) pj_activesock_get_user_data(asock); - char *next = (char*) data; - - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - PJ_LOG(1,("", " err: status=%d", status)); - st->err = PJ_TRUE; - return PJ_FALSE; - } - - while (size >= sizeof(struct tcp_pkt)) { - struct tcp_pkt *tcp_pkt = (struct tcp_pkt*) next; - - if (tcp_pkt->signature != SIGNATURE) { - PJ_LOG(1,("", " err: invalid signature at seq=%d", - st->next_recv_seq)); - st->err = PJ_TRUE; - return PJ_FALSE; - } - if (tcp_pkt->seq != st->next_recv_seq) { - PJ_LOG(1,("", " err: wrong sequence")); - st->err = PJ_TRUE; - return PJ_FALSE; - } - - st->next_recv_seq++; - next += sizeof(struct tcp_pkt); - size -= sizeof(struct tcp_pkt); - } - - if (size) { - pj_memmove(data, next, size); - *remainder = size; - } - - return PJ_TRUE; -} - -static pj_bool_t tcp_on_data_sent(pj_activesock_t *asock, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t sent) -{ - struct tcp_state *st=(struct tcp_state*)pj_activesock_get_user_data(asock); - - PJ_UNUSED_ARG(op_key); - - st->sent = 1; - - if (sent < 1) { - st->err = PJ_TRUE; - return PJ_FALSE; - } - - return PJ_TRUE; -} - -static int tcp_perf_test(void) -{ - enum { COUNT=10000 }; - pj_pool_t *pool = NULL; - pj_ioqueue_t *ioqueue = NULL; - pj_sock_t sock1=PJ_INVALID_SOCKET, sock2=PJ_INVALID_SOCKET; - pj_activesock_t *asock1 = NULL, *asock2 = NULL; - pj_activesock_cb cb; - struct tcp_state *state1, *state2; - unsigned i; - pj_status_t status; - - pool = pj_pool_create(mem, "tcpperf", 256, 256, NULL); - - status = app_socketpair(pj_AF_INET(), pj_SOCK_STREAM(), 0, &sock1, - &sock2); - if (status != PJ_SUCCESS) { - status = -100; - goto on_return; - } - - status = pj_ioqueue_create(pool, 4, &ioqueue); - if (status != PJ_SUCCESS) { - status = -110; - goto on_return; - } - - pj_bzero(&cb, sizeof(cb)); - cb.on_data_read = &tcp_on_data_read; - cb.on_data_sent = &tcp_on_data_sent; - - state1 = PJ_POOL_ZALLOC_T(pool, struct tcp_state); - status = pj_activesock_create(pool, sock1, pj_SOCK_STREAM(), NULL, ioqueue, - &cb, state1, &asock1); - if (status != PJ_SUCCESS) { - status = -120; - goto on_return; - } - - state2 = PJ_POOL_ZALLOC_T(pool, struct tcp_state); - status = pj_activesock_create(pool, sock2, pj_SOCK_STREAM(), NULL, ioqueue, - &cb, state2, &asock2); - if (status != PJ_SUCCESS) { - status = -130; - goto on_return; - } - - status = pj_activesock_start_read(asock1, pool, 1000, 0); - if (status != PJ_SUCCESS) { - status = -140; - goto on_return; - } - - /* Send packet as quickly as possible */ - for (i=0; ierr && !state2->err; ++i) { - struct tcp_pkt *pkt; - struct send_key send_key[2], *op_key; - pj_ssize_t len; - - pkt = (struct tcp_pkt*)state2->pkt; - pkt->signature = SIGNATURE; - pkt->seq = i; - pj_memset(pkt->fill, 'a', sizeof(pkt->fill)); - - op_key = &send_key[i%2]; - pj_ioqueue_op_key_init(&op_key->op_key, sizeof(*op_key)); - - state2->sent = PJ_FALSE; - len = sizeof(*pkt); - status = pj_activesock_send(asock2, &op_key->op_key, pkt, &len, 0); - if (status == PJ_EPENDING) { - do { -#if PJ_SYMBIAN - pj_symbianos_poll(-1, -1); -#else - pj_ioqueue_poll(ioqueue, NULL); -#endif - } while (!state2->sent); - } else { -#if PJ_SYMBIAN - /* The Symbian socket always returns PJ_SUCCESS for TCP send, - * eventhough the remote end hasn't received the data yet. - * If we continue sending, eventually send() will block, - * possibly because the send buffer is full. So we need to - * poll the ioqueue periodically, to let receiver gets the - * data. - */ - pj_symbianos_poll(-1, 0); -#endif - if (status != PJ_SUCCESS) { - PJ_LOG(1,("", " err: send status=%d", status)); - status = -180; - break; - } else if (status == PJ_SUCCESS) { - if (len != sizeof(*pkt)) { - PJ_LOG(1,("", " err: shouldn't report partial sent")); - status = -190; - break; - } - } - } - -#ifndef PJ_SYMBIAN - for (;;) { - pj_time_val timeout = {0, 10}; - if (pj_ioqueue_poll(ioqueue, &timeout) < 1) - break; - } -#endif - - } - - /* Wait until everything has been sent/received */ - if (state1->next_recv_seq < COUNT) { -#ifdef PJ_SYMBIAN - while (pj_symbianos_poll(-1, 1000) == PJ_TRUE) - ; -#else - pj_time_val delay = {0, 100}; - while (pj_ioqueue_poll(ioqueue, &delay) > 0) - ; -#endif - } - - if (status == PJ_EPENDING) - status = PJ_SUCCESS; - - if (status != 0) - goto on_return; - - if (state1->err) { - status = -183; - goto on_return; - } - if (state2->err) { - status = -186; - goto on_return; - } - if (state1->next_recv_seq != COUNT) { - PJ_LOG(3,("", " err: only %u packets received, expecting %u", - state1->next_recv_seq, COUNT)); - status = -195; - goto on_return; - } - -on_return: - if (asock2) - pj_activesock_close(asock2); - if (asock1) - pj_activesock_close(asock1); - if (ioqueue) - pj_ioqueue_destroy(ioqueue); - if (pool) - pj_pool_release(pool); - - return status; -} - - - -int activesock_test(void) -{ - int ret; - - PJ_LOG(3,("", "..udp ping/pong test")); - ret = udp_ping_pong_test(); - if (ret != 0) - return ret; - - PJ_LOG(3,("", "..tcp perf test")); - ret = tcp_perf_test(); - if (ret != 0) - return ret; - - return 0; -} - -#else /* INCLUDE_ACTIVESOCK_TEST */ -/* To prevent warning about "translation unit is empty" - * when this test is disabled. - */ -int dummy_active_sock_test; -#endif /* INCLUDE_ACTIVESOCK_TEST */ - diff --git a/res/pjproject/pjlib/src/pjlib-test/atomic.c b/res/pjproject/pjlib/src/pjlib-test/atomic.c deleted file mode 100644 index d94f5905da..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/atomic.c +++ /dev/null @@ -1,109 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include - -/** - * \page page_pjlib_atomic_test Test: Atomic Variable - * - * This file provides implementation of \b atomic_test(). It tests the - * functionality of the atomic variable API. - * - * \section atomic_test_sec Scope of the Test - * - * API tested: - * - pj_atomic_create() - * - pj_atomic_get() - * - pj_atomic_inc() - * - pj_atomic_dec() - * - pj_atomic_set() - * - pj_atomic_destroy() - * - * - * This file is pjlib-test/atomic.c - * - * \include pjlib-test/atomic.c - */ - - -#if INCLUDE_ATOMIC_TEST - -int atomic_test(void) -{ - pj_pool_t *pool; - pj_atomic_t *atomic_var; - pj_status_t rc; - - pool = pj_pool_create(mem, NULL, 4096, 0, NULL); - if (!pool) - return -10; - - /* create() */ - rc = pj_atomic_create(pool, 111, &atomic_var); - if (rc != 0) { - return -20; - } - - /* get: check the value. */ - if (pj_atomic_get(atomic_var) != 111) - return -30; - - /* increment. */ - pj_atomic_inc(atomic_var); - if (pj_atomic_get(atomic_var) != 112) - return -40; - - /* decrement. */ - pj_atomic_dec(atomic_var); - if (pj_atomic_get(atomic_var) != 111) - return -50; - - /* set */ - pj_atomic_set(atomic_var, 211); - if (pj_atomic_get(atomic_var) != 211) - return -60; - - /* add */ - pj_atomic_add(atomic_var, 10); - if (pj_atomic_get(atomic_var) != 221) - return -60; - - /* check the value again. */ - if (pj_atomic_get(atomic_var) != 221) - return -70; - - /* destroy */ - rc = pj_atomic_destroy(atomic_var); - if (rc != 0) - return -80; - - pj_pool_release(pool); - - return 0; -} - - -#else -/* To prevent warning about "translation unit is empty" - * when this test is disabled. - */ -int dummy_atomic_test; -#endif /* INCLUDE_ATOMIC_TEST */ - diff --git a/res/pjproject/pjlib/src/pjlib-test/echo_clt.c b/res/pjproject/pjlib/src/pjlib-test/echo_clt.c deleted file mode 100644 index 12c4e03568..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/echo_clt.c +++ /dev/null @@ -1,269 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include - -#if INCLUDE_ECHO_CLIENT - -enum { BUF_SIZE = 512 }; - -struct client -{ - int sock_type; - const char *server; - int port; -}; - -static pj_atomic_t *totalBytes; -static pj_atomic_t *timeout_counter; -static pj_atomic_t *invalid_counter; - -#define MSEC_PRINT_DURATION 1000 - -static int wait_socket(pj_sock_t sock, unsigned msec_timeout) -{ - pj_fd_set_t fdset; - pj_time_val timeout; - - timeout.sec = 0; - timeout.msec = msec_timeout; - pj_time_val_normalize(&timeout); - - PJ_FD_ZERO(&fdset); - PJ_FD_SET(sock, &fdset); - - return pj_sock_select(FD_SETSIZE, &fdset, NULL, NULL, &timeout); -} - -static int echo_client_thread(void *arg) -{ - pj_sock_t sock; - char send_buf[BUF_SIZE]; - char recv_buf[BUF_SIZE]; - pj_sockaddr_in addr; - pj_str_t s; - pj_status_t rc; - pj_uint32_t buffer_id; - pj_uint32_t buffer_counter; - struct client *client = arg; - pj_status_t last_recv_err = PJ_SUCCESS, last_send_err = PJ_SUCCESS; - unsigned counter = 0; - - rc = app_socket(pj_AF_INET(), client->sock_type, 0, -1, &sock); - if (rc != PJ_SUCCESS) { - app_perror("...unable to create socket", rc); - return -10; - } - - rc = pj_sockaddr_in_init( &addr, pj_cstr(&s, client->server), - (pj_uint16_t)client->port); - if (rc != PJ_SUCCESS) { - app_perror("...unable to resolve server", rc); - return -15; - } - - rc = pj_sock_connect(sock, &addr, sizeof(addr)); - if (rc != PJ_SUCCESS) { - app_perror("...connect() error", rc); - pj_sock_close(sock); - return -20; - } - - PJ_LOG(3,("", "...socket connected to %s:%d", - pj_inet_ntoa(addr.sin_addr), - pj_ntohs(addr.sin_port))); - - pj_memset(send_buf, 'A', BUF_SIZE); - send_buf[BUF_SIZE-1]='\0'; - - /* Give other thread chance to initialize themselves! */ - pj_thread_sleep(200); - - //PJ_LOG(3,("", "...thread %p running", pj_thread_this())); - - buffer_id = (pj_uint32_t) pj_thread_this(); - buffer_counter = 0; - - *(pj_uint32_t*)send_buf = buffer_id; - - for (;;) { - int rc; - pj_ssize_t bytes; - - ++counter; - - //while (wait_socket(sock,0) > 0) - // ; - - /* Send a packet. */ - bytes = BUF_SIZE; - *(pj_uint32_t*)(send_buf+4) = ++buffer_counter; - rc = pj_sock_send(sock, send_buf, &bytes, 0); - if (rc != PJ_SUCCESS || bytes != BUF_SIZE) { - if (rc != last_send_err) { - app_perror("...send() error", rc); - PJ_LOG(3,("", "...ignoring subsequent error..")); - last_send_err = rc; - pj_thread_sleep(100); - } - continue; - } - - rc = wait_socket(sock, 500); - if (rc == 0) { - PJ_LOG(3,("", "...timeout")); - bytes = 0; - pj_atomic_inc(timeout_counter); - } else if (rc < 0) { - rc = pj_get_netos_error(); - app_perror("...select() error", rc); - break; - } else { - /* Receive back the original packet. */ - bytes = 0; - do { - pj_ssize_t received = BUF_SIZE - bytes; - rc = pj_sock_recv(sock, recv_buf+bytes, &received, 0); - if (rc != PJ_SUCCESS || received == 0) { - if (rc != last_recv_err) { - app_perror("...recv() error", rc); - PJ_LOG(3,("", "...ignoring subsequent error..")); - last_recv_err = rc; - pj_thread_sleep(100); - } - bytes = 0; - received = 0; - break; - } - bytes += received; - } while (bytes != BUF_SIZE && bytes != 0); - } - - if (bytes == 0) - continue; - - if (pj_memcmp(send_buf, recv_buf, BUF_SIZE) != 0) { - recv_buf[BUF_SIZE-1] = '\0'; - PJ_LOG(3,("", "...error: buffer %u has changed!\n" - "send_buf=%s\n" - "recv_buf=%s\n", - counter, send_buf, recv_buf)); - pj_atomic_inc(invalid_counter); - } - - /* Accumulate total received. */ - pj_atomic_add(totalBytes, bytes); - } - - pj_sock_close(sock); - return 0; -} - -int echo_client(int sock_type, const char *server, int port) -{ - pj_pool_t *pool; - pj_thread_t *thread[ECHO_CLIENT_MAX_THREADS]; - pj_status_t rc; - struct client client; - int i; - pj_atomic_value_t last_received; - pj_timestamp last_report; - - client.sock_type = sock_type; - client.server = server; - client.port = port; - - pool = pj_pool_create( mem, NULL, 4000, 4000, NULL ); - - rc = pj_atomic_create(pool, 0, &totalBytes); - if (rc != PJ_SUCCESS) { - PJ_LOG(3,("", "...error: unable to create atomic variable", rc)); - return -30; - } - rc = pj_atomic_create(pool, 0, &invalid_counter); - rc = pj_atomic_create(pool, 0, &timeout_counter); - - PJ_LOG(3,("", "Echo client started")); - PJ_LOG(3,("", " Destination: %s:%d", - ECHO_SERVER_ADDRESS, ECHO_SERVER_START_PORT)); - PJ_LOG(3,("", " Press Ctrl-C to exit")); - - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include -#include -#include -#include - -#if INCLUDE_ERRNO_TEST - -#define THIS_FILE "errno" - -#if defined(PJ_WIN32) && PJ_WIN32 != 0 -# include -#endif - -#if defined(PJ_HAS_ERRNO_H) && PJ_HAS_ERRNO_H != 0 -# include -#endif - -static void trim_newlines(char *s) -{ - while (*s) { - if (*s == '\r' || *s == '\n') - *s = ' '; - ++s; - } -} - -int my_strncasecmp(const char *s1, const char *s2, int max_len) -{ - while (*s1 && *s2 && max_len > 0) { - if (pj_tolower(*s1) != pj_tolower(*s2)) - return -1; - ++s1; - ++s2; - --max_len; - } - return 0; -} - -const char *my_stristr(const char *whole, const char *part) -{ - int part_len = strlen(part); - while (*whole) { - if (my_strncasecmp(whole, part, part_len) == 0) - return whole; - ++whole; - } - return NULL; -} - -int errno_test(void) -{ - enum { CUT = 6 }; - pj_status_t rc = 0; - char errbuf[256]; - - PJ_LOG(3,(THIS_FILE, "...errno test: check the msg carefully")); - - PJ_UNUSED_ARG(rc); - - /* - * Windows platform error. - */ -# ifdef ERROR_INVALID_DATA - rc = PJ_STATUS_FROM_OS(ERROR_INVALID_DATA); - pj_set_os_error(rc); - - /* Whole */ - pj_strerror(rc, errbuf, sizeof(errbuf)); - trim_newlines(errbuf); - PJ_LOG(3,(THIS_FILE, "...msg for rc=ERROR_INVALID_DATA: '%s'", errbuf)); - if (my_stristr(errbuf, "invalid") == NULL) { - PJ_LOG(3, (THIS_FILE, - "...error: expecting \"invalid\" string in the msg")); -#ifndef PJ_WIN32_WINCE - return -20; -#endif - } - - /* Cut version. */ - pj_strerror(rc, errbuf, CUT); - PJ_LOG(3,(THIS_FILE, "...msg for rc=ERROR_INVALID_DATA (cut): '%s'", errbuf)); -# endif - - /* - * Unix errors - */ -# if defined(EINVAL) && !defined(PJ_SYMBIAN) - rc = PJ_STATUS_FROM_OS(EINVAL); - pj_set_os_error(rc); - - /* Whole */ - pj_strerror(rc, errbuf, sizeof(errbuf)); - trim_newlines(errbuf); - PJ_LOG(3,(THIS_FILE, "...msg for rc=EINVAL: '%s'", errbuf)); - if (my_stristr(errbuf, "invalid") == NULL) { - PJ_LOG(3, (THIS_FILE, - "...error: expecting \"invalid\" string in the msg")); - return -30; - } - - /* Cut */ - pj_strerror(rc, errbuf, CUT); - PJ_LOG(3,(THIS_FILE, "...msg for rc=EINVAL (cut): '%s'", errbuf)); -# endif - - /* - * Windows WSA errors - */ -# ifdef WSAEINVAL - rc = PJ_STATUS_FROM_OS(WSAEINVAL); - pj_set_os_error(rc); - - /* Whole */ - pj_strerror(rc, errbuf, sizeof(errbuf)); - trim_newlines(errbuf); - PJ_LOG(3,(THIS_FILE, "...msg for rc=WSAEINVAL: '%s'", errbuf)); - if (my_stristr(errbuf, "invalid") == NULL) { - PJ_LOG(3, (THIS_FILE, - "...error: expecting \"invalid\" string in the msg")); - return -40; - } - - /* Cut */ - pj_strerror(rc, errbuf, CUT); - PJ_LOG(3,(THIS_FILE, "...msg for rc=WSAEINVAL (cut): '%s'", errbuf)); -# endif - - pj_strerror(PJ_EBUG, errbuf, sizeof(errbuf)); - PJ_LOG(3,(THIS_FILE, "...msg for rc=PJ_EBUG: '%s'", errbuf)); - if (my_stristr(errbuf, "BUG") == NULL) { - PJ_LOG(3, (THIS_FILE, - "...error: expecting \"BUG\" string in the msg")); - return -20; - } - - pj_strerror(PJ_EBUG, errbuf, CUT); - PJ_LOG(3,(THIS_FILE, "...msg for rc=PJ_EBUG, cut at %d chars: '%s'", - CUT, errbuf)); - - /* Perror */ - pj_perror(3, THIS_FILE, PJ_SUCCESS, "...testing %s", "pj_perror"); - PJ_PERROR(3,(THIS_FILE, PJ_SUCCESS, "...testing %s", "PJ_PERROR")); - - return 0; -} - - -#endif /* INCLUDE_ERRNO_TEST */ - - diff --git a/res/pjproject/pjlib/src/pjlib-test/exception.c b/res/pjproject/pjlib/src/pjlib-test/exception.c deleted file mode 100644 index ea9155acd5..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/exception.c +++ /dev/null @@ -1,282 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" - - -/** - * \page page_pjlib_exception_test Test: Exception Handling - * - * This file provides implementation of \b exception_test(). It tests the - * functionality of the exception handling API. - * - * @note This test use static ID not acquired through proper registration. - * This is not recommended, since it may create ID collissions. - * - * \section exception_test_sec Scope of the Test - * - * Some scenarios tested: - * - no exception situation - * - basic TRY/CATCH - * - multiple exception handlers - * - default handlers - * - * - * This file is pjlib-test/exception.c - * - * \include pjlib-test/exception.c - */ - - -#if INCLUDE_EXCEPTION_TEST - -#include - -#define ID_1 1 -#define ID_2 2 - -static int throw_id_1(void) -{ - PJ_THROW( ID_1 ); - PJ_UNREACHED(return -1;) -} - -static int throw_id_2(void) -{ - PJ_THROW( ID_2 ); - PJ_UNREACHED(return -1;) -} - -static int try_catch_test(void) -{ - PJ_USE_EXCEPTION; - int rc = -200; - - PJ_TRY { - PJ_THROW(ID_1); - } - PJ_CATCH_ANY { - rc = 0; - } - PJ_END; - return rc; -} - -static int throw_in_handler(void) -{ - PJ_USE_EXCEPTION; - int rc = 0; - - PJ_TRY { - PJ_THROW(ID_1); - } - PJ_CATCH_ANY { - if (PJ_GET_EXCEPTION() != ID_1) - rc = -300; - else - PJ_THROW(ID_2); - } - PJ_END; - return rc; -} - -static int return_in_handler(void) -{ - PJ_USE_EXCEPTION; - - PJ_TRY { - PJ_THROW(ID_1); - } - PJ_CATCH_ANY { - return 0; - } - PJ_END; - return -400; -} - - -static int test(void) -{ - int rc = 0; - PJ_USE_EXCEPTION; - - /* - * No exception situation. - */ - PJ_TRY { - rc = rc; - } - PJ_CATCH_ANY { - rc = -3; - } - PJ_END; - - if (rc != 0) - return rc; - - - /* - * Basic TRY/CATCH - */ - PJ_TRY { - rc = throw_id_1(); - - // should not reach here. - rc = -10; - } - PJ_CATCH_ANY { - int id = PJ_GET_EXCEPTION(); - if (id != ID_1) { - PJ_LOG(3,("", "...error: got unexpected exception %d (%s)", - id, pj_exception_id_name(id))); - if (!rc) rc = -20; - } - } - PJ_END; - - if (rc != 0) - return rc; - - /* - * Multiple exceptions handlers - */ - PJ_TRY { - rc = throw_id_2(); - // should not reach here. - rc = -25; - } - PJ_CATCH_ANY { - switch (PJ_GET_EXCEPTION()) { - case ID_1: - if (!rc) rc = -30; break; - case ID_2: - if (!rc) rc = 0; break; - default: - if (!rc) rc = -40; - break; - } - } - PJ_END; - - if (rc != 0) - return rc; - - /* - * Test default handler. - */ - PJ_TRY { - rc = throw_id_1(); - // should not reach here - rc = -50; - } - PJ_CATCH_ANY { - switch (PJ_GET_EXCEPTION()) { - case ID_1: - if (!rc) rc = 0; - break; - default: - if (!rc) rc = -60; - break; - } - } - PJ_END; - - if (rc != 0) - return rc; - - /* - * Nested handlers - */ - PJ_TRY { - rc = try_catch_test(); - } - PJ_CATCH_ANY { - rc = -70; - } - PJ_END; - - if (rc != 0) - return rc; - - /* - * Throwing exception inside handler - */ - rc = -80; - PJ_TRY { - int rc2; - rc2 = throw_in_handler(); - if (rc2) - rc = rc2; - } - PJ_CATCH_ANY { - if (PJ_GET_EXCEPTION() == ID_2) { - rc = 0; - } else { - rc = -90; - } - } - PJ_END; - - if (rc != 0) - return rc; - - - /* - * Return from handler. Returning from the function inside a handler - * should be okay (though returning from the function inside the - * PJ_TRY block IS NOT OKAY!!). We want to test to see if handler - * is cleaned up properly, but not sure how to do this. - */ - PJ_TRY { - int rc2; - rc2 = return_in_handler(); - if (rc2) - rc = rc2; - } - PJ_CATCH_ANY { - rc = -100; - } - PJ_END; - - - return 0; -} - -int exception_test(void) -{ - int i, rc; - enum { LOOP = 10 }; - - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" - -/* To prevent warning about "translation unit is empty" - * when this test is disabled. - */ -int dummy_fifobuf_test; - -#if INCLUDE_FIFOBUF_TEST - -#include - -int fifobuf_test() -{ - enum { SIZE = 1024, MAX_ENTRIES = 128, - MIN_SIZE = 4, MAX_SIZE = 64, - LOOP=10000 }; - pj_pool_t *pool; - pj_fifobuf_t fifo; - unsigned available = SIZE; - void *entries[MAX_ENTRIES]; - void *buffer; - int i; - - pool = pj_pool_create(mem, NULL, SIZE+256, 0, NULL); - if (!pool) - return -10; - - buffer = pj_pool_alloc(pool, SIZE); - if (!buffer) - return -20; - - pj_fifobuf_init (&fifo, buffer, SIZE); - - // Test 1 - for (i=0; i=MIN_SIZE+4 && count < MAX_ENTRIES;) { - int size = MIN_SIZE+(pj_rand() % MAX_SIZE); - entries[count] = pj_fifobuf_alloc (&fifo, size); - if (entries[count]) { - available -= (size+4); - ++count; - } - } - for (j=0; j - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include - -#if INCLUDE_FILE_TEST - -#define FILENAME "testfil1.txt" -#define NEWNAME "testfil2.txt" -#define INCLUDE_FILE_TIME_TEST 0 - -static char buffer[11] = {'H', 'e', 'l', 'l', 'o', ' ', - 'W', 'o', 'r', 'l', 'd' }; - -static int file_test_internal(void) -{ - enum { FILE_MAX_AGE = 1000 }; - pj_oshandle_t fd = 0; - pj_status_t status; - char readbuf[sizeof(buffer)+16]; - pj_file_stat stat; - pj_time_val start_time; - pj_ssize_t size; - pj_off_t pos; - - PJ_LOG(3,("", "..file io test..")); - - /* Get time. */ - pj_gettimeofday(&start_time); - - /* Delete original file if exists. */ - if (pj_file_exists(FILENAME)) - pj_file_delete(FILENAME); - - /* - * Write data to the file. - */ - status = pj_file_open(NULL, FILENAME, PJ_O_WRONLY, &fd); - if (status != PJ_SUCCESS) { - app_perror("...file_open() error", status); - return -10; - } - - size = sizeof(buffer); - status = pj_file_write(fd, buffer, &size); - if (status != PJ_SUCCESS) { - app_perror("...file_write() error", status); - pj_file_close(fd); - return -20; - } - if (size != sizeof(buffer)) - return -25; - - status = pj_file_close(fd); - if (status != PJ_SUCCESS) { - app_perror("...file_close() error", status); - return -30; - } - - /* Check the file existance and size. */ - if (!pj_file_exists(FILENAME)) - return -40; - - if (pj_file_size(FILENAME) != sizeof(buffer)) - return -50; - - /* Get file stat. */ - status = pj_file_getstat(FILENAME, &stat); - if (status != PJ_SUCCESS) - return -60; - - /* Check stat size. */ - if (stat.size != sizeof(buffer)) - return -70; - -#if INCLUDE_FILE_TIME_TEST - /* Check file creation time >= start_time. */ - if (!PJ_TIME_VAL_GTE(stat.ctime, start_time)) - return -80; - /* Check file creation time is not much later. */ - PJ_TIME_VAL_SUB(stat.ctime, start_time); - if (stat.ctime.sec > FILE_MAX_AGE) - return -90; - - /* Check file modification time >= start_time. */ - if (!PJ_TIME_VAL_GTE(stat.mtime, start_time)) - return -80; - /* Check file modification time is not much later. */ - PJ_TIME_VAL_SUB(stat.mtime, start_time); - if (stat.mtime.sec > FILE_MAX_AGE) - return -90; - - /* Check file access time >= start_time. */ - if (!PJ_TIME_VAL_GTE(stat.atime, start_time)) - return -80; - /* Check file access time is not much later. */ - PJ_TIME_VAL_SUB(stat.atime, start_time); - if (stat.atime.sec > FILE_MAX_AGE) - return -90; -#endif - - /* - * Re-open the file and read data. - */ - status = pj_file_open(NULL, FILENAME, PJ_O_RDONLY, &fd); - if (status != PJ_SUCCESS) { - app_perror("...file_open() error", status); - return -100; - } - - size = 0; - while (size < (pj_ssize_t)sizeof(readbuf)) { - pj_ssize_t read; - read = 1; - status = pj_file_read(fd, &readbuf[size], &read); - if (status != PJ_SUCCESS) { - PJ_LOG(3,("", "...error reading file after %d bytes (error follows)", - size)); - app_perror("...error", status); - return -110; - } - if (read == 0) { - // EOF - break; - } - size += read; - } - - if (size != sizeof(buffer)) - return -120; - - /* - if (!pj_file_eof(fd, PJ_O_RDONLY)) - return -130; - */ - - if (pj_memcmp(readbuf, buffer, size) != 0) - return -140; - - /* Seek test. */ - status = pj_file_setpos(fd, 4, PJ_SEEK_SET); - if (status != PJ_SUCCESS) { - app_perror("...file_setpos() error", status); - return -141; - } - - /* getpos test. */ - status = pj_file_getpos(fd, &pos); - if (status != PJ_SUCCESS) { - app_perror("...file_getpos() error", status); - return -142; - } - if (pos != 4) - return -143; - - status = pj_file_close(fd); - if (status != PJ_SUCCESS) { - app_perror("...file_close() error", status); - return -150; - } - - /* - * Rename test. - */ - status = pj_file_move(FILENAME, NEWNAME); - if (status != PJ_SUCCESS) { - app_perror("...file_move() error", status); - return -160; - } - - if (pj_file_exists(FILENAME)) - return -170; - if (!pj_file_exists(NEWNAME)) - return -180; - - if (pj_file_size(NEWNAME) != sizeof(buffer)) - return -190; - - /* Delete test. */ - status = pj_file_delete(NEWNAME); - if (status != PJ_SUCCESS) { - app_perror("...file_delete() error", status); - return -200; - } - - if (pj_file_exists(NEWNAME)) - return -210; - - PJ_LOG(3,("", "...success")); - return PJ_SUCCESS; -} - - -int file_test(void) -{ - int rc = file_test_internal(); - - /* Delete test file if exists. */ - if (pj_file_exists(FILENAME)) - pj_file_delete(FILENAME); - - return rc; -} - -#else -int dummy_file_test; -#endif - diff --git a/res/pjproject/pjlib/src/pjlib-test/hash_test.c b/res/pjproject/pjlib/src/pjlib-test/hash_test.c deleted file mode 100644 index c1ce4ad9ad..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/hash_test.c +++ /dev/null @@ -1,163 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include "test.h" - -#if INCLUDE_HASH_TEST - -#define HASH_COUNT 31 - -static int hash_test_with_key(pj_pool_t *pool, unsigned char key) -{ - pj_hash_table_t *ht; - unsigned value = 0x12345; - pj_hash_iterator_t it_buf, *it; - unsigned *entry; - - ht = pj_hash_create(pool, HASH_COUNT); - if (!ht) - return -10; - - pj_hash_set(pool, ht, &key, sizeof(key), 0, &value); - - entry = (unsigned*) pj_hash_get(ht, &key, sizeof(key), NULL); - if (!entry) - return -20; - - if (*entry != value) - return -30; - - if (pj_hash_count(ht) != 1) - return -30; - - it = pj_hash_first(ht, &it_buf); - if (it == NULL) - return -40; - - entry = (unsigned*) pj_hash_this(ht, it); - if (!entry) - return -50; - - if (*entry != value) - return -60; - - it = pj_hash_next(ht, it); - if (it != NULL) - return -70; - - /* Erase item */ - - pj_hash_set(NULL, ht, &key, sizeof(key), 0, NULL); - - if (pj_hash_get(ht, &key, sizeof(key), NULL) != NULL) - return -80; - - if (pj_hash_count(ht) != 0) - return -90; - - it = pj_hash_first(ht, &it_buf); - if (it != NULL) - return -100; - - return 0; -} - - -static int hash_collision_test(pj_pool_t *pool) -{ - enum { - COUNT = HASH_COUNT * 4 - }; - pj_hash_table_t *ht; - pj_hash_iterator_t it_buf, *it; - unsigned char *values; - unsigned i; - - ht = pj_hash_create(pool, HASH_COUNT); - if (!ht) - return -200; - - values = (unsigned char*) pj_pool_alloc(pool, COUNT); - - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include - -/** - * \page page_pjlib_ioqueue_perf_test Test: I/O Queue Performance - * - * Test the performance of the I/O queue, using typical producer - * consumer test. The test should examine the effect of using multiple - * threads on the performance. - * - * This file is pjlib-test/ioq_perf.c - * - * \include pjlib-test/ioq_perf.c - */ - -#if INCLUDE_IOQUEUE_PERF_TEST - -#ifdef _MSC_VER -# pragma warning ( disable: 4204) // non-constant aggregate initializer -#endif - -#define THIS_FILE "ioq_perf" -//#define TRACE_(expr) PJ_LOG(3,expr) -#define TRACE_(expr) - - -static pj_bool_t thread_quit_flag; -static pj_status_t last_error; -static unsigned last_error_counter; - -/* Descriptor for each producer/consumer pair. */ -typedef struct test_item -{ - pj_sock_t server_fd, - client_fd; - pj_ioqueue_t *ioqueue; - pj_ioqueue_key_t *server_key, - *client_key; - pj_ioqueue_op_key_t recv_op, - send_op; - int has_pending_send; - pj_size_t buffer_size; - char *outgoing_buffer; - char *incoming_buffer; - pj_size_t bytes_sent, - bytes_recv; -} test_item; - -/* Callback when data has been read. - * Increment item->bytes_recv and ready to read the next data. - */ -static void on_read_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read) -{ - test_item *item = (test_item*)pj_ioqueue_get_user_data(key); - pj_status_t rc; - int data_is_available = 1; - - //TRACE_((THIS_FILE, " read complete, bytes_read=%d", bytes_read)); - - do { - if (thread_quit_flag) - return; - - if (bytes_read < 0) { - pj_status_t rc = -bytes_read; - char errmsg[PJ_ERR_MSG_SIZE]; - - if (rc != last_error) { - //last_error = rc; - pj_strerror(rc, errmsg, sizeof(errmsg)); - PJ_LOG(3,(THIS_FILE,"...error: read error, bytes_read=%d (%s)", - bytes_read, errmsg)); - PJ_LOG(3,(THIS_FILE, - ".....additional info: total read=%u, total sent=%u", - item->bytes_recv, item->bytes_sent)); - } else { - last_error_counter++; - } - bytes_read = 0; - - } else if (bytes_read == 0) { - PJ_LOG(3,(THIS_FILE, "...socket has closed!")); - } - - item->bytes_recv += bytes_read; - - /* To assure that the test quits, even if main thread - * doesn't have time to run. - */ - if (item->bytes_recv > item->buffer_size * 10000) - thread_quit_flag = 1; - - bytes_read = item->buffer_size; - rc = pj_ioqueue_recv( key, op_key, - item->incoming_buffer, &bytes_read, 0 ); - - if (rc == PJ_SUCCESS) { - data_is_available = 1; - } else if (rc == PJ_EPENDING) { - data_is_available = 0; - } else { - data_is_available = 0; - if (rc != last_error) { - last_error = rc; - app_perror("...error: read error(1)", rc); - } else { - last_error_counter++; - } - } - - if (!item->has_pending_send) { - pj_ssize_t sent = item->buffer_size; - rc = pj_ioqueue_send(item->client_key, &item->send_op, - item->outgoing_buffer, &sent, 0); - if (rc != PJ_SUCCESS && rc != PJ_EPENDING) { - app_perror("...error: write error", rc); - } - - item->has_pending_send = (rc==PJ_EPENDING); - } - - } while (data_is_available); -} - -/* Callback when data has been written. - * Increment item->bytes_sent and write the next data. - */ -static void on_write_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_sent) -{ - test_item *item = (test_item*) pj_ioqueue_get_user_data(key); - - //TRACE_((THIS_FILE, " write complete: sent = %d", bytes_sent)); - - if (thread_quit_flag) - return; - - item->has_pending_send = 0; - item->bytes_sent += bytes_sent; - - if (bytes_sent <= 0) { - PJ_LOG(3,(THIS_FILE, "...error: sending stopped. bytes_sent=%d", - bytes_sent)); - } - else { - pj_status_t rc; - - bytes_sent = item->buffer_size; - rc = pj_ioqueue_send( item->client_key, op_key, - item->outgoing_buffer, &bytes_sent, 0); - if (rc != PJ_SUCCESS && rc != PJ_EPENDING) { - app_perror("...error: write error", rc); - } - - item->has_pending_send = (rc==PJ_EPENDING); - } -} - -struct thread_arg -{ - int id; - pj_ioqueue_t *ioqueue; - unsigned counter; -}; - -/* The worker thread. */ -static int worker_thread(void *p) -{ - struct thread_arg *arg = (struct thread_arg*) p; - const pj_time_val timeout = {0, 100}; - int rc; - - while (!thread_quit_flag) { - - ++arg->counter; - rc = pj_ioqueue_poll(arg->ioqueue, &timeout); - //TRACE_((THIS_FILE, " thread: poll returned rc=%d", rc)); - if (rc < 0) { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(-rc, errmsg, sizeof(errmsg)); - PJ_LOG(3, (THIS_FILE, - "...error in pj_ioqueue_poll() in thread %d " - "after %d loop: %s [pj_status_t=%d]", - arg->id, arg->counter, errmsg, -rc)); - //return -1; - } - } - return 0; -} - -/* Calculate the bandwidth for the specific test configuration. - * The test is simple: - * - create sockpair_cnt number of producer-consumer socket pair. - * - create thread_cnt number of worker threads. - * - each producer will send buffer_size bytes data as fast and - * as soon as it can. - * - each consumer will read buffer_size bytes of data as fast - * as it could. - * - measure the total bytes received by all consumers during a - * period of time. - */ -static int perform_test(pj_bool_t allow_concur, - int sock_type, const char *type_name, - unsigned thread_cnt, unsigned sockpair_cnt, - pj_size_t buffer_size, - pj_size_t *p_bandwidth) -{ - enum { MSEC_DURATION = 5000 }; - pj_pool_t *pool; - test_item *items; - pj_thread_t **thread; - pj_ioqueue_t *ioqueue; - pj_status_t rc; - pj_ioqueue_callback ioqueue_callback; - pj_uint32_t total_elapsed_usec, total_received; - pj_highprec_t bandwidth; - pj_timestamp start, stop; - unsigned i; - - TRACE_((THIS_FILE, " starting test..")); - - ioqueue_callback.on_read_complete = &on_read_complete; - ioqueue_callback.on_write_complete = &on_write_complete; - - thread_quit_flag = 0; - - pool = pj_pool_create(mem, NULL, 4096, 4096, NULL); - if (!pool) - return -10; - - items = (test_item*) pj_pool_alloc(pool, sockpair_cnt*sizeof(test_item)); - thread = (pj_thread_t**) - pj_pool_alloc(pool, thread_cnt*sizeof(pj_thread_t*)); - - TRACE_((THIS_FILE, " creating ioqueue..")); - rc = pj_ioqueue_create(pool, sockpair_cnt*2, &ioqueue); - if (rc != PJ_SUCCESS) { - app_perror("...error: unable to create ioqueue", rc); - return -15; - } - - rc = pj_ioqueue_set_default_concurrency(ioqueue, allow_concur); - if (rc != PJ_SUCCESS) { - app_perror("...error: pj_ioqueue_set_default_concurrency()", rc); - return -16; - } - - /* Initialize each producer-consumer pair. */ - for (i=0; iid = i; - arg->ioqueue = ioqueue; - arg->counter = 0; - - rc = pj_thread_create( pool, NULL, - &worker_thread, - arg, - PJ_THREAD_DEFAULT_STACK_SIZE, - PJ_THREAD_SUSPENDED, &thread[i] ); - if (rc != PJ_SUCCESS) { - app_perror("...error: unable to create thread", rc); - return -80; - } - } - - /* Mark start time. */ - rc = pj_get_timestamp(&start); - if (rc != PJ_SUCCESS) - return -90; - - /* Start the thread. */ - TRACE_((THIS_FILE, " resuming all threads..")); - for (i=0; i best_bandwidth) - best_bandwidth = bandwidth, best_index = i; - - /* Give it a rest before next test, to allow system to close the - * sockets properly. - */ - pj_thread_sleep(500); - } - - PJ_LOG(3,(THIS_FILE, - " Best: Type=%s Threads=%d, Skt.Pairs=%d, Bandwidth=%u KB/s", - test_param[best_index].type_name, - test_param[best_index].thread_cnt, - test_param[best_index].sockpair_cnt, - best_bandwidth)); - PJ_LOG(3,(THIS_FILE, " (Note: packet size=%d, total errors=%u)", - BUF_SIZE, last_error_counter)); - return 0; -} - -/* - * main test entry. - */ -int ioqueue_perf_test(void) -{ - int rc; - - rc = ioqueue_perf_test_imp(PJ_TRUE); - if (rc != 0) - return rc; - - rc = ioqueue_perf_test_imp(PJ_FALSE); - if (rc != 0) - return rc; - - return 0; -} - -#else -/* To prevent warning about "translation unit is empty" - * when this test is disabled. - */ -int dummy_uiq_perf_test; -#endif /* INCLUDE_IOQUEUE_PERF_TEST */ - - diff --git a/res/pjproject/pjlib/src/pjlib-test/ioq_tcp.c b/res/pjproject/pjlib/src/pjlib-test/ioq_tcp.c deleted file mode 100644 index afb3c0c37c..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/ioq_tcp.c +++ /dev/null @@ -1,972 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" - -/** - * \page page_pjlib_ioqueue_tcp_test Test: I/O Queue (TCP) - * - * This file provides implementation to test the - * functionality of the I/O queue when TCP socket is used. - * - * - * This file is pjlib-test/ioq_tcp.c - * - * \include pjlib-test/ioq_tcp.c - */ - - -#if INCLUDE_TCP_IOQUEUE_TEST - -#include - -#if PJ_HAS_TCP - -#define THIS_FILE "test_tcp" -#define NON_EXISTANT_PORT 50123 -#define LOOP 100 -#define BUF_MIN_SIZE 32 -#define BUF_MAX_SIZE 2048 -#define SOCK_INACTIVE_MIN (4-2) -#define SOCK_INACTIVE_MAX (PJ_IOQUEUE_MAX_HANDLES - 2) -#define POOL_SIZE (2*BUF_MAX_SIZE + SOCK_INACTIVE_MAX*128 + 2048) - -static pj_ssize_t callback_read_size, - callback_write_size, - callback_accept_status, - callback_connect_status; -static unsigned callback_call_count; -static pj_ioqueue_key_t *callback_read_key, - *callback_write_key, - *callback_accept_key, - *callback_connect_key; -static pj_ioqueue_op_key_t *callback_read_op, - *callback_write_op, - *callback_accept_op; - -static void on_ioqueue_read(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read) -{ - callback_read_key = key; - callback_read_op = op_key; - callback_read_size = bytes_read; - callback_call_count++; -} - -static void on_ioqueue_write(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_written) -{ - callback_write_key = key; - callback_write_op = op_key; - callback_write_size = bytes_written; - callback_call_count++; -} - -static void on_ioqueue_accept(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_sock_t sock, - int status) -{ - if (sock == PJ_INVALID_SOCKET) { - - if (status != PJ_SUCCESS) { - /* Ignore. Could be blocking error */ - app_perror(".....warning: received error in on_ioqueue_accept() callback", - status); - } else { - callback_accept_status = -61; - PJ_LOG(3,("", "..... on_ioqueue_accept() callback was given " - "invalid socket and status is %d", status)); - } - } else { - pj_sockaddr addr; - int client_addr_len; - - client_addr_len = sizeof(addr); - status = pj_sock_getsockname(sock, &addr, &client_addr_len); - if (status != PJ_SUCCESS) { - app_perror("...ERROR in pj_sock_getsockname()", status); - } - - callback_accept_key = key; - callback_accept_op = op_key; - callback_accept_status = status; - callback_call_count++; - } -} - -static void on_ioqueue_connect(pj_ioqueue_key_t *key, int status) -{ - callback_connect_key = key; - callback_connect_status = status; - callback_call_count++; -} - -static pj_ioqueue_callback test_cb = -{ - &on_ioqueue_read, - &on_ioqueue_write, - &on_ioqueue_accept, - &on_ioqueue_connect, -}; - -static int send_recv_test(pj_ioqueue_t *ioque, - pj_ioqueue_key_t *skey, - pj_ioqueue_key_t *ckey, - void *send_buf, - void *recv_buf, - pj_ssize_t bufsize, - pj_timestamp *t_elapsed) -{ - pj_status_t status; - pj_ssize_t bytes; - pj_time_val timeout; - pj_timestamp t1, t2; - int pending_op = 0; - pj_ioqueue_op_key_t read_op, write_op; - - // Start reading on the server side. - bytes = bufsize; - status = pj_ioqueue_recv(skey, &read_op, recv_buf, &bytes, 0); - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - app_perror("...pj_ioqueue_recv error", status); - return -100; - } - - if (status == PJ_EPENDING) - ++pending_op; - else { - /* Does not expect to return error or immediate data. */ - return -115; - } - - // Randomize send buffer. - pj_create_random_string((char*)send_buf, bufsize); - - // Starts send on the client side. - bytes = bufsize; - status = pj_ioqueue_send(ckey, &write_op, send_buf, &bytes, 0); - if (status != PJ_SUCCESS && bytes != PJ_EPENDING) { - return -120; - } - if (status == PJ_EPENDING) { - ++pending_op; - } - - // Begin time. - pj_get_timestamp(&t1); - - // Reset indicators - callback_read_size = callback_write_size = 0; - callback_read_key = callback_write_key = NULL; - callback_read_op = callback_write_op = NULL; - - // Poll the queue until we've got completion event in the server side. - status = 0; - while (pending_op > 0) { - timeout.sec = 1; timeout.msec = 0; -#ifdef PJ_SYMBIAN - PJ_UNUSED_ARG(ioque); - status = pj_symbianos_poll(-1, 1000); -#else - status = pj_ioqueue_poll(ioque, &timeout); -#endif - if (status > 0) { - if (callback_read_size) { - if (callback_read_size != bufsize) - return -160; - if (callback_read_key != skey) - return -161; - if (callback_read_op != &read_op) - return -162; - } - if (callback_write_size) { - if (callback_write_key != ckey) - return -163; - if (callback_write_op != &write_op) - return -164; - } - pending_op -= status; - } - if (status == 0) { - PJ_LOG(3,("", "...error: timed out")); - } - if (status < 0) { - return -170; - } - } - - // Pending op is zero. - // Subsequent poll should yield zero too. - timeout.sec = timeout.msec = 0; -#ifdef PJ_SYMBIAN - status = pj_symbianos_poll(-1, 1); -#else - status = pj_ioqueue_poll(ioque, &timeout); -#endif - if (status != 0) - return -173; - - // End time. - pj_get_timestamp(&t2); - t_elapsed->u32.lo += (t2.u32.lo - t1.u32.lo); - - // Compare recv buffer with send buffer. - if (pj_memcmp(send_buf, recv_buf, bufsize) != 0) { - return -180; - } - - // Success - return 0; -} - - -/* - * Compliance test for success scenario. - */ -static int compliance_test_0(pj_bool_t allow_concur) -{ - pj_sock_t ssock=-1, csock0=-1, csock1=-1; - pj_sockaddr_in addr, client_addr, rmt_addr; - int client_addr_len; - pj_pool_t *pool = NULL; - char *send_buf, *recv_buf; - pj_ioqueue_t *ioque = NULL; - pj_ioqueue_key_t *skey=NULL, *ckey0=NULL, *ckey1=NULL; - pj_ioqueue_op_key_t accept_op; - int bufsize = BUF_MIN_SIZE; - pj_ssize_t status = -1; - int pending_op = 0; - pj_timestamp t_elapsed; - pj_str_t s; - pj_status_t rc; - - // Create pool. - pool = pj_pool_create(mem, NULL, POOL_SIZE, 4000, NULL); - - // Allocate buffers for send and receive. - send_buf = (char*)pj_pool_alloc(pool, bufsize); - recv_buf = (char*)pj_pool_alloc(pool, bufsize); - - // Create server socket and client socket for connecting - rc = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, &ssock); - if (rc != PJ_SUCCESS) { - app_perror("...error creating socket", rc); - status=-1; goto on_error; - } - - rc = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, &csock1); - if (rc != PJ_SUCCESS) { - app_perror("...error creating socket", rc); - status=-1; goto on_error; - } - - // Bind server socket. - pj_sockaddr_in_init(&addr, 0, 0); - if ((rc=pj_sock_bind(ssock, &addr, sizeof(addr))) != 0 ) { - app_perror("...bind error", rc); - status=-10; goto on_error; - } - - // Get server address. - client_addr_len = sizeof(addr); - rc = pj_sock_getsockname(ssock, &addr, &client_addr_len); - if (rc != PJ_SUCCESS) { - app_perror("...ERROR in pj_sock_getsockname()", rc); - status=-15; goto on_error; - } - addr.sin_addr = pj_inet_addr(pj_cstr(&s, "127.0.0.1")); - - // Create I/O Queue. - rc = pj_ioqueue_create(pool, PJ_IOQUEUE_MAX_HANDLES, &ioque); - if (rc != PJ_SUCCESS) { - app_perror("...ERROR in pj_ioqueue_create()", rc); - status=-20; goto on_error; - } - - // Concurrency - rc = pj_ioqueue_set_default_concurrency(ioque, allow_concur); - if (rc != PJ_SUCCESS) { - app_perror("...ERROR in pj_ioqueue_set_default_concurrency()", rc); - status=-21; goto on_error; - } - - // Register server socket and client socket. - rc = pj_ioqueue_register_sock(pool, ioque, ssock, NULL, &test_cb, &skey); - if (rc == PJ_SUCCESS) - rc = pj_ioqueue_register_sock(pool, ioque, csock1, NULL, &test_cb, - &ckey1); - else - ckey1 = NULL; - if (rc != PJ_SUCCESS) { - app_perror("...ERROR in pj_ioqueue_register_sock()", rc); - status=-23; goto on_error; - } - - // Server socket listen(). - if (pj_sock_listen(ssock, 5)) { - app_perror("...ERROR in pj_sock_listen()", rc); - status=-25; goto on_error; - } - - // Server socket accept() - client_addr_len = sizeof(pj_sockaddr_in); - status = pj_ioqueue_accept(skey, &accept_op, &csock0, - &client_addr, &rmt_addr, &client_addr_len); - if (status != PJ_EPENDING) { - app_perror("...ERROR in pj_ioqueue_accept()", rc); - status=-30; goto on_error; - } - if (status==PJ_EPENDING) { - ++pending_op; - } - - // Client socket connect() - status = pj_ioqueue_connect(ckey1, &addr, sizeof(addr)); - if (status!=PJ_SUCCESS && status != PJ_EPENDING) { - app_perror("...ERROR in pj_ioqueue_connect()", rc); - status=-40; goto on_error; - } - if (status==PJ_EPENDING) { - ++pending_op; - } - - // Poll until connected - callback_read_size = callback_write_size = 0; - callback_accept_status = callback_connect_status = -2; - callback_call_count = 0; - - callback_read_key = callback_write_key = - callback_accept_key = callback_connect_key = NULL; - callback_accept_op = callback_read_op = callback_write_op = NULL; - - while (pending_op) { - pj_time_val timeout = {1, 0}; - -#ifdef PJ_SYMBIAN - callback_call_count = 0; - pj_symbianos_poll(-1, 1000); - status = callback_call_count; -#else - status = pj_ioqueue_poll(ioque, &timeout); -#endif - if (status > 0) { - if (callback_accept_status != -2) { - if (callback_accept_status != 0) { - status=-41; goto on_error; - } - if (callback_accept_key != skey) { - status=-42; goto on_error; - } - if (callback_accept_op != &accept_op) { - status=-43; goto on_error; - } - callback_accept_status = -2; - } - - if (callback_connect_status != -2) { - if (callback_connect_status != 0) { - status=-50; goto on_error; - } - if (callback_connect_key != ckey1) { - status=-51; goto on_error; - } - callback_connect_status = -2; - } - - if (status > pending_op) { - PJ_LOG(3,(THIS_FILE, - "...error: pj_ioqueue_poll() returned %d " - "(only expecting %d)", - status, pending_op)); - return -52; - } - pending_op -= status; - - if (pending_op == 0) { - status = 0; - } - } - } - - // There's no pending operation. - // When we poll the ioqueue, there must not be events. - if (pending_op == 0) { - pj_time_val timeout = {1, 0}; -#ifdef PJ_SYMBIAN - status = pj_symbianos_poll(-1, 1000); -#else - status = pj_ioqueue_poll(ioque, &timeout); -#endif - if (status != 0) { - status=-60; goto on_error; - } - } - - // Check accepted socket. - if (csock0 == PJ_INVALID_SOCKET) { - status = -69; - app_perror("...accept() error", pj_get_os_error()); - goto on_error; - } - - // Register newly accepted socket. - rc = pj_ioqueue_register_sock(pool, ioque, csock0, NULL, - &test_cb, &ckey0); - if (rc != PJ_SUCCESS) { - app_perror("...ERROR in pj_ioqueue_register_sock", rc); - status = -70; - goto on_error; - } - - // Test send and receive. - t_elapsed.u32.lo = 0; - status = send_recv_test(ioque, ckey0, ckey1, send_buf, - recv_buf, bufsize, &t_elapsed); - if (status != 0) { - goto on_error; - } - - // Success - status = 0; - -on_error: - if (skey != NULL) - pj_ioqueue_unregister(skey); - else if (ssock != PJ_INVALID_SOCKET) - pj_sock_close(ssock); - - if (ckey1 != NULL) - pj_ioqueue_unregister(ckey1); - else if (csock1 != PJ_INVALID_SOCKET) - pj_sock_close(csock1); - - if (ckey0 != NULL) - pj_ioqueue_unregister(ckey0); - else if (csock0 != PJ_INVALID_SOCKET) - pj_sock_close(csock0); - - if (ioque != NULL) - pj_ioqueue_destroy(ioque); - pj_pool_release(pool); - return status; - -} - -/* - * Compliance test for failed scenario. - * In this case, the client connects to a non-existant service. - */ -static int compliance_test_1(pj_bool_t allow_concur) -{ - pj_sock_t csock1=PJ_INVALID_SOCKET; - pj_sockaddr_in addr; - pj_pool_t *pool = NULL; - pj_ioqueue_t *ioque = NULL; - pj_ioqueue_key_t *ckey1 = NULL; - pj_ssize_t status = -1; - int pending_op = 0; - pj_str_t s; - pj_status_t rc; - - // Create pool. - pool = pj_pool_create(mem, NULL, POOL_SIZE, 4000, NULL); - - // Create I/O Queue. - rc = pj_ioqueue_create(pool, PJ_IOQUEUE_MAX_HANDLES, &ioque); - if (!ioque) { - status=-20; goto on_error; - } - - // Concurrency - rc = pj_ioqueue_set_default_concurrency(ioque, allow_concur); - if (rc != PJ_SUCCESS) { - status=-21; goto on_error; - } - - // Create client socket - rc = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, &csock1); - if (rc != PJ_SUCCESS) { - app_perror("...ERROR in pj_sock_socket()", rc); - status=-1; goto on_error; - } - - // Register client socket. - rc = pj_ioqueue_register_sock(pool, ioque, csock1, NULL, - &test_cb, &ckey1); - if (rc != PJ_SUCCESS) { - app_perror("...ERROR in pj_ioqueue_register_sock()", rc); - status=-23; goto on_error; - } - - // Initialize remote address. - pj_sockaddr_in_init(&addr, pj_cstr(&s, "127.0.0.1"), NON_EXISTANT_PORT); - - // Client socket connect() - status = pj_ioqueue_connect(ckey1, &addr, sizeof(addr)); - if (status==PJ_SUCCESS) { - // unexpectedly success! - status = -30; - goto on_error; - } - if (status != PJ_EPENDING) { - // success - } else { - ++pending_op; - } - - callback_connect_status = -2; - callback_connect_key = NULL; - - // Poll until we've got result - while (pending_op) { - pj_time_val timeout = {1, 0}; - -#ifdef PJ_SYMBIAN - callback_call_count = 0; - pj_symbianos_poll(-1, 1000); - status = callback_call_count; -#else - status = pj_ioqueue_poll(ioque, &timeout); -#endif - if (status > 0) { - if (callback_connect_key==ckey1) { - if (callback_connect_status == 0) { - // unexpectedly connected! - status = -50; - goto on_error; - } - } - - if (status > pending_op) { - PJ_LOG(3,(THIS_FILE, - "...error: pj_ioqueue_poll() returned %d " - "(only expecting %d)", - status, pending_op)); - return -552; - } - - pending_op -= status; - if (pending_op == 0) { - status = 0; - } - } - } - - // There's no pending operation. - // When we poll the ioqueue, there must not be events. - if (pending_op == 0) { - pj_time_val timeout = {1, 0}; -#ifdef PJ_SYMBIAN - status = pj_symbianos_poll(-1, 1000); -#else - status = pj_ioqueue_poll(ioque, &timeout); -#endif - if (status != 0) { - status=-60; goto on_error; - } - } - - // Success - status = 0; - -on_error: - if (ckey1 != NULL) - pj_ioqueue_unregister(ckey1); - else if (csock1 != PJ_INVALID_SOCKET) - pj_sock_close(csock1); - - if (ioque != NULL) - pj_ioqueue_destroy(ioque); - pj_pool_release(pool); - return status; -} - - -/* - * Repeated connect/accept on the same listener socket. - */ -static int compliance_test_2(pj_bool_t allow_concur) -{ -#if defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0 - enum { MAX_PAIR = 1, TEST_LOOP = 2 }; -#else - enum { MAX_PAIR = 4, TEST_LOOP = 2 }; -#endif - - struct listener - { - pj_sock_t sock; - pj_ioqueue_key_t *key; - pj_sockaddr_in addr; - int addr_len; - } listener; - - struct server - { - pj_sock_t sock; - pj_ioqueue_key_t *key; - pj_sockaddr_in local_addr; - pj_sockaddr_in rem_addr; - int rem_addr_len; - pj_ioqueue_op_key_t accept_op; - } server[MAX_PAIR]; - - struct client - { - pj_sock_t sock; - pj_ioqueue_key_t *key; - } client[MAX_PAIR]; - - pj_pool_t *pool = NULL; - char *send_buf, *recv_buf; - pj_ioqueue_t *ioque = NULL; - int i, bufsize = BUF_MIN_SIZE; - pj_ssize_t status; - int test_loop, pending_op = 0; - pj_timestamp t_elapsed; - pj_str_t s; - pj_status_t rc; - - listener.sock = PJ_INVALID_SOCKET; - listener.key = NULL; - - for (i=0; i 0) { - if (status > pending_op) { - PJ_LOG(3,(THIS_FILE, - "...error: pj_ioqueue_poll() returned %d " - "(only expecting %d)", - status, pending_op)); - return -110; - } - pending_op -= status; - - if (pending_op == 0) { - status = 0; - } - } - } - } - - // There's no pending operation. - // When we poll the ioqueue, there must not be events. - if (pending_op == 0) { - pj_time_val timeout = {1, 0}; -#ifdef PJ_SYMBIAN - status = pj_symbianos_poll(-1, 1000); -#else - status = pj_ioqueue_poll(ioque, &timeout); -#endif - if (status != 0) { - status=-120; goto on_error; - } - } - - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" - - -/** - * \page page_pjlib_ioqueue_udp_test Test: I/O Queue (UDP) - * - * This file provides implementation to test the - * functionality of the I/O queue when UDP socket is used. - * - * - * This file is pjlib-test/ioq_udp.c - * - * \include pjlib-test/ioq_udp.c - */ - - -#if INCLUDE_UDP_IOQUEUE_TEST - -#include - -#include - -#define THIS_FILE "test_udp" -#define PORT 51233 -#define LOOP 2 -///#define LOOP 2 -#define BUF_MIN_SIZE 32 -#define BUF_MAX_SIZE 2048 -#define SOCK_INACTIVE_MIN (1) -#define SOCK_INACTIVE_MAX (PJ_IOQUEUE_MAX_HANDLES - 2) -#define POOL_SIZE (2*BUF_MAX_SIZE + SOCK_INACTIVE_MAX*128 + 2048) - -#undef TRACE_ -#define TRACE_(msg) PJ_LOG(3,(THIS_FILE,"....." msg)) - -#if 0 -# define TRACE__(args) PJ_LOG(3,args) -#else -# define TRACE__(args) -#endif - - -static pj_ssize_t callback_read_size, - callback_write_size, - callback_accept_status, - callback_connect_status; -static pj_ioqueue_key_t *callback_read_key, - *callback_write_key, - *callback_accept_key, - *callback_connect_key; -static pj_ioqueue_op_key_t *callback_read_op, - *callback_write_op, - *callback_accept_op; - -static void on_ioqueue_read(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read) -{ - callback_read_key = key; - callback_read_op = op_key; - callback_read_size = bytes_read; - TRACE__((THIS_FILE, " callback_read_key = %p, bytes=%d", - key, bytes_read)); -} - -static void on_ioqueue_write(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_written) -{ - callback_write_key = key; - callback_write_op = op_key; - callback_write_size = bytes_written; -} - -static void on_ioqueue_accept(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_sock_t sock, int status) -{ - PJ_UNUSED_ARG(sock); - callback_accept_key = key; - callback_accept_op = op_key; - callback_accept_status = status; -} - -static void on_ioqueue_connect(pj_ioqueue_key_t *key, int status) -{ - callback_connect_key = key; - callback_connect_status = status; -} - -static pj_ioqueue_callback test_cb = -{ - &on_ioqueue_read, - &on_ioqueue_write, - &on_ioqueue_accept, - &on_ioqueue_connect, -}; - -#ifdef PJ_WIN32 -# define S_ADDR S_un.S_addr -#else -# define S_ADDR s_addr -#endif - -/* - * compliance_test() - * To test that the basic IOQueue functionality works. It will just exchange - * data between two sockets. - */ -static int compliance_test(pj_bool_t allow_concur) -{ - pj_sock_t ssock=-1, csock=-1; - pj_sockaddr_in addr, dst_addr; - int addrlen; - pj_pool_t *pool = NULL; - char *send_buf, *recv_buf; - pj_ioqueue_t *ioque = NULL; - pj_ioqueue_key_t *skey = NULL, *ckey = NULL; - pj_ioqueue_op_key_t read_op, write_op; - int bufsize = BUF_MIN_SIZE; - pj_ssize_t bytes, status = -1; - pj_str_t temp; - pj_bool_t send_pending, recv_pending; - pj_status_t rc; - - pj_set_os_error(PJ_SUCCESS); - - // Create pool. - pool = pj_pool_create(mem, NULL, POOL_SIZE, 4000, NULL); - - // Allocate buffers for send and receive. - send_buf = (char*)pj_pool_alloc(pool, bufsize); - recv_buf = (char*)pj_pool_alloc(pool, bufsize); - - // Allocate sockets for sending and receiving. - TRACE_("creating sockets..."); - rc = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &ssock); - if (rc==PJ_SUCCESS) - rc = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &csock); - else - csock = PJ_INVALID_SOCKET; - if (rc != PJ_SUCCESS) { - app_perror("...ERROR in pj_sock_socket()", rc); - status=-1; goto on_error; - } - - // Bind server socket. - TRACE_("bind socket..."); - pj_bzero(&addr, sizeof(addr)); - addr.sin_family = pj_AF_INET(); - addr.sin_port = pj_htons(PORT); - if (pj_sock_bind(ssock, &addr, sizeof(addr))) { - status=-10; goto on_error; - } - - // Create I/O Queue. - TRACE_("create ioqueue..."); - rc = pj_ioqueue_create(pool, PJ_IOQUEUE_MAX_HANDLES, &ioque); - if (rc != PJ_SUCCESS) { - status=-20; goto on_error; - } - - // Set concurrency - TRACE_("set concurrency..."); - rc = pj_ioqueue_set_default_concurrency(ioque, allow_concur); - if (rc != PJ_SUCCESS) { - status=-21; goto on_error; - } - - // Register server and client socket. - // We put this after inactivity socket, hopefully this can represent the - // worst waiting time. - TRACE_("registering first sockets..."); - rc = pj_ioqueue_register_sock(pool, ioque, ssock, NULL, - &test_cb, &skey); - if (rc != PJ_SUCCESS) { - app_perror("...error(10): ioqueue_register error", rc); - status=-25; goto on_error; - } - TRACE_("registering second sockets..."); - rc = pj_ioqueue_register_sock( pool, ioque, csock, NULL, - &test_cb, &ckey); - if (rc != PJ_SUCCESS) { - app_perror("...error(11): ioqueue_register error", rc); - status=-26; goto on_error; - } - - // Randomize send_buf. - pj_create_random_string(send_buf, bufsize); - - // Register reading from ioqueue. - TRACE_("start recvfrom..."); - pj_bzero(&addr, sizeof(addr)); - addrlen = sizeof(addr); - bytes = bufsize; - rc = pj_ioqueue_recvfrom(skey, &read_op, recv_buf, &bytes, 0, - &addr, &addrlen); - if (rc != PJ_SUCCESS && rc != PJ_EPENDING) { - app_perror("...error: pj_ioqueue_recvfrom", rc); - status=-28; goto on_error; - } else if (rc == PJ_EPENDING) { - recv_pending = 1; - PJ_LOG(3, (THIS_FILE, - "......ok: recvfrom returned pending")); - } else { - PJ_LOG(3, (THIS_FILE, - "......error: recvfrom returned immediate ok!")); - status=-29; goto on_error; - } - - // Set destination address to send the packet. - TRACE_("set destination address..."); - temp = pj_str("127.0.0.1"); - if ((rc=pj_sockaddr_in_init(&dst_addr, &temp, PORT)) != 0) { - app_perror("...error: unable to resolve 127.0.0.1", rc); - status=-290; goto on_error; - } - - // Write must return the number of bytes. - TRACE_("start sendto..."); - bytes = bufsize; - rc = pj_ioqueue_sendto(ckey, &write_op, send_buf, &bytes, 0, &dst_addr, - sizeof(dst_addr)); - if (rc != PJ_SUCCESS && rc != PJ_EPENDING) { - app_perror("...error: pj_ioqueue_sendto", rc); - status=-30; goto on_error; - } else if (rc == PJ_EPENDING) { - send_pending = 1; - PJ_LOG(3, (THIS_FILE, - "......ok: sendto returned pending")); - } else { - send_pending = 0; - PJ_LOG(3, (THIS_FILE, - "......ok: sendto returned immediate success")); - } - - // reset callback variables. - callback_read_size = callback_write_size = 0; - callback_accept_status = callback_connect_status = -2; - callback_read_key = callback_write_key = - callback_accept_key = callback_connect_key = NULL; - callback_read_op = callback_write_op = NULL; - - // Poll if pending. - while (send_pending || recv_pending) { - int rc; - pj_time_val timeout = { 5, 0 }; - - TRACE_("poll..."); -#ifdef PJ_SYMBIAN - rc = pj_symbianos_poll(-1, 5000); -#else - rc = pj_ioqueue_poll(ioque, &timeout); -#endif - - if (rc == 0) { - PJ_LOG(1,(THIS_FILE, "...ERROR: timed out...")); - status=-45; goto on_error; - } else if (rc < 0) { - app_perror("...ERROR in ioqueue_poll()", -rc); - status=-50; goto on_error; - } - - if (callback_read_key != NULL) { - if (callback_read_size != bufsize) { - status=-61; goto on_error; - } - if (callback_read_key != skey) { - status=-65; goto on_error; - } - if (callback_read_op != &read_op) { - status=-66; goto on_error; - } - - if (pj_memcmp(send_buf, recv_buf, bufsize) != 0) { - status=-67; goto on_error; - } - if (addrlen != sizeof(pj_sockaddr_in)) { - status=-68; goto on_error; - } - if (addr.sin_family != pj_AF_INET()) { - status=-69; goto on_error; - } - - - recv_pending = 0; - } - - if (callback_write_key != NULL) { - if (callback_write_size != bufsize) { - status=-73; goto on_error; - } - if (callback_write_key != ckey) { - status=-75; goto on_error; - } - if (callback_write_op != &write_op) { - status=-76; goto on_error; - } - - send_pending = 0; - } - } - - // Success - status = 0; - -on_error: - if (skey) - pj_ioqueue_unregister(skey); - else if (ssock != -1) - pj_sock_close(ssock); - - if (ckey) - pj_ioqueue_unregister(ckey); - else if (csock != -1) - pj_sock_close(csock); - - if (ioque != NULL) - pj_ioqueue_destroy(ioque); - pj_pool_release(pool); - return status; - -} - - -static void on_read_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read) -{ - unsigned *p_packet_cnt = (unsigned*) pj_ioqueue_get_user_data(key); - - PJ_UNUSED_ARG(op_key); - PJ_UNUSED_ARG(bytes_read); - - (*p_packet_cnt)++; -} - -/* - * unregister_test() - * Check if callback is still called after socket has been unregistered or - * closed. - */ -static int unregister_test(pj_bool_t allow_concur) -{ - enum { RPORT = 50000, SPORT = 50001 }; - pj_pool_t *pool; - pj_ioqueue_t *ioqueue; - pj_sock_t ssock; - pj_sock_t rsock; - int addrlen; - pj_sockaddr_in addr; - pj_ioqueue_key_t *key; - pj_ioqueue_op_key_t opkey; - pj_ioqueue_callback cb; - unsigned packet_cnt; - char sendbuf[10], recvbuf[10]; - pj_ssize_t bytes; - pj_time_val timeout; - pj_status_t status; - - pool = pj_pool_create(mem, "test", 4000, 4000, NULL); - if (!pool) { - app_perror("Unable to create pool", PJ_ENOMEM); - return -100; - } - - status = pj_ioqueue_create(pool, 16, &ioqueue); - if (status != PJ_SUCCESS) { - app_perror("Error creating ioqueue", status); - return -110; - } - - // Set concurrency - TRACE_("set concurrency..."); - status = pj_ioqueue_set_default_concurrency(ioqueue, allow_concur); - if (status != PJ_SUCCESS) { - return -112; - } - - /* Create sender socket */ - status = app_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, SPORT, &ssock); - if (status != PJ_SUCCESS) { - app_perror("Error initializing socket", status); - return -120; - } - - /* Create receiver socket. */ - status = app_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, RPORT, &rsock); - if (status != PJ_SUCCESS) { - app_perror("Error initializing socket", status); - return -130; - } - - /* Register rsock to ioqueue. */ - pj_bzero(&cb, sizeof(cb)); - cb.on_read_complete = &on_read_complete; - packet_cnt = 0; - status = pj_ioqueue_register_sock(pool, ioqueue, rsock, &packet_cnt, - &cb, &key); - if (status != PJ_SUCCESS) { - app_perror("Error registering to ioqueue", status); - return -140; - } - - /* Init operation key. */ - pj_ioqueue_op_key_init(&opkey, sizeof(opkey)); - - /* Start reading. */ - bytes = sizeof(recvbuf); - status = pj_ioqueue_recv( key, &opkey, recvbuf, &bytes, 0); - if (status != PJ_EPENDING) { - app_perror("Expecting PJ_EPENDING, but got this", status); - return -150; - } - - /* Init destination address. */ - addrlen = sizeof(addr); - status = pj_sock_getsockname(rsock, &addr, &addrlen); - if (status != PJ_SUCCESS) { - app_perror("getsockname error", status); - return -160; - } - - /* Override address with 127.0.0.1, since getsockname will return - * zero in the address field. - */ - addr.sin_addr = pj_inet_addr2("127.0.0.1"); - - /* Init buffer to send */ - pj_ansi_strcpy(sendbuf, "Hello0123"); - - /* Send one packet. */ - bytes = sizeof(sendbuf); - status = pj_sock_sendto(ssock, sendbuf, &bytes, 0, - &addr, sizeof(addr)); - - if (status != PJ_SUCCESS) { - app_perror("sendto error", status); - return -170; - } - - /* Check if packet is received. */ - timeout.sec = 1; timeout.msec = 0; -#ifdef PJ_SYMBIAN - pj_symbianos_poll(-1, 1000); -#else - pj_ioqueue_poll(ioqueue, &timeout); -#endif - - if (packet_cnt != 1) { - return -180; - } - - /* Just to make sure things are settled.. */ - pj_thread_sleep(100); - - /* Start reading again. */ - bytes = sizeof(recvbuf); - status = pj_ioqueue_recv( key, &opkey, recvbuf, &bytes, 0); - if (status != PJ_EPENDING) { - app_perror("Expecting PJ_EPENDING, but got this", status); - return -190; - } - - /* Reset packet counter */ - packet_cnt = 0; - - /* Send one packet. */ - bytes = sizeof(sendbuf); - status = pj_sock_sendto(ssock, sendbuf, &bytes, 0, - &addr, sizeof(addr)); - - if (status != PJ_SUCCESS) { - app_perror("sendto error", status); - return -200; - } - - /* Now unregister and close socket. */ - pj_ioqueue_unregister(key); - - /* Poll ioqueue. */ -#ifdef PJ_SYMBIAN - pj_symbianos_poll(-1, 1000); -#else - timeout.sec = 1; timeout.msec = 0; - pj_ioqueue_poll(ioqueue, &timeout); -#endif - - /* Must NOT receive any packets after socket is closed! */ - if (packet_cnt > 0) { - PJ_LOG(3,(THIS_FILE, "....errror: not expecting to receive packet " - "after socket has been closed")); - return -210; - } - - /* Success */ - pj_sock_close(ssock); - pj_ioqueue_destroy(ioqueue); - - pj_pool_release(pool); - - return 0; -} - - -/* - * Testing with many handles. - * This will just test registering PJ_IOQUEUE_MAX_HANDLES count - * of sockets to the ioqueue. - */ -static int many_handles_test(pj_bool_t allow_concur) -{ - enum { MAX = PJ_IOQUEUE_MAX_HANDLES }; - pj_pool_t *pool; - pj_ioqueue_t *ioqueue; - pj_sock_t *sock; - pj_ioqueue_key_t **key; - pj_status_t rc; - int count, i; /* must be signed */ - - PJ_LOG(3,(THIS_FILE,"...testing with so many handles")); - - pool = pj_pool_create(mem, NULL, 4000, 4000, NULL); - if (!pool) - return PJ_ENOMEM; - - key = (pj_ioqueue_key_t**) - pj_pool_alloc(pool, MAX*sizeof(pj_ioqueue_key_t*)); - sock = (pj_sock_t*) pj_pool_alloc(pool, MAX*sizeof(pj_sock_t)); - - /* Create IOQueue */ - rc = pj_ioqueue_create(pool, MAX, &ioqueue); - if (rc != PJ_SUCCESS || ioqueue == NULL) { - app_perror("...error in pj_ioqueue_create", rc); - return -10; - } - - // Set concurrency - rc = pj_ioqueue_set_default_concurrency(ioqueue, allow_concur); - if (rc != PJ_SUCCESS) { - return -11; - } - - /* Register as many sockets. */ - for (count=0; count=0; --i) { - ///for (i=0; i= 0 && callback_read_key != skey); - - // End time. - pj_get_timestamp(&t2); - t_elapsed.u64 += (t2.u64 - t1.u64); - - if (rc < 0) { - app_perror(" error: pj_ioqueue_poll", -rc); - break; - } - - // Compare recv buffer with send buffer. - if (callback_read_size != bufsize || - pj_memcmp(send_buf, recv_buf, bufsize)) - { - rc = -10; - PJ_LOG(3,(THIS_FILE, " error: size/buffer mismatch")); - break; - } - - // Poll until all events are exhausted, before we start the next loop. - do { - pj_time_val timeout = { 0, 10 }; -#ifdef PJ_SYMBIAN - rc = pj_symbianos_poll(-1, 100); -#else - rc = pj_ioqueue_poll(ioque, &timeout); -#endif - } while (rc>0); - - rc = 0; - } - - // Print results - if (rc == 0) { - pj_timestamp tzero; - pj_uint32_t usec_delay; - - tzero.u32.hi = tzero.u32.lo = 0; - usec_delay = pj_elapsed_usec( &tzero, &t_elapsed); - - PJ_LOG(3, (THIS_FILE, "...%10d %15d % 9d", - bufsize, inactive_sock_count, usec_delay)); - - } else { - PJ_LOG(2, (THIS_FILE, "...ERROR rc=%d (buf:%d, fds:%d)", - rc, bufsize, inactive_sock_count+2)); - } - - // Cleaning up. - for (i=inactive_sock_count-1; i>=0; --i) { - pj_ioqueue_unregister(keys[i]); - } - - pj_ioqueue_unregister(skey); - pj_ioqueue_unregister(ckey); - - - pj_ioqueue_destroy(ioque); - pj_pool_release( pool); - return rc; - -on_error: - PJ_LOG(1,(THIS_FILE, "...ERROR: %s", - pj_strerror(pj_get_netos_error(), errbuf, sizeof(errbuf)))); - if (ssock) - pj_sock_close(ssock); - if (csock) - pj_sock_close(csock); - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" - -#if INCLUDE_IOQUEUE_UNREG_TEST -/* - * This tests the thread safety of ioqueue unregistration operation. - */ - -#include -#include -#include -#include -#include -#include -#include -#include - - -#define THIS_FILE "ioq_unreg.c" - - -enum test_method -{ - UNREGISTER_IN_APP, - UNREGISTER_IN_CALLBACK, -}; - -static int thread_quitting; -static enum test_method test_method; -static pj_time_val time_to_unregister; - -struct sock_data -{ - pj_sock_t sock; - pj_sock_t csock; - pj_pool_t *pool; - pj_ioqueue_key_t *key; - pj_mutex_t *mutex; - pj_ioqueue_op_key_t *op_key; - char *buffer; - pj_size_t bufsize; - pj_bool_t unregistered; - unsigned received; -} sock_data; - -static void on_read_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read) -{ - pj_ssize_t size; - char *sendbuf = "Hello world"; - pj_status_t status; - - if (sock_data.unregistered) - return; - - pj_mutex_lock(sock_data.mutex); - - if (sock_data.unregistered) { - pj_mutex_unlock(sock_data.mutex); - return; - } - - if (bytes_read < 0) { - if (-bytes_read != PJ_STATUS_FROM_OS(PJ_BLOCKING_ERROR_VAL)) - app_perror("ioqueue reported recv error", -bytes_read); - } else { - sock_data.received += bytes_read; - } - - if (test_method == UNREGISTER_IN_CALLBACK) { - pj_time_val now; - - pj_gettimeofday(&now); - if (PJ_TIME_VAL_GTE(now, time_to_unregister)) { - sock_data.unregistered = 1; - pj_ioqueue_unregister(key); - pj_mutex_unlock(sock_data.mutex); - return; - } - } - - do { - size = sock_data.bufsize; - status = pj_ioqueue_recv(key, op_key, sock_data.buffer, &size, 0); - if (status != PJ_EPENDING && status != PJ_SUCCESS) - app_perror("recv() error", status); - - } while (status == PJ_SUCCESS); - - pj_mutex_unlock(sock_data.mutex); - - size = pj_ansi_strlen(sendbuf); - status = pj_sock_send(sock_data.csock, sendbuf, &size, 0); - if (status != PJ_SUCCESS) - app_perror("send() error", status); - - size = pj_ansi_strlen(sendbuf); - status = pj_sock_send(sock_data.csock, sendbuf, &size, 0); - if (status != PJ_SUCCESS) - app_perror("send() error", status); - -} - -static int worker_thread(void *arg) -{ - pj_ioqueue_t *ioqueue = (pj_ioqueue_t*) arg; - - while (!thread_quitting) { - pj_time_val timeout = { 0, 20 }; - pj_ioqueue_poll(ioqueue, &timeout); - } - - return 0; -} - -/* - * Perform unregistration test. - * - * This will create ioqueue and register a server socket. Depending - * on the test method, either the callback or the main thread will - * unregister and destroy the server socket after some period of time. - */ -static int perform_unreg_test(pj_ioqueue_t *ioqueue, - pj_pool_t *test_pool, - const char *title, - pj_bool_t other_socket) -{ - enum { WORKER_CNT = 1, MSEC = 500, QUIT_MSEC = 500 }; - int i; - pj_thread_t *thread[WORKER_CNT]; - struct sock_data osd; - pj_ioqueue_callback callback; - pj_time_val end_time; - pj_status_t status; - - - /* Sometimes its important to have other sockets registered to - * the ioqueue, because when no sockets are registered, the ioqueue - * will return from the poll early. - */ - if (other_socket) { - status = app_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, 56127, &osd.sock); - if (status != PJ_SUCCESS) { - app_perror("Error creating other socket", status); - return -12; - } - - pj_bzero(&callback, sizeof(callback)); - status = pj_ioqueue_register_sock(test_pool, ioqueue, osd.sock, - NULL, &callback, &osd.key); - if (status != PJ_SUCCESS) { - app_perror("Error registering other socket", status); - return -13; - } - - } else { - osd.key = NULL; - osd.sock = PJ_INVALID_SOCKET; - } - - /* Init both time duration of testing */ - thread_quitting = 0; - pj_gettimeofday(&time_to_unregister); - time_to_unregister.msec += MSEC; - pj_time_val_normalize(&time_to_unregister); - - end_time = time_to_unregister; - end_time.msec += QUIT_MSEC; - pj_time_val_normalize(&end_time); - - - /* Create polling thread */ - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" - -/** - * \page page_pjlib_list_test Test: Linked List - * - * This file provides implementation of \b list_test(). It tests the - * functionality of the linked-list API. - * - * \section list_test_sec Scope of the Test - * - * API tested: - * - pj_list_init() - * - pj_list_insert_before() - * - pj_list_insert_after() - * - pj_list_merge_last() - * - pj_list_empty() - * - pj_list_insert_nodes_before() - * - pj_list_erase() - * - pj_list_find_node() - * - pj_list_search() - * - * - * This file is pjlib-test/list.c - * - * \include pjlib-test/list.c - */ - -#if INCLUDE_LIST_TEST - -#include - -typedef struct list_node -{ - PJ_DECL_LIST_MEMBER(struct list_node); - int value; -} list_node; - -static int compare_node(void *value, const pj_list_type *nd) -{ - list_node *node = (list_node*)nd; - return ((long)value == node->value) ? 0 : -1; -} - -#define PJ_SIGNED_ARRAY_SIZE(a) ((int)PJ_ARRAY_SIZE(a)) - -int list_test() -{ - list_node nodes[4]; // must be even number of nodes - list_node list; - list_node list2; - list_node *p; - int i; // don't change to unsigned! - - // - // Test insert_before(). - // - list.value = (unsigned)-1; - pj_list_init(&list); - for (i=0; inext) { - pj_assert(p->value == i); - if (p->value != i) { - return -1; - } - } - - // - // Test insert_after() - // - pj_list_init(&list); - for (i=PJ_SIGNED_ARRAY_SIZE(nodes)-1; i>=0; --i) { - pj_list_insert_after(&list, &nodes[i]); - } - // check. - for (i=0, p=list.next; inext) { - pj_assert(p->value == i); - if (p->value != i) { - return -1; - } - } - - // - // Test merge_last() - // - // Init lists - pj_list_init(&list); - pj_list_init(&list2); - for (i=0; inext) { - pj_assert(p->value == i); - if (p->value != i) { - return -1; - } - } - // check list is empty - pj_assert( pj_list_empty(&list2) ); - if (!pj_list_empty(&list2)) { - return -1; - } - - // - // Check merge_first() - // - pj_list_init(&list); - pj_list_init(&list2); - for (i=0; inext) { - pj_assert(p->value == i); - if (p->value != i) { - return -1; - } - } - // check list is empty - pj_assert( pj_list_empty(&list) ); - if (!pj_list_empty(&list)) { - return -1; - } - - // - // Test insert_nodes_before() - // - // init list - pj_list_init(&list); - for (i=0; inext) { - pj_assert(p->value == i); - if (p->value != i) { - return -1; - } - } - - // erase test. - pj_list_init(&list); - for (i=0; i=0; --i) { - int j; - pj_list_erase(&nodes[i]); - for (j=0, p=list.next; jnext) { - pj_assert(p->value == j); - if (p->value != j) { - return -1; - } - } - } - - // find and search - pj_list_init(&list); - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" - -#include -#include -#include -#include - -extern int param_echo_sock_type; -extern const char *param_echo_server; -extern int param_echo_port; - - -//#if defined(PJ_WIN32) && PJ_WIN32!=0 -#if 0 -#include -static void boost(void) -{ - SetPriorityClass(GetCurrentProcess(), REALTIME_PRIORITY_CLASS); -} -#else -#define boost() -#endif - -#if defined(PJ_SUNOS) && PJ_SUNOS!=0 -#include -static void init_signals() -{ - struct sigaction act; - - memset(&act, 0, sizeof(act)); - act.sa_handler = SIG_IGN; - - sigaction(SIGALRM, &act, NULL); -} - -#else -#define init_signals() -#endif - -int main(int argc, char *argv[]) -{ - int rc; - int interractive = 0; - - boost(); - init_signals(); - - while (argc > 1) { - char *arg = argv[--argc]; - - if (*arg=='-' && *(arg+1)=='i') { - interractive = 1; - - } else if (*arg=='-' && *(arg+1)=='p') { - pj_str_t port = pj_str(argv[--argc]); - - param_echo_port = pj_strtoul(&port); - - } else if (*arg=='-' && *(arg+1)=='s') { - param_echo_server = argv[--argc]; - - } else if (*arg=='-' && *(arg+1)=='t') { - pj_str_t type = pj_str(argv[--argc]); - - if (pj_stricmp2(&type, "tcp")==0) - param_echo_sock_type = pj_SOCK_STREAM(); - else if (pj_stricmp2(&type, "udp")==0) - param_echo_sock_type = pj_SOCK_DGRAM(); - else { - PJ_LOG(3,("", "error: unknown socket type %s", type.ptr)); - return 1; - } - } - } - - rc = test_main(); - - if (interractive) { - char s[10]; - puts(""); - puts("Press to exit"); - if (!fgets(s, sizeof(s), stdin)) - return rc; - } - - return rc; -} - diff --git a/res/pjproject/pjlib/src/pjlib-test/main_mod.c b/res/pjproject/pjlib/src/pjlib-test/main_mod.c deleted file mode 100644 index e82b1bc9cf..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/main_mod.c +++ /dev/null @@ -1,40 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include - -int init_module(void) -{ - printk(KERN_INFO "PJLIB test module loaded. Starting tests...\n"); - - test_main(); - - /* Prevent module from loading. We've finished test anyway.. */ - return 1; -} - -void cleanup_module(void) -{ - printk(KERN_INFO "PJLIB test module unloading...\n"); -} - -MODULE_LICENSE("GPL"); - diff --git a/res/pjproject/pjlib/src/pjlib-test/main_rtems.c b/res/pjproject/pjlib/src/pjlib-test/main_rtems.c deleted file mode 100644 index 934a22ab9f..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/main_rtems.c +++ /dev/null @@ -1,326 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * - Many thanks for Zetron, Inc. and Phil Torre for - * donating this file and the RTEMS port in general! - */ - -#include "test.h" - -#include -#include -#include -#include - -extern int param_echo_sock_type; -extern const char *param_echo_server; -extern int param_echo_port; - -#include - -#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM -#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 300 -#define CONFIGURE_MAXIMUM_TASKS 50 -#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES rtems_resource_unlimited(10) -#define CONFIGURE_MAXIMUM_SEMAPHORES rtems_resource_unlimited(10) -#define CONFIGURE_MAXIMUM_TIMERS 50 -#define CONFIGURE_MAXIMUM_REGIONS 3 -#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER -#define CONFIGURE_TICKS_PER_TIMESLICE 2 -//#define CONFIGURE_RTEMS_INIT_TASKS_TABLE -#define CONFIGURE_POSIX_INIT_THREAD_TABLE - - -#define CONFIGURE_MAXIMUM_POSIX_MUTEXES rtems_resource_unlimited(16) -#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES rtems_resource_unlimited(5) -#define CONFIGURE_MAXIMUM_POSIX_SEMAPHORES rtems_resource_unlimited(16) -#define CONFIGURE_MAXIMUM_POSIX_TIMERS rtems_resource_unlimited(5) -#define CONFIGURE_MAXIMUM_POSIX_THREADS rtems_resource_unlimited(16) -#define CONFIGURE_MAXIMUM_POSIX_KEYS rtems_resource_unlimited(16) - -#define CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE 4096 - -/* Make sure that stack size is at least 4096 */ -#define SZ (4096-RTEMS_MINIMUM_STACK_SIZE) -#define CONFIGURE_EXTRA_TASK_STACKS ((SZ)<0 ? 0 : (SZ)) - -#define CONFIGURE_INIT -#define STACK_CHECKER_ON - -rtems_task Init(rtems_task_argument Argument) ; -void *POSIX_Init(void *argument); - -#include -#include - -/* Any tests that want to build a linked executable for RTEMS must include - these headers to get a default config for the network stack. */ -#include -#include "rtems_network_config.h" - -#include -#include -#include -#include - -#define THIS_FILE "main_rtems.c" - -static void* pjlib_test_main(void* unused); -static void initialize_network(); -static void test_sock(void); - -static void my_perror(pj_status_t status, const char *title) -{ - char err[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, err, sizeof(err)); - printf("%s: %s [%d]\n", title, err, status); -} - -#define TEST(expr) { int rc;\ - /*PJ_LOG(3,(THIS_FILE,"%s", #expr));*/ \ - /*sleep(1);*/ \ - rc=expr; \ - if (rc) my_perror(PJ_STATUS_FROM_OS(rc),#expr); } - - - -//rtems_task Init(rtems_task_argument Argument) -void *POSIX_Init(void *argument) -{ - pthread_attr_t threadAttr; - pthread_t theThread; - struct sched_param sched_param; - size_t stack_size; - int result; - char data[1000]; - - - memset(data, 1, sizeof(data)); - - /* Set the TOD clock, so that gettimeofday() will work */ - rtems_time_of_day fakeTime = { 2006, 3, 15, 17, 30, 0, 0 }; - - if (RTEMS_SUCCESSFUL != rtems_clock_set(&fakeTime)) - { - assert(0); - } - - /* Bring up the network stack so we can run the socket tests. */ - initialize_network(); - - /* Start a POSIX thread for pjlib_test_main(), since that's what it - * thinks it is running in. - */ - - /* Initialize attribute */ - TEST( pthread_attr_init(&threadAttr) ); - - /* Looks like the rest of the attributes must be fully initialized too, - * or otherwise pthread_create will return EINVAL. - */ - - /* Specify explicit scheduling request */ - TEST( pthread_attr_setinheritsched(&threadAttr, PTHREAD_EXPLICIT_SCHED)); - - /* Timeslicing is needed by thread test, and this is accomplished by - * SCHED_RR. - */ - TEST( pthread_attr_setschedpolicy(&threadAttr, SCHED_RR)); - - /* Set priority */ - TEST( pthread_attr_getschedparam(&threadAttr, &sched_param)); - sched_param.sched_priority = NETWORK_STACK_PRIORITY - 10; - TEST( pthread_attr_setschedparam(&threadAttr, &sched_param)); - - /* Must have sufficient stack size (large size is needed by - * logger, because default settings for logger is to use message buffer - * from the stack). - */ - TEST( pthread_attr_getstacksize(&threadAttr, &stack_size)); - if (stack_size < 8192) - TEST( pthread_attr_setstacksize(&threadAttr, 8192)); - - - /* Create the thread for application */ - result = pthread_create(&theThread, &threadAttr, &pjlib_test_main, NULL); - if (result != 0) { - my_perror(PJ_STATUS_FROM_OS(result), - "Error creating pjlib_test_main thread"); - assert(!"Error creating main thread"); - } - - return NULL; -} - - - -#define boost() -#define init_signals() - -static void* -pjlib_test_main(void* unused) -{ - int rc; - - /* Drop our priority to below that of the network stack, otherwise - * select() tests will fail. */ - struct sched_param schedParam; - int schedPolicy; - - printf("pjlib_test_main thread started..\n"); - - TEST( pthread_getschedparam(pthread_self(), &schedPolicy, &schedParam) ); - - schedParam.sched_priority = NETWORK_STACK_PRIORITY - 10; - - TEST( pthread_setschedparam(pthread_self(), schedPolicy, &schedParam) ); - - boost(); - init_signals(); - - //my_test_thread("from pjlib_test_main"); - //test_sock(); - - rc = test_main(); - - return (void*)rc; -} - -# include -# include -# include -# include -# include - -/* - * Send UDP packet to some host. We can then use Ethereal to sniff the packet - * to see if this target really transmits UDP packet. - */ -static void -send_udp(const char *target) -{ - int sock, rc; - struct sockaddr_in addr; - - PJ_LOG(3,("main_rtems.c", "IP addr=%s/%s, gw=%s", - DEFAULT_IP_ADDRESS_STRING, - DEFAULT_NETMASK_STRING, - DEFAULT_GATEWAY_STRING)); - - sock = socket(AF_INET, SOCK_DGRAM, 0); - assert(sock > 0); - - memset(&addr, 0, sizeof(addr)); - addr.sin_family = AF_INET; - - rc = bind(sock, (struct sockaddr*)&addr, sizeof(addr)); - assert("bind error" && rc==0); - - addr.sin_addr.s_addr = inet_addr(target); - addr.sin_port = htons(4444); - - while(1) { - const char *data = "hello"; - - rc = sendto(sock, data, 5, 0, (struct sockaddr*)&addr, sizeof(addr)); - PJ_LOG(3,("main_rtems.c", "pinging %s..(rc=%d)", target, rc)); - sleep(1); - } -} - - -static void test_sock(void) -{ - int sock; - struct sockaddr_in addr; - int rc; - - sock = socket(AF_INET, SOCK_DGRAM, 0); - if (sock < 0) { - printf("socket() error\n"); - goto end; - } - - memset(&addr, 0, sizeof(addr)); - addr.sin_family = AF_INET; - addr.sin_addr.s_addr = inet_addr("127.0.0.1"); - addr.sin_port = htons(5000); - - rc = bind(sock, (struct sockaddr*)&addr, sizeof(addr)); - if (rc != 0) { - printf("bind() error %d\n", rc); - close(sock); - goto end; - } - - puts("Bind socket success"); - - close(sock); - -end: - while(1) sleep(1); -} - -/* - * Initialize the network stack and Ethernet driver, using the configuration - * in rtems-network-config.h - */ -static void -initialize_network() -{ - unsigned32 fd, result; - char ip_address_string[] = DEFAULT_IP_ADDRESS_STRING; - char netmask_string[] = DEFAULT_NETMASK_STRING; - char gateway_string[] = DEFAULT_GATEWAY_STRING; - - // Write the network config files to /etc/hosts and /etc/host.conf - result = mkdir("/etc", S_IRWXU | S_IRWXG | S_IRWXO); - fd = open("/etc/host.conf", O_RDWR | O_CREAT, 0744); - result = write(fd, "hosts,bind\n", 11); - result = close(fd); - fd = open("/etc/hosts", O_RDWR | O_CREAT, 0744); - result = write(fd, "127.0.0.1 localhost\n", 41); - result = write(fd, ip_address_string, strlen(ip_address_string)); - result = write(fd, " pjsip-test\n", 32); - result = close(fd); - - netdriver_config.ip_address = ip_address_string; - netdriver_config.ip_netmask = netmask_string; - rtems_bsdnet_config.gateway = gateway_string; - - if (0 != rtems_bsdnet_initialize_network()) - PJ_LOG(3,(THIS_FILE, "Error: Unable to initialize network stack!")); - else - PJ_LOG(3,(THIS_FILE, "IP addr=%s/%s, gw=%s", - ip_address_string, - netmask_string, - gateway_string)); - - //rtems_rdbg_initialize(); - //enterRdbg(); - //send_udp("192.168.0.1"); - //test_sock(); -} - - diff --git a/res/pjproject/pjlib/src/pjlib-test/main_symbian.cpp b/res/pjproject/pjlib/src/pjlib-test/main_symbian.cpp deleted file mode 100644 index a91b671f2c..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/main_symbian.cpp +++ /dev/null @@ -1,133 +0,0 @@ -//Auto-generated file. Please do not modify. -//#include - -//#pragma data_seg(".SYMBIAN") -//__EMULATOR_IMAGE_HEADER2 (0x1000007a,0x00000000,0x00000000,EPriorityForeground,0x00000000u,0x00000000u,0x00000000,0x00000000,0x00000000,0) -//#pragma data_seg() - -#include "test.h" -#include -#include -#include -#include -#include -#include - -#include - -#if 0 -int main() -{ - int err = 0; - int exp = 0; - - err = test_main(); - //err = test_main(); - - if (err) - return err; - return exp; - //return 0; -} - -#else -#include - -#include -#include -#include // Console - - - -// Global Variables - -LOCAL_D CConsoleBase* console; // write all messages to this - - -class MyScheduler : public CActiveScheduler -{ -public: - MyScheduler() - {} - - void Error(TInt aError) const; -}; - -void MyScheduler::Error(TInt aError) const -{ - PJ_UNUSED_ARG(aError); -} - -LOCAL_C void DoStartL() - { - // Create active scheduler (to run active objects) - CActiveScheduler* scheduler = new (ELeave) MyScheduler; - CleanupStack::PushL(scheduler); - CActiveScheduler::Install(scheduler); - - test_main(); - - CActiveScheduler::Install(NULL); - CleanupStack::Pop(scheduler); - delete scheduler; - } - -#define WRITE_TO_DEBUG_CONSOLE - -#ifdef WRITE_TO_DEBUG_CONSOLE -#include -#endif - -// Global Functions -static void log_writer(int level, const char *buf, int len) -{ - static wchar_t buf16[PJ_LOG_MAX_SIZE]; - - PJ_UNUSED_ARG(level); - - pj_ansi_to_unicode(buf, len, buf16, PJ_ARRAY_SIZE(buf16)); - buf16[len] = 0; - buf16[len+1] = 0; - - TPtrC16 aBuf((const TUint16*)buf16, (TInt)len); - console->Write(aBuf); - -#ifdef WRITE_TO_DEBUG_CONSOLE - RDebug::Print(aBuf); -#endif -} - - -GLDEF_C TInt E32Main() - { - // Create cleanup stack - __UHEAP_MARK; - CTrapCleanup* cleanup = CTrapCleanup::New(); - - // Create output console - TRAPD(createError, console = Console::NewL(_L("Console"), TSize(KConsFullScreen,KConsFullScreen))); - if (createError) - return createError; - - pj_log_set_log_func(&log_writer); - - // Run application code inside TRAP harness, wait keypress when terminated - TRAPD(mainError, DoStartL()); - if (mainError) - console->Printf(_L(" failed, leave code = %d"), mainError); - - console->Printf(_L(" [press any key]\n")); - console->Getch(); - - delete console; - delete cleanup; - - CloseSTDLIB(); - - __UHEAP_MARKEND; - - return KErrNone; - } - -#endif /* if 0 */ - diff --git a/res/pjproject/pjlib/src/pjlib-test/main_win32.c b/res/pjproject/pjlib/src/pjlib-test/main_win32.c deleted file mode 100644 index fa79968f48..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/main_win32.c +++ /dev/null @@ -1,211 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" - -#include -#include -#include -#include - -#define WIN32_LEAN_AND_MEAN -#define NONAMELESSUNION -#include -#include -#include - -#define MAX_LOADSTRING 100 -#define THIS_FILE "main_win32.c" - -#define IDC_HELLO_WINCE 3 -#define ID_LOGWINDOW 104 - - -ATOM MyRegisterClass (HINSTANCE, LPTSTR); -BOOL InitInstance (HINSTANCE, int); -LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM); - - -extern int param_log_decor; // in test.c - -static HINSTANCE hInst; -static HWND hwndLog; -static HFONT hFixedFont; - - -static void write_log(int level, const char *data, int len) -{ - PJ_DECL_UNICODE_TEMP_BUF(wdata,256); - - PJ_UNUSED_ARG(level); - PJ_UNUSED_ARG(len); - SendMessage(hwndLog, EM_REPLACESEL, FALSE, - (LPARAM)PJ_STRING_TO_NATIVE(data,wdata,256)); -} - - -int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, - LPTSTR lpCmdLine, int nCmdShow) -{ - MSG msg; - - PJ_UNUSED_ARG(lpCmdLine); - PJ_UNUSED_ARG(hPrevInstance); - - - if (!InitInstance (hInstance, nCmdShow)) - return FALSE; - - pj_log_set_log_func( &write_log ); - param_log_decor = PJ_LOG_HAS_NEWLINE | PJ_LOG_HAS_CR; - - // Run the test! - test_main(); - - PJ_LOG(3,(THIS_FILE,"")); - PJ_LOG(3,(THIS_FILE,"Press ESC to quit")); - - // Message loop, waiting to quit. - while (GetMessage(&msg, NULL, 0, 0)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - - DeleteObject(hFixedFont); - return msg.wParam; -} - - -#ifdef _CONSOLE -int main() -{ - return WinMain(GetModuleHandle(NULL), NULL, NULL, SW_SHOW); -} -#endif - - -ATOM MyRegisterClass(HINSTANCE hInstance, LPTSTR szWindowClass) -{ - WNDCLASS wc; - - wc.style = CS_HREDRAW | CS_VREDRAW; - wc.lpfnWndProc = (WNDPROC) WndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - ///wc.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_HELLO_WINCE)); - wc.hIcon = NULL; - wc.hCursor = 0; - wc.hbrBackground = (HBRUSH) GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = 0; - wc.lpszClassName = szWindowClass; - - return RegisterClass(&wc); -} - - -BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) -{ - HWND hWnd; - TCHAR *szTitle = _T("PJSIP Test"); - TCHAR *szWindowClass = _T("PJSIP_TEST"); - LOGFONT lf; - - - memset(&lf, 0, sizeof(lf)); - lf.lfHeight = 13; -#if PJ_NATIVE_STRING_IS_UNICODE - wcscpy(lf.lfFaceName, _T("Courier New")); -#else - strcpy(lf.lfFaceName, "Lucida Console"); -#endif - - hFixedFont = CreateFontIndirect(&lf); - if (!hFixedFont) - return FALSE; - - hInst = hInstance; - - MyRegisterClass(hInstance, szWindowClass); - - hWnd = CreateWindow(szWindowClass, szTitle, WS_VISIBLE, - CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, - CW_USEDEFAULT, NULL, NULL, hInstance, NULL); - - if (!hWnd) - return FALSE; - - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - - if (hwndLog) { - SendMessage(hwndLog, WM_SETFONT, (WPARAM) hFixedFont, (LPARAM) 0); - ShowWindow(hwndLog, TRUE); - } - - return TRUE; -} - - -LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) -{ - RECT rt; - DWORD dwStyle; - - switch (message) - { - case WM_CREATE: - // Create text control. - GetClientRect(hWnd, &rt); - dwStyle = WS_CHILD | WS_VISIBLE | WS_HSCROLL | WS_VSCROLL | - WS_BORDER | ES_LEFT | ES_MULTILINE | ES_NOHIDESEL | - ES_AUTOHSCROLL | ES_AUTOVSCROLL | ES_READONLY; - hwndLog = CreateWindow( TEXT("edit"), // class - NULL, // window text - dwStyle, // style - 0, // x-left - 0, // y-top - rt.right-rt.left, // w - rt.bottom-rt.top, // h - hWnd, // parent - (HMENU)ID_LOGWINDOW,// id - hInst, // instance - NULL); // NULL for control. - break; - case WM_ACTIVATE: - if (LOWORD(wParam) == WA_INACTIVE) - DestroyWindow(hWnd); - break; - case WM_CHAR: - if (wParam == 27) { - DestroyWindow(hWnd); - } - break; - case WM_CLOSE: - DestroyWindow(hWnd); - break; - case WM_DESTROY: - PostQuitMessage(0); - break; - default: - return DefWindowProc(hWnd, message, wParam, lParam); - } - return 0; -} - diff --git a/res/pjproject/pjlib/src/pjlib-test/mutex.c b/res/pjproject/pjlib/src/pjlib-test/mutex.c deleted file mode 100644 index e9905f3dad..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/mutex.c +++ /dev/null @@ -1,234 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include - -#if INCLUDE_MUTEX_TEST - -#undef TRACE_ -//#define TRACE_(x) PJ_LOG(3,x) -#define TRACE_(x) - -/* Test witn non-recursive mutex. */ -static int simple_mutex_test(pj_pool_t *pool) -{ - pj_status_t rc; - pj_mutex_t *mutex; - - PJ_LOG(3,("", "...testing simple mutex")); - - /* Create mutex. */ - TRACE_(("", "....create mutex")); - rc = pj_mutex_create( pool, "", PJ_MUTEX_SIMPLE, &mutex); - if (rc != PJ_SUCCESS) { - app_perror("...error: pj_mutex_create", rc); - return -10; - } - - /* Normal lock/unlock cycle. */ - TRACE_(("", "....lock mutex")); - rc = pj_mutex_lock(mutex); - if (rc != PJ_SUCCESS) { - app_perror("...error: pj_mutex_lock", rc); - return -20; - } - TRACE_(("", "....unlock mutex")); - rc = pj_mutex_unlock(mutex); - if (rc != PJ_SUCCESS) { - app_perror("...error: pj_mutex_unlock", rc); - return -30; - } - - /* Lock again. */ - TRACE_(("", "....lock mutex")); - rc = pj_mutex_lock(mutex); - if (rc != PJ_SUCCESS) return -40; - - /* Try-lock should fail. It should not deadlocked. */ - TRACE_(("", "....trylock mutex")); - rc = pj_mutex_trylock(mutex); - if (rc == PJ_SUCCESS) - PJ_LOG(3,("", "...info: looks like simple mutex is recursive")); - - /* Unlock and done. */ - TRACE_(("", "....unlock mutex")); - rc = pj_mutex_unlock(mutex); - if (rc != PJ_SUCCESS) return -50; - - TRACE_(("", "....destroy mutex")); - rc = pj_mutex_destroy(mutex); - if (rc != PJ_SUCCESS) return -60; - - TRACE_(("", "....done")); - return PJ_SUCCESS; -} - - -/* Test with recursive mutex. */ -static int recursive_mutex_test(pj_pool_t *pool) -{ - pj_status_t rc; - pj_mutex_t *mutex; - - PJ_LOG(3,("", "...testing recursive mutex")); - - /* Create mutex. */ - TRACE_(("", "....create mutex")); - rc = pj_mutex_create( pool, "", PJ_MUTEX_RECURSE, &mutex); - if (rc != PJ_SUCCESS) { - app_perror("...error: pj_mutex_create", rc); - return -10; - } - - /* Normal lock/unlock cycle. */ - TRACE_(("", "....lock mutex")); - rc = pj_mutex_lock(mutex); - if (rc != PJ_SUCCESS) { - app_perror("...error: pj_mutex_lock", rc); - return -20; - } - TRACE_(("", "....unlock mutex")); - rc = pj_mutex_unlock(mutex); - if (rc != PJ_SUCCESS) { - app_perror("...error: pj_mutex_unlock", rc); - return -30; - } - - /* Lock again. */ - TRACE_(("", "....lock mutex")); - rc = pj_mutex_lock(mutex); - if (rc != PJ_SUCCESS) return -40; - - /* Try-lock should NOT fail. . */ - TRACE_(("", "....trylock mutex")); - rc = pj_mutex_trylock(mutex); - if (rc != PJ_SUCCESS) { - app_perror("...error: recursive mutex is not recursive!", rc); - return -40; - } - - /* Locking again should not fail. */ - TRACE_(("", "....lock mutex")); - rc = pj_mutex_lock(mutex); - if (rc != PJ_SUCCESS) { - app_perror("...error: recursive mutex is not recursive!", rc); - return -45; - } - - /* Unlock several times and done. */ - TRACE_(("", "....unlock mutex 3x")); - rc = pj_mutex_unlock(mutex); - if (rc != PJ_SUCCESS) return -50; - rc = pj_mutex_unlock(mutex); - if (rc != PJ_SUCCESS) return -51; - rc = pj_mutex_unlock(mutex); - if (rc != PJ_SUCCESS) return -52; - - TRACE_(("", "....destroy mutex")); - rc = pj_mutex_destroy(mutex); - if (rc != PJ_SUCCESS) return -60; - - TRACE_(("", "....done")); - return PJ_SUCCESS; -} - -#if PJ_HAS_SEMAPHORE -static int semaphore_test(pj_pool_t *pool) -{ - pj_sem_t *sem; - pj_status_t status; - - PJ_LOG(3,("", "...testing semaphore")); - - status = pj_sem_create(pool, NULL, 0, 1, &sem); - if (status != PJ_SUCCESS) { - app_perror("...error: pj_sem_create()", status); - return -151; - } - - status = pj_sem_post(sem); - if (status != PJ_SUCCESS) { - app_perror("...error: pj_sem_post()", status); - pj_sem_destroy(sem); - return -153; - } - - status = pj_sem_trywait(sem); - if (status != PJ_SUCCESS) { - app_perror("...error: pj_sem_trywait()", status); - pj_sem_destroy(sem); - return -156; - } - - status = pj_sem_post(sem); - if (status != PJ_SUCCESS) { - app_perror("...error: pj_sem_post()", status); - pj_sem_destroy(sem); - return -159; - } - - status = pj_sem_wait(sem); - if (status != PJ_SUCCESS) { - app_perror("...error: pj_sem_wait()", status); - pj_sem_destroy(sem); - return -161; - } - - status = pj_sem_destroy(sem); - if (status != PJ_SUCCESS) { - app_perror("...error: pj_sem_destroy()", status); - return -163; - } - - return 0; -} -#endif /* PJ_HAS_SEMAPHORE */ - - -int mutex_test(void) -{ - pj_pool_t *pool; - int rc; - - pool = pj_pool_create(mem, "", 4000, 4000, NULL); - - rc = simple_mutex_test(pool); - if (rc != 0) - return rc; - - rc = recursive_mutex_test(pool); - if (rc != 0) - return rc; - -#if PJ_HAS_SEMAPHORE - rc = semaphore_test(pool); - if (rc != 0) - return rc; -#endif - - pj_pool_release(pool); - - return 0; -} - -#else -int dummy_mutex_test; -#endif - diff --git a/res/pjproject/pjlib/src/pjlib-test/os.c b/res/pjproject/pjlib/src/pjlib-test/os.c deleted file mode 100644 index d5b1879c06..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/os.c +++ /dev/null @@ -1,116 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include - -#if INCLUDE_OS_TEST -static int endianness_test32(void) -{ - union t - { - pj_uint32_t u32; - pj_uint16_t u16[2]; - pj_uint8_t u8[4]; - } t; - - PJ_LOG(3,("", " Testing endianness..")); - - t.u32 = 0x11223344; - -#if defined(PJ_IS_LITTLE_ENDIAN) && PJ_IS_LITTLE_ENDIAN - PJ_LOG(3,("", " Library is set to little endian")); - -# if defined(PJ_IS_BIG_ENDIAN) && PJ_IS_BIG_ENDIAN -# error Error: Both PJ_IS_LITTLE_ENDIAN and PJ_IS_BIG_ENDIAN are set! -# endif - - if ((t.u16[0] & 0xFFFF) != 0x3344 || - (t.u16[1] & 0xFFFF) != 0x1122) - { - PJ_LOG(3,("", " Error: wrong 16bit values 0x%x and 0x%x", - (t.u16[0] & 0xFFFF), (t.u16[1] & 0xFFFF))); - return 10; - } - - if ((t.u8[0] & 0xFF) != 0x44 || - (t.u8[1] & 0xFF) != 0x33 || - (t.u8[2] & 0xFF) != 0x22 || - (t.u8[3] & 0xFF) != 0x11) - { - PJ_LOG(3,("", " Error: wrong 8bit values")); - return 12; - } - -#elif defined(PJ_IS_BIG_ENDIAN) && PJ_IS_BIG_ENDIAN - PJ_LOG(3,("", " Library is set to big endian")); - - if ((t.u16[0] & 0xFFFF) != 0x1122 || - (t.u16[1] & 0xFFFF) != 0x3344) - { - PJ_LOG(3,("", " Error: wrong 16bit values 0x%x and 0x%x", - (t.u16[0] & 0xFFFF), (t.u16[1] & 0xFFFF))); - return 20; - } - - if ((t.u8[0] & 0xFF) != 0x11 || - (t.u8[1] & 0xFF) != 0x22 || - (t.u8[2] & 0xFF) != 0x33 || - (t.u8[3] & 0xFF) != 0x44) - { - PJ_LOG(3,("", " Error: wrong 8bit values")); - return 22; - } - -# if defined(PJ_IS_LITTLE_ENDIAN) && PJ_IS_LITTLE_ENDIAN -# error Error: Both PJ_IS_LITTLE_ENDIAN and PJ_IS_BIG_ENDIAN are set! -# endif - - -#else -# error Error: Endianness is not set properly! -#endif - - return 0; -} - -int os_test(void) -{ - const pj_sys_info *si; - int rc = 0; - - PJ_LOG(3,("", " Sys info:")); - si = pj_get_sys_info(); - PJ_LOG(3,("", " machine: %s", si->machine.ptr)); - PJ_LOG(3,("", " os_name: %s", si->os_name.ptr)); - PJ_LOG(3,("", " os_ver: 0x%x", si->os_ver)); - PJ_LOG(3,("", " sdk_name: %s", si->sdk_name.ptr)); - PJ_LOG(3,("", " sdk_ver: 0x%x", si->sdk_ver)); - PJ_LOG(3,("", " info: %s", si->info.ptr)); - - rc = endianness_test32(); - - return rc; -} - -#else -int dummy_os_var; -#endif - diff --git a/res/pjproject/pjlib/src/pjlib-test/pjlib_test_reg.rss b/res/pjproject/pjlib/src/pjlib-test/pjlib_test_reg.rss deleted file mode 100644 index 65326bf770..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/pjlib_test_reg.rss +++ /dev/null @@ -1,12 +0,0 @@ -// Symbian application registration info for pjlib-test - -#include - -UID2 KUidAppRegistrationResourceFile -UID3 0xA0000002 - -RESOURCE APP_REGISTRATION_INFO -{ - app_file="pjlib_test"; -} - diff --git a/res/pjproject/pjlib/src/pjlib-test/pool.c b/res/pjproject/pjlib/src/pjlib-test/pool.c deleted file mode 100644 index d7af16e4bd..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/pool.c +++ /dev/null @@ -1,321 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include "test.h" - -/** - * \page page_pjlib_pool_test Test: Pool - * - * This file provides implementation of \b pool_test(). It tests the - * functionality of the memory pool. - * - * - * This file is pjlib-test/pool.c - * - * \include pjlib-test/pool.c - */ - - -#if INCLUDE_POOL_TEST - -#define SIZE 4096 - -/* Normally we should throw exception when memory alloc fails. - * Here we do nothing so that the flow will go back to original caller, - * which will test the result using NULL comparison. Normally caller will - * catch the exception instead of checking for NULLs. - */ -static void null_callback(pj_pool_t *pool, pj_size_t size) -{ - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(size); -} - -#define GET_FREE(p) (pj_pool_get_capacity(p)-pj_pool_get_used_size(p)) - -/* Test that the capacity and used size reported by the pool is correct. - */ -static int capacity_test(void) -{ - pj_pool_t *pool = pj_pool_create(mem, NULL, SIZE, 0, &null_callback); - pj_size_t freesize; - - PJ_LOG(3,("test", "...capacity_test()")); - - if (!pool) - return -200; - - freesize = GET_FREE(pool); - - if (pj_pool_alloc(pool, freesize) == NULL) { - PJ_LOG(3,("test", "...error: wrong freesize %u reported", - freesize)); - pj_pool_release(pool); - return -210; - } - - pj_pool_release(pool); - return 0; -} - -/* Test that the alignment works. */ -static int pool_alignment_test(void) -{ - pj_pool_t *pool; - void *ptr; - enum { MEMSIZE = 64, LOOP = 100 }; - unsigned i; - - PJ_LOG(3,("test", "...alignment test")); - - pool = pj_pool_create(mem, NULL, PJ_POOL_SIZE+MEMSIZE, MEMSIZE, NULL); - if (!pool) - return -300; - -#define IS_ALIGNED(p) ((((unsigned long)p) & (PJ_POOL_ALIGNMENT-1)) == 0) - - for (i=0; i 0) { - int size; - - if (freesize > 255) - size = ((pj_rand() & 0x000000FF) + PJ_POOL_ALIGNMENT) & - ~(PJ_POOL_ALIGNMENT - 1); - else - size = freesize; - - p = pj_pool_alloc(pool, size); - if (!p) { - status=-20; goto on_error; - } - - freesize -= size; - } - - /* Check that capacity is zero. */ - if (GET_FREE(pool) != 0) { - PJ_LOG(3,("test", "....error: returned free=%u (expecting 0)", - GET_FREE(pool))); - status=-30; goto on_error; - } - - /* Try to allocate once more */ - p = pj_pool_alloc(pool, 257); - if (!p) { - status=-40; goto on_error; - } - - /* Check that capacity is NOT zero. */ - if (GET_FREE(pool) == 0) { - status=-50; goto on_error; - } - - -on_error: - pj_pool_release(pool); - return status; -} - -/* Test the buffer based pool */ -static int pool_buf_test(void) -{ - enum { STATIC_BUF_SIZE = 40 }; - /* 16 is the internal struct in pool_buf */ - static char buf[ STATIC_BUF_SIZE + sizeof(pj_pool_t) + - sizeof(pj_pool_block) + 2 * PJ_POOL_ALIGNMENT]; - pj_pool_t *pool; - void *p; - PJ_USE_EXCEPTION; - - PJ_LOG(3,("test", "...pool_buf test")); - - pool = pj_pool_create_on_buf("no name", buf, sizeof(buf)); - if (!pool) - return -70; - - /* Drain the pool */ - PJ_TRY { - if ((p=pj_pool_alloc(pool, STATIC_BUF_SIZE/2)) == NULL) - return -75; - - if ((p=pj_pool_alloc(pool, STATIC_BUF_SIZE/2)) == NULL) - return -76; - } - PJ_CATCH_ANY { - return -77; - } - PJ_END; - - /* On the next alloc, exception should be thrown */ - PJ_TRY { - p = pj_pool_alloc(pool, STATIC_BUF_SIZE); - if (p != NULL) { - /* This is unexpected, the alloc should fail */ - return -78; - } - } - PJ_CATCH_ANY { - /* This is the expected result */ - } - PJ_END; - - /* Done */ - return 0; -} - - -int pool_test(void) -{ - enum { LOOP = 2 }; - int loop; - int rc; - - rc = capacity_test(); - if (rc) return rc; - - rc = pool_alignment_test(); - if (rc) return rc; - - rc = pool_buf_alignment_test(); - if (rc) return rc; - - for (loop=0; loop - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" - -#if INCLUDE_POOL_PERF_TEST - -#include -#include - -#if !PJ_HAS_HIGH_RES_TIMER -# error Need high resolution timer for this test. -#endif - -#define THIS_FILE "test" - -#define LOOP 10 -#define COUNT 1024 -static unsigned sizes[COUNT]; -static char *p[COUNT]; -#define MIN_SIZE 4 -#define MAX_SIZE 512 -static unsigned total_size; - - -static int pool_test_pool() -{ - int i; - pj_pool_t *pool = pj_pool_create(mem, NULL, total_size + 4*COUNT, 0, NULL); - if (!pool) - return -1; - - for (i=0; i= 0) { - delete [] p[i]; - --i; - } - return -1; - } - *p[i] = '\0'; - } - - for (i=0; i= 0) - free(p[i]), --i; - return -1; - } - *p[i] = '\0'; - } - - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include "test.h" - -#if INCLUDE_RAND_TEST - -#define COUNT 1024 -static int values[COUNT]; - -/* - * rand_test(), simply generates COUNT number of random number and - * check that there's no duplicate numbers. - */ -int rand_test(void) -{ - int i; - - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" - -#if INCLUDE_RBTREE_TEST - -#include - -#define LOOP 32 -#define MIN_COUNT 64 -#define MAX_COUNT (LOOP * MIN_COUNT) -#define STRSIZE 16 -#define THIS_FILE "rbtree_test" - -typedef struct node_key -{ - pj_uint32_t hash; - char str[STRSIZE]; -} node_key; - -static int compare_node(const node_key *k1, const node_key *k2) -{ - if (k1->hash == k2->hash) { - return strcmp(k1->str, k2->str); - } else { - return k1->hash < k2->hash ? -1 : 1; - } -} - -void randomize_string(char *str, int len) -{ - int i; - for (i=0; ikey,(node_key*)it->key)>=0) { - ++err; - PJ_LOG(3, (THIS_FILE, "Error: %s >= %s", - (char*)prev->user_data, (char*)it->user_data)); - } - } - prev = it; - it = pj_rbtree_next(&rb, it); - } - - // Search. - for (j=0; j MAX_COUNT) - break; - } - - pj_pool_release(pool); - return err; -} - - -int rbtree_test() -{ - return test(); -} - -#endif /* INCLUDE_RBTREE_TEST */ - - diff --git a/res/pjproject/pjlib/src/pjlib-test/rtems_network_config.h b/res/pjproject/pjlib/src/pjlib-test/rtems_network_config.h deleted file mode 100644 index 48f354d905..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/rtems_network_config.h +++ /dev/null @@ -1,149 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * Thanks Zetron, Inc and Phil Torre for donating PJLIB - * port to RTEMS. - */ - -/* - * Network configuration - * - ************************************************************ - * EDIT THIS FILE TO REFLECT YOUR NETWORK CONFIGURATION * - * BEFORE RUNNING ANY RTEMS PROGRAMS WHICH USE THE NETWORK! * - ************************************************************ - * - */ - -#ifndef _RTEMS_NETWORKCONFIG_H_ -#define _RTEMS_NETWORKCONFIG_H_ - - -#define DEFAULT_IP_ADDRESS_STRING "192.168.0.2" -#define DEFAULT_NETMASK_STRING "255.255.255.0" -#define DEFAULT_GATEWAY_STRING "192.168.0.1" - - - - -#ifndef RTEMS_BSP_NETWORK_DRIVER_NAME -#warning "RTEMS_BSP_NETWORK_DRIVER_NAME is not defined" -#define RTEMS_BSP_NETWORK_DRIVER_NAME "no_network1" -#endif - -#ifndef RTEMS_BSP_NETWORK_DRIVER_ATTACH -#warning "RTEMS_BSP_NETWORK_DRIVER_ATTACH is not defined" -#define RTEMS_BSP_NETWORK_DRIVER_ATTACH 0 -#endif - -#define NETWORK_STACK_PRIORITY 128 -/* #define RTEMS_USE_BOOTP */ - -/* #define RTEMS_USE_LOOPBACK */ - -#include - -/* - * Define RTEMS_SET_ETHERNET_ADDRESS if you want to specify the - * Ethernet address here. If RTEMS_SET_ETHERNET_ADDRESS is not - * defined the driver will choose an address. - */ -// NOTE: The address below is a dummy address that should only ever -// be used for testing on a private network. DO NOT LET A PRODUCT -// CONTAINING THIS ETHERNET ADDRESS OUT INTO THE FIELD! -//#define RTEMS_SET_ETHERNET_ADDRESS -#if (defined (RTEMS_SET_ETHERNET_ADDRESS)) -static char ethernet_address[6] = { 0x00, 0x80, 0x7F, 0x22, 0x61, 0x77 }; -#endif - -#define RTEMS_USE_LOOPBACK -#ifdef RTEMS_USE_LOOPBACK -/* - * Loopback interface - */ -extern int rtems_bsdnet_loopattach(struct rtems_bsdnet_ifconfig* dummy, int unused); -static struct rtems_bsdnet_ifconfig loopback_config = { - "lo0", /* name */ - rtems_bsdnet_loopattach, /* attach function */ - NULL, /* link to next interface */ - "127.0.0.1", /* IP address */ - "255.0.0.0", /* IP net mask */ -}; -#endif - -/* - * Default network interface - */ -static struct rtems_bsdnet_ifconfig netdriver_config = { - RTEMS_BSP_NETWORK_DRIVER_NAME, /* name */ - RTEMS_BSP_NETWORK_DRIVER_ATTACH, /* attach function */ - -#ifdef RTEMS_USE_LOOPBACK - &loopback_config, /* link to next interface */ -#else - NULL, /* No more interfaces */ -#endif - -#if (defined (RTEMS_USE_BOOTP)) - NULL, /* BOOTP supplies IP address */ - NULL, /* BOOTP supplies IP net mask */ -#else - "192.168.0.33", /* IP address */ - "255.255.255.0", /* IP net mask */ -#endif /* !RTEMS_USE_BOOTP */ - -#if (defined (RTEMS_SET_ETHERNET_ADDRESS)) - ethernet_address, /* Ethernet hardware address */ -#else - NULL, /* Driver supplies hardware address */ -#endif - 0 /* Use default driver parameters */ -}; - -/* - * Network configuration - */ -struct rtems_bsdnet_config rtems_bsdnet_config = { - &netdriver_config, - -#if (defined (RTEMS_USE_BOOTP)) - rtems_bsdnet_do_bootp, -#else - NULL, -#endif - - NETWORK_STACK_PRIORITY, /* Default network task priority */ - 1048576, /* Default mbuf capacity */ - 1048576, /* Default mbuf cluster capacity */ - -#if (!defined (RTEMS_USE_BOOTP)) - "testnode", /* Host name */ - "example.org", /* Domain name */ - "192.168.6.9", /* Gateway */ - "192.168.7.41", /* Log host */ - {"198.137.231.1" }, /* Name server(s) */ - {"207.202.190.162" }, /* NTP server(s) */ -#endif /* !RTEMS_USE_BOOTP */ - -}; - -#endif /* _RTEMS_NETWORKCONFIG_H_ */ - diff --git a/res/pjproject/pjlib/src/pjlib-test/select.c b/res/pjproject/pjlib/src/pjlib-test/select.c deleted file mode 100644 index 94d6132941..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/select.c +++ /dev/null @@ -1,221 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" - -/** - * \page page_pjlib_select_test Test: Socket Select() - * - * This file provides implementation of \b select_test(). It tests the - * functionality of the pj_sock_select() API. - * - * - * This file is pjlib-test/select.c - * - * \include pjlib-test/select.c - */ - - -#if INCLUDE_SELECT_TEST - -#include -#include -#include -#include -#include -#include -#include - -enum -{ - READ_FDS, - WRITE_FDS, - EXCEPT_FDS -}; - -#define UDP_PORT 51232 -#define THIS_FILE "select_test" - -/* - * do_select() - * - * Perform pj_sock_select() and find out which sockets - * are signalled. - */ -static int do_select( pj_sock_t sock1, pj_sock_t sock2, - int setcount[]) -{ - pj_fd_set_t fds[3]; - pj_time_val timeout; - int i, n; - - for (i=0; i<3; ++i) { - PJ_FD_ZERO(&fds[i]); - PJ_FD_SET(sock1, &fds[i]); - PJ_FD_SET(sock2, &fds[i]); - setcount[i] = 0; - } - - timeout.sec = 1; - timeout.msec = 0; - - n = pj_sock_select(PJ_IOQUEUE_MAX_HANDLES, &fds[0], &fds[1], &fds[2], - &timeout); - if (n < 0) - return n; - if (n == 0) - return 0; - - for (i=0; i<3; ++i) { - if (PJ_FD_ISSET(sock1, &fds[i])) - setcount[i]++; - if (PJ_FD_ISSET(sock2, &fds[i])) - setcount[i]++; - } - - return n; -} - -/* - * select_test() - * - * Test main entry. - */ -int select_test() -{ - pj_sock_t udp1=PJ_INVALID_SOCKET, udp2=PJ_INVALID_SOCKET; - pj_sockaddr_in udp_addr; - int status; - int setcount[3]; - pj_str_t s; - const char data[] = "hello"; - const int datalen = 5; - pj_ssize_t sent, received; - char buf[10]; - pj_status_t rc; - - PJ_LOG(3, (THIS_FILE, "...Testing simple UDP select()")); - - // Create two UDP sockets. - rc = pj_sock_socket( pj_AF_INET(), pj_SOCK_DGRAM(), 0, &udp1); - if (rc != PJ_SUCCESS) { - app_perror("...error: unable to create socket", rc); - status=-10; goto on_return; - } - rc = pj_sock_socket( pj_AF_INET(), pj_SOCK_DGRAM(), 0, &udp2); - if (udp2 == PJ_INVALID_SOCKET) { - app_perror("...error: unable to create socket", rc); - status=-20; goto on_return; - } - - // Bind one of the UDP socket. - pj_bzero(&udp_addr, sizeof(udp_addr)); - udp_addr.sin_family = pj_AF_INET(); - udp_addr.sin_port = UDP_PORT; - udp_addr.sin_addr = pj_inet_addr(pj_cstr(&s, "127.0.0.1")); - - if (pj_sock_bind(udp2, &udp_addr, sizeof(udp_addr))) { - status=-30; goto on_return; - } - - // Send data. - sent = datalen; - rc = pj_sock_sendto(udp1, data, &sent, 0, &udp_addr, sizeof(udp_addr)); - if (rc != PJ_SUCCESS || sent != datalen) { - app_perror("...error: sendto() error", rc); - status=-40; goto on_return; - } - - // Sleep a bit. See http://trac.pjsip.org/repos/ticket/890 - pj_thread_sleep(10); - - // Check that socket is marked as reable. - // Note that select() may also report that sockets are writable. - status = do_select(udp1, udp2, setcount); - if (status < 0) { - char errbuf[128]; - pj_strerror(pj_get_netos_error(), errbuf, sizeof(errbuf)); - PJ_LOG(1,(THIS_FILE, "...error: %s", errbuf)); - status=-50; goto on_return; - } - if (status == 0) { - status=-60; goto on_return; - } - - if (setcount[READ_FDS] != 1) { - status=-70; goto on_return; - } - if (setcount[WRITE_FDS] != 0) { - if (setcount[WRITE_FDS] == 2) { - PJ_LOG(3,(THIS_FILE, "...info: system reports writable sockets")); - } else { - status=-80; goto on_return; - } - } else { - PJ_LOG(3,(THIS_FILE, - "...info: system doesn't report writable sockets")); - } - if (setcount[EXCEPT_FDS] != 0) { - status=-90; goto on_return; - } - - // Read the socket to clear readable sockets. - received = sizeof(buf); - rc = pj_sock_recv(udp2, buf, &received, 0); - if (rc != PJ_SUCCESS || received != 5) { - status=-100; goto on_return; - } - - status = 0; - - // Test timeout on the read part. - // This won't necessarily return zero, as select() may report that - // sockets are writable. - setcount[0] = setcount[1] = setcount[2] = 0; - status = do_select(udp1, udp2, setcount); - if (status != 0 && status != setcount[WRITE_FDS]) { - PJ_LOG(3,(THIS_FILE, "...error: expecting timeout but got %d sks set", - status)); - PJ_LOG(3,(THIS_FILE, " rdset: %d, wrset: %d, exset: %d", - setcount[0], setcount[1], setcount[2])); - status = -110; goto on_return; - } - if (setcount[READ_FDS] != 0) { - PJ_LOG(3,(THIS_FILE, "...error: readable socket not expected")); - status = -120; goto on_return; - } - - status = 0; - -on_return: - if (udp1 != PJ_INVALID_SOCKET) - pj_sock_close(udp1); - if (udp2 != PJ_INVALID_SOCKET) - pj_sock_close(udp2); - return status; -} - -#else -/* To prevent warning about "translation unit is empty" - * when this test is disabled. - */ -int dummy_select_test; -#endif /* INCLUDE_SELECT_TEST */ - - diff --git a/res/pjproject/pjlib/src/pjlib-test/sleep.c b/res/pjproject/pjlib/src/pjlib-test/sleep.c deleted file mode 100644 index 72dfba7bbd..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/sleep.c +++ /dev/null @@ -1,224 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" - -/** - * \page page_pjlib_sleep_test Test: Sleep, Time, and Timestamp - * - * This file provides implementation of \b sleep_test(). - * - * \section sleep_test_sec Scope of the Test - * - * This tests: - * - whether pj_thread_sleep() works. - * - whether pj_gettimeofday() works. - * - whether pj_get_timestamp() and friends works. - * - * API tested: - * - pj_thread_sleep() - * - pj_gettimeofday() - * - PJ_TIME_VAL_SUB() - * - PJ_TIME_VAL_LTE() - * - pj_get_timestamp() - * - pj_get_timestamp_freq() (implicitly) - * - pj_elapsed_time() - * - pj_elapsed_usec() - * - * - * This file is pjlib-test/sleep.c - * - * \include pjlib-test/sleep.c - */ - -#if INCLUDE_SLEEP_TEST - -#include - -#define THIS_FILE "sleep_test" - -static int simple_sleep_test(void) -{ - enum { COUNT = 10 }; - int i; - pj_status_t rc; - - PJ_LOG(3,(THIS_FILE, "..will write messages every 1 second:")); - - for (i=0; i duration[i] * (100+MIS)/100) - { - PJ_LOG(3,(THIS_FILE, - "...error: slept for %d ms instead of %d ms " - "(outside %d%% err window)", - msec, duration[i], MIS)); - return -30; - } - } - - - /* Test pj_thread_sleep() and pj_get_timestamp() and friends */ - for (i=0; i duration[i] * (100+MIS)/100) - { - PJ_LOG(3,(THIS_FILE, - "...error: slept for %d ms instead of %d ms " - "(outside %d%% err window)", - msec, duration[i], MIS)); - PJ_TIME_VAL_SUB(t2, t1); - PJ_LOG(3,(THIS_FILE, - "...info: gettimeofday() reported duration is " - "%d msec", - PJ_TIME_VAL_MSEC(t2))); - - return -76; - } - } - - /* All done. */ - return 0; -} - -int sleep_test() -{ - int rc; - - rc = simple_sleep_test(); - if (rc != PJ_SUCCESS) - return rc; - - rc = sleep_duration_test(); - if (rc != PJ_SUCCESS) - return rc; - - return 0; -} - -#else -/* To prevent warning about "translation unit is empty" - * when this test is disabled. - */ -int dummy_sleep_test; -#endif /* INCLUDE_SLEEP_TEST */ diff --git a/res/pjproject/pjlib/src/pjlib-test/sock.c b/res/pjproject/pjlib/src/pjlib-test/sock.c deleted file mode 100644 index 35669dc0cf..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/sock.c +++ /dev/null @@ -1,877 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include "test.h" - - -/** - * \page page_pjlib_sock_test Test: Socket - * - * This file provides implementation of \b sock_test(). It tests the - * various aspects of the socket API. - * - * \section sock_test_scope_sec Scope of the Test - * - * The scope of the test: - * - verify the validity of the address structs. - * - verify that address manipulation API works. - * - simple socket creation and destruction. - * - simple socket send/recv and sendto/recvfrom. - * - UDP connect() - * - send/recv big data. - * - all for both UDP and TCP. - * - * The APIs tested in this test: - * - pj_inet_aton() - * - pj_inet_ntoa() - * - pj_inet_pton() (only if IPv6 is enabled) - * - pj_inet_ntop() (only if IPv6 is enabled) - * - pj_gethostname() - * - pj_sock_socket() - * - pj_sock_close() - * - pj_sock_send() - * - pj_sock_sendto() - * - pj_sock_recv() - * - pj_sock_recvfrom() - * - pj_sock_bind() - * - pj_sock_connect() - * - pj_sock_listen() - * - pj_sock_accept() - * - pj_gethostbyname() - * - * - * This file is pjlib-test/sock.c - * - * \include pjlib-test/sock.c - */ - -#if INCLUDE_SOCK_TEST - -#define UDP_PORT 51234 -#define TCP_PORT (UDP_PORT+10) -#define BIG_DATA_LEN 8192 -#define ADDRESS "127.0.0.1" - -static char bigdata[BIG_DATA_LEN]; -static char bigbuffer[BIG_DATA_LEN]; - -/* Macro for checking the value of "sin_len" member of sockaddr - * (it must always be zero). - */ -#if defined(PJ_SOCKADDR_HAS_LEN) && PJ_SOCKADDR_HAS_LEN!=0 -# define CHECK_SA_ZERO_LEN(addr, ret) \ - if (((pj_addr_hdr*)(addr))->sa_zero_len != 0) \ - return ret -#else -# define CHECK_SA_ZERO_LEN(addr, ret) -#endif - - -static int format_test(void) -{ - pj_str_t s = pj_str(ADDRESS); - unsigned char *p; - pj_in_addr addr; - char zero[64]; - pj_sockaddr_in addr2; - const pj_str_t *hostname; - const unsigned char A[] = {127, 0, 0, 1}; - - PJ_LOG(3,("test", "...format_test()")); - - /* pj_inet_aton() */ - if (pj_inet_aton(&s, &addr) != 1) - return -10; - - /* Check the result. */ - p = (unsigned char*)&addr; - if (p[0]!=A[0] || p[1]!=A[1] || p[2]!=A[2] || p[3]!=A[3]) { - PJ_LOG(3,("test", " error: mismatched address. p0=%d, p1=%d, " - "p2=%d, p3=%d", p[0] & 0xFF, p[1] & 0xFF, - p[2] & 0xFF, p[3] & 0xFF)); - return -15; - } - - /* pj_inet_ntoa() */ - p = (unsigned char*) pj_inet_ntoa(addr); - if (!p) - return -20; - - if (pj_strcmp2(&s, (char*)p) != 0) - return -22; - -#if defined(PJ_HAS_IPV6) && PJ_HAS_IPV6!=0 - /* pj_inet_pton() */ - /* pj_inet_ntop() */ - { - const pj_str_t s_ipv4 = pj_str("127.0.0.1"); - const pj_str_t s_ipv6 = pj_str("fe80::2ff:83ff:fe7c:8b42"); - char buf_ipv4[PJ_INET_ADDRSTRLEN]; - char buf_ipv6[PJ_INET6_ADDRSTRLEN]; - pj_in_addr ipv4; - pj_in6_addr ipv6; - - if (pj_inet_pton(pj_AF_INET(), &s_ipv4, &ipv4) != PJ_SUCCESS) - return -24; - - p = (unsigned char*)&ipv4; - if (p[0]!=A[0] || p[1]!=A[1] || p[2]!=A[2] || p[3]!=A[3]) { - return -25; - } - - if (pj_inet_pton(pj_AF_INET6(), &s_ipv6, &ipv6) != PJ_SUCCESS) - return -26; - - p = (unsigned char*)&ipv6; - if (p[0] != 0xfe || p[1] != 0x80 || p[2] != 0 || p[3] != 0 || - p[4] != 0 || p[5] != 0 || p[6] != 0 || p[7] != 0 || - p[8] != 0x02 || p[9] != 0xff || p[10] != 0x83 || p[11] != 0xff || - p[12]!=0xfe || p[13]!=0x7c || p[14] != 0x8b || p[15]!=0x42) - { - return -27; - } - - if (pj_inet_ntop(pj_AF_INET(), &ipv4, buf_ipv4, sizeof(buf_ipv4)) != PJ_SUCCESS) - return -28; - if (pj_stricmp2(&s_ipv4, buf_ipv4) != 0) - return -29; - - if (pj_inet_ntop(pj_AF_INET6(), &ipv6, buf_ipv6, sizeof(buf_ipv6)) != PJ_SUCCESS) - return -30; - if (pj_stricmp2(&s_ipv6, buf_ipv6) != 0) - return -31; - } - -#endif /* PJ_HAS_IPV6 */ - - /* Test that pj_sockaddr_in_init() initialize the whole structure, - * including sin_zero. - */ - pj_sockaddr_in_init(&addr2, 0, 1000); - pj_bzero(zero, sizeof(zero)); - if (pj_memcmp(addr2.sin_zero, zero, sizeof(addr2.sin_zero)) != 0) - return -35; - - /* pj_gethostname() */ - hostname = pj_gethostname(); - if (!hostname || !hostname->ptr || !hostname->slen) - return -40; - - PJ_LOG(3,("test", "....hostname is %.*s", - (int)hostname->slen, hostname->ptr)); - - /* pj_gethostaddr() */ - - /* Various constants */ -#if !defined(PJ_SYMBIAN) || PJ_SYMBIAN==0 - if (PJ_AF_INET==0xFFFF) return -5500; - if (PJ_AF_INET6==0xFFFF) return -5501; - - /* 0xFFFF could be a valid SOL_SOCKET (e.g: on some Win or Mac) */ - //if (PJ_SOL_SOCKET==0xFFFF) return -5503; - - if (PJ_SOL_IP==0xFFFF) return -5502; - if (PJ_SOL_TCP==0xFFFF) return -5510; - if (PJ_SOL_UDP==0xFFFF) return -5520; - if (PJ_SOL_IPV6==0xFFFF) return -5530; - - if (PJ_SO_TYPE==0xFFFF) return -5540; - if (PJ_SO_RCVBUF==0xFFFF) return -5550; - if (PJ_SO_SNDBUF==0xFFFF) return -5560; - if (PJ_TCP_NODELAY==0xFFFF) return -5570; - if (PJ_SO_REUSEADDR==0xFFFF) return -5580; - - if (PJ_MSG_OOB==0xFFFF) return -5590; - if (PJ_MSG_PEEK==0xFFFF) return -5600; -#endif - - return 0; -} - -static int parse_test(void) -{ -#define IPv4 1 -#define IPv6 2 - - struct test_t { - const char *input; - int result_af; - const char *result_ip; - pj_uint16_t result_port; - }; - struct test_t valid_tests[] = - { - /* IPv4 */ - { "10.0.0.1:80", IPv4, "10.0.0.1", 80}, - { "10.0.0.1", IPv4, "10.0.0.1", 0}, - { "10.0.0.1:", IPv4, "10.0.0.1", 0}, - { "10.0.0.1:0", IPv4, "10.0.0.1", 0}, - { ":80", IPv4, "0.0.0.0", 80}, - { ":", IPv4, "0.0.0.0", 0}, -#if !PJ_SYMBIAN - { "localhost", IPv4, "127.0.0.1", 0}, - { "localhost:", IPv4, "127.0.0.1", 0}, - { "localhost:80", IPv4, "127.0.0.1", 80}, -#endif - -#if defined(PJ_HAS_IPV6) && PJ_HAS_IPV6 - { "fe::01:80", IPv6, "fe::01:80", 0}, - { "[fe::01]:80", IPv6, "fe::01", 80}, - { "fe::01", IPv6, "fe::01", 0}, - { "[fe::01]", IPv6, "fe::01", 0}, - { "fe::01:", IPv6, "fe::01", 0}, - { "[fe::01]:", IPv6, "fe::01", 0}, - { "::", IPv6, "::0", 0}, - { "[::]", IPv6, "::", 0}, - { ":::", IPv6, "::", 0}, - { "[::]:", IPv6, "::", 0}, - { ":::80", IPv6, "::", 80}, - { "[::]:80", IPv6, "::", 80}, -#endif - }; - struct test_t invalid_tests[] = - { - /* IPv4 */ - { "10.0.0.1:abcd", IPv4}, /* port not numeric */ - { "10.0.0.1:-1", IPv4}, /* port contains illegal character */ - { "10.0.0.1:123456", IPv4}, /* port too big */ - { "1.2.3.4.5:80", IPv4}, /* invalid IP */ - { "10:0:80", IPv4}, /* hostname has colon */ - -#if defined(PJ_HAS_IPV6) && PJ_HAS_IPV6 - { "[fe::01]:abcd", IPv6}, /* port not numeric */ - { "[fe::01]:-1", IPv6}, /* port contains illegal character */ - { "[fe::01]:123456", IPv6}, /* port too big */ - { "fe::01:02::03:04:80", IPv6}, /* invalid IP */ - { "[fe::01:02::03:04]:80", IPv6}, /* invalid IP */ - { "[fe:01", IPv6}, /* Unterminated bracket */ -#endif - }; - - unsigned i; - - PJ_LOG(3,("test", "...IP address parsing")); - - for (i=0; isin_addr)); - strcpy(addr_str, pj_inet_ntoa(addr.sin_addr)); - PJ_LOG(3,("test", "...error: src address mismatch (original=%s, " - "recvfrom addr=%s)", - srcaddr_str, addr_str)); - return -152; - } - - } else { - /* Repeat recv() until all data is received. - * This applies only for non-UDP of course, since for UDP - * we would expect all data to be received in one packet. - */ - total_received = 0; - do { - received = DATA_LEN-total_received; - rc = pj_sock_recv(ss, recvdata+total_received, &received, 0); - if (rc != PJ_SUCCESS) { - app_perror("...recv error", rc); - rc = -155; goto on_error; - } - if (received <= 0) { - PJ_LOG(3,("", "...error: socket has closed! (received=%d)", - received)); - rc = -156; goto on_error; - } - if (received != DATA_LEN-total_received) { - if (sock_type != pj_SOCK_STREAM()) { - PJ_LOG(3,("", "...error: expecting %u bytes, got %u bytes", - DATA_LEN-total_received, received)); - rc = -157; goto on_error; - } - } - total_received += received; - } while (total_received < DATA_LEN); - } - - TRACE_(("test", "....memcmp()")); - if (pj_memcmp(senddata, recvdata, DATA_LEN) != 0) { - PJ_LOG(3,("","...error: received data mismatch " - "(got:'%s' expecting:'%s'", - recvdata, senddata)); - rc = -160; goto on_error; - } - - /* - * Test send/recv big data. - */ - TRACE_(("test", "....sendto()")); - if (dstaddr) { - sent = BIG_DATA_LEN; - rc = pj_sock_sendto(cs, bigdata, &sent, 0, dstaddr, addrlen); - if (rc != PJ_SUCCESS || sent != BIG_DATA_LEN) { - app_perror("...sendto error", rc); - rc = -161; goto on_error; - } - } else { - sent = BIG_DATA_LEN; - rc = pj_sock_send(cs, bigdata, &sent, 0); - if (rc != PJ_SUCCESS || sent != BIG_DATA_LEN) { - app_perror("...send error", rc); - rc = -165; goto on_error; - } - } - - TRACE_(("test", "....recv()")); - - /* Repeat recv() until all data is received. - * This applies only for non-UDP of course, since for UDP - * we would expect all data to be received in one packet. - */ - total_received = 0; - do { - received = BIG_DATA_LEN-total_received; - rc = pj_sock_recv(ss, bigbuffer+total_received, &received, 0); - if (rc != PJ_SUCCESS) { - app_perror("...recv error", rc); - rc = -170; goto on_error; - } - if (received <= 0) { - PJ_LOG(3,("", "...error: socket has closed! (received=%d)", - received)); - rc = -173; goto on_error; - } - if (received != BIG_DATA_LEN-total_received) { - if (sock_type != pj_SOCK_STREAM()) { - PJ_LOG(3,("", "...error: expecting %u bytes, got %u bytes", - BIG_DATA_LEN-total_received, received)); - rc = -176; goto on_error; - } - } - total_received += received; - } while (total_received < BIG_DATA_LEN); - - TRACE_(("test", "....memcmp()")); - if (pj_memcmp(bigdata, bigbuffer, BIG_DATA_LEN) != 0) { - PJ_LOG(3,("", "...error: received data has been altered!")); - rc = -180; goto on_error; - } - - rc = 0; - -on_error: - return rc; -} - -static int udp_test(void) -{ - pj_sock_t cs = PJ_INVALID_SOCKET, ss = PJ_INVALID_SOCKET; - pj_sockaddr_in dstaddr, srcaddr; - pj_str_t s; - pj_status_t rc = 0, retval; - - PJ_LOG(3,("test", "...udp_test()")); - - rc = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &ss); - if (rc != 0) { - app_perror("...error: unable to create socket", rc); - return -100; - } - - rc = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &cs); - if (rc != 0) - return -110; - - /* Bind server socket. */ - pj_bzero(&dstaddr, sizeof(dstaddr)); - dstaddr.sin_family = pj_AF_INET(); - dstaddr.sin_port = pj_htons(UDP_PORT); - dstaddr.sin_addr = pj_inet_addr(pj_cstr(&s, ADDRESS)); - - if ((rc=pj_sock_bind(ss, &dstaddr, sizeof(dstaddr))) != 0) { - app_perror("...bind error udp:"ADDRESS, rc); - rc = -120; goto on_error; - } - - /* Bind client socket. */ - pj_bzero(&srcaddr, sizeof(srcaddr)); - srcaddr.sin_family = pj_AF_INET(); - srcaddr.sin_port = pj_htons(UDP_PORT-1); - srcaddr.sin_addr = pj_inet_addr(pj_cstr(&s, ADDRESS)); - - if ((rc=pj_sock_bind(cs, &srcaddr, sizeof(srcaddr))) != 0) { - app_perror("...bind error", rc); - rc = -121; goto on_error; - } - - /* Test send/recv, with sendto */ - rc = send_recv_test(pj_SOCK_DGRAM(), ss, cs, &dstaddr, NULL, - sizeof(dstaddr)); - if (rc != 0) - goto on_error; - - /* Test send/recv, with sendto and recvfrom */ - rc = send_recv_test(pj_SOCK_DGRAM(), ss, cs, &dstaddr, - &srcaddr, sizeof(dstaddr)); - if (rc != 0) - goto on_error; - - /* Disable this test on Symbian since UDP connect()/send() failed - * with S60 3rd edition (including MR2). - * See http://www.pjsip.org/trac/ticket/264 - */ -#if !defined(PJ_SYMBIAN) || PJ_SYMBIAN==0 - /* connect() the sockets. */ - rc = pj_sock_connect(cs, &dstaddr, sizeof(dstaddr)); - if (rc != 0) { - app_perror("...connect() error", rc); - rc = -122; goto on_error; - } - - /* Test send/recv with send() */ - rc = send_recv_test(pj_SOCK_DGRAM(), ss, cs, NULL, NULL, 0); - if (rc != 0) - goto on_error; - - /* Test send/recv with send() and recvfrom */ - rc = send_recv_test(pj_SOCK_DGRAM(), ss, cs, NULL, &srcaddr, - sizeof(srcaddr)); - if (rc != 0) - goto on_error; -#endif - -on_error: - retval = rc; - if (cs != PJ_INVALID_SOCKET) { - rc = pj_sock_close(cs); - if (rc != PJ_SUCCESS) { - app_perror("...error in closing socket", rc); - return -1000; - } - } - if (ss != PJ_INVALID_SOCKET) { - rc = pj_sock_close(ss); - if (rc != PJ_SUCCESS) { - app_perror("...error in closing socket", rc); - return -1010; - } - } - - return retval; -} - -static int tcp_test(void) -{ - pj_sock_t cs, ss; - pj_status_t rc = 0, retval; - - PJ_LOG(3,("test", "...tcp_test()")); - - rc = app_socketpair(pj_AF_INET(), pj_SOCK_STREAM(), 0, &ss, &cs); - if (rc != PJ_SUCCESS) { - app_perror("...error: app_socketpair():", rc); - return -2000; - } - - /* Test send/recv with send() and recv() */ - retval = send_recv_test(pj_SOCK_STREAM(), ss, cs, NULL, NULL, 0); - - rc = pj_sock_close(cs); - if (rc != PJ_SUCCESS) { - app_perror("...error in closing socket", rc); - return -2000; - } - - rc = pj_sock_close(ss); - if (rc != PJ_SUCCESS) { - app_perror("...error in closing socket", rc); - return -2010; - } - - return retval; -} - -static int ioctl_test(void) -{ - return 0; -} - -static int gethostbyname_test(void) -{ - pj_str_t host; - pj_hostent he; - pj_status_t status; - - /* Testing pj_gethostbyname() with invalid host */ - host = pj_str("an-invalid-host-name"); - status = pj_gethostbyname(&host, &he); - - /* Must return failure! */ - if (status == PJ_SUCCESS) - return -20100; - else - return 0; -} - -#if 0 -#include "../pj/os_symbian.h" -static int connect_test() -{ - RSocketServ rSockServ; - RSocket rSock; - TInetAddr inetAddr; - TRequestStatus reqStatus; - char buffer[16]; - TPtrC8 data((const TUint8*)buffer, (TInt)sizeof(buffer)); - int rc; - - rc = rSockServ.Connect(); - if (rc != KErrNone) - return rc; - - rc = rSock.Open(rSockServ, KAfInet, KSockDatagram, KProtocolInetUdp); - if (rc != KErrNone) - { - rSockServ.Close(); - return rc; - } - - inetAddr.Init(KAfInet); - inetAddr.Input(_L("127.0.0.1")); - inetAddr.SetPort(80); - - rSock.Connect(inetAddr, reqStatus); - User::WaitForRequest(reqStatus); - - if (reqStatus != KErrNone) { - rSock.Close(); - rSockServ.Close(); - return rc; - } - - rSock.Send(data, 0, reqStatus); - User::WaitForRequest(reqStatus); - - if (reqStatus!=KErrNone) { - rSock.Close(); - rSockServ.Close(); - return rc; - } - - rSock.Close(); - rSockServ.Close(); - return KErrNone; -} -#endif - -int sock_test() -{ - int rc; - - pj_create_random_string(bigdata, BIG_DATA_LEN); - -// Enable this to demonstrate the error witn S60 3rd Edition MR2 -#if 0 - rc = connect_test(); - if (rc != 0) - return rc; -#endif - - rc = format_test(); - if (rc != 0) - return rc; - - rc = parse_test(); - if (rc != 0) - return rc; - - rc = purity_test(); - if (rc != 0) - return rc; - - rc = gethostbyname_test(); - if (rc != 0) - return rc; - - rc = simple_sock_test(); - if (rc != 0) - return rc; - - rc = ioctl_test(); - if (rc != 0) - return rc; - - rc = udp_test(); - if (rc != 0) - return rc; - - rc = tcp_test(); - if (rc != 0) - return rc; - - return 0; -} - - -#else -/* To prevent warning about "translation unit is empty" - * when this test is disabled. - */ -int dummy_sock_test; -#endif /* INCLUDE_SOCK_TEST */ - diff --git a/res/pjproject/pjlib/src/pjlib-test/sock_perf.c b/res/pjproject/pjlib/src/pjlib-test/sock_perf.c deleted file mode 100644 index f7465f198e..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/sock_perf.c +++ /dev/null @@ -1,190 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include - - -/** - * \page page_pjlib_sock_perf_test Test: Socket Performance - * - * Test the performance of the socket communication. This will perform - * simple producer-consumer type of test, where we calculate how long - * does it take to send certain number of packets from producer to - * consumer. - * - * This file is pjlib-test/sock_perf.c - * - * \include pjlib-test/sock_perf.c - */ - -#if INCLUDE_SOCK_PERF_TEST - -/* - * sock_producer_consumer() - * - * Simple producer-consumer benchmarking. Send loop number of - * buf_size size packets as fast as possible. - */ -static int sock_producer_consumer(int sock_type, - unsigned buf_size, - unsigned loop, - unsigned *p_bandwidth) -{ - pj_sock_t consumer, producer; - pj_pool_t *pool; - char *outgoing_buffer, *incoming_buffer; - pj_timestamp start, stop; - unsigned i; - pj_highprec_t elapsed, bandwidth; - pj_size_t total_received; - pj_status_t rc; - - /* Create pool. */ - pool = pj_pool_create(mem, NULL, 4096, 4096, NULL); - if (!pool) - return -10; - - /* Create producer-consumer pair. */ - rc = app_socketpair(pj_AF_INET(), sock_type, 0, &consumer, &producer); - if (rc != PJ_SUCCESS) { - app_perror("...error: create socket pair", rc); - return -20; - } - - /* Create buffers. */ - outgoing_buffer = (char*) pj_pool_alloc(pool, buf_size); - incoming_buffer = (char*) pj_pool_alloc(pool, buf_size); - - /* Start loop. */ - pj_get_timestamp(&start); - total_received = 0; - for (i=0; i 10) - break; - } - - /* Stop timer. */ - pj_get_timestamp(&stop); - - elapsed = pj_elapsed_usec(&start, &stop); - - /* bandwidth = total_received * 1000 / elapsed */ - bandwidth = total_received; - pj_highprec_mul(bandwidth, 1000); - pj_highprec_div(bandwidth, elapsed); - - *p_bandwidth = (pj_uint32_t)bandwidth; - - /* Close sockets. */ - pj_sock_close(consumer); - pj_sock_close(producer); - - /* Done */ - pj_pool_release(pool); - - return 0; -} - -/* - * sock_perf_test() - * - * Main test entry. - */ -int sock_perf_test(void) -{ - enum { LOOP = 64 * 1024 }; - int rc; - unsigned bandwidth; - - PJ_LOG(3,("", "...benchmarking socket " - "(2 sockets, packet=512, single threaded):")); - - /* Disable this test on Symbian since UDP connect()/send() failed - * with S60 3rd edition (including MR2). - * See http://www.pjsip.org/trac/ticket/264 - */ -#if !defined(PJ_SYMBIAN) || PJ_SYMBIAN==0 - /* Benchmarking UDP */ - rc = sock_producer_consumer(pj_SOCK_DGRAM(), 512, LOOP, &bandwidth); - if (rc != 0) return rc; - PJ_LOG(3,("", "....bandwidth UDP = %d KB/s", bandwidth)); -#endif - - /* Benchmarking TCP */ - rc = sock_producer_consumer(pj_SOCK_STREAM(), 512, LOOP, &bandwidth); - if (rc != 0) return rc; - PJ_LOG(3,("", "....bandwidth TCP = %d KB/s", bandwidth)); - - return rc; -} - - -#else -/* To prevent warning about "translation unit is empty" - * when this test is disabled. - */ -int dummy_sock_perf_test; -#endif /* INCLUDE_SOCK_PERF_TEST */ - - diff --git a/res/pjproject/pjlib/src/pjlib-test/ssl_sock.c b/res/pjproject/pjlib/src/pjlib-test/ssl_sock.c deleted file mode 100644 index 5392bed59d..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/ssl_sock.c +++ /dev/null @@ -1,1424 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include - - -#define CERT_DIR "../build/" -#define CERT_CA_FILE CERT_DIR "cacert.pem" -#define CERT_FILE CERT_DIR "cacert.pem" -#define CERT_PRIVKEY_FILE CERT_DIR "privkey.pem" -#define CERT_PRIVKEY_PASS "" - - -#if INCLUDE_SSLSOCK_TEST - -/* Global vars */ -static int clients_num; - -struct send_key { - pj_ioqueue_op_key_t op_key; -}; - - -static int get_cipher_list(void) { - pj_status_t status; - pj_ssl_cipher ciphers[100]; - unsigned cipher_num; - unsigned i; - - cipher_num = PJ_ARRAY_SIZE(ciphers); - status = pj_ssl_cipher_get_availables(ciphers, &cipher_num); - if (status != PJ_SUCCESS) { - app_perror("...FAILED to get available ciphers", status); - return status; - } - - PJ_LOG(3, ("", "...Found %u ciphers:", cipher_num)); - for (i = 0; i < cipher_num; ++i) { - const char* st; - st = pj_ssl_cipher_name(ciphers[i]); - if (st == NULL) - st = "[Unknown]"; - - PJ_LOG(3, ("", "...%3u: 0x%08x=%s", i+1, ciphers[i], st)); - } - - return PJ_SUCCESS; -} - - -struct test_state -{ - pj_pool_t *pool; /* pool */ - pj_ioqueue_t *ioqueue; /* ioqueue */ - pj_bool_t is_server; /* server role flag */ - pj_bool_t is_verbose; /* verbose flag, e.g: cert info */ - pj_bool_t echo; /* echo received data */ - pj_status_t err; /* error flag */ - unsigned sent; /* bytes sent */ - unsigned recv; /* bytes received */ - pj_uint8_t read_buf[256]; /* read buffer */ - pj_bool_t done; /* test done flag */ - char *send_str; /* data to send once connected */ - unsigned send_str_len; /* send data length */ - pj_bool_t check_echo; /* flag to compare sent & echoed data */ - const char *check_echo_ptr; /* pointer/cursor for comparing data */ - struct send_key send_key; /* send op key */ -}; - -static void dump_ssl_info(const pj_ssl_sock_info *si) -{ - const char *tmp_st; - - /* Print cipher name */ - tmp_st = pj_ssl_cipher_name(si->cipher); - if (tmp_st == NULL) - tmp_st = "[Unknown]"; - PJ_LOG(3, ("", ".....Cipher: %s", tmp_st)); - - /* Print remote certificate info and verification result */ - if (si->remote_cert_info && si->remote_cert_info->subject.info.slen) - { - char buf[2048]; - const char *verif_msgs[32]; - unsigned verif_msg_cnt; - - /* Dump remote TLS certificate info */ - PJ_LOG(3, ("", ".....Remote certificate info:")); - pj_ssl_cert_info_dump(si->remote_cert_info, " ", buf, sizeof(buf)); - PJ_LOG(3,("", "\n%s", buf)); - - /* Dump remote TLS certificate verification result */ - verif_msg_cnt = PJ_ARRAY_SIZE(verif_msgs); - pj_ssl_cert_get_verify_status_strings(si->verify_status, - verif_msgs, &verif_msg_cnt); - PJ_LOG(3,("", ".....Remote certificate verification result: %s", - (verif_msg_cnt == 1? verif_msgs[0]:""))); - if (verif_msg_cnt > 1) { - unsigned i; - for (i = 0; i < verif_msg_cnt; ++i) - PJ_LOG(3,("", "..... - %s", verif_msgs[i])); - } - } -} - - -static pj_bool_t ssl_on_connect_complete(pj_ssl_sock_t *ssock, - pj_status_t status) -{ - struct test_state *st = (struct test_state*) - pj_ssl_sock_get_user_data(ssock); - void *read_buf[1]; - pj_ssl_sock_info info; - char buf1[64], buf2[64]; - - if (status != PJ_SUCCESS) { - app_perror("...ERROR ssl_on_connect_complete()", status); - goto on_return; - } - - status = pj_ssl_sock_get_info(ssock, &info); - if (status != PJ_SUCCESS) { - app_perror("...ERROR pj_ssl_sock_get_info()", status); - goto on_return; - } - - pj_sockaddr_print((pj_sockaddr_t*)&info.local_addr, buf1, sizeof(buf1), 1); - pj_sockaddr_print((pj_sockaddr_t*)&info.remote_addr, buf2, sizeof(buf2), 1); - PJ_LOG(3, ("", "...Connected %s -> %s!", buf1, buf2)); - - if (st->is_verbose) - dump_ssl_info(&info); - - /* Start reading data */ - read_buf[0] = st->read_buf; - status = pj_ssl_sock_start_read2(ssock, st->pool, sizeof(st->read_buf), (void**)read_buf, 0); - if (status != PJ_SUCCESS) { - app_perror("...ERROR pj_ssl_sock_start_read2()", status); - goto on_return; - } - - /* Start sending data */ - while (st->sent < st->send_str_len) { - pj_ssize_t size; - - size = st->send_str_len - st->sent; - status = pj_ssl_sock_send(ssock, (pj_ioqueue_op_key_t*)&st->send_key, - st->send_str + st->sent, &size, 0); - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - app_perror("...ERROR pj_ssl_sock_send()", status); - goto on_return; - } - - if (status == PJ_SUCCESS) - st->sent += size; - else - break; - } - -on_return: - st->err = status; - - if (st->err != PJ_SUCCESS) { - pj_ssl_sock_close(ssock); - clients_num--; - return PJ_FALSE; - } - - return PJ_TRUE; -} - - -static pj_bool_t ssl_on_accept_complete(pj_ssl_sock_t *ssock, - pj_ssl_sock_t *newsock, - const pj_sockaddr_t *src_addr, - int src_addr_len) -{ - struct test_state *parent_st = (struct test_state*) - pj_ssl_sock_get_user_data(ssock); - struct test_state *st; - void *read_buf[1]; - pj_ssl_sock_info info; - char buf[64]; - pj_status_t status; - - PJ_UNUSED_ARG(src_addr_len); - - /* Duplicate parent test state to newly accepted test state */ - st = (struct test_state*)pj_pool_zalloc(parent_st->pool, sizeof(struct test_state)); - *st = *parent_st; - pj_ssl_sock_set_user_data(newsock, st); - - status = pj_ssl_sock_get_info(newsock, &info); - if (status != PJ_SUCCESS) { - app_perror("...ERROR pj_ssl_sock_get_info()", status); - goto on_return; - } - - pj_sockaddr_print(src_addr, buf, sizeof(buf), 1); - PJ_LOG(3, ("", "...Accepted connection from %s", buf)); - - if (st->is_verbose) - dump_ssl_info(&info); - - /* Start reading data */ - read_buf[0] = st->read_buf; - status = pj_ssl_sock_start_read2(newsock, st->pool, sizeof(st->read_buf), (void**)read_buf, 0); - if (status != PJ_SUCCESS) { - app_perror("...ERROR pj_ssl_sock_start_read2()", status); - goto on_return; - } - - /* Start sending data */ - while (st->sent < st->send_str_len) { - pj_ssize_t size; - - size = st->send_str_len - st->sent; - status = pj_ssl_sock_send(newsock, (pj_ioqueue_op_key_t*)&st->send_key, - st->send_str + st->sent, &size, 0); - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - app_perror("...ERROR pj_ssl_sock_send()", status); - goto on_return; - } - - if (status == PJ_SUCCESS) - st->sent += size; - else - break; - } - -on_return: - st->err = status; - - if (st->err != PJ_SUCCESS) { - pj_ssl_sock_close(newsock); - return PJ_FALSE; - } - - return PJ_TRUE; -} - -static pj_bool_t ssl_on_data_read(pj_ssl_sock_t *ssock, - void *data, - pj_size_t size, - pj_status_t status, - pj_size_t *remainder) -{ - struct test_state *st = (struct test_state*) - pj_ssl_sock_get_user_data(ssock); - - PJ_UNUSED_ARG(remainder); - PJ_UNUSED_ARG(data); - - if (size > 0) { - pj_size_t consumed; - - /* Set random remainder */ - *remainder = pj_rand() % 100; - - /* Apply zero remainder if: - * - remainder is less than size, or - * - connection closed/error - * - echo/check_eco set - */ - if (*remainder > size || status != PJ_SUCCESS || st->echo || st->check_echo) - *remainder = 0; - - consumed = size - *remainder; - st->recv += consumed; - - //printf("%.*s", consumed, (char*)data); - - pj_memmove(data, (char*)data + consumed, *remainder); - - /* Echo data when specified to */ - if (st->echo) { - pj_ssize_t size_ = consumed; - status = pj_ssl_sock_send(ssock, (pj_ioqueue_op_key_t*)&st->send_key, data, &size_, 0); - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - app_perror("...ERROR pj_ssl_sock_send()", status); - goto on_return; - } - - if (status == PJ_SUCCESS) - st->sent += size_; - } - - /* Verify echoed data when specified to */ - if (st->check_echo) { - if (!st->check_echo_ptr) - st->check_echo_ptr = st->send_str; - - if (pj_memcmp(st->check_echo_ptr, data, consumed)) { - status = PJ_EINVAL; - app_perror("...ERROR echoed data not exact", status); - goto on_return; - } - st->check_echo_ptr += consumed; - - /* Echo received completely */ - if (st->send_str_len == st->recv) { - pj_ssl_sock_info info; - char buf[64]; - - status = pj_ssl_sock_get_info(ssock, &info); - if (status != PJ_SUCCESS) { - app_perror("...ERROR pj_ssl_sock_get_info()", status); - goto on_return; - } - - pj_sockaddr_print((pj_sockaddr_t*)&info.local_addr, buf, sizeof(buf), 1); - PJ_LOG(3, ("", "...%s successfully recv %d bytes echo", buf, st->recv)); - st->done = PJ_TRUE; - } - } - } - - if (status != PJ_SUCCESS) { - if (status == PJ_EEOF) { - status = PJ_SUCCESS; - st->done = PJ_TRUE; - } else { - app_perror("...ERROR ssl_on_data_read()", status); - } - } - -on_return: - st->err = status; - - if (st->err != PJ_SUCCESS || st->done) { - pj_ssl_sock_close(ssock); - if (!st->is_server) - clients_num--; - return PJ_FALSE; - } - - return PJ_TRUE; -} - -static pj_bool_t ssl_on_data_sent(pj_ssl_sock_t *ssock, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t sent) -{ - struct test_state *st = (struct test_state*) - pj_ssl_sock_get_user_data(ssock); - PJ_UNUSED_ARG(op_key); - - if (sent < 0) { - st->err = -sent; - } else { - st->sent += sent; - - /* Send more if any */ - while (st->sent < st->send_str_len) { - pj_ssize_t size; - pj_status_t status; - - size = st->send_str_len - st->sent; - status = pj_ssl_sock_send(ssock, (pj_ioqueue_op_key_t*)&st->send_key, - st->send_str + st->sent, &size, 0); - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - app_perror("...ERROR pj_ssl_sock_send()", status); - st->err = status; - break; - } - - if (status == PJ_SUCCESS) - st->sent += size; - else - break; - } - } - - if (st->err != PJ_SUCCESS) { - pj_ssl_sock_close(ssock); - if (!st->is_server) - clients_num--; - return PJ_FALSE; - } - - return PJ_TRUE; -} - -#define HTTP_REQ "GET / HTTP/1.0\r\n\r\n"; -#define HTTP_SERVER_ADDR "trac.pjsip.org" -#define HTTP_SERVER_PORT 443 - -static int https_client_test(unsigned ms_timeout) -{ - pj_pool_t *pool = NULL; - pj_ioqueue_t *ioqueue = NULL; - pj_timer_heap_t *timer = NULL; - pj_ssl_sock_t *ssock = NULL; - pj_ssl_sock_param param; - pj_status_t status; - struct test_state state = {0}; - pj_sockaddr local_addr, rem_addr; - pj_str_t tmp_st; - - pool = pj_pool_create(mem, "https_get", 256, 256, NULL); - - status = pj_ioqueue_create(pool, 4, &ioqueue); - if (status != PJ_SUCCESS) { - goto on_return; - } - - status = pj_timer_heap_create(pool, 4, &timer); - if (status != PJ_SUCCESS) { - goto on_return; - } - - state.pool = pool; - state.send_str = HTTP_REQ; - state.send_str_len = pj_ansi_strlen(state.send_str); - state.is_verbose = PJ_TRUE; - - pj_ssl_sock_param_default(¶m); - param.cb.on_connect_complete = &ssl_on_connect_complete; - param.cb.on_data_read = &ssl_on_data_read; - param.cb.on_data_sent = &ssl_on_data_sent; - param.ioqueue = ioqueue; - param.user_data = &state; - param.server_name = pj_str((char*)HTTP_SERVER_ADDR); - param.timer_heap = timer; - param.timeout.sec = 0; - param.timeout.msec = ms_timeout; - param.proto = PJ_SSL_SOCK_PROTO_SSL23; - pj_time_val_normalize(¶m.timeout); - - status = pj_ssl_sock_create(pool, ¶m, &ssock); - if (status != PJ_SUCCESS) { - goto on_return; - } - - pj_sockaddr_init(PJ_AF_INET, &local_addr, pj_strset2(&tmp_st, "0.0.0.0"), 0); - pj_sockaddr_init(PJ_AF_INET, &rem_addr, pj_strset2(&tmp_st, HTTP_SERVER_ADDR), HTTP_SERVER_PORT); - status = pj_ssl_sock_start_connect(ssock, pool, &local_addr, &rem_addr, sizeof(rem_addr)); - if (status == PJ_SUCCESS) { - ssl_on_connect_complete(ssock, PJ_SUCCESS); - } else if (status == PJ_EPENDING) { - status = PJ_SUCCESS; - } else { - goto on_return; - } - - /* Wait until everything has been sent/received */ - while (state.err == PJ_SUCCESS && !state.done) { -#ifdef PJ_SYMBIAN - pj_symbianos_poll(-1, 1000); -#else - pj_time_val delay = {0, 100}; - pj_ioqueue_poll(ioqueue, &delay); - pj_timer_heap_poll(timer, &delay); -#endif - } - - if (state.err) { - status = state.err; - goto on_return; - } - - PJ_LOG(3, ("", "...Done!")); - PJ_LOG(3, ("", ".....Sent/recv: %d/%d bytes", state.sent, state.recv)); - -on_return: - if (ssock && !state.err && !state.done) - pj_ssl_sock_close(ssock); - if (ioqueue) - pj_ioqueue_destroy(ioqueue); - if (timer) - pj_timer_heap_destroy(timer); - if (pool) - pj_pool_release(pool); - - return status; -} - - -static int echo_test(pj_ssl_sock_proto srv_proto, pj_ssl_sock_proto cli_proto, - pj_ssl_cipher srv_cipher, pj_ssl_cipher cli_cipher, - pj_bool_t req_client_cert, pj_bool_t client_provide_cert) -{ - pj_pool_t *pool = NULL; - pj_ioqueue_t *ioqueue = NULL; - pj_ssl_sock_t *ssock_serv = NULL; - pj_ssl_sock_t *ssock_cli = NULL; - pj_ssl_sock_param param; - struct test_state state_serv = { 0 }; - struct test_state state_cli = { 0 }; - pj_sockaddr addr, listen_addr; - pj_ssl_cipher ciphers[1]; - pj_ssl_cert_t *cert = NULL; - pj_status_t status; - - pool = pj_pool_create(mem, "ssl_echo", 256, 256, NULL); - - status = pj_ioqueue_create(pool, 4, &ioqueue); - if (status != PJ_SUCCESS) { - goto on_return; - } - - pj_ssl_sock_param_default(¶m); - param.cb.on_accept_complete = &ssl_on_accept_complete; - param.cb.on_connect_complete = &ssl_on_connect_complete; - param.cb.on_data_read = &ssl_on_data_read; - param.cb.on_data_sent = &ssl_on_data_sent; - param.ioqueue = ioqueue; - param.ciphers = ciphers; - - /* Init default bind address */ - { - pj_str_t tmp_st; - pj_sockaddr_init(PJ_AF_INET, &addr, pj_strset2(&tmp_st, "127.0.0.1"), 0); - } - - /* === SERVER === */ - param.proto = srv_proto; - param.user_data = &state_serv; - param.ciphers_num = (srv_cipher == -1)? 0 : 1; - param.require_client_cert = req_client_cert; - ciphers[0] = srv_cipher; - - state_serv.pool = pool; - state_serv.echo = PJ_TRUE; - state_serv.is_server = PJ_TRUE; - state_serv.is_verbose = PJ_TRUE; - - status = pj_ssl_sock_create(pool, ¶m, &ssock_serv); - if (status != PJ_SUCCESS) { - goto on_return; - } - - /* Set server cert */ - { - pj_str_t tmp1, tmp2, tmp3, tmp4; - - status = pj_ssl_cert_load_from_files(pool, - pj_strset2(&tmp1, (char*)CERT_CA_FILE), - pj_strset2(&tmp2, (char*)CERT_FILE), - pj_strset2(&tmp3, (char*)CERT_PRIVKEY_FILE), - pj_strset2(&tmp4, (char*)CERT_PRIVKEY_PASS), - &cert); - if (status != PJ_SUCCESS) { - goto on_return; - } - - status = pj_ssl_sock_set_certificate(ssock_serv, pool, cert); - if (status != PJ_SUCCESS) { - goto on_return; - } - } - - status = pj_ssl_sock_start_accept(ssock_serv, pool, &addr, pj_sockaddr_get_len(&addr)); - if (status != PJ_SUCCESS) { - goto on_return; - } - - /* Get listener address */ - { - pj_ssl_sock_info info; - - pj_ssl_sock_get_info(ssock_serv, &info); - pj_sockaddr_cp(&listen_addr, &info.local_addr); - } - - /* === CLIENT === */ - param.proto = cli_proto; - param.user_data = &state_cli; - param.ciphers_num = (cli_cipher == -1)? 0 : 1; - ciphers[0] = cli_cipher; - - state_cli.pool = pool; - state_cli.check_echo = PJ_TRUE; - state_cli.is_verbose = PJ_TRUE; - - { - pj_time_val now; - - pj_gettimeofday(&now); - pj_srand((unsigned)now.sec); - state_cli.send_str_len = (pj_rand() % 5 + 1) * 1024 + pj_rand() % 1024; - } - state_cli.send_str = (char*)pj_pool_alloc(pool, state_cli.send_str_len); - { - unsigned i; - for (i = 0; i < state_cli.send_str_len; ++i) - state_cli.send_str[i] = (char)(pj_rand() % 256); - } - - status = pj_ssl_sock_create(pool, ¶m, &ssock_cli); - if (status != PJ_SUCCESS) { - goto on_return; - } - - /* Set cert for client */ - { - - if (!client_provide_cert) { - pj_str_t tmp1, tmp2; - - pj_strset2(&tmp1, (char*)CERT_CA_FILE); - pj_strset2(&tmp2, NULL); - status = pj_ssl_cert_load_from_files(pool, - &tmp1, &tmp2, &tmp2, &tmp2, - &cert); - if (status != PJ_SUCCESS) { - goto on_return; - } - } - - status = pj_ssl_sock_set_certificate(ssock_cli, pool, cert); - if (status != PJ_SUCCESS) { - goto on_return; - } - } - - status = pj_ssl_sock_start_connect(ssock_cli, pool, &addr, &listen_addr, pj_sockaddr_get_len(&addr)); - if (status == PJ_SUCCESS) { - ssl_on_connect_complete(ssock_cli, PJ_SUCCESS); - } else if (status == PJ_EPENDING) { - status = PJ_SUCCESS; - } else { - goto on_return; - } - - /* Wait until everything has been sent/received or error */ - while (!state_serv.err && !state_cli.err && !state_serv.done && !state_cli.done) - { -#ifdef PJ_SYMBIAN - pj_symbianos_poll(-1, 1000); -#else - pj_time_val delay = {0, 100}; - pj_ioqueue_poll(ioqueue, &delay); -#endif - } - - /* Clean up sockets */ - { - pj_time_val delay = {0, 100}; - while (pj_ioqueue_poll(ioqueue, &delay) > 0); - } - - if (state_serv.err || state_cli.err) { - if (state_serv.err != PJ_SUCCESS) - status = state_serv.err; - else - status = state_cli.err; - - goto on_return; - } - - PJ_LOG(3, ("", "...Done!")); - PJ_LOG(3, ("", ".....Sent/recv: %d/%d bytes", state_cli.sent, state_cli.recv)); - -on_return: - if (ssock_serv) - pj_ssl_sock_close(ssock_serv); - if (ssock_cli && !state_cli.err && !state_cli.done) - pj_ssl_sock_close(ssock_cli); - if (ioqueue) - pj_ioqueue_destroy(ioqueue); - if (pool) - pj_pool_release(pool); - - return status; -} - - -static pj_bool_t asock_on_data_read(pj_activesock_t *asock, - void *data, - pj_size_t size, - pj_status_t status, - pj_size_t *remainder) -{ - struct test_state *st = (struct test_state*) - pj_activesock_get_user_data(asock); - - PJ_UNUSED_ARG(data); - PJ_UNUSED_ARG(size); - PJ_UNUSED_ARG(remainder); - - if (status != PJ_SUCCESS) { - if (status == PJ_EEOF) { - status = PJ_SUCCESS; - st->done = PJ_TRUE; - } else { - app_perror("...ERROR asock_on_data_read()", status); - } - } - - st->err = status; - - if (st->err != PJ_SUCCESS || st->done) { - pj_activesock_close(asock); - if (!st->is_server) - clients_num--; - return PJ_FALSE; - } - - return PJ_TRUE; -} - - -static pj_bool_t asock_on_connect_complete(pj_activesock_t *asock, - pj_status_t status) -{ - struct test_state *st = (struct test_state*) - pj_activesock_get_user_data(asock); - - if (status == PJ_SUCCESS) { - void *read_buf[1]; - - /* Start reading data */ - read_buf[0] = st->read_buf; - status = pj_activesock_start_read2(asock, st->pool, sizeof(st->read_buf), (void**)read_buf, 0); - if (status != PJ_SUCCESS) { - app_perror("...ERROR pj_ssl_sock_start_read2()", status); - } - } - - st->err = status; - - if (st->err != PJ_SUCCESS) { - pj_activesock_close(asock); - if (!st->is_server) - clients_num--; - return PJ_FALSE; - } - - return PJ_TRUE; -} - -static pj_bool_t asock_on_accept_complete(pj_activesock_t *asock, - pj_sock_t newsock, - const pj_sockaddr_t *src_addr, - int src_addr_len) -{ - struct test_state *st; - void *read_buf[1]; - pj_activesock_t *new_asock; - pj_activesock_cb asock_cb = { 0 }; - pj_status_t status; - - PJ_UNUSED_ARG(src_addr); - PJ_UNUSED_ARG(src_addr_len); - - st = (struct test_state*) pj_activesock_get_user_data(asock); - - asock_cb.on_data_read = &asock_on_data_read; - status = pj_activesock_create(st->pool, newsock, pj_SOCK_STREAM(), NULL, - st->ioqueue, &asock_cb, st, &new_asock); - if (status != PJ_SUCCESS) { - goto on_return; - } - - /* Start reading data */ - read_buf[0] = st->read_buf; - status = pj_activesock_start_read2(new_asock, st->pool, - sizeof(st->read_buf), - (void**)read_buf, 0); - if (status != PJ_SUCCESS) { - app_perror("...ERROR pj_ssl_sock_start_read2()", status); - } - -on_return: - st->err = status; - - if (st->err != PJ_SUCCESS) - pj_activesock_close(new_asock); - - return PJ_TRUE; -} - - -/* Raw TCP socket try to connect to SSL socket server, once - * connection established, it will just do nothing, SSL socket - * server should be able to close the connection after specified - * timeout period (set ms_timeout to 0 to disable timer). - */ -static int client_non_ssl(unsigned ms_timeout) -{ - pj_pool_t *pool = NULL; - pj_ioqueue_t *ioqueue = NULL; - pj_timer_heap_t *timer = NULL; - pj_ssl_sock_t *ssock_serv = NULL; - pj_activesock_t *asock_cli = NULL; - pj_activesock_cb asock_cb = { 0 }; - pj_sock_t sock = PJ_INVALID_SOCKET; - pj_ssl_sock_param param; - struct test_state state_serv = { 0 }; - struct test_state state_cli = { 0 }; - pj_sockaddr listen_addr; - pj_ssl_cert_t *cert = NULL; - pj_status_t status; - - pool = pj_pool_create(mem, "ssl_accept_raw_tcp", 256, 256, NULL); - - status = pj_ioqueue_create(pool, 4, &ioqueue); - if (status != PJ_SUCCESS) { - goto on_return; - } - - status = pj_timer_heap_create(pool, 4, &timer); - if (status != PJ_SUCCESS) { - goto on_return; - } - - /* Set cert */ - { - pj_str_t tmp1, tmp2, tmp3, tmp4; - status = pj_ssl_cert_load_from_files(pool, - pj_strset2(&tmp1, (char*)CERT_CA_FILE), - pj_strset2(&tmp2, (char*)CERT_FILE), - pj_strset2(&tmp3, (char*)CERT_PRIVKEY_FILE), - pj_strset2(&tmp4, (char*)CERT_PRIVKEY_PASS), - &cert); - if (status != PJ_SUCCESS) { - goto on_return; - } - } - - pj_ssl_sock_param_default(¶m); - param.cb.on_accept_complete = &ssl_on_accept_complete; - param.cb.on_data_read = &ssl_on_data_read; - param.cb.on_data_sent = &ssl_on_data_sent; - param.ioqueue = ioqueue; - param.timer_heap = timer; - param.timeout.sec = 0; - param.timeout.msec = ms_timeout; - pj_time_val_normalize(¶m.timeout); - - /* SERVER */ - param.user_data = &state_serv; - state_serv.pool = pool; - state_serv.is_server = PJ_TRUE; - state_serv.is_verbose = PJ_TRUE; - - status = pj_ssl_sock_create(pool, ¶m, &ssock_serv); - if (status != PJ_SUCCESS) { - goto on_return; - } - - status = pj_ssl_sock_set_certificate(ssock_serv, pool, cert); - if (status != PJ_SUCCESS) { - goto on_return; - } - - /* Init bind address */ - { - pj_str_t tmp_st; - pj_sockaddr_init(PJ_AF_INET, &listen_addr, pj_strset2(&tmp_st, "127.0.0.1"), 0); - } - - status = pj_ssl_sock_start_accept(ssock_serv, pool, &listen_addr, pj_sockaddr_get_len(&listen_addr)); - if (status != PJ_SUCCESS) { - goto on_return; - } - - /* Update listener address */ - { - pj_ssl_sock_info info; - - pj_ssl_sock_get_info(ssock_serv, &info); - pj_sockaddr_cp(&listen_addr, &info.local_addr); - } - - /* CLIENT */ - state_cli.pool = pool; - status = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, &sock); - if (status != PJ_SUCCESS) { - goto on_return; - } - - asock_cb.on_connect_complete = &asock_on_connect_complete; - asock_cb.on_data_read = &asock_on_data_read; - status = pj_activesock_create(pool, sock, pj_SOCK_STREAM(), NULL, - ioqueue, &asock_cb, &state_cli, &asock_cli); - if (status != PJ_SUCCESS) { - goto on_return; - } - - status = pj_activesock_start_connect(asock_cli, pool, (pj_sockaddr_t*)&listen_addr, - pj_sockaddr_get_len(&listen_addr)); - if (status == PJ_SUCCESS) { - asock_on_connect_complete(asock_cli, PJ_SUCCESS); - } else if (status == PJ_EPENDING) { - status = PJ_SUCCESS; - } else { - goto on_return; - } - - /* Wait until everything has been sent/received or error */ - while (!state_serv.err && !state_cli.err && !state_serv.done && !state_cli.done) - { -#ifdef PJ_SYMBIAN - pj_symbianos_poll(-1, 1000); -#else - pj_time_val delay = {0, 100}; - pj_ioqueue_poll(ioqueue, &delay); - pj_timer_heap_poll(timer, &delay); -#endif - } - - if (state_serv.err || state_cli.err) { - if (state_serv.err != PJ_SUCCESS) - status = state_serv.err; - else - status = state_cli.err; - - goto on_return; - } - - PJ_LOG(3, ("", "...Done!")); - -on_return: - if (ssock_serv) - pj_ssl_sock_close(ssock_serv); - if (asock_cli && !state_cli.err && !state_cli.done) - pj_activesock_close(asock_cli); - if (timer) - pj_timer_heap_destroy(timer); - if (ioqueue) - pj_ioqueue_destroy(ioqueue); - if (pool) - pj_pool_release(pool); - - return status; -} - - -/* SSL socket try to connect to raw TCP socket server, once - * connection established, SSL socket will try to perform SSL - * handshake. SSL client socket should be able to close the - * connection after specified timeout period (set ms_timeout to - * 0 to disable timer). - */ -static int server_non_ssl(unsigned ms_timeout) -{ - pj_pool_t *pool = NULL; - pj_ioqueue_t *ioqueue = NULL; - pj_timer_heap_t *timer = NULL; - pj_activesock_t *asock_serv = NULL; - pj_ssl_sock_t *ssock_cli = NULL; - pj_activesock_cb asock_cb = { 0 }; - pj_sock_t sock = PJ_INVALID_SOCKET; - pj_ssl_sock_param param; - struct test_state state_serv = { 0 }; - struct test_state state_cli = { 0 }; - pj_sockaddr addr, listen_addr; - pj_status_t status; - - pool = pj_pool_create(mem, "ssl_connect_raw_tcp", 256, 256, NULL); - - status = pj_ioqueue_create(pool, 4, &ioqueue); - if (status != PJ_SUCCESS) { - goto on_return; - } - - status = pj_timer_heap_create(pool, 4, &timer); - if (status != PJ_SUCCESS) { - goto on_return; - } - - /* SERVER */ - state_serv.pool = pool; - state_serv.ioqueue = ioqueue; - - status = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, &sock); - if (status != PJ_SUCCESS) { - goto on_return; - } - - /* Init bind address */ - { - pj_str_t tmp_st; - pj_sockaddr_init(PJ_AF_INET, &listen_addr, pj_strset2(&tmp_st, "127.0.0.1"), 0); - } - - status = pj_sock_bind(sock, (pj_sockaddr_t*)&listen_addr, - pj_sockaddr_get_len((pj_sockaddr_t*)&listen_addr)); - if (status != PJ_SUCCESS) { - goto on_return; - } - - status = pj_sock_listen(sock, PJ_SOMAXCONN); - if (status != PJ_SUCCESS) { - goto on_return; - } - - asock_cb.on_accept_complete = &asock_on_accept_complete; - status = pj_activesock_create(pool, sock, pj_SOCK_STREAM(), NULL, - ioqueue, &asock_cb, &state_serv, &asock_serv); - if (status != PJ_SUCCESS) { - goto on_return; - } - - status = pj_activesock_start_accept(asock_serv, pool); - if (status != PJ_SUCCESS) - goto on_return; - - /* Update listener address */ - { - int addr_len; - - addr_len = sizeof(listen_addr); - pj_sock_getsockname(sock, (pj_sockaddr_t*)&listen_addr, &addr_len); - } - - /* CLIENT */ - pj_ssl_sock_param_default(¶m); - param.cb.on_connect_complete = &ssl_on_connect_complete; - param.cb.on_data_read = &ssl_on_data_read; - param.cb.on_data_sent = &ssl_on_data_sent; - param.ioqueue = ioqueue; - param.timer_heap = timer; - param.timeout.sec = 0; - param.timeout.msec = ms_timeout; - pj_time_val_normalize(¶m.timeout); - param.user_data = &state_cli; - - state_cli.pool = pool; - state_cli.is_server = PJ_FALSE; - state_cli.is_verbose = PJ_TRUE; - - status = pj_ssl_sock_create(pool, ¶m, &ssock_cli); - if (status != PJ_SUCCESS) { - goto on_return; - } - - /* Init default bind address */ - { - pj_str_t tmp_st; - pj_sockaddr_init(PJ_AF_INET, &addr, pj_strset2(&tmp_st, "127.0.0.1"), 0); - } - - status = pj_ssl_sock_start_connect(ssock_cli, pool, - (pj_sockaddr_t*)&addr, - (pj_sockaddr_t*)&listen_addr, - pj_sockaddr_get_len(&listen_addr)); - if (status != PJ_EPENDING) { - goto on_return; - } - - /* Wait until everything has been sent/received or error */ - while ((!state_serv.err && !state_serv.done) || (!state_cli.err && !state_cli.done)) - { -#ifdef PJ_SYMBIAN - pj_symbianos_poll(-1, 1000); -#else - pj_time_val delay = {0, 100}; - pj_ioqueue_poll(ioqueue, &delay); - pj_timer_heap_poll(timer, &delay); -#endif - } - - if (state_serv.err || state_cli.err) { - if (state_cli.err != PJ_SUCCESS) - status = state_cli.err; - else - status = state_serv.err; - - goto on_return; - } - - PJ_LOG(3, ("", "...Done!")); - -on_return: - if (asock_serv) - pj_activesock_close(asock_serv); - if (ssock_cli && !state_cli.err && !state_cli.done) - pj_ssl_sock_close(ssock_cli); - if (timer) - pj_timer_heap_destroy(timer); - if (ioqueue) - pj_ioqueue_destroy(ioqueue); - if (pool) - pj_pool_release(pool); - - return status; -} - - -/* Test will perform multiple clients trying to connect to single server. - * Once SSL connection established, echo test will be performed. - */ -static int perf_test(unsigned clients, unsigned ms_handshake_timeout) -{ - pj_pool_t *pool = NULL; - pj_ioqueue_t *ioqueue = NULL; - pj_timer_heap_t *timer = NULL; - pj_ssl_sock_t *ssock_serv = NULL; - pj_ssl_sock_t **ssock_cli = NULL; - pj_ssl_sock_param param; - struct test_state state_serv = { 0 }; - struct test_state *state_cli = NULL; - pj_sockaddr addr, listen_addr; - pj_ssl_cert_t *cert = NULL; - pj_status_t status; - unsigned i, cli_err = 0, tot_sent = 0, tot_recv = 0; - pj_time_val start; - - pool = pj_pool_create(mem, "ssl_perf", 256, 256, NULL); - - status = pj_ioqueue_create(pool, PJ_IOQUEUE_MAX_HANDLES, &ioqueue); - if (status != PJ_SUCCESS) { - goto on_return; - } - - status = pj_timer_heap_create(pool, PJ_IOQUEUE_MAX_HANDLES, &timer); - if (status != PJ_SUCCESS) { - goto on_return; - } - - /* Set cert */ - { - pj_str_t tmp1, tmp2, tmp3, tmp4; - - status = pj_ssl_cert_load_from_files(pool, - pj_strset2(&tmp1, (char*)CERT_CA_FILE), - pj_strset2(&tmp2, (char*)CERT_FILE), - pj_strset2(&tmp3, (char*)CERT_PRIVKEY_FILE), - pj_strset2(&tmp4, (char*)CERT_PRIVKEY_PASS), - &cert); - if (status != PJ_SUCCESS) { - goto on_return; - } - } - - pj_ssl_sock_param_default(¶m); - param.cb.on_accept_complete = &ssl_on_accept_complete; - param.cb.on_connect_complete = &ssl_on_connect_complete; - param.cb.on_data_read = &ssl_on_data_read; - param.cb.on_data_sent = &ssl_on_data_sent; - param.ioqueue = ioqueue; - param.timer_heap = timer; - param.timeout.sec = 0; - param.timeout.msec = ms_handshake_timeout; - pj_time_val_normalize(¶m.timeout); - - /* Init default bind address */ - { - pj_str_t tmp_st; - pj_sockaddr_init(PJ_AF_INET, &addr, pj_strset2(&tmp_st, "127.0.0.1"), 0); - } - - /* SERVER */ - param.user_data = &state_serv; - - state_serv.pool = pool; - state_serv.echo = PJ_TRUE; - state_serv.is_server = PJ_TRUE; - - status = pj_ssl_sock_create(pool, ¶m, &ssock_serv); - if (status != PJ_SUCCESS) { - goto on_return; - } - - status = pj_ssl_sock_set_certificate(ssock_serv, pool, cert); - if (status != PJ_SUCCESS) { - goto on_return; - } - - status = pj_ssl_sock_start_accept(ssock_serv, pool, &addr, pj_sockaddr_get_len(&addr)); - if (status != PJ_SUCCESS) { - goto on_return; - } - - /* Get listening address for clients to connect to */ - { - pj_ssl_sock_info info; - char buf[64]; - - pj_ssl_sock_get_info(ssock_serv, &info); - pj_sockaddr_cp(&listen_addr, &info.local_addr); - - pj_sockaddr_print((pj_sockaddr_t*)&listen_addr, buf, sizeof(buf), 1); - PJ_LOG(3, ("", "...Listener ready at %s", buf)); - } - - - /* CLIENTS */ - clients_num = clients; - param.timeout.sec = 0; - param.timeout.msec = 0; - - /* Init random seed */ - { - pj_time_val now; - - pj_gettimeofday(&now); - pj_srand((unsigned)now.sec); - } - - /* Allocate SSL socket pointers and test state */ - ssock_cli = (pj_ssl_sock_t**)pj_pool_calloc(pool, clients, sizeof(pj_ssl_sock_t*)); - state_cli = (struct test_state*)pj_pool_calloc(pool, clients, sizeof(struct test_state)); - - /* Get start timestamp */ - pj_gettimeofday(&start); - - /* Setup clients */ - for (i = 0; i < clients; ++i) { - param.user_data = &state_cli[i]; - - state_cli[i].pool = pool; - state_cli[i].check_echo = PJ_TRUE; - state_cli[i].send_str_len = (pj_rand() % 5 + 1) * 1024 + pj_rand() % 1024; - state_cli[i].send_str = (char*)pj_pool_alloc(pool, state_cli[i].send_str_len); - { - unsigned j; - for (j = 0; j < state_cli[i].send_str_len; ++j) - state_cli[i].send_str[j] = (char)(pj_rand() % 256); - } - - status = pj_ssl_sock_create(pool, ¶m, &ssock_cli[i]); - if (status != PJ_SUCCESS) { - app_perror("...ERROR pj_ssl_sock_create()", status); - cli_err++; - clients_num--; - continue; - } - - status = pj_ssl_sock_start_connect(ssock_cli[i], pool, &addr, &listen_addr, pj_sockaddr_get_len(&addr)); - if (status == PJ_SUCCESS) { - ssl_on_connect_complete(ssock_cli[i], PJ_SUCCESS); - } else if (status == PJ_EPENDING) { - status = PJ_SUCCESS; - } else { - app_perror("...ERROR pj_ssl_sock_create()", status); - pj_ssl_sock_close(ssock_cli[i]); - ssock_cli[i] = NULL; - clients_num--; - cli_err++; - continue; - } - - /* Give chance to server to accept this client */ - { - unsigned n = 5; - -#ifdef PJ_SYMBIAN - while(n && pj_symbianos_poll(-1, 1000)) - n--; -#else - pj_time_val delay = {0, 100}; - while(n && pj_ioqueue_poll(ioqueue, &delay) > 0) - n--; -#endif - } - } - - /* Wait until everything has been sent/received or error */ - while (clients_num) - { -#ifdef PJ_SYMBIAN - pj_symbianos_poll(-1, 1000); -#else - pj_time_val delay = {0, 100}; - pj_ioqueue_poll(ioqueue, &delay); - pj_timer_heap_poll(timer, &delay); -#endif - } - - /* Clean up sockets */ - { - pj_time_val delay = {0, 500}; - while (pj_ioqueue_poll(ioqueue, &delay) > 0); - } - - if (state_serv.err != PJ_SUCCESS) { - status = state_serv.err; - goto on_return; - } - - PJ_LOG(3, ("", "...Done!")); - - /* SSL setup and data transfer duration */ - { - pj_time_val stop; - - pj_gettimeofday(&stop); - PJ_TIME_VAL_SUB(stop, start); - - PJ_LOG(3, ("", ".....Setup & data transfer duration: %d.%03ds", stop.sec, stop.msec)); - } - - /* Check clients status */ - for (i = 0; i < clients; ++i) { - if (state_cli[i].err != PJ_SUCCESS) - cli_err++; - - tot_sent += state_cli[1].sent; - tot_recv += state_cli[1].recv; - } - - PJ_LOG(3, ("", ".....Clients: %d (%d errors)", clients, cli_err)); - PJ_LOG(3, ("", ".....Total sent/recv: %d/%d bytes", tot_sent, tot_recv)); - -on_return: - if (ssock_serv) - pj_ssl_sock_close(ssock_serv); - - for (i = 0; i < clients; ++i) { - if (ssock_cli[i] && !state_cli[i].err && !state_cli[i].done) - pj_ssl_sock_close(ssock_cli[i]); - } - if (ioqueue) - pj_ioqueue_destroy(ioqueue); - if (pool) - pj_pool_release(pool); - - return status; -} - - -int ssl_sock_test(void) -{ - int ret; - - PJ_LOG(3,("", "..get cipher list test")); - ret = get_cipher_list(); - if (ret != 0) - return ret; - - PJ_LOG(3,("", "..https client test")); - ret = https_client_test(30000); - // Ignore test result as internet connection may not be available. - //if (ret != 0) - //return ret; - -#ifndef PJ_SYMBIAN - - /* On Symbian platforms, SSL socket is implemented using CSecureSocket, - * and it hasn't supported server mode, so exclude the following tests, - * which require SSL server, for now. - */ - - PJ_LOG(3,("", "..echo test w/ TLSv1 and PJ_TLS_RSA_WITH_DES_CBC_SHA cipher")); - ret = echo_test(PJ_SSL_SOCK_PROTO_TLS1, PJ_SSL_SOCK_PROTO_TLS1, - PJ_TLS_RSA_WITH_DES_CBC_SHA, PJ_TLS_RSA_WITH_DES_CBC_SHA, - PJ_FALSE, PJ_FALSE); - if (ret != 0) - return ret; - - PJ_LOG(3,("", "..echo test w/ SSLv23 and PJ_TLS_RSA_WITH_AES_256_CBC_SHA cipher")); - ret = echo_test(PJ_SSL_SOCK_PROTO_SSL23, PJ_SSL_SOCK_PROTO_SSL23, - PJ_TLS_RSA_WITH_AES_256_CBC_SHA, PJ_TLS_RSA_WITH_AES_256_CBC_SHA, - PJ_FALSE, PJ_FALSE); - if (ret != 0) - return ret; - - PJ_LOG(3,("", "..echo test w/ incompatible proto")); - ret = echo_test(PJ_SSL_SOCK_PROTO_TLS1, PJ_SSL_SOCK_PROTO_SSL3, - PJ_TLS_RSA_WITH_DES_CBC_SHA, PJ_TLS_RSA_WITH_DES_CBC_SHA, - PJ_FALSE, PJ_FALSE); - if (ret == 0) - return PJ_EBUG; - - PJ_LOG(3,("", "..echo test w/ incompatible ciphers")); - ret = echo_test(PJ_SSL_SOCK_PROTO_DEFAULT, PJ_SSL_SOCK_PROTO_DEFAULT, - PJ_TLS_RSA_WITH_DES_CBC_SHA, PJ_TLS_RSA_WITH_AES_256_CBC_SHA, - PJ_FALSE, PJ_FALSE); - if (ret == 0) - return PJ_EBUG; - - PJ_LOG(3,("", "..echo test w/ client cert required but not provided")); - ret = echo_test(PJ_SSL_SOCK_PROTO_DEFAULT, PJ_SSL_SOCK_PROTO_DEFAULT, - PJ_TLS_RSA_WITH_AES_256_CBC_SHA, PJ_TLS_RSA_WITH_AES_256_CBC_SHA, - PJ_TRUE, PJ_FALSE); - if (ret == 0) - return PJ_EBUG; - - PJ_LOG(3,("", "..echo test w/ client cert required and provided")); - ret = echo_test(PJ_SSL_SOCK_PROTO_DEFAULT, PJ_SSL_SOCK_PROTO_DEFAULT, - PJ_TLS_RSA_WITH_AES_256_CBC_SHA, PJ_TLS_RSA_WITH_AES_256_CBC_SHA, - PJ_TRUE, PJ_TRUE); - if (ret != 0) - return ret; - - PJ_LOG(3,("", "..performance test")); - ret = perf_test(PJ_IOQUEUE_MAX_HANDLES/2 - 1, 0); - if (ret != 0) - return ret; - - PJ_LOG(3,("", "..client non-SSL (handshake timeout 5 secs)")); - ret = client_non_ssl(5000); - /* PJ_TIMEDOUT won't be returned as accepted socket is deleted silently */ - if (ret != 0) - return ret; - -#endif - - PJ_LOG(3,("", "..server non-SSL (handshake timeout 5 secs)")); - ret = server_non_ssl(5000); - if (ret != PJ_ETIMEDOUT) - return ret; - - return 0; -} - -#else /* INCLUDE_SSLSOCK_TEST */ -/* To prevent warning about "translation unit is empty" - * when this test is disabled. - */ -int dummy_ssl_sock_test; -#endif /* INCLUDE_SSLSOCK_TEST */ - diff --git a/res/pjproject/pjlib/src/pjlib-test/string.c b/res/pjproject/pjlib/src/pjlib-test/string.c deleted file mode 100644 index 5a5c394825..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/string.c +++ /dev/null @@ -1,438 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include "test.h" - -#define THIS_FILE "string.c" - -/** - * \page page_pjlib_string_test Test: String - * - * This file provides implementation of \b string_test(). It tests the - * functionality of the string API. - * - * \section sleep_test_sec Scope of the Test - * - * API tested: - * - pj_str() - * - pj_strcmp() - * - pj_strcmp2() - * - pj_stricmp() - * - pj_strlen() - * - pj_strncmp() - * - pj_strnicmp() - * - pj_strchr() - * - pj_strdup() - * - pj_strdup2() - * - pj_strcpy() - * - pj_strcat() - * - pj_strtrim() - * - pj_utoa() - * - pj_strtoul() - * - pj_strtoul2() - * - pj_create_random_string() - * - ... and mode.. - * - * This file is pjlib-test/string.c - * - * \include pjlib-test/string.c - */ - -#if INCLUDE_STRING_TEST - -#ifdef _MSC_VER -# pragma warning(disable: 4204) -#endif - -#define HELLO_WORLD "Hello World" -#define HELLO_WORLD_LEN 11 -#define JUST_HELLO "Hello" -#define JUST_HELLO_LEN 5 -#define UL_VALUE 3456789012UL - -#if 1 -/* See if both integers have the same sign */ -PJ_INLINE(int) cmp(const char *expr, int i, int j) -{ - int r = !((i>0 && j>0) || (i<0 && j<0) || (i==0 && j==0)); - if (r) { - PJ_LOG(3,(THIS_FILE," error: %s: expecting %d, got %d", expr, j, i)); - } - return r; -} -#else -/* For strict comparison, must be equal */ -PJ_INLINE(int) cmp(const char *expr, int i, int j) -{ - PJ_UNUSED_ARG(expr); - return i!=j; -} -#endif - -#define C(expr, res) cmp(#expr, expr, res) - -static int stricmp_test(void) -{ -/* This specificly tests and benchmark pj_stricmp(), pj_stricmp_alnum(). - * In addition, it also tests pj_stricmp2(), pj_strnicmp(), and - * pj_strnicmp2(). - */ -#define STRTEST(res,res2,S1,S2,code) \ - do { \ - s1.ptr=S1; s1.slen=(S1)?len:0; \ - s2.ptr=S2; s2.slen=(S2)?len:0; \ - pj_get_timestamp(&t1); \ - if (C(pj_stricmp(&s1,&s2),res)) return code; \ - pj_get_timestamp(&t2); \ - pj_sub_timestamp(&t2, &t1); \ - pj_add_timestamp(&e1, &t2); \ - pj_get_timestamp(&t1); \ - if (C(pj_stricmp_alnum(&s1,&s2),res)) return code-1; \ - pj_get_timestamp(&t2); \ - pj_sub_timestamp(&t2, &t1); \ - pj_add_timestamp(&e2, &t2); \ - if (C(pj_stricmp2(&s1,S2),res2)) return code*10; \ - if (C(pj_strnicmp(&s1,&s2,len),res)) return code*100; \ - if (C(pj_strnicmp2(&s1,S2,len),res)) return code*1000; \ - } while (0) - - char *buf; - pj_str_t s1, s2; - pj_timestamp t1, t2, e1, e2, zero; - pj_uint32_t c1, c2; - int len; - - e1.u32.hi = e1.u32.lo = e2.u32.hi = e2.u32.lo = 0; - - pj_thread_sleep(0); - -#define SNULL 0 - - /* Compare empty strings. */ - len=0; - STRTEST( 0, 0, "","",-500); - STRTEST( 0, 0, SNULL,"",-502); - STRTEST( 0, 0, "",SNULL,-504); - STRTEST( 0, 0, SNULL,SNULL,-506); - STRTEST( 0, -1, "hello","world",-508); - - /* equal, length=1 - * use buffer to simulate non-aligned string. - */ - buf = "a""A"; - len=1; - STRTEST( 0, -1, "a",buf+0,-510); - STRTEST( 0, 0, "a",buf+1,-512); - STRTEST(-1, -1, "O", "P", -514); - STRTEST(-1, -1, SNULL, "a", -516); - STRTEST( 1, 1, "a", SNULL, -518); - - /* equal, length=2 - * use buffer to simulate non-aligned string. - */ - buf = "aa""Aa""aA""AA"; - len=2; - STRTEST( 0, -1, "aa",buf+0,-520); - STRTEST( 0, -1, "aa",buf+2,-522); - STRTEST( 0, -1, "aa",buf+4,-524); - STRTEST( 0, 0, "aa",buf+6,-524); - - /* equal, length=3 - * use buffer to simulate non-aligned string. - */ - buf = "aaa""Aaa""aAa""aaA""AAa""aAA""AaA""AAA"; - len=3; - STRTEST( 0, -1, "aaa",buf+0,-530); - STRTEST( 0, -1, "aaa",buf+3,-532); - STRTEST( 0, -1, "aaa",buf+6,-534); - STRTEST( 0, -1, "aaa",buf+9,-536); - STRTEST( 0, -1, "aaa",buf+12,-538); - STRTEST( 0, -1, "aaa",buf+15,-540); - STRTEST( 0, -1, "aaa",buf+18,-542); - STRTEST( 0, 0, "aaa",buf+21,-534); - - /* equal, length=4 */ - len=4; - STRTEST( 0, 0, "aaaa","aaaa",-540); - STRTEST( 0, 0, "aaaa","Aaaa",-542); - STRTEST( 0, 0, "aaaa","aAaa",-544); - STRTEST( 0, 0, "aaaa","aaAa",-546); - STRTEST( 0, 0, "aaaa","aaaA",-548); - STRTEST( 0, 0, "aaaa","AAaa",-550); - STRTEST( 0, 0, "aaaa","aAAa",-552); - STRTEST( 0, 0, "aaaa","aaAA",-554); - STRTEST( 0, 0, "aaaa","AaAa",-556); - STRTEST( 0, 0, "aaaa","aAaA",-558); - STRTEST( 0, 0, "aaaa","AaaA",-560); - STRTEST( 0, 0, "aaaa","AAAa",-562); - STRTEST( 0, 0, "aaaa","aAAA",-564); - STRTEST( 0, 0, "aaaa","AAaA",-566); - STRTEST( 0, 0, "aaaa","AaAA",-568); - STRTEST( 0, 0, "aaaa","AAAA",-570); - - /* equal, length=5 */ - buf = "aaaAa""AaaaA""AaAaA""AAAAA"; - len=5; - STRTEST( 0, -1, "aaaaa",buf+0,-580); - STRTEST( 0, -1, "aaaaa",buf+5,-582); - STRTEST( 0, -1, "aaaaa",buf+10,-584); - STRTEST( 0, 0, "aaaaa",buf+15,-586); - - /* not equal, length=1 */ - len=1; - STRTEST( -1, -1, "a", "b", -600); - - /* not equal, length=2 */ - buf = "ab""ba"; - len=2; - STRTEST( -1, -1, "aa", buf+0, -610); - STRTEST( -1, -1, "aa", buf+2, -612); - - /* not equal, length=3 */ - buf = "aab""aba""baa"; - len=3; - STRTEST( -1, -1, "aaa", buf+0, -620); - STRTEST( -1, -1, "aaa", buf+3, -622); - STRTEST( -1, -1, "aaa", buf+6, -624); - - /* not equal, length=4 */ - buf = "aaab""aaba""abaa""baaa"; - len=4; - STRTEST( -1, -1, "aaaa", buf+0, -630); - STRTEST( -1, -1, "aaaa", buf+4, -632); - STRTEST( -1, -1, "aaaa", buf+8, -634); - STRTEST( -1, -1, "aaaa", buf+12, -636); - - /* not equal, length=5 */ - buf="aaaab""aaaba""aabaa""abaaa""baaaa"; - len=5; - STRTEST( -1, -1, "aaaaa", buf+0, -640); - STRTEST( -1, -1, "aaaaa", buf+5, -642); - STRTEST( -1, -1, "aaaaa", buf+10, -644); - STRTEST( -1, -1, "aaaaa", buf+15, -646); - STRTEST( -1, -1, "aaaaa", buf+20, -648); - - zero.u32.hi = zero.u32.lo = 0; - c1 = pj_elapsed_cycle(&zero, &e1); - c2 = pj_elapsed_cycle(&zero, &e2); - - if (c1 < c2) { - PJ_LOG(3,("", " info: pj_stricmp_alnum is slower than pj_stricmp!")); - //return -700; - } - - /* Avoid division by zero */ - if (c2 == 0) c2=1; - - PJ_LOG(3, ("", " time: stricmp=%u, stricmp_alnum=%u (speedup=%d.%02dx)", - c1, c2, - (c1 * 100 / c2) / 100, - (c1 * 100 / c2) % 100)); - return 0; -#undef STRTEST -} - -/* This tests pj_strcmp(), pj_strcmp2(), pj_strncmp(), pj_strncmp2() */ -static int strcmp_test(void) -{ -#define STR_TEST(res,S1,S2,code) \ - do { \ - s1.ptr=S1; s1.slen=S1?len:0; \ - s2.ptr=S2; s2.slen=S2?len:0; \ - if (C(pj_strcmp(&s1,&s2),res)) return code; \ - if (C(pj_strcmp2(&s1,S2),res)) return code-1; \ - if (C(pj_strncmp(&s1,&s2,len),res)) return code-2; \ - if (C(pj_strncmp2(&s1,S2,len),res)) return code-3; \ - } while (0) - - pj_str_t s1, s2; - int len; - - /* Test with length == 0 */ - len=0; - STR_TEST(0, "", "", -400); - STR_TEST(0, SNULL, "", -405); - STR_TEST(0, "", SNULL, -410); - STR_TEST(0, SNULL, SNULL, -415); - STR_TEST(0, "hello", "", -420); - STR_TEST(0, "hello", SNULL, -425); - - /* Test with length != 0 */ - len = 2; - STR_TEST(0, "12", "12", -430); - STR_TEST(1, "12", "1", -435); - STR_TEST(-1, "1", "12", -440); - STR_TEST(-1, SNULL, "12", -445); - STR_TEST(1, "12", SNULL, -450); - - return 0; - -#undef STR_TEST -} - -int string_test(void) -{ - const pj_str_t hello_world = { HELLO_WORLD, HELLO_WORLD_LEN }; - const pj_str_t just_hello = { JUST_HELLO, JUST_HELLO_LEN }; - pj_str_t s1, s2, s3, s4, s5; - enum { RCOUNT = 10, RLEN = 16 }; - pj_str_t random[RCOUNT]; - pj_pool_t *pool; - int i; - - pool = pj_pool_create(mem, SNULL, 4096, 0, SNULL); - if (!pool) return -5; - - /* - * pj_str(), pj_strcmp(), pj_stricmp(), pj_strlen(), - * pj_strncmp(), pj_strchr() - */ - s1 = pj_str(HELLO_WORLD); - if (pj_strcmp(&s1, &hello_world) != 0) - return -10; - if (pj_stricmp(&s1, &hello_world) != 0) - return -20; - if (pj_strcmp(&s1, &just_hello) <= 0) - return -30; - if (pj_stricmp(&s1, &just_hello) <= 0) - return -40; - if (pj_strlen(&s1) != strlen(HELLO_WORLD)) - return -50; - if (pj_strncmp(&s1, &hello_world, 5) != 0) - return -60; - if (pj_strnicmp(&s1, &hello_world, 5) != 0) - return -70; - if (pj_strchr(&s1, HELLO_WORLD[1]) != s1.ptr+1) - return -80; - - /* - * pj_strdup() - */ - if (!pj_strdup(pool, &s2, &s1)) - return -100; - if (pj_strcmp(&s1, &s2) != 0) - return -110; - - /* - * pj_strcpy(), pj_strcat() - */ - s3.ptr = (char*) pj_pool_alloc(pool, 256); - if (!s3.ptr) - return -200; - pj_strcpy(&s3, &s2); - pj_strcat(&s3, &just_hello); - - if (pj_strcmp2(&s3, HELLO_WORLD JUST_HELLO) != 0) - return -210; - - /* - * pj_strdup2(), pj_strtrim(). - */ - pj_strdup2(pool, &s4, " " HELLO_WORLD "\t "); - pj_strtrim(&s4); - if (pj_strcmp2(&s4, HELLO_WORLD) != 0) - return -250; - - /* - * pj_utoa() - */ - s5.ptr = (char*) pj_pool_alloc(pool, 16); - if (!s5.ptr) - return -270; - s5.slen = pj_utoa(UL_VALUE, s5.ptr); - - /* - * pj_strtoul() - */ - if (pj_strtoul(&s5) != UL_VALUE) - return -280; - - /* - * pj_strtoul2() - */ - s5 = pj_str("123456"); - - pj_strtoul2(&s5, SNULL, 10); /* Crash test */ - - if (pj_strtoul2(&s5, &s4, 10) != 123456UL) - return -290; - if (s4.slen != 0) - return -291; - if (pj_strtoul2(&s5, &s4, 16) != 0x123456UL) - return -292; - - s5 = pj_str("0123ABCD"); - if (pj_strtoul2(&s5, &s4, 10) != 123) - return -293; - if (s4.slen != 4) - return -294; - if (s4.ptr == SNULL || *s4.ptr != 'A') - return -295; - if (pj_strtoul2(&s5, &s4, 16) != 0x123ABCDUL) - return -296; - if (s4.slen != 0) - return -297; - - /* - * pj_create_random_string() - * Check that no duplicate strings are returned. - */ - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#ifdef _MSC_VER -# pragma warning(disable:4127) -#endif - -#define DO_TEST(test) do { \ - PJ_LOG(3, ("test", "Running %s...", #test)); \ - rc = test; \ - PJ_LOG(3, ("test", \ - "%s(%d)", \ - (rc ? "..ERROR" : "..success"), rc)); \ - if (rc!=0) goto on_return; \ - } while (0) - - -pj_pool_factory *mem; - -int param_echo_sock_type; -const char *param_echo_server = ECHO_SERVER_ADDRESS; -int param_echo_port = ECHO_SERVER_START_PORT; -int param_log_decor = PJ_LOG_HAS_NEWLINE | PJ_LOG_HAS_TIME | - PJ_LOG_HAS_MICRO_SEC; - -int null_func() -{ - return 0; -} - -int test_inner(void) -{ - pj_caching_pool caching_pool; - const char *filename; - int line; - int rc = 0; - - mem = &caching_pool.factory; - - pj_log_set_level(3); - pj_log_set_decor(param_log_decor); - - rc = pj_init(); - if (rc != 0) { - app_perror("pj_init() error!!", rc); - return rc; - } - - //pj_dump_config(); - pj_caching_pool_init( &caching_pool, NULL, 0 ); - -#if INCLUDE_ERRNO_TEST - DO_TEST( errno_test() ); -#endif - -#if INCLUDE_EXCEPTION_TEST - DO_TEST( exception_test() ); -#endif - -#if INCLUDE_OS_TEST - DO_TEST( os_test() ); -#endif - -#if INCLUDE_RAND_TEST - DO_TEST( rand_test() ); -#endif - -#if INCLUDE_LIST_TEST - DO_TEST( list_test() ); -#endif - -#if INCLUDE_POOL_TEST - DO_TEST( pool_test() ); -#endif - -#if INCLUDE_POOL_PERF_TEST - DO_TEST( pool_perf_test() ); -#endif - -#if INCLUDE_STRING_TEST - DO_TEST( string_test() ); -#endif - -#if INCLUDE_FIFOBUF_TEST - DO_TEST( fifobuf_test() ); -#endif - -#if INCLUDE_RBTREE_TEST - DO_TEST( rbtree_test() ); -#endif - -#if INCLUDE_HASH_TEST - DO_TEST( hash_test() ); -#endif - -#if INCLUDE_TIMESTAMP_TEST - DO_TEST( timestamp_test() ); -#endif - -#if INCLUDE_ATOMIC_TEST - DO_TEST( atomic_test() ); -#endif - -#if INCLUDE_MUTEX_TEST - DO_TEST( mutex_test() ); -#endif - -#if INCLUDE_TIMER_TEST - DO_TEST( timer_test() ); -#endif - -#if INCLUDE_SLEEP_TEST - DO_TEST( sleep_test() ); -#endif - -#if INCLUDE_THREAD_TEST - DO_TEST( thread_test() ); -#endif - -#if INCLUDE_SOCK_TEST - DO_TEST( sock_test() ); -#endif - -#if INCLUDE_SOCK_PERF_TEST - DO_TEST( sock_perf_test() ); -#endif - -#if INCLUDE_SELECT_TEST - DO_TEST( select_test() ); -#endif - -#if INCLUDE_UDP_IOQUEUE_TEST - DO_TEST( udp_ioqueue_test() ); -#endif - -#if PJ_HAS_TCP && INCLUDE_TCP_IOQUEUE_TEST - DO_TEST( tcp_ioqueue_test() ); -#endif - -#if INCLUDE_IOQUEUE_PERF_TEST - DO_TEST( ioqueue_perf_test() ); -#endif - -#if INCLUDE_IOQUEUE_UNREG_TEST - DO_TEST( udp_ioqueue_unreg_test() ); -#endif - -#if INCLUDE_ACTIVESOCK_TEST - DO_TEST( activesock_test() ); -#endif - -#if INCLUDE_FILE_TEST - DO_TEST( file_test() ); -#endif - -#if INCLUDE_SSLSOCK_TEST - DO_TEST( ssl_sock_test() ); -#endif - -#if INCLUDE_ECHO_SERVER - //echo_server(); - //echo_srv_sync(); - udp_echo_srv_ioqueue(); - -#elif INCLUDE_ECHO_CLIENT - if (param_echo_sock_type == 0) - param_echo_sock_type = pj_SOCK_DGRAM(); - - echo_client( param_echo_sock_type, - param_echo_server, - param_echo_port); -#endif - - goto on_return; - -on_return: - - pj_caching_pool_destroy( &caching_pool ); - - PJ_LOG(3,("test", "")); - - pj_thread_get_stack_info(pj_thread_this(), &filename, &line); - PJ_LOG(3,("test", "Stack max usage: %u, deepest: %s:%u", - pj_thread_get_stack_max_usage(pj_thread_this()), - filename, line)); - if (rc == 0) - PJ_LOG(3,("test", "Looks like everything is okay!..")); - else - PJ_LOG(3,("test", "Test completed with error(s)")); - - pj_shutdown(); - - return 0; -} - -#include - -int test_main(void) -{ - int i; - PJ_USE_EXCEPTION; - - i = pj_AF_INET(); - - PJ_TRY { - return test_inner(); - } - PJ_CATCH_ANY { - int id = PJ_GET_EXCEPTION(); - PJ_LOG(3,("test", "FATAL: unhandled exception id %d (%s)", - id, pj_exception_id_name(id))); - } - PJ_END; - - return -1; -} diff --git a/res/pjproject/pjlib/src/pjlib-test/test.h b/res/pjproject/pjlib/src/pjlib-test/test.h deleted file mode 100644 index d86866d6b2..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/test.h +++ /dev/null @@ -1,129 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJLIB_TEST_H__ -#define __PJLIB_TEST_H__ - -#include - -#define GROUP_LIBC 1 -#define GROUP_OS 1 -#define GROUP_DATA_STRUCTURE 1 -#define GROUP_NETWORK 1 -#if defined(PJ_SYMBIAN) -# define GROUP_FILE 0 -#else -# define GROUP_FILE 1 -#endif - -#define INCLUDE_ERRNO_TEST GROUP_LIBC -#define INCLUDE_TIMESTAMP_TEST GROUP_OS -#define INCLUDE_EXCEPTION_TEST GROUP_LIBC -#define INCLUDE_RAND_TEST GROUP_LIBC -#define INCLUDE_LIST_TEST GROUP_DATA_STRUCTURE -#define INCLUDE_HASH_TEST GROUP_DATA_STRUCTURE -#define INCLUDE_POOL_TEST GROUP_LIBC -#define INCLUDE_POOL_PERF_TEST GROUP_LIBC -#define INCLUDE_STRING_TEST GROUP_DATA_STRUCTURE -#define INCLUDE_FIFOBUF_TEST 0 // GROUP_DATA_STRUCTURE -#define INCLUDE_RBTREE_TEST GROUP_DATA_STRUCTURE -#define INCLUDE_TIMER_TEST GROUP_DATA_STRUCTURE -#define INCLUDE_ATOMIC_TEST GROUP_OS -#define INCLUDE_MUTEX_TEST (PJ_HAS_THREADS && GROUP_OS) -#define INCLUDE_SLEEP_TEST GROUP_OS -#define INCLUDE_OS_TEST GROUP_OS -#define INCLUDE_THREAD_TEST (PJ_HAS_THREADS && GROUP_OS) -#define INCLUDE_SOCK_TEST GROUP_NETWORK -#define INCLUDE_SOCK_PERF_TEST GROUP_NETWORK -#define INCLUDE_SELECT_TEST GROUP_NETWORK -#define INCLUDE_UDP_IOQUEUE_TEST GROUP_NETWORK -#define INCLUDE_TCP_IOQUEUE_TEST GROUP_NETWORK -#define INCLUDE_ACTIVESOCK_TEST GROUP_NETWORK -#define INCLUDE_SSLSOCK_TEST (PJ_HAS_SSL_SOCK && GROUP_NETWORK) -#define INCLUDE_IOQUEUE_PERF_TEST (PJ_HAS_THREADS && GROUP_NETWORK) -#define INCLUDE_IOQUEUE_UNREG_TEST (PJ_HAS_THREADS && GROUP_NETWORK) -#define INCLUDE_FILE_TEST GROUP_FILE - -#define INCLUDE_ECHO_SERVER 0 -#define INCLUDE_ECHO_CLIENT 0 - - -#define ECHO_SERVER_MAX_THREADS 2 -#define ECHO_SERVER_START_PORT 65000 -#define ECHO_SERVER_ADDRESS "compaq.home" -#define ECHO_SERVER_DURATION_MSEC (60*60*1000) - -#define ECHO_CLIENT_MAX_THREADS 6 - -PJ_BEGIN_DECL - -extern int errno_test(void); -extern int timestamp_test(void); -extern int exception_test(void); -extern int rand_test(void); -extern int list_test(void); -extern int hash_test(void); -extern int os_test(void); -extern int pool_test(void); -extern int pool_perf_test(void); -extern int string_test(void); -extern int fifobuf_test(void); -extern int timer_test(void); -extern int rbtree_test(void); -extern int atomic_test(void); -extern int mutex_test(void); -extern int sleep_test(void); -extern int thread_test(void); -extern int sock_test(void); -extern int sock_perf_test(void); -extern int select_test(void); -extern int udp_ioqueue_test(void); -extern int udp_ioqueue_unreg_test(void); -extern int tcp_ioqueue_test(void); -extern int ioqueue_perf_test(void); -extern int activesock_test(void); -extern int file_test(void); -extern int ssl_sock_test(void); - -extern int echo_server(void); -extern int echo_client(int sock_type, const char *server, int port); - -extern int echo_srv_sync(void); -extern int udp_echo_srv_ioqueue(void); -extern int echo_srv_common_loop(pj_atomic_t *bytes_counter); - - -extern pj_pool_factory *mem; - -extern int test_main(void); -extern void app_perror(const char *msg, pj_status_t err); -extern pj_status_t app_socket(int family, int type, int proto, int port, - pj_sock_t *ptr_sock); -extern pj_status_t app_socketpair(int family, int type, int protocol, - pj_sock_t *server, pj_sock_t *client); -extern int null_func(void); - -//#define TRACE_(expr) PJ_LOG(3,expr) -#define TRACE_(expr) -#define HALT(msg) { PJ_LOG(3,(THIS_FILE,"%s halted",msg)); for(;;) sleep(1); } - -PJ_END_DECL - -#endif /* __PJLIB_TEST_H__ */ - diff --git a/res/pjproject/pjlib/src/pjlib-test/test_wrap.cpp b/res/pjproject/pjlib/src/pjlib-test/test_wrap.cpp deleted file mode 100644 index c5baab758b..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/test_wrap.cpp +++ /dev/null @@ -1,24 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * This file is a C++ wrapper, see ticket #886 for details. - */ - -#include "test.c" diff --git a/res/pjproject/pjlib/src/pjlib-test/thread.c b/res/pjproject/pjlib/src/pjlib-test/thread.c deleted file mode 100644 index 0c62b85c55..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/thread.c +++ /dev/null @@ -1,336 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" - -/** - * \page page_pjlib_thread_test Test: Thread Test - * - * This file contains \a thread_test() definition. - * - * \section thread_test_scope_sec Scope of Test - * This tests: - * - whether PJ_THREAD_SUSPENDED flag works. - * - whether multithreading works. - * - whether thread timeslicing works, and threads have equal - * time-slice proportion. - * - * APIs tested: - * - pj_thread_create() - * - pj_thread_register() - * - pj_thread_this() - * - pj_thread_get_name() - * - pj_thread_destroy() - * - pj_thread_resume() - * - pj_thread_sleep() - * - pj_thread_join() - * - pj_thread_destroy() - * - * - * This file is pjlib-test/thread.c - * - * \include pjlib-test/thread.c - */ -#if INCLUDE_THREAD_TEST - -#include - -#define THIS_FILE "thread_test" - -static volatile int quit_flag=0; - -#if 0 -# define TRACE__(args) PJ_LOG(3,args) -#else -# define TRACE__(args) -#endif - - -/* - * The thread's entry point. - * - * Each of the thread mainly will just execute the loop which - * increments a variable. - */ -static void* thread_proc(pj_uint32_t *pcounter) -{ - /* Test that pj_thread_register() works. */ - pj_thread_desc desc; - pj_thread_t *this_thread; - unsigned id; - pj_status_t rc; - - id = *pcounter; - TRACE__((THIS_FILE, " thread %d running..", id)); - - pj_bzero(desc, sizeof(desc)); - - rc = pj_thread_register("thread", desc, &this_thread); - if (rc != PJ_SUCCESS) { - app_perror("...error in pj_thread_register", rc); - return NULL; - } - - /* Test that pj_thread_this() works */ - this_thread = pj_thread_this(); - if (this_thread == NULL) { - PJ_LOG(3,(THIS_FILE, "...error: pj_thread_this() returns NULL!")); - return NULL; - } - - /* Test that pj_thread_get_name() works */ - if (pj_thread_get_name(this_thread) == NULL) { - PJ_LOG(3,(THIS_FILE, "...error: pj_thread_get_name() returns NULL!")); - return NULL; - } - - /* Main loop */ - for (;!quit_flag;) { - (*pcounter)++; - //Must sleep if platform doesn't do time-slicing. - //pj_thread_sleep(0); - } - - TRACE__((THIS_FILE, " thread %d quitting..", id)); - return NULL; -} - -/* - * simple_thread() - */ -static int simple_thread(const char *title, unsigned flags) -{ - pj_pool_t *pool; - pj_thread_t *thread; - pj_status_t rc; - pj_uint32_t counter = 0; - - PJ_LOG(3,(THIS_FILE, "..%s", title)); - - pool = pj_pool_create(mem, NULL, 4000, 4000, NULL); - if (!pool) - return -1000; - - quit_flag = 0; - - TRACE__((THIS_FILE, " Creating thread 0..")); - rc = pj_thread_create(pool, "thread", (pj_thread_proc*)&thread_proc, - &counter, - PJ_THREAD_DEFAULT_STACK_SIZE, - flags, - &thread); - - if (rc != PJ_SUCCESS) { - app_perror("...error: unable to create thread", rc); - return -1010; - } - - TRACE__((THIS_FILE, " Main thread waiting..")); - pj_thread_sleep(1500); - TRACE__((THIS_FILE, " Main thread resuming..")); - - if (flags & PJ_THREAD_SUSPENDED) { - - /* Check that counter is still zero */ - if (counter != 0) { - PJ_LOG(3,(THIS_FILE, "...error: thread is not suspended")); - return -1015; - } - - rc = pj_thread_resume(thread); - if (rc != PJ_SUCCESS) { - app_perror("...error: resume thread error", rc); - return -1020; - } - } - - PJ_LOG(3,(THIS_FILE, "..waiting for thread to quit..")); - - pj_thread_sleep(1500); - - quit_flag = 1; - pj_thread_join(thread); - - pj_pool_release(pool); - - if (counter == 0) { - PJ_LOG(3,(THIS_FILE, "...error: thread is not running")); - return -1025; - } - - PJ_LOG(3,(THIS_FILE, "...%s success", title)); - return PJ_SUCCESS; -} - - -/* - * timeslice_test() - */ -static int timeslice_test(void) -{ - enum { NUM_THREADS = 4 }; - pj_pool_t *pool; - pj_uint32_t counter[NUM_THREADS], lowest, highest, diff; - pj_thread_t *thread[NUM_THREADS]; - unsigned i; - pj_status_t rc; - - quit_flag = 0; - - pool = pj_pool_create(mem, NULL, 4000, 4000, NULL); - if (!pool) - return -10; - - PJ_LOG(3,(THIS_FILE, "..timeslice testing with %d threads", NUM_THREADS)); - - /* Create all threads in suspended mode. */ - for (i=0; i i) { - PJ_LOG(3,(THIS_FILE, "....ERROR! Thread %d-th is not suspended!", - i)); - return -30; - } - } - - /* Now resume all threads. */ - for (i=0; i highest) - highest = counter[i]; - } - - /* Check that all threads are running. */ - if (lowest < 2) { - PJ_LOG(3,(THIS_FILE, "...ERROR: not all threads were running!")); - return -70; - } - - /* The difference between lowest and higest should be lower than 50%. - */ - diff = (highest-lowest)*100 / ((highest+lowest)/2); - if ( diff >= 50) { - PJ_LOG(3,(THIS_FILE, - "...ERROR: thread didn't have equal timeslice!")); - PJ_LOG(3,(THIS_FILE, - ".....lowest counter=%u, highest counter=%u, diff=%u%%", - lowest, highest, diff)); - return -80; - } else { - PJ_LOG(3,(THIS_FILE, - "...info: timeslice diff between lowest & highest=%u%%", - diff)); - } - - pj_pool_release(pool); - return 0; -} - -int thread_test(void) -{ - int rc; - - rc = simple_thread("simple thread test", 0); - if (rc != PJ_SUCCESS) - return rc; - - rc = simple_thread("suspended thread test", PJ_THREAD_SUSPENDED); - if (rc != PJ_SUCCESS) - return rc; - - rc = timeslice_test(); - if (rc != PJ_SUCCESS) - return rc; - - return rc; -} - -#else -/* To prevent warning about "translation unit is empty" - * when this test is disabled. - */ -int dummy_thread_test; -#endif /* INCLUDE_THREAD_TEST */ - - diff --git a/res/pjproject/pjlib/src/pjlib-test/timer.c b/res/pjproject/pjlib/src/pjlib-test/timer.c deleted file mode 100644 index 9bc2a82faa..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/timer.c +++ /dev/null @@ -1,196 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" - -/** - * \page page_pjlib_timer_test Test: Timer - * - * This file provides implementation of \b timer_test(). It tests the - * functionality of the timer heap. - * - * - * This file is pjlib-test/timer.c - * - * \include pjlib-test/timer.c - */ - - -#if INCLUDE_TIMER_TEST - -#include - -#define LOOP 16 -#define MIN_COUNT 250 -#define MAX_COUNT (LOOP * MIN_COUNT) -#define MIN_DELAY 2 -#define D (MAX_COUNT / 32000) -#define DELAY (D < MIN_DELAY ? MIN_DELAY : D) -#define THIS_FILE "timer_test" - - -static void timer_callback(pj_timer_heap_t *ht, pj_timer_entry *e) -{ - PJ_UNUSED_ARG(ht); - PJ_UNUSED_ARG(e); -} - -static int test_timer_heap(void) -{ - int i, j; - pj_timer_entry *entry; - pj_pool_t *pool; - pj_timer_heap_t *timer; - pj_time_val delay; - pj_status_t rc; int err=0; - unsigned size, count; - - size = pj_timer_heap_mem_size(MAX_COUNT)+MAX_COUNT*sizeof(pj_timer_entry); - pool = pj_pool_create( mem, NULL, size, 4000, NULL); - if (!pool) { - PJ_LOG(3,("test", "...error: unable to create pool of %u bytes", - size)); - return -10; - } - - entry = (pj_timer_entry*)pj_pool_calloc(pool, MAX_COUNT, sizeof(*entry)); - if (!entry) - return -20; - - for (i=0; i 0) { - t_poll.u32.lo += (t2.u32.lo - t1.u32.lo); - early += rc; - } - } - - // Set the time where all timers should finish - pj_gettimeofday(&expire); - delay.sec = DELAY; - delay.msec = 0; - PJ_TIME_VAL_ADD(expire, delay); - - // Wait unfil all timers finish, cancel some of them. - do { - int index = pj_rand() % count; - pj_get_timestamp(&t1); - rc = pj_timer_heap_cancel(timer, &entry[index]); - pj_get_timestamp(&t2); - if (rc > 0) { - cancelled += rc; - t_cancel.u32.lo += (t2.u32.lo - t1.u32.lo); - } - - pj_gettimeofday(&now); - - pj_get_timestamp(&t1); -#if defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0 - /* On Symbian, we must use OS poll (Active Scheduler poll) since - * timer is implemented using Active Object. - */ - rc = 0; - while (pj_symbianos_poll(-1, 0)) - ++rc; -#else - rc = pj_timer_heap_poll(timer, NULL); -#endif - pj_get_timestamp(&t2); - if (rc > 0) { - done += rc; - t_poll.u32.lo += (t2.u32.lo - t1.u32.lo); - } - - } while (PJ_TIME_VAL_LTE(now, expire)&&pj_timer_heap_count(timer) > 0); - - if (pj_timer_heap_count(timer)) { - PJ_LOG(3, (THIS_FILE, "ERROR: %d timers left", - pj_timer_heap_count(timer))); - ++err; - } - t_sched.u32.lo /= count; - t_cancel.u32.lo /= count; - t_poll.u32.lo /= count; - PJ_LOG(4, (THIS_FILE, - "...ok (count:%d, early:%d, cancelled:%d, " - "sched:%d, cancel:%d poll:%d)", - count, early, cancelled, t_sched.u32.lo, t_cancel.u32.lo, - t_poll.u32.lo)); - - count = count * 2; - if (count > MAX_COUNT) - break; - } - - pj_pool_release(pool); - return err; -} - - -int timer_test() -{ - return test_timer_heap(); -} - -#else -/* To prevent warning about "translation unit is empty" - * when this test is disabled. - */ -int dummy_timer_test; -#endif /* INCLUDE_TIMER_TEST */ - - diff --git a/res/pjproject/pjlib/src/pjlib-test/timestamp.c b/res/pjproject/pjlib/src/pjlib-test/timestamp.c deleted file mode 100644 index ac0ee836b1..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/timestamp.c +++ /dev/null @@ -1,235 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include -#include - - -/** - * \page page_pjlib_timestamp_test Test: Timestamp - * - * This file provides implementation of timestamp_test() - * - * \section timestamp_test_sec Scope of the Test - * - * This tests whether timestamp API works. - * - * API tested: - * - pj_get_timestamp_freq() - * - pj_get_timestamp() - * - pj_elapsed_usec() - * - PJ_LOG() - * - * - * This file is pjlib-test/timestamp.c - * - * \include pjlib-test/timestamp.c - */ - -#if INCLUDE_TIMESTAMP_TEST - -#define THIS_FILE "timestamp" - -static int timestamp_accuracy() -{ - pj_timestamp freq, t1, t2; - pj_time_val tv1, tv2, tvtmp; - pj_int64_t msec, tics; - pj_int64_t diff; - - PJ_LOG(3,(THIS_FILE, "...testing frequency accuracy (pls wait)")); - - pj_get_timestamp_freq(&freq); - - /* Get the start time */ - pj_gettimeofday(&tvtmp); - do { - pj_gettimeofday(&tv1); - } while (PJ_TIME_VAL_EQ(tvtmp, tv1)); - pj_get_timestamp(&t1); - - /* Sleep for 10 seconds */ - pj_thread_sleep(10000); - - /* Get end time */ - pj_gettimeofday(&tvtmp); - do { - pj_gettimeofday(&tv2); - } while (PJ_TIME_VAL_EQ(tvtmp, tv2)); - pj_get_timestamp(&t2); - - /* Get the elapsed time */ - PJ_TIME_VAL_SUB(tv2, tv1); - msec = PJ_TIME_VAL_MSEC(tv2); - - /* Check that the frequency match the elapsed time */ - tics = t2.u64 - t1.u64; - diff = tics - (msec * freq.u64 / 1000); - if (diff < 0) - diff = -diff; - - /* Only allow 1 msec mismatch */ - if (diff > (pj_int64_t)(freq.u64 / 1000)) { - PJ_LOG(3,(THIS_FILE, "....error: timestamp drifted by %d usec after " - "%d msec", - (pj_uint32_t)(diff * 1000000 / freq.u64), - msec)); - return -2000; - - /* Otherwise just print warning if timestamp drifted by >1 usec */ - } else if (diff > (pj_int64_t)(freq.u64 / 1000000)) { - PJ_LOG(3,(THIS_FILE, "....warning: timestamp drifted by %d usec after " - "%d msec", - (pj_uint32_t)(diff * 1000000 / freq.u64), - msec)); - } else { - PJ_LOG(3,(THIS_FILE, "....good. Timestamp is accurate down to" - " nearest usec.")); - } - - return 0; -} - - -int timestamp_test(void) -{ - enum { CONSECUTIVE_LOOP = 100 }; - volatile unsigned i; - pj_timestamp freq, t1, t2; - pj_time_val tv1, tv2; - unsigned elapsed; - pj_status_t rc; - - PJ_LOG(3,(THIS_FILE, "...Testing timestamp (high res time)")); - - /* Get and display timestamp frequency. */ - if ((rc=pj_get_timestamp_freq(&freq)) != PJ_SUCCESS) { - app_perror("...ERROR: get timestamp freq", rc); - return -1000; - } - - PJ_LOG(3,(THIS_FILE, "....frequency: hiword=%lu loword=%lu", - freq.u32.hi, freq.u32.lo)); - - PJ_LOG(3,(THIS_FILE, "...checking if time can run backwards (pls wait)..")); - - /* - * Check if consecutive readings should yield timestamp value - * that is bigger than previous value. - * First we get the first timestamp. - */ - rc = pj_get_timestamp(&t1); - if (rc != PJ_SUCCESS) { - app_perror("...ERROR: pj_get_timestamp", rc); - return -1001; - } - rc = pj_gettimeofday(&tv1); - if (rc != PJ_SUCCESS) { - app_perror("...ERROR: pj_gettimeofday", rc); - return -1002; - } - for (i=0; i= t1. */ - if (t2.u32.hi < t1.u32.hi || - (t2.u32.hi == t1.u32.hi && t2.u32.lo < t1.u32.lo)) - { - PJ_LOG(3,(THIS_FILE, "...ERROR: timestamp run backwards!")); - return -1005; - } - - /* compare tv2 with tv1, expecting tv2 >= tv1. */ - if (PJ_TIME_VAL_LT(tv2, tv1)) { - PJ_LOG(3,(THIS_FILE, "...ERROR: time run backwards!")); - return -1006; - } - } - - /* - * Simple test to time some loop. - */ - PJ_LOG(3,(THIS_FILE, "....testing simple 1000000 loop")); - - - /* Mark start time. */ - if ((rc=pj_get_timestamp(&t1)) != PJ_SUCCESS) { - app_perror("....error: cat't get timestamp", rc); - return -1010; - } - - /* Loop.. */ - for (i=0; i<1000000; ++i) { - /* Try to do something so that smart compilers wont - * remove this silly loop. - */ - null_func(); - } - - pj_thread_sleep(0); - - /* Mark end time. */ - pj_get_timestamp(&t2); - - /* Get elapsed time in usec. */ - elapsed = pj_elapsed_usec(&t1, &t2); - PJ_LOG(3,(THIS_FILE, "....elapsed: %u usec", (unsigned)elapsed)); - - /* See if elapsed time is "reasonable". - * This should be good even on 50Mhz embedded powerpc. - */ - if (elapsed < 1 || elapsed > 1000000) { - PJ_LOG(3,(THIS_FILE, "....error: elapsed time outside window (%u, " - "t1.u32.hi=%u, t1.u32.lo=%u, " - "t2.u32.hi=%u, t2.u32.lo=%u)", - elapsed, - t1.u32.hi, t1.u32.lo, t2.u32.hi, t2.u32.lo)); - return -1030; - } - - /* Testing time/timestamp accuracy */ - rc = timestamp_accuracy(); - if (rc != 0) - return rc; - - return 0; -} - - -#else -/* To prevent warning about "translation unit is empty" - * when this test is disabled. - */ -int dummy_timestamp_test; -#endif /* INCLUDE_TIMESTAMP_TEST */ - diff --git a/res/pjproject/pjlib/src/pjlib-test/udp_echo_srv_ioqueue.c b/res/pjproject/pjlib/src/pjlib-test/udp_echo_srv_ioqueue.c deleted file mode 100644 index 217a8d8763..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/udp_echo_srv_ioqueue.c +++ /dev/null @@ -1,214 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include "test.h" - -static pj_ioqueue_key_t *key; -static pj_atomic_t *total_bytes; -static pj_bool_t thread_quit_flag; - -struct op_key -{ - pj_ioqueue_op_key_t op_key_; - struct op_key *peer; - char *buffer; - pj_size_t size; - int is_pending; - pj_status_t last_err; - pj_sockaddr_in addr; - int addrlen; -}; - -static void on_read_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_received) -{ - pj_status_t rc; - struct op_key *recv_rec = (struct op_key *)op_key; - - for (;;) { - struct op_key *send_rec = recv_rec->peer; - recv_rec->is_pending = 0; - - if (bytes_received < 0) { - if (-bytes_received != recv_rec->last_err) { - recv_rec->last_err = -bytes_received; - app_perror("...error receiving data", -bytes_received); - } - } else if (bytes_received == 0) { - /* note: previous error, or write callback */ - } else { - pj_atomic_add(total_bytes, bytes_received); - - if (!send_rec->is_pending) { - pj_ssize_t sent = bytes_received; - pj_memcpy(send_rec->buffer, recv_rec->buffer, bytes_received); - pj_memcpy(&send_rec->addr, &recv_rec->addr, recv_rec->addrlen); - send_rec->addrlen = recv_rec->addrlen; - rc = pj_ioqueue_sendto(key, &send_rec->op_key_, - send_rec->buffer, &sent, 0, - &send_rec->addr, send_rec->addrlen); - send_rec->is_pending = (rc==PJ_EPENDING); - - if (rc!=PJ_SUCCESS && rc!=PJ_EPENDING) { - app_perror("...send error(1)", rc); - } - } - } - - if (!send_rec->is_pending) { - bytes_received = recv_rec->size; - rc = pj_ioqueue_recvfrom(key, &recv_rec->op_key_, - recv_rec->buffer, &bytes_received, 0, - &recv_rec->addr, &recv_rec->addrlen); - recv_rec->is_pending = (rc==PJ_EPENDING); - if (rc == PJ_SUCCESS) { - /* fall through next loop. */ - } else if (rc == PJ_EPENDING) { - /* quit callback. */ - break; - } else { - /* error */ - app_perror("...recv error", rc); - recv_rec->last_err = rc; - - bytes_received = 0; - /* fall through next loop. */ - } - } else { - /* recv will be done when write completion callback is called. */ - break; - } - } -} - -static void on_write_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_sent) -{ - struct op_key *send_rec = (struct op_key*)op_key; - - if (bytes_sent <= 0) { - pj_status_t rc = -bytes_sent; - if (rc != send_rec->last_err) { - send_rec->last_err = rc; - app_perror("...send error(2)", rc); - } - } - - send_rec->is_pending = 0; - on_read_complete(key, &send_rec->peer->op_key_, 0); -} - -static int worker_thread(void *arg) -{ - pj_ioqueue_t *ioqueue = (pj_ioqueue_t*) arg; - struct op_key read_op, write_op; - char recv_buf[512], send_buf[512]; - pj_ssize_t length; - pj_status_t rc; - - read_op.peer = &write_op; - read_op.is_pending = 0; - read_op.last_err = 0; - read_op.buffer = recv_buf; - read_op.size = sizeof(recv_buf); - read_op.addrlen = sizeof(read_op.addr); - - write_op.peer = &read_op; - write_op.is_pending = 0; - write_op.last_err = 0; - write_op.buffer = send_buf; - write_op.size = sizeof(send_buf); - - length = sizeof(recv_buf); - rc = pj_ioqueue_recvfrom(key, &read_op.op_key_, recv_buf, &length, 0, - &read_op.addr, &read_op.addrlen); - if (rc == PJ_SUCCESS) { - read_op.is_pending = 1; - on_read_complete(key, &read_op.op_key_, length); - } - - while (!thread_quit_flag) { - pj_time_val timeout; - timeout.sec = 0; timeout.msec = 10; - rc = pj_ioqueue_poll(ioqueue, &timeout); - } - return 0; -} - -int udp_echo_srv_ioqueue(void) -{ - pj_pool_t *pool; - pj_sock_t sock; - pj_ioqueue_t *ioqueue; - pj_ioqueue_callback callback; - int i; - pj_thread_t *thread[ECHO_SERVER_MAX_THREADS]; - pj_status_t rc; - - pj_bzero(&callback, sizeof(callback)); - callback.on_read_complete = &on_read_complete; - callback.on_write_complete = &on_write_complete; - - pool = pj_pool_create(mem, NULL, 4000, 4000, NULL); - if (!pool) - return -10; - - rc = pj_ioqueue_create(pool, 2, &ioqueue); - if (rc != PJ_SUCCESS) { - app_perror("...pj_ioqueue_create error", rc); - return -20; - } - - rc = app_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, - ECHO_SERVER_START_PORT, &sock); - if (rc != PJ_SUCCESS) { - app_perror("...app_socket error", rc); - return -30; - } - - rc = pj_ioqueue_register_sock(pool, ioqueue, sock, NULL, - &callback, &key); - if (rc != PJ_SUCCESS) { - app_perror("...error registering socket", rc); - return -40; - } - - rc = pj_atomic_create(pool, 0, &total_bytes); - if (rc != PJ_SUCCESS) { - app_perror("...error creating atomic variable", rc); - return -45; - } - - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include - -static pj_atomic_t *total_bytes; -static pj_bool_t thread_quit_flag = 0; - -static int worker_thread(void *arg) -{ - pj_sock_t sock = (pj_sock_t)arg; - char buf[512]; - pj_status_t last_recv_err = PJ_SUCCESS, last_write_err = PJ_SUCCESS; - - while (!thread_quit_flag) { - pj_ssize_t len; - pj_status_t rc; - pj_sockaddr_in addr; - int addrlen; - - len = sizeof(buf); - addrlen = sizeof(addr); - rc = pj_sock_recvfrom(sock, buf, &len, 0, &addr, &addrlen); - if (rc != 0) { - if (rc != last_recv_err) { - app_perror("...recv error", rc); - last_recv_err = rc; - } - continue; - } - - pj_atomic_add(total_bytes, len); - - rc = pj_sock_sendto(sock, buf, &len, 0, &addr, addrlen); - if (rc != PJ_SUCCESS) { - if (rc != last_write_err) { - app_perror("...send error", rc); - last_write_err = rc; - } - continue; - } - } - return 0; -} - - -int echo_srv_sync(void) -{ - pj_pool_t *pool; - pj_sock_t sock; - pj_thread_t *thread[ECHO_SERVER_MAX_THREADS]; - pj_status_t rc; - int i; - - pool = pj_pool_create(mem, NULL, 4000, 4000, NULL); - if (!pool) - return -5; - - rc = pj_atomic_create(pool, 0, &total_bytes); - if (rc != PJ_SUCCESS) { - app_perror("...unable to create atomic_var", rc); - return -6; - } - - rc = app_socket(pj_AF_INET(), pj_SOCK_DGRAM(),0, ECHO_SERVER_START_PORT, &sock); - if (rc != PJ_SUCCESS) { - app_perror("...socket error", rc); - return -10; - } - - for (i=0; i" : ""))); - - if (count==20) { - if (avg_bw/count > highest_bw) - highest_bw = avg_bw/count; - - count = 0; - avg_bw = 0; - - PJ_LOG(3,("", "Highest average bandwidth=%u KB/s", - (unsigned)(highest_bw/1000))); - } - } - PJ_UNREACHED(return 0;) -} - - diff --git a/res/pjproject/pjlib/src/pjlib-test/util.c b/res/pjproject/pjlib/src/pjlib-test/util.c deleted file mode 100644 index a08a937911..0000000000 --- a/res/pjproject/pjlib/src/pjlib-test/util.c +++ /dev/null @@ -1,140 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include - -#define THIS_FILE "util.c" - -void app_perror(const char *msg, pj_status_t rc) -{ - char errbuf[PJ_ERR_MSG_SIZE]; - - PJ_CHECK_STACK(); - - pj_strerror(rc, errbuf, sizeof(errbuf)); - PJ_LOG(3,("test", "%s: [pj_status_t=%d] %s", msg, rc, errbuf)); -} - -#define SERVER 0 -#define CLIENT 1 - -pj_status_t app_socket(int family, int type, int proto, int port, - pj_sock_t *ptr_sock) -{ - pj_sockaddr_in addr; - pj_sock_t sock; - pj_status_t rc; - - rc = pj_sock_socket(family, type, proto, &sock); - if (rc != PJ_SUCCESS) - return rc; - - pj_bzero(&addr, sizeof(addr)); - addr.sin_family = (pj_uint16_t)family; - addr.sin_port = (short)(port!=-1 ? pj_htons((pj_uint16_t)port) : 0); - rc = pj_sock_bind(sock, &addr, sizeof(addr)); - if (rc != PJ_SUCCESS) - return rc; - -#if PJ_HAS_TCP - if (type == pj_SOCK_STREAM()) { - rc = pj_sock_listen(sock, 5); - if (rc != PJ_SUCCESS) - return rc; - } -#endif - - *ptr_sock = sock; - return PJ_SUCCESS; -} - -pj_status_t app_socketpair(int family, int type, int protocol, - pj_sock_t *serverfd, pj_sock_t *clientfd) -{ - int i; - static unsigned short port = 11000; - pj_sockaddr_in addr; - pj_str_t s; - pj_status_t rc = 0; - pj_sock_t sock[2]; - - /* Create both sockets. */ - for (i=0; i<2; ++i) { - rc = pj_sock_socket(family, type, protocol, &sock[i]); - if (rc != PJ_SUCCESS) { - if (i==1) - pj_sock_close(sock[0]); - return rc; - } - } - - /* Retry bind */ - pj_bzero(&addr, sizeof(addr)); - addr.sin_family = pj_AF_INET(); - for (i=0; i<5; ++i) { - addr.sin_port = pj_htons(port++); - rc = pj_sock_bind(sock[SERVER], &addr, sizeof(addr)); - if (rc == PJ_SUCCESS) - break; - } - - if (rc != PJ_SUCCESS) - goto on_error; - - /* For TCP, listen the socket. */ -#if PJ_HAS_TCP - if (type == pj_SOCK_STREAM()) { - rc = pj_sock_listen(sock[SERVER], PJ_SOMAXCONN); - if (rc != PJ_SUCCESS) - goto on_error; - } -#endif - - /* Connect client socket. */ - addr.sin_addr = pj_inet_addr(pj_cstr(&s, "127.0.0.1")); - rc = pj_sock_connect(sock[CLIENT], &addr, sizeof(addr)); - if (rc != PJ_SUCCESS) - goto on_error; - - /* For TCP, must accept(), and get the new socket. */ -#if PJ_HAS_TCP - if (type == pj_SOCK_STREAM()) { - pj_sock_t newserver; - - rc = pj_sock_accept(sock[SERVER], &newserver, NULL, NULL); - if (rc != PJ_SUCCESS) - goto on_error; - - /* Replace server socket with new socket. */ - pj_sock_close(sock[SERVER]); - sock[SERVER] = newserver; - } -#endif - - *serverfd = sock[SERVER]; - *clientfd = sock[CLIENT]; - - return rc; - -on_error: - for (i=0; i<2; ++i) - pj_sock_close(sock[i]); - return rc; -} diff --git a/res/pjproject/pjmedia/README.txt b/res/pjproject/pjmedia/README.txt deleted file mode 100644 index d9644e224d..0000000000 --- a/res/pjproject/pjmedia/README.txt +++ /dev/null @@ -1,19 +0,0 @@ -[Last Update: 2006/03/04] - -This directory contains two static libraries: - - pjmedia - The multimedia framework. - - - pjmedia-codec - Codec collections. - -pjmedia has G711 codecs (Alaw and ULaw). - -pjmedia-codec has: - - GSM-FR implementation - Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - Universitaet Berlin - - - Speex 1.1.12 - http://www.speex.org - diff --git a/res/pjproject/pjmedia/build/Jbtest.dat b/res/pjproject/pjmedia/build/Jbtest.dat deleted file mode 100644 index 4f5a67fda3..0000000000 --- a/res/pjproject/pjmedia/build/Jbtest.dat +++ /dev/null @@ -1,578 +0,0 @@ -# -# ====================================================================== -# Jitter Buffer test data, containing one or more test sessions -# ====================================================================== -# -# A test session format: -# -# 1. Session title, started with '=', example: -# = Bursty environment -# -# 2. Session setting, started with '%', followed by params: -# - mode, possible values: 'adaptive' or 'fixed' -# - initial prefetch, in frames -# - minimum prefetch (for adaptive mode only), in frames -# - maximum prefetch (for adaptive mode only), in frames -# Example: -# %adaptive 0 0 40 -# %fixed 10 -# -# 3. Success conditions, started with '!', followed by condition name -# and its maximum tolerable value, in frames unit. Recognized condition -# names are: burst, discard, lost, empty, delay, delay_min. These -# conditions will be verified with jitter buffer statistics after all -# session test data are executed. -# Example: -# !delay 10 <- average delay of jbuf is 10 frames -# -# 4. Session test data, containing sequence of jitter buffer events, -# an event is represented by a character as follow: -# - P: PUT a frame into jitter buffer -# - G: GET a frame from jitter buffer -# - L: generate a Lost frame, i.e: sequence jump by 1 -# - R: sequence Restart -# - J: sequence Jump by 20 -# - D: generate a Duplicated frame -# - O: generate an Old/late (and perhaps also duplicated) frame -# Example: -# PGPGPGPGPG <- ideal condition, PUT and GET one after another -# -# 5. End of session test data, marked by '.' -# -# ====================================================================== -# - -= Ideal condition -%adaptive 0 0 10 -!burst 1 -!discard 0 -!lost 0 -!empty 0 -!delay 1 -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG -. - -= DTX -%adaptive 0 0 10 -!burst 1 -!discard 0 -!lost 0 -!empty 20 -!delay 1 -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG -# Start silence -GGGGGGGGGGGGGGGGGGGG -# End silence -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG -. - -= Regular burst (three gets three puts) -%adaptive 0 0 10 -!burst 3 -!discard 0 -!lost 0 -!empty 0 -!delay 3 -PPPGGGPPPGGGPPPGGG PPPGGGPPPGGGPPPGGG PPPGGGPPPGGGPPPGGG PPPGGGPPPGGGPPPGGG -PPPGGGPPPGGGPPPGGG PPPGGGPPPGGGPPPGGG PPPGGGPPPGGGPPPGGG PPPGGGPPPGGGPPPGGG -. - -= Random burst (no drift) -%adaptive 0 0 10 -!burst 4 -!discard 1 <- there may be delay adaptation caused by multiple empty GETs followed by multiple PUTs, later when burst level reaches 'stable' condition, JB may shrink some excess frames -!lost 0 -!empty 4 -!delay 4 -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -. - -= Random burst (with drift, PUT > GET) -%adaptive 0 0 10 -!burst 4 -!discard 68 <- number of PUT - GET, JB does shrinking by discarding frames -!lost 68 <- ticket #1188, normal frame after discarded frame is flagged 'lost' to align signal -!empty 4 -!delay 8 <- should be less than or equal to twice of burst -P PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG P PGPGPPGGPPPPGGPGGGPG -P PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG P PGGGGPPPGPPGPPPGGPGG -P PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG P PGPGPPGGPPPPGGPGGGPG -P PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG P PGGGGPPPGPPGPPPGGPGG -P PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG P PGPGPPGGPPPPGGPGGGPG -P PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG P PGGGGPPPGPPGPPPGGPGG -P PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG P PGPGPPGGPPPPGGPGGGPG -P PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG P PGGGGPPPGPPGPPPGGPGG -P PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG P PGPGPPGGPPPPGGPGGGPG -P PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG P PGGGGPPPGPPGPPPGGPGG -P PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG P PGPGPPGGPPPPGGPGGGPG -P PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG P PGGGGPPPGPPGPPPGGPGG -P PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG P PGPGPPGGPPPPGGPGGGPG -P PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG P PGGGGPPPGPPGPPPGGPGG -P PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG P PGPGPPGGPPPPGGPGGGPG -P PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG P PGGGGPPPGPPGPPPGGPGG -P PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG P PGPGPPGGPPPPGGPGGGPG -P PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG P PGGGGPPPGPPGPPPGGPGG -P PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG P PGPGPPGGPPPPGGPGGGPG -P PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG P PGGGGPPPGPPGPPPGGPGG -P PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG P PGPGPPGGPPPPGGPGGGPG -P PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG P PGGGGPPPGPPGPPPGGPGG -P PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG P PGPGPPGGPPPPGGPGGGPG -P PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG P PGGGGPPPGPPGPPPGGPGG -P PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG P PGPGPPGGPPPPGGPGGGPG -P PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG P PGGGGPPPGPPGPPPGGPGG -P PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG P PGPGPPGGPPPPGGPGGGPG -P PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG P PGGGGPPPGPPGPPPGGPGG -P PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG P PGPGPPGGPPPPGGPGGGPG -P PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG P PGGGGPPPGPPGPPPGGPGG -P PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG P PGPGPPGGPPPPGGPGGGPG -P PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG P PGGGGPPPGPPGPPPGGPGG -P PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG P PGPGPPGGPPPPGGPGGGPG -P PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG P PGGGGPPPGPPGPPPGGPGG -. - -= Random burst (with drift, PUT < GET) -%adaptive 0 0 10 -!burst 4 -!discard 0 -!lost 0 -!empty 70 <- GET - PUT = 66, added 4 for tolerating empty caused by burst -!delay 4 <- should be less than or equal to burst -G PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG G PGPGPPGGPPPPGGPGGGPG -G PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG G PGGGGPPPGPPGPPPGGPGG -G PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG G PGPGPPGGPPPPGGPGGGPG -G PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG G PGGGGPPPGPPGPPPGGPGG -G PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG G PGPGPPGGPPPPGGPGGGPG -G PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG G PGGGGPPPGPPGPPPGGPGG -G PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG G PGPGPPGGPPPPGGPGGGPG -G PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG G PGGGGPPPGPPGPPPGGPGG -G PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG G PGPGPPGGPPPPGGPGGGPG -G PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG G PGGGGPPPGPPGPPPGGPGG -G PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG G PGPGPPGGPPPPGGPGGGPG -G PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG G PGGGGPPPGPPGPPPGGPGG -G PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG G PGPGPPGGPPPPGGPGGGPG -G PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG G PGGGGPPPGPPGPPPGGPGG -G PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG G PGPGPPGGPPPPGGPGGGPG -G PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG G PGGGGPPPGPPGPPPGGPGG -G PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG G PGPGPPGGPPPPGGPGGGPG -G PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG G PGGGGPPPGPPGPPPGGPGG -G PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG G PGPGPPGGPPPPGGPGGGPG -G PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG G PGGGGPPPGPPGPPPGGPGG -G PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG G PGPGPPGGPPPPGGPGGGPG -G PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG G PGGGGPPPGPPGPPPGGPGG -G PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG G PGPGPPGGPPPPGGPGGGPG -G PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG G PGGGGPPPGPPGPPPGGPGG -G PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG G PGPGPPGGPPPPGGPGGGPG -G PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG G PGGGGPPPGPPGPPPGGPGG -G PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG G PGPGPPGGPPPPGGPGGGPG -G PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG G PGGGGPPPGPPGPPPGGPGG -G PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG G PGPGPPGGPPPPGGPGGGPG -G PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG G PGGGGPPPGPPGPPPGGPGG -G PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG G PGPGPPGGPPPPGGPGGGPG -G PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG G PGGGGPPPGPPGPPPGGPGG -G PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG G PGPGPPGGPPPPGGPGGGPG -. - -= Packet lost -%adaptive 0 0 10 -!burst 1 -!discard 0 -!lost 7 -!empty 3 -!delay 3 -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG -# Some losts -LGPGPGLGPGPGPGLGPGPG -# Normal -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG -# More losts -PLPGGGPPPGGGPLPGGGPG PLPGGGPPPGGGPLPGGGPG -# Normal -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG -. - -= Sequence restart -%adaptive 0 0 10 -!burst 1 -!discard 0 -!lost 0 -!empty 0 -!delay 1 -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG -# seq restarted after 120 PUTs (default MAX_MISORDER == 100) -R -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG -. - -= Duplicated frames -= e.g.: some Forward Error Correction (FEC) methods. -%adaptive 0 0 10 -!burst 1 -!discard 40 -!lost 0 -!empty 0 -!delay 1 -PDGPDGPDGPDGPDG PDGPDGPDGPDGPDG PDGPDGPDGPDGPDG PDGPDGPDGPDGPDG -PDGPDGPDGPDGPDG PDGPDGPDGPDGPDG PDGPDGPDGPDGPDG PDGPDGPDGPDGPDG -. - -= Late frames -%adaptive 0 0 10 -!burst 1 -!discard 8 <- late frames are discarded + delay adaptation -!lost 4 -!empty 4 -!delay 4 -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG -# Suddenly there are some lost frames -LGLGPGLGLGPG -# Those lost frames are actually late (+misordered), here they come -OOOO -# Then back to normal -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG -. - -= PUT burst at the beginning -%adaptive 0 0 10 -!burst 1 -!discard 50 <- frames discarded for delay adaptation -!lost 50 <- ticket #1188, normal frame after discarded frame is flagged 'lost' to align signal -!empty 0 -!delay_min 2 <- minimum delay, JB is able to adapt the delay -PPPPPPPPPPPPPPPPPPPP PPPPPPPPPPPPPPPPPPPP PPPPPPPPPP -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -. - -= Fixed mode prefetch 5, with two empty events -%fixed 5 -!burst 1 -!discard 4 <- the burst level is about 1, but prefetching will cause delay by 5 frames prefetching, delay adjustment may take place later on -!lost 4 <- progressive discard drops frames as if they were lost -!empty 10 -!delay 5 -G -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -GGGGG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -. - -= Fixed mode prefetch 5, with random burst -%fixed 5 -!burst 3 -!discard 4 <- (see above test scenario) -!lost 4 <- (see above test scenario) -!empty 5 -!delay 5 -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -PGPGPPGGPPPPGGPGGGPG PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPPPGGPGGGPG -PGGGGPPPGPPGPPPGGPGG PGPGPPGGPPGGPPPGGGPG PGGGGPPPGPPGPPPGGPGG -. - -= Fixed mode prefetch 10, PUT burst at the beginning -%fixed 10 -!burst 1 -!discard 50 <- frames discarded for delay adaptation -!lost 50 <- ticket #1188, normal frame after discarded frame is flagged 'lost' to align signal -!empty 0 -!delay_min 20 <- minimum delay, twice of minimal prefetch -PPPPPPPPPPPPPPPPPPPP PPPPPPPPPPPPPPPPPPPP PPPPPPPPPP -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -PGPGPGPGPGPGPGPGPGPG PGPGPGPGPGPGPGPGPGPG PGPGPGPGPG -. - -= Large PUT burst at beginning, then normal with burst level 10 and periodic burst spikes -%adaptive 0 0 40 -!burst 12 -!discard 300 <- not so relevant for long period session with many delay adjustments needed (i.e: for first burst and periodic spikes) -!lost 300 <- ticket #1188, normal frame after discarded frame is flagged 'lost' to align signal -!empty 60 <- delay adjustment effect, as there is actually no drift -!delay 20 <- twice of burst level average -PPPPPPPPPPPPPPPPPPPP PPPPPPPPPPPPPPPPPPPP PPPPPPPPPP -PPPPPPPPPPPPPPPPPPPP PPPPPPPPPPPPPPPPPPPP PPPPPPPPPP -PPPPPPPPPPPPPPPPPPPP PPPPPPPPPPPPPPPPPPPP PPPPPPPPPP -PPPPPPPPPPPPPPPPPPPP PPPPPPPPPPPPPPPPPPPP PPPPPPPPPP -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPPPPPPPPPPPP PPPPPPPPPPPPPPPPPPPP PPPPPPPPPP -GGGGGGGGGGGGGGGGGGGG GGGGGGGGGGGGGGGGGGGG GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPPPPPPPPPPPP PPPPPPPPPPPPPPPPPPPP PPPPPPPPPP -GGGGGGGGGGGGGGGGGGGG GGGGGGGGGGGGGGGGGGGG GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPPPPPPPPPPPP PPPPPPPPPPPPPPPPPPPP PPPPPPPPPP -GGGGGGGGGGGGGGGGGGGG GGGGGGGGGGGGGGGGGGGG GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPPPPPPPPPPPP PPPPPPPPPPPPPPPPPPPP PPPPPPPPPP -GGGGGGGGGGGGGGGGGGGG GGGGGGGGGGGGGGGGGGGG GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPPPPPPPPPPPP PPPPPPPPPPPPPPPPPPPP PPPPPPPPPP -GGGGGGGGGGGGGGGGGGGG GGGGGGGGGGGGGGGGGGGG GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -PPPPPPPPPP GGGGGGGGGG PPPPPPPPPP GGGGGGGGGG -. diff --git a/res/pjproject/pjmedia/build/Makefile b/res/pjproject/pjmedia/build/Makefile deleted file mode 100644 index 267403de88..0000000000 --- a/res/pjproject/pjmedia/build/Makefile +++ /dev/null @@ -1,233 +0,0 @@ -include ../../build.mak -include ../../version.mak - -THIRD_PARTY:=$(PJDIR)/third_party - -SRTP_INC=$(CC_INC)$(THIRD_PARTY)/build/srtp \ - $(CC_INC)$(THIRD_PARTY)/srtp/crypto/include \ - $(CC_INC)$(THIRD_PARTY)/srtp/include - -include $(PJDIR)/build/common.mak - -RULES_MAK := $(PJDIR)/build/rules.mak - -PJLIB_LIB:=$(PJDIR)/pjlib/lib/libpj-$(TARGET_NAME)$(LIBEXT) -PJLIB_UTIL_LIB:=$(PJDIR)/pjlib-util/lib/libpjlib-util-$(TARGET_NAME)$(LIBEXT) -PJNATH_LIB:=$(PJDIR)/pjnath/lib/libpjnath-$(TARGET_NAME)$(LIBEXT) - -export PJMEDIA_LIB:=../lib/libpjmedia-$(TARGET_NAME)$(LIBEXT) -export PJMEDIA_CODEC_LIB:=../lib/libpjmedia-codec-$(TARGET_NAME)$(LIBEXT) -export PJSDP_LIB:=../lib/libpjsdp-$(TARGET_NAME)$(LIBEXT) -export PJMEDIA_AUDIODEV_LIB:=../lib/libpjmedia-audiodev-$(TARGET_NAME)$(LIBEXT) -export PJMEDIA_VIDEODEV_LIB:=../lib/libpjmedia-videodev-$(TARGET_NAME)$(LIBEXT) - - -############################################################################### -# Gather all flags. -# -export _CFLAGS := $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \ - $(CFLAGS) $(CC_INC)../include \ - $(CC_INC)../../pjlib/include \ - $(CC_INC)../../pjlib-util/include \ - $(CC_INC)../../pjmedia/include \ - $(CC_INC)../../pjnath/include \ - $(CC_INC)../.. \ - $(SRTP_INC) -export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ - $(HOST_CXXFLAGS) $(CXXFLAGS) -export _LDFLAGS := $(subst /,$(HOST_PSEP),$(PJMEDIA_VIDEODEV_LIB)) \ - $(subst /,$(HOST_PSEP),$(PJMEDIA_CODEC_LIB)) \ - $(subst /,$(HOST_PSEP),$(PJMEDIA_LIB)) \ - $(subst /,$(HOST_PSEP),$(PJMEDIA_AUDIODEV_LIB)) \ - $(subst /,$(HOST_PSEP),$(PJLIB_LIB)) \ - $(subst /,$(HOST_PSEP),$(PJLIB_UTIL_LIB)) \ - $(subst /,$(HOST_PSEP),$(PJNATH_LIB)) \ - -L$(PJDIR)/third_party/lib \ - $(APP_THIRD_PARTY_LIBS) \ - $(APP_THIRD_PARTY_EXT) \ - $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \ - $(LDFLAGS) - -############################################################################### -# Defines for building PJMEDIA library -# -export PJMEDIA_SRCDIR = ../src/pjmedia -export PJMEDIA_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ - alaw_ulaw.o alaw_ulaw_table.o avi_player.o \ - bidirectional.o clock_thread.o codec.o conference.o \ - conf_switch.o converter.o converter_libswscale.o \ - delaybuf.o echo_common.o \ - echo_port.o echo_suppress.o endpoint.o errno.o \ - event.o format.o ffmpeg_util.o \ - g711.o jbuf.o master_port.o mem_capture.o mem_player.o \ - null_port.o plc_common.o port.o splitcomb.o \ - resample_resample.o resample_libsamplerate.o \ - resample_port.o rtcp.o rtcp_xr.o rtp.o \ - sdp.o sdp_cmp.o sdp_neg.o session.o silencedet.o \ - sound_legacy.o sound_port.o stereo_port.o stream_common.o \ - stream.o stream_info.o tonegen.o transport_adapter_sample.o \ - transport_ice.o transport_loop.o transport_srtp.o transport_udp.o \ - types.o vid_codec.o vid_codec_util.o \ - vid_port.o vid_stream.o vid_stream_info.o vid_tee.o \ - wav_player.o wav_playlist.o wav_writer.o wave.o \ - wsola.o - -export PJMEDIA_CFLAGS += $(_CFLAGS) - - -############################################################################### -# Defines for building PJMEDIA-AUDIODEV library -# -export PJMEDIA_AUDIODEV_SRCDIR = ../src/pjmedia-audiodev -export PJMEDIA_AUDIODEV_OBJS += audiodev.o audiotest.o errno.o \ - coreaudio_dev.o legacy_dev.o null_dev.o pa_dev.o wmme_dev.o \ - alsa_dev.o -export PJMEDIA_AUDIODEV_CFLAGS += $(_CFLAGS) - - -############################################################################### -# Defines for building PJMEDIA-VIDEODEV library -# -export PJMEDIA_VIDEODEV_SRCDIR = ../src/pjmedia-videodev -export PJMEDIA_VIDEODEV_OBJS += errno.o videodev.o avi_dev.o ffmpeg_dev.o \ - colorbar_dev.o v4l2_dev.o -export PJMEDIA_VIDEODEV_CFLAGS += $(_CFLAGS) - - -############################################################################### -# Defines for building PJSDP library -# Note that SDP functionality is already INCLUDED in PJMEDIA. -# The PJSDP library should only be used for applications that want SDP -# but don't want to use the rest of the media framework. -# -export PJSDP_SRCDIR = ../src/pjmedia -export PJSDP_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ - errno.o sdp.o sdp_cmp.o sdp_neg.o -export PJSDP_CFLAGS += $(_CFLAGS) - - -############################################################################### -# Defines for building PJMEDIA-Codec library -# -export PJMEDIA_CODEC_SRCDIR = ../src/pjmedia-codec -export PJMEDIA_CODEC_OBJS += audio_codecs.o ffmpeg_vid_codecs.o \ - h263_packetizer.o h264_packetizer.o \ - $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ - ipp_codecs.o $(CODEC_OBJS) \ - g7221_sdp_match.o amr_sdp_match.o -export PJMEDIA_CODEC_CFLAGS += $(_CFLAGS) $(GSM_CFLAGS) $(SPEEX_CFLAGS) \ - $(ILBC_CFLAGS) $(IPP_CFLAGS) $(G7221_CFLAGS) - - -############################################################################### -# Defines for building test application -# -export PJMEDIA_TEST_SRCDIR = ../src/test -export PJMEDIA_TEST_OBJS += codec_vectors.o jbuf_test.o main.o mips_test.o \ - vid_codec_test.o vid_dev_test.o vid_port_test.o \ - rtp_test.o test.o -export PJMEDIA_TEST_OBJS += sdp_neg_test.o -export PJMEDIA_TEST_CFLAGS += $(_CFLAGS) -export PJMEDIA_TEST_LDFLAGS += $(_LDFLAGS) -export PJMEDIA_TEST_EXE:=../bin/pjmedia-test-$(TARGET_NAME)$(HOST_EXE) - - -export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT -############################################################################### -# Main entry -# -# $(TARGET) is defined in os-$(OS_NAME).mak file in current directory. -# -TARGETS := pjmedia pjmedia-videodev pjmedia-audiodev pjmedia-codec pjsdp pjmedia-test - -all: $(TARGETS) - -doc: - cd .. && rm -rf docs/$(PJ_VERSION) && doxygen docs/doxygen.cfg - @if [ -n "$(WWWDIR)" ] && ! [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjmedia/docs/html" ] ; then \ - echo "Creating docs/$(PJ_VERSION)/pjmedia/docs/html" ; \ - mkdir -p $(WWWDIR)/docs/$(PJ_VERSION)/pjmedia/docs/html ; \ - fi - @if [ -n "$(WWWDIR)" ] && [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjmedia/docs/html" ] ; then \ - echo "Copying docs/$(PJ_VERSION) to $(WWWDIR)/docs/$(PJ_VERSION)/pjmedia/docs/html.." ; \ - cp -v -a ../docs/$(PJ_VERSION)/html/* $(WWWDIR)/docs/$(PJ_VERSION)/pjmedia/docs/html/ ; \ - fi - -dep: depend -distclean: realclean - -.PHONY: dep depend clean realclean distclean -.PHONY: $(TARGETS) -.PHONY: $(PJMEDIA_LIB) $(PJMEDIA_CODEC_LIB) $(PJMEDIA_VIDEODEV_LIB) $(PJMEDIA_AUDIODEV_LIB) $(PJSDP_LIB) $(PJMEDIA_TEST_EXE) - -pjmedia: $(PJMEDIA_LIB) -$(PJMEDIA_LIB): - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA app=pjmedia $(PJMEDIA_LIB) - -pjmedia-codec: $(PJMEDIA_CODEC_LIB) -$(PJMEDIA_CODEC_LIB): - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_CODEC app=pjmedia-codec $(PJMEDIA_CODEC_LIB) - -pjmedia-videodev: $(PJMEDIA_VIDEODEV_LIB) -$(PJMEDIA_VIDEODEV_LIB): - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_VIDEODEV app=pjmedia-videodev $(PJMEDIA_VIDEODEV_LIB) - -pjmedia-audiodev: $(PJMEDIA_AUDIODEV_LIB) -$(PJMEDIA_AUDIODEV_LIB): - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_AUDIODEV app=pjmedia-audiodev $(PJMEDIA_AUDIODEV_LIB) - -pjsdp: $(PJSDP_LIB) -$(PJSDP_LIB): - $(MAKE) -f $(RULES_MAK) APP=PJSDP app=pjsdp $(PJSDP_LIB) - -pjmedia-test: $(PJMEDIA_TEST_EXE) -$(PJMEDIA_TEST_EXE): $(PJMEDIA_LIB) $(PJMEDIA_CODEC_LIB) - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_TEST app=pjmedia-test $(PJMEDIA_TEST_EXE) - -.PHONY: ../lib/pjmedia.ko -../lib/pjmedia.ko: - echo Making $@ - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA app=pjmedia $@ - -.PHONY: ../lib/pjmedia-codec.ko -../lib/pjmedia-codec.ko: - echo Making $@ - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_CODEC app=pjmedia-codec $@ - -.PHONY: ../lib/pjmedia-test.ko -../lib/pjmedia-test.ko: - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_TEST app=pjmedia-test $@ - -clean: - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA app=pjmedia $@ - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_CODEC app=pjmedia-codec $@ - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_VIDEODEV app=pjmedia-videodev $@ - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_AUDIODEV app=pjmedia-audiodev $@ - $(MAKE) -f $(RULES_MAK) APP=PJSDP app=pjsdp $@ - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_TEST app=pjmedia-test $@ - -realclean: - $(subst @@,$(subst /,$(HOST_PSEP),.pjmedia-$(TARGET_NAME).depend),$(HOST_RMR)) - $(subst @@,$(subst /,$(HOST_PSEP),.pjmedia-videodev-$(TARGET_NAME).depend),$(HOST_RMR)) - $(subst @@,$(subst /,$(HOST_PSEP),.pjmedia-audiodev-$(TARGET_NAME).depend),$(HOST_RMR)) - $(subst @@,$(subst /,$(HOST_PSEP),.pjmedia-codec-$(TARGET_NAME).depend),$(HOST_RMR)) - $(subst @@,$(subst /,$(HOST_PSEP),.pjmedia-test-$(TARGET_NAME).depend),$(HOST_RMR)) - $(subst @@,$(subst /,$(HOST_PSEP),.pjsdp-$(TARGET_NAME).depend),$(HOST_RMR)) - - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA app=pjmedia $@ - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_VIDEODEV app=pjmedia-videodev $@ - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_AUDIODEV app=pjmedia-audiodev $@ - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_CODEC app=pjmedia-codec $@ - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_TEST app=pjmedia-test $@ - $(MAKE) -f $(RULES_MAK) APP=PJSDP app=pjsdp $@ - -depend: - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA app=pjmedia $@ - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_VIDEODEV app=pjmedia-videodev $@ - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_AUDIODEV app=pjmedia-audiodev $@ - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_CODEC app=pjmedia-codec $@ - $(MAKE) -f $(RULES_MAK) APP=PJMEDIA_TEST app=pjmedia-test $@ - $(MAKE) -f $(RULES_MAK) APP=PJSDP app=pjsdp $@ - echo '$(PJMEDIA_TEST_EXE): $(PJMEDIA_LIB) $(PJMEDIA_CODEC_LIB) $(PJNATH_LIB) $(PJLIB_UTIL_LIB) $(PJLIB_LIB)' >> .pjmedia-test-$(TARGET_NAME).depend - - diff --git a/res/pjproject/pjmedia/build/m-i386.mak b/res/pjproject/pjmedia/build/m-i386.mak deleted file mode 100644 index ede7dfc449..0000000000 --- a/res/pjproject/pjmedia/build/m-i386.mak +++ /dev/null @@ -1,6 +0,0 @@ - -# -# We need to define PA_LITTLE_ENDIAN when compiling PortAudio on Linux i386 -# - -export M_CFLAGS += $(CC_DEF)PA_LITTLE_ENDIAN diff --git a/res/pjproject/pjmedia/build/m-x86_64.mak b/res/pjproject/pjmedia/build/m-x86_64.mak deleted file mode 100644 index 304a295f87..0000000000 --- a/res/pjproject/pjmedia/build/m-x86_64.mak +++ /dev/null @@ -1,6 +0,0 @@ - -# -# We need to define PA_LITTLE_ENDIAN when compiling PortAudio on Linux x86_64 -# - -export M_CFLAGS += $(CC_DEF)PA_LITTLE_ENDIAN diff --git a/res/pjproject/pjmedia/build/os-auto.mak.in b/res/pjproject/pjmedia/build/os-auto.mak.in deleted file mode 100644 index 98ecf2886d..0000000000 --- a/res/pjproject/pjmedia/build/os-auto.mak.in +++ /dev/null @@ -1,179 +0,0 @@ -# @configure_input@ - -# Define the desired video device backend -# Valid values are: -# - mac_os -# - iphone_os -AC_PJMEDIA_VIDEO = @ac_pjmedia_video@ - -# SDL flags -SDL_CFLAGS = @ac_sdl_cflags@ -SDL_LDFLAGS = @ac_sdl_ldflags@ - -# FFMPEG dlags -FFMPEG_CFLAGS = @ac_ffmpeg_cflags@ -FFMPEG_LDFLAGS = @ac_ffmpeg_ldflags@ - -# Video4Linux2 -V4L2_CFLAGS = @ac_v4l2_cflags@ -V4L2_LDFLAGS = @ac_v4l2_ldflags@ - -# QT -AC_PJMEDIA_VIDEO_HAS_QT = @ac_pjmedia_video_has_qt@ -QT_CFLAGS = @ac_qt_cflags@ - -# iOS -IOS_CFLAGS = @ac_ios_cflags@ - -# PJMEDIA features exclusion -export CFLAGS += @ac_no_small_filter@ @ac_no_large_filter@ @ac_no_speex_aec@ \ - $(SDL_CFLAGS) $(FFMPEG_CFLAGS) $(V4L2_CFLAGS) $(QT_CFLAGS) \ - $(IOS_CFLAGS) -export LDFLAGS += $(SDL_LDFLAGS) $(FFMPEG_LDFLAGS) $(V4L2_LDFLAGS) - -# Define the desired sound device backend -# Valid values are: -# - pa_unix: PortAudio on Unix (OSS or ALSA) -# - pa_darwinos: PortAudio on MacOSX (CoreAudio) -# - pa_old_darwinos: PortAudio on MacOSX (old CoreAudio, for OSX 10.2) -# - pa_win32: PortAudio on Win32 (WMME) -# - ds: Win32 DirectSound (dsound.c) -# - null: Null sound device (nullsound.c) -# - external: Link with no sounddev (app will provide) -AC_PJMEDIA_SND=@ac_pjmedia_snd@ - -# For Unix, specify if ALSA should be supported -AC_PA_USE_ALSA=@ac_pa_use_alsa@ - -# Additional PortAudio CFLAGS are in @ac_pa_cflags@ - -# -# Codecs -# -AC_NO_G711_CODEC=@ac_no_g711_codec@ -AC_NO_L16_CODEC=@ac_no_l16_codec@ -AC_NO_GSM_CODEC=@ac_no_gsm_codec@ -AC_NO_SPEEX_CODEC=@ac_no_speex_codec@ -AC_NO_ILBC_CODEC=@ac_no_ilbc_codec@ -AC_NO_G722_CODEC=@ac_no_g722_codec@ -AC_NO_G7221_CODEC=@ac_no_g7221_codec@ -AC_NO_OPENCORE_AMRNB=@ac_no_opencore_amrnb@ - -export CODEC_OBJS= - -ifeq ($(AC_NO_G711_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_G711_CODEC=0 -else -export CODEC_OBJS += -endif - -ifeq ($(AC_NO_L16_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_L16_CODEC=0 -else -export CODEC_OBJS += l16.o -endif - -ifeq ($(AC_NO_GSM_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_GSM_CODEC=0 -else -export CODEC_OBJS += gsm.o -endif - -ifeq ($(AC_NO_SPEEX_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_SPEEX_CODEC=0 -else -export CFLAGS += -I$(THIRD_PARTY)/build/speex -I$(THIRD_PARTY)/speex/include -export CODEC_OBJS += speex_codec.o - -ifneq (@ac_no_speex_aec@,1) -export PJMEDIA_OBJS += echo_speex.o -endif - -endif - -ifeq ($(AC_NO_ILBC_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_ILBC_CODEC=0 -else -export CODEC_OBJS += ilbc.o -endif - -ifeq ($(AC_NO_G722_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_G722_CODEC=0 -else -export CODEC_OBJS += g722.o g722/g722_enc.o g722/g722_dec.o -endif - -ifeq ($(AC_NO_G7221_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_G7221_CODEC=0 -else -export CODEC_OBJS += g7221.o -export G7221_CFLAGS += -I$(THIRD_PARTY) -endif - -ifeq ($(AC_NO_OPENCORE_AMRNB),1) -export CFLAGS += -DPJMEDIA_HAS_OPENCORE_AMRNB_CODEC=0 -else -export CODEC_OBJS += opencore_amrnb.o -endif - - -# -# PortAudio -# -ifneq ($(findstring pa,$(AC_PJMEDIA_SND)),) -ifeq (@ac_external_pa@,1) -# External PA -export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=1 -else -# Our PA in third_party -export CFLAGS += -I$(THIRD_PARTY)/build/portaudio -I$(THIRD_PARTY)/portaudio/include -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=1 -endif -endif - -# -# Windows specific -# -ifneq ($(findstring win32,$(AC_PJMEDIA_SND)),) -export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_WMME=1 -else -export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_WMME=0 -endif - -# -# Null sound device -# -ifeq ($(AC_PJMEDIA_SND),null) -export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=0 -DPJMEDIA_AUDIO_DEV_HAS_WMME=0 -endif - -# -# External sound device -# -ifeq ($(AC_PJMEDIA_SND),external) -export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=0 -DPJMEDIA_AUDIO_DEV_HAS_WMME=0 -endif - -# -# QT video device -# -ifeq ($(AC_PJMEDIA_VIDEO_HAS_QT),yes) -export PJMEDIA_VIDEODEV_OBJS += qt_dev.o -endif - -# -# iOS video device -# -ifeq ($(AC_PJMEDIA_VIDEO),iphone_os) -export PJMEDIA_VIDEODEV_OBJS += ios_dev.o -endif - -# -# Determine whether we should compile the obj-c version of a particular source code -# -ifneq (,$(filter $(AC_PJMEDIA_VIDEO),mac_os iphone_os)) -# Mac and iPhone OS specific, use obj-c -export PJMEDIA_VIDEODEV_OBJS += sdl_dev_m.o -else -# Other platforms, compile .c -export PJMEDIA_VIDEODEV_OBJS += sdl_dev.o -endif diff --git a/res/pjproject/pjmedia/build/os-darwinos.mak b/res/pjproject/pjmedia/build/os-darwinos.mak deleted file mode 100644 index 7904594e72..0000000000 --- a/res/pjproject/pjmedia/build/os-darwinos.mak +++ /dev/null @@ -1,106 +0,0 @@ - -# PJMEDIA features exclusion -export CFLAGS += - -# Define the desired sound device backend -# Valid values are: -# - pa_unix: PortAudio on Unix (OSS or ALSA) -# - pa_darwinos: PortAudio on MacOSX (CoreAudio) -# - pa_old_darwinos: PortAudio on MacOSX (old CoreAudio, for OSX 10.2) -# - pa_win32: PortAudio on Win32 (WMME) -# - ds: Win32 DirectSound (dsound.c) -# - null: Null sound device (nullsound.c) -AC_PJMEDIA_SND=pa_old_darwinos - -# For Unix, specify if ALSA should be supported -AC_PA_USE_ALSA=0 - -# -# Codecs -# -AC_NO_G711_CODEC=0 -AC_NO_L16_CODEC=0 -AC_NO_GSM_CODEC=0 -AC_NO_SPEEX_CODEC=0 -AC_NO_ILBC_CODEC=0 -AC_NO_G722_CODEC=0 -AC_NO_G7221_CODEC=0 - -export CODEC_OBJS= - -ifeq ($(AC_NO_G711_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_G711_CODEC=0 -else -export CODEC_OBJS += -endif - -ifeq ($(AC_NO_L16_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_L16_CODEC=0 -else -export CODEC_OBJS += l16.o -endif - -ifeq ($(AC_NO_GSM_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_GSM_CODEC=0 -else -export CODEC_OBJS += gsm.o -endif - -ifeq ($(AC_NO_SPEEX_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_SPEEX_CODEC=0 -else -export CFLAGS += -I$(THIRD_PARTY)/build/speex -I$(THIRD_PARTY)/speex/include -export CODEC_OBJS += speex_codec.o - -#ifeq (@ac_no_speex_aec@,1) -ifeq (0,1) -export PJMEDIA_OBJS += echo_speex.o -endif - -endif - -ifeq ($(AC_NO_ILBC_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_ILBC_CODEC=0 -else -export CODEC_OBJS += ilbc.o -endif - -ifeq ($(AC_NO_G722_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_G722_CODEC=0 -else -export CODEC_OBJS += g722.o g722/g722_enc.o g722/g722_dec.o -endif - -ifeq ($(AC_NO_G7221_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_G7221_CODEC=0 -else -export CODEC_OBJS += g7221.o -export G7221_CFLAGS += -I$(THIRD_PARTY) -endif - - -# -# PortAudio -# -ifneq ($(findstring pa,$(AC_PJMEDIA_SND)),) -export CFLAGS += -I$(THIRD_PARTY)/build/portaudio -I$(THIRD_PARTY)/portaudio/include -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_PORTAUDIO_SOUND -export SOUND_OBJS = pasound.o -endif - -# -# Win32 DirectSound -# -ifeq ($(AC_PJMEDIA_SND),ds) -export SOUND_OBJS = dsound.o -export CFLAGS += -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_WIN32_DIRECT_SOUND -endif - -# -# Last resort, null sound device -# -ifeq ($(AC_PJMEDIA_SND),null) -export SOUND_OBJS = nullsound.o -export CFLAGS += -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_NULL_SOUND -endif - - diff --git a/res/pjproject/pjmedia/build/os-linux.mak b/res/pjproject/pjmedia/build/os-linux.mak deleted file mode 100644 index 63910c4add..0000000000 --- a/res/pjproject/pjmedia/build/os-linux.mak +++ /dev/null @@ -1,100 +0,0 @@ -# Linux - -# Define the desired sound device backend -# Valid values are: -# - pa_unix: PortAudio on Unix (OSS or ALSA) -# - pa_darwinos: PortAudio on MacOSX (CoreAudio) -# - pa_old_darwinos: PortAudio on MacOSX (old CoreAudio, for OSX 10.2) -# - pa_win32: PortAudio on Win32 (WMME) -# - ds: Win32 DirectSound (dsound.c) -# - null: Null sound device (nullsound.c) -AC_PJMEDIA_SND=pa_unix - -# -# Codecs -# -AC_NO_G711_CODEC=0 -AC_NO_L16_CODEC=0 -AC_NO_GSM_CODEC=0 -AC_NO_SPEEX_CODEC=0 -AC_NO_ILBC_CODEC=0 -AC_NO_G722_CODEC=0 -AC_NO_G7221_CODEC=0 - -export CODEC_OBJS= - -ifeq ($(AC_NO_G711_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_G711_CODEC=0 -else -export CODEC_OBJS += -endif - -ifeq ($(AC_NO_L16_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_L16_CODEC=0 -else -export CODEC_OBJS += l16.o -endif - -ifeq ($(AC_NO_GSM_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_GSM_CODEC=0 -else -export CODEC_OBJS += gsm.o -endif - -ifeq ($(AC_NO_SPEEX_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_SPEEX_CODEC=0 -else -export CFLAGS += -I$(THIRD_PARTY)/build/speex -I$(THIRD_PARTY)/speex/include -export CODEC_OBJS += speex_codec.o - -ifeq (1,1) -export PJMEDIA_OBJS += echo_speex.o -endif - -endif - -ifeq ($(AC_NO_ILBC_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_ILBC_CODEC=0 -else -export CODEC_OBJS += ilbc.o -endif - -ifeq ($(AC_NO_G722_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_G722_CODEC=0 -else -export CODEC_OBJS += g722.o g722/g722_enc.o g722/g722_dec.o -endif - -ifeq ($(AC_NO_G7221_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_G7221_CODEC=0 -else -export CODEC_OBJS += g7221.o -export G7221_CFLAGS += -I$(THIRD_PARTY) -endif - - -# -# PortAudio -# -ifneq ($(findstring pa,$(AC_PJMEDIA_SND)),) -export CFLAGS += -I$(THIRD_PARTY)/build/portaudio -I$(THIRD_PARTY)/portaudio/include -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_PORTAUDIO_SOUND -export SOUND_OBJS = pasound.o -endif - -# -# Win32 DirectSound -# -ifeq ($(AC_PJMEDIA_SND),ds) -export SOUND_OBJS = dsound.o -export CFLAGS += -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_WIN32_DIRECT_SOUND -endif - -# -# Last resort, null sound device -# -ifeq ($(AC_PJMEDIA_SND),null) -export SOUND_OBJS = nullsound.o -export CFLAGS += -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_NULL_SOUND -endif - - diff --git a/res/pjproject/pjmedia/build/os-rtems.mak b/res/pjproject/pjmedia/build/os-rtems.mak deleted file mode 100644 index bbcfad4e23..0000000000 --- a/res/pjproject/pjmedia/build/os-rtems.mak +++ /dev/null @@ -1,8 +0,0 @@ -# -# PJMEDIA OS specific configuration for RTEMS OS target. -# - -export CFLAGS += -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_NULL_SOUND -export PJMEDIA_OBJS += nullsound.o -export SOUND_OBJS = $(NULLSOUND_OBJS) - diff --git a/res/pjproject/pjmedia/build/os-win32.mak b/res/pjproject/pjmedia/build/os-win32.mak deleted file mode 100644 index 498a9e1a38..0000000000 --- a/res/pjproject/pjmedia/build/os-win32.mak +++ /dev/null @@ -1,102 +0,0 @@ -# PJMEDIA features exclusion -export CFLAGS += - -# Define the desired sound device backend -# Valid values are: -# - pa_unix: PortAudio on Unix (OSS or ALSA) -# - pa_darwinos: PortAudio on MacOSX (CoreAudio) -# - pa_old_darwinos: PortAudio on MacOSX (old CoreAudio, for OSX 10.2) -# - pa_win32: PortAudio on Win32 (WMME) -# - ds: Win32 DirectSound (dsound.c) -# - null: Null sound device (nullsound.c) -AC_PJMEDIA_SND=pa_win32 - -# -# Codecs -# -AC_NO_G711_CODEC=0 -AC_NO_L16_CODEC=0 -AC_NO_GSM_CODEC=0 -AC_NO_SPEEX_CODEC=0 -AC_NO_ILBC_CODEC=0 -AC_NO_G722_CODEC=0 -AC_NO_G7221_CODEC=0 - -export CODEC_OBJS= - -ifeq ($(AC_NO_G711_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_G711_CODEC=0 -else -export CODEC_OBJS += -endif - -ifeq ($(AC_NO_L16_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_L16_CODEC=0 -else -export CODEC_OBJS += l16.o -endif - -ifeq ($(AC_NO_GSM_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_GSM_CODEC=0 -else -export CODEC_OBJS += gsm.o -endif - -ifeq ($(AC_NO_SPEEX_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_SPEEX_CODEC=0 -else -export CFLAGS += -I$(THIRD_PARTY)/build/speex -I$(THIRD_PARTY)/speex/include -export CODEC_OBJS += speex_codec.o - -#ifeq (@ac_no_speex_aec@,1) -ifeq (0,1) -export PJMEDIA_OBJS += echo_speex.o -endif - -endif - -ifeq ($(AC_NO_ILBC_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_ILBC_CODEC=0 -else -export CODEC_OBJS += ilbc.o -endif - -ifeq ($(AC_NO_G722_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_G722_CODEC=0 -else -export CODEC_OBJS += g722.o g722/g722_enc.o g722/g722_dec.o -endif - -ifeq ($(AC_NO_G7221_CODEC),1) -export CFLAGS += -DPJMEDIA_HAS_G7221_CODEC=0 -else -export CODEC_OBJS += g7221.o -export G7221_CFLAGS += -I$(THIRD_PARTY) -endif - - -# -# PortAudio -# -ifneq ($(findstring pa,$(AC_PJMEDIA_SND)),) -export CFLAGS += -I$(THIRD_PARTY)/build/portaudio -I$(THIRD_PARTY)/portaudio/include -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_PORTAUDIO_SOUND -export SOUND_OBJS = pasound.o -endif - -# -# Win32 DirectSound -# -ifeq ($(AC_PJMEDIA_SND),ds) -export SOUND_OBJS = dsound.o -export CFLAGS += -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_WIN32_DIRECT_SOUND -endif - -# -# Last resort, null sound device -# -ifeq ($(AC_PJMEDIA_SND),null) -export SOUND_OBJS = nullsound.o -export CFLAGS += -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_NULL_SOUND -endif - - diff --git a/res/pjproject/pjmedia/build/pjmedia.vcproj b/res/pjproject/pjmedia/build/pjmedia.vcproj deleted file mode 100644 index 48d24a60ab..0000000000 --- a/res/pjproject/pjmedia/build/pjmedia.vcproj +++ /dev/null @@ -1,5203 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjmedia/build/pjmedia_audiodev.vcproj b/res/pjproject/pjmedia/build/pjmedia_audiodev.vcproj deleted file mode 100644 index 76d7f7469b..0000000000 --- a/res/pjproject/pjmedia/build/pjmedia_audiodev.vcproj +++ /dev/null @@ -1,6316 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjmedia/build/pjmedia_codec.vcproj b/res/pjproject/pjmedia/build/pjmedia_codec.vcproj deleted file mode 100644 index e56fa6244a..0000000000 --- a/res/pjproject/pjmedia/build/pjmedia_codec.vcproj +++ /dev/null @@ -1,3148 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjmedia/build/pjmedia_test.vcproj b/res/pjproject/pjmedia/build/pjmedia_test.vcproj deleted file mode 100644 index 1a785eb0a1..0000000000 --- a/res/pjproject/pjmedia/build/pjmedia_test.vcproj +++ /dev/null @@ -1,4263 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjmedia/build/pjmedia_videodev.vcproj b/res/pjproject/pjmedia/build/pjmedia_videodev.vcproj deleted file mode 100644 index f31d3e0980..0000000000 --- a/res/pjproject/pjmedia/build/pjmedia_videodev.vcproj +++ /dev/null @@ -1,2864 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjmedia/build/wince-evc4/pjmedia_auddev_wince.vcp b/res/pjproject/pjmedia/build/wince-evc4/pjmedia_auddev_wince.vcp deleted file mode 100644 index 7cf37cb6b8..0000000000 --- a/res/pjproject/pjmedia/build/wince-evc4/pjmedia_auddev_wince.vcp +++ /dev/null @@ -1,6342 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="pjmedia_auddev_wince" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE x86) Static Library" 0x8304 -# TARGTYPE "Win32 (WCE ARMV4) Static Library" 0xa304 -# TARGTYPE "Win32 (WCE ARMV4I) Static Library" 0xa504 -# TARGTYPE "Win32 (WCE emulator) Static Library" 0xa604 -# TARGTYPE "Win32 (WCE ARMV4T) Static Library" 0xa404 - -CFG=pjmedia_auddev_wince - Win32 (WCE x86) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "pjmedia_auddev_wince.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "pjmedia_auddev_wince.vcn" CFG="pjmedia_auddev_wince - Win32 (WCE x86) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "pjmedia_auddev_wince - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "pjmedia_auddev_wince - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "pjmedia_auddev_wince - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "pjmedia_auddev_wince - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "pjmedia_auddev_wince - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Static Library") -!MESSAGE "pjmedia_auddev_wince - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjmedia_audiodev_wince_emulatorRel" -# PROP BASE Intermediate_Dir "./output/pjmedia_audiodev_wince_emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjmedia_audiodev_wince_emulatorRel" -# PROP Intermediate_Dir "./output/pjmedia_audiodev_wince_emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../third_party/portaudio/include" /D "NDEBUG" /D "_i386_" /D "_X86_" /D "x86" /D HAVE_CONFIG_H=1 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjmedia_audiodev_wince_emulatorDbg" -# PROP BASE Intermediate_Dir "./output/pjmedia_audiodev_wince_emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjmedia_audiodev_wince_emulatorDbg" -# PROP Intermediate_Dir "./output/pjmedia_audiodev_wince_emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../third_party/portaudio/include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D HAVE_CONFIG_H=1 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjmedia_audiodev_wince_ARMV4IRel" -# PROP BASE Intermediate_Dir "./output/pjmedia_audiodev_wince_ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjmedia_audiodev_wince_ARMV4IRel" -# PROP Intermediate_Dir "./output/pjmedia_audiodev_wince_ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../third_party/portaudio/include" /D "ARMV4I" /D "NDEBUG" /D "ARM" /D "_ARM_" /D HAVE_CONFIG_H=1 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjmedia_audiodev_wince_ARMV4IDbg" -# PROP BASE Intermediate_Dir "./output/pjmedia_audiodev_wince_ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjmedia_audiodev_wince_ARMV4IDbg" -# PROP Intermediate_Dir "./output/pjmedia_audiodev_wince_ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../third_party/portaudio/include" /D "DEBUG" /D "ARMV4I" /D "ARM" /D "_ARM_" /D HAVE_CONFIG_H=1 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjmedia_audiodev_wince_ARMV4Rel" -# PROP BASE Intermediate_Dir "./output/pjmedia_audiodev_wince_ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjmedia_audiodev_wince_ARMV4Rel" -# PROP Intermediate_Dir "./output/pjmedia_audiodev_wince_ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../third_party/portaudio/include" /D "NDEBUG" /D "ARMV4" /D "ARM" /D "_ARM_" /D HAVE_CONFIG_H=1 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjmedia_audiodev_wince_ARMV4Dbg" -# PROP BASE Intermediate_Dir "./output/pjmedia_audiodev_wince_ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjmedia_auddev_ARMV4Dbg" -# PROP Intermediate_Dir "./output/pjmedia_auddev_ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../third_party/portaudio/include" /D "DEBUG" /D "ARMV4" /D "ARM" /D "_ARM_" /D HAVE_CONFIG_H=1 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjmedia_audiodev_wince_ARMV4TRel" -# PROP BASE Intermediate_Dir "./output/pjmedia_audiodev_wince_ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjmedia_audiodev_wince_ARMV4TRel" -# PROP Intermediate_Dir "./output/pjmedia_audiodev_wince_ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../third_party/portaudio/include" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "NDEBUG" /D "ARM" /D "_ARM_" /D HAVE_CONFIG_H=1 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjmedia_audiodev_wince_ARMV4TDbg" -# PROP BASE Intermediate_Dir "./output/pjmedia_audiodev_wince_ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjmedia_audiodev_wince_ARMV4TDbg" -# PROP Intermediate_Dir "./output/pjmedia_audiodev_wince_ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../third_party/portaudio/include" /D "DEBUG" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "ARM" /D "_ARM_" /D HAVE_CONFIG_H=1 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjmedia_audiodev_wince_X86Rel" -# PROP BASE Intermediate_Dir "./output/pjmedia_audiodev_wince_X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjmedia_audiodev_wince_X86Rel" -# PROP Intermediate_Dir "./output/pjmedia_audiodev_wince_X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../third_party/portaudio/include" /D "NDEBUG" /D "_i386_" /D "_X86_" /D "x86" /D HAVE_CONFIG_H=1 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjmedia_audiodev_wince_X86Dbg" -# PROP BASE Intermediate_Dir "./output/pjmedia_audiodev_wince_X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjmedia_audiodev_wince_X86Dbg" -# PROP Intermediate_Dir "./output/pjmedia_audiodev_wince_X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../third_party/portaudio/include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D HAVE_CONFIG_H=1 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ENDIF - -# Begin Target - -# Name "pjmedia_auddev_wince - Win32 (WCE emulator) Release" -# Name "pjmedia_auddev_wince - Win32 (WCE emulator) Debug" -# Name "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Release" -# Name "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Debug" -# Name "pjmedia_auddev_wince - Win32 (WCE ARMV4) Release" -# Name "pjmedia_auddev_wince - Win32 (WCE ARMV4) Debug" -# Name "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Release" -# Name "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Debug" -# Name "pjmedia_auddev_wince - Win32 (WCE x86) Release" -# Name "pjmedia_auddev_wince - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE="..\..\src\pjmedia-audiodev\audiodev.c" - -!IF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE emulator) Release" - -DEP_CPP_AUDIO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_AUDIO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_AUDIO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_AUDIO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_AUDIO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_AUDIO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_AUDIO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_AUDIO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE x86) Release" - -DEP_CPP_AUDIO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE x86) Debug" - -DEP_CPP_AUDIO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjmedia-audiodev\audiotest.c" - -!IF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE emulator) Release" - -DEP_CPP_AUDIOT=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_AUDIOT=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_AUDIOT=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_AUDIOT=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_AUDIOT=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4) Debug" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_AUDIOT=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_AUDIOT=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE x86) Release" - -DEP_CPP_AUDIOT=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE x86) Debug" - -DEP_CPP_AUDIOT=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjmedia-audiodev\errno.c" - -!IF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\portaudio\include\portaudio.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\portaudio\include\portaudio.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\portaudio\include\portaudio.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE x86) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjmedia-audiodev\legacy_dev.c" - -!IF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE emulator) Release" - -DEP_CPP_LEGAC=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_LEGAC=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_LEGAC=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_LEGAC=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_LEGAC=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_LEGAC=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_LEGAC=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_LEGAC=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE x86) Release" - -DEP_CPP_LEGAC=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE x86) Debug" - -DEP_CPP_LEGAC=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjmedia-audiodev\pa_dev.c" - -!IF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE emulator) Release" - -DEP_CPP_PA_DE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\portaudio\include\portaudio.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_PA_DE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\portaudio\include\portaudio.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PA_DE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PA_DE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_PA_DE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\portaudio\include\portaudio.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PA_DE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PA_DE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PA_DE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE x86) Release" - -DEP_CPP_PA_DE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE x86) Debug" - -DEP_CPP_PA_DE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjmedia-audiodev\symb_aps_dev.cpp" - -!IF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SYMB_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia-codec\amr_helper.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - "..\..\src\pjmedia-audiodev\s60_g729_bitstream.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SYMB_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia-codec\amr_helper.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - "..\..\src\pjmedia-audiodev\s60_g729_bitstream.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SYMB_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia-codec\amr_helper.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - "..\..\src\pjmedia-audiodev\s60_g729_bitstream.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SYMB_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia-codec\amr_helper.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - "..\..\src\pjmedia-audiodev\s60_g729_bitstream.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SYMB_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia-codec\amr_helper.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - "..\..\src\pjmedia-audiodev\s60_g729_bitstream.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4) Debug" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SYMB_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia-codec\amr_helper.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - "..\..\src\pjmedia-audiodev\s60_g729_bitstream.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SYMB_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia-codec\amr_helper.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - "..\..\src\pjmedia-audiodev\s60_g729_bitstream.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE x86) Release" - -DEP_CPP_SYMB_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia-codec\amr_helper.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - "..\..\src\pjmedia-audiodev\s60_g729_bitstream.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SYMB_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia-codec\amr_helper.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - "..\..\src\pjmedia-audiodev\s60_g729_bitstream.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjmedia-audiodev\symb_mda_dev.cpp" - -!IF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SYMB_M=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SYMB_M=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SYMB_M=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SYMB_M=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SYMB_M=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4) Debug" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SYMB_M=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SYMB_M=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE x86) Release" - -DEP_CPP_SYMB_M=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SYMB_M=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjmedia-audiodev\wmme_dev.c" - -!IF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE emulator) Release" - -DEP_CPP_WMME_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_WMME_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_WMME_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_WMME_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_WMME_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_WMME_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_WMME_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_WMME_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE x86) Release" - -DEP_CPP_WMME_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE x86) Debug" - -DEP_CPP_WMME_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE="..\..\include\pjmedia-audiodev\audiodev.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjmedia-audiodev\audiodev_imp.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjmedia-audiodev\audiotest.h" - -!IF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE emulator) Release" - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE emulator) Debug" - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Release" - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4I) Debug" - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4) Release" - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4) Debug" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Release" - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE ARMV4T) Debug" - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE x86) Release" - -!ELSEIF "$(CFG)" == "pjmedia_auddev_wince - Win32 (WCE x86) Debug" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjmedia-audiodev\config.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjmedia-audiodev\errno.h" -# End Source File -# End Group -# End Target -# End Project diff --git a/res/pjproject/pjmedia/build/wince-evc4/pjmedia_codec_wince.vcp b/res/pjproject/pjmedia/build/wince-evc4/pjmedia_codec_wince.vcp deleted file mode 100644 index 9709c51e29..0000000000 --- a/res/pjproject/pjmedia/build/wince-evc4/pjmedia_codec_wince.vcp +++ /dev/null @@ -1,5023 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="pjmedia_codec_wince" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE x86) Static Library" 0x8304 -# TARGTYPE "Win32 (WCE ARMV4) Static Library" 0xa304 -# TARGTYPE "Win32 (WCE ARMV4I) Static Library" 0xa504 -# TARGTYPE "Win32 (WCE emulator) Static Library" 0xa604 -# TARGTYPE "Win32 (WCE ARMV4T) Static Library" 0xa404 - -CFG=pjmedia_codec_wince - Win32 (WCE x86) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "pjmedia_codec_wince.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "pjmedia_codec_wince.vcn" CFG="pjmedia_codec_wince - Win32 (WCE x86) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "pjmedia_codec_wince - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "pjmedia_codec_wince - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "pjmedia_codec_wince - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "pjmedia_codec_wince - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "pjmedia_codec_wince - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "pjmedia_codec_wince - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "pjmedia_codec_wince - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "pjmedia_codec_wince - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "pjmedia_codec_wince - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Static Library") -!MESSAGE "pjmedia_codec_wince - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjmedia_codec_emulatorRel" -# PROP BASE Intermediate_Dir "./output/pjmedia_codec_emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjmedia_codec_emulatorRel" -# PROP Intermediate_Dir "./output/pjmedia_codec_emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../src/pjmedia-codec" /I "../../../third_party/speex/include" /D "NDEBUG" /D "_i386_" /D "_X86_" /D "x86" /D HAVE_CONFIG_H=1 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjmedia_codec_emulatorDbg" -# PROP BASE Intermediate_Dir "./output/pjmedia_codec_emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjmedia_codec_emulatorDbg" -# PROP Intermediate_Dir "./output/pjmedia_codec_emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../src/pjmedia-codec" /I "../../../third_party/speex/include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D HAVE_CONFIG_H=1 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjmedia_codec_ARMV4IRel" -# PROP BASE Intermediate_Dir "./output/pjmedia_codec_ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjmedia_codec_ARMV4IRel" -# PROP Intermediate_Dir "./output/pjmedia_codec_ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../src/pjmedia-codec" /I "../../../third_party/speex/include" /D "ARMV4I" /D "NDEBUG" /D "ARM" /D "_ARM_" /D HAVE_CONFIG_H=1 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjmedia_codec_ARMV4IDbg" -# PROP BASE Intermediate_Dir "./output/pjmedia_codec_ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjmedia_codec_ARMV4IDbg" -# PROP Intermediate_Dir "./output/pjmedia_codec_ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../src/pjmedia-codec" /I "../../../third_party/speex/include" /D "DEBUG" /D "ARMV4I" /D "ARM" /D "_ARM_" /D HAVE_CONFIG_H=1 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjmedia_codec_ARMV4Rel" -# PROP BASE Intermediate_Dir "./output/pjmedia_codec_ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjmedia_codec_ARMV4Rel" -# PROP Intermediate_Dir "./output/pjmedia_codec_ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../src/pjmedia-codec" /I "../../../third_party/speex/include" /D "NDEBUG" /D "ARMV4" /D "ARM" /D "_ARM_" /D HAVE_CONFIG_H=1 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjmedia_codec_ARMV4Dbg" -# PROP BASE Intermediate_Dir "./output/pjmedia_codec_ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjmedia_codec_ARMV4Dbg" -# PROP Intermediate_Dir "./output/pjmedia_codec_ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../src/pjmedia-codec" /I "../../../third_party/speex/include" /D "DEBUG" /D "ARMV4" /D "ARM" /D "_ARM_" /D HAVE_CONFIG_H=1 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjmedia_codec_ARMV4TRel" -# PROP BASE Intermediate_Dir "./output/pjmedia_codec_ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjmedia_codec_ARMV4TRel" -# PROP Intermediate_Dir "./output/pjmedia_codec_ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../src/pjmedia-codec" /I "../../../third_party/speex/include" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "NDEBUG" /D "ARM" /D "_ARM_" /D HAVE_CONFIG_H=1 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjmedia_codec_ARMV4TDbg" -# PROP BASE Intermediate_Dir "./output/pjmedia_codec_ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjmedia_codec_ARMV4TDbg" -# PROP Intermediate_Dir "./output/pjmedia_codec_ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../src/pjmedia-codec" /I "../../../third_party/speex/include" /D "DEBUG" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "ARM" /D "_ARM_" /D HAVE_CONFIG_H=1 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjmedia_codec_X86Rel" -# PROP BASE Intermediate_Dir "./output/pjmedia_codec_X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjmedia_codec_X86Rel" -# PROP Intermediate_Dir "./output/pjmedia_codec_X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../src/pjmedia-codec" /I "../../../third_party/speex/include" /D "NDEBUG" /D "_i386_" /D "_X86_" /D "x86" /D HAVE_CONFIG_H=1 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjmedia_codec_X86Dbg" -# PROP BASE Intermediate_Dir "./output/pjmedia_codec_X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjmedia_codec_X86Dbg" -# PROP Intermediate_Dir "./output/pjmedia_codec_X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../src/pjmedia-codec" /I "../../../third_party/speex/include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D HAVE_CONFIG_H=1 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ENDIF - -# Begin Target - -# Name "pjmedia_codec_wince - Win32 (WCE emulator) Release" -# Name "pjmedia_codec_wince - Win32 (WCE emulator) Debug" -# Name "pjmedia_codec_wince - Win32 (WCE ARMV4I) Release" -# Name "pjmedia_codec_wince - Win32 (WCE ARMV4I) Debug" -# Name "pjmedia_codec_wince - Win32 (WCE ARMV4) Release" -# Name "pjmedia_codec_wince - Win32 (WCE ARMV4) Debug" -# Name "pjmedia_codec_wince - Win32 (WCE ARMV4T) Release" -# Name "pjmedia_codec_wince - Win32 (WCE ARMV4T) Debug" -# Name "pjmedia_codec_wince - Win32 (WCE x86) Release" -# Name "pjmedia_codec_wince - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Group "g722 Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE="..\..\src\pjmedia-codec\g722\g722_dec.c" - -!IF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE emulator) Release" - -DEP_CPP_G722_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_dec.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_G722_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_dec.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_G722_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_dec.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_G722_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_dec.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_G722_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_dec.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_G722_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_dec.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_G722_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_dec.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_G722_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_dec.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE x86) Release" - -DEP_CPP_G722_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_dec.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE x86) Debug" - -DEP_CPP_G722_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_dec.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjmedia-codec\g722\g722_dec.h" -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjmedia-codec\g722\g722_enc.c" - -!IF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE emulator) Release" - -DEP_CPP_G722_E=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_enc.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_G722_E=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_enc.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_G722_E=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_enc.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_G722_E=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_enc.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_G722_E=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_enc.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_G722_E=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_enc.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_G722_E=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_enc.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_G722_E=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_enc.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE x86) Release" - -DEP_CPP_G722_E=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_enc.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE x86) Debug" - -DEP_CPP_G722_E=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_enc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjmedia-codec\g722\g722_enc.h" -# End Source File -# End Group -# Begin Source File - -SOURCE="..\..\src\pjmedia-codec\g722.c" - -!IF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE emulator) Release" - -DEP_CPP_G722_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_dec.h"\ - "..\..\src\pjmedia-codec\g722\g722_enc.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_G722_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_dec.h"\ - "..\..\src\pjmedia-codec\g722\g722_enc.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_G722_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_dec.h"\ - "..\..\src\pjmedia-codec\g722\g722_enc.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_G722_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_dec.h"\ - "..\..\src\pjmedia-codec\g722\g722_enc.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_G722_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_dec.h"\ - "..\..\src\pjmedia-codec\g722\g722_enc.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_G722_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_dec.h"\ - "..\..\src\pjmedia-codec\g722\g722_enc.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_G722_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_dec.h"\ - "..\..\src\pjmedia-codec\g722\g722_enc.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_G722_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_dec.h"\ - "..\..\src\pjmedia-codec\g722\g722_enc.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE x86) Release" - -DEP_CPP_G722_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_dec.h"\ - "..\..\src\pjmedia-codec\g722\g722_enc.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE x86) Debug" - -DEP_CPP_G722_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia-codec\g722\g722_dec.h"\ - "..\..\src\pjmedia-codec\g722\g722_enc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjmedia-codec\gsm.c" - -!IF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE emulator) Release" - -DEP_CPP_GSM_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_GSM_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - "..\..\src\pjmedia-codec\gsm\gsm.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_GSM_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\gsm\inc\gsm.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_GSM_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_GSM_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - "..\..\src\pjmedia-codec\gsm\gsm.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_GSM_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_GSM_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - "..\..\src\pjmedia-codec\gsm\gsm.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_GSM_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\gsm\inc\gsm.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_GSM_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_GSM_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - "..\..\src\pjmedia-codec\gsm\gsm.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_GSM_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_GSM_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - "..\..\src\pjmedia-codec\gsm\gsm.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_GSM_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_GSM_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - "..\..\src\pjmedia-codec\gsm\gsm.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE x86) Release" - -DEP_CPP_GSM_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_GSM_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - "..\..\src\pjmedia-codec\gsm\gsm.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE x86) Debug" - -DEP_CPP_GSM_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_GSM_C=\ - "..\..\src\pjmedia-codec\gsm\gsm.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjmedia-codec\ilbc.c" - -!IF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ILBC_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ILBC_=\ - "..\..\src\pjmedia-codec\ilbc\iLBC_decode.h"\ - "..\..\src\pjmedia-codec\ilbc\iLBC_define.h"\ - "..\..\src\pjmedia-codec\ilbc\iLBC_encode.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ILBC_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\ilbc\iLBC_decode.h"\ - "..\..\..\third_party\ilbc\iLBC_define.h"\ - "..\..\..\third_party\ilbc\iLBC_encode.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ILBC_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ILBC_=\ - "..\..\src\pjmedia-codec\ilbc\iLBC_decode.h"\ - "..\..\src\pjmedia-codec\ilbc\iLBC_define.h"\ - "..\..\src\pjmedia-codec\ilbc\iLBC_encode.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ILBC_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ILBC_=\ - "..\..\src\pjmedia-codec\ilbc\iLBC_decode.h"\ - "..\..\src\pjmedia-codec\ilbc\iLBC_define.h"\ - "..\..\src\pjmedia-codec\ilbc\iLBC_encode.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ILBC_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\ilbc\iLBC_decode.h"\ - "..\..\..\third_party\ilbc\iLBC_define.h"\ - "..\..\..\third_party\ilbc\iLBC_encode.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ILBC_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ILBC_=\ - "..\..\src\pjmedia-codec\ilbc\iLBC_decode.h"\ - "..\..\src\pjmedia-codec\ilbc\iLBC_define.h"\ - "..\..\src\pjmedia-codec\ilbc\iLBC_encode.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ILBC_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ILBC_=\ - "..\..\src\pjmedia-codec\ilbc\iLBC_decode.h"\ - "..\..\src\pjmedia-codec\ilbc\iLBC_define.h"\ - "..\..\src\pjmedia-codec\ilbc\iLBC_encode.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ILBC_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ILBC_=\ - "..\..\src\pjmedia-codec\ilbc\iLBC_decode.h"\ - "..\..\src\pjmedia-codec\ilbc\iLBC_define.h"\ - "..\..\src\pjmedia-codec\ilbc\iLBC_encode.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE x86) Release" - -DEP_CPP_ILBC_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ILBC_=\ - "..\..\src\pjmedia-codec\ilbc\iLBC_decode.h"\ - "..\..\src\pjmedia-codec\ilbc\iLBC_define.h"\ - "..\..\src\pjmedia-codec\ilbc\iLBC_encode.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ILBC_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ILBC_=\ - "..\..\src\pjmedia-codec\ilbc\iLBC_decode.h"\ - "..\..\src\pjmedia-codec\ilbc\iLBC_define.h"\ - "..\..\src\pjmedia-codec\ilbc\iLBC_encode.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjmedia-codec\l16.c" - -!IF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE emulator) Release" - -DEP_CPP_L16_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_L16_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_L16_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_L16_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_L16_C=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_L16_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_L16_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_L16_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE x86) Release" - -DEP_CPP_L16_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE x86) Debug" - -DEP_CPP_L16_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjmedia-codec\speex_codec.c" - -!IF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\src\pjmedia-codec\speex\speex.h"\ - "..\..\src\pjmedia-codec\speex\speex_bits.h"\ - "..\..\src\pjmedia-codec\speex\speex_config_types.h"\ - "..\..\src\pjmedia-codec\speex\speex_types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\speex\include\speex\speex.h"\ - "..\..\..\third_party\speex\include\speex\speex_bits.h"\ - "..\..\..\third_party\speex\include\speex\speex_types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\src\pjmedia-codec\speex\speex.h"\ - "..\..\src\pjmedia-codec\speex\speex_bits.h"\ - "..\..\src\pjmedia-codec\speex\speex_config_types.h"\ - "..\..\src\pjmedia-codec\speex\speex_types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\src\pjmedia-codec\speex\speex.h"\ - "..\..\src\pjmedia-codec\speex\speex_bits.h"\ - "..\..\src\pjmedia-codec\speex\speex_config_types.h"\ - "..\..\src\pjmedia-codec\speex\speex_types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\speex\include\speex\speex.h"\ - "..\..\..\third_party\speex\include\speex\speex_bits.h"\ - "..\..\..\third_party\speex\include\speex\speex_types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\src\pjmedia-codec\speex\speex.h"\ - "..\..\src\pjmedia-codec\speex\speex_bits.h"\ - "..\..\src\pjmedia-codec\speex\speex_config_types.h"\ - "..\..\src\pjmedia-codec\speex\speex_types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\src\pjmedia-codec\speex\speex.h"\ - "..\..\src\pjmedia-codec\speex\speex_bits.h"\ - "..\..\src\pjmedia-codec\speex\speex_config_types.h"\ - "..\..\src\pjmedia-codec\speex\speex_types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\src\pjmedia-codec\speex\speex.h"\ - "..\..\src\pjmedia-codec\speex\speex_bits.h"\ - "..\..\src\pjmedia-codec\speex\speex_config_types.h"\ - "..\..\src\pjmedia-codec\speex\speex_types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE x86) Release" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\src\pjmedia-codec\speex\speex.h"\ - "..\..\src\pjmedia-codec\speex\speex_bits.h"\ - "..\..\src\pjmedia-codec\speex\speex_config_types.h"\ - "..\..\src\pjmedia-codec\speex\speex_types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_codec_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE="..\..\include\pjmedia-codec\config.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjmedia-codec\g722.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjmedia-codec\gsm.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjmedia-codec\ilbc.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjmedia-codec\l16.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjmedia-codec.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjmedia-codec\speex.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjmedia-codec\types.h" -# End Source File -# End Group -# End Target -# End Project diff --git a/res/pjproject/pjmedia/build/wince-evc4/pjmedia_test.vcp b/res/pjproject/pjmedia/build/wince-evc4/pjmedia_test.vcp deleted file mode 100644 index aa85f5d498..0000000000 --- a/res/pjproject/pjmedia/build/wince-evc4/pjmedia_test.vcp +++ /dev/null @@ -1,19958 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="pjmedia_test" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE MIPSIV_FP) Application" 0x9201 -# TARGTYPE "Win32 (WCE x86) Application" 0x8301 -# TARGTYPE "Win32 (WCE ARMV4) Application" 0xa301 -# TARGTYPE "Win32 (WCE MIPS16) Application" 0x8901 -# TARGTYPE "Win32 (WCE SH3) Application" 0x8101 -# TARGTYPE "Win32 (WCE ARMV4I) Application" 0xa501 -# TARGTYPE "Win32 (WCE SH4) Application" 0x8601 -# TARGTYPE "Win32 (WCE MIPSII_FP) Application" 0xa201 -# TARGTYPE "Win32 (WCE emulator) Application" 0xa601 -# TARGTYPE "Win32 (WCE MIPSIV) Application" 0x9601 -# TARGTYPE "Win32 (WCE ARMV4T) Application" 0xa401 -# TARGTYPE "Win32 (WCE MIPSII) Application" 0xa101 - -CFG=pjmedia_test - Win32 (WCE MIPSII_FP) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "pjmedia_test.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "pjmedia_test.vcn" CFG="pjmedia_test - Win32 (WCE MIPSII_FP) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "pjmedia_test - Win32 (WCE MIPSII_FP) Release" (based on "Win32 (WCE MIPSII_FP) Application") -!MESSAGE "pjmedia_test - Win32 (WCE MIPSII_FP) Debug" (based on "Win32 (WCE MIPSII_FP) Application") -!MESSAGE "pjmedia_test - Win32 (WCE MIPSII) Release" (based on "Win32 (WCE MIPSII) Application") -!MESSAGE "pjmedia_test - Win32 (WCE MIPSII) Debug" (based on "Win32 (WCE MIPSII) Application") -!MESSAGE "pjmedia_test - Win32 (WCE SH4) Release" (based on "Win32 (WCE SH4) Application") -!MESSAGE "pjmedia_test - Win32 (WCE SH4) Debug" (based on "Win32 (WCE SH4) Application") -!MESSAGE "pjmedia_test - Win32 (WCE SH3) Release" (based on "Win32 (WCE SH3) Application") -!MESSAGE "pjmedia_test - Win32 (WCE SH3) Debug" (based on "Win32 (WCE SH3) Application") -!MESSAGE "pjmedia_test - Win32 (WCE MIPSIV) Release" (based on "Win32 (WCE MIPSIV) Application") -!MESSAGE "pjmedia_test - Win32 (WCE MIPSIV) Debug" (based on "Win32 (WCE MIPSIV) Application") -!MESSAGE "pjmedia_test - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Application") -!MESSAGE "pjmedia_test - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Application") -!MESSAGE "pjmedia_test - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Application") -!MESSAGE "pjmedia_test - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Application") -!MESSAGE "pjmedia_test - Win32 (WCE MIPSIV_FP) Release" (based on "Win32 (WCE MIPSIV_FP) Application") -!MESSAGE "pjmedia_test - Win32 (WCE MIPSIV_FP) Debug" (based on "Win32 (WCE MIPSIV_FP) Application") -!MESSAGE "pjmedia_test - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Application") -!MESSAGE "pjmedia_test - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Application") -!MESSAGE "pjmedia_test - Win32 (WCE MIPS16) Release" (based on "Win32 (WCE MIPS16) Application") -!MESSAGE "pjmedia_test - Win32 (WCE MIPS16) Debug" (based on "Win32 (WCE MIPS16) Application") -!MESSAGE "pjmedia_test - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Application") -!MESSAGE "pjmedia_test - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Application") -!MESSAGE "pjmedia_test - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Application") -!MESSAGE "pjmedia_test - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjmedia_test_MIPSII_FPRel" -# PROP BASE Intermediate_Dir "output/pjmedia_test_MIPSII_FPRel" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjmedia_test_MIPSII_FPRel" -# PROP Intermediate_Dir "output/pjmedia_test_MIPSII_FPRel" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Yu"stdafx.h" /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjmedia_test_MIPSII_FPDbg" -# PROP BASE Intermediate_Dir "output/pjmedia_test_MIPSII_FPDbg" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjmedia_test_MIPSII_FPDbg" -# PROP Intermediate_Dir "output/pjmedia_test_MIPSII_FPDbg" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /Yu"stdafx.h" /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjmedia_test_MIPSIIRel" -# PROP BASE Intermediate_Dir "output/pjmedia_test_MIPSIIRel" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjmedia_test_MIPSIIRel" -# PROP Intermediate_Dir "output/pjmedia_test_MIPSIIRel" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Yu"stdafx.h" /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjmedia_test_MIPSIIDbg" -# PROP BASE Intermediate_Dir "output/pjmedia_test_MIPSIIDbg" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjmedia_test_MIPSIIDbg" -# PROP Intermediate_Dir "output/pjmedia_test_MIPSIIDbg" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /Yu"stdafx.h" /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjmedia_test_SH4Rel" -# PROP BASE Intermediate_Dir "output/pjmedia_test_SH4Rel" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjmedia_test_SH4Rel" -# PROP Intermediate_Dir "output/pjmedia_test_SH4Rel" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Yu"stdafx.h" /Qsh4 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Qsh4 /O2 /M$(CECrtMT) /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjmedia_test_SH4Dbg" -# PROP BASE Intermediate_Dir "output/pjmedia_test_SH4Dbg" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjmedia_test_SH4Dbg" -# PROP Intermediate_Dir "output/pjmedia_test_SH4Dbg" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /Yu"stdafx.h" /Qsh4 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "DEBUG" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /Qsh4 /M$(CECrtMTDebug) /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH3) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjmedia_test_SH3Rel" -# PROP BASE Intermediate_Dir "output/pjmedia_test_SH3Rel" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjmedia_test_SH3Rel" -# PROP Intermediate_Dir "output/pjmedia_test_SH3Rel" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Yu"stdafx.h" /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /O2 /M$(CECrtMT) /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH3) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjmedia_test_SH3Dbg" -# PROP BASE Intermediate_Dir "output/pjmedia_test_SH3Dbg" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjmedia_test_SH3Dbg" -# PROP Intermediate_Dir "output/pjmedia_test_SH3Dbg" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /Yu"stdafx.h" /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /M$(CECrtMTDebug) /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjmedia_test_MIPSIVRel" -# PROP BASE Intermediate_Dir "output/pjmedia_test_MIPSIVRel" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjmedia_test_MIPSIVRel" -# PROP Intermediate_Dir "output/pjmedia_test_MIPSIVRel" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Yu"stdafx.h" /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjmedia_test_MIPSIVDbg" -# PROP BASE Intermediate_Dir "output/pjmedia_test_MIPSIVDbg" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjmedia_test_MIPSIVDbg" -# PROP Intermediate_Dir "output/pjmedia_test_MIPSIVDbg" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /Yu"stdafx.h" /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjmedia_test_emulatorRel" -# PROP BASE Intermediate_Dir "output/pjmedia_test_emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjmedia_test_emulatorRel" -# PROP Intermediate_Dir "output/pjmedia_test_emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /Yu"stdafx.h" /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /Gs8192 /GF /O2 /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjmedia_test_emulatorDbg" -# PROP BASE Intermediate_Dir "output/pjmedia_test_emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjmedia_test_emulatorDbg" -# PROP Intermediate_Dir "output/pjmedia_test_emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /Yu"stdafx.h" /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /Gs8192 /GF /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjmedia_test_ARMV4IRel" -# PROP BASE Intermediate_Dir "output/pjmedia_test_ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjmedia_test_ARMV4IRel" -# PROP Intermediate_Dir "output/pjmedia_test_ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Yu"stdafx.h" /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjmedia_test_ARMV4IDbg" -# PROP BASE Intermediate_Dir "output/pjmedia_test_ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjmedia_test_ARMV4IDbg" -# PROP Intermediate_Dir "output/pjmedia_test_ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /Yu"stdafx.h" /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjmedia_test_MIPSIV_FPRel" -# PROP BASE Intermediate_Dir "output/pjmedia_test_MIPSIV_FPRel" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjmedia_test_MIPSIV_FPRel" -# PROP Intermediate_Dir "output/pjmedia_test_MIPSIV_FPRel" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Yu"stdafx.h" /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjmedia_test_MIPSIV_FPDbg" -# PROP BASE Intermediate_Dir "output/pjmedia_test_MIPSIV_FPDbg" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjmedia_test_MIPSIV_FPDbg" -# PROP Intermediate_Dir "output/pjmedia_test_MIPSIV_FPDbg" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /Yu"stdafx.h" /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjmedia_test_ARMV4Rel" -# PROP BASE Intermediate_Dir "output/pjmedia_test_ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjmedia_test_ARMV4Rel" -# PROP Intermediate_Dir "output/pjmedia_test_ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Yu"stdafx.h" /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /O2 /M$(CECrtMT) /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjmedia_test_ARMV4Dbg" -# PROP BASE Intermediate_Dir "output/pjmedia_test_ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjmedia_test_ARMV4Dbg" -# PROP Intermediate_Dir "output/pjmedia_test_ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /Yu"stdafx.h" /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /M$(CECrtMTDebug) /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPS16) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjmedia_test_MIPS16Rel" -# PROP BASE Intermediate_Dir "output/pjmedia_test_MIPS16Rel" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjmedia_test_MIPS16Rel" -# PROP Intermediate_Dir "output/pjmedia_test_MIPS16Rel" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /Yu"stdafx.h" /QMmips16 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /QMmips16 /O2 /M$(CECrtMT) /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPS16) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjmedia_test_MIPS16Dbg" -# PROP BASE Intermediate_Dir "output/pjmedia_test_MIPS16Dbg" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjmedia_test_MIPS16Dbg" -# PROP Intermediate_Dir "output/pjmedia_test_MIPS16Dbg" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /Yu"stdafx.h" /QMmips16 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /QMmips16 /M$(CECrtMTDebug) /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjmedia_test_ARMV4TRel" -# PROP BASE Intermediate_Dir "output/pjmedia_test_ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjmedia_test_ARMV4TRel" -# PROP Intermediate_Dir "output/pjmedia_test_ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Yu"stdafx.h" /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjmedia_test_ARMV4TDbg" -# PROP BASE Intermediate_Dir "output/pjmedia_test_ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjmedia_test_ARMV4TDbg" -# PROP Intermediate_Dir "output/pjmedia_test_ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /Yu"stdafx.h" /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "DEBUG" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjmedia_test_X86Rel" -# PROP BASE Intermediate_Dir "output/pjmedia_test_X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjmedia_test_X86Rel" -# PROP Intermediate_Dir "output/pjmedia_test_X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /Yu"stdafx.h" /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /Gs8192 /GF /O2 /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjmedia_test_X86Dbg" -# PROP BASE Intermediate_Dir "output/pjmedia_test_X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjmedia_test_X86Dbg" -# PROP Intermediate_Dir "output/pjmedia_test_X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /Yu"stdafx.h" /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /Gs8192 /GF /c -# SUBTRACT CPP /YX /Yc /Yu -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ENDIF - -# Begin Target - -# Name "pjmedia_test - Win32 (WCE MIPSII_FP) Release" -# Name "pjmedia_test - Win32 (WCE MIPSII_FP) Debug" -# Name "pjmedia_test - Win32 (WCE MIPSII) Release" -# Name "pjmedia_test - Win32 (WCE MIPSII) Debug" -# Name "pjmedia_test - Win32 (WCE SH4) Release" -# Name "pjmedia_test - Win32 (WCE SH4) Debug" -# Name "pjmedia_test - Win32 (WCE SH3) Release" -# Name "pjmedia_test - Win32 (WCE SH3) Debug" -# Name "pjmedia_test - Win32 (WCE MIPSIV) Release" -# Name "pjmedia_test - Win32 (WCE MIPSIV) Debug" -# Name "pjmedia_test - Win32 (WCE emulator) Release" -# Name "pjmedia_test - Win32 (WCE emulator) Debug" -# Name "pjmedia_test - Win32 (WCE ARMV4I) Release" -# Name "pjmedia_test - Win32 (WCE ARMV4I) Debug" -# Name "pjmedia_test - Win32 (WCE MIPSIV_FP) Release" -# Name "pjmedia_test - Win32 (WCE MIPSIV_FP) Debug" -# Name "pjmedia_test - Win32 (WCE ARMV4) Release" -# Name "pjmedia_test - Win32 (WCE ARMV4) Debug" -# Name "pjmedia_test - Win32 (WCE MIPS16) Release" -# Name "pjmedia_test - Win32 (WCE MIPS16) Debug" -# Name "pjmedia_test - Win32 (WCE ARMV4T) Release" -# Name "pjmedia_test - Win32 (WCE ARMV4T) Debug" -# Name "pjmedia_test - Win32 (WCE x86) Release" -# Name "pjmedia_test - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\src\test\jbuf_test.c - -!IF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII) Release" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII) Debug" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH4) Release" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH4) Debug" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH3) Release" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH3) Debug" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV) Release" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE emulator) Release" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE emulator) Debug" - -DEP_CPP_JBUF_=\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4I) Release" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4) Release" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4) Debug" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPS16) Release" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPS16) Debug" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4T) Release" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE x86) Release" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE x86) Debug" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\test\mips_test.c - -!IF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII) Release" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII) Debug" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH4) Release" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH4) Debug" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH3) Release" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH3) Debug" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV) Release" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE emulator) Release" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE emulator) Debug" - -DEP_CPP_MIPS_=\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4I) Release" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4) Release" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4) Debug" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPS16) Release" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPS16) Debug" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4T) Release" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE x86) Release" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE x86) Debug" - -DEP_CPP_MIPS_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\g722.h"\ - "..\..\include\pjmedia-codec\gsm.h"\ - "..\..\include\pjmedia-codec\ilbc.h"\ - "..\..\include\pjmedia-codec\l16.h"\ - "..\..\include\pjmedia-codec\speex.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\test\rtp_test.c - -!IF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII) Release" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII) Debug" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH4) Release" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH4) Debug" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH3) Release" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH3) Debug" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV) Release" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE emulator) Release" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE emulator) Debug" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4) Release" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPS16) Release" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPS16) Debug" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE x86) Release" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE x86) Debug" - -DEP_CPP_RTP_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\test\sdp_neg_test.c - -!IF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII) Release" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII) Debug" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH4) Release" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH4) Debug" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH3) Release" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH3) Debug" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV) Release" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE emulator) Release" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE emulator) Debug" - -DEP_CPP_SDP_N=\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4) Release" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPS16) Release" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPS16) Debug" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE x86) Release" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE x86) Debug" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\test\sdptest.c -# PROP Exclude_From_Build 1 -# End Source File -# Begin Source File - -SOURCE=..\..\src\test\session_test.c -# PROP Exclude_From_Build 1 -# End Source File -# Begin Source File - -SOURCE=..\..\src\test\test.c - -!IF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH4) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH4) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH3) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH3) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE emulator) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE emulator) Debug" - -DEP_CPP_TEST_=\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPS16) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPS16) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE x86) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE x86) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\test\wince_main.c - -!IF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII) Release" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII) Debug" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH4) Release" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH4) Debug" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH3) Release" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH3) Debug" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV) Release" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE emulator) Release" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE emulator) Debug" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4I) Release" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4) Release" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4) Debug" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPS16) Release" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPS16) Debug" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4T) Release" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE x86) Release" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE x86) Debug" - -DEP_CPP_WINCE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia-codec\config.h"\ - "..\..\include\pjmedia-codec\config_auto.h"\ - "..\..\include\pjmedia-codec\types.h"\ - "..\..\include\pjmedia.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\g711.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - "..\..\include\pjmedia\wsola.h"\ - "..\..\src\test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\test\wsola_test.c - -!IF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII) Release" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSII) Debug" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH4) Release" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH4) Debug" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH3) Release" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE SH3) Debug" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV) Release" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE emulator) Release" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE emulator) Debug" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4I) Release" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4) Release" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4) Debug" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPS16) Release" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE MIPS16) Debug" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4T) Release" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE x86) Release" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_test - Win32 (WCE x86) Debug" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\src\test\test.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/res/pjproject/pjmedia/build/wince-evc4/pjmedia_wince.vcp b/res/pjproject/pjmedia/build/wince-evc4/pjmedia_wince.vcp deleted file mode 100644 index 509aad86ca..0000000000 --- a/res/pjproject/pjmedia/build/wince-evc4/pjmedia_wince.vcp +++ /dev/null @@ -1,29166 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="pjmedia_wince" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE x86) Static Library" 0x8304 -# TARGTYPE "Win32 (WCE ARMV4) Static Library" 0xa304 -# TARGTYPE "Win32 (WCE ARMV4I) Static Library" 0xa504 -# TARGTYPE "Win32 (WCE emulator) Static Library" 0xa604 -# TARGTYPE "Win32 (WCE ARMV4T) Static Library" 0xa404 - -CFG=pjmedia_wince - Win32 (WCE x86) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "pjmedia_wince.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "pjmedia_wince.vcn" CFG="pjmedia_wince - Win32 (WCE x86) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "pjmedia_wince - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "pjmedia_wince - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "pjmedia_wince - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "pjmedia_wince - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "pjmedia_wince - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "pjmedia_wince - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "pjmedia_wince - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "pjmedia_wince - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "pjmedia_wince - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Static Library") -!MESSAGE "pjmedia_wince - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjmedia_emulatorRel" -# PROP BASE Intermediate_Dir "output/pjmedia_emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjmedia_emulatorRel" -# PROP Intermediate_Dir "output/pjmedia_emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "NDEBUG" /D "_i386_" /D "_X86_" /D "x86" /D "PA_NO_DS" /D "PA_NO_ASIO" /D "WIN32_PLATFORM_PSPC" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# SUBTRACT CPP /Fr -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjmedia_emulatorDbg" -# PROP BASE Intermediate_Dir "./output/pjmedia_emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjmedia_emulatorDbg" -# PROP Intermediate_Dir "./output/pjmedia_emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D "PA_NO_DS" /D "PA_NO_ASIO" /D "WIN32_PLATFORM_PSPC" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -# SUBTRACT CPP /Fr -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjmedia_ARMV4IRel" -# PROP BASE Intermediate_Dir "output/pjmedia_ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjmedia_ARMV4IRel" -# PROP Intermediate_Dir "output/pjmedia_ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "ARMV4I" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "PA_NO_DS" /D "PA_NO_ASIO" /D "WIN32_PLATFORM_PSPC" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# SUBTRACT CPP /Fr -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjmedia_ARMV4IDbg" -# PROP BASE Intermediate_Dir "output/pjmedia_ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjmedia_ARMV4IDbg" -# PROP Intermediate_Dir "output/pjmedia_ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "DEBUG" /D "ARMV4I" /D "ARM" /D "_ARM_" /D "PA_NO_DS" /D "PA_NO_ASIO" /D "WIN32_PLATFORM_PSPC" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# SUBTRACT CPP /Fr -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjmedia_ARMV4Rel" -# PROP BASE Intermediate_Dir "output/pjmedia_ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjmedia_ARMV4Rel" -# PROP Intermediate_Dir "output/pjmedia_ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /Oxt /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "NDEBUG" /D "ARMV4" /D "ARM" /D "_ARM_" /D "PA_NO_DS" /D "PA_NO_ASIO" /D "WIN32_PLATFORM_PSPC" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjmedia_ARMV4Dbg" -# PROP BASE Intermediate_Dir "output/pjmedia_ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjmedia_ARMV4Dbg" -# PROP Intermediate_Dir "output/pjmedia_ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "DEBUG" /D "ARMV4" /D "ARM" /D "_ARM_" /D "PA_NO_DS" /D "PA_NO_ASIO" /D "WIN32_PLATFORM_PSPC" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# SUBTRACT CPP /Fr -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjmedia_ARMV4TRel" -# PROP BASE Intermediate_Dir "output/pjmedia_ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjmedia_ARMV4TRel" -# PROP Intermediate_Dir "output/pjmedia_ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "PA_NO_DS" /D "PA_NO_ASIO" /D "WIN32_PLATFORM_PSPC" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# SUBTRACT CPP /Fr -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjmedia_ARMV4TDbg" -# PROP BASE Intermediate_Dir "output/pjmedia_ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjmedia_ARMV4TDbg" -# PROP Intermediate_Dir "output/pjmedia_ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "DEBUG" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "ARM" /D "_ARM_" /D "PA_NO_DS" /D "PA_NO_ASIO" /D "WIN32_PLATFORM_PSPC" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# SUBTRACT CPP /Fr -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjmedia_X86Rel" -# PROP BASE Intermediate_Dir "output/pjmedia_X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjmedia_X86Rel" -# PROP Intermediate_Dir "output/pjmedia_X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "NDEBUG" /D "_i386_" /D "_X86_" /D "x86" /D "PA_NO_DS" /D "PA_NO_ASIO" /D "WIN32_PLATFORM_PSPC" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# SUBTRACT CPP /Fr -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjmedia_X86Dbg" -# PROP BASE Intermediate_Dir "output/pjmedia_X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjmedia_X86Dbg" -# PROP Intermediate_Dir "output/pjmedia_X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../third_party/portaudio/include" /I "../../../third_party/speex/include" /I "../../.." /I "../../../third_party/build/srtp" /I "../../../third_party/srtp/crypto/include" /I "../../../third_party/srtp/include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D "PA_NO_DS" /D "PA_NO_ASIO" /D "WIN32_PLATFORM_PSPC" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -# SUBTRACT CPP /Fr -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ENDIF - -# Begin Target - -# Name "pjmedia_wince - Win32 (WCE emulator) Release" -# Name "pjmedia_wince - Win32 (WCE emulator) Debug" -# Name "pjmedia_wince - Win32 (WCE ARMV4I) Release" -# Name "pjmedia_wince - Win32 (WCE ARMV4I) Debug" -# Name "pjmedia_wince - Win32 (WCE ARMV4) Release" -# Name "pjmedia_wince - Win32 (WCE ARMV4) Debug" -# Name "pjmedia_wince - Win32 (WCE ARMV4T) Release" -# Name "pjmedia_wince - Win32 (WCE ARMV4T) Debug" -# Name "pjmedia_wince - Win32 (WCE x86) Release" -# Name "pjmedia_wince - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\src\pjmedia\alaw_ulaw.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ALAW_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ALAW_=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ALAW_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ALAW_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ALAW_=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ALAW_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ALAW_=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ALAW_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ALAW_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ALAW_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ALAW_=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ALAW_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ALAW_=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_ALAW_=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ALAW_=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ALAW_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\alaw_ulaw_table.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ALAW_U=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ALAW_U=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ALAW_U=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ALAW_U=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ALAW_U=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ALAW_U=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ALAW_U=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ALAW_U=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ALAW_U=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ALAW_U=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ALAW_U=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ALAW_U=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ALAW_U=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_ALAW_U=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ALAW_U=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ALAW_U=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\bidirectional.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_BIDIR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_BIDIR=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_BIDIR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_BIDIR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_BIDIR=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_BIDIR=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_BIDIR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_BIDIR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_BIDIR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_BIDIR=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\bidirectional.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\clock_thread.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_CLOCK=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_CLOCK=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_CLOCK=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_CLOCK=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_CLOCK=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_CLOCK=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_CLOCK=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_CLOCK=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_CLOCK=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_CLOCK=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\codec.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_CODEC=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_CODEC=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_CODEC=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_CODEC=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_CODEC=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_CODEC=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_CODEC=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_CODEC=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_CODEC=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_CODEC=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_CODEC=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_CODEC=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_CODEC=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_CODEC=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_CODEC=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_CODEC=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\conference.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_CONFE=\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_CONFE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_CONFE=\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_CONFE=\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_CONFE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_CONFE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_CONFE=\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_CONFE=\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_CONFE=\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_CONFE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\conference.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\delaybuf.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_DELAY=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_DELAY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_DELAY=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_DELAY=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_DELAY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_DELAY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_DELAY=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_DELAY=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_DELAY=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_DELAY=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\echo_common.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ECHO_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ECHO_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia\echo_internal.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ECHO_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ECHO_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ECHO_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia\echo_internal.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ECHO_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia\echo_internal.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ECHO_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ECHO_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_ECHO_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ECHO_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia\echo_internal.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\echo_port.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ECHO_P=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ECHO_P=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ECHO_P=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ECHO_P=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ECHO_P=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ECHO_P=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ECHO_P=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ECHO_P=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_ECHO_P=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ECHO_P=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\echo_port.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\echo_speex.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ECHO_S=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ECHO_S=\ - "..\..\src\pjmedia-codec\speex\speex_config_types.h"\ - "..\..\src\pjmedia-codec\speex\speex_echo.h"\ - "..\..\src\pjmedia-codec\speex\speex_preprocess.h"\ - "..\..\src\pjmedia-codec\speex\speex_types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ECHO_S=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_echo.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_preprocess.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia\echo_internal.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ECHO_S=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ECHO_S=\ - "..\..\src\pjmedia-codec\speex\speex_config_types.h"\ - "..\..\src\pjmedia-codec\speex\speex_echo.h"\ - "..\..\src\pjmedia-codec\speex\speex_preprocess.h"\ - "..\..\src\pjmedia-codec\speex\speex_types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ECHO_S=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ECHO_S=\ - "..\..\src\pjmedia-codec\speex\speex_config_types.h"\ - "..\..\src\pjmedia-codec\speex\speex_echo.h"\ - "..\..\src\pjmedia-codec\speex\speex_preprocess.h"\ - "..\..\src\pjmedia-codec\speex\speex_types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ECHO_S=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_echo.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_preprocess.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia\echo_internal.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ECHO_S=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_echo.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_preprocess.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia\echo_internal.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ECHO_S=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ECHO_S=\ - "..\..\src\pjmedia-codec\speex\speex_config_types.h"\ - "..\..\src\pjmedia-codec\speex\speex_echo.h"\ - "..\..\src\pjmedia-codec\speex\speex_preprocess.h"\ - "..\..\src\pjmedia-codec\speex\speex_types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ECHO_S=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ECHO_S=\ - "..\..\src\pjmedia-codec\speex\speex_config_types.h"\ - "..\..\src\pjmedia-codec\speex\speex_echo.h"\ - "..\..\src\pjmedia-codec\speex\speex_preprocess.h"\ - "..\..\src\pjmedia-codec\speex\speex_types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_ECHO_S=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ECHO_S=\ - "..\..\src\pjmedia-codec\speex\speex_config_types.h"\ - "..\..\src\pjmedia-codec\speex\speex_echo.h"\ - "..\..\src\pjmedia-codec\speex\speex_preprocess.h"\ - "..\..\src\pjmedia-codec\speex\speex_types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ECHO_S=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_echo.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_preprocess.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia\echo_internal.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\echo_suppress.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ECHO_SU=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ECHO_SU=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia\echo_internal.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ECHO_SU=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ECHO_SU=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ECHO_SU=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia\echo_internal.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ECHO_SU=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia\echo_internal.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ECHO_SU=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ECHO_SU=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_ECHO_SU=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ECHO_SU=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\src\pjmedia\echo_internal.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\endpoint.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ENDPO=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ENDPO=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ENDPO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ENDPO=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ENDPO=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ENDPO=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ENDPO=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ENDPO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ENDPO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ENDPO=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ENDPO=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ENDPO=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ENDPO=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_ENDPO=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_ENDPO=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ENDPO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\errno.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\portaudio\include\portaudio.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\portaudio\include\portaudio.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\portaudio\include\portaudio.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - -NODEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\portaudio\include\portaudio.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\g711.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_G711_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_G711_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_G711_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_G711_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_G711_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_G711_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_G711_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_G711_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_G711_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_G711_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_G711_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_G711_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_G711_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_G711_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_G711_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_G711_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\jbuf.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_JBUF_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_JBUF_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_JBUF_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_JBUF_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_JBUF_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_JBUF_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_JBUF_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\largefilter.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\master_port.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_MASTE=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_MASTE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_MASTE=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_MASTE=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_MASTE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_MASTE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_MASTE=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_MASTE=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_MASTE=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_MASTE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\clock.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\master_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\mem_capture.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_MEM_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_MEM_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_MEM_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_MEM_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_MEM_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_MEM_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_MEM_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_MEM_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_MEM_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_MEM_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\mem_player.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_MEM_P=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_MEM_P=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_MEM_P=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_MEM_P=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_MEM_P=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_MEM_P=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_MEM_P=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_MEM_P=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_MEM_P=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_MEM_P=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\mem_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\null_port.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\null_port.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\plc_common.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_PLC_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_PLC_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PLC_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PLC_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_PLC_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PLC_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PLC_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PLC_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_PLC_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_PLC_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\port.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_PORT_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_PORT_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PORT_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PORT_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_PORT_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PORT_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PORT_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PORT_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_PORT_=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_PORT_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\resample_port.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\resample_resample.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_RESAMP=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\resample\include\resamplesubs.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_RESAMP=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\resample\include\resamplesubs.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RESAMP=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\resample\include\resamplesubs.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RESAMP=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\resample\include\resamplesubs.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_RESAMP=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\resample\include\resamplesubs.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RESAMP=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\resample\include\resamplesubs.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RESAMP=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\resample\include\resamplesubs.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RESAMP=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\resample\include\resamplesubs.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_RESAMP=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\resample\include\resamplesubs.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_RESAMP=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\resample\include\resamplesubs.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\resample_speex.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_RESAMPL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_resampler.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_RESAMPL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_resampler.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RESAMPL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_resampler.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RESAMPL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_resampler.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_RESAMPL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_resampler.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RESAMPL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_resampler.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RESAMPL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_resampler.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RESAMPL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_resampler.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_RESAMPL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_resampler.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_RESAMPL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_resampler.h"\ - "..\..\..\THIRD_PARTY\speex\include\speex\speex_types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\resample.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\rtcp.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_RTCP_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - -NODEP_CPP_RTCP_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_RTCP_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RTCP_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - -NODEP_CPP_RTCP_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RTCP_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - -NODEP_CPP_RTCP_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_RTCP_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RTCP_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RTCP_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - -NODEP_CPP_RTCP_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RTCP_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - -NODEP_CPP_RTCP_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_RTCP_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - -NODEP_CPP_RTCP_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_RTCP_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\rtcp_xr.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_RTCP_X=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_RTCP_X=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RTCP_X=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RTCP_X=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_RTCP_X=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RTCP_X=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RTCP_X=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RTCP_X=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_RTCP_X=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_RTCP_X=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\rtp.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_RTP_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\rtp.h"\ - -NODEP_CPP_RTP_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_RTP_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RTP_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\rtp.h"\ - -NODEP_CPP_RTP_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RTP_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\rtp.h"\ - -NODEP_CPP_RTP_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_RTP_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RTP_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RTP_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\rtp.h"\ - -NODEP_CPP_RTP_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RTP_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\rtp.h"\ - -NODEP_CPP_RTP_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_RTP_C=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\rtp.h"\ - -NODEP_CPP_RTP_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_RTP_C=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\sdp.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SDP_C=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SDP_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SDP_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SDP_C=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SDP_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SDP_C=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SDP_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SDP_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SDP_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SDP_C=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SDP_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SDP_C=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SDP_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_SDP_C=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SDP_C=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SDP_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\sdp_cmp.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SDP_CM=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SDP_CM=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SDP_CM=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SDP_CM=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SDP_CM=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SDP_CM=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SDP_CM=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SDP_CM=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SDP_CM=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SDP_CM=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SDP_CM=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SDP_CM=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SDP_CM=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_SDP_CM=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SDP_CM=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SDP_CM=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\sdp_neg.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SDP_N=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SDP_N=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SDP_N=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SDP_N=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SDP_N=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SDP_N=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SDP_N=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sdp_neg.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\session.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SESSI=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SESSI=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SESSI=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SESSI=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SESSI=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SESSI=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SESSI=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SESSI=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SESSI=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SESSI=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SESSI=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SESSI=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SESSI=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_SESSI=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_SESSI=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SESSI=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\session.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\silencedet.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SILEN=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SILEN=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SILEN=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SILEN=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SILEN=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SILEN=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SILEN=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SILEN=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_SILEN=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SILEN=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\smallfilter.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\sound_port.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SOUND=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SOUND=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SOUND=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SOUND=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SOUND=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SOUND=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia-audiodev\audiodev.h"\ - "..\..\include\pjmedia-audiodev\audiodev_imp.h"\ - "..\..\include\pjmedia-audiodev\audiotest.h"\ - "..\..\include\pjmedia-audiodev\config.h"\ - "..\..\include\pjmedia-audiodev\errno.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia_audiodev.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SOUND=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SOUND=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_SOUND=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SOUND=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\echo.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\plc.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\sound_port.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\splitcomb.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SPLIT=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SPLIT=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SPLIT=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SPLIT=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SPLIT=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SPLIT=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SPLIT=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SPLIT=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_SPLIT=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SPLIT=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\delaybuf.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\splitcomb.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\stereo_port.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\stereo.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\stream.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_STREA=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_STREA=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_STREA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_STREA=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_STREA=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_STREA=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_STREA=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_STREA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_STREA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_STREA=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_STREA=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_STREA=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_STREA=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_STREA=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_STREA=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_STREA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\jbuf.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\tonegen.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TONEG=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TONEG=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TONEG=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TONEG=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TONEG=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TONEG=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TONEG=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TONEG=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_TONEG=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TONEG=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\silencedet.h"\ - "..\..\include\pjmedia\tonegen.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\transport_ice.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_TRANS=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\include\pjmedia\config_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_TRANS=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\include\pjmedia\config_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_TRANS=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\include\pjmedia\config_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_TRANS=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\include\pjmedia\config_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_TRANS=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\include\pjmedia\config_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\types.h"\ - -NODEP_CPP_TRANS=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\include\pjmedia\config_auto.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_ice.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\transport_loop.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_loop.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\transport_srtp.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\build\srtp\srtp_config.h"\ - "..\..\..\third_party\srtp\crypto\include\aes.h"\ - "..\..\..\third_party\srtp\crypto\include\aes_icm.h"\ - "..\..\..\third_party\srtp\crypto\include\alloc.h"\ - "..\..\..\third_party\srtp\crypto\include\auth.h"\ - "..\..\..\third_party\srtp\crypto\include\cipher.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto_kernel.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto_types.h"\ - "..\..\..\third_party\srtp\crypto\include\cryptoalg.h"\ - "..\..\..\third_party\srtp\crypto\include\datatypes.h"\ - "..\..\..\third_party\srtp\crypto\include\err.h"\ - "..\..\..\third_party\srtp\crypto\include\gf2_8.h"\ - "..\..\..\third_party\srtp\crypto\include\integers.h"\ - "..\..\..\third_party\srtp\crypto\include\kernel_compat.h"\ - "..\..\..\third_party\srtp\crypto\include\key.h"\ - "..\..\..\third_party\srtp\crypto\include\prng.h"\ - "..\..\..\third_party\srtp\crypto\include\rand_source.h"\ - "..\..\..\third_party\srtp\crypto\include\rdbx.h"\ - "..\..\..\third_party\srtp\include\srtp.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\build\srtp\srtp_config.h"\ - "..\..\..\third_party\srtp\crypto\include\aes.h"\ - "..\..\..\third_party\srtp\crypto\include\aes_icm.h"\ - "..\..\..\third_party\srtp\crypto\include\alloc.h"\ - "..\..\..\third_party\srtp\crypto\include\auth.h"\ - "..\..\..\third_party\srtp\crypto\include\cipher.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto_kernel.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto_types.h"\ - "..\..\..\third_party\srtp\crypto\include\cryptoalg.h"\ - "..\..\..\third_party\srtp\crypto\include\datatypes.h"\ - "..\..\..\third_party\srtp\crypto\include\err.h"\ - "..\..\..\third_party\srtp\crypto\include\gf2_8.h"\ - "..\..\..\third_party\srtp\crypto\include\integers.h"\ - "..\..\..\third_party\srtp\crypto\include\kernel_compat.h"\ - "..\..\..\third_party\srtp\crypto\include\key.h"\ - "..\..\..\third_party\srtp\crypto\include\prng.h"\ - "..\..\..\third_party\srtp\crypto\include\rand_source.h"\ - "..\..\..\third_party\srtp\crypto\include\rdbx.h"\ - "..\..\..\third_party\srtp\include\srtp.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\build\srtp\srtp_config.h"\ - "..\..\..\third_party\srtp\crypto\include\aes.h"\ - "..\..\..\third_party\srtp\crypto\include\aes_icm.h"\ - "..\..\..\third_party\srtp\crypto\include\alloc.h"\ - "..\..\..\third_party\srtp\crypto\include\auth.h"\ - "..\..\..\third_party\srtp\crypto\include\cipher.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto_kernel.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto_types.h"\ - "..\..\..\third_party\srtp\crypto\include\cryptoalg.h"\ - "..\..\..\third_party\srtp\crypto\include\datatypes.h"\ - "..\..\..\third_party\srtp\crypto\include\err.h"\ - "..\..\..\third_party\srtp\crypto\include\gf2_8.h"\ - "..\..\..\third_party\srtp\crypto\include\integers.h"\ - "..\..\..\third_party\srtp\crypto\include\kernel_compat.h"\ - "..\..\..\third_party\srtp\crypto\include\key.h"\ - "..\..\..\third_party\srtp\crypto\include\prng.h"\ - "..\..\..\third_party\srtp\crypto\include\rand_source.h"\ - "..\..\..\third_party\srtp\crypto\include\rdbx.h"\ - "..\..\..\third_party\srtp\include\srtp.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\build\srtp\srtp_config.h"\ - "..\..\..\third_party\srtp\crypto\include\aes.h"\ - "..\..\..\third_party\srtp\crypto\include\aes_icm.h"\ - "..\..\..\third_party\srtp\crypto\include\alloc.h"\ - "..\..\..\third_party\srtp\crypto\include\auth.h"\ - "..\..\..\third_party\srtp\crypto\include\cipher.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto_kernel.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto_types.h"\ - "..\..\..\third_party\srtp\crypto\include\cryptoalg.h"\ - "..\..\..\third_party\srtp\crypto\include\datatypes.h"\ - "..\..\..\third_party\srtp\crypto\include\err.h"\ - "..\..\..\third_party\srtp\crypto\include\gf2_8.h"\ - "..\..\..\third_party\srtp\crypto\include\integers.h"\ - "..\..\..\third_party\srtp\crypto\include\kernel_compat.h"\ - "..\..\..\third_party\srtp\crypto\include\key.h"\ - "..\..\..\third_party\srtp\crypto\include\prng.h"\ - "..\..\..\third_party\srtp\crypto\include\rand_source.h"\ - "..\..\..\third_party\srtp\crypto\include\rdbx.h"\ - "..\..\..\third_party\srtp\include\srtp.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\build\srtp\srtp_config.h"\ - "..\..\..\third_party\srtp\crypto\include\aes.h"\ - "..\..\..\third_party\srtp\crypto\include\aes_icm.h"\ - "..\..\..\third_party\srtp\crypto\include\alloc.h"\ - "..\..\..\third_party\srtp\crypto\include\auth.h"\ - "..\..\..\third_party\srtp\crypto\include\cipher.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto_kernel.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto_types.h"\ - "..\..\..\third_party\srtp\crypto\include\cryptoalg.h"\ - "..\..\..\third_party\srtp\crypto\include\datatypes.h"\ - "..\..\..\third_party\srtp\crypto\include\err.h"\ - "..\..\..\third_party\srtp\crypto\include\gf2_8.h"\ - "..\..\..\third_party\srtp\crypto\include\integers.h"\ - "..\..\..\third_party\srtp\crypto\include\kernel_compat.h"\ - "..\..\..\third_party\srtp\crypto\include\key.h"\ - "..\..\..\third_party\srtp\crypto\include\prng.h"\ - "..\..\..\third_party\srtp\crypto\include\rand_source.h"\ - "..\..\..\third_party\srtp\crypto\include\rdbx.h"\ - "..\..\..\third_party\srtp\include\srtp.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\build\srtp\srtp_config.h"\ - "..\..\..\third_party\srtp\crypto\include\aes.h"\ - "..\..\..\third_party\srtp\crypto\include\aes_icm.h"\ - "..\..\..\third_party\srtp\crypto\include\alloc.h"\ - "..\..\..\third_party\srtp\crypto\include\auth.h"\ - "..\..\..\third_party\srtp\crypto\include\cipher.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto_kernel.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto_types.h"\ - "..\..\..\third_party\srtp\crypto\include\cryptoalg.h"\ - "..\..\..\third_party\srtp\crypto\include\datatypes.h"\ - "..\..\..\third_party\srtp\crypto\include\err.h"\ - "..\..\..\third_party\srtp\crypto\include\gf2_8.h"\ - "..\..\..\third_party\srtp\crypto\include\integers.h"\ - "..\..\..\third_party\srtp\crypto\include\kernel_compat.h"\ - "..\..\..\third_party\srtp\crypto\include\key.h"\ - "..\..\..\third_party\srtp\crypto\include\prng.h"\ - "..\..\..\third_party\srtp\crypto\include\rand_source.h"\ - "..\..\..\third_party\srtp\crypto\include\rdbx.h"\ - "..\..\..\third_party\srtp\include\srtp.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\build\srtp\srtp_config.h"\ - "..\..\..\third_party\srtp\crypto\include\aes.h"\ - "..\..\..\third_party\srtp\crypto\include\aes_icm.h"\ - "..\..\..\third_party\srtp\crypto\include\alloc.h"\ - "..\..\..\third_party\srtp\crypto\include\auth.h"\ - "..\..\..\third_party\srtp\crypto\include\cipher.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto_kernel.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto_types.h"\ - "..\..\..\third_party\srtp\crypto\include\cryptoalg.h"\ - "..\..\..\third_party\srtp\crypto\include\datatypes.h"\ - "..\..\..\third_party\srtp\crypto\include\err.h"\ - "..\..\..\third_party\srtp\crypto\include\gf2_8.h"\ - "..\..\..\third_party\srtp\crypto\include\integers.h"\ - "..\..\..\third_party\srtp\crypto\include\kernel_compat.h"\ - "..\..\..\third_party\srtp\crypto\include\key.h"\ - "..\..\..\third_party\srtp\crypto\include\prng.h"\ - "..\..\..\third_party\srtp\crypto\include\rand_source.h"\ - "..\..\..\third_party\srtp\crypto\include\rdbx.h"\ - "..\..\..\third_party\srtp\include\srtp.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\build\srtp\srtp_config.h"\ - "..\..\..\third_party\srtp\crypto\include\aes.h"\ - "..\..\..\third_party\srtp\crypto\include\aes_icm.h"\ - "..\..\..\third_party\srtp\crypto\include\alloc.h"\ - "..\..\..\third_party\srtp\crypto\include\auth.h"\ - "..\..\..\third_party\srtp\crypto\include\cipher.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto_kernel.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto_types.h"\ - "..\..\..\third_party\srtp\crypto\include\cryptoalg.h"\ - "..\..\..\third_party\srtp\crypto\include\datatypes.h"\ - "..\..\..\third_party\srtp\crypto\include\err.h"\ - "..\..\..\third_party\srtp\crypto\include\gf2_8.h"\ - "..\..\..\third_party\srtp\crypto\include\integers.h"\ - "..\..\..\third_party\srtp\crypto\include\kernel_compat.h"\ - "..\..\..\third_party\srtp\crypto\include\key.h"\ - "..\..\..\third_party\srtp\crypto\include\prng.h"\ - "..\..\..\third_party\srtp\crypto\include\rand_source.h"\ - "..\..\..\third_party\srtp\crypto\include\rdbx.h"\ - "..\..\..\third_party\srtp\include\srtp.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\build\srtp\srtp_config.h"\ - "..\..\..\third_party\srtp\crypto\include\aes.h"\ - "..\..\..\third_party\srtp\crypto\include\aes_icm.h"\ - "..\..\..\third_party\srtp\crypto\include\alloc.h"\ - "..\..\..\third_party\srtp\crypto\include\auth.h"\ - "..\..\..\third_party\srtp\crypto\include\cipher.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto_kernel.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto_types.h"\ - "..\..\..\third_party\srtp\crypto\include\cryptoalg.h"\ - "..\..\..\third_party\srtp\crypto\include\datatypes.h"\ - "..\..\..\third_party\srtp\crypto\include\err.h"\ - "..\..\..\third_party\srtp\crypto\include\gf2_8.h"\ - "..\..\..\third_party\srtp\crypto\include\integers.h"\ - "..\..\..\third_party\srtp\crypto\include\kernel_compat.h"\ - "..\..\..\third_party\srtp\crypto\include\key.h"\ - "..\..\..\third_party\srtp\crypto\include\prng.h"\ - "..\..\..\third_party\srtp\crypto\include\rand_source.h"\ - "..\..\..\third_party\srtp\crypto\include\rdbx.h"\ - "..\..\..\third_party\srtp\include\srtp.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\build\srtp\srtp_config.h"\ - "..\..\..\third_party\srtp\crypto\include\aes.h"\ - "..\..\..\third_party\srtp\crypto\include\aes_icm.h"\ - "..\..\..\third_party\srtp\crypto\include\alloc.h"\ - "..\..\..\third_party\srtp\crypto\include\auth.h"\ - "..\..\..\third_party\srtp\crypto\include\cipher.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto_kernel.h"\ - "..\..\..\third_party\srtp\crypto\include\crypto_types.h"\ - "..\..\..\third_party\srtp\crypto\include\cryptoalg.h"\ - "..\..\..\third_party\srtp\crypto\include\datatypes.h"\ - "..\..\..\third_party\srtp\crypto\include\err.h"\ - "..\..\..\third_party\srtp\crypto\include\gf2_8.h"\ - "..\..\..\third_party\srtp\crypto\include\integers.h"\ - "..\..\..\third_party\srtp\crypto\include\kernel_compat.h"\ - "..\..\..\third_party\srtp\crypto\include\key.h"\ - "..\..\..\third_party\srtp\crypto\include\prng.h"\ - "..\..\..\third_party\srtp\crypto\include\rand_source.h"\ - "..\..\..\third_party\srtp\crypto\include\rdbx.h"\ - "..\..\..\third_party\srtp\include\srtp.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_srtp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\transport_udp.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\codec.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\endpoint.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\rtcp.h"\ - "..\..\include\pjmedia\rtcp_xr.h"\ - "..\..\include\pjmedia\rtp.h"\ - "..\..\include\pjmedia\sdp.h"\ - "..\..\include\pjmedia\sound.h"\ - "..\..\include\pjmedia\stream.h"\ - "..\..\include\pjmedia\transport.h"\ - "..\..\include\pjmedia\transport_udp.h"\ - "..\..\include\pjmedia\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\wav_player.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_WAV_P=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_WAV_P=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_WAV_P=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_WAV_P=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_WAV_P=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_WAV_P=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_WAV_P=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_WAV_P=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_WAV_P=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_WAV_P=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\wav_playlist.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_WAV_PL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_WAV_PL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_WAV_PL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_WAV_PL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_WAV_PL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_WAV_PL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_WAV_PL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_WAV_PL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_WAV_PL=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_WAV_PL=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_playlist.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\wav_writer.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_WAV_W=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_WAV_W=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_WAV_W=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_WAV_W=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_WAV_W=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_WAV_W=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\alaw_ulaw.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_WAV_W=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_WAV_W=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_WAV_W=\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_WAV_W=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\port.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wav_port.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\wave.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_WAVE_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_WAVE_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_WAVE_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_WAVE_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_WAVE_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_WAVE_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_WAVE_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_WAVE_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_WAVE_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_WAVE_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wave.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjmedia\wsola.c - -!IF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Release" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\circbuf.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Release" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ELSEIF "$(CFG)" == "pjmedia_wince - Win32 (WCE x86) Debug" - -DEP_CPP_WSOLA=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjmedia\config.h"\ - "..\..\include\pjmedia\config_auto.h"\ - "..\..\include\pjmedia\errno.h"\ - "..\..\include\pjmedia\types.h"\ - "..\..\include\pjmedia\wsola.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\include\pjmedia\alaw_ulaw.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\bidirectional.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\circbuf.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\clock.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\codec.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\conference.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\config.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\delaybuf.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\doxygen.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\echo.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\echo_port.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\endpoint.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\errno.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\g711.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\jbuf.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\master_port.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\mem_port.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\mp3_port.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\null_port.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\plc.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\port.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\resample.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\rtcp.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\rtcp_xr.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\rtp.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\sdp.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\sdp_neg.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\session.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\silencedet.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\sound.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\sound_port.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\splitcomb.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\stereo.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\stream.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\tonegen.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\transport.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\transport_ice.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\transport_loop.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\transport_udp.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\types.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\wav_playlist.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\wav_port.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\wave.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjmedia\wsola.h -# End Source File -# End Group -# End Target -# End Project diff --git a/res/pjproject/pjmedia/build/wince-evc4/pjmedia_wince.vcw b/res/pjproject/pjmedia/build/wince-evc4/pjmedia_wince.vcw deleted file mode 100644 index 770b2b4fd5..0000000000 --- a/res/pjproject/pjmedia/build/wince-evc4/pjmedia_wince.vcw +++ /dev/null @@ -1,206 +0,0 @@ -Microsoft eMbedded Visual Tools Workspace File, Format Version 4.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "PocketPJ"="..\..\..\pjsip-apps\src\pocketpj\PocketPJ.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "libgsmcodec"="..\..\..\third_party\build\gsm\libgsmcodec.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "libilbccodec"="..\..\..\third_party\build\ilbc\libilbccodec.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "libportaudio"="..\..\..\third_party\build\portaudio\libportaudio.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "libresample"="..\..\..\third_party\build\resample\libresample.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "libspeex"="..\..\..\third_party\build\speex\libspeex.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "libsrtp"="..\..\..\third_party\build\srtp\libsrtp.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjlib_util_wince"="..\..\..\pjlib-util\build\wince-evc4\pjlib_util_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjlib_wince"="..\..\..\pjlib\build\wince-evc4\pjlib_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjmedia_codec_wince"=".\pjmedia_codec_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjmedia_test"=".\pjmedia_test.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name libgsmcodec - End Project Dependency - Begin Project Dependency - Project_Dep_Name libilbccodec - End Project Dependency - Begin Project Dependency - Project_Dep_Name libportaudio - End Project Dependency - Begin Project Dependency - Project_Dep_Name libresample - End Project Dependency - Begin Project Dependency - Project_Dep_Name libspeex - End Project Dependency - Begin Project Dependency - Project_Dep_Name libsrtp - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjlib_util_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjlib_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjmedia_codec_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjmedia_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjnath_wince - End Project Dependency -}}} - -############################################################################### - -Project: "pjmedia_wince"=".\pjmedia_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjnath_wince"="..\..\..\pjnath\build\wince-evc4\pjnath_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/res/pjproject/pjmedia/include/pjmedia-audiodev/audiodev.h b/res/pjproject/pjmedia/include/pjmedia-audiodev/audiodev.h deleted file mode 100644 index 32fd08ad06..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-audiodev/audiodev.h +++ /dev/null @@ -1,719 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_AUDIODEV_AUDIODEV_H__ -#define __PJMEDIA_AUDIODEV_AUDIODEV_H__ - -/** - * @file audiodev.h - * @brief Audio device API. - */ -#include -#include -#include -#include -#include -#include - - -PJ_BEGIN_DECL - -/** - * @defgroup s2_audio_device_reference Audio Device API Reference - * @ingroup audio_device_api - * @brief API Reference - * @{ - */ - -/** - * Type for device index. - */ -typedef pj_int32_t pjmedia_aud_dev_index; - -/** - * Device index constants. - */ -enum -{ - /** - * Constant to denote default capture device - */ - PJMEDIA_AUD_DEFAULT_CAPTURE_DEV = -1, - - /** - * Constant to denote default playback device - */ - PJMEDIA_AUD_DEFAULT_PLAYBACK_DEV = -2, - - /** - * Constant to denote invalid device index. - */ - PJMEDIA_AUD_INVALID_DEV = -3 -}; - - -/** - * This enumeration identifies various audio device capabilities. These audio - * capabilities indicates what features are supported by the underlying - * audio device implementation. - * - * Applications get these capabilities in the #pjmedia_aud_dev_info structure. - * - * Application can also set the specific features/capabilities when opening - * the audio stream by setting the \a flags member of #pjmedia_aud_param - * structure. - * - * Once audio stream is running, application can also retrieve or set some - * specific audio capability, by using #pjmedia_aud_stream_get_cap() and - * #pjmedia_aud_stream_set_cap() and specifying the desired capability. The - * value of the capability is specified as pointer, and application needs to - * supply the pointer with the correct value, according to the documentation - * of each of the capability. - */ -typedef enum pjmedia_aud_dev_cap -{ - /** - * Support for audio formats other than PCM. The value of this capability - * is represented by #pjmedia_format structure. - */ - PJMEDIA_AUD_DEV_CAP_EXT_FORMAT = 1, - - /** - * Support for audio input latency control or query. The value of this - * capability is an unsigned integer containing milliseconds value of - * the latency. - */ - PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY = 2, - - /** - * Support for audio output latency control or query. The value of this - * capability is an unsigned integer containing milliseconds value of - * the latency. - */ - PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY = 4, - - /** - * Support for setting/retrieving the audio input device volume level. - * The value of this capability is an unsigned integer representing - * the input audio volume setting in percent. - */ - PJMEDIA_AUD_DEV_CAP_INPUT_VOLUME_SETTING = 8, - - /** - * Support for setting/retrieving the audio output device volume level. - * The value of this capability is an unsigned integer representing - * the output audio volume setting in percent. - */ - PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING = 16, - - /** - * Support for monitoring the current audio input signal volume. - * The value of this capability is an unsigned integer representing - * the audio volume in percent. - */ - PJMEDIA_AUD_DEV_CAP_INPUT_SIGNAL_METER = 32, - - /** - * Support for monitoring the current audio output signal volume. - * The value of this capability is an unsigned integer representing - * the audio volume in percent. - */ - PJMEDIA_AUD_DEV_CAP_OUTPUT_SIGNAL_METER = 64, - - /** - * Support for audio input routing. The value of this capability is an - * integer containing #pjmedia_aud_dev_route enumeration. - */ - PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE = 128, - - /** - * Support for audio output routing (e.g. loudspeaker vs earpiece). The - * value of this capability is an integer containing #pjmedia_aud_dev_route - * enumeration. - */ - PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE = 256, - - /** - * The audio device has echo cancellation feature. The value of this - * capability is a pj_bool_t containing boolean PJ_TRUE or PJ_FALSE. - */ - PJMEDIA_AUD_DEV_CAP_EC = 512, - - /** - * The audio device supports setting echo cancellation fail length. The - * value of this capability is an unsigned integer representing the - * echo tail in milliseconds. - */ - PJMEDIA_AUD_DEV_CAP_EC_TAIL = 1024, - - /** - * The audio device has voice activity detection feature. The value - * of this capability is a pj_bool_t containing boolean PJ_TRUE or - * PJ_FALSE. - */ - PJMEDIA_AUD_DEV_CAP_VAD = 2048, - - /** - * The audio device has comfort noise generation feature. The value - * of this capability is a pj_bool_t containing boolean PJ_TRUE or - * PJ_FALSE. - */ - PJMEDIA_AUD_DEV_CAP_CNG = 4096, - - /** - * The audio device has packet loss concealment feature. The value - * of this capability is a pj_bool_t containing boolean PJ_TRUE or - * PJ_FALSE. - */ - PJMEDIA_AUD_DEV_CAP_PLC = 8192, - - /** - * End of capability - */ - PJMEDIA_AUD_DEV_CAP_MAX = 16384 - -} pjmedia_aud_dev_cap; - - -/** - * This enumeration describes audio routing setting. - */ -typedef enum pjmedia_aud_dev_route -{ - /** Default route. */ - PJMEDIA_AUD_DEV_ROUTE_DEFAULT = 0, - - /** Route to loudspeaker */ - PJMEDIA_AUD_DEV_ROUTE_LOUDSPEAKER = 1, - - /** Route to earpiece */ - PJMEDIA_AUD_DEV_ROUTE_EARPIECE = 2, - - /** Route to paired Bluetooth device */ - PJMEDIA_AUD_DEV_ROUTE_BLUETOOTH = 4 - -} pjmedia_aud_dev_route; - - -/** - * Device information structure returned by #pjmedia_aud_dev_get_info(). - */ -typedef struct pjmedia_aud_dev_info -{ - /** - * The device name - */ - char name[64]; - - /** - * Maximum number of input channels supported by this device. If the - * value is zero, the device does not support input operation (i.e. - * it is a playback only device). - */ - unsigned input_count; - - /** - * Maximum number of output channels supported by this device. If the - * value is zero, the device does not support output operation (i.e. - * it is an input only device). - */ - unsigned output_count; - - /** - * Default sampling rate. - */ - unsigned default_samples_per_sec; - - /** - * The underlying driver name - */ - char driver[32]; - - /** - * Device capabilities, as bitmask combination of #pjmedia_aud_dev_cap. - */ - unsigned caps; - - /** - * Supported audio device routes, as bitmask combination of - * #pjmedia_aud_dev_route. The value may be zero if the device - * does not support audio routing. - */ - unsigned routes; - - /** - * Number of audio formats supported by this device. The value may be - * zero if the device does not support non-PCM format. - */ - unsigned ext_fmt_cnt; - - /** - * Array of supported extended audio formats - */ - pjmedia_format ext_fmt[8]; - - -} pjmedia_aud_dev_info; - - -/** - * This callback is called by player stream when it needs additional data - * to be played by the device. Application must fill in the whole of output - * buffer with audio samples. - * - * The frame argument contains the following values: - * - timestamp Playback timestamp, in samples. - * - buf Buffer to be filled out by application. - * - size The size requested in bytes, which will be equal to - * the size of one whole packet. - * - * @param user_data User data associated with the stream. - * @param frame Audio frame, which buffer is to be filled in by - * the application. - * - * @return Returning non-PJ_SUCCESS will cause the audio stream - * to stop - */ -typedef pj_status_t (*pjmedia_aud_play_cb)(void *user_data, - pjmedia_frame *frame); - -/** - * This callback is called by recorder stream when it has captured the whole - * packet worth of audio samples. - * - * @param user_data User data associated with the stream. - * @param frame Captured frame. - * - * @return Returning non-PJ_SUCCESS will cause the audio stream - * to stop - */ -typedef pj_status_t (*pjmedia_aud_rec_cb)(void *user_data, - pjmedia_frame *frame); - -/** - * This structure specifies the parameters to open the audio stream. - */ -typedef struct pjmedia_aud_param -{ - /** - * The audio direction. This setting is mandatory. - */ - pjmedia_dir dir; - - /** - * The audio recorder device ID. This setting is mandatory if the audio - * direction includes input/capture direction. - */ - pjmedia_aud_dev_index rec_id; - - /** - * The audio playback device ID. This setting is mandatory if the audio - * direction includes output/playback direction. - */ - pjmedia_aud_dev_index play_id; - - /** - * Clock rate/sampling rate. This setting is mandatory. - */ - unsigned clock_rate; - - /** - * Number of channels. This setting is mandatory. - */ - unsigned channel_count; - - /** - * Number of samples per frame. This setting is mandatory. - */ - unsigned samples_per_frame; - - /** - * Number of bits per sample. This setting is mandatory. - */ - unsigned bits_per_sample; - - /** - * This flags specifies which of the optional settings are valid in this - * structure. The flags is bitmask combination of pjmedia_aud_dev_cap. - */ - unsigned flags; - - /** - * Set the audio format. This setting is optional, and will only be used - * if PJMEDIA_AUD_DEV_CAP_EXT_FORMAT is set in the flags. - */ - pjmedia_format ext_fmt; - - /** - * Input latency, in milliseconds. This setting is optional, and will - * only be used if PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY is set in the flags. - */ - unsigned input_latency_ms; - - /** - * Input latency, in milliseconds. This setting is optional, and will - * only be used if PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY is set in the flags. - */ - unsigned output_latency_ms; - - /** - * Input volume setting, in percent. This setting is optional, and will - * only be used if PJMEDIA_AUD_DEV_CAP_INPUT_VOLUME_SETTING is set in - * the flags. - */ - unsigned input_vol; - - /** - * Output volume setting, in percent. This setting is optional, and will - * only be used if PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING is set in - * the flags. - */ - unsigned output_vol; - - /** - * Set the audio input route. This setting is optional, and will only be - * used if PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE is set in the flags. - */ - pjmedia_aud_dev_route input_route; - - /** - * Set the audio output route. This setting is optional, and will only be - * used if PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE is set in the flags. - */ - pjmedia_aud_dev_route output_route; - - /** - * Enable/disable echo canceller, if the device supports it. This setting - * is optional, and will only be used if PJMEDIA_AUD_DEV_CAP_EC is set in - * the flags. - */ - pj_bool_t ec_enabled; - - /** - * Set echo canceller tail length in milliseconds, if the device supports - * it. This setting is optional, and will only be used if - * PJMEDIA_AUD_DEV_CAP_EC_TAIL is set in the flags. - */ - unsigned ec_tail_ms; - - /** - * Enable/disable PLC. This setting is optional, and will only be used - * if PJMEDIA_AUD_DEV_CAP_PLC is set in the flags. - */ - pj_bool_t plc_enabled; - - /** - * Enable/disable CNG. This setting is optional, and will only be used - * if PJMEDIA_AUD_DEV_CAP_CNG is set in the flags. - */ - pj_bool_t cng_enabled; - -} pjmedia_aud_param; - - -/** Forward declaration for pjmedia_aud_stream */ -typedef struct pjmedia_aud_stream pjmedia_aud_stream; - -/** Forward declaration for audio device factory */ -typedef struct pjmedia_aud_dev_factory pjmedia_aud_dev_factory; - -/* typedef for factory creation function */ -typedef pjmedia_aud_dev_factory* -(*pjmedia_aud_dev_factory_create_func_ptr)(pj_pool_factory*); - - -/** - * Get string info for the specified capability. - * - * @param cap The capability ID. - * @param p_desc Optional pointer which will be filled with longer - * description about the capability. - * - * @return Capability name. - */ -PJ_DECL(const char*) pjmedia_aud_dev_cap_name(pjmedia_aud_dev_cap cap, - const char **p_desc); - - -/** - * Set a capability field value in #pjmedia_aud_param structure. This will - * also set the flags field for the specified capability in the structure. - * - * @param param The structure. - * @param cap The audio capability which value is to be set. - * @param pval Pointer to value. Please see the type of value to - * be supplied in the pjmedia_aud_dev_cap documentation. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_aud_param_set_cap(pjmedia_aud_param *param, - pjmedia_aud_dev_cap cap, - const void *pval); - - -/** - * Get a capability field value from #pjmedia_aud_param structure. This - * function will return PJMEDIA_EAUD_INVCAP error if the flag for that - * capability is not set in the flags field in the structure. - * - * @param param The structure. - * @param cap The audio capability which value is to be retrieved. - * @param pval Pointer to value. Please see the type of value to - * be supplied in the pjmedia_aud_dev_cap documentation. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_aud_param_get_cap(const pjmedia_aud_param *param, - pjmedia_aud_dev_cap cap, - void *pval); - -/** - * Initialize the audio subsystem. This will register all supported audio - * device factories to the audio subsystem. This function may be called - * more than once, but each call to this function must have the - * corresponding #pjmedia_aud_subsys_shutdown() call. - * - * @param pf The pool factory. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_aud_subsys_init(pj_pool_factory *pf); - - -/** - * Get the pool factory registered to the audio subsystem. - * - * @return The pool factory. - */ -PJ_DECL(pj_pool_factory*) pjmedia_aud_subsys_get_pool_factory(void); - - -/** - * Shutdown the audio subsystem. This will destroy all audio device factories - * registered in the audio subsystem. Note that currently opened audio streams - * may or may not be closed, depending on the implementation of the audio - * device factories. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_aud_subsys_shutdown(void); - - -/** - * Register a supported audio device factory to the audio subsystem. This - * function can only be called after calling #pjmedia_aud_subsys_init(). - * - * @param adf The audio device factory. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) -pjmedia_aud_register_factory(pjmedia_aud_dev_factory_create_func_ptr adf); - - -/** - * Unregister an audio device factory from the audio subsystem. This - * function can only be called after calling #pjmedia_aud_subsys_init(). - * Devices from this factory will be unlisted. If a device from this factory - * is currently in use, then the behavior is undefined. - * - * @param adf The audio device factory. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) -pjmedia_aud_unregister_factory(pjmedia_aud_dev_factory_create_func_ptr adf); - - -/** - * Refresh the list of sound devices installed in the system. This function - * will only refresh the list of audio device so all active audio streams will - * be unaffected. After refreshing the device list, application MUST make sure - * to update all index references to audio devices (i.e. all variables of type - * pjmedia_aud_dev_index) before calling any function that accepts audio device - * index as its parameter. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_aud_dev_refresh(void); - - -/** - * Get the number of sound devices installed in the system. - * - * @return The number of sound devices installed in the system. - */ -PJ_DECL(unsigned) pjmedia_aud_dev_count(void); - - -/** - * Get device information. - * - * @param id The audio device ID. - * @param info The device information which will be filled in by this - * function once it returns successfully. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_aud_dev_get_info(pjmedia_aud_dev_index id, - pjmedia_aud_dev_info *info); - - -/** - * Lookup device index based on the driver and device name. - * - * @param drv_name The driver name. - * @param dev_name The device name. - * @param id Pointer to store the returned device ID. - * - * @return PJ_SUCCESS if the device can be found. - */ -PJ_DECL(pj_status_t) pjmedia_aud_dev_lookup(const char *drv_name, - const char *dev_name, - pjmedia_aud_dev_index *id); - - -/** - * Initialize the audio device parameters with default values for the - * specified device. - * - * @param id The audio device ID. - * @param param The audio device parameters which will be initialized - * by this function once it returns successfully. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_aud_dev_default_param(pjmedia_aud_dev_index id, - pjmedia_aud_param *param); - - -/** - * Open audio stream object using the specified parameters. - * - * @param param Sound device parameters to be used for the stream. - * @param rec_cb Callback to be called on every input frame captured. - * @param play_cb Callback to be called everytime the sound device needs - * audio frames to be played back. - * @param user_data Arbitrary user data, which will be given back in the - * callbacks. - * @param p_strm Pointer to receive the audio stream. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_aud_stream_create(const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_strm); - -/** - * Get the running parameters for the specified audio stream. - * - * @param strm The audio stream. - * @param param Audio stream parameters to be filled in by this - * function once it returns successfully. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_aud_stream_get_param(pjmedia_aud_stream *strm, - pjmedia_aud_param *param); - -/** - * Get the value of a specific capability of the audio stream. - * - * @param strm The audio stream. - * @param cap The audio capability which value is to be retrieved. - * @param value Pointer to value to be filled in by this function - * once it returns successfully. Please see the type - * of value to be supplied in the pjmedia_aud_dev_cap - * documentation. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_aud_stream_get_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - void *value); - -/** - * Set the value of a specific capability of the audio stream. - * - * @param strm The audio stream. - * @param cap The audio capability which value is to be set. - * @param value Pointer to value. Please see the type of value to - * be supplied in the pjmedia_aud_dev_cap documentation. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_aud_stream_set_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - const void *value); - -/** - * Start the stream. - * - * @param strm The audio stream. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_aud_stream_start(pjmedia_aud_stream *strm); - -/** - * Stop the stream. - * - * @param strm The audio stream. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_aud_stream_stop(pjmedia_aud_stream *strm); - -/** - * Destroy the stream. - * - * @param strm The audio stream. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_aud_stream_destroy(pjmedia_aud_stream *strm); - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJMEDIA_AUDIODEV_AUDIODEV_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia-audiodev/audiodev_imp.h b/res/pjproject/pjmedia/include/pjmedia-audiodev/audiodev_imp.h deleted file mode 100644 index 54de850d1c..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-audiodev/audiodev_imp.h +++ /dev/null @@ -1,188 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __AUDIODEV_IMP_H__ -#define __AUDIODEV_IMP_H__ - -#include - -/** - * @defgroup s8_audio_device_implementors_api Audio Device Implementors API - * @ingroup audio_device_api - * @brief API for audio device implementors - * @{ - */ - -/** - * Sound device factory operations. - */ -typedef struct pjmedia_aud_dev_factory_op -{ - /** - * Initialize the audio device factory. - * - * @param f The audio device factory. - */ - pj_status_t (*init)(pjmedia_aud_dev_factory *f); - - /** - * Close this audio device factory and release all resources back to the - * operating system. - * - * @param f The audio device factory. - */ - pj_status_t (*destroy)(pjmedia_aud_dev_factory *f); - - /** - * Get the number of audio devices installed in the system. - * - * @param f The audio device factory. - */ - unsigned (*get_dev_count)(pjmedia_aud_dev_factory *f); - - /** - * Get the audio device information and capabilities. - * - * @param f The audio device factory. - * @param index Device index. - * @param info The audio device information structure which will be - * initialized by this function once it returns - * successfully. - */ - pj_status_t (*get_dev_info)(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_dev_info *info); - - /** - * Initialize the specified audio device parameter with the default - * values for the specified device. - * - * @param f The audio device factory. - * @param index Device index. - * @param param The audio device parameter. - */ - pj_status_t (*default_param)(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_param *param); - - /** - * Open the audio device and create audio stream. See - * #pjmedia_aud_stream_create() - */ - pj_status_t (*create_stream)(pjmedia_aud_dev_factory *f, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_aud_strm); - - /** - * Refresh the list of audio devices installed in the system. - * - * @param f The audio device factory. - */ - pj_status_t (*refresh)(pjmedia_aud_dev_factory *f); - -} pjmedia_aud_dev_factory_op; - - -/** - * This structure describes an audio device factory. - */ -struct pjmedia_aud_dev_factory -{ - /** Internal data to be initialized by audio subsystem. */ - struct { - /** Driver index */ - unsigned drv_idx; - } sys; - - /** Operations */ - pjmedia_aud_dev_factory_op *op; -}; - - -/** - * Sound stream operations. - */ -typedef struct pjmedia_aud_stream_op -{ - /** - * See #pjmedia_aud_stream_get_param() - */ - pj_status_t (*get_param)(pjmedia_aud_stream *strm, - pjmedia_aud_param *param); - - /** - * See #pjmedia_aud_stream_get_cap() - */ - pj_status_t (*get_cap)(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - void *value); - - /** - * See #pjmedia_aud_stream_set_cap() - */ - pj_status_t (*set_cap)(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - const void *value); - - /** - * See #pjmedia_aud_stream_start() - */ - pj_status_t (*start)(pjmedia_aud_stream *strm); - - /** - * See #pjmedia_aud_stream_stop(). - */ - pj_status_t (*stop)(pjmedia_aud_stream *strm); - - /** - * See #pjmedia_aud_stream_destroy(). - */ - pj_status_t (*destroy)(pjmedia_aud_stream *strm); - -} pjmedia_aud_stream_op; - - -/** - * This structure describes the audio device stream. - */ -struct pjmedia_aud_stream -{ - /** Internal data to be initialized by audio subsystem */ - struct { - /** Driver index */ - unsigned drv_idx; - } sys; - - /** Operations */ - pjmedia_aud_stream_op *op; -}; - - - - -/** - * @} - */ - - - -#endif /* __AUDIODEV_IMP_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia-audiodev/audiotest.h b/res/pjproject/pjmedia/include/pjmedia-audiodev/audiotest.h deleted file mode 100644 index 523cf19a2d..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-audiodev/audiotest.h +++ /dev/null @@ -1,116 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_AUDIODEV_AUDIOTEST_H__ -#define __PJMEDIA_AUDIODEV_AUDIOTEST_H__ - -/** - * @file audiotest.h - * @brief Audio test utility. - */ -#include - - -PJ_BEGIN_DECL - -/** - * @defgroup s30_audio_test_utility Audio tests utility. - * @ingroup audio_device_api - * @brief Audio test utility. - * @{ - */ - -/** - * Statistic for each direction. - */ -typedef struct pjmedia_aud_test_stat -{ - /** - * Number of frames processed during the test. - */ - unsigned frame_cnt; - - /** - * Minimum inter-frame arrival time, in milliseconds - */ - unsigned min_interval; - - /** - * Maximum inter-frame arrival time, in milliseconds - */ - unsigned max_interval; - - /** - * Average inter-frame arrival time, in milliseconds - */ - unsigned avg_interval; - - /** - * Standard deviation of inter-frame arrival time, in milliseconds - */ - unsigned dev_interval; - - /** - * Maximum number of frame burst - */ - unsigned max_burst; - -} pjmedia_aud_test_stat; - - -/** - * Test results. - */ -typedef struct pjmedia_aud_test_results -{ - /** - * Recording statistic. - */ - pjmedia_aud_test_stat rec; - - /** - * Playback statistic. - */ - pjmedia_aud_test_stat play; - - /** - * Clock drifts per second, in samples. Positive number indicates rec - * device is running faster than playback device. - */ - pj_int32_t rec_drift_per_sec; - -} pjmedia_aud_test_results; - - -/** - * Perform audio device testing. - */ -PJ_DECL(pj_status_t) pjmedia_aud_test(const pjmedia_aud_param *param, - pjmedia_aud_test_results *result); - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJMEDIA_AUDIODEV_AUDIOTEST_H__ */ - - diff --git a/res/pjproject/pjmedia/include/pjmedia-audiodev/config.h b/res/pjproject/pjmedia/include/pjmedia-audiodev/config.h deleted file mode 100644 index d0df67567e..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-audiodev/config.h +++ /dev/null @@ -1,452 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_AUDIODEV_CONFIG_H__ -#define __PJMEDIA_AUDIODEV_CONFIG_H__ - -/** - * @file config.h - * @brief Audio config. - */ -#include -#include - - -PJ_BEGIN_DECL - -/** - * @defgroup audio_device_api Audio Device API - * @brief PJMEDIA audio device abstraction API. - */ - -/** - * @defgroup s1_audio_device_config Compile time configurations - * @ingroup audio_device_api - * @brief Compile time configurations - * @{ - */ - -/** - * This setting controls whether PortAudio support should be included. - * - * By default it is enabled except on Windows platforms (including - * Windows Mobile) and Symbian. - */ -#ifndef PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO -# if (defined(PJ_WIN32) && PJ_WIN32!=0) || \ - (defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0) -# define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0 -# else -# define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 1 -# endif -#endif - - -/** - * This setting controls whether native ALSA support should be included. - */ -#ifndef PJMEDIA_AUDIO_DEV_HAS_ALSA -# define PJMEDIA_AUDIO_DEV_HAS_ALSA 0 -#endif - - -/** - * This setting controls whether null audio support should be included. - */ -#ifndef PJMEDIA_AUDIO_DEV_HAS_NULL_AUDIO -# define PJMEDIA_AUDIO_DEV_HAS_NULL_AUDIO 0 -#endif - - -/** - * This setting controls whether coreaudio support should be included. - */ -#ifndef PJMEDIA_AUDIO_DEV_HAS_COREAUDIO -# define PJMEDIA_AUDIO_DEV_HAS_COREAUDIO 0 -#endif - - -/** - * This setting controls whether WMME support should be included. - */ -#ifndef PJMEDIA_AUDIO_DEV_HAS_WMME -# define PJMEDIA_AUDIO_DEV_HAS_WMME 1 -#endif - - -/** - * This setting controls whether Symbian APS support should be included. - */ -#ifndef PJMEDIA_AUDIO_DEV_HAS_SYMB_APS -# define PJMEDIA_AUDIO_DEV_HAS_SYMB_APS 0 -#endif - - -/** - * This setting controls whether Symbian APS should perform codec - * detection in its factory initalization. Note that codec detection - * may take few seconds and detecting more codecs will take more time. - * Possible values are: - * - 0: no codec detection, all APS codec (AMR-NB, G.711, G.729, and - * iLBC) will be assumed as supported. - * - 1: minimal codec detection, i.e: only detect for AMR-NB and G.711, - * (G.729 and iLBC are considered to be supported/unsupported when - * G.711 is supported/unsupported). - * - 2: full codec detection, i.e: detect AMR-NB, G.711, G.729, and iLBC. - * - * Default: 1 (minimal codec detection) - */ -#ifndef PJMEDIA_AUDIO_DEV_SYMB_APS_DETECTS_CODEC -# define PJMEDIA_AUDIO_DEV_SYMB_APS_DETECTS_CODEC 1 -#endif - - -/** - * This setting controls whether Symbian VAS support should be included. - */ -#ifndef PJMEDIA_AUDIO_DEV_HAS_SYMB_VAS -# define PJMEDIA_AUDIO_DEV_HAS_SYMB_VAS 0 -#endif - -/** - * This setting controls Symbian VAS version to be used. Currently, valid - * values are only 1 (for VAS 1.0) and 2 (for VAS 2.0). - * - * Default: 1 (VAS version 1.0) - */ -#ifndef PJMEDIA_AUDIO_DEV_SYMB_VAS_VERSION -# define PJMEDIA_AUDIO_DEV_SYMB_VAS_VERSION 1 -#endif - - -/** - * This setting controls whether Symbian audio (using built-in multimedia - * framework) support should be included. - */ -#ifndef PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA -# define PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA PJ_SYMBIAN -#endif - - -/** - * This setting controls whether the Symbian audio with built-in multimedia - * framework backend should be started synchronously. Note that synchronous - * start will block the application/UI, e.g: about 40ms for each direction - * on N95. While asynchronous start may cause invalid value (always zero) - * returned in input/output volume query, if the query is performed when - * the internal start procedure is not completely finished. - * - * Default: 1 (yes) - */ -#ifndef PJMEDIA_AUDIO_DEV_MDA_USE_SYNC_START -# define PJMEDIA_AUDIO_DEV_MDA_USE_SYNC_START 1 -#endif - - -/** - * This setting controls whether the Audio Device API should support - * device implementation that is based on the old sound device API - * (sound.h). - * - * Enable this API if: - * - you have implemented your own sound device using the old sound - * device API (sound.h), and - * - you wish to be able to use your sound device implementation - * using the new Audio Device API. - * - * Please see http://trac.pjsip.org/repos/wiki/Audio_Dev_API for more - * info. - */ -#ifndef PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE -# define PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE 0 -#endif - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJMEDIA_AUDIODEV_CONFIG_H__ */ - -/* - --------------------- DOCUMENTATION FOLLOWS --------------------------- - */ - -/** - * @addtogroup audio_device_api Audio Device API - * @{ - -PJMEDIA Audio Device API is a cross-platform audio API appropriate for use with -VoIP applications and many other types of audio streaming applications. - -The API abstracts many different audio API's on various platforms, such as: - - PortAudio back-end for Win32, Windows Mobile, Linux, Unix, dan MacOS X. - - native WMME audio for Win32 and Windows Mobile devices - - native Symbian audio streaming/multimedia framework (MMF) implementation - - native Nokia Audio Proxy Server (APS) implementation - - null-audio implementation - - and more to be implemented in the future - -The Audio Device API/library is an evolution from PJMEDIA @ref PJMED_SND and -contains many enhancements: - - - Forward compatibility: -\n - The new API has been designed to be extensible, it will support new API's as - well as new features that may be introduced in the future without breaking - compatibility with applications that use this API as well as compatibility - with existing device implementations. - - - Device capabilities: -\n - At the heart of the API is device capabilities management, where all possible - audio capabilities of audio devices should be able to be handled in a generic - manner. With this framework, new capabilities that may be discovered in the - future can be handled in manner without breaking existing applications. - - - Built-in features: -\n - The device capabilities framework enables applications to use and control - audio features built-in in the device, such as: - - echo cancellation, - - built-in codecs, - - audio routing (e.g. to earpiece or loudspeaker), - - volume control, - - etc. - - - Codec support: -\n - Some audio devices such as Nokia/Symbian Audio Proxy Server (APS) and Nokia - VoIP Audio Services (VAS) support built-in hardware audio codecs (e.g. G.729, - iLBC, and AMR), and application can use the sound device in encoded mode to - make use of these hardware codecs. - - - Multiple backends: -\n - The new API supports multiple audio backends (called factories or drivers in - the code) to be active simultaneously, and audio backends may be added or - removed during run-time. - - -@section using Overview on using the API - -@subsection getting_started Getting started - - -# Configure the application's project settings.\n - Add the following - include: - \code - #include \endcode\n - And add pjmedia-audiodev library to your application link - specifications.\n - -# Compile time settings.\n - Use the compile time settings to enable or - disable specific audio drivers. For more information, please see - \ref s1_audio_device_config. - -# API initialization and cleaning up.\n - Before anything else, application must initialize the API by calling: - \code - pjmedia_aud_subsys_init(pf);\endcode\n - And add this in the application cleanup sequence - \code - pjmedia_aud_subsys_shutdown();\endcode - -@subsection devices Working with devices - - -# The following code prints the list of audio devices detected - in the system. - \code - int dev_count; - pjmedia_aud_dev_index dev_idx; - pj_status_t status; - - dev_count = pjmedia_aud_dev_count(); - printf("Got %d audio devices\n", dev_count); - - for (dev_idx=0; dev_idx -#include - -/** - * @defgroup error_codes Error Codes - * @ingroup audio_device_api - * @brief Audio devive library specific error codes. - * @{ - */ - - -PJ_BEGIN_DECL - - -/** - * Start of error code relative to PJ_ERRNO_START_USER. - * This value is 420000. - */ -#define PJMEDIA_AUDIODEV_ERRNO_START \ - (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*5) -#define PJMEDIA_AUDIODEV_ERRNO_END \ - (PJMEDIA_AUDIODEV_ERRNO_START + PJ_ERRNO_SPACE_SIZE - 1) - - -/** - * Mapping from PortAudio error codes to pjmedia error space. - */ -#define PJMEDIA_AUDIODEV_PORTAUDIO_ERRNO_START \ - (PJMEDIA_AUDIODEV_ERRNO_END-10000) -#define PJMEDIA_AUDIODEV_PORTAUDIO_ERRNO_END \ - (PJMEDIA_AUDIODEV_PORTAUDIO_ERRNO_START + 10000 -1) -/** - * Convert PortAudio error code to PJLIB error code. - * PortAudio error code range: 0 >= err >= -10000 - */ -#define PJMEDIA_AUDIODEV_ERRNO_FROM_PORTAUDIO(err) \ - ((int)PJMEDIA_AUDIODEV_PORTAUDIO_ERRNO_START-err) - -/** - * Mapping from Windows multimedia WaveIn error codes. - */ -#define PJMEDIA_AUDIODEV_WMME_IN_ERROR_START \ - (PJMEDIA_AUDIODEV_ERRNO_START + 30000) -#define PJMEDIA_AUDIODEV_WMME_IN_ERROR_END \ - (PJMEDIA_AUDIODEV_WMME_IN_ERROR_START + 1000 - 1) -/** - * Convert WaveIn operation error codes to PJLIB error space. - */ -#define PJMEDIA_AUDIODEV_ERRNO_FROM_WMME_IN(err) \ - ((int)PJMEDIA_AUDIODEV_WMME_IN_ERROR_START+err) - - -/** - * Mapping from Windows multimedia WaveOut error codes. - */ -#define PJMEDIA_AUDIODEV_WMME_OUT_ERROR_START \ - (PJMEDIA_AUDIODEV_WMME_IN_ERROR_END + 1000) -#define PJMEDIA_AUDIODEV_WMME_OUT_ERROR_END \ - (PJMEDIA_AUDIODEV_WMME_OUT_ERROR_START + 1000) -/** - * Convert WaveOut operation error codes to PJLIB error space. - */ -#define PJMEDIA_AUDIODEV_ERRNO_FROM_WMME_OUT(err) \ - ((int)PJMEDIA_AUDIODEV_WMME_OUT_ERROR_START+err) - - -/** - * Mapping from CoreAudio error codes to pjmedia error space. - */ -#define PJMEDIA_AUDIODEV_COREAUDIO_ERRNO_START \ - (PJMEDIA_AUDIODEV_ERRNO_START+20000) -#define PJMEDIA_AUDIODEV_COREAUDIO_ERRNO_END \ - (PJMEDIA_AUDIODEV_COREAUDIO_ERRNO_START + 20000 -1) -/** - * Convert CoreAudio error code to PJLIB error code. - * CoreAudio error code range: 0 >= err >= -10000 - */ -#define PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(err) \ - ((int)PJMEDIA_AUDIODEV_COREAUDIO_ERRNO_START-err) - -/************************************************************ - * Audio Device API error codes - ***********************************************************/ -/** - * @hideinitializer - * General/unknown error. - */ -#define PJMEDIA_EAUD_ERR (PJMEDIA_AUDIODEV_ERRNO_START+1) /* 420001 */ - -/** - * @hideinitializer - * Unknown error from audio driver - */ -#define PJMEDIA_EAUD_SYSERR (PJMEDIA_AUDIODEV_ERRNO_START+2) /* 420002 */ - -/** - * @hideinitializer - * Audio subsystem not initialized - */ -#define PJMEDIA_EAUD_INIT (PJMEDIA_AUDIODEV_ERRNO_START+3) /* 420003 */ - -/** - * @hideinitializer - * Invalid audio device - */ -#define PJMEDIA_EAUD_INVDEV (PJMEDIA_AUDIODEV_ERRNO_START+4) /* 420004 */ - -/** - * @hideinitializer - * Found no devices - */ -#define PJMEDIA_EAUD_NODEV (PJMEDIA_AUDIODEV_ERRNO_START+5) /* 420005 */ - -/** - * @hideinitializer - * Unable to find default device - */ -#define PJMEDIA_EAUD_NODEFDEV (PJMEDIA_AUDIODEV_ERRNO_START+6) /* 420006 */ - -/** - * @hideinitializer - * Device not ready - */ -#define PJMEDIA_EAUD_NOTREADY (PJMEDIA_AUDIODEV_ERRNO_START+7) /* 420007 */ - -/** - * @hideinitializer - * The audio capability is invalid or not supported - */ -#define PJMEDIA_EAUD_INVCAP (PJMEDIA_AUDIODEV_ERRNO_START+8) /* 420008 */ - -/** - * @hideinitializer - * The operation is invalid or not supported - */ -#define PJMEDIA_EAUD_INVOP (PJMEDIA_AUDIODEV_ERRNO_START+9) /* 420009 */ - -/** - * @hideinitializer - * Bad or invalid audio device format - */ -#define PJMEDIA_EAUD_BADFORMAT (PJMEDIA_AUDIODEV_ERRNO_START+10) /* 4200010 */ - -/** - * @hideinitializer - * Invalid audio device sample format - */ -#define PJMEDIA_EAUD_SAMPFORMAT (PJMEDIA_AUDIODEV_ERRNO_START+11) /* 4200011 */ - -/** - * @hideinitializer - * Bad latency setting - */ -#define PJMEDIA_EAUD_BADLATENCY (PJMEDIA_AUDIODEV_ERRNO_START+12) /* 4200012 */ - - - - - -/** - * Get error message for the specified error code. Note that this - * function is only able to decode PJMEDIA Audiodev specific error code. - * Application should use pj_strerror(), which should be able to - * decode all error codes belonging to all subsystems (e.g. pjlib, - * pjmedia, pjsip, etc). - * - * @param status The error code. - * @param buffer The buffer where to put the error message. - * @param bufsize Size of the buffer. - * - * @return The error message as NULL terminated string, - * wrapped with pj_str_t. - */ -PJ_DECL(pj_str_t) pjmedia_audiodev_strerror(pj_status_t status, char *buffer, - pj_size_t bufsize); - - -PJ_END_DECL - -/** - * @} - */ - - -#endif /* __PJMEDIA_AUDIODEV_AUDIODEV_ERRNO_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia-codec.h b/res/pjproject/pjmedia/include/pjmedia-codec.h deleted file mode 100644 index 48f7c8db4e..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-codec.h +++ /dev/null @@ -1,42 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CODEC_PJMEDIA_CODEC_H__ -#define __PJMEDIA_CODEC_PJMEDIA_CODEC_H__ - -/** - * @file pjmedia-codec.h - * @brief Include all codecs API in PJMEDIA-CODEC - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#endif /* __PJMEDIA_CODEC_PJMEDIA_CODEC_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia-codec/amr_helper.h b/res/pjproject/pjmedia/include/pjmedia-codec/amr_helper.h deleted file mode 100644 index fc63eb4788..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-codec/amr_helper.h +++ /dev/null @@ -1,1228 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#ifndef __PJMEDIA_CODECS_AMR_HELPER_H__ -#define __PJMEDIA_CODECS_AMR_HELPER_H__ - -/** - * @file pjmedia-codec/amr_helper.h - * @brief Common tables and helper functions for AMR codec (NB & WB). - */ - - -#ifdef _MSC_VER -# pragma warning(disable:4214) // bit field types other than int -#endif - -/** - * @defgroup PJMED_AMR_CODEC_HELPER AMR Codec Helper - * @ingroup PJMEDIA_CODEC_CODECS - * @brief AMR common tables and helper functions. - * @{ - * - * This sections describes common AMR constants tables (e.g: bits sensitivity - * order map, frame lengths, bitrates) and helper functions (e.g: pack AMR - * payload in octet-aligned mode or bandwidth-efficient mode, payload parser, - * reorder AMR bitstream). - */ - -PJ_BEGIN_DECL - - -/* AMR bits sensitivity order maps */ - -const pj_int16_t pjmedia_codec_amrnb_ordermap122[244] = -{ - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, - 10, 11, 12, 13, 14, 23, 15, 16, 17, 18, - 19, 20, 21, 22, 24, 25, 26, 27, 28, 38, - 141, 39, 142, 40, 143, 41, 144, 42, 145, 43, - 146, 44, 147, 45, 148, 46, 149, 47, 97, 150, - 200, 48, 98, 151, 201, 49, 99, 152, 202, 86, - 136, 189, 239, 87, 137, 190, 240, 88, 138, 191, - 241, 91, 194, 92, 195, 93, 196, 94, 197, 95, - 198, 29, 30, 31, 32, 33, 34, 35, 50, 100, - 153, 203, 89, 139, 192, 242, 51, 101, 154, 204, - 55, 105, 158, 208, 90, 140, 193, 243, 59, 109, - 162, 212, 63, 113, 166, 216, 67, 117, 170, 220, - 36, 37, 54, 53, 52, 58, 57, 56, 62, 61, - 60, 66, 65, 64, 70, 69, 68, 104, 103, 102, - 108, 107, 106, 112, 111, 110, 116, 115, 114, 120, - 119, 118, 157, 156, 155, 161, 160, 159, 165, 164, - 163, 169, 168, 167, 173, 172, 171, 207, 206, 205, - 211, 210, 209, 215, 214, 213, 219, 218, 217, 223, - 222, 221, 73, 72, 71, 76, 75, 74, 79, 78, - 77, 82, 81, 80, 85, 84, 83, 123, 122, 121, - 126, 125, 124, 129, 128, 127, 132, 131, 130, 135, - 134, 133, 176, 175, 174, 179, 178, 177, 182, 181, - 180, 185, 184, 183, 188, 187, 186, 226, 225, 224, - 229, 228, 227, 232, 231, 230, 235, 234, 233, 238, - 237, 236, 96, 199 -}; - -const pj_int16_t pjmedia_codec_amrnb_ordermap102[204] = -{ - 7, 6, 5, 4, 3, 2, 1, 0, 16, 15, - 14, 13, 12, 11, 10, 9, 8, 26, 27, 28, - 29, 30, 31, 115, 116, 117, 118, 119, 120, 72, - 73, 161, 162, 65, 68, 69, 108, 111, 112, 154, - 157, 158, 197, 200, 201, 32, 33, 121, 122, 74, - 75, 163, 164, 66, 109, 155, 198, 19, 23, 21, - 22, 18, 17, 20, 24, 25, 37, 36, 35, 34, - 80, 79, 78, 77, 126, 125, 124, 123, 169, 168, - 167, 166, 70, 67, 71, 113, 110, 114, 159, 156, - 160, 202, 199, 203, 76, 165, 81, 82, 92, 91, - 93, 83, 95, 85, 84, 94, 101, 102, 96, 104, - 86, 103, 87, 97, 127, 128, 138, 137, 139, 129, - 141, 131, 130, 140, 147, 148, 142, 150, 132, 149, - 133, 143, 170, 171, 181, 180, 182, 172, 184, 174, - 173, 183, 190, 191, 185, 193, 175, 192, 176, 186, - 38, 39, 49, 48, 50, 40, 52, 42, 41, 51, - 58, 59, 53, 61, 43, 60, 44, 54, 194, 179, - 189, 196, 177, 195, 178, 187, 188, 151, 136, 146, - 153, 134, 152, 135, 144, 145, 105, 90, 100, 107, - 88, 106, 89, 98, 99, 62, 47, 57, 64, 45, - 63, 46, 55, 56 -}; - -const pj_int16_t pjmedia_codec_amrnb_ordermap795[159] = -{ - 8, 7, 6, 5, 4, 3, 2, 14, 16, 9, - 10, 12, 13, 15, 11, 17, 20, 22, 24, 23, - 19, 18, 21, 56, 88, 122, 154, 57, 89, 123, - 155, 58, 90, 124, 156, 52, 84, 118, 150, 53, - 85, 119, 151, 27, 93, 28, 94, 29, 95, 30, - 96, 31, 97, 61, 127, 62, 128, 63, 129, 59, - 91, 125, 157, 32, 98, 64, 130, 1, 0, 25, - 26, 33, 99, 34, 100, 65, 131, 66, 132, 54, - 86, 120, 152, 60, 92, 126, 158, 55, 87, 121, - 153, 117, 116, 115, 46, 78, 112, 144, 43, 75, - 109, 141, 40, 72, 106, 138, 36, 68, 102, 134, - 114, 149, 148, 147, 146, 83, 82, 81, 80, 51, - 50, 49, 48, 47, 45, 44, 42, 39, 35, 79, - 77, 76, 74, 71, 67, 113, 111, 110, 108, 105, - 101, 145, 143, 142, 140, 137, 133, 41, 73, 107, - 139, 37, 69, 103, 135, 38, 70, 104, 136 -}; - -const pj_int16_t pjmedia_codec_amrnb_ordermap74[148] = -{ - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, - 10, 11, 12, 13, 14, 15, 16, 26, 87, 27, - 88, 28, 89, 29, 90, 30, 91, 51, 80, 112, - 141, 52, 81, 113, 142, 54, 83, 115, 144, 55, - 84, 116, 145, 58, 119, 59, 120, 21, 22, 23, - 17, 18, 19, 31, 60, 92, 121, 56, 85, 117, - 146, 20, 24, 25, 50, 79, 111, 140, 57, 86, - 118, 147, 49, 78, 110, 139, 48, 77, 53, 82, - 114, 143, 109, 138, 47, 76, 108, 137, 32, 33, - 61, 62, 93, 94, 122, 123, 41, 42, 43, 44, - 45, 46, 70, 71, 72, 73, 74, 75, 102, 103, - 104, 105, 106, 107, 131, 132, 133, 134, 135, 136, - 34, 63, 95, 124, 35, 64, 96, 125, 36, 65, - 97, 126, 37, 66, 98, 127, 38, 67, 99, 128, - 39, 68, 100, 129, 40, 69, 101, 130 -}; - -const pj_int16_t pjmedia_codec_amrnb_ordermap67[134] = -{ - 0, 1, 4, 3, 5, 6, 13, 7, 2, 8, - 9, 11, 15, 12, 14, 10, 28, 82, 29, 83, - 27, 81, 26, 80, 30, 84, 16, 55, 109, 56, - 110, 31, 85, 57, 111, 48, 73, 102, 127, 32, - 86, 51, 76, 105, 130, 52, 77, 106, 131, 58, - 112, 33, 87, 19, 23, 53, 78, 107, 132, 21, - 22, 18, 17, 20, 24, 25, 50, 75, 104, 129, - 47, 72, 101, 126, 54, 79, 108, 133, 46, 71, - 100, 125, 128, 103, 74, 49, 45, 70, 99, 124, - 42, 67, 96, 121, 39, 64, 93, 118, 38, 63, - 92, 117, 35, 60, 89, 114, 34, 59, 88, 113, - 44, 69, 98, 123, 43, 68, 97, 122, 41, 66, - 95, 120, 40, 65, 94, 119, 37, 62, 91, 116, - 36, 61, 90, 115 -}; - -const pj_int16_t pjmedia_codec_amrnb_ordermap59[118] = -{ - 0, 1, 4, 5, 3, 6, 7, 2, 13, 15, - 8, 9, 11, 12, 14, 10, 16, 28, 74, 29, - 75, 27, 73, 26, 72, 30, 76, 51, 97, 50, - 71, 96, 117, 31, 77, 52, 98, 49, 70, 95, - 116, 53, 99, 32, 78, 33, 79, 48, 69, 94, - 115, 47, 68, 93, 114, 46, 67, 92, 113, 19, - 21, 23, 22, 18, 17, 20, 24, 111, 43, 89, - 110, 64, 65, 44, 90, 25, 45, 66, 91, 112, - 54, 100, 40, 61, 86, 107, 39, 60, 85, 106, - 36, 57, 82, 103, 35, 56, 81, 102, 34, 55, - 80, 101, 42, 63, 88, 109, 41, 62, 87, 108, - 38, 59, 84, 105, 37, 58, 83, 104 -}; - -const pj_int16_t pjmedia_codec_amrnb_ordermap515[103] = -{ - 7, 6, 5, 4, 3, 2, 1, 0, 15, 14, - 13, 12, 11, 10, 9, 8, 23, 24, 25, 26, - 27, 46, 65, 84, 45, 44, 43, 64, 63, 62, - 83, 82, 81, 102, 101, 100, 42, 61, 80, 99, - 28, 47, 66, 85, 18, 41, 60, 79, 98, 29, - 48, 67, 17, 20, 22, 40, 59, 78, 97, 21, - 30, 49, 68, 86, 19, 16, 87, 39, 38, 58, - 57, 77, 35, 54, 73, 92, 76, 96, 95, 36, - 55, 74, 93, 32, 51, 33, 52, 70, 71, 89, - 90, 31, 50, 69, 88, 37, 56, 75, 94, 34, - 53, 72, 91 -}; - -const pj_int16_t pjmedia_codec_amrnb_ordermap475[95] = -{ - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, - 10, 11, 12, 13, 14, 15, 23, 24, 25, 26, - 27, 28, 48, 49, 61, 62, 82, 83, 47, 46, - 45, 44, 81, 80, 79, 78, 17, 18, 20, 22, - 77, 76, 75, 74, 29, 30, 43, 42, 41, 40, - 38, 39, 16, 19, 21, 50, 51, 59, 60, 63, - 64, 72, 73, 84, 85, 93, 94, 32, 33, 35, - 36, 53, 54, 56, 57, 66, 67, 69, 70, 87, - 88, 90, 91, 34, 55, 68, 89, 37, 58, 71, - 92, 31, 52, 65, 86 -}; - - -const pj_int16_t pjmedia_codec_amrwb_ordermap_660[] = -{ - 0, 5, 6, 7, 61, 84, 107, 130, 62, 85, - 8, 4, 37, 38, 39, 40, 58, 81, 104, 127, - 60, 83, 106, 129, 108, 131, 128, 41, 42, 80, - 126, 1, 3, 57, 103, 82, 105, 59, 2, 63, - 109, 110, 86, 19, 22, 23, 64, 87, 18, 20, - 21, 17, 13, 88, 43, 89, 65, 111, 14, 24, - 25, 26, 27, 28, 15, 16, 44, 90, 66, 112, - 9, 11, 10, 12, 67, 113, 29, 30, 31, 32, - 34, 33, 35, 36, 45, 51, 68, 74, 91, 97, - 114, 120, 46, 69, 92, 115, 52, 75, 98, 121, - 47, 70, 93, 116, 53, 76, 99, 122, 48, 71, - 94, 117, 54, 77, 100, 123, 49, 72, 95, 118, - 55, 78, 101, 124, 50, 73, 96, 119, 56, 79, - 102, 125 -}; - -const pj_int16_t pjmedia_codec_amrwb_ordermap_885[] = -{ - 0, 4, 6, 7, 5, 3, 47, 48, 49, 112, - 113, 114, 75, 106, 140, 171, 80, 111, 145, 176, - 77, 108, 142, 173, 78, 109, 143, 174, 79, 110, - 144, 175, 76, 107, 141, 172, 50, 115, 51, 2, - 1, 81, 116, 146, 19, 21, 12, 17, 18, 20, - 16, 25, 13, 10, 14, 24, 23, 22, 26, 8, - 15, 52, 117, 31, 82, 147, 9, 33, 11, 83, - 148, 53, 118, 28, 27, 84, 149, 34, 35, 29, - 46, 32, 30, 54, 119, 37, 36, 39, 38, 40, - 85, 150, 41, 42, 43, 44, 45, 55, 60, 65, - 70, 86, 91, 96, 101, 120, 125, 130, 135, 151, - 156, 161, 166, 56, 87, 121, 152, 61, 92, 126, - 157, 66, 97, 131, 162, 71, 102, 136, 167, 57, - 88, 122, 153, 62, 93, 127, 158, 67, 98, 132, - 163, 72, 103, 137, 168, 58, 89, 123, 154, 63, - 94, 128, 159, 68, 99, 133, 164, 73, 104, 138, - 169, 59, 90, 124, 155, 64, 95, 129, 160, 69, - 100, 134, 165, 74, 105, 139, 170 -}; - -const pj_int16_t pjmedia_codec_amrwb_ordermap_1265[] = -{ - 0, 4, 6, 93, 143, 196, 246, 7, 5, 3, - 47, 48, 49, 50, 51, 150, 151, 152, 153, 154, - 94, 144, 197, 247, 99, 149, 202, 252, 96, 146, - 199, 249, 97, 147, 200, 250, 100, 203, 98, 148, - 201, 251, 95, 145, 198, 248, 52, 2, 1, 101, - 204, 155, 19, 21, 12, 17, 18, 20, 16, 25, - 13, 10, 14, 24, 23, 22, 26, 8, 15, 53, - 156, 31, 102, 205, 9, 33, 11, 103, 206, 54, - 157, 28, 27, 104, 207, 34, 35, 29, 46, 32, - 30, 55, 158, 37, 36, 39, 38, 40, 105, 208, - 41, 42, 43, 44, 45, 56, 106, 159, 209, 57, - 66, 75, 84, 107, 116, 125, 134, 160, 169, 178, - 187, 210, 219, 228, 237, 58, 108, 161, 211, 62, - 112, 165, 215, 67, 117, 170, 220, 71, 121, 174, - 224, 76, 126, 179, 229, 80, 130, 183, 233, 85, - 135, 188, 238, 89, 139, 192, 242, 59, 109, 162, - 212, 63, 113, 166, 216, 68, 118, 171, 221, 72, - 122, 175, 225, 77, 127, 180, 230, 81, 131, 184, - 234, 86, 136, 189, 239, 90, 140, 193, 243, 60, - 110, 163, 213, 64, 114, 167, 217, 69, 119, 172, - 222, 73, 123, 176, 226, 78, 128, 181, 231, 82, - 132, 185, 235, 87, 137, 190, 240, 91, 141, 194, - 244, 61, 111, 164, 214, 65, 115, 168, 218, 70, - 120, 173, 223, 74, 124, 177, 227, 79, 129, 182, - 232, 83, 133, 186, 236, 88, 138, 191, 241, 92, - 142, 195, 245 -}; - -const pj_int16_t pjmedia_codec_amrwb_ordermap_1425[] = -{ - 0, 4, 6, 101, 159, 220, 278, 7, 5, 3, - 47, 48, 49, 50, 51, 166, 167, 168, 169, 170, - 102, 160, 221, 279, 107, 165, 226, 284, 104, 162, - 223, 281, 105, 163, 224, 282, 108, 227, 106, 164, - 225, 283, 103, 161, 222, 280, 52, 2, 1, 109, - 228, 171, 19, 21, 12, 17, 18, 20, 16, 25, - 13, 10, 14, 24, 23, 22, 26, 8, 15, 53, - 172, 31, 110, 229, 9, 33, 11, 111, 230, 54, - 173, 28, 27, 112, 231, 34, 35, 29, 46, 32, - 30, 55, 174, 37, 36, 39, 38, 40, 113, 232, - 41, 42, 43, 44, 45, 56, 114, 175, 233, 62, - 120, 181, 239, 75, 133, 194, 252, 57, 115, 176, - 234, 63, 121, 182, 240, 70, 128, 189, 247, 76, - 134, 195, 253, 83, 141, 202, 260, 92, 150, 211, - 269, 84, 142, 203, 261, 93, 151, 212, 270, 85, - 143, 204, 262, 94, 152, 213, 271, 86, 144, 205, - 263, 95, 153, 214, 272, 64, 122, 183, 241, 77, - 135, 196, 254, 65, 123, 184, 242, 78, 136, 197, - 255, 87, 145, 206, 264, 96, 154, 215, 273, 58, - 116, 177, 235, 66, 124, 185, 243, 71, 129, 190, - 248, 79, 137, 198, 256, 88, 146, 207, 265, 97, - 155, 216, 274, 59, 117, 178, 236, 67, 125, 186, - 244, 72, 130, 191, 249, 80, 138, 199, 257, 89, - 147, 208, 266, 98, 156, 217, 275, 60, 118, 179, - 237, 68, 126, 187, 245, 73, 131, 192, 250, 81, - 139, 200, 258, 90, 148, 209, 267, 99, 157, 218, - 276, 61, 119, 180, 238, 69, 127, 188, 246, 74, - 132, 193, 251, 82, 140, 201, 259, 91, 149, 210, - 268, 100, 158, 219, 277 -}; - -const pj_int16_t pjmedia_codec_amrwb_ordermap_1585[] = -{ - 0, 4, 6, 109, 175, 244, 310, 7, 5, 3, - 47, 48, 49, 50, 51, 182, 183, 184, 185, 186, - 110, 176, 245, 311, 115, 181, 250, 316, 112, 178, - 247, 313, 113, 179, 248, 314, 116, 251, 114, 180, - 249, 315, 111, 177, 246, 312, 52, 2, 1, 117, - 252, 187, 19, 21, 12, 17, 18, 20, 16, 25, - 13, 10, 14, 24, 23, 22, 26, 8, 15, 53, - 188, 31, 118, 253, 9, 33, 11, 119, 254, 54, - 189, 28, 27, 120, 255, 34, 35, 29, 46, 32, - 30, 55, 190, 37, 36, 39, 38, 40, 121, 256, - 41, 42, 43, 44, 45, 56, 122, 191, 257, 63, - 129, 198, 264, 76, 142, 211, 277, 89, 155, 224, - 290, 102, 168, 237, 303, 57, 123, 192, 258, 70, - 136, 205, 271, 83, 149, 218, 284, 96, 162, 231, - 297, 62, 128, 197, 263, 75, 141, 210, 276, 88, - 154, 223, 289, 101, 167, 236, 302, 58, 124, 193, - 259, 71, 137, 206, 272, 84, 150, 219, 285, 97, - 163, 232, 298, 59, 125, 194, 260, 64, 130, 199, - 265, 67, 133, 202, 268, 72, 138, 207, 273, 77, - 143, 212, 278, 80, 146, 215, 281, 85, 151, 220, - 286, 90, 156, 225, 291, 93, 159, 228, 294, 98, - 164, 233, 299, 103, 169, 238, 304, 106, 172, 241, - 307, 60, 126, 195, 261, 65, 131, 200, 266, 68, - 134, 203, 269, 73, 139, 208, 274, 78, 144, 213, - 279, 81, 147, 216, 282, 86, 152, 221, 287, 91, - 157, 226, 292, 94, 160, 229, 295, 99, 165, 234, - 300, 104, 170, 239, 305, 107, 173, 242, 308, 61, - 127, 196, 262, 66, 132, 201, 267, 69, 135, 204, - 270, 74, 140, 209, 275, 79, 145, 214, 280, 82, - 148, 217, 283, 87, 153, 222, 288, 92, 158, 227, - 293, 95, 161, 230, 296, 100, 166, 235, 301, 105, - 171, 240, 306, 108, 174, 243, 309 -}; - -const pj_int16_t pjmedia_codec_amrwb_ordermap_1825[] = -{ - 0, 4, 6, 121, 199, 280, 358, 7, 5, 3, - 47, 48, 49, 50, 51, 206, 207, 208, 209, 210, - 122, 200, 281, 359, 127, 205, 286, 364, 124, 202, - 283, 361, 125, 203, 284, 362, 128, 287, 126, 204, - 285, 363, 123, 201, 282, 360, 52, 2, 1, 129, - 288, 211, 19, 21, 12, 17, 18, 20, 16, 25, - 13, 10, 14, 24, 23, 22, 26, 8, 15, 53, - 212, 31, 130, 289, 9, 33, 11, 131, 290, 54, - 213, 28, 27, 132, 291, 34, 35, 29, 46, 32, - 30, 55, 214, 37, 36, 39, 38, 40, 133, 292, - 41, 42, 43, 44, 45, 56, 134, 215, 293, 198, - 299, 136, 120, 138, 60, 279, 58, 62, 357, 139, - 140, 295, 156, 57, 219, 297, 63, 217, 137, 170, - 300, 222, 64, 106, 61, 78, 294, 92, 142, 141, - 135, 221, 296, 301, 343, 59, 298, 184, 329, 315, - 220, 216, 265, 251, 218, 237, 352, 223, 157, 86, - 171, 87, 164, 351, 111, 302, 65, 178, 115, 323, - 72, 192, 101, 179, 93, 73, 193, 151, 337, 309, - 143, 274, 69, 324, 165, 150, 97, 338, 110, 310, - 330, 273, 68, 107, 175, 245, 114, 79, 113, 189, - 246, 259, 174, 71, 185, 96, 344, 100, 322, 83, - 334, 316, 333, 252, 161, 348, 147, 82, 269, 232, - 260, 308, 353, 347, 163, 231, 306, 320, 188, 270, - 146, 177, 266, 350, 256, 85, 149, 116, 191, 160, - 238, 258, 336, 305, 255, 88, 224, 99, 339, 230, - 228, 227, 272, 242, 241, 319, 233, 311, 102, 74, - 180, 275, 66, 194, 152, 325, 172, 247, 244, 261, - 117, 158, 166, 354, 75, 144, 108, 312, 94, 186, - 303, 80, 234, 89, 195, 112, 340, 181, 345, 317, - 326, 276, 239, 167, 118, 313, 70, 355, 327, 253, - 190, 176, 271, 104, 98, 153, 103, 90, 76, 267, - 277, 248, 225, 262, 182, 84, 154, 235, 335, 168, - 331, 196, 341, 249, 162, 307, 148, 349, 263, 321, - 257, 243, 229, 356, 159, 119, 67, 187, 173, 145, - 240, 77, 304, 332, 314, 342, 109, 254, 81, 278, - 105, 91, 346, 318, 183, 250, 197, 328, 95, 155, - 169, 268, 226, 236, 264 -}; - -const pj_int16_t pjmedia_codec_amrwb_ordermap_1985[] = -{ - 0, 4, 6, 129, 215, 304, 390, 7, 5, 3, - 47, 48, 49, 50, 51, 222, 223, 224, 225, 226, - 130, 216, 305, 391, 135, 221, 310, 396, 132, 218, - 307, 393, 133, 219, 308, 394, 136, 311, 134, 220, - 309, 395, 131, 217, 306, 392, 52, 2, 1, 137, - 312, 227, 19, 21, 12, 17, 18, 20, 16, 25, - 13, 10, 14, 24, 23, 22, 26, 8, 15, 53, - 228, 31, 138, 313, 9, 33, 11, 139, 314, 54, - 229, 28, 27, 140, 315, 34, 35, 29, 46, 32, - 30, 55, 230, 37, 36, 39, 38, 40, 141, 316, - 41, 42, 43, 44, 45, 56, 142, 231, 317, 63, - 73, 92, 340, 82, 324, 149, 353, 159, 334, 165, - 338, 178, 163, 254, 77, 168, 257, 153, 343, 57, - 248, 238, 79, 252, 166, 67, 80, 201, 101, 267, - 143, 164, 341, 255, 339, 187, 376, 318, 78, 328, - 362, 115, 232, 242, 253, 290, 276, 62, 58, 158, - 68, 93, 179, 319, 148, 169, 154, 72, 385, 329, - 333, 344, 102, 83, 144, 233, 323, 124, 243, 192, - 354, 237, 64, 247, 202, 209, 150, 116, 335, 268, - 239, 299, 188, 196, 298, 94, 195, 258, 123, 363, - 384, 109, 325, 371, 170, 370, 84, 110, 295, 180, - 74, 210, 191, 106, 291, 205, 367, 381, 377, 206, - 355, 122, 119, 120, 383, 160, 105, 108, 277, 380, - 294, 284, 285, 345, 208, 269, 249, 366, 386, 300, - 297, 259, 125, 369, 197, 97, 194, 286, 211, 281, - 280, 183, 372, 87, 155, 283, 59, 348, 327, 184, - 76, 111, 330, 203, 349, 69, 98, 152, 145, 189, - 66, 320, 337, 173, 358, 251, 198, 174, 263, 262, - 126, 241, 193, 88, 388, 117, 95, 387, 112, 359, - 287, 244, 103, 272, 301, 171, 162, 234, 273, 127, - 373, 181, 292, 85, 378, 302, 121, 107, 364, 346, - 356, 212, 278, 213, 65, 382, 288, 207, 113, 175, - 99, 296, 374, 368, 199, 260, 185, 336, 331, 161, - 270, 264, 250, 240, 75, 350, 151, 60, 89, 321, - 156, 274, 360, 326, 70, 282, 167, 146, 352, 81, - 91, 389, 266, 245, 177, 235, 190, 256, 204, 342, - 128, 118, 303, 104, 379, 182, 114, 375, 200, 96, - 293, 172, 214, 365, 279, 86, 289, 351, 347, 357, - 261, 186, 176, 271, 90, 100, 147, 322, 275, 361, - 71, 332, 61, 265, 157, 246, 236 -}; - -const pj_int16_t pjmedia_codec_amrwb_ordermap_2305[] = -{ - 0, 4, 6, 145, 247, 352, 454, 7, 5, 3, - 47, 48, 49, 50, 51, 254, 255, 256, 257, 258, - 146, 248, 353, 455, 151, 253, 358, 460, 148, 250, - 355, 457, 149, 251, 356, 458, 152, 359, 150, 252, - 357, 459, 147, 249, 354, 456, 52, 2, 1, 153, - 360, 259, 19, 21, 12, 17, 18, 20, 16, 25, - 13, 10, 14, 24, 23, 22, 26, 8, 15, 53, - 260, 31, 154, 361, 9, 33, 11, 155, 362, 54, - 261, 28, 27, 156, 363, 34, 35, 29, 46, 32, - 30, 55, 262, 37, 36, 39, 38, 40, 157, 364, - 41, 42, 43, 44, 45, 56, 158, 263, 365, 181, - 192, 170, 79, 57, 399, 90, 159, 297, 377, 366, - 275, 68, 183, 388, 286, 194, 299, 92, 70, 182, - 401, 172, 59, 91, 58, 400, 368, 161, 81, 160, - 264, 171, 80, 389, 390, 378, 379, 193, 298, 69, - 266, 265, 367, 277, 288, 276, 287, 184, 60, 195, - 82, 93, 71, 369, 402, 173, 162, 444, 300, 391, - 98, 76, 278, 61, 267, 374, 135, 411, 167, 102, - 380, 200, 87, 178, 65, 94, 204, 124, 72, 342, - 189, 305, 381, 396, 433, 301, 226, 407, 289, 237, - 113, 215, 185, 128, 309, 403, 116, 320, 196, 331, - 370, 422, 174, 64, 392, 83, 425, 219, 134, 188, - 432, 112, 427, 139, 279, 163, 436, 208, 447, 218, - 236, 229, 97, 294, 385, 230, 166, 268, 177, 443, - 225, 426, 101, 272, 138, 127, 290, 117, 347, 199, - 414, 95, 140, 240, 410, 395, 209, 129, 283, 346, - 105, 241, 437, 86, 308, 448, 203, 345, 186, 107, - 220, 415, 334, 319, 106, 313, 118, 123, 73, 207, - 421, 214, 384, 373, 438, 62, 371, 341, 75, 449, - 168, 323, 164, 242, 416, 324, 304, 197, 335, 404, - 271, 63, 191, 325, 96, 169, 231, 280, 312, 187, - 406, 84, 201, 100, 67, 382, 175, 336, 202, 330, - 269, 393, 376, 383, 293, 307, 409, 179, 285, 314, - 302, 372, 398, 190, 180, 89, 99, 103, 232, 78, - 88, 77, 136, 387, 165, 198, 394, 125, 176, 428, - 74, 375, 238, 227, 66, 273, 282, 141, 306, 412, - 114, 85, 130, 348, 119, 291, 296, 386, 233, 397, - 303, 405, 284, 445, 423, 221, 210, 205, 450, 108, - 274, 434, 216, 343, 337, 142, 243, 321, 408, 451, - 310, 292, 120, 109, 281, 439, 270, 429, 332, 295, - 418, 211, 315, 222, 326, 131, 430, 244, 327, 349, - 417, 316, 143, 338, 440, 234, 110, 212, 452, 245, - 121, 419, 350, 223, 132, 441, 328, 413, 317, 339, - 126, 104, 137, 446, 344, 239, 435, 115, 333, 206, - 322, 217, 228, 424, 453, 311, 351, 111, 442, 224, - 213, 122, 431, 340, 235, 246, 133, 144, 420, 329, - 318 -}; - -const pj_int16_t pjmedia_codec_amrwb_ordermap_2385[] = -{ - 0, 4, 6, 145, 251, 360, 466, 7, 5, 3, - 47, 48, 49, 50, 51, 262, 263, 264, 265, 266, - 146, 252, 361, 467, 151, 257, 366, 472, 148, 254, - 363, 469, 149, 255, 364, 470, 156, 371, 150, 256, - 365, 471, 147, 253, 362, 468, 52, 2, 1, 157, - 372, 267, 19, 21, 12, 17, 18, 20, 16, 25, - 13, 10, 14, 24, 23, 22, 26, 8, 15, 53, - 268, 31, 152, 153, 154, 155, 258, 259, 260, 261, - 367, 368, 369, 370, 473, 474, 475, 476, 158, 373, - 9, 33, 11, 159, 374, 54, 269, 28, 27, 160, - 375, 34, 35, 29, 46, 32, 30, 55, 270, 37, - 36, 39, 38, 40, 161, 376, 41, 42, 43, 44, - 45, 56, 162, 271, 377, 185, 196, 174, 79, 57, - 411, 90, 163, 305, 389, 378, 283, 68, 187, 400, - 294, 198, 307, 92, 70, 186, 413, 176, 59, 91, - 58, 412, 380, 165, 81, 164, 272, 175, 80, 401, - 402, 390, 391, 197, 306, 69, 274, 273, 379, 285, - 296, 284, 295, 188, 60, 199, 82, 93, 71, 381, - 414, 177, 166, 456, 308, 403, 98, 76, 286, 61, - 275, 386, 135, 423, 171, 102, 392, 204, 87, 182, - 65, 94, 208, 124, 72, 350, 193, 313, 393, 408, - 445, 309, 230, 419, 297, 241, 113, 219, 189, 128, - 317, 415, 116, 328, 200, 339, 382, 434, 178, 64, - 404, 83, 437, 223, 134, 192, 444, 112, 439, 139, - 287, 167, 448, 212, 459, 222, 240, 233, 97, 302, - 397, 234, 170, 276, 181, 455, 229, 438, 101, 280, - 138, 127, 298, 117, 355, 203, 426, 95, 140, 244, - 422, 407, 213, 129, 291, 354, 105, 245, 449, 86, - 316, 460, 207, 353, 190, 107, 224, 427, 342, 327, - 106, 321, 118, 123, 73, 211, 433, 218, 396, 385, - 450, 62, 383, 349, 75, 461, 172, 331, 168, 246, - 428, 332, 312, 201, 343, 416, 279, 63, 195, 333, - 96, 173, 235, 288, 320, 191, 418, 84, 205, 100, - 67, 394, 179, 344, 206, 338, 277, 405, 388, 395, - 301, 315, 421, 183, 293, 322, 310, 384, 410, 194, - 184, 89, 99, 103, 236, 78, 88, 77, 136, 399, - 169, 202, 406, 125, 180, 440, 74, 387, 242, 231, - 66, 281, 290, 141, 314, 424, 114, 85, 130, 356, - 119, 299, 304, 398, 237, 409, 311, 417, 292, 457, - 435, 225, 214, 209, 462, 108, 282, 446, 220, 351, - 345, 142, 247, 329, 420, 463, 318, 300, 120, 109, - 289, 451, 278, 441, 340, 303, 430, 215, 323, 226, - 334, 131, 442, 248, 335, 357, 429, 324, 143, 346, - 452, 238, 110, 216, 464, 249, 121, 431, 358, 227, - 132, 453, 336, 425, 325, 347, 126, 104, 137, 458, - 352, 243, 447, 115, 341, 210, 330, 221, 232, 436, - 465, 319, 359, 111, 454, 228, 217, 122, 443, 348, - 239, 250, 133, 144, 432, 337, 326 -}; - -/** - * AMR-NB bitstream sensitivity order maps. - */ -const pj_int16_t* const pjmedia_codec_amrnb_ordermaps[8] = -{ - pjmedia_codec_amrnb_ordermap475, - pjmedia_codec_amrnb_ordermap515, - pjmedia_codec_amrnb_ordermap59, - pjmedia_codec_amrnb_ordermap67, - pjmedia_codec_amrnb_ordermap74, - pjmedia_codec_amrnb_ordermap795, - pjmedia_codec_amrnb_ordermap102, - pjmedia_codec_amrnb_ordermap122 -}; - -/** - * AMR-WB bitstream sensitivity order maps. - */ -const pj_int16_t* const pjmedia_codec_amrwb_ordermaps[9] = -{ - pjmedia_codec_amrwb_ordermap_660, - pjmedia_codec_amrwb_ordermap_885, - pjmedia_codec_amrwb_ordermap_1265, - pjmedia_codec_amrwb_ordermap_1425, - pjmedia_codec_amrwb_ordermap_1585, - pjmedia_codec_amrwb_ordermap_1825, - pjmedia_codec_amrwb_ordermap_1985, - pjmedia_codec_amrwb_ordermap_2305, - pjmedia_codec_amrwb_ordermap_2385 -}; - -/** - * Constant of AMR-NB frame lengths in bytes. - */ -const pj_uint8_t pjmedia_codec_amrnb_framelen[16] = - {12, 13, 15, 17, 19, 20, 26, 31, 5, 0, 0, 0, 0, 0, 0, 0}; -/** - * Constant of AMR-NB frame lengths in bits. - */ -const pj_uint16_t pjmedia_codec_amrnb_framelenbits[9] = - {95, 103, 118, 134, 148, 159, 204, 244, 39}; -/** - * Constant of AMR-NB bitrates. - */ -const pj_uint16_t pjmedia_codec_amrnb_bitrates[8] = - {4750, 5150, 5900, 6700, 7400, 7950, 10200, 12200}; - -/** - * Constant of AMR-WB frame lengths in bytes. - */ -const pj_uint8_t pjmedia_codec_amrwb_framelen[16] = - {17, 23, 32, 37, 40, 46, 50, 58, 60, 5, 0, 0, 0, 0, 0, 0}; -/** - * Constant of AMR-WB frame lengths in bits. - */ -const pj_uint16_t pjmedia_codec_amrwb_framelenbits[10] = - {132, 177, 253, 285, 317, 365, 397, 461, 477, 40}; -/** - * Constant of AMR-WB bitrates. - */ -const pj_uint16_t pjmedia_codec_amrwb_bitrates[9] = - {6600, 8850, 12650, 14250, 15850, 18250, 19850, 23050, 23850}; - - -/** - * This structure describes AMR frame info, to be fitted into #pjmedia_frame - * bit info. - */ -#pragma pack(1) -typedef struct pjmedia_codec_amr_bit_info { - pj_uint8_t frame_type; /**< AMR frame type. */ - pj_int8_t mode; /**< AMR mode. */ - pj_uint8_t start_bit; /**< Frame start bit. */ - pj_uint8_t good_quality:1; /**< Flag if frame is good/degraded. */ - pj_uint8_t STI:1; /**< STI mode (first/update). */ -} pjmedia_codec_amr_bit_info; -#pragma pack() - - -/** - * This structure describes AMR settings. - */ -typedef struct pjmedia_codec_amr_pack_setting { - pj_uint8_t amr_nb:1; /**< Set 1 for AMR-NB, 0 for AMR-WB. */ - pj_uint8_t reorder:1; /**< Reorder bitstream into descending - sensitivity order or vice versa. */ - pj_uint8_t octet_aligned:1; /**< TRUE if payload is in octet-aligned mode, - FALSE if payload is in bandwidth - efficient mode. */ - pj_uint8_t cmr:4; /**< Change Mode Request for remote - encoder. */ -} pjmedia_codec_amr_pack_setting; - - -/** - * Get AMR mode based on bitrate. - * - * @param bitrate AMR bitrate. - * - * @return AMR mode. - */ -PJ_INLINE(pj_int8_t) pjmedia_codec_amr_get_mode(unsigned bitrate) -{ - pj_int8_t mode = -1; - - if(bitrate==4750){ - mode = 0; - } else if(bitrate==5150){ - mode = 1; - } else if(bitrate==5900){ - mode = 2; - } else if(bitrate==6700){ - mode = 3; - } else if(bitrate==7400){ - mode = 4; - } else if(bitrate==7950){ - mode = 5; - } else if(bitrate==10200){ - mode = 6; - } else if(bitrate==12200){ - mode = 7; - - /* AMRWB */ - } else if(bitrate==6600){ - mode = 0; - } else if(bitrate==8850){ - mode = 1; - } else if(bitrate==12650){ - mode = 2; - } else if(bitrate==14250){ - mode = 3; - } else if(bitrate==15850){ - mode = 4; - } else if(bitrate==18250){ - mode = 5; - } else if(bitrate==19850){ - mode = 6; - } else if(bitrate==23050){ - mode = 7; - } else if(bitrate==23850){ - mode = 8; - } - return mode; -} - -/** - * Get AMR mode based on frame length. - * - * @param amrnb Set to PJ_TRUE for AMR-NB domain or PJ_FALSE for AMR-WB. - * @param frame_len The frame length. - * - * @return AMR mode. - */ - -PJ_INLINE(pj_int8_t) pjmedia_codec_amr_get_mode2(pj_bool_t amrnb, - unsigned frame_len) -{ - int i; - - if (amrnb) { - for (i = 0; i < 9; ++i) - if (frame_len == pjmedia_codec_amrnb_framelen[i]) - return (pj_int8_t)i; - } else { - for (i = 0; i < 10; ++i) { - if (frame_len == pjmedia_codec_amrwb_framelen[i]) - return (pj_int8_t)i; - } - } - - pj_assert(!"Invalid AMR frame length"); - return -1; -} - -/** - * Prepare a frame before pass it to decoder. This function will do: - * - reorder AMR bitstream from descending sensitivity order into - * encoder bits order. This can be enabled/disabled via param - * 'setting' by setting/resetting field 'reorder'. - * - align left the start bit (make the start_bit to be 0). - * - * @param in Input frame. - * @param setting Settings, see #pjmedia_codec_amr_pack_setting. - * @param out Output frame. - * - * @return PJ_SUCCESS on success. - */ -PJ_INLINE(pj_status_t) pjmedia_codec_amr_predecode( - const pjmedia_frame *in, - const pjmedia_codec_amr_pack_setting *setting, - pjmedia_frame *out) -{ - pj_int8_t amr_bits[477 + 7] = {0}; - pj_int8_t *p_amr_bits = &amr_bits[0]; - - pj_uint8_t *r = (pj_uint8_t*) in->buf; /* read cursor */ - pj_uint8_t *w = (pj_uint8_t*) out->buf; /* write cursor */ - - /* env vars for AMR or AMRWB */ - pj_uint8_t SID_FT; - const pj_uint8_t *framelen_tbl; - const pj_uint16_t *framelenbit_tbl; - const pj_uint16_t *bitrate_tbl; - const pj_int16_t* const *order_maps; - - pjmedia_codec_amr_bit_info *in_info = - (pjmedia_codec_amr_bit_info*) &in->bit_info; - pjmedia_codec_amr_bit_info *out_info = - (pjmedia_codec_amr_bit_info*) &out->bit_info; - - unsigned i; - - *out_info = *in_info; - - if (setting->amr_nb) { - SID_FT = 8; - framelen_tbl = pjmedia_codec_amrnb_framelen; - framelenbit_tbl = pjmedia_codec_amrnb_framelenbits; - bitrate_tbl = pjmedia_codec_amrnb_bitrates; - order_maps = pjmedia_codec_amrnb_ordermaps; - } else { - SID_FT = 9; - framelen_tbl = pjmedia_codec_amrwb_framelen; - framelenbit_tbl = pjmedia_codec_amrwb_framelenbits; - bitrate_tbl = pjmedia_codec_amrwb_bitrates; - order_maps = pjmedia_codec_amrwb_ordermaps; - } - - /* unpack AMR bitstream if there is any data */ - if (in_info->frame_type <= SID_FT) { - i = 0; - if (in_info->start_bit) { - for (; i < (unsigned)(8-in_info->start_bit); ++i) - *p_amr_bits++ = (pj_uint8_t) - ((*r >> (7-in_info->start_bit-i)) & 1); - ++r; - } - for(; i < framelenbit_tbl[in_info->frame_type]; i += 8, ++r) { - *p_amr_bits++ = (pj_uint8_t)((*r >> 7) & 1); - *p_amr_bits++ = (pj_uint8_t)((*r >> 6) & 1); - *p_amr_bits++ = (pj_uint8_t)((*r >> 5) & 1); - *p_amr_bits++ = (pj_uint8_t)((*r >> 4) & 1); - *p_amr_bits++ = (pj_uint8_t)((*r >> 3) & 1); - *p_amr_bits++ = (pj_uint8_t)((*r >> 2) & 1); - *p_amr_bits++ = (pj_uint8_t)((*r >> 1) & 1); - *p_amr_bits++ = (pj_uint8_t)((*r ) & 1); - } - } - - if (in_info->frame_type < SID_FT) { - - /* Speech */ - out_info->mode = in_info->frame_type; - out->size = framelen_tbl[out_info->mode]; - - pj_bzero(out->buf, out->size); - - if (setting->reorder) { - const pj_int16_t *order_map; - - order_map = order_maps[out_info->mode]; - for(i = 0; i < framelenbit_tbl[out_info->mode]; ++i) { - if (amr_bits[i]) { - pj_uint16_t bitpos; - bitpos = order_map[i]; - w[bitpos>>3] |= 1 << (7 - (bitpos % 8)); - } - } - } else { - for(i = 0; i < framelenbit_tbl[out_info->mode]; ++i) { - if (amr_bits[i]) - w[i >> 3] |= 1 << (7 - (i % 8)); - } - } - - } else if (in_info->frame_type == SID_FT) { - - /* SID */ - pj_uint8_t w_bitptr = 0; - pj_uint8_t FT_; - - if (setting->amr_nb) - FT_ = (pj_uint8_t)((amr_bits[36] << 2) | (amr_bits[37] << 1) | - amr_bits[38]); - else - FT_ = (pj_uint8_t)((amr_bits[36] << 3) | (amr_bits[37] << 2) | - (amr_bits[38] << 1) | amr_bits[39]); - - out_info->mode = FT_; - out->size = 5; - - pj_bzero(out->buf, out->size); - for(i = 0; i < framelenbit_tbl[SID_FT]; ++i) { - if (amr_bits[i]) - *w |= (1 << (7-w_bitptr)); - - if (++w_bitptr == 8) { - ++w; - w_bitptr = 0; - } - } - - } else { - - /* NO DATA */ - out->size = 0; - out_info->mode = -1; - } - - out_info->start_bit = 0; - - return PJ_SUCCESS; -} - - -/** - * Pack encoded AMR frame(s) into an RTP payload. - * - * @param frames AMR frames to be packed. - * @param nframes Number of frames to be packed. - * @param setting Settings, see #pjmedia_codec_amr_pack_setting. - * @param pkt Payload. - * @param pkt_size Payload size, as input this specifies payload maximum size, - * as output this specifies payload packed size. - * - * @return PJ_SUCCESS on success. - */ -PJ_INLINE (pj_status_t) pjmedia_codec_amr_pack( - const pjmedia_frame frames[], - unsigned nframes, - const pjmedia_codec_amr_pack_setting *setting, - void *pkt, - pj_size_t *pkt_size) -{ - /* Write cursor */ - pj_uint8_t *w = (pj_uint8_t*)pkt; - pj_uint8_t w_bitptr = 0; - - /* Read cursor */ - pj_uint8_t *r; - - /* env vars for AMR or AMRWB */ - pj_uint8_t SID_FT; - const pj_uint8_t *framelen_tbl; - const pj_uint16_t *framelenbit_tbl; - const pj_uint16_t *bitrate_tbl; - const pj_int16_t* const *order_maps; - - /* frame info */ - pjmedia_codec_amr_bit_info *info; - - unsigned i, max_pkt_size; - - max_pkt_size = *pkt_size; - - if (setting->amr_nb) { - SID_FT = 8; - framelen_tbl = pjmedia_codec_amrnb_framelen; - framelenbit_tbl = pjmedia_codec_amrnb_framelenbits; - bitrate_tbl = pjmedia_codec_amrnb_bitrates; - order_maps = pjmedia_codec_amrnb_ordermaps; - } else { - SID_FT = 9; - framelen_tbl = pjmedia_codec_amrwb_framelen; - framelenbit_tbl = pjmedia_codec_amrwb_framelenbits; - bitrate_tbl = pjmedia_codec_amrwb_bitrates; - order_maps = pjmedia_codec_amrwb_ordermaps; - } - - /* Code Mode Request, 4 bits */ - *w = (pj_uint8_t)(setting->cmr << 4); - w_bitptr = 4; - if (setting->octet_aligned) { - ++w; - w_bitptr = 0; - } - - /* Table Of Contents, 6 bits each */ - for (i = 0; i < nframes; ++i) { - pj_uint8_t TOC, FT, Q; - pj_bool_t F; - - info = (pjmedia_codec_amr_bit_info*)&frames[i].bit_info; - - F = (i != nframes-1); - FT = info->frame_type; - Q = (pj_uint8_t)(info->good_quality == 1); - pj_assert(FT <= SID_FT || FT == 14 || FT == 15); - - /* Check buffer availability */ - *pkt_size = w - (pj_uint8_t*)pkt + 1; - PJ_ASSERT_RETURN(*pkt_size <= max_pkt_size, PJ_ETOOSMALL); - - TOC = (pj_uint8_t)((F<<5) | (FT<<1) | Q); - if (w_bitptr == 0) { - *w = (pj_uint8_t)(TOC<<2); - w_bitptr = 6; - } else if (w_bitptr == 2) { - *w++ |= TOC; - w_bitptr = 0; - } else if (w_bitptr == 4) { - *w++ |= TOC>>2; - *w = (pj_uint8_t)(TOC<<6); - w_bitptr = 2; - } else if (w_bitptr == 6) { - *w++ |= TOC>>4; - *w = (pj_uint8_t)(TOC<<4); - w_bitptr = 4; - } - if (setting->octet_aligned) { - ++w; - w_bitptr = 0; - } - } - - /* Encoded data */ - for (i = 0; i < nframes; ++i) { - pj_int8_t amr_bits[477 + 7] = {0}; - pj_int8_t *p_amr_bits = &amr_bits[0]; - unsigned j; - - info = (pjmedia_codec_amr_bit_info*)&frames[i].bit_info; - - /* Check buffer availability */ - *pkt_size = w - (pj_uint8_t*)pkt; - if (info->frame_type <= SID_FT) - *pkt_size += framelen_tbl[info->frame_type] + 1; - PJ_ASSERT_RETURN(*pkt_size <= max_pkt_size, PJ_ETOOSMALL); - - /* Skip if there is no data */ - if (info->frame_type > SID_FT) - continue; - - /* Unpack bits */ - r = (pj_uint8_t*) frames[i].buf; - j = 0; - if (info->start_bit) { - for (; j < (unsigned)(8-info->start_bit); ++j) - *p_amr_bits++ = (pj_uint8_t) - ((*r >> (7-info->start_bit-j)) & 1); - ++r; - } - for(; j < framelenbit_tbl[info->frame_type]; j+=8, ++r) { - *p_amr_bits++ = (pj_uint8_t)((*r >> 7) & 1); - *p_amr_bits++ = (pj_uint8_t)((*r >> 6) & 1); - *p_amr_bits++ = (pj_uint8_t)((*r >> 5) & 1); - *p_amr_bits++ = (pj_uint8_t)((*r >> 4) & 1); - *p_amr_bits++ = (pj_uint8_t)((*r >> 3) & 1); - *p_amr_bits++ = (pj_uint8_t)((*r >> 2) & 1); - *p_amr_bits++ = (pj_uint8_t)((*r >> 1) & 1); - *p_amr_bits++ = (pj_uint8_t)((*r ) & 1); - } - - if (info->frame_type < SID_FT) { - - /* Speech */ - if (w_bitptr == 0) *w = 0; - - if (setting->reorder) { - const pj_int16_t *order_map; - - /* Put bits in the packet, sensitivity descending ordered */ - order_map = order_maps[info->frame_type]; - for(j = 0; j < framelenbit_tbl[info->frame_type]; ++j) { - if (amr_bits[order_map[j]]) - *w |= (1 << (7-w_bitptr)); - - if (++w_bitptr == 8) { - w_bitptr = 0; - ++w; - *w = 0; - } - } - } else { - for(j = 0; j < framelenbit_tbl[info->frame_type]; ++j) { - if (amr_bits[j]) - *w |= (1 << (7-w_bitptr)); - - if (++w_bitptr == 8) { - w_bitptr = 0; - ++w; - *w = 0; - } - } - } - - } else if (info->frame_type == SID_FT) { - - /* SID */ - amr_bits[35] |= info->STI; - - if (setting->amr_nb) { - amr_bits[36] = (pj_uint8_t)((info->mode >> 2) & 1); - amr_bits[37] = (pj_uint8_t)((info->mode >> 1) & 1); - amr_bits[38] = (pj_uint8_t)((info->mode) & 1); - } else { - amr_bits[36] = (pj_uint8_t)((info->mode >> 3) & 1); - amr_bits[37] = (pj_uint8_t)((info->mode >> 2) & 1); - amr_bits[38] = (pj_uint8_t)((info->mode >> 1) & 1); - amr_bits[39] = (pj_uint8_t)((info->mode) & 1); - } - - if (w_bitptr == 0) *w = 0; - for(j = 0; j < framelenbit_tbl[info->frame_type]; ++j) { - if (amr_bits[j]) - *w |= (1 << (7-w_bitptr)); - - if (++w_bitptr == 8) { - w_bitptr = 0; - ++w; - *w = 0; - } - } - } - - if (setting->octet_aligned) { - ++w; - w_bitptr = 0; - } - } - - *pkt_size = w - (pj_uint8_t*)pkt; - if (w_bitptr) - *pkt_size += 1; - - return PJ_SUCCESS; -} - - -/** - * Parse AMR payload into frames. - * - * @param pkt Payload. - * @param pkt_size Payload size. - * @param ts Base timestamp. - * @param setting Settings, see #pjmedia_codec_amr_pack_setting. - * @param frames Frames parsed. - * @param nframes Number of frames parsed. - * @param cmr Change Mode Request message for local encoder. - * - * @return PJ_SUCCESS on success. - */ -PJ_INLINE(pj_status_t) pjmedia_codec_amr_parse( - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *ts, - const pjmedia_codec_amr_pack_setting* setting, - pjmedia_frame frames[], - unsigned *nframes, - pj_uint8_t *cmr) -{ - unsigned cnt = 0; - pj_timestamp ts_ = *ts; - - /* Read cursor */ - pj_uint8_t r_bitptr = 0; - pj_uint8_t *r = (pj_uint8_t*)pkt; - - /* env vars for AMR or AMRWB */ - pj_uint8_t SID_FT; - const pj_uint8_t *framelen_tbl; - const pj_uint16_t *framelenbit_tbl; - const pj_int16_t* const *order_maps; - - /* frame info */ - pjmedia_codec_amr_bit_info *info; - - if (setting->amr_nb) { - SID_FT = 8; - framelen_tbl = pjmedia_codec_amrnb_framelen; - framelenbit_tbl = pjmedia_codec_amrnb_framelenbits; - order_maps = pjmedia_codec_amrnb_ordermaps; - } else { - SID_FT = 9; - framelen_tbl = pjmedia_codec_amrwb_framelen; - framelenbit_tbl = pjmedia_codec_amrwb_framelenbits; - order_maps = pjmedia_codec_amrwb_ordermaps; - } - - PJ_UNUSED_ARG(pkt_size); - - /* Code Mode Request, 4 bits */ - *cmr = (pj_uint8_t)((*r >> 4) & 0x0F); - r_bitptr = 4; - if (setting->octet_aligned) { - ++r; - r_bitptr = 0; - } - - /* Table Of Contents, 6 bits each */ - for (;;) { - pj_uint8_t TOC = 0; - pj_uint8_t F, FT, Q; - - if (r_bitptr == 0) { - TOC = (pj_uint8_t)(*r >> 2); - r_bitptr = 6; - } else if (r_bitptr == 2) { - TOC = (pj_uint8_t)(*r++ & 0x3F); - r_bitptr = 0; - } else if (r_bitptr == 4) { - TOC = (pj_uint8_t)((*r++ & 0x0f) << 2); - TOC |= *r >> 6; - r_bitptr = 2; - } else if (r_bitptr == 6) { - TOC = (pj_uint8_t)((*r++ & 0x03) << 4); - TOC |= *r >> 4; - r_bitptr = 4; - } - - F = (pj_uint8_t)(TOC >> 5); - FT = (pj_uint8_t)((TOC >> 1) & 0x0F); - Q = (pj_uint8_t)(TOC & 1); - - if (FT > SID_FT && FT < 14) { - pj_assert(!"Invalid AMR frametype, stream may be corrupted!"); - break; - } - - if (setting->octet_aligned) { - ++r; - r_bitptr = 0; - } - - /* Set frame attributes */ - info = (pjmedia_codec_amr_bit_info*) &frames[cnt].bit_info; - info->frame_type = FT; - info->mode = (pj_int8_t)((FT < SID_FT)? FT : -1); - info->good_quality = (pj_uint8_t)(Q == 1); - info->start_bit = 0; - info->STI = 0; - frames[cnt].timestamp = ts_; - frames[cnt].type = PJMEDIA_FRAME_TYPE_AUDIO; - - /* AMR frame length is 20ms */ - ts_.u64 += setting->amr_nb? 160 : 320; - - if (++cnt == *nframes || !F) - break; - } - *nframes = cnt; - - cnt = 0; - - /* Speech frames */ - while (cnt < *nframes) { - pj_uint8_t FT; - - info = (pjmedia_codec_amr_bit_info*) &frames[cnt].bit_info; - FT = info->frame_type; - - frames[cnt].buf = r; - info->start_bit = r_bitptr; - - if (FT == SID_FT) { - unsigned sti_bitptr; - sti_bitptr = r_bitptr + 35; - info->STI = (pj_uint8_t) - (r[sti_bitptr >> 3] >> (7 - (sti_bitptr % 8))) & 1; - } - - if (setting->octet_aligned) { - r += framelen_tbl[FT]; - frames[cnt].size = framelen_tbl[FT]; - } else { - if (FT == 14 || FT == 15) { - /* NO DATA */ - frames[cnt].size = 0; - } else { - unsigned adv_bit; - - adv_bit = framelenbit_tbl[FT] + r_bitptr; - r += adv_bit >> 3; - r_bitptr = (pj_uint8_t)(adv_bit % 8); - - frames[cnt].size = adv_bit >> 3; - if (r_bitptr) - ++frames[cnt].size; - } - } - ++cnt; - } - - return PJ_SUCCESS; -} - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJMEDIA_CODECS_AMR_HELPER_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia-codec/amr_sdp_match.h b/res/pjproject/pjmedia/include/pjmedia-codec/amr_sdp_match.h deleted file mode 100644 index 73e5ecd7bd..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-codec/amr_sdp_match.h +++ /dev/null @@ -1,61 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CODEC_AMR_SDP_MATCH_H__ -#define __PJMEDIA_CODEC_AMR_SDP_MATCH_H__ - - -/** - * @file g7221_sdp_match.h - * @brief Special SDP format match for AMR-NB and AMR-WB. - */ - -#include - -PJ_BEGIN_DECL - - -/* Match AMR-NB and AMR-WB format in the SDP media offer and answer. This - * function will match some AMR settings in the SDP format parameters, i.e: - * octet-align, crc, robust-sorting, interleaving. Note that, for answerer, - * if octet-align mode needs to be adaptable to offerer setting, application - * should set #PJMEDIA_SDP_NEG_FMT_MATCH_ALLOW_MODIFY_ANSWER in the option. - * - * @param pool The memory pool. - * @param offer The SDP media offer. - * @param o_fmt_idx Index of the AMR format in the SDP media offer. - * @param answer The SDP media answer. - * @param a_fmt_idx Index of the AMR format in the SDP media answer. - * @param option The format matching option, see - * #pjmedia_sdp_neg_fmt_match_flag. - * - * @return PJ_SUCCESS when the formats in offer and answer match. - */ -PJ_DECL(pj_status_t) pjmedia_codec_amr_match_sdp( pj_pool_t *pool, - pjmedia_sdp_media *offer, - unsigned o_fmt_idx, - pjmedia_sdp_media *answer, - unsigned a_fmt_idx, - unsigned option); - - -PJ_END_DECL - - -#endif /* __PJMEDIA_CODEC_AMR_SDP_MATCH_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia-codec/audio_codecs.h b/res/pjproject/pjmedia/include/pjmedia-codec/audio_codecs.h deleted file mode 100644 index e74bd3c920..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-codec/audio_codecs.h +++ /dev/null @@ -1,98 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CODEC_ALL_CODECS_H__ -#define __PJMEDIA_CODEC_ALL_CODECS_H__ - -/** - * @file pjmedia-codec/all_codecs.h - * @brief Helper function to register all codecs - */ -#include -#include - - -PJ_BEGIN_DECL - -/** - * @defgroup PJMEDIA_CODEC_REGISTER_ALL Codec registration helper - * @ingroup PJMEDIA_CODEC_CODECS - * @brief Helper function to register all codecs - * @{ - * - * Helper function to register all codecs that are implemented in - * PJMEDIA-CODEC library. - */ - -/** - * Codec configuration. Call #pjmedia_audio_codec_config_default() to initialize - * this structure with the default values. - */ -typedef struct pjmedia_audio_codec_config -{ - /** Speex codec settings. See #pjmedia_codec_speex_init() for more info */ - struct { - unsigned option; /**< Bitmask of options. */ - int quality; /**< Codec quality. */ - int complexity; /**< Codec complexity. */ - } speex; - - /** iLBC settings */ - struct { - unsigned mode; /**< iLBC mode. */ - } ilbc; - - /** Passthrough */ - struct { - pjmedia_codec_passthrough_setting setting; /**< Passthrough */ - } passthrough; - -} pjmedia_audio_codec_config; - - -/** - * Initialize pjmedia_audio_codec_config structure with default values. - * - * @param cfg The codec config to be initialized. - */ -PJ_DECL(void) -pjmedia_audio_codec_config_default(pjmedia_audio_codec_config *cfg); - -/** - * Register all known audio codecs implemented in PJMEDA-CODEC library to the - * specified media endpoint. - * - * @param endpt The media endpoint. - * @param c Optional codec configuration, or NULL to use default - * values. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) -pjmedia_codec_register_audio_codecs(pjmedia_endpt *endpt, - const pjmedia_audio_codec_config *c); - - -/** - * @} PJMEDIA_CODEC_REGISTER_ALL - */ - - -PJ_END_DECL - -#endif /* __PJMEDIA_CODEC_ALL_CODECS_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia-codec/config.h b/res/pjproject/pjmedia/include/pjmedia-codec/config.h deleted file mode 100644 index 99b1d910f3..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-codec/config.h +++ /dev/null @@ -1,423 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CODEC_CONFIG_H__ -#define __PJMEDIA_CODEC_CONFIG_H__ - -/** - * @file config.h - * @brief PJMEDIA-CODEC compile time settings - */ - -/** - * @defgroup pjmedia_codec_config PJMEDIA-CODEC Compile Time Settings - * @ingroup PJMEDIA_CODEC - * @brief Various compile time settings such as to enable/disable codecs - * @{ - */ - -#include - -/* - * Include config_auto.h if autoconf is used (PJ_AUTOCONF is set) - */ -#if defined(PJ_AUTOCONF) -# include -#endif - - -/** - * Unless specified otherwise, L16 codec is included by default. - */ -#ifndef PJMEDIA_HAS_L16_CODEC -# define PJMEDIA_HAS_L16_CODEC 1 -#endif - - -/** - * Unless specified otherwise, GSM codec is included by default. - */ -#ifndef PJMEDIA_HAS_GSM_CODEC -# define PJMEDIA_HAS_GSM_CODEC 1 -#endif - - -/** - * Unless specified otherwise, Speex codec is included by default. - */ -#ifndef PJMEDIA_HAS_SPEEX_CODEC -# define PJMEDIA_HAS_SPEEX_CODEC 1 -#endif - -/** - * Speex codec default complexity setting. - */ -#ifndef PJMEDIA_CODEC_SPEEX_DEFAULT_COMPLEXITY -# define PJMEDIA_CODEC_SPEEX_DEFAULT_COMPLEXITY 2 -#endif - -/** - * Speex codec default quality setting. Please note that pjsua-lib may override - * this setting via its codec quality setting (i.e PJSUA_DEFAULT_CODEC_QUALITY). - */ -#ifndef PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY -# define PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY 8 -#endif - - -/** - * Unless specified otherwise, iLBC codec is included by default. - */ -#ifndef PJMEDIA_HAS_ILBC_CODEC -# define PJMEDIA_HAS_ILBC_CODEC 1 -#endif - - -/** - * Unless specified otherwise, G.722 codec is included by default. - */ -#ifndef PJMEDIA_HAS_G722_CODEC -# define PJMEDIA_HAS_G722_CODEC 1 -#endif - - -/** - * Default G.722 codec encoder and decoder level adjustment. The G.722 - * specifies that it uses 14 bit PCM for input and output, while PJMEDIA - * normally uses 16 bit PCM, so the conversion is done by applying - * level adjustment. If the value is non-zero, then PCM input samples to - * the encoder will be shifted right by this value, and similarly PCM - * output samples from the decoder will be shifted left by this value. - * - * This can be changed at run-time after initialization by calling - * #pjmedia_codec_g722_set_pcm_shift(). - * - * Default: 2. - */ -#ifndef PJMEDIA_G722_DEFAULT_PCM_SHIFT -# define PJMEDIA_G722_DEFAULT_PCM_SHIFT 2 -#endif - - -/** - * Specifies whether G.722 PCM shifting should be stopped when clipping - * detected in the decoder. Enabling this feature can be useful when - * talking to G.722 implementation that uses 16 bit PCM for G.722 input/ - * output (for any reason it seems to work) and the PCM shifting causes - * audio clipping. - * - * See also #PJMEDIA_G722_DEFAULT_PCM_SHIFT. - * - * Default: enabled. - */ -#ifndef PJMEDIA_G722_STOP_PCM_SHIFT_ON_CLIPPING -# define PJMEDIA_G722_STOP_PCM_SHIFT_ON_CLIPPING 1 -#endif - - -/** - * Enable the features provided by Intel IPP libraries, for example - * codecs such as G.729, G.723.1, G.726, G.728, G.722.1, and AMR. - * - * By default this is disabled. Please follow the instructions in - * http://trac.pjsip.org/repos/wiki/Intel_IPP_Codecs on how to setup - * Intel IPP with PJMEDIA. - */ -#ifndef PJMEDIA_HAS_INTEL_IPP -# define PJMEDIA_HAS_INTEL_IPP 0 -#endif - - -/** - * Visual Studio only: when this option is set, the Intel IPP libraries - * will be automatically linked to application using pragma(comment) - * constructs. This is convenient, however it will only link with - * the stub libraries and the Intel IPP DLL's will be required when - * distributing the application. - * - * If application wants to link with the different types of the Intel IPP - * libraries (for example, the static libraries), it must set this option - * to zero and specify the Intel IPP libraries in the application's input - * library specification manually. - * - * Default 1. - */ -#ifndef PJMEDIA_AUTO_LINK_IPP_LIBS -# define PJMEDIA_AUTO_LINK_IPP_LIBS 1 -#endif - - -/** - * Enable Intel IPP AMR codec. This also needs to be enabled when AMR WB - * codec is enabled. This option is only used when PJMEDIA_HAS_INTEL_IPP - * is enabled. - * - * Default: 1 - */ -#ifndef PJMEDIA_HAS_INTEL_IPP_CODEC_AMR -# define PJMEDIA_HAS_INTEL_IPP_CODEC_AMR 1 -#endif - - -/** - * Enable Intel IPP AMR wideband codec. The PJMEDIA_HAS_INTEL_IPP_CODEC_AMR - * option must also be enabled to use this codec. This option is only used - * when PJMEDIA_HAS_INTEL_IPP is enabled. - * - * Default: 1 - */ -#ifndef PJMEDIA_HAS_INTEL_IPP_CODEC_AMRWB -# define PJMEDIA_HAS_INTEL_IPP_CODEC_AMRWB 1 -#endif - - -/** - * Enable Intel IPP G.729 codec. This option is only used when - * PJMEDIA_HAS_INTEL_IPP is enabled. - * - * Default: 1 - */ -#ifndef PJMEDIA_HAS_INTEL_IPP_CODEC_G729 -# define PJMEDIA_HAS_INTEL_IPP_CODEC_G729 1 -#endif - - -/** - * Enable Intel IPP G.723.1 codec. This option is only used when - * PJMEDIA_HAS_INTEL_IPP is enabled. - * - * Default: 1 - */ -#ifndef PJMEDIA_HAS_INTEL_IPP_CODEC_G723_1 -# define PJMEDIA_HAS_INTEL_IPP_CODEC_G723_1 1 -#endif - - -/** - * Enable Intel IPP G.726 codec. This option is only used when - * PJMEDIA_HAS_INTEL_IPP is enabled. - * - * Default: 1 - */ -#ifndef PJMEDIA_HAS_INTEL_IPP_CODEC_G726 -# define PJMEDIA_HAS_INTEL_IPP_CODEC_G726 1 -#endif - - -/** - * Enable Intel IPP G.728 codec. This option is only used when - * PJMEDIA_HAS_INTEL_IPP is enabled. - * - * Default: 1 - */ -#ifndef PJMEDIA_HAS_INTEL_IPP_CODEC_G728 -# define PJMEDIA_HAS_INTEL_IPP_CODEC_G728 1 -#endif - - -/** - * Enable Intel IPP G.722.1 codec. This option is only used when - * PJMEDIA_HAS_INTEL_IPP is enabled. - * - * Default: 1 - */ -#ifndef PJMEDIA_HAS_INTEL_IPP_CODEC_G722_1 -# define PJMEDIA_HAS_INTEL_IPP_CODEC_G722_1 1 -#endif - -/** - * Enable Passthrough codecs. - * - * Default: 0 - */ -#ifndef PJMEDIA_HAS_PASSTHROUGH_CODECS -# define PJMEDIA_HAS_PASSTHROUGH_CODECS 0 -#endif - -/** - * Enable AMR passthrough codec. - * - * Default: 1 - */ -#ifndef PJMEDIA_HAS_PASSTHROUGH_CODEC_AMR -# define PJMEDIA_HAS_PASSTHROUGH_CODEC_AMR 1 -#endif - -/** - * Enable G.729 passthrough codec. - * - * Default: 1 - */ -#ifndef PJMEDIA_HAS_PASSTHROUGH_CODEC_G729 -# define PJMEDIA_HAS_PASSTHROUGH_CODEC_G729 1 -#endif - -/** - * Enable iLBC passthrough codec. - * - * Default: 1 - */ -#ifndef PJMEDIA_HAS_PASSTHROUGH_CODEC_ILBC -# define PJMEDIA_HAS_PASSTHROUGH_CODEC_ILBC 1 -#endif - -/** - * Enable PCMU passthrough codec. - * - * Default: 1 - */ -#ifndef PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMU -# define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMU 1 -#endif - -/** - * Enable PCMA passthrough codec. - * - * Default: 1 - */ -#ifndef PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMA -# define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMA 1 -#endif - -/* If passthrough and PCMU/PCMA are enabled, disable the software - * G.711 codec - */ -#if PJMEDIA_HAS_PASSTHROUGH_CODECS && \ - (PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMU || PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMA) -# undef PJMEDIA_HAS_G711_CODEC -# define PJMEDIA_HAS_G711_CODEC 0 -#endif - - -/** - * G.722.1 codec is disabled by default. - */ -#ifndef PJMEDIA_HAS_G7221_CODEC -# define PJMEDIA_HAS_G7221_CODEC 0 -#endif - -/** - * Enable OpenCORE AMR-NB codec. - * See https://trac.pjsip.org/repos/ticket/1388 for some info. - * - * Default: 0 - */ -#ifndef PJMEDIA_HAS_OPENCORE_AMRNB_CODEC -# define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 0 -#endif - -/** - * Link with libopencore-amrXX via pragma comment on Visual Studio. - * This option only makes sense if PJMEDIA_HAS_OPENCORE_AMRNB_CODEC - * is enabled. - * - * Default: 1 - */ -#ifndef PJMEDIA_AUTO_LINK_OPENCORE_AMR_LIBS -# define PJMEDIA_AUTO_LINK_OPENCORE_AMR_LIBS 1 -#endif - -/** - * Link with libopencore-amrXX.a that has been produced with gcc. - * This option only makes sense if PJMEDIA_HAS_OPENCORE_AMRNB_CODEC - * and PJMEDIA_AUTO_LINK_OPENCORE_AMR_LIBS are enabled. - * - * Default: 1 - */ -#ifndef PJMEDIA_OPENCORE_AMR_BUILT_WITH_GCC -# define PJMEDIA_OPENCORE_AMR_BUILT_WITH_GCC 1 -#endif - - -/** - * Default G.722.1 codec encoder and decoder level adjustment. - * If the value is non-zero, then PCM input samples to the encoder will - * be shifted right by this value, and similarly PCM output samples from - * the decoder will be shifted left by this value. - * - * This can be changed at run-time after initialization by calling - * #pjmedia_codec_g7221_set_pcm_shift(). - */ -#ifndef PJMEDIA_G7221_DEFAULT_PCM_SHIFT -# define PJMEDIA_G7221_DEFAULT_PCM_SHIFT 1 -#endif - - -/** - * Enabling both G.722.1 codec implementations, internal PJMEDIA and IPP, - * may cause problem in SDP, i.e: payload types duplications. So, let's - * just trap such case here at compile time. - * - * Application can control which implementation to be used by manipulating - * PJMEDIA_HAS_G7221_CODEC and PJMEDIA_HAS_INTEL_IPP_CODEC_G722_1 in - * config_site.h. - */ -#if (PJMEDIA_HAS_G7221_CODEC != 0) && (PJMEDIA_HAS_INTEL_IPP != 0) && \ - (PJMEDIA_HAS_INTEL_IPP_CODEC_G722_1 != 0) -# error Only one G.722.1 implementation can be enabled at the same time. \ - Please use PJMEDIA_HAS_G7221_CODEC and \ - PJMEDIA_HAS_INTEL_IPP_CODEC_G722_1 in your config_site.h \ - to control which implementation to be used. -#endif - - -/** - * Specify if FFMPEG codecs are available. - * - * Default: PJMEDIA_HAS_LIBAVCODEC - */ -#ifndef PJMEDIA_HAS_FFMPEG_CODEC -# define PJMEDIA_HAS_FFMPEG_CODEC PJMEDIA_HAS_LIBAVCODEC -#endif - - -/** - * Specify if FFMPEG video codecs are available. - * - * Default: PJMEDIA_HAS_FFMPEG_CODEC - */ -#ifndef PJMEDIA_HAS_FFMPEG_VID_CODEC -# define PJMEDIA_HAS_FFMPEG_VID_CODEC PJMEDIA_HAS_FFMPEG_CODEC -#endif - -/** - * Enable FFMPEG H263+/H263-1998 codec. - * - * Default: 1 - */ -#ifndef PJMEDIA_HAS_FFMPEG_CODEC_H263P -# define PJMEDIA_HAS_FFMPEG_CODEC_H263P PJMEDIA_HAS_FFMPEG_VID_CODEC -#endif - -/** - * Enable FFMPEG H264 codec (requires libx264). - * - * Default: 0 - */ -#ifndef PJMEDIA_HAS_FFMPEG_CODEC_H264 -# define PJMEDIA_HAS_FFMPEG_CODEC_H264 PJMEDIA_HAS_FFMPEG_VID_CODEC -#endif - -/** - * @} - */ - - - -#endif /* __PJMEDIA_CODEC_CONFIG_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia-codec/config_auto.h.in b/res/pjproject/pjmedia/include/pjmedia-codec/config_auto.h.in deleted file mode 100644 index c469d795ed..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-codec/config_auto.h.in +++ /dev/null @@ -1,80 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CODEC_CONFIG_AUTO_H_ -#define __PJMEDIA_CODEC_CONFIG_AUTO_H_ - -/** - * @file config_auto.h - * @brief PJMEDIA-CODEC configuration as set by autoconf script - */ - -/* - * Note: - * The configuration in config_site.h overrides any other settings, - * including the setting as detected by autoconf. - */ - -/* L16 codec */ -#ifndef PJMEDIA_HAS_L16_CODEC -#undef PJMEDIA_HAS_L16_CODEC -#endif - - -/* GSM codec */ -#ifndef PJMEDIA_HAS_GSM_CODEC -#undef PJMEDIA_HAS_GSM_CODEC -#endif - -#undef PJMEDIA_EXTERNAL_GSM_CODEC -#undef PJMEDIA_EXTERNAL_GSM_GSM_H -#undef PJMEDIA_EXTERNAL_GSM_H - -/* Speex codec */ -#ifndef PJMEDIA_HAS_SPEEX_CODEC -#undef PJMEDIA_HAS_SPEEX_CODEC -#endif - -#undef PJMEDIA_EXTERNAL_SPEEX_CODEC - -/* iLBC codec */ -#ifndef PJMEDIA_HAS_ILBC_CODEC -#undef PJMEDIA_HAS_ILBC_CODEC -#endif - - -/* G722 codec */ -#ifndef PJMEDIA_HAS_G722_CODEC -#undef PJMEDIA_HAS_G722_CODEC -#endif - -/* G7221 codec */ -#ifndef PJMEDIA_HAS_G7221_CODEC -#undef PJMEDIA_HAS_G7221_CODEC -#endif - -/* OpenCORE AMR-NB codec */ -#ifndef PJMEDIA_HAS_OPENCORE_AMRNB_CODEC -#undef PJMEDIA_HAS_OPENCORE_AMRNB_CODEC -#endif - - -#endif /* __PJMEDIA_CODEC_CONFIG_AUTO_H_ */ - - diff --git a/res/pjproject/pjmedia/include/pjmedia-codec/ffmpeg_vid_codecs.h b/res/pjproject/pjmedia/include/pjmedia-codec/ffmpeg_vid_codecs.h deleted file mode 100644 index b27da310ab..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-codec/ffmpeg_vid_codecs.h +++ /dev/null @@ -1,67 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CODECS_FFMPEG_VID_H__ -#define __PJMEDIA_CODECS_FFMPEG_VID_H__ - - -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJMEDIA_CODEC_VID_FFMPEG FFmpeg Codecs - * @ingroup PJMEDIA_CODEC_VID_CODECS - * @{ - */ - -/** - * Initialize and register FFMPEG video codecs factory to pjmedia endpoint. - * - * @param mgr The video codec manager instance where this codec will - * be registered to. Specify NULL to use default instance - * (in that case, an instance of video codec manager must - * have been created beforehand). - * @param pf Pool factory. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_ffmpeg_vid_init(pjmedia_vid_codec_mgr *mgr, - pj_pool_factory *pf); - - -/** - * Unregister FFMPEG video codecs factory from the video codec manager and - * deinitialize the codecs library. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_ffmpeg_vid_deinit(void); - - -PJ_END_DECL - - -/** - * @} - */ - -#endif /* __PJMEDIA_CODECS_FFMPEG_VID_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia-codec/g722.h b/res/pjproject/pjmedia/include/pjmedia-codec/g722.h deleted file mode 100644 index 91cf98a356..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-codec/g722.h +++ /dev/null @@ -1,104 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CODEC_G722_H__ -#define __PJMEDIA_CODEC_G722_H__ - -/** - * @file pjmedia-codec/g722.h - * @brief G.722 codec. - */ - -#include - -/** - * @defgroup PJMED_G722 G.722 Codec - * @ingroup PJMEDIA_CODEC_CODECS - * @brief Implementation of G.722 Codec - * @{ - * - * This section describes functions to initialize and register G.722 codec - * factory to the codec manager. After the codec factory has been registered, - * application can use @ref PJMEDIA_CODEC API to manipulate the codec. - * - * The G.722 implementation uses 16-bit PCM with sampling rate 16000Hz and - * 20ms frame length resulting in 64kbps bitrate. - * - * The G.722 codec implementation is provided as part of pjmedia-codec - * library, and does not depend on external G.722 codec implementation. - * - * \section codec_setting Codec Settings - * - * \subsection general_setting General Settings - * - * General codec settings for this codec such as VAD and PLC can be - * manipulated through the setting field in #pjmedia_codec_param. - * Please see the documentation of #pjmedia_codec_param for more info. - * - * \subsection specific_setting Codec Specific Settings - * - * Currently none. - */ - -PJ_BEGIN_DECL - - -/** - * Initialize and register G.722 codec factory to pjmedia endpoint. - * - * @param endpt The pjmedia endpoint. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_g722_init(pjmedia_endpt *endpt); - - -/** - * Unregister G.722 codec factory from pjmedia endpoint and cleanup - * resources allocated by the factory. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_g722_deinit(void); - - -/** - * Set the G.722 codec encoder and decoder level adjustment. - * If the value is non-zero, then PCM input samples to the encoder will - * be shifted right by this value, and similarly PCM output samples from - * the decoder will be shifted left by this value. - * - * Default value is PJMEDIA_G722_DEFAULT_PCM_SHIFT. - * - * @param val The value - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_g722_set_pcm_shift(unsigned val); - - -PJ_END_DECL - - -/** - * @} - */ - -#endif /* __PJMEDIA_CODEC_G722_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia-codec/g7221.h b/res/pjproject/pjmedia/include/pjmedia-codec/g7221.h deleted file mode 100644 index 16a5e03858..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-codec/g7221.h +++ /dev/null @@ -1,162 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CODECS_G7221_H__ -#define __PJMEDIA_CODECS_G7221_H__ - -/** - * @file pjmedia-codec/g7221.h - * @brief G722.1 codec. - */ - -#include - -/** - * @defgroup PJMED_G7221_CODEC G.722.1 Codec (Siren7/Siren14) - * @ingroup PJMEDIA_CODEC_CODECS - * @brief Implementation of G.722.1 codec - * @{ - * - * G.722.1 licensed from Polycom®
- * G.722.1 Annex C licensed from Polycom® - * - * This section describes functions to initialize and register G.722.1 codec - * factory to the codec manager. After the codec factory has been registered, - * application can use @ref PJMEDIA_CODEC API to manipulate the codec. - * - * PJMEDIA G722.1 codec implementation is based on ITU-T Recommendation - * G.722.1 (05/2005) C fixed point implementation including its Annex C. - * - * G.722.1 is a low complexity codec that supports 7kHz and 14kHz audio - * bandwidth working at bitrates ranging from 16kbps to 48kbps. It may be - * used with speech or music inputs. - * - * - * \section codec_setting Codec Settings - * - * \subsection general_setting General Settings - * - * General codec settings for this codec such as VAD and PLC can be - * manipulated through the setting field in #pjmedia_codec_param. - * Please see the documentation of #pjmedia_codec_param for more info. - * - * \subsection specific_setting Codec Specific Settings - * - * The following settings are applicable for this codec. - * - * \subsubsection bitrate Bitrate - * - * The codec implementation supports standard and non-standard bitrates. - * Use #pjmedia_codec_g7221_set_mode() to enable or disable the bitrates. - * - * By default, only standard bitrates are enabled upon initialization: - * - for 7kHz audio bandwidth (16kHz sampling rate): 24kbps and 32kbps, - * - for 14kHz audio bandwidth (32kHz sampling rate): 24kbps, 32kbps, and - * 48kbps. - * - * The usage of non-standard bitrates must follow these requirements: - * - for 7kHz audio bandwidth (16kHz sampling rate): 16000 to 32000 bps, - * multiplication of 400 - * - for 14kHz audio bandwidth (32kHz sampling rate): 24000 to 48000 bps, - * multiplication of 400 - * - * \note - * Currently only up to two non-standard modes can be enabled. - * - * \remark - * There is a flaw in the codec manager as currently it could not - * differentiate G.722.1 codecs by bitrates, hence invoking - * #pjmedia_codec_mgr_set_default_param() may only affect a G.722.1 codec - * with the highest priority (or first index found in codec enumeration - * when they have same priority) and invoking - * #pjmedia_codec_mgr_set_codec_priority() will set priority of all G.722.1 - * codecs with sampling rate as specified. - */ - -PJ_BEGIN_DECL - -/** - * Initialize and register G.722.1 codec factory to pjmedia endpoint. - * - * @param endpt The pjmedia endpoint. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_g7221_init( pjmedia_endpt *endpt ); - - -/** - * Enable and disable G.722.1 mode. By default, the standard modes are - * enabled upon initialization, i.e.: - * - sampling rate 16kHz, bitrate 24kbps and 32kbps. - * - sampling rate 32kHz, bitrate 24kbps, 32kbps, and 48kbps. - * This function can also be used for enabling non-standard modes. - * Note that currently only up to two non-standard modes can be enabled - * at one time. - * - * @param sample_rate PCM sampling rate, in Hz, valid values are only - * 16000 and 32000. - * @param bitrate G722.1 bitrate, in bps, the valid values are - * standard and non-standard bitrates as described - * above. - * @param enabled PJ_TRUE for enabling specified mode. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_g7221_set_mode(unsigned sample_rate, - unsigned bitrate, - pj_bool_t enabled); - -/** - * Set the G.722.1 codec encoder and decoder level adjustment. - * If the value is non-zero, then PCM input samples to the encoder will - * be shifted right by this value, and similarly PCM output samples from - * the decoder will be shifted left by this value. - * - * \note - * This function is also applicable for G722.1 implementation with IPP - * back-end. - * - * Default value is PJMEDIA_G7221_DEFAULT_PCM_SHIFT. - * - * @param val The value - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_g7221_set_pcm_shift(int val); - - - -/** - * Unregister G.722.1 codecs factory from pjmedia endpoint. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_g7221_deinit(void); - - -PJ_END_DECL - - -/** - * @} - */ - -#endif /* __PJMEDIA_CODECS_G7221_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia-codec/g7221_sdp_match.h b/res/pjproject/pjmedia/include/pjmedia-codec/g7221_sdp_match.h deleted file mode 100644 index a4dca0bd9a..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-codec/g7221_sdp_match.h +++ /dev/null @@ -1,59 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CODEC_G7221_SDP_MATCH_H__ -#define __PJMEDIA_CODEC_G7221_SDP_MATCH_H__ - - -/** - * @file g7221_sdp_match.h - * @brief Special SDP format match for G722.1. - */ - -#include - -PJ_BEGIN_DECL - -/** - * Match G.722.1 format in the SDP media offer and answer. This function - * will match G.722.1 bitrate setting in the SDP format parameter of - * offer and answer. - * - * @param pool The memory pool. - * @param offer The SDP media offer. - * @param o_fmt_idx Index of the G.722.1 format in the SDP media offer. - * @param answer The SDP media answer. - * @param a_fmt_idx Index of the G.722.1 format in the SDP media answer. - * @param option The format matching option, see - * #pjmedia_sdp_neg_fmt_match_flag. - * - * @return PJ_SUCCESS when the formats in offer and answer match. - */ -PJ_DECL(pj_status_t) pjmedia_codec_g7221_match_sdp( pj_pool_t *pool, - pjmedia_sdp_media *offer, - unsigned o_fmt_idx, - pjmedia_sdp_media *answer, - unsigned a_fmt_idx, - unsigned option); - - -PJ_END_DECL - - -#endif /* __PJMEDIA_CODEC_G7221_SDP_MATCH_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia-codec/gsm.h b/res/pjproject/pjmedia/include/pjmedia-codec/gsm.h deleted file mode 100644 index f66ad7b4e0..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-codec/gsm.h +++ /dev/null @@ -1,87 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CODEC_GSM_H__ -#define __PJMEDIA_CODEC_GSM_H__ - -/** - * @file pjmedia-codec/gsm.h - * @brief GSM 06.10 codec. - */ - -#include - -/** - * @defgroup PJMED_GSM GSM 06.10 Codec - * @ingroup PJMEDIA_CODEC_CODECS - * @brief Implementation of GSM FR based on GSM 06.10 library - * @{ - * - * This section describes functions to initialize and register GSM codec - * factory to the codec manager. After the codec factory has been registered, - * application can use @ref PJMEDIA_CODEC API to manipulate the codec. - * - * The GSM codec supports 16-bit PCM with sampling rate of 8000Hz resulting - * in 13.2kbps bitrate. - * - * \section codec_setting Codec Settings - * - * \subsection general_setting General Settings - * - * General codec settings for this codec such as VAD and PLC can be - * manipulated through the setting field in #pjmedia_codec_param. - * Please see the documentation of #pjmedia_codec_param for more info. - * - * \subsection specific_setting Codec Specific Settings - * - * Currently none. - */ - -PJ_BEGIN_DECL - - -/** - * Initialize and register GSM codec factory to pjmedia endpoint. - * - * @param endpt The pjmedia endpoint. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_gsm_init( pjmedia_endpt *endpt ); - - - -/** - * Unregister GSM codec factory from pjmedia endpoint and deinitialize - * the GSM codec library. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_gsm_deinit(void); - - -PJ_END_DECL - - -/** - * @} - */ - -#endif /* __PJMEDIA_CODEC_GSM_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia-codec/h263_packetizer.h b/res/pjproject/pjmedia/include/pjmedia-codec/h263_packetizer.h deleted file mode 100644 index 1bf7009be4..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-codec/h263_packetizer.h +++ /dev/null @@ -1,146 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_H263_PACKETIZER_H__ -#define __PJMEDIA_H263_PACKETIZER_H__ - - -/** - * @file h263_packetizer.h - * @brief Packetizes/unpacketizes H.263 bitstream into RTP payload. - */ - -#include -#include - -PJ_BEGIN_DECL - - -/** - * Opaque declaration for H.263 packetizer. - */ -typedef struct pjmedia_h263_packetizer pjmedia_h263_packetizer; - - -/** - * Enumeration of H.263 packetization modes. - */ -typedef enum -{ - /** - * H.263 RTP packetization using RFC 4629. - */ - PJMEDIA_H263_PACKETIZER_MODE_RFC4629, - - /** - * H.263 RTP packetization using legacy RFC 2190. - * This is currently not supported. - */ - PJMEDIA_H263_PACKETIZER_MODE_RFC2190, - -} pjmedia_h263_packetizer_mode; - - -/** - * H.263 packetizer configuration. - */ -typedef struct pjmedia_h263_packetizer_cfg -{ - /** - * Maximum payload length. - * Default: PJMEDIA_MAX_MTU - */ - int mtu; - - /** - * Packetization mode. - * Default: PJMEDIA_H263_PACKETIZER_MODE_RFC4629 - */ - pjmedia_h263_packetizer_mode mode; - -} pjmedia_h263_packetizer_cfg; - - -/** - * Create H.263 packetizer. - * - * @param pool The memory pool. - * @param cfg Packetizer settings, if NULL, default setting - * will be used. - * @param p_pktz Pointer to receive the packetizer. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_h263_packetizer_create( - pj_pool_t *pool, - const pjmedia_h263_packetizer_cfg *cfg, - pjmedia_h263_packetizer **p_pktz); - - -/** - * Generate an RTP payload from a H.263 picture bitstream. Note that this - * function will apply in-place processing, so the bitstream may be modified - * during the packetization. - * - * @param pktz The packetizer. - * @param bits The picture bitstream to be packetized. - * @param bits_len The length of the bitstream. - * @param bits_pos The bitstream offset to be packetized. - * @param payload The output payload. - * @param payload_len The output payload length. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_h263_packetize(pjmedia_h263_packetizer *pktz, - pj_uint8_t *bits, - pj_size_t bits_len, - unsigned *bits_pos, - const pj_uint8_t **payload, - pj_size_t *payload_len); - - -/** - * Append an RTP payload to an H.263 picture bitstream. Note that in case of - * noticing packet lost, application should keep calling this function with - * payload pointer set to NULL, as the packetizer need to update its internal - * state. - * - * @param pktz The packetizer. - * @param payload The payload to be unpacketized. - * @param payload_len The payload length. - * @param bits The bitstream buffer. - * @param bits_size The bitstream buffer size. - * @param bits_pos The bitstream offset to put the unpacketized payload - * in the bitstream, upon return, this will be updated - * to the latest offset as a result of the unpacketized - * payload. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_h263_unpacketize(pjmedia_h263_packetizer *pktz, - const pj_uint8_t *payload, - pj_size_t payload_len, - pj_uint8_t *bits, - pj_size_t bits_size, - unsigned *bits_pos); - - -PJ_END_DECL - - -#endif /* __PJMEDIA_H263_PACKETIZER_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia-codec/h264_packetizer.h b/res/pjproject/pjmedia/include/pjmedia-codec/h264_packetizer.h deleted file mode 100644 index a676a04b8a..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-codec/h264_packetizer.h +++ /dev/null @@ -1,157 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_H264_PACKETIZER_H__ -#define __PJMEDIA_H264_PACKETIZER_H__ - -/** - * @file h264_packetizer.h - * @brief Packetizes H.264 bitstream into RTP payload and vice versa. - */ - -#include - -PJ_BEGIN_DECL - -/** - * Opaque declaration for H.264 packetizer. - */ -typedef struct pjmedia_h264_packetizer pjmedia_h264_packetizer; - - -/** - * Enumeration of H.264 packetization modes. - */ -typedef enum -{ - /** - * Single NAL unit packetization mode will only generate payloads - * containing a complete single NAL unit packet. As H.264 NAL unit - * size can be very large, this mode is usually not applicable for - * network environments with MTU size limitation. - */ - PJMEDIA_H264_PACKETIZER_MODE_SINGLE_NAL, - - /** - * Non-interleaved packetization mode will generate payloads with the - * following possible formats: - * - single NAL unit packets, - * - NAL units aggregation STAP-A packets, - * - fragmented NAL unit FU-A packets. - */ - PJMEDIA_H264_PACKETIZER_MODE_NON_INTERLEAVED, - - /** - * Interleaved packetization mode will generate payloads with the - * following possible formats: - * - single NAL unit packets, - * - NAL units aggregation STAP-A & STAP-B packets, - * - fragmented NAL unit FU-A & FU-B packets. - * This packetization mode is currently unsupported. - */ - PJMEDIA_H264_PACKETIZER_MODE_INTERLEAVED, -} pjmedia_h264_packetizer_mode; - - -/** - * H.264 packetizer setting. - */ -typedef struct pjmedia_h264_packetizer_cfg -{ - /** - * Maximum payload length. - * Default: PJMEDIA_MAX_MTU - */ - int mtu; - - /** - * Packetization mode. - * Default: PJMEDIA_H264_PACKETIZER_MODE_NON_INTERLEAVED - */ - pjmedia_h264_packetizer_mode mode; -} -pjmedia_h264_packetizer_cfg; - - -/** - * Create H.264 packetizer. - * - * @param pool The memory pool. - * @param cfg Packetizer settings, if NULL, default setting - * will be used. - * @param p_pktz Pointer to receive the packetizer. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_h264_packetizer_create( - pj_pool_t *pool, - const pjmedia_h264_packetizer_cfg *cfg, - pjmedia_h264_packetizer **p_pktz); - - -/** - * Generate an RTP payload from a H.264 picture bitstream. Note that this - * function will apply in-place processing, so the bitstream may be modified - * during the packetization. - * - * @param pktz The packetizer. - * @param bits The picture bitstream to be packetized. - * @param bits_len The length of the bitstream. - * @param bits_pos The bitstream offset to be packetized. - * @param payload The output payload. - * @param payload_len The output payload length. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_h264_packetize(pjmedia_h264_packetizer *pktz, - pj_uint8_t *bits, - pj_size_t bits_len, - unsigned *bits_pos, - const pj_uint8_t **payload, - pj_size_t *payload_len); - - -/** - * Append an RTP payload to an H.264 picture bitstream. Note that in case of - * noticing packet lost, application should keep calling this function with - * payload pointer set to NULL, as the packetizer need to update its internal - * state. - * - * @param pktz The packetizer. - * @param payload The payload to be unpacketized. - * @param payload_len The payload length. - * @param bits The bitstream buffer. - * @param bits_size The bitstream buffer size. - * @param bits_pos The bitstream offset to put the unpacketized payload - * in the bitstream, upon return, this will be updated - * to the latest offset as a result of the unpacketized - * payload. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_h264_unpacketize(pjmedia_h264_packetizer *pktz, - const pj_uint8_t *payload, - pj_size_t payload_len, - pj_uint8_t *bits, - pj_size_t bits_len, - unsigned *bits_pos); - - -PJ_END_DECL - -#endif /* __PJMEDIA_H264_PACKETIZER_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia-codec/ilbc.h b/res/pjproject/pjmedia/include/pjmedia-codec/ilbc.h deleted file mode 100644 index a0508ecec1..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-codec/ilbc.h +++ /dev/null @@ -1,119 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CODEC_ILBC_H__ -#define __PJMEDIA_CODEC_ILBC_H__ - -/** - * @file pjmedia-codec/ilbc.h - * @brief iLBC codec. - */ - -#include - -/** - * @defgroup PJMED_ILBC iLBC Codec - * @ingroup PJMEDIA_CODEC_CODECS - * @brief Implementation of iLBC Codec - * @{ - * - * This section describes functions to initialize and register iLBC codec - * factory to the codec manager. After the codec factory has been registered, - * application can use @ref PJMEDIA_CODEC API to manipulate the codec. - * - * The iLBC codec is developed by Global IP Solutions (GIPS), formerly - * Global IP Sound. The iLBC offers low bitrate and graceful audio quality - * degradation on frame losses. - * - * The iLBC codec supports 16-bit PCM audio signal with sampling rate of - * 8000Hz operating at two modes: 20ms and 30ms frame length modes, resulting - * in bitrates of 15.2kbps for 20ms mode and 13.33kbps for 30ms mode. - * - * - * \section codec_setting Codec Settings - * - * \subsection general_setting General Settings - * - * General codec settings for this codec such as VAD and PLC can be - * manipulated through the setting field in #pjmedia_codec_param. - * Please see the documentation of #pjmedia_codec_param for more info. - * - * \subsection specific_setting Codec Specific Settings - * - * The following settings are applicable for this codec. - * - * \subsubsection mode Mode - * - * The default mode should be set upon initialization, see - * #pjmedia_codec_ilbc_init(). After the codec is initialized, the default - * mode can be modified using #pjmedia_codec_mgr_set_default_param(). - * - * In #pjmedia_codec_param, iLBC mode can be set by specifying SDP - * format parameter "mode" in the SDP "a=fmtp" attribute for decoding - * direction. Valid values are "20" and "30" (for 20ms and 30ms mode - * respectively). - * - * Here is an example to set up #pjmedia_codec_param to use mode 20ms: - * \code - pjmedia_codec_param param; - ... - // setting iLBC mode in SDP - param.setting.dec_fmtp.cnt = 1; - param.setting.dec_fmtp.param[0].name = pj_str("mode"); - param.setting.dec_fmtp.param[0].val = pj_str("20"); - ... - \endcode - */ - -PJ_BEGIN_DECL - - -/** - * Initialize and register iLBC codec factory to pjmedia endpoint. - * - * @param endpt The pjmedia endpoint. - * @param mode Default decoder mode to be used. Valid values are - * 20 and 30 ms. Note that encoder mode follows the - * setting advertised in the remote's SDP. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_ilbc_init( pjmedia_endpt *endpt, - int mode ); - - - -/** - * Unregister iLBC codec factory from pjmedia endpoint and deinitialize - * the iLBC codec library. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_ilbc_deinit(void); - - -PJ_END_DECL - - -/** - * @} - */ - -#endif /* __PJMEDIA_CODEC_ILBC_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia-codec/ipp_codecs.h b/res/pjproject/pjmedia/include/pjmedia-codec/ipp_codecs.h deleted file mode 100644 index a6dec09745..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-codec/ipp_codecs.h +++ /dev/null @@ -1,322 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CODECS_IPP_H__ -#define __PJMEDIA_CODECS_IPP_H__ - -/** - * @file pjmedia-codec/ipp_codecs.h - * @brief IPP codecs wrapper. - */ - -#include - -/** - * @defgroup PJMED_IPP_CODEC IPP Codecs - * @ingroup PJMEDIA_CODEC_CODECS - * @brief Implementation of IPP codecs - * @{ - * - * This section describes functions to initialize and register IPP codec - * factory to the codec manager. After the codec factory has been registered, - * application can use @ref PJMEDIA_CODEC API to manipulate the codec. - * - * This codec factory contains various codecs, i.e: G.729, G.723.1, G.726, - * G.728, G.722.1, AMR, and AMR-WB. - * - * - * \section pjmedia_codec_ipp_g729 IPP G.729 - * - * IPP G.729 is compliant with ITU-T G.729 and Annexes A, B, C, C+, D, - * E, I specifications. However, currently the pjmedia implementation is - * using Annexes A and B only. - * - * IPP G.729 supports 16-bit PCM audio signal with sampling rate 8000Hz, - * frame length 10ms, and resulting in bitrate 8000bps (annexes D and E - * introduce bitrates 6400bps and 11800bps). - * - * \subsection codec_setting Codec Settings - * - * General codec settings for this codec such as VAD and PLC can be - * manipulated through the setting field in #pjmedia_codec_param. - * Please see the documentation of #pjmedia_codec_param for more info. - * - * Note that G.729 VAD status should be signalled in SDP, see more - * description below. - * - * \subsubsection annexb Annex B - * - * The capability of VAD/DTX is specified in Annex B. - * - * By default, Annex B is enabled. This default setting of Annex B can - * be modified using #pjmedia_codec_mgr_set_default_param(). - * - * In #pjmedia_codec_param, Annex B is configured via VAD setting and - * format parameter "annexb" in the SDP "a=fmtp" attribute in - * decoding fmtp field. Valid values are "yes" and "no", - * the implementation default is "yes". When this parameter is omitted - * in the SDP, the value will be "yes" (RFC 4856 Section 2.1.9). - * - * Here is an example of modifying default setting of Annex B to - * be disabled using #pjmedia_codec_mgr_set_default_param(): - \code - pjmedia_codec_param param; - - pjmedia_codec_mgr_get_default_param(.., ¶m); - ... - // Set VAD - param.setting.vad = 0; - // Set SDP format parameter - param.setting.dec_fmtp.cnt = 1; - param.setting.dec_fmtp.param[0].name = pj_str("annexb"); - param.setting.dec_fmtp.param[0].val = pj_str("no"); - ... - pjmedia_codec_mgr_set_default_param(.., ¶m); - \endcode - * - * \note - * The difference of Annex B status in SDP offer/answer may be considered as - * incompatible codec in SDP negotiation. - * - * - * \section pjmedia_codec_ipp_g7231 IPP G.723.1 - * - * IPP G.723.1 speech codec is compliant with ITU-T G.723.1 and Annex A - * specifications. - * - * IPP G.723.1 supports 16-bit PCM audio signal with sampling rate 8000Hz, - * frame length 30ms, and resulting in bitrates 5300bps and 6300bps. - * - * By default, pjmedia implementation uses encoding bitrate of 6300bps. - * The bitrate is signalled in-band in G.723.1 frames and interoperable. - * - * \subsection codec_setting Codec Settings - * - * General codec settings for this codec such as VAD and PLC can be - * manipulated through the setting field in #pjmedia_codec_param. - * Please see the documentation of #pjmedia_codec_param for more info. - * - * - * \section pjmedia_codec_ipp_g726 IPP G.726 - * - * IPP G.726 is compliant with ITU-T G.726 and G.726 Annex A specifications. - * - * IPP G.726 supports 16-bit PCM audio signal with sampling rate 8000Hz, - * 10ms frame length and producing 16kbps, 24kbps, 32kbps, 48kbps bitrates. - * The bitrate is specified explicitly in its encoding name, i.e: G726-16, - * G726-24, G726-32, G726-48. - * - * \subsection codec_setting Codec Settings - * - * General codec settings for this codec such as VAD and PLC can be - * manipulated through the setting field in #pjmedia_codec_param. - * Please see the documentation of #pjmedia_codec_param for more info. - * - * - * \section pjmedia_codec_ipp_g728 IPP G.728 - * - * IPP G.728 is compliant with ITU-T G.728 with I, G, H Appendixes - * specifications for Low-Delay CELP coder. - * - * IPP G.728 supports 16-bit PCM audio signal with sampling rate 8000Hz, - * 20ms frame length and producing 9.6kbps, 12.8kbps, and 16kbps bitrates. - * - * The pjmedia implementation currently uses 16kbps bitrate only. - * - * \subsection codec_setting Codec Settings - * - * General codec settings for this codec such as VAD and PLC can be - * manipulated through the setting field in #pjmedia_codec_param. - * Please see the documentation of #pjmedia_codec_param for more info. - * - * - * \section pjmedia_codec_ipp_g7221 IPP G.722.1 - * - * The pjmedia implementation of IPP G.722.1 supports 16-bit PCM audio - * signal with sampling rate 16000Hz, 20ms frame length and producing - * 16kbps, 24kbps, and 32kbps bitrates. - * - * \subsection codec_setting Codec Settings - * - * General codec settings for this codec such as VAD and PLC can be - * manipulated through the setting field in #pjmedia_codec_param. - * Please see the documentation of #pjmedia_codec_param for more info. - * - * \subsubsection bitrate Bitrate - * - * The codec implementation supports only standard bitrates, i.e: - * 24kbps and 32kbps. Both are enabled by default. - * - * \remark - * There is a flaw in the codec manager as currently it could not - * differentiate G.722.1 codecs by bitrates, hence invoking - * #pjmedia_codec_mgr_set_default_param() may only affect a G.722.1 codec - * with the highest priority (or first index found in codec enumeration - * when they have same priority) and invoking - * #pjmedia_codec_mgr_set_codec_priority() will set priority of all G.722.1 - * codecs with sampling rate as specified. - * - * - * \section pjmedia_codec_ipp_amr IPP AMR - * - * The IPP AMR is compliant with GSM06.90-94 specifications for GSM Adaptive - * Multi-Rate codec. - * - * IPP AMR supports 16-bit PCM audio signal with sampling rate 8000Hz, - * 20ms frame length and producing various bitrates that ranges from 4.75kbps - * to 12.2kbps. - * - * \subsection codec_setting Codec Settings - * - * General codec settings for this codec such as VAD and PLC can be - * manipulated through the setting field in #pjmedia_codec_param. - * Please see the documentation of #pjmedia_codec_param for more info. - * - * \subsubsection bitrate Bitrate - * - * By default, encoding bitrate is 7400bps. This default setting can be - * modified using #pjmedia_codec_mgr_set_default_param() by specifying - * prefered AMR bitrate in field info::avg_bps of - * #pjmedia_codec_param. Valid bitrates could be seen in - * #pjmedia_codec_amrnb_bitrates. - * - * \subsubsection payload_format Payload Format - * - * There are two AMR payload format types, bandwidth-efficient and - * octet-aligned. Default setting is using octet-aligned. This default payload - * format can be modified using #pjmedia_codec_mgr_set_default_param(). - * - * In #pjmedia_codec_param, payload format can be set by specifying SDP - * format parameters "octet-align" in the SDP "a=fmtp" attribute for - * decoding direction. Valid values are "0" (for bandwidth efficient mode) - * and "1" (for octet-aligned mode). - * - * \subsubsection mode_set Mode-Set - * - * Mode-set is used for restricting AMR modes in decoding direction. - * - * By default, no mode-set restriction applied. This default setting can be - * be modified using #pjmedia_codec_mgr_set_default_param(). - * - * In #pjmedia_codec_param, mode-set could be specified via format parameters - * "mode-set" in the SDP "a=fmtp" attribute for decoding direction. Valid - * value is a comma separated list of modes from the set 0 - 7, e.g: - * "4,5,6,7". When this parameter is omitted, no mode-set restrictions applied. - * - * Here is an example of modifying AMR default codec param: - \code - pjmedia_codec_param param; - - pjmedia_codec_mgr_get_default_param(.., ¶m); - ... - // set default encoding bitrate to the highest 12.2kbps - param.info.avg_bps = 12200; - - // restrict decoding bitrate to 10.2kbps and 12.2kbps only - param.setting.dec_fmtp.param[0].name = pj_str("mode-set"); - param.setting.dec_fmtp.param[0].val = pj_str("6,7"); - - // also set to use bandwidth-efficient payload format - param.setting.dec_fmtp.param[1].name = pj_str("octet-align"); - param.setting.dec_fmtp.param[1].val = pj_str("0"); - - param.setting.dec_fmtp.cnt = 2; - ... - pjmedia_codec_mgr_set_default_param(.., ¶m); - \endcode - * - * - * \section pjmedia_codec_ipp_amrwb IPP AMR-WB - * - * The IPP AMR-WB is compliant with 3GPP TS 26.190-192, 194, 201 - * specifications for Adaptive Multi-Rate WideBand codec. - * - * IPP AMR-WB supports 16-bit PCM audio signal with sampling rate 16000Hz, - * 20ms frame length and producing various bitrates. Valid bitrates could be - * seen in #pjmedia_codec_amrwb_bitrates. The pjmedia implementation default - * bitrate is 15850bps. - * - * \subsection codec_setting Codec Settings - * - * General codec settings for this codec such as VAD and PLC can be - * manipulated through the setting field in #pjmedia_codec_param. - * Please see the documentation of #pjmedia_codec_param for more info. - * - * \subsubsection bitrate Bitrate - * - * By default, encoding bitrate is 15850bps. This default setting can be - * modified using #pjmedia_codec_mgr_set_default_param() by specifying - * prefered AMR bitrate in field info::avg_bps of - * #pjmedia_codec_param. - * - * \subsubsection payload_format Payload Format - * - * There are two AMR payload format types, bandwidth-efficient and - * octet-aligned. Default setting is using octet-aligned. This default payload - * format can be modified using #pjmedia_codec_mgr_set_default_param(). - * - * In #pjmedia_codec_param, payload format can be set by specifying SDP - * format parameters "octet-align" in the SDP "a=fmtp" attribute for - * decoding direction. Valid values are "0" (for bandwidth efficient mode) - * and "1" (for octet-aligned mode). - * - * \subsubsection mode_set Mode-Set - * - * Mode-set is used for restricting AMR modes in decoding direction. - * - * By default, no mode-set restriction applied. This default setting can be - * be modified using #pjmedia_codec_mgr_set_default_param(). - * - * In #pjmedia_codec_param, mode-set could be specified via format parameters - * "mode-set" in the SDP "a=fmtp" attribute for decoding direction. Valid - * value is a comma separated list of modes from the set 0 - 7, e.g: - * "4,5,6,7". When this parameter is omitted, no mode-set restrictions applied. - */ - -PJ_BEGIN_DECL - - -/** - * Initialize and register IPP codecs factory to pjmedia endpoint. - * - * @param endpt The pjmedia endpoint. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_ipp_init( pjmedia_endpt *endpt ); - - -/** - * Unregister IPP codecs factory from pjmedia endpoint and deinitialize - * the IPP codecs library. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_ipp_deinit(void); - - -PJ_END_DECL - - -/** - * @} - */ - -#endif /* __PJMEDIA_CODECS_IPP_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia-codec/l16.h b/res/pjproject/pjmedia/include/pjmedia-codec/l16.h deleted file mode 100644 index 4281aa5f1b..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-codec/l16.h +++ /dev/null @@ -1,81 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CODEC_L16_H__ -#define __PJMEDIA_CODEC_L16_H__ - -#include - - -/** - * @defgroup PJMED_L16 L16 Codec Family - * @ingroup PJMEDIA_CODEC_CODECS - * @brief Implementation of PCM/16bit/linear codecs - * @{ - * - * This section describes functions to initialize and register L16 codec - * factory to the codec manager. After the codec factory has been registered, - * application can use @ref PJMEDIA_CODEC API to manipulate the codec. - * - * Note that the L16 codec factory registers several (about fourteen!) - * L16 codec types to codec manager (different combinations of clock - * rate and number of channels). - * - * \section codec_setting Codec Settings - * - * \subsection general_setting General Settings - * - * General codec settings for this codec such as VAD and PLC can be - * manipulated through the setting field in #pjmedia_codec_param. - * Please see the documentation of #pjmedia_codec_param for more info. - * - * \subsection specific_setting Codec Specific Settings - * - * Currently none. - */ - -PJ_BEGIN_DECL - - -/** - * Initialize and register L16 codec factory to pjmedia endpoint. - * - * @param endpt The pjmedia endpoint. - * @param options Must be zero for now. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_l16_init( pjmedia_endpt *endpt, - unsigned options); - - - -/** - * Unregister L16 codec factory from pjmedia endpoint. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_l16_deinit(void); - - -PJ_END_DECL - - -#endif /* __PJMEDIA_CODEC_L16_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia-codec/opencore_amrnb.h b/res/pjproject/pjmedia/include/pjmedia-codec/opencore_amrnb.h deleted file mode 100644 index 3e618e46ea..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-codec/opencore_amrnb.h +++ /dev/null @@ -1,89 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2011 Dan Arrhenius - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CODEC_OPENCORE_AMRNB_H__ -#define __PJMEDIA_CODEC_OPENCORE_AMRNB_H__ - -#include - -/** - * @defgroup PJMED_OC_AMRNB OpenCORE AMR-NB Codec - * @ingroup PJMEDIA_CODEC_CODECS - * @brief AMRCodec wrapper for OpenCORE AMR-NB codec - * @{ - */ - -PJ_BEGIN_DECL - -/** - * Settings. Use #pjmedia_codec_opencore_amrnb_set_config() to - * activate. - */ -typedef struct pjmedia_codec_amrnb_config -{ - /** - * Control whether to use octent align. - */ - pj_bool_t octet_align; - - /** - * Set the bitrate. - */ - unsigned bitrate; - -} pjmedia_codec_amrnb_config; - - -/** - * Initialize and register AMR-NB codec factory to pjmedia endpoint. - * - * @param endpt The pjmedia endpoint. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_opencore_amrnb_init(pjmedia_endpt* endpt); - -/** - * Unregister AMR-NB codec factory from pjmedia endpoint and deinitialize - * the OpenCORE codec library. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_opencore_amrnb_deinit(void); - - -/** - * Set AMR-NB parameters. - * - * @param cfg The settings; - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_opencore_amrnb_set_config( - const pjmedia_codec_amrnb_config* cfg); - -PJ_END_DECL - - -/** - * @} - */ - -#endif /* __PJMEDIA_CODEC_OPENCORE_AMRNB_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia-codec/passthrough.h b/res/pjproject/pjmedia/include/pjmedia-codec/passthrough.h deleted file mode 100644 index d0c64b7c11..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-codec/passthrough.h +++ /dev/null @@ -1,277 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CODECS_PASSTHROUGH_H__ -#define __PJMEDIA_CODECS_PASSTHROUGH_H__ - -/** - * @file pjmedia-codec/passthrough.h - * @brief Passthrough codecs. - */ - -#include - -/** - * @defgroup PJMED_PASSTHROUGH_CODEC Passthrough Codecs - * @ingroup PJMEDIA_CODEC_CODECS - * @brief Implementation of passthrough codecs - * @{ - * - * This section describes functions to initialize and register passthrough - * codecs factory to the codec manager. After the codec factory has been - * registered, application can use @ref PJMEDIA_CODEC API to manipulate - * the codec. - * - * Passthrough codecs are codecs wrapper that does NOT perform encoding - * or decoding, it just PACK and PARSE encoded audio data from/into RTP - * payload. This will accomodate pjmedia ports which work with encoded - * audio data, e.g: encoded audio files, sound device with capability - * of playing/recording encoded audio data. - * - * This codec factory contains various codecs, i.e: G.729, iLBC, - * AMR, and G.711. - * - * - * \section pjmedia_codec_passthrough_g729 Passthrough G.729 - * - * G.729 supports 16-bit PCM audio signal with sampling rate 8000Hz, - * frame length 10ms, and resulting in bitrate 8000bps. - * - * \subsection codec_setting Codec Settings - * - * General codec settings for this codec such as VAD and PLC can be - * manipulated through the setting field in #pjmedia_codec_param. - * Please see the documentation of #pjmedia_codec_param for more info. - * - * Note that G.729 VAD status should be signalled in SDP, see more - * description below. - * - * \subsubsection annexb Annex B - * - * The capability of VAD/DTX is specified in Annex B. - * - * By default, Annex B is enabled. This default setting of Annex B can - * be modified using #pjmedia_codec_mgr_set_default_param(). - * - * In #pjmedia_codec_param, Annex B is configured via VAD setting and - * format parameter "annexb" in the SDP "a=fmtp" attribute in - * decoding fmtp field. Valid values are "yes" and "no", - * the implementation default is "yes". When this parameter is omitted - * in the SDP, the value will be "yes" (RFC 4856 Section 2.1.9). - * - * Here is an example of modifying default setting of Annex B to - * be disabled using #pjmedia_codec_mgr_set_default_param(): - \code - pjmedia_codec_param param; - - pjmedia_codec_mgr_get_default_param(.., ¶m); - ... - // Set VAD - param.setting.vad = 0; - // Set SDP format parameter - param.setting.dec_fmtp.cnt = 1; - param.setting.dec_fmtp.param[0].name = pj_str("annexb"); - param.setting.dec_fmtp.param[0].val = pj_str("no"); - ... - pjmedia_codec_mgr_set_default_param(.., ¶m); - \endcode - * - * \note - * The difference of Annex B status in SDP offer/answer may be considered as - * incompatible codec in SDP negotiation. - * - * - * \section pjmedia_codec_passthrough_ilbc Passthrough iLBC - * - * The iLBC codec is developed by Global IP Solutions (GIPS), formerly - * Global IP Sound. The iLBC offers low bitrate and graceful audio quality - * degradation on frame losses. - * - * The iLBC codec supports 16-bit PCM audio signal with sampling rate of - * 8000Hz operating at two modes: 20ms and 30ms frame length modes, resulting - * in bitrates of 15.2kbps for 20ms mode and 13.33kbps for 30ms mode. - * - * \subsection codec_setting Codec Settings - * - * General codec settings for this codec such as VAD and PLC can be - * manipulated through the setting field in #pjmedia_codec_param. - * Please see the documentation of #pjmedia_codec_param for more info. - * - * \subsubsection mode Mode - * - * The default mode should be set upon initialization, see - * #pjmedia_codec_passthrough_init2(). After the codec is initialized, the - * default mode can be modified using #pjmedia_codec_mgr_set_default_param(). - * - * In #pjmedia_codec_param, iLBC mode can be set by specifying SDP - * format parameter "mode" in the SDP "a=fmtp" attribute for decoding - * direction. Valid values are "20" and "30" (for 20ms and 30ms mode - * respectively). - * - * Here is an example to set up #pjmedia_codec_param to use mode 20ms: - * \code - pjmedia_codec_param param; - ... - // setting iLBC mode in SDP - param.setting.dec_fmtp.cnt = 1; - param.setting.dec_fmtp.param[0].name = pj_str("mode"); - param.setting.dec_fmtp.param[0].val = pj_str("20"); - ... - \endcode - * - * - * \section pjmedia_codec_passthrough_amr Passthrough AMR - * - * IPP AMR supports 16-bit PCM audio signal with sampling rate 8000Hz, - * 20ms frame length and producing various bitrates that ranges from 4.75kbps - * to 12.2kbps. - * - * \subsection codec_setting Codec Settings - * - * General codec settings for this codec such as VAD and PLC can be - * manipulated through the setting field in #pjmedia_codec_param. - * Please see the documentation of #pjmedia_codec_param for more info. - * - * \subsubsection bitrate Bitrate - * - * By default, encoding bitrate is 7400bps. This default setting can be - * modified using #pjmedia_codec_mgr_set_default_param() by specifying - * prefered AMR bitrate in field info::avg_bps of - * #pjmedia_codec_param. Valid bitrates could be seen in - * #pjmedia_codec_amrnb_bitrates. - * - * \subsubsection payload_format Payload Format - * - * There are two AMR payload format types, bandwidth-efficient and - * octet-aligned. Default setting is using octet-aligned. This default payload - * format can be modified using #pjmedia_codec_mgr_set_default_param(). - * - * In #pjmedia_codec_param, payload format can be set by specifying SDP - * format parameters "octet-align" in the SDP "a=fmtp" attribute for - * decoding direction. Valid values are "0" (for bandwidth efficient mode) - * and "1" (for octet-aligned mode). - * - * \subsubsection mode_set Mode-Set - * - * Mode-set is used for restricting AMR modes in decoding direction. - * - * By default, no mode-set restriction applied. This default setting can be - * be modified using #pjmedia_codec_mgr_set_default_param(). - * - * In #pjmedia_codec_param, mode-set could be specified via format parameters - * "mode-set" in the SDP "a=fmtp" attribute for decoding direction. Valid - * value is a comma separated list of modes from the set 0 - 7, e.g: - * "4,5,6,7". When this parameter is omitted, no mode-set restrictions applied. - * - * Here is an example of modifying AMR default codec param: - \code - pjmedia_codec_param param; - - pjmedia_codec_mgr_get_default_param(.., ¶m); - ... - // set default encoding bitrate to the highest 12.2kbps - param.info.avg_bps = 12200; - - // restrict decoding bitrate to 10.2kbps and 12.2kbps only - param.setting.dec_fmtp.param[0].name = pj_str("mode-set"); - param.setting.dec_fmtp.param[0].val = pj_str("6,7"); - - // also set to use bandwidth-efficient payload format - param.setting.dec_fmtp.param[1].name = pj_str("octet-align"); - param.setting.dec_fmtp.param[1].val = pj_str("0"); - - param.setting.dec_fmtp.cnt = 2; - ... - pjmedia_codec_mgr_set_default_param(.., ¶m); - \endcode - * - * - * \section pjmedia_codec_passthrough_g711 Passthrough G.711 - * - * The G.711 is an ultra low complexity codecs and in trade-off it results - * in high bitrate, i.e: 64kbps for 16-bit PCM with sampling rate 8000Hz. - * - * The factory contains two main compression algorithms, PCMU/u-Law and - * PCMA/A-Law. - * - * \subsection codec_setting Codec Settings - * - * General codec settings for this codec such as VAD and PLC can be - * manipulated through the setting field in #pjmedia_codec_param. - * Please see the documentation of #pjmedia_codec_param for more info. - */ - -PJ_BEGIN_DECL - - -/** - * Codec passthrough configuration settings. - */ -typedef struct pjmedia_codec_passthrough_setting -{ - unsigned fmt_cnt; /**< Number of encoding formats - to be enabled. */ - pjmedia_format *fmts; /**< Encoding formats to be - enabled. */ - unsigned ilbc_mode; /**< iLBC default mode. */ -} pjmedia_codec_passthrough_setting; - - -/** - * Initialize and register passthrough codecs factory to pjmedia endpoint, - * all supported encoding formats will be enabled. - * - * @param endpt The pjmedia endpoint. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_passthrough_init( pjmedia_endpt *endpt ); - - -/** - * Initialize and register passthrough codecs factory to pjmedia endpoint - * with only specified encoding formats enabled. - * - * @param endpt The pjmedia endpoint. - * @param setting The settings. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_passthrough_init2( - pjmedia_endpt *endpt, - const pjmedia_codec_passthrough_setting *setting); - - -/** - * Unregister passthrough codecs factory from pjmedia endpoint. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_passthrough_deinit(void); - - -PJ_END_DECL - - -/** - * @} - */ - -#endif /* __PJMEDIA_CODECS_PASSTHROUGH_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia-codec/speex.h b/res/pjproject/pjmedia/include/pjmedia-codec/speex.h deleted file mode 100644 index 60db14746e..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-codec/speex.h +++ /dev/null @@ -1,150 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CODEC_SPEEX_H__ -#define __PJMEDIA_CODEC_SPEEX_H__ - -/** - * @file speex.h - * @brief Speex codec header. - */ - -#include - -/** - * @defgroup PJMED_SPEEX Speex Codec Family - * @ingroup PJMEDIA_CODEC_CODECS - * @brief Implementation of Speex codecs (narrow/wide/ultrawide-band). - * @{ - * - * This section describes functions to initialize and register speex codec - * factory to the codec manager. After the codec factory has been registered, - * application can use @ref PJMEDIA_CODEC API to manipulate the codec. - * - * The Speex codec uses multiple bit rates, and supports ultra-wideband - * (32 kHz sampling rate), wideband (16 kHz sampling rate) and narrowband - * (telephone quality, 8 kHz sampling rate) - * - * By default, the speex codec factory registers three Speex codecs: - * "speex/8000" narrowband codec, "speex/16000" wideband codec, and - * "speex/32000" ultra-wideband codec. This behavior can be changed by - * specifying #pjmedia_speex_options flags during initialization. - * - * - * \section codec_setting Codec Settings - * - * \subsection general_setting General Settings - * - * General codec settings for this codec such as VAD and PLC can be - * manipulated through the setting field in #pjmedia_codec_param. - * Please see the documentation of #pjmedia_codec_param for more info. - * - * \subsection specific_setting Codec Specific Settings - * - * The following settings are applicable for this codec. - * - * \subsubsection quality_vs_complexity Quality vs Complexity - * - * The Speex codec quality versus computational complexity and bandwidth - * requirement can be adjusted by modifying the quality and complexity - * setting, by calling #pjmedia_codec_speex_set_param(). The RFC 5574 - * Section 5 shows the relationship between quality setting and the - * resulting bitrate. - * - * The default setting of quality is specified in - * #PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY. And the default setting of - * complexity is specified in #PJMEDIA_CODEC_SPEEX_DEFAULT_COMPLEXITY. - */ - -PJ_BEGIN_DECL - - -/** - * Bitmask options to be passed during Speex codec factory initialization. - */ -enum pjmedia_speex_options -{ - PJMEDIA_SPEEX_NO_NB = 1, /**< Disable narrowband mode. */ - PJMEDIA_SPEEX_NO_WB = 2, /**< Disable wideband mode. */ - PJMEDIA_SPEEX_NO_UWB = 4, /**< Disable ultra-wideband mode. */ -}; - - -/** - * Initialize and register Speex codec factory to pjmedia endpoint. - * - * @param endpt The pjmedia endpoint. - * @param options Bitmask of pjmedia_speex_options (default=0). - * @param quality Specify encoding quality, or use -1 for default - * (@see PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY). - * @param complexity Specify encoding complexity , or use -1 for default - * (@see PJMEDIA_CODEC_SPEEX_DEFAULT_COMPLEXITY). - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_speex_init( pjmedia_endpt *endpt, - unsigned options, - int quality, - int complexity ); - - -/** - * Initialize Speex codec factory using default settings and register to - * pjmedia endpoint. - * - * @param endpt The pjmedia endpoint. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_speex_init_default(pjmedia_endpt *endpt); - - -/** - * Change the settings of Speex codec. - * - * @param clock_rate Clock rate of Speex mode to be set. - * @param quality Specify encoding quality, or use -1 for default - * (@see PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY). - * @param complexity Specify encoding complexity , or use -1 for default - * (@see PJMEDIA_CODEC_SPEEX_DEFAULT_COMPLEXITY). - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_speex_set_param(unsigned clock_rate, - int quality, - int complexity); - - -/** - * Unregister Speex codec factory from pjmedia endpoint and deinitialize - * the Speex codec library. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_speex_deinit(void); - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJMEDIA_CODEC_SPEEX_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia-codec/types.h b/res/pjproject/pjmedia/include/pjmedia-codec/types.h deleted file mode 100644 index 752a1fcbf4..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-codec/types.h +++ /dev/null @@ -1,126 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CODEC_TYPES_H__ -#define __PJMEDIA_CODEC_TYPES_H__ - -/** - * @file types.h - * @brief PJMEDIA-CODEC types and constants - */ - -#include -#include - -/** - * @defgroup pjmedia_codec_types PJMEDIA-CODEC Types and Constants - * @ingroup PJMEDIA_CODEC - * @brief Constants used by PJMEDIA-CODEC - * @{ - */ - - - -/** - * These are the dynamic payload types that are used by audio codecs in - * this library. Also see the header file for list - * of static payload types. - */ -enum pjmedia_audio_pt -{ - /* According to IANA specifications, dynamic payload types are to be in - * the range 96-127 (inclusive). This enum is structured to place the - * values of the payload types specified below into that range. - * - * PJMEDIA_RTP_PT_DYNAMIC is defined in . It is defined - * to be 96. - * - * PJMEDIA_RTP_PT_TELEPHONE_EVENTS is defined in . - * The default value is 96. - */ -#if PJMEDIA_RTP_PT_TELEPHONE_EVENTS - PJMEDIA_RTP_PT_START = PJMEDIA_RTP_PT_TELEPHONE_EVENTS, -#else - PJMEDIA_RTP_PT_START = (PJMEDIA_RTP_PT_DYNAMIC-1), -#endif - - PJMEDIA_RTP_PT_SPEEX_NB, /**< Speex narrowband/8KHz */ - PJMEDIA_RTP_PT_SPEEX_WB, /**< Speex wideband/16KHz */ - PJMEDIA_RTP_PT_SPEEX_UWB, /**< Speex 32KHz */ - PJMEDIA_RTP_PT_L16_8KHZ_MONO, /**< L16 @ 8KHz, mono */ - PJMEDIA_RTP_PT_L16_8KHZ_STEREO, /**< L16 @ 8KHz, stereo */ - //PJMEDIA_RTP_PT_L16_11KHZ_MONO, /**< L16 @ 11KHz, mono */ - //PJMEDIA_RTP_PT_L16_11KHZ_STEREO, /**< L16 @ 11KHz, stereo */ - PJMEDIA_RTP_PT_L16_16KHZ_MONO, /**< L16 @ 16KHz, mono */ - PJMEDIA_RTP_PT_L16_16KHZ_STEREO, /**< L16 @ 16KHz, stereo */ - //PJMEDIA_RTP_PT_L16_22KHZ_MONO, /**< L16 @ 22KHz, mono */ - //PJMEDIA_RTP_PT_L16_22KHZ_STEREO, /**< L16 @ 22KHz, stereo */ - //PJMEDIA_RTP_PT_L16_32KHZ_MONO, /**< L16 @ 32KHz, mono */ - //PJMEDIA_RTP_PT_L16_32KHZ_STEREO, /**< L16 @ 32KHz, stereo */ - //PJMEDIA_RTP_PT_L16_48KHZ_MONO, /**< L16 @ 48KHz, mono */ - //PJMEDIA_RTP_PT_L16_48KHZ_STEREO, /**< L16 @ 48KHz, stereo */ - PJMEDIA_RTP_PT_ILBC, /**< iLBC (13.3/15.2Kbps) */ - PJMEDIA_RTP_PT_AMR, /**< AMR (4.75 - 12.2Kbps) */ - PJMEDIA_RTP_PT_AMRWB, /**< AMRWB (6.6 - 23.85Kbps)*/ - PJMEDIA_RTP_PT_AMRWBE, /**< AMRWBE */ - PJMEDIA_RTP_PT_G726_16, /**< G726 @ 16Kbps */ - PJMEDIA_RTP_PT_G726_24, /**< G726 @ 24Kbps */ - PJMEDIA_RTP_PT_G726_32, /**< G726 @ 32Kbps */ - PJMEDIA_RTP_PT_G726_40, /**< G726 @ 40Kbps */ - PJMEDIA_RTP_PT_G722_1_16, /**< G722.1 (16Kbps) */ - PJMEDIA_RTP_PT_G722_1_24, /**< G722.1 (24Kbps) */ - PJMEDIA_RTP_PT_G722_1_32, /**< G722.1 (32Kbps) */ - PJMEDIA_RTP_PT_G7221C_24, /**< G722.1 Annex C (24Kbps)*/ - PJMEDIA_RTP_PT_G7221C_32, /**< G722.1 Annex C (32Kbps)*/ - PJMEDIA_RTP_PT_G7221C_48, /**< G722.1 Annex C (48Kbps)*/ - PJMEDIA_RTP_PT_G7221_RSV1, /**< G722.1 reserve */ - PJMEDIA_RTP_PT_G7221_RSV2, /**< G722.1 reserve */ - - /* Caution! - * Ensure the value of the last pt above is <= 127. - */ -}; - -/** - * These are the dynamic payload types that are used by video codecs in - * this library. - */ -enum pjmedia_video_pt -{ - /* Video payload types */ - PJMEDIA_RTP_PT_VID_START = (PJMEDIA_RTP_PT_DYNAMIC-1), - PJMEDIA_RTP_PT_H263P, - PJMEDIA_RTP_PT_H264, - PJMEDIA_RTP_PT_H264_RSV1, - PJMEDIA_RTP_PT_H264_RSV2, - PJMEDIA_RTP_PT_H264_RSV3, - PJMEDIA_RTP_PT_H264_RSV4, - - /* Caution! - * Ensure the value of the last pt above is <= 127. - */ -}; - - -/** - * @} - */ - - -#endif /* __PJMEDIA_CODEC_TYPES_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia-videodev/avi_dev.h b/res/pjproject/pjmedia/include/pjmedia-videodev/avi_dev.h deleted file mode 100644 index 71f1bc6e00..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-videodev/avi_dev.h +++ /dev/null @@ -1,139 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef PJMEDIA_VIDEODEV_AVI_DEV_H__ -#define PJMEDIA_VIDEODEV_AVI_DEV_H__ - -/** - * @file avi_dev.h - * @brief AVI player virtual device - */ -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup avi_dev AVI Player Virtual Device - * @ingroup video_device_api - * @brief AVI player virtual device - * @{ - * This describes a virtual capture device which takes its input from an AVI - * file. - */ - -/** - * Settings for the AVI player virtual device. This param corresponds to - * PJMEDIA_VID_DEV_CAP_AVI_PLAY capability of the video device/stream. - */ -typedef struct pjmedia_avi_dev_param -{ - /** - * Specifies the full path of the AVI file to be played. - */ - pj_str_t path; - - /** - * If this setting is specified when setting the device, this specifies - * the title to be assigned as the device name. If this setting not - * specified, the filename part of the path will be used. - */ - pj_str_t title; - - /** - * The underlying AVI streams created by the device. If the value is NULL, - * that means the device has not been configured yet. Application can use - * this field to retrieve the audio stream of the AVI. This setting is - * "get"-only and will be ignored in "set capability" operation. - */ - pjmedia_avi_streams *avi_streams; - -} pjmedia_avi_dev_param; - - -/** - * Reset pjmedia_avi_dev_param with the default settings. This mostly will - * reset all values to NULL or zero. - * - * @param p The parameter to be initialized. - */ -PJ_DECL(void) pjmedia_avi_dev_param_default(pjmedia_avi_dev_param *p); - - -/** - * Create a AVI device factory, and register it to the video device - * subsystem. At least one factory needs to be created before an AVI - * device can be allocated and used, and normally only one factory is - * needed per application. - * - * @param pf Pool factory to be used. - * @param max_dev Number of devices to be reserved. - * @param p_ret Pointer to return the factory instance, to be - * used when allocating a virtual device. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_avi_dev_create_factory( - pj_pool_factory *pf, - unsigned max_dev, - pjmedia_vid_dev_factory **p_ret); - -/** - * Allocate one device ID to be used to play the specified AVI file in - * the parameter. - * - * @param param The parameter, with at least the AVI file path - * set. - * @param p_id Optional pointer to receive device ID to play - * the file. - * - * @return PJ_SUCCESS or the appropriate error code. - * - */ -PJ_DECL(pj_status_t) pjmedia_avi_dev_alloc(pjmedia_vid_dev_factory *f, - pjmedia_avi_dev_param *param, - pjmedia_vid_dev_index *p_id); - -/** - * Retrieve the parameters set for the virtual device. - * - * @param id Device ID. - * @param prm Structure to receive the settings. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_avi_dev_get_param(pjmedia_vid_dev_index id, - pjmedia_avi_dev_param *param); - -/** - * Free the resources associated with the virtual device. - * - * @param id The device ID. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_avi_dev_free(pjmedia_vid_dev_index id); - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* PJMEDIA_VIDEODEV_AVI_DEV_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia-videodev/config.h b/res/pjproject/pjmedia/include/pjmedia-videodev/config.h deleted file mode 100644 index 5d261fb3e2..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-videodev/config.h +++ /dev/null @@ -1,203 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_VIDEODEV_CONFIG_H__ -#define __PJMEDIA_VIDEODEV_CONFIG_H__ - -/** - * @file config.h - * @brief Video config. - */ -#include -#include - - -PJ_BEGIN_DECL - -/** - * @defgroup video_device_api Video Device API - * @brief PJMEDIA video device abstraction API. - */ - -/** - * @defgroup s1_video_device_config Compile time configurations - * @ingroup video_device_api - * @brief Compile time configurations - * @{ - */ - -/** - * This setting controls the maximum number of formats that can be - * supported by a video device. - * - * Default: 16 - */ -#ifndef PJMEDIA_VID_DEV_INFO_FMT_CNT -# define PJMEDIA_VID_DEV_INFO_FMT_CNT 16 -#endif - - -/** - * This setting controls whether SDL support should be included. - * - * Default: 0 (or detected by configure) - */ -#ifndef PJMEDIA_VIDEO_DEV_HAS_SDL -# define PJMEDIA_VIDEO_DEV_HAS_SDL 0 -# define PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL 0 -#endif - - -/** - * This setting controls whether QT support should be included. - * - * Default: 0 (or detected by configure) - */ -#ifndef PJMEDIA_VIDEO_DEV_HAS_QT -# define PJMEDIA_VIDEO_DEV_HAS_QT 0 -#endif - - -/** - * This setting controls whether IOS support should be included. - * - * Default: 0 (or detected by configure) - */ -#ifndef PJMEDIA_VIDEO_DEV_HAS_IOS -# define PJMEDIA_VIDEO_DEV_HAS_IOS 0 -#endif - - -/** - * This setting controls whether Direct Show support should be included. - * - * Default: 0 (unfinished) - */ -#ifndef PJMEDIA_VIDEO_DEV_HAS_DSHOW -# define PJMEDIA_VIDEO_DEV_HAS_DSHOW 0 //PJ_WIN32 -#endif - - -/** - * This setting controls whether colorbar source support should be included. - * - * Default: 1 - */ -#ifndef PJMEDIA_VIDEO_DEV_HAS_CBAR_SRC -# define PJMEDIA_VIDEO_DEV_HAS_CBAR_SRC 1 -#endif - - -/** - * This setting controls whether ffmpeg support should be included. - * - * Default: 0 (unfinished) - */ -#ifndef PJMEDIA_VIDEO_DEV_HAS_FFMPEG -# define PJMEDIA_VIDEO_DEV_HAS_FFMPEG 0 -#endif - - -/** - * Video4Linux2 - * - * Default: 0 (or detected by configure) - */ -#ifndef PJMEDIA_VIDEO_DEV_HAS_V4L2 -# define PJMEDIA_VIDEO_DEV_HAS_V4L2 0 -#endif - - -/** - * Enable support for AVI player virtual capture device. - * - * Default: 1 - */ -#ifndef PJMEDIA_VIDEO_DEV_HAS_AVI -# define PJMEDIA_VIDEO_DEV_HAS_AVI 1 -#endif - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJMEDIA_VIDEODEV_CONFIG_H__ */ - -/* - --------------------- DOCUMENTATION FOLLOWS --------------------------- - */ - -/** - * @addtogroup video_device_api Video Device API - * @{ - -PJMEDIA Video Device API is a cross-platform video API appropriate for use with -VoIP applications and many other types of video streaming applications. - -The API abstracts many different video API's on various platforms, such as: - - native Direct Show video for Win32 and Windows Mobile devices - - null-video implementation - - and more to be implemented in the future - -The Video Device API/library is an evolution from PJMEDIA @ref PJMED_SND and -contains many enhancements: - - - Forward compatibility: -\n - The new API has been designed to be extensible, it will support new API's as - well as new features that may be introduced in the future without breaking - compatibility with applications that use this API as well as compatibility - with existing device implementations. - - - Device capabilities: -\n - At the heart of the API is device capabilities management, where all possible - video capabilities of video devices should be able to be handled in a generic - manner. With this framework, new capabilities that may be discovered in the - future can be handled in manner without breaking existing applications. - - - Built-in features: -\n - The device capabilities framework enables applications to use and control - video features built-in in the device, such as: - - built-in formats, - - etc. - - - Codec support: -\n - Some video devices support built-in hardware video codecs, and application - can use the video device in encoded mode to make use of these hardware - codecs. - - - Multiple backends: -\n - The new API supports multiple video backends (called factories or drivers in - the code) to be active simultaneously, and video backends may be added or - removed during run-time. - -*/ - - -/** - * @} - */ - diff --git a/res/pjproject/pjmedia/include/pjmedia-videodev/errno.h b/res/pjproject/pjmedia/include/pjmedia-videodev/errno.h deleted file mode 100644 index 82fd5cda6a..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-videodev/errno.h +++ /dev/null @@ -1,159 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_VIDEODEV_VIDEODEV_ERRNO_H__ -#define __PJMEDIA_VIDEODEV_VIDEODEV_ERRNO_H__ - -/** - * @file errno.h Error Codes - * @brief Videodev specific error codes. - */ - -#include -#include - -/** - * @defgroup error_codes Error Codes - * @ingroup video_device_api - * @brief Video device library specific error codes. - * @{ - */ - - -PJ_BEGIN_DECL - - -/** - * Start of error code relative to PJ_ERRNO_START_USER. - * This value is 520000. - */ -#define PJMEDIA_VIDEODEV_ERRNO_START \ - (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*7) -#define PJMEDIA_VIDEODEV_ERRNO_END \ - (PJMEDIA_VIDEODEV_ERRNO_START + PJ_ERRNO_SPACE_SIZE - 1) - - -/************************************************************ - * Video Device API error codes - ***********************************************************/ -/** - * @hideinitializer - * General/unknown error. - */ -#define PJMEDIA_EVID_ERR (PJMEDIA_VIDEODEV_ERRNO_START+1) /* 520001 */ - -/** - * @hideinitializer - * Unknown error from video driver - */ -#define PJMEDIA_EVID_SYSERR (PJMEDIA_VIDEODEV_ERRNO_START+2) /* 520002 */ - -/** - * @hideinitializer - * Video subsystem not initialized - */ -#define PJMEDIA_EVID_INIT (PJMEDIA_VIDEODEV_ERRNO_START+3) /* 520003 */ - -/** - * @hideinitializer - * Invalid video device - */ -#define PJMEDIA_EVID_INVDEV (PJMEDIA_VIDEODEV_ERRNO_START+4) /* 520004 */ - -/** - * @hideinitializer - * Found no devices - */ -#define PJMEDIA_EVID_NODEV (PJMEDIA_VIDEODEV_ERRNO_START+5) /* 520005 */ - -/** - * @hideinitializer - * Unable to find default device - */ -#define PJMEDIA_EVID_NODEFDEV (PJMEDIA_VIDEODEV_ERRNO_START+6) /* 520006 */ - -/** - * @hideinitializer - * Device not ready - */ -#define PJMEDIA_EVID_NOTREADY (PJMEDIA_VIDEODEV_ERRNO_START+7) /* 520007 */ - -/** - * @hideinitializer - * The video capability is invalid or not supported - */ -#define PJMEDIA_EVID_INVCAP (PJMEDIA_VIDEODEV_ERRNO_START+8) /* 520008 */ - -/** - * @hideinitializer - * The operation is invalid or not supported - */ -#define PJMEDIA_EVID_INVOP (PJMEDIA_VIDEODEV_ERRNO_START+9) /* 520009 */ - -/** - * @hideinitializer - * Bad or invalid video device format - */ -#define PJMEDIA_EVID_BADFORMAT (PJMEDIA_VIDEODEV_ERRNO_START+10) /* 520010 */ - -/** - * @hideinitializer - * Invalid video device sample format - */ -#define PJMEDIA_EVID_SAMPFORMAT (PJMEDIA_VIDEODEV_ERRNO_START+11) /* 520011 */ - -/** - * @hideinitializer - * Bad latency setting - */ -#define PJMEDIA_EVID_BADLATENCY (PJMEDIA_VIDEODEV_ERRNO_START+12) /* 520012 */ - -/** - * @hideinitializer - * Bad/unsupported video size - */ -#define PJMEDIA_EVID_BADSIZE (PJMEDIA_VIDEODEV_ERRNO_START+13) /* 520013 */ - - -/** - * Get error message for the specified error code. Note that this - * function is only able to decode PJMEDIA Videodev specific error code. - * Application should use pj_strerror(), which should be able to - * decode all error codes belonging to all subsystems (e.g. pjlib, - * pjmedia, pjsip, etc). - * - * @param status The error code. - * @param buffer The buffer where to put the error message. - * @param bufsize Size of the buffer. - * - * @return The error message as NULL terminated string, - * wrapped with pj_str_t. - */ -PJ_DECL(pj_str_t) pjmedia_videodev_strerror(pj_status_t status, char *buffer, - pj_size_t bufsize); - - -PJ_END_DECL - -/** - * @} - */ - - -#endif /* __PJMEDIA_VIDEODEV_VIDEODEV_ERRNO_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia-videodev/videodev.h b/res/pjproject/pjmedia/include/pjmedia-videodev/videodev.h deleted file mode 100644 index 235d2a3e9e..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-videodev/videodev.h +++ /dev/null @@ -1,824 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_VIDEODEV_VIDEODEV_H__ -#define __PJMEDIA_VIDEODEV_VIDEODEV_H__ - -/** - * @file videodev.h - * @brief Video device API. - */ -#include -#include -#include -#include -#include -#include - - -PJ_BEGIN_DECL - -/** - * @defgroup video_device_reference Video Device API Reference - * @ingroup video_device_api - * @brief API Reference - * @{ - */ - -/** - * Type for device index. - */ -typedef pj_int32_t pjmedia_vid_dev_index; - -/** - * Enumeration of window handle type. - */ -typedef enum pjmedia_vid_dev_hwnd_type -{ - /** - * Type none. - */ - PJMEDIA_VID_DEV_HWND_TYPE_NONE, - - /** - * Native window handle on Windows. - */ - PJMEDIA_VID_DEV_HWND_TYPE_WINDOWS - -} pjmedia_vid_dev_hwnd_type; - -/** - * Type for window handle. - */ -typedef struct pjmedia_vid_dev_hwnd -{ - /** - * The window handle type. - */ - pjmedia_vid_dev_hwnd_type type; - - /** - * The window handle. - */ - union - { - struct { - void *hwnd; /**< HWND */ - } win; - struct { - void *window; /**< Window */ - void *display; /**< Display */ - } x11; - struct { - void *window; /**< Window */ - } cocoa; - struct { - void *window; /**< Window */ - } ios; - void *window; - } info; - -} pjmedia_vid_dev_hwnd; - -/** - * Parameter for switching device with PJMEDIA_VID_DEV_CAP_SWITCH capability. - * Initialize this with pjmedia_vid_dev_switch_param_default() - */ -typedef struct pjmedia_vid_dev_switch_param -{ - /** - * Target device ID to switch to. Once the switching is successful, the - * video stream will use this device and the old device will be closed. - */ - pjmedia_vid_dev_index target_id; - -} pjmedia_vid_dev_switch_param; - - -/** - * Enumeration of window flags. - */ -typedef enum pjmedia_vid_dev_wnd_flag -{ - /** - * Window with border. - */ - PJMEDIA_VID_DEV_WND_BORDER = 1, - - /** - * Window can be resized. - */ - PJMEDIA_VID_DEV_WND_RESIZABLE = 2 - -} pjmedia_vid_dev_wnd_flag; - - -/** - * Device index constants. - */ -enum -{ - /** - * Constant to denote default capture device - */ - PJMEDIA_VID_DEFAULT_CAPTURE_DEV = -1, - - /** - * Constant to denote default render device - */ - PJMEDIA_VID_DEFAULT_RENDER_DEV = -2, - - /** - * Constant to denote invalid device index. - */ - PJMEDIA_VID_INVALID_DEV = -3 -}; - - -/** - * This enumeration identifies various video device capabilities. These video - * capabilities indicates what features are supported by the underlying - * video device implementation. - * - * Applications get these capabilities in the #pjmedia_vid_dev_info structure. - * - * Application can also set the specific features/capabilities when opening - * the video stream by setting the \a flags member of #pjmedia_vid_dev_param - * structure. - * - * Once video stream is running, application can also retrieve or set some - * specific video capability, by using #pjmedia_vid_dev_stream_get_cap() and - * #pjmedia_vid_dev_stream_set_cap() and specifying the desired capability. The - * value of the capability is specified as pointer, and application needs to - * supply the pointer with the correct value, according to the documentation - * of each of the capability. - */ -typedef enum pjmedia_vid_dev_cap -{ - /** - * Support for video formats. The value of this capability - * is represented by #pjmedia_format structure. - */ - PJMEDIA_VID_DEV_CAP_FORMAT = 1, - - /** - * Support for video input scaling - */ - PJMEDIA_VID_DEV_CAP_INPUT_SCALE = 2, - - /** - * Support for returning the native window handle of the video window. - * For renderer, this means the window handle of the renderer window, - * while for capture, this means the window handle of the native preview, - * only if the device supports PJMEDIA_VID_DEV_CAP_INPUT_PREVIEW - * capability. - * - * The value of this capability is pointer to pjmedia_vid_dev_hwnd - * structure. - */ - PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW = 4, - - /** - * Support for resizing video output. This capability SHOULD be - * implemented by renderer, to alter the video output dimension on the fly. - * Value is pjmedia_rect_size. - */ - PJMEDIA_VID_DEV_CAP_OUTPUT_RESIZE = 8, - - /** - * Support for setting the video window's position. - * Value is pjmedia_coord specifying the window's new coordinate. - */ - PJMEDIA_VID_DEV_CAP_OUTPUT_POSITION = 16, - - /** - * Support for setting the video output's visibility. - * The value of this capability is a pj_bool_t containing boolean - * PJ_TRUE or PJ_FALSE. - */ - PJMEDIA_VID_DEV_CAP_OUTPUT_HIDE = 32, - - /** - * Support for native preview capability in capture devices. Value is - * pj_bool_t. With native preview, capture device can be instructed to - * show or hide a preview window showing video directly from the camera - * by setting this capability to PJ_TRUE or PJ_FALSE. Once the preview - * is started, application may use PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW - * capability to query the vidow window. - * - * The value of this capability is a pj_bool_t containing boolean - * PJ_TRUE or PJ_FALSE. - */ - PJMEDIA_VID_DEV_CAP_INPUT_PREVIEW = 64, - - /** - * Support for changing video orientation in renderer and querying - * video orientation info in capture. Changing video orientation in - * a renderer will potentially affect the size of render window, - * i.e: width and height swap. When a capture device supports this - * capability, it will generate event PJMEDIA_EVENT_ORIENT_CHANGED - * (see #pjmedia_event) everytime the capture orientation is changed. - * - * The value of this capability is pjmedia_orient. - */ - PJMEDIA_VID_DEV_CAP_ORIENTATION = 128, - - /** - * Support for fast switching to another device. A video stream with this - * capability allows replacing of its underlying device with another - * device, saving the user from opening a new video stream and gets a much - * faster and smoother switching action. - * - * Note that even when this capability is supported by a device, it may - * not be able to switch to arbitrary device. Application must always - * check the return value of the operation to verify that switching has - * occurred. - * - * This capability is currently write-only (i.e. set-only). - * - * The value of this capability is pointer to pjmedia_vid_dev_switch_param - * structure. - */ - PJMEDIA_VID_DEV_CAP_SWITCH = 256, - - /** - * Support for setting the output video window's flags. - * The value of this capability is a bitmask combination of - * #pjmedia_vid_dev_wnd_flag. - */ - PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW_FLAGS = 512, - - /** - * End of standard capability - */ - PJMEDIA_VID_DEV_CAP_MAX = 16384 - -} pjmedia_vid_dev_cap; - -/** - * Device information structure returned by #pjmedia_vid_dev_get_info(). - */ -typedef struct pjmedia_vid_dev_info -{ - /** The device ID */ - pjmedia_vid_dev_index id; - - /** The device name */ - char name[64]; - - /** The underlying driver name */ - char driver[32]; - - /** - * The supported direction of the video device, i.e. whether it supports - * capture only, render only, or both. - */ - pjmedia_dir dir; - - /** - * Specify whether the device supports callback. Devices that implement - * "active interface" will actively call the callbacks to give or ask for - * video frames. If the device doesn't support callback, application - * must actively request or give video frames from/to the device by using - * pjmedia_vid_dev_stream_get_frame()/pjmedia_vid_dev_stream_put_frame(). - */ - pj_bool_t has_callback; - - /** Device capabilities, as bitmask combination of #pjmedia_vid_dev_cap */ - unsigned caps; - - /** Number of video formats supported by this device */ - unsigned fmt_cnt; - - /** - * Array of supported video formats. Some fields in each supported video - * format may be set to zero or of "unknown" value, to indicate that the - * value is unknown or should be ignored. When these value are not set - * to zero, it indicates that the exact format combination is being used. - */ - pjmedia_format fmt[PJMEDIA_VID_DEV_INFO_FMT_CNT]; - -} pjmedia_vid_dev_info; - - -/** Forward declaration for pjmedia_vid_dev_stream */ -typedef struct pjmedia_vid_dev_stream pjmedia_vid_dev_stream; - -typedef struct pjmedia_vid_dev_cb -{ - /** - * This callback is called by capturer stream when it has captured the - * whole packet worth of video samples. - * - * @param stream The video stream. - * @param user_data User data associated with the stream. - * @param frame Captured frame. - * - * @return Returning non-PJ_SUCCESS will cause the video - * stream to stop - */ - pj_status_t (*capture_cb)(pjmedia_vid_dev_stream *stream, - void *user_data, - pjmedia_frame *frame); - - /** - * This callback is called by renderer stream when it needs additional - * data to be rendered by the device. Application must fill in the whole - * of output buffer with video samples. - * - * The frame argument contains the following values: - * - timestamp Rendering timestamp, in samples. - * - buf Buffer to be filled out by application. - * - size The size requested in bytes, which will be equal - * to the size of one whole packet. - * - * @param stream The video stream. - * @param user_data User data associated with the stream. - * @param frame Video frame, which buffer is to be filled in by - * the application. - * - * @return Returning non-PJ_SUCCESS will cause the video - * stream to stop - */ - pj_status_t (*render_cb)(pjmedia_vid_dev_stream *stream, - void *user_data, - pjmedia_frame *frame); - -} pjmedia_vid_dev_cb; - - -/** - * This structure specifies the parameters to open the video stream. - */ -typedef struct pjmedia_vid_dev_param -{ - /** - * The video direction. This setting is mandatory. - */ - pjmedia_dir dir; - - /** - * The video capture device ID. This setting is mandatory if the video - * direction includes input/capture direction. - */ - pjmedia_vid_dev_index cap_id; - - /** - * The video render device ID. This setting is mandatory if the video - * direction includes output/render direction. - */ - pjmedia_vid_dev_index rend_id; - - /** - * Video clock rate. This setting is mandatory if the video - * direction includes input/capture direction - */ - unsigned clock_rate; - - /** - * Video frame rate. This setting is mandatory if the video - * direction includes input/capture direction - */ -// pjmedia_ratio frame_rate; - - /** - * This flags specifies which of the optional settings are valid in this - * structure. The flags is bitmask combination of pjmedia_vid_dev_cap. - */ - unsigned flags; - - /** - * Set the video format. This setting is mandatory. - */ - pjmedia_format fmt; - - /** - * Window for the renderer to display the video. This setting is optional, - * and will only be used if PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW is set in - * the flags. - */ - pjmedia_vid_dev_hwnd window; - - /** - * Video display size. This setting is optional, and will only be used - * if PJMEDIA_VID_DEV_CAP_OUTPUT_RESIZE is set in the flags. - */ - pjmedia_rect_size disp_size; - - /** - * Video window position. This setting is optional, and will only be used - * if PJMEDIA_VID_DEV_CAP_OUTPUT_POSITION is set in the flags. - */ - pjmedia_coord window_pos; - - /** - * Video window's visibility. This setting is optional, and will only be - * used if PJMEDIA_VID_DEV_CAP_OUTPUT_HIDE is set in the flags. - */ - pj_bool_t window_hide; - - /** - * Enable built-in preview. This setting is optional and is only used - * if PJMEDIA_VID_DEV_CAP_INPUT_PREVIEW capability is supported and - * set in the flags. - */ - pj_bool_t native_preview; - - /** - * Video orientation. This setting is optional and is only used if - * PJMEDIA_VID_DEV_CAP_ORIENTATION capability is supported and is - * set in the flags. - */ - pjmedia_orient orient; - - /** - * Video window flags. This setting is optional, and will only be used - * if PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW_FLAGS is set in the flags. - */ - unsigned window_flags; - -} pjmedia_vid_dev_param; - - -/** Forward declaration for video device factory */ -typedef struct pjmedia_vid_dev_factory pjmedia_vid_dev_factory; - -/* typedef for factory creation function */ -typedef pjmedia_vid_dev_factory* -(*pjmedia_vid_dev_factory_create_func_ptr)(pj_pool_factory*); - -/** - * Initialize pjmedia_vid_dev_switch_param. - * - * @param p Parameter to be initialized. - */ -PJ_INLINE(void) -pjmedia_vid_dev_switch_param_default(pjmedia_vid_dev_switch_param *p) -{ - pj_bzero(p, sizeof(*p)); - p->target_id = PJMEDIA_VID_INVALID_DEV; -} - -/** - * Get string info for the specified capability. - * - * @param cap The capability ID. - * @param p_desc Optional pointer which will be filled with longer - * description about the capability. - * - * @return Capability name. - */ -PJ_DECL(const char*) pjmedia_vid_dev_cap_name(pjmedia_vid_dev_cap cap, - const char **p_desc); - - -/** - * Set a capability field value in #pjmedia_vid_dev_param structure. This will - * also set the flags field for the specified capability in the structure. - * - * @param param The structure. - * @param cap The video capability which value is to be set. - * @param pval Pointer to value. Please see the type of value to - * be supplied in the pjmedia_vid_dev_cap documentation. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) -pjmedia_vid_dev_param_set_cap(pjmedia_vid_dev_param *param, - pjmedia_vid_dev_cap cap, - const void *pval); - - -/** - * Get a capability field value from #pjmedia_vid_dev_param structure. This - * function will return PJMEDIA_EVID_INVCAP error if the flag for that - * capability is not set in the flags field in the structure. - * - * @param param The structure. - * @param cap The video capability which value is to be retrieved. - * @param pval Pointer to value. Please see the type of value to - * be supplied in the pjmedia_vid_dev_cap documentation. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) -pjmedia_vid_dev_param_get_cap(const pjmedia_vid_dev_param *param, - pjmedia_vid_dev_cap cap, - void *pval); - -/** - * Initialize the video device subsystem. This will register all supported - * video device factories to the video device subsystem. This function may be - * called more than once, but each call to this function must have the - * corresponding #pjmedia_vid_dev_subsys_shutdown() call. - * - * @param pf The pool factory. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_dev_subsys_init(pj_pool_factory *pf); - - -/** - * Get the pool factory registered to the video device subsystem. - * - * @return The pool factory. - */ -PJ_DECL(pj_pool_factory*) pjmedia_vid_dev_subsys_get_pool_factory(void); - - -/** - * Shutdown the video device subsystem. This will destroy all video device - * factories registered in the video device subsystem. Note that currently - * opened video streams may or may not be closed, depending on the - * implementation of the video device factories. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_dev_subsys_shutdown(void); - - -/** - * Register a supported video device factory to the video device subsystem. - * Application can either register a function to create the factory, or - * an instance of an already created factory. - * - * This function can only be called after calling - * #pjmedia_vid_dev_subsys_init(). - * - * @param vdf The factory creation function. Either vdf or factory - * argument must be specified. - * @param factory Factory instance. Either vdf or factory - * argument must be specified. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) -pjmedia_vid_register_factory(pjmedia_vid_dev_factory_create_func_ptr vdf, - pjmedia_vid_dev_factory *factory); - - -/** - * Unregister a video device factory from the video device subsystem. This - * function can only be called after calling #pjmedia_vid_dev_subsys_init(). - * Devices from this factory will be unlisted. If a device from this factory - * is currently in use, then the behavior is undefined. - * - * @param vdf The video device factory. Either vdf or factory argument - * must be specified. - * @param factory The factory instance. Either vdf or factory argument - * must be specified. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) -pjmedia_vid_unregister_factory(pjmedia_vid_dev_factory_create_func_ptr vdf, - pjmedia_vid_dev_factory *factory); - - -/** - * Refresh the list of video devices installed in the system. This function - * will only refresh the list of videoo device so all active video streams will - * be unaffected. After refreshing the device list, application MUST make sure - * to update all index references to video devices (i.e. all variables of type - * pjmedia_vid_dev_index) before calling any function that accepts video device - * index as its parameter. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_dev_refresh(void); - - -/** - * Get the number of video devices installed in the system. - * - * @return The number of video devices installed in the system. - */ -PJ_DECL(unsigned) pjmedia_vid_dev_count(void); - - -/** - * Get device information. - * - * @param id The video device ID. - * @param info The device information which will be filled in by this - * function once it returns successfully. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_dev_get_info(pjmedia_vid_dev_index id, - pjmedia_vid_dev_info *info); - - -/** - * Lookup device index based on the driver and device name. - * - * @param drv_name The driver name. - * @param dev_name The device name. - * @param id Pointer to store the returned device ID. - * - * @return PJ_SUCCESS if the device can be found. - */ -PJ_DECL(pj_status_t) pjmedia_vid_dev_lookup(const char *drv_name, - const char *dev_name, - pjmedia_vid_dev_index *id); - - -/** - * Initialize the video device parameters with default values for the - * specified device. - * - * @param id The video device ID. - * @param param The video device parameters which will be initialized - * by this function once it returns successfully. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) -pjmedia_vid_dev_default_param(pj_pool_t *pool, - pjmedia_vid_dev_index id, - pjmedia_vid_dev_param *param); - - -/** - * Open video stream object using the specified parameters. If stream is - * created successfully, this function will return PJ_SUCCESS and the - * stream pointer will be returned in the p_strm argument. - * - * The opened stream may have been opened with different size and fps - * than the requested values in the \a param argument. Application should - * check the actual size and fps that the stream was opened with by inspecting - * the values in the \a param argument and see if they have changed. Also - * if the device ID in the \a param specifies default device, it may be - * replaced with the actual device ID upon return. - * - * @param param Sound device parameters to be used for the stream. - * @param cb Pointer to structure containing video stream - * callbacks. - * @param user_data Arbitrary user data, which will be given back in the - * callbacks. - * @param p_strm Pointer to receive the video stream. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_dev_stream_create( - pjmedia_vid_dev_param *param, - const pjmedia_vid_dev_cb *cb, - void *user_data, - pjmedia_vid_dev_stream **p_strm); - -/** - * Get the running parameters for the specified video stream. - * - * @param strm The video stream. - * @param param Video stream parameters to be filled in by this - * function once it returns successfully. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_dev_stream_get_param( - pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_param *param); - -/** - * Get the value of a specific capability of the video stream. - * - * @param strm The video stream. - * @param cap The video capability which value is to be retrieved. - * @param value Pointer to value to be filled in by this function - * once it returns successfully. Please see the type - * of value to be supplied in the pjmedia_vid_dev_cap - * documentation. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_dev_stream_get_cap( - pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - void *value); - -/** - * Set the value of a specific capability of the video stream. - * - * @param strm The video stream. - * @param cap The video capability which value is to be set. - * @param value Pointer to value. Please see the type of value to - * be supplied in the pjmedia_vid_dev_cap documentation. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_dev_stream_set_cap( - pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - const void *value); - -/** - * Start the stream. - * - * @param strm The video stream. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_dev_stream_start( - pjmedia_vid_dev_stream *strm); - -/** - * Query whether the stream has been started. - * - * @param strm The video stream - * - * @return PJ_TRUE if the video stream has been started. - */ -PJ_DECL(pj_bool_t) pjmedia_vid_dev_stream_is_running(pjmedia_vid_dev_stream *strm); - - -/** - * Request one frame from the stream. Application needs to call this function - * periodically only if the stream doesn't support "active interface", i.e. - * the pjmedia_vid_dev_info.has_callback member is PJ_FALSE. - * - * @param strm The video stream. - * @param frame The video frame to be filled by the device. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_dev_stream_get_frame( - pjmedia_vid_dev_stream *strm, - pjmedia_frame *frame); - -/** - * Put one frame to the stream. Application needs to call this function - * periodically only if the stream doesn't support "active interface", i.e. - * the pjmedia_vid_dev_info.has_callback member is PJ_FALSE. - * - * @param strm The video stream. - * @param frame The video frame to put to the device. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_dev_stream_put_frame( - pjmedia_vid_dev_stream *strm, - const pjmedia_frame *frame); - -/** - * Stop the stream. - * - * @param strm The video stream. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_dev_stream_stop( - pjmedia_vid_dev_stream *strm); - -/** - * Destroy the stream. - * - * @param strm The video stream. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_dev_stream_destroy( - pjmedia_vid_dev_stream *strm); - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJMEDIA_VIDEODEV_VIDEODEV_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia-videodev/videodev_imp.h b/res/pjproject/pjmedia/include/pjmedia-videodev/videodev_imp.h deleted file mode 100644 index e0ef520577..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia-videodev/videodev_imp.h +++ /dev/null @@ -1,230 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __VIDEODEV_IMP_H__ -#define __VIDEODEV_IMP_H__ - -#include - -/** - * @defgroup s8_video_device_implementors_api Video Device Implementors API - * @ingroup video_device_api - * @brief API for video device implementors - * @{ - */ - -/** - * Video device factory operations. - */ -typedef struct pjmedia_vid_dev_factory_op -{ - /** - * Initialize the video device factory. - * - * @param f The video device factory. - */ - pj_status_t (*init)(pjmedia_vid_dev_factory *f); - - /** - * Close this video device factory and release all resources back to the - * operating system. - * - * @param f The video device factory. - */ - pj_status_t (*destroy)(pjmedia_vid_dev_factory *f); - - /** - * Get the number of video devices installed in the system. - * - * @param f The video device factory. - */ - unsigned (*get_dev_count)(pjmedia_vid_dev_factory *f); - - /** - * Get the video device information and capabilities. - * - * @param f The video device factory. - * @param index Device index. - * @param info The video device information structure which will be - * initialized by this function once it returns - * successfully. - */ - pj_status_t (*get_dev_info)(pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_info *info); - - /** - * Initialize the specified video device parameter with the default - * values for the specified device. - * - * @param f The video device factory. - * @param index Device index. - * @param param The video device parameter. - */ - pj_status_t (*default_param)(pj_pool_t *pool, - pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_param *param); - - /** - * Open the video device and create video stream. See - * #pjmedia_vid_dev_stream_create() - */ - pj_status_t (*create_stream)(pjmedia_vid_dev_factory *f, - pjmedia_vid_dev_param *param, - const pjmedia_vid_dev_cb *cb, - void *user_data, - pjmedia_vid_dev_stream **p_vid_strm); - - /** - * Refresh the list of video devices installed in the system. - * - * @param f The video device factory. - */ - pj_status_t (*refresh)(pjmedia_vid_dev_factory *f); - -} pjmedia_vid_dev_factory_op; - - -/** - * This structure describes a video device factory. - */ -struct pjmedia_vid_dev_factory -{ - /** Internal data to be initialized by video subsystem. */ - struct { - /** Driver index */ - unsigned drv_idx; - } sys; - - /** Operations */ - pjmedia_vid_dev_factory_op *op; -}; - - -/** - * Video stream operations. - */ -typedef struct pjmedia_vid_dev_stream_op -{ - /** - * See #pjmedia_vid_dev_stream_get_param() - */ - pj_status_t (*get_param)(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_param *param); - - /** - * See #pjmedia_vid_dev_stream_get_cap() - */ - pj_status_t (*get_cap)(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - void *value); - - /** - * See #pjmedia_vid_dev_stream_set_cap() - */ - pj_status_t (*set_cap)(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - const void *value); - - /** - * See #pjmedia_vid_dev_stream_start() - */ - pj_status_t (*start)(pjmedia_vid_dev_stream *strm); - - /** - * See #pjmedia_vid_dev_stream_get_frame() - */ - pj_status_t (*get_frame)(pjmedia_vid_dev_stream *strm, - pjmedia_frame *frame); - - /** - * See #pjmedia_vid_dev_stream_put_frame() - */ - pj_status_t (*put_frame)(pjmedia_vid_dev_stream *strm, - const pjmedia_frame *frame); - - /** - * See #pjmedia_vid_dev_stream_stop(). - */ - pj_status_t (*stop)(pjmedia_vid_dev_stream *strm); - - /** - * See #pjmedia_vid_dev_stream_destroy(). - */ - pj_status_t (*destroy)(pjmedia_vid_dev_stream *strm); - -} pjmedia_vid_dev_stream_op; - - -/** - * This structure describes the video device stream. - */ -struct pjmedia_vid_dev_stream -{ - /** Internal data to be initialized by video subsystem */ - struct { - /** Driver index */ - unsigned drv_idx; - - /** Has it been started? */ - pj_bool_t is_running; - } sys; - - /** Operations */ - pjmedia_vid_dev_stream_op *op; -}; - - -/** - * Internal API: return the factory instance and device index that's local - * to the factory for a given device ID. - * - * @param id Device id. - * @param p_f Out: factory instance - * @param p_local_index Out: device index within the factory - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_vid_dev_get_local_index(pjmedia_vid_dev_index id, - pjmedia_vid_dev_factory **p_f, - unsigned *p_local_index); - -/** - * Internal API: return the global device index given a factory instance and - * a local device index. - * - * @param f Factory. - * @param local_idx Local index. - * @param pid Returned global index. - * - * @return PJ_SUCCESS on success. - */ -PJ_DEF(pj_status_t) -pjmedia_vid_dev_get_global_index(const pjmedia_vid_dev_factory *f, - unsigned local_idx, - pjmedia_vid_dev_index *pid); - -/** - * @} - */ - - - -#endif /* __VIDEODEV_IMP_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia.h b/res/pjproject/pjmedia/include/pjmedia.h deleted file mode 100644 index 4792d61262..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia.h +++ /dev/null @@ -1,81 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_H__ -#define __PJMEDIA_H__ - -/** - * @file pjmedia.h - * @brief PJMEDIA main header file. - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -//#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#endif /* __PJMEDIA_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/alaw_ulaw.h b/res/pjproject/pjmedia/include/pjmedia/alaw_ulaw.h deleted file mode 100644 index 887a1b5d2b..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/alaw_ulaw.h +++ /dev/null @@ -1,213 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_ALAW_ULAW_H__ -#define __PJMEDIA_ALAW_ULAW_H__ - -#include - -PJ_BEGIN_DECL - -#if defined(PJMEDIA_HAS_ALAW_ULAW_TABLE) && PJMEDIA_HAS_ALAW_ULAW_TABLE!=0 - -extern const pj_uint8_t pjmedia_linear2ulaw_tab[16384]; -extern const pj_uint8_t pjmedia_linear2alaw_tab[16384]; -extern const pj_int16_t pjmedia_ulaw2linear_tab[256]; -extern const pj_int16_t pjmedia_alaw2linear_tab[256]; - - -/** - * Convert 16-bit linear PCM value to 8-bit A-Law. - * - * @param pcm_val 16-bit linear PCM value. - * @return 8-bit A-Law value. - */ -#define pjmedia_linear2alaw(pcm_val) \ - pjmedia_linear2alaw_tab[(((pj_int16_t)pcm_val) >> 2) & 0x3fff] - -/** - * Convert 8-bit A-Law value to 16-bit linear PCM value. - * - * @param chara_val 8-bit A-Law value. - * @return 16-bit linear PCM value. - */ -#define pjmedia_alaw2linear(chara_val) \ - pjmedia_alaw2linear_tab[chara_val] - -/** - * Convert 16-bit linear PCM value to 8-bit U-Law. - * - * @param pcm_val 16-bit linear PCM value. - * @return U-bit A-Law value. - */ -#define pjmedia_linear2ulaw(pcm_val) \ - pjmedia_linear2ulaw_tab[(((pj_int16_t)pcm_val) >> 2) & 0x3fff] - -/** - * Convert 8-bit U-Law value to 16-bit linear PCM value. - * - * @param u_val 8-bit U-Law value. - * @return 16-bit linear PCM value. - */ -#define pjmedia_ulaw2linear(u_val) \ - pjmedia_ulaw2linear_tab[u_val] - -/** - * Convert 8-bit A-Law value to 8-bit U-Law value. - * - * @param aval 8-bit A-Law value. - * @return 8-bit U-Law value. - */ -#define pjmedia_alaw2ulaw(aval) \ - pjmedia_linear2ulaw(pjmedia_alaw2linear(aval)) - -/** - * Convert 8-bit U-Law value to 8-bit A-Law value. - * - * @param uval 8-bit U-Law value. - * @return 8-bit A-Law value. - */ -#define pjmedia_ulaw2alaw(uval) \ - pjmedia_linear2alaw(pjmedia_ulaw2linear(uval)) - - -#else - -/** - * Convert 16-bit linear PCM value to 8-bit A-Law. - * - * @param pcm_val 16-bit linear PCM value. - * @return 8-bit A-Law value. - */ -PJ_DECL(pj_uint8_t) pjmedia_linear2alaw(int pcm_val); - -/** - * Convert 8-bit A-Law value to 16-bit linear PCM value. - * - * @param chara_val 8-bit A-Law value. - * @return 16-bit linear PCM value. - */ -PJ_DECL(int) pjmedia_alaw2linear(unsigned chara_val); - -/** - * Convert 16-bit linear PCM value to 8-bit U-Law. - * - * @param pcm_val 16-bit linear PCM value. - * @return U-bit A-Law value. - */ -PJ_DECL(unsigned char) pjmedia_linear2ulaw(int pcm_val); - -/** - * Convert 8-bit U-Law value to 16-bit linear PCM value. - * - * @param u_val 8-bit U-Law value. - * @return 16-bit linear PCM value. - */ -PJ_DECL(int) pjmedia_ulaw2linear(unsigned char u_val); - -/** - * Convert 8-bit A-Law value to 8-bit U-Law value. - * - * @param aval 8-bit A-Law value. - * @return 8-bit U-Law value. - */ -PJ_DECL(unsigned char) pjmedia_alaw2ulaw(unsigned char aval); - -/** - * Convert 8-bit U-Law value to 8-bit A-Law value. - * - * @param uval 8-bit U-Law value. - * @return 8-bit A-Law value. - */ -PJ_DECL(unsigned char) pjmedia_ulaw2alaw(unsigned char uval); - -#endif - -/** - * Encode 16-bit linear PCM data to 8-bit U-Law data. - * - * @param dst Destination buffer for 8-bit U-Law data. - * @param src Source, 16-bit linear PCM data. - * @param count Number of samples. - */ -PJ_INLINE(void) pjmedia_ulaw_encode(pj_uint8_t *dst, const pj_int16_t *src, - pj_size_t count) -{ - const pj_int16_t *end = src + count; - - while (src < end) { - *dst++ = pjmedia_linear2ulaw(*src++); - } -} - -/** - * Encode 16-bit linear PCM data to 8-bit A-Law data. - * - * @param dst Destination buffer for 8-bit A-Law data. - * @param src Source, 16-bit linear PCM data. - * @param count Number of samples. - */ -PJ_INLINE(void) pjmedia_alaw_encode(pj_uint8_t *dst, const pj_int16_t *src, - pj_size_t count) -{ - const pj_int16_t *end = src + count; - - while (src < end) { - *dst++ = pjmedia_linear2alaw(*src++); - } -} - -/** - * Decode 8-bit U-Law data to 16-bit linear PCM data. - * - * @param dst Destination buffer for 16-bit PCM data. - * @param src Source, 8-bit U-Law data. - * @param len Encoded frame/source length in bytes. - */ -PJ_INLINE(void) pjmedia_ulaw_decode(pj_int16_t *dst, const pj_uint8_t *src, - pj_size_t len) -{ - const pj_uint8_t *end = src + len; - - while (src < end) { - *dst++ = pjmedia_ulaw2linear(*src++); - } -} - -/** - * Decode 8-bit A-Law data to 16-bit linear PCM data. - * - * @param dst Destination buffer for 16-bit PCM data. - * @param src Source, 8-bit A-Law data. - * @param len Encoded frame/source length in bytes. - */ -PJ_INLINE(void) pjmedia_alaw_decode(pj_int16_t *dst, const pj_uint8_t *src, - pj_size_t len) -{ - const pj_uint8_t *end = src + len; - - while (src < end) { - *dst++ = pjmedia_alaw2linear(*src++); - } -} - -PJ_END_DECL - -#endif /* __PJMEDIA_ALAW_ULAW_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/avi.h b/res/pjproject/pjmedia/include/pjmedia/avi.h deleted file mode 100644 index 4ed0a85f2c..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/avi.h +++ /dev/null @@ -1,202 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_AVI_H__ -#define __PJMEDIA_AVI_H__ - - -/** - * @file avi.h - * @brief AVI file manipulation. - */ - -/** - * @defgroup PJMEDIA_FILE_FORMAT File Formats - * @brief Supported file formats - */ - - -/** - * @defgroup PJMEDIA_AVI AVI Header - * @ingroup PJMEDIA_FILE_FORMAT - * @brief Representation of RIFF/AVI file format - * @{ - * - * This the the low level representation of RIFF/AVI file format. For - * higher abstraction, please see \ref PJMEDIA_FILE_PLAY and - * \ref PJMEDIA_FILE_REC. - */ - - -PJ_BEGIN_DECL - -#define PJMEDIA_AVI_MAX_NUM_STREAMS 4 - -static const char avi_tags[][4] = { - { 'R', 'I', 'F', 'F' }, { 'A', 'V', 'I', ' ' }, - { 'h', 'd', 'r', 'l' }, { 'a', 'v', 'i', 'h' }, - { 's', 't', 'r', 'l' }, { 's', 't', 'r', 'h' }, - { 'a', 'u', 'd', 's' }, { 'v', 'i', 'd', 's' }, - { 's', 't', 'r', 'f' }, { 'm', 'o', 'v', 'i' }, - { 'L', 'I', 'S', 'T' }, { 'J', 'U', 'N', 'K' }, -}; - -typedef enum { - PJMEDIA_AVI_RIFF_TAG = 0, - PJMEDIA_AVI_AVI_TAG, - PJMEDIA_AVI_HDRL_TAG, - PJMEDIA_AVI_AVIH_TAG, - PJMEDIA_AVI_STRL_TAG, - PJMEDIA_AVI_STRH_TAG, - PJMEDIA_AVI_AUDS_TAG, - PJMEDIA_AVI_VIDS_TAG, - PJMEDIA_AVI_STRF_TAG, - PJMEDIA_AVI_MOVI_TAG, - PJMEDIA_AVI_LIST_TAG, - PJMEDIA_AVI_JUNK_TAG, -} pjmedia_avi_tag; - - -/** - * These types describe the simpler/canonical version of an AVI file. - * They do not support the full AVI RIFF format specification. - */ -#pragma pack(2) - -/** This structure describes RIFF AVI file header */ -typedef struct riff_hdr_t { - pj_uint32_t riff; /**< "RIFF" ASCII tag. */ - pj_uint32_t file_len; /**< File length minus 8 bytes */ - pj_uint32_t avi; /**< "AVI" ASCII tag. */ -} riff_hdr_t; - -/** This structure describes avih header */ -typedef struct avih_hdr_t { - pj_uint32_t list_tag; - pj_uint32_t list_sz; - pj_uint32_t hdrl_tag; - pj_uint32_t avih; - pj_uint32_t size; - pj_uint32_t usec_per_frame; /**< microsecs between frames */ - pj_uint32_t max_Bps; - pj_uint32_t pad; - pj_uint32_t flags; - pj_uint32_t tot_frames; - pj_uint32_t init_frames; - pj_uint32_t num_streams; - pj_uint32_t buf_size; - pj_uint32_t width; - pj_uint32_t height; - pj_uint32_t reserved[4]; -} avih_hdr_t; - -/** This structure describes strl header */ -typedef struct strl_hdr_t { - pj_uint32_t list_tag; - pj_uint32_t list_sz; - pj_uint32_t strl_tag; - - pj_uint32_t strh; - pj_uint32_t strh_size; - pj_uint32_t data_type; - pj_uint32_t codec; - pj_uint32_t flags; - pj_uint32_t bogus_priority_language; /**< Do not access this data */ - pj_uint32_t init_frames; - pj_uint32_t scale; - pj_uint32_t rate; - pj_uint32_t start; - pj_uint32_t length; - pj_uint32_t buf_size; - pj_uint32_t quality; - pj_uint32_t sample_size; - pj_uint32_t bogus_frame[2]; /**< Do not access this data */ -} strl_hdr_t; - -typedef struct { - pj_uint32_t strf; - pj_uint32_t strf_size; - pj_uint16_t fmt_tag; /**< 1 for PCM */ - pj_uint16_t nchannels; /**< Number of channels. */ - pj_uint32_t sample_rate; /**< Sampling rate. */ - pj_uint32_t bytes_per_sec; /**< Average bytes per second. */ - pj_uint16_t block_align; /**< nchannels * bits / 8 */ - pj_uint16_t bits_per_sample; /**< Bits per sample. */ - pj_uint16_t extra_size; -} strf_audio_hdr_t; - -/** - * Sizes of strf_audio_hdr_t struct, started by the size (in bytes) of - * 32-bits struct members, alternated with the size of 16-bits members. - */ -static const pj_uint8_t strf_audio_hdr_sizes [] = {8, 4, 8, 6}; - -typedef struct { - pj_uint32_t strf; - pj_uint32_t strf_size; - pj_uint32_t biSize; - pj_int32_t biWidth; - pj_int32_t biHeight; - pj_uint16_t biPlanes; - pj_uint16_t biBitCount; - pj_uint32_t biCompression; - pj_uint32_t biSizeImage; - pj_int32_t biXPelsPerMeter; - pj_int32_t biYPelsPerMeter; - pj_uint32_t biClrUsed; - pj_uint32_t biClrImportant; -} strf_video_hdr_t; - -static const pj_uint8_t strf_video_hdr_sizes [] = {20, 4, 24}; - -struct pjmedia_avi_hdr -{ - riff_hdr_t riff_hdr; - avih_hdr_t avih_hdr; - strl_hdr_t strl_hdr[PJMEDIA_AVI_MAX_NUM_STREAMS]; - union { - strf_audio_hdr_t strf_audio_hdr; - strf_video_hdr_t strf_video_hdr; - } strf_hdr[PJMEDIA_AVI_MAX_NUM_STREAMS]; -}; - -#pragma pack() - -/** - * @see pjmedia_avi_hdr - */ -typedef struct pjmedia_avi_hdr pjmedia_avi_hdr; - -/** - * This structure describes generic RIFF subchunk header. - */ -typedef struct pjmedia_avi_subchunk -{ - pj_uint32_t id; /**< Subchunk ASCII tag. */ - pj_uint32_t len; /**< Length following this field */ -} pjmedia_avi_subchunk; - - -PJ_END_DECL - -/** - * @} - */ - - -#endif /* __PJMEDIA_AVI_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/avi_stream.h b/res/pjproject/pjmedia/include/pjmedia/avi_stream.h deleted file mode 100644 index 8acdd78e5d..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/avi_stream.h +++ /dev/null @@ -1,170 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_AVI_STREAM_H__ -#define __PJMEDIA_AVI_STREAM_H__ - -/** - * @file avi_stream.h - * @brief AVI file player. - */ -#include - - - -PJ_BEGIN_DECL - - -/** - * @defgroup PJMEDIA_FILE_PLAY AVI File Player - * @ingroup PJMEDIA_PORT - * @brief Video and audio playback from AVI file - * @{ - */ - -/** - * AVI file player options. - */ -enum pjmedia_avi_file_player_option -{ - /** - * Tell the file player to return NULL frame when the whole - * file has been played. - */ - PJMEDIA_AVI_FILE_NO_LOOP = 1 -}; - -/** - * AVI stream data type. - */ -typedef pjmedia_port pjmedia_avi_stream; - -/** - * Opaque data type for AVI streams. AVI streams is a collection of - * zero or more AVI stream. - */ -typedef struct pjmedia_avi_streams pjmedia_avi_streams; - -/** - * Create avi streams to play an AVI file. AVI player supports - * reading AVI file with uncompressed video format and - * 16 bit PCM or compressed G.711 A-law/U-law audio format. - * - * @param pool Pool to create the streams. - * @param filename File name to open. - * @param flags Avi streams creation flags. - * @param p_streams Pointer to receive the avi streams instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_avi_player_create_streams(pj_pool_t *pool, - const char *filename, - unsigned flags, - pjmedia_avi_streams **p_streams); - -/** - * Get the number of AVI stream. - * - * @param streams The AVI streams. - * - * @return The number of AVI stream. - */ -PJ_DECL(unsigned) -pjmedia_avi_streams_get_num_streams(pjmedia_avi_streams *streams); - -/** - * Return the idx-th stream of the AVI streams. - * - * @param streams The AVI streams. - * @param idx The stream index. - * - * @return The AVI stream or NULL if it does not exist. - */ -PJ_DECL(pjmedia_avi_stream *) -pjmedia_avi_streams_get_stream(pjmedia_avi_streams *streams, - unsigned idx); - -/** - * Return an AVI stream with a certain media type from the AVI streams. - * - * @param streams The AVI streams. - * @param start_idx The starting index. - * @param media_type The media type of the stream. - * - * @return The AVI stream or NULL if it does not exist. - */ -PJ_DECL(pjmedia_avi_stream *) -pjmedia_avi_streams_get_stream_by_media(pjmedia_avi_streams *streams, - unsigned start_idx, - pjmedia_type media_type); - -/** - * Return the media port of an AVI stream. - * - * @param stream The AVI stream. - * - * @return The media port. - */ -PJ_INLINE(pjmedia_port *) -pjmedia_avi_stream_get_port(pjmedia_avi_stream *stream) -{ - return (pjmedia_port *)stream; -} - -/** - * Get the data length, in bytes. - * - * @param stream The AVI stream. - * - * @return The length of the data, in bytes. Upon error it will - * return negative value. - */ -PJ_DECL(pj_ssize_t) pjmedia_avi_stream_get_len(pjmedia_avi_stream *stream); - - -/** - * Register a callback to be called when the file reading has reached the - * end of file. If the file is set to play repeatedly, then the callback - * will be called multiple times. Note that only one callback can be - * registered for each AVI stream. - * - * @param stream The AVI stream. - * @param user_data User data to be specified in the callback - * @param cb Callback to be called. If the callback returns non- - * PJ_SUCCESS, the playback will stop. Note that if - * application destroys the file port in the callback, - * it must return non-PJ_SUCCESS here. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_avi_stream_set_eof_cb(pjmedia_avi_stream *stream, - void *user_data, - pj_status_t (*cb)(pjmedia_avi_stream *stream, - void *usr_data)); - -/** - * @} - */ - - -PJ_END_DECL - - -#endif /* __PJMEDIA_AVI_STREAM_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/bidirectional.h b/res/pjproject/pjmedia/include/pjmedia/bidirectional.h deleted file mode 100644 index 85b2214b8f..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/bidirectional.h +++ /dev/null @@ -1,67 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_BIDIRECTIONAL_H__ -#define __PJMEDIA_BIDIRECTIONAL_H__ - -/** - * @file bidirectional.h - * @brief Bidirectional media port. - */ -#include - - -/** - * @defgroup PJMEDIA_BIDIRECTIONAL_PORT Bidirectional Port - * @ingroup PJMEDIA_PORT - * @brief A bidirectional port combines two unidirectional ports into one - * bidirectional port - * @{ - */ - - -PJ_BEGIN_DECL - - -/** - * Create bidirectional port from two unidirectional ports - * - * @param pool Pool to allocate memory. - * @param get_port Port where get_frame() will be directed to. - * @param put_port Port where put_frame() will be directed to. - * @param p_port Pointer to receive the port instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_bidirectional_port_create(pj_pool_t *pool, - pjmedia_port *get_port, - pjmedia_port *put_port, - pjmedia_port **p_port ); - - - -PJ_END_DECL - -/** - * @} - */ - - -#endif /* __PJMEDIA_BIDIRECTIONAL_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/circbuf.h b/res/pjproject/pjmedia/include/pjmedia/circbuf.h deleted file mode 100644 index eb3a0740e6..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/circbuf.h +++ /dev/null @@ -1,436 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#ifndef __PJMEDIA_CIRC_BUF_H__ -#define __PJMEDIA_CIRC_BUF_H__ - -/** - * @file circbuf.h - * @brief Circular Buffer. - */ - -#include -#include -#include -#include - -/** - * @defgroup PJMED_CIRCBUF Circular Buffer - * @ingroup PJMEDIA_FRAME_OP - * @brief Circular buffer manages read and write contiguous audio samples in a - * non-contiguous buffer as if the buffer were contiguous. This should give - * better performance than keeping contiguous samples in a contiguous buffer, - * since read/write operations will only update the pointers, instead of - * shifting audio samples. - * - * @{ - * - * This section describes PJMEDIA's implementation of circular buffer. - */ - -/* Algorithm checkings, for development purpose only */ -#if 0 -# define PJMEDIA_CIRC_BUF_CHECK(x) pj_assert(x) -#else -# define PJMEDIA_CIRC_BUF_CHECK(x) -#endif - -PJ_BEGIN_DECL - -/** - * Circular buffer structure - */ -typedef struct pjmedia_circ_buf { - pj_int16_t *buf; /**< The buffer */ - unsigned capacity; /**< Buffer capacity, in samples */ - - pj_int16_t *start; /**< Pointer to the first sample */ - unsigned len; /**< Audio samples length, - in samples */ -} pjmedia_circ_buf; - - -/** - * Create the circular buffer. - * - * @param pool Pool where the circular buffer will be allocated - * from. - * @param capacity Capacity of the buffer, in samples. - * @param p_cb Pointer to receive the circular buffer instance. - * - * @return PJ_SUCCESS if the circular buffer has been - * created successfully, otherwise the appropriate - * error will be returned. - */ -PJ_INLINE(pj_status_t) pjmedia_circ_buf_create(pj_pool_t *pool, - unsigned capacity, - pjmedia_circ_buf **p_cb) -{ - pjmedia_circ_buf *cbuf; - - cbuf = PJ_POOL_ZALLOC_T(pool, pjmedia_circ_buf); - cbuf->buf = (pj_int16_t*) pj_pool_calloc(pool, capacity, - sizeof(pj_int16_t)); - cbuf->capacity = capacity; - cbuf->start = cbuf->buf; - cbuf->len = 0; - - *p_cb = cbuf; - - return PJ_SUCCESS; -} - - -/** - * Reset the circular buffer. - * - * @param circbuf The circular buffer. - * - * @return PJ_SUCCESS when successful. - */ -PJ_INLINE(pj_status_t) pjmedia_circ_buf_reset(pjmedia_circ_buf *circbuf) -{ - circbuf->start = circbuf->buf; - circbuf->len = 0; - - return PJ_SUCCESS; -} - - -/** - * Get the circular buffer length, it is number of samples buffered in the - * circular buffer. - * - * @param circbuf The circular buffer. - * - * @return The buffer length. - */ -PJ_INLINE(unsigned) pjmedia_circ_buf_get_len(pjmedia_circ_buf *circbuf) -{ - return circbuf->len; -} - - -/** - * Set circular buffer length. This is useful when audio buffer is manually - * manipulated by the user, e.g: shrinked, expanded. - * - * @param circbuf The circular buffer. - * @param len The new buffer length. - */ -PJ_INLINE(void) pjmedia_circ_buf_set_len(pjmedia_circ_buf *circbuf, - unsigned len) -{ - PJMEDIA_CIRC_BUF_CHECK(len <= circbuf->capacity); - circbuf->len = len; -} - - -/** - * Advance the read pointer of circular buffer. This function will discard - * the skipped samples while advancing the read pointer, thus reducing - * the buffer length. - * - * @param circbuf The circular buffer. - * @param count Distance from current read pointer, can only be - * possitive number, in samples. - * - * @return PJ_SUCCESS when successful, otherwise - * the appropriate error will be returned. - */ -PJ_INLINE(pj_status_t) pjmedia_circ_buf_adv_read_ptr(pjmedia_circ_buf *circbuf, - unsigned count) -{ - if (count >= circbuf->len) - return pjmedia_circ_buf_reset(circbuf); - - PJMEDIA_CIRC_BUF_CHECK(count <= circbuf->len); - - circbuf->start += count; - if (circbuf->start >= circbuf->buf + circbuf->capacity) - circbuf->start -= circbuf->capacity; - circbuf->len -= count; - - return PJ_SUCCESS; -} - - -/** - * Advance the write pointer of circular buffer. Since write pointer is always - * pointing to a sample after the end of sample, so this function also means - * increasing the buffer length. - * - * @param circbuf The circular buffer. - * @param count Distance from current write pointer, can only be - * possitive number, in samples. - * - * @return PJ_SUCCESS when successful, otherwise - * the appropriate error will be returned. - */ -PJ_INLINE(pj_status_t) pjmedia_circ_buf_adv_write_ptr(pjmedia_circ_buf *circbuf, - unsigned count) -{ - if (count + circbuf->len > circbuf->capacity) - return PJ_ETOOBIG; - - circbuf->len += count; - - return PJ_SUCCESS; -} - - -/** - * Get the real buffer addresses containing the audio samples. - * - * @param circbuf The circular buffer. - * @param reg1 Pointer to store the first buffer address. - * @param reg1_len Pointer to store the length of the first buffer, - * in samples. - * @param reg2 Pointer to store the second buffer address. - * @param reg2_len Pointer to store the length of the second buffer, - * in samples. - */ -PJ_INLINE(void) pjmedia_circ_buf_get_read_regions(pjmedia_circ_buf *circbuf, - pj_int16_t **reg1, - unsigned *reg1_len, - pj_int16_t **reg2, - unsigned *reg2_len) -{ - *reg1 = circbuf->start; - *reg1_len = circbuf->len; - if (*reg1 + *reg1_len > circbuf->buf + circbuf->capacity) { - *reg1_len = circbuf->buf + circbuf->capacity - circbuf->start; - *reg2 = circbuf->buf; - *reg2_len = circbuf->len - *reg1_len; - } else { - *reg2 = NULL; - *reg2_len = 0; - } - - PJMEDIA_CIRC_BUF_CHECK(*reg1_len != 0 || (*reg1_len == 0 && - circbuf->len == 0)); - PJMEDIA_CIRC_BUF_CHECK(*reg1_len + *reg2_len == circbuf->len); -} - - -/** - * Get the real buffer addresses that is empty or writeable. - * - * @param circbuf The circular buffer. - * @param reg1 Pointer to store the first buffer address. - * @param reg1_len Pointer to store the length of the first buffer, - * in samples. - * @param reg2 Pointer to store the second buffer address. - * @param reg2_len Pointer to store the length of the second buffer, - * in samples. - */ -PJ_INLINE(void) pjmedia_circ_buf_get_write_regions(pjmedia_circ_buf *circbuf, - pj_int16_t **reg1, - unsigned *reg1_len, - pj_int16_t **reg2, - unsigned *reg2_len) -{ - *reg1 = circbuf->start + circbuf->len; - if (*reg1 >= circbuf->buf + circbuf->capacity) - *reg1 -= circbuf->capacity; - *reg1_len = circbuf->capacity - circbuf->len; - if (*reg1 + *reg1_len > circbuf->buf + circbuf->capacity) { - *reg1_len = circbuf->buf + circbuf->capacity - *reg1; - *reg2 = circbuf->buf; - *reg2_len = circbuf->start - circbuf->buf; - } else { - *reg2 = NULL; - *reg2_len = 0; - } - - PJMEDIA_CIRC_BUF_CHECK(*reg1_len != 0 || (*reg1_len == 0 && - circbuf->len == 0)); - PJMEDIA_CIRC_BUF_CHECK(*reg1_len + *reg2_len == circbuf->capacity - - circbuf->len); -} - - -/** - * Read audio samples from the circular buffer. - * - * @param circbuf The circular buffer. - * @param data Buffer to store the read audio samples. - * @param count Number of samples being read. - * - * @return PJ_SUCCESS when successful, otherwise - * the appropriate error will be returned. - */ -PJ_INLINE(pj_status_t) pjmedia_circ_buf_read(pjmedia_circ_buf *circbuf, - pj_int16_t *data, - unsigned count) -{ - pj_int16_t *reg1, *reg2; - unsigned reg1cnt, reg2cnt; - - /* Data in the buffer is less than requested */ - if (count > circbuf->len) - return PJ_ETOOBIG; - - pjmedia_circ_buf_get_read_regions(circbuf, ®1, ®1cnt, - ®2, ®2cnt); - if (reg1cnt >= count) { - pjmedia_copy_samples(data, reg1, count); - } else { - pjmedia_copy_samples(data, reg1, reg1cnt); - pjmedia_copy_samples(data + reg1cnt, reg2, count - reg1cnt); - } - - return pjmedia_circ_buf_adv_read_ptr(circbuf, count); -} - - -/** - * Write audio samples to the circular buffer. - * - * @param circbuf The circular buffer. - * @param data Audio samples to be written. - * @param count Number of samples being written. - * - * @return PJ_SUCCESS when successful, otherwise - * the appropriate error will be returned. - */ -PJ_INLINE(pj_status_t) pjmedia_circ_buf_write(pjmedia_circ_buf *circbuf, - pj_int16_t *data, - unsigned count) -{ - pj_int16_t *reg1, *reg2; - unsigned reg1cnt, reg2cnt; - - /* Data to write is larger than buffer can store */ - if (count > circbuf->capacity - circbuf->len) - return PJ_ETOOBIG; - - pjmedia_circ_buf_get_write_regions(circbuf, ®1, ®1cnt, - ®2, ®2cnt); - if (reg1cnt >= count) { - pjmedia_copy_samples(reg1, data, count); - } else { - pjmedia_copy_samples(reg1, data, reg1cnt); - pjmedia_copy_samples(reg2, data + reg1cnt, count - reg1cnt); - } - - return pjmedia_circ_buf_adv_write_ptr(circbuf, count); -} - - -/** - * Copy audio samples from the circular buffer without changing its state. - * - * @param circbuf The circular buffer. - * @param start_idx Starting sample index to be copied. - * @param data Buffer to store the read audio samples. - * @param count Number of samples being read. - * - * @return PJ_SUCCESS when successful, otherwise - * the appropriate error will be returned. - */ -PJ_INLINE(pj_status_t) pjmedia_circ_buf_copy(pjmedia_circ_buf *circbuf, - unsigned start_idx, - pj_int16_t *data, - unsigned count) -{ - pj_int16_t *reg1, *reg2; - unsigned reg1cnt, reg2cnt; - - /* Data in the buffer is less than requested */ - if (count + start_idx > circbuf->len) - return PJ_ETOOBIG; - - pjmedia_circ_buf_get_read_regions(circbuf, ®1, ®1cnt, - ®2, ®2cnt); - if (reg1cnt > start_idx) { - unsigned tmp_len; - tmp_len = reg1cnt - start_idx; - if (tmp_len > count) - tmp_len = count; - pjmedia_copy_samples(data, reg1 + start_idx, tmp_len); - if (tmp_len < count) - pjmedia_copy_samples(data + tmp_len, reg2, count - tmp_len); - } else { - pjmedia_copy_samples(data, reg2 + start_idx - reg1cnt, count); - } - - return PJ_SUCCESS; -} - - -/** - * Pack the buffer so the first sample will be in the beginning of the buffer. - * This will also make the buffer contiguous. - * - * @param circbuf The circular buffer. - * - * @return PJ_SUCCESS when successful, otherwise - * the appropriate error will be returned. - */ -PJ_INLINE(pj_status_t) pjmedia_circ_buf_pack_buffer(pjmedia_circ_buf *circbuf) -{ - pj_int16_t *reg1, *reg2; - unsigned reg1cnt, reg2cnt; - unsigned gap; - - pjmedia_circ_buf_get_read_regions(circbuf, ®1, ®1cnt, - ®2, ®2cnt); - - /* Check if not contigue */ - if (reg2cnt != 0) { - /* Check if no space left to roll the buffer - * (or should this function provide temporary buffer?) - */ - gap = circbuf->capacity - pjmedia_circ_buf_get_len(circbuf); - if (gap == 0) - return PJ_ETOOBIG; - - /* Roll buffer left using the gap until reg2cnt == 0 */ - do { - if (gap > reg2cnt) - gap = reg2cnt; - pjmedia_move_samples(reg1 - gap, reg1, reg1cnt); - pjmedia_copy_samples(reg1 + reg1cnt - gap, reg2, gap); - if (gap < reg2cnt) - pjmedia_move_samples(reg2, reg2 + gap, reg2cnt - gap); - reg1 -= gap; - reg1cnt += gap; - reg2cnt -= gap; - } while (reg2cnt > 0); - } - - /* Finally, Shift samples to the left edge */ - if (reg1 != circbuf->buf) - pjmedia_move_samples(circbuf->buf, reg1, - pjmedia_circ_buf_get_len(circbuf)); - circbuf->start = circbuf->buf; - - return PJ_SUCCESS; -} - - -PJ_END_DECL - -/** - * @} - */ - -#endif diff --git a/res/pjproject/pjmedia/include/pjmedia/clock.h b/res/pjproject/pjmedia/include/pjmedia/clock.h deleted file mode 100644 index dd33a108be..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/clock.h +++ /dev/null @@ -1,335 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CLOCK_H__ -#define __PJMEDIA_CLOCK_H__ - -/** - * @file clock.h - * @brief Media clock. - */ -#include - - -/** - * @defgroup PJMEDIA_PORT_CLOCK Clock/Timing - * @ingroup PJMEDIA_PORT - * @brief Various types of classes that provide timing. - * @{ - - The media clock/timing extends the media port concept that is explained - in @ref PJMEDIA_PORT. When clock is present in the ports - interconnection, media will flow automatically (and with correct timing too!) - from one media port to another. - - There are few objects in PJMEDIA that are able to provide clock/timing - to media ports interconnection: - - - @ref PJMED_SND_PORT\n - The sound device makes a good candidate as the clock source, and - PJMEDIA @ref PJMED_SND is designed so that it is able to invoke - operations according to timing driven by the sound hardware clock - (this may sound complicated, but actually it just means that - the sound device abstraction provides callbacks to be called when - it has/wants media frames).\n - See @ref PJMED_SND_PORT for more details. - - - @ref PJMEDIA_MASTER_PORT\n - The master port uses @ref PJMEDIA_CLOCK as the clock source. By using - @ref PJMEDIA_MASTER_PORT, it is possible to interconnect passive - media ports and let the frames flow automatically in timely manner.\n - Please see @ref PJMEDIA_MASTER_PORT for more details. - - @} - */ - - -/** - * @addtogroup PJMEDIA_CLOCK Clock Generator - * @ingroup PJMEDIA_PORT_CLOCK - * @brief Interface for generating clock. - * @{ - * - * The clock generator provides the application with media timing, - * and it is used by the @ref PJMEDIA_MASTER_PORT for its sound clock. - * - * The clock generator may be configured to run asynchronously - * (the default behavior) or synchronously. When it is run - * asynchronously, it will call the application's callback every time - * the clock tick expires. When it is run synchronously, - * application must continuously polls the clock generator to synchronize - * the timing. - */ - -PJ_BEGIN_DECL - -/** - * Media clock source. - */ -typedef struct pjmedia_clock_src -{ - pjmedia_type media_type; /**< Media type. */ - unsigned clock_rate; /**< Clock rate. */ - unsigned ptime_usec; /**< Frame interval (in usec). */ - /** - * The timestamp field holds an increasing value in samples and its - * value is expected to be increased by clock_rate samples per second. - */ - pj_timestamp timestamp; - /** - * Timestamp's last update. The last_update field contains a value in - * ticks, and it is expected to be increased by pj_get_timestamp_freq() - * ticks per second. - */ - pj_timestamp last_update; -} pjmedia_clock_src; - -/** - * This is an auxiliary function to initialize the media clock source. - * - * @param clocksrc The clock source to be initialized. - * @param media_type The media type. - * @param clock_rate The clock rate. - * @param ptime_usec Media frame interval (in usec). - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_clock_src_init( pjmedia_clock_src *clocksrc, - pjmedia_type media_type, - unsigned clock_rate, - unsigned ptime_usec ); - -/** - * This function updates the clock source's timestamp. Application should - * use this function instead of updating the timestamp directly since this - * function will also update the last_update field of the clock source. - * - * @param clocksrc The clock source to be updated. - * @param timestamp The new timestamp, can be NULL if the current - * timestamp does not change (in this case it - * will only update the last_update field). - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_clock_src_update( pjmedia_clock_src *clocksrc, - const pj_timestamp *timestamp ); - -/** - * This function gets the clock source's current timestamp. Application - * should use this function instead of accessing the timestamp directly - * since this function will calculate the predicted timestamp for current - * time, based on the values of timestamp, last_update, and clock_rate. - * - * @param clocksrc The clock source. - * @param timestamp Argument to receive the current timestamp - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_clock_src_get_current_timestamp( const pjmedia_clock_src *clocksrc, - pj_timestamp *timestamp); - -/** - * This function gets the clock source's time in msec. - * - * @param clocksrc The clock source. - * - * @return The clock source's time (in msec). - */ -PJ_DECL(pj_uint32_t) -pjmedia_clock_src_get_time_msec( const pjmedia_clock_src *clocksrc ); - - -/** - * Opaque declaration for media clock. - */ -typedef struct pjmedia_clock pjmedia_clock; - - -/** - * Options when creating the clock. - */ -enum pjmedia_clock_options -{ - /** - * Prevents the clock from running asynchronously. In this case, - * application must poll the clock continuously by calling - * #pjmedia_clock_wait() in order to synchronize timing. - */ - PJMEDIA_CLOCK_NO_ASYNC = 1, - - /** - * Prevent the clock from setting it's thread to highest priority. - */ - PJMEDIA_CLOCK_NO_HIGHEST_PRIO = 2 -}; - - -typedef struct pjmedia_clock_param -{ - /** - * The frame interval, in microseconds. - */ - unsigned usec_interval; - /** - * The media clock rate, to determine timestamp - * increment for each call. - */ - unsigned clock_rate; -} pjmedia_clock_param; - -/** - * Type of media clock callback. - * - * @param ts Current timestamp, in samples. - * @param user_data Application data that is passed when - * the clock was created. - */ -typedef void pjmedia_clock_callback(const pj_timestamp *ts, - void *user_data); - - - -/** - * Create media clock. This creates a media clock object that will run - * periodically at an interval that is calculated from the audio parameters. - * Once created, application must call #pjmedia_clock_start() to actually - * start the clock. - * - * @see pjmedia_clock_create2() - * - * @param pool Pool to allocate memory. - * @param clock_rate Number of samples per second. - * @param channel_count Number of channel. - * @param samples_per_frame Number of samples per frame. This argument - * along with clock_rate and channel_count, specifies - * the interval of each clock run (or clock ticks). - * @param options Bitmask of pjmedia_clock_options. - * @param cb Callback to be called for each clock tick. - * @param user_data User data, which will be passed to the callback. - * @param p_clock Pointer to receive the clock instance. - * - * @return PJ_SUCCESS on success, or the appropriate error - * code. - */ -PJ_DECL(pj_status_t) pjmedia_clock_create( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned options, - pjmedia_clock_callback *cb, - void *user_data, - pjmedia_clock **p_clock); - - -/** - * Create media clock. This creates a media clock object that will run - * periodically at the specified interval. Once created, application must - * call #pjmedia_clock_start() to actually start the clock. - * - * @param pool Pool to allocate memory. - * @param param The clock parameter. - * @param options Bitmask of pjmedia_clock_options. - * @param cb Callback to be called for each clock tick. - * @param user_data User data, which will be passed to the callback. - * @param p_clock Pointer to receive the clock instance. - * - * @return PJ_SUCCESS on success, or the appropriate error - * code. - */ -PJ_DECL(pj_status_t) pjmedia_clock_create2(pj_pool_t *pool, - const pjmedia_clock_param *param, - unsigned options, - pjmedia_clock_callback *cb, - void *user_data, - pjmedia_clock **p_clock); - -/** - * Start the clock. For clock created with asynchronous flag set to TRUE, - * this may start a worker thread for the clock (depending on the - * backend clock implementation being used). - * - * @param clock The media clock. - * - * @return PJ_SUCCES on success. - */ -PJ_DECL(pj_status_t) pjmedia_clock_start(pjmedia_clock *clock); - - -/** - * Stop the clock. - * - * @param clock The media clock. - * - * @return PJ_SUCCES on success. - */ -PJ_DECL(pj_status_t) pjmedia_clock_stop(pjmedia_clock *clock); - - -/** - * Modify the clock's parameter. - * - * @param clock The media clock. - * @param param The clock's new parameter. - * @return PJ_SUCCES on success. - */ -PJ_DECL(pj_status_t) pjmedia_clock_modify(pjmedia_clock *clock, - const pjmedia_clock_param *param); - - -/** - * Poll the media clock, and execute the callback when the clock tick has - * elapsed. This operation is only valid if the clock is created with async - * flag set to FALSE. - * - * @param clock The media clock. - * @param wait If non-zero, then the function will block until - * a clock tick elapsed and callback has been called. - * @param ts Optional argument to receive the current - * timestamp. - * - * @return Non-zero if clock tick has elapsed, or FALSE if - * the function returns before a clock tick has - * elapsed. - */ -PJ_DECL(pj_bool_t) pjmedia_clock_wait(pjmedia_clock *clock, - pj_bool_t wait, - pj_timestamp *ts); - - -/** - * Destroy the clock. - * - * @param clock The media clock. - * - * @return PJ_SUCCES on success. - */ -PJ_DECL(pj_status_t) pjmedia_clock_destroy(pjmedia_clock *clock); - - - -PJ_END_DECL - -/** - * @} - */ - - -#endif /* __PJMEDIA_CLOCK_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/codec.h b/res/pjproject/pjmedia/include/pjmedia/codec.h deleted file mode 100644 index 8e2f23bc76..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/codec.h +++ /dev/null @@ -1,1126 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CODEC_H__ -#define __PJMEDIA_CODEC_H__ - - -/** - * @file codec.h - * @brief Codec framework. - */ - -#include -#include -#include -#include - -PJ_BEGIN_DECL - - -/** - * @defgroup PJMEDIA_CODEC Codec Framework - * @brief Media codec framework and management - * @{ - * - * @section codec_mgmt_sec Codec Management - * @subsection codec_fact_sec Codec Manager - * - * The codec manager is used to manage all codec capabilities in the endpoint. - * When used with media endpoint (pjmedia_endpt), application can retrieve - * the codec manager instance by calling #pjmedia_endpt_get_codec_mgr(). - * - * @subsection reg_new_codec Registering New Codec - * - * New codec types can be registered to PJMEDIA (or to be precise, to the - * codec manager) during run-time. - * To do this, application needs to initialize an instance of - * codec factory (#pjmedia_codec_factory) and registers this codec factory - * by calling #pjmedia_codec_mgr_register_factory(). - * - * For codecs implemented/supported by PJMEDIA, this process is normally - * concealed in an easy to use function such as #pjmedia_codec_g711_init(). - * - * @subsection codec_factory Codec Factory - * - * A codec factory (#pjmedia_codec_factory) is registered to codec manager, - * and it is used to create and release codec instance. - * - * The most important member of the codec factory is the "virtual" function - * table #pjmedia_codec_factory_op, where it contains, among other thing, - * pointer to functions to allocate and deallocate codec instance. - * - * @subsection codec_inst Codec Instance - * - * Application allocates codec instance by calling #pjmedia_codec_mgr_alloc_codec(). - * One codec instance (#pjmedia_codec) can be used for simultaneous encoding - * and decoding. - * - * The most important member of the codec instance is the "virtual" function - * table #pjmedia_codec_op, where it holds pointer to functions to - * encode/decode media frames. - * - * @subsection codec_ident Codec Identification - * - * A particular codec type in PJMEDIA can be uniquely identified by two - * keys: by #pjmedia_codec_info, or by #pjmedia_codec_id string. A fully - * qualified codec ID string consists of codec name, sampling rate, and - * number of channels. However, application may use only first parts of - * the tokens as long as it will make to codec ID unique. For example, "gsm" - * is a fully qualified codec name, since it will always have 8000 clock - * rate and 1 channel. Other examples of fully qualified codec ID strings - * are "pcma", "speex/8000", "speex/16000", and "L16/16000/1". A codec - * id "speex" (without clock rate) is not fully qualified, since it will - * match the narrowband, wideband, and ultrawideband Speex codec. - * - * The two keys can be converted to one another, with - * #pjmedia_codec_info_to_id() and #pjmedia_codec_mgr_find_codecs_by_id() - * functions. - * - * Codec ID string is not case sensitive. - * - * - * @section using_codec Using the Codec Framework - * @subsection init_alloc_codec Allocating Codec - * - * Application needs to allocate one codec instance for encoding and decoding - * media frames. One codec instance can be used to perform both encoding - * and decoding. - * - * Application allocates codec by calling #pjmedia_codec_mgr_alloc_codec(). - * This function takes #pjmedia_codec_info argument, which is used to locate - * the particular codec factory to be used to allocate the codec. - * - * Application can build #pjmedia_codec_info structure manually for - * the specific codec, or alternatively it may get the #pjmedia_codec_info - * from the codec ID string, by using #pjmedia_codec_mgr_find_codecs_by_id() - * function. - * - * The following snippet shows an example to allocate a codec: - * - \code - pj_str_t codec_id; - pjmedia_codec_info *codec_info; - unsigned count = 1; - pjmedia_codec *codec; - - codec_id = pj_str("pcma"); - - // Find codec info for the specified coded ID (i.e. "pcma"). - status = pjmedia_codec_mgr_find_codecs_by_id( codec_mgr, &codec_id, - &count, &codec_info, NULL); - - // Allocate the codec. - status = pjmedia_codec_mgr_alloc_codec( codec_mgr, codec_info, &codec ); - - \endcode - * - * - * @subsection opening_codec Initializing Codec - * - * Once codec is allocated, application needs to initialize the codec - * by calling open member of the codec. This function - * takes #pjmedia_codec_param as the argument, which contains the - * settings for the codec. - * - * Application shoud use #pjmedia_codec_mgr_get_default_param() function - * to initiaize #pjmedia_codec_param. The setting part of - * #pjmedia_codec_param then can be tuned to suit the application's - * requirements. - * - * The following snippet shows an example to initialize codec: - * - \code - pjmedia_codec_param param; - - // Retrieve default codec param for the specified codec. - pjmedia_codec_mgr_get_default_param(codec_mgr, codec_info - ¶m); - - // Application may change the "settings" part of codec param, - // for example, to disable VAD - param.setting.vad = 0; - - // Open the codec using the specified settings. - codec->op->open( codec, ¶m ); - - \endcode - * - * - * @subsection enc_dec_codec Encoding and Decoding Media Frames - * - * Application encodes and decodes media frames by calling - * encode and decode member of the codec's "virtual" - * function table (#pjmedia_codec_op). - * - * @subsection plc_codec Concealing Lost Frames - * - * All codecs has Packet Lost Concealment (PLC) feature, and application - * can activate the PLC to conceal lost frames by calling recover - * member of the codec's "virtual" function table (#pjmedia_codec_op). - * - * If the codec's algorithm supports PLC, the recover function - * will use the codec's PLC. Otherwise for codecs that don't have - * intrinsic PLC, PJMEDIA will suply the PLC implementation from the - * @ref PJMED_PLC implementation. - * - * @subsection close_codec Closing and Releasing the Codec - * - * The codec must be closed by calling close member of the codec's - * operation. Then it must be released by calling - * #pjmedia_codec_mgr_dealloc_codec(). - */ - - -/** - * Standard RTP static payload types, as defined by RFC 3551. - * The header file also declares dynamic payload - * type numbers that are used by PJMEDIA when advertising the capability - * for example in SDP message. - */ -enum pjmedia_rtp_pt -{ - PJMEDIA_RTP_PT_PCMU = 0, /**< audio PCMU */ - PJMEDIA_RTP_PT_G721 = 2, /**< audio G721 (old def for G726-32) */ - PJMEDIA_RTP_PT_GSM = 3, /**< audio GSM */ - PJMEDIA_RTP_PT_G723 = 4, /**< audio G723 */ - PJMEDIA_RTP_PT_DVI4_8K = 5, /**< audio DVI4 8KHz */ - PJMEDIA_RTP_PT_DVI4_16K = 6, /**< audio DVI4 16Khz */ - PJMEDIA_RTP_PT_LPC = 7, /**< audio LPC */ - PJMEDIA_RTP_PT_PCMA = 8, /**< audio PCMA */ - PJMEDIA_RTP_PT_G722 = 9, /**< audio G722 */ - PJMEDIA_RTP_PT_L16_2 = 10, /**< audio 16bit linear 44.1KHz stereo */ - PJMEDIA_RTP_PT_L16_1 = 11, /**< audio 16bit linear 44.1KHz mono */ - PJMEDIA_RTP_PT_QCELP = 12, /**< audio QCELP */ - PJMEDIA_RTP_PT_CN = 13, /**< audio Comfort Noise */ - PJMEDIA_RTP_PT_MPA = 14, /**< audio MPEG1/MPEG2 elemetr. streams */ - PJMEDIA_RTP_PT_G728 = 15, /**< audio G728 */ - PJMEDIA_RTP_PT_DVI4_11K = 16, /**< audio DVI4 11.025KHz mono */ - PJMEDIA_RTP_PT_DVI4_22K = 17, /**< audio DVI4 22.050KHz mono */ - PJMEDIA_RTP_PT_G729 = 18, /**< audio G729 */ - - PJMEDIA_RTP_PT_CELB = 25, /**< video/comb Cell-B by Sun (RFC2029) */ - PJMEDIA_RTP_PT_JPEG = 26, /**< video JPEG */ - PJMEDIA_RTP_PT_NV = 28, /**< video NV by nv program by Xerox */ - PJMEDIA_RTP_PT_H261 = 31, /**< video H261 */ - PJMEDIA_RTP_PT_MPV = 32, /**< video MPEG1 or MPEG2 elementary */ - PJMEDIA_RTP_PT_MP2T = 33, /**< video MPEG2 transport */ - PJMEDIA_RTP_PT_H263 = 34, /**< video H263 */ - - PJMEDIA_RTP_PT_DYNAMIC = 96 /**< start of dynamic RTP payload */ - -}; - - -/** - * Identification used to search for codec factory that supports specific - * codec specification. - */ -typedef struct pjmedia_codec_info -{ - pjmedia_type type; /**< Media type. */ - unsigned pt; /**< Payload type (can be dynamic). */ - pj_str_t encoding_name; /**< Encoding name. */ - unsigned clock_rate; /**< Sampling rate. */ - unsigned channel_cnt; /**< Channel count. */ -} pjmedia_codec_info; - -/** - * Structure of codec specific parameters which contains name=value pairs. - * The codec specific parameters are to be used with SDP according to - * the standards (e.g: RFC 3555) in SDP 'a=fmtp' attribute. - */ -typedef struct pjmedia_codec_fmtp -{ - pj_uint8_t cnt; /**< Number of parameters. */ - struct param { - pj_str_t name; /**< Parameter name. */ - pj_str_t val; /**< Parameter value. */ - } param [PJMEDIA_CODEC_MAX_FMTP_CNT]; /**< The parameters. */ -} pjmedia_codec_fmtp; - -/** - * Detailed codec attributes used in configuring a codec and in querying - * the capability of codec factories. Default attributes of any codecs could - * be queried using #pjmedia_codec_mgr_get_default_param() and modified - * using #pjmedia_codec_mgr_set_default_param(). - * - * Please note that codec parameter also contains SDP specific setting, - * #dec_fmtp and #enc_fmtp, which may need to be set appropriately based on - * the effective setting. See each codec documentation for more detail. - */ -typedef struct pjmedia_codec_param -{ - /** - * The "info" part of codec param describes the capability of the codec, - * and the value should NOT be changed by application. - */ - struct { - unsigned clock_rate; /**< Sampling rate in Hz */ - unsigned channel_cnt; /**< Channel count. */ - pj_uint32_t avg_bps; /**< Average bandwidth in bits/sec */ - pj_uint32_t max_bps; /**< Maximum bandwidth in bits/sec */ - pj_uint16_t frm_ptime; /**< Decoder frame ptime in msec. */ - pj_uint16_t enc_ptime; /**< Encoder ptime, or zero if it's - equal to decoder ptime. */ - pj_uint8_t pcm_bits_per_sample; /**< Bits/sample in the PCM side */ - pj_uint8_t pt; /**< Payload type. */ - pjmedia_format_id fmt_id; /**< Source format, it's format of - encoder input and decoder - output. */ - } info; - - /** - * The "setting" part of codec param describes various settings to be - * applied to the codec. When the codec param is retrieved from the codec - * or codec factory, the values of these will be filled by the capability - * of the codec. Any features that are supported by the codec (e.g. vad - * or plc) will be turned on, so that application can query which - * capabilities are supported by the codec. Application may change the - * settings here before instantiating the codec/stream. - */ - struct { - pj_uint8_t frm_per_pkt; /**< Number of frames per packet. */ - unsigned vad:1; /**< Voice Activity Detector. */ - unsigned cng:1; /**< Comfort Noise Generator. */ - unsigned penh:1; /**< Perceptual Enhancement */ - unsigned plc:1; /**< Packet loss concealment */ - unsigned reserved:1; /**< Reserved, must be zero. */ - pjmedia_codec_fmtp enc_fmtp;/**< Encoder's fmtp params. */ - pjmedia_codec_fmtp dec_fmtp;/**< Decoder's fmtp params. */ - } setting; -} pjmedia_codec_param; - - - -/* - * Forward declaration for pjmedia_codec. - */ -typedef struct pjmedia_codec pjmedia_codec; - - -/** - * This structure describes codec operations. Each codec MUST implement - * all of these functions. - */ -typedef struct pjmedia_codec_op -{ - /** - * Initialize codec using the specified attribute. - * - * Application should call #pjmedia_codec_init() instead of - * calling this function directly. - * - * @param codec The codec instance. - * @param pool Pool to use when the codec needs to allocate - * some memory. - * - * @return PJ_SUCCESS on success. - */ - pj_status_t (*init)(pjmedia_codec *codec, - pj_pool_t *pool ); - - /** - * Open the codec and initialize with the specified parameter. - * Upon successful initialization, the codec may modify the parameter - * and fills in the unspecified values (such as enc_ptime, when - * encoder ptime is different than decoder ptime). - * - * Application should call #pjmedia_codec_open() instead of - * calling this function directly. - * - * @param codec The codec instance. - * @param param Codec initialization parameter. - * - * @return PJ_SUCCESS on success. - */ - pj_status_t (*open)(pjmedia_codec *codec, - pjmedia_codec_param *param ); - - /** - * Close and shutdown codec, releasing all resources allocated by - * this codec, if any. - * - * Application should call #pjmedia_codec_close() instead of - * calling this function directly. - * - * @param codec The codec instance. - * - * @return PJ_SUCCESS on success. - */ - pj_status_t (*close)(pjmedia_codec *codec); - - /** - * Modify the codec parameter after the codec is open. - * Note that not all codec parameters can be modified during run-time. - * When the parameter cannot be changed, this function will return - * non-PJ_SUCCESS, and the original parameters will not be changed. - * - * Application can expect changing trivial codec settings such as - * changing VAD setting to succeed. - * - * Application should call #pjmedia_codec_modify() instead of - * calling this function directly. - * - * @param codec The codec instance. - * @param param The new codec parameter. - * - * @return PJ_SUCCESS on success. - */ - pj_status_t (*modify)(pjmedia_codec *codec, - const pjmedia_codec_param *param ); - - /** - * Instruct the codec to inspect the specified payload/packet and - * split the packet into individual base frames. Each output frames will - * have ptime that is equal to basic frame ptime (i.e. the value of - * info.frm_ptime in #pjmedia_codec_param). - * - * Application should call #pjmedia_codec_parse() instead of - * calling this function directly. - * - * @param codec The codec instance - * @param pkt The input packet. - * @param pkt_size Size of the packet. - * @param timestamp The timestamp of the first sample in the packet. - * @param frame_cnt On input, specifies the maximum number of frames - * in the array. On output, the codec must fill - * with number of frames detected in the packet. - * @param frames On output, specifies the frames that have been - * detected in the packet. - * - * @return PJ_SUCCESS on success. - */ - pj_status_t (*parse)( pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *timestamp, - unsigned *frame_cnt, - pjmedia_frame frames[]); - - /** - * Instruct the codec to encode the specified input frame. The input - * PCM samples MUST have ptime that is multiplication of base frame - * ptime (i.e. the value of info.frm_ptime in #pjmedia_codec_param). - * - * Application should call #pjmedia_codec_encode() instead of - * calling this function directly. - * - * @param codec The codec instance. - * @param input The input frame. - * @param out_size The length of buffer in the output frame. - * @param output The output frame. - * - * @return PJ_SUCCESS on success; - */ - pj_status_t (*encode)(pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned out_size, - struct pjmedia_frame *output); - - /** - * Instruct the codec to decode the specified input frame. The input - * frame MUST have ptime that is exactly equal to base frame - * ptime (i.e. the value of info.frm_ptime in #pjmedia_codec_param). - * Application can achieve this by parsing the packet into base - * frames before decoding each frame. - * - * Application should call #pjmedia_codec_decode() instead of - * calling this function directly. - * - * @param codec The codec instance. - * @param input The input frame. - * @param out_size The length of buffer in the output frame. - * @param output The output frame. - * - * @return PJ_SUCCESS on success; - */ - pj_status_t (*decode)(pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned out_size, - struct pjmedia_frame *output); - - /** - * Instruct the codec to recover a missing frame. - * - * Application should call #pjmedia_codec_recover() instead of - * calling this function directly. - * - * @param codec The codec instance. - * @param out_size The length of buffer in the output frame. - * @param output The output frame where generated signal - * will be placed. - * - * @return PJ_SUCCESS on success; - */ - pj_status_t (*recover)(pjmedia_codec *codec, - unsigned out_size, - struct pjmedia_frame *output); -} pjmedia_codec_op; - - - -/* - * Forward declaration for pjmedia_codec_factory. - */ -typedef struct pjmedia_codec_factory pjmedia_codec_factory; - - -/** - * This structure describes a codec instance. - */ -struct pjmedia_codec -{ - /** Entries to put this codec instance in codec factory's list. */ - PJ_DECL_LIST_MEMBER(struct pjmedia_codec); - - /** Codec's private data. */ - void *codec_data; - - /** Codec factory where this codec was allocated. */ - pjmedia_codec_factory *factory; - - /** Operations to codec. */ - pjmedia_codec_op *op; -}; - - - -/** - * This structure describes operations that must be supported by codec - * factories. - */ -typedef struct pjmedia_codec_factory_op -{ - /** - * Check whether the factory can create codec with the specified - * codec info. - * - * @param factory The codec factory. - * @param info The codec info. - * - * @return PJ_SUCCESS if this factory is able to create an - * instance of codec with the specified info. - */ - pj_status_t (*test_alloc)(pjmedia_codec_factory *factory, - const pjmedia_codec_info *info ); - - /** - * Create default attributes for the specified codec ID. This function - * can be called by application to get the capability of the codec. - * - * @param factory The codec factory. - * @param info The codec info. - * @param attr The attribute to be initialized. - * - * @return PJ_SUCCESS if success. - */ - pj_status_t (*default_attr)(pjmedia_codec_factory *factory, - const pjmedia_codec_info *info, - pjmedia_codec_param *attr ); - - /** - * Enumerate supported codecs that can be created using this factory. - * - * @param factory The codec factory. - * @param count On input, specifies the number of elements in - * the array. On output, the value will be set to - * the number of elements that have been initialized - * by this function. - * @param info The codec info array, which contents will be - * initialized upon return. - * - * @return PJ_SUCCESS on success. - */ - pj_status_t (*enum_info)(pjmedia_codec_factory *factory, - unsigned *count, - pjmedia_codec_info codecs[]); - - /** - * Create one instance of the codec with the specified codec info. - * - * @param factory The codec factory. - * @param info The codec info. - * @param p_codec Pointer to receive the codec instance. - * - * @return PJ_SUCCESS on success. - */ - pj_status_t (*alloc_codec)(pjmedia_codec_factory *factory, - const pjmedia_codec_info *info, - pjmedia_codec **p_codec); - - /** - * This function is called by codec manager to return a particular - * instance of codec back to the codec factory. - * - * @param factory The codec factory. - * @param codec The codec instance to be returned. - * - * @return PJ_SUCCESS on success. - */ - pj_status_t (*dealloc_codec)(pjmedia_codec_factory *factory, - pjmedia_codec *codec ); - - /** - * This callback will be called to deinitialize and destroy this factory. - */ - pj_status_t (*destroy)(void); - -} pjmedia_codec_factory_op; - - - -/** - * Codec factory describes a module that is able to create codec with specific - * capabilities. These capabilities can be queried by codec manager to create - * instances of codec. - */ -struct pjmedia_codec_factory -{ - /** Entries to put this structure in the codec manager list. */ - PJ_DECL_LIST_MEMBER(struct pjmedia_codec_factory); - - /** The factory's private data. */ - void *factory_data; - - /** Operations to the factory. */ - pjmedia_codec_factory_op *op; - -}; - - -/** - * Declare maximum codecs - */ -#define PJMEDIA_CODEC_MGR_MAX_CODECS 32 - - -/** - * Specify these values to set the codec priority, by calling - * #pjmedia_codec_mgr_set_codec_priority(). - */ -typedef enum pjmedia_codec_priority -{ - /** - * This priority makes the codec the highest in the order. - * The last codec specified with this priority will get the - * highest place in the order, and will change the priority - * of previously highest priority codec to NEXT_HIGHER. - */ - PJMEDIA_CODEC_PRIO_HIGHEST = 255, - - /** - * This priority will put the codec as the next codec after - * codecs with this same priority. - */ - PJMEDIA_CODEC_PRIO_NEXT_HIGHER = 254, - - /** - * This is the initial codec priority when it is registered to - * codec manager by codec factory. - */ - PJMEDIA_CODEC_PRIO_NORMAL = 128, - - /** - * This priority makes the codec the lowest in the order. - * The last codec specified with this priority will be put - * in the last place in the order. - */ - PJMEDIA_CODEC_PRIO_LOWEST = 1, - - /** - * This priority will prevent the codec from being listed in the - * SDP created by media endpoint, thus should prevent the codec - * from being used in the sessions. However, the codec will still - * be listed by #pjmedia_codec_mgr_enum_codecs() and other codec - * query functions. - */ - PJMEDIA_CODEC_PRIO_DISABLED = 0 - -} pjmedia_codec_priority; - - -/** - * Codec identification (e.g. "pcmu/8000/1"). - * See @ref codec_ident for more info. - */ -typedef char pjmedia_codec_id[32]; - - -/** - * Opaque declaration of default codecs parameters. - */ -typedef struct pjmedia_codec_default_param pjmedia_codec_default_param; - -/** - * Codec manager maintains array of these structs for each supported - * codec. - */ -struct pjmedia_codec_desc -{ - pjmedia_codec_info info; /**< Codec info. */ - pjmedia_codec_id id; /**< Fully qualified name */ - pjmedia_codec_priority prio; /**< Priority. */ - pjmedia_codec_factory *factory; /**< The factory. */ - pjmedia_codec_default_param *param; /**< Default codecs - parameters. */ -}; - - -/** - * The declaration for codec manager. Application doesn't normally need - * to see this declaration, but nevertheless this declaration is needed - * by media endpoint to instantiate the codec manager. - */ -typedef struct pjmedia_codec_mgr -{ - /** Media endpoint instance. */ - pj_pool_factory *pf; - - /** Codec manager pool. */ - pj_pool_t *pool; - - /** Codec manager mutex. */ - pj_mutex_t *mutex; - - /** List of codec factories registered to codec manager. */ - pjmedia_codec_factory factory_list; - - /** Number of supported codecs. */ - unsigned codec_cnt; - - /** Array of codec descriptor. */ - struct pjmedia_codec_desc codec_desc[PJMEDIA_CODEC_MGR_MAX_CODECS]; - -} pjmedia_codec_mgr; - - - -/** - * Initialize codec manager. Normally this function is called by pjmedia - * endpoint's initialization code. - * - * @param mgr Codec manager instance. - * @param pf Pool factory instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_mgr_init(pjmedia_codec_mgr *mgr, - pj_pool_factory *pf); - - -/** - * Destroy codec manager. Normally this function is called by pjmedia - * endpoint's deinitialization code. - * - * @param mgr Codec manager instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_mgr_destroy(pjmedia_codec_mgr *mgr); - - -/** - * Register codec factory to codec manager. This will also register - * all supported codecs in the factory to the codec manager. - * - * @param mgr The codec manager instance. Application can get the - * instance by calling #pjmedia_endpt_get_codec_mgr(). - * @param factory The codec factory to be registered. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_codec_mgr_register_factory( pjmedia_codec_mgr *mgr, - pjmedia_codec_factory *factory); - -/** - * Unregister codec factory from the codec manager. This will also - * remove all the codecs registered by the codec factory from the - * codec manager's list of supported codecs. This function should - * only be called by the codec implementers and not by application. - * - * @param mgr The codec manager instance, use - * #pjmedia_endpt_get_codec_mgr(). - * @param factory The codec factory to be unregistered. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_codec_mgr_unregister_factory( pjmedia_codec_mgr *mgr, - pjmedia_codec_factory *factory); - -/** - * Enumerate all supported codecs that have been registered to the - * codec manager by codec factories. - * - * @param mgr The codec manager instance. Application can get the - * instance by calling #pjmedia_endpt_get_codec_mgr(). - * @param count On input, specifies the number of elements in - * the array. On output, the value will be set to - * the number of elements that have been initialized - * by this function. - * @param info The codec info array, which contents will be - * initialized upon return. - * @param prio Optional pointer to receive array of codec priorities. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_mgr_enum_codecs( pjmedia_codec_mgr *mgr, - unsigned *count, - pjmedia_codec_info info[], - unsigned *prio); - -/** - * Get codec info for the specified static payload type. Note that - * this can only find codec with static payload types. This function can - * be used to find codec info for a payload type inside SDP which doesn't - * have the corresponding rtpmap attribute. - * - * @param mgr The codec manager instance. Application can get the - * instance by calling #pjmedia_endpt_get_codec_mgr(). - * @param pt Static payload type/number. - * @param inf Pointer to receive codec info. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_codec_mgr_get_codec_info( pjmedia_codec_mgr *mgr, - unsigned pt, - const pjmedia_codec_info **inf); - -/** - * Convert codec info struct into a unique codec identifier. - * A codec identifier looks something like "L16/44100/2". - * - * @param info The codec info - * @param id Buffer to put the codec info string. - * @param max_len The length of the buffer. - * - * @return The null terminated codec info string, or NULL if - * the buffer is not long enough. - */ -PJ_DECL(char*) pjmedia_codec_info_to_id(const pjmedia_codec_info *info, - char *id, unsigned max_len ); - - -/** - * Find codecs by the unique codec identifier. This function will find - * all codecs that match the codec identifier prefix. For example, if - * "L16" is specified, then it will find "L16/8000/1", "L16/16000/1", - * and so on, up to the maximum count specified in the argument. - * - * @param mgr The codec manager instance. Application can get the - * instance by calling #pjmedia_endpt_get_codec_mgr(). - * @param codec_id The full codec ID or codec ID prefix. If an empty - * string is given, it will match all codecs. - * @param count Maximum number of codecs to find. On return, it - * contains the actual number of codecs found. - * @param p_info Array of pointer to codec info to be filled. This - * argument may be NULL, which in this case, only - * codec count will be returned. - * @param prio Optional array of codec priorities. - * - * @return PJ_SUCCESS if at least one codec info is found. - */ -PJ_DECL(pj_status_t) -pjmedia_codec_mgr_find_codecs_by_id( pjmedia_codec_mgr *mgr, - const pj_str_t *codec_id, - unsigned *count, - const pjmedia_codec_info *p_info[], - unsigned prio[]); - - -/** - * Set codec priority. The codec priority determines the order of - * the codec in the SDP created by the endpoint. If more than one codecs - * are found with the same codec_id prefix, then the function sets the - * priorities of all those codecs. - * - * @param mgr The codec manager instance. Application can get the - * instance by calling #pjmedia_endpt_get_codec_mgr(). - * @param codec_id The full codec ID or codec ID prefix. If an empty - * string is given, it will match all codecs. - * @param prio Priority to be set. The priority can have any value - * between 1 to 255. When the priority is set to zero, - * the codec will be disabled. - * - * @return PJ_SUCCESS if at least one codec info is found. - */ -PJ_DECL(pj_status_t) -pjmedia_codec_mgr_set_codec_priority(pjmedia_codec_mgr *mgr, - const pj_str_t *codec_id, - pj_uint8_t prio); - - -/** - * Get default codec param for the specified codec info. - * - * @param mgr The codec manager instance. Application can get the - * instance by calling #pjmedia_endpt_get_codec_mgr(). - * @param info The codec info, which default parameter's is being - * queried. - * @param param On return, will be filled with the default codec - * parameter. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_codec_mgr_get_default_param( pjmedia_codec_mgr *mgr, - const pjmedia_codec_info *info, - pjmedia_codec_param *param ); - - -/** - * Set default codec param for the specified codec info. - * - * @param mgr The codec manager instance. Application can get the - * instance by calling #pjmedia_endpt_get_codec_mgr(). - * @param info The codec info, which default parameter's is being - * updated. - * @param param The new default codec parameter. Set to NULL to reset - * codec parameter to library default settings. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_codec_mgr_set_default_param( pjmedia_codec_mgr *mgr, - const pjmedia_codec_info *info, - const pjmedia_codec_param *param ); - - -/** - * Request the codec manager to allocate one instance of codec with the - * specified codec info. The codec will enumerate all codec factories - * until it finds factory that is able to create the specified codec. - * - * @param mgr The codec manager instance. Application can get the - * instance by calling #pjmedia_endpt_get_codec_mgr(). - * @param info The information about the codec to be created. - * @param p_codec Pointer to receive the codec instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_codec_mgr_alloc_codec( pjmedia_codec_mgr *mgr, - const pjmedia_codec_info *info, - pjmedia_codec **p_codec); - -/** - * Deallocate the specified codec instance. The codec manager will return - * the instance of the codec back to its factory. - * - * @param mgr The codec manager instance. Application can get the - * instance by calling #pjmedia_endpt_get_codec_mgr(). - * @param codec The codec instance. - * - * @return PJ_SUCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_mgr_dealloc_codec(pjmedia_codec_mgr *mgr, - pjmedia_codec *codec); - - - -/** - * Initialize codec using the specified attribute. - * - * @param codec The codec instance. - * @param pool Pool to use when the codec needs to allocate some memory. - * - * @return PJ_SUCCESS on success. - */ -PJ_INLINE(pj_status_t) pjmedia_codec_init( pjmedia_codec *codec, - pj_pool_t *pool ) -{ - return (*codec->op->init)(codec, pool); -} - - -/** - * Open the codec and initialize with the specified parameter. - * Upon successful initialization, the codec may modify the parameter - * and fills in the unspecified values (such as enc_ptime, when - * encoder ptime is different than decoder ptime). - * - * @param codec The codec instance. - * @param param Codec initialization parameter. - * - * @return PJ_SUCCESS on success. - */ -PJ_INLINE(pj_status_t) pjmedia_codec_open( pjmedia_codec *codec, - pjmedia_codec_param *param ) -{ - return (*codec->op->open)(codec, param); -} - - -/** - * Close and shutdown codec, releasing all resources allocated by - * this codec, if any. - * - * @param codec The codec instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_INLINE(pj_status_t) pjmedia_codec_close( pjmedia_codec *codec ) -{ - return (*codec->op->close)(codec); -} - - -/** - * Modify the codec parameter after the codec is open. - * Note that not all codec parameters can be modified during run-time. - * When the parameter cannot be changed, this function will return - * non-PJ_SUCCESS, and the original parameters will not be changed. - * - * Application can expect changing trivial codec settings such as - * changing VAD setting to succeed. - * - * @param codec The codec instance. - * @param param The new codec parameter. - * - * @return PJ_SUCCESS on success. - */ -PJ_INLINE(pj_status_t) pjmedia_codec_modify(pjmedia_codec *codec, - const pjmedia_codec_param *param) -{ - return (*codec->op->modify)(codec, param); -} - - -/** - * Instruct the codec to inspect the specified payload/packet and - * split the packet into individual base frames. Each output frames will - * have ptime that is equal to basic frame ptime (i.e. the value of - * info.frm_ptime in #pjmedia_codec_param). - * - * @param codec The codec instance - * @param pkt The input packet. - * @param pkt_size Size of the packet. - * @param timestamp The timestamp of the first sample in the packet. - * @param frame_cnt On input, specifies the maximum number of frames - * in the array. On output, the codec must fill - * with number of frames detected in the packet. - * @param frames On output, specifies the frames that have been - * detected in the packet. - * - * @return PJ_SUCCESS on success. - */ -PJ_INLINE(pj_status_t) pjmedia_codec_parse( pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *timestamp, - unsigned *frame_cnt, - pjmedia_frame frames[] ) -{ - return (*codec->op->parse)(codec, pkt, pkt_size, timestamp, - frame_cnt, frames); -} - - -/** - * Instruct the codec to encode the specified input frame. The input - * PCM samples MUST have ptime that is multiplication of base frame - * ptime (i.e. the value of info.frm_ptime in #pjmedia_codec_param). - * - * @param codec The codec instance. - * @param input The input frame. - * @param out_size The length of buffer in the output frame. - * @param output The output frame. - * - * @return PJ_SUCCESS on success; - */ -PJ_INLINE(pj_status_t) pjmedia_codec_encode( - pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned out_size, - struct pjmedia_frame *output ) -{ - return (*codec->op->encode)(codec, input, out_size, output); -} - - -/** - * Instruct the codec to decode the specified input frame. The input - * frame MUST have ptime that is exactly equal to base frame - * ptime (i.e. the value of info.frm_ptime in #pjmedia_codec_param). - * Application can achieve this by parsing the packet into base - * frames before decoding each frame. - * - * @param codec The codec instance. - * @param input The input frame. - * @param out_size The length of buffer in the output frame. - * @param output The output frame. - * - * @return PJ_SUCCESS on success; - */ -PJ_INLINE(pj_status_t) pjmedia_codec_decode( - pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned out_size, - struct pjmedia_frame *output ) -{ - return (*codec->op->decode)(codec, input, out_size, output); -} - - -/** - * Instruct the codec to recover a missing frame. - * - * @param codec The codec instance. - * @param out_size The length of buffer in the output frame. - * @param output The output frame where generated signal - * will be placed. - * - * @return PJ_SUCCESS on success; - */ -PJ_INLINE(pj_status_t) pjmedia_codec_recover( pjmedia_codec *codec, - unsigned out_size, - struct pjmedia_frame *output ) -{ - if (codec->op && codec->op->recover) - return (*codec->op->recover)(codec, out_size, output); - else - return PJ_ENOTSUP; -} - - -/** - * @} - */ - -/** - * @defgroup PJMEDIA_CODEC_CODECS Supported codecs - * @ingroup PJMEDIA_CODEC - * @brief Documentation about individual codec supported by PJMEDIA - * @{ - * Please see the APIs provided by the individual codecs below. - */ -/** - * @} - */ - - - - -PJ_END_DECL - - -#endif /* __PJMEDIA_CODEC_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/conference.h b/res/pjproject/pjmedia/include/pjmedia/conference.h deleted file mode 100644 index 649a4d49a7..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/conference.h +++ /dev/null @@ -1,509 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CONF_H__ -#define __PJMEDIA_CONF_H__ - - -/** - * @file conference.h - * @brief Conference bridge. - */ -#include - -/** - * @defgroup PJMEDIA_CONF Conference Bridge - * @ingroup PJMEDIA_PORT - * @brief Audio conference bridge implementation - * @{ - * - * This describes the conference bridge implementation in PJMEDIA. The - * conference bridge provides powerful and very efficient mechanism to - * route the audio flow and mix the audio signal when required. - * - * Some more information about the media flow when conference bridge is - * used is described in http://www.pjsip.org/trac/wiki/media-flow . - */ - -PJ_BEGIN_DECL - -/** - * The conference bridge signature in pjmedia_port_info. - */ -#define PJMEDIA_CONF_BRIDGE_SIGNATURE PJMEDIA_SIG_PORT_CONF - -/** - * The audio switchboard signature in pjmedia_port_info. - */ -#define PJMEDIA_CONF_SWITCH_SIGNATURE PJMEDIA_SIG_PORT_CONF_SWITCH - - -/** - * Opaque type for conference bridge. - */ -typedef struct pjmedia_conf pjmedia_conf; - -/** - * Conference port info. - */ -typedef struct pjmedia_conf_port_info -{ - unsigned slot; /**< Slot number. */ - pj_str_t name; /**< Port name. */ - pjmedia_format format; /**< Format. */ - pjmedia_port_op tx_setting; /**< Transmit settings. */ - pjmedia_port_op rx_setting; /**< Receive settings. */ - unsigned listener_cnt; /**< Number of listeners. */ - unsigned *listener_slots; /**< Array of listeners. */ - unsigned transmitter_cnt; /**< Number of transmitter. */ - unsigned clock_rate; /**< Clock rate of the port. */ - unsigned channel_count; /**< Number of channels. */ - unsigned samples_per_frame; /**< Samples per frame */ - unsigned bits_per_sample; /**< Bits per sample. */ - int tx_adj_level; /**< Tx level adjustment. */ - int rx_adj_level; /**< Rx level adjustment. */ -} pjmedia_conf_port_info; - - -/** - * Conference port options. The values here can be combined in bitmask to - * be specified when the conference bridge is created. - */ -enum pjmedia_conf_option -{ - PJMEDIA_CONF_NO_MIC = 1, /**< Disable audio streams from the - microphone device. */ - PJMEDIA_CONF_NO_DEVICE = 2, /**< Do not create sound device. */ - PJMEDIA_CONF_SMALL_FILTER=4,/**< Use small filter table when resampling */ - PJMEDIA_CONF_USE_LINEAR=8 /**< Use linear resampling instead of filter - based. */ -}; - - -/** - * Create conference bridge with the specified parameters. The sampling rate, - * samples per frame, and bits per sample will be used for the internal - * operation of the bridge (e.g. when mixing audio frames). However, ports - * with different configuration may be connected to the bridge. In this case, - * the bridge is able to perform sampling rate conversion, and buffering in - * case the samples per frame is different. - * - * For this version of PJMEDIA, only 16bits per sample is supported. - * - * For this version of PJMEDIA, the channel count of the ports MUST match - * the channel count of the bridge. - * - * Under normal operation (i.e. when PJMEDIA_CONF_NO_DEVICE option is NOT - * specified), the bridge internally create an instance of sound device - * and connect the sound device to port zero of the bridge. - * - * If PJMEDIA_CONF_NO_DEVICE options is specified, no sound device will - * be created in the conference bridge. Application MUST acquire the port - * interface of the bridge by calling #pjmedia_conf_get_master_port(), and - * connect this port interface to a sound device port by calling - * #pjmedia_snd_port_connect(), or to a master port (pjmedia_master_port) - * if application doesn't want to instantiate any sound devices. - * - * The sound device or master port are crucial for the bridge's operation, - * because it provides the bridge with necessary clock to process the audio - * frames periodically. Internally, the bridge runs when get_frame() to - * port zero is called. - * - * @param pool Pool to use to allocate the bridge and - * additional buffers for the sound device. - * @param max_slots Maximum number of slots/ports to be created in - * the bridge. Note that the bridge internally uses - * one port for the sound device, so the actual - * maximum number of ports will be less one than - * this value. - * @param sampling_rate Set the sampling rate of the bridge. This value - * is also used to set the sampling rate of the - * sound device. - * @param channel_count Number of channels in the PCM stream. Normally - * the value will be 1 for mono, but application may - * specify a value of 2 for stereo. Note that all - * ports that will be connected to the bridge MUST - * have the same number of channels as the bridge. - * @param samples_per_frame Set the number of samples per frame. This value - * is also used to set the sound device. - * @param bits_per_sample Set the number of bits per sample. This value - * is also used to set the sound device. Currently - * only 16bit per sample is supported. - * @param options Bitmask options to be set for the bridge. The - * options are constructed from #pjmedia_conf_option - * enumeration. - * @param p_conf Pointer to receive the conference bridge instance. - * - * @return PJ_SUCCESS if conference bridge can be created. - */ -PJ_DECL(pj_status_t) pjmedia_conf_create( pj_pool_t *pool, - unsigned max_slots, - unsigned sampling_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - pjmedia_conf **p_conf ); - - -/** - * Destroy conference bridge. - * - * @param conf The conference bridge. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_conf_destroy( pjmedia_conf *conf ); - - -/** - * Get the master port interface of the conference bridge. The master port - * corresponds to the port zero of the bridge. This is only usefull when - * application wants to manage the sound device by itself, instead of - * allowing the bridge to automatically create a sound device implicitly. - * - * This function will only return a port interface if PJMEDIA_CONF_NO_DEVICE - * option was specified when the bridge was created. - * - * Application can connect the port returned by this function to a - * sound device by calling #pjmedia_snd_port_connect(). - * - * @param conf The conference bridge. - * - * @return The port interface of port zero of the bridge, - * only when PJMEDIA_CONF_NO_DEVICE options was - * specified when the bridge was created. - */ -PJ_DECL(pjmedia_port*) pjmedia_conf_get_master_port(pjmedia_conf *conf); - - -/** - * Set master port name. - * - * @param conf The conference bridge. - * @param name Name to be assigned. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_conf_set_port0_name(pjmedia_conf *conf, - const pj_str_t *name); - - -/** - * Add media port to the conference bridge. - * - * By default, the new conference port will have both TX and RX enabled, - * but it is not connected to any other ports. Application SHOULD call - * #pjmedia_conf_connect_port() to enable audio transmission and receipt - * to/from this port. - * - * Once the media port is connected to other port(s) in the bridge, - * the bridge will continuosly call get_frame() and put_frame() to the - * port, allowing media to flow to/from the port. - * - * @param conf The conference bridge. - * @param pool Pool to allocate buffers for this port. - * @param strm_port Stream port interface. - * @param name Optional name for the port. If this value is NULL, - * the name will be taken from the name in the port - * info. - * @param p_slot Pointer to receive the slot index of the port in - * the conference bridge. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_conf_add_port( pjmedia_conf *conf, - pj_pool_t *pool, - pjmedia_port *strm_port, - const pj_str_t *name, - unsigned *p_slot ); - - -/** - * Warning: This API has been deprecated since 1.3 and will be - * removed in the future release, use @ref PJMEDIA_SPLITCOMB instead. - * - * Create and add a passive media port to the conference bridge. Unlike - * "normal" media port that is added with #pjmedia_conf_add_port(), media - * port created with this function will not have its get_frame() and - * put_frame() called by the bridge; instead, application MUST continuosly - * call these functions to the port, to allow media to flow from/to the - * port. - * - * Upon return of this function, application will be given two objects: - * the slot number of the port in the bridge, and pointer to the media - * port where application MUST start calling get_frame() and put_frame() - * to the port. - * - * @param conf The conference bridge. - * @param pool Pool to allocate buffers etc for this port. - * @param name Name to be assigned to the port. - * @param clock_rate Clock rate/sampling rate. - * @param channel_count Number of channels. - * @param samples_per_frame Number of samples per frame. - * @param bits_per_sample Number of bits per sample. - * @param options Options (should be zero at the moment). - * @param p_slot Pointer to receive the slot index of the port in - * the conference bridge. - * @param p_port Pointer to receive the port instance. - * - * @return PJ_SUCCESS on success, or the appropriate error - * code. - */ -PJ_DECL(pj_status_t) pjmedia_conf_add_passive_port( pjmedia_conf *conf, - pj_pool_t *pool, - const pj_str_t *name, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - unsigned *p_slot, - pjmedia_port **p_port ); - - -/** - * Change TX and RX settings for the port. - * - * @param conf The conference bridge. - * @param slot Port number/slot in the conference bridge. - * @param tx Settings for the transmission TO this port. - * @param rx Settings for the receipt FROM this port. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_conf_configure_port( pjmedia_conf *conf, - unsigned slot, - pjmedia_port_op tx, - pjmedia_port_op rx); - - -/** - * Enable unidirectional audio from the specified source slot to the - * specified sink slot. - * - * @param conf The conference bridge. - * @param src_slot Source slot. - * @param sink_slot Sink slot. - * @param level This argument is reserved for future improvements - * where it is possible to adjust the level of signal - * transmitted in a specific connection. For now, - * this argument MUST be zero. - * - * @return PJ_SUCCES on success. - */ -PJ_DECL(pj_status_t) pjmedia_conf_connect_port( pjmedia_conf *conf, - unsigned src_slot, - unsigned sink_slot, - int level ); - - -/** - * Disconnect unidirectional audio from the specified source to the specified - * sink slot. - * - * @param conf The conference bridge. - * @param src_slot Source slot. - * @param sink_slot Sink slot. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_conf_disconnect_port( pjmedia_conf *conf, - unsigned src_slot, - unsigned sink_slot ); - - -/** - * Get number of ports currently registered to the conference bridge. - * - * @param conf The conference bridge. - * - * @return Number of ports currently registered to the conference - * bridge. - */ -PJ_DECL(unsigned) pjmedia_conf_get_port_count(pjmedia_conf *conf); - - -/** - * Get total number of ports connections currently set up in the bridge. - * - * @param conf The conference bridge. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(unsigned) pjmedia_conf_get_connect_count(pjmedia_conf *conf); - - -/** - * Remove the specified port from the conference bridge. - * - * @param conf The conference bridge. - * @param slot The port index to be removed. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_conf_remove_port( pjmedia_conf *conf, - unsigned slot ); - - - -/** - * Enumerate occupied ports in the bridge. - * - * @param conf The conference bridge. - * @param ports Array of port numbers to be filled in. - * @param count On input, specifies the maximum number of ports - * in the array. On return, it will be filled with - * the actual number of ports. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_conf_enum_ports( pjmedia_conf *conf, - unsigned ports[], - unsigned *count ); - - -/** - * Get port info. - * - * @param conf The conference bridge. - * @param slot Port index. - * @param info Pointer to receive the info. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_conf_get_port_info( pjmedia_conf *conf, - unsigned slot, - pjmedia_conf_port_info *info); - - -/** - * Get occupied ports info. - * - * @param conf The conference bridge. - * @param size On input, contains maximum number of infos - * to be retrieved. On output, contains the actual - * number of infos that have been copied. - * @param info Array of info. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_conf_get_ports_info(pjmedia_conf *conf, - unsigned *size, - pjmedia_conf_port_info info[] - ); - - -/** - * Get last signal level transmitted to or received from the specified port. - * This will retrieve the "real-time" signal level of the audio as they are - * transmitted or received by the specified port. Application may call this - * function periodically to display the signal level to a VU meter. - * - * The signal level is an integer value in zero to 255, with zero indicates - * no signal, and 255 indicates the loudest signal level. - * - * @param conf The conference bridge. - * @param slot Slot number. - * @param tx_level Optional argument to receive the level of signal - * transmitted to the specified port (i.e. the direction - * is from the bridge to the port). - * @param rx_level Optional argument to receive the level of signal - * received from the port (i.e. the direction is from the - * port to the bridge). - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_conf_get_signal_level(pjmedia_conf *conf, - unsigned slot, - unsigned *tx_level, - unsigned *rx_level); - - -/** - * Adjust the level of signal received from the specified port. - * Application may adjust the level to make signal received from the port - * either louder or more quiet. The level adjustment is calculated with this - * formula: output = input * (adj_level+128) / 128. Using - * this, zero indicates no adjustment, the value -128 will mute the signal, - * and the value of +128 will make the signal 100% louder, +256 will make it - * 200% louder, etc. - * - * The level adjustment value will stay with the port until the port is - * removed from the bridge or new adjustment value is set. The current - * level adjustment value is reported in the media port info when - * the #pjmedia_conf_get_port_info() function is called. - * - * @param conf The conference bridge. - * @param slot Slot number of the port. - * @param adj_level Adjustment level, which must be greater than or equal - * to -128. A value of zero means there is no level - * adjustment to be made, the value -128 will mute the - * signal, and the value of +128 will make the signal - * 100% louder, +256 will make it 200% louder, etc. - * See the function description for the formula. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_conf_adjust_rx_level( pjmedia_conf *conf, - unsigned slot, - int adj_level ); - - -/** - * Adjust the level of signal to be transmitted to the specified port. - * Application may adjust the level to make signal transmitted to the port - * either louder or more quiet. The level adjustment is calculated with this - * formula: output = input * (adj_level+128) / 128. Using - * this, zero indicates no adjustment, the value -128 will mute the signal, - * and the value of +128 will make the signal 100% louder, +256 will make it - * 200% louder, etc. - * - * The level adjustment value will stay with the port until the port is - * removed from the bridge or new adjustment value is set. The current - * level adjustment value is reported in the media port info when - * the #pjmedia_conf_get_port_info() function is called. - * - * @param conf The conference bridge. - * @param slot Slot number of the port. - * @param adj_level Adjustment level, which must be greater than or equal - * to -128. A value of zero means there is no level - * adjustment to be made, the value -128 will mute the - * signal, and the value of +128 will make the signal - * 100% louder, +256 will make it 200% louder, etc. - * See the function description for the formula. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_conf_adjust_tx_level( pjmedia_conf *conf, - unsigned slot, - int adj_level ); - - - -PJ_END_DECL - - -/** - * @} - */ - - -#endif /* __PJMEDIA_CONF_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/config.h b/res/pjproject/pjmedia/include/pjmedia/config.h deleted file mode 100644 index 3f92a6b9f1..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/config.h +++ /dev/null @@ -1,1181 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CONFIG_H__ -#define __PJMEDIA_CONFIG_H__ - -/** - * @file pjmedia/config.h Compile time config - * @brief Contains some compile time constants. - */ -#include - -/** - * @defgroup PJMEDIA_BASE Base Types and Configurations - */ - -/** - * @defgroup PJMEDIA_CONFIG Compile time configuration - * @ingroup PJMEDIA_BASE - * @brief Some compile time configuration settings. - * @{ - */ - -/* - * Include config_auto.h if autoconf is used (PJ_AUTOCONF is set) - */ -#if defined(PJ_AUTOCONF) -# include -#endif - -/** - * Specify whether we prefer to use audio switch board rather than - * conference bridge. - * - * Audio switch board is a kind of simplified version of conference - * bridge, but not really the subset of conference bridge. It has - * stricter rules on audio routing among the pjmedia ports and has - * no audio mixing capability. The power of it is it could work with - * encoded audio frames where conference brigde couldn't. - * - * Default: 0 - */ -#ifndef PJMEDIA_CONF_USE_SWITCH_BOARD -# define PJMEDIA_CONF_USE_SWITCH_BOARD 0 -#endif - -/* - * Types of sound stream backends. - */ - -/** - * This macro has been deprecated in releasee 1.1. Please see - * http://trac.pjsip.org/repos/wiki/Audio_Dev_API for more information. - */ -#if defined(PJMEDIA_SOUND_IMPLEMENTATION) -# error PJMEDIA_SOUND_IMPLEMENTATION has been deprecated -#endif - -/** - * This macro has been deprecated in releasee 1.1. Please see - * http://trac.pjsip.org/repos/wiki/Audio_Dev_API for more information. - */ -#if defined(PJMEDIA_PREFER_DIRECT_SOUND) -# error PJMEDIA_PREFER_DIRECT_SOUND has been deprecated -#endif - -/** - * This macro controls whether the legacy sound device API is to be - * implemented, for applications that still use the old sound device - * API (sound.h). If this macro is set to non-zero, the sound_legacy.c - * will be included in the compilation. The sound_legacy.c is an - * implementation of old sound device (sound.h) using the new Audio - * Device API. - * - * Please see http://trac.pjsip.org/repos/wiki/Audio_Dev_API for more - * info. - */ -#ifndef PJMEDIA_HAS_LEGACY_SOUND_API -# define PJMEDIA_HAS_LEGACY_SOUND_API 1 -#endif - -/** - * Specify default sound device latency, in milisecond. - */ -#ifndef PJMEDIA_SND_DEFAULT_REC_LATENCY -# define PJMEDIA_SND_DEFAULT_REC_LATENCY 100 -#endif - -/** - * Specify default sound device latency, in milisecond. - * - * Default is 160ms for Windows Mobile and 140ms for other platforms. - */ -#ifndef PJMEDIA_SND_DEFAULT_PLAY_LATENCY -# if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0 -# define PJMEDIA_SND_DEFAULT_PLAY_LATENCY 160 -# else -# define PJMEDIA_SND_DEFAULT_PLAY_LATENCY 140 -# endif -#endif - - -/* - * Types of WSOLA backend algorithm. - */ - -/** - * This denotes implementation of WSOLA using null algorithm. Expansion - * will generate zero frames, and compression will just discard some - * samples from the input. - * - * This type of implementation may be used as it requires the least - * processing power. - */ -#define PJMEDIA_WSOLA_IMP_NULL 0 - -/** - * This denotes implementation of WSOLA using fixed or floating point WSOLA - * algorithm. This implementation provides the best quality of the result, - * at the expense of one frame delay and intensive processing power - * requirement. - */ -#define PJMEDIA_WSOLA_IMP_WSOLA 1 - -/** - * This denotes implementation of WSOLA algorithm with faster waveform - * similarity calculation. This implementation provides fair quality of - * the result with the main advantage of low processing power requirement. - */ -#define PJMEDIA_WSOLA_IMP_WSOLA_LITE 2 - -/** - * Specify type of Waveform based Similarity Overlap and Add (WSOLA) backend - * implementation to be used. WSOLA is an algorithm to expand and/or compress - * audio frames without changing the pitch, and used by the delaybuf and as PLC - * backend algorithm. - * - * Default is PJMEDIA_WSOLA_IMP_WSOLA - */ -#ifndef PJMEDIA_WSOLA_IMP -# define PJMEDIA_WSOLA_IMP PJMEDIA_WSOLA_IMP_WSOLA -#endif - - -/** - * Specify the default maximum duration of synthetic audio that is generated - * by WSOLA. This value should be long enough to cover burst of packet losses. - * but not too long, because as the duration increases the quality would - * degrade considerably. - * - * Note that this limit is only applied when fading is enabled in the WSOLA - * session. - * - * Default: 80 - */ -#ifndef PJMEDIA_WSOLA_MAX_EXPAND_MSEC -# define PJMEDIA_WSOLA_MAX_EXPAND_MSEC 80 -#endif - - -/** - * Specify WSOLA template length, in milliseconds. The longer the template, - * the smoother signal to be generated at the expense of more computation - * needed, since the algorithm will have to compare more samples to find - * the most similar pitch. - * - * Default: 5 - */ -#ifndef PJMEDIA_WSOLA_TEMPLATE_LENGTH_MSEC -# define PJMEDIA_WSOLA_TEMPLATE_LENGTH_MSEC 5 -#endif - - -/** - * Specify WSOLA algorithm delay, in milliseconds. The algorithm delay is - * used to merge synthetic samples with real samples in the transition - * between real to synthetic and vice versa. The longer the delay, the - * smoother signal to be generated, at the expense of longer latency and - * a slighty more computation. - * - * Default: 5 - */ -#ifndef PJMEDIA_WSOLA_DELAY_MSEC -# define PJMEDIA_WSOLA_DELAY_MSEC 5 -#endif - - -/** - * Set this to non-zero to disable fade-out/in effect in the PLC when it - * instructs WSOLA to generate synthetic frames. The use of fading may - * or may not improve the quality of audio, depending on the nature of - * packet loss and the type of audio input (e.g. speech vs music). - * Disabling fading also implicitly remove the maximum limit of synthetic - * audio samples generated by WSOLA (see PJMEDIA_WSOLA_MAX_EXPAND_MSEC). - * - * Default: 0 - */ -#ifndef PJMEDIA_WSOLA_PLC_NO_FADING -# define PJMEDIA_WSOLA_PLC_NO_FADING 0 -#endif - - -/** - * Limit the number of calls by stream to the PLC to generate synthetic - * frames to this duration. If packets are still lost after this maximum - * duration, silence will be generated by the stream instead. Since the - * PLC normally should have its own limit on the maximum duration of - * synthetic frames to be generated (for PJMEDIA's PLC, the limit is - * PJMEDIA_WSOLA_MAX_EXPAND_MSEC), we can set this value to a large number - * to give additional flexibility should the PLC wants to do something - * clever with the lost frames. - * - * Default: 240 ms - */ -#ifndef PJMEDIA_MAX_PLC_DURATION_MSEC -# define PJMEDIA_MAX_PLC_DURATION_MSEC 240 -#endif - - -/** - * Specify number of sound buffers. Larger number is better for sound - * stability and to accommodate sound devices that are unable to send frames - * in timely manner, however it would probably cause more audio delay (and - * definitely will take more memory). One individual buffer is normally 10ms - * or 20 ms long, depending on ptime settings (samples_per_frame value). - * - * The setting here currently is used by the conference bridge, the splitter - * combiner port, and dsound.c. - * - * Default: (PJMEDIA_SND_DEFAULT_PLAY_LATENCY+20)/20 - */ -#ifndef PJMEDIA_SOUND_BUFFER_COUNT -# define PJMEDIA_SOUND_BUFFER_COUNT ((PJMEDIA_SND_DEFAULT_PLAY_LATENCY+20)/20) -#endif - - -/** - * Specify which A-law/U-law conversion algorithm to use. - * By default the conversion algorithm uses A-law/U-law table which gives - * the best performance, at the expense of 33 KBytes of static data. - * If this option is disabled, a smaller but slower algorithm will be used. - */ -#ifndef PJMEDIA_HAS_ALAW_ULAW_TABLE -# define PJMEDIA_HAS_ALAW_ULAW_TABLE 1 -#endif - - -/** - * Unless specified otherwise, G711 codec is included by default. - */ -#ifndef PJMEDIA_HAS_G711_CODEC -# define PJMEDIA_HAS_G711_CODEC 1 -#endif - - -/* - * Warn about obsolete macros. - * - * PJMEDIA_HAS_SMALL_FILTER has been deprecated in 0.7. - */ -#if defined(PJMEDIA_HAS_SMALL_FILTER) -# ifdef _MSC_VER -# pragma message("Warning: PJMEDIA_HAS_SMALL_FILTER macro is deprecated"\ - " and has no effect") -# else -# warning "PJMEDIA_HAS_SMALL_FILTER macro is deprecated and has no effect" -# endif -#endif - - -/* - * Warn about obsolete macros. - * - * PJMEDIA_HAS_LARGE_FILTER has been deprecated in 0.7. - */ -#if defined(PJMEDIA_HAS_LARGE_FILTER) -# ifdef _MSC_VER -# pragma message("Warning: PJMEDIA_HAS_LARGE_FILTER macro is deprecated"\ - " and has no effect") -# else -# warning "PJMEDIA_HAS_LARGE_FILTER macro is deprecated" -# endif -#endif - - -/* - * These macros are obsolete in 0.7.1 so it will trigger compilation error. - * Please use PJMEDIA_RESAMPLE_IMP to select the resample implementation - * to use. - */ -#ifdef PJMEDIA_HAS_LIBRESAMPLE -# error "PJMEDIA_HAS_LIBRESAMPLE macro is deprecated. Use '#define PJMEDIA_RESAMPLE_IMP PJMEDIA_RESAMPLE_LIBRESAMPLE'" -#endif - -#ifdef PJMEDIA_HAS_SPEEX_RESAMPLE -# error "PJMEDIA_HAS_SPEEX_RESAMPLE macro is deprecated. Use '#define PJMEDIA_RESAMPLE_IMP PJMEDIA_RESAMPLE_SPEEX'" -#endif - - -/* - * Sample rate conversion backends. - * Select one of these backends in PJMEDIA_RESAMPLE_IMP. - */ -#define PJMEDIA_RESAMPLE_NONE 1 /**< No resampling. */ -#define PJMEDIA_RESAMPLE_LIBRESAMPLE 2 /**< Sample rate conversion - using libresample. */ -#define PJMEDIA_RESAMPLE_SPEEX 3 /**< Sample rate conversion - using Speex. */ -#define PJMEDIA_RESAMPLE_LIBSAMPLERATE 4 /**< Sample rate conversion - using libsamplerate - (a.k.a Secret Rabbit Code) - */ - -/** - * Select which resample implementation to use. Currently pjmedia supports: - * - #PJMEDIA_RESAMPLE_LIBRESAMPLE, to use libresample-1.7, this is the default - * implementation to be used. - * - #PJMEDIA_RESAMPLE_LIBSAMPLERATE, to use libsamplerate implementation - * (a.k.a. Secret Rabbit Code). - * - #PJMEDIA_RESAMPLE_SPEEX, to use experimental sample rate conversion in - * Speex library. - * - #PJMEDIA_RESAMPLE_NONE, to disable sample rate conversion. Any calls to - * resample function will return error. - * - * Default is PJMEDIA_RESAMPLE_LIBRESAMPLE - */ -#ifndef PJMEDIA_RESAMPLE_IMP -# define PJMEDIA_RESAMPLE_IMP PJMEDIA_RESAMPLE_LIBRESAMPLE -#endif - - -/** - * Specify whether libsamplerate, when used, should be linked statically - * into the application. This option is only useful for Visual Studio - * projects, and when this static linking is enabled - */ - - -/** - * Default file player/writer buffer size. - */ -#ifndef PJMEDIA_FILE_PORT_BUFSIZE -# define PJMEDIA_FILE_PORT_BUFSIZE 4000 -#endif - - -/** - * Maximum frame duration (in msec) to be supported. - * This (among other thing) will affect the size of buffers to be allocated - * for outgoing packets. - */ -#ifndef PJMEDIA_MAX_FRAME_DURATION_MS -# define PJMEDIA_MAX_FRAME_DURATION_MS 200 -#endif - - -/** - * Max packet size to support. - */ -#ifndef PJMEDIA_MAX_MTU -# define PJMEDIA_MAX_MTU 1500 -#endif - - -/** - * DTMF/telephone-event duration, in timestamp. - */ -#ifndef PJMEDIA_DTMF_DURATION -# define PJMEDIA_DTMF_DURATION 1600 /* in timestamp */ -#endif - - -/** - * Number of RTP packets received from different source IP address from the - * remote address required to make the stream switch transmission - * to the source address. - */ -#ifndef PJMEDIA_RTP_NAT_PROBATION_CNT -# define PJMEDIA_RTP_NAT_PROBATION_CNT 10 -#endif - - -/** - * Number of RTCP packets received from different source IP address from the - * remote address required to make the stream switch RTCP transmission - * to the source address. - */ -#ifndef PJMEDIA_RTCP_NAT_PROBATION_CNT -# define PJMEDIA_RTCP_NAT_PROBATION_CNT 3 -#endif - - -/** - * Specify whether RTCP should be advertised in SDP. This setting would - * affect whether RTCP candidate will be added in SDP when ICE is used. - * Application might want to disable RTCP advertisement in SDP to - * reduce the message size. - * - * Default: 1 (yes) - */ -#ifndef PJMEDIA_ADVERTISE_RTCP -# define PJMEDIA_ADVERTISE_RTCP 1 -#endif - - -/** - * Interval to send RTCP packets, in msec - */ -#ifndef PJMEDIA_RTCP_INTERVAL -# define PJMEDIA_RTCP_INTERVAL 5000 /* msec*/ -#endif - - -/** - * Tell RTCP to ignore the first N packets when calculating the - * jitter statistics. From experimentation, the first few packets - * (25 or so) have relatively big jitter, possibly because during - * this time, the program is also busy setting up the signaling, - * so they make the average jitter big. - * - * Default: 25. - */ -#ifndef PJMEDIA_RTCP_IGNORE_FIRST_PACKETS -# define PJMEDIA_RTCP_IGNORE_FIRST_PACKETS 25 -#endif - - -/** - * Specify whether RTCP statistics includes raw jitter statistics. - * Raw jitter is defined as absolute value of network transit time - * difference of two consecutive packets; refering to "difference D" - * term in interarrival jitter calculation in RFC 3550 section 6.4.1. - * - * Default: 0 (no). - */ -#ifndef PJMEDIA_RTCP_STAT_HAS_RAW_JITTER -# define PJMEDIA_RTCP_STAT_HAS_RAW_JITTER 0 -#endif - -/** - * Specify the factor with wich RTCP RTT statistics should be normalized - * if exceptionally high. For e.g. mobile networks with potentially large - * fluctuations, this might be unwanted. - * - * Use (0) to disable this feature. - * - * Default: 3. - */ -#ifndef PJMEDIA_RTCP_NORMALIZE_FACTOR -# define PJMEDIA_RTCP_NORMALIZE_FACTOR 3 -#endif - - -/** - * Specify whether RTCP statistics includes IP Delay Variation statistics. - * IPDV is defined as network transit time difference of two consecutive - * packets. The IPDV statistic can be useful to inspect clock skew existance - * and level, e.g: when the IPDV mean values were stable in positive numbers, - * then the remote clock (used in sending RTP packets) is faster than local - * system clock. Ideally, the IPDV mean values are always equal to 0. - * - * Default: 0 (no). - */ -#ifndef PJMEDIA_RTCP_STAT_HAS_IPDV -# define PJMEDIA_RTCP_STAT_HAS_IPDV 0 -#endif - - -/** - * Specify whether RTCP XR support should be built into PJMEDIA. Disabling - * this feature will reduce footprint slightly. Note that even when this - * setting is enabled, RTCP XR processing will only be performed in stream - * if it is enabled on run-time on per stream basis. See - * PJMEDIA_STREAM_ENABLE_XR setting for more info. - * - * Default: 0 (no). - */ -#ifndef PJMEDIA_HAS_RTCP_XR -# define PJMEDIA_HAS_RTCP_XR 0 -#endif - - -/** - * The RTCP XR feature is activated and used by stream if \a enable_rtcp_xr - * field of \a pjmedia_stream_info structure is non-zero. This setting - * controls the default value of this field. - * - * Default: 0 (disabled) - */ -#ifndef PJMEDIA_STREAM_ENABLE_XR -# define PJMEDIA_STREAM_ENABLE_XR 0 -#endif - - -/** - * Specify the buffer length for storing any received RTCP SDES text - * in a stream session. Usually RTCP contains only the mandatory SDES - * field, i.e: CNAME. - * - * Default: 64 bytes. - */ -#ifndef PJMEDIA_RTCP_RX_SDES_BUF_LEN -# define PJMEDIA_RTCP_RX_SDES_BUF_LEN 64 -#endif - - -/** - * Specify how long (in miliseconds) the stream should suspend the - * silence detector/voice activity detector (VAD) during the initial - * period of the session. This feature is useful to open bindings in - * all NAT routers between local and remote endpoint since most NATs - * do not allow incoming packet to get in before local endpoint sends - * outgoing packets. - * - * Specify zero to disable this feature. - * - * Default: 600 msec (which gives good probability that some RTP - * packets will reach the destination, but without - * filling up the jitter buffer on the remote end). - */ -#ifndef PJMEDIA_STREAM_VAD_SUSPEND_MSEC -# define PJMEDIA_STREAM_VAD_SUSPEND_MSEC 600 -#endif - -/** - * Perform RTP payload type checking in the stream. Normally the peer - * MUST send RTP with payload type as we specified in our SDP. Certain - * agents may not be able to follow this hence the only way to have - * communication is to disable this check. - * - * Default: 1 - */ -#ifndef PJMEDIA_STREAM_CHECK_RTP_PT -# define PJMEDIA_STREAM_CHECK_RTP_PT 1 -#endif - -/** - * Reserve some space for application extra data, e.g: SRTP auth tag, - * in RTP payload, so the total payload length will not exceed the MTU. - */ -#ifndef PJMEDIA_STREAM_RESV_PAYLOAD_LEN -# define PJMEDIA_STREAM_RESV_PAYLOAD_LEN 20 -#endif - - -/** - * Specify the maximum duration of silence period in the codec, in msec. - * This is useful for example to keep NAT binding open in the firewall - * and to prevent server from disconnecting the call because no - * RTP packet is received. - * - * This only applies to codecs that use PJMEDIA's VAD (pretty much - * everything including iLBC, except Speex, which has its own DTX - * mechanism). - * - * Use (-1) to disable this feature. - * - * Default: 5000 ms - * - */ -#ifndef PJMEDIA_CODEC_MAX_SILENCE_PERIOD -# define PJMEDIA_CODEC_MAX_SILENCE_PERIOD 5000 -#endif - - -/** - * Suggested or default threshold to be set for fixed silence detection - * or as starting threshold for adaptive silence detection. The threshold - * has the range from zero to 0xFFFF. - */ -#ifndef PJMEDIA_SILENCE_DET_THRESHOLD -# define PJMEDIA_SILENCE_DET_THRESHOLD 4 -#endif - - -/** - * Maximum silence threshold in the silence detector. The silence detector - * will not cut the audio transmission if the audio level is above this - * level. - * - * Use 0x10000 (or greater) to disable this feature. - * - * Default: 0x10000 (disabled) - */ -#ifndef PJMEDIA_SILENCE_DET_MAX_THRESHOLD -# define PJMEDIA_SILENCE_DET_MAX_THRESHOLD 0x10000 -#endif - - -/** - * Speex Accoustic Echo Cancellation (AEC). - * By default is enabled. - */ -#ifndef PJMEDIA_HAS_SPEEX_AEC -# define PJMEDIA_HAS_SPEEX_AEC 1 -#endif - - -/** - * Maximum number of parameters in SDP fmtp attribute. - * - * Default: 16 - */ -#ifndef PJMEDIA_CODEC_MAX_FMTP_CNT -# define PJMEDIA_CODEC_MAX_FMTP_CNT 16 -#endif - - -/** - * This specifies the behavior of the SDP negotiator when responding to an - * offer, whether it should rather use the codec preference as set by - * remote, or should it rather use the codec preference as specified by - * local endpoint. - * - * For example, suppose incoming call has codec order "8 0 3", while - * local codec order is "3 0 8". If remote codec order is preferable, - * the selected codec will be 8, while if local codec order is preferable, - * the selected codec will be 3. - * - * If set to non-zero, the negotiator will use the codec order as specified - * by remote in the offer. - * - * Note that this behavior can be changed during run-time by calling - * pjmedia_sdp_neg_set_prefer_remote_codec_order(). - * - * Default is 1 (to maintain backward compatibility) - */ -#ifndef PJMEDIA_SDP_NEG_PREFER_REMOTE_CODEC_ORDER -# define PJMEDIA_SDP_NEG_PREFER_REMOTE_CODEC_ORDER 1 -#endif - - -/** - * This specifies the maximum number of the customized SDP format - * negotiation callbacks. - */ -#ifndef PJMEDIA_SDP_NEG_MAX_CUSTOM_FMT_NEG_CB -# define PJMEDIA_SDP_NEG_MAX_CUSTOM_FMT_NEG_CB 8 -#endif - - -/** - * This specifies if the SDP negotiator should rewrite answer payload - * type numbers to use the same payload type numbers as the remote offer - * for all matched codecs. - * - * Default is 1 (yes) - */ -#ifndef PJMEDIA_SDP_NEG_ANSWER_SYMMETRIC_PT -# define PJMEDIA_SDP_NEG_ANSWER_SYMMETRIC_PT 1 -#endif - - -/** - * Support for sending and decoding RTCP port in SDP (RFC 3605). - * Default is equal to PJMEDIA_ADVERTISE_RTCP setting. - */ -#ifndef PJMEDIA_HAS_RTCP_IN_SDP -# define PJMEDIA_HAS_RTCP_IN_SDP (PJMEDIA_ADVERTISE_RTCP) -#endif - - -/** - * This macro controls whether pjmedia should include SDP rtpmap - * attribute for static payload types. SDP rtpmap for static - * payload types are optional, although they are normally included - * for interoperability reason. - * - * Note that there is also a run-time variable to turn this setting - * on or off, defined in endpoint.c. To access this variable, use - * the following construct - * - \verbatim - extern pj_bool_t pjmedia_add_rtpmap_for_static_pt; - - // Do not include rtpmap for static payload types (<96) - pjmedia_add_rtpmap_for_static_pt = PJ_FALSE; - \endverbatim - * - * Default: 1 (yes) - */ -#ifndef PJMEDIA_ADD_RTPMAP_FOR_STATIC_PT -# define PJMEDIA_ADD_RTPMAP_FOR_STATIC_PT 1 -#endif - - -/** - * This macro declares the payload type for telephone-event - * that is advertised by PJMEDIA for outgoing SDP. If this macro - * is set to zero, telephone events would not be advertised nor - * supported. - * - * If this value is changed to other number, please update the - * PJMEDIA_RTP_PT_TELEPHONE_EVENTS_STR too. - */ -#ifndef PJMEDIA_RTP_PT_TELEPHONE_EVENTS -# define PJMEDIA_RTP_PT_TELEPHONE_EVENTS 96 -#endif - - -/** - * Macro to get the string representation of the telephone-event - * payload type. - */ -#ifndef PJMEDIA_RTP_PT_TELEPHONE_EVENTS_STR -# define PJMEDIA_RTP_PT_TELEPHONE_EVENTS_STR "96" -#endif - - -/** - * Maximum tones/digits that can be enqueued in the tone generator. - */ -#ifndef PJMEDIA_TONEGEN_MAX_DIGITS -# define PJMEDIA_TONEGEN_MAX_DIGITS 32 -#endif - - -/* - * Below specifies the various tone generator backend algorithm. - */ - -/** - * The math's sine(), floating point. This has very good precision - * but it's the slowest and requires floating point support and - * linking with the math library. - */ -#define PJMEDIA_TONEGEN_SINE 1 - -/** - * Floating point approximation of sine(). This has relatively good - * precision and much faster than plain sine(), but it requires floating- - * point support and linking with the math library. - */ -#define PJMEDIA_TONEGEN_FLOATING_POINT 2 - -/** - * Fixed point using sine signal generated by Cordic algorithm. This - * algorithm can be tuned to provide balance between precision and - * performance by tuning the PJMEDIA_TONEGEN_FIXED_POINT_CORDIC_LOOP - * setting, and may be suitable for platforms that lack floating-point - * support. - */ -#define PJMEDIA_TONEGEN_FIXED_POINT_CORDIC 3 - -/** - * Fast fixed point using some approximation to generate sine waves. - * The tone generated by this algorithm is not very precise, however - * the algorithm is very fast. - */ -#define PJMEDIA_TONEGEN_FAST_FIXED_POINT 4 - - -/** - * Specify the tone generator algorithm to be used. Please see - * http://trac.pjsip.org/repos/wiki/Tone_Generator for the performance - * analysis results of the various tone generator algorithms. - * - * Default value: - * - PJMEDIA_TONEGEN_FLOATING_POINT when PJ_HAS_FLOATING_POINT is set - * - PJMEDIA_TONEGEN_FIXED_POINT_CORDIC when PJ_HAS_FLOATING_POINT is not set - */ -#ifndef PJMEDIA_TONEGEN_ALG -# if defined(PJ_HAS_FLOATING_POINT) && PJ_HAS_FLOATING_POINT -# define PJMEDIA_TONEGEN_ALG PJMEDIA_TONEGEN_FLOATING_POINT -# else -# define PJMEDIA_TONEGEN_ALG PJMEDIA_TONEGEN_FIXED_POINT_CORDIC -# endif -#endif - - -/** - * Specify the number of calculation loops to generate the tone, when - * PJMEDIA_TONEGEN_FIXED_POINT_CORDIC algorithm is used. With more calculation - * loops, the tone signal gets more precise, but this will add more - * processing. - * - * Valid values are 1 to 28. - * - * Default value: 10 - */ -#ifndef PJMEDIA_TONEGEN_FIXED_POINT_CORDIC_LOOP -# define PJMEDIA_TONEGEN_FIXED_POINT_CORDIC_LOOP 10 -#endif - - -/** - * Enable high quality of tone generation, the better quality will cost - * more CPU load. This is only applied to floating point enabled machines. - * - * By default it is enabled when PJ_HAS_FLOATING_POINT is set. - * - * This macro has been deprecated in version 1.0-rc3. - */ -#ifdef PJMEDIA_USE_HIGH_QUALITY_TONEGEN -# error "The PJMEDIA_USE_HIGH_QUALITY_TONEGEN macro is obsolete" -#endif - - -/** - * Fade-in duration for the tone, in milliseconds. Set to zero to disable - * this feature. - * - * Default: 1 (msec) - */ -#ifndef PJMEDIA_TONEGEN_FADE_IN_TIME -# define PJMEDIA_TONEGEN_FADE_IN_TIME 1 -#endif - - -/** - * Fade-out duration for the tone, in milliseconds. Set to zero to disable - * this feature. - * - * Default: 2 (msec) - */ -#ifndef PJMEDIA_TONEGEN_FADE_OUT_TIME -# define PJMEDIA_TONEGEN_FADE_OUT_TIME 2 -#endif - - -/** - * The default tone generator amplitude (1-32767). - * - * Default value: 12288 - */ -#ifndef PJMEDIA_TONEGEN_VOLUME -# define PJMEDIA_TONEGEN_VOLUME 12288 -#endif - - -/** - * Enable support for SRTP media transport. This will require linking - * with libsrtp from the third_party directory. - * - * By default it is enabled. - */ -#ifndef PJMEDIA_HAS_SRTP -# define PJMEDIA_HAS_SRTP 1 -#endif - - -/** - * Enable support to handle codecs with inconsistent clock rate - * between clock rate in SDP/RTP & the clock rate that is actually used. - * This happens for example with G.722 and MPEG audio codecs. - * See: - * - G.722 : RFC 3551 4.5.2 - * - MPEG audio : RFC 3551 4.5.13 & RFC 3119 - * - * Also when this feature is enabled, some handling will be performed - * to deal with clock rate incompatibilities of some phones. - * - * By default it is enabled. - */ -#ifndef PJMEDIA_HANDLE_G722_MPEG_BUG -# define PJMEDIA_HANDLE_G722_MPEG_BUG 1 -#endif - - -/** - * Transport info (pjmedia_transport_info) contains a socket info and list - * of transport specific info, since transports can be chained together - * (for example, SRTP transport uses UDP transport as the underlying - * transport). This constant specifies maximum number of transport specific - * infos that can be held in a transport info. - */ -#ifndef PJMEDIA_TRANSPORT_SPECIFIC_INFO_MAXCNT -# define PJMEDIA_TRANSPORT_SPECIFIC_INFO_MAXCNT 4 -#endif - - -/** - * Maximum size in bytes of storage buffer of a transport specific info. - */ -#ifndef PJMEDIA_TRANSPORT_SPECIFIC_INFO_MAXSIZE -# define PJMEDIA_TRANSPORT_SPECIFIC_INFO_MAXSIZE (36*sizeof(long)) -#endif - - -/** - * Value to be specified in PJMEDIA_STREAM_ENABLE_KA setting. - * This indicates that an empty RTP packet should be used as - * the keep-alive packet. - */ -#define PJMEDIA_STREAM_KA_EMPTY_RTP 1 - -/** - * Value to be specified in PJMEDIA_STREAM_ENABLE_KA setting. - * This indicates that a user defined packet should be used - * as the keep-alive packet. The content of the user-defined - * packet is specified by PJMEDIA_STREAM_KA_USER_PKT. Default - * content is a CR-LF packet. - */ -#define PJMEDIA_STREAM_KA_USER 2 - -/** - * The content of the user defined keep-alive packet. The format - * of the packet is initializer to pj_str_t structure. Note that - * the content may contain NULL character. - */ -#ifndef PJMEDIA_STREAM_KA_USER_PKT -# define PJMEDIA_STREAM_KA_USER_PKT { "\r\n", 2 } -#endif - -/** - * Specify another type of keep-alive and NAT hole punching - * mechanism (the other type is PJMEDIA_STREAM_VAD_SUSPEND_MSEC - * and PJMEDIA_CODEC_MAX_SILENCE_PERIOD) to be used by stream. - * When this feature is enabled, the stream will initially - * transmit one packet to punch a hole in NAT, and periodically - * transmit keep-alive packets. - * - * When this alternative keep-alive mechanism is used, application - * may disable the other keep-alive mechanisms, i.e: by setting - * PJMEDIA_STREAM_VAD_SUSPEND_MSEC to zero and - * PJMEDIA_CODEC_MAX_SILENCE_PERIOD to -1. - * - * The value of this macro specifies the type of packet used - * for the keep-alive mechanism. Valid values are - * PJMEDIA_STREAM_KA_EMPTY_RTP and PJMEDIA_STREAM_KA_USER. - * - * The duration of the keep-alive interval further can be set - * with PJMEDIA_STREAM_KA_INTERVAL setting. - * - * Default: 0 (disabled) - */ -#ifndef PJMEDIA_STREAM_ENABLE_KA -# define PJMEDIA_STREAM_ENABLE_KA 0 -#endif - - -/** - * Specify the keep-alive interval of PJMEDIA_STREAM_ENABLE_KA - * mechanism, in seconds. - * - * Default: 5 seconds - */ -#ifndef PJMEDIA_STREAM_KA_INTERVAL -# define PJMEDIA_STREAM_KA_INTERVAL 5 -#endif - - -/* - * .... new stuffs ... - */ - -/* - * Video - */ - -/** - * Top level option to enable/disable video features. - * - * Default: 0 (disabled) - */ -#ifndef PJMEDIA_HAS_VIDEO -# define PJMEDIA_HAS_VIDEO 0 -#endif - - -/** - * Specify if FFMPEG is available. The value here will be used as the default - * value for other FFMPEG settings below. - * - * Default: 0 - */ -#ifndef PJMEDIA_HAS_FFMPEG -# define PJMEDIA_HAS_FFMPEG 0 -#endif - -/** - * Specify if FFMPEG libavformat is available. - * - * Default: PJMEDIA_HAS_FFMPEG (or detected by configure) - */ -#ifndef PJMEDIA_HAS_LIBAVFORMAT -# define PJMEDIA_HAS_LIBAVFORMAT PJMEDIA_HAS_FFMPEG -#endif - -/** - * Specify if FFMPEG libavformat is available. - * - * Default: PJMEDIA_HAS_FFMPEG (or detected by configure) - */ -#ifndef PJMEDIA_HAS_LIBAVCODEC -# define PJMEDIA_HAS_LIBAVCODEC PJMEDIA_HAS_FFMPEG -#endif - -/** - * Specify if FFMPEG libavutil is available. - * - * Default: PJMEDIA_HAS_FFMPEG (or detected by configure) - */ -#ifndef PJMEDIA_HAS_LIBAVUTIL -# define PJMEDIA_HAS_LIBAVUTIL PJMEDIA_HAS_FFMPEG -#endif - -/** - * Specify if FFMPEG libswscale is available. - * - * Default: PJMEDIA_HAS_FFMPEG (or detected by configure) - */ -#ifndef PJMEDIA_HAS_LIBSWSCALE -# define PJMEDIA_HAS_LIBSWSCALE PJMEDIA_HAS_FFMPEG -#endif - -/** - * Specify if FFMPEG libavdevice is available. - * - * Default: PJMEDIA_HAS_FFMPEG (or detected by configure) - */ -#ifndef PJMEDIA_HAS_LIBAVDEVICE -# define PJMEDIA_HAS_LIBAVDEVICE PJMEDIA_HAS_FFMPEG -#endif - -/** - * Specify if FFMPEG libavcore is available. - * - * Default: PJMEDIA_HAS_FFMPEG (or detected by configure) - */ -#ifndef PJMEDIA_HAS_LIBAVCORE -# define PJMEDIA_HAS_LIBAVCORE PJMEDIA_HAS_FFMPEG -#endif - -/** - * Maximum video planes. - * - * Default: 4 - */ -#ifndef PJMEDIA_MAX_VIDEO_PLANES -# define PJMEDIA_MAX_VIDEO_PLANES 4 -#endif - -/** - * Maximum number of video formats. - * - * Default: 32 - */ -#ifndef PJMEDIA_MAX_VIDEO_FORMATS -# define PJMEDIA_MAX_VIDEO_FORMATS 32 -#endif - -/** - * Specify the maximum time difference (in ms) for synchronization between - * two medias. If the synchronization media source is ahead of time - * greater than this duration, it is considered to make a very large jump - * and the synchronization will be reset. - * - * Default: 20000 - */ -#ifndef PJMEDIA_CLOCK_SYNC_MAX_SYNC_MSEC -# define PJMEDIA_CLOCK_SYNC_MAX_SYNC_MSEC 20000 -#endif - -/** - * Maximum video frame size. - * Default: 128kB - */ -#ifndef PJMEDIA_MAX_VIDEO_ENC_FRAME_SIZE -# define PJMEDIA_MAX_VIDEO_ENC_FRAME_SIZE (1<<17) -#endif - - -/** - * Specify the maximum duration (in ms) for resynchronization. When a media - * is late to another media it is supposed to be synchronized to, it is - * guaranteed to be synchronized again after this duration. While if the - * media is ahead/early by t ms, it is guaranteed to be synchronized after - * t + this duration. This timing only applies if there is no additional - * resynchronization required during the specified duration. - * - * Default: 2000 - */ -#ifndef PJMEDIA_CLOCK_SYNC_MAX_RESYNC_DURATION -# define PJMEDIA_CLOCK_SYNC_MAX_RESYNC_DURATION 2000 -#endif - - -/** - * Minimum gap between two consecutive discards in jitter buffer, - * in milliseconds. - * - * Default: 200 ms - */ -#ifndef PJMEDIA_JBUF_DISC_MIN_GAP -# define PJMEDIA_JBUF_DISC_MIN_GAP 200 -#endif - - -/** - * Minimum burst level reference used for calculating discard duration - * in jitter buffer progressive discard algorithm, in frames. - * - * Default: 1 frame - */ -#ifndef PJMEDIA_JBUF_PRO_DISC_MIN_BURST -# define PJMEDIA_JBUF_PRO_DISC_MIN_BURST 1 -#endif - - -/** - * Maximum burst level reference used for calculating discard duration - * in jitter buffer progressive discard algorithm, in frames. - * - * Default: 200 frames - */ -#ifndef PJMEDIA_JBUF_PRO_DISC_MAX_BURST -# define PJMEDIA_JBUF_PRO_DISC_MAX_BURST 100 -#endif - - -/** - * Duration for progressive discard algotithm in jitter buffer to discard - * an excessive frame when burst is equal to or lower than - * PJMEDIA_JBUF_PRO_DISC_MIN_BURST, in milliseconds. - * - * Default: 2000 ms - */ -#ifndef PJMEDIA_JBUF_PRO_DISC_T1 -# define PJMEDIA_JBUF_PRO_DISC_T1 2000 -#endif - - -/** - * Duration for progressive discard algotithm in jitter buffer to discard - * an excessive frame when burst is equal to or greater than - * PJMEDIA_JBUF_PRO_DISC_MAX_BURST, in milliseconds. - * - * Default: 10000 ms - */ -#ifndef PJMEDIA_JBUF_PRO_DISC_T2 -# define PJMEDIA_JBUF_PRO_DISC_T2 10000 -#endif - - -/** - * Video stream will discard old picture from the jitter buffer as soon as - * new picture is received, to reduce latency. - * - * Default: 0 - */ -#ifndef PJMEDIA_VID_STREAM_SKIP_PACKETS_TO_REDUCE_LATENCY -# define PJMEDIA_VID_STREAM_SKIP_PACKETS_TO_REDUCE_LATENCY 0 -#endif - - -/** - * Maximum video payload size. Note that this must not be greater than - * PJMEDIA_MAX_MTU. - * - * Default: (PJMEDIA_MAX_MTU - 100) - */ -#ifndef PJMEDIA_MAX_VID_PAYLOAD_SIZE -# define PJMEDIA_MAX_VID_PAYLOAD_SIZE (PJMEDIA_MAX_MTU - 100) -#endif - - -/** - * @} - */ - - -#endif /* __PJMEDIA_CONFIG_H__ */ - - diff --git a/res/pjproject/pjmedia/include/pjmedia/config_auto.h.in b/res/pjproject/pjmedia/include/pjmedia/config_auto.h.in deleted file mode 100644 index 31a9d2b8f8..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/config_auto.h.in +++ /dev/null @@ -1,43 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CONFIG_AUTO_H_ -#define __PJMEDIA_CONFIG_AUTO_H_ - -/** - * @file config_auto.h - * @brief PJMEDIA configuration as set by autoconf script - */ - -/* - * Note: - * The configuration in config_site.h overrides any other settings, - * including the setting as detected by autoconf. - */ - -/* G711 codec */ -#ifndef PJMEDIA_HAS_G711_CODEC -#undef PJMEDIA_HAS_G711_CODEC -#endif - - -#endif /* __PJMEDIA_CONFIG_AUTO_H_ */ - - - diff --git a/res/pjproject/pjmedia/include/pjmedia/converter.h b/res/pjproject/pjmedia/include/pjmedia/converter.h deleted file mode 100644 index 8a9dd11a7e..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/converter.h +++ /dev/null @@ -1,322 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_CONVERTER_H__ -#define __PJMEDIA_CONVERTER_H__ - - -/** - * @file pjmedia/converter.h Format conversion utilities - * @brief Format conversion utilities - */ - -#include -#include -#include -#include - - -/** - * @defgroup PJMEDIA_CONVERTER Format converter - * @ingroup PJMEDIA_FRAME_OP - * @brief Audio and video converter utilities - * @{ - */ - -PJ_BEGIN_DECL - -/** - * This describes conversion parameter. It specifies the source and - * destination formats of the conversion. - */ -typedef struct pjmedia_conversion_param -{ - pjmedia_format src; /**< Source format. */ - pjmedia_format dst; /**< Destination format. */ -} pjmedia_conversion_param; - - -/** Forward declaration of factory operation structure */ -typedef struct pjmedia_converter_factory_op pjmedia_converter_factory_op; - -/** - * Converter priority guides. Converter priority determines which converter - * instance to be used if more than one converters are able to perform the - * requested conversion. Converter implementor can use this value to order - * the preference based on attributes such as quality or performance. Higher - * number indicates higher priority. - */ -typedef enum pjmedia_converter_priority_guide -{ - /** Lowest priority. */ - PJMEDIA_CONVERTER_PRIORITY_LOWEST = 0, - - /** Normal priority. */ - PJMEDIA_CONVERTER_PRIORITY_NORMAL = 15000, - - /** Highest priority. */ - PJMEDIA_CONVERTER_PRIORITY_HIGHEST = 32000 -} pjmedia_converter_priority_guide; - -/** - * Converter factory. The converter factory registers a callback function - * to create converters. - */ -typedef struct pjmedia_converter_factory -{ - /** - * Standard list members. - */ - PJ_DECL_LIST_MEMBER(struct pjmedia_converter_factory); - - /** - * Factory name. - */ - const char *name; - - /** - * Converter priority determines which converter instance to be used if - * more than one converters are able to perform the requested conversion. - * Converter implementor can use this value to order the preference based - * on attributes such as quality or performance. Higher number indicates - * higher priority. The pjmedia_converter_priority_guide enumeration shall - * be used as the base value to set the priority. - */ - int priority; - - /** - * Pointer to factory operation. - */ - pjmedia_converter_factory_op *op; - -} pjmedia_converter_factory; - -/** Forward declaration for converter operation. */ -typedef struct pjmedia_converter_op pjmedia_converter_op; - -/** - * This structure describes a converter instance. - */ -typedef struct pjmedia_converter -{ - /** - * Pointer to converter operation. - */ - pjmedia_converter_op *op; - -} pjmedia_converter; - - -/** - * Converter factory operation. - */ -struct pjmedia_converter_factory_op -{ - /** - * This function creates a converter with the specified conversion format, - * if such format is supported. - * - * @param cf The converter factory. - * @param pool Pool to allocate memory from. - * @param prm Conversion parameter. - * @param p_cv Pointer to hold the created converter instance. - * - * @return PJ_SUCCESS if converter has been created successfully. - */ - pj_status_t (*create_converter)(pjmedia_converter_factory *cf, - pj_pool_t *pool, - const pjmedia_conversion_param *prm, - pjmedia_converter **p_cv); - - /** - * Destroy the factory. - * - * @param cf The converter factory. - */ - void (*destroy_factory)(pjmedia_converter_factory *cf); -}; - -/** - * Converter operation. - */ -struct pjmedia_converter_op -{ - /** - * Convert the buffer in the source frame and save the result in the - * buffer of the destination frame, according to conversion format that - * was specified when the converter was created. - * - * Note that application should use #pjmedia_converter_convert() instead - * of calling this function directly. - * - * @param cv The converter instance. - * @param src_frame The source frame. - * @param dst_frame The destination frame. - * - * @return PJ_SUCCESS if conversion has been performed - * successfully. - */ - pj_status_t (*convert)(pjmedia_converter *cv, - pjmedia_frame *src_frame, - pjmedia_frame *dst_frame); - - /** - * Destroy the converter instance. - * - * Note that application should use #pjmedia_converter_destroy() instead - * of calling this function directly. - * - * @param cv The converter. - */ - void (*destroy)(pjmedia_converter *cv); - -}; - - -/** - * Opaque data type for conversion manager. Typically, the conversion manager - * is a singleton instance, although application may instantiate more than one - * instances of this if required. - */ -typedef struct pjmedia_converter_mgr pjmedia_converter_mgr; - - -/** - * Create a new conversion manager instance. This will also set the pointer - * to the singleton instance if the value is still NULL. - * - * @param pool Pool to allocate memory from. - * @param mgr Pointer to hold the created instance of the - * conversion manager. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_converter_mgr_create(pj_pool_t *pool, - pjmedia_converter_mgr **mgr); - -/** - * Get the singleton instance of the conversion manager. - * - * @return The instance. - */ -PJ_DECL(pjmedia_converter_mgr*) pjmedia_converter_mgr_instance(void); - -/** - * Manually assign a specific video manager instance as the singleton - * instance. Normally this is not needed if only one instance is ever - * going to be created, as the library automatically assign the singleton - * instance. - * - * @param mgr The instance to be used as the singleton instance. - * Application may specify NULL to clear the singleton - * singleton instance. - */ -PJ_DECL(void) pjmedia_converter_mgr_set_instance(pjmedia_converter_mgr *mgr); - -/** - * Destroy a converter manager. If the manager happens to be the singleton - * instance, the singleton instance will be set to NULL. - * - * @param mgr The converter manager. Specify NULL to use - * the singleton instance. - */ -PJ_DECL(void) pjmedia_converter_mgr_destroy(pjmedia_converter_mgr *mgr); - -/** - * Register a converter factory to the converter manager. - * - * @param mgr The converter manager. Specify NULL to use - * the singleton instance. - * @param f The converter factory to be registered. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) -pjmedia_converter_mgr_register_factory(pjmedia_converter_mgr *mgr, - pjmedia_converter_factory *f); - -/** - * Unregister a previously registered converter factory from the converter - * manager. - * - * @param mgr The converter manager. Specify NULL to use - * the singleton instance. - * @param f The converter factory to be unregistered. - * @param call_destroy If this is set to non-zero, the \a destroy_factory() - * callback of the factory will be called while - * unregistering the factory from the manager. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) -pjmedia_converter_mgr_unregister_factory(pjmedia_converter_mgr *mgr, - pjmedia_converter_factory *f, - pj_bool_t call_destroy); - -/** - * Create a converter instance to perform the specified format conversion - * as specified in \a param. - * - * @param mgr The converter manager. Specify NULL to use - * the singleton instance. - * @param pool Pool to allocate the memory from. - * @param param Conversion parameter. - * @param p_cv Pointer to hold the created converter. - * - * @return PJ_SUCCESS if a converter has been created successfully - * or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_converter_create(pjmedia_converter_mgr *mgr, - pj_pool_t *pool, - pjmedia_conversion_param *param, - pjmedia_converter **p_cv); - -/** - * Convert the buffer in the source frame and save the result in the - * buffer of the destination frame, according to conversion format that - * was specified when the converter was created. - * - * @param cv The converter instance. - * @param src_frame The source frame. - * @param dst_frame The destination frame. - * - * @return PJ_SUCCESS if conversion has been performed - * successfully. - */ -PJ_DECL(pj_status_t) pjmedia_converter_convert(pjmedia_converter *cv, - pjmedia_frame *src_frame, - pjmedia_frame *dst_frame); - -/** - * Destroy the converter. - * - * @param cv The converter instance. - */ -PJ_DECL(void) pjmedia_converter_destroy(pjmedia_converter *cv); - - -PJ_END_DECL - -/** - * @} - */ - - -#endif /* __PJMEDIA_CONVERTER_H__ */ - - diff --git a/res/pjproject/pjmedia/include/pjmedia/delaybuf.h b/res/pjproject/pjmedia/include/pjmedia/delaybuf.h deleted file mode 100644 index 09b01bbb51..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/delaybuf.h +++ /dev/null @@ -1,176 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#ifndef __PJMEDIA_DELAYBUF_H__ -#define __PJMEDIA_DELAYBUF_H__ - - -/** - * @file delaybuf.h - * @brief Delay Buffer. - */ - -#include - -/** - * @defgroup PJMED_DELAYBUF Adaptive Delay Buffer - * @ingroup PJMEDIA_FRAME_OP - * @brief Adaptive delay buffer with high-quality time-scale - * modification - * @{ - * - * This section describes PJMEDIA's implementation of delay buffer. - * Delay buffer works quite similarly like a fixed jitter buffer, that - * is it will delay the frame retrieval by some interval so that caller - * will get continuous frame from the buffer. This can be useful when - * the put() and get() operations are not evenly interleaved, for example - * when caller performs burst of put() operations and then followed by - * burst of get() operations. With using this delay buffer, the buffer - * will put the burst frames into a buffer so that get() operations - * will always get a frame from the buffer (assuming that the number of - * get() and put() are matched). - * - * The buffer is adaptive, that is it continuously learns the optimal delay - * to be applied to the audio flow at run-time. Once the optimal delay has - * been learned, the delay buffer will apply this delay to the audio flow, - * expanding or shrinking the audio samples as necessary when the actual - * audio samples in the buffer are too low or too high. It does this without - * distorting the audio quality of the audio, by using \a PJMED_WSOLA. - * - * The delay buffer is used in \ref PJMED_SND_PORT, \ref PJMEDIA_SPLITCOMB, - * and \ref PJMEDIA_CONF. - */ - -PJ_BEGIN_DECL - -/** Opaque declaration for delay buffer. */ -typedef struct pjmedia_delay_buf pjmedia_delay_buf; - -/** - * Delay buffer options. - */ -typedef enum pjmedia_delay_buf_flag -{ - /** - * Use simple FIFO mechanism for the delay buffer, i.e. - * without WSOLA for expanding and shrinking audio samples. - */ - PJMEDIA_DELAY_BUF_SIMPLE_FIFO = 1 - -} pjmedia_delay_buf_flag; - -/** - * Create the delay buffer. Once the delay buffer is created, it will - * enter learning state unless the delay argument is specified, which - * in this case it will directly enter the running state. - * - * @param pool Pool where the delay buffer will be allocated - * from. - * @param name Optional name for the buffer for log - * identification. - * @param clock_rate Number of samples processed per second. - * @param samples_per_frame Number of samples per frame. - * @param channel_count Number of channel per frame. - * @param max_delay Maximum number of delay to be accommodated, - * in ms, if this value is negative or less than - * one frame time, default maximum delay used is - * 400 ms. - * @param options Options. If PJMEDIA_DELAY_BUF_SIMPLE_FIFO is - * specified, then a simple FIFO mechanism - * will be used instead of the adaptive - * implementation (which uses WSOLA to expand - * or shrink audio samples). - * See #pjmedia_delay_buf_flag for other options. - * @param p_b Pointer to receive the delay buffer instance. - * - * @return PJ_SUCCESS if the delay buffer has been - * created successfully, otherwise the appropriate - * error will be returned. - */ -PJ_DECL(pj_status_t) pjmedia_delay_buf_create(pj_pool_t *pool, - const char *name, - unsigned clock_rate, - unsigned samples_per_frame, - unsigned channel_count, - unsigned max_delay, - unsigned options, - pjmedia_delay_buf **p_b); - -/** - * Put one frame into the buffer. - * - * @param b The delay buffer. - * @param frame Frame to be put into the buffer. This frame - * must have samples_per_frame length. - * - * @return PJ_SUCCESS if frames can be put successfully. - * PJ_EPENDING if the buffer is still at learning - * state. PJ_ETOOMANY if the number of frames - * will exceed maximum delay level, which in this - * case the new frame will overwrite the oldest - * frame in the buffer. - */ -PJ_DECL(pj_status_t) pjmedia_delay_buf_put(pjmedia_delay_buf *b, - pj_int16_t frame[]); - -/** - * Get one frame from the buffer. - * - * @param b The delay buffer. - * @param frame Buffer to receive the frame from the delay - * buffer. - * - * @return PJ_SUCCESS if frame has been copied successfully. - * PJ_EPENDING if no frame is available, either - * because the buffer is still at learning state or - * no buffer is available during running state. - * On non-successful return, the frame will be - * filled with zeroes. - */ -PJ_DECL(pj_status_t) pjmedia_delay_buf_get(pjmedia_delay_buf *b, - pj_int16_t frame[]); - -/** - * Reset delay buffer. This will clear the buffer's content. But keep - * the learning result. - * - * @param b The delay buffer. - * - * @return PJ_SUCCESS on success or the appropriate error. - */ -PJ_DECL(pj_status_t) pjmedia_delay_buf_reset(pjmedia_delay_buf *b); - -/** - * Destroy delay buffer. - * - * @param b Delay buffer session. - * - * @return PJ_SUCCESS normally. - */ -PJ_DECL(pj_status_t) pjmedia_delay_buf_destroy(pjmedia_delay_buf *b); - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJMEDIA_DELAYBUF_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/doxygen.h b/res/pjproject/pjmedia/include/pjmedia/doxygen.h deleted file mode 100644 index 7ec94cbe48..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/doxygen.h +++ /dev/null @@ -1,244 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_DOXYGEN_H__ -#define __PJMEDIA_DOXYGEN_H__ - -/** - * @file doxygen.h - * @brief Doxygen's mainpage. - */ - - -/*////////////////////////////////////////////////////////////////////////// */ -/* - INTRODUCTION PAGE - */ - -/** - * @mainpage PJMEDIA - * - * \n - * @section intro2 Introduction to PJMEDIA - * - * PJMEDIA is a fully featured media stack, distributed under Open Source/GPL - * terms, and featuring small footprint and good extensibility and excellent - * portability. Here are some brief overview of PJMEDIA benefits. - * - * @subsection benefit Benefits - * @subsubsection full_feature Many Features - * PJMEDIA has many features, and rather than to list them all here, please - * see the Modules page for more info. - * - * Video is planned to arrive at version 2. - * - * @subsubsection portable Excellent Portability - * It's been ported to all desktop systems and many mobile platforms including - * Symbian, Windows Mobile, iPhone, and Android. Thanks to its zero thread - * design, users have been able to run PJMEDIA on deeply embedded platforms, - * even without operating systems (those typically found in DSP platforms). - * Except the echo suppressor, all other PJMEDIA components have fixed point - * implementation, which makes it ideal for embedded systems which lack FPU. - * PJMEDIA also has tiny footprint, as explained below - * - * @subsubsection footprint Tiny Footprint - * Lets not talk about less meaningful and potentially misleading term such as - * core footprint, and instead here is the footprint of all components - * typically used to build a full streaming media: - * - * \verbatim -Category Component text data bss dec filename -------------------------------------------------------------------------------- -Core Error subsystem 135 0 0 135 errno.o -Core Endpoint 4210 4 4 4218 endpoint.o -Core Port framework 652 0 0 652 port.o -Core Codec framework 6257 0 0 6257 codec.o -Codec Alaw/ulaw conv. 1060 16 0 1076 alaw_ulaw.o -Codec G.711 3298 128 96 3522 g711.o -Codec PLC 883 24 0 907 plc_common.o -Codec PLC 7130 0 0 7130 wsola.o -Session Stream 12222 0 1920 14142 stream.o -Transport RTCP 3732 0 0 3732 rtcp.o -Transport RTP 2568 0 0 2568 rtp.o -Transport UDP 6612 96 0 6708 transport_udp.o -Transport Jitter buffer 6473 0 0 6473 jbuf.o -------------------------------------------------------------------------------- -TOTAL 55,232 268 2,020 57,520 - - \endverbatim - * The 56KB are for media streaming components, complete with codec, RTP, and - * RTCP. The footprint above was done for PJSIP version 1.8.2 on a Linux x86 - * machine, using footprintopimization as explained in PJSIP FAQ. Numbers are - * in bytes. - * - * @subsubsection quality Good Quality - * PJMEDIA supports wideband, ultra-wideband, and beyond, as well as multiple - * audio channels. The jitter buffer has been proven to work on lower - * bandwidth links such as 3G, and to some extent, Edge and GPRS. We've grown - * our own algorithm to compensate for packet losses and clock drifts in audio - * transmission, as well as feature to use codec's built in PLC if available. - * - * @subsubsection hw Hardware Support - * PJMEDIA supports hardware, firmware, or other built-in feature that comes - * with the device. These are crucial for mobile devices to allow the best - * use of the very limited CPU and battery power of the device. Among other - * things, device's on-board codec and echo cancellation may be used if - * available. - * - * @subsubsection extensible Extensible - * Despite its tiny footprint, PJMEDIA uses a flexible port concept, which is - * adapted from filter based concept found in other media framework. It is not - * as flexible as those found in Direct Show or gstreamer (and that would be - * unnecessary since it serves different purpose), but it's flexible enough - * to allow components to be assembled one after another to achieve certain - * task, and easy creation of such components by application and interconnect - * them to the rest of the framework. - * - * @subsubsection doc (Fairly Okay) Documentation - * We understand that any documentation can always be improved, but we put - * a lot of efforts in creating and maintaining our documentation, because - * we know it matters. - * - * \n - * @subsection org1 Organization - * - * At the top-most level, PJMEDIA library suite contains the following - * libraries. - * - * @subsubsection libpjmedia PJMEDIA - * This contains all main media components. Please see the - * Modules page for complete list of - * components that PJMEDIA provides. - * - * @subsubsection libpjmediacodec PJMEDIA Codec - * PJMEDIA-CODEC is a static library containing various codec implementations, - * wrapped into PJMEDIA codec framework. The static library is designed as - * such so that only codecs that are explicitly initialized are linked with - * the application, therefore keeping the application size in control. - * - * Please see @ref PJMEDIA_CODEC for more info. - * - * @subsubsection libpjmediaaudiodev PJMEDIA Audio Device - * PJMEDIA-Audiodev is audio device framework and abstraction library. Please - * see @ref audio_device_api for more info. - * - * \n - * @section pjmedia_concepts PJMEDIA Key Concepts - * Below are some key concepts in PJMEDIA: - * - @ref PJMEDIA_PORT - * - @ref PJMEDIA_PORT_CLOCK - * - @ref PJMEDIA_TRANSPORT - * - @ref PJMEDIA_SESSION - */ - - -/** - @page page_pjmedia_samples PJMEDIA and PJMEDIA-CODEC Examples - - @section pjmedia_samples_sec PJMEDIA and PJMEDIA-CODEC Examples - - Please find below some PJMEDIA related examples that may help in giving - some more info: - - - @ref page_pjmedia_samples_level_c\n - This is a good place to start learning about @ref PJMEDIA_PORT, - as it shows that @ref PJMEDIA_PORT are only "passive" objects - with get_frame() and put_frame() interface, and - someone has to call these to retrieve/store media frames. - - - @ref page_pjmedia_samples_playfile_c\n - This example shows that when application connects a media port (in this - case a @ref PJMEDIA_FILE_PLAY) to @ref PJMED_SND_PORT, media will flow - automatically since the @ref PJMED_SND_PORT provides @ref PJMEDIA_PORT_CLOCK. - - - @ref page_pjmedia_samples_recfile_c\n - Demonstrates how to capture audio from microphone to WAV file. - - - @ref page_pjmedia_samples_playsine_c\n - Demonstrates how to create a custom @ref PJMEDIA_PORT (in this - case a sine wave generator) and integrate it to PJMEDIA. - - - @ref page_pjmedia_samples_confsample_c\n - This demonstrates how to use the @ref PJMEDIA_CONF. The sample program can - open multiple WAV files, and instruct the conference bridge to mix the - signal before playing it to the sound device. - - - @ref page_pjmedia_samples_confbench_c\n - I use this to benchmark/optimize the conference bridge algorithm, but - readers may find the source useful. - - - @ref page_pjmedia_samples_resampleplay_c\n - Demonstrates how to use @ref PJMEDIA_RESAMPLE_PORT to change the - sampling rate of a media port (in this case, a @ref PJMEDIA_FILE_PLAY). - - - @ref page_pjmedia_samples_sndtest_c\n - This program performs some tests to the sound device to get some - quality parameters (such as sound jitter and clock drifts).\n - Screenshots on WinXP: \image html sndtest.jpg "sndtest screenshot on WinXP" - - - @ref page_pjmedia_samples_streamutil_c\n - This example mainly demonstrates how to stream media (in this case a - @ref PJMEDIA_FILE_PLAY) to remote peer using RTP. - - - @ref page_pjmedia_samples_siprtp_c\n - This is a useful program (integrated with PJSIP) to actively measure - the network quality/impairment parameters by making one or more SIP - calls (or receiving one or more SIP calls) and display the network - impairment of each stream direction at the end of the call. - The program is able to measure network quality parameters such as - jitter, packet lost/reorder/duplicate, round trip time, etc.\n - Note that the remote peer MUST support RTCP so that network quality - of each direction can be calculated. Using siprtp for both endpoints - is recommended.\n - Screenshots on WinXP: \image html siprtp.jpg "siprtp screenshot on WinXP" - - - @ref page_pjmedia_samples_tonegen_c\n - This is a simple program to generate a tone and write the samples to - a raw PCM file. The main purpose of this file is to analyze the - quality of the tones/sine wave generated by PJMEDIA tone/sine wave - generator. - - - @ref page_pjmedia_samples_aectest_c\n - Play a file to speaker, run AEC, and record the microphone input - to see if echo is coming. - */ - -/** - * \page page_pjmedia_samples_siprtp_c Samples: Using SIP and Custom RTP/RTCP to Monitor Quality - * - * This source is an example to demonstrate using SIP and RTP/RTCP framework - * to measure the network quality/impairment from the SIP call. This - * program can be used to make calls or to receive calls from other - * SIP endpoint (or other siprtp program), and to display the media - * quality statistics at the end of the call. - * - * Note that the remote peer must support RTCP. - * - * The layout of the program has been designed so that custom reporting - * can be generated instead of plain human readable text. - * - * The source code of the file is pjsip-apps/src/samples/siprtp.c - * - * Screenshots on WinXP: \image html siprtp.jpg - * - * \includelineno siprtp.c - */ - -#endif /* __PJMEDIA_DOXYGEN_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/echo.h b/res/pjproject/pjmedia/include/pjmedia/echo.h deleted file mode 100644 index 4ed62ee9da..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/echo.h +++ /dev/null @@ -1,260 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_ECHO_H__ -#define __PJMEDIA_ECHO_H__ - - -/** - * @file echo.h - * @brief Echo Cancellation API. - */ -#include - - - -/** - * @defgroup PJMEDIA_Echo_Cancel Accoustic Echo Cancellation API - * @ingroup PJMEDIA_PORT - * @brief Echo Cancellation API. - * @{ - * - * This section describes API to perform echo cancellation to audio signal. - * There may be multiple echo canceller implementation in PJMEDIA, ranging - * from simple echo suppressor to a full Accoustic Echo Canceller/AEC. By - * using this API, application should be able to use which EC backend to - * use base on the requirement and capability of the platform. - */ - - -PJ_BEGIN_DECL - - -/** - * Opaque type for PJMEDIA Echo Canceller state. - */ -typedef struct pjmedia_echo_state pjmedia_echo_state; - - -/** - * Echo cancellation options. - */ -typedef enum pjmedia_echo_flag -{ - /** - * Use any available backend echo canceller algorithm. This is - * the default settings. This setting is mutually exclusive with - * PJMEDIA_ECHO_SIMPLE and PJMEDIA_ECHO_SPEEX. - */ - PJMEDIA_ECHO_DEFAULT= 0, - - /** - * Force to use Speex AEC as the backend echo canceller algorithm. - * This setting is mutually exclusive with PJMEDIA_ECHO_SIMPLE. - */ - PJMEDIA_ECHO_SPEEX = 1, - - /** - * If PJMEDIA_ECHO_SIMPLE flag is specified during echo canceller - * creation, then a simple echo suppressor will be used instead of - * an accoustic echo cancellation. This setting is mutually exclusive - * with PJMEDIA_ECHO_SPEEX. - */ - PJMEDIA_ECHO_SIMPLE = 2, - - /** - * For internal use. - */ - PJMEDIA_ECHO_ALGO_MASK = 15, - - /** - * If PJMEDIA_ECHO_NO_LOCK flag is specified, no mutex will be created - * for the echo canceller, but application will guarantee that echo - * canceller will not be called by different threads at the same time. - */ - PJMEDIA_ECHO_NO_LOCK = 16, - - /** - * If PJMEDIA_ECHO_USE_SIMPLE_FIFO flag is specified, the delay buffer - * created for the echo canceller will use simple FIFO mechanism, i.e. - * without using WSOLA to expand and shrink audio samples. - */ - PJMEDIA_ECHO_USE_SIMPLE_FIFO = 32, - - /** - * If PJMEDIA_ECHO_USE_SW_ECHO flag is specified, software echo canceller - * will be used instead of device EC. - */ - PJMEDIA_ECHO_USE_SW_ECHO = 64 - -} pjmedia_echo_flag; - - - - -/** - * Create the echo canceller. - * - * @param pool Pool to allocate memory. - * @param clock_rate Media clock rate/sampling rate. - * @param samples_per_frame Number of samples per frame. - * @param tail_ms Tail length, miliseconds. - * @param latency_ms Total lacency introduced by playback and - * recording device. Set to zero if the latency - * is not known. - * @param options Options. If PJMEDIA_ECHO_SIMPLE is specified, - * then a simple echo suppressor implementation - * will be used instead of an accoustic echo - * cancellation. - * See #pjmedia_echo_flag for other options. - * @param p_echo Pointer to receive the Echo Canceller state. - * - * @return PJ_SUCCESS on success, or the appropriate status. - */ -PJ_DECL(pj_status_t) pjmedia_echo_create(pj_pool_t *pool, - unsigned clock_rate, - unsigned samples_per_frame, - unsigned tail_ms, - unsigned latency_ms, - unsigned options, - pjmedia_echo_state **p_echo ); - -/** - * Create multi-channel the echo canceller. - * - * @param pool Pool to allocate memory. - * @param clock_rate Media clock rate/sampling rate. - * @param channel_count Number of channels. - * @param samples_per_frame Number of samples per frame. - * @param tail_ms Tail length, miliseconds. - * @param latency_ms Total lacency introduced by playback and - * recording device. Set to zero if the latency - * is not known. - * @param options Options. If PJMEDIA_ECHO_SIMPLE is specified, - * then a simple echo suppressor implementation - * will be used instead of an accoustic echo - * cancellation. - * See #pjmedia_echo_flag for other options. - * @param p_echo Pointer to receive the Echo Canceller state. - * - * @return PJ_SUCCESS on success, or the appropriate status. - */ -PJ_DECL(pj_status_t) pjmedia_echo_create2(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned tail_ms, - unsigned latency_ms, - unsigned options, - pjmedia_echo_state **p_echo ); - -/** - * Destroy the Echo Canceller. - * - * @param echo The Echo Canceller. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_echo_destroy(pjmedia_echo_state *echo ); - - -/** - * Reset the echo canceller. - * - * @param echo The Echo Canceller. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_echo_reset(pjmedia_echo_state *echo ); - - -/** - * Let the Echo Canceller know that a frame has been played to the speaker. - * The Echo Canceller will keep the frame in its internal buffer, to be used - * when cancelling the echo with #pjmedia_echo_capture(). - * - * @param echo The Echo Canceller. - * @param play_frm Sample buffer containing frame to be played - * (or has been played) to the playback device. - * The frame must contain exactly samples_per_frame - * number of samples. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_echo_playback(pjmedia_echo_state *echo, - pj_int16_t *play_frm ); - - -/** - * Let the Echo Canceller know that a frame has been captured from the - * microphone. The Echo Canceller will cancel the echo from the captured - * signal, using the internal buffer (supplied by #pjmedia_echo_playback()) - * as the FES (Far End Speech) reference. - * - * @param echo The Echo Canceller. - * @param rec_frm On input, it contains the input signal (captured - * from microphone) which echo is to be removed. - * Upon returning this function, this buffer contain - * the processed signal with the echo removed. - * The frame must contain exactly samples_per_frame - * number of samples. - * @param options Echo cancellation options, reserved for future use. - * Put zero for now. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_echo_capture(pjmedia_echo_state *echo, - pj_int16_t *rec_frm, - unsigned options ); - - -/** - * Perform echo cancellation. - * - * @param echo The Echo Canceller. - * @param rec_frm On input, it contains the input signal (captured - * from microphone) which echo is to be removed. - * Upon returning this function, this buffer contain - * the processed signal with the echo removed. - * @param play_frm Sample buffer containing frame to be played - * (or has been played) to the playback device. - * The frame must contain exactly samples_per_frame - * number of samples. - * @param options Echo cancellation options, reserved for future use. - * Put zero for now. - * @param reserved Reserved for future use, put NULL for now. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_echo_cancel( pjmedia_echo_state *echo, - pj_int16_t *rec_frm, - const pj_int16_t *play_frm, - unsigned options, - void *reserved ); - - -PJ_END_DECL - -/** - * @} - */ - - -#endif /* __PJMEDIA_ECHO_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/echo_port.h b/res/pjproject/pjmedia/include/pjmedia/echo_port.h deleted file mode 100644 index 6806a71d42..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/echo_port.h +++ /dev/null @@ -1,74 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_AEC_PORT_H__ -#define __PJMEDIA_AEC_PORT_H__ - -/** - * @file echo_port.h - * @brief AEC (Accoustic Echo Cancellation) media port. - */ -#include - - - -/** - * @defgroup PJMEDIA_ECHO_PORT Echo Cancellation Port - * @ingroup PJMEDIA_PORT - * @brief Echo Cancellation - * @{ - * - * Wrapper to \ref PJMEDIA_Echo_Cancel into media port interface. - */ - - -PJ_BEGIN_DECL - - -/** - * Create echo canceller port. - * - * @param pool Pool to allocate memory. - * @param dn_port Downstream port. - * @param tail_ms Tail length in miliseconds. - * @param latency_ms Total lacency introduced by playback and - * recording device. Set to zero if the latency - * is not known. - * @param options Options, as in #pjmedia_echo_create(). - * @param p_port Pointer to receive the port instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_echo_port_create(pj_pool_t *pool, - pjmedia_port *dn_port, - unsigned tail_ms, - unsigned latency_ms, - unsigned options, - pjmedia_port **p_port ); - - - -PJ_END_DECL - -/** - * @} - */ - - -#endif /* __PJMEDIA_AEC_PORT_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/endpoint.h b/res/pjproject/pjmedia/include/pjmedia/endpoint.h deleted file mode 100644 index 0e5debb838..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/endpoint.h +++ /dev/null @@ -1,295 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_MEDIAMGR_H__ -#define __PJMEDIA_MEDIAMGR_H__ - - -/** - * @file endpoint.h - * @brief Media endpoint. - */ -/** - * @defgroup PJMED_ENDPT The Endpoint - * @{ - * - * The media endpoint acts as placeholder for endpoint capabilities. Each - * media endpoint will have a codec manager to manage list of codecs installed - * in the endpoint and a sound device factory. - * - * A reference to media endpoint instance is required when application wants - * to create a media session (#pjmedia_session_create()). - */ - -#include -#include -#include - - -PJ_BEGIN_DECL - -/** - * This enumeration describes various flags that can be set or retrieved in - * the media endpoint, by using pjmedia_endpt_set_flag() and - * pjmedia_endpt_get_flag() respectively. - */ -typedef enum pjmedia_endpt_flag -{ - /** - * This flag controls whether telephony-event should be offered in SDP. - * Value is boolean. - */ - PJMEDIA_ENDPT_HAS_TELEPHONE_EVENT_FLAG - -} pjmedia_endpt_flag; - - -/** - * Type of callback to register to pjmedia_endpt_atexit(). - */ -typedef void (*pjmedia_endpt_exit_callback)(pjmedia_endpt *endpt); - - -/** - * Create an instance of media endpoint. - * - * @param pf Pool factory, which will be used by the media endpoint - * throughout its lifetime. - * @param ioqueue Optional ioqueue instance to be registered to the - * endpoint. The ioqueue instance is used to poll all RTP - * and RTCP sockets. If this argument is NULL, the - * endpoint will create an internal ioqueue instance. - * @param worker_cnt Specify the number of worker threads to be created - * to poll the ioqueue. - * @param p_endpt Pointer to receive the endpoint instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_endpt_create( pj_pool_factory *pf, - pj_ioqueue_t *ioqueue, - unsigned worker_cnt, - pjmedia_endpt **p_endpt); - -/** - * Destroy media endpoint instance. - * - * @param endpt Media endpoint instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_endpt_destroy(pjmedia_endpt *endpt); - -/** - * Change the value of a flag. - * - * @param endpt Media endpoint. - * @param flag The flag. - * @param value Pointer to the value to be set. - * - * @reurn PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_endpt_set_flag(pjmedia_endpt *endpt, - pjmedia_endpt_flag flag, - const void *value); - -/** - * Retrieve the value of a flag. - * - * @param endpt Media endpoint. - * @param flag The flag. - * @param value Pointer to store the result. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_endpt_get_flag(pjmedia_endpt *endpt, - pjmedia_endpt_flag flag, - void *value); - -/** - * Get the ioqueue instance of the media endpoint. - * - * @param endpt The media endpoint instance. - * - * @return The ioqueue instance of the media endpoint. - */ -PJ_DECL(pj_ioqueue_t*) pjmedia_endpt_get_ioqueue(pjmedia_endpt *endpt); - - -/** - * Get the number of worker threads on the media endpoint - * - * @param endpt The media endpoint instance. - * @return The number of worker threads on the media endpoint - */ -PJ_DECL(unsigned) pjmedia_endpt_get_thread_count(pjmedia_endpt *endpt); - -/** - * Get a reference to one of the worker threads of the media endpoint - * - * @param endpt The media endpoint instance. - * @param index The index of the thread: 0<= index < thread_cnt - * - * @return pj_thread_t or NULL - */ -PJ_DECL(pj_thread_t*) pjmedia_endpt_get_thread(pjmedia_endpt *endpt, - unsigned index); - - -/** - * Request the media endpoint to create pool. - * - * @param endpt The media endpoint instance. - * @param name Name to be assigned to the pool. - * @param initial Initial pool size, in bytes. - * @param increment Increment size, in bytes. - * - * @return Memory pool. - */ -PJ_DECL(pj_pool_t*) pjmedia_endpt_create_pool( pjmedia_endpt *endpt, - const char *name, - pj_size_t initial, - pj_size_t increment); - -/** - * Get the codec manager instance of the media endpoint. - * - * @param endpt The media endpoint instance. - * - * @return The instance of codec manager belonging to - * this media endpoint. - */ -PJ_DECL(pjmedia_codec_mgr*) pjmedia_endpt_get_codec_mgr(pjmedia_endpt *endpt); - - -/** - * Create a SDP session description that describes the endpoint - * capability. - * - * @param endpt The media endpoint. - * @param pool Pool to use to create the SDP descriptor. - * @param stream_cnt Number of elements in the sock_info array. This - * also denotes the maximum number of streams (i.e. - * the "m=" lines) that will be created in the SDP. - * By convention, if this value is greater than one, - * the first media will be audio and the remaining - * media is video. - * @param sock_info Array of socket transport information. One - * transport is needed for each media stream, and - * each transport consists of an RTP and RTCP socket - * pair. - * @param p_sdp Pointer to receive SDP session descriptor. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_endpt_create_sdp( pjmedia_endpt *endpt, - pj_pool_t *pool, - unsigned stream_cnt, - const pjmedia_sock_info sock_info[], - pjmedia_sdp_session **p_sdp ); - -/** - * Create a "blank" SDP session description. The SDP will contain basic SDP - * fields such as origin, time, and name, but without any media lines. - * - * @param endpt The media endpoint. - * @param pool Pool to allocate memory from. - * @param sess_name Optional SDP session name, or NULL to use default - * value. - * @param origin Address to put in the origin field. - * @param p_sdp Pointer to receive the created SDP session. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_endpt_create_base_sdp(pjmedia_endpt *endpt, - pj_pool_t *pool, - const pj_str_t *sess_name, - const pj_sockaddr *origin, - pjmedia_sdp_session **p_sdp); - -/** - * Create SDP media line for audio media. - * - * @param endpt The media endpoint. - * @param pool Pool to allocate memory from. - * @param si Socket information. - * @param options Option flags, must be zero for now. - * @param p_m Pointer to receive the created SDP media. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_endpt_create_audio_sdp(pjmedia_endpt *endpt, - pj_pool_t *pool, - const pjmedia_sock_info*si, - unsigned options, - pjmedia_sdp_media **p_m); - -/** - * Create SDP media line for video media. - * - * @param endpt The media endpoint. - * @param pool Pool to allocate memory from. - * @param si Socket information. - * @param options Option flags, must be zero for now. - * @param p_m Pointer to receive the created SDP media. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_endpt_create_video_sdp(pjmedia_endpt *endpt, - pj_pool_t *pool, - const pjmedia_sock_info*si, - unsigned options, - pjmedia_sdp_media **p_m); - -/** - * Dump media endpoint capabilities. - * - * @param endpt The media endpoint. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_endpt_dump(pjmedia_endpt *endpt); - - -/** - * Register cleanup function to be called by media endpoint when - * #pjmedia_endpt_destroy() is called. Note that application should not - * use or access any endpoint resource (such as pool, ioqueue) from within - * the callback as such resource may have been released when the callback - * function is invoked. - * - * @param endpt The media endpoint. - * @param func The function to be registered. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_endpt_atexit(pjmedia_endpt *endpt, - pjmedia_endpt_exit_callback func); - - - -PJ_END_DECL - - -/** - * @} - */ - - - -#endif /* __PJMEDIA_MEDIAMGR_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/errno.h b/res/pjproject/pjmedia/include/pjmedia/errno.h deleted file mode 100644 index 063e5437e2..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/errno.h +++ /dev/null @@ -1,650 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_ERRNO_H__ -#define __PJMEDIA_ERRNO_H__ - -/** - * @file errno.h Error Codes - * @brief PJMEDIA specific error codes. - */ - -#include -#include - -/** - * @defgroup PJMEDIA_ERRNO Error Codes - * @ingroup PJMEDIA_BASE - * @brief PJMEDIA specific error codes. - * @{ - */ - - -PJ_BEGIN_DECL - - -/** - * Start of error code relative to PJ_ERRNO_START_USER. - */ -#define PJMEDIA_ERRNO_START (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE) -#define PJMEDIA_ERRNO_END (PJMEDIA_ERRNO_START + PJ_ERRNO_SPACE_SIZE - 1) - - -/** - * Mapping from PortAudio error codes to pjmedia error space. - */ -#define PJMEDIA_PORTAUDIO_ERRNO_START (PJMEDIA_ERRNO_END-10000) -#define PJMEDIA_PORTAUDIO_ERRNO_END (PJMEDIA_PORTAUDIO_ERRNO_START + 10000 -1) -/** - * Convert PortAudio error code to PJMEDIA error code. - * PortAudio error code range: 0 >= err >= -10000 - */ -#define PJMEDIA_ERRNO_FROM_PORTAUDIO(err) ((int)PJMEDIA_PORTAUDIO_ERRNO_START-err) - - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - - /** - * Mapping from LibSRTP error codes to pjmedia error space. - */ -#define PJMEDIA_LIBSRTP_ERRNO_START (PJMEDIA_ERRNO_END-10200) -#define PJMEDIA_LIBSRTP_ERRNO_END (PJMEDIA_LIBSRTP_ERRNO_START + 200 - 1) -/** - * Convert LibSRTP error code to PJMEDIA error code. - * LibSRTP error code range: 0 <= err < 200 - */ -#define PJMEDIA_ERRNO_FROM_LIBSRTP(err) (PJMEDIA_LIBSRTP_ERRNO_START+err) - -#endif - -/************************************************************ - * GENERIC/GENERAL PJMEDIA ERRORS - ***********************************************************/ -/** - * @hideinitializer - * General/unknown PJMEDIA error. - */ -#define PJMEDIA_ERROR (PJMEDIA_ERRNO_START+1) /* 220001 */ - - -/************************************************************ - * SDP ERRORS - ***********************************************************/ -/** - * @hideinitializer - * Generic invalid SDP descriptor. - */ -#define PJMEDIA_SDP_EINSDP (PJMEDIA_ERRNO_START+20) /* 220020 */ -/** - * @hideinitializer - * Invalid SDP version. - */ -#define PJMEDIA_SDP_EINVER (PJMEDIA_ERRNO_START+21) /* 220021 */ -/** - * @hideinitializer - * Invalid SDP origin (o=) line. - */ -#define PJMEDIA_SDP_EINORIGIN (PJMEDIA_ERRNO_START+22) /* 220022 */ -/** - * @hideinitializer - * Invalid SDP time (t=) line. - */ -#define PJMEDIA_SDP_EINTIME (PJMEDIA_ERRNO_START+23) /* 220023 */ -/** - * @hideinitializer - * Empty SDP subject/name (s=) line. - */ -#define PJMEDIA_SDP_EINNAME (PJMEDIA_ERRNO_START+24) /* 220024 */ -/** - * @hideinitializer - * Invalid SDP connection info (c=) line. - */ -#define PJMEDIA_SDP_EINCONN (PJMEDIA_ERRNO_START+25) /* 220025 */ -/** - * @hideinitializer - * Missing SDP connection info line. - */ -#define PJMEDIA_SDP_EMISSINGCONN (PJMEDIA_ERRNO_START+26) /* 220026 */ -/** - * @hideinitializer - * Invalid attribute (a=) line. - */ -#define PJMEDIA_SDP_EINATTR (PJMEDIA_ERRNO_START+27) /* 220027 */ -/** - * @hideinitializer - * Invalid rtpmap attribute. - */ -#define PJMEDIA_SDP_EINRTPMAP (PJMEDIA_ERRNO_START+28) /* 220028 */ -/** - * @hideinitializer - * rtpmap attribute is too long. - */ -#define PJMEDIA_SDP_ERTPMAPTOOLONG (PJMEDIA_ERRNO_START+29) /* 220029 */ -/** - * @hideinitializer - * rtpmap is missing for dynamic payload type. - */ -#define PJMEDIA_SDP_EMISSINGRTPMAP (PJMEDIA_ERRNO_START+30) /* 220030 */ -/** - * @hideinitializer - * Invalid SDP media (m=) line. - */ -#define PJMEDIA_SDP_EINMEDIA (PJMEDIA_ERRNO_START+31) /* 220031 */ -/** - * @hideinitializer - * No payload format in the media stream. - */ -#define PJMEDIA_SDP_ENOFMT (PJMEDIA_ERRNO_START+32) /* 220032 */ -/** - * @hideinitializer - * Invalid payload type in media. - */ -#define PJMEDIA_SDP_EINPT (PJMEDIA_ERRNO_START+33) /* 220033 */ -/** - * @hideinitializer - * Invalid SDP "fmtp" attribute. - */ -#define PJMEDIA_SDP_EINFMTP (PJMEDIA_ERRNO_START+34) /* 220034 */ -/** - * @hideinitializer - * Invalid SDP "rtcp" attribute. - */ -#define PJMEDIA_SDP_EINRTCP (PJMEDIA_ERRNO_START+35) /* 220035 */ -/** - * @hideinitializer - * Invalid SDP media transport protocol. - */ -#define PJMEDIA_SDP_EINPROTO (PJMEDIA_ERRNO_START+36) /* 220036 */ -/** - * @hideinitializer - * Invalid SDP bandwidth info (b=) line. - */ -#define PJMEDIA_SDP_EINBANDW (PJMEDIA_ERRNO_START+37) /* 220037 */ - - -/************************************************************ - * SDP NEGOTIATOR ERRORS - ***********************************************************/ -/** - * @hideinitializer - * Invalid state to perform the specified operation. - */ -#define PJMEDIA_SDPNEG_EINSTATE (PJMEDIA_ERRNO_START+40) /* 220040 */ -/** - * @hideinitializer - * No initial local SDP. - */ -#define PJMEDIA_SDPNEG_ENOINITIAL (PJMEDIA_ERRNO_START+41) /* 220041 */ -/** - * @hideinitializer - * No currently active SDP. - */ -#define PJMEDIA_SDPNEG_ENOACTIVE (PJMEDIA_ERRNO_START+42) /* 220042 */ -/** - * @hideinitializer - * No current offer or answer. - */ -#define PJMEDIA_SDPNEG_ENONEG (PJMEDIA_ERRNO_START+43) /* 220043 */ -/** - * @hideinitializer - * Media count mismatch in offer and answer. - */ -#define PJMEDIA_SDPNEG_EMISMEDIA (PJMEDIA_ERRNO_START+44) /* 220044 */ -/** - * @hideinitializer - * Media type is different in the remote answer. - */ -#define PJMEDIA_SDPNEG_EINVANSMEDIA (PJMEDIA_ERRNO_START+45) /* 220045 */ -/** - * @hideinitializer - * Transport type is different in the remote answer. - */ -#define PJMEDIA_SDPNEG_EINVANSTP (PJMEDIA_ERRNO_START+46) /* 220046 */ -/** - * @hideinitializer - * No common media payload is provided in the answer. - */ -#define PJMEDIA_SDPNEG_EANSNOMEDIA (PJMEDIA_ERRNO_START+47) /* 220047 */ -/** - * @hideinitializer - * No media is active after negotiation. - */ -#define PJMEDIA_SDPNEG_ENOMEDIA (PJMEDIA_ERRNO_START+48) /* 220048 */ -/** - * @hideinitializer - * No suitable codec for remote offer. - */ -#define PJMEDIA_SDPNEG_NOANSCODEC (PJMEDIA_ERRNO_START+49) /* 220049 */ -/** - * @hideinitializer - * No suitable telephone-event for remote offer. - */ -#define PJMEDIA_SDPNEG_NOANSTELEVENT (PJMEDIA_ERRNO_START+50) /* 220050 */ -/** - * @hideinitializer - * No suitable answer for unknown remote offer. - */ -#define PJMEDIA_SDPNEG_NOANSUNKNOWN (PJMEDIA_ERRNO_START+51) /* 220051 */ - - -/************************************************************ - * SDP COMPARISON STATUS - ***********************************************************/ -/** - * @hideinitializer - * SDP media stream not equal. - */ -#define PJMEDIA_SDP_EMEDIANOTEQUAL (PJMEDIA_ERRNO_START+60) /* 220060 */ -/** - * @hideinitializer - * Port number in SDP media descriptor not equal. - */ -#define PJMEDIA_SDP_EPORTNOTEQUAL (PJMEDIA_ERRNO_START+61) /* 220061 */ -/** - * @hideinitializer - * Transport in SDP media descriptor not equal. - */ -#define PJMEDIA_SDP_ETPORTNOTEQUAL (PJMEDIA_ERRNO_START+62) /* 220062 */ -/** - * @hideinitializer - * Media format in SDP media descriptor not equal. - */ -#define PJMEDIA_SDP_EFORMATNOTEQUAL (PJMEDIA_ERRNO_START+63) /* 220063 */ -/** - * @hideinitializer - * SDP connection description not equal. - */ -#define PJMEDIA_SDP_ECONNNOTEQUAL (PJMEDIA_ERRNO_START+64) /* 220064 */ -/** - * @hideinitializer - * SDP attributes not equal. - */ -#define PJMEDIA_SDP_EATTRNOTEQUAL (PJMEDIA_ERRNO_START+65) /* 220065 */ -/** - * @hideinitializer - * SDP media direction not equal. - */ -#define PJMEDIA_SDP_EDIRNOTEQUAL (PJMEDIA_ERRNO_START+66) /* 220066 */ -/** - * @hideinitializer - * SDP fmtp attribute not equal. - */ -#define PJMEDIA_SDP_EFMTPNOTEQUAL (PJMEDIA_ERRNO_START+67) /* 220067 */ -/** - * @hideinitializer - * SDP ftpmap attribute not equal. - */ -#define PJMEDIA_SDP_ERTPMAPNOTEQUAL (PJMEDIA_ERRNO_START+68) /* 220068 */ -/** - * @hideinitializer - * SDP session descriptor not equal. - */ -#define PJMEDIA_SDP_ESESSNOTEQUAL (PJMEDIA_ERRNO_START+69) /* 220069 */ -/** - * @hideinitializer - * SDP origin not equal. - */ -#define PJMEDIA_SDP_EORIGINNOTEQUAL (PJMEDIA_ERRNO_START+70) /* 220070 */ -/** - * @hideinitializer - * SDP name/subject not equal. - */ -#define PJMEDIA_SDP_ENAMENOTEQUAL (PJMEDIA_ERRNO_START+71) /* 220071 */ -/** - * @hideinitializer - * SDP time not equal. - */ -#define PJMEDIA_SDP_ETIMENOTEQUAL (PJMEDIA_ERRNO_START+72) /* 220072 */ - - -/************************************************************ - * CODEC - ***********************************************************/ -/** - * @hideinitializer - * Unsupported codec. - */ -#define PJMEDIA_CODEC_EUNSUP (PJMEDIA_ERRNO_START+80) /* 220080 */ -/** - * @hideinitializer - * Codec internal creation error. - */ -#define PJMEDIA_CODEC_EFAILED (PJMEDIA_ERRNO_START+81) /* 220081 */ -/** - * @hideinitializer - * Codec frame is too short. - */ -#define PJMEDIA_CODEC_EFRMTOOSHORT (PJMEDIA_ERRNO_START+82) /* 220082 */ -/** - * @hideinitializer - * PCM buffer is too short. - */ -#define PJMEDIA_CODEC_EPCMTOOSHORT (PJMEDIA_ERRNO_START+83) /* 220083 */ -/** - * @hideinitializer - * Invalid codec frame length. - */ -#define PJMEDIA_CODEC_EFRMINLEN (PJMEDIA_ERRNO_START+84) /* 220084 */ -/** - * @hideinitializer - * Invalid PCM frame length. - */ -#define PJMEDIA_CODEC_EPCMFRMINLEN (PJMEDIA_ERRNO_START+85) /* 220085 */ -/** - * @hideinitializer - * Invalid mode. - */ -#define PJMEDIA_CODEC_EINMODE (PJMEDIA_ERRNO_START+86) /* 220086 */ -/** - * @hideinitializer - * Bad or corrupted bitstream. - */ -#define PJMEDIA_CODEC_EBADBITSTREAM (PJMEDIA_ERRNO_START+87) /* 220087 */ - - -/************************************************************ - * MEDIA - ***********************************************************/ -/** - * @hideinitializer - * Invalid remote IP address (in SDP). - */ -#define PJMEDIA_EINVALIDIP (PJMEDIA_ERRNO_START+100) /* 220100 */ -/** - * @hideinitializer - * Asymetric codec is not supported. - */ -#define PJMEDIA_EASYMCODEC (PJMEDIA_ERRNO_START+101) /* 220101 */ -/** - * @hideinitializer - * Invalid payload type. - */ -#define PJMEDIA_EINVALIDPT (PJMEDIA_ERRNO_START+102) /* 220102 */ -/** - * @hideinitializer - * Missing rtpmap. - */ -#define PJMEDIA_EMISSINGRTPMAP (PJMEDIA_ERRNO_START+103) /* 220103 */ -/** - * @hideinitializer - * Invalid media type. - */ -#define PJMEDIA_EINVALIMEDIATYPE (PJMEDIA_ERRNO_START+104) /* 220104 */ -/** - * @hideinitializer - * Remote does not support DTMF. - */ -#define PJMEDIA_EREMOTENODTMF (PJMEDIA_ERRNO_START+105) /* 220105 */ -/** - * @hideinitializer - * Invalid DTMF digit. - */ -#define PJMEDIA_RTP_EINDTMF (PJMEDIA_ERRNO_START+106) /* 220106 */ -/** - * @hideinitializer - * Remote does not support RFC 2833 - */ -#define PJMEDIA_RTP_EREMNORFC2833 (PJMEDIA_ERRNO_START+107) /* 220107 */ -/** - * @hideinitializer - * Invalid or bad format - */ -#define PJMEDIA_EBADFMT (PJMEDIA_ERRNO_START+108) /* 220108 */ - - -/************************************************************ - * RTP SESSION ERRORS - ***********************************************************/ -/** - * @hideinitializer - * General invalid RTP packet error. - */ -#define PJMEDIA_RTP_EINPKT (PJMEDIA_ERRNO_START+120) /* 220120 */ -/** - * @hideinitializer - * Invalid RTP packet packing. - */ -#define PJMEDIA_RTP_EINPACK (PJMEDIA_ERRNO_START+121) /* 220121 */ -/** - * @hideinitializer - * Invalid RTP packet version. - */ -#define PJMEDIA_RTP_EINVER (PJMEDIA_ERRNO_START+122) /* 220122 */ -/** - * @hideinitializer - * RTP SSRC id mismatch. - */ -#define PJMEDIA_RTP_EINSSRC (PJMEDIA_ERRNO_START+123) /* 220123 */ -/** - * @hideinitializer - * RTP payload type mismatch. - */ -#define PJMEDIA_RTP_EINPT (PJMEDIA_ERRNO_START+124) /* 220124 */ -/** - * @hideinitializer - * Invalid RTP packet length. - */ -#define PJMEDIA_RTP_EINLEN (PJMEDIA_ERRNO_START+125) /* 220125 */ -/** - * @hideinitializer - * RTP session restarted. - */ -#define PJMEDIA_RTP_ESESSRESTART (PJMEDIA_ERRNO_START+130) /* 220130 */ -/** - * @hideinitializer - * RTP session in probation - */ -#define PJMEDIA_RTP_ESESSPROBATION (PJMEDIA_ERRNO_START+131) /* 220131 */ -/** - * @hideinitializer - * Bad RTP sequence number - */ -#define PJMEDIA_RTP_EBADSEQ (PJMEDIA_ERRNO_START+132) /* 220132 */ -/** - * @hideinitializer - * RTP media port destination is not configured - */ -#define PJMEDIA_RTP_EBADDEST (PJMEDIA_ERRNO_START+133) /* 220133 */ -/** - * @hideinitializer - * RTP is not configured. - */ -#define PJMEDIA_RTP_ENOCONFIG (PJMEDIA_ERRNO_START+134) /* 220134 */ - - -/************************************************************ - * PORT ERRORS - ***********************************************************/ -/** - * @hideinitializer - * Generic incompatible port error. - */ -#define PJMEDIA_ENOTCOMPATIBLE (PJMEDIA_ERRNO_START+160) /* 220160 */ -/** - * @hideinitializer - * Incompatible clock rate - */ -#define PJMEDIA_ENCCLOCKRATE (PJMEDIA_ERRNO_START+161) /* 220161 */ -/** - * @hideinitializer - * Incompatible samples per frame - */ -#define PJMEDIA_ENCSAMPLESPFRAME (PJMEDIA_ERRNO_START+162) /* 220162 */ -/** - * @hideinitializer - * Incompatible media type - */ -#define PJMEDIA_ENCTYPE (PJMEDIA_ERRNO_START+163) /* 220163 */ -/** - * @hideinitializer - * Incompatible bits per sample - */ -#define PJMEDIA_ENCBITS (PJMEDIA_ERRNO_START+164) /* 220164 */ -/** - * @hideinitializer - * Incompatible bytes per frame - */ -#define PJMEDIA_ENCBYTES (PJMEDIA_ERRNO_START+165) /* 220165 */ -/** - * @hideinitializer - * Incompatible number of channels - */ -#define PJMEDIA_ENCCHANNEL (PJMEDIA_ERRNO_START+166) /* 220166 */ - - -/************************************************************ - * FILE ERRORS - ***********************************************************/ -/** - * @hideinitializer - * Not a valid WAVE file. - */ -#define PJMEDIA_ENOTVALIDWAVE (PJMEDIA_ERRNO_START+180) /* 220180 */ -/** - * @hideinitializer - * Unsupported WAVE file. - */ -#define PJMEDIA_EWAVEUNSUPP (PJMEDIA_ERRNO_START+181) /* 220181 */ -/** - * @hideinitializer - * Wave file too short. - */ -#define PJMEDIA_EWAVETOOSHORT (PJMEDIA_ERRNO_START+182) /* 220182 */ -/** - * @hideinitializer - * Sound frame is too large for file buffer. - */ -#define PJMEDIA_EFRMFILETOOBIG (PJMEDIA_ERRNO_START+183) /* 220183 */ -/** - * @hideinitializer - * Unsupported AVI file. - */ -#define PJMEDIA_EAVIUNSUPP (PJMEDIA_ERRNO_START+191) /* 220191 */ - - -/************************************************************ - * SOUND DEVICE ERRORS - ***********************************************************/ -/** - * @hideinitializer - * No suitable audio capture device. - */ -#define PJMEDIA_ENOSNDREC (PJMEDIA_ERRNO_START+200) /* 220200 */ -/** - * @hideinitializer - * No suitable audio playback device. - */ -#define PJMEDIA_ENOSNDPLAY (PJMEDIA_ERRNO_START+201) /* 220201 */ -/** - * @hideinitializer - * Invalid sound device ID. - */ -#define PJMEDIA_ESNDINDEVID (PJMEDIA_ERRNO_START+202) /* 220202 */ -/** - * @hideinitializer - * Invalid sample format for sound device. - */ -#define PJMEDIA_ESNDINSAMPLEFMT (PJMEDIA_ERRNO_START+203) /* 220203 */ - - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) -/************************************************************ - * SRTP TRANSPORT ERRORS - ***********************************************************/ -/** - * @hideinitializer - * SRTP crypto-suite name not match the offerer tag. - */ -#define PJMEDIA_SRTP_ECRYPTONOTMATCH (PJMEDIA_ERRNO_START+220) /* 220220 */ -/** - * @hideinitializer - * Invalid SRTP key length for specific crypto. - */ -#define PJMEDIA_SRTP_EINKEYLEN (PJMEDIA_ERRNO_START+221) /* 220221 */ -/** - * @hideinitializer - * Unsupported SRTP crypto-suite. - */ -#define PJMEDIA_SRTP_ENOTSUPCRYPTO (PJMEDIA_ERRNO_START+222) /* 220222 */ -/** - * @hideinitializer - * SRTP SDP contains ambigue answer. - */ -#define PJMEDIA_SRTP_ESDPAMBIGUEANS (PJMEDIA_ERRNO_START+223) /* 220223 */ -/** - * @hideinitializer - * Duplicated crypto tag. - */ -#define PJMEDIA_SRTP_ESDPDUPCRYPTOTAG (PJMEDIA_ERRNO_START+224) /* 220224 */ -/** - * @hideinitializer - * Invalid crypto attribute. - */ -#define PJMEDIA_SRTP_ESDPINCRYPTO (PJMEDIA_ERRNO_START+225) /* 220225 */ -/** - * @hideinitializer - * Invalid crypto tag. - */ -#define PJMEDIA_SRTP_ESDPINCRYPTOTAG (PJMEDIA_ERRNO_START+226) /* 220226 */ -/** - * @hideinitializer - * Invalid SDP media transport for SRTP. - */ -#define PJMEDIA_SRTP_ESDPINTRANSPORT (PJMEDIA_ERRNO_START+227) /* 220227 */ -/** - * @hideinitializer - * SRTP crypto attribute required in SDP. - */ -#define PJMEDIA_SRTP_ESDPREQCRYPTO (PJMEDIA_ERRNO_START+228) /* 220228 */ -/** - * @hideinitializer - * Secure transport required in SDP media descriptor. - */ -#define PJMEDIA_SRTP_ESDPREQSECTP (PJMEDIA_ERRNO_START+229) /* 220229 */ - -#endif /* PJMEDIA_HAS_SRTP */ - - -/** - * Get error message for the specified error code. Note that this - * function is only able to decode PJMEDIA specific error code. - * Application should use pj_strerror(), which should be able to - * decode all error codes belonging to all subsystems (e.g. pjlib, - * pjmedia, pjsip, etc). - * - * @param status The error code. - * @param buffer The buffer where to put the error message. - * @param bufsize Size of the buffer. - * - * @return The error message as NULL terminated string, - * wrapped with pj_str_t. - */ -PJ_DECL(pj_str_t) pjmedia_strerror( pj_status_t status, char *buffer, - pj_size_t bufsize); - - -PJ_END_DECL - -/** - * @} - */ - - -#endif /* __PJMEDIA_ERRNO_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/event.h b/res/pjproject/pjmedia/include/pjmedia/event.h deleted file mode 100644 index 84baba9d2d..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/event.h +++ /dev/null @@ -1,395 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_EVENT_H__ -#define __PJMEDIA_EVENT_H__ - -/** - * @file pjmedia/event.h - * @brief Event framework - */ -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJMEDIA_EVENT Event Framework - * @brief PJMEDIA event framework - * @{ - */ - -/** - * This enumeration describes list of media events. - */ -typedef enum pjmedia_event_type -{ - /** - * No event. - */ - PJMEDIA_EVENT_NONE, - - /** - * Media format has changed event. - */ - PJMEDIA_EVENT_FMT_CHANGED = PJMEDIA_FOURCC('F', 'M', 'C', 'H'), - - /** - * Video window is being closed. - */ - PJMEDIA_EVENT_WND_CLOSING = PJMEDIA_FOURCC('W', 'N', 'C', 'L'), - - /** - * Video window has been closed event. - */ - PJMEDIA_EVENT_WND_CLOSED = PJMEDIA_FOURCC('W', 'N', 'C', 'O'), - - /** - * Video window has been resized event. - */ - PJMEDIA_EVENT_WND_RESIZED = PJMEDIA_FOURCC('W', 'N', 'R', 'Z'), - - /** - * Mouse button has been pressed event. - */ - PJMEDIA_EVENT_MOUSE_BTN_DOWN = PJMEDIA_FOURCC('M', 'S', 'D', 'N'), - - /** - * Video keyframe has just been decoded event. - */ - PJMEDIA_EVENT_KEYFRAME_FOUND = PJMEDIA_FOURCC('I', 'F', 'R', 'F'), - - /** - * Video decoding error due to missing keyframe event. - */ - PJMEDIA_EVENT_KEYFRAME_MISSING = PJMEDIA_FOURCC('I', 'F', 'R', 'M'), - - /** - * Video orientation has been changed event. - */ - PJMEDIA_EVENT_ORIENT_CHANGED = PJMEDIA_FOURCC('O', 'R', 'N', 'T') - -} pjmedia_event_type; - -/** - * Additional data/parameters for media format changed event - * (PJMEDIA_EVENT_FMT_CHANGED). - */ -typedef struct pjmedia_event_fmt_changed_data -{ - /** The media flow direction */ - pjmedia_dir dir; - - /** The new media format. */ - pjmedia_format new_fmt; -} pjmedia_event_fmt_changed_data; - -/** - * Additional data/parameters are not needed. - */ -typedef struct pjmedia_event_dummy_data -{ - /** Dummy data */ - int dummy; -} pjmedia_event_dummy_data; - -/** - * Additional data/parameters for window resized event - * (PJMEDIA_EVENT_WND_RESIZED). - */ -typedef struct pjmedia_event_wnd_resized_data -{ - /** - * The new window size. - */ - pjmedia_rect_size new_size; -} pjmedia_event_wnd_resized_data; - -/** - * Additional data/parameters for window closing event. - */ -typedef struct pjmedia_event_wnd_closing_data -{ - /** Consumer may set this field to PJ_TRUE to cancel the closing */ - pj_bool_t cancel; -} pjmedia_event_wnd_closing_data; - -/** Additional parameters for window changed event. */ -typedef pjmedia_event_dummy_data pjmedia_event_wnd_closed_data; - -/** Additional parameters for mouse button down event */ -typedef pjmedia_event_dummy_data pjmedia_event_mouse_btn_down_data; - -/** Additional parameters for keyframe found event */ -typedef pjmedia_event_dummy_data pjmedia_event_keyframe_found_data; - -/** Additional parameters for keyframe missing event */ -typedef pjmedia_event_dummy_data pjmedia_event_keyframe_missing_data; - -/** - * Maximum size of additional parameters section in pjmedia_event structure - */ -#define PJMEDIA_EVENT_DATA_MAX_SIZE sizeof(pjmedia_event_fmt_changed_data) - -/** Type of storage to hold user data in pjmedia_event structure */ -typedef char pjmedia_event_user_data[PJMEDIA_EVENT_DATA_MAX_SIZE]; - -/** - * This structure describes a media event. It consists mainly of the event - * type and additional data/parameters for the event. Applications can - * use #pjmedia_event_init() to initialize this event structure with - * basic information about the event. - */ -typedef struct pjmedia_event -{ - /** - * The event type. - */ - pjmedia_event_type type; - - /** - * The media timestamp when the event occurs. - */ - pj_timestamp timestamp; - - /** - * Pointer information about the source of this event. This field - * is provided mainly for comparison purpose so that event subscribers - * can check which source the event originated from. Usage of this - * pointer for other purpose may require special care such as mutex - * locking or checking whether the object is already destroyed. - */ - const void *src; - - /** - * Pointer information about the publisher of this event. This field - * is provided mainly for comparison purpose so that event subscribers - * can check which object published the event. Usage of this - * pointer for other purpose may require special care such as mutex - * locking or checking whether the object is already destroyed. - */ - const void *epub; - - /** - * Additional data/parameters about the event. The type of data - * will be specific to the event type being reported. - */ - union { - /** Media format changed event data. */ - pjmedia_event_fmt_changed_data fmt_changed; - - /** Window resized event data */ - pjmedia_event_wnd_resized_data wnd_resized; - - /** Window closing event data. */ - pjmedia_event_wnd_closing_data wnd_closing; - - /** Window closed event data */ - pjmedia_event_wnd_closed_data wnd_closed; - - /** Mouse button down event data */ - pjmedia_event_mouse_btn_down_data mouse_btn_down; - - /** Keyframe found event data */ - pjmedia_event_keyframe_found_data keyframe_found; - - /** Keyframe missing event data */ - pjmedia_event_keyframe_missing_data keyframe_missing; - - /** Storage for user event data */ - pjmedia_event_user_data user; - - /** Pointer to storage to user event data, if it's outside - * this struct - */ - void *ptr; - } data; -} pjmedia_event; - -/** - * The callback to receive media events. - * - * @param event The media event. - * @param user_data The user data associated with the callback. - * - * @return If the callback returns non-PJ_SUCCESS, this return - * code may be propagated back to the caller. - */ -typedef pj_status_t pjmedia_event_cb(pjmedia_event *event, - void *user_data); - -/** - * This enumeration describes flags for event publication via - * #pjmedia_event_publish(). - */ -typedef enum pjmedia_event_publish_flag -{ - /** - * Publisher will only post the event to the event manager. It is the - * event manager that will later notify all the publisher's subscribers. - */ - PJMEDIA_EVENT_PUBLISH_POST_EVENT = 1 - -} pjmedia_event_publish_flag; - -/** - * Event manager flag. - */ -typedef enum pjmedia_event_mgr_flag -{ - /** - * Tell the event manager not to create any event worker thread. - */ - PJMEDIA_EVENT_MGR_NO_THREAD = 1 - -} pjmedia_event_mgr_flag; - -/** - * Opaque data type for event manager. Typically, the event manager - * is a singleton instance, although application may instantiate more than one - * instances of this if required. - */ -typedef struct pjmedia_event_mgr pjmedia_event_mgr; - -/** - * Create a new event manager instance. This will also set the pointer - * to the singleton instance if the value is still NULL. - * - * @param pool Pool to allocate memory from. - * @param options Options. Bitmask flags from #pjmedia_event_mgr_flag - * @param mgr Pointer to hold the created instance of the - * event manager. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_event_mgr_create(pj_pool_t *pool, - unsigned options, - pjmedia_event_mgr **mgr); - -/** - * Get the singleton instance of the event manager. - * - * @return The instance. - */ -PJ_DECL(pjmedia_event_mgr*) pjmedia_event_mgr_instance(void); - -/** - * Manually assign a specific event manager instance as the singleton - * instance. Normally this is not needed if only one instance is ever - * going to be created, as the library automatically assign the singleton - * instance. - * - * @param mgr The instance to be used as the singleton instance. - * Application may specify NULL to clear the singleton - * singleton instance. - */ -PJ_DECL(void) pjmedia_event_mgr_set_instance(pjmedia_event_mgr *mgr); - -/** - * Destroy an event manager. If the manager happens to be the singleton - * instance, the singleton instance will be set to NULL. - * - * @param mgr The eventmanager. Specify NULL to use - * the singleton instance. - */ -PJ_DECL(void) pjmedia_event_mgr_destroy(pjmedia_event_mgr *mgr); - -/** - * Initialize event structure with basic data about the event. - * - * @param event The event to be initialized. - * @param type The event type to be set for this event. - * @param ts Event timestamp. May be set to NULL to set the event - * timestamp to zero. - * @param src Event source. - */ -PJ_DECL(void) pjmedia_event_init(pjmedia_event *event, - pjmedia_event_type type, - const pj_timestamp *ts, - const void *src); - -/** - * Subscribe a callback function to events published by the specified - * publisher. Note that the subscriber may receive not only events emitted by - * the specific publisher specified in the argument, but also from other - * publishers contained by the publisher, if the publisher is republishing - * events from other publishers. - * - * @param mgr The event manager. - * @param cb The callback function to receive the event. - * @param user_data The user data to be associated with the callback - * function. - * @param epub The event publisher. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_event_subscribe(pjmedia_event_mgr *mgr, - pjmedia_event_cb *cb, - void *user_data, - void *epub); - -/** - * Unsubscribe the callback associated with the user data from a publisher. - * If the user data is not specified, this function will do the - * unsubscription for all user data. If the publisher, epub, is not - * specified, this function will do the unsubscription from all publishers. - * - * @param mgr The event manager. - * @param cb The callback function. - * @param user_data The user data associated with the callback - * function, can be NULL. - * @param epub The event publisher, can be NULL. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) -pjmedia_event_unsubscribe(pjmedia_event_mgr *mgr, - pjmedia_event_cb *cb, - void *user_data, - void *epub); - -/** - * Publish the specified event to all subscribers of the specified event - * publisher. By default, the function will call all the subcribers' - * callbacks immediately. If the publisher uses the flag - * PJMEDIA_EVENT_PUBLISH_POST_EVENT, publisher will only post the event - * to the event manager and return immediately. It is the event manager - * that will later notify all the publisher's subscribers. - * - * @param mgr The event manager. - * @param epub The event publisher. - * @param event The event to be published. - * @param flag Publication flag. - * - * @return PJ_SUCCESS only if all subscription callbacks returned - * PJ_SUCCESS. - */ -PJ_DECL(pj_status_t) pjmedia_event_publish(pjmedia_event_mgr *mgr, - void *epub, - pjmedia_event *event, - pjmedia_event_publish_flag flag); - - -/** - * @} PJMEDIA_EVENT - */ - - -PJ_END_DECL - -#endif /* __PJMEDIA_EVENT_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/format.h b/res/pjproject/pjmedia/include/pjmedia/format.h deleted file mode 100644 index c3206d8678..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/format.h +++ /dev/null @@ -1,755 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_FORMAT_H__ -#define __PJMEDIA_FORMAT_H__ - -/** - * @file pjmedia/format.h Media format - * @brief Media format - */ -#include - -/** - * @defgroup PJMEDIA_FORMAT Media format - * @ingroup PJMEDIA_TYPES - * @brief Media format - * @{ - */ - -PJ_BEGIN_DECL - -/** - * Macro for packing format from a four character code, similar to FOURCC. - * This macro is used for building the constants in pjmedia_format_id - * enumeration. - */ -#define PJMEDIA_FORMAT_PACK(C1, C2, C3, C4) PJMEDIA_FOURCC(C1, C2, C3, C4) - -/** - * This enumeration uniquely identify audio sample and/or video pixel formats. - * Some well known formats are listed here. The format ids are built by - * combining four character codes, similar to FOURCC. The format id is - * extensible, as application may define and use format ids not declared - * on this enumeration. - * - * This format id along with other information will fully describe the media - * in #pjmedia_format structure. - */ -typedef enum pjmedia_format_id -{ - /* - * Audio formats - */ - - /** 16bit signed integer linear PCM audio */ - PJMEDIA_FORMAT_L16 = 0, - - /** Alias for PJMEDIA_FORMAT_L16 */ - PJMEDIA_FORMAT_PCM = PJMEDIA_FORMAT_L16, - - /** G.711 ALAW */ - PJMEDIA_FORMAT_PCMA = PJMEDIA_FORMAT_PACK('A', 'L', 'A', 'W'), - - /** Alias for PJMEDIA_FORMAT_PCMA */ - PJMEDIA_FORMAT_ALAW = PJMEDIA_FORMAT_PCMA, - - /** G.711 ULAW */ - PJMEDIA_FORMAT_PCMU = PJMEDIA_FORMAT_PACK('u', 'L', 'A', 'W'), - - /** Aliaw for PJMEDIA_FORMAT_PCMU */ - PJMEDIA_FORMAT_ULAW = PJMEDIA_FORMAT_PCMU, - - /** AMR narrowband */ - PJMEDIA_FORMAT_AMR = PJMEDIA_FORMAT_PACK(' ', 'A', 'M', 'R'), - - /** ITU G.729 */ - PJMEDIA_FORMAT_G729 = PJMEDIA_FORMAT_PACK('G', '7', '2', '9'), - - /** Internet Low Bit-Rate Codec (ILBC) */ - PJMEDIA_FORMAT_ILBC = PJMEDIA_FORMAT_PACK('I', 'L', 'B', 'C'), - - - /* - * Video formats. - */ - /** - * 24bit RGB - */ - PJMEDIA_FORMAT_RGB24 = PJMEDIA_FORMAT_PACK('R', 'G', 'B', '3'), - - /** - * 32bit RGB with alpha channel - */ - PJMEDIA_FORMAT_RGBA = PJMEDIA_FORMAT_PACK('R', 'G', 'B', 'A'), - PJMEDIA_FORMAT_BGRA = PJMEDIA_FORMAT_PACK('B', 'G', 'R', 'A'), - - /** - * Alias for PJMEDIA_FORMAT_RGBA - */ - PJMEDIA_FORMAT_RGB32 = PJMEDIA_FORMAT_RGBA, - - /** - * Device Independent Bitmap, alias for 24 bit RGB - */ - PJMEDIA_FORMAT_DIB = PJMEDIA_FORMAT_PACK('D', 'I', 'B', ' '), - - /** - * This is planar 4:4:4/24bpp RGB format, the data can be treated as - * three planes of color components, where the first plane contains - * only the G samples, the second plane contains only the B samples, - * and the third plane contains only the R samples. - */ - PJMEDIA_FORMAT_GBRP = PJMEDIA_FORMAT_PACK('G', 'B', 'R', 'P'), - - /** - * This is a packed 4:4:4/32bpp format, where each pixel is encoded as - * four consecutive bytes, arranged in the following sequence: V0, U0, - * Y0, A0. Source: - * http://msdn.microsoft.com/en-us/library/dd206750%28v=VS.85%29.aspx#ayuv - */ - PJMEDIA_FORMAT_AYUV = PJMEDIA_FORMAT_PACK('A', 'Y', 'U', 'V'), - - /** - * This is packed 4:2:2/16bpp YUV format, the data can be treated as - * an array of unsigned char values, where the first byte contains - * the first Y sample, the second byte contains the first U (Cb) sample, - * the third byte contains the second Y sample, and the fourth byte - * contains the first V (Cr) sample, and so forth. Source: - * http://msdn.microsoft.com/en-us/library/dd206750%28v=VS.85%29.aspx#yuy2 - */ - PJMEDIA_FORMAT_YUY2 = PJMEDIA_FORMAT_PACK('Y', 'U', 'Y', '2'), - - /** - * This format is the same as the YUY2 format except the byte order is - * reversed -- that is, the chroma and luma bytes are flipped. If the - * image is addressed as an array of two little-endian WORD values, the - * first WORD contains U in the LSBs and Y0 in the MSBs, and the second - * WORD contains V in the LSBs and Y1 in the MSBs. Source: - * http://msdn.microsoft.com/en-us/library/dd206750%28v=VS.85%29.aspx#uyvy - */ - PJMEDIA_FORMAT_UYVY = PJMEDIA_FORMAT_PACK('U', 'Y', 'V', 'Y'), - - /** - * This format is the same as the YUY2 and UYVY format except the byte - * order is reversed -- that is, the chroma and luma bytes are flipped. - * If the image is addressed as an array of two little-endian WORD values, - * the first WORD contains Y0 in the LSBs and V in the MSBs, and the second - * WORD contains Y1 in the LSBs and U in the MSBs. - */ - PJMEDIA_FORMAT_YVYU = PJMEDIA_FORMAT_PACK('Y', 'V', 'Y', 'U'), - - /** - * This is planar 4:2:0/12bpp YUV format, the data can be treated as - * three planes of color components, where the first plane contains - * only the Y samples, the second plane contains only the U (Cb) samples, - * and the third plane contains only the V (Cr) sample. - */ - PJMEDIA_FORMAT_I420 = PJMEDIA_FORMAT_PACK('I', '4', '2', '0'), - - /** - * IYUV is alias for I420. - */ - PJMEDIA_FORMAT_IYUV = PJMEDIA_FORMAT_I420, - - /** - * This is planar 4:2:2/16bpp YUV format. - */ - PJMEDIA_FORMAT_YV12 = PJMEDIA_FORMAT_PACK('Y', 'V', '1', '2'), - - /** - * The JPEG version of planar 4:2:0/12bpp YUV format. - */ - PJMEDIA_FORMAT_I420JPEG = PJMEDIA_FORMAT_PACK('J', '4', '2', '0'), - - /** - * The JPEG version of planar 4:2:2/16bpp YUV format. - */ - PJMEDIA_FORMAT_I422JPEG = PJMEDIA_FORMAT_PACK('J', '4', '2', '2'), - - /** - * Encoded video formats - */ - - PJMEDIA_FORMAT_H261 = PJMEDIA_FORMAT_PACK('H', '2', '6', '1'), - PJMEDIA_FORMAT_H263 = PJMEDIA_FORMAT_PACK('H', '2', '6', '3'), - PJMEDIA_FORMAT_H263P = PJMEDIA_FORMAT_PACK('P', '2', '6', '3'), - PJMEDIA_FORMAT_H264 = PJMEDIA_FORMAT_PACK('H', '2', '6', '4'), - - PJMEDIA_FORMAT_MJPEG = PJMEDIA_FORMAT_PACK('M', 'J', 'P', 'G'), - PJMEDIA_FORMAT_MPEG1VIDEO = PJMEDIA_FORMAT_PACK('M', 'P', '1', 'V'), - PJMEDIA_FORMAT_MPEG2VIDEO = PJMEDIA_FORMAT_PACK('M', 'P', '2', 'V'), - PJMEDIA_FORMAT_MPEG4 = PJMEDIA_FORMAT_PACK('M', 'P', 'G', '4'), - -} pjmedia_format_id; - -/** - * This enumeration specifies what type of detail is included in a - * #pjmedia_format structure. - */ -typedef enum pjmedia_format_detail_type -{ - /** Format detail is not specified. */ - PJMEDIA_FORMAT_DETAIL_NONE, - - /** Audio format detail. */ - PJMEDIA_FORMAT_DETAIL_AUDIO, - - /** Video format detail. */ - PJMEDIA_FORMAT_DETAIL_VIDEO, - - /** Number of format detail type that has been defined. */ - PJMEDIA_FORMAT_DETAIL_MAX - -} pjmedia_format_detail_type; - -/** - * This structure is put in \a detail field of #pjmedia_format to describe - * detail information about an audio media. - */ -typedef struct pjmedia_audio_format_detail -{ - unsigned clock_rate; /**< Audio clock rate in samples or Hz. */ - unsigned channel_count; /**< Number of channels. */ - unsigned frame_time_usec;/**< Frame interval, in microseconds. */ - unsigned bits_per_sample;/**< Number of bits per sample. */ - pj_uint32_t avg_bps; /**< Average bitrate */ - pj_uint32_t max_bps; /**< Maximum bitrate */ -} pjmedia_audio_format_detail; - -/** - * This structure is put in \a detail field of #pjmedia_format to describe - * detail information about a video media. - * - * Additional information about a video format can also be retrieved by - * calling #pjmedia_get_video_format_info(). - */ -typedef struct pjmedia_video_format_detail -{ - pjmedia_rect_size size; /**< Video size (width, height) */ - pjmedia_ratio fps; /**< Number of frames per second. */ - pj_uint32_t avg_bps;/**< Average bitrate. */ - pj_uint32_t max_bps;/**< Maximum bitrate. */ -} pjmedia_video_format_detail; - -/** - * This macro declares the size of the detail section in #pjmedia_format - * to be reserved for user defined detail. - */ -#ifndef PJMEDIA_FORMAT_DETAIL_USER_SIZE -# define PJMEDIA_FORMAT_DETAIL_USER_SIZE 1 -#endif - -/** - * This structure contains all the information needed to completely describe - * a media. - */ -typedef struct pjmedia_format -{ - /** - * The format id that specifies the audio sample or video pixel format. - * Some well known formats ids are declared in pjmedia_format_id - * enumeration. - * - * @see pjmedia_format_id - */ - pj_uint32_t id; - - /** - * The top-most type of the media, as an information. - */ - pjmedia_type type; - - /** - * The type of detail structure in the \a detail pointer. - */ - pjmedia_format_detail_type detail_type; - - /** - * Detail section to describe the media. - */ - union - { - /** - * Detail section for audio format. - */ - pjmedia_audio_format_detail aud; - - /** - * Detail section for video format. - */ - pjmedia_video_format_detail vid; - - /** - * Reserved area for user-defined format detail. - */ - char user[PJMEDIA_FORMAT_DETAIL_USER_SIZE]; - } det; - -} pjmedia_format; - -/** - * This enumeration describes video color model. It mostly serves as - * information only. - */ -typedef enum pjmedia_color_model -{ - /** The color model is unknown or unspecified. */ - PJMEDIA_COLOR_MODEL_NONE, - - /** RGB color model. */ - PJMEDIA_COLOR_MODEL_RGB, - - /** YUV color model. */ - PJMEDIA_COLOR_MODEL_YUV -} pjmedia_color_model; - -/** - * This structure holds information to apply a specific video format - * against size and buffer information, and get additional information - * from it. To do that, application fills up the input fields of this - * structure, and give this structure to \a apply_fmt() function - * of #pjmedia_video_format_info structure. - */ -typedef struct pjmedia_video_apply_fmt_param -{ - /* input fields: */ - - /** - * [IN] The image size. This field is mandatory, and has to be set - * correctly prior to calling \a apply_fmt() function. - */ - pjmedia_rect_size size; - - /** - * [IN] Pointer to the buffer that holds the frame. The \a apply_fmt() - * function uses this pointer to calculate the pointer for each video - * planes of the media. This field is optional -- however, the - * \a apply_fmt() would still fill up the \a planes[] array with the - * correct pointer even though the buffer is set to NULL. This could be - * useful to calculate the size (in bytes) of each plane. - */ - pj_uint8_t *buffer; - - /* output fields: */ - - /** - * [OUT] The size (in bytes) required of the buffer to hold the video - * frame of the particular frame size (width, height). - */ - pj_size_t framebytes; - - /** - * [OUT] Array of strides value (in bytes) for each video plane. - */ - int strides[PJMEDIA_MAX_VIDEO_PLANES]; - - /** - * [OUT] Array of pointers to each of the video planes. The values are - * calculated from the \a buffer field. - */ - pj_uint8_t *planes[PJMEDIA_MAX_VIDEO_PLANES]; - - /** - * [OUT] Array of video plane sizes. - */ - pj_size_t plane_bytes[PJMEDIA_MAX_VIDEO_PLANES]; - -} pjmedia_video_apply_fmt_param; - -/** - * This structure holds information to describe a video format. Application - * can retrieve this structure by calling #pjmedia_get_video_format_info() - * funcion. - */ -typedef struct pjmedia_video_format_info -{ - /** - * The unique format ID of the media. Well known format ids are declared - * in pjmedia_format_id enumeration. - */ - pj_uint32_t id; - - /** - * Null terminated string containing short identification about the - * format. - */ - char name[8]; - - /** - * Information about the color model of this video format. - */ - pjmedia_color_model color_model; - - /** - * Number of bits needed to store one pixel of this video format. - */ - pj_uint8_t bpp; - - /** - * Number of video planes that this format uses. Value 1 indicates - * packed format, while value greater than 1 indicates planar format. - */ - pj_uint8_t plane_cnt; - - /** - * Pointer to function to apply this format against size and buffer - * information in pjmedia_video_apply_fmt_param argument. Application - * uses this function to obtain various information such as the - * memory size of a frame buffer, strides value of the image, the - * location of the planes, and so on. See pjmedia_video_apply_fmt_param - * for additional information. - * - * @param vfi The video format info. - * @param vafp The parameters to investigate. - * - * @return PJ_SUCCESS if the function has calculated the - * information in \a vafp successfully. - */ - pj_status_t (*apply_fmt)(const struct pjmedia_video_format_info *vfi, - pjmedia_video_apply_fmt_param *vafp); - -} pjmedia_video_format_info; - - -/***************************************************************************** - * UTILITIES: - */ - -/** - * General utility routine to calculate samples per frame value from clock - * rate, ptime (in usec), and channel count. Application should use this - * macro whenever possible due to possible overflow in the math calculation. - * - * @param clock_rate Clock rate. - * @param usec_ptime Frame interval, in microsecond. - * @param channel_count Number of channels. - * - * @return The samples per frame value. - */ -PJ_INLINE(unsigned) PJMEDIA_SPF(unsigned clock_rate, unsigned usec_ptime, - unsigned channel_count) -{ -#if PJ_HAS_INT64 - return ((unsigned)((pj_uint64_t)usec_ptime * \ - clock_rate * channel_count / 1000000)); -#elif PJ_HAS_FLOATING_POINT - return ((unsigned)(1.0*usec_ptime * clock_rate * channel_count / 1000000)); -#else - return ((unsigned)(usec_ptime / 1000L * clock_rate * \ - channel_count / 1000)); -#endif -} - -/** - * Variant of #PJMEDIA_SPF() which takes frame rate instead of ptime. - */ -PJ_INLINE(unsigned) PJMEDIA_SPF2(unsigned clock_rate, const pjmedia_ratio *fr, - unsigned channel_count) -{ -#if PJ_HAS_INT64 - return ((unsigned)((pj_uint64_t)clock_rate * fr->denum \ - / fr->num / channel_count)); -#elif PJ_HAS_FLOATING_POINT - return ((unsigned)(1.0* clock_rate * fr->denum / fr->num /channel_count)); -#else - return ((unsigned)(1L * clock_rate * fr->denum / fr->num / channel_count)); -#endif -} - - -/** - * Utility routine to calculate frame size (in bytes) from bitrate and frame - * interval values. Application should use this macro whenever possible due - * to possible overflow in the math calculation. - * - * @param bps The bitrate of the stream. - * @param usec_ptime Frame interval, in microsecond. - * - * @return Frame size in bytes. - */ -PJ_INLINE(unsigned) PJMEDIA_FSZ(unsigned bps, unsigned usec_ptime) -{ -#if PJ_HAS_INT64 - return ((unsigned)((pj_uint64_t)bps * usec_ptime / PJ_UINT64(8000000))); -#elif PJ_HAS_FLOATING_POINT - return ((unsigned)(1.0 * bps * usec_ptime / 8000000.0)); -#else - return ((unsigned)(bps / 8L * usec_ptime / 1000000)); -#endif -} - -/** - * General utility routine to calculate ptime value from frame rate. - * Application should use this macro whenever possible due to possible - * overflow in the math calculation. - * - * @param frame_rate Frame rate - * - * @return The ptime value (in usec). - */ -PJ_INLINE(unsigned) PJMEDIA_PTIME(const pjmedia_ratio *frame_rate) -{ -#if PJ_HAS_INT64 - return ((unsigned)((pj_uint64_t)1000000 * \ - frame_rate->denum / frame_rate->num)); -#elif PJ_HAS_FLOATING_POINT - return ((unsigned)(1000000.0 * frame_rate->denum / \ - frame_rate->num)); -#else - return ((unsigned)((1000L * frame_rate->denum / \ - frame_rate->num) * 1000); -#endif -} - -/** - * Utility to retrieve samples_per_frame value from - * pjmedia_audio_format_detail. - * - * @param pafd Pointer to pjmedia_audio_format_detail - * @return Samples per frame - */ -PJ_INLINE(unsigned) PJMEDIA_AFD_SPF(const pjmedia_audio_format_detail *pafd) -{ - return PJMEDIA_SPF(pafd->clock_rate, pafd->frame_time_usec, - pafd->channel_count); -} - -/** - * Utility to retrieve average frame size from pjmedia_audio_format_detail. - * The average frame size is derived from the average bitrate of the audio - * stream. - * - * @param afd Pointer to pjmedia_audio_format_detail - * @return Average frame size. - */ -PJ_INLINE(unsigned) PJMEDIA_AFD_AVG_FSZ(const pjmedia_audio_format_detail *afd) -{ - return PJMEDIA_FSZ(afd->avg_bps, afd->frame_time_usec); -} - -/** - * Utility to retrieve maximum frame size from pjmedia_audio_format_detail. - * The maximum frame size is derived from the maximum bitrate of the audio - * stream. - * - * @param afd Pointer to pjmedia_audio_format_detail - * @return Average frame size. - */ -PJ_INLINE(unsigned) PJMEDIA_AFD_MAX_FSZ(const pjmedia_audio_format_detail *afd) -{ - return PJMEDIA_FSZ(afd->max_bps, afd->frame_time_usec); -} - - -/** - * Initialize the format as audio format with the specified parameters. - * - * @param fmt The format to be initialized. - * @param fmt_id Format ID. See #pjmedia_format_id - * @param clock_rate Audio clock rate. - * @param channel_count Number of channels. - * @param bits_per_sample Number of bits per sample. - * @param frame_time_usec Frame interval, in microsecond. - * @param avg_bps Average bitrate. - * @param max_bps Maximum bitrate. - */ -PJ_DECL(void) pjmedia_format_init_audio(pjmedia_format *fmt, - pj_uint32_t fmt_id, - unsigned clock_rate, - unsigned channel_count, - unsigned bits_per_sample, - unsigned frame_time_usec, - pj_uint32_t avg_bps, - pj_uint32_t max_bps); - -/** - * Initialize the format as video format with the specified parameters. - * A format manager should have been created, as this function will need - * to consult to a format manager in order to fill in detailed - * information about the format. - * - * @param fmt The format to be initialised. - * @param fmt_id Format ID. See #pjmedia_format_id - * @param width Image width. - * @param height Image heigth. - * @param fps_num FPS numerator. - * @param fps_denum FPS denumerator. - * @param avg_bps Average bitrate. - * @param max_bps Maximum bitrate. - */ -PJ_DECL(void) pjmedia_format_init_video(pjmedia_format *fmt, - pj_uint32_t fmt_id, - unsigned width, - unsigned height, - unsigned fps_num, - unsigned fps_denum); - -/** - * Copy format to another. - * - * @param dst The destination format. - * @param src The source format. - * - * @return Pointer to destination format. - */ -PJ_DECL(pjmedia_format*) pjmedia_format_copy(pjmedia_format *dst, - const pjmedia_format *src); - -/** - * Check if the format contains audio format, and retrieve the audio format - * detail in the format. - * - * @param fmt The format structure. - * @param assert_valid If this is set to non-zero, an assertion will be - * raised if the detail type is not audio or if the - * the detail is NULL. - * - * @return The instance of audio format detail in the format - * structure, or NULL if the format doesn't contain - * audio detail. - */ -PJ_DECL(pjmedia_audio_format_detail*) -pjmedia_format_get_audio_format_detail(const pjmedia_format *fmt, - pj_bool_t assert_valid); - -/** - * Check if the format contains video format, and retrieve the video format - * detail in the format. - * - * @param fmt The format structure. - * @param assert_valid If this is set to non-zero, an assertion will be - * raised if the detail type is not video or if the - * the detail is NULL. - * - * @return The instance of video format detail in the format - * structure, or NULL if the format doesn't contain - * video detail. - */ -PJ_DECL(pjmedia_video_format_detail*) -pjmedia_format_get_video_format_detail(const pjmedia_format *fmt, - pj_bool_t assert_valid); - -/***************************************************************************** - * FORMAT MANAGEMENT: - */ - -/** - * Opaque data type for video format manager. The video format manager manages - * the repository of video formats that the framework recognises. Typically it - * is a singleton instance, although application may instantiate more than one - * instances of this if required. - */ -typedef struct pjmedia_video_format_mgr pjmedia_video_format_mgr; - - -/** - * Create a new video format manager instance. This will also set the pointer - * to the singleton instance if the value is still NULL. - * - * @param pool The pool to allocate memory. - * @param max_fmt Maximum number of formats to accommodate. - * @param options Option flags. Must be zero for now. - * @param p_mgr Pointer to hold the created instance. - * - * @return PJ_SUCCESS on success, or the appripriate error value. - */ -PJ_DECL(pj_status_t) -pjmedia_video_format_mgr_create(pj_pool_t *pool, - unsigned max_fmt, - unsigned options, - pjmedia_video_format_mgr **p_mgr); - -/** - * Get the singleton instance of the video format manager. - * - * @return The instance. - */ -PJ_DECL(pjmedia_video_format_mgr*) pjmedia_video_format_mgr_instance(void); - -/** - * Manually assign a specific video manager instance as the singleton - * instance. Normally this is not needed if only one instance is ever - * going to be created, as the library automatically assign the singleton - * instance. - * - * @param mgr The instance to be used as the singleton instance. - * Application may specify NULL to clear the singleton - * singleton instance. - */ -PJ_DECL(void) -pjmedia_video_format_mgr_set_instance(pjmedia_video_format_mgr *mgr); - -/** - * Retrieve a video format info for the specified format id. - * - * @param mgr The video format manager. Specify NULL to use - * the singleton instance (however, a video format - * manager still must have been created prior to - * calling this function). - * @param id The format id which format info is to be - * retrieved. - * - * @return The video format info. - */ -PJ_DECL(const pjmedia_video_format_info*) -pjmedia_get_video_format_info(pjmedia_video_format_mgr *mgr, - pj_uint32_t id); - -/** - * Register a new video format to the framework. By default, built-in - * formats will be registered automatically to the format manager when - * it is created (note: built-in formats are ones which format id is - * listed in pjmedia_format_id enumeration). This function allows - * application to use user defined format id by registering that format - * into the framework. - * - * @param mgr The video format manager. Specify NULL to use - * the singleton instance (however, a video format - * manager still must have been created prior to - * calling this function). - * @param vfi The video format info to be registered. This - * structure must remain valid until the format - * manager is destroyed. - * - * @return PJ_SUCCESS on success, or the appripriate error value. - */ -PJ_DECL(pj_status_t) -pjmedia_register_video_format_info(pjmedia_video_format_mgr *mgr, - pjmedia_video_format_info *vfi); - -/** - * Destroy a video format manager. If the manager happens to be the singleton - * instance, the singleton instance will be set to NULL. - * - * @param mgr The video format manager. Specify NULL to use - * the singleton instance (however, a video format - * manager still must have been created prior to - * calling this function). - */ -PJ_DECL(void) pjmedia_video_format_mgr_destroy(pjmedia_video_format_mgr *mgr); - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJMEDIA_FORMAT_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/frame.h b/res/pjproject/pjmedia/include/pjmedia/frame.h deleted file mode 100644 index 0dda5e2719..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/frame.h +++ /dev/null @@ -1,332 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_FRAME_H__ -#define __PJMEDIA_FRAME_H__ - -/** - * @file pjmedia/frame.h Media frame - * @brief Frame - */ -#include -#include - -/** - * @defgroup PJMEDIA_FRAME Media frame - * @ingroup PJMEDIA_TYPES - * @brief Frame - * @{ - */ - -PJ_BEGIN_DECL - - -/** - * Types of media frame. - */ -typedef enum pjmedia_frame_type -{ - PJMEDIA_FRAME_TYPE_NONE, /**< No frame. */ - PJMEDIA_FRAME_TYPE_AUDIO, /**< Normal audio frame. */ - PJMEDIA_FRAME_TYPE_EXTENDED, /**< Extended audio frame. */ - PJMEDIA_FRAME_TYPE_VIDEO /**< Video frame. */ - -} pjmedia_frame_type; - - -/** - * This structure describes a media frame. - */ -typedef struct pjmedia_frame -{ - pjmedia_frame_type type; /**< Frame type. */ - void *buf; /**< Pointer to buffer. */ - pj_size_t size; /**< Frame size in bytes. */ - pj_timestamp timestamp; /**< Frame timestamp. */ - pj_uint32_t bit_info; /**< Bit info of the frame, sample case: - a frame may not exactly start and end - at the octet boundary, so this field - may be used for specifying start & - end bit offset. */ -} pjmedia_frame; - - -/** - * The pjmedia_frame_ext is used to carry a more complex audio frames than - * the typical PCM audio frames, and it is signaled by setting the "type" - * field of a pjmedia_frame to PJMEDIA_FRAME_TYPE_EXTENDED. With this set, - * application may typecast pjmedia_frame to pjmedia_frame_ext. - * - * This structure may contain more than one audio frames, which subsequently - * will be called subframes in this structure. The subframes section - * immediately follows the end of this structure, and each subframe is - * represented by pjmedia_frame_ext_subframe structure. Every next - * subframe immediately follows the previous subframe, and all subframes - * are byte-aligned although its payload may not be byte-aligned. - */ - -#pragma pack(1) -typedef struct pjmedia_frame_ext { - pjmedia_frame base; /**< Base frame info */ - pj_uint16_t samples_cnt; /**< Number of samples in this frame */ - pj_uint16_t subframe_cnt; /**< Number of (sub)frames in this frame */ - - /* Zero or more (sub)frames follows immediately after this, - * each will be represented by pjmedia_frame_ext_subframe - */ -} pjmedia_frame_ext; -#pragma pack() - -/** - * This structure represents the individual subframes in the - * pjmedia_frame_ext structure. - */ -#pragma pack(1) -typedef struct pjmedia_frame_ext_subframe { - pj_uint16_t bitlen; /**< Number of bits in the data */ - pj_uint8_t data[1]; /**< Start of encoded data */ -} pjmedia_frame_ext_subframe; - -#pragma pack() - -/** - * Copy one frame to another. If the destination frame's size is smaller than - * the source frame's, the destination buffer will be truncated. - * - * @param src Source frame. - * @param dst Destination frame. - */ -PJ_INLINE(void) pjmedia_frame_copy(pjmedia_frame *dst, - const pjmedia_frame *src) -{ - dst->type = src->type; - dst->timestamp = src->timestamp; - dst->bit_info = src->bit_info; - dst->size = (dst->size < src->size? dst->size: src->size); - pj_memcpy(dst->buf, src->buf, dst->size); -} - -/** - * Append one subframe to #pjmedia_frame_ext. - * - * @param frm The #pjmedia_frame_ext. - * @param src Subframe data. - * @param bitlen Length of subframe, in bits. - * @param samples_cnt Number of audio samples in subframe. - */ -PJ_INLINE(void) pjmedia_frame_ext_append_subframe(pjmedia_frame_ext *frm, - const void *src, - unsigned bitlen, - unsigned samples_cnt) -{ - pjmedia_frame_ext_subframe *fsub; - pj_uint8_t *p; - unsigned i; - - p = (pj_uint8_t*)frm + sizeof(pjmedia_frame_ext); - for (i = 0; i < frm->subframe_cnt; ++i) { - fsub = (pjmedia_frame_ext_subframe*) p; - p += sizeof(fsub->bitlen) + ((fsub->bitlen+7) >> 3); - } - - fsub = (pjmedia_frame_ext_subframe*) p; - fsub->bitlen = (pj_uint16_t)bitlen; - if (bitlen) - pj_memcpy(fsub->data, src, (bitlen+7) >> 3); - - frm->subframe_cnt++; - frm->samples_cnt = (pj_uint16_t)(frm->samples_cnt + samples_cnt); -} - -/** - * Get a subframe from #pjmedia_frame_ext. - * - * @param frm The #pjmedia_frame_ext. - * @param n Subframe index, zero based. - * - * @return The n-th subframe, or NULL if n is out-of-range. - */ -PJ_INLINE(pjmedia_frame_ext_subframe*) -pjmedia_frame_ext_get_subframe(const pjmedia_frame_ext *frm, unsigned n) -{ - pjmedia_frame_ext_subframe *sf = NULL; - - if (n < frm->subframe_cnt) { - pj_uint8_t *p; - unsigned i; - - p = (pj_uint8_t*)frm + sizeof(pjmedia_frame_ext); - for (i = 0; i < n; ++i) { - sf = (pjmedia_frame_ext_subframe*) p; - p += sizeof(sf->bitlen) + ((sf->bitlen+7) >> 3); - } - - sf = (pjmedia_frame_ext_subframe*) p; - } - - return sf; -} - -/** - * Extract all frame payload to the specified buffer. - * - * @param frm The frame. - * @param dst Destination buffer. - * @param maxlen Maximum size to copy (i.e. the size of the - * destination buffer). - * - * @return Total size of payload copied. - */ -PJ_INLINE(unsigned) -pjmedia_frame_ext_copy_payload(const pjmedia_frame_ext *frm, - void *dst, - unsigned maxlen) -{ - unsigned i, copied=0; - for (i=0; isubframe_cnt; ++i) { - pjmedia_frame_ext_subframe *sf; - unsigned sz; - - sf = pjmedia_frame_ext_get_subframe(frm, i); - if (!sf) - continue; - - sz = ((sf->bitlen + 7) >> 3); - if (sz + copied > maxlen) - break; - - pj_memcpy(((pj_uint8_t*)dst) + copied, sf->data, sz); - copied += sz; - } - return copied; -} - - -/** - * Pop out first n subframes from #pjmedia_frame_ext. - * - * @param frm The #pjmedia_frame_ext. - * @param n Number of first subframes to be popped out. - * - * @return PJ_SUCCESS when successful. - */ -PJ_INLINE(pj_status_t) -pjmedia_frame_ext_pop_subframes(pjmedia_frame_ext *frm, unsigned n) -{ - pjmedia_frame_ext_subframe *sf; - pj_uint8_t *move_src; - unsigned move_len; - - if (frm->subframe_cnt <= n) { - frm->subframe_cnt = 0; - frm->samples_cnt = 0; - return PJ_SUCCESS; - } - - move_src = (pj_uint8_t*)pjmedia_frame_ext_get_subframe(frm, n); - sf = pjmedia_frame_ext_get_subframe(frm, frm->subframe_cnt-1); - move_len = (pj_uint8_t*)sf - move_src + sizeof(sf->bitlen) + - ((sf->bitlen+7) >> 3); - pj_memmove((pj_uint8_t*)frm+sizeof(pjmedia_frame_ext), - move_src, move_len); - - frm->samples_cnt = (pj_uint16_t) - (frm->samples_cnt - n*frm->samples_cnt/frm->subframe_cnt); - frm->subframe_cnt = (pj_uint16_t) (frm->subframe_cnt - n); - - return PJ_SUCCESS; -} - - -/** - * This is a general purpose function set PCM samples to zero. - * Since this function is needed by many parts of the library, - * by putting this functionality in one place, it enables some. - * clever people to optimize this function. - * - * @param samples The 16bit PCM samples. - * @param count Number of samples. - */ -PJ_INLINE(void) pjmedia_zero_samples(pj_int16_t *samples, unsigned count) -{ -#if 1 - pj_bzero(samples, (count<<1)); -#elif 0 - unsigned i; - for (i=0; i>= 1; - for (i=0; i>= 1; - for (i=0; i>= 1; - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_G711_H__ -#define __PJMEDIA_G711_H__ - -/** - * @file g711.h - * @brief G711 Codec - */ - -#include - -/** - * @defgroup PJMED_G711 G.711 Codec - * @ingroup PJMEDIA_CODEC_CODECS - * @brief Standard G.711/PCMA and PCMU codec. - * @{ - * - * This section describes functions to initialize and register G.711 codec - * factory to the codec manager. After the codec factory has been registered, - * application can use @ref PJMEDIA_CODEC API to manipulate the codec. - * - * The G.711 is an ultra low complexity codecs and in trade-off it results - * in high bitrate, i.e: 64kbps for 16-bit PCM with sampling rate 8000Hz. - * - * The factory contains two main compression algorithms, PCMU/u-Law and - * PCMA/A-Law. - * - * \section codec_setting Codec Settings - * - * \subsection general_setting General Settings - * - * General codec settings for this codec such as VAD and PLC can be - * manipulated through the setting field in #pjmedia_codec_param. - * Please see the documentation of #pjmedia_codec_param for more info. - * - * \subsection specific_setting Codec Specific Settings - * - * Currently none. - */ - -PJ_BEGIN_DECL - - -/** - * Initialize and register G711 codec factory to pjmedia endpoint. - * This will register PCMU and PCMA codec, in that order. - * - * @param endpt The pjmedia endpoint. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_g711_init(pjmedia_endpt *endpt); - - - -/** - * Unregister G711 codec factory from pjmedia endpoint. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_codec_g711_deinit(void); - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJMEDIA_G711_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/jbuf.h b/res/pjproject/pjmedia/include/pjmedia/jbuf.h deleted file mode 100644 index 2cda3dd945..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/jbuf.h +++ /dev/null @@ -1,451 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -/* - * Based on implementation kindly contributed by Switchlab, Ltd. - */ -#ifndef __PJMEDIA_JBUF_H__ -#define __PJMEDIA_JBUF_H__ - - -/** - * @file jbuf.h - * @brief Adaptive jitter buffer implementation. - */ -#include - -/** - * @defgroup PJMED_JBUF Adaptive jitter buffer - * @ingroup PJMEDIA_FRAME_OP - * @brief Adaptive de-jitter buffering implementation - * @{ - * - * This section describes PJMEDIA's implementation of de-jitter buffer. - * The de-jitter buffer may be set to operate in adaptive mode or fixed - * delay mode. - */ - - -PJ_BEGIN_DECL - - -/** - * Types of frame returned by the jitter buffer. - */ -typedef enum pjmedia_jb_frame_type -{ - PJMEDIA_JB_MISSING_FRAME = 0, /**< No frame because it's missing */ - PJMEDIA_JB_NORMAL_FRAME = 1, /**< Normal frame is being returned */ - PJMEDIA_JB_ZERO_PREFETCH_FRAME = 2, /**< Zero frame is being returned - because JB is bufferring. */ - PJMEDIA_JB_ZERO_EMPTY_FRAME = 3 /**< Zero frame is being returned - because JB is empty. */ -} pjmedia_jb_frame_type; - - -/** - * Enumeration of jitter buffer discard algorithm. The jitter buffer - * continuously calculates the jitter level to get the optimum latency at - * any time and in order to adjust the latency, the jitter buffer may need - * to discard some frames. - */ -typedef enum pjmedia_jb_discard_algo -{ - /** - * Jitter buffer should not discard any frame, except when the jitter - * buffer is full and a new frame arrives, one frame will be discarded - * to make space for the new frame. - */ - PJMEDIA_JB_DISCARD_NONE = 0, - - /** - * Only discard one frame in at least 200ms when the latency is considered - * much higher than it should be. When the jitter buffer is full and a new - * frame arrives, one frame will be discarded to make space for the new - * frame. - */ - PJMEDIA_JB_DISCARD_STATIC, - - /** - * The discard rate is dynamically calculated based on actual parameters - * such as jitter level and latency. When the jitter buffer is full and - * a new frame arrives, one frame will be discarded to make space for the - * new frame. - */ - PJMEDIA_JB_DISCARD_PROGRESSIVE - -} pjmedia_jb_discard_algo; - - -/** - * This structure describes jitter buffer state. - */ -typedef struct pjmedia_jb_state -{ - /* Setting */ - unsigned frame_size; /**< Individual frame size, in bytes. */ - unsigned min_prefetch; /**< Minimum allowed prefetch, in frms. */ - unsigned max_prefetch; /**< Maximum allowed prefetch, in frms. */ - - /* Status */ - unsigned burst; /**< Current burst level, in frames */ - unsigned prefetch; /**< Current prefetch value, in frames */ - unsigned size; /**< Current buffer size, in frames. */ - - /* Statistic */ - unsigned avg_delay; /**< Average delay, in ms. */ - unsigned min_delay; /**< Minimum delay, in ms. */ - unsigned max_delay; /**< Maximum delay, in ms. */ - unsigned dev_delay; /**< Standard deviation of delay, in ms.*/ - unsigned avg_burst; /**< Average burst, in frames. */ - unsigned lost; /**< Number of lost frames. */ - unsigned discard; /**< Number of discarded frames. */ - unsigned empty; /**< Number of empty on GET events. */ -} pjmedia_jb_state; - - -/** - * The constant PJMEDIA_JB_DEFAULT_INIT_DELAY specifies default jitter - * buffer prefetch count during jitter buffer creation. - */ -#define PJMEDIA_JB_DEFAULT_INIT_DELAY 15 - -/** - * Opaque declaration for jitter buffer. - */ -typedef struct pjmedia_jbuf pjmedia_jbuf; - - -/** - * Create an adaptive jitter buffer according to the specification. If - * application wants to have a fixed jitter buffer, it may call - * #pjmedia_jbuf_set_fixed() after the jitter buffer is created. Also - * if application wants to alter the discard algorithm, which the default - * PJMEDIA_JB_DISCARD_PROGRESSIVE, it may call #pjmedia_jbuf_set_discard(). - * - * This function may allocate large chunk of memory to keep the frames in - * the buffer. - * - * @param pool The pool to allocate memory. - * @param name Name to identify the jitter buffer for logging - * purpose. - * @param frame_size The size of each frame that will be kept in the - * jitter buffer, in bytes. This should correspond - * to the minimum frame size supported by the codec. - * For example, a 10ms frame (80 bytes) would be - * recommended for G.711 codec. - * @param max_count Maximum number of frames that can be kept in the - * jitter buffer. This effectively means the maximum - * delay that may be introduced by this jitter - * buffer. - * @param ptime Indication of frame duration, used to calculate - * the interval between jitter recalculation. - * @param p_jb Pointer to receive jitter buffer instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_jbuf_create(pj_pool_t *pool, - const pj_str_t *name, - unsigned frame_size, - unsigned ptime, - unsigned max_count, - pjmedia_jbuf **p_jb); - -/** - * Set the jitter buffer to fixed delay mode. The default behavior - * is to adapt the delay with actual packet delay. - * - * @param jb The jitter buffer - * @param prefetch The fixed delay value, in number of frames. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_jbuf_set_fixed( pjmedia_jbuf *jb, - unsigned prefetch); - - -/** - * Set the jitter buffer to adaptive mode. - * - * @param jb The jitter buffer. - * @param prefetch The initial prefetch value to be applied to the - * jitter buffer. Setting this to other than 0 will - * activate prefetch buffering, a jitter buffer feature - * that each time it gets empty, it won't return a - * normal frame until its size reaches the number - * specified here. - * @param min_prefetch The minimum delay that must be applied to each - * incoming packets, in number of frames. - * @param max_prefetch The maximum allowable value for prefetch delay, - * in number of frames. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_jbuf_set_adaptive( pjmedia_jbuf *jb, - unsigned prefetch, - unsigned min_prefetch, - unsigned max_prefetch); - - -/** - * Set the jitter buffer discard algorithm. The default discard algorithm, - * set in jitter buffer creation, is PJMEDIA_JB_DISCARD_PROGRESSIVE. - * - * @param jb The jitter buffer. - * @param algo The discard algorithm to be used. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_jbuf_set_discard(pjmedia_jbuf *jb, - pjmedia_jb_discard_algo algo); - - -/** - * Destroy jitter buffer instance. - * - * @param jb The jitter buffer. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_jbuf_destroy(pjmedia_jbuf *jb); - - -/** - * Restart jitter. This function flushes all packets in the buffer and - * reset the internal sequence number. - * - * @param jb The jitter buffer. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_jbuf_reset(pjmedia_jbuf *jb); - -/** - * Put a frame to the jitter buffer. If the frame can be accepted (based - * on the sequence number), the jitter buffer will copy the frame and put - * it in the appropriate position in the buffer. - * - * Application MUST manage it's own synchronization when multiple threads - * are accessing the jitter buffer at the same time. - * - * @param jb The jitter buffer. - * @param frame Pointer to frame buffer to be stored in the jitter - * buffer. - * @param size The frame size. - * @param frame_seq The frame sequence number. - */ -PJ_DECL(void) pjmedia_jbuf_put_frame( pjmedia_jbuf *jb, - const void *frame, - pj_size_t size, - int frame_seq); - -/** - * Put a frame to the jitter buffer. If the frame can be accepted (based - * on the sequence number), the jitter buffer will copy the frame and put - * it in the appropriate position in the buffer. - * - * Application MUST manage it's own synchronization when multiple threads - * are accessing the jitter buffer at the same time. - * - * @param jb The jitter buffer. - * @param frame Pointer to frame buffer to be stored in the jitter - * buffer. - * @param size The frame size. - * @param bit_info Bit precise info of the frame, e.g: a frame may not - * exactly start and end at the octet boundary, so this - * field may be used for specifying start & end bit offset. - * @param frame_seq The frame sequence number. - * @param discarded Flag whether the frame is discarded by jitter buffer. - */ -PJ_DECL(void) pjmedia_jbuf_put_frame2( pjmedia_jbuf *jb, - const void *frame, - pj_size_t size, - pj_uint32_t bit_info, - int frame_seq, - pj_bool_t *discarded); - -/** - * Put a frame to the jitter buffer. If the frame can be accepted (based - * on the sequence number), the jitter buffer will copy the frame and put - * it in the appropriate position in the buffer. - * - * Application MUST manage it's own synchronization when multiple threads - * are accessing the jitter buffer at the same time. - * - * @param jb The jitter buffer. - * @param frame Pointer to frame buffer to be stored in the jitter - * buffer. - * @param size The frame size. - * @param bit_info Bit precise info of the frame, e.g: a frame may not - * exactly start and end at the octet boundary, so this - * field may be used for specifying start & end bit offset. - * @param frame_seq The frame sequence number. - * @param frame_ts The frame timestamp. - * @param discarded Flag whether the frame is discarded by jitter buffer. - */ -PJ_DECL(void) pjmedia_jbuf_put_frame3( pjmedia_jbuf *jb, - const void *frame, - pj_size_t size, - pj_uint32_t bit_info, - int frame_seq, - pj_uint32_t frame_ts, - pj_bool_t *discarded); -/** - * Get a frame from the jitter buffer. The jitter buffer will return the - * oldest frame from it's buffer, when it is available. - * - * Application MUST manage it's own synchronization when multiple threads - * are accessing the jitter buffer at the same time. - * - * @param jb The jitter buffer. - * @param frame Buffer to receive the payload from the jitter buffer. - * Application MUST make sure that the buffer has - * appropriate size (i.e. not less than the frame size, - * as specified when the jitter buffer was created). - * The jitter buffer only copied a frame to this - * buffer when the frame type returned by this function - * is PJMEDIA_JB_NORMAL_FRAME. - * @param p_frm_type Pointer to receive frame type. If jitter buffer is - * currently empty or bufferring, the frame type will - * be set to PJMEDIA_JB_ZERO_FRAME, and no frame will - * be copied. If the jitter buffer detects that frame is - * missing with current sequence number, the frame type - * will be set to PJMEDIA_JB_MISSING_FRAME, and no - * frame will be copied. If there is a frame, the jitter - * buffer will copy the frame to the buffer, and frame - * type will be set to PJMEDIA_JB_NORMAL_FRAME. - */ -PJ_DECL(void) pjmedia_jbuf_get_frame( pjmedia_jbuf *jb, - void *frame, - char *p_frm_type); - -/** - * Get a frame from the jitter buffer. The jitter buffer will return the - * oldest frame from it's buffer, when it is available. - * - * @param jb The jitter buffer. - * @param frame Buffer to receive the payload from the jitter buffer. - * @see pjmedia_jbuf_get_frame(). - * @param size Pointer to receive frame size. - * @param p_frm_type Pointer to receive frame type. - * @see pjmedia_jbuf_get_frame(). - * @param bit_info Bit precise info of the frame, e.g: a frame may not - * exactly start and end at the octet boundary, so this - * field may be used for specifying start & end bit offset. - */ -PJ_DECL(void) pjmedia_jbuf_get_frame2(pjmedia_jbuf *jb, - void *frame, - pj_size_t *size, - char *p_frm_type, - pj_uint32_t *bit_info); - - -/** - * Get a frame from the jitter buffer. The jitter buffer will return the - * oldest frame from it's buffer, when it is available. - * - * @param jb The jitter buffer. - * @param frame Buffer to receive the payload from the jitter buffer. - * @see pjmedia_jbuf_get_frame(). - * @param size Pointer to receive frame size. - * @param p_frm_type Pointer to receive frame type. - * @see pjmedia_jbuf_get_frame(). - * @param bit_info Bit precise info of the frame, e.g: a frame may not - * exactly start and end at the octet boundary, so this - * field may be used for specifying start & end bit offset. - * @param ts Frame timestamp. - * @param seq Frame sequence number. - */ -PJ_DECL(void) pjmedia_jbuf_get_frame3(pjmedia_jbuf *jb, - void *frame, - pj_size_t *size, - char *p_frm_type, - pj_uint32_t *bit_info, - pj_uint32_t *ts, - int *seq); - - -/** - * Peek a frame from the jitter buffer. The jitter buffer state will not be - * modified. - * - * @param jb The jitter buffer. - * @param offset Offset from the oldest frame to be peeked. - * @param frame Buffer to receive the payload from the jitter buffer. - * @see pjmedia_jbuf_get_frame(). - * @param size Pointer to receive frame size. - * @param p_frm_type Pointer to receive frame type. - * @see pjmedia_jbuf_get_frame(). - * @param bit_info Bit precise info of the frame, e.g: a frame may not - * exactly start and end at the octet boundary, so this - * field may be used for specifying start & end bit offset. - * @param ts Frame timestamp. - * @param seq Frame sequence number. - */ -PJ_DECL(void) pjmedia_jbuf_peek_frame(pjmedia_jbuf *jb, - unsigned offset, - const void **frame, - pj_size_t *size, - char *p_frm_type, - pj_uint32_t *bit_info, - pj_uint32_t *ts, - int *seq); - - -/** - * Remove frames from the jitter buffer. - * - * @param jb The jitter buffer. - * @param frame_cnt Number of frames to be removed. - * - * @return The number of frame successfully removed. - */ -PJ_DECL(unsigned) pjmedia_jbuf_remove_frame(pjmedia_jbuf *jb, - unsigned frame_cnt); - -/** - * Check if the jitter buffer is full. - * - * @param jb The jitter buffer. - * - * @return PJ_TRUE if it is full. - */ -PJ_DECL(pj_bool_t) pjmedia_jbuf_is_full(const pjmedia_jbuf *jb); - - -/** - * Get jitter buffer current state/settings. - * - * @param jb The jitter buffer. - * @param state Buffer to receive jitter buffer state. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_jbuf_get_state( const pjmedia_jbuf *jb, - pjmedia_jb_state *state ); - - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJMEDIA_JBUF_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/master_port.h b/res/pjproject/pjmedia/include/pjmedia/master_port.h deleted file mode 100644 index 58f21c40a9..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/master_port.h +++ /dev/null @@ -1,199 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_MASTER_PORT_H__ -#define __PJMEDIA_MASTER_PORT_H__ - - -/** - * @file master_port.h - * @brief Master port. - */ -#include - -/** - * @defgroup PJMEDIA_MASTER_PORT Master Port - * @ingroup PJMEDIA_PORT_CLOCK - * @brief Thread based media clock provider - * @{ - * - * A master port has two media ports connected to it, and by convention - * thay are called downstream and upstream ports. The media stream flowing to - * the downstream port is called encoding or send direction, and media stream - * flowing to the upstream port is called decoding or receive direction - * (imagine the downstream as stream to remote endpoint, and upstream as - * local media port; media flowing to remote endpoint (downstream) will need - * to be encoded before it is transmitted to remote endpoint). - * - * A master port internally has an instance of @ref PJMEDIA_CLOCK, which - * provides the essensial timing for the master port. The @ref PJMEDIA_CLOCK - * runs asynchronously, and whenever a clock tick expires, a callback - * will be called, and the master port performs the following tasks: - * - it calls get_frame() from the downstream port, - * when give the frame to the upstream port by calling put_frame - * to the upstream port, and - * - performs the same task, but on the reverse direction (i.e. get the stream - * from upstream port and give it to the downstream port). - * - * Because master port enables media stream to flow automatically, it is - * said that the master port supplies @ref PJMEDIA_PORT_CLOCK to the - * media ports interconnection. - * - */ - -PJ_BEGIN_DECL - - -/** - * Opaque declaration for master port. - */ -typedef struct pjmedia_master_port pjmedia_master_port; - - -/** - * Create a master port. - * - * @param pool Pool to allocate master port from. - * @param u_port Upstream port. - * @param d_port Downstream port. - * @param options Options flags, from bitmask combinations from - * pjmedia_clock_options. - * @param p_m Pointer to receive the master port instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_master_port_create(pj_pool_t *pool, - pjmedia_port *u_port, - pjmedia_port *d_port, - unsigned options, - pjmedia_master_port **p_m); - - -/** - * Start the media flow. - * - * @param m The master port. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_master_port_start(pjmedia_master_port *m); - - -/** - * Stop the media flow. - * - * @param m The master port. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_master_port_stop(pjmedia_master_port *m); - - -/** - * Poll the master port clock and execute the callback when the clock tick has - * elapsed. This operation is only valid if the master port is created with - * #PJMEDIA_CLOCK_NO_ASYNC flag. - * - * @param m The master port. - * @param wait If non-zero, then the function will block until - * a clock tick elapsed and callback has been called. - * @param ts Optional argument to receive the current - * timestamp. - * - * @return Non-zero if clock tick has elapsed, or FALSE if - * the function returns before a clock tick has - * elapsed. - */ -PJ_DECL(pj_bool_t) pjmedia_master_port_wait(pjmedia_master_port *m, - pj_bool_t wait, - pj_timestamp *ts); - - -/** - * Change the upstream port. Note that application is responsible to destroy - * current upstream port (the one that is going to be replaced with the - * new port). - * - * @param m The master port. - * @param port Port to be used for upstream port. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_master_port_set_uport(pjmedia_master_port *m, - pjmedia_port *port); - - -/** - * Get the upstream port. - * - * @param m The master port. - * - * @return The upstream port. - */ -PJ_DECL(pjmedia_port*) pjmedia_master_port_get_uport(pjmedia_master_port*m); - - -/** - * Change the downstream port. Note that application is responsible to destroy - * current downstream port (the one that is going to be replaced with the - * new port). - * - * @param m The master port. - * @param port Port to be used for downstream port. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_master_port_set_dport(pjmedia_master_port *m, - pjmedia_port *port); - - -/** - * Get the downstream port. - * - * @param m The master port. - * - * @return The downstream port. - */ -PJ_DECL(pjmedia_port*) pjmedia_master_port_get_dport(pjmedia_master_port*m); - - -/** - * Destroy the master port, and optionally destroy the upstream and - * downstream ports. - * - * @param m The master port. - * @param destroy_ports If non-zero, the function will destroy both - * upstream and downstream ports too. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_master_port_destroy(pjmedia_master_port *m, - pj_bool_t destroy_ports); - - - -PJ_END_DECL - -/** - * @} - */ - - -#endif /* __PJMEDIA_MASTER_PORT_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/mem_port.h b/res/pjproject/pjmedia/include/pjmedia/mem_port.h deleted file mode 100644 index 77f236de8e..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/mem_port.h +++ /dev/null @@ -1,195 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_MEM_PORT_H__ -#define __PJMEDIA_MEM_PORT_H__ - -/** - * @file mem_port.h - * @brief Memory based media playback/capture port - */ -#include - -PJ_BEGIN_DECL - - -/** - * @defgroup PJMEDIA_MEM_PLAYER Memory/Buffer-based Playback Port - * @ingroup PJMEDIA_PORT - * @brief Media playback from a fixed size memory buffer - * @{ - * - * A memory/buffer based playback port is used to play media from a fixed - * size buffer. This is useful over @ref PJMEDIA_FILE_PLAY for - * situation where filesystems are not available in the target system. - */ - - -/** - * Memory player options. - */ -enum pjmedia_mem_player_option -{ - /** - * Tell the memory player to return NULL frame when the whole - * buffer has been played instead of rewinding the buffer back - * to start position. - */ - PJMEDIA_MEM_NO_LOOP = 1 -}; - - -/** - * Create the buffer based playback to play the media from the specified - * buffer. - * - * @param pool Pool to allocate memory for the port structure. - * @param buffer The buffer to play the media from, which should - * be available throughout the life time of the port. - * The player plays the media directly from this - * buffer (i.e. no copying is done). - * @param size The size of the buffer, in bytes. - * @param clock_rate Sampling rate. - * @param channel_count Number of channels. - * @param samples_per_frame Number of samples per frame. - * @param bits_per_sample Number of bits per sample. - * @param options Option flags, see #pjmedia_mem_player_option - * @param p_port Pointer to receive the port instance. - * - * @return PJ_SUCCESS on success, or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_mem_player_create(pj_pool_t *pool, - const void *buffer, - pj_size_t size, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - pjmedia_port **p_port ); - - -/** - * Register a callback to be called when the buffer reading has reached the - * end of buffer. If the player is set to play repeatedly, then the callback - * will be called multiple times. Note that only one callback can be - * registered for each player port. - * - * @param port The memory player port. - * @param user_data User data to be specified in the callback - * @param cb Callback to be called. If the callback returns non- - * PJ_SUCCESS, the playback will stop. Note that if - * application destroys the player port in the callback, - * it must return non-PJ_SUCCESS here. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_mem_player_set_eof_cb( pjmedia_port *port, - void *user_data, - pj_status_t (*cb)(pjmedia_port *port, - void *usr_data)); - - -/** - * @} - */ - -/** - * @defgroup PJMEDIA_MEM_CAPTURE Memory/Buffer-based Capture Port - * @ingroup PJMEDIA_PORT - * @brief Media capture to fixed size memory buffer - * @{ - * - * A memory based capture is used to save media streams to a fixed size - * buffer. This is useful over @ref PJMEDIA_FILE_REC for - * situation where filesystems are not available in the target system. - */ - -/** - * Create media port to capture/record media into a fixed size buffer. - * - * @param pool Pool to allocate memory for the port structure. - * @param buffer The buffer to record the media to, which should - * be available throughout the life time of the port. - * @param size The maximum size of the buffer, in bytes. - * @param clock_rate Sampling rate. - * @param channel_count Number of channels. - * @param samples_per_frame Number of samples per frame. - * @param bits_per_sample Number of bits per sample. - * @param options Option flags. - * @param p_port Pointer to receive the port instance. - * - * @return PJ_SUCCESS on success, or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_mem_capture_create(pj_pool_t *pool, - void *buffer, - pj_size_t size, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - pjmedia_port **p_port); - - -/** - * Register a callback to be called when no space left in the buffer. - * Note that when a callback is registered, this callback will also be - * called when application destroys the port and the callback has not - * been called before. - * - * @param port The memory recorder port. - * @param user_data User data to be specified in the callback - * @param cb Callback to be called. If the callback returns non- - * PJ_SUCCESS, the recording will stop. In other cases - * recording will be restarted and the rest of the frame - * will be stored starting from the beginning of the - * buffer. Note that if application destroys the capture - * port in the callback, it must return non-PJ_SUCCESS - * here. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_mem_capture_set_eof_cb(pjmedia_port *port, - void *user_data, - pj_status_t (*cb)(pjmedia_port *port, - void *usr_data)); - -/** - * Return the current size of the recorded data in the buffer. - * - * @param port The memory recorder port. - * @return The size of buffer data.. - */ -PJ_DECL(pj_size_t) -pjmedia_mem_capture_get_size(pjmedia_port *port); - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJMEDIA_MEM_PORT_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/null_port.h b/res/pjproject/pjmedia/include/pjmedia/null_port.h deleted file mode 100644 index 88e3a992c3..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/null_port.h +++ /dev/null @@ -1,70 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_NULL_PORT_H__ -#define __PJMEDIA_NULL_PORT_H__ - -/** - * @file null_port.h - * @brief Null media port. - */ -#include - - - -/** - * @defgroup PJMEDIA_NULL_PORT Null Port - * @ingroup PJMEDIA_PORT - * @brief The simplest type of media port which does nothing. - * @{ - */ - - -PJ_BEGIN_DECL - - -/** - * Create Null port. - * - * @param pool Pool to allocate memory. - * @param sampling_rate Sampling rate of the port. - * @param channel_count Number of channels. - * @param samples_per_frame Number of samples per frame. - * @param bits_per_sample Number of bits per sample. - * @param p_port Pointer to receive the port instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_null_port_create( pj_pool_t *pool, - unsigned sampling_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - pjmedia_port **p_port ); - - - -PJ_END_DECL - -/** - * @} - */ - - -#endif /* __PJMEDIA_NULL_PORT_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/plc.h b/res/pjproject/pjmedia/include/pjmedia/plc.h deleted file mode 100644 index 64f54b9aac..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/plc.h +++ /dev/null @@ -1,115 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_PLC_H__ -#define __PJMEDIA_PLC_H__ - - -/** - * @file plc.h - * @brief Packet Lost Concealment (PLC) API. - */ -#include - -/** - * @defgroup PJMED_PLC Packet Lost Concealment (PLC) - * @ingroup PJMEDIA_FRAME_OP - * @brief Packet lost compensation algorithm - * @{ - * - * This section describes PJMEDIA's implementation of Packet Lost - * Concealment algorithm. This algorithm is used to implement PLC for - * codecs that do not have built-in support for one (e.g. G.711 or GSM - * codecs). - * - * The PLC algorithm (either built-in or external) is embedded in - * PJMEDIA codec instance, and application can conceal lost frames - * by calling recover() member of the codec's member - * operation (#pjmedia_codec_op). - * - * See also @ref plc_codec for more info. - */ - - -PJ_BEGIN_DECL - - -/** - * Opaque declaration for PLC. - */ -typedef struct pjmedia_plc pjmedia_plc; - - - -/** - * Create PLC session. This function will select the PLC algorithm to - * use based on the arguments. - * - * @param pool Pool to allocate memory for the PLC. - * @param clock_rate Media sampling rate. - * @param samples_per_frame Number of samples per frame. - * @param options Must be zero for now. - * @param p_plc Pointer to receive the PLC instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_plc_create( pj_pool_t *pool, - unsigned clock_rate, - unsigned samples_per_frame, - unsigned options, - pjmedia_plc **p_plc); - - -/** - * Save a good frame to PLC. - * - * @param plc The PLC session. - * @param frame The good frame to be stored to PLC. This frame - * must have the same length as the configured - * samples per frame. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_plc_save( pjmedia_plc *plc, - pj_int16_t *frame ); - - -/** - * Generate a replacement for lost frame. - * - * @param plc The PLC session. - * @param frame Buffer to receive the generated frame. This buffer - * must be able to store the frame. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_plc_generate( pjmedia_plc *plc, - pj_int16_t *frame ); - - - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJMEDIA_PLC_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/port.h b/res/pjproject/pjmedia/include/pjmedia/port.h deleted file mode 100644 index 4ea5de1d57..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/port.h +++ /dev/null @@ -1,499 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_PORT_H__ -#define __PJMEDIA_PORT_H__ - -/** - * @file port.h - * @brief Port interface declaration - */ -#include -#include -#include -#include -#include -#include -#include - - -/** - @addtogroup PJMEDIA_PORT Media Ports Framework - @{ - - @section media_port_intro Media Port Concepts - - @subsection The Media Port - A media port (represented with pjmedia_port "class") provides a generic - and extensible framework for implementing media elements. Media element - itself could be a media source, sink, or processing element. A media - port interface basically has the following properties: - - media port information (pjmedia_port_info) to describe the - media port properties (sampling rate, number of channels, etc.), - - optional pointer to function to acquire frames from the port (the - get_frame() interface), which will be called by - #pjmedia_port_get_frame() public API, and - - optional pointer to function to store frames to the port (the - put_frame() interface) which will be called by - #pjmedia_port_put_frame() public API. - - The get_frame() and put_frame() interface of course - would only need to be implemented if the media port emits and/or takes - media frames respectively. - - Media ports are passive "objects". By default, there is no worker thread - to run the media flow. Applications (or other PJMEDIA - components, as explained in @ref PJMEDIA_PORT_CLOCK) must actively call - #pjmedia_port_get_frame() or #pjmedia_port_put_frame() from/to the media - port in order to retrieve/store media frames. - - Some media ports (such as @ref PJMEDIA_CONF and @ref PJMEDIA_RESAMPLE_PORT) - may be interconnected with (or encapsulate) other port, to perform the - combined task of the ports, while some - others represent the ultimate source/sink termination for the media. - Interconnection means the upstream media port will call get_frame() - and put_frame() to its downstream media port. For this to happen, - the media ports need to have the same format, where format is defined as - combination of sample format, clock rate, channel count, bits per sample, - and samples per frame for audio media. - - - @subsection port_clock_ex1 Example: Manual Resampling - - For example, suppose application wants to convert the sampling rate - of one WAV file to another. In this case, application would create and - arrange media ports connection as follows: - - \image html sample-manual-resampling.jpg - - Application would setup the media ports using the following pseudo- - code: - - \code - - pjmedia_port *player, *resample, *writer; - pj_status_t status; - - // Create the file player port. - status = pjmedia_wav_player_port_create(pool, - "Input.WAV", // file name - 20, // ptime. - PJMEDIA_FILE_NO_LOOP, // flags - 0, // buffer size - NULL, // user data. - &player ); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, PJ_SUCCESS); - - // Create the resample port with specifying the target sampling rate, - // and with the file port as the source. This will effectively - // connect the resample port with the player port. - status = pjmedia_resample_port_create( pool, player, 8000, - 0, &resample); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, PJ_SUCCESS); - - // Create the file writer, specifying the resample port's configuration - // as the WAV parameters. - status pjmedia_wav_writer_port_create(pool, - "Output.WAV", // file name. - resample->info.clock_rate, - resample->info.channel_count, - resample->info.samples_per_frame, - resample->info.bits_per_sample, - 0, // flags - 0, // buffer size - NULL, // user data. - &writer); - - \endcode - - - After the ports have been set up, application can perform the conversion - process by running this loop: - - \code - - pj_int16_t samplebuf[MAX_FRAME]; - - while (1) { - pjmedia_frame frame; - pj_status_t status; - - frame.buf = samplebuf; - frame.size = sizeof(samplebuf); - - // Get the frame from resample port. - status = pjmedia_port_get_frame(resample, &frame); - if (status != PJ_SUCCESS || frame.type == PJMEDIA_FRAME_TYPE_NONE) { - // End-of-file, end the conversion. - break; - } - - // Put the frame to write port. - status = pjmedia_port_put_frame(writer, &frame); - if (status != PJ_SUCCESS) { - // Error in writing the file. - break; - } - } - - \endcode - - For the sake of completeness, after the resampling process is done, - application would need to destroy the ports: - - \code - // Note: by default, destroying resample port will destroy the - // the downstream port too. - pjmedia_port_destroy(resample); - pjmedia_port_destroy(writer); - \endcode - - - The above steps are okay for our simple purpose of changing file's sampling - rate. But for other purposes, the process of reading and writing frames - need to be done in timely manner (for example, sending RTP packets to - remote stream). And more over, as the application's scope goes bigger, - the same pattern of manually reading/writing frames comes up more and more often, - thus perhaps it would be better if PJMEDIA provides mechanism to - automate this process. - - And indeed PJMEDIA does provide such mechanism, which is described in - @ref PJMEDIA_PORT_CLOCK section. - - - @subsection media_port_autom Automating Media Flow - - PJMEDIA provides few mechanisms to make media flows automatically - among media ports. This concept is described in @ref PJMEDIA_PORT_CLOCK - section. -*/ - -PJ_BEGIN_DECL - - -/** - * Create 32bit port signature from ASCII characters. - */ -#define PJMEDIA_PORT_SIG(a,b,c,d) PJMEDIA_OBJ_SIG(a,b,c,d) - - -/** - * Port operation setting. - */ -typedef enum pjmedia_port_op -{ - /** - * No change to the port TX or RX settings. - */ - PJMEDIA_PORT_NO_CHANGE, - - /** - * TX or RX is disabled from the port. It means get_frame() or - * put_frame() WILL NOT be called for this port. - */ - PJMEDIA_PORT_DISABLE, - - /** - * TX or RX is muted, which means that get_frame() or put_frame() - * will still be called, but the audio frame is discarded. - */ - PJMEDIA_PORT_MUTE, - - /** - * Enable TX and RX to/from this port. - */ - PJMEDIA_PORT_ENABLE - -} pjmedia_port_op; - - -/** - * Port info. - */ -typedef struct pjmedia_port_info -{ - pj_str_t name; /**< Port name. */ - pj_uint32_t signature; /**< Port signature. */ - pjmedia_dir dir; /**< Port direction. */ - pjmedia_format fmt; /**< Format. */ -} pjmedia_port_info; - -/** - * Utility to retrieve audio clock rate/sampling rate value from - * pjmedia_port_info. - * - * @param pia Pointer to port info containing audio format. - * @return Audio clock rate. - */ -PJ_INLINE(unsigned) PJMEDIA_PIA_SRATE(const pjmedia_port_info *pia) -{ - pj_assert(pia->fmt.type==PJMEDIA_TYPE_AUDIO && - pia->fmt.detail_type==PJMEDIA_FORMAT_DETAIL_AUDIO); - return pia->fmt.det.aud.clock_rate; -} - -/** - * Utility to retrieve audio channel count value from pjmedia_port_info. - * - * @param pia Pointer to port info containing audio format. - * @return Audio channel count. - */ -PJ_INLINE(unsigned) PJMEDIA_PIA_CCNT(const pjmedia_port_info *pia) -{ - pj_assert(pia->fmt.type==PJMEDIA_TYPE_AUDIO && - pia->fmt.detail_type==PJMEDIA_FORMAT_DETAIL_AUDIO); - return pia->fmt.det.aud.channel_count; -} - -/** - * Utility to retrieve audio bits per sample value from pjmedia_port_info. - * - * @param pia Pointer to port info containing audio format. - * @return Number of bits per sample. - */ -PJ_INLINE(unsigned) PJMEDIA_PIA_BITS(const pjmedia_port_info *pia) -{ - pj_assert(pia->fmt.type==PJMEDIA_TYPE_AUDIO && - pia->fmt.detail_type==PJMEDIA_FORMAT_DETAIL_AUDIO); - return pia->fmt.det.aud.bits_per_sample; -} - -/** - * Utility to retrieve audio frame interval (ptime) value from - * pjmedia_port_info. - * - * @param pia Pointer to port info containing audio format. - * @return Frame interval in msec. - */ -PJ_INLINE(unsigned) PJMEDIA_PIA_PTIME(const pjmedia_port_info *pia) -{ - pj_assert(pia->fmt.type==PJMEDIA_TYPE_AUDIO && - pia->fmt.detail_type==PJMEDIA_FORMAT_DETAIL_AUDIO); - return pia->fmt.det.aud.frame_time_usec / 1000; -} - -/** - * This is a utility routine to retrieve the audio samples_per_frame value - * from port info. - * - * @param pia Pointer to port info containing audio format. - * @return Samples per frame value. - */ -PJ_INLINE(unsigned) PJMEDIA_PIA_SPF(const pjmedia_port_info *pia) -{ - pj_assert(pia->fmt.type==PJMEDIA_TYPE_AUDIO && - pia->fmt.detail_type==PJMEDIA_FORMAT_DETAIL_AUDIO); - return PJMEDIA_AFD_SPF(&pia->fmt.det.aud); -} - -/** - * This is a utility routine to retrieve the average bitrate value - * from port info. - * - * @param pia Pointer to port info containing audio format. - * @return Bitrate, in bits per second. - */ -PJ_INLINE(unsigned) PJMEDIA_PIA_AVG_BPS(const pjmedia_port_info *pia) -{ - pj_assert(pia->fmt.type==PJMEDIA_TYPE_AUDIO && - pia->fmt.detail_type==PJMEDIA_FORMAT_DETAIL_AUDIO); - return pia->fmt.det.aud.avg_bps; -} - -/** - * This is a utility routine to retrieve the maximum bitrate value - * from port info. - * - * @param pia Pointer to port info containing audio format. - * @return Bitrate, in bits per second. - */ -PJ_INLINE(unsigned) PJMEDIA_PIA_MAX_BPS(const pjmedia_port_info *pia) -{ - pj_assert(pia->fmt.type==PJMEDIA_TYPE_AUDIO && - pia->fmt.detail_type==PJMEDIA_FORMAT_DETAIL_AUDIO); - return pia->fmt.det.aud.max_bps; -} - -/** - * This is a utility routine to retrieve the average audio frame size value - * from pjmedia_port_info. - * - * @param pia Pointer to port info containing audio format. - * @return Frame size in bytes. - */ -PJ_INLINE(unsigned) PJMEDIA_PIA_AVG_FSZ(const pjmedia_port_info *pia) -{ - pj_assert(pia->fmt.type==PJMEDIA_TYPE_AUDIO && - pia->fmt.detail_type==PJMEDIA_FORMAT_DETAIL_AUDIO); - return PJMEDIA_AFD_AVG_FSZ(&pia->fmt.det.aud); -} - -/** - * Utility to retrieve audio frame size from maximum bitrate from - * pjmedia_port_info. - * - * @param pia Pointer to port info containing audio format. - * @return Frame size in bytes. - */ -PJ_INLINE(unsigned) PJMEDIA_PIA_MAX_FSZ(const pjmedia_port_info *pia) -{ - pj_assert(pia->fmt.type==PJMEDIA_TYPE_AUDIO && - pia->fmt.detail_type==PJMEDIA_FORMAT_DETAIL_AUDIO); - return PJMEDIA_AFD_MAX_FSZ(&pia->fmt.det.aud); -} - -/** - * Port interface. - */ -typedef struct pjmedia_port -{ - pjmedia_port_info info; /**< Port information. */ - - /** Port data can be used by the port creator to attach arbitrary - * value to be associated with the port. - */ - struct port_data { - void *pdata; /**< Pointer data. */ - long ldata; /**< Long data. */ - } port_data; - - /** - * Get clock source. - * This should only be called by #pjmedia_port_get_clock_src(). - */ - pjmedia_clock_src* (*get_clock_src)(struct pjmedia_port *this_port, - pjmedia_dir dir); - - /** - * Sink interface. - * This should only be called by #pjmedia_port_put_frame(). - */ - pj_status_t (*put_frame)(struct pjmedia_port *this_port, - pjmedia_frame *frame); - - /** - * Source interface. - * This should only be called by #pjmedia_port_get_frame(). - */ - pj_status_t (*get_frame)(struct pjmedia_port *this_port, - pjmedia_frame *frame); - - /** - * Called to destroy this port. - */ - pj_status_t (*on_destroy)(struct pjmedia_port *this_port); - -} pjmedia_port; - - -/** - * This is an auxiliary function to initialize port info for - * ports which deal with PCM audio. - * - * @param info The port info to be initialized. - * @param name Port name. - * @param signature Port signature. - * @param clock_rate Port's clock rate. - * @param channel_count Number of channels. - * @param bits_per_sample Bits per sample. - * @param samples_per_frame Number of samples per frame. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_port_info_init( pjmedia_port_info *info, - const pj_str_t *name, - unsigned signature, - unsigned clock_rate, - unsigned channel_count, - unsigned bits_per_sample, - unsigned samples_per_frame); - -/** - * This is an auxiliary function to initialize port info for - * ports which deal with PCM audio. - * - * @param info The port info to be initialized. - * @param name Port name. - * @param signature Port signature. - * @param dir Port's direction. - * @param fmt Port's media format. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_port_info_init2(pjmedia_port_info *info, - const pj_str_t *name, - unsigned signature, - pjmedia_dir dir, - const pjmedia_format *fmt); - - -/** - * Get a clock source from the port. - * - * @param port The media port. - * @param dir Media port's direction. - * - * @return The clock source or NULL if clock source is not present - * in the port. - */ -PJ_DECL(pjmedia_clock_src *) pjmedia_port_get_clock_src( pjmedia_port *port, - pjmedia_dir dir ); - - -/** - * Get a frame from the port (and subsequent downstream ports). - * - * @param port The media port. - * @param frame Frame to store samples. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_port_get_frame( pjmedia_port *port, - pjmedia_frame *frame ); - -/** - * Put a frame to the port (and subsequent downstream ports). - * - * @param port The media port. - * @param frame Frame to the put to the port. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_port_put_frame( pjmedia_port *port, - pjmedia_frame *frame ); - -/** - * Destroy port (and subsequent downstream ports) - * - * @param port The media port. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_port_destroy( pjmedia_port *port ); - - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJMEDIA_PORT_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/resample.h b/res/pjproject/pjmedia/include/pjmedia/resample.h deleted file mode 100644 index c573ed4960..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/resample.h +++ /dev/null @@ -1,200 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_RESAMPLE_H__ -#define __PJMEDIA_RESAMPLE_H__ - - - -/** - * @file resample.h - * @brief Sample rate converter. - */ -#include -#include - -/** - * @defgroup PJMEDIA_RESAMPLE Resampling Algorithm - * @ingroup PJMEDIA_FRAME_OP - * @brief Sample rate conversion algorithm - * @{ - * - * This section describes the base resampling functions. In addition to this, - * application can use the @ref PJMEDIA_RESAMPLE_PORT which provides - * media port abstraction for the base resampling algorithm. - */ - -PJ_BEGIN_DECL - -/* - * This file declares two types of API: - * - * Application can use #pjmedia_resample_create() and #pjmedia_resample_run() - * to convert a frame from source rate to destination rate. The inpuit frame - * must have a constant length. - * - * Alternatively, application can create a resampling port with - * #pjmedia_resample_port_create() and connect the port to other ports to - * change the sampling rate of the samples. - */ - - -/** - * Opaque resample session. - */ -typedef struct pjmedia_resample pjmedia_resample; - -/** - * Create a frame based resample session. - * - * @param pool Pool to allocate the structure and buffers. - * @param high_quality If true, then high quality conversion will be - * used, at the expense of more CPU and memory, - * because temporary buffer needs to be created. - * @param large_filter If true, large filter size will be used. - * @param channel_count Number of channels. - * @param rate_in Clock rate of the input samples. - * @param rate_out Clock rate of the output samples. - * @param samples_per_frame Number of samples per frame in the input. - * @param p_resample Pointer to receive the resample session. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_resample_create(pj_pool_t *pool, - pj_bool_t high_quality, - pj_bool_t large_filter, - unsigned channel_count, - unsigned rate_in, - unsigned rate_out, - unsigned samples_per_frame, - pjmedia_resample **p_resample); - - -/** - * Use the resample session to resample a frame. The frame must have the - * same size and settings as the resample session, or otherwise the - * behavior is undefined. - * - * @param resample The resample session. - * @param input Buffer containing the input samples. - * @param output Buffer to store the output samples. - */ -PJ_DECL(void) pjmedia_resample_run( pjmedia_resample *resample, - const pj_int16_t *input, - pj_int16_t *output ); - - -/** - * Get the input frame size of a resample session. - * - * @param resample The resample session. - * - * @return The frame size, in number of samples. - */ -PJ_DECL(unsigned) pjmedia_resample_get_input_size(pjmedia_resample *resample); - - -/** - * Destroy the resample. - * - * @param resample The resample session. - */ -PJ_DECL(void) pjmedia_resample_destroy(pjmedia_resample *resample); - -/** - * @} - */ - -/** - * @defgroup PJMEDIA_RESAMPLE_PORT Resample Port - * @ingroup PJMEDIA_PORT - * @brief Audio sample rate conversion - * @{ - * - * This section describes media port abstraction for @ref PJMEDIA_RESAMPLE. - */ - - -/** - * Option flags that can be specified when creating resample port. - */ -enum pjmedia_resample_port_options -{ - /** - * Do not use high quality resampling algorithm, but use linear - * algorithm instead. - */ - PJMEDIA_RESAMPLE_USE_LINEAR = 1, - - /** - * Use small filter workspace when high quality resampling is - * used. - */ - PJMEDIA_RESAMPLE_USE_SMALL_FILTER = 2, - - /** - * Do not destroy downstream port when resample port is destroyed. - */ - PJMEDIA_RESAMPLE_DONT_DESTROY_DN = 4 -}; - - - -/** - * Create a resample port. This creates a bidirectional resample session, - * which will resample frames when the port's get_frame() and put_frame() - * is called. - * - * When the resample port's get_frame() is called, this port will get - * a frame from the downstream port and resample the frame to the target - * clock rate before returning it to the caller. - * - * When the resample port's put_frame() is called, this port will resample - * the frame to the downstream port's clock rate before giving the frame - * to the downstream port. - * - * @param pool Pool to allocate the structure and buffers. - * @param dn_port The downstream port, which clock rate is to - * be converted to the target clock rate. - * @param clock_rate Target clock rate. - * @param options Flags from #pjmedia_resample_port_options. - * When this flag is zero, the default behavior - * is to use high quality resampling with - * large filter, and to destroy downstream port - * when resample port is destroyed. - * @param p_port Pointer to receive the resample port instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_resample_port_create( pj_pool_t *pool, - pjmedia_port *dn_port, - unsigned clock_rate, - unsigned options, - pjmedia_port **p_port ); - - -PJ_END_DECL - -/** - * @} - */ - - -#endif /* __PJMEDIA_RESAMPLE_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/rtcp.h b/res/pjproject/pjmedia/include/pjmedia/rtcp.h deleted file mode 100644 index 9fc53657ae..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/rtcp.h +++ /dev/null @@ -1,486 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_RTCP_H__ -#define __PJMEDIA_RTCP_H__ - -/** - * @file rtcp.h - * @brief RTCP implementation. - */ - -#include -#include -#include - -PJ_BEGIN_DECL - - -/** - * @defgroup PJMED_RTCP RTCP Session and Encapsulation (RFC 3550) - * @ingroup PJMEDIA_SESSION - * @brief RTCP format and session management - * @{ - * - * PJMEDIA implements subsets of RTCP specification (RFC 3550) to monitor - * the quality of the real-time media (audio/video) transmission. In - * addition to the standard quality monitoring and reporting with RTCP - * SR and RR types, PJMEDIA's RTCP implementation is able to report - * extended statistics for incoming streams, such as packet duplications, - * reorder, discarded, and loss period (to distinguish between random - * and burst loss). - * - * The bidirectional media quality statistic is represented with - * #pjmedia_rtcp_stat structure. - * - * When application uses the stream interface (see @ref PJMED_STRM), - * application may retrieve the RTCP statistic by calling - * #pjmedia_stream_get_stat() function. - */ - - -#pragma pack(1) - -/** - * RTCP sender report. - */ -typedef struct pjmedia_rtcp_sr -{ - pj_uint32_t ntp_sec; /**< NTP time, seconds part. */ - pj_uint32_t ntp_frac; /**< NTP time, fractions part. */ - pj_uint32_t rtp_ts; /**< RTP timestamp. */ - pj_uint32_t sender_pcount; /**< Sender packet cound. */ - pj_uint32_t sender_bcount; /**< Sender octet/bytes count. */ -} pjmedia_rtcp_sr; - - -/** - * RTCP receiver report. - */ -typedef struct pjmedia_rtcp_rr -{ - pj_uint32_t ssrc; /**< SSRC identification. */ -#if defined(PJ_IS_BIG_ENDIAN) && PJ_IS_BIG_ENDIAN!=0 - pj_uint32_t fract_lost:8; /**< Fraction lost. */ - pj_uint32_t total_lost_2:8; /**< Total lost, bit 16-23. */ - pj_uint32_t total_lost_1:8; /**< Total lost, bit 8-15. */ - pj_uint32_t total_lost_0:8; /**< Total lost, bit 0-7. */ -#else - pj_uint32_t fract_lost:8; /**< Fraction lost. */ - pj_uint32_t total_lost_2:8; /**< Total lost, bit 0-7. */ - pj_uint32_t total_lost_1:8; /**< Total lost, bit 8-15. */ - pj_uint32_t total_lost_0:8; /**< Total lost, bit 16-23. */ -#endif - pj_uint32_t last_seq; /**< Last sequence number. */ - pj_uint32_t jitter; /**< Jitter. */ - pj_uint32_t lsr; /**< Last SR. */ - pj_uint32_t dlsr; /**< Delay since last SR. */ -} pjmedia_rtcp_rr; - - -/** - * RTCP common header. - */ -typedef struct pjmedia_rtcp_common -{ -#if defined(PJ_IS_BIG_ENDIAN) && PJ_IS_BIG_ENDIAN!=0 - unsigned version:2; /**< packet type */ - unsigned p:1; /**< padding flag */ - unsigned count:5; /**< varies by payload type */ - unsigned pt:8; /**< payload type */ -#else - unsigned count:5; /**< varies by payload type */ - unsigned p:1; /**< padding flag */ - unsigned version:2; /**< packet type */ - unsigned pt:8; /**< payload type */ -#endif - unsigned length:16; /**< packet length */ - pj_uint32_t ssrc; /**< SSRC identification */ -} pjmedia_rtcp_common; - - -/** - * This structure declares default RTCP packet (SR) that is sent by pjmedia. - * Incoming RTCP packet may have different format, and must be parsed - * manually by application. - */ -typedef struct pjmedia_rtcp_sr_pkt -{ - pjmedia_rtcp_common common; /**< Common header. */ - pjmedia_rtcp_sr sr; /**< Sender report. */ - pjmedia_rtcp_rr rr; /**< variable-length list */ -} pjmedia_rtcp_sr_pkt; - -/** - * This structure declares RTCP RR (Receiver Report) packet. - */ -typedef struct pjmedia_rtcp_rr_pkt -{ - pjmedia_rtcp_common common; /**< Common header. */ - pjmedia_rtcp_rr rr; /**< variable-length list */ -} pjmedia_rtcp_rr_pkt; - - -#pragma pack() - - -/** - * RTCP SDES structure. - */ -typedef struct pjmedia_rtcp_sdes -{ - pj_str_t cname; /**< RTCP SDES type CNAME. */ - pj_str_t name; /**< RTCP SDES type NAME. */ - pj_str_t email; /**< RTCP SDES type EMAIL. */ - pj_str_t phone; /**< RTCP SDES type PHONE. */ - pj_str_t loc; /**< RTCP SDES type LOC. */ - pj_str_t tool; /**< RTCP SDES type TOOL. */ - pj_str_t note; /**< RTCP SDES type NOTE. */ -} pjmedia_rtcp_sdes; - - -/** - * NTP time representation. - */ -typedef struct pjmedia_rtcp_ntp_rec -{ - pj_uint32_t hi; /**< High order 32-bit part. */ - pj_uint32_t lo; /**< Lo order 32-bit part. */ -} pjmedia_rtcp_ntp_rec; - - -/** - * Unidirectional RTP stream statistics. - */ -typedef struct pjmedia_rtcp_stream_stat -{ - pj_time_val update; /**< Time of last update. */ - unsigned update_cnt; /**< Number of updates (to calculate avg) */ - pj_uint32_t pkt; /**< Total number of packets */ - pj_uint32_t bytes; /**< Total number of payload/bytes */ - unsigned discard; /**< Total number of discarded packets. */ - unsigned loss; /**< Total number of packets lost */ - unsigned reorder; /**< Total number of out of order packets */ - unsigned dup; /**< Total number of duplicates packets */ - - pj_math_stat loss_period;/**< Loss period statistics (in usec) */ - - struct { - unsigned burst:1; /**< Burst/sequential packet lost detected */ - unsigned random:1; /**< Random packet lost detected. */ - } loss_type; /**< Types of loss detected. */ - - pj_math_stat jitter; /**< Jitter statistics (in usec) */ - -} pjmedia_rtcp_stream_stat; - - -/** - * Bidirectional RTP stream statistics. - */ -typedef struct pjmedia_rtcp_stat -{ - pj_time_val start; /**< Time when session was created */ - - pjmedia_rtcp_stream_stat tx; /**< Encoder stream statistics. */ - pjmedia_rtcp_stream_stat rx; /**< Decoder stream statistics. */ - - pj_math_stat rtt; /**< Round trip delay statistic(in usec)*/ - - pj_uint32_t rtp_tx_last_ts; /**< Last TX RTP timestamp. */ - pj_uint16_t rtp_tx_last_seq;/**< Last TX RTP sequence. */ - -#if defined(PJMEDIA_RTCP_STAT_HAS_IPDV) && PJMEDIA_RTCP_STAT_HAS_IPDV!=0 - pj_math_stat rx_ipdv;/**< Statistics of IP packet delay - variation in receiving direction - (in usec). */ -#endif - -#if defined(PJMEDIA_RTCP_STAT_HAS_RAW_JITTER) && PJMEDIA_RTCP_STAT_HAS_RAW_JITTER!=0 - pj_math_stat rx_raw_jitter;/**< Statistic of raw jitter in - receiving direction - (in usec). */ -#endif - - pjmedia_rtcp_sdes peer_sdes; /**< Peer SDES. */ - char peer_sdes_buf_[PJMEDIA_RTCP_RX_SDES_BUF_LEN]; - /**< Peer SDES buffer. */ - -} pjmedia_rtcp_stat; - - -/** - * RTCP session is used to monitor the RTP session of one endpoint. There - * should only be one RTCP session for a bidirectional RTP streams. - */ -typedef struct pjmedia_rtcp_session -{ - char *name; /**< Name identification. */ - pjmedia_rtcp_sr_pkt rtcp_sr_pkt;/**< Cached RTCP SR packet. */ - pjmedia_rtcp_rr_pkt rtcp_rr_pkt;/**< Cached RTCP RR packet. */ - - pjmedia_rtp_seq_session seq_ctrl; /**< RTCP sequence number control. */ - unsigned rtp_last_ts;/**< Last timestamp in RX RTP pkt. */ - - unsigned clock_rate; /**< Clock rate of the stream */ - unsigned pkt_size; /**< Avg pkt size, in samples. */ - pj_uint32_t received; /**< # pkt received */ - pj_uint32_t exp_prior; /**< # pkt expected at last interval*/ - pj_uint32_t rx_prior; /**< # pkt received at last interval*/ - pj_int32_t transit; /**< Rel transit time for prev pkt */ - pj_uint32_t jitter; /**< Scaled jitter */ - pj_time_val tv_base; /**< Base time, in seconds. */ - pj_timestamp ts_base; /**< Base system timestamp. */ - pj_timestamp ts_freq; /**< System timestamp frequency. */ - pj_uint32_t rtp_ts_base;/**< Base RTP timestamp. */ - - pj_uint32_t rx_lsr; /**< NTP ts in last SR received */ - pj_timestamp rx_lsr_time;/**< Time when last SR is received */ - pj_uint32_t peer_ssrc; /**< Peer SSRC */ - - pjmedia_rtcp_stat stat; /**< Bidirectional stream stat. */ - -#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) - /** - * Specify whether RTCP XR processing is enabled on this session. - */ - pj_bool_t xr_enabled; - - /** - * RTCP XR session, only valid if RTCP XR processing is enabled - * on this session. - */ - pjmedia_rtcp_xr_session xr_session; -#endif -} pjmedia_rtcp_session; - - -/** - * RTCP session settings. - */ -typedef struct pjmedia_rtcp_session_setting -{ - char *name; /**< RTCP session name. */ - unsigned clock_rate; /**< Sequence. */ - unsigned samples_per_frame; /**< Timestamp. */ - pj_uint32_t ssrc; /**< Sender SSRC. */ - pj_uint32_t rtp_ts_base; /**< Base RTP timestamp. */ -} pjmedia_rtcp_session_setting; - - -/** - * Initialize RTCP session setting. - * - * @param settings The RTCP session setting to be initialized. - */ -PJ_DECL(void) pjmedia_rtcp_session_setting_default( - pjmedia_rtcp_session_setting *settings); - - -/** - * Initialize bidirectional RTCP statistics. - * - * @param stat The bidirectional RTCP statistics. - */ -PJ_DECL(void) pjmedia_rtcp_init_stat(pjmedia_rtcp_stat *stat); - - -/** - * Initialize RTCP session. - * - * @param session The session - * @param name Optional name to identify the session (for - * logging purpose). - * @param clock_rate Codec clock rate in samples per second. - * @param samples_per_frame Average number of samples per frame. - * @param ssrc The SSRC used in to identify the session. - */ -PJ_DECL(void) pjmedia_rtcp_init( pjmedia_rtcp_session *session, - char *name, - unsigned clock_rate, - unsigned samples_per_frame, - pj_uint32_t ssrc ); - - -/** - * Initialize RTCP session. - * - * @param session The session - * @param settings The RTCP session settings. - */ -PJ_DECL(void) pjmedia_rtcp_init2(pjmedia_rtcp_session *session, - const pjmedia_rtcp_session_setting *settings); - - -/** - * Utility function to retrieve current NTP timestamp. - * - * @param sess RTCP session. - * @param ntp NTP record. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_rtcp_get_ntp_time(const pjmedia_rtcp_session *sess, - pjmedia_rtcp_ntp_rec *ntp); - - -/** - * Deinitialize RTCP session. - * - * @param session The session. - */ -PJ_DECL(void) pjmedia_rtcp_fini( pjmedia_rtcp_session *session); - - -/** - * Call this function everytime an RTP packet is received to let the RTCP - * session do its internal calculations. - * - * @param session The session. - * @param seq The RTP packet sequence number, in host byte order. - * @param ts The RTP packet timestamp, in host byte order. - * @param payload Size of the payload. - */ -PJ_DECL(void) pjmedia_rtcp_rx_rtp( pjmedia_rtcp_session *session, - unsigned seq, - unsigned ts, - unsigned payload); - - -/** - * Call this function everytime an RTP packet is received to let the RTCP - * session do its internal calculations. - * - * @param session The session. - * @param seq The RTP packet sequence number, in host byte order. - * @param ts The RTP packet timestamp, in host byte order. - * @param payload Size of the payload. - * @param discarded Flag to specify whether the packet is discarded. - */ -PJ_DECL(void) pjmedia_rtcp_rx_rtp2(pjmedia_rtcp_session *session, - unsigned seq, - unsigned ts, - unsigned payload, - pj_bool_t discarded); - - -/** - * Call this function everytime an RTP packet is sent to let the RTCP session - * do its internal calculations. - * - * @param session The session. - * @param ptsize The payload size of the RTP packet (ie packet minus - * RTP header) in bytes. - */ -PJ_DECL(void) pjmedia_rtcp_tx_rtp( pjmedia_rtcp_session *session, - unsigned ptsize ); - - -/** - * Call this function when an RTCP packet is received from remote peer. - * This RTCP packet received from remote is used to calculate the end-to- - * end delay of the network. - * - * @param session RTCP session. - * @param rtcp_pkt The received RTCP packet. - * @param size Size of the incoming packet. - */ -PJ_DECL(void) pjmedia_rtcp_rx_rtcp( pjmedia_rtcp_session *session, - const void *rtcp_pkt, - pj_size_t size); - - -/** - * Build a RTCP packet to be transmitted to remote RTP peer. This will - * create RTCP Sender Report (SR) or Receiver Report (RR) depending on - * whether the endpoint has been transmitting RTP since the last interval. - * Note that this function will reset the interval counters (such as - * the ones to calculate fraction lost) in the session. - * - * @param session The RTCP session. - * @param rtcp_pkt Upon return, it will contain pointer to the - * RTCP packet, which can be RTCP SR or RR. - * @param len Upon return, it will indicate the size of - * the RTCP packet. - */ -PJ_DECL(void) pjmedia_rtcp_build_rtcp( pjmedia_rtcp_session *session, - void **rtcp_pkt, int *len); - - -/** - * Build an RTCP SDES (source description) packet. This packet can be - * appended to other RTCP packets, e.g: RTCP RR/SR, to compose a compound - * RTCP packet. - * - * @param session The RTCP session. - * @param buf The buffer to receive RTCP SDES packet. - * @param length On input, it will contain the buffer length. - * On output, it will contain the generated RTCP SDES - * packet length. - * @param sdes The source description, see #pjmedia_rtcp_sdes. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_rtcp_build_rtcp_sdes( - pjmedia_rtcp_session *session, - void *buf, - pj_size_t *length, - const pjmedia_rtcp_sdes *sdes); - -/** - * Build an RTCP BYE packet. This packet can be appended to other RTCP - * packets, e.g: RTCP RR/SR, to compose a compound RTCP packet. - * - * @param session The RTCP session. - * @param buf The buffer to receive RTCP BYE packet. - * @param length On input, it will contain the buffer length. - * On output, it will contain the generated RTCP BYE - * packet length. - * @param reason Optional, the BYE reason. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_rtcp_build_rtcp_bye( - pjmedia_rtcp_session *session, - void *buf, - pj_size_t *length, - const pj_str_t *reason); - - -/** - * Call this function if RTCP XR needs to be enabled/disabled in the - * RTCP session. - * - * @param session The RTCP session. - * @param enable Enable/disable RTCP XR. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_rtcp_enable_xr( pjmedia_rtcp_session *session, - pj_bool_t enable); - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJMEDIA_RTCP_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/rtcp_xr.h b/res/pjproject/pjmedia/include/pjmedia/rtcp_xr.h deleted file mode 100644 index fb204852ab..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/rtcp_xr.h +++ /dev/null @@ -1,478 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_RTCP_XR_H__ -#define __PJMEDIA_RTCP_XR_H__ - -/** - * @file rtcp_xr.h - * @brief RTCP XR implementation. - */ - -#include -#include - - -PJ_BEGIN_DECL - - -/** - * @defgroup PJMED_RTCP_XR RTCP Extended Report (XR) - RFC 3611 - * @ingroup PJMEDIA_SESSION - * @brief RTCP XR extension to RTCP session - * @{ - * - * PJMEDIA implements subsets of RTCP XR specification (RFC 3611) to monitor - * the quality of the real-time media (audio/video) transmission. - */ - -/** - * Enumeration of report types of RTCP XR. Useful for user to enable varying - * combinations of RTCP XR report blocks. - */ -typedef enum { - PJMEDIA_RTCP_XR_LOSS_RLE = (1 << 0), - PJMEDIA_RTCP_XR_DUP_RLE = (1 << 1), - PJMEDIA_RTCP_XR_RCPT_TIMES = (1 << 2), - PJMEDIA_RTCP_XR_RR_TIME = (1 << 3), - PJMEDIA_RTCP_XR_DLRR = (1 << 4), - PJMEDIA_RTCP_XR_STATS = (1 << 5), - PJMEDIA_RTCP_XR_VOIP_METRICS = (1 << 6) -} pjmedia_rtcp_xr_type; - -/** - * Enumeration of info need to be updated manually to RTCP XR. Most info - * could be updated automatically each time RTP received. - */ -typedef enum { - PJMEDIA_RTCP_XR_INFO_SIGNAL_LVL = 1, - PJMEDIA_RTCP_XR_INFO_NOISE_LVL = 2, - PJMEDIA_RTCP_XR_INFO_RERL = 3, - PJMEDIA_RTCP_XR_INFO_R_FACTOR = 4, - PJMEDIA_RTCP_XR_INFO_MOS_LQ = 5, - PJMEDIA_RTCP_XR_INFO_MOS_CQ = 6, - PJMEDIA_RTCP_XR_INFO_CONF_PLC = 7, - PJMEDIA_RTCP_XR_INFO_CONF_JBA = 8, - PJMEDIA_RTCP_XR_INFO_CONF_JBR = 9, - PJMEDIA_RTCP_XR_INFO_JB_NOM = 10, - PJMEDIA_RTCP_XR_INFO_JB_MAX = 11, - PJMEDIA_RTCP_XR_INFO_JB_ABS_MAX = 12 -} pjmedia_rtcp_xr_info; - -/** - * Enumeration of PLC types definitions for RTCP XR report. - */ -typedef enum { - PJMEDIA_RTCP_XR_PLC_UNK = 0, - PJMEDIA_RTCP_XR_PLC_DIS = 1, - PJMEDIA_RTCP_XR_PLC_ENH = 2, - PJMEDIA_RTCP_XR_PLC_STD = 3 -} pjmedia_rtcp_xr_plc_type; - -/** - * Enumeration of jitter buffer types definitions for RTCP XR report. - */ -typedef enum { - PJMEDIA_RTCP_XR_JB_UNKNOWN = 0, - PJMEDIA_RTCP_XR_JB_FIXED = 2, - PJMEDIA_RTCP_XR_JB_ADAPTIVE = 3 -} pjmedia_rtcp_xr_jb_type; - - -#pragma pack(1) - -/** - * This type declares RTCP XR Report Header. - */ -typedef struct pjmedia_rtcp_xr_rb_header -{ - pj_uint8_t bt; /**< Block type. */ - pj_uint8_t specific; /**< Block specific data. */ - pj_uint16_t length; /**< Block length. */ -} pjmedia_rtcp_xr_rb_header; - -/** - * This type declares RTCP XR Receiver Reference Time Report Block. - */ -typedef struct pjmedia_rtcp_xr_rb_rr_time -{ - pjmedia_rtcp_xr_rb_header header; /**< Block header. */ - pj_uint32_t ntp_sec; /**< NTP time, seconds part. */ - pj_uint32_t ntp_frac; /**< NTP time, fractions part. */ -} pjmedia_rtcp_xr_rb_rr_time; - - -/** - * This type declares RTCP XR DLRR Report Sub-block - */ -typedef struct pjmedia_rtcp_xr_rb_dlrr_item -{ - pj_uint32_t ssrc; /**< receiver SSRC */ - pj_uint32_t lrr; /**< last receiver report */ - pj_uint32_t dlrr; /**< delay since last receiver - report */ -} pjmedia_rtcp_xr_rb_dlrr_item; - -/** - * This type declares RTCP XR DLRR Report Block - */ -typedef struct pjmedia_rtcp_xr_rb_dlrr -{ - pjmedia_rtcp_xr_rb_header header; /**< Block header. */ - pjmedia_rtcp_xr_rb_dlrr_item item; /**< Block contents, - variable length list */ -} pjmedia_rtcp_xr_rb_dlrr; - -/** - * This type declares RTCP XR Statistics Summary Report Block - */ -typedef struct pjmedia_rtcp_xr_rb_stats -{ - pjmedia_rtcp_xr_rb_header header; /**< Block header. */ - pj_uint32_t ssrc; /**< Receiver SSRC */ - pj_uint16_t begin_seq; /**< Begin RTP sequence reported */ - pj_uint16_t end_seq; /**< End RTP sequence reported */ - pj_uint32_t lost; /**< Number of packet lost in this - interval */ - pj_uint32_t dup; /**< Number of duplicated packet in - this interval */ - pj_uint32_t jitter_min; /**< Minimum jitter in this interval */ - pj_uint32_t jitter_max; /**< Maximum jitter in this interval */ - pj_uint32_t jitter_mean; /**< Average jitter in this interval */ - pj_uint32_t jitter_dev; /**< Jitter deviation in this - interval */ - pj_uint32_t toh_min:8; /**< Minimum ToH in this interval */ - pj_uint32_t toh_max:8; /**< Maximum ToH in this interval */ - pj_uint32_t toh_mean:8; /**< Average ToH in this interval */ - pj_uint32_t toh_dev:8; /**< ToH deviation in this interval */ -} pjmedia_rtcp_xr_rb_stats; - -/** - * This type declares RTCP XR VoIP Metrics Report Block - */ -typedef struct pjmedia_rtcp_xr_rb_voip_mtc -{ - pjmedia_rtcp_xr_rb_header header; /**< Block header. */ - pj_uint32_t ssrc; /**< Receiver SSRC */ - pj_uint8_t loss_rate; /**< Packet loss rate */ - pj_uint8_t discard_rate; /**< Packet discarded rate */ - pj_uint8_t burst_den; /**< Burst density */ - pj_uint8_t gap_den; /**< Gap density */ - pj_uint16_t burst_dur; /**< Burst duration */ - pj_uint16_t gap_dur; /**< Gap duration */ - pj_uint16_t rnd_trip_delay;/**< Round trip delay */ - pj_uint16_t end_sys_delay; /**< End system delay */ - pj_uint8_t signal_lvl; /**< Signal level */ - pj_uint8_t noise_lvl; /**< Noise level */ - pj_uint8_t rerl; /**< Residual Echo Return Loss */ - pj_uint8_t gmin; /**< The gap threshold */ - pj_uint8_t r_factor; /**< Voice quality metric carried - over this RTP session */ - pj_uint8_t ext_r_factor; /**< Voice quality metric carried - outside of this RTP session*/ - pj_uint8_t mos_lq; /**< Mean Opinion Score for - Listening Quality */ - pj_uint8_t mos_cq; /**< Mean Opinion Score for - Conversation Quality */ - pj_uint8_t rx_config; /**< Receiver configuration */ - pj_uint8_t reserved2; /**< Not used */ - pj_uint16_t jb_nom; /**< Current delay by jitter - buffer */ - pj_uint16_t jb_max; /**< Maximum delay by jitter - buffer */ - pj_uint16_t jb_abs_max; /**< Maximum possible delay by - jitter buffer */ -} pjmedia_rtcp_xr_rb_voip_mtc; - - -/** - * Constant of RTCP-XR content size. - */ -#define PJMEDIA_RTCP_XR_BUF_SIZE \ - sizeof(pjmedia_rtcp_xr_rb_rr_time) + \ - sizeof(pjmedia_rtcp_xr_rb_dlrr) + \ - sizeof(pjmedia_rtcp_xr_rb_stats) + \ - sizeof(pjmedia_rtcp_xr_rb_voip_mtc) - - -/** - * This structure declares RTCP XR (Extended Report) packet. - */ -typedef struct pjmedia_rtcp_xr_pkt -{ - struct { -#if defined(PJ_IS_BIG_ENDIAN) && PJ_IS_BIG_ENDIAN!=0 - unsigned version:2; /**< packet type */ - unsigned p:1; /**< padding flag */ - unsigned count:5; /**< varies by payload type */ - unsigned pt:8; /**< payload type */ -#else - unsigned count:5; /**< varies by payload type */ - unsigned p:1; /**< padding flag */ - unsigned version:2; /**< packet type */ - unsigned pt:8; /**< payload type */ -#endif - unsigned length:16; /**< packet length */ - pj_uint32_t ssrc; /**< SSRC identification */ - } common; - - pj_int8_t buf[PJMEDIA_RTCP_XR_BUF_SIZE]; - /**< Content buffer */ -} pjmedia_rtcp_xr_pkt; - -#pragma pack() - - -/** - * This structure describes RTCP XR statitic. - */ -typedef struct pjmedia_rtcp_xr_stream_stat -{ - struct { - pj_time_val update; /**< Time of last update. */ - - pj_uint32_t begin_seq; /**< Begin # seq of this interval. */ - pj_uint32_t end_seq; /**< End # seq of this interval. */ - unsigned count; /**< Number of packets. */ - - /** - * Flags represent whether the such report is valid/updated - */ - unsigned l:1; /**< Lost flag */ - unsigned d:1; /**< Duplicated flag */ - unsigned j:1; /**< Jitter flag */ - unsigned t:2; /**< TTL or Hop Limit, - 0=none, 1=TTL, 2=HL */ - - unsigned lost; /**< Number of packets lost */ - unsigned dup; /**< Number of duplicated packets */ - pj_math_stat jitter; /**< Jitter statistics (in usec) */ - pj_math_stat toh; /**< TTL of hop limit statistics. */ - } stat_sum; - - struct { - pj_time_val update; /**< Time of last update. */ - - pj_uint8_t loss_rate; /**< Packet loss rate */ - pj_uint8_t discard_rate; /**< Packet discarded rate */ - pj_uint8_t burst_den; /**< Burst density */ - pj_uint8_t gap_den; /**< Gap density */ - pj_uint16_t burst_dur; /**< Burst duration */ - pj_uint16_t gap_dur; /**< Gap duration */ - pj_uint16_t rnd_trip_delay; /**< Round trip delay */ - pj_uint16_t end_sys_delay; /**< End system delay */ - pj_int8_t signal_lvl; /**< Signal level */ - pj_int8_t noise_lvl; /**< Noise level */ - pj_uint8_t rerl; /**< Residual Echo Return Loss */ - pj_uint8_t gmin; /**< The gap threshold */ - pj_uint8_t r_factor; /**< Voice quality metric carried - over this RTP session */ - pj_uint8_t ext_r_factor; /**< Voice quality metric carried - outside of this RTP session*/ - pj_uint8_t mos_lq; /**< Mean Opinion Score for - Listening Quality */ - pj_uint8_t mos_cq; /**< Mean Opinion Score for - Conversation Quality */ - pj_uint8_t rx_config; /**< Receiver configuration */ - pj_uint16_t jb_nom; /**< Current delay by jitter - buffer */ - pj_uint16_t jb_max; /**< Maximum delay by jitter - buffer */ - pj_uint16_t jb_abs_max; /**< Maximum possible delay by - jitter buffer */ - } voip_mtc; - -} pjmedia_rtcp_xr_stream_stat; - -typedef struct pjmedia_rtcp_xr_stat -{ - pjmedia_rtcp_xr_stream_stat rx; /**< Decoding direction statistics. */ - pjmedia_rtcp_xr_stream_stat tx; /**< Encoding direction statistics. */ - pj_math_stat rtt; /**< Round-trip delay stat (in usec) - the value is calculated from - receiver side. */ -} pjmedia_rtcp_xr_stat; - -/** - * Forward declaration of RTCP session - */ -struct pjmedia_rtcp_session; - -/** - * RTCP session is used to monitor the RTP session of one endpoint. There - * should only be one RTCP session for a bidirectional RTP streams. - */ -struct pjmedia_rtcp_xr_session -{ - char *name; /**< Name identification. */ - pjmedia_rtcp_xr_pkt pkt; /**< Cached RTCP XR packet. */ - - pj_uint32_t rx_lrr; /**< NTP ts in last RR received. */ - pj_timestamp rx_lrr_time;/**< Time when last RR is received. */ - pj_uint32_t rx_last_rr; /**< # pkt received since last - sending RR time. */ - - pjmedia_rtcp_xr_stat stat; /**< RTCP XR statistics. */ - - /* The reference sequence number is an extended sequence number - * that serves as the basis for determining whether a new 16 bit - * sequence number comes earlier or later in the 32 bit sequence - * space. - */ - pj_uint32_t src_ref_seq; - pj_bool_t uninitialized_src_ref_seq; - - /* This structure contains variables needed for calculating - * burst metrics. - */ - struct { - pj_uint32_t pkt; - pj_uint32_t lost; - pj_uint32_t loss_count; - pj_uint32_t discard_count; - pj_uint32_t c11; - pj_uint32_t c13; - pj_uint32_t c14; - pj_uint32_t c22; - pj_uint32_t c23; - pj_uint32_t c33; - } voip_mtc_stat; - - unsigned ptime; /**< Packet time. */ - unsigned frames_per_packet; /**< # frames per packet. */ - - struct pjmedia_rtcp_session *rtcp_session; - /**< Parent/RTCP session. */ -}; - -typedef struct pjmedia_rtcp_xr_session pjmedia_rtcp_xr_session; - -/** - * Build an RTCP XR packet which contains one or more RTCP XR report blocks. - * There are seven report types as defined in RFC 3611. - * - * @param session The RTCP XR session. - * @param rpt_types Report types to be included in the packet, report types - * are defined in pjmedia_rtcp_xr_type, set this to zero - * will make this function build all reports appropriately. - * @param rtcp_pkt Upon return, it will contain pointer to the RTCP XR packet. - * @param len Upon return, it will indicate the size of the generated - * RTCP XR packet. - */ -PJ_DECL(void) pjmedia_rtcp_build_rtcp_xr( pjmedia_rtcp_xr_session *session, - unsigned rpt_types, - void **rtcp_pkt, int *len); - -/** - * Call this function to manually update some info needed by RTCP XR to - * generate report which could not be populated directly when receiving - * RTP. - * - * @param session The RTCP XR session. - * @param info Info type to be updated, @see pjmedia_rtcp_xr_info. - * @param val Value. - */ -PJ_DECL(pj_status_t) pjmedia_rtcp_xr_update_info( - pjmedia_rtcp_xr_session *session, - unsigned info, - pj_int32_t val); - -/* - * Private APIs: - */ - -/** - * This function is called internally by RTCP session when RTCP XR is enabled - * to initialize the RTCP XR session. - * - * @param session RTCP XR session. - * @param r_session RTCP session. - * @param gmin Gmin value (defined in RFC 3611), set to 0 for default (16). - * @param frames_per_packet - Number of frames per packet. - */ -void pjmedia_rtcp_xr_init( pjmedia_rtcp_xr_session *session, - struct pjmedia_rtcp_session *r_session, - pj_uint8_t gmin, - unsigned frames_per_packet); - -/** - * This function is called internally by RTCP session to destroy - * the RTCP XR session. - * - * @param session RTCP XR session. - */ -void pjmedia_rtcp_xr_fini( pjmedia_rtcp_xr_session *session ); - -/** - * This function is called internally by RTCP session when it receives - * incoming RTCP XR packets. - * - * @param session RTCP XR session. - * @param rtcp_pkt The received RTCP XR packet. - * @param size Size of the incoming packet. - */ -void pjmedia_rtcp_xr_rx_rtcp_xr( pjmedia_rtcp_xr_session *session, - const void *rtcp_pkt, - pj_size_t size); - -/** - * This function is called internally by RTCP session whenever an RTP packet - * is received or lost to let the RTCP XR session update its statistics. - * Data passed to this function is a result of analyzation by RTCP and the - * jitter buffer. Whenever some info is available, the value should be zero - * or more (no negative info), otherwise if info is not available the info - * should be -1 so no update will be done for this info in the RTCP XR session. - * - * @param session RTCP XR session. - * @param seq Sequence number of RTP packet. - * @param lost Info if this packet is lost. - * @param dup Info if this packet is a duplication. - * @param discarded Info if this packet is discarded - * (not because of duplication). - * @param jitter Info jitter of this packet. - * @param toh Info Time To Live or Hops Limit of this packet. - * @param toh_ipv4 Set PJ_TRUE if packet is transported over IPv4. - */ -void pjmedia_rtcp_xr_rx_rtp( pjmedia_rtcp_xr_session *session, - unsigned seq, - int lost, - int dup, - int discarded, - int jitter, - int toh, pj_bool_t toh_ipv4); - -/** - * This function is called internally by RTCP session whenever an RTP - * packet is sent to let the RTCP XR session do its internal calculations. - * - * @param session RTCP XR session. - * @param ptsize Size of RTP payload being sent. - */ -void pjmedia_rtcp_xr_tx_rtp( pjmedia_rtcp_xr_session *session, - unsigned ptsize ); - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJMEDIA_RTCP_XR_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/rtp.h b/res/pjproject/pjmedia/include/pjmedia/rtp.h deleted file mode 100644 index 66983d8176..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/rtp.h +++ /dev/null @@ -1,394 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_RTP_H__ -#define __PJMEDIA_RTP_H__ - - -/** - * @file rtp.h - * @brief RTP packet and RTP session declarations. - */ -#include - - -PJ_BEGIN_DECL - - -/** - * @defgroup PJMED_RTP RTP Session and Encapsulation (RFC 3550) - * @ingroup PJMEDIA_SESSION - * @brief RTP format and session management - * @{ - * - * The RTP module is designed to be dependent only to PJLIB, it does not depend - * on any other parts of PJMEDIA library. The RTP module does not even depend - * on any transports (sockets), to promote even more use, such as in DSP - * development (where transport may be handled by different processor). - * - * An RTCP implementation is available, in separate module. Please see - * @ref PJMED_RTCP. - * - * The functions that are provided by this module: - * - creating RTP header for each outgoing packet. - * - decoding RTP packet into RTP header and payload. - * - provide simple RTP session management (sequence number, etc.) - * - * The RTP module does not use any dynamic memory at all. - * - * \section P1 How to Use the RTP Module - * - * First application must call #pjmedia_rtp_session_init() to initialize the RTP - * session. - * - * When application wants to send RTP packet, it needs to call - * #pjmedia_rtp_encode_rtp() to build the RTP header. Note that this WILL NOT build - * the complete RTP packet, but instead only the header. Application can - * then either concatenate the header with the payload, or send the two - * fragments (the header and the payload) using scatter-gather transport API - * (e.g. \a sendv()). - * - * When application receives an RTP packet, first it should call - * #pjmedia_rtp_decode_rtp to decode RTP header and payload, then it should call - * #pjmedia_rtp_session_update to check whether we can process the RTP payload, - * and to let the RTP session updates its internal status. The decode function - * is guaranteed to point the payload to the correct position regardless of - * any options present in the RTP packet. - * - */ - -#ifdef _MSC_VER -# pragma warning(disable:4214) // bit field types other than int -#endif - - -/** - * RTP packet header. Note that all RTP functions here will work with this - * header in network byte order. - */ -#pragma pack(1) -struct pjmedia_rtp_hdr -{ -#if defined(PJ_IS_BIG_ENDIAN) && (PJ_IS_BIG_ENDIAN!=0) - pj_uint16_t v:2; /**< packet type/version */ - pj_uint16_t p:1; /**< padding flag */ - pj_uint16_t x:1; /**< extension flag */ - pj_uint16_t cc:4; /**< CSRC count */ - pj_uint16_t m:1; /**< marker bit */ - pj_uint16_t pt:7; /**< payload type */ -#else - pj_uint16_t cc:4; /**< CSRC count */ - pj_uint16_t x:1; /**< header extension flag */ - pj_uint16_t p:1; /**< padding flag */ - pj_uint16_t v:2; /**< packet type/version */ - pj_uint16_t pt:7; /**< payload type */ - pj_uint16_t m:1; /**< marker bit */ -#endif - pj_uint16_t seq; /**< sequence number */ - pj_uint32_t ts; /**< timestamp */ - pj_uint32_t ssrc; /**< synchronization source */ -}; -#pragma pack() - -/** - * @see pjmedia_rtp_hdr - */ -typedef struct pjmedia_rtp_hdr pjmedia_rtp_hdr; - - -/** - * RTP extendsion header. - */ -struct pjmedia_rtp_ext_hdr -{ - pj_uint16_t profile_data; /**< Profile data. */ - pj_uint16_t length; /**< Length. */ -}; - -/** - * @see pjmedia_rtp_ext_hdr - */ -typedef struct pjmedia_rtp_ext_hdr pjmedia_rtp_ext_hdr; - - -#pragma pack(1) - -/** - * Declaration for DTMF telephony-events (RFC2833). - */ -struct pjmedia_rtp_dtmf_event -{ - pj_uint8_t event; /**< Event type ID. */ - pj_uint8_t e_vol; /**< Event volume. */ - pj_uint16_t duration; /**< Event duration. */ -}; - -/** - * @see pjmedia_rtp_dtmf_event - */ -typedef struct pjmedia_rtp_dtmf_event pjmedia_rtp_dtmf_event; - -#pragma pack() - - -/** - * A generic sequence number management, used by both RTP and RTCP. - */ -struct pjmedia_rtp_seq_session -{ - pj_uint16_t max_seq; /**< Highest sequence number heard */ - pj_uint32_t cycles; /**< Shifted count of seq number cycles */ - pj_uint32_t base_seq; /**< Base seq number */ - pj_uint32_t bad_seq; /**< Last 'bad' seq number + 1 */ - pj_uint32_t probation; /**< Sequ. packets till source is valid */ -}; - -/** - * @see pjmedia_rtp_seq_session - */ -typedef struct pjmedia_rtp_seq_session pjmedia_rtp_seq_session; - - -/** - * RTP session descriptor. - */ -struct pjmedia_rtp_session -{ - pjmedia_rtp_hdr out_hdr; /**< Saved hdr for outgoing pkts. */ - pjmedia_rtp_seq_session seq_ctrl; /**< Sequence number management. */ - pj_uint16_t out_pt; /**< Default outgoing payload type. */ - pj_uint32_t out_extseq; /**< Outgoing extended seq #. */ - pj_uint32_t peer_ssrc; /**< Peer SSRC. */ - pj_uint32_t received; /**< Number of received packets. */ -}; - -/** - * @see pjmedia_rtp_session - */ -typedef struct pjmedia_rtp_session pjmedia_rtp_session; - - -/** - * This structure is used to receive additional information about the - * state of incoming RTP packet. - */ -struct pjmedia_rtp_status -{ - union { - struct flag { - int bad:1; /**< General flag to indicate that sequence is - bad, and application should not process - this packet. More information will be given - in other flags. */ - int badpt:1; /**< Bad payload type. */ - int badssrc:1; /**< Bad SSRC */ - int dup:1; /**< Indicates duplicate packet */ - int outorder:1; /**< Indicates out of order packet */ - int probation:1;/**< Indicates that session is in probation - until more packets are received. */ - int restart:1; /**< Indicates that sequence number has made - a large jump, and internal base sequence - number has been adjusted. */ - } flag; /**< Status flags. */ - - pj_uint16_t value; /**< Status value, to conveniently address all - flags. */ - - } status; /**< Status information union. */ - - pj_uint16_t diff; /**< Sequence number difference from previous - packet. Normally the value should be 1. - Value greater than one may indicate packet - loss. If packet with lower sequence is - received, the value will be set to zero. - If base sequence has been restarted, the - value will be one. */ -}; - - -/** - * RTP session settings. - */ -typedef struct pjmedia_rtp_session_setting -{ - pj_uint8_t flags; /**< Bitmask flags to specify whether such - field is set. Bitmask contents are: - (bit #0 is LSB) - bit #0: default payload type - bit #1: sender SSRC - bit #2: sequence - bit #3: timestamp */ - int default_pt; /**< Default payload type. */ - pj_uint32_t sender_ssrc; /**< Sender SSRC. */ - pj_uint16_t seq; /**< Sequence. */ - pj_uint32_t ts; /**< Timestamp. */ -} pjmedia_rtp_session_setting; - - -/** - * @see pjmedia_rtp_status - */ -typedef struct pjmedia_rtp_status pjmedia_rtp_status; - - -/** - * This function will initialize the RTP session according to given parameters. - * - * @param ses The session. - * @param default_pt Default payload type. - * @param sender_ssrc SSRC used for outgoing packets, in host byte order. - * - * @return PJ_SUCCESS if successfull. - */ -PJ_DECL(pj_status_t) pjmedia_rtp_session_init( pjmedia_rtp_session *ses, - int default_pt, - pj_uint32_t sender_ssrc ); - -/** - * This function will initialize the RTP session according to given parameters - * defined in RTP session settings. - * - * @param ses The session. - * @param settings RTP session settings. - * - * @return PJ_SUCCESS if successfull. - */ -PJ_DECL(pj_status_t) pjmedia_rtp_session_init2( - pjmedia_rtp_session *ses, - pjmedia_rtp_session_setting settings); - - -/** - * Create the RTP header based on arguments and current state of the RTP - * session. - * - * @param ses The session. - * @param pt Payload type. - * @param m Marker flag. - * @param payload_len Payload length in bytes. - * @param ts_len Timestamp length. - * @param rtphdr Upon return will point to RTP packet header. - * @param hdrlen Upon return will indicate the size of RTP packet header - * - * @return PJ_SUCCESS if successfull. - */ -PJ_DECL(pj_status_t) pjmedia_rtp_encode_rtp( pjmedia_rtp_session *ses, - int pt, int m, - int payload_len, int ts_len, - const void **rtphdr, - int *hdrlen ); - -/** - * This function decodes incoming packet into RTP header and payload. - * The decode function is guaranteed to point the payload to the correct - * position regardless of any options present in the RTP packet. - * - * Note that this function does not modify the returned RTP header to - * host byte order. - * - * @param ses The session. - * @param pkt The received RTP packet. - * @param pkt_len The length of the packet. - * @param hdr Upon return will point to the location of the RTP - * header inside the packet. Note that the RTP header - * will be given back as is, meaning that the fields - * will be in network byte order. - * @param payload Upon return will point to the location of the - * payload inside the packet. - * @param payloadlen Upon return will indicate the size of the payload. - * - * @return PJ_SUCCESS if successfull. - */ -PJ_DECL(pj_status_t) pjmedia_rtp_decode_rtp( pjmedia_rtp_session *ses, - const void *pkt, int pkt_len, - const pjmedia_rtp_hdr **hdr, - const void **payload, - unsigned *payloadlen); - -/** - * Call this function everytime an RTP packet is received to check whether - * the packet can be received and to let the RTP session performs its internal - * calculations. - * - * @param ses The session. - * @param hdr The RTP header of the incoming packet. The header must - * be given with fields in network byte order. - * @param seq_st Optional structure to receive the status of the RTP packet - * processing. - */ -PJ_DECL(void) pjmedia_rtp_session_update( pjmedia_rtp_session *ses, - const pjmedia_rtp_hdr *hdr, - pjmedia_rtp_status *seq_st); - - -/** - * Call this function everytime an RTP packet is received to check whether - * the packet can be received and to let the RTP session performs its internal - * calculations. - * - * @param ses The session. - * @param hdr The RTP header of the incoming packet. The header must - * be given with fields in network byte order. - * @param seq_st Optional structure to receive the status of the RTP packet - * processing. - * @param check_pt Flag to indicate whether payload type needs to be validate. - * - * @see pjmedia_rtp_session_update() - */ -PJ_DECL(void) pjmedia_rtp_session_update2(pjmedia_rtp_session *ses, - const pjmedia_rtp_hdr *hdr, - pjmedia_rtp_status *seq_st, - pj_bool_t check_pt); - - -/* - * INTERNAL: - */ - -/** - * Internal function for creating sequence number control, shared by RTCP - * implementation. - * - * @param seq_ctrl The sequence control instance. - * @param seq Sequence number to initialize. - */ -void pjmedia_rtp_seq_init(pjmedia_rtp_seq_session *seq_ctrl, - pj_uint16_t seq); - - -/** - * Internal function update sequence control, shared by RTCP implementation. - * - * @param seq_ctrl The sequence control instance. - * @param seq Sequence number to update. - * @param seq_status Optional structure to receive additional information - * about the packet. - */ -void pjmedia_rtp_seq_update( pjmedia_rtp_seq_session *seq_ctrl, - pj_uint16_t seq, - pjmedia_rtp_status *seq_status); - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJMEDIA_RTP_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/sdp.h b/res/pjproject/pjmedia/include/pjmedia/sdp.h deleted file mode 100644 index c3f67823ca..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/sdp.h +++ /dev/null @@ -1,736 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_SDP_H__ -#define __PJMEDIA_SDP_H__ - -/** - * @file sdp.h - * @brief SDP header file. - */ -#include -#include - -/** - * @defgroup PJMEDIA_SDP SDP Parsing and Data Structure - * @ingroup PJMEDIA_SESSION - * @brief SDP data structure representation and parsing - * @{ - * - * The basic SDP session descriptor and elements are described in header - * file . This file contains declaration for - * SDP session descriptor and SDP media descriptor, along with their - * attributes. This file also declares functions to parse SDP message. - */ - - -PJ_BEGIN_DECL - -/** - * The PJMEDIA_MAX_SDP_FMT macro defines maximum format in a media line. - */ -#ifndef PJMEDIA_MAX_SDP_FMT -# define PJMEDIA_MAX_SDP_FMT 32 -#endif - -/** - * The PJMEDIA_MAX_SDP_BANDW macro defines maximum bandwidth information - * lines in a media line. - */ -#ifndef PJMEDIA_MAX_SDP_BANDW -# define PJMEDIA_MAX_SDP_BANDW 4 -#endif - -/** - * The PJMEDIA_MAX_SDP_ATTR macro defines maximum SDP attributes in media and - * session descriptor. - */ -#ifndef PJMEDIA_MAX_SDP_ATTR -# define PJMEDIA_MAX_SDP_ATTR (PJMEDIA_MAX_SDP_FMT*2 + 4) -#endif - -/** - * The PJMEDIA_MAX_SDP_MEDIA macro defines maximum SDP media lines in a - * SDP session descriptor. - */ -#ifndef PJMEDIA_MAX_SDP_MEDIA -# define PJMEDIA_MAX_SDP_MEDIA 16 -#endif - - -/* ************************************************************************** - * SDP ATTRIBUTES - *************************************************************************** - */ - -/** - * Generic representation of attribute. - */ -struct pjmedia_sdp_attr -{ - pj_str_t name; /**< Attribute name. */ - pj_str_t value; /**< Attribute value. */ -}; - -/** - * @see pjmedia_sdp_attr - */ -typedef struct pjmedia_sdp_attr pjmedia_sdp_attr; - - -/** - * Create SDP attribute. - * - * @param pool Pool to create the attribute. - * @param name Attribute name. - * @param value Optional attribute value. - * - * @return The new SDP attribute. - */ -PJ_DECL(pjmedia_sdp_attr*) pjmedia_sdp_attr_create(pj_pool_t *pool, - const char *name, - const pj_str_t *value); - -/** - * Clone attribute - * - * @param pool Pool to be used. - * @param attr The attribute to clone. - * - * @return New attribute as cloned from the attribute. - */ -PJ_DECL(pjmedia_sdp_attr*) pjmedia_sdp_attr_clone(pj_pool_t *pool, - const pjmedia_sdp_attr*attr); - -/** - * Find the first attribute with the specified type. - * - * @param count Number of attributes in the array. - * @param attr_array Array of attributes. - * @param name Attribute name to find. - * @param fmt Optional string to indicate which payload format - * to find for \a rtpmap and \a fmt attributes. For other - * types of attributes, the value should be NULL. - * - * @return The specified attribute, or NULL if it can't be found. - * - * @see pjmedia_sdp_attr_find2, pjmedia_sdp_media_find_attr, - * pjmedia_sdp_media_find_attr2 - */ -PJ_DECL(pjmedia_sdp_attr*) -pjmedia_sdp_attr_find(unsigned count, - pjmedia_sdp_attr *const attr_array[], - const pj_str_t *name, const pj_str_t *fmt); - -/** - * Find the first attribute with the specified type. - * - * @param count Number of attributes in the array. - * @param attr_array Array of attributes. - * @param name Attribute name to find. - * @param fmt Optional string to indicate which payload format - * to find for \a rtpmap and \a fmt attributes. For other - * types of attributes, the value should be NULL. - * - * @return The specified attribute, or NULL if it can't be found. - * - * @see pjmedia_sdp_attr_find, pjmedia_sdp_media_find_attr, - * pjmedia_sdp_media_find_attr2 - */ -PJ_DECL(pjmedia_sdp_attr*) -pjmedia_sdp_attr_find2(unsigned count, - pjmedia_sdp_attr *const attr_array[], - const char *name, const pj_str_t *fmt); - -/** - * Add a new attribute to array of attributes. - * - * @param count Number of attributes in the array. - * @param attr_array Array of attributes. - * @param attr The attribute to add. - * - * @return PJ_SUCCESS or the error code. - * - * @see pjmedia_sdp_media_add_attr - */ -PJ_DECL(pj_status_t) pjmedia_sdp_attr_add(unsigned *count, - pjmedia_sdp_attr *attr_array[], - pjmedia_sdp_attr *attr); - -/** - * Remove all attributes with the specified name in array of attributes. - * - * @param count Number of attributes in the array. - * @param attr_array Array of attributes. - * @param name Attribute name to find. - * - * @return Number of attributes removed. - * - * @see pjmedia_sdp_media_remove_all_attr - */ -PJ_DECL(unsigned) pjmedia_sdp_attr_remove_all(unsigned *count, - pjmedia_sdp_attr *attr_array[], - const char *name); - - -/** - * Remove the specified attribute from the attribute array. - * - * @param count Number of attributes in the array. - * @param attr_array Array of attributes. - * @param attr The attribute instance to remove. - * - * @return PJ_SUCCESS when attribute has been removed, or - * PJ_ENOTFOUND when the attribute can not be found. - * - * @see pjmedia_sdp_media_remove_attr - */ -PJ_DECL(pj_status_t) pjmedia_sdp_attr_remove(unsigned *count, - pjmedia_sdp_attr *attr_array[], - pjmedia_sdp_attr *attr); - - -/** - * This structure declares SDP \a rtpmap attribute. - */ -struct pjmedia_sdp_rtpmap -{ - pj_str_t pt; /**< Payload type. */ - pj_str_t enc_name; /**< Encoding name. */ - unsigned clock_rate; /**< Clock rate. */ - pj_str_t param; /**< Parameter. */ -}; - -/** - * @see pjmedia_sdp_rtpmap - */ -typedef struct pjmedia_sdp_rtpmap pjmedia_sdp_rtpmap; - - -/** - * Convert generic attribute to SDP \a rtpmap. This function allocates - * a new attribute and call #pjmedia_sdp_attr_get_rtpmap(). - * - * @param pool Pool used to create the rtpmap attribute. - * @param attr Generic attribute to be converted to rtpmap, which - * name must be "rtpmap". - * @param p_rtpmap Pointer to receive SDP rtpmap attribute. - * - * @return PJ_SUCCESS if the attribute can be successfully - * converted to \a rtpmap type. - * - * @see pjmedia_sdp_attr_get_rtpmap - */ -PJ_DECL(pj_status_t) pjmedia_sdp_attr_to_rtpmap(pj_pool_t *pool, - const pjmedia_sdp_attr *attr, - pjmedia_sdp_rtpmap **p_rtpmap); - - -/** - * Get the rtpmap representation of the same SDP attribute. - * - * @param attr Generic attribute to be converted to rtpmap, which - * name must be "rtpmap". - * @param rtpmap SDP \a rtpmap attribute to be initialized. - * - * @return PJ_SUCCESS if the attribute can be successfully - * converted to \a rtpmap attribute. - * - * @see pjmedia_sdp_attr_to_rtpmap - */ -PJ_DECL(pj_status_t) pjmedia_sdp_attr_get_rtpmap(const pjmedia_sdp_attr *attr, - pjmedia_sdp_rtpmap *rtpmap); - - -/** - * Convert \a rtpmap attribute to generic attribute. - * - * @param pool Pool to be used. - * @param rtpmap The \a rtpmap attribute. - * @param p_attr Pointer to receive the generic SDP attribute. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_sdp_rtpmap_to_attr( pj_pool_t *pool, - const pjmedia_sdp_rtpmap *rtpmap, - pjmedia_sdp_attr **p_attr); - - -/** - * This structure describes SDP \a fmtp attribute. - */ -typedef struct pjmedia_sdp_fmtp -{ - pj_str_t fmt; /**< Format type. */ - pj_str_t fmt_param; /**< Format specific parameter. */ -} pjmedia_sdp_fmtp; - - -/** - * Get the fmtp representation of the same SDP attribute. - * - * @param attr Generic attribute to be converted to fmtp, which - * name must be "fmtp". - * @param fmtp SDP fmtp attribute to be initialized. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_sdp_attr_get_fmtp(const pjmedia_sdp_attr *attr, - pjmedia_sdp_fmtp *fmtp); - - -/** - * This structure describes SDP \a rtcp attribute. - */ -typedef struct pjmedia_sdp_rtcp_attr -{ - unsigned port; /**< RTCP port number. */ - pj_str_t net_type; /**< Optional network type. */ - pj_str_t addr_type; /**< Optional address type. */ - pj_str_t addr; /**< Optional address. */ -} pjmedia_sdp_rtcp_attr; - - -/** - * Parse a generic SDP attribute to get SDP rtcp attribute values. - * - * @param attr Generic attribute to be converted to rtcp, which - * name must be "rtcp". - * @param rtcp SDP rtcp attribute to be initialized. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_sdp_attr_get_rtcp(const pjmedia_sdp_attr *attr, - pjmedia_sdp_rtcp_attr *rtcp); - - -/** - * Create a=rtcp attribute. - * - * @param pool Pool to create the attribute. - * @param a Socket address. - * - * @return SDP RTCP attribute. - */ -PJ_DECL(pjmedia_sdp_attr*) pjmedia_sdp_attr_create_rtcp(pj_pool_t *pool, - const pj_sockaddr *a); - - -/* ************************************************************************** - * SDP CONNECTION INFO - **************************************************************************** - */ - -/** - * This structure describes SDP connection info ("c=" line). - */ -struct pjmedia_sdp_conn -{ - pj_str_t net_type; /**< Network type ("IN"). */ - pj_str_t addr_type; /**< Address type ("IP4", "IP6"). */ - pj_str_t addr; /**< The address. */ -}; - - -/** - * @see pjmedia_sdp_conn - */ -typedef struct pjmedia_sdp_conn pjmedia_sdp_conn; - - -/** - * Clone connection info. - * - * @param pool Pool to allocate memory for the new connection info. - * @param rhs The connection into to clone. - * - * @return The new connection info. - */ -PJ_DECL(pjmedia_sdp_conn*) pjmedia_sdp_conn_clone(pj_pool_t *pool, - const pjmedia_sdp_conn *rhs); - - -/** - * Compare connection info. - * - * @param conn1 The first connection info to compare. - * @param conn1 The second connection info to compare. - * @param option Comparison option, which should be zero for now. - * - * @return PJ_SUCCESS when both connection info are equal, otherwise - * returns PJMEDIA_SDP_ECONNNOTEQUAL. - */ -PJ_DECL(pj_status_t) pjmedia_sdp_conn_cmp(const pjmedia_sdp_conn *conn1, - const pjmedia_sdp_conn *conn2, - unsigned option); - - -/* ************************************************************************** - * SDP BANDWIDTH INFO - **************************************************************************** - */ - -/** - * This structure describes SDP bandwidth info ("b=" line). - */ -typedef struct pjmedia_sdp_bandw -{ - pj_str_t modifier; /**< Bandwidth modifier. */ - pj_uint32_t value; /**< Bandwidth value. */ -} pjmedia_sdp_bandw; - - -/** - * Clone bandwidth info. - * - * @param pool Pool to allocate memory for the new bandwidth info. - * @param rhs The bandwidth into to clone. - * - * @return The new bandwidth info. - */ -PJ_DECL(pjmedia_sdp_bandw*) -pjmedia_sdp_bandw_clone(pj_pool_t *pool, const pjmedia_sdp_bandw *rhs); - - - -/* ************************************************************************** - * SDP MEDIA INFO/LINE - **************************************************************************** - */ - -/** - * This structure describes SDP media descriptor. A SDP media descriptor - * starts with "m=" line and contains the media attributes and optional - * connection line. - */ -struct pjmedia_sdp_media -{ - /** Media descriptor line ("m=" line) */ - struct - { - pj_str_t media; /**< Media type ("audio", "video") */ - pj_uint16_t port; /**< Port number. */ - unsigned port_count; /**< Port count, used only when >2 */ - pj_str_t transport; /**< Transport ("RTP/AVP") */ - unsigned fmt_count; /**< Number of formats. */ - pj_str_t fmt[PJMEDIA_MAX_SDP_FMT]; /**< Media formats. */ - } desc; - - pjmedia_sdp_conn *conn; /**< Optional connection info. */ - unsigned bandw_count; /**< Number of bandwidth info. */ - pjmedia_sdp_bandw *bandw[PJMEDIA_MAX_SDP_BANDW]; /**< Bandwidth info. */ - unsigned attr_count; /**< Number of attributes. */ - pjmedia_sdp_attr *attr[PJMEDIA_MAX_SDP_ATTR]; /**< Attributes. */ - -}; - - -/** - * @see pjmedia_sdp_media - */ -typedef struct pjmedia_sdp_media pjmedia_sdp_media; - - -/** - * Clone SDP media description. - * - * @param pool Pool to allocate memory for the new media description. - * @param rhs The media descriptin to clone. - * - * @return New media description. - */ -PJ_DECL(pjmedia_sdp_media*) -pjmedia_sdp_media_clone( pj_pool_t *pool, - const pjmedia_sdp_media *rhs); - -/** - * Find the first occurence of the specified attribute name in the media - * descriptor. Optionally the format may be specified. - * - * @param m The SDP media description. - * @param name Attribute name to find. - * @param fmt Optional payload type to match in the - * attribute list, when the attribute is \a rtpmap - * or \a fmtp. For other types of SDP attributes, this - * value should be NULL. - * - * @return The first instance of the specified attribute or NULL. - */ -PJ_DECL(pjmedia_sdp_attr*) -pjmedia_sdp_media_find_attr(const pjmedia_sdp_media *m, - const pj_str_t *name, const pj_str_t *fmt); - - -/** - * Find the first occurence of the specified attribute name in the SDP media - * descriptor. Optionally the format may be specified. - * - * @param m The SDP media description. - * @param name Attribute name to find. - * @param fmt Optional payload type to match in the - * attribute list, when the attribute is \a rtpmap - * or \a fmtp. For other types of SDP attributes, this - * value should be NULL. - * - * @return The first instance of the specified attribute or NULL. - */ -PJ_DECL(pjmedia_sdp_attr*) -pjmedia_sdp_media_find_attr2(const pjmedia_sdp_media *m, - const char *name, const pj_str_t *fmt); - -/** - * Add new attribute to the media descriptor. - * - * @param m The SDP media description. - * @param attr Attribute to add. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_sdp_media_add_attr(pjmedia_sdp_media *m, - pjmedia_sdp_attr *attr); - -/** - * Remove all attributes with the specified name from the SDP media - * descriptor. - * - * @param m The SDP media description. - * @param name Attribute name to remove. - * - * @return The number of attributes removed. - */ -PJ_DECL(unsigned) -pjmedia_sdp_media_remove_all_attr(pjmedia_sdp_media *m, - const char *name); - - -/** - * Remove the occurence of the specified attribute from the SDP media - * descriptor. - * - * @param m The SDP media descriptor. - * @param attr The attribute to find and remove. - * - * @return PJ_SUCCESS if the attribute can be found and has - * been removed from the array. - */ -PJ_DECL(pj_status_t) -pjmedia_sdp_media_remove_attr(pjmedia_sdp_media *m, - pjmedia_sdp_attr *attr); - - -/** - * Compare two SDP media for equality. - * - * @param sd1 The first SDP media to compare. - * @param sd2 The second SDP media to compare. - * @param option Comparison option, which should be zero for now. - * - * @return PJ_SUCCESS when both SDP medias are equal, or the - * appropriate status code describing which part of - * the descriptors that are not equal. - */ -PJ_DECL(pj_status_t) pjmedia_sdp_media_cmp(const pjmedia_sdp_media *sd1, - const pjmedia_sdp_media *sd2, - unsigned option); - - -/** - * Compare two media transports for compatibility. - * - * @param t1 The first media transport to compare. - * @param t2 The second media transport to compare. - * - * @return PJ_SUCCESS when both media transports are compatible, - * otherwise returns PJMEDIA_SDP_ETPORTNOTEQUAL. - */ -PJ_DECL(pj_status_t) pjmedia_sdp_transport_cmp(const pj_str_t *t1, - const pj_str_t *t2); - - -/** - * Deactivate SDP media. - * - * @param pool Memory pool to allocate memory from. - * @param m The SDP media to deactivate. - * - * @return PJ_SUCCESS when SDP media successfully deactivated, - * otherwise appropriate status code returned. - */ -PJ_DECL(pj_status_t) pjmedia_sdp_media_deactivate(pj_pool_t *pool, - pjmedia_sdp_media *m); - - -/** - * Clone SDP media description and deactivate the new SDP media. - * - * @param pool Memory pool to allocate memory for the clone. - * @param rhs The SDP media to clone. - * - * @return New media descrption with deactivated indication. - */ -PJ_DECL(pjmedia_sdp_media*) pjmedia_sdp_media_clone_deactivate( - pj_pool_t *pool, - const pjmedia_sdp_media *rhs); - - -/* ************************************************************************** - * SDP SESSION DESCRIPTION - **************************************************************************** - */ - - -/** - * This structure describes SDP session description. A SDP session descriptor - * contains complete information about a session, and normally is exchanged - * with remote media peer using signaling protocol such as SIP. - */ -struct pjmedia_sdp_session -{ - /** Session origin (o= line) */ - struct - { - pj_str_t user; /**< User */ - pj_uint32_t id; /**< Session ID */ - pj_uint32_t version; /**< Session version */ - pj_str_t net_type; /**< Network type ("IN") */ - pj_str_t addr_type; /**< Address type ("IP4", "IP6") */ - pj_str_t addr; /**< The address. */ - } origin; - - pj_str_t name; /**< Subject line (s=) */ - pjmedia_sdp_conn *conn; /**< Connection line (c=) */ - unsigned bandw_count; /**< Number of bandwidth info (b=) */ - pjmedia_sdp_bandw *bandw[PJMEDIA_MAX_SDP_BANDW]; - /**< Bandwidth info array (b=) */ - - /** Session time (t= line) */ - struct - { - pj_uint32_t start; /**< Start time. */ - pj_uint32_t stop; /**< Stop time. */ - } time; - - unsigned attr_count; /**< Number of attributes. */ - pjmedia_sdp_attr *attr[PJMEDIA_MAX_SDP_ATTR]; /**< Attributes array. */ - - unsigned media_count; /**< Number of media. */ - pjmedia_sdp_media *media[PJMEDIA_MAX_SDP_MEDIA]; /**< Media array. */ - -}; - -/** - * @see pjmedia_sdp_session - */ -typedef struct pjmedia_sdp_session pjmedia_sdp_session; - - - -/** - * Parse SDP message. - * - * @param pool The pool to allocate SDP session description. - * @param buf The message buffer. - * @param len The length of the message. - * @param p_sdp Pointer to receive the SDP session descriptor. - * - * @return PJ_SUCCESS if message was successfully parsed into - * SDP session descriptor. - */ -PJ_DECL(pj_status_t) pjmedia_sdp_parse( pj_pool_t *pool, - char *buf, pj_size_t len, - pjmedia_sdp_session **p_sdp ); - -/** - * Print SDP description to a buffer. - * - * @param sdp The SDP session description. - * @param buf The buffer. - * @param size The buffer length. - * - * @return the length printed, or -1 if the buffer is too - * short. - */ -PJ_DECL(int) pjmedia_sdp_print( const pjmedia_sdp_session *sdp, - char *buf, pj_size_t size); - - -/** - * Perform semantic validation for the specified SDP session descriptor. - * This function perform validation beyond just syntactic verification, - * such as to verify the value of network type and address type, check - * the connection line, and verify that \a rtpmap attribute is present - * when dynamic payload type is used. - * - * @param sdp The SDP session descriptor to validate. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_sdp_validate(const pjmedia_sdp_session *sdp); - - -/** - * Clone SDP session descriptor. - * - * @param pool The pool used to clone the session. - * @param sdp The SDP session to clone. - * - * @return New SDP session. - */ -PJ_DECL(pjmedia_sdp_session*) -pjmedia_sdp_session_clone( pj_pool_t *pool, - const pjmedia_sdp_session *sdp); - - -/** - * Compare two SDP session for equality. - * - * @param sd1 The first SDP session to compare. - * @param sd2 The second SDP session to compare. - * @param option Must be zero for now. - * - * @return PJ_SUCCESS when both SDPs are equal, or otherwise - * the status code indicates which part of the session - * descriptors are not equal. - */ -PJ_DECL(pj_status_t) pjmedia_sdp_session_cmp(const pjmedia_sdp_session *sd1, - const pjmedia_sdp_session *sd2, - unsigned option); - - -/** - * Add new attribute to the session descriptor. - * - * @param s The SDP session description. - * @param attr Attribute to add. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_sdp_session_add_attr(pjmedia_sdp_session *s, - pjmedia_sdp_attr *attr); - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJMEDIA_SDP_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/sdp_neg.h b/res/pjproject/pjmedia/include/pjmedia/sdp_neg.h deleted file mode 100644 index bc8c52cbc6..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/sdp_neg.h +++ /dev/null @@ -1,765 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_SDP_NEG_H__ -#define __PJMEDIA_SDP_NEG_H__ - - -/** - * @file sdp_neg.h - * @brief SDP negotiator header file. - */ -/** - * @defgroup PJMEDIA_SDP_NEG SDP Negotiation State Machine (Offer/Answer Model, RFC 3264) - * @ingroup PJMEDIA_SESSION - * @brief SDP Negotiation State Machine (Offer/Answer Model, RFC 3264) - * @{ - * - * The header file contains the declaration - * of SDP offer and answer negotiator. SDP offer and answer model is described - * in RFC 3264 "An Offer/Answer Model with Session Description Protocol - * (SDP)". - * - * The SDP negotiator is represented with opaque type \a pjmedia_sdp_neg. - * This structure contains negotiation state and several SDP session - * descriptors currently being used in the negotiation. - * - * - * \section sdpneg_state_dia SDP Negotiator State Diagram - * - * The following diagram describes the state transition diagram of the - * SDP negotiator. - * - *
- *                                              
- *                                              modify_local_offer()
- *     create_w_local_offer()  +-------------+  send_local_offer()
- *     ----------------------->| LOCAL_OFFER |<-----------------------
- *    |                        +-------------+______                  |
- *    |                               |             \______ cancel()  |
- *    |           set_remote_answer() |                    \______    |
- *    |                               V                            \  |
- * +--+---+                     +-----------+     negotiate()     +-~----+
- * | NULL |                     | WAIT_NEGO |-------------------->| DONE |
- * +------+                     +-----------+                     +------+
- *    |                               A                               |
- *    |            set_local_answer() |                               |
- *    |                               |                               |
- *    |                        +--------------+   set_remote_offer()  |
- *     ----------------------->| REMOTE_OFFER |<----------------------
- *     create_w_remote_offer() +--------------+
- *
- * 
- * - * - * - * \section sdpneg_offer_answer SDP Offer/Answer Model with Negotiator - * - * \subsection sdpneg_create_offer Creating Initial Offer - * - * Application creates an offer by manualy building the SDP session descriptor - * (pjmedia_sdp_session), or request PJMEDIA endpoint (pjmedia_endpt) to - * create SDP session descriptor based on capabilities that present in the - * endpoint by calling #pjmedia_endpt_create_sdp(). - * - * Application then creates SDP negotiator instance by calling - * #pjmedia_sdp_neg_create_w_local_offer(), passing the SDP offer in the - * function arguments. The SDP negotiator keeps a copy of current local offer, - * and update its state to PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER. - * - * Application can then send the initial SDP offer that it creates to - * remote peer using signaling protocol such as SIP. - * - * - * \subsection sdpneg_subseq_offer Generating Subsequent Offer - * - * The negotiator can only create subsequent offer after it has finished - * the negotiation process of previous offer/answer session (i.e. the - * negotiator state is PJMEDIA_SDP_NEG_STATE_DONE). - * - * If any previous negotiation process was successfull (i.e. the return - * value of #pjmedia_sdp_neg_negotiate() was PJ_SUCCESS), the negotiator - * keeps both active local and active remote SDP. - * - * If application does not want send modified offer, it can just send - * the active local SDP as the offer. In this case, application calls - * #pjmedia_sdp_neg_send_local_offer() to get the active local SDP. - * - * If application wants to modify it's local offer, it MUST inform - * the negotiator about the modified SDP by calling - * #pjmedia_sdp_neg_modify_local_offer(). - * - * In both cases, the negotiator will internally create a copy of the offer, - * and move it's state to PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER, where it - * waits until application passes the remote answer. - * - * - * \subsection sdpneg_receive_offer Receiving Initial Offer - * - * Application receives an offer in the incoming request from remote to - * establish multimedia session, such as incoming INVITE message with SDP - * body. - * - * Initially, when the initial offer is received, application creates the - * SDP negotiator by calling #pjmedia_sdp_neg_create_w_remote_offer(), - * specifying the remote SDP offer in one of the argument. - * - * At this stage, application may or may not ready to create an answer. - * For example, a SIP B2BUA needs to make outgoing call and receive SDP - * from the outgoing call leg in order to create a SDP answer to the - * incoming call leg. - * - * If application is not ready to create an answer, it passes NULL as - * the local SDP when it calls #pjmedia_sdp_neg_create_w_remote_offer(). - * - * The section @ref sdpneg_create_answer describes the case when - * application is ready to create a SDP answer. - * - * - * \subsection sdpneg_subseq_offer Receiving Subsequent Offer - * - * Application passes subsequent SDP offer received from remote by - * calling #pjmedia_sdp_neg_set_remote_offer(). - * - * The negotiator can only receive subsequent offer after it has finished - * the negotiation process of previous offer/answer session (i.e. the - * negotiator state is PJMEDIA_SDP_NEG_STATE_DONE). - * - * - * \subsection sdpneg_recv_answer Receiving SDP Answer - * - * When application receives SDP answer from remote, it informs the - * negotiator by calling #pjmedia_sdp_neg_set_remote_answer(). The - * negotiator validates the answer (#pjmedia_sdp_validate()), and if - * succeeds, it moves it's state to PJMEDIA_SDP_NEG_STATE_WAIT_NEGO. - * - * Application then instruct the negotiator to negotiate the remote - * answer by calling #pjmedia_sdp_neg_negotiate(). The purpose of - * this negotiation is to verify remote answer, and update the initial - * offer according to the answer. For example, the initial offer may - * specify that a stream is \a sendrecv, while the answer specifies - * that remote stream is \a inactive. In this case, the negotiator - * will update the stream in the local active media as \a inactive - * too. - * - * If #pjmedia_sdp_neg_negotiate() returns PJ_SUCCESS, the negotiator will - * keep the updated local answer and remote answer internally. These two - * SDPs are called active local SDP and active remote SDP, as it describes - * currently active session. - * - * Application can retrieve the active local SDP by calling - * #pjmedia_sdp_neg_get_active_local(), and active remote SDP by calling - * #pjmedia_sdp_neg_get_active_remote(). - * - * If #pjmedia_sdp_neg_negotiate() returns failure (i.e. not PJ_SUCCESS), - * it WILL NOT update its active local and active remote SDP. - * - * Regardless of the return status of the #pjmedia_sdp_neg_negotiate(), - * the negotiator state will move to PJMEDIA_SDP_NEG_STATE_DONE. - * - * - * \subsection sdpneg_cancel_offer Cancelling an Offer - * - * In other case, after an offer is generated (negotiator state is in - * PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER), the answer may not be received, and - * application wants the negotiator to reset itself to its previous state. - * Consider this example: - * - * - media has been established, and negotiator state is - * PJMEDIA_SDP_NEG_STATE_DONE. - * - application generates a new offer for re-INVITE, so in this case - * it would either call #pjmedia_sdp_neg_send_local_offer() or - * #pjmedia_sdp_neg_modify_local_offer() - * - the negotiator state moves to PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER - * - the re-INVITE was rejected with an error - * - * Since an answer is not received, it is necessary to reset the negotiator - * state back to PJMEDIA_SDP_NEG_STATE_DONE so that the negotiator can - * create or receive new offer. - * - * This can be accomplished by calling #pjmedia_sdp_neg_cancel_offer(), - * to reset the negotiator state back to PJMEDIA_SDP_NEG_STATE_DONE. In - * this case, both active local and active remote will not be modified. - * - * \subsection sdpneg_create_answer Generating SDP Answer - * - * After remote offer has been set in the negotiator, application can - * request the SDP negotiator to generate appropriate answer based on local - * capability. - * - * To do this, first the application MUST have an SDP describing its local - * capabilities. This SDP can be built manually, or application can generate - * SDP to describe local media endpoint capability by calling - * #pjmedia_endpt_create_sdp(). When the application is a SIP B2BUA, - * application can treat the SDP received from the outgoing call leg as if - * it was it's local capability. - * - * The local SDP session descriptor DOES NOT have to match the SDP offer. - * For example, it can have more or less media lines than the offer, or - * their order may be different than the offer. The negotiator is capable - * to match and reorder local SDP according to remote offer, and create - * an answer that is suitable for the offer. - * - * After local SDP capability has been acquired, application can create - * a SDP answer. - * - * If application does not already have the negotiator instance, it creates - * one by calling #pjmedia_sdp_neg_create_w_remote_offer(), specifying - * both remote SDP offer and local SDP as the arguments. The SDP negotiator - * validates both remote and local SDP by calling #pjmedia_sdp_validate(), - * and if both SDPs are valid, the negotiator state will move to - * PJMEDIA_SDP_NEG_STATE_WAIT_NEGO where it is ready to negotiate the - * offer and answer. - * - * If application already has the negotiator instance, it sets the local - * SDP in the negotiator by calling #pjmedia_sdp_neg_set_local_answer(). - * The SDP negotiator then validates local SDP (#pjmedia_sdp_validate() ), - * and if it is valid, the negotiator state will move to - * PJMEDIA_SDP_NEG_STATE_WAIT_NEGO where it is ready to negotiate the - * offer and answer. - * - * After the SDP negotiator state has moved to PJMEDIA_SDP_NEG_STATE_WAIT_NEGO, - * application calls #pjmedia_sdp_neg_negotiate() to instruct the SDP - * negotiator to negotiate both offer and answer. This function returns - * PJ_SUCCESS if an answer can be generated AND at least one media stream - * is active in the session. - * - * If #pjmedia_sdp_neg_negotiate() returns PJ_SUCCESS, the negotiator will - * keep the remote offer and local answer internally. These two SDPs are - * called active local SDP and active remote SDP, as it describes currently - * active session. - * - * Application can retrieve the active local SDP by calling - * #pjmedia_sdp_neg_get_active_local(), and send this SDP to remote as the - * SDP answer. - * - * If #pjmedia_sdp_neg_negotiate() returns failure (i.e. not PJ_SUCCESS), - * it WILL NOT update its active local and active remote SDP. - * - * Regardless of the return status of the #pjmedia_sdp_neg_negotiate(), - * the negotiator state will move to PJMEDIA_SDP_NEG_STATE_DONE. - * - * - */ - -#include - -PJ_BEGIN_DECL - -/** - * This enumeration describes SDP negotiation state. - */ -enum pjmedia_sdp_neg_state -{ - /** - * This is the state of SDP negoator before it is initialized. - */ - PJMEDIA_SDP_NEG_STATE_NULL, - - /** - * This state occurs when SDP negotiator has sent our offer to remote and - * it is waiting for answer. - */ - PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER, - - /** - * This state occurs when SDP negotiator has received offer from remote - * and currently waiting for local answer. - */ - PJMEDIA_SDP_NEG_STATE_REMOTE_OFFER, - - /** - * This state occurs when an offer (either local or remote) has been - * provided with answer. The SDP negotiator is ready to negotiate both - * session descriptors. Application can call #pjmedia_sdp_neg_negotiate() - * immediately to begin negotiation process. - */ - PJMEDIA_SDP_NEG_STATE_WAIT_NEGO, - - /** - * This state occurs when SDP negotiation has completed, either - * successfully or not. - */ - PJMEDIA_SDP_NEG_STATE_DONE -}; - - -/** - * @see pjmedia_sdp_neg_state - */ -typedef enum pjmedia_sdp_neg_state pjmedia_sdp_neg_state; - - -/** - * Opaque declaration of SDP negotiator. - */ -typedef struct pjmedia_sdp_neg pjmedia_sdp_neg; - - -/** - * Get the state string description of the specified state. - * - * @param state Negotiator state. - * - * @return String description of the state. - */ -PJ_DECL(const char*) pjmedia_sdp_neg_state_str(pjmedia_sdp_neg_state state); - - -/** - * Create the SDP negotiator with local offer. The SDP negotiator then - * will move to PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER state, where it waits - * until it receives answer from remote. When SDP answer from remote is - * received, application must call #pjmedia_sdp_neg_set_remote_answer(). - * - * After calling this function, application should send the local SDP offer - * to remote party using signaling protocol such as SIP and wait for SDP - * answer. - * - * @param pool Pool to allocate memory. The pool's lifetime needs - * to be valid for the duration of the negotiator. - * @param local The initial local capability. - * @param p_neg Pointer to receive the negotiator instance. - * - * @return PJ_SUCCESS on success, or the appropriate error - * code. - */ -PJ_DECL(pj_status_t) -pjmedia_sdp_neg_create_w_local_offer( pj_pool_t *pool, - const pjmedia_sdp_session *local, - pjmedia_sdp_neg **p_neg); - -/** - * Initialize the SDP negotiator with remote offer, and optionally - * specify the initial local capability, if known. Application normally - * calls this function when it receives initial offer from remote. - * - * If local media capability is specified, this capability will be set as - * initial local capability of the negotiator, and after this function is - * called, the SDP negotiator state will move to state - * PJMEDIA_SDP_NEG_STATE_WAIT_NEGO, and the negotiation function can be - * called. - * - * If local SDP is not specified, the negotiator will not have initial local - * capability, and after this function is called the negotiator state will - * move to PJMEDIA_SDP_NEG_STATE_REMOTE_OFFER state. Application MUST supply - * local answer later with #pjmedia_sdp_neg_set_local_answer(), before - * calling the negotiation function. - * - * @param pool Pool to allocate memory. The pool's lifetime needs - * to be valid for the duration of the negotiator. - * @param initial Optional initial local capability. - * @param remote The remote offer. - * @param p_neg Pointer to receive the negotiator instance. - * - * @return PJ_SUCCESS on success, or the appropriate error - * code. - */ -PJ_DECL(pj_status_t) -pjmedia_sdp_neg_create_w_remote_offer(pj_pool_t *pool, - const pjmedia_sdp_session *initial, - const pjmedia_sdp_session *remote, - pjmedia_sdp_neg **p_neg); - -/** - * This specifies the behavior of the SDP negotiator when responding to an - * offer, whether it should rather use the codec preference as set by - * remote, or should it rather use the codec preference as specified by - * local endpoint. - * - * For example, suppose incoming call has codec order "8 0 3", while - * local codec order is "3 0 8". If remote codec order is preferable, - * the selected codec will be 8, while if local codec order is preferable, - * the selected codec will be 3. - * - * By default, the value in PJMEDIA_SDP_NEG_PREFER_REMOTE_CODEC_ORDER will - * be used. - * - * @param neg The SDP negotiator instance. - * @param prefer_remote If non-zero, the negotiator will use the codec - * order as specified in remote offer. If zero, it - * will prefer to use the local codec order. - */ -PJ_DECL(pj_status_t) -pjmedia_sdp_neg_set_prefer_remote_codec_order(pjmedia_sdp_neg *neg, - pj_bool_t prefer_remote); - - -/** - * Get SDP negotiator state. - * - * @param neg The SDP negotiator instance. - * - * @return The negotiator state. - */ -PJ_DECL(pjmedia_sdp_neg_state) -pjmedia_sdp_neg_get_state( pjmedia_sdp_neg *neg ); - -/** - * Get the currently active local SDP. Application can only call this - * function after negotiation has been done, or otherwise there won't be - * active SDPs. Calling this function will not change the state of the - * negotiator. - * - * @param neg The SDP negotiator instance. - * @param local Pointer to receive the local active SDP. - * - * @return PJ_SUCCESS if local active SDP is present. - */ -PJ_DECL(pj_status_t) -pjmedia_sdp_neg_get_active_local( pjmedia_sdp_neg *neg, - const pjmedia_sdp_session **local); - -/** - * Get the currently active remote SDP. Application can only call this - * function after negotiation has been done, or otherwise there won't be - * active SDPs. Calling this function will not change the state of the - * negotiator. - * - * @param neg The SDP negotiator instance. - * @param remote Pointer to receive the remote active SDP. - * - * @return PJ_SUCCESS if remote active SDP is present. - */ -PJ_DECL(pj_status_t) -pjmedia_sdp_neg_get_active_remote( pjmedia_sdp_neg *neg, - const pjmedia_sdp_session **remote); - - -/** - * Determine whether remote sent answer (as opposed to offer) on the - * last negotiation. This function can only be called in state - * PJMEDIA_SDP_NEG_STATE_DONE. - * - * @param neg The SDP negotiator instance. - * - * @return Non-zero if it was remote who sent answer, - * otherwise zero if it was local who supplied - * answer. - */ -PJ_DECL(pj_bool_t) -pjmedia_sdp_neg_was_answer_remote(pjmedia_sdp_neg *neg); - - -/** - * Get the current remote SDP offer or answer. Application can only - * call this function in state PJMEDIA_SDP_NEG_STATE_REMOTE_OFFER or - * PJMEDIA_SDP_NEG_STATE_WAIT_NEGO, or otherwise there won't be remote - * SDP offer/answer. Calling this function will not change the state - * of the negotiator. - * - * @param neg The SDP negotiator instance. - * @param remote Pointer to receive the current remote offer or - * answer. - * - * @return PJ_SUCCESS if the negotiator currently has - * remote offer or answer. - */ -PJ_DECL(pj_status_t) -pjmedia_sdp_neg_get_neg_remote( pjmedia_sdp_neg *neg, - const pjmedia_sdp_session **remote); - - -/** - * Get the current local SDP offer or answer. Application can only - * call this function in state PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER or - * PJMEDIA_SDP_NEG_STATE_WAIT_NEGO, or otherwise there won't be local - * SDP offer/answer. Calling this function will not change the state - * of the negotiator. - * - * @param neg The SDP negotiator instance. - * @param local Pointer to receive the current local offer or - * answer. - * - * @return PJ_SUCCESS if the negotiator currently has - * local offer or answer. - */ -PJ_DECL(pj_status_t) -pjmedia_sdp_neg_get_neg_local( pjmedia_sdp_neg *neg, - const pjmedia_sdp_session **local); - -/** - * Modify local session with a new SDP and treat this as a new offer. - * This function can only be called in state PJMEDIA_SDP_NEG_STATE_DONE. - * After calling this function, application can send the SDP as offer - * to remote party, using signaling protocol such as SIP. - * The negotiator state will move to PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER, - * where it waits for SDP answer from remote. - * - * @param pool Pool to allocate memory. The pool's lifetime needs - * to be valid for the duration of the negotiator. - * @param neg The SDP negotiator instance. - * @param local The new local SDP. - * - * @return PJ_SUCCESS on success, or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) -pjmedia_sdp_neg_modify_local_offer( pj_pool_t *pool, - pjmedia_sdp_neg *neg, - const pjmedia_sdp_session *local); - -/** - * This function can only be called in PJMEDIA_SDP_NEG_STATE_DONE state. - * Application calls this function to retrieve currently active - * local SDP, and then send the SDP to remote as an offer. The negotiator - * state will then move to PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER, where it waits - * for SDP answer from remote. - * - * When SDP answer has been received from remote, application must call - * #pjmedia_sdp_neg_set_remote_answer(). - * - * @param pool Pool to allocate memory. The pool's lifetime needs - * to be valid for the duration of the negotiator. - * @param neg The SDP negotiator instance. - * @param offer Pointer to receive active local SDP to be - * offered to remote. - * - * @return PJ_SUCCESS if local offer can be created. - */ -PJ_DECL(pj_status_t) -pjmedia_sdp_neg_send_local_offer( pj_pool_t *pool, - pjmedia_sdp_neg *neg, - const pjmedia_sdp_session **offer); - -/** - * This function can only be called in PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER - * state, i.e. after application calls #pjmedia_sdp_neg_send_local_offer() - * function. Application calls this function when it receives SDP answer - * from remote. After this function is called, the negotiator state will - * move to PJMEDIA_SDP_NEG_STATE_WAIT_NEGO, and application can call the - * negotiation function #pjmedia_sdp_neg_negotiate(). - * - * @param pool Pool to allocate memory. The pool's lifetime needs - * to be valid for the duration of the negotiator. - * @param neg The SDP negotiator instance. - * @param remote The remote answer. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_sdp_neg_set_remote_answer( pj_pool_t *pool, - pjmedia_sdp_neg *neg, - const pjmedia_sdp_session *remote); - - - -/** - * This function can only be called in PJMEDIA_SDP_NEG_STATE_DONE state. - * Application calls this function when it receives SDP offer from remote. - * After this function is called, the negotiator state will move to - * PJMEDIA_SDP_NEG_STATE_REMOTE_OFFER, and application MUST call the - * #pjmedia_sdp_neg_set_local_answer() to set local answer before it can - * call the negotiation function. - * - * @param pool Pool to allocate memory. The pool's lifetime needs - * to be valid for the duration of the negotiator. - * @param neg The SDP negotiator instance. - * @param remote The remote offer. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_sdp_neg_set_remote_offer( pj_pool_t *pool, - pjmedia_sdp_neg *neg, - const pjmedia_sdp_session *remote); - - - -/** - * This function can only be called in PJMEDIA_SDP_NEG_STATE_REMOTE_OFFER - * state, i.e. after application calls #pjmedia_sdp_neg_set_remote_offer() - * function. After this function is called, the negotiator state will - * move to PJMEDIA_SDP_NEG_STATE_WAIT_NEGO, and application can call the - * negotiation function #pjmedia_sdp_neg_negotiate(). - * - * @param pool Pool to allocate memory. The pool's lifetime needs - * to be valid for the duration of the negotiator. - * @param neg The SDP negotiator instance. - * @param local Optional local answer. If negotiator has initial - * local capability, application can specify NULL on - * this argument; in this case, the negotiator will - * create answer by by negotiating remote offer with - * initial local capability. If negotiator doesn't have - * initial local capability, application MUST specify - * local answer here. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_sdp_neg_set_local_answer( pj_pool_t *pool, - pjmedia_sdp_neg *neg, - const pjmedia_sdp_session *local); - - -/** - * Call this function when the negotiator is in PJMEDIA_SDP_NEG_STATE_WAIT_NEGO - * state to see if it was local who is answering the offer (instead of - * remote). - * - * @param neg The negotiator. - * - * @return PJ_TRUE if it is local is answering an offer, PJ_FALSE - * if remote has answered local offer. - */ -PJ_DECL(pj_bool_t) pjmedia_sdp_neg_has_local_answer(pjmedia_sdp_neg *neg); - - -/** - * Cancel any pending offer, whether the offer is initiated by local or - * remote, and move negotiator state back to previous stable state - * (PJMEDIA_SDP_NEG_STATE_DONE). The negotiator must be in - * PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER or PJMEDIA_SDP_NEG_STATE_REMOTE_OFFER - * state. - * - * @param neg The negotiator. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_sdp_neg_cancel_offer(pjmedia_sdp_neg *neg); - - -/** - * Negotiate local and remote answer. Before calling this function, the - * SDP negotiator must be in PJMEDIA_SDP_NEG_STATE_WAIT_NEGO state. - * After calling this function, the negotiator state will move to - * PJMEDIA_SDP_NEG_STATE_DONE regardless whether the negotiation has - * been successfull or not. - * - * If the negotiation succeeds (i.e. the return value is PJ_SUCCESS), - * the active local and remote SDP will be replaced with the new SDP - * from the negotiation process. - * - * If the negotiation fails, the active local and remote SDP will not - * change. - * - * @param pool Pool to allocate memory. The pool's lifetime needs - * to be valid for the duration of the negotiator. - * @param neg The SDP negotiator instance. - * @param allow_asym Should be zero. - * - * @return PJ_SUCCESS when there is at least one media - * is actuve common in both offer and answer, or - * failure code when negotiation has failed. - */ -PJ_DECL(pj_status_t) pjmedia_sdp_neg_negotiate( pj_pool_t *pool, - pjmedia_sdp_neg *neg, - pj_bool_t allow_asym); - - -/** - * Enumeration of customized SDP format matching option flags. See - * #pjmedia_sdp_neg_register_fmt_match_cb() for more info. - */ -typedef enum pjmedia_sdp_neg_fmt_match_flag -{ - /** - * In generating answer, the SDP fmtp in the answer candidate may need - * to be modified by the customized SDP format matching callback to - * achieve flexible SDP negotiation, e.g: AMR fmtp 'octet-align' field - * can be adjusted with the offer when the codec implementation support - * both packetization modes octet-aligned and bandwidth-efficient. - */ - PJMEDIA_SDP_NEG_FMT_MATCH_ALLOW_MODIFY_ANSWER = 1, - -} pjmedia_sdp_neg_fmt_match_flag; - - -/** - * The declaration of customized SDP format matching callback. See - * #pjmedia_sdp_neg_register_fmt_match_cb() for more info. - * - * @param pool The memory pool. - * @param offer The SDP media offer. - * @param o_fmt_idx Index of the format in the SDP media offer. - * @param answer The SDP media answer. - * @param a_fmt_idx Index of the format in the SDP media answer. - * @param option The format matching option, see - * #pjmedia_sdp_neg_fmt_match_flag. - * - * @return PJ_SUCCESS when the formats in offer and answer match. - */ -typedef pj_status_t (*pjmedia_sdp_neg_fmt_match_cb)(pj_pool_t *pool, - pjmedia_sdp_media *offer, - unsigned o_fmt_idx, - pjmedia_sdp_media *answer, - unsigned a_fmt_idx, - unsigned option); - - -/** - * Register customized SDP format matching callback function for the specified - * format. The customized SDP format matching is needed when the format - * identification in a media stream session cannot be simply determined by - * encoding name and clock rate, but also involves one or more format specific - * parameters, which are specified in SDP fmtp attribute. For example, - * an H.264 video stream is also identified by profile, level, and - * packetization-mode parameters. As those parameters are format specifics, - * the negotiation must be done by the format or codec implementation. - * - * To unregister the callback of specific format, just call this function with - * parameter #cb set to NULL. - * - * @param fmt_name The format name, e.g: "H.264", "AMR", "G7221". Note - * that the string buffer must remain valid until the - * callback is unregistered. - * @param cb The customized SDP format negotiation callback or - * NULL to unregister the specified format callback. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_sdp_neg_register_fmt_match_cb( - const pj_str_t *fmt_name, - pjmedia_sdp_neg_fmt_match_cb cb); - - -/** - * Match format in the SDP media offer and answer. The matching mechanism - * will be done by comparing the encoding name and clock rate, and if the - * custom format matching callback for the specified format is registered, - * see #pjmedia_sdp_neg_register_fmt_match_cb(), it will be called for more - * detail verification, e.g: format parameters specified in SDP fmtp. - * - * @param pool The memory pool. - * @param offer The SDP media offer. - * @param o_fmt_idx Index of the format in the SDP media offer. - * @param answer The SDP media answer. - * @param a_fmt_idx Index of the format in the SDP media answer. - * @param option The format matching option, see - * #pjmedia_sdp_neg_fmt_match_flag. - * - * @return PJ_SUCCESS when the formats in offer and answer match. - */ -PJ_DECL(pj_status_t) pjmedia_sdp_neg_fmt_match( pj_pool_t *pool, - pjmedia_sdp_media *offer, - unsigned o_fmt_idx, - pjmedia_sdp_media *answer, - unsigned a_fmt_idx, - unsigned option); - - -PJ_END_DECL - -/** - * @} - */ - - -#endif /* __PJMEDIA_SDP_NEG_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/session.h b/res/pjproject/pjmedia/include/pjmedia/session.h deleted file mode 100644 index 44238c5639..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/session.h +++ /dev/null @@ -1,436 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_SESSION_H__ -#define __PJMEDIA_SESSION_H__ - - -/** - * @file session.h - * @brief Media Session. - */ - -#include -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJMEDIA_SESSION Media Sessions - * @brief Management of media sessions - * @{ - * - * A media session represents multimedia communication between two - * parties. A media session represents the multimedia session that - * is described by SDP session descriptor. A media session consists - * of one or more media streams (pjmedia_stream), where each stream - * represents one media line (m= line) in SDP. - * - * This module provides functions to create and manage multimedia - * sessions. - * - * Application creates the media session by calling #pjmedia_session_create(), - * normally after it has completed negotiating both SDP offer and answer. - * The session creation function creates the media session (including - * media streams) based on the content of local and remote SDP. - */ - - -/** - * Session info, retrieved from a session by calling - * #pjmedia_session_get_info(). - */ -struct pjmedia_session_info -{ - /** Number of streams. */ - unsigned stream_cnt; - - /** Individual stream info. */ - pjmedia_stream_info stream_info[PJMEDIA_MAX_SDP_MEDIA]; -}; - - -/** - * Opaque declaration of media session. - */ -typedef struct pjmedia_session pjmedia_session; - - -/** - * @see pjmedia_session_info. - */ -typedef struct pjmedia_session_info pjmedia_session_info; - - -/** - * This function will initialize the session info based on information - * in both SDP session descriptors. The remaining information will be - * taken from default codec parameters. If socket info array is specified, - * the socket will be copied to the session info as well. - * - * @param pool Pool to allocate memory. - * @param endpt Pjmedia endpoint. - * @param max_streams Maximum number of stream infos to be created. - * @param si Session info structure to be initialized. - * @param local Local SDP session descriptor. - * @param remote Remote SDP session descriptor. - * - * @return PJ_SUCCESS if stream info is successfully initialized. - */ -PJ_DECL(pj_status_t) -pjmedia_session_info_from_sdp( pj_pool_t *pool, - pjmedia_endpt *endpt, - unsigned max_streams, - pjmedia_session_info *si, - const pjmedia_sdp_session *local, - const pjmedia_sdp_session *remote); - - -/** - * This function will initialize the stream info based on information - * in both SDP session descriptors for the specified stream index. - * The remaining information will be taken from default codec parameters. - * If socket info array is specified, the socket will be copied to the - * session info as well. - * - * @param si Stream info structure to be initialized. - * @param pool Pool to allocate memory. - * @param endpt PJMEDIA endpoint instance. - * @param local Local SDP session descriptor. - * @param remote Remote SDP session descriptor. - * @param stream_idx Media stream index in the session descriptor. - * - * @return PJ_SUCCESS if stream info is successfully initialized. - */ -PJ_DECL(pj_status_t) -pjmedia_stream_info_from_sdp( pjmedia_stream_info *si, - pj_pool_t *pool, - pjmedia_endpt *endpt, - const pjmedia_sdp_session *local, - const pjmedia_sdp_session *remote, - unsigned stream_idx); - -/** - * Create media session based on the local and remote SDP. After the session - * has been created, application normally would want to get the media port - * interface of each streams, by calling #pjmedia_session_get_port(). The - * media port interface exports put_frame() and get_frame() function, used - * to transmit and receive media frames from the stream. - * - * Without application calling put_frame() and get_frame(), there will be - * no media frames transmitted or received by the session. - * - * @param endpt The PJMEDIA endpoint instance. - * @param si Session info containing stream count and array of - * stream info. The stream count indicates how many - * streams to be created in the session. - * @param transports Array of media stream transports, with - * sufficient number of elements (one for each stream). - * @param user_data Arbitrary user data to be kept in the session. - * @param p_session Pointer to receive the media session. - * - * @return PJ_SUCCESS if media session can be created - * successfully. - */ -PJ_DECL(pj_status_t) -pjmedia_session_create( pjmedia_endpt *endpt, - const pjmedia_session_info *si, - pjmedia_transport *transports[], - void *user_data, - pjmedia_session **p_session ); - - -/** - * Get media session info of the session. - * - * @param session The session which info is being queried. - * @param info Pointer to receive session info. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_session_get_info( pjmedia_session *session, - pjmedia_session_info *info ); - -/** - * Get user data of the session. - * - * @param session The session being queried. - * - * @return User data of the session. - */ -PJ_DECL(void*) pjmedia_session_get_user_data( pjmedia_session *session); - - -/** - * Activate all streams in media session for the specified direction. - * Application only needs to call this function if it previously paused - * the session. - * - * @param session The media session. - * @param dir The direction to activate. - * - * @return PJ_SUCCESS if success. - */ -PJ_DECL(pj_status_t) pjmedia_session_resume(pjmedia_session *session, - pjmedia_dir dir); - - -/** - * Suspend receipt and transmission of all streams in media session - * for the specified direction. - * - * @param session The media session. - * @param dir The media direction to suspend. - * - * @return PJ_SUCCESS if success. - */ -PJ_DECL(pj_status_t) pjmedia_session_pause(pjmedia_session *session, - pjmedia_dir dir); - -/** - * Suspend receipt and transmission of individual stream in media session - * for the specified direction. - * - * @param session The media session. - * @param index The stream index. - * @param dir The media direction to pause. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_session_pause_stream( pjmedia_session *session, - unsigned index, - pjmedia_dir dir); - -/** - * Activate individual stream in media session for the specified direction. - * - * @param session The media session. - * @param index The stream index. - * @param dir The media direction to activate. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_session_resume_stream(pjmedia_session *session, - unsigned index, - pjmedia_dir dir); - -/** - * Send RTCP SDES for the session. - * - * @param session The media session. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_session_send_rtcp_sdes( const pjmedia_session *session ); - -/** - * Send RTCP BYE for the session. - * - * @param session The media session. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_session_send_rtcp_bye( const pjmedia_session *session ); - -/** - * Enumerate media streams in the session. - * - * @param session The media session. - * @param count On input, specifies the number of elements in - * the array. On output, the number will be filled - * with number of streams in the session. - * @param strm_info Array of stream info. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_session_enum_streams( const pjmedia_session *session, - unsigned *count, - pjmedia_stream_info strm_info[]); - - -/** - * Get the media port interface of the specified stream. The media port - * interface declares put_frame() and get_frame() function, which is the - * only way for application to transmit and receive media frames from the - * stream. - * - * @param session The media session. - * @param index Stream index. - * @param p_port Pointer to receive the media port interface for - * the specified stream. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_session_get_port( pjmedia_session *session, - unsigned index, - pjmedia_port **p_port); - - -/** - * Get session statistics. The stream statistic shows various - * indicators such as packet count, packet lost, jitter, delay, etc. - * See also #pjmedia_session_get_stream_stat_jbuf() - * - * @param session The media session. - * @param index Stream index. - * @param stat Stream statistic. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_session_get_stream_stat(pjmedia_session *session, - unsigned index, - pjmedia_rtcp_stat *stat); - - -/** - * Reset session statistics. - * - * @param session The media session. - * @param index Stream index. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_session_reset_stream_stat(pjmedia_session *session, - unsigned index); - - -#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) -/** - * Get extended session statistics. The extended statistic shows reports - * from RTCP XR, such as per interval statistics summary (packet count, - * packet lost, jitter, etc), VoIP metrics (delay, quality, etc) - * - * @param session The media session. - * @param index Stream index. - * @param stat_xr Stream extended statistics. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_session_get_stream_stat_xr( - pjmedia_session *session, - unsigned index, - pjmedia_rtcp_xr_stat *stat_xr); -#endif - - -/** - * Get current jitter buffer state for the specified stream. - * See also #pjmedia_session_get_stream_stat() - * - * @param session The media session. - * @param index Stream index. - * @param state Jitter buffer state. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_session_get_stream_stat_jbuf( - pjmedia_session *session, - unsigned index, - pjmedia_jb_state *state); - -/** - * Dial DTMF digit to the stream, using RFC 2833 mechanism. - * - * @param session The media session. - * @param index The stream index. - * @param ascii_digits String of ASCII digits (i.e. 0-9*##A-B). - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_session_dial_dtmf( pjmedia_session *session, - unsigned index, - const pj_str_t *ascii_digits ); - - -/** - * Check if the specified stream has received DTMF digits. - * - * @param session The media session. - * @param index The stream index. - * - * @return Non-zero (PJ_TRUE) if the stream has DTMF digits. - */ -PJ_DECL(pj_status_t) pjmedia_session_check_dtmf( pjmedia_session *session, - unsigned index); - - -/** - * Retrieve DTMF digits from the specified stream. - * - * @param session The media session. - * @param index The stream index. - * @param ascii_digits Buffer to receive the digits. The length of this - * buffer is indicated in the "size" argument. - * @param size On input, contains the maximum digits to be copied - * to the buffer. - * On output, it contains the actual digits that has - * been copied to the buffer. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_session_get_dtmf( pjmedia_session *session, - unsigned index, - char *ascii_digits, - unsigned *size ); - -/** - * Set callback to be called upon receiving DTMF digits. If callback is - * registered, the stream will not buffer incoming DTMF but rather call - * the callback as soon as DTMF digit is received completely. - * - * @param session The media session. - * @param index The stream index. - * @param cb Callback to be called upon receiving DTMF digits. - * The DTMF digits will be given to the callback as - * ASCII digits. - * @param user_data User data to be returned back when the callback - * is called. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_session_set_dtmf_callback(pjmedia_session *session, - unsigned index, - void (*cb)(pjmedia_stream*, - void *user_data, - int digit), - void *user_data); - -/** - * Destroy media session. - * - * @param session The media session. - * - * @return PJ_SUCCESS if success. - */ -PJ_DECL(pj_status_t) pjmedia_session_destroy(pjmedia_session *session); - - - -/** - * @} - */ - -PJ_END_DECL - -#endif /* __PJMEDIA_SESSION_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/signatures.h b/res/pjproject/pjmedia/include/pjmedia/signatures.h deleted file mode 100644 index 3d4402e9c3..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/signatures.h +++ /dev/null @@ -1,217 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_SIGNATURES_H__ -#define __PJMEDIA_SIGNATURES_H__ - -/** - * @file pjmedia/signatures.h - * @brief Standard PJMEDIA object signatures - */ -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJMEDIA_SIG Object Signatures - * @ingroup PJMEDIA_BASE - * @brief Standard PJMEDIA object signatures - * @{ - * - * Object signature is a 32-bit integral value similar to FOURCC to help - * identify PJMEDIA objects such as media ports, transports, codecs, etc. - * There are several uses of this signature, for example a media port can - * use the port object signature to verify that the given port instance - * is the one that it created, and a receiver of \ref PJMEDIA_EVENT can - * use the signature of the publisher to know which object emitted the - * event. - * - * The 32-bit value of an object signature is generated by the following - * macro: - * - * \verbatim - #define PJMEDIA_SIGNATURE(a,b,c,d) (a<<24 | b<<16 | c<<8 | d) - * \endverbatim - * - * The following convention is used to maintain order to the signature - * values so that application can make use of it more effectively, and to - * avoid conflict between the values themselves. For each object type or - * class, a specific prefix will be assigned as signature, and a macro - * is created to build a signature for such object: - * - * \verbatim - Class Signature Signature creation and test macros - --------------------------------------------------------------- - Codec Cxxx PJMEDIA_SIG_CLASS_CODEC(b,c,d) - PJMEDIA_SIG_IS_CLASS_CODEC(sig) - - Audio codec CAxx PJMEDIA_SIG_CLASS_AUD_CODEC(c,d) - PJMEDIA_SIG_IS_CLASS_AUD_CODEC(sig) - - Video codec CVxx PJMEDIA_SIG_CLASS_VID_CODEC(c,d) - PJMEDIA_SIG_IS_CLASS_VID_CODEC(sig) - - Media port Pxxx PJMEDIA_SIG_CLASS_PORT(b,c,d) - PJMEDIA_SIG_IS_CLASS_PORT(sig) - - Audio media port PAxx PJMEDIA_SIG_CLASS_PORT_AUD(c,d) - PJMEDIA_SIG_IS_CLASS_PORT_AUD(sig) - - Video media port PVxx PJMEDIA_SIG_CLASS_PORT_VID(c,d) - PJMEDIA_SIG_IS_CLASS_PORT_VID(sig) - - Video device VDxx PJMEDIA_SIG_CLASS_VID_DEV(c,d) - PJMEDIA_SIG_IS_CLASS_VID_DEV(sig) - - Video other VOxx PJMEDIA_SIG_CLASS_VID_OTHER(c,d) - PJMEDIA_SIG_IS_CLASS_VID_OTHER(sig) - - Application object Axxx PJMEDIA_SIG_CLASS_APP(b,c,d) - PJMEDIA_SIG_IS_CLASS_APP(sig) - - * \endverbatim - * - * In addition, signatures created in application code should have lowercase - * letters to avoid conflict with built-in objects. - */ - -/** - * Type to store object signature. - */ -typedef pj_uint32_t pjmedia_obj_sig; - -/** - * A utility function to convert signature to four letters string. - * - * @param sig The signature value. - * @param buf Buffer to store the string, which MUST be at least - * five bytes long. - * - * @return The string. - */ -PJ_INLINE(const char*) pjmedia_sig_name(pjmedia_obj_sig sig, char buf[]) -{ - return pjmedia_fourcc_name(sig, buf); -} - -/** - * Macro to generate signature from four ASCII letters. - */ -#define PJMEDIA_SIGNATURE(a,b,c,d) PJMEDIA_FOURCC(a,b,c,d) - -/************************************************************************* - * Codec signature ('Cxxx'). Please keep the constant names sorted. - */ -#define PJMEDIA_SIG_CLASS_CODEC(b,c,d) PJMEDIA_SIGNATURE('C',b,c,d) -#define PJMEDIA_SIG_IS_CLASS_CODEC(sig) ((sig) >> 24 == 'C') - -/************************************************************************* - * Audio codec signatures ('CAxx'). Please keep the constant names sorted. - */ -#define PJMEDIA_SIG_CLASS_AUD_CODEC(c,d) PJMEDIA_SIG_CLASS_CODEC('A',c,d) -#define PJMEDIA_SIG_IS_CLASS_AUD_CODEC(s) ((s)>>24=='C' && (s)>>16=='A') - -/************************************************************************* - * Video codec signatures ('CVxx'). Please keep the constant names sorted. - */ -#define PJMEDIA_SIG_CLASS_VID_CODEC(c,d) PJMEDIA_SIG_CLASS_CODEC('V',c,d) -#define PJMEDIA_SIG_IS_CLASS_VID_CODEC(sig) ((s)>>24=='C' && (s)>>16=='V') - -#define PJMEDIA_SIG_VID_CODEC_FFMPEG PJMEDIA_SIG_CLASS_VID_CODEC('F','F') - -/************************************************************************* - * Port signatures ('Pxxx'). Please keep the constant names sorted. - */ -#define PJMEDIA_SIG_CLASS_PORT(b,c,d) PJMEDIA_SIGNATURE('P',b,c,d) -#define PJMEDIA_SIG_IS_CLASS_PORT(sig) ((sig) >> 24 == 'P') - -/************************************************************************* - * Audio ports signatures ('PAxx'). Please keep the constant names sorted. - */ -#define PJMEDIA_SIG_CLASS_PORT_AUD(c,d) PJMEDIA_SIG_CLASS_PORT('A',c,d) -#define PJMEDIA_SIG_IS_CLASS_PORT_AUD(s) ((s)>>24=='P' && (s)>>16=='A') - -#define PJMEDIA_SIG_PORT_BIDIR PJMEDIA_SIG_CLASS_PORT_AUD('B','D') -#define PJMEDIA_SIG_PORT_CONF PJMEDIA_SIG_CLASS_PORT_AUD('C','F') -#define PJMEDIA_SIG_PORT_CONF_PASV PJMEDIA_SIG_CLASS_PORT_AUD('C','P') -#define PJMEDIA_SIG_PORT_CONF_SWITCH PJMEDIA_SIG_CLASS_PORT_AUD('C','S') -#define PJMEDIA_SIG_PORT_ECHO PJMEDIA_SIG_CLASS_PORT_AUD('E','C') -#define PJMEDIA_SIG_PORT_MEM_CAPTURE PJMEDIA_SIG_CLASS_PORT_AUD('M','C') -#define PJMEDIA_SIG_PORT_MEM_PLAYER PJMEDIA_SIG_CLASS_PORT_AUD('M','P') -#define PJMEDIA_SIG_PORT_NULL PJMEDIA_SIG_CLASS_PORT_AUD('N','U') -#define PJMEDIA_SIG_PORT_RESAMPLE PJMEDIA_SIG_CLASS_PORT_AUD('R','E') -#define PJMEDIA_SIG_PORT_SPLIT_COMB PJMEDIA_SIG_CLASS_PORT_AUD('S','C') -#define PJMEDIA_SIG_PORT_SPLIT_COMB_P PJMEDIA_SIG_CLASS_PORT_AUD('S','P') -#define PJMEDIA_SIG_PORT_STEREO PJMEDIA_SIG_CLASS_PORT_AUD('S','R') -#define PJMEDIA_SIG_PORT_STREAM PJMEDIA_SIG_CLASS_PORT_AUD('S','T') -#define PJMEDIA_SIG_PORT_TONEGEN PJMEDIA_SIG_CLASS_PORT_AUD('T','O') -#define PJMEDIA_SIG_PORT_WAV_PLAYER PJMEDIA_SIG_CLASS_PORT_AUD('W','P') -#define PJMEDIA_SIG_PORT_WAV_PLAYLIST PJMEDIA_SIG_CLASS_PORT_AUD('W','Y') -#define PJMEDIA_SIG_PORT_WAV_WRITER PJMEDIA_SIG_CLASS_PORT_AUD('W','W') - - -/************************************************************************* - * Video ports signatures ('PVxx'). Please keep the constant names sorted. - */ -#define PJMEDIA_SIG_CLASS_PORT_VID(c,d) PJMEDIA_SIG_CLASS_PORT('V',c,d) -#define PJMEDIA_SIG_IS_CLASS_PORT_VID(s) ((s)>>24=='P' && (s)>>16=='V') - -/** AVI player signature. */ -#define PJMEDIA_SIG_PORT_VID_AVI_PLAYER PJMEDIA_SIG_CLASS_PORT_VID('A','V') -#define PJMEDIA_SIG_PORT_VID_STREAM PJMEDIA_SIG_CLASS_PORT_VID('S','T') -#define PJMEDIA_SIG_PORT_VID_TEE PJMEDIA_SIG_CLASS_PORT_VID('T','E') - - -/************************************************************************** - * Video device signatures ('VDxx'). Please keep the constant names sorted. - */ -#define PJMEDIA_SIG_CLASS_VID_DEV(c,d) PJMEDIA_SIGNATURE('V','D',c,d) -#define PJMEDIA_SIG_IS_CLASS_VID_DEV(s) ((s)>>24=='V' && (s)>>16=='D') - -#define PJMEDIA_SIG_VID_DEV_COLORBAR PJMEDIA_SIG_CLASS_VID_DEV('C','B') -#define PJMEDIA_SIG_VID_DEV_SDL PJMEDIA_SIG_CLASS_VID_DEV('S','D') -#define PJMEDIA_SIG_VID_DEV_V4L2 PJMEDIA_SIG_CLASS_VID_DEV('V','2') -#define PJMEDIA_SIG_VID_DEV_DSHOW PJMEDIA_SIG_CLASS_VID_DEV('D','S') -#define PJMEDIA_SIG_VID_DEV_QT PJMEDIA_SIG_CLASS_VID_DEV('Q','T') -#define PJMEDIA_SIG_VID_DEV_IOS PJMEDIA_SIG_CLASS_VID_DEV('I','P') - - -/********************************************************************* - * Other video objects ('VOxx'). Please keep the constant names sorted. - */ -#define PJMEDIA_SIG_CLASS_VID_OTHER(c,d) PJMEDIA_SIGNATURE('V','O',c,d) -#define PJMEDIA_SIG_IS_CLASS_VID_OTHER(s) ((s)>>24=='V' && (s)>>16=='O') - -#define PJMEDIA_SIG_VID_PORT PJMEDIA_SIG_CLASS_VID_OTHER('P','O') - - -/********************************************************************* - * Application class ('Axxx'). - */ -#define PJMEDIA_SIG_CLASS_APP(b,c,d) PJMEDIA_SIGNATURE('A',b,c,d) -#define PJMEDIA_SIG_IS_CLASS_APP(s) ((s)>>24=='A') - - -/** - * @} PJSIP_MSG - */ - - -PJ_END_DECL - -#endif /* __PJMEDIA_SIGNATURES_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/silencedet.h b/res/pjproject/pjmedia/include/pjmedia/silencedet.h deleted file mode 100644 index b4ff34eb2a..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/silencedet.h +++ /dev/null @@ -1,200 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_SILENCE_DET_H__ -#define __PJMEDIA_SILENCE_DET_H__ - - -/** - * @file silencedet.h - * @brief Adaptive silence detector. - */ -#include - - -/** - * @defgroup PJMEDIA_SILENCEDET Adaptive Silence Detection - * @ingroup PJMEDIA_FRAME_OP - * @brief Adaptive Silence Detector - * @{ - */ - - -PJ_BEGIN_DECL - - -/** - * Opaque declaration for silence detector. - */ -typedef struct pjmedia_silence_det pjmedia_silence_det; - - - -/** - * Create voice activity detector with default settings. The default settings - * are set to adaptive silence detection with the default threshold. - * - * @param pool Pool for allocating the structure. - * @param clock_rate Clock rate. - * @param samples_per_frame Number of samples per frame. The clock_rate and - * samples_per_frame is only used to calculate the - * frame time, from which some timing parameters - * are calculated from. - * @param p_sd Pointer to receive the silence detector instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_silence_det_create( pj_pool_t *pool, - unsigned clock_rate, - unsigned samples_per_frame, - pjmedia_silence_det **p_sd ); - - -/** - * Set silence detector name to identify the particular silence detector - * instance in the log. - * - * @param sd The silence detector. - * @param name Name. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_silence_det_set_name(pjmedia_silence_det *sd, - const char *name); - - -/** - * Set the sd to operate in fixed threshold mode. With fixed threshold mode, - * the threshold will not be changed adaptively. - * - * @param sd The silence detector - * @param threshold The silence threshold, or -1 to use default - * threshold. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_silence_det_set_fixed( pjmedia_silence_det *sd, - int threshold ); - -/** - * Set the sd to operate in adaptive mode. This is the default mode - * when the silence detector is created. - * - * @param sd The silence detector - * @param threshold Initial threshold to be set, or -1 to use default - * threshold. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_silence_det_set_adaptive(pjmedia_silence_det *sd, - int threshold); - -/** - * Set other silence detector parameters. - * - * @param sd The silence detector - * @param before_silence Minimum duration of silence (in msec) before - * silence is reported. If -1 is specified, then - * the default value will be used. The default is - * 400 msec. - * @param recalc_time1 The interval (in msec) to recalculate threshold - * in non-silence condition when adaptive silence - * detection is set. If -1 is specified, then the - * default value will be used. The default is 4000 - * (msec). - * @param recalc_time2 The interval (in msec) to recalculate threshold - * in silence condition when adaptive silence detection - * is set. If -1 is specified, then the default value - * will be used. The default value is 2000 (msec). - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_silence_det_set_params( pjmedia_silence_det *sd, - int before_silence, - int recalc_time1, - int recalc_time2); - - -/** - * Disable the silence detector. - * - * @param sd The silence detector - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_silence_det_disable( pjmedia_silence_det *sd ); - - -/** - * Perform voice activity detection on the given input samples. This - * function uses #pjmedia_calc_avg_signal() and #pjmedia_silence_det_apply() - * for its calculation. - * - * @param sd The silence detector instance. - * @param samples Pointer to 16-bit PCM input samples. - * @param count Number of samples in the input. - * @param p_level Optional pointer to receive average signal level - * of the input samples. - * - * @return Non zero if signal is silence. - */ -PJ_DECL(pj_bool_t) pjmedia_silence_det_detect( pjmedia_silence_det *sd, - const pj_int16_t samples[], - pj_size_t count, - pj_int32_t *p_level); - - -/** - * Calculate average signal level for the given samples. - * - * @param samples Pointer to 16-bit PCM samples. - * @param count Number of samples in the input. - * - * @return The average signal level, which simply is total level - * divided by number of samples. - */ -PJ_DECL(pj_int32_t) pjmedia_calc_avg_signal( const pj_int16_t samples[], - pj_size_t count ); - - - -/** - * Perform voice activity detection, given the specified average signal - * level. - * - * @param sd The silence detector instance. - * @param level Signal level. - * - * @return Non zero if signal is silence. - */ -PJ_DECL(pj_bool_t) pjmedia_silence_det_apply( pjmedia_silence_det *sd, - pj_uint32_t level); - - - -PJ_END_DECL - - -/** - * @} - */ - - -#endif /* __PJMEDIA_SILENCE_DET_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/sound.h b/res/pjproject/pjmedia/include/pjmedia/sound.h deleted file mode 100644 index c1eb921154..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/sound.h +++ /dev/null @@ -1,336 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_SOUND_H__ -#define __PJMEDIA_SOUND_H__ - - -/** - * @file sound.h - * @brief Legacy sound device API - */ -#include -#include - - -PJ_BEGIN_DECL - -/** - * @defgroup PJMED_SND Portable Sound Hardware Abstraction - * @ingroup PJMED_SND_PORT - * @brief PJMEDIA abstraction for sound device hardware - * @{ - * - * Warning: this sound device API has been deprecated - * and replaced by PJMEDIA Audio Device API. Please see - * http://trac.pjsip.org/repos/wiki/Audio_Dev_API for more - * information. - * - * This section describes lower level abstraction for sound device - * hardware. Application normally uses the higher layer @ref - * PJMED_SND_PORT abstraction since it works seamlessly with - * @ref PJMEDIA_PORT. - * - * The sound hardware abstraction basically runs asychronously, - * and application must register callbacks to be called to receive/ - * supply audio frames from/to the sound hardware. - * - * A full duplex sound stream (created with #pjmedia_snd_open()) - * requires application to supply two callbacks: - * - rec_cb callback to be called when it has finished - * capturing one media frame, and - * - play_cb callback to be called when it needs media - * frame to be played to the sound playback hardware. - * - * Half duplex sound stream (created with #pjmedia_snd_open_rec() or - * #pjmedia_snd_open_player()) will only need one of the callback to - * be specified. - * - * After sound stream is created, application need to call - * #pjmedia_snd_stream_start() to start capturing/playing back media - * frames from/to the sound device. - */ - -/** Opaque declaration for pjmedia_snd_stream. */ -typedef struct pjmedia_snd_stream pjmedia_snd_stream; - -/** - * Device information structure returned by #pjmedia_snd_get_dev_info. - */ -typedef struct pjmedia_snd_dev_info -{ - char name[64]; /**< Device name. */ - unsigned input_count; /**< Max number of input channels. */ - unsigned output_count; /**< Max number of output channels. */ - unsigned default_samples_per_sec;/**< Default sampling rate. */ -} pjmedia_snd_dev_info; - -/** - * Stream information, can be retrieved from a live stream by calling - * #pjmedia_snd_stream_get_info(). - */ -typedef struct pjmedia_snd_stream_info -{ - pjmedia_dir dir; /**< Stream direction. */ - int play_id; /**< Playback dev id, or -1 for rec only*/ - int rec_id; /**< Capture dev id, or -1 for play only*/ - unsigned clock_rate; /**< Actual clock rate. */ - unsigned channel_count; /**< Number of channels. */ - unsigned samples_per_frame; /**< Samples per frame. */ - unsigned bits_per_sample; /**< Bits per sample. */ - unsigned rec_latency; /**< Record latency, in samples. */ - unsigned play_latency; /**< Playback latency, in samples. */ -} pjmedia_snd_stream_info; - -/** - * This callback is called by player stream when it needs additional data - * to be played by the device. Application must fill in the whole of output - * buffer with sound samples. - * - * @param user_data User data associated with the stream. - * @param timestamp Timestamp, in samples. - * @param output Buffer to be filled out by application. - * @param size The size requested in bytes, which will be equal to - * the size of one whole packet. - * - * @return Non-zero to stop the stream. - */ -typedef pj_status_t (*pjmedia_snd_play_cb)(/* in */ void *user_data, - /* in */ pj_uint32_t timestamp, - /* out */ void *output, - /* out */ unsigned size); - -/** - * This callback is called by recorder stream when it has captured the whole - * packet worth of audio samples. - * - * @param user_data User data associated with the stream. - * @param timestamp Timestamp, in samples. - * @param output Buffer containing the captured audio samples. - * @param size The size of the data in the buffer, in bytes. - * - * @return Non-zero to stop the stream. - */ -typedef pj_status_t (*pjmedia_snd_rec_cb)(/* in */ void *user_data, - /* in */ pj_uint32_t timestamp, - /* in */ void *input, - /* in*/ unsigned size); - -/** - * Init the sound library. - * - * @param factory The sound factory. - * - * @return Zero on success. - */ -PJ_DECL(pj_status_t) pjmedia_snd_init(pj_pool_factory *factory); - - -/** - * Get the number of devices detected by the library. - * - * @return Number of devices. - */ -PJ_DECL(int) pjmedia_snd_get_dev_count(void); - - -/** - * Get device info. - * - * @param index The index of the device, which should be in the range - * from zero to #pjmedia_snd_get_dev_count - 1. - */ -PJ_DECL(const pjmedia_snd_dev_info*) pjmedia_snd_get_dev_info(unsigned index); - - -/** - * Set sound device latency, this function must be called before sound device - * opened, or otherwise default latency setting will be used, @see - * PJMEDIA_SND_DEFAULT_REC_LATENCY & PJMEDIA_SND_DEFAULT_PLAY_LATENCY. - * - * Choosing latency value is not straightforward, it should accomodate both - * minimum latency and stability. Lower latency tends to cause sound device - * less reliable (producing audio dropouts) on CPU load disturbance. Moreover, - * the best latency setting may vary based on many aspects, e.g: sound card, - * CPU, OS, kernel, etc. - * - * @param input_latency The latency of input device, in ms, set to 0 - * for default PJMEDIA_SND_DEFAULT_REC_LATENCY. - * @param output_latency The latency of output device, in ms, set to 0 - * for default PJMEDIA_SND_DEFAULT_PLAY_LATENCY. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_snd_set_latency(unsigned input_latency, - unsigned output_latency); - - -/** - * Create sound stream for both capturing audio and audio playback, from the - * same device. This is the recommended way to create simultaneous recorder - * and player streams (instead of creating separate capture and playback - * streams), because it works on backends that does not allow - * a device to be opened more than once. - * - * @param rec_id Device index for recorder/capture stream, or - * -1 to use the first capable device. - * @param play_id Device index for playback stream, or -1 to use - * the first capable device. - * @param clock_rate Sound device's clock rate to set. - * @param channel_count Set number of channels, 1 for mono, or 2 for - * stereo. The channel count determines the format - * of the frame. - * @param samples_per_frame Number of samples per frame. - * @param bits_per_sample Set the number of bits per sample. The normal - * value for this parameter is 16 bits per sample. - * @param rec_cb Callback to handle captured audio samples. - * @param play_cb Callback to be called when the sound player needs - * more audio samples to play. - * @param user_data User data to be associated with the stream. - * @param p_snd_strm Pointer to receive the stream instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_snd_open(int rec_id, - int play_id, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - pjmedia_snd_rec_cb rec_cb, - pjmedia_snd_play_cb play_cb, - void *user_data, - pjmedia_snd_stream **p_snd_strm); - - -/** - * Create a unidirectional audio stream for capturing audio samples from - * the sound device. - * - * @param index Device index, or -1 to let the library choose the - * first available device. - * @param clock_rate Sound device's clock rate to set. - * @param channel_count Set number of channels, 1 for mono, or 2 for - * stereo. The channel count determines the format - * of the frame. - * @param samples_per_frame Number of samples per frame. - * @param bits_per_sample Set the number of bits per sample. The normal - * value for this parameter is 16 bits per sample. - * @param rec_cb Callback to handle captured audio samples. - * @param user_data User data to be associated with the stream. - * @param p_snd_strm Pointer to receive the stream instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_snd_open_rec( int index, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - pjmedia_snd_rec_cb rec_cb, - void *user_data, - pjmedia_snd_stream **p_snd_strm); - -/** - * Create a unidirectional audio stream for playing audio samples to the - * sound device. - * - * @param index Device index, or -1 to let the library choose the - * first available device. - * @param clock_rate Sound device's clock rate to set. - * @param channel_count Set number of channels, 1 for mono, or 2 for - * stereo. The channel count determines the format - * of the frame. - * @param samples_per_frame Number of samples per frame. - * @param bits_per_sample Set the number of bits per sample. The normal - * value for this parameter is 16 bits per sample. - * @param play_cb Callback to be called when the sound player needs - * more audio samples to play. - * @param user_data User data to be associated with the stream. - * @param p_snd_strm Pointer to receive the stream instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_snd_open_player( int index, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - pjmedia_snd_play_cb play_cb, - void *user_data, - pjmedia_snd_stream **p_snd_strm ); - - -/** - * Get information about live stream. - * - * @param strm The stream to be queried. - * @param pi Pointer to stream information to be filled up with - * information about the stream. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_snd_stream_get_info(pjmedia_snd_stream *strm, - pjmedia_snd_stream_info *pi); - - -/** - * Start the stream. - * - * @param stream The recorder or player stream. - * - * @return Zero on success. - */ -PJ_DECL(pj_status_t) pjmedia_snd_stream_start(pjmedia_snd_stream *stream); - -/** - * Stop the stream. - * - * @param stream The recorder or player stream. - * - * @return Zero on success. - */ -PJ_DECL(pj_status_t) pjmedia_snd_stream_stop(pjmedia_snd_stream *stream); - -/** - * Destroy the stream. - * - * @param stream The recorder of player stream. - * - * @return Zero on success. - */ -PJ_DECL(pj_status_t) pjmedia_snd_stream_close(pjmedia_snd_stream *stream); - -/** - * Deinitialize sound library. - * - * @return Zero on success. - */ -PJ_DECL(pj_status_t) pjmedia_snd_deinit(void); - - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJMEDIA_SOUND_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/sound_port.h b/res/pjproject/pjmedia/include/pjmedia/sound_port.h deleted file mode 100644 index 07d15c4a0d..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/sound_port.h +++ /dev/null @@ -1,352 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_SOUND_PORT_H__ -#define __PJMEDIA_SOUND_PORT_H__ - -/** - * @file sound_port.h - * @brief Media port connection abstraction to sound device. - */ -#include -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJMED_SND_PORT Sound Device Port - * @ingroup PJMEDIA_PORT_CLOCK - * @brief Media Port Connection Abstraction to the Sound Device - @{ - - As explained in @ref PJMED_SND, the sound hardware abstraction provides - some callbacks for its user: - - it calls rec_cb callback when it has finished capturing - one media frame, and - - it calls play_cb when it needs media frame to be - played to the sound playback hardware. - - The @ref PJMED_SND_PORT (the object being explained here) add a - thin wrapper to the hardware abstraction: - - it will call downstream port's put_frame() - when rec_cb() is called (i.e. when the sound hardware - has finished capturing frame), and - - it will call downstream port's get_frame() when - play_cb() is called (i.e. every time the - sound hardware needs more frames to be played to the playback hardware). - - This simple abstraction enables media to flow automatically (and - in timely manner) from the downstream media port to the sound device. - In other words, the sound device port supplies media clock to - the ports. The media clock concept is explained in @ref PJMEDIA_PORT_CLOCK - section. - - Application registers downstream port to the sound device port by - calling #pjmedia_snd_port_connect(); - - */ - -/** - * Sound port options. - */ -enum pjmedia_snd_port_option -{ - /** - * Don't start the audio device when creating a sound port. - */ - PJMEDIA_SND_PORT_NO_AUTO_START = 1 -}; - -/** - * This structure specifies the parameters to create the sound port. - * Use pjmedia_snd_port_param_default() to initialize this structure with - * default values (mostly zeroes) - */ -typedef struct pjmedia_snd_port_param -{ - /** - * Base structure. - */ - pjmedia_aud_param base; - - /** - * Sound port creation options. - */ - unsigned options; - - /** - * Echo cancellation options/flags. - */ - unsigned ec_options; - -} pjmedia_snd_port_param; - -/** - * Initialize pjmedia_snd_port_param with default values. - * - * @param prm The parameter. - */ -PJ_DECL(void) pjmedia_snd_port_param_default(pjmedia_snd_port_param *prm); - -/** - * This opaque type describes sound device port connection. - * Sound device port is not a media port, but it is used to connect media - * port to the sound device. - */ -typedef struct pjmedia_snd_port pjmedia_snd_port; - - -/** - * Create bidirectional sound port for both capturing and playback of - * audio samples. - * - * @param pool Pool to allocate sound port structure. - * @param rec_id Device index for recorder/capture stream, or - * -1 to use the first capable device. - * @param play_id Device index for playback stream, or -1 to use - * the first capable device. - * @param clock_rate Sound device's clock rate to set. - * @param channel_count Set number of channels, 1 for mono, or 2 for - * stereo. The channel count determines the format - * of the frame. - * @param samples_per_frame Number of samples per frame. - * @param bits_per_sample Set the number of bits per sample. The normal - * value for this parameter is 16 bits per sample. - * @param options Options flag. - * @param p_port Pointer to receive the sound device port instance. - * - * @return PJ_SUCCESS on success, or the appropriate error - * code. - */ -PJ_DECL(pj_status_t) pjmedia_snd_port_create( pj_pool_t *pool, - int rec_id, - int play_id, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - pjmedia_snd_port **p_port); - -/** - * Create unidirectional sound device port for capturing audio streams from - * the sound device with the specified parameters. - * - * @param pool Pool to allocate sound port structure. - * @param index Device index, or -1 to let the library choose the - * first available device. - * @param clock_rate Sound device's clock rate to set. - * @param channel_count Set number of channels, 1 for mono, or 2 for - * stereo. The channel count determines the format - * of the frame. - * @param samples_per_frame Number of samples per frame. - * @param bits_per_sample Set the number of bits per sample. The normal - * value for this parameter is 16 bits per sample. - * @param options Options flag. - * @param p_port Pointer to receive the sound device port instance. - * - * @return PJ_SUCCESS on success, or the appropriate error - * code. - */ -PJ_DECL(pj_status_t) pjmedia_snd_port_create_rec(pj_pool_t *pool, - int index, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - pjmedia_snd_port **p_port); - -/** - * Create unidirectional sound device port for playing audio streams with the - * specified parameters. - * - * @param pool Pool to allocate sound port structure. - * @param index Device index, or -1 to let the library choose the - * first available device. - * @param clock_rate Sound device's clock rate to set. - * @param channel_count Set number of channels, 1 for mono, or 2 for - * stereo. The channel count determines the format - * of the frame. - * @param samples_per_frame Number of samples per frame. - * @param bits_per_sample Set the number of bits per sample. The normal - * value for this parameter is 16 bits per sample. - * @param options Options flag. - * @param p_port Pointer to receive the sound device port instance. - * - * @return PJ_SUCCESS on success, or the appropriate error - * code. - */ -PJ_DECL(pj_status_t) pjmedia_snd_port_create_player(pj_pool_t *pool, - int index, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - pjmedia_snd_port **p_port); - - -/** - * Create sound device port according to the specified parameters. - * - * @param pool Pool to allocate sound port structure. - * @param prm Sound port parameter. - * @param p_port Pointer to receive the sound device port instance. - * - * @return PJ_SUCCESS on success, or the appropriate error - * code. - */ -PJ_DECL(pj_status_t) pjmedia_snd_port_create2(pj_pool_t *pool, - const pjmedia_snd_port_param *prm, - pjmedia_snd_port **p_port); - - -/** - * Destroy sound device port. - * - * @param snd_port The sound device port. - * - * @return PJ_SUCCESS on success, or the appropriate error - * code. - */ -PJ_DECL(pj_status_t) pjmedia_snd_port_destroy(pjmedia_snd_port *snd_port); - - -/** - * Retrieve the sound stream associated by this sound device port. - * - * @param snd_port The sound device port. - * - * @return The sound stream instance. - */ -PJ_DECL(pjmedia_aud_stream*) pjmedia_snd_port_get_snd_stream( - pjmedia_snd_port *snd_port); - - -/** - * Change the echo cancellation settings. The echo cancellation settings - * should have been specified when this sound port was created, by setting - * the appropriate fields in the pjmedia_aud_param, because not all sound - * device implementation supports changing the EC setting once the device - * has been opened. - * - * The behavior of this function depends on whether device or software AEC - * is being used. If the device supports AEC, this function will forward - * the change request to the device and it will be up to the device whether - * to support the request. If software AEC is being used (the software EC - * will be used if the device does not support AEC), this function will - * change the software EC settings. - * - * @param snd_port The sound device port. - * @param pool Pool to re-create the echo canceller if necessary. - * @param tail_ms Maximum echo tail length to be supported, in - * miliseconds. If zero is specified, the EC would - * be disabled. - * @param options The options to be passed to #pjmedia_echo_create(). - * This is only used if software EC is being used. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_snd_port_set_ec( pjmedia_snd_port *snd_port, - pj_pool_t *pool, - unsigned tail_ms, - unsigned options); - - -/** - * Get current echo canceller tail length, in miliseconds. The tail length - * will be zero if EC is not enabled. - * - * @param snd_port The sound device port. - * @param p_length Pointer to receive the tail length. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_snd_port_get_ec_tail(pjmedia_snd_port *snd_port, - unsigned *p_length); - - -/** - * Get a clock source from the sound port. - * - * @param snd_port The sound port. - * @param dir Sound port's direction. - * - * @return The clock source. - */ -PJ_DECL(pjmedia_clock_src *) -pjmedia_snd_port_get_clock_src( pjmedia_snd_port *snd_port, - pjmedia_dir dir ); - - -/** - * Connect a port to the sound device port. If the sound device port has a - * sound recorder device, then this will start periodic function call to - * the port's put_frame() function. If the sound device has a sound player - * device, then this will start periodic function call to the port's - * get_frame() function. - * - * For this version of PJMEDIA, the media port MUST have the same audio - * settings as the sound device port, or otherwise the connection will - * fail. This means the port MUST have the same clock_rate, channel count, - * samples per frame, and bits per sample as the sound device port. - * - * @param snd_port The sound device port. - * @param port The media port to be connected. - * - * @return PJ_SUCCESS on success, or the appropriate error - * code. - */ -PJ_DECL(pj_status_t) pjmedia_snd_port_connect(pjmedia_snd_port *snd_port, - pjmedia_port *port); - - -/** - * Retrieve the port instance currently attached to the sound port, if any. - * - * @param snd_port The sound device port. - * - * @return The port instance currently attached to the - * sound device port, or NULL if there is no port - * currently attached to the sound device port. - */ -PJ_DECL(pjmedia_port*) pjmedia_snd_port_get_port(pjmedia_snd_port *snd_port); - - -/** - * Disconnect currently attached port from the sound device port. - * - * @param snd_port The sound device port. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_snd_port_disconnect(pjmedia_snd_port *snd_port); - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJMEDIA_SOUND_PORT_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/splitcomb.h b/res/pjproject/pjmedia/include/pjmedia/splitcomb.h deleted file mode 100644 index f7001b7432..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/splitcomb.h +++ /dev/null @@ -1,140 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_SPLITCOMB_H__ -#define __PJMEDIA_SPLITCOMB_H__ - - -/** - * @file splitcomb.h - * @brief Media channel splitter/combiner port. - */ -#include - - -/** - * @addtogroup PJMEDIA_SPLITCOMB Media channel splitter/combiner - * @ingroup PJMEDIA_PORT - * @brief Split and combine multiple mono-channel media ports into - * a single multiple-channels media port - * @{ - * - * This section describes media port to split and combine media - * channels in the stream. - * - * A splitter/combiner splits a single stereo/multichannels audio frame into - * multiple audio frames to each channel when put_frame() is called, - * and combines mono frames from each channel into a stereo/multichannel - * frame when get_frame() is called. A common application for the splitter/ - * combiner is to split frames from stereo to mono and vise versa. - */ - -PJ_BEGIN_DECL - - -/** - * Create a media splitter/combiner with the specified parameters. - * When the splitter/combiner is created, it creates an instance of - * pjmedia_port. This media port represents the stereo/multichannel side - * of the splitter/combiner. Application needs to supply the splitter/ - * combiner with a media port for each audio channels. - * - * @param pool Pool to allocate memory to create the splitter/ - * combiner. - * @param clock_rate Audio clock rate/sampling rate. - * @param channel_count Number of channels. - * @param samples_per_frame Number of samples per frame. - * @param bits_per_sample Bits per sample. - * @param options Optional flags. - * @param p_splitcomb Pointer to receive the splitter/combiner. - * - * @return PJ_SUCCESS on success, or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_splitcomb_create(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - pjmedia_port **p_splitcomb); - -/** - * Supply the splitter/combiner with media port for the specified channel - * number. The media port will be called at the - * same phase as the splitter/combiner; which means that when application - * calls get_frame() of the splitter/combiner, it will call get_frame() - * for all ports that have the same phase. And similarly for put_frame(). - * - * @param splitcomb The splitter/combiner. - * @param ch_num Audio channel starting number (zero based). - * @param options Must be zero at the moment. - * @param port The media port. - * - * @return PJ_SUCCESS on success, or the appropriate error - * code. - */ -PJ_DECL(pj_status_t) pjmedia_splitcomb_set_channel(pjmedia_port *splitcomb, - unsigned ch_num, - unsigned options, - pjmedia_port *port); - -/** - * Create a reverse phase media port for the specified channel number. - * For channels with reversed phase, when application calls put_frame() to - * the splitter/combiner, the splitter/combiner will only put the frame to - * a buffer. Later on, when application calls get_frame() on the channel's - * media port, it will return the frame that are available in the buffer. - * The same process happens when application calls put_frame() to the - * channel's media port, it will only put the frame to another buffer, which - * will be returned when application calls get_frame() to the splitter's - * media port. So this effectively reverse the phase of the media port. - * - * @param pool The pool to allocate memory for the port and - * buffers. - * @param splitcomb The splitter/combiner. - * @param ch_num Audio channel starting number (zero based). - * @param options Normally is zero, but the lower 8-bit of the - * options can be used to specify the number of - * buffers in the circular buffer. If zero, then - * default number will be used (default: 8). - * @param p_chport The media port created with reverse phase for - * the specified audio channel. - * - * @return PJ_SUCCESS on success, or the appropriate error - * code. - */ -PJ_DECL(pj_status_t) -pjmedia_splitcomb_create_rev_channel( pj_pool_t *pool, - pjmedia_port *splitcomb, - unsigned ch_num, - unsigned options, - pjmedia_port **p_chport); - - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJMEDIA_SPLITCOMB_H__ */ - - diff --git a/res/pjproject/pjmedia/include/pjmedia/stereo.h b/res/pjproject/pjmedia/include/pjmedia/stereo.h deleted file mode 100644 index 635bb0c00b..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/stereo.h +++ /dev/null @@ -1,206 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_STEREO_H__ -#define __PJMEDIA_STEREO_H__ - -/** - * @file stereo.h - * @brief Monochannel and multichannel converter. - */ - -#include -#include -#include -#include - - -/** - * @defgroup PJMEDIA_STEREO Monochannel and multichannel audio frame converter - * @ingroup PJMEDIA_FRAME_OP - * @brief Mono - multi-channels audio conversion - * @{ - * - */ - -PJ_BEGIN_DECL - - -/** - * Multichannel to monochannel conversion mixes samples from all channels - * into the monochannel. - */ -#define PJMEDIA_STEREO_MIX PJ_TRUE - - - -/** - * Multichannel to monochannel conversion, it has two operation mode specified - * by param options, @see pjmedia_stereo_options. This function can work safely - * using the same buffer (in place conversion). - * - * @param mono Output buffer to store the mono frame extracted - * from the multichannels frame. - * @param multi Input frame containing multichannels audio. - * @param channel_count Number of channels in the input frame. - * @param samples_per_frame Number of samples in the input frame. - * @param mix If the value is PJ_TRUE then the input channels - * will be mixed to produce output frame, otherwise - * only frame from channel_src will be copied to the - * output frame. - * @param channel_src When mixing is disabled, the mono output frame - * will be copied from this channel number. - * - * @return PJ_SUCCESS on success; - */ -PJ_INLINE(pj_status_t) pjmedia_convert_channel_nto1(pj_int16_t mono[], - const pj_int16_t multi[], - unsigned channel_count, - unsigned samples_per_frame, - pj_bool_t mix, - unsigned channel_src) -{ - unsigned i; - - PJ_ASSERT_RETURN(mono && multi && channel_count && samples_per_frame && - channel_src < channel_count, PJ_EINVAL); - - if (mix==PJ_FALSE) { - for (i = channel_src; i < samples_per_frame; i += channel_count) { - *mono = multi[i]; - ++mono; - } - } else { - unsigned j; - for (i = 0; i < samples_per_frame; i += channel_count) { - int tmp = 0; - for(j = 0; j < channel_count; ++j) - tmp += multi[i+j]; - - if (tmp > 32767) tmp = 32767; - else if (tmp < -32768) tmp = -32768; - *mono = (pj_int16_t) tmp; - ++mono; - } - } - - return PJ_SUCCESS; -} - - -/** - * Monochannel to multichannel conversion, it will just duplicate the samples - * from monochannel frame to all channels in the multichannel frame. - * This function can work safely using the same buffer (in place conversion) - * as long as the buffer is big enough for the multichannel samples. - * - * @param multi Output buffer to store the multichannels frame - * mixed from the mono frame. - * @param mono The input monochannel audio frame. - * @param channel_count Desired number of channels in the output frame. - * @param samples_per_frame Number of samples in the input frame. - * @param options Options for conversion, currently must be zero. - * - * @return PJ_SUCCESS on success; - */ -PJ_INLINE(pj_status_t) pjmedia_convert_channel_1ton(pj_int16_t multi[], - const pj_int16_t mono[], - unsigned channel_count, - unsigned samples_per_frame, - unsigned options) -{ - const pj_int16_t *src; - - PJ_ASSERT_RETURN(mono && multi && channel_count && samples_per_frame, - PJ_EINVAL); - PJ_ASSERT_RETURN(options == 0, PJ_EINVAL); - - PJ_UNUSED_ARG(options); - - src = mono + samples_per_frame - 1; - samples_per_frame *= channel_count; - while (samples_per_frame) { - unsigned i; - for (i=1; i<=channel_count; ++i) - multi[samples_per_frame-i] = *src; - samples_per_frame -= channel_count; - --src; - } - - return PJ_SUCCESS; -} - - -/** - * Options for channel converter port. The #pjmedia_stereo_options is also - * valid for this port options. - */ -typedef enum pjmedia_stereo_port_options -{ - /** - * Specifies whether this port should not destroy downstream port when - * this port is destroyed. - */ - PJMEDIA_STEREO_DONT_DESTROY_DN = 4 -} pjmedia_stereo_port_options; - - -/** - * Create a mono-multi channel converter port. This creates a converter session, - * which will adjust the samples of audio frame to a different channel count - * when the port's get_frame() and put_frame() is called. - * - * When the port's get_frame() is called, this port will get a frame from - * the downstream port and convert the frame to the target channel count before - * returning it to the caller. - * - * When the port's put_frame() is called, this port will convert the frame - * to the downstream port's channel count before giving the frame to the - * downstream port. - * - * @param pool Pool to allocate the structure and buffers. - * @param dn_port The downstream port, which channel count is to - * be converted to the target channel count. - * @param channel_count This port channel count. - * @param options Bitmask flags from #pjmedia_stereo_port_options - * and also application may add PJMEDIA_STEREO_MIX - * to mix channels. - * When this flag is zero, the default behavior - * is to use simple N-to-1 channel converter and - * to destroy downstream port when this port is - * destroyed. - * @param p_port Pointer to receive the stereo port instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_stereo_port_create( pj_pool_t *pool, - pjmedia_port *dn_port, - unsigned channel_count, - unsigned options, - pjmedia_port **p_port ); - -PJ_END_DECL - -/** - * @} - */ - - -#endif /* __PJMEDIA_STEREO_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/stream.h b/res/pjproject/pjmedia/include/pjmedia/stream.h deleted file mode 100644 index 88e5a882a1..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/stream.h +++ /dev/null @@ -1,436 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_STREAM_H__ -#define __PJMEDIA_STREAM_H__ - - -/** - * @file stream.h - * @brief Media Stream. - */ - -#include -#include -#include -#include -#include -#include -#include -#include - -PJ_BEGIN_DECL - - -/** - * @defgroup PJMED_STRM Streams - * @ingroup PJMEDIA_PORT - * @brief Communicating with remote peer via the network - * @{ - * - * A media stream is a bidirectional multimedia communication between two - * endpoints. It corresponds to a media description (m= line) in SDP - * session descriptor. - * - * A media stream consists of two unidirectional channels: - * - encoding channel, which transmits unidirectional media to remote, and - * - decoding channel, which receives unidirectional media from remote. - * - * A media stream exports media port interface (see @ref PJMEDIA_PORT) - * and application normally uses this interface to interconnect the stream - * to other PJMEDIA components. - * - * A media stream internally manages the following objects: - * - an instance of media codec (see @ref PJMEDIA_CODEC), - * - an @ref PJMED_JBUF, - * - two instances of RTP sessions (#pjmedia_rtp_session, one for each - * direction), - * - one instance of RTCP session (#pjmedia_rtcp_session), - * - and a reference to media transport to send and receive packets - * to/from the network (see @ref PJMEDIA_TRANSPORT). - * - * Streams are created by calling #pjmedia_stream_create(), specifying - * #pjmedia_stream_info structure in the parameter. Application can construct - * the #pjmedia_stream_info structure manually, or use - * #pjmedia_stream_info_from_sdp() or #pjmedia_session_info_from_sdp() - * functions to construct the #pjmedia_stream_info from local and remote - * SDP session descriptors. - * - * Application can also use @ref PJMEDIA_SESSION to indirectly create the - * streams. - */ - -/** - * Opaque declaration for media channel. - * Media channel is unidirectional flow of media from sender to - * receiver. - */ -typedef struct pjmedia_channel pjmedia_channel; - -/** - * This structure describes media stream information. Each media stream - * corresponds to one "m=" line in SDP session descriptor, and it has - * its own RTP/RTCP socket pair. - */ -typedef struct pjmedia_stream_info -{ - pjmedia_type type; /**< Media type (audio, video) */ - pjmedia_tp_proto proto; /**< Transport protocol (RTP/AVP, etc.) */ - pjmedia_dir dir; /**< Media direction. */ - pj_sockaddr rem_addr; /**< Remote RTP address */ - pj_sockaddr rem_rtcp; /**< Optional remote RTCP address. If - sin_family is zero, the RTP address - will be calculated from RTP. */ -#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) - pj_bool_t rtcp_xr_enabled; - /**< Specify whether RTCP XR is enabled.*/ - pj_uint32_t rtcp_xr_interval; /**< RTCP XR interval. */ - pj_sockaddr rtcp_xr_dest;/** -#include - - -PJ_BEGIN_DECL - -/** - * This is internal function for parsing SDP format parameter of specific - * format or payload type, used by stream in generating stream info from SDP. - * - * @param pool Pool to allocate memory, if pool is NULL, the fmtp - * string pointers will point to the original string in - * the SDP media descriptor. - * @param m The SDP media containing the format parameter to - * be parsed. - * @param pt The format or payload type. - * @param fmtp The format parameter to store the parsing result. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_stream_info_parse_fmtp(pj_pool_t *pool, - const pjmedia_sdp_media *m, - unsigned pt, - pjmedia_codec_fmtp *fmtp); - - -PJ_END_DECL - - -#endif /* __PJMEDIA_STREAM_COMMON_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/symbian_sound_aps.h b/res/pjproject/pjmedia/include/pjmedia/symbian_sound_aps.h deleted file mode 100644 index 64840a039e..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/symbian_sound_aps.h +++ /dev/null @@ -1,48 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_SYMBIAN_SOUND_APS_H__ -#define __PJMEDIA_SYMBIAN_SOUND_APS_H__ - - -/** - * @file symbian_sound_aps.h - * @brief Sound device wrapper using Audio Proxy Server on - * Symbian S60 3rd edition. - */ -#include - -PJ_BEGIN_DECL - -/** - * Set audio routing for APS sound device. - * - * @param stream The sound device stream, the stream should be started - * before calling this function. - * @param route Audio routing to be set. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_snd_aps_set_route( pjmedia_snd_stream *stream, - pjmedia_snd_route route); - -PJ_END_DECL - - -#endif /* __PJMEDIA_SYMBIAN_SOUND_APS_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/tonegen.h b/res/pjproject/pjmedia/include/pjmedia/tonegen.h deleted file mode 100644 index 6a298d80a4..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/tonegen.h +++ /dev/null @@ -1,293 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_TONEGEN_PORT_H__ -#define __PJMEDIA_TONEGEN_PORT_H__ - -/** - * @file tonegen.h - * @brief Tone (sine, MF, DTMF) generator media port. - */ -#include - - -/** - * @defgroup PJMEDIA_MF_DTMF_TONE_GENERATOR Multi-frequency tone generator - * @ingroup PJMEDIA_PORT - * @brief Multi-frequency tone generator - * @{ - * - * This page describes tone generator media port. A tone generator can be - * used to generate a single frequency sine wave or dual frequency tones - * such as DTMF. - * - * The tone generator media port provides two functions to generate tones. - * The function #pjmedia_tonegen_play() can be used to generate arbitrary - * single or dual frequency tone, and #pjmedia_tonegen_play_digits() is - * used to play digits such as DTMF. Each tone specified in the playback - * function has individual on and off signal duration that must be - * specified by application. - * - * In order to play digits such as DTMF, the tone generator is equipped - * with digit map, which contain information about the frequencies of - * the digits. The default digit map is DTMF (0-9,a-d,*,#), but application - * may specifiy different digit map to the tone generator by calling - * #pjmedia_tonegen_set_digit_map() function. - */ - -PJ_BEGIN_DECL - - -/** - * This structure describes individual MF digits to be played - * with #pjmedia_tonegen_play(). - */ -typedef struct pjmedia_tone_desc -{ - short freq1; /**< First frequency. */ - short freq2; /**< Optional second frequency. */ - short on_msec; /**< Playback ON duration, in miliseconds. */ - short off_msec; /**< Playback OFF duration, ini miliseconds. */ - short volume; /**< Volume (1-32767), or 0 for default, which - PJMEDIA_TONEGEN_VOLUME will be used. */ - short flags; /**< Currently internal flags, must be 0 */ -} pjmedia_tone_desc; - - - -/** - * This structure describes individual MF digits to be played - * with #pjmedia_tonegen_play_digits(). - */ -typedef struct pjmedia_tone_digit -{ - char digit; /**< The ASCI identification for the digit. */ - short on_msec; /**< Playback ON duration, in miliseconds. */ - short off_msec; /**< Playback OFF duration, ini miliseconds. */ - short volume; /**< Volume (1-32767), or 0 for default, which - PJMEDIA_TONEGEN_VOLUME will be used. */ -} pjmedia_tone_digit; - - -/** - * This structure describes the digit map which is used by the tone generator - * to produce tones from an ASCII digits. - * Digit map used by a particular tone generator can be retrieved/set with - * #pjmedia_tonegen_get_digit_map() and #pjmedia_tonegen_set_digit_map(). - */ -typedef struct pjmedia_tone_digit_map -{ - unsigned count; /**< Number of digits in the map. */ - - struct { - char digit; /**< The ASCI identification for the digit. */ - short freq1; /**< First frequency. */ - short freq2; /**< Optional second frequency. */ - } digits[16]; /**< Array of digits in the digit map. */ -} pjmedia_tone_digit_map; - - -/** - * Tone generator options. - */ -enum -{ - /** - * Play the tones in loop, restarting playing the first tone after - * the last tone has been played. - */ - PJMEDIA_TONEGEN_LOOP = 1, - - /** - * Disable mutex protection to the tone generator. - */ - PJMEDIA_TONEGEN_NO_LOCK = 2 -}; - - -/** - * Create an instance of tone generator with the specified parameters. - * When the tone generator is first created, it will be loaded with the - * default digit map. - * - * @param pool Pool to allocate memory for the port structure. - * @param clock_rate Sampling rate. - * @param channel_count Number of channels. Currently only mono and stereo - * are supported. - * @param samples_per_frame Number of samples per frame. - * @param bits_per_sample Number of bits per sample. This version of PJMEDIA - * only supports 16bit per sample. - * @param options Option flags. Application may specify - * PJMEDIA_TONEGEN_LOOP to play the tone in a loop. - * @param p_port Pointer to receive the port instance. - * - * @return PJ_SUCCESS on success, or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_tonegen_create(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - pjmedia_port **p_port); - - -/** - * Create an instance of tone generator with the specified parameters. - * When the tone generator is first created, it will be loaded with the - * default digit map. - * - * @param pool Pool to allocate memory for the port structure. - * @param name Optional name for the tone generator. - * @param clock_rate Sampling rate. - * @param channel_count Number of channels. Currently only mono and stereo - * are supported. - * @param samples_per_frame Number of samples per frame. - * @param bits_per_sample Number of bits per sample. This version of PJMEDIA - * only supports 16bit per sample. - * @param options Option flags. Application may specify - * PJMEDIA_TONEGEN_LOOP to play the tone in a loop. - * @param p_port Pointer to receive the port instance. - * - * @return PJ_SUCCESS on success, or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_tonegen_create2(pj_pool_t *pool, - const pj_str_t *name, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - pjmedia_port **p_port); - - -/** - * Check if the tone generator is still busy producing some tones. - * - * @param tonegen The tone generator instance. - * - * @return Non-zero if busy. - */ -PJ_DECL(pj_bool_t) pjmedia_tonegen_is_busy(pjmedia_port *tonegen); - - -/** - * Instruct the tone generator to stop current processing. - * - * @param tonegen The tone generator instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_tonegen_stop(pjmedia_port *tonegen); - - -/** - * Rewind the playback. This will start the playback to the first - * tone in the playback list. - * - * @param tonegen The tone generator instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_tonegen_rewind(pjmedia_port *tonegen); - - -/** - * Instruct the tone generator to play single or dual frequency tones - * with the specified duration. The new tones will be appended to currently - * playing tones, unless #pjmedia_tonegen_stop() is called before calling - * this function. The playback will begin as soon as the first get_frame() - * is called to the generator. - * - * @param tonegen The tone generator instance. - * @param count The number of tones in the array. - * @param tones Array of tones to be played. - * @param options Option flags. Application may specify - * PJMEDIA_TONEGEN_LOOP to play the tone in a loop. - * - * @return PJ_SUCCESS on success, or PJ_ETOOMANY if - * there are too many digits in the queue. - */ -PJ_DECL(pj_status_t) pjmedia_tonegen_play(pjmedia_port *tonegen, - unsigned count, - const pjmedia_tone_desc tones[], - unsigned options); - -/** - * Instruct the tone generator to play multiple MF digits with each of - * the digits having individual ON/OFF duration. Each of the digit in the - * digit array must have the corresponding descriptor in the digit map. - * The new tones will be appended to currently playing tones, unless - * #pjmedia_tonegen_stop() is called before calling this function. - * The playback will begin as soon as the first get_frame() is called - * to the generator. - * - * @param tonegen The tone generator instance. - * @param count Number of digits in the array. - * @param digits Array of MF digits. - * @param options Option flags. Application may specify - * PJMEDIA_TONEGEN_LOOP to play the tone in a loop. - * - * @return PJ_SUCCESS on success, or PJ_ETOOMANY if - * there are too many digits in the queue, or - * PJMEDIA_RTP_EINDTMF if invalid digit is - * specified. - */ -PJ_DECL(pj_status_t) pjmedia_tonegen_play_digits(pjmedia_port *tonegen, - unsigned count, - const pjmedia_tone_digit digits[], - unsigned options); - - -/** - * Get the digit-map currently used by this tone generator. - * - * @param tonegen The tone generator instance. - * @param m On output, it will be filled with the pointer to - * the digitmap currently used by the tone generator. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_tonegen_get_digit_map(pjmedia_port *tonegen, - const pjmedia_tone_digit_map **m); - - -/** - * Set digit map to be used by the tone generator. - * - * @param tonegen The tone generator instance. - * @param m Digitmap to be used by the tone generator. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_tonegen_set_digit_map(pjmedia_port *tonegen, - pjmedia_tone_digit_map *m); - - -PJ_END_DECL - -/** - * @} - */ - - -#endif /* __PJMEDIA_TONEGEN_PORT_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/transport.h b/res/pjproject/pjmedia/include/pjmedia/transport.h deleted file mode 100644 index e3e664f7bd..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/transport.h +++ /dev/null @@ -1,853 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_TRANSPORT_H__ -#define __PJMEDIA_TRANSPORT_H__ - - -/** - * @file transport.h Media Transport Interface - * @brief Transport interface. - */ - -#include -#include -#include - -/** - * @defgroup PJMEDIA_TRANSPORT Media Transport - * @brief Transports. - * @{ - * The media transport (#pjmedia_transport) is the object to send and - * receive media packets over the network. The media transport interface - * allows the library to be extended to support different types of - * transports to send and receive packets. - * - * The media transport is declared as #pjmedia_transport "class", which - * declares "interfaces" to use the class in #pjmedia_transport_op - * structure. For the user of the media transport (normally the user of - * media transport is media stream, see \ref PJMED_STRM), these transport - * "methods" are wrapped with API such as #pjmedia_transport_attach(), - * so it should not need to call the function pointer inside - * #pjmedia_transport_op directly. - * - * The connection between \ref PJMED_STRM and media transport is shown in - * the diagram below: - - \image html media-transport.PNG - - - * \section PJMEDIA_TRANSPORT_H_USING Basic Media Transport Usage - * - * The media transport's life-cycle normally follows the following stages. - * - * \subsection PJMEDIA_TRANSPORT_H_CREATE Creating the Media Transport - * - * Application creates the media transport when it needs to establish - * media session to remote peer. The media transport is created using - * specific function to create that particular transport; for example, - * for UDP media transport, it is created with #pjmedia_transport_udp_create() - * or #pjmedia_transport_udp_create2() functions. Different media - * transports will provide different API to create those transports. - * - * Alternatively, application may create pool of media transports when - * it is first started up. Using this approach probably is better, since - * application has to specify the RTP port when sending the initial - * session establishment request (e.g. SIP INVITE request), thus if - * application only creates the media transport later when media is to be - * established (normally when 200/OK is received, or when 18x is received - * for early media), there is a possibility that the particular RTP - * port might have been occupied by other programs. Also it is more - * efficient since sockets don't need to be closed and re-opened between - * calls. - * - * - * \subsection PJMEDIA_TRANSPORT_H_ATTACH Attaching and Using the Media Transport. - * - * Application specifies the media transport instance when creating - * the media session (#pjmedia_session_create()). Alternatively, it - * may create the media stream directly with #pjmedia_stream_create() - * and specify the transport instance in the argument. (Note: media - * session is a high-level abstraction for media communications between - * two endpoints, and it may contain more than one media streams, for - * example, an audio stream and a video stream). - * - * When stream is created, it will "attach" itself to the media - * transport by calling #pjmedia_transport_attach(), which is a thin - * wrapper which calls "attach()" method of the media transport's - * "virtual function pointer" (#pjmedia_transport_op). Among other things, - * the stream specifies two callback functions to the transport: one - * callback function will be called by transport when it receives RTP - * packet, and another callback for incoming RTCP packet. The - * #pjmedia_transport_attach() function also establish the destination - * of the outgoing RTP and RTCP packets. - * - * When the stream needs to send outgoing RTP/RTCP packets, it will - * call #pjmedia_transport_send_rtp() and #pjmedia_transport_send_rtcp() - * of the media transport API, which is a thin wrapper to call send_rtp() - * and send_rtcp() methods in the media transport's "virtual function - * pointer" (#pjmedia_transport_op). - * - * When the stream is destroyed, it will "detach" itself from - * the media transport by calling #pjmedia_transport_detach(), which is - * a thin wrapper which calls "detach()" method of the media transport's - * "virtual function pointer" (#pjmedia_transport_op). After the transport - * is detached from its user (the stream), it will no longer report - * incoming RTP/RTCP packets to the stream, and it will refuse to send - * outgoing packets since the destination has been cleared. - * - * - * \subsection PJMEDIA_TRANSPORT_H_REUSE Reusing the Media Transport. - * - * After transport has been detached, application may re-attach the - * transport to another stream if it wants to. Detaching and re-attaching - * media transport may be preferable than closing and re-opening the - * transport, since it is more efficient (sockets don't need to be - * closed and re-opened). However it is up to the application to choose - * which method is most suitable for its uses. - * - * - * \subsection PJMEDIA_TRANSPORT_H_DESTROY Destroying the Media Transport. - * - * Finally if application no longer needs the media transport, it will - * call #pjmedia_transport_close() function, which is thin wrapper which - * calls "destroy()" method of the media transport's "virtual function - * pointer" (#pjmedia_transport_op). This function releases - * all resources used by the transport, such as sockets and memory. - * - * - * \section offer_answer Interaction with SDP Offer/Answer - - For basic UDP transport, the \ref PJMEDIA_TRANSPORT_H_USING above is - sufficient to use the media transport. However, more complex media - transports such as \ref PJMEDIA_TRANSPORT_SRTP and \ref - PJMEDIA_TRANSPORT_ICE requires closer interactions with SDP offer and - answer negotiation. - - The media transports can interact with the SDP offer/answer via - these APIs: - - #pjmedia_transport_media_create(), to initialize the media transport - for new media session, - - #pjmedia_transport_encode_sdp(), to encode SDP offer or answer, - - #pjmedia_transport_media_start(), to activate the settings that - have been negotiated by SDP offer answer, and - - #pjmedia_transport_media_stop(), to deinitialize the media transport - and reset the transport to its idle state. - - The usage of these API in the context of SDP offer answer will be - described below. - - \subsection media_create Initializing Transport for New Session - - Application must call #pjmedia_transport_media_create() before using - the transport for a new session. - - \subsection creat_oa Creating SDP Offer and Answer - - The #pjmedia_transport_encode_sdp() is used to put additional information - from the transport to the local SDP, before the SDP is sent and negotiated - with remote SDP. - - When creating an offer, call #pjmedia_transport_encode_sdp() with - local SDP (and NULL as \a rem_sdp). The media transport will add the - relevant attributes in the local SDP. Application then gives the local - SDP to the invite session to be sent to remote agent. - - When creating an answer, also call #pjmedia_transport_encode_sdp(), - but this time specify both local and remote SDP to the function. The - media transport will once again modify the local SDP and add relevant - attributes to the local SDP, if the appropriate attributes related to - the transport functionality are present in remote offer. The remote - SDP does not contain the relevant attributes, then the specific transport - functionality will not be activated for the session. - - The #pjmedia_transport_encode_sdp() should also be called when application - sends subsequent SDP offer or answer. The media transport will encode - the appropriate attributes based on the state of the session. - - \subsection media_start Offer/Answer Completion - - Once both local and remote SDP have been negotiated by the - \ref PJMEDIA_SDP_NEG (normally this is part of PJSIP invite session), - application should give both local and remote SDP to - #pjmedia_transport_media_start() so that the settings are activated - for the session. This function should be called for both initial and - subsequent SDP negotiation. - - \subsection media_stop Stopping Transport - - Once session is stop application must call #pjmedia_transport_media_stop() - to deactivate the transport feature. Application may reuse the transport - for subsequent media session by repeating the #pjmedia_transport_media_create(), - #pjmedia_transport_encode_sdp(), #pjmedia_transport_media_start(), and - #pjmedia_transport_media_stop() above. - - * \section PJMEDIA_TRANSPORT_H_IMPL Implementing Media Transport - * - * To implement a new type of media transport, one needs to "subclass" the - * media transport "class" (#pjmedia_transport) by providing the "methods" - * in the media transport "interface" (#pjmedia_transport_op), and provides - * a function to create this new type of transport (similar to - * #pjmedia_transport_udp_create() function). - * - * The media transport is expected to run indepently, that is there should - * be no polling like function to poll the transport for incoming RTP/RTCP - * packets. This normally can be done by registering the media sockets to - * the media endpoint's IOQueue, which allows the transport to be notified - * when incoming packet has arrived. - * - * Alternatively, media transport may utilize thread(s) internally to wait - * for incoming packets. The thread then will call the appropriate RTP or - * RTCP callback provided by its user (stream) whenever packet is received. - * If the transport's user is a stream, then the callbacks provided by the - * stream will be thread-safe, so the transport may call these callbacks - * without having to serialize the access with some mutex protection. But - * the media transport may still have to protect its internal data with - * mutex protection, since it may be called by application's thread (for - * example, to send RTP/RTCP packets). - * - */ - - -#include - -PJ_BEGIN_DECL - - -/** - * Forward declaration for media transport. - */ -typedef struct pjmedia_transport pjmedia_transport; - -/** - * Forward declaration for media transport info. - */ -typedef struct pjmedia_transport_info pjmedia_transport_info; - -/** - * This enumeration specifies the general behaviour of media processing - */ -typedef enum pjmedia_tranport_media_option -{ - /** - * When this flag is specified, the transport will not perform media - * transport validation, this is useful when transport is stacked with - * other transport, for example when transport UDP is stacked under - * transport SRTP, media transport validation only need to be done by - * transport SRTP. - */ - PJMEDIA_TPMED_NO_TRANSPORT_CHECKING = 1 - -} pjmedia_tranport_media_option; - - -/** - * Media socket info is used to describe the underlying sockets - * to be used as media transport. - */ -typedef struct pjmedia_sock_info -{ - /** The RTP socket handle */ - pj_sock_t rtp_sock; - - /** Address to be advertised as the local address for the RTP - * socket, which does not need to be equal as the bound - * address (for example, this address can be the address resolved - * with STUN). - */ - pj_sockaddr rtp_addr_name; - - /** The RTCP socket handle. */ - pj_sock_t rtcp_sock; - - /** Address to be advertised as the local address for the RTCP - * socket, which does not need to be equal as the bound - * address (for example, this address can be the address resolved - * with STUN). - */ - pj_sockaddr rtcp_addr_name; - -} pjmedia_sock_info; - - -/** - * This structure describes the operations for the stream transport. - */ -struct pjmedia_transport_op -{ - /** - * Get media socket info from the specified transport. - * - * Application should call #pjmedia_transport_get_info() instead - */ - pj_status_t (*get_info)(pjmedia_transport *tp, - pjmedia_transport_info *info); - - /** - * This function is called by the stream when the transport is about - * to be used by the stream for the first time, and it tells the transport - * about remote RTP address to send the packet and some callbacks to be - * called for incoming packets. - * - * Application should call #pjmedia_transport_attach() instead of - * calling this function directly. - */ - pj_status_t (*attach)(pjmedia_transport *tp, - void *user_data, - const pj_sockaddr_t *rem_addr, - const pj_sockaddr_t *rem_rtcp, - unsigned addr_len, - void (*rtp_cb)(void *user_data, - void *pkt, - pj_ssize_t size), - void (*rtcp_cb)(void *user_data, - void *pkt, - pj_ssize_t size)); - - /** - * This function is called by the stream when the stream no longer - * needs the transport (normally when the stream is about to be closed). - * After the transport is detached, it will ignore incoming - * RTP/RTCP packets, and will refuse to send outgoing RTP/RTCP packets. - * Application may re-attach the media transport to another transport - * user (e.g. stream) after the transport has been detached. - * - * Application should call #pjmedia_transport_detach() instead of - * calling this function directly. - */ - void (*detach)(pjmedia_transport *tp, - void *user_data); - - /** - * This function is called by the stream to send RTP packet using the - * transport. - * - * Application should call #pjmedia_transport_send_rtp() instead of - * calling this function directly. - */ - pj_status_t (*send_rtp)(pjmedia_transport *tp, - const void *pkt, - pj_size_t size); - - /** - * This function is called by the stream to send RTCP packet using the - * transport. - * - * Application should call #pjmedia_transport_send_rtcp() instead of - * calling this function directly. - */ - pj_status_t (*send_rtcp)(pjmedia_transport *tp, - const void *pkt, - pj_size_t size); - - /** - * This function is called by the stream to send RTCP packet using the - * transport with destination address other than default specified in - * #pjmedia_transport_attach(). - * - * Application should call #pjmedia_transport_send_rtcp2() instead of - * calling this function directly. - */ - pj_status_t (*send_rtcp2)(pjmedia_transport *tp, - const pj_sockaddr_t *addr, - unsigned addr_len, - const void *pkt, - pj_size_t size); - - /** - * Prepare the transport for a new media session. - * - * Application should call #pjmedia_transport_media_create() instead of - * calling this function directly. - */ - pj_status_t (*media_create)(pjmedia_transport *tp, - pj_pool_t *sdp_pool, - unsigned options, - const pjmedia_sdp_session *remote_sdp, - unsigned media_index); - - /** - * This function is called by application to generate the SDP parts - * related to transport type, e.g: ICE, SRTP. - * - * Application should call #pjmedia_transport_encode_sdp() instead of - * calling this function directly. - */ - pj_status_t (*encode_sdp)(pjmedia_transport *tp, - pj_pool_t *sdp_pool, - pjmedia_sdp_session *sdp_local, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index); - - /** - * This function is called by application to start the transport - * based on local and remote SDP. - * - * Application should call #pjmedia_transport_media_start() instead of - * calling this function directly. - */ - pj_status_t (*media_start) (pjmedia_transport *tp, - pj_pool_t *tmp_pool, - const pjmedia_sdp_session *sdp_local, - const pjmedia_sdp_session *sdp_remote, - unsigned media_index); - - /** - * This function is called by application to stop the transport. - * - * Application should call #pjmedia_transport_media_stop() instead of - * calling this function directly. - */ - pj_status_t (*media_stop) (pjmedia_transport *tp); - - /** - * This function can be called to simulate packet lost. - * - * Application should call #pjmedia_transport_simulate_lost() instead of - * calling this function directly. - */ - pj_status_t (*simulate_lost)(pjmedia_transport *tp, - pjmedia_dir dir, - unsigned pct_lost); - - /** - * This function can be called to destroy this transport. - * - * Application should call #pjmedia_transport_close() instead of - * calling this function directly. - */ - pj_status_t (*destroy)(pjmedia_transport *tp); -}; - - -/** - * @see pjmedia_transport_op. - */ -typedef struct pjmedia_transport_op pjmedia_transport_op; - - -/** - * Media transport type. - */ -typedef enum pjmedia_transport_type -{ - /** Media transport using standard UDP */ - PJMEDIA_TRANSPORT_TYPE_UDP, - - /** Media transport using ICE */ - PJMEDIA_TRANSPORT_TYPE_ICE, - - /** - * Media transport SRTP, this transport is actually security adapter to be - * stacked with other transport to enable encryption on the underlying - * transport. - */ - PJMEDIA_TRANSPORT_TYPE_SRTP, - - /** - * Start of user defined transport. - */ - PJMEDIA_TRANSPORT_TYPE_USER - -} pjmedia_transport_type; - - -/** - * This structure declares media transport. A media transport is called - * by the stream to transmit a packet, and will notify stream when - * incoming packet is arrived. - */ -struct pjmedia_transport -{ - /** Transport name (for logging purpose). */ - char name[PJ_MAX_OBJ_NAME]; - - /** Transport type. */ - pjmedia_transport_type type; - - /** Transport's "virtual" function table. */ - pjmedia_transport_op *op; - - /** Application/user data */ - void *user_data; -}; - -/** - * This structure describes storage buffer of transport specific info. - * The actual transport specific info contents will be defined by transport - * implementation. Note that some transport implementations do not need to - * provide specific info, since the general socket info is enough. - */ -typedef struct pjmedia_transport_specific_info -{ - /** - * Specify media transport type. - */ - pjmedia_transport_type type; - - /** - * Specify storage buffer size of transport specific info. - */ - int cbsize; - - /** - * Storage buffer of transport specific info. - */ - char buffer[PJMEDIA_TRANSPORT_SPECIFIC_INFO_MAXSIZE]; - -} pjmedia_transport_specific_info; - - -/** - * This structure describes transport informations, including general - * socket information and specific information of single transport or - * stacked transports (e.g: SRTP stacked on top of UDP) - */ -struct pjmedia_transport_info -{ - /** - * General socket info. - */ - pjmedia_sock_info sock_info; - - /** - * Remote address where RTP/RTCP originated from. In case this transport - * hasn't ever received packet, the - */ - pj_sockaddr src_rtp_name; - pj_sockaddr src_rtcp_name; - - /** - * Specifies number of transport specific info included. - */ - unsigned specific_info_cnt; - - /** - * Buffer storage of transport specific info. - */ - pjmedia_transport_specific_info spc_info[PJMEDIA_TRANSPORT_SPECIFIC_INFO_MAXCNT]; - -}; - - -/** - * Initialize transport info. - * - * @param info Transport info to be initialized. - */ -PJ_INLINE(void) pjmedia_transport_info_init(pjmedia_transport_info *info) -{ - pj_bzero(&info->sock_info, sizeof(pjmedia_sock_info)); - info->sock_info.rtp_sock = info->sock_info.rtcp_sock = PJ_INVALID_SOCKET; - info->specific_info_cnt = 0; -} - - -/** - * Get media transport info from the specified transport and all underlying - * transports if any. The transport also contains information about socket info - * which describes the local address of the transport, and would be needed - * for example to fill in the "c=" and "m=" line of local SDP. - * - * @param tp The transport. - * @param info Media socket info to be initialized. - * - * @return PJ_SUCCESS on success. - */ -PJ_INLINE(pj_status_t) pjmedia_transport_get_info(pjmedia_transport *tp, - pjmedia_transport_info *info) -{ - if (tp && tp->op && tp->op->get_info) - return (*tp->op->get_info)(tp, info); - - return PJ_ENOTSUP; -} - - -/** - * Attach callbacks to be called on receipt of incoming RTP/RTCP packets. - * This is just a simple wrapper which calls attach() member of - * the transport. - * - * @param tp The media transport. - * @param user_data Arbitrary user data to be set when the callbacks are - * called. - * @param rem_addr Remote RTP address to send RTP packet to. - * @param rem_rtcp Optional remote RTCP address. If the argument is NULL - * or if the address is zero, the RTCP address will be - * calculated from the RTP address (which is RTP port - * plus one). - * @param addr_len Length of the remote address. - * @param rtp_cb Callback to be called when RTP packet is received on - * the transport. - * @param rtcp_cb Callback to be called when RTCP packet is received on - * the transport. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_INLINE(pj_status_t) pjmedia_transport_attach(pjmedia_transport *tp, - void *user_data, - const pj_sockaddr_t *rem_addr, - const pj_sockaddr_t *rem_rtcp, - unsigned addr_len, - void (*rtp_cb)(void *user_data, - void *pkt, - pj_ssize_t), - void (*rtcp_cb)(void *usr_data, - void*pkt, - pj_ssize_t)) -{ - return tp->op->attach(tp, user_data, rem_addr, rem_rtcp, addr_len, - rtp_cb, rtcp_cb); -} - - -/** - * Detach callbacks from the transport. - * This is just a simple wrapper which calls detach() member of - * the transport. After the transport is detached, it will ignore incoming - * RTP/RTCP packets, and will refuse to send outgoing RTP/RTCP packets. - * Application may re-attach the media transport to another transport user - * (e.g. stream) after the transport has been detached. - * - * @param tp The media transport. - * @param user_data User data which must match the previously set value - * on attachment. - */ -PJ_INLINE(void) pjmedia_transport_detach(pjmedia_transport *tp, - void *user_data) -{ - tp->op->detach(tp, user_data); -} - - -/** - * Send RTP packet with the specified media transport. This is just a simple - * wrapper which calls send_rtp() member of the transport. The - * RTP packet will be delivered to the destination address specified in - * #pjmedia_transport_attach() function. - * - * @param tp The media transport. - * @param pkt The packet to send. - * @param size Size of the packet. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_INLINE(pj_status_t) pjmedia_transport_send_rtp(pjmedia_transport *tp, - const void *pkt, - pj_size_t size) -{ - return (*tp->op->send_rtp)(tp, pkt, size); -} - - -/** - * Send RTCP packet with the specified media transport. This is just a simple - * wrapper which calls send_rtcp() member of the transport. The - * RTCP packet will be delivered to the destination address specified in - * #pjmedia_transport_attach() function. - * - * @param tp The media transport. - * @param pkt The packet to send. - * @param size Size of the packet. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_INLINE(pj_status_t) pjmedia_transport_send_rtcp(pjmedia_transport *tp, - const void *pkt, - pj_size_t size) -{ - return (*tp->op->send_rtcp)(tp, pkt, size); -} - - -/** - * Send RTCP packet with the specified media transport. This is just a simple - * wrapper which calls send_rtcp2() member of the transport. The - * RTCP packet will be delivered to the destination address specified in - * param addr, if addr is NULL, RTCP packet will be delivered to destination - * address specified in #pjmedia_transport_attach() function. - * - * @param tp The media transport. - * @param addr The destination address. - * @param addr_len Length of destination address. - * @param pkt The packet to send. - * @param size Size of the packet. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_INLINE(pj_status_t) pjmedia_transport_send_rtcp2(pjmedia_transport *tp, - const pj_sockaddr_t *addr, - unsigned addr_len, - const void *pkt, - pj_size_t size) -{ - return (*tp->op->send_rtcp2)(tp, addr, addr_len, pkt, size); -} - - -/** - * Prepare the media transport for a new media session, Application must - * call this function before starting a new media session using this - * transport. - * - * This is just a simple wrapper which calls media_create() member - * of the transport. - * - * @param tp The media transport. - * @param sdp_pool Pool object to allocate memory related to SDP - * messaging components. - * @param options Option flags, from #pjmedia_tranport_media_option - * @param rem_sdp Remote SDP if local SDP is an answer, otherwise - * specify NULL if SDP is an offer. - * @param media_index Media index in SDP. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_INLINE(pj_status_t) pjmedia_transport_media_create(pjmedia_transport *tp, - pj_pool_t *sdp_pool, - unsigned options, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index) -{ - return (*tp->op->media_create)(tp, sdp_pool, options, rem_sdp, - media_index); -} - - -/** - * Put transport specific information into the SDP. This function can be - * called to put transport specific information in the initial or - * subsequent SDP offer or answer. - * - * This is just a simple wrapper which calls encode_sdp() member - * of the transport. - * - * @param tp The media transport. - * @param sdp_pool Pool object to allocate memory related to SDP - * messaging components. - * @param sdp The local SDP to be filled in information from the - * media transport. - * @param rem_sdp Remote SDP if local SDP is an answer, otherwise - * specify NULL if SDP is an offer. - * @param media_index Media index in SDP. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_INLINE(pj_status_t) pjmedia_transport_encode_sdp(pjmedia_transport *tp, - pj_pool_t *sdp_pool, - pjmedia_sdp_session *sdp, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index) -{ - return (*tp->op->encode_sdp)(tp, sdp_pool, sdp, rem_sdp, media_index); -} - - -/** - * Start the transport session with the settings in both local and remote - * SDP. The actual work that is done by this function depends on the - * underlying transport type. For SRTP, this will activate the encryption - * and decryption based on the keys found the SDPs. For ICE, this will - * start ICE negotiation according to the information found in the SDPs. - * - * This is just a simple wrapper which calls media_start() member - * of the transport. - * - * @param tp The media transport. - * @param tmp_pool The memory pool for allocating temporary objects. - * @param sdp_local Local SDP. - * @param sdp_remote Remote SDP. - * @param media_index Media index in the SDP. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_INLINE(pj_status_t) pjmedia_transport_media_start(pjmedia_transport *tp, - pj_pool_t *tmp_pool, - const pjmedia_sdp_session *sdp_local, - const pjmedia_sdp_session *sdp_remote, - unsigned media_index) -{ - return (*tp->op->media_start)(tp, tmp_pool, sdp_local, sdp_remote, - media_index); -} - - -/** - * This API should be called when the session is stopped, to allow the media - * transport to release its resources used for the session. - * - * This is just a simple wrapper which calls media_stop() member - * of the transport. - * - * @param tp The media transport. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_INLINE(pj_status_t) pjmedia_transport_media_stop(pjmedia_transport *tp) -{ - return (*tp->op->media_stop)(tp); -} - -/** - * Close media transport. This is just a simple wrapper which calls - * destroy() member of the transport. This function will free - * all resources created by this transport (such as sockets, memory, etc.). - * - * @param tp The media transport. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_INLINE(pj_status_t) pjmedia_transport_close(pjmedia_transport *tp) -{ - if (tp->op->destroy) - return (*tp->op->destroy)(tp); - else - return PJ_SUCCESS; -} - -/** - * Simulate packet lost in the specified direction (for testing purposes). - * When enabled, the transport will randomly drop packets to the specified - * direction. - * - * @param tp The media transport. - * @param dir Media direction to which packets will be randomly dropped. - * @param pct_lost Percent lost (0-100). Set to zero to disable packet - * lost simulation. - * - * @return PJ_SUCCESS on success. - */ -PJ_INLINE(pj_status_t) pjmedia_transport_simulate_lost(pjmedia_transport *tp, - pjmedia_dir dir, - unsigned pct_lost) -{ - return (*tp->op->simulate_lost)(tp, dir, pct_lost); -} - - -PJ_END_DECL - -/** - * @} - */ - - -#endif /* __PJMEDIA_TRANSPORT_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/transport_adapter_sample.h b/res/pjproject/pjmedia/include/pjmedia/transport_adapter_sample.h deleted file mode 100644 index 62eb1c0f23..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/transport_adapter_sample.h +++ /dev/null @@ -1,76 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_TRANSPORT_ADAPTER_SAMPLE_H__ -#define __PJMEDIA_TRANSPORT_ADAPTER_SAMPLE_H__ - - -/** - * @file transport_adapter_sample.h - * @brief Sample Media Transport Adapter - */ - -#include - - -/** - * @defgroup PJMEDIA_TRANSPORT_ADAPTER_SAMPLE Sample Transport Adapter - * @ingroup PJMEDIA_TRANSPORT - * @brief Example on how to create transport adapter. - * @{ - * - * This describes a sample implementation of transport adapter, similar to - * the way the SRTP transport adapter works. - */ - -PJ_BEGIN_DECL - - -/** - * Create the transport adapter, specifying the underlying transport to be - * used to send and receive RTP/RTCP packets. - * - * @param endpt The media endpoint. - * @param name Optional name to identify this media transport - * for logging purposes. - * @param base_tp The base/underlying media transport to send and - * receive RTP/RTCP packets. - * @param del_base Specify whether the base transport should also be - * destroyed when destroy() is called upon us. - * @param p_tp Pointer to receive the media transport instance. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_tp_adapter_create( pjmedia_endpt *endpt, - const char *name, - pjmedia_transport *base_tp, - pj_bool_t del_base, - pjmedia_transport **p_tp); - -PJ_END_DECL - - -/** - * @} - */ - - -#endif /* __PJMEDIA_TRANSPORT_ADAPTER_SAMPLE_H__ */ - - diff --git a/res/pjproject/pjmedia/include/pjmedia/transport_ice.h b/res/pjproject/pjmedia/include/pjmedia/transport_ice.h deleted file mode 100644 index 0ba556185b..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/transport_ice.h +++ /dev/null @@ -1,228 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_TRANSPORT_ICE_H__ -#define __PJMEDIA_TRANSPORT_ICE_H__ - - -/** - * @file transport_ice.h - * @brief ICE capable media transport. - */ - -#include -#include - - -/** - * @defgroup PJMEDIA_TRANSPORT_ICE ICE Media Transport - * @ingroup PJMEDIA_TRANSPORT - * @brief Interactive Connectivity Establishment (ICE) transport - * @{ - * - * This describes the implementation of media transport using - * Interactive Connectivity Establishment (ICE) protocol. - */ - -PJ_BEGIN_DECL - - -/** - * Structure containing callbacks to receive ICE notifications. - */ -typedef struct pjmedia_ice_cb -{ - /** - * This callback will be called when ICE negotiation completes. - * - * @param tp PJMEDIA ICE transport. - * @param op The operation - * @param status Operation status. - */ - void (*on_ice_complete)(pjmedia_transport *tp, - pj_ice_strans_op op, - pj_status_t status); - -} pjmedia_ice_cb; - - -/** - * This structure specifies ICE transport specific info. This structure - * will be filled in media transport specific info. - */ -typedef struct pjmedia_ice_transport_info -{ - /** - * ICE sesion state. - */ - pj_ice_strans_state sess_state; - - /** - * Session role. - */ - pj_ice_sess_role role; - - /** - * Number of components in the component array. Before ICE negotiation - * is complete, the number represents the number of components of the - * local agent. After ICE negotiation has been completed successfully, - * the number represents the number of common components between local - * and remote agents. - */ - unsigned comp_cnt; - - /** - * Array of ICE components. Typically the first element denotes RTP and - * second element denotes RTCP. - */ - struct - { - /** - * Local candidate type. - */ - pj_ice_cand_type lcand_type; - - /** - * The local address. - */ - pj_sockaddr lcand_addr; - - /** - * Remote candidate type. - */ - pj_ice_cand_type rcand_type; - - /** - * Remote address. - */ - pj_sockaddr rcand_addr; - - } comp[2]; - -} pjmedia_ice_transport_info; - - -/** - * Options that can be specified when creating ICE transport. - */ -enum pjmedia_transport_ice_options -{ - /** - * Normally when remote doesn't use ICE, the ICE transport will - * continuously check the source address of incoming packets to see - * if it is different than the configured remote address, and switch - * the remote address to the source address of the packet if they - * are different after several packets are received. - * Specifying this option will disable this feature. - */ - PJMEDIA_ICE_NO_SRC_ADDR_CHECKING = 1 -}; - - -/** - * Create the Interactive Connectivity Establishment (ICE) media transport - * using the specified configuration. When STUN or TURN (or both) is used, - * the creation operation will complete asynchronously, when STUN resolution - * and TURN allocation completes. When the initialization completes, the - * \a on_ice_complete() complete will be called with \a op parameter equal - * to PJ_ICE_STRANS_OP_INIT. - * - * In addition, this transport will also notify the application about the - * result of ICE negotiation, also in \a on_ice_complete() callback. In this - * case the callback will be called with \a op parameter equal to - * PJ_ICE_STRANS_OP_NEGOTIATION. - * - * Other than this, application should use the \ref PJMEDIA_TRANSPORT API - * to manipulate this media transport. - * - * @param endpt The media endpoint. - * @param name Optional name to identify this ICE media transport - * for logging purposes. - * @param comp_cnt Number of components to be created. - * @param cfg Pointer to configuration settings. - * @param cb Optional structure containing ICE specific callbacks. - * @param p_tp Pointer to receive the media transport instance. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_ice_create(pjmedia_endpt *endpt, - const char *name, - unsigned comp_cnt, - const pj_ice_strans_cfg *cfg, - const pjmedia_ice_cb *cb, - pjmedia_transport **p_tp); - - -/** - * The same as #pjmedia_ice_create() with additional \a options param. - * - * @param endpt The media endpoint. - * @param name Optional name to identify this ICE media transport - * for logging purposes. - * @param comp_cnt Number of components to be created. - * @param cfg Pointer to configuration settings. - * @param cb Optional structure containing ICE specific callbacks. - * @param options Options, see #pjmedia_transport_ice_options. - * @param p_tp Pointer to receive the media transport instance. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_ice_create2(pjmedia_endpt *endpt, - const char *name, - unsigned comp_cnt, - const pj_ice_strans_cfg *cfg, - const pjmedia_ice_cb *cb, - unsigned options, - pjmedia_transport **p_tp); - -/** - * The same as #pjmedia_ice_create2() with additional \a user_data param. - * - * @param endpt The media endpoint. - * @param name Optional name to identify this ICE media transport - * for logging purposes. - * @param comp_cnt Number of components to be created. - * @param cfg Pointer to configuration settings. - * @param cb Optional structure containing ICE specific callbacks. - * @param options Options, see #pjmedia_transport_ice_options. - * @param user_data User data to be attached to the transport. - * @param p_tp Pointer to receive the media transport instance. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_ice_create3(pjmedia_endpt *endpt, - const char *name, - unsigned comp_cnt, - const pj_ice_strans_cfg *cfg, - const pjmedia_ice_cb *cb, - unsigned options, - void *user_data, - pjmedia_transport **p_tp); - -PJ_END_DECL - - -/** - * @} - */ - - -#endif /* __PJMEDIA_TRANSPORT_ICE_H__ */ - - diff --git a/res/pjproject/pjmedia/include/pjmedia/transport_loop.h b/res/pjproject/pjmedia/include/pjmedia/transport_loop.h deleted file mode 100644 index d13bd24ce9..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/transport_loop.h +++ /dev/null @@ -1,82 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_TRANSPORT_LOOP_H__ -#define __PJMEDIA_TRANSPORT_LOOP_H__ - - -/** - * @file transport_loop.h - * @brief Loopback transport - */ - -#include - - -/** - * @defgroup PJMEDIA_TRANSPORT_LOOP Loopback Media Transport - * @ingroup PJMEDIA_TRANSPORT - * @brief Loopback transport for testing. - * @{ - * - * This is the loopback media transport, where packets sent to this transport - * will be sent back to the streams attached to this transport. Unlike the - * other PJMEDIA transports, the loop transport may be attached to multiple - * streams (in other words, application should specify the same loop transport - * instance when calling #pjmedia_stream_create()). Any RTP or RTCP packets - * sent by one stream to this transport by default will be sent back to all - * streams that are attached to this transport, including to the stream that - * sends the packet. Application may individually select which stream to - * receive packets by calling #pjmedia_transport_loop_disable_rx(). - */ - -PJ_BEGIN_DECL - - -/** - * Create the loopback transport. - * - * @param endpt The media endpoint instance. - * @param p_tp Pointer to receive the transport instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_transport_loop_create(pjmedia_endpt *endpt, - pjmedia_transport **p_tp); - - -/** - * Set this stream as the receiver of incoming packets. - */ -PJ_DECL(pj_status_t) pjmedia_transport_loop_disable_rx(pjmedia_transport *tp, - void *user, - pj_bool_t disabled); - - -PJ_END_DECL - - -/** - * @} - */ - - -#endif /* __PJMEDIA_TRANSPORT_LOOP_H__ */ - - diff --git a/res/pjproject/pjmedia/include/pjmedia/transport_srtp.h b/res/pjproject/pjmedia/include/pjmedia/transport_srtp.h deleted file mode 100644 index 910ec1d0de..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/transport_srtp.h +++ /dev/null @@ -1,317 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_TRANSPORT_SRTP_H__ -#define __PJMEDIA_TRANSPORT_SRTP_H__ - -/** - * @file transport_srtp.h - * @brief Secure RTP (SRTP) transport. - */ - -#include - - -/** - * @defgroup PJMEDIA_TRANSPORT_SRTP Secure RTP (SRTP) Media Transport - * @ingroup PJMEDIA_TRANSPORT - * @brief Media transport adapter to add SRTP feature to existing transports - * @{ - * - * This module implements SRTP as described by RFC 3711, using RFC 4568 as - * key exchange method. It implements \ref PJMEDIA_TRANSPORT to integrate - * with the rest of PJMEDIA framework. - * - * As we know, media transport is separated from the stream object (which - * does the encoding/decoding of PCM frames, (de)packetization of RTP/RTCP - * packets, and de-jitter buffering). The connection between stream and media - * transport is established when the stream is created (we need to specify - * media transport during stream creation), and the interconnection can be - * depicted from the diagram below: - * - \image html media-transport.PNG - - * I think the diagram above is self-explanatory. - * - * SRTP functionality is implemented as some kind of "adapter", which is - * plugged between the stream and the actual media transport that does - * sending/receiving RTP/RTCP packets. When SRTP is used, the interconnection - * between stream and transport is like the diagram below: - * - \image html media-srtp-transport.PNG - - * So to stream, the SRTP transport behaves as if it is a media transport - * (because it is a media transport), and to the media transport it behaves - * as if it is a stream. The SRTP object then forwards RTP packets back and - * forth between stream and the actual transport, encrypting/decrypting - * the RTP/RTCP packets as necessary. - * - * The neat thing about this design is the SRTP "adapter" then can be used - * to encrypt any kind of media transports. We currently have UDP and ICE - * media transports that can benefit SRTP, and we could add SRTP to any - * media transports that will be added in the future. - */ - -PJ_BEGIN_DECL - - -/** - * Crypto option. - */ -typedef enum pjmedia_srtp_crypto_option -{ - /** When this flag is specified, encryption will be disabled. */ - PJMEDIA_SRTP_NO_ENCRYPTION = 1, - - /** When this flag is specified, authentication will be disabled. */ - PJMEDIA_SRTP_NO_AUTHENTICATION = 2 - -} pjmedia_srtp_crypto_option; - - -/** - * This structure describes an individual crypto setting. - */ -typedef struct pjmedia_srtp_crypto -{ - /** Optional key. If empty, a random key will be autogenerated. */ - pj_str_t key; - - /** Crypto name. */ - pj_str_t name; - - /** Flags, bitmask from #pjmedia_srtp_crypto_option */ - unsigned flags; - -} pjmedia_srtp_crypto; - - -/** - * This enumeration specifies the behavior of the SRTP transport regarding - * media security offer and answer. - */ -typedef enum pjmedia_srtp_use -{ - /** - * When this flag is specified, SRTP will be disabled, and the transport - * will reject RTP/SAVP offer. - */ - PJMEDIA_SRTP_DISABLED, - - /** - * When this flag is specified, SRTP will be advertised as optional and - * incoming SRTP offer will be accepted. - */ - PJMEDIA_SRTP_OPTIONAL, - - /** - * When this flag is specified, the transport will require that RTP/SAVP - * media shall be used. - */ - PJMEDIA_SRTP_MANDATORY - -} pjmedia_srtp_use; - - -/** - * Settings to be given when creating SRTP transport. Application should call - * #pjmedia_srtp_setting_default() to initialize this structure with its - * default values. - */ -typedef struct pjmedia_srtp_setting -{ - /** - * Specify the usage policy. Default is PJMEDIA_SRTP_OPTIONAL. - */ - pjmedia_srtp_use use; - - /** - * Specify whether the SRTP transport should close the member transport - * when it is destroyed. Default: PJ_TRUE. - */ - pj_bool_t close_member_tp; - - /** - * Specify the number of crypto suite settings. - */ - unsigned crypto_count; - - /** - * Specify individual crypto suite setting. - */ - pjmedia_srtp_crypto crypto[8]; - -} pjmedia_srtp_setting; - - -/** - * This structure specifies SRTP transport specific info. This will fit - * into \a buffer field of pjmedia_transport_specific_info. - */ -typedef struct pjmedia_srtp_info -{ - /** - * Specify whether the SRTP transport is active for SRTP session. - */ - pj_bool_t active; - - /** - * Specify the policy used by the SRTP session for receive direction. - */ - pjmedia_srtp_crypto rx_policy; - - /** - * Specify the policy used by the SRTP session for transmit direction. - */ - pjmedia_srtp_crypto tx_policy; - - /** - * Specify the usage policy. - */ - pjmedia_srtp_use use; - - /** - * Specify the peer's usage policy. - */ - pjmedia_srtp_use peer_use; - -} pjmedia_srtp_info; - - -/** - * Initialize SRTP library. This function should be called before - * any SRTP functions, however calling #pjmedia_transport_srtp_create() - * will also invoke this function. This function will also register SRTP - * library deinitialization to #pj_atexit(), so the deinitialization - * of SRTP library will be performed automatically by PJLIB destructor. - * - * @param endpt The media endpoint instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_srtp_init_lib(pjmedia_endpt *endpt); - - -/** - * Initialize SRTP setting with its default values. - * - * @param opt SRTP setting to be initialized. - */ -PJ_DECL(void) pjmedia_srtp_setting_default(pjmedia_srtp_setting *opt); - - -/** - * Create an SRTP media transport. - * - * @param endpt The media endpoint instance. - * @param tp The actual media transport to send and receive - * RTP/RTCP packets. This media transport will be - * kept as member transport of this SRTP instance. - * @param opt Optional settings. If NULL is given, default - * settings will be used. - * @param p_tp Pointer to receive the transport SRTP instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_transport_srtp_create( - pjmedia_endpt *endpt, - pjmedia_transport *tp, - const pjmedia_srtp_setting *opt, - pjmedia_transport **p_tp); - - -/** - * Manually start SRTP session with the given parameters. Application only - * needs to call this function when the SRTP transport is used without SDP - * offer/answer. When SDP offer/answer framework is used, the SRTP transport - * will be started/stopped by #pjmedia_transport_media_start() and - * #pjmedia_transport_media_stop() respectively. - * - * Please note that even if an RTP stream is only one direction, application - * will still need to provide both crypto suites, because it is needed by - * RTCP. - - * If application specifies the crypto keys, the keys for transmit and receive - * direction MUST be different. - * - * @param srtp The SRTP transport. - * @param tx Crypto suite setting for transmit direction. - * @param rx Crypto suite setting for receive direction. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_transport_srtp_start( - pjmedia_transport *srtp, - const pjmedia_srtp_crypto *tx, - const pjmedia_srtp_crypto *rx); - -/** - * Stop SRTP session. - * - * @param srtp The SRTP media transport. - * - * @return PJ_SUCCESS on success. - * - * @see #pjmedia_transport_srtp_start() - */ -PJ_DECL(pj_status_t) pjmedia_transport_srtp_stop(pjmedia_transport *srtp); - - -/** - * This is a utility function to decrypt SRTP packet using SRTP transport. - * This function is not part of SRTP transport's API, but it can be used - * to decrypt SRTP packets from non-network (for example, from a saved file) - * without having to use the transport framework. See pcaputil.c in the - * samples collection on how to use this function. - * - * @param tp The SRTP transport. - * @param is_rtp Set to non-zero if the packet is SRTP, otherwise set - * to zero if the packet is SRTCP. - * @param pkt On input, it contains SRTP or SRTCP packet. On - * output, it contains the decrypted RTP/RTCP packet. - * @param pkt_len On input, specify the length of the buffer. On - * output, it will be filled with the actual length - * of decrypted packet. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_transport_srtp_decrypt_pkt(pjmedia_transport *tp, - pj_bool_t is_rtp, - void *pkt, - int *pkt_len); - - -/** - * Query member transport of SRTP. - * - * @param srtp The SRTP media transport. - * - * @return member media transport. - */ -PJ_DECL(pjmedia_transport*) pjmedia_transport_srtp_get_member( - pjmedia_transport *srtp); - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJMEDIA_TRANSPORT_SRTP_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/transport_udp.h b/res/pjproject/pjmedia/include/pjmedia/transport_udp.h deleted file mode 100644 index 308ef4edb6..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/transport_udp.h +++ /dev/null @@ -1,162 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_TRANSPORT_UDP_H__ -#define __PJMEDIA_TRANSPORT_UDP_H__ - - -/** - * @file transport_udp.h - * @brief Stream transport with UDP. - */ - -#include - - -/** - * @defgroup PJMEDIA_TRANSPORT_UDP UDP Media Transport - * @ingroup PJMEDIA_TRANSPORT - * @brief Implementation of media transport with UDP sockets. - * @{ - * - * The UDP media transport is the standard based media transport - * as described by RFC 3550/3551. It can be used to facilitate RTP/RTCP - * unicast or multicast communication. - */ - -PJ_BEGIN_DECL - - -/** - * Options that can be specified when creating UDP transport. - */ -enum pjmedia_transport_udp_options -{ - /** - * Normally the UDP transport will continuously check the source address - * of incoming packets to see if it is different than the configured - * remote address, and switch the remote address to the source address - * of the packet if they are different after several packets are - * received. - * Specifying this option will disable this feature. - */ - PJMEDIA_UDP_NO_SRC_ADDR_CHECKING = 1 -}; - - -/** - * Create an RTP and RTCP sockets and bind the sockets to the specified - * port to create media transport. - * - * @param endpt The media endpoint instance. - * @param name Optional name to be assigned to the transport. - * @param port UDP port number for the RTP socket. The RTCP port number - * will be set to one above RTP port. - * @param options Options, bitmask of #pjmedia_transport_udp_options. - * @param p_tp Pointer to receive the transport instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_transport_udp_create(pjmedia_endpt *endpt, - const char *name, - int port, - unsigned options, - pjmedia_transport **p_tp); - - -/** - * Create an RTP and RTCP sockets and bind the sockets to the specified - * address and port to create media transport. - * - * @param endpt The media endpoint instance. - * @param name Optional name to be assigned to the transport. - * @param addr Optional local address to bind the sockets to. If this - * argument is NULL or empty, the sockets will be bound - * to all interface. - * @param port UDP port number for the RTP socket. The RTCP port number - * will be set to one above RTP port. - * @param options Options, bitmask of #pjmedia_transport_udp_options. - * @param p_tp Pointer to receive the transport instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_transport_udp_create2(pjmedia_endpt *endpt, - const char *name, - const pj_str_t *addr, - int port, - unsigned options, - pjmedia_transport **p_tp); - -/** - * Another variant of #pjmedia_transport_udp_create() which allows - * the creation of IPv6 transport. - * - * @param endpt The media endpoint instance. - * @param af Address family, which can be pj_AF_INET() for IPv4 or - * pj_AF_INET6() for IPv6. - * @param name Optional name to be assigned to the transport. - * @param addr Optional local address to bind the sockets to. If this - * argument is NULL or empty, the sockets will be bound - * to all interface. - * @param port UDP port number for the RTP socket. The RTCP port number - * will be set to one above RTP port. - * @param options Options, bitmask of #pjmedia_transport_udp_options. - * @param p_tp Pointer to receive the transport instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_transport_udp_create3(pjmedia_endpt *endpt, - int af, - const char *name, - const pj_str_t *addr, - int port, - unsigned options, - pjmedia_transport **p_tp); - - -/** - * Create UDP stream transport from existing sockets. Use this function when - * the sockets have previously been created. - * - * @param endpt The media endpoint instance. - * @param name Optional name to be assigned to the transport. - * @param si Media socket info containing the RTP and RTCP sockets. - * @param options Options, bitmask of #pjmedia_transport_udp_options. - * @param p_tp Pointer to receive the transport instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_transport_udp_attach(pjmedia_endpt *endpt, - const char *name, - const pjmedia_sock_info *si, - unsigned options, - pjmedia_transport **p_tp); - - -PJ_END_DECL - - -/** - * @} - */ - - -#endif /* __PJMEDIA_TRANSPORT_UDP_H__ */ - - diff --git a/res/pjproject/pjmedia/include/pjmedia/types.h b/res/pjproject/pjmedia/include/pjmedia/types.h deleted file mode 100644 index 20e93d69aa..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/types.h +++ /dev/null @@ -1,272 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_TYPES_H__ -#define __PJMEDIA_TYPES_H__ - -/** - * @file pjmedia/types.h Basic Types - * @brief Basic PJMEDIA types. - */ - -#include -#include -#include - - -/** - * @defgroup PJMEDIA_PORT Media Ports Framework - * @brief Extensible framework for media terminations - */ - - -/** - * @defgroup PJMEDIA_FRAME_OP Audio Manipulation Algorithms - * @brief Algorithms to manipulate audio frames - */ - -/** - * @defgroup PJMEDIA_TYPES Basic Types - * @ingroup PJMEDIA_BASE - * @brief Basic PJMEDIA types and operations. - * @{ - */ - -/** - * Top most media type. See also #pjmedia_type_name(). - */ -typedef enum pjmedia_type -{ - /** Type is not specified. */ - PJMEDIA_TYPE_NONE, - - /** The media is audio */ - PJMEDIA_TYPE_AUDIO, - - /** The media is video. */ - PJMEDIA_TYPE_VIDEO, - - /** The media is application. */ - PJMEDIA_TYPE_APPLICATION, - - /** The media type is unknown or unsupported. */ - PJMEDIA_TYPE_UNKNOWN - -} pjmedia_type; - - -/** - * Media transport protocol. - */ -typedef enum pjmedia_tp_proto -{ - /** No transport type */ - PJMEDIA_TP_PROTO_NONE = 0, - - /** RTP using A/V profile */ - PJMEDIA_TP_PROTO_RTP_AVP, - - /** Secure RTP */ - PJMEDIA_TP_PROTO_RTP_SAVP, - - /** Unknown */ - PJMEDIA_TP_PROTO_UNKNOWN - -} pjmedia_tp_proto; - - -/** - * Media direction. - */ -typedef enum pjmedia_dir -{ - /** None */ - PJMEDIA_DIR_NONE = 0, - - /** Encoding (outgoing to network) stream, also known as capture */ - PJMEDIA_DIR_ENCODING = 1, - - /** Same as encoding direction. */ - PJMEDIA_DIR_CAPTURE = PJMEDIA_DIR_ENCODING, - - /** Decoding (incoming from network) stream, also known as playback. */ - PJMEDIA_DIR_DECODING = 2, - - /** Same as decoding. */ - PJMEDIA_DIR_PLAYBACK = PJMEDIA_DIR_DECODING, - - /** Same as decoding. */ - PJMEDIA_DIR_RENDER = PJMEDIA_DIR_DECODING, - - /** Incoming and outgoing stream, same as PJMEDIA_DIR_CAPTURE_PLAYBACK */ - PJMEDIA_DIR_ENCODING_DECODING = 3, - - /** Same as ENCODING_DECODING */ - PJMEDIA_DIR_CAPTURE_PLAYBACK = PJMEDIA_DIR_ENCODING_DECODING, - - /** Same as ENCODING_DECODING */ - PJMEDIA_DIR_CAPTURE_RENDER = PJMEDIA_DIR_ENCODING_DECODING - -} pjmedia_dir; - - -/** - * Opaque declaration of media endpoint. - */ -typedef struct pjmedia_endpt pjmedia_endpt; - -/* - * Forward declaration for stream (needed by transport). - */ -typedef struct pjmedia_stream pjmedia_stream; - -/** - * Enumeration for picture coordinate base. - */ -typedef enum pjmedia_coord_base -{ - /** - * This specifies that the pixel [0, 0] location is at the left-top - * position. - */ - PJMEDIA_COORD_BASE_LEFT_TOP, - - /** - * This specifies that the pixel [0, 0] location is at the left-bottom - * position. - */ - PJMEDIA_COORD_BASE_LEFT_BOTTOM - -} pjmedia_coord_base; - -/** - * This structure is used to represent rational numbers. - */ -typedef struct pjmedia_ratio -{ - int num; /** < Numerator. */ - int denum; /** < Denumerator. */ -} pjmedia_ratio; - -/** - * This structure represent a coordinate. - */ -typedef struct pjmedia_coord -{ - int x; /**< X position of the coordinate */ - int y; /**< Y position of the coordinate */ -} pjmedia_coord; - -/** - * This structure represents rectangle size. - */ -typedef struct pjmedia_rect_size -{ - unsigned w; /**< The width. */ - unsigned h; /**< The height. */ -} pjmedia_rect_size; - -/** - * This structure describes a rectangle. - */ -typedef struct pjmedia_rect -{ - pjmedia_coord coord; /**< The position. */ - pjmedia_rect_size size; /**< The size. */ -} pjmedia_rect; - -/** - * Enumeration for video/picture orientation. - */ -typedef enum pjmedia_orient -{ - /** - * Unknown orientation. - */ - PJMEDIA_ORIENT_UNKNOWN, - - /** - * Natural orientation, e.g: sky upside on landscape view, head upside - * on human portrait. - */ - PJMEDIA_ORIENT_NATURAL, - - /** - * Specifies that the video/picture needs to be rotated 90 degrees - * clockwise to be displayed in natural orientation. - */ - PJMEDIA_ORIENT_ROTATE_90DEG, - - /** - * Specifies that the video/picture needs to be rotated 180 degrees - * clockwise to be displayed in natural orientation. - */ - PJMEDIA_ORIENT_ROTATE_180DEG, - - /** - * Specifies that the video/picture needs to be rotated 270 degrees - * clockwise to be displayed in natural orientation. - */ - PJMEDIA_ORIENT_ROTATE_270DEG - -} pjmedia_orient; - - -/** - * Macro for packing format from a four character code, similar to FOURCC. - */ -#define PJMEDIA_FOURCC(C1, C2, C3, C4) ( C4<<24 | C3<<16 | C2<<8 | C1 ) - - -/** - * Utility function to return the string name for a pjmedia_type. - * - * @param t The media type. - * - * @return String. - */ -PJ_DECL(const char*) pjmedia_type_name(pjmedia_type t); - -/** - * A utility function to convert fourcc type of value to four letters string. - * - * @param sig The fourcc value. - * @param buf Buffer to store the string, which MUST be at least - * five bytes long. - * - * @return The string. - */ -PJ_INLINE(const char*) pjmedia_fourcc_name(pj_uint32_t sig, char buf[]) -{ - buf[3] = (char)((sig >> 24) & 0xFF); - buf[2] = (char)((sig >> 16) & 0xFF); - buf[1] = (char)((sig >> 8) & 0xFF); - buf[0] = (char)((sig >> 0) & 0xFF); - buf[4] = '\0'; - return buf; -} - - -/** - * @} - */ - - -#endif /* __PJMEDIA_TYPES_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/vid_codec.h b/res/pjproject/pjmedia/include/pjmedia/vid_codec.h deleted file mode 100644 index a5e86ea576..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/vid_codec.h +++ /dev/null @@ -1,871 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_VID_CODEC_H__ -#define __PJMEDIA_VID_CODEC_H__ - - -/** - * @file vid_codec.h - * @brief Video codec framework. - */ - -#include -#include -#include -#include -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJMEDIA_VID_CODEC Video Codecs - * @ingroup PJMEDIA_CODEC - * @{ - */ - -#define PJMEDIA_VID_CODEC_MAX_DEC_FMT_CNT 8 -#define PJMEDIA_VID_CODEC_MAX_FPS_CNT 16 - -/** - * This enumeration specifies the packetization property of video encoding - * process. The value is bitmask, and smaller value will have higher priority - * to be used. - */ -typedef enum pjmedia_vid_packing -{ - /** - * This specifies that the packetization is unknown, or if nothing - * is supported. - */ - PJMEDIA_VID_PACKING_UNKNOWN, - - /** - * This specifies that the result of video encoding process will be - * segmented into packets, which is suitable for RTP transmission. - * The maximum size of the packets is set in \a enc_mtu field of - * pjmedia_vid_codec_param. - */ - PJMEDIA_VID_PACKING_PACKETS = 1, - - /** - * This specifies that video encoding function will produce a whole - * or full frame from the source frame. This is normally used for - * encoding video for offline storage such as to an AVI file. The - * maximum size of the packets is set in \a enc_mtu field of - * pjmedia_vid_codec_param. - */ - PJMEDIA_VID_PACKING_WHOLE = 2 - -} pjmedia_vid_packing; - - -/** - * Enumeration of video frame info flag for the bit_info field in the - * pjmedia_frame. - */ -typedef enum pjmedia_vid_frm_bit_info -{ - /** - * The video frame is keyframe. - */ - PJMEDIA_VID_FRM_KEYFRAME = 1 - -} pjmedia_vid_frm_bit_info; - - -/** - * Encoding option. - */ -typedef struct pjmedia_vid_encode_opt -{ - /** - * Flag to force the encoder to generate keyframe for the specified input - * frame. When this flag is set, application can verify the result by - * examining PJMEDIA_VID_FRM_KEYFRAME flag in the bit_info field of the - * output frame. - */ - pj_bool_t force_keyframe; - -} pjmedia_vid_encode_opt; - - -/** - * Identification used to search for codec factory that supports specific - * codec specification. - */ -typedef struct pjmedia_vid_codec_info -{ - pjmedia_format_id fmt_id; /**< Encoded format ID */ - unsigned pt; /**< Payload type */ - pj_str_t encoding_name; /**< Encoding name */ - pj_str_t encoding_desc; /**< Encoding desc */ - unsigned clock_rate; /**< Clock rate */ - pjmedia_dir dir; /**< Direction */ - unsigned dec_fmt_id_cnt; /**< # of supported encoding source - format IDs */ - pjmedia_format_id dec_fmt_id[PJMEDIA_VID_CODEC_MAX_DEC_FMT_CNT]; - /**< Supported encoding source - format IDs */ - unsigned packings; /**< Supported or requested packings, - strategies, bitmask from - pjmedia_vid_packing */ - unsigned fps_cnt; /**< # of supported frame-rates, can be - zero (support any frame-rate) */ - pjmedia_ratio fps[PJMEDIA_VID_CODEC_MAX_FPS_CNT]; - /**< Supported frame-rates */ - -} pjmedia_vid_codec_info; - - -/** - * Detailed codec attributes used in configuring a codec and in querying - * the capability of codec factories. Default attributes of any codecs could - * be queried using #pjmedia_vid_codec_mgr_get_default_param() and modified - * using #pjmedia_vid_codec_mgr_set_default_param(). - * - * Please note that codec parameter also contains SDP specific setting, - * #dec_fmtp and #enc_fmtp, which may need to be set appropriately based on - * the effective setting. See each codec documentation for more detail. - */ -typedef struct pjmedia_vid_codec_param -{ - pjmedia_dir dir; /**< Direction */ - pjmedia_vid_packing packing; /**< Packetization strategy. */ - - pjmedia_format enc_fmt; /**< Encoded format */ - pjmedia_codec_fmtp enc_fmtp; /**< Encoder fmtp params */ - unsigned enc_mtu; /**< MTU or max payload size setting*/ - - pjmedia_format dec_fmt; /**< Decoded format */ - pjmedia_codec_fmtp dec_fmtp; /**< Decoder fmtp params */ - - pj_bool_t ignore_fmtp; /**< Ignore fmtp params. If set to - PJ_TRUE, the codec will apply - format settings specified in - enc_fmt and dec_fmt only. */ - -} pjmedia_vid_codec_param; - - -/** - * Duplicate video codec parameter. - * - * @param pool The pool. - * @param src The video codec parameter to be duplicated. - * - * @return Duplicated codec parameter. - */ -PJ_DECL(pjmedia_vid_codec_param*) pjmedia_vid_codec_param_clone( - pj_pool_t *pool, - const pjmedia_vid_codec_param *src); - -/** - * Forward declaration for video codec. - */ -typedef struct pjmedia_vid_codec pjmedia_vid_codec; - - -/** - * This structure describes codec operations. Each codec MUST implement - * all of these functions. - */ -typedef struct pjmedia_vid_codec_op -{ - /** - * See #pjmedia_vid_codec_init(). - */ - pj_status_t (*init)(pjmedia_vid_codec *codec, - pj_pool_t *pool ); - - /** - * See #pjmedia_vid_codec_open(). - */ - pj_status_t (*open)(pjmedia_vid_codec *codec, - pjmedia_vid_codec_param *param ); - - /** - * See #pjmedia_vid_codec_close(). - */ - pj_status_t (*close)(pjmedia_vid_codec *codec); - - /** - * See #pjmedia_vid_codec_modify(). - */ - pj_status_t (*modify)(pjmedia_vid_codec *codec, - const pjmedia_vid_codec_param *param); - - /** - * See #pjmedia_vid_codec_get_param(). - */ - pj_status_t (*get_param)(pjmedia_vid_codec *codec, - pjmedia_vid_codec_param *param); - - /** - * See #pjmedia_vid_codec_encode_begin(). - */ - pj_status_t (*encode_begin)(pjmedia_vid_codec *codec, - const pjmedia_vid_encode_opt *opt, - const pjmedia_frame *input, - unsigned out_size, - pjmedia_frame *output, - pj_bool_t *has_more); - - /** - * See #pjmedia_vid_codec_encode_more() - */ - pj_status_t (*encode_more)(pjmedia_vid_codec *codec, - unsigned out_size, - pjmedia_frame *output, - pj_bool_t *has_more); - - - /* - * See #pjmedia_vid_codec_decode(). - */ - pj_status_t (*decode)(pjmedia_vid_codec *codec, - pj_size_t count, - pjmedia_frame packets[], - unsigned out_size, - pjmedia_frame *output); - - /** - * See #pjmedia_vid_codec_recover() - */ - pj_status_t (*recover)(pjmedia_vid_codec *codec, - unsigned out_size, - pjmedia_frame *output); - -} pjmedia_vid_codec_op; - - - -/* - * Forward declaration for pjmedia_vid_codec_factory. - */ -typedef struct pjmedia_vid_codec_factory pjmedia_vid_codec_factory; - - -/** - * This structure describes a video codec instance. Codec implementers - * should use #pjmedia_vid_codec_init() to initialize this structure with - * default values. - */ -struct pjmedia_vid_codec -{ - /** Entries to put this codec instance in codec factory's list. */ - PJ_DECL_LIST_MEMBER(struct pjmedia_vid_codec); - - /** Codec's private data. */ - void *codec_data; - - /** Codec factory where this codec was allocated. */ - pjmedia_vid_codec_factory *factory; - - /** Operations to codec. */ - pjmedia_vid_codec_op *op; -}; - - - -/** - * This structure describes operations that must be supported by codec - * factories. - */ -typedef struct pjmedia_vid_codec_factory_op -{ - /** - * Check whether the factory can create codec with the specified - * codec info. - * - * @param factory The codec factory. - * @param info The codec info. - * - * @return PJ_SUCCESS if this factory is able to create an - * instance of codec with the specified info. - */ - pj_status_t (*test_alloc)(pjmedia_vid_codec_factory *factory, - const pjmedia_vid_codec_info *info ); - - /** - * Create default attributes for the specified codec ID. This function - * can be called by application to get the capability of the codec. - * - * @param factory The codec factory. - * @param info The codec info. - * @param attr The attribute to be initialized. - * - * @return PJ_SUCCESS if success. - */ - pj_status_t (*default_attr)(pjmedia_vid_codec_factory *factory, - const pjmedia_vid_codec_info *info, - pjmedia_vid_codec_param *attr ); - - /** - * Enumerate supported codecs that can be created using this factory. - * - * @param factory The codec factory. - * @param count On input, specifies the number of elements in - * the array. On output, the value will be set to - * the number of elements that have been initialized - * by this function. - * @param info The codec info array, which contents will be - * initialized upon return. - * - * @return PJ_SUCCESS on success. - */ - pj_status_t (*enum_info)(pjmedia_vid_codec_factory *factory, - unsigned *count, - pjmedia_vid_codec_info codecs[]); - - /** - * Create one instance of the codec with the specified codec info. - * - * @param factory The codec factory. - * @param info The codec info. - * @param p_codec Pointer to receive the codec instance. - * - * @return PJ_SUCCESS on success. - */ - pj_status_t (*alloc_codec)(pjmedia_vid_codec_factory *factory, - const pjmedia_vid_codec_info *info, - pjmedia_vid_codec **p_codec); - - /** - * This function is called by codec manager to return a particular - * instance of codec back to the codec factory. - * - * @param factory The codec factory. - * @param codec The codec instance to be returned. - * - * @return PJ_SUCCESS on success. - */ - pj_status_t (*dealloc_codec)(pjmedia_vid_codec_factory *factory, - pjmedia_vid_codec *codec ); - -} pjmedia_vid_codec_factory_op; - - - -/** - * Codec factory describes a module that is able to create codec with specific - * capabilities. These capabilities can be queried by codec manager to create - * instances of codec. - */ -struct pjmedia_vid_codec_factory -{ - /** Entries to put this structure in the codec manager list. */ - PJ_DECL_LIST_MEMBER(struct pjmedia_vid_codec_factory); - - /** The factory's private data. */ - void *factory_data; - - /** Operations to the factory. */ - pjmedia_vid_codec_factory_op *op; - -}; - - -/** - * Opaque declaration for codec manager. - */ -typedef struct pjmedia_vid_codec_mgr pjmedia_vid_codec_mgr; - -/** - * Declare maximum codecs - */ -#define PJMEDIA_VID_CODEC_MGR_MAX_CODECS 32 - - -/** - * Initialize codec manager. If there is no the default video codec manager, - * this function will automatically set the default video codec manager to - * the new codec manager instance. Normally this function is called by pjmedia - * endpoint's initialization code. - * - * @param pool The pool instance. - * @param mgr The pointer to the new codec manager instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_vid_codec_mgr_create(pj_pool_t *pool, - pjmedia_vid_codec_mgr **mgr); - - -/** - * Destroy codec manager. Normally this function is called by pjmedia - * endpoint's deinitialization code. - * - * @param mgr Codec manager instance. If NULL, it is the default codec - * manager instance will be destroyed. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_vid_codec_mgr_destroy(pjmedia_vid_codec_mgr *mgr); - - -/** - * Get the default codec manager instance. - * - * @return The default codec manager instance or NULL if none. - */ -PJ_DECL(pjmedia_vid_codec_mgr*) pjmedia_vid_codec_mgr_instance(void); - - -/** - * Set the default codec manager instance. - * - * @param mgr The codec manager instance. - */ -PJ_DECL(void) pjmedia_vid_codec_mgr_set_instance(pjmedia_vid_codec_mgr* mgr); - - -/** - * Register codec factory to codec manager. This will also register - * all supported codecs in the factory to the codec manager. - * - * @param mgr The codec manager instance. If NULL, the default codec - * manager instance will be used. - * @param factory The codec factory to be registered. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_vid_codec_mgr_register_factory( pjmedia_vid_codec_mgr *mgr, - pjmedia_vid_codec_factory *factory); - -/** - * Unregister codec factory from the codec manager. This will also - * remove all the codecs registered by the codec factory from the - * codec manager's list of supported codecs. - * - * @param mgr The codec manager instance. If NULL, the default codec - * manager instance will be used. - * @param factory The codec factory to be unregistered. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_vid_codec_mgr_unregister_factory( pjmedia_vid_codec_mgr *mgr, - pjmedia_vid_codec_factory *factory); - -/** - * Enumerate all supported codecs that have been registered to the - * codec manager by codec factories. - * - * @param mgr The codec manager instance. If NULL, the default codec - * manager instance will be used. - * @param count On input, specifies the number of elements in - * the array. On output, the value will be set to - * the number of elements that have been initialized - * by this function. - * @param info The codec info array, which contents will be - * initialized upon return. - * @param prio Optional pointer to receive array of codec priorities. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_vid_codec_mgr_enum_codecs(pjmedia_vid_codec_mgr *mgr, - unsigned *count, - pjmedia_vid_codec_info info[], - unsigned *prio); - - -/** - * Get codec info for the specified payload type. The payload type must be - * static or locally defined in #pjmedia_video_pt. - * - * @param mgr The codec manager instance. If NULL, the default codec - * manager instance will be used. - * @param pt The payload type/number. - * @param info Pointer to receive codec info. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_vid_codec_mgr_get_codec_info( pjmedia_vid_codec_mgr *mgr, - unsigned pt, - const pjmedia_vid_codec_info **info); - - -/** - * Get codec info for the specified format ID. - * - * @param mgr The codec manager instance. If NULL, the default codec - * manager instance will be used. - * @param fmt_id Format ID. See #pjmedia_format_id - * @param info Pointer to receive codec info. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_vid_codec_mgr_get_codec_info2(pjmedia_vid_codec_mgr *mgr, - pjmedia_format_id fmt_id, - const pjmedia_vid_codec_info **info); - - -/** - * Convert codec info struct into a unique codec identifier. - * A codec identifier looks something like "H263/90000". - * - * @param info The codec info - * @param id Buffer to put the codec info string. - * @param max_len The length of the buffer. - * - * @return The null terminated codec info string, or NULL if - * the buffer is not long enough. - */ -PJ_DECL(char*) pjmedia_vid_codec_info_to_id(const pjmedia_vid_codec_info *info, - char *id, unsigned max_len ); - - -/** - * Find codecs by the unique codec identifier. This function will find - * all codecs that match the codec identifier prefix. For example, if - * "H26" is specified, then it will find "H263/90000", "H264/90000", - * and so on, up to the maximum count specified in the argument. - * - * @param mgr The codec manager instance. If NULL, the default codec - * manager instance will be used. - * @param codec_id The full codec ID or codec ID prefix. If an empty - * string is given, it will match all codecs. - * @param count Maximum number of codecs to find. On return, it - * contains the actual number of codecs found. - * @param p_info Array of pointer to codec info to be filled. This - * argument may be NULL, which in this case, only - * codec count will be returned. - * @param prio Optional array of codec priorities. - * - * @return PJ_SUCCESS if at least one codec info is found. - */ -PJ_DECL(pj_status_t) -pjmedia_vid_codec_mgr_find_codecs_by_id(pjmedia_vid_codec_mgr *mgr, - const pj_str_t *codec_id, - unsigned *count, - const pjmedia_vid_codec_info *p_info[], - unsigned prio[]); - - -/** - * Set codec priority. The codec priority determines the order of - * the codec in the SDP created by the endpoint. If more than one codecs - * are found with the same codec_id prefix, then the function sets the - * priorities of all those codecs. - * - * @param mgr The codec manager instance. If NULL, the default codec - * manager instance will be used. - * @param codec_id The full codec ID or codec ID prefix. If an empty - * string is given, it will match all codecs. - * @param prio Priority to be set. The priority can have any value - * between 1 to 255. When the priority is set to zero, - * the codec will be disabled. - * - * @return PJ_SUCCESS if at least one codec info is found. - */ -PJ_DECL(pj_status_t) -pjmedia_vid_codec_mgr_set_codec_priority(pjmedia_vid_codec_mgr *mgr, - const pj_str_t *codec_id, - pj_uint8_t prio); - - -/** - * Get default codec param for the specified codec info. - * - * @param mgr The codec manager instance. If NULL, the default codec - * manager instance will be used. - * @param info The codec info, which default parameter's is being - * queried. - * @param param On return, will be filled with the default codec - * parameter. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_vid_codec_mgr_get_default_param(pjmedia_vid_codec_mgr *mgr, - const pjmedia_vid_codec_info *info, - pjmedia_vid_codec_param *param); - - -/** - * Set default codec param for the specified codec info. - * - * @param mgr The codec manager instance. If NULL, the default codec - * manager instance will be used. - * @param pool The pool instance. - * @param info The codec info, which default parameter's is being - * updated. - * @param param The new default codec parameter. Set to NULL to reset - * codec parameter to library default settings. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_vid_codec_mgr_set_default_param(pjmedia_vid_codec_mgr *mgr, - const pjmedia_vid_codec_info *info, - const pjmedia_vid_codec_param *param); - - -/** - * Request the codec manager to allocate one instance of codec with the - * specified codec info. The codec will enumerate all codec factories - * until it finds factory that is able to create the specified codec. - * - * @param mgr The codec manager instance. If NULL, the default codec - * manager instance will be used. - * @param info The information about the codec to be created. - * @param p_codec Pointer to receive the codec instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_vid_codec_mgr_alloc_codec( pjmedia_vid_codec_mgr *mgr, - const pjmedia_vid_codec_info *info, - pjmedia_vid_codec **p_codec); - -/** - * Deallocate the specified codec instance. The codec manager will return - * the instance of the codec back to its factory. - * - * @param mgr The codec manager instance. If NULL, the default codec - * manager instance will be used. - * @param codec The codec instance. - * - * @return PJ_SUCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_vid_codec_mgr_dealloc_codec( - pjmedia_vid_codec_mgr *mgr, - pjmedia_vid_codec *codec); - - - -/** - * Initialize codec using the specified attribute. - * - * @param codec The codec instance. - * @param pool Pool to use when the codec needs to allocate - * some memory. - * - * @return PJ_SUCCESS on success. - */ -PJ_INLINE(pj_status_t) pjmedia_vid_codec_init( pjmedia_vid_codec *codec, - pj_pool_t *pool ) -{ - return (*codec->op->init)(codec, pool); -} - - -/** - * Open the codec and initialize with the specified parameter. - * Upon successful initialization, the codec may modify the parameter - * and fills in the unspecified values (such as size or frame rate of - * the encoder format, as it may need to be negotiated with remote - * preferences via SDP fmtp). - * - * @param codec The codec instance. - * @param param Codec initialization parameter. - * - * @return PJ_SUCCESS on success. - */ -PJ_INLINE(pj_status_t) pjmedia_vid_codec_open(pjmedia_vid_codec *codec, - pjmedia_vid_codec_param *param) -{ - return (*codec->op->open)(codec, param); -} - - -/** - * Close and shutdown codec, releasing all resources allocated by - * this codec, if any. - * - * @param codec The codec instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_INLINE(pj_status_t) pjmedia_vid_codec_close( pjmedia_vid_codec *codec ) -{ - return (*codec->op->close)(codec); -} - - -/** - * Modify the codec parameter after the codec is open. - * Note that not all codec parameters can be modified during run-time. - * When the parameter cannot be changed, this function will return - * non-PJ_SUCCESS, and the original parameters will not be changed. - * - * @param codec The codec instance. - * @param param The new codec parameter. - * - * @return PJ_SUCCESS on success. - */ -PJ_INLINE(pj_status_t) -pjmedia_vid_codec_modify(pjmedia_vid_codec *codec, - const pjmedia_vid_codec_param *param) -{ - return (*codec->op->modify)(codec, param); -} - - -/** - * Get the codec parameter after the codec is opened. - * - * @param codec The codec instance. - * @param param The codec parameter. - * - * @return PJ_SUCCESS on success. - */ -PJ_INLINE(pj_status_t) -pjmedia_vid_codec_get_param(pjmedia_vid_codec *codec, - pjmedia_vid_codec_param *param) -{ - return (*codec->op->get_param)(codec, param); -} - -/** - * Encode the specified input frame. The input MUST contain only one picture - * with the appropriate format as specified when opening the codec. Depending - * on the packing or packetization set in the \a packing param, the process - * may produce multiple encoded packets or payloads to represent the picture. - * This is true for example for PJMEDIA_VID_PACKING_PACKETS packing. In this - * case, the \a has_more field will be set to PJ_TRUE, and application should - * call pjmedia_vid_codec_encode_more() to get the remaining results from the - * codec. - * - * @param codec The codec instance. - * @param opt Optional encoding options. - * @param input The input frame. - * @param out_size The length of buffer in the output frame. This - * should be at least the same as the configured - * encoding MTU of the codec. - * @param output The output frame. - * @param has_more PJ_TRUE if more payloads are available; application - * should then call pjmedia_vid_codec_encode_more() - * to retrieve the remaining results. - * - * @return PJ_SUCCESS on success; - */ -PJ_INLINE(pj_status_t) -pjmedia_vid_codec_encode_begin( pjmedia_vid_codec *codec, - const pjmedia_vid_encode_opt *opt, - const pjmedia_frame *input, - unsigned out_size, - pjmedia_frame *output, - pj_bool_t *has_more) -{ - return (*codec->op->encode_begin)(codec, opt, input, out_size, output, - has_more); -} - -/** - * Retrieve more encoded packets/payloads from the codec. Application - * should call this function repeatedly until \a has_more flag is set - * to PJ_FALSE. - * - * @param codec The codec instance. - * @param out_size The length of buffer in the output frame. This - * should be at least the same as as the configured - * encoding MTU of the codec. - * @param output The output frame. - * @param has_more PJ_TRUE if more payloads are available, which in - * this case application should call \a encode_more() - * to retrieve them. - * - * @return PJ_SUCCESS on success; - */ -PJ_INLINE(pj_status_t) -pjmedia_vid_codec_encode_more( pjmedia_vid_codec *codec, - unsigned out_size, - pjmedia_frame *output, - pj_bool_t *has_more) -{ - return (*codec->op->encode_more)(codec, out_size, output, has_more); -} - -/** - * Decode the input packets into one picture. If the packing is set to - * PJMEDIA_VID_PACKING_PACKETS when opening the codec, the codec is set - * to decode multiple encoded packets into one picture. These encoded - * packets are typically retrieved from the jitter buffer. If the packing - * is set to PJMEDIA_VID_PACKING_WHOLE, then this decode function can only - * accept one frame as the input. - * - * Note that the decoded picture format may different to the configured - * setting (i.e. the format specified in the #pjmedia_vid_codec_param when - * opening the codec), in this case the PJMEDIA_EVENT_FMT_CHANGED event will - * be emitted by the codec to notify the event. The codec parameter will - * also be updated, and application can query the format by using - * pjmedia_vid_codec_get_param(). - * - * @param codec The codec instance. - * @param pkt_count Number of packets in the input. - * @param packets Array of input packets, each containing an encoded - * frame. - * @param out_size The length of buffer in the output frame. - * @param output The output frame. - * - * @return PJ_SUCCESS on success; - */ -PJ_INLINE(pj_status_t) pjmedia_vid_codec_decode(pjmedia_vid_codec *codec, - pj_size_t pkt_count, - pjmedia_frame packets[], - unsigned out_size, - pjmedia_frame *output) -{ - return (*codec->op->decode)(codec, pkt_count, packets, out_size, output); -} - -/** - * Recover a missing frame. - * - * @param codec The codec instance. - * @param out_size The length of buffer in the output frame. - * @param output The output frame where generated signal - * will be placed. - * - * @return PJ_SUCCESS on success; - */ -PJ_INLINE(pj_status_t) pjmedia_vid_codec_recover(pjmedia_vid_codec *codec, - unsigned out_size, - pjmedia_frame *output) -{ - if (codec->op && codec->op->recover) - return (*codec->op->recover)(codec, out_size, output); - else - return PJ_ENOTSUP; -} - - -/** - * @} - */ - -/** - * @defgroup PJMEDIA_CODEC_VID_CODECS Supported video codecs - * @ingroup PJMEDIA_VID_CODEC - */ - - - - -PJ_END_DECL - - -#endif /* __PJMEDIA_VID_CODEC_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/vid_codec_util.h b/res/pjproject/pjmedia/include/pjmedia/vid_codec_util.h deleted file mode 100644 index 465c0e82b6..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/vid_codec_util.h +++ /dev/null @@ -1,158 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_VID_CODEC_UTIL_H__ -#define __PJMEDIA_VID_CODEC_UTIL_H__ - - -/** - * @file vid_codec_util.h - * @brief Video codec utilities. - */ - -#include -#include - -PJ_BEGIN_DECL - - -/** - * Definition of H.263 parameters. - */ -typedef struct pjmedia_vid_codec_h263_fmtp -{ - unsigned mpi_cnt; /**< # of parsed MPI param */ - struct mpi { - pjmedia_rect_size size; /**< Picture size/resolution */ - unsigned val; /**< MPI value */ - } mpi[32]; /**< Minimum Picture Interval parameter */ - -} pjmedia_vid_codec_h263_fmtp; - - -/** - * Parse SDP fmtp of H.263. - * - * @param fmtp The H.263 SDP fmtp to be parsed. - * @param h263_fmtp The parsing result. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_vid_codec_h263_parse_fmtp( - const pjmedia_codec_fmtp *fmtp, - pjmedia_vid_codec_h263_fmtp *h263_fmtp); - - -/** - * Parse, negotiate, and apply the encoding and decoding SDP fmtp of H.263 - * in the specified codec parameter. - * - * @param param The codec parameter. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_vid_codec_h263_apply_fmtp( - pjmedia_vid_codec_param *param); - - -/** - * Definition of H.264 parameters. - */ -typedef struct pjmedia_vid_codec_h264_fmtp -{ - /* profile-level-id */ - pj_uint8_t profile_idc; /**< Profile ID */ - pj_uint8_t profile_iop; /**< Profile constraints bits */ - pj_uint8_t level; /**< Level */ - - /* packetization-mode */ - pj_uint8_t packetization_mode; /**< Packetization mode */ - - /* max-mbps, max-fs, max-cpb, max-dpb, and max-br */ - unsigned max_mbps; /**< Max macroblock processing rate */ - unsigned max_fs; /**< Max frame size (in macroblocks) */ - unsigned max_cpb; /**< Max coded picture buffer size */ - unsigned max_dpb; /**< Max decoded picture buffer size */ - unsigned max_br; /**< Max video bit rate */ - - /* sprop-parameter-sets, in NAL units */ - pj_size_t sprop_param_sets_len; /**< Parameter set length */ - pj_uint8_t sprop_param_sets[256]; /**< Parameter set (SPS & PPS), - in NAL unit bitstream */ - -} pjmedia_vid_codec_h264_fmtp; - - -/** - * Parse SDP fmtp of H.264. - * - * @param fmtp The H.264 SDP fmtp to be parsed. - * @param h264_fmtp The parsing result. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_vid_codec_h264_parse_fmtp( - const pjmedia_codec_fmtp *fmtp, - pjmedia_vid_codec_h264_fmtp *h264_fmtp); - - -/** - * Match H.264 format in the SDP media offer and answer. This will compare - * H.264 identifier parameters in SDP fmtp, i.e: "profile-level-id" and - * "packetization-mode" fields. For better interoperability, when the option - * #PJMEDIA_SDP_NEG_FMT_MATCH_ALLOW_MODIFY_ANSWER is set, this function - * may update the answer so the parameters in the answer match to ones - * in the offer. - * - * @param pool The memory pool. - * @param offer The SDP media offer. - * @param o_fmt_idx Index of the H.264 format in the SDP media offer. - * @param answer The SDP media answer. - * @param a_fmt_idx Index of the H.264 format in the SDP media answer. - * @param option The format matching option, see - * #pjmedia_sdp_neg_fmt_match_flag. - * - * @return PJ_SUCCESS when the formats in offer and answer match. - */ -PJ_DECL(pj_status_t) pjmedia_vid_codec_h264_match_sdp( - pj_pool_t *pool, - pjmedia_sdp_media *offer, - unsigned o_fmt_idx, - pjmedia_sdp_media *answer, - unsigned a_fmt_idx, - unsigned option); - - -/** - * Parse and apply the encoding and decoding SDP fmtp of H.264 in the - * specified codec parameter. This will validate size and fps to conform - * to H.264 level specified in SDP fmtp "profile-level-id". - * - * @param param The codec parameter. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_vid_codec_h264_apply_fmtp( - pjmedia_vid_codec_param *param); - - -PJ_END_DECL - - -#endif /* __PJMEDIA_VID_CODEC_UTIL_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/vid_port.h b/res/pjproject/pjmedia/include/pjmedia/vid_port.h deleted file mode 100644 index 3de28346f8..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/vid_port.h +++ /dev/null @@ -1,240 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_VIDPORT_H__ -#define __PJMEDIA_VIDPORT_H__ - -/** - * @file pjmedia/videoport.h Video media port - * @brief Video media port - */ - -#include -#include - -/** - * @defgroup PJMEDIA_VIDEO_PORT Video media port - * @ingroup PJMEDIA_PORT_CLOCK - * @brief Video media port - * @{ - */ - -PJ_BEGIN_DECL - -/** - * This structure describes the parameters to create a video port - */ -typedef struct pjmedia_vid_port_param -{ - /** - * Video stream parameter. - */ - pjmedia_vid_dev_param vidparam; - - /** - * Specify whether the video port should use active or passive interface. - * If active interface is selected, the video port will perform as - * a media clock, automatically calls pjmedia_port_get_frame() and - * pjmedia_port_put_frame() of its slave port (depending on the direction - * that is specified when opening the video stream). If passive interface - * is selected, application can retrieve the media port of this video - * port by calling pjmedia_vid_port_get_passive_port(), and subsequently - * calls pjmedia_port_put_frame() or pjmedia_port_get_frame() to that - * media port. - * - * Default: PJ_TRUE - */ - pj_bool_t active; - -} pjmedia_vid_port_param; - -/** - * Opaque data type for video port. - */ -typedef struct pjmedia_vid_port pjmedia_vid_port; - -/** - * Initialize the parameter with the default values. Note that this typically - * would only fill the structure to zeroes unless they have different default - * values. - * - * @param prm The parameter. - */ -PJ_DECL(void) pjmedia_vid_port_param_default(pjmedia_vid_port_param *prm); - -/** - * Create a video port with the specified parameter. - * - * @param pool Pool to allocate memory from. - * @param prm The video port parameter. - * @param p_vp Pointer to receive the result. - * - * @return PJ_SUCCESS if video port has been created - * successfully, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_port_create(pj_pool_t *pool, - const pjmedia_vid_port_param *prm, - pjmedia_vid_port **p_vp); - -/** - * Set the callbacks of the video port's underlying video stream. - * - * @param vid_port The video port. - * @param cb Pointer to structure containing video stream - * callbacks. - * @param user_data Arbitrary user data, which will be given back in the - * callbacks. - */ -PJ_DECL(void) pjmedia_vid_port_set_cb(pjmedia_vid_port *vid_port, - const pjmedia_vid_dev_cb *cb, - void *user_data); - -/** - * Return the underlying video stream of the video port. - * - * @param vid_port The video port. - * - * @return The video stream. - */ -PJ_DECL(pjmedia_vid_dev_stream*) -pjmedia_vid_port_get_stream(pjmedia_vid_port *vid_port); - -/** - * Return the (passive) media port of the video port. This operation - * is only valid for video ports created with passive interface selected. - * Retrieving the media port for active video ports may raise an - * assertion. - * - * @param vid_port The video port. - * - * @return The media port instance, or NULL. - */ -PJ_DECL(pjmedia_port*) -pjmedia_vid_port_get_passive_port(pjmedia_vid_port *vid_port); - -/** - * Get a clock source from the video port. - * - * @param vid_port The video port. - * - * @return The clock source. - */ -PJ_DECL(pjmedia_clock_src *) -pjmedia_vid_port_get_clock_src( pjmedia_vid_port *vid_port ); - -/** - * Set a clock source for the video port. - * - * @param vid_port The video port. - * @param clocksrc The clock source. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) -pjmedia_vid_port_set_clock_src( pjmedia_vid_port *vid_port, - pjmedia_clock_src *clocksrc ); - -/** - * Connect the video port to a downstream (slave) media port. This operation - * is only valid for video ports created with active interface selected. - * Connecting a passive video port may raise an assertion. - * - * @param vid_port The video port. - * @param port A downstream media port to be connected to - * this video port. - * @param destroy Specify if the downstream media port should also be - * destroyed by this video port when the video port - * is destroyed. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_port_connect(pjmedia_vid_port *vid_port, - pjmedia_port *port, - pj_bool_t destroy); - -/** - * Disconnect the video port from its downstream (slave) media port, if any. - * This operation is only valid for video ports created with active interface - * selected, and assertion may be triggered if this is invoked on a passive - * video port. - * - * @param vid_port The video port. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_port_disconnect(pjmedia_vid_port *vid_port); - -/** - * Retrieve the media port currently connected as downstream media port of the - * specified video port. This operation is only valid for video ports created - * with active interface selected, and assertion may be triggered if this is - * invoked on a passive video port. - * - * @param vid_port The video port. - * - * @return Media port currently connected to the video port, - * if any. - */ -PJ_DECL(pjmedia_port*) -pjmedia_vid_port_get_connected_port(pjmedia_vid_port *vid_port); - -/** - * Start the video port. - * - * @param vid_port The video port. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_port_start(pjmedia_vid_port *vid_port); - -/** - * Query whether the video port has been started. - * - * @param vid_port The video port. - * - * @return PJ_TRUE if the video port has been started. - */ -PJ_DECL(pj_bool_t) pjmedia_vid_port_is_running(pjmedia_vid_port *vid_port); - -/** - * Stop the video port. - * - * @param vid_port The video port. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_port_stop(pjmedia_vid_port *vid_port); - -/** - * Destroy the video port, along with its video stream. If the video port is - * an active one, this may also destroy the downstream media port, if the - * destroy flag is set when the media port is connected. - * - * @param vid_port The video port. - */ -PJ_DECL(void) pjmedia_vid_port_destroy(pjmedia_vid_port *vid_port); - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJMEDIA_VIDPORT_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/vid_stream.h b/res/pjproject/pjmedia/include/pjmedia/vid_stream.h deleted file mode 100644 index c812d37d07..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/vid_stream.h +++ /dev/null @@ -1,423 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_VID_STREAM_H__ -#define __PJMEDIA_VID_STREAM_H__ - - -/** - * @file vid_stream.h - * @brief Video Stream. - */ - -#include -#include -#include -#include -#include -#include -#include - -PJ_BEGIN_DECL - - -/** - * @defgroup PJMED_VID_STRM Video streams - * @ingroup PJMEDIA_PORT - * @brief Video communication via the network - * @{ - * - * A video stream is a bidirectional video communication between two - * endpoints. It corresponds to a video media description ("m=video" line) - * in SDP session descriptor. - * - * A video stream consists of two unidirectional channels: - * - encoding channel, which transmits unidirectional video to remote, and - * - decoding channel, which receives unidirectional media from remote. - * - * A video stream exports two media port interface (see @ref PJMEDIA_PORT), - * one for each direction, and application normally uses this interface to - * interconnect the stream to other PJMEDIA components, e.g: the video - * capture port supplies frames to the encoding port and video renderer - * consumes frames from the decoding port. - * - * A video stream internally manages the following objects: - * - an instance of video codec (see @ref PJMEDIA_VID_CODEC), - * - an @ref PJMED_JBUF, - * - two instances of RTP sessions (#pjmedia_rtp_session, one for each - * direction), - * - one instance of RTCP session (#pjmedia_rtcp_session), - * - and a reference to video transport to send and receive packets - * to/from the network (see @ref PJMEDIA_TRANSPORT). - * - * Video streams are created by calling #pjmedia_vid_stream_create(), - * specifying #pjmedia_stream_info structure in the parameter. Application - * can construct the #pjmedia_vid_stream_info structure manually, or use - * #pjmedia_vid_stream_info_from_sdp() function to construct the - * #pjmedia_vid stream_info from local and remote SDP session descriptors. - */ - - -/** - * Enumeration of video stream sending rate control. - */ -typedef enum pjmedia_vid_stream_rc_method -{ - /** - * No sending rate control. All outgoing RTP packets will be transmitted - * immediately right after encoding process is done. - */ - PJMEDIA_VID_STREAM_RC_NONE = 0, - - /** - * Simple blocking. Each outgoing RTP packet transmission may be delayed - * to avoid peak bandwidth that is much higher than specified. The thread - * invoking the video stream put_frame(), e.g: video capture device thread, - * will be blocked whenever transmission delay takes place. - */ - PJMEDIA_VID_STREAM_RC_SIMPLE_BLOCKING = 1 - -} pjmedia_vid_stream_rc_method; - - -/** - * Structure of configuration settings for video stream sending rate control. - */ -typedef struct pjmedia_vid_stream_rc_config -{ - /** - * Rate control method. - * - * Default: PJMEDIA_VID_STREAM_RC_SIMPLE_BLOCKING. - */ - pjmedia_vid_stream_rc_method method; - - /** - * Upstream/outgoing bandwidth. If this is set to zero, the video stream - * will use codec maximum bitrate setting. - * - * Default: 0 (follow codec maximum bitrate). - */ - unsigned bandwidth; - -} pjmedia_vid_stream_rc_config; - - -/** - * This structure describes video stream information. Each video stream - * corresponds to one "m=" line in SDP session descriptor, and it has - * its own RTP/RTCP socket pair. - */ -typedef struct pjmedia_vid_stream_info -{ - pjmedia_type type; /**< Media type (audio, video) */ - pjmedia_tp_proto proto; /**< Transport protocol (RTP/AVP, etc.) */ - pjmedia_dir dir; /**< Media direction. */ - pj_sockaddr rem_addr; /**< Remote RTP address */ - pj_sockaddr rem_rtcp; /**< Optional remote RTCP address. If - sin_family is zero, the RTP address - will be calculated from RTP. */ - unsigned tx_pt; /**< Outgoing codec paylaod type. */ - unsigned rx_pt; /**< Incoming codec paylaod type. */ - pj_uint32_t ssrc; /**< RTP SSRC. */ - pj_uint32_t rtp_ts; /**< Initial RTP timestamp. */ - pj_uint16_t rtp_seq; /**< Initial RTP sequence number. */ - pj_uint8_t rtp_seq_ts_set; - /**< Bitmask flags if initial RTP sequence - and/or timestamp for sender are set. - bit 0/LSB : sequence flag - bit 1 : timestamp flag */ - int jb_init; /**< Jitter buffer init delay in msec. - (-1 for default). */ - int jb_min_pre; /**< Jitter buffer minimum prefetch - delay in msec (-1 for default). */ - int jb_max_pre; /**< Jitter buffer maximum prefetch - delay in msec (-1 for default). */ - int jb_max; /**< Jitter buffer max delay in msec. */ - -#if defined(PJMEDIA_STREAM_ENABLE_KA) && PJMEDIA_STREAM_ENABLE_KA!=0 - pj_bool_t use_ka; /**< Stream keep-alive and NAT hole punch - (see #PJMEDIA_STREAM_ENABLE_KA) - is enabled? */ -#endif - - pjmedia_vid_codec_info codec_info; /**< Incoming codec format info. */ - pjmedia_vid_codec_param *codec_param; /**< Optional codec param. */ - - pj_bool_t rtcp_sdes_bye_disabled; - /**< Disable automatic sending of RTCP - SDES and BYE. */ - - pjmedia_vid_stream_rc_config rc_cfg; - /**< Stream send rate control settings. */ -} pjmedia_vid_stream_info; - - -/** - * This function will initialize the video stream info based on information - * in both SDP session descriptors for the specified stream index. - * The remaining information will be taken from default codec parameters. - * If socket info array is specified, the socket will be copied to the - * session info as well. - * - * @param si Stream info structure to be initialized. - * @param pool Pool to allocate memory. - * @param endpt PJMEDIA endpoint instance. - * @param local Local SDP session descriptor. - * @param remote Remote SDP session descriptor. - * @param stream_idx Media stream index in the session descriptor. - * - * @return PJ_SUCCESS if stream info is successfully initialized. - */ -PJ_DECL(pj_status_t) -pjmedia_vid_stream_info_from_sdp(pjmedia_vid_stream_info *si, - pj_pool_t *pool, - pjmedia_endpt *endpt, - const pjmedia_sdp_session *local, - const pjmedia_sdp_session *remote, - unsigned stream_idx); - - -/** - * Initialize the video stream rate control with default settings. - * - * @param cfg Video stream rate control structure to be initialized. - */ -PJ_DECL(void) -pjmedia_vid_stream_rc_config_default(pjmedia_vid_stream_rc_config *cfg); - - -/* - * Opaque declaration for video stream. - */ -typedef struct pjmedia_vid_stream pjmedia_vid_stream; - - -/** - * Create a video stream based on the specified parameter. After the video - * stream has been created, application normally would want to get the media - * port interface of the stream, by calling pjmedia_vid_stream_get_port(). - * The media port interface exports put_frame() and get_frame() function, - * used to transmit and receive media frames from the stream. - * - * Without application calling put_frame() and get_frame(), there will be - * no media frames transmitted or received by the stream. - * - * @param endpt Media endpoint. - * @param pool Optional pool to allocate memory for the stream. If - * this is not specified, one will be created internally. - * A large number of memory may be needed because jitter - * buffer needs to preallocate some storage. - * @param info Stream information to create the stream. Upon return, - * this info will be updated with the information from - * the instantiated codec. Note that if the "pool" - * argument is NULL, some fields in this "info" parameter - * will be allocated from the internal pool of the - * stream, which means that they will only remain valid - * as long as the stream is not destroyed. - * @param tp Media transport instance used to transmit and receive - * RTP/RTCP packets to/from the underlying network. - * @param user_data Arbitrary user data (for future callback feature). - * @param p_stream Pointer to receive the video stream. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_vid_stream_create( - pjmedia_endpt *endpt, - pj_pool_t *pool, - pjmedia_vid_stream_info *info, - pjmedia_transport *tp, - void *user_data, - pjmedia_vid_stream **p_stream); - -/** - * Destroy the video stream. - * - * @param stream The video stream. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_vid_stream_destroy(pjmedia_vid_stream *stream); - - -/** - * Get the media port interface of the stream. The media port interface - * declares put_frame() and get_frame() function, which is the only - * way for application to transmit and receive media frames from the - * stream. As bidirectional video streaming may have different video - * formats in the encoding and decoding direction, there are two media - * ports exported by the video stream, one for each direction. - * - * @param stream The video stream. - * @param dir The video direction. - * @param p_port Pointer to receive the port interface. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_vid_stream_get_port( - pjmedia_vid_stream *stream, - pjmedia_dir dir, - pjmedia_port **p_port); - - -/** - * Get the media transport object associated with this stream. - * - * @param st The video stream. - * - * @return The transport object being used by the stream. - */ -PJ_DECL(pjmedia_transport*) pjmedia_vid_stream_get_transport( - pjmedia_vid_stream *st); - - -/** - * Get the stream statistics. See also #pjmedia_stream_get_stat_jbuf() - * - * @param stream The video stream. - * @param stat Media stream statistics. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_vid_stream_get_stat( - const pjmedia_vid_stream *stream, - pjmedia_rtcp_stat *stat); - -/** - * Reset the video stream statistics. - * - * @param stream The video stream. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_vid_stream_reset_stat(pjmedia_vid_stream *stream); - - -/** - * Get current jitter buffer state. See also #pjmedia_stream_get_stat() - * - * @param stream The video stream. - * @param state Jitter buffer state. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_vid_stream_get_stat_jbuf( - const pjmedia_vid_stream *stream, - pjmedia_jb_state *state); - - -/** - * Get the stream info. - * - * @param stream The video stream. - * @param info Video stream info. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_vid_stream_get_info( - const pjmedia_vid_stream *stream, - pjmedia_vid_stream_info *info); - - -/** - * Start the video stream. This will start the appropriate channels - * in the video stream, depending on the video direction that was set - * when the stream was created. - * - * @param stream The video stream. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_vid_stream_start(pjmedia_vid_stream *stream); - - -/** - * Query if the stream is started on the specified direction. - * - * @param stream The video stream. - * @param dir The direction to be checked. - * - * @return PJ_TRUE if stream is started. - */ -PJ_DECL(pj_bool_t) pjmedia_vid_stream_is_running(pjmedia_vid_stream *stream, - pjmedia_dir dir); - -/** - * Pause stream channels. - * - * @param stream The video stream. - * @param dir Which channel direction to pause. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_vid_stream_pause(pjmedia_vid_stream *stream, - pjmedia_dir dir); - -/** - * Resume stream channels. - * - * @param stream The video stream. - * @param dir Which channel direction to resume. - * - * @return PJ_SUCCESS on success; - */ -PJ_DECL(pj_status_t) pjmedia_vid_stream_resume(pjmedia_vid_stream *stream, - pjmedia_dir dir); - - -/** - * Force stream to send video keyframe on the next transmission. - * - * @param stream The video stream. - * - * @return PJ_SUCCESS on success; - */ -PJ_DECL(pj_status_t) pjmedia_vid_stream_send_keyframe( - pjmedia_vid_stream *stream); - - -/** - * Send RTCP SDES for the media stream. - * - * @param stream The media stream. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_vid_stream_send_rtcp_sdes( - pjmedia_vid_stream *stream); - - -/** - * Send RTCP BYE for the media stream. - * - * @param stream The media stream. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_vid_stream_send_rtcp_bye( - pjmedia_vid_stream *stream); - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJMEDIA_VID_STREAM_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/vid_tee.h b/res/pjproject/pjmedia/include/pjmedia/vid_tee.h deleted file mode 100644 index d9f6779641..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/vid_tee.h +++ /dev/null @@ -1,142 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_VID_TEE_H__ -#define __PJMEDIA_VID_TEE_H__ - -/** - * @file vid_tee.h - * @brief Video tee (source duplicator). - */ -#include - -/** - * @addtogroup PJMEDIA_VID_TEE Video source duplicator - * @ingroup PJMEDIA_PORT - * @brief Duplicate video data from a media port into multiple media port - * destinations - * @{ - * - * This section describes media port to duplicate video data in the stream. - * - * A video tee branches video stream flow from one source port to multiple - * destination ports by simply duplicating the video data supplied by the - * source port and delivering the copy to all registered destinations. - * - * The video tee is a unidirectional port, i.e: data flows from source port - * to destination ports only. Also, the video source port MUST actively call - * pjmedia_port_put_frame() to the video tee and the video destination ports - * MUST NEVER call pjmedia_port_get_frame() to the video tee. Please note that - * there is no specific order of which destination port will receive a frame - * from the video tee. - * - * The video tee is not thread-safe, so it is application responsibility - * to synchronize video tee operations, e.g: make sure the source port is - * paused during adding or removing a destination port. - */ - -PJ_BEGIN_DECL - - -/** - * Enumeration of video tee flags. - */ -typedef enum pjmedia_vid_tee_flag -{ - /** - * Tell the video tee that the destination port will do in-place - * processing, so the delivered data may be modified by this port. - * If this flag is used, buffer will be copied before being given to - * the destination port. - */ - PJMEDIA_VID_TEE_DST_DO_IN_PLACE_PROC = 4, - -} pjmedia_vid_tee_flag; - - -/** - * Create a video tee port with the specified source media port. Application - * should destroy the tee with pjmedia_port_destroy() as usual. Note that - * destroying the tee does not destroy its destination ports. - * - * @param pool The pool. - * @param fmt The source media port's format. - * @param max_dst_cnt The maximum number of destination ports supported. - * @param p_vid_tee Pointer to receive the video tee port. - * - * @return PJ_SUCCESS on success, or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_tee_create(pj_pool_t *pool, - const pjmedia_format *fmt, - unsigned max_dst_cnt, - pjmedia_port **p_vid_tee); - -/** - * Add a destination media port to the video tee. For this function, the - * destination port's media format must match the source format. - * - * @param vid_tee The video tee. - * @param option Video tee option, see @pjmedia_vid_tee_flag. - * @param port The destination media port. - * - * @return PJ_SUCCESS on success, or the appropriate error - * code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_tee_add_dst_port(pjmedia_port *vid_tee, - unsigned option, - pjmedia_port *port); - - -/** - * Add a destination media port to the video tee. This function will also - * create a converter if the destination port's media format does not match - * the source format. - * - * @param vid_tee The video tee. - * @param option Video tee option, see @pjmedia_vid_tee_flag. - * @param port The destination media port. - * - * @return PJ_SUCCESS on success, or the appropriate error - * code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_tee_add_dst_port2(pjmedia_port *vid_tee, - unsigned option, - pjmedia_port *port); - - -/** - * Remove a destination media port from the video tee. - * - * @param vid_tee The video tee. - * @param port The destination media port to be removed. - * - * @return PJ_SUCCESS on success, or the appropriate error - * code. - */ -PJ_DECL(pj_status_t) pjmedia_vid_tee_remove_dst_port(pjmedia_port *vid_tee, - pjmedia_port *port); - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJMEDIA_VID_TEE_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/wav_playlist.h b/res/pjproject/pjmedia/include/pjmedia/wav_playlist.h deleted file mode 100644 index ac516bdfa4..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/wav_playlist.h +++ /dev/null @@ -1,105 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_WAV_PLAYLIST_H__ -#define __PJMEDIA_WAV_PLAYLIST_H__ - -/** - * @file wav_playlist.h - * @brief WAV file playlist. - */ -#include - - - -PJ_BEGIN_DECL - - -/** - * @defgroup PJMEDIA_WAV_PLAYLIST WAV File Play List - * @ingroup PJMEDIA_PORT - * @brief Audio playback of multiple WAV files - * @{ - * - * The WAV play list port enables application to play back multiple - * WAV files in a playlist. - */ - -/** - * Create a WAV playlist from the array of WAV file names. The WAV - * files must have the same clock rate, number of channels, and bits - * per sample, or otherwise this function will return error. - * - * @param pool Pool to create memory buffers for this port. - * @param port_label Optional label to set as the port name. - * @param file_list Array of WAV file names. - * @param file_count Number of files in the array. - * @param ptime The duration (in miliseconds) of each frame read - * from this port. If the value is zero, the default - * duration (20ms) will be used. - * @param options Optional options. Application may specify - * PJMEDIA_FILE_NO_LOOP to prevent play back loop. - * @param buff_size Buffer size to be allocated. If the value is zero or - * negative, the port will use default buffer size (which - * is about 4KB). - * @param p_port Pointer to receive the file port instance. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_wav_playlist_create(pj_pool_t *pool, - const pj_str_t *port_label, - const pj_str_t file_list[], - int file_count, - unsigned ptime, - unsigned options, - pj_ssize_t buff_size, - pjmedia_port **p_port); - - -/** - * Register a callback to be called when the file reading has reached the - * end of file of the last file. If the file is set to play repeatedly, - * then the callback will be called multiple times. Note that only one - * callback can be registered for each file port. - * - * @param port The WAV play list port. - * @param user_data User data to be specified in the callback - * @param cb Callback to be called. If the callback returns non- - * PJ_SUCCESS, the playback will stop. Note that if - * application destroys the file port in the callback, - * it must return non-PJ_SUCCESS here. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_wav_playlist_set_eof_cb(pjmedia_port *port, - void *user_data, - pj_status_t (*cb)(pjmedia_port *port, - void *usr_data)); - - -/** - * @} - */ - - -PJ_END_DECL - - -#endif /* __PJMEDIA_WAV_PLAYLIST_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/wav_port.h b/res/pjproject/pjmedia/include/pjmedia/wav_port.h deleted file mode 100644 index 29467836d9..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/wav_port.h +++ /dev/null @@ -1,250 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_WAV_PORT_H__ -#define __PJMEDIA_WAV_PORT_H__ - -/** - * @file wav_port.h - * @brief WAV file player and writer. - */ -#include - - - -PJ_BEGIN_DECL - - -/** - * @defgroup PJMEDIA_FILE_PLAY WAV File Player - * @ingroup PJMEDIA_PORT - * @brief Audio playback from WAV file - * @{ - */ - -/** - * WAV file player options. - */ -enum pjmedia_file_player_option -{ - /** - * Tell the file player to return NULL frame when the whole - * file has been played. - */ - PJMEDIA_FILE_NO_LOOP = 1 -}; - - -/** - * Create a media port to play streams from a WAV file. WAV player port - * supports for reading WAV file with uncompressed 16 bit PCM format or - * compressed G.711 A-law/U-law format. - * - * @param pool Pool to create memory buffers for this port. - * @param filename File name to open. - * @param ptime The duration (in miliseconds) of each frame read - * from this port. If the value is zero, the default - * duration (20ms) will be used. - * @param flags Port creation flags. - * @param buff_size Buffer size to be allocated. If the value is zero or - * negative, the port will use default buffer size (which - * is about 4KB). - * @param p_port Pointer to receive the file port instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_wav_player_port_create( pj_pool_t *pool, - const char *filename, - unsigned ptime, - unsigned flags, - pj_ssize_t buff_size, - pjmedia_port **p_port ); - - -/** - * Get the data length, in bytes. - * - * @param port The file player port. - * - * @return The length of the data, in bytes. Upon error it will - * return negative value. - */ -PJ_DECL(pj_ssize_t) pjmedia_wav_player_get_len(pjmedia_port *port); - - -/** - * Set the file play position of WAV player. - * - * @param port The file player port. - * @param offset Playback position in bytes, relative to the start of - * the payload. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_wav_player_port_set_pos( pjmedia_port *port, - pj_uint32_t offset ); - - -/** - * Get the file play position of WAV player. - * - * @param port The file player port. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_ssize_t) pjmedia_wav_player_port_get_pos( pjmedia_port *port ); - - -/** - * Register a callback to be called when the file reading has reached the - * end of file. If the file is set to play repeatedly, then the callback - * will be called multiple times. Note that only one callback can be - * registered for each file port. - * - * @param port The file player port. - * @param user_data User data to be specified in the callback - * @param cb Callback to be called. If the callback returns non- - * PJ_SUCCESS, the playback will stop. Note that if - * application destroys the file port in the callback, - * it must return non-PJ_SUCCESS here. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_wav_player_set_eof_cb( pjmedia_port *port, - void *user_data, - pj_status_t (*cb)(pjmedia_port *port, - void *usr_data)); - -/** - * @} - */ - - -/** - * @defgroup PJMEDIA_FILE_REC File Writer (Recorder) - * @ingroup PJMEDIA_PORT - * @brief Audio capture/recording to WAV file - * @{ - */ - - -/** - * WAV file writer options. - */ -enum pjmedia_file_writer_option -{ - /** - * Tell the file writer to save the audio in PCM format. - */ - PJMEDIA_FILE_WRITE_PCM = 0, - - /** - * Tell the file writer to save the audio in G711 Alaw format. - */ - PJMEDIA_FILE_WRITE_ALAW = 1, - - /** - * Tell the file writer to save the audio in G711 Alaw format. - */ - PJMEDIA_FILE_WRITE_ULAW = 2, -}; - - -/** - * Create a media port to record streams to a WAV file. Note that the port - * must be closed properly (with #pjmedia_port_destroy()) so that the WAV - * header can be filled with correct values (such as the file length). - * WAV writer port supports for writing audio in uncompressed 16 bit PCM format - * or compressed G.711 U-law/A-law format, this needs to be specified in - * \a flags param. - * - * @param pool Pool to create memory buffers for this port. - * @param filename File name. - * @param clock_rate The sampling rate. - * @param channel_count Number of channels. - * @param samples_per_frame Number of samples per frame. - * @param bits_per_sample Number of bits per sample (eg 16). - * @param flags Port creation flags, see - * #pjmedia_file_writer_option. - * @param buff_size Buffer size to be allocated. If the value is - * zero or negative, the port will use default buffer - * size (which is about 4KB). - * @param p_port Pointer to receive the file port instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjmedia_wav_writer_port_create(pj_pool_t *pool, - const char *filename, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned flags, - pj_ssize_t buff_size, - pjmedia_port **p_port ); - - -/** - * Get current writing position. Note that this does not necessarily match - * the size written to the file, since the WAV writer employs some internal - * buffering. Also the value reported here only indicates the payload size - * (it does not include the size of the WAV header), - * - * @param port The file writer port. - * - * @return Positive value to indicate the position (in bytes), - * or negative value containing the error code. - */ -PJ_DECL(pj_ssize_t) pjmedia_wav_writer_port_get_pos( pjmedia_port *port ); - - -/** - * Register the callback to be called when the file writing has reached - * certain size. Application can use this callback, for example, to limit - * the size of the output file. - * - * @param port The file writer port. - * @param pos The file position on which the callback will be called. - * @param user_data User data to be specified in the callback, and will be - * given on the callback. - * @param cb Callback to be called. If the callback returns non- - * PJ_SUCCESS, the writing will stop. Note that if - * application destroys the port in the callback, it must - * return non-PJ_SUCCESS here. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_wav_writer_port_set_cb( pjmedia_port *port, - pj_size_t pos, - void *user_data, - pj_status_t (*cb)(pjmedia_port *port, - void *usr_data)); - - -/** - * @} - */ - - -PJ_END_DECL - - -#endif /* __PJMEDIA_WAV_PORT_H__ */ diff --git a/res/pjproject/pjmedia/include/pjmedia/wave.h b/res/pjproject/pjmedia/include/pjmedia/wave.h deleted file mode 100644 index 866f4fae4d..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/wave.h +++ /dev/null @@ -1,184 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_WAVE_H__ -#define __PJMEDIA_WAVE_H__ - - -/** - * @file wave.h - * @brief WAVE file manipulation. - */ -#include - -/** - * @defgroup PJMEDIA_FILE_FORMAT File Formats - * @brief Supported file formats - */ - - -/** - * @defgroup PJMEDIA_WAVE WAVE Header - * @ingroup PJMEDIA_FILE_FORMAT - * @brief Representation of RIFF/WAVE file format - * @{ - * - * This the the low level representation of RIFF/WAVE file format. For - * higher abstraction, please see \ref PJMEDIA_FILE_PLAY and - * \ref PJMEDIA_FILE_REC. - */ - - -PJ_BEGIN_DECL - -/** - * Standard RIFF tag to identify RIFF file format in the WAVE header. - */ -#define PJMEDIA_RIFF_TAG ('F'<<24|'F'<<16|'I'<<8|'R') - -/** - * Standard WAVE tag to identify WAVE header. - */ -#define PJMEDIA_WAVE_TAG ('E'<<24|'V'<<16|'A'<<8|'W') - -/** - * Standard FMT tag to identify format chunks. - */ -#define PJMEDIA_FMT_TAG (' '<<24|'t'<<16|'m'<<8|'f') - -/** - * Standard DATA tag to identify data chunks. - */ -#define PJMEDIA_DATA_TAG ('a'<<24|'t'<<16|'a'<<8|'d') - -/** - * Standard FACT tag to identify fact chunks. - */ -#define PJMEDIA_FACT_TAG ('t'<<24|'c'<<16|'a'<<8|'f') - - -/** - * Enumeration of format compression tag. - */ -typedef enum { - PJMEDIA_WAVE_FMT_TAG_PCM = 1, - PJMEDIA_WAVE_FMT_TAG_ALAW = 6, - PJMEDIA_WAVE_FMT_TAG_ULAW = 7 -} pjmedia_wave_fmt_tag; - - -/** - * This file describes the simpler/canonical version of a WAVE file. - * It does not support the full RIFF format specification. - */ -#pragma pack(2) -struct pjmedia_wave_hdr -{ - /** This structure describes RIFF WAVE file header */ - struct { - pj_uint32_t riff; /**< "RIFF" ASCII tag. */ - pj_uint32_t file_len; /**< File length minus 8 bytes */ - pj_uint32_t wave; /**< "WAVE" ASCII tag. */ - } riff_hdr; - - /** This structure describes format chunks/header */ - struct { - pj_uint32_t fmt; /**< "fmt " ASCII tag. */ - pj_uint32_t len; /**< 16 for PCM. */ - pj_uint16_t fmt_tag; /**< 1 for PCM */ - pj_uint16_t nchan; /**< Number of channels. */ - pj_uint32_t sample_rate; /**< Sampling rate. */ - pj_uint32_t bytes_per_sec; /**< Average bytes per second. */ - pj_uint16_t block_align; /**< nchannels * bits / 8 */ - pj_uint16_t bits_per_sample; /**< Bits per sample. */ - } fmt_hdr; - - /** The data header preceeds the actual data in the file. */ - struct { - pj_uint32_t data; /**< "data" ASCII tag. */ - pj_uint32_t len; /**< Data length. */ - } data_hdr; -}; -#pragma pack() - -/** - * @see pjmedia_wave_hdr - */ -typedef struct pjmedia_wave_hdr pjmedia_wave_hdr; - -/** - * This structure describes generic RIFF subchunk header. - */ -typedef struct pjmedia_wave_subchunk -{ - pj_uint32_t id; /**< Subchunk ASCII tag. */ - pj_uint32_t len; /**< Length following this field */ -} pjmedia_wave_subchunk; - - -/** - * Normalize subchunk header from little endian (the representation of - * RIFF file) into host's endian. - */ -#if defined(PJ_IS_BIG_ENDIAN) && PJ_IS_BIG_ENDIAN!=0 -# define PJMEDIA_WAVE_NORMALIZE_SUBCHUNK(ch) \ - do { \ - (ch)->id = pj_swap32((ch)->id); \ - (ch)->len = pj_swap32((ch)->len); \ - } while (0) -#else -# define PJMEDIA_WAVE_NORMALIZE_SUBCHUNK(ch) -#endif - - -/** - * On big-endian hosts, this function swaps the byte order of the values - * in the WAVE header fields. On little-endian hosts, this function does - * nothing. - * - * Application SHOULD call this function after reading the WAVE header - * chunks from a file. - * - * @param hdr The WAVE header. - */ -PJ_DECL(void) pjmedia_wave_hdr_file_to_host( pjmedia_wave_hdr *hdr ); - - -/** - * On big-endian hosts, this function swaps the byte order of the values - * in the WAVE header fields. On little-endian hosts, this function does - * nothing. - * - * Application SHOULD call this function before writing the WAVE header - * to a file. - * - * @param hdr The WAVE header. - */ -PJ_DECL(void) pjmedia_wave_hdr_host_to_file( pjmedia_wave_hdr *hdr ); - - -PJ_END_DECL - -/** - * @} - */ - - -#endif /* __PJMEDIA_WAVE_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia/wsola.h b/res/pjproject/pjmedia/include/pjmedia/wsola.h deleted file mode 100644 index a679d17437..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia/wsola.h +++ /dev/null @@ -1,219 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_WSOLA_H__ -#define __PJMEDIA_WSOLA_H__ - -/** - * @file wsola.h - * @brief Waveform Similarity Based Overlap-Add (WSOLA) - */ -#include - -/** - * @defgroup PJMED_WSOLA Waveform Similarity Based Overlap-Add (WSOLA) - * @ingroup PJMEDIA_FRAME_OP - * @brief Time-scale modification to audio without affecting the pitch - * @{ - * - * This section describes Waveform Similarity Based Overlap-Add (WSOLA) - * implementation in PJMEDIA. The WSOLA API here can be used both to - * compress (speed-up) and stretch (expand, slow down) audio playback - * without altering the pitch, or as a mean for performing packet loss - * concealment (WSOLA). - * - * The WSOLA implementation is used by \ref PJMED_DELAYBUF and \ref PJMED_PLC. - */ - -PJ_BEGIN_DECL - - -/** - * Opaque declaration for WSOLA structure. - */ -typedef struct pjmedia_wsola pjmedia_wsola; - - -/** - * WSOLA options, can be combined with bitmask operation. - */ -enum pjmedia_wsola_option -{ - /** - * Disable Hanning window to conserve memory. - */ - PJMEDIA_WSOLA_NO_HANNING = 1, - - /** - * Specify that the WSOLA will not be used for PLC. - */ - PJMEDIA_WSOLA_NO_PLC = 2, - - /** - * Specify that the WSOLA will not be used to discard frames in - * non-contiguous buffer. - */ - PJMEDIA_WSOLA_NO_DISCARD = 4, - - /** - * Disable fade-in and fade-out feature in the transition between - * actual and synthetic frames in WSOLA. With fade feature enabled, - * WSOLA will only generate a limited number of synthetic frames - * (configurable with #pjmedia_wsola_set_max_expand()), fading out - * the volume on every more samples it generates, and when it reaches - * the limit it will only generate silence. - */ - PJMEDIA_WSOLA_NO_FADING = 8 -}; - - - -/** - * Create and initialize WSOLA. - * - * @param pool Pool to allocate memory for WSOLA. - * @param clock_rate Sampling rate of audio playback. - * @param samples_per_frame Number of samples per frame. - * @param channel_count Number of channels. - * @param options Option flags, bitmask combination of - * #pjmedia_wsola_option. - * @param p_wsola Pointer to receive WSOLA structure. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjmedia_wsola_create(pj_pool_t *pool, - unsigned clock_rate, - unsigned samples_per_frame, - unsigned channel_count, - unsigned options, - pjmedia_wsola **p_wsola); - - -/** - * Specify maximum number of continuous synthetic frames that can be - * generated by WSOLA, in milliseconds. This option will only take - * effect if fading is not disabled via the option when the WSOLA - * session was created. Default value is PJMEDIA_WSOLA_MAX_EXPAND_MSEC - * (see also the documentation of PJMEDIA_WSOLA_MAX_EXPAND_MSEC for - * more information). - * - * @param wsola The WSOLA session - * @param msec The duration. - * - * @return PJ_SUCCESS normally. - */ -PJ_DECL(pj_status_t) pjmedia_wsola_set_max_expand(pjmedia_wsola *wsola, - unsigned msec); - - -/** - * Destroy WSOLA. - * - * @param wsola WSOLA session. - * - * @return PJ_SUCCESS normally. - */ -PJ_DECL(pj_status_t) pjmedia_wsola_destroy(pjmedia_wsola *wsola); - - -/** - * Reset the buffer contents of WSOLA. - * - * @param wsola WSOLA session. - * @param options Reset options, must be zero for now. - * - * @return PJ_SUCCESS normally. - */ -PJ_DECL(pj_status_t) pjmedia_wsola_reset(pjmedia_wsola *wsola, - unsigned options); - - -/** - * Give one good frame to WSOLA to be kept as reference. Application - * must continuously give WSOLA good frames to keep its session up to - * date with current playback. Depending on the WSOLA implementation, - * this function may modify the content of the frame. - * - * @param wsola WSOLA session. - * @param frm The frame, which length must match the samples per - * frame setting of the WSOLA session. - * @param prev_lost If application previously generated a synthetic - * frame with #pjmedia_wsola_generate() before calling - * this function, specify whether that was because of - * packet lost. If so, set this parameter to PJ_TRUE - * to make WSOLA interpolate this frame with its buffer. - * Otherwise if this value is PJ_FALSE, WSOLA will - * just append this frame to the end of its buffer. - * - * @return PJ_SUCCESS normally. - */ -PJ_DECL(pj_status_t) pjmedia_wsola_save(pjmedia_wsola *wsola, - pj_int16_t frm[], - pj_bool_t prev_lost); - -/** - * Generate one synthetic frame from WSOLA. - * - * @param wsola WSOLA session. - * @param frm Buffer to receive the frame. - * - * @return PJ_SUCCESS normally. - */ -PJ_DECL(pj_status_t) pjmedia_wsola_generate(pjmedia_wsola *wsola, - pj_int16_t frm[]); - - -/** - * Compress or compact the specified buffer by removing some audio samples - * from the buffer, without altering the pitch. For this function to work, - * total length of the buffer must be more than twice \a erase_cnt. - * - * @param wsola WSOLA session. - * @param buf1 Pointer to buffer. - * @param buf1_cnt Number of samples in the buffer. - * @param buf2 Pointer to second buffer, if the buffer is not - * contiguous. Otherwise this parameter must be NULL. - * @param buf2_cnt Number of samples in the second buffer, if the buffer - * is not contiguous. Otherwise this parameter should be - * zero. - * @param erase_cnt On input, specify the number of samples to be erased. - * This function may erase more or less than the requested - * number, and the actual number of samples erased will be - * given on this argument upon returning from the function. - * - * @return PJ_SUCCESS if some samples have been erased, PJ_ETOOSMALL - * if buffer is too small to be reduced, PJ_EINVAL if any - * of the parameters are not valid. - */ -PJ_DECL(pj_status_t) pjmedia_wsola_discard(pjmedia_wsola *wsola, - pj_int16_t buf1[], - unsigned buf1_cnt, - pj_int16_t buf2[], - unsigned buf2_cnt, - unsigned *erase_cnt); - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJMEDIA_WSOLA_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia_audiodev.h b/res/pjproject/pjmedia/include/pjmedia_audiodev.h deleted file mode 100644 index 0ec7021935..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia_audiodev.h +++ /dev/null @@ -1,33 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_AUDIODEV_H__ -#define __PJMEDIA_AUDIODEV_H__ - -/** - * @file pjmedia_audiodev.h - * @brief PJMEDIA main header file. - */ - -#include -#include -#include - -#endif /* __PJMEDIA_AUDIODEV_H__ */ - diff --git a/res/pjproject/pjmedia/include/pjmedia_videodev.h b/res/pjproject/pjmedia/include/pjmedia_videodev.h deleted file mode 100644 index fe7c8800ff..0000000000 --- a/res/pjproject/pjmedia/include/pjmedia_videodev.h +++ /dev/null @@ -1,31 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_VIDEODEV_H__ -#define __PJMEDIA_VIDEODEV_H__ - -/** - * @file pjmedia_videodev.h - * @brief PJMEDIA main header file. - */ - -#include -#include -#include - -#endif /* __PJMEDIA_VIDEODEV_H__ */ diff --git a/res/pjproject/pjmedia/src/pjmedia-audiodev/alsa_dev.c b/res/pjproject/pjmedia/src/pjmedia-audiodev/alsa_dev.c deleted file mode 100644 index 5bcdedf0b0..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-audiodev/alsa_dev.c +++ /dev/null @@ -1,980 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2007-2009 Keystream AB and Konftel AB, All rights reserved. - * Author: - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - -#if defined(PJMEDIA_AUDIO_DEV_HAS_ALSA) && PJMEDIA_AUDIO_DEV_HAS_ALSA - -#include -#include -#include -#include -#include -#include -#include -#include - - -#define THIS_FILE "alsa_dev.c" -#define ALSA_DEVICE_NAME "plughw:%d,%d" -#define ALSASOUND_PLAYBACK 1 -#define ALSASOUND_CAPTURE 2 -#define MAX_SOUND_CARDS 5 -#define MAX_SOUND_DEVICES_PER_CARD 5 -#define MAX_DEVICES 16 - -/* Set to 1 to enable tracing */ -#if 0 -# define TRACE_(expr) PJ_LOG(5,expr) -#else -# define TRACE_(expr) -#endif - -/* - * Factory prototypes - */ -static pj_status_t alsa_factory_init(pjmedia_aud_dev_factory *f); -static pj_status_t alsa_factory_destroy(pjmedia_aud_dev_factory *f); -static pj_status_t alsa_factory_refresh(pjmedia_aud_dev_factory *f); -static unsigned alsa_factory_get_dev_count(pjmedia_aud_dev_factory *f); -static pj_status_t alsa_factory_get_dev_info(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_dev_info *info); -static pj_status_t alsa_factory_default_param(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_param *param); -static pj_status_t alsa_factory_create_stream(pjmedia_aud_dev_factory *f, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_strm); - -/* - * Stream prototypes - */ -static pj_status_t alsa_stream_get_param(pjmedia_aud_stream *strm, - pjmedia_aud_param *param); -static pj_status_t alsa_stream_get_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - void *value); -static pj_status_t alsa_stream_set_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - const void *value); -static pj_status_t alsa_stream_start(pjmedia_aud_stream *strm); -static pj_status_t alsa_stream_stop(pjmedia_aud_stream *strm); -static pj_status_t alsa_stream_destroy(pjmedia_aud_stream *strm); - - -struct alsa_factory -{ - pjmedia_aud_dev_factory base; - pj_pool_factory *pf; - pj_pool_t *pool; - pj_pool_t *base_pool; - - unsigned dev_cnt; - pjmedia_aud_dev_info devs[MAX_DEVICES]; -}; - -struct alsa_stream -{ - pjmedia_aud_stream base; - - /* Common */ - pj_pool_t *pool; - struct alsa_factory *af; - void *user_data; - pjmedia_aud_param param; /* Running parameter */ - int rec_id; /* Capture device id */ - int quit; - - /* Playback */ - snd_pcm_t *pb_pcm; - snd_pcm_uframes_t pb_frames; /* samples_per_frame */ - pjmedia_aud_play_cb pb_cb; - unsigned pb_buf_size; - char *pb_buf; - pj_thread_t *pb_thread; - - /* Capture */ - snd_pcm_t *ca_pcm; - snd_pcm_uframes_t ca_frames; /* samples_per_frame */ - pjmedia_aud_rec_cb ca_cb; - unsigned ca_buf_size; - char *ca_buf; - pj_thread_t *ca_thread; -}; - -static pjmedia_aud_dev_factory_op alsa_factory_op = -{ - &alsa_factory_init, - &alsa_factory_destroy, - &alsa_factory_get_dev_count, - &alsa_factory_get_dev_info, - &alsa_factory_default_param, - &alsa_factory_create_stream, - &alsa_factory_refresh -}; - -static pjmedia_aud_stream_op alsa_stream_op = -{ - &alsa_stream_get_param, - &alsa_stream_get_cap, - &alsa_stream_set_cap, - &alsa_stream_start, - &alsa_stream_stop, - &alsa_stream_destroy -}; - -static void null_alsa_error_handler (const char *file, - int line, - const char *function, - int err, - const char *fmt, - ...) -{ - PJ_UNUSED_ARG(file); - PJ_UNUSED_ARG(line); - PJ_UNUSED_ARG(function); - PJ_UNUSED_ARG(err); - PJ_UNUSED_ARG(fmt); -} - -static void alsa_error_handler (const char *file, - int line, - const char *function, - int err, - const char *fmt, - ...) -{ - char err_msg[128]; - int index; - va_list arg; - -#ifndef NDEBUG - index = snprintf (err_msg, sizeof(err_msg), "ALSA lib %s:%i:(%s) ", - file, line, function); -#else - index = snprintf (err_msg, sizeof(err_msg), "ALSA lib: "); -#endif - va_start (arg, fmt); - if (index < sizeof(err_msg)-1) - index += vsnprintf (err_msg+index, sizeof(err_msg)-index, fmt, arg); - va_end(arg); - if (err && index < sizeof(err_msg)-1) - index += snprintf (err_msg+index, sizeof(err_msg)-index, ": %s", - snd_strerror(err)); - PJ_LOG (4,(THIS_FILE, "%s", err_msg)); -} - - -static pj_status_t add_dev (struct alsa_factory *af, const char *dev_name) -{ - pjmedia_aud_dev_info *adi; - snd_pcm_t* pcm; - int pb_result, ca_result; - - if (af->dev_cnt >= PJ_ARRAY_SIZE(af->devs)) - return PJ_ETOOMANY; - - adi = &af->devs[af->dev_cnt]; - - TRACE_((THIS_FILE, "add_dev (%s): Enter", dev_name)); - - /* Try to open the device in playback mode */ - pb_result = snd_pcm_open (&pcm, dev_name, SND_PCM_STREAM_PLAYBACK, 0); - if (pb_result >= 0) { - TRACE_((THIS_FILE, "Try to open the device for playback - success")); - snd_pcm_close (pcm); - } else { - TRACE_((THIS_FILE, "Try to open the device for playback - failure")); - } - - /* Try to open the device in capture mode */ - ca_result = snd_pcm_open (&pcm, dev_name, SND_PCM_STREAM_CAPTURE, 0); - if (ca_result >= 0) { - TRACE_((THIS_FILE, "Try to open the device for capture - success")); - snd_pcm_close (pcm); - } else { - TRACE_((THIS_FILE, "Try to open the device for capture - failure")); - } - - /* Check if the device could be opened in playback or capture mode */ - if (pb_result<0 && ca_result<0) { - TRACE_((THIS_FILE, "Unable to open sound device %s", dev_name)); - return PJMEDIA_EAUD_NODEV; - } - - /* Reset device info */ - pj_bzero(adi, sizeof(*adi)); - - /* Set device name */ - strcpy(adi->name, dev_name); - - /* Check the number of playback channels */ - adi->output_count = (pb_result>=0) ? 1 : 0; - - /* Check the number of capture channels */ - adi->input_count = (ca_result>=0) ? 1 : 0; - - /* Set the default sample rate */ - adi->default_samples_per_sec = 8000; - - /* Driver name */ - strcpy(adi->driver, "ALSA"); - - ++af->dev_cnt; - - PJ_LOG (5,(THIS_FILE, "Added sound device %s", adi->name)); - - return PJ_SUCCESS; -} - - -/* Create ALSA audio driver. */ -pjmedia_aud_dev_factory* pjmedia_alsa_factory(pj_pool_factory *pf) -{ - struct alsa_factory *af; - pj_pool_t *pool; - - pool = pj_pool_create(pf, "alsa_aud_base", 256, 256, NULL); - af = PJ_POOL_ZALLOC_T(pool, struct alsa_factory); - af->pf = pf; - af->base_pool = pool; - af->base.op = &alsa_factory_op; - - return &af->base; -} - - -/* API: init factory */ -static pj_status_t alsa_factory_init(pjmedia_aud_dev_factory *f) -{ - pj_status_t status = alsa_factory_refresh(f); - if (PJ_SUCCESS != status) - return status; - - PJ_LOG(4,(THIS_FILE, "ALSA initialized")); - return PJ_SUCCESS; -} - - -/* API: destroy factory */ -static pj_status_t alsa_factory_destroy(pjmedia_aud_dev_factory *f) -{ - struct alsa_factory *af = (struct alsa_factory*)f; - - if (af->pool) - pj_pool_release(af->pool); - - if (af->base_pool) { - pj_pool_t *pool = af->base_pool; - af->base_pool = NULL; - pj_pool_release(pool); - } - - /* Restore handler */ - snd_lib_error_set_handler(NULL); - - return PJ_SUCCESS; -} - - -/* API: refresh the device list */ -static pj_status_t alsa_factory_refresh(pjmedia_aud_dev_factory *f) -{ - struct alsa_factory *af = (struct alsa_factory*)f; - char **hints, **n; - int err; - - TRACE_((THIS_FILE, "pjmedia_snd_init: Enumerate sound devices")); - - if (af->pool != NULL) { - pj_pool_release(af->pool); - af->pool = NULL; - } - - af->pool = pj_pool_create(af->pf, "alsa_aud", 256, 256, NULL); - af->dev_cnt = 0; - - /* Enumerate sound devices */ - err = snd_device_name_hint(-1, "pcm", (void***)&hints); - if (err != 0) - return PJMEDIA_EAUD_SYSERR; - - /* Set a null error handler prior to enumeration to suppress errors */ - snd_lib_error_set_handler(null_alsa_error_handler); - - n = hints; - while (*n != NULL) { - char *name = snd_device_name_get_hint(*n, "NAME"); - if (name != NULL && 0 != strcmp("null", name)) { - add_dev(af, name); - free(name); - } - n++; - } - - /* Install error handler after enumeration, otherwise we'll get many - * error messages about invalid card/device ID. - */ - snd_lib_error_set_handler(alsa_error_handler); - - err = snd_device_name_free_hint((void**)hints); - - PJ_LOG(4,(THIS_FILE, "ALSA driver found %d devices", af->dev_cnt)); - - return PJ_SUCCESS; -} - - -/* API: get device count */ -static unsigned alsa_factory_get_dev_count(pjmedia_aud_dev_factory *f) -{ - struct alsa_factory *af = (struct alsa_factory*)f; - return af->dev_cnt; -} - - -/* API: get device info */ -static pj_status_t alsa_factory_get_dev_info(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_dev_info *info) -{ - struct alsa_factory *af = (struct alsa_factory*)f; - - PJ_ASSERT_RETURN(index>=0 && indexdev_cnt, PJ_EINVAL); - - pj_memcpy(info, &af->devs[index], sizeof(*info)); - info->caps = PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY | - PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY; - return PJ_SUCCESS; -} - -/* API: create default parameter */ -static pj_status_t alsa_factory_default_param(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_param *param) -{ - struct alsa_factory *af = (struct alsa_factory*)f; - pjmedia_aud_dev_info *adi; - - PJ_ASSERT_RETURN(index>=0 && indexdev_cnt, PJ_EINVAL); - - adi = &af->devs[index]; - - pj_bzero(param, sizeof(*param)); - if (adi->input_count && adi->output_count) { - param->dir = PJMEDIA_DIR_CAPTURE_PLAYBACK; - param->rec_id = index; - param->play_id = index; - } else if (adi->input_count) { - param->dir = PJMEDIA_DIR_CAPTURE; - param->rec_id = index; - param->play_id = PJMEDIA_AUD_INVALID_DEV; - } else if (adi->output_count) { - param->dir = PJMEDIA_DIR_PLAYBACK; - param->play_id = index; - param->rec_id = PJMEDIA_AUD_INVALID_DEV; - } else { - return PJMEDIA_EAUD_INVDEV; - } - - param->clock_rate = adi->default_samples_per_sec; - param->channel_count = 1; - param->samples_per_frame = adi->default_samples_per_sec * 20 / 1000; - param->bits_per_sample = 16; - param->flags = adi->caps; - param->input_latency_ms = PJMEDIA_SND_DEFAULT_REC_LATENCY; - param->output_latency_ms = PJMEDIA_SND_DEFAULT_PLAY_LATENCY; - - return PJ_SUCCESS; -} - - -static int pb_thread_func (void *arg) -{ - struct alsa_stream* stream = (struct alsa_stream*) arg; - snd_pcm_t* pcm = stream->pb_pcm; - int size = stream->pb_buf_size; - snd_pcm_uframes_t nframes = stream->pb_frames; - void* user_data = stream->user_data; - char* buf = stream->pb_buf; - pj_timestamp tstamp; - int result; - - pj_bzero (buf, size); - tstamp.u64 = 0; - - TRACE_((THIS_FILE, "pb_thread_func(%u): Started", - (unsigned)syscall(SYS_gettid))); - - snd_pcm_prepare (pcm); - - while (!stream->quit) { - pjmedia_frame frame; - - frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - frame.buf = buf; - frame.size = size; - frame.timestamp.u64 = tstamp.u64; - frame.bit_info = 0; - - result = stream->pb_cb (user_data, &frame); - if (result != PJ_SUCCESS || stream->quit) - break; - - if (frame.type != PJMEDIA_FRAME_TYPE_AUDIO) - pj_bzero (buf, size); - - result = snd_pcm_writei (pcm, buf, nframes); - if (result == -EPIPE) { - PJ_LOG (4,(THIS_FILE, "pb_thread_func: underrun!")); - snd_pcm_prepare (pcm); - } else if (result < 0) { - PJ_LOG (4,(THIS_FILE, "pb_thread_func: error writing data!")); - } - - tstamp.u64 += nframes; - } - - snd_pcm_drain (pcm); - TRACE_((THIS_FILE, "pb_thread_func: Stopped")); - return PJ_SUCCESS; -} - - - -static int ca_thread_func (void *arg) -{ - struct alsa_stream* stream = (struct alsa_stream*) arg; - snd_pcm_t* pcm = stream->ca_pcm; - int size = stream->ca_buf_size; - snd_pcm_uframes_t nframes = stream->ca_frames; - void* user_data = stream->user_data; - char* buf = stream->ca_buf; - pj_timestamp tstamp; - int result; - struct sched_param param; - pthread_t* thid; - - thid = (pthread_t*) pj_thread_get_os_handle (pj_thread_this()); - param.sched_priority = sched_get_priority_max (SCHED_RR); - PJ_LOG (5,(THIS_FILE, "ca_thread_func(%u): Set thread priority " - "for audio capture thread.", - (unsigned)syscall(SYS_gettid))); - result = pthread_setschedparam (*thid, SCHED_RR, ¶m); - if (result) { - if (result == EPERM) - PJ_LOG (5,(THIS_FILE, "Unable to increase thread priority, " - "root access needed.")); - else - PJ_LOG (5,(THIS_FILE, "Unable to increase thread priority, " - "error: %d", - result)); - } - - pj_bzero (buf, size); - tstamp.u64 = 0; - - TRACE_((THIS_FILE, "ca_thread_func(%u): Started", - (unsigned)syscall(SYS_gettid))); - - snd_pcm_prepare (pcm); - - while (!stream->quit) { - pjmedia_frame frame; - - pj_bzero (buf, size); - result = snd_pcm_readi (pcm, buf, nframes); - if (result == -EPIPE) { - PJ_LOG (4,(THIS_FILE, "ca_thread_func: overrun!")); - snd_pcm_prepare (pcm); - continue; - } else if (result < 0) { - PJ_LOG (4,(THIS_FILE, "ca_thread_func: error reading data!")); - } - if (stream->quit) - break; - - frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - frame.buf = (void*) buf; - frame.size = size; - frame.timestamp.u64 = tstamp.u64; - frame.bit_info = 0; - - result = stream->ca_cb (user_data, &frame); - if (result != PJ_SUCCESS || stream->quit) - break; - - tstamp.u64 += nframes; - } - snd_pcm_drain (pcm); - TRACE_((THIS_FILE, "ca_thread_func: Stopped")); - - return PJ_SUCCESS; -} - - -static pj_status_t open_playback (struct alsa_stream* stream, - const pjmedia_aud_param *param) -{ - snd_pcm_hw_params_t* params; - snd_pcm_format_t format; - int result; - unsigned int rate; - snd_pcm_uframes_t tmp_buf_size; - snd_pcm_uframes_t tmp_period_size; - - if (param->play_id < 0 || param->play_id >= stream->af->dev_cnt) - return PJMEDIA_EAUD_INVDEV; - - /* Open PCM for playback */ - PJ_LOG (5,(THIS_FILE, "open_playback: Open playback device '%s'", - stream->af->devs[param->play_id].name)); - result = snd_pcm_open (&stream->pb_pcm, - stream->af->devs[param->play_id].name, - SND_PCM_STREAM_PLAYBACK, - 0); - if (result < 0) - return PJMEDIA_EAUD_SYSERR; - - /* Allocate a hardware parameters object. */ - snd_pcm_hw_params_alloca (¶ms); - - /* Fill it in with default values. */ - snd_pcm_hw_params_any (stream->pb_pcm, params); - - /* Set interleaved mode */ - snd_pcm_hw_params_set_access (stream->pb_pcm, params, - SND_PCM_ACCESS_RW_INTERLEAVED); - - /* Set format */ - switch (param->bits_per_sample) { - case 8: - TRACE_((THIS_FILE, "open_playback: set format SND_PCM_FORMAT_S8")); - format = SND_PCM_FORMAT_S8; - break; - case 16: - TRACE_((THIS_FILE, "open_playback: set format SND_PCM_FORMAT_S16_LE")); - format = SND_PCM_FORMAT_S16_LE; - break; - case 24: - TRACE_((THIS_FILE, "open_playback: set format SND_PCM_FORMAT_S24_LE")); - format = SND_PCM_FORMAT_S24_LE; - break; - case 32: - TRACE_((THIS_FILE, "open_playback: set format SND_PCM_FORMAT_S32_LE")); - format = SND_PCM_FORMAT_S32_LE; - break; - default: - TRACE_((THIS_FILE, "open_playback: set format SND_PCM_FORMAT_S16_LE")); - format = SND_PCM_FORMAT_S16_LE; - break; - } - snd_pcm_hw_params_set_format (stream->pb_pcm, params, format); - - /* Set number of channels */ - TRACE_((THIS_FILE, "open_playback: set channels: %d", - param->channel_count)); - snd_pcm_hw_params_set_channels (stream->pb_pcm, params, - param->channel_count); - - /* Set clock rate */ - rate = param->clock_rate; - TRACE_((THIS_FILE, "open_playback: set clock rate: %d", rate)); - snd_pcm_hw_params_set_rate_near (stream->pb_pcm, params, &rate, NULL); - TRACE_((THIS_FILE, "open_playback: clock rate set to: %d", rate)); - - /* Set period size to samples_per_frame frames. */ - stream->pb_frames = (snd_pcm_uframes_t) param->samples_per_frame / - param->channel_count; - TRACE_((THIS_FILE, "open_playback: set period size: %d", - stream->pb_frames)); - tmp_period_size = stream->pb_frames; - snd_pcm_hw_params_set_period_size_near (stream->pb_pcm, params, - &tmp_period_size, NULL); - TRACE_((THIS_FILE, "open_playback: period size set to: %d", - tmp_period_size)); - - /* Set the sound device buffer size and latency */ - if (param->flags & PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY) - tmp_buf_size = (rate / 1000) * param->output_latency_ms; - else - tmp_buf_size = (rate / 1000) * PJMEDIA_SND_DEFAULT_PLAY_LATENCY; - snd_pcm_hw_params_set_buffer_size_near (stream->pb_pcm, params, - &tmp_buf_size); - stream->param.output_latency_ms = tmp_buf_size / (rate / 1000); - - /* Set our buffer */ - stream->pb_buf_size = stream->pb_frames * param->channel_count * - (param->bits_per_sample/8); - stream->pb_buf = (char*) pj_pool_alloc(stream->pool, stream->pb_buf_size); - - TRACE_((THIS_FILE, "open_playback: buffer size set to: %d", - (int)tmp_buf_size)); - TRACE_((THIS_FILE, "open_playback: playback_latency set to: %d ms", - (int)stream->param.output_latency_ms)); - - /* Activate the parameters */ - result = snd_pcm_hw_params (stream->pb_pcm, params); - if (result < 0) { - snd_pcm_close (stream->pb_pcm); - return PJMEDIA_EAUD_SYSERR; - } - - PJ_LOG (5,(THIS_FILE, "Opened device alsa(%s) for playing, sample rate=%d" - ", ch=%d, bits=%d, period size=%d frames, latency=%d ms", - stream->af->devs[param->play_id].name, - rate, param->channel_count, - param->bits_per_sample, stream->pb_frames, - (int)stream->param.output_latency_ms)); - - return PJ_SUCCESS; -} - - -static pj_status_t open_capture (struct alsa_stream* stream, - const pjmedia_aud_param *param) -{ - snd_pcm_hw_params_t* params; - snd_pcm_format_t format; - int result; - unsigned int rate; - snd_pcm_uframes_t tmp_buf_size; - snd_pcm_uframes_t tmp_period_size; - - if (param->rec_id < 0 || param->rec_id >= stream->af->dev_cnt) - return PJMEDIA_EAUD_INVDEV; - - /* Open PCM for capture */ - PJ_LOG (5,(THIS_FILE, "open_capture: Open capture device '%s'", - stream->af->devs[param->rec_id].name)); - result = snd_pcm_open (&stream->ca_pcm, - stream->af->devs[param->rec_id].name, - SND_PCM_STREAM_CAPTURE, - 0); - if (result < 0) - return PJMEDIA_EAUD_SYSERR; - - /* Allocate a hardware parameters object. */ - snd_pcm_hw_params_alloca (¶ms); - - /* Fill it in with default values. */ - snd_pcm_hw_params_any (stream->ca_pcm, params); - - /* Set interleaved mode */ - snd_pcm_hw_params_set_access (stream->ca_pcm, params, - SND_PCM_ACCESS_RW_INTERLEAVED); - - /* Set format */ - switch (param->bits_per_sample) { - case 8: - TRACE_((THIS_FILE, "open_capture: set format SND_PCM_FORMAT_S8")); - format = SND_PCM_FORMAT_S8; - break; - case 16: - TRACE_((THIS_FILE, "open_capture: set format SND_PCM_FORMAT_S16_LE")); - format = SND_PCM_FORMAT_S16_LE; - break; - case 24: - TRACE_((THIS_FILE, "open_capture: set format SND_PCM_FORMAT_S24_LE")); - format = SND_PCM_FORMAT_S24_LE; - break; - case 32: - TRACE_((THIS_FILE, "open_capture: set format SND_PCM_FORMAT_S32_LE")); - format = SND_PCM_FORMAT_S32_LE; - break; - default: - TRACE_((THIS_FILE, "open_capture: set format SND_PCM_FORMAT_S16_LE")); - format = SND_PCM_FORMAT_S16_LE; - break; - } - snd_pcm_hw_params_set_format (stream->ca_pcm, params, format); - - /* Set number of channels */ - TRACE_((THIS_FILE, "open_capture: set channels: %d", - param->channel_count)); - snd_pcm_hw_params_set_channels (stream->ca_pcm, params, - param->channel_count); - - /* Set clock rate */ - rate = param->clock_rate; - TRACE_((THIS_FILE, "open_capture: set clock rate: %d", rate)); - snd_pcm_hw_params_set_rate_near (stream->ca_pcm, params, &rate, NULL); - TRACE_((THIS_FILE, "open_capture: clock rate set to: %d", rate)); - - /* Set period size to samples_per_frame frames. */ - stream->ca_frames = (snd_pcm_uframes_t) param->samples_per_frame / - param->channel_count; - TRACE_((THIS_FILE, "open_capture: set period size: %d", - stream->ca_frames)); - tmp_period_size = stream->ca_frames; - snd_pcm_hw_params_set_period_size_near (stream->ca_pcm, params, - &tmp_period_size, NULL); - TRACE_((THIS_FILE, "open_capture: period size set to: %d", - tmp_period_size)); - - /* Set the sound device buffer size and latency */ - if (param->flags & PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY) - tmp_buf_size = (rate / 1000) * param->input_latency_ms; - else - tmp_buf_size = (rate / 1000) * PJMEDIA_SND_DEFAULT_REC_LATENCY; - snd_pcm_hw_params_set_buffer_size_near (stream->ca_pcm, params, - &tmp_buf_size); - stream->param.input_latency_ms = tmp_buf_size / (rate / 1000); - - /* Set our buffer */ - stream->ca_buf_size = stream->ca_frames * param->channel_count * - (param->bits_per_sample/8); - stream->ca_buf = (char*) pj_pool_alloc (stream->pool, stream->ca_buf_size); - - TRACE_((THIS_FILE, "open_capture: buffer size set to: %d", - (int)tmp_buf_size)); - TRACE_((THIS_FILE, "open_capture: capture_latency set to: %d ms", - (int)stream->param.input_latency_ms)); - - /* Activate the parameters */ - result = snd_pcm_hw_params (stream->ca_pcm, params); - if (result < 0) { - snd_pcm_close (stream->ca_pcm); - return PJMEDIA_EAUD_SYSERR; - } - - PJ_LOG (5,(THIS_FILE, "Opened device alsa(%s) for capture, sample rate=%d" - ", ch=%d, bits=%d, period size=%d frames, latency=%d ms", - stream->af->devs[param->rec_id].name, - rate, param->channel_count, - param->bits_per_sample, stream->ca_frames, - (int)stream->param.input_latency_ms)); - - return PJ_SUCCESS; -} - - -/* API: create stream */ -static pj_status_t alsa_factory_create_stream(pjmedia_aud_dev_factory *f, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_strm) -{ - struct alsa_factory *af = (struct alsa_factory*)f; - pj_status_t status; - pj_pool_t* pool; - struct alsa_stream* stream; - - pool = pj_pool_create (af->pf, "alsa%p", 1024, 1024, NULL); - if (!pool) - return PJ_ENOMEM; - - /* Allocate and initialize comon stream data */ - stream = PJ_POOL_ZALLOC_T (pool, struct alsa_stream); - stream->base.op = &alsa_stream_op; - stream->pool = pool; - stream->af = af; - stream->user_data = user_data; - stream->pb_cb = play_cb; - stream->ca_cb = rec_cb; - stream->quit = 0; - pj_memcpy(&stream->param, param, sizeof(*param)); - - /* Init playback */ - if (param->dir & PJMEDIA_DIR_PLAYBACK) { - status = open_playback (stream, param); - if (status != PJ_SUCCESS) { - pj_pool_release (pool); - return status; - } - } - - /* Init capture */ - if (param->dir & PJMEDIA_DIR_CAPTURE) { - status = open_capture (stream, param); - if (status != PJ_SUCCESS) { - if (param->dir & PJMEDIA_DIR_PLAYBACK) - snd_pcm_close (stream->pb_pcm); - pj_pool_release (pool); - return status; - } - } - - *p_strm = &stream->base; - return PJ_SUCCESS; -} - - -/* API: get running parameter */ -static pj_status_t alsa_stream_get_param(pjmedia_aud_stream *s, - pjmedia_aud_param *pi) -{ - struct alsa_stream *stream = (struct alsa_stream*)s; - - PJ_ASSERT_RETURN(s && pi, PJ_EINVAL); - - pj_memcpy(pi, &stream->param, sizeof(*pi)); - - return PJ_SUCCESS; -} - - -/* API: get capability */ -static pj_status_t alsa_stream_get_cap(pjmedia_aud_stream *s, - pjmedia_aud_dev_cap cap, - void *pval) -{ - struct alsa_stream *stream = (struct alsa_stream*)s; - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - if (cap==PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY && - (stream->param.dir & PJMEDIA_DIR_CAPTURE)) - { - /* Recording latency */ - *(unsigned*)pval = stream->param.input_latency_ms; - return PJ_SUCCESS; - } else if (cap==PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY && - (stream->param.dir & PJMEDIA_DIR_PLAYBACK)) - { - /* Playback latency */ - *(unsigned*)pval = stream->param.output_latency_ms; - return PJ_SUCCESS; - } else { - return PJMEDIA_EAUD_INVCAP; - } -} - - -/* API: set capability */ -static pj_status_t alsa_stream_set_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - const void *value) -{ - PJ_UNUSED_ARG(strm); - PJ_UNUSED_ARG(cap); - PJ_UNUSED_ARG(value); - - return PJMEDIA_EAUD_INVCAP; -} - - -/* API: start stream */ -static pj_status_t alsa_stream_start (pjmedia_aud_stream *s) -{ - struct alsa_stream *stream = (struct alsa_stream*)s; - pj_status_t status = PJ_SUCCESS; - - stream->quit = 0; - if (stream->param.dir & PJMEDIA_DIR_PLAYBACK) { - status = pj_thread_create (stream->pool, - "alsasound_playback", - pb_thread_func, - stream, - 0, //ZERO, - 0, - &stream->pb_thread); - if (status != PJ_SUCCESS) - return status; - } - - if (stream->param.dir & PJMEDIA_DIR_CAPTURE) { - status = pj_thread_create (stream->pool, - "alsasound_playback", - ca_thread_func, - stream, - 0, //ZERO, - 0, - &stream->ca_thread); - if (status != PJ_SUCCESS) { - stream->quit = PJ_TRUE; - pj_thread_join(stream->pb_thread); - pj_thread_destroy(stream->pb_thread); - stream->pb_thread = NULL; - } - } - - return status; -} - - -/* API: stop stream */ -static pj_status_t alsa_stream_stop (pjmedia_aud_stream *s) -{ - struct alsa_stream *stream = (struct alsa_stream*)s; - - stream->quit = 1; - - if (stream->pb_thread) { - TRACE_((THIS_FILE, - "alsa_stream_stop(%u): Waiting for playback to stop.", - (unsigned)syscall(SYS_gettid))); - pj_thread_join (stream->pb_thread); - TRACE_((THIS_FILE, - "alsa_stream_stop(%u): playback stopped.", - (unsigned)syscall(SYS_gettid))); - pj_thread_destroy(stream->pb_thread); - stream->pb_thread = NULL; - } - - if (stream->ca_thread) { - TRACE_((THIS_FILE, - "alsa_stream_stop(%u): Waiting for capture to stop.", - (unsigned)syscall(SYS_gettid))); - pj_thread_join (stream->ca_thread); - TRACE_((THIS_FILE, - "alsa_stream_stop(%u): capture stopped.", - (unsigned)syscall(SYS_gettid))); - pj_thread_destroy(stream->ca_thread); - stream->ca_thread = NULL; - } - - return PJ_SUCCESS; -} - - - -static pj_status_t alsa_stream_destroy (pjmedia_aud_stream *s) -{ - struct alsa_stream *stream = (struct alsa_stream*)s; - - alsa_stream_stop (s); - - if (stream->param.dir & PJMEDIA_DIR_PLAYBACK) { - snd_pcm_close (stream->pb_pcm); - stream->pb_pcm = NULL; - } - if (stream->param.dir & PJMEDIA_DIR_CAPTURE) { - snd_pcm_close (stream->ca_pcm); - stream->ca_pcm = NULL; - } - - pj_pool_release (stream->pool); - - return PJ_SUCCESS; -} - -#endif /* PJMEDIA_AUDIO_DEV_HAS_ALSA */ diff --git a/res/pjproject/pjmedia/src/pjmedia-audiodev/audiodev.c b/res/pjproject/pjmedia/src/pjmedia-audiodev/audiodev.c deleted file mode 100644 index 067fc78f11..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-audiodev/audiodev.c +++ /dev/null @@ -1,815 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "audiodev.c" - -#define DEFINE_CAP(name, info) {name, info} - -/* Capability names */ -static struct cap_info -{ - const char *name; - const char *info; -} cap_infos[] = -{ - DEFINE_CAP("ext-fmt", "Extended/non-PCM format"), - DEFINE_CAP("latency-in", "Input latency/buffer size setting"), - DEFINE_CAP("latency-out", "Output latency/buffer size setting"), - DEFINE_CAP("vol-in", "Input volume setting"), - DEFINE_CAP("vol-out", "Output volume setting"), - DEFINE_CAP("meter-in", "Input meter"), - DEFINE_CAP("meter-out", "Output meter"), - DEFINE_CAP("route-in", "Input routing"), - DEFINE_CAP("route-out", "Output routing"), - DEFINE_CAP("aec", "Accoustic echo cancellation"), - DEFINE_CAP("aec-tail", "Tail length setting for AEC"), - DEFINE_CAP("vad", "Voice activity detection"), - DEFINE_CAP("cng", "Comfort noise generation"), - DEFINE_CAP("plg", "Packet loss concealment") -}; - - -/* - * The device index seen by application and driver is different. - * - * At application level, device index is index to global list of device. - * At driver level, device index is index to device list on that particular - * factory only. - */ -#define MAKE_DEV_ID(f_id, index) (((f_id & 0xFFFF) << 16) | (index & 0xFFFF)) -#define GET_INDEX(dev_id) ((dev_id) & 0xFFFF) -#define GET_FID(dev_id) ((dev_id) >> 16) -#define DEFAULT_DEV_ID 0 - - -/* extern functions to create factories */ -#if PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO -pjmedia_aud_dev_factory* pjmedia_pa_factory(pj_pool_factory *pf); -#endif - -#if PJMEDIA_AUDIO_DEV_HAS_COREAUDIO -pjmedia_aud_dev_factory* pjmedia_coreaudio_factory(pj_pool_factory *pf); -#endif - -#if PJMEDIA_AUDIO_DEV_HAS_ALSA -pjmedia_aud_dev_factory* pjmedia_alsa_factory(pj_pool_factory *pf); -#endif - -#if PJMEDIA_AUDIO_DEV_HAS_WMME -pjmedia_aud_dev_factory* pjmedia_wmme_factory(pj_pool_factory *pf); -#endif - -#if PJMEDIA_AUDIO_DEV_HAS_SYMB_VAS -pjmedia_aud_dev_factory* pjmedia_symb_vas_factory(pj_pool_factory *pf); -#endif - -#if PJMEDIA_AUDIO_DEV_HAS_SYMB_APS -pjmedia_aud_dev_factory* pjmedia_aps_factory(pj_pool_factory *pf); -#endif - -#if PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA -pjmedia_aud_dev_factory* pjmedia_symb_mda_factory(pj_pool_factory *pf); -#endif - -#if PJMEDIA_AUDIO_DEV_HAS_NULL_AUDIO -pjmedia_aud_dev_factory* pjmedia_null_audio_factory(pj_pool_factory *pf); -#endif - -#define MAX_DRIVERS 16 -#define MAX_DEVS 64 - - -/* driver structure */ -struct driver -{ - /* Creation function */ - pjmedia_aud_dev_factory_create_func_ptr create; - /* Factory instance */ - pjmedia_aud_dev_factory *f; - char name[32]; /* Driver name */ - unsigned dev_cnt; /* Number of devices */ - unsigned start_idx; /* Start index in global list */ - int rec_dev_idx;/* Default capture device. */ - int play_dev_idx;/* Default playback device */ - int dev_idx; /* Default device. */ -}; - -/* The audio subsystem */ -static struct aud_subsys -{ - unsigned init_count; /* How many times init() is called */ - pj_pool_factory *pf; /* The pool factory. */ - - unsigned drv_cnt; /* Number of drivers. */ - struct driver drv[MAX_DRIVERS]; /* Array of drivers. */ - - unsigned dev_cnt; /* Total number of devices. */ - pj_uint32_t dev_list[MAX_DEVS];/* Array of device IDs. */ - -} aud_subsys; - -/* API: get capability name/info */ -PJ_DEF(const char*) pjmedia_aud_dev_cap_name(pjmedia_aud_dev_cap cap, - const char **p_desc) -{ - const char *desc; - unsigned i; - - if (p_desc==NULL) p_desc = &desc; - - for (i=0; iname; \ - *size = sizeof(param->name) - - switch (cap) { - case PJMEDIA_AUD_DEV_CAP_EXT_FORMAT: - FIELD_INFO(ext_fmt); - break; - case PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY: - FIELD_INFO(input_latency_ms); - break; - case PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY: - FIELD_INFO(output_latency_ms); - break; - case PJMEDIA_AUD_DEV_CAP_INPUT_VOLUME_SETTING: - FIELD_INFO(input_vol); - break; - case PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING: - FIELD_INFO(output_vol); - break; - case PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE: - FIELD_INFO(input_route); - break; - case PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE: - FIELD_INFO(output_route); - break; - case PJMEDIA_AUD_DEV_CAP_EC: - FIELD_INFO(ec_enabled); - break; - case PJMEDIA_AUD_DEV_CAP_EC_TAIL: - FIELD_INFO(ec_tail_ms); - break; - /* vad is no longer in "fmt" in 2.0. - case PJMEDIA_AUD_DEV_CAP_VAD: - FIELD_INFO(ext_fmt.vad); - break; - */ - case PJMEDIA_AUD_DEV_CAP_CNG: - FIELD_INFO(cng_enabled); - break; - case PJMEDIA_AUD_DEV_CAP_PLC: - FIELD_INFO(plc_enabled); - break; - default: - return PJMEDIA_EAUD_INVCAP; - } - -#undef FIELD_INFO - - return PJ_SUCCESS; -} - -/* API: set cap value to param */ -PJ_DEF(pj_status_t) pjmedia_aud_param_set_cap( pjmedia_aud_param *param, - pjmedia_aud_dev_cap cap, - const void *pval) -{ - void *cap_ptr; - unsigned cap_size; - pj_status_t status; - - status = get_cap_pointer(param, cap, &cap_ptr, &cap_size); - if (status != PJ_SUCCESS) - return status; - - pj_memcpy(cap_ptr, pval, cap_size); - param->flags |= cap; - - return PJ_SUCCESS; -} - -/* API: get cap value from param */ -PJ_DEF(pj_status_t) pjmedia_aud_param_get_cap( const pjmedia_aud_param *param, - pjmedia_aud_dev_cap cap, - void *pval) -{ - void *cap_ptr; - unsigned cap_size; - pj_status_t status; - - status = get_cap_pointer(param, cap, &cap_ptr, &cap_size); - if (status != PJ_SUCCESS) - return status; - - if ((param->flags & cap) == 0) { - pj_bzero(cap_ptr, cap_size); - return PJMEDIA_EAUD_INVCAP; - } - - pj_memcpy(pval, cap_ptr, cap_size); - return PJ_SUCCESS; -} - -/* Internal: init driver */ -static pj_status_t init_driver(unsigned drv_idx, pj_bool_t refresh) -{ - struct driver *drv = &aud_subsys.drv[drv_idx]; - pjmedia_aud_dev_factory *f; - unsigned i, dev_cnt; - pj_status_t status; - - if (!refresh) { - /* Create the factory */ - f = (*drv->create)(aud_subsys.pf); - if (!f) - return PJ_EUNKNOWN; - - /* Call factory->init() */ - status = f->op->init(f); - if (status != PJ_SUCCESS) { - f->op->destroy(f); - return status; - } - } else { - f = drv->f; - } - - /* Get number of devices */ - dev_cnt = f->op->get_dev_count(f); - if (dev_cnt + aud_subsys.dev_cnt > MAX_DEVS) { - PJ_LOG(4,(THIS_FILE, "%d device(s) cannot be registered because" - " there are too many devices", - aud_subsys.dev_cnt + dev_cnt - MAX_DEVS)); - dev_cnt = MAX_DEVS - aud_subsys.dev_cnt; - } - - /* enabling this will cause pjsua-lib initialization to fail when there - * is no sound device installed in the system, even when pjsua has been - * run with --null-audio - * - if (dev_cnt == 0) { - f->op->destroy(f); - return PJMEDIA_EAUD_NODEV; - } - */ - - /* Fill in default devices */ - drv->play_dev_idx = drv->rec_dev_idx = drv->dev_idx = -1; - for (i=0; iop->get_dev_info(f, i, &info); - if (status != PJ_SUCCESS) { - f->op->destroy(f); - return status; - } - - if (drv->name[0]=='\0') { - /* Set driver name */ - pj_ansi_strncpy(drv->name, info.driver, sizeof(drv->name)); - drv->name[sizeof(drv->name)-1] = '\0'; - } - - if (drv->play_dev_idx < 0 && info.output_count) { - /* Set default playback device */ - drv->play_dev_idx = i; - } - if (drv->rec_dev_idx < 0 && info.input_count) { - /* Set default capture device */ - drv->rec_dev_idx = i; - } - if (drv->dev_idx < 0 && info.input_count && - info.output_count) - { - /* Set default capture and playback device */ - drv->dev_idx = i; - } - - if (drv->play_dev_idx >= 0 && drv->rec_dev_idx >= 0 && - drv->dev_idx >= 0) - { - /* Done. */ - break; - } - } - - /* Register the factory */ - drv->f = f; - drv->f->sys.drv_idx = drv_idx; - drv->start_idx = aud_subsys.dev_cnt; - drv->dev_cnt = dev_cnt; - - /* Register devices to global list */ - for (i=0; if) { - drv->f->op->destroy(drv->f); - drv->f = NULL; - } - - drv->dev_cnt = 0; - drv->play_dev_idx = drv->rec_dev_idx = drv->dev_idx = -1; -} - -/* API: Initialize the audio subsystem. */ -PJ_DEF(pj_status_t) pjmedia_aud_subsys_init(pj_pool_factory *pf) -{ - unsigned i; - pj_status_t status; - - /* Allow init() to be called multiple times as long as there is matching - * number of shutdown(). - */ - if (aud_subsys.init_count++ != 0) { - return PJ_SUCCESS; - } - - /* Register error subsystem */ - status = pj_register_strerror(PJMEDIA_AUDIODEV_ERRNO_START, - PJ_ERRNO_SPACE_SIZE, - &pjmedia_audiodev_strerror); - pj_assert(status == PJ_SUCCESS); - - /* Init */ - aud_subsys.pf = pf; - aud_subsys.drv_cnt = 0; - aud_subsys.dev_cnt = 0; - - /* Register creation functions */ -#if PJMEDIA_AUDIO_DEV_HAS_ALSA - aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_alsa_factory; -#endif -#if PJMEDIA_AUDIO_DEV_HAS_COREAUDIO - aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_coreaudio_factory; -#endif -#if PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO - aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_pa_factory; -#endif -#if PJMEDIA_AUDIO_DEV_HAS_WMME - aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_wmme_factory; -#endif -#if PJMEDIA_AUDIO_DEV_HAS_SYMB_VAS - aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_symb_vas_factory; -#endif -#if PJMEDIA_AUDIO_DEV_HAS_SYMB_APS - aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_aps_factory; -#endif -#if PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA - aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_symb_mda_factory; -#endif -#if PJMEDIA_AUDIO_DEV_HAS_NULL_AUDIO - aud_subsys.drv[aud_subsys.drv_cnt++].create = &pjmedia_null_audio_factory; -#endif - - /* Initialize each factory and build the device ID list */ - for (i=0; icreate == adf) { - for (j = drv->start_idx; j < drv->start_idx + drv->dev_cnt; j++) - { - aud_subsys.dev_list[j] = (pj_uint32_t)PJMEDIA_AUD_INVALID_DEV; - } - - deinit_driver(i); - pj_bzero(drv, sizeof(*drv)); - return PJ_SUCCESS; - } - } - - return PJMEDIA_EAUD_ERR; -} - -/* API: get the pool factory registered to the audio subsystem. */ -PJ_DEF(pj_pool_factory*) pjmedia_aud_subsys_get_pool_factory(void) -{ - return aud_subsys.pf; -} - -/* API: Shutdown the audio subsystem. */ -PJ_DEF(pj_status_t) pjmedia_aud_subsys_shutdown(void) -{ - unsigned i; - - /* Allow shutdown() to be called multiple times as long as there is matching - * number of init(). - */ - if (aud_subsys.init_count == 0) { - return PJ_SUCCESS; - } - --aud_subsys.init_count; - - if (aud_subsys.init_count == 0) { - for (i=0; if && drv->f->op->refresh) { - pj_status_t status = drv->f->op->refresh(drv->f); - if (status != PJ_SUCCESS) { - PJ_PERROR(4, (THIS_FILE, status, "Unable to refresh device " - "list for %s", drv->name)); - } - } - init_driver(i, PJ_TRUE); - } - return PJ_SUCCESS; -} - -/* API: Get the number of sound devices installed in the system. */ -PJ_DEF(unsigned) pjmedia_aud_dev_count(void) -{ - return aud_subsys.dev_cnt; -} - -/* Internal: convert local index to global device index */ -static pj_status_t make_global_index(unsigned drv_idx, - pjmedia_aud_dev_index *id) -{ - if (*id < 0) { - return PJ_SUCCESS; - } - - /* Check that factory still exists */ - PJ_ASSERT_RETURN(aud_subsys.drv[drv_idx].f, PJ_EBUG); - - /* Check that device index is valid */ - PJ_ASSERT_RETURN(*id>=0 && *id<(int)aud_subsys.drv[drv_idx].dev_cnt, - PJ_EBUG); - - *id += aud_subsys.drv[drv_idx].start_idx; - return PJ_SUCCESS; -} - -/* Internal: lookup device id */ -static pj_status_t lookup_dev(pjmedia_aud_dev_index id, - pjmedia_aud_dev_factory **p_f, - unsigned *p_local_index) -{ - int f_id, index; - - if (id < 0) { - unsigned i; - - if (id == PJMEDIA_AUD_INVALID_DEV) - return PJMEDIA_EAUD_INVDEV; - - for (i=0; idev_idx >= 0) { - id = drv->dev_idx; - make_global_index(i, &id); - break; - } else if (id==PJMEDIA_AUD_DEFAULT_CAPTURE_DEV && - drv->rec_dev_idx >= 0) - { - id = drv->rec_dev_idx; - make_global_index(i, &id); - break; - } else if (id==PJMEDIA_AUD_DEFAULT_PLAYBACK_DEV && - drv->play_dev_idx >= 0) - { - id = drv->play_dev_idx; - make_global_index(i, &id); - break; - } - } - - if (id < 0) { - return PJMEDIA_EAUD_NODEFDEV; - } - } - - f_id = GET_FID(aud_subsys.dev_list[id]); - index = GET_INDEX(aud_subsys.dev_list[id]); - - if (f_id < 0 || f_id >= (int)aud_subsys.drv_cnt) - return PJMEDIA_EAUD_INVDEV; - - if (index < 0 || index >= (int)aud_subsys.drv[f_id].dev_cnt) - return PJMEDIA_EAUD_INVDEV; - - *p_f = aud_subsys.drv[f_id].f; - *p_local_index = (unsigned)index; - - return PJ_SUCCESS; - -} - -/* API: Get device information. */ -PJ_DEF(pj_status_t) pjmedia_aud_dev_get_info(pjmedia_aud_dev_index id, - pjmedia_aud_dev_info *info) -{ - pjmedia_aud_dev_factory *f; - unsigned index; - pj_status_t status; - - PJ_ASSERT_RETURN(info && id!=PJMEDIA_AUD_INVALID_DEV, PJ_EINVAL); - PJ_ASSERT_RETURN(aud_subsys.pf, PJMEDIA_EAUD_INIT); - - status = lookup_dev(id, &f, &index); - if (status != PJ_SUCCESS) - return status; - - return f->op->get_dev_info(f, index, info); -} - -/* API: find device */ -PJ_DEF(pj_status_t) pjmedia_aud_dev_lookup( const char *drv_name, - const char *dev_name, - pjmedia_aud_dev_index *id) -{ - pjmedia_aud_dev_factory *f = NULL; - unsigned drv_idx, dev_idx; - - PJ_ASSERT_RETURN(drv_name && dev_name && id, PJ_EINVAL); - PJ_ASSERT_RETURN(aud_subsys.pf, PJMEDIA_EAUD_INIT); - - for (drv_idx=0; drv_idxop->get_dev_info(f, dev_idx, &info); - if (status != PJ_SUCCESS) - return status; - - if (!pj_ansi_stricmp(dev_name, info.name)) - break; - } - - if (dev_idx==aud_subsys.drv[drv_idx].dev_cnt) - return PJ_ENOTFOUND; - - *id = dev_idx; - make_global_index(drv_idx, id); - - return PJ_SUCCESS; -} - -/* API: Initialize the audio device parameters with default values for the - * specified device. - */ -PJ_DEF(pj_status_t) pjmedia_aud_dev_default_param(pjmedia_aud_dev_index id, - pjmedia_aud_param *param) -{ - pjmedia_aud_dev_factory *f; - unsigned index; - pj_status_t status; - - PJ_ASSERT_RETURN(param && id!=PJMEDIA_AUD_INVALID_DEV, PJ_EINVAL); - PJ_ASSERT_RETURN(aud_subsys.pf, PJMEDIA_EAUD_INIT); - - status = lookup_dev(id, &f, &index); - if (status != PJ_SUCCESS) - return status; - - status = f->op->default_param(f, index, param); - if (status != PJ_SUCCESS) - return status; - - /* Normalize device IDs */ - make_global_index(f->sys.drv_idx, ¶m->rec_id); - make_global_index(f->sys.drv_idx, ¶m->play_id); - - return PJ_SUCCESS; -} - -/* API: Open audio stream object using the specified parameters. */ -PJ_DEF(pj_status_t) pjmedia_aud_stream_create(const pjmedia_aud_param *prm, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_aud_strm) -{ - pjmedia_aud_dev_factory *rec_f=NULL, *play_f=NULL, *f=NULL; - pjmedia_aud_param param; - pj_status_t status; - - PJ_ASSERT_RETURN(prm && prm->dir && p_aud_strm, PJ_EINVAL); - PJ_ASSERT_RETURN(aud_subsys.pf, PJMEDIA_EAUD_INIT); - PJ_ASSERT_RETURN(prm->dir==PJMEDIA_DIR_CAPTURE || - prm->dir==PJMEDIA_DIR_PLAYBACK || - prm->dir==PJMEDIA_DIR_CAPTURE_PLAYBACK, - PJ_EINVAL); - - /* Must make copy of param because we're changing device ID */ - pj_memcpy(¶m, prm, sizeof(param)); - - /* Normalize rec_id */ - if (param.dir & PJMEDIA_DIR_CAPTURE) { - unsigned index; - - if (param.rec_id < 0) - param.rec_id = PJMEDIA_AUD_DEFAULT_CAPTURE_DEV; - - status = lookup_dev(param.rec_id, &rec_f, &index); - if (status != PJ_SUCCESS) - return status; - - param.rec_id = index; - f = rec_f; - } - - /* Normalize play_id */ - if (param.dir & PJMEDIA_DIR_PLAYBACK) { - unsigned index; - - if (param.play_id < 0) - param.play_id = PJMEDIA_AUD_DEFAULT_PLAYBACK_DEV; - - status = lookup_dev(param.play_id, &play_f, &index); - if (status != PJ_SUCCESS) - return status; - - param.play_id = index; - f = play_f; - } - - PJ_ASSERT_RETURN(f != NULL, PJ_EBUG); - - /* For now, rec_id and play_id must belong to the same factory */ - PJ_ASSERT_RETURN((param.dir != PJMEDIA_DIR_CAPTURE_PLAYBACK) || - (rec_f == play_f), - PJMEDIA_EAUD_INVDEV); - - /* Create the stream */ - status = f->op->create_stream(f, ¶m, rec_cb, play_cb, - user_data, p_aud_strm); - if (status != PJ_SUCCESS) - return status; - - /* Assign factory id to the stream */ - (*p_aud_strm)->sys.drv_idx = f->sys.drv_idx; - return PJ_SUCCESS; -} - -/* API: Get the running parameters for the specified audio stream. */ -PJ_DEF(pj_status_t) pjmedia_aud_stream_get_param(pjmedia_aud_stream *strm, - pjmedia_aud_param *param) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(strm && param, PJ_EINVAL); - PJ_ASSERT_RETURN(aud_subsys.pf, PJMEDIA_EAUD_INIT); - - status = strm->op->get_param(strm, param); - if (status != PJ_SUCCESS) - return status; - - /* Normalize device id's */ - make_global_index(strm->sys.drv_idx, ¶m->rec_id); - make_global_index(strm->sys.drv_idx, ¶m->play_id); - - return PJ_SUCCESS; -} - -/* API: Get the value of a specific capability of the audio stream. */ -PJ_DEF(pj_status_t) pjmedia_aud_stream_get_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - void *value) -{ - return strm->op->get_cap(strm, cap, value); -} - -/* API: Set the value of a specific capability of the audio stream. */ -PJ_DEF(pj_status_t) pjmedia_aud_stream_set_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - const void *value) -{ - return strm->op->set_cap(strm, cap, value); -} - -/* API: Start the stream. */ -PJ_DEF(pj_status_t) pjmedia_aud_stream_start(pjmedia_aud_stream *strm) -{ - return strm->op->start(strm); -} - -/* API: Stop the stream. */ -PJ_DEF(pj_status_t) pjmedia_aud_stream_stop(pjmedia_aud_stream *strm) -{ - return strm->op->stop(strm); -} - -/* API: Destroy the stream. */ -PJ_DEF(pj_status_t) pjmedia_aud_stream_destroy(pjmedia_aud_stream *strm) -{ - return strm->op->destroy(strm); -} - - diff --git a/res/pjproject/pjmedia/src/pjmedia-audiodev/audiotest.c b/res/pjproject/pjmedia/src/pjmedia-audiodev/audiotest.c deleted file mode 100644 index e874d569d4..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-audiodev/audiotest.c +++ /dev/null @@ -1,269 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -#define THIS_FILE "audiotest.c" - -/* Test duration in msec */ -#define DURATION 10000 - -/* Skip the first msec from the calculation */ -#define SKIP_DURATION 1000 - -/* Division helper */ -#define DIV_ROUND_UP(a,b) (((a) + ((b) - 1)) / (b)) -#define DIV_ROUND(a,b) (((a) + ((b)/2 - 1)) / (b)) - -struct stream_data -{ - pj_uint32_t first_timestamp; - pj_uint32_t last_timestamp; - pj_timestamp last_called; - pj_math_stat delay; -}; - -struct test_data -{ - pj_pool_t *pool; - const pjmedia_aud_param *param; - pjmedia_aud_test_results *result; - pj_bool_t running; - pj_bool_t has_error; - pj_mutex_t *mutex; - - struct stream_data capture_data; - struct stream_data playback_data; -}; - -static pj_status_t play_cb(void *user_data, pjmedia_frame *frame) -{ - struct test_data *test_data = (struct test_data *)user_data; - struct stream_data *strm_data = &test_data->playback_data; - - pj_mutex_lock(test_data->mutex); - - /* Skip frames when test is not started or test has finished */ - if (!test_data->running) { - pj_bzero(frame->buf, frame->size); - pj_mutex_unlock(test_data->mutex); - return PJ_SUCCESS; - } - - /* Save last timestamp seen (to calculate drift) */ - strm_data->last_timestamp = frame->timestamp.u32.lo; - - if (strm_data->last_called.u64 == 0) { - /* Init vars. */ - pj_get_timestamp(&strm_data->last_called); - pj_math_stat_init(&strm_data->delay); - strm_data->first_timestamp = frame->timestamp.u32.lo; - } else { - pj_timestamp now; - unsigned delay; - - /* Calculate frame interval */ - pj_get_timestamp(&now); - delay = pj_elapsed_usec(&strm_data->last_called, &now); - strm_data->last_called = now; - - /* Update frame interval statistic */ - pj_math_stat_update(&strm_data->delay, delay); - } - - pj_bzero(frame->buf, frame->size); - - pj_mutex_unlock(test_data->mutex); - - return PJ_SUCCESS; -} - -static pj_status_t rec_cb(void *user_data, pjmedia_frame *frame) -{ - struct test_data *test_data = (struct test_data*)user_data; - struct stream_data *strm_data = &test_data->capture_data; - - pj_mutex_lock(test_data->mutex); - - /* Skip frames when test is not started or test has finished */ - if (!test_data->running) { - pj_mutex_unlock(test_data->mutex); - return PJ_SUCCESS; - } - - /* Save last timestamp seen (to calculate drift) */ - strm_data->last_timestamp = frame->timestamp.u32.lo; - - if (strm_data->last_called.u64 == 0) { - /* Init vars. */ - pj_get_timestamp(&strm_data->last_called); - pj_math_stat_init(&strm_data->delay); - strm_data->first_timestamp = frame->timestamp.u32.lo; - } else { - pj_timestamp now; - unsigned delay; - - /* Calculate frame interval */ - pj_get_timestamp(&now); - delay = pj_elapsed_usec(&strm_data->last_called, &now); - strm_data->last_called = now; - - /* Update frame interval statistic */ - pj_math_stat_update(&strm_data->delay, delay); - } - - pj_mutex_unlock(test_data->mutex); - return PJ_SUCCESS; -} - -static void app_perror(const char *title, pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - printf( "%s: %s (err=%d)\n", - title, errmsg, status); -} - - -PJ_DEF(pj_status_t) pjmedia_aud_test( const pjmedia_aud_param *param, - pjmedia_aud_test_results *result) -{ - pj_status_t status = PJ_SUCCESS; - pjmedia_aud_stream *strm; - struct test_data test_data; - unsigned ptime, tmp; - - /* - * Init test parameters - */ - pj_bzero(&test_data, sizeof(test_data)); - test_data.param = param; - test_data.result = result; - - test_data.pool = pj_pool_create(pjmedia_aud_subsys_get_pool_factory(), - "audtest", 1000, 1000, NULL); - pj_mutex_create_simple(test_data.pool, "sndtest", &test_data.mutex); - - /* - * Open device. - */ - status = pjmedia_aud_stream_create(test_data.param, &rec_cb, &play_cb, - &test_data, &strm); - if (status != PJ_SUCCESS) { - app_perror("Unable to open device", status); - pj_pool_release(test_data.pool); - return status; - } - - - /* Sleep for a while to let sound device "settles" */ - pj_thread_sleep(200); - - /* - * Start the stream. - */ - status = pjmedia_aud_stream_start(strm); - if (status != PJ_SUCCESS) { - app_perror("Unable to start capture stream", status); - pjmedia_aud_stream_destroy(strm); - pj_pool_release(test_data.pool); - return status; - } - - PJ_LOG(3,(THIS_FILE, - " Please wait while test is in progress (~%d secs)..", - (DURATION+SKIP_DURATION)/1000)); - - /* Let the stream runs for few msec/sec to get stable result. - * (capture normally begins with frames available simultaneously). - */ - pj_thread_sleep(SKIP_DURATION); - - - /* Begin gather data */ - test_data.running = 1; - - /* - * Let the test runs for a while. - */ - pj_thread_sleep(DURATION); - - - /* - * Close stream. - */ - test_data.running = 0; - pjmedia_aud_stream_destroy(strm); - pj_pool_release(test_data.pool); - - - /* - * Gather results - */ - ptime = param->samples_per_frame * 1000 / param->clock_rate; - - tmp = pj_math_stat_get_stddev(&test_data.capture_data.delay); - result->rec.frame_cnt = test_data.capture_data.delay.n; - result->rec.min_interval = DIV_ROUND(test_data.capture_data.delay.min, 1000); - result->rec.max_interval = DIV_ROUND(test_data.capture_data.delay.max, 1000); - result->rec.avg_interval = DIV_ROUND(test_data.capture_data.delay.mean, 1000); - result->rec.dev_interval = DIV_ROUND(tmp, 1000); - result->rec.max_burst = DIV_ROUND_UP(result->rec.max_interval, ptime); - - tmp = pj_math_stat_get_stddev(&test_data.playback_data.delay); - result->play.frame_cnt = test_data.playback_data.delay.n; - result->play.min_interval = DIV_ROUND(test_data.playback_data.delay.min, 1000); - result->play.max_interval = DIV_ROUND(test_data.playback_data.delay.max, 1000); - result->play.avg_interval = DIV_ROUND(test_data.playback_data.delay.mean, 1000); - result->play.dev_interval = DIV_ROUND(tmp, 1000); - result->play.max_burst = DIV_ROUND_UP(result->play.max_interval, ptime); - - /* Check drifting */ - if (param->dir == PJMEDIA_DIR_CAPTURE_PLAYBACK) { - int play_diff, cap_diff, drift; - - play_diff = test_data.playback_data.last_timestamp - - test_data.playback_data.first_timestamp; - cap_diff = test_data.capture_data.last_timestamp - - test_data.capture_data.first_timestamp; - drift = play_diff > cap_diff? play_diff - cap_diff : - cap_diff - play_diff; - - /* Allow one frame tolerance for clock drift detection */ - if (drift < (int)param->samples_per_frame) { - result->rec_drift_per_sec = 0; - } else { - unsigned msec_dur; - - msec_dur = (test_data.capture_data.last_timestamp - - test_data.capture_data.first_timestamp) * 1000 / - test_data.param->clock_rate; - - result->rec_drift_per_sec = drift * 1000 / msec_dur; - - } - } - - return test_data.has_error? PJ_EUNKNOWN : PJ_SUCCESS; -} - diff --git a/res/pjproject/pjmedia/src/pjmedia-audiodev/coreaudio_dev.c b/res/pjproject/pjmedia/src/pjmedia-audiodev/coreaudio_dev.c deleted file mode 100644 index d0718979e3..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-audiodev/coreaudio_dev.c +++ /dev/null @@ -1,2107 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -#if PJMEDIA_AUDIO_DEV_HAS_COREAUDIO - -#include "TargetConditionals.h" -#if TARGET_OS_IPHONE - #define COREAUDIO_MAC 0 -#else - #define COREAUDIO_MAC 1 -#endif - -#include -#include -#if !COREAUDIO_MAC - #include - - #define AudioDeviceID unsigned - - /** - * As in iOS SDK 4 or later, audio route change property listener is - * no longer necessary. Just make surethat your application can receive - * remote control events by adding the code: - * [[UIApplication sharedApplication] - * beginReceivingRemoteControlEvents]; - * Otherwise audio route change (such as headset plug/unplug) will not be - * processed while your application is in the background mode. - */ - #define USE_AUDIO_ROUTE_CHANGE_PROP_LISTENER 0 - -#endif - -/* For Mac OS 10.5.x and earlier */ -#if AUDIO_UNIT_VERSION < 1060 - #define AudioComponent Component - #define AudioComponentDescription ComponentDescription - #define AudioComponentInstance ComponentInstance - #define AudioComponentFindNext FindNextComponent - #define AudioComponentInstanceNew OpenAComponent - #define AudioComponentInstanceDispose CloseComponent -#endif - - -#define THIS_FILE "coreaudio_dev.c" - -/* coreaudio device info */ -struct coreaudio_dev_info -{ - pjmedia_aud_dev_info info; - AudioDeviceID dev_id; -}; - -/* linked list of streams */ -struct stream_list -{ - PJ_DECL_LIST_MEMBER(struct stream_list); - struct coreaudio_stream *stream; -}; - -/* coreaudio factory */ -struct coreaudio_factory -{ - pjmedia_aud_dev_factory base; - pj_pool_t *base_pool; - pj_pool_t *pool; - pj_pool_factory *pf; - pj_mutex_t *mutex; - - unsigned dev_count; - struct coreaudio_dev_info *dev_info; - - AudioComponent io_comp; - struct stream_list streams; -}; - -/* Sound stream. */ -struct coreaudio_stream -{ - pjmedia_aud_stream base; /**< Base stream */ - pjmedia_aud_param param; /**< Settings */ - pj_pool_t *pool; /**< Memory pool. */ - struct coreaudio_factory *cf; - struct stream_list list_entry; - - pjmedia_aud_rec_cb rec_cb; /**< Capture callback. */ - pjmedia_aud_play_cb play_cb; /**< Playback callback. */ - void *user_data; /**< Application data. */ - - pj_timestamp play_timestamp; - pj_timestamp rec_timestamp; - - pj_int16_t *rec_buf; - unsigned rec_buf_count; - pj_int16_t *play_buf; - unsigned play_buf_count; - - pj_bool_t interrupted; - pj_bool_t quit_flag; - pj_bool_t running; - - pj_bool_t rec_thread_initialized; - pj_thread_desc rec_thread_desc; - pj_thread_t *rec_thread; - - pj_bool_t play_thread_initialized; - pj_thread_desc play_thread_desc; - pj_thread_t *play_thread; - - AudioUnit io_units[2]; - AudioStreamBasicDescription streamFormat; - AudioBufferList *audio_buf; - - AudioConverterRef resample; - pj_int16_t *resample_buf; - void *resample_buf_ptr; - unsigned resample_buf_count; - unsigned resample_buf_size; -}; - -/* Static variable */ -static struct coreaudio_factory *cf_instance = NULL; - -/* Prototypes */ -static pj_status_t ca_factory_init(pjmedia_aud_dev_factory *f); -static pj_status_t ca_factory_destroy(pjmedia_aud_dev_factory *f); -static pj_status_t ca_factory_refresh(pjmedia_aud_dev_factory *f); -static unsigned ca_factory_get_dev_count(pjmedia_aud_dev_factory *f); -static pj_status_t ca_factory_get_dev_info(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_dev_info *info); -static pj_status_t ca_factory_default_param(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_param *param); -static pj_status_t ca_factory_create_stream(pjmedia_aud_dev_factory *f, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_aud_strm); - -static pj_status_t ca_stream_get_param(pjmedia_aud_stream *strm, - pjmedia_aud_param *param); -static pj_status_t ca_stream_get_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - void *value); -static pj_status_t ca_stream_set_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - const void *value); -static pj_status_t ca_stream_start(pjmedia_aud_stream *strm); -static pj_status_t ca_stream_stop(pjmedia_aud_stream *strm); -static pj_status_t ca_stream_destroy(pjmedia_aud_stream *strm); -static pj_status_t create_audio_unit(AudioComponent io_comp, - AudioDeviceID dev_id, - pjmedia_dir dir, - struct coreaudio_stream *strm, - AudioUnit *io_unit); -#if !COREAUDIO_MAC -static void interruptionListener(void *inClientData, UInt32 inInterruption); -static void propListener(void * inClientData, - AudioSessionPropertyID inID, - UInt32 inDataSize, - const void * inData); -#endif - -/* Operations */ -static pjmedia_aud_dev_factory_op factory_op = -{ - &ca_factory_init, - &ca_factory_destroy, - &ca_factory_get_dev_count, - &ca_factory_get_dev_info, - &ca_factory_default_param, - &ca_factory_create_stream, - &ca_factory_refresh -}; - -static pjmedia_aud_stream_op stream_op = -{ - &ca_stream_get_param, - &ca_stream_get_cap, - &ca_stream_set_cap, - &ca_stream_start, - &ca_stream_stop, - &ca_stream_destroy -}; - - -/**************************************************************************** - * Factory operations - */ -/* - * Init coreaudio audio driver. - */ -pjmedia_aud_dev_factory* pjmedia_coreaudio_factory(pj_pool_factory *pf) -{ - struct coreaudio_factory *f; - pj_pool_t *pool; - - pool = pj_pool_create(pf, "core audio base", 1000, 1000, NULL); - f = PJ_POOL_ZALLOC_T(pool, struct coreaudio_factory); - f->pf = pf; - f->base_pool = pool; - f->base.op = &factory_op; - - return &f->base; -} - - -/* API: init factory */ -static pj_status_t ca_factory_init(pjmedia_aud_dev_factory *f) -{ - struct coreaudio_factory *cf = (struct coreaudio_factory*)f; - AudioComponentDescription desc; - pj_status_t status; -#if !COREAUDIO_MAC - unsigned i; - OSStatus ostatus; -#endif - - pj_list_init(&cf->streams); - status = pj_mutex_create_recursive(cf->base_pool, - "coreaudio", - &cf->mutex); - if (status != PJ_SUCCESS) - return status; - - desc.componentType = kAudioUnitType_Output; -#if COREAUDIO_MAC - desc.componentSubType = kAudioUnitSubType_HALOutput; -#else - desc.componentSubType = kAudioUnitSubType_RemoteIO; -#endif - desc.componentManufacturer = kAudioUnitManufacturer_Apple; - desc.componentFlags = 0; - desc.componentFlagsMask = 0; - - cf->io_comp = AudioComponentFindNext(NULL, &desc); - if (cf->io_comp == NULL) - return PJMEDIA_EAUD_INIT; // cannot find IO unit; - - status = ca_factory_refresh(f); - if (status != PJ_SUCCESS) - return status; - -#if !COREAUDIO_MAC - cf->pool = pj_pool_create(cf->pf, "core audio", 1000, 1000, NULL); - cf->dev_count = 1; - cf->dev_info = (struct coreaudio_dev_info*) - pj_pool_calloc(cf->pool, cf->dev_count, - sizeof(struct coreaudio_dev_info)); - for (i = 0; i < cf->dev_count; i++) { - struct coreaudio_dev_info *cdi; - - cdi = &cf->dev_info[i]; - pj_bzero(cdi, sizeof(*cdi)); - cdi->dev_id = 0; - strcpy(cdi->info.name, "iPhone IO device"); - strcpy(cdi->info.driver, "apple"); - cdi->info.input_count = 1; - cdi->info.output_count = 1; - cdi->info.default_samples_per_sec = 8000; - - /* Set the device capabilities here */ - cdi->info.caps = PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY | - PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY | - PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING | - PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE | - PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE | - PJMEDIA_AUD_DEV_CAP_EC; - cdi->info.routes = PJMEDIA_AUD_DEV_ROUTE_LOUDSPEAKER | - PJMEDIA_AUD_DEV_ROUTE_EARPIECE | - PJMEDIA_AUD_DEV_ROUTE_BLUETOOTH; - - PJ_LOG(4, (THIS_FILE, " dev_id %d: %s (in=%d, out=%d) %dHz", - i, - cdi->info.name, - cdi->info.input_count, - cdi->info.output_count, - cdi->info.default_samples_per_sec)); - } - - /* Initialize the Audio Session */ - ostatus = AudioSessionInitialize(NULL, NULL, interruptionListener, NULL); - if (ostatus != kAudioSessionNoError) { - PJ_LOG(4, (THIS_FILE, - "Warning: cannot initialize audio session services (%i)", - ostatus)); - } - - /* Listen for audio routing change notifications. */ -#if USE_AUDIO_ROUTE_CHANGE_PROP_LISTENER != 0 - ostatus = AudioSessionAddPropertyListener( - kAudioSessionProperty_AudioRouteChange, - propListener, cf); - if (ostatus != kAudioSessionNoError) { - PJ_LOG(4, (THIS_FILE, - "Warning: cannot listen for audio route change " - "notifications (%i)", ostatus)); - } -#endif - - cf_instance = cf; -#endif - - PJ_LOG(4, (THIS_FILE, "core audio initialized")); - - return PJ_SUCCESS; -} - -/* API: destroy factory */ -static pj_status_t ca_factory_destroy(pjmedia_aud_dev_factory *f) -{ - struct coreaudio_factory *cf = (struct coreaudio_factory*)f; - pj_pool_t *pool; - - pj_assert(cf); - pj_assert(cf->base_pool); - pj_assert(pj_list_empty(&cf->streams)); - -#if !COREAUDIO_MAC -#if USE_AUDIO_ROUTE_CHANGE_PROP_LISTENER != 0 - AudioSessionRemovePropertyListenerWithUserData( - kAudioSessionProperty_AudioRouteChange, propListener, cf); -#endif -#endif - - if (cf->pool) { - pj_pool_release(cf->pool); - cf->pool = NULL; - } - - if (cf->mutex) { - pj_mutex_lock(cf->mutex); - cf_instance = NULL; - pj_mutex_unlock(cf->mutex); - pj_mutex_destroy(cf->mutex); - cf->mutex = NULL; - } - - pool = cf->base_pool; - cf->base_pool = NULL; - pj_pool_release(pool); - - return PJ_SUCCESS; -} - -/* API: refresh the device list */ -static pj_status_t ca_factory_refresh(pjmedia_aud_dev_factory *f) -{ -#if !COREAUDIO_MAC - /* iPhone doesn't support refreshing the device list */ - PJ_UNUSED_ARG(f); - return PJ_SUCCESS; -#else - struct coreaudio_factory *cf = (struct coreaudio_factory*)f; - unsigned i; - unsigned dev_count; - AudioObjectPropertyAddress addr; - AudioDeviceID *dev_ids; - UInt32 buf_size, dev_size, size = sizeof(AudioDeviceID); - AudioBufferList *buf = NULL; - OSStatus ostatus; - - if (cf->pool != NULL) { - pj_pool_release(cf->pool); - cf->pool = NULL; - } - - cf->dev_count = 0; - cf->pool = pj_pool_create(cf->pf, "core audio", 1000, 1000, NULL); - - /* Find out how many audio devices there are */ - addr.mSelector = kAudioHardwarePropertyDevices; - addr.mScope = kAudioObjectPropertyScopeGlobal; - addr.mElement = kAudioObjectPropertyElementMaster; - ostatus = AudioObjectGetPropertyDataSize(kAudioObjectSystemObject, &addr, - 0, NULL, &dev_size); - if (ostatus != noErr) { - dev_size = 0; - } - - /* Calculate the number of audio devices available */ - dev_count = dev_size / size; - if (dev_count==0) { - PJ_LOG(4,(THIS_FILE, "core audio found no sound devices")); - /* Enabling this will cause pjsua-lib initialization to fail when - * there is no sound device installed in the system, even when pjsua - * has been run with --null-audio. Moreover, it might be better to - * think that the core audio backend initialization is successful, - * regardless there is no audio device installed, as later application - * can check it using get_dev_count(). - return PJMEDIA_EAUD_NODEV; - */ - return PJ_SUCCESS; - } - PJ_LOG(4, (THIS_FILE, "core audio detected %d devices", - dev_count)); - - /* Get all the audio device IDs */ - dev_ids = (AudioDeviceID *)pj_pool_calloc(cf->pool, dev_size, size); - if (!dev_ids) - return PJ_ENOMEM; - pj_bzero(dev_ids, dev_count); - ostatus = AudioObjectGetPropertyData(kAudioObjectSystemObject, &addr, - 0, NULL, - &dev_size, (void *)dev_ids); - if (ostatus != noErr ) { - /* This should not happen since we have successfully retrieved - * the property data size before - */ - return PJMEDIA_EAUD_INIT; - } - - if (dev_size > 1) { - AudioDeviceID dev_id = kAudioObjectUnknown; - unsigned idx = 0; - - /* Find default audio input device */ - addr.mSelector = kAudioHardwarePropertyDefaultInputDevice; - addr.mScope = kAudioObjectPropertyScopeGlobal; - addr.mElement = kAudioObjectPropertyElementMaster; - size = sizeof(dev_id); - - ostatus = AudioObjectGetPropertyData(kAudioObjectSystemObject, - &addr, 0, NULL, - &size, (void *)&dev_id); - if (ostatus != noErr && dev_id != dev_ids[idx]) { - AudioDeviceID temp_id = dev_ids[idx]; - - for (i = idx + 1; i < dev_size; i++) { - if (dev_ids[i] == dev_id) { - dev_ids[idx++] = dev_id; - dev_ids[i] = temp_id; - break; - } - } - } - - /* Find default audio output device */ - addr.mSelector = kAudioHardwarePropertyDefaultOutputDevice; - ostatus = AudioObjectGetPropertyData(kAudioObjectSystemObject, - &addr, 0, NULL, - &size, (void *)&dev_id); - if (ostatus != noErr && dev_id != dev_ids[idx]) { - AudioDeviceID temp_id = dev_ids[idx]; - - for (i = idx + 1; i < dev_size; i++) { - if (dev_ids[i] == dev_id) { - dev_ids[idx] = dev_id; - dev_ids[i] = temp_id; - break; - } - } - } - } - - /* Build the devices' info */ - cf->dev_info = (struct coreaudio_dev_info*) - pj_pool_calloc(cf->pool, dev_count, - sizeof(struct coreaudio_dev_info)); - buf_size = 0; - for (i = 0; i < dev_count; i++) { - struct coreaudio_dev_info *cdi; - Float64 sampleRate; - - cdi = &cf->dev_info[i]; - pj_bzero(cdi, sizeof(*cdi)); - cdi->dev_id = dev_ids[i]; - - /* Get device name */ - addr.mSelector = kAudioDevicePropertyDeviceName; - addr.mScope = kAudioObjectPropertyScopeGlobal; - addr.mElement = kAudioObjectPropertyElementMaster; - size = sizeof(cdi->info.name); - AudioObjectGetPropertyData(cdi->dev_id, &addr, - 0, NULL, - &size, (void *)cdi->info.name); - - strcpy(cdi->info.driver, "core audio"); - - /* Get the number of input channels */ - addr.mSelector = kAudioDevicePropertyStreamConfiguration; - addr.mScope = kAudioDevicePropertyScopeInput; - size = 0; - ostatus = AudioObjectGetPropertyDataSize(cdi->dev_id, &addr, - 0, NULL, &size); - if (ostatus == noErr && size > 0) { - - if (size > buf_size) { - buf = pj_pool_alloc(cf->pool, size); - buf_size = size; - } - if (buf) { - UInt32 idx; - - /* Get the input stream configuration */ - ostatus = AudioObjectGetPropertyData(cdi->dev_id, &addr, - 0, NULL, - &size, buf); - if (ostatus == noErr) { - /* Count the total number of input channels in - * the stream - */ - for (idx = 0; idx < buf->mNumberBuffers; idx++) { - cdi->info.input_count += - buf->mBuffers[idx].mNumberChannels; - } - } - } - } - - /* Get the number of output channels */ - addr.mScope = kAudioDevicePropertyScopeOutput; - size = 0; - ostatus = AudioObjectGetPropertyDataSize(cdi->dev_id, &addr, - 0, NULL, &size); - if (ostatus == noErr && size > 0) { - - if (size > buf_size) { - buf = pj_pool_alloc(cf->pool, size); - buf_size = size; - } - if (buf) { - UInt32 idx; - - /* Get the output stream configuration */ - ostatus = AudioObjectGetPropertyData(cdi->dev_id, &addr, - 0, NULL, - &size, buf); - if (ostatus == noErr) { - /* Count the total number of output channels in - * the stream - */ - for (idx = 0; idx < buf->mNumberBuffers; idx++) { - cdi->info.output_count += - buf->mBuffers[idx].mNumberChannels; - } - } - } - } - - /* Get default sample rate */ - addr.mSelector = kAudioDevicePropertyNominalSampleRate; - addr.mScope = kAudioObjectPropertyScopeGlobal; - size = sizeof(Float64); - ostatus = AudioObjectGetPropertyData (cdi->dev_id, &addr, - 0, NULL, - &size, &sampleRate); - cdi->info.default_samples_per_sec = (ostatus == noErr ? - sampleRate: - 16000); - - /* Set device capabilities here */ - if (cdi->info.input_count > 0) { - cdi->info.caps |= PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY; - } - if (cdi->info.output_count > 0) { - cdi->info.caps |= PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY; - addr.mSelector = kAudioDevicePropertyVolumeScalar; - addr.mScope = kAudioDevicePropertyScopeOutput; - if (AudioObjectHasProperty(cdi->dev_id, &addr)) { - cdi->info.caps |= PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING; - } - } - - cf->dev_count++; - - PJ_LOG(4, (THIS_FILE, " dev_id %d: %s (in=%d, out=%d) %dHz", - i, - cdi->info.name, - cdi->info.input_count, - cdi->info.output_count, - cdi->info.default_samples_per_sec)); - } - - return PJ_SUCCESS; -#endif -} - -/* API: get number of devices */ -static unsigned ca_factory_get_dev_count(pjmedia_aud_dev_factory *f) -{ - struct coreaudio_factory *cf = (struct coreaudio_factory*)f; - return cf->dev_count; -} - -/* API: get device info */ -static pj_status_t ca_factory_get_dev_info(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_dev_info *info) -{ - struct coreaudio_factory *cf = (struct coreaudio_factory*)f; - - PJ_ASSERT_RETURN(index < cf->dev_count, PJMEDIA_EAUD_INVDEV); - - pj_memcpy(info, &cf->dev_info[index].info, sizeof(*info)); - - return PJ_SUCCESS; -} - -/* API: create default device parameter */ -static pj_status_t ca_factory_default_param(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_param *param) -{ - struct coreaudio_factory *cf = (struct coreaudio_factory*)f; - struct coreaudio_dev_info *di = &cf->dev_info[index]; - - PJ_ASSERT_RETURN(index < cf->dev_count, PJMEDIA_EAUD_INVDEV); - - pj_bzero(param, sizeof(*param)); - if (di->info.input_count && di->info.output_count) { - param->dir = PJMEDIA_DIR_CAPTURE_PLAYBACK; - param->rec_id = index; - param->play_id = index; - } else if (di->info.input_count) { - param->dir = PJMEDIA_DIR_CAPTURE; - param->rec_id = index; - param->play_id = PJMEDIA_AUD_INVALID_DEV; - } else if (di->info.output_count) { - param->dir = PJMEDIA_DIR_PLAYBACK; - param->play_id = index; - param->rec_id = PJMEDIA_AUD_INVALID_DEV; - } else { - return PJMEDIA_EAUD_INVDEV; - } - - /* Set the mandatory settings here */ - param->clock_rate = di->info.default_samples_per_sec; - param->channel_count = 1; - param->samples_per_frame = di->info.default_samples_per_sec * 20 / 1000; - param->bits_per_sample = 16; - - /* Set the param for device capabilities here */ - param->flags = PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY | - PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY; - param->input_latency_ms = PJMEDIA_SND_DEFAULT_REC_LATENCY; - param->output_latency_ms = PJMEDIA_SND_DEFAULT_PLAY_LATENCY; - - return PJ_SUCCESS; -} - -OSStatus resampleProc(AudioConverterRef inAudioConverter, - UInt32 *ioNumberDataPackets, - AudioBufferList *ioData, - AudioStreamPacketDescription **outDataPacketDescription, - void *inUserData) -{ - struct coreaudio_stream *strm = (struct coreaudio_stream*)inUserData; - - if (*ioNumberDataPackets > strm->resample_buf_size) - *ioNumberDataPackets = strm->resample_buf_size; - - ioData->mNumberBuffers = 1; - ioData->mBuffers[0].mNumberChannels = strm->streamFormat.mChannelsPerFrame; - ioData->mBuffers[0].mData = strm->resample_buf_ptr; - ioData->mBuffers[0].mDataByteSize = *ioNumberDataPackets * - strm->streamFormat.mChannelsPerFrame * - strm->param.bits_per_sample >> 3; - - return noErr; -} - -static OSStatus resample_callback(void *inRefCon, - AudioUnitRenderActionFlags *ioActionFlags, - const AudioTimeStamp *inTimeStamp, - UInt32 inBusNumber, - UInt32 inNumberFrames, - AudioBufferList *ioData) -{ - struct coreaudio_stream *strm = (struct coreaudio_stream*)inRefCon; - OSStatus ostatus; - pj_status_t status = 0; - unsigned nsamples; - AudioBufferList *buf = strm->audio_buf; - pj_int16_t *input; - UInt32 resampleSize; - - pj_assert(!strm->quit_flag); - - /* Known cases of callback's thread: - * - The thread may be changed in the middle of a session - * it happens when plugging/unplugging headphone. - * - The same thread may be reused in consecutive sessions. The first - * session will leave TLS set, but release the TLS data address, - * so the second session must re-register the callback's thread. - */ - if (strm->rec_thread_initialized == 0 || !pj_thread_is_registered()) - { - pj_bzero(strm->rec_thread_desc, sizeof(pj_thread_desc)); - status = pj_thread_register("ca_rec", strm->rec_thread_desc, - &strm->rec_thread); - strm->rec_thread_initialized = 1; - PJ_LOG(5,(THIS_FILE, "Recorder thread started, (%i frames)", - inNumberFrames)); - } - - buf->mBuffers[0].mData = NULL; - buf->mBuffers[0].mDataByteSize = inNumberFrames * - strm->streamFormat.mChannelsPerFrame; - /* Render the unit to get input data */ - ostatus = AudioUnitRender(strm->io_units[0], - ioActionFlags, - inTimeStamp, - inBusNumber, - inNumberFrames, - buf); - - if (ostatus != noErr) { - PJ_LOG(5, (THIS_FILE, "Core audio unit render error %i", ostatus)); - goto on_break; - } - input = (pj_int16_t *)buf->mBuffers[0].mData; - - resampleSize = strm->resample_buf_size; - nsamples = inNumberFrames * strm->param.channel_count + - strm->resample_buf_count; - - if (nsamples >= resampleSize) { - pjmedia_frame frame; - UInt32 resampleOutput = strm->param.samples_per_frame / - strm->streamFormat.mChannelsPerFrame; - AudioBufferList ab; - - frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - frame.buf = (void*) strm->rec_buf; - frame.size = strm->param.samples_per_frame * - strm->param.bits_per_sample >> 3; - frame.bit_info = 0; - - ab.mNumberBuffers = 1; - ab.mBuffers[0].mNumberChannels = strm->streamFormat.mChannelsPerFrame; - ab.mBuffers[0].mData = strm->rec_buf; - ab.mBuffers[0].mDataByteSize = frame.size; - - /* If buffer is not empty, combine the buffer with the just incoming - * samples, then call put_frame. - */ - if (strm->resample_buf_count) { - unsigned chunk_count = resampleSize - strm->resample_buf_count; - pjmedia_copy_samples(strm->resample_buf + strm->resample_buf_count, - input, chunk_count); - - /* Do the resample */ - - strm->resample_buf_ptr = strm->resample_buf; - ostatus = AudioConverterFillComplexBuffer(strm->resample, - resampleProc, - strm, - &resampleOutput, - &ab, - NULL); - if (ostatus != noErr) { - goto on_break; - } - frame.timestamp.u64 = strm->rec_timestamp.u64; - - status = (*strm->rec_cb)(strm->user_data, &frame); - - input = input + chunk_count; - nsamples -= resampleSize; - strm->resample_buf_count = 0; - strm->rec_timestamp.u64 += strm->param.samples_per_frame / - strm->param.channel_count; - } - - - /* Give all frames we have */ - while (nsamples >= resampleSize && status == 0) { - frame.timestamp.u64 = strm->rec_timestamp.u64; - - /* Do the resample */ - strm->resample_buf_ptr = input; - ab.mBuffers[0].mDataByteSize = frame.size; - resampleOutput = strm->param.samples_per_frame / - strm->streamFormat.mChannelsPerFrame; - ostatus = AudioConverterFillComplexBuffer(strm->resample, - resampleProc, - strm, - &resampleOutput, - &ab, - NULL); - if (ostatus != noErr) { - goto on_break; - } - - status = (*strm->rec_cb)(strm->user_data, &frame); - - input = (pj_int16_t*) input + resampleSize; - nsamples -= resampleSize; - strm->rec_timestamp.u64 += strm->param.samples_per_frame / - strm->param.channel_count; - } - - /* Store the remaining samples into the buffer */ - if (nsamples && status == 0) { - strm->resample_buf_count = nsamples; - pjmedia_copy_samples(strm->resample_buf, input, - nsamples); - } - - } else { - /* Not enough samples, let's just store them in the buffer */ - pjmedia_copy_samples(strm->resample_buf + strm->resample_buf_count, - input, - inNumberFrames * strm->param.channel_count); - strm->resample_buf_count += inNumberFrames * - strm->param.channel_count; - } - - return noErr; - -on_break: - return -1; -} - -static OSStatus input_callback(void *inRefCon, - AudioUnitRenderActionFlags *ioActionFlags, - const AudioTimeStamp *inTimeStamp, - UInt32 inBusNumber, - UInt32 inNumberFrames, - AudioBufferList *ioData) -{ - struct coreaudio_stream *strm = (struct coreaudio_stream*)inRefCon; - OSStatus ostatus; - pj_status_t status = 0; - unsigned nsamples; - AudioBufferList *buf = strm->audio_buf; - pj_int16_t *input; - - pj_assert(!strm->quit_flag); - - /* Known cases of callback's thread: - * - The thread may be changed in the middle of a session - * it happens when plugging/unplugging headphone. - * - The same thread may be reused in consecutive sessions. The first - * session will leave TLS set, but release the TLS data address, - * so the second session must re-register the callback's thread. - */ - if (strm->rec_thread_initialized == 0 || !pj_thread_is_registered()) - { - pj_bzero(strm->rec_thread_desc, sizeof(pj_thread_desc)); - status = pj_thread_register("ca_rec", strm->rec_thread_desc, - &strm->rec_thread); - strm->rec_thread_initialized = 1; - PJ_LOG(5,(THIS_FILE, "Recorder thread started, (%i frames)", - inNumberFrames)); - } - - buf->mBuffers[0].mData = NULL; - buf->mBuffers[0].mDataByteSize = inNumberFrames * - strm->streamFormat.mChannelsPerFrame; - /* Render the unit to get input data */ - ostatus = AudioUnitRender(strm->io_units[0], - ioActionFlags, - inTimeStamp, - inBusNumber, - inNumberFrames, - buf); - - if (ostatus != noErr) { - PJ_LOG(5, (THIS_FILE, "Core audio unit render error %i", ostatus)); - goto on_break; - } - input = (pj_int16_t *)buf->mBuffers[0].mData; - - /* Calculate number of samples we've got */ - nsamples = inNumberFrames * strm->param.channel_count + - strm->rec_buf_count; - if (nsamples >= strm->param.samples_per_frame) { - pjmedia_frame frame; - - frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - frame.size = strm->param.samples_per_frame * - strm->param.bits_per_sample >> 3; - frame.bit_info = 0; - - /* If buffer is not empty, combine the buffer with the just incoming - * samples, then call put_frame. - */ - if (strm->rec_buf_count) { - unsigned chunk_count = 0; - - chunk_count = strm->param.samples_per_frame - strm->rec_buf_count; - pjmedia_copy_samples(strm->rec_buf + strm->rec_buf_count, - input, chunk_count); - - frame.buf = (void*) strm->rec_buf; - frame.timestamp.u64 = strm->rec_timestamp.u64; - - status = (*strm->rec_cb)(strm->user_data, &frame); - - input = input + chunk_count; - nsamples -= strm->param.samples_per_frame; - strm->rec_buf_count = 0; - strm->rec_timestamp.u64 += strm->param.samples_per_frame / - strm->param.channel_count; - } - - /* Give all frames we have */ - while (nsamples >= strm->param.samples_per_frame && status == 0) { - frame.buf = (void*) input; - frame.timestamp.u64 = strm->rec_timestamp.u64; - - status = (*strm->rec_cb)(strm->user_data, &frame); - - input = (pj_int16_t*) input + strm->param.samples_per_frame; - nsamples -= strm->param.samples_per_frame; - strm->rec_timestamp.u64 += strm->param.samples_per_frame / - strm->param.channel_count; - } - - /* Store the remaining samples into the buffer */ - if (nsamples && status == 0) { - strm->rec_buf_count = nsamples; - pjmedia_copy_samples(strm->rec_buf, input, - nsamples); - } - - } else { - /* Not enough samples, let's just store them in the buffer */ - pjmedia_copy_samples(strm->rec_buf + strm->rec_buf_count, - input, - inNumberFrames * strm->param.channel_count); - strm->rec_buf_count += inNumberFrames * strm->param.channel_count; - } - - return noErr; - -on_break: - return -1; -} - -static OSStatus output_renderer(void *inRefCon, - AudioUnitRenderActionFlags *ioActionFlags, - const AudioTimeStamp *inTimeStamp, - UInt32 inBusNumber, - UInt32 inNumberFrames, - AudioBufferList *ioData) -{ - struct coreaudio_stream *stream = (struct coreaudio_stream*)inRefCon; - pj_status_t status = 0; - unsigned nsamples_req = inNumberFrames * stream->param.channel_count; - pj_int16_t *output = ioData->mBuffers[0].mData; - - pj_assert(!stream->quit_flag); - - /* Known cases of callback's thread: - * - The thread may be changed in the middle of a session - * it happens when plugging/unplugging headphone. - * - The same thread may be reused in consecutive sessions. The first - * session will leave TLS set, but release the TLS data address, - * so the second session must re-register the callback's thread. - */ - if (stream->play_thread_initialized == 0 || !pj_thread_is_registered()) - { - pj_bzero(stream->play_thread_desc, sizeof(pj_thread_desc)); - status = pj_thread_register("coreaudio", stream->play_thread_desc, - &stream->play_thread); - stream->play_thread_initialized = 1; - PJ_LOG(5,(THIS_FILE, "Player thread started, (%i frames)", - inNumberFrames)); - } - - - /* Check if any buffered samples */ - if (stream->play_buf_count) { - /* samples buffered >= requested by sound device */ - if (stream->play_buf_count >= nsamples_req) { - pjmedia_copy_samples((pj_int16_t*)output, stream->play_buf, - nsamples_req); - stream->play_buf_count -= nsamples_req; - pjmedia_move_samples(stream->play_buf, - stream->play_buf + nsamples_req, - stream->play_buf_count); - nsamples_req = 0; - - return noErr; - } - - /* samples buffered < requested by sound device */ - pjmedia_copy_samples((pj_int16_t*)output, stream->play_buf, - stream->play_buf_count); - nsamples_req -= stream->play_buf_count; - output = (pj_int16_t*)output + stream->play_buf_count; - stream->play_buf_count = 0; - } - - /* Fill output buffer as requested */ - while (nsamples_req && status == 0) { - pjmedia_frame frame; - - frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - frame.size = stream->param.samples_per_frame * - stream->param.bits_per_sample >> 3; - frame.timestamp.u64 = stream->play_timestamp.u64; - frame.bit_info = 0; - - if (nsamples_req >= stream->param.samples_per_frame) { - frame.buf = output; - status = (*stream->play_cb)(stream->user_data, &frame); - if (status != PJ_SUCCESS) - goto on_break; - - if (frame.type != PJMEDIA_FRAME_TYPE_AUDIO) - pj_bzero(frame.buf, frame.size); - - nsamples_req -= stream->param.samples_per_frame; - output = (pj_int16_t*)output + stream->param.samples_per_frame; - } else { - frame.buf = stream->play_buf; - status = (*stream->play_cb)(stream->user_data, &frame); - if (status != PJ_SUCCESS) - goto on_break; - - if (frame.type != PJMEDIA_FRAME_TYPE_AUDIO) - pj_bzero(frame.buf, frame.size); - - pjmedia_copy_samples((pj_int16_t*)output, stream->play_buf, - nsamples_req); - stream->play_buf_count = stream->param.samples_per_frame - - nsamples_req; - pjmedia_move_samples(stream->play_buf, - stream->play_buf+nsamples_req, - stream->play_buf_count); - nsamples_req = 0; - } - - stream->play_timestamp.u64 += stream->param.samples_per_frame / - stream->param.channel_count; - } - - return noErr; - -on_break: - return -1; -} - -#if !COREAUDIO_MAC -static void propListener(void *inClientData, - AudioSessionPropertyID inID, - UInt32 inDataSize, - const void * inData) -{ - struct coreaudio_factory *cf = (struct coreaudio_factory*)inClientData; - struct stream_list *it, *itBegin; - CFDictionaryRef routeDictionary; - CFNumberRef reason; - SInt32 reasonVal; - pj_assert(cf); - - if (inID != kAudioSessionProperty_AudioRouteChange) - return; - - routeDictionary = (CFDictionaryRef)inData; - reason = (CFNumberRef) - CFDictionaryGetValue( - routeDictionary, - CFSTR(kAudioSession_AudioRouteChangeKey_Reason)); - CFNumberGetValue(reason, kCFNumberSInt32Type, &reasonVal); - - if (reasonVal != kAudioSessionRouteChangeReason_OldDeviceUnavailable) { - PJ_LOG(3, (THIS_FILE, "ignoring audio route change...")); - return; - } - - PJ_LOG(3, (THIS_FILE, "audio route changed")); - - pj_mutex_lock(cf->mutex); - itBegin = &cf->streams; - for (it = itBegin->next; it != itBegin; it = it->next) { - if (it->stream->interrupted) - continue; - - /* - status = ca_stream_stop((pjmedia_aud_stream *)it->stream); - status = ca_stream_start((pjmedia_aud_stream *)it->stream); - if (status != PJ_SUCCESS) { - PJ_LOG(3, (THIS_FILE, - "Error: failed to restart the audio unit (%i)", - status)); - continue; - } - PJ_LOG(3, (THIS_FILE, "core audio unit successfully restarted")); - */ - } - pj_mutex_unlock(cf->mutex); -} - -static void interruptionListener(void *inClientData, UInt32 inInterruption) -{ - struct stream_list *it, *itBegin; - pj_status_t status; - pj_thread_desc thread_desc; - pj_thread_t *thread; - - /* Register the thread with PJLIB, this is must for any external threads - * which need to use the PJLIB framework. - */ - if (!pj_thread_is_registered()) { - pj_bzero(thread_desc, sizeof(pj_thread_desc)); - status = pj_thread_register("intListener", thread_desc, &thread); - } - - PJ_LOG(3, (THIS_FILE, "Session interrupted! --- %s ---", - inInterruption == kAudioSessionBeginInterruption ? - "Begin Interruption" : "End Interruption")); - - if (!cf_instance) - return; - - pj_mutex_lock(cf_instance->mutex); - itBegin = &cf_instance->streams; - for (it = itBegin->next; it != itBegin; it = it->next) { - if (inInterruption == kAudioSessionEndInterruption && - it->stream->interrupted == PJ_TRUE) - { - UInt32 audioCategory; - OSStatus ostatus; - - /* Make sure that your application can receive remote control - * events by adding the code: - * [[UIApplication sharedApplication] - * beginReceivingRemoteControlEvents]; - * Otherwise audio unit will fail to restart while your - * application is in the background mode. - */ - /* Make sure we set the correct audio category before restarting */ - audioCategory = kAudioSessionCategory_PlayAndRecord; - ostatus = AudioSessionSetProperty(kAudioSessionProperty_AudioCategory, - sizeof(audioCategory), - &audioCategory); - if (ostatus != kAudioSessionNoError) { - PJ_LOG(4, (THIS_FILE, - "Warning: cannot set the audio session category (%i)", - ostatus)); - } - - /* Restart the stream */ - status = ca_stream_start((pjmedia_aud_stream*)it->stream); - if (status != PJ_SUCCESS) { - PJ_LOG(3, (THIS_FILE, - "Error: failed to restart the audio unit (%i)", - status)); - continue; - } - PJ_LOG(3, (THIS_FILE, "core audio unit successfully resumed" - " after interruption")); - } else if (inInterruption == kAudioSessionBeginInterruption && - it->stream->running == PJ_TRUE) - { - status = ca_stream_stop((pjmedia_aud_stream*)it->stream); - it->stream->interrupted = PJ_TRUE; - } - } - pj_mutex_unlock(cf_instance->mutex); -} - -#endif - -#if COREAUDIO_MAC -/* Internal: create audio converter for resampling the recorder device */ -static pj_status_t create_audio_resample(struct coreaudio_stream *strm, - AudioStreamBasicDescription *desc) -{ - OSStatus ostatus; - - pj_assert(strm->streamFormat.mSampleRate != desc->mSampleRate); - pj_assert(NULL == strm->resample); - pj_assert(NULL == strm->resample_buf); - - /* Create the audio converter */ - ostatus = AudioConverterNew(desc, &strm->streamFormat, &strm->resample); - if (ostatus != noErr) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } - - /* - * Allocate the buffer required to hold enough input data - */ - strm->resample_buf_size = (unsigned)(desc->mSampleRate * - strm->param.samples_per_frame / - strm->param.clock_rate); - strm->resample_buf = (pj_int16_t*) - pj_pool_alloc(strm->pool, - strm->resample_buf_size * - strm->param.bits_per_sample >> 3); - if (!strm->resample_buf) - return PJ_ENOMEM; - strm->resample_buf_count = 0; - - return PJ_SUCCESS; -} -#endif - -/* Internal: create audio unit for recorder/playback device */ -static pj_status_t create_audio_unit(AudioComponent io_comp, - AudioDeviceID dev_id, - pjmedia_dir dir, - struct coreaudio_stream *strm, - AudioUnit *io_unit) -{ - OSStatus ostatus; -#if !COREAUDIO_MAC - UInt32 audioCategory = kAudioSessionCategory_PlayAndRecord; - /* We want to be able to open playback and recording streams */ - ostatus = AudioSessionSetProperty(kAudioSessionProperty_AudioCategory, - sizeof(audioCategory), - &audioCategory); - if (ostatus != kAudioSessionNoError) { - PJ_LOG(4, (THIS_FILE, - "Warning: cannot set the audio session category (%i)", - ostatus)); - } -#endif - - /* Create an audio unit to interface with the device */ - ostatus = AudioComponentInstanceNew(io_comp, io_unit); - if (ostatus != noErr) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } - - /* Set audio unit's properties for capture device */ - if (dir & PJMEDIA_DIR_CAPTURE) { - UInt32 enable = 1; - - /* Enable input */ - ostatus = AudioUnitSetProperty(*io_unit, - kAudioOutputUnitProperty_EnableIO, - kAudioUnitScope_Input, - 1, - &enable, - sizeof(enable)); - if (ostatus != noErr) { - PJ_LOG(4, (THIS_FILE, - "Warning: cannot enable IO of capture device %d", - dev_id)); - } - - /* Disable output */ - if (!(dir & PJMEDIA_DIR_PLAYBACK)) { - enable = 0; - ostatus = AudioUnitSetProperty(*io_unit, - kAudioOutputUnitProperty_EnableIO, - kAudioUnitScope_Output, - 0, - &enable, - sizeof(enable)); - if (ostatus != noErr) { - PJ_LOG(4, (THIS_FILE, - "Warning: cannot disable IO of capture device %d", - dev_id)); - } - } - } - - /* Set audio unit's properties for playback device */ - if (dir & PJMEDIA_DIR_PLAYBACK) { - UInt32 enable = 1; - - /* Enable output */ - ostatus = AudioUnitSetProperty(*io_unit, - kAudioOutputUnitProperty_EnableIO, - kAudioUnitScope_Output, - 0, - &enable, - sizeof(enable)); - if (ostatus != noErr) { - PJ_LOG(4, (THIS_FILE, - "Warning: cannot enable IO of playback device %d", - dev_id)); - } - - } - -#if COREAUDIO_MAC - PJ_LOG(5, (THIS_FILE, "Opening device %d", dev_id)); - ostatus = AudioUnitSetProperty(*io_unit, - kAudioOutputUnitProperty_CurrentDevice, - kAudioUnitScope_Global, - 0, - &dev_id, - sizeof(dev_id)); - if (ostatus != noErr) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } -#endif - - if (dir & PJMEDIA_DIR_CAPTURE) { -#if COREAUDIO_MAC - AudioStreamBasicDescription deviceFormat; - UInt32 size; - - /* - * Keep the sample rate from the device, otherwise we will confuse - * AUHAL - */ - size = sizeof(AudioStreamBasicDescription); - ostatus = AudioUnitGetProperty(*io_unit, - kAudioUnitProperty_StreamFormat, - kAudioUnitScope_Input, - 1, - &deviceFormat, - &size); - if (ostatus != noErr) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } - strm->streamFormat.mSampleRate = deviceFormat.mSampleRate; -#endif - - /* When setting the stream format, we have to make sure the sample - * rate is supported. Setting an unsupported sample rate will cause - * AudioUnitRender() to fail later. - */ - ostatus = AudioUnitSetProperty(*io_unit, - kAudioUnitProperty_StreamFormat, - kAudioUnitScope_Output, - 1, - &strm->streamFormat, - sizeof(strm->streamFormat)); - if (ostatus != noErr) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } - -#if COREAUDIO_MAC - strm->streamFormat.mSampleRate = strm->param.clock_rate; - size = sizeof(AudioStreamBasicDescription); - ostatus = AudioUnitGetProperty (*io_unit, - kAudioUnitProperty_StreamFormat, - kAudioUnitScope_Output, - 1, - &deviceFormat, - &size); - if (ostatus == noErr) { - if (strm->streamFormat.mSampleRate != deviceFormat.mSampleRate) { - pj_status_t rc = create_audio_resample(strm, &deviceFormat); - if (PJ_SUCCESS != rc) - return rc; - } - } else { - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } -#endif - } - - if (dir & PJMEDIA_DIR_PLAYBACK) { - AURenderCallbackStruct output_cb; - - /* Set the stream format */ - ostatus = AudioUnitSetProperty(*io_unit, - kAudioUnitProperty_StreamFormat, - kAudioUnitScope_Input, - 0, - &strm->streamFormat, - sizeof(strm->streamFormat)); - if (ostatus != noErr) { - PJ_LOG(4, (THIS_FILE, - "Warning: cannot set playback stream format of dev %d", - dev_id)); - } - - /* Set render callback */ - output_cb.inputProc = output_renderer; - output_cb.inputProcRefCon = strm; - ostatus = AudioUnitSetProperty(*io_unit, - kAudioUnitProperty_SetRenderCallback, - kAudioUnitScope_Input, - 0, - &output_cb, - sizeof(output_cb)); - if (ostatus != noErr) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } - - /* Allocate playback buffer */ - strm->play_buf = (pj_int16_t*)pj_pool_alloc(strm->pool, - strm->param.samples_per_frame * - strm->param.bits_per_sample >> 3); - if (!strm->play_buf) - return PJ_ENOMEM; - strm->play_buf_count = 0; - } - - if (dir & PJMEDIA_DIR_CAPTURE) { - AURenderCallbackStruct input_cb; -#if COREAUDIO_MAC - AudioBuffer *ab; - UInt32 size, buf_size; -#endif - - /* Set input callback */ - input_cb.inputProc = strm->resample ? resample_callback : - input_callback; - input_cb.inputProcRefCon = strm; - ostatus = AudioUnitSetProperty( - *io_unit, - kAudioOutputUnitProperty_SetInputCallback, - kAudioUnitScope_Global, - 0, - &input_cb, - sizeof(input_cb)); - if (ostatus != noErr) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } - -#if COREAUDIO_MAC - /* Get device's buffer frame size */ - size = sizeof(UInt32); - ostatus = AudioUnitGetProperty(*io_unit, - kAudioDevicePropertyBufferFrameSize, - kAudioUnitScope_Global, - 0, - &buf_size, - &size); - if (ostatus != noErr) - { - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } - - /* Allocate audio buffer */ - strm->audio_buf = (AudioBufferList*)pj_pool_alloc(strm->pool, - sizeof(AudioBufferList) + sizeof(AudioBuffer)); - if (!strm->audio_buf) - return PJ_ENOMEM; - - strm->audio_buf->mNumberBuffers = 1; - ab = &strm->audio_buf->mBuffers[0]; - ab->mNumberChannels = strm->streamFormat.mChannelsPerFrame; - ab->mDataByteSize = buf_size * ab->mNumberChannels * - strm->param.bits_per_sample >> 3; - ab->mData = pj_pool_alloc(strm->pool, - ab->mDataByteSize); - if (!ab->mData) - return PJ_ENOMEM; - -#else - /* We will let AudioUnitRender() to allocate the buffer - * for us later - */ - strm->audio_buf = (AudioBufferList*)pj_pool_alloc(strm->pool, - sizeof(AudioBufferList) + sizeof(AudioBuffer)); - if (!strm->audio_buf) - return PJ_ENOMEM; - - strm->audio_buf->mNumberBuffers = 1; - strm->audio_buf->mBuffers[0].mNumberChannels = - strm->streamFormat.mChannelsPerFrame; - -#endif - - /* Allocate recording buffer */ - strm->rec_buf = (pj_int16_t*)pj_pool_alloc(strm->pool, - strm->param.samples_per_frame * - strm->param.bits_per_sample >> 3); - if (!strm->rec_buf) - return PJ_ENOMEM; - strm->rec_buf_count = 0; - } - - /* Initialize the audio unit */ - ostatus = AudioUnitInitialize(*io_unit); - if (ostatus != noErr) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } - - return PJ_SUCCESS; -} - -/* API: create stream */ -static pj_status_t ca_factory_create_stream(pjmedia_aud_dev_factory *f, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_aud_strm) -{ - struct coreaudio_factory *cf = (struct coreaudio_factory*)f; - pj_pool_t *pool; - struct coreaudio_stream *strm; - pj_status_t status; - - /* Create and Initialize stream descriptor */ - pool = pj_pool_create(cf->pf, "coreaudio-dev", 1000, 1000, NULL); - PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); - - strm = PJ_POOL_ZALLOC_T(pool, struct coreaudio_stream); - pj_list_init(&strm->list_entry); - strm->list_entry.stream = strm; - strm->cf = cf; - pj_memcpy(&strm->param, param, sizeof(*param)); - strm->pool = pool; - strm->rec_cb = rec_cb; - strm->play_cb = play_cb; - strm->user_data = user_data; - - /* Set the stream format */ - strm->streamFormat.mSampleRate = param->clock_rate; - strm->streamFormat.mFormatID = kAudioFormatLinearPCM; - strm->streamFormat.mFormatFlags = kLinearPCMFormatFlagIsSignedInteger - | kLinearPCMFormatFlagIsPacked; - strm->streamFormat.mBitsPerChannel = strm->param.bits_per_sample; - strm->streamFormat.mChannelsPerFrame = param->channel_count; - strm->streamFormat.mBytesPerFrame = strm->streamFormat.mChannelsPerFrame - * strm->param.bits_per_sample >> 3; - strm->streamFormat.mFramesPerPacket = 1; - strm->streamFormat.mBytesPerPacket = strm->streamFormat.mBytesPerFrame * - strm->streamFormat.mFramesPerPacket; - - /* Apply input/output routes settings before we create the audio units */ - if (param->flags & PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE) { - ca_stream_set_cap(&strm->base, - PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE, - ¶m->input_route); - } - if (param->flags & PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE) { - ca_stream_set_cap(&strm->base, - PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE, - ¶m->output_route); - } - if (param->flags & PJMEDIA_AUD_DEV_CAP_EC) { - ca_stream_set_cap(&strm->base, - PJMEDIA_AUD_DEV_CAP_EC, - ¶m->ec_enabled); - } else { - pj_bool_t ec = PJ_FALSE; - ca_stream_set_cap(&strm->base, - PJMEDIA_AUD_DEV_CAP_EC, &ec); - } - - strm->io_units[0] = strm->io_units[1] = NULL; - if (param->dir == PJMEDIA_DIR_CAPTURE_PLAYBACK && - param->rec_id == param->play_id) - { - /* If both input and output are on the same device, only create - * one audio unit to interface with the device. - */ - status = create_audio_unit(cf->io_comp, - cf->dev_info[param->rec_id].dev_id, - param->dir, strm, &strm->io_units[0]); - if (status != PJ_SUCCESS) - goto on_error; - } else { - unsigned nunits = 0; - - if (param->dir & PJMEDIA_DIR_CAPTURE) { - status = create_audio_unit(cf->io_comp, - cf->dev_info[param->rec_id].dev_id, - PJMEDIA_DIR_CAPTURE, - strm, &strm->io_units[nunits++]); - if (status != PJ_SUCCESS) - goto on_error; - } - if (param->dir & PJMEDIA_DIR_PLAYBACK) { - - status = create_audio_unit(cf->io_comp, - cf->dev_info[param->play_id].dev_id, - PJMEDIA_DIR_PLAYBACK, - strm, &strm->io_units[nunits++]); - if (status != PJ_SUCCESS) - goto on_error; - } - } - - /* Apply the remaining settings */ - if (param->flags & PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY) { - ca_stream_get_cap(&strm->base, - PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY, - &strm->param.input_latency_ms); - } - if (param->flags & PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY) { - ca_stream_get_cap(&strm->base, - PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY, - &strm->param.output_latency_ms); - } - if (param->flags & PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING) { - ca_stream_set_cap(&strm->base, - PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING, - ¶m->output_vol); - } - - pj_mutex_lock(strm->cf->mutex); - pj_assert(pj_list_empty(&strm->list_entry)); - pj_list_insert_after(&strm->cf->streams, &strm->list_entry); - pj_mutex_unlock(strm->cf->mutex); - - /* Done */ - strm->base.op = &stream_op; - *p_aud_strm = &strm->base; - - return PJ_SUCCESS; - - on_error: - ca_stream_destroy((pjmedia_aud_stream *)strm); - return status; -} - -/* API: Get stream info. */ -static pj_status_t ca_stream_get_param(pjmedia_aud_stream *s, - pjmedia_aud_param *pi) -{ - struct coreaudio_stream *strm = (struct coreaudio_stream*)s; - - PJ_ASSERT_RETURN(strm && pi, PJ_EINVAL); - - pj_memcpy(pi, &strm->param, sizeof(*pi)); - - /* Update the device capabilities' values */ - if (ca_stream_get_cap(s, PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY, - &pi->input_latency_ms) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY; - } - if (ca_stream_get_cap(s, PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY, - &pi->output_latency_ms) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY; - } - if (ca_stream_get_cap(s, PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING, - &pi->output_vol) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING; - } - if (ca_stream_get_cap(s, PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE, - &pi->input_route) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE; - } - if (ca_stream_get_cap(s, PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE, - &pi->output_route) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE; - } - if (ca_stream_get_cap(s, PJMEDIA_AUD_DEV_CAP_EC, - &pi->ec_enabled) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_AUD_DEV_CAP_EC; - } - - return PJ_SUCCESS; -} - -/* API: get capability */ -static pj_status_t ca_stream_get_cap(pjmedia_aud_stream *s, - pjmedia_aud_dev_cap cap, - void *pval) -{ - struct coreaudio_stream *strm = (struct coreaudio_stream*)s; - - PJ_UNUSED_ARG(strm); - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - if (cap==PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY && - (strm->param.dir & PJMEDIA_DIR_CAPTURE)) - { -#if COREAUDIO_MAC - UInt32 latency, size = sizeof(UInt32); - - /* Recording latency */ - if (AudioUnitGetProperty (strm->io_units[0], - kAudioDevicePropertyLatency, - kAudioUnitScope_Input, - 1, - &latency, - &size) == noErr) - { - UInt32 latency2; - if (AudioUnitGetProperty (strm->io_units[0], - kAudioDevicePropertyBufferFrameSize, - kAudioUnitScope_Input, - 1, - &latency2, - &size) == noErr) - { - strm->param.input_latency_ms = (latency + latency2) * 1000 / - strm->param.clock_rate; - strm->param.input_latency_ms++; - } - } -#else - Float32 latency, latency2; - UInt32 size = sizeof(Float32); - - if ((AudioSessionGetProperty( - kAudioSessionProperty_CurrentHardwareInputLatency, - &size, &latency) == kAudioSessionNoError) && - (AudioSessionGetProperty( - kAudioSessionProperty_CurrentHardwareIOBufferDuration, - &size, &latency2) == kAudioSessionNoError)) - { - strm->param.input_latency_ms = (unsigned) - ((latency + latency2) * 1000); - strm->param.input_latency_ms++; - } -#endif - - *(unsigned*)pval = strm->param.input_latency_ms; - return PJ_SUCCESS; - } else if (cap==PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY && - (strm->param.dir & PJMEDIA_DIR_PLAYBACK)) - { -#if COREAUDIO_MAC - UInt32 latency, size = sizeof(UInt32); - AudioUnit *io_unit = strm->io_units[1] ? &strm->io_units[1] : - &strm->io_units[0]; - - /* Playback latency */ - if (AudioUnitGetProperty (*io_unit, - kAudioDevicePropertyLatency, - kAudioUnitScope_Output, - 0, - &latency, - &size) == noErr) - { - UInt32 latency2; - if (AudioUnitGetProperty (*io_unit, - kAudioDevicePropertyBufferFrameSize, - kAudioUnitScope_Output, - 0, - &latency2, - &size) == noErr) - { - strm->param.output_latency_ms = (latency + latency2) * 1000 / - strm->param.clock_rate; - strm->param.output_latency_ms++; - } - } -#else - Float32 latency, latency2; - UInt32 size = sizeof(Float32); - - if ((AudioSessionGetProperty( - kAudioSessionProperty_CurrentHardwareOutputLatency, - &size, &latency) == kAudioSessionNoError) && - (AudioSessionGetProperty( - kAudioSessionProperty_CurrentHardwareIOBufferDuration, - &size, &latency2) == kAudioSessionNoError)) - { - strm->param.output_latency_ms = (unsigned) - ((latency + latency2) * 1000); - strm->param.output_latency_ms++; - } -#endif - *(unsigned*)pval = (++strm->param.output_latency_ms * 2); - return PJ_SUCCESS; - } else if (cap==PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING && - (strm->param.dir & PJMEDIA_DIR_PLAYBACK)) - { - OSStatus ostatus; - Float32 volume; - UInt32 size = sizeof(Float32); - - /* Output volume setting */ -#if COREAUDIO_MAC - ostatus = AudioUnitGetProperty (strm->io_units[1] ? strm->io_units[1] : - strm->io_units[0], - kAudioDevicePropertyVolumeScalar, - kAudioUnitScope_Output, - 0, - &volume, - &size); - if (ostatus != noErr) - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); -#else - ostatus = AudioSessionGetProperty( - kAudioSessionProperty_CurrentHardwareOutputVolume, - &size, &volume); - if (ostatus != kAudioSessionNoError) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } -#endif - - *(unsigned*)pval = (unsigned)(volume * 100); - return PJ_SUCCESS; -#if !COREAUDIO_MAC - } else if (cap==PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE && - (strm->param.dir & PJMEDIA_DIR_CAPTURE)) - { - UInt32 btooth, size = sizeof(UInt32); - OSStatus ostatus; - - ostatus = AudioSessionGetProperty ( - kAudioSessionProperty_OverrideCategoryEnableBluetoothInput, - &size, &btooth); - if (ostatus != kAudioSessionNoError) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } - - *(pjmedia_aud_dev_route*)pval = btooth? - PJMEDIA_AUD_DEV_ROUTE_BLUETOOTH: - PJMEDIA_AUD_DEV_ROUTE_DEFAULT; - return PJ_SUCCESS; - } else if (cap==PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE && - (strm->param.dir & PJMEDIA_DIR_PLAYBACK)) - { - CFStringRef route; - UInt32 size = sizeof(CFStringRef); - OSStatus ostatus; - - ostatus = AudioSessionGetProperty (kAudioSessionProperty_AudioRoute, - &size, &route); - if (ostatus != kAudioSessionNoError) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } - - if (!route) { - *(pjmedia_aud_dev_route*)pval = PJMEDIA_AUD_DEV_ROUTE_DEFAULT; - } else if (CFStringHasPrefix(route, CFSTR("Headset"))) { - *(pjmedia_aud_dev_route*)pval = PJMEDIA_AUD_DEV_ROUTE_EARPIECE; - } else { - *(pjmedia_aud_dev_route*)pval = PJMEDIA_AUD_DEV_ROUTE_DEFAULT; - } - - CFRelease(route); - - return PJ_SUCCESS; - } else if (cap==PJMEDIA_AUD_DEV_CAP_EC) { - AudioComponentDescription desc; - OSStatus ostatus; - - ostatus = AudioComponentGetDescription(strm->cf->io_comp, &desc); - if (ostatus != noErr) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } - - *(pj_bool_t*)pval = (desc.componentSubType == - kAudioUnitSubType_VoiceProcessingIO); - return PJ_SUCCESS; -#endif - } else { - return PJMEDIA_EAUD_INVCAP; - } -} - -/* API: set capability */ -static pj_status_t ca_stream_set_cap(pjmedia_aud_stream *s, - pjmedia_aud_dev_cap cap, - const void *pval) -{ - struct coreaudio_stream *strm = (struct coreaudio_stream*)s; - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - -#if COREAUDIO_MAC - if (cap==PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING && - (strm->param.dir & PJMEDIA_DIR_PLAYBACK)) - { - OSStatus ostatus; - Float32 volume = *(unsigned*)pval; - - /* Output volume setting */ - volume /= 100.0; - ostatus = AudioUnitSetProperty (strm->io_units[1] ? strm->io_units[1] : - strm->io_units[0], - kAudioDevicePropertyVolumeScalar, - kAudioUnitScope_Output, - 0, - &volume, - sizeof(Float32)); - if (ostatus != noErr) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } - strm->param.output_vol = *(unsigned*)pval; - return PJ_SUCCESS; - } - -#else - - if ((cap==PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY && - (strm->param.dir & PJMEDIA_DIR_CAPTURE)) || - (cap==PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY && - (strm->param.dir & PJMEDIA_DIR_PLAYBACK))) - { - Float32 bufferDuration = *(unsigned *)pval; - OSStatus ostatus; - unsigned latency; - - /* For low-latency audio streaming, you can set this value to - * as low as 5 ms (the default is 23ms). However, lowering the - * latency may cause a decrease in audio quality. - */ - bufferDuration /= 1000; - ostatus = AudioSessionSetProperty( - kAudioSessionProperty_PreferredHardwareIOBufferDuration, - sizeof(bufferDuration), &bufferDuration); - if (ostatus != kAudioSessionNoError) { - PJ_LOG(4, (THIS_FILE, - "Error: cannot set the preferred buffer duration (%i)", - ostatus)); - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } - - ca_stream_get_cap(s, PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY, &latency); - ca_stream_get_cap(s, PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY, &latency); - - return PJ_SUCCESS; - } else if (cap==PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE && - (strm->param.dir & PJMEDIA_DIR_CAPTURE)) - { - UInt32 btooth = *(pjmedia_aud_dev_route*)pval == - PJMEDIA_AUD_DEV_ROUTE_BLUETOOTH ? 1 : 0; - OSStatus ostatus; - - ostatus = AudioSessionSetProperty ( - kAudioSessionProperty_OverrideCategoryEnableBluetoothInput, - sizeof(btooth), &btooth); - if (ostatus != kAudioSessionNoError) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } - strm->param.input_route = *(pjmedia_aud_dev_route*)pval; - return PJ_SUCCESS; - } else if (cap==PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE && - (strm->param.dir & PJMEDIA_DIR_PLAYBACK)) - { - OSStatus ostatus; - UInt32 route = *(pjmedia_aud_dev_route*)pval == - PJMEDIA_AUD_DEV_ROUTE_LOUDSPEAKER ? - kAudioSessionOverrideAudioRoute_Speaker : - kAudioSessionOverrideAudioRoute_None; - - ostatus = AudioSessionSetProperty ( - kAudioSessionProperty_OverrideAudioRoute, - sizeof(route), &route); - if (ostatus != kAudioSessionNoError) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } - strm->param.output_route = *(pjmedia_aud_dev_route*)pval; - return PJ_SUCCESS; - } else if (cap==PJMEDIA_AUD_DEV_CAP_EC) { - AudioComponentDescription desc; - AudioComponent io_comp; - - desc.componentType = kAudioUnitType_Output; - desc.componentSubType = (*(pj_bool_t*)pval)? - kAudioUnitSubType_VoiceProcessingIO : - kAudioUnitSubType_RemoteIO; - desc.componentManufacturer = kAudioUnitManufacturer_Apple; - desc.componentFlags = 0; - desc.componentFlagsMask = 0; - - io_comp = AudioComponentFindNext(NULL, &desc); - if (io_comp == NULL) - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(-1); - strm->cf->io_comp = io_comp; - strm->param.ec_enabled = *(pj_bool_t*)pval; - - PJ_LOG(4, (THIS_FILE, "Using %s audio unit", - (desc.componentSubType == - kAudioUnitSubType_RemoteIO? "RemoteIO": - "VoiceProcessingIO"))); - - return PJ_SUCCESS; - } -#endif - - return PJMEDIA_EAUD_INVCAP; -} - -/* API: Start stream. */ -static pj_status_t ca_stream_start(pjmedia_aud_stream *strm) -{ - struct coreaudio_stream *stream = (struct coreaudio_stream*)strm; - OSStatus ostatus; - UInt32 i; - - if (stream->running) - return PJ_SUCCESS; - - stream->quit_flag = 0; - stream->interrupted = PJ_FALSE; - stream->rec_buf_count = 0; - stream->play_buf_count = 0; - stream->resample_buf_count = 0; - - if (stream->resample) { - ostatus = AudioConverterReset(stream->resample); - if (ostatus != noErr) - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } - -#if !COREAUDIO_MAC - AudioSessionSetActive(true); -#endif - - for (i = 0; i < 2; i++) { - if (stream->io_units[i] == NULL) break; - ostatus = AudioOutputUnitStart(stream->io_units[i]); - if (ostatus != noErr) { - if (i == 1) - AudioOutputUnitStop(stream->io_units[0]); - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } - } - - stream->running = PJ_TRUE; - - PJ_LOG(4, (THIS_FILE, "core audio stream started")); - - return PJ_SUCCESS; -} - -/* API: Stop stream. */ -static pj_status_t ca_stream_stop(pjmedia_aud_stream *strm) -{ - struct coreaudio_stream *stream = (struct coreaudio_stream*)strm; - OSStatus ostatus; - unsigned i; - int should_deactivate; - struct stream_list *it, *itBegin; - - if (!stream->running) - return PJ_SUCCESS; - - for (i = 0; i < 2; i++) { - if (stream->io_units[i] == NULL) break; - ostatus = AudioOutputUnitStop(stream->io_units[i]); - if (ostatus != noErr) { - if (i == 0 && stream->io_units[1]) - AudioOutputUnitStop(stream->io_units[1]); - return PJMEDIA_AUDIODEV_ERRNO_FROM_COREAUDIO(ostatus); - } - } - - /* Check whether we need to deactivate the audio session. */ - pj_mutex_lock(stream->cf->mutex); - pj_assert(!pj_list_empty(&stream->cf->streams)); - pj_assert(!pj_list_empty(&stream->list_entry)); - stream->running = PJ_FALSE; - should_deactivate = PJ_TRUE; - itBegin = &stream->cf->streams; - for (it = itBegin->next; it != itBegin; it = it->next) { - if (it->stream->running) { - should_deactivate = PJ_FALSE; - break; - } - } - pj_mutex_unlock(stream->cf->mutex); - -#if !COREAUDIO_MAC - if (should_deactivate) - AudioSessionSetActive(false); -#endif - - stream->quit_flag = 1; - stream->play_thread_initialized = 0; - stream->rec_thread_initialized = 0; - pj_bzero(stream->rec_thread_desc, sizeof(pj_thread_desc)); - pj_bzero(stream->play_thread_desc, sizeof(pj_thread_desc)); - - PJ_LOG(4, (THIS_FILE, "core audio stream stopped")); - - return PJ_SUCCESS; -} - - -/* API: Destroy stream. */ -static pj_status_t ca_stream_destroy(pjmedia_aud_stream *strm) -{ - struct coreaudio_stream *stream = (struct coreaudio_stream*)strm; - unsigned i; - - PJ_ASSERT_RETURN(stream != NULL, PJ_EINVAL); - - ca_stream_stop(strm); - - for (i = 0; i < 2; i++) { - if (stream->io_units[i]) { - AudioUnitUninitialize(stream->io_units[i]); - AudioComponentInstanceDispose(stream->io_units[i]); - stream->io_units[i] = NULL; - } - } - - if (stream->resample) - AudioConverterDispose(stream->resample); - - pj_mutex_lock(stream->cf->mutex); - if (!pj_list_empty(&stream->list_entry)) - pj_list_erase(&stream->list_entry); - pj_mutex_unlock(stream->cf->mutex); - - pj_pool_release(stream->pool); - - return PJ_SUCCESS; -} - -#endif /* PJMEDIA_AUDIO_DEV_HAS_COREAUDIO */ diff --git a/res/pjproject/pjmedia/src/pjmedia-audiodev/errno.c b/res/pjproject/pjmedia/src/pjmedia-audiodev/errno.c deleted file mode 100644 index 49f837bbdb..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-audiodev/errno.c +++ /dev/null @@ -1,206 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#if PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO -# include -#endif -#if PJMEDIA_AUDIO_DEV_HAS_WMME -# ifdef _MSC_VER -# pragma warning(push, 3) -# endif -# include -# include -# ifdef _MSC_VER -# pragma warning(pop) -# endif -#endif - -/* PJMEDIA-Audiodev's own error codes/messages - * MUST KEEP THIS ARRAY SORTED!! - * Message must be limited to 64 chars! - */ - -#if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING != 0) - -static const struct -{ - int code; - const char *msg; -} err_str[] = -{ - PJ_BUILD_ERR( PJMEDIA_EAUD_ERR, "Unspecified audio device error" ), - PJ_BUILD_ERR( PJMEDIA_EAUD_SYSERR, "Unknown error from audio driver" ), - PJ_BUILD_ERR( PJMEDIA_EAUD_INIT, "Audio subsystem not initialized" ), - PJ_BUILD_ERR( PJMEDIA_EAUD_INVDEV, "Invalid audio device" ), - PJ_BUILD_ERR( PJMEDIA_EAUD_NODEV, "Found no audio devices" ), - PJ_BUILD_ERR( PJMEDIA_EAUD_NODEFDEV, "Unable to find default audio device" ), - PJ_BUILD_ERR( PJMEDIA_EAUD_NOTREADY, "Audio device not ready" ), - PJ_BUILD_ERR( PJMEDIA_EAUD_INVCAP, "Invalid or unsupported audio capability" ), - PJ_BUILD_ERR( PJMEDIA_EAUD_INVOP, "Invalid or unsupported audio device operation" ), - PJ_BUILD_ERR( PJMEDIA_EAUD_BADFORMAT, "Bad or invalid audio device format" ), - PJ_BUILD_ERR( PJMEDIA_EAUD_SAMPFORMAT, "Invalid audio device sample format"), - PJ_BUILD_ERR( PJMEDIA_EAUD_BADLATENCY, "Bad audio latency setting") - -}; - -#endif /* PJ_HAS_ERROR_STRING */ - - - -/* - * pjmedia_audiodev_strerror() - */ -PJ_DEF(pj_str_t) pjmedia_audiodev_strerror(pj_status_t statcode, - char *buf, pj_size_t bufsize ) -{ - pj_str_t errstr; - -#if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING != 0) - - - /* See if the error comes from Core Audio. */ -#if PJMEDIA_AUDIO_DEV_HAS_COREAUDIO - if (statcode >= PJMEDIA_AUDIODEV_COREAUDIO_ERRNO_START && - statcode <= PJMEDIA_AUDIODEV_COREAUDIO_ERRNO_END) - { - int ca_err = PJMEDIA_AUDIODEV_COREAUDIO_ERRNO_START - statcode; - - PJ_UNUSED_ARG(ca_err); - // TODO: create more helpful error messages - errstr.ptr = buf; - pj_strcpy2(&errstr, "Core audio error"); - return errstr; - } else -#endif - - /* See if the error comes from PortAudio. */ -#if PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO - if (statcode >= PJMEDIA_AUDIODEV_PORTAUDIO_ERRNO_START && - statcode <= PJMEDIA_AUDIODEV_PORTAUDIO_ERRNO_END) - { - - //int pa_err = statcode - PJMEDIA_ERRNO_FROM_PORTAUDIO(0); - int pa_err = PJMEDIA_AUDIODEV_PORTAUDIO_ERRNO_START - statcode; - pj_str_t msg; - - msg.ptr = (char*)Pa_GetErrorText(pa_err); - msg.slen = pj_ansi_strlen(msg.ptr); - - errstr.ptr = buf; - pj_strncpy_with_null(&errstr, &msg, bufsize); - return errstr; - - } else -#endif /* PJMEDIA_SOUND_IMPLEMENTATION */ - - /* See if the error comes from WMME */ -#if PJMEDIA_AUDIO_DEV_HAS_WMME - if ((statcode >= PJMEDIA_AUDIODEV_WMME_IN_ERROR_START && - statcode < PJMEDIA_AUDIODEV_WMME_IN_ERROR_END) || - (statcode >= PJMEDIA_AUDIODEV_WMME_OUT_ERROR_START && - statcode < PJMEDIA_AUDIODEV_WMME_OUT_ERROR_END)) - { - MMRESULT native_err, mr; - MMRESULT (WINAPI *waveGetErrText)(UINT mmrError, LPTSTR pszText, UINT cchText); - PJ_DECL_UNICODE_TEMP_BUF(wbuf, 80) - - if (statcode >= PJMEDIA_AUDIODEV_WMME_IN_ERROR_START && - statcode <= PJMEDIA_AUDIODEV_WMME_IN_ERROR_END) - { - native_err = statcode - PJMEDIA_AUDIODEV_WMME_IN_ERROR_START; - waveGetErrText = &waveInGetErrorText; - } else { - native_err = statcode - PJMEDIA_AUDIODEV_WMME_OUT_ERROR_START; - waveGetErrText = &waveOutGetErrorText; - } - -#if PJ_NATIVE_STRING_IS_UNICODE - mr = (*waveGetErrText)(native_err, wbuf, PJ_ARRAY_SIZE(wbuf)); - if (mr == MMSYSERR_NOERROR) { - int len = wcslen(wbuf); - pj_unicode_to_ansi(wbuf, len, buf, bufsize); - } -#else - mr = (*waveGetErrText)(native_err, buf, bufsize); -#endif - - if (mr==MMSYSERR_NOERROR) { - errstr.ptr = buf; - errstr.slen = pj_ansi_strlen(buf); - return errstr; - } else { - pj_ansi_snprintf(buf, bufsize, "MMSYSTEM native error %d", - native_err); - return pj_str(buf); - } - - } else -#endif - - /* Audiodev error */ - if (statcode >= PJMEDIA_AUDIODEV_ERRNO_START && - statcode < PJMEDIA_AUDIODEV_ERRNO_END) - { - /* Find the error in the table. - * Use binary search! - */ - int first = 0; - int n = PJ_ARRAY_SIZE(err_str); - - while (n > 0) { - int half = n/2; - int mid = first + half; - - if (err_str[mid].code < statcode) { - first = mid+1; - n -= (half+1); - } else if (err_str[mid].code > statcode) { - n = half; - } else { - first = mid; - break; - } - } - - - if (PJ_ARRAY_SIZE(err_str) && err_str[first].code == statcode) { - pj_str_t msg; - - msg.ptr = (char*)err_str[first].msg; - msg.slen = pj_ansi_strlen(err_str[first].msg); - - errstr.ptr = buf; - pj_strncpy_with_null(&errstr, &msg, bufsize); - return errstr; - - } - } -#endif /* PJ_HAS_ERROR_STRING */ - - /* Error not found. */ - errstr.ptr = buf; - errstr.slen = pj_ansi_snprintf(buf, bufsize, - "Unknown pjmedia-audiodev error %d", - statcode); - - return errstr; -} - diff --git a/res/pjproject/pjmedia/src/pjmedia-audiodev/legacy_dev.c b/res/pjproject/pjmedia/src/pjmedia-audiodev/legacy_dev.c deleted file mode 100644 index c189698704..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-audiodev/legacy_dev.c +++ /dev/null @@ -1,468 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - -#if PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE - -#define THIS_FILE "legacy_dev.c" - -/* Legacy devices factory */ -struct legacy_factory -{ - pjmedia_aud_dev_factory base; - pj_pool_t *pool; - pj_pool_factory *pf; -}; - - -struct legacy_stream -{ - pjmedia_aud_stream base; - - pj_pool_t *pool; - pjmedia_aud_param param; - pjmedia_snd_stream *snd_strm; - pjmedia_aud_play_cb user_play_cb; - pjmedia_aud_rec_cb user_rec_cb; - void *user_user_data; - unsigned input_latency; - unsigned output_latency; -}; - - -/* Prototypes */ -static pj_status_t factory_init(pjmedia_aud_dev_factory *f); -static pj_status_t factory_destroy(pjmedia_aud_dev_factory *f); -static pj_status_t factory_refresh(pjmedia_aud_dev_factory *f); -static unsigned factory_get_dev_count(pjmedia_aud_dev_factory *f); -static pj_status_t factory_get_dev_info(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_dev_info *info); -static pj_status_t factory_default_param(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_param *param); -static pj_status_t factory_create_stream(pjmedia_aud_dev_factory *f, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_aud_strm); - -static pj_status_t stream_get_param(pjmedia_aud_stream *strm, - pjmedia_aud_param *param); -static pj_status_t stream_get_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - void *value); -static pj_status_t stream_set_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - const void *value); -static pj_status_t stream_start(pjmedia_aud_stream *strm); -static pj_status_t stream_stop(pjmedia_aud_stream *strm); -static pj_status_t stream_destroy(pjmedia_aud_stream *strm); - - -/* Operations */ -static pjmedia_aud_dev_factory_op factory_op = -{ - &factory_init, - &factory_destroy, - &factory_get_dev_count, - &factory_get_dev_info, - &factory_default_param, - &factory_create_stream, - &factory_refresh -}; - -static pjmedia_aud_stream_op stream_op = -{ - &stream_get_param, - &stream_get_cap, - &stream_set_cap, - &stream_start, - &stream_stop, - &stream_destroy -}; - - -/**************************************************************************** - * Factory operations - */ - -/* - * Init legacy audio driver. - */ -pjmedia_aud_dev_factory* pjmedia_legacy_factory(pj_pool_factory *pf) -{ - struct legacy_factory *f; - pj_pool_t *pool; - - pool = pj_pool_create(pf, "legacy-snd", 512, 512, NULL); - f = PJ_POOL_ZALLOC_T(pool, struct legacy_factory); - f->pf = pf; - f->pool = pool; - f->base.op = &factory_op; - - return &f->base; -} - - -/* API: init factory */ -static pj_status_t factory_init(pjmedia_aud_dev_factory *f) -{ - struct legacy_factory *wf = (struct legacy_factory*)f; - - return pjmedia_snd_init(wf->pf); -} - -/* API: destroy factory */ -static pj_status_t factory_destroy(pjmedia_aud_dev_factory *f) -{ - struct legacy_factory *wf = (struct legacy_factory*)f; - pj_status_t status; - - status = pjmedia_snd_deinit(); - - if (status == PJ_SUCCESS) { - pj_pool_t *pool = wf->pool; - wf->pool = NULL; - pj_pool_release(pool); - } - - return status; -} - -/* API: refresh the list of devices */ -static pj_status_t factory_refresh(pjmedia_aud_dev_factory *f) -{ - PJ_UNUSED_ARG(f); - return PJ_ENOTSUP; -} - -/* API: get number of devices */ -static unsigned factory_get_dev_count(pjmedia_aud_dev_factory *f) -{ - PJ_UNUSED_ARG(f); - return pjmedia_snd_get_dev_count(); -} - -/* API: get device info */ -static pj_status_t factory_get_dev_info(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_dev_info *info) -{ - const pjmedia_snd_dev_info *si = - pjmedia_snd_get_dev_info(index);; - - PJ_UNUSED_ARG(f); - - if (si == NULL) - return PJMEDIA_EAUD_INVDEV; - - pj_bzero(info, sizeof(*info)); - pj_ansi_strncpy(info->name, si->name, sizeof(info->name)); - info->name[sizeof(info->name)-1] = '\0'; - info->input_count = si->input_count; - info->output_count = si->output_count; - info->default_samples_per_sec = si->default_samples_per_sec; - pj_ansi_strcpy(info->driver, "legacy"); - info->caps = PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY | - PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY; - - return PJ_SUCCESS; -} - -/* API: create default device parameter */ -static pj_status_t factory_default_param(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_param *param) -{ - pjmedia_aud_dev_info di; - pj_status_t status; - - status = factory_get_dev_info(f, index, &di); - if (status != PJ_SUCCESS) - return status; - - pj_bzero(param, sizeof(*param)); - if (di.input_count && di.output_count) { - param->dir = PJMEDIA_DIR_CAPTURE_PLAYBACK; - param->rec_id = index; - param->play_id = index; - } else if (di.input_count) { - param->dir = PJMEDIA_DIR_CAPTURE; - param->rec_id = index; - param->play_id = PJMEDIA_AUD_INVALID_DEV; - } else if (di.output_count) { - param->dir = PJMEDIA_DIR_PLAYBACK; - param->play_id = index; - param->rec_id = PJMEDIA_AUD_INVALID_DEV; - } else { - return PJMEDIA_EAUD_INVDEV; - } - - param->clock_rate = di.default_samples_per_sec; - param->channel_count = 1; - param->samples_per_frame = di.default_samples_per_sec * 20 / 1000; - param->bits_per_sample = 16; - param->flags = di.caps; - param->input_latency_ms = PJMEDIA_SND_DEFAULT_REC_LATENCY; - param->output_latency_ms = PJMEDIA_SND_DEFAULT_PLAY_LATENCY; - - return PJ_SUCCESS; -} - -/* Callback from legacy sound device */ -static pj_status_t snd_play_cb(/* in */ void *user_data, - /* in */ pj_uint32_t timestamp, - /* out */ void *output, - /* out */ unsigned size) -{ - struct legacy_stream *strm = (struct legacy_stream*)user_data; - pjmedia_frame frame; - pj_status_t status; - - frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - frame.buf = output; - frame.size = size; - frame.timestamp.u64 = timestamp; - - status = strm->user_play_cb(strm->user_user_data, &frame); - if (status != PJ_SUCCESS) - return status; - - if (frame.type != PJMEDIA_FRAME_TYPE_AUDIO) { - pj_bzero(output, size); - } - - return PJ_SUCCESS; -} - -/* Callback from legacy sound device */ -static pj_status_t snd_rec_cb( /* in */ void *user_data, - /* in */ pj_uint32_t timestamp, - /* in */ void *input, - /* in*/ unsigned size) -{ - struct legacy_stream *strm = (struct legacy_stream*)user_data; - pjmedia_frame frame; - - frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - frame.buf = input; - frame.size = size; - frame.timestamp.u64 = timestamp; - - return strm->user_rec_cb(strm->user_user_data, &frame); -} - -/* API: create stream */ -static pj_status_t factory_create_stream(pjmedia_aud_dev_factory *f, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_aud_strm) -{ - struct legacy_factory *wf = (struct legacy_factory*)f; - pj_pool_t *pool; - struct legacy_stream *strm; - pj_status_t status; - - /* Initialize our stream data */ - pool = pj_pool_create(wf->pf, "legacy-snd", 512, 512, NULL); - strm = PJ_POOL_ZALLOC_T(pool, struct legacy_stream); - strm->pool = pool; - strm->user_rec_cb = rec_cb; - strm->user_play_cb = play_cb; - strm->user_user_data = user_data; - pj_memcpy(&strm->param, param, sizeof(*param)); - - /* Set the latency if wanted */ - if (param->dir==PJMEDIA_DIR_CAPTURE_PLAYBACK && - param->flags & (PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY | - PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY)) - { - PJ_ASSERT_RETURN(param->input_latency_ms && - param->output_latency_ms, - PJMEDIA_EAUD_BADLATENCY); - - strm->input_latency = param->input_latency_ms; - strm->output_latency = param->output_latency_ms; - - status = pjmedia_snd_set_latency(param->input_latency_ms, - param->output_latency_ms); - if (status != PJ_SUCCESS) { - pj_pool_release(pool); - return status; - } - } - - /* Open the stream */ - if (param->dir == PJMEDIA_DIR_CAPTURE) { - status = pjmedia_snd_open_rec(param->rec_id, - param->clock_rate, - param->channel_count, - param->samples_per_frame, - param->bits_per_sample, - &snd_rec_cb, - strm, - &strm->snd_strm); - } else if (param->dir == PJMEDIA_DIR_PLAYBACK) { - status = pjmedia_snd_open_player(param->play_id, - param->clock_rate, - param->channel_count, - param->samples_per_frame, - param->bits_per_sample, - &snd_play_cb, - strm, - &strm->snd_strm); - - } else if (param->dir == PJMEDIA_DIR_CAPTURE_PLAYBACK) { - status = pjmedia_snd_open(param->rec_id, - param->play_id, - param->clock_rate, - param->channel_count, - param->samples_per_frame, - param->bits_per_sample, - &snd_rec_cb, - &snd_play_cb, - strm, - &strm->snd_strm); - } else { - pj_assert(!"Invalid direction!"); - return PJ_EINVAL; - } - - if (status != PJ_SUCCESS) { - pj_pool_release(pool); - return status; - } - - *p_aud_strm = &strm->base; - return PJ_SUCCESS; -} - -/* API: Get stream info. */ -static pj_status_t stream_get_param(pjmedia_aud_stream *s, - pjmedia_aud_param *pi) -{ - struct legacy_stream *strm = (struct legacy_stream*)s; - PJ_ASSERT_RETURN(strm && pi, PJ_EINVAL); - - pj_memcpy(pi, &strm->param, sizeof(*pi)); - - if (strm->input_latency) { - pi->flags |= PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY; - pi->input_latency_ms = strm->input_latency; - } else { - pi->flags &= ~PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY; - } - - if (strm->output_latency) { - pi->flags |= PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY; - pi->output_latency_ms = strm->output_latency; - } else { - pi->flags &= ~PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY; - } - - return PJ_SUCCESS; -} - -/* API: get capability */ -static pj_status_t stream_get_cap(pjmedia_aud_stream *s, - pjmedia_aud_dev_cap cap, - void *pval) -{ - struct legacy_stream *strm = (struct legacy_stream*)s; - - PJ_ASSERT_RETURN(strm && pval, PJ_EINVAL); - - if (cap==PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY && - (strm->param.dir & PJMEDIA_DIR_CAPTURE)) - { - /* Recording latency */ - if (strm->input_latency) { - *(unsigned*)pval = strm->input_latency; - return PJ_SUCCESS; - } else { - return PJMEDIA_EAUD_INVCAP; - } - - } else if (cap==PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY && - (strm->param.dir & PJMEDIA_DIR_PLAYBACK)) - { - /* Playback latency */ - if (strm->output_latency) { - *(unsigned*)pval = strm->output_latency; - return PJ_SUCCESS; - } else { - return PJMEDIA_EAUD_INVCAP; - } - } else { - return PJMEDIA_EAUD_INVCAP; - } -} - -/* API: set capability */ -static pj_status_t stream_set_cap(pjmedia_aud_stream *s, - pjmedia_aud_dev_cap cap, - const void *pval) -{ - PJ_UNUSED_ARG(s); - PJ_UNUSED_ARG(cap); - PJ_UNUSED_ARG(pval); - return PJMEDIA_EAUD_INVCAP; -} - -/* API: Start stream. */ -static pj_status_t stream_start(pjmedia_aud_stream *s) -{ - struct legacy_stream *strm = (struct legacy_stream*)s; - return pjmedia_snd_stream_start(strm->snd_strm); -} - -/* API: Stop stream. */ -static pj_status_t stream_stop(pjmedia_aud_stream *s) -{ - struct legacy_stream *strm = (struct legacy_stream*)s; - return pjmedia_snd_stream_stop(strm->snd_strm); -} - - -/* API: Destroy stream. */ -static pj_status_t stream_destroy(pjmedia_aud_stream *s) -{ - struct legacy_stream *strm = (struct legacy_stream*)s; - pj_status_t status; - - status = pjmedia_snd_stream_close(strm->snd_strm); - - if (status == PJ_SUCCESS) { - pj_pool_t *pool = strm->pool; - - strm->pool = NULL; - pj_pool_release(pool); - } - - return status; -} - -#endif /* PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE */ - diff --git a/res/pjproject/pjmedia/src/pjmedia-audiodev/null_dev.c b/res/pjproject/pjmedia/src/pjmedia-audiodev/null_dev.c deleted file mode 100644 index 01f10516ea..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-audiodev/null_dev.c +++ /dev/null @@ -1,388 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -#if PJMEDIA_AUDIO_DEV_HAS_NULL_AUDIO - -#define THIS_FILE "null_dev.c" - -/* null_audio device info */ -struct null_audio_dev_info -{ - pjmedia_aud_dev_info info; - unsigned dev_id; -}; - -/* null_audio factory */ -struct null_audio_factory -{ - pjmedia_aud_dev_factory base; - pj_pool_t *pool; - pj_pool_factory *pf; - - unsigned dev_count; - struct null_audio_dev_info *dev_info; -}; - -/* Sound stream. */ -struct null_audio_stream -{ - pjmedia_aud_stream base; /**< Base stream */ - pjmedia_aud_param param; /**< Settings */ - pj_pool_t *pool; /**< Memory pool. */ - - pjmedia_aud_rec_cb rec_cb; /**< Capture callback. */ - pjmedia_aud_play_cb play_cb; /**< Playback callback. */ - void *user_data; /**< Application data. */ -}; - - -/* Prototypes */ -static pj_status_t null_factory_init(pjmedia_aud_dev_factory *f); -static pj_status_t null_factory_destroy(pjmedia_aud_dev_factory *f); -static pj_status_t null_factory_refresh(pjmedia_aud_dev_factory *f); -static unsigned null_factory_get_dev_count(pjmedia_aud_dev_factory *f); -static pj_status_t null_factory_get_dev_info(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_dev_info *info); -static pj_status_t null_factory_default_param(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_param *param); -static pj_status_t null_factory_create_stream(pjmedia_aud_dev_factory *f, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_aud_strm); - -static pj_status_t null_stream_get_param(pjmedia_aud_stream *strm, - pjmedia_aud_param *param); -static pj_status_t null_stream_get_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - void *value); -static pj_status_t null_stream_set_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - const void *value); -static pj_status_t null_stream_start(pjmedia_aud_stream *strm); -static pj_status_t null_stream_stop(pjmedia_aud_stream *strm); -static pj_status_t null_stream_destroy(pjmedia_aud_stream *strm); - -/* Operations */ -static pjmedia_aud_dev_factory_op factory_op = -{ - &null_factory_init, - &null_factory_destroy, - &null_factory_get_dev_count, - &null_factory_get_dev_info, - &null_factory_default_param, - &null_factory_create_stream, - &null_factory_refresh -}; - -static pjmedia_aud_stream_op stream_op = -{ - &null_stream_get_param, - &null_stream_get_cap, - &null_stream_set_cap, - &null_stream_start, - &null_stream_stop, - &null_stream_destroy -}; - - -/**************************************************************************** - * Factory operations - */ -/* - * Init null_audio audio driver. - */ -pjmedia_aud_dev_factory* pjmedia_null_audio_factory(pj_pool_factory *pf) -{ - struct null_audio_factory *f; - pj_pool_t *pool; - - pool = pj_pool_create(pf, "null audio", 1000, 1000, NULL); - f = PJ_POOL_ZALLOC_T(pool, struct null_audio_factory); - f->pf = pf; - f->pool = pool; - f->base.op = &factory_op; - - return &f->base; -} - - -/* API: init factory */ -static pj_status_t null_factory_init(pjmedia_aud_dev_factory *f) -{ - struct null_audio_factory *nf = (struct null_audio_factory*)f; - struct null_audio_dev_info *ndi; - - /* Initialize input and output devices here */ - nf->dev_count = 1; - nf->dev_info = (struct null_audio_dev_info*) - pj_pool_calloc(nf->pool, nf->dev_count, - sizeof(struct null_audio_dev_info)); - ndi = &nf->dev_info[0]; - pj_bzero(ndi, sizeof(*ndi)); - strcpy(ndi->info.name, "null device"); - strcpy(ndi->info.driver, "null"); - ndi->info.input_count = 1; - ndi->info.output_count = 1; - ndi->info.default_samples_per_sec = 16000; - /* Set the device capabilities here */ - ndi->info.caps = 0; - - PJ_LOG(4, (THIS_FILE, "null audio initialized")); - - return PJ_SUCCESS; -} - -/* API: destroy factory */ -static pj_status_t null_factory_destroy(pjmedia_aud_dev_factory *f) -{ - struct null_audio_factory *nf = (struct null_audio_factory*)f; - pj_pool_t *pool = nf->pool; - - nf->pool = NULL; - pj_pool_release(pool); - - return PJ_SUCCESS; -} - -/* API: refresh the list of devices */ -static pj_status_t null_factory_refresh(pjmedia_aud_dev_factory *f) -{ - PJ_UNUSED_ARG(f); - return PJ_SUCCESS; -} - -/* API: get number of devices */ -static unsigned null_factory_get_dev_count(pjmedia_aud_dev_factory *f) -{ - struct null_audio_factory *nf = (struct null_audio_factory*)f; - return nf->dev_count; -} - -/* API: get device info */ -static pj_status_t null_factory_get_dev_info(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_dev_info *info) -{ - struct null_audio_factory *nf = (struct null_audio_factory*)f; - - PJ_ASSERT_RETURN(index < nf->dev_count, PJMEDIA_EAUD_INVDEV); - - pj_memcpy(info, &nf->dev_info[index].info, sizeof(*info)); - - return PJ_SUCCESS; -} - -/* API: create default device parameter */ -static pj_status_t null_factory_default_param(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_param *param) -{ - struct null_audio_factory *nf = (struct null_audio_factory*)f; - struct null_audio_dev_info *di = &nf->dev_info[index]; - - PJ_ASSERT_RETURN(index < nf->dev_count, PJMEDIA_EAUD_INVDEV); - - pj_bzero(param, sizeof(*param)); - if (di->info.input_count && di->info.output_count) { - param->dir = PJMEDIA_DIR_CAPTURE_PLAYBACK; - param->rec_id = index; - param->play_id = index; - } else if (di->info.input_count) { - param->dir = PJMEDIA_DIR_CAPTURE; - param->rec_id = index; - param->play_id = PJMEDIA_AUD_INVALID_DEV; - } else if (di->info.output_count) { - param->dir = PJMEDIA_DIR_PLAYBACK; - param->play_id = index; - param->rec_id = PJMEDIA_AUD_INVALID_DEV; - } else { - return PJMEDIA_EAUD_INVDEV; - } - - /* Set the mandatory settings here */ - /* The values here are just some examples */ - param->clock_rate = di->info.default_samples_per_sec; - param->channel_count = 1; - param->samples_per_frame = di->info.default_samples_per_sec * 20 / 1000; - param->bits_per_sample = 16; - - /* Set the device capabilities here */ - param->flags = 0; - - return PJ_SUCCESS; -} - -/* API: create stream */ -static pj_status_t null_factory_create_stream(pjmedia_aud_dev_factory *f, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_aud_strm) -{ - struct null_audio_factory *nf = (struct null_audio_factory*)f; - pj_pool_t *pool; - struct null_audio_stream *strm; - - /* Create and Initialize stream descriptor */ - pool = pj_pool_create(nf->pf, "null_audio-dev", 1000, 1000, NULL); - PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); - - strm = PJ_POOL_ZALLOC_T(pool, struct null_audio_stream); - pj_memcpy(&strm->param, param, sizeof(*param)); - strm->pool = pool; - strm->rec_cb = rec_cb; - strm->play_cb = play_cb; - strm->user_data = user_data; - - /* Create player stream here */ - if (param->dir & PJMEDIA_DIR_PLAYBACK) { - } - - /* Create capture stream here */ - if (param->dir & PJMEDIA_DIR_CAPTURE) { - } - - /* Apply the remaining settings */ - /* Below is an example if you want to set the output volume */ - if (param->flags & PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING) { - null_stream_set_cap(&strm->base, - PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING, - ¶m->output_vol); - } - - /* Done */ - strm->base.op = &stream_op; - *p_aud_strm = &strm->base; - - return PJ_SUCCESS; -} - -/* API: Get stream info. */ -static pj_status_t null_stream_get_param(pjmedia_aud_stream *s, - pjmedia_aud_param *pi) -{ - struct null_audio_stream *strm = (struct null_audio_stream*)s; - - PJ_ASSERT_RETURN(strm && pi, PJ_EINVAL); - - pj_memcpy(pi, &strm->param, sizeof(*pi)); - - /* Example: Update the volume setting */ - if (null_stream_get_cap(s, PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING, - &pi->output_vol) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING; - } - - return PJ_SUCCESS; -} - -/* API: get capability */ -static pj_status_t null_stream_get_cap(pjmedia_aud_stream *s, - pjmedia_aud_dev_cap cap, - void *pval) -{ - struct null_audio_stream *strm = (struct null_audio_stream*)s; - - PJ_UNUSED_ARG(strm); - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - /* Example: Get the output's volume setting */ - if (cap==PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING) - { - /* Output volume setting */ - *(unsigned*)pval = 0; // retrieve output device's volume here - return PJ_SUCCESS; - } else { - return PJMEDIA_EAUD_INVCAP; - } -} - -/* API: set capability */ -static pj_status_t null_stream_set_cap(pjmedia_aud_stream *s, - pjmedia_aud_dev_cap cap, - const void *pval) -{ - struct null_audio_stream *strm = (struct null_audio_stream*)s; - - PJ_UNUSED_ARG(strm); - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - /* Example */ - if (cap==PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING) - { - /* Output volume setting */ - // set output's volume level here - return PJ_SUCCESS; - } - - return PJMEDIA_EAUD_INVCAP; -} - -/* API: Start stream. */ -static pj_status_t null_stream_start(pjmedia_aud_stream *strm) -{ - struct null_audio_stream *stream = (struct null_audio_stream*)strm; - - PJ_UNUSED_ARG(stream); - - PJ_LOG(4, (THIS_FILE, "Starting null audio stream")); - - return PJ_SUCCESS; -} - -/* API: Stop stream. */ -static pj_status_t null_stream_stop(pjmedia_aud_stream *strm) -{ - struct null_audio_stream *stream = (struct null_audio_stream*)strm; - - PJ_UNUSED_ARG(stream); - - PJ_LOG(4, (THIS_FILE, "Stopping null audio stream")); - - return PJ_SUCCESS; -} - - -/* API: Destroy stream. */ -static pj_status_t null_stream_destroy(pjmedia_aud_stream *strm) -{ - struct null_audio_stream *stream = (struct null_audio_stream*)strm; - - PJ_ASSERT_RETURN(stream != NULL, PJ_EINVAL); - - null_stream_stop(strm); - - pj_pool_release(stream->pool); - - return PJ_SUCCESS; -} - -#endif /* PJMEDIA_AUDIO_DEV_HAS_NULL_AUDIO */ diff --git a/res/pjproject/pjmedia/src/pjmedia-audiodev/pa_dev.c b/res/pjproject/pjmedia/src/pjmedia-audiodev/pa_dev.c deleted file mode 100644 index bfaa5b5d91..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-audiodev/pa_dev.c +++ /dev/null @@ -1,1284 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - -#if PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO - -#include - -#define THIS_FILE "pa_dev.c" -#define DRIVER_NAME "PA" - -/* Enable call to PaUtil_SetDebugPrintFunction, but this is not always - * available across all PortAudio versions (?) - */ -/*#define USE_PA_DEBUG_PRINT */ - -struct pa_aud_factory -{ - pjmedia_aud_dev_factory base; - pj_pool_factory *pf; - pj_pool_t *pool; -}; - - -/* - * Sound stream descriptor. - * This struct may be used for both unidirectional or bidirectional sound - * streams. - */ -struct pa_aud_stream -{ - pjmedia_aud_stream base; - - pj_pool_t *pool; - pj_str_t name; - pjmedia_dir dir; - int play_id; - int rec_id; - int bytes_per_sample; - pj_uint32_t samples_per_sec; - unsigned samples_per_frame; - int channel_count; - - PaStream *rec_strm; - PaStream *play_strm; - - void *user_data; - pjmedia_aud_rec_cb rec_cb; - pjmedia_aud_play_cb play_cb; - - pj_timestamp play_timestamp; - pj_timestamp rec_timestamp; - pj_uint32_t underflow; - pj_uint32_t overflow; - - pj_bool_t quit_flag; - - pj_bool_t rec_thread_exited; - pj_bool_t rec_thread_initialized; - pj_thread_desc rec_thread_desc; - pj_thread_t *rec_thread; - - pj_bool_t play_thread_exited; - pj_bool_t play_thread_initialized; - pj_thread_desc play_thread_desc; - pj_thread_t *play_thread; - - /* Sometime the record callback does not return framesize as configured - * (e.g: in OSS), while this module must guarantee returning framesize - * as configured in the creation settings. In this case, we need a buffer - * for the recorded samples. - */ - pj_int16_t *rec_buf; - unsigned rec_buf_count; - - /* Sometime the player callback does not request framesize as configured - * (e.g: in Linux OSS) while sound device will always get samples from - * the other component as many as configured samples_per_frame. - */ - pj_int16_t *play_buf; - unsigned play_buf_count; -}; - - -/* Factory prototypes */ -static pj_status_t pa_init(pjmedia_aud_dev_factory *f); -static pj_status_t pa_destroy(pjmedia_aud_dev_factory *f); -static pj_status_t pa_refresh(pjmedia_aud_dev_factory *f); -static unsigned pa_get_dev_count(pjmedia_aud_dev_factory *f); -static pj_status_t pa_get_dev_info(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_dev_info *info); -static pj_status_t pa_default_param(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_param *param); -static pj_status_t pa_create_stream(pjmedia_aud_dev_factory *f, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_aud_strm); - -/* Stream prototypes */ -static pj_status_t strm_get_param(pjmedia_aud_stream *strm, - pjmedia_aud_param *param); -static pj_status_t strm_get_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - void *value); -static pj_status_t strm_set_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - const void *value); -static pj_status_t strm_start(pjmedia_aud_stream *strm); -static pj_status_t strm_stop(pjmedia_aud_stream *strm); -static pj_status_t strm_destroy(pjmedia_aud_stream *strm); - - -static pjmedia_aud_dev_factory_op pa_op = -{ - &pa_init, - &pa_destroy, - &pa_get_dev_count, - &pa_get_dev_info, - &pa_default_param, - &pa_create_stream, - &pa_refresh -}; - -static pjmedia_aud_stream_op pa_strm_op = -{ - &strm_get_param, - &strm_get_cap, - &strm_set_cap, - &strm_start, - &strm_stop, - &strm_destroy -}; - - - -static int PaRecorderCallback(const void *input, - void *output, - unsigned long frameCount, - const PaStreamCallbackTimeInfo* timeInfo, - PaStreamCallbackFlags statusFlags, - void *userData ) -{ - struct pa_aud_stream *stream = (struct pa_aud_stream*) userData; - pj_status_t status = 0; - unsigned nsamples; - - PJ_UNUSED_ARG(output); - PJ_UNUSED_ARG(timeInfo); - - if (stream->quit_flag) - goto on_break; - - if (input == NULL) - return paContinue; - - /* Known cases of callback's thread: - * - The thread may be changed in the middle of a session, e.g: in MacOS - * it happens when plugging/unplugging headphone. - * - The same thread may be reused in consecutive sessions. The first - * session will leave TLS set, but release the TLS data address, - * so the second session must re-register the callback's thread. - */ - if (stream->rec_thread_initialized == 0 || !pj_thread_is_registered()) - { - pj_bzero(stream->rec_thread_desc, sizeof(pj_thread_desc)); - status = pj_thread_register("pa_rec", stream->rec_thread_desc, - &stream->rec_thread); - stream->rec_thread_initialized = 1; - PJ_LOG(5,(THIS_FILE, "Recorder thread started")); - } - - if (statusFlags & paInputUnderflow) - ++stream->underflow; - if (statusFlags & paInputOverflow) - ++stream->overflow; - - /* Calculate number of samples we've got */ - nsamples = frameCount * stream->channel_count + stream->rec_buf_count; - - if (nsamples >= stream->samples_per_frame) - { - /* If buffer is not empty, combine the buffer with the just incoming - * samples, then call put_frame. - */ - if (stream->rec_buf_count) { - unsigned chunk_count = 0; - pjmedia_frame frame; - - chunk_count = stream->samples_per_frame - stream->rec_buf_count; - pjmedia_copy_samples(stream->rec_buf + stream->rec_buf_count, - (pj_int16_t*)input, chunk_count); - - frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - frame.buf = (void*) stream->rec_buf; - frame.size = stream->samples_per_frame * stream->bytes_per_sample; - frame.timestamp.u64 = stream->rec_timestamp.u64; - frame.bit_info = 0; - - status = (*stream->rec_cb)(stream->user_data, &frame); - - input = (pj_int16_t*) input + chunk_count; - nsamples -= stream->samples_per_frame; - stream->rec_buf_count = 0; - stream->rec_timestamp.u64 += stream->samples_per_frame / - stream->channel_count; - } - - /* Give all frames we have */ - while (nsamples >= stream->samples_per_frame && status == 0) { - pjmedia_frame frame; - - frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - frame.buf = (void*) input; - frame.size = stream->samples_per_frame * stream->bytes_per_sample; - frame.timestamp.u64 = stream->rec_timestamp.u64; - frame.bit_info = 0; - - status = (*stream->rec_cb)(stream->user_data, &frame); - - input = (pj_int16_t*) input + stream->samples_per_frame; - nsamples -= stream->samples_per_frame; - stream->rec_timestamp.u64 += stream->samples_per_frame / - stream->channel_count; - } - - /* Store the remaining samples into the buffer */ - if (nsamples && status == 0) { - stream->rec_buf_count = nsamples; - pjmedia_copy_samples(stream->rec_buf, (pj_int16_t*)input, - nsamples); - } - - } else { - /* Not enough samples, let's just store them in the buffer */ - pjmedia_copy_samples(stream->rec_buf + stream->rec_buf_count, - (pj_int16_t*)input, - frameCount * stream->channel_count); - stream->rec_buf_count += frameCount * stream->channel_count; - } - - if (status==0) - return paContinue; - -on_break: - stream->rec_thread_exited = 1; - return paAbort; -} - -static int PaPlayerCallback( const void *input, - void *output, - unsigned long frameCount, - const PaStreamCallbackTimeInfo* timeInfo, - PaStreamCallbackFlags statusFlags, - void *userData ) -{ - struct pa_aud_stream *stream = (struct pa_aud_stream*) userData; - pj_status_t status = 0; - unsigned nsamples_req = frameCount * stream->channel_count; - - PJ_UNUSED_ARG(input); - PJ_UNUSED_ARG(timeInfo); - - if (stream->quit_flag) - goto on_break; - - if (output == NULL) - return paContinue; - - /* Known cases of callback's thread: - * - The thread may be changed in the middle of a session, e.g: in MacOS - * it happens when plugging/unplugging headphone. - * - The same thread may be reused in consecutive sessions. The first - * session will leave TLS set, but release the TLS data address, - * so the second session must re-register the callback's thread. - */ - if (stream->play_thread_initialized == 0 || !pj_thread_is_registered()) - { - pj_bzero(stream->play_thread_desc, sizeof(pj_thread_desc)); - status = pj_thread_register("portaudio", stream->play_thread_desc, - &stream->play_thread); - stream->play_thread_initialized = 1; - PJ_LOG(5,(THIS_FILE, "Player thread started")); - } - - if (statusFlags & paOutputUnderflow) - ++stream->underflow; - if (statusFlags & paOutputOverflow) - ++stream->overflow; - - - /* Check if any buffered samples */ - if (stream->play_buf_count) { - /* samples buffered >= requested by sound device */ - if (stream->play_buf_count >= nsamples_req) { - pjmedia_copy_samples((pj_int16_t*)output, stream->play_buf, - nsamples_req); - stream->play_buf_count -= nsamples_req; - pjmedia_move_samples(stream->play_buf, - stream->play_buf + nsamples_req, - stream->play_buf_count); - nsamples_req = 0; - - return paContinue; - } - - /* samples buffered < requested by sound device */ - pjmedia_copy_samples((pj_int16_t*)output, stream->play_buf, - stream->play_buf_count); - nsamples_req -= stream->play_buf_count; - output = (pj_int16_t*)output + stream->play_buf_count; - stream->play_buf_count = 0; - } - - /* Fill output buffer as requested */ - while (nsamples_req && status == 0) { - if (nsamples_req >= stream->samples_per_frame) { - pjmedia_frame frame; - - frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - frame.buf = output; - frame.size = stream->samples_per_frame * stream->bytes_per_sample; - frame.timestamp.u64 = stream->play_timestamp.u64; - frame.bit_info = 0; - - status = (*stream->play_cb)(stream->user_data, &frame); - if (status != PJ_SUCCESS) - goto on_break; - - if (frame.type != PJMEDIA_FRAME_TYPE_AUDIO) - pj_bzero(frame.buf, frame.size); - - nsamples_req -= stream->samples_per_frame; - output = (pj_int16_t*)output + stream->samples_per_frame; - } else { - pjmedia_frame frame; - - frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - frame.buf = stream->play_buf; - frame.size = stream->samples_per_frame * stream->bytes_per_sample; - frame.timestamp.u64 = stream->play_timestamp.u64; - frame.bit_info = 0; - - status = (*stream->play_cb)(stream->user_data, &frame); - if (status != PJ_SUCCESS) - goto on_break; - - if (frame.type != PJMEDIA_FRAME_TYPE_AUDIO) - pj_bzero(frame.buf, frame.size); - - pjmedia_copy_samples((pj_int16_t*)output, stream->play_buf, - nsamples_req); - stream->play_buf_count = stream->samples_per_frame - nsamples_req; - pjmedia_move_samples(stream->play_buf, - stream->play_buf+nsamples_req, - stream->play_buf_count); - nsamples_req = 0; - } - - stream->play_timestamp.u64 += stream->samples_per_frame / - stream->channel_count; - } - - if (status==0) - return paContinue; - -on_break: - stream->play_thread_exited = 1; - return paAbort; -} - - -static int PaRecorderPlayerCallback( const void *input, - void *output, - unsigned long frameCount, - const PaStreamCallbackTimeInfo* timeInfo, - PaStreamCallbackFlags statusFlags, - void *userData ) -{ - int rc; - - rc = PaRecorderCallback(input, output, frameCount, timeInfo, - statusFlags, userData); - if (rc != paContinue) - return rc; - - rc = PaPlayerCallback(input, output, frameCount, timeInfo, - statusFlags, userData); - return rc; -} - -#ifdef USE_PA_DEBUG_PRINT -/* Logging callback from PA */ -static void pa_log_cb(const char *log) -{ - PJ_LOG(5,(THIS_FILE, "PA message: %s", log)); -} - -/* We should include pa_debugprint.h for this, but the header - * is not available publicly. :( - */ -typedef void (*PaUtilLogCallback ) (const char *log); -void PaUtil_SetDebugPrintFunction(PaUtilLogCallback cb); -#endif - - -/* - * Init PortAudio audio driver. - */ -pjmedia_aud_dev_factory* pjmedia_pa_factory(pj_pool_factory *pf) -{ - struct pa_aud_factory *f; - pj_pool_t *pool; - - pool = pj_pool_create(pf, "portaudio", 64, 64, NULL); - f = PJ_POOL_ZALLOC_T(pool, struct pa_aud_factory); - f->pf = pf; - f->pool = pool; - f->base.op = &pa_op; - - return &f->base; -} - - -/* API: Init factory */ -static pj_status_t pa_init(pjmedia_aud_dev_factory *f) -{ - int err; - - PJ_UNUSED_ARG(f); - -#ifdef USE_PA_DEBUG_PRINT - PaUtil_SetDebugPrintFunction(&pa_log_cb); -#endif - - err = Pa_Initialize(); - - PJ_LOG(4,(THIS_FILE, - "PortAudio sound library initialized, status=%d", err)); - PJ_LOG(4,(THIS_FILE, "PortAudio host api count=%d", - Pa_GetHostApiCount())); - PJ_LOG(4,(THIS_FILE, "Sound device count=%d", - pa_get_dev_count(f))); - - return err ? PJMEDIA_AUDIODEV_ERRNO_FROM_PORTAUDIO(err) : PJ_SUCCESS; -} - - -/* API: Destroy factory */ -static pj_status_t pa_destroy(pjmedia_aud_dev_factory *f) -{ - struct pa_aud_factory *pa = (struct pa_aud_factory*)f; - pj_pool_t *pool; - int err; - - PJ_LOG(4,(THIS_FILE, "PortAudio sound library shutting down..")); - - err = Pa_Terminate(); - - pool = pa->pool; - pa->pool = NULL; - pj_pool_release(pool); - - return err ? PJMEDIA_AUDIODEV_ERRNO_FROM_PORTAUDIO(err) : PJ_SUCCESS; -} - - -/* API: Refresh the device list. */ -static pj_status_t pa_refresh(pjmedia_aud_dev_factory *f) -{ - PJ_UNUSED_ARG(f); - return PJ_ENOTSUP; -} - - -/* API: Get device count. */ -static unsigned pa_get_dev_count(pjmedia_aud_dev_factory *f) -{ - int count = Pa_GetDeviceCount(); - PJ_UNUSED_ARG(f); - return count < 0 ? 0 : count; -} - - -/* API: Get device info. */ -static pj_status_t pa_get_dev_info(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_dev_info *info) -{ - const PaDeviceInfo *pa_info; - - PJ_UNUSED_ARG(f); - - pa_info = Pa_GetDeviceInfo(index); - if (!pa_info) - return PJMEDIA_EAUD_INVDEV; - - pj_bzero(info, sizeof(*info)); - strncpy(info->name, pa_info->name, sizeof(info->name)); - info->name[sizeof(info->name)-1] = '\0'; - info->input_count = pa_info->maxInputChannels; - info->output_count = pa_info->maxOutputChannels; - info->default_samples_per_sec = (unsigned)pa_info->defaultSampleRate; - strncpy(info->driver, DRIVER_NAME, sizeof(info->driver)); - info->driver[sizeof(info->driver)-1] = '\0'; - info->caps = PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY | - PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY; - - return PJ_SUCCESS; -} - - -/* API: fill in with default parameter. */ -static pj_status_t pa_default_param(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_param *param) -{ - pjmedia_aud_dev_info adi; - pj_status_t status; - - PJ_UNUSED_ARG(f); - - status = pa_get_dev_info(f, index, &adi); - if (status != PJ_SUCCESS) - return status; - - pj_bzero(param, sizeof(*param)); - if (adi.input_count && adi.output_count) { - param->dir = PJMEDIA_DIR_CAPTURE_PLAYBACK; - param->rec_id = index; - param->play_id = index; - } else if (adi.input_count) { - param->dir = PJMEDIA_DIR_CAPTURE; - param->rec_id = index; - param->play_id = PJMEDIA_AUD_INVALID_DEV; - } else if (adi.output_count) { - param->dir = PJMEDIA_DIR_PLAYBACK; - param->play_id = index; - param->rec_id = PJMEDIA_AUD_INVALID_DEV; - } else { - return PJMEDIA_EAUD_INVDEV; - } - - param->clock_rate = adi.default_samples_per_sec; - param->channel_count = 1; - param->samples_per_frame = adi.default_samples_per_sec * 20 / 1000; - param->bits_per_sample = 16; - param->flags = adi.caps; - param->input_latency_ms = PJMEDIA_SND_DEFAULT_REC_LATENCY; - param->output_latency_ms = PJMEDIA_SND_DEFAULT_PLAY_LATENCY; - - return PJ_SUCCESS; -} - - -/* Internal: Get PortAudio default input device ID */ -static int pa_get_default_input_dev(int channel_count) -{ - int i, count; - - /* Special for Windows - try to use the DirectSound implementation - * first since it provides better latency. - */ -#if PJMEDIA_PREFER_DIRECT_SOUND - if (Pa_HostApiTypeIdToHostApiIndex(paDirectSound) >= 0) { - const PaHostApiInfo *pHI; - int index = Pa_HostApiTypeIdToHostApiIndex(paDirectSound); - pHI = Pa_GetHostApiInfo(index); - if (pHI) { - const PaDeviceInfo *paDevInfo = NULL; - paDevInfo = Pa_GetDeviceInfo(pHI->defaultInputDevice); - if (paDevInfo && paDevInfo->maxInputChannels >= channel_count) - return pHI->defaultInputDevice; - } - } -#endif - - /* Enumerate the host api's for the default devices, and return - * the device with suitable channels. - */ - count = Pa_GetHostApiCount(); - for (i=0; i < count; ++i) { - const PaHostApiInfo *pHAInfo; - - pHAInfo = Pa_GetHostApiInfo(i); - if (!pHAInfo) - continue; - - if (pHAInfo->defaultInputDevice >= 0) { - const PaDeviceInfo *paDevInfo; - - paDevInfo = Pa_GetDeviceInfo(pHAInfo->defaultInputDevice); - - if (paDevInfo->maxInputChannels >= channel_count) - return pHAInfo->defaultInputDevice; - } - } - - /* If still no device is found, enumerate all devices */ - count = Pa_GetDeviceCount(); - for (i=0; imaxInputChannels >= channel_count) - return i; - } - - return -1; -} - -/* Internal: Get PortAudio default output device ID */ -static int pa_get_default_output_dev(int channel_count) -{ - int i, count; - - /* Special for Windows - try to use the DirectSound implementation - * first since it provides better latency. - */ -#if PJMEDIA_PREFER_DIRECT_SOUND - if (Pa_HostApiTypeIdToHostApiIndex(paDirectSound) >= 0) { - const PaHostApiInfo *pHI; - int index = Pa_HostApiTypeIdToHostApiIndex(paDirectSound); - pHI = Pa_GetHostApiInfo(index); - if (pHI) { - const PaDeviceInfo *paDevInfo = NULL; - paDevInfo = Pa_GetDeviceInfo(pHI->defaultOutputDevice); - if (paDevInfo && paDevInfo->maxOutputChannels >= channel_count) - return pHI->defaultOutputDevice; - } - } -#endif - - /* Enumerate the host api's for the default devices, and return - * the device with suitable channels. - */ - count = Pa_GetHostApiCount(); - for (i=0; i < count; ++i) { - const PaHostApiInfo *pHAInfo; - - pHAInfo = Pa_GetHostApiInfo(i); - if (!pHAInfo) - continue; - - if (pHAInfo->defaultOutputDevice >= 0) { - const PaDeviceInfo *paDevInfo; - - paDevInfo = Pa_GetDeviceInfo(pHAInfo->defaultOutputDevice); - - if (paDevInfo->maxOutputChannels >= channel_count) - return pHAInfo->defaultOutputDevice; - } - } - - /* If still no device is found, enumerate all devices */ - count = Pa_GetDeviceCount(); - for (i=0; imaxOutputChannels >= channel_count) - return i; - } - - return -1; -} - - -/* Internal: create capture/recorder stream */ -static pj_status_t create_rec_stream( struct pa_aud_factory *pa, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - void *user_data, - pjmedia_aud_stream **p_snd_strm) -{ - pj_pool_t *pool; - pjmedia_aud_dev_index rec_id; - struct pa_aud_stream *stream; - PaStreamParameters inputParam; - int sampleFormat; - const PaDeviceInfo *paDevInfo = NULL; - const PaHostApiInfo *paHostApiInfo = NULL; - unsigned paFrames, paRate, paLatency; - const PaStreamInfo *paSI; - PaError err; - - PJ_ASSERT_RETURN(rec_cb && p_snd_strm, PJ_EINVAL); - - rec_id = param->rec_id; - if (rec_id < 0) { - rec_id = pa_get_default_input_dev(param->channel_count); - if (rec_id < 0) { - /* No such device. */ - return PJMEDIA_EAUD_NODEFDEV; - } - } - - paDevInfo = Pa_GetDeviceInfo(rec_id); - if (!paDevInfo) { - /* Assumed it is "No such device" error. */ - return PJMEDIA_EAUD_INVDEV; - } - - if (param->bits_per_sample == 8) - sampleFormat = paUInt8; - else if (param->bits_per_sample == 16) - sampleFormat = paInt16; - else if (param->bits_per_sample == 32) - sampleFormat = paInt32; - else - return PJMEDIA_EAUD_SAMPFORMAT; - - pool = pj_pool_create(pa->pf, "recstrm", 1024, 1024, NULL); - if (!pool) - return PJ_ENOMEM; - - stream = PJ_POOL_ZALLOC_T(pool, struct pa_aud_stream); - stream->pool = pool; - pj_strdup2_with_null(pool, &stream->name, paDevInfo->name); - stream->dir = PJMEDIA_DIR_CAPTURE; - stream->rec_id = rec_id; - stream->play_id = -1; - stream->user_data = user_data; - stream->samples_per_sec = param->clock_rate; - stream->samples_per_frame = param->samples_per_frame; - stream->bytes_per_sample = param->bits_per_sample / 8; - stream->channel_count = param->channel_count; - stream->rec_cb = rec_cb; - - stream->rec_buf = (pj_int16_t*)pj_pool_alloc(pool, - stream->samples_per_frame * stream->bytes_per_sample); - stream->rec_buf_count = 0; - - pj_bzero(&inputParam, sizeof(inputParam)); - inputParam.device = rec_id; - inputParam.channelCount = param->channel_count; - inputParam.hostApiSpecificStreamInfo = NULL; - inputParam.sampleFormat = sampleFormat; - if (param->flags & PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY) - inputParam.suggestedLatency = param->input_latency_ms / 1000.0; - else - inputParam.suggestedLatency = PJMEDIA_SND_DEFAULT_REC_LATENCY / 1000.0; - - paHostApiInfo = Pa_GetHostApiInfo(paDevInfo->hostApi); - - /* Frames in PortAudio is number of samples in a single channel */ - paFrames = param->samples_per_frame / param->channel_count; - - err = Pa_OpenStream( &stream->rec_strm, &inputParam, NULL, - param->clock_rate, paFrames, - paClipOff, &PaRecorderCallback, stream ); - if (err != paNoError) { - pj_pool_release(pool); - return PJMEDIA_AUDIODEV_ERRNO_FROM_PORTAUDIO(err); - } - - paSI = Pa_GetStreamInfo(stream->rec_strm); - paRate = (unsigned)paSI->sampleRate; - paLatency = (unsigned)(paSI->inputLatency * 1000); - - PJ_LOG(5,(THIS_FILE, "Opened device %s (%s) for recording, sample " - "rate=%d, ch=%d, " - "bits=%d, %d samples per frame, latency=%d ms", - paDevInfo->name, paHostApiInfo->name, - paRate, param->channel_count, - param->bits_per_sample, param->samples_per_frame, - paLatency)); - - *p_snd_strm = &stream->base; - return PJ_SUCCESS; -} - - -/* Internal: create playback stream */ -static pj_status_t create_play_stream(struct pa_aud_factory *pa, - const pjmedia_aud_param *param, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_snd_strm) -{ - pj_pool_t *pool; - pjmedia_aud_dev_index play_id; - struct pa_aud_stream *stream; - PaStreamParameters outputParam; - int sampleFormat; - const PaDeviceInfo *paDevInfo = NULL; - const PaHostApiInfo *paHostApiInfo = NULL; - const PaStreamInfo *paSI; - unsigned paFrames, paRate, paLatency; - PaError err; - - PJ_ASSERT_RETURN(play_cb && p_snd_strm, PJ_EINVAL); - - play_id = param->play_id; - if (play_id < 0) { - play_id = pa_get_default_output_dev(param->channel_count); - if (play_id < 0) { - /* No such device. */ - return PJMEDIA_EAUD_NODEFDEV; - } - } - - paDevInfo = Pa_GetDeviceInfo(play_id); - if (!paDevInfo) { - /* Assumed it is "No such device" error. */ - return PJMEDIA_EAUD_INVDEV; - } - - if (param->bits_per_sample == 8) - sampleFormat = paUInt8; - else if (param->bits_per_sample == 16) - sampleFormat = paInt16; - else if (param->bits_per_sample == 32) - sampleFormat = paInt32; - else - return PJMEDIA_EAUD_SAMPFORMAT; - - pool = pj_pool_create(pa->pf, "playstrm", 1024, 1024, NULL); - if (!pool) - return PJ_ENOMEM; - - stream = PJ_POOL_ZALLOC_T(pool, struct pa_aud_stream); - stream->pool = pool; - pj_strdup2_with_null(pool, &stream->name, paDevInfo->name); - stream->dir = PJMEDIA_DIR_PLAYBACK; - stream->play_id = play_id; - stream->rec_id = -1; - stream->user_data = user_data; - stream->samples_per_sec = param->clock_rate; - stream->samples_per_frame = param->samples_per_frame; - stream->bytes_per_sample = param->bits_per_sample / 8; - stream->channel_count = param->channel_count; - stream->play_cb = play_cb; - - stream->play_buf = (pj_int16_t*)pj_pool_alloc(pool, - stream->samples_per_frame * - stream->bytes_per_sample); - stream->play_buf_count = 0; - - pj_bzero(&outputParam, sizeof(outputParam)); - outputParam.device = play_id; - outputParam.channelCount = param->channel_count; - outputParam.hostApiSpecificStreamInfo = NULL; - outputParam.sampleFormat = sampleFormat; - if (param->flags & PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY) - outputParam.suggestedLatency=param->output_latency_ms / 1000.0; - else - outputParam.suggestedLatency=PJMEDIA_SND_DEFAULT_PLAY_LATENCY/1000.0; - - paHostApiInfo = Pa_GetHostApiInfo(paDevInfo->hostApi); - - /* Frames in PortAudio is number of samples in a single channel */ - paFrames = param->samples_per_frame / param->channel_count; - - err = Pa_OpenStream( &stream->play_strm, NULL, &outputParam, - param->clock_rate, paFrames, - paClipOff, &PaPlayerCallback, stream ); - if (err != paNoError) { - pj_pool_release(pool); - return PJMEDIA_AUDIODEV_ERRNO_FROM_PORTAUDIO(err); - } - - paSI = Pa_GetStreamInfo(stream->play_strm); - paRate = (unsigned)(paSI->sampleRate); - paLatency = (unsigned)(paSI->outputLatency * 1000); - - PJ_LOG(5,(THIS_FILE, "Opened device %d: %s(%s) for playing, sample rate=%d" - ", ch=%d, " - "bits=%d, %d samples per frame, latency=%d ms", - play_id, paDevInfo->name, paHostApiInfo->name, - paRate, param->channel_count, - param->bits_per_sample, param->samples_per_frame, - paLatency)); - - *p_snd_strm = &stream->base; - - return PJ_SUCCESS; -} - - -/* Internal: Create both player and recorder stream */ -static pj_status_t create_bidir_stream(struct pa_aud_factory *pa, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_snd_strm) -{ - pj_pool_t *pool; - pjmedia_aud_dev_index rec_id, play_id; - struct pa_aud_stream *stream; - PaStream *paStream = NULL; - PaStreamParameters inputParam; - PaStreamParameters outputParam; - int sampleFormat; - const PaDeviceInfo *paRecDevInfo = NULL; - const PaDeviceInfo *paPlayDevInfo = NULL; - const PaHostApiInfo *paRecHostApiInfo = NULL; - const PaHostApiInfo *paPlayHostApiInfo = NULL; - const PaStreamInfo *paSI; - unsigned paFrames, paRate, paInputLatency, paOutputLatency; - PaError err; - - PJ_ASSERT_RETURN(play_cb && rec_cb && p_snd_strm, PJ_EINVAL); - - rec_id = param->rec_id; - if (rec_id < 0) { - rec_id = pa_get_default_input_dev(param->channel_count); - if (rec_id < 0) { - /* No such device. */ - return PJMEDIA_EAUD_NODEFDEV; - } - } - - paRecDevInfo = Pa_GetDeviceInfo(rec_id); - if (!paRecDevInfo) { - /* Assumed it is "No such device" error. */ - return PJMEDIA_EAUD_INVDEV; - } - - play_id = param->play_id; - if (play_id < 0) { - play_id = pa_get_default_output_dev(param->channel_count); - if (play_id < 0) { - /* No such device. */ - return PJMEDIA_EAUD_NODEFDEV; - } - } - - paPlayDevInfo = Pa_GetDeviceInfo(play_id); - if (!paPlayDevInfo) { - /* Assumed it is "No such device" error. */ - return PJMEDIA_EAUD_INVDEV; - } - - - if (param->bits_per_sample == 8) - sampleFormat = paUInt8; - else if (param->bits_per_sample == 16) - sampleFormat = paInt16; - else if (param->bits_per_sample == 32) - sampleFormat = paInt32; - else - return PJMEDIA_EAUD_SAMPFORMAT; - - pool = pj_pool_create(pa->pf, "sndstream", 1024, 1024, NULL); - if (!pool) - return PJ_ENOMEM; - - stream = PJ_POOL_ZALLOC_T(pool, struct pa_aud_stream); - stream->pool = pool; - pj_strdup2_with_null(pool, &stream->name, paRecDevInfo->name); - stream->dir = PJMEDIA_DIR_CAPTURE_PLAYBACK; - stream->play_id = play_id; - stream->rec_id = rec_id; - stream->user_data = user_data; - stream->samples_per_sec = param->clock_rate; - stream->samples_per_frame = param->samples_per_frame; - stream->bytes_per_sample = param->bits_per_sample / 8; - stream->channel_count = param->channel_count; - stream->rec_cb = rec_cb; - stream->play_cb = play_cb; - - stream->rec_buf = (pj_int16_t*)pj_pool_alloc(pool, - stream->samples_per_frame * stream->bytes_per_sample); - stream->rec_buf_count = 0; - - stream->play_buf = (pj_int16_t*)pj_pool_alloc(pool, - stream->samples_per_frame * stream->bytes_per_sample); - stream->play_buf_count = 0; - - pj_bzero(&inputParam, sizeof(inputParam)); - inputParam.device = rec_id; - inputParam.channelCount = param->channel_count; - inputParam.hostApiSpecificStreamInfo = NULL; - inputParam.sampleFormat = sampleFormat; - if (param->flags & PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY) - inputParam.suggestedLatency = param->input_latency_ms / 1000.0; - else - inputParam.suggestedLatency = PJMEDIA_SND_DEFAULT_REC_LATENCY / 1000.0; - - paRecHostApiInfo = Pa_GetHostApiInfo(paRecDevInfo->hostApi); - - pj_bzero(&outputParam, sizeof(outputParam)); - outputParam.device = play_id; - outputParam.channelCount = param->channel_count; - outputParam.hostApiSpecificStreamInfo = NULL; - outputParam.sampleFormat = sampleFormat; - if (param->flags & PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY) - outputParam.suggestedLatency=param->output_latency_ms / 1000.0; - else - outputParam.suggestedLatency=PJMEDIA_SND_DEFAULT_PLAY_LATENCY/1000.0; - - paPlayHostApiInfo = Pa_GetHostApiInfo(paPlayDevInfo->hostApi); - - /* Frames in PortAudio is number of samples in a single channel */ - paFrames = param->samples_per_frame / param->channel_count; - - /* If both input and output are on the same device, open a single stream - * for both input and output. - */ - if (rec_id == play_id) { - err = Pa_OpenStream( &paStream, &inputParam, &outputParam, - param->clock_rate, paFrames, - paClipOff, &PaRecorderPlayerCallback, stream ); - if (err == paNoError) { - /* Set play stream and record stream to the same stream */ - stream->play_strm = stream->rec_strm = paStream; - } - } else { - err = -1; - } - - /* .. otherwise if input and output are on the same device, OR if we're - * unable to open a bidirectional stream, then open two separate - * input and output stream. - */ - if (paStream == NULL) { - /* Open input stream */ - err = Pa_OpenStream( &stream->rec_strm, &inputParam, NULL, - param->clock_rate, paFrames, - paClipOff, &PaRecorderCallback, stream ); - if (err == paNoError) { - /* Open output stream */ - err = Pa_OpenStream( &stream->play_strm, NULL, &outputParam, - param->clock_rate, paFrames, - paClipOff, &PaPlayerCallback, stream ); - if (err != paNoError) - Pa_CloseStream(stream->rec_strm); - } - } - - if (err != paNoError) { - pj_pool_release(pool); - return PJMEDIA_AUDIODEV_ERRNO_FROM_PORTAUDIO(err); - } - - paSI = Pa_GetStreamInfo(stream->rec_strm); - paRate = (unsigned)(paSI->sampleRate); - paInputLatency = (unsigned)(paSI->inputLatency * 1000); - paSI = Pa_GetStreamInfo(stream->play_strm); - paOutputLatency = (unsigned)(paSI->outputLatency * 1000); - - PJ_LOG(5,(THIS_FILE, "Opened device %s(%s)/%s(%s) for recording and " - "playback, sample rate=%d, ch=%d, " - "bits=%d, %d samples per frame, input latency=%d ms, " - "output latency=%d ms", - paRecDevInfo->name, paRecHostApiInfo->name, - paPlayDevInfo->name, paPlayHostApiInfo->name, - paRate, param->channel_count, - param->bits_per_sample, param->samples_per_frame, - paInputLatency, paOutputLatency)); - - *p_snd_strm = &stream->base; - - return PJ_SUCCESS; -} - - -/* API: create stream */ -static pj_status_t pa_create_stream(pjmedia_aud_dev_factory *f, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_aud_strm) -{ - struct pa_aud_factory *pa = (struct pa_aud_factory*)f; - pj_status_t status; - - if (param->dir == PJMEDIA_DIR_CAPTURE) { - status = create_rec_stream(pa, param, rec_cb, user_data, p_aud_strm); - } else if (param->dir == PJMEDIA_DIR_PLAYBACK) { - status = create_play_stream(pa, param, play_cb, user_data, p_aud_strm); - } else if (param->dir == PJMEDIA_DIR_CAPTURE_PLAYBACK) { - status = create_bidir_stream(pa, param, rec_cb, play_cb, user_data, - p_aud_strm); - } else { - return PJ_EINVAL; - } - - if (status != PJ_SUCCESS) - return status; - - (*p_aud_strm)->op = &pa_strm_op; - - return PJ_SUCCESS; -} - - -/* API: Get stream parameters */ -static pj_status_t strm_get_param(pjmedia_aud_stream *s, - pjmedia_aud_param *pi) -{ - struct pa_aud_stream *strm = (struct pa_aud_stream*)s; - const PaStreamInfo *paPlaySI = NULL, *paRecSI = NULL; - - PJ_ASSERT_RETURN(strm && pi, PJ_EINVAL); - PJ_ASSERT_RETURN(strm->play_strm || strm->rec_strm, PJ_EINVALIDOP); - - if (strm->play_strm) { - paPlaySI = Pa_GetStreamInfo(strm->play_strm); - } - if (strm->rec_strm) { - paRecSI = Pa_GetStreamInfo(strm->rec_strm); - } - - pj_bzero(pi, sizeof(*pi)); - pi->dir = strm->dir; - pi->play_id = strm->play_id; - pi->rec_id = strm->rec_id; - pi->clock_rate = (unsigned)(paPlaySI ? paPlaySI->sampleRate : - paRecSI->sampleRate); - pi->channel_count = strm->channel_count; - pi->samples_per_frame = strm->samples_per_frame; - pi->bits_per_sample = strm->bytes_per_sample * 8; - if (paRecSI) { - pi->flags |= PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY; - pi->input_latency_ms = (unsigned)(paRecSI ? paRecSI->inputLatency * - 1000 : 0); - } - if (paPlaySI) { - pi->flags |= PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY; - pi->output_latency_ms = (unsigned)(paPlaySI? paPlaySI->outputLatency * - 1000 : 0); - } - - return PJ_SUCCESS; -} - - -/* API: get capability */ -static pj_status_t strm_get_cap(pjmedia_aud_stream *s, - pjmedia_aud_dev_cap cap, - void *pval) -{ - struct pa_aud_stream *strm = (struct pa_aud_stream*)s; - - PJ_ASSERT_RETURN(strm && pval, PJ_EINVAL); - - if (cap==PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY && strm->rec_strm) { - const PaStreamInfo *si = Pa_GetStreamInfo(strm->rec_strm); - if (!si) - return PJMEDIA_EAUD_SYSERR; - - *(unsigned*)pval = (unsigned)(si->inputLatency * 1000); - return PJ_SUCCESS; - } else if (cap==PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY && strm->play_strm) { - const PaStreamInfo *si = Pa_GetStreamInfo(strm->play_strm); - if (!si) - return PJMEDIA_EAUD_SYSERR; - - *(unsigned*)pval = (unsigned)(si->outputLatency * 1000); - return PJ_SUCCESS; - } else { - return PJMEDIA_EAUD_INVCAP; - } -} - - -/* API: set capability */ -static pj_status_t strm_set_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - const void *value) -{ - PJ_UNUSED_ARG(strm); - PJ_UNUSED_ARG(cap); - PJ_UNUSED_ARG(value); - - /* Nothing is supported */ - return PJMEDIA_EAUD_INVCAP; -} - - -/* API: start stream. */ -static pj_status_t strm_start(pjmedia_aud_stream *s) -{ - struct pa_aud_stream *stream = (struct pa_aud_stream*)s; - int err = 0; - - PJ_LOG(5,(THIS_FILE, "Starting %s stream..", stream->name.ptr)); - - if (stream->play_strm) - err = Pa_StartStream(stream->play_strm); - - if (err==0 && stream->rec_strm && stream->rec_strm != stream->play_strm) { - err = Pa_StartStream(stream->rec_strm); - if (err != 0) - Pa_StopStream(stream->play_strm); - } - - PJ_LOG(5,(THIS_FILE, "Done, status=%d", err)); - - return err ? PJMEDIA_AUDIODEV_ERRNO_FROM_PORTAUDIO(err) : PJ_SUCCESS; -} - - -/* API: stop stream. */ -static pj_status_t strm_stop(pjmedia_aud_stream *s) -{ - struct pa_aud_stream *stream = (struct pa_aud_stream*)s; - int i, err = 0; - - stream->quit_flag = 1; - for (i=0; !stream->rec_thread_exited && i<100; ++i) - pj_thread_sleep(10); - for (i=0; !stream->play_thread_exited && i<100; ++i) - pj_thread_sleep(10); - - pj_thread_sleep(1); - - PJ_LOG(5,(THIS_FILE, "Stopping stream..")); - - if (stream->play_strm) - err = Pa_StopStream(stream->play_strm); - - if (stream->rec_strm && stream->rec_strm != stream->play_strm) - err = Pa_StopStream(stream->rec_strm); - - stream->play_thread_initialized = 0; - stream->rec_thread_initialized = 0; - - PJ_LOG(5,(THIS_FILE, "Done, status=%d", err)); - - return err ? PJMEDIA_AUDIODEV_ERRNO_FROM_PORTAUDIO(err) : PJ_SUCCESS; -} - - -/* API: destroy stream. */ -static pj_status_t strm_destroy(pjmedia_aud_stream *s) -{ - struct pa_aud_stream *stream = (struct pa_aud_stream*)s; - int i, err = 0; - - stream->quit_flag = 1; - for (i=0; !stream->rec_thread_exited && i<100; ++i) { - pj_thread_sleep(1); - } - for (i=0; !stream->play_thread_exited && i<100; ++i) { - pj_thread_sleep(1); - } - - PJ_LOG(5,(THIS_FILE, "Closing %.*s: %lu underflow, %lu overflow", - (int)stream->name.slen, - stream->name.ptr, - stream->underflow, stream->overflow)); - - if (stream->play_strm) - err = Pa_CloseStream(stream->play_strm); - - if (stream->rec_strm && stream->rec_strm != stream->play_strm) - err = Pa_CloseStream(stream->rec_strm); - - pj_pool_release(stream->pool); - - return err ? PJMEDIA_AUDIODEV_ERRNO_FROM_PORTAUDIO(err) : PJ_SUCCESS; -} - -#endif /* PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO */ - diff --git a/res/pjproject/pjmedia/src/pjmedia-audiodev/s60_g729_bitstream.h b/res/pjproject/pjmedia/src/pjmedia-audiodev/s60_g729_bitstream.h deleted file mode 100644 index ae13bb1133..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-audiodev/s60_g729_bitstream.h +++ /dev/null @@ -1,171 +0,0 @@ -#ifndef __BITSTREAM_H_ -#define __BITSTREAM_H_ - -#define KPackedFrameLen 10 -#define KUnpackedFrameLen 22 - -// Below values are taken from the APS design document -const TUint8 KG729FullPayloadBits[] = { 8, 10, 8, 1, 13, 4, 7, 5, 13, 4, 7 }; -const TUint KNumFullFrameParams = 11; -const TUint8 KG729SIDPayloadBits[] = { 1, 5, 4, 5 }; -const TUint KNumSIDFrameParams = 4; - -/*! - @class TBitStream - - @discussion Provides compression from 16-bit-word-aligned G.729 audio frames - (used in S60 G.729 DSP codec) to 8-bit stream, and vice versa. - */ -class TBitStream - { -public: - /*! - @function TBitStream - - @discussion Constructor - */ - TBitStream():iDes(iData,KUnpackedFrameLen){} - /*! - @function CompressG729Frame - - @discussion Compress either a 22-byte G.729 full rate frame to 10 bytes - or a 8-byte G.729 Annex.B SID frame to 2 bytes. - @param aSrc Reference to the uncompressed source frame data - @param aIsSIDFrame True if the source is a SID frame - @result a reference to the compressed frame - */ - const TDesC8& CompressG729Frame( const TDesC8& aSrc, TBool aIsSIDFrame = EFalse ); - - /*! - @function ExpandG729Frame - - @discussion Expand a 10-byte G.729 full rate frame to 22 bytes - or a 2-byte G.729 Annex.B SID frame to 8(22) bytes. - @param aSrc Reference to the compressed source frame data - @param aIsSIDFrame True if the source is a SID frame - @result a reference to a descriptor representing the uncompressed frame. - Note that SID frames are zero-padded to 22 bytes as well. - */ - const TDesC8& ExpandG729Frame( const TDesC8& aSrc, TBool aIsSIDFrame = EFalse ); - -private: - void Compress( TUint8 aValue, TUint8 aNumOfBits ); - void Expand( const TUint8* aSrc, TInt aDstIdx, TUint8 aNumOfBits ); - -private: - TUint8 iData[KUnpackedFrameLen]; - TPtr8 iDes; - TInt iIdx; - TInt iBitOffset; - }; - - -const TDesC8& TBitStream::CompressG729Frame( const TDesC8& aSrc, TBool aIsSIDFrame ) - { - // reset data - iDes.FillZ(iDes.MaxLength()); - iIdx = iBitOffset = 0; - - TInt numParams = (aIsSIDFrame) ? KNumSIDFrameParams : KNumFullFrameParams; - const TUint8* p = const_cast(aSrc.Ptr()); - - for(TInt i = 0, pIdx = 0; i < numParams; i++, pIdx += 2) - { - TUint8 paramBits = (aIsSIDFrame) ? KG729SIDPayloadBits[i] : KG729FullPayloadBits[i]; - if(paramBits > 8) - { - Compress(p[pIdx+1], paramBits - 8); // msb - paramBits = 8; - } - Compress(p[pIdx], paramBits); // lsb - } - - if( iBitOffset ) - iIdx++; - - iDes.SetLength(iIdx); - return iDes; - } - - -const TDesC8& TBitStream::ExpandG729Frame( const TDesC8& aSrc, TBool aIsSIDFrame ) - { - // reset data - iDes.FillZ(iDes.MaxLength()); - iIdx = iBitOffset = 0; - - TInt numParams = (aIsSIDFrame) ? KNumSIDFrameParams : KNumFullFrameParams; - const TUint8* p = const_cast(aSrc.Ptr()); - - for(TInt i = 0, dIdx = 0; i < numParams; i++, dIdx += 2) - { - TUint8 paramBits = (aIsSIDFrame) ? KG729SIDPayloadBits[i] : KG729FullPayloadBits[i]; - if(paramBits > 8) - { - Expand(p, dIdx+1, paramBits - 8); // msb - paramBits = 8; - } - Expand(p, dIdx, paramBits); // lsb - } - - iDes.SetLength(KUnpackedFrameLen); - return iDes; - } - - -void TBitStream::Compress( TUint8 aValue, TUint8 aNumOfBits ) - { - // clear bits that will be discarded - aValue &= (0xff >> (8 - aNumOfBits)); - - // calculate required bitwise left shift - TInt shl = 8 - (iBitOffset + aNumOfBits); - - if (shl == 0) // no shift required - { - iData[iIdx++] |= aValue; - iBitOffset = 0; - } - else if (shl > 0) // bits fit into current byte - { - iData[iIdx] |= (aValue << shl); - iBitOffset += aNumOfBits; - } - else - { - iBitOffset = -shl; - iData[iIdx] |= (aValue >> iBitOffset); // right shift - iData[++iIdx] |= (aValue << (8-iBitOffset)); // push remaining bits to next byte - } - } - - -void TBitStream::Expand( const TUint8* aSrc, TInt aDstIdx, TUint8 aNumOfBits ) - { - TUint8 aValue = aSrc[iIdx] & (0xff >> iBitOffset); - - // calculate required bitwise right shift - TInt shr = 8 - (iBitOffset + aNumOfBits); - - if (shr == 0) // no shift required - { - iData[aDstIdx] = aValue; - iIdx++; - iBitOffset = 0; - } - else if (shr > 0) // right shift - { - iData[aDstIdx] = (aValue >> shr); - iBitOffset += aNumOfBits; - } - else // shift left and take remaining bits from the next src byte - { - iBitOffset = -shr; - iData[aDstIdx] = aValue << iBitOffset; - iData[aDstIdx] |= aSrc[++iIdx] >> (8 - iBitOffset); - } - } - -#endif // __BITSTREAM_H_ - -// eof diff --git a/res/pjproject/pjmedia/src/pjmedia-audiodev/symb_aps_dev.cpp b/res/pjproject/pjmedia/src/pjmedia-audiodev/symb_aps_dev.cpp deleted file mode 100644 index 309aaf5957..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-audiodev/symb_aps_dev.cpp +++ /dev/null @@ -1,1929 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#if PJMEDIA_AUDIO_DEV_HAS_SYMB_APS - -#include -#include -#include -#include - -/* Pack/unpack G.729 frame of S60 DSP codec, taken from: - * http://wiki.forum.nokia.com/index.php/TSS000776_-_Payload_conversion_for_G.729_audio_format - */ -#include "s60_g729_bitstream.h" - - -#define THIS_FILE "symb_aps_dev.c" -#define BITS_PER_SAMPLE 16 - - -#if 1 -# define TRACE_(st) PJ_LOG(3, st) -#else -# define TRACE_(st) -#endif - - -/* App UID to open global APS queues to communicate with the APS server. */ -extern TPtrC APP_UID; - -/* APS G.711 frame length */ -static pj_uint8_t aps_g711_frame_len; - - -/* APS factory */ -struct aps_factory -{ - pjmedia_aud_dev_factory base; - pj_pool_t *pool; - pj_pool_factory *pf; - pjmedia_aud_dev_info dev_info; -}; - - -/* Forward declaration of CPjAudioEngine */ -class CPjAudioEngine; - - -/* APS stream. */ -struct aps_stream -{ - // Base - pjmedia_aud_stream base; /**< Base class. */ - - // Pool - pj_pool_t *pool; /**< Memory pool. */ - - // Common settings. - pjmedia_aud_param param; /**< Stream param. */ - pjmedia_aud_rec_cb rec_cb; /**< Record callback. */ - pjmedia_aud_play_cb play_cb; /**< Playback callback. */ - void *user_data; /**< Application data. */ - - // Audio engine - CPjAudioEngine *engine; /**< Internal engine. */ - - pj_timestamp ts_play; /**< Playback timestamp.*/ - pj_timestamp ts_rec; /**< Record timestamp. */ - - pj_int16_t *play_buf; /**< Playback buffer. */ - pj_uint16_t play_buf_len; /**< Playback buffer length. */ - pj_uint16_t play_buf_start; /**< Playback buffer start index. */ - pj_int16_t *rec_buf; /**< Record buffer. */ - pj_uint16_t rec_buf_len; /**< Record buffer length. */ - void *strm_data; /**< Stream data. */ - - /* Resampling is needed, in case audio device is opened with clock rate - * other than 8kHz (only for PCM format). - */ - pjmedia_resample *play_resample; /**< Resampler for playback. */ - pjmedia_resample *rec_resample; /**< Resampler for recording */ - pj_uint16_t resample_factor; /**< Resample factor, requested - clock rate / 8000 */ - - /* When stream is working in PCM format, where the samples may need to be - * resampled from/to different clock rate and/or channel count, PCM buffer - * is needed to perform such resampling operations. - */ - pj_int16_t *pcm_buf; /**< PCM buffer. */ -}; - - -/* Prototypes */ -static pj_status_t factory_init(pjmedia_aud_dev_factory *f); -static pj_status_t factory_destroy(pjmedia_aud_dev_factory *f); -static pj_status_t factory_refresh(pjmedia_aud_dev_factory *f); -static unsigned factory_get_dev_count(pjmedia_aud_dev_factory *f); -static pj_status_t factory_get_dev_info(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_dev_info *info); -static pj_status_t factory_default_param(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_param *param); -static pj_status_t factory_create_stream(pjmedia_aud_dev_factory *f, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_aud_strm); - -static pj_status_t stream_get_param(pjmedia_aud_stream *strm, - pjmedia_aud_param *param); -static pj_status_t stream_get_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - void *value); -static pj_status_t stream_set_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - const void *value); -static pj_status_t stream_start(pjmedia_aud_stream *strm); -static pj_status_t stream_stop(pjmedia_aud_stream *strm); -static pj_status_t stream_destroy(pjmedia_aud_stream *strm); - - -/* Operations */ -static pjmedia_aud_dev_factory_op factory_op = -{ - &factory_init, - &factory_destroy, - &factory_get_dev_count, - &factory_get_dev_info, - &factory_default_param, - &factory_create_stream, - &factory_refresh -}; - -static pjmedia_aud_stream_op stream_op = -{ - &stream_get_param, - &stream_get_cap, - &stream_set_cap, - &stream_start, - &stream_stop, - &stream_destroy -}; - - -/**************************************************************************** - * Internal APS Engine - */ - -/* - * Utility: print sound device error - */ -static void snd_perror(const char *title, TInt rc) -{ - PJ_LOG(1,(THIS_FILE, "%s (error code=%d)", title, rc)); -} - -/* - * Utility: wait for specified time. - */ -static void snd_wait(unsigned ms) -{ - TTime start, now; - - start.UniversalTime(); - do { - pj_symbianos_poll(-1, ms); - now.UniversalTime(); - } while (now.MicroSecondsFrom(start) < ms * 1000); -} - -typedef void(*PjAudioCallback)(TAPSCommBuffer &buf, void *user_data); - -/** - * Abstract class for handler of callbacks from APS client. - */ -class MQueueHandlerObserver -{ -public: - MQueueHandlerObserver(PjAudioCallback RecCb_, PjAudioCallback PlayCb_, - void *UserData_) - : RecCb(RecCb_), PlayCb(PlayCb_), UserData(UserData_) - {} - - virtual void InputStreamInitialized(const TInt aStatus) = 0; - virtual void OutputStreamInitialized(const TInt aStatus) = 0; - virtual void NotifyError(const TInt aError) = 0; - -public: - PjAudioCallback RecCb; - PjAudioCallback PlayCb; - void *UserData; -}; - -/** - * Handler for communication and data queue. - */ -class CQueueHandler : public CActive -{ -public: - // Types of queue handler - enum TQueueHandlerType { - ERecordCommQueue, - EPlayCommQueue, - ERecordQueue, - EPlayQueue - }; - - // The order corresponds to the APS Server state, do not change! - enum TState { - EAPSPlayerInitialize = 1, - EAPSRecorderInitialize = 2, - EAPSPlayData = 3, - EAPSRecordData = 4, - EAPSPlayerInitComplete = 5, - EAPSRecorderInitComplete = 6 - }; - - static CQueueHandler* NewL(MQueueHandlerObserver* aObserver, - RMsgQueue* aQ, - RMsgQueue* aWriteQ, - TQueueHandlerType aType) - { - CQueueHandler* self = new (ELeave) CQueueHandler(aObserver, aQ, aWriteQ, - aType); - CleanupStack::PushL(self); - self->ConstructL(); - CleanupStack::Pop(self); - return self; - } - - // Destructor - ~CQueueHandler() { Cancel(); } - - // Start listening queue event - void Start() { - iQ->NotifyDataAvailable(iStatus); - SetActive(); - } - -private: - // Constructor - CQueueHandler(MQueueHandlerObserver* aObserver, - RMsgQueue* aQ, - RMsgQueue* aWriteQ, - TQueueHandlerType aType) - : CActive(CActive::EPriorityHigh), - iQ(aQ), iWriteQ(aWriteQ), iObserver(aObserver), iType(aType) - { - CActiveScheduler::Add(this); - - // use lower priority for comm queues - if ((iType == ERecordCommQueue) || (iType == EPlayCommQueue)) - SetPriority(CActive::EPriorityStandard); - } - - // Second phase constructor - void ConstructL() {} - - // Inherited from CActive - void DoCancel() { iQ->CancelDataAvailable(); } - - void RunL() { - if (iStatus != KErrNone) { - iObserver->NotifyError(iStatus.Int()); - return; - } - - TAPSCommBuffer buffer; - TInt ret = iQ->Receive(buffer); - - if (ret != KErrNone) { - iObserver->NotifyError(ret); - return; - } - - switch (iType) { - case ERecordQueue: - if (buffer.iCommand == EAPSRecordData) { - iObserver->RecCb(buffer, iObserver->UserData); - } else { - iObserver->NotifyError(buffer.iStatus); - } - break; - - // Callbacks from the APS main thread - case EPlayCommQueue: - switch (buffer.iCommand) { - case EAPSPlayData: - if (buffer.iStatus == KErrUnderflow) { - iObserver->PlayCb(buffer, iObserver->UserData); - iWriteQ->Send(buffer); - } - break; - case EAPSPlayerInitialize: - iObserver->NotifyError(buffer.iStatus); - break; - case EAPSPlayerInitComplete: - iObserver->OutputStreamInitialized(buffer.iStatus); - break; - case EAPSRecorderInitComplete: - iObserver->InputStreamInitialized(buffer.iStatus); - break; - default: - iObserver->NotifyError(buffer.iStatus); - break; - } - break; - - // Callbacks from the APS recorder thread - case ERecordCommQueue: - switch (buffer.iCommand) { - // The APS recorder thread will only report errors - // through this handler. All other callbacks will be - // sent from the APS main thread through EPlayCommQueue - case EAPSRecorderInitialize: - case EAPSRecordData: - default: - iObserver->NotifyError(buffer.iStatus); - break; - } - break; - - default: - break; - } - - // issue next request - iQ->NotifyDataAvailable(iStatus); - SetActive(); - } - - TInt RunError(TInt) { - return 0; - } - - // Data - RMsgQueue *iQ; // (not owned) - RMsgQueue *iWriteQ; // (not owned) - MQueueHandlerObserver *iObserver; // (not owned) - TQueueHandlerType iType; -}; - -/* - * Audio setting for CPjAudioEngine. - */ -class CPjAudioSetting -{ -public: - TFourCC fourcc; - TAPSCodecMode mode; - TBool plc; - TBool vad; - TBool cng; - TBool loudspk; -}; - -/* - * Implementation: Symbian Input & Output Stream. - */ -class CPjAudioEngine : public CBase, MQueueHandlerObserver -{ -public: - enum State - { - STATE_NULL, - STATE_INITIALIZING, - STATE_READY, - STATE_STREAMING, - STATE_PENDING_STOP - }; - - ~CPjAudioEngine(); - - static CPjAudioEngine *NewL(struct aps_stream *parent_strm, - PjAudioCallback rec_cb, - PjAudioCallback play_cb, - void *user_data, - const CPjAudioSetting &setting); - - TInt StartL(); - void Stop(); - - TInt ActivateSpeaker(TBool active); - - TInt SetVolume(TInt vol) { return iSession.SetVolume(vol); } - TInt GetVolume() { return iSession.Volume(); } - TInt GetMaxVolume() { return iSession.MaxVolume(); } - - TInt SetGain(TInt gain) { return iSession.SetGain(gain); } - TInt GetGain() { return iSession.Gain(); } - TInt GetMaxGain() { return iSession.MaxGain(); } - -private: - CPjAudioEngine(struct aps_stream *parent_strm, - PjAudioCallback rec_cb, - PjAudioCallback play_cb, - void *user_data, - const CPjAudioSetting &setting); - void ConstructL(); - - TInt InitPlayL(); - TInt InitRecL(); - TInt StartStreamL(); - void Deinit(); - - // Inherited from MQueueHandlerObserver - virtual void InputStreamInitialized(const TInt aStatus); - virtual void OutputStreamInitialized(const TInt aStatus); - virtual void NotifyError(const TInt aError); - - TBool session_opened; - State state_; - struct aps_stream *parentStrm_; - CPjAudioSetting setting_; - - RAPSSession iSession; - TAPSInitSettings iPlaySettings; - TAPSInitSettings iRecSettings; - - RMsgQueue iReadQ; - RMsgQueue iReadCommQ; - TBool readq_opened; - RMsgQueue iWriteQ; - RMsgQueue iWriteCommQ; - TBool writeq_opened; - - CQueueHandler *iPlayCommHandler; - CQueueHandler *iRecCommHandler; - CQueueHandler *iRecHandler; -}; - - -CPjAudioEngine* CPjAudioEngine::NewL(struct aps_stream *parent_strm, - PjAudioCallback rec_cb, - PjAudioCallback play_cb, - void *user_data, - const CPjAudioSetting &setting) -{ - CPjAudioEngine* self = new (ELeave) CPjAudioEngine(parent_strm, - rec_cb, play_cb, - user_data, - setting); - CleanupStack::PushL(self); - self->ConstructL(); - CleanupStack::Pop(self); - return self; -} - -CPjAudioEngine::CPjAudioEngine(struct aps_stream *parent_strm, - PjAudioCallback rec_cb, - PjAudioCallback play_cb, - void *user_data, - const CPjAudioSetting &setting) - : MQueueHandlerObserver(rec_cb, play_cb, user_data), - session_opened(EFalse), - state_(STATE_NULL), - parentStrm_(parent_strm), - setting_(setting), - readq_opened(EFalse), - writeq_opened(EFalse), - iPlayCommHandler(0), - iRecCommHandler(0), - iRecHandler(0) -{ -} - -CPjAudioEngine::~CPjAudioEngine() -{ - Deinit(); - - TRACE_((THIS_FILE, "Sound device destroyed")); -} - -TInt CPjAudioEngine::InitPlayL() -{ - TInt err = iSession.InitializePlayer(iPlaySettings); - if (err != KErrNone) { - Deinit(); - snd_perror("Failed to initialize player", err); - return err; - } - - // Open message queues for the output stream - TBuf<128> buf2 = iPlaySettings.iGlobal; - buf2.Append(_L("PlayQueue")); - TBuf<128> buf3 = iPlaySettings.iGlobal; - buf3.Append(_L("PlayCommQueue")); - - while (iWriteQ.OpenGlobal(buf2)) - User::After(10); - while (iWriteCommQ.OpenGlobal(buf3)) - User::After(10); - - writeq_opened = ETrue; - - // Construct message queue handler - iPlayCommHandler = CQueueHandler::NewL(this, &iWriteCommQ, &iWriteQ, - CQueueHandler::EPlayCommQueue); - - // Start observing APS callbacks on output stream message queue - iPlayCommHandler->Start(); - - return 0; -} - -TInt CPjAudioEngine::InitRecL() -{ - // Initialize input stream device - TInt err = iSession.InitializeRecorder(iRecSettings); - if (err != KErrNone && err != KErrAlreadyExists) { - Deinit(); - snd_perror("Failed to initialize recorder", err); - return err; - } - - TBuf<128> buf1 = iRecSettings.iGlobal; - buf1.Append(_L("RecordQueue")); - TBuf<128> buf4 = iRecSettings.iGlobal; - buf4.Append(_L("RecordCommQueue")); - - // Must wait for APS thread to finish creating message queues - // before we can open and use them. - while (iReadQ.OpenGlobal(buf1)) - User::After(10); - while (iReadCommQ.OpenGlobal(buf4)) - User::After(10); - - readq_opened = ETrue; - - // Construct message queue handlers - iRecHandler = CQueueHandler::NewL(this, &iReadQ, NULL, - CQueueHandler::ERecordQueue); - iRecCommHandler = CQueueHandler::NewL(this, &iReadCommQ, NULL, - CQueueHandler::ERecordCommQueue); - - // Start observing APS callbacks from on input stream message queue - iRecHandler->Start(); - iRecCommHandler->Start(); - - return 0; -} - -TInt CPjAudioEngine::StartL() -{ - if (state_ == STATE_READY) - return StartStreamL(); - - PJ_ASSERT_RETURN(state_ == STATE_NULL, PJMEDIA_EAUD_INVOP); - - if (!session_opened) { - TInt err = iSession.Connect(); - if (err != KErrNone) - return err; - session_opened = ETrue; - } - - // Even if only capturer are opened, playback thread of APS Server need - // to be run(?). Since some messages will be delivered via play comm queue. - state_ = STATE_INITIALIZING; - - return InitPlayL(); -} - -void CPjAudioEngine::Stop() -{ - if (state_ == STATE_STREAMING) { - iSession.Stop(); - state_ = STATE_READY; - TRACE_((THIS_FILE, "Sound device stopped")); - } else if (state_ == STATE_INITIALIZING) { - // Initialization is on progress, so let's set the state to - // STATE_PENDING_STOP to prevent it starting the stream. - state_ = STATE_PENDING_STOP; - - // Then wait until initialization done. - while (state_ != STATE_READY && state_ != STATE_NULL) - pj_symbianos_poll(-1, 100); - } -} - -void CPjAudioEngine::ConstructL() -{ - // Recorder settings - iRecSettings.iFourCC = setting_.fourcc; - iRecSettings.iGlobal = APP_UID; - iRecSettings.iPriority = TMdaPriority(100); - iRecSettings.iPreference = TMdaPriorityPreference(0x05210001); - iRecSettings.iSettings.iChannels = EMMFMono; - iRecSettings.iSettings.iSampleRate = EMMFSampleRate8000Hz; - - // Player settings - iPlaySettings.iFourCC = setting_.fourcc; - iPlaySettings.iGlobal = APP_UID; - iPlaySettings.iPriority = TMdaPriority(100); - iPlaySettings.iPreference = TMdaPriorityPreference(0x05220001); - iPlaySettings.iSettings.iChannels = EMMFMono; - iPlaySettings.iSettings.iSampleRate = EMMFSampleRate8000Hz; - iPlaySettings.iSettings.iVolume = 0; - - User::LeaveIfError(iSession.Connect()); - session_opened = ETrue; -} - -TInt CPjAudioEngine::StartStreamL() -{ - pj_assert(state_==STATE_READY || state_==STATE_INITIALIZING); - - iSession.SetCng(setting_.cng); - iSession.SetVadMode(setting_.vad); - iSession.SetPlc(setting_.plc); - iSession.SetEncoderMode(setting_.mode); - iSession.SetDecoderMode(setting_.mode); - iSession.ActivateLoudspeaker(setting_.loudspk); - - // Not only capture - if (parentStrm_->param.dir != PJMEDIA_DIR_CAPTURE) { - iSession.Write(); - TRACE_((THIS_FILE, "Player started")); - } - - // Not only playback - if (parentStrm_->param.dir != PJMEDIA_DIR_PLAYBACK) { - iSession.Read(); - TRACE_((THIS_FILE, "Recorder started")); - } - - state_ = STATE_STREAMING; - - return 0; -} - -void CPjAudioEngine::Deinit() -{ - Stop(); - - delete iRecHandler; - delete iPlayCommHandler; - delete iRecCommHandler; - - if (session_opened) { - enum { APS_CLOSE_WAIT_TIME = 200 }; /* in msecs */ - - // On some devices, immediate closing after stopping may cause - // APS server panic KERN-EXEC 0, so let's wait for sometime before - // closing the client session. - snd_wait(APS_CLOSE_WAIT_TIME); - - iSession.Close(); - session_opened = EFalse; - } - - if (readq_opened) { - iReadQ.Close(); - iReadCommQ.Close(); - readq_opened = EFalse; - } - - if (writeq_opened) { - iWriteQ.Close(); - iWriteCommQ.Close(); - writeq_opened = EFalse; - } - - state_ = STATE_NULL; -} - -void CPjAudioEngine::InputStreamInitialized(const TInt aStatus) -{ - TRACE_((THIS_FILE, "Recorder initialized, err=%d", aStatus)); - - if (aStatus == KErrNone) { - // Don't start the stream since Stop() has been requested. - if (state_ != STATE_PENDING_STOP) { - StartStreamL(); - } else { - state_ = STATE_READY; - } - } else { - Deinit(); - } -} - -void CPjAudioEngine::OutputStreamInitialized(const TInt aStatus) -{ - TRACE_((THIS_FILE, "Player initialized, err=%d", aStatus)); - - if (aStatus == KErrNone) { - if (parentStrm_->param.dir == PJMEDIA_DIR_PLAYBACK) { - // Don't start the stream since Stop() has been requested. - if (state_ != STATE_PENDING_STOP) { - StartStreamL(); - } else { - state_ = STATE_READY; - } - } else - InitRecL(); - } else { - Deinit(); - } -} - -void CPjAudioEngine::NotifyError(const TInt aError) -{ - Deinit(); - snd_perror("Error from CQueueHandler", aError); -} - -TInt CPjAudioEngine::ActivateSpeaker(TBool active) -{ - if (state_ == STATE_READY || state_ == STATE_STREAMING) { - iSession.ActivateLoudspeaker(active); - TRACE_((THIS_FILE, "Loudspeaker turned %s", (active? "on":"off"))); - return KErrNone; - } - return KErrNotReady; -} - -/**************************************************************************** - * Internal APS callbacks for PCM format - */ - -static void RecCbPcm(TAPSCommBuffer &buf, void *user_data) -{ - struct aps_stream *strm = (struct aps_stream*) user_data; - - /* Buffer has to contain normal speech. */ - pj_assert(buf.iBuffer[0] == 1 && buf.iBuffer[1] == 0); - - /* Detect the recorder G.711 frame size, player frame size will follow - * this recorder frame size. - */ - if (aps_g711_frame_len == 0) { - aps_g711_frame_len = buf.iBuffer.Length() < 160? 80 : 160; - TRACE_((THIS_FILE, "Detected APS G.711 frame size = %u samples", - aps_g711_frame_len)); - } - - /* Decode APS buffer (coded in G.711) and put the PCM result into rec_buf. - * Whenever rec_buf is full, call parent stream callback. - */ - unsigned samples_processed = 0; - - while (samples_processed < aps_g711_frame_len) { - unsigned samples_to_process; - unsigned samples_req; - - samples_to_process = aps_g711_frame_len - samples_processed; - samples_req = (strm->param.samples_per_frame / - strm->param.channel_count / - strm->resample_factor) - - strm->rec_buf_len; - if (samples_to_process > samples_req) - samples_to_process = samples_req; - - pjmedia_ulaw_decode(&strm->rec_buf[strm->rec_buf_len], - buf.iBuffer.Ptr() + 2 + samples_processed, - samples_to_process); - - strm->rec_buf_len += samples_to_process; - samples_processed += samples_to_process; - - /* Buffer is full, time to call parent callback */ - if (strm->rec_buf_len == strm->param.samples_per_frame / - strm->param.channel_count / - strm->resample_factor) - { - pjmedia_frame f; - - /* Need to resample clock rate? */ - if (strm->rec_resample) { - unsigned resampled = 0; - - while (resampled < strm->rec_buf_len) { - pjmedia_resample_run(strm->rec_resample, - &strm->rec_buf[resampled], - strm->pcm_buf + - resampled * strm->resample_factor); - resampled += 80; - } - f.buf = strm->pcm_buf; - } else { - f.buf = strm->rec_buf; - } - - /* Need to convert channel count? */ - if (strm->param.channel_count != 1) { - pjmedia_convert_channel_1ton((pj_int16_t*)f.buf, - (pj_int16_t*)f.buf, - strm->param.channel_count, - strm->param.samples_per_frame / - strm->param.channel_count, - 0); - } - - /* Call parent callback */ - f.type = PJMEDIA_FRAME_TYPE_AUDIO; - f.size = strm->param.samples_per_frame << 1; - strm->rec_cb(strm->user_data, &f); - strm->rec_buf_len = 0; - } - } -} - -static void PlayCbPcm(TAPSCommBuffer &buf, void *user_data) -{ - struct aps_stream *strm = (struct aps_stream*) user_data; - unsigned g711_frame_len = aps_g711_frame_len; - - /* Init buffer attributes and header. */ - buf.iCommand = CQueueHandler::EAPSPlayData; - buf.iStatus = 0; - buf.iBuffer.Zero(); - buf.iBuffer.Append(1); - buf.iBuffer.Append(0); - - /* Assume frame size is 10ms if frame size hasn't been known. */ - if (g711_frame_len == 0) - g711_frame_len = 80; - - /* Call parent stream callback to get PCM samples to play, - * encode the PCM samples into G.711 and put it into APS buffer. - */ - unsigned samples_processed = 0; - - while (samples_processed < g711_frame_len) { - /* Need more samples to play, time to call parent callback */ - if (strm->play_buf_len == 0) { - pjmedia_frame f; - unsigned samples_got; - - f.size = strm->param.samples_per_frame << 1; - if (strm->play_resample || strm->param.channel_count != 1) - f.buf = strm->pcm_buf; - else - f.buf = strm->play_buf; - - /* Call parent callback */ - strm->play_cb(strm->user_data, &f); - if (f.type != PJMEDIA_FRAME_TYPE_AUDIO) { - pjmedia_zero_samples((pj_int16_t*)f.buf, - strm->param.samples_per_frame); - } - - samples_got = strm->param.samples_per_frame / - strm->param.channel_count / - strm->resample_factor; - - /* Need to convert channel count? */ - if (strm->param.channel_count != 1) { - pjmedia_convert_channel_nto1((pj_int16_t*)f.buf, - (pj_int16_t*)f.buf, - strm->param.channel_count, - strm->param.samples_per_frame, - PJ_FALSE, - 0); - } - - /* Need to resample clock rate? */ - if (strm->play_resample) { - unsigned resampled = 0; - - while (resampled < samples_got) - { - pjmedia_resample_run(strm->play_resample, - strm->pcm_buf + - resampled * strm->resample_factor, - &strm->play_buf[resampled]); - resampled += 80; - } - } - - strm->play_buf_len = samples_got; - strm->play_buf_start = 0; - } - - unsigned tmp; - - tmp = PJ_MIN(strm->play_buf_len, g711_frame_len - samples_processed); - pjmedia_ulaw_encode((pj_uint8_t*)&strm->play_buf[strm->play_buf_start], - &strm->play_buf[strm->play_buf_start], - tmp); - buf.iBuffer.Append((TUint8*)&strm->play_buf[strm->play_buf_start], tmp); - samples_processed += tmp; - strm->play_buf_len -= tmp; - strm->play_buf_start += tmp; - } -} - -/**************************************************************************** - * Internal APS callbacks for non-PCM format - */ - -static void RecCb(TAPSCommBuffer &buf, void *user_data) -{ - struct aps_stream *strm = (struct aps_stream*) user_data; - pjmedia_frame_ext *frame = (pjmedia_frame_ext*) strm->rec_buf; - - switch(strm->param.ext_fmt.id) { - case PJMEDIA_FORMAT_AMR: - { - const pj_uint8_t *p = (const pj_uint8_t*)buf.iBuffer.Ptr() + 1; - unsigned len = buf.iBuffer.Length() - 1; - - pjmedia_frame_ext_append_subframe(frame, p, len << 3, 160); - if (frame->samples_cnt == strm->param.samples_per_frame) { - frame->base.type = PJMEDIA_FRAME_TYPE_EXTENDED; - strm->rec_cb(strm->user_data, (pjmedia_frame*)frame); - frame->samples_cnt = 0; - frame->subframe_cnt = 0; - } - } - break; - - case PJMEDIA_FORMAT_G729: - { - /* Check if we got a normal or SID frame. */ - if (buf.iBuffer[0] != 0 || buf.iBuffer[1] != 0) { - enum { NORMAL_LEN = 22, SID_LEN = 8 }; - TBitStream *bitstream = (TBitStream*)strm->strm_data; - unsigned src_len = buf.iBuffer.Length()- 2; - - pj_assert(src_len == NORMAL_LEN || src_len == SID_LEN); - - const TDesC8& p = bitstream->CompressG729Frame( - buf.iBuffer.Right(src_len), - src_len == SID_LEN); - - pjmedia_frame_ext_append_subframe(frame, p.Ptr(), - p.Length() << 3, 80); - } else { /* We got null frame. */ - pjmedia_frame_ext_append_subframe(frame, NULL, 0, 80); - } - - if (frame->samples_cnt == strm->param.samples_per_frame) { - frame->base.type = PJMEDIA_FRAME_TYPE_EXTENDED; - strm->rec_cb(strm->user_data, (pjmedia_frame*)frame); - frame->samples_cnt = 0; - frame->subframe_cnt = 0; - } - } - break; - - case PJMEDIA_FORMAT_ILBC: - { - unsigned samples_got; - - samples_got = strm->param.ext_fmt.bitrate == 15200? 160 : 240; - - /* Check if we got a normal frame. */ - if (buf.iBuffer[0] == 1 && buf.iBuffer[1] == 0) { - const pj_uint8_t *p = (const pj_uint8_t*)buf.iBuffer.Ptr() + 2; - unsigned len = buf.iBuffer.Length() - 2; - - pjmedia_frame_ext_append_subframe(frame, p, len << 3, - samples_got); - } else { /* We got null frame. */ - pjmedia_frame_ext_append_subframe(frame, NULL, 0, samples_got); - } - - if (frame->samples_cnt == strm->param.samples_per_frame) { - frame->base.type = PJMEDIA_FRAME_TYPE_EXTENDED; - strm->rec_cb(strm->user_data, (pjmedia_frame*)frame); - frame->samples_cnt = 0; - frame->subframe_cnt = 0; - } - } - break; - - case PJMEDIA_FORMAT_PCMU: - case PJMEDIA_FORMAT_PCMA: - { - unsigned samples_processed = 0; - - /* Make sure it is normal frame. */ - pj_assert(buf.iBuffer[0] == 1 && buf.iBuffer[1] == 0); - - /* Detect the recorder G.711 frame size, player frame size will - * follow this recorder frame size. - */ - if (aps_g711_frame_len == 0) { - aps_g711_frame_len = buf.iBuffer.Length() < 160? 80 : 160; - TRACE_((THIS_FILE, "Detected APS G.711 frame size = %u samples", - aps_g711_frame_len)); - } - - /* Convert APS buffer format into pjmedia_frame_ext. Whenever - * samples count in the frame is equal to stream's samples per - * frame, call parent stream callback. - */ - while (samples_processed < aps_g711_frame_len) { - unsigned tmp; - const pj_uint8_t *pb = (const pj_uint8_t*)buf.iBuffer.Ptr() + - 2 + samples_processed; - - tmp = PJ_MIN(strm->param.samples_per_frame - frame->samples_cnt, - aps_g711_frame_len - samples_processed); - - pjmedia_frame_ext_append_subframe(frame, pb, tmp << 3, tmp); - samples_processed += tmp; - - if (frame->samples_cnt == strm->param.samples_per_frame) { - frame->base.type = PJMEDIA_FRAME_TYPE_EXTENDED; - strm->rec_cb(strm->user_data, (pjmedia_frame*)frame); - frame->samples_cnt = 0; - frame->subframe_cnt = 0; - } - } - } - break; - - default: - break; - } -} - -static void PlayCb(TAPSCommBuffer &buf, void *user_data) -{ - struct aps_stream *strm = (struct aps_stream*) user_data; - pjmedia_frame_ext *frame = (pjmedia_frame_ext*) strm->play_buf; - - /* Init buffer attributes and header. */ - buf.iCommand = CQueueHandler::EAPSPlayData; - buf.iStatus = 0; - buf.iBuffer.Zero(); - - switch(strm->param.ext_fmt.id) { - case PJMEDIA_FORMAT_AMR: - { - if (frame->samples_cnt == 0) { - frame->base.type = PJMEDIA_FRAME_TYPE_EXTENDED; - strm->play_cb(strm->user_data, (pjmedia_frame*)frame); - pj_assert(frame->base.type==PJMEDIA_FRAME_TYPE_EXTENDED || - frame->base.type==PJMEDIA_FRAME_TYPE_NONE); - } - - if (frame->base.type == PJMEDIA_FRAME_TYPE_EXTENDED) { - pjmedia_frame_ext_subframe *sf; - unsigned samples_cnt; - - sf = pjmedia_frame_ext_get_subframe(frame, 0); - samples_cnt = frame->samples_cnt / frame->subframe_cnt; - - if (sf->data && sf->bitlen) { - /* AMR header for APS is one byte, the format (may be!): - * 0xxxxy00, where xxxx:frame type, y:not sure. - */ - unsigned len = (sf->bitlen+7)>>3; - enum {SID_FT = 8 }; - pj_uint8_t amr_header = 4, ft = SID_FT; - - if (len >= pjmedia_codec_amrnb_framelen[0]) - ft = pjmedia_codec_amr_get_mode2(PJ_TRUE, len); - - amr_header |= ft << 3; - buf.iBuffer.Append(amr_header); - - buf.iBuffer.Append((TUint8*)sf->data, len); - } else { - enum {NO_DATA_FT = 15 }; - pj_uint8_t amr_header = 4 | (NO_DATA_FT << 3); - - buf.iBuffer.Append(amr_header); - } - - pjmedia_frame_ext_pop_subframes(frame, 1); - - } else { /* PJMEDIA_FRAME_TYPE_NONE */ - enum {NO_DATA_FT = 15 }; - pj_uint8_t amr_header = 4 | (NO_DATA_FT << 3); - - buf.iBuffer.Append(amr_header); - - frame->samples_cnt = 0; - frame->subframe_cnt = 0; - } - } - break; - - case PJMEDIA_FORMAT_G729: - { - if (frame->samples_cnt == 0) { - frame->base.type = PJMEDIA_FRAME_TYPE_EXTENDED; - strm->play_cb(strm->user_data, (pjmedia_frame*)frame); - pj_assert(frame->base.type==PJMEDIA_FRAME_TYPE_EXTENDED || - frame->base.type==PJMEDIA_FRAME_TYPE_NONE); - } - - if (frame->base.type == PJMEDIA_FRAME_TYPE_EXTENDED) { - pjmedia_frame_ext_subframe *sf; - unsigned samples_cnt; - - sf = pjmedia_frame_ext_get_subframe(frame, 0); - samples_cnt = frame->samples_cnt / frame->subframe_cnt; - - if (sf->data && sf->bitlen) { - enum { NORMAL_LEN = 10, SID_LEN = 2 }; - pj_bool_t sid_frame = ((sf->bitlen >> 3) == SID_LEN); - TBitStream *bitstream = (TBitStream*)strm->strm_data; - const TPtrC8 src(sf->data, sf->bitlen>>3); - const TDesC8 &dst = bitstream->ExpandG729Frame(src, - sid_frame); - if (sid_frame) { - buf.iBuffer.Append(2); - buf.iBuffer.Append(0); - } else { - buf.iBuffer.Append(1); - buf.iBuffer.Append(0); - } - buf.iBuffer.Append(dst); - } else { - buf.iBuffer.Append(2); - buf.iBuffer.Append(0); - buf.iBuffer.AppendFill(0, 22); - } - - pjmedia_frame_ext_pop_subframes(frame, 1); - - } else { /* PJMEDIA_FRAME_TYPE_NONE */ - buf.iBuffer.Append(2); - buf.iBuffer.Append(0); - buf.iBuffer.AppendFill(0, 22); - - frame->samples_cnt = 0; - frame->subframe_cnt = 0; - } - } - break; - - case PJMEDIA_FORMAT_ILBC: - { - if (frame->samples_cnt == 0) { - frame->base.type = PJMEDIA_FRAME_TYPE_EXTENDED; - strm->play_cb(strm->user_data, (pjmedia_frame*)frame); - pj_assert(frame->base.type==PJMEDIA_FRAME_TYPE_EXTENDED || - frame->base.type==PJMEDIA_FRAME_TYPE_NONE); - } - - if (frame->base.type == PJMEDIA_FRAME_TYPE_EXTENDED) { - pjmedia_frame_ext_subframe *sf; - unsigned samples_cnt; - - sf = pjmedia_frame_ext_get_subframe(frame, 0); - samples_cnt = frame->samples_cnt / frame->subframe_cnt; - - pj_assert((strm->param.ext_fmt.bitrate == 15200 && - samples_cnt == 160) || - (strm->param.ext_fmt.bitrate != 15200 && - samples_cnt == 240)); - - if (sf->data && sf->bitlen) { - buf.iBuffer.Append(1); - buf.iBuffer.Append(0); - buf.iBuffer.Append((TUint8*)sf->data, sf->bitlen>>3); - } else { - buf.iBuffer.Append(0); - buf.iBuffer.Append(0); - } - - pjmedia_frame_ext_pop_subframes(frame, 1); - - } else { /* PJMEDIA_FRAME_TYPE_NONE */ - buf.iBuffer.Append(0); - buf.iBuffer.Append(0); - - frame->samples_cnt = 0; - frame->subframe_cnt = 0; - } - } - break; - - case PJMEDIA_FORMAT_PCMU: - case PJMEDIA_FORMAT_PCMA: - { - unsigned samples_ready = 0; - unsigned samples_req = aps_g711_frame_len; - - /* Assume frame size is 10ms if frame size hasn't been known. */ - if (samples_req == 0) - samples_req = 80; - - buf.iBuffer.Append(1); - buf.iBuffer.Append(0); - - /* Call parent stream callback to get samples to play. */ - while (samples_ready < samples_req) { - if (frame->samples_cnt == 0) { - frame->base.type = PJMEDIA_FRAME_TYPE_EXTENDED; - strm->play_cb(strm->user_data, (pjmedia_frame*)frame); - pj_assert(frame->base.type==PJMEDIA_FRAME_TYPE_EXTENDED || - frame->base.type==PJMEDIA_FRAME_TYPE_NONE); - } - - if (frame->base.type == PJMEDIA_FRAME_TYPE_EXTENDED) { - pjmedia_frame_ext_subframe *sf; - unsigned samples_cnt; - - sf = pjmedia_frame_ext_get_subframe(frame, 0); - samples_cnt = frame->samples_cnt / frame->subframe_cnt; - if (sf->data && sf->bitlen) { - buf.iBuffer.Append((TUint8*)sf->data, sf->bitlen>>3); - } else { - pj_uint8_t silc; - silc = (strm->param.ext_fmt.id==PJMEDIA_FORMAT_PCMU)? - pjmedia_linear2ulaw(0) : pjmedia_linear2alaw(0); - buf.iBuffer.AppendFill(silc, samples_cnt); - } - samples_ready += samples_cnt; - - pjmedia_frame_ext_pop_subframes(frame, 1); - - } else { /* PJMEDIA_FRAME_TYPE_NONE */ - pj_uint8_t silc; - - silc = (strm->param.ext_fmt.id==PJMEDIA_FORMAT_PCMU)? - pjmedia_linear2ulaw(0) : pjmedia_linear2alaw(0); - buf.iBuffer.AppendFill(silc, samples_req - samples_ready); - - samples_ready = samples_req; - frame->samples_cnt = 0; - frame->subframe_cnt = 0; - } - } - } - break; - - default: - break; - } -} - - -/**************************************************************************** - * Factory operations - */ - -/* - * C compatible declaration of APS factory. - */ -PJ_BEGIN_DECL -PJ_DECL(pjmedia_aud_dev_factory*) pjmedia_aps_factory(pj_pool_factory *pf); -PJ_END_DECL - -/* - * Init APS audio driver. - */ -PJ_DEF(pjmedia_aud_dev_factory*) pjmedia_aps_factory(pj_pool_factory *pf) -{ - struct aps_factory *f; - pj_pool_t *pool; - - pool = pj_pool_create(pf, "APS", 1000, 1000, NULL); - f = PJ_POOL_ZALLOC_T(pool, struct aps_factory); - f->pf = pf; - f->pool = pool; - f->base.op = &factory_op; - - return &f->base; -} - -/* API: init factory */ -static pj_status_t factory_init(pjmedia_aud_dev_factory *f) -{ - struct aps_factory *af = (struct aps_factory*)f; - - pj_ansi_strcpy(af->dev_info.name, "S60 APS"); - af->dev_info.default_samples_per_sec = 8000; - af->dev_info.caps = PJMEDIA_AUD_DEV_CAP_EXT_FORMAT | - //PJMEDIA_AUD_DEV_CAP_INPUT_VOLUME_SETTING | - PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING | - PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE | - PJMEDIA_AUD_DEV_CAP_VAD | - PJMEDIA_AUD_DEV_CAP_CNG; - af->dev_info.routes = PJMEDIA_AUD_DEV_ROUTE_EARPIECE | - PJMEDIA_AUD_DEV_ROUTE_LOUDSPEAKER; - af->dev_info.input_count = 1; - af->dev_info.output_count = 1; - - /* Enumerate codecs by trying to initialize each codec and examining - * the error code. Consider the following: - * - not possible to reinitialize the same APS session with - * different settings, - * - closing APS session and trying to immediately reconnect may fail, - * clients should wait ~5s before attempting to reconnect. - */ - - unsigned i, fmt_cnt = 0; - pj_bool_t g711_supported = PJ_FALSE; - - /* Do not change the order! */ - TFourCC fourcc[] = { - TFourCC(KMCPFourCCIdAMRNB), - TFourCC(KMCPFourCCIdG711), - TFourCC(KMCPFourCCIdG729), - TFourCC(KMCPFourCCIdILBC) - }; - - for (i = 0; i < PJ_ARRAY_SIZE(fourcc); ++i) { - pj_bool_t supported = PJ_FALSE; - unsigned retry_cnt = 0; - enum { MAX_RETRY = 3 }; - -#if (PJMEDIA_AUDIO_DEV_SYMB_APS_DETECTS_CODEC == 0) - /* Codec detection is disabled */ - supported = PJ_TRUE; -#elif (PJMEDIA_AUDIO_DEV_SYMB_APS_DETECTS_CODEC == 1) - /* Minimal codec detection, AMR-NB and G.711 only */ - if (i > 1) { - /* If G.711 has been checked, skip G.729 and iLBC checks */ - retry_cnt = MAX_RETRY; - supported = g711_supported; - } -#endif - - while (!supported && ++retry_cnt <= MAX_RETRY) { - RAPSSession iSession; - TAPSInitSettings iPlaySettings; - TAPSInitSettings iRecSettings; - TInt err; - - // Recorder settings - iRecSettings.iGlobal = APP_UID; - iRecSettings.iPriority = TMdaPriority(100); - iRecSettings.iPreference = TMdaPriorityPreference(0x05210001); - iRecSettings.iSettings.iChannels = EMMFMono; - iRecSettings.iSettings.iSampleRate = EMMFSampleRate8000Hz; - - // Player settings - iPlaySettings.iGlobal = APP_UID; - iPlaySettings.iPriority = TMdaPriority(100); - iPlaySettings.iPreference = TMdaPriorityPreference(0x05220001); - iPlaySettings.iSettings.iChannels = EMMFMono; - iPlaySettings.iSettings.iSampleRate = EMMFSampleRate8000Hz; - - iRecSettings.iFourCC = iPlaySettings.iFourCC = fourcc[i]; - - err = iSession.Connect(); - if (err == KErrNone) - err = iSession.InitializePlayer(iPlaySettings); - if (err == KErrNone) - err = iSession.InitializeRecorder(iRecSettings); - - // On some devices, immediate closing causes APS Server panic, - // e.g: N95, so let's just wait for some time before closing. - enum { APS_CLOSE_WAIT_TIME = 200 }; /* in msecs */ - snd_wait(APS_CLOSE_WAIT_TIME); - - iSession.Close(); - - if (err == KErrNone) { - /* All fine, stop retyring */ - supported = PJ_TRUE; - } else if (err == KErrAlreadyExists && retry_cnt < MAX_RETRY) { - /* Seems that the previous session is still arround, - * let's wait before retrying. - */ - enum { RETRY_WAIT_TIME = 3000 }; /* in msecs */ - snd_wait(RETRY_WAIT_TIME); - } else { - /* Seems that this format is not supported */ - retry_cnt = MAX_RETRY; - } - } - - if (supported) { - switch(i) { - case 0: /* AMRNB */ - af->dev_info.ext_fmt[fmt_cnt].id = PJMEDIA_FORMAT_AMR; - af->dev_info.ext_fmt[fmt_cnt].bitrate = 7400; - af->dev_info.ext_fmt[fmt_cnt].vad = PJ_TRUE; - ++fmt_cnt; - break; - case 1: /* G.711 */ - af->dev_info.ext_fmt[fmt_cnt].id = PJMEDIA_FORMAT_PCMU; - af->dev_info.ext_fmt[fmt_cnt].bitrate = 64000; - af->dev_info.ext_fmt[fmt_cnt].vad = PJ_FALSE; - ++fmt_cnt; - af->dev_info.ext_fmt[fmt_cnt].id = PJMEDIA_FORMAT_PCMA; - af->dev_info.ext_fmt[fmt_cnt].bitrate = 64000; - af->dev_info.ext_fmt[fmt_cnt].vad = PJ_FALSE; - ++fmt_cnt; - g711_supported = PJ_TRUE; - break; - case 2: /* G.729 */ - af->dev_info.ext_fmt[fmt_cnt].id = PJMEDIA_FORMAT_G729; - af->dev_info.ext_fmt[fmt_cnt].bitrate = 8000; - af->dev_info.ext_fmt[fmt_cnt].vad = PJ_FALSE; - ++fmt_cnt; - break; - case 3: /* iLBC */ - af->dev_info.ext_fmt[fmt_cnt].id = PJMEDIA_FORMAT_ILBC; - af->dev_info.ext_fmt[fmt_cnt].bitrate = 13333; - af->dev_info.ext_fmt[fmt_cnt].vad = PJ_TRUE; - ++fmt_cnt; - break; - } - } - } - - af->dev_info.ext_fmt_cnt = fmt_cnt; - - PJ_LOG(4, (THIS_FILE, "APS initialized")); - - return PJ_SUCCESS; -} - -/* API: destroy factory */ -static pj_status_t factory_destroy(pjmedia_aud_dev_factory *f) -{ - struct aps_factory *af = (struct aps_factory*)f; - pj_pool_t *pool = af->pool; - - af->pool = NULL; - pj_pool_release(pool); - - PJ_LOG(4, (THIS_FILE, "APS destroyed")); - - return PJ_SUCCESS; -} - -/* API: refresh the device list */ -static pj_status_t factory_refresh(pjmedia_aud_dev_factory *f) -{ - PJ_UNUSED_ARG(f); - return PJ_ENOTSUP; -} - -/* API: get number of devices */ -static unsigned factory_get_dev_count(pjmedia_aud_dev_factory *f) -{ - PJ_UNUSED_ARG(f); - return 1; -} - -/* API: get device info */ -static pj_status_t factory_get_dev_info(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_dev_info *info) -{ - struct aps_factory *af = (struct aps_factory*)f; - - PJ_ASSERT_RETURN(index == 0, PJMEDIA_EAUD_INVDEV); - - pj_memcpy(info, &af->dev_info, sizeof(*info)); - - return PJ_SUCCESS; -} - -/* API: create default device parameter */ -static pj_status_t factory_default_param(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_param *param) -{ - struct aps_factory *af = (struct aps_factory*)f; - - PJ_ASSERT_RETURN(index == 0, PJMEDIA_EAUD_INVDEV); - - pj_bzero(param, sizeof(*param)); - param->dir = PJMEDIA_DIR_CAPTURE_PLAYBACK; - param->rec_id = index; - param->play_id = index; - param->clock_rate = af->dev_info.default_samples_per_sec; - param->channel_count = 1; - param->samples_per_frame = af->dev_info.default_samples_per_sec * 20 / 1000; - param->bits_per_sample = BITS_PER_SAMPLE; - param->flags = PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE; - param->output_route = PJMEDIA_AUD_DEV_ROUTE_EARPIECE; - - return PJ_SUCCESS; -} - - -/* API: create stream */ -static pj_status_t factory_create_stream(pjmedia_aud_dev_factory *f, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_aud_strm) -{ - struct aps_factory *af = (struct aps_factory*)f; - pj_pool_t *pool; - struct aps_stream *strm; - - CPjAudioSetting aps_setting; - PjAudioCallback aps_rec_cb; - PjAudioCallback aps_play_cb; - - /* Can only support 16bits per sample */ - PJ_ASSERT_RETURN(param->bits_per_sample == BITS_PER_SAMPLE, PJ_EINVAL); - - /* Supported clock rates: - * - for non-PCM format: 8kHz - * - for PCM format: 8kHz and 16kHz - */ - PJ_ASSERT_RETURN(param->clock_rate == 8000 || - (param->clock_rate == 16000 && - param->ext_fmt.id == PJMEDIA_FORMAT_L16), - PJ_EINVAL); - - /* Supported channels number: - * - for non-PCM format: mono - * - for PCM format: mono and stereo - */ - PJ_ASSERT_RETURN(param->channel_count == 1 || - (param->channel_count == 2 && - param->ext_fmt.id == PJMEDIA_FORMAT_L16), - PJ_EINVAL); - - /* Create and Initialize stream descriptor */ - pool = pj_pool_create(af->pf, "aps-dev", 1000, 1000, NULL); - PJ_ASSERT_RETURN(pool, PJ_ENOMEM); - - strm = PJ_POOL_ZALLOC_T(pool, struct aps_stream); - strm->pool = pool; - strm->param = *param; - - if (strm->param.flags & PJMEDIA_AUD_DEV_CAP_EXT_FORMAT == 0) - strm->param.ext_fmt.id = PJMEDIA_FORMAT_L16; - - /* Set audio engine fourcc. */ - switch(strm->param.ext_fmt.id) { - case PJMEDIA_FORMAT_L16: - case PJMEDIA_FORMAT_PCMU: - case PJMEDIA_FORMAT_PCMA: - aps_setting.fourcc = TFourCC(KMCPFourCCIdG711); - break; - case PJMEDIA_FORMAT_AMR: - aps_setting.fourcc = TFourCC(KMCPFourCCIdAMRNB); - break; - case PJMEDIA_FORMAT_G729: - aps_setting.fourcc = TFourCC(KMCPFourCCIdG729); - break; - case PJMEDIA_FORMAT_ILBC: - aps_setting.fourcc = TFourCC(KMCPFourCCIdILBC); - break; - default: - aps_setting.fourcc = 0; - break; - } - - /* Set audio engine mode. */ - if (strm->param.ext_fmt.id == PJMEDIA_FORMAT_AMR) - { - aps_setting.mode = (TAPSCodecMode)strm->param.ext_fmt.bitrate; - } - else if (strm->param.ext_fmt.id == PJMEDIA_FORMAT_PCMU || - strm->param.ext_fmt.id == PJMEDIA_FORMAT_L16 || - (strm->param.ext_fmt.id == PJMEDIA_FORMAT_ILBC && - strm->param.ext_fmt.bitrate != 15200)) - { - aps_setting.mode = EULawOr30ms; - } - else if (strm->param.ext_fmt.id == PJMEDIA_FORMAT_PCMA || - (strm->param.ext_fmt.id == PJMEDIA_FORMAT_ILBC && - strm->param.ext_fmt.bitrate == 15200)) - { - aps_setting.mode = EALawOr20ms; - } - - /* Disable VAD on L16, G711, and also G729 (G729's VAD potentially - * causes noise?). - */ - if (strm->param.ext_fmt.id == PJMEDIA_FORMAT_PCMU || - strm->param.ext_fmt.id == PJMEDIA_FORMAT_PCMA || - strm->param.ext_fmt.id == PJMEDIA_FORMAT_L16 || - strm->param.ext_fmt.id == PJMEDIA_FORMAT_G729) - { - aps_setting.vad = EFalse; - } else { - aps_setting.vad = strm->param.ext_fmt.vad; - } - - /* Set other audio engine attributes. */ - aps_setting.plc = strm->param.plc_enabled; - aps_setting.cng = aps_setting.vad; - aps_setting.loudspk = - strm->param.output_route==PJMEDIA_AUD_DEV_ROUTE_LOUDSPEAKER; - - /* Set audio engine callbacks. */ - if (strm->param.ext_fmt.id == PJMEDIA_FORMAT_L16) { - aps_play_cb = &PlayCbPcm; - aps_rec_cb = &RecCbPcm; - } else { - aps_play_cb = &PlayCb; - aps_rec_cb = &RecCb; - } - - strm->rec_cb = rec_cb; - strm->play_cb = play_cb; - strm->user_data = user_data; - strm->resample_factor = strm->param.clock_rate / 8000; - - /* play_buf size is samples per frame scaled in to 8kHz mono. */ - strm->play_buf = (pj_int16_t*)pj_pool_zalloc( - pool, - (strm->param.samples_per_frame / - strm->resample_factor / - strm->param.channel_count) << 1); - strm->play_buf_len = 0; - strm->play_buf_start = 0; - - /* rec_buf size is samples per frame scaled in to 8kHz mono. */ - strm->rec_buf = (pj_int16_t*)pj_pool_zalloc( - pool, - (strm->param.samples_per_frame / - strm->resample_factor / - strm->param.channel_count) << 1); - strm->rec_buf_len = 0; - - if (strm->param.ext_fmt.id == PJMEDIA_FORMAT_G729) { - TBitStream *g729_bitstream = new TBitStream; - - PJ_ASSERT_RETURN(g729_bitstream, PJ_ENOMEM); - strm->strm_data = (void*)g729_bitstream; - } - - /* Init resampler when format is PCM and clock rate is not 8kHz */ - if (strm->param.clock_rate != 8000 && - strm->param.ext_fmt.id == PJMEDIA_FORMAT_L16) - { - pj_status_t status; - - if (strm->param.dir & PJMEDIA_DIR_CAPTURE) { - /* Create resample for recorder */ - status = pjmedia_resample_create( pool, PJ_TRUE, PJ_FALSE, 1, - 8000, - strm->param.clock_rate, - 80, - &strm->rec_resample); - if (status != PJ_SUCCESS) - return status; - } - - if (strm->param.dir & PJMEDIA_DIR_PLAYBACK) { - /* Create resample for player */ - status = pjmedia_resample_create( pool, PJ_TRUE, PJ_FALSE, 1, - strm->param.clock_rate, - 8000, - 80 * strm->resample_factor, - &strm->play_resample); - if (status != PJ_SUCCESS) - return status; - } - } - - /* Create PCM buffer, when the clock rate is not 8kHz or not mono */ - if (strm->param.ext_fmt.id == PJMEDIA_FORMAT_L16 && - (strm->resample_factor > 1 || strm->param.channel_count != 1)) - { - strm->pcm_buf = (pj_int16_t*)pj_pool_zalloc(pool, - strm->param.samples_per_frame << 1); - } - - - /* Create the audio engine. */ - TRAPD(err, strm->engine = CPjAudioEngine::NewL(strm, - aps_rec_cb, aps_play_cb, - strm, aps_setting)); - if (err != KErrNone) { - pj_pool_release(pool); - return PJ_RETURN_OS_ERROR(err); - } - - /* Apply output volume setting if specified */ - if (param->flags & PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING) { - stream_set_cap(&strm->base, PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING, - ¶m->output_vol); - } - - /* Done */ - strm->base.op = &stream_op; - *p_aud_strm = &strm->base; - - return PJ_SUCCESS; -} - -/* API: Get stream info. */ -static pj_status_t stream_get_param(pjmedia_aud_stream *s, - pjmedia_aud_param *pi) -{ - struct aps_stream *strm = (struct aps_stream*)s; - - PJ_ASSERT_RETURN(strm && pi, PJ_EINVAL); - - pj_memcpy(pi, &strm->param, sizeof(*pi)); - - /* Update the output volume setting */ - if (stream_get_cap(s, PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING, - &pi->output_vol) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING; - } - - return PJ_SUCCESS; -} - -/* API: get capability */ -static pj_status_t stream_get_cap(pjmedia_aud_stream *s, - pjmedia_aud_dev_cap cap, - void *pval) -{ - struct aps_stream *strm = (struct aps_stream*)s; - pj_status_t status = PJ_ENOTSUP; - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - switch (cap) { - case PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE: - if (strm->param.dir & PJMEDIA_DIR_PLAYBACK) { - *(pjmedia_aud_dev_route*)pval = strm->param.output_route; - status = PJ_SUCCESS; - } - break; - - /* There is a case that GetMaxGain() stucks, e.g: in N95. */ - /* - case PJMEDIA_AUD_DEV_CAP_INPUT_VOLUME_SETTING: - if (strm->param.dir & PJMEDIA_DIR_CAPTURE) { - PJ_ASSERT_RETURN(strm->engine, PJ_EINVAL); - - TInt max_gain = strm->engine->GetMaxGain(); - TInt gain = strm->engine->GetGain(); - - if (max_gain > 0 && gain >= 0) { - *(unsigned*)pval = gain * 100 / max_gain; - status = PJ_SUCCESS; - } else { - status = PJMEDIA_EAUD_NOTREADY; - } - } - break; - */ - - case PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING: - if (strm->param.dir & PJMEDIA_DIR_PLAYBACK) { - PJ_ASSERT_RETURN(strm->engine, PJ_EINVAL); - - TInt max_vol = strm->engine->GetMaxVolume(); - TInt vol = strm->engine->GetVolume(); - - if (max_vol > 0 && vol >= 0) { - *(unsigned*)pval = vol * 100 / max_vol; - status = PJ_SUCCESS; - } else { - status = PJMEDIA_EAUD_NOTREADY; - } - } - break; - default: - break; - } - - return status; -} - -/* API: set capability */ -static pj_status_t stream_set_cap(pjmedia_aud_stream *s, - pjmedia_aud_dev_cap cap, - const void *pval) -{ - struct aps_stream *strm = (struct aps_stream*)s; - pj_status_t status = PJ_ENOTSUP; - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - switch (cap) { - case PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE: - if (strm->param.dir & PJMEDIA_DIR_PLAYBACK) { - pjmedia_aud_dev_route r = *(const pjmedia_aud_dev_route*)pval; - TInt err; - - PJ_ASSERT_RETURN(strm->engine, PJ_EINVAL); - - switch (r) { - case PJMEDIA_AUD_DEV_ROUTE_DEFAULT: - case PJMEDIA_AUD_DEV_ROUTE_EARPIECE: - err = strm->engine->ActivateSpeaker(EFalse); - status = (err==KErrNone)? PJ_SUCCESS:PJ_RETURN_OS_ERROR(err); - break; - case PJMEDIA_AUD_DEV_ROUTE_LOUDSPEAKER: - err = strm->engine->ActivateSpeaker(ETrue); - status = (err==KErrNone)? PJ_SUCCESS:PJ_RETURN_OS_ERROR(err); - break; - default: - status = PJ_EINVAL; - break; - } - if (status == PJ_SUCCESS) - strm->param.output_route = r; - } - break; - - /* There is a case that GetMaxGain() stucks, e.g: in N95. */ - /* - case PJMEDIA_AUD_DEV_CAP_INPUT_VOLUME_SETTING: - if (strm->param.dir & PJMEDIA_DIR_CAPTURE) { - PJ_ASSERT_RETURN(strm->engine, PJ_EINVAL); - - TInt max_gain = strm->engine->GetMaxGain(); - if (max_gain > 0) { - TInt gain, err; - - gain = *(unsigned*)pval * max_gain / 100; - err = strm->engine->SetGain(gain); - status = (err==KErrNone)? PJ_SUCCESS:PJ_RETURN_OS_ERROR(err); - } else { - status = PJMEDIA_EAUD_NOTREADY; - } - if (status == PJ_SUCCESS) - strm->param.input_vol = *(unsigned*)pval; - } - break; - */ - - case PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING: - if (strm->param.dir & PJMEDIA_DIR_PLAYBACK) { - PJ_ASSERT_RETURN(strm->engine, PJ_EINVAL); - - TInt max_vol = strm->engine->GetMaxVolume(); - if (max_vol > 0) { - TInt vol, err; - - vol = *(unsigned*)pval * max_vol / 100; - err = strm->engine->SetVolume(vol); - status = (err==KErrNone)? PJ_SUCCESS:PJ_RETURN_OS_ERROR(err); - } else { - status = PJMEDIA_EAUD_NOTREADY; - } - if (status == PJ_SUCCESS) - strm->param.output_vol = *(unsigned*)pval; - } - break; - default: - break; - } - - return status; -} - -/* API: Start stream. */ -static pj_status_t stream_start(pjmedia_aud_stream *strm) -{ - struct aps_stream *stream = (struct aps_stream*)strm; - - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - if (stream->engine) { - TInt err = stream->engine->StartL(); - if (err != KErrNone) - return PJ_RETURN_OS_ERROR(err); - } - - return PJ_SUCCESS; -} - -/* API: Stop stream. */ -static pj_status_t stream_stop(pjmedia_aud_stream *strm) -{ - struct aps_stream *stream = (struct aps_stream*)strm; - - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - if (stream->engine) { - stream->engine->Stop(); - } - - return PJ_SUCCESS; -} - - -/* API: Destroy stream. */ -static pj_status_t stream_destroy(pjmedia_aud_stream *strm) -{ - struct aps_stream *stream = (struct aps_stream*)strm; - - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - stream_stop(strm); - - delete stream->engine; - stream->engine = NULL; - - if (stream->param.ext_fmt.id == PJMEDIA_FORMAT_G729) { - TBitStream *g729_bitstream = (TBitStream*)stream->strm_data; - stream->strm_data = NULL; - delete g729_bitstream; - } - - pj_pool_t *pool; - pool = stream->pool; - if (pool) { - stream->pool = NULL; - pj_pool_release(pool); - } - - return PJ_SUCCESS; -} - -#endif // PJMEDIA_AUDIO_DEV_HAS_SYMB_APS - diff --git a/res/pjproject/pjmedia/src/pjmedia-audiodev/symb_mda_dev.cpp b/res/pjproject/pjmedia/src/pjmedia-audiodev/symb_mda_dev.cpp deleted file mode 100644 index 645ed39453..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-audiodev/symb_mda_dev.cpp +++ /dev/null @@ -1,1196 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include - -#if PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA - -/* - * This file provides sound implementation for Symbian Audio Streaming - * device. Application using this sound abstraction must link with: - * - mediaclientaudiostream.lib, and - * - mediaclientaudioinputstream.lib - */ -#include -#include -#include - - -#define THIS_FILE "symb_mda_dev.c" -#define BITS_PER_SAMPLE 16 -#define BYTES_PER_SAMPLE (BITS_PER_SAMPLE/8) - - -#if 1 -# define TRACE_(st) PJ_LOG(3, st) -#else -# define TRACE_(st) -#endif - - -/* MDA factory */ -struct mda_factory -{ - pjmedia_aud_dev_factory base; - pj_pool_t *pool; - pj_pool_factory *pf; - pjmedia_aud_dev_info dev_info; -}; - -/* Forward declaration of internal engine. */ -class CPjAudioInputEngine; -class CPjAudioOutputEngine; - -/* MDA stream. */ -struct mda_stream -{ - // Base - pjmedia_aud_stream base; /**< Base class. */ - - // Pool - pj_pool_t *pool; /**< Memory pool. */ - - // Common settings. - pjmedia_aud_param param; /**< Stream param. */ - - // Audio engine - CPjAudioInputEngine *in_engine; /**< Record engine. */ - CPjAudioOutputEngine *out_engine; /**< Playback engine. */ -}; - - -/* Prototypes */ -static pj_status_t factory_init(pjmedia_aud_dev_factory *f); -static pj_status_t factory_destroy(pjmedia_aud_dev_factory *f); -static pj_status_t factory_refresh(pjmedia_aud_dev_factory *f); -static unsigned factory_get_dev_count(pjmedia_aud_dev_factory *f); -static pj_status_t factory_get_dev_info(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_dev_info *info); -static pj_status_t factory_default_param(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_param *param); -static pj_status_t factory_create_stream(pjmedia_aud_dev_factory *f, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_aud_strm); - -static pj_status_t stream_get_param(pjmedia_aud_stream *strm, - pjmedia_aud_param *param); -static pj_status_t stream_get_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - void *value); -static pj_status_t stream_set_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - const void *value); -static pj_status_t stream_start(pjmedia_aud_stream *strm); -static pj_status_t stream_stop(pjmedia_aud_stream *strm); -static pj_status_t stream_destroy(pjmedia_aud_stream *strm); - - -/* Operations */ -static pjmedia_aud_dev_factory_op factory_op = -{ - &factory_init, - &factory_destroy, - &factory_get_dev_count, - &factory_get_dev_info, - &factory_default_param, - &factory_create_stream, - &factory_refresh -}; - -static pjmedia_aud_stream_op stream_op = -{ - &stream_get_param, - &stream_get_cap, - &stream_set_cap, - &stream_start, - &stream_stop, - &stream_destroy -}; - - -/* - * Convert clock rate to Symbian's TMdaAudioDataSettings capability. - */ -static TInt get_clock_rate_cap(unsigned clock_rate) -{ - switch (clock_rate) { - case 8000: return TMdaAudioDataSettings::ESampleRate8000Hz; - case 11025: return TMdaAudioDataSettings::ESampleRate11025Hz; - case 12000: return TMdaAudioDataSettings::ESampleRate12000Hz; - case 16000: return TMdaAudioDataSettings::ESampleRate16000Hz; - case 22050: return TMdaAudioDataSettings::ESampleRate22050Hz; - case 24000: return TMdaAudioDataSettings::ESampleRate24000Hz; - case 32000: return TMdaAudioDataSettings::ESampleRate32000Hz; - case 44100: return TMdaAudioDataSettings::ESampleRate44100Hz; - case 48000: return TMdaAudioDataSettings::ESampleRate48000Hz; - case 64000: return TMdaAudioDataSettings::ESampleRate64000Hz; - case 96000: return TMdaAudioDataSettings::ESampleRate96000Hz; - default: - return 0; - } -} - -/* - * Convert number of channels into Symbian's TMdaAudioDataSettings capability. - */ -static TInt get_channel_cap(unsigned channel_count) -{ - switch (channel_count) { - case 1: return TMdaAudioDataSettings::EChannelsMono; - case 2: return TMdaAudioDataSettings::EChannelsStereo; - default: - return 0; - } -} - -/* - * Utility: print sound device error - */ -static void snd_perror(const char *title, TInt rc) -{ - PJ_LOG(1,(THIS_FILE, "%s: error code %d", title, rc)); -} - -////////////////////////////////////////////////////////////////////////////// -// - -/* - * Implementation: Symbian Input Stream. - */ -class CPjAudioInputEngine : public CBase, MMdaAudioInputStreamCallback -{ -public: - enum State - { - STATE_INACTIVE, - STATE_ACTIVE, - }; - - ~CPjAudioInputEngine(); - - static CPjAudioInputEngine *NewL(struct mda_stream *parent_strm, - pjmedia_aud_rec_cb rec_cb, - void *user_data); - - static CPjAudioInputEngine *NewLC(struct mda_stream *parent_strm, - pjmedia_aud_rec_cb rec_cb, - void *user_data); - - pj_status_t StartRecord(); - void Stop(); - - pj_status_t SetGain(TInt gain) { - if (iInputStream_) { - iInputStream_->SetGain(gain); - return PJ_SUCCESS; - } else - return PJ_EINVALIDOP; - } - - TInt GetGain() { - if (iInputStream_) { - return iInputStream_->Gain(); - } else - return PJ_EINVALIDOP; - } - - TInt GetMaxGain() { - if (iInputStream_) { - return iInputStream_->MaxGain(); - } else - return PJ_EINVALIDOP; - } - -private: - State state_; - struct mda_stream *parentStrm_; - pjmedia_aud_rec_cb recCb_; - void *userData_; - CMdaAudioInputStream *iInputStream_; - HBufC8 *iStreamBuffer_; - TPtr8 iFramePtr_; - TInt lastError_; - pj_uint32_t timeStamp_; - CActiveSchedulerWait startAsw_; - - // cache variable - // to avoid calculating frame length repeatedly - TInt frameLen_; - - // sometimes recorded size != requested framesize, so let's - // provide a buffer to make sure the rec callback returning - // framesize as requested. - TUint8 *frameRecBuf_; - TInt frameRecBufLen_; - - CPjAudioInputEngine(struct mda_stream *parent_strm, - pjmedia_aud_rec_cb rec_cb, - void *user_data); - void ConstructL(); - TPtr8 & GetFrame(); - -public: - virtual void MaiscOpenComplete(TInt aError); - virtual void MaiscBufferCopied(TInt aError, const TDesC8 &aBuffer); - virtual void MaiscRecordComplete(TInt aError); - -}; - - -CPjAudioInputEngine::CPjAudioInputEngine(struct mda_stream *parent_strm, - pjmedia_aud_rec_cb rec_cb, - void *user_data) - : state_(STATE_INACTIVE), parentStrm_(parent_strm), - recCb_(rec_cb), userData_(user_data), - iInputStream_(NULL), iStreamBuffer_(NULL), iFramePtr_(0, 0), - lastError_(KErrNone), timeStamp_(0), - frameLen_(parent_strm->param.samples_per_frame * - BYTES_PER_SAMPLE), - frameRecBuf_(NULL), frameRecBufLen_(0) -{ -} - -CPjAudioInputEngine::~CPjAudioInputEngine() -{ - Stop(); - - delete iStreamBuffer_; - iStreamBuffer_ = NULL; - - delete [] frameRecBuf_; - frameRecBuf_ = NULL; - frameRecBufLen_ = 0; -} - -void CPjAudioInputEngine::ConstructL() -{ - iStreamBuffer_ = HBufC8::NewL(frameLen_); - CleanupStack::PushL(iStreamBuffer_); - - frameRecBuf_ = new TUint8[frameLen_*2]; - CleanupStack::PushL(frameRecBuf_); -} - -CPjAudioInputEngine *CPjAudioInputEngine::NewLC(struct mda_stream *parent, - pjmedia_aud_rec_cb rec_cb, - void *user_data) -{ - CPjAudioInputEngine* self = new (ELeave) CPjAudioInputEngine(parent, - rec_cb, - user_data); - CleanupStack::PushL(self); - self->ConstructL(); - return self; -} - -CPjAudioInputEngine *CPjAudioInputEngine::NewL(struct mda_stream *parent, - pjmedia_aud_rec_cb rec_cb, - void *user_data) -{ - CPjAudioInputEngine *self = NewLC(parent, rec_cb, user_data); - CleanupStack::Pop(self->frameRecBuf_); - CleanupStack::Pop(self->iStreamBuffer_); - CleanupStack::Pop(self); - return self; -} - - -pj_status_t CPjAudioInputEngine::StartRecord() -{ - - // Ignore command if recording is in progress. - if (state_ == STATE_ACTIVE) - return PJ_SUCCESS; - - // According to Nokia's AudioStream example, some 2nd Edition, FP2 devices - // (such as Nokia 6630) require the stream to be reconstructed each time - // before calling Open() - otherwise the callback never gets called. - // For uniform behavior, lets just delete/re-create the stream for all - // devices. - - // Destroy existing stream. - if (iInputStream_) delete iInputStream_; - iInputStream_ = NULL; - - // Create the stream. - TRAPD(err, iInputStream_ = CMdaAudioInputStream::NewL(*this)); - if (err != KErrNone) - return PJ_RETURN_OS_ERROR(err); - - // Initialize settings. - TMdaAudioDataSettings iStreamSettings; - iStreamSettings.iChannels = - get_channel_cap(parentStrm_->param.channel_count); - iStreamSettings.iSampleRate = - get_clock_rate_cap(parentStrm_->param.clock_rate); - - pj_assert(iStreamSettings.iChannels != 0 && - iStreamSettings.iSampleRate != 0); - - PJ_LOG(4,(THIS_FILE, "Opening sound device for capture, " - "clock rate=%d, channel count=%d..", - parentStrm_->param.clock_rate, - parentStrm_->param.channel_count)); - - // Open stream. - lastError_ = KRequestPending; - iInputStream_->Open(&iStreamSettings); - -#if defined(PJMEDIA_AUDIO_DEV_MDA_USE_SYNC_START) && \ - PJMEDIA_AUDIO_DEV_MDA_USE_SYNC_START != 0 - - startAsw_.Start(); - -#endif - - // Success - PJ_LOG(4,(THIS_FILE, "Sound capture started.")); - return PJ_SUCCESS; -} - - -void CPjAudioInputEngine::Stop() -{ - // If capture is in progress, stop it. - if (iInputStream_ && state_ == STATE_ACTIVE) { - lastError_ = KRequestPending; - iInputStream_->Stop(); - - // Wait until it's actually stopped - while (lastError_ == KRequestPending) - pj_symbianos_poll(-1, 100); - } - - if (iInputStream_) { - delete iInputStream_; - iInputStream_ = NULL; - } - - if (startAsw_.IsStarted()) { - startAsw_.AsyncStop(); - } - - state_ = STATE_INACTIVE; -} - - -TPtr8 & CPjAudioInputEngine::GetFrame() -{ - //iStreamBuffer_->Des().FillZ(frameLen_); - iFramePtr_.Set((TUint8*)(iStreamBuffer_->Ptr()), frameLen_, frameLen_); - return iFramePtr_; -} - -void CPjAudioInputEngine::MaiscOpenComplete(TInt aError) -{ - if (startAsw_.IsStarted()) { - startAsw_.AsyncStop(); - } - - lastError_ = aError; - if (aError != KErrNone) { - snd_perror("Error in MaiscOpenComplete()", aError); - return; - } - - /* Apply input volume setting if specified */ - if (parentStrm_->param.flags & - PJMEDIA_AUD_DEV_CAP_INPUT_VOLUME_SETTING) - { - stream_set_cap(&parentStrm_->base, - PJMEDIA_AUD_DEV_CAP_INPUT_VOLUME_SETTING, - &parentStrm_->param.input_vol); - } - - // set stream priority to normal and time sensitive - iInputStream_->SetPriority(EPriorityNormal, - EMdaPriorityPreferenceTime); - - // Read the first frame. - TPtr8 & frm = GetFrame(); - TRAPD(err2, iInputStream_->ReadL(frm)); - if (err2) { - PJ_LOG(4,(THIS_FILE, "Exception in iInputStream_->ReadL()")); - lastError_ = err2; - return; - } - - // input stream opened succesfully, set status to Active - state_ = STATE_ACTIVE; -} - -void CPjAudioInputEngine::MaiscBufferCopied(TInt aError, - const TDesC8 &aBuffer) -{ - lastError_ = aError; - if (aError != KErrNone) { - snd_perror("Error in MaiscBufferCopied()", aError); - return; - } - - if (frameRecBufLen_ || aBuffer.Length() < frameLen_) { - pj_memcpy(frameRecBuf_ + frameRecBufLen_, (void*) aBuffer.Ptr(), aBuffer.Length()); - frameRecBufLen_ += aBuffer.Length(); - } - - if (frameRecBufLen_) { - while (frameRecBufLen_ >= frameLen_) { - pjmedia_frame f; - - f.type = PJMEDIA_FRAME_TYPE_AUDIO; - f.buf = frameRecBuf_; - f.size = frameLen_; - f.timestamp.u32.lo = timeStamp_; - f.bit_info = 0; - - // Call the callback. - recCb_(userData_, &f); - // Increment timestamp. - timeStamp_ += parentStrm_->param.samples_per_frame; - - frameRecBufLen_ -= frameLen_; - pj_memmove(frameRecBuf_, frameRecBuf_+frameLen_, frameRecBufLen_); - } - } else { - pjmedia_frame f; - - f.type = PJMEDIA_FRAME_TYPE_AUDIO; - f.buf = (void*)aBuffer.Ptr(); - f.size = aBuffer.Length(); - f.timestamp.u32.lo = timeStamp_; - f.bit_info = 0; - - // Call the callback. - recCb_(userData_, &f); - - // Increment timestamp. - timeStamp_ += parentStrm_->param.samples_per_frame; - } - - // Record next frame - TPtr8 & frm = GetFrame(); - TRAPD(err2, iInputStream_->ReadL(frm)); - if (err2) { - PJ_LOG(4,(THIS_FILE, "Exception in iInputStream_->ReadL()")); - } -} - - -void CPjAudioInputEngine::MaiscRecordComplete(TInt aError) -{ - lastError_ = aError; - state_ = STATE_INACTIVE; - if (aError != KErrNone && aError != KErrCancel) { - snd_perror("Error in MaiscRecordComplete()", aError); - } -} - - - -////////////////////////////////////////////////////////////////////////////// -// - -/* - * Implementation: Symbian Output Stream. - */ - -class CPjAudioOutputEngine : public CBase, MMdaAudioOutputStreamCallback -{ -public: - enum State - { - STATE_INACTIVE, - STATE_ACTIVE, - }; - - ~CPjAudioOutputEngine(); - - static CPjAudioOutputEngine *NewL(struct mda_stream *parent_strm, - pjmedia_aud_play_cb play_cb, - void *user_data); - - static CPjAudioOutputEngine *NewLC(struct mda_stream *parent_strm, - pjmedia_aud_play_cb rec_cb, - void *user_data); - - pj_status_t StartPlay(); - void Stop(); - - pj_status_t SetVolume(TInt vol) { - if (iOutputStream_) { - iOutputStream_->SetVolume(vol); - return PJ_SUCCESS; - } else - return PJ_EINVALIDOP; - } - - TInt GetVolume() { - if (iOutputStream_) { - return iOutputStream_->Volume(); - } else - return PJ_EINVALIDOP; - } - - TInt GetMaxVolume() { - if (iOutputStream_) { - return iOutputStream_->MaxVolume(); - } else - return PJ_EINVALIDOP; - } - -private: - State state_; - struct mda_stream *parentStrm_; - pjmedia_aud_play_cb playCb_; - void *userData_; - CMdaAudioOutputStream *iOutputStream_; - TUint8 *frameBuf_; - unsigned frameBufSize_; - TPtrC8 frame_; - TInt lastError_; - unsigned timestamp_; - CActiveSchedulerWait startAsw_; - - CPjAudioOutputEngine(struct mda_stream *parent_strm, - pjmedia_aud_play_cb play_cb, - void *user_data); - void ConstructL(); - - virtual void MaoscOpenComplete(TInt aError); - virtual void MaoscBufferCopied(TInt aError, const TDesC8& aBuffer); - virtual void MaoscPlayComplete(TInt aError); -}; - - -CPjAudioOutputEngine::CPjAudioOutputEngine(struct mda_stream *parent_strm, - pjmedia_aud_play_cb play_cb, - void *user_data) -: state_(STATE_INACTIVE), parentStrm_(parent_strm), playCb_(play_cb), - userData_(user_data), iOutputStream_(NULL), frameBuf_(NULL), - lastError_(KErrNone), timestamp_(0) -{ -} - - -void CPjAudioOutputEngine::ConstructL() -{ - frameBufSize_ = parentStrm_->param.samples_per_frame * - BYTES_PER_SAMPLE; - frameBuf_ = new TUint8[frameBufSize_]; -} - -CPjAudioOutputEngine::~CPjAudioOutputEngine() -{ - Stop(); - delete [] frameBuf_; -} - -CPjAudioOutputEngine * -CPjAudioOutputEngine::NewLC(struct mda_stream *parent_strm, - pjmedia_aud_play_cb play_cb, - void *user_data) -{ - CPjAudioOutputEngine* self = new (ELeave) CPjAudioOutputEngine(parent_strm, - play_cb, - user_data); - CleanupStack::PushL(self); - self->ConstructL(); - return self; -} - -CPjAudioOutputEngine * -CPjAudioOutputEngine::NewL(struct mda_stream *parent_strm, - pjmedia_aud_play_cb play_cb, - void *user_data) -{ - CPjAudioOutputEngine *self = NewLC(parent_strm, play_cb, user_data); - CleanupStack::Pop(self); - return self; -} - -pj_status_t CPjAudioOutputEngine::StartPlay() -{ - // Ignore command if playing is in progress. - if (state_ == STATE_ACTIVE) - return PJ_SUCCESS; - - // Destroy existing stream. - if (iOutputStream_) delete iOutputStream_; - iOutputStream_ = NULL; - - // Create the stream - TRAPD(err, iOutputStream_ = CMdaAudioOutputStream::NewL(*this)); - if (err != KErrNone) - return PJ_RETURN_OS_ERROR(err); - - // Initialize settings. - TMdaAudioDataSettings iStreamSettings; - iStreamSettings.iChannels = - get_channel_cap(parentStrm_->param.channel_count); - iStreamSettings.iSampleRate = - get_clock_rate_cap(parentStrm_->param.clock_rate); - - pj_assert(iStreamSettings.iChannels != 0 && - iStreamSettings.iSampleRate != 0); - - PJ_LOG(4,(THIS_FILE, "Opening sound device for playback, " - "clock rate=%d, channel count=%d..", - parentStrm_->param.clock_rate, - parentStrm_->param.channel_count)); - - // Open stream. - lastError_ = KRequestPending; - iOutputStream_->Open(&iStreamSettings); - -#if defined(PJMEDIA_AUDIO_DEV_MDA_USE_SYNC_START) && \ - PJMEDIA_AUDIO_DEV_MDA_USE_SYNC_START != 0 - - startAsw_.Start(); - -#endif - - // Success - PJ_LOG(4,(THIS_FILE, "Sound playback started")); - return PJ_SUCCESS; - -} - -void CPjAudioOutputEngine::Stop() -{ - // Stop stream if it's playing - if (iOutputStream_ && state_ != STATE_INACTIVE) { - lastError_ = KRequestPending; - iOutputStream_->Stop(); - - // Wait until it's actually stopped - while (lastError_ == KRequestPending) - pj_symbianos_poll(-1, 100); - } - - if (iOutputStream_) { - delete iOutputStream_; - iOutputStream_ = NULL; - } - - if (startAsw_.IsStarted()) { - startAsw_.AsyncStop(); - } - - state_ = STATE_INACTIVE; -} - -void CPjAudioOutputEngine::MaoscOpenComplete(TInt aError) -{ - if (startAsw_.IsStarted()) { - startAsw_.AsyncStop(); - } - - lastError_ = aError; - - if (aError==KErrNone) { - // set stream properties, 16bit 8KHz mono - TMdaAudioDataSettings iSettings; - iSettings.iChannels = - get_channel_cap(parentStrm_->param.channel_count); - iSettings.iSampleRate = - get_clock_rate_cap(parentStrm_->param.clock_rate); - - iOutputStream_->SetAudioPropertiesL(iSettings.iSampleRate, - iSettings.iChannels); - - /* Apply output volume setting if specified */ - if (parentStrm_->param.flags & - PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING) - { - stream_set_cap(&parentStrm_->base, - PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING, - &parentStrm_->param.output_vol); - } else { - // set volume to 1/2th of stream max volume - iOutputStream_->SetVolume(iOutputStream_->MaxVolume()/2); - } - - // set stream priority to normal and time sensitive - iOutputStream_->SetPriority(EPriorityNormal, - EMdaPriorityPreferenceTime); - - // Call callback to retrieve frame from upstream. - pjmedia_frame f; - pj_status_t status; - - f.type = PJMEDIA_FRAME_TYPE_AUDIO; - f.buf = frameBuf_; - f.size = frameBufSize_; - f.timestamp.u32.lo = timestamp_; - f.bit_info = 0; - - status = playCb_(this->userData_, &f); - if (status != PJ_SUCCESS) { - this->Stop(); - return; - } - - if (f.type != PJMEDIA_FRAME_TYPE_AUDIO) - pj_bzero(frameBuf_, frameBufSize_); - - // Increment timestamp. - timestamp_ += (frameBufSize_ / BYTES_PER_SAMPLE); - - // issue WriteL() to write the first audio data block, - // subsequent calls to WriteL() will be issued in - // MMdaAudioOutputStreamCallback::MaoscBufferCopied() - // until whole data buffer is written. - frame_.Set(frameBuf_, frameBufSize_); - iOutputStream_->WriteL(frame_); - - // output stream opened succesfully, set status to Active - state_ = STATE_ACTIVE; - } else { - snd_perror("Error in MaoscOpenComplete()", aError); - } -} - -void CPjAudioOutputEngine::MaoscBufferCopied(TInt aError, - const TDesC8& aBuffer) -{ - PJ_UNUSED_ARG(aBuffer); - - if (aError==KErrNone) { - // Buffer successfully written, feed another one. - - // Call callback to retrieve frame from upstream. - pjmedia_frame f; - pj_status_t status; - - f.type = PJMEDIA_FRAME_TYPE_AUDIO; - f.buf = frameBuf_; - f.size = frameBufSize_; - f.timestamp.u32.lo = timestamp_; - f.bit_info = 0; - - status = playCb_(this->userData_, &f); - if (status != PJ_SUCCESS) { - this->Stop(); - return; - } - - if (f.type != PJMEDIA_FRAME_TYPE_AUDIO) - pj_bzero(frameBuf_, frameBufSize_); - - // Increment timestamp. - timestamp_ += (frameBufSize_ / BYTES_PER_SAMPLE); - - // Write to playback stream. - frame_.Set(frameBuf_, frameBufSize_); - iOutputStream_->WriteL(frame_); - - } else if (aError==KErrAbort) { - // playing was aborted, due to call to CMdaAudioOutputStream::Stop() - state_ = STATE_INACTIVE; - } else { - // error writing data to output - lastError_ = aError; - state_ = STATE_INACTIVE; - snd_perror("Error in MaoscBufferCopied()", aError); - } -} - -void CPjAudioOutputEngine::MaoscPlayComplete(TInt aError) -{ - lastError_ = aError; - state_ = STATE_INACTIVE; - if (aError != KErrNone && aError != KErrCancel) { - snd_perror("Error in MaoscPlayComplete()", aError); - } -} - -/**************************************************************************** - * Factory operations - */ - -/* - * C compatible declaration of MDA factory. - */ -PJ_BEGIN_DECL -PJ_DECL(pjmedia_aud_dev_factory*) pjmedia_symb_mda_factory(pj_pool_factory *pf); -PJ_END_DECL - -/* - * Init Symbian audio driver. - */ -pjmedia_aud_dev_factory* pjmedia_symb_mda_factory(pj_pool_factory *pf) -{ - struct mda_factory *f; - pj_pool_t *pool; - - pool = pj_pool_create(pf, "symb_aud", 1000, 1000, NULL); - f = PJ_POOL_ZALLOC_T(pool, struct mda_factory); - f->pf = pf; - f->pool = pool; - f->base.op = &factory_op; - - return &f->base; -} - -/* API: init factory */ -static pj_status_t factory_init(pjmedia_aud_dev_factory *f) -{ - struct mda_factory *af = (struct mda_factory*)f; - - pj_ansi_strcpy(af->dev_info.name, "Symbian Audio"); - af->dev_info.default_samples_per_sec = 8000; - af->dev_info.caps = PJMEDIA_AUD_DEV_CAP_INPUT_VOLUME_SETTING | - PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING; - af->dev_info.input_count = 1; - af->dev_info.output_count = 1; - - PJ_LOG(4, (THIS_FILE, "Symb Mda initialized")); - - return PJ_SUCCESS; -} - -/* API: destroy factory */ -static pj_status_t factory_destroy(pjmedia_aud_dev_factory *f) -{ - struct mda_factory *af = (struct mda_factory*)f; - pj_pool_t *pool = af->pool; - - af->pool = NULL; - pj_pool_release(pool); - - PJ_LOG(4, (THIS_FILE, "Symbian Mda destroyed")); - - return PJ_SUCCESS; -} - -/* API: refresh the device list */ -static pj_status_t factory_refresh(pjmedia_aud_dev_factory *f) -{ - PJ_UNUSED_ARG(f); - return PJ_ENOTSUP; -} - -/* API: get number of devices */ -static unsigned factory_get_dev_count(pjmedia_aud_dev_factory *f) -{ - PJ_UNUSED_ARG(f); - return 1; -} - -/* API: get device info */ -static pj_status_t factory_get_dev_info(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_dev_info *info) -{ - struct mda_factory *af = (struct mda_factory*)f; - - PJ_ASSERT_RETURN(index == 0, PJMEDIA_EAUD_INVDEV); - - pj_memcpy(info, &af->dev_info, sizeof(*info)); - - return PJ_SUCCESS; -} - -/* API: create default device parameter */ -static pj_status_t factory_default_param(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_param *param) -{ - struct mda_factory *af = (struct mda_factory*)f; - - PJ_ASSERT_RETURN(index == 0, PJMEDIA_EAUD_INVDEV); - - pj_bzero(param, sizeof(*param)); - param->dir = PJMEDIA_DIR_CAPTURE_PLAYBACK; - param->rec_id = index; - param->play_id = index; - param->clock_rate = af->dev_info.default_samples_per_sec; - param->channel_count = 1; - param->samples_per_frame = af->dev_info.default_samples_per_sec * 20 / 1000; - param->bits_per_sample = BITS_PER_SAMPLE; - // Don't set the flags without specifying the flags value. - //param->flags = af->dev_info.caps; - - return PJ_SUCCESS; -} - - -/* API: create stream */ -static pj_status_t factory_create_stream(pjmedia_aud_dev_factory *f, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_aud_strm) -{ - struct mda_factory *mf = (struct mda_factory*)f; - pj_pool_t *pool; - struct mda_stream *strm; - - /* Can only support 16bits per sample raw PCM format. */ - PJ_ASSERT_RETURN(param->bits_per_sample == BITS_PER_SAMPLE, PJ_EINVAL); - PJ_ASSERT_RETURN((param->flags & PJMEDIA_AUD_DEV_CAP_EXT_FORMAT)==0 || - param->ext_fmt.id == PJMEDIA_FORMAT_L16, - PJ_ENOTSUP); - - /* It seems that MDA recorder only supports for mono channel. */ - PJ_ASSERT_RETURN(param->channel_count == 1, PJ_EINVAL); - - /* Create and Initialize stream descriptor */ - pool = pj_pool_create(mf->pf, "symb_aud_dev", 1000, 1000, NULL); - PJ_ASSERT_RETURN(pool, PJ_ENOMEM); - - strm = PJ_POOL_ZALLOC_T(pool, struct mda_stream); - strm->pool = pool; - strm->param = *param; - - // Create the output stream. - if (strm->param.dir & PJMEDIA_DIR_PLAYBACK) { - TRAPD(err, strm->out_engine = CPjAudioOutputEngine::NewL(strm, play_cb, - user_data)); - if (err != KErrNone) { - pj_pool_release(pool); - return PJ_RETURN_OS_ERROR(err); - } - } - - // Create the input stream. - if (strm->param.dir & PJMEDIA_DIR_CAPTURE) { - TRAPD(err, strm->in_engine = CPjAudioInputEngine::NewL(strm, rec_cb, - user_data)); - if (err != KErrNone) { - strm->in_engine = NULL; - delete strm->out_engine; - strm->out_engine = NULL; - pj_pool_release(pool); - return PJ_RETURN_OS_ERROR(err); - } - } - - /* Done */ - strm->base.op = &stream_op; - *p_aud_strm = &strm->base; - - return PJ_SUCCESS; -} - -/* API: Get stream info. */ -static pj_status_t stream_get_param(pjmedia_aud_stream *s, - pjmedia_aud_param *pi) -{ - struct mda_stream *strm = (struct mda_stream*)s; - - PJ_ASSERT_RETURN(strm && pi, PJ_EINVAL); - - pj_memcpy(pi, &strm->param, sizeof(*pi)); - - /* Update the output volume setting */ - if (stream_get_cap(s, PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING, - &pi->output_vol) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING; - } - - /* Update the input volume setting */ - if (stream_get_cap(s, PJMEDIA_AUD_DEV_CAP_INPUT_VOLUME_SETTING, - &pi->input_vol) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_AUD_DEV_CAP_INPUT_VOLUME_SETTING; - } - - return PJ_SUCCESS; -} - -/* API: get capability */ -static pj_status_t stream_get_cap(pjmedia_aud_stream *s, - pjmedia_aud_dev_cap cap, - void *pval) -{ - struct mda_stream *strm = (struct mda_stream*)s; - pj_status_t status = PJ_ENOTSUP; - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - switch (cap) { - case PJMEDIA_AUD_DEV_CAP_INPUT_VOLUME_SETTING: - if (strm->param.dir & PJMEDIA_DIR_CAPTURE) { - PJ_ASSERT_RETURN(strm->in_engine, PJ_EINVAL); - - TInt max_gain = strm->in_engine->GetMaxGain(); - TInt gain = strm->in_engine->GetGain(); - - if (max_gain > 0 && gain >= 0) { - *(unsigned*)pval = gain * 100 / max_gain; - status = PJ_SUCCESS; - } else { - status = PJMEDIA_EAUD_NOTREADY; - } - } - break; - case PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING: - if (strm->param.dir & PJMEDIA_DIR_PLAYBACK) { - PJ_ASSERT_RETURN(strm->out_engine, PJ_EINVAL); - - TInt max_vol = strm->out_engine->GetMaxVolume(); - TInt vol = strm->out_engine->GetVolume(); - - if (max_vol > 0 && vol >= 0) { - *(unsigned*)pval = vol * 100 / max_vol; - status = PJ_SUCCESS; - } else { - status = PJMEDIA_EAUD_NOTREADY; - } - } - break; - default: - break; - } - - return status; -} - -/* API: set capability */ -static pj_status_t stream_set_cap(pjmedia_aud_stream *s, - pjmedia_aud_dev_cap cap, - const void *pval) -{ - struct mda_stream *strm = (struct mda_stream*)s; - pj_status_t status = PJ_ENOTSUP; - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - switch (cap) { - case PJMEDIA_AUD_DEV_CAP_INPUT_VOLUME_SETTING: - if (strm->param.dir & PJMEDIA_DIR_CAPTURE) { - PJ_ASSERT_RETURN(strm->in_engine, PJ_EINVAL); - - TInt max_gain = strm->in_engine->GetMaxGain(); - if (max_gain > 0) { - TInt gain; - - gain = *(unsigned*)pval * max_gain / 100; - status = strm->in_engine->SetGain(gain); - } else { - status = PJMEDIA_EAUD_NOTREADY; - } - } - break; - case PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING: - if (strm->param.dir & PJMEDIA_DIR_PLAYBACK) { - PJ_ASSERT_RETURN(strm->out_engine, PJ_EINVAL); - - TInt max_vol = strm->out_engine->GetMaxVolume(); - if (max_vol > 0) { - TInt vol; - - vol = *(unsigned*)pval * max_vol / 100; - status = strm->out_engine->SetVolume(vol); - } else { - status = PJMEDIA_EAUD_NOTREADY; - } - } - break; - default: - break; - } - - return status; -} - -/* API: Start stream. */ -static pj_status_t stream_start(pjmedia_aud_stream *strm) -{ - struct mda_stream *stream = (struct mda_stream*)strm; - - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - if (stream->out_engine) { - pj_status_t status; - status = stream->out_engine->StartPlay(); - if (status != PJ_SUCCESS) - return status; - } - - if (stream->in_engine) { - pj_status_t status; - status = stream->in_engine->StartRecord(); - if (status != PJ_SUCCESS) - return status; - } - - return PJ_SUCCESS; -} - -/* API: Stop stream. */ -static pj_status_t stream_stop(pjmedia_aud_stream *strm) -{ - struct mda_stream *stream = (struct mda_stream*)strm; - - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - if (stream->in_engine) { - stream->in_engine->Stop(); - } - - if (stream->out_engine) { - stream->out_engine->Stop(); - } - - return PJ_SUCCESS; -} - - -/* API: Destroy stream. */ -static pj_status_t stream_destroy(pjmedia_aud_stream *strm) -{ - struct mda_stream *stream = (struct mda_stream*)strm; - - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - stream_stop(strm); - - delete stream->in_engine; - stream->in_engine = NULL; - - delete stream->out_engine; - stream->out_engine = NULL; - - pj_pool_t *pool; - pool = stream->pool; - if (pool) { - stream->pool = NULL; - pj_pool_release(pool); - } - - return PJ_SUCCESS; -} - -#endif /* PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA */ diff --git a/res/pjproject/pjmedia/src/pjmedia-audiodev/symb_vas_dev.cpp b/res/pjproject/pjmedia/src/pjmedia-audiodev/symb_vas_dev.cpp deleted file mode 100644 index bcd9d75a4a..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-audiodev/symb_vas_dev.cpp +++ /dev/null @@ -1,2006 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#if PJMEDIA_AUDIO_DEV_HAS_SYMB_VAS - -/* VAS headers */ -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* AMR helper */ -#include - -/* Pack/unpack G.729 frame of S60 DSP codec, taken from: - * http://wiki.forum.nokia.com/index.php/TSS000776_-_Payload_conversion_for_G.729_audio_format - */ -#include "s60_g729_bitstream.h" - - -#define THIS_FILE "symb_vas_dev.c" -#define BITS_PER_SAMPLE 16 - - -/* When this macro is set, VAS will use EPCM16 format for PCM input/output, - * otherwise VAS will use EG711 then transcode it to PCM. - * Note that using native EPCM16 format may introduce (much) delay. - */ -//#define USE_NATIVE_PCM - -#if 1 -# define TRACE_(st) PJ_LOG(3, st) -#else -# define TRACE_(st) -#endif - -/* VAS G.711 frame length */ -static pj_uint8_t vas_g711_frame_len; - - -/* VAS factory */ -struct vas_factory -{ - pjmedia_aud_dev_factory base; - pj_pool_t *pool; - pj_pool_factory *pf; - pjmedia_aud_dev_info dev_info; -}; - - -/* Forward declaration of CPjAudioEngine */ -class CPjAudioEngine; - - -/* VAS stream. */ -struct vas_stream -{ - // Base - pjmedia_aud_stream base; /**< Base class. */ - - // Pool - pj_pool_t *pool; /**< Memory pool. */ - - // Common settings. - pjmedia_aud_param param; /**< Stream param. */ - pjmedia_aud_rec_cb rec_cb; /**< Record callback. */ - pjmedia_aud_play_cb play_cb; /**< Playback callback. */ - void *user_data; /**< Application data. */ - - // Audio engine - CPjAudioEngine *engine; /**< Internal engine. */ - - pj_timestamp ts_play; /**< Playback timestamp.*/ - pj_timestamp ts_rec; /**< Record timestamp. */ - - pj_int16_t *play_buf; /**< Playback buffer. */ - pj_uint16_t play_buf_len; /**< Playback buffer length. */ - pj_uint16_t play_buf_start; /**< Playback buffer start index. */ - pj_int16_t *rec_buf; /**< Record buffer. */ - pj_uint16_t rec_buf_len; /**< Record buffer length. */ - void *strm_data; /**< Stream data. */ - - /* Resampling is needed, in case audio device is opened with clock rate - * other than 8kHz (only for PCM format). - */ - pjmedia_resample *play_resample; /**< Resampler for playback. */ - pjmedia_resample *rec_resample; /**< Resampler for recording */ - pj_uint16_t resample_factor; /**< Resample factor, requested - clock rate / 8000 */ - - /* When stream is working in PCM format, where the samples may need to be - * resampled from/to different clock rate and/or channel count, PCM buffer - * is needed to perform such resampling operations. - */ - pj_int16_t *pcm_buf; /**< PCM buffer. */ -}; - - -/* Prototypes */ -static pj_status_t factory_init(pjmedia_aud_dev_factory *f); -static pj_status_t factory_destroy(pjmedia_aud_dev_factory *f); -static pj_status_t factory_refresh(pjmedia_aud_dev_factory *f); -static unsigned factory_get_dev_count(pjmedia_aud_dev_factory *f); -static pj_status_t factory_get_dev_info(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_dev_info *info); -static pj_status_t factory_default_param(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_param *param); -static pj_status_t factory_create_stream(pjmedia_aud_dev_factory *f, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_aud_strm); - -static pj_status_t stream_get_param(pjmedia_aud_stream *strm, - pjmedia_aud_param *param); -static pj_status_t stream_get_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - void *value); -static pj_status_t stream_set_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - const void *value); -static pj_status_t stream_start(pjmedia_aud_stream *strm); -static pj_status_t stream_stop(pjmedia_aud_stream *strm); -static pj_status_t stream_destroy(pjmedia_aud_stream *strm); - - -/* Operations */ -static pjmedia_aud_dev_factory_op factory_op = -{ - &factory_init, - &factory_destroy, - &factory_get_dev_count, - &factory_get_dev_info, - &factory_default_param, - &factory_create_stream, - &factory_refresh -}; - -static pjmedia_aud_stream_op stream_op = -{ - &stream_get_param, - &stream_get_cap, - &stream_set_cap, - &stream_start, - &stream_stop, - &stream_destroy -}; - - -/**************************************************************************** - * Internal VAS Engine - */ - -/* - * Utility: print sound device error - */ -static void snd_perror(const char *title, TInt rc) -{ - PJ_LOG(1,(THIS_FILE, "%s (error code=%d)", title, rc)); -} - -typedef void(*PjAudioCallback)(CVoIPDataBuffer *buf, void *user_data); - -/* - * Audio setting for CPjAudioEngine. - */ -class CPjAudioSetting -{ -public: - TVoIPCodecFormat format; - TInt mode; - TBool plc; - TBool vad; - TBool cng; - TBool loudspk; -}; - -/* - * Implementation: Symbian Input & Output Stream. - */ -class CPjAudioEngine : public CBase, - public MVoIPDownlinkObserver, - public MVoIPUplinkObserver, - public MVoIPFormatObserver -{ -public: - enum State - { - STATE_NULL, - STATE_STARTING, - STATE_READY, - STATE_STREAMING - }; - - ~CPjAudioEngine(); - - static CPjAudioEngine *NewL(struct vas_stream *parent_strm, - PjAudioCallback rec_cb, - PjAudioCallback play_cb, - void *user_data, - const CPjAudioSetting &setting); - - TInt Start(); - void Stop(); - - TInt ActivateSpeaker(TBool active); - - TInt SetVolume(TInt vol) { return iVoIPDnlink->SetVolume(vol); } - TInt GetVolume() { TInt vol;iVoIPDnlink->GetVolume(vol);return vol; } - TInt GetMaxVolume() { TInt vol;iVoIPDnlink->GetMaxVolume(vol);return vol; } - - TInt SetGain(TInt gain) { return iVoIPUplink->SetGain(gain); } - TInt GetGain() { TInt gain;iVoIPUplink->GetGain(gain);return gain; } - TInt GetMaxGain() { TInt gain;iVoIPUplink->GetMaxGain(gain);return gain; } - - TBool IsStarted(); - -private: - CPjAudioEngine(struct vas_stream *parent_strm, - PjAudioCallback rec_cb, - PjAudioCallback play_cb, - void *user_data, - const CPjAudioSetting &setting); - void ConstructL(); - - TInt InitPlay(); - TInt InitRec(); - - TInt StartPlay(); - TInt StartRec(); - - // From MVoIPDownlinkObserver - void FillBuffer(const CVoIPAudioDownlinkStream& aSrc, - CVoIPDataBuffer* aBuffer); - void Event(const CVoIPAudioDownlinkStream& aSrc, - TInt aEventType, - TInt aError); - - // From MVoIPUplinkObserver - void EmptyBuffer(const CVoIPAudioUplinkStream& aSrc, - CVoIPDataBuffer* aBuffer); - void Event(const CVoIPAudioUplinkStream& aSrc, - TInt aEventType, - TInt aError); - - // From MVoIPFormatObserver - void Event(const CVoIPFormatIntfc& aSrc, TInt aEventType); - - State dn_state_; - State up_state_; - struct vas_stream *parentStrm_; - CPjAudioSetting setting_; - PjAudioCallback rec_cb_; - PjAudioCallback play_cb_; - void *user_data_; - - // VAS objects - CVoIPUtilityFactory *iFactory; - CVoIPAudioDownlinkStream *iVoIPDnlink; - CVoIPAudioUplinkStream *iVoIPUplink; - CVoIPFormatIntfc *enc_fmt_if; - CVoIPFormatIntfc *dec_fmt_if; -}; - - -CPjAudioEngine* CPjAudioEngine::NewL(struct vas_stream *parent_strm, - PjAudioCallback rec_cb, - PjAudioCallback play_cb, - void *user_data, - const CPjAudioSetting &setting) -{ - CPjAudioEngine* self = new (ELeave) CPjAudioEngine(parent_strm, - rec_cb, play_cb, - user_data, - setting); - CleanupStack::PushL(self); - self->ConstructL(); - CleanupStack::Pop(self); - return self; -} - -void CPjAudioEngine::ConstructL() -{ - TInt err; - const TVersion ver(1, 0, 0); /* Not really used at this time */ - - err = CVoIPUtilityFactory::CreateFactory(iFactory); - User::LeaveIfError(err); - - if (parentStrm_->param.dir != PJMEDIA_DIR_CAPTURE) { - err = iFactory->CreateDownlinkStream(ver, - CVoIPUtilityFactory::EVoIPCall, - iVoIPDnlink); - User::LeaveIfError(err); - } - - if (parentStrm_->param.dir != PJMEDIA_DIR_PLAYBACK) { - err = iFactory->CreateUplinkStream(ver, - CVoIPUtilityFactory::EVoIPCall, - iVoIPUplink); - User::LeaveIfError(err); - } -} - -CPjAudioEngine::CPjAudioEngine(struct vas_stream *parent_strm, - PjAudioCallback rec_cb, - PjAudioCallback play_cb, - void *user_data, - const CPjAudioSetting &setting) - : dn_state_(STATE_NULL), - up_state_(STATE_NULL), - parentStrm_(parent_strm), - setting_(setting), - rec_cb_(rec_cb), - play_cb_(play_cb), - user_data_(user_data), - iFactory(NULL), - iVoIPDnlink(NULL), - iVoIPUplink(NULL), - enc_fmt_if(NULL), - dec_fmt_if(NULL) -{ -} - -CPjAudioEngine::~CPjAudioEngine() -{ - Stop(); - - if (iVoIPUplink) - iVoIPUplink->Close(); - - if (iVoIPDnlink) - iVoIPDnlink->Close(); - - delete enc_fmt_if; - delete dec_fmt_if; - delete iVoIPDnlink; - delete iVoIPUplink; - delete iFactory; - - TRACE_((THIS_FILE, "Sound device destroyed")); -} - -TBool CPjAudioEngine::IsStarted() -{ - return ((((parentStrm_->param.dir & PJMEDIA_DIR_CAPTURE) == 0) || - up_state_ == STATE_STREAMING) && - (((parentStrm_->param.dir & PJMEDIA_DIR_PLAYBACK) == 0) || - dn_state_ == STATE_STREAMING)); -} - -TInt CPjAudioEngine::InitPlay() -{ - TInt err; - - pj_assert(iVoIPDnlink); - - delete dec_fmt_if; - dec_fmt_if = NULL; - err = iVoIPDnlink->SetFormat(setting_.format, dec_fmt_if); - if (err != KErrNone) - return err; - - err = dec_fmt_if->SetObserver(*this); - if (err != KErrNone) - return err; - - return iVoIPDnlink->Open(*this); -} - -TInt CPjAudioEngine::InitRec() -{ - TInt err; - - pj_assert(iVoIPUplink); - - delete enc_fmt_if; - enc_fmt_if = NULL; - err = iVoIPUplink->SetFormat(setting_.format, enc_fmt_if); - if (err != KErrNone) - return err; - - err = enc_fmt_if->SetObserver(*this); - if (err != KErrNone) - return err; - - return iVoIPUplink->Open(*this); -} - -TInt CPjAudioEngine::StartPlay() -{ - TInt err = KErrNone; - - pj_assert(iVoIPDnlink); - pj_assert(dn_state_ == STATE_READY); - - /* Configure specific codec setting */ - switch (setting_.format) { - case EG711: - { - CVoIPG711DecoderIntfc *g711dec_if = (CVoIPG711DecoderIntfc*) - dec_fmt_if; - err = g711dec_if->SetMode((CVoIPFormatIntfc::TG711CodecMode) - setting_.mode); - } - break; - - case EILBC: - { - CVoIPILBCDecoderIntfc *ilbcdec_if = (CVoIPILBCDecoderIntfc*) - dec_fmt_if; - err = ilbcdec_if->SetMode((CVoIPFormatIntfc::TILBCCodecMode) - setting_.mode); - } - break; - - case EAMR_NB: - /* Ticket #1008: AMR playback issue on few devices, e.g: E72, E52 */ - err = dec_fmt_if->SetFrameMode(ETrue); - break; - - default: - break; - } - - if (err != KErrNone) - goto on_return; - - /* Configure audio routing */ - ActivateSpeaker(setting_.loudspk); - - /* Start player */ - err = iVoIPDnlink->Start(); - -on_return: - if (err == KErrNone) { - dn_state_ = STATE_STREAMING; - TRACE_((THIS_FILE, "Downlink started")); - } else { - snd_perror("Failed starting downlink", err); - } - - return err; -} - -TInt CPjAudioEngine::StartRec() -{ - TInt err = KErrNone; - - pj_assert(iVoIPUplink); - pj_assert(up_state_ == STATE_READY); - - /* Configure specific codec setting */ - switch (setting_.format) { - case EG711: - { - CVoIPG711EncoderIntfc *g711enc_if = (CVoIPG711EncoderIntfc*) - enc_fmt_if; - err = g711enc_if->SetMode((CVoIPFormatIntfc::TG711CodecMode) - setting_.mode); - } - break; - - case EILBC: - { - CVoIPILBCEncoderIntfc *ilbcenc_if = (CVoIPILBCEncoderIntfc*) - enc_fmt_if; - err = ilbcenc_if->SetMode((CVoIPFormatIntfc::TILBCCodecMode) - setting_.mode); - } - break; - - case EAMR_NB: - err = enc_fmt_if->SetBitRate(setting_.mode); - break; - - default: - break; - } - - if (err != KErrNone) - goto on_return; - - /* Configure general codec setting */ - enc_fmt_if->SetVAD(setting_.vad); - - /* Start recorder */ - err = iVoIPUplink->Start(); - -on_return: - if (err == KErrNone) { - up_state_ = STATE_STREAMING; - TRACE_((THIS_FILE, "Uplink started")); - } else { - snd_perror("Failed starting uplink", err); - } - - return err; -} - -TInt CPjAudioEngine::Start() -{ - TInt err = KErrNone; - - if (iVoIPDnlink) { - switch(dn_state_) { - case STATE_READY: - err = StartPlay(); - break; - case STATE_NULL: - err = InitPlay(); - if (err != KErrNone) - return err; - dn_state_ = STATE_STARTING; - break; - default: - break; - } - } - - if (iVoIPUplink) { - switch(up_state_) { - case STATE_READY: - err = StartRec(); - break; - case STATE_NULL: - err = InitRec(); - if (err != KErrNone) - return err; - up_state_ = STATE_STARTING; - break; - default: - break; - } - } - - return err; -} - -void CPjAudioEngine::Stop() -{ - if (iVoIPDnlink) { - switch(dn_state_) { - case STATE_STREAMING: - iVoIPDnlink->Stop(); - dn_state_ = STATE_READY; - break; - case STATE_STARTING: - dn_state_ = STATE_NULL; - break; - default: - break; - } - } - - if (iVoIPUplink) { - switch(up_state_) { - case STATE_STREAMING: - iVoIPUplink->Stop(); - up_state_ = STATE_READY; - break; - case STATE_STARTING: - up_state_ = STATE_NULL; - break; - default: - break; - } - } -} - - -TInt CPjAudioEngine::ActivateSpeaker(TBool active) -{ - TInt err = KErrNotSupported; - - if (iVoIPDnlink) { - err = iVoIPDnlink->SetAudioDevice(active? - CVoIPAudioDownlinkStream::ELoudSpeaker : - CVoIPAudioDownlinkStream::EHandset); - TRACE_((THIS_FILE, "Loudspeaker turned %s", (active? "on":"off"))); - } - - return err; -} - -// Callback from MVoIPDownlinkObserver -void CPjAudioEngine::FillBuffer(const CVoIPAudioDownlinkStream& aSrc, - CVoIPDataBuffer* aBuffer) -{ - play_cb_(aBuffer, user_data_); - iVoIPDnlink->BufferFilled(aBuffer); -} - -// Callback from MVoIPUplinkObserver -void CPjAudioEngine::EmptyBuffer(const CVoIPAudioUplinkStream& aSrc, - CVoIPDataBuffer* aBuffer) -{ - rec_cb_(aBuffer, user_data_); - iVoIPUplink->BufferEmptied(aBuffer); -} - -// Callback from MVoIPDownlinkObserver -void CPjAudioEngine::Event(const CVoIPAudioDownlinkStream& /*aSrc*/, - TInt aEventType, - TInt aError) -{ - switch (aEventType) { - case MVoIPDownlinkObserver::KOpenComplete: - if (aError == KErrNone) { - State last_state = dn_state_; - - dn_state_ = STATE_READY; - TRACE_((THIS_FILE, "Downlink opened")); - - if (last_state == STATE_STARTING) - StartPlay(); - } - break; - - case MVoIPDownlinkObserver::KDownlinkClosed: - dn_state_ = STATE_NULL; - TRACE_((THIS_FILE, "Downlink closed")); - break; - - case MVoIPDownlinkObserver::KDownlinkError: - dn_state_ = STATE_READY; - snd_perror("Downlink problem", aError); - break; - default: - break; - } -} - -// Callback from MVoIPUplinkObserver -void CPjAudioEngine::Event(const CVoIPAudioUplinkStream& /*aSrc*/, - TInt aEventType, - TInt aError) -{ - switch (aEventType) { - case MVoIPUplinkObserver::KOpenComplete: - if (aError == KErrNone) { - State last_state = up_state_; - - up_state_ = STATE_READY; - TRACE_((THIS_FILE, "Uplink opened")); - - if (last_state == STATE_STARTING) - StartRec(); - } - break; - - case MVoIPUplinkObserver::KUplinkClosed: - up_state_ = STATE_NULL; - TRACE_((THIS_FILE, "Uplink closed")); - break; - - case MVoIPUplinkObserver::KUplinkError: - up_state_ = STATE_READY; - snd_perror("Uplink problem", aError); - break; - default: - break; - } -} - -// Callback from MVoIPFormatObserver -void CPjAudioEngine::Event(const CVoIPFormatIntfc& /*aSrc*/, - TInt aEventType) -{ - snd_perror("Format event", aEventType); -} - -/**************************************************************************** - * Internal VAS callbacks for PCM format - */ - -#ifdef USE_NATIVE_PCM - -static void RecCbPcm2(CVoIPDataBuffer *buf, void *user_data) -{ - struct vas_stream *strm = (struct vas_stream*) user_data; - TPtr8 buffer(0, 0, 0); - pj_int16_t *p_buf; - unsigned buf_len; - - /* Get the buffer */ - buf->GetPayloadPtr(buffer); - - /* Call parent callback */ - p_buf = (pj_int16_t*) buffer.Ptr(); - buf_len = buffer.Length() >> 1; - while (buf_len) { - unsigned req; - - req = strm->param.samples_per_frame - strm->rec_buf_len; - if (req > buf_len) - req = buf_len; - pjmedia_copy_samples(strm->rec_buf + strm->rec_buf_len, p_buf, req); - p_buf += req; - buf_len -= req; - strm->rec_buf_len += req; - - if (strm->rec_buf_len >= strm->param.samples_per_frame) { - pjmedia_frame f; - - f.buf = strm->rec_buf; - f.type = PJMEDIA_FRAME_TYPE_AUDIO; - f.size = strm->param.samples_per_frame << 1; - strm->rec_cb(strm->user_data, &f); - strm->rec_buf_len = 0; - } - } -} - -static void PlayCbPcm2(CVoIPDataBuffer *buf, void *user_data) -{ - struct vas_stream *strm = (struct vas_stream*) user_data; - TPtr8 buffer(0, 0, 0); - pjmedia_frame f; - - /* Get the buffer */ - buf->GetPayloadPtr(buffer); - - /* Call parent callback */ - f.buf = strm->play_buf; - f.size = strm->param.samples_per_frame << 1; - strm->play_cb(strm->user_data, &f); - if (f.type != PJMEDIA_FRAME_TYPE_AUDIO) { - pjmedia_zero_samples((pj_int16_t*)f.buf, - strm->param.samples_per_frame); - } - f.size = strm->param.samples_per_frame << 1; - - /* Init buffer attributes and header. */ - buffer.Zero(); - buffer.Append((TUint8*)f.buf, f.size); - - /* Set the buffer */ - buf->SetPayloadPtr(buffer); -} - -#else // not USE_NATIVE_PCM - -static void RecCbPcm(CVoIPDataBuffer *buf, void *user_data) -{ - struct vas_stream *strm = (struct vas_stream*) user_data; - TPtr8 buffer(0, 0, 0); - - /* Get the buffer */ - buf->GetPayloadPtr(buffer); - - /* Buffer has to contain normal speech. */ - pj_assert(buffer[0] == 1 && buffer[1] == 0); - - /* Detect the recorder G.711 frame size, player frame size will follow - * this recorder frame size. - */ - if (vas_g711_frame_len == 0) { - vas_g711_frame_len = buffer.Length() < 160? 80 : 160; - TRACE_((THIS_FILE, "Detected VAS G.711 frame size = %u samples", - vas_g711_frame_len)); - } - - /* Decode VAS buffer (coded in G.711) and put the PCM result into rec_buf. - * Whenever rec_buf is full, call parent stream callback. - */ - unsigned samples_processed = 0; - - while (samples_processed < vas_g711_frame_len) { - unsigned samples_to_process; - unsigned samples_req; - - samples_to_process = vas_g711_frame_len - samples_processed; - samples_req = (strm->param.samples_per_frame / - strm->param.channel_count / - strm->resample_factor) - - strm->rec_buf_len; - if (samples_to_process > samples_req) - samples_to_process = samples_req; - - pjmedia_ulaw_decode(&strm->rec_buf[strm->rec_buf_len], - buffer.Ptr() + 2 + samples_processed, - samples_to_process); - - strm->rec_buf_len += samples_to_process; - samples_processed += samples_to_process; - - /* Buffer is full, time to call parent callback */ - if (strm->rec_buf_len == strm->param.samples_per_frame / - strm->param.channel_count / - strm->resample_factor) - { - pjmedia_frame f; - - /* Need to resample clock rate? */ - if (strm->rec_resample) { - unsigned resampled = 0; - - while (resampled < strm->rec_buf_len) { - pjmedia_resample_run(strm->rec_resample, - &strm->rec_buf[resampled], - strm->pcm_buf + - resampled * strm->resample_factor); - resampled += 80; - } - f.buf = strm->pcm_buf; - } else { - f.buf = strm->rec_buf; - } - - /* Need to convert channel count? */ - if (strm->param.channel_count != 1) { - pjmedia_convert_channel_1ton((pj_int16_t*)f.buf, - (pj_int16_t*)f.buf, - strm->param.channel_count, - strm->param.samples_per_frame / - strm->param.channel_count, - 0); - } - - /* Call parent callback */ - f.type = PJMEDIA_FRAME_TYPE_AUDIO; - f.size = strm->param.samples_per_frame << 1; - strm->rec_cb(strm->user_data, &f); - strm->rec_buf_len = 0; - } - } -} - -#endif // USE_NATIVE_PCM - -static void PlayCbPcm(CVoIPDataBuffer *buf, void *user_data) -{ - struct vas_stream *strm = (struct vas_stream*) user_data; - unsigned g711_frame_len = vas_g711_frame_len; - TPtr8 buffer(0, 0, 0); - - /* Get the buffer */ - buf->GetPayloadPtr(buffer); - - /* Init buffer attributes and header. */ - buffer.Zero(); - buffer.Append(1); - buffer.Append(0); - - /* Assume frame size is 10ms if frame size hasn't been known. */ - if (g711_frame_len == 0) - g711_frame_len = 80; - - /* Call parent stream callback to get PCM samples to play, - * encode the PCM samples into G.711 and put it into VAS buffer. - */ - unsigned samples_processed = 0; - - while (samples_processed < g711_frame_len) { - /* Need more samples to play, time to call parent callback */ - if (strm->play_buf_len == 0) { - pjmedia_frame f; - unsigned samples_got; - - f.size = strm->param.samples_per_frame << 1; - if (strm->play_resample || strm->param.channel_count != 1) - f.buf = strm->pcm_buf; - else - f.buf = strm->play_buf; - - /* Call parent callback */ - strm->play_cb(strm->user_data, &f); - if (f.type != PJMEDIA_FRAME_TYPE_AUDIO) { - pjmedia_zero_samples((pj_int16_t*)f.buf, - strm->param.samples_per_frame); - } - - samples_got = strm->param.samples_per_frame / - strm->param.channel_count / - strm->resample_factor; - - /* Need to convert channel count? */ - if (strm->param.channel_count != 1) { - pjmedia_convert_channel_nto1((pj_int16_t*)f.buf, - (pj_int16_t*)f.buf, - strm->param.channel_count, - strm->param.samples_per_frame, - PJ_FALSE, - 0); - } - - /* Need to resample clock rate? */ - if (strm->play_resample) { - unsigned resampled = 0; - - while (resampled < samples_got) - { - pjmedia_resample_run(strm->play_resample, - strm->pcm_buf + - resampled * strm->resample_factor, - &strm->play_buf[resampled]); - resampled += 80; - } - } - - strm->play_buf_len = samples_got; - strm->play_buf_start = 0; - } - - unsigned tmp; - - tmp = PJ_MIN(strm->play_buf_len, g711_frame_len - samples_processed); - pjmedia_ulaw_encode((pj_uint8_t*)&strm->play_buf[strm->play_buf_start], - &strm->play_buf[strm->play_buf_start], - tmp); - buffer.Append((TUint8*)&strm->play_buf[strm->play_buf_start], tmp); - samples_processed += tmp; - strm->play_buf_len -= tmp; - strm->play_buf_start += tmp; - } - - /* Set the buffer */ - buf->SetPayloadPtr(buffer); -} - -/**************************************************************************** - * Internal VAS callbacks for non-PCM format - */ - -static void RecCb(CVoIPDataBuffer *buf, void *user_data) -{ - struct vas_stream *strm = (struct vas_stream*) user_data; - pjmedia_frame_ext *frame = (pjmedia_frame_ext*) strm->rec_buf; - TPtr8 buffer(0, 0, 0); - - /* Get the buffer */ - buf->GetPayloadPtr(buffer); - - switch(strm->param.ext_fmt.id) { - case PJMEDIA_FORMAT_AMR: - { - const pj_uint8_t *p = (const pj_uint8_t*)buffer.Ptr() + 1; - unsigned len = buffer.Length() - 1; - - pjmedia_frame_ext_append_subframe(frame, p, len << 3, 160); - if (frame->samples_cnt == strm->param.samples_per_frame) { - frame->base.type = PJMEDIA_FRAME_TYPE_EXTENDED; - strm->rec_cb(strm->user_data, (pjmedia_frame*)frame); - frame->samples_cnt = 0; - frame->subframe_cnt = 0; - } - } - break; - - case PJMEDIA_FORMAT_G729: - { - /* Check if we got a normal or SID frame. */ - if (buffer[0] != 0) { - enum { NORMAL_LEN = 22, SID_LEN = 8 }; - TBitStream *bitstream = (TBitStream*)strm->strm_data; - unsigned src_len = buffer.Length()- 2; - - pj_assert(src_len == NORMAL_LEN || src_len == SID_LEN); - - const TDesC8& p = bitstream->CompressG729Frame( - buffer.Right(src_len), - src_len == SID_LEN); - - pjmedia_frame_ext_append_subframe(frame, p.Ptr(), - p.Length() << 3, 80); - } else { /* We got null frame. */ - pjmedia_frame_ext_append_subframe(frame, NULL, 0, 80); - } - - if (frame->samples_cnt == strm->param.samples_per_frame) { - frame->base.type = PJMEDIA_FRAME_TYPE_EXTENDED; - strm->rec_cb(strm->user_data, (pjmedia_frame*)frame); - frame->samples_cnt = 0; - frame->subframe_cnt = 0; - } - } - break; - - case PJMEDIA_FORMAT_ILBC: - { - unsigned samples_got; - - samples_got = strm->param.ext_fmt.bitrate == 15200? 160 : 240; - - /* Check if we got a normal or SID frame. */ - if (buffer[0] != 0) { - const pj_uint8_t *p = (const pj_uint8_t*)buffer.Ptr() + 2; - unsigned len = buffer.Length() - 2; - - pjmedia_frame_ext_append_subframe(frame, p, len << 3, - samples_got); - } else { /* We got null frame. */ - pjmedia_frame_ext_append_subframe(frame, NULL, 0, samples_got); - } - - if (frame->samples_cnt == strm->param.samples_per_frame) { - frame->base.type = PJMEDIA_FRAME_TYPE_EXTENDED; - strm->rec_cb(strm->user_data, (pjmedia_frame*)frame); - frame->samples_cnt = 0; - frame->subframe_cnt = 0; - } - } - break; - - case PJMEDIA_FORMAT_PCMU: - case PJMEDIA_FORMAT_PCMA: - { - unsigned samples_processed = 0; - - /* Make sure it is normal frame. */ - pj_assert(buffer[0] == 1 && buffer[1] == 0); - - /* Detect the recorder G.711 frame size, player frame size will - * follow this recorder frame size. - */ - if (vas_g711_frame_len == 0) { - vas_g711_frame_len = buffer.Length() < 160? 80 : 160; - TRACE_((THIS_FILE, "Detected VAS G.711 frame size = %u samples", - vas_g711_frame_len)); - } - - /* Convert VAS buffer format into pjmedia_frame_ext. Whenever - * samples count in the frame is equal to stream's samples per - * frame, call parent stream callback. - */ - while (samples_processed < vas_g711_frame_len) { - unsigned tmp; - const pj_uint8_t *pb = (const pj_uint8_t*)buffer.Ptr() + - 2 + samples_processed; - - tmp = PJ_MIN(strm->param.samples_per_frame - frame->samples_cnt, - vas_g711_frame_len - samples_processed); - - pjmedia_frame_ext_append_subframe(frame, pb, tmp << 3, tmp); - samples_processed += tmp; - - if (frame->samples_cnt == strm->param.samples_per_frame) { - frame->base.type = PJMEDIA_FRAME_TYPE_EXTENDED; - strm->rec_cb(strm->user_data, (pjmedia_frame*)frame); - frame->samples_cnt = 0; - frame->subframe_cnt = 0; - } - } - } - break; - - default: - break; - } -} - -static void PlayCb(CVoIPDataBuffer *buf, void *user_data) -{ - struct vas_stream *strm = (struct vas_stream*) user_data; - pjmedia_frame_ext *frame = (pjmedia_frame_ext*) strm->play_buf; - TPtr8 buffer(0, 0, 0); - - /* Get the buffer */ - buf->GetPayloadPtr(buffer); - - /* Init buffer attributes and header. */ - buffer.Zero(); - - switch(strm->param.ext_fmt.id) { - case PJMEDIA_FORMAT_AMR: - { - if (frame->samples_cnt == 0) { - frame->base.type = PJMEDIA_FRAME_TYPE_EXTENDED; - strm->play_cb(strm->user_data, (pjmedia_frame*)frame); - pj_assert(frame->base.type==PJMEDIA_FRAME_TYPE_EXTENDED || - frame->base.type==PJMEDIA_FRAME_TYPE_NONE); - } - - if (frame->base.type == PJMEDIA_FRAME_TYPE_EXTENDED) { - pjmedia_frame_ext_subframe *sf; - unsigned samples_cnt; - - sf = pjmedia_frame_ext_get_subframe(frame, 0); - samples_cnt = frame->samples_cnt / frame->subframe_cnt; - - if (sf->data && sf->bitlen) { - /* AMR header for VAS is one byte, the format (may be!): - * 0xxxxy00, where xxxx:frame type, y:not sure. - */ - unsigned len = (sf->bitlen+7)>>3; - enum {SID_FT = 8 }; - pj_uint8_t amr_header = 4, ft = SID_FT; - - if (len >= pjmedia_codec_amrnb_framelen[0]) - ft = pjmedia_codec_amr_get_mode2(PJ_TRUE, len); - - amr_header |= ft << 3; - buffer.Append(amr_header); - - buffer.Append((TUint8*)sf->data, len); - } else { - enum {NO_DATA_FT = 15 }; - pj_uint8_t amr_header = 4 | (NO_DATA_FT << 3); - - buffer.Append(amr_header); - } - - pjmedia_frame_ext_pop_subframes(frame, 1); - - } else { /* PJMEDIA_FRAME_TYPE_NONE */ - enum {NO_DATA_FT = 15 }; - pj_uint8_t amr_header = 4 | (NO_DATA_FT << 3); - - buffer.Append(amr_header); - - frame->samples_cnt = 0; - frame->subframe_cnt = 0; - } - } - break; - - case PJMEDIA_FORMAT_G729: - { - if (frame->samples_cnt == 0) { - frame->base.type = PJMEDIA_FRAME_TYPE_EXTENDED; - strm->play_cb(strm->user_data, (pjmedia_frame*)frame); - pj_assert(frame->base.type==PJMEDIA_FRAME_TYPE_EXTENDED || - frame->base.type==PJMEDIA_FRAME_TYPE_NONE); - } - - if (frame->base.type == PJMEDIA_FRAME_TYPE_EXTENDED) { - pjmedia_frame_ext_subframe *sf; - unsigned samples_cnt; - - sf = pjmedia_frame_ext_get_subframe(frame, 0); - samples_cnt = frame->samples_cnt / frame->subframe_cnt; - - if (sf->data && sf->bitlen) { - enum { NORMAL_LEN = 10, SID_LEN = 2 }; - pj_bool_t sid_frame = ((sf->bitlen >> 3) == SID_LEN); - TBitStream *bitstream = (TBitStream*)strm->strm_data; - const TPtrC8 src(sf->data, sf->bitlen>>3); - const TDesC8 &dst = bitstream->ExpandG729Frame(src, - sid_frame); - if (sid_frame) { - buffer.Append(2); - buffer.Append(0); - } else { - buffer.Append(1); - buffer.Append(0); - } - buffer.Append(dst); - } else { - buffer.Append(2); - buffer.Append(0); - - buffer.AppendFill(0, 22); - } - - pjmedia_frame_ext_pop_subframes(frame, 1); - - } else { /* PJMEDIA_FRAME_TYPE_NONE */ - buffer.Append(2); - buffer.Append(0); - - buffer.AppendFill(0, 22); - } - } - break; - - case PJMEDIA_FORMAT_ILBC: - { - if (frame->samples_cnt == 0) { - frame->base.type = PJMEDIA_FRAME_TYPE_EXTENDED; - strm->play_cb(strm->user_data, (pjmedia_frame*)frame); - pj_assert(frame->base.type==PJMEDIA_FRAME_TYPE_EXTENDED || - frame->base.type==PJMEDIA_FRAME_TYPE_NONE); - } - - if (frame->base.type == PJMEDIA_FRAME_TYPE_EXTENDED) { - pjmedia_frame_ext_subframe *sf; - unsigned samples_cnt; - - sf = pjmedia_frame_ext_get_subframe(frame, 0); - samples_cnt = frame->samples_cnt / frame->subframe_cnt; - - pj_assert((strm->param.ext_fmt.bitrate == 15200 && - samples_cnt == 160) || - (strm->param.ext_fmt.bitrate != 15200 && - samples_cnt == 240)); - - if (sf->data && sf->bitlen) { - buffer.Append(1); - buffer.Append(0); - buffer.Append((TUint8*)sf->data, sf->bitlen>>3); - } else { - unsigned frame_len; - - buffer.Append(1); - buffer.Append(0); - - /* VAS iLBC frame is 20ms or 30ms */ - frame_len = strm->param.ext_fmt.bitrate == 15200? 38 : 50; - buffer.AppendFill(0, frame_len); - } - - pjmedia_frame_ext_pop_subframes(frame, 1); - - } else { /* PJMEDIA_FRAME_TYPE_NONE */ - - unsigned frame_len; - - buffer.Append(1); - buffer.Append(0); - - /* VAS iLBC frame is 20ms or 30ms */ - frame_len = strm->param.ext_fmt.bitrate == 15200? 38 : 50; - buffer.AppendFill(0, frame_len); - - } - } - break; - - case PJMEDIA_FORMAT_PCMU: - case PJMEDIA_FORMAT_PCMA: - { - unsigned samples_ready = 0; - unsigned samples_req = vas_g711_frame_len; - - /* Assume frame size is 10ms if frame size hasn't been known. */ - if (samples_req == 0) - samples_req = 80; - - buffer.Append(1); - buffer.Append(0); - - /* Call parent stream callback to get samples to play. */ - while (samples_ready < samples_req) { - if (frame->samples_cnt == 0) { - frame->base.type = PJMEDIA_FRAME_TYPE_EXTENDED; - strm->play_cb(strm->user_data, (pjmedia_frame*)frame); - pj_assert(frame->base.type==PJMEDIA_FRAME_TYPE_EXTENDED || - frame->base.type==PJMEDIA_FRAME_TYPE_NONE); - } - - if (frame->base.type == PJMEDIA_FRAME_TYPE_EXTENDED) { - pjmedia_frame_ext_subframe *sf; - unsigned samples_cnt; - - sf = pjmedia_frame_ext_get_subframe(frame, 0); - samples_cnt = frame->samples_cnt / frame->subframe_cnt; - if (sf->data && sf->bitlen) { - buffer.Append((TUint8*)sf->data, sf->bitlen>>3); - } else { - pj_uint8_t silc; - silc = (strm->param.ext_fmt.id==PJMEDIA_FORMAT_PCMU)? - pjmedia_linear2ulaw(0) : pjmedia_linear2alaw(0); - buffer.AppendFill(silc, samples_cnt); - } - samples_ready += samples_cnt; - - pjmedia_frame_ext_pop_subframes(frame, 1); - - } else { /* PJMEDIA_FRAME_TYPE_NONE */ - pj_uint8_t silc; - - silc = (strm->param.ext_fmt.id==PJMEDIA_FORMAT_PCMU)? - pjmedia_linear2ulaw(0) : pjmedia_linear2alaw(0); - buffer.AppendFill(silc, samples_req - samples_ready); - - samples_ready = samples_req; - frame->samples_cnt = 0; - frame->subframe_cnt = 0; - } - } - } - break; - - default: - break; - } - - /* Set the buffer */ - buf->SetPayloadPtr(buffer); -} - - -/**************************************************************************** - * Factory operations - */ - -/* - * C compatible declaration of VAS factory. - */ -PJ_BEGIN_DECL -PJ_DECL(pjmedia_aud_dev_factory*)pjmedia_symb_vas_factory(pj_pool_factory *pf); -PJ_END_DECL - -/* - * Init VAS audio driver. - */ -PJ_DEF(pjmedia_aud_dev_factory*) pjmedia_symb_vas_factory(pj_pool_factory *pf) -{ - struct vas_factory *f; - pj_pool_t *pool; - - pool = pj_pool_create(pf, "VAS", 1000, 1000, NULL); - f = PJ_POOL_ZALLOC_T(pool, struct vas_factory); - f->pf = pf; - f->pool = pool; - f->base.op = &factory_op; - - return &f->base; -} - -/* API: init factory */ -static pj_status_t factory_init(pjmedia_aud_dev_factory *f) -{ - struct vas_factory *af = (struct vas_factory*)f; - CVoIPUtilityFactory *vas_factory_; - CVoIPAudioUplinkStream *vas_uplink; - CVoIPAudioDownlinkStream *vas_dnlink; - RArray uplink_formats, dnlink_formats; - unsigned ext_fmt_cnt = 0; - TVersion vas_version(1, 0, 0); /* Not really used at this time */ - TInt err; - - pj_ansi_strcpy(af->dev_info.name, "S60 VAS"); - af->dev_info.default_samples_per_sec = 8000; - af->dev_info.caps = PJMEDIA_AUD_DEV_CAP_EXT_FORMAT | - //PJMEDIA_AUD_DEV_CAP_INPUT_VOLUME_SETTING | - PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING | - PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE | - PJMEDIA_AUD_DEV_CAP_VAD | - PJMEDIA_AUD_DEV_CAP_CNG; - af->dev_info.routes = PJMEDIA_AUD_DEV_ROUTE_EARPIECE | - PJMEDIA_AUD_DEV_ROUTE_LOUDSPEAKER; - af->dev_info.input_count = 1; - af->dev_info.output_count = 1; - af->dev_info.ext_fmt_cnt = 0; - - /* Enumerate supported formats */ - err = CVoIPUtilityFactory::CreateFactory(vas_factory_); - if (err != KErrNone) - goto on_error; - - /* On VAS 2.0, uplink & downlink stream should be instantiated before - * querying formats. - */ - err = vas_factory_->CreateUplinkStream(vas_version, - CVoIPUtilityFactory::EVoIPCall, - vas_uplink); - if (err != KErrNone) - goto on_error; - - err = vas_factory_->CreateDownlinkStream(vas_version, - CVoIPUtilityFactory::EVoIPCall, - vas_dnlink); - if (err != KErrNone) - goto on_error; - - uplink_formats.Reset(); - err = vas_factory_->GetSupportedUplinkFormats(uplink_formats); - if (err != KErrNone) - goto on_error; - - dnlink_formats.Reset(); - err = vas_factory_->GetSupportedDownlinkFormats(dnlink_formats); - if (err != KErrNone) - goto on_error; - - /* Free the streams, they are just used for querying formats */ - delete vas_uplink; - vas_uplink = NULL; - delete vas_dnlink; - vas_dnlink = NULL; - delete vas_factory_; - vas_factory_ = NULL; - - for (TInt i = 0; i < dnlink_formats.Count(); i++) { - /* Format must be supported by both downlink & uplink. */ - if (uplink_formats.Find(dnlink_formats[i]) == KErrNotFound) - continue; - - switch (dnlink_formats[i]) { - case EAMR_NB: - af->dev_info.ext_fmt[ext_fmt_cnt].id = PJMEDIA_FORMAT_AMR; - af->dev_info.ext_fmt[ext_fmt_cnt].bitrate = 7400; - af->dev_info.ext_fmt[ext_fmt_cnt].vad = PJ_TRUE; - break; - - case EG729: - af->dev_info.ext_fmt[ext_fmt_cnt].id = PJMEDIA_FORMAT_G729; - af->dev_info.ext_fmt[ext_fmt_cnt].bitrate = 8000; - af->dev_info.ext_fmt[ext_fmt_cnt].vad = PJ_FALSE; - break; - - case EILBC: - af->dev_info.ext_fmt[ext_fmt_cnt].id = PJMEDIA_FORMAT_ILBC; - af->dev_info.ext_fmt[ext_fmt_cnt].bitrate = 13333; - af->dev_info.ext_fmt[ext_fmt_cnt].vad = PJ_TRUE; - break; - - case EG711: -#if PJMEDIA_AUDIO_DEV_SYMB_VAS_VERSION==2 - case EG711_10MS: -#endif - af->dev_info.ext_fmt[ext_fmt_cnt].id = PJMEDIA_FORMAT_PCMU; - af->dev_info.ext_fmt[ext_fmt_cnt].bitrate = 64000; - af->dev_info.ext_fmt[ext_fmt_cnt].vad = PJ_FALSE; - ++ext_fmt_cnt; - af->dev_info.ext_fmt[ext_fmt_cnt].id = PJMEDIA_FORMAT_PCMA; - af->dev_info.ext_fmt[ext_fmt_cnt].bitrate = 64000; - af->dev_info.ext_fmt[ext_fmt_cnt].vad = PJ_FALSE; - break; - - default: - continue; - } - - ++ext_fmt_cnt; - } - - af->dev_info.ext_fmt_cnt = ext_fmt_cnt; - - uplink_formats.Close(); - dnlink_formats.Close(); - - PJ_LOG(3, (THIS_FILE, "VAS initialized")); - - return PJ_SUCCESS; - -on_error: - return PJ_RETURN_OS_ERROR(err); -} - -/* API: destroy factory */ -static pj_status_t factory_destroy(pjmedia_aud_dev_factory *f) -{ - struct vas_factory *af = (struct vas_factory*)f; - pj_pool_t *pool = af->pool; - - af->pool = NULL; - pj_pool_release(pool); - - PJ_LOG(3, (THIS_FILE, "VAS destroyed")); - - return PJ_SUCCESS; -} - -/* API: refresh the device list */ -static pj_status_t factory_refresh(pjmedia_aud_dev_factory *f) -{ - PJ_UNUSED_ARG(f); - return PJ_ENOTSUP; -} - -/* API: get number of devices */ -static unsigned factory_get_dev_count(pjmedia_aud_dev_factory *f) -{ - PJ_UNUSED_ARG(f); - return 1; -} - -/* API: get device info */ -static pj_status_t factory_get_dev_info(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_dev_info *info) -{ - struct vas_factory *af = (struct vas_factory*)f; - - PJ_ASSERT_RETURN(index == 0, PJMEDIA_EAUD_INVDEV); - - pj_memcpy(info, &af->dev_info, sizeof(*info)); - - return PJ_SUCCESS; -} - -/* API: create default device parameter */ -static pj_status_t factory_default_param(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_param *param) -{ - struct vas_factory *af = (struct vas_factory*)f; - - PJ_ASSERT_RETURN(index == 0, PJMEDIA_EAUD_INVDEV); - - pj_bzero(param, sizeof(*param)); - param->dir = PJMEDIA_DIR_CAPTURE_PLAYBACK; - param->rec_id = index; - param->play_id = index; - param->clock_rate = af->dev_info.default_samples_per_sec; - param->channel_count = 1; - param->samples_per_frame = af->dev_info.default_samples_per_sec * 20 / 1000; - param->bits_per_sample = BITS_PER_SAMPLE; - param->flags = PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE; - param->output_route = PJMEDIA_AUD_DEV_ROUTE_EARPIECE; - - return PJ_SUCCESS; -} - - -/* API: create stream */ -static pj_status_t factory_create_stream(pjmedia_aud_dev_factory *f, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_aud_strm) -{ - struct vas_factory *af = (struct vas_factory*)f; - pj_pool_t *pool; - struct vas_stream *strm; - - CPjAudioSetting vas_setting; - PjAudioCallback vas_rec_cb; - PjAudioCallback vas_play_cb; - - /* Can only support 16bits per sample */ - PJ_ASSERT_RETURN(param->bits_per_sample == BITS_PER_SAMPLE, PJ_EINVAL); - - /* Supported clock rates: - * - for non-PCM format: 8kHz - * - for PCM format: 8kHz and 16kHz - */ - PJ_ASSERT_RETURN(param->clock_rate == 8000 || - (param->clock_rate == 16000 && - param->ext_fmt.id == PJMEDIA_FORMAT_L16), - PJ_EINVAL); - - /* Supported channels number: - * - for non-PCM format: mono - * - for PCM format: mono and stereo - */ - PJ_ASSERT_RETURN(param->channel_count == 1 || - (param->channel_count == 2 && - param->ext_fmt.id == PJMEDIA_FORMAT_L16), - PJ_EINVAL); - - /* Create and Initialize stream descriptor */ - pool = pj_pool_create(af->pf, "vas-dev", 1000, 1000, NULL); - PJ_ASSERT_RETURN(pool, PJ_ENOMEM); - - strm = PJ_POOL_ZALLOC_T(pool, struct vas_stream); - strm->pool = pool; - strm->param = *param; - - if (strm->param.flags & PJMEDIA_AUD_DEV_CAP_EXT_FORMAT == 0) - strm->param.ext_fmt.id = PJMEDIA_FORMAT_L16; - - /* Set audio engine fourcc. */ - switch(strm->param.ext_fmt.id) { - case PJMEDIA_FORMAT_L16: -#ifdef USE_NATIVE_PCM - vas_setting.format = EPCM16; -#else - vas_setting.format = EG711; -#endif - break; - case PJMEDIA_FORMAT_PCMU: - case PJMEDIA_FORMAT_PCMA: - vas_setting.format = EG711; - break; - case PJMEDIA_FORMAT_AMR: - vas_setting.format = EAMR_NB; - break; - case PJMEDIA_FORMAT_G729: - vas_setting.format = EG729; - break; - case PJMEDIA_FORMAT_ILBC: - vas_setting.format = EILBC; - break; - default: - vas_setting.format = ENULL; - break; - } - - /* Set audio engine mode. */ - if (strm->param.ext_fmt.id == PJMEDIA_FORMAT_L16) - { -#ifdef USE_NATIVE_PCM - vas_setting.mode = 0; -#else - vas_setting.mode = CVoIPFormatIntfc::EG711uLaw; -#endif - } - else if (strm->param.ext_fmt.id == PJMEDIA_FORMAT_AMR) - { - vas_setting.mode = strm->param.ext_fmt.bitrate; - } - else if (strm->param.ext_fmt.id == PJMEDIA_FORMAT_PCMU) - { - vas_setting.mode = CVoIPFormatIntfc::EG711uLaw; - } - else if (strm->param.ext_fmt.id == PJMEDIA_FORMAT_PCMA) - { - vas_setting.mode = CVoIPFormatIntfc::EG711ALaw; - } - else if (strm->param.ext_fmt.id == PJMEDIA_FORMAT_ILBC) - { - if (strm->param.ext_fmt.bitrate == 15200) - vas_setting.mode = CVoIPFormatIntfc::EiLBC20mSecFrame; - else - vas_setting.mode = CVoIPFormatIntfc::EiLBC30mSecFrame; - } else { - vas_setting.mode = 0; - } - - /* Disable VAD on L16, G711, iLBC, and also G729 (G729's SID - * potentially cause noise?). - */ - if (strm->param.ext_fmt.id == PJMEDIA_FORMAT_PCMU || - strm->param.ext_fmt.id == PJMEDIA_FORMAT_PCMA || - strm->param.ext_fmt.id == PJMEDIA_FORMAT_L16 || - strm->param.ext_fmt.id == PJMEDIA_FORMAT_ILBC || - strm->param.ext_fmt.id == PJMEDIA_FORMAT_G729) - { - vas_setting.vad = EFalse; - } else { - vas_setting.vad = strm->param.ext_fmt.vad; - } - - /* Set other audio engine attributes. */ - vas_setting.plc = strm->param.plc_enabled; - vas_setting.cng = vas_setting.vad; - vas_setting.loudspk = - strm->param.output_route==PJMEDIA_AUD_DEV_ROUTE_LOUDSPEAKER; - - /* Set audio engine callbacks. */ - if (strm->param.ext_fmt.id == PJMEDIA_FORMAT_L16) { -#ifdef USE_NATIVE_PCM - vas_play_cb = &PlayCbPcm2; - vas_rec_cb = &RecCbPcm2; -#else - vas_play_cb = &PlayCbPcm; - vas_rec_cb = &RecCbPcm; -#endif - } else { - vas_play_cb = &PlayCb; - vas_rec_cb = &RecCb; - } - - strm->rec_cb = rec_cb; - strm->play_cb = play_cb; - strm->user_data = user_data; - strm->resample_factor = strm->param.clock_rate / 8000; - - /* play_buf size is samples per frame scaled in to 8kHz mono. */ - strm->play_buf = (pj_int16_t*)pj_pool_zalloc( - pool, - (strm->param.samples_per_frame / - strm->resample_factor / - strm->param.channel_count) << 1); - strm->play_buf_len = 0; - strm->play_buf_start = 0; - - /* rec_buf size is samples per frame scaled in to 8kHz mono. */ - strm->rec_buf = (pj_int16_t*)pj_pool_zalloc( - pool, - (strm->param.samples_per_frame / - strm->resample_factor / - strm->param.channel_count) << 1); - strm->rec_buf_len = 0; - - if (strm->param.ext_fmt.id == PJMEDIA_FORMAT_G729) { - TBitStream *g729_bitstream = new TBitStream; - - PJ_ASSERT_RETURN(g729_bitstream, PJ_ENOMEM); - strm->strm_data = (void*)g729_bitstream; - } - - /* Init resampler when format is PCM and clock rate is not 8kHz */ - if (strm->param.clock_rate != 8000 && - strm->param.ext_fmt.id == PJMEDIA_FORMAT_L16) - { - pj_status_t status; - - if (strm->param.dir & PJMEDIA_DIR_CAPTURE) { - /* Create resample for recorder */ - status = pjmedia_resample_create( pool, PJ_TRUE, PJ_FALSE, 1, - 8000, - strm->param.clock_rate, - 80, - &strm->rec_resample); - if (status != PJ_SUCCESS) - return status; - } - - if (strm->param.dir & PJMEDIA_DIR_PLAYBACK) { - /* Create resample for player */ - status = pjmedia_resample_create( pool, PJ_TRUE, PJ_FALSE, 1, - strm->param.clock_rate, - 8000, - 80 * strm->resample_factor, - &strm->play_resample); - if (status != PJ_SUCCESS) - return status; - } - } - - /* Create PCM buffer, when the clock rate is not 8kHz or not mono */ - if (strm->param.ext_fmt.id == PJMEDIA_FORMAT_L16 && - (strm->resample_factor > 1 || strm->param.channel_count != 1)) - { - strm->pcm_buf = (pj_int16_t*)pj_pool_zalloc(pool, - strm->param.samples_per_frame << 1); - } - - - /* Create the audio engine. */ - TRAPD(err, strm->engine = CPjAudioEngine::NewL(strm, - vas_rec_cb, vas_play_cb, - strm, vas_setting)); - if (err != KErrNone) { - pj_pool_release(pool); - return PJ_RETURN_OS_ERROR(err); - } - - /* Done */ - strm->base.op = &stream_op; - *p_aud_strm = &strm->base; - - return PJ_SUCCESS; -} - -/* API: Get stream info. */ -static pj_status_t stream_get_param(pjmedia_aud_stream *s, - pjmedia_aud_param *pi) -{ - struct vas_stream *strm = (struct vas_stream*)s; - - PJ_ASSERT_RETURN(strm && pi, PJ_EINVAL); - - pj_memcpy(pi, &strm->param, sizeof(*pi)); - - /* Update the output volume setting */ - if (stream_get_cap(s, PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING, - &pi->output_vol) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING; - } - - return PJ_SUCCESS; -} - -/* API: get capability */ -static pj_status_t stream_get_cap(pjmedia_aud_stream *s, - pjmedia_aud_dev_cap cap, - void *pval) -{ - struct vas_stream *strm = (struct vas_stream*)s; - pj_status_t status = PJ_ENOTSUP; - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - switch (cap) { - case PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE: - if (strm->param.dir & PJMEDIA_DIR_PLAYBACK) { - *(pjmedia_aud_dev_route*)pval = strm->param.output_route; - status = PJ_SUCCESS; - } - break; - - /* There is a case that GetMaxGain() stucks, e.g: in N95. */ - /* - case PJMEDIA_AUD_DEV_CAP_INPUT_VOLUME_SETTING: - if (strm->param.dir & PJMEDIA_DIR_CAPTURE) { - PJ_ASSERT_RETURN(strm->engine, PJ_EINVAL); - - TInt max_gain = strm->engine->GetMaxGain(); - TInt gain = strm->engine->GetGain(); - - if (max_gain > 0 && gain >= 0) { - *(unsigned*)pval = gain * 100 / max_gain; - status = PJ_SUCCESS; - } else { - status = PJMEDIA_EAUD_NOTREADY; - } - } - break; - */ - - case PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING: - if (strm->param.dir & PJMEDIA_DIR_PLAYBACK) { - PJ_ASSERT_RETURN(strm->engine, PJ_EINVAL); - - TInt max_vol = strm->engine->GetMaxVolume(); - TInt vol = strm->engine->GetVolume(); - - if (max_vol > 0 && vol >= 0) { - *(unsigned*)pval = vol * 100 / max_vol; - status = PJ_SUCCESS; - } else { - status = PJMEDIA_EAUD_NOTREADY; - } - } - break; - default: - break; - } - - return status; -} - -/* API: set capability */ -static pj_status_t stream_set_cap(pjmedia_aud_stream *s, - pjmedia_aud_dev_cap cap, - const void *pval) -{ - struct vas_stream *strm = (struct vas_stream*)s; - pj_status_t status = PJ_ENOTSUP; - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - switch (cap) { - case PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE: - if (strm->param.dir & PJMEDIA_DIR_PLAYBACK) { - pjmedia_aud_dev_route r = *(const pjmedia_aud_dev_route*)pval; - TInt err; - - PJ_ASSERT_RETURN(strm->engine, PJ_EINVAL); - - switch (r) { - case PJMEDIA_AUD_DEV_ROUTE_DEFAULT: - case PJMEDIA_AUD_DEV_ROUTE_EARPIECE: - err = strm->engine->ActivateSpeaker(EFalse); - status = (err==KErrNone)? PJ_SUCCESS:PJ_RETURN_OS_ERROR(err); - break; - case PJMEDIA_AUD_DEV_ROUTE_LOUDSPEAKER: - err = strm->engine->ActivateSpeaker(ETrue); - status = (err==KErrNone)? PJ_SUCCESS:PJ_RETURN_OS_ERROR(err); - break; - default: - status = PJ_EINVAL; - break; - } - if (status == PJ_SUCCESS) - strm->param.output_route = r; - } - break; - - /* There is a case that GetMaxGain() stucks, e.g: in N95. */ - /* - case PJMEDIA_AUD_DEV_CAP_INPUT_VOLUME_SETTING: - if (strm->param.dir & PJMEDIA_DIR_CAPTURE) { - PJ_ASSERT_RETURN(strm->engine, PJ_EINVAL); - - TInt max_gain = strm->engine->GetMaxGain(); - if (max_gain > 0) { - TInt gain, err; - - gain = *(unsigned*)pval * max_gain / 100; - err = strm->engine->SetGain(gain); - status = (err==KErrNone)? PJ_SUCCESS:PJ_RETURN_OS_ERROR(err); - } else { - status = PJMEDIA_EAUD_NOTREADY; - } - if (status == PJ_SUCCESS) - strm->param.input_vol = *(unsigned*)pval; - } - break; - */ - - case PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING: - if (strm->param.dir & PJMEDIA_DIR_PLAYBACK) { - PJ_ASSERT_RETURN(strm->engine, PJ_EINVAL); - - TInt max_vol = strm->engine->GetMaxVolume(); - if (max_vol > 0) { - TInt vol, err; - - vol = *(unsigned*)pval * max_vol / 100; - err = strm->engine->SetVolume(vol); - status = (err==KErrNone)? PJ_SUCCESS:PJ_RETURN_OS_ERROR(err); - } else { - status = PJMEDIA_EAUD_NOTREADY; - } - if (status == PJ_SUCCESS) - strm->param.output_vol = *(unsigned*)pval; - } - break; - default: - break; - } - - return status; -} - -/* API: Start stream. */ -static pj_status_t stream_start(pjmedia_aud_stream *strm) -{ - struct vas_stream *stream = (struct vas_stream*)strm; - - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - if (stream->engine) { - enum { VAS_WAIT_START = 2000 }; /* in msecs */ - TTime start, now; - TInt err = stream->engine->Start(); - - if (err != KErrNone) - return PJ_RETURN_OS_ERROR(err); - - /* Perform synchronous start, timeout after VAS_WAIT_START ms */ - start.UniversalTime(); - do { - pj_symbianos_poll(-1, 100); - now.UniversalTime(); - } while (!stream->engine->IsStarted() && - (now.MicroSecondsFrom(start) < VAS_WAIT_START * 1000)); - - if (stream->engine->IsStarted()) { - - /* Apply output volume setting if specified */ - if (stream->param.flags & - PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING) - { - stream_set_cap(strm, - PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING, - &stream->param.output_vol); - } - - return PJ_SUCCESS; - } else { - return PJ_ETIMEDOUT; - } - } - - return PJ_EINVALIDOP; -} - -/* API: Stop stream. */ -static pj_status_t stream_stop(pjmedia_aud_stream *strm) -{ - struct vas_stream *stream = (struct vas_stream*)strm; - - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - if (stream->engine) { - stream->engine->Stop(); - } - - return PJ_SUCCESS; -} - - -/* API: Destroy stream. */ -static pj_status_t stream_destroy(pjmedia_aud_stream *strm) -{ - struct vas_stream *stream = (struct vas_stream*)strm; - - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - stream_stop(strm); - - delete stream->engine; - stream->engine = NULL; - - if (stream->param.ext_fmt.id == PJMEDIA_FORMAT_G729) { - TBitStream *g729_bitstream = (TBitStream*)stream->strm_data; - stream->strm_data = NULL; - delete g729_bitstream; - } - - pj_pool_t *pool; - pool = stream->pool; - if (pool) { - stream->pool = NULL; - pj_pool_release(pool); - } - - return PJ_SUCCESS; -} - -#endif // PJMEDIA_AUDIO_DEV_HAS_SYMB_VAS - diff --git a/res/pjproject/pjmedia/src/pjmedia-audiodev/wmme_dev.c b/res/pjproject/pjmedia/src/pjmedia-audiodev/wmme_dev.c deleted file mode 100644 index 3a01022612..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-audiodev/wmme_dev.c +++ /dev/null @@ -1,1524 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - -#if PJMEDIA_AUDIO_DEV_HAS_WMME - -#ifdef _MSC_VER -# pragma warning(push, 3) -#endif - -#include -#include -#include - -#ifdef _MSC_VER -# pragma warning(pop) -#endif - -#ifndef PJMEDIA_WMME_DEV_USE_MMDEVICE_API -# define PJMEDIA_WMME_DEV_USE_MMDEVICE_API \ - (defined(_WIN32_WINNT) && (_WIN32_WINNT>=0x0600)) -#endif - -#if PJMEDIA_WMME_DEV_USE_MMDEVICE_API != 0 -# define DRV_QUERYFUNCTIONINSTANCEID (DRV_RESERVED + 17) -# define DRV_QUERYFUNCTIONINSTANCEIDSIZE (DRV_RESERVED + 18) -#endif - -/* mingw lacks WAVE_FORMAT_ALAW/MULAW */ -#ifndef WAVE_FORMAT_ALAW -# define WAVE_FORMAT_ALAW 0x0006 -#endif -#ifndef WAVE_FORMAT_MULAW -# define WAVE_FORMAT_MULAW 0x0007 -#endif - -#if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0 -# pragma comment(lib, "Coredll.lib") -#elif defined(_MSC_VER) -# pragma comment(lib, "winmm.lib") -#endif - - -#define THIS_FILE "wmme_dev.c" - -/* WMME device info */ -struct wmme_dev_info -{ - pjmedia_aud_dev_info info; - unsigned deviceId; - const wchar_t *endpointId; -}; - -/* WMME factory */ -struct wmme_factory -{ - pjmedia_aud_dev_factory base; - pj_pool_t *base_pool; - pj_pool_t *pool; - pj_pool_factory *pf; - - unsigned dev_count; - struct wmme_dev_info *dev_info; -}; - - -/* Individual WMME capture/playback stream descriptor */ -struct wmme_channel -{ - union - { - HWAVEIN In; - HWAVEOUT Out; - } hWave; - - WAVEHDR *WaveHdr; - HANDLE hEvent; - DWORD dwBufIdx; - DWORD dwMaxBufIdx; - pj_timestamp timestamp; -}; - - -/* Sound stream. */ -struct wmme_stream -{ - pjmedia_aud_stream base; /**< Base stream */ - pjmedia_aud_param param; /**< Settings */ - pj_pool_t *pool; /**< Memory pool. */ - - pjmedia_aud_rec_cb rec_cb; /**< Capture callback. */ - pjmedia_aud_play_cb play_cb; /**< Playback callback. */ - void *user_data; /**< Application data. */ - - struct wmme_channel play_strm; /**< Playback stream. */ - struct wmme_channel rec_strm; /**< Capture stream. */ - - void *buffer; /**< Temp. frame buffer. */ - pjmedia_format_id fmt_id; /**< Frame format */ - pj_uint8_t silence_char; /**< Silence pattern */ - unsigned bytes_per_frame; /**< Bytes per frame */ - - pjmedia_frame_ext *xfrm; /**< Extended frame buffer */ - unsigned xfrm_size; /**< Total ext frm size */ - - pj_thread_t *thread; /**< Thread handle. */ - HANDLE thread_quit_event; /**< Quit signal to thread */ -}; - - -/* Prototypes */ -static pj_status_t factory_init(pjmedia_aud_dev_factory *f); -static pj_status_t factory_destroy(pjmedia_aud_dev_factory *f); -static pj_status_t factory_refresh(pjmedia_aud_dev_factory *f); -static unsigned factory_get_dev_count(pjmedia_aud_dev_factory *f); -static pj_status_t factory_get_dev_info(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_dev_info *info); -static pj_status_t factory_default_param(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_param *param); -static pj_status_t factory_create_stream(pjmedia_aud_dev_factory *f, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_aud_strm); - -static pj_status_t stream_get_param(pjmedia_aud_stream *strm, - pjmedia_aud_param *param); -static pj_status_t stream_get_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - void *value); -static pj_status_t stream_set_cap(pjmedia_aud_stream *strm, - pjmedia_aud_dev_cap cap, - const void *value); -static pj_status_t stream_start(pjmedia_aud_stream *strm); -static pj_status_t stream_stop(pjmedia_aud_stream *strm); -static pj_status_t stream_destroy(pjmedia_aud_stream *strm); - - -/* Operations */ -static pjmedia_aud_dev_factory_op factory_op = -{ - &factory_init, - &factory_destroy, - &factory_get_dev_count, - &factory_get_dev_info, - &factory_default_param, - &factory_create_stream, - &factory_refresh -}; - -static pjmedia_aud_stream_op stream_op = -{ - &stream_get_param, - &stream_get_cap, - &stream_set_cap, - &stream_start, - &stream_stop, - &stream_destroy -}; - - -/**************************************************************************** - * Factory operations - */ -/* - * Init WMME audio driver. - */ -pjmedia_aud_dev_factory* pjmedia_wmme_factory(pj_pool_factory *pf) -{ - struct wmme_factory *f; - pj_pool_t *pool; - - pool = pj_pool_create(pf, "WMME base", 1000, 1000, NULL); - f = PJ_POOL_ZALLOC_T(pool, struct wmme_factory); - f->pf = pf; - f->base_pool = pool; - f->base.op = &factory_op; - - return &f->base; -} - -/* Internal: Windows Vista and Windows 7 have their device - * names truncated when using the waveXXX api. The names - * should be acquired from the MMDevice APIs - */ -#if PJMEDIA_WMME_DEV_USE_MMDEVICE_API != 0 - -#define COBJMACROS -#include -#define INITGUID -#include -#include - -DEFINE_GUID(CLSID_MMDeviceEnumerator, 0xBCDE0395, 0xE52F, 0x467C, - 0x8E, 0x3D, 0xC4, 0x57, 0x92, 0x91, 0x69, 0x2E); -DEFINE_GUID(IID_IMMDeviceEnumerator, 0xA95664D2, 0x9614, 0x4F35, - 0xA7, 0x46, 0xDE, 0x8D, 0xB6, 0x36, 0x17, 0xE6); - -static void get_dev_names(pjmedia_aud_dev_factory *f) -{ - struct wmme_factory *wf = (struct wmme_factory*)f; - HRESULT coinit = S_OK; - HRESULT hr = S_OK; - IMMDeviceEnumerator *pEnumerator = NULL; - IMMDeviceCollection *pDevices = NULL; - UINT cDevices = 0; - UINT nDevice = 0; - - coinit = CoInitializeEx(NULL, COINIT_MULTITHREADED); - if (coinit == RPC_E_CHANGED_MODE) - coinit = CoInitializeEx(NULL, COINIT_APARTMENTTHREADED); - if (FAILED(coinit)) - goto on_error; - - hr = CoCreateInstance(&CLSID_MMDeviceEnumerator, NULL, - CLSCTX_INPROC_SERVER, &IID_IMMDeviceEnumerator, - (void**)&pEnumerator); - if (FAILED(hr)) - goto on_error; - hr = IMMDeviceEnumerator_EnumAudioEndpoints(pEnumerator, eAll, - DEVICE_STATE_ACTIVE, - &pDevices); - if (FAILED(hr)) - goto on_error; - hr = IMMDeviceCollection_GetCount(pDevices, &cDevices); - if (FAILED(hr)) - goto on_error; - - for (nDevice = 0; nDevice < cDevices; ++nDevice) { - IMMDevice *pDevice = NULL; - IPropertyStore *pProps = NULL; - LPWSTR pwszID = NULL; - PROPVARIANT varName; - unsigned i; - - PropVariantInit(&varName); - - hr = IMMDeviceCollection_Item(pDevices, nDevice, &pDevice); - if (FAILED(hr)) - goto cleanup; - hr = IMMDevice_GetId(pDevice, &pwszID); - if (FAILED(hr)) - goto cleanup; - hr = IMMDevice_OpenPropertyStore(pDevice, STGM_READ, &pProps); - if (FAILED(hr)) - goto cleanup; - hr = IPropertyStore_GetValue(pProps, &PKEY_Device_FriendlyName, - &varName); - if (FAILED(hr)) - goto cleanup; - - for (i = 0; i < wf->dev_count; ++i) { - if (0 == wcscmp(wf->dev_info[i].endpointId, pwszID)) { - wcstombs(wf->dev_info[i].info.name, varName.pwszVal, - sizeof(wf->dev_info[i].info.name)); - break; - } - } - - PropVariantClear(&varName); - - cleanup: - if (pProps) - IPropertyStore_Release(pProps); - if (pwszID) - CoTaskMemFree(pwszID); - if (pDevice) - hr = IMMDevice_Release(pDevice); - } - -on_error: - if (pDevices) - hr = IMMDeviceCollection_Release(pDevices); - - if (pEnumerator) - hr = IMMDeviceEnumerator_Release(pEnumerator); - - if (SUCCEEDED(coinit)) - CoUninitialize(); -} - -#else - -static void get_dev_names(pjmedia_aud_dev_factory *f) -{ - PJ_UNUSED_ARG(f); -} - -#endif - -/* Internal: build device info from WAVEINCAPS/WAVEOUTCAPS */ -static void build_dev_info(UINT deviceId, struct wmme_dev_info *wdi, - const WAVEINCAPS *wic, const WAVEOUTCAPS *woc) -{ -#define WIC_WOC(wic,woc,field) (wic? wic->field : woc->field) - - pj_bzero(wdi, sizeof(*wdi)); - wdi->deviceId = deviceId; - - /* Device Name */ - if (deviceId==WAVE_MAPPER) { - strncpy(wdi->info.name, "Wave mapper", sizeof(wdi->info.name)); - wdi->info.name[sizeof(wdi->info.name)-1] = '\0'; - } else { - const pj_char_t *szPname = WIC_WOC(wic, woc, szPname); - PJ_DECL_ANSI_TEMP_BUF(wTmp, sizeof(wdi->info.name)); - - strncpy(wdi->info.name, - PJ_NATIVE_TO_STRING(szPname, wTmp, PJ_ARRAY_SIZE(wTmp)), - sizeof(wdi->info.name)); - wdi->info.name[sizeof(wdi->info.name)-1] = '\0'; - } - - wdi->info.default_samples_per_sec = 16000; - strcpy(wdi->info.driver, "WMME"); - - if (wic) { - wdi->info.input_count = wic->wChannels; - wdi->info.caps |= PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY; - - /* Sometimes a device can return a rediculously large number of - * channels. This happened with an SBLive card on a Windows ME box. - * It also happens on Win XP! - */ - if (wdi->info.input_count<1 || wdi->info.input_count>256) { - wdi->info.input_count = 2; - } - } - - if (woc) { - wdi->info.output_count = woc->wChannels; - wdi->info.caps |= PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY; - - if (woc->dwSupport & WAVECAPS_VOLUME) { - wdi->info.caps |= PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING; - } - - /* Sometimes a device can return a rediculously large number of - * channels. This happened with an SBLive card on a Windows ME box. - * It also happens on Win XP! - */ - if (wdi->info.output_count<1 || wdi->info.output_count>256) { - wdi->info.output_count = 2; - } - } - - /* Extended formats */ - wdi->info.caps |= PJMEDIA_AUD_DEV_CAP_EXT_FORMAT; - wdi->info.ext_fmt_cnt = 2; - pjmedia_format_init_audio(&wdi->info.ext_fmt[0], - PJMEDIA_FORMAT_PCMU, 8000, 1, 8, - 20000, 64000, 64000); - pjmedia_format_init_audio(&wdi->info.ext_fmt[0], - PJMEDIA_FORMAT_PCMA, 8000, 1, 8, - 20000, 64000, 64000); -} - -/* API: init factory */ -static pj_status_t factory_init(pjmedia_aud_dev_factory *f) -{ - pj_status_t ret = factory_refresh(f); - if (ret != PJ_SUCCESS) - return ret; - - PJ_LOG(4, (THIS_FILE, "WMME initialized")); - return PJ_SUCCESS; -} - -/* API: refresh the device list */ -static pj_status_t factory_refresh(pjmedia_aud_dev_factory *f) -{ - struct wmme_factory *wf = (struct wmme_factory*)f; - unsigned c; - int i; - int inputDeviceCount, outputDeviceCount, devCount=0; - pj_bool_t waveMapperAdded = PJ_FALSE; - - if (wf->pool != NULL) { - pj_pool_release(wf->pool); - wf->pool = NULL; - } - - /* Enumerate sound devices */ - wf->dev_count = 0; - wf->pool = pj_pool_create(wf->pf, "WMME", 1000, 1000, NULL); - - inputDeviceCount = waveInGetNumDevs(); - devCount += inputDeviceCount; - - outputDeviceCount = waveOutGetNumDevs(); - devCount += outputDeviceCount; - - if (devCount) { - /* Assume there is WAVE_MAPPER */ - devCount += 2; - } - - if (devCount==0) { - PJ_LOG(4,(THIS_FILE, "WMME found no sound devices")); - /* Enabling this will cause pjsua-lib initialization to fail when there - * is no sound device installed in the system, even when pjsua has been - * run with --null-audio. Moreover, it might be better to think that - * the WMME backend initialization is successfull, regardless there is - * no audio device installed, as later application can check it using - * get_dev_count(). - return PJMEDIA_EAUD_NODEV; - */ - return PJ_SUCCESS; - } - - wf->dev_info = (struct wmme_dev_info*) - pj_pool_calloc(wf->pool, devCount, - sizeof(struct wmme_dev_info)); - - if (inputDeviceCount && outputDeviceCount) { - /* Attempt to add WAVE_MAPPER as input and output device */ - WAVEINCAPS wic; - MMRESULT mr; - - pj_bzero(&wic, sizeof(WAVEINCAPS)); - mr = waveInGetDevCaps(WAVE_MAPPER, &wic, sizeof(WAVEINCAPS)); - - if (mr == MMSYSERR_NOERROR) { - WAVEOUTCAPS woc; - - pj_bzero(&woc, sizeof(WAVEOUTCAPS)); - mr = waveOutGetDevCaps(WAVE_MAPPER, &woc, sizeof(WAVEOUTCAPS)); - if (mr == MMSYSERR_NOERROR) { - build_dev_info(WAVE_MAPPER, &wf->dev_info[wf->dev_count], - &wic, &woc); - wf->dev_info[wf->dev_count].endpointId = L""; - ++wf->dev_count; - waveMapperAdded = PJ_TRUE; - } - } - - } - - if (inputDeviceCount > 0) { - /* -1 is the WAVE_MAPPER */ - for (i = (waveMapperAdded? 0 : -1); i < inputDeviceCount; ++i) { - UINT uDeviceID = (UINT)((i==-1) ? WAVE_MAPPER : i); - WAVEINCAPS wic; - MMRESULT mr; - DWORD cbEndpointId; - - pj_bzero(&wic, sizeof(WAVEINCAPS)); - - mr = waveInGetDevCaps(uDeviceID, &wic, sizeof(WAVEINCAPS)); - - if (mr == MMSYSERR_NOMEM) - return PJ_ENOMEM; - - if (mr != MMSYSERR_NOERROR) - continue; - - build_dev_info(uDeviceID, &wf->dev_info[wf->dev_count], - &wic, NULL); - -#if PJMEDIA_WMME_DEV_USE_MMDEVICE_API != 0 - /* Try to get the endpoint id of the audio device */ - wf->dev_info[wf->dev_count].endpointId = L""; - - mr = waveInMessage((HWAVEIN)IntToPtr(uDeviceID), - DRV_QUERYFUNCTIONINSTANCEIDSIZE, - (DWORD_PTR)&cbEndpointId, (DWORD_PTR)NULL); - if (mr == MMSYSERR_NOERROR) { - const wchar_t **epid = &wf->dev_info[wf->dev_count].endpointId; - *epid = (const wchar_t*) pj_pool_calloc(wf->pool, - cbEndpointId, 1); - mr = waveInMessage((HWAVEIN)IntToPtr(uDeviceID), - DRV_QUERYFUNCTIONINSTANCEID, - (DWORD_PTR)*epid, - cbEndpointId); - } -#else - PJ_UNUSED_ARG(cbEndpointId); -#endif - - ++wf->dev_count; - } - } - - if( outputDeviceCount > 0 ) - { - /* -1 is the WAVE_MAPPER */ - for (i = (waveMapperAdded? 0 : -1); i < outputDeviceCount; ++i) { - UINT uDeviceID = (UINT)((i==-1) ? WAVE_MAPPER : i); - WAVEOUTCAPS woc; - MMRESULT mr; - DWORD cbEndpointId; - - pj_bzero(&woc, sizeof(WAVEOUTCAPS)); - - mr = waveOutGetDevCaps(uDeviceID, &woc, sizeof(WAVEOUTCAPS)); - - if (mr == MMSYSERR_NOMEM) - return PJ_ENOMEM; - - if (mr != MMSYSERR_NOERROR) - continue; - - build_dev_info(uDeviceID, &wf->dev_info[wf->dev_count], - NULL, &woc); - -#if PJMEDIA_WMME_DEV_USE_MMDEVICE_API != 0 - /* Try to get the endpoint id of the audio device */ - wf->dev_info[wf->dev_count].endpointId = L""; - - mr = waveOutMessage((HWAVEOUT)IntToPtr(uDeviceID), - DRV_QUERYFUNCTIONINSTANCEIDSIZE, - (DWORD_PTR)&cbEndpointId, (DWORD_PTR)NULL); - if (mr == MMSYSERR_NOERROR) { - const wchar_t **epid = &wf->dev_info[wf->dev_count].endpointId; - *epid = (const wchar_t*)pj_pool_calloc(wf->pool, - cbEndpointId, 1); - mr = waveOutMessage((HWAVEOUT)IntToPtr(uDeviceID), - DRV_QUERYFUNCTIONINSTANCEID, - (DWORD_PTR)*epid, cbEndpointId); - } -#else - PJ_UNUSED_ARG(cbEndpointId); -#endif - - ++wf->dev_count; - } - } - - /* On Windows Vista and Windows 7 get the full device names */ - get_dev_names(f); - - PJ_LOG(4, (THIS_FILE, "WMME found %d devices:", - wf->dev_count)); - for (c = 0; c < wf->dev_count; ++c) { - PJ_LOG(4, (THIS_FILE, " dev_id %d: %s (in=%d, out=%d)", - c, - wf->dev_info[c].info.name, - wf->dev_info[c].info.input_count, - wf->dev_info[c].info.output_count)); - } - - return PJ_SUCCESS; -} - -/* API: destroy factory */ -static pj_status_t factory_destroy(pjmedia_aud_dev_factory *f) -{ - struct wmme_factory *wf = (struct wmme_factory*)f; - pj_pool_t *pool = wf->base_pool; - - pj_pool_release(wf->pool); - wf->base_pool = NULL; - pj_pool_release(pool); - - return PJ_SUCCESS; -} - -/* API: get number of devices */ -static unsigned factory_get_dev_count(pjmedia_aud_dev_factory *f) -{ - struct wmme_factory *wf = (struct wmme_factory*)f; - return wf->dev_count; -} - -/* API: get device info */ -static pj_status_t factory_get_dev_info(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_dev_info *info) -{ - struct wmme_factory *wf = (struct wmme_factory*)f; - - PJ_ASSERT_RETURN(index < wf->dev_count, PJMEDIA_EAUD_INVDEV); - - pj_memcpy(info, &wf->dev_info[index].info, sizeof(*info)); - - return PJ_SUCCESS; -} - -/* API: create default device parameter */ -static pj_status_t factory_default_param(pjmedia_aud_dev_factory *f, - unsigned index, - pjmedia_aud_param *param) -{ - struct wmme_factory *wf = (struct wmme_factory*)f; - struct wmme_dev_info *di = &wf->dev_info[index]; - - PJ_ASSERT_RETURN(index < wf->dev_count, PJMEDIA_EAUD_INVDEV); - - pj_bzero(param, sizeof(*param)); - if (di->info.input_count && di->info.output_count) { - param->dir = PJMEDIA_DIR_CAPTURE_PLAYBACK; - param->rec_id = index; - param->play_id = index; - } else if (di->info.input_count) { - param->dir = PJMEDIA_DIR_CAPTURE; - param->rec_id = index; - param->play_id = PJMEDIA_AUD_INVALID_DEV; - } else if (di->info.output_count) { - param->dir = PJMEDIA_DIR_PLAYBACK; - param->play_id = index; - param->rec_id = PJMEDIA_AUD_INVALID_DEV; - } else { - return PJMEDIA_EAUD_INVDEV; - } - - param->clock_rate = di->info.default_samples_per_sec; - param->channel_count = 1; - param->samples_per_frame = di->info.default_samples_per_sec * 20 / 1000; - param->bits_per_sample = 16; - param->flags = PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY | - PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY; - param->input_latency_ms = PJMEDIA_SND_DEFAULT_REC_LATENCY; - param->output_latency_ms = PJMEDIA_SND_DEFAULT_PLAY_LATENCY; - - return PJ_SUCCESS; -} - -/* Internal: init WAVEFORMATEX */ -static pj_status_t init_waveformatex(LPWAVEFORMATEX wfx, - const pjmedia_aud_param *prm) -{ - - pj_bzero(wfx, sizeof(WAVEFORMATEX)); - if (prm->ext_fmt.id == PJMEDIA_FORMAT_L16) { - enum { BYTES_PER_SAMPLE = 2 }; - wfx->wFormatTag = WAVE_FORMAT_PCM; - wfx->nChannels = (pj_uint16_t)prm->channel_count; - wfx->nSamplesPerSec = prm->clock_rate; - wfx->nBlockAlign = (pj_uint16_t)(prm->channel_count * - BYTES_PER_SAMPLE); - wfx->nAvgBytesPerSec = prm->clock_rate * prm->channel_count * - BYTES_PER_SAMPLE; - wfx->wBitsPerSample = 16; - - return PJ_SUCCESS; - - } else if ((prm->flags & PJMEDIA_AUD_DEV_CAP_EXT_FORMAT) && - (prm->ext_fmt.id == PJMEDIA_FORMAT_PCMA || - prm->ext_fmt.id == PJMEDIA_FORMAT_PCMU)) - { - unsigned ptime; - - ptime = prm->samples_per_frame * 1000 / - (prm->clock_rate * prm->channel_count); - wfx->wFormatTag = (pj_uint16_t) - ((prm->ext_fmt.id==PJMEDIA_FORMAT_PCMA) ? - WAVE_FORMAT_ALAW : WAVE_FORMAT_MULAW); - wfx->nChannels = (pj_uint16_t)prm->channel_count; - wfx->nSamplesPerSec = prm->clock_rate; - wfx->nAvgBytesPerSec = prm->clock_rate * prm->channel_count; - wfx->nBlockAlign = (pj_uint16_t)(wfx->nAvgBytesPerSec * ptime / - 1000); - wfx->wBitsPerSample = 8; - wfx->cbSize = 0; - - return PJ_SUCCESS; - - } else { - - return PJMEDIA_EAUD_BADFORMAT; - - } -} - -/* Get format name */ -static const char *get_fmt_name(pj_uint32_t id) -{ - static char name[8]; - - if (id == PJMEDIA_FORMAT_L16) - return "PCM"; - pj_memcpy(name, &id, 4); - name[4] = '\0'; - return name; -} - -/* Internal: create WMME player device. */ -static pj_status_t init_player_stream( struct wmme_factory *wf, - pj_pool_t *pool, - struct wmme_stream *parent, - struct wmme_channel *wmme_strm, - const pjmedia_aud_param *prm, - unsigned buffer_count) -{ - MMRESULT mr; - WAVEFORMATEX wfx; - unsigned i, ptime; - DWORD flag; - pj_status_t status; - - PJ_ASSERT_RETURN(prm->play_id < (int)wf->dev_count, PJ_EINVAL); - - /* - * Create a wait event. - */ - wmme_strm->hEvent = CreateEvent(NULL, FALSE, FALSE, NULL); - if (NULL == wmme_strm->hEvent) - return pj_get_os_error(); - - /* - * Set up wave format structure for opening the device. - */ - status = init_waveformatex(&wfx, prm); - if (status != PJ_SUCCESS) - return status; - - ptime = prm->samples_per_frame * 1000 / - (prm->clock_rate * prm->channel_count); - parent->bytes_per_frame = wfx.nAvgBytesPerSec * ptime / 1000; - - flag = CALLBACK_EVENT; - if (prm->ext_fmt.id == PJMEDIA_FORMAT_L16) - flag |= WAVE_FORMAT_DIRECT; - - /* - * Open wave device. - */ - mr = waveOutOpen(&wmme_strm->hWave.Out, - wf->dev_info[prm->play_id].deviceId, - &wfx, (DWORD)wmme_strm->hEvent, 0, flag); - if (mr != MMSYSERR_NOERROR) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_WMME_OUT(mr); - } - - /* Pause the wave out device */ - mr = waveOutPause(wmme_strm->hWave.Out); - if (mr != MMSYSERR_NOERROR) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_WMME_OUT(mr); - } - - /* - * Create the buffers. - */ - wmme_strm->WaveHdr = (WAVEHDR*) - pj_pool_zalloc(pool, sizeof(WAVEHDR) * buffer_count); - for (i = 0; i < buffer_count; ++i) { - wmme_strm->WaveHdr[i].lpData = pj_pool_zalloc(pool, - parent->bytes_per_frame); - wmme_strm->WaveHdr[i].dwBufferLength = parent->bytes_per_frame; - mr = waveOutPrepareHeader(wmme_strm->hWave.Out, - &(wmme_strm->WaveHdr[i]), - sizeof(WAVEHDR)); - if (mr != MMSYSERR_NOERROR) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_WMME_OUT(mr); - } - mr = waveOutWrite(wmme_strm->hWave.Out, &(wmme_strm->WaveHdr[i]), - sizeof(WAVEHDR)); - if (mr != MMSYSERR_NOERROR) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_WMME_OUT(mr); - } - } - - wmme_strm->dwBufIdx = 0; - wmme_strm->dwMaxBufIdx = buffer_count; - wmme_strm->timestamp.u64 = 0; - - /* Done setting up play device. */ - PJ_LOG(4, (THIS_FILE, - " WaveAPI Sound player \"%s\" initialized (" - "format=%s, clock_rate=%d, " - "channel_count=%d, samples_per_frame=%d (%dms))", - wf->dev_info[prm->play_id].info.name, - get_fmt_name(prm->ext_fmt.id), - prm->clock_rate, prm->channel_count, prm->samples_per_frame, - prm->samples_per_frame * 1000 / prm->clock_rate)); - - return PJ_SUCCESS; -} - - -/* Internal: create Windows Multimedia recorder device */ -static pj_status_t init_capture_stream( struct wmme_factory *wf, - pj_pool_t *pool, - struct wmme_stream *parent, - struct wmme_channel *wmme_strm, - const pjmedia_aud_param *prm, - unsigned buffer_count) -{ - MMRESULT mr; - WAVEFORMATEX wfx; - DWORD flag; - unsigned i, ptime; - - PJ_ASSERT_RETURN(prm->rec_id < (int)wf->dev_count, PJ_EINVAL); - - /* - * Create a wait event. - */ - wmme_strm->hEvent = CreateEvent(NULL, FALSE, FALSE, NULL); - if (NULL == wmme_strm->hEvent) { - return pj_get_os_error(); - } - - /* - * Set up wave format structure for opening the device. - */ - init_waveformatex(&wfx, prm); - ptime = prm->samples_per_frame * 1000 / - (prm->clock_rate * prm->channel_count); - parent->bytes_per_frame = wfx.nAvgBytesPerSec * ptime / 1000; - - flag = CALLBACK_EVENT; - if (prm->ext_fmt.id == PJMEDIA_FORMAT_L16) - flag |= WAVE_FORMAT_DIRECT; - - /* - * Open wave device. - */ - mr = waveInOpen(&wmme_strm->hWave.In, - wf->dev_info[prm->rec_id].deviceId, - &wfx, (DWORD)wmme_strm->hEvent, 0, flag); - if (mr != MMSYSERR_NOERROR) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_WMME_IN(mr); - } - - /* - * Create the buffers. - */ - wmme_strm->WaveHdr = (WAVEHDR*) - pj_pool_zalloc(pool, sizeof(WAVEHDR) * buffer_count); - for (i = 0; i < buffer_count; ++i) { - wmme_strm->WaveHdr[i].lpData = pj_pool_zalloc(pool, - parent->bytes_per_frame); - wmme_strm->WaveHdr[i].dwBufferLength = parent->bytes_per_frame; - mr = waveInPrepareHeader(wmme_strm->hWave.In, - &(wmme_strm->WaveHdr[i]), - sizeof(WAVEHDR)); - if (mr != MMSYSERR_NOERROR) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_WMME_IN(mr); - } - mr = waveInAddBuffer(wmme_strm->hWave.In, &(wmme_strm->WaveHdr[i]), - sizeof(WAVEHDR)); - if (mr != MMSYSERR_NOERROR) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_WMME_IN(mr); - } - } - - wmme_strm->dwBufIdx = 0; - wmme_strm->dwMaxBufIdx = buffer_count; - wmme_strm->timestamp.u64 = 0; - - /* Done setting up play device. */ - PJ_LOG(4,(THIS_FILE, - " WaveAPI Sound recorder \"%s\" initialized " - "(format=%s, clock_rate=%d, " - "channel_count=%d, samples_per_frame=%d (%dms))", - wf->dev_info[prm->rec_id].info.name, - get_fmt_name(prm->ext_fmt.id), - prm->clock_rate, prm->channel_count, prm->samples_per_frame, - prm->samples_per_frame * 1000 / prm->clock_rate)); - - return PJ_SUCCESS; -} - - -/* WMME capture and playback thread. */ -static int PJ_THREAD_FUNC wmme_dev_thread(void *arg) -{ - struct wmme_stream *strm = (struct wmme_stream*)arg; - HANDLE events[3]; - unsigned eventCount; - pj_status_t status = PJ_SUCCESS; - static unsigned rec_cnt, play_cnt; - enum { MAX_BURST = 1000 }; - - rec_cnt = play_cnt = 0; - - eventCount = 0; - events[eventCount++] = strm->thread_quit_event; - if (strm->param.dir & PJMEDIA_DIR_PLAYBACK) - events[eventCount++] = strm->play_strm.hEvent; - if (strm->param.dir & PJMEDIA_DIR_CAPTURE) - events[eventCount++] = strm->rec_strm.hEvent; - - - /* Raise self priority. We don't want the audio to be distorted by - * system activity. - */ -#if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE != 0 - if (strm->param.dir & PJMEDIA_DIR_PLAYBACK) - CeSetThreadPriority(GetCurrentThread(), 153); - else - CeSetThreadPriority(GetCurrentThread(), 247); -#else - SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_TIME_CRITICAL); -#endif - - /* - * Loop while not signalled to quit, wait for event objects to be - * signalled by WMME capture and play buffer. - */ - while (status == PJ_SUCCESS) - { - - DWORD rc; - pjmedia_dir signalled_dir; - - /* Swap hWaveIn and hWaveOut to get equal opportunity for both */ - if (eventCount==3) { - HANDLE hTemp = events[2]; - events[2] = events[1]; - events[1] = hTemp; - } - - rc = WaitForMultipleObjects(eventCount, events, FALSE, INFINITE); - if (rc < WAIT_OBJECT_0 || rc >= WAIT_OBJECT_0 + eventCount) - continue; - - if (rc == WAIT_OBJECT_0) - break; - - if (rc == (WAIT_OBJECT_0 + 1)) - { - if (events[1] == strm->play_strm.hEvent) - signalled_dir = PJMEDIA_DIR_PLAYBACK; - else - signalled_dir = PJMEDIA_DIR_CAPTURE; - } - else - { - if (events[2] == strm->play_strm.hEvent) - signalled_dir = PJMEDIA_DIR_PLAYBACK; - else - signalled_dir = PJMEDIA_DIR_CAPTURE; - } - - - if (signalled_dir == PJMEDIA_DIR_PLAYBACK) - { - struct wmme_channel *wmme_strm = &strm->play_strm; - unsigned burst; - - status = PJ_SUCCESS; - - /* - * Windows Multimedia has requested us to feed some frames to - * playback buffer. - */ - - for (burst=0; burstWaveHdr[wmme_strm->dwBufIdx].dwFlags & WHDR_DONE); - ++burst) - { - void *buffer = wmme_strm->WaveHdr[wmme_strm->dwBufIdx].lpData; - pjmedia_frame pcm_frame, *frame; - MMRESULT mr = MMSYSERR_NOERROR; - - //PJ_LOG(5,(THIS_FILE, "Finished writing buffer %d", - // wmme_strm->dwBufIdx)); - - if (strm->fmt_id == PJMEDIA_FORMAT_L16) { - /* PCM mode */ - frame = &pcm_frame; - - frame->type = PJMEDIA_FRAME_TYPE_AUDIO; - frame->size = strm->bytes_per_frame; - frame->buf = buffer; - frame->timestamp.u64 = wmme_strm->timestamp.u64; - frame->bit_info = 0; - } else { - /* Codec mode */ - frame = &strm->xfrm->base; - - strm->xfrm->base.type = PJMEDIA_FRAME_TYPE_EXTENDED; - strm->xfrm->base.size = strm->bytes_per_frame; - strm->xfrm->base.buf = NULL; - strm->xfrm->base.timestamp.u64 = wmme_strm->timestamp.u64; - strm->xfrm->base.bit_info = 0; - } - - /* Get frame from application. */ - //PJ_LOG(5,(THIS_FILE, "xxx %u play_cb", play_cnt++)); - status = (*strm->play_cb)(strm->user_data, frame); - - if (status != PJ_SUCCESS) - break; - - if (strm->fmt_id == PJMEDIA_FORMAT_L16) { - /* PCM mode */ - if (frame->type == PJMEDIA_FRAME_TYPE_NONE) { - pj_bzero(buffer, strm->bytes_per_frame); - } else if (frame->type == PJMEDIA_FRAME_TYPE_EXTENDED) { - pj_assert(!"Frame type not supported"); - } else if (frame->type == PJMEDIA_FRAME_TYPE_AUDIO) { - /* Nothing to do */ - } else { - pj_assert(!"Frame type not supported"); - } - } else { - /* Codec mode */ - if (frame->type == PJMEDIA_FRAME_TYPE_NONE) { - pj_memset(buffer, strm->silence_char, - strm->bytes_per_frame); - } else if (frame->type == PJMEDIA_FRAME_TYPE_EXTENDED) { - unsigned sz; - sz = pjmedia_frame_ext_copy_payload(strm->xfrm, - buffer, - strm->bytes_per_frame); - if (sz < strm->bytes_per_frame) { - pj_memset((char*)buffer+sz, - strm->silence_char, - strm->bytes_per_frame - sz); - } - } else { - pj_assert(!"Frame type not supported"); - } - } - - /* Write to the device. */ - mr = waveOutWrite(wmme_strm->hWave.Out, - &(wmme_strm->WaveHdr[wmme_strm->dwBufIdx]), - sizeof(WAVEHDR)); - if (mr != MMSYSERR_NOERROR) { - status = PJMEDIA_AUDIODEV_ERRNO_FROM_WMME_OUT(mr); - break; - } - - /* Increment position. */ - if (++wmme_strm->dwBufIdx >= wmme_strm->dwMaxBufIdx) - wmme_strm->dwBufIdx = 0; - wmme_strm->timestamp.u64 += strm->param.samples_per_frame / - strm->param.channel_count; - } /* for */ - } - else - { - struct wmme_channel *wmme_strm = &strm->rec_strm; - unsigned burst; - MMRESULT mr = MMSYSERR_NOERROR; - status = PJ_SUCCESS; - - /* - * Windows Multimedia has indicated that it has some frames ready - * in the capture buffer. Get as much frames as possible to - * prevent overflows. - */ -#if 0 - { - static DWORD tc = 0; - DWORD now = GetTickCount(); - DWORD i = 0; - DWORD bits = 0; - - if (tc == 0) tc = now; - - for (i = 0; i < wmme_strm->dwMaxBufIdx; ++i) - { - bits = bits << 4; - bits |= wmme_strm->WaveHdr[i].dwFlags & WHDR_DONE; - } - PJ_LOG(5,(THIS_FILE, "Record Signal> Index: %d, Delta: %4.4d, " - "Flags: %6.6x\n", - wmme_strm->dwBufIdx, - now - tc, - bits)); - tc = now; - } -#endif - - for (burst=0; burstWaveHdr[wmme_strm->dwBufIdx].dwFlags & WHDR_DONE); - ++burst) - { - char* buffer = (char*) - wmme_strm->WaveHdr[wmme_strm->dwBufIdx].lpData; - unsigned cap_len = - wmme_strm->WaveHdr[wmme_strm->dwBufIdx].dwBytesRecorded; - pjmedia_frame pcm_frame, *frame; - - /* - PJ_LOG(5,(THIS_FILE, "Read %d bytes from buffer %d", cap_len, - wmme_strm->dwBufIdx)); - */ - - if (strm->fmt_id == PJMEDIA_FORMAT_L16) { - /* PCM mode */ - if (cap_len < strm->bytes_per_frame) - pj_bzero(buffer + cap_len, - strm->bytes_per_frame - cap_len); - - /* Copy the audio data out of the wave buffer. */ - pj_memcpy(strm->buffer, buffer, strm->bytes_per_frame); - - /* Prepare frame */ - frame = &pcm_frame; - frame->type = PJMEDIA_FRAME_TYPE_AUDIO; - frame->buf = strm->buffer; - frame->size = strm->bytes_per_frame; - frame->timestamp.u64 = wmme_strm->timestamp.u64; - frame->bit_info = 0; - - } else { - /* Codec mode */ - frame = &strm->xfrm->base; - - frame->type = PJMEDIA_FRAME_TYPE_EXTENDED; - frame->buf = NULL; - frame->size = strm->bytes_per_frame; - frame->timestamp.u64 = wmme_strm->timestamp.u64; - frame->bit_info = 0; - - strm->xfrm->samples_cnt = 0; - strm->xfrm->subframe_cnt = 0; - pjmedia_frame_ext_append_subframe( - strm->xfrm, buffer, - strm->bytes_per_frame *8, - strm->param.samples_per_frame - ); - } - - /* Re-add the buffer to the device. */ - mr = waveInAddBuffer(wmme_strm->hWave.In, - &(wmme_strm->WaveHdr[wmme_strm->dwBufIdx]), - sizeof(WAVEHDR)); - if (mr != MMSYSERR_NOERROR) { - status = PJMEDIA_AUDIODEV_ERRNO_FROM_WMME_IN(mr); - break; - } - - - /* Call callback */ - //PJ_LOG(5,(THIS_FILE, "xxx %u rec_cb", rec_cnt++)); - status = (*strm->rec_cb)(strm->user_data, frame); - if (status != PJ_SUCCESS) - break; - - /* Increment position. */ - if (++wmme_strm->dwBufIdx >= wmme_strm->dwMaxBufIdx) - wmme_strm->dwBufIdx = 0; - wmme_strm->timestamp.u64 += strm->param.samples_per_frame / - strm->param.channel_count; - } /* for */ - } - } - - PJ_LOG(5,(THIS_FILE, "WMME: thread stopping..")); - return 0; -} - - -/* API: create stream */ -static pj_status_t factory_create_stream(pjmedia_aud_dev_factory *f, - const pjmedia_aud_param *param, - pjmedia_aud_rec_cb rec_cb, - pjmedia_aud_play_cb play_cb, - void *user_data, - pjmedia_aud_stream **p_aud_strm) -{ - struct wmme_factory *wf = (struct wmme_factory*)f; - pj_pool_t *pool; - struct wmme_stream *strm; - pj_uint8_t silence_char; - pj_status_t status; - - switch (param->ext_fmt.id) { - case PJMEDIA_FORMAT_L16: - silence_char = '\0'; - break; - case PJMEDIA_FORMAT_ALAW: - silence_char = (pj_uint8_t)'\xd5'; - break; - case PJMEDIA_FORMAT_ULAW: - silence_char = (pj_uint8_t)'\xff'; - break; - default: - return PJMEDIA_EAUD_BADFORMAT; - } - - /* Create and Initialize stream descriptor */ - pool = pj_pool_create(wf->pf, "wmme-dev", 1000, 1000, NULL); - PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); - - strm = PJ_POOL_ZALLOC_T(pool, struct wmme_stream); - pj_memcpy(&strm->param, param, sizeof(*param)); - strm->pool = pool; - strm->rec_cb = rec_cb; - strm->play_cb = play_cb; - strm->user_data = user_data; - strm->fmt_id = param->ext_fmt.id; - strm->silence_char = silence_char; - - /* Create player stream */ - if (param->dir & PJMEDIA_DIR_PLAYBACK) { - unsigned buf_count; - - if ((param->flags & PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY)==0) { - strm->param.flags |= PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY; - strm->param.output_latency_ms = PJMEDIA_SND_DEFAULT_PLAY_LATENCY; - } - - buf_count = strm->param.output_latency_ms * param->clock_rate * - param->channel_count / param->samples_per_frame / 1000; - - status = init_player_stream(wf, strm->pool, - strm, - &strm->play_strm, - param, - buf_count); - - if (status != PJ_SUCCESS) { - stream_destroy(&strm->base); - return status; - } - } - - /* Create capture stream */ - if (param->dir & PJMEDIA_DIR_CAPTURE) { - unsigned buf_count; - - if ((param->flags & PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY)==0) { - strm->param.flags |= PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY; - strm->param.input_latency_ms = PJMEDIA_SND_DEFAULT_REC_LATENCY; - } - - buf_count = strm->param.input_latency_ms * param->clock_rate * - param->channel_count / param->samples_per_frame / 1000; - - status = init_capture_stream(wf, strm->pool, - strm, - &strm->rec_strm, - param, - buf_count); - - if (status != PJ_SUCCESS) { - stream_destroy(&strm->base); - return status; - } - } - - strm->buffer = pj_pool_alloc(pool, strm->bytes_per_frame); - if (!strm->buffer) { - pj_pool_release(pool); - return PJ_ENOMEM; - } - - /* If format is extended, must create buffer for the extended frame. */ - if (strm->fmt_id != PJMEDIA_FORMAT_L16) { - strm->xfrm_size = sizeof(pjmedia_frame_ext) + - 32 * sizeof(pjmedia_frame_ext_subframe) + - strm->bytes_per_frame + 4; - strm->xfrm = (pjmedia_frame_ext*) - pj_pool_alloc(pool, strm->xfrm_size); - } - - /* Create the stop event */ - strm->thread_quit_event = CreateEvent(NULL, FALSE, FALSE, NULL); - if (strm->thread_quit_event == NULL) { - status = pj_get_os_error(); - stream_destroy(&strm->base); - return status; - } - - /* Create and start the thread */ - status = pj_thread_create(pool, "wmme", &wmme_dev_thread, strm, 0, 0, - &strm->thread); - if (status != PJ_SUCCESS) { - stream_destroy(&strm->base); - return status; - } - - /* Apply the remaining settings */ - if (param->flags & PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING) { - stream_set_cap(&strm->base, PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING, - ¶m->output_vol); - } - - - /* Done */ - strm->base.op = &stream_op; - *p_aud_strm = &strm->base; - - return PJ_SUCCESS; -} - -/* API: Get stream info. */ -static pj_status_t stream_get_param(pjmedia_aud_stream *s, - pjmedia_aud_param *pi) -{ - struct wmme_stream *strm = (struct wmme_stream*)s; - - PJ_ASSERT_RETURN(strm && pi, PJ_EINVAL); - - pj_memcpy(pi, &strm->param, sizeof(*pi)); - - /* Update the volume setting */ - if (stream_get_cap(s, PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING, - &pi->output_vol) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING; - } - - return PJ_SUCCESS; -} - -/* API: get capability */ -static pj_status_t stream_get_cap(pjmedia_aud_stream *s, - pjmedia_aud_dev_cap cap, - void *pval) -{ - struct wmme_stream *strm = (struct wmme_stream*)s; - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - if (cap==PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY && - (strm->param.dir & PJMEDIA_DIR_CAPTURE)) - { - /* Recording latency */ - *(unsigned*)pval = strm->param.input_latency_ms; - return PJ_SUCCESS; - } else if (cap==PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY && - (strm->param.dir & PJMEDIA_DIR_PLAYBACK)) - { - /* Playback latency */ - *(unsigned*)pval = strm->param.output_latency_ms; - return PJ_SUCCESS; - } else if (cap==PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING && - strm->play_strm.hWave.Out) - { - /* Output volume setting */ - DWORD waveVol; - MMRESULT mr; - - mr = waveOutGetVolume(strm->play_strm.hWave.Out, &waveVol); - if (mr != MMSYSERR_NOERROR) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_WMME_OUT(mr); - } - - waveVol &= 0xFFFF; - *(unsigned*)pval = (waveVol * 100) / 0xFFFF; - return PJ_SUCCESS; - } else { - return PJMEDIA_EAUD_INVCAP; - } -} - -/* API: set capability */ -static pj_status_t stream_set_cap(pjmedia_aud_stream *s, - pjmedia_aud_dev_cap cap, - const void *pval) -{ - struct wmme_stream *strm = (struct wmme_stream*)s; - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - if (cap==PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING && - strm->play_strm.hWave.Out) - { - /* Output volume setting */ - unsigned vol = *(unsigned*)pval; - DWORD waveVol; - MMRESULT mr; - pj_status_t status; - - if (vol > 100) - vol = 100; - - waveVol = (vol * 0xFFFF) / 100; - waveVol |= (waveVol << 16); - - mr = waveOutSetVolume(strm->play_strm.hWave.Out, waveVol); - status = (mr==MMSYSERR_NOERROR)? PJ_SUCCESS : - PJMEDIA_AUDIODEV_ERRNO_FROM_WMME_OUT(mr); - if (status == PJ_SUCCESS) { - strm->param.output_vol = *(unsigned*)pval; - } - return status; - } - - return PJMEDIA_EAUD_INVCAP; -} - -/* API: Start stream. */ -static pj_status_t stream_start(pjmedia_aud_stream *strm) -{ - struct wmme_stream *stream = (struct wmme_stream*)strm; - MMRESULT mr; - - if (stream->play_strm.hWave.Out != NULL) - { - mr = waveOutRestart(stream->play_strm.hWave.Out); - if (mr != MMSYSERR_NOERROR) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_WMME_OUT(mr); - } - PJ_LOG(4,(THIS_FILE, "WMME playback stream started")); - } - - if (stream->rec_strm.hWave.In != NULL) - { - mr = waveInStart(stream->rec_strm.hWave.In); - if (mr != MMSYSERR_NOERROR) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_WMME_IN(mr); - } - PJ_LOG(4,(THIS_FILE, "WMME capture stream started")); - } - - return PJ_SUCCESS; -} - -/* API: Stop stream. */ -static pj_status_t stream_stop(pjmedia_aud_stream *strm) -{ - struct wmme_stream *stream = (struct wmme_stream*)strm; - MMRESULT mr; - - PJ_ASSERT_RETURN(stream != NULL, PJ_EINVAL); - - if (stream->play_strm.hWave.Out != NULL) - { - mr = waveOutPause(stream->play_strm.hWave.Out); - if (mr != MMSYSERR_NOERROR) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_WMME_OUT(mr); - } - PJ_LOG(4,(THIS_FILE, "Stopped WMME playback stream")); - } - - if (stream->rec_strm.hWave.In != NULL) - { - mr = waveInStop(stream->rec_strm.hWave.In); - if (mr != MMSYSERR_NOERROR) { - return PJMEDIA_AUDIODEV_ERRNO_FROM_WMME_IN(mr); - } - PJ_LOG(4,(THIS_FILE, "Stopped WMME capture stream")); - } - - return PJ_SUCCESS; -} - - -/* API: Destroy stream. */ -static pj_status_t stream_destroy(pjmedia_aud_stream *strm) -{ - struct wmme_stream *stream = (struct wmme_stream*)strm; - unsigned i; - - PJ_ASSERT_RETURN(stream != NULL, PJ_EINVAL); - - stream_stop(strm); - - /* Stop the stream thread */ - if (stream->thread) - { - SetEvent(stream->thread_quit_event); - pj_thread_join(stream->thread); - pj_thread_destroy(stream->thread); - stream->thread = NULL; - } - - /* Close the thread quit event */ - if (stream->thread_quit_event) - { - CloseHandle(stream->thread_quit_event); - stream->thread_quit_event = NULL; - } - - /* Unprepare the headers and close the play device */ - if (stream->play_strm.hWave.Out) - { - waveOutReset(stream->play_strm.hWave.Out); - for (i = 0; i < stream->play_strm.dwMaxBufIdx; ++i) - waveOutUnprepareHeader(stream->play_strm.hWave.Out, - &(stream->play_strm.WaveHdr[i]), - sizeof(WAVEHDR)); - waveOutClose(stream->play_strm.hWave.Out); - stream->play_strm.hWave.Out = NULL; - } - - /* Close the play event */ - if (stream->play_strm.hEvent) - { - CloseHandle(stream->play_strm.hEvent); - stream->play_strm.hEvent = NULL; - } - - /* Unprepare the headers and close the record device */ - if (stream->rec_strm.hWave.In) - { - waveInReset(stream->rec_strm.hWave.In); - for (i = 0; i < stream->play_strm.dwMaxBufIdx; ++i) - waveInUnprepareHeader(stream->rec_strm.hWave.In, - &(stream->rec_strm.WaveHdr[i]), - sizeof(WAVEHDR)); - waveInClose(stream->rec_strm.hWave.In); - stream->rec_strm.hWave.In = NULL; - } - - /* Close the record event */ - if (stream->rec_strm.hEvent) - { - CloseHandle(stream->rec_strm.hEvent); - stream->rec_strm.hEvent = NULL; - } - - pj_pool_release(stream->pool); - - return PJ_SUCCESS; -} - -#endif /* PJMEDIA_AUDIO_DEV_HAS_WMME */ - diff --git a/res/pjproject/pjmedia/src/pjmedia-codec/amr_sdp_match.c b/res/pjproject/pjmedia/src/pjmedia-codec/amr_sdp_match.c deleted file mode 100644 index 5eb0218589..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-codec/amr_sdp_match.c +++ /dev/null @@ -1,176 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - - -#define GET_FMTP_IVAL_BASE(ival, base, fmtp, param, default_val) \ - do { \ - pj_str_t s; \ - char *p; \ - p = pj_stristr(&fmtp.fmt_param, ¶m); \ - if (!p) { \ - ival = default_val; \ - break; \ - } \ - pj_strset(&s, p + param.slen, fmtp.fmt_param.slen - \ - (p - fmtp.fmt_param.ptr) - param.slen); \ - ival = pj_strtoul2(&s, NULL, base); \ - } while (0) - -#define GET_FMTP_IVAL(ival, fmtp, param, default_val) \ - GET_FMTP_IVAL_BASE(ival, 10, fmtp, param, default_val) - - -/* Toggle AMR octet-align setting in the fmtp. */ -static pj_status_t amr_toggle_octet_align(pj_pool_t *pool, - pjmedia_sdp_media *media, - unsigned fmt_idx) -{ - pjmedia_sdp_attr *attr; - pjmedia_sdp_fmtp fmtp; - const pj_str_t STR_OCTET_ALIGN = {"octet-align=", 12}; - - enum { MAX_FMTP_STR_LEN = 160 }; - - attr = pjmedia_sdp_media_find_attr2(media, "fmtp", - &media->desc.fmt[fmt_idx]); - /* Check if the AMR media format has FMTP attribute */ - if (attr) { - char *p; - pj_status_t status; - - status = pjmedia_sdp_attr_get_fmtp(attr, &fmtp); - if (status != PJ_SUCCESS) - return status; - - /* Check if the fmtp has octet-align field. */ - p = pj_stristr(&fmtp.fmt_param, &STR_OCTET_ALIGN); - if (p) { - /* It has, just toggle the value */ - unsigned octet_align; - pj_str_t s; - - pj_strset(&s, p + STR_OCTET_ALIGN.slen, fmtp.fmt_param.slen - - (p - fmtp.fmt_param.ptr) - STR_OCTET_ALIGN.slen); - octet_align = pj_strtoul(&s); - *(p + STR_OCTET_ALIGN.slen) = (char)(octet_align? '0' : '1'); - } else { - /* It doesn't, append octet-align field */ - char buf[MAX_FMTP_STR_LEN]; - - pj_ansi_snprintf(buf, MAX_FMTP_STR_LEN, "%.*s;octet-align=1", - (int)fmtp.fmt_param.slen, fmtp.fmt_param.ptr); - attr->value = pj_strdup3(pool, buf); - } - } else { - /* Add new attribute for the AMR media format with octet-align - * field set. - */ - char buf[MAX_FMTP_STR_LEN]; - - attr = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_attr); - attr->name = pj_str("fmtp"); - pj_ansi_snprintf(buf, MAX_FMTP_STR_LEN, "%.*s octet-align=1", - (int)media->desc.fmt[fmt_idx].slen, - media->desc.fmt[fmt_idx].ptr); - attr->value = pj_strdup3(pool, buf); - media->attr[media->attr_count++] = attr; - } - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_codec_amr_match_sdp( pj_pool_t *pool, - pjmedia_sdp_media *offer, - unsigned o_fmt_idx, - pjmedia_sdp_media *answer, - unsigned a_fmt_idx, - unsigned option) -{ - /* Negotiated format-param field-names constants. */ - const pj_str_t STR_OCTET_ALIGN = {"octet-align=", 12}; - const pj_str_t STR_CRC = {"crc=", 4}; - const pj_str_t STR_ROBUST_SORTING = {"robust-sorting=", 15}; - const pj_str_t STR_INTERLEAVING = {"interleaving=", 13}; - - /* Negotiated params and their default values. */ - unsigned a_octet_align = 0, o_octet_align = 0; - unsigned a_crc = 0, o_crc = 0; - unsigned a_robust_sorting = 0, o_robust_sorting = 0; - unsigned a_interleaving = 0, o_interleaving = 0; - - const pjmedia_sdp_attr *attr_ans; - const pjmedia_sdp_attr *attr_ofr; - pjmedia_sdp_fmtp fmtp; - pj_status_t status; - - /* Parse offerer FMTP */ - attr_ofr = pjmedia_sdp_media_find_attr2(offer, "fmtp", - &offer->desc.fmt[o_fmt_idx]); - if (attr_ofr) { - status = pjmedia_sdp_attr_get_fmtp(attr_ofr, &fmtp); - if (status != PJ_SUCCESS) - return status; - - GET_FMTP_IVAL(o_octet_align, fmtp, STR_OCTET_ALIGN, 0); - GET_FMTP_IVAL(o_crc, fmtp, STR_CRC, 0); - GET_FMTP_IVAL(o_robust_sorting, fmtp, STR_ROBUST_SORTING, 0); - GET_FMTP_IVAL(o_interleaving, fmtp, STR_INTERLEAVING, 0); - } - - /* Parse answerer FMTP */ - attr_ans = pjmedia_sdp_media_find_attr2(answer, "fmtp", - &answer->desc.fmt[a_fmt_idx]); - if (attr_ans) { - status = pjmedia_sdp_attr_get_fmtp(attr_ans, &fmtp); - if (status != PJ_SUCCESS) - return status; - - GET_FMTP_IVAL(a_octet_align, fmtp, STR_OCTET_ALIGN, 0); - GET_FMTP_IVAL(a_crc, fmtp, STR_CRC, 0); - GET_FMTP_IVAL(a_robust_sorting, fmtp, STR_ROBUST_SORTING, 0); - GET_FMTP_IVAL(a_interleaving, fmtp, STR_INTERLEAVING, 0); - } - - /* First, match crc, robust-sorting, interleaving settings */ - if (a_crc != o_crc || - a_robust_sorting != o_robust_sorting || - a_interleaving != o_interleaving) - { - return PJMEDIA_SDP_EFORMATNOTEQUAL; - } - - /* Match octet-align setting */ - if (a_octet_align != o_octet_align) { - /* Check if answer can be modified to match to the offer */ - if (option & PJMEDIA_SDP_NEG_FMT_MATCH_ALLOW_MODIFY_ANSWER) { - status = amr_toggle_octet_align(pool, answer, a_fmt_idx); - return status; - } else { - return PJMEDIA_SDP_EFORMATNOTEQUAL; - } - } - - return PJ_SUCCESS; -} diff --git a/res/pjproject/pjmedia/src/pjmedia-codec/audio_codecs.c b/res/pjproject/pjmedia/src/pjmedia-codec/audio_codecs.c deleted file mode 100644 index 1fbd038a96..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-codec/audio_codecs.c +++ /dev/null @@ -1,119 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -PJ_DEF(void) pjmedia_audio_codec_config_default(pjmedia_audio_codec_config*cfg) -{ - pj_bzero(cfg, sizeof(*cfg)); - cfg->speex.option = 0; - cfg->speex.quality = PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY; - cfg->speex.complexity = PJMEDIA_CODEC_SPEEX_DEFAULT_COMPLEXITY; - cfg->ilbc.mode = 30; - cfg->passthrough.setting.ilbc_mode = cfg->ilbc.mode; -} - -PJ_DEF(pj_status_t) -pjmedia_codec_register_audio_codecs(pjmedia_endpt *endpt, - const pjmedia_audio_codec_config *c) -{ - pjmedia_audio_codec_config default_cfg; - pj_status_t status; - - PJ_ASSERT_RETURN(endpt, PJ_EINVAL); - if (!c) { - pjmedia_audio_codec_config_default(&default_cfg); - c = &default_cfg; - } - - PJ_ASSERT_RETURN(c->ilbc.mode==20 || c->ilbc.mode==30, PJ_EINVAL); - -#if PJMEDIA_HAS_PASSTHROUGH_CODECS - status = pjmedia_codec_passthrough_init2(endpt, &c->passthrough.setting); - if (status != PJ_SUCCESS) - return status; -#endif - -#if PJMEDIA_HAS_SPEEX_CODEC - /* Register speex. */ - status = pjmedia_codec_speex_init(endpt, c->speex.option, - c->speex.quality, - c->speex.complexity); - if (status != PJ_SUCCESS) - return status; -#endif - -#if PJMEDIA_HAS_ILBC_CODEC - /* Register iLBC. */ - status = pjmedia_codec_ilbc_init( endpt, c->ilbc.mode); - if (status != PJ_SUCCESS) - return status; -#endif /* PJMEDIA_HAS_ILBC_CODEC */ - -#if PJMEDIA_HAS_GSM_CODEC - /* Register GSM */ - status = pjmedia_codec_gsm_init(endpt); - if (status != PJ_SUCCESS) - return status; -#endif /* PJMEDIA_HAS_GSM_CODEC */ - -#if PJMEDIA_HAS_G711_CODEC - /* Register PCMA and PCMU */ - status = pjmedia_codec_g711_init(endpt); - if (status != PJ_SUCCESS) - return status; -#endif /* PJMEDIA_HAS_G711_CODEC */ - -#if PJMEDIA_HAS_G722_CODEC - status = pjmedia_codec_g722_init(endpt ); - if (status != PJ_SUCCESS) - return status; -#endif /* PJMEDIA_HAS_G722_CODEC */ - -#if PJMEDIA_HAS_INTEL_IPP - /* Register IPP codecs */ - status = pjmedia_codec_ipp_init(endpt); - if (status != PJ_SUCCESS) - return status; -#endif /* PJMEDIA_HAS_INTEL_IPP */ - -#if PJMEDIA_HAS_G7221_CODEC - /* Register G722.1 codecs */ - status = pjmedia_codec_g7221_init(endpt); - if (status != PJ_SUCCESS) - return status; -#endif /* PJMEDIA_HAS_G7221_CODEC */ - -#if PJMEDIA_HAS_L16_CODEC - /* Register L16 family codecs */ - status = pjmedia_codec_l16_init(endpt, 0); - if (status != PJ_SUCCESS) - return status; -#endif /* PJMEDIA_HAS_L16_CODEC */ - -#if PJMEDIA_HAS_OPENCORE_AMRNB_CODEC - /* Register OpenCORE AMR-NB */ - status = pjmedia_codec_opencore_amrnb_init(endpt); - if (status != PJ_SUCCESS) - return status; -#endif - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c b/res/pjproject/pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c deleted file mode 100644 index 04dc1f3d7d..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c +++ /dev/null @@ -1,1818 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -/* - * Only build this file if PJMEDIA_HAS_FFMPEG_VID_CODEC != 0 and - * PJMEDIA_HAS_VIDEO != 0 - */ -#if defined(PJMEDIA_HAS_FFMPEG_VID_CODEC) && \ - PJMEDIA_HAS_FFMPEG_VID_CODEC != 0 && \ - defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - -#define THIS_FILE "ffmpeg_vid_codecs.c" - -#define LIBAVCODEC_VER_AT_LEAST(major,minor) (LIBAVCODEC_VERSION_MAJOR > major || \ - (LIBAVCODEC_VERSION_MAJOR == major && \ - LIBAVCODEC_VERSION_MINOR >= minor)) - -#include "../pjmedia/ffmpeg_util.h" -#include -#include -#if LIBAVCODEC_VER_AT_LEAST(53,20) - /* Needed by 264 so far, on libavcodec 53.20 */ -# include -#endif - - -/* Various compatibility */ - -#if LIBAVCODEC_VER_AT_LEAST(53,20) -# define AVCODEC_OPEN(ctx,c) avcodec_open2(ctx,c,NULL) -#else -# define AVCODEC_OPEN(ctx,c) avcodec_open(ctx,c) -#endif - -#if LIBAVCODEC_VER_AT_LEAST(53,61) -/* Not sure when AVCodec::encode2 is introduced. It appears in - * libavcodec 53.61 where some codecs actually still use AVCodec::encode - * (e.g: H263, H264). - */ -# define AVCODEC_HAS_ENCODE(c) (c->encode || c->encode2) -# define AV_OPT_SET(obj,name,val,opt) (av_opt_set(obj,name,val,opt)==0) -# define AV_OPT_SET_INT(obj,name,val) (av_opt_set_int(obj,name,val,0)==0) -#else -# define AVCODEC_HAS_ENCODE(c) (c->encode) -# define AV_OPT_SET(obj,name,val,opt) (av_set_string3(obj,name,val,opt,NULL)==0) -# define AV_OPT_SET_INT(obj,name,val) (av_set_int(obj,name,val)!=NULL) -#endif -#define AVCODEC_HAS_DECODE(c) (c->decode) - - -/* Prototypes for FFMPEG codecs factory */ -static pj_status_t ffmpeg_test_alloc( pjmedia_vid_codec_factory *factory, - const pjmedia_vid_codec_info *id ); -static pj_status_t ffmpeg_default_attr( pjmedia_vid_codec_factory *factory, - const pjmedia_vid_codec_info *info, - pjmedia_vid_codec_param *attr ); -static pj_status_t ffmpeg_enum_codecs( pjmedia_vid_codec_factory *factory, - unsigned *count, - pjmedia_vid_codec_info codecs[]); -static pj_status_t ffmpeg_alloc_codec( pjmedia_vid_codec_factory *factory, - const pjmedia_vid_codec_info *info, - pjmedia_vid_codec **p_codec); -static pj_status_t ffmpeg_dealloc_codec( pjmedia_vid_codec_factory *factory, - pjmedia_vid_codec *codec ); - -/* Prototypes for FFMPEG codecs implementation. */ -static pj_status_t ffmpeg_codec_init( pjmedia_vid_codec *codec, - pj_pool_t *pool ); -static pj_status_t ffmpeg_codec_open( pjmedia_vid_codec *codec, - pjmedia_vid_codec_param *attr ); -static pj_status_t ffmpeg_codec_close( pjmedia_vid_codec *codec ); -static pj_status_t ffmpeg_codec_modify(pjmedia_vid_codec *codec, - const pjmedia_vid_codec_param *attr ); -static pj_status_t ffmpeg_codec_get_param(pjmedia_vid_codec *codec, - pjmedia_vid_codec_param *param); -static pj_status_t ffmpeg_codec_encode_begin(pjmedia_vid_codec *codec, - const pjmedia_vid_encode_opt *opt, - const pjmedia_frame *input, - unsigned out_size, - pjmedia_frame *output, - pj_bool_t *has_more); -static pj_status_t ffmpeg_codec_encode_more(pjmedia_vid_codec *codec, - unsigned out_size, - pjmedia_frame *output, - pj_bool_t *has_more); -static pj_status_t ffmpeg_codec_decode( pjmedia_vid_codec *codec, - pj_size_t pkt_count, - pjmedia_frame packets[], - unsigned out_size, - pjmedia_frame *output); - -/* Definition for FFMPEG codecs operations. */ -static pjmedia_vid_codec_op ffmpeg_op = -{ - &ffmpeg_codec_init, - &ffmpeg_codec_open, - &ffmpeg_codec_close, - &ffmpeg_codec_modify, - &ffmpeg_codec_get_param, - &ffmpeg_codec_encode_begin, - &ffmpeg_codec_encode_more, - &ffmpeg_codec_decode, - NULL -}; - -/* Definition for FFMPEG codecs factory operations. */ -static pjmedia_vid_codec_factory_op ffmpeg_factory_op = -{ - &ffmpeg_test_alloc, - &ffmpeg_default_attr, - &ffmpeg_enum_codecs, - &ffmpeg_alloc_codec, - &ffmpeg_dealloc_codec -}; - - -/* FFMPEG codecs factory */ -static struct ffmpeg_factory { - pjmedia_vid_codec_factory base; - pjmedia_vid_codec_mgr *mgr; - pj_pool_factory *pf; - pj_pool_t *pool; - pj_mutex_t *mutex; -} ffmpeg_factory; - - -typedef struct ffmpeg_codec_desc ffmpeg_codec_desc; - - -/* FFMPEG codecs private data. */ -typedef struct ffmpeg_private -{ - const ffmpeg_codec_desc *desc; - pjmedia_vid_codec_param param; /**< Codec param */ - pj_pool_t *pool; /**< Pool for each instance */ - - /* Format info and apply format param */ - const pjmedia_video_format_info *enc_vfi; - pjmedia_video_apply_fmt_param enc_vafp; - const pjmedia_video_format_info *dec_vfi; - pjmedia_video_apply_fmt_param dec_vafp; - - /* Buffers, only needed for multi-packets */ - pj_bool_t whole; - void *enc_buf; - unsigned enc_buf_size; - pj_bool_t enc_buf_is_keyframe; - unsigned enc_frame_len; - unsigned enc_processed; - void *dec_buf; - unsigned dec_buf_size; - pj_timestamp last_dec_keyframe_ts; - - /* The ffmpeg codec states. */ - AVCodec *enc; - AVCodec *dec; - AVCodecContext *enc_ctx; - AVCodecContext *dec_ctx; - - /* The ffmpeg decoder cannot set the output format, so format conversion - * may be needed for post-decoding. - */ - enum PixelFormat expected_dec_fmt; - /**< Expected output format of - ffmpeg decoder */ - - void *data; /**< Codec specific data */ -} ffmpeg_private; - - -/* Shortcuts for packetize & unpacketize function declaration, - * as it has long params and is reused many times! - */ -#define FUNC_PACKETIZE(name) \ - pj_status_t(name)(ffmpeg_private *ff, pj_uint8_t *bits, \ - pj_size_t bits_len, unsigned *bits_pos, \ - const pj_uint8_t **payload, pj_size_t *payload_len) - -#define FUNC_UNPACKETIZE(name) \ - pj_status_t(name)(ffmpeg_private *ff, const pj_uint8_t *payload, \ - pj_size_t payload_len, pj_uint8_t *bits, \ - pj_size_t bits_len, unsigned *bits_pos) - -#define FUNC_FMT_MATCH(name) \ - pj_status_t(name)(pj_pool_t *pool, \ - pjmedia_sdp_media *offer, unsigned o_fmt_idx, \ - pjmedia_sdp_media *answer, unsigned a_fmt_idx, \ - unsigned option) - - -/* Type definition of codec specific functions */ -typedef FUNC_PACKETIZE(*func_packetize); -typedef FUNC_UNPACKETIZE(*func_unpacketize); -typedef pj_status_t (*func_preopen) (ffmpeg_private *ff); -typedef pj_status_t (*func_postopen) (ffmpeg_private *ff); -typedef FUNC_FMT_MATCH(*func_sdp_fmt_match); - - -/* FFMPEG codec info */ -struct ffmpeg_codec_desc -{ - /* Predefined info */ - pjmedia_vid_codec_info info; - pjmedia_format_id base_fmt_id; /**< Some codecs may be exactly - same or compatible with - another codec, base format - will tell the initializer - to copy this codec desc - from its base format */ - pjmedia_rect_size size; - pjmedia_ratio fps; - pj_uint32_t avg_bps; - pj_uint32_t max_bps; - func_packetize packetize; - func_unpacketize unpacketize; - func_preopen preopen; - func_preopen postopen; - func_sdp_fmt_match sdp_fmt_match; - pjmedia_codec_fmtp dec_fmtp; - - /* Init time defined info */ - pj_bool_t enabled; - AVCodec *enc; - AVCodec *dec; -}; - - -#if PJMEDIA_HAS_FFMPEG_CODEC_H264 && !LIBAVCODEC_VER_AT_LEAST(53,20) -# error "Must use libavcodec version 53.20 or later to enable FFMPEG H264" -#endif - -/* H264 constants */ -#define PROFILE_H264_BASELINE 66 -#define PROFILE_H264_MAIN 77 - -/* Codec specific functions */ -#if PJMEDIA_HAS_FFMPEG_CODEC_H264 -static pj_status_t h264_preopen(ffmpeg_private *ff); -static pj_status_t h264_postopen(ffmpeg_private *ff); -static FUNC_PACKETIZE(h264_packetize); -static FUNC_UNPACKETIZE(h264_unpacketize); -#endif - -static pj_status_t h263_preopen(ffmpeg_private *ff); -static FUNC_PACKETIZE(h263_packetize); -static FUNC_UNPACKETIZE(h263_unpacketize); - - -/* Internal codec info */ -static ffmpeg_codec_desc codec_desc[] = -{ -#if PJMEDIA_HAS_FFMPEG_CODEC_H264 - { - {PJMEDIA_FORMAT_H264, PJMEDIA_RTP_PT_H264, {"H264",4}, - {"Constrained Baseline (level=30, pack=1)", 39}}, - 0, - {720, 480}, {15, 1}, 256000, 256000, - &h264_packetize, &h264_unpacketize, &h264_preopen, &h264_postopen, - &pjmedia_vid_codec_h264_match_sdp, - /* Leading space for better compatibility (strange indeed!) */ - {2, { {{"profile-level-id",16}, {"42e01e",6}}, - {{" packetization-mode",19}, {"1",1}}, } }, - }, -#endif - -#if PJMEDIA_HAS_FFMPEG_CODEC_H263P - { - {PJMEDIA_FORMAT_H263P, PJMEDIA_RTP_PT_H263P, {"H263-1998",9}}, - PJMEDIA_FORMAT_H263, - {352, 288}, {15, 1}, 256000, 256000, - &h263_packetize, &h263_unpacketize, &h263_preopen, NULL, NULL, - {2, { {{"CIF",3}, {"1",1}}, - {{"QCIF",4}, {"1",1}}, } }, - }, -#endif - - { - {PJMEDIA_FORMAT_H263, PJMEDIA_RTP_PT_H263, {"H263",4}}, - }, - { - {PJMEDIA_FORMAT_H261, PJMEDIA_RTP_PT_H261, {"H261",4}}, - }, - { - {PJMEDIA_FORMAT_MJPEG, PJMEDIA_RTP_PT_JPEG, {"JPEG",4}}, - PJMEDIA_FORMAT_MJPEG, {640, 480}, {25, 1}, - }, - { - {PJMEDIA_FORMAT_MPEG4, 0, {"MP4V",4}}, - PJMEDIA_FORMAT_MPEG4, {640, 480}, {25, 1}, - }, -}; - -#if PJMEDIA_HAS_FFMPEG_CODEC_H264 - -typedef struct h264_data -{ - pjmedia_vid_codec_h264_fmtp fmtp; - pjmedia_h264_packetizer *pktz; -} h264_data; - - -static pj_status_t h264_preopen(ffmpeg_private *ff) -{ - h264_data *data; - pjmedia_h264_packetizer_cfg pktz_cfg; - pj_status_t status; - - data = PJ_POOL_ZALLOC_T(ff->pool, h264_data); - ff->data = data; - - /* Parse remote fmtp */ - status = pjmedia_vid_codec_h264_parse_fmtp(&ff->param.enc_fmtp, - &data->fmtp); - if (status != PJ_SUCCESS) - return status; - - /* Create packetizer */ - pktz_cfg.mtu = ff->param.enc_mtu; -#if 0 - if (data->fmtp.packetization_mode == 0) - pktz_cfg.mode = PJMEDIA_H264_PACKETIZER_MODE_SINGLE_NAL; - else if (data->fmtp.packetization_mode == 1) - pktz_cfg.mode = PJMEDIA_H264_PACKETIZER_MODE_NON_INTERLEAVED; - else - return PJ_ENOTSUP; -#else - if (data->fmtp.packetization_mode!= - PJMEDIA_H264_PACKETIZER_MODE_SINGLE_NAL && - data->fmtp.packetization_mode!= - PJMEDIA_H264_PACKETIZER_MODE_NON_INTERLEAVED) - { - return PJ_ENOTSUP; - } - /* Better always send in single NAL mode for better compatibility */ - pktz_cfg.mode = PJMEDIA_H264_PACKETIZER_MODE_SINGLE_NAL; -#endif - - status = pjmedia_h264_packetizer_create(ff->pool, &pktz_cfg, &data->pktz); - if (status != PJ_SUCCESS) - return status; - - /* Apply SDP fmtp to format in codec param */ - if (!ff->param.ignore_fmtp) { - status = pjmedia_vid_codec_h264_apply_fmtp(&ff->param); - if (status != PJ_SUCCESS) - return status; - } - - if (ff->param.dir & PJMEDIA_DIR_ENCODING) { - pjmedia_video_format_detail *vfd; - AVCodecContext *ctx = ff->enc_ctx; - const char *profile = NULL; - - vfd = pjmedia_format_get_video_format_detail(&ff->param.enc_fmt, - PJ_TRUE); - - /* Override generic params after applying SDP fmtp */ - ctx->width = vfd->size.w; - ctx->height = vfd->size.h; - ctx->time_base.num = vfd->fps.denum; - ctx->time_base.den = vfd->fps.num; - - /* Apply profile. */ - ctx->profile = data->fmtp.profile_idc; - switch (ctx->profile) { - case PROFILE_H264_BASELINE: - profile = "baseline"; - break; - case PROFILE_H264_MAIN: - profile = "main"; - break; - default: - break; - } - if (profile && !AV_OPT_SET(ctx->priv_data, "profile", profile, 0)) - { - PJ_LOG(3, (THIS_FILE, "Failed to set H264 profile to '%s'", - profile)); - } - - /* Apply profile constraint bits. */ - //PJ_TODO(set_h264_constraint_bits_properly_in_ffmpeg); - if (data->fmtp.profile_iop) { -#if defined(FF_PROFILE_H264_CONSTRAINED) - ctx->profile |= FF_PROFILE_H264_CONSTRAINED; -#endif - } - - /* Apply profile level. */ - ctx->level = data->fmtp.level; - - /* Limit NAL unit size as we prefer single NAL unit packetization */ - if (!AV_OPT_SET_INT(ctx->priv_data, "slice-max-size", ff->param.enc_mtu)) - { - PJ_LOG(3, (THIS_FILE, "Failed to set H264 max NAL size to %d", - ff->param.enc_mtu)); - } - - /* Apply intra-refresh */ - if (!AV_OPT_SET_INT(ctx->priv_data, "intra-refresh", 1)) - { - PJ_LOG(3, (THIS_FILE, "Failed to set x264 intra-refresh")); - } - - /* Misc x264 settings (performance, quality, latency, etc). - * Let's just use the x264 predefined preset & tune. - */ - if (!AV_OPT_SET(ctx->priv_data, "preset", "veryfast", 0)) { - PJ_LOG(3, (THIS_FILE, "Failed to set x264 preset 'veryfast'")); - } - if (!AV_OPT_SET(ctx->priv_data, "tune", "animation+zerolatency", 0)) { - PJ_LOG(3, (THIS_FILE, "Failed to set x264 tune 'zerolatency'")); - } - } - - if (ff->param.dir & PJMEDIA_DIR_DECODING) { - AVCodecContext *ctx = ff->dec_ctx; - - /* Apply the "sprop-parameter-sets" fmtp from remote SDP to - * extradata of ffmpeg codec context. - */ - if (data->fmtp.sprop_param_sets_len) { - ctx->extradata_size = data->fmtp.sprop_param_sets_len; - ctx->extradata = data->fmtp.sprop_param_sets; - } - } - - return PJ_SUCCESS; -} - -static pj_status_t h264_postopen(ffmpeg_private *ff) -{ - h264_data *data = (h264_data*)ff->data; - PJ_UNUSED_ARG(data); - return PJ_SUCCESS; -} - -static FUNC_PACKETIZE(h264_packetize) -{ - h264_data *data = (h264_data*)ff->data; - return pjmedia_h264_packetize(data->pktz, bits, bits_len, bits_pos, - payload, payload_len); -} - -static FUNC_UNPACKETIZE(h264_unpacketize) -{ - h264_data *data = (h264_data*)ff->data; - return pjmedia_h264_unpacketize(data->pktz, payload, payload_len, - bits, bits_len, bits_pos); -} - -#endif /* PJMEDIA_HAS_FFMPEG_CODEC_H264 */ - - -#if PJMEDIA_HAS_FFMPEG_CODEC_H263P - -typedef struct h263_data -{ - pjmedia_h263_packetizer *pktz; -} h263_data; - -/* H263 pre-open */ -static pj_status_t h263_preopen(ffmpeg_private *ff) -{ - h263_data *data; - pjmedia_h263_packetizer_cfg pktz_cfg; - pj_status_t status; - - data = PJ_POOL_ZALLOC_T(ff->pool, h263_data); - ff->data = data; - - /* Create packetizer */ - pktz_cfg.mtu = ff->param.enc_mtu; - pktz_cfg.mode = PJMEDIA_H263_PACKETIZER_MODE_RFC4629; - status = pjmedia_h263_packetizer_create(ff->pool, &pktz_cfg, &data->pktz); - if (status != PJ_SUCCESS) - return status; - - /* Apply fmtp settings to codec param */ - if (!ff->param.ignore_fmtp) { - status = pjmedia_vid_codec_h263_apply_fmtp(&ff->param); - } - - /* Override generic params after applying SDP fmtp */ - if (ff->param.dir & PJMEDIA_DIR_ENCODING) { - pjmedia_video_format_detail *vfd; - AVCodecContext *ctx = ff->enc_ctx; - - vfd = pjmedia_format_get_video_format_detail(&ff->param.enc_fmt, - PJ_TRUE); - - /* Override generic params after applying SDP fmtp */ - ctx->width = vfd->size.w; - ctx->height = vfd->size.h; - ctx->time_base.num = vfd->fps.denum; - ctx->time_base.den = vfd->fps.num; - } - - return status; -} - -static FUNC_PACKETIZE(h263_packetize) -{ - h263_data *data = (h263_data*)ff->data; - return pjmedia_h263_packetize(data->pktz, bits, bits_len, bits_pos, - payload, payload_len); -} - -static FUNC_UNPACKETIZE(h263_unpacketize) -{ - h263_data *data = (h263_data*)ff->data; - return pjmedia_h263_unpacketize(data->pktz, payload, payload_len, - bits, bits_len, bits_pos); -} - -#endif /* PJMEDIA_HAS_FFMPEG_CODEC_H263P */ - - -static const ffmpeg_codec_desc* find_codec_desc_by_info( - const pjmedia_vid_codec_info *info) -{ - int i; - - for (i=0; ienabled && - (desc->info.fmt_id == info->fmt_id) && - ((desc->info.dir & info->dir) == info->dir) && - (desc->info.pt == info->pt) && - (desc->info.packings & info->packings)) - { - return desc; - } - } - - return NULL; -} - - -static int find_codec_idx_by_fmt_id(pjmedia_format_id fmt_id) -{ - int i; - for (i=0; itype != AVMEDIA_TYPE_VIDEO) - continue; - - /* Video encoder and decoder are usually implemented in separate - * AVCodec instances. While the codec attributes (e.g: raw formats, - * supported fps) are in the encoder. - */ - - //PJ_LOG(3, (THIS_FILE, "%s", c->name)); - status = CodecID_to_pjmedia_format_id(c->id, &fmt_id); - /* Skip if format ID is unknown */ - if (status != PJ_SUCCESS) - continue; - - codec_info_idx = find_codec_idx_by_fmt_id(fmt_id); - /* Skip if codec is unwanted by this wrapper (not listed in - * the codec info array) - */ - if (codec_info_idx < 0) - continue; - - desc = &codec_desc[codec_info_idx]; - - /* Skip duplicated codec implementation */ - if ((AVCODEC_HAS_ENCODE(c) && (desc->info.dir & PJMEDIA_DIR_ENCODING)) - || - (AVCODEC_HAS_DECODE(c) && (desc->info.dir & PJMEDIA_DIR_DECODING))) - { - continue; - } - - /* Get raw/decoded format ids in the encoder */ - if (c->pix_fmts && AVCODEC_HAS_ENCODE(c)) { - pjmedia_format_id raw_fmt[PJMEDIA_VID_CODEC_MAX_DEC_FMT_CNT]; - unsigned raw_fmt_cnt = 0; - unsigned raw_fmt_cnt_should_be = 0; - const enum PixelFormat *p = c->pix_fmts; - - for(;(p && *p != -1) && - (raw_fmt_cnt < PJMEDIA_VID_CODEC_MAX_DEC_FMT_CNT); - ++p) - { - pjmedia_format_id fmt_id; - - raw_fmt_cnt_should_be++; - status = PixelFormat_to_pjmedia_format_id(*p, &fmt_id); - if (status != PJ_SUCCESS) { - PJ_LOG(6, (THIS_FILE, "Unrecognized ffmpeg pixel " - "format %d", *p)); - continue; - } - - //raw_fmt[raw_fmt_cnt++] = fmt_id; - /* Disable some formats due to H.264 error: - * x264 [error]: baseline profile doesn't support 4:4:4 - */ - if (desc->info.pt != PJMEDIA_RTP_PT_H264 || - fmt_id != PJMEDIA_FORMAT_RGB24) - { - raw_fmt[raw_fmt_cnt++] = fmt_id; - } - } - - if (raw_fmt_cnt == 0) { - PJ_LOG(5, (THIS_FILE, "No recognized raw format " - "for codec [%s/%s], codec ignored", - c->name, c->long_name)); - /* Skip this encoder */ - continue; - } - - if (raw_fmt_cnt < raw_fmt_cnt_should_be) { - PJ_LOG(6, (THIS_FILE, "Codec [%s/%s] have %d raw formats, " - "recognized only %d raw formats", - c->name, c->long_name, - raw_fmt_cnt_should_be, raw_fmt_cnt)); - } - - desc->info.dec_fmt_id_cnt = raw_fmt_cnt; - pj_memcpy(desc->info.dec_fmt_id, raw_fmt, - sizeof(raw_fmt[0])*raw_fmt_cnt); - } - - /* Get supported framerates */ - if (c->supported_framerates) { - const AVRational *fr = c->supported_framerates; - while ((fr->num != 0 || fr->den != 0) && - desc->info.fps_cnt < PJMEDIA_VID_CODEC_MAX_FPS_CNT) - { - desc->info.fps[desc->info.fps_cnt].num = fr->num; - desc->info.fps[desc->info.fps_cnt].denum = fr->den; - ++desc->info.fps_cnt; - ++fr; - } - } - - /* Get ffmpeg encoder instance */ - if (AVCODEC_HAS_ENCODE(c) && !desc->enc) { - desc->info.dir |= PJMEDIA_DIR_ENCODING; - desc->enc = c; - } - - /* Get ffmpeg decoder instance */ - if (AVCODEC_HAS_DECODE(c) && !desc->dec) { - desc->info.dir |= PJMEDIA_DIR_DECODING; - desc->dec = c; - } - - /* Enable this codec when any ffmpeg codec instance are recognized - * and the supported raw formats info has been collected. - */ - if ((desc->dec || desc->enc) && desc->info.dec_fmt_id_cnt) - { - desc->enabled = PJ_TRUE; - } - - /* Normalize default value of clock rate */ - if (desc->info.clock_rate == 0) - desc->info.clock_rate = 90000; - - /* Set supported packings */ - desc->info.packings |= PJMEDIA_VID_PACKING_WHOLE; - if (desc->packetize && desc->unpacketize) - desc->info.packings |= PJMEDIA_VID_PACKING_PACKETS; - - } - - /* Review all codecs for applying base format, registering format match for - * SDP negotiation, etc. - */ - for (i = 0; i < PJ_ARRAY_SIZE(codec_desc); ++i) { - ffmpeg_codec_desc *desc = &codec_desc[i]; - - /* Init encoder/decoder description from base format */ - if (desc->base_fmt_id && (!desc->dec || !desc->enc)) { - ffmpeg_codec_desc *base_desc = NULL; - int base_desc_idx; - pjmedia_dir copied_dir = PJMEDIA_DIR_NONE; - - base_desc_idx = find_codec_idx_by_fmt_id(desc->base_fmt_id); - if (base_desc_idx != -1) - base_desc = &codec_desc[base_desc_idx]; - if (!base_desc || !base_desc->enabled) - continue; - - /* Copy description from base codec */ - if (!desc->info.dec_fmt_id_cnt) { - desc->info.dec_fmt_id_cnt = base_desc->info.dec_fmt_id_cnt; - pj_memcpy(desc->info.dec_fmt_id, base_desc->info.dec_fmt_id, - sizeof(pjmedia_format_id)*desc->info.dec_fmt_id_cnt); - } - if (!desc->info.fps_cnt) { - desc->info.fps_cnt = base_desc->info.fps_cnt; - pj_memcpy(desc->info.fps, base_desc->info.fps, - sizeof(desc->info.fps[0])*desc->info.fps_cnt); - } - if (!desc->info.clock_rate) { - desc->info.clock_rate = base_desc->info.clock_rate; - } - if (!desc->dec && base_desc->dec) { - copied_dir |= PJMEDIA_DIR_DECODING; - desc->dec = base_desc->dec; - } - if (!desc->enc && base_desc->enc) { - copied_dir |= PJMEDIA_DIR_ENCODING; - desc->enc = base_desc->enc; - } - - desc->info.dir |= copied_dir; - desc->enabled = (desc->info.dir != PJMEDIA_DIR_NONE); - - /* Set supported packings */ - desc->info.packings |= PJMEDIA_VID_PACKING_WHOLE; - if (desc->packetize && desc->unpacketize) - desc->info.packings |= PJMEDIA_VID_PACKING_PACKETS; - - if (copied_dir != PJMEDIA_DIR_NONE) { - const char *dir_name[] = {NULL, "encoder", "decoder", "codec"}; - PJ_LOG(5, (THIS_FILE, "The %.*s %s is using base codec (%.*s)", - desc->info.encoding_name.slen, - desc->info.encoding_name.ptr, - dir_name[copied_dir], - base_desc->info.encoding_name.slen, - base_desc->info.encoding_name.ptr)); - } - } - - /* Registering format match for SDP negotiation */ - if (desc->sdp_fmt_match) { - status = pjmedia_sdp_neg_register_fmt_match_cb( - &desc->info.encoding_name, - desc->sdp_fmt_match); - pj_assert(status == PJ_SUCCESS); - } - - /* Print warning about missing encoder/decoder */ - if (!desc->enc) { - PJ_LOG(4, (THIS_FILE, "Cannot find %.*s encoder in ffmpeg library", - desc->info.encoding_name.slen, - desc->info.encoding_name.ptr)); - } - if (!desc->dec) { - PJ_LOG(4, (THIS_FILE, "Cannot find %.*s decoder in ffmpeg library", - desc->info.encoding_name.slen, - desc->info.encoding_name.ptr)); - } - } - - /* Register codec factory to codec manager. */ - status = pjmedia_vid_codec_mgr_register_factory(mgr, - &ffmpeg_factory.base); - if (status != PJ_SUCCESS) - goto on_error; - - ffmpeg_factory.pool = pool; - - /* Done. */ - return PJ_SUCCESS; - -on_error: - pj_pool_release(pool); - return status; -} - -/* - * Unregister FFMPEG codecs factory from pjmedia endpoint. - */ -PJ_DEF(pj_status_t) pjmedia_codec_ffmpeg_vid_deinit(void) -{ - pj_status_t status = PJ_SUCCESS; - - if (ffmpeg_factory.pool == NULL) { - /* Already deinitialized */ - return PJ_SUCCESS; - } - - pj_mutex_lock(ffmpeg_factory.mutex); - - /* Unregister FFMPEG codecs factory. */ - status = pjmedia_vid_codec_mgr_unregister_factory(ffmpeg_factory.mgr, - &ffmpeg_factory.base); - - /* Destroy mutex. */ - pj_mutex_destroy(ffmpeg_factory.mutex); - - /* Destroy pool. */ - pj_pool_release(ffmpeg_factory.pool); - ffmpeg_factory.pool = NULL; - - pjmedia_ffmpeg_dec_ref(); - - return status; -} - - -/* - * Check if factory can allocate the specified codec. - */ -static pj_status_t ffmpeg_test_alloc( pjmedia_vid_codec_factory *factory, - const pjmedia_vid_codec_info *info ) -{ - const ffmpeg_codec_desc *desc; - - PJ_ASSERT_RETURN(factory==&ffmpeg_factory.base, PJ_EINVAL); - PJ_ASSERT_RETURN(info, PJ_EINVAL); - - desc = find_codec_desc_by_info(info); - if (!desc) { - return PJMEDIA_CODEC_EUNSUP; - } - - return PJ_SUCCESS; -} - -/* - * Generate default attribute. - */ -static pj_status_t ffmpeg_default_attr( pjmedia_vid_codec_factory *factory, - const pjmedia_vid_codec_info *info, - pjmedia_vid_codec_param *attr ) -{ - const ffmpeg_codec_desc *desc; - unsigned i; - - PJ_ASSERT_RETURN(factory==&ffmpeg_factory.base, PJ_EINVAL); - PJ_ASSERT_RETURN(info && attr, PJ_EINVAL); - - desc = find_codec_desc_by_info(info); - if (!desc) { - return PJMEDIA_CODEC_EUNSUP; - } - - pj_bzero(attr, sizeof(pjmedia_vid_codec_param)); - - /* Scan the requested packings and use the lowest number */ - attr->packing = 0; - for (i=0; i<15; ++i) { - unsigned packing = (1 << i); - if ((desc->info.packings & info->packings) & packing) { - attr->packing = (pjmedia_vid_packing)packing; - break; - } - } - if (attr->packing == 0) { - /* No supported packing in info */ - return PJMEDIA_CODEC_EUNSUP; - } - - /* Direction */ - attr->dir = desc->info.dir; - - /* Encoded format */ - pjmedia_format_init_video(&attr->enc_fmt, desc->info.fmt_id, - desc->size.w, desc->size.h, - desc->fps.num, desc->fps.denum); - - /* Decoded format */ - pjmedia_format_init_video(&attr->dec_fmt, desc->info.dec_fmt_id[0], - desc->size.w, desc->size.h, - desc->fps.num, desc->fps.denum); - - /* Decoding fmtp */ - attr->dec_fmtp = desc->dec_fmtp; - - /* Bitrate */ - attr->enc_fmt.det.vid.avg_bps = desc->avg_bps; - attr->enc_fmt.det.vid.max_bps = desc->max_bps; - - /* Encoding MTU */ - attr->enc_mtu = PJMEDIA_MAX_VID_PAYLOAD_SIZE; - - return PJ_SUCCESS; -} - -/* - * Enum codecs supported by this factory. - */ -static pj_status_t ffmpeg_enum_codecs( pjmedia_vid_codec_factory *factory, - unsigned *count, - pjmedia_vid_codec_info codecs[]) -{ - unsigned i, max_cnt; - - PJ_ASSERT_RETURN(codecs && *count > 0, PJ_EINVAL); - PJ_ASSERT_RETURN(factory == &ffmpeg_factory.base, PJ_EINVAL); - - max_cnt = PJ_MIN(*count, PJ_ARRAY_SIZE(codec_desc)); - *count = 0; - - for (i=0; iop = &ffmpeg_op; - codec->factory = factory; - ff = PJ_POOL_ZALLOC_T(pool, ffmpeg_private); - if (!ff) { - status = PJ_ENOMEM; - goto on_error; - } - codec->codec_data = ff; - ff->pool = pool; - ff->enc = desc->enc; - ff->dec = desc->dec; - ff->desc = desc; - - *p_codec = codec; - return PJ_SUCCESS; - -on_error: - if (pool) - pj_pool_release(pool); - return status; -} - -/* - * Free codec. - */ -static pj_status_t ffmpeg_dealloc_codec( pjmedia_vid_codec_factory *factory, - pjmedia_vid_codec *codec ) -{ - ffmpeg_private *ff; - pj_pool_t *pool; - - PJ_ASSERT_RETURN(factory && codec, PJ_EINVAL); - PJ_ASSERT_RETURN(factory == &ffmpeg_factory.base, PJ_EINVAL); - - /* Close codec, if it's not closed. */ - ff = (ffmpeg_private*) codec->codec_data; - pool = ff->pool; - codec->codec_data = NULL; - pj_pool_release(pool); - - return PJ_SUCCESS; -} - -/* - * Init codec. - */ -static pj_status_t ffmpeg_codec_init( pjmedia_vid_codec *codec, - pj_pool_t *pool ) -{ - PJ_UNUSED_ARG(codec); - PJ_UNUSED_ARG(pool); - return PJ_SUCCESS; -} - -static void print_ffmpeg_err(int err) -{ -#if LIBAVCODEC_VER_AT_LEAST(52,72) - char errbuf[512]; - if (av_strerror(err, errbuf, sizeof(errbuf)) >= 0) - PJ_LOG(5, (THIS_FILE, "ffmpeg err %d: %s", err, errbuf)); -#else - PJ_LOG(5, (THIS_FILE, "ffmpeg err %d", err)); -#endif - -} - -static pj_status_t open_ffmpeg_codec(ffmpeg_private *ff, - pj_mutex_t *ff_mutex) -{ - enum PixelFormat pix_fmt; - pjmedia_video_format_detail *vfd; - pj_bool_t enc_opened = PJ_FALSE, dec_opened = PJ_FALSE; - pj_status_t status; - - /* Get decoded pixel format */ - status = pjmedia_format_id_to_PixelFormat(ff->param.dec_fmt.id, - &pix_fmt); - if (status != PJ_SUCCESS) - return status; - ff->expected_dec_fmt = pix_fmt; - - /* Get video format detail for shortcut access to encoded format */ - vfd = pjmedia_format_get_video_format_detail(&ff->param.enc_fmt, - PJ_TRUE); - - /* Allocate ffmpeg codec context */ - if (ff->param.dir & PJMEDIA_DIR_ENCODING) { -#if LIBAVCODEC_VER_AT_LEAST(53,20) - ff->enc_ctx = avcodec_alloc_context3(ff->enc); -#else - ff->enc_ctx = avcodec_alloc_context(); -#endif - if (ff->enc_ctx == NULL) - goto on_error; - } - if (ff->param.dir & PJMEDIA_DIR_DECODING) { -#if LIBAVCODEC_VER_AT_LEAST(53,20) - ff->dec_ctx = avcodec_alloc_context3(ff->dec); -#else - ff->dec_ctx = avcodec_alloc_context(); -#endif - if (ff->dec_ctx == NULL) - goto on_error; - } - - /* Init generic encoder params */ - if (ff->param.dir & PJMEDIA_DIR_ENCODING) { - AVCodecContext *ctx = ff->enc_ctx; - - ctx->pix_fmt = pix_fmt; - ctx->width = vfd->size.w; - ctx->height = vfd->size.h; - ctx->time_base.num = vfd->fps.denum; - ctx->time_base.den = vfd->fps.num; - if (vfd->avg_bps) { - ctx->bit_rate = vfd->avg_bps; - if (vfd->max_bps > vfd->avg_bps) - ctx->bit_rate_tolerance = vfd->max_bps - vfd->avg_bps; - } - ctx->strict_std_compliance = FF_COMPLIANCE_STRICT; - ctx->workaround_bugs = FF_BUG_AUTODETECT; - ctx->opaque = ff; - - /* Set no delay, note that this may cause some codec functionals - * not working (e.g: rate control). - */ -#if LIBAVCODEC_VER_AT_LEAST(52,113) && !LIBAVCODEC_VER_AT_LEAST(53,20) - ctx->rc_lookahead = 0; -#endif - } - - /* Init generic decoder params */ - if (ff->param.dir & PJMEDIA_DIR_DECODING) { - AVCodecContext *ctx = ff->dec_ctx; - - /* Width/height may be overriden by ffmpeg after first decoding. */ - ctx->width = ctx->coded_width = ff->param.dec_fmt.det.vid.size.w; - ctx->height = ctx->coded_height = ff->param.dec_fmt.det.vid.size.h; - ctx->strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL; - ctx->workaround_bugs = FF_BUG_AUTODETECT; - ctx->opaque = ff; - } - - /* Override generic params or apply specific params before opening - * the codec. - */ - if (ff->desc->preopen) { - status = (*ff->desc->preopen)(ff); - if (status != PJ_SUCCESS) - goto on_error; - } - - /* Open encoder */ - if (ff->param.dir & PJMEDIA_DIR_ENCODING) { - int err; - - pj_mutex_lock(ff_mutex); - err = AVCODEC_OPEN(ff->enc_ctx, ff->enc); - pj_mutex_unlock(ff_mutex); - if (err < 0) { - print_ffmpeg_err(err); - status = PJMEDIA_CODEC_EFAILED; - goto on_error; - } - enc_opened = PJ_TRUE; - } - - /* Open decoder */ - if (ff->param.dir & PJMEDIA_DIR_DECODING) { - int err; - - pj_mutex_lock(ff_mutex); - err = AVCODEC_OPEN(ff->dec_ctx, ff->dec); - pj_mutex_unlock(ff_mutex); - if (err < 0) { - print_ffmpeg_err(err); - status = PJMEDIA_CODEC_EFAILED; - goto on_error; - } - dec_opened = PJ_TRUE; - } - - /* Let the codec apply specific params after the codec opened */ - if (ff->desc->postopen) { - status = (*ff->desc->postopen)(ff); - if (status != PJ_SUCCESS) - goto on_error; - } - - return PJ_SUCCESS; - -on_error: - if (ff->enc_ctx) { - if (enc_opened) - avcodec_close(ff->enc_ctx); - av_free(ff->enc_ctx); - ff->enc_ctx = NULL; - } - if (ff->dec_ctx) { - if (dec_opened) - avcodec_close(ff->dec_ctx); - av_free(ff->dec_ctx); - ff->dec_ctx = NULL; - } - return status; -} - -/* - * Open codec. - */ -static pj_status_t ffmpeg_codec_open( pjmedia_vid_codec *codec, - pjmedia_vid_codec_param *attr ) -{ - ffmpeg_private *ff; - pj_status_t status; - pj_mutex_t *ff_mutex; - - PJ_ASSERT_RETURN(codec && attr, PJ_EINVAL); - ff = (ffmpeg_private*)codec->codec_data; - - pj_memcpy(&ff->param, attr, sizeof(*attr)); - - /* Normalize encoding MTU in codec param */ - if (attr->enc_mtu > PJMEDIA_MAX_VID_PAYLOAD_SIZE) - attr->enc_mtu = PJMEDIA_MAX_VID_PAYLOAD_SIZE; - - /* Open the codec */ - ff_mutex = ((struct ffmpeg_factory*)codec->factory)->mutex; - status = open_ffmpeg_codec(ff, ff_mutex); - if (status != PJ_SUCCESS) - goto on_error; - - /* Init format info and apply-param of decoder */ - ff->dec_vfi = pjmedia_get_video_format_info(NULL, ff->param.dec_fmt.id); - if (!ff->dec_vfi) { - status = PJ_EINVAL; - goto on_error; - } - pj_bzero(&ff->dec_vafp, sizeof(ff->dec_vafp)); - ff->dec_vafp.size = ff->param.dec_fmt.det.vid.size; - ff->dec_vafp.buffer = NULL; - status = (*ff->dec_vfi->apply_fmt)(ff->dec_vfi, &ff->dec_vafp); - if (status != PJ_SUCCESS) { - goto on_error; - } - - /* Init format info and apply-param of encoder */ - ff->enc_vfi = pjmedia_get_video_format_info(NULL, ff->param.dec_fmt.id); - if (!ff->enc_vfi) { - status = PJ_EINVAL; - goto on_error; - } - pj_bzero(&ff->enc_vafp, sizeof(ff->enc_vafp)); - ff->enc_vafp.size = ff->param.enc_fmt.det.vid.size; - ff->enc_vafp.buffer = NULL; - status = (*ff->enc_vfi->apply_fmt)(ff->enc_vfi, &ff->enc_vafp); - if (status != PJ_SUCCESS) { - goto on_error; - } - - /* Alloc buffers if needed */ - ff->whole = (ff->param.packing == PJMEDIA_VID_PACKING_WHOLE); - if (!ff->whole) { - ff->enc_buf_size = ff->enc_vafp.framebytes; - ff->enc_buf = pj_pool_alloc(ff->pool, ff->enc_buf_size); - - ff->dec_buf_size = ff->dec_vafp.framebytes; - ff->dec_buf = pj_pool_alloc(ff->pool, ff->dec_buf_size); - } - - /* Update codec attributes, e.g: encoding format may be changed by - * SDP fmtp negotiation. - */ - pj_memcpy(attr, &ff->param, sizeof(*attr)); - - return PJ_SUCCESS; - -on_error: - ffmpeg_codec_close(codec); - return status; -} - -/* - * Close codec. - */ -static pj_status_t ffmpeg_codec_close( pjmedia_vid_codec *codec ) -{ - ffmpeg_private *ff; - pj_mutex_t *ff_mutex; - - PJ_ASSERT_RETURN(codec, PJ_EINVAL); - ff = (ffmpeg_private*)codec->codec_data; - ff_mutex = ((struct ffmpeg_factory*)codec->factory)->mutex; - - pj_mutex_lock(ff_mutex); - if (ff->enc_ctx) { - avcodec_close(ff->enc_ctx); - av_free(ff->enc_ctx); - } - if (ff->dec_ctx && ff->dec_ctx!=ff->enc_ctx) { - avcodec_close(ff->dec_ctx); - av_free(ff->dec_ctx); - } - ff->enc_ctx = NULL; - ff->dec_ctx = NULL; - pj_mutex_unlock(ff_mutex); - - return PJ_SUCCESS; -} - - -/* - * Modify codec settings. - */ -static pj_status_t ffmpeg_codec_modify( pjmedia_vid_codec *codec, - const pjmedia_vid_codec_param *attr) -{ - ffmpeg_private *ff = (ffmpeg_private*)codec->codec_data; - - PJ_UNUSED_ARG(attr); - PJ_UNUSED_ARG(ff); - - return PJ_ENOTSUP; -} - -static pj_status_t ffmpeg_codec_get_param(pjmedia_vid_codec *codec, - pjmedia_vid_codec_param *param) -{ - ffmpeg_private *ff; - - PJ_ASSERT_RETURN(codec && param, PJ_EINVAL); - - ff = (ffmpeg_private*)codec->codec_data; - pj_memcpy(param, &ff->param, sizeof(*param)); - - return PJ_SUCCESS; -} - - -static pj_status_t ffmpeg_packetize ( pjmedia_vid_codec *codec, - pj_uint8_t *bits, - pj_size_t bits_len, - unsigned *bits_pos, - const pj_uint8_t **payload, - pj_size_t *payload_len) -{ - ffmpeg_private *ff = (ffmpeg_private*)codec->codec_data; - - if (ff->desc->packetize) { - return (*ff->desc->packetize)(ff, bits, bits_len, bits_pos, - payload, payload_len); - } - - return PJ_ENOTSUP; -} - -static pj_status_t ffmpeg_unpacketize(pjmedia_vid_codec *codec, - const pj_uint8_t *payload, - pj_size_t payload_len, - pj_uint8_t *bits, - pj_size_t bits_len, - unsigned *bits_pos) -{ - ffmpeg_private *ff = (ffmpeg_private*)codec->codec_data; - - if (ff->desc->unpacketize) { - return (*ff->desc->unpacketize)(ff, payload, payload_len, - bits, bits_len, bits_pos); - } - - return PJ_ENOTSUP; -} - - -/* - * Encode frames. - */ -static pj_status_t ffmpeg_codec_encode_whole(pjmedia_vid_codec *codec, - const pjmedia_vid_encode_opt *opt, - const pjmedia_frame *input, - unsigned output_buf_len, - pjmedia_frame *output) -{ - ffmpeg_private *ff = (ffmpeg_private*)codec->codec_data; - pj_uint8_t *p = (pj_uint8_t*)input->buf; - AVFrame avframe; - AVPacket avpacket; - int err, got_packet; - //AVRational src_timebase; - /* For some reasons (e.g: SSE/MMX usage), the avcodec_encode_video() must - * have stack aligned to 16 bytes. Let's try to be safe by preparing the - * 16-bytes aligned stack here, in case it's not managed by the ffmpeg. - */ - PJ_ALIGN_DATA(pj_uint32_t i[4], 16); - - if ((long)i & 0xF) { - PJ_LOG(2,(THIS_FILE, "Stack alignment fails")); - } - - /* Check if encoder has been opened */ - PJ_ASSERT_RETURN(ff->enc_ctx, PJ_EINVALIDOP); - - avcodec_get_frame_defaults(&avframe); - - // Let ffmpeg manage the timestamps - /* - src_timebase.num = 1; - src_timebase.den = ff->desc->info.clock_rate; - avframe.pts = av_rescale_q(input->timestamp.u64, src_timebase, - ff->enc_ctx->time_base); - */ - - for (i[0] = 0; i[0] < ff->enc_vfi->plane_cnt; ++i[0]) { - avframe.data[i[0]] = p; - avframe.linesize[i[0]] = ff->enc_vafp.strides[i[0]]; - p += ff->enc_vafp.plane_bytes[i[0]]; - } - - /* Force keyframe */ - if (opt && opt->force_keyframe) { -#if LIBAVCODEC_VER_AT_LEAST(53,20) - avframe.pict_type = AV_PICTURE_TYPE_I; -#else - avframe.pict_type = FF_I_TYPE; -#endif - } - - av_init_packet(&avpacket); - avpacket.data = (pj_uint8_t*)output->buf; - avpacket.size = output_buf_len; - -#if LIBAVCODEC_VER_AT_LEAST(54,15) - err = avcodec_encode_video2(ff->enc_ctx, &avpacket, &avframe, &got_packet); - if (!err && got_packet) - err = avpacket.size; -#else - PJ_UNUSED_ARG(got_packet); - err = avcodec_encode_video(ff->enc_ctx, avpacket.data, avpacket.size, &avframe); -#endif - - if (err < 0) { - print_ffmpeg_err(err); - return PJMEDIA_CODEC_EFAILED; - } else { - output->size = err; - output->bit_info = 0; - if (ff->enc_ctx->coded_frame->key_frame) - output->bit_info |= PJMEDIA_VID_FRM_KEYFRAME; - } - - return PJ_SUCCESS; -} - -static pj_status_t ffmpeg_codec_encode_begin(pjmedia_vid_codec *codec, - const pjmedia_vid_encode_opt *opt, - const pjmedia_frame *input, - unsigned out_size, - pjmedia_frame *output, - pj_bool_t *has_more) -{ - ffmpeg_private *ff = (ffmpeg_private*)codec->codec_data; - pj_status_t status; - - *has_more = PJ_FALSE; - - if (ff->whole) { - status = ffmpeg_codec_encode_whole(codec, opt, input, out_size, - output); - } else { - pjmedia_frame whole_frm; - const pj_uint8_t *payload; - pj_size_t payload_len; - - pj_bzero(&whole_frm, sizeof(whole_frm)); - whole_frm.buf = ff->enc_buf; - whole_frm.size = ff->enc_buf_size; - status = ffmpeg_codec_encode_whole(codec, opt, input, - whole_frm.size, &whole_frm); - if (status != PJ_SUCCESS) - return status; - - ff->enc_buf_is_keyframe = (whole_frm.bit_info & - PJMEDIA_VID_FRM_KEYFRAME); - ff->enc_frame_len = (unsigned)whole_frm.size; - ff->enc_processed = 0; - status = ffmpeg_packetize(codec, (pj_uint8_t*)whole_frm.buf, - whole_frm.size, &ff->enc_processed, - &payload, &payload_len); - if (status != PJ_SUCCESS) - return status; - - if (out_size < payload_len) - return PJMEDIA_CODEC_EFRMTOOSHORT; - - output->type = PJMEDIA_FRAME_TYPE_VIDEO; - pj_memcpy(output->buf, payload, payload_len); - output->size = payload_len; - - if (ff->enc_buf_is_keyframe) - output->bit_info |= PJMEDIA_VID_FRM_KEYFRAME; - - *has_more = (ff->enc_processed < ff->enc_frame_len); - } - - return status; -} - -static pj_status_t ffmpeg_codec_encode_more(pjmedia_vid_codec *codec, - unsigned out_size, - pjmedia_frame *output, - pj_bool_t *has_more) -{ - ffmpeg_private *ff = (ffmpeg_private*)codec->codec_data; - const pj_uint8_t *payload; - pj_size_t payload_len; - pj_status_t status; - - *has_more = PJ_FALSE; - - if (ff->enc_processed >= ff->enc_frame_len) { - /* No more frame */ - return PJ_EEOF; - } - - status = ffmpeg_packetize(codec, (pj_uint8_t*)ff->enc_buf, - ff->enc_frame_len, &ff->enc_processed, - &payload, &payload_len); - if (status != PJ_SUCCESS) - return status; - - if (out_size < payload_len) - return PJMEDIA_CODEC_EFRMTOOSHORT; - - output->type = PJMEDIA_FRAME_TYPE_VIDEO; - pj_memcpy(output->buf, payload, payload_len); - output->size = payload_len; - - if (ff->enc_buf_is_keyframe) - output->bit_info |= PJMEDIA_VID_FRM_KEYFRAME; - - *has_more = (ff->enc_processed < ff->enc_frame_len); - - return PJ_SUCCESS; -} - - -static pj_status_t check_decode_result(pjmedia_vid_codec *codec, - const pj_timestamp *ts, - pj_bool_t got_keyframe) -{ - ffmpeg_private *ff = (ffmpeg_private*)codec->codec_data; - pjmedia_video_apply_fmt_param *vafp = &ff->dec_vafp; - pjmedia_event event; - - /* Check for format change. - * Decoder output format is set by libavcodec, in case it is different - * to the configured param. - */ - if (ff->dec_ctx->pix_fmt != ff->expected_dec_fmt || - ff->dec_ctx->width != (int)vafp->size.w || - ff->dec_ctx->height != (int)vafp->size.h) - { - pjmedia_format_id new_fmt_id; - pj_status_t status; - - /* Get current raw format id from ffmpeg decoder context */ - status = PixelFormat_to_pjmedia_format_id(ff->dec_ctx->pix_fmt, - &new_fmt_id); - if (status != PJ_SUCCESS) - return status; - - /* Update decoder format in param */ - ff->param.dec_fmt.id = new_fmt_id; - ff->param.dec_fmt.det.vid.size.w = ff->dec_ctx->width; - ff->param.dec_fmt.det.vid.size.h = ff->dec_ctx->height; - ff->expected_dec_fmt = ff->dec_ctx->pix_fmt; - - /* Re-init format info and apply-param of decoder */ - ff->dec_vfi = pjmedia_get_video_format_info(NULL, ff->param.dec_fmt.id); - if (!ff->dec_vfi) - return PJ_ENOTSUP; - pj_bzero(&ff->dec_vafp, sizeof(ff->dec_vafp)); - ff->dec_vafp.size = ff->param.dec_fmt.det.vid.size; - ff->dec_vafp.buffer = NULL; - status = (*ff->dec_vfi->apply_fmt)(ff->dec_vfi, &ff->dec_vafp); - if (status != PJ_SUCCESS) - return status; - - /* Realloc buffer if necessary */ - if (ff->dec_vafp.framebytes > ff->dec_buf_size) { - PJ_LOG(5,(THIS_FILE, "Reallocating decoding buffer %u --> %u", - (unsigned)ff->dec_buf_size, - (unsigned)ff->dec_vafp.framebytes)); - ff->dec_buf_size = ff->dec_vafp.framebytes; - ff->dec_buf = pj_pool_alloc(ff->pool, ff->dec_buf_size); - } - - /* Broadcast format changed event */ - pjmedia_event_init(&event, PJMEDIA_EVENT_FMT_CHANGED, ts, codec); - event.data.fmt_changed.dir = PJMEDIA_DIR_DECODING; - pj_memcpy(&event.data.fmt_changed.new_fmt, &ff->param.dec_fmt, - sizeof(ff->param.dec_fmt)); - pjmedia_event_publish(NULL, codec, &event, 0); - } - - /* Check for missing/found keyframe */ - if (got_keyframe) { - pj_get_timestamp(&ff->last_dec_keyframe_ts); - - /* Broadcast keyframe event */ - pjmedia_event_init(&event, PJMEDIA_EVENT_KEYFRAME_FOUND, ts, codec); - pjmedia_event_publish(NULL, codec, &event, 0); - } else if (ff->last_dec_keyframe_ts.u64 == 0) { - /* Broadcast missing keyframe event */ - pjmedia_event_init(&event, PJMEDIA_EVENT_KEYFRAME_MISSING, ts, codec); - pjmedia_event_publish(NULL, codec, &event, 0); - } - - return PJ_SUCCESS; -} - -/* - * Decode frame. - */ -static pj_status_t ffmpeg_codec_decode_whole(pjmedia_vid_codec *codec, - const pjmedia_frame *input, - unsigned output_buf_len, - pjmedia_frame *output) -{ - ffmpeg_private *ff = (ffmpeg_private*)codec->codec_data; - AVFrame avframe; - AVPacket avpacket; - int err, got_picture; - - /* Check if decoder has been opened */ - PJ_ASSERT_RETURN(ff->dec_ctx, PJ_EINVALIDOP); - - /* Reset output frame bit info */ - output->bit_info = 0; - - /* Validate output buffer size */ - // Do this validation later after getting decoding result, where the real - // decoded size will be assured. - //if (ff->dec_vafp.framebytes > output_buf_len) - //return PJ_ETOOSMALL; - - /* Init frame to receive the decoded data, the ffmpeg codec context will - * automatically provide the decoded buffer (single buffer used for the - * whole decoding session, and seems to be freed when the codec context - * closed). - */ - avcodec_get_frame_defaults(&avframe); - - /* Init packet, the container of the encoded data */ - av_init_packet(&avpacket); - avpacket.data = (pj_uint8_t*)input->buf; - avpacket.size = input->size; - - /* ffmpeg warns: - * - input buffer padding, at least FF_INPUT_BUFFER_PADDING_SIZE - * - null terminated - * Normally, encoded buffer is allocated more than needed, so lets just - * bzero the input buffer end/pad, hope it will be just fine. - */ - pj_bzero(avpacket.data+avpacket.size, FF_INPUT_BUFFER_PADDING_SIZE); - - output->bit_info = 0; - output->timestamp = input->timestamp; - -#if LIBAVCODEC_VER_AT_LEAST(52,72) - //avpacket.flags = AV_PKT_FLAG_KEY; -#else - avpacket.flags = 0; -#endif - -#if LIBAVCODEC_VER_AT_LEAST(52,72) - err = avcodec_decode_video2(ff->dec_ctx, &avframe, - &got_picture, &avpacket); -#else - err = avcodec_decode_video(ff->dec_ctx, &avframe, - &got_picture, avpacket.data, avpacket.size); -#endif - if (err < 0) { - pjmedia_event event; - - output->type = PJMEDIA_FRAME_TYPE_NONE; - output->size = 0; - print_ffmpeg_err(err); - - /* Broadcast missing keyframe event */ - pjmedia_event_init(&event, PJMEDIA_EVENT_KEYFRAME_MISSING, - &input->timestamp, codec); - pjmedia_event_publish(NULL, codec, &event, 0); - - return PJMEDIA_CODEC_EBADBITSTREAM; - } else if (got_picture) { - pjmedia_video_apply_fmt_param *vafp = &ff->dec_vafp; - pj_uint8_t *q = (pj_uint8_t*)output->buf; - unsigned i; - pj_status_t status; - - /* Check decoding result, e.g: see if the format got changed, - * keyframe found/missing. - */ - status = check_decode_result(codec, &input->timestamp, - avframe.key_frame); - if (status != PJ_SUCCESS) - return status; - - /* Check provided buffer size */ - if (vafp->framebytes > output_buf_len) - return PJ_ETOOSMALL; - - /* Get the decoded data */ - for (i = 0; i < ff->dec_vfi->plane_cnt; ++i) { - pj_uint8_t *p = avframe.data[i]; - - /* The decoded data may contain padding */ - if (avframe.linesize[i]!=vafp->strides[i]) { - /* Padding exists, copy line by line */ - pj_uint8_t *q_end; - - q_end = q+vafp->plane_bytes[i]; - while(q < q_end) { - pj_memcpy(q, p, vafp->strides[i]); - q += vafp->strides[i]; - p += avframe.linesize[i]; - } - } else { - /* No padding, copy the whole plane */ - pj_memcpy(q, p, vafp->plane_bytes[i]); - q += vafp->plane_bytes[i]; - } - } - - output->type = PJMEDIA_FRAME_TYPE_VIDEO; - output->size = vafp->framebytes; - } else { - output->type = PJMEDIA_FRAME_TYPE_NONE; - output->size = 0; - } - - return PJ_SUCCESS; -} - -static pj_status_t ffmpeg_codec_decode( pjmedia_vid_codec *codec, - pj_size_t pkt_count, - pjmedia_frame packets[], - unsigned out_size, - pjmedia_frame *output) -{ - ffmpeg_private *ff = (ffmpeg_private*)codec->codec_data; - pj_status_t status; - - PJ_ASSERT_RETURN(codec && pkt_count > 0 && packets && output, - PJ_EINVAL); - - if (ff->whole) { - pj_assert(pkt_count==1); - return ffmpeg_codec_decode_whole(codec, &packets[0], out_size, output); - } else { - pjmedia_frame whole_frm; - unsigned whole_len = 0; - unsigned i; - - for (i=0; i ff->dec_buf_size) { - PJ_LOG(5,(THIS_FILE, "Decoding buffer overflow")); - break; - } - - status = ffmpeg_unpacketize(codec, packets[i].buf, packets[i].size, - ff->dec_buf, ff->dec_buf_size, - &whole_len); - if (status != PJ_SUCCESS) { - PJ_PERROR(5,(THIS_FILE, status, "Unpacketize error")); - continue; - } - } - - whole_frm.buf = ff->dec_buf; - whole_frm.size = whole_len; - whole_frm.timestamp = output->timestamp = packets[i].timestamp; - whole_frm.bit_info = 0; - - return ffmpeg_codec_decode_whole(codec, &whole_frm, out_size, output); - } -} - - -#ifdef _MSC_VER -# pragma comment( lib, "avcodec.lib") -#endif - -#endif /* PJMEDIA_HAS_FFMPEG_VID_CODEC */ - diff --git a/res/pjproject/pjmedia/src/pjmedia-codec/g722.c b/res/pjproject/pjmedia/src/pjmedia-codec/g722.c deleted file mode 100644 index acddc14208..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-codec/g722.c +++ /dev/null @@ -1,714 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#if defined(PJMEDIA_HAS_G722_CODEC) && (PJMEDIA_HAS_G722_CODEC != 0) - -#include "g722/g722_enc.h" -#include "g722/g722_dec.h" - -#define THIS_FILE "g722.c" - -/* Defines */ -#define PTIME (10) -#define SAMPLES_PER_FRAME (16000 * PTIME /1000) -#define FRAME_LEN (80) -#define PLC_DISABLED 0 - -/* Tracing */ -#ifndef PJ_TRACE -# define PJ_TRACE 0 -#endif - -#if PJ_TRACE -# define TRACE_(expr) PJ_LOG(4,expr) -#else -# define TRACE_(expr) -#endif - - -/* Prototypes for G722 factory */ -static pj_status_t g722_test_alloc(pjmedia_codec_factory *factory, - const pjmedia_codec_info *id ); -static pj_status_t g722_default_attr(pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ); -static pj_status_t g722_enum_codecs(pjmedia_codec_factory *factory, - unsigned *count, - pjmedia_codec_info codecs[]); -static pj_status_t g722_alloc_codec(pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec **p_codec); -static pj_status_t g722_dealloc_codec(pjmedia_codec_factory *factory, - pjmedia_codec *codec ); - -/* Prototypes for G722 implementation. */ -static pj_status_t g722_codec_init(pjmedia_codec *codec, - pj_pool_t *pool ); -static pj_status_t g722_codec_open(pjmedia_codec *codec, - pjmedia_codec_param *attr ); -static pj_status_t g722_codec_close(pjmedia_codec *codec ); -static pj_status_t g722_codec_modify(pjmedia_codec *codec, - const pjmedia_codec_param *attr ); -static pj_status_t g722_codec_parse(pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *ts, - unsigned *frame_cnt, - pjmedia_frame frames[]); -static pj_status_t g722_codec_encode(pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output); -static pj_status_t g722_codec_decode(pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output); -#if !PLC_DISABLED -static pj_status_t g722_codec_recover(pjmedia_codec *codec, - unsigned output_buf_len, - struct pjmedia_frame *output); -#endif - -/* Definition for G722 codec operations. */ -static pjmedia_codec_op g722_op = -{ - &g722_codec_init, - &g722_codec_open, - &g722_codec_close, - &g722_codec_modify, - &g722_codec_parse, - &g722_codec_encode, - &g722_codec_decode, -#if !PLC_DISABLED - &g722_codec_recover -#else - NULL -#endif -}; - -/* Definition for G722 codec factory operations. */ -static pjmedia_codec_factory_op g722_factory_op = -{ - &g722_test_alloc, - &g722_default_attr, - &g722_enum_codecs, - &g722_alloc_codec, - &g722_dealloc_codec, - &pjmedia_codec_g722_deinit -}; - -/* G722 factory */ -static struct g722_codec_factory -{ - pjmedia_codec_factory base; - pjmedia_endpt *endpt; - pj_pool_t *pool; - pj_mutex_t *mutex; - pjmedia_codec codec_list; - unsigned pcm_shift; -} g722_codec_factory; - - -/* G722 codec private data. */ -struct g722_data -{ - g722_enc_t encoder; - g722_dec_t decoder; - unsigned pcm_shift; - pj_int16_t pcm_clip_mask; - pj_bool_t plc_enabled; - pj_bool_t vad_enabled; - pjmedia_silence_det *vad; - pj_timestamp last_tx; -#if !PLC_DISABLED - pjmedia_plc *plc; -#endif -}; - - - -/* - * Initialize and register G722 codec factory to pjmedia endpoint. - */ -PJ_DEF(pj_status_t) pjmedia_codec_g722_init( pjmedia_endpt *endpt ) -{ - pjmedia_codec_mgr *codec_mgr; - pj_status_t status; - - if (g722_codec_factory.pool != NULL) - return PJ_SUCCESS; - - /* Create G722 codec factory. */ - g722_codec_factory.base.op = &g722_factory_op; - g722_codec_factory.base.factory_data = NULL; - g722_codec_factory.endpt = endpt; - g722_codec_factory.pcm_shift = PJMEDIA_G722_DEFAULT_PCM_SHIFT; - - g722_codec_factory.pool = pjmedia_endpt_create_pool(endpt, "g722", 1000, - 1000); - if (!g722_codec_factory.pool) - return PJ_ENOMEM; - - pj_list_init(&g722_codec_factory.codec_list); - - /* Create mutex. */ - status = pj_mutex_create_simple(g722_codec_factory.pool, "g722", - &g722_codec_factory.mutex); - if (status != PJ_SUCCESS) - goto on_error; - - /* Get the codec manager. */ - codec_mgr = pjmedia_endpt_get_codec_mgr(endpt); - if (!codec_mgr) { - status = PJ_EINVALIDOP; - goto on_error; - } - - /* Register codec factory to endpoint. */ - status = pjmedia_codec_mgr_register_factory(codec_mgr, - &g722_codec_factory.base); - if (status != PJ_SUCCESS) - goto on_error; - - TRACE_((THIS_FILE, "G722 codec factory initialized")); - - /* Done. */ - return PJ_SUCCESS; - -on_error: - pj_pool_release(g722_codec_factory.pool); - g722_codec_factory.pool = NULL; - return status; -} - -/* - * Unregister G722 codec factory from pjmedia endpoint and deinitialize - * the G722 codec library. - */ -PJ_DEF(pj_status_t) pjmedia_codec_g722_deinit(void) -{ - pjmedia_codec_mgr *codec_mgr; - pj_status_t status; - - if (g722_codec_factory.pool == NULL) - return PJ_SUCCESS; - - /* Get the codec manager. */ - codec_mgr = pjmedia_endpt_get_codec_mgr(g722_codec_factory.endpt); - if (!codec_mgr) { - pj_pool_release(g722_codec_factory.pool); - g722_codec_factory.pool = NULL; - return PJ_EINVALIDOP; - } - - /* Unregister G722 codec factory. */ - status = pjmedia_codec_mgr_unregister_factory(codec_mgr, - &g722_codec_factory.base); - - /* Destroy mutex. */ - pj_mutex_destroy(g722_codec_factory.mutex); - - /* Destroy pool. */ - pj_pool_release(g722_codec_factory.pool); - g722_codec_factory.pool = NULL; - - TRACE_((THIS_FILE, "G722 codec factory shutdown")); - return status; -} - - -/* - * Set level adjustment. - */ -PJ_DEF(pj_status_t) pjmedia_codec_g722_set_pcm_shift(unsigned val) -{ - g722_codec_factory.pcm_shift = val; - return PJ_SUCCESS; -} - - -/* - * Check if factory can allocate the specified codec. - */ -static pj_status_t g722_test_alloc(pjmedia_codec_factory *factory, - const pjmedia_codec_info *info ) -{ - PJ_UNUSED_ARG(factory); - - /* Check payload type. */ - if (info->pt != PJMEDIA_RTP_PT_G722) - return PJMEDIA_CODEC_EUNSUP; - - /* Ignore the rest, since it's static payload type. */ - - return PJ_SUCCESS; -} - -/* - * Generate default attribute. - */ -static pj_status_t g722_default_attr( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ) -{ - PJ_UNUSED_ARG(factory); - PJ_UNUSED_ARG(id); - - pj_bzero(attr, sizeof(pjmedia_codec_param)); - attr->info.clock_rate = 16000; - attr->info.channel_cnt = 1; - attr->info.avg_bps = 64000; - attr->info.max_bps = 64000; - attr->info.pcm_bits_per_sample = 16; - attr->info.frm_ptime = PTIME; - attr->info.pt = PJMEDIA_RTP_PT_G722; - - attr->setting.frm_per_pkt = 2; - attr->setting.vad = 1; - attr->setting.plc = 1; - - /* Default all other flag bits disabled. */ - - return PJ_SUCCESS; -} - -/* - * Enum codecs supported by this factory (i.e. only G722!). - */ -static pj_status_t g722_enum_codecs(pjmedia_codec_factory *factory, - unsigned *count, - pjmedia_codec_info codecs[]) -{ - PJ_UNUSED_ARG(factory); - PJ_ASSERT_RETURN(codecs && *count > 0, PJ_EINVAL); - - pj_bzero(&codecs[0], sizeof(pjmedia_codec_info)); - codecs[0].encoding_name = pj_str("G722"); - codecs[0].pt = PJMEDIA_RTP_PT_G722; - codecs[0].type = PJMEDIA_TYPE_AUDIO; - codecs[0].clock_rate = 16000; - codecs[0].channel_cnt = 1; - - *count = 1; - - return PJ_SUCCESS; -} - -/* - * Allocate a new G722 codec instance. - */ -static pj_status_t g722_alloc_codec(pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec **p_codec) -{ - pjmedia_codec *codec; - struct g722_data *g722_data; - - PJ_ASSERT_RETURN(factory && id && p_codec, PJ_EINVAL); - PJ_ASSERT_RETURN(factory == &g722_codec_factory.base, PJ_EINVAL); - - pj_mutex_lock(g722_codec_factory.mutex); - - /* Get free nodes, if any. */ - if (!pj_list_empty(&g722_codec_factory.codec_list)) { - codec = g722_codec_factory.codec_list.next; - pj_list_erase(codec); - } else { - pj_status_t status; - - codec = PJ_POOL_ZALLOC_T(g722_codec_factory.pool, pjmedia_codec); - PJ_ASSERT_RETURN(codec != NULL, PJ_ENOMEM); - codec->op = &g722_op; - codec->factory = factory; - - g722_data = PJ_POOL_ZALLOC_T(g722_codec_factory.pool, struct g722_data); - codec->codec_data = g722_data; - -#if !PLC_DISABLED - /* Create PLC */ - status = pjmedia_plc_create(g722_codec_factory.pool, 16000, - SAMPLES_PER_FRAME, 0, &g722_data->plc); - if (status != PJ_SUCCESS) { - pj_mutex_unlock(g722_codec_factory.mutex); - return status; - } -#endif - - /* Create silence detector */ - status = pjmedia_silence_det_create(g722_codec_factory.pool, - 16000, SAMPLES_PER_FRAME, - &g722_data->vad); - if (status != PJ_SUCCESS) { - pj_mutex_unlock(g722_codec_factory.mutex); - TRACE_((THIS_FILE, "Create silence detector failed (status = %d)", - status)); - return status; - } - } - - - pj_mutex_unlock(g722_codec_factory.mutex); - - *p_codec = codec; - return PJ_SUCCESS; -} - -/* - * Free codec. - */ -static pj_status_t g722_dealloc_codec(pjmedia_codec_factory *factory, - pjmedia_codec *codec ) -{ - struct g722_data *g722_data; - int i; - - PJ_ASSERT_RETURN(factory && codec, PJ_EINVAL); - PJ_ASSERT_RETURN(factory == &g722_codec_factory.base, PJ_EINVAL); - - g722_data = (struct g722_data*) codec->codec_data; - - /* Close codec, if it's not closed. */ - g722_codec_close(codec); - -#if !PLC_DISABLED - /* Clear left samples in the PLC, since codec+plc will be reused - * next time. - */ - for (i=0; i<2; ++i) { - pj_int16_t frame[SAMPLES_PER_FRAME]; - pjmedia_zero_samples(frame, PJ_ARRAY_SIZE(frame)); - pjmedia_plc_save(g722_data->plc, frame); - } -#else - PJ_UNUSED_ARG(i); -#endif - - /* Re-init silence_period */ - pj_set_timestamp32(&g722_data->last_tx, 0, 0); - - /* Put in the free list. */ - pj_mutex_lock(g722_codec_factory.mutex); - pj_list_push_front(&g722_codec_factory.codec_list, codec); - pj_mutex_unlock(g722_codec_factory.mutex); - - return PJ_SUCCESS; -} - -/* - * Init codec. - */ -static pj_status_t g722_codec_init(pjmedia_codec *codec, - pj_pool_t *pool ) -{ - PJ_UNUSED_ARG(codec); - PJ_UNUSED_ARG(pool); - return PJ_SUCCESS; -} - -/* - * Open codec. - */ -static pj_status_t g722_codec_open(pjmedia_codec *codec, - pjmedia_codec_param *attr ) -{ - struct g722_data *g722_data = (struct g722_data*) codec->codec_data; - pj_status_t status; - - PJ_ASSERT_RETURN(codec && attr, PJ_EINVAL); - PJ_ASSERT_RETURN(g722_data != NULL, PJ_EINVALIDOP); - - status = g722_enc_init(&g722_data->encoder); - if (status != PJ_SUCCESS) { - TRACE_((THIS_FILE, "g722_enc_init() failed, status=%d", status)); - pj_mutex_unlock(g722_codec_factory.mutex); - return PJMEDIA_CODEC_EFAILED; - } - - status = g722_dec_init(&g722_data->decoder); - if (status != PJ_SUCCESS) { - TRACE_((THIS_FILE, "g722_dec_init() failed, status=%d", status)); - pj_mutex_unlock(g722_codec_factory.mutex); - return PJMEDIA_CODEC_EFAILED; - } - - g722_data->vad_enabled = (attr->setting.vad != 0); - g722_data->plc_enabled = (attr->setting.plc != 0); - g722_data->pcm_shift = g722_codec_factory.pcm_shift; - g722_data->pcm_clip_mask = (pj_int16_t)(1<pcm_clip_mask <<= (16-g722_codec_factory.pcm_shift); - - TRACE_((THIS_FILE, "G722 codec opened: vad=%d, plc=%d", - g722_data->vad_enabled, g722_data->plc_enabled)); - return PJ_SUCCESS; -} - -/* - * Close codec. - */ -static pj_status_t g722_codec_close( pjmedia_codec *codec ) -{ - /* The codec, encoder, and decoder will be reused, so there's - * nothing to do here - */ - - PJ_UNUSED_ARG(codec); - - TRACE_((THIS_FILE, "G722 codec closed")); - return PJ_SUCCESS; -} - - -/* - * Modify codec settings. - */ -static pj_status_t g722_codec_modify(pjmedia_codec *codec, - const pjmedia_codec_param *attr ) -{ - struct g722_data *g722_data = (struct g722_data*) codec->codec_data; - - pj_assert(g722_data != NULL); - - g722_data->vad_enabled = (attr->setting.vad != 0); - g722_data->plc_enabled = (attr->setting.plc != 0); - - TRACE_((THIS_FILE, "G722 codec modified: vad=%d, plc=%d", - g722_data->vad_enabled, g722_data->plc_enabled)); - return PJ_SUCCESS; -} - - -/* - * Get frames in the packet. - */ -static pj_status_t g722_codec_parse(pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *ts, - unsigned *frame_cnt, - pjmedia_frame frames[]) -{ - unsigned count = 0; - - PJ_UNUSED_ARG(codec); - - PJ_ASSERT_RETURN(frame_cnt, PJ_EINVAL); - - TRACE_((THIS_FILE, "G722 parse(): input len=%d", pkt_size)); - - while (pkt_size >= FRAME_LEN && count < *frame_cnt) { - frames[count].type = PJMEDIA_FRAME_TYPE_AUDIO; - frames[count].buf = pkt; - frames[count].size = FRAME_LEN; - frames[count].timestamp.u64 = ts->u64 + count * SAMPLES_PER_FRAME; - - pkt = ((char*)pkt) + FRAME_LEN; - pkt_size -= FRAME_LEN; - - ++count; - } - - TRACE_((THIS_FILE, "G722 parse(): got %d frames", count)); - - *frame_cnt = count; - return PJ_SUCCESS; -} - -/* - * Encode frame. - */ -static pj_status_t g722_codec_encode(pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - struct g722_data *g722_data = (struct g722_data*) codec->codec_data; - pj_status_t status; - - pj_assert(g722_data && input && output); - - PJ_ASSERT_RETURN((input->size >> 2) <= output_buf_len, - PJMEDIA_CODEC_EFRMTOOSHORT); - - /* Detect silence */ - if (g722_data->vad_enabled) { - pj_bool_t is_silence; - pj_int32_t silence_duration; - - silence_duration = pj_timestamp_diff32(&g722_data->last_tx, - &input->timestamp); - - is_silence = pjmedia_silence_det_detect(g722_data->vad, - (const pj_int16_t*) input->buf, - (input->size >> 1), - NULL); - if (is_silence && - (PJMEDIA_CODEC_MAX_SILENCE_PERIOD == -1 || - silence_duration < PJMEDIA_CODEC_MAX_SILENCE_PERIOD*16000/1000)) - { - output->type = PJMEDIA_FRAME_TYPE_NONE; - output->buf = NULL; - output->size = 0; - output->timestamp = input->timestamp; - return PJ_SUCCESS; - } else { - g722_data->last_tx = input->timestamp; - } - } - - /* Adjust input signal level from 16-bit to 14-bit */ - if (g722_data->pcm_shift) { - pj_int16_t *p, *end; - - p = (pj_int16_t*)input->buf; - end = p + input->size/2; - while (p < end) { - *p++ >>= g722_data->pcm_shift; - } - } - - /* Encode to temporary buffer */ - output->size = output_buf_len; - status = g722_enc_encode(&g722_data->encoder, (pj_int16_t*)input->buf, - (input->size >> 1), output->buf, &output->size); - if (status != PJ_SUCCESS) { - output->size = 0; - output->buf = NULL; - output->type = PJMEDIA_FRAME_TYPE_NONE; - TRACE_((THIS_FILE, "G722 encode() status: %d", status)); - return PJMEDIA_CODEC_EFAILED; - } - - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->timestamp = input->timestamp; - - TRACE_((THIS_FILE, "G722 encode(): size=%d", output->size)); - return PJ_SUCCESS; -} - -/* - * Decode frame. - */ -static pj_status_t g722_codec_decode(pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - struct g722_data *g722_data = (struct g722_data*) codec->codec_data; - pj_status_t status; - - pj_assert(g722_data != NULL); - PJ_ASSERT_RETURN(input && output, PJ_EINVAL); - - TRACE_((THIS_FILE, "G722 decode(): inbuf=%p, insize=%d, outbuf=%p," - "outsize=%d", - input->buf, input->size, output->buf, output_buf_len)); - - if (output_buf_len < SAMPLES_PER_FRAME * 2) { - TRACE_((THIS_FILE, "G722 decode() ERROR: PJMEDIA_CODEC_EPCMTOOSHORT")); - return PJMEDIA_CODEC_EPCMTOOSHORT; - } - - if (input->size != FRAME_LEN) { - TRACE_((THIS_FILE, "G722 decode() ERROR: PJMEDIA_CODEC_EFRMTOOSHORT")); - return PJMEDIA_CODEC_EFRMTOOSHORT; - } - - - /* Decode */ - output->size = SAMPLES_PER_FRAME; - status = g722_dec_decode(&g722_data->decoder, input->buf, input->size, - (pj_int16_t*)output->buf, &output->size); - if (status != PJ_SUCCESS) { - TRACE_((THIS_FILE, "G722 decode() status: %d", status)); - return PJMEDIA_CODEC_EFAILED; - } - - pj_assert(output->size == SAMPLES_PER_FRAME); - - /* Adjust input signal level from 14-bit to 16-bit */ - if (g722_data->pcm_shift) { - pj_int16_t *p, *end; - - p = (pj_int16_t*)output->buf; - end = p + output->size; - while (p < end) { -#if PJMEDIA_G722_STOP_PCM_SHIFT_ON_CLIPPING - /* If there is clipping, stop the PCM shifting */ - if (*p & g722_data->pcm_clip_mask) { - g722_data->pcm_shift = 0; - break; - } -#endif - *p++ <<= g722_data->pcm_shift; - } - } - - output->size = SAMPLES_PER_FRAME * 2; - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->timestamp = input->timestamp; - -#if !PLC_DISABLED - if (g722_data->plc_enabled) - pjmedia_plc_save(g722_data->plc, (pj_int16_t*)output->buf); -#endif - - TRACE_((THIS_FILE, "G722 decode done")); - return PJ_SUCCESS; -} - - -#if !PLC_DISABLED -/* - * Recover lost frame. - */ -static pj_status_t g722_codec_recover(pjmedia_codec *codec, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - struct g722_data *g722_data = (struct g722_data*)codec->codec_data; - - PJ_ASSERT_RETURN(g722_data->plc_enabled, PJ_EINVALIDOP); - - PJ_ASSERT_RETURN(output_buf_len >= SAMPLES_PER_FRAME * 2, - PJMEDIA_CODEC_EPCMTOOSHORT); - - pjmedia_plc_generate(g722_data->plc, (pj_int16_t*)output->buf); - - output->size = SAMPLES_PER_FRAME * 2; - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - - return PJ_SUCCESS; -} -#endif - -#endif // PJMEDIA_HAS_G722_CODEC - diff --git a/res/pjproject/pjmedia/src/pjmedia-codec/g722/g722_dec.c b/res/pjproject/pjmedia/src/pjmedia-codec/g722/g722_dec.c deleted file mode 100644 index 27300c5259..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-codec/g722/g722_dec.c +++ /dev/null @@ -1,549 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -/* - * Based on implementation found in Carnegie Mellon Speech Group Software - * depository (ftp://ftp.cs.cmu.edu/project/fgdata/index.html). No copyright - * was claimed in the original source codes. - */ -#include -#include -#include - -#include "g722_dec.h" - -#if defined(PJMEDIA_HAS_G722_CODEC) && (PJMEDIA_HAS_G722_CODEC != 0) - -#define MODE 1 - -#define SATURATE(v, max, min) \ - if (v>max) v = max; \ - else if (v> 2 ; - wd2 = qm4[ril] ; - dlt = (detl * wd2) >> 15 ; - - return (dlt) ; -} - - -static int block3l (g722_dec_t *dec, int il) -{ - int detl ; - int ril, il4, wd, wd1, wd2, wd3, nbpl, depl ; - static const int wl[8] = { - -60, -30, 58, 172, 334, 538, 1198, 3042 - }; - static const int rl42[16] = { - 0, 7, 6, 5, 4, 3, 2, 1, 7, 6, 5, 4, 3, 2, 1, 0 - }; - - /* LOGSCL */ - ril = il >> 2 ; - il4 = rl42[ril] ; - wd = (dec->nbl * 32512) >> 15 ; - nbpl = wd + wl[il4] ; - - if (nbpl < 0) nbpl = 0 ; - if (nbpl > 18432) nbpl = 18432 ; - - /* SCALEL */ - wd1 = (nbpl >> 6) & 31 ; - wd2 = nbpl >> 11 ; - if ((8 - wd2) < 0) wd3 = ilb[wd1] << (wd2 - 8) ; - else wd3 = ilb[wd1] >> (8 - wd2) ; - depl = wd3 << 2 ; - - /* DELAYA */ - dec->nbl = nbpl ; - /* DELAYL */ - detl = depl ; - - return (detl) ; -} - - -static int block4l (g722_dec_t *dec, int dl) -{ - int sl = dec->slow ; - int i ; - int wd, wd1, wd2, wd3, wd4, wd5/*, wd6 */; - - dec->dlt[0] = dl; - - /* RECONS */ - dec->rlt[0] = sl + dec->dlt[0] ; - SATURATE(dec->rlt[0], 32767, -32768); - - /* PARREC */ - dec->plt[0] = dec->dlt[0] + dec->szl ; - SATURATE(dec->plt[0], 32767, -32768); - - /* UPPOL2 */ - dec->sgl[0] = dec->plt[0] >> 15 ; - dec->sgl[1] = dec->plt[1] >> 15 ; - dec->sgl[2] = dec->plt[2] >> 15 ; - - wd1 = dec->al[1] << 2; - SATURATE(wd1, 32767, -32768); - - if ( dec->sgl[0] == dec->sgl[1] ) wd2 = - wd1 ; - else wd2 = wd1 ; - if (wd2 > 32767) wd2 = 32767; - wd2 = wd2 >> 7 ; - - if ( dec->sgl[0] == dec->sgl[2] ) wd3 = 128 ; - else wd3 = - 128 ; - - wd4 = wd2 + wd3 ; - wd5 = (dec->al[2] * 32512) >> 15 ; - - dec->apl[2] = wd4 + wd5 ; - SATURATE(dec->apl[2], 12288, -12288); - - /* UPPOL1 */ - dec->sgl[0] = dec->plt[0] >> 15 ; - dec->sgl[1] = dec->plt[1] >> 15 ; - - if ( dec->sgl[0] == dec->sgl[1] ) wd1 = 192 ; - else wd1 = - 192 ; - - wd2 = (dec->al[1] * 32640) >> 15 ; - - dec->apl[1] = wd1 + wd2 ; - SATURATE(dec->apl[1], 32767, -32768); - - wd3 = (15360 - dec->apl[2]) ; - SATURATE(wd3, 32767, -32768); - if ( dec->apl[1] > wd3) dec->apl[1] = wd3 ; - if ( dec->apl[1] < -wd3) dec->apl[1] = -wd3 ; - - /* UPZERO */ - if ( dec->dlt[0] == 0 ) wd1 = 0 ; - else wd1 = 128 ; - - dec->sgl[0] = dec->dlt[0] >> 15 ; - - for ( i = 1; i < 7; i++ ) { - dec->sgl[i] = dec->dlt[i] >> 15 ; - if ( dec->sgl[i] == dec->sgl[0] ) wd2 = wd1 ; - else wd2 = - wd1 ; - wd3 = (dec->bl[i] * 32640) >> 15 ; - dec->bpl[i] = wd2 + wd3 ; - SATURATE(dec->bpl[i], 32767, -32768); - } - - /* DELAYA */ - for ( i = 6; i > 0; i-- ) { - dec->dlt[i] = dec->dlt[i-1] ; - dec->bl[i] = dec->bpl[i] ; - } - - for ( i = 2; i > 0; i-- ) { - dec->rlt[i] = dec->rlt[i-1] ; - dec->plt[i] = dec->plt[i-1] ; - dec->al[i] = dec->apl[i] ; - } - - /* FILTEP */ - wd1 = dec->rlt[1] << 1; - SATURATE(wd1, 32767, -32768); - wd1 = ( dec->al[1] * wd1 ) >> 15 ; - - wd2 = dec->rlt[2] << 1; - SATURATE(wd2, 32767, -32768); - wd2 = ( dec->al[2] * wd2 ) >> 15 ; - - dec->spl = wd1 + wd2 ; - SATURATE(dec->spl, 32767, -32768); - - /* FILTEZ */ - dec->szl = 0 ; - for (i=6; i>0; i--) { - wd = dec->dlt[i] << 1; - SATURATE(wd, 32767, -32768); - dec->szl += (dec->bl[i] * wd) >> 15 ; - SATURATE(dec->szl, 32767, -32768); - } - - /* PREDIC */ - sl = dec->spl + dec->szl ; - SATURATE(sl, 32767, -32768); - - return (sl) ; -} - -static int block5l (int ilr, int sl, int detl, int mode) -{ - int yl ; - int ril, dl, wd2 = 0; - static const int qm5[32] = { - -280, -280, -23352, -17560, - -14120, -11664, -9752, -8184, - -6864, -5712, -4696, -3784, - -2960, -2208, -1520, -880, - 23352, 17560, 14120, 11664, - 9752, 8184, 6864, 5712, - 4696, 3784, 2960, 2208, - 1520, 880, 280, -280 - }; - static const int qm6[64] = { - -136, -136, -136, -136, - -24808, -21904, -19008, -16704, - -14984, -13512, -12280, -11192, - -10232, -9360, -8576, -7856, - -7192, -6576, -6000, -5456, - -4944, -4464, -4008, -3576, - -3168, -2776, -2400, -2032, - -1688, -1360, -1040, -728, - 24808, 21904, 19008, 16704, - 14984, 13512, 12280, 11192, - 10232, 9360, 8576, 7856, - 7192, 6576, 6000, 5456, - 4944, 4464, 4008, 3576, - 3168, 2776, 2400, 2032, - 1688, 1360, 1040, 728, - 432, 136, -432, -136 - }; - - /* INVQBL */ - if (mode == 1) { - ril = ilr ; - wd2 = qm6[ril] ; - } - - if (mode == 2) { - ril = ilr >> 1 ; - wd2 = qm5[ril] ; - } - - if (mode == 3) { - ril = ilr >> 2 ; - wd2 = qm4[ril] ; - } - - dl = (detl * wd2 ) >> 15 ; - - /* RECONS */ - yl = sl + dl ; - SATURATE(yl, 32767, -32768); - - return (yl) ; -} - -static int block6l (int yl) -{ - int rl ; - - rl = yl ; - SATURATE(rl, 16383, -16384); - - return (rl) ; -} - -static int block2h (int ih, int deth) -{ - int dh ; - int wd2 ; - static const int qm2[4] = {-7408, -1616, 7408, 1616} ; - - /* INVQAH */ - wd2 = qm2[ih] ; - dh = (deth * wd2) >> 15 ; - - return (dh) ; -} - -static int block3h (g722_dec_t *dec, int ih) -{ - int deth ; - int ih2, wd, wd1, wd2, wd3, nbph, deph ; - static const int wh[3] = {0, -214, 798} ; - static const int rh2[4] = {2, 1, 2, 1} ; - - /* LOGSCH */ - ih2 = rh2[ih] ; - wd = (dec->nbh * 32512) >> 15 ; - nbph = wd + wh[ih2] ; - - if (nbph < 0) nbph = 0 ; - if (nbph > 22528) nbph = 22528 ; - - - /* SCALEH */ - wd1 = (nbph >> 6) & 31 ; - wd2 = nbph >> 11 ; - if ((10 - wd2) < 0) wd3 = ilb[wd1] << (wd2 - 10) ; - else wd3 = ilb[wd1] >> (10 - wd2) ; - deph = wd3 << 2 ; - - /* DELAYA */ - dec->nbh = nbph ; - - /* DELAYH */ - deth = deph ; - - return (deth) ; -} - -static int block4h (g722_dec_t *dec, int d) -{ - int sh = dec->shigh; - int i ; - int wd, wd1, wd2, wd3, wd4, wd5/*, wd6 */; - - dec->dh[0] = d; - - /* RECONS */ - dec->rh[0] = sh + dec->dh[0] ; - SATURATE(dec->rh[0], 32767, -32768); - - /* PARREC */ - dec->ph[0] = dec->dh[0] + dec->szh ; - SATURATE(dec->ph[0], 32767, -32768); - - /* UPPOL2 */ - dec->sgh[0] = dec->ph[0] >> 15 ; - dec->sgh[1] = dec->ph[1] >> 15 ; - dec->sgh[2] = dec->ph[2] >> 15 ; - - wd1 = dec->ah[1] << 2; - SATURATE(wd1, 32767, -32768); - - if ( dec->sgh[0] == dec->sgh[1] ) wd2 = - wd1 ; - else wd2 = wd1 ; - if (wd2 > 32767) wd2 = 32767; - - wd2 = wd2 >> 7 ; - - if ( dec->sgh[0] == dec->sgh[2] ) wd3 = 128 ; - else wd3 = - 128 ; - - wd4 = wd2 + wd3 ; - wd5 = (dec->ah[2] * 32512) >> 15 ; - - dec->aph[2] = wd4 + wd5 ; - SATURATE(dec->aph[2], 12288, -12288); - - /* UPPOL1 */ - dec->sgh[0] = dec->ph[0] >> 15 ; - dec->sgh[1] = dec->ph[1] >> 15 ; - - if ( dec->sgh[0] == dec->sgh[1] ) wd1 = 192 ; - else wd1 = - 192 ; - - wd2 = (dec->ah[1] * 32640) >> 15 ; - - dec->aph[1] = wd1 + wd2 ; - SATURATE(dec->aph[1], 32767, -32768); - //dec->aph[2]? - //if (aph[2] > 32767) aph[2] = 32767; - //if (aph[2] < -32768) aph[2] = -32768; - - wd3 = (15360 - dec->aph[2]) ; - SATURATE(wd3, 32767, -32768); - if ( dec->aph[1] > wd3) dec->aph[1] = wd3 ; - if ( dec->aph[1] < -wd3) dec->aph[1] = -wd3 ; - - /* UPZERO */ - if ( dec->dh[0] == 0 ) wd1 = 0 ; - if ( dec->dh[0] != 0 ) wd1 = 128 ; - - dec->sgh[0] = dec->dh[0] >> 15 ; - - for ( i = 1; i < 7; i++ ) { - dec->sgh[i] = dec->dh[i] >> 15 ; - if ( dec->sgh[i] == dec->sgh[0] ) wd2 = wd1 ; - else wd2 = - wd1 ; - wd3 = (dec->bh[i] * 32640) >> 15 ; - dec->bph[i] = wd2 + wd3 ; - } - - /* DELAYA */ - for ( i = 6; i > 0; i-- ) { - dec->dh[i] = dec->dh[i-1] ; - dec->bh[i] = dec->bph[i] ; - } - - for ( i = 2; i > 0; i-- ) { - dec->rh[i] = dec->rh[i-1] ; - dec->ph[i] = dec->ph[i-1] ; - dec->ah[i] = dec->aph[i] ; - } - - /* FILTEP */ - wd1 = dec->rh[1] << 1 ; - SATURATE(wd1, 32767, -32768); - wd1 = ( dec->ah[1] * wd1 ) >> 15 ; - - wd2 = dec->rh[2] << 1; - SATURATE(wd2, 32767, -32768); - wd2 = ( dec->ah[2] * wd2 ) >> 15 ; - - dec->sph = wd1 + wd2 ; - SATURATE(dec->sph, 32767, -32768); - - /* FILTEZ */ - dec->szh = 0 ; - for (i=6; i>0; i--) { - wd = dec->dh[i] << 1; - SATURATE(wd, 32767, -32768); - dec->szh += (dec->bh[i] * wd) >> 15 ; - SATURATE(dec->szh, 32767, -32768); - } - - /* PREDIC */ - sh = dec->sph + dec->szh ; - SATURATE(sh, 32767, -32768); - - return (sh) ; -} - -static int block5h (int dh, int sh) -{ - int rh ; - - rh = dh + sh; - SATURATE(rh, 16383, -16384); - - return (rh) ; -} - -void rx_qmf(g722_dec_t *dec, int rl, int rh, int *xout1, int *xout2) -{ - int i; - - pj_memmove(&dec->xd[1], dec->xd, 11*sizeof(dec->xd[0])); - pj_memmove(&dec->xs[1], dec->xs, 11*sizeof(dec->xs[0])); - - /* RECA */ - dec->xd[0] = rl - rh ; - if (dec->xd[0] > 16383) dec->xd[0] = 16383; - else if (dec->xd[0] < -16384) dec->xd[0] = -16384; - - /* RECB */ - dec->xs[0] = rl + rh ; - if (dec->xs[0] > 16383) dec->xs[0] = 16383; - else if (dec->xs[0] < -16384) dec->xs[0] = -16384; - - /* ACCUMC */ - *xout1 = 0; - for (i=0; i<12; ++i) *xout1 += dec->xd[i] * g722_qmf_coeff[2*i]; - *xout1 = *xout1 >> 12 ; - if (*xout1 > 16383) *xout1 = 16383 ; - else if (*xout1 < -16384) *xout1 = -16384 ; - - /* ACCUMD */ - *xout2 = 0; - for (i=0; i<12; ++i) *xout2 += dec->xs[i] * g722_qmf_coeff[2*i+1]; - *xout2 = *xout2 >> 12 ; - if (*xout2 > 16383) *xout2 = 16383 ; - else if (*xout2 < -16384) *xout2 = -16384 ; -} - - -PJ_DEF(pj_status_t) g722_dec_init(g722_dec_t *dec) -{ - PJ_ASSERT_RETURN(dec, PJ_EINVAL); - - pj_bzero(dec, sizeof(g722_dec_t)); - - dec->detlow = 32; - dec->dethigh = 8; - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) g722_dec_decode( g722_dec_t *dec, - void *in, - pj_size_t in_size, - pj_int16_t out[], - pj_size_t *nsamples) -{ - unsigned i; - int ilowr, ylow, rlow, dlowt; - int ihigh, rhigh, dhigh; - int pcm1, pcm2; - pj_uint8_t *in_ = (pj_uint8_t*) in; - - PJ_ASSERT_RETURN(dec && in && in_size && out && nsamples, PJ_EINVAL); - PJ_ASSERT_RETURN(*nsamples >= (in_size << 1), PJ_ETOOSMALL); - - for(i = 0; i < in_size; ++i) { - ilowr = in_[i] & 63; - ihigh = (in_[i] >> 6) & 3; - - /* low band decoder */ - ylow = block5l (ilowr, dec->slow, dec->detlow, MODE) ; - rlow = block6l (ylow) ; - dlowt = block2l (ilowr, dec->detlow) ; - dec->detlow = block3l (dec, ilowr) ; - dec->slow = block4l (dec, dlowt) ; - /* rlow <= output low band pcm */ - - /* high band decoder */ - dhigh = block2h (ihigh, dec->dethigh) ; - rhigh = block5h (dhigh, dec->shigh) ; - dec->dethigh = block3h (dec, ihigh) ; - dec->shigh = block4h (dec, dhigh) ; - /* rhigh <= output high band pcm */ - - rx_qmf(dec, rlow, rhigh, &pcm1, &pcm2); - out[i*2] = (pj_int16_t)pcm1; - out[i*2+1] = (pj_int16_t)pcm2; - } - - *nsamples = in_size << 1; - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) g722_dec_deinit(g722_dec_t *dec) -{ - pj_bzero(dec, sizeof(g722_dec_t)); - - return PJ_SUCCESS; -} - -#endif diff --git a/res/pjproject/pjmedia/src/pjmedia-codec/g722/g722_dec.h b/res/pjproject/pjmedia/src/pjmedia-codec/g722/g722_dec.h deleted file mode 100644 index a29a82b87a..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-codec/g722/g722_dec.h +++ /dev/null @@ -1,79 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -/* - * Based on implementation found in Carnegie Mellon Speech Group Software - * depository (ftp://ftp.cs.cmu.edu/project/fgdata/index.html). No copyright - * was claimed in the original source codes. - */ -#ifndef __PJMEDIA_CODEC_G722_DEC_H__ -#define __PJMEDIA_CODEC_G722_DEC_H__ - -#include - -/* Decoder state */ -typedef struct g722_dec_t { - /* PCM low band */ - int slow; - int detlow; - int spl; - int szl; - int rlt [3]; - int al [3]; - int apl [3]; - int plt [3]; - int dlt [7]; - int bl [7]; - int bpl [7]; - int sgl [7]; - int nbl; - - /* PCM high band*/ - int shigh; - int dethigh; - int sph; - int szh; - int rh [3]; - int ah [3]; - int aph [3]; - int ph [3]; - int dh [7]; - int bh [7]; - int bph [7]; - int sgh [7]; - int nbh; - - /* QMF signal history */ - int xd[12]; - int xs[12]; -} g722_dec_t; - - -PJ_DECL(pj_status_t) g722_dec_init(g722_dec_t *dec); - -PJ_DECL(pj_status_t) g722_dec_decode(g722_dec_t *dec, - void *in, - pj_size_t in_size, - pj_int16_t out[], - pj_size_t *nsamples); - -PJ_DECL(pj_status_t) g722_dec_deinit(g722_dec_t *dec); - -#endif /* __PJMEDIA_CODEC_G722_DEC_H__ */ - diff --git a/res/pjproject/pjmedia/src/pjmedia-codec/g722/g722_enc.c b/res/pjproject/pjmedia/src/pjmedia-codec/g722/g722_enc.c deleted file mode 100644 index bd5644d902..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-codec/g722/g722_enc.c +++ /dev/null @@ -1,576 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -/* - * Based on implementation found in Carnegie Mellon Speech Group Software - * depository (ftp://ftp.cs.cmu.edu/project/fgdata/index.html). No copyright - * was claimed in the original source codes. - */ -#include -#include -#include - -#include "g722_enc.h" - -#if defined(PJMEDIA_HAS_G722_CODEC) && (PJMEDIA_HAS_G722_CODEC != 0) - -#define SATURATE(v, max, min) \ - if (v>max) v = max; \ - else if (v> 15 ; - if (sil == 0 ) wd = el ; - else wd = (32767 - el) & 32767 ; - - mil = 1 ; - - for (i = 1; i < 30; i++) { - hdu = (q6[i] << 3) * detl; - wd1 = (hdu >> 15) ; - if (wd >= wd1) mil = (i + 1) ; - else break ; - } - - if (sil == -1 ) il = iln[mil] ; - else il = ilp[mil] ; - - return (il) ; -} - -static int block2l (int il, int detl) -{ - int dlt; - int ril, wd2 ; - static const int qm4[16] = { - 0, -20456, -12896, -8968, - -6288, -4240, -2584, -1200, - 20456, 12896, 8968, 6288, - 4240, 2584, 1200, 0 - }; - - /* INVQAL */ - ril = il >> 2 ; - wd2 = qm4[ril] ; - dlt = (detl * wd2) >> 15 ; - - return (dlt) ; -} - -static int block3l (g722_enc_t *enc, int il) -{ - int detl; - int ril, il4, wd, wd1, wd2, wd3, nbpl, depl ; - static int const wl[8] = { - -60, -30, 58, 172, 334, 538, 1198, 3042 - } ; - static int const rl42[16] = { - 0, 7, 6, 5, 4, 3, 2, 1, 7, 6, 5, 4, 3, 2, 1, 0 - }; - static const int ilb[32] = { - 2048, 2093, 2139, 2186, 2233, 2282, 2332, - 2383, 2435, 2489, 2543, 2599, 2656, 2714, - 2774, 2834, 2896, 2960, 3025, 3091, 3158, - 3228, 3298, 3371, 3444, 3520, 3597, 3676, - 3756, 3838, 3922, 4008 - }; - - /* LOGSCL */ - - ril = il >> 2 ; - il4 = rl42[ril] ; - - wd = (enc->nbl * 32512) >> 15 ; - nbpl = wd + wl[il4] ; - - if (nbpl < 0) nbpl = 0 ; - if (nbpl > 18432) nbpl = 18432 ; - - /* SCALEL */ - - wd1 = (nbpl >> 6) & 31 ; - wd2 = nbpl >> 11 ; - if ((8 - wd2) < 0) wd3 = ilb[wd1] << (wd2 - 8) ; - else wd3 = ilb[wd1] >> (8 - wd2) ; - depl = wd3 << 2 ; - - /* DELAYA */ - enc->nbl = nbpl ; - - /* DELAYL */ - detl = depl ; - -#ifdef DEBUG_VERBOSE - printf ("BLOCK3L il=%4d, ril=%4d, il4=%4d, nbl=%4d, wd=%4d, nbpl=%4d\n", - il, ril, il4, enc->nbl, wd, nbpl) ; - printf ("wd1=%4d, wd2=%4d, wd3=%4d, depl=%4d, detl=%4d\n", - wd1, wd2, wd3, depl, detl) ; -#endif - - return (detl) ; -} - -static int block4l (g722_enc_t *enc, int dl) -{ - int sl = enc->slow; - int i ; - int wd, wd1, wd2, wd3, wd4, wd5 /*, wd6 */; - - enc->dlt[0] = dl; - - /* RECONS */ - - enc->rlt[0] = sl + enc->dlt[0] ; - SATURATE(enc->rlt[0], 32767, -32768); - - /* PARREC */ - - enc->plt[0] = enc->dlt[0] + enc->szl ; - SATURATE(enc->plt[0], 32767, -32768); - - /* UPPOL2 */ - - enc->sgl[0] = enc->plt[0] >> 15 ; - enc->sgl[1] = enc->plt[1] >> 15 ; - enc->sgl[2] = enc->plt[2] >> 15 ; - - wd1 = enc->al[1] << 2; - SATURATE(wd1, 32767, -32768); - - if ( enc->sgl[0] == enc->sgl[1] ) wd2 = - wd1 ; - else wd2 = wd1 ; - if ( wd2 > 32767 ) wd2 = 32767; - - wd2 = wd2 >> 7 ; - - if ( enc->sgl[0] == enc->sgl[2] ) wd3 = 128 ; - else wd3 = - 128 ; - - wd4 = wd2 + wd3 ; - wd5 = (enc->al[2] * 32512) >> 15 ; - - enc->apl[2] = wd4 + wd5 ; - SATURATE(enc->apl[2], 12288, -12288); - - /* UPPOL1 */ - - enc->sgl[0] = enc->plt[0] >> 15 ; - enc->sgl[1] = enc->plt[1] >> 15 ; - - if ( enc->sgl[0] == enc->sgl[1] ) wd1 = 192 ; - else wd1 = - 192 ; - - wd2 = (enc->al[1] * 32640) >> 15 ; - - enc->apl[1] = wd1 + wd2 ; - SATURATE(enc->apl[1], 32767, -32768); - - wd3 = (15360 - enc->apl[2]) ; - SATURATE(wd3, 32767, -32768); - - if ( enc->apl[1] > wd3) enc->apl[1] = wd3 ; - if ( enc->apl[1] < -wd3) enc->apl[1] = -wd3 ; - - /* UPZERO */ - - if ( enc->dlt[0] == 0 ) wd1 = 0 ; - else wd1 = 128 ; - - enc->sgl[0] = enc->dlt[0] >> 15 ; - - for ( i = 1; i < 7; i++ ) { - enc->sgl[i] = enc->dlt[i] >> 15 ; - if ( enc->sgl[i] == enc->sgl[0] ) wd2 = wd1 ; - else wd2 = - wd1 ; - wd3 = (enc->bl[i] * 32640) >> 15 ; - enc->bpl[i] = wd2 + wd3 ; - SATURATE(enc->bpl[i], 32767, -32768); - } - - /* DELAYA */ - - for ( i = 6; i > 0; i-- ) { - enc->dlt[i] = enc->dlt[i-1] ; - enc->bl[i] = enc->bpl[i] ; - } - - for ( i = 2; i > 0; i-- ) { - enc->rlt[i] = enc->rlt[i-1] ; - enc->plt[i] = enc->plt[i-1] ; - enc->al[i] = enc->apl[i] ; - } - - /* FILTEP */ - - wd1 = enc->rlt[1] + enc->rlt[1]; - SATURATE(wd1, 32767, -32768); - wd1 = ( enc->al[1] * wd1 ) >> 15 ; - - wd2 = enc->rlt[2] + enc->rlt[2]; - SATURATE(wd2, 32767, -32768); - wd2 = ( enc->al[2] * wd2 ) >> 15 ; - - enc->spl = wd1 + wd2 ; - SATURATE(enc->spl, 32767, -32768); - - /* FILTEZ */ - - enc->szl = 0 ; - for (i=6; i>0; i--) { - wd = enc->dlt[i] + enc->dlt[i]; - SATURATE(wd, 32767, -32768); - enc->szl += (enc->bl[i] * wd) >> 15 ; - SATURATE(enc->szl, 32767, -32768); - } - - /* PREDIC */ - - sl = enc->spl + enc->szl ; - SATURATE(sl, 32767, -32768); - - return (sl) ; -} - -static int block1h (int xh, int sh, int deth) -{ - int ih ; - - int eh, sih, mih, wd, wd1, hdu ; - - static const int ihn[3] = { 0, 1, 0 } ; - static const int ihp[3] = { 0, 3, 2 } ; - - /* SUBTRA */ - - eh = xh - sh ; - SATURATE(eh, 32767, -32768); - - /* QUANTH */ - - sih = eh >> 15 ; - if (sih == 0 ) wd = eh ; - else wd = (32767 - eh) & 32767 ; - - hdu = (564 << 3) * deth; - wd1 = (hdu >> 15) ; - if (wd >= wd1) mih = 2 ; - else mih = 1 ; - - if (sih == -1 ) ih = ihn[mih] ; - else ih = ihp[mih] ; - - return (ih) ; -} - -static int block2h (int ih, int deth) -{ - int dh ; - int wd2 ; - static const int qm2[4] = {-7408, -1616, 7408, 1616}; - - /* INVQAH */ - - wd2 = qm2[ih] ; - dh = (deth * wd2) >> 15 ; - - return (dh) ; -} - -static int block3h (g722_enc_t *enc, int ih) -{ - int deth ; - int ih2, wd, wd1, wd2, wd3, nbph, deph ; - static const int wh[3] = {0, -214, 798} ; - static const int rh2[4] = {2, 1, 2, 1} ; - static const int ilb[32] = { - 2048, 2093, 2139, 2186, 2233, 2282, 2332, - 2383, 2435, 2489, 2543, 2599, 2656, 2714, - 2774, 2834, 2896, 2960, 3025, 3091, 3158, - 3228, 3298, 3371, 3444, 3520, 3597, 3676, - 3756, 3838, 3922, 4008 - }; - - /* LOGSCH */ - - ih2 = rh2[ih] ; - wd = (enc->nbh * 32512) >> 15 ; - nbph = wd + wh[ih2] ; - - if (nbph < 0) nbph = 0 ; - if (nbph > 22528) nbph = 22528 ; - - /* SCALEH */ - - wd1 = (nbph >> 6) & 31 ; - wd2 = nbph >> 11 ; - if ((10-wd2) < 0) wd3 = ilb[wd1] << (wd2-10) ; - else wd3 = ilb[wd1] >> (10-wd2) ; - deph = wd3 << 2 ; - - /* DELAYA */ - enc->nbh = nbph ; - /* DELAYH */ - deth = deph ; - - return (deth) ; -} - -static int block4h (g722_enc_t *enc, int d) -{ - int sh = enc->shigh; - int i ; - int wd, wd1, wd2, wd3, wd4, wd5 /*, wd6 */; - - enc->dh[0] = d; - - /* RECONS */ - - enc->rh[0] = sh + enc->dh[0] ; - SATURATE(enc->rh[0], 32767, -32768); - - /* PARREC */ - - enc->ph[0] = enc->dh[0] + enc->szh ; - SATURATE(enc->ph[0], 32767, -32768); - - /* UPPOL2 */ - - enc->sgh[0] = enc->ph[0] >> 15 ; - enc->sgh[1] = enc->ph[1] >> 15 ; - enc->sgh[2] = enc->ph[2] >> 15 ; - - wd1 = enc->ah[1] << 2; - SATURATE(wd1, 32767, -32768); - - if ( enc->sgh[0] == enc->sgh[1] ) wd2 = - wd1 ; - else wd2 = wd1 ; - if ( wd2 > 32767 ) wd2 = 32767; - - wd2 = wd2 >> 7 ; - - if ( enc->sgh[0] == enc->sgh[2] ) wd3 = 128 ; - else wd3 = - 128 ; - - wd4 = wd2 + wd3 ; - wd5 = (enc->ah[2] * 32512) >> 15 ; - - enc->aph[2] = wd4 + wd5 ; - SATURATE(enc->aph[2], 12288, -12288); - - /* UPPOL1 */ - - enc->sgh[0] = enc->ph[0] >> 15 ; - enc->sgh[1] = enc->ph[1] >> 15 ; - - if ( enc->sgh[0] == enc->sgh[1] ) wd1 = 192 ; - else wd1 = - 192 ; - - wd2 = (enc->ah[1] * 32640) >> 15 ; - - enc->aph[1] = wd1 + wd2 ; - SATURATE(enc->aph[1], 32767, -32768); - - wd3 = (15360 - enc->aph[2]) ; - SATURATE(wd3, 32767, -32768); - - if ( enc->aph[1] > wd3) enc->aph[1] = wd3 ; - else if ( enc->aph[1] < -wd3) enc->aph[1] = -wd3 ; - - /* UPZERO */ - - if ( enc->dh[0] == 0 ) wd1 = 0 ; - else wd1 = 128 ; - - enc->sgh[0] = enc->dh[0] >> 15 ; - - for ( i = 1; i < 7; i++ ) { - enc->sgh[i] = enc->dh[i] >> 15 ; - if ( enc->sgh[i] == enc->sgh[0] ) wd2 = wd1 ; - else wd2 = - wd1 ; - wd3 = (enc->bh[i] * 32640) >> 15 ; - enc->bph[i] = wd2 + wd3 ; - SATURATE(enc->bph[i], 32767, -32768); - } - - /* DELAYA */ - for ( i = 6; i > 0; i-- ) { - enc->dh[i] = enc->dh[i-1] ; - enc->bh[i] = enc->bph[i] ; - } - - for ( i = 2; i > 0; i-- ) { - enc->rh[i] = enc->rh[i-1] ; - enc->ph[i] = enc->ph[i-1] ; - enc->ah[i] = enc->aph[i] ; - } - - /* FILTEP */ - - wd1 = enc->rh[1] + enc->rh[1]; - SATURATE(wd1, 32767, -32768); - wd1 = ( enc->ah[1] * wd1 ) >> 15 ; - - wd2 = enc->rh[2] + enc->rh[2]; - SATURATE(wd2, 32767, -32768); - wd2 = ( enc->ah[2] * wd2 ) >> 15 ; - - enc->sph = wd1 + wd2 ; - SATURATE(enc->sph, 32767, -32768); - - /* FILTEZ */ - - enc->szh = 0 ; - for (i=6; i>0; i--) { - wd = enc->dh[i] + enc->dh[i]; - SATURATE(wd, 32767, -32768); - enc->szh += (enc->bh[i] * wd) >> 15 ; - SATURATE(enc->szh, 32767, -32768); - } - - /* PREDIC */ - - sh = enc->sph + enc->szh ; - SATURATE(sh, 32767, -32768); - - return (sh) ; -} - -/* PROCESS PCM THROUGH THE QMF FILTER */ -static void tx_qmf(g722_enc_t *enc, int pcm1, int pcm2, int *lo, int *hi) -{ - int sumodd, sumeven; - int i; - - pj_memmove(&enc->x[2], enc->x, 22 * sizeof(enc->x[0])); - enc->x[1] = pcm1; - enc->x[0] = pcm2; - - sumodd = 0; - for (i=1; i<24; i+=2) sumodd += enc->x[i] * g722_qmf_coeff[i]; - - sumeven = 0; - for (i=0; i<24; i+=2) sumeven += enc->x[i] * g722_qmf_coeff[i]; - - *lo = (sumeven + sumodd) >> 13 ; - *hi = (sumeven - sumodd) >> 13 ; - - SATURATE(*lo, 16383, -16384); - SATURATE(*hi, 16383, -16383); -} - - -PJ_DEF(pj_status_t) g722_enc_init(g722_enc_t *enc) -{ - PJ_ASSERT_RETURN(enc, PJ_EINVAL); - - pj_bzero(enc, sizeof(g722_enc_t)); - - enc->detlow = 32; - enc->dethigh = 8; - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) g722_enc_encode( g722_enc_t *enc, - pj_int16_t in[], - pj_size_t nsamples, - void *out, - pj_size_t *out_size) -{ - unsigned i; - int xlow, ilow, dlowt; - int xhigh, ihigh, dhigh; - pj_uint8_t *out_ = (pj_uint8_t*) out; - - PJ_ASSERT_RETURN(enc && in && nsamples && out && out_size, PJ_EINVAL); - PJ_ASSERT_RETURN(nsamples % 2 == 0, PJ_EINVAL); - PJ_ASSERT_RETURN(*out_size >= (nsamples >> 1), PJ_ETOOSMALL); - - for(i = 0; i < nsamples; i += 2) { - tx_qmf(enc, in[i], in[i+1], &xlow, &xhigh); - - /* low band encoder */ - ilow = block1l (xlow, enc->slow, enc->detlow) ; - dlowt = block2l (ilow, enc->detlow) ; - enc->detlow = block3l (enc, ilow) ; - enc->slow = block4l (enc, dlowt) ; - - /* high band encoder */ - ihigh = block1h (xhigh, enc->shigh, enc->dethigh) ; - dhigh = block2h (ihigh, enc->dethigh) ; - enc->dethigh = block3h (enc, ihigh) ; - enc->shigh = block4h (enc, dhigh) ; - - /* bits mix low & high adpcm */ - out_[i/2] = (pj_uint8_t)((ihigh << 6) | ilow); - } - - *out_size = nsamples >> 1; - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) g722_enc_deinit(g722_enc_t *enc) -{ - pj_bzero(enc, sizeof(g722_enc_t)); - - return PJ_SUCCESS; -} - -#endif diff --git a/res/pjproject/pjmedia/src/pjmedia-codec/g722/g722_enc.h b/res/pjproject/pjmedia/src/pjmedia-codec/g722/g722_enc.h deleted file mode 100644 index eb0e3904f5..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-codec/g722/g722_enc.h +++ /dev/null @@ -1,78 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -/* - * Based on implementation found in Carnegie Mellon Speech Group Software - * depository (ftp://ftp.cs.cmu.edu/project/fgdata/index.html). No copyright - * was claimed in the original source codes. - */ -#ifndef __PJMEDIA_CODEC_G722_ENC_H__ -#define __PJMEDIA_CODEC_G722_ENC_H__ - -#include - -/* Encoder state */ -typedef struct g722_enc_t { - /* PCM low band */ - int slow; - int detlow; - int spl; - int szl; - int rlt [3]; - int al [3]; - int apl [3]; - int plt [3]; - int dlt [7]; - int bl [7]; - int bpl [7]; - int sgl [7]; - int nbl; - - /* PCM high band*/ - int shigh; - int dethigh; - int sph; - int szh; - int rh [3]; - int ah [3]; - int aph [3]; - int ph [3]; - int dh [7]; - int bh [7]; - int bph [7]; - int sgh [7]; - int nbh; - - /* QMF signal history */ - int x[24]; -} g722_enc_t; - - -PJ_DECL(pj_status_t) g722_enc_init(g722_enc_t *enc); - -PJ_DECL(pj_status_t) g722_enc_encode(g722_enc_t *enc, - pj_int16_t in[], - pj_size_t nsamples, - void *out, - pj_size_t *out_size); - -PJ_DECL(pj_status_t) g722_enc_deinit(g722_enc_t *enc); - -#endif /* __PJMEDIA_CODEC_G722_ENC_H__ */ - diff --git a/res/pjproject/pjmedia/src/pjmedia-codec/g7221.c b/res/pjproject/pjmedia/src/pjmedia-codec/g7221.c deleted file mode 100644 index 276c032781..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-codec/g7221.c +++ /dev/null @@ -1,950 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Only build this file if PJMEDIA_HAS_G7221_CODEC != 0 - */ -#if defined(PJMEDIA_HAS_G7221_CODEC) && PJMEDIA_HAS_G7221_CODEC!=0 - -#include "../../../third_party/g7221/common/defs.h" - -#define THIS_FILE "g7221.c" - -/* Codec tag, it is the SDP encoding name and also MIME subtype name */ -#define CODEC_TAG "G7221" - -/* Sampling rates definition */ -#define WB_SAMPLE_RATE 16000 -#define UWB_SAMPLE_RATE 32000 - -/* Maximum number of samples per frame. */ -#define MAX_SAMPLES_PER_FRAME (UWB_SAMPLE_RATE * 20 / 1000) - -/* Maximum number of codec params. */ -#define MAX_CODEC_MODES 8 -#define START_RSV_MODES_IDX 6 - - -/* Prototypes for G722.1 codec factory */ -static pj_status_t test_alloc( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id ); -static pj_status_t default_attr( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ); -static pj_status_t enum_codecs( pjmedia_codec_factory *factory, - unsigned *count, - pjmedia_codec_info codecs[]); -static pj_status_t alloc_codec( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec **p_codec); -static pj_status_t dealloc_codec( pjmedia_codec_factory *factory, - pjmedia_codec *codec ); - -/* Prototypes for G722.1 codec implementation. */ -static pj_status_t codec_init( pjmedia_codec *codec, - pj_pool_t *pool ); -static pj_status_t codec_open( pjmedia_codec *codec, - pjmedia_codec_param *attr ); -static pj_status_t codec_close( pjmedia_codec *codec ); -static pj_status_t codec_modify(pjmedia_codec *codec, - const pjmedia_codec_param *attr ); -static pj_status_t codec_parse( pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *ts, - unsigned *frame_cnt, - pjmedia_frame frames[]); -static pj_status_t codec_encode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output); -static pj_status_t codec_decode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output); -static pj_status_t codec_recover( pjmedia_codec *codec, - unsigned output_buf_len, - struct pjmedia_frame *output); - -/* Definition for G722.1 codec operations. */ -static pjmedia_codec_op codec_op = -{ - &codec_init, - &codec_open, - &codec_close, - &codec_modify, - &codec_parse, - &codec_encode, - &codec_decode, - &codec_recover -}; - -/* Definition for G722.1 codec factory operations. */ -static pjmedia_codec_factory_op codec_factory_op = -{ - &test_alloc, - &default_attr, - &enum_codecs, - &alloc_codec, - &dealloc_codec, - &pjmedia_codec_g7221_deinit -}; - - -/* Structure of G722.1 mode */ -typedef struct codec_mode -{ - pj_bool_t enabled; /* Is this mode enabled? */ - pj_uint8_t pt; /* Payload type. */ - unsigned sample_rate; /* Default sampling rate to be used.*/ - unsigned bitrate; /* Bitrate. */ - char bitrate_str[8]; /* Bitrate in string. */ -} codec_mode; - - -/* G722.1 codec factory */ -static struct codec_factory { - pjmedia_codec_factory base; /**< Base class. */ - pjmedia_endpt *endpt; /**< PJMEDIA endpoint instance. */ - pj_pool_t *pool; /**< Codec factory pool. */ - pj_mutex_t *mutex; /**< Codec factory mutex. */ - - int pcm_shift; /**< Level adjustment */ - unsigned mode_count; /**< Number of G722.1 modes. */ - codec_mode modes[MAX_CODEC_MODES]; /**< The G722.1 modes. */ - unsigned mode_rsv_start;/**< Start index of G722.1 non- - standard modes, currently - there can only be up to two - non-standard modes enabled - at the same time. */ -} codec_factory; - -/* G722.1 codec private data. */ -typedef struct codec_private { - pj_pool_t *pool; /**< Pool for each instance. */ - pj_bool_t plc_enabled; /**< PLC enabled? */ - pj_bool_t vad_enabled; /**< VAD enabled? */ - pjmedia_silence_det *vad; /**< PJMEDIA VAD instance. */ - pj_timestamp last_tx; /**< Timestamp of last transmit.*/ - - /* ITU ref implementation seems to leave the codec engine states to be - * managed by the application, so here we go. - */ - - /* Common engine state */ - pj_uint16_t samples_per_frame; /**< Samples per frame. */ - pj_uint16_t bitrate; /**< Coded stream bitrate. */ - pj_uint16_t frame_size; /**< Coded frame size. */ - pj_uint16_t frame_size_bits; /**< Coded frame size in bits. */ - pj_uint16_t number_of_regions; /**< Number of regions. */ - int pcm_shift; /**< Adjustment for PCM in/out */ - - /* Encoder specific state */ - Word16 *enc_frame; /**< 16bit to 14bit buffer */ - Word16 *enc_old_frame; - - /* Decoder specific state */ - Word16 *dec_old_frame; - Rand_Obj dec_randobj; - Word16 dec_old_mag_shift; - Word16 *dec_old_mlt_coefs; -} codec_private_t; - -/* - * Helper function for looking up mode based on payload type. - */ -static codec_mode* lookup_mode(unsigned pt) -{ - codec_mode* mode = NULL; - unsigned i; - - for (i = 0; i < codec_factory.mode_count; ++i) { - mode = &codec_factory.modes[i]; - if (mode->pt == pt) - break; - } - - return mode; -} - -/* - * Helper function to validate G722.1 mode. Valid modes are defined as: - * 1. sample rate must be 16kHz or 32kHz, - * 2. bitrate: - * - for sampling rate 16kHz: 16000 to 32000 bps, it must be a multiple - * of 400 (to keep RTP payload octed-aligned) - * - for sampling rate 32kHz: 24000 to 48000 bps, it must be a multiple - * of 400 (to keep RTP payload octed-aligned) - */ -static pj_bool_t validate_mode(unsigned sample_rate, unsigned bitrate) -{ - if (sample_rate == WB_SAMPLE_RATE) { - if (bitrate < 16000 || bitrate > 32000 || - ((bitrate-16000) % 400 != 0)) - { - return PJ_FALSE; - } - } else if (sample_rate == UWB_SAMPLE_RATE) { - if (bitrate < 24000 || bitrate > 48000 || - ((bitrate-24000) % 400 != 0)) - { - return PJ_FALSE; - } - } else { - return PJ_FALSE; - } - - return PJ_TRUE; -} - -#if defined(PJ_IS_LITTLE_ENDIAN) && PJ_IS_LITTLE_ENDIAN!=0 -PJ_INLINE(void) swap_bytes(pj_uint16_t *buf, unsigned count) -{ - pj_uint16_t *end = buf + count; - while (buf != end) { - *buf = (pj_uint16_t)((*buf << 8) | (*buf >> 8)); - ++buf; - } -} -#else -#define swap_bytes(buf, count) -#endif - -/* - * Initialize and register G722.1 codec factory to pjmedia endpoint. - */ -PJ_DEF(pj_status_t) pjmedia_codec_g7221_init( pjmedia_endpt *endpt ) -{ - pjmedia_codec_mgr *codec_mgr; - codec_mode *mode; - pj_str_t codec_name; - pj_status_t status; - - if (codec_factory.pool != NULL) { - /* Already initialized. */ - return PJ_SUCCESS; - } - - /* Initialize codec modes, by default all standard bitrates are enabled */ - codec_factory.mode_count = 0; - codec_factory.pcm_shift = PJMEDIA_G7221_DEFAULT_PCM_SHIFT; - - mode = &codec_factory.modes[codec_factory.mode_count++]; - mode->enabled = PJ_TRUE; - mode->pt = PJMEDIA_RTP_PT_G722_1_24; - mode->sample_rate = WB_SAMPLE_RATE; - mode->bitrate = 24000; - pj_utoa(mode->bitrate, mode->bitrate_str); - - mode = &codec_factory.modes[codec_factory.mode_count++]; - mode->enabled = PJ_TRUE; - mode->pt = PJMEDIA_RTP_PT_G722_1_32; - mode->sample_rate = WB_SAMPLE_RATE; - mode->bitrate = 32000; - pj_utoa(mode->bitrate, mode->bitrate_str); - - mode = &codec_factory.modes[codec_factory.mode_count++]; - mode->enabled = PJ_TRUE; - mode->pt = PJMEDIA_RTP_PT_G7221C_24; - mode->sample_rate = UWB_SAMPLE_RATE; - mode->bitrate = 24000; - pj_utoa(mode->bitrate, mode->bitrate_str); - - mode = &codec_factory.modes[codec_factory.mode_count++]; - mode->enabled = PJ_TRUE; - mode->pt = PJMEDIA_RTP_PT_G7221C_32; - mode->sample_rate = UWB_SAMPLE_RATE; - mode->bitrate = 32000; - pj_utoa(mode->bitrate, mode->bitrate_str); - - mode = &codec_factory.modes[codec_factory.mode_count++]; - mode->enabled = PJ_TRUE; - mode->pt = PJMEDIA_RTP_PT_G7221C_48; - mode->sample_rate = UWB_SAMPLE_RATE; - mode->bitrate = 48000; - pj_utoa(mode->bitrate, mode->bitrate_str); - - /* Non-standard bitrates */ - - /* Bitrate 16kbps is non-standard but rather commonly used. */ - mode = &codec_factory.modes[codec_factory.mode_count++]; - mode->enabled = PJ_FALSE; - mode->pt = PJMEDIA_RTP_PT_G722_1_16; - mode->sample_rate = WB_SAMPLE_RATE; - mode->bitrate = 16000; - pj_utoa(mode->bitrate, mode->bitrate_str); - - /* Reserved two modes for non-standard bitrates */ - codec_factory.mode_rsv_start = codec_factory.mode_count; - mode = &codec_factory.modes[codec_factory.mode_count++]; - mode->enabled = PJ_FALSE; - mode->pt = PJMEDIA_RTP_PT_G7221_RSV1; - - mode = &codec_factory.modes[codec_factory.mode_count++]; - mode->enabled = PJ_FALSE; - mode->pt = PJMEDIA_RTP_PT_G7221_RSV2; - - pj_assert(codec_factory.mode_count <= MAX_CODEC_MODES); - - /* Create G722.1 codec factory. */ - codec_factory.base.op = &codec_factory_op; - codec_factory.base.factory_data = NULL; - codec_factory.endpt = endpt; - - codec_factory.pool = pjmedia_endpt_create_pool(endpt, "G722.1 codec", - 4000, 4000); - if (!codec_factory.pool) - return PJ_ENOMEM; - - /* Create mutex. */ - status = pj_mutex_create_simple(codec_factory.pool, "G722.1 codec", - &codec_factory.mutex); - if (status != PJ_SUCCESS) - goto on_error; - - /* Get the codec manager. */ - codec_mgr = pjmedia_endpt_get_codec_mgr(endpt); - if (!codec_mgr) { - status = PJ_EINVALIDOP; - goto on_error; - } - - /* Register format match callback. */ - pj_cstr(&codec_name, CODEC_TAG); - status = pjmedia_sdp_neg_register_fmt_match_cb( - &codec_name, - &pjmedia_codec_g7221_match_sdp); - if (status != PJ_SUCCESS) - goto on_error; - - /* Register codec factory to endpoint. */ - status = pjmedia_codec_mgr_register_factory(codec_mgr, - &codec_factory.base); - if (status != PJ_SUCCESS) - goto on_error; - - /* Done. */ - return PJ_SUCCESS; - -on_error: - if (codec_factory.mutex) { - pj_mutex_destroy(codec_factory.mutex); - codec_factory.mutex = NULL; - } - - pj_pool_release(codec_factory.pool); - codec_factory.pool = NULL; - return status; -} - - -/** - * Enable and disable G722.1 modes, including non-standard modes. - */ -PJ_DEF(pj_status_t) pjmedia_codec_g7221_set_mode(unsigned sample_rate, - unsigned bitrate, - pj_bool_t enabled) -{ - unsigned i; - - /* Validate mode */ - if (!validate_mode(sample_rate, bitrate)) - return PJMEDIA_CODEC_EINMODE; - - /* Look up in factory modes table */ - for (i = 0; i < codec_factory.mode_count; ++i) { - if (codec_factory.modes[i].sample_rate == sample_rate && - codec_factory.modes[i].bitrate == bitrate) - { - codec_factory.modes[i].enabled = enabled; - return PJ_SUCCESS; - } - } - - /* Mode not found in modes table, this may be a request to enable - * a non-standard G722.1 mode. - */ - - /* Non-standard mode need to be initialized first before user - * can disable it. - */ - if (!enabled) - return PJ_ENOTFOUND; - - /* Initialize a non-standard mode, look for available space. */ - for (i = codec_factory.mode_rsv_start; - i < codec_factory.mode_count; ++i) - { - if (!codec_factory.modes[i].enabled) - { - codec_mode *mode = &codec_factory.modes[i]; - mode->enabled = PJ_TRUE; - mode->sample_rate = sample_rate; - mode->bitrate = bitrate; - pj_utoa(mode->bitrate, mode->bitrate_str); - - return PJ_SUCCESS; - } - } - - /* No space for non-standard mode. */ - return PJ_ETOOMANY; -} - - -/* - * Set level adjustment. - */ -PJ_DEF(pj_status_t) pjmedia_codec_g7221_set_pcm_shift(int val) -{ - codec_factory.pcm_shift = val; - return PJ_SUCCESS; -} - -/* - * Unregister G722.1 codec factory from pjmedia endpoint. - */ -PJ_DEF(pj_status_t) pjmedia_codec_g7221_deinit(void) -{ - pjmedia_codec_mgr *codec_mgr; - pj_status_t status; - - if (codec_factory.pool == NULL) { - /* Already deinitialized */ - return PJ_SUCCESS; - } - - pj_mutex_lock(codec_factory.mutex); - - /* Get the codec manager. */ - codec_mgr = pjmedia_endpt_get_codec_mgr(codec_factory.endpt); - if (!codec_mgr) { - pj_pool_release(codec_factory.pool); - codec_factory.pool = NULL; - return PJ_EINVALIDOP; - } - - /* Unregister G722.1 codec factory. */ - status = pjmedia_codec_mgr_unregister_factory(codec_mgr, - &codec_factory.base); - - /* Destroy mutex. */ - pj_mutex_destroy(codec_factory.mutex); - - /* Destroy pool. */ - pj_pool_release(codec_factory.pool); - codec_factory.pool = NULL; - - return status; -} - -/* - * Check if factory can allocate the specified codec. - */ -static pj_status_t test_alloc( pjmedia_codec_factory *factory, - const pjmedia_codec_info *info ) -{ - PJ_UNUSED_ARG(factory); - - /* Type MUST be audio. */ - if (info->type != PJMEDIA_TYPE_AUDIO) - return PJMEDIA_CODEC_EUNSUP; - - /* Check encoding name. */ - if (pj_stricmp2(&info->encoding_name, CODEC_TAG) != 0) - return PJMEDIA_CODEC_EUNSUP; - - /* Check clock-rate */ - if (info->clock_rate != WB_SAMPLE_RATE && - info->clock_rate != UWB_SAMPLE_RATE) - { - return PJMEDIA_CODEC_EUNSUP; - } - - return PJ_SUCCESS; -} - -/* - * Generate default attribute. - */ -static pj_status_t default_attr ( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ) -{ - codec_mode *mode; - - PJ_ASSERT_RETURN(factory==&codec_factory.base, PJ_EINVAL); - - pj_bzero(attr, sizeof(pjmedia_codec_param)); - - mode = lookup_mode(id->pt); - if (mode == NULL || !mode->enabled) - return PJMEDIA_CODEC_EUNSUP; - - attr->info.pt = (pj_uint8_t)id->pt; - attr->info.channel_cnt = 1; - attr->info.clock_rate = mode->sample_rate; - attr->info.max_bps = mode->bitrate; - attr->info.avg_bps = mode->bitrate; - attr->info.pcm_bits_per_sample = 16; - attr->info.frm_ptime = 20; - - /* Default flags. */ - attr->setting.plc = 1; - attr->setting.vad = 0; - attr->setting.frm_per_pkt = 1; - - /* Default FMTP setting */ - attr->setting.dec_fmtp.cnt = 1; - attr->setting.dec_fmtp.param[0].name = pj_str("bitrate"); - attr->setting.dec_fmtp.param[0].val = pj_str(mode->bitrate_str); - - return PJ_SUCCESS; -} - -/* - * Enum codecs supported by this factory. - */ -static pj_status_t enum_codecs( pjmedia_codec_factory *factory, - unsigned *count, - pjmedia_codec_info codecs[]) -{ - unsigned i, max_cnt; - - PJ_ASSERT_RETURN(factory==&codec_factory.base, PJ_EINVAL); - PJ_ASSERT_RETURN(codecs && *count > 0, PJ_EINVAL); - - max_cnt = *count; - *count = 0; - - for (i=0; (i < codec_factory.mode_count) && (*count < max_cnt); ++i) - { - if (!codec_factory.modes[i].enabled) - continue; - - pj_bzero(&codecs[*count], sizeof(pjmedia_codec_info)); - codecs[*count].encoding_name = pj_str((char*)CODEC_TAG); - codecs[*count].pt = codec_factory.modes[i].pt; - codecs[*count].type = PJMEDIA_TYPE_AUDIO; - codecs[*count].clock_rate = codec_factory.modes[i].sample_rate; - codecs[*count].channel_cnt = 1; - - ++ *count; - } - - return PJ_SUCCESS; -} - -/* - * Allocate a new codec instance. - */ -static pj_status_t alloc_codec( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec **p_codec) -{ - codec_private_t *codec_data; - pjmedia_codec *codec; - pj_pool_t *pool; - pj_status_t status; - - PJ_ASSERT_RETURN(factory && id && p_codec, PJ_EINVAL); - PJ_ASSERT_RETURN(factory == &codec_factory.base, PJ_EINVAL); - - pj_mutex_lock(codec_factory.mutex); - - /* Create pool for codec instance */ - pool = pjmedia_endpt_create_pool(codec_factory.endpt, "G7221", 512, 512); - codec = PJ_POOL_ZALLOC_T(pool, pjmedia_codec); - codec->op = &codec_op; - codec->factory = factory; - codec->codec_data = PJ_POOL_ZALLOC_T(pool, codec_private_t); - codec_data = (codec_private_t*) codec->codec_data; - codec_data->pool = pool; - - /* Create silence detector */ - status = pjmedia_silence_det_create(pool, id->clock_rate, - id->clock_rate * 20 / 1000, - &codec_data->vad); - if (status != PJ_SUCCESS) { - pj_mutex_unlock(codec_factory.mutex); - return status; - } - - pj_mutex_unlock(codec_factory.mutex); - - *p_codec = codec; - return PJ_SUCCESS; -} - -/* - * Free codec. - */ -static pj_status_t dealloc_codec( pjmedia_codec_factory *factory, - pjmedia_codec *codec ) -{ - codec_private_t *codec_data; - pj_pool_t *pool; - - PJ_ASSERT_RETURN(factory && codec, PJ_EINVAL); - PJ_ASSERT_RETURN(factory == &codec_factory.base, PJ_EINVAL); - - /* Close codec, if it's not closed. */ - codec_data = (codec_private_t*) codec->codec_data; - pool = codec_data->pool; - codec_close(codec); - - /* Release codec pool */ - pj_pool_release(pool); - - return PJ_SUCCESS; -} - -/* - * Init codec. - */ -static pj_status_t codec_init( pjmedia_codec *codec, - pj_pool_t *pool ) -{ - PJ_UNUSED_ARG(codec); - PJ_UNUSED_ARG(pool); - return PJ_SUCCESS; -} - -/* - * Open codec. - */ -static pj_status_t codec_open( pjmedia_codec *codec, - pjmedia_codec_param *attr ) -{ - codec_private_t *codec_data = (codec_private_t*) codec->codec_data; - pj_pool_t *pool; - unsigned tmp; - - /* Validation mode first! */ - if (!validate_mode(attr->info.clock_rate, attr->info.avg_bps)) - return PJMEDIA_CODEC_EINMODE; - - pool = codec_data->pool; - - /* Initialize common state */ - codec_data->vad_enabled = (attr->setting.vad != 0); - codec_data->plc_enabled = (attr->setting.plc != 0); - - codec_data->bitrate = (pj_uint16_t)attr->info.avg_bps; - codec_data->frame_size_bits = (pj_uint16_t)(attr->info.avg_bps*20/1000); - codec_data->frame_size = (pj_uint16_t)(codec_data->frame_size_bits>>3); - codec_data->samples_per_frame = (pj_uint16_t) - (attr->info.clock_rate*20/1000); - codec_data->number_of_regions = (pj_uint16_t) - (attr->info.clock_rate <= WB_SAMPLE_RATE? - NUMBER_OF_REGIONS:MAX_NUMBER_OF_REGIONS); - codec_data->pcm_shift = codec_factory.pcm_shift; - - /* Initialize encoder state */ - tmp = codec_data->samples_per_frame << 1; - codec_data->enc_old_frame = (Word16*)pj_pool_zalloc(pool, tmp); - codec_data->enc_frame = (Word16*)pj_pool_alloc(pool, tmp); - - /* Initialize decoder state */ - tmp = codec_data->samples_per_frame; - codec_data->dec_old_frame = (Word16*)pj_pool_zalloc(pool, tmp); - - tmp = codec_data->samples_per_frame << 1; - codec_data->dec_old_mlt_coefs = (Word16*)pj_pool_zalloc(pool, tmp); - - codec_data->dec_randobj.seed0 = 1; - codec_data->dec_randobj.seed1 = 1; - codec_data->dec_randobj.seed2 = 1; - codec_data->dec_randobj.seed3 = 1; - - return PJ_SUCCESS; -} - -/* - * Close codec. - */ -static pj_status_t codec_close( pjmedia_codec *codec ) -{ - PJ_UNUSED_ARG(codec); - - return PJ_SUCCESS; -} - - -/* - * Modify codec settings. - */ -static pj_status_t codec_modify( pjmedia_codec *codec, - const pjmedia_codec_param *attr ) -{ - codec_private_t *codec_data = (codec_private_t*) codec->codec_data; - - codec_data->vad_enabled = (attr->setting.vad != 0); - codec_data->plc_enabled = (attr->setting.plc != 0); - - return PJ_SUCCESS; -} - -/* - * Get frames in the packet. - */ -static pj_status_t codec_parse( pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *ts, - unsigned *frame_cnt, - pjmedia_frame frames[]) -{ - codec_private_t *codec_data = (codec_private_t*) codec->codec_data; - unsigned count = 0; - - PJ_ASSERT_RETURN(frame_cnt, PJ_EINVAL); - - /* Parse based on fixed frame size. */ - while (pkt_size >= codec_data->frame_size && count < *frame_cnt) { - frames[count].type = PJMEDIA_FRAME_TYPE_AUDIO; - frames[count].buf = pkt; - frames[count].size = codec_data->frame_size; - frames[count].timestamp.u64 = ts->u64 + - count * codec_data->samples_per_frame; - - pkt = (pj_uint8_t*)pkt + codec_data->frame_size; - pkt_size -= codec_data->frame_size; - - ++count; - } - - pj_assert(pkt_size == 0); - *frame_cnt = count; - - return PJ_SUCCESS; -} - -/* - * Encode frames. - */ -static pj_status_t codec_encode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - codec_private_t *codec_data = (codec_private_t*) codec->codec_data; - unsigned nsamples, processed; - - /* Check frame in & out size */ - nsamples = input->size >> 1; - PJ_ASSERT_RETURN(nsamples % codec_data->samples_per_frame == 0, - PJMEDIA_CODEC_EPCMFRMINLEN); - PJ_ASSERT_RETURN(output_buf_len >= codec_data->frame_size * nsamples / - codec_data->samples_per_frame, - PJMEDIA_CODEC_EFRMTOOSHORT); - - /* Apply silence detection if VAD is enabled */ - if (codec_data->vad_enabled) { - pj_bool_t is_silence; - pj_int32_t silence_duration; - - pj_assert(codec_data->vad); - - silence_duration = pj_timestamp_diff32(&codec_data->last_tx, - &input->timestamp); - - is_silence = pjmedia_silence_det_detect(codec_data->vad, - (const pj_int16_t*) input->buf, - (input->size >> 1), - NULL); - if (is_silence && - (PJMEDIA_CODEC_MAX_SILENCE_PERIOD == -1 || - silence_duration < (PJMEDIA_CODEC_MAX_SILENCE_PERIOD * - (int)codec_data->samples_per_frame / 20))) - { - output->type = PJMEDIA_FRAME_TYPE_NONE; - output->buf = NULL; - output->size = 0; - output->timestamp = input->timestamp; - return PJ_SUCCESS; - } else { - codec_data->last_tx = input->timestamp; - } - } - - processed = 0; - output->size = 0; - while (processed < nsamples) { - Word16 mlt_coefs[MAX_SAMPLES_PER_FRAME]; - Word16 mag_shift; - const Word16 *pcm_input; - pj_int8_t *out_bits; - - pcm_input = (const Word16*)input->buf + processed; - out_bits = (pj_int8_t*)output->buf + output->size; - - /* Encoder adjust the input signal level */ - if (codec_data->pcm_shift) { - unsigned i; - for (i=0; isamples_per_frame; ++i) { - codec_data->enc_frame[i] = - (Word16)(pcm_input[i] >> codec_data->pcm_shift); - } - pcm_input = codec_data->enc_frame; - } - - /* Convert input samples to rmlt coefs */ - mag_shift = samples_to_rmlt_coefs(pcm_input, - codec_data->enc_old_frame, - mlt_coefs, - codec_data->samples_per_frame); - - /* Encode the mlt coefs. Note that encoder output stream is - * 16 bit array, so we need to take care about endianness. - */ - encoder(codec_data->frame_size_bits, - codec_data->number_of_regions, - mlt_coefs, - mag_shift, - (Word16*)out_bits); - - /* Encoder output are in native host byte order, while ITU says - * it must be in network byte order (MSB first). - */ - swap_bytes((pj_uint16_t*)out_bits, codec_data->frame_size/2); - - processed += codec_data->samples_per_frame; - output->size += codec_data->frame_size; - } - - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->timestamp = input->timestamp; - - return PJ_SUCCESS; -} - -/* - * Decode frame. - */ -static pj_status_t codec_decode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - codec_private_t *codec_data = (codec_private_t*) codec->codec_data; - Word16 mlt_coefs[MAX_SAMPLES_PER_FRAME]; - Word16 mag_shift; - Bit_Obj bitobj; - Word16 frame_error_flag = 0; - - /* Check frame out length size */ - PJ_ASSERT_RETURN(output_buf_len >= - (unsigned)(codec_data->samples_per_frame<<1), - PJMEDIA_CODEC_EPCMTOOSHORT); - - /* If input is NULL, perform PLC by settting frame_error_flag to 1 */ - if (input) { - /* Check frame in length size */ - PJ_ASSERT_RETURN((pj_uint16_t)input->size == codec_data->frame_size, - PJMEDIA_CODEC_EFRMINLEN); - - /* Decoder requires input of 16-bits array in native host byte - * order, while the frame received from the network are in - * network byte order (MSB first). - */ - swap_bytes((pj_uint16_t*)input->buf, codec_data->frame_size/2); - - bitobj.code_word_ptr = (Word16*)input->buf; - bitobj.current_word = *bitobj.code_word_ptr; - bitobj.code_bit_count = 0; - bitobj.number_of_bits_left = codec_data->frame_size_bits; - - output->timestamp = input->timestamp; - } else { - pj_bzero(&bitobj, sizeof(bitobj)); - frame_error_flag = 1; - } - - /* Process the input frame to get mlt coefs */ - decoder(&bitobj, - &codec_data->dec_randobj, - codec_data->number_of_regions, - mlt_coefs, - &mag_shift, - &codec_data->dec_old_mag_shift, - codec_data->dec_old_mlt_coefs, - frame_error_flag); - - /* Convert the mlt_coefs to PCM samples */ - rmlt_coefs_to_samples(mlt_coefs, - codec_data->dec_old_frame, - (Word16*)output->buf, - codec_data->samples_per_frame, - mag_shift); - - /* Decoder adjust PCM signal */ - if (codec_data->pcm_shift) { - unsigned i; - pj_int16_t *buf = (Word16*)output->buf; - - for (i=0; isamples_per_frame; ++i) { - buf[i] <<= codec_data->pcm_shift; - } - } - - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->size = codec_data->samples_per_frame << 1; - - return PJ_SUCCESS; -} - -/* - * Recover lost frame. - */ -static pj_status_t codec_recover( pjmedia_codec *codec, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - codec_private_t *codec_data = (codec_private_t*) codec->codec_data; - - /* Use native PLC when PLC is enabled. */ - if (codec_data->plc_enabled) - return codec_decode(codec, NULL, output_buf_len, output); - - /* Otherwise just return zero-fill frame. */ - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->size = codec_data->samples_per_frame << 1; - - pjmedia_zero_samples((pj_int16_t*)output->buf, - codec_data->samples_per_frame); - - return PJ_SUCCESS; -} - -#endif /* PJMEDIA_HAS_G7221_CODEC */ diff --git a/res/pjproject/pjmedia/src/pjmedia-codec/g7221_sdp_match.c b/res/pjproject/pjmedia/src/pjmedia-codec/g7221_sdp_match.c deleted file mode 100644 index a9cc17dcbf..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-codec/g7221_sdp_match.c +++ /dev/null @@ -1,91 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - - -#define GET_FMTP_IVAL_BASE(ival, base, fmtp, param, default_val) \ - do { \ - pj_str_t s; \ - char *p; \ - p = pj_stristr(&fmtp.fmt_param, ¶m); \ - if (!p) { \ - ival = default_val; \ - break; \ - } \ - pj_strset(&s, p + param.slen, fmtp.fmt_param.slen - \ - (p - fmtp.fmt_param.ptr) - param.slen); \ - ival = pj_strtoul2(&s, NULL, base); \ - } while (0) - -#define GET_FMTP_IVAL(ival, fmtp, param, default_val) \ - GET_FMTP_IVAL_BASE(ival, 10, fmtp, param, default_val) - - - -PJ_DEF(pj_status_t) pjmedia_codec_g7221_match_sdp(pj_pool_t *pool, - pjmedia_sdp_media *offer, - unsigned o_fmt_idx, - pjmedia_sdp_media *answer, - unsigned a_fmt_idx, - unsigned option) -{ - const pjmedia_sdp_attr *attr_ans; - const pjmedia_sdp_attr *attr_ofr; - pjmedia_sdp_fmtp fmtp; - unsigned a_bitrate, o_bitrate; - const pj_str_t bitrate = {"bitrate=", 8}; - pj_status_t status; - - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(option); - - /* Parse offer */ - attr_ofr = pjmedia_sdp_media_find_attr2(offer, "fmtp", - &offer->desc.fmt[o_fmt_idx]); - if (!attr_ofr) - return PJMEDIA_SDP_EINFMTP; - - status = pjmedia_sdp_attr_get_fmtp(attr_ofr, &fmtp); - if (status != PJ_SUCCESS) - return status; - - GET_FMTP_IVAL(o_bitrate, fmtp, bitrate, 0); - - /* Parse answer */ - attr_ans = pjmedia_sdp_media_find_attr2(answer, "fmtp", - &answer->desc.fmt[a_fmt_idx]); - if (!attr_ans) - return PJMEDIA_SDP_EINFMTP; - - status = pjmedia_sdp_attr_get_fmtp(attr_ans, &fmtp); - if (status != PJ_SUCCESS) - return status; - - GET_FMTP_IVAL(a_bitrate, fmtp, bitrate, 0); - - /* Compare bitrate in answer and offer. */ - if (a_bitrate != o_bitrate) - return PJMEDIA_SDP_EFORMATNOTEQUAL; - - return PJ_SUCCESS; -} diff --git a/res/pjproject/pjmedia/src/pjmedia-codec/gsm.c b/res/pjproject/pjmedia/src/pjmedia-codec/gsm.c deleted file mode 100644 index 43149b7884..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-codec/gsm.c +++ /dev/null @@ -1,645 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Only build this file if PJMEDIA_HAS_GSM_CODEC != 0 - */ -#if defined(PJMEDIA_HAS_GSM_CODEC) && PJMEDIA_HAS_GSM_CODEC != 0 - -#if defined(PJMEDIA_EXTERNAL_GSM_CODEC) && PJMEDIA_EXTERNAL_GSM_CODEC -# if PJMEDIA_EXTERNAL_GSM_GSM_H -# include -# elif PJMEDIA_EXTERNAL_GSM_H -# include -# else -# error Please set the location of gsm.h -# endif -#else -# include "../../third_party/gsm/inc/gsm.h" -#endif - -/* We removed PLC in 0.6 (and re-enabled it again in 0.9!) */ -#define PLC_DISABLED 0 - - -/* Prototypes for GSM factory */ -static pj_status_t gsm_test_alloc( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id ); -static pj_status_t gsm_default_attr( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ); -static pj_status_t gsm_enum_codecs( pjmedia_codec_factory *factory, - unsigned *count, - pjmedia_codec_info codecs[]); -static pj_status_t gsm_alloc_codec( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec **p_codec); -static pj_status_t gsm_dealloc_codec( pjmedia_codec_factory *factory, - pjmedia_codec *codec ); - -/* Prototypes for GSM implementation. */ -static pj_status_t gsm_codec_init( pjmedia_codec *codec, - pj_pool_t *pool ); -static pj_status_t gsm_codec_open( pjmedia_codec *codec, - pjmedia_codec_param *attr ); -static pj_status_t gsm_codec_close( pjmedia_codec *codec ); -static pj_status_t gsm_codec_modify(pjmedia_codec *codec, - const pjmedia_codec_param *attr ); -static pj_status_t gsm_codec_parse( pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *ts, - unsigned *frame_cnt, - pjmedia_frame frames[]); -static pj_status_t gsm_codec_encode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output); -static pj_status_t gsm_codec_decode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output); -#if !PLC_DISABLED -static pj_status_t gsm_codec_recover(pjmedia_codec *codec, - unsigned output_buf_len, - struct pjmedia_frame *output); -#endif - -/* Definition for GSM codec operations. */ -static pjmedia_codec_op gsm_op = -{ - &gsm_codec_init, - &gsm_codec_open, - &gsm_codec_close, - &gsm_codec_modify, - &gsm_codec_parse, - &gsm_codec_encode, - &gsm_codec_decode, -#if !PLC_DISABLED - &gsm_codec_recover -#else - NULL -#endif -}; - -/* Definition for GSM codec factory operations. */ -static pjmedia_codec_factory_op gsm_factory_op = -{ - &gsm_test_alloc, - &gsm_default_attr, - &gsm_enum_codecs, - &gsm_alloc_codec, - &gsm_dealloc_codec, - &pjmedia_codec_gsm_deinit -}; - -/* GSM factory */ -static struct gsm_codec_factory -{ - pjmedia_codec_factory base; - pjmedia_endpt *endpt; - pj_pool_t *pool; - pj_mutex_t *mutex; - pjmedia_codec codec_list; -} gsm_codec_factory; - - -/* GSM codec private data. */ -struct gsm_data -{ - struct gsm_state *encoder; - struct gsm_state *decoder; - pj_bool_t plc_enabled; -#if !PLC_DISABLED - pjmedia_plc *plc; -#endif - pj_bool_t vad_enabled; - pjmedia_silence_det *vad; - pj_timestamp last_tx; -}; - - - -/* - * Initialize and register GSM codec factory to pjmedia endpoint. - */ -PJ_DEF(pj_status_t) pjmedia_codec_gsm_init( pjmedia_endpt *endpt ) -{ - pjmedia_codec_mgr *codec_mgr; - pj_status_t status; - - if (gsm_codec_factory.pool != NULL) - return PJ_SUCCESS; - - /* Create GSM codec factory. */ - gsm_codec_factory.base.op = &gsm_factory_op; - gsm_codec_factory.base.factory_data = NULL; - gsm_codec_factory.endpt = endpt; - - gsm_codec_factory.pool = pjmedia_endpt_create_pool(endpt, "gsm", 4000, - 4000); - if (!gsm_codec_factory.pool) - return PJ_ENOMEM; - - pj_list_init(&gsm_codec_factory.codec_list); - - /* Create mutex. */ - status = pj_mutex_create_simple(gsm_codec_factory.pool, "gsm", - &gsm_codec_factory.mutex); - if (status != PJ_SUCCESS) - goto on_error; - - /* Get the codec manager. */ - codec_mgr = pjmedia_endpt_get_codec_mgr(endpt); - if (!codec_mgr) { - status = PJ_EINVALIDOP; - goto on_error; - } - - /* Register codec factory to endpoint. */ - status = pjmedia_codec_mgr_register_factory(codec_mgr, - &gsm_codec_factory.base); - if (status != PJ_SUCCESS) - goto on_error; - - /* Done. */ - return PJ_SUCCESS; - -on_error: - pj_pool_release(gsm_codec_factory.pool); - gsm_codec_factory.pool = NULL; - return status; -} - - - -/* - * Unregister GSM codec factory from pjmedia endpoint and deinitialize - * the GSM codec library. - */ -PJ_DEF(pj_status_t) pjmedia_codec_gsm_deinit(void) -{ - pjmedia_codec_mgr *codec_mgr; - pj_status_t status; - - if (gsm_codec_factory.pool == NULL) - return PJ_SUCCESS; - - /* We don't want to deinit if there's outstanding codec. */ - /* This is silly, as we'll always have codec in the list if - we ever allocate a codec! A better behavior maybe is to - deallocate all codecs in the list. - pj_mutex_lock(gsm_codec_factory.mutex); - if (!pj_list_empty(&gsm_codec_factory.codec_list)) { - pj_mutex_unlock(gsm_codec_factory.mutex); - return PJ_EBUSY; - } - */ - - /* Get the codec manager. */ - codec_mgr = pjmedia_endpt_get_codec_mgr(gsm_codec_factory.endpt); - if (!codec_mgr) { - pj_pool_release(gsm_codec_factory.pool); - gsm_codec_factory.pool = NULL; - return PJ_EINVALIDOP; - } - - /* Unregister GSM codec factory. */ - status = pjmedia_codec_mgr_unregister_factory(codec_mgr, - &gsm_codec_factory.base); - - /* Destroy mutex. */ - pj_mutex_destroy(gsm_codec_factory.mutex); - - /* Destroy pool. */ - pj_pool_release(gsm_codec_factory.pool); - gsm_codec_factory.pool = NULL; - - return status; -} - -/* - * Check if factory can allocate the specified codec. - */ -static pj_status_t gsm_test_alloc( pjmedia_codec_factory *factory, - const pjmedia_codec_info *info ) -{ - PJ_UNUSED_ARG(factory); - - /* Check payload type. */ - if (info->pt != PJMEDIA_RTP_PT_GSM) - return PJMEDIA_CODEC_EUNSUP; - - /* Ignore the rest, since it's static payload type. */ - - return PJ_SUCCESS; -} - -/* - * Generate default attribute. - */ -static pj_status_t gsm_default_attr (pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ) -{ - PJ_UNUSED_ARG(factory); - PJ_UNUSED_ARG(id); - - pj_bzero(attr, sizeof(pjmedia_codec_param)); - attr->info.clock_rate = 8000; - attr->info.channel_cnt = 1; - attr->info.avg_bps = 13200; - attr->info.max_bps = 13200; - attr->info.pcm_bits_per_sample = 16; - attr->info.frm_ptime = 20; - attr->info.pt = PJMEDIA_RTP_PT_GSM; - - attr->setting.frm_per_pkt = 1; - attr->setting.vad = 1; -#if !PLC_DISABLED - attr->setting.plc = 1; -#endif - - /* Default all other flag bits disabled. */ - - return PJ_SUCCESS; -} - -/* - * Enum codecs supported by this factory (i.e. only GSM!). - */ -static pj_status_t gsm_enum_codecs(pjmedia_codec_factory *factory, - unsigned *count, - pjmedia_codec_info codecs[]) -{ - PJ_UNUSED_ARG(factory); - PJ_ASSERT_RETURN(codecs && *count > 0, PJ_EINVAL); - - pj_bzero(&codecs[0], sizeof(pjmedia_codec_info)); - codecs[0].encoding_name = pj_str("GSM"); - codecs[0].pt = PJMEDIA_RTP_PT_GSM; - codecs[0].type = PJMEDIA_TYPE_AUDIO; - codecs[0].clock_rate = 8000; - codecs[0].channel_cnt = 1; - - *count = 1; - - return PJ_SUCCESS; -} - -/* - * Allocate a new GSM codec instance. - */ -static pj_status_t gsm_alloc_codec( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec **p_codec) -{ - pjmedia_codec *codec; - struct gsm_data *gsm_data; - pj_status_t status; - - PJ_ASSERT_RETURN(factory && id && p_codec, PJ_EINVAL); - PJ_ASSERT_RETURN(factory == &gsm_codec_factory.base, PJ_EINVAL); - - - pj_mutex_lock(gsm_codec_factory.mutex); - - /* Get free nodes, if any. */ - if (!pj_list_empty(&gsm_codec_factory.codec_list)) { - codec = gsm_codec_factory.codec_list.next; - pj_list_erase(codec); - } else { - codec = PJ_POOL_ZALLOC_T(gsm_codec_factory.pool, pjmedia_codec); - PJ_ASSERT_RETURN(codec != NULL, PJ_ENOMEM); - codec->op = &gsm_op; - codec->factory = factory; - - gsm_data = PJ_POOL_ZALLOC_T(gsm_codec_factory.pool, struct gsm_data); - codec->codec_data = gsm_data; - -#if !PLC_DISABLED - /* Create PLC */ - status = pjmedia_plc_create(gsm_codec_factory.pool, 8000, - 160, 0, &gsm_data->plc); - if (status != PJ_SUCCESS) { - pj_mutex_unlock(gsm_codec_factory.mutex); - return status; - } -#endif - - /* Create silence detector */ - status = pjmedia_silence_det_create(gsm_codec_factory.pool, - 8000, 160, - &gsm_data->vad); - if (status != PJ_SUCCESS) { - pj_mutex_unlock(gsm_codec_factory.mutex); - return status; - } - } - - pj_mutex_unlock(gsm_codec_factory.mutex); - - *p_codec = codec; - return PJ_SUCCESS; -} - -/* - * Free codec. - */ -static pj_status_t gsm_dealloc_codec( pjmedia_codec_factory *factory, - pjmedia_codec *codec ) -{ - struct gsm_data *gsm_data; - int i; - - PJ_ASSERT_RETURN(factory && codec, PJ_EINVAL); - PJ_ASSERT_RETURN(factory == &gsm_codec_factory.base, PJ_EINVAL); - - gsm_data = (struct gsm_data*) codec->codec_data; - - /* Close codec, if it's not closed. */ - gsm_codec_close(codec); - -#if !PLC_DISABLED - /* Clear left samples in the PLC, since codec+plc will be reused - * next time. - */ - for (i=0; i<2; ++i) { - pj_int16_t frame[160]; - pjmedia_zero_samples(frame, PJ_ARRAY_SIZE(frame)); - pjmedia_plc_save(gsm_data->plc, frame); - } -#else - PJ_UNUSED_ARG(i); -#endif - - /* Re-init silence_period */ - pj_set_timestamp32(&gsm_data->last_tx, 0, 0); - - /* Put in the free list. */ - pj_mutex_lock(gsm_codec_factory.mutex); - pj_list_push_front(&gsm_codec_factory.codec_list, codec); - pj_mutex_unlock(gsm_codec_factory.mutex); - - return PJ_SUCCESS; -} - -/* - * Init codec. - */ -static pj_status_t gsm_codec_init( pjmedia_codec *codec, - pj_pool_t *pool ) -{ - PJ_UNUSED_ARG(codec); - PJ_UNUSED_ARG(pool); - return PJ_SUCCESS; -} - -/* - * Open codec. - */ -static pj_status_t gsm_codec_open( pjmedia_codec *codec, - pjmedia_codec_param *attr ) -{ - struct gsm_data *gsm_data = (struct gsm_data*) codec->codec_data; - - pj_assert(gsm_data != NULL); - pj_assert(gsm_data->encoder == NULL && gsm_data->decoder == NULL); - - gsm_data->encoder = gsm_create(); - if (!gsm_data->encoder) - return PJMEDIA_CODEC_EFAILED; - - gsm_data->decoder = gsm_create(); - if (!gsm_data->decoder) - return PJMEDIA_CODEC_EFAILED; - - gsm_data->vad_enabled = (attr->setting.vad != 0); - gsm_data->plc_enabled = (attr->setting.plc != 0); - - return PJ_SUCCESS; -} - -/* - * Close codec. - */ -static pj_status_t gsm_codec_close( pjmedia_codec *codec ) -{ - struct gsm_data *gsm_data = (struct gsm_data*) codec->codec_data; - - pj_assert(gsm_data != NULL); - - if (gsm_data->encoder) { - gsm_destroy(gsm_data->encoder); - gsm_data->encoder = NULL; - } - if (gsm_data->decoder) { - gsm_destroy(gsm_data->decoder); - gsm_data->decoder = NULL; - } - - return PJ_SUCCESS; -} - - -/* - * Modify codec settings. - */ -static pj_status_t gsm_codec_modify(pjmedia_codec *codec, - const pjmedia_codec_param *attr ) -{ - struct gsm_data *gsm_data = (struct gsm_data*) codec->codec_data; - - pj_assert(gsm_data != NULL); - pj_assert(gsm_data->encoder != NULL && gsm_data->decoder != NULL); - - gsm_data->vad_enabled = (attr->setting.vad != 0); - gsm_data->plc_enabled = (attr->setting.plc != 0); - - return PJ_SUCCESS; -} - - -/* - * Get frames in the packet. - */ -static pj_status_t gsm_codec_parse( pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *ts, - unsigned *frame_cnt, - pjmedia_frame frames[]) -{ - unsigned count = 0; - - PJ_UNUSED_ARG(codec); - - PJ_ASSERT_RETURN(frame_cnt, PJ_EINVAL); - - while (pkt_size >= 33 && count < *frame_cnt) { - frames[count].type = PJMEDIA_FRAME_TYPE_AUDIO; - frames[count].buf = pkt; - frames[count].size = 33; - frames[count].timestamp.u64 = ts->u64 + count * 160; - - pkt = ((char*)pkt) + 33; - pkt_size -= 33; - - ++count; - } - - *frame_cnt = count; - return PJ_SUCCESS; -} - -/* - * Encode frame. - */ -static pj_status_t gsm_codec_encode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - struct gsm_data *gsm_data = (struct gsm_data*) codec->codec_data; - pj_int16_t *pcm_in; - unsigned in_size; - - pj_assert(gsm_data && input && output); - - pcm_in = (pj_int16_t*)input->buf; - in_size = input->size; - - PJ_ASSERT_RETURN(in_size % 320 == 0, PJMEDIA_CODEC_EPCMFRMINLEN); - PJ_ASSERT_RETURN(output_buf_len >= 33 * in_size/320, - PJMEDIA_CODEC_EFRMTOOSHORT); - - /* Detect silence */ - if (gsm_data->vad_enabled) { - pj_bool_t is_silence; - pj_int32_t silence_duration; - - silence_duration = pj_timestamp_diff32(&gsm_data->last_tx, - &input->timestamp); - - is_silence = pjmedia_silence_det_detect(gsm_data->vad, - (const pj_int16_t*) input->buf, - (input->size >> 1), - NULL); - if (is_silence && - (PJMEDIA_CODEC_MAX_SILENCE_PERIOD == -1 || - silence_duration < PJMEDIA_CODEC_MAX_SILENCE_PERIOD*8000/1000)) - { - output->type = PJMEDIA_FRAME_TYPE_NONE; - output->buf = NULL; - output->size = 0; - output->timestamp = input->timestamp; - return PJ_SUCCESS; - } else { - gsm_data->last_tx = input->timestamp; - } - } - - /* Encode */ - output->size = 0; - while (in_size >= 320) { - gsm_encode(gsm_data->encoder, pcm_in, - (unsigned char*)output->buf + output->size); - pcm_in += 160; - output->size += 33; - in_size -= 320; - } - - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->timestamp = input->timestamp; - - return PJ_SUCCESS; -} - -/* - * Decode frame. - */ -static pj_status_t gsm_codec_decode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - struct gsm_data *gsm_data = (struct gsm_data*) codec->codec_data; - - pj_assert(gsm_data != NULL); - PJ_ASSERT_RETURN(input && output, PJ_EINVAL); - - if (output_buf_len < 320) - return PJMEDIA_CODEC_EPCMTOOSHORT; - - if (input->size < 33) - return PJMEDIA_CODEC_EFRMTOOSHORT; - - gsm_decode(gsm_data->decoder, - (unsigned char*)input->buf, - (short*)output->buf); - - output->size = 320; - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->timestamp = input->timestamp; - -#if !PLC_DISABLED - if (gsm_data->plc_enabled) - pjmedia_plc_save( gsm_data->plc, (pj_int16_t*)output->buf); -#endif - - return PJ_SUCCESS; -} - - -#if !PLC_DISABLED -/* - * Recover lost frame. - */ -static pj_status_t gsm_codec_recover(pjmedia_codec *codec, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - struct gsm_data *gsm_data = (struct gsm_data*) codec->codec_data; - - PJ_ASSERT_RETURN(gsm_data->plc_enabled, PJ_EINVALIDOP); - - PJ_ASSERT_RETURN(output_buf_len >= 320, PJMEDIA_CODEC_EPCMTOOSHORT); - - pjmedia_plc_generate(gsm_data->plc, (pj_int16_t*)output->buf); - output->size = 320; - - return PJ_SUCCESS; -} -#endif - - -#endif /* PJMEDIA_HAS_GSM_CODEC */ - diff --git a/res/pjproject/pjmedia/src/pjmedia-codec/h263_packetizer.c b/res/pjproject/pjmedia/src/pjmedia-codec/h263_packetizer.c deleted file mode 100644 index df812c40fb..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-codec/h263_packetizer.c +++ /dev/null @@ -1,294 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - - -#define THIS_FILE "h263_packetizer.c" - - -/* H.263 packetizer definition */ -struct pjmedia_h263_packetizer { - /* Current settings */ - pjmedia_h263_packetizer_cfg cfg; - - /* Unpacketizer state */ - unsigned unpack_last_sync_pos; - pj_bool_t unpack_prev_lost; -}; - - -/* - * Find synchronization point (PSC, slice, GSBC, EOS, EOSBS) in H.263 - * bitstream. - */ -static pj_uint8_t* find_sync_point(pj_uint8_t *data, - pj_size_t data_len) -{ - pj_uint8_t *p = data, *end = data+data_len-1; - - while (p < end && (*p || *(p+1))) - ++p; - - if (p == end) - return NULL; - - return p; -} - - -/* - * Find synchronization point (PSC, slice, GSBC, EOS, EOSBS) in H.263 - * bitstream, in reversed manner. - */ -static pj_uint8_t* find_sync_point_rev(pj_uint8_t *data, - pj_size_t data_len) -{ - pj_uint8_t *p = data+data_len-2; - - while (p >= data && (*p || *(p+1))) - --p; - - if (p < data) - return (data + data_len); - - return p; -} - - -/* - * Create H263 packetizer. - */ -PJ_DEF(pj_status_t) pjmedia_h263_packetizer_create( - pj_pool_t *pool, - const pjmedia_h263_packetizer_cfg *cfg, - pjmedia_h263_packetizer **p) -{ - pjmedia_h263_packetizer *p_; - - PJ_ASSERT_RETURN(pool && p, PJ_EINVAL); - - if (cfg && cfg->mode != PJMEDIA_H263_PACKETIZER_MODE_RFC4629) - return PJ_ENOTSUP; - - p_ = PJ_POOL_ZALLOC_T(pool, pjmedia_h263_packetizer); - if (cfg) { - pj_memcpy(&p_->cfg, cfg, sizeof(*cfg)); - } else { - p_->cfg.mode = PJMEDIA_H263_PACKETIZER_MODE_RFC4629; - p_->cfg.mtu = PJMEDIA_MAX_VID_PAYLOAD_SIZE; - } - - *p = p_; - - return PJ_SUCCESS; -} - - -/* - * Generate an RTP payload from H.263 frame bitstream, in-place processing. - */ -PJ_DEF(pj_status_t) pjmedia_h263_packetize(pjmedia_h263_packetizer *pktz, - pj_uint8_t *bits, - pj_size_t bits_len, - unsigned *pos, - const pj_uint8_t **payload, - pj_size_t *payload_len) -{ - pj_uint8_t *p, *end; - - pj_assert(pktz && bits && pos && payload && payload_len); - pj_assert(*pos <= bits_len); - - p = bits + *pos; - end = bits + bits_len; - - /* Put two octets payload header */ - if ((end-p > 2) && *p==0 && *(p+1)==0) { - /* The bitstream starts with synchronization point, just override - * the two zero octets (sync point mark) for payload header. - */ - *p = 0x04; - } else { - /* Not started in synchronization point, we will use two octets - * preceeding the bitstream for payload header! - */ - - if (*pos < 2) { - /* Invalid H263 bitstream, it's not started with PSC */ - return PJ_EINVAL; - } - - p -= 2; - *p = 0; - } - *(p+1) = 0; - - /* When bitstream truncation needed because of payload length/MTU - * limitation, try to use sync point for the payload boundary. - */ - if (end-p > pktz->cfg.mtu) { - end = find_sync_point_rev(p+2, pktz->cfg.mtu-2); - } - - *payload = p; - *payload_len = end-p; - *pos = end - bits; - - return PJ_SUCCESS; -} - - -/* - * Append an RTP payload to a H.263 picture bitstream. - */ -PJ_DEF(pj_status_t) pjmedia_h263_unpacketize (pjmedia_h263_packetizer *pktz, - const pj_uint8_t *payload, - pj_size_t payload_len, - pj_uint8_t *bits, - pj_size_t bits_size, - unsigned *pos) -{ - pj_uint8_t P, V, PLEN; - const pj_uint8_t *p = payload; - pj_uint8_t *q; - - q = bits + *pos; - - /* Check if this is a missing/lost packet */ - if (payload == NULL) { - pktz->unpack_prev_lost = PJ_TRUE; - return PJ_SUCCESS; - } - - /* H263 payload header size is two octets */ - if (payload_len < 2) { - /* Invalid bitstream, discard this payload */ - pktz->unpack_prev_lost = PJ_TRUE; - return PJ_EINVAL; - } - - /* Reset last sync point for every new picture bitstream */ - if (*pos == 0) - pktz->unpack_last_sync_pos = 0; - - /* Get payload header info */ - P = *p & 0x04; - V = *p & 0x02; - PLEN = ((*p & 0x01) << 5) + ((*(p+1) & 0xF8)>>3); - - /* Get start bitstream pointer */ - p += 2; /* Skip payload header */ - if (V) - p += 1; /* Skip VRC data */ - if (PLEN) - p += PLEN; /* Skip extra picture header data */ - - /* Get bitstream length */ - if (payload_len > (pj_size_t)(p - payload)) { - payload_len -= (p - payload); - } else { - /* Invalid bitstream, discard this payload */ - pktz->unpack_prev_lost = PJ_TRUE; - return PJ_EINVAL; - } - - /* Validate bitstream length */ - if (bits_size < *pos + payload_len + 2) { - /* Insufficient bistream buffer, discard this payload */ - pj_assert(!"Insufficient H.263 bitstream buffer"); - pktz->unpack_prev_lost = PJ_TRUE; - return PJ_ETOOSMALL; - } - - /* Start writing bitstream */ - - /* No sync point flag */ - if (!P) { - if (*pos == 0) { - /* Previous packet must be lost */ - pktz->unpack_prev_lost = PJ_TRUE; - - /* If there is extra picture header, let's use it. */ - if (PLEN) { - /* Write two zero octets for PSC */ - *q++ = 0; - *q++ = 0; - /* Copy the picture header */ - p -= PLEN; - pj_memcpy(q, p, PLEN); - p += PLEN; - q += PLEN; - } - } else if (pktz->unpack_prev_lost) { - /* If prev packet was lost, revert the bitstream pointer to - * the last sync point. - */ - pj_assert(pktz->unpack_last_sync_pos <= *pos); - q = bits + pktz->unpack_last_sync_pos; - } - - /* There was packet lost, see if this payload contain sync point - * (usable data). - */ - if (pktz->unpack_prev_lost) { - pj_uint8_t *sync; - sync = find_sync_point((pj_uint8_t*)p, payload_len); - if (sync) { - /* Got sync point, update P/sync-point flag */ - P = 1; - /* Skip the two zero octets */ - sync += 2; - /* Update payload length and start bitstream pointer */ - payload_len -= (sync - p); - p = sync; - } else { - /* No sync point in it, just discard this payload */ - return PJ_EIGNORED; - } - } - } - - /* Write two zero octets when payload flagged with sync point */ - if (P) { - pktz->unpack_last_sync_pos = q - bits; - *q++ = 0; - *q++ = 0; - } - - /* Write the payload to the bitstream */ - pj_memcpy(q, p, payload_len); - q += payload_len; - - /* Update the bitstream writing offset */ - *pos = q - bits; - - pktz->unpack_prev_lost = PJ_FALSE; - - return PJ_SUCCESS; -} - - -#endif /* PJMEDIA_HAS_VIDEO */ diff --git a/res/pjproject/pjmedia/src/pjmedia-codec/h264_packetizer.c b/res/pjproject/pjmedia/src/pjmedia-codec/h264_packetizer.c deleted file mode 100644 index c928dc206a..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-codec/h264_packetizer.c +++ /dev/null @@ -1,535 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include - - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - - -#define THIS_FILE "h264_packetizer.c" - -#define DBG_PACKETIZE 0 -#define DBG_UNPACKETIZE 0 - - -/* H.264 packetizer definition */ -struct pjmedia_h264_packetizer -{ - /* Current settings */ - pjmedia_h264_packetizer_cfg cfg; - - /* Unpacketizer state */ - unsigned unpack_last_sync_pos; - pj_bool_t unpack_prev_lost; -}; - - -/* Enumeration of H.264 NAL unit types */ -enum -{ - NAL_TYPE_SINGLE_NAL_MIN = 1, - NAL_TYPE_SINGLE_NAL_MAX = 23, - NAL_TYPE_STAP_A = 24, - NAL_TYPE_FU_A = 28, -}; - - -/* - * Find next NAL unit from the specified H.264 bitstream data. - */ -static pj_uint8_t* find_next_nal_unit(pj_uint8_t *start, - pj_uint8_t *end) -{ - pj_uint8_t *p = start; - - /* Simply lookup "0x000001" pattern */ - while (p <= end-3 && (p[0] || p[1] || p[2]!=1)) - ++p; - - if (p > end-3) - /* No more NAL unit in this bitstream */ - return NULL; - - /* Include 8 bits leading zero */ - if (p>start && *(p-1)==0) - return (p-1); - - return p; -} - - -/* - * Create H264 packetizer. - */ -PJ_DEF(pj_status_t) pjmedia_h264_packetizer_create( - pj_pool_t *pool, - const pjmedia_h264_packetizer_cfg *cfg, - pjmedia_h264_packetizer **p) -{ - pjmedia_h264_packetizer *p_; - - PJ_ASSERT_RETURN(pool && p, PJ_EINVAL); - - if (cfg && - cfg->mode != PJMEDIA_H264_PACKETIZER_MODE_NON_INTERLEAVED && - cfg->mode != PJMEDIA_H264_PACKETIZER_MODE_SINGLE_NAL) - { - return PJ_ENOTSUP; - } - - p_ = PJ_POOL_ZALLOC_T(pool, pjmedia_h264_packetizer); - if (cfg) { - pj_memcpy(&p_->cfg, cfg, sizeof(*cfg)); - } else { - p_->cfg.mode = PJMEDIA_H264_PACKETIZER_MODE_NON_INTERLEAVED; - p_->cfg.mtu = PJMEDIA_MAX_VID_PAYLOAD_SIZE; - } - - *p = p_; - - return PJ_SUCCESS; -} - - - -/* - * Generate an RTP payload from H.264 frame bitstream, in-place processing. - */ -PJ_DEF(pj_status_t) pjmedia_h264_packetize(pjmedia_h264_packetizer *pktz, - pj_uint8_t *buf, - pj_size_t buf_len, - unsigned *pos, - const pj_uint8_t **payload, - pj_size_t *payload_len) -{ - pj_uint8_t *nal_start = NULL, *nal_end = NULL, *nal_octet = NULL; - pj_uint8_t *p, *end; - enum { - HEADER_SIZE_FU_A = 2, - HEADER_SIZE_STAP_A = 3, - }; - enum { MAX_NALS_IN_AGGR = 32 }; - -#if DBG_PACKETIZE - if (*pos == 0 && buf_len) { - PJ_LOG(3, ("h264pack", "<< Start packing new frame >>")); - } -#endif - - p = buf + *pos; - end = buf + buf_len; - - /* Find NAL unit startcode */ - if (end-p >= 4) - nal_start = find_next_nal_unit(p, p+4); - if (nal_start) { - /* Get NAL unit octet pointer */ - while (*nal_start++ == 0); - nal_octet = nal_start; - } else { - /* This NAL unit is being fragmented */ - nal_start = p; - } - - /* Get end of NAL unit */ - p = nal_start+pktz->cfg.mtu+1; - if (p > end || pktz->cfg.mode==PJMEDIA_H264_PACKETIZER_MODE_SINGLE_NAL) - p = end; - nal_end = find_next_nal_unit(nal_start, p); - if (!nal_end) - nal_end = p; - - /* Validate MTU vs NAL length on single NAL unit packetization */ - if ((pktz->cfg.mode==PJMEDIA_H264_PACKETIZER_MODE_SINGLE_NAL) && - nal_end - nal_start > pktz->cfg.mtu) - { - //pj_assert(!"MTU too small for H.264 single NAL packetization mode"); - PJ_LOG(2,("h264_packetizer.c", - "MTU too small for H.264 (required=%u, MTU=%u)", - nal_end - nal_start, pktz->cfg.mtu)); - return PJ_ETOOSMALL; - } - - /* Evaluate the proper payload format structure */ - - /* Fragmentation (FU-A) packet */ - if ((pktz->cfg.mode != PJMEDIA_H264_PACKETIZER_MODE_SINGLE_NAL) && - (!nal_octet || nal_end-nal_start > pktz->cfg.mtu)) - { - pj_uint8_t NRI, TYPE; - - if (nal_octet) { - /* We have NAL unit octet, so this is the first fragment */ - NRI = (*nal_octet & 0x60) >> 5; - TYPE = *nal_octet & 0x1F; - - /* Skip nal_octet in nal_start to be overriden by FU header */ - ++nal_start; - } else { - /* Not the first fragment, get NRI and NAL unit type - * from the previous fragment. - */ - p = nal_start - pktz->cfg.mtu; - NRI = (*p & 0x60) >> 5; - TYPE = *(p+1) & 0x1F; - } - - /* Init FU indicator (one octet: F+NRI+TYPE) */ - p = nal_start - HEADER_SIZE_FU_A; - *p = (NRI << 5) | NAL_TYPE_FU_A; - ++p; - - /* Init FU header (one octed: S+E+R+TYPE) */ - *p = TYPE; - if (nal_octet) - *p |= (1 << 7); /* S bit flag = start of fragmentation */ - if (nal_end-nal_start+HEADER_SIZE_FU_A <= pktz->cfg.mtu) - *p |= (1 << 6); /* E bit flag = end of fragmentation */ - - /* Set payload, payload length */ - *payload = nal_start - HEADER_SIZE_FU_A; - if (nal_end-nal_start+HEADER_SIZE_FU_A > pktz->cfg.mtu) - *payload_len = pktz->cfg.mtu; - else - *payload_len = nal_end - nal_start + HEADER_SIZE_FU_A; - *pos = *payload + *payload_len - buf; - -#if DBG_PACKETIZE - PJ_LOG(3, ("h264pack", "Packetized fragmented H264 NAL unit " - "(pos=%d, type=%d, NRI=%d, S=%d, E=%d, len=%d/%d)", - *payload-buf, TYPE, NRI, *p>>7, (*p>>6)&1, *payload_len, - buf_len)); -#endif - - return PJ_SUCCESS; - } - - /* Aggregation (STAP-A) packet */ - if ((pktz->cfg.mode != PJMEDIA_H264_PACKETIZER_MODE_SINGLE_NAL) && - (nal_end != end) && - (nal_end - nal_start + HEADER_SIZE_STAP_A) < pktz->cfg.mtu) - { - int total_size; - unsigned nal_cnt = 1; - pj_uint8_t *nal[MAX_NALS_IN_AGGR]; - pj_size_t nal_size[MAX_NALS_IN_AGGR]; - pj_uint8_t NRI; - - pj_assert(nal_octet); - - /* Init the first NAL unit in the packet */ - nal[0] = nal_start; - nal_size[0] = nal_end - nal_start; - total_size = nal_size[0] + HEADER_SIZE_STAP_A; - NRI = (*nal_octet & 0x60) >> 5; - - /* Populate next NAL units */ - while (nal_cnt < MAX_NALS_IN_AGGR) { - pj_uint8_t *tmp_end; - - /* Find start address of the next NAL unit */ - p = nal[nal_cnt-1] + nal_size[nal_cnt-1]; - while (*p++ == 0); - nal[nal_cnt] = p; - - /* Find end address of the next NAL unit */ - tmp_end = p + (pktz->cfg.mtu - total_size); - if (tmp_end > end) - tmp_end = end; - p = find_next_nal_unit(p+1, tmp_end); - if (p) { - nal_size[nal_cnt] = p - nal[nal_cnt]; - } else { - break; - } - - /* Update total payload size (2 octet NAL size + NAL) */ - total_size += (2 + nal_size[nal_cnt]); - if (total_size <= pktz->cfg.mtu) { - pj_uint8_t tmp_nri; - - /* Get maximum NRI of the aggregated NAL units */ - tmp_nri = (*(nal[nal_cnt]-1) & 0x60) >> 5; - if (tmp_nri > NRI) - NRI = tmp_nri; - } else { - break; - } - - ++nal_cnt; - } - - /* Only use STAP-A when we found more than one NAL units */ - if (nal_cnt > 1) { - unsigned i; - - /* Init STAP-A NAL header (F+NRI+TYPE) */ - p = nal[0] - HEADER_SIZE_STAP_A; - *p++ = (NRI << 5) | NAL_TYPE_STAP_A; - - /* Append all populated NAL units into payload (SIZE+NAL) */ - for (i = 0; i < nal_cnt; ++i) { - /* Put size (2 octets in network order) */ - pj_assert(nal_size[i] <= 0xFFFF); - *p++ = (pj_uint8_t)(nal_size[i] >> 8); - *p++ = (pj_uint8_t)(nal_size[i] & 0xFF); - - /* Append NAL unit, watchout memmove()-ing bitstream! */ - if (p != nal[i]) - pj_memmove(p, nal[i], nal_size[i]); - p += nal_size[i]; - } - - /* Set payload, payload length, and pos */ - *payload = nal[0] - HEADER_SIZE_STAP_A; - pj_assert(*payload >= buf+*pos); - *payload_len = p - *payload; - *pos = nal[nal_cnt-1] + nal_size[nal_cnt-1] - buf; - -#if DBG_PACKETIZE - PJ_LOG(3, ("h264pack", "Packetized aggregation of " - "%d H264 NAL units (pos=%d, NRI=%d len=%d/%d)", - nal_cnt, *payload-buf, NRI, *payload_len, buf_len)); -#endif - - return PJ_SUCCESS; - } - } - - /* Single NAL unit packet */ - *payload = nal_start; - *payload_len = nal_end - nal_start; - *pos = nal_end - buf; - -#if DBG_PACKETIZE - PJ_LOG(3, ("h264pack", "Packetized single H264 NAL unit " - "(pos=%d, type=%d, NRI=%d, len=%d/%d)", - nal_start-buf, *nal_octet&0x1F, (*nal_octet&0x60)>>5, - *payload_len, buf_len)); -#endif - - return PJ_SUCCESS; -} - - -/* - * Append RTP payload to a H.264 picture bitstream. Note that the only - * payload format that cares about packet lost is the NAL unit - * fragmentation format (FU-A/B), so we will only manage the "prev_lost" - * state for the FU-A/B packets. - */ -PJ_DEF(pj_status_t) pjmedia_h264_unpacketize(pjmedia_h264_packetizer *pktz, - const pj_uint8_t *payload, - pj_size_t payload_len, - pj_uint8_t *bits, - pj_size_t bits_len, - unsigned *bits_pos) -{ - const pj_uint8_t nal_start_code[3] = {0, 0, 1}; - enum { MIN_PAYLOAD_SIZE = 2 }; - pj_uint8_t nal_type; - - PJ_UNUSED_ARG(pktz); - -#if DBG_UNPACKETIZE - if (*bits_pos == 0 && payload_len) { - PJ_LOG(3, ("h264unpack", ">> Start unpacking new frame <<")); - } -#endif - - /* Check if this is a missing/lost packet */ - if (payload == NULL) { - pktz->unpack_prev_lost = PJ_TRUE; - return PJ_SUCCESS; - } - - /* H264 payload size */ - if (payload_len < MIN_PAYLOAD_SIZE) { - /* Invalid bitstream, discard this payload */ - pktz->unpack_prev_lost = PJ_TRUE; - return PJ_EINVAL; - } - - /* Reset last sync point for every new picture bitstream */ - if (*bits_pos == 0) - pktz->unpack_last_sync_pos = 0; - - nal_type = *payload & 0x1F; - if (nal_type >= NAL_TYPE_SINGLE_NAL_MIN && - nal_type <= NAL_TYPE_SINGLE_NAL_MAX) - { - /* Single NAL unit packet */ - pj_uint8_t *p = bits + *bits_pos; - - /* Validate bitstream length */ - if (bits_len-*bits_pos < payload_len+PJ_ARRAY_SIZE(nal_start_code)) { - /* Insufficient bistream buffer, discard this payload */ - pj_assert(!"Insufficient H.263 bitstream buffer"); - return PJ_ETOOSMALL; - } - - /* Write NAL unit start code */ - pj_memcpy(p, &nal_start_code, PJ_ARRAY_SIZE(nal_start_code)); - p += PJ_ARRAY_SIZE(nal_start_code); - - /* Write NAL unit */ - pj_memcpy(p, payload, payload_len); - p += payload_len; - - /* Update the bitstream writing offset */ - *bits_pos = p - bits; - pktz->unpack_last_sync_pos = *bits_pos; - -#if DBG_UNPACKETIZE - PJ_LOG(3, ("h264unpack", "Unpacked single H264 NAL unit " - "(type=%d, NRI=%d, len=%d)", - nal_type, (*payload&0x60)>>5, payload_len)); -#endif - - } - else if (nal_type == NAL_TYPE_STAP_A) - { - /* Aggregation packet */ - pj_uint8_t *p, *p_end; - const pj_uint8_t *q, *q_end; - unsigned cnt = 0; - - /* Validate bitstream length */ - if (bits_len - *bits_pos < payload_len + 32) { - /* Insufficient bistream buffer, discard this payload */ - pj_assert(!"Insufficient H.263 bitstream buffer"); - return PJ_ETOOSMALL; - } - - /* Fill bitstream */ - p = bits + *bits_pos; - p_end = bits + bits_len; - q = payload + 1; - q_end = payload + payload_len; - while (q < q_end && p < p_end) { - pj_uint16_t tmp_nal_size; - - /* Write NAL unit start code */ - pj_memcpy(p, &nal_start_code, PJ_ARRAY_SIZE(nal_start_code)); - p += PJ_ARRAY_SIZE(nal_start_code); - - /* Get NAL unit size */ - tmp_nal_size = (*q << 8) | *(q+1); - q += 2; - if (q + tmp_nal_size > q_end) { - /* Invalid bitstream, discard the rest of the payload */ - return PJ_EINVAL; - } - - /* Write NAL unit */ - pj_memcpy(p, q, tmp_nal_size); - p += tmp_nal_size; - q += tmp_nal_size; - ++cnt; - - /* Update the bitstream writing offset */ - *bits_pos = p - bits; - pktz->unpack_last_sync_pos = *bits_pos; - } - -#if DBG_UNPACKETIZE - PJ_LOG(3, ("h264unpack", "Unpacked %d H264 NAL units (len=%d)", - cnt, payload_len)); -#endif - - } - else if (nal_type == NAL_TYPE_FU_A) - { - /* Fragmentation packet */ - pj_uint8_t *p; - const pj_uint8_t *q = payload; - pj_uint8_t NRI, TYPE, S, E; - - p = bits + *bits_pos; - - /* Validate bitstream length */ - if (bits_len-*bits_pos < payload_len+PJ_ARRAY_SIZE(nal_start_code)) { - /* Insufficient bistream buffer, drop this packet */ - pj_assert(!"Insufficient H.263 bitstream buffer"); - pktz->unpack_prev_lost = PJ_TRUE; - return PJ_ETOOSMALL; - } - - /* Get info */ - S = *(q+1) & 0x80; /* Start bit flag */ - E = *(q+1) & 0x40; /* End bit flag */ - TYPE = *(q+1) & 0x1f; - NRI = (*q & 0x60) >> 5; - - /* Fill bitstream */ - if (S) { - /* This is the first part, write NAL unit start code */ - pj_memcpy(p, &nal_start_code, PJ_ARRAY_SIZE(nal_start_code)); - p += PJ_ARRAY_SIZE(nal_start_code); - - /* Write NAL unit octet */ - *p++ = (NRI << 5) | TYPE; - } else if (pktz->unpack_prev_lost) { - /* If prev packet was lost, revert the bitstream pointer to - * the last sync point. - */ - pj_assert(pktz->unpack_last_sync_pos <= *bits_pos); - *bits_pos = pktz->unpack_last_sync_pos; - /* And discard this payload (and the following fragmentation - * payloads carrying this same NAL unit. - */ - return PJ_EIGNORED; - } - q += 2; - - /* Write NAL unit */ - pj_memcpy(p, q, payload_len - 2); - p += (payload_len - 2); - - /* Update the bitstream writing offset */ - *bits_pos = p - bits; - if (E) { - /* Update the sync pos only if the end bit flag is set */ - pktz->unpack_last_sync_pos = *bits_pos; - } - -#if DBG_UNPACKETIZE - PJ_LOG(3, ("h264unpack", "Unpacked fragmented H264 NAL unit " - "(type=%d, NRI=%d, len=%d)", - TYPE, NRI, payload_len)); -#endif - - } else { - *bits_pos = 0; - return PJ_ENOTSUP; - } - - pktz->unpack_prev_lost = PJ_FALSE; - - return PJ_SUCCESS; -} - - -#endif /* PJMEDIA_HAS_VIDEO */ diff --git a/res/pjproject/pjmedia/src/pjmedia-codec/ilbc.c b/res/pjproject/pjmedia/src/pjmedia-codec/ilbc.c deleted file mode 100644 index c595477ff6..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-codec/ilbc.c +++ /dev/null @@ -1,883 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#if defined(PJMEDIA_ILBC_CODEC_USE_COREAUDIO)&& PJMEDIA_ILBC_CODEC_USE_COREAUDIO - #include - #define iLBC_Enc_Inst_t AudioConverterRef - #define iLBC_Dec_Inst_t AudioConverterRef - #define BLOCKL_MAX 1 -#else - #include "../../third_party/ilbc/iLBC_encode.h" - #include "../../third_party/ilbc/iLBC_decode.h" -#endif - -/* - * Only build this file if PJMEDIA_HAS_ILBC_CODEC != 0 - */ -#if defined(PJMEDIA_HAS_ILBC_CODEC) && PJMEDIA_HAS_ILBC_CODEC != 0 - - -#define THIS_FILE "ilbc.c" -#define CLOCK_RATE 8000 -#define DEFAULT_MODE 30 - - -/* Prototypes for iLBC factory */ -static pj_status_t ilbc_test_alloc(pjmedia_codec_factory *factory, - const pjmedia_codec_info *id ); -static pj_status_t ilbc_default_attr(pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ); -static pj_status_t ilbc_enum_codecs(pjmedia_codec_factory *factory, - unsigned *count, - pjmedia_codec_info codecs[]); -static pj_status_t ilbc_alloc_codec(pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec **p_codec); -static pj_status_t ilbc_dealloc_codec(pjmedia_codec_factory *factory, - pjmedia_codec *codec ); - -/* Prototypes for iLBC implementation. */ -static pj_status_t ilbc_codec_init(pjmedia_codec *codec, - pj_pool_t *pool ); -static pj_status_t ilbc_codec_open(pjmedia_codec *codec, - pjmedia_codec_param *attr ); -static pj_status_t ilbc_codec_close(pjmedia_codec *codec ); -static pj_status_t ilbc_codec_modify(pjmedia_codec *codec, - const pjmedia_codec_param *attr ); -static pj_status_t ilbc_codec_parse(pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *ts, - unsigned *frame_cnt, - pjmedia_frame frames[]); -static pj_status_t ilbc_codec_encode(pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output); -static pj_status_t ilbc_codec_decode(pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output); -static pj_status_t ilbc_codec_recover(pjmedia_codec *codec, - unsigned output_buf_len, - struct pjmedia_frame *output); - -/* Definition for iLBC codec operations. */ -static pjmedia_codec_op ilbc_op = -{ - &ilbc_codec_init, - &ilbc_codec_open, - &ilbc_codec_close, - &ilbc_codec_modify, - &ilbc_codec_parse, - &ilbc_codec_encode, - &ilbc_codec_decode, - &ilbc_codec_recover -}; - -/* Definition for iLBC codec factory operations. */ -static pjmedia_codec_factory_op ilbc_factory_op = -{ - &ilbc_test_alloc, - &ilbc_default_attr, - &ilbc_enum_codecs, - &ilbc_alloc_codec, - &ilbc_dealloc_codec, - &pjmedia_codec_ilbc_deinit -}; - -/* iLBC factory */ -static struct ilbc_factory -{ - pjmedia_codec_factory base; - pjmedia_endpt *endpt; - - int mode; - int bps; -} ilbc_factory; - - -/* iLBC codec private data. */ -struct ilbc_codec -{ - pjmedia_codec base; - pj_pool_t *pool; - char obj_name[PJ_MAX_OBJ_NAME]; - pjmedia_silence_det *vad; - pj_bool_t vad_enabled; - pj_bool_t plc_enabled; - pj_timestamp last_tx; - - - pj_bool_t enc_ready; - iLBC_Enc_Inst_t enc; - unsigned enc_frame_size; - unsigned enc_samples_per_frame; - float enc_block[BLOCKL_MAX]; - - pj_bool_t dec_ready; - iLBC_Dec_Inst_t dec; - unsigned dec_frame_size; - unsigned dec_samples_per_frame; - float dec_block[BLOCKL_MAX]; - -#if defined(PJMEDIA_ILBC_CODEC_USE_COREAUDIO)&& PJMEDIA_ILBC_CODEC_USE_COREAUDIO - unsigned enc_total_packets; - char *enc_buffer; - unsigned enc_buffer_offset; - - unsigned dec_total_packets; - char *dec_buffer; - unsigned dec_buffer_offset; -#endif -}; - -static pj_str_t STR_MODE = {"mode", 4}; - -/* - * Initialize and register iLBC codec factory to pjmedia endpoint. - */ -PJ_DEF(pj_status_t) pjmedia_codec_ilbc_init( pjmedia_endpt *endpt, - int mode ) -{ - pjmedia_codec_mgr *codec_mgr; - pj_status_t status; - - PJ_ASSERT_RETURN(endpt != NULL, PJ_EINVAL); - PJ_ASSERT_RETURN(mode==0 || mode==20 || mode==30, PJ_EINVAL); - - /* Create iLBC codec factory. */ - ilbc_factory.base.op = &ilbc_factory_op; - ilbc_factory.base.factory_data = NULL; - ilbc_factory.endpt = endpt; - - if (mode == 0) - mode = DEFAULT_MODE; - - ilbc_factory.mode = mode; - - if (mode == 20) { - ilbc_factory.bps = 15200; - } else { - ilbc_factory.bps = 13333; - } - - /* Get the codec manager. */ - codec_mgr = pjmedia_endpt_get_codec_mgr(endpt); - if (!codec_mgr) - return PJ_EINVALIDOP; - - /* Register codec factory to endpoint. */ - status = pjmedia_codec_mgr_register_factory(codec_mgr, - &ilbc_factory.base); - if (status != PJ_SUCCESS) - return status; - - - /* Done. */ - return PJ_SUCCESS; -} - - - -/* - * Unregister iLBC codec factory from pjmedia endpoint and deinitialize - * the iLBC codec library. - */ -PJ_DEF(pj_status_t) pjmedia_codec_ilbc_deinit(void) -{ - pjmedia_codec_mgr *codec_mgr; - pj_status_t status; - - - /* Get the codec manager. */ - codec_mgr = pjmedia_endpt_get_codec_mgr(ilbc_factory.endpt); - if (!codec_mgr) - return PJ_EINVALIDOP; - - /* Unregister iLBC codec factory. */ - status = pjmedia_codec_mgr_unregister_factory(codec_mgr, - &ilbc_factory.base); - - return status; -} - -/* - * Check if factory can allocate the specified codec. - */ -static pj_status_t ilbc_test_alloc( pjmedia_codec_factory *factory, - const pjmedia_codec_info *info ) -{ - const pj_str_t ilbc_tag = { "iLBC", 4}; - - PJ_UNUSED_ARG(factory); - PJ_ASSERT_RETURN(factory==&ilbc_factory.base, PJ_EINVAL); - - - /* Type MUST be audio. */ - if (info->type != PJMEDIA_TYPE_AUDIO) - return PJMEDIA_CODEC_EUNSUP; - - /* Check encoding name. */ - if (pj_stricmp(&info->encoding_name, &ilbc_tag) != 0) - return PJMEDIA_CODEC_EUNSUP; - - /* Check clock-rate */ - if (info->clock_rate != CLOCK_RATE) - return PJMEDIA_CODEC_EUNSUP; - - /* Channel count must be one */ - if (info->channel_cnt != 1) - return PJMEDIA_CODEC_EUNSUP; - - /* Yes, this should be iLBC! */ - return PJ_SUCCESS; -} - - -/* - * Generate default attribute. - */ -static pj_status_t ilbc_default_attr (pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ) -{ - PJ_UNUSED_ARG(factory); - PJ_ASSERT_RETURN(factory==&ilbc_factory.base, PJ_EINVAL); - - PJ_UNUSED_ARG(id); - PJ_ASSERT_RETURN(pj_stricmp2(&id->encoding_name, "iLBC")==0, PJ_EINVAL); - - pj_bzero(attr, sizeof(pjmedia_codec_param)); - - attr->info.clock_rate = CLOCK_RATE; - attr->info.channel_cnt = 1; - attr->info.avg_bps = ilbc_factory.bps; - attr->info.max_bps = 15200; - attr->info.pcm_bits_per_sample = 16; - attr->info.frm_ptime = (short)ilbc_factory.mode; - attr->info.pt = PJMEDIA_RTP_PT_ILBC; - - attr->setting.frm_per_pkt = 1; - attr->setting.vad = 1; - attr->setting.plc = 1; - attr->setting.penh = 1; - attr->setting.dec_fmtp.cnt = 1; - attr->setting.dec_fmtp.param[0].name = STR_MODE; - if (ilbc_factory.mode == 30) - attr->setting.dec_fmtp.param[0].val = pj_str("30"); - else - attr->setting.dec_fmtp.param[0].val = pj_str("20"); - - return PJ_SUCCESS; -} - -/* - * Enum codecs supported by this factory (i.e. only iLBC!). - */ -static pj_status_t ilbc_enum_codecs(pjmedia_codec_factory *factory, - unsigned *count, - pjmedia_codec_info codecs[]) -{ - PJ_UNUSED_ARG(factory); - PJ_ASSERT_RETURN(factory==&ilbc_factory.base, PJ_EINVAL); - - PJ_ASSERT_RETURN(codecs && *count > 0, PJ_EINVAL); - - pj_bzero(&codecs[0], sizeof(pjmedia_codec_info)); - - codecs[0].encoding_name = pj_str("iLBC"); - codecs[0].pt = PJMEDIA_RTP_PT_ILBC; - codecs[0].type = PJMEDIA_TYPE_AUDIO; - codecs[0].clock_rate = 8000; - codecs[0].channel_cnt = 1; - - *count = 1; - - return PJ_SUCCESS; -} - -/* - * Allocate a new iLBC codec instance. - */ -static pj_status_t ilbc_alloc_codec(pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec **p_codec) -{ - pj_pool_t *pool; - struct ilbc_codec *codec; - - PJ_ASSERT_RETURN(factory && id && p_codec, PJ_EINVAL); - PJ_ASSERT_RETURN(factory == &ilbc_factory.base, PJ_EINVAL); - - pool = pjmedia_endpt_create_pool(ilbc_factory.endpt, "iLBC%p", - 2000, 2000); - PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); - - codec = PJ_POOL_ZALLOC_T(pool, struct ilbc_codec); - codec->base.op = &ilbc_op; - codec->base.factory = factory; - codec->pool = pool; - - pj_ansi_snprintf(codec->obj_name, sizeof(codec->obj_name), - "ilbc%p", codec); - - *p_codec = &codec->base; - return PJ_SUCCESS; -} - - -/* - * Free codec. - */ -static pj_status_t ilbc_dealloc_codec( pjmedia_codec_factory *factory, - pjmedia_codec *codec ) -{ - struct ilbc_codec *ilbc_codec; - - PJ_ASSERT_RETURN(factory && codec, PJ_EINVAL); - PJ_UNUSED_ARG(factory); - PJ_ASSERT_RETURN(factory == &ilbc_factory.base, PJ_EINVAL); - - ilbc_codec = (struct ilbc_codec*) codec; - -#if defined(PJMEDIA_ILBC_CODEC_USE_COREAUDIO)&& PJMEDIA_ILBC_CODEC_USE_COREAUDIO - if (ilbc_codec->enc) { - AudioConverterDispose(ilbc_codec->enc); - ilbc_codec->enc = NULL; - } - if (ilbc_codec->dec) { - AudioConverterDispose(ilbc_codec->dec); - ilbc_codec->dec = NULL; - } -#endif - - pj_pool_release(ilbc_codec->pool); - - return PJ_SUCCESS; -} - -/* - * Init codec. - */ -static pj_status_t ilbc_codec_init(pjmedia_codec *codec, - pj_pool_t *pool ) -{ - PJ_UNUSED_ARG(codec); - PJ_UNUSED_ARG(pool); - return PJ_SUCCESS; -} - -/* - * Open codec. - */ -static pj_status_t ilbc_codec_open(pjmedia_codec *codec, - pjmedia_codec_param *attr ) -{ - struct ilbc_codec *ilbc_codec = (struct ilbc_codec*)codec; - pj_status_t status; - unsigned i; - pj_uint16_t dec_fmtp_mode = DEFAULT_MODE, - enc_fmtp_mode = DEFAULT_MODE; - -#if defined(PJMEDIA_ILBC_CODEC_USE_COREAUDIO)&& PJMEDIA_ILBC_CODEC_USE_COREAUDIO - AudioStreamBasicDescription srcFormat, dstFormat; - UInt32 size; - - srcFormat.mSampleRate = attr->info.clock_rate; - srcFormat.mFormatID = kAudioFormatLinearPCM; - srcFormat.mFormatFlags = kLinearPCMFormatFlagIsSignedInteger - | kLinearPCMFormatFlagIsPacked; - srcFormat.mBitsPerChannel = attr->info.pcm_bits_per_sample; - srcFormat.mChannelsPerFrame = attr->info.channel_cnt; - srcFormat.mBytesPerFrame = srcFormat.mChannelsPerFrame - * srcFormat.mBitsPerChannel >> 3; - srcFormat.mFramesPerPacket = 1; - srcFormat.mBytesPerPacket = srcFormat.mBytesPerFrame * - srcFormat.mFramesPerPacket; - - memset(&dstFormat, 0, sizeof(dstFormat)); - dstFormat.mSampleRate = attr->info.clock_rate; - dstFormat.mFormatID = kAudioFormatiLBC; - dstFormat.mChannelsPerFrame = attr->info.channel_cnt; -#endif - - pj_assert(ilbc_codec != NULL); - pj_assert(ilbc_codec->enc_ready == PJ_FALSE && - ilbc_codec->dec_ready == PJ_FALSE); - - /* Get decoder mode */ - for (i = 0; i < attr->setting.dec_fmtp.cnt; ++i) { - if (pj_stricmp(&attr->setting.dec_fmtp.param[i].name, &STR_MODE) == 0) - { - dec_fmtp_mode = (pj_uint16_t) - pj_strtoul(&attr->setting.dec_fmtp.param[i].val); - break; - } - } - - /* Decoder mode must be set */ - PJ_ASSERT_RETURN(dec_fmtp_mode == 20 || dec_fmtp_mode == 30, - PJMEDIA_CODEC_EINMODE); - - /* Get encoder mode */ - for (i = 0; i < attr->setting.enc_fmtp.cnt; ++i) { - if (pj_stricmp(&attr->setting.enc_fmtp.param[i].name, &STR_MODE) == 0) - { - enc_fmtp_mode = (pj_uint16_t) - pj_strtoul(&attr->setting.enc_fmtp.param[i].val); - break; - } - } - - PJ_ASSERT_RETURN(enc_fmtp_mode==20 || enc_fmtp_mode==30, - PJMEDIA_CODEC_EINMODE); - - /* Both sides of a bi-directional session MUST use the same "mode" value. - * In this point, possible values are only 20 or 30, so when encoder and - * decoder modes are not same, just use the default mode, it is 30. - */ - if (enc_fmtp_mode != dec_fmtp_mode) { - enc_fmtp_mode = dec_fmtp_mode = DEFAULT_MODE; - PJ_LOG(4,(ilbc_codec->obj_name, - "Normalized iLBC encoder and decoder modes to %d", - DEFAULT_MODE)); - } - - /* Update some attributes based on negotiated mode. */ - attr->info.avg_bps = (dec_fmtp_mode == 30? 13333 : 15200); - attr->info.frm_ptime = dec_fmtp_mode; - - /* Create encoder */ -#if defined(PJMEDIA_ILBC_CODEC_USE_COREAUDIO)&& PJMEDIA_ILBC_CODEC_USE_COREAUDIO - dstFormat.mFramesPerPacket = CLOCK_RATE * enc_fmtp_mode / 1000; - dstFormat.mBytesPerPacket = (enc_fmtp_mode == 20? 38 : 50); - - /* Use AudioFormat API to fill out the rest of the description */ - size = sizeof(dstFormat); - AudioFormatGetProperty(kAudioFormatProperty_FormatInfo, - 0, NULL, &size, &dstFormat); - - if (AudioConverterNew(&srcFormat, &dstFormat, &ilbc_codec->enc) != noErr) - return PJMEDIA_CODEC_EFAILED; - ilbc_codec->enc_frame_size = (enc_fmtp_mode == 20? 38 : 50); -#else - ilbc_codec->enc_frame_size = initEncode(&ilbc_codec->enc, enc_fmtp_mode); -#endif - ilbc_codec->enc_samples_per_frame = CLOCK_RATE * enc_fmtp_mode / 1000; - ilbc_codec->enc_ready = PJ_TRUE; - - /* Create decoder */ -#if defined(PJMEDIA_ILBC_CODEC_USE_COREAUDIO)&& PJMEDIA_ILBC_CODEC_USE_COREAUDIO - if (AudioConverterNew(&dstFormat, &srcFormat, &ilbc_codec->dec) != noErr) - return PJMEDIA_CODEC_EFAILED; - ilbc_codec->dec_samples_per_frame = CLOCK_RATE * dec_fmtp_mode / 1000; -#else - ilbc_codec->dec_samples_per_frame = initDecode(&ilbc_codec->dec, - dec_fmtp_mode, - attr->setting.penh); -#endif - ilbc_codec->dec_frame_size = (dec_fmtp_mode == 20? 38 : 50); - ilbc_codec->dec_ready = PJ_TRUE; - - /* Save plc flags */ - ilbc_codec->plc_enabled = (attr->setting.plc != 0); - - /* Create silence detector. */ - ilbc_codec->vad_enabled = (attr->setting.vad != 0); - status = pjmedia_silence_det_create(ilbc_codec->pool, CLOCK_RATE, - ilbc_codec->enc_samples_per_frame, - &ilbc_codec->vad); - if (status != PJ_SUCCESS) - return status; - - /* Init last_tx (not necessary because of zalloc, but better - * be safe in case someone remove zalloc later. - */ - pj_set_timestamp32(&ilbc_codec->last_tx, 0, 0); - - PJ_LOG(5,(ilbc_codec->obj_name, - "iLBC codec opened, mode=%d", dec_fmtp_mode)); - - return PJ_SUCCESS; -} - - -/* - * Close codec. - */ -static pj_status_t ilbc_codec_close( pjmedia_codec *codec ) -{ - struct ilbc_codec *ilbc_codec = (struct ilbc_codec*)codec; - - PJ_UNUSED_ARG(codec); - - PJ_LOG(5,(ilbc_codec->obj_name, "iLBC codec closed")); - - return PJ_SUCCESS; -} - -/* - * Modify codec settings. - */ -static pj_status_t ilbc_codec_modify(pjmedia_codec *codec, - const pjmedia_codec_param *attr ) -{ - struct ilbc_codec *ilbc_codec = (struct ilbc_codec*)codec; - - ilbc_codec->plc_enabled = (attr->setting.plc != 0); - ilbc_codec->vad_enabled = (attr->setting.vad != 0); - - return PJ_SUCCESS; -} - -/* - * Get frames in the packet. - */ -static pj_status_t ilbc_codec_parse( pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *ts, - unsigned *frame_cnt, - pjmedia_frame frames[]) -{ - struct ilbc_codec *ilbc_codec = (struct ilbc_codec*)codec; - unsigned count; - - PJ_ASSERT_RETURN(frame_cnt, PJ_EINVAL); - - count = 0; - while (pkt_size >= ilbc_codec->dec_frame_size && count < *frame_cnt) { - frames[count].type = PJMEDIA_FRAME_TYPE_AUDIO; - frames[count].buf = pkt; - frames[count].size = ilbc_codec->dec_frame_size; - frames[count].timestamp.u64 = ts->u64 + count * - ilbc_codec->dec_samples_per_frame; - - pkt = ((char*)pkt) + ilbc_codec->dec_frame_size; - pkt_size -= ilbc_codec->dec_frame_size; - - ++count; - } - - *frame_cnt = count; - return PJ_SUCCESS; -} - -#if defined(PJMEDIA_ILBC_CODEC_USE_COREAUDIO)&& PJMEDIA_ILBC_CODEC_USE_COREAUDIO -static OSStatus encodeDataProc ( - AudioConverterRef inAudioConverter, - UInt32 *ioNumberDataPackets, - AudioBufferList *ioData, - AudioStreamPacketDescription **outDataPacketDescription, - void *inUserData -) -{ - struct ilbc_codec *ilbc_codec = (struct ilbc_codec*)inUserData; - - /* Initialize in case of failure */ - ioData->mBuffers[0].mData = NULL; - ioData->mBuffers[0].mDataByteSize = 0; - - if (ilbc_codec->enc_total_packets < *ioNumberDataPackets) { - *ioNumberDataPackets = ilbc_codec->enc_total_packets; - } - - if (*ioNumberDataPackets) { - ioData->mBuffers[0].mData = ilbc_codec->enc_buffer + - ilbc_codec->enc_buffer_offset; - ioData->mBuffers[0].mDataByteSize = *ioNumberDataPackets * - ilbc_codec->enc_samples_per_frame - << 1; - ilbc_codec->enc_buffer_offset += ioData->mBuffers[0].mDataByteSize; - } - - ilbc_codec->enc_total_packets -= *ioNumberDataPackets; - return noErr; -} - -static OSStatus decodeDataProc ( - AudioConverterRef inAudioConverter, - UInt32 *ioNumberDataPackets, - AudioBufferList *ioData, - AudioStreamPacketDescription **outDataPacketDescription, - void *inUserData -) -{ - struct ilbc_codec *ilbc_codec = (struct ilbc_codec*)inUserData; - - /* Initialize in case of failure */ - ioData->mBuffers[0].mData = NULL; - ioData->mBuffers[0].mDataByteSize = 0; - - if (ilbc_codec->dec_total_packets < *ioNumberDataPackets) { - *ioNumberDataPackets = ilbc_codec->dec_total_packets; - } - - if (*ioNumberDataPackets) { - ioData->mBuffers[0].mData = ilbc_codec->dec_buffer + - ilbc_codec->dec_buffer_offset; - ioData->mBuffers[0].mDataByteSize = *ioNumberDataPackets * - ilbc_codec->dec_frame_size; - ilbc_codec->dec_buffer_offset += ioData->mBuffers[0].mDataByteSize; - } - - ilbc_codec->dec_total_packets -= *ioNumberDataPackets; - return noErr; -} -#endif - -/* - * Encode frame. - */ -static pj_status_t ilbc_codec_encode(pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - struct ilbc_codec *ilbc_codec = (struct ilbc_codec*)codec; - pj_int16_t *pcm_in; - unsigned nsamples; -#if defined(PJMEDIA_ILBC_CODEC_USE_COREAUDIO)&& PJMEDIA_ILBC_CODEC_USE_COREAUDIO - UInt32 npackets; - OSStatus err; - AudioBufferList theABL; -#endif - - pj_assert(ilbc_codec && input && output); - - pcm_in = (pj_int16_t*)input->buf; - nsamples = input->size >> 1; - - PJ_ASSERT_RETURN(nsamples % ilbc_codec->enc_samples_per_frame == 0, - PJMEDIA_CODEC_EPCMFRMINLEN); - PJ_ASSERT_RETURN(output_buf_len >= ilbc_codec->enc_frame_size * nsamples / - ilbc_codec->enc_samples_per_frame, - PJMEDIA_CODEC_EFRMTOOSHORT); - - /* Detect silence */ - if (ilbc_codec->vad_enabled) { - pj_bool_t is_silence; - pj_int32_t silence_period; - - silence_period = pj_timestamp_diff32(&ilbc_codec->last_tx, - &input->timestamp); - - is_silence = pjmedia_silence_det_detect(ilbc_codec->vad, - (const pj_int16_t*)input->buf, - (input->size >> 1), - NULL); - if (is_silence && - (PJMEDIA_CODEC_MAX_SILENCE_PERIOD == -1 || - silence_period < PJMEDIA_CODEC_MAX_SILENCE_PERIOD*8000/1000)) - { - output->type = PJMEDIA_FRAME_TYPE_NONE; - output->buf = NULL; - output->size = 0; - output->timestamp = input->timestamp; - return PJ_SUCCESS; - } else { - ilbc_codec->last_tx = input->timestamp; - } - } - - /* Encode */ - output->size = 0; -#if defined(PJMEDIA_ILBC_CODEC_USE_COREAUDIO)&& PJMEDIA_ILBC_CODEC_USE_COREAUDIO - npackets = nsamples / ilbc_codec->enc_samples_per_frame; - - theABL.mNumberBuffers = 1; - theABL.mBuffers[0].mNumberChannels = 1; - theABL.mBuffers[0].mDataByteSize = output_buf_len; - theABL.mBuffers[0].mData = output->buf; - - ilbc_codec->enc_total_packets = npackets; - ilbc_codec->enc_buffer = (char *)input->buf; - ilbc_codec->enc_buffer_offset = 0; - - err = AudioConverterFillComplexBuffer(ilbc_codec->enc, encodeDataProc, - ilbc_codec, &npackets, - &theABL, NULL); - if (err == noErr) { - output->size = npackets * ilbc_codec->enc_frame_size; - } -#else - while (nsamples >= ilbc_codec->enc_samples_per_frame) { - unsigned i; - - /* Convert to float */ - for (i=0; ienc_samples_per_frame; ++i) { - ilbc_codec->enc_block[i] = (float) (*pcm_in++); - } - - iLBC_encode((unsigned char *)output->buf + output->size, - ilbc_codec->enc_block, - &ilbc_codec->enc); - - output->size += ilbc_codec->enc.no_of_bytes; - nsamples -= ilbc_codec->enc_samples_per_frame; - } -#endif - - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->timestamp = input->timestamp; - - return PJ_SUCCESS; -} - -/* - * Decode frame. - */ -static pj_status_t ilbc_codec_decode(pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - struct ilbc_codec *ilbc_codec = (struct ilbc_codec*)codec; -#if defined(PJMEDIA_ILBC_CODEC_USE_COREAUDIO)&& PJMEDIA_ILBC_CODEC_USE_COREAUDIO - UInt32 npackets; - OSStatus err; - AudioBufferList theABL; -#else - unsigned i; -#endif - - pj_assert(ilbc_codec != NULL); - PJ_ASSERT_RETURN(input && output, PJ_EINVAL); - - if (output_buf_len < (ilbc_codec->dec_samples_per_frame << 1)) - return PJMEDIA_CODEC_EPCMTOOSHORT; - - if (input->size != ilbc_codec->dec_frame_size) - return PJMEDIA_CODEC_EFRMINLEN; - - /* Decode to temporary buffer */ -#if defined(PJMEDIA_ILBC_CODEC_USE_COREAUDIO)&& PJMEDIA_ILBC_CODEC_USE_COREAUDIO - npackets = input->size / ilbc_codec->dec_frame_size * - ilbc_codec->dec_samples_per_frame; - - theABL.mNumberBuffers = 1; - theABL.mBuffers[0].mNumberChannels = 1; - theABL.mBuffers[0].mDataByteSize = output_buf_len; - theABL.mBuffers[0].mData = output->buf; - - ilbc_codec->dec_total_packets = npackets; - ilbc_codec->dec_buffer = (char *)input->buf; - ilbc_codec->dec_buffer_offset = 0; - - err = AudioConverterFillComplexBuffer(ilbc_codec->dec, decodeDataProc, - ilbc_codec, &npackets, - &theABL, NULL); - if (err == noErr) { - output->size = npackets * (ilbc_codec->dec_samples_per_frame << 1); - } -#else - iLBC_decode(ilbc_codec->dec_block, (unsigned char*) input->buf, - &ilbc_codec->dec, 1); - - /* Convert decodec samples from float to short */ - for (i=0; idec_samples_per_frame; ++i) { - ((short*)output->buf)[i] = (short)ilbc_codec->dec_block[i]; - } - output->size = (ilbc_codec->dec_samples_per_frame << 1); -#endif - - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->timestamp = input->timestamp; - - return PJ_SUCCESS; -} - - -/* - * Recover lost frame. - */ -static pj_status_t ilbc_codec_recover(pjmedia_codec *codec, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - struct ilbc_codec *ilbc_codec = (struct ilbc_codec*)codec; -#if defined(PJMEDIA_ILBC_CODEC_USE_COREAUDIO)&& PJMEDIA_ILBC_CODEC_USE_COREAUDIO - UInt32 npackets; - OSStatus err; - AudioBufferList theABL; -#else - unsigned i; -#endif - - pj_assert(ilbc_codec != NULL); - PJ_ASSERT_RETURN(output, PJ_EINVAL); - - if (output_buf_len < (ilbc_codec->dec_samples_per_frame << 1)) - return PJMEDIA_CODEC_EPCMTOOSHORT; - - /* Decode to temporary buffer */ -#if defined(PJMEDIA_ILBC_CODEC_USE_COREAUDIO)&& PJMEDIA_ILBC_CODEC_USE_COREAUDIO - npackets = 1; - - theABL.mNumberBuffers = 1; - theABL.mBuffers[0].mNumberChannels = 1; - theABL.mBuffers[0].mDataByteSize = output_buf_len; - theABL.mBuffers[0].mData = output->buf; - - ilbc_codec->dec_total_packets = npackets; - ilbc_codec->dec_buffer_offset = 0; - if (ilbc_codec->dec_buffer) { - err = AudioConverterFillComplexBuffer(ilbc_codec->dec, decodeDataProc, - ilbc_codec, &npackets, - &theABL, NULL); - if (err == noErr) { - output->size = npackets * - (ilbc_codec->dec_samples_per_frame << 1); - } - } else { - output->size = npackets * (ilbc_codec->dec_samples_per_frame << 1); - pj_bzero(output->buf, output->size); - } -#else - iLBC_decode(ilbc_codec->dec_block, NULL, &ilbc_codec->dec, 0); - - /* Convert decodec samples from float to short */ - for (i=0; idec_samples_per_frame; ++i) { - ((short*)output->buf)[i] = (short)ilbc_codec->dec_block[i]; - } - output->size = (ilbc_codec->dec_samples_per_frame << 1); -#endif - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - - return PJ_SUCCESS; -} - - -#endif /* PJMEDIA_HAS_ILBC_CODEC */ diff --git a/res/pjproject/pjmedia/src/pjmedia-codec/ipp_codecs.c b/res/pjproject/pjmedia/src/pjmedia-codec/ipp_codecs.c deleted file mode 100644 index d7b3344b64..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-codec/ipp_codecs.c +++ /dev/null @@ -1,1680 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -/* - * Only build this file if PJMEDIA_HAS_INTEL_IPP != 0 - */ -#if defined(PJMEDIA_HAS_INTEL_IPP) && PJMEDIA_HAS_INTEL_IPP != 0 - -#include -#include - -#define THIS_FILE "ipp_codecs.c" - - -/* Prototypes for IPP codecs factory */ -static pj_status_t ipp_test_alloc( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id ); -static pj_status_t ipp_default_attr( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ); -static pj_status_t ipp_enum_codecs( pjmedia_codec_factory *factory, - unsigned *count, - pjmedia_codec_info codecs[]); -static pj_status_t ipp_alloc_codec( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec **p_codec); -static pj_status_t ipp_dealloc_codec( pjmedia_codec_factory *factory, - pjmedia_codec *codec ); - -/* Prototypes for IPP codecs implementation. */ -static pj_status_t ipp_codec_init( pjmedia_codec *codec, - pj_pool_t *pool ); -static pj_status_t ipp_codec_open( pjmedia_codec *codec, - pjmedia_codec_param *attr ); -static pj_status_t ipp_codec_close( pjmedia_codec *codec ); -static pj_status_t ipp_codec_modify(pjmedia_codec *codec, - const pjmedia_codec_param *attr ); -static pj_status_t ipp_codec_parse( pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *ts, - unsigned *frame_cnt, - pjmedia_frame frames[]); -static pj_status_t ipp_codec_encode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output); -static pj_status_t ipp_codec_decode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output); -static pj_status_t ipp_codec_recover(pjmedia_codec *codec, - unsigned output_buf_len, - struct pjmedia_frame *output); - -/* Definition for IPP codecs operations. */ -static pjmedia_codec_op ipp_op = -{ - &ipp_codec_init, - &ipp_codec_open, - &ipp_codec_close, - &ipp_codec_modify, - &ipp_codec_parse, - &ipp_codec_encode, - &ipp_codec_decode, - &ipp_codec_recover -}; - -/* Definition for IPP codecs factory operations. */ -static pjmedia_codec_factory_op ipp_factory_op = -{ - &ipp_test_alloc, - &ipp_default_attr, - &ipp_enum_codecs, - &ipp_alloc_codec, - &ipp_dealloc_codec, - &pjmedia_codec_ipp_deinit -}; - -/* IPP codecs factory */ -static struct ipp_factory { - pjmedia_codec_factory base; - pjmedia_endpt *endpt; - pj_pool_t *pool; - pj_mutex_t *mutex; - unsigned g7221_pcm_shift; -} ipp_factory; - -/* IPP codecs private data. */ -typedef struct ipp_private { - int codec_idx; /**< Codec index. */ - void *codec_setting; /**< Specific codec setting. */ - pj_pool_t *pool; /**< Pool for each instance. */ - - USC_Handle enc; /**< Encoder state. */ - USC_Handle dec; /**< Decoder state. */ - USC_CodecInfo *info; /**< Native codec info. */ - pj_uint16_t frame_size; /**< Bitstream frame size. */ - - pj_bool_t plc_enabled; /**< PLC enabled flag. */ - pjmedia_plc *plc; /**< PJMEDIA PLC engine, NULL if - codec has internal PLC. */ - - pj_bool_t vad_enabled; /**< VAD enabled flag. */ - pjmedia_silence_det *vad; /**< PJMEDIA VAD engine, NULL if - codec has internal VAD. */ - pj_timestamp last_tx; /**< Timestamp of last transmit.*/ - - unsigned g7221_pcm_shift; /**< G722.1 PCM level adjustment*/ -} ipp_private_t; - - -/* USC codec implementations. */ -extern USC_Fxns USC_G729AFP_Fxns; -extern USC_Fxns USC_G729I_Fxns; -extern USC_Fxns USC_G723_Fxns; -extern USC_Fxns USC_G726_Fxns; -extern USC_Fxns USC_G728_Fxns; -extern USC_Fxns USC_G722_Fxns; -extern USC_Fxns USC_GSMAMR_Fxns; -extern USC_Fxns USC_AMRWB_Fxns; -extern USC_Fxns USC_AMRWBE_Fxns; - - -/* CUSTOM CALLBACKS */ - -/* This callback is useful for translating RTP frame into USC frame, e.g: - * reassigning frame attributes, reorder bitstream. Default behaviour of - * the translation is just setting the USC frame buffer & its size as - * specified in RTP frame, setting USC frame frametype to 0, setting bitrate - * of USC frame to bitrate info of codec_data. Implement this callback when - * the default behaviour is unapplicable. - */ -typedef void (*predecode_cb)(ipp_private_t *codec_data, - const pjmedia_frame *rtp_frame, - USC_Bitstream *usc_frame); - -/* Parse frames from a packet. Default behaviour of frame parsing is - * just separating frames based on calculating frame length derived - * from bitrate. Implement this callback when the default behaviour is - * unapplicable. - */ -typedef pj_status_t (*parse_cb)(ipp_private_t *codec_data, void *pkt, - pj_size_t pkt_size, const pj_timestamp *ts, - unsigned *frame_cnt, pjmedia_frame frames[]); - -/* Pack frames into a packet. Default behaviour of packing frames is - * just stacking the frames with octet aligned without adding any - * payload header. Implement this callback when the default behaviour is - * unapplicable. - */ -typedef pj_status_t (*pack_cb)(ipp_private_t *codec_data, void *pkt, - pj_size_t *pkt_size, pj_size_t max_pkt_size); - - - -/* Custom callback implementations. */ -static void predecode_g723( ipp_private_t *codec_data, - const pjmedia_frame *rtp_frame, - USC_Bitstream *usc_frame); -static pj_status_t parse_g723( ipp_private_t *codec_data, void *pkt, - pj_size_t pkt_size, const pj_timestamp *ts, - unsigned *frame_cnt, pjmedia_frame frames[]); - -static void predecode_g729( ipp_private_t *codec_data, - const pjmedia_frame *rtp_frame, - USC_Bitstream *usc_frame); - -static void predecode_amr( ipp_private_t *codec_data, - const pjmedia_frame *rtp_frame, - USC_Bitstream *usc_frame); -static pj_status_t parse_amr( ipp_private_t *codec_data, void *pkt, - pj_size_t pkt_size, const pj_timestamp *ts, - unsigned *frame_cnt, pjmedia_frame frames[]); -static pj_status_t pack_amr( ipp_private_t *codec_data, void *pkt, - pj_size_t *pkt_size, pj_size_t max_pkt_size); - -static void predecode_g7221( ipp_private_t *codec_data, - const pjmedia_frame *rtp_frame, - USC_Bitstream *usc_frame); -static pj_status_t pack_g7221( ipp_private_t *codec_data, void *pkt, - pj_size_t *pkt_size, pj_size_t max_pkt_size); - -/* IPP codec implementation descriptions. */ -static struct ipp_codec { - int enabled; /* Is this codec enabled? */ - const char *name; /* Codec name. */ - pj_uint8_t pt; /* Payload type. */ - USC_Fxns *fxns; /* USC callback functions. */ - unsigned clock_rate; /* Codec's clock rate. */ - unsigned channel_count; /* Codec's channel count. */ - unsigned samples_per_frame; /* Codec's samples count. */ - - unsigned def_bitrate; /* Default bitrate of this codec. */ - unsigned max_bitrate; /* Maximum bitrate of this codec. */ - pj_uint8_t frm_per_pkt; /* Default num of frames per packet.*/ - int has_native_vad; /* Codec has internal VAD? */ - int has_native_plc; /* Codec has internal PLC? */ - - predecode_cb predecode; /* Callback to translate RTP frame - into USC frame. */ - parse_cb parse; /* Callback to parse bitstream. */ - pack_cb pack; /* Callback to pack bitstream. */ - - pjmedia_codec_fmtp dec_fmtp; /* Decoder's fmtp params. */ -} - -ipp_codec[] = -{ -# if PJMEDIA_HAS_INTEL_IPP_CODEC_AMR - {1, "AMR", PJMEDIA_RTP_PT_AMR, &USC_GSMAMR_Fxns, 8000, 1, 160, - 7400, 12200, 2, 1, 1, - &predecode_amr, &parse_amr, &pack_amr, - {1, {{{"octet-align", 11}, {"1", 1}}} } - }, -# endif - -# if PJMEDIA_HAS_INTEL_IPP_CODEC_AMRWB - {1, "AMR-WB", PJMEDIA_RTP_PT_AMRWB, &USC_AMRWB_Fxns, 16000, 1, 320, - 15850, 23850, 2, 1, 1, - &predecode_amr, &parse_amr, &pack_amr, - {1, {{{"octet-align", 11}, {"1", 1}}} } - }, -# endif - -# if PJMEDIA_HAS_INTEL_IPP_CODEC_G729 -# if defined(PJ_HAS_FLOATING_POINT) && (PJ_HAS_FLOATING_POINT != 0) - {1, "G729", PJMEDIA_RTP_PT_G729, &USC_G729AFP_Fxns, 8000, 1, 80, - 8000, 11800, 2, 1, 1, - &predecode_g729, NULL, NULL - }, -# else - {1, "G729", PJMEDIA_RTP_PT_G729, &USC_G729I_Fxns, 8000, 1, 80, - 8000, 11800, 2, 1, 1, - &predecode_g729, NULL, NULL - }, -# endif -# endif - -# if PJMEDIA_HAS_INTEL_IPP_CODEC_G723_1 - /* This is actually G.723.1 */ - {1, "G723", PJMEDIA_RTP_PT_G723, &USC_G723_Fxns, 8000, 1, 240, - 6300, 6300, 1, 1, 1, - &predecode_g723, &parse_g723, NULL - }, -# endif - -# if PJMEDIA_HAS_INTEL_IPP_CODEC_G726 - {0, "G726-16", PJMEDIA_RTP_PT_G726_16, &USC_G726_Fxns, 8000, 1, 80, - 16000, 16000, 2, 0, 0, - NULL, NULL, NULL - }, - {0, "G726-24", PJMEDIA_RTP_PT_G726_24, &USC_G726_Fxns, 8000, 1, 80, - 24000, 24000, 2, 0, 0, - NULL, NULL, NULL - }, - {1, "G726-32", PJMEDIA_RTP_PT_G726_32, &USC_G726_Fxns, 8000, 1, 80, - 32000, 32000, 2, 0, 0, - NULL, NULL, NULL - }, - {0, "G726-40", PJMEDIA_RTP_PT_G726_40, &USC_G726_Fxns, 8000, 1, 80, - 40000, 40000, 2, 0, 0, - NULL, NULL, NULL - }, - /* Old definition of G726-32 */ - {1, "G721", PJMEDIA_RTP_PT_G721, &USC_G726_Fxns, 8000, 1, 80, - 32000, 32000, 2, 0, 0, - NULL, NULL, NULL - }, -# endif - -# if PJMEDIA_HAS_INTEL_IPP_CODEC_G728 - {1, "G728", PJMEDIA_RTP_PT_G728, &USC_G728_Fxns, 8000, 1, 80, - 16000, 16000, 2, 0, 1, - NULL, NULL, NULL - }, -# endif - -# if PJMEDIA_HAS_INTEL_IPP_CODEC_G722_1 - {0, "G7221", PJMEDIA_RTP_PT_G722_1_16, &USC_G722_Fxns, 16000, 1, 320, - 16000, 16000, 1, 0, 1, - predecode_g7221, NULL, pack_g7221, - {1, {{{"bitrate", 7}, {"16000", 5}}} } - }, - {1, "G7221", PJMEDIA_RTP_PT_G722_1_24, &USC_G722_Fxns, 16000, 1, 320, - 24000, 24000, 1, 0, 1, - predecode_g7221, NULL, pack_g7221, - {1, {{{"bitrate", 7}, {"24000", 5}}} } - }, - {1, "G7221", PJMEDIA_RTP_PT_G722_1_32, &USC_G722_Fxns, 16000, 1, 320, - 32000, 32000, 1, 0, 1, - predecode_g7221, NULL, pack_g7221, - {1, {{{"bitrate", 7}, {"32000", 5}}} } - }, -# endif -}; - - -#if PJMEDIA_HAS_INTEL_IPP_CODEC_G729 - -static void predecode_g729( ipp_private_t *codec_data, - const pjmedia_frame *rtp_frame, - USC_Bitstream *usc_frame) -{ - switch (rtp_frame->size) { - case 2: - /* SID */ - usc_frame->frametype = 1; - usc_frame->bitrate = codec_data->info->params.modes.bitrate; - break; - case 8: - /* G729D */ - usc_frame->frametype = 2; - usc_frame->bitrate = 6400; - break; - case 10: - /* G729 */ - usc_frame->frametype = 3; - usc_frame->bitrate = 8000; - break; - case 15: - /* G729E */ - usc_frame->frametype = 4; - usc_frame->bitrate = 11800; - break; - default: - usc_frame->frametype = 0; - usc_frame->bitrate = 0; - break; - } - - usc_frame->pBuffer = rtp_frame->buf; - usc_frame->nbytes = rtp_frame->size; -} - -#endif /* PJMEDIA_HAS_INTEL_IPP_CODEC_G729 */ - - -#if PJMEDIA_HAS_INTEL_IPP_CODEC_G723_1 - -static void predecode_g723( ipp_private_t *codec_data, - const pjmedia_frame *rtp_frame, - USC_Bitstream *usc_frame) -{ - int i, HDR = 0; - pj_uint8_t *f = (pj_uint8_t*)rtp_frame->buf; - - PJ_UNUSED_ARG(codec_data); - - for (i = 0; i < 2; ++i){ - int tmp; - tmp = (f[0] >> (i & 0x7)) & 1; - HDR += tmp << i ; - } - - usc_frame->pBuffer = rtp_frame->buf; - usc_frame->nbytes = rtp_frame->size; - usc_frame->bitrate = HDR == 0? 6300 : 5300; - usc_frame->frametype = 0; -} - -static pj_status_t parse_g723(ipp_private_t *codec_data, void *pkt, - pj_size_t pkt_size, const pj_timestamp *ts, - unsigned *frame_cnt, pjmedia_frame frames[]) -{ - unsigned count = 0; - pj_uint8_t *f = (pj_uint8_t*)pkt; - - while (pkt_size && count < *frame_cnt) { - int framesize, i, j; - int HDR = 0; - - for (i = 0; i < 2; ++i){ - j = (f[0] >> (i & 0x7)) & 1; - HDR += j << i ; - } - - if (HDR == 0) - framesize = 24; - else if (HDR == 1) - framesize = 20; - else if (HDR == 2) - framesize = 4; - else if (HDR == 3) - framesize = 1; - else { - pj_assert(!"Unknown G723.1 frametype, packet may be corrupted!"); - return PJMEDIA_CODEC_EINMODE; - } - - frames[count].type = PJMEDIA_FRAME_TYPE_AUDIO; - frames[count].buf = f; - frames[count].size = framesize; - frames[count].timestamp.u64 = ts->u64 + count * - ipp_codec[codec_data->codec_idx].samples_per_frame; - - f += framesize; - pkt_size -= framesize; - - ++count; - } - - *frame_cnt = count; - return PJ_SUCCESS; -} - -#endif /* PJMEDIA_HAS_INTEL_IPP_CODEC_G723_1 */ - - -#if PJMEDIA_HAS_INTEL_IPP_CODEC_AMR || PJMEDIA_HAS_INTEL_IPP_CODEC_AMRWB - -#include - -typedef struct amr_settings_t { - pjmedia_codec_amr_pack_setting enc_setting; - pjmedia_codec_amr_pack_setting dec_setting; - pj_int8_t enc_mode; -} amr_settings_t; - - -/* Rearrange AMR bitstream and convert RTP frame into USC frame: - * - make the start_bit to be 0 - * - if it is speech frame, reorder bitstream from sensitivity bits order - * to encoder bits order. - * - set the appropriate value of usc_frame. - */ -static void predecode_amr( ipp_private_t *codec_data, - const pjmedia_frame *rtp_frame, - USC_Bitstream *usc_frame) -{ - pjmedia_frame frame; - pjmedia_codec_amr_bit_info *info; - pjmedia_codec_amr_pack_setting *setting; - - setting = &((amr_settings_t*)codec_data->codec_setting)->dec_setting; - - frame = *rtp_frame; - pjmedia_codec_amr_predecode(rtp_frame, setting, &frame); - info = (pjmedia_codec_amr_bit_info*) &frame.bit_info; - - usc_frame->pBuffer = frame.buf; - usc_frame->nbytes = frame.size; - if (info->mode != -1) { - usc_frame->bitrate = setting->amr_nb? - pjmedia_codec_amrnb_bitrates[info->mode]: - pjmedia_codec_amrwb_bitrates[info->mode]; - } else { - usc_frame->bitrate = 0; - } - - if (frame.size > 5) { - /* Speech */ - if (info->good_quality) - usc_frame->frametype = 0; - else - usc_frame->frametype = setting->amr_nb ? 5 : 6; - } else if (frame.size == 5) { - /* SID */ - if (info->good_quality) { - usc_frame->frametype = info->STI? 2 : 1; - } else { - usc_frame->frametype = setting->amr_nb ? 6 : 7; - } - } else { - /* no data */ - usc_frame->frametype = 3; - } -} - -/* Pack AMR payload */ -static pj_status_t pack_amr(ipp_private_t *codec_data, void *pkt, - pj_size_t *pkt_size, pj_size_t max_pkt_size) -{ - enum {MAX_FRAMES_PER_PACKET = PJMEDIA_MAX_FRAME_DURATION_MS / 20}; - - pjmedia_frame frames[MAX_FRAMES_PER_PACKET]; - unsigned nframes = 0; - pjmedia_codec_amr_bit_info *info; - pj_uint8_t *r; /* Read cursor */ - pj_uint8_t SID_FT; - pjmedia_codec_amr_pack_setting *setting; - const pj_uint8_t *framelen_tbl; - - setting = &((amr_settings_t*)codec_data->codec_setting)->enc_setting; - framelen_tbl = setting->amr_nb? pjmedia_codec_amrnb_framelen: - pjmedia_codec_amrwb_framelen; - - SID_FT = (pj_uint8_t)(setting->amr_nb? 8 : 9); - - /* Align pkt buf right */ - r = (pj_uint8_t*)pkt + max_pkt_size - *pkt_size; - pj_memmove(r, pkt, *pkt_size); - - /* Get frames */ - for (;;) { - pj_bool_t eof; - pj_uint16_t info_; - - info_ = *((pj_uint16_t*)r); - eof = ((info_ & 0x40) != 0); - - info = (pjmedia_codec_amr_bit_info*) &frames[nframes].bit_info; - pj_bzero(info, sizeof(*info)); - info->frame_type = (pj_uint8_t)(info_ & 0x0F); - info->good_quality = (pj_uint8_t)((info_ & 0x80) == 0); - info->mode = (pj_int8_t) ((info_ >> 8) & 0x0F); - info->STI = (pj_uint8_t)((info_ >> 5) & 1); - - frames[nframes].buf = r + 2; - frames[nframes].size = info->frame_type <= SID_FT ? - framelen_tbl[info->frame_type] : 0; - - r += frames[nframes].size + 2; - - /* Last frame */ - if (++nframes >= MAX_FRAMES_PER_PACKET || eof) - break; - } - - /* Pack */ - *pkt_size = max_pkt_size; - return pjmedia_codec_amr_pack(frames, nframes, setting, pkt, pkt_size); -} - - -/* Parse AMR payload into frames. */ -static pj_status_t parse_amr(ipp_private_t *codec_data, void *pkt, - pj_size_t pkt_size, const pj_timestamp *ts, - unsigned *frame_cnt, pjmedia_frame frames[]) -{ - amr_settings_t* s = (amr_settings_t*)codec_data->codec_setting; - pjmedia_codec_amr_pack_setting *setting; - pj_status_t status; - pj_uint8_t cmr; - - setting = &s->dec_setting; - - status = pjmedia_codec_amr_parse(pkt, pkt_size, ts, setting, frames, - frame_cnt, &cmr); - if (status != PJ_SUCCESS) - return status; - - /* Check Change Mode Request. */ - if (((setting->amr_nb && cmr <= 7) || (!setting->amr_nb && cmr <= 8)) && - s->enc_mode != cmr) - { - struct ipp_codec *ippc = &ipp_codec[codec_data->codec_idx]; - - s->enc_mode = cmr; - codec_data->info->params.modes.bitrate = s->enc_setting.amr_nb? - pjmedia_codec_amrnb_bitrates[s->enc_mode] : - pjmedia_codec_amrwb_bitrates[s->enc_mode]; - ippc->fxns->std.Control(&codec_data->info->params.modes, - codec_data->enc); - - PJ_LOG(4,(THIS_FILE, "AMR%s switched encoding mode to: %d (%dbps)", - (s->enc_setting.amr_nb?"":"-WB"), - s->enc_mode, - codec_data->info->params.modes.bitrate)); - } - - return PJ_SUCCESS; -} - -#endif /* PJMEDIA_HAS_INTEL_IPP_CODEC_AMR */ - - -#if PJMEDIA_HAS_INTEL_IPP_CODEC_G722_1 - -static void predecode_g7221( ipp_private_t *codec_data, - const pjmedia_frame *rtp_frame, - USC_Bitstream *usc_frame) -{ - usc_frame->pBuffer = (char*)rtp_frame->buf; - usc_frame->nbytes = rtp_frame->size; - usc_frame->frametype = 0; - usc_frame->bitrate = codec_data->info->params.modes.bitrate; - -#if defined(PJ_IS_LITTLE_ENDIAN) && PJ_IS_LITTLE_ENDIAN!=0 - { - pj_uint16_t *p, *p_end; - - p = (pj_uint16_t*)rtp_frame->buf; - p_end = p + rtp_frame->size/2; - while (p < p_end) { - *p = pj_ntohs(*p); - ++p; - } - } -#endif -} - -static pj_status_t pack_g7221( ipp_private_t *codec_data, void *pkt, - pj_size_t *pkt_size, pj_size_t max_pkt_size) -{ - PJ_UNUSED_ARG(codec_data); - PJ_UNUSED_ARG(max_pkt_size); - -#if defined(PJ_IS_LITTLE_ENDIAN) && PJ_IS_LITTLE_ENDIAN!=0 - { - pj_uint16_t *p, *p_end; - - p = (pj_uint16_t*)pkt; - p_end = p + *pkt_size/2; - while (p < p_end) { - *p = pj_htons(*p); - ++p; - } - } -#else - PJ_UNUSED_ARG(pkt); - PJ_UNUSED_ARG(pkt_size); -#endif - - return PJ_SUCCESS; -} - - -#include - - -PJ_DEF(pj_status_t) pjmedia_codec_g7221_set_pcm_shift(int val) -{ - PJ_ASSERT_RETURN(val >= 0, PJ_EINVAL); - - ipp_factory.g7221_pcm_shift = val; - return PJ_SUCCESS; -} - - -#endif /* PJMEDIA_HAS_INTEL_IPP_CODEC_G722_1 */ - -/* - * Initialize and register IPP codec factory to pjmedia endpoint. - */ -PJ_DEF(pj_status_t) pjmedia_codec_ipp_init( pjmedia_endpt *endpt ) -{ - pjmedia_codec_mgr *codec_mgr; - pj_str_t codec_name; - pj_status_t status; - - if (ipp_factory.pool != NULL) { - /* Already initialized. */ - return PJ_SUCCESS; - } - - /* Create IPP codec factory. */ - ipp_factory.base.op = &ipp_factory_op; - ipp_factory.base.factory_data = NULL; - ipp_factory.endpt = endpt; - ipp_factory.g7221_pcm_shift = PJMEDIA_G7221_DEFAULT_PCM_SHIFT; - - ipp_factory.pool = pjmedia_endpt_create_pool(endpt, "IPP codecs", 4000, 4000); - if (!ipp_factory.pool) - return PJ_ENOMEM; - - /* Create mutex. */ - status = pj_mutex_create_simple(ipp_factory.pool, "IPP codecs", - &ipp_factory.mutex); - if (status != PJ_SUCCESS) - goto on_error; - - /* Get the codec manager. */ - codec_mgr = pjmedia_endpt_get_codec_mgr(endpt); - if (!codec_mgr) { - status = PJ_EINVALIDOP; - goto on_error; - } - - /* Register format match callback. */ -#if PJMEDIA_HAS_INTEL_IPP_CODEC_G722_1 - pj_cstr(&codec_name, "G7221"); - status = pjmedia_sdp_neg_register_fmt_match_cb( - &codec_name, - &pjmedia_codec_g7221_match_sdp); - if (status != PJ_SUCCESS) - goto on_error; -#endif - -#if PJMEDIA_HAS_INTEL_IPP_CODEC_AMR - pj_cstr(&codec_name, "AMR"); - status = pjmedia_sdp_neg_register_fmt_match_cb( - &codec_name, - &pjmedia_codec_amr_match_sdp); - if (status != PJ_SUCCESS) - goto on_error; -#endif - -#if PJMEDIA_HAS_INTEL_IPP_CODEC_AMRWB - pj_cstr(&codec_name, "AMR-WB"); - status = pjmedia_sdp_neg_register_fmt_match_cb( - &codec_name, - &pjmedia_codec_amr_match_sdp); - if (status != PJ_SUCCESS) - goto on_error; -#endif - - /* Suppress compile warning */ - PJ_UNUSED_ARG(codec_name); - - /* Register codec factory to endpoint. */ - status = pjmedia_codec_mgr_register_factory(codec_mgr, - &ipp_factory.base); - if (status != PJ_SUCCESS) - goto on_error; - - /* Done. */ - return PJ_SUCCESS; - -on_error: - pj_pool_release(ipp_factory.pool); - ipp_factory.pool = NULL; - return status; -} - -/* - * Unregister IPP codecs factory from pjmedia endpoint. - */ -PJ_DEF(pj_status_t) pjmedia_codec_ipp_deinit(void) -{ - pjmedia_codec_mgr *codec_mgr; - pj_status_t status; - - if (ipp_factory.pool == NULL) { - /* Already deinitialized */ - return PJ_SUCCESS; - } - - pj_mutex_lock(ipp_factory.mutex); - - /* Get the codec manager. */ - codec_mgr = pjmedia_endpt_get_codec_mgr(ipp_factory.endpt); - if (!codec_mgr) { - pj_pool_release(ipp_factory.pool); - ipp_factory.pool = NULL; - return PJ_EINVALIDOP; - } - - /* Unregister IPP codecs factory. */ - status = pjmedia_codec_mgr_unregister_factory(codec_mgr, - &ipp_factory.base); - - /* Destroy mutex. */ - pj_mutex_destroy(ipp_factory.mutex); - - /* Destroy pool. */ - pj_pool_release(ipp_factory.pool); - ipp_factory.pool = NULL; - - return status; -} - - -/* - * Check if factory can allocate the specified codec. - */ -static pj_status_t ipp_test_alloc( pjmedia_codec_factory *factory, - const pjmedia_codec_info *info ) -{ - unsigned i; - - PJ_UNUSED_ARG(factory); - - /* Type MUST be audio. */ - if (info->type != PJMEDIA_TYPE_AUDIO) - return PJMEDIA_CODEC_EUNSUP; - - for (i = 0; i < PJ_ARRAY_SIZE(ipp_codec); ++i) { - pj_str_t name = pj_str((char*)ipp_codec[i].name); - if ((pj_stricmp(&info->encoding_name, &name) == 0) && - (info->clock_rate == (unsigned)ipp_codec[i].clock_rate) && - (info->channel_cnt == (unsigned)ipp_codec[i].channel_count) && - (ipp_codec[i].enabled)) - { - return PJ_SUCCESS; - } - } - - /* Unsupported, or mode is disabled. */ - return PJMEDIA_CODEC_EUNSUP; -} - -/* - * Generate default attribute. - */ -static pj_status_t ipp_default_attr (pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ) -{ - unsigned i; - - PJ_ASSERT_RETURN(factory==&ipp_factory.base, PJ_EINVAL); - - pj_bzero(attr, sizeof(pjmedia_codec_param)); - - for (i = 0; i < PJ_ARRAY_SIZE(ipp_codec); ++i) { - pj_str_t name = pj_str((char*)ipp_codec[i].name); - if ((pj_stricmp(&id->encoding_name, &name) == 0) && - (id->clock_rate == (unsigned)ipp_codec[i].clock_rate) && - (id->channel_cnt == (unsigned)ipp_codec[i].channel_count) && - (id->pt == (unsigned)ipp_codec[i].pt)) - { - attr->info.pt = (pj_uint8_t)id->pt; - attr->info.channel_cnt = ipp_codec[i].channel_count; - attr->info.clock_rate = ipp_codec[i].clock_rate; - attr->info.avg_bps = ipp_codec[i].def_bitrate; - attr->info.max_bps = ipp_codec[i].max_bitrate; - attr->info.pcm_bits_per_sample = 16; - attr->info.frm_ptime = (pj_uint16_t) - (ipp_codec[i].samples_per_frame * 1000 / - ipp_codec[i].channel_count / - ipp_codec[i].clock_rate); - attr->setting.frm_per_pkt = ipp_codec[i].frm_per_pkt; - - /* Default flags. */ - attr->setting.plc = 1; - attr->setting.penh= 0; - attr->setting.vad = 1; - attr->setting.cng = attr->setting.vad; - attr->setting.dec_fmtp = ipp_codec[i].dec_fmtp; - - if (attr->setting.vad == 0) { -#if PJMEDIA_HAS_INTEL_IPP_CODEC_G729 - if (id->pt == PJMEDIA_RTP_PT_G729) { - /* Signal G729 Annex B is being disabled */ - attr->setting.dec_fmtp.cnt = 1; - pj_strset2(&attr->setting.dec_fmtp.param[0].name, "annexb"); - pj_strset2(&attr->setting.dec_fmtp.param[0].val, "no"); - } -#endif - } - - return PJ_SUCCESS; - } - } - - return PJMEDIA_CODEC_EUNSUP; -} - -/* - * Enum codecs supported by this factory. - */ -static pj_status_t ipp_enum_codecs(pjmedia_codec_factory *factory, - unsigned *count, - pjmedia_codec_info codecs[]) -{ - unsigned max; - unsigned i; - - PJ_UNUSED_ARG(factory); - PJ_ASSERT_RETURN(codecs && *count > 0, PJ_EINVAL); - - max = *count; - - for (i = 0, *count = 0; i < PJ_ARRAY_SIZE(ipp_codec) && *count < max; ++i) - { - if (!ipp_codec[i].enabled) - continue; - - pj_bzero(&codecs[*count], sizeof(pjmedia_codec_info)); - codecs[*count].encoding_name = pj_str((char*)ipp_codec[i].name); - codecs[*count].pt = ipp_codec[i].pt; - codecs[*count].type = PJMEDIA_TYPE_AUDIO; - codecs[*count].clock_rate = ipp_codec[i].clock_rate; - codecs[*count].channel_cnt = ipp_codec[i].channel_count; - - ++*count; - } - - return PJ_SUCCESS; -} - -/* - * Allocate a new codec instance. - */ -static pj_status_t ipp_alloc_codec( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec **p_codec) -{ - ipp_private_t *codec_data; - pjmedia_codec *codec; - int idx; - pj_pool_t *pool; - unsigned i; - - PJ_ASSERT_RETURN(factory && id && p_codec, PJ_EINVAL); - PJ_ASSERT_RETURN(factory == &ipp_factory.base, PJ_EINVAL); - - pj_mutex_lock(ipp_factory.mutex); - - /* Find codec's index */ - idx = -1; - for (i = 0; i < PJ_ARRAY_SIZE(ipp_codec); ++i) { - pj_str_t name = pj_str((char*)ipp_codec[i].name); - if ((pj_stricmp(&id->encoding_name, &name) == 0) && - (id->clock_rate == (unsigned)ipp_codec[i].clock_rate) && - (id->channel_cnt == (unsigned)ipp_codec[i].channel_count) && - (ipp_codec[i].enabled)) - { - idx = i; - break; - } - } - if (idx == -1) { - *p_codec = NULL; - return PJMEDIA_CODEC_EFAILED; - } - - /* Create pool for codec instance */ - pool = pjmedia_endpt_create_pool(ipp_factory.endpt, "IPPcodec", 512, 512); - codec = PJ_POOL_ZALLOC_T(pool, pjmedia_codec); - PJ_ASSERT_RETURN(codec != NULL, PJ_ENOMEM); - codec->op = &ipp_op; - codec->factory = factory; - codec->codec_data = PJ_POOL_ZALLOC_T(pool, ipp_private_t); - codec_data = (ipp_private_t*) codec->codec_data; - - /* Create PLC if codec has no internal PLC */ - if (!ipp_codec[idx].has_native_plc) { - pj_status_t status; - status = pjmedia_plc_create(pool, ipp_codec[idx].clock_rate, - ipp_codec[idx].samples_per_frame, 0, - &codec_data->plc); - if (status != PJ_SUCCESS) { - pj_pool_release(pool); - pj_mutex_unlock(ipp_factory.mutex); - return status; - } - } - - /* Create silence detector if codec has no internal VAD */ - if (!ipp_codec[idx].has_native_vad) { - pj_status_t status; - status = pjmedia_silence_det_create(pool, - ipp_codec[idx].clock_rate, - ipp_codec[idx].samples_per_frame, - &codec_data->vad); - if (status != PJ_SUCCESS) { - pj_pool_release(pool); - pj_mutex_unlock(ipp_factory.mutex); - return status; - } - } - - codec_data->pool = pool; - codec_data->codec_idx = idx; - - pj_mutex_unlock(ipp_factory.mutex); - - *p_codec = codec; - return PJ_SUCCESS; -} - -/* - * Free codec. - */ -static pj_status_t ipp_dealloc_codec( pjmedia_codec_factory *factory, - pjmedia_codec *codec ) -{ - ipp_private_t *codec_data; - - PJ_ASSERT_RETURN(factory && codec, PJ_EINVAL); - PJ_ASSERT_RETURN(factory == &ipp_factory.base, PJ_EINVAL); - - /* Close codec, if it's not closed. */ - codec_data = (ipp_private_t*) codec->codec_data; - if (codec_data->enc != NULL || codec_data->dec != NULL) { - ipp_codec_close(codec); - } - - pj_pool_release(codec_data->pool); - - return PJ_SUCCESS; -} - -/* - * Init codec. - */ -static pj_status_t ipp_codec_init( pjmedia_codec *codec, - pj_pool_t *pool ) -{ - PJ_UNUSED_ARG(codec); - PJ_UNUSED_ARG(pool); - return PJ_SUCCESS; -} - -/* - * Open codec. - */ -static pj_status_t ipp_codec_open( pjmedia_codec *codec, - pjmedia_codec_param *attr ) -{ - ipp_private_t *codec_data = (ipp_private_t*) codec->codec_data; - struct ipp_codec *ippc = &ipp_codec[codec_data->codec_idx]; - int info_size; - pj_pool_t *pool; - int i, j; - USC_MemBank *membanks; - int nb_membanks; - - pool = codec_data->pool; - - /* Get the codec info size */ - if (USC_NoError != ippc->fxns->std.GetInfoSize(&info_size)) { - PJ_LOG(1,(THIS_FILE, "Error getting codec info size")); - goto on_error; - } - /* Get the codec info */ - codec_data->info = pj_pool_zalloc(pool, info_size); - if (USC_NoError != ippc->fxns->std.GetInfo((USC_Handle)NULL, - codec_data->info)) - { - PJ_LOG(1,(THIS_FILE, "Error getting codec info")); - goto on_error; - } - - /* PREPARING THE ENCODER */ - - /* Setting the encoder params */ - codec_data->info->params.direction = USC_ENCODE; - codec_data->info->params.modes.vad = attr->setting.vad && - ippc->has_native_vad; - codec_data->info->params.modes.bitrate = attr->info.avg_bps; - codec_data->info->params.law = 0; /* Linear PCM input */ - -#if PJMEDIA_HAS_INTEL_IPP_CODEC_G729 - if (ippc->pt == PJMEDIA_RTP_PT_G729) { - /* Check if G729 Annex B is signaled to be disabled */ - for (i = 0; i < attr->setting.enc_fmtp.cnt; ++i) { - if (pj_stricmp2(&attr->setting.enc_fmtp.param[i].name, "annexb")==0) - { - if (pj_stricmp2(&attr->setting.enc_fmtp.param[i].val, "no")==0) - { - attr->setting.vad = 0; - codec_data->info->params.modes.vad = 0; - } - break; - } - } - } -#endif - - /* Get number of memory blocks needed by the encoder */ - if (USC_NoError != ippc->fxns->std.NumAlloc(&codec_data->info->params, - &nb_membanks)) - { - PJ_LOG(1,(THIS_FILE, "Error getting no of memory blocks of encoder")); - goto on_error; - } - - /* Allocate memory blocks table */ - membanks = (USC_MemBank*) pj_pool_zalloc(pool, - sizeof(USC_MemBank) * nb_membanks); - /* Get size of each memory block */ - if (USC_NoError != ippc->fxns->std.MemAlloc(&codec_data->info->params, - membanks)) - { - PJ_LOG(1,(THIS_FILE, "Error getting memory blocks size of encoder")); - goto on_error; - } - - /* Allocate memory for each block */ - for (i = 0; i < nb_membanks; i++) { - membanks[i].pMem = (char*) pj_pool_zalloc(pool, membanks[i].nbytes); - } - - /* Create encoder instance */ - if (USC_NoError != ippc->fxns->std.Init(&codec_data->info->params, - membanks, - &codec_data->enc)) - { - PJ_LOG(1,(THIS_FILE, "Error initializing encoder")); - goto on_error; - } - - /* PREPARING THE DECODER */ - - /* Setting the decoder params */ - codec_data->info->params.direction = USC_DECODE; - - /* Not sure if VAD affects decoder, just try to be safe */ - //codec_data->info->params.modes.vad = ippc->has_native_vad; - - /* Get number of memory blocks needed by the decoder */ - if (USC_NoError != ippc->fxns->std.NumAlloc(&codec_data->info->params, - &nb_membanks)) - { - PJ_LOG(1,(THIS_FILE, "Error getting no of memory blocks of decoder")); - goto on_error; - } - - /* Allocate memory blocks table */ - membanks = (USC_MemBank*) pj_pool_zalloc(pool, - sizeof(USC_MemBank) * nb_membanks); - /* Get size of each memory block */ - if (USC_NoError != ippc->fxns->std.MemAlloc(&codec_data->info->params, - membanks)) - { - PJ_LOG(1,(THIS_FILE, "Error getting memory blocks size of decoder")); - goto on_error; - } - - /* Allocate memory for each block */ - for (i = 0; i < nb_membanks; i++) { - membanks[i].pMem = (char*) pj_pool_zalloc(pool, membanks[i].nbytes); - } - - /* Create decoder instance */ - if (USC_NoError != ippc->fxns->std.Init(&codec_data->info->params, - membanks, &codec_data->dec)) - { - PJ_LOG(1,(THIS_FILE, "Error initializing decoder")); - goto on_error; - } - - /* Update codec info */ - ippc->fxns->std.GetInfo((USC_Handle)codec_data->enc, codec_data->info); - - /* Get bitstream size */ - i = codec_data->info->params.modes.bitrate * ippc->samples_per_frame; - j = ippc->clock_rate << 3; - codec_data->frame_size = (pj_uint16_t)(i / j); - if (i % j) ++codec_data->frame_size; - - codec_data->vad_enabled = (attr->setting.vad != 0); - codec_data->plc_enabled = (attr->setting.plc != 0); - -#if PJMEDIA_HAS_INTEL_IPP_CODEC_AMR - /* Init AMR settings */ - if (ippc->pt == PJMEDIA_RTP_PT_AMR || ippc->pt == PJMEDIA_RTP_PT_AMRWB) { - amr_settings_t *s; - pj_uint8_t octet_align = 0; - pj_int8_t enc_mode; - - enc_mode = pjmedia_codec_amr_get_mode( - codec_data->info->params.modes.bitrate); - pj_assert(enc_mode >= 0 && enc_mode <= 8); - - /* Check AMR specific attributes */ - - for (i = 0; i < attr->setting.dec_fmtp.cnt; ++i) { - /* octet-align, one of the parameters that must have same value - * in offer & answer (RFC 4867 Section 8.3.1). Just check fmtp - * in the decoder side, since it's value is guaranteed to fulfil - * above requirement (by SDP negotiator). - */ - const pj_str_t STR_FMTP_OCTET_ALIGN = {"octet-align", 11}; - - if (pj_stricmp(&attr->setting.dec_fmtp.param[i].name, - &STR_FMTP_OCTET_ALIGN) == 0) - { - octet_align=(pj_uint8_t) - pj_strtoul(&attr->setting.dec_fmtp.param[i].val); - break; - } - } - - for (i = 0; i < attr->setting.enc_fmtp.cnt; ++i) { - /* mode-set, encoding mode is chosen based on local default mode - * setting: - * - if local default mode is included in the mode-set, use it - * - otherwise, find the closest mode to local default mode; - * if there are two closest modes, prefer to use the higher - * one, e.g: local default mode is 4, the mode-set param - * contains '2,3,5,6', then 5 will be chosen. - */ - const pj_str_t STR_FMTP_MODE_SET = {"mode-set", 8}; - - if (pj_stricmp(&attr->setting.enc_fmtp.param[i].name, - &STR_FMTP_MODE_SET) == 0) - { - const char *p; - pj_size_t l; - pj_int8_t diff = 99; - - p = pj_strbuf(&attr->setting.enc_fmtp.param[i].val); - l = pj_strlen(&attr->setting.enc_fmtp.param[i].val); - - while (l--) { - if ((ippc->pt==PJMEDIA_RTP_PT_AMR && *p>='0' && *p<='7') || - (ippc->pt==PJMEDIA_RTP_PT_AMRWB && *p>='0' && *p<='8')) - { - pj_int8_t tmp = (pj_int8_t)(*p - '0' - enc_mode); - - if (PJ_ABS(diff) > PJ_ABS(tmp) || - (PJ_ABS(diff) == PJ_ABS(tmp) && tmp > diff)) - { - diff = tmp; - if (diff == 0) break; - } - } - ++p; - } - - if (diff == 99) - goto on_error; - - enc_mode = (pj_int8_t)(enc_mode + diff); - - break; - } - } - - /* Initialize AMR specific settings */ - s = PJ_POOL_ZALLOC_T(pool, amr_settings_t); - codec_data->codec_setting = s; - - s->enc_setting.amr_nb = (pj_uint8_t)(ippc->pt == PJMEDIA_RTP_PT_AMR); - s->enc_setting.octet_aligned = octet_align; - s->enc_setting.reorder = PJ_TRUE; - s->enc_setting.cmr = 15; - - s->dec_setting.amr_nb = (pj_uint8_t)(ippc->pt == PJMEDIA_RTP_PT_AMR); - s->dec_setting.octet_aligned = octet_align; - s->dec_setting.reorder = PJ_TRUE; - - /* Apply encoder mode/bitrate */ - s->enc_mode = enc_mode; - codec_data->info->params.modes.bitrate = s->enc_setting.amr_nb? - pjmedia_codec_amrnb_bitrates[s->enc_mode]: - pjmedia_codec_amrwb_bitrates[s->enc_mode]; - ippc->fxns->std.Control(&codec_data->info->params.modes, - codec_data->enc); - - PJ_LOG(4,(THIS_FILE, "AMR%s encoding mode: %d (%dbps)", - (s->enc_setting.amr_nb?"":"-WB"), - s->enc_mode, - codec_data->info->params.modes.bitrate)); - - /* Return back bitrate info to application */ - attr->info.avg_bps = codec_data->info->params.modes.bitrate; - } -#endif - -#if PJMEDIA_HAS_INTEL_IPP_CODEC_G722_1 - if (ippc->pt >= PJMEDIA_RTP_PT_G722_1_16 && - ippc->pt <= PJMEDIA_RTP_PT_G7221_RSV2) - { - codec_data->g7221_pcm_shift = ipp_factory.g7221_pcm_shift; - } -#endif - - return PJ_SUCCESS; - -on_error: - return PJMEDIA_CODEC_EFAILED; -} - -/* - * Close codec. - */ -static pj_status_t ipp_codec_close( pjmedia_codec *codec ) -{ - PJ_UNUSED_ARG(codec); - - return PJ_SUCCESS; -} - - -/* - * Modify codec settings. - */ -static pj_status_t ipp_codec_modify(pjmedia_codec *codec, - const pjmedia_codec_param *attr ) -{ - ipp_private_t *codec_data = (ipp_private_t*) codec->codec_data; - struct ipp_codec *ippc = &ipp_codec[codec_data->codec_idx]; - - codec_data->vad_enabled = (attr->setting.vad != 0); - codec_data->plc_enabled = (attr->setting.plc != 0); - - if (ippc->has_native_vad) { - USC_Modes modes; - - modes = codec_data->info->params.modes; - modes.vad = codec_data->vad_enabled; - ippc->fxns->std.Control(&modes, codec_data->enc); - } - - return PJ_SUCCESS; -} - -/* - * Get frames in the packet. - */ -static pj_status_t ipp_codec_parse( pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *ts, - unsigned *frame_cnt, - pjmedia_frame frames[]) -{ - ipp_private_t *codec_data = (ipp_private_t*) codec->codec_data; - struct ipp_codec *ippc = &ipp_codec[codec_data->codec_idx]; - unsigned count = 0; - - PJ_ASSERT_RETURN(frame_cnt, PJ_EINVAL); - - if (ippc->parse != NULL) { - return ippc->parse(codec_data, pkt, pkt_size, ts, frame_cnt, frames); - } - - while (pkt_size >= codec_data->frame_size && count < *frame_cnt) { - frames[count].type = PJMEDIA_FRAME_TYPE_AUDIO; - frames[count].buf = pkt; - frames[count].size = codec_data->frame_size; - frames[count].timestamp.u64 = ts->u64 + count*ippc->samples_per_frame; - - pkt = ((char*)pkt) + codec_data->frame_size; - pkt_size -= codec_data->frame_size; - - ++count; - } - - if (pkt_size && count < *frame_cnt) { - frames[count].type = PJMEDIA_FRAME_TYPE_AUDIO; - frames[count].buf = pkt; - frames[count].size = pkt_size; - frames[count].timestamp.u64 = ts->u64 + count*ippc->samples_per_frame; - ++count; - } - - *frame_cnt = count; - return PJ_SUCCESS; -} - -/* - * Encode frames. - */ -static pj_status_t ipp_codec_encode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - ipp_private_t *codec_data = (ipp_private_t*) codec->codec_data; - struct ipp_codec *ippc = &ipp_codec[codec_data->codec_idx]; - unsigned samples_per_frame; - unsigned nsamples; - pj_size_t tx = 0; - pj_int16_t *pcm_in = (pj_int16_t*)input->buf; - pj_uint8_t *bits_out = (pj_uint8_t*) output->buf; - pj_uint8_t pt; - - /* Invoke external VAD if codec has no internal VAD */ - if (codec_data->vad && codec_data->vad_enabled) { - pj_bool_t is_silence; - pj_int32_t silence_duration; - - silence_duration = pj_timestamp_diff32(&codec_data->last_tx, - &input->timestamp); - - is_silence = pjmedia_silence_det_detect(codec_data->vad, - (const pj_int16_t*) input->buf, - (input->size >> 1), - NULL); - if (is_silence && - (PJMEDIA_CODEC_MAX_SILENCE_PERIOD == -1 || - silence_duration < (PJMEDIA_CODEC_MAX_SILENCE_PERIOD * - (int)ippc->clock_rate / 1000))) - { - output->type = PJMEDIA_FRAME_TYPE_NONE; - output->buf = NULL; - output->size = 0; - output->timestamp = input->timestamp; - return PJ_SUCCESS; - } else { - codec_data->last_tx = input->timestamp; - } - } - - nsamples = input->size >> 1; - samples_per_frame = ippc->samples_per_frame; - pt = ippc->pt; - - PJ_ASSERT_RETURN(nsamples % samples_per_frame == 0, - PJMEDIA_CODEC_EPCMFRMINLEN); - - /* Encode the frames */ - while (nsamples >= samples_per_frame) { - USC_PCMStream in; - USC_Bitstream out; - - in.bitrate = codec_data->info->params.modes.bitrate; - in.nbytes = samples_per_frame << 1; - in.pBuffer = (char*)pcm_in; - in.pcmType.bitPerSample = codec_data->info->params.pcmType.bitPerSample; - in.pcmType.nChannels = codec_data->info->params.pcmType.nChannels; - in.pcmType.sample_frequency = codec_data->info->params.pcmType.sample_frequency; - - out.pBuffer = (char*)bits_out; - -#if PJMEDIA_HAS_INTEL_IPP_CODEC_AMR - /* For AMR: reserve two octets for AMR frame info */ - if (pt == PJMEDIA_RTP_PT_AMR || pt == PJMEDIA_RTP_PT_AMRWB) { - out.pBuffer += 2; - } -#endif - -#if PJMEDIA_HAS_INTEL_IPP_CODEC_G722_1 - /* For G722.1: adjust the encoder input signal level */ - if (pt >= PJMEDIA_RTP_PT_G722_1_16 && - pt <= PJMEDIA_RTP_PT_G7221_RSV2 && - codec_data->g7221_pcm_shift) - { - unsigned i; - for (i = 0; i < samples_per_frame; ++i) - pcm_in[i] >>= codec_data->g7221_pcm_shift; - } -#endif - - if (USC_NoError != ippc->fxns->Encode(codec_data->enc, &in, &out)) { - break; - } - -#if PJMEDIA_HAS_INTEL_IPP_CODEC_AMR - /* For AMR: put info (frametype, degraded, last frame, mode) in the - * first two octets for payload packing. - */ - if (pt == PJMEDIA_RTP_PT_AMR || pt == PJMEDIA_RTP_PT_AMRWB) { - pj_uint16_t *info = (pj_uint16_t*)bits_out; - - /* Two octets for AMR frame info, 0=LSB: - * bit 0-3 : frame type - * bit 5 : STI flag - * bit 6 : last frame flag - * bit 7 : quality flag - * bit 8-11 : mode - */ - out.nbytes += 2; - if (out.frametype == 0 || out.frametype == 4 || - (pt == PJMEDIA_RTP_PT_AMR && out.frametype == 5) || - (pt == PJMEDIA_RTP_PT_AMRWB && out.frametype == 6)) - { - /* Speech frame type */ - *info = (char)pjmedia_codec_amr_get_mode(out.bitrate); - /* Quality */ - if (out.frametype == 5 || out.frametype == 6) - *info |= 0x80; - } else if (out.frametype == 1 || out.frametype == 2 || - (pt == PJMEDIA_RTP_PT_AMR && out.frametype == 6) || - (pt == PJMEDIA_RTP_PT_AMRWB && out.frametype == 7)) - { - /* SID frame type */ - *info = (pj_uint8_t)(pt == PJMEDIA_RTP_PT_AMRWB? 9 : 8); - /* Quality */ - if (out.frametype == 6 || out.frametype == 7) - *info |= 0x80; - /* STI */ - if (out.frametype != 1) - *info |= 0x20; - } else { - /* Untransmited */ - *info = 15; - out.nbytes = 2; - } - - /* Mode */ - *info |= (char)pjmedia_codec_amr_get_mode(out.bitrate) << 8; - - /* Last frame flag */ - if (nsamples == samples_per_frame) - *info |= 0x40; - } -#endif - - pcm_in += samples_per_frame; - nsamples -= samples_per_frame; - tx += out.nbytes; - bits_out += out.nbytes; - -#if PJMEDIA_HAS_INTEL_IPP_CODEC_G729 - if (pt == PJMEDIA_RTP_PT_G729) { - if (out.frametype == 1) { - /* SID */ - break; - } else if (out.frametype == 0) { - /* Untransmitted */ - tx -= out.nbytes; - break; - } - } -#endif - - } - - if (ippc->pack != NULL) { - ippc->pack(codec_data, output->buf, &tx, output_buf_len); - } - - /* Check if we don't need to transmit the frame (DTX) */ - if (tx == 0) { - output->buf = NULL; - output->size = 0; - output->timestamp.u64 = input->timestamp.u64; - output->type = PJMEDIA_FRAME_TYPE_NONE; - return PJ_SUCCESS; - } - - output->size = tx; - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->timestamp = input->timestamp; - - return PJ_SUCCESS; -} - -/* - * Decode frame. - */ -static pj_status_t ipp_codec_decode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - ipp_private_t *codec_data = (ipp_private_t*) codec->codec_data; - struct ipp_codec *ippc = &ipp_codec[codec_data->codec_idx]; - unsigned samples_per_frame; - USC_PCMStream out; - USC_Bitstream in; - pj_uint8_t pt; - - pt = ippc->pt; - samples_per_frame = ippc->samples_per_frame; - - PJ_ASSERT_RETURN(output_buf_len >= samples_per_frame << 1, - PJMEDIA_CODEC_EPCMTOOSHORT); - - if (input->type == PJMEDIA_FRAME_TYPE_AUDIO) { - if (ippc->predecode) { - ippc->predecode(codec_data, input, &in); - } else { - /* Most IPP codecs have frametype==0 for speech frame */ - in.pBuffer = (char*)input->buf; - in.nbytes = input->size; - in.frametype = 0; - in.bitrate = codec_data->info->params.modes.bitrate; - } - - out.pBuffer = output->buf; - } - - if (input->type != PJMEDIA_FRAME_TYPE_AUDIO || - USC_NoError != ippc->fxns->Decode(codec_data->dec, &in, &out)) - { - pjmedia_zero_samples((pj_int16_t*)output->buf, samples_per_frame); - output->size = samples_per_frame << 1; - output->timestamp.u64 = input->timestamp.u64; - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - return PJ_SUCCESS; - } - -#if PJMEDIA_HAS_INTEL_IPP_CODEC_G726 - /* For G.726: amplify decoding result (USC G.726 encoder deamplified it) */ - if (pt == PJMEDIA_RTP_PT_G726_16 || pt == PJMEDIA_RTP_PT_G726_24 || - pt == PJMEDIA_RTP_PT_G726_32 || pt == PJMEDIA_RTP_PT_G726_40 || - pt == PJMEDIA_RTP_PT_G721) - { - unsigned i; - pj_int16_t *s = (pj_int16_t*)output->buf; - - for (i = 0; i < samples_per_frame; ++i) - s[i] <<= 2; - } -#endif - -#if PJMEDIA_HAS_INTEL_IPP_CODEC_G722_1 - /* For G722.1: adjust the decoder output signal level */ - if (pt >= PJMEDIA_RTP_PT_G722_1_16 && - pt <= PJMEDIA_RTP_PT_G7221_RSV2 && - codec_data->g7221_pcm_shift) - { - unsigned i; - pj_int16_t *s = (pj_int16_t*)output->buf; - - for (i = 0; i < samples_per_frame; ++i) - s[i] <<= codec_data->g7221_pcm_shift; - } -#endif - - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->size = samples_per_frame << 1; - output->timestamp.u64 = input->timestamp.u64; - - /* Invoke external PLC if codec has no internal PLC */ - if (codec_data->plc && codec_data->plc_enabled) - pjmedia_plc_save(codec_data->plc, (pj_int16_t*)output->buf); - - return PJ_SUCCESS; -} - -/* - * Recover lost frame. - */ -static pj_status_t ipp_codec_recover(pjmedia_codec *codec, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - ipp_private_t *codec_data = (ipp_private_t*) codec->codec_data; - struct ipp_codec *ippc = &ipp_codec[codec_data->codec_idx]; - unsigned samples_per_frame; - - PJ_UNUSED_ARG(output_buf_len); - - samples_per_frame = ippc->samples_per_frame; - - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->size = samples_per_frame << 1; - - if (codec_data->plc_enabled) { - if (codec_data->plc) { - pjmedia_plc_generate(codec_data->plc, (pj_int16_t*)output->buf); - } else { - USC_PCMStream out; - out.pBuffer = output->buf; - ippc->fxns->Decode(codec_data->dec, NULL, &out); - } - } else { - pjmedia_zero_samples((pj_int16_t*)output->buf, samples_per_frame); - } - - return PJ_SUCCESS; -} - - -#if defined(_MSC_VER) && PJMEDIA_AUTO_LINK_IPP_LIBS -# pragma comment( lib, "ippcore.lib") -# pragma comment( lib, "ipps.lib") -# pragma comment( lib, "ippsc.lib") -# if defined(IPP_VERSION_MAJOR) && IPP_VERSION_MAJOR<=6 -# pragma comment( lib, "ippsr.lib") -# endif -//# pragma comment( lib, "ippcorel.lib") -//# pragma comment( lib, "ippsemerged.lib") -//# pragma comment( lib, "ippsmerged.lib") -//# pragma comment( lib, "ippscemerged.lib") -//# pragma comment( lib, "ippscmerged.lib") -//# pragma comment( lib, "ippsremerged.lib") -//# pragma comment( lib, "ippsrmerged.lib") -# if defined(IPP_VERSION_MAJOR) && IPP_VERSION_MAJOR>=6 -# pragma comment( lib, "speech.lib") -# else -# pragma comment( lib, "usc.lib") -# endif -#endif - - -#endif /* PJMEDIA_HAS_INTEL_IPP */ - diff --git a/res/pjproject/pjmedia/src/pjmedia-codec/l16.c b/res/pjproject/pjmedia/src/pjmedia-codec/l16.c deleted file mode 100644 index 71b7200915..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-codec/l16.c +++ /dev/null @@ -1,729 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -/* - * Only build this file if PJMEDIA_HAS_L16_CODEC != 0 - */ -#if defined(PJMEDIA_HAS_L16_CODEC) && PJMEDIA_HAS_L16_CODEC != 0 - -#define PLC_DISABLED 0 - - -static const pj_str_t STR_L16 = { "L16", 3 }; - -/* To keep frame size below 1400 MTU, set ptime to 10ms for - * sampling rate > 35 KHz - */ -#define GET_PTIME(clock_rate) ((pj_uint16_t)(clock_rate > 35000 ? 10 : 20)) - - -/* Prototypes for L16 factory */ -static pj_status_t l16_test_alloc( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id ); -static pj_status_t l16_default_attr( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ); -static pj_status_t l16_enum_codecs (pjmedia_codec_factory *factory, - unsigned *count, - pjmedia_codec_info codecs[]); -static pj_status_t l16_alloc_codec( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec **p_codec); -static pj_status_t l16_dealloc_codec( pjmedia_codec_factory *factory, - pjmedia_codec *codec ); - -/* Prototypes for L16 implementation. */ -static pj_status_t l16_init( pjmedia_codec *codec, - pj_pool_t *pool ); -static pj_status_t l16_open( pjmedia_codec *codec, - pjmedia_codec_param *attr ); -static pj_status_t l16_close( pjmedia_codec *codec ); -static pj_status_t l16_modify(pjmedia_codec *codec, - const pjmedia_codec_param *attr ); -static pj_status_t l16_parse(pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *ts, - unsigned *frame_cnt, - pjmedia_frame frames[]); -static pj_status_t l16_encode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output); -static pj_status_t l16_decode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output); -#if !PLC_DISABLED -static pj_status_t l16_recover(pjmedia_codec *codec, - unsigned output_buf_len, - struct pjmedia_frame *output); -#endif - -/* Definition for L16 codec operations. */ -static pjmedia_codec_op l16_op = -{ - &l16_init, - &l16_open, - &l16_close, - &l16_modify, - &l16_parse, - &l16_encode, - &l16_decode, -#if !PLC_DISABLED - &l16_recover -#else - NULL -#endif -}; - -/* Definition for L16 codec factory operations. */ -static pjmedia_codec_factory_op l16_factory_op = -{ - &l16_test_alloc, - &l16_default_attr, - &l16_enum_codecs, - &l16_alloc_codec, - &l16_dealloc_codec, - &pjmedia_codec_l16_deinit -}; - -/* L16 factory private data */ -static struct l16_factory -{ - pjmedia_codec_factory base; - pjmedia_endpt *endpt; - pj_pool_t *pool; - pj_mutex_t *mutex; -} l16_factory; - - -/* L16 codec private data. */ -struct l16_data -{ - pj_pool_t *pool; - unsigned frame_size; /* Frame size, in bytes */ - unsigned clock_rate; /* Clock rate */ - -#if !PLC_DISABLED - pj_bool_t plc_enabled; - pjmedia_plc *plc; -#endif - pj_bool_t vad_enabled; - pjmedia_silence_det *vad; - pj_timestamp last_tx; -}; - - - -PJ_DEF(pj_status_t) pjmedia_codec_l16_init(pjmedia_endpt *endpt, - unsigned options) -{ - pjmedia_codec_mgr *codec_mgr; - pj_status_t status; - - - PJ_UNUSED_ARG(options); - - - if (l16_factory.endpt != NULL) { - /* Already initialized. */ - return PJ_SUCCESS; - } - - /* Init factory */ - l16_factory.base.op = &l16_factory_op; - l16_factory.base.factory_data = NULL; - l16_factory.endpt = endpt; - - /* Create pool */ - l16_factory.pool = pjmedia_endpt_create_pool(endpt, "l16", 4000, 4000); - if (!l16_factory.pool) - return PJ_ENOMEM; - - /* Create mutex. */ - status = pj_mutex_create_simple(l16_factory.pool, "l16", - &l16_factory.mutex); - if (status != PJ_SUCCESS) - goto on_error; - - /* Get the codec manager. */ - codec_mgr = pjmedia_endpt_get_codec_mgr(endpt); - if (!codec_mgr) { - return PJ_EINVALIDOP; - } - - /* Register codec factory to endpoint. */ - status = pjmedia_codec_mgr_register_factory(codec_mgr, - &l16_factory.base); - if (status != PJ_SUCCESS) - return status; - - - return PJ_SUCCESS; - -on_error: - if (l16_factory.mutex) { - pj_mutex_destroy(l16_factory.mutex); - l16_factory.mutex = NULL; - } - if (l16_factory.pool) { - pj_pool_release(l16_factory.pool); - l16_factory.pool = NULL; - } - return status; -} - -PJ_DEF(pj_status_t) pjmedia_codec_l16_deinit(void) -{ - pjmedia_codec_mgr *codec_mgr; - pj_status_t status; - - if (l16_factory.endpt == NULL) { - /* Not registered. */ - return PJ_SUCCESS; - } - - /* Lock mutex. */ - pj_mutex_lock(l16_factory.mutex); - - /* Get the codec manager. */ - codec_mgr = pjmedia_endpt_get_codec_mgr(l16_factory.endpt); - if (!codec_mgr) { - l16_factory.endpt = NULL; - pj_mutex_unlock(l16_factory.mutex); - return PJ_EINVALIDOP; - } - - /* Unregister L16 codec factory. */ - status = pjmedia_codec_mgr_unregister_factory(codec_mgr, - &l16_factory.base); - l16_factory.endpt = NULL; - - /* Destroy mutex. */ - pj_mutex_destroy(l16_factory.mutex); - l16_factory.mutex = NULL; - - - /* Release pool. */ - pj_pool_release(l16_factory.pool); - l16_factory.pool = NULL; - - - return status; -} - -static pj_status_t l16_test_alloc(pjmedia_codec_factory *factory, - const pjmedia_codec_info *id ) -{ - PJ_UNUSED_ARG(factory); - - if (pj_stricmp(&id->encoding_name, &STR_L16)==0) { - /* Match! */ - return PJ_SUCCESS; - } - - return -1; -} - -static pj_status_t l16_default_attr( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ) -{ - PJ_UNUSED_ARG(factory); - - pj_bzero(attr, sizeof(pjmedia_codec_param)); - attr->info.pt = (pj_uint8_t)id->pt; - attr->info.clock_rate = id->clock_rate; - attr->info.channel_cnt = id->channel_cnt; - attr->info.avg_bps = id->clock_rate * id->channel_cnt * 16; - attr->info.max_bps = attr->info.avg_bps; - attr->info.pcm_bits_per_sample = 16; - - /* To keep frame size below 1400 MTU, set ptime to 10ms for - * sampling rate > 35 KHz - */ - attr->info.frm_ptime = GET_PTIME(id->clock_rate); - - attr->setting.frm_per_pkt = 1; - - attr->setting.vad = 1; -#if !PLC_DISABLED - attr->setting.plc = 1; -#endif - - return PJ_SUCCESS; -} - -static pj_status_t l16_enum_codecs( pjmedia_codec_factory *factory, - unsigned *max_count, - pjmedia_codec_info codecs[]) -{ - unsigned count = 0; - - PJ_UNUSED_ARG(factory); - - if (count < *max_count) { - /* Register 44100Hz 1 channel L16 codec */ - codecs[count].type = PJMEDIA_TYPE_AUDIO; - codecs[count].pt = PJMEDIA_RTP_PT_L16_1; - codecs[count].encoding_name = STR_L16; - codecs[count].clock_rate = 44100; - codecs[count].channel_cnt = 1; - ++count; - } - - if (count < *max_count) { - /* Register 44100Hz 2 channels L16 codec */ - codecs[count].type = PJMEDIA_TYPE_AUDIO; - codecs[count].pt = PJMEDIA_RTP_PT_L16_2; - codecs[count].encoding_name = STR_L16; - codecs[count].clock_rate = 44100; - codecs[count].channel_cnt = 2; - ++count; - } - - if (count < *max_count) { - /* 8KHz mono */ - codecs[count].type = PJMEDIA_TYPE_AUDIO; - codecs[count].pt = PJMEDIA_RTP_PT_L16_8KHZ_MONO; - codecs[count].encoding_name = STR_L16; - codecs[count].clock_rate = 8000; - codecs[count].channel_cnt = 1; - ++count; - } - - if (count < *max_count) { - /* 8KHz stereo */ - codecs[count].type = PJMEDIA_TYPE_AUDIO; - codecs[count].pt = PJMEDIA_RTP_PT_L16_8KHZ_STEREO; - codecs[count].encoding_name = STR_L16; - codecs[count].clock_rate = 8000; - codecs[count].channel_cnt = 2; - ++count; - } - -// disable some L16 modes -#if 0 - if (count < *max_count) { - /* 11025 Hz mono */ - codecs[count].type = PJMEDIA_TYPE_AUDIO; - codecs[count].pt = PJMEDIA_RTP_PT_L16_11KHZ_MONO; - codecs[count].encoding_name = STR_L16; - codecs[count].clock_rate = 11025; - codecs[count].channel_cnt = 1; - ++count; - } - - if (count < *max_count) { - /* 11025 Hz stereo */ - codecs[count].type = PJMEDIA_TYPE_AUDIO; - codecs[count].pt = PJMEDIA_RTP_PT_L16_11KHZ_STEREO; - codecs[count].encoding_name = STR_L16; - codecs[count].clock_rate = 11025; - codecs[count].channel_cnt = 2; - ++count; - } -#endif - - if (count < *max_count) { - /* 16000 Hz mono */ - codecs[count].type = PJMEDIA_TYPE_AUDIO; - codecs[count].pt = PJMEDIA_RTP_PT_L16_16KHZ_MONO; - codecs[count].encoding_name = STR_L16; - codecs[count].clock_rate = 16000; - codecs[count].channel_cnt = 1; - ++count; - } - - - if (count < *max_count) { - /* 16000 Hz stereo */ - codecs[count].type = PJMEDIA_TYPE_AUDIO; - codecs[count].pt = PJMEDIA_RTP_PT_L16_16KHZ_STEREO; - codecs[count].encoding_name = STR_L16; - codecs[count].clock_rate = 16000; - codecs[count].channel_cnt = 2; - ++count; - } - -// disable some L16 modes -#if 0 - if (count < *max_count) { - /* 22050 Hz mono */ - codecs[count].type = PJMEDIA_TYPE_AUDIO; - codecs[count].pt = PJMEDIA_RTP_PT_L16_22KHZ_MONO; - codecs[count].encoding_name = STR_L16; - codecs[count].clock_rate = 22050; - codecs[count].channel_cnt = 1; - ++count; - } - - - if (count < *max_count) { - /* 22050 Hz stereo */ - codecs[count].type = PJMEDIA_TYPE_AUDIO; - codecs[count].pt = PJMEDIA_RTP_PT_L16_22KHZ_STEREO; - codecs[count].encoding_name = STR_L16; - codecs[count].clock_rate = 22050; - codecs[count].channel_cnt = 2; - ++count; - } - - if (count < *max_count) { - /* 32000 Hz mono */ - codecs[count].type = PJMEDIA_TYPE_AUDIO; - codecs[count].pt = PJMEDIA_RTP_PT_L16_32KHZ_MONO; - codecs[count].encoding_name = STR_L16; - codecs[count].clock_rate = 32000; - codecs[count].channel_cnt = 1; - ++count; - } - - if (count < *max_count) { - /* 32000 Hz stereo */ - codecs[count].type = PJMEDIA_TYPE_AUDIO; - codecs[count].pt = PJMEDIA_RTP_PT_L16_32KHZ_STEREO; - codecs[count].encoding_name = STR_L16; - codecs[count].clock_rate = 32000; - codecs[count].channel_cnt = 2; - ++count; - } - - if (count < *max_count) { - /* 48KHz mono */ - codecs[count].type = PJMEDIA_TYPE_AUDIO; - codecs[count].pt = PJMEDIA_RTP_PT_L16_48KHZ_MONO; - codecs[count].encoding_name = STR_L16; - codecs[count].clock_rate = 48000; - codecs[count].channel_cnt = 1; - ++count; - } - - if (count < *max_count) { - /* 48KHz stereo */ - codecs[count].type = PJMEDIA_TYPE_AUDIO; - codecs[count].pt = PJMEDIA_RTP_PT_L16_48KHZ_STEREO; - codecs[count].encoding_name = STR_L16; - codecs[count].clock_rate = 48000; - codecs[count].channel_cnt = 2; - ++count; - } -#endif - - - *max_count = count; - - return PJ_SUCCESS; -} - -static pj_status_t l16_alloc_codec( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec **p_codec) -{ - pjmedia_codec *codec = NULL; - struct l16_data *data; - unsigned ptime; - pj_pool_t *pool; - - pj_status_t status; - - PJ_ASSERT_RETURN(factory==&l16_factory.base, PJ_EINVAL); - - /* Lock mutex. */ - pj_mutex_lock(l16_factory.mutex); - - - pool = pjmedia_endpt_create_pool(l16_factory.endpt, "l16", 4000, 4000); - codec = PJ_POOL_ZALLOC_T(pool, pjmedia_codec); - codec->codec_data = pj_pool_alloc(pool, sizeof(struct l16_data)); - codec->factory = factory; - codec->op = &l16_op; - - /* Init private data */ - ptime = GET_PTIME(id->clock_rate); - data = (struct l16_data*) codec->codec_data; - data->frame_size = ptime * id->clock_rate * id->channel_cnt * 2 / 1000; - data->clock_rate = id->clock_rate; - data->pool = pool; - -#if !PLC_DISABLED - /* Create PLC */ - status = pjmedia_plc_create(pool, id->clock_rate, - data->frame_size >> 1, 0, - &data->plc); - if (status != PJ_SUCCESS) { - pj_mutex_unlock(l16_factory.mutex); - return status; - } -#endif - - /* Create silence detector */ - status = pjmedia_silence_det_create(pool, id->clock_rate, - data->frame_size >> 1, - &data->vad); - if (status != PJ_SUCCESS) { - pj_mutex_unlock(l16_factory.mutex); - return status; - } - - *p_codec = codec; - - /* Unlock mutex. */ - pj_mutex_unlock(l16_factory.mutex); - - return PJ_SUCCESS; -} - -static pj_status_t l16_dealloc_codec(pjmedia_codec_factory *factory, - pjmedia_codec *codec ) -{ - struct l16_data *data; - - PJ_ASSERT_RETURN(factory && codec, PJ_EINVAL); - PJ_ASSERT_RETURN(factory==&l16_factory.base, PJ_EINVAL); - - /* Lock mutex. */ - pj_mutex_lock(l16_factory.mutex); - - /* Just release codec data pool */ - data = (struct l16_data*) codec->codec_data; - pj_assert(data); - pj_pool_release(data->pool); - - /* Unlock mutex. */ - pj_mutex_unlock(l16_factory.mutex); - - return PJ_SUCCESS; -} - -static pj_status_t l16_init( pjmedia_codec *codec, pj_pool_t *pool ) -{ - /* There's nothing to do here really */ - PJ_UNUSED_ARG(codec); - PJ_UNUSED_ARG(pool); - - return PJ_SUCCESS; -} - -static pj_status_t l16_open(pjmedia_codec *codec, - pjmedia_codec_param *attr ) -{ - struct l16_data *data = NULL; - - PJ_ASSERT_RETURN(codec && codec->codec_data && attr, PJ_EINVAL); - - data = (struct l16_data*) codec->codec_data; - - data->vad_enabled = (attr->setting.vad != 0); -#if !PLC_DISABLED - data->plc_enabled = (attr->setting.plc != 0); -#endif - - return PJ_SUCCESS; -} - -static pj_status_t l16_close( pjmedia_codec *codec ) -{ - PJ_UNUSED_ARG(codec); - /* Nothing to do */ - return PJ_SUCCESS; -} - -static pj_status_t l16_modify(pjmedia_codec *codec, - const pjmedia_codec_param *attr ) -{ - struct l16_data *data = (struct l16_data*) codec->codec_data; - - pj_assert(data != NULL); - - data->vad_enabled = (attr->setting.vad != 0); -#if !PLC_DISABLED - data->plc_enabled = (attr->setting.plc != 0); -#endif - - return PJ_SUCCESS; -} - -static pj_status_t l16_parse( pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *ts, - unsigned *frame_cnt, - pjmedia_frame frames[]) -{ - unsigned count = 0; - struct l16_data *data = (struct l16_data*) codec->codec_data; - - PJ_UNUSED_ARG(codec); - PJ_ASSERT_RETURN(frame_cnt, PJ_EINVAL); - - while (pkt_size >= data->frame_size && count < *frame_cnt) { - frames[count].type = PJMEDIA_FRAME_TYPE_AUDIO; - frames[count].buf = pkt; - frames[count].size = data->frame_size; - frames[count].timestamp.u64 = ts->u64 + (count * data->frame_size); - - pkt = ((char*)pkt) + data->frame_size; - pkt_size -= data->frame_size; - - ++count; - } - - *frame_cnt = count; - return PJ_SUCCESS; -} - -static pj_status_t l16_encode(pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - struct l16_data *data = (struct l16_data*) codec->codec_data; - const pj_int16_t *samp = (const pj_int16_t*) input->buf; - const pj_int16_t *samp_end = samp + input->size/sizeof(pj_int16_t); - pj_int16_t *samp_out = (pj_int16_t*) output->buf; - - pj_assert(data && input && output); - - /* Check output buffer length */ - if (output_buf_len < input->size) - return PJMEDIA_CODEC_EFRMTOOSHORT; - - /* Detect silence */ - if (data->vad_enabled) { - pj_bool_t is_silence; - pj_int32_t silence_duration; - - silence_duration = pj_timestamp_diff32(&data->last_tx, - &input->timestamp); - - is_silence = pjmedia_silence_det_detect(data->vad, - (const pj_int16_t*) input->buf, - (input->size >> 1), - NULL); - if (is_silence && - (PJMEDIA_CODEC_MAX_SILENCE_PERIOD == -1 || - silence_duration < PJMEDIA_CODEC_MAX_SILENCE_PERIOD* - (int)data->clock_rate/1000)) - { - output->type = PJMEDIA_FRAME_TYPE_NONE; - output->buf = NULL; - output->size = 0; - output->timestamp = input->timestamp; - return PJ_SUCCESS; - } else { - data->last_tx = input->timestamp; - } - } - - /* Encode */ -#if defined(PJ_IS_LITTLE_ENDIAN) && PJ_IS_LITTLE_ENDIAN!=0 - while (samp!=samp_end) - *samp_out++ = pj_htons(*samp++); -#else - pjmedia_copy_samples(samp_out, samp, input->size >> 1); -#endif - - - /* Done */ - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->size = input->size; - output->timestamp = input->timestamp; - - return PJ_SUCCESS; -} - -static pj_status_t l16_decode(pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - struct l16_data *l16_data = (struct l16_data*) codec->codec_data; - const pj_int16_t *samp = (const pj_int16_t*) input->buf; - const pj_int16_t *samp_end = samp + input->size/sizeof(pj_int16_t); - pj_int16_t *samp_out = (pj_int16_t*) output->buf; - - pj_assert(l16_data != NULL); - PJ_ASSERT_RETURN(input && output, PJ_EINVAL); - - - /* Check output buffer length */ - if (output_buf_len < input->size) - return PJMEDIA_CODEC_EPCMTOOSHORT; - - - /* Decode */ -#if defined(PJ_IS_LITTLE_ENDIAN) && PJ_IS_LITTLE_ENDIAN!=0 - while (samp!=samp_end) - *samp_out++ = pj_htons(*samp++); -#else - pjmedia_copy_samples(samp_out, samp, input->size >> 1); -#endif - - - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->size = input->size; - output->timestamp = input->timestamp; - -#if !PLC_DISABLED - if (l16_data->plc_enabled) - pjmedia_plc_save( l16_data->plc, (pj_int16_t*)output->buf); -#endif - - return PJ_SUCCESS; -} - -#if !PLC_DISABLED -/* - * Recover lost frame. - */ -static pj_status_t l16_recover(pjmedia_codec *codec, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - struct l16_data *data = (struct l16_data*) codec->codec_data; - - PJ_ASSERT_RETURN(data->plc_enabled, PJ_EINVALIDOP); - - PJ_ASSERT_RETURN(output_buf_len >= data->frame_size, - PJMEDIA_CODEC_EPCMTOOSHORT); - - pjmedia_plc_generate(data->plc, (pj_int16_t*)output->buf); - output->size = data->frame_size; - - return PJ_SUCCESS; -} -#endif - -#endif /* PJMEDIA_HAS_L16_CODEC */ - - diff --git a/res/pjproject/pjmedia/src/pjmedia-codec/opencore_amrnb.c b/res/pjproject/pjmedia/src/pjmedia-codec/opencore_amrnb.c deleted file mode 100644 index cdfdda01ff..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-codec/opencore_amrnb.c +++ /dev/null @@ -1,831 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2011 Dan Arrhenius - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * AMR-NB codec implementation with OpenCORE AMRNB library - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#if defined(PJMEDIA_HAS_OPENCORE_AMRNB_CODEC) && \ - (PJMEDIA_HAS_OPENCORE_AMRNB_CODEC != 0) - -#include -#include -#include -#include - -#define THIS_FILE "opencore_amrnb.c" - -/* Tracing */ -#define PJ_TRACE 0 - -#if PJ_TRACE -# define TRACE_(expr) PJ_LOG(4,expr) -#else -# define TRACE_(expr) -#endif - -/* Use PJMEDIA PLC */ -#define USE_PJMEDIA_PLC 1 - - - -/* Prototypes for AMR-NB factory */ -static pj_status_t amr_test_alloc(pjmedia_codec_factory *factory, - const pjmedia_codec_info *id ); -static pj_status_t amr_default_attr(pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ); -static pj_status_t amr_enum_codecs(pjmedia_codec_factory *factory, - unsigned *count, - pjmedia_codec_info codecs[]); -static pj_status_t amr_alloc_codec(pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec **p_codec); -static pj_status_t amr_dealloc_codec(pjmedia_codec_factory *factory, - pjmedia_codec *codec ); - -/* Prototypes for AMR-NB implementation. */ -static pj_status_t amr_codec_init(pjmedia_codec *codec, - pj_pool_t *pool ); -static pj_status_t amr_codec_open(pjmedia_codec *codec, - pjmedia_codec_param *attr ); -static pj_status_t amr_codec_close(pjmedia_codec *codec ); -static pj_status_t amr_codec_modify(pjmedia_codec *codec, - const pjmedia_codec_param *attr ); -static pj_status_t amr_codec_parse(pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *ts, - unsigned *frame_cnt, - pjmedia_frame frames[]); -static pj_status_t amr_codec_encode(pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output); -static pj_status_t amr_codec_decode(pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output); -static pj_status_t amr_codec_recover(pjmedia_codec *codec, - unsigned output_buf_len, - struct pjmedia_frame *output); - - - -/* Definition for AMR-NB codec operations. */ -static pjmedia_codec_op amr_op = -{ - &amr_codec_init, - &amr_codec_open, - &amr_codec_close, - &amr_codec_modify, - &amr_codec_parse, - &amr_codec_encode, - &amr_codec_decode, - &amr_codec_recover -}; - -/* Definition for AMR-NB codec factory operations. */ -static pjmedia_codec_factory_op amr_factory_op = -{ - &amr_test_alloc, - &amr_default_attr, - &amr_enum_codecs, - &amr_alloc_codec, - &amr_dealloc_codec, - &pjmedia_codec_opencore_amrnb_deinit -}; - - -/* AMR-NB factory */ -static struct amr_codec_factory -{ - pjmedia_codec_factory base; - pjmedia_endpt *endpt; - pj_pool_t *pool; -} amr_codec_factory; - - -/* AMR-NB codec private data. */ -struct amr_data -{ - pj_pool_t *pool; - void *encoder; - void *decoder; - pj_bool_t plc_enabled; - pj_bool_t vad_enabled; - int enc_mode; - pjmedia_codec_amr_pack_setting enc_setting; - pjmedia_codec_amr_pack_setting dec_setting; -#if USE_PJMEDIA_PLC - pjmedia_plc *plc; -#endif - pj_timestamp last_tx; -}; - -static pjmedia_codec_amrnb_config def_config = -{ - PJ_FALSE, /* octet align */ - 5900 /* bitrate */ -}; - - - -/* - * Initialize and register AMR-NB codec factory to pjmedia endpoint. - */ -PJ_DEF(pj_status_t) pjmedia_codec_opencore_amrnb_init( pjmedia_endpt *endpt ) -{ - pjmedia_codec_mgr *codec_mgr; - pj_str_t codec_name; - pj_status_t status; - - if (amr_codec_factory.pool != NULL) - return PJ_SUCCESS; - - /* Create AMR-NB codec factory. */ - amr_codec_factory.base.op = &amr_factory_op; - amr_codec_factory.base.factory_data = NULL; - amr_codec_factory.endpt = endpt; - - amr_codec_factory.pool = pjmedia_endpt_create_pool(endpt, "amrnb", 1000, - 1000); - if (!amr_codec_factory.pool) - return PJ_ENOMEM; - - /* Get the codec manager. */ - codec_mgr = pjmedia_endpt_get_codec_mgr(endpt); - if (!codec_mgr) { - status = PJ_EINVALIDOP; - goto on_error; - } - - /* Register format match callback. */ - pj_cstr(&codec_name, "AMR"); - status = pjmedia_sdp_neg_register_fmt_match_cb( - &codec_name, - &pjmedia_codec_amr_match_sdp); - if (status != PJ_SUCCESS) - goto on_error; - - /* Register codec factory to endpoint. */ - status = pjmedia_codec_mgr_register_factory(codec_mgr, - &amr_codec_factory.base); - if (status != PJ_SUCCESS) - goto on_error; - - /* Done. */ - return PJ_SUCCESS; - -on_error: - pj_pool_release(amr_codec_factory.pool); - amr_codec_factory.pool = NULL; - return status; -} - - -/* - * Unregister AMR-NB codec factory from pjmedia endpoint and deinitialize - * the AMR-NB codec library. - */ -PJ_DEF(pj_status_t) pjmedia_codec_opencore_amrnb_deinit(void) -{ - pjmedia_codec_mgr *codec_mgr; - pj_status_t status; - - if (amr_codec_factory.pool == NULL) - return PJ_SUCCESS; - - /* Get the codec manager. */ - codec_mgr = pjmedia_endpt_get_codec_mgr(amr_codec_factory.endpt); - if (!codec_mgr) { - pj_pool_release(amr_codec_factory.pool); - amr_codec_factory.pool = NULL; - return PJ_EINVALIDOP; - } - - /* Unregister AMR-NB codec factory. */ - status = pjmedia_codec_mgr_unregister_factory(codec_mgr, - &amr_codec_factory.base); - - /* Destroy pool. */ - pj_pool_release(amr_codec_factory.pool); - amr_codec_factory.pool = NULL; - - return status; -} - - -PJ_DEF(pj_status_t) pjmedia_codec_opencore_amrnb_set_config( - const pjmedia_codec_amrnb_config *config) -{ - unsigned nbitrates; - - - def_config = *config; - - /* Normalize bitrate. */ - nbitrates = PJ_ARRAY_SIZE(pjmedia_codec_amrnb_bitrates); - if (def_config.bitrate < pjmedia_codec_amrnb_bitrates[0]) - def_config.bitrate = pjmedia_codec_amrnb_bitrates[0]; - else if (def_config.bitrate > pjmedia_codec_amrnb_bitrates[nbitrates-1]) - def_config.bitrate = pjmedia_codec_amrnb_bitrates[nbitrates-1]; - else - { - unsigned i; - - for (i = 0; i < nbitrates; ++i) { - if (def_config.bitrate <= pjmedia_codec_amrnb_bitrates[i]) - break; - } - def_config.bitrate = pjmedia_codec_amrnb_bitrates[i]; - } - - return PJ_SUCCESS; -} - -/* - * Check if factory can allocate the specified codec. - */ -static pj_status_t amr_test_alloc( pjmedia_codec_factory *factory, - const pjmedia_codec_info *info ) -{ - PJ_UNUSED_ARG(factory); - - /* Check payload type. */ - if (info->pt != PJMEDIA_RTP_PT_AMR) - return PJMEDIA_CODEC_EUNSUP; - - /* Ignore the rest, since it's static payload type. */ - - return PJ_SUCCESS; -} - -/* - * Generate default attribute. - */ -static pj_status_t amr_default_attr( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ) -{ - PJ_UNUSED_ARG(factory); - PJ_UNUSED_ARG(id); - - pj_bzero(attr, sizeof(pjmedia_codec_param)); - attr->info.clock_rate = 8000; - attr->info.channel_cnt = 1; - attr->info.avg_bps = def_config.bitrate; - attr->info.max_bps = pjmedia_codec_amrnb_bitrates[7]; - attr->info.pcm_bits_per_sample = 16; - attr->info.frm_ptime = 20; - attr->info.pt = PJMEDIA_RTP_PT_AMR; - - attr->setting.frm_per_pkt = 2; - attr->setting.vad = 1; - attr->setting.plc = 1; - - if (def_config.octet_align) { - attr->setting.dec_fmtp.cnt = 1; - attr->setting.dec_fmtp.param[0].name = pj_str("octet-align"); - attr->setting.dec_fmtp.param[0].val = pj_str("1"); - } - - /* Default all other flag bits disabled. */ - - return PJ_SUCCESS; -} - - -/* - * Enum codecs supported by this factory (i.e. only AMR-NB!). - */ -static pj_status_t amr_enum_codecs( pjmedia_codec_factory *factory, - unsigned *count, - pjmedia_codec_info codecs[]) -{ - PJ_UNUSED_ARG(factory); - PJ_ASSERT_RETURN(codecs && *count > 0, PJ_EINVAL); - - pj_bzero(&codecs[0], sizeof(pjmedia_codec_info)); - codecs[0].encoding_name = pj_str("AMR"); - codecs[0].pt = PJMEDIA_RTP_PT_AMR; - codecs[0].type = PJMEDIA_TYPE_AUDIO; - codecs[0].clock_rate = 8000; - codecs[0].channel_cnt = 1; - - *count = 1; - - return PJ_SUCCESS; -} - - -/* - * Allocate a new AMR-NB codec instance. - */ -static pj_status_t amr_alloc_codec( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec **p_codec) -{ - pj_pool_t *pool; - pjmedia_codec *codec; - struct amr_data *amr_data; - pj_status_t status; - - PJ_ASSERT_RETURN(factory && id && p_codec, PJ_EINVAL); - PJ_ASSERT_RETURN(factory == &amr_codec_factory.base, PJ_EINVAL); - - pool = pjmedia_endpt_create_pool(amr_codec_factory.endpt, "amrnb-inst", - 512, 512); - - codec = PJ_POOL_ZALLOC_T(pool, pjmedia_codec); - PJ_ASSERT_RETURN(codec != NULL, PJ_ENOMEM); - codec->op = &amr_op; - codec->factory = factory; - - amr_data = PJ_POOL_ZALLOC_T(pool, struct amr_data); - codec->codec_data = amr_data; - amr_data->pool = pool; - -#if USE_PJMEDIA_PLC - /* Create PLC */ - status = pjmedia_plc_create(pool, 8000, 160, 0, &amr_data->plc); - if (status != PJ_SUCCESS) { - return status; - } -#else - PJ_UNUSED_ARG(status); -#endif - *p_codec = codec; - return PJ_SUCCESS; -} - - -/* - * Free codec. - */ -static pj_status_t amr_dealloc_codec( pjmedia_codec_factory *factory, - pjmedia_codec *codec ) -{ - struct amr_data *amr_data; - - PJ_ASSERT_RETURN(factory && codec, PJ_EINVAL); - PJ_ASSERT_RETURN(factory == &amr_codec_factory.base, PJ_EINVAL); - - amr_data = (struct amr_data*) codec->codec_data; - - /* Close codec, if it's not closed. */ - amr_codec_close(codec); - - pj_pool_release(amr_data->pool); - amr_data = NULL; - - return PJ_SUCCESS; -} - -/* - * Init codec. - */ -static pj_status_t amr_codec_init( pjmedia_codec *codec, - pj_pool_t *pool ) -{ - PJ_UNUSED_ARG(codec); - PJ_UNUSED_ARG(pool); - return PJ_SUCCESS; -} - - -/* - * Open codec. - */ -static pj_status_t amr_codec_open( pjmedia_codec *codec, - pjmedia_codec_param *attr ) -{ - struct amr_data *amr_data = (struct amr_data*) codec->codec_data; - pjmedia_codec_amr_pack_setting *setting; - unsigned i; - pj_uint8_t octet_align = 0; - pj_int8_t enc_mode; - const pj_str_t STR_FMTP_OCTET_ALIGN = {"octet-align", 11}; - - PJ_ASSERT_RETURN(codec && attr, PJ_EINVAL); - PJ_ASSERT_RETURN(amr_data != NULL, PJ_EINVALIDOP); - - enc_mode = pjmedia_codec_amr_get_mode(attr->info.avg_bps); - pj_assert(enc_mode >= 0 && enc_mode <= 7); - - /* Check octet-align */ - for (i = 0; i < attr->setting.dec_fmtp.cnt; ++i) { - if (pj_stricmp(&attr->setting.dec_fmtp.param[i].name, - &STR_FMTP_OCTET_ALIGN) == 0) - { - octet_align = (pj_uint8_t) - (pj_strtoul(&attr->setting.dec_fmtp.param[i].val)); - break; - } - } - - /* Check mode-set */ - for (i = 0; i < attr->setting.enc_fmtp.cnt; ++i) { - const pj_str_t STR_FMTP_MODE_SET = {"mode-set", 8}; - - if (pj_stricmp(&attr->setting.enc_fmtp.param[i].name, - &STR_FMTP_MODE_SET) == 0) - { - const char *p; - pj_size_t l; - pj_int8_t diff = 99; - - /* Encoding mode is chosen based on local default mode setting: - * - if local default mode is included in the mode-set, use it - * - otherwise, find the closest mode to local default mode; - * if there are two closest modes, prefer to use the higher - * one, e.g: local default mode is 4, the mode-set param - * contains '2,3,5,6', then 5 will be chosen. - */ - p = pj_strbuf(&attr->setting.enc_fmtp.param[i].val); - l = pj_strlen(&attr->setting.enc_fmtp.param[i].val); - while (l--) { - if (*p>='0' && *p<='7') { - pj_int8_t tmp = *p - '0' - enc_mode; - - if (PJ_ABS(diff) > PJ_ABS(tmp) || - (PJ_ABS(diff) == PJ_ABS(tmp) && tmp > diff)) - { - diff = tmp; - if (diff == 0) break; - } - } - ++p; - } - PJ_ASSERT_RETURN(diff != 99, PJMEDIA_CODEC_EFAILED); - - enc_mode = enc_mode + diff; - - break; - } - } - - amr_data->vad_enabled = (attr->setting.vad != 0); - amr_data->plc_enabled = (attr->setting.plc != 0); - amr_data->enc_mode = enc_mode; - - amr_data->encoder = Encoder_Interface_init(amr_data->vad_enabled); - if (amr_data->encoder == NULL) { - TRACE_((THIS_FILE, "Encoder_Interface_init() failed")); - amr_codec_close(codec); - return PJMEDIA_CODEC_EFAILED; - } - setting = &amr_data->enc_setting; - pj_bzero(setting, sizeof(pjmedia_codec_amr_pack_setting)); - setting->amr_nb = 1; - setting->reorder = 0; - setting->octet_aligned = octet_align; - setting->cmr = 15; - - amr_data->decoder = Decoder_Interface_init(); - if (amr_data->decoder == NULL) { - TRACE_((THIS_FILE, "Decoder_Interface_init() failed")); - amr_codec_close(codec); - return PJMEDIA_CODEC_EFAILED; - } - setting = &amr_data->dec_setting; - pj_bzero(setting, sizeof(pjmedia_codec_amr_pack_setting)); - setting->amr_nb = 1; - setting->reorder = 0; - setting->octet_aligned = octet_align; - - TRACE_((THIS_FILE, "AMR-NB codec allocated: vad=%d, plc=%d, bitrate=%d", - amr_data->vad_enabled, amr_data->plc_enabled, - pjmedia_codec_amrnb_bitrates[amr_data->enc_mode])); - return PJ_SUCCESS; -} - - -/* - * Close codec. - */ -static pj_status_t amr_codec_close( pjmedia_codec *codec ) -{ - struct amr_data *amr_data; - - PJ_ASSERT_RETURN(codec, PJ_EINVAL); - - amr_data = (struct amr_data*) codec->codec_data; - PJ_ASSERT_RETURN(amr_data != NULL, PJ_EINVALIDOP); - - if (amr_data->encoder) { - Encoder_Interface_exit(amr_data->encoder); - amr_data->encoder = NULL; - } - - if (amr_data->decoder) { - Decoder_Interface_exit(amr_data->decoder); - amr_data->decoder = NULL; - } - - TRACE_((THIS_FILE, "AMR-NB codec closed")); - return PJ_SUCCESS; -} - - -/* - * Modify codec settings. - */ -static pj_status_t amr_codec_modify( pjmedia_codec *codec, - const pjmedia_codec_param *attr ) -{ - struct amr_data *amr_data = (struct amr_data*) codec->codec_data; - pj_bool_t prev_vad_state; - - pj_assert(amr_data != NULL); - pj_assert(amr_data->encoder != NULL && amr_data->decoder != NULL); - - prev_vad_state = amr_data->vad_enabled; - amr_data->vad_enabled = (attr->setting.vad != 0); - amr_data->plc_enabled = (attr->setting.plc != 0); - - if (prev_vad_state != amr_data->vad_enabled) { - /* Reinit AMR encoder to update VAD setting */ - TRACE_((THIS_FILE, "Reiniting AMR encoder to update VAD setting.")); - Encoder_Interface_exit(amr_data->encoder); - amr_data->encoder = Encoder_Interface_init(amr_data->vad_enabled); - if (amr_data->encoder == NULL) { - TRACE_((THIS_FILE, "Encoder_Interface_init() failed")); - amr_codec_close(codec); - return PJMEDIA_CODEC_EFAILED; - } - } - - TRACE_((THIS_FILE, "AMR-NB codec modified: vad=%d, plc=%d", - amr_data->vad_enabled, amr_data->plc_enabled)); - return PJ_SUCCESS; -} - - -/* - * Get frames in the packet. - */ -static pj_status_t amr_codec_parse( pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *ts, - unsigned *frame_cnt, - pjmedia_frame frames[]) -{ - struct amr_data *amr_data = (struct amr_data*) codec->codec_data; - pj_uint8_t cmr; - pj_status_t status; - - status = pjmedia_codec_amr_parse(pkt, pkt_size, ts, &amr_data->dec_setting, - frames, frame_cnt, &cmr); - if (status != PJ_SUCCESS) - return status; - - /* Check for Change Mode Request. */ - if (cmr <= 7 && amr_data->enc_mode != cmr) { - amr_data->enc_mode = cmr; - TRACE_((THIS_FILE, "AMR-NB encoder switched mode to %d (%dbps)", - amr_data->enc_mode, - pjmedia_codec_amrnb_bitrates[amr_data->enc_mode])); - } - - return PJ_SUCCESS; -} - - -/* - * Encode frame. - */ -static pj_status_t amr_codec_encode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - struct amr_data *amr_data = (struct amr_data*) codec->codec_data; - unsigned char *bitstream; - pj_int16_t *speech; - unsigned nsamples, samples_per_frame; - enum {MAX_FRAMES_PER_PACKET = 16}; - pjmedia_frame frames[MAX_FRAMES_PER_PACKET]; - pj_uint8_t *p; - unsigned i, out_size = 0, nframes = 0; - pj_size_t payload_len; - unsigned dtx_cnt, sid_cnt; - pj_status_t status; - int size; - - pj_assert(amr_data != NULL); - PJ_ASSERT_RETURN(input && output, PJ_EINVAL); - - nsamples = input->size >> 1; - samples_per_frame = 160; - PJ_ASSERT_RETURN(nsamples % samples_per_frame == 0, - PJMEDIA_CODEC_EPCMFRMINLEN); - - nframes = nsamples / samples_per_frame; - PJ_ASSERT_RETURN(nframes <= MAX_FRAMES_PER_PACKET, - PJMEDIA_CODEC_EFRMTOOSHORT); - - /* Encode the frames */ - speech = (pj_int16_t*)input->buf; - bitstream = (unsigned char*)output->buf; - while (nsamples >= samples_per_frame) { - size = Encoder_Interface_Encode (amr_data->encoder, amr_data->enc_mode, - speech, bitstream, 0); - if (size == 0) { - output->size = 0; - output->buf = NULL; - output->type = PJMEDIA_FRAME_TYPE_NONE; - TRACE_((THIS_FILE, "AMR-NB encode() failed")); - return PJMEDIA_CODEC_EFAILED; - } - nsamples -= 160; - speech += samples_per_frame; - bitstream += size; - out_size += size; - TRACE_((THIS_FILE, "AMR-NB encode(): mode=%d, size=%d", - amr_data->enc_mode, out_size)); - } - - /* Pack payload */ - p = (pj_uint8_t*)output->buf + output_buf_len - out_size; - pj_memmove(p, output->buf, out_size); - dtx_cnt = sid_cnt = 0; - for (i = 0; i < nframes; ++i) { - pjmedia_codec_amr_bit_info *info = (pjmedia_codec_amr_bit_info*) - &frames[i].bit_info; - info->frame_type = (pj_uint8_t)((*p >> 3) & 0x0F); - info->good_quality = (pj_uint8_t)((*p >> 2) & 0x01); - info->mode = (pj_int8_t)amr_data->enc_mode; - info->start_bit = 0; - frames[i].buf = p + 1; - frames[i].size = (info->frame_type <= 8)? - pjmedia_codec_amrnb_framelen[info->frame_type] : 0; - p += frames[i].size + 1; - - /* Count the number of SID and DTX frames */ - if (info->frame_type == 15) /* DTX*/ - ++dtx_cnt; - else if (info->frame_type == 8) /* SID */ - ++sid_cnt; - } - - /* VA generates DTX frames as DTX+SID frames switching quickly and it - * seems that the SID frames occur too often (assuming the purpose is - * only for keeping NAT alive?). So let's modify the behavior a bit. - * Only an SID frame will be sent every PJMEDIA_CODEC_MAX_SILENCE_PERIOD - * milliseconds. - */ - if (sid_cnt + dtx_cnt == nframes) { - pj_int32_t dtx_duration; - - dtx_duration = pj_timestamp_diff32(&amr_data->last_tx, - &input->timestamp); - if (PJMEDIA_CODEC_MAX_SILENCE_PERIOD == -1 || - dtx_duration < PJMEDIA_CODEC_MAX_SILENCE_PERIOD*8000/1000) - { - output->size = 0; - output->type = PJMEDIA_FRAME_TYPE_NONE; - output->timestamp = input->timestamp; - return PJ_SUCCESS; - } - } - - payload_len = output_buf_len; - - status = pjmedia_codec_amr_pack(frames, nframes, &amr_data->enc_setting, - output->buf, &payload_len); - if (status != PJ_SUCCESS) { - output->size = 0; - output->buf = NULL; - output->type = PJMEDIA_FRAME_TYPE_NONE; - TRACE_((THIS_FILE, "Failed to pack AMR payload, status=%d", status)); - return status; - } - - output->size = payload_len; - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->timestamp = input->timestamp; - - amr_data->last_tx = input->timestamp; - - return PJ_SUCCESS; -} - - -/* - * Decode frame. - */ -static pj_status_t amr_codec_decode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - struct amr_data *amr_data = (struct amr_data*) codec->codec_data; - pjmedia_frame input_; - pjmedia_codec_amr_bit_info *info; - /* VA AMR-NB decoding buffer: AMR-NB max frame size + 1 byte header. */ - unsigned char bitstream[32]; - - pj_assert(amr_data != NULL); - PJ_ASSERT_RETURN(input && output, PJ_EINVAL); - - if (output_buf_len < 320) - return PJMEDIA_CODEC_EPCMTOOSHORT; - - input_.buf = &bitstream[1]; - input_.size = 31; /* AMR-NB max frame size */ - pjmedia_codec_amr_predecode(input, &amr_data->dec_setting, &input_); - info = (pjmedia_codec_amr_bit_info*)&input_.bit_info; - - /* VA AMRNB decoder requires frame info in the first byte. */ - bitstream[0] = (info->frame_type << 3) | (info->good_quality << 2); - - TRACE_((THIS_FILE, "AMR-NB decode(): mode=%d, ft=%d, size=%d", - info->mode, info->frame_type, input_.size)); - - /* Decode */ - Decoder_Interface_Decode(amr_data->decoder, bitstream, - (pj_int16_t*)output->buf, 0); - - output->size = 320; - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->timestamp = input->timestamp; - -#if USE_PJMEDIA_PLC - if (amr_data->plc_enabled) - pjmedia_plc_save(amr_data->plc, (pj_int16_t*)output->buf); -#endif - - return PJ_SUCCESS; -} - - -/* - * Recover lost frame. - */ -#if USE_PJMEDIA_PLC -/* - * Recover lost frame. - */ -static pj_status_t amr_codec_recover( pjmedia_codec *codec, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - struct amr_data *amr_data = codec->codec_data; - - TRACE_((THIS_FILE, "amr_codec_recover")); - - PJ_ASSERT_RETURN(amr_data->plc_enabled, PJ_EINVALIDOP); - - PJ_ASSERT_RETURN(output_buf_len >= 320, PJMEDIA_CODEC_EPCMTOOSHORT); - - pjmedia_plc_generate(amr_data->plc, (pj_int16_t*)output->buf); - - output->size = 320; - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - - return PJ_SUCCESS; -} -#endif - -#if defined(_MSC_VER) && PJMEDIA_AUTO_LINK_OPENCORE_AMR_LIBS -# if PJMEDIA_OPENCORE_AMR_BUILT_WITH_GCC -# pragma comment( lib, "libopencore-amrnb.a") -# else -# error Unsupported OpenCORE AMR library, fix here -# endif -#endif - -#endif diff --git a/res/pjproject/pjmedia/src/pjmedia-codec/passthrough.c b/res/pjproject/pjmedia/src/pjmedia-codec/passthrough.c deleted file mode 100644 index c2f9f9a436..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-codec/passthrough.c +++ /dev/null @@ -1,1054 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Only build this file if PJMEDIA_HAS_PASSTHROUGH_CODECS != 0 - */ -#if defined(PJMEDIA_HAS_PASSTHROUGH_CODECS) && PJMEDIA_HAS_PASSTHROUGH_CODECS!=0 - -#define THIS_FILE "passthrough.c" - - -/* Prototypes for passthrough codecs factory */ -static pj_status_t test_alloc( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id ); -static pj_status_t default_attr( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ); -static pj_status_t enum_codecs( pjmedia_codec_factory *factory, - unsigned *count, - pjmedia_codec_info codecs[]); -static pj_status_t alloc_codec( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec **p_codec); -static pj_status_t dealloc_codec( pjmedia_codec_factory *factory, - pjmedia_codec *codec ); - -/* Prototypes for passthrough codecs implementation. */ -static pj_status_t codec_init( pjmedia_codec *codec, - pj_pool_t *pool ); -static pj_status_t codec_open( pjmedia_codec *codec, - pjmedia_codec_param *attr ); -static pj_status_t codec_close( pjmedia_codec *codec ); -static pj_status_t codec_modify(pjmedia_codec *codec, - const pjmedia_codec_param *attr ); -static pj_status_t codec_parse( pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *ts, - unsigned *frame_cnt, - pjmedia_frame frames[]); -static pj_status_t codec_encode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output); -static pj_status_t codec_decode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output); -static pj_status_t codec_recover( pjmedia_codec *codec, - unsigned output_buf_len, - struct pjmedia_frame *output); - -/* Definition for passthrough codecs operations. */ -static pjmedia_codec_op codec_op = -{ - &codec_init, - &codec_open, - &codec_close, - &codec_modify, - &codec_parse, - &codec_encode, - &codec_decode, - &codec_recover -}; - -/* Definition for passthrough codecs factory operations. */ -static pjmedia_codec_factory_op codec_factory_op = -{ - &test_alloc, - &default_attr, - &enum_codecs, - &alloc_codec, - &dealloc_codec, - &pjmedia_codec_passthrough_deinit -}; - -/* Passthrough codecs factory */ -static struct codec_factory { - pjmedia_codec_factory base; - pjmedia_endpt *endpt; - pj_pool_t *pool; - pj_mutex_t *mutex; -} codec_factory; - -/* Passthrough codecs private data. */ -typedef struct codec_private { - pj_pool_t *pool; /**< Pool for each instance. */ - int codec_idx; /**< Codec index. */ - void *codec_setting; /**< Specific codec setting. */ - pj_uint16_t avg_frame_size; /**< Average of frame size. */ - unsigned samples_per_frame; /**< Samples per frame, for iLBC - this can be 240 or 160, can - only be known after codec is - opened. */ -} codec_private_t; - - - -/* CUSTOM CALLBACKS */ - -/* Parse frames from a packet. Default behaviour of frame parsing is - * just separating frames based on calculating frame length derived - * from bitrate. Implement this callback when the default behaviour is - * unapplicable. - */ -typedef pj_status_t (*parse_cb)(codec_private_t *codec_data, void *pkt, - pj_size_t pkt_size, const pj_timestamp *ts, - unsigned *frame_cnt, pjmedia_frame frames[]); - -/* Pack frames into a packet. Default behaviour of packing frames is - * just stacking the frames with octet aligned without adding any - * payload header. Implement this callback when the default behaviour is - * unapplicable. - */ -typedef pj_status_t (*pack_cb)(codec_private_t *codec_data, - const struct pjmedia_frame_ext *input, - unsigned output_buf_len, - struct pjmedia_frame *output); - - -/* Custom callback implementations. */ -static pj_status_t parse_amr( codec_private_t *codec_data, void *pkt, - pj_size_t pkt_size, const pj_timestamp *ts, - unsigned *frame_cnt, pjmedia_frame frames[]); -static pj_status_t pack_amr ( codec_private_t *codec_data, - const struct pjmedia_frame_ext *input, - unsigned output_buf_len, - struct pjmedia_frame *output); - - -/* Passthrough codec implementation descriptions. */ -static struct codec_desc { - int enabled; /* Is this codec enabled? */ - const char *name; /* Codec name. */ - pj_uint8_t pt; /* Payload type. */ - pjmedia_format_id fmt_id; /* Source format. */ - unsigned clock_rate; /* Codec's clock rate. */ - unsigned channel_count; /* Codec's channel count. */ - unsigned samples_per_frame; /* Codec's samples count. */ - unsigned def_bitrate; /* Default bitrate of this codec. */ - unsigned max_bitrate; /* Maximum bitrate of this codec. */ - pj_uint8_t frm_per_pkt; /* Default num of frames per packet.*/ - pj_uint8_t vad; /* VAD enabled/disabled. */ - pj_uint8_t plc; /* PLC enabled/disabled. */ - parse_cb parse; /* Callback to parse bitstream. */ - pack_cb pack; /* Callback to pack bitstream. */ - pjmedia_codec_fmtp dec_fmtp; /* Decoder's fmtp params. */ -} - -codec_desc[] = -{ -# if PJMEDIA_HAS_PASSTHROUGH_CODEC_AMR - {1, "AMR", PJMEDIA_RTP_PT_AMR, PJMEDIA_FORMAT_AMR, - 8000, 1, 160, - 7400, 12200, 2, 1, 1, - &parse_amr, &pack_amr - /*, {1, {{{"octet-align", 11}, {"1", 1}}} } */ - }, -# endif - -# if PJMEDIA_HAS_PASSTHROUGH_CODEC_G729 - {1, "G729", PJMEDIA_RTP_PT_G729, PJMEDIA_FORMAT_G729, - 8000, 1, 80, - 8000, 8000, 2, 1, 1 - }, -# endif - -# if PJMEDIA_HAS_PASSTHROUGH_CODEC_ILBC - {1, "iLBC", PJMEDIA_RTP_PT_ILBC, PJMEDIA_FORMAT_ILBC, - 8000, 1, 240, - 13333, 15200, 1, 1, 1, - NULL, NULL, - {1, {{{"mode", 4}, {"30", 2}}} } - }, -# endif - -# if PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMU - {1, "PCMU", PJMEDIA_RTP_PT_PCMU, PJMEDIA_FORMAT_PCMU, - 8000, 1, 80, - 64000, 64000, 2, 1, 1 - }, -# endif - -# if PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMA - {1, "PCMA", PJMEDIA_RTP_PT_PCMA, PJMEDIA_FORMAT_PCMA, - 8000, 1, 80, - 64000, 64000, 2, 1, 1 - }, -# endif -}; - - -#if PJMEDIA_HAS_PASSTHROUGH_CODEC_AMR - -#include - -typedef struct amr_settings_t { - pjmedia_codec_amr_pack_setting enc_setting; - pjmedia_codec_amr_pack_setting dec_setting; - pj_int8_t enc_mode; -} amr_settings_t; - - -/* Pack AMR payload */ -static pj_status_t pack_amr ( codec_private_t *codec_data, - const struct pjmedia_frame_ext *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - enum {MAX_FRAMES_PER_PACKET = PJMEDIA_MAX_FRAME_DURATION_MS / 20}; - - pjmedia_frame frames[MAX_FRAMES_PER_PACKET]; - amr_settings_t* setting = (amr_settings_t*)codec_data->codec_setting; - pjmedia_codec_amr_pack_setting *enc_setting = &setting->enc_setting; - pj_uint8_t SID_FT; - unsigned i; - - pj_assert(input->subframe_cnt <= MAX_FRAMES_PER_PACKET); - - SID_FT = (pj_uint8_t)(enc_setting->amr_nb? 8 : 9); - - /* Get frames */ - for (i = 0; i < input->subframe_cnt; ++i) { - pjmedia_frame_ext_subframe *sf; - pjmedia_codec_amr_bit_info *info; - unsigned len; - - sf = pjmedia_frame_ext_get_subframe(input, i); - len = (sf->bitlen + 7) >> 3; - - info = (pjmedia_codec_amr_bit_info*) &frames[i].bit_info; - pj_bzero(info, sizeof(*info)); - - if (len == 0) { - /* DTX */ - info->frame_type = 15; - } else { - info->frame_type = pjmedia_codec_amr_get_mode2(enc_setting->amr_nb, - len); - } - info->good_quality = 1; - info->mode = setting->enc_mode; - if (info->frame_type == SID_FT) - info->STI = (sf->data[4] >> 4) & 1; - - frames[i].buf = sf->data; - frames[i].size = len; - } - - output->size = output_buf_len; - - return pjmedia_codec_amr_pack(frames, input->subframe_cnt, enc_setting, - output->buf, &output->size); -} - - -/* Parse AMR payload into frames. */ -static pj_status_t parse_amr(codec_private_t *codec_data, void *pkt, - pj_size_t pkt_size, const pj_timestamp *ts, - unsigned *frame_cnt, pjmedia_frame frames[]) -{ - amr_settings_t* s = (amr_settings_t*)codec_data->codec_setting; - pjmedia_codec_amr_pack_setting *setting; - pj_status_t status; - pj_uint8_t cmr; - - setting = &s->dec_setting; - - status = pjmedia_codec_amr_parse(pkt, pkt_size, ts, setting, frames, - frame_cnt, &cmr); - if (status != PJ_SUCCESS) - return status; - - // CMR is not supported for now. - /* Check Change Mode Request. */ - //if ((setting->amr_nb && cmr <= 7) || (!setting->amr_nb && cmr <= 8)) { - // s->enc_mode = cmr; - //} - - return PJ_SUCCESS; -} - -#endif /* PJMEDIA_HAS_PASSTROUGH_CODEC_AMR */ - - -/* - * Initialize and register passthrough codec factory to pjmedia endpoint. - */ -PJ_DEF(pj_status_t) pjmedia_codec_passthrough_init( pjmedia_endpt *endpt ) -{ - pjmedia_codec_mgr *codec_mgr; - pj_str_t codec_name; - pj_status_t status; - - if (codec_factory.pool != NULL) { - /* Already initialized. */ - return PJ_EEXISTS; - } - - /* Create passthrough codec factory. */ - codec_factory.base.op = &codec_factory_op; - codec_factory.base.factory_data = NULL; - codec_factory.endpt = endpt; - - codec_factory.pool = pjmedia_endpt_create_pool(endpt, "Passthrough codecs", - 4000, 4000); - if (!codec_factory.pool) - return PJ_ENOMEM; - - /* Create mutex. */ - status = pj_mutex_create_simple(codec_factory.pool, "Passthrough codecs", - &codec_factory.mutex); - if (status != PJ_SUCCESS) - goto on_error; - - /* Get the codec manager. */ - codec_mgr = pjmedia_endpt_get_codec_mgr(endpt); - if (!codec_mgr) { - status = PJ_EINVALIDOP; - goto on_error; - } - - /* Register format match callback. */ -#if PJMEDIA_HAS_PASSTROUGH_CODEC_AMR - pj_cstr(&codec_name, "AMR"); - status = pjmedia_sdp_neg_register_fmt_match_cb( - &codec_name, - &pjmedia_codec_amr_match_sdp); - if (status != PJ_SUCCESS) - goto on_error; -#endif - - /* Suppress compile warning */ - PJ_UNUSED_ARG(codec_name); - - /* Register codec factory to endpoint. */ - status = pjmedia_codec_mgr_register_factory(codec_mgr, - &codec_factory.base); - if (status != PJ_SUCCESS) - goto on_error; - - /* Done. */ - return PJ_SUCCESS; - -on_error: - pj_pool_release(codec_factory.pool); - codec_factory.pool = NULL; - return status; -} - -/* - * Initialize and register passthrough codec factory to pjmedia endpoint. - */ -PJ_DEF(pj_status_t) pjmedia_codec_passthrough_init2( - pjmedia_endpt *endpt, - const pjmedia_codec_passthrough_setting *setting) -{ - if (codec_factory.pool != NULL) { - /* Already initialized. */ - return PJ_EEXISTS; - } - - if (setting != NULL) { - unsigned i; - - /* Enable/disable codecs based on the specified encoding formats */ - for (i = 0; i < PJ_ARRAY_SIZE(codec_desc); ++i) { - pj_bool_t enabled = PJ_FALSE; - unsigned j; - - for (j = 0; j < setting->fmt_cnt && !enabled; ++j) { - if ((pj_uint32_t)codec_desc[i].fmt_id == setting->fmts[j].id) - enabled = PJ_TRUE; - } - - codec_desc[i].enabled = enabled; - } - -#if PJMEDIA_HAS_PASSTHROUGH_CODEC_ILBC - /* Update iLBC codec description based on default mode setting. */ - for (i = 0; i < PJ_ARRAY_SIZE(codec_desc); ++i) { - if (codec_desc[i].enabled && - codec_desc[i].fmt_id == PJMEDIA_FORMAT_ILBC) - { - codec_desc[i].samples_per_frame = - (setting->ilbc_mode == 20? 160 : 240); - codec_desc[i].def_bitrate = - (setting->ilbc_mode == 20? 15200 : 13333); - pj_strset2(&codec_desc[i].dec_fmtp.param[0].val, - (setting->ilbc_mode == 20? "20" : "30")); - break; - } - } -#endif - } - - return pjmedia_codec_passthrough_init(endpt); -} - -/* - * Unregister passthrough codecs factory from pjmedia endpoint. - */ -PJ_DEF(pj_status_t) pjmedia_codec_passthrough_deinit(void) -{ - pjmedia_codec_mgr *codec_mgr; - unsigned i; - pj_status_t status; - - if (codec_factory.pool == NULL) { - /* Already deinitialized */ - return PJ_SUCCESS; - } - - pj_mutex_lock(codec_factory.mutex); - - /* Get the codec manager. */ - codec_mgr = pjmedia_endpt_get_codec_mgr(codec_factory.endpt); - if (!codec_mgr) { - pj_pool_release(codec_factory.pool); - codec_factory.pool = NULL; - return PJ_EINVALIDOP; - } - - /* Unregister passthrough codecs factory. */ - status = pjmedia_codec_mgr_unregister_factory(codec_mgr, - &codec_factory.base); - - /* Destroy mutex. */ - pj_mutex_destroy(codec_factory.mutex); - - /* Destroy pool. */ - pj_pool_release(codec_factory.pool); - codec_factory.pool = NULL; - - /* Re-enable all codecs in the codec_desc. */ - for (i = 0; i < PJ_ARRAY_SIZE(codec_desc); ++i) { - codec_desc[i].enabled = PJ_TRUE; - } - - return status; -} - -/* - * Check if factory can allocate the specified codec. - */ -static pj_status_t test_alloc( pjmedia_codec_factory *factory, - const pjmedia_codec_info *info ) -{ - unsigned i; - - PJ_UNUSED_ARG(factory); - - /* Type MUST be audio. */ - if (info->type != PJMEDIA_TYPE_AUDIO) - return PJMEDIA_CODEC_EUNSUP; - - for (i = 0; i < PJ_ARRAY_SIZE(codec_desc); ++i) { - pj_str_t name = pj_str((char*)codec_desc[i].name); - if ((pj_stricmp(&info->encoding_name, &name) == 0) && - (info->clock_rate == (unsigned)codec_desc[i].clock_rate) && - (info->channel_cnt == (unsigned)codec_desc[i].channel_count) && - (codec_desc[i].enabled)) - { - return PJ_SUCCESS; - } - } - - /* Unsupported, or mode is disabled. */ - return PJMEDIA_CODEC_EUNSUP; -} - -/* - * Generate default attribute. - */ -static pj_status_t default_attr ( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ) -{ - unsigned i; - - PJ_ASSERT_RETURN(factory==&codec_factory.base, PJ_EINVAL); - - pj_bzero(attr, sizeof(pjmedia_codec_param)); - - for (i = 0; i < PJ_ARRAY_SIZE(codec_desc); ++i) { - pj_str_t name = pj_str((char*)codec_desc[i].name); - if ((pj_stricmp(&id->encoding_name, &name) == 0) && - (id->clock_rate == (unsigned)codec_desc[i].clock_rate) && - (id->channel_cnt == (unsigned)codec_desc[i].channel_count) && - (id->pt == (unsigned)codec_desc[i].pt)) - { - attr->info.pt = (pj_uint8_t)id->pt; - attr->info.channel_cnt = codec_desc[i].channel_count; - attr->info.clock_rate = codec_desc[i].clock_rate; - attr->info.avg_bps = codec_desc[i].def_bitrate; - attr->info.max_bps = codec_desc[i].max_bitrate; - attr->info.pcm_bits_per_sample = 16; - attr->info.frm_ptime = (pj_uint16_t) - (codec_desc[i].samples_per_frame * 1000 / - codec_desc[i].channel_count / - codec_desc[i].clock_rate); - attr->info.fmt_id = codec_desc[i].fmt_id; - - /* Default flags. */ - attr->setting.frm_per_pkt = codec_desc[i].frm_per_pkt; - attr->setting.plc = codec_desc[i].plc; - attr->setting.penh= 0; - attr->setting.vad = codec_desc[i].vad; - attr->setting.cng = attr->setting.vad; - attr->setting.dec_fmtp = codec_desc[i].dec_fmtp; - - if (attr->setting.vad == 0) { -#if PJMEDIA_HAS_PASSTHROUGH_CODEC_G729 - if (id->pt == PJMEDIA_RTP_PT_G729) { - /* Signal G729 Annex B is being disabled */ - attr->setting.dec_fmtp.cnt = 1; - pj_strset2(&attr->setting.dec_fmtp.param[0].name, "annexb"); - pj_strset2(&attr->setting.dec_fmtp.param[0].val, "no"); - } -#endif - } - - return PJ_SUCCESS; - } - } - - return PJMEDIA_CODEC_EUNSUP; -} - -/* - * Enum codecs supported by this factory. - */ -static pj_status_t enum_codecs( pjmedia_codec_factory *factory, - unsigned *count, - pjmedia_codec_info codecs[]) -{ - unsigned max; - unsigned i; - - PJ_UNUSED_ARG(factory); - PJ_ASSERT_RETURN(codecs && *count > 0, PJ_EINVAL); - - max = *count; - - for (i = 0, *count = 0; i < PJ_ARRAY_SIZE(codec_desc) && *count < max; ++i) - { - if (!codec_desc[i].enabled) - continue; - - pj_bzero(&codecs[*count], sizeof(pjmedia_codec_info)); - codecs[*count].encoding_name = pj_str((char*)codec_desc[i].name); - codecs[*count].pt = codec_desc[i].pt; - codecs[*count].type = PJMEDIA_TYPE_AUDIO; - codecs[*count].clock_rate = codec_desc[i].clock_rate; - codecs[*count].channel_cnt = codec_desc[i].channel_count; - - ++*count; - } - - return PJ_SUCCESS; -} - -/* - * Allocate a new codec instance. - */ -static pj_status_t alloc_codec( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec **p_codec) -{ - codec_private_t *codec_data; - pjmedia_codec *codec; - int idx; - pj_pool_t *pool; - unsigned i; - - PJ_ASSERT_RETURN(factory && id && p_codec, PJ_EINVAL); - PJ_ASSERT_RETURN(factory == &codec_factory.base, PJ_EINVAL); - - pj_mutex_lock(codec_factory.mutex); - - /* Find codec's index */ - idx = -1; - for (i = 0; i < PJ_ARRAY_SIZE(codec_desc); ++i) { - pj_str_t name = pj_str((char*)codec_desc[i].name); - if ((pj_stricmp(&id->encoding_name, &name) == 0) && - (id->clock_rate == (unsigned)codec_desc[i].clock_rate) && - (id->channel_cnt == (unsigned)codec_desc[i].channel_count) && - (codec_desc[i].enabled)) - { - idx = i; - break; - } - } - if (idx == -1) { - *p_codec = NULL; - return PJMEDIA_CODEC_EUNSUP; - } - - /* Create pool for codec instance */ - pool = pjmedia_endpt_create_pool(codec_factory.endpt, "passthroughcodec", - 512, 512); - codec = PJ_POOL_ZALLOC_T(pool, pjmedia_codec); - codec->op = &codec_op; - codec->factory = factory; - codec->codec_data = PJ_POOL_ZALLOC_T(pool, codec_private_t); - codec_data = (codec_private_t*) codec->codec_data; - codec_data->pool = pool; - codec_data->codec_idx = idx; - - pj_mutex_unlock(codec_factory.mutex); - - *p_codec = codec; - return PJ_SUCCESS; -} - -/* - * Free codec. - */ -static pj_status_t dealloc_codec( pjmedia_codec_factory *factory, - pjmedia_codec *codec ) -{ - codec_private_t *codec_data; - - PJ_ASSERT_RETURN(factory && codec, PJ_EINVAL); - PJ_ASSERT_RETURN(factory == &codec_factory.base, PJ_EINVAL); - - /* Close codec, if it's not closed. */ - codec_data = (codec_private_t*) codec->codec_data; - codec_close(codec); - - pj_pool_release(codec_data->pool); - - return PJ_SUCCESS; -} - -/* - * Init codec. - */ -static pj_status_t codec_init( pjmedia_codec *codec, - pj_pool_t *pool ) -{ - PJ_UNUSED_ARG(codec); - PJ_UNUSED_ARG(pool); - return PJ_SUCCESS; -} - -/* - * Open codec. - */ -static pj_status_t codec_open( pjmedia_codec *codec, - pjmedia_codec_param *attr ) -{ - codec_private_t *codec_data = (codec_private_t*) codec->codec_data; - struct codec_desc *desc = &codec_desc[codec_data->codec_idx]; - pj_pool_t *pool; - int i, j; - - pool = codec_data->pool; - - /* Cache samples per frame value */ - codec_data->samples_per_frame = desc->samples_per_frame; - - /* Calculate bitstream size */ - i = attr->info.avg_bps * codec_data->samples_per_frame; - j = desc->clock_rate << 3; - codec_data->avg_frame_size = (pj_uint16_t)(i / j); - if (i % j) ++codec_data->avg_frame_size; - -#if PJMEDIA_HAS_PASSTHROUGH_CODEC_AMR - /* Init AMR settings */ - if (desc->pt == PJMEDIA_RTP_PT_AMR || desc->pt == PJMEDIA_RTP_PT_AMRWB) { - amr_settings_t *s; - pj_uint8_t octet_align = 0; - pj_int8_t enc_mode; - - enc_mode = pjmedia_codec_amr_get_mode(attr->info.avg_bps); - pj_assert(enc_mode >= 0 && enc_mode <= 8); - - for (i = 0; i < attr->setting.dec_fmtp.cnt; ++i) { - const pj_str_t STR_FMTP_OCTET_ALIGN = {"octet-align", 11}; - - /* Fetch octet-align setting. It should be fine to fetch only - * the decoder, since encoder & decoder must use the same setting - * (RFC 4867 section 8.3.1). - */ - if (pj_stricmp(&attr->setting.dec_fmtp.param[i].name, - &STR_FMTP_OCTET_ALIGN) == 0) - { - octet_align=(pj_uint8_t) - (pj_strtoul(&attr->setting.dec_fmtp.param[i].val)); - break; - } - } - - for (i = 0; i < attr->setting.enc_fmtp.cnt; ++i) { - const pj_str_t STR_FMTP_MODE_SET = {"mode-set", 8}; - - /* mode-set, encoding mode is chosen based on local default mode - * setting: - * - if local default mode is included in the mode-set, use it - * - otherwise, find the closest mode to local default mode; - * if there are two closest modes, prefer to use the higher - * one, e.g: local default mode is 4, the mode-set param - * contains '2,3,5,6', then 5 will be chosen. - */ - if (pj_stricmp(&attr->setting.enc_fmtp.param[i].name, - &STR_FMTP_MODE_SET) == 0) - { - const char *p; - pj_size_t l; - pj_int8_t diff = 99; - - p = pj_strbuf(&attr->setting.enc_fmtp.param[i].val); - l = pj_strlen(&attr->setting.enc_fmtp.param[i].val); - - while (l--) { - if ((desc->pt==PJMEDIA_RTP_PT_AMR && *p>='0' && *p<='7') || - (desc->pt==PJMEDIA_RTP_PT_AMRWB && *p>='0' && *p<='8')) - { - pj_int8_t tmp = (pj_int8_t)(*p - '0' - enc_mode); - - if (PJ_ABS(diff) > PJ_ABS(tmp) || - (PJ_ABS(diff) == PJ_ABS(tmp) && tmp > diff)) - { - diff = tmp; - if (diff == 0) break; - } - } - ++p; - } - - if (diff == 99) - return PJMEDIA_CODEC_EFAILED; - - enc_mode = (pj_int8_t)(enc_mode + diff); - - break; - } - } - - s = PJ_POOL_ZALLOC_T(pool, amr_settings_t); - codec_data->codec_setting = s; - - s->enc_mode = enc_mode; - if (s->enc_mode < 0) - return PJMEDIA_CODEC_EINMODE; - - s->enc_setting.amr_nb = (pj_uint8_t)(desc->pt == PJMEDIA_RTP_PT_AMR); - s->enc_setting.octet_aligned = octet_align; - s->enc_setting.reorder = PJ_FALSE; /* Note this! passthrough codec - doesn't do sensitivity bits - reordering */ - s->enc_setting.cmr = 15; - - s->dec_setting.amr_nb = (pj_uint8_t)(desc->pt == PJMEDIA_RTP_PT_AMR); - s->dec_setting.octet_aligned = octet_align; - s->dec_setting.reorder = PJ_FALSE; /* Note this! passthrough codec - doesn't do sensitivity bits - reordering */ - - /* Return back bitrate info to application */ - attr->info.avg_bps = s->enc_setting.amr_nb? - pjmedia_codec_amrnb_bitrates[s->enc_mode]: - pjmedia_codec_amrwb_bitrates[s->enc_mode]; - } -#endif - -#if PJMEDIA_HAS_PASSTHROUGH_CODEC_ILBC - /* Init iLBC settings */ - if (desc->pt == PJMEDIA_RTP_PT_ILBC) - { - enum { DEFAULT_MODE = 30 }; - static pj_str_t STR_MODE = {"mode", 4}; - pj_uint16_t dec_fmtp_mode = DEFAULT_MODE, - enc_fmtp_mode = DEFAULT_MODE; - - /* Get decoder mode */ - for (i = 0; i < attr->setting.dec_fmtp.cnt; ++i) { - if (pj_stricmp(&attr->setting.dec_fmtp.param[i].name, &STR_MODE) == 0) - { - dec_fmtp_mode = (pj_uint16_t) - pj_strtoul(&attr->setting.dec_fmtp.param[i].val); - break; - } - } - - /* Decoder mode must be set */ - PJ_ASSERT_RETURN(dec_fmtp_mode == 20 || dec_fmtp_mode == 30, - PJMEDIA_CODEC_EINMODE); - - /* Get encoder mode */ - for (i = 0; i < attr->setting.enc_fmtp.cnt; ++i) { - if (pj_stricmp(&attr->setting.enc_fmtp.param[i].name, &STR_MODE) == 0) - { - enc_fmtp_mode = (pj_uint16_t) - pj_strtoul(&attr->setting.enc_fmtp.param[i].val); - break; - } - } - - PJ_ASSERT_RETURN(enc_fmtp_mode==20 || enc_fmtp_mode==30, - PJMEDIA_CODEC_EINMODE); - - /* Both sides of a bi-directional session MUST use the same "mode" value. - * In this point, possible values are only 20 or 30, so when encoder and - * decoder modes are not same, just use the default mode, it is 30. - */ - if (enc_fmtp_mode != dec_fmtp_mode) { - enc_fmtp_mode = dec_fmtp_mode = DEFAULT_MODE; - PJ_LOG(4,(pool->obj_name, - "Normalized iLBC encoder and decoder modes to %d", - DEFAULT_MODE)); - } - - /* Update some attributes based on negotiated mode. */ - attr->info.avg_bps = (dec_fmtp_mode == 30? 13333 : 15200); - attr->info.frm_ptime = dec_fmtp_mode; - - /* Override average frame size */ - codec_data->avg_frame_size = (dec_fmtp_mode == 30? 50 : 38); - - /* Override samples per frame */ - codec_data->samples_per_frame = (dec_fmtp_mode == 30? 240 : 160); - } -#endif - - return PJ_SUCCESS; -} - -/* - * Close codec. - */ -static pj_status_t codec_close( pjmedia_codec *codec ) -{ - PJ_UNUSED_ARG(codec); - - return PJ_SUCCESS; -} - - -/* - * Modify codec settings. - */ -static pj_status_t codec_modify( pjmedia_codec *codec, - const pjmedia_codec_param *attr ) -{ - /* Not supported yet. */ - PJ_UNUSED_ARG(codec); - PJ_UNUSED_ARG(attr); - - return PJ_ENOTSUP; -} - -/* - * Get frames in the packet. - */ -static pj_status_t codec_parse( pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *ts, - unsigned *frame_cnt, - pjmedia_frame frames[]) -{ - codec_private_t *codec_data = (codec_private_t*) codec->codec_data; - struct codec_desc *desc = &codec_desc[codec_data->codec_idx]; - unsigned count = 0; - - PJ_ASSERT_RETURN(frame_cnt, PJ_EINVAL); - - if (desc->parse != NULL) { - return desc->parse(codec_data, pkt, pkt_size, ts, frame_cnt, frames); - } - - while (pkt_size >= codec_data->avg_frame_size && count < *frame_cnt) { - frames[count].type = PJMEDIA_FRAME_TYPE_AUDIO; - frames[count].buf = pkt; - frames[count].size = codec_data->avg_frame_size; - frames[count].timestamp.u64 = ts->u64 + - count * codec_data->samples_per_frame; - - pkt = (pj_uint8_t*)pkt + codec_data->avg_frame_size; - pkt_size -= codec_data->avg_frame_size; - - ++count; - } - - if (pkt_size && count < *frame_cnt) { - frames[count].type = PJMEDIA_FRAME_TYPE_AUDIO; - frames[count].buf = pkt; - frames[count].size = pkt_size; - frames[count].timestamp.u64 = ts->u64 + - count * codec_data->samples_per_frame; - ++count; - } - - *frame_cnt = count; - return PJ_SUCCESS; -} - -/* - * Encode frames. - */ -static pj_status_t codec_encode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - codec_private_t *codec_data = (codec_private_t*) codec->codec_data; - struct codec_desc *desc = &codec_desc[codec_data->codec_idx]; - const pjmedia_frame_ext *input_ = (const pjmedia_frame_ext*) input; - - pj_assert(input && input->type == PJMEDIA_FRAME_TYPE_EXTENDED); - - if (desc->pack != NULL) { - desc->pack(codec_data, input_, output_buf_len, output); - } else { - if (input_->subframe_cnt == 0) { - /* DTX */ - output->buf = NULL; - output->size = 0; - output->type = PJMEDIA_FRAME_TYPE_NONE; - } else { - unsigned i; - pj_uint8_t *p = output->buf; - - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->size = 0; - - for (i = 0; i < input_->subframe_cnt; ++i) { - pjmedia_frame_ext_subframe *sf; - unsigned sf_len; - - sf = pjmedia_frame_ext_get_subframe(input_, i); - pj_assert(sf); - - sf_len = (sf->bitlen + 7) >> 3; - - pj_memcpy(p, sf->data, sf_len); - p += sf_len; - output->size += sf_len; - - /* If there is SID or DTX frame, break the loop. */ - if (desc->pt == PJMEDIA_RTP_PT_G729 && - sf_len < codec_data->avg_frame_size) - { - break; - } - - } - } - } - - output->timestamp = input->timestamp; - - return PJ_SUCCESS; -} - -/* - * Decode frame. - */ -static pj_status_t codec_decode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - codec_private_t *codec_data = (codec_private_t*) codec->codec_data; -#if PJMEDIA_HAS_PASSTHROUGH_CODEC_AMR - struct codec_desc *desc = &codec_desc[codec_data->codec_idx]; -#endif - pjmedia_frame_ext *output_ = (pjmedia_frame_ext*) output; - - pj_assert(input); - PJ_UNUSED_ARG(output_buf_len); - -#if PJMEDIA_HAS_PASSTHROUGH_CODEC_AMR - /* Need to rearrange the AMR bitstream, since the bitstream may not be - * started from bit 0 or may need to be reordered from sensitivity order - * into encoder bits order. - */ - if (desc->pt == PJMEDIA_RTP_PT_AMR || desc->pt == PJMEDIA_RTP_PT_AMRWB) { - pjmedia_frame input_; - pjmedia_codec_amr_pack_setting *setting; - - setting = &((amr_settings_t*)codec_data->codec_setting)->dec_setting; - - input_ = *input; - pjmedia_codec_amr_predecode(input, setting, &input_); - - pjmedia_frame_ext_append_subframe(output_, input_.buf, - (pj_uint16_t)(input_.size << 3), - (pj_uint16_t)codec_data->samples_per_frame); - output->timestamp = input->timestamp; - - return PJ_SUCCESS; - } -#endif - - pjmedia_frame_ext_append_subframe(output_, input->buf, - (pj_uint16_t)(input->size << 3), - (pj_uint16_t)codec_data->samples_per_frame); - output->timestamp = input->timestamp; - - return PJ_SUCCESS; -} - -/* - * Recover lost frame. - */ -static pj_status_t codec_recover( pjmedia_codec *codec, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - codec_private_t *codec_data = (codec_private_t*) codec->codec_data; - pjmedia_frame_ext *output_ = (pjmedia_frame_ext*) output; - - PJ_UNUSED_ARG(output_buf_len); - - pjmedia_frame_ext_append_subframe(output_, NULL, 0, - (pj_uint16_t)codec_data->samples_per_frame); - - return PJ_SUCCESS; -} - -#endif /* PJMEDIA_HAS_PASSTHROUGH_CODECS */ - diff --git a/res/pjproject/pjmedia/src/pjmedia-codec/speex_codec.c b/res/pjproject/pjmedia/src/pjmedia-codec/speex_codec.c deleted file mode 100644 index d5cc0a572f..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-codec/speex_codec.c +++ /dev/null @@ -1,997 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Only build this file if PJMEDIA_HAS_SPEEX_CODEC != 0 - */ -#if defined(PJMEDIA_HAS_SPEEX_CODEC) && PJMEDIA_HAS_SPEEX_CODEC!=0 - - -#define THIS_FILE "speex_codec.c" - -/* Prototypes for Speex factory */ -static pj_status_t spx_test_alloc( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id ); -static pj_status_t spx_default_attr( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ); -static pj_status_t spx_enum_codecs( pjmedia_codec_factory *factory, - unsigned *count, - pjmedia_codec_info codecs[]); -static pj_status_t spx_alloc_codec( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec **p_codec); -static pj_status_t spx_dealloc_codec( pjmedia_codec_factory *factory, - pjmedia_codec *codec ); - -/* Prototypes for Speex implementation. */ -static pj_status_t spx_codec_init( pjmedia_codec *codec, - pj_pool_t *pool ); -static pj_status_t spx_codec_open( pjmedia_codec *codec, - pjmedia_codec_param *attr ); -static pj_status_t spx_codec_close( pjmedia_codec *codec ); -static pj_status_t spx_codec_modify(pjmedia_codec *codec, - const pjmedia_codec_param *attr ); -static pj_status_t spx_codec_parse( pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *ts, - unsigned *frame_cnt, - pjmedia_frame frames[]); -static pj_status_t spx_codec_encode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output); -static pj_status_t spx_codec_decode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output); -static pj_status_t spx_codec_recover(pjmedia_codec *codec, - unsigned output_buf_len, - struct pjmedia_frame *output); - -/* Definition for Speex codec operations. */ -static pjmedia_codec_op spx_op = -{ - &spx_codec_init, - &spx_codec_open, - &spx_codec_close, - &spx_codec_modify, - &spx_codec_parse, - &spx_codec_encode, - &spx_codec_decode, - &spx_codec_recover -}; - -/* Definition for Speex codec factory operations. */ -static pjmedia_codec_factory_op spx_factory_op = -{ - &spx_test_alloc, - &spx_default_attr, - &spx_enum_codecs, - &spx_alloc_codec, - &spx_dealloc_codec, - &pjmedia_codec_speex_deinit -}; - -/* Index to Speex parameter. */ -enum -{ - PARAM_NB, /* Index for narrowband parameter. */ - PARAM_WB, /* Index for wideband parameter. */ - PARAM_UWB, /* Index for ultra-wideband parameter */ -}; - -/* Speex default parameter */ -struct speex_param -{ - int enabled; /* Is this mode enabled? */ - const SpeexMode *mode; /* Speex mode. */ - int pt; /* Payload type. */ - unsigned clock_rate; /* Default sampling rate to be used.*/ - int quality; /* Default encoder quality. */ - int complexity; /* Default encoder complexity. */ - int samples_per_frame; /* Samples per frame. */ - int framesize; /* Frame size for current mode. */ - int bitrate; /* Bit rate for current mode. */ - int max_bitrate; /* Max bit rate for current mode. */ -}; - -/* Speex factory */ -static struct spx_factory -{ - pjmedia_codec_factory base; - pjmedia_endpt *endpt; - pj_pool_t *pool; - pj_mutex_t *mutex; - pjmedia_codec codec_list; - struct speex_param speex_param[3]; - -} spx_factory; - -/* Speex codec private data. */ -struct spx_private -{ - int param_id; /**< Index to speex param. */ - - void *enc; /**< Encoder state. */ - SpeexBits enc_bits; /**< Encoder bits. */ - void *dec; /**< Decoder state. */ - SpeexBits dec_bits; /**< Decoder bits. */ -}; - - -/* - * Get codec bitrate and frame size. - */ -static pj_status_t get_speex_info( struct speex_param *p ) -{ - void *state; - int tmp; - - /* Create temporary encoder */ - state = speex_encoder_init(p->mode); - if (!state) - return PJMEDIA_CODEC_EFAILED; - - /* Set the quality */ - if (p->quality != -1) - speex_encoder_ctl(state, SPEEX_SET_QUALITY, &p->quality); - - /* Sampling rate. */ - speex_encoder_ctl(state, SPEEX_SET_SAMPLING_RATE, &p->clock_rate); - - /* VAD off to have max bitrate */ - tmp = 0; - speex_encoder_ctl(state, SPEEX_SET_VAD, &tmp); - - /* Complexity. */ - if (p->complexity != -1) - speex_encoder_ctl(state, SPEEX_SET_COMPLEXITY, &p->complexity); - - /* Now get the frame size */ - speex_encoder_ctl(state, SPEEX_GET_FRAME_SIZE, &p->samples_per_frame); - - /* Now get the average bitrate */ - speex_encoder_ctl(state, SPEEX_GET_BITRATE, &p->bitrate); - - /* Calculate framesize. */ - p->framesize = p->bitrate * 20 / 1000; - - /* Now get the maximum bitrate by using maximum quality (=10) */ - tmp = 10; - speex_encoder_ctl(state, SPEEX_SET_QUALITY, &tmp); - speex_encoder_ctl(state, SPEEX_GET_BITRATE, &p->max_bitrate); - - /* Destroy encoder. */ - speex_encoder_destroy(state); - - return PJ_SUCCESS; -} - -/* - * Initialize and register Speex codec factory to pjmedia endpoint. - */ -PJ_DEF(pj_status_t) pjmedia_codec_speex_init( pjmedia_endpt *endpt, - unsigned options, - int quality, - int complexity ) -{ - pjmedia_codec_mgr *codec_mgr; - unsigned i; - pj_status_t status; - - if (spx_factory.pool != NULL) { - /* Already initialized. */ - return PJ_SUCCESS; - } - - /* Get defaults */ - if (quality < 0) quality = PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY; - if (complexity < 0) complexity = PJMEDIA_CODEC_SPEEX_DEFAULT_COMPLEXITY; - - /* Validate quality & complexity */ - PJ_ASSERT_RETURN(quality >= 0 && quality <= 10, PJ_EINVAL); - PJ_ASSERT_RETURN(complexity >= 1 && complexity <= 10, PJ_EINVAL); - - /* Create Speex codec factory. */ - spx_factory.base.op = &spx_factory_op; - spx_factory.base.factory_data = NULL; - spx_factory.endpt = endpt; - - spx_factory.pool = pjmedia_endpt_create_pool(endpt, "speex", - 4000, 4000); - if (!spx_factory.pool) - return PJ_ENOMEM; - - pj_list_init(&spx_factory.codec_list); - - /* Create mutex. */ - status = pj_mutex_create_simple(spx_factory.pool, "speex", - &spx_factory.mutex); - if (status != PJ_SUCCESS) - goto on_error; - - /* Initialize default Speex parameter. */ - spx_factory.speex_param[PARAM_NB].enabled = - ((options & PJMEDIA_SPEEX_NO_NB) == 0); - spx_factory.speex_param[PARAM_NB].pt = PJMEDIA_RTP_PT_SPEEX_NB; - spx_factory.speex_param[PARAM_NB].mode = speex_lib_get_mode(SPEEX_MODEID_NB); - spx_factory.speex_param[PARAM_NB].clock_rate = 8000; - spx_factory.speex_param[PARAM_NB].quality = quality; - spx_factory.speex_param[PARAM_NB].complexity = complexity; - - spx_factory.speex_param[PARAM_WB].enabled = - ((options & PJMEDIA_SPEEX_NO_WB) == 0); - spx_factory.speex_param[PARAM_WB].pt = PJMEDIA_RTP_PT_SPEEX_WB; - spx_factory.speex_param[PARAM_WB].mode = speex_lib_get_mode(SPEEX_MODEID_WB); - spx_factory.speex_param[PARAM_WB].clock_rate = 16000; - spx_factory.speex_param[PARAM_WB].quality = quality; - spx_factory.speex_param[PARAM_WB].complexity = complexity; - - spx_factory.speex_param[PARAM_UWB].enabled = - ((options & PJMEDIA_SPEEX_NO_UWB) == 0); - spx_factory.speex_param[PARAM_UWB].pt = PJMEDIA_RTP_PT_SPEEX_UWB; - spx_factory.speex_param[PARAM_UWB].mode = speex_lib_get_mode(SPEEX_MODEID_UWB); - spx_factory.speex_param[PARAM_UWB].clock_rate = 32000; - spx_factory.speex_param[PARAM_UWB].quality = quality; - spx_factory.speex_param[PARAM_UWB].complexity = complexity; - - /* Somehow quality <=4 is broken in linux. */ - if (quality <= 4 && quality >= 0) { - PJ_LOG(5,(THIS_FILE, "Adjusting quality to 5 for uwb")); - spx_factory.speex_param[PARAM_UWB].quality = 5; - } - - /* Get codec framesize and avg bitrate for each mode. */ - for (i=0; i= 0 && quality <= 10, PJ_EINVAL); - PJ_ASSERT_RETURN(complexity >= 1 && complexity <= 10, PJ_EINVAL); - - /* Apply the settings */ - for (i=0; i= 0) { - PJ_LOG(5,(THIS_FILE, "Adjusting quality to 5 for uwb")); - spx_factory.speex_param[PARAM_UWB].quality = 5; - } - - status = get_speex_info(&spx_factory.speex_param[i]); - - return status; - } - } - - return PJ_EINVAL; -} - -/* - * Unregister Speex codec factory from pjmedia endpoint and deinitialize - * the Speex codec library. - */ -PJ_DEF(pj_status_t) pjmedia_codec_speex_deinit(void) -{ - pjmedia_codec_mgr *codec_mgr; - pj_status_t status; - - if (spx_factory.pool == NULL) { - /* Already deinitialized */ - return PJ_SUCCESS; - } - - pj_mutex_lock(spx_factory.mutex); - - /* We don't want to deinit if there's outstanding codec. */ - /* This is silly, as we'll always have codec in the list if - we ever allocate a codec! A better behavior maybe is to - deallocate all codecs in the list. - if (!pj_list_empty(&spx_factory.codec_list)) { - pj_mutex_unlock(spx_factory.mutex); - return PJ_EBUSY; - } - */ - - /* Get the codec manager. */ - codec_mgr = pjmedia_endpt_get_codec_mgr(spx_factory.endpt); - if (!codec_mgr) { - pj_pool_release(spx_factory.pool); - spx_factory.pool = NULL; - return PJ_EINVALIDOP; - } - - /* Unregister Speex codec factory. */ - status = pjmedia_codec_mgr_unregister_factory(codec_mgr, - &spx_factory.base); - - /* Destroy mutex. */ - pj_mutex_destroy(spx_factory.mutex); - - /* Destroy pool. */ - pj_pool_release(spx_factory.pool); - spx_factory.pool = NULL; - - return status; -} - -/* - * Check if factory can allocate the specified codec. - */ -static pj_status_t spx_test_alloc( pjmedia_codec_factory *factory, - const pjmedia_codec_info *info ) -{ - const pj_str_t speex_tag = { "speex", 5}; - unsigned i; - - PJ_UNUSED_ARG(factory); - - /* Type MUST be audio. */ - if (info->type != PJMEDIA_TYPE_AUDIO) - return PJMEDIA_CODEC_EUNSUP; - - /* Check encoding name. */ - if (pj_stricmp(&info->encoding_name, &speex_tag) != 0) - return PJMEDIA_CODEC_EUNSUP; - - /* Check clock-rate */ - for (i=0; iclock_rate == spx_factory.speex_param[i].clock_rate) { - /* Okay, let's Speex! */ - return PJ_SUCCESS; - } - } - - - /* Unsupported, or mode is disabled. */ - return PJMEDIA_CODEC_EUNSUP; -} - -/* - * Generate default attribute. - */ -static pj_status_t spx_default_attr (pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ) -{ - - PJ_ASSERT_RETURN(factory==&spx_factory.base, PJ_EINVAL); - - pj_bzero(attr, sizeof(pjmedia_codec_param)); - attr->info.pt = (pj_uint8_t)id->pt; - attr->info.channel_cnt = 1; - - if (id->clock_rate <= 8000) { - attr->info.clock_rate = spx_factory.speex_param[PARAM_NB].clock_rate; - attr->info.avg_bps = spx_factory.speex_param[PARAM_NB].bitrate; - attr->info.max_bps = spx_factory.speex_param[PARAM_NB].max_bitrate; - - } else if (id->clock_rate <= 16000) { - attr->info.clock_rate = spx_factory.speex_param[PARAM_WB].clock_rate; - attr->info.avg_bps = spx_factory.speex_param[PARAM_WB].bitrate; - attr->info.max_bps = spx_factory.speex_param[PARAM_WB].max_bitrate; - - } else { - /* Wow.. somebody is doing ultra-wideband. Cool...! */ - attr->info.clock_rate = spx_factory.speex_param[PARAM_UWB].clock_rate; - attr->info.avg_bps = spx_factory.speex_param[PARAM_UWB].bitrate; - attr->info.max_bps = spx_factory.speex_param[PARAM_UWB].max_bitrate; - } - - attr->info.pcm_bits_per_sample = 16; - attr->info.frm_ptime = 20; - attr->info.pt = (pj_uint8_t)id->pt; - - attr->setting.frm_per_pkt = 1; - - /* Default flags. */ - attr->setting.cng = 1; - attr->setting.plc = 1; - attr->setting.penh =1 ; - attr->setting.vad = 1; - - return PJ_SUCCESS; -} - -/* - * Enum codecs supported by this factory (i.e. only Speex!). - */ -static pj_status_t spx_enum_codecs(pjmedia_codec_factory *factory, - unsigned *count, - pjmedia_codec_info codecs[]) -{ - unsigned max; - int i; /* Must be signed */ - - PJ_UNUSED_ARG(factory); - PJ_ASSERT_RETURN(codecs && *count > 0, PJ_EINVAL); - - max = *count; - *count = 0; - - /* - * We return three codecs here, and in this order: - * - ultra-wideband, wideband, and narrowband. - */ - for (i=PJ_ARRAY_SIZE(spx_factory.speex_param)-1; i>=0 && *countop = &spx_op; - codec->factory = factory; - codec->codec_data = pj_pool_alloc(spx_factory.pool, - sizeof(struct spx_private)); - } - - pj_mutex_unlock(spx_factory.mutex); - - spx = (struct spx_private*) codec->codec_data; - spx->enc = NULL; - spx->dec = NULL; - - if (id->clock_rate <= 8000) - spx->param_id = PARAM_NB; - else if (id->clock_rate <= 16000) - spx->param_id = PARAM_WB; - else - spx->param_id = PARAM_UWB; - - *p_codec = codec; - return PJ_SUCCESS; -} - -/* - * Free codec. - */ -static pj_status_t spx_dealloc_codec( pjmedia_codec_factory *factory, - pjmedia_codec *codec ) -{ - struct spx_private *spx; - - PJ_ASSERT_RETURN(factory && codec, PJ_EINVAL); - PJ_ASSERT_RETURN(factory == &spx_factory.base, PJ_EINVAL); - - /* Close codec, if it's not closed. */ - spx = (struct spx_private*) codec->codec_data; - if (spx->enc != NULL || spx->dec != NULL) { - spx_codec_close(codec); - } - - /* Put in the free list. */ - pj_mutex_lock(spx_factory.mutex); - pj_list_push_front(&spx_factory.codec_list, codec); - pj_mutex_unlock(spx_factory.mutex); - - return PJ_SUCCESS; -} - -/* - * Init codec. - */ -static pj_status_t spx_codec_init( pjmedia_codec *codec, - pj_pool_t *pool ) -{ - PJ_UNUSED_ARG(codec); - PJ_UNUSED_ARG(pool); - return PJ_SUCCESS; -} - -/* - * Open codec. - */ -static pj_status_t spx_codec_open( pjmedia_codec *codec, - pjmedia_codec_param *attr ) -{ - struct spx_private *spx; - int id, tmp; - - spx = (struct spx_private*) codec->codec_data; - id = spx->param_id; - - /* - * Create and initialize encoder. - */ - spx->enc = speex_encoder_init(spx_factory.speex_param[id].mode); - if (!spx->enc) - return PJMEDIA_CODEC_EFAILED; - speex_bits_init(&spx->enc_bits); - - /* Set the quality*/ - if (spx_factory.speex_param[id].quality != -1) { - speex_encoder_ctl(spx->enc, SPEEX_SET_QUALITY, - &spx_factory.speex_param[id].quality); - } - - /* Sampling rate. */ - tmp = attr->info.clock_rate; - speex_encoder_ctl(spx->enc, SPEEX_SET_SAMPLING_RATE, - &spx_factory.speex_param[id].clock_rate); - - /* VAD */ - tmp = (attr->setting.vad != 0); - speex_encoder_ctl(spx->enc, SPEEX_SET_VAD, &tmp); - speex_encoder_ctl(spx->enc, SPEEX_SET_DTX, &tmp); - - /* Complexity */ - if (spx_factory.speex_param[id].complexity != -1) { - speex_encoder_ctl(spx->enc, SPEEX_SET_COMPLEXITY, - &spx_factory.speex_param[id].complexity); - } - - /* - * Create and initialize decoder. - */ - spx->dec = speex_decoder_init(spx_factory.speex_param[id].mode); - if (!spx->dec) { - spx_codec_close(codec); - return PJMEDIA_CODEC_EFAILED; - } - speex_bits_init(&spx->dec_bits); - - /* Sampling rate. */ - speex_decoder_ctl(spx->dec, SPEEX_SET_SAMPLING_RATE, - &spx_factory.speex_param[id].clock_rate); - - /* PENH */ - tmp = attr->setting.penh; - speex_decoder_ctl(spx->dec, SPEEX_SET_ENH, &tmp); - - return PJ_SUCCESS; -} - -/* - * Close codec. - */ -static pj_status_t spx_codec_close( pjmedia_codec *codec ) -{ - struct spx_private *spx; - - spx = (struct spx_private*) codec->codec_data; - - /* Destroy encoder*/ - if (spx->enc) { - speex_encoder_destroy( spx->enc ); - spx->enc = NULL; - speex_bits_destroy( &spx->enc_bits ); - } - - /* Destroy decoder */ - if (spx->dec) { - speex_decoder_destroy( spx->dec); - spx->dec = NULL; - speex_bits_destroy( &spx->dec_bits ); - } - - return PJ_SUCCESS; -} - - -/* - * Modify codec settings. - */ -static pj_status_t spx_codec_modify(pjmedia_codec *codec, - const pjmedia_codec_param *attr ) -{ - struct spx_private *spx; - int tmp; - - spx = (struct spx_private*) codec->codec_data; - - /* VAD */ - tmp = (attr->setting.vad != 0); - speex_encoder_ctl(spx->enc, SPEEX_SET_VAD, &tmp); - speex_encoder_ctl(spx->enc, SPEEX_SET_DTX, &tmp); - - /* PENH */ - tmp = attr->setting.penh; - speex_decoder_ctl(spx->dec, SPEEX_SET_ENH, &tmp); - - return PJ_SUCCESS; -} - -#if 0 -# define TRACE__(args) PJ_LOG(5,args) -#else -# define TRACE__(args) -#endif - -#undef THIS_FUNC -#define THIS_FUNC "speex_get_next_frame" - -#define NB_SUBMODES 16 -#define NB_SUBMODE_BITS 4 - -#define SB_SUBMODES 8 -#define SB_SUBMODE_BITS 3 - -/* This function will iterate frames & submodes in the Speex bits. - * Returns 0 if a frame found, otherwise returns -1. - */ -int speex_get_next_frame(SpeexBits *bits) -{ - static const int inband_skip_table[NB_SUBMODES] = - {1, 1, 4, 4, 4, 4, 4, 4, 8, 8, 16, 16, 32, 32, 64, 64 }; - static const int wb_skip_table[SB_SUBMODES] = - {SB_SUBMODE_BITS+1, 36, 112, 192, 352, -1, -1, -1}; - - unsigned submode; - unsigned nb_count = 0; - - while (speex_bits_remaining(bits) >= 5) { - unsigned wb_count = 0; - unsigned bit_ptr = bits->bitPtr; - unsigned char_ptr = bits->charPtr; - - /* WB frame */ - while ((speex_bits_remaining(bits) >= 4) - && speex_bits_unpack_unsigned(bits, 1)) - { - int advance; - - submode = speex_bits_unpack_unsigned(bits, 3); - advance = wb_skip_table[submode]; - if (advance < 0) { - TRACE__((THIS_FUNC, "Invalid mode encountered. " - "The stream is corrupted.")); - return -1; - } - TRACE__((THIS_FUNC, "WB layer skipped: %d bits", advance)); - advance -= (SB_SUBMODE_BITS+1); - speex_bits_advance(bits, advance); - - bit_ptr = bits->bitPtr; - char_ptr = bits->charPtr; - - /* Consecutive subband frames may not exceed 2 frames */ - if (++wb_count > 2) - return -1; - } - - /* End of bits, return the frame */ - if (speex_bits_remaining(bits) < 4) { - TRACE__((THIS_FUNC, "End of stream")); - return 0; - } - - /* Stop iteration, return the frame */ - if (nb_count > 0) { - bits->bitPtr = bit_ptr; - bits->charPtr = char_ptr; - return 0; - } - - /* Get control bits */ - submode = speex_bits_unpack_unsigned(bits, 4); - TRACE__((THIS_FUNC, "Control bits: %d at %d", - submode, bits->charPtr*8+bits->bitPtr)); - - if (submode == 15) { - TRACE__((THIS_FUNC, "Found submode: terminator")); - return -1; - } else if (submode == 14) { - /* in-band signal; next 4 bits contain signal id */ - submode = speex_bits_unpack_unsigned(bits, 4); - TRACE__((THIS_FUNC, "Found submode: in-band %d bits", - inband_skip_table[submode])); - speex_bits_advance(bits, inband_skip_table[submode]); - } else if (submode == 13) { - /* user in-band; next 5 bits contain msg len */ - submode = speex_bits_unpack_unsigned(bits, 5); - TRACE__((THIS_FUNC, "Found submode: user-band %d bytes", submode)); - speex_bits_advance(bits, submode * 8); - } else if (submode > 8) { - TRACE__((THIS_FUNC, "Unknown sub-mode %d", submode)); - return -1; - } else { - /* NB frame */ - unsigned int advance = submode; - speex_mode_query(&speex_nb_mode, SPEEX_SUBMODE_BITS_PER_FRAME, &advance); - if (advance < 0) { - TRACE__((THIS_FUNC, "Invalid mode encountered. " - "The stream is corrupted.")); - return -1; - } - TRACE__((THIS_FUNC, "Submode %d: %d bits", submode, advance)); - advance -= (NB_SUBMODE_BITS+1); - speex_bits_advance(bits, advance); - - ++nb_count; - } - } - - return 0; -} - - -/* - * Get frames in the packet. - */ -static pj_status_t spx_codec_parse( pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *ts, - unsigned *frame_cnt, - pjmedia_frame frames[]) -{ - struct spx_private *spx = (struct spx_private*) codec->codec_data; - unsigned samples_per_frame; - unsigned count = 0; - int char_ptr = 0; - int bit_ptr = 0; - - samples_per_frame=spx_factory.speex_param[spx->param_id].samples_per_frame; - - /* Copy the data into the speex bit-stream */ - speex_bits_read_from(&spx->dec_bits, (char*)pkt, pkt_size); - - while (speex_get_next_frame(&spx->dec_bits) == 0 && - spx->dec_bits.charPtr != char_ptr) - { - frames[count].buf = (char*)pkt + char_ptr; - /* Bit info contains start bit offset of the frame */ - frames[count].bit_info = bit_ptr; - frames[count].type = PJMEDIA_FRAME_TYPE_AUDIO; - frames[count].timestamp.u64 = ts->u64 + count * samples_per_frame; - frames[count].size = spx->dec_bits.charPtr - char_ptr; - if (spx->dec_bits.bitPtr) - ++frames[count].size; - - bit_ptr = spx->dec_bits.bitPtr; - char_ptr = spx->dec_bits.charPtr; - - ++count; - } - - *frame_cnt = count; - - return PJ_SUCCESS; -} - -/* - * Encode frames. - */ -static pj_status_t spx_codec_encode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - struct spx_private *spx; - unsigned samples_per_frame; - int tx = 0; - spx_int16_t *pcm_in = (spx_int16_t*)input->buf; - unsigned nsamples; - - spx = (struct spx_private*) codec->codec_data; - - if (input->type != PJMEDIA_FRAME_TYPE_AUDIO) { - output->size = 0; - output->buf = NULL; - output->timestamp = input->timestamp; - output->type = input->type; - return PJ_SUCCESS; - } - - nsamples = input->size >> 1; - samples_per_frame=spx_factory.speex_param[spx->param_id].samples_per_frame; - - PJ_ASSERT_RETURN(nsamples % samples_per_frame == 0, - PJMEDIA_CODEC_EPCMFRMINLEN); - - /* Flush all the bits in the struct so we can encode a new frame */ - speex_bits_reset(&spx->enc_bits); - - /* Encode the frames */ - while (nsamples >= samples_per_frame) { - tx += speex_encode_int(spx->enc, pcm_in, &spx->enc_bits); - pcm_in += samples_per_frame; - nsamples -= samples_per_frame; - } - - /* Check if we need not to transmit the frame (DTX) */ - if (tx == 0) { - output->buf = NULL; - output->size = 0; - output->timestamp.u64 = input->timestamp.u64; - output->type = PJMEDIA_FRAME_TYPE_NONE; - return PJ_SUCCESS; - } - - /* Check size. */ - pj_assert(speex_bits_nbytes(&spx->enc_bits) <= (int)output_buf_len); - - /* Copy the bits to an array of char that can be written */ - output->size = speex_bits_write(&spx->enc_bits, - (char*)output->buf, output_buf_len); - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->timestamp = input->timestamp; - - return PJ_SUCCESS; -} - -/* - * Decode frame. - */ -static pj_status_t spx_codec_decode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - struct spx_private *spx; - unsigned samples_per_frame; - - spx = (struct spx_private*) codec->codec_data; - samples_per_frame=spx_factory.speex_param[spx->param_id].samples_per_frame; - - PJ_ASSERT_RETURN(output_buf_len >= samples_per_frame << 1, - PJMEDIA_CODEC_EPCMTOOSHORT); - - if (input->type != PJMEDIA_FRAME_TYPE_AUDIO) { - pjmedia_zero_samples((pj_int16_t*)output->buf, samples_per_frame); - output->size = samples_per_frame << 1; - output->timestamp.u64 = input->timestamp.u64; - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - return PJ_SUCCESS; - } - - /* Copy the data into the bit-stream struct */ - speex_bits_read_from(&spx->dec_bits, (char*)input->buf, input->size); - - /* Set Speex dec_bits pointer to the start bit of the frame */ - speex_bits_advance(&spx->dec_bits, input->bit_info); - - /* Decode the data */ - speex_decode_int(spx->dec, &spx->dec_bits, (spx_int16_t*)output->buf); - - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->size = samples_per_frame << 1; - output->timestamp.u64 = input->timestamp.u64; - - return PJ_SUCCESS; -} - -/* - * Recover lost frame. - */ -static pj_status_t spx_codec_recover(pjmedia_codec *codec, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - struct spx_private *spx; - unsigned count; - - /* output_buf_len is unreferenced when building in Release mode */ - PJ_UNUSED_ARG(output_buf_len); - - spx = (struct spx_private*) codec->codec_data; - - count = spx_factory.speex_param[spx->param_id].clock_rate * 20 / 1000; - pj_assert(count <= output_buf_len/2); - - /* Recover packet loss */ - speex_decode_int(spx->dec, NULL, (spx_int16_t*) output->buf); - - output->size = count * 2; - - return PJ_SUCCESS; -} - - -#endif /* PJMEDIA_HAS_SPEEX_CODEC */ diff --git a/res/pjproject/pjmedia/src/pjmedia-videodev/avi_dev.c b/res/pjproject/pjmedia/src/pjmedia-videodev/avi_dev.c deleted file mode 100644 index 6f6c4813ee..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-videodev/avi_dev.c +++ /dev/null @@ -1,678 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include - -#if defined(PJMEDIA_VIDEO_DEV_HAS_AVI) && PJMEDIA_VIDEO_DEV_HAS_AVI != 0 && \ - defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - -#define THIS_FILE "avi_dev.c" -#define DRIVER_NAME "AVIDev" -#define DEFAULT_CLOCK_RATE 90000 -#define DEFAULT_WIDTH 640 -#define DEFAULT_HEIGHT 480 -#define DEFAULT_FPS 25 - -typedef struct avi_dev_strm avi_dev_strm; - -/* avi_ device info */ -struct avi_dev_info -{ - pjmedia_vid_dev_info info; - - pj_pool_t *pool; - pj_str_t fpath; - pj_str_t title; - pjmedia_avi_streams *avi; - pjmedia_port *vid; - avi_dev_strm *strm; - pjmedia_vid_codec *codec; - pj_uint8_t *enc_buf; - pj_size_t enc_buf_size; -}; - -/* avi_ factory */ -struct avi_factory -{ - pjmedia_vid_dev_factory base; - pj_pool_t *pool; - pj_pool_factory *pf; - - unsigned dev_count; - struct avi_dev_info *dev_info; -}; - -/* Video stream. */ -struct avi_dev_strm -{ - pjmedia_vid_dev_stream base; /**< Base stream */ - pjmedia_vid_dev_param param; /**< Settings */ - pj_pool_t *pool; /**< Memory pool. */ - struct avi_dev_info *adi; - - pjmedia_vid_dev_cb vid_cb; /**< Stream callback. */ - void *user_data; /**< Application data. */ -}; - - -/* Prototypes */ -static pj_status_t avi_factory_init(pjmedia_vid_dev_factory *f); -static pj_status_t avi_factory_destroy(pjmedia_vid_dev_factory *f); -static pj_status_t avi_factory_refresh(pjmedia_vid_dev_factory *f); -static unsigned avi_factory_get_dev_count(pjmedia_vid_dev_factory *f); -static pj_status_t avi_factory_get_dev_info(pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_info *info); -static pj_status_t avi_factory_default_param(pj_pool_t *pool, - pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_param *param); -static pj_status_t avi_factory_create_stream( - pjmedia_vid_dev_factory *f, - pjmedia_vid_dev_param *param, - const pjmedia_vid_dev_cb *cb, - void *user_data, - pjmedia_vid_dev_stream **p_vid_strm); - -static pj_status_t avi_dev_strm_get_param(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_param *param); -static pj_status_t avi_dev_strm_get_cap(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - void *value); -static pj_status_t avi_dev_strm_set_cap(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - const void *value); -static pj_status_t avi_dev_strm_get_frame(pjmedia_vid_dev_stream *strm, - pjmedia_frame *frame); -static pj_status_t avi_dev_strm_start(pjmedia_vid_dev_stream *strm); -static pj_status_t avi_dev_strm_stop(pjmedia_vid_dev_stream *strm); -static pj_status_t avi_dev_strm_destroy(pjmedia_vid_dev_stream *strm); - -static void reset_dev_info(struct avi_dev_info *adi); - -/* Operations */ -static pjmedia_vid_dev_factory_op factory_op = -{ - &avi_factory_init, - &avi_factory_destroy, - &avi_factory_get_dev_count, - &avi_factory_get_dev_info, - &avi_factory_default_param, - &avi_factory_create_stream, - &avi_factory_refresh -}; - -static pjmedia_vid_dev_stream_op stream_op = -{ - &avi_dev_strm_get_param, - &avi_dev_strm_get_cap, - &avi_dev_strm_set_cap, - &avi_dev_strm_start, - &avi_dev_strm_get_frame, - NULL, - &avi_dev_strm_stop, - &avi_dev_strm_destroy -}; - - -/**************************************************************************** - * Factory operations - */ - -/* API */ -PJ_DEF(pj_status_t) pjmedia_avi_dev_create_factory( - pj_pool_factory *pf, - unsigned max_dev, - pjmedia_vid_dev_factory **p_ret) -{ - struct avi_factory *cf; - pj_pool_t *pool; - pj_status_t status; - - pool = pj_pool_create(pf, "avidevfc%p", 512, 512, NULL); - cf = PJ_POOL_ZALLOC_T(pool, struct avi_factory); - cf->pf = pf; - cf->pool = pool; - cf->dev_count = max_dev; - cf->base.op = &factory_op; - - cf->dev_info = (struct avi_dev_info*) - pj_pool_calloc(cf->pool, cf->dev_count, - sizeof(struct avi_dev_info)); - - if (p_ret) { - *p_ret = &cf->base; - } - - status = pjmedia_vid_register_factory(NULL, &cf->base); - if (status != PJ_SUCCESS) - return status; - - PJ_LOG(4, (THIS_FILE, "AVI dev factory created with %d virtual device(s)", - cf->dev_count)); - - return PJ_SUCCESS; -} - -/* API: init factory */ -static pj_status_t avi_factory_init(pjmedia_vid_dev_factory *f) -{ - struct avi_factory *cf = (struct avi_factory*)f; - unsigned i; - - for (i=0; idev_count; ++i) { - reset_dev_info(&cf->dev_info[i]); - } - - return PJ_SUCCESS; -} - -/* API: destroy factory */ -static pj_status_t avi_factory_destroy(pjmedia_vid_dev_factory *f) -{ - struct avi_factory *cf = (struct avi_factory*)f; - pj_pool_t *pool = cf->pool; - - cf->pool = NULL; - pj_pool_release(pool); - - return PJ_SUCCESS; -} - -/* API: refresh the list of devices */ -static pj_status_t avi_factory_refresh(pjmedia_vid_dev_factory *f) -{ - PJ_UNUSED_ARG(f); - return PJ_SUCCESS; -} - -/* API: get number of devices */ -static unsigned avi_factory_get_dev_count(pjmedia_vid_dev_factory *f) -{ - struct avi_factory *cf = (struct avi_factory*)f; - return cf->dev_count; -} - -/* API: get device info */ -static pj_status_t avi_factory_get_dev_info(pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_info *info) -{ - struct avi_factory *cf = (struct avi_factory*)f; - - PJ_ASSERT_RETURN(index < cf->dev_count, PJMEDIA_EVID_INVDEV); - - pj_memcpy(info, &cf->dev_info[index].info, sizeof(*info)); - - return PJ_SUCCESS; -} - -/* API: create default device parameter */ -static pj_status_t avi_factory_default_param(pj_pool_t *pool, - pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_param *param) -{ - struct avi_factory *cf = (struct avi_factory*)f; - struct avi_dev_info *di = &cf->dev_info[index]; - - PJ_ASSERT_RETURN(index < cf->dev_count, PJMEDIA_EVID_INVDEV); - - PJ_UNUSED_ARG(pool); - - pj_bzero(param, sizeof(*param)); - param->dir = PJMEDIA_DIR_CAPTURE; - param->cap_id = index; - param->rend_id = PJMEDIA_VID_INVALID_DEV; - param->flags = PJMEDIA_VID_DEV_CAP_FORMAT; - param->clock_rate = DEFAULT_CLOCK_RATE; - pj_memcpy(¶m->fmt, &di->info.fmt[0], sizeof(param->fmt)); - - return PJ_SUCCESS; -} - -/* reset dev info */ -static void reset_dev_info(struct avi_dev_info *adi) -{ - /* Close avi streams */ - if (adi->avi) { - unsigned i, cnt; - - cnt = pjmedia_avi_streams_get_num_streams(adi->avi); - for (i=0; iavi, i); - if (as) { - pjmedia_port *port; - port = pjmedia_avi_stream_get_port(as); - pjmedia_port_destroy(port); - } - } - adi->avi = NULL; - } - - if (adi->codec) { - pjmedia_vid_codec_close(adi->codec); - adi->codec = NULL; - } - - if (adi->pool) - pj_pool_release(adi->pool); - - pj_bzero(adi, sizeof(*adi)); - - /* Fill up with *dummy" device info */ - pj_ansi_strncpy(adi->info.name, "AVI Player", sizeof(adi->info.name)-1); - pj_ansi_strncpy(adi->info.driver, DRIVER_NAME, sizeof(adi->info.driver)-1); - adi->info.dir = PJMEDIA_DIR_CAPTURE; - adi->info.has_callback = PJ_FALSE; -} - -/* API: release resources */ -PJ_DEF(pj_status_t) pjmedia_avi_dev_free(pjmedia_vid_dev_index id) -{ - pjmedia_vid_dev_factory *f; - struct avi_factory *cf; - unsigned local_idx; - struct avi_dev_info *adi; - pj_status_t status; - - /* Lookup the factory and local device index */ - status = pjmedia_vid_dev_get_local_index(id, &f, &local_idx); - if (status != PJ_SUCCESS) - return status; - - /* The factory must be AVI factory */ - PJ_ASSERT_RETURN(f->op->init == &avi_factory_init, PJMEDIA_EVID_INVDEV); - cf = (struct avi_factory*)f; - - /* Device index should be valid */ - PJ_ASSERT_RETURN(local_idx <= cf->dev_count, PJ_EBUG); - adi = &cf->dev_info[local_idx]; - - /* Cannot configure if stream is running */ - if (adi->strm) - return PJ_EBUSY; - - /* Reset */ - reset_dev_info(adi); - return PJ_SUCCESS; -} - -/* API: get param */ -PJ_DEF(pj_status_t) pjmedia_avi_dev_get_param(pjmedia_vid_dev_index id, - pjmedia_avi_dev_param *prm) -{ - pjmedia_vid_dev_factory *f; - struct avi_factory *cf; - unsigned local_idx; - struct avi_dev_info *adi; - pj_status_t status; - - /* Lookup the factory and local device index */ - status = pjmedia_vid_dev_get_local_index(id, &f, &local_idx); - if (status != PJ_SUCCESS) - return status; - - /* The factory must be factory */ - PJ_ASSERT_RETURN(f->op->init == &avi_factory_init, PJMEDIA_EVID_INVDEV); - cf = (struct avi_factory*)f; - - /* Device index should be valid */ - PJ_ASSERT_RETURN(local_idx <= cf->dev_count, PJ_EBUG); - adi = &cf->dev_info[local_idx]; - - pj_bzero(prm, sizeof(*prm)); - prm->path = adi->fpath; - prm->title = adi->title; - prm->avi_streams = adi->avi; - - return PJ_SUCCESS; -} - -PJ_DEF(void) pjmedia_avi_dev_param_default(pjmedia_avi_dev_param *p) -{ - pj_bzero(p, sizeof(*p)); -} - -/* API: configure the AVI */ -PJ_DEF(pj_status_t) pjmedia_avi_dev_alloc( pjmedia_vid_dev_factory *f, - pjmedia_avi_dev_param *p, - pjmedia_vid_dev_index *p_id) -{ - pjmedia_vid_dev_index id; - struct avi_factory *cf = (struct avi_factory*)f; - unsigned local_idx; - struct avi_dev_info *adi = NULL; - pjmedia_format avi_fmt; - const pjmedia_video_format_info *vfi; - pj_status_t status; - - PJ_ASSERT_RETURN(f && p && p_id, PJ_EINVAL); - - if (p_id) - *p_id = PJMEDIA_VID_INVALID_DEV; - - /* Get a free dev */ - for (local_idx=0; local_idxdev_count; ++local_idx) { - if (cf->dev_info[local_idx].avi == NULL) { - adi = &cf->dev_info[local_idx]; - break; - } - } - - if (!adi) - return PJ_ETOOMANY; - - /* Convert local ID to global id */ - status = pjmedia_vid_dev_get_global_index(&cf->base, local_idx, &id); - if (status != PJ_SUCCESS) - return status; - - /* Reset */ - if (adi->pool) { - pj_pool_release(adi->pool); - } - pj_bzero(adi, sizeof(*adi)); - - /* Reinit */ - PJ_ASSERT_RETURN(p->path.slen, PJ_EINVAL); - adi->pool = pj_pool_create(cf->pf, "avidi%p", 512, 512, NULL); - - - /* Open the AVI */ - pj_strdup_with_null(adi->pool, &adi->fpath, &p->path); - status = pjmedia_avi_player_create_streams(adi->pool, adi->fpath.ptr, 0, - &adi->avi); - if (status != PJ_SUCCESS) { - goto on_error; - } - - adi->vid = pjmedia_avi_streams_get_stream_by_media(adi->avi, 0, - PJMEDIA_TYPE_VIDEO); - if (!adi->vid) { - status = PJMEDIA_EVID_BADFORMAT; - PJ_LOG(4,(THIS_FILE, "Error: cannot find video in AVI %s", - adi->fpath.ptr)); - goto on_error; - } - - pjmedia_format_copy(&avi_fmt, &adi->vid->info.fmt); - vfi = pjmedia_get_video_format_info(NULL, avi_fmt.id); - /* Check whether the frame is encoded. */ - if (!vfi || vfi->bpp == 0) { - /* Yes, prepare codec */ - const pjmedia_vid_codec_info *codec_info; - pjmedia_vid_codec_param codec_param; - pjmedia_video_apply_fmt_param vafp; - - /* Lookup codec */ - status = pjmedia_vid_codec_mgr_get_codec_info2(NULL, - avi_fmt.id, - &codec_info); - if (status != PJ_SUCCESS || !codec_info) - goto on_error; - - status = pjmedia_vid_codec_mgr_get_default_param(NULL, codec_info, - &codec_param); - if (status != PJ_SUCCESS) - goto on_error; - - /* Open codec */ - status = pjmedia_vid_codec_mgr_alloc_codec(NULL, codec_info, - &adi->codec); - if (status != PJ_SUCCESS) - goto on_error; - - status = pjmedia_vid_codec_init(adi->codec, adi->pool); - if (status != PJ_SUCCESS) - goto on_error; - - codec_param.dir = PJMEDIA_DIR_DECODING; - codec_param.packing = PJMEDIA_VID_PACKING_WHOLE; - status = pjmedia_vid_codec_open(adi->codec, &codec_param); - if (status != PJ_SUCCESS) - goto on_error; - - /* Allocate buffer */ - avi_fmt.id = codec_info->dec_fmt_id[0]; - vfi = pjmedia_get_video_format_info(NULL, avi_fmt.id); - pj_bzero(&vafp, sizeof(vafp)); - vafp.size = avi_fmt.det.vid.size; - status = vfi->apply_fmt(vfi, &vafp); - if (status != PJ_SUCCESS) - goto on_error; - - adi->enc_buf = pj_pool_alloc(adi->pool, vafp.framebytes); - adi->enc_buf_size = vafp.framebytes; - } - - /* Calculate title */ - if (p->title.slen) { - pj_strdup_with_null(adi->pool, &adi->title, &p->title); - } else { - char *start = p->path.ptr + p->path.slen; - pj_str_t tmp; - - while (start >= p->path.ptr) { - if (*start == '/' || *start == '\\') - break; - --start; - } - tmp.ptr = start + 1; - tmp.slen = p->path.ptr + p->path.slen - tmp.ptr; - pj_strdup_with_null(adi->pool, &adi->title, &tmp); - } - - /* Init device info */ - pj_ansi_strncpy(adi->info.name, adi->title.ptr, sizeof(adi->info.name)-1); - pj_ansi_strncpy(adi->info.driver, DRIVER_NAME, sizeof(adi->info.driver)-1); - adi->info.dir = PJMEDIA_DIR_CAPTURE; - adi->info.has_callback = PJ_FALSE; - - adi->info.caps = PJMEDIA_VID_DEV_CAP_FORMAT; - adi->info.fmt_cnt = 1; - pjmedia_format_copy(&adi->info.fmt[0], &avi_fmt); - - /* Set out vars */ - if (p_id) - *p_id = id; - p->avi_streams = adi->avi; - if (p->title.slen == 0) - p->title = adi->title; - - return PJ_SUCCESS; - -on_error: - if (adi->codec) { - pjmedia_vid_codec_close(adi->codec); - adi->codec = NULL; - } - if (adi->pool) { - pj_pool_release(adi->pool); - adi->pool = NULL; - } - pjmedia_avi_dev_free(id); - return status; -} - - -/* API: create stream */ -static pj_status_t avi_factory_create_stream( - pjmedia_vid_dev_factory *f, - pjmedia_vid_dev_param *param, - const pjmedia_vid_dev_cb *cb, - void *user_data, - pjmedia_vid_dev_stream **p_vid_strm) -{ - struct avi_factory *cf = (struct avi_factory*)f; - pj_pool_t *pool = NULL; - struct avi_dev_info *adi; - struct avi_dev_strm *strm; - - PJ_ASSERT_RETURN(f && param && p_vid_strm, PJ_EINVAL); - PJ_ASSERT_RETURN(param->fmt.type == PJMEDIA_TYPE_VIDEO && - param->fmt.detail_type == PJMEDIA_FORMAT_DETAIL_VIDEO && - param->dir == PJMEDIA_DIR_CAPTURE, - PJ_EINVAL); - - /* Device must have been configured with pjmedia_avi_dev_set_param() */ - adi = &cf->dev_info[param->cap_id]; - PJ_ASSERT_RETURN(adi->avi != NULL, PJ_EINVALIDOP); - - /* Cannot create while stream is already active */ - PJ_ASSERT_RETURN(adi->strm==NULL, PJ_EINVALIDOP); - - /* Create and initialize basic stream descriptor */ - pool = pj_pool_create(cf->pf, "avidev%p", 512, 512, NULL); - PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); - - strm = PJ_POOL_ZALLOC_T(pool, struct avi_dev_strm); - pj_memcpy(&strm->param, param, sizeof(*param)); - strm->pool = pool; - pj_memcpy(&strm->vid_cb, cb, sizeof(*cb)); - strm->user_data = user_data; - strm->adi = adi; - - pjmedia_format_copy(¶m->fmt, &adi->info.fmt[0]); - - /* Done */ - strm->base.op = &stream_op; - adi->strm = strm; - *p_vid_strm = &strm->base; - - return PJ_SUCCESS; -} - -/* API: Get stream info. */ -static pj_status_t avi_dev_strm_get_param(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_param *pi) -{ - struct avi_dev_strm *strm = (struct avi_dev_strm*)s; - - PJ_ASSERT_RETURN(strm && pi, PJ_EINVAL); - - pj_memcpy(pi, &strm->param, sizeof(*pi)); - - return PJ_SUCCESS; -} - -/* API: get capability */ -static pj_status_t avi_dev_strm_get_cap(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_cap cap, - void *pval) -{ - struct avi_dev_strm *strm = (struct avi_dev_strm*)s; - - PJ_UNUSED_ARG(strm); - PJ_UNUSED_ARG(cap); - PJ_UNUSED_ARG(pval); - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - return PJMEDIA_EVID_INVCAP; -} - -/* API: set capability */ -static pj_status_t avi_dev_strm_set_cap(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_cap cap, - const void *pval) -{ - struct avi_dev_strm *strm = (struct avi_dev_strm*)s; - - PJ_UNUSED_ARG(strm); - PJ_UNUSED_ARG(cap); - PJ_UNUSED_ARG(pval); - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - return PJMEDIA_EVID_INVCAP; -} - -/* API: Get frame from stream */ -static pj_status_t avi_dev_strm_get_frame(pjmedia_vid_dev_stream *strm, - pjmedia_frame *frame) -{ - struct avi_dev_strm *stream = (struct avi_dev_strm*)strm; - - if (stream->adi->codec) { - pjmedia_frame enc_frame; - pj_status_t status; - - enc_frame.buf = stream->adi->enc_buf; - enc_frame.size = stream->adi->enc_buf_size; - status = pjmedia_port_get_frame(stream->adi->vid, &enc_frame); - if (status != PJ_SUCCESS) - return status; - - return pjmedia_vid_codec_decode(stream->adi->codec, 1, &enc_frame, - frame->size, frame); - } else { - return pjmedia_port_get_frame(stream->adi->vid, frame); - } -} - -/* API: Start stream. */ -static pj_status_t avi_dev_strm_start(pjmedia_vid_dev_stream *strm) -{ - struct avi_dev_strm *stream = (struct avi_dev_strm*)strm; - - PJ_UNUSED_ARG(stream); - - PJ_LOG(4, (THIS_FILE, "Starting avi video stream")); - - return PJ_SUCCESS; -} - -/* API: Stop stream. */ -static pj_status_t avi_dev_strm_stop(pjmedia_vid_dev_stream *strm) -{ - struct avi_dev_strm *stream = (struct avi_dev_strm*)strm; - - PJ_UNUSED_ARG(stream); - - PJ_LOG(4, (THIS_FILE, "Stopping avi video stream")); - - return PJ_SUCCESS; -} - - -/* API: Destroy stream. */ -static pj_status_t avi_dev_strm_destroy(pjmedia_vid_dev_stream *strm) -{ - struct avi_dev_strm *stream = (struct avi_dev_strm*)strm; - - PJ_ASSERT_RETURN(stream != NULL, PJ_EINVAL); - - avi_dev_strm_stop(strm); - - stream->adi->strm = NULL; - stream->adi = NULL; - pj_pool_release(stream->pool); - - return PJ_SUCCESS; -} - -#endif /* PJMEDIA_VIDEO_DEV_HAS_AVI */ diff --git a/res/pjproject/pjmedia/src/pjmedia-videodev/colorbar_dev.c b/res/pjproject/pjmedia/src/pjmedia-videodev/colorbar_dev.c deleted file mode 100644 index 11acf6cb94..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-videodev/colorbar_dev.c +++ /dev/null @@ -1,626 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - - -#if defined(PJMEDIA_VIDEO_DEV_HAS_CBAR_SRC) && \ - PJMEDIA_VIDEO_DEV_HAS_CBAR_SRC != 0 - - -#define THIS_FILE "colorbar_dev.c" -#define DEFAULT_CLOCK_RATE 90000 -#define DEFAULT_WIDTH 352 //640 -#define DEFAULT_HEIGHT 288 //480 -#define DEFAULT_FPS 25 - -/* cbar_ device info */ -struct cbar_dev_info -{ - pjmedia_vid_dev_info info; -}; - -/* cbar_ factory */ -struct cbar_factory -{ - pjmedia_vid_dev_factory base; - pj_pool_t *pool; - pj_pool_factory *pf; - - unsigned dev_count; - struct cbar_dev_info *dev_info; -}; - -struct cbar_fmt_info { - pjmedia_format_id fmt_id; /* Format ID */ - - /* Info for packed formats. */ - unsigned c_offset[3]; /* Color component offset, - in bytes */ - unsigned c_stride[3]; /* Color component stride, - or distance between two - consecutive same color - components, in bytes */ -}; - -/* Colorbar video source supports */ -static struct cbar_fmt_info cbar_fmts[] = -{ - /* Packed formats */ - { PJMEDIA_FORMAT_YUY2, {0, 1, 3}, {2, 4, 4} }, - { PJMEDIA_FORMAT_UYVY, {1, 0, 2}, {2, 4, 4} }, - { PJMEDIA_FORMAT_YVYU, {0, 3, 1}, {2, 4, 4} }, - { PJMEDIA_FORMAT_RGBA, {0, 1, 2}, {4, 4, 4} }, - { PJMEDIA_FORMAT_RGB24, {0, 1, 2}, {3, 3, 3} }, - { PJMEDIA_FORMAT_BGRA, {2, 1, 0}, {4, 4, 4} }, - - /* Planar formats */ - { PJMEDIA_FORMAT_YV12 }, - { PJMEDIA_FORMAT_I420 }, - { PJMEDIA_FORMAT_I420JPEG }, - { PJMEDIA_FORMAT_I422JPEG }, -}; - -/* Video stream. */ -struct cbar_stream -{ - pjmedia_vid_dev_stream base; /**< Base stream */ - pjmedia_vid_dev_param param; /**< Settings */ - pj_pool_t *pool; /**< Memory pool. */ - - pjmedia_vid_dev_cb vid_cb; /**< Stream callback. */ - void *user_data; /**< Application data. */ - - const struct cbar_fmt_info *cbfi; - const pjmedia_video_format_info *vfi; - pjmedia_video_apply_fmt_param vafp; - pj_uint8_t *first_line[PJMEDIA_MAX_VIDEO_PLANES]; - pj_timestamp ts; - unsigned ts_inc; -}; - - -/* Prototypes */ -static pj_status_t cbar_factory_init(pjmedia_vid_dev_factory *f); -static pj_status_t cbar_factory_destroy(pjmedia_vid_dev_factory *f); -static pj_status_t cbar_factory_refresh(pjmedia_vid_dev_factory *f); -static unsigned cbar_factory_get_dev_count(pjmedia_vid_dev_factory *f); -static pj_status_t cbar_factory_get_dev_info(pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_info *info); -static pj_status_t cbar_factory_default_param(pj_pool_t *pool, - pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_param *param); -static pj_status_t cbar_factory_create_stream( - pjmedia_vid_dev_factory *f, - pjmedia_vid_dev_param *param, - const pjmedia_vid_dev_cb *cb, - void *user_data, - pjmedia_vid_dev_stream **p_vid_strm); - -static pj_status_t cbar_stream_get_param(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_param *param); -static pj_status_t cbar_stream_get_cap(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - void *value); -static pj_status_t cbar_stream_set_cap(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - const void *value); -static pj_status_t cbar_stream_get_frame(pjmedia_vid_dev_stream *strm, - pjmedia_frame *frame); -static pj_status_t cbar_stream_start(pjmedia_vid_dev_stream *strm); -static pj_status_t cbar_stream_stop(pjmedia_vid_dev_stream *strm); -static pj_status_t cbar_stream_destroy(pjmedia_vid_dev_stream *strm); - -/* Operations */ -static pjmedia_vid_dev_factory_op factory_op = -{ - &cbar_factory_init, - &cbar_factory_destroy, - &cbar_factory_get_dev_count, - &cbar_factory_get_dev_info, - &cbar_factory_default_param, - &cbar_factory_create_stream, - &cbar_factory_refresh -}; - -static pjmedia_vid_dev_stream_op stream_op = -{ - &cbar_stream_get_param, - &cbar_stream_get_cap, - &cbar_stream_set_cap, - &cbar_stream_start, - &cbar_stream_get_frame, - NULL, - &cbar_stream_stop, - &cbar_stream_destroy -}; - - -/**************************************************************************** - * Factory operations - */ -/* - * Init cbar_ video driver. - */ -pjmedia_vid_dev_factory* pjmedia_cbar_factory(pj_pool_factory *pf) -{ - struct cbar_factory *f; - pj_pool_t *pool; - - pool = pj_pool_create(pf, "cbar video", 512, 512, NULL); - f = PJ_POOL_ZALLOC_T(pool, struct cbar_factory); - f->pf = pf; - f->pool = pool; - f->base.op = &factory_op; - - return &f->base; -} - - -/* API: init factory */ -static pj_status_t cbar_factory_init(pjmedia_vid_dev_factory *f) -{ - struct cbar_factory *cf = (struct cbar_factory*)f; - struct cbar_dev_info *ddi; - unsigned i; - - cf->dev_count = 1; - cf->dev_info = (struct cbar_dev_info*) - pj_pool_calloc(cf->pool, cf->dev_count, - sizeof(struct cbar_dev_info)); - - ddi = &cf->dev_info[0]; - pj_bzero(ddi, sizeof(*ddi)); - pj_ansi_strncpy(ddi->info.name, "Colorbar generator", - sizeof(ddi->info.name)); - ddi->info.driver[sizeof(ddi->info.driver)-1] = '\0'; - pj_ansi_strncpy(ddi->info.driver, "Colorbar", sizeof(ddi->info.driver)); - ddi->info.driver[sizeof(ddi->info.driver)-1] = '\0'; - ddi->info.dir = PJMEDIA_DIR_CAPTURE; - ddi->info.has_callback = PJ_FALSE; - - ddi->info.caps = PJMEDIA_VID_DEV_CAP_FORMAT; - ddi->info.fmt_cnt = sizeof(cbar_fmts)/sizeof(cbar_fmts[0]); - for (i = 0; i < ddi->info.fmt_cnt; i++) { - pjmedia_format *fmt = &ddi->info.fmt[i]; - pjmedia_format_init_video(fmt, cbar_fmts[i].fmt_id, - DEFAULT_WIDTH, DEFAULT_HEIGHT, - DEFAULT_FPS, 1); - } - - PJ_LOG(4, (THIS_FILE, "Colorbar video src initialized with %d device(s):", - cf->dev_count)); - for (i = 0; i < cf->dev_count; i++) { - PJ_LOG(4, (THIS_FILE, "%2d: %s", i, cf->dev_info[i].info.name)); - } - - return PJ_SUCCESS; -} - -/* API: destroy factory */ -static pj_status_t cbar_factory_destroy(pjmedia_vid_dev_factory *f) -{ - struct cbar_factory *cf = (struct cbar_factory*)f; - pj_pool_t *pool = cf->pool; - - cf->pool = NULL; - pj_pool_release(pool); - - return PJ_SUCCESS; -} - -/* API: refresh the list of devices */ -static pj_status_t cbar_factory_refresh(pjmedia_vid_dev_factory *f) -{ - PJ_UNUSED_ARG(f); - return PJ_SUCCESS; -} - -/* API: get number of devices */ -static unsigned cbar_factory_get_dev_count(pjmedia_vid_dev_factory *f) -{ - struct cbar_factory *cf = (struct cbar_factory*)f; - return cf->dev_count; -} - -/* API: get device info */ -static pj_status_t cbar_factory_get_dev_info(pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_info *info) -{ - struct cbar_factory *cf = (struct cbar_factory*)f; - - PJ_ASSERT_RETURN(index < cf->dev_count, PJMEDIA_EVID_INVDEV); - - pj_memcpy(info, &cf->dev_info[index].info, sizeof(*info)); - - return PJ_SUCCESS; -} - -/* API: create default device parameter */ -static pj_status_t cbar_factory_default_param(pj_pool_t *pool, - pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_param *param) -{ - struct cbar_factory *cf = (struct cbar_factory*)f; - struct cbar_dev_info *di = &cf->dev_info[index]; - - PJ_ASSERT_RETURN(index < cf->dev_count, PJMEDIA_EVID_INVDEV); - - PJ_UNUSED_ARG(pool); - - pj_bzero(param, sizeof(*param)); - param->dir = PJMEDIA_DIR_CAPTURE; - param->cap_id = index; - param->rend_id = PJMEDIA_VID_INVALID_DEV; - param->flags = PJMEDIA_VID_DEV_CAP_FORMAT; - param->clock_rate = DEFAULT_CLOCK_RATE; - pj_memcpy(¶m->fmt, &di->info.fmt[0], sizeof(param->fmt)); - - return PJ_SUCCESS; -} - -static const struct cbar_fmt_info* get_cbar_fmt_info(pjmedia_format_id id) -{ - unsigned i; - - for (i = 0; i < sizeof(cbar_fmts)/sizeof(cbar_fmts[0]); i++) { - if (cbar_fmts[i].fmt_id == id) - return &cbar_fmts[i]; - } - - return NULL; -} - -static void fill_first_line(pj_uint8_t *first_lines[], - const struct cbar_fmt_info *cbfi, - const pjmedia_video_format_info *vfi, - const pjmedia_video_apply_fmt_param *vafp) -{ - typedef pj_uint8_t color_comp_t[3]; - color_comp_t rgb_colors[] = - { - {255,255,255}, {255,255,0}, {0,255,255}, {0,255,0}, - {255,0,255}, {255,0,0}, {0,0,255}, {0,0,0} - }; - color_comp_t yuv_colors[] = - { - //{235,128,128}, {162,44,142}, {131,156,44}, {112,72,58}, - //{84,184,198}, {65,100,212}, {35,212,114}, {16,128,128} - {235,128,128}, {210,16,146}, {170,166,16}, {145,54,34}, - {106,202,222}, {81,90,240}, {41,240,110}, {16,128,128} - }; - - unsigned i, j, k; - - if (vfi->plane_cnt == 1) { - /* Packed */ - - for (i = 0; i < 8; ++i) { - /* iterate bars */ - for (j = 0; j < 3; ++j) { - /* iterate color components */ - pj_uint8_t *p = NULL, c; - unsigned bar_width, inc_p; - - if (vfi->color_model == PJMEDIA_COLOR_MODEL_RGB) - c = rgb_colors[i][j]; - else - c = yuv_colors[i][j]; - - bar_width = vafp->size.w/8; - bar_width /= (cbfi->c_stride[j] * 8 / vfi->bpp); - inc_p = cbfi->c_stride[j]; - p = first_lines[0] + bar_width*i*inc_p + cbfi->c_offset[j]; - - /* draw this color */ - for (k = 0; k < bar_width; ++k) { - *p = c; - p += inc_p; - } - } - } - - } else if (vfi->plane_cnt == 3) { - - for (i = 0; i < 8; ++i) { - /* iterate bars */ - for (j = 0; j < 3; ++j) { - /* iterate planes/color components */ - pj_uint8_t *p = NULL, c; - unsigned bar_width; - - if (vfi->color_model == PJMEDIA_COLOR_MODEL_RGB) - c = rgb_colors[i][j]; - else - c = yuv_colors[i][j]; - - bar_width = vafp->strides[j]/8; - p = first_lines[j] + bar_width*i; - - /* draw this plane/color */ - for (k = 0; k < bar_width; ++k) - *p++ = c; - } - } - } -} - -/* API: create stream */ -static pj_status_t cbar_factory_create_stream( - pjmedia_vid_dev_factory *f, - pjmedia_vid_dev_param *param, - const pjmedia_vid_dev_cb *cb, - void *user_data, - pjmedia_vid_dev_stream **p_vid_strm) -{ - struct cbar_factory *cf = (struct cbar_factory*)f; - pj_pool_t *pool; - struct cbar_stream *strm; - const pjmedia_video_format_detail *vfd; - const pjmedia_video_format_info *vfi; - pjmedia_video_apply_fmt_param vafp; - const struct cbar_fmt_info *cbfi; - unsigned i; - - PJ_ASSERT_RETURN(f && param && p_vid_strm, PJ_EINVAL); - PJ_ASSERT_RETURN(param->fmt.type == PJMEDIA_TYPE_VIDEO && - param->fmt.detail_type == PJMEDIA_FORMAT_DETAIL_VIDEO && - param->dir == PJMEDIA_DIR_CAPTURE, - PJ_EINVAL); - - pj_bzero(&vafp, sizeof(vafp)); - - vfd = pjmedia_format_get_video_format_detail(¶m->fmt, PJ_TRUE); - vfi = pjmedia_get_video_format_info(NULL, param->fmt.id); - cbfi = get_cbar_fmt_info(param->fmt.id); - if (!vfi || !cbfi) - return PJMEDIA_EVID_BADFORMAT; - - vafp.size = param->fmt.det.vid.size; - if (vfi->apply_fmt(vfi, &vafp) != PJ_SUCCESS) - return PJMEDIA_EVID_BADFORMAT; - - /* Create and Initialize stream descriptor */ - pool = pj_pool_create(cf->pf, "cbar-dev", 512, 512, NULL); - PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); - - strm = PJ_POOL_ZALLOC_T(pool, struct cbar_stream); - pj_memcpy(&strm->param, param, sizeof(*param)); - strm->pool = pool; - pj_memcpy(&strm->vid_cb, cb, sizeof(*cb)); - strm->user_data = user_data; - strm->vfi = vfi; - strm->cbfi = cbfi; - pj_memcpy(&strm->vafp, &vafp, sizeof(vafp)); - strm->ts_inc = PJMEDIA_SPF2(param->clock_rate, &vfd->fps, 1); - - for (i = 0; i < vfi->plane_cnt; ++i) { - strm->first_line[i] = pj_pool_alloc(pool, vafp.strides[i]); - pj_memset(strm->first_line[i], 255, vafp.strides[i]); - } - - fill_first_line(strm->first_line, strm->cbfi, vfi, &strm->vafp); - - /* Apply the remaining settings */ -/* if (param->flags & PJMEDIA_VID_DEV_CAP_INPUT_SCALE) { - cbar_stream_set_cap(&strm->base, - PJMEDIA_VID_DEV_CAP_INPUT_SCALE, - ¶m->fmt); - } -*/ - /* Done */ - strm->base.op = &stream_op; - *p_vid_strm = &strm->base; - - return PJ_SUCCESS; -} - -/* API: Get stream info. */ -static pj_status_t cbar_stream_get_param(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_param *pi) -{ - struct cbar_stream *strm = (struct cbar_stream*)s; - - PJ_ASSERT_RETURN(strm && pi, PJ_EINVAL); - - pj_memcpy(pi, &strm->param, sizeof(*pi)); - -/* if (cbar_stream_get_cap(s, PJMEDIA_VID_DEV_CAP_INPUT_SCALE, - &pi->fmt.info_size) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_VID_DEV_CAP_INPUT_SCALE; - } -*/ - return PJ_SUCCESS; -} - -/* API: get capability */ -static pj_status_t cbar_stream_get_cap(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_cap cap, - void *pval) -{ - struct cbar_stream *strm = (struct cbar_stream*)s; - - PJ_UNUSED_ARG(strm); - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - if (cap==PJMEDIA_VID_DEV_CAP_INPUT_SCALE) - { - return PJMEDIA_EVID_INVCAP; -// return PJ_SUCCESS; - } else { - return PJMEDIA_EVID_INVCAP; - } -} - -/* API: set capability */ -static pj_status_t cbar_stream_set_cap(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_cap cap, - const void *pval) -{ - struct cbar_stream *strm = (struct cbar_stream*)s; - - PJ_UNUSED_ARG(strm); - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - if (cap==PJMEDIA_VID_DEV_CAP_INPUT_SCALE) - { - return PJ_SUCCESS; - } - - return PJMEDIA_EVID_INVCAP; -} - -static pj_status_t spectrum_run(struct cbar_stream *d, pj_uint8_t *p, - pj_size_t size) -{ - unsigned i; - pj_uint8_t *ptr = p; - pj_time_val tv; - - PJ_UNUSED_ARG(size); - - /* Subsequent lines */ - for (i=0; ivfi->plane_cnt; ++i) { - pj_uint8_t *plane_end; - - plane_end = ptr + d->vafp.plane_bytes[i]; - while (ptr < plane_end) { - pj_memcpy(ptr, d->first_line[i], d->vafp.strides[i]); - ptr += d->vafp.strides[i]; - } - } - - /* blinking dot */ - pj_gettimeofday(&tv); - if (tv.msec < 660) { - enum { DOT_SIZE = 8 }; - pj_uint8_t dot_clr_rgb[3] = {255, 255, 255}; - pj_uint8_t dot_clr_yuv[3] = {235, 128, 128}; - - if (d->vfi->plane_cnt == 1) { - for (i = 0; i < 3; ++i) { - pj_uint8_t *ptr; - unsigned j, k, inc_ptr; - pj_size_t dot_size = DOT_SIZE; - - dot_size /= (d->cbfi->c_stride[i] * 8 / d->vfi->bpp); - inc_ptr = d->cbfi->c_stride[i]; - for (j = 0; j < dot_size; ++j) { - ptr = p + d->vafp.strides[0]*(dot_size+j+1) - - 2*dot_size*inc_ptr + d->cbfi->c_offset[i]; - for (k = 0; k < dot_size; ++k) { - if (d->vfi->color_model == PJMEDIA_COLOR_MODEL_RGB) - *ptr = dot_clr_rgb[i]; - else - *ptr = dot_clr_yuv[i]; - ptr += inc_ptr; - } - } - } - } else { - pj_size_t offset_p = 0; - - for (i = 0; i < 3; ++i) { - pj_uint8_t *ptr, c; - unsigned j; - pj_size_t dot_size = DOT_SIZE; - - if (d->vfi->color_model == PJMEDIA_COLOR_MODEL_RGB) - c = dot_clr_rgb[i]; - else - c = dot_clr_yuv[i]; - - dot_size /= (d->vafp.size.w / d->vafp.strides[i]); - ptr = p + offset_p + d->vafp.strides[i]*(dot_size+1) - - 2*dot_size; - for (j = 0; j < dot_size; ++j) { - pj_memset(ptr, c, dot_size); - ptr += d->vafp.strides[i]; - } - offset_p += d->vafp.plane_bytes[i]; - } - } - } - - return PJ_SUCCESS; -} - -/* API: Get frame from stream */ -static pj_status_t cbar_stream_get_frame(pjmedia_vid_dev_stream *strm, - pjmedia_frame *frame) -{ - struct cbar_stream *stream = (struct cbar_stream*)strm; - - frame->type = PJMEDIA_FRAME_TYPE_VIDEO; - frame->bit_info = 0; - frame->timestamp = stream->ts; - stream->ts.u64 += stream->ts_inc; - return spectrum_run(stream, frame->buf, frame->size); -} - -/* API: Start stream. */ -static pj_status_t cbar_stream_start(pjmedia_vid_dev_stream *strm) -{ - struct cbar_stream *stream = (struct cbar_stream*)strm; - - PJ_UNUSED_ARG(stream); - - PJ_LOG(4, (THIS_FILE, "Starting cbar video stream")); - - return PJ_SUCCESS; -} - -/* API: Stop stream. */ -static pj_status_t cbar_stream_stop(pjmedia_vid_dev_stream *strm) -{ - struct cbar_stream *stream = (struct cbar_stream*)strm; - - PJ_UNUSED_ARG(stream); - - PJ_LOG(4, (THIS_FILE, "Stopping cbar video stream")); - - return PJ_SUCCESS; -} - - -/* API: Destroy stream. */ -static pj_status_t cbar_stream_destroy(pjmedia_vid_dev_stream *strm) -{ - struct cbar_stream *stream = (struct cbar_stream*)strm; - - PJ_ASSERT_RETURN(stream != NULL, PJ_EINVAL); - - cbar_stream_stop(strm); - - pj_pool_release(stream->pool); - - return PJ_SUCCESS; -} - -#endif /* PJMEDIA_VIDEO_DEV_HAS_CBAR_SRC */ diff --git a/res/pjproject/pjmedia/src/pjmedia-videodev/dshow_dev.c b/res/pjproject/pjmedia/src/pjmedia-videodev/dshow_dev.c deleted file mode 100644 index 85a1375df5..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-videodev/dshow_dev.c +++ /dev/null @@ -1,1062 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - - -#if defined(PJMEDIA_VIDEO_DEV_HAS_DSHOW) && PJMEDIA_VIDEO_DEV_HAS_DSHOW != 0 - - -#ifdef _MSC_VER -# pragma warning(push, 3) -#endif - -#include -#define COBJMACROS -#include - -#ifdef _MSC_VER -# pragma warning(pop) -#endif - -#pragma comment(lib, "Strmiids.lib") -#pragma comment(lib, "Rpcrt4.lib") -#pragma comment(lib, "Quartz.lib") - -#define THIS_FILE "dshow_dev.c" -#define DEFAULT_CLOCK_RATE 90000 -#define DEFAULT_WIDTH 640 -#define DEFAULT_HEIGHT 480 -#define DEFAULT_FPS 25 - -/* Temporarily disable DirectShow renderer (VMR) */ -#define HAS_VMR 0 - -typedef void (*input_callback)(void *user_data, IMediaSample *pMediaSample); -typedef struct NullRenderer NullRenderer; -IBaseFilter* NullRenderer_Create(input_callback input_cb, - void *user_data); -typedef struct SourceFilter SourceFilter; -IBaseFilter* SourceFilter_Create(SourceFilter **pSrc); -HRESULT SourceFilter_Deliver(SourceFilter *src, void *buf, long size); -void SourceFilter_SetMediaType(SourceFilter *src, AM_MEDIA_TYPE *pmt); - -typedef struct dshow_fmt_info -{ - pjmedia_format_id pjmedia_format; - const GUID *dshow_format; -} dshow_fmt_info; - -static dshow_fmt_info dshow_fmts[] = -{ - {PJMEDIA_FORMAT_YUY2, &MEDIASUBTYPE_YUY2} , - {PJMEDIA_FORMAT_RGB24, &MEDIASUBTYPE_RGB24} , - {PJMEDIA_FORMAT_RGB32, &MEDIASUBTYPE_RGB32} , - {PJMEDIA_FORMAT_IYUV, &MEDIASUBTYPE_IYUV} , -}; - -/* dshow_ device info */ -struct dshow_dev_info -{ - pjmedia_vid_dev_info info; - unsigned dev_id; - WCHAR display_name[192]; -}; - -/* dshow_ factory */ -struct dshow_factory -{ - pjmedia_vid_dev_factory base; - pj_pool_t *pool; - pj_pool_t *dev_pool; - pj_pool_factory *pf; - - unsigned dev_count; - struct dshow_dev_info *dev_info; -}; - -/* Video stream. */ -struct dshow_stream -{ - pjmedia_vid_dev_stream base; /**< Base stream */ - pjmedia_vid_dev_param param; /**< Settings */ - pj_pool_t *pool; /**< Memory pool. */ - - pjmedia_vid_dev_cb vid_cb; /**< Stream callback. */ - void *user_data; /**< Application data. */ - - pj_bool_t quit_flag; - pj_bool_t rend_thread_exited; - pj_bool_t cap_thread_exited; - pj_bool_t cap_thread_initialized; - pj_thread_desc cap_thread_desc; - pj_thread_t *cap_thread; - void *frm_buf; - unsigned frm_buf_size; - - struct dshow_graph - { - IFilterGraph *filter_graph; - IMediaFilter *media_filter; - SourceFilter *csource_filter; - IBaseFilter *source_filter; - IBaseFilter *rend_filter; - AM_MEDIA_TYPE *mediatype; - } dgraph; - - pj_timestamp cap_ts; - unsigned cap_ts_inc; -}; - - -/* Prototypes */ -static pj_status_t dshow_factory_init(pjmedia_vid_dev_factory *f); -static pj_status_t dshow_factory_destroy(pjmedia_vid_dev_factory *f); -static pj_status_t dshow_factory_refresh(pjmedia_vid_dev_factory *f); -static unsigned dshow_factory_get_dev_count(pjmedia_vid_dev_factory *f); -static pj_status_t dshow_factory_get_dev_info(pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_info *info); -static pj_status_t dshow_factory_default_param(pj_pool_t *pool, - pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_param *param); -static pj_status_t dshow_factory_create_stream( - pjmedia_vid_dev_factory *f, - pjmedia_vid_dev_param *param, - const pjmedia_vid_dev_cb *cb, - void *user_data, - pjmedia_vid_dev_stream **p_vid_strm); - -static pj_status_t dshow_stream_get_param(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_param *param); -static pj_status_t dshow_stream_get_cap(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - void *value); -static pj_status_t dshow_stream_set_cap(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - const void *value); -static pj_status_t dshow_stream_start(pjmedia_vid_dev_stream *strm); -static pj_status_t dshow_stream_put_frame(pjmedia_vid_dev_stream *strm, - const pjmedia_frame *frame); -static pj_status_t dshow_stream_stop(pjmedia_vid_dev_stream *strm); -static pj_status_t dshow_stream_destroy(pjmedia_vid_dev_stream *strm); - -/* Operations */ -static pjmedia_vid_dev_factory_op factory_op = -{ - &dshow_factory_init, - &dshow_factory_destroy, - &dshow_factory_get_dev_count, - &dshow_factory_get_dev_info, - &dshow_factory_default_param, - &dshow_factory_create_stream, - &dshow_factory_refresh -}; - -static pjmedia_vid_dev_stream_op stream_op = -{ - &dshow_stream_get_param, - &dshow_stream_get_cap, - &dshow_stream_set_cap, - &dshow_stream_start, - NULL, - &dshow_stream_put_frame, - &dshow_stream_stop, - &dshow_stream_destroy -}; - - -/**************************************************************************** - * Factory operations - */ -/* - * Init dshow_ video driver. - */ -pjmedia_vid_dev_factory* pjmedia_dshow_factory(pj_pool_factory *pf) -{ - struct dshow_factory *f; - pj_pool_t *pool; - - pool = pj_pool_create(pf, "dshow video", 1000, 1000, NULL); - f = PJ_POOL_ZALLOC_T(pool, struct dshow_factory); - f->pf = pf; - f->pool = pool; - f->base.op = &factory_op; - - return &f->base; -} - -/* API: init factory */ -static pj_status_t dshow_factory_init(pjmedia_vid_dev_factory *f) -{ - HRESULT hr = CoInitializeEx(NULL, COINIT_MULTITHREADED); - if (hr == RPC_E_CHANGED_MODE) { - PJ_LOG(4,(THIS_FILE, "Failed initializing DShow: " - "COM library already initialized with " - "incompatible concurrency model")); - return PJMEDIA_EVID_INIT; - } - - return dshow_factory_refresh(f); -} - -/* API: destroy factory */ -static pj_status_t dshow_factory_destroy(pjmedia_vid_dev_factory *f) -{ - struct dshow_factory *df = (struct dshow_factory*)f; - pj_pool_t *pool = df->pool; - - df->pool = NULL; - if (df->dev_pool) - pj_pool_release(df->dev_pool); - if (pool) - pj_pool_release(pool); - - CoUninitialize(); - - return PJ_SUCCESS; -} - -static HRESULT get_cap_device(struct dshow_factory *df, - unsigned id, - IBaseFilter **filter) -{ - IBindCtx *pbc; - HRESULT hr; - - hr = CreateBindCtx(0, &pbc); - if (SUCCEEDED (hr)) { - IMoniker *moniker; - DWORD pchEaten; - - hr = MkParseDisplayName(pbc, df->dev_info[id].display_name, - &pchEaten, &moniker); - if (SUCCEEDED(hr)) { - hr = IMoniker_BindToObject(moniker, pbc, NULL, - &IID_IBaseFilter, - (LPVOID *)filter); - IMoniker_Release(moniker); - } - IBindCtx_Release(pbc); - } - - return hr; -} - -static void enum_dev_cap(IBaseFilter *filter, - pjmedia_dir dir, - const GUID *dshow_fmt, - AM_MEDIA_TYPE **pMediatype, - IPin **pSrcpin, - pj_bool_t *sup_fmt) -{ - IEnumPins *pEnum; - AM_MEDIA_TYPE *mediatype = NULL; - HRESULT hr; - - if (pSrcpin) - *pSrcpin = NULL; - hr = IBaseFilter_EnumPins(filter, &pEnum); - if (SUCCEEDED(hr)) { - /* Loop through all the pins. */ - IPin *pPin = NULL; - - while (IEnumPins_Next(pEnum, 1, &pPin, NULL) == S_OK) { - PIN_DIRECTION pindirtmp; - - hr = IPin_QueryDirection(pPin, &pindirtmp); - if (hr != S_OK || pindirtmp != PINDIR_OUTPUT) { - if (SUCCEEDED(hr)) - IPin_Release(pPin); - continue; - } - - if (dir == PJMEDIA_DIR_CAPTURE) { - IAMStreamConfig *streamcaps; - - hr = IPin_QueryInterface(pPin, &IID_IAMStreamConfig, - (LPVOID *)&streamcaps); - if (SUCCEEDED(hr)) { - VIDEO_STREAM_CONFIG_CAPS vscc; - int i, isize, icount; - - IAMStreamConfig_GetNumberOfCapabilities(streamcaps, - &icount, &isize); - - for (i = 0; i < icount; i++) { - unsigned j, nformat; - RPC_STATUS rpcstatus, rpcstatus2; - - hr = IAMStreamConfig_GetStreamCaps(streamcaps, i, - &mediatype, - (BYTE *)&vscc); - if (FAILED (hr)) - continue; - - nformat = (dshow_fmt? 1: - sizeof(dshow_fmts)/sizeof(dshow_fmts[0])); - for (j = 0; j < nformat; j++) { - const GUID *dshow_format = dshow_fmt; - - if (!dshow_format) - dshow_format = dshow_fmts[j].dshow_format; - if (UuidCompare(&mediatype->subtype, - (UUID*)dshow_format, - &rpcstatus) == 0 && - rpcstatus == RPC_S_OK && - UuidCompare(&mediatype->formattype, - (UUID*)&FORMAT_VideoInfo, - &rpcstatus2) == 0 && - rpcstatus2 == RPC_S_OK) - { - if (sup_fmt) - sup_fmt[j] = PJ_TRUE; - if (pSrcpin) { - *pSrcpin = pPin; - *pMediatype = mediatype; - } - } - } - if (pSrcpin && *pSrcpin) - break; - } - IAMStreamConfig_Release(streamcaps); - } - } else { - *pSrcpin = pPin; - } - if (pSrcpin && *pSrcpin) - break; - IPin_Release(pPin); - } - IEnumPins_Release(pEnum); - } -} - -/* API: refresh the list of devices */ -static pj_status_t dshow_factory_refresh(pjmedia_vid_dev_factory *f) -{ - struct dshow_factory *df = (struct dshow_factory*)f; - struct dshow_dev_info *ddi; - int dev_count = 0; - unsigned c; - ICreateDevEnum *dev_enum = NULL; - IEnumMoniker *enum_cat = NULL; - IMoniker *moniker = NULL; - HRESULT hr; - ULONG fetched; - - if (df->dev_pool) { - pj_pool_release(df->dev_pool); - df->dev_pool = NULL; - } - - df->dev_count = 0; - df->dev_pool = pj_pool_create(df->pf, "dshow video", 500, 500, NULL); - - hr = CoCreateInstance(&CLSID_SystemDeviceEnum, NULL, - CLSCTX_INPROC_SERVER, &IID_ICreateDevEnum, - (void**)&dev_enum); - if (FAILED(hr) || - ICreateDevEnum_CreateClassEnumerator(dev_enum, - &CLSID_VideoInputDeviceCategory, &enum_cat, 0) != S_OK) - { - PJ_LOG(4,(THIS_FILE, "Windows found no video input devices")); - if (dev_enum) - ICreateDevEnum_Release(dev_enum); - dev_count = 0; - } else { - while (IEnumMoniker_Next(enum_cat, 1, &moniker, &fetched) == S_OK) { - dev_count++; - } - } - - /* Add renderer device */ - dev_count += 1; - df->dev_info = (struct dshow_dev_info*) - pj_pool_calloc(df->dev_pool, dev_count, - sizeof(struct dshow_dev_info)); - - if (dev_count > 1) { - IEnumMoniker_Reset(enum_cat); - while (IEnumMoniker_Next(enum_cat, 1, &moniker, &fetched) == S_OK) { - IPropertyBag *prop_bag; - - hr = IMoniker_BindToStorage(moniker, 0, 0, &IID_IPropertyBag, - (void**)&prop_bag); - if (SUCCEEDED(hr)) { - VARIANT var_name; - - VariantInit(&var_name); - hr = IPropertyBag_Read(prop_bag, L"FriendlyName", - &var_name, NULL); - if (SUCCEEDED(hr) && var_name.bstrVal) { - WCHAR *wszDisplayName = NULL; - IBaseFilter *filter; - - ddi = &df->dev_info[df->dev_count++]; - pj_bzero(ddi, sizeof(*ddi)); - pj_unicode_to_ansi(var_name.bstrVal, - wcslen(var_name.bstrVal), - ddi->info.name, - sizeof(ddi->info.name)); - - hr = IMoniker_GetDisplayName(moniker, NULL, NULL, - &wszDisplayName); - if (hr == S_OK && wszDisplayName) { - pj_memcpy(ddi->display_name, wszDisplayName, - (wcslen(wszDisplayName)+1) * sizeof(WCHAR)); - CoTaskMemFree(wszDisplayName); - } - - strncpy(ddi->info.driver, "dshow", - sizeof(ddi->info.driver)); - ddi->info.driver[sizeof(ddi->info.driver)-1] = '\0'; - ddi->info.dir = PJMEDIA_DIR_CAPTURE; - ddi->info.has_callback = PJ_TRUE; - - /* Set the device capabilities here */ - ddi->info.caps = PJMEDIA_VID_DEV_CAP_FORMAT; - - hr = get_cap_device(df, df->dev_count-1, &filter); - if (SUCCEEDED(hr)) { - unsigned j; - pj_bool_t sup_fmt[sizeof(dshow_fmts)/sizeof(dshow_fmts[0])]; - - pj_bzero(sup_fmt, sizeof(sup_fmt)); - enum_dev_cap(filter, ddi->info.dir, NULL, NULL, NULL, sup_fmt); - - ddi->info.fmt_cnt = 0; - for (j = 0; - j < sizeof(dshow_fmts)/sizeof(dshow_fmts[0]); - j++) - { - if (!sup_fmt[j]) - continue; - pjmedia_format_init_video( - &ddi->info.fmt[ddi->info.fmt_cnt++], - dshow_fmts[j].pjmedia_format, - DEFAULT_WIDTH, DEFAULT_HEIGHT, - DEFAULT_FPS, 1); - } - } - } - VariantClear(&var_name); - - IPropertyBag_Release(prop_bag); - } - IMoniker_Release(moniker); - } - - IEnumMoniker_Release(enum_cat); - ICreateDevEnum_Release(dev_enum); - } - -#if HAS_VMR - ddi = &df->dev_info[df->dev_count++]; - pj_bzero(ddi, sizeof(*ddi)); - pj_ansi_strncpy(ddi->info.name, "Video Mixing Renderer", - sizeof(ddi->info.name)); - ddi->info.name[sizeof(ddi->info.name)-1] = '\0'; - pj_ansi_strncpy(ddi->info.driver, "dshow", sizeof(ddi->info.driver)); - ddi->info.driver[sizeof(ddi->info.driver)-1] = '\0'; - ddi->info.dir = PJMEDIA_DIR_RENDER; - ddi->info.has_callback = PJ_FALSE; - ddi->info.caps = PJMEDIA_VID_DEV_CAP_FORMAT; -// TODO: -// ddi->info.caps |= PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW; - - ddi->info.fmt_cnt = 1; - pjmedia_format_init_video(&ddi->info.fmt[0], dshow_fmts[0].pjmedia_format, - DEFAULT_WIDTH, DEFAULT_HEIGHT, - DEFAULT_FPS, 1); -#endif - - PJ_LOG(4, (THIS_FILE, "DShow has %d devices:", - df->dev_count)); - for (c = 0; c < df->dev_count; ++c) { - PJ_LOG(4, (THIS_FILE, " dev_id %d: %s (%s)", - c, - df->dev_info[c].info.name, - df->dev_info[c].info.dir & PJMEDIA_DIR_CAPTURE ? - "capture" : "render")); - } - - return PJ_SUCCESS; -} - -/* API: get number of devices */ -static unsigned dshow_factory_get_dev_count(pjmedia_vid_dev_factory *f) -{ - struct dshow_factory *df = (struct dshow_factory*)f; - return df->dev_count; -} - -/* API: get device info */ -static pj_status_t dshow_factory_get_dev_info(pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_info *info) -{ - struct dshow_factory *df = (struct dshow_factory*)f; - - PJ_ASSERT_RETURN(index < df->dev_count, PJMEDIA_EVID_INVDEV); - - pj_memcpy(info, &df->dev_info[index].info, sizeof(*info)); - - return PJ_SUCCESS; -} - -/* API: create default device parameter */ -static pj_status_t dshow_factory_default_param(pj_pool_t *pool, - pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_param *param) -{ - struct dshow_factory *df = (struct dshow_factory*)f; - struct dshow_dev_info *di = &df->dev_info[index]; - - PJ_ASSERT_RETURN(index < df->dev_count, PJMEDIA_EVID_INVDEV); - - PJ_UNUSED_ARG(pool); - - pj_bzero(param, sizeof(*param)); - if (di->info.dir & PJMEDIA_DIR_CAPTURE) { - param->dir = PJMEDIA_DIR_CAPTURE; - param->cap_id = index; - param->rend_id = PJMEDIA_VID_INVALID_DEV; - } else if (di->info.dir & PJMEDIA_DIR_RENDER) { - param->dir = PJMEDIA_DIR_RENDER; - param->rend_id = index; - param->cap_id = PJMEDIA_VID_INVALID_DEV; - } else { - return PJMEDIA_EVID_INVDEV; - } - - /* Set the device capabilities here */ - param->clock_rate = DEFAULT_CLOCK_RATE; - param->flags = PJMEDIA_VID_DEV_CAP_FORMAT; - - pjmedia_format_copy(¶m->fmt, &di->info.fmt[0]); - - return PJ_SUCCESS; -} - -static void input_cb(void *user_data, IMediaSample *pMediaSample) -{ - struct dshow_stream *strm = (struct dshow_stream*)user_data; - pjmedia_frame frame = {0}; - - if (strm->quit_flag) { - strm->cap_thread_exited = PJ_TRUE; - return; - } - - if (strm->cap_thread_initialized == 0 || !pj_thread_is_registered()) - { - pj_status_t status; - - status = pj_thread_register("ds_cap", strm->cap_thread_desc, - &strm->cap_thread); - if (status != PJ_SUCCESS) - return; - strm->cap_thread_initialized = 1; - PJ_LOG(5,(THIS_FILE, "Capture thread started")); - } - - frame.type = PJMEDIA_FRAME_TYPE_VIDEO; - IMediaSample_GetPointer(pMediaSample, (BYTE **)&frame.buf); - frame.size = IMediaSample_GetActualDataLength(pMediaSample); - frame.bit_info = 0; - frame.timestamp = strm->cap_ts; - strm->cap_ts.u64 += strm->cap_ts_inc; - - if (strm->frm_buf_size) { - unsigned i, stride; - BYTE *src_buf, *dst_buf; - pjmedia_video_format_detail *vfd; - - /* Image is bottom-up, convert it to top-down. */ - src_buf = dst_buf = (BYTE *)frame.buf; - stride = strm->frm_buf_size; - vfd = pjmedia_format_get_video_format_detail(&strm->param.fmt, - PJ_TRUE); - src_buf += (vfd->size.h - 1) * stride; - - for (i = vfd->size.h / 2; i > 0; i--) { - memcpy(strm->frm_buf, dst_buf, stride); - memcpy(dst_buf, src_buf, stride); - memcpy(src_buf, strm->frm_buf, stride); - dst_buf += stride; - src_buf -= stride; - } - } - - if (strm->vid_cb.capture_cb) - (*strm->vid_cb.capture_cb)(&strm->base, strm->user_data, &frame); -} - -/* API: Put frame from stream */ -static pj_status_t dshow_stream_put_frame(pjmedia_vid_dev_stream *strm, - const pjmedia_frame *frame) -{ - struct dshow_stream *stream = (struct dshow_stream*)strm; - HRESULT hr; - - if (stream->quit_flag) { - stream->rend_thread_exited = PJ_TRUE; - return PJ_SUCCESS; - } - - hr = SourceFilter_Deliver(stream->dgraph.csource_filter, - frame->buf, frame->size); - if (FAILED(hr)) - return hr; - - return PJ_SUCCESS; -} - -static dshow_fmt_info* get_dshow_format_info(pjmedia_format_id id) -{ - unsigned i; - - for (i = 0; i < sizeof(dshow_fmts)/sizeof(dshow_fmts[0]); i++) { - if (dshow_fmts[i].pjmedia_format == id) - return &dshow_fmts[i]; - } - - return NULL; -} - -static pj_status_t create_filter_graph(pjmedia_dir dir, - unsigned id, - pj_bool_t use_def_size, - pj_bool_t use_def_fps, - struct dshow_factory *df, - struct dshow_stream *strm, - struct dshow_graph *graph) -{ - HRESULT hr; - IEnumPins *pEnum; - IPin *srcpin = NULL; - IPin *sinkpin = NULL; - AM_MEDIA_TYPE *mediatype= NULL, mtype; - VIDEOINFOHEADER *video_info, *vi = NULL; - pjmedia_video_format_detail *vfd; - const pjmedia_video_format_info *vfi; - - vfi = pjmedia_get_video_format_info(pjmedia_video_format_mgr_instance(), - strm->param.fmt.id); - if (!vfi) - return PJMEDIA_EVID_BADFORMAT; - - hr = CoCreateInstance(&CLSID_FilterGraph, NULL, CLSCTX_INPROC, - &IID_IFilterGraph, (LPVOID *)&graph->filter_graph); - if (FAILED(hr)) { - goto on_error; - } - - hr = IFilterGraph_QueryInterface(graph->filter_graph, &IID_IMediaFilter, - (LPVOID *)&graph->media_filter); - if (FAILED(hr)) { - goto on_error; - } - - if (dir == PJMEDIA_DIR_CAPTURE) { - hr = get_cap_device(df, id, &graph->source_filter); - if (FAILED(hr)) { - goto on_error; - } - } else { - graph->source_filter = SourceFilter_Create(&graph->csource_filter); - } - - hr = IFilterGraph_AddFilter(graph->filter_graph, graph->source_filter, - L"capture"); - if (FAILED(hr)) { - goto on_error; - } - - if (dir == PJMEDIA_DIR_CAPTURE) { - graph->rend_filter = NullRenderer_Create(input_cb, strm); - } else { - hr = CoCreateInstance(&CLSID_VideoMixingRenderer, NULL, - CLSCTX_INPROC, &IID_IBaseFilter, - (LPVOID *)&graph->rend_filter); - if (FAILED (hr)) { - goto on_error; - } - } - - IBaseFilter_EnumPins(graph->rend_filter, &pEnum); - if (SUCCEEDED(hr)) { - // Loop through all the pins - IPin *pPin = NULL; - - while (IEnumPins_Next(pEnum, 1, &pPin, NULL) == S_OK) { - PIN_DIRECTION pindirtmp; - - hr = IPin_QueryDirection(pPin, &pindirtmp); - if (hr == S_OK && pindirtmp == PINDIR_INPUT) { - sinkpin = pPin; - break; - } - IPin_Release(pPin); - } - IEnumPins_Release(pEnum); - } - - vfd = pjmedia_format_get_video_format_detail(&strm->param.fmt, PJ_TRUE); - - enum_dev_cap(graph->source_filter, dir, - get_dshow_format_info(strm->param.fmt.id)->dshow_format, - &mediatype, &srcpin, NULL); - graph->mediatype = mediatype; - - if (srcpin && dir == PJMEDIA_DIR_RENDER) { - mediatype = graph->mediatype = &mtype; - - memset (mediatype, 0, sizeof(AM_MEDIA_TYPE)); - mediatype->majortype = MEDIATYPE_Video; - mediatype->subtype = *(get_dshow_format_info(strm->param.fmt.id)-> - dshow_format); - mediatype->bFixedSizeSamples = TRUE; - mediatype->bTemporalCompression = FALSE; - - vi = (VIDEOINFOHEADER *) - CoTaskMemAlloc(sizeof(VIDEOINFOHEADER)); - memset (vi, 0, sizeof(VIDEOINFOHEADER)); - mediatype->formattype = FORMAT_VideoInfo; - mediatype->cbFormat = sizeof(VIDEOINFOHEADER); - mediatype->pbFormat = (BYTE *)vi; - - vi->rcSource.bottom = vfd->size.h; - vi->rcSource.right = vfd->size.w; - vi->rcTarget.bottom = vfd->size.h; - vi->rcTarget.right = vfd->size.w; - - vi->bmiHeader.biSize = sizeof(BITMAPINFOHEADER); - vi->bmiHeader.biPlanes = 1; - vi->bmiHeader.biBitCount = vfi->bpp; - vi->bmiHeader.biCompression = strm->param.fmt.id; - } - - if (!srcpin || !sinkpin || !mediatype) { - hr = VFW_E_TYPE_NOT_ACCEPTED; - goto on_error; - } - video_info = (VIDEOINFOHEADER *) mediatype->pbFormat; - if (!use_def_size) { - video_info->bmiHeader.biWidth = vfd->size.w; - video_info->bmiHeader.biHeight = vfd->size.h; - } - if (video_info->AvgTimePerFrame == 0 || - (!use_def_fps && vfd->fps.num != 0)) - { - video_info->AvgTimePerFrame = (LONGLONG) (10000000 * - (double)vfd->fps.denum / - vfd->fps.num); - } - video_info->bmiHeader.biSizeImage = DIBSIZE(video_info->bmiHeader); - mediatype->lSampleSize = DIBSIZE(video_info->bmiHeader); - if (graph->csource_filter) - SourceFilter_SetMediaType(graph->csource_filter, - mediatype); - - hr = IFilterGraph_AddFilter(graph->filter_graph, - (IBaseFilter *)graph->rend_filter, - L"renderer"); - if (FAILED(hr)) - goto on_error; - - hr = IFilterGraph_ConnectDirect(graph->filter_graph, srcpin, sinkpin, - mediatype); - if (SUCCEEDED(hr)) { - if (use_def_size || use_def_fps) { - pjmedia_format_init_video(&strm->param.fmt, strm->param.fmt.id, - video_info->bmiHeader.biWidth, - video_info->bmiHeader.biHeight, - 10000000, - (unsigned)video_info->AvgTimePerFrame); - } - - strm->frm_buf_size = 0; - if (dir == PJMEDIA_DIR_CAPTURE && - video_info->bmiHeader.biCompression == BI_RGB && - video_info->bmiHeader.biHeight > 0) - { - /* Allocate buffer to flip the captured image. */ - strm->frm_buf_size = (video_info->bmiHeader.biBitCount >> 3) * - video_info->bmiHeader.biWidth; - strm->frm_buf = pj_pool_alloc(strm->pool, strm->frm_buf_size); - } - } - -on_error: - if (srcpin) - IPin_Release(srcpin); - if (sinkpin) - IPin_Release(sinkpin); - if (vi) - CoTaskMemFree(vi); - if (FAILED(hr)) { - char msg[80]; - if (AMGetErrorText(hr, msg, sizeof(msg))) { - PJ_LOG(4,(THIS_FILE, "Error creating filter graph: %s (hr=0x%x)", - msg, hr)); - } - return PJ_EUNKNOWN; - } - - return PJ_SUCCESS; -} - -static void destroy_filter_graph(struct dshow_stream * stream) -{ - if (stream->dgraph.source_filter) { - IBaseFilter_Release(stream->dgraph.source_filter); - stream->dgraph.source_filter = NULL; - } - if (stream->dgraph.rend_filter) { - IBaseFilter_Release(stream->dgraph.rend_filter); - stream->dgraph.rend_filter = NULL; - } - if (stream->dgraph.media_filter) { - IMediaFilter_Release(stream->dgraph.media_filter); - stream->dgraph.media_filter = NULL; - } - if (stream->dgraph.filter_graph) { - IFilterGraph_Release(stream->dgraph.filter_graph); - stream->dgraph.filter_graph = NULL; - } -} - -/* API: create stream */ -static pj_status_t dshow_factory_create_stream( - pjmedia_vid_dev_factory *f, - pjmedia_vid_dev_param *param, - const pjmedia_vid_dev_cb *cb, - void *user_data, - pjmedia_vid_dev_stream **p_vid_strm) -{ - struct dshow_factory *df = (struct dshow_factory*)f; - pj_pool_t *pool; - struct dshow_stream *strm; - pj_status_t status; - - PJ_ASSERT_RETURN(param->dir == PJMEDIA_DIR_CAPTURE || - param->dir == PJMEDIA_DIR_RENDER, PJ_EINVAL); - - if (!get_dshow_format_info(param->fmt.id)) - return PJMEDIA_EVID_BADFORMAT; - - /* Create and Initialize stream descriptor */ - pool = pj_pool_create(df->pf, "dshow-dev", 1000, 1000, NULL); - PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); - - strm = PJ_POOL_ZALLOC_T(pool, struct dshow_stream); - pj_memcpy(&strm->param, param, sizeof(*param)); - strm->pool = pool; - pj_memcpy(&strm->vid_cb, cb, sizeof(*cb)); - strm->user_data = user_data; - - if (param->dir & PJMEDIA_DIR_CAPTURE) { - const pjmedia_video_format_detail *vfd; - - /* Create capture stream here */ - status = create_filter_graph(PJMEDIA_DIR_CAPTURE, param->cap_id, - PJ_FALSE, PJ_FALSE, df, strm, - &strm->dgraph); - if (status != PJ_SUCCESS) { - destroy_filter_graph(strm); - /* Try to use default fps */ - PJ_LOG(4,(THIS_FILE, "Trying to open dshow dev with default fps")); - status = create_filter_graph(PJMEDIA_DIR_CAPTURE, param->cap_id, - PJ_FALSE, PJ_TRUE, df, strm, - &strm->dgraph); - - if (status != PJ_SUCCESS) { - /* Still failed, now try to use default fps and size */ - destroy_filter_graph(strm); - /* Try to use default fps */ - PJ_LOG(4,(THIS_FILE, "Trying to open dshow dev with default " - "size & fps")); - status = create_filter_graph(PJMEDIA_DIR_CAPTURE, - param->cap_id, - PJ_TRUE, PJ_TRUE, df, strm, - &strm->dgraph); - } - - if (status != PJ_SUCCESS) - goto on_error; - pj_memcpy(param, &strm->param, sizeof(*param)); - } - - vfd = pjmedia_format_get_video_format_detail(¶m->fmt, PJ_TRUE); - strm->cap_ts_inc = PJMEDIA_SPF2(param->clock_rate, &vfd->fps, 1); - } else if (param->dir & PJMEDIA_DIR_RENDER) { - /* Create render stream here */ - status = create_filter_graph(PJMEDIA_DIR_RENDER, param->rend_id, - PJ_FALSE, PJ_FALSE, df, strm, - &strm->dgraph); - if (status != PJ_SUCCESS) - goto on_error; - } - - /* Apply the remaining settings */ - if (param->flags & PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW) { - dshow_stream_set_cap(&strm->base, - PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW, - ¶m->window); - } - - /* Done */ - strm->base.op = &stream_op; - *p_vid_strm = &strm->base; - - return PJ_SUCCESS; - -on_error: - dshow_stream_destroy((pjmedia_vid_dev_stream *)strm); - return status; -} - -/* API: Get stream info. */ -static pj_status_t dshow_stream_get_param(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_param *pi) -{ - struct dshow_stream *strm = (struct dshow_stream*)s; - - PJ_ASSERT_RETURN(strm && pi, PJ_EINVAL); - - pj_memcpy(pi, &strm->param, sizeof(*pi)); - - if (dshow_stream_get_cap(s, PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW, - &pi->window) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW; - } - - return PJ_SUCCESS; -} - -/* API: get capability */ -static pj_status_t dshow_stream_get_cap(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_cap cap, - void *pval) -{ - struct dshow_stream *strm = (struct dshow_stream*)s; - - PJ_UNUSED_ARG(strm); - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - if (cap==PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW) - { - *(unsigned*)pval = 0; - return PJ_SUCCESS; - } else { - return PJMEDIA_EVID_INVCAP; - } -} - -/* API: set capability */ -static pj_status_t dshow_stream_set_cap(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_cap cap, - const void *pval) -{ - struct dshow_stream *strm = (struct dshow_stream*)s; - - PJ_UNUSED_ARG(strm); - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - if (cap==PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW) - { - // set renderer's window here - return PJ_SUCCESS; - } - - return PJMEDIA_EVID_INVCAP; -} - -/* API: Start stream. */ -static pj_status_t dshow_stream_start(pjmedia_vid_dev_stream *strm) -{ - struct dshow_stream *stream = (struct dshow_stream*)strm; - HRESULT hr; - - stream->quit_flag = PJ_FALSE; - stream->cap_thread_exited = PJ_FALSE; - stream->rend_thread_exited = PJ_FALSE; - - hr = IMediaFilter_Run(stream->dgraph.media_filter, 0); - if (FAILED(hr)) { - char msg[80]; - if (AMGetErrorText(hr, msg, sizeof(msg))) { - PJ_LOG(4,(THIS_FILE, "Error starting media: %s", msg)); - } - return PJ_EUNKNOWN; - } - - PJ_LOG(4, (THIS_FILE, "Starting dshow video stream")); - - return PJ_SUCCESS; -} - -/* API: Stop stream. */ -static pj_status_t dshow_stream_stop(pjmedia_vid_dev_stream *strm) -{ - struct dshow_stream *stream = (struct dshow_stream*)strm; - unsigned i; - - stream->quit_flag = PJ_TRUE; - if (stream->cap_thread) { - for (i=0; !stream->cap_thread_exited && i<100; ++i) - pj_thread_sleep(10); - } - for (i=0; !stream->rend_thread_exited && i<100; ++i) - pj_thread_sleep(10); - - IMediaFilter_Stop(stream->dgraph.media_filter); - - PJ_LOG(4, (THIS_FILE, "Stopping dshow video stream")); - - return PJ_SUCCESS; -} - -/* API: Destroy stream. */ -static pj_status_t dshow_stream_destroy(pjmedia_vid_dev_stream *strm) -{ - struct dshow_stream *stream = (struct dshow_stream*)strm; - - PJ_ASSERT_RETURN(stream != NULL, PJ_EINVAL); - - dshow_stream_stop(strm); - destroy_filter_graph(stream); - - pj_pool_release(stream->pool); - - return PJ_SUCCESS; -} - -#endif /* PJMEDIA_VIDEO_DEV_HAS_DSHOW */ diff --git a/res/pjproject/pjmedia/src/pjmedia-videodev/dshowclasses.cpp b/res/pjproject/pjmedia/src/pjmedia-videodev/dshowclasses.cpp deleted file mode 100644 index 830259d84a..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-videodev/dshowclasses.cpp +++ /dev/null @@ -1,242 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include - - -#if defined(PJMEDIA_VIDEO_DEV_HAS_DSHOW) && PJMEDIA_VIDEO_DEV_HAS_DSHOW != 0 - - -#include -#include - -typedef void (*input_callback)(void *user_data, IMediaSample *pMediaSample); - -const GUID CLSID_NullRenderer = {0xF9168C5E, 0xCEB2, 0x4FAA, {0xB6, 0xBF, - 0x32, 0x9B, 0xF3, 0x9F, 0xA1, 0xE4}}; - -const GUID CLSID_SourceFilter = {0xF9168C5E, 0xCEB2, 0x4FAA, {0xB6, 0xBF, - 0x32, 0x9B, 0xF3, 0x9F, 0xA1, 0xE5}}; - -class NullRenderer: public CBaseRenderer -{ -public: - NullRenderer(HRESULT *pHr); - virtual ~NullRenderer(); - - virtual HRESULT CheckMediaType(const CMediaType *pmt); - virtual HRESULT DoRenderSample(IMediaSample *pMediaSample); - - input_callback input_cb; - void *user_data; -}; - -class OutputPin: public CBaseOutputPin -{ -public: - OutputPin(CBaseFilter *pFilter, CCritSec *pLock, HRESULT *pHr); - ~OutputPin(); - - HRESULT Push(void *buf, long size); - - virtual HRESULT CheckMediaType(const CMediaType *pmt); - virtual HRESULT DecideBufferSize(IMemAllocator *pAlloc, - ALLOCATOR_PROPERTIES *ppropInputRequest); - - CMediaType mediaType; - long bufSize; -}; - -class SourceFilter: public CBaseFilter -{ -public: - SourceFilter(); - ~SourceFilter(); - - int GetPinCount(); - CBasePin* GetPin(int n); - -protected: - CCritSec lock; - OutputPin* outPin; -}; - -OutputPin::OutputPin(CBaseFilter *pFilter, CCritSec *pLock, HRESULT *pHr): - CBaseOutputPin("OutputPin", pFilter, pLock, pHr, L"OutputPin") -{ -} - -OutputPin::~OutputPin() -{ -} - -HRESULT OutputPin::CheckMediaType(const CMediaType *pmt) -{ - return S_OK; -} - -HRESULT OutputPin::DecideBufferSize(IMemAllocator *pAlloc, - ALLOCATOR_PROPERTIES *ppropInputRequest) -{ - ALLOCATOR_PROPERTIES properties; - - ppropInputRequest->cbBuffer = bufSize; - ppropInputRequest->cBuffers = 1; - - /* First set the buffer descriptions we're interested in */ - pAlloc->SetProperties(ppropInputRequest, &properties); - - return S_OK; -} - -HRESULT OutputPin::Push(void *buf, long size) -{ - HRESULT hr; - IMediaSample *pSample; - VIDEOINFOHEADER *vi; - AM_MEDIA_TYPE *pmt; - BYTE *dst_buf; - - /** - * Hold the critical section here as the pin might get disconnected - * during the Deliver() method call. - */ - m_pLock->Lock(); - - hr = GetDeliveryBuffer(&pSample, NULL, NULL, 0); - if (FAILED(hr)) - goto on_error; - - pSample->GetMediaType(&pmt); - if (pmt) { - mediaType.Set(*pmt); - bufSize = pmt->lSampleSize; - } - - pSample->GetPointer(&dst_buf); - vi = (VIDEOINFOHEADER *)mediaType.pbFormat; - if (vi->rcSource.right == vi->bmiHeader.biWidth) { - assert(pSample->GetSize() >= size); - memcpy(dst_buf, buf, size); - } else { - unsigned i, bpp; - unsigned dststride, srcstride; - BYTE *src_buf = (BYTE *)buf; - - bpp = size / abs(vi->bmiHeader.biHeight) / vi->rcSource.right; - dststride = vi->bmiHeader.biWidth * bpp; - srcstride = vi->rcSource.right * bpp; - for (i = abs(vi->bmiHeader.biHeight); i > 0; i--) { - memcpy(dst_buf, src_buf, srcstride); - dst_buf += dststride; - src_buf += srcstride; - } - } - pSample->SetActualDataLength(size); - - hr = Deliver(pSample); - - pSample->Release(); - -on_error: - m_pLock->Unlock(); - return hr; -} - -SourceFilter::SourceFilter(): CBaseFilter("SourceFilter", NULL, &lock, - CLSID_SourceFilter) -{ - HRESULT hr; - outPin = new OutputPin(this, &lock, &hr); -} - -SourceFilter::~SourceFilter() -{ -} - -int SourceFilter::GetPinCount() -{ - return 1; -} - -CBasePin* SourceFilter::GetPin(int n) -{ - return outPin; -} - -NullRenderer::NullRenderer(HRESULT *pHr): CBaseRenderer(CLSID_NullRenderer, - "NullRenderer", - NULL, pHr) -{ - input_cb = NULL; -} - -NullRenderer::~NullRenderer() -{ -} - -HRESULT NullRenderer::CheckMediaType(const CMediaType *pmt) -{ - return S_OK; -} - -HRESULT NullRenderer::DoRenderSample(IMediaSample *pMediaSample) -{ - if (input_cb) - input_cb(user_data, pMediaSample); - - return S_OK; -} - -extern "C" IBaseFilter* NullRenderer_Create(input_callback input_cb, - void *user_data) -{ - HRESULT hr; - NullRenderer *renderer = new NullRenderer(&hr); - renderer->AddRef(); - renderer->input_cb = input_cb; - renderer->user_data = user_data; - - return (CBaseFilter *)renderer; -} - -extern "C" IBaseFilter* SourceFilter_Create(SourceFilter **pSrc) -{ - SourceFilter *src = new SourceFilter(); - src->AddRef(); - *pSrc = src; - - return (CBaseFilter *)src; -} - -extern "C" HRESULT SourceFilter_Deliver(SourceFilter *src, - void *buf, long size) -{ - return ((OutputPin *)src->GetPin(0))->Push(buf, size); -} - -extern "C" void SourceFilter_SetMediaType(SourceFilter *src, - AM_MEDIA_TYPE *pmt) -{ - ((OutputPin *)src->GetPin(0))->mediaType.Set(*pmt); - ((OutputPin *)src->GetPin(0))->bufSize = pmt->lSampleSize; -} - - -#endif /* PJMEDIA_VIDEO_DEV_HAS_DSHOW */ diff --git a/res/pjproject/pjmedia/src/pjmedia-videodev/errno.c b/res/pjproject/pjmedia/src/pjmedia-videodev/errno.c deleted file mode 100644 index d6c0da24d6..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-videodev/errno.c +++ /dev/null @@ -1,119 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - -/* PJMEDIA-videodev's own error codes/messages - * MUST KEEP THIS ARRAY SORTED!! - * Message must be limited to 64 chars! - */ - - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - - -#if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING != 0) - -static const struct -{ - int code; - const char *msg; -} err_str[] = -{ - PJ_BUILD_ERR( PJMEDIA_EVID_ERR, "Unspecified video device error" ), - PJ_BUILD_ERR( PJMEDIA_EVID_SYSERR, "Unknown error from video driver" ), - PJ_BUILD_ERR( PJMEDIA_EVID_INIT, "video subsystem not initialized" ), - PJ_BUILD_ERR( PJMEDIA_EVID_INVDEV, "Invalid video device" ), - PJ_BUILD_ERR( PJMEDIA_EVID_NODEV, "Found no video devices" ), - PJ_BUILD_ERR( PJMEDIA_EVID_NODEFDEV, "Unable to find default video device" ), - PJ_BUILD_ERR( PJMEDIA_EVID_NOTREADY, "video device not ready" ), - PJ_BUILD_ERR( PJMEDIA_EVID_INVCAP, "Invalid or unsupported video capability" ), - PJ_BUILD_ERR( PJMEDIA_EVID_INVOP, "Invalid or unsupported video device operation" ), - PJ_BUILD_ERR( PJMEDIA_EVID_BADFORMAT, "Bad or invalid video device format" ), - PJ_BUILD_ERR( PJMEDIA_EVID_SAMPFORMAT, "Invalid video device sample format"), - PJ_BUILD_ERR( PJMEDIA_EVID_BADLATENCY, "Bad video latency setting") - -}; - -#endif /* PJ_HAS_ERROR_STRING */ - - - -/* - * pjmedia_videodev_strerror() - */ -PJ_DEF(pj_str_t) pjmedia_videodev_strerror(pj_status_t statcode, - char *buf, pj_size_t bufsize ) -{ - pj_str_t errstr; - -#if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING != 0) - - /* videodev error */ - if (statcode >= PJMEDIA_VIDEODEV_ERRNO_START && - statcode < PJMEDIA_VIDEODEV_ERRNO_END) - { - /* Find the error in the table. - * Use binary search! - */ - int first = 0; - int n = PJ_ARRAY_SIZE(err_str); - - while (n > 0) { - int half = n/2; - int mid = first + half; - - if (err_str[mid].code < statcode) { - first = mid+1; - n -= (half+1); - } else if (err_str[mid].code > statcode) { - n = half; - } else { - first = mid; - break; - } - } - - - if (PJ_ARRAY_SIZE(err_str) && err_str[first].code == statcode) { - pj_str_t msg; - - msg.ptr = (char*)err_str[first].msg; - msg.slen = pj_ansi_strlen(err_str[first].msg); - - errstr.ptr = buf; - pj_strncpy_with_null(&errstr, &msg, bufsize); - return errstr; - - } - } -#endif /* PJ_HAS_ERROR_STRING */ - - /* Error not found. */ - errstr.ptr = buf; - errstr.slen = pj_ansi_snprintf(buf, bufsize, - "Unknown pjmedia-videodev error %d", - statcode); - - return errstr; -} - - -#endif /* PJMEDIA_HAS_VIDEO */ diff --git a/res/pjproject/pjmedia/src/pjmedia-videodev/ffmpeg_dev.c b/res/pjproject/pjmedia/src/pjmedia-videodev/ffmpeg_dev.c deleted file mode 100644 index 1bfc0c2707..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-videodev/ffmpeg_dev.c +++ /dev/null @@ -1,516 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* Video device with ffmpeg backend, currently only capture devices are - * implemented. - * - * Issues: - * - no device enumeration (ffmpeg limitation), so this uses "host API" enum - * instead - * - need stricter filter on "host API" enum, currently audio capture devs are - * still listed. - * - no format enumeration, currently hardcoded to PJMEDIA_FORMAT_RGB24 only - * - tested on Vista only (vfw backend) with virtual cam - * - vfw backend produce bottom up pictures - * - using VS IDE, this cannot run under debugger! - */ - -#include -#include -#include -#include -#include - - -#if defined(PJMEDIA_VIDEO_DEV_HAS_FFMPEG) && PJMEDIA_VIDEO_DEV_HAS_FFMPEG != 0 - - -#define THIS_FILE "ffmpeg.c" - -#include "../pjmedia/ffmpeg_util.h" -#include -#include - -#define MAX_DEV_CNT 8 - -typedef struct ffmpeg_dev_info -{ - pjmedia_vid_dev_info base; - AVInputFormat *host_api; - const char *def_devname; -} ffmpeg_dev_info; - - -typedef struct ffmpeg_factory -{ - pjmedia_vid_dev_factory base; - pj_pool_factory *pf; - pj_pool_t *pool; - pj_pool_t *dev_pool; - unsigned dev_count; - ffmpeg_dev_info dev_info[MAX_DEV_CNT]; -} ffmpeg_factory; - - -typedef struct ffmpeg_stream -{ - pjmedia_vid_dev_stream base; - ffmpeg_factory *factory; - pj_pool_t *pool; - pjmedia_vid_dev_param param; - AVFormatContext *ff_fmt_ctx; -} ffmpeg_stream; - - -/* Prototypes */ -static pj_status_t ffmpeg_factory_init(pjmedia_vid_dev_factory *f); -static pj_status_t ffmpeg_factory_destroy(pjmedia_vid_dev_factory *f); -static pj_status_t ffmpeg_factory_refresh(pjmedia_vid_dev_factory *f); -static unsigned ffmpeg_factory_get_dev_count(pjmedia_vid_dev_factory *f); -static pj_status_t ffmpeg_factory_get_dev_info(pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_info *info); -static pj_status_t ffmpeg_factory_default_param(pj_pool_t *pool, - pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_param *param); -static pj_status_t ffmpeg_factory_create_stream( - pjmedia_vid_dev_factory *f, - pjmedia_vid_dev_param *param, - const pjmedia_vid_dev_cb *cb, - void *user_data, - pjmedia_vid_dev_stream **p_vid_strm); - -static pj_status_t ffmpeg_stream_get_param(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_param *param); -static pj_status_t ffmpeg_stream_get_cap(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - void *value); -static pj_status_t ffmpeg_stream_set_cap(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - const void *value); -static pj_status_t ffmpeg_stream_start(pjmedia_vid_dev_stream *strm); -static pj_status_t ffmpeg_stream_get_frame(pjmedia_vid_dev_stream *s, - pjmedia_frame *frame); -static pj_status_t ffmpeg_stream_stop(pjmedia_vid_dev_stream *strm); -static pj_status_t ffmpeg_stream_destroy(pjmedia_vid_dev_stream *strm); - -/* Operations */ -static pjmedia_vid_dev_factory_op factory_op = -{ - &ffmpeg_factory_init, - &ffmpeg_factory_destroy, - &ffmpeg_factory_get_dev_count, - &ffmpeg_factory_get_dev_info, - &ffmpeg_factory_default_param, - &ffmpeg_factory_create_stream, - &ffmpeg_factory_refresh -}; - -static pjmedia_vid_dev_stream_op stream_op = -{ - &ffmpeg_stream_get_param, - &ffmpeg_stream_get_cap, - &ffmpeg_stream_set_cap, - &ffmpeg_stream_start, - &ffmpeg_stream_get_frame, - NULL, - &ffmpeg_stream_stop, - &ffmpeg_stream_destroy -}; - - -static void print_ffmpeg_err(int err) -{ - char errbuf[512]; - if (av_strerror(err, errbuf, sizeof(errbuf)) >= 0) - PJ_LOG(1, (THIS_FILE, "ffmpeg err %d: %s", err, errbuf)); - -} - -static void print_ffmpeg_log(void* ptr, int level, const char* fmt, va_list vl) -{ - PJ_UNUSED_ARG(ptr); - PJ_UNUSED_ARG(level); - vfprintf(stdout, fmt, vl); -} - - -static pj_status_t ffmpeg_capture_open(AVFormatContext **ctx, - AVInputFormat *ifmt, - const char *dev_name, - const pjmedia_vid_dev_param *param) -{ - AVFormatParameters fp; - pjmedia_video_format_detail *vfd; - int err; - - PJ_ASSERT_RETURN(ctx && ifmt && dev_name && param, PJ_EINVAL); - PJ_ASSERT_RETURN(param->fmt.detail_type == PJMEDIA_FORMAT_DETAIL_VIDEO, - PJ_EINVAL); - - vfd = pjmedia_format_get_video_format_detail(¶m->fmt, PJ_TRUE); - - /* Init ffmpeg format context */ - *ctx = avformat_alloc_context(); - - /* Init ffmpeg format param */ - pj_bzero(&fp, sizeof(fp)); - fp.prealloced_context = 1; - fp.width = vfd->size.w; - fp.height = vfd->size.h; - fp.pix_fmt = PIX_FMT_BGR24; - fp.time_base.num = vfd->fps.denum; - fp.time_base.den = vfd->fps.num; - - /* Open capture stream */ - err = av_open_input_stream(ctx, NULL, dev_name, ifmt, &fp); - if (err < 0) { - *ctx = NULL; /* ffmpeg freed its states on failure, do we must too */ - print_ffmpeg_err(err); - return PJ_EUNKNOWN; - } - - return PJ_SUCCESS; -} - -static void ffmpeg_capture_close(AVFormatContext *ctx) -{ - if (ctx) - av_close_input_stream(ctx); -} - - -/**************************************************************************** - * Factory operations - */ -/* - * Init ffmpeg_ video driver. - */ -pjmedia_vid_dev_factory* pjmedia_ffmpeg_factory(pj_pool_factory *pf) -{ - ffmpeg_factory *f; - pj_pool_t *pool; - - pool = pj_pool_create(pf, "ffmpeg_cap_dev", 1000, 1000, NULL); - f = PJ_POOL_ZALLOC_T(pool, ffmpeg_factory); - - f->pool = pool; - f->pf = pf; - f->base.op = &factory_op; - - avdevice_register_all(); - - return &f->base; -} - - -/* API: init factory */ -static pj_status_t ffmpeg_factory_init(pjmedia_vid_dev_factory *f) -{ - return ffmpeg_factory_refresh(f); -} - -/* API: destroy factory */ -static pj_status_t ffmpeg_factory_destroy(pjmedia_vid_dev_factory *f) -{ - ffmpeg_factory *ff = (ffmpeg_factory*)f; - pj_pool_t *pool = ff->pool; - - ff->dev_count = 0; - ff->pool = NULL; - if (ff->dev_pool) - pj_pool_release(ff->dev_pool); - if (pool) - pj_pool_release(pool); - - return PJ_SUCCESS; -} - -/* API: refresh the list of devices */ -static pj_status_t ffmpeg_factory_refresh(pjmedia_vid_dev_factory *f) -{ - ffmpeg_factory *ff = (ffmpeg_factory*)f; - AVInputFormat *p; - ffmpeg_dev_info *info; - - av_log_set_callback(&print_ffmpeg_log); - av_log_set_level(AV_LOG_DEBUG); - - if (ff->dev_pool) { - pj_pool_release(ff->dev_pool); - ff->dev_pool = NULL; - } - - /* TODO: this should enumerate devices, now it enumerates host APIs */ - ff->dev_count = 0; - ff->dev_pool = pj_pool_create(ff->pf, "ffmpeg_cap_dev", 500, 500, NULL); - - p = av_iformat_next(NULL); - while (p) { - if (p->flags & AVFMT_NOFILE) { - unsigned i; - - info = &ff->dev_info[ff->dev_count++]; - pj_bzero(info, sizeof(*info)); - pj_ansi_strncpy(info->base.name, "default", - sizeof(info->base.name)); - pj_ansi_snprintf(info->base.driver, sizeof(info->base.driver), - "%s (ffmpeg)", p->name); - info->base.dir = PJMEDIA_DIR_CAPTURE; - info->base.has_callback = PJ_FALSE; - - info->host_api = p; - -#if defined(PJ_WIN32) && PJ_WIN32!=0 - info->def_devname = "0"; -#elif defined(PJ_LINUX) && PJ_LINUX!=0 - info->def_devname = "/dev/video0"; -#endif - - /* Set supported formats, currently hardcoded to RGB24 only */ - info->base.caps = PJMEDIA_VID_DEV_CAP_FORMAT; - info->base.fmt_cnt = 1; - for (i = 0; i < info->base.fmt_cnt; ++i) { - pjmedia_format *fmt = &info->base.fmt[i]; - - fmt->id = PJMEDIA_FORMAT_RGB24; - fmt->type = PJMEDIA_TYPE_VIDEO; - fmt->detail_type = PJMEDIA_FORMAT_DETAIL_NONE; - } - } - p = av_iformat_next(p); - } - - return PJ_SUCCESS; -} - -/* API: get number of devices */ -static unsigned ffmpeg_factory_get_dev_count(pjmedia_vid_dev_factory *f) -{ - ffmpeg_factory *ff = (ffmpeg_factory*)f; - return ff->dev_count; -} - -/* API: get device info */ -static pj_status_t ffmpeg_factory_get_dev_info(pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_info *info) -{ - ffmpeg_factory *ff = (ffmpeg_factory*)f; - - PJ_ASSERT_RETURN(index < ff->dev_count, PJMEDIA_EVID_INVDEV); - - pj_memcpy(info, &ff->dev_info[index].base, sizeof(*info)); - - return PJ_SUCCESS; -} - -/* API: create default device parameter */ -static pj_status_t ffmpeg_factory_default_param(pj_pool_t *pool, - pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_param *param) -{ - ffmpeg_factory *ff = (ffmpeg_factory*)f; - ffmpeg_dev_info *info; - - PJ_ASSERT_RETURN(index < ff->dev_count, PJMEDIA_EVID_INVDEV); - - PJ_UNUSED_ARG(pool); - - info = &ff->dev_info[index]; - - pj_bzero(param, sizeof(*param)); - param->dir = PJMEDIA_DIR_CAPTURE; - param->cap_id = index; - param->rend_id = PJMEDIA_VID_INVALID_DEV; - param->clock_rate = 0; - - /* Set the device capabilities here */ - param->flags = PJMEDIA_VID_DEV_CAP_FORMAT; - param->clock_rate = 90000; - pjmedia_format_init_video(¶m->fmt, 0, 320, 240, 25, 1); - param->fmt.id = info->base.fmt[0].id; - - return PJ_SUCCESS; -} - - - -/* API: create stream */ -static pj_status_t ffmpeg_factory_create_stream( - pjmedia_vid_dev_factory *f, - pjmedia_vid_dev_param *param, - const pjmedia_vid_dev_cb *cb, - void *user_data, - pjmedia_vid_dev_stream **p_vid_strm) -{ - ffmpeg_factory *ff = (ffmpeg_factory*)f; - pj_pool_t *pool; - ffmpeg_stream *strm; - - PJ_ASSERT_RETURN(f && param && p_vid_strm, PJ_EINVAL); - PJ_ASSERT_RETURN(param->dir == PJMEDIA_DIR_CAPTURE, PJ_EINVAL); - PJ_ASSERT_RETURN((unsigned)param->cap_id < ff->dev_count, PJ_EINVAL); - PJ_ASSERT_RETURN(param->fmt.detail_type == PJMEDIA_FORMAT_DETAIL_VIDEO, - PJ_EINVAL); - - PJ_UNUSED_ARG(cb); - PJ_UNUSED_ARG(user_data); - - /* Create and Initialize stream descriptor */ - pool = pj_pool_create(ff->pf, "ffmpeg-dev", 1000, 1000, NULL); - PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); - - strm = PJ_POOL_ZALLOC_T(pool, struct ffmpeg_stream); - strm->factory = (ffmpeg_factory*)f; - strm->pool = pool; - pj_memcpy(&strm->param, param, sizeof(*param)); - - /* Done */ - strm->base.op = &stream_op; - *p_vid_strm = &strm->base; - - return PJ_SUCCESS; -} - -/* API: Get stream info. */ -static pj_status_t ffmpeg_stream_get_param(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_param *pi) -{ - ffmpeg_stream *strm = (ffmpeg_stream*)s; - - PJ_ASSERT_RETURN(strm && pi, PJ_EINVAL); - - pj_memcpy(pi, &strm->param, sizeof(*pi)); - - return PJ_SUCCESS; -} - -/* API: get capability */ -static pj_status_t ffmpeg_stream_get_cap(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_cap cap, - void *pval) -{ - ffmpeg_stream *strm = (ffmpeg_stream*)s; - - PJ_UNUSED_ARG(strm); - PJ_UNUSED_ARG(cap); - PJ_UNUSED_ARG(pval); - - return PJMEDIA_EVID_INVCAP; -} - -/* API: set capability */ -static pj_status_t ffmpeg_stream_set_cap(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_cap cap, - const void *pval) -{ - ffmpeg_stream *strm = (ffmpeg_stream*)s; - - PJ_UNUSED_ARG(strm); - PJ_UNUSED_ARG(cap); - PJ_UNUSED_ARG(pval); - - return PJMEDIA_EVID_INVCAP; -} - - -/* API: Start stream. */ -static pj_status_t ffmpeg_stream_start(pjmedia_vid_dev_stream *s) -{ - ffmpeg_stream *strm = (ffmpeg_stream*)s; - ffmpeg_dev_info *info; - pj_status_t status; - - info = &strm->factory->dev_info[strm->param.cap_id]; - - PJ_LOG(4, (THIS_FILE, "Starting ffmpeg capture stream")); - - status = ffmpeg_capture_open(&strm->ff_fmt_ctx, info->host_api, - info->def_devname, &strm->param); - if (status != PJ_SUCCESS) { - /* must set ffmpeg states to NULL on any failure */ - strm->ff_fmt_ctx = NULL; - } - - return status; -} - - -/* API: Get frame from stream */ -static pj_status_t ffmpeg_stream_get_frame(pjmedia_vid_dev_stream *s, - pjmedia_frame *frame) -{ - ffmpeg_stream *strm = (ffmpeg_stream*)s; - AVPacket p; - int err; - - err = av_read_frame(strm->ff_fmt_ctx, &p); - if (err < 0) { - print_ffmpeg_err(err); - return PJ_EUNKNOWN; - } - - pj_bzero(frame, sizeof(*frame)); - frame->type = PJMEDIA_FRAME_TYPE_VIDEO; - frame->buf = p.data; - frame->size = p.size; - - return PJ_SUCCESS; -} - - -/* API: Stop stream. */ -static pj_status_t ffmpeg_stream_stop(pjmedia_vid_dev_stream *s) -{ - ffmpeg_stream *strm = (ffmpeg_stream*)s; - - PJ_LOG(4, (THIS_FILE, "Stopping ffmpeg capture stream")); - - ffmpeg_capture_close(strm->ff_fmt_ctx); - strm->ff_fmt_ctx = NULL; - - return PJ_SUCCESS; -} - - -/* API: Destroy stream. */ -static pj_status_t ffmpeg_stream_destroy(pjmedia_vid_dev_stream *s) -{ - ffmpeg_stream *strm = (ffmpeg_stream*)s; - - PJ_ASSERT_RETURN(strm != NULL, PJ_EINVAL); - - ffmpeg_stream_stop(s); - - pj_pool_release(strm->pool); - - return PJ_SUCCESS; -} - -#ifdef _MSC_VER -# pragma comment( lib, "avdevice.lib") -# pragma comment( lib, "avformat.lib") -# pragma comment( lib, "avutil.lib") -#endif - - -#endif /* PJMEDIA_VIDEO_DEV_HAS_FFMPEG */ diff --git a/res/pjproject/pjmedia/src/pjmedia-videodev/ios_dev.m b/res/pjproject/pjmedia/src/pjmedia-videodev/ios_dev.m deleted file mode 100644 index fdb3ef6a89..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-videodev/ios_dev.m +++ /dev/null @@ -1,703 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -#if PJMEDIA_VIDEO_DEV_HAS_IOS -#include "Availability.h" -#ifdef __IPHONE_4_0 - -#import -#import - -#define THIS_FILE "ios_dev.c" -#define DEFAULT_CLOCK_RATE 90000 -#define DEFAULT_WIDTH 480 -#define DEFAULT_HEIGHT 360 -#define DEFAULT_FPS 15 - -typedef struct ios_fmt_info -{ - pjmedia_format_id pjmedia_format; - UInt32 ios_format; -} ios_fmt_info; - -static ios_fmt_info ios_fmts[] = -{ - {PJMEDIA_FORMAT_BGRA, kCVPixelFormatType_32BGRA} , -}; - -/* qt device info */ -struct ios_dev_info -{ - pjmedia_vid_dev_info info; -}; - -/* qt factory */ -struct ios_factory -{ - pjmedia_vid_dev_factory base; - pj_pool_t *pool; - pj_pool_factory *pf; - - unsigned dev_count; - struct ios_dev_info *dev_info; -}; - -@interface VOutDelegate: NSObject - -{ -@public - struct ios_stream *stream; -} -@end - -/* Video stream. */ -struct ios_stream -{ - pjmedia_vid_dev_stream base; /**< Base stream */ - pjmedia_vid_dev_param param; /**< Settings */ - pj_pool_t *pool; /**< Memory pool */ - - pjmedia_vid_dev_cb vid_cb; /**< Stream callback */ - void *user_data; /**< Application data */ - - pjmedia_rect_size size; - pj_uint8_t bpp; - unsigned bytes_per_row; - unsigned frame_size; - - AVCaptureSession *cap_session; - AVCaptureDeviceInput *dev_input; - AVCaptureVideoDataOutput *video_output; - VOutDelegate *vout_delegate; - - UIImageView *imgView; - void *buf; - dispatch_queue_t render_queue; - - pj_timestamp frame_ts; - unsigned ts_inc; -}; - - -/* Prototypes */ -static pj_status_t ios_factory_init(pjmedia_vid_dev_factory *f); -static pj_status_t ios_factory_destroy(pjmedia_vid_dev_factory *f); -static pj_status_t ios_factory_refresh(pjmedia_vid_dev_factory *f); -static unsigned ios_factory_get_dev_count(pjmedia_vid_dev_factory *f); -static pj_status_t ios_factory_get_dev_info(pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_info *info); -static pj_status_t ios_factory_default_param(pj_pool_t *pool, - pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_param *param); -static pj_status_t ios_factory_create_stream( - pjmedia_vid_dev_factory *f, - pjmedia_vid_dev_param *param, - const pjmedia_vid_dev_cb *cb, - void *user_data, - pjmedia_vid_dev_stream **p_vid_strm); - -static pj_status_t ios_stream_get_param(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_param *param); -static pj_status_t ios_stream_get_cap(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - void *value); -static pj_status_t ios_stream_set_cap(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - const void *value); -static pj_status_t ios_stream_start(pjmedia_vid_dev_stream *strm); -static pj_status_t ios_stream_put_frame(pjmedia_vid_dev_stream *strm, - const pjmedia_frame *frame); -static pj_status_t ios_stream_stop(pjmedia_vid_dev_stream *strm); -static pj_status_t ios_stream_destroy(pjmedia_vid_dev_stream *strm); - -/* Operations */ -static pjmedia_vid_dev_factory_op factory_op = -{ - &ios_factory_init, - &ios_factory_destroy, - &ios_factory_get_dev_count, - &ios_factory_get_dev_info, - &ios_factory_default_param, - &ios_factory_create_stream, - &ios_factory_refresh -}; - -static pjmedia_vid_dev_stream_op stream_op = -{ - &ios_stream_get_param, - &ios_stream_get_cap, - &ios_stream_set_cap, - &ios_stream_start, - NULL, - &ios_stream_put_frame, - &ios_stream_stop, - &ios_stream_destroy -}; - - -/**************************************************************************** - * Factory operations - */ -/* - * Init ios_ video driver. - */ -pjmedia_vid_dev_factory* pjmedia_ios_factory(pj_pool_factory *pf) -{ - struct ios_factory *f; - pj_pool_t *pool; - - pool = pj_pool_create(pf, "ios video", 512, 512, NULL); - f = PJ_POOL_ZALLOC_T(pool, struct ios_factory); - f->pf = pf; - f->pool = pool; - f->base.op = &factory_op; - - return &f->base; -} - - -/* API: init factory */ -static pj_status_t ios_factory_init(pjmedia_vid_dev_factory *f) -{ - struct ios_factory *qf = (struct ios_factory*)f; - struct ios_dev_info *qdi; - unsigned i, l; - - /* Initialize input and output devices here */ - qf->dev_info = (struct ios_dev_info*) - pj_pool_calloc(qf->pool, 2, - sizeof(struct ios_dev_info)); - - qf->dev_count = 0; - qdi = &qf->dev_info[qf->dev_count++]; - pj_bzero(qdi, sizeof(*qdi)); - strcpy(qdi->info.name, "iOS UIView"); - strcpy(qdi->info.driver, "iOS"); - qdi->info.dir = PJMEDIA_DIR_RENDER; - qdi->info.has_callback = PJ_FALSE; - qdi->info.caps = PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW; - - if (NSClassFromString(@"AVCaptureSession")) { - qdi = &qf->dev_info[qf->dev_count++]; - pj_bzero(qdi, sizeof(*qdi)); - strcpy(qdi->info.name, "iOS AVCapture"); - strcpy(qdi->info.driver, "iOS"); - qdi->info.dir = PJMEDIA_DIR_CAPTURE; - qdi->info.has_callback = PJ_TRUE; - } - - for (i = 0; i < qf->dev_count; i++) { - qdi = &qf->dev_info[i]; - qdi->info.fmt_cnt = PJ_ARRAY_SIZE(ios_fmts); - qdi->info.caps |= PJMEDIA_VID_DEV_CAP_FORMAT; - - for (l = 0; l < PJ_ARRAY_SIZE(ios_fmts); l++) { - pjmedia_format *fmt = &qdi->info.fmt[l]; - pjmedia_format_init_video(fmt, - ios_fmts[l].pjmedia_format, - DEFAULT_WIDTH, - DEFAULT_HEIGHT, - DEFAULT_FPS, 1); - } - } - - PJ_LOG(4, (THIS_FILE, "iOS video initialized with %d devices", - qf->dev_count)); - - return PJ_SUCCESS; -} - -/* API: destroy factory */ -static pj_status_t ios_factory_destroy(pjmedia_vid_dev_factory *f) -{ - struct ios_factory *qf = (struct ios_factory*)f; - pj_pool_t *pool = qf->pool; - - qf->pool = NULL; - pj_pool_release(pool); - - return PJ_SUCCESS; -} - -/* API: refresh the list of devices */ -static pj_status_t ios_factory_refresh(pjmedia_vid_dev_factory *f) -{ - PJ_UNUSED_ARG(f); - return PJ_SUCCESS; -} - -/* API: get number of devices */ -static unsigned ios_factory_get_dev_count(pjmedia_vid_dev_factory *f) -{ - struct ios_factory *qf = (struct ios_factory*)f; - return qf->dev_count; -} - -/* API: get device info */ -static pj_status_t ios_factory_get_dev_info(pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_info *info) -{ - struct ios_factory *qf = (struct ios_factory*)f; - - PJ_ASSERT_RETURN(index < qf->dev_count, PJMEDIA_EVID_INVDEV); - - pj_memcpy(info, &qf->dev_info[index].info, sizeof(*info)); - - return PJ_SUCCESS; -} - -/* API: create default device parameter */ -static pj_status_t ios_factory_default_param(pj_pool_t *pool, - pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_param *param) -{ - struct ios_factory *qf = (struct ios_factory*)f; - struct ios_dev_info *di = &qf->dev_info[index]; - - PJ_ASSERT_RETURN(index < qf->dev_count, PJMEDIA_EVID_INVDEV); - - PJ_UNUSED_ARG(pool); - - pj_bzero(param, sizeof(*param)); - if (di->info.dir & PJMEDIA_DIR_CAPTURE) { - param->dir = PJMEDIA_DIR_CAPTURE; - param->cap_id = index; - param->rend_id = PJMEDIA_VID_INVALID_DEV; - } else if (di->info.dir & PJMEDIA_DIR_RENDER) { - param->dir = PJMEDIA_DIR_RENDER; - param->rend_id = index; - param->cap_id = PJMEDIA_VID_INVALID_DEV; - } else { - return PJMEDIA_EVID_INVDEV; - } - - param->flags = PJMEDIA_VID_DEV_CAP_FORMAT; - param->clock_rate = DEFAULT_CLOCK_RATE; - pj_memcpy(¶m->fmt, &di->info.fmt[0], sizeof(param->fmt)); - - return PJ_SUCCESS; -} - -@implementation VOutDelegate -- (void)update_image -{ - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - - /* Create a device-dependent RGB color space */ - CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB(); - - /* Create a bitmap graphics context with the sample buffer data */ - CGContextRef context = - CGBitmapContextCreate(stream->buf, stream->size.w, stream->size.h, 8, - stream->bytes_per_row, colorSpace, - kCGBitmapByteOrder32Little | - kCGImageAlphaPremultipliedFirst); - - /** - * Create a Quartz image from the pixel data in the bitmap graphics - * context - */ - CGImageRef quartzImage = CGBitmapContextCreateImage(context); - - /* Free up the context and color space */ - CGContextRelease(context); - CGColorSpaceRelease(colorSpace); - - /* Create an image object from the Quartz image */ - UIImage *image = [UIImage imageWithCGImage:quartzImage scale:1.0 - orientation:UIImageOrientationRight]; - - /* Release the Quartz image */ - CGImageRelease(quartzImage); - - dispatch_async(dispatch_get_main_queue(), - ^{[stream->imgView setImage:image];}); - /* - [stream->imgView performSelectorOnMainThread:@selector(setImage:) - withObject:image waitUntilDone:NO]; - */ - - [pool release]; -} - -- (void)captureOutput:(AVCaptureOutput *)captureOutput - didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer - fromConnection:(AVCaptureConnection *)connection -{ - pjmedia_frame frame; - CVImageBufferRef imageBuffer; - - if (!sampleBuffer) - return; - - /* Get a CMSampleBuffer's Core Video image buffer for the media data */ - imageBuffer = CMSampleBufferGetImageBuffer(sampleBuffer); - - /* Lock the base address of the pixel buffer */ - CVPixelBufferLockBaseAddress(imageBuffer, 0); - - frame.type = PJMEDIA_FRAME_TYPE_VIDEO; - frame.buf = CVPixelBufferGetBaseAddress(imageBuffer); - frame.size = stream->frame_size; - frame.bit_info = 0; - frame.timestamp.u64 = stream->frame_ts.u64; - - if (stream->vid_cb.capture_cb) - (*stream->vid_cb.capture_cb)(&stream->base, stream->user_data, &frame); - - stream->frame_ts.u64 += stream->ts_inc; - - /* Unlock the pixel buffer */ - CVPixelBufferUnlockBaseAddress(imageBuffer,0); -} -@end - -static ios_fmt_info* get_ios_format_info(pjmedia_format_id id) -{ - unsigned i; - - for (i = 0; i < PJ_ARRAY_SIZE(ios_fmts); i++) { - if (ios_fmts[i].pjmedia_format == id) - return &ios_fmts[i]; - } - - return NULL; -} - -/* API: create stream */ -static pj_status_t ios_factory_create_stream( - pjmedia_vid_dev_factory *f, - pjmedia_vid_dev_param *param, - const pjmedia_vid_dev_cb *cb, - void *user_data, - pjmedia_vid_dev_stream **p_vid_strm) -{ - struct ios_factory *qf = (struct ios_factory*)f; - pj_pool_t *pool; - struct ios_stream *strm; - const pjmedia_video_format_detail *vfd; - const pjmedia_video_format_info *vfi; - pj_status_t status = PJ_SUCCESS; - ios_fmt_info *ifi = get_ios_format_info(param->fmt.id); - NSError *error; - - PJ_ASSERT_RETURN(f && param && p_vid_strm, PJ_EINVAL); - PJ_ASSERT_RETURN(param->fmt.type == PJMEDIA_TYPE_VIDEO && - param->fmt.detail_type == PJMEDIA_FORMAT_DETAIL_VIDEO && - (param->dir == PJMEDIA_DIR_CAPTURE || - param->dir == PJMEDIA_DIR_RENDER), - PJ_EINVAL); - - if (!(ifi = get_ios_format_info(param->fmt.id))) - return PJMEDIA_EVID_BADFORMAT; - - vfi = pjmedia_get_video_format_info(NULL, param->fmt.id); - if (!vfi) - return PJMEDIA_EVID_BADFORMAT; - - /* Create and Initialize stream descriptor */ - pool = pj_pool_create(qf->pf, "ios-dev", 4000, 4000, NULL); - PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); - - strm = PJ_POOL_ZALLOC_T(pool, struct ios_stream); - pj_memcpy(&strm->param, param, sizeof(*param)); - strm->pool = pool; - pj_memcpy(&strm->vid_cb, cb, sizeof(*cb)); - strm->user_data = user_data; - - vfd = pjmedia_format_get_video_format_detail(&strm->param.fmt, PJ_TRUE); - pj_memcpy(&strm->size, &vfd->size, sizeof(vfd->size)); - strm->bpp = vfi->bpp; - strm->bytes_per_row = strm->size.w * strm->bpp / 8; - strm->frame_size = strm->bytes_per_row * strm->size.h; - strm->ts_inc = PJMEDIA_SPF2(param->clock_rate, &vfd->fps, 1); - - if (param->dir & PJMEDIA_DIR_CAPTURE) { - /* Create capture stream here */ - strm->cap_session = [[AVCaptureSession alloc] init]; - if (!strm->cap_session) { - status = PJ_ENOMEM; - goto on_error; - } - strm->cap_session.sessionPreset = AVCaptureSessionPresetMedium; - - /* Open video device */ - AVCaptureDevice *videoDevice = - [AVCaptureDevice defaultDeviceWithMediaType:AVMediaTypeVideo]; - if (!videoDevice) { - status = PJMEDIA_EVID_SYSERR; - goto on_error; - } - - /* Add the video device to the session as a device input */ - strm->dev_input = [AVCaptureDeviceInput - deviceInputWithDevice:videoDevice - error: &error]; - if (!strm->dev_input) { - status = PJMEDIA_EVID_SYSERR; - goto on_error; - } - [strm->cap_session addInput:strm->dev_input]; - - strm->video_output = [[[AVCaptureVideoDataOutput alloc] init] - autorelease]; - if (!strm->video_output) { - status = PJMEDIA_EVID_SYSERR; - goto on_error; - } - [strm->cap_session addOutput:strm->video_output]; - - /* Configure the video output */ - strm->vout_delegate = [VOutDelegate alloc]; - strm->vout_delegate->stream = strm; - dispatch_queue_t queue = dispatch_queue_create("myQueue", NULL); - [strm->video_output setSampleBufferDelegate:strm->vout_delegate - queue:queue]; - dispatch_release(queue); - - strm->video_output.videoSettings = - [NSDictionary dictionaryWithObjectsAndKeys: - [NSNumber numberWithInt:ifi->ios_format], - kCVPixelBufferPixelFormatTypeKey, - [NSNumber numberWithInt: vfd->size.w], - kCVPixelBufferWidthKey, - [NSNumber numberWithInt: vfd->size.h], - kCVPixelBufferHeightKey, nil]; - strm->video_output.minFrameDuration = CMTimeMake(vfd->fps.denum, - vfd->fps.num); - } else if (param->dir & PJMEDIA_DIR_RENDER) { - /* Create renderer stream here */ - /* Get the main window */ - UIWindow *window = [[UIApplication sharedApplication] keyWindow]; - - if (param->flags & PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW && - param->window.info.ios.window) - window = (UIWindow *)param->window.info.ios.window; - - pj_assert(window); - strm->imgView = [[UIImageView alloc] initWithFrame:[window bounds]]; - if (!strm->imgView) { - status = PJ_ENOMEM; - goto on_error; - } - [window addSubview:strm->imgView]; - - if (!strm->vout_delegate) { - strm->vout_delegate = [VOutDelegate alloc]; - strm->vout_delegate->stream = strm; - } - - strm->render_queue = dispatch_queue_create("com.pjsip.render_queue", - NULL); - if (!strm->render_queue) - goto on_error; - - strm->buf = pj_pool_alloc(pool, strm->frame_size); - } - - /* Apply the remaining settings */ - /* - if (param->flags & PJMEDIA_VID_DEV_CAP_INPUT_SCALE) { - ios_stream_set_cap(&strm->base, - PJMEDIA_VID_DEV_CAP_INPUT_SCALE, - ¶m->fmt); - } - */ - /* Done */ - strm->base.op = &stream_op; - *p_vid_strm = &strm->base; - - return PJ_SUCCESS; - -on_error: - ios_stream_destroy((pjmedia_vid_dev_stream *)strm); - - return status; -} - -/* API: Get stream info. */ -static pj_status_t ios_stream_get_param(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_param *pi) -{ - struct ios_stream *strm = (struct ios_stream*)s; - - PJ_ASSERT_RETURN(strm && pi, PJ_EINVAL); - - pj_memcpy(pi, &strm->param, sizeof(*pi)); - -/* if (ios_stream_get_cap(s, PJMEDIA_VID_DEV_CAP_INPUT_SCALE, - &pi->fmt.info_size) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_VID_DEV_CAP_INPUT_SCALE; - } -*/ - return PJ_SUCCESS; -} - -/* API: get capability */ -static pj_status_t ios_stream_get_cap(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_cap cap, - void *pval) -{ - struct ios_stream *strm = (struct ios_stream*)s; - - PJ_UNUSED_ARG(strm); - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - if (cap==PJMEDIA_VID_DEV_CAP_INPUT_SCALE) - { - return PJMEDIA_EVID_INVCAP; -// return PJ_SUCCESS; - } else { - return PJMEDIA_EVID_INVCAP; - } -} - -/* API: set capability */ -static pj_status_t ios_stream_set_cap(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_cap cap, - const void *pval) -{ - struct ios_stream *strm = (struct ios_stream*)s; - - PJ_UNUSED_ARG(strm); - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - if (cap==PJMEDIA_VID_DEV_CAP_INPUT_SCALE) - { - return PJ_SUCCESS; - } - - return PJMEDIA_EVID_INVCAP; -} - -/* API: Start stream. */ -static pj_status_t ios_stream_start(pjmedia_vid_dev_stream *strm) -{ - struct ios_stream *stream = (struct ios_stream*)strm; - - PJ_UNUSED_ARG(stream); - - PJ_LOG(4, (THIS_FILE, "Starting ios video stream")); - - if (stream->cap_session) { - [stream->cap_session startRunning]; - - if (![stream->cap_session isRunning]) - return PJ_EUNKNOWN; - } - - return PJ_SUCCESS; -} - - -/* API: Put frame from stream */ -static pj_status_t ios_stream_put_frame(pjmedia_vid_dev_stream *strm, - const pjmedia_frame *frame) -{ - struct ios_stream *stream = (struct ios_stream*)strm; - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - - pj_assert(stream->frame_size >= frame->size); - pj_memcpy(stream->buf, frame->buf, frame->size); - /* Perform video display in a background thread */ -/* - [stream->vout_delegate update_image]; - [NSThread detachNewThreadSelector:@selector(update_image) - toTarget:stream->vout_delegate withObject:nil]; -*/ - dispatch_async(stream->render_queue, - ^{[stream->vout_delegate update_image];}); - - [pool release]; - - return PJ_SUCCESS; -} - -/* API: Stop stream. */ -static pj_status_t ios_stream_stop(pjmedia_vid_dev_stream *strm) -{ - struct ios_stream *stream = (struct ios_stream*)strm; - - PJ_UNUSED_ARG(stream); - - PJ_LOG(4, (THIS_FILE, "Stopping ios video stream")); - - if (stream->cap_session && [stream->cap_session isRunning]) - [stream->cap_session stopRunning]; - - return PJ_SUCCESS; -} - - -/* API: Destroy stream. */ -static pj_status_t ios_stream_destroy(pjmedia_vid_dev_stream *strm) -{ - struct ios_stream *stream = (struct ios_stream*)strm; - - PJ_ASSERT_RETURN(stream != NULL, PJ_EINVAL); - - ios_stream_stop(strm); - - if (stream->imgView) { - [stream->imgView removeFromSuperview]; - [stream->imgView release]; - stream->imgView = NULL; - } - - if (stream->cap_session) { - [stream->cap_session release]; - stream->cap_session = NULL; - } -/* if (stream->dev_input) { - [stream->dev_input release]; - stream->dev_input = NULL; - } -*/ - if (stream->vout_delegate) { - [stream->vout_delegate release]; - stream->vout_delegate = NULL; - } -/* if (stream->video_output) { - [stream->video_output release]; - stream->video_output = NULL; - } -*/ - if (stream->render_queue) { - dispatch_release(stream->render_queue); - stream->render_queue = NULL; - } - - pj_pool_release(stream->pool); - - return PJ_SUCCESS; -} - -#endif -#endif /* PJMEDIA_VIDEO_DEV_HAS_IOS */ diff --git a/res/pjproject/pjmedia/src/pjmedia-videodev/qt_dev.m b/res/pjproject/pjmedia/src/pjmedia-videodev/qt_dev.m deleted file mode 100644 index cef1f36eeb..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-videodev/qt_dev.m +++ /dev/null @@ -1,697 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -#if PJMEDIA_VIDEO_DEV_HAS_QT - -#include -#include - -#define THIS_FILE "qt_dev.c" -#define DEFAULT_CLOCK_RATE 90000 -#define DEFAULT_WIDTH 640 -#define DEFAULT_HEIGHT 480 -#define DEFAULT_FPS 15 - -#define kCVPixelFormatType_422YpCbCr8_yuvs 'yuvs' - -typedef struct qt_fmt_info -{ - pjmedia_format_id pjmedia_format; - unsigned qt_format; -} qt_fmt_info; - -static qt_fmt_info qt_fmts[] = -{ - {PJMEDIA_FORMAT_YUY2, kCVPixelFormatType_422YpCbCr8_yuvs}, - {PJMEDIA_FORMAT_UYVY, kCVPixelFormatType_422YpCbCr8}, -}; - -/* qt device info */ -struct qt_dev_info -{ - pjmedia_vid_dev_info info; - char dev_id[192]; -}; - -/* qt factory */ -struct qt_factory -{ - pjmedia_vid_dev_factory base; - pj_pool_t *pool; - pj_pool_t *dev_pool; - pj_pool_factory *pf; - - unsigned dev_count; - struct qt_dev_info *dev_info; -}; - -struct qt_stream; -typedef void (*func_ptr)(struct qt_stream *strm); - -@interface QTDelegate: NSObject -{ -@public - struct qt_stream *strm; - func_ptr func; -} - -- (void)run_func; -@end - -/* Video stream. */ -struct qt_stream -{ - pjmedia_vid_dev_stream base; /**< Base stream */ - pjmedia_vid_dev_param param; /**< Settings */ - pj_pool_t *pool; /**< Memory pool. */ - - pj_timestamp cap_frame_ts; /**< Captured frame tstamp */ - unsigned cap_ts_inc; /**< Increment */ - - pjmedia_vid_dev_cb vid_cb; /**< Stream callback. */ - void *user_data; /**< Application data. */ - - pj_bool_t cap_thread_exited; - pj_bool_t cap_thread_initialized; - pj_thread_desc cap_thread_desc; - pj_thread_t *cap_thread; - - struct qt_factory *qf; - pj_status_t status; - pj_bool_t is_running; - pj_bool_t cap_exited; - - QTCaptureSession *cap_session; - QTCaptureDeviceInput *dev_input; - QTCaptureDecompressedVideoOutput *video_output; - QTDelegate *qt_delegate; -}; - - -/* Prototypes */ -static pj_status_t qt_factory_init(pjmedia_vid_dev_factory *f); -static pj_status_t qt_factory_destroy(pjmedia_vid_dev_factory *f); -static pj_status_t qt_factory_refresh(pjmedia_vid_dev_factory *f); -static unsigned qt_factory_get_dev_count(pjmedia_vid_dev_factory *f); -static pj_status_t qt_factory_get_dev_info(pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_info *info); -static pj_status_t qt_factory_default_param(pj_pool_t *pool, - pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_param *param); -static pj_status_t qt_factory_create_stream( - pjmedia_vid_dev_factory *f, - pjmedia_vid_dev_param *param, - const pjmedia_vid_dev_cb *cb, - void *user_data, - pjmedia_vid_dev_stream **p_vid_strm); - -static pj_status_t qt_stream_get_param(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_param *param); -static pj_status_t qt_stream_get_cap(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - void *value); -static pj_status_t qt_stream_set_cap(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - const void *value); -static pj_status_t qt_stream_start(pjmedia_vid_dev_stream *strm); -static pj_status_t qt_stream_stop(pjmedia_vid_dev_stream *strm); -static pj_status_t qt_stream_destroy(pjmedia_vid_dev_stream *strm); - -/* Operations */ -static pjmedia_vid_dev_factory_op factory_op = -{ - &qt_factory_init, - &qt_factory_destroy, - &qt_factory_get_dev_count, - &qt_factory_get_dev_info, - &qt_factory_default_param, - &qt_factory_create_stream, - &qt_factory_refresh -}; - -static pjmedia_vid_dev_stream_op stream_op = -{ - &qt_stream_get_param, - &qt_stream_get_cap, - &qt_stream_set_cap, - &qt_stream_start, - NULL, - NULL, - &qt_stream_stop, - &qt_stream_destroy -}; - - -/**************************************************************************** - * Factory operations - */ -/* - * Init qt_ video driver. - */ -pjmedia_vid_dev_factory* pjmedia_qt_factory(pj_pool_factory *pf) -{ - struct qt_factory *f; - pj_pool_t *pool; - - pool = pj_pool_create(pf, "qt video", 4000, 4000, NULL); - f = PJ_POOL_ZALLOC_T(pool, struct qt_factory); - f->pf = pf; - f->pool = pool; - f->base.op = &factory_op; - - return &f->base; -} - - -/* API: init factory */ -static pj_status_t qt_factory_init(pjmedia_vid_dev_factory *f) -{ - return qt_factory_refresh(f); -} - -/* API: destroy factory */ -static pj_status_t qt_factory_destroy(pjmedia_vid_dev_factory *f) -{ - struct qt_factory *qf = (struct qt_factory*)f; - pj_pool_t *pool = qf->pool; - - if (qf->dev_pool) - pj_pool_release(qf->dev_pool); - qf->pool = NULL; - if (pool) - pj_pool_release(pool); - - return PJ_SUCCESS; -} - -/* API: refresh the list of devices */ -static pj_status_t qt_factory_refresh(pjmedia_vid_dev_factory *f) -{ - struct qt_factory *qf = (struct qt_factory*)f; - struct qt_dev_info *qdi; - unsigned i, dev_count = 0; - NSAutoreleasePool *apool = [[NSAutoreleasePool alloc]init]; - NSArray *dev_array; - - if (qf->dev_pool) { - pj_pool_release(qf->dev_pool); - qf->dev_pool = NULL; - } - - dev_array = [QTCaptureDevice inputDevices]; - for (i = 0; i < [dev_array count]; i++) { - QTCaptureDevice *dev = [dev_array objectAtIndex:i]; - if ([dev hasMediaType:QTMediaTypeVideo] || - [dev hasMediaType:QTMediaTypeMuxed]) - { - dev_count++; - } - } - - /* Initialize input and output devices here */ - qf->dev_count = 0; - qf->dev_pool = pj_pool_create(qf->pf, "qt video", 500, 500, NULL); - - qf->dev_info = (struct qt_dev_info*) - pj_pool_calloc(qf->dev_pool, dev_count, - sizeof(struct qt_dev_info)); - for (i = 0; i < [dev_array count]; i++) { - QTCaptureDevice *dev = [dev_array objectAtIndex:i]; - if ([dev hasMediaType:QTMediaTypeVideo] || - [dev hasMediaType:QTMediaTypeMuxed]) - { - unsigned k; - - qdi = &qf->dev_info[qf->dev_count++]; - pj_bzero(qdi, sizeof(*qdi)); - [[dev localizedDisplayName] getCString:qdi->info.name - maxLength:sizeof(qdi->info.name) - encoding: - [NSString defaultCStringEncoding]]; - [[dev uniqueID] getCString:qdi->dev_id - maxLength:sizeof(qdi->dev_id) - encoding:[NSString defaultCStringEncoding]]; - strcpy(qdi->info.driver, "QT"); - qdi->info.dir = PJMEDIA_DIR_CAPTURE; - qdi->info.has_callback = PJ_TRUE; - - qdi->info.fmt_cnt = 0; - qdi->info.caps = PJMEDIA_VID_DEV_CAP_FORMAT; - for (k = 0; k < [[dev formatDescriptions] count]; k++) { - unsigned l; - QTFormatDescription *desc = [[dev formatDescriptions] - objectAtIndex:k]; - for (l = 0; l < PJ_ARRAY_SIZE(qt_fmts); l++) { - if ([desc formatType] == qt_fmts[l].qt_format) { - pjmedia_format *fmt = - &qdi->info.fmt[qdi->info.fmt_cnt++]; - pjmedia_format_init_video(fmt, - qt_fmts[l].pjmedia_format, - DEFAULT_WIDTH, - DEFAULT_HEIGHT, - DEFAULT_FPS, 1); - break; - } - } - } - - PJ_LOG(4, (THIS_FILE, " dev_id %d: %s", i, qdi->info.name)); - } - } - - [apool release]; - - PJ_LOG(4, (THIS_FILE, "qt video has %d devices", - qf->dev_count)); - - return PJ_SUCCESS; -} - -/* API: get number of devices */ -static unsigned qt_factory_get_dev_count(pjmedia_vid_dev_factory *f) -{ - struct qt_factory *qf = (struct qt_factory*)f; - return qf->dev_count; -} - -/* API: get device info */ -static pj_status_t qt_factory_get_dev_info(pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_info *info) -{ - struct qt_factory *qf = (struct qt_factory*)f; - - PJ_ASSERT_RETURN(index < qf->dev_count, PJMEDIA_EVID_INVDEV); - - pj_memcpy(info, &qf->dev_info[index].info, sizeof(*info)); - - return PJ_SUCCESS; -} - -/* API: create default device parameter */ -static pj_status_t qt_factory_default_param(pj_pool_t *pool, - pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_param *param) -{ - struct qt_factory *qf = (struct qt_factory*)f; - struct qt_dev_info *di = &qf->dev_info[index]; - - PJ_ASSERT_RETURN(index < qf->dev_count, PJMEDIA_EVID_INVDEV); - - PJ_UNUSED_ARG(pool); - - pj_bzero(param, sizeof(*param)); - param->dir = PJMEDIA_DIR_CAPTURE; - param->cap_id = index; - param->rend_id = PJMEDIA_VID_INVALID_DEV; - param->flags = PJMEDIA_VID_DEV_CAP_FORMAT; - param->clock_rate = DEFAULT_CLOCK_RATE; - pj_memcpy(¶m->fmt, &di->info.fmt[0], sizeof(param->fmt)); - - return PJ_SUCCESS; -} - -static qt_fmt_info* get_qt_format_info(pjmedia_format_id id) -{ - unsigned i; - - for (i = 0; i < PJ_ARRAY_SIZE(qt_fmts); i++) { - if (qt_fmts[i].pjmedia_format == id) - return &qt_fmts[i]; - } - - return NULL; -} - -@implementation QTDelegate -- (void)captureOutput:(QTCaptureOutput *)captureOutput - didOutputVideoFrame:(CVImageBufferRef)videoFrame - withSampleBuffer:(QTSampleBuffer *)sampleBuffer - fromConnection:(QTCaptureConnection *)connection -{ - unsigned size = [sampleBuffer lengthForAllSamples]; - pjmedia_frame frame; - - if (!strm->is_running) { - strm->cap_exited = PJ_TRUE; - return; - } - - if (strm->cap_thread_initialized == 0 || !pj_thread_is_registered()) - { - pj_thread_register("qt_cap", strm->cap_thread_desc, - &strm->cap_thread); - strm->cap_thread_initialized = 1; - PJ_LOG(5,(THIS_FILE, "Capture thread started")); - } - - if (!videoFrame) - return; - - frame.type = PJMEDIA_FRAME_TYPE_VIDEO; - frame.buf = [sampleBuffer bytesForAllSamples]; - frame.size = size; - frame.bit_info = 0; - frame.timestamp.u64 = strm->cap_frame_ts.u64; - - if (strm->vid_cb.capture_cb) - (*strm->vid_cb.capture_cb)(&strm->base, strm->user_data, &frame); - - strm->cap_frame_ts.u64 += strm->cap_ts_inc; -} - -- (void)run_func -{ - (*func)(strm); -} - -@end - -static void init_qt(struct qt_stream *strm) -{ - const pjmedia_video_format_detail *vfd; - qt_fmt_info *qfi = get_qt_format_info(strm->param.fmt.id); - BOOL success = NO; - NSError *error; - - if (!qfi) { - strm->status = PJMEDIA_EVID_BADFORMAT; - return; - } - - strm->cap_session = [[QTCaptureSession alloc] init]; - if (!strm->cap_session) { - strm->status = PJ_ENOMEM; - return; - } - - /* Open video device */ - QTCaptureDevice *videoDevice = - [QTCaptureDevice deviceWithUniqueID: - [NSString stringWithCString: - strm->qf->dev_info[strm->param.cap_id].dev_id - encoding: - [NSString defaultCStringEncoding]]]; - if (!videoDevice || ![videoDevice open:&error]) { - strm->status = PJMEDIA_EVID_SYSERR; - return; - } - - /* Add the video device to the session as a device input */ - strm->dev_input = [[QTCaptureDeviceInput alloc] - initWithDevice:videoDevice]; - success = [strm->cap_session addInput:strm->dev_input error:&error]; - if (!success) { - strm->status = PJMEDIA_EVID_SYSERR; - return; - } - - strm->video_output = [[QTCaptureDecompressedVideoOutput alloc] init]; - success = [strm->cap_session addOutput:strm->video_output - error:&error]; - if (!success) { - strm->status = PJMEDIA_EVID_SYSERR; - return; - } - - vfd = pjmedia_format_get_video_format_detail(&strm->param.fmt, - PJ_TRUE); - [strm->video_output setPixelBufferAttributes: - [NSDictionary dictionaryWithObjectsAndKeys: - [NSNumber numberWithInt:qfi->qt_format], - kCVPixelBufferPixelFormatTypeKey, - [NSNumber numberWithInt:vfd->size.w], - kCVPixelBufferWidthKey, - [NSNumber numberWithInt:vfd->size.h], - kCVPixelBufferHeightKey, nil]]; - - pj_assert(vfd->fps.num); - strm->cap_ts_inc = PJMEDIA_SPF2(strm->param.clock_rate, &vfd->fps, 1); - - if ([strm->video_output - respondsToSelector:@selector(setMinimumVideoFrameInterval)]) - { - [strm->video_output setMinimumVideoFrameInterval: - (1.0f * vfd->fps.denum / (double)vfd->fps.num)]; - } - - strm->qt_delegate = [[QTDelegate alloc]init]; - strm->qt_delegate->strm = strm; - [strm->video_output setDelegate:strm->qt_delegate]; -} - -static void run_func_on_main_thread(struct qt_stream *strm, func_ptr func) -{ - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - QTDelegate *delg = [[QTDelegate alloc] init]; - - delg->strm = strm; - delg->func = func; - [delg performSelectorOnMainThread:@selector(run_func) - withObject:nil waitUntilDone:YES]; - - CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, false); - - [delg release]; - [pool release]; -} - -/* API: create stream */ -static pj_status_t qt_factory_create_stream( - pjmedia_vid_dev_factory *f, - pjmedia_vid_dev_param *param, - const pjmedia_vid_dev_cb *cb, - void *user_data, - pjmedia_vid_dev_stream **p_vid_strm) -{ - struct qt_factory *qf = (struct qt_factory*)f; - pj_pool_t *pool; - struct qt_stream *strm; - const pjmedia_video_format_info *vfi; - pj_status_t status = PJ_SUCCESS; - - PJ_ASSERT_RETURN(f && param && p_vid_strm, PJ_EINVAL); - PJ_ASSERT_RETURN(param->fmt.type == PJMEDIA_TYPE_VIDEO && - param->fmt.detail_type == PJMEDIA_FORMAT_DETAIL_VIDEO && - param->dir == PJMEDIA_DIR_CAPTURE, - PJ_EINVAL); - - vfi = pjmedia_get_video_format_info(NULL, param->fmt.id); - if (!vfi) - return PJMEDIA_EVID_BADFORMAT; - - /* Create and Initialize stream descriptor */ - pool = pj_pool_create(qf->pf, "qt-dev", 4000, 4000, NULL); - PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); - - strm = PJ_POOL_ZALLOC_T(pool, struct qt_stream); - pj_memcpy(&strm->param, param, sizeof(*param)); - strm->pool = pool; - pj_memcpy(&strm->vid_cb, cb, sizeof(*cb)); - strm->user_data = user_data; - strm->qf = qf; - - /* Create capture stream here */ - if (param->dir & PJMEDIA_DIR_CAPTURE) { - strm->status = PJ_SUCCESS; - run_func_on_main_thread(strm, init_qt); - if ((status = strm->status) != PJ_SUCCESS) - goto on_error; - } - - /* Apply the remaining settings */ - /* - if (param->flags & PJMEDIA_VID_DEV_CAP_INPUT_SCALE) { - qt_stream_set_cap(&strm->base, - PJMEDIA_VID_DEV_CAP_INPUT_SCALE, - ¶m->fmt); - } - */ - /* Done */ - strm->base.op = &stream_op; - *p_vid_strm = &strm->base; - - return PJ_SUCCESS; - -on_error: - qt_stream_destroy((pjmedia_vid_dev_stream *)strm); - - return status; -} - -/* API: Get stream info. */ -static pj_status_t qt_stream_get_param(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_param *pi) -{ - struct qt_stream *strm = (struct qt_stream*)s; - - PJ_ASSERT_RETURN(strm && pi, PJ_EINVAL); - - pj_memcpy(pi, &strm->param, sizeof(*pi)); - -/* if (qt_stream_get_cap(s, PJMEDIA_VID_DEV_CAP_INPUT_SCALE, - &pi->fmt.info_size) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_VID_DEV_CAP_INPUT_SCALE; - } -*/ - return PJ_SUCCESS; -} - -/* API: get capability */ -static pj_status_t qt_stream_get_cap(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_cap cap, - void *pval) -{ - struct qt_stream *strm = (struct qt_stream*)s; - - PJ_UNUSED_ARG(strm); - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - if (cap==PJMEDIA_VID_DEV_CAP_INPUT_SCALE) - { - return PJMEDIA_EVID_INVCAP; -// return PJ_SUCCESS; - } else { - return PJMEDIA_EVID_INVCAP; - } -} - -/* API: set capability */ -static pj_status_t qt_stream_set_cap(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_cap cap, - const void *pval) -{ - struct qt_stream *strm = (struct qt_stream*)s; - - PJ_UNUSED_ARG(strm); - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - if (cap==PJMEDIA_VID_DEV_CAP_INPUT_SCALE) - { - return PJ_SUCCESS; - } - - return PJMEDIA_EVID_INVCAP; -} - -static void start_qt(struct qt_stream *strm) -{ - [strm->cap_session startRunning]; -} - -static void stop_qt(struct qt_stream *strm) -{ - [strm->cap_session stopRunning]; -} - -/* API: Start stream. */ -static pj_status_t qt_stream_start(pjmedia_vid_dev_stream *strm) -{ - struct qt_stream *stream = (struct qt_stream*)strm; - - PJ_UNUSED_ARG(stream); - - PJ_LOG(4, (THIS_FILE, "Starting qt video stream")); - - if (stream->cap_session) { - run_func_on_main_thread(stream, start_qt); - - if (![stream->cap_session isRunning]) - return PJMEDIA_EVID_NOTREADY; - - stream->is_running = PJ_TRUE; - } - - return PJ_SUCCESS; -} - -/* API: Stop stream. */ -static pj_status_t qt_stream_stop(pjmedia_vid_dev_stream *strm) -{ - struct qt_stream *stream = (struct qt_stream*)strm; - - PJ_UNUSED_ARG(stream); - - PJ_LOG(4, (THIS_FILE, "Stopping qt video stream")); - - if (stream->cap_session && [stream->cap_session isRunning]) { - int i; - - stream->cap_exited = PJ_FALSE; - run_func_on_main_thread(stream, stop_qt); - - stream->is_running = PJ_FALSE; - for (i = 50; i >= 0 && !stream->cap_exited; i--) { - pj_thread_sleep(10); - } - } - - return PJ_SUCCESS; -} - -static void destroy_qt(struct qt_stream *strm) -{ - if (strm->dev_input && [[strm->dev_input device] isOpen]) - [[strm->dev_input device] close]; - - if (strm->cap_session) { - [strm->cap_session release]; - strm->cap_session = NULL; - } - if (strm->dev_input) { - [strm->dev_input release]; - strm->dev_input = NULL; - } - if (strm->qt_delegate) { - [strm->qt_delegate release]; - strm->qt_delegate = NULL; - } - if (strm->video_output) { - [strm->video_output release]; - strm->video_output = NULL; - } -} - -/* API: Destroy stream. */ -static pj_status_t qt_stream_destroy(pjmedia_vid_dev_stream *strm) -{ - struct qt_stream *stream = (struct qt_stream*)strm; - - PJ_ASSERT_RETURN(stream != NULL, PJ_EINVAL); - - qt_stream_stop(strm); - - run_func_on_main_thread(stream, destroy_qt); - - pj_pool_release(stream->pool); - - return PJ_SUCCESS; -} - -#endif /* PJMEDIA_VIDEO_DEV_HAS_QT */ diff --git a/res/pjproject/pjmedia/src/pjmedia-videodev/sdl_dev.c b/res/pjproject/pjmedia/src/pjmedia-videodev/sdl_dev.c deleted file mode 100644 index 2894ae88b7..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-videodev/sdl_dev.c +++ /dev/null @@ -1,1428 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -#if defined(PJMEDIA_VIDEO_DEV_HAS_SDL) && PJMEDIA_VIDEO_DEV_HAS_SDL != 0 - -#include -#include -#if PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL -# include "SDL_opengl.h" -# define OPENGL_DEV_IDX 1 -#endif /* PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL */ - -#if !(SDL_VERSION_ATLEAST(1,3,0)) -# error "SDL 1.3 or later is required" -#endif - -#if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 -# include "TargetConditionals.h" -# include -#endif - -#define THIS_FILE "sdl_dev.c" -#define DEFAULT_CLOCK_RATE 90000 -#define DEFAULT_WIDTH 640 -#define DEFAULT_HEIGHT 480 -#define DEFAULT_FPS 25 - -typedef struct sdl_fmt_info -{ - pjmedia_format_id fmt_id; - Uint32 sdl_format; - Uint32 Rmask; - Uint32 Gmask; - Uint32 Bmask; - Uint32 Amask; -} sdl_fmt_info; - -static sdl_fmt_info sdl_fmts[] = -{ -#if PJ_IS_BIG_ENDIAN - {PJMEDIA_FORMAT_RGBA, (Uint32)SDL_PIXELFORMAT_RGBA8888, - 0xFF000000, 0xFF0000, 0xFF00, 0xFF} , - {PJMEDIA_FORMAT_RGB24, (Uint32)SDL_PIXELFORMAT_RGB24, - 0xFF0000, 0xFF00, 0xFF, 0} , - {PJMEDIA_FORMAT_BGRA, (Uint32)SDL_PIXELFORMAT_BGRA8888, - 0xFF00, 0xFF0000, 0xFF000000, 0xFF} , -#else /* PJ_IS_BIG_ENDIAN */ - {PJMEDIA_FORMAT_RGBA, (Uint32)SDL_PIXELFORMAT_ABGR8888, - 0xFF, 0xFF00, 0xFF0000, 0xFF000000} , - {PJMEDIA_FORMAT_RGB24, (Uint32)SDL_PIXELFORMAT_BGR24, - 0xFF, 0xFF00, 0xFF0000, 0} , - {PJMEDIA_FORMAT_BGRA, (Uint32)SDL_PIXELFORMAT_ARGB8888, - 0xFF0000, 0xFF00, 0xFF, 0xFF000000} , -#endif /* PJ_IS_BIG_ENDIAN */ - - {PJMEDIA_FORMAT_DIB , (Uint32)SDL_PIXELFORMAT_RGB24, - 0xFF0000, 0xFF00, 0xFF, 0} , - - {PJMEDIA_FORMAT_YUY2, SDL_YUY2_OVERLAY, 0, 0, 0, 0} , - {PJMEDIA_FORMAT_UYVY, SDL_UYVY_OVERLAY, 0, 0, 0, 0} , - {PJMEDIA_FORMAT_YVYU, SDL_YVYU_OVERLAY, 0, 0, 0, 0} , - {PJMEDIA_FORMAT_I420, SDL_IYUV_OVERLAY, 0, 0, 0, 0} , - {PJMEDIA_FORMAT_YV12, SDL_YV12_OVERLAY, 0, 0, 0, 0} , - {PJMEDIA_FORMAT_I420JPEG, SDL_IYUV_OVERLAY, 0, 0, 0, 0} , - {PJMEDIA_FORMAT_I422JPEG, SDL_YV12_OVERLAY, 0, 0, 0, 0} , -}; - -/* sdl_ device info */ -struct sdl_dev_info -{ - pjmedia_vid_dev_info info; -}; - -/* Linked list of streams */ -struct stream_list -{ - PJ_DECL_LIST_MEMBER(struct stream_list); - struct sdl_stream *stream; -}; - -#define INITIAL_MAX_JOBS 64 -#define JOB_QUEUE_INC_FACTOR 2 - -typedef pj_status_t (*job_func_ptr)(void *data); - -typedef struct job { - job_func_ptr func; - void *data; - unsigned flags; - pj_status_t retval; -} job; - -#if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 -@interface JQDelegate: NSObject -{ - @public - job *pjob; -} - -- (void)run_job; -@end - -@implementation JQDelegate -- (void)run_job -{ - pjob->retval = (*pjob->func)(pjob->data); -} -@end -#endif /* PJ_DARWINOS */ - -typedef struct job_queue { - pj_pool_t *pool; - job **jobs; - pj_sem_t **job_sem; - pj_sem_t **old_sem; - pj_mutex_t *mutex; - pj_thread_t *thread; - pj_sem_t *sem; - - unsigned size; - unsigned head, tail; - pj_bool_t is_full; - pj_bool_t is_quitting; -} job_queue; - -/* sdl_ factory */ -struct sdl_factory -{ - pjmedia_vid_dev_factory base; - pj_pool_t *pool; - pj_pool_factory *pf; - - unsigned dev_count; - struct sdl_dev_info *dev_info; - job_queue *jq; - - pj_thread_t *sdl_thread; /**< SDL thread. */ - pj_sem_t *sem; - pj_mutex_t *mutex; - struct stream_list streams; - pj_bool_t is_quitting; - pj_thread_desc thread_desc; - pj_thread_t *ev_thread; -}; - -/* Video stream. */ -struct sdl_stream -{ - pjmedia_vid_dev_stream base; /**< Base stream */ - pjmedia_vid_dev_param param; /**< Settings */ - pj_pool_t *pool; /**< Memory pool. */ - - pjmedia_vid_dev_cb vid_cb; /**< Stream callback. */ - void *user_data; /**< Application data. */ - - struct sdl_factory *sf; - const pjmedia_frame *frame; - pj_bool_t is_running; - pj_timestamp last_ts; - struct stream_list list_entry; - - SDL_Window *window; /**< Display window. */ - SDL_Renderer *renderer; /**< Display renderer. */ - SDL_Texture *scr_tex; /**< Screen texture. */ - int pitch; /**< Pitch value. */ - SDL_Rect rect; /**< Frame rectangle. */ - SDL_Rect dstrect; /**< Display rectangle. */ -#if PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL - SDL_GLContext *gl_context; - GLuint texture; -#endif /* PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL */ - - pjmedia_video_apply_fmt_param vafp; -}; - -/* Prototypes */ -static pj_status_t sdl_factory_init(pjmedia_vid_dev_factory *f); -static pj_status_t sdl_factory_destroy(pjmedia_vid_dev_factory *f); -static pj_status_t sdl_factory_refresh(pjmedia_vid_dev_factory *f); -static unsigned sdl_factory_get_dev_count(pjmedia_vid_dev_factory *f); -static pj_status_t sdl_factory_get_dev_info(pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_info *info); -static pj_status_t sdl_factory_default_param(pj_pool_t *pool, - pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_param *param); -static pj_status_t sdl_factory_create_stream( - pjmedia_vid_dev_factory *f, - pjmedia_vid_dev_param *param, - const pjmedia_vid_dev_cb *cb, - void *user_data, - pjmedia_vid_dev_stream **p_vid_strm); - -static pj_status_t sdl_stream_get_param(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_param *param); -static pj_status_t sdl_stream_get_cap(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - void *value); -static pj_status_t sdl_stream_set_cap(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - const void *value); -static pj_status_t sdl_stream_put_frame(pjmedia_vid_dev_stream *strm, - const pjmedia_frame *frame); -static pj_status_t sdl_stream_start(pjmedia_vid_dev_stream *strm); -static pj_status_t sdl_stream_stop(pjmedia_vid_dev_stream *strm); -static pj_status_t sdl_stream_destroy(pjmedia_vid_dev_stream *strm); - -static pj_status_t resize_disp(struct sdl_stream *strm, - pjmedia_rect_size *new_disp_size); -static pj_status_t sdl_destroy_all(void *data); - -/* Job queue prototypes */ -static pj_status_t job_queue_create(pj_pool_t *pool, job_queue **pjq); -static pj_status_t job_queue_post_job(job_queue *jq, job_func_ptr func, - void *data, unsigned flags, - pj_status_t *retval); -static pj_status_t job_queue_destroy(job_queue *jq); - -/* Operations */ -static pjmedia_vid_dev_factory_op factory_op = -{ - &sdl_factory_init, - &sdl_factory_destroy, - &sdl_factory_get_dev_count, - &sdl_factory_get_dev_info, - &sdl_factory_default_param, - &sdl_factory_create_stream, - &sdl_factory_refresh -}; - -static pjmedia_vid_dev_stream_op stream_op = -{ - &sdl_stream_get_param, - &sdl_stream_get_cap, - &sdl_stream_set_cap, - &sdl_stream_start, - NULL, - &sdl_stream_put_frame, - &sdl_stream_stop, - &sdl_stream_destroy -}; - - -/**************************************************************************** - * Factory operations - */ -/* - * Init sdl_ video driver. - */ -pjmedia_vid_dev_factory* pjmedia_sdl_factory(pj_pool_factory *pf) -{ - struct sdl_factory *f; - pj_pool_t *pool; - - pool = pj_pool_create(pf, "sdl video", 1000, 1000, NULL); - f = PJ_POOL_ZALLOC_T(pool, struct sdl_factory); - f->pf = pf; - f->pool = pool; - f->base.op = &factory_op; - - return &f->base; -} - -static pj_status_t sdl_init(void * data) -{ - PJ_UNUSED_ARG(data); - - if (SDL_Init(SDL_INIT_VIDEO)) { - PJ_LOG(3, (THIS_FILE, "Failed initializing SDL")); - return PJMEDIA_EVID_INIT; - } - - return PJ_SUCCESS; -} - -static struct sdl_stream* find_stream(struct sdl_factory *sf, - Uint32 windowID, - pjmedia_event *pevent) -{ - struct stream_list *it, *itBegin; - struct sdl_stream *strm = NULL; - - itBegin = &sf->streams; - for (it = itBegin->next; it != itBegin; it = it->next) { - if (SDL_GetWindowID(it->stream->window) == windowID) - { - strm = it->stream; - break; - } - } - - if (strm) - pjmedia_event_init(pevent, PJMEDIA_EVENT_NONE, &strm->last_ts, - strm); - - return strm; -} - -static pj_status_t handle_event(void *data) -{ - struct sdl_factory *sf = (struct sdl_factory*)data; - SDL_Event sevent; - - if (!pj_thread_is_registered()) - pj_thread_register("sdl_ev", sf->thread_desc, &sf->ev_thread); - - while (SDL_PollEvent(&sevent)) { - struct sdl_stream *strm = NULL; - pjmedia_event pevent; - - pj_mutex_lock(sf->mutex); - pevent.type = PJMEDIA_EVENT_NONE; - switch(sevent.type) { - case SDL_MOUSEBUTTONDOWN: - strm = find_stream(sf, sevent.button.windowID, &pevent); - pevent.type = PJMEDIA_EVENT_MOUSE_BTN_DOWN; - break; - case SDL_WINDOWEVENT: - strm = find_stream(sf, sevent.window.windowID, &pevent); - switch (sevent.window.event) { - case SDL_WINDOWEVENT_RESIZED: - pevent.type = PJMEDIA_EVENT_WND_RESIZED; - pevent.data.wnd_resized.new_size.w = - sevent.window.data1; - pevent.data.wnd_resized.new_size.h = - sevent.window.data2; - break; - case SDL_WINDOWEVENT_CLOSE: - pevent.type = PJMEDIA_EVENT_WND_CLOSING; - break; - } - break; - default: - break; - } - - if (strm && pevent.type != PJMEDIA_EVENT_NONE) { - pj_status_t status; - - pjmedia_event_publish(NULL, strm, &pevent, 0); - - switch (pevent.type) { - case PJMEDIA_EVENT_WND_RESIZED: - status = resize_disp(strm, &pevent.data.wnd_resized.new_size); - if (status != PJ_SUCCESS) - PJ_LOG(3, (THIS_FILE, "Failed resizing the display.")); - break; - case PJMEDIA_EVENT_WND_CLOSING: - if (pevent.data.wnd_closing.cancel) { - /* Cancel the closing operation */ - break; - } - - /* Proceed to cleanup SDL. App must still call - * pjmedia_dev_stream_destroy() when getting WND_CLOSED - * event - */ - sdl_stream_stop(&strm->base); - sdl_destroy_all(strm); - pjmedia_event_init(&pevent, PJMEDIA_EVENT_WND_CLOSED, - &strm->last_ts, strm); - pjmedia_event_publish(NULL, strm, &pevent, 0); - - /* - * Note: don't access the stream after this point, it - * might have been destroyed - */ - break; - default: - /* Just to prevent gcc warning about unused enums */ - break; - } - } - - pj_mutex_unlock(sf->mutex); - } - - return PJ_SUCCESS; -} - -static int sdl_ev_thread(void *data) -{ - struct sdl_factory *sf = (struct sdl_factory*)data; - - while(1) { - pj_status_t status; - - pj_mutex_lock(sf->mutex); - if (pj_list_empty(&sf->streams)) { - pj_mutex_unlock(sf->mutex); - /* Wait until there is any stream. */ - pj_sem_wait(sf->sem); - } else - pj_mutex_unlock(sf->mutex); - - if (sf->is_quitting) - break; - - job_queue_post_job(sf->jq, handle_event, sf, 0, &status); - - pj_thread_sleep(50); - } - - return 0; -} - -static pj_status_t sdl_quit(void *data) -{ - PJ_UNUSED_ARG(data); - SDL_Quit(); - return PJ_SUCCESS; -} - -/* API: init factory */ -static pj_status_t sdl_factory_init(pjmedia_vid_dev_factory *f) -{ - struct sdl_factory *sf = (struct sdl_factory*)f; - struct sdl_dev_info *ddi; - unsigned i, j; - pj_status_t status; - SDL_version version; - - status = job_queue_create(sf->pool, &sf->jq); - if (status != PJ_SUCCESS) - return PJMEDIA_EVID_INIT; - - job_queue_post_job(sf->jq, sdl_init, NULL, 0, &status); - if (status != PJ_SUCCESS) - return status; - - pj_list_init(&sf->streams); - status = pj_mutex_create_recursive(sf->pool, "sdl_factory", - &sf->mutex); - if (status != PJ_SUCCESS) - return status; - - status = pj_sem_create(sf->pool, NULL, 0, 1, &sf->sem); - if (status != PJ_SUCCESS) - return status; - - /* Create event handler thread. */ - status = pj_thread_create(sf->pool, "sdl_thread", sdl_ev_thread, - sf, 0, 0, &sf->sdl_thread); - if (status != PJ_SUCCESS) - return status; - - sf->dev_count = 1; -#if PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL - sf->dev_count++; -#endif /* PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL */ - sf->dev_info = (struct sdl_dev_info*) - pj_pool_calloc(sf->pool, sf->dev_count, - sizeof(struct sdl_dev_info)); - - ddi = &sf->dev_info[0]; - pj_bzero(ddi, sizeof(*ddi)); - strncpy(ddi->info.name, "SDL renderer", sizeof(ddi->info.name)); - ddi->info.name[sizeof(ddi->info.name)-1] = '\0'; - ddi->info.fmt_cnt = PJ_ARRAY_SIZE(sdl_fmts); - -#if PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL - ddi = &sf->dev_info[OPENGL_DEV_IDX]; - pj_bzero(ddi, sizeof(*ddi)); - strncpy(ddi->info.name, "SDL openGL renderer", sizeof(ddi->info.name)); - ddi->info.name[sizeof(ddi->info.name)-1] = '\0'; - ddi->info.fmt_cnt = 1; -#endif /* PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL */ - - for (i = 0; i < sf->dev_count; i++) { - ddi = &sf->dev_info[i]; - strncpy(ddi->info.driver, "SDL", sizeof(ddi->info.driver)); - ddi->info.driver[sizeof(ddi->info.driver)-1] = '\0'; - ddi->info.dir = PJMEDIA_DIR_RENDER; - ddi->info.has_callback = PJ_FALSE; - ddi->info.caps = PJMEDIA_VID_DEV_CAP_FORMAT | - PJMEDIA_VID_DEV_CAP_OUTPUT_RESIZE; - ddi->info.caps |= PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW; - ddi->info.caps |= PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW_FLAGS; - - for (j = 0; j < ddi->info.fmt_cnt; j++) { - pjmedia_format *fmt = &ddi->info.fmt[j]; - pjmedia_format_init_video(fmt, sdl_fmts[j].fmt_id, - DEFAULT_WIDTH, DEFAULT_HEIGHT, - DEFAULT_FPS, 1); - } - } - - SDL_VERSION(&version); - PJ_LOG(4, (THIS_FILE, "SDL %d.%d initialized", - version.major, version.minor)); - - return PJ_SUCCESS; -} - -/* API: destroy factory */ -static pj_status_t sdl_factory_destroy(pjmedia_vid_dev_factory *f) -{ - struct sdl_factory *sf = (struct sdl_factory*)f; - pj_pool_t *pool = sf->pool; - pj_status_t status; - - pj_assert(pj_list_empty(&sf->streams)); - - sf->is_quitting = PJ_TRUE; - if (sf->sdl_thread) { - pj_sem_post(sf->sem); -#if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 - /* To prevent pj_thread_join() of getting stuck if we are in - * the main thread and we haven't finished processing the job - * posted by sdl_thread. - */ - CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, false); -#endif - pj_thread_join(sf->sdl_thread); - pj_thread_destroy(sf->sdl_thread); - } - - if (sf->mutex) { - pj_mutex_destroy(sf->mutex); - sf->mutex = NULL; - } - - if (sf->sem) { - pj_sem_destroy(sf->sem); - sf->sem = NULL; - } - - job_queue_post_job(sf->jq, sdl_quit, NULL, 0, &status); - job_queue_destroy(sf->jq); - - sf->pool = NULL; - pj_pool_release(pool); - - return PJ_SUCCESS; -} - -/* API: refresh the list of devices */ -static pj_status_t sdl_factory_refresh(pjmedia_vid_dev_factory *f) -{ - PJ_UNUSED_ARG(f); - return PJ_SUCCESS; -} - -/* API: get number of devices */ -static unsigned sdl_factory_get_dev_count(pjmedia_vid_dev_factory *f) -{ - struct sdl_factory *sf = (struct sdl_factory*)f; - return sf->dev_count; -} - -/* API: get device info */ -static pj_status_t sdl_factory_get_dev_info(pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_info *info) -{ - struct sdl_factory *sf = (struct sdl_factory*)f; - - PJ_ASSERT_RETURN(index < sf->dev_count, PJMEDIA_EVID_INVDEV); - - pj_memcpy(info, &sf->dev_info[index].info, sizeof(*info)); - - return PJ_SUCCESS; -} - -/* API: create default device parameter */ -static pj_status_t sdl_factory_default_param(pj_pool_t *pool, - pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_param *param) -{ - struct sdl_factory *sf = (struct sdl_factory*)f; - struct sdl_dev_info *di = &sf->dev_info[index]; - - PJ_ASSERT_RETURN(index < sf->dev_count, PJMEDIA_EVID_INVDEV); - - PJ_UNUSED_ARG(pool); - - pj_bzero(param, sizeof(*param)); - param->dir = PJMEDIA_DIR_RENDER; - param->rend_id = index; - param->cap_id = PJMEDIA_VID_INVALID_DEV; - - /* Set the device capabilities here */ - param->flags = PJMEDIA_VID_DEV_CAP_FORMAT; - param->fmt.type = PJMEDIA_TYPE_VIDEO; - param->clock_rate = DEFAULT_CLOCK_RATE; - pj_memcpy(¶m->fmt, &di->info.fmt[0], sizeof(param->fmt)); - - return PJ_SUCCESS; -} - -static sdl_fmt_info* get_sdl_format_info(pjmedia_format_id id) -{ - unsigned i; - - for (i = 0; i < sizeof(sdl_fmts)/sizeof(sdl_fmts[0]); i++) { - if (sdl_fmts[i].fmt_id == id) - return &sdl_fmts[i]; - } - - return NULL; -} - -static pj_status_t sdl_destroy(void *data) -{ - struct sdl_stream *strm = (struct sdl_stream *)data; - -#if PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL - if (strm->texture) { - glDeleteTextures(1, &strm->texture); - strm->texture = 0; - } - if (strm->gl_context) { - SDL_GL_DeleteContext(strm->gl_context); - strm->gl_context = NULL; - } -#endif /* PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL */ - if (strm->scr_tex) { - SDL_DestroyTexture(strm->scr_tex); - strm->scr_tex = NULL; - } - if (strm->renderer) { - SDL_DestroyRenderer(strm->renderer); - strm->renderer = NULL; - } - - return PJ_SUCCESS; -} - -static pj_status_t sdl_destroy_all(void *data) -{ - struct sdl_stream *strm = (struct sdl_stream *)data; - - sdl_destroy(data); -#if !defined(TARGET_OS_IPHONE) || TARGET_OS_IPHONE == 0 - if (strm->window && - !(strm->param.flags & PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW)) - { - SDL_DestroyWindow(strm->window); - } - strm->window = NULL; -#endif /* TARGET_OS_IPHONE */ - - return PJ_SUCCESS; -} - -static pj_status_t sdl_create_rend(struct sdl_stream * strm, - pjmedia_format *fmt) -{ - sdl_fmt_info *sdl_info; - const pjmedia_video_format_info *vfi; - pjmedia_video_format_detail *vfd; - - sdl_info = get_sdl_format_info(fmt->id); - vfi = pjmedia_get_video_format_info(pjmedia_video_format_mgr_instance(), - fmt->id); - if (!vfi || !sdl_info) - return PJMEDIA_EVID_BADFORMAT; - - strm->vafp.size = fmt->det.vid.size; - strm->vafp.buffer = NULL; - if (vfi->apply_fmt(vfi, &strm->vafp) != PJ_SUCCESS) - return PJMEDIA_EVID_BADFORMAT; - - vfd = pjmedia_format_get_video_format_detail(fmt, PJ_TRUE); - strm->rect.x = strm->rect.y = 0; - strm->rect.w = (Uint16)vfd->size.w; - strm->rect.h = (Uint16)vfd->size.h; - if (strm->param.disp_size.w == 0) - strm->param.disp_size.w = strm->rect.w; - if (strm->param.disp_size.h == 0) - strm->param.disp_size.h = strm->rect.h; - strm->dstrect.x = strm->dstrect.y = 0; - strm->dstrect.w = (Uint16)strm->param.disp_size.w; - strm->dstrect.h = (Uint16)strm->param.disp_size.h; - - sdl_destroy(strm); - -#if PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL - if (strm->param.rend_id == OPENGL_DEV_IDX) { - SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER,1); - } -#endif /* PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL */ - - if (!strm->window) { - Uint32 flags = 0; - - if (strm->param.flags & PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW_FLAGS) { - if (!(strm->param.window_flags & PJMEDIA_VID_DEV_WND_BORDER)) - flags |= SDL_WINDOW_BORDERLESS; - if (strm->param.window_flags & PJMEDIA_VID_DEV_WND_RESIZABLE) - flags |= SDL_WINDOW_RESIZABLE; - } else { - flags |= SDL_WINDOW_BORDERLESS; - } - - if (!((strm->param.flags & PJMEDIA_VID_DEV_CAP_OUTPUT_HIDE) && - strm->param.window_hide)) - { - flags |= SDL_WINDOW_SHOWN; - } else { - flags &= ~SDL_WINDOW_SHOWN; - flags |= SDL_WINDOW_HIDDEN; - } - -#if PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL - if (strm->param.rend_id == OPENGL_DEV_IDX) - flags |= SDL_WINDOW_OPENGL; -#endif /* PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL */ - - if (strm->param.flags & PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW) { - /* Use the window supplied by the application. */ - strm->window = SDL_CreateWindowFrom( - strm->param.window.info.window); - } else { - int x, y; - - x = y = SDL_WINDOWPOS_CENTERED; - if (strm->param.flags & PJMEDIA_VID_DEV_CAP_OUTPUT_POSITION) { - x = strm->param.window_pos.x; - y = strm->param.window_pos.y; - } - - /* Create the window where we will draw. */ - strm->window = SDL_CreateWindow("pjmedia-SDL video", - x, y, - strm->param.disp_size.w, - strm->param.disp_size.h, - flags); - } - if (!strm->window) - return PJMEDIA_EVID_SYSERR; - } - - /** - * We must call SDL_CreateRenderer in order for draw calls to - * affect this window. - */ - strm->renderer = SDL_CreateRenderer(strm->window, -1, 0); - if (!strm->renderer) - return PJMEDIA_EVID_SYSERR; - -#if PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL - if (strm->param.rend_id == OPENGL_DEV_IDX) { - strm->gl_context = SDL_GL_CreateContext(strm->window); - if (!strm->gl_context) - return PJMEDIA_EVID_SYSERR; - SDL_GL_MakeCurrent(strm->window, strm->gl_context); - - /* Init some OpenGL settings */ - glDisable(GL_DEPTH_TEST); - glDisable(GL_CULL_FACE); - glEnable(GL_TEXTURE_2D); - - /* Init the viewport */ - glViewport(0, 0, strm->param.disp_size.w, strm->param.disp_size.h); - glMatrixMode(GL_PROJECTION); - glLoadIdentity(); - - glOrtho(0.0, (GLdouble)strm->param.disp_size.w, - (GLdouble)strm->param.disp_size.h, 0.0, 0.0, 1.0); - - glMatrixMode(GL_MODELVIEW); - glLoadIdentity(); - - /* Create a texture */ - glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_DECAL); - glGenTextures(1, &strm->texture); - - if (!strm->texture) - return PJMEDIA_EVID_SYSERR; - } else -#endif /* PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL */ - { - strm->scr_tex = SDL_CreateTexture(strm->renderer, sdl_info->sdl_format, - SDL_TEXTUREACCESS_STREAMING, - strm->rect.w, strm->rect.h); - if (strm->scr_tex == NULL) - return PJMEDIA_EVID_SYSERR; - - strm->pitch = strm->rect.w * SDL_BYTESPERPIXEL(sdl_info->sdl_format); - } - - return PJ_SUCCESS; -} - -static pj_status_t sdl_create(void *data) -{ - struct sdl_stream *strm = (struct sdl_stream *)data; - return sdl_create_rend(strm, &strm->param.fmt); -} - -static pj_status_t resize_disp(struct sdl_stream *strm, - pjmedia_rect_size *new_disp_size) -{ - pj_memcpy(&strm->param.disp_size, new_disp_size, - sizeof(strm->param.disp_size)); - - if (strm->scr_tex) { - strm->dstrect.x = strm->dstrect.y = 0; - strm->dstrect.w = (Uint16)strm->param.disp_size.w; - strm->dstrect.h = (Uint16)strm->param.disp_size.h; - SDL_RenderSetViewport(strm->renderer, &strm->dstrect); - } -#if PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL - else if (strm->param.rend_id == OPENGL_DEV_IDX) { - sdl_create_rend(strm, &strm->param.fmt); - } -#endif /* PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL */ - - return PJ_SUCCESS; -} - -static pj_status_t change_format(struct sdl_stream *strm, - pjmedia_format *new_fmt) -{ - pj_status_t status; - - /* Recreate SDL renderer */ - status = sdl_create_rend(strm, (new_fmt? new_fmt : - &strm->param.fmt)); - if (status == PJ_SUCCESS && new_fmt) - pjmedia_format_copy(&strm->param.fmt, new_fmt); - - return status; -} - -static pj_status_t put_frame(void *data) -{ - struct sdl_stream *stream = (struct sdl_stream *)data; - const pjmedia_frame *frame = stream->frame; - - if (stream->scr_tex) { - SDL_UpdateTexture(stream->scr_tex, NULL, frame->buf, stream->pitch); - SDL_RenderClear(stream->renderer); - SDL_RenderCopy(stream->renderer, stream->scr_tex, - &stream->rect, &stream->dstrect); - SDL_RenderPresent(stream->renderer); - } -#if PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL - else if (stream->param.rend_id == OPENGL_DEV_IDX && stream->texture) { - glBindTexture(GL_TEXTURE_2D, stream->texture); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); - glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, - stream->rect.w, stream->rect.h, 0, - GL_RGBA, GL_UNSIGNED_BYTE, frame->buf); - glBegin(GL_TRIANGLE_STRIP); - glTexCoord2f(0, 0); glVertex2i(0, 0); - glTexCoord2f(1, 0); glVertex2i(stream->param.disp_size.w, 0); - glTexCoord2f(0, 1); glVertex2i(0, stream->param.disp_size.h); - glTexCoord2f(1, 1); - glVertex2i(stream->param.disp_size.w, stream->param.disp_size.h); - glEnd(); - SDL_GL_SwapWindow(stream->window); - } -#endif /* PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL */ - - return PJ_SUCCESS; -} - -/* API: Put frame from stream */ -static pj_status_t sdl_stream_put_frame(pjmedia_vid_dev_stream *strm, - const pjmedia_frame *frame) -{ - struct sdl_stream *stream = (struct sdl_stream*)strm; - pj_status_t status; - - stream->last_ts.u64 = frame->timestamp.u64; - - if (!stream->is_running) - return PJ_EINVALIDOP; - - if (frame->size==0 || frame->buf==NULL || - frame->size < stream->vafp.framebytes) - return PJ_SUCCESS; - - stream->frame = frame; - job_queue_post_job(stream->sf->jq, put_frame, strm, 0, &status); - - return status; -} - -/* API: create stream */ -static pj_status_t sdl_factory_create_stream( - pjmedia_vid_dev_factory *f, - pjmedia_vid_dev_param *param, - const pjmedia_vid_dev_cb *cb, - void *user_data, - pjmedia_vid_dev_stream **p_vid_strm) -{ - struct sdl_factory *sf = (struct sdl_factory*)f; - pj_pool_t *pool; - struct sdl_stream *strm; - pj_status_t status; - - PJ_ASSERT_RETURN(param->dir == PJMEDIA_DIR_RENDER, PJ_EINVAL); - - /* Create and Initialize stream descriptor */ - pool = pj_pool_create(sf->pf, "sdl-dev", 1000, 1000, NULL); - PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); - - strm = PJ_POOL_ZALLOC_T(pool, struct sdl_stream); - pj_memcpy(&strm->param, param, sizeof(*param)); - strm->pool = pool; - strm->sf = sf; - pj_memcpy(&strm->vid_cb, cb, sizeof(*cb)); - pj_list_init(&strm->list_entry); - strm->list_entry.stream = strm; - strm->user_data = user_data; - - /* Create render stream here */ - job_queue_post_job(sf->jq, sdl_create, strm, 0, &status); - if (status != PJ_SUCCESS) { - goto on_error; - } - pj_mutex_lock(strm->sf->mutex); - if (pj_list_empty(&strm->sf->streams)) - pj_sem_post(strm->sf->sem); - pj_list_insert_after(&strm->sf->streams, &strm->list_entry); - pj_mutex_unlock(strm->sf->mutex); - - /* Done */ - strm->base.op = &stream_op; - *p_vid_strm = &strm->base; - - return PJ_SUCCESS; - -on_error: - sdl_stream_destroy(&strm->base); - return status; -} - -/* API: Get stream info. */ -static pj_status_t sdl_stream_get_param(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_param *pi) -{ - struct sdl_stream *strm = (struct sdl_stream*)s; - - PJ_ASSERT_RETURN(strm && pi, PJ_EINVAL); - - pj_memcpy(pi, &strm->param, sizeof(*pi)); - - if (sdl_stream_get_cap(s, PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW, - &pi->window) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW; - } - if (sdl_stream_get_cap(s, PJMEDIA_VID_DEV_CAP_OUTPUT_POSITION, - &pi->window_pos) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_VID_DEV_CAP_OUTPUT_POSITION; - } - if (sdl_stream_get_cap(s, PJMEDIA_VID_DEV_CAP_OUTPUT_RESIZE, - &pi->disp_size) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_VID_DEV_CAP_OUTPUT_RESIZE; - } - if (sdl_stream_get_cap(s, PJMEDIA_VID_DEV_CAP_OUTPUT_HIDE, - &pi->window_hide) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_VID_DEV_CAP_OUTPUT_HIDE; - } - if (sdl_stream_get_cap(s, PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW_FLAGS, - &pi->window_flags) == PJ_SUCCESS) - { - pi->flags |= PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW_FLAGS; - } - - return PJ_SUCCESS; -} - -struct strm_cap { - struct sdl_stream *strm; - pjmedia_vid_dev_cap cap; - union { - void *pval; - const void *cpval; - } pval; -}; - -static pj_status_t get_cap(void *data) -{ - struct strm_cap *scap = (struct strm_cap *)data; - struct sdl_stream *strm = scap->strm; - pjmedia_vid_dev_cap cap = scap->cap; - void *pval = scap->pval.pval; - - if (cap == PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW) - { - SDL_SysWMinfo info; - SDL_VERSION(&info.version); - - if (SDL_GetWindowWMInfo(strm->window, &info)) { - pjmedia_vid_dev_hwnd *wnd = (pjmedia_vid_dev_hwnd *)pval; - if (0) { } -#if defined(SDL_VIDEO_DRIVER_WINDOWS) - else if (info.subsystem == SDL_SYSWM_WINDOWS) { - wnd->type = PJMEDIA_VID_DEV_HWND_TYPE_WINDOWS; - wnd->info.win.hwnd = (void *)info.info.win.window; - } -#endif -#if defined(SDL_VIDEO_DRIVER_X11) - else if (info.subsystem == SDL_SYSWM_X11) { - wnd->info.x11.window = (void *)info.info.x11.window; - wnd->info.x11.display = (void *)info.info.x11.display; - } -#endif -#if defined(SDL_VIDEO_DRIVER_COCOA) - else if (info.subsystem == SDL_SYSWM_COCOA) { - wnd->info.cocoa.window = (void *)info.info.cocoa.window; - } -#endif -#if defined(SDL_VIDEO_DRIVER_UIKIT) - else if (info.subsystem == SDL_SYSWM_UIKIT) { - wnd->info.ios.window = (void *)info.info.uikit.window; - } -#endif - else { - return PJMEDIA_EVID_INVCAP; - } - return PJ_SUCCESS; - } else - return PJMEDIA_EVID_INVCAP; - } else if (cap == PJMEDIA_VID_DEV_CAP_OUTPUT_POSITION) { - SDL_GetWindowPosition(strm->window, &((pjmedia_coord *)pval)->x, - &((pjmedia_coord *)pval)->y); - return PJ_SUCCESS; - } else if (cap == PJMEDIA_VID_DEV_CAP_OUTPUT_RESIZE) { - SDL_GetWindowSize(strm->window, (int *)&((pjmedia_rect_size *)pval)->w, - (int *)&((pjmedia_rect_size *)pval)->h); - return PJ_SUCCESS; - } else if (cap == PJMEDIA_VID_DEV_CAP_OUTPUT_HIDE) { - Uint32 flag = SDL_GetWindowFlags(strm->window); - *((pj_bool_t *)pval) = (flag & SDL_WINDOW_HIDDEN)? PJ_TRUE: PJ_FALSE; - return PJ_SUCCESS; - } else if (cap == PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW_FLAGS) { - Uint32 flag = SDL_GetWindowFlags(strm->window); - unsigned *wnd_flags = (unsigned *)pval; - if (!(flag & SDL_WINDOW_BORDERLESS)) - *wnd_flags |= PJMEDIA_VID_DEV_WND_BORDER; - if (flag & SDL_WINDOW_RESIZABLE) - *wnd_flags |= PJMEDIA_VID_DEV_WND_RESIZABLE; - return PJ_SUCCESS; - } - - return PJMEDIA_EVID_INVCAP; -} - -/* API: get capability */ -static pj_status_t sdl_stream_get_cap(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_cap cap, - void *pval) -{ - struct sdl_stream *strm = (struct sdl_stream*)s; - struct strm_cap scap; - pj_status_t status; - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - scap.strm = strm; - scap.cap = cap; - scap.pval.pval = pval; - - job_queue_post_job(strm->sf->jq, get_cap, &scap, 0, &status); - - return status; -} - -static pj_status_t set_cap(void *data) -{ - struct strm_cap *scap = (struct strm_cap *)data; - struct sdl_stream *strm = scap->strm; - pjmedia_vid_dev_cap cap = scap->cap; - const void *pval = scap->pval.cpval; - - if (cap == PJMEDIA_VID_DEV_CAP_OUTPUT_POSITION) { - /** - * Setting window's position when the window is hidden also sets - * the window's flag to shown (while the window is, actually, - * still hidden). This causes problems later when setting/querying - * the window's visibility. - * See ticket #1429 (http://trac.pjsip.org/repos/ticket/1429) - */ - Uint32 flag = SDL_GetWindowFlags(strm->window); - if (flag & SDL_WINDOW_HIDDEN) - SDL_ShowWindow(strm->window); - SDL_SetWindowPosition(strm->window, ((pjmedia_coord *)pval)->x, - ((pjmedia_coord *)pval)->y); - if (flag & SDL_WINDOW_HIDDEN) - SDL_HideWindow(strm->window); - return PJ_SUCCESS; - } else if (cap == PJMEDIA_VID_DEV_CAP_OUTPUT_HIDE) { - if (*(pj_bool_t *)pval) - SDL_HideWindow(strm->window); - else - SDL_ShowWindow(strm->window); - return PJ_SUCCESS; - } else if (cap == PJMEDIA_VID_DEV_CAP_FORMAT) { - pj_status_t status; - - status = change_format(strm, (pjmedia_format *)pval); - if (status != PJ_SUCCESS) { - pj_status_t status_; - - /** - * Failed to change the output format. Try to revert - * to its original format. - */ - status_ = change_format(strm, &strm->param.fmt); - if (status_ != PJ_SUCCESS) { - /** - * This means that we failed to revert to our - * original state! - */ - status = PJMEDIA_EVID_ERR; - } - } - - return status; - } else if (cap == PJMEDIA_VID_DEV_CAP_OUTPUT_RESIZE) { - pjmedia_rect_size *new_size = (pjmedia_rect_size *)pval; - - SDL_SetWindowSize(strm->window, new_size->w, new_size->h); - return resize_disp(strm, new_size); - } - - return PJMEDIA_EVID_INVCAP; -} - -/* API: set capability */ -static pj_status_t sdl_stream_set_cap(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_cap cap, - const void *pval) -{ - struct sdl_stream *strm = (struct sdl_stream*)s; - struct strm_cap scap; - pj_status_t status; - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - scap.strm = strm; - scap.cap = cap; - scap.pval.cpval = pval; - - job_queue_post_job(strm->sf->jq, set_cap, &scap, 0, &status); - - return status; -} - -/* API: Start stream. */ -static pj_status_t sdl_stream_start(pjmedia_vid_dev_stream *strm) -{ - struct sdl_stream *stream = (struct sdl_stream*)strm; - - PJ_LOG(4, (THIS_FILE, "Starting sdl video stream")); - - stream->is_running = PJ_TRUE; - - return PJ_SUCCESS; -} - - -/* API: Stop stream. */ -static pj_status_t sdl_stream_stop(pjmedia_vid_dev_stream *strm) -{ - struct sdl_stream *stream = (struct sdl_stream*)strm; - - PJ_LOG(4, (THIS_FILE, "Stopping sdl video stream")); - - stream->is_running = PJ_FALSE; - - return PJ_SUCCESS; -} - - -/* API: Destroy stream. */ -static pj_status_t sdl_stream_destroy(pjmedia_vid_dev_stream *strm) -{ - struct sdl_stream *stream = (struct sdl_stream*)strm; - pj_status_t status; - - PJ_ASSERT_RETURN(stream != NULL, PJ_EINVAL); - - sdl_stream_stop(strm); - - job_queue_post_job(stream->sf->jq, sdl_destroy_all, strm, 0, &status); - if (status != PJ_SUCCESS) - return status; - - pj_mutex_lock(stream->sf->mutex); - if (!pj_list_empty(&stream->list_entry)) - pj_list_erase(&stream->list_entry); - pj_mutex_unlock(stream->sf->mutex); - - pj_pool_release(stream->pool); - - return PJ_SUCCESS; -} - -/**************************************************************************** - * Job queue implementation - */ -#if PJ_DARWINOS==0 -static int job_thread(void * data) -{ - job_queue *jq = (job_queue *)data; - - while (1) { - job *jb; - - /* Wait until there is a job. */ - pj_sem_wait(jq->sem); - - /* Make sure there is no pending jobs before we quit. */ - if (jq->is_quitting && jq->head == jq->tail && !jq->is_full) - break; - - jb = jq->jobs[jq->head]; - jb->retval = (*jb->func)(jb->data); - /* If job queue is full and we already finish all the pending - * jobs, increase the size. - */ - if (jq->is_full && ((jq->head + 1) % jq->size == jq->tail)) { - unsigned i, head; - pj_status_t status; - - if (jq->old_sem) { - for (i = 0; i < jq->size / JOB_QUEUE_INC_FACTOR; i++) { - pj_sem_destroy(jq->old_sem[i]); - } - } - jq->old_sem = jq->job_sem; - - /* Double the job queue size. */ - jq->size *= JOB_QUEUE_INC_FACTOR; - pj_sem_destroy(jq->sem); - status = pj_sem_create(jq->pool, "thread_sem", 0, jq->size + 1, - &jq->sem); - if (status != PJ_SUCCESS) { - PJ_LOG(3, (THIS_FILE, "Failed growing SDL job queue size.")); - return 0; - } - jq->jobs = (job **)pj_pool_calloc(jq->pool, jq->size, - sizeof(job *)); - jq->job_sem = (pj_sem_t **) pj_pool_calloc(jq->pool, jq->size, - sizeof(pj_sem_t *)); - for (i = 0; i < jq->size; i++) { - status = pj_sem_create(jq->pool, "job_sem", 0, 1, - &jq->job_sem[i]); - if (status != PJ_SUCCESS) { - PJ_LOG(3, (THIS_FILE, "Failed growing SDL job " - "queue size.")); - return 0; - } - } - jq->is_full = PJ_FALSE; - head = jq->head; - jq->head = jq->tail = 0; - pj_sem_post(jq->old_sem[head]); - } else { - pj_sem_post(jq->job_sem[jq->head]); - jq->head = (jq->head + 1) % jq->size; - } - } - - return 0; -} -#endif - -static pj_status_t job_queue_create(pj_pool_t *pool, job_queue **pjq) -{ - unsigned i; - pj_status_t status; - - job_queue *jq = PJ_POOL_ZALLOC_T(pool, job_queue); - jq->pool = pool; - jq->size = INITIAL_MAX_JOBS; - status = pj_sem_create(pool, "thread_sem", 0, jq->size + 1, &jq->sem); - if (status != PJ_SUCCESS) - goto on_error; - jq->jobs = (job **)pj_pool_calloc(pool, jq->size, sizeof(job *)); - jq->job_sem = (pj_sem_t **) pj_pool_calloc(pool, jq->size, - sizeof(pj_sem_t *)); - for (i = 0; i < jq->size; i++) { - status = pj_sem_create(pool, "job_sem", 0, 1, &jq->job_sem[i]); - if (status != PJ_SUCCESS) - goto on_error; - } - - status = pj_mutex_create_recursive(pool, "job_mutex", &jq->mutex); - if (status != PJ_SUCCESS) - goto on_error; - -#if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 - PJ_UNUSED_ARG(status); -#else - status = pj_thread_create(pool, "job_th", job_thread, jq, 0, 0, - &jq->thread); - if (status != PJ_SUCCESS) - goto on_error; -#endif /* PJ_DARWINOS */ - - *pjq = jq; - return PJ_SUCCESS; - -on_error: - job_queue_destroy(jq); - return status; -} - -static pj_status_t job_queue_post_job(job_queue *jq, job_func_ptr func, - void *data, unsigned flags, - pj_status_t *retval) -{ - job jb; - int tail; - - if (jq->is_quitting) - return PJ_EBUSY; - - jb.func = func; - jb.data = data; - jb.flags = flags; - -#if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 - PJ_UNUSED_ARG(tail); - NSAutoreleasePool *apool = [[NSAutoreleasePool alloc]init]; - JQDelegate *jqd = [[JQDelegate alloc]init]; - jqd->pjob = &jb; - [jqd performSelectorOnMainThread:@selector(run_job) - withObject:nil waitUntilDone:YES]; - [jqd release]; - [apool release]; -#else /* PJ_DARWINOS */ - pj_mutex_lock(jq->mutex); - jq->jobs[jq->tail] = &jb; - tail = jq->tail; - jq->tail = (jq->tail + 1) % jq->size; - if (jq->tail == jq->head) { - jq->is_full = PJ_TRUE; - PJ_LOG(4, (THIS_FILE, "SDL job queue is full, increasing " - "the queue size.")); - pj_sem_post(jq->sem); - /* Wait until our posted job is completed. */ - pj_sem_wait(jq->job_sem[tail]); - pj_mutex_unlock(jq->mutex); - } else { - pj_mutex_unlock(jq->mutex); - pj_sem_post(jq->sem); - /* Wait until our posted job is completed. */ - pj_sem_wait(jq->job_sem[tail]); - } -#endif /* PJ_DARWINOS */ - - *retval = jb.retval; - - return PJ_SUCCESS; -} - -static pj_status_t job_queue_destroy(job_queue *jq) -{ - unsigned i; - - jq->is_quitting = PJ_TRUE; - - if (jq->thread) { - pj_sem_post(jq->sem); - pj_thread_join(jq->thread); - pj_thread_destroy(jq->thread); - } - - if (jq->sem) { - pj_sem_destroy(jq->sem); - jq->sem = NULL; - } - for (i = 0; i < jq->size; i++) { - if (jq->job_sem[i]) { - pj_sem_destroy(jq->job_sem[i]); - jq->job_sem[i] = NULL; - } - } - if (jq->old_sem) { - for (i = 0; i < jq->size / JOB_QUEUE_INC_FACTOR; i++) { - if (jq->old_sem[i]) { - pj_sem_destroy(jq->old_sem[i]); - jq->old_sem[i] = NULL; - } - } - } - if (jq->mutex) { - pj_mutex_destroy(jq->mutex); - jq->mutex = NULL; - } - - return PJ_SUCCESS; -} - -#ifdef _MSC_VER -# pragma comment( lib, "sdl.lib") -# if PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL -# pragma comment(lib, "OpenGL32.lib") -# endif /* PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL */ -#endif /* _MSC_VER */ - - -#endif /* PJMEDIA_VIDEO_DEV_HAS_SDL */ diff --git a/res/pjproject/pjmedia/src/pjmedia-videodev/sdl_dev_m.m b/res/pjproject/pjmedia/src/pjmedia-videodev/sdl_dev_m.m deleted file mode 100644 index 566bf31e70..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-videodev/sdl_dev_m.m +++ /dev/null @@ -1,20 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include "sdl_dev.c" diff --git a/res/pjproject/pjmedia/src/pjmedia-videodev/v4l2_dev.c b/res/pjproject/pjmedia/src/pjmedia-videodev/v4l2_dev.c deleted file mode 100644 index 260799ff9e..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-videodev/v4l2_dev.c +++ /dev/null @@ -1,819 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include - -#if PJMEDIA_VIDEO_DEV_HAS_V4L2 - -#include -#include -#include -#include -#include - -#define THIS_FILE "v4l2_dev.c" -#define DRIVER_NAME "v4l2" -#define V4L2_MAX_DEVS 4 -#define DEFAULT_WIDTH 640 -#define DEFAULT_HEIGHT 480 -#define DEFAULT_FPS 25 -#define DEFAULT_CLOCK_RATE 90000 -#define INVALID_FD -1 -#define BUFFER_CNT 2 -#define MAX_IOCTL_RETRY 20 - - -/* mapping between pjmedia_fmt_id and v4l2 pixel format */ -typedef struct vid4lin_fmt_map -{ - pj_uint32_t pjmedia_fmt_id; - pj_uint32_t v4l2_fmt_id; -} vid4lin_fmt_map; - -/* I/O type being used */ -enum vid4lin_io_type -{ - IO_TYPE_NONE, - IO_TYPE_READ, - IO_TYPE_MMAP, - IO_TYPE_MMAP_USER -}; - -/* descriptor for each mmap-ed buffer */ -typedef struct vid4lin_buffer -{ - void *start; - size_t length; -} vid4lin_buffer; - -/* v4l2 device info */ -typedef struct vid4lin_dev_info -{ - pjmedia_vid_dev_info info; - char dev_name[32]; - struct v4l2_capability v4l2_cap; -} vid4lin_dev_info; - -/* v4l2 factory */ -typedef struct vid4lin_factory -{ - pjmedia_vid_dev_factory base; - pj_pool_t *pool; - pj_pool_t *dev_pool; - pj_pool_factory *pf; - - unsigned dev_count; - vid4lin_dev_info *dev_info; -} vid4lin_factory; - -/* Video stream. */ -typedef struct vid4lin_stream -{ - pjmedia_vid_dev_stream base; /**< Base stream */ - pjmedia_vid_dev_param param; /**< Settings */ - pj_pool_t *pool; /**< Memory pool. */ - - int fd; /**< Video fd. */ - char name[64]; /**< Name for log */ - enum vid4lin_io_type io_type; /**< I/O method. */ - unsigned buf_cnt; /**< MMap buf cnt. */ - vid4lin_buffer *buffers; /**< MMap buffers. */ - pj_time_val start_time; /**< Time when started */ - - pjmedia_vid_dev_cb vid_cb; /**< Stream callback */ - void *user_data; /**< Application data */ -} vid4lin_stream; - -/* Use this to convert between pjmedia_format_id and V4L2 fourcc */ -static vid4lin_fmt_map v4l2_fmt_maps[] = -{ - { PJMEDIA_FORMAT_RGB24, V4L2_PIX_FMT_BGR24 }, - { PJMEDIA_FORMAT_RGBA, V4L2_PIX_FMT_BGR32 }, - { PJMEDIA_FORMAT_RGB32, V4L2_PIX_FMT_BGR32 }, - { PJMEDIA_FORMAT_AYUV, V4L2_PIX_FMT_YUV32 }, - { PJMEDIA_FORMAT_YUY2, V4L2_PIX_FMT_YUYV }, - { PJMEDIA_FORMAT_UYVY, V4L2_PIX_FMT_UYVY } -}; - -/* Prototypes */ -static pj_status_t vid4lin_factory_init(pjmedia_vid_dev_factory *f); -static pj_status_t vid4lin_factory_destroy(pjmedia_vid_dev_factory *f); -static pj_status_t vid4lin_factory_refresh(pjmedia_vid_dev_factory *f); -static unsigned vid4lin_factory_get_dev_count(pjmedia_vid_dev_factory *f); -static pj_status_t vid4lin_factory_get_dev_info(pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_info *info); -static pj_status_t vid4lin_factory_default_param(pj_pool_t *pool, - pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_param *param); -static pj_status_t vid4lin_factory_create_stream(pjmedia_vid_dev_factory *f, - pjmedia_vid_dev_param *prm, - const pjmedia_vid_dev_cb *cb, - void *user_data, - pjmedia_vid_dev_stream **p); - -static pj_status_t vid4lin_stream_get_param(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_param *param); -static pj_status_t vid4lin_stream_get_cap(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - void *value); -static pj_status_t vid4lin_stream_set_cap(pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - const void *value); -static pj_status_t vid4lin_stream_get_frame(pjmedia_vid_dev_stream *strm, - pjmedia_frame *frame); -static pj_status_t vid4lin_stream_start(pjmedia_vid_dev_stream *strm); -static pj_status_t vid4lin_stream_stop(pjmedia_vid_dev_stream *strm); -static pj_status_t vid4lin_stream_destroy(pjmedia_vid_dev_stream *strm); - -/* Operations */ -static pjmedia_vid_dev_factory_op factory_op = -{ - &vid4lin_factory_init, - &vid4lin_factory_destroy, - &vid4lin_factory_get_dev_count, - &vid4lin_factory_get_dev_info, - &vid4lin_factory_default_param, - &vid4lin_factory_create_stream, - &vid4lin_factory_refresh -}; - -static pjmedia_vid_dev_stream_op stream_op = -{ - &vid4lin_stream_get_param, - &vid4lin_stream_get_cap, - &vid4lin_stream_set_cap, - &vid4lin_stream_start, - &vid4lin_stream_get_frame, - NULL, - &vid4lin_stream_stop, - &vid4lin_stream_destroy -}; - - -/**************************************************************************** - * Factory operations - */ -/* - * Factory creation function. - */ -pjmedia_vid_dev_factory* pjmedia_v4l2_factory(pj_pool_factory *pf) -{ - vid4lin_factory *f; - pj_pool_t *pool; - - pool = pj_pool_create(pf, DRIVER_NAME, 512, 512, NULL); - f = PJ_POOL_ZALLOC_T(pool, vid4lin_factory); - f->pf = pf; - f->pool = pool; - f->base.op = &factory_op; - - return &f->base; -} - -/* util: ioctl that tries harder. */ -static pj_status_t xioctl(int fh, int request, void *arg) -{ - enum { RETRY = MAX_IOCTL_RETRY }; - int r, c=0; - - do { - r = v4l2_ioctl(fh, request, arg); - } while (r==-1 && c++dev_pool) { - pj_pool_release(f->dev_pool); - f->dev_pool = NULL; - } - - pj_bzero(vdi, sizeof(vdi)); - old_count = f->dev_count; - f->dev_count = 0; - f->dev_pool = pj_pool_create(f->pf, DRIVER_NAME, 500, 500, NULL); - - for (i=0; idev_count < V4L2_MAX_DEVS; ++i) { - int fd; - vid4lin_dev_info *pdi; - pj_uint32_t fmt_cap[8]; - int j, fmt_cnt=0; - - pdi = &vdi[f->dev_count]; - - snprintf(dev_name, sizeof(dev_name), "/dev/video%d", i); - if (!pj_file_exists(dev_name)) - continue; - - fd = v4l2_open(dev_name, O_RDWR, 0); - if (fd == -1) - continue; - - status = xioctl(fd, VIDIOC_QUERYCAP, &pdi->v4l2_cap); - if (status != PJ_SUCCESS) { - PJ_PERROR(4,(THIS_FILE, status, "Error querying %s", dev_name)); - v4l2_close(fd); - continue; - } - - if ((pdi->v4l2_cap.capabilities & V4L2_CAP_VIDEO_CAPTURE) == 0) { - v4l2_close(fd); - continue; - } - - PJ_LOG(5,(THIS_FILE, "Found capture device %s", pdi->v4l2_cap.card)); - PJ_LOG(5,(THIS_FILE, " Enumerating formats:")); - for (j=0; fmt_cntdev_name, dev_name, sizeof(pdi->dev_name)); - pdi->dev_name[sizeof(pdi->dev_name)-1] = '\0'; - strncpy(pdi->info.name, (char*)pdi->v4l2_cap.card, - sizeof(pdi->info.name)); - pdi->info.name[sizeof(pdi->info.name)-1] = '\0'; - strncpy(pdi->info.driver, DRIVER_NAME, sizeof(pdi->info.driver)); - pdi->info.driver[sizeof(pdi->info.driver)-1] = '\0'; - pdi->info.dir = PJMEDIA_DIR_CAPTURE; - pdi->info.has_callback = PJ_FALSE; - pdi->info.caps = PJMEDIA_VID_DEV_CAP_FORMAT; - - pdi->info.fmt_cnt = fmt_cnt; - for (j=0; jinfo.fmt[j], - fmt_cap[j], - DEFAULT_WIDTH, - DEFAULT_HEIGHT, - DEFAULT_FPS, 1); - } - if (j < fmt_cnt) - continue; - - f->dev_count++; - } - - if (f->dev_count == 0) - return PJ_SUCCESS; - - if (f->dev_count > old_count || f->dev_info == NULL) { - f->dev_info = (vid4lin_dev_info*) - pj_pool_calloc(f->dev_pool, - f->dev_count, - sizeof(vid4lin_dev_info)); - } - pj_memcpy(f->dev_info, vdi, f->dev_count * sizeof(vid4lin_dev_info)); - - return PJ_SUCCESS; -} - - -/* API: init factory */ -static pj_status_t vid4lin_factory_init(pjmedia_vid_dev_factory *f) -{ - return vid4lin_factory_refresh(f); -} - -/* API: destroy factory */ -static pj_status_t vid4lin_factory_destroy(pjmedia_vid_dev_factory *f) -{ - vid4lin_factory *cf = (vid4lin_factory*)f; - pj_pool_t *pool = cf->pool; - - if (cf->dev_pool) - pj_pool_release(cf->dev_pool); - if (cf->pool) { - cf->pool = NULL; - pj_pool_release(pool); - } - - return PJ_SUCCESS; -} - -/* API: refresh the list of devices */ -static pj_status_t vid4lin_factory_refresh(pjmedia_vid_dev_factory *f) -{ - vid4lin_factory *cf = (vid4lin_factory*)f; - pj_status_t status; - - status = v4l2_scan_devs(cf); - if (status != PJ_SUCCESS) - return status; - - PJ_LOG(4, (THIS_FILE, "Video4Linux2 has %d devices", - cf->dev_count)); - - return PJ_SUCCESS; -} - -/* API: get number of devices */ -static unsigned vid4lin_factory_get_dev_count(pjmedia_vid_dev_factory *f) -{ - vid4lin_factory *cf = (vid4lin_factory*)f; - return cf->dev_count; -} - -/* API: get device info */ -static pj_status_t vid4lin_factory_get_dev_info(pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_info *info) -{ - vid4lin_factory *cf = (vid4lin_factory*)f; - - PJ_ASSERT_RETURN(index < cf->dev_count, PJMEDIA_EVID_INVDEV); - - pj_memcpy(info, &cf->dev_info[index].info, sizeof(*info)); - - return PJ_SUCCESS; -} - -/* API: create default device parameter */ -static pj_status_t vid4lin_factory_default_param(pj_pool_t *pool, - pjmedia_vid_dev_factory *f, - unsigned index, - pjmedia_vid_dev_param *param) -{ - vid4lin_factory *cf = (vid4lin_factory*)f; - - PJ_ASSERT_RETURN(index < cf->dev_count, PJMEDIA_EVID_INVDEV); - - pj_bzero(param, sizeof(*param)); - param->dir = PJMEDIA_DIR_CAPTURE; - param->cap_id = index; - param->rend_id = PJMEDIA_VID_INVALID_DEV; - param->flags = PJMEDIA_VID_DEV_CAP_FORMAT; - param->clock_rate = DEFAULT_CLOCK_RATE; - pjmedia_format_copy(¶m->fmt, &cf->dev_info[index].info.fmt[0]); - - return PJ_SUCCESS; -} - -static vid4lin_fmt_map* get_v4l2_format_info(pjmedia_format_id id) -{ - unsigned i; - - for (i = 0; i < PJ_ARRAY_SIZE(v4l2_fmt_maps); i++) { - if (v4l2_fmt_maps[i].pjmedia_fmt_id == id) - return &v4l2_fmt_maps[i]; - } - - return NULL; -} - -/* util: setup format */ -static pj_status_t vid4lin_stream_init_fmt(vid4lin_stream *stream, - const pjmedia_vid_dev_param *param, - pj_uint32_t pix_fmt) -{ - pjmedia_video_format_detail *vfd; - struct v4l2_format v4l2_fmt; - pj_status_t status; - - vfd = pjmedia_format_get_video_format_detail(¶m->fmt, PJ_TRUE); - if (vfd == NULL) - return PJMEDIA_EVID_BADFORMAT; - - pj_bzero(&v4l2_fmt, sizeof(v4l2_fmt)); - v4l2_fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; - v4l2_fmt.fmt.pix.width = vfd->size.w; - v4l2_fmt.fmt.pix.height = vfd->size.h; - v4l2_fmt.fmt.pix.pixelformat = pix_fmt; - v4l2_fmt.fmt.pix.field = V4L2_FIELD_INTERLACED; - status = xioctl(stream->fd, VIDIOC_S_FMT, &v4l2_fmt); - if (status != PJ_SUCCESS) - return status; - - if (v4l2_fmt.fmt.pix.pixelformat != pix_fmt) { - status = PJMEDIA_EVID_BADFORMAT; - return status; - } - - if ((v4l2_fmt.fmt.pix.width != vfd->size.w) || - (v4l2_fmt.fmt.pix.height != vfd->size.h)) - { - /* Size has changed */ - vfd->size.w = v4l2_fmt.fmt.pix.width; - vfd->size.h = v4l2_fmt.fmt.pix.height; - } - - return PJ_SUCCESS; -} - -/* Util: initiate v4l2 streaming via mmap */ -static pj_status_t vid4lin_stream_init_streaming(vid4lin_stream *stream) -{ - struct v4l2_requestbuffers req; - unsigned i; - pj_status_t status; - - pj_bzero(&req, sizeof(req)); - req.count = BUFFER_CNT; - req.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; - req.memory = V4L2_MEMORY_MMAP; - status = xioctl(stream->fd, VIDIOC_REQBUFS, &req); - if (status != PJ_SUCCESS) - return status; - - stream->buffers = pj_pool_calloc(stream->pool, req.count, - sizeof(*stream->buffers)); - stream->buf_cnt = 0; - - for (i = 0; i < req.count; ++i) { - struct v4l2_buffer buf; - - pj_bzero(&buf, sizeof(buf)); - - buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; - buf.memory = V4L2_MEMORY_MMAP; - buf.index = i; - - status = xioctl(stream->fd, VIDIOC_QUERYBUF, &buf); - if (status != PJ_SUCCESS) - goto on_error; - - stream->buffers[i].length = buf.length; - stream->buffers[i].start = v4l2_mmap(NULL, buf.length, - PROT_READ | PROT_WRITE, - MAP_SHARED, stream->fd, - buf.m.offset); - - if (MAP_FAILED == stream->buffers[i].start) { - status = pj_get_os_error(); - goto on_error; - } - - stream->buf_cnt++; - } - - PJ_LOG(5,(THIS_FILE, " mmap streaming initialized")); - - stream->io_type = IO_TYPE_MMAP; - return PJ_SUCCESS; - -on_error: - return status; -} - -/* init streaming with user pointer */ -static pj_status_t vid4lin_stream_init_streaming_user(vid4lin_stream *stream) -{ - return PJ_ENOTSUP; -} - -/* init streaming with read() */ -static pj_status_t vid4lin_stream_init_read_write(vid4lin_stream *stream) -{ - return PJ_ENOTSUP; -} - -/* API: create stream */ -static pj_status_t vid4lin_factory_create_stream(pjmedia_vid_dev_factory *f, - pjmedia_vid_dev_param *param, - const pjmedia_vid_dev_cb *cb, - void *user_data, - pjmedia_vid_dev_stream **p_vid_strm) -{ - vid4lin_factory *cf = (vid4lin_factory*)f; - pj_pool_t *pool; - vid4lin_stream *stream; - vid4lin_dev_info *vdi; - const vid4lin_fmt_map *fmt_map; - const pjmedia_video_format_info *fmt_info; - pjmedia_video_format_detail *vfd; - pj_status_t status = PJ_SUCCESS; - - - PJ_ASSERT_RETURN(f && param && p_vid_strm, PJ_EINVAL); - PJ_ASSERT_RETURN(param->fmt.type == PJMEDIA_TYPE_VIDEO && - param->fmt.detail_type == PJMEDIA_FORMAT_DETAIL_VIDEO && - param->dir == PJMEDIA_DIR_CAPTURE, - PJ_EINVAL); - PJ_ASSERT_RETURN(param->cap_id >= 0 && param->cap_id < cf->dev_count, - PJMEDIA_EVID_INVDEV); - - fmt_info = pjmedia_get_video_format_info(NULL, param->fmt.id); - if (!fmt_info || (fmt_map=get_v4l2_format_info(param->fmt.id))==NULL) - return PJMEDIA_EVID_BADFORMAT; - - vdi = &cf->dev_info[param->cap_id]; - vfd = pjmedia_format_get_video_format_detail(¶m->fmt, PJ_TRUE); - - /* Create and Initialize stream descriptor */ - pool = pj_pool_create(cf->pf, vdi->info.name, 512, 512, NULL); - PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); - - stream = PJ_POOL_ZALLOC_T(pool, vid4lin_stream); - pj_memcpy(&stream->param, param, sizeof(*param)); - stream->pool = pool; - pj_memcpy(&stream->vid_cb, cb, sizeof(*cb)); - strncpy(stream->name, vdi->info.name, sizeof(stream->name)); - stream->name[sizeof(stream->name)-1] = '\0'; - stream->user_data = user_data; - stream->fd = INVALID_FD; - - stream->fd = v4l2_open(vdi->dev_name, O_RDWR, 0); - if (stream->fd < 0) - goto on_error; - - status = vid4lin_stream_init_fmt(stream, param, fmt_map->v4l2_fmt_id); - if (status != PJ_SUCCESS) - goto on_error; - - if (vdi->v4l2_cap.capabilities & V4L2_CAP_STREAMING) - status = vid4lin_stream_init_streaming(stream); - - if (status!=PJ_SUCCESS && vdi->v4l2_cap.capabilities & V4L2_CAP_STREAMING) - status = vid4lin_stream_init_streaming_user(stream); - - if (status!=PJ_SUCCESS && vdi->v4l2_cap.capabilities & V4L2_CAP_READWRITE) - status = vid4lin_stream_init_read_write(stream); - - if (status != PJ_SUCCESS) { - PJ_LOG(1,(THIS_FILE, "Error: unable to initiate I/O on %s", - stream->name)); - goto on_error; - } - - /* Done */ - stream->base.op = &stream_op; - *p_vid_strm = &stream->base; - - return PJ_SUCCESS; - -on_error: - if (status == PJ_SUCCESS) - status = PJ_RETURN_OS_ERROR(errno); - - vid4lin_stream_destroy(&stream->base); - return status; -} - -/* API: Get stream info. */ -static pj_status_t vid4lin_stream_get_param(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_param *pi) -{ - vid4lin_stream *strm = (vid4lin_stream*)s; - - PJ_ASSERT_RETURN(strm && pi, PJ_EINVAL); - - pj_memcpy(pi, &strm->param, sizeof(*pi)); - - return PJ_SUCCESS; -} - -/* API: get capability */ -static pj_status_t vid4lin_stream_get_cap(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_cap cap, - void *pval) -{ - vid4lin_stream *strm = (vid4lin_stream*)s; - - PJ_UNUSED_ARG(strm); - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - if (cap==PJMEDIA_VID_DEV_CAP_INPUT_SCALE) - { - return PJMEDIA_EVID_INVCAP; -// return PJ_SUCCESS; - } else { - return PJMEDIA_EVID_INVCAP; - } -} - -/* API: set capability */ -static pj_status_t vid4lin_stream_set_cap(pjmedia_vid_dev_stream *s, - pjmedia_vid_dev_cap cap, - const void *pval) -{ - vid4lin_stream *strm = (vid4lin_stream*)s; - - - PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); - - /* - if (cap==PJMEDIA_VID_DEV_CAP_INPUT_SCALE) - { - return PJ_SUCCESS; - } - */ - PJ_UNUSED_ARG(strm); - PJ_UNUSED_ARG(cap); - PJ_UNUSED_ARG(pval); - - return PJMEDIA_EVID_INVCAP; -} - -/* get frame from mmap */ -static pj_status_t vid4lin_stream_get_frame_mmap(vid4lin_stream *stream, - pjmedia_frame *frame) -{ - struct v4l2_buffer buf; - pj_time_val time; - pj_status_t status = PJ_SUCCESS; - - pj_bzero(&buf, sizeof(buf)); - buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; - buf.memory = V4L2_MEMORY_MMAP; - status = xioctl(stream->fd, VIDIOC_DQBUF, &buf); - if (status != PJ_SUCCESS) - return status; - - if (frame->size < buf.bytesused) { - /* supplied buffer is too small */ - pj_assert(!"frame buffer is too small for v4l2"); - status = PJ_ETOOSMALL; - goto on_return; - } - - time.sec = buf.timestamp.tv_sec; - time.msec = buf.timestamp.tv_usec / 1000; - PJ_TIME_VAL_SUB(time, stream->start_time); - - frame->type = PJMEDIA_FRAME_TYPE_VIDEO; - frame->bit_info = 0; - frame->size = buf.bytesused; - frame->timestamp.u64 = PJ_UINT64(1) * PJ_TIME_VAL_MSEC(time) * - stream->param.clock_rate / PJ_UINT64(1000); - pj_memcpy(frame->buf, stream->buffers[buf.index].start, buf.bytesused); - -on_return: - pj_bzero(&buf, sizeof(buf)); - buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; - buf.memory = V4L2_MEMORY_MMAP; - xioctl(stream->fd, VIDIOC_QBUF, &buf); - - return status; -} - -/* API: Get frame from stream */ -static pj_status_t vid4lin_stream_get_frame(pjmedia_vid_dev_stream *strm, - pjmedia_frame *frame) -{ - vid4lin_stream *stream = (vid4lin_stream*)strm; - - if (stream->io_type == IO_TYPE_MMAP) - return vid4lin_stream_get_frame_mmap(stream, frame); - else { - pj_assert(!"Unsupported i/o type"); - return PJ_EINVALIDOP; - } -} - -/* API: Start stream. */ -static pj_status_t vid4lin_stream_start(pjmedia_vid_dev_stream *strm) -{ - vid4lin_stream *stream = (vid4lin_stream*)strm; - struct v4l2_buffer buf; - enum v4l2_buf_type type; - unsigned i; - pj_status_t status; - - PJ_ASSERT_RETURN(stream->fd != -1, PJ_EINVALIDOP); - - PJ_LOG(4, (THIS_FILE, "Starting v4l2 video stream %s", stream->name)); - - pj_gettimeofday(&stream->start_time); - - for (i = 0; i < stream->buf_cnt; ++i) { - pj_bzero(&buf, sizeof(buf)); - buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; - buf.memory = V4L2_MEMORY_MMAP; - buf.index = i; - status = xioctl(stream->fd, VIDIOC_QBUF, &buf); - if (status != PJ_SUCCESS) - goto on_error; - } - type = V4L2_BUF_TYPE_VIDEO_CAPTURE; - - status = xioctl(stream->fd, VIDIOC_STREAMON, &type); - if (status != PJ_SUCCESS) - goto on_error; - - return PJ_SUCCESS; - -on_error: - if (i > 0) { - /* Dequeue already enqueued buffers. Can we do this while streaming - * is not started? - */ - unsigned n = i; - for (i=0; ifd, VIDIOC_DQBUF, &buf); - } - } - return status; -} - -/* API: Stop stream. */ -static pj_status_t vid4lin_stream_stop(pjmedia_vid_dev_stream *strm) -{ - vid4lin_stream *stream = (vid4lin_stream*)strm; - enum v4l2_buf_type type; - pj_status_t status; - - if (stream->fd < 0) - return PJ_SUCCESS; - - PJ_LOG(4, (THIS_FILE, "Stopping v4l2 video stream %s", stream->name)); - - type = V4L2_BUF_TYPE_VIDEO_CAPTURE; - status = xioctl(stream->fd, VIDIOC_STREAMOFF, &type); - if (status != PJ_SUCCESS) - return status; - - return PJ_SUCCESS; -} - - -/* API: Destroy stream. */ -static pj_status_t vid4lin_stream_destroy(pjmedia_vid_dev_stream *strm) -{ - vid4lin_stream *stream = (vid4lin_stream*)strm; - unsigned i; - - PJ_ASSERT_RETURN(stream != NULL, PJ_EINVAL); - - vid4lin_stream_stop(strm); - - PJ_LOG(4, (THIS_FILE, "Destroying v4l2 video stream %s", stream->name)); - - for (i=0; ibuf_cnt; ++i) { - if (stream->buffers[i].start != MAP_FAILED) { - v4l2_munmap(stream->buffers[i].start, stream->buffers[i].length); - stream->buffers[i].start = MAP_FAILED; - } - } - - if (stream->fd >= 0) { - v4l2_close(stream->fd); - stream->fd = -1; - } - pj_pool_release(stream->pool); - - return PJ_SUCCESS; -} - -#endif /* PJMEDIA_VIDEO_DEV_HAS_V4L2 */ diff --git a/res/pjproject/pjmedia/src/pjmedia-videodev/videodev.c b/res/pjproject/pjmedia/src/pjmedia-videodev/videodev.c deleted file mode 100644 index 658d091aca..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia-videodev/videodev.c +++ /dev/null @@ -1,877 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - - -#define THIS_FILE "videodev.c" - -#define DEFINE_CAP(name, info) {name, info} - -/* Capability names */ -static struct cap_info -{ - const char *name; - const char *info; -} cap_infos[] = -{ - DEFINE_CAP("format", "Video format"), - DEFINE_CAP("scale", "Input dimension"), - DEFINE_CAP("window", "Window handle"), - DEFINE_CAP("resize", "Renderer resize"), - DEFINE_CAP("position", "Renderer position"), - DEFINE_CAP("hide", "Renderer hide"), - DEFINE_CAP("preview", "Input preview"), - DEFINE_CAP("orientation", "Video orientation"), - DEFINE_CAP("switch", "Switch device"), - DEFINE_CAP("wndflags", "Window flags") -}; - - -/* - * The device index seen by application and driver is different. - * - * At application level, device index is index to global list of device. - * At driver level, device index is index to device list on that particular - * factory only. - */ -#define MAKE_DEV_ID(f_id, index) (((f_id & 0xFFFF) << 16) | (index & 0xFFFF)) -#define GET_INDEX(dev_id) ((dev_id) & 0xFFFF) -#define GET_FID(dev_id) ((dev_id) >> 16) -#define DEFAULT_DEV_ID 0 - - -/* extern functions to create factories */ -#if PJMEDIA_VIDEO_DEV_HAS_NULL_VIDEO -pjmedia_vid_dev_factory* pjmedia_null_video_factory(pj_pool_factory *pf); -#endif - -#if PJMEDIA_VIDEO_DEV_HAS_DSHOW -pjmedia_vid_dev_factory* pjmedia_dshow_factory(pj_pool_factory *pf); -#endif - -#if PJMEDIA_VIDEO_DEV_HAS_CBAR_SRC -pjmedia_vid_dev_factory* pjmedia_cbar_factory(pj_pool_factory *pf); -#endif - -#if PJMEDIA_VIDEO_DEV_HAS_SDL -pjmedia_vid_dev_factory* pjmedia_sdl_factory(pj_pool_factory *pf); -#endif - -#if PJMEDIA_VIDEO_DEV_HAS_FFMPEG -pjmedia_vid_dev_factory* pjmedia_ffmpeg_factory(pj_pool_factory *pf); -#endif - -#if PJMEDIA_VIDEO_DEV_HAS_V4L2 -pjmedia_vid_dev_factory* pjmedia_v4l2_factory(pj_pool_factory *pf); -#endif - -#if PJMEDIA_VIDEO_DEV_HAS_QT -pjmedia_vid_dev_factory* pjmedia_qt_factory(pj_pool_factory *pf); -#endif - -#if PJMEDIA_VIDEO_DEV_HAS_IOS -pjmedia_vid_dev_factory* pjmedia_ios_factory(pj_pool_factory *pf); -#endif - -#define MAX_DRIVERS 16 -#define MAX_DEVS 64 - - -/* driver structure */ -struct driver -{ - /* Creation function */ - pjmedia_vid_dev_factory_create_func_ptr create; - /* Factory instance */ - pjmedia_vid_dev_factory *f; - char name[32]; /* Driver name */ - unsigned dev_cnt; /* Number of devices */ - unsigned start_idx; /* Start index in global list */ - int cap_dev_idx; /* Default capture device. */ - int rend_dev_idx; /* Default render device */ -}; - -/* The video device subsystem */ -static struct vid_subsys -{ - unsigned init_count; /* How many times init() is called */ - pj_pool_factory *pf; /* The pool factory. */ - - unsigned drv_cnt; /* Number of drivers. */ - struct driver drv[MAX_DRIVERS]; /* Array of drivers. */ - - unsigned dev_cnt; /* Total number of devices. */ - pj_uint32_t dev_list[MAX_DEVS];/* Array of device IDs. */ - -} vid_subsys; - -/* API: get capability name/info */ -PJ_DEF(const char*) pjmedia_vid_dev_cap_name(pjmedia_vid_dev_cap cap, - const char **p_desc) -{ - const char *desc; - unsigned i; - - if (p_desc==NULL) p_desc = &desc; - - for (i=0; iname; \ - *size = sizeof(param->name) - - switch (cap) { - case PJMEDIA_VID_DEV_CAP_FORMAT: - FIELD_INFO(fmt); - break; - case PJMEDIA_VID_DEV_CAP_INPUT_SCALE: - FIELD_INFO(disp_size); - break; - case PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW: - FIELD_INFO(window); - break; - case PJMEDIA_VID_DEV_CAP_OUTPUT_RESIZE: - FIELD_INFO(disp_size); - break; - case PJMEDIA_VID_DEV_CAP_OUTPUT_POSITION: - FIELD_INFO(window_pos); - break; - case PJMEDIA_VID_DEV_CAP_OUTPUT_HIDE: - FIELD_INFO(window_hide); - break; - case PJMEDIA_VID_DEV_CAP_INPUT_PREVIEW: - FIELD_INFO(native_preview); - break; - case PJMEDIA_VID_DEV_CAP_ORIENTATION: - FIELD_INFO(orient); - break; - /* The PJMEDIA_VID_DEV_CAP_SWITCH does not have an entry in the - * param (it doesn't make sense to open a stream and tell it - * to switch immediately). - */ - case PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW_FLAGS: - FIELD_INFO(window_flags); - break; - default: - return PJMEDIA_EVID_INVCAP; - } - -#undef FIELD_INFO - - return PJ_SUCCESS; -} - -/* API: set cap value to param */ -PJ_DEF(pj_status_t) -pjmedia_vid_dev_param_set_cap( pjmedia_vid_dev_param *param, - pjmedia_vid_dev_cap cap, - const void *pval) -{ - void *cap_ptr; - unsigned cap_size; - pj_status_t status; - - status = get_cap_pointer(param, cap, &cap_ptr, &cap_size); - if (status != PJ_SUCCESS) - return status; - - pj_memcpy(cap_ptr, pval, cap_size); - param->flags |= cap; - - return PJ_SUCCESS; -} - -/* API: get cap value from param */ -PJ_DEF(pj_status_t) -pjmedia_vid_dev_param_get_cap( const pjmedia_vid_dev_param *param, - pjmedia_vid_dev_cap cap, - void *pval) -{ - void *cap_ptr; - unsigned cap_size; - pj_status_t status; - - status = get_cap_pointer(param, cap, &cap_ptr, &cap_size); - if (status != PJ_SUCCESS) - return status; - - if ((param->flags & cap) == 0) { - pj_bzero(cap_ptr, cap_size); - return PJMEDIA_EVID_INVCAP; - } - - pj_memcpy(pval, cap_ptr, cap_size); - return PJ_SUCCESS; -} - -/* Internal: init driver */ -static pj_status_t init_driver(unsigned drv_idx, pj_bool_t refresh) -{ - struct driver *drv = &vid_subsys.drv[drv_idx]; - pjmedia_vid_dev_factory *f; - unsigned i, dev_cnt; - pj_status_t status; - - if (!refresh) { - /* Create the factory */ - f = (*drv->create)(vid_subsys.pf); - if (!f) - return PJ_EUNKNOWN; - - /* Call factory->init() */ - status = f->op->init(f); - if (status != PJ_SUCCESS) { - f->op->destroy(f); - return status; - } - } else { - f = drv->f; - } - - /* Get number of devices */ - dev_cnt = f->op->get_dev_count(f); - if (dev_cnt + vid_subsys.dev_cnt > MAX_DEVS) { - PJ_LOG(4,(THIS_FILE, "%d device(s) cannot be registered because" - " there are too many devices", - vid_subsys.dev_cnt + dev_cnt - MAX_DEVS)); - dev_cnt = MAX_DEVS - vid_subsys.dev_cnt; - } - - /* enabling this will cause pjsua-lib initialization to fail when there - * is no video device installed in the system, even when pjsua has been - * run with --null-video - * - if (dev_cnt == 0) { - f->op->destroy(f); - return PJMEDIA_EVID_NODEV; - } - */ - - /* Fill in default devices */ - drv->rend_dev_idx = drv->cap_dev_idx = -1; - for (i=0; iop->get_dev_info(f, i, &info); - if (status != PJ_SUCCESS) { - f->op->destroy(f); - return status; - } - - if (drv->name[0]=='\0') { - /* Set driver name */ - pj_ansi_strncpy(drv->name, info.driver, sizeof(drv->name)); - drv->name[sizeof(drv->name)-1] = '\0'; - } - - if (drv->rend_dev_idx < 0 && (info.dir & PJMEDIA_DIR_RENDER)) { - /* Set default render device */ - drv->rend_dev_idx = i; - } - if (drv->cap_dev_idx < 0 && (info.dir & PJMEDIA_DIR_CAPTURE)) { - /* Set default capture device */ - drv->cap_dev_idx = i; - } - - if (drv->rend_dev_idx >= 0 && drv->cap_dev_idx >= 0) { - /* Done. */ - break; - } - } - - /* Register the factory */ - drv->f = f; - drv->f->sys.drv_idx = drv_idx; - drv->start_idx = vid_subsys.dev_cnt; - drv->dev_cnt = dev_cnt; - - /* Register devices to global list */ - for (i=0; if) { - drv->f->op->destroy(drv->f); - drv->f = NULL; - } - - drv->dev_cnt = 0; - drv->rend_dev_idx = drv->cap_dev_idx = -1; -} - -/* API: Initialize the video device subsystem. */ -PJ_DEF(pj_status_t) pjmedia_vid_dev_subsys_init(pj_pool_factory *pf) -{ - unsigned i; - pj_status_t status = PJ_SUCCESS; - - /* Allow init() to be called multiple times as long as there is matching - * number of shutdown(). - */ - if (vid_subsys.init_count++ != 0) { - return PJ_SUCCESS; - } - - /* Register error subsystem */ - pj_register_strerror(PJMEDIA_VIDEODEV_ERRNO_START, - PJ_ERRNO_SPACE_SIZE, - &pjmedia_videodev_strerror); - - /* Init */ - vid_subsys.pf = pf; - vid_subsys.drv_cnt = 0; - vid_subsys.dev_cnt = 0; - - /* Register creation functions */ -#if PJMEDIA_VIDEO_DEV_HAS_V4L2 - vid_subsys.drv[vid_subsys.drv_cnt++].create = &pjmedia_v4l2_factory; -#endif -#if PJMEDIA_VIDEO_DEV_HAS_QT - vid_subsys.drv[vid_subsys.drv_cnt++].create = &pjmedia_qt_factory; -#endif -#if PJMEDIA_VIDEO_DEV_HAS_IOS - vid_subsys.drv[vid_subsys.drv_cnt++].create = &pjmedia_ios_factory; -#endif -#if PJMEDIA_VIDEO_DEV_HAS_DSHOW - vid_subsys.drv[vid_subsys.drv_cnt++].create = &pjmedia_dshow_factory; -#endif -#if PJMEDIA_VIDEO_DEV_HAS_FFMPEG - vid_subsys.drv[vid_subsys.drv_cnt++].create = &pjmedia_ffmpeg_factory; -#endif -#if PJMEDIA_VIDEO_DEV_HAS_CBAR_SRC - vid_subsys.drv[vid_subsys.drv_cnt++].create = &pjmedia_cbar_factory; -#endif -#if PJMEDIA_VIDEO_DEV_HAS_SDL - vid_subsys.drv[vid_subsys.drv_cnt++].create = &pjmedia_sdl_factory; -#endif - - /* Initialize each factory and build the device ID list */ - for (i=0; iinit() */ - status = factory->op->init(factory); - if (status != PJ_SUCCESS) { - factory->op->destroy(factory); - return status; - } - refresh = PJ_TRUE; - } - - status = init_driver(vid_subsys.drv_cnt, refresh); - if (status == PJ_SUCCESS) { - vid_subsys.drv_cnt++; - } else { - deinit_driver(vid_subsys.drv_cnt); - } - - return status; -} - -/* API: unregister a video device factory from the video device subsystem. */ -PJ_DEF(pj_status_t) -pjmedia_vid_unregister_factory(pjmedia_vid_dev_factory_create_func_ptr adf, - pjmedia_vid_dev_factory *factory) -{ - unsigned i, j; - - if (vid_subsys.init_count == 0) - return PJMEDIA_EVID_INIT; - - for (i=0; if==factory) || (adf && drv->create == adf)) { - for (j = drv->start_idx; j < drv->start_idx + drv->dev_cnt; j++) - { - vid_subsys.dev_list[j] = (pj_uint32_t)PJMEDIA_VID_INVALID_DEV; - } - - deinit_driver(i); - pj_bzero(drv, sizeof(*drv)); - return PJ_SUCCESS; - } - } - - return PJMEDIA_EVID_ERR; -} - -/* API: get the pool factory registered to the video device subsystem. */ -PJ_DEF(pj_pool_factory*) pjmedia_vid_dev_subsys_get_pool_factory(void) -{ - return vid_subsys.pf; -} - -/* API: Shutdown the video device subsystem. */ -PJ_DEF(pj_status_t) pjmedia_vid_dev_subsys_shutdown(void) -{ - unsigned i; - - /* Allow shutdown() to be called multiple times as long as there is - * matching number of init(). - */ - if (vid_subsys.init_count == 0) { - return PJ_SUCCESS; - } - --vid_subsys.init_count; - - if (vid_subsys.init_count == 0) { - for (i=0; if && drv->f->op->refresh) { - pj_status_t status = drv->f->op->refresh(drv->f); - if (status != PJ_SUCCESS) { - PJ_PERROR(4, (THIS_FILE, status, "Unable to refresh device " - "list for %s", drv->name)); - } - } - init_driver(i, PJ_TRUE); - } - return PJ_SUCCESS; -} - -/* API: Get the number of video devices installed in the system. */ -PJ_DEF(unsigned) pjmedia_vid_dev_count(void) -{ - return vid_subsys.dev_cnt; -} - -/* Internal: convert local index to global device index */ -static pj_status_t make_global_index(unsigned drv_idx, - pjmedia_vid_dev_index *id) -{ - if (*id < 0) { - return PJ_SUCCESS; - } - - /* Check that factory still exists */ - PJ_ASSERT_RETURN(vid_subsys.drv[drv_idx].f, PJ_EBUG); - - /* Check that device index is valid */ - PJ_ASSERT_RETURN(*id>=0 && *id<(int)vid_subsys.drv[drv_idx].dev_cnt, - PJ_EBUG); - - *id += vid_subsys.drv[drv_idx].start_idx; - return PJ_SUCCESS; -} - -/* Internal: lookup device id */ -static pj_status_t lookup_dev(pjmedia_vid_dev_index id, - pjmedia_vid_dev_factory **p_f, - unsigned *p_local_index) -{ - int f_id, index; - - if (id < 0) { - unsigned i; - - if (id <= PJMEDIA_VID_INVALID_DEV) - return PJMEDIA_EVID_INVDEV; - - for (i=0; icap_dev_idx >= 0) - { - id = drv->cap_dev_idx; - make_global_index(i, &id); - break; - } else if (id==PJMEDIA_VID_DEFAULT_RENDER_DEV && - drv->rend_dev_idx >= 0) - { - id = drv->rend_dev_idx; - make_global_index(i, &id); - break; - } - } - - if (id < 0) { - return PJMEDIA_EVID_NODEFDEV; - } - } - - f_id = GET_FID(vid_subsys.dev_list[id]); - index = GET_INDEX(vid_subsys.dev_list[id]); - - if (f_id < 0 || f_id >= (int)vid_subsys.drv_cnt) - return PJMEDIA_EVID_INVDEV; - - if (index < 0 || index >= (int)vid_subsys.drv[f_id].dev_cnt) - return PJMEDIA_EVID_INVDEV; - - *p_f = vid_subsys.drv[f_id].f; - *p_local_index = (unsigned)index; - - return PJ_SUCCESS; - -} - -/* API: lookup device id */ -PJ_DEF(pj_status_t) -pjmedia_vid_dev_get_local_index(pjmedia_vid_dev_index id, - pjmedia_vid_dev_factory **p_f, - unsigned *p_local_index) -{ - return lookup_dev(id, p_f, p_local_index); -} - -/* API: from factory and local index, get global index */ -PJ_DEF(pj_status_t) -pjmedia_vid_dev_get_global_index(const pjmedia_vid_dev_factory *f, - unsigned local_idx, - pjmedia_vid_dev_index *pid) -{ - PJ_ASSERT_RETURN(f->sys.drv_idx >= 0 && f->sys.drv_idx < MAX_DRIVERS, - PJ_EINVALIDOP); - *pid = local_idx; - return make_global_index(f->sys.drv_idx, pid); -} - -/* API: Get device information. */ -PJ_DEF(pj_status_t) pjmedia_vid_dev_get_info(pjmedia_vid_dev_index id, - pjmedia_vid_dev_info *info) -{ - pjmedia_vid_dev_factory *f; - unsigned index; - pj_status_t status; - - PJ_ASSERT_RETURN(info, PJ_EINVAL); - PJ_ASSERT_RETURN(vid_subsys.pf, PJMEDIA_EVID_INIT); - - if (id <= PJMEDIA_VID_INVALID_DEV) - return PJMEDIA_EVID_INVDEV; - - status = lookup_dev(id, &f, &index); - if (status != PJ_SUCCESS) - return status; - - status = f->op->get_dev_info(f, index, info); - - /* Make sure device ID is the real ID (not PJMEDIA_VID_DEFAULT_*_DEV) */ - info->id = index; - make_global_index(f->sys.drv_idx, &info->id); - - return status; -} - -/* API: find device */ -PJ_DEF(pj_status_t) pjmedia_vid_dev_lookup( const char *drv_name, - const char *dev_name, - pjmedia_vid_dev_index *id) -{ - pjmedia_vid_dev_factory *f = NULL; - unsigned drv_idx, dev_idx; - - PJ_ASSERT_RETURN(drv_name && dev_name && id, PJ_EINVAL); - PJ_ASSERT_RETURN(vid_subsys.pf, PJMEDIA_EVID_INIT); - - for (drv_idx=0; drv_idxop->get_dev_info(f, dev_idx, &info); - if (status != PJ_SUCCESS) - return status; - - if (!pj_ansi_stricmp(dev_name, info.name)) - break; - } - - if (dev_idx==vid_subsys.drv[drv_idx].dev_cnt) - return PJ_ENOTFOUND; - - *id = dev_idx; - make_global_index(drv_idx, id); - - return PJ_SUCCESS; -} - -/* API: Initialize the video device parameters with default values for the - * specified device. - */ -PJ_DEF(pj_status_t) pjmedia_vid_dev_default_param(pj_pool_t *pool, - pjmedia_vid_dev_index id, - pjmedia_vid_dev_param *param) -{ - pjmedia_vid_dev_factory *f; - unsigned index; - pj_status_t status; - - PJ_ASSERT_RETURN(param, PJ_EINVAL); - PJ_ASSERT_RETURN(vid_subsys.pf, PJMEDIA_EVID_INIT); - - if (id <= PJMEDIA_VID_INVALID_DEV) - return PJMEDIA_EVID_INVDEV; - - status = lookup_dev(id, &f, &index); - if (status != PJ_SUCCESS) - return status; - - status = f->op->default_param(pool, f, index, param); - if (status != PJ_SUCCESS) - return status; - - /* Normalize device IDs */ - make_global_index(f->sys.drv_idx, ¶m->cap_id); - make_global_index(f->sys.drv_idx, ¶m->rend_id); - - return PJ_SUCCESS; -} - -/* API: Open video stream object using the specified parameters. */ -PJ_DEF(pj_status_t) pjmedia_vid_dev_stream_create( - pjmedia_vid_dev_param *prm, - const pjmedia_vid_dev_cb *cb, - void *user_data, - pjmedia_vid_dev_stream **p_vid_strm) -{ - pjmedia_vid_dev_factory *cap_f=NULL, *rend_f=NULL, *f=NULL; - pj_status_t status; - - PJ_ASSERT_RETURN(prm && prm->dir && p_vid_strm, PJ_EINVAL); - PJ_ASSERT_RETURN(vid_subsys.pf, PJMEDIA_EVID_INIT); - PJ_ASSERT_RETURN(prm->dir==PJMEDIA_DIR_CAPTURE || - prm->dir==PJMEDIA_DIR_RENDER || - prm->dir==PJMEDIA_DIR_CAPTURE_RENDER, - PJ_EINVAL); - - /* Normalize cap_id */ - if (prm->dir & PJMEDIA_DIR_CAPTURE) { - unsigned index; - - if (prm->cap_id < 0) - prm->cap_id = PJMEDIA_VID_DEFAULT_CAPTURE_DEV; - - status = lookup_dev(prm->cap_id, &cap_f, &index); - if (status != PJ_SUCCESS) - return status; - - prm->cap_id = index; - f = cap_f; - } - - /* Normalize rend_id */ - if (prm->dir & PJMEDIA_DIR_RENDER) { - unsigned index; - - if (prm->rend_id < 0) - prm->rend_id = PJMEDIA_VID_DEFAULT_RENDER_DEV; - - status = lookup_dev(prm->rend_id, &rend_f, &index); - if (status != PJ_SUCCESS) - return status; - - prm->rend_id = index; - f = rend_f; - } - - PJ_ASSERT_RETURN(f != NULL, PJ_EBUG); - - /* For now, cap_id and rend_id must belong to the same factory */ - PJ_ASSERT_RETURN((prm->dir != PJMEDIA_DIR_CAPTURE_RENDER) || - (cap_f == rend_f), - PJMEDIA_EVID_INVDEV); - - /* Create the stream */ - status = f->op->create_stream(f, prm, cb, - user_data, p_vid_strm); - if (status != PJ_SUCCESS) - return status; - - /* Assign factory id to the stream */ - (*p_vid_strm)->sys.drv_idx = f->sys.drv_idx; - return PJ_SUCCESS; -} - -/* API: Get the running parameters for the specified video stream. */ -PJ_DEF(pj_status_t) pjmedia_vid_dev_stream_get_param( - pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_param *param) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(strm && param, PJ_EINVAL); - PJ_ASSERT_RETURN(vid_subsys.pf, PJMEDIA_EVID_INIT); - - status = strm->op->get_param(strm, param); - if (status != PJ_SUCCESS) - return status; - - /* Normalize device id's */ - make_global_index(strm->sys.drv_idx, ¶m->cap_id); - make_global_index(strm->sys.drv_idx, ¶m->rend_id); - - return PJ_SUCCESS; -} - -/* API: Get the value of a specific capability of the video stream. */ -PJ_DEF(pj_status_t) pjmedia_vid_dev_stream_get_cap( - pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - void *value) -{ - return strm->op->get_cap(strm, cap, value); -} - -/* API: Set the value of a specific capability of the video stream. */ -PJ_DEF(pj_status_t) pjmedia_vid_dev_stream_set_cap( - pjmedia_vid_dev_stream *strm, - pjmedia_vid_dev_cap cap, - const void *value) -{ - return strm->op->set_cap(strm, cap, value); -} - -/* API: Start the stream. */ -PJ_DEF(pj_status_t) pjmedia_vid_dev_stream_start(pjmedia_vid_dev_stream *strm) -{ - pj_status_t status; - - if (pjmedia_vid_dev_stream_is_running(strm)) - return PJ_SUCCESS; - - status = strm->op->start(strm); - if (status == PJ_SUCCESS) - strm->sys.is_running = PJ_TRUE; - return status; -} - -/* API: has it been started? */ -PJ_DEF(pj_bool_t) -pjmedia_vid_dev_stream_is_running(pjmedia_vid_dev_stream *strm) -{ - return strm->sys.is_running; -} - -PJ_DEF(pj_status_t) pjmedia_vid_dev_stream_get_frame( - pjmedia_vid_dev_stream *strm, - pjmedia_frame *frame) -{ - pj_assert(strm->op->get_frame); - return strm->op->get_frame(strm, frame); -} - -PJ_DEF(pj_status_t) pjmedia_vid_dev_stream_put_frame( - pjmedia_vid_dev_stream *strm, - const pjmedia_frame *frame) -{ - pj_assert(strm->op->put_frame); - return strm->op->put_frame(strm, frame); -} - -/* API: Stop the stream. */ -PJ_DEF(pj_status_t) pjmedia_vid_dev_stream_stop(pjmedia_vid_dev_stream *strm) -{ - strm->sys.is_running = PJ_FALSE; - return strm->op->stop(strm); -} - -/* API: Destroy the stream. */ -PJ_DEF(pj_status_t) pjmedia_vid_dev_stream_destroy( - pjmedia_vid_dev_stream *strm) -{ - strm->sys.is_running = PJ_FALSE; - return strm->op->destroy(strm); -} - - -#endif /* PJMEDIA_HAS_VIDEO */ diff --git a/res/pjproject/pjmedia/src/pjmedia/alaw_ulaw.c b/res/pjproject/pjmedia/src/pjmedia/alaw_ulaw.c deleted file mode 100644 index 0a14de87f6..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/alaw_ulaw.c +++ /dev/null @@ -1,300 +0,0 @@ -/* - * This source code is a product of Sun Microsystems, Inc. and is provided - * for unrestricted use. Users may copy or modify this source code without - * charge. - * - * SUN SOURCE CODE IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING - * THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR - * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - * Sun source code is provided with no support and without any obligation on - * the part of Sun Microsystems, Inc. to assist in its use, correction, - * modification or enhancement. - * - * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE - * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY THIS SOFTWARE - * OR ANY PART THEREOF. - * - * In no event will Sun Microsystems, Inc. be liable for any lost revenue - * or profits or other special, indirect and consequential damages, even if - * Sun has been advised of the possibility of such damages. - * - * Sun Microsystems, Inc. - * 2550 Garcia Avenue - * Mountain View, California 94043 - */ -#include - -#if !defined(PJMEDIA_HAS_ALAW_ULAW_TABLE) || PJMEDIA_HAS_ALAW_ULAW_TABLE==0 - -#ifdef _MSC_VER -# pragma warning ( disable: 4244 ) /* Conversion from int to char etc */ -#endif - -/* - * g711.c - * - * u-law, A-law and linear PCM conversions. - */ -#define SIGN_BIT (0x80) /* Sign bit for a A-law byte. */ -#define QUANT_MASK (0xf) /* Quantization field mask. */ -#define NSEGS (8) /* Number of A-law segments. */ -#define SEG_SHIFT (4) /* Left shift for segment number. */ -#define SEG_MASK (0x70) /* Segment field mask. */ - -static short seg_end[8] = {0xFF, 0x1FF, 0x3FF, 0x7FF, - 0xFFF, 0x1FFF, 0x3FFF, 0x7FFF}; - -/* copy from CCITT G.711 specifications */ -static unsigned char _u2a[128] = { /* u- to A-law conversions */ - 1, 1, 2, 2, 3, 3, 4, 4, - 5, 5, 6, 6, 7, 7, 8, 8, - 9, 10, 11, 12, 13, 14, 15, 16, - 17, 18, 19, 20, 21, 22, 23, 24, - 25, 27, 29, 31, 33, 34, 35, 36, - 37, 38, 39, 40, 41, 42, 43, 44, - 46, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, - 64, 65, 66, 67, 68, 69, 70, 71, - 72, 73, 74, 75, 76, 77, 78, 79, - 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, - 97, 98, 99, 100, 101, 102, 103, 104, - 105, 106, 107, 108, 109, 110, 111, 112, - 113, 114, 115, 116, 117, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128}; - -static unsigned char _a2u[128] = { /* A- to u-law conversions */ - 1, 3, 5, 7, 9, 11, 13, 15, - 16, 17, 18, 19, 20, 21, 22, 23, - 24, 25, 26, 27, 28, 29, 30, 31, - 32, 32, 33, 33, 34, 34, 35, 35, - 36, 37, 38, 39, 40, 41, 42, 43, - 44, 45, 46, 47, 48, 48, 49, 49, - 50, 51, 52, 53, 54, 55, 56, 57, - 58, 59, 60, 61, 62, 63, 64, 64, - 65, 66, 67, 68, 69, 70, 71, 72, - 73, 74, 75, 76, 77, 78, 79, 79, - 80, 81, 82, 83, 84, 85, 86, 87, - 88, 89, 90, 91, 92, 93, 94, 95, - 96, 97, 98, 99, 100, 101, 102, 103, - 104, 105, 106, 107, 108, 109, 110, 111, - 112, 113, 114, 115, 116, 117, 118, 119, - 120, 121, 122, 123, 124, 125, 126, 127}; - -static int -search( - int val, - short *table, - int size) -{ - int i; - - for (i = 0; i < size; i++) { - if (val <= *table++) - return (i); - } - return (size); -} - -/* - * linear2alaw() - Convert a 16-bit linear PCM value to 8-bit A-law - * - * linear2alaw() accepts an 16-bit integer and encodes it as A-law data. - * - * Linear Input Code Compressed Code - * ------------------------ --------------- - * 0000000wxyza 000wxyz - * 0000001wxyza 001wxyz - * 000001wxyzab 010wxyz - * 00001wxyzabc 011wxyz - * 0001wxyzabcd 100wxyz - * 001wxyzabcde 101wxyz - * 01wxyzabcdef 110wxyz - * 1wxyzabcdefg 111wxyz - * - * For further information see John C. Bellamy's Digital Telephony, 1982, - * John Wiley & Sons, pps 98-111 and 472-476. - */ -PJ_DEF(pj_uint8_t) pjmedia_linear2alaw( - int pcm_val) /* 2's complement (16-bit range) */ -{ - int mask; - int seg; - unsigned char aval; - - if (pcm_val >= 0) { - mask = 0xD5; /* sign (7th) bit = 1 */ - } else { - mask = 0x55; /* sign bit = 0 */ - pcm_val = -pcm_val - 8; - - /* https://trac.pjsip.org/repos/ticket/1301 - * Thank you K Johnson - Zetron - 27 May 2011 - */ - if (pcm_val < 0) - pcm_val = 0; - } - - /* Convert the scaled magnitude to segment number. */ - seg = search(pcm_val, seg_end, 8); - - /* Combine the sign, segment, and quantization bits. */ - - if (seg >= 8) /* out of range, return maximum value. */ - return (0x7F ^ mask); - else { - aval = seg << SEG_SHIFT; - if (seg < 2) - aval |= (pcm_val >> 4) & QUANT_MASK; - else - aval |= (pcm_val >> (seg + 3)) & QUANT_MASK; - return (aval ^ mask); - } -} - -/* - * alaw2linear() - Convert an A-law value to 16-bit linear PCM - * - */ -PJ_DEF(int) pjmedia_alaw2linear( - unsigned a_val) -{ - int t; - int seg; - - a_val ^= 0x55; - - t = (a_val & QUANT_MASK) << 4; - seg = ((unsigned)a_val & SEG_MASK) >> SEG_SHIFT; - switch (seg) { - case 0: - t += 8; - break; - case 1: - t += 0x108; - break; - default: - t += 0x108; - t <<= seg - 1; - } - return ((a_val & SIGN_BIT) ? t : -t); -} - -#define BIAS (0x84) /* Bias for linear code. */ - -/* - * linear2ulaw() - Convert a linear PCM value to u-law - * - * In order to simplify the encoding process, the original linear magnitude - * is biased by adding 33 which shifts the encoding range from (0 - 8158) to - * (33 - 8191). The result can be seen in the following encoding table: - * - * Biased Linear Input Code Compressed Code - * ------------------------ --------------- - * 00000001wxyza 000wxyz - * 0000001wxyzab 001wxyz - * 000001wxyzabc 010wxyz - * 00001wxyzabcd 011wxyz - * 0001wxyzabcde 100wxyz - * 001wxyzabcdef 101wxyz - * 01wxyzabcdefg 110wxyz - * 1wxyzabcdefgh 111wxyz - * - * Each biased linear code has a leading 1 which identifies the segment - * number. The value of the segment number is equal to 7 minus the number - * of leading 0's. The quantization interval is directly available as the - * four bits wxyz. * The trailing bits (a - h) are ignored. - * - * Ordinarily the complement of the resulting code word is used for - * transmission, and so the code word is complemented before it is returned. - * - * For further information see John C. Bellamy's Digital Telephony, 1982, - * John Wiley & Sons, pps 98-111 and 472-476. - */ -PJ_DEF(unsigned char) pjmedia_linear2ulaw( - int pcm_val) /* 2's complement (16-bit range) */ -{ - int mask; - int seg; - unsigned char uval; - - /* Get the sign and the magnitude of the value. */ - if (pcm_val < 0) { - pcm_val = BIAS - pcm_val; - mask = 0x7F; - } else { - pcm_val += BIAS; - mask = 0xFF; - } - - /* Convert the scaled magnitude to segment number. */ - seg = search(pcm_val, seg_end, 8); - - /* - * Combine the sign, segment, quantization bits; - * and complement the code word. - */ - if (seg >= 8) /* out of range, return maximum value. */ - return (0x7F ^ mask); - else { - uval = (seg << 4) | ((pcm_val >> (seg + 3)) & 0xF); - return (uval ^ mask); - } - -} - -/* - * ulaw2linear() - Convert a u-law value to 16-bit linear PCM - * - * First, a biased linear code is derived from the code word. An unbiased - * output can then be obtained by subtracting 33 from the biased code. - * - * Note that this function expects to be passed the complement of the - * original code word. This is in keeping with ISDN conventions. - */ -PJ_DEF(int) pjmedia_ulaw2linear( - unsigned char u_val) -{ - int t; - - /* Shortcut: when input is zero, output is zero - * This will also make the VAD works harder. - * -bennylp - */ - if (u_val == 0) return 0; - - /* Complement to obtain normal u-law value. */ - u_val = ~u_val; - - /* - * Extract and bias the quantization bits. Then - * shift up by the segment number and subtract out the bias. - */ - t = ((u_val & QUANT_MASK) << 3) + BIAS; - t <<= ((unsigned)u_val & SEG_MASK) >> SEG_SHIFT; - - return ((u_val & SIGN_BIT) ? (BIAS - t) : (t - BIAS)); -} - -/* A-law to u-law conversion */ -PJ_DEF(unsigned char) pjmedia_alaw2ulaw( - unsigned char aval) -{ - aval &= 0xff; - return ((aval & 0x80) ? (0xFF ^ _a2u[aval ^ 0xD5]) : - (0x7F ^ _a2u[aval ^ 0x55])); -} - -/* u-law to A-law conversion */ -PJ_DEF(unsigned char) pjmedia_ulaw2alaw( - unsigned char uval) -{ - uval &= 0xff; - return ((uval & 0x80) ? (0xD5 ^ (_u2a[0xFF ^ uval] - 1)) : - (0x55 ^ (_u2a[0x7F ^ uval] - 1))); -} - - -#endif /* PJMEDIA_HAS_ALAW_ULAW_TABLE */ - diff --git a/res/pjproject/pjmedia/src/pjmedia/alaw_ulaw_table.c b/res/pjproject/pjmedia/src/pjmedia/alaw_ulaw_table.c deleted file mode 100644 index 14306edba7..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/alaw_ulaw_table.c +++ /dev/null @@ -1,4207 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * The tables here and also the conversion ideas are contributed by - * Toni Rutar . Many thanks! - */ -#include - -#if defined(PJMEDIA_HAS_ALAW_ULAW_TABLE) && PJMEDIA_HAS_ALAW_ULAW_TABLE!=0 - -const pj_uint8_t pjmedia_linear2ulaw_tab[16384] = -{ - 0xff,0xfe,0xfe,0xfd,0xfd,0xfc,0xfc,0xfb, - 0xfb,0xfa,0xfa,0xf9,0xf9,0xf8,0xf8,0xf7, - 0xf7,0xf6,0xf6,0xf5,0xf5,0xf4,0xf4,0xf3, - 0xf3,0xf2,0xf2,0xf1,0xf1,0xf0,0xf0,0xef, - 0xef,0xef,0xef,0xee,0xee,0xee,0xee,0xed, - 0xed,0xed,0xed,0xec,0xec,0xec,0xec,0xeb, - 0xeb,0xeb,0xeb,0xea,0xea,0xea,0xea,0xe9, - 0xe9,0xe9,0xe9,0xe8,0xe8,0xe8,0xe8,0xe7, - 0xe7,0xe7,0xe7,0xe6,0xe6,0xe6,0xe6,0xe5, - 0xe5,0xe5,0xe5,0xe4,0xe4,0xe4,0xe4,0xe3, - 0xe3,0xe3,0xe3,0xe2,0xe2,0xe2,0xe2,0xe1, - 0xe1,0xe1,0xe1,0xe0,0xe0,0xe0,0xe0,0xdf, - 0xdf,0xdf,0xdf,0xdf,0xdf,0xdf,0xdf,0xde, - 0xde,0xde,0xde,0xde,0xde,0xde,0xde,0xdd, - 0xdd,0xdd,0xdd,0xdd,0xdd,0xdd,0xdd,0xdc, - 0xdc,0xdc,0xdc,0xdc,0xdc,0xdc,0xdc,0xdb, - 0xdb,0xdb,0xdb,0xdb,0xdb,0xdb,0xdb,0xda, - 0xda,0xda,0xda,0xda,0xda,0xda,0xda,0xd9, - 0xd9,0xd9,0xd9,0xd9,0xd9,0xd9,0xd9,0xd8, - 0xd8,0xd8,0xd8,0xd8,0xd8,0xd8,0xd8,0xd7, - 0xd7,0xd7,0xd7,0xd7,0xd7,0xd7,0xd7,0xd6, - 0xd6,0xd6,0xd6,0xd6,0xd6,0xd6,0xd6,0xd5, - 0xd5,0xd5,0xd5,0xd5,0xd5,0xd5,0xd5,0xd4, - 0xd4,0xd4,0xd4,0xd4,0xd4,0xd4,0xd4,0xd3, - 0xd3,0xd3,0xd3,0xd3,0xd3,0xd3,0xd3,0xd2, - 0xd2,0xd2,0xd2,0xd2,0xd2,0xd2,0xd2,0xd1, - 0xd1,0xd1,0xd1,0xd1,0xd1,0xd1,0xd1,0xd0, - 0xd0,0xd0,0xd0,0xd0,0xd0,0xd0,0xd0,0xcf, - 0xcf,0xcf,0xcf,0xcf,0xcf,0xcf,0xcf,0xcf, - 0xcf,0xcf,0xcf,0xcf,0xcf,0xcf,0xcf,0xce, - 0xce,0xce,0xce,0xce,0xce,0xce,0xce,0xce, - 0xce,0xce,0xce,0xce,0xce,0xce,0xce,0xcd, - 0xcd,0xcd,0xcd,0xcd,0xcd,0xcd,0xcd,0xcd, - 0xcd,0xcd,0xcd,0xcd,0xcd,0xcd,0xcd,0xcc, - 0xcc,0xcc,0xcc,0xcc,0xcc,0xcc,0xcc,0xcc, - 0xcc,0xcc,0xcc,0xcc,0xcc,0xcc,0xcc,0xcb, - 0xcb,0xcb,0xcb,0xcb,0xcb,0xcb,0xcb,0xcb, - 0xcb,0xcb,0xcb,0xcb,0xcb,0xcb,0xcb,0xca, - 0xca,0xca,0xca,0xca,0xca,0xca,0xca,0xca, - 0xca,0xca,0xca,0xca,0xca,0xca,0xca,0xc9, - 0xc9,0xc9,0xc9,0xc9,0xc9,0xc9,0xc9,0xc9, - 0xc9,0xc9,0xc9,0xc9,0xc9,0xc9,0xc9,0xc8, - 0xc8,0xc8,0xc8,0xc8,0xc8,0xc8,0xc8,0xc8, - 0xc8,0xc8,0xc8,0xc8,0xc8,0xc8,0xc8,0xc7, - 0xc7,0xc7,0xc7,0xc7,0xc7,0xc7,0xc7,0xc7, - 0xc7,0xc7,0xc7,0xc7,0xc7,0xc7,0xc7,0xc6, - 0xc6,0xc6,0xc6,0xc6,0xc6,0xc6,0xc6,0xc6, - 0xc6,0xc6,0xc6,0xc6,0xc6,0xc6,0xc6,0xc5, - 0xc5,0xc5,0xc5,0xc5,0xc5,0xc5,0xc5,0xc5, - 0xc5,0xc5,0xc5,0xc5,0xc5,0xc5,0xc5,0xc4, - 0xc4,0xc4,0xc4,0xc4,0xc4,0xc4,0xc4,0xc4, - 0xc4,0xc4,0xc4,0xc4,0xc4,0xc4,0xc4,0xc3, - 0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3, - 0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc2, - 0xc2,0xc2,0xc2,0xc2,0xc2,0xc2,0xc2,0xc2, - 0xc2,0xc2,0xc2,0xc2,0xc2,0xc2,0xc2,0xc1, - 0xc1,0xc1,0xc1,0xc1,0xc1,0xc1,0xc1,0xc1, - 0xc1,0xc1,0xc1,0xc1,0xc1,0xc1,0xc1,0xc0, - 0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0, - 0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xbf, - 0xbf,0xbf,0xbf,0xbf,0xbf,0xbf,0xbf,0xbf, - 0xbf,0xbf,0xbf,0xbf,0xbf,0xbf,0xbf,0xbf, - 0xbf,0xbf,0xbf,0xbf,0xbf,0xbf,0xbf,0xbf, - 0xbf,0xbf,0xbf,0xbf,0xbf,0xbf,0xbf,0xbe, - 0xbe,0xbe,0xbe,0xbe,0xbe,0xbe,0xbe,0xbe, - 0xbe,0xbe,0xbe,0xbe,0xbe,0xbe,0xbe,0xbe, - 0xbe,0xbe,0xbe,0xbe,0xbe,0xbe,0xbe,0xbe, - 0xbe,0xbe,0xbe,0xbe,0xbe,0xbe,0xbe,0xbd, - 0xbd,0xbd,0xbd,0xbd,0xbd,0xbd,0xbd,0xbd, - 0xbd,0xbd,0xbd,0xbd,0xbd,0xbd,0xbd,0xbd, - 0xbd,0xbd,0xbd,0xbd,0xbd,0xbd,0xbd,0xbd, - 0xbd,0xbd,0xbd,0xbd,0xbd,0xbd,0xbd,0xbc, - 0xbc,0xbc,0xbc,0xbc,0xbc,0xbc,0xbc,0xbc, - 0xbc,0xbc,0xbc,0xbc,0xbc,0xbc,0xbc,0xbc, - 0xbc,0xbc,0xbc,0xbc,0xbc,0xbc,0xbc,0xbc, - 0xbc,0xbc,0xbc,0xbc,0xbc,0xbc,0xbc,0xbb, - 0xbb,0xbb,0xbb,0xbb,0xbb,0xbb,0xbb,0xbb, - 0xbb,0xbb,0xbb,0xbb,0xbb,0xbb,0xbb,0xbb, - 0xbb,0xbb,0xbb,0xbb,0xbb,0xbb,0xbb,0xbb, - 0xbb,0xbb,0xbb,0xbb,0xbb,0xbb,0xbb,0xba, - 0xba,0xba,0xba,0xba,0xba,0xba,0xba,0xba, - 0xba,0xba,0xba,0xba,0xba,0xba,0xba,0xba, - 0xba,0xba,0xba,0xba,0xba,0xba,0xba,0xba, - 0xba,0xba,0xba,0xba,0xba,0xba,0xba,0xb9, - 0xb9,0xb9,0xb9,0xb9,0xb9,0xb9,0xb9,0xb9, - 0xb9,0xb9,0xb9,0xb9,0xb9,0xb9,0xb9,0xb9, - 0xb9,0xb9,0xb9,0xb9,0xb9,0xb9,0xb9,0xb9, - 0xb9,0xb9,0xb9,0xb9,0xb9,0xb9,0xb9,0xb8, - 0xb8,0xb8,0xb8,0xb8,0xb8,0xb8,0xb8,0xb8, - 0xb8,0xb8,0xb8,0xb8,0xb8,0xb8,0xb8,0xb8, - 0xb8,0xb8,0xb8,0xb8,0xb8,0xb8,0xb8,0xb8, - 0xb8,0xb8,0xb8,0xb8,0xb8,0xb8,0xb8,0xb7, - 0xb7,0xb7,0xb7,0xb7,0xb7,0xb7,0xb7,0xb7, - 0xb7,0xb7,0xb7,0xb7,0xb7,0xb7,0xb7,0xb7, - 0xb7,0xb7,0xb7,0xb7,0xb7,0xb7,0xb7,0xb7, - 0xb7,0xb7,0xb7,0xb7,0xb7,0xb7,0xb7,0xb6, - 0xb6,0xb6,0xb6,0xb6,0xb6,0xb6,0xb6,0xb6, - 0xb6,0xb6,0xb6,0xb6,0xb6,0xb6,0xb6,0xb6, - 0xb6,0xb6,0xb6,0xb6,0xb6,0xb6,0xb6,0xb6, - 0xb6,0xb6,0xb6,0xb6,0xb6,0xb6,0xb6,0xb5, - 0xb5,0xb5,0xb5,0xb5,0xb5,0xb5,0xb5,0xb5, - 0xb5,0xb5,0xb5,0xb5,0xb5,0xb5,0xb5,0xb5, - 0xb5,0xb5,0xb5,0xb5,0xb5,0xb5,0xb5,0xb5, - 0xb5,0xb5,0xb5,0xb5,0xb5,0xb5,0xb5,0xb4, - 0xb4,0xb4,0xb4,0xb4,0xb4,0xb4,0xb4,0xb4, - 0xb4,0xb4,0xb4,0xb4,0xb4,0xb4,0xb4,0xb4, - 0xb4,0xb4,0xb4,0xb4,0xb4,0xb4,0xb4,0xb4, - 0xb4,0xb4,0xb4,0xb4,0xb4,0xb4,0xb4,0xb3, - 0xb3,0xb3,0xb3,0xb3,0xb3,0xb3,0xb3,0xb3, - 0xb3,0xb3,0xb3,0xb3,0xb3,0xb3,0xb3,0xb3, - 0xb3,0xb3,0xb3,0xb3,0xb3,0xb3,0xb3,0xb3, - 0xb3,0xb3,0xb3,0xb3,0xb3,0xb3,0xb3,0xb2, - 0xb2,0xb2,0xb2,0xb2,0xb2,0xb2,0xb2,0xb2, - 0xb2,0xb2,0xb2,0xb2,0xb2,0xb2,0xb2,0xb2, - 0xb2,0xb2,0xb2,0xb2,0xb2,0xb2,0xb2,0xb2, - 0xb2,0xb2,0xb2,0xb2,0xb2,0xb2,0xb2,0xb1, - 0xb1,0xb1,0xb1,0xb1,0xb1,0xb1,0xb1,0xb1, - 0xb1,0xb1,0xb1,0xb1,0xb1,0xb1,0xb1,0xb1, - 0xb1,0xb1,0xb1,0xb1,0xb1,0xb1,0xb1,0xb1, - 0xb1,0xb1,0xb1,0xb1,0xb1,0xb1,0xb1,0xb0, - 0xb0,0xb0,0xb0,0xb0,0xb0,0xb0,0xb0,0xb0, - 0xb0,0xb0,0xb0,0xb0,0xb0,0xb0,0xb0,0xb0, - 0xb0,0xb0,0xb0,0xb0,0xb0,0xb0,0xb0,0xb0, - 0xb0,0xb0,0xb0,0xb0,0xb0,0xb0,0xb0,0xaf, - 0xaf,0xaf,0xaf,0xaf,0xaf,0xaf,0xaf,0xaf, - 0xaf,0xaf,0xaf,0xaf,0xaf,0xaf,0xaf,0xaf, - 0xaf,0xaf,0xaf,0xaf,0xaf,0xaf,0xaf,0xaf, - 0xaf,0xaf,0xaf,0xaf,0xaf,0xaf,0xaf,0xaf, - 0xaf,0xaf,0xaf,0xaf,0xaf,0xaf,0xaf,0xaf, - 0xaf,0xaf,0xaf,0xaf,0xaf,0xaf,0xaf,0xaf, - 0xaf,0xaf,0xaf,0xaf,0xaf,0xaf,0xaf,0xaf, - 0xaf,0xaf,0xaf,0xaf,0xaf,0xaf,0xaf,0xae, - 0xae,0xae,0xae,0xae,0xae,0xae,0xae,0xae, - 0xae,0xae,0xae,0xae,0xae,0xae,0xae,0xae, - 0xae,0xae,0xae,0xae,0xae,0xae,0xae,0xae, - 0xae,0xae,0xae,0xae,0xae,0xae,0xae,0xae, - 0xae,0xae,0xae,0xae,0xae,0xae,0xae,0xae, - 0xae,0xae,0xae,0xae,0xae,0xae,0xae,0xae, - 0xae,0xae,0xae,0xae,0xae,0xae,0xae,0xae, - 0xae,0xae,0xae,0xae,0xae,0xae,0xae,0xad, - 0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad, - 0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad, - 0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad, - 0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad, - 0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad, - 0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad, - 0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xad, - 0xad,0xad,0xad,0xad,0xad,0xad,0xad,0xac, - 0xac,0xac,0xac,0xac,0xac,0xac,0xac,0xac, - 0xac,0xac,0xac,0xac,0xac,0xac,0xac,0xac, - 0xac,0xac,0xac,0xac,0xac,0xac,0xac,0xac, - 0xac,0xac,0xac,0xac,0xac,0xac,0xac,0xac, - 0xac,0xac,0xac,0xac,0xac,0xac,0xac,0xac, - 0xac,0xac,0xac,0xac,0xac,0xac,0xac,0xac, - 0xac,0xac,0xac,0xac,0xac,0xac,0xac,0xac, - 0xac,0xac,0xac,0xac,0xac,0xac,0xac,0xab, - 0xab,0xab,0xab,0xab,0xab,0xab,0xab,0xab, - 0xab,0xab,0xab,0xab,0xab,0xab,0xab,0xab, - 0xab,0xab,0xab,0xab,0xab,0xab,0xab,0xab, - 0xab,0xab,0xab,0xab,0xab,0xab,0xab,0xab, - 0xab,0xab,0xab,0xab,0xab,0xab,0xab,0xab, - 0xab,0xab,0xab,0xab,0xab,0xab,0xab,0xab, - 0xab,0xab,0xab,0xab,0xab,0xab,0xab,0xab, - 0xab,0xab,0xab,0xab,0xab,0xab,0xab,0xaa, - 0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa, - 0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa, - 0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa, - 0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa, - 0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa, - 0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa, - 0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa, - 0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xaa,0xa9, - 0xa9,0xa9,0xa9,0xa9,0xa9,0xa9,0xa9,0xa9, - 0xa9,0xa9,0xa9,0xa9,0xa9,0xa9,0xa9,0xa9, - 0xa9,0xa9,0xa9,0xa9,0xa9,0xa9,0xa9,0xa9, - 0xa9,0xa9,0xa9,0xa9,0xa9,0xa9,0xa9,0xa9, - 0xa9,0xa9,0xa9,0xa9,0xa9,0xa9,0xa9,0xa9, - 0xa9,0xa9,0xa9,0xa9,0xa9,0xa9,0xa9,0xa9, - 0xa9,0xa9,0xa9,0xa9,0xa9,0xa9,0xa9,0xa9, - 0xa9,0xa9,0xa9,0xa9,0xa9,0xa9,0xa9,0xa8, - 0xa8,0xa8,0xa8,0xa8,0xa8,0xa8,0xa8,0xa8, - 0xa8,0xa8,0xa8,0xa8,0xa8,0xa8,0xa8,0xa8, - 0xa8,0xa8,0xa8,0xa8,0xa8,0xa8,0xa8,0xa8, - 0xa8,0xa8,0xa8,0xa8,0xa8,0xa8,0xa8,0xa8, - 0xa8,0xa8,0xa8,0xa8,0xa8,0xa8,0xa8,0xa8, - 0xa8,0xa8,0xa8,0xa8,0xa8,0xa8,0xa8,0xa8, - 0xa8,0xa8,0xa8,0xa8,0xa8,0xa8,0xa8,0xa8, - 0xa8,0xa8,0xa8,0xa8,0xa8,0xa8,0xa8,0xa7, - 0xa7,0xa7,0xa7,0xa7,0xa7,0xa7,0xa7,0xa7, - 0xa7,0xa7,0xa7,0xa7,0xa7,0xa7,0xa7,0xa7, - 0xa7,0xa7,0xa7,0xa7,0xa7,0xa7,0xa7,0xa7, - 0xa7,0xa7,0xa7,0xa7,0xa7,0xa7,0xa7,0xa7, - 0xa7,0xa7,0xa7,0xa7,0xa7,0xa7,0xa7,0xa7, - 0xa7,0xa7,0xa7,0xa7,0xa7,0xa7,0xa7,0xa7, - 0xa7,0xa7,0xa7,0xa7,0xa7,0xa7,0xa7,0xa7, - 0xa7,0xa7,0xa7,0xa7,0xa7,0xa7,0xa7,0xa6, - 0xa6,0xa6,0xa6,0xa6,0xa6,0xa6,0xa6,0xa6, - 0xa6,0xa6,0xa6,0xa6,0xa6,0xa6,0xa6,0xa6, - 0xa6,0xa6,0xa6,0xa6,0xa6,0xa6,0xa6,0xa6, - 0xa6,0xa6,0xa6,0xa6,0xa6,0xa6,0xa6,0xa6, - 0xa6,0xa6,0xa6,0xa6,0xa6,0xa6,0xa6,0xa6, - 0xa6,0xa6,0xa6,0xa6,0xa6,0xa6,0xa6,0xa6, - 0xa6,0xa6,0xa6,0xa6,0xa6,0xa6,0xa6,0xa6, - 0xa6,0xa6,0xa6,0xa6,0xa6,0xa6,0xa6,0xa5, - 0xa5,0xa5,0xa5,0xa5,0xa5,0xa5,0xa5,0xa5, - 0xa5,0xa5,0xa5,0xa5,0xa5,0xa5,0xa5,0xa5, - 0xa5,0xa5,0xa5,0xa5,0xa5,0xa5,0xa5,0xa5, - 0xa5,0xa5,0xa5,0xa5,0xa5,0xa5,0xa5,0xa5, - 0xa5,0xa5,0xa5,0xa5,0xa5,0xa5,0xa5,0xa5, - 0xa5,0xa5,0xa5,0xa5,0xa5,0xa5,0xa5,0xa5, - 0xa5,0xa5,0xa5,0xa5,0xa5,0xa5,0xa5,0xa5, - 0xa5,0xa5,0xa5,0xa5,0xa5,0xa5,0xa5,0xa4, - 0xa4,0xa4,0xa4,0xa4,0xa4,0xa4,0xa4,0xa4, - 0xa4,0xa4,0xa4,0xa4,0xa4,0xa4,0xa4,0xa4, - 0xa4,0xa4,0xa4,0xa4,0xa4,0xa4,0xa4,0xa4, - 0xa4,0xa4,0xa4,0xa4,0xa4,0xa4,0xa4,0xa4, - 0xa4,0xa4,0xa4,0xa4,0xa4,0xa4,0xa4,0xa4, - 0xa4,0xa4,0xa4,0xa4,0xa4,0xa4,0xa4,0xa4, - 0xa4,0xa4,0xa4,0xa4,0xa4,0xa4,0xa4,0xa4, - 0xa4,0xa4,0xa4,0xa4,0xa4,0xa4,0xa4,0xa3, - 0xa3,0xa3,0xa3,0xa3,0xa3,0xa3,0xa3,0xa3, - 0xa3,0xa3,0xa3,0xa3,0xa3,0xa3,0xa3,0xa3, - 0xa3,0xa3,0xa3,0xa3,0xa3,0xa3,0xa3,0xa3, - 0xa3,0xa3,0xa3,0xa3,0xa3,0xa3,0xa3,0xa3, - 0xa3,0xa3,0xa3,0xa3,0xa3,0xa3,0xa3,0xa3, - 0xa3,0xa3,0xa3,0xa3,0xa3,0xa3,0xa3,0xa3, - 0xa3,0xa3,0xa3,0xa3,0xa3,0xa3,0xa3,0xa3, - 0xa3,0xa3,0xa3,0xa3,0xa3,0xa3,0xa3,0xa2, - 0xa2,0xa2,0xa2,0xa2,0xa2,0xa2,0xa2,0xa2, - 0xa2,0xa2,0xa2,0xa2,0xa2,0xa2,0xa2,0xa2, - 0xa2,0xa2,0xa2,0xa2,0xa2,0xa2,0xa2,0xa2, - 0xa2,0xa2,0xa2,0xa2,0xa2,0xa2,0xa2,0xa2, - 0xa2,0xa2,0xa2,0xa2,0xa2,0xa2,0xa2,0xa2, - 0xa2,0xa2,0xa2,0xa2,0xa2,0xa2,0xa2,0xa2, - 0xa2,0xa2,0xa2,0xa2,0xa2,0xa2,0xa2,0xa2, - 0xa2,0xa2,0xa2,0xa2,0xa2,0xa2,0xa2,0xa1, - 0xa1,0xa1,0xa1,0xa1,0xa1,0xa1,0xa1,0xa1, - 0xa1,0xa1,0xa1,0xa1,0xa1,0xa1,0xa1,0xa1, - 0xa1,0xa1,0xa1,0xa1,0xa1,0xa1,0xa1,0xa1, - 0xa1,0xa1,0xa1,0xa1,0xa1,0xa1,0xa1,0xa1, - 0xa1,0xa1,0xa1,0xa1,0xa1,0xa1,0xa1,0xa1, - 0xa1,0xa1,0xa1,0xa1,0xa1,0xa1,0xa1,0xa1, - 0xa1,0xa1,0xa1,0xa1,0xa1,0xa1,0xa1,0xa1, - 0xa1,0xa1,0xa1,0xa1,0xa1,0xa1,0xa1,0xa0, - 0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0, - 0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0, - 0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0, - 0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0, - 0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0, - 0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0, - 0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0, - 0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0xa0,0x9f, - 0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f, - 0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f, - 0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f, - 0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f, - 0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f, - 0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f, - 0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f, - 0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f, - 0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f, - 0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f, - 0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f, - 0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f, - 0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f, - 0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f, - 0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f, - 0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9e, - 0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e, - 0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e, - 0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e, - 0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e, - 0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e, - 0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e, - 0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e, - 0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e, - 0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e, - 0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e, - 0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e, - 0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e, - 0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e, - 0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e, - 0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e, - 0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9e,0x9d, - 0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d, - 0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d, - 0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d, - 0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d, - 0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d, - 0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d, - 0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d, - 0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d, - 0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d, - 0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d, - 0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d, - 0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d, - 0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d, - 0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d, - 0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d, - 0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9d,0x9c, - 0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c, - 0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c, - 0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c, - 0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c, - 0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c, - 0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c, - 0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c, - 0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c, - 0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c, - 0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c, - 0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c, - 0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c, - 0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c, - 0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c, - 0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c, - 0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9c,0x9b, - 0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b, - 0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b, - 0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b, - 0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b, - 0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b, - 0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b, - 0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b, - 0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b, - 0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b, - 0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b, - 0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b, - 0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b, - 0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b, - 0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b, - 0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b, - 0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9b,0x9a, - 0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a, - 0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a, - 0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a, - 0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a, - 0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a, - 0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a, - 0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a, - 0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a, - 0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a, - 0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a, - 0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a, - 0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a, - 0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a, - 0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a, - 0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a, - 0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x9a,0x99, - 0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99, - 0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99, - 0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99, - 0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99, - 0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99, - 0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99, - 0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99, - 0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99, - 0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99, - 0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99, - 0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99, - 0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99, - 0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99, - 0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99, - 0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99, - 0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x98, - 0x98,0x98,0x98,0x98,0x98,0x98,0x98,0x98, - 0x98,0x98,0x98,0x98,0x98,0x98,0x98,0x98, - 0x98,0x98,0x98,0x98,0x98,0x98,0x98,0x98, - 0x98,0x98,0x98,0x98,0x98,0x98,0x98,0x98, - 0x98,0x98,0x98,0x98,0x98,0x98,0x98,0x98, - 0x98,0x98,0x98,0x98,0x98,0x98,0x98,0x98, - 0x98,0x98,0x98,0x98,0x98,0x98,0x98,0x98, - 0x98,0x98,0x98,0x98,0x98,0x98,0x98,0x98, - 0x98,0x98,0x98,0x98,0x98,0x98,0x98,0x98, - 0x98,0x98,0x98,0x98,0x98,0x98,0x98,0x98, - 0x98,0x98,0x98,0x98,0x98,0x98,0x98,0x98, - 0x98,0x98,0x98,0x98,0x98,0x98,0x98,0x98, - 0x98,0x98,0x98,0x98,0x98,0x98,0x98,0x98, - 0x98,0x98,0x98,0x98,0x98,0x98,0x98,0x98, - 0x98,0x98,0x98,0x98,0x98,0x98,0x98,0x98, - 0x98,0x98,0x98,0x98,0x98,0x98,0x98,0x97, - 0x97,0x97,0x97,0x97,0x97,0x97,0x97,0x97, - 0x97,0x97,0x97,0x97,0x97,0x97,0x97,0x97, - 0x97,0x97,0x97,0x97,0x97,0x97,0x97,0x97, - 0x97,0x97,0x97,0x97,0x97,0x97,0x97,0x97, - 0x97,0x97,0x97,0x97,0x97,0x97,0x97,0x97, - 0x97,0x97,0x97,0x97,0x97,0x97,0x97,0x97, - 0x97,0x97,0x97,0x97,0x97,0x97,0x97,0x97, - 0x97,0x97,0x97,0x97,0x97,0x97,0x97,0x97, - 0x97,0x97,0x97,0x97,0x97,0x97,0x97,0x97, - 0x97,0x97,0x97,0x97,0x97,0x97,0x97,0x97, - 0x97,0x97,0x97,0x97,0x97,0x97,0x97,0x97, - 0x97,0x97,0x97,0x97,0x97,0x97,0x97,0x97, - 0x97,0x97,0x97,0x97,0x97,0x97,0x97,0x97, - 0x97,0x97,0x97,0x97,0x97,0x97,0x97,0x97, - 0x97,0x97,0x97,0x97,0x97,0x97,0x97,0x97, - 0x97,0x97,0x97,0x97,0x97,0x97,0x97,0x96, - 0x96,0x96,0x96,0x96,0x96,0x96,0x96,0x96, - 0x96,0x96,0x96,0x96,0x96,0x96,0x96,0x96, - 0x96,0x96,0x96,0x96,0x96,0x96,0x96,0x96, - 0x96,0x96,0x96,0x96,0x96,0x96,0x96,0x96, - 0x96,0x96,0x96,0x96,0x96,0x96,0x96,0x96, - 0x96,0x96,0x96,0x96,0x96,0x96,0x96,0x96, - 0x96,0x96,0x96,0x96,0x96,0x96,0x96,0x96, - 0x96,0x96,0x96,0x96,0x96,0x96,0x96,0x96, - 0x96,0x96,0x96,0x96,0x96,0x96,0x96,0x96, - 0x96,0x96,0x96,0x96,0x96,0x96,0x96,0x96, - 0x96,0x96,0x96,0x96,0x96,0x96,0x96,0x96, - 0x96,0x96,0x96,0x96,0x96,0x96,0x96,0x96, - 0x96,0x96,0x96,0x96,0x96,0x96,0x96,0x96, - 0x96,0x96,0x96,0x96,0x96,0x96,0x96,0x96, - 0x96,0x96,0x96,0x96,0x96,0x96,0x96,0x96, - 0x96,0x96,0x96,0x96,0x96,0x96,0x96,0x95, - 0x95,0x95,0x95,0x95,0x95,0x95,0x95,0x95, - 0x95,0x95,0x95,0x95,0x95,0x95,0x95,0x95, - 0x95,0x95,0x95,0x95,0x95,0x95,0x95,0x95, - 0x95,0x95,0x95,0x95,0x95,0x95,0x95,0x95, - 0x95,0x95,0x95,0x95,0x95,0x95,0x95,0x95, - 0x95,0x95,0x95,0x95,0x95,0x95,0x95,0x95, - 0x95,0x95,0x95,0x95,0x95,0x95,0x95,0x95, - 0x95,0x95,0x95,0x95,0x95,0x95,0x95,0x95, - 0x95,0x95,0x95,0x95,0x95,0x95,0x95,0x95, - 0x95,0x95,0x95,0x95,0x95,0x95,0x95,0x95, - 0x95,0x95,0x95,0x95,0x95,0x95,0x95,0x95, - 0x95,0x95,0x95,0x95,0x95,0x95,0x95,0x95, - 0x95,0x95,0x95,0x95,0x95,0x95,0x95,0x95, - 0x95,0x95,0x95,0x95,0x95,0x95,0x95,0x95, - 0x95,0x95,0x95,0x95,0x95,0x95,0x95,0x95, - 0x95,0x95,0x95,0x95,0x95,0x95,0x95,0x94, - 0x94,0x94,0x94,0x94,0x94,0x94,0x94,0x94, - 0x94,0x94,0x94,0x94,0x94,0x94,0x94,0x94, - 0x94,0x94,0x94,0x94,0x94,0x94,0x94,0x94, - 0x94,0x94,0x94,0x94,0x94,0x94,0x94,0x94, - 0x94,0x94,0x94,0x94,0x94,0x94,0x94,0x94, - 0x94,0x94,0x94,0x94,0x94,0x94,0x94,0x94, - 0x94,0x94,0x94,0x94,0x94,0x94,0x94,0x94, - 0x94,0x94,0x94,0x94,0x94,0x94,0x94,0x94, - 0x94,0x94,0x94,0x94,0x94,0x94,0x94,0x94, - 0x94,0x94,0x94,0x94,0x94,0x94,0x94,0x94, - 0x94,0x94,0x94,0x94,0x94,0x94,0x94,0x94, - 0x94,0x94,0x94,0x94,0x94,0x94,0x94,0x94, - 0x94,0x94,0x94,0x94,0x94,0x94,0x94,0x94, - 0x94,0x94,0x94,0x94,0x94,0x94,0x94,0x94, - 0x94,0x94,0x94,0x94,0x94,0x94,0x94,0x94, - 0x94,0x94,0x94,0x94,0x94,0x94,0x94,0x93, - 0x93,0x93,0x93,0x93,0x93,0x93,0x93,0x93, - 0x93,0x93,0x93,0x93,0x93,0x93,0x93,0x93, - 0x93,0x93,0x93,0x93,0x93,0x93,0x93,0x93, - 0x93,0x93,0x93,0x93,0x93,0x93,0x93,0x93, - 0x93,0x93,0x93,0x93,0x93,0x93,0x93,0x93, - 0x93,0x93,0x93,0x93,0x93,0x93,0x93,0x93, - 0x93,0x93,0x93,0x93,0x93,0x93,0x93,0x93, - 0x93,0x93,0x93,0x93,0x93,0x93,0x93,0x93, - 0x93,0x93,0x93,0x93,0x93,0x93,0x93,0x93, - 0x93,0x93,0x93,0x93,0x93,0x93,0x93,0x93, - 0x93,0x93,0x93,0x93,0x93,0x93,0x93,0x93, - 0x93,0x93,0x93,0x93,0x93,0x93,0x93,0x93, - 0x93,0x93,0x93,0x93,0x93,0x93,0x93,0x93, - 0x93,0x93,0x93,0x93,0x93,0x93,0x93,0x93, - 0x93,0x93,0x93,0x93,0x93,0x93,0x93,0x93, - 0x93,0x93,0x93,0x93,0x93,0x93,0x93,0x92, - 0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x92, - 0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x92, - 0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x92, - 0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x92, - 0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x92, - 0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x92, - 0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x92, - 0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x92, - 0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x92, - 0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x92, - 0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x92, - 0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x92, - 0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x92, - 0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x92, - 0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x92, - 0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x91, - 0x91,0x91,0x91,0x91,0x91,0x91,0x91,0x91, - 0x91,0x91,0x91,0x91,0x91,0x91,0x91,0x91, - 0x91,0x91,0x91,0x91,0x91,0x91,0x91,0x91, - 0x91,0x91,0x91,0x91,0x91,0x91,0x91,0x91, - 0x91,0x91,0x91,0x91,0x91,0x91,0x91,0x91, - 0x91,0x91,0x91,0x91,0x91,0x91,0x91,0x91, - 0x91,0x91,0x91,0x91,0x91,0x91,0x91,0x91, - 0x91,0x91,0x91,0x91,0x91,0x91,0x91,0x91, - 0x91,0x91,0x91,0x91,0x91,0x91,0x91,0x91, - 0x91,0x91,0x91,0x91,0x91,0x91,0x91,0x91, - 0x91,0x91,0x91,0x91,0x91,0x91,0x91,0x91, - 0x91,0x91,0x91,0x91,0x91,0x91,0x91,0x91, - 0x91,0x91,0x91,0x91,0x91,0x91,0x91,0x91, - 0x91,0x91,0x91,0x91,0x91,0x91,0x91,0x91, - 0x91,0x91,0x91,0x91,0x91,0x91,0x91,0x91, - 0x91,0x91,0x91,0x91,0x91,0x91,0x91,0x90, - 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90, - 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90, - 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90, - 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90, - 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90, - 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90, - 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90, - 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90, - 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90, - 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90, - 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90, - 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90, - 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90, - 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90, - 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90, - 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f, - 0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8f,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e, - 0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8e,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d, - 0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c, - 0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8c,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b, - 0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8b,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a, - 0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x8a,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a, - 0x0a,0x0a,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b, - 0x0b,0x0b,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c, - 0x0c,0x0c,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d, - 0x0d,0x0d,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e, - 0x0e,0x0e,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f, - 0x0f,0x0f,0x10,0x10,0x10,0x10,0x10,0x10, - 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, - 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, - 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, - 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, - 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, - 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, - 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, - 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, - 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, - 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, - 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, - 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, - 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, - 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, - 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, - 0x10,0x10,0x11,0x11,0x11,0x11,0x11,0x11, - 0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11, - 0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11, - 0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11, - 0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11, - 0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11, - 0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11, - 0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11, - 0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11, - 0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11, - 0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11, - 0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11, - 0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11, - 0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11, - 0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11, - 0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11, - 0x11,0x11,0x12,0x12,0x12,0x12,0x12,0x12, - 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, - 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, - 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, - 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, - 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, - 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, - 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, - 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, - 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, - 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, - 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, - 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, - 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, - 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, - 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, - 0x12,0x12,0x13,0x13,0x13,0x13,0x13,0x13, - 0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13, - 0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13, - 0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13, - 0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13, - 0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13, - 0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13, - 0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13, - 0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13, - 0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13, - 0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13, - 0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13, - 0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13, - 0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13, - 0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13, - 0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13, - 0x13,0x13,0x14,0x14,0x14,0x14,0x14,0x14, - 0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14, - 0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14, - 0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14, - 0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14, - 0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14, - 0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14, - 0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14, - 0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14, - 0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14, - 0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14, - 0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14, - 0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14, - 0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14, - 0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14, - 0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14, - 0x14,0x14,0x15,0x15,0x15,0x15,0x15,0x15, - 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, - 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, - 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, - 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, - 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, - 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, - 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, - 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, - 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, - 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, - 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, - 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, - 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, - 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, - 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, - 0x15,0x15,0x16,0x16,0x16,0x16,0x16,0x16, - 0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16, - 0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16, - 0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16, - 0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16, - 0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16, - 0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16, - 0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16, - 0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16, - 0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16, - 0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16, - 0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16, - 0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16, - 0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16, - 0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16, - 0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16, - 0x16,0x16,0x17,0x17,0x17,0x17,0x17,0x17, - 0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17, - 0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17, - 0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17, - 0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17, - 0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17, - 0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17, - 0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17, - 0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17, - 0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17, - 0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17, - 0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17, - 0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17, - 0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17, - 0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17, - 0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17, - 0x17,0x17,0x18,0x18,0x18,0x18,0x18,0x18, - 0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18, - 0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18, - 0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18, - 0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18, - 0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18, - 0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18, - 0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18, - 0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18, - 0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18, - 0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18, - 0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18, - 0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18, - 0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18, - 0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18, - 0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18, - 0x18,0x18,0x19,0x19,0x19,0x19,0x19,0x19, - 0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19, - 0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19, - 0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19, - 0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19, - 0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19, - 0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19, - 0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19, - 0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19, - 0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19, - 0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19, - 0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19, - 0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19, - 0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19, - 0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19, - 0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19, - 0x19,0x19,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a, - 0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a, - 0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a, - 0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a, - 0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a, - 0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a, - 0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a, - 0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a, - 0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a, - 0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a, - 0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a, - 0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a, - 0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a, - 0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a, - 0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a, - 0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a,0x1a, - 0x1a,0x1a,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b, - 0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b, - 0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b, - 0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b, - 0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b, - 0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b, - 0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b, - 0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b, - 0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b, - 0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b, - 0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b, - 0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b, - 0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b, - 0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b, - 0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b, - 0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b,0x1b, - 0x1b,0x1b,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, - 0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, - 0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, - 0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, - 0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, - 0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, - 0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, - 0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, - 0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, - 0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, - 0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, - 0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, - 0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, - 0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, - 0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, - 0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c, - 0x1c,0x1c,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d, - 0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d, - 0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d, - 0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d, - 0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d, - 0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d, - 0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d, - 0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d, - 0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d, - 0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d, - 0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d, - 0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d, - 0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d, - 0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d, - 0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d, - 0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x1d, - 0x1d,0x1d,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e, - 0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e, - 0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e, - 0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e, - 0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e, - 0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e, - 0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e, - 0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e, - 0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e, - 0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e, - 0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e, - 0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e, - 0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e, - 0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e, - 0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e, - 0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e,0x1e, - 0x1e,0x1e,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f, - 0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f, - 0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f, - 0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f, - 0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f, - 0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f, - 0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f, - 0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f, - 0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f, - 0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f, - 0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f, - 0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f, - 0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f, - 0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f, - 0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f, - 0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f, - 0x1f,0x1f,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, - 0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, - 0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, - 0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, - 0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, - 0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, - 0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, - 0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a,0x2a, - 0x2a,0x2a,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, - 0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, - 0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, - 0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, - 0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, - 0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, - 0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, - 0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b,0x2b, - 0x2b,0x2b,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c, - 0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c, - 0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c, - 0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c, - 0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c, - 0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c, - 0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c, - 0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c,0x2c, - 0x2c,0x2c,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d, - 0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d, - 0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d, - 0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d, - 0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d, - 0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d, - 0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d, - 0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d, - 0x2d,0x2d,0x2e,0x2e,0x2e,0x2e,0x2e,0x2e, - 0x2e,0x2e,0x2e,0x2e,0x2e,0x2e,0x2e,0x2e, - 0x2e,0x2e,0x2e,0x2e,0x2e,0x2e,0x2e,0x2e, - 0x2e,0x2e,0x2e,0x2e,0x2e,0x2e,0x2e,0x2e, - 0x2e,0x2e,0x2e,0x2e,0x2e,0x2e,0x2e,0x2e, - 0x2e,0x2e,0x2e,0x2e,0x2e,0x2e,0x2e,0x2e, - 0x2e,0x2e,0x2e,0x2e,0x2e,0x2e,0x2e,0x2e, - 0x2e,0x2e,0x2e,0x2e,0x2e,0x2e,0x2e,0x2e, - 0x2e,0x2e,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f, - 0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f, - 0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f, - 0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f, - 0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f, - 0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f, - 0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f, - 0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f,0x2f, - 0x2f,0x2f,0x30,0x30,0x30,0x30,0x30,0x30, - 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30, - 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30, - 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30, - 0x30,0x30,0x31,0x31,0x31,0x31,0x31,0x31, - 0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31, - 0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31, - 0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31, - 0x31,0x31,0x32,0x32,0x32,0x32,0x32,0x32, - 0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32, - 0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32, - 0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32, - 0x32,0x32,0x33,0x33,0x33,0x33,0x33,0x33, - 0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33, - 0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33, - 0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33, - 0x33,0x33,0x34,0x34,0x34,0x34,0x34,0x34, - 0x34,0x34,0x34,0x34,0x34,0x34,0x34,0x34, - 0x34,0x34,0x34,0x34,0x34,0x34,0x34,0x34, - 0x34,0x34,0x34,0x34,0x34,0x34,0x34,0x34, - 0x34,0x34,0x35,0x35,0x35,0x35,0x35,0x35, - 0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35, - 0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35, - 0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35, - 0x35,0x35,0x36,0x36,0x36,0x36,0x36,0x36, - 0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36, - 0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36, - 0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36, - 0x36,0x36,0x37,0x37,0x37,0x37,0x37,0x37, - 0x37,0x37,0x37,0x37,0x37,0x37,0x37,0x37, - 0x37,0x37,0x37,0x37,0x37,0x37,0x37,0x37, - 0x37,0x37,0x37,0x37,0x37,0x37,0x37,0x37, - 0x37,0x37,0x38,0x38,0x38,0x38,0x38,0x38, - 0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38, - 0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38, - 0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38, - 0x38,0x38,0x39,0x39,0x39,0x39,0x39,0x39, - 0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x39, - 0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x39, - 0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x39, - 0x39,0x39,0x3a,0x3a,0x3a,0x3a,0x3a,0x3a, - 0x3a,0x3a,0x3a,0x3a,0x3a,0x3a,0x3a,0x3a, - 0x3a,0x3a,0x3a,0x3a,0x3a,0x3a,0x3a,0x3a, - 0x3a,0x3a,0x3a,0x3a,0x3a,0x3a,0x3a,0x3a, - 0x3a,0x3a,0x3b,0x3b,0x3b,0x3b,0x3b,0x3b, - 0x3b,0x3b,0x3b,0x3b,0x3b,0x3b,0x3b,0x3b, - 0x3b,0x3b,0x3b,0x3b,0x3b,0x3b,0x3b,0x3b, - 0x3b,0x3b,0x3b,0x3b,0x3b,0x3b,0x3b,0x3b, - 0x3b,0x3b,0x3c,0x3c,0x3c,0x3c,0x3c,0x3c, - 0x3c,0x3c,0x3c,0x3c,0x3c,0x3c,0x3c,0x3c, - 0x3c,0x3c,0x3c,0x3c,0x3c,0x3c,0x3c,0x3c, - 0x3c,0x3c,0x3c,0x3c,0x3c,0x3c,0x3c,0x3c, - 0x3c,0x3c,0x3d,0x3d,0x3d,0x3d,0x3d,0x3d, - 0x3d,0x3d,0x3d,0x3d,0x3d,0x3d,0x3d,0x3d, - 0x3d,0x3d,0x3d,0x3d,0x3d,0x3d,0x3d,0x3d, - 0x3d,0x3d,0x3d,0x3d,0x3d,0x3d,0x3d,0x3d, - 0x3d,0x3d,0x3e,0x3e,0x3e,0x3e,0x3e,0x3e, - 0x3e,0x3e,0x3e,0x3e,0x3e,0x3e,0x3e,0x3e, - 0x3e,0x3e,0x3e,0x3e,0x3e,0x3e,0x3e,0x3e, - 0x3e,0x3e,0x3e,0x3e,0x3e,0x3e,0x3e,0x3e, - 0x3e,0x3e,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f, - 0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f, - 0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f, - 0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f, - 0x3f,0x3f,0x40,0x40,0x40,0x40,0x40,0x40, - 0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40, - 0x40,0x40,0x41,0x41,0x41,0x41,0x41,0x41, - 0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41, - 0x41,0x41,0x42,0x42,0x42,0x42,0x42,0x42, - 0x42,0x42,0x42,0x42,0x42,0x42,0x42,0x42, - 0x42,0x42,0x43,0x43,0x43,0x43,0x43,0x43, - 0x43,0x43,0x43,0x43,0x43,0x43,0x43,0x43, - 0x43,0x43,0x44,0x44,0x44,0x44,0x44,0x44, - 0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x44, - 0x44,0x44,0x45,0x45,0x45,0x45,0x45,0x45, - 0x45,0x45,0x45,0x45,0x45,0x45,0x45,0x45, - 0x45,0x45,0x46,0x46,0x46,0x46,0x46,0x46, - 0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46, - 0x46,0x46,0x47,0x47,0x47,0x47,0x47,0x47, - 0x47,0x47,0x47,0x47,0x47,0x47,0x47,0x47, - 0x47,0x47,0x48,0x48,0x48,0x48,0x48,0x48, - 0x48,0x48,0x48,0x48,0x48,0x48,0x48,0x48, - 0x48,0x48,0x49,0x49,0x49,0x49,0x49,0x49, - 0x49,0x49,0x49,0x49,0x49,0x49,0x49,0x49, - 0x49,0x49,0x4a,0x4a,0x4a,0x4a,0x4a,0x4a, - 0x4a,0x4a,0x4a,0x4a,0x4a,0x4a,0x4a,0x4a, - 0x4a,0x4a,0x4b,0x4b,0x4b,0x4b,0x4b,0x4b, - 0x4b,0x4b,0x4b,0x4b,0x4b,0x4b,0x4b,0x4b, - 0x4b,0x4b,0x4c,0x4c,0x4c,0x4c,0x4c,0x4c, - 0x4c,0x4c,0x4c,0x4c,0x4c,0x4c,0x4c,0x4c, - 0x4c,0x4c,0x4d,0x4d,0x4d,0x4d,0x4d,0x4d, - 0x4d,0x4d,0x4d,0x4d,0x4d,0x4d,0x4d,0x4d, - 0x4d,0x4d,0x4e,0x4e,0x4e,0x4e,0x4e,0x4e, - 0x4e,0x4e,0x4e,0x4e,0x4e,0x4e,0x4e,0x4e, - 0x4e,0x4e,0x4f,0x4f,0x4f,0x4f,0x4f,0x4f, - 0x4f,0x4f,0x4f,0x4f,0x4f,0x4f,0x4f,0x4f, - 0x4f,0x4f,0x50,0x50,0x50,0x50,0x50,0x50, - 0x50,0x50,0x51,0x51,0x51,0x51,0x51,0x51, - 0x51,0x51,0x52,0x52,0x52,0x52,0x52,0x52, - 0x52,0x52,0x53,0x53,0x53,0x53,0x53,0x53, - 0x53,0x53,0x54,0x54,0x54,0x54,0x54,0x54, - 0x54,0x54,0x55,0x55,0x55,0x55,0x55,0x55, - 0x55,0x55,0x56,0x56,0x56,0x56,0x56,0x56, - 0x56,0x56,0x57,0x57,0x57,0x57,0x57,0x57, - 0x57,0x57,0x58,0x58,0x58,0x58,0x58,0x58, - 0x58,0x58,0x59,0x59,0x59,0x59,0x59,0x59, - 0x59,0x59,0x5a,0x5a,0x5a,0x5a,0x5a,0x5a, - 0x5a,0x5a,0x5b,0x5b,0x5b,0x5b,0x5b,0x5b, - 0x5b,0x5b,0x5c,0x5c,0x5c,0x5c,0x5c,0x5c, - 0x5c,0x5c,0x5d,0x5d,0x5d,0x5d,0x5d,0x5d, - 0x5d,0x5d,0x5e,0x5e,0x5e,0x5e,0x5e,0x5e, - 0x5e,0x5e,0x5f,0x5f,0x5f,0x5f,0x5f,0x5f, - 0x5f,0x5f,0x60,0x60,0x60,0x60,0x61,0x61, - 0x61,0x61,0x62,0x62,0x62,0x62,0x63,0x63, - 0x63,0x63,0x64,0x64,0x64,0x64,0x65,0x65, - 0x65,0x65,0x66,0x66,0x66,0x66,0x67,0x67, - 0x67,0x67,0x68,0x68,0x68,0x68,0x69,0x69, - 0x69,0x69,0x6a,0x6a,0x6a,0x6a,0x6b,0x6b, - 0x6b,0x6b,0x6c,0x6c,0x6c,0x6c,0x6d,0x6d, - 0x6d,0x6d,0x6e,0x6e,0x6e,0x6e,0x6f,0x6f, - 0x6f,0x6f,0x70,0x70,0x71,0x71,0x72,0x72, - 0x73,0x73,0x74,0x74,0x75,0x75,0x76,0x76, - 0x77,0x77,0x78,0x78,0x79,0x79,0x7a,0x7a, - 0x7b,0x7b,0x7c,0x7c,0x7d,0x7d,0x7e,0x7e -}; - - -const pj_uint8_t pjmedia_linear2alaw_tab[16384] = -{ - 0xD5,0xD5,0xD5,0xD5,0xD4,0xD4,0xD4,0xD4, - 0xD7,0xD7,0xD7,0xD7,0xD6,0xD6,0xD6,0xD6, - 0xD1,0xD1,0xD1,0xD1,0xD0,0xD0,0xD0,0xD0, - 0xD3,0xD3,0xD3,0xD3,0xD2,0xD2,0xD2,0xD2, - 0xDD,0xDD,0xDD,0xDD,0xDC,0xDC,0xDC,0xDC, - 0xDF,0xDF,0xDF,0xDF,0xDE,0xDE,0xDE,0xDE, - 0xD9,0xD9,0xD9,0xD9,0xD8,0xD8,0xD8,0xD8, - 0xDB,0xDB,0xDB,0xDB,0xDA,0xDA,0xDA,0xDA, - 0xC5,0xC5,0xC5,0xC5,0xC4,0xC4,0xC4,0xC4, - 0xC7,0xC7,0xC7,0xC7,0xC6,0xC6,0xC6,0xC6, - 0xC1,0xC1,0xC1,0xC1,0xC0,0xC0,0xC0,0xC0, - 0xC3,0xC3,0xC3,0xC3,0xC2,0xC2,0xC2,0xC2, - 0xCD,0xCD,0xCD,0xCD,0xCC,0xCC,0xCC,0xCC, - 0xCF,0xCF,0xCF,0xCF,0xCE,0xCE,0xCE,0xCE, - 0xC9,0xC9,0xC9,0xC9,0xC8,0xC8,0xC8,0xC8, - 0xCB,0xCB,0xCB,0xCB,0xCA,0xCA,0xCA,0xCA, - 0xF5,0xF5,0xF5,0xF5,0xF5,0xF5,0xF5,0xF5, - 0xF4,0xF4,0xF4,0xF4,0xF4,0xF4,0xF4,0xF4, - 0xF7,0xF7,0xF7,0xF7,0xF7,0xF7,0xF7,0xF7, - 0xF6,0xF6,0xF6,0xF6,0xF6,0xF6,0xF6,0xF6, - 0xF1,0xF1,0xF1,0xF1,0xF1,0xF1,0xF1,0xF1, - 0xF0,0xF0,0xF0,0xF0,0xF0,0xF0,0xF0,0xF0, - 0xF3,0xF3,0xF3,0xF3,0xF3,0xF3,0xF3,0xF3, - 0xF2,0xF2,0xF2,0xF2,0xF2,0xF2,0xF2,0xF2, - 0xFD,0xFD,0xFD,0xFD,0xFD,0xFD,0xFD,0xFD, - 0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC, - 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, - 0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE, - 0xF9,0xF9,0xF9,0xF9,0xF9,0xF9,0xF9,0xF9, - 0xF8,0xF8,0xF8,0xF8,0xF8,0xF8,0xF8,0xF8, - 0xFB,0xFB,0xFB,0xFB,0xFB,0xFB,0xFB,0xFB, - 0xFA,0xFA,0xFA,0xFA,0xFA,0xFA,0xFA,0xFA, - 0xE5,0xE5,0xE5,0xE5,0xE5,0xE5,0xE5,0xE5, - 0xE5,0xE5,0xE5,0xE5,0xE5,0xE5,0xE5,0xE5, - 0xE4,0xE4,0xE4,0xE4,0xE4,0xE4,0xE4,0xE4, - 0xE4,0xE4,0xE4,0xE4,0xE4,0xE4,0xE4,0xE4, - 0xE7,0xE7,0xE7,0xE7,0xE7,0xE7,0xE7,0xE7, - 0xE7,0xE7,0xE7,0xE7,0xE7,0xE7,0xE7,0xE7, - 0xE6,0xE6,0xE6,0xE6,0xE6,0xE6,0xE6,0xE6, - 0xE6,0xE6,0xE6,0xE6,0xE6,0xE6,0xE6,0xE6, - 0xE1,0xE1,0xE1,0xE1,0xE1,0xE1,0xE1,0xE1, - 0xE1,0xE1,0xE1,0xE1,0xE1,0xE1,0xE1,0xE1, - 0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0, - 0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0, - 0xE3,0xE3,0xE3,0xE3,0xE3,0xE3,0xE3,0xE3, - 0xE3,0xE3,0xE3,0xE3,0xE3,0xE3,0xE3,0xE3, - 0xE2,0xE2,0xE2,0xE2,0xE2,0xE2,0xE2,0xE2, - 0xE2,0xE2,0xE2,0xE2,0xE2,0xE2,0xE2,0xE2, - 0xED,0xED,0xED,0xED,0xED,0xED,0xED,0xED, - 0xED,0xED,0xED,0xED,0xED,0xED,0xED,0xED, - 0xEC,0xEC,0xEC,0xEC,0xEC,0xEC,0xEC,0xEC, - 0xEC,0xEC,0xEC,0xEC,0xEC,0xEC,0xEC,0xEC, - 0xEF,0xEF,0xEF,0xEF,0xEF,0xEF,0xEF,0xEF, - 0xEF,0xEF,0xEF,0xEF,0xEF,0xEF,0xEF,0xEF, - 0xEE,0xEE,0xEE,0xEE,0xEE,0xEE,0xEE,0xEE, - 0xEE,0xEE,0xEE,0xEE,0xEE,0xEE,0xEE,0xEE, - 0xE9,0xE9,0xE9,0xE9,0xE9,0xE9,0xE9,0xE9, - 0xE9,0xE9,0xE9,0xE9,0xE9,0xE9,0xE9,0xE9, - 0xE8,0xE8,0xE8,0xE8,0xE8,0xE8,0xE8,0xE8, - 0xE8,0xE8,0xE8,0xE8,0xE8,0xE8,0xE8,0xE8, - 0xEB,0xEB,0xEB,0xEB,0xEB,0xEB,0xEB,0xEB, - 0xEB,0xEB,0xEB,0xEB,0xEB,0xEB,0xEB,0xEB, - 0xEA,0xEA,0xEA,0xEA,0xEA,0xEA,0xEA,0xEA, - 0xEA,0xEA,0xEA,0xEA,0xEA,0xEA,0xEA,0xEA, - 0x95,0x95,0x95,0x95,0x95,0x95,0x95,0x95, - 0x95,0x95,0x95,0x95,0x95,0x95,0x95,0x95, - 0x95,0x95,0x95,0x95,0x95,0x95,0x95,0x95, - 0x95,0x95,0x95,0x95,0x95,0x95,0x95,0x95, - 0x94,0x94,0x94,0x94,0x94,0x94,0x94,0x94, - 0x94,0x94,0x94,0x94,0x94,0x94,0x94,0x94, - 0x94,0x94,0x94,0x94,0x94,0x94,0x94,0x94, - 0x94,0x94,0x94,0x94,0x94,0x94,0x94,0x94, - 0x97,0x97,0x97,0x97,0x97,0x97,0x97,0x97, - 0x97,0x97,0x97,0x97,0x97,0x97,0x97,0x97, - 0x97,0x97,0x97,0x97,0x97,0x97,0x97,0x97, - 0x97,0x97,0x97,0x97,0x97,0x97,0x97,0x97, - 0x96,0x96,0x96,0x96,0x96,0x96,0x96,0x96, - 0x96,0x96,0x96,0x96,0x96,0x96,0x96,0x96, - 0x96,0x96,0x96,0x96,0x96,0x96,0x96,0x96, - 0x96,0x96,0x96,0x96,0x96,0x96,0x96,0x96, - 0x91,0x91,0x91,0x91,0x91,0x91,0x91,0x91, - 0x91,0x91,0x91,0x91,0x91,0x91,0x91,0x91, - 0x91,0x91,0x91,0x91,0x91,0x91,0x91,0x91, - 0x91,0x91,0x91,0x91,0x91,0x91,0x91,0x91, - 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90, - 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90, - 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90, - 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90, - 0x93,0x93,0x93,0x93,0x93,0x93,0x93,0x93, - 0x93,0x93,0x93,0x93,0x93,0x93,0x93,0x93, - 0x93,0x93,0x93,0x93,0x93,0x93,0x93,0x93, - 0x93,0x93,0x93,0x93,0x93,0x93,0x93,0x93, - 0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x92, - 0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x92, - 0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x92, - 0x92,0x92,0x92,0x92,0x92,0x92,0x92,0x92, - 0x9D,0x9D,0x9D,0x9D,0x9D,0x9D,0x9D,0x9D, - 0x9D,0x9D,0x9D,0x9D,0x9D,0x9D,0x9D,0x9D, - 0x9D,0x9D,0x9D,0x9D,0x9D,0x9D,0x9D,0x9D, - 0x9D,0x9D,0x9D,0x9D,0x9D,0x9D,0x9D,0x9D, - 0x9C,0x9C,0x9C,0x9C,0x9C,0x9C,0x9C,0x9C, - 0x9C,0x9C,0x9C,0x9C,0x9C,0x9C,0x9C,0x9C, - 0x9C,0x9C,0x9C,0x9C,0x9C,0x9C,0x9C,0x9C, - 0x9C,0x9C,0x9C,0x9C,0x9C,0x9C,0x9C,0x9C, - 0x9F,0x9F,0x9F,0x9F,0x9F,0x9F,0x9F,0x9F, - 0x9F,0x9F,0x9F,0x9F,0x9F,0x9F,0x9F,0x9F, - 0x9F,0x9F,0x9F,0x9F,0x9F,0x9F,0x9F,0x9F, - 0x9F,0x9F,0x9F,0x9F,0x9F,0x9F,0x9F,0x9F, - 0x9E,0x9E,0x9E,0x9E,0x9E,0x9E,0x9E,0x9E, - 0x9E,0x9E,0x9E,0x9E,0x9E,0x9E,0x9E,0x9E, - 0x9E,0x9E,0x9E,0x9E,0x9E,0x9E,0x9E,0x9E, - 0x9E,0x9E,0x9E,0x9E,0x9E,0x9E,0x9E,0x9E, - 0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99, - 0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99, - 0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99, - 0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99, - 0x98,0x98,0x98,0x98,0x98,0x98,0x98,0x98, - 0x98,0x98,0x98,0x98,0x98,0x98,0x98,0x98, - 0x98,0x98,0x98,0x98,0x98,0x98,0x98,0x98, - 0x98,0x98,0x98,0x98,0x98,0x98,0x98,0x98, - 0x9B,0x9B,0x9B,0x9B,0x9B,0x9B,0x9B,0x9B, - 0x9B,0x9B,0x9B,0x9B,0x9B,0x9B,0x9B,0x9B, - 0x9B,0x9B,0x9B,0x9B,0x9B,0x9B,0x9B,0x9B, - 0x9B,0x9B,0x9B,0x9B,0x9B,0x9B,0x9B,0x9B, - 0x9A,0x9A,0x9A,0x9A,0x9A,0x9A,0x9A,0x9A, - 0x9A,0x9A,0x9A,0x9A,0x9A,0x9A,0x9A,0x9A, - 0x9A,0x9A,0x9A,0x9A,0x9A,0x9A,0x9A,0x9A, - 0x9A,0x9A,0x9A,0x9A,0x9A,0x9A,0x9A,0x9A, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x85,0x85,0x85,0x85,0x85,0x85,0x85,0x85, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x87,0x87,0x87,0x87,0x87,0x87,0x87,0x87, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x86,0x86,0x86,0x86,0x86,0x86,0x86,0x86, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x83,0x83,0x83,0x83,0x83,0x83,0x83,0x83, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82, - 0x8D,0x8D,0x8D,0x8D,0x8D,0x8D,0x8D,0x8D, - 0x8D,0x8D,0x8D,0x8D,0x8D,0x8D,0x8D,0x8D, - 0x8D,0x8D,0x8D,0x8D,0x8D,0x8D,0x8D,0x8D, - 0x8D,0x8D,0x8D,0x8D,0x8D,0x8D,0x8D,0x8D, - 0x8D,0x8D,0x8D,0x8D,0x8D,0x8D,0x8D,0x8D, - 0x8D,0x8D,0x8D,0x8D,0x8D,0x8D,0x8D,0x8D, - 0x8D,0x8D,0x8D,0x8D,0x8D,0x8D,0x8D,0x8D, - 0x8D,0x8D,0x8D,0x8D,0x8D,0x8D,0x8D,0x8D, - 0x8C,0x8C,0x8C,0x8C,0x8C,0x8C,0x8C,0x8C, - 0x8C,0x8C,0x8C,0x8C,0x8C,0x8C,0x8C,0x8C, - 0x8C,0x8C,0x8C,0x8C,0x8C,0x8C,0x8C,0x8C, - 0x8C,0x8C,0x8C,0x8C,0x8C,0x8C,0x8C,0x8C, - 0x8C,0x8C,0x8C,0x8C,0x8C,0x8C,0x8C,0x8C, - 0x8C,0x8C,0x8C,0x8C,0x8C,0x8C,0x8C,0x8C, - 0x8C,0x8C,0x8C,0x8C,0x8C,0x8C,0x8C,0x8C, - 0x8C,0x8C,0x8C,0x8C,0x8C,0x8C,0x8C,0x8C, - 0x8F,0x8F,0x8F,0x8F,0x8F,0x8F,0x8F,0x8F, - 0x8F,0x8F,0x8F,0x8F,0x8F,0x8F,0x8F,0x8F, - 0x8F,0x8F,0x8F,0x8F,0x8F,0x8F,0x8F,0x8F, - 0x8F,0x8F,0x8F,0x8F,0x8F,0x8F,0x8F,0x8F, - 0x8F,0x8F,0x8F,0x8F,0x8F,0x8F,0x8F,0x8F, - 0x8F,0x8F,0x8F,0x8F,0x8F,0x8F,0x8F,0x8F, - 0x8F,0x8F,0x8F,0x8F,0x8F,0x8F,0x8F,0x8F, - 0x8F,0x8F,0x8F,0x8F,0x8F,0x8F,0x8F,0x8F, - 0x8E,0x8E,0x8E,0x8E,0x8E,0x8E,0x8E,0x8E, - 0x8E,0x8E,0x8E,0x8E,0x8E,0x8E,0x8E,0x8E, - 0x8E,0x8E,0x8E,0x8E,0x8E,0x8E,0x8E,0x8E, - 0x8E,0x8E,0x8E,0x8E,0x8E,0x8E,0x8E,0x8E, - 0x8E,0x8E,0x8E,0x8E,0x8E,0x8E,0x8E,0x8E, - 0x8E,0x8E,0x8E,0x8E,0x8E,0x8E,0x8E,0x8E, - 0x8E,0x8E,0x8E,0x8E,0x8E,0x8E,0x8E,0x8E, - 0x8E,0x8E,0x8E,0x8E,0x8E,0x8E,0x8E,0x8E, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x89,0x89,0x89,0x89,0x89,0x89,0x89,0x89, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x88, - 0x8B,0x8B,0x8B,0x8B,0x8B,0x8B,0x8B,0x8B, - 0x8B,0x8B,0x8B,0x8B,0x8B,0x8B,0x8B,0x8B, - 0x8B,0x8B,0x8B,0x8B,0x8B,0x8B,0x8B,0x8B, - 0x8B,0x8B,0x8B,0x8B,0x8B,0x8B,0x8B,0x8B, - 0x8B,0x8B,0x8B,0x8B,0x8B,0x8B,0x8B,0x8B, - 0x8B,0x8B,0x8B,0x8B,0x8B,0x8B,0x8B,0x8B, - 0x8B,0x8B,0x8B,0x8B,0x8B,0x8B,0x8B,0x8B, - 0x8B,0x8B,0x8B,0x8B,0x8B,0x8B,0x8B,0x8B, - 0x8A,0x8A,0x8A,0x8A,0x8A,0x8A,0x8A,0x8A, - 0x8A,0x8A,0x8A,0x8A,0x8A,0x8A,0x8A,0x8A, - 0x8A,0x8A,0x8A,0x8A,0x8A,0x8A,0x8A,0x8A, - 0x8A,0x8A,0x8A,0x8A,0x8A,0x8A,0x8A,0x8A, - 0x8A,0x8A,0x8A,0x8A,0x8A,0x8A,0x8A,0x8A, - 0x8A,0x8A,0x8A,0x8A,0x8A,0x8A,0x8A,0x8A, - 0x8A,0x8A,0x8A,0x8A,0x8A,0x8A,0x8A,0x8A, - 0x8A,0x8A,0x8A,0x8A,0x8A,0x8A,0x8A,0x8A, - 0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5, - 0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5, - 0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5, - 0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5, - 0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5, - 0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5, - 0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5, - 0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5, - 0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5, - 0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5, - 0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5, - 0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5, - 0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5, - 0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5, - 0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5, - 0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5,0xB5, - 0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4, - 0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4, - 0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4, - 0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4, - 0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4, - 0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4, - 0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4, - 0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4, - 0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4, - 0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4, - 0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4, - 0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4, - 0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4, - 0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4, - 0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4, - 0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4,0xB4, - 0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7, - 0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7, - 0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7, - 0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7, - 0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7, - 0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7, - 0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7, - 0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7, - 0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7, - 0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7, - 0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7, - 0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7, - 0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7, - 0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7, - 0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7, - 0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7,0xB7, - 0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6, - 0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6, - 0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6, - 0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6, - 0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6, - 0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6, - 0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6, - 0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6, - 0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6, - 0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6, - 0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6, - 0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6, - 0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6, - 0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6, - 0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6, - 0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6,0xB6, - 0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1, - 0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1, - 0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1, - 0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1, - 0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1, - 0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1, - 0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1, - 0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1, - 0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1, - 0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1, - 0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1, - 0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1, - 0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1, - 0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1, - 0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1, - 0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1,0xB1, - 0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0, - 0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0, - 0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0, - 0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0, - 0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0, - 0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0, - 0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0, - 0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0, - 0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0, - 0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0, - 0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0, - 0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0, - 0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0, - 0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0, - 0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0, - 0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0,0xB0, - 0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3, - 0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3, - 0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3, - 0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3, - 0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3, - 0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3, - 0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3, - 0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3, - 0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3, - 0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3, - 0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3, - 0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3, - 0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3, - 0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3, - 0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3, - 0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3,0xB3, - 0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2, - 0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2, - 0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2, - 0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2, - 0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2, - 0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2, - 0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2, - 0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2, - 0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2, - 0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2, - 0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2, - 0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2, - 0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2, - 0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2, - 0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2, - 0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2,0xB2, - 0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD, - 0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD, - 0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD, - 0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD, - 0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD, - 0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD, - 0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD, - 0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD, - 0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD, - 0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD, - 0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD, - 0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD, - 0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD, - 0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD, - 0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD, - 0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD,0xBD, - 0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC, - 0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC, - 0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC, - 0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC, - 0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC, - 0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC, - 0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC, - 0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC, - 0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC, - 0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC, - 0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC, - 0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC, - 0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC, - 0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC, - 0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC, - 0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC,0xBC, - 0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF, - 0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF, - 0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF, - 0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF, - 0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF, - 0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF, - 0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF, - 0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF, - 0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF, - 0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF, - 0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF, - 0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF, - 0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF, - 0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF, - 0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF, - 0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF,0xBF, - 0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE, - 0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE, - 0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE, - 0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE, - 0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE, - 0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE, - 0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE, - 0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE, - 0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE, - 0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE, - 0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE, - 0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE, - 0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE, - 0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE, - 0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE, - 0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE,0xBE, - 0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9, - 0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9, - 0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9, - 0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9, - 0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9, - 0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9, - 0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9, - 0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9, - 0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9, - 0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9, - 0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9, - 0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9, - 0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9, - 0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9, - 0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9, - 0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9,0xB9, - 0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8, - 0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8, - 0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8, - 0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8, - 0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8, - 0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8, - 0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8, - 0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8, - 0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8, - 0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8, - 0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8, - 0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8, - 0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8, - 0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8, - 0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8, - 0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8,0xB8, - 0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB, - 0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB, - 0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB, - 0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB, - 0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB, - 0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB, - 0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB, - 0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB, - 0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB, - 0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB, - 0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB, - 0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB, - 0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB, - 0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB, - 0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB, - 0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB,0xBB, - 0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA, - 0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA, - 0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA, - 0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA, - 0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA, - 0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA, - 0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA, - 0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA, - 0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA, - 0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA, - 0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA, - 0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA, - 0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA, - 0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA, - 0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA, - 0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA,0xBA, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5,0xA5, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4,0xA4, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7,0xA7, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6,0xA6, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1,0xA1, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3,0xA3, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2,0xA2, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD,0xAD, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC,0xAC, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF,0xAF, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE,0xAE, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9,0xA9, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB,0xAB, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A, - 0x2A,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B, - 0x2B,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x28,0x28,0x28,0x28,0x28,0x28,0x28, - 0x28,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x29,0x29,0x29,0x29,0x29,0x29,0x29, - 0x29,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E, - 0x2E,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F,0x2F, - 0x2F,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C, - 0x2C,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D, - 0x2D,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22, - 0x22,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x23,0x23,0x23,0x23,0x23,0x23,0x23, - 0x23,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, - 0x20,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x21,0x21,0x21,0x21,0x21,0x21,0x21, - 0x21,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x26,0x26,0x26,0x26,0x26,0x26,0x26, - 0x26,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x27,0x27,0x27,0x27,0x27,0x27,0x27, - 0x27,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24, - 0x24,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25, - 0x25,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A, - 0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A, - 0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A, - 0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A, - 0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A, - 0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A, - 0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A, - 0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A, - 0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A, - 0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A, - 0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A, - 0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A, - 0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A, - 0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A, - 0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A, - 0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A,0x3A, - 0x3A,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B, - 0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B, - 0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B, - 0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B, - 0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B, - 0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B, - 0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B, - 0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B, - 0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B, - 0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B, - 0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B, - 0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B, - 0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B, - 0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B, - 0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B, - 0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B,0x3B, - 0x3B,0x38,0x38,0x38,0x38,0x38,0x38,0x38, - 0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38, - 0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38, - 0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38, - 0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38, - 0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38, - 0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38, - 0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38, - 0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38, - 0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38, - 0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38, - 0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38, - 0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38, - 0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38, - 0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38, - 0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38, - 0x38,0x39,0x39,0x39,0x39,0x39,0x39,0x39, - 0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x39, - 0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x39, - 0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x39, - 0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x39, - 0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x39, - 0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x39, - 0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x39, - 0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x39, - 0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x39, - 0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x39, - 0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x39, - 0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x39, - 0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x39, - 0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x39, - 0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x39, - 0x39,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E, - 0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E, - 0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E, - 0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E, - 0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E, - 0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E, - 0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E, - 0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E, - 0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E, - 0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E, - 0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E, - 0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E, - 0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E, - 0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E, - 0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E, - 0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E,0x3E, - 0x3E,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F, - 0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F, - 0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F, - 0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F, - 0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F, - 0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F, - 0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F, - 0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F, - 0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F, - 0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F, - 0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F, - 0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F, - 0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F, - 0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F, - 0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F, - 0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F, - 0x3F,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C, - 0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C, - 0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C, - 0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C, - 0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C, - 0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C, - 0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C, - 0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C, - 0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C, - 0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C, - 0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C, - 0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C, - 0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C, - 0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C, - 0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C, - 0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C,0x3C, - 0x3C,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D, - 0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D, - 0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D, - 0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D, - 0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D, - 0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D, - 0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D, - 0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D, - 0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D, - 0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D, - 0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D, - 0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D, - 0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D, - 0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D, - 0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D, - 0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D,0x3D, - 0x3D,0x32,0x32,0x32,0x32,0x32,0x32,0x32, - 0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32, - 0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32, - 0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32, - 0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32, - 0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32, - 0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32, - 0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32, - 0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32, - 0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32, - 0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32, - 0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32, - 0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32, - 0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32, - 0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32, - 0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32, - 0x32,0x33,0x33,0x33,0x33,0x33,0x33,0x33, - 0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33, - 0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33, - 0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33, - 0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33, - 0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33, - 0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33, - 0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33, - 0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33, - 0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33, - 0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33, - 0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33, - 0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33, - 0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33, - 0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33, - 0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33, - 0x33,0x30,0x30,0x30,0x30,0x30,0x30,0x30, - 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30, - 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30, - 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30, - 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30, - 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30, - 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30, - 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30, - 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30, - 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30, - 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30, - 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30, - 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30, - 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30, - 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30, - 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30, - 0x30,0x31,0x31,0x31,0x31,0x31,0x31,0x31, - 0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31, - 0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31, - 0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31, - 0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31, - 0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31, - 0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31, - 0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31, - 0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31, - 0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31, - 0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31, - 0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31, - 0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31, - 0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31, - 0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31, - 0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31, - 0x31,0x36,0x36,0x36,0x36,0x36,0x36,0x36, - 0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36, - 0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36, - 0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36, - 0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36, - 0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36, - 0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36, - 0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36, - 0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36, - 0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36, - 0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36, - 0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36, - 0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36, - 0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36, - 0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36, - 0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36, - 0x36,0x37,0x37,0x37,0x37,0x37,0x37,0x37, - 0x37,0x37,0x37,0x37,0x37,0x37,0x37,0x37, - 0x37,0x37,0x37,0x37,0x37,0x37,0x37,0x37, - 0x37,0x37,0x37,0x37,0x37,0x37,0x37,0x37, - 0x37,0x37,0x37,0x37,0x37,0x37,0x37,0x37, - 0x37,0x37,0x37,0x37,0x37,0x37,0x37,0x37, - 0x37,0x37,0x37,0x37,0x37,0x37,0x37,0x37, - 0x37,0x37,0x37,0x37,0x37,0x37,0x37,0x37, - 0x37,0x37,0x37,0x37,0x37,0x37,0x37,0x37, - 0x37,0x37,0x37,0x37,0x37,0x37,0x37,0x37, - 0x37,0x37,0x37,0x37,0x37,0x37,0x37,0x37, - 0x37,0x37,0x37,0x37,0x37,0x37,0x37,0x37, - 0x37,0x37,0x37,0x37,0x37,0x37,0x37,0x37, - 0x37,0x37,0x37,0x37,0x37,0x37,0x37,0x37, - 0x37,0x37,0x37,0x37,0x37,0x37,0x37,0x37, - 0x37,0x37,0x37,0x37,0x37,0x37,0x37,0x37, - 0x37,0x34,0x34,0x34,0x34,0x34,0x34,0x34, - 0x34,0x34,0x34,0x34,0x34,0x34,0x34,0x34, - 0x34,0x34,0x34,0x34,0x34,0x34,0x34,0x34, - 0x34,0x34,0x34,0x34,0x34,0x34,0x34,0x34, - 0x34,0x34,0x34,0x34,0x34,0x34,0x34,0x34, - 0x34,0x34,0x34,0x34,0x34,0x34,0x34,0x34, - 0x34,0x34,0x34,0x34,0x34,0x34,0x34,0x34, - 0x34,0x34,0x34,0x34,0x34,0x34,0x34,0x34, - 0x34,0x34,0x34,0x34,0x34,0x34,0x34,0x34, - 0x34,0x34,0x34,0x34,0x34,0x34,0x34,0x34, - 0x34,0x34,0x34,0x34,0x34,0x34,0x34,0x34, - 0x34,0x34,0x34,0x34,0x34,0x34,0x34,0x34, - 0x34,0x34,0x34,0x34,0x34,0x34,0x34,0x34, - 0x34,0x34,0x34,0x34,0x34,0x34,0x34,0x34, - 0x34,0x34,0x34,0x34,0x34,0x34,0x34,0x34, - 0x34,0x34,0x34,0x34,0x34,0x34,0x34,0x34, - 0x34,0x35,0x35,0x35,0x35,0x35,0x35,0x35, - 0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35, - 0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35, - 0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35, - 0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35, - 0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35, - 0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35, - 0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35, - 0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35, - 0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35, - 0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35, - 0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35, - 0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35, - 0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35, - 0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35, - 0x35,0x35,0x35,0x35,0x35,0x35,0x35,0x35, - 0x35,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A, - 0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A, - 0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A, - 0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A, - 0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A, - 0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A, - 0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A, - 0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A, - 0x0A,0x0B,0x0B,0x0B,0x0B,0x0B,0x0B,0x0B, - 0x0B,0x0B,0x0B,0x0B,0x0B,0x0B,0x0B,0x0B, - 0x0B,0x0B,0x0B,0x0B,0x0B,0x0B,0x0B,0x0B, - 0x0B,0x0B,0x0B,0x0B,0x0B,0x0B,0x0B,0x0B, - 0x0B,0x0B,0x0B,0x0B,0x0B,0x0B,0x0B,0x0B, - 0x0B,0x0B,0x0B,0x0B,0x0B,0x0B,0x0B,0x0B, - 0x0B,0x0B,0x0B,0x0B,0x0B,0x0B,0x0B,0x0B, - 0x0B,0x0B,0x0B,0x0B,0x0B,0x0B,0x0B,0x0B, - 0x0B,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08, - 0x08,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E, - 0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E, - 0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E, - 0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E, - 0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E, - 0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E, - 0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E, - 0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0E, - 0x0E,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F, - 0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F, - 0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F, - 0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F, - 0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F, - 0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F, - 0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F, - 0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F, - 0x0F,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C, - 0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C, - 0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C, - 0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C, - 0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C, - 0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C, - 0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C, - 0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C, - 0x0C,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D, - 0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D, - 0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D, - 0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D, - 0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D, - 0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D, - 0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D, - 0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D, - 0x0D,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, - 0x02,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, - 0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, - 0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - 0x01,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, - 0x06,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, - 0x07,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04, - 0x04,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05, - 0x05,0x1A,0x1A,0x1A,0x1A,0x1A,0x1A,0x1A, - 0x1A,0x1A,0x1A,0x1A,0x1A,0x1A,0x1A,0x1A, - 0x1A,0x1A,0x1A,0x1A,0x1A,0x1A,0x1A,0x1A, - 0x1A,0x1A,0x1A,0x1A,0x1A,0x1A,0x1A,0x1A, - 0x1A,0x1B,0x1B,0x1B,0x1B,0x1B,0x1B,0x1B, - 0x1B,0x1B,0x1B,0x1B,0x1B,0x1B,0x1B,0x1B, - 0x1B,0x1B,0x1B,0x1B,0x1B,0x1B,0x1B,0x1B, - 0x1B,0x1B,0x1B,0x1B,0x1B,0x1B,0x1B,0x1B, - 0x1B,0x18,0x18,0x18,0x18,0x18,0x18,0x18, - 0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18, - 0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18, - 0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18, - 0x18,0x19,0x19,0x19,0x19,0x19,0x19,0x19, - 0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19, - 0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19, - 0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19, - 0x19,0x1E,0x1E,0x1E,0x1E,0x1E,0x1E,0x1E, - 0x1E,0x1E,0x1E,0x1E,0x1E,0x1E,0x1E,0x1E, - 0x1E,0x1E,0x1E,0x1E,0x1E,0x1E,0x1E,0x1E, - 0x1E,0x1E,0x1E,0x1E,0x1E,0x1E,0x1E,0x1E, - 0x1E,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F, - 0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F, - 0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F, - 0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F, - 0x1F,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C, - 0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C, - 0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C, - 0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C, - 0x1C,0x1D,0x1D,0x1D,0x1D,0x1D,0x1D,0x1D, - 0x1D,0x1D,0x1D,0x1D,0x1D,0x1D,0x1D,0x1D, - 0x1D,0x1D,0x1D,0x1D,0x1D,0x1D,0x1D,0x1D, - 0x1D,0x1D,0x1D,0x1D,0x1D,0x1D,0x1D,0x1D, - 0x1D,0x12,0x12,0x12,0x12,0x12,0x12,0x12, - 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, - 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, - 0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12, - 0x12,0x13,0x13,0x13,0x13,0x13,0x13,0x13, - 0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13, - 0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13, - 0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13, - 0x13,0x10,0x10,0x10,0x10,0x10,0x10,0x10, - 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, - 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, - 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, - 0x10,0x11,0x11,0x11,0x11,0x11,0x11,0x11, - 0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11, - 0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11, - 0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11, - 0x11,0x16,0x16,0x16,0x16,0x16,0x16,0x16, - 0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16, - 0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16, - 0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16, - 0x16,0x17,0x17,0x17,0x17,0x17,0x17,0x17, - 0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17, - 0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17, - 0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17, - 0x17,0x14,0x14,0x14,0x14,0x14,0x14,0x14, - 0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14, - 0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14, - 0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14, - 0x14,0x15,0x15,0x15,0x15,0x15,0x15,0x15, - 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, - 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, - 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, - 0x15,0x6A,0x6A,0x6A,0x6A,0x6A,0x6A,0x6A, - 0x6A,0x6A,0x6A,0x6A,0x6A,0x6A,0x6A,0x6A, - 0x6A,0x6B,0x6B,0x6B,0x6B,0x6B,0x6B,0x6B, - 0x6B,0x6B,0x6B,0x6B,0x6B,0x6B,0x6B,0x6B, - 0x6B,0x68,0x68,0x68,0x68,0x68,0x68,0x68, - 0x68,0x68,0x68,0x68,0x68,0x68,0x68,0x68, - 0x68,0x69,0x69,0x69,0x69,0x69,0x69,0x69, - 0x69,0x69,0x69,0x69,0x69,0x69,0x69,0x69, - 0x69,0x6E,0x6E,0x6E,0x6E,0x6E,0x6E,0x6E, - 0x6E,0x6E,0x6E,0x6E,0x6E,0x6E,0x6E,0x6E, - 0x6E,0x6F,0x6F,0x6F,0x6F,0x6F,0x6F,0x6F, - 0x6F,0x6F,0x6F,0x6F,0x6F,0x6F,0x6F,0x6F, - 0x6F,0x6C,0x6C,0x6C,0x6C,0x6C,0x6C,0x6C, - 0x6C,0x6C,0x6C,0x6C,0x6C,0x6C,0x6C,0x6C, - 0x6C,0x6D,0x6D,0x6D,0x6D,0x6D,0x6D,0x6D, - 0x6D,0x6D,0x6D,0x6D,0x6D,0x6D,0x6D,0x6D, - 0x6D,0x62,0x62,0x62,0x62,0x62,0x62,0x62, - 0x62,0x62,0x62,0x62,0x62,0x62,0x62,0x62, - 0x62,0x63,0x63,0x63,0x63,0x63,0x63,0x63, - 0x63,0x63,0x63,0x63,0x63,0x63,0x63,0x63, - 0x63,0x60,0x60,0x60,0x60,0x60,0x60,0x60, - 0x60,0x60,0x60,0x60,0x60,0x60,0x60,0x60, - 0x60,0x61,0x61,0x61,0x61,0x61,0x61,0x61, - 0x61,0x61,0x61,0x61,0x61,0x61,0x61,0x61, - 0x61,0x66,0x66,0x66,0x66,0x66,0x66,0x66, - 0x66,0x66,0x66,0x66,0x66,0x66,0x66,0x66, - 0x66,0x67,0x67,0x67,0x67,0x67,0x67,0x67, - 0x67,0x67,0x67,0x67,0x67,0x67,0x67,0x67, - 0x67,0x64,0x64,0x64,0x64,0x64,0x64,0x64, - 0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64, - 0x64,0x65,0x65,0x65,0x65,0x65,0x65,0x65, - 0x65,0x65,0x65,0x65,0x65,0x65,0x65,0x65, - 0x65,0x7A,0x7A,0x7A,0x7A,0x7A,0x7A,0x7A, - 0x7A,0x7B,0x7B,0x7B,0x7B,0x7B,0x7B,0x7B, - 0x7B,0x78,0x78,0x78,0x78,0x78,0x78,0x78, - 0x78,0x79,0x79,0x79,0x79,0x79,0x79,0x79, - 0x79,0x7E,0x7E,0x7E,0x7E,0x7E,0x7E,0x7E, - 0x7E,0x7F,0x7F,0x7F,0x7F,0x7F,0x7F,0x7F, - 0x7F,0x7C,0x7C,0x7C,0x7C,0x7C,0x7C,0x7C, - 0x7C,0x7D,0x7D,0x7D,0x7D,0x7D,0x7D,0x7D, - 0x7D,0x72,0x72,0x72,0x72,0x72,0x72,0x72, - 0x72,0x73,0x73,0x73,0x73,0x73,0x73,0x73, - 0x73,0x70,0x70,0x70,0x70,0x70,0x70,0x70, - 0x70,0x71,0x71,0x71,0x71,0x71,0x71,0x71, - 0x71,0x76,0x76,0x76,0x76,0x76,0x76,0x76, - 0x76,0x77,0x77,0x77,0x77,0x77,0x77,0x77, - 0x77,0x74,0x74,0x74,0x74,0x74,0x74,0x74, - 0x74,0x75,0x75,0x75,0x75,0x75,0x75,0x75, - 0x75,0x4A,0x4A,0x4A,0x4A,0x4B,0x4B,0x4B, - 0x4B,0x48,0x48,0x48,0x48,0x49,0x49,0x49, - 0x49,0x4E,0x4E,0x4E,0x4E,0x4F,0x4F,0x4F, - 0x4F,0x4C,0x4C,0x4C,0x4C,0x4D,0x4D,0x4D, - 0x4D,0x42,0x42,0x42,0x42,0x43,0x43,0x43, - 0x43,0x40,0x40,0x40,0x40,0x41,0x41,0x41, - 0x41,0x46,0x46,0x46,0x46,0x47,0x47,0x47, - 0x47,0x44,0x44,0x44,0x44,0x45,0x45,0x45, - 0x45,0x5A,0x5A,0x5A,0x5A,0x5B,0x5B,0x5B, - 0x5B,0x58,0x58,0x58,0x58,0x59,0x59,0x59, - 0x59,0x5E,0x5E,0x5E,0x5E,0x5F,0x5F,0x5F, - 0x5F,0x5C,0x5C,0x5C,0x5C,0x5D,0x5D,0x5D, - 0x5D,0x52,0x52,0x52,0x52,0x53,0x53,0x53, - 0x53,0x50,0x50,0x50,0x50,0x51,0x51,0x51, - 0x51,0x56,0x56,0x56,0x56,0x57,0x57,0x57, - 0x57,0x54,0x54,0x54,0x54,0x55,0x55,0x55 -}; - -const pj_int16_t pjmedia_ulaw2linear_tab[256] = -{ - -32124,-31100,-30076,-29052,-28028,-27004,-25980,-24956, - -23932,-22908,-21884,-20860,-19836,-18812,-17788,-16764, - -15996,-15484,-14972,-14460,-13948,-13436,-12924,-12412, - -11900,-11388,-10876,-10364, -9852, -9340, -8828, -8316, - -7932, -7676, -7420, -7164, -6908, -6652, -6396, -6140, - -5884, -5628, -5372, -5116, -4860, -4604, -4348, -4092, - -3900, -3772, -3644, -3516, -3388, -3260, -3132, -3004, - -2876, -2748, -2620, -2492, -2364, -2236, -2108, -1980, - -1884, -1820, -1756, -1692, -1628, -1564, -1500, -1436, - -1372, -1308, -1244, -1180, -1116, -1052, -988, -924, - -876, -844, -812, -780, -748, -716, -684, -652, - -620, -588, -556, -524, -492, -460, -428, -396, - -372, -356, -340, -324, -308, -292, -276, -260, - -244, -228, -212, -196, -180, -164, -148, -132, - -120, -112, -104, -96, -88, -80, -72, -64, - -56, -48, -40, -32, -24, -16, -8, 0, - 32124, 31100, 30076, 29052, 28028, 27004, 25980, 24956, - 23932, 22908, 21884, 20860, 19836, 18812, 17788, 16764, - 15996, 15484, 14972, 14460, 13948, 13436, 12924, 12412, - 11900, 11388, 10876, 10364, 9852, 9340, 8828, 8316, - 7932, 7676, 7420, 7164, 6908, 6652, 6396, 6140, - 5884, 5628, 5372, 5116, 4860, 4604, 4348, 4092, - 3900, 3772, 3644, 3516, 3388, 3260, 3132, 3004, - 2876, 2748, 2620, 2492, 2364, 2236, 2108, 1980, - 1884, 1820, 1756, 1692, 1628, 1564, 1500, 1436, - 1372, 1308, 1244, 1180, 1116, 1052, 988, 924, - 876, 844, 812, 780, 748, 716, 684, 652, - 620, 588, 556, 524, 492, 460, 428, 396, - 372, 356, 340, 324, 308, 292, 276, 260, - 244, 228, 212, 196, 180, 164, 148, 132, - 120, 112, 104, 96, 88, 80, 72, 64, - 56, 48, 40, 32, 24, 16, 8, 0 -}; - -const pj_int16_t pjmedia_alaw2linear_tab[256] = -{ - -5504, -5248, -6016, -5760, -4480, -4224, -4992, -4736, - -7552, -7296, -8064, -7808, -6528, -6272, -7040, -6784, - -2752, -2624, -3008, -2880, -2240, -2112, -2496, -2368, - -3776, -3648, -4032, -3904, -3264, -3136, -3520, -3392, - -22016,-20992,-24064,-23040,-17920,-16896,-19968,-18944, - -30208,-29184,-32256,-31232,-26112,-25088,-28160,-27136, - -11008,-10496,-12032,-11520, -8960, -8448, -9984, -9472, - -15104,-14592,-16128,-15616,-13056,-12544,-14080,-13568, - -344, -328, -376, -360, -280, -264, -312, -296, - -472, -456, -504, -488, -408, -392, -440, -424, - -88, -72, -120, -104, -24, -8, -56, -40, - -216, -200, -248, -232, -152, -136, -184, -168, - -1376, -1312, -1504, -1440, -1120, -1056, -1248, -1184, - -1888, -1824, -2016, -1952, -1632, -1568, -1760, -1696, - -688, -656, -752, -720, -560, -528, -624, -592, - -944, -912, -1008, -976, -816, -784, -880, -848, - 5504, 5248, 6016, 5760, 4480, 4224, 4992, 4736, - 7552, 7296, 8064, 7808, 6528, 6272, 7040, 6784, - 2752, 2624, 3008, 2880, 2240, 2112, 2496, 2368, - 3776, 3648, 4032, 3904, 3264, 3136, 3520, 3392, - 22016, 20992, 24064, 23040, 17920, 16896, 19968, 18944, - 30208, 29184, 32256, 31232, 26112, 25088, 28160, 27136, - 11008, 10496, 12032, 11520, 8960, 8448, 9984, 9472, - 15104, 14592, 16128, 15616, 13056, 12544, 14080, 13568, - 344, 328, 376, 360, 280, 264, 312, 296, - 472, 456, 504, 488, 408, 392, 440, 424, - 88, 72, 120, 104, 24, 8, 56, 40, - 216, 200, 248, 232, 152, 136, 184, 168, - 1376, 1312, 1504, 1440, 1120, 1056, 1248, 1184, - 1888, 1824, 2016, 1952, 1632, 1568, 1760, 1696, - 688, 656, 752, 720, 560, 528, 624, 592, - 944, 912, 1008, 976, 816, 784, 880, 848 -}; - -#endif - diff --git a/res/pjproject/pjmedia/src/pjmedia/avi_player.c b/res/pjproject/pjmedia/src/pjmedia/avi_player.c deleted file mode 100644 index 306871d80d..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/avi_player.c +++ /dev/null @@ -1,794 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/** - * Default file player/writer buffer size. - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - - -#define THIS_FILE "avi_player.c" - -#define AVIF_MUSTUSEINDEX 0x00000020 -#define AVIF_ISINTERLEAVED 0x00000100 -#define AVISF_DISABLED 0x00000001 -#define AVISF_VIDEO_PALCHANGES 0x00010000 - -#define AVI_EOF 0xFFEEFFEE - -#define COMPARE_TAG(doc_tag, tag) (doc_tag == *((pj_uint32_t *)avi_tags[tag])) - -#define SIGNATURE PJMEDIA_SIG_PORT_VID_AVI_PLAYER - -#define VIDEO_CLOCK_RATE 90000 - -#if 0 -# define TRACE_(x) PJ_LOG(4,x) -#else -# define TRACE_(x) -#endif - -#if defined(PJ_IS_BIG_ENDIAN) && PJ_IS_BIG_ENDIAN!=0 - static void data_to_host(void *data, pj_uint8_t bits, unsigned count) - { - unsigned i; - - count /= (bits == 32? 4 : 2); - - if (bits == 32) { - pj_int32_t *data32 = (pj_int32_t *)data; - for (i=0; i= nsizes) - break; - data_to_host(datap, 16, sizes[i]); - datap += sizes[i]; - } - } -#else -# define data_to_host(data, bits, count) -# define data_to_host2(data, nsizes, sizes) -#endif - -typedef struct avi_fmt_info -{ - pjmedia_format_id fmt_id; - pjmedia_format_id eff_fmt_id; -} avi_fmt_info; - -static avi_fmt_info avi_fmts[] = -{ - {PJMEDIA_FORMAT_MJPEG}, {PJMEDIA_FORMAT_H264}, - {PJMEDIA_FORMAT_UYVY}, {PJMEDIA_FORMAT_YUY2}, - {PJMEDIA_FORMAT_IYUV}, {PJMEDIA_FORMAT_I420}, - {PJMEDIA_FORMAT_DIB}, {PJMEDIA_FORMAT_RGB24}, - {PJMEDIA_FORMAT_RGB32}, - {PJMEDIA_FORMAT_PACK('X','V','I','D'), PJMEDIA_FORMAT_MPEG4}, - {PJMEDIA_FORMAT_PACK('x','v','i','d'), PJMEDIA_FORMAT_MPEG4}, - {PJMEDIA_FORMAT_PACK('D','I','V','X'), PJMEDIA_FORMAT_MPEG4}, - {PJMEDIA_FORMAT_PACK('F','M','P','4'), PJMEDIA_FORMAT_MPEG4}, - {PJMEDIA_FORMAT_PACK('D','X','5','0'), PJMEDIA_FORMAT_MPEG4} -}; - -struct pjmedia_avi_streams -{ - unsigned num_streams; - pjmedia_port **streams; -}; - -struct avi_reader_port -{ - pjmedia_port base; - unsigned stream_id; - unsigned options; - pjmedia_format_id fmt_id; - unsigned usec_per_frame; - pj_uint16_t bits_per_sample; - pj_bool_t eof; - pj_off_t fsize; - pj_off_t start_data; - pj_uint8_t pad; - pj_oshandle_t fd; - pj_ssize_t size_left; - pj_timestamp next_ts; - - pj_status_t (*cb)(pjmedia_port*, void*); -}; - - -static pj_status_t avi_get_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t avi_on_destroy(pjmedia_port *this_port); - -static struct avi_reader_port *create_avi_port(pj_pool_t *pool) -{ - const pj_str_t name = pj_str("file"); - struct avi_reader_port *port; - - port = PJ_POOL_ZALLOC_T(pool, struct avi_reader_port); - if (!port) - return NULL; - - /* Put in default values. - * These will be overriden once the file is read. - */ - pjmedia_port_info_init(&port->base.info, &name, SIGNATURE, - 8000, 1, 16, 80); - - port->fd = (pj_oshandle_t)-1; - port->base.get_frame = &avi_get_frame; - port->base.on_destroy = &avi_on_destroy; - - return port; -} - -#define file_read(fd, data, size) file_read2(fd, data, size, 32) -#define file_read2(fd, data, size, bits) file_read3(fd, data, size, bits, NULL) - -static pj_status_t file_read3(pj_oshandle_t fd, void *data, pj_ssize_t size, - pj_uint16_t bits, pj_ssize_t *psz_read) -{ - pj_ssize_t size_read = size, size_to_read = size; - pj_status_t status = pj_file_read(fd, data, &size_read); - if (status != PJ_SUCCESS) - return status; - - /* Normalize AVI header fields values from little-endian to host - * byte order. - */ - if (bits > 0) - data_to_host(data, bits, size_read); - - if (size_read != size_to_read) { - if (psz_read) - *psz_read = size_read; - return AVI_EOF; - } - - return status; -} - -/* - * Create AVI player port. - */ -PJ_DEF(pj_status_t) -pjmedia_avi_player_create_streams(pj_pool_t *pool, - const char *filename, - unsigned options, - pjmedia_avi_streams **p_streams) -{ - pjmedia_avi_hdr avi_hdr; - struct avi_reader_port *fport[PJMEDIA_AVI_MAX_NUM_STREAMS]; - pj_off_t pos; - unsigned i, nstr = 0; - pj_status_t status = PJ_SUCCESS; - - /* Check arguments. */ - PJ_ASSERT_RETURN(pool && filename && p_streams, PJ_EINVAL); - - /* Check the file really exists. */ - if (!pj_file_exists(filename)) { - return PJ_ENOTFOUND; - } - - /* Create fport instance. */ - fport[0] = create_avi_port(pool); - if (!fport[0]) { - return PJ_ENOMEM; - } - - /* Get the file size. */ - fport[0]->fsize = pj_file_size(filename); - - /* Size must be more than AVI header size */ - if (fport[0]->fsize <= sizeof(riff_hdr_t) + sizeof(avih_hdr_t) + - sizeof(strl_hdr_t)) - { - return PJMEDIA_EINVALIMEDIATYPE; - } - - /* Open file. */ - status = pj_file_open(pool, filename, PJ_O_RDONLY, &fport[0]->fd); - if (status != PJ_SUCCESS) - return status; - - /* Read the RIFF + AVIH header. */ - status = file_read(fport[0]->fd, &avi_hdr, - sizeof(riff_hdr_t) + sizeof(avih_hdr_t)); - if (status != PJ_SUCCESS) - goto on_error; - - /* Validate AVI file. */ - if (!COMPARE_TAG(avi_hdr.riff_hdr.riff, PJMEDIA_AVI_RIFF_TAG) || - !COMPARE_TAG(avi_hdr.riff_hdr.avi, PJMEDIA_AVI_AVI_TAG) || - !COMPARE_TAG(avi_hdr.avih_hdr.list_tag, PJMEDIA_AVI_LIST_TAG) || - !COMPARE_TAG(avi_hdr.avih_hdr.hdrl_tag, PJMEDIA_AVI_HDRL_TAG) || - !COMPARE_TAG(avi_hdr.avih_hdr.avih, PJMEDIA_AVI_AVIH_TAG)) - { - status = PJMEDIA_EINVALIMEDIATYPE; - goto on_error; - } - - PJ_LOG(5, (THIS_FILE, "The AVI file has %d streams.", - avi_hdr.avih_hdr.num_streams)); - - /* Unsupported AVI format. */ - if (avi_hdr.avih_hdr.num_streams > PJMEDIA_AVI_MAX_NUM_STREAMS) { - status = PJMEDIA_EAVIUNSUPP; - goto on_error; - } - - /** - * TODO: Possibly unsupported AVI format. - * If you encounter this warning, verify whether the avi player - * is working properly. - */ - if (avi_hdr.avih_hdr.flags & AVIF_MUSTUSEINDEX || - avi_hdr.avih_hdr.pad > 1) - { - PJ_LOG(3, (THIS_FILE, "Warning!!! Possibly unsupported AVI format: " - "flags:%d, pad:%d", avi_hdr.avih_hdr.flags, - avi_hdr.avih_hdr.pad)); - } - - /* Read the headers of each stream. */ - for (i = 0; i < avi_hdr.avih_hdr.num_streams; i++) { - pj_size_t elem = 0; - pj_ssize_t size_to_read; - - /* Read strl header */ - status = file_read(fport[0]->fd, &avi_hdr.strl_hdr[i], - sizeof(strl_hdr_t)); - if (status != PJ_SUCCESS) - goto on_error; - - elem = COMPARE_TAG(avi_hdr.strl_hdr[i].data_type, - PJMEDIA_AVI_VIDS_TAG) ? - sizeof(strf_video_hdr_t) : - COMPARE_TAG(avi_hdr.strl_hdr[i].data_type, - PJMEDIA_AVI_AUDS_TAG) ? - sizeof(strf_audio_hdr_t) : 0; - - /* Read strf header */ - status = file_read2(fport[0]->fd, &avi_hdr.strf_hdr[i], - elem, 0); - if (status != PJ_SUCCESS) - goto on_error; - - /* Normalize the endian */ - if (elem == sizeof(strf_video_hdr_t)) - data_to_host2(&avi_hdr.strf_hdr[i], - sizeof(strf_video_hdr_sizes)/ - sizeof(strf_video_hdr_sizes[0]), - strf_video_hdr_sizes); - else if (elem == sizeof(strf_audio_hdr_t)) - data_to_host2(&avi_hdr.strf_hdr[i], - sizeof(strf_audio_hdr_sizes)/ - sizeof(strf_audio_hdr_sizes[0]), - strf_audio_hdr_sizes); - - /* Skip the remainder of the header */ - size_to_read = avi_hdr.strl_hdr[i].list_sz - (sizeof(strl_hdr_t) - - 8) - elem; - status = pj_file_setpos(fport[0]->fd, size_to_read, PJ_SEEK_CUR); - if (status != PJ_SUCCESS) { - goto on_error; - } - } - - /* Finish reading the AVIH header */ - status = pj_file_setpos(fport[0]->fd, avi_hdr.avih_hdr.list_sz + - sizeof(riff_hdr_t) + 8, PJ_SEEK_SET); - if (status != PJ_SUCCESS) { - goto on_error; - } - - /* Skip any JUNK or LIST INFO until we get MOVI tag */ - do { - pjmedia_avi_subchunk ch; - int read = 0; - - status = file_read(fport[0]->fd, &ch, sizeof(pjmedia_avi_subchunk)); - if (status != PJ_SUCCESS) { - goto on_error; - } - - if (COMPARE_TAG(ch.id, PJMEDIA_AVI_LIST_TAG)) - { - read = 4; - status = file_read(fport[0]->fd, &ch, read); - if (COMPARE_TAG(ch.id, PJMEDIA_AVI_MOVI_TAG)) - break; - } - - status = pj_file_setpos(fport[0]->fd, ch.len-read, PJ_SEEK_CUR); - if (status != PJ_SUCCESS) { - goto on_error; - } - } while(1); - - status = pj_file_getpos(fport[0]->fd, &pos); - if (status != PJ_SUCCESS) - goto on_error; - - for (i = 0, nstr = 0; i < avi_hdr.avih_hdr.num_streams; i++) { - pjmedia_format_id fmt_id; - - /* Skip non-audio, non-video, or disabled streams) */ - if ((!COMPARE_TAG(avi_hdr.strl_hdr[i].data_type, - PJMEDIA_AVI_VIDS_TAG) && - !COMPARE_TAG(avi_hdr.strl_hdr[i].data_type, - PJMEDIA_AVI_AUDS_TAG)) || - avi_hdr.strl_hdr[i].flags & AVISF_DISABLED) - { - continue; - } - - if (COMPARE_TAG(avi_hdr.strl_hdr[i].data_type, - PJMEDIA_AVI_VIDS_TAG)) - { - int j; - - if (avi_hdr.strl_hdr[i].flags & AVISF_VIDEO_PALCHANGES) { - PJ_LOG(4, (THIS_FILE, "Unsupported video stream")); - continue; - } - - fmt_id = avi_hdr.strl_hdr[i].codec; - for (j = sizeof(avi_fmts)/sizeof(avi_fmts[0])-1; j >= 0; j--) { - /* Check supported video formats here */ - if (fmt_id == avi_fmts[j].fmt_id) { - if (avi_fmts[j].eff_fmt_id) - fmt_id = avi_fmts[j].eff_fmt_id; - break; - } - } - - if (j < 0) { - PJ_LOG(4, (THIS_FILE, "Unsupported video stream")); - continue; - } - } else { - /* Check supported audio formats here */ - if ((avi_hdr.strl_hdr[i].codec != PJMEDIA_FORMAT_PCM && - avi_hdr.strl_hdr[i].codec != PJMEDIA_FORMAT_ALAW && - avi_hdr.strl_hdr[i].codec != PJMEDIA_FORMAT_ULAW && - avi_hdr.strl_hdr[i].codec != PJMEDIA_WAVE_FMT_TAG_PCM) || - avi_hdr.strf_hdr[i].strf_audio_hdr.bits_per_sample != 16) - { - PJ_LOG(4, (THIS_FILE, "Unsupported audio stream")); - continue; - } - /* Normalize format ID */ - fmt_id = avi_hdr.strl_hdr[i].codec; - if (avi_hdr.strl_hdr[i].codec == PJMEDIA_WAVE_FMT_TAG_PCM) - fmt_id = PJMEDIA_FORMAT_PCM; - } - - if (nstr > 0) { - /* Create fport instance. */ - fport[nstr] = create_avi_port(pool); - if (!fport[nstr]) { - status = PJ_ENOMEM; - goto on_error; - } - - /* Open file. */ - status = pj_file_open(pool, filename, PJ_O_RDONLY, - &fport[nstr]->fd); - if (status != PJ_SUCCESS) - goto on_error; - - /* Set the file position */ - status = pj_file_setpos(fport[nstr]->fd, pos, PJ_SEEK_SET); - if (status != PJ_SUCCESS) { - goto on_error; - } - } - - fport[nstr]->stream_id = i; - fport[nstr]->fmt_id = fmt_id; - - nstr++; - } - - if (nstr == 0) { - status = PJMEDIA_EAVIUNSUPP; - goto on_error; - } - - for (i = 0; i < nstr; i++) { - strl_hdr_t *strl_hdr = &avi_hdr.strl_hdr[fport[i]->stream_id]; - - /* Initialize */ - fport[i]->options = options; - fport[i]->fsize = fport[0]->fsize; - /* Current file position now points to start of data */ - fport[i]->start_data = pos; - - if (COMPARE_TAG(strl_hdr->data_type, PJMEDIA_AVI_VIDS_TAG)) { - strf_video_hdr_t *strf_hdr = - &avi_hdr.strf_hdr[fport[i]->stream_id].strf_video_hdr; - const pjmedia_video_format_info *vfi; - - vfi = pjmedia_get_video_format_info( - pjmedia_video_format_mgr_instance(), - strl_hdr->codec); - - fport[i]->bits_per_sample = (vfi ? vfi->bpp : 0); - fport[i]->usec_per_frame = avi_hdr.avih_hdr.usec_per_frame; - pjmedia_format_init_video(&fport[i]->base.info.fmt, - fport[i]->fmt_id, - strf_hdr->biWidth, - strf_hdr->biHeight, - strl_hdr->rate, - strl_hdr->scale); -#if 0 - /* The calculation below is wrong. strf_hdr->biSizeImage shows - * uncompressed size. Looks like we need to go the ugly way to - * get the bitrage: - * http://www.virtualdub.org/blog/pivot/entry.php?id=159 - */ - bps = strf_hdr->biSizeImage * 8 * strl_hdr->rate / strl_hdr->scale; - if (bps==0) { - /* strf_hdr->biSizeImage may be zero for uncompressed RGB */ - bps = strf_hdr->biWidth * strf_hdr->biHeight * - strf_hdr->biBitCount * - strl_hdr->rate / strl_hdr->scale; - } - fport[i]->base.info.fmt.det.vid.avg_bps = bps; - fport[i]->base.info.fmt.det.vid.max_bps = bps; -#endif - } else { - strf_audio_hdr_t *strf_hdr = - &avi_hdr.strf_hdr[fport[i]->stream_id].strf_audio_hdr; - - fport[i]->bits_per_sample = strf_hdr->bits_per_sample; - fport[i]->usec_per_frame = avi_hdr.avih_hdr.usec_per_frame; - pjmedia_format_init_audio(&fport[i]->base.info.fmt, - fport[i]->fmt_id, - strf_hdr->sample_rate, - strf_hdr->nchannels, - strf_hdr->bits_per_sample, - 20000 /* fport[i]->usec_per_frame */, - strf_hdr->bytes_per_sec * 8, - strf_hdr->bytes_per_sec * 8); - } - - pj_strdup2(pool, &fport[i]->base.info.name, filename); - } - - /* Done. */ - *p_streams = pj_pool_alloc(pool, sizeof(pjmedia_avi_streams)); - (*p_streams)->num_streams = nstr; - (*p_streams)->streams = pj_pool_calloc(pool, (*p_streams)->num_streams, - sizeof(pjmedia_port *)); - for (i = 0; i < nstr; i++) - (*p_streams)->streams[i] = &fport[i]->base; - - PJ_LOG(4,(THIS_FILE, - "AVI file player '%.*s' created with " - "%d media ports", - (int)fport[0]->base.info.name.slen, - fport[0]->base.info.name.ptr, - (*p_streams)->num_streams)); - - return PJ_SUCCESS; - -on_error: - fport[0]->base.on_destroy(&fport[0]->base); - for (i = 1; i < nstr; i++) - fport[i]->base.on_destroy(&fport[i]->base); - if (status == AVI_EOF) - return PJMEDIA_EINVALIMEDIATYPE; - return status; -} - -PJ_DEF(unsigned) -pjmedia_avi_streams_get_num_streams(pjmedia_avi_streams *streams) -{ - pj_assert(streams); - return streams->num_streams; -} - -PJ_DEF(pjmedia_avi_stream *) -pjmedia_avi_streams_get_stream(pjmedia_avi_streams *streams, - unsigned idx) -{ - pj_assert(streams); - return (idx >=0 && idx < streams->num_streams ? - streams->streams[idx] : NULL); -} - -PJ_DEF(pjmedia_avi_stream *) -pjmedia_avi_streams_get_stream_by_media(pjmedia_avi_streams *streams, - unsigned start_idx, - pjmedia_type media_type) -{ - unsigned i; - - pj_assert(streams); - for (i = start_idx; i < streams->num_streams; i++) - if (streams->streams[i]->info.fmt.type == media_type) - return streams->streams[i]; - return NULL; -} - - -/* - * Get the data length, in bytes. - */ -PJ_DEF(pj_ssize_t) pjmedia_avi_stream_get_len(pjmedia_avi_stream *stream) -{ - struct avi_reader_port *fport; - - /* Sanity check */ - PJ_ASSERT_RETURN(stream, -PJ_EINVAL); - - /* Check that this is really a player port */ - PJ_ASSERT_RETURN(stream->info.signature == SIGNATURE, -PJ_EINVALIDOP); - - fport = (struct avi_reader_port*) stream; - - return (pj_ssize_t)(fport->fsize - fport->start_data); -} - - -/* - * Register a callback to be called when the file reading has reached the - * end of file. - */ -PJ_DEF(pj_status_t) -pjmedia_avi_stream_set_eof_cb( pjmedia_avi_stream *stream, - void *user_data, - pj_status_t (*cb)(pjmedia_avi_stream *stream, - void *usr_data)) -{ - struct avi_reader_port *fport; - - /* Sanity check */ - PJ_ASSERT_RETURN(stream, -PJ_EINVAL); - - /* Check that this is really a player port */ - PJ_ASSERT_RETURN(stream->info.signature == SIGNATURE, -PJ_EINVALIDOP); - - fport = (struct avi_reader_port*) stream; - - fport->base.port_data.pdata = user_data; - fport->cb = cb; - - return PJ_SUCCESS; -} - - -/* - * Get frame from file. - */ -static pj_status_t avi_get_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct avi_reader_port *fport = (struct avi_reader_port*)this_port; - pj_status_t status; - pj_ssize_t size_read = 0, size_to_read = 0; - - pj_assert(fport->base.info.signature == SIGNATURE); - - /* We encountered end of file */ - if (fport->eof) { - pj_status_t status = PJ_SUCCESS; - - PJ_LOG(5,(THIS_FILE, "File port %.*s EOF", - (int)fport->base.info.name.slen, - fport->base.info.name.ptr)); - - /* Call callback, if any */ - if (fport->cb) - status = (*fport->cb)(this_port, fport->base.port_data.pdata); - - /* If callback returns non PJ_SUCCESS or 'no loop' is specified, - * return immediately (and don't try to access player port since - * it might have been destroyed by the callback). - */ - if ((status != PJ_SUCCESS) || - (fport->options & PJMEDIA_AVI_FILE_NO_LOOP)) - { - frame->type = PJMEDIA_FRAME_TYPE_NONE; - frame->size = 0; - return PJ_EEOF; - } - - /* Rewind file */ - PJ_LOG(5,(THIS_FILE, "File port %.*s rewinding..", - (int)fport->base.info.name.slen, - fport->base.info.name.ptr)); - fport->eof = PJ_FALSE; - pj_file_setpos(fport->fd, fport->start_data, PJ_SEEK_SET); - } - - /* Fill frame buffer. */ - size_to_read = frame->size; - do { - pjmedia_avi_subchunk ch = {0, 0}; - char *cid; - unsigned stream_id; - - /* We need to read data from the file past the chunk boundary */ - if (fport->size_left > 0 && fport->size_left < size_to_read) { - status = file_read3(fport->fd, frame->buf, fport->size_left, - fport->bits_per_sample, &size_read); - if (status != PJ_SUCCESS) - goto on_error2; - size_to_read -= fport->size_left; - fport->size_left = 0; - } - - /* Read new chunk data */ - if (fport->size_left == 0) { - pj_off_t pos; - pj_file_getpos(fport->fd, &pos); - - /* Data is padded to the nearest WORD boundary */ - if (fport->pad) { - status = pj_file_setpos(fport->fd, fport->pad, PJ_SEEK_CUR); - fport->pad = 0; - } - - status = file_read(fport->fd, &ch, sizeof(pjmedia_avi_subchunk)); - if (status != PJ_SUCCESS) { - size_read = 0; - goto on_error2; - } - - cid = (char *)&ch.id; - if (cid[0] >= '0' && cid[0] <= '9' && - cid[1] >= '0' && cid[1] <= '9') - { - stream_id = (cid[0] - '0') * 10 + (cid[1] - '0'); - } else - stream_id = 100; - fport->pad = (pj_uint8_t)ch.len & 1; - - TRACE_((THIS_FILE, "Reading movi data at pos %u (%x), id: %.*s, " - "length: %u", (unsigned long)pos, - (unsigned long)pos, 4, cid, ch.len)); - - /* We are only interested in data with our stream id */ - if (stream_id != fport->stream_id) { - if (COMPARE_TAG(ch.id, PJMEDIA_AVI_LIST_TAG)) - PJ_LOG(5, (THIS_FILE, "Unsupported LIST tag found in " - "the movi data.")); - else if (COMPARE_TAG(ch.id, PJMEDIA_AVI_RIFF_TAG)) { - PJ_LOG(3, (THIS_FILE, "Unsupported format: multiple " - "AVIs in a single file.")); - status = AVI_EOF; - goto on_error2; - } - - status = pj_file_setpos(fport->fd, ch.len, - PJ_SEEK_CUR); - continue; - } - fport->size_left = ch.len; - } - - frame->type = (fport->base.info.fmt.type == PJMEDIA_TYPE_VIDEO ? - PJMEDIA_FRAME_TYPE_VIDEO : PJMEDIA_FRAME_TYPE_AUDIO); - - if (frame->type == PJMEDIA_FRAME_TYPE_AUDIO) { - if (size_to_read > fport->size_left) - size_to_read = fport->size_left; - status = file_read3(fport->fd, (char *)frame->buf + frame->size - - size_to_read, size_to_read, - fport->bits_per_sample, &size_read); - if (status != PJ_SUCCESS) - goto on_error2; - fport->size_left -= size_to_read; - } else { - pj_assert(frame->size >= ch.len); - status = file_read3(fport->fd, frame->buf, ch.len, - 0, &size_read); - if (status != PJ_SUCCESS) - goto on_error2; - frame->size = ch.len; - fport->size_left = 0; - } - - break; - - } while(1); - - frame->timestamp.u64 = fport->next_ts.u64; - if (frame->type == PJMEDIA_FRAME_TYPE_AUDIO) { - if (fport->usec_per_frame) { - fport->next_ts.u64 += (fport->usec_per_frame * - fport->base.info.fmt.det.aud.clock_rate / - 1000000); - } else { - fport->next_ts.u64 += (frame->size * - fport->base.info.fmt.det.aud.clock_rate / - (fport->base.info.fmt.det.aud.avg_bps / 8)); - } - } else { - if (fport->usec_per_frame) { - fport->next_ts.u64 += (fport->usec_per_frame * VIDEO_CLOCK_RATE / - 1000000); - } else { - fport->next_ts.u64 += (frame->size * VIDEO_CLOCK_RATE / - (fport->base.info.fmt.det.vid.avg_bps / 8)); - } - } - - return PJ_SUCCESS; - -on_error2: - if (status == AVI_EOF) { - size_to_read -= size_read; - pj_bzero((char *)frame->buf + frame->size - size_to_read, - size_to_read); - fport->eof = PJ_TRUE; - - return PJ_SUCCESS; - } - - return status; -} - -/* - * Destroy port. - */ -static pj_status_t avi_on_destroy(pjmedia_port *this_port) -{ - struct avi_reader_port *fport = (struct avi_reader_port*) this_port; - - pj_assert(this_port->info.signature == SIGNATURE); - - if (fport->fd != (pj_oshandle_t) -1) - pj_file_close(fport->fd); - return PJ_SUCCESS; -} - - -#endif /* PJMEDIA_HAS_VIDEO */ diff --git a/res/pjproject/pjmedia/src/pjmedia/bidirectional.c b/res/pjproject/pjmedia/src/pjmedia/bidirectional.c deleted file mode 100644 index a106d2ddc0..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/bidirectional.c +++ /dev/null @@ -1,78 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - - -#define THIS_FILE "bidirectional.c" -#define SIGNATURE PJMEDIA_SIG_PORT_BIDIR - -struct bidir_port -{ - pjmedia_port base; - pjmedia_port *get_port; - pjmedia_port *put_port; -}; - - -static pj_status_t put_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct bidir_port *p = (struct bidir_port*)this_port; - return pjmedia_port_put_frame(p->put_port, frame); -} - - -static pj_status_t get_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct bidir_port *p = (struct bidir_port*)this_port; - return pjmedia_port_get_frame(p->get_port, frame); -} - - -PJ_DEF(pj_status_t) pjmedia_bidirectional_port_create( pj_pool_t *pool, - pjmedia_port *get_port, - pjmedia_port *put_port, - pjmedia_port **p_port ) -{ - struct bidir_port *port; - const pjmedia_audio_format_detail *gafd; - - port = PJ_POOL_ZALLOC_T(pool, struct bidir_port); - gafd = pjmedia_format_get_audio_format_detail(&get_port->info.fmt, 1); - - pjmedia_port_info_init(&port->base.info, &get_port->info.name, SIGNATURE, - gafd->clock_rate, - gafd->channel_count, - gafd->bits_per_sample, - PJMEDIA_AFD_SPF(gafd)); - - port->get_port = get_port; - port->put_port = put_port; - - port->base.get_frame = &get_frame; - port->base.put_frame = &put_frame; - - *p_port = &port->base; - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/clock_thread.c b/res/pjproject/pjmedia/src/pjmedia/clock_thread.c deleted file mode 100644 index b4ed2363e9..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/clock_thread.c +++ /dev/null @@ -1,426 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include - -/* API: Init clock source */ -PJ_DEF(pj_status_t) pjmedia_clock_src_init( pjmedia_clock_src *clocksrc, - pjmedia_type media_type, - unsigned clock_rate, - unsigned ptime_usec ) -{ - PJ_ASSERT_RETURN(clocksrc, PJ_EINVAL); - - clocksrc->media_type = media_type; - clocksrc->clock_rate = clock_rate; - clocksrc->ptime_usec = ptime_usec; - pj_set_timestamp32(&clocksrc->timestamp, 0, 0); - pj_get_timestamp(&clocksrc->last_update); - - return PJ_SUCCESS; -} - -/* API: Update clock source */ -PJ_DECL(pj_status_t) pjmedia_clock_src_update( pjmedia_clock_src *clocksrc, - const pj_timestamp *timestamp ) -{ - PJ_ASSERT_RETURN(clocksrc, PJ_EINVAL); - - if (timestamp) - pj_memcpy(&clocksrc->timestamp, timestamp, sizeof(pj_timestamp)); - pj_get_timestamp(&clocksrc->last_update); - - return PJ_SUCCESS; -} - -/* API: Get clock source's current timestamp */ -PJ_DEF(pj_status_t) -pjmedia_clock_src_get_current_timestamp( const pjmedia_clock_src *clocksrc, - pj_timestamp *timestamp) -{ - pj_timestamp now; - unsigned elapsed_ms; - - PJ_ASSERT_RETURN(clocksrc && timestamp, PJ_EINVAL); - - pj_get_timestamp(&now); - elapsed_ms = pj_elapsed_msec(&clocksrc->last_update, &now); - pj_memcpy(timestamp, &clocksrc->timestamp, sizeof(pj_timestamp)); - pj_add_timestamp32(timestamp, elapsed_ms * clocksrc->clock_rate / 1000); - - return PJ_SUCCESS; -} - -/* API: Get clock source's time (in ms) */ -PJ_DEF(pj_uint32_t) -pjmedia_clock_src_get_time_msec( const pjmedia_clock_src *clocksrc ) -{ - pj_timestamp ts; - - pjmedia_clock_src_get_current_timestamp(clocksrc, &ts); - -#if PJ_HAS_INT64 - if (ts.u64 > PJ_UINT64(0x3FFFFFFFFFFFFF)) - return (pj_uint32_t)(ts.u64 / clocksrc->clock_rate * 1000); - else - return (pj_uint32_t)(ts.u64 * 1000 / clocksrc->clock_rate); -#elif PJ_HAS_FLOATING_POINT - return (pj_uint32_t)((1.0 * ts.u32.hi * 0xFFFFFFFFUL + ts.u32.lo) - * 1000.0 / clocksrc->clock_rate); -#else - if (ts.u32.lo > 0x3FFFFFUL) - return (pj_uint32_t)(0xFFFFFFFFUL / clocksrc->clock_rate * ts.u32.hi - * 1000UL + ts.u32.lo / clocksrc->clock_rate * - 1000UL); - else - return (pj_uint32_t)(0xFFFFFFFFUL / clocksrc->clock_rate * ts.u32.hi - * 1000UL + ts.u32.lo * 1000UL / - clocksrc->clock_rate); -#endif -} - - -/* - * Implementation of media clock with OS thread. - */ - -struct pjmedia_clock -{ - pj_pool_t *pool; - pj_timestamp freq; - pj_timestamp interval; - pj_timestamp next_tick; - pj_timestamp timestamp; - unsigned timestamp_inc; - unsigned options; - pj_uint64_t max_jump; - pjmedia_clock_callback *cb; - void *user_data; - pj_thread_t *thread; - pj_bool_t running; - pj_bool_t quitting; - pj_lock_t *lock; -}; - - -static int clock_thread(void *arg); - -#define MAX_JUMP_MSEC 500 -#define USEC_IN_SEC (pj_uint64_t)1000000 - -/* - * Create media clock. - */ -PJ_DEF(pj_status_t) pjmedia_clock_create( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned options, - pjmedia_clock_callback *cb, - void *user_data, - pjmedia_clock **p_clock) -{ - pjmedia_clock_param param; - - param.usec_interval = (unsigned)(samples_per_frame * USEC_IN_SEC / - channel_count / clock_rate); - param.clock_rate = clock_rate; - return pjmedia_clock_create2(pool, ¶m, options, cb, - user_data, p_clock); -} - -PJ_DEF(pj_status_t) pjmedia_clock_create2(pj_pool_t *pool, - const pjmedia_clock_param *param, - unsigned options, - pjmedia_clock_callback *cb, - void *user_data, - pjmedia_clock **p_clock) -{ - pjmedia_clock *clock; - pj_status_t status; - - PJ_ASSERT_RETURN(pool && param->usec_interval && param->clock_rate && - p_clock, PJ_EINVAL); - - pool = pj_pool_create(pool->factory, "clock%p", 512, 512, NULL); - - clock = PJ_POOL_ALLOC_T(pool, pjmedia_clock); - clock->pool = pool; - - status = pj_get_timestamp_freq(&clock->freq); - if (status != PJ_SUCCESS) - return status; - - clock->interval.u64 = param->usec_interval * clock->freq.u64 / - USEC_IN_SEC; - clock->next_tick.u64 = 0; - clock->timestamp.u64 = 0; - clock->max_jump = MAX_JUMP_MSEC * clock->freq.u64 / 1000; - clock->timestamp_inc = (unsigned)(param->usec_interval * - param->clock_rate / - USEC_IN_SEC); - clock->options = options; - clock->cb = cb; - clock->user_data = user_data; - clock->thread = NULL; - clock->running = PJ_FALSE; - clock->quitting = PJ_FALSE; - - /* I don't think we need a mutex, so we'll use null. */ - status = pj_lock_create_null_mutex(pool, "clock", &clock->lock); - if (status != PJ_SUCCESS) - return status; - - *p_clock = clock; - - return PJ_SUCCESS; -} - - -/* - * Start the clock. - */ -PJ_DEF(pj_status_t) pjmedia_clock_start(pjmedia_clock *clock) -{ - pj_timestamp now; - pj_status_t status; - - PJ_ASSERT_RETURN(clock != NULL, PJ_EINVAL); - - if (clock->running) - return PJ_SUCCESS; - - status = pj_get_timestamp(&now); - if (status != PJ_SUCCESS) - return status; - - clock->next_tick.u64 = now.u64 + clock->interval.u64; - clock->running = PJ_TRUE; - clock->quitting = PJ_FALSE; - - if ((clock->options & PJMEDIA_CLOCK_NO_ASYNC) == 0 && !clock->thread) { - status = pj_thread_create(clock->pool, "clock", &clock_thread, clock, - 0, 0, &clock->thread); - if (status != PJ_SUCCESS) { - pj_lock_destroy(clock->lock); - return status; - } - } - - return PJ_SUCCESS; -} - - -/* - * Stop the clock. - */ -PJ_DEF(pj_status_t) pjmedia_clock_stop(pjmedia_clock *clock) -{ - PJ_ASSERT_RETURN(clock != NULL, PJ_EINVAL); - - clock->running = PJ_FALSE; - clock->quitting = PJ_TRUE; - - if (clock->thread) { - if (pj_thread_join(clock->thread) == PJ_SUCCESS) { - clock->thread = NULL; - } else { - clock->quitting = PJ_FALSE; - } - } - - return PJ_SUCCESS; -} - - -/* - * Update the clock. - */ -PJ_DEF(pj_status_t) pjmedia_clock_modify(pjmedia_clock *clock, - const pjmedia_clock_param *param) -{ - clock->interval.u64 = param->usec_interval * clock->freq.u64 / - USEC_IN_SEC; - clock->timestamp_inc = (unsigned)(param->usec_interval * - param->clock_rate / - USEC_IN_SEC); - - return PJ_SUCCESS; -} - - -/* Calculate next tick */ -PJ_INLINE(void) clock_calc_next_tick(pjmedia_clock *clock, - pj_timestamp *now) -{ - if (clock->next_tick.u64+clock->max_jump < now->u64) { - /* Timestamp has made large jump, adjust next_tick */ - clock->next_tick.u64 = now->u64; - } - clock->next_tick.u64 += clock->interval.u64; - -} - -/* - * Poll the clock. - */ -PJ_DEF(pj_bool_t) pjmedia_clock_wait( pjmedia_clock *clock, - pj_bool_t wait, - pj_timestamp *ts) -{ - pj_timestamp now; - pj_status_t status; - - PJ_ASSERT_RETURN(clock != NULL, PJ_FALSE); - PJ_ASSERT_RETURN((clock->options & PJMEDIA_CLOCK_NO_ASYNC) != 0, - PJ_FALSE); - PJ_ASSERT_RETURN(clock->running, PJ_FALSE); - - status = pj_get_timestamp(&now); - if (status != PJ_SUCCESS) - return PJ_FALSE; - - /* Wait for the next tick to happen */ - if (now.u64 < clock->next_tick.u64) { - unsigned msec; - - if (!wait) - return PJ_FALSE; - - msec = pj_elapsed_msec(&now, &clock->next_tick); - pj_thread_sleep(msec); - } - - /* Call callback, if any */ - if (clock->cb) - (*clock->cb)(&clock->timestamp, clock->user_data); - - /* Report timestamp to caller */ - if (ts) - ts->u64 = clock->timestamp.u64; - - /* Increment timestamp */ - clock->timestamp.u64 += clock->timestamp_inc; - - /* Calculate next tick */ - clock_calc_next_tick(clock, &now); - - /* Done */ - return PJ_TRUE; -} - - -/* - * Clock thread - */ -static int clock_thread(void *arg) -{ - pj_timestamp now; - pjmedia_clock *clock = (pjmedia_clock*) arg; - - /* Set thread priority to maximum unless not wanted. */ - if ((clock->options & PJMEDIA_CLOCK_NO_HIGHEST_PRIO) == 0) { - int max = pj_thread_get_prio_max(pj_thread_this()); - if (max > 0) - pj_thread_set_prio(pj_thread_this(), max); - } - - /* Get the first tick */ - pj_get_timestamp(&clock->next_tick); - clock->next_tick.u64 += clock->interval.u64; - - - while (!clock->quitting) { - - pj_get_timestamp(&now); - - /* Wait for the next tick to happen */ - if (now.u64 < clock->next_tick.u64) { - unsigned msec; - msec = pj_elapsed_msec(&now, &clock->next_tick); - pj_thread_sleep(msec); - } - - /* Skip if not running */ - if (!clock->running) { - /* Calculate next tick */ - clock_calc_next_tick(clock, &now); - continue; - } - - pj_lock_acquire(clock->lock); - - /* Call callback, if any */ - if (clock->cb) - (*clock->cb)(&clock->timestamp, clock->user_data); - - /* Best effort way to detect if we've been destroyed in the callback */ - if (clock->quitting) - break; - - /* Increment timestamp */ - clock->timestamp.u64 += clock->timestamp_inc; - - /* Calculate next tick */ - clock_calc_next_tick(clock, &now); - - pj_lock_release(clock->lock); - } - - return 0; -} - - -/* - * Destroy the clock. - */ -PJ_DEF(pj_status_t) pjmedia_clock_destroy(pjmedia_clock *clock) -{ - PJ_ASSERT_RETURN(clock != NULL, PJ_EINVAL); - - clock->running = PJ_FALSE; - clock->quitting = PJ_TRUE; - - if (clock->thread) { - pj_thread_join(clock->thread); - pj_thread_destroy(clock->thread); - clock->thread = NULL; - } - - if (clock->lock) { - pj_lock_destroy(clock->lock); - clock->lock = NULL; - } - - if (clock->pool) { - pj_pool_t *pool = clock->pool; - clock->pool = NULL; - pj_pool_release(pool); - } - return PJ_SUCCESS; -} - - diff --git a/res/pjproject/pjmedia/src/pjmedia/codec.c b/res/pjproject/pjmedia/src/pjmedia/codec.c deleted file mode 100644 index 111ad0c705..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/codec.c +++ /dev/null @@ -1,639 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "codec.c" - - - -/* Definition of default codecs parameters */ -struct pjmedia_codec_default_param -{ - pj_pool_t *pool; - pjmedia_codec_param *param; -}; - - -/* Sort codecs in codec manager based on priorities */ -static void sort_codecs(pjmedia_codec_mgr *mgr); - - -/* - * Initialize codec manager. - */ -PJ_DEF(pj_status_t) pjmedia_codec_mgr_init (pjmedia_codec_mgr *mgr, - pj_pool_factory *pf) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(mgr && pf, PJ_EINVAL); - - /* Init codec manager */ - pj_bzero(mgr, sizeof(pjmedia_codec_mgr)); - mgr->pf = pf; - pj_list_init (&mgr->factory_list); - mgr->codec_cnt = 0; - - /* Create pool */ - mgr->pool = pj_pool_create(mgr->pf, "codec-mgr", 256, 256, NULL); - - /* Create mutex */ - status = pj_mutex_create_recursive(mgr->pool, "codec-mgr", &mgr->mutex); - if (status != PJ_SUCCESS) - return status; - - return PJ_SUCCESS; -} - -/* - * Initialize codec manager. - */ -PJ_DEF(pj_status_t) pjmedia_codec_mgr_destroy (pjmedia_codec_mgr *mgr) -{ - pjmedia_codec_factory *factory; - unsigned i; - - PJ_ASSERT_RETURN(mgr, PJ_EINVAL); - - /* Destroy all factories in the list */ - factory = mgr->factory_list.next; - while (factory != &mgr->factory_list) { - pjmedia_codec_factory *next = factory->next; - (*factory->op->destroy)(); - factory = next; - } - - /* Cleanup all pools of all codec default params */ - for (i=0; icodec_cnt; ++i) { - if (mgr->codec_desc[i].param) { - pj_assert(mgr->codec_desc[i].param->pool); - pj_pool_release(mgr->codec_desc[i].param->pool); - } - } - - /* Destroy mutex */ - if (mgr->mutex) - pj_mutex_destroy(mgr->mutex); - - /* Release pool */ - if (mgr->pool) - pj_pool_release(mgr->pool); - - /* Just for safety, set codec manager states to zero */ - pj_bzero(mgr, sizeof(pjmedia_codec_mgr)); - - return PJ_SUCCESS; -} - - -/* - * Register a codec factory. - */ -PJ_DEF(pj_status_t) pjmedia_codec_mgr_register_factory( pjmedia_codec_mgr *mgr, - pjmedia_codec_factory *factory) -{ - pjmedia_codec_info info[PJMEDIA_CODEC_MGR_MAX_CODECS]; - unsigned i, count; - pj_status_t status; - - PJ_ASSERT_RETURN(mgr && factory, PJ_EINVAL); - - /* Since 2.0 we require codec factory to implement "destroy" op. Please - * see: https://trac.pjsip.org/repos/ticket/1294 - * - * Really! Please do see it. - */ - PJ_ASSERT_RETURN(factory->op->destroy != NULL, PJ_ENOTSUP); - - /* Enum codecs */ - count = PJ_ARRAY_SIZE(info); - status = factory->op->enum_info(factory, &count, info); - if (status != PJ_SUCCESS) - return status; - - pj_mutex_lock(mgr->mutex); - - /* Check codec count */ - if (count + mgr->codec_cnt > PJ_ARRAY_SIZE(mgr->codec_desc)) { - pj_mutex_unlock(mgr->mutex); - return PJ_ETOOMANY; - } - - - /* Save the codecs */ - for (i=0; icodec_desc[mgr->codec_cnt+i], - &info[i], sizeof(pjmedia_codec_info)); - mgr->codec_desc[mgr->codec_cnt+i].prio = PJMEDIA_CODEC_PRIO_NORMAL; - mgr->codec_desc[mgr->codec_cnt+i].factory = factory; - pjmedia_codec_info_to_id( &info[i], - mgr->codec_desc[mgr->codec_cnt+i].id, - sizeof(pjmedia_codec_id)); - } - - /* Update count */ - mgr->codec_cnt += count; - - /* Re-sort codec based on priorities */ - sort_codecs(mgr); - - /* Add factory to the list */ - pj_list_push_back(&mgr->factory_list, factory); - - pj_mutex_unlock(mgr->mutex); - - return PJ_SUCCESS; -} - - -/* - * Unregister a codec factory. - */ -PJ_DEF(pj_status_t) pjmedia_codec_mgr_unregister_factory( - pjmedia_codec_mgr *mgr, - pjmedia_codec_factory *factory) -{ - unsigned i; - PJ_ASSERT_RETURN(mgr && factory, PJ_EINVAL); - - pj_mutex_lock(mgr->mutex); - - /* Factory must be registered. */ - if (pj_list_find_node(&mgr->factory_list, factory) != factory) { - pj_mutex_unlock(mgr->mutex); - return PJ_ENOTFOUND; - } - - /* Erase factory from the factory list */ - pj_list_erase(factory); - - - /* Remove all supported codecs from the codec manager that were created - * by the specified factory. - */ - for (i=0; icodec_cnt; ) { - - if (mgr->codec_desc[i].factory == factory) { - /* Release pool of codec default param */ - if (mgr->codec_desc[i].param) { - pj_assert(mgr->codec_desc[i].param->pool); - pj_pool_release(mgr->codec_desc[i].param->pool); - } - - /* Remove the codec from array of codec descriptions */ - pj_array_erase(mgr->codec_desc, sizeof(mgr->codec_desc[0]), - mgr->codec_cnt, i); - --mgr->codec_cnt; - - } else { - ++i; - } - } - - pj_mutex_unlock(mgr->mutex); - - return PJ_SUCCESS; -} - - -/* - * Enum all codecs. - */ -PJ_DEF(pj_status_t) pjmedia_codec_mgr_enum_codecs(pjmedia_codec_mgr *mgr, - unsigned *count, - pjmedia_codec_info codecs[], - unsigned *prio) -{ - unsigned i; - - PJ_ASSERT_RETURN(mgr && count && codecs, PJ_EINVAL); - - pj_mutex_lock(mgr->mutex); - - if (*count > mgr->codec_cnt) - *count = mgr->codec_cnt; - - for (i=0; i<*count; ++i) { - pj_memcpy(&codecs[i], - &mgr->codec_desc[i].info, - sizeof(pjmedia_codec_info)); - } - - if (prio) { - for (i=0; i < *count; ++i) - prio[i] = mgr->codec_desc[i].prio; - } - - pj_mutex_unlock(mgr->mutex); - - return PJ_SUCCESS; -} - - -/* - * Get codec info for static payload type. - */ -PJ_DEF(pj_status_t) pjmedia_codec_mgr_get_codec_info( pjmedia_codec_mgr *mgr, - unsigned pt, - const pjmedia_codec_info **p_info) -{ - unsigned i; - - PJ_ASSERT_RETURN(mgr && p_info && pt>=0 && pt < 96, PJ_EINVAL); - - pj_mutex_lock(mgr->mutex); - - for (i=0; icodec_cnt; ++i) { - if (mgr->codec_desc[i].info.pt == pt) { - *p_info = &mgr->codec_desc[i].info; - - pj_mutex_unlock(mgr->mutex); - return PJ_SUCCESS; - } - } - - pj_mutex_unlock(mgr->mutex); - - return PJMEDIA_CODEC_EUNSUP; -} - - -/* - * Convert codec info struct into a unique codec identifier. - * A codec identifier looks something like "L16/44100/2". - */ -PJ_DEF(char*) pjmedia_codec_info_to_id( const pjmedia_codec_info *info, - char *id, unsigned max_len ) -{ - int len; - - PJ_ASSERT_RETURN(info && id && max_len, NULL); - - len = pj_ansi_snprintf(id, max_len, "%.*s/%u/%u", - (int)info->encoding_name.slen, - info->encoding_name.ptr, - info->clock_rate, - info->channel_cnt); - - if (len < 1 || len >= (int)max_len) { - id[0] = '\0'; - return NULL; - } - - return id; -} - - -/* - * Find codecs by the unique codec identifier. This function will find - * all codecs that match the codec identifier prefix. For example, if - * "L16" is specified, then it will find "L16/8000/1", "L16/16000/1", - * and so on, up to the maximum count specified in the argument. - */ -PJ_DEF(pj_status_t) pjmedia_codec_mgr_find_codecs_by_id( pjmedia_codec_mgr *mgr, - const pj_str_t *codec_id, - unsigned *count, - const pjmedia_codec_info *p_info[], - unsigned prio[]) -{ - unsigned i, found = 0; - - PJ_ASSERT_RETURN(mgr && codec_id && count && *count, PJ_EINVAL); - - pj_mutex_lock(mgr->mutex); - - for (i=0; icodec_cnt; ++i) { - - if (codec_id->slen == 0 || - pj_strnicmp2(codec_id, mgr->codec_desc[i].id, - codec_id->slen) == 0) - { - - if (p_info) - p_info[found] = &mgr->codec_desc[i].info; - if (prio) - prio[found] = mgr->codec_desc[i].prio; - - ++found; - - if (found >= *count) - break; - } - - } - - pj_mutex_unlock(mgr->mutex); - - *count = found; - - return found ? PJ_SUCCESS : PJ_ENOTFOUND; -} - - -/* Swap two codecs positions in codec manager */ -static void swap_codec(pjmedia_codec_mgr *mgr, unsigned i, unsigned j) -{ - struct pjmedia_codec_desc tmp; - - pj_memcpy(&tmp, &mgr->codec_desc[i], sizeof(struct pjmedia_codec_desc)); - - pj_memcpy(&mgr->codec_desc[i], &mgr->codec_desc[j], - sizeof(struct pjmedia_codec_desc)); - - pj_memcpy(&mgr->codec_desc[j], &tmp, sizeof(struct pjmedia_codec_desc)); -} - - -/* Sort codecs in codec manager based on priorities */ -static void sort_codecs(pjmedia_codec_mgr *mgr) -{ - unsigned i; - - /* Re-sort */ - for (i=0; icodec_cnt; ++i) { - unsigned j, max; - - for (max=i, j=i+1; jcodec_cnt; ++j) { - if (mgr->codec_desc[j].prio > mgr->codec_desc[max].prio) - max = j; - } - - if (max != i) - swap_codec(mgr, i, max); - } - - /* Change PJMEDIA_CODEC_PRIO_HIGHEST codecs to NEXT_HIGHER */ - for (i=0; icodec_cnt; ++i) { - if (mgr->codec_desc[i].prio == PJMEDIA_CODEC_PRIO_HIGHEST) - mgr->codec_desc[i].prio = PJMEDIA_CODEC_PRIO_NEXT_HIGHER; - else - break; - } -} - - -/** - * Set codec priority. The codec priority determines the order of - * the codec in the SDP created by the endpoint. If more than one codecs - * are found with the same codec_id prefix, then the function sets the - * priorities of all those codecs. - */ -PJ_DEF(pj_status_t) pjmedia_codec_mgr_set_codec_priority( - pjmedia_codec_mgr *mgr, - const pj_str_t *codec_id, - pj_uint8_t prio) -{ - unsigned i, found = 0; - - PJ_ASSERT_RETURN(mgr && codec_id, PJ_EINVAL); - - pj_mutex_lock(mgr->mutex); - - /* Update the priorities of affected codecs */ - for (i=0; icodec_cnt; ++i) - { - if (codec_id->slen == 0 || - pj_strnicmp2(codec_id, mgr->codec_desc[i].id, - codec_id->slen) == 0) - { - mgr->codec_desc[i].prio = (pjmedia_codec_priority) prio; - ++found; - } - } - - if (!found) { - pj_mutex_unlock(mgr->mutex); - return PJ_ENOTFOUND; - } - - /* Re-sort codecs */ - sort_codecs(mgr); - - pj_mutex_unlock(mgr->mutex); - - return PJ_SUCCESS; -} - - -/* - * Allocate one codec. - */ -PJ_DEF(pj_status_t) pjmedia_codec_mgr_alloc_codec(pjmedia_codec_mgr *mgr, - const pjmedia_codec_info *info, - pjmedia_codec **p_codec) -{ - pjmedia_codec_factory *factory; - pj_status_t status; - - PJ_ASSERT_RETURN(mgr && info && p_codec, PJ_EINVAL); - - *p_codec = NULL; - - pj_mutex_lock(mgr->mutex); - - factory = mgr->factory_list.next; - while (factory != &mgr->factory_list) { - - if ( (*factory->op->test_alloc)(factory, info) == PJ_SUCCESS ) { - - status = (*factory->op->alloc_codec)(factory, info, p_codec); - if (status == PJ_SUCCESS) { - pj_mutex_unlock(mgr->mutex); - return PJ_SUCCESS; - } - - } - - factory = factory->next; - } - - pj_mutex_unlock(mgr->mutex); - - return PJMEDIA_CODEC_EUNSUP; -} - - -/* - * Get default codec parameter. - */ -PJ_DEF(pj_status_t) pjmedia_codec_mgr_get_default_param( pjmedia_codec_mgr *mgr, - const pjmedia_codec_info *info, - pjmedia_codec_param *param ) -{ - pjmedia_codec_factory *factory; - pj_status_t status; - pjmedia_codec_id codec_id; - struct pjmedia_codec_desc *codec_desc = NULL; - unsigned i; - - PJ_ASSERT_RETURN(mgr && info && param, PJ_EINVAL); - - if (!pjmedia_codec_info_to_id(info, (char*)&codec_id, sizeof(codec_id))) - return PJ_EINVAL; - - pj_mutex_lock(mgr->mutex); - - /* First, lookup default param in codec desc */ - for (i=0; i < mgr->codec_cnt; ++i) { - if (pj_ansi_stricmp(codec_id, mgr->codec_desc[i].id) == 0) { - codec_desc = &mgr->codec_desc[i]; - break; - } - } - - /* If we found the codec and its default param is set, return it */ - if (codec_desc && codec_desc->param) { - pj_assert(codec_desc->param->param); - pj_memcpy(param, codec_desc->param->param, - sizeof(pjmedia_codec_param)); - - pj_mutex_unlock(mgr->mutex); - return PJ_SUCCESS; - } - - /* Otherwise query the default param from codec factory */ - factory = mgr->factory_list.next; - while (factory != &mgr->factory_list) { - - if ( (*factory->op->test_alloc)(factory, info) == PJ_SUCCESS ) { - - status = (*factory->op->default_attr)(factory, info, param); - if (status == PJ_SUCCESS) { - /* Check for invalid max_bps. */ - if (param->info.max_bps < param->info.avg_bps) - param->info.max_bps = param->info.avg_bps; - - pj_mutex_unlock(mgr->mutex); - return PJ_SUCCESS; - } - - } - - factory = factory->next; - } - - pj_mutex_unlock(mgr->mutex); - - - return PJMEDIA_CODEC_EUNSUP; -} - - -/* - * Set default codec parameter. - */ -PJ_DEF(pj_status_t) pjmedia_codec_mgr_set_default_param( - pjmedia_codec_mgr *mgr, - const pjmedia_codec_info *info, - const pjmedia_codec_param *param ) -{ - unsigned i; - pjmedia_codec_id codec_id; - pj_pool_t *pool, *old_pool = NULL; - struct pjmedia_codec_desc *codec_desc = NULL; - pjmedia_codec_default_param *p; - - PJ_ASSERT_RETURN(mgr && info, PJ_EINVAL); - - if (!pjmedia_codec_info_to_id(info, (char*)&codec_id, sizeof(codec_id))) - return PJ_EINVAL; - - pj_mutex_lock(mgr->mutex); - - /* Lookup codec desc */ - for (i=0; i < mgr->codec_cnt; ++i) { - if (pj_ansi_stricmp(codec_id, mgr->codec_desc[i].id) == 0) { - codec_desc = &mgr->codec_desc[i]; - break; - } - } - - /* Codec not found */ - if (!codec_desc) { - pj_mutex_unlock(mgr->mutex); - return PJMEDIA_CODEC_EUNSUP; - } - - /* If codec param is previously set, reset the codec param but release - * the codec param pool later after the new param is set (ticket #1171). - */ - if (codec_desc->param) { - pj_assert(codec_desc->param->pool); - old_pool = codec_desc->param->pool; - codec_desc->param = NULL; - } - - /* When param is set to NULL, i.e: setting default codec param to library - * default setting, just return PJ_SUCCESS. - */ - if (NULL == param) { - pj_mutex_unlock(mgr->mutex); - if (old_pool) - pj_pool_release(old_pool); - return PJ_SUCCESS; - } - - /* Instantiate and initialize codec param */ - pool = pj_pool_create(mgr->pf, (char*)codec_id, 256, 256, NULL); - codec_desc->param = PJ_POOL_ZALLOC_T(pool, pjmedia_codec_default_param); - p = codec_desc->param; - p->pool = pool; - p->param = PJ_POOL_ZALLOC_T(pool, pjmedia_codec_param); - - /* Update codec param */ - pj_memcpy(p->param, param, sizeof(pjmedia_codec_param)); - for (i = 0; i < param->setting.dec_fmtp.cnt; ++i) { - pj_strdup(pool, &p->param->setting.dec_fmtp.param[i].name, - ¶m->setting.dec_fmtp.param[i].name); - pj_strdup(pool, &p->param->setting.dec_fmtp.param[i].val, - ¶m->setting.dec_fmtp.param[i].val); - } - for (i = 0; i < param->setting.enc_fmtp.cnt; ++i) { - pj_strdup(pool, &p->param->setting.enc_fmtp.param[i].name, - ¶m->setting.enc_fmtp.param[i].name); - pj_strdup(pool, &p->param->setting.enc_fmtp.param[i].val, - ¶m->setting.enc_fmtp.param[i].val); - } - - pj_mutex_unlock(mgr->mutex); - - if (old_pool) - pj_pool_release(old_pool); - - return PJ_SUCCESS; -} - - -/* - * Dealloc codec. - */ -PJ_DEF(pj_status_t) pjmedia_codec_mgr_dealloc_codec(pjmedia_codec_mgr *mgr, - pjmedia_codec *codec) -{ - PJ_ASSERT_RETURN(mgr && codec, PJ_EINVAL); - - return (*codec->factory->op->dealloc_codec)(codec->factory, codec); -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/conf_switch.c b/res/pjproject/pjmedia/src/pjmedia/conf_switch.c deleted file mode 100644 index 85a884c506..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/conf_switch.c +++ /dev/null @@ -1,1580 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#if defined(PJMEDIA_CONF_USE_SWITCH_BOARD) && PJMEDIA_CONF_USE_SWITCH_BOARD!=0 - -/* CONF_DEBUG enables detailed operation of the conference bridge. - * Beware that it prints large amounts of logs (several lines per frame). - */ -//#define CONF_DEBUG -#ifdef CONF_DEBUG -# include -# define TRACE_(x) PJ_LOG(5,x) -#else -# define TRACE_(x) -#endif - -#define THIS_FILE "conf_switch.c" - -#define SIGNATURE PJMEDIA_CONF_SWITCH_SIGNATURE -#define SIGNATURE_PORT PJMEDIA_PORT_SIGNATURE('S', 'W', 'T', 'P') -#define NORMAL_LEVEL 128 -#define SLOT_TYPE unsigned -#define INVALID_SLOT ((SLOT_TYPE)-1) -#define BUFFER_SIZE PJMEDIA_MAX_MTU -#define MAX_LEVEL (32767) -#define MIN_LEVEL (-32768) - -/* - * DON'T GET CONFUSED WITH TX/RX!! - * - * TX and RX directions are always viewed from the conference bridge's point - * of view, and NOT from the port's point of view. So TX means the bridge - * is transmitting to the port, RX means the bridge is receiving from the - * port. - */ - - -/** - * This is a port connected to conference bridge. - */ -struct conf_port -{ - SLOT_TYPE slot; /**< Array of listeners. */ - pj_str_t name; /**< Port name. */ - pjmedia_port *port; /**< get_frame() and put_frame() */ - pjmedia_port_op rx_setting; /**< Can we receive from this port */ - pjmedia_port_op tx_setting; /**< Can we transmit to this port */ - unsigned listener_cnt; /**< Number of listeners. */ - SLOT_TYPE *listener_slots;/**< Array of listeners. */ - unsigned transmitter_cnt;/**name, name); - - /* Default has tx and rx enabled. */ - conf_port->rx_setting = PJMEDIA_PORT_ENABLE; - conf_port->tx_setting = PJMEDIA_PORT_ENABLE; - - /* Default level adjustment is 128 (which means no adjustment) */ - conf_port->tx_adj_level = NORMAL_LEVEL; - conf_port->rx_adj_level = NORMAL_LEVEL; - - /* Create transmit flag array */ - conf_port->listener_slots = (SLOT_TYPE*) - pj_pool_zalloc(pool, - conf->max_ports * sizeof(SLOT_TYPE)); - PJ_ASSERT_RETURN(conf_port->listener_slots, PJ_ENOMEM); - - /* Save some port's infos, for convenience. */ - conf_port->port = port; - conf_port->info = &port->info; - conf_port->samples_per_frame = PJMEDIA_PIA_SPF(&port->info); - - /* Init pjmedia_frame structure in the TX buffer. */ - f = (pjmedia_frame*)conf_port->tx_buf; - f->buf = conf_port->tx_buf + sizeof(pjmedia_frame); - - /* Done */ - *p_conf_port = conf_port; - return PJ_SUCCESS; -} - -/* - * Create port zero for the sound device. - */ -static pj_status_t create_sound_port( pj_pool_t *pool, - pjmedia_conf *conf ) -{ - struct conf_port *conf_port; - pj_str_t name = { "Master/sound", 12 }; - pj_status_t status; - - status = create_conf_port(pool, conf, conf->master_port, &name, &conf_port); - if (status != PJ_SUCCESS) - return status; - - /* Add the port to the bridge */ - conf_port->slot = 0; - conf->ports[0] = conf_port; - conf->port_cnt++; - - PJ_LOG(5,(THIS_FILE, "Sound device successfully created for port 0")); - return PJ_SUCCESS; -} - -/* - * Create conference bridge. - */ -PJ_DEF(pj_status_t) pjmedia_conf_create( pj_pool_t *pool, - unsigned max_ports, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - pjmedia_conf **p_conf ) -{ - pjmedia_conf *conf; - const pj_str_t name = { "Conf", 4 }; - pj_status_t status; - - /* Can only accept 16bits per sample, for now.. */ - PJ_ASSERT_RETURN(bits_per_sample == 16, PJ_EINVAL); - - PJ_LOG(5,(THIS_FILE, "Creating conference bridge with %d ports", - max_ports)); - - /* Create and init conf structure. */ - conf = PJ_POOL_ZALLOC_T(pool, pjmedia_conf); - PJ_ASSERT_RETURN(conf, PJ_ENOMEM); - - conf->ports = (struct conf_port**) - pj_pool_zalloc(pool, max_ports*sizeof(void*)); - PJ_ASSERT_RETURN(conf->ports, PJ_ENOMEM); - - conf->options = options; - conf->max_ports = max_ports; - - /* Create and initialize the master port interface. */ - conf->master_port = PJ_POOL_ZALLOC_T(pool, pjmedia_port); - PJ_ASSERT_RETURN(conf->master_port, PJ_ENOMEM); - - pjmedia_port_info_init(&conf->master_port->info, &name, SIGNATURE, - clock_rate, channel_count, bits_per_sample, - samples_per_frame); - - conf->master_port->port_data.pdata = conf; - conf->master_port->port_data.ldata = 0; - - conf->master_port->get_frame = &get_frame; - conf->master_port->put_frame = &put_frame; - conf->master_port->on_destroy = &destroy_port; - - - /* Create port zero for sound device. */ - status = create_sound_port(pool, conf); - if (status != PJ_SUCCESS) - return status; - - /* Create mutex. */ - status = pj_mutex_create_recursive(pool, "conf", &conf->mutex); - if (status != PJ_SUCCESS) - return status; - - /* Done */ - - *p_conf = conf; - - return PJ_SUCCESS; -} - - -/* - * Pause sound device. - */ -static pj_status_t pause_sound( pjmedia_conf *conf ) -{ - /* Do nothing. */ - PJ_UNUSED_ARG(conf); - return PJ_SUCCESS; -} - -/* - * Resume sound device. - */ -static pj_status_t resume_sound( pjmedia_conf *conf ) -{ - /* Do nothing. */ - PJ_UNUSED_ARG(conf); - return PJ_SUCCESS; -} - - -/** - * Destroy conference bridge. - */ -PJ_DEF(pj_status_t) pjmedia_conf_destroy( pjmedia_conf *conf ) -{ - PJ_ASSERT_RETURN(conf != NULL, PJ_EINVAL); - - /* Destroy mutex */ - pj_mutex_destroy(conf->mutex); - - return PJ_SUCCESS; -} - - -/* - * Destroy the master port (will destroy the conference) - */ -static pj_status_t destroy_port(pjmedia_port *this_port) -{ - pjmedia_conf *conf = (pjmedia_conf*) this_port->port_data.pdata; - return pjmedia_conf_destroy(conf); -} - -/* - * Get port zero interface. - */ -PJ_DEF(pjmedia_port*) pjmedia_conf_get_master_port(pjmedia_conf *conf) -{ - /* Sanity check. */ - PJ_ASSERT_RETURN(conf != NULL, NULL); - - /* Can only return port interface when PJMEDIA_CONF_NO_DEVICE was - * present in the option. - */ - PJ_ASSERT_RETURN((conf->options & PJMEDIA_CONF_NO_DEVICE) != 0, NULL); - - return conf->master_port; -} - - -/* - * Set master port name. - */ -PJ_DEF(pj_status_t) pjmedia_conf_set_port0_name(pjmedia_conf *conf, - const pj_str_t *name) -{ - unsigned len; - - /* Sanity check. */ - PJ_ASSERT_RETURN(conf != NULL && name != NULL, PJ_EINVAL); - - len = name->slen; - if (len > sizeof(conf->master_name_buf)) - len = sizeof(conf->master_name_buf); - - if (len > 0) pj_memcpy(conf->master_name_buf, name->ptr, len); - - conf->ports[0]->name.ptr = conf->master_name_buf; - conf->ports[0]->name.slen = len; - - conf->master_port->info.name = conf->ports[0]->name; - - return PJ_SUCCESS; -} - -/* - * Add stream port to the conference bridge. - */ -PJ_DEF(pj_status_t) pjmedia_conf_add_port( pjmedia_conf *conf, - pj_pool_t *pool, - pjmedia_port *strm_port, - const pj_str_t *port_name, - unsigned *p_port ) -{ - struct conf_port *conf_port; - unsigned index; - pj_status_t status; - - PJ_ASSERT_RETURN(conf && pool && strm_port, PJ_EINVAL); - /* - PJ_ASSERT_RETURN(conf->clock_rate == strm_port->info.clock_rate, - PJMEDIA_ENCCLOCKRATE); - PJ_ASSERT_RETURN(conf->channel_count == strm_port->info.channel_count, - PJMEDIA_ENCCHANNEL); - PJ_ASSERT_RETURN(conf->bits_per_sample == strm_port->info.bits_per_sample, - PJMEDIA_ENCBITS); - */ - - /* Port's samples per frame should be equal to or multiplication of - * conference's samples per frame. - */ - /* - Not sure if this is needed! - PJ_ASSERT_RETURN((conf->samples_per_frame % - strm_port->info.samples_per_frame==0) || - (strm_port->info.samples_per_frame % - conf->samples_per_frame==0), - PJMEDIA_ENCSAMPLESPFRAME); - */ - - /* If port_name is not specified, use the port's name */ - if (!port_name) - port_name = &strm_port->info.name; - - pj_mutex_lock(conf->mutex); - - if (conf->port_cnt >= conf->max_ports) { - pj_assert(!"Too many ports"); - pj_mutex_unlock(conf->mutex); - return PJ_ETOOMANY; - } - - /* Find empty port in the conference bridge. */ - for (index=0; index < conf->max_ports; ++index) { - if (conf->ports[index] == NULL) - break; - } - - pj_assert(index != conf->max_ports); - - /* Create conf port structure. */ - status = create_conf_port(pool, conf, strm_port, port_name, &conf_port); - if (status != PJ_SUCCESS) { - pj_mutex_unlock(conf->mutex); - return status; - } - - /* Put the port. */ - conf_port->slot = index; - conf->ports[index] = conf_port; - conf->port_cnt++; - - /* Done. */ - if (p_port) { - *p_port = index; - } - - pj_mutex_unlock(conf->mutex); - - return PJ_SUCCESS; -} - - -/* - * Add passive port. - */ -PJ_DEF(pj_status_t) pjmedia_conf_add_passive_port( pjmedia_conf *conf, - pj_pool_t *pool, - const pj_str_t *name, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - unsigned *p_slot, - pjmedia_port **p_port ) -{ - PJ_UNUSED_ARG(conf); - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(name); - PJ_UNUSED_ARG(clock_rate); - PJ_UNUSED_ARG(channel_count); - PJ_UNUSED_ARG(samples_per_frame); - PJ_UNUSED_ARG(bits_per_sample); - PJ_UNUSED_ARG(options); - PJ_UNUSED_ARG(p_slot); - PJ_UNUSED_ARG(p_port); - - return PJ_ENOTSUP; -} - - - -/* - * Change TX and RX settings for the port. - */ -PJ_DEF(pj_status_t) pjmedia_conf_configure_port( pjmedia_conf *conf, - unsigned slot, - pjmedia_port_op tx, - pjmedia_port_op rx) -{ - struct conf_port *conf_port; - - /* Check arguments */ - PJ_ASSERT_RETURN(conf && slotmax_ports, PJ_EINVAL); - - pj_mutex_lock(conf->mutex); - - /* Port must be valid. */ - conf_port = conf->ports[slot]; - if (conf_port == NULL) { - pj_mutex_unlock(conf->mutex); - return PJ_EINVAL; - } - - if (tx != PJMEDIA_PORT_NO_CHANGE) - conf_port->tx_setting = tx; - - if (rx != PJMEDIA_PORT_NO_CHANGE) - conf_port->rx_setting = rx; - - pj_mutex_unlock(conf->mutex); - - return PJ_SUCCESS; -} - - -/* - * Connect port. - */ -PJ_DEF(pj_status_t) pjmedia_conf_connect_port( pjmedia_conf *conf, - unsigned src_slot, - unsigned sink_slot, - int level ) -{ - struct conf_port *src_port, *dst_port; - pj_bool_t start_sound = PJ_FALSE; - pjmedia_audio_format_detail *src_afd, *dst_afd; - unsigned i; - - /* Check arguments */ - PJ_ASSERT_RETURN(conf && src_slotmax_ports && - sink_slotmax_ports, PJ_EINVAL); - - /* For now, level MUST be zero. */ - PJ_ASSERT_RETURN(level == 0, PJ_EINVAL); - - pj_mutex_lock(conf->mutex); - - /* Ports must be valid. */ - src_port = conf->ports[src_slot]; - dst_port = conf->ports[sink_slot]; - if (!src_port || !dst_port) { - pj_mutex_unlock(conf->mutex); - return PJ_EINVAL; - } - - src_afd = pjmedia_format_get_audio_format_detail(&src_port->info->fmt, 1); - dst_afd = pjmedia_format_get_audio_format_detail(&dst_port->info->fmt, 1); - - /* Format must match. */ - if (src_port->info->fmt.id != dst_port->info->fmt.id || - src_afd->avg_bps != dst_afd->avg_bps) - { - pj_mutex_unlock(conf->mutex); - return PJMEDIA_ENOTCOMPATIBLE; - } - - /* Clock rate must match. */ - if (src_afd->clock_rate != dst_afd->clock_rate) { - pj_mutex_unlock(conf->mutex); - return PJMEDIA_ENCCLOCKRATE; - } - - /* Channel count must match. */ - if (src_afd->channel_count != dst_afd->channel_count) { - pj_mutex_unlock(conf->mutex); - return PJMEDIA_ENCCHANNEL; - } - - /* Source and sink ptime must be equal or a multiplication factor. */ - if ((src_afd->frame_time_usec % dst_afd->frame_time_usec != 0) && - (dst_afd->frame_time_usec % src_afd->frame_time_usec != 0)) - { - pj_mutex_unlock(conf->mutex); - return PJMEDIA_ENCSAMPLESPFRAME; - } - - /* If sink is currently listening to other ports, it needs to be released - * first before the new connection made. - */ - if (dst_port->transmitter_cnt > 0) { - unsigned j; - pj_bool_t transmitter_found = PJ_FALSE; - - pj_assert(dst_port->transmitter_cnt == 1); - for (j=0; jmax_ports && !transmitter_found; ++j) { - if (conf->ports[j]) { - unsigned k; - - for (k=0; k < conf->ports[j]->listener_cnt; ++k) { - if (conf->ports[j]->listener_slots[k] == sink_slot) { - PJ_LOG(2,(THIS_FILE, "Connection [%d->%d] is " - "disconnected for new connection [%d->%d]", - j, sink_slot, src_slot, sink_slot)); - pjmedia_conf_disconnect_port(conf, j, sink_slot); - transmitter_found = PJ_TRUE; - break; - } - } - } - } - pj_assert(dst_port->transmitter_cnt == 0); - } - - /* Check if connection has been made */ - for (i=0; ilistener_cnt; ++i) { - if (src_port->listener_slots[i] == sink_slot) - break; - } - - /* Update master port info shortcut, note that application may update - * the master port info when the audio device needs to be reopened with - * a new format to match to ports connection format. - */ - conf->ports[0]->samples_per_frame = PJMEDIA_PIA_SPF(conf->ports[0]->info); - - if (i == src_port->listener_cnt) { - src_port->listener_slots[src_port->listener_cnt] = sink_slot; - ++conf->connect_cnt; - ++src_port->listener_cnt; - ++dst_port->transmitter_cnt; - - if (conf->connect_cnt == 1) - start_sound = 1; - - PJ_LOG(4,(THIS_FILE,"Port %d (%.*s) transmitting to port %d (%.*s)", - src_slot, - (int)src_port->name.slen, - src_port->name.ptr, - sink_slot, - (int)dst_port->name.slen, - dst_port->name.ptr)); - } - - pj_mutex_unlock(conf->mutex); - - /* Sound device must be started without mutex, otherwise the - * sound thread will deadlock (?) - */ - if (start_sound) - resume_sound(conf); - - return PJ_SUCCESS; -} - - -/* - * Disconnect port - */ -PJ_DEF(pj_status_t) pjmedia_conf_disconnect_port( pjmedia_conf *conf, - unsigned src_slot, - unsigned sink_slot ) -{ - struct conf_port *src_port, *dst_port; - unsigned i; - - /* Check arguments */ - PJ_ASSERT_RETURN(conf && src_slotmax_ports && - sink_slotmax_ports, PJ_EINVAL); - - pj_mutex_lock(conf->mutex); - - /* Ports must be valid. */ - src_port = conf->ports[src_slot]; - dst_port = conf->ports[sink_slot]; - if (!src_port || !dst_port) { - pj_mutex_unlock(conf->mutex); - return PJ_EINVAL; - } - - /* Check if connection has been made */ - for (i=0; ilistener_cnt; ++i) { - if (src_port->listener_slots[i] == sink_slot) - break; - } - - if (i != src_port->listener_cnt) { - pjmedia_frame_ext *f; - - pj_assert(src_port->listener_cnt > 0 && - src_port->listener_cnt < conf->max_ports); - pj_assert(dst_port->transmitter_cnt > 0 && - dst_port->transmitter_cnt < conf->max_ports); - pj_array_erase(src_port->listener_slots, sizeof(SLOT_TYPE), - src_port->listener_cnt, i); - --conf->connect_cnt; - --src_port->listener_cnt; - --dst_port->transmitter_cnt; - - /* Cleanup listener TX buffer. */ - f = (pjmedia_frame_ext*)dst_port->tx_buf; - f->base.type = PJMEDIA_FRAME_TYPE_NONE; - f->base.size = 0; - f->samples_cnt = 0; - f->subframe_cnt = 0; - - PJ_LOG(4,(THIS_FILE, - "Port %d (%.*s) stop transmitting to port %d (%.*s)", - src_slot, - (int)src_port->name.slen, - src_port->name.ptr, - sink_slot, - (int)dst_port->name.slen, - dst_port->name.ptr)); - } - - pj_mutex_unlock(conf->mutex); - - if (conf->connect_cnt == 0) { - pause_sound(conf); - } - - return PJ_SUCCESS; -} - -/* - * Get number of ports currently registered to the conference bridge. - */ -PJ_DEF(unsigned) pjmedia_conf_get_port_count(pjmedia_conf *conf) -{ - return conf->port_cnt; -} - -/* - * Get total number of ports connections currently set up in the bridge. - */ -PJ_DEF(unsigned) pjmedia_conf_get_connect_count(pjmedia_conf *conf) -{ - return conf->connect_cnt; -} - - -/* - * Remove the specified port. - */ -PJ_DEF(pj_status_t) pjmedia_conf_remove_port( pjmedia_conf *conf, - unsigned port ) -{ - struct conf_port *conf_port; - unsigned i; - - /* Check arguments */ - PJ_ASSERT_RETURN(conf && port < conf->max_ports, PJ_EINVAL); - - /* Suspend the sound devices. - * Don't want to remove port while port is being accessed by sound - * device's threads! - */ - - pj_mutex_lock(conf->mutex); - - /* Port must be valid. */ - conf_port = conf->ports[port]; - if (conf_port == NULL) { - pj_mutex_unlock(conf->mutex); - return PJ_EINVAL; - } - - conf_port->tx_setting = PJMEDIA_PORT_DISABLE; - conf_port->rx_setting = PJMEDIA_PORT_DISABLE; - - /* Remove this port from transmit array of other ports. */ - for (i=0; imax_ports; ++i) { - unsigned j; - struct conf_port *src_port; - - src_port = conf->ports[i]; - - if (!src_port) - continue; - - if (src_port->listener_cnt == 0) - continue; - - for (j=0; jlistener_cnt; ++j) { - if (src_port->listener_slots[j] == port) { - pj_array_erase(src_port->listener_slots, sizeof(SLOT_TYPE), - src_port->listener_cnt, j); - pj_assert(conf->connect_cnt > 0); - --conf->connect_cnt; - --src_port->listener_cnt; - break; - } - } - } - - /* Update transmitter_cnt of ports we're transmitting to */ - while (conf_port->listener_cnt) { - unsigned dst_slot; - struct conf_port *dst_port; - pjmedia_frame_ext *f; - - dst_slot = conf_port->listener_slots[conf_port->listener_cnt-1]; - dst_port = conf->ports[dst_slot]; - --dst_port->transmitter_cnt; - --conf_port->listener_cnt; - pj_assert(conf->connect_cnt > 0); - --conf->connect_cnt; - - /* Cleanup & reinit listener TX buffer. */ - f = (pjmedia_frame_ext*)dst_port->tx_buf; - f->base.type = PJMEDIA_FRAME_TYPE_NONE; - f->base.size = 0; - f->samples_cnt = 0; - f->subframe_cnt = 0; - } - - /* Remove the port. */ - conf->ports[port] = NULL; - --conf->port_cnt; - - pj_mutex_unlock(conf->mutex); - - - /* Stop sound if there's no connection. */ - if (conf->connect_cnt == 0) { - pause_sound(conf); - } - - return PJ_SUCCESS; -} - - -/* - * Enum ports. - */ -PJ_DEF(pj_status_t) pjmedia_conf_enum_ports( pjmedia_conf *conf, - unsigned ports[], - unsigned *p_count ) -{ - unsigned i, count=0; - - PJ_ASSERT_RETURN(conf && p_count && ports, PJ_EINVAL); - - /* Lock mutex */ - pj_mutex_lock(conf->mutex); - - for (i=0; imax_ports && count<*p_count; ++i) { - if (!conf->ports[i]) - continue; - - ports[count++] = i; - } - - /* Unlock mutex */ - pj_mutex_unlock(conf->mutex); - - *p_count = count; - return PJ_SUCCESS; -} - -/* - * Get port info - */ -PJ_DEF(pj_status_t) pjmedia_conf_get_port_info( pjmedia_conf *conf, - unsigned slot, - pjmedia_conf_port_info *info) -{ - struct conf_port *conf_port; - const pjmedia_audio_format_detail *afd; - - /* Check arguments */ - PJ_ASSERT_RETURN(conf && slotmax_ports, PJ_EINVAL); - - /* Lock mutex */ - pj_mutex_lock(conf->mutex); - - /* Port must be valid. */ - conf_port = conf->ports[slot]; - if (conf_port == NULL) { - pj_mutex_unlock(conf->mutex); - return PJ_EINVAL; - } - - afd = pjmedia_format_get_audio_format_detail(&conf_port->info->fmt, 1); - - pj_bzero(info, sizeof(pjmedia_conf_port_info)); - - info->slot = slot; - info->name = conf_port->name; - info->tx_setting = conf_port->tx_setting; - info->rx_setting = conf_port->rx_setting; - info->listener_cnt = conf_port->listener_cnt; - info->listener_slots = conf_port->listener_slots; - info->transmitter_cnt = conf_port->transmitter_cnt; - info->clock_rate = afd->clock_rate; - info->channel_count = afd->channel_count; - info->samples_per_frame = conf_port->samples_per_frame; - info->bits_per_sample = afd->bits_per_sample; - info->format = conf_port->port->info.fmt; - info->tx_adj_level = conf_port->tx_adj_level - NORMAL_LEVEL; - info->rx_adj_level = conf_port->rx_adj_level - NORMAL_LEVEL; - - /* Unlock mutex */ - pj_mutex_unlock(conf->mutex); - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_conf_get_ports_info(pjmedia_conf *conf, - unsigned *size, - pjmedia_conf_port_info info[]) -{ - unsigned i, count=0; - - PJ_ASSERT_RETURN(conf && size && info, PJ_EINVAL); - - /* Lock mutex */ - pj_mutex_lock(conf->mutex); - - for (i=0; imax_ports && count<*size; ++i) { - if (!conf->ports[i]) - continue; - - pjmedia_conf_get_port_info(conf, i, &info[count]); - ++count; - } - - /* Unlock mutex */ - pj_mutex_unlock(conf->mutex); - - *size = count; - return PJ_SUCCESS; -} - - -/* - * Get signal level. - */ -PJ_DEF(pj_status_t) pjmedia_conf_get_signal_level( pjmedia_conf *conf, - unsigned slot, - unsigned *tx_level, - unsigned *rx_level) -{ - struct conf_port *conf_port; - - /* Check arguments */ - PJ_ASSERT_RETURN(conf && slotmax_ports, PJ_EINVAL); - - /* Lock mutex */ - pj_mutex_lock(conf->mutex); - - /* Port must be valid. */ - conf_port = conf->ports[slot]; - if (conf_port == NULL) { - pj_mutex_unlock(conf->mutex); - return PJ_EINVAL; - } - - if (tx_level != NULL) { - *tx_level = conf_port->tx_level; - } - - if (rx_level != NULL) - *rx_level = conf_port->rx_level; - - /* Unlock mutex */ - pj_mutex_unlock(conf->mutex); - - return PJ_SUCCESS; -} - - -/* - * Adjust RX level of individual port. - */ -PJ_DEF(pj_status_t) pjmedia_conf_adjust_rx_level( pjmedia_conf *conf, - unsigned slot, - int adj_level ) -{ - struct conf_port *conf_port; - - /* Check arguments */ - PJ_ASSERT_RETURN(conf && slotmax_ports, PJ_EINVAL); - - /* Value must be from -128 to +127 */ - /* Disabled, you can put more than +127, at your own risk: - PJ_ASSERT_RETURN(adj_level >= -128 && adj_level <= 127, PJ_EINVAL); - */ - PJ_ASSERT_RETURN(adj_level >= -128, PJ_EINVAL); - - /* Lock mutex */ - pj_mutex_lock(conf->mutex); - - /* Port must be valid. */ - conf_port = conf->ports[slot]; - if (conf_port == NULL) { - pj_mutex_unlock(conf->mutex); - return PJ_EINVAL; - } - - /* Level adjustment is applicable only for ports that work with raw PCM. */ - PJ_ASSERT_RETURN(conf_port->info->fmt.id == PJMEDIA_FORMAT_L16, - PJ_EIGNORED); - - /* Set normalized adjustment level. */ - conf_port->rx_adj_level = adj_level + NORMAL_LEVEL; - - /* Unlock mutex */ - pj_mutex_unlock(conf->mutex); - - return PJ_SUCCESS; -} - - -/* - * Adjust TX level of individual port. - */ -PJ_DEF(pj_status_t) pjmedia_conf_adjust_tx_level( pjmedia_conf *conf, - unsigned slot, - int adj_level ) -{ - struct conf_port *conf_port; - - /* Check arguments */ - PJ_ASSERT_RETURN(conf && slotmax_ports, PJ_EINVAL); - - /* Value must be from -128 to +127 */ - /* Disabled, you can put more than +127,, at your own risk: - PJ_ASSERT_RETURN(adj_level >= -128 && adj_level <= 127, PJ_EINVAL); - */ - PJ_ASSERT_RETURN(adj_level >= -128, PJ_EINVAL); - - /* Lock mutex */ - pj_mutex_lock(conf->mutex); - - /* Port must be valid. */ - conf_port = conf->ports[slot]; - if (conf_port == NULL) { - pj_mutex_unlock(conf->mutex); - return PJ_EINVAL; - } - - /* Level adjustment is applicable only for ports that work with raw PCM. */ - PJ_ASSERT_RETURN(conf_port->info->fmt.id == PJMEDIA_FORMAT_L16, - PJ_EIGNORED); - - /* Set normalized adjustment level. */ - conf_port->tx_adj_level = adj_level + NORMAL_LEVEL; - - /* Unlock mutex */ - pj_mutex_unlock(conf->mutex); - - return PJ_SUCCESS; -} - -/* Deliver frm_src to a listener port, eventually call port's put_frame() - * when samples count in the frm_dst are equal to port's samples_per_frame. - */ -static pj_status_t write_frame(struct conf_port *cport_dst, - const pjmedia_frame *frm_src) -{ - pjmedia_frame *frm_dst = (pjmedia_frame*)cport_dst->tx_buf; - - PJ_TODO(MAKE_SURE_DEST_FRAME_HAS_ENOUGH_SPACE); - - frm_dst->type = frm_src->type; - frm_dst->timestamp = cport_dst->ts_tx; - - if (frm_src->type == PJMEDIA_FRAME_TYPE_EXTENDED) { - - pjmedia_frame_ext *f_src = (pjmedia_frame_ext*)frm_src; - pjmedia_frame_ext *f_dst = (pjmedia_frame_ext*)frm_dst; - unsigned i; - - for (i = 0; i < f_src->subframe_cnt; ++i) { - pjmedia_frame_ext_subframe *sf; - - /* Copy frame to listener's TX buffer. */ - sf = pjmedia_frame_ext_get_subframe(f_src, i); - pjmedia_frame_ext_append_subframe(f_dst, sf->data, sf->bitlen, - f_src->samples_cnt / - f_src->subframe_cnt); - - /* Check if it's time to deliver the TX buffer to listener, - * i.e: samples count in TX buffer equal to listener's - * samples per frame. - */ - if (f_dst->samples_cnt >= cport_dst->samples_per_frame) - { - if (cport_dst->slot) { - pjmedia_port_put_frame(cport_dst->port, - (pjmedia_frame*)f_dst); - - /* Reset TX buffer. */ - f_dst->subframe_cnt = 0; - f_dst->samples_cnt = 0; - } - - /* Update TX timestamp. */ - pj_add_timestamp32(&cport_dst->ts_tx, - cport_dst->samples_per_frame); - } - } - - } else if (frm_src->type == PJMEDIA_FRAME_TYPE_AUDIO) { - - pj_int16_t *f_start, *f_end; - - f_start = (pj_int16_t*)frm_src->buf; - f_end = f_start + (frm_src->size >> 1); - - while (f_start < f_end) { - unsigned nsamples_to_copy, nsamples_req; - - /* Copy frame to listener's TX buffer. - * Note that if the destination is port 0, just copy the whole - * available samples. - */ - nsamples_to_copy = f_end - f_start; - nsamples_req = cport_dst->samples_per_frame - - (frm_dst->size>>1); - if (cport_dst->slot && nsamples_to_copy > nsamples_req) - nsamples_to_copy = nsamples_req; - - /* Adjust TX level. */ - if (cport_dst->tx_adj_level != NORMAL_LEVEL) { - pj_int16_t *p, *p_end; - - p = f_start; - p_end = p + nsamples_to_copy; - while (p < p_end) { - pj_int32_t itemp = *p; - - /* Adjust the level */ - itemp = (itemp * cport_dst->tx_adj_level) >> 7; - - /* Clip the signal if it's too loud */ - if (itemp > MAX_LEVEL) itemp = MAX_LEVEL; - else if (itemp < MIN_LEVEL) itemp = MIN_LEVEL; - - /* Put back in the buffer. */ - *p = (pj_int16_t)itemp; - ++p; - } - } - - pjmedia_copy_samples((pj_int16_t*)frm_dst->buf + (frm_dst->size>>1), - f_start, - nsamples_to_copy); - frm_dst->size += nsamples_to_copy << 1; - f_start += nsamples_to_copy; - - /* Check if it's time to deliver the TX buffer to listener, - * i.e: samples count in TX buffer equal to listener's - * samples per frame. Note that for destination port 0 this - * function will just populate all samples in the TX buffer. - */ - if (cport_dst->slot == 0) { - /* Update TX timestamp. */ - pj_add_timestamp32(&cport_dst->ts_tx, nsamples_to_copy); - } else if ((frm_dst->size >> 1) == - cport_dst->samples_per_frame) - { - pjmedia_port_put_frame(cport_dst->port, frm_dst); - - /* Reset TX buffer. */ - frm_dst->size = 0; - - /* Update TX timestamp. */ - pj_add_timestamp32(&cport_dst->ts_tx, - cport_dst->samples_per_frame); - } - } - - } else if (frm_src->type == PJMEDIA_FRAME_TYPE_NONE) { - - /* Check port format. */ - if (cport_dst->port && - cport_dst->port->info.fmt.id == PJMEDIA_FORMAT_L16) - { - /* When there is already some samples in listener's TX buffer, - * pad the buffer with "zero samples". - */ - if (frm_dst->size != 0) { - pjmedia_zero_samples((pj_int16_t*)frm_dst->buf, - cport_dst->samples_per_frame - - (frm_dst->size>>1)); - - frm_dst->type = PJMEDIA_FRAME_TYPE_AUDIO; - frm_dst->size = cport_dst->samples_per_frame << 1; - if (cport_dst->slot) { - pjmedia_port_put_frame(cport_dst->port, frm_dst); - - /* Reset TX buffer. */ - frm_dst->size = 0; - } - - /* Update TX timestamp. */ - pj_add_timestamp32(&cport_dst->ts_tx, - cport_dst->samples_per_frame); - } - } else { - pjmedia_frame_ext *f_dst = (pjmedia_frame_ext*)frm_dst; - - if (f_dst->samples_cnt != 0) { - frm_dst->type = PJMEDIA_FRAME_TYPE_EXTENDED; - pjmedia_frame_ext_append_subframe(f_dst, NULL, 0, (pj_uint16_t) - (cport_dst->samples_per_frame - f_dst->samples_cnt)); - if (cport_dst->slot) { - pjmedia_port_put_frame(cport_dst->port, frm_dst); - - /* Reset TX buffer. */ - f_dst->subframe_cnt = 0; - f_dst->samples_cnt = 0; - } - - /* Update TX timestamp. */ - pj_add_timestamp32(&cport_dst->ts_tx, - cport_dst->samples_per_frame); - } - } - - /* Synchronize clock. */ - while (pj_cmp_timestamp(&cport_dst->ts_clock, - &cport_dst->ts_tx) > 0) - { - frm_dst->type = PJMEDIA_FRAME_TYPE_NONE; - frm_dst->timestamp = cport_dst->ts_tx; - if (cport_dst->slot) - pjmedia_port_put_frame(cport_dst->port, frm_dst); - - /* Update TX timestamp. */ - pj_add_timestamp32(&cport_dst->ts_tx, cport_dst->samples_per_frame); - } - } - - return PJ_SUCCESS; -} - -/* - * Player callback. - */ -static pj_status_t get_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - pjmedia_conf *conf = (pjmedia_conf*) this_port->port_data.pdata; - unsigned ci, i; - - /* Lock mutex */ - pj_mutex_lock(conf->mutex); - - /* Call get_frame() from all ports (except port 0) that has - * receiver and distribute the frame (put the frame to the destination - * port's buffer to accommodate different ptime, and ultimately call - * put_frame() of that port) to ports that are receiving from this port. - */ - for (i=1, ci=1; imax_ports && ciport_cnt; ++i) { - struct conf_port *cport = conf->ports[i]; - unsigned master_samples_per_frame; - - /* Skip empty port. */ - if (!cport) - continue; - - /* Var "ci" is to count how many ports have been visited so far. */ - ++ci; - - master_samples_per_frame = PJMEDIA_PIA_SPF(&conf->master_port->info); - - /* Update clock of the port. */ - pj_add_timestamp32(&cport->ts_clock, master_samples_per_frame); - - /* Skip if we're not allowed to receive from this port or - * the port doesn't have listeners. - */ - if (cport->rx_setting == PJMEDIA_PORT_DISABLE || - cport->listener_cnt == 0) - { - cport->rx_level = 0; - pj_add_timestamp32(&cport->ts_rx, master_samples_per_frame); - continue; - } - - /* Get frame from each port, put it to the listener TX buffer, - * and eventually call put_frame() of the listener. This loop - * will also make sure the ptime between conf & port synchronized. - */ - while (pj_cmp_timestamp(&cport->ts_clock, &cport->ts_rx) > 0) { - pjmedia_frame *f = (pjmedia_frame*)conf->buf; - pj_status_t status; - unsigned j; - pj_int32_t level = 0; - - pj_add_timestamp32(&cport->ts_rx, cport->samples_per_frame); - - f->buf = &conf->buf[sizeof(pjmedia_frame)]; - f->size = cport->samples_per_frame<<1; - - /* Get frame from port. */ - status = pjmedia_port_get_frame(cport->port, f); - if (status != PJ_SUCCESS) - continue; - - /* Calculate & adjust RX level. */ - if (f->type == PJMEDIA_FRAME_TYPE_AUDIO) { - if (cport->rx_adj_level != NORMAL_LEVEL) { - pj_int16_t *p = (pj_int16_t*)f->buf; - pj_int16_t *end; - - end = p + (f->size >> 1); - while (p < end) { - pj_int32_t itemp = *p; - - /* Adjust the level */ - itemp = (itemp * cport->rx_adj_level) >> 7; - - /* Clip the signal if it's too loud */ - if (itemp > MAX_LEVEL) itemp = MAX_LEVEL; - else if (itemp < MIN_LEVEL) itemp = MIN_LEVEL; - - level += PJ_ABS(itemp); - - /* Put back in the buffer. */ - *p = (pj_int16_t)itemp; - ++p; - } - level /= (f->size >> 1); - } else { - level = pjmedia_calc_avg_signal((const pj_int16_t*)f->buf, - f->size >> 1); - } - } else if (f->type == PJMEDIA_FRAME_TYPE_EXTENDED) { - /* For extended frame, level is unknown, so we just set - * it to NORMAL_LEVEL. - */ - level = NORMAL_LEVEL; - } - - cport->rx_level = pjmedia_linear2ulaw(level) ^ 0xff; - - /* Put the frame to all listeners. */ - for (j=0; j < cport->listener_cnt; ++j) - { - struct conf_port *listener; - - listener = conf->ports[cport->listener_slots[j]]; - - /* Skip if this listener doesn't want to receive audio */ - if (listener->tx_setting == PJMEDIA_PORT_DISABLE) { - pj_add_timestamp32(&listener->ts_tx, - listener->samples_per_frame); - listener->tx_level = 0; - continue; - } - - status = write_frame(listener, f); - if (status != PJ_SUCCESS) { - listener->tx_level = 0; - continue; - } - - /* Set listener TX level based on transmitter RX level & - * listener TX level. - */ - listener->tx_level = (cport->rx_level * listener->tx_adj_level) - >> 8; - } - } - } - - /* Keep alive. Update TX timestamp and send frame type NONE to all - * underflow ports at their own clock. - */ - for (i=1, ci=1; imax_ports && ciport_cnt; ++i) { - struct conf_port *cport = conf->ports[i]; - - /* Skip empty port. */ - if (!cport) - continue; - - /* Var "ci" is to count how many ports have been visited so far. */ - ++ci; - - if (cport->tx_setting==PJMEDIA_PORT_MUTE || cport->transmitter_cnt==0) - { - pjmedia_frame_ext *f; - - /* Clear left-over samples in tx_buffer, if any, so that it won't - * be transmitted next time we have audio signal. - */ - f = (pjmedia_frame_ext*)cport->tx_buf; - f->base.type = PJMEDIA_FRAME_TYPE_NONE; - f->base.size = 0; - f->samples_cnt = 0; - f->subframe_cnt = 0; - - cport->tx_level = 0; - - while (pj_cmp_timestamp(&cport->ts_clock, &cport->ts_tx) > 0) - { - if (cport->tx_setting == PJMEDIA_PORT_ENABLE) { - pjmedia_frame tmp_f; - - tmp_f.timestamp = cport->ts_tx; - tmp_f.type = PJMEDIA_FRAME_TYPE_NONE; - tmp_f.buf = NULL; - tmp_f.size = 0; - - pjmedia_port_put_frame(cport->port, &tmp_f); - pj_add_timestamp32(&cport->ts_tx, cport->samples_per_frame); - } - } - } - } - - /* Return sound playback frame. */ - do { - struct conf_port *this_cport = conf->ports[this_port->port_data.ldata]; - pjmedia_frame *f_src = (pjmedia_frame*) this_cport->tx_buf; - - frame->type = f_src->type; - - if (f_src->type == PJMEDIA_FRAME_TYPE_EXTENDED) { - pjmedia_frame_ext *f_src_ = (pjmedia_frame_ext*)f_src; - pjmedia_frame_ext *f_dst = (pjmedia_frame_ext*)frame; - pjmedia_frame_ext_subframe *sf; - unsigned samples_per_subframe; - - if (f_src_->samples_cnt < this_cport->samples_per_frame) { - f_dst->base.type = PJMEDIA_FRAME_TYPE_NONE; - f_dst->samples_cnt = 0; - f_dst->subframe_cnt = 0; - break; - } - - f_dst->samples_cnt = 0; - f_dst->subframe_cnt = 0; - i = 0; - samples_per_subframe = f_src_->samples_cnt / f_src_->subframe_cnt; - - - while (f_dst->samples_cnt < this_cport->samples_per_frame) { - sf = pjmedia_frame_ext_get_subframe(f_src_, i++); - pj_assert(sf); - pjmedia_frame_ext_append_subframe(f_dst, sf->data, sf->bitlen, - samples_per_subframe); - } - - /* Shift left TX buffer. */ - pjmedia_frame_ext_pop_subframes(f_src_, i); - - } else if (f_src->type == PJMEDIA_FRAME_TYPE_AUDIO) { - if ((f_src->size>>1) < this_cport->samples_per_frame) { - frame->type = PJMEDIA_FRAME_TYPE_NONE; - frame->size = 0; - break; - } - - pjmedia_copy_samples((pj_int16_t*)frame->buf, - (pj_int16_t*)f_src->buf, - this_cport->samples_per_frame); - frame->size = this_cport->samples_per_frame << 1; - - /* Shift left TX buffer. */ - f_src->size -= frame->size; - if (f_src->size) - pjmedia_move_samples((pj_int16_t*)f_src->buf, - (pj_int16_t*)f_src->buf + - this_cport->samples_per_frame, - f_src->size >> 1); - } else { /* PJMEDIA_FRAME_TYPE_NONE */ - pjmedia_frame_ext *f_src_ = (pjmedia_frame_ext*)f_src; - - /* Reset source/TX buffer */ - f_src_->base.size = 0; - f_src_->samples_cnt = 0; - f_src_->subframe_cnt = 0; - } - } while (0); - - /* Unlock mutex */ - pj_mutex_unlock(conf->mutex); - - return PJ_SUCCESS; -} - -/* - * Recorder callback. - */ -static pj_status_t put_frame(pjmedia_port *this_port, - pjmedia_frame *f) -{ - pjmedia_conf *conf = (pjmedia_conf*) this_port->port_data.pdata; - struct conf_port *cport; - unsigned j; - pj_int32_t level = 0; - - /* Lock mutex */ - pj_mutex_lock(conf->mutex); - - /* Get conf port of this port */ - cport = conf->ports[this_port->port_data.ldata]; - if (cport == NULL) { - /* Unlock mutex */ - pj_mutex_unlock(conf->mutex); - return PJ_SUCCESS; - } - - pj_add_timestamp32(&cport->ts_rx, cport->samples_per_frame); - - /* Skip if this port is muted/disabled. */ - if (cport->rx_setting == PJMEDIA_PORT_DISABLE) { - cport->rx_level = 0; - /* Unlock mutex */ - pj_mutex_unlock(conf->mutex); - return PJ_SUCCESS; - } - - /* Skip if no port is listening to the microphone */ - if (cport->listener_cnt == 0) { - cport->rx_level = 0; - /* Unlock mutex */ - pj_mutex_unlock(conf->mutex); - return PJ_SUCCESS; - } - - /* Calculate & adjust RX level. */ - if (f->type == PJMEDIA_FRAME_TYPE_AUDIO) { - if (cport->rx_adj_level != NORMAL_LEVEL) { - pj_int16_t *p = (pj_int16_t*)f->buf; - pj_int16_t *end; - - end = p + (f->size >> 1); - while (p < end) { - pj_int32_t itemp = *p; - - /* Adjust the level */ - itemp = (itemp * cport->rx_adj_level) >> 7; - - /* Clip the signal if it's too loud */ - if (itemp > MAX_LEVEL) itemp = MAX_LEVEL; - else if (itemp < MIN_LEVEL) itemp = MIN_LEVEL; - - level += PJ_ABS(itemp); - - /* Put back in the buffer. */ - *p = (pj_int16_t)itemp; - ++p; - } - level /= (f->size >> 1); - } else { - level = pjmedia_calc_avg_signal((const pj_int16_t*)f->buf, - f->size >> 1); - } - } else if (f->type == PJMEDIA_FRAME_TYPE_EXTENDED) { - /* For extended frame, level is unknown, so we just set - * it to NORMAL_LEVEL. - */ - level = NORMAL_LEVEL; - } - - cport->rx_level = pjmedia_linear2ulaw(level) ^ 0xff; - - /* Put the frame to all listeners. */ - for (j=0; j < cport->listener_cnt; ++j) - { - struct conf_port *listener; - pj_status_t status; - - listener = conf->ports[cport->listener_slots[j]]; - - /* Skip if this listener doesn't want to receive audio */ - if (listener->tx_setting == PJMEDIA_PORT_DISABLE) { - pj_add_timestamp32(&listener->ts_tx, - listener->samples_per_frame); - listener->tx_level = 0; - continue; - } - - /* Skip loopback for now. */ - if (listener == cport) { - pj_add_timestamp32(&listener->ts_tx, - listener->samples_per_frame); - listener->tx_level = 0; - continue; - } - - status = write_frame(listener, f); - if (status != PJ_SUCCESS) { - listener->tx_level = 0; - continue; - } - - /* Set listener TX level based on transmitter RX level & listener - * TX level. - */ - listener->tx_level = (cport->rx_level * listener->tx_adj_level) >> 8; - } - - /* Unlock mutex */ - pj_mutex_unlock(conf->mutex); - - return PJ_SUCCESS; -} - -#endif diff --git a/res/pjproject/pjmedia/src/pjmedia/conference.c b/res/pjproject/pjmedia/src/pjmedia/conference.c deleted file mode 100644 index 905ae588dd..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/conference.c +++ /dev/null @@ -1,2085 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#if !defined(PJMEDIA_CONF_USE_SWITCH_BOARD) || PJMEDIA_CONF_USE_SWITCH_BOARD==0 - -/* CONF_DEBUG enables detailed operation of the conference bridge. - * Beware that it prints large amounts of logs (several lines per frame). - */ -//#define CONF_DEBUG -#ifdef CONF_DEBUG -# include -# define TRACE_(x) PJ_LOG(5,x) -#else -# define TRACE_(x) -#endif - - -/* REC_FILE macro enables recording of the samples written to the sound - * device. The file contains RAW PCM data with no header, and has the - * same settings (clock rate etc) as the conference bridge. - * This should only be enabled when debugging audio quality *only*. - */ -//#define REC_FILE "confrec.pcm" -#ifdef REC_FILE -static FILE *fhnd_rec; -#endif - - -#define THIS_FILE "conference.c" - -#define RX_BUF_COUNT PJMEDIA_SOUND_BUFFER_COUNT - -#define BYTES_PER_SAMPLE 2 - -#define SIGNATURE PJMEDIA_CONF_BRIDGE_SIGNATURE -#define SIGNATURE_PORT PJMEDIA_SIG_PORT_CONF_PASV -/* Normal level is hardcodec to 128 in all over places */ -#define NORMAL_LEVEL 128 -#define SLOT_TYPE unsigned -#define INVALID_SLOT ((SLOT_TYPE)-1) - - -/* These are settings to control the adaptivity of changes in the - * signal level of the ports, so that sudden change in signal level - * in the port does not cause misaligned signal (which causes noise). - */ -#define ATTACK_A (conf->clock_rate / conf->samples_per_frame) -#define ATTACK_B 1 -#define DECAY_A 0 -#define DECAY_B 1 - -#define SIMPLE_AGC(last, target) \ - if (target >= last) \ - target = (ATTACK_A*(last+1)+ATTACK_B*target)/(ATTACK_A+ATTACK_B); \ - else \ - target = (DECAY_A*last+DECAY_B*target)/(DECAY_A+DECAY_B) - -#define MAX_LEVEL (32767) -#define MIN_LEVEL (-32768) - -#define IS_OVERFLOW(s) ((s > MAX_LEVEL) || (s < MIN_LEVEL)) - - -/* - * DON'T GET CONFUSED WITH TX/RX!! - * - * TX and RX directions are always viewed from the conference bridge's point - * of view, and NOT from the port's point of view. So TX means the bridge - * is transmitting to the port, RX means the bridge is receiving from the - * port. - */ - - -/** - * This is a port connected to conference bridge. - */ -struct conf_port -{ - pj_str_t name; /**< Port name. */ - pjmedia_port *port; /**< get_frame() and put_frame() */ - pjmedia_port_op rx_setting; /**< Can we receive from this port */ - pjmedia_port_op tx_setting; /**< Can we transmit to this port */ - unsigned listener_cnt; /**< Number of listeners. */ - SLOT_TYPE *listener_slots;/**< Array of listeners. */ - unsigned transmitter_cnt;/**name, name); - - /* Default has tx and rx enabled. */ - conf_port->rx_setting = PJMEDIA_PORT_ENABLE; - conf_port->tx_setting = PJMEDIA_PORT_ENABLE; - - /* Default level adjustment is 128 (which means no adjustment) */ - conf_port->tx_adj_level = NORMAL_LEVEL; - conf_port->rx_adj_level = NORMAL_LEVEL; - - /* Create transmit flag array */ - conf_port->listener_slots = (SLOT_TYPE*) - pj_pool_zalloc(pool, - conf->max_ports * sizeof(SLOT_TYPE)); - PJ_ASSERT_RETURN(conf_port->listener_slots, PJ_ENOMEM); - - /* Save some port's infos, for convenience. */ - if (port) { - pjmedia_audio_format_detail *afd; - - afd = pjmedia_format_get_audio_format_detail(&port->info.fmt, 1); - conf_port->port = port; - conf_port->clock_rate = afd->clock_rate; - conf_port->samples_per_frame = PJMEDIA_AFD_SPF(afd); - conf_port->channel_count = afd->channel_count; - } else { - conf_port->port = NULL; - conf_port->clock_rate = conf->clock_rate; - conf_port->samples_per_frame = conf->samples_per_frame; - conf_port->channel_count = conf->channel_count; - } - - /* If port's clock rate is different than conference's clock rate, - * create a resample sessions. - */ - if (conf_port->clock_rate != conf->clock_rate) { - - pj_bool_t high_quality; - pj_bool_t large_filter; - - high_quality = ((conf->options & PJMEDIA_CONF_USE_LINEAR)==0); - large_filter = ((conf->options & PJMEDIA_CONF_SMALL_FILTER)==0); - - /* Create resample for rx buffer. */ - status = pjmedia_resample_create( pool, - high_quality, - large_filter, - conf->channel_count, - conf_port->clock_rate,/* Rate in */ - conf->clock_rate, /* Rate out */ - conf->samples_per_frame * - conf_port->clock_rate / - conf->clock_rate, - &conf_port->rx_resample); - if (status != PJ_SUCCESS) - return status; - - - /* Create resample for tx buffer. */ - status = pjmedia_resample_create(pool, - high_quality, - large_filter, - conf->channel_count, - conf->clock_rate, /* Rate in */ - conf_port->clock_rate, /* Rate out */ - conf->samples_per_frame, - &conf_port->tx_resample); - if (status != PJ_SUCCESS) - return status; - } - - /* - * Initialize rx and tx buffer, only when port's samples per frame or - * port's clock rate or channel number is different then the conference - * bridge settings. - */ - if (conf_port->clock_rate != conf->clock_rate || - conf_port->channel_count != conf->channel_count || - conf_port->samples_per_frame != conf->samples_per_frame) - { - unsigned port_ptime, conf_ptime, buff_ptime; - - port_ptime = conf_port->samples_per_frame / conf_port->channel_count * - 1000 / conf_port->clock_rate; - conf_ptime = conf->samples_per_frame / conf->channel_count * - 1000 / conf->clock_rate; - - /* Calculate the size (in ptime) for the port buffer according to - * this formula: - * - if either ptime is an exact multiple of the other, then use - * the larger ptime (e.g. 20ms and 40ms, use 40ms). - * - if not, then the ptime is sum of both ptimes (e.g. 20ms - * and 30ms, use 50ms) - */ - if (port_ptime > conf_ptime) { - buff_ptime = port_ptime; - if (port_ptime % conf_ptime) - buff_ptime += conf_ptime; - } else { - buff_ptime = conf_ptime; - if (conf_ptime % port_ptime) - buff_ptime += port_ptime; - } - - /* Create RX buffer. */ - //conf_port->rx_buf_cap = (unsigned)(conf_port->samples_per_frame + - // conf->samples_per_frame * - // conf_port->clock_rate * 1.0 / - // conf->clock_rate + 0.5); - conf_port->rx_buf_cap = conf_port->clock_rate * buff_ptime / 1000; - if (conf_port->channel_count > conf->channel_count) - conf_port->rx_buf_cap *= conf_port->channel_count; - else - conf_port->rx_buf_cap *= conf->channel_count; - - conf_port->rx_buf_count = 0; - conf_port->rx_buf = (pj_int16_t*) - pj_pool_alloc(pool, conf_port->rx_buf_cap * - sizeof(conf_port->rx_buf[0])); - PJ_ASSERT_RETURN(conf_port->rx_buf, PJ_ENOMEM); - - /* Create TX buffer. */ - conf_port->tx_buf_cap = conf_port->rx_buf_cap; - conf_port->tx_buf_count = 0; - conf_port->tx_buf = (pj_int16_t*) - pj_pool_alloc(pool, conf_port->tx_buf_cap * - sizeof(conf_port->tx_buf[0])); - PJ_ASSERT_RETURN(conf_port->tx_buf, PJ_ENOMEM); - } - - - /* Create mix buffer. */ - conf_port->mix_buf = (pj_int32_t*) - pj_pool_zalloc(pool, conf->samples_per_frame * - sizeof(conf_port->mix_buf[0])); - PJ_ASSERT_RETURN(conf_port->mix_buf, PJ_ENOMEM); - conf_port->last_mix_adj = NORMAL_LEVEL; - - - /* Done */ - *p_conf_port = conf_port; - return PJ_SUCCESS; -} - - -/* - * Add passive port. - */ -static pj_status_t create_pasv_port( pjmedia_conf *conf, - pj_pool_t *pool, - const pj_str_t *name, - pjmedia_port *port, - struct conf_port **p_conf_port) -{ - struct conf_port *conf_port; - pj_status_t status; - unsigned ptime; - - /* Create port */ - status = create_conf_port(pool, conf, port, name, &conf_port); - if (status != PJ_SUCCESS) - return status; - - /* Passive port has delay buf. */ - ptime = conf->samples_per_frame * 1000 / conf->clock_rate / - conf->channel_count; - status = pjmedia_delay_buf_create(pool, name->ptr, - conf->clock_rate, - conf->samples_per_frame, - conf->channel_count, - RX_BUF_COUNT * ptime, /* max delay */ - 0, /* options */ - &conf_port->delay_buf); - if (status != PJ_SUCCESS) - return status; - - *p_conf_port = conf_port; - - return PJ_SUCCESS; -} - - -/* - * Create port zero for the sound device. - */ -static pj_status_t create_sound_port( pj_pool_t *pool, - pjmedia_conf *conf ) -{ - struct conf_port *conf_port; - pj_str_t name = { "Master/sound", 12 }; - pj_status_t status; - - - status = create_pasv_port(conf, pool, &name, NULL, &conf_port); - if (status != PJ_SUCCESS) - return status; - - - /* Create sound device port: */ - - if ((conf->options & PJMEDIA_CONF_NO_DEVICE) == 0) { - pjmedia_aud_stream *strm; - pjmedia_aud_param param; - - /* - * If capture is disabled then create player only port. - * Otherwise create bidirectional sound device port. - */ - if (conf->options & PJMEDIA_CONF_NO_MIC) { - status = pjmedia_snd_port_create_player(pool, -1, conf->clock_rate, - conf->channel_count, - conf->samples_per_frame, - conf->bits_per_sample, - 0, /* options */ - &conf->snd_dev_port); - - } else { - status = pjmedia_snd_port_create( pool, -1, -1, conf->clock_rate, - conf->channel_count, - conf->samples_per_frame, - conf->bits_per_sample, - 0, /* Options */ - &conf->snd_dev_port); - - } - - if (status != PJ_SUCCESS) - return status; - - strm = pjmedia_snd_port_get_snd_stream(conf->snd_dev_port); - status = pjmedia_aud_stream_get_param(strm, ¶m); - if (status == PJ_SUCCESS) { - pjmedia_aud_dev_info snd_dev_info; - if (conf->options & PJMEDIA_CONF_NO_MIC) - pjmedia_aud_dev_get_info(param.play_id, &snd_dev_info); - else - pjmedia_aud_dev_get_info(param.rec_id, &snd_dev_info); - pj_strdup2_with_null(pool, &conf_port->name, snd_dev_info.name); - } - - PJ_LOG(5,(THIS_FILE, "Sound device successfully created for port 0")); - } - - - /* Add the port to the bridge */ - conf->ports[0] = conf_port; - conf->port_cnt++; - - return PJ_SUCCESS; -} - -/* - * Create conference bridge. - */ -PJ_DEF(pj_status_t) pjmedia_conf_create( pj_pool_t *pool, - unsigned max_ports, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - pjmedia_conf **p_conf ) -{ - pjmedia_conf *conf; - const pj_str_t name = { "Conf", 4 }; - pj_status_t status; - - /* Can only accept 16bits per sample, for now.. */ - PJ_ASSERT_RETURN(bits_per_sample == 16, PJ_EINVAL); - - PJ_LOG(5,(THIS_FILE, "Creating conference bridge with %d ports", - max_ports)); - - /* Create and init conf structure. */ - conf = PJ_POOL_ZALLOC_T(pool, pjmedia_conf); - PJ_ASSERT_RETURN(conf, PJ_ENOMEM); - - conf->ports = (struct conf_port**) - pj_pool_zalloc(pool, max_ports*sizeof(void*)); - PJ_ASSERT_RETURN(conf->ports, PJ_ENOMEM); - - conf->options = options; - conf->max_ports = max_ports; - conf->clock_rate = clock_rate; - conf->channel_count = channel_count; - conf->samples_per_frame = samples_per_frame; - conf->bits_per_sample = bits_per_sample; - - - /* Create and initialize the master port interface. */ - conf->master_port = PJ_POOL_ZALLOC_T(pool, pjmedia_port); - PJ_ASSERT_RETURN(conf->master_port, PJ_ENOMEM); - - pjmedia_port_info_init(&conf->master_port->info, &name, SIGNATURE, - clock_rate, channel_count, bits_per_sample, - samples_per_frame); - - conf->master_port->port_data.pdata = conf; - conf->master_port->port_data.ldata = 0; - - conf->master_port->get_frame = &get_frame; - conf->master_port->put_frame = &put_frame; - conf->master_port->on_destroy = &destroy_port; - - - /* Create port zero for sound device. */ - status = create_sound_port(pool, conf); - if (status != PJ_SUCCESS) { - pjmedia_conf_destroy(conf); - return status; - } - - /* Create mutex. */ - status = pj_mutex_create_recursive(pool, "conf", &conf->mutex); - if (status != PJ_SUCCESS) { - pjmedia_conf_destroy(conf); - return status; - } - - /* If sound device was created, connect sound device to the - * master port. - */ - if (conf->snd_dev_port) { - status = pjmedia_snd_port_connect( conf->snd_dev_port, - conf->master_port ); - if (status != PJ_SUCCESS) { - pjmedia_conf_destroy(conf); - return status; - } - } - - - /* Done */ - - *p_conf = conf; - - return PJ_SUCCESS; -} - - -/* - * Pause sound device. - */ -static pj_status_t pause_sound( pjmedia_conf *conf ) -{ - /* Do nothing. */ - PJ_UNUSED_ARG(conf); - return PJ_SUCCESS; -} - -/* - * Resume sound device. - */ -static pj_status_t resume_sound( pjmedia_conf *conf ) -{ - /* Do nothing. */ - PJ_UNUSED_ARG(conf); - return PJ_SUCCESS; -} - - -/** - * Destroy conference bridge. - */ -PJ_DEF(pj_status_t) pjmedia_conf_destroy( pjmedia_conf *conf ) -{ - unsigned i, ci; - - PJ_ASSERT_RETURN(conf != NULL, PJ_EINVAL); - - /* Destroy sound device port. */ - if (conf->snd_dev_port) { - pjmedia_snd_port_destroy(conf->snd_dev_port); - conf->snd_dev_port = NULL; - } - - /* Destroy delay buf of all (passive) ports. */ - for (i=0, ci=0; imax_ports && ciport_cnt; ++i) { - struct conf_port *cport; - - cport = conf->ports[i]; - if (!cport) - continue; - - ++ci; - if (cport->delay_buf) { - pjmedia_delay_buf_destroy(cport->delay_buf); - cport->delay_buf = NULL; - } - } - - /* Destroy mutex */ - if (conf->mutex) - pj_mutex_destroy(conf->mutex); - - return PJ_SUCCESS; -} - - -/* - * Destroy the master port (will destroy the conference) - */ -static pj_status_t destroy_port(pjmedia_port *this_port) -{ - pjmedia_conf *conf = (pjmedia_conf*) this_port->port_data.pdata; - return pjmedia_conf_destroy(conf); -} - -static pj_status_t destroy_port_pasv(pjmedia_port *this_port) { - pjmedia_conf *conf = (pjmedia_conf*) this_port->port_data.pdata; - struct conf_port *port = conf->ports[this_port->port_data.ldata]; - pj_status_t status; - - status = pjmedia_delay_buf_destroy(port->delay_buf); - if (status == PJ_SUCCESS) - port->delay_buf = NULL; - - return status; -} - -/* - * Get port zero interface. - */ -PJ_DEF(pjmedia_port*) pjmedia_conf_get_master_port(pjmedia_conf *conf) -{ - /* Sanity check. */ - PJ_ASSERT_RETURN(conf != NULL, NULL); - - /* Can only return port interface when PJMEDIA_CONF_NO_DEVICE was - * present in the option. - */ - PJ_ASSERT_RETURN((conf->options & PJMEDIA_CONF_NO_DEVICE) != 0, NULL); - - return conf->master_port; -} - - -/* - * Set master port name. - */ -PJ_DEF(pj_status_t) pjmedia_conf_set_port0_name(pjmedia_conf *conf, - const pj_str_t *name) -{ - unsigned len; - - /* Sanity check. */ - PJ_ASSERT_RETURN(conf != NULL && name != NULL, PJ_EINVAL); - - len = name->slen; - if (len > sizeof(conf->master_name_buf)) - len = sizeof(conf->master_name_buf); - - if (len > 0) pj_memcpy(conf->master_name_buf, name->ptr, len); - - conf->ports[0]->name.ptr = conf->master_name_buf; - conf->ports[0]->name.slen = len; - - if (conf->master_port) - conf->master_port->info.name = conf->ports[0]->name; - - return PJ_SUCCESS; -} - -/* - * Add stream port to the conference bridge. - */ -PJ_DEF(pj_status_t) pjmedia_conf_add_port( pjmedia_conf *conf, - pj_pool_t *pool, - pjmedia_port *strm_port, - const pj_str_t *port_name, - unsigned *p_port ) -{ - struct conf_port *conf_port; - unsigned index; - pj_status_t status; - - PJ_ASSERT_RETURN(conf && pool && strm_port, PJ_EINVAL); - - /* If port_name is not specified, use the port's name */ - if (!port_name) - port_name = &strm_port->info.name; - - /* For this version of PJMEDIA, channel(s) number MUST be: - * - same between port & conference bridge. - * - monochannel on port or conference bridge. - */ - if (PJMEDIA_PIA_CCNT(&strm_port->info) != conf->channel_count && - (PJMEDIA_PIA_CCNT(&strm_port->info) != 1 && - conf->channel_count != 1)) - { - pj_assert(!"Number of channels mismatch"); - return PJMEDIA_ENCCHANNEL; - } - - pj_mutex_lock(conf->mutex); - - if (conf->port_cnt >= conf->max_ports) { - pj_assert(!"Too many ports"); - pj_mutex_unlock(conf->mutex); - return PJ_ETOOMANY; - } - - /* Find empty port in the conference bridge. */ - for (index=0; index < conf->max_ports; ++index) { - if (conf->ports[index] == NULL) - break; - } - - pj_assert(index != conf->max_ports); - - /* Create conf port structure. */ - status = create_conf_port(pool, conf, strm_port, port_name, &conf_port); - if (status != PJ_SUCCESS) { - pj_mutex_unlock(conf->mutex); - return status; - } - - /* Put the port. */ - conf->ports[index] = conf_port; - conf->port_cnt++; - - /* Done. */ - if (p_port) { - *p_port = index; - } - - pj_mutex_unlock(conf->mutex); - - return PJ_SUCCESS; -} - - -/* - * Add passive port. - */ -PJ_DEF(pj_status_t) pjmedia_conf_add_passive_port( pjmedia_conf *conf, - pj_pool_t *pool, - const pj_str_t *name, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - unsigned *p_slot, - pjmedia_port **p_port ) -{ - struct conf_port *conf_port; - pjmedia_port *port; - unsigned index; - pj_str_t tmp; - pj_status_t status; - - PJ_LOG(1, (THIS_FILE, "This API has been deprecated since 1.3 and will " - "be removed in the future release!")); - - PJ_ASSERT_RETURN(conf && pool, PJ_EINVAL); - - /* For this version of PJMEDIA, channel(s) number MUST be: - * - same between port & conference bridge. - * - monochannel on port or conference bridge. - */ - if (channel_count != conf->channel_count && - (channel_count != 1 && conf->channel_count != 1)) - { - pj_assert(!"Number of channels mismatch"); - return PJMEDIA_ENCCHANNEL; - } - - /* For this version, options must be zero */ - PJ_ASSERT_RETURN(options == 0, PJ_EINVAL); - PJ_UNUSED_ARG(options); - - pj_mutex_lock(conf->mutex); - - if (conf->port_cnt >= conf->max_ports) { - pj_assert(!"Too many ports"); - pj_mutex_unlock(conf->mutex); - return PJ_ETOOMANY; - } - - /* Find empty port in the conference bridge. */ - for (index=0; index < conf->max_ports; ++index) { - if (conf->ports[index] == NULL) - break; - } - - pj_assert(index != conf->max_ports); - - if (name == NULL) { - name = &tmp; - - tmp.ptr = (char*) pj_pool_alloc(pool, 32); - tmp.slen = pj_ansi_snprintf(tmp.ptr, 32, "ConfPort#%d", index); - } - - /* Create and initialize the media port structure. */ - port = PJ_POOL_ZALLOC_T(pool, pjmedia_port); - PJ_ASSERT_RETURN(port, PJ_ENOMEM); - - pjmedia_port_info_init(&port->info, name, SIGNATURE_PORT, - clock_rate, channel_count, bits_per_sample, - samples_per_frame); - - port->port_data.pdata = conf; - port->port_data.ldata = index; - - port->get_frame = &get_frame_pasv; - port->put_frame = &put_frame; - port->on_destroy = &destroy_port_pasv; - - - /* Create conf port structure. */ - status = create_pasv_port(conf, pool, name, port, &conf_port); - if (status != PJ_SUCCESS) { - pj_mutex_unlock(conf->mutex); - return status; - } - - - /* Put the port. */ - conf->ports[index] = conf_port; - conf->port_cnt++; - - /* Done. */ - if (p_slot) - *p_slot = index; - if (p_port) - *p_port = port; - - pj_mutex_unlock(conf->mutex); - - return PJ_SUCCESS; -} - - - -/* - * Change TX and RX settings for the port. - */ -PJ_DEF(pj_status_t) pjmedia_conf_configure_port( pjmedia_conf *conf, - unsigned slot, - pjmedia_port_op tx, - pjmedia_port_op rx) -{ - struct conf_port *conf_port; - - /* Check arguments */ - PJ_ASSERT_RETURN(conf && slotmax_ports, PJ_EINVAL); - - pj_mutex_lock(conf->mutex); - - /* Port must be valid. */ - conf_port = conf->ports[slot]; - if (conf_port == NULL) { - pj_mutex_unlock(conf->mutex); - return PJ_EINVAL; - } - - conf_port = conf->ports[slot]; - - if (tx != PJMEDIA_PORT_NO_CHANGE) - conf_port->tx_setting = tx; - - if (rx != PJMEDIA_PORT_NO_CHANGE) - conf_port->rx_setting = rx; - - pj_mutex_unlock(conf->mutex); - - return PJ_SUCCESS; -} - - -/* - * Connect port. - */ -PJ_DEF(pj_status_t) pjmedia_conf_connect_port( pjmedia_conf *conf, - unsigned src_slot, - unsigned sink_slot, - int level ) -{ - struct conf_port *src_port, *dst_port; - pj_bool_t start_sound = PJ_FALSE; - unsigned i; - - /* Check arguments */ - PJ_ASSERT_RETURN(conf && src_slotmax_ports && - sink_slotmax_ports, PJ_EINVAL); - - /* For now, level MUST be zero. */ - PJ_ASSERT_RETURN(level == 0, PJ_EINVAL); - - pj_mutex_lock(conf->mutex); - - /* Ports must be valid. */ - src_port = conf->ports[src_slot]; - dst_port = conf->ports[sink_slot]; - if (!src_port || !dst_port) { - pj_mutex_unlock(conf->mutex); - return PJ_EINVAL; - } - - /* Check if connection has been made */ - for (i=0; ilistener_cnt; ++i) { - if (src_port->listener_slots[i] == sink_slot) - break; - } - - if (i == src_port->listener_cnt) { - src_port->listener_slots[src_port->listener_cnt] = sink_slot; - ++conf->connect_cnt; - ++src_port->listener_cnt; - ++dst_port->transmitter_cnt; - - if (conf->connect_cnt == 1) - start_sound = 1; - - PJ_LOG(4,(THIS_FILE,"Port %d (%.*s) transmitting to port %d (%.*s)", - src_slot, - (int)src_port->name.slen, - src_port->name.ptr, - sink_slot, - (int)dst_port->name.slen, - dst_port->name.ptr)); - } - - pj_mutex_unlock(conf->mutex); - - /* Sound device must be started without mutex, otherwise the - * sound thread will deadlock (?) - */ - if (start_sound) - resume_sound(conf); - - return PJ_SUCCESS; -} - - -/* - * Disconnect port - */ -PJ_DEF(pj_status_t) pjmedia_conf_disconnect_port( pjmedia_conf *conf, - unsigned src_slot, - unsigned sink_slot ) -{ - struct conf_port *src_port, *dst_port; - unsigned i; - - /* Check arguments */ - PJ_ASSERT_RETURN(conf && src_slotmax_ports && - sink_slotmax_ports, PJ_EINVAL); - - pj_mutex_lock(conf->mutex); - - /* Ports must be valid. */ - src_port = conf->ports[src_slot]; - dst_port = conf->ports[sink_slot]; - if (!src_port || !dst_port) { - pj_mutex_unlock(conf->mutex); - return PJ_EINVAL; - } - - /* Check if connection has been made */ - for (i=0; ilistener_cnt; ++i) { - if (src_port->listener_slots[i] == sink_slot) - break; - } - - if (i != src_port->listener_cnt) { - pj_assert(src_port->listener_cnt > 0 && - src_port->listener_cnt < conf->max_ports); - pj_assert(dst_port->transmitter_cnt > 0 && - dst_port->transmitter_cnt < conf->max_ports); - pj_array_erase(src_port->listener_slots, sizeof(SLOT_TYPE), - src_port->listener_cnt, i); - --conf->connect_cnt; - --src_port->listener_cnt; - --dst_port->transmitter_cnt; - - PJ_LOG(4,(THIS_FILE, - "Port %d (%.*s) stop transmitting to port %d (%.*s)", - src_slot, - (int)src_port->name.slen, - src_port->name.ptr, - sink_slot, - (int)dst_port->name.slen, - dst_port->name.ptr)); - - /* if source port is passive port and has no listener, reset delaybuf */ - if (src_port->delay_buf && src_port->listener_cnt == 0) - pjmedia_delay_buf_reset(src_port->delay_buf); - } - - pj_mutex_unlock(conf->mutex); - - if (conf->connect_cnt == 0) { - pause_sound(conf); - } - - return PJ_SUCCESS; -} - -/* - * Get number of ports currently registered to the conference bridge. - */ -PJ_DEF(unsigned) pjmedia_conf_get_port_count(pjmedia_conf *conf) -{ - return conf->port_cnt; -} - -/* - * Get total number of ports connections currently set up in the bridge. - */ -PJ_DEF(unsigned) pjmedia_conf_get_connect_count(pjmedia_conf *conf) -{ - return conf->connect_cnt; -} - - -/* - * Remove the specified port. - */ -PJ_DEF(pj_status_t) pjmedia_conf_remove_port( pjmedia_conf *conf, - unsigned port ) -{ - struct conf_port *conf_port; - unsigned i; - - /* Check arguments */ - PJ_ASSERT_RETURN(conf && port < conf->max_ports, PJ_EINVAL); - - /* Suspend the sound devices. - * Don't want to remove port while port is being accessed by sound - * device's threads! - */ - - pj_mutex_lock(conf->mutex); - - /* Port must be valid. */ - conf_port = conf->ports[port]; - if (conf_port == NULL) { - pj_mutex_unlock(conf->mutex); - return PJ_EINVAL; - } - - conf_port->tx_setting = PJMEDIA_PORT_DISABLE; - conf_port->rx_setting = PJMEDIA_PORT_DISABLE; - - /* Remove this port from transmit array of other ports. */ - for (i=0; imax_ports; ++i) { - unsigned j; - struct conf_port *src_port; - - src_port = conf->ports[i]; - - if (!src_port) - continue; - - if (src_port->listener_cnt == 0) - continue; - - for (j=0; jlistener_cnt; ++j) { - if (src_port->listener_slots[j] == port) { - pj_array_erase(src_port->listener_slots, sizeof(SLOT_TYPE), - src_port->listener_cnt, j); - pj_assert(conf->connect_cnt > 0); - --conf->connect_cnt; - --src_port->listener_cnt; - break; - } - } - } - - /* Update transmitter_cnt of ports we're transmitting to */ - while (conf_port->listener_cnt) { - unsigned dst_slot; - struct conf_port *dst_port; - - dst_slot = conf_port->listener_slots[conf_port->listener_cnt-1]; - dst_port = conf->ports[dst_slot]; - --dst_port->transmitter_cnt; - --conf_port->listener_cnt; - pj_assert(conf->connect_cnt > 0); - --conf->connect_cnt; - } - - /* Destroy pjmedia port if this conf port is passive port, - * i.e: has delay buf. - */ - if (conf_port->delay_buf) { - pjmedia_port_destroy(conf_port->port); - conf_port->port = NULL; - } - - /* Remove the port. */ - conf->ports[port] = NULL; - --conf->port_cnt; - - pj_mutex_unlock(conf->mutex); - - - /* Stop sound if there's no connection. */ - if (conf->connect_cnt == 0) { - pause_sound(conf); - } - - return PJ_SUCCESS; -} - - -/* - * Enum ports. - */ -PJ_DEF(pj_status_t) pjmedia_conf_enum_ports( pjmedia_conf *conf, - unsigned ports[], - unsigned *p_count ) -{ - unsigned i, count=0; - - PJ_ASSERT_RETURN(conf && p_count && ports, PJ_EINVAL); - - /* Lock mutex */ - pj_mutex_lock(conf->mutex); - - for (i=0; imax_ports && count<*p_count; ++i) { - if (!conf->ports[i]) - continue; - - ports[count++] = i; - } - - /* Unlock mutex */ - pj_mutex_unlock(conf->mutex); - - *p_count = count; - return PJ_SUCCESS; -} - -/* - * Get port info - */ -PJ_DEF(pj_status_t) pjmedia_conf_get_port_info( pjmedia_conf *conf, - unsigned slot, - pjmedia_conf_port_info *info) -{ - struct conf_port *conf_port; - - /* Check arguments */ - PJ_ASSERT_RETURN(conf && slotmax_ports, PJ_EINVAL); - - /* Lock mutex */ - pj_mutex_lock(conf->mutex); - - /* Port must be valid. */ - conf_port = conf->ports[slot]; - if (conf_port == NULL) { - pj_mutex_unlock(conf->mutex); - return PJ_EINVAL; - } - - info->slot = slot; - info->name = conf_port->name; - info->tx_setting = conf_port->tx_setting; - info->rx_setting = conf_port->rx_setting; - info->listener_cnt = conf_port->listener_cnt; - info->listener_slots = conf_port->listener_slots; - info->transmitter_cnt = conf_port->transmitter_cnt; - info->clock_rate = conf_port->clock_rate; - info->channel_count = conf_port->channel_count; - info->samples_per_frame = conf_port->samples_per_frame; - info->bits_per_sample = conf->bits_per_sample; - info->tx_adj_level = conf_port->tx_adj_level - NORMAL_LEVEL; - info->rx_adj_level = conf_port->rx_adj_level - NORMAL_LEVEL; - - /* Unlock mutex */ - pj_mutex_unlock(conf->mutex); - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_conf_get_ports_info(pjmedia_conf *conf, - unsigned *size, - pjmedia_conf_port_info info[]) -{ - unsigned i, count=0; - - PJ_ASSERT_RETURN(conf && size && info, PJ_EINVAL); - - /* Lock mutex */ - pj_mutex_lock(conf->mutex); - - for (i=0; imax_ports && count<*size; ++i) { - if (!conf->ports[i]) - continue; - - pjmedia_conf_get_port_info(conf, i, &info[count]); - ++count; - } - - /* Unlock mutex */ - pj_mutex_unlock(conf->mutex); - - *size = count; - return PJ_SUCCESS; -} - - -/* - * Get signal level. - */ -PJ_DEF(pj_status_t) pjmedia_conf_get_signal_level( pjmedia_conf *conf, - unsigned slot, - unsigned *tx_level, - unsigned *rx_level) -{ - struct conf_port *conf_port; - - /* Check arguments */ - PJ_ASSERT_RETURN(conf && slotmax_ports, PJ_EINVAL); - - /* Lock mutex */ - pj_mutex_lock(conf->mutex); - - /* Port must be valid. */ - conf_port = conf->ports[slot]; - if (conf_port == NULL) { - pj_mutex_unlock(conf->mutex); - return PJ_EINVAL; - } - - if (tx_level != NULL) { - *tx_level = conf_port->tx_level; - } - - if (rx_level != NULL) - *rx_level = conf_port->rx_level; - - /* Unlock mutex */ - pj_mutex_unlock(conf->mutex); - - return PJ_SUCCESS; -} - - -/* - * Adjust RX level of individual port. - */ -PJ_DEF(pj_status_t) pjmedia_conf_adjust_rx_level( pjmedia_conf *conf, - unsigned slot, - int adj_level ) -{ - struct conf_port *conf_port; - - /* Check arguments */ - PJ_ASSERT_RETURN(conf && slotmax_ports, PJ_EINVAL); - - /* Value must be from -128 to +127 */ - /* Disabled, you can put more than +127, at your own risk: - PJ_ASSERT_RETURN(adj_level >= -128 && adj_level <= 127, PJ_EINVAL); - */ - PJ_ASSERT_RETURN(adj_level >= -128, PJ_EINVAL); - - /* Lock mutex */ - pj_mutex_lock(conf->mutex); - - /* Port must be valid. */ - conf_port = conf->ports[slot]; - if (conf_port == NULL) { - pj_mutex_unlock(conf->mutex); - return PJ_EINVAL; - } - - /* Set normalized adjustment level. */ - conf_port->rx_adj_level = adj_level + NORMAL_LEVEL; - - /* Unlock mutex */ - pj_mutex_unlock(conf->mutex); - - return PJ_SUCCESS; -} - - -/* - * Adjust TX level of individual port. - */ -PJ_DEF(pj_status_t) pjmedia_conf_adjust_tx_level( pjmedia_conf *conf, - unsigned slot, - int adj_level ) -{ - struct conf_port *conf_port; - - /* Check arguments */ - PJ_ASSERT_RETURN(conf && slotmax_ports, PJ_EINVAL); - - /* Value must be from -128 to +127 */ - /* Disabled, you can put more than +127,, at your own risk: - PJ_ASSERT_RETURN(adj_level >= -128 && adj_level <= 127, PJ_EINVAL); - */ - PJ_ASSERT_RETURN(adj_level >= -128, PJ_EINVAL); - - /* Lock mutex */ - pj_mutex_lock(conf->mutex); - - /* Port must be valid. */ - conf_port = conf->ports[slot]; - if (conf_port == NULL) { - pj_mutex_unlock(conf->mutex); - return PJ_EINVAL; - } - - /* Set normalized adjustment level. */ - conf_port->tx_adj_level = adj_level + NORMAL_LEVEL; - - /* Unlock mutex */ - pj_mutex_unlock(conf->mutex); - - return PJ_SUCCESS; -} - - -/* - * Read from port. - */ -static pj_status_t read_port( pjmedia_conf *conf, - struct conf_port *cport, pj_int16_t *frame, - pj_size_t count, pjmedia_frame_type *type ) -{ - - pj_assert(count == conf->samples_per_frame); - - TRACE_((THIS_FILE, "read_port %.*s: count=%d", - (int)cport->name.slen, cport->name.ptr, - count)); - - /* - * If port's samples per frame and sampling rate and channel count - * matche conference bridge's settings, get the frame directly from - * the port. - */ - if (cport->rx_buf_cap == 0) { - pjmedia_frame f; - pj_status_t status; - - f.buf = frame; - f.size = count * BYTES_PER_SAMPLE; - - TRACE_((THIS_FILE, " get_frame %.*s: count=%d", - (int)cport->name.slen, cport->name.ptr, - count)); - - status = pjmedia_port_get_frame(cport->port, &f); - - *type = f.type; - - return status; - - } else { - unsigned samples_req; - - /* Initialize frame type */ - if (cport->rx_buf_count == 0) { - *type = PJMEDIA_FRAME_TYPE_NONE; - } else { - /* we got some samples in the buffer */ - *type = PJMEDIA_FRAME_TYPE_AUDIO; - } - - /* - * If we don't have enough samples in rx_buf, read from the port - * first. Remember that rx_buf may be in different clock rate and - * channel count! - */ - - samples_req = (unsigned) (count * 1.0 * - cport->clock_rate / conf->clock_rate + 0.5); - - while (cport->rx_buf_count < samples_req) { - - pjmedia_frame f; - pj_status_t status; - - f.buf = cport->rx_buf + cport->rx_buf_count; - f.size = cport->samples_per_frame * BYTES_PER_SAMPLE; - - TRACE_((THIS_FILE, " get_frame, count=%d", - cport->samples_per_frame)); - - status = pjmedia_port_get_frame(cport->port, &f); - - if (status != PJ_SUCCESS) { - /* Fatal error! */ - return status; - } - - if (f.type != PJMEDIA_FRAME_TYPE_AUDIO) { - TRACE_((THIS_FILE, " get_frame returned non-audio")); - pjmedia_zero_samples( cport->rx_buf + cport->rx_buf_count, - cport->samples_per_frame); - } else { - /* We've got at least one frame */ - *type = PJMEDIA_FRAME_TYPE_AUDIO; - } - - /* Adjust channels */ - if (cport->channel_count != conf->channel_count) { - if (cport->channel_count == 1) { - pjmedia_convert_channel_1ton((pj_int16_t*)f.buf, - (const pj_int16_t*)f.buf, - conf->channel_count, - cport->samples_per_frame, - 0); - cport->rx_buf_count += (cport->samples_per_frame * - conf->channel_count); - } else { /* conf->channel_count == 1 */ - pjmedia_convert_channel_nto1((pj_int16_t*)f.buf, - (const pj_int16_t*)f.buf, - cport->channel_count, - cport->samples_per_frame, - PJMEDIA_STEREO_MIX, 0); - cport->rx_buf_count += (cport->samples_per_frame / - cport->channel_count); - } - } else { - cport->rx_buf_count += cport->samples_per_frame; - } - - TRACE_((THIS_FILE, " rx buffer size is now %d", - cport->rx_buf_count)); - - pj_assert(cport->rx_buf_count <= cport->rx_buf_cap); - } - - /* - * If port's clock_rate is different, resample. - * Otherwise just copy. - */ - if (cport->clock_rate != conf->clock_rate) { - - unsigned src_count; - - TRACE_((THIS_FILE, " resample, input count=%d", - pjmedia_resample_get_input_size(cport->rx_resample))); - - pjmedia_resample_run( cport->rx_resample,cport->rx_buf, frame); - - src_count = (unsigned)(count * 1.0 * cport->clock_rate / - conf->clock_rate + 0.5); - cport->rx_buf_count -= src_count; - if (cport->rx_buf_count) { - pjmedia_move_samples(cport->rx_buf, cport->rx_buf+src_count, - cport->rx_buf_count); - } - - TRACE_((THIS_FILE, " rx buffer size is now %d", - cport->rx_buf_count)); - - } else { - - pjmedia_copy_samples(frame, cport->rx_buf, count); - cport->rx_buf_count -= count; - if (cport->rx_buf_count) { - pjmedia_move_samples(cport->rx_buf, cport->rx_buf+count, - cport->rx_buf_count); - } - } - } - - return PJ_SUCCESS; -} - - -/* - * Write the mixed signal to the port. - */ -static pj_status_t write_port(pjmedia_conf *conf, struct conf_port *cport, - const pj_timestamp *timestamp, - pjmedia_frame_type *frm_type) -{ - pj_int16_t *buf; - unsigned j, ts; - pj_status_t status; - pj_int32_t adj_level; - pj_int32_t tx_level; - unsigned dst_count; - - *frm_type = PJMEDIA_FRAME_TYPE_AUDIO; - - /* If port is muted or nobody is transmitting to this port, - * transmit NULL frame. - */ - if (cport->tx_setting == PJMEDIA_PORT_MUTE || cport->transmitter_cnt==0) { - - pjmedia_frame frame; - - /* Clear left-over samples in tx_buffer, if any, so that it won't - * be transmitted next time we have audio signal. - */ - cport->tx_buf_count = 0; - - /* Add sample counts to heart-beat samples */ - cport->tx_heart_beat += conf->samples_per_frame * cport->clock_rate / - conf->clock_rate * - cport->channel_count / conf->channel_count; - - /* Set frame timestamp */ - frame.timestamp.u64 = timestamp->u64 * cport->clock_rate / - conf->clock_rate; - frame.type = PJMEDIA_FRAME_TYPE_NONE; - frame.buf = NULL; - frame.size = 0; - - /* Transmit heart-beat frames (may transmit more than one NULL frame - * if port's ptime is less than bridge's ptime. - */ - if (cport->port && cport->port->put_frame) { - while (cport->tx_heart_beat >= cport->samples_per_frame) { - - pjmedia_port_put_frame(cport->port, &frame); - - cport->tx_heart_beat -= cport->samples_per_frame; - frame.timestamp.u64 += cport->samples_per_frame; - } - } - - cport->tx_level = 0; - *frm_type = PJMEDIA_FRAME_TYPE_NONE; - return PJ_SUCCESS; - - } else if (cport->tx_setting != PJMEDIA_PORT_ENABLE) { - cport->tx_level = 0; - *frm_type = PJMEDIA_FRAME_TYPE_NONE; - return PJ_SUCCESS; - } - - /* Reset heart-beat sample count */ - cport->tx_heart_beat = 0; - - buf = (pj_int16_t*) cport->mix_buf; - - /* If there are sources in the mix buffer, convert the mixed samples - * from 32bit to 16bit in the mixed samples itself. This is possible - * because mixed sample is 32bit. - * - * In addition to this process, if we need to change the level of - * TX signal, we adjust is here too. - */ - - /* Calculate signal level and adjust the signal when needed. - * Two adjustments performed at once: - * 1. user setting adjustment (tx_adj_level). - * 2. automatic adjustment of overflowed mixed buffer (mix_adj). - */ - - /* Apply simple AGC to the mix_adj, the automatic adjust, to avoid - * dramatic change in the level thus causing noise because the signal - * is now not aligned with the signal from the previous frame. - */ - SIMPLE_AGC(cport->last_mix_adj, cport->mix_adj); - cport->last_mix_adj = cport->mix_adj; - - /* adj_level = cport->tx_adj_level * cport->mix_adj / NORMAL_LEVEL;*/ - adj_level = cport->tx_adj_level * cport->mix_adj; - adj_level >>= 7; - - tx_level = 0; - - if (adj_level != NORMAL_LEVEL) { - for (j=0; jsamples_per_frame; ++j) { - pj_int32_t itemp = cport->mix_buf[j]; - - /* Adjust the level */ - /*itemp = itemp * adj_level / NORMAL_LEVEL;*/ - itemp = (itemp * adj_level) >> 7; - - /* Clip the signal if it's too loud */ - if (itemp > MAX_LEVEL) itemp = MAX_LEVEL; - else if (itemp < MIN_LEVEL) itemp = MIN_LEVEL; - - /* Put back in the buffer. */ - buf[j] = (pj_int16_t) itemp; - - tx_level += (buf[j]>=0? buf[j] : -buf[j]); - } - } else { - for (j=0; jsamples_per_frame; ++j) { - buf[j] = (pj_int16_t) cport->mix_buf[j]; - tx_level += (buf[j]>=0? buf[j] : -buf[j]); - } - } - - tx_level /= conf->samples_per_frame; - - /* Convert level to 8bit complement ulaw */ - tx_level = pjmedia_linear2ulaw(tx_level) ^ 0xff; - - cport->tx_level = tx_level; - - /* If port has the same clock_rate and samples_per_frame and - * number of channels as the conference bridge, transmit the - * frame as is. - */ - if (cport->clock_rate == conf->clock_rate && - cport->samples_per_frame == conf->samples_per_frame && - cport->channel_count == conf->channel_count) - { - if (cport->port != NULL) { - pjmedia_frame frame; - - frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - frame.buf = buf; - frame.size = conf->samples_per_frame * BYTES_PER_SAMPLE; - /* No need to adjust timestamp, port has the same - * clock rate as conference bridge - */ - frame.timestamp = *timestamp; - - TRACE_((THIS_FILE, "put_frame %.*s, count=%d", - (int)cport->name.slen, cport->name.ptr, - frame.size / BYTES_PER_SAMPLE)); - - return pjmedia_port_put_frame(cport->port, &frame); - } else - return PJ_SUCCESS; - } - - /* If it has different clock_rate, must resample. */ - if (cport->clock_rate != conf->clock_rate) { - pjmedia_resample_run( cport->tx_resample, buf, - cport->tx_buf + cport->tx_buf_count ); - dst_count = (unsigned)(conf->samples_per_frame * 1.0 * - cport->clock_rate / conf->clock_rate + 0.5); - } else { - /* Same clock rate. - * Just copy the samples to tx_buffer. - */ - pjmedia_copy_samples( cport->tx_buf + cport->tx_buf_count, - buf, conf->samples_per_frame ); - dst_count = conf->samples_per_frame; - } - - /* Adjust channels */ - if (cport->channel_count != conf->channel_count) { - pj_int16_t *tx_buf = cport->tx_buf + cport->tx_buf_count; - if (conf->channel_count == 1) { - pjmedia_convert_channel_1ton(tx_buf, tx_buf, - cport->channel_count, - dst_count, 0); - dst_count *= cport->channel_count; - } else { /* cport->channel_count == 1 */ - pjmedia_convert_channel_nto1(tx_buf, tx_buf, - conf->channel_count, - dst_count, PJMEDIA_STEREO_MIX, 0); - dst_count /= conf->channel_count; - } - } - - cport->tx_buf_count += dst_count; - - pj_assert(cport->tx_buf_count <= cport->tx_buf_cap); - - /* Transmit while we have enough frame in the tx_buf. */ - status = PJ_SUCCESS; - ts = 0; - while (cport->tx_buf_count >= cport->samples_per_frame && - status == PJ_SUCCESS) - { - - TRACE_((THIS_FILE, "write_port %.*s: count=%d", - (int)cport->name.slen, cport->name.ptr, - cport->samples_per_frame)); - - if (cport->port) { - pjmedia_frame frame; - - frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - frame.buf = cport->tx_buf; - frame.size = cport->samples_per_frame * BYTES_PER_SAMPLE; - /* Adjust timestamp as port may have different clock rate - * than the bridge. - */ - frame.timestamp.u64 = timestamp->u64 * cport->clock_rate / - conf->clock_rate; - - /* Add timestamp for individual frame */ - frame.timestamp.u64 += ts; - ts += cport->samples_per_frame; - - TRACE_((THIS_FILE, "put_frame %.*s, count=%d", - (int)cport->name.slen, cport->name.ptr, - frame.size / BYTES_PER_SAMPLE)); - - status = pjmedia_port_put_frame(cport->port, &frame); - - } else - status = PJ_SUCCESS; - - cport->tx_buf_count -= cport->samples_per_frame; - if (cport->tx_buf_count) { - pjmedia_move_samples(cport->tx_buf, - cport->tx_buf + cport->samples_per_frame, - cport->tx_buf_count); - } - - TRACE_((THIS_FILE, " tx_buf count now is %d", - cport->tx_buf_count)); - } - - return status; -} - - -/* - * Player callback. - */ -static pj_status_t get_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - pjmedia_conf *conf = (pjmedia_conf*) this_port->port_data.pdata; - pjmedia_frame_type speaker_frame_type = PJMEDIA_FRAME_TYPE_NONE; - unsigned ci, cj, i, j; - pj_int16_t *p_in; - - TRACE_((THIS_FILE, "- clock -")); - - /* Check that correct size is specified. */ - pj_assert(frame->size == conf->samples_per_frame * - conf->bits_per_sample / 8); - - /* Must lock mutex */ - pj_mutex_lock(conf->mutex); - - /* Reset port source count. We will only reset port's mix - * buffer when we have someone transmitting to it. - */ - for (i=0, ci=0; imax_ports && ci < conf->port_cnt; ++i) { - struct conf_port *conf_port = conf->ports[i]; - - /* Skip empty slot. */ - if (!conf_port) - continue; - - ++ci; - - /* Reset buffer & auto adjustment level for mixed signal */ - conf_port->mix_adj = NORMAL_LEVEL; - if (conf_port->transmitter_cnt) { - pj_bzero(conf_port->mix_buf, - conf->samples_per_frame*sizeof(conf_port->mix_buf[0])); - } - } - - /* Get frames from all ports, and "mix" the signal - * to mix_buf of all listeners of the port. - */ - for (i=0, ci=0; imax_ports && ciport_cnt; ++i) { - struct conf_port *conf_port = conf->ports[i]; - pj_int32_t level = 0; - - /* Skip empty port. */ - if (!conf_port) - continue; - - /* Var "ci" is to count how many ports have been visited so far. */ - ++ci; - - /* Skip if we're not allowed to receive from this port. */ - if (conf_port->rx_setting == PJMEDIA_PORT_DISABLE) { - conf_port->rx_level = 0; - continue; - } - - /* Also skip if this port doesn't have listeners. */ - if (conf_port->listener_cnt == 0) { - conf_port->rx_level = 0; - continue; - } - - /* Get frame from this port. - * For passive ports, get the frame from the delay_buf. - * For other ports, get the frame from the port. - */ - if (conf_port->delay_buf != NULL) { - pj_status_t status; - - status = pjmedia_delay_buf_get(conf_port->delay_buf, - (pj_int16_t*)frame->buf); - if (status != PJ_SUCCESS) - continue; - - } else { - - pj_status_t status; - pjmedia_frame_type frame_type; - - status = read_port(conf, conf_port, (pj_int16_t*)frame->buf, - conf->samples_per_frame, &frame_type); - - if (status != PJ_SUCCESS) { - /* bennylp: why do we need this???? - * Also see comments on similar issue with write_port(). - PJ_LOG(4,(THIS_FILE, "Port %.*s get_frame() returned %d. " - "Port is now disabled", - (int)conf_port->name.slen, - conf_port->name.ptr, - status)); - conf_port->rx_setting = PJMEDIA_PORT_DISABLE; - */ - continue; - } - - /* Check that the port is not removed when we call get_frame() */ - if (conf->ports[i] == NULL) - continue; - - /* Ignore if we didn't get any frame */ - if (frame_type != PJMEDIA_FRAME_TYPE_AUDIO) - continue; - } - - p_in = (pj_int16_t*) frame->buf; - - /* Adjust the RX level from this port - * and calculate the average level at the same time. - */ - if (conf_port->rx_adj_level != NORMAL_LEVEL) { - for (j=0; jsamples_per_frame; ++j) { - /* For the level adjustment, we need to store the sample to - * a temporary 32bit integer value to avoid overflowing the - * 16bit sample storage. - */ - pj_int32_t itemp; - - itemp = p_in[j]; - /*itemp = itemp * adj / NORMAL_LEVEL;*/ - /* bad code (signed/unsigned badness): - * itemp = (itemp * conf_port->rx_adj_level) >> 7; - */ - itemp *= conf_port->rx_adj_level; - itemp >>= 7; - - /* Clip the signal if it's too loud */ - if (itemp > MAX_LEVEL) itemp = MAX_LEVEL; - else if (itemp < MIN_LEVEL) itemp = MIN_LEVEL; - - p_in[j] = (pj_int16_t) itemp; - level += (p_in[j]>=0? p_in[j] : -p_in[j]); - } - } else { - for (j=0; jsamples_per_frame; ++j) { - level += (p_in[j]>=0? p_in[j] : -p_in[j]); - } - } - - level /= conf->samples_per_frame; - - /* Convert level to 8bit complement ulaw */ - level = pjmedia_linear2ulaw(level) ^ 0xff; - - /* Put this level to port's last RX level. */ - conf_port->rx_level = level; - - // Ticket #671: Skipping very low audio signal may cause noise - // to be generated in the remote end by some hardphones. - /* Skip processing frame if level is zero */ - //if (level == 0) - // continue; - - /* Add the signal to all listeners. */ - for (cj=0; cj < conf_port->listener_cnt; ++cj) - { - struct conf_port *listener; - pj_int32_t *mix_buf; - unsigned k; - - listener = conf->ports[conf_port->listener_slots[cj]]; - - /* Skip if this listener doesn't want to receive audio */ - if (listener->tx_setting != PJMEDIA_PORT_ENABLE) - continue; - - mix_buf = listener->mix_buf; - - /* Mixing signals, - * and calculate appropriate level adjustment if there is - * any overflowed level in the mixed signal. - */ - for (k=0; ksamples_per_frame; ++k) { - mix_buf[k] += p_in[k]; - /* Check if normalization adjustment needed. */ - if (IS_OVERFLOW(mix_buf[k])) { - /* NORMAL_LEVEL * MAX_LEVEL / mix_buf[k]; */ - int tmp_adj = (MAX_LEVEL<<7) / mix_buf[k]; - if (tmp_adj<0) tmp_adj = -tmp_adj; - - if (tmp_adjmix_adj) - listener->mix_adj = tmp_adj; - - } /* if any overflow in the mixed signals */ - } /* loop mixing signals */ - } /* loop the listeners of conf port */ - } /* loop of all conf ports */ - - /* Time for all ports to transmit whetever they have in their - * buffer. - */ - for (i=0, ci=0; imax_ports && ciport_cnt; ++i) { - struct conf_port *conf_port = conf->ports[i]; - pjmedia_frame_type frm_type; - pj_status_t status; - - if (!conf_port) - continue; - - /* Var "ci" is to count how many ports have been visited. */ - ++ci; - - status = write_port( conf, conf_port, &frame->timestamp, - &frm_type); - if (status != PJ_SUCCESS) { - /* bennylp: why do we need this???? - One thing for sure, put_frame()/write_port() may return - non-successfull status on Win32 if there's temporary glitch - on network interface, so disabling the port here does not - sound like a good idea. - - PJ_LOG(4,(THIS_FILE, "Port %.*s put_frame() returned %d. " - "Port is now disabled", - (int)conf_port->name.slen, - conf_port->name.ptr, - status)); - conf_port->tx_setting = PJMEDIA_PORT_DISABLE; - */ - continue; - } - - /* Set the type of frame to be returned to sound playback - * device. - */ - if (i == 0) - speaker_frame_type = frm_type; - } - - /* Return sound playback frame. */ - if (conf->ports[0]->tx_level) { - TRACE_((THIS_FILE, "write to audio, count=%d", - conf->samples_per_frame)); - pjmedia_copy_samples( (pj_int16_t*)frame->buf, - (const pj_int16_t*)conf->ports[0]->mix_buf, - conf->samples_per_frame); - } else { - /* Force frame type NONE */ - speaker_frame_type = PJMEDIA_FRAME_TYPE_NONE; - } - - /* MUST set frame type */ - frame->type = speaker_frame_type; - - pj_mutex_unlock(conf->mutex); - -#ifdef REC_FILE - if (fhnd_rec == NULL) - fhnd_rec = fopen(REC_FILE, "wb"); - if (fhnd_rec) - fwrite(frame->buf, frame->size, 1, fhnd_rec); -#endif - - return PJ_SUCCESS; -} - - -/* - * get_frame() for passive port - */ -static pj_status_t get_frame_pasv(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - pj_assert(0); - PJ_UNUSED_ARG(this_port); - PJ_UNUSED_ARG(frame); - return -1; -} - - -/* - * Recorder (or passive port) callback. - */ -static pj_status_t put_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - pjmedia_conf *conf = (pjmedia_conf*) this_port->port_data.pdata; - struct conf_port *port = conf->ports[this_port->port_data.ldata]; - pj_status_t status; - - /* Check for correct size. */ - PJ_ASSERT_RETURN( frame->size == conf->samples_per_frame * - conf->bits_per_sample / 8, - PJMEDIA_ENCSAMPLESPFRAME); - - /* Check existance of delay_buf instance */ - PJ_ASSERT_RETURN( port->delay_buf, PJ_EBUG ); - - /* Skip if this port is muted/disabled. */ - if (port->rx_setting != PJMEDIA_PORT_ENABLE) { - return PJ_SUCCESS; - } - - /* Skip if no port is listening to the microphone */ - if (port->listener_cnt == 0) { - return PJ_SUCCESS; - } - - status = pjmedia_delay_buf_put(port->delay_buf, (pj_int16_t*)frame->buf); - - return status; -} - -#endif diff --git a/res/pjproject/pjmedia/src/pjmedia/converter.c b/res/pjproject/pjmedia/src/pjmedia/converter.c deleted file mode 100644 index 436f0bd35e..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/converter.c +++ /dev/null @@ -1,178 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - -#define THIS_FILE "converter.c" - -struct pjmedia_converter_mgr -{ - pjmedia_converter_factory factory_list; -}; - -static pjmedia_converter_mgr *converter_manager_instance; - -#if PJMEDIA_HAS_LIBSWSCALE && PJMEDIA_HAS_LIBAVUTIL -PJ_DECL(pj_status_t) -pjmedia_libswscale_converter_init(pjmedia_converter_mgr *mgr); -#endif - - -PJ_DEF(pj_status_t) pjmedia_converter_mgr_create(pj_pool_t *pool, - pjmedia_converter_mgr **p_mgr) -{ - pjmedia_converter_mgr *mgr; - pj_status_t status = PJ_SUCCESS; - - mgr = PJ_POOL_ALLOC_T(pool, pjmedia_converter_mgr); - pj_list_init(&mgr->factory_list); - - if (!converter_manager_instance) - converter_manager_instance = mgr; - -#if PJMEDIA_HAS_LIBSWSCALE && PJMEDIA_HAS_LIBAVUTIL - status = pjmedia_libswscale_converter_init(mgr); - if (status != PJ_SUCCESS) { - PJ_PERROR(4,(THIS_FILE, status, - "Error initializing libswscale converter")); - } -#endif - - if (p_mgr) - *p_mgr = mgr; - - return PJ_SUCCESS; -} - -PJ_DEF(pjmedia_converter_mgr*) pjmedia_converter_mgr_instance(void) -{ - pj_assert(converter_manager_instance != NULL); - return converter_manager_instance; -} - -PJ_DEF(void) pjmedia_converter_mgr_set_instance(pjmedia_converter_mgr *mgr) -{ - converter_manager_instance = mgr; -} - -PJ_DEF(void) pjmedia_converter_mgr_destroy(pjmedia_converter_mgr *mgr) -{ - pjmedia_converter_factory *f; - - if (!mgr) mgr = pjmedia_converter_mgr_instance(); - - PJ_ASSERT_ON_FAIL(mgr != NULL, return); - - f = mgr->factory_list.next; - while (f != &mgr->factory_list) { - pjmedia_converter_factory *next = f->next; - pj_list_erase(f); - (*f->op->destroy_factory)(f); - f = next; - } - - if (converter_manager_instance == mgr) - converter_manager_instance = NULL; -} - -PJ_DEF(pj_status_t) -pjmedia_converter_mgr_register_factory(pjmedia_converter_mgr *mgr, - pjmedia_converter_factory *factory) -{ - pjmedia_converter_factory *pf; - - if (!mgr) mgr = pjmedia_converter_mgr_instance(); - - PJ_ASSERT_RETURN(mgr != NULL, PJ_EINVAL); - - PJ_ASSERT_RETURN(!pj_list_find_node(&mgr->factory_list, factory), - PJ_EEXISTS); - - pf = mgr->factory_list.next; - while (pf != &mgr->factory_list) { - if (pf->priority > factory->priority) - break; - pf = pf->next; - } - pj_list_insert_before(pf, factory); - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) -pjmedia_converter_mgr_unregister_factory(pjmedia_converter_mgr *mgr, - pjmedia_converter_factory *f, - pj_bool_t destroy) -{ - if (!mgr) mgr = pjmedia_converter_mgr_instance(); - - PJ_ASSERT_RETURN(mgr != NULL, PJ_EINVAL); - - PJ_ASSERT_RETURN(pj_list_find_node(&mgr->factory_list, f), PJ_ENOTFOUND); - pj_list_erase(f); - if (destroy) - (*f->op->destroy_factory)(f); - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_converter_create(pjmedia_converter_mgr *mgr, - pj_pool_t *pool, - pjmedia_conversion_param *param, - pjmedia_converter **p_cv) -{ - pjmedia_converter_factory *f; - pjmedia_converter *cv = NULL; - pj_status_t status = PJ_ENOTFOUND; - - if (!mgr) mgr = pjmedia_converter_mgr_instance(); - - PJ_ASSERT_RETURN(mgr != NULL, PJ_EINVAL); - - *p_cv = NULL; - - f = mgr->factory_list.next; - while (f != &mgr->factory_list) { - status = (*f->op->create_converter)(f, pool, param, &cv); - if (status == PJ_SUCCESS) - break; - f = f->next; - } - - if (status != PJ_SUCCESS) - return status; - - *p_cv = cv; - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_converter_convert(pjmedia_converter *cv, - pjmedia_frame *src_frame, - pjmedia_frame *dst_frame) -{ - return (*cv->op->convert)(cv, src_frame, dst_frame); -} - -PJ_DEF(void) pjmedia_converter_destroy(pjmedia_converter *cv) -{ - (*cv->op->destroy)(cv); -} - - diff --git a/res/pjproject/pjmedia/src/pjmedia/converter_libswscale.c b/res/pjproject/pjmedia/src/pjmedia/converter_libswscale.c deleted file mode 100644 index f74b12699e..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/converter_libswscale.c +++ /dev/null @@ -1,208 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -#if PJMEDIA_HAS_LIBSWSCALE && PJMEDIA_HAS_LIBAVUTIL - -#include "ffmpeg_util.h" -#include - -static pj_status_t factory_create_converter(pjmedia_converter_factory *cf, - pj_pool_t *pool, - const pjmedia_conversion_param*prm, - pjmedia_converter **p_cv); -static void factory_destroy_factory(pjmedia_converter_factory *cf); -static pj_status_t libswscale_conv_convert(pjmedia_converter *converter, - pjmedia_frame *src_frame, - pjmedia_frame *dst_frame); -static void libswscale_conv_destroy(pjmedia_converter *converter); - - -struct fmt_info -{ - const pjmedia_video_format_info *fmt_info; - pjmedia_video_apply_fmt_param apply_param; -}; - -struct ffmpeg_converter -{ - pjmedia_converter base; - struct SwsContext *sws_ctx; - struct fmt_info src, - dst; -}; - -static pjmedia_converter_factory_op libswscale_factory_op = -{ - &factory_create_converter, - &factory_destroy_factory -}; - -static pjmedia_converter_op liswscale_converter_op = -{ - &libswscale_conv_convert, - &libswscale_conv_destroy -}; - -static pj_status_t factory_create_converter(pjmedia_converter_factory *cf, - pj_pool_t *pool, - const pjmedia_conversion_param *prm, - pjmedia_converter **p_cv) -{ - enum PixelFormat srcFormat, dstFormat; - const pjmedia_video_format_detail *src_detail, *dst_detail; - const pjmedia_video_format_info *src_fmt_info, *dst_fmt_info; - struct SwsContext *sws_ctx; - struct ffmpeg_converter *fcv; - pj_status_t status; - - PJ_UNUSED_ARG(cf); - - /* Only supports video */ - if (prm->src.type != PJMEDIA_TYPE_VIDEO || - prm->dst.type != prm->src.type || - prm->src.detail_type != PJMEDIA_FORMAT_DETAIL_VIDEO || - prm->dst.detail_type != prm->src.detail_type) - { - return PJ_ENOTSUP; - } - - /* lookup source format info */ - src_fmt_info = pjmedia_get_video_format_info( - pjmedia_video_format_mgr_instance(), - prm->src.id); - if (!src_fmt_info) - return PJ_ENOTSUP; - - /* lookup destination format info */ - dst_fmt_info = pjmedia_get_video_format_info( - pjmedia_video_format_mgr_instance(), - prm->dst.id); - if (!dst_fmt_info) - return PJ_ENOTSUP; - - src_detail = pjmedia_format_get_video_format_detail(&prm->src, PJ_TRUE); - dst_detail = pjmedia_format_get_video_format_detail(&prm->dst, PJ_TRUE); - - status = pjmedia_format_id_to_PixelFormat(prm->src.id, &srcFormat); - if (status != PJ_SUCCESS) - return PJ_ENOTSUP; - - status = pjmedia_format_id_to_PixelFormat(prm->dst.id, &dstFormat); - if (status != PJ_SUCCESS) - return PJ_ENOTSUP; - - sws_ctx = sws_getContext(src_detail->size.w, src_detail->size.h, srcFormat, - dst_detail->size.w, dst_detail->size.h, dstFormat, - SWS_BICUBIC, - NULL, NULL, NULL); - if (sws_ctx == NULL) - return PJ_ENOTSUP; - - fcv = PJ_POOL_ZALLOC_T(pool, struct ffmpeg_converter); - fcv->base.op = &liswscale_converter_op; - fcv->sws_ctx = sws_ctx; - fcv->src.apply_param.size = src_detail->size; - fcv->src.fmt_info = src_fmt_info; - fcv->dst.apply_param.size = dst_detail->size; - fcv->dst.fmt_info = dst_fmt_info; - - *p_cv = &fcv->base; - - return PJ_SUCCESS; -} - -static void factory_destroy_factory(pjmedia_converter_factory *cf) -{ - PJ_UNUSED_ARG(cf); -} - -static pj_status_t libswscale_conv_convert(pjmedia_converter *converter, - pjmedia_frame *src_frame, - pjmedia_frame *dst_frame) -{ - struct ffmpeg_converter *fcv = (struct ffmpeg_converter*)converter; - struct fmt_info *src = &fcv->src, - *dst = &fcv->dst; - int h; - - src->apply_param.buffer = src_frame->buf; - (*src->fmt_info->apply_fmt)(src->fmt_info, &src->apply_param); - - dst->apply_param.buffer = dst_frame->buf; - (*dst->fmt_info->apply_fmt)(dst->fmt_info, &dst->apply_param); - - h = sws_scale(fcv->sws_ctx, - (const uint8_t* const *)src->apply_param.planes, - src->apply_param.strides, - 0, src->apply_param.size.h, - dst->apply_param.planes, dst->apply_param.strides); - - //sws_scale() return value can't be trusted? There are cases when - //sws_scale() returns zero but conversion seems to work okay. - //return h==(int)dst->apply_param.size.h ? PJ_SUCCESS : PJ_EUNKNOWN; - PJ_UNUSED_ARG(h); - - return PJ_SUCCESS; -} - -static void libswscale_conv_destroy(pjmedia_converter *converter) -{ - struct ffmpeg_converter *fcv = (struct ffmpeg_converter*)converter; - if (fcv->sws_ctx) { - struct SwsContext *tmp = fcv->sws_ctx; - fcv->sws_ctx = NULL; - sws_freeContext(tmp); - } -} - -static pjmedia_converter_factory libswscale_factory = -{ - NULL, NULL, /* list */ - "libswscale", /* name */ - PJMEDIA_CONVERTER_PRIORITY_NORMAL+1, /* priority */ - NULL /* op will be init-ed later */ -}; - -PJ_DEF(pj_status_t) -pjmedia_libswscale_converter_init(pjmedia_converter_mgr *mgr) -{ - libswscale_factory.op = &libswscale_factory_op; - pjmedia_ffmpeg_add_ref(); - return pjmedia_converter_mgr_register_factory(mgr, &libswscale_factory); -} - - -PJ_DEF(pj_status_t) -pjmedia_libswscale_converter_shutdown(pjmedia_converter_mgr *mgr, - pj_pool_t *pool) -{ - PJ_UNUSED_ARG(pool); - pjmedia_ffmpeg_dec_ref(); - return pjmedia_converter_mgr_unregister_factory(mgr, &libswscale_factory, - PJ_TRUE); -} - -#ifdef _MSC_VER -# pragma comment( lib, "avutil.lib") -# pragma comment( lib, "swscale.lib") -#endif - -#endif /* #if PJMEDIA_HAS_LIBSWSCALE && PJMEDIA_HAS_LIBAVUTIL */ diff --git a/res/pjproject/pjmedia/src/pjmedia/delaybuf.c b/res/pjproject/pjmedia/src/pjmedia/delaybuf.c deleted file mode 100644 index 9042ef9927..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/delaybuf.c +++ /dev/null @@ -1,405 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#if 0 -# define TRACE__(x) PJ_LOG(3,x) -#else -# define TRACE__(x) -#endif - -/* Operation types of delay buffer */ -enum OP -{ - OP_PUT, - OP_GET -}; - -/* Specify time for delaybuf to recalculate effective delay, in ms. - */ -#define RECALC_TIME 2000 - -/* Default value of maximum delay, in ms, this value is used when - * maximum delay requested is less than ptime (one frame length). - */ -#define DEFAULT_MAX_DELAY 400 - -/* Number of frames to add to learnt level for additional stability. - */ -#define SAFE_MARGIN 0 - -/* This structure describes internal delaybuf settings and states. - */ -struct pjmedia_delay_buf -{ - /* Properties and configuration */ - char obj_name[PJ_MAX_OBJ_NAME]; - pj_lock_t *lock; /**< Lock object. */ - unsigned samples_per_frame; /**< Number of samples in one frame */ - unsigned ptime; /**< Frame time, in ms */ - unsigned channel_count; /**< Channel count, in ms */ - pjmedia_circ_buf *circ_buf; /**< Circular buffer to store audio - samples */ - unsigned max_cnt; /**< Maximum samples to be buffered */ - unsigned eff_cnt; /**< Effective count of buffered - samples to keep the optimum - balance between delay and - stability. This is calculated - based on burst level. */ - - /* Learning vars */ - unsigned level; /**< Burst level counter */ - enum OP last_op; /**< Last op (GET or PUT) of learning*/ - int recalc_timer; /**< Timer for recalculating max_level*/ - unsigned max_level; /**< Current max burst level */ - - /* Drift handler */ - pjmedia_wsola *wsola; /**< Drift handler */ -}; - - -PJ_DEF(pj_status_t) pjmedia_delay_buf_create( pj_pool_t *pool, - const char *name, - unsigned clock_rate, - unsigned samples_per_frame, - unsigned channel_count, - unsigned max_delay, - unsigned options, - pjmedia_delay_buf **p_b) -{ - pjmedia_delay_buf *b; - pj_status_t status; - - PJ_ASSERT_RETURN(pool && samples_per_frame && clock_rate && channel_count && - p_b, PJ_EINVAL); - - if (!name) { - name = "delaybuf"; - } - - b = PJ_POOL_ZALLOC_T(pool, pjmedia_delay_buf); - - pj_ansi_strncpy(b->obj_name, name, PJ_MAX_OBJ_NAME-1); - - b->samples_per_frame = samples_per_frame; - b->channel_count = channel_count; - b->ptime = samples_per_frame * 1000 / clock_rate / channel_count; - if (max_delay < b->ptime) - max_delay = PJ_MAX(DEFAULT_MAX_DELAY, b->ptime); - - b->max_cnt = samples_per_frame * max_delay / b->ptime; - b->eff_cnt = b->max_cnt >> 1; - b->recalc_timer = RECALC_TIME; - - /* Create circular buffer */ - status = pjmedia_circ_buf_create(pool, b->max_cnt, &b->circ_buf); - if (status != PJ_SUCCESS) - return status; - - if (!(options & PJMEDIA_DELAY_BUF_SIMPLE_FIFO)) { - /* Create WSOLA */ - status = pjmedia_wsola_create(pool, clock_rate, samples_per_frame, 1, - PJMEDIA_WSOLA_NO_FADING, &b->wsola); - if (status != PJ_SUCCESS) - return status; - PJ_LOG(5, (b->obj_name, "Using delay buffer with WSOLA.")); - } else { - PJ_LOG(5, (b->obj_name, "Using simple FIFO delay buffer.")); - } - - /* Finally, create mutex */ - status = pj_lock_create_recursive_mutex(pool, b->obj_name, - &b->lock); - if (status != PJ_SUCCESS) - return status; - - *p_b = b; - - TRACE__((b->obj_name,"Delay buffer created")); - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_delay_buf_destroy(pjmedia_delay_buf *b) -{ - pj_status_t status = PJ_SUCCESS; - - PJ_ASSERT_RETURN(b, PJ_EINVAL); - - pj_lock_acquire(b->lock); - - if (b->wsola) { - status = pjmedia_wsola_destroy(b->wsola); - if (status == PJ_SUCCESS) - b->wsola = NULL; - } - - pj_lock_release(b->lock); - - pj_lock_destroy(b->lock); - b->lock = NULL; - - return status; -} - -/* This function will erase samples from delay buffer. - * The number of erased samples is guaranteed to be >= erase_cnt. - */ -static void shrink_buffer(pjmedia_delay_buf *b, unsigned erase_cnt) -{ - pj_int16_t *buf1, *buf2; - unsigned buf1len; - unsigned buf2len; - pj_status_t status; - - pj_assert(b && erase_cnt && pjmedia_circ_buf_get_len(b->circ_buf)); - - pjmedia_circ_buf_get_read_regions(b->circ_buf, &buf1, &buf1len, - &buf2, &buf2len); - status = pjmedia_wsola_discard(b->wsola, buf1, buf1len, buf2, buf2len, - &erase_cnt); - - if ((status == PJ_SUCCESS) && (erase_cnt > 0)) { - /* WSOLA discard will manage the first buffer to be full, unless - * erase_cnt is greater than second buffer length. So it is safe - * to just set the circular buffer length. - */ - - pjmedia_circ_buf_set_len(b->circ_buf, - pjmedia_circ_buf_get_len(b->circ_buf) - - erase_cnt); - - PJ_LOG(5,(b->obj_name,"%d samples reduced, buf_cnt=%d", - erase_cnt, pjmedia_circ_buf_get_len(b->circ_buf))); - } -} - -/* Fast increase, slow decrease */ -#define AGC_UP(cur, target) cur = (cur + target*3) >> 2 -#define AGC_DOWN(cur, target) cur = (cur*3 + target) >> 2 -#define AGC(cur, target) \ - if (cur < target) AGC_UP(cur, target); \ - else AGC_DOWN(cur, target) - -static void update(pjmedia_delay_buf *b, enum OP op) -{ - /* Sequential operation */ - if (op == b->last_op) { - ++b->level; - return; - } - - /* Switching operation */ - if (b->level > b->max_level) - b->max_level = b->level; - - b->recalc_timer -= (b->level * b->ptime) >> 1; - - b->last_op = op; - b->level = 1; - - /* Recalculate effective count based on max_level */ - if (b->recalc_timer <= 0) { - unsigned new_eff_cnt = (b->max_level+SAFE_MARGIN)*b->samples_per_frame; - - /* Smoothening effective count transition */ - AGC(b->eff_cnt, new_eff_cnt); - - /* Make sure the new effective count is multiplication of - * channel_count, so let's round it up. - */ - if (b->eff_cnt % b->channel_count) - b->eff_cnt += b->channel_count - (b->eff_cnt % b->channel_count); - - TRACE__((b->obj_name,"Cur eff_cnt=%d", b->eff_cnt)); - - b->max_level = 0; - b->recalc_timer = RECALC_TIME; - } - - /* See if we need to shrink the buffer to reduce delay */ - if (op == OP_PUT && pjmedia_circ_buf_get_len(b->circ_buf) > - b->samples_per_frame + b->eff_cnt) - { - unsigned erase_cnt = b->samples_per_frame >> 1; - unsigned old_buf_cnt = pjmedia_circ_buf_get_len(b->circ_buf); - - shrink_buffer(b, erase_cnt); - PJ_LOG(4,(b->obj_name,"Buffer size adjusted from %d to %d (eff_cnt=%d)", - old_buf_cnt, - pjmedia_circ_buf_get_len(b->circ_buf), - b->eff_cnt)); - } -} - -PJ_DEF(pj_status_t) pjmedia_delay_buf_put(pjmedia_delay_buf *b, - pj_int16_t frame[]) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(b && frame, PJ_EINVAL); - - pj_lock_acquire(b->lock); - - if (b->wsola) { - update(b, OP_PUT); - - status = pjmedia_wsola_save(b->wsola, frame, PJ_FALSE); - if (status != PJ_SUCCESS) { - pj_lock_release(b->lock); - return status; - } - } - - /* Overflow checking */ - if (pjmedia_circ_buf_get_len(b->circ_buf) + b->samples_per_frame > - b->max_cnt) - { - unsigned erase_cnt; - - if (b->wsola) { - /* shrink one frame or just the diff? */ - //erase_cnt = b->samples_per_frame; - erase_cnt = pjmedia_circ_buf_get_len(b->circ_buf) + - b->samples_per_frame - b->max_cnt; - - shrink_buffer(b, erase_cnt); - } - - /* Check if shrinking failed or erased count is less than requested, - * delaybuf needs to drop eldest samples, this is bad since the voice - * samples get rough transition which may produce tick noise. - */ - if (pjmedia_circ_buf_get_len(b->circ_buf) + b->samples_per_frame > - b->max_cnt) - { - erase_cnt = pjmedia_circ_buf_get_len(b->circ_buf) + - b->samples_per_frame - b->max_cnt; - - pjmedia_circ_buf_adv_read_ptr(b->circ_buf, erase_cnt); - - PJ_LOG(4,(b->obj_name,"%sDropping %d eldest samples, buf_cnt=%d", - (b->wsola? "Shrinking failed or insufficient. ": ""), - erase_cnt, pjmedia_circ_buf_get_len(b->circ_buf))); - } - } - - pjmedia_circ_buf_write(b->circ_buf, frame, b->samples_per_frame); - - pj_lock_release(b->lock); - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_delay_buf_get( pjmedia_delay_buf *b, - pj_int16_t frame[]) -{ - pj_status_t status = PJ_SUCCESS; - - PJ_ASSERT_RETURN(b && frame, PJ_EINVAL); - - pj_lock_acquire(b->lock); - - if (b->wsola) - update(b, OP_GET); - - /* Starvation checking */ - if (pjmedia_circ_buf_get_len(b->circ_buf) < b->samples_per_frame) { - - PJ_LOG(4,(b->obj_name,"Underflow, buf_cnt=%d, will generate 1 frame", - pjmedia_circ_buf_get_len(b->circ_buf))); - - if (b->wsola) { - status = pjmedia_wsola_generate(b->wsola, frame); - - if (status == PJ_SUCCESS) { - TRACE__((b->obj_name,"Successfully generate 1 frame")); - if (pjmedia_circ_buf_get_len(b->circ_buf) == 0) { - pj_lock_release(b->lock); - return PJ_SUCCESS; - } - - /* Put generated frame into buffer */ - pjmedia_circ_buf_write(b->circ_buf, frame, - b->samples_per_frame); - } - } - - if (!b->wsola || status != PJ_SUCCESS) { - unsigned buf_len = pjmedia_circ_buf_get_len(b->circ_buf); - - /* Give all what delay buffer has, then pad with zeroes */ - if (b->wsola) - PJ_LOG(4,(b->obj_name,"Error generating frame, status=%d", - status)); - - pjmedia_circ_buf_read(b->circ_buf, frame, buf_len); - pjmedia_zero_samples(&frame[buf_len], - b->samples_per_frame - buf_len); - - /* The buffer is empty now, reset it */ - pjmedia_circ_buf_reset(b->circ_buf); - - pj_lock_release(b->lock); - - return PJ_SUCCESS; - } - } - - pjmedia_circ_buf_read(b->circ_buf, frame, b->samples_per_frame); - - pj_lock_release(b->lock); - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_delay_buf_reset(pjmedia_delay_buf *b) -{ - PJ_ASSERT_RETURN(b, PJ_EINVAL); - - pj_lock_acquire(b->lock); - - b->recalc_timer = RECALC_TIME; - - /* Reset buffer */ - pjmedia_circ_buf_reset(b->circ_buf); - - /* Reset WSOLA */ - if (b->wsola) - pjmedia_wsola_reset(b->wsola, 0); - - pj_lock_release(b->lock); - - PJ_LOG(5,(b->obj_name,"Delay buffer is reset")); - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/dummy.c b/res/pjproject/pjmedia/src/pjmedia/dummy.c deleted file mode 100644 index 54f0ed6679..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/dummy.c +++ /dev/null @@ -1,24 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include -#include -#include - diff --git a/res/pjproject/pjmedia/src/pjmedia/echo_common.c b/res/pjproject/pjmedia/src/pjmedia/echo_common.c deleted file mode 100644 index 191a80f1fa..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/echo_common.c +++ /dev/null @@ -1,375 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "echo_internal.h" - -#define THIS_FILE "echo_common.c" - -typedef struct ec_operations ec_operations; - -struct frame -{ - PJ_DECL_LIST_MEMBER(struct frame); - short buf[1]; -}; - -struct pjmedia_echo_state -{ - pj_pool_t *pool; - char *obj_name; - unsigned samples_per_frame; - void *state; - ec_operations *op; - - pj_bool_t lat_ready; /* lat_buf has been filled in. */ - struct frame lat_buf; /* Frame queue for delayed playback */ - struct frame lat_free; /* Free frame list. */ - - pjmedia_delay_buf *delay_buf; - pj_int16_t *frm_buf; -}; - - -struct ec_operations -{ - const char *name; - - pj_status_t (*ec_create)(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned tail_ms, - unsigned options, - void **p_state ); - pj_status_t (*ec_destroy)(void *state ); - void (*ec_reset)(void *state ); - pj_status_t (*ec_cancel)(void *state, - pj_int16_t *rec_frm, - const pj_int16_t *play_frm, - unsigned options, - void *reserved ); -}; - - -static struct ec_operations echo_supp_op = -{ - "Echo suppressor", - &echo_supp_create, - &echo_supp_destroy, - &echo_supp_reset, - &echo_supp_cancel_echo -}; - - - -/* - * Speex AEC prototypes - */ -#if defined(PJMEDIA_HAS_SPEEX_AEC) && PJMEDIA_HAS_SPEEX_AEC!=0 -static struct ec_operations speex_aec_op = -{ - "AEC", - &speex_aec_create, - &speex_aec_destroy, - &speex_aec_reset, - &speex_aec_cancel_echo -}; -#endif - - -/* - * IPP AEC prototypes - */ -#if defined(PJMEDIA_HAS_INTEL_IPP_AEC) && PJMEDIA_HAS_INTEL_IPP_AEC!=0 -static struct ec_operations ipp_aec_op = -{ - "IPP AEC", - &ipp_aec_create, - &ipp_aec_destroy, - &ipp_aec_reset, - &ipp_aec_cancel_echo -}; -#endif - -/* - * Create the echo canceller. - */ -PJ_DEF(pj_status_t) pjmedia_echo_create( pj_pool_t *pool, - unsigned clock_rate, - unsigned samples_per_frame, - unsigned tail_ms, - unsigned latency_ms, - unsigned options, - pjmedia_echo_state **p_echo ) -{ - return pjmedia_echo_create2(pool, clock_rate, 1, samples_per_frame, - tail_ms, latency_ms, options, p_echo); -} - -/* - * Create the echo canceller. - */ -PJ_DEF(pj_status_t) pjmedia_echo_create2(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned tail_ms, - unsigned latency_ms, - unsigned options, - pjmedia_echo_state **p_echo ) -{ - unsigned ptime, lat_cnt; - unsigned delay_buf_opt = 0; - pjmedia_echo_state *ec; - pj_status_t status; - - /* Create new pool and instantiate and init the EC */ - pool = pj_pool_create(pool->factory, "ec%p", 256, 256, NULL); - ec = PJ_POOL_ZALLOC_T(pool, struct pjmedia_echo_state); - ec->pool = pool; - ec->obj_name = pool->obj_name; - ec->samples_per_frame = samples_per_frame; - ec->frm_buf = (pj_int16_t*)pj_pool_alloc(pool, samples_per_frame<<1); - pj_list_init(&ec->lat_buf); - pj_list_init(&ec->lat_free); - - /* Select the backend algorithm */ - if (0) { - /* Dummy */ - ; -#if defined(PJMEDIA_HAS_SPEEX_AEC) && PJMEDIA_HAS_SPEEX_AEC!=0 - } else if ((options & PJMEDIA_ECHO_ALGO_MASK) == PJMEDIA_ECHO_SPEEX || - (options & PJMEDIA_ECHO_ALGO_MASK) == PJMEDIA_ECHO_DEFAULT) - { - ec->op = &speex_aec_op; -#endif - -#if defined(PJMEDIA_HAS_INTEL_IPP_AEC) && PJMEDIA_HAS_INTEL_IPP_AEC!=0 - } else if ((options & PJMEDIA_ECHO_ALGO_MASK) == PJMEDIA_ECHO_IPP || - (options & PJMEDIA_ECHO_ALGO_MASK) == PJMEDIA_ECHO_DEFAULT) - { - ec->op = &ipp_aec_op; - -#endif - - } else { - ec->op = &echo_supp_op; - } - - PJ_LOG(5,(ec->obj_name, "Creating %s", ec->op->name)); - - /* Instantiate EC object */ - status = (*ec->op->ec_create)(pool, clock_rate, channel_count, - samples_per_frame, tail_ms, - options, &ec->state); - if (status != PJ_SUCCESS) { - pj_pool_release(pool); - return status; - } - - /* Create latency buffers */ - ptime = samples_per_frame * 1000 / clock_rate; - if (latency_ms > ptime) { - /* Normalize latency with delaybuf/WSOLA latency */ - latency_ms -= PJ_MIN(ptime, PJMEDIA_WSOLA_DELAY_MSEC); - } - if (latency_ms < ptime) { - /* Give at least one frame delay to simplify programming */ - latency_ms = ptime; - } - lat_cnt = latency_ms / ptime; - while (lat_cnt--) { - struct frame *frm; - - frm = (struct frame*) pj_pool_alloc(pool, (samples_per_frame<<1) + - sizeof(struct frame)); - pj_list_push_back(&ec->lat_free, frm); - } - - /* Create delay buffer to compensate drifts */ - if (options & PJMEDIA_ECHO_USE_SIMPLE_FIFO) - delay_buf_opt |= PJMEDIA_DELAY_BUF_SIMPLE_FIFO; - status = pjmedia_delay_buf_create(ec->pool, ec->obj_name, clock_rate, - samples_per_frame, channel_count, - (PJMEDIA_SOUND_BUFFER_COUNT+1) * ptime, - delay_buf_opt, &ec->delay_buf); - if (status != PJ_SUCCESS) { - pj_pool_release(pool); - return status; - } - - PJ_LOG(4,(ec->obj_name, - "%s created, clock_rate=%d, channel=%d, " - "samples per frame=%d, tail length=%d ms, " - "latency=%d ms", - ec->op->name, clock_rate, channel_count, samples_per_frame, - tail_ms, latency_ms)); - - /* Done */ - *p_echo = ec; - - return PJ_SUCCESS; -} - - -/* - * Destroy the Echo Canceller. - */ -PJ_DEF(pj_status_t) pjmedia_echo_destroy(pjmedia_echo_state *echo ) -{ - (*echo->op->ec_destroy)(echo->state); - - if (echo->delay_buf) { - pjmedia_delay_buf_destroy(echo->delay_buf); - echo->delay_buf = NULL; - } - - pj_pool_release(echo->pool); - return PJ_SUCCESS; -} - - -/* - * Reset the echo canceller. - */ -PJ_DEF(pj_status_t) pjmedia_echo_reset(pjmedia_echo_state *echo ) -{ - while (!pj_list_empty(&echo->lat_buf)) { - struct frame *frm; - frm = echo->lat_buf.next; - pj_list_erase(frm); - pj_list_push_back(&echo->lat_free, frm); - } - echo->lat_ready = PJ_FALSE; - pjmedia_delay_buf_reset(echo->delay_buf); - echo->op->ec_reset(echo->state); - return PJ_SUCCESS; -} - - -/* - * Let the Echo Canceller know that a frame has been played to the speaker. - */ -PJ_DEF(pj_status_t) pjmedia_echo_playback( pjmedia_echo_state *echo, - pj_int16_t *play_frm ) -{ - /* Playing frame should be stored, as it will be used by echo_capture() - * as reference frame, delay buffer is used for storing the playing frames - * as in case there was clock drift between mic & speaker. - * - * Ticket #830: - * Note that pjmedia_delay_buf_put() may modify the input frame and those - * modified frames may not be smooth, i.e: if there were two or more - * consecutive pjmedia_delay_buf_get() before next pjmedia_delay_buf_put(), - * so we'll just feed the delay buffer with the copy of playing frame, - * instead of the original playing frame. However this will cause the EC - * uses slight 'different' frames (for reference) than actually played - * by the speaker. - */ - pjmedia_copy_samples(echo->frm_buf, play_frm, - echo->samples_per_frame); - pjmedia_delay_buf_put(echo->delay_buf, echo->frm_buf); - - if (!echo->lat_ready) { - /* We've not built enough latency in the buffer, so put this frame - * in the latency buffer list. - */ - struct frame *frm; - - if (pj_list_empty(&echo->lat_free)) { - echo->lat_ready = PJ_TRUE; - PJ_LOG(5,(echo->obj_name, "Latency bufferring complete")); - return PJ_SUCCESS; - } - - frm = echo->lat_free.prev; - pj_list_erase(frm); - - /* Move one frame from delay buffer to the latency buffer. */ - pjmedia_delay_buf_get(echo->delay_buf, echo->frm_buf); - pjmedia_copy_samples(frm->buf, echo->frm_buf, echo->samples_per_frame); - pj_list_push_back(&echo->lat_buf, frm); - } - - return PJ_SUCCESS; -} - - -/* - * Let the Echo Canceller knows that a frame has been captured from - * the microphone. - */ -PJ_DEF(pj_status_t) pjmedia_echo_capture( pjmedia_echo_state *echo, - pj_int16_t *rec_frm, - unsigned options ) -{ - struct frame *oldest_frm; - pj_status_t status, rc; - - if (!echo->lat_ready) { - /* Prefetching to fill in the desired latency */ - PJ_LOG(5,(echo->obj_name, "Prefetching..")); - return PJ_SUCCESS; - } - - /* Retrieve oldest frame from the latency buffer */ - oldest_frm = echo->lat_buf.next; - pj_list_erase(oldest_frm); - - /* Cancel echo using this reference frame */ - status = pjmedia_echo_cancel(echo, rec_frm, oldest_frm->buf, - options, NULL); - - /* Move one frame from delay buffer to the latency buffer. */ - rc = pjmedia_delay_buf_get(echo->delay_buf, oldest_frm->buf); - if (rc != PJ_SUCCESS) { - /* Ooops.. no frame! */ - PJ_LOG(5,(echo->obj_name, - "No frame from delay buffer. This will upset EC later")); - pjmedia_zero_samples(oldest_frm->buf, echo->samples_per_frame); - } - pj_list_push_back(&echo->lat_buf, oldest_frm); - - return status; -} - - -/* - * Perform echo cancellation. - */ -PJ_DEF(pj_status_t) pjmedia_echo_cancel( pjmedia_echo_state *echo, - pj_int16_t *rec_frm, - const pj_int16_t *play_frm, - unsigned options, - void *reserved ) -{ - return (*echo->op->ec_cancel)( echo->state, rec_frm, play_frm, options, - reserved); -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/echo_internal.h b/res/pjproject/pjmedia/src/pjmedia/echo_internal.h deleted file mode 100644 index c28503ba94..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/echo_internal.h +++ /dev/null @@ -1,79 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_ECHO_INTERNAL_H__ -#define __PJMEDIA_ECHO_INTERNAL_H__ - -#include - -PJ_BEGIN_DECL - -/* - * Simple echo suppressor - */ -PJ_DECL(pj_status_t) echo_supp_create(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned tail_ms, - unsigned options, - void **p_state ); -PJ_DECL(pj_status_t) echo_supp_destroy(void *state); -PJ_DECL(void) echo_supp_reset(void *state); -PJ_DECL(pj_status_t) echo_supp_cancel_echo(void *state, - pj_int16_t *rec_frm, - const pj_int16_t *play_frm, - unsigned options, - void *reserved ); - -PJ_DECL(pj_status_t) speex_aec_create(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned tail_ms, - unsigned options, - void **p_state ); -PJ_DECL(pj_status_t) speex_aec_destroy(void *state ); -PJ_DECL(void) speex_aec_reset(void *state ); -PJ_DECL(pj_status_t) speex_aec_cancel_echo(void *state, - pj_int16_t *rec_frm, - const pj_int16_t *play_frm, - unsigned options, - void *reserved ); - -PJ_DECL(pj_status_t) ipp_aec_create(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned tail_ms, - unsigned options, - void **p_echo ); -PJ_DECL(pj_status_t) ipp_aec_destroy(void *state ); -PJ_DECL(void) ipp_aec_reset(void *state ); -PJ_DECL(pj_status_t) ipp_aec_cancel_echo(void *state, - pj_int16_t *rec_frm, - const pj_int16_t *play_frm, - unsigned options, - void *reserved ); - - -PJ_END_DECL - -#endif - diff --git a/res/pjproject/pjmedia/src/pjmedia/echo_port.c b/res/pjproject/pjmedia/src/pjmedia/echo_port.c deleted file mode 100644 index 4c098cc401..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/echo_port.c +++ /dev/null @@ -1,146 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - - -#define THIS_FILE "ec_port.c" -#define SIGNATURE PJMEDIA_SIG_PORT_ECHO -#define BUF_COUNT 32 - -struct ec -{ - pjmedia_port base; - pjmedia_port *dn_port; - pjmedia_echo_state *ec; -}; - - -static pj_status_t ec_put_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t ec_get_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t ec_on_destroy(pjmedia_port *this_port); - - -PJ_DEF(pj_status_t) pjmedia_echo_port_create(pj_pool_t *pool, - pjmedia_port *dn_port, - unsigned tail_ms, - unsigned latency_ms, - unsigned options, - pjmedia_port **p_port ) -{ - const pj_str_t AEC = { "EC", 2 }; - pjmedia_audio_format_detail *afd; - struct ec *ec; - pj_status_t status; - - PJ_ASSERT_RETURN(pool && dn_port && p_port, PJ_EINVAL); - - afd = pjmedia_format_get_audio_format_detail(&dn_port->info.fmt, PJ_TRUE); - - PJ_ASSERT_RETURN(afd->bits_per_sample==16 && tail_ms, - PJ_EINVAL); - - /* Create the port and the AEC itself */ - ec = PJ_POOL_ZALLOC_T(pool, struct ec); - - pjmedia_port_info_init(&ec->base.info, &AEC, SIGNATURE, - afd->clock_rate, - afd->channel_count, - afd->bits_per_sample, - PJMEDIA_AFD_SPF(afd)); - - status = pjmedia_echo_create2(pool, afd->clock_rate, - afd->channel_count, - PJMEDIA_AFD_SPF(afd), - tail_ms, latency_ms, options, &ec->ec); - if (status != PJ_SUCCESS) - return status; - - /* More init */ - ec->dn_port = dn_port; - ec->base.get_frame = &ec_get_frame; - ec->base.put_frame = &ec_put_frame; - ec->base.on_destroy = &ec_on_destroy; - - /* Done */ - *p_port = &ec->base; - - return PJ_SUCCESS; -} - - -static pj_status_t ec_put_frame( pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct ec *ec = (struct ec*)this_port; - - PJ_ASSERT_RETURN(this_port->info.signature == SIGNATURE, PJ_EINVAL); - - if (frame->type == PJMEDIA_FRAME_TYPE_NONE ) { - return pjmedia_port_put_frame(ec->dn_port, frame); - } - - PJ_ASSERT_RETURN(frame->size == PJMEDIA_PIA_AVG_FSZ(&this_port->info), - PJ_EINVAL); - - pjmedia_echo_capture(ec->ec, (pj_int16_t*)frame->buf, 0); - - return pjmedia_port_put_frame(ec->dn_port, frame); -} - - -static pj_status_t ec_get_frame( pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct ec *ec = (struct ec*)this_port; - pj_status_t status; - - PJ_ASSERT_RETURN(this_port->info.signature == SIGNATURE, PJ_EINVAL); - - status = pjmedia_port_get_frame(ec->dn_port, frame); - if (status!=PJ_SUCCESS || frame->type!=PJMEDIA_FRAME_TYPE_AUDIO) { - pjmedia_zero_samples((pj_int16_t*)frame->buf, - PJMEDIA_PIA_SPF(&this_port->info)); - } - - pjmedia_echo_playback(ec->ec, (pj_int16_t*)frame->buf); - - return status; -} - - -static pj_status_t ec_on_destroy(pjmedia_port *this_port) -{ - struct ec *ec = (struct ec*)this_port; - - PJ_ASSERT_RETURN(this_port->info.signature == SIGNATURE, PJ_EINVAL); - - pjmedia_echo_destroy(ec->ec); - - return PJ_SUCCESS; -} - - diff --git a/res/pjproject/pjmedia/src/pjmedia/echo_speex.c b/res/pjproject/pjmedia/src/pjmedia/echo_speex.c deleted file mode 100644 index 1942859701..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/echo_speex.c +++ /dev/null @@ -1,192 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include -#include -#include -#include -#include -#include - -#if defined(PJMEDIA_HAS_SPEEX_AEC) && PJMEDIA_HAS_SPEEX_AEC != 0 - -#include -#include - -#include "echo_internal.h" - -typedef struct speex_ec -{ - SpeexEchoState *state; - SpeexPreprocessState *preprocess; - - unsigned samples_per_frame; - unsigned prefetch; - unsigned options; - pj_int16_t *tmp_frame; -} speex_ec; - - - -/* - * Create the AEC. - */ -PJ_DEF(pj_status_t) speex_aec_create(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned tail_ms, - unsigned options, - void **p_echo ) -{ - speex_ec *echo; - int sampling_rate; - - *p_echo = NULL; - - echo = PJ_POOL_ZALLOC_T(pool, speex_ec); - PJ_ASSERT_RETURN(echo != NULL, PJ_ENOMEM); - - echo->samples_per_frame = samples_per_frame; - echo->options = options; - -#if 0 - echo->state = speex_echo_state_init_mc(echo->samples_per_frame, - clock_rate * tail_ms / 1000, - channel_count, channel_count); -#else - if (channel_count != 1) { - PJ_LOG(2,("echo_speex.c", "Multichannel EC is not supported by this " - "echo canceller. It may not work.")); - } - echo->state = speex_echo_state_init(echo->samples_per_frame, - clock_rate * tail_ms / 1000); -#endif - if (echo->state == NULL) { - return PJ_ENOMEM; - } - - /* Set sampling rate */ - sampling_rate = clock_rate; - speex_echo_ctl(echo->state, SPEEX_ECHO_SET_SAMPLING_RATE, - &sampling_rate); - - echo->preprocess = speex_preprocess_state_init(echo->samples_per_frame, - clock_rate); - if (echo->preprocess == NULL) { - speex_echo_state_destroy(echo->state); - return PJ_ENOMEM; - } - - /* Disable all preprocessing, we only want echo cancellation */ -#if 0 - disabled = 0; - enabled = 1; - speex_preprocess_ctl(echo->preprocess, SPEEX_PREPROCESS_SET_DENOISE, - &enabled); - speex_preprocess_ctl(echo->preprocess, SPEEX_PREPROCESS_SET_AGC, - &disabled); - speex_preprocess_ctl(echo->preprocess, SPEEX_PREPROCESS_SET_VAD, - &disabled); - speex_preprocess_ctl(echo->preprocess, SPEEX_PREPROCESS_SET_DEREVERB, - &enabled); -#endif - - /* Control echo cancellation in the preprocessor */ - speex_preprocess_ctl(echo->preprocess, SPEEX_PREPROCESS_SET_ECHO_STATE, - echo->state); - - - /* Create temporary frame for echo cancellation */ - echo->tmp_frame = (pj_int16_t*) pj_pool_zalloc(pool, 2*samples_per_frame); - PJ_ASSERT_RETURN(echo->tmp_frame != NULL, PJ_ENOMEM); - - /* Done */ - *p_echo = echo; - return PJ_SUCCESS; - -} - - -/* - * Destroy AEC - */ -PJ_DEF(pj_status_t) speex_aec_destroy(void *state ) -{ - speex_ec *echo = (speex_ec*) state; - - PJ_ASSERT_RETURN(echo && echo->state, PJ_EINVAL); - - if (echo->state) { - speex_echo_state_destroy(echo->state); - echo->state = NULL; - } - - if (echo->preprocess) { - speex_preprocess_state_destroy(echo->preprocess); - echo->preprocess = NULL; - } - - return PJ_SUCCESS; -} - - -/* - * Reset AEC - */ -PJ_DEF(void) speex_aec_reset(void *state ) -{ - speex_ec *echo = (speex_ec*) state; - speex_echo_state_reset(echo->state); -} - - -/* - * Perform echo cancellation. - */ -PJ_DEF(pj_status_t) speex_aec_cancel_echo( void *state, - pj_int16_t *rec_frm, - const pj_int16_t *play_frm, - unsigned options, - void *reserved ) -{ - speex_ec *echo = (speex_ec*) state; - - /* Sanity checks */ - PJ_ASSERT_RETURN(echo && rec_frm && play_frm && options==0 && - reserved==NULL, PJ_EINVAL); - - /* Cancel echo, put output in temporary buffer */ - speex_echo_cancellation(echo->state, (const spx_int16_t*)rec_frm, - (const spx_int16_t*)play_frm, - (spx_int16_t*)echo->tmp_frame); - - - /* Preprocess output */ - speex_preprocess_run(echo->preprocess, (spx_int16_t*)echo->tmp_frame); - - /* Copy temporary buffer back to original rec_frm */ - pjmedia_copy_samples(rec_frm, echo->tmp_frame, echo->samples_per_frame); - - return PJ_SUCCESS; - -} - -#endif diff --git a/res/pjproject/pjmedia/src/pjmedia/echo_suppress.c b/res/pjproject/pjmedia/src/pjmedia/echo_suppress.c deleted file mode 100644 index 85a6efb4a4..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/echo_suppress.c +++ /dev/null @@ -1,805 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "echo_internal.h" - -#define THIS_FILE "echo_suppress.c" - -/* Maximum float constant */ -#define MAX_FLOAT (float)1.701411e38 - -/* The effective learn duration (in seconds) before we declare that learning - * is complete. The actual learning duration itself may be longer depending - * on the conversation pattern (e.g. we can't detect echo if speaker is only - * playing silence). - */ -#define MAX_CALC_DURATION_SEC 3 - -/* The internal audio segment length, in milliseconds. 10ms shold be good - * and no need to change it. - */ -#define SEGMENT_PTIME 10 - -/* The length of the template signal in milliseconds. The longer the template, - * the better correlation will be found, at the expense of more processing - * and longer learning time. - */ -#define TEMPLATE_PTIME 200 - -/* How long to look back in the past to see if either mic or speaker is - * active. - */ -#define SIGNAL_LOOKUP_MSEC 200 - -/* The minimum level value to be considered as talking, in uLaw complement - * (0-255). - */ -#define MIN_SIGNAL_ULAW 35 - -/* The period (in seconds) on which the ES will analize it's effectiveness, - * and it may trigger soft-reset to force recalculation. - */ -#define CHECK_PERIOD 30 - -/* Maximum signal level of average echo residue (in uLaw complement). When - * the residue value exceeds this value, we force the ES to re-learn. - */ -#define MAX_RESIDUE 2.5 - - -#if 0 -# define TRACE_(expr) PJ_LOG(5,expr) -#else -# define TRACE_(expr) -#endif - -PJ_INLINE(float) FABS(float val) -{ - if (val < 0) - return -val; - else - return val; -} - - -#if defined(PJ_HAS_FLOATING_POINT) && PJ_HAS_FLOATING_POINT!=0 - typedef float pj_ufloat_t; -# define pj_ufloat_from_float(f) (f) -# define pj_ufloat_mul_u(val1, f) ((val1) * (f)) -# define pj_ufloat_mul_i(val1, f) ((val1) * (f)) -#else - typedef pj_uint32_t pj_ufloat_t; - - pj_ufloat_t pj_ufloat_from_float(float f) - { - return (pj_ufloat_t)(f * 65536); - } - - unsigned pj_ufloat_mul_u(unsigned val1, pj_ufloat_t val2) - { - return (val1 * val2) >> 16; - } - - int pj_ufloat_mul_i(int val1, pj_ufloat_t val2) - { - return (val1 * (pj_int32_t)val2) >> 16; - } -#endif - - -/* Conversation state */ -typedef enum talk_state -{ - ST_NULL, - ST_LOCAL_TALK, - ST_REM_SILENT, - ST_DOUBLETALK, - ST_REM_TALK -} talk_state_t; - -const char *state_names[] = -{ - "Null", - "local talking", - "remote silent", - "doubletalk", - "remote talking" -}; - - -/* Description: - - The echo suppressor tries to find the position of echoed signal by looking - at the correlation between signal played to the speaker (played signal) - and the signal captured from the microphone (recorded signal). - - To do this, it first divides the frames (from mic and speaker) into - segments, calculate the audio level of the segment, and save the level - information in the playback and record history (play_hist and rec_hist - respectively). - - In the history, the newest element (depicted as "t0" in the diagram belo) - is put in the last position of the array. - - The record history size is as large as the template size (tmpl_cnt), since - we will use the record history as the template to find the best matching - position in the playback history. - - Here is the record history buffer: - - <--templ_cnt--> - +-------------+ - | rec_hist | - +-------------+ - t-templ_cnt......t0 - - As you can see, the newest frame ("t0") is put as the last element in the - array. - - The playback history size is larger than record history, since we need to - find the matching pattern in the past. The playback history size is - "templ_cnt + tail_cnt", where "tail_cnt" is the number of segments equal - to the maximum tail length. The maximum tail length is set when the ES - is created. - - Here is the playback history buffer: - - <-----tail_cnt-----> <--templ_cnt--> - +-------------------+--------------+ - | play_hist | - +-------------------+--------------+ - t-play_hist_cnt...t-templ_cnt.......t0 - - - - Learning: - - During the processing, the ES calculates the following values: - - the correlation value, that is how similar the playback signal compared - to the mic signal. The lower the correlation value the better (i.e. more - similar) the signal is. The correlation value is done over the template - duration. - - the gain scaling factor, that is the ratio between mic signal and - speaker signal. The ES calculates both the minimum and average ratios. - - The ES calculates both the values above for every tail position in the - playback history. The values are saved in arrays below: - - <-----tail_cnt-----> - +-------------------+ - | corr_sum | - +-------------------+ - | min_factor | - +-------------------+ - | avg_factor | - +-------------------+ - - At the end of processing, the ES iterates through the correlation array and - picks the tail index with the lowest corr_sum value. This is the position - where echo is most likely to be found. - - - Processing: - - Once learning is done, the ES will change the level of the mic signal - depending on the state of the conversation and according to the ratio that - has been found in the learning phase above. - - */ - -/* - * The simple echo suppresor state - */ -typedef struct echo_supp -{ - unsigned clock_rate; /* Clock rate. */ - pj_uint16_t samples_per_frame; /* Frame length in samples */ - pj_uint16_t samples_per_segment;/* Segment length in samples */ - pj_uint16_t tail_ms; /* Tail length in milliseconds */ - pj_uint16_t tail_samples; /* Tail length in samples. */ - - pj_bool_t learning; /* Are we still learning yet? */ - talk_state_t talk_state; /* Current talking state */ - int tail_index; /* Echo location, -1 if not found */ - - unsigned max_calc; /* # of calc before learning complete. - (see MAX_CALC_DURATION_SEC) */ - unsigned calc_cnt; /* Number of calculations so far */ - - unsigned update_cnt; /* # of updates */ - unsigned templ_cnt; /* Template length, in # of segments */ - unsigned tail_cnt; /* Tail length, in # of segments */ - unsigned play_hist_cnt; /* # of segments in play_hist */ - pj_uint16_t *play_hist; /* Array of playback levels */ - pj_uint16_t *rec_hist; /* Array of rec levels */ - - float *corr_sum; /* Array of corr for each tail pos. */ - float *tmp_corr; /* Temporary corr array calculation */ - float best_corr; /* Best correlation so far. */ - - unsigned sum_rec_level; /* Running sum of level in rec_hist */ - float rec_corr; /* Running corr in rec_hist. */ - - unsigned sum_play_level0; /* Running sum of level for first pos */ - float play_corr0; /* Running corr for first pos . */ - - float *min_factor; /* Array of minimum scaling factor */ - float *avg_factor; /* Array of average scaling factor */ - float *tmp_factor; /* Array to store provisional result */ - - unsigned running_cnt; /* Running duration in # of frames */ - float residue; /* Accummulated echo residue. */ - float last_factor; /* Last factor applied to mic signal */ -} echo_supp; - - - -/* - * Create. - */ -PJ_DEF(pj_status_t) echo_supp_create( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned tail_ms, - unsigned options, - void **p_state ) -{ - echo_supp *ec; - - PJ_UNUSED_ARG(channel_count); - PJ_UNUSED_ARG(options); - - PJ_ASSERT_RETURN(samples_per_frame >= SEGMENT_PTIME * clock_rate / 1000, - PJ_ENOTSUP); - - ec = PJ_POOL_ZALLOC_T(pool, struct echo_supp); - ec->clock_rate = clock_rate; - ec->samples_per_frame = (pj_uint16_t)samples_per_frame; - ec->samples_per_segment = (pj_uint16_t)(SEGMENT_PTIME * clock_rate / 1000); - ec->tail_ms = (pj_uint16_t)tail_ms; - ec->tail_samples = (pj_uint16_t)(tail_ms * clock_rate / 1000); - - ec->templ_cnt = TEMPLATE_PTIME / SEGMENT_PTIME; - ec->tail_cnt = (pj_uint16_t)(tail_ms / SEGMENT_PTIME); - ec->play_hist_cnt = (pj_uint16_t)(ec->tail_cnt+ec->templ_cnt); - - ec->max_calc = (pj_uint16_t)(MAX_CALC_DURATION_SEC * clock_rate / - ec->samples_per_segment); - - ec->rec_hist = (pj_uint16_t*) - pj_pool_alloc(pool, ec->templ_cnt * - sizeof(ec->rec_hist[0])); - - /* Note: play history has twice number of elements */ - ec->play_hist = (pj_uint16_t*) - pj_pool_alloc(pool, ec->play_hist_cnt * - sizeof(ec->play_hist[0])); - - ec->corr_sum = (float*) - pj_pool_alloc(pool, ec->tail_cnt * - sizeof(ec->corr_sum[0])); - ec->tmp_corr = (float*) - pj_pool_alloc(pool, ec->tail_cnt * - sizeof(ec->tmp_corr[0])); - ec->min_factor = (float*) - pj_pool_alloc(pool, ec->tail_cnt * - sizeof(ec->min_factor[0])); - ec->avg_factor = (float*) - pj_pool_alloc(pool, ec->tail_cnt * - sizeof(ec->avg_factor[0])); - ec->tmp_factor = (float*) - pj_pool_alloc(pool, ec->tail_cnt * - sizeof(ec->tmp_factor[0])); - echo_supp_reset(ec); - - *p_state = ec; - return PJ_SUCCESS; -} - - -/* - * Destroy. - */ -PJ_DEF(pj_status_t) echo_supp_destroy(void *state) -{ - PJ_UNUSED_ARG(state); - return PJ_SUCCESS; -} - - -/* - * Hard reset - */ -PJ_DEF(void) echo_supp_reset(void *state) -{ - unsigned i; - echo_supp *ec = (echo_supp*) state; - - pj_bzero(ec->rec_hist, ec->templ_cnt * sizeof(ec->rec_hist[0])); - pj_bzero(ec->play_hist, ec->play_hist_cnt * sizeof(ec->play_hist[0])); - - for (i=0; itail_cnt; ++i) { - ec->corr_sum[i] = ec->avg_factor[i] = 0; - ec->min_factor[i] = MAX_FLOAT; - } - - ec->update_cnt = 0; - ec->calc_cnt = 0; - ec->learning = PJ_TRUE; - ec->tail_index = -1; - ec->best_corr = MAX_FLOAT; - ec->talk_state = ST_NULL; - ec->last_factor = 1.0; - ec->residue = 0; - ec->running_cnt = 0; - ec->sum_rec_level = ec->sum_play_level0 = 0; - ec->rec_corr = ec->play_corr0 = 0; -} - -/* - * Soft reset to force the EC to re-learn without having to discard all - * rec and playback history. - */ -PJ_DEF(void) echo_supp_soft_reset(void *state) -{ - unsigned i; - - echo_supp *ec = (echo_supp*) state; - - for (i=0; itail_cnt; ++i) { - ec->corr_sum[i] = 0; - } - - ec->update_cnt = 0; - ec->calc_cnt = 0; - ec->learning = PJ_TRUE; - ec->best_corr = MAX_FLOAT; - ec->residue = 0; - ec->running_cnt = 0; - ec->sum_rec_level = ec->sum_play_level0 = 0; - ec->rec_corr = ec->play_corr0 = 0; - - PJ_LOG(4,(THIS_FILE, "Echo suppressor soft reset. Re-learning..")); -} - - -/* Set state */ -static void echo_supp_set_state(echo_supp *ec, talk_state_t state, - unsigned level) -{ - PJ_UNUSED_ARG(level); - - if (state != ec->talk_state) { - TRACE_((THIS_FILE, "[%03d.%03d] %s --> %s, level=%u", - (ec->update_cnt * SEGMENT_PTIME / 1000), - ((ec->update_cnt * SEGMENT_PTIME) % 1000), - state_names[ec->talk_state], - state_names[state], level)); - ec->talk_state = state; - } -} - -/* - * Update EC state - */ -static void echo_supp_update(echo_supp *ec, pj_int16_t *rec_frm, - const pj_int16_t *play_frm) -{ - int prev_index; - unsigned i, j, frm_level, sum_play_level, ulaw; - pj_uint16_t old_rec_frm_level, old_play_frm_level; - float play_corr; - - ++ec->update_cnt; - if (ec->update_cnt > 0x7FFFFFFF) - ec->update_cnt = 0x7FFFFFFF; /* Detect overflow */ - - /* Calculate current play frame level */ - frm_level = pjmedia_calc_avg_signal(play_frm, ec->samples_per_segment); - ++frm_level; /* to avoid division by zero */ - - /* Save the oldest frame level for later */ - old_play_frm_level = ec->play_hist[0]; - - /* Push current frame level to the back of the play history */ - pj_array_erase(ec->play_hist, sizeof(pj_uint16_t), ec->play_hist_cnt, 0); - ec->play_hist[ec->play_hist_cnt-1] = (pj_uint16_t) frm_level; - - /* Calculate level of current mic frame */ - frm_level = pjmedia_calc_avg_signal(rec_frm, ec->samples_per_segment); - ++frm_level; /* to avoid division by zero */ - - /* Save the oldest frame level for later */ - old_rec_frm_level = ec->rec_hist[0]; - - /* Push to the back of the rec history */ - pj_array_erase(ec->rec_hist, sizeof(pj_uint16_t), ec->templ_cnt, 0); - ec->rec_hist[ec->templ_cnt-1] = (pj_uint16_t) frm_level; - - - /* Can't do the calc until the play history is full. */ - if (ec->update_cnt < ec->play_hist_cnt) - return; - - /* Skip if learning is done */ - if (!ec->learning) - return; - - - /* Calculate rec signal pattern */ - if (ec->sum_rec_level == 0) { - /* Buffer has just been filled up, do full calculation */ - ec->rec_corr = 0; - ec->sum_rec_level = 0; - for (i=0; i < ec->templ_cnt-1; ++i) { - float corr; - corr = (float)ec->rec_hist[i+1] / ec->rec_hist[i]; - ec->rec_corr += corr; - ec->sum_rec_level += ec->rec_hist[i]; - } - ec->sum_rec_level += ec->rec_hist[i]; - } else { - /* Update from previous calculation */ - ec->sum_rec_level = ec->sum_rec_level - old_rec_frm_level + - ec->rec_hist[ec->templ_cnt-1]; - ec->rec_corr = ec->rec_corr - ((float)ec->rec_hist[0] / - old_rec_frm_level) + - ((float)ec->rec_hist[ec->templ_cnt-1] / - ec->rec_hist[ec->templ_cnt-2]); - } - - /* Iterate through the play history and calculate the signal correlation - * for every tail position in the play_hist. Save the result in temporary - * array since we may bail out early if the conversation state is not good - * to detect echo. - */ - /* - * First phase: do full calculation for the first position - */ - if (ec->sum_play_level0 == 0) { - /* Buffer has just been filled up, do full calculation */ - sum_play_level = 0; - play_corr = 0; - for (j=0; jtempl_cnt-1; ++j) { - float corr; - corr = (float)ec->play_hist[j+1] / ec->play_hist[j]; - play_corr += corr; - sum_play_level += ec->play_hist[j]; - } - sum_play_level += ec->play_hist[j]; - ec->sum_play_level0 = sum_play_level; - ec->play_corr0 = play_corr; - } else { - /* Update from previous calculation */ - ec->sum_play_level0 = ec->sum_play_level0 - old_play_frm_level + - ec->play_hist[ec->templ_cnt-1]; - ec->play_corr0 = ec->play_corr0 - ((float)ec->play_hist[0] / - old_play_frm_level) + - ((float)ec->play_hist[ec->templ_cnt-1] / - ec->play_hist[ec->templ_cnt-2]); - sum_play_level = ec->sum_play_level0; - play_corr = ec->play_corr0; - } - ec->tmp_corr[0] = FABS(play_corr - ec->rec_corr); - ec->tmp_factor[0] = (float)ec->sum_rec_level / sum_play_level; - - /* Bail out if remote isn't talking */ - ulaw = pjmedia_linear2ulaw(sum_play_level/ec->templ_cnt) ^ 0xFF; - if (ulaw < MIN_SIGNAL_ULAW) { - echo_supp_set_state(ec, ST_REM_SILENT, ulaw); - return; - } - /* Bail out if local user is talking */ - if (ec->sum_rec_level >= sum_play_level) { - echo_supp_set_state(ec, ST_LOCAL_TALK, ulaw); - return; - } - - /* - * Second phase: do incremental calculation for the rest of positions - */ - for (i=1; i < ec->tail_cnt; ++i) { - unsigned end; - - end = i + ec->templ_cnt; - - sum_play_level = sum_play_level - ec->play_hist[i-1] + - ec->play_hist[end-1]; - play_corr = play_corr - ((float)ec->play_hist[i]/ec->play_hist[i-1]) + - ((float)ec->play_hist[end-1]/ec->play_hist[end-2]); - - /* Bail out if remote isn't talking */ - ulaw = pjmedia_linear2ulaw(sum_play_level/ec->templ_cnt) ^ 0xFF; - if (ulaw < MIN_SIGNAL_ULAW) { - echo_supp_set_state(ec, ST_REM_SILENT, ulaw); - return; - } - - /* Bail out if local user is talking */ - if (ec->sum_rec_level >= sum_play_level) { - echo_supp_set_state(ec, ST_LOCAL_TALK, ulaw); - return; - } - -#if 0 - // disabled: not a good idea if mic throws out loud echo - /* Also bail out if we suspect there's a doubletalk */ - ulaw = pjmedia_linear2ulaw(ec->sum_rec_level/ec->templ_cnt) ^ 0xFF; - if (ulaw > MIN_SIGNAL_ULAW) { - echo_supp_set_state(ec, ST_DOUBLETALK, ulaw); - return; - } -#endif - - /* Calculate correlation and save to temporary array */ - ec->tmp_corr[i] = FABS(play_corr - ec->rec_corr); - - /* Also calculate the gain factor between mic and speaker level */ - ec->tmp_factor[i] = (float)ec->sum_rec_level / sum_play_level; - pj_assert(ec->tmp_factor[i] < 1); - } - - /* We seem to have good signal, we can update the EC state */ - echo_supp_set_state(ec, ST_REM_TALK, MIN_SIGNAL_ULAW); - - /* Accummulate the correlation value to the history and at the same - * time find the tail index of the best correlation. - */ - prev_index = ec->tail_index; - for (i=1; itail_cnt-1; ++i) { - float *p = &ec->corr_sum[i], sum; - - /* Accummulate correlation value for this tail position */ - ec->corr_sum[i] += ec->tmp_corr[i]; - - /* Update the min and avg gain factor for this tail position */ - if (ec->tmp_factor[i] < ec->min_factor[i]) - ec->min_factor[i] = ec->tmp_factor[i]; - ec->avg_factor[i] = ((ec->avg_factor[i] * ec->tail_cnt) + - ec->tmp_factor[i]) / - (ec->tail_cnt + 1); - - /* To get the best correlation, also include the correlation - * value of the neighbouring tail locations. - */ - sum = *(p-1) + (*p)*2 + *(p+1); - //sum = *p; - - /* See if we have better correlation value */ - if (sum < ec->best_corr) { - ec->tail_index = i; - ec->best_corr = sum; - } - } - - if (ec->tail_index != prev_index) { - unsigned duration; - int imin, iavg; - - duration = ec->update_cnt * SEGMENT_PTIME; - imin = (int)(ec->min_factor[ec->tail_index] * 1000); - iavg = (int)(ec->avg_factor[ec->tail_index] * 1000); - - PJ_LOG(4,(THIS_FILE, - "Echo suppressor updated at t=%03d.%03ds, echo tail=%d msec" - ", factor min/avg=%d.%03d/%d.%03d", - (duration/1000), (duration%1000), - (ec->tail_cnt-ec->tail_index) * SEGMENT_PTIME, - imin/1000, imin%1000, - iavg/1000, iavg%1000)); - - } - - ++ec->calc_cnt; - - if (ec->calc_cnt > ec->max_calc) { - unsigned duration; - int imin, iavg; - - - ec->learning = PJ_FALSE; - ec->running_cnt = 0; - - duration = ec->update_cnt * SEGMENT_PTIME; - imin = (int)(ec->min_factor[ec->tail_index] * 1000); - iavg = (int)(ec->avg_factor[ec->tail_index] * 1000); - - PJ_LOG(4,(THIS_FILE, - "Echo suppressor learning done at t=%03d.%03ds, tail=%d ms" - ", factor min/avg=%d.%03d/%d.%03d", - (duration/1000), (duration%1000), - (ec->tail_cnt-ec->tail_index) * SEGMENT_PTIME, - imin/1000, imin%1000, - iavg/1000, iavg%1000)); - } - -} - - -/* Amplify frame */ -static void amplify_frame(pj_int16_t *frm, unsigned length, - pj_ufloat_t factor) -{ - unsigned i; - - for (i=0; isamples_per_frame / ec->samples_per_segment; - pj_assert(N>0); - for (i=0; isamples_per_segment; - echo_supp_update(ec, rec_frm+pos, play_frm+pos); - } - - if (ec->tail_index < 0) { - /* Not ready */ - } else { - unsigned lookup_cnt, rec_level=0, play_level=0; - unsigned tail_cnt; - float factor; - - /* How many previous segments to lookup */ - lookup_cnt = SIGNAL_LOOKUP_MSEC / SEGMENT_PTIME; - if (lookup_cnt > ec->templ_cnt) - lookup_cnt = ec->templ_cnt; - - /* Lookup in recording history to get maximum mic level, to see - * if local user is currently talking - */ - for (i=ec->templ_cnt - lookup_cnt; i < ec->templ_cnt; ++i) { - if (ec->rec_hist[i] > rec_level) - rec_level = ec->rec_hist[i]; - } - rec_level = pjmedia_linear2ulaw(rec_level) ^ 0xFF; - - /* Calculate the detected tail length, in # of segments */ - tail_cnt = (ec->tail_cnt - ec->tail_index); - - /* Lookup in playback history to get max speaker level, to see - * if remote user is currently talking - */ - for (i=ec->play_hist_cnt -lookup_cnt -tail_cnt; - iplay_hist_cnt-tail_cnt; ++i) - { - if (ec->play_hist[i] > play_level) - play_level = ec->play_hist[i]; - } - play_level = pjmedia_linear2ulaw(play_level) ^ 0xFF; - - if (rec_level >= MIN_SIGNAL_ULAW) { - if (play_level < MIN_SIGNAL_ULAW) { - /* Mic is talking, speaker is idle. Let mic signal pass as is. - */ - factor = 1.0; - echo_supp_set_state(ec, ST_LOCAL_TALK, rec_level); - } else if (rec_level > play_level) { - /* Seems that both are talking. Scale the mic signal - * down a little bit to reduce echo, while allowing both - * parties to talk at the same time. - */ - factor = (float)(ec->avg_factor[ec->tail_index] * 2); - echo_supp_set_state(ec, ST_DOUBLETALK, rec_level); - } else { - /* Speaker is active, but we've picked up large signal in - * the microphone. Assume that this is an echo, so bring - * the level down to minimum too. - */ - factor = ec->min_factor[ec->tail_index] / 2; - echo_supp_set_state(ec, ST_REM_TALK, play_level); - } - } else { - if (play_level < MIN_SIGNAL_ULAW) { - /* Both mic and speaker seems to be idle. Also scale the - * mic signal down with average factor to reduce low power - * echo. - */ - factor = ec->avg_factor[ec->tail_index] * 3 / 2; - echo_supp_set_state(ec, ST_REM_SILENT, rec_level); - } else { - /* Mic is idle, but there's something playing in speaker. - * Scale the mic down to minimum - */ - factor = ec->min_factor[ec->tail_index] / 2; - echo_supp_set_state(ec, ST_REM_TALK, play_level); - } - } - - /* Smoothen the transition */ - if (factor >= ec->last_factor) - factor = (factor + ec->last_factor) / 2; - else - factor = (factor + ec->last_factor*19) / 20; - - /* Amplify frame */ - amplify_frame(rec_frm, ec->samples_per_frame, - pj_ufloat_from_float(factor)); - ec->last_factor = factor; - - if (ec->talk_state == ST_REM_TALK) { - unsigned level, recalc_cnt; - - /* Get the adjusted frame signal level */ - level = pjmedia_calc_avg_signal(rec_frm, ec->samples_per_frame); - level = pjmedia_linear2ulaw(level) ^ 0xFF; - - /* Accumulate average echo residue to see the ES effectiveness */ - ec->residue = ((ec->residue * ec->running_cnt) + level) / - (ec->running_cnt + 1); - - ++ec->running_cnt; - - /* Check if we need to re-learn */ - recalc_cnt = CHECK_PERIOD * ec->clock_rate / ec->samples_per_frame; - if (ec->running_cnt > recalc_cnt) { - int iresidue; - - iresidue = (int)(ec->residue*1000); - - PJ_LOG(5,(THIS_FILE, "Echo suppressor residue = %d.%03d", - iresidue/1000, iresidue%1000)); - - if (ec->residue > MAX_RESIDUE && !ec->learning) { - echo_supp_soft_reset(ec); - ec->residue = 0; - } else { - ec->running_cnt = 0; - ec->residue = 0; - } - } - } - } - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/endpoint.c b/res/pjproject/pjmedia/src/pjmedia/endpoint.c deleted file mode 100644 index 4f592b6dcd..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/endpoint.c +++ /dev/null @@ -1,942 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#define THIS_FILE "endpoint.c" - -static const pj_str_t STR_AUDIO = { "audio", 5}; -static const pj_str_t STR_VIDEO = { "video", 5}; -static const pj_str_t STR_IN = { "IN", 2 }; -static const pj_str_t STR_IP4 = { "IP4", 3}; -static const pj_str_t STR_IP6 = { "IP6", 3}; -static const pj_str_t STR_RTP_AVP = { "RTP/AVP", 7 }; -static const pj_str_t STR_SDP_NAME = { "pjmedia", 7 }; -static const pj_str_t STR_SENDRECV = { "sendrecv", 8 }; - - - -/* Config to control rtpmap inclusion for static payload types */ -pj_bool_t pjmedia_add_rtpmap_for_static_pt = - PJMEDIA_ADD_RTPMAP_FOR_STATIC_PT; - - - -/* Worker thread proc. */ -static int PJ_THREAD_FUNC worker_proc(void*); - - -#define MAX_THREADS 16 - - -/* List of media endpoint exit callback. */ -typedef struct exit_cb -{ - PJ_DECL_LIST_MEMBER (struct exit_cb); - pjmedia_endpt_exit_callback func; -} exit_cb; - - -/** Concrete declaration of media endpoint. */ -struct pjmedia_endpt -{ - /** Pool. */ - pj_pool_t *pool; - - /** Pool factory. */ - pj_pool_factory *pf; - - /** Codec manager. */ - pjmedia_codec_mgr codec_mgr; - - /** IOqueue instance. */ - pj_ioqueue_t *ioqueue; - - /** Do we own the ioqueue? */ - pj_bool_t own_ioqueue; - - /** Number of threads. */ - unsigned thread_cnt; - - /** IOqueue polling thread, if any. */ - pj_thread_t *thread[MAX_THREADS]; - - /** To signal polling thread to quit. */ - pj_bool_t quit_flag; - - /** Is telephone-event enable */ - pj_bool_t has_telephone_event; - - /** List of exit callback. */ - exit_cb exit_cb_list; -}; - -/** - * Initialize and get the instance of media endpoint. - */ -PJ_DEF(pj_status_t) pjmedia_endpt_create(pj_pool_factory *pf, - pj_ioqueue_t *ioqueue, - unsigned worker_cnt, - pjmedia_endpt **p_endpt) -{ - pj_pool_t *pool; - pjmedia_endpt *endpt; - unsigned i; - pj_status_t status; - - status = pj_register_strerror(PJMEDIA_ERRNO_START, PJ_ERRNO_SPACE_SIZE, - &pjmedia_strerror); - pj_assert(status == PJ_SUCCESS); - - PJ_ASSERT_RETURN(pf && p_endpt, PJ_EINVAL); - PJ_ASSERT_RETURN(worker_cnt <= MAX_THREADS, PJ_EINVAL); - - pool = pj_pool_create(pf, "med-ept", 512, 512, NULL); - if (!pool) - return PJ_ENOMEM; - - endpt = PJ_POOL_ZALLOC_T(pool, struct pjmedia_endpt); - endpt->pool = pool; - endpt->pf = pf; - endpt->ioqueue = ioqueue; - endpt->thread_cnt = worker_cnt; - endpt->has_telephone_event = PJ_TRUE; - - /* Sound */ - status = pjmedia_aud_subsys_init(pf); - if (status != PJ_SUCCESS) - goto on_error; - - /* Init codec manager. */ - status = pjmedia_codec_mgr_init(&endpt->codec_mgr, endpt->pf); - if (status != PJ_SUCCESS) - goto on_error; - - /* Initialize exit callback list. */ - pj_list_init(&endpt->exit_cb_list); - - /* Create ioqueue if none is specified. */ - if (endpt->ioqueue == NULL) { - - endpt->own_ioqueue = PJ_TRUE; - - status = pj_ioqueue_create( endpt->pool, PJ_IOQUEUE_MAX_HANDLES, - &endpt->ioqueue); - if (status != PJ_SUCCESS) - goto on_error; - - if (worker_cnt == 0) { - PJ_LOG(4,(THIS_FILE, "Warning: no worker thread is created in" - "media endpoint for internal ioqueue")); - } - } - - /* Create worker threads if asked. */ - for (i=0; ipool, "media", &worker_proc, - endpt, 0, 0, &endpt->thread[i]); - if (status != PJ_SUCCESS) - goto on_error; - } - - - *p_endpt = endpt; - return PJ_SUCCESS; - -on_error: - - /* Destroy threads */ - for (i=0; ithread_cnt; ++i) { - if (endpt->thread[i]) { - pj_thread_destroy(endpt->thread[i]); - } - } - - /* Destroy internal ioqueue */ - if (endpt->ioqueue && endpt->own_ioqueue) - pj_ioqueue_destroy(endpt->ioqueue); - - pjmedia_codec_mgr_destroy(&endpt->codec_mgr); - pjmedia_aud_subsys_shutdown(); - pj_pool_release(pool); - return status; -} - -/** - * Get the codec manager instance. - */ -PJ_DEF(pjmedia_codec_mgr*) pjmedia_endpt_get_codec_mgr(pjmedia_endpt *endpt) -{ - return &endpt->codec_mgr; -} - -/** - * Deinitialize media endpoint. - */ -PJ_DEF(pj_status_t) pjmedia_endpt_destroy (pjmedia_endpt *endpt) -{ - exit_cb *ecb; - unsigned i; - - PJ_ASSERT_RETURN(endpt, PJ_EINVAL); - - endpt->quit_flag = 1; - - /* Destroy threads */ - for (i=0; ithread_cnt; ++i) { - if (endpt->thread[i]) { - pj_thread_join(endpt->thread[i]); - pj_thread_destroy(endpt->thread[i]); - endpt->thread[i] = NULL; - } - } - - /* Destroy internal ioqueue */ - if (endpt->ioqueue && endpt->own_ioqueue) { - pj_ioqueue_destroy(endpt->ioqueue); - endpt->ioqueue = NULL; - } - - endpt->pf = NULL; - - pjmedia_codec_mgr_destroy(&endpt->codec_mgr); - pjmedia_aud_subsys_shutdown(); - - /* Call all registered exit callbacks */ - ecb = endpt->exit_cb_list.next; - while (ecb != &endpt->exit_cb_list) { - (*ecb->func)(endpt); - ecb = ecb->next; - } - - pj_pool_release (endpt->pool); - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_endpt_set_flag( pjmedia_endpt *endpt, - pjmedia_endpt_flag flag, - const void *value) -{ - PJ_ASSERT_RETURN(endpt, PJ_EINVAL); - - switch (flag) { - case PJMEDIA_ENDPT_HAS_TELEPHONE_EVENT_FLAG: - endpt->has_telephone_event = *(pj_bool_t*)value; - break; - default: - return PJ_EINVAL; - } - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_endpt_get_flag( pjmedia_endpt *endpt, - pjmedia_endpt_flag flag, - void *value) -{ - PJ_ASSERT_RETURN(endpt, PJ_EINVAL); - - switch (flag) { - case PJMEDIA_ENDPT_HAS_TELEPHONE_EVENT_FLAG: - *(pj_bool_t*)value = endpt->has_telephone_event; - break; - default: - return PJ_EINVAL; - } - - return PJ_SUCCESS; -} - -/** - * Get the ioqueue instance of the media endpoint. - */ -PJ_DEF(pj_ioqueue_t*) pjmedia_endpt_get_ioqueue(pjmedia_endpt *endpt) -{ - PJ_ASSERT_RETURN(endpt, NULL); - return endpt->ioqueue; -} - -/** - * Get the number of worker threads in media endpoint. - */ -PJ_DEF(unsigned) pjmedia_endpt_get_thread_count(pjmedia_endpt *endpt) -{ - PJ_ASSERT_RETURN(endpt, 0); - return endpt->thread_cnt; -} - -/** - * Get a reference to one of the worker threads of the media endpoint - */ -PJ_DEF(pj_thread_t*) pjmedia_endpt_get_thread(pjmedia_endpt *endpt, - unsigned index) -{ - PJ_ASSERT_RETURN(endpt, NULL); - PJ_ASSERT_RETURN(index < endpt->thread_cnt, NULL); - - /* here should be an assert on index >= 0 < endpt->thread_cnt */ - - return endpt->thread[index]; -} - -/** - * Worker thread proc. - */ -static int PJ_THREAD_FUNC worker_proc(void *arg) -{ - pjmedia_endpt *endpt = (pjmedia_endpt*) arg; - - while (!endpt->quit_flag) { - pj_time_val timeout = { 0, 500 }; - pj_ioqueue_poll(endpt->ioqueue, &timeout); - } - - return 0; -} - -/** - * Create pool. - */ -PJ_DEF(pj_pool_t*) pjmedia_endpt_create_pool( pjmedia_endpt *endpt, - const char *name, - pj_size_t initial, - pj_size_t increment) -{ - pj_assert(endpt != NULL); - - return pj_pool_create(endpt->pf, name, initial, increment, NULL); -} - -/* Common initialization for both audio and video SDP media line */ -static pj_status_t init_sdp_media(pjmedia_sdp_media *m, - pj_pool_t *pool, - const pj_str_t *media_type, - const pjmedia_sock_info *sock_info) -{ - char tmp_addr[PJ_INET6_ADDRSTRLEN]; - pjmedia_sdp_attr *attr; - const pj_sockaddr *addr; - - pj_strdup(pool, &m->desc.media, media_type); - - addr = &sock_info->rtp_addr_name; - - /* Validate address family */ - PJ_ASSERT_RETURN(addr->addr.sa_family == pj_AF_INET() || - addr->addr.sa_family == pj_AF_INET6(), - PJ_EAFNOTSUP); - - /* SDP connection line */ - m->conn = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_conn); - m->conn->net_type = STR_IN; - m->conn->addr_type = (addr->addr.sa_family==pj_AF_INET())? STR_IP4:STR_IP6; - pj_sockaddr_print(addr, tmp_addr, sizeof(tmp_addr), 0); - pj_strdup2(pool, &m->conn->addr, tmp_addr); - - /* Port and transport in media description */ - m->desc.port = pj_sockaddr_get_port(addr); - m->desc.port_count = 1; - pj_strdup (pool, &m->desc.transport, &STR_RTP_AVP); - - /* Add "rtcp" attribute */ -#if defined(PJMEDIA_HAS_RTCP_IN_SDP) && PJMEDIA_HAS_RTCP_IN_SDP!=0 - if (sock_info->rtcp_addr_name.addr.sa_family != 0) { - attr = pjmedia_sdp_attr_create_rtcp(pool, &sock_info->rtcp_addr_name); - if (attr) - pjmedia_sdp_attr_add(&m->attr_count, m->attr, attr); - } -#endif - - /* Add sendrecv attribute. */ - attr = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_attr); - attr->name = STR_SENDRECV; - m->attr[m->attr_count++] = attr; - - return PJ_SUCCESS; -} - -/* Create m=audio SDP media line */ -PJ_DEF(pj_status_t) pjmedia_endpt_create_audio_sdp(pjmedia_endpt *endpt, - pj_pool_t *pool, - const pjmedia_sock_info *si, - unsigned options, - pjmedia_sdp_media **p_m) -{ - const pj_str_t STR_AUDIO = { "audio", 5 }; - pjmedia_sdp_media *m; - pjmedia_sdp_attr *attr; - unsigned i; - unsigned max_bitrate = 0; - pj_status_t status; - - PJ_UNUSED_ARG(options); - - /* Check that there are not too many codecs */ - PJ_ASSERT_RETURN(endpt->codec_mgr.codec_cnt <= PJMEDIA_MAX_SDP_FMT, - PJ_ETOOMANY); - - /* Create and init basic SDP media */ - m = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_media); - status = init_sdp_media(m, pool, &STR_AUDIO, si); - if (status != PJ_SUCCESS) - return status; - - /* Add format, rtpmap, and fmtp (when applicable) for each codec */ - for (i=0; icodec_mgr.codec_cnt; ++i) { - - pjmedia_codec_info *codec_info; - pjmedia_sdp_rtpmap rtpmap; - char tmp_param[3]; - pjmedia_codec_param codec_param; - pj_str_t *fmt; - - if (endpt->codec_mgr.codec_desc[i].prio == PJMEDIA_CODEC_PRIO_DISABLED) - break; - - codec_info = &endpt->codec_mgr.codec_desc[i].info; - pjmedia_codec_mgr_get_default_param(&endpt->codec_mgr, codec_info, - &codec_param); - fmt = &m->desc.fmt[m->desc.fmt_count++]; - - fmt->ptr = (char*) pj_pool_alloc(pool, 8); - fmt->slen = pj_utoa(codec_info->pt, fmt->ptr); - - rtpmap.pt = *fmt; - rtpmap.enc_name = codec_info->encoding_name; - -#if defined(PJMEDIA_HANDLE_G722_MPEG_BUG) && (PJMEDIA_HANDLE_G722_MPEG_BUG != 0) - if (codec_info->pt == PJMEDIA_RTP_PT_G722) - rtpmap.clock_rate = 8000; - else - rtpmap.clock_rate = codec_info->clock_rate; -#else - rtpmap.clock_rate = codec_info->clock_rate; -#endif - - /* For audio codecs, rtpmap parameters denotes the number - * of channels, which can be omited if the value is 1. - */ - if (codec_info->type == PJMEDIA_TYPE_AUDIO && - codec_info->channel_cnt > 1) - { - /* Can only support one digit channel count */ - pj_assert(codec_info->channel_cnt < 10); - - tmp_param[0] = (char)('0' + codec_info->channel_cnt); - - rtpmap.param.ptr = tmp_param; - rtpmap.param.slen = 1; - - } else { - rtpmap.param.ptr = ""; - rtpmap.param.slen = 0; - } - - if (codec_info->pt >= 96 || pjmedia_add_rtpmap_for_static_pt) { - pjmedia_sdp_rtpmap_to_attr(pool, &rtpmap, &attr); - m->attr[m->attr_count++] = attr; - } - - /* Add fmtp params */ - if (codec_param.setting.dec_fmtp.cnt > 0) { - enum { MAX_FMTP_STR_LEN = 160 }; - char buf[MAX_FMTP_STR_LEN]; - unsigned buf_len = 0, i; - pjmedia_codec_fmtp *dec_fmtp = &codec_param.setting.dec_fmtp; - - /* Print codec PT */ - buf_len += pj_ansi_snprintf(buf, - MAX_FMTP_STR_LEN - buf_len, - "%d", - codec_info->pt); - - for (i = 0; i < dec_fmtp->cnt; ++i) { - unsigned test_len = 2; - - /* Check if buf still available */ - test_len = dec_fmtp->param[i].val.slen + - dec_fmtp->param[i].name.slen; - if (test_len + buf_len >= MAX_FMTP_STR_LEN) - return PJ_ETOOBIG; - - /* Print delimiter */ - buf_len += pj_ansi_snprintf(&buf[buf_len], - MAX_FMTP_STR_LEN - buf_len, - (i == 0?" ":";")); - - /* Print an fmtp param */ - if (dec_fmtp->param[i].name.slen) - buf_len += pj_ansi_snprintf( - &buf[buf_len], - MAX_FMTP_STR_LEN - buf_len, - "%.*s=%.*s", - (int)dec_fmtp->param[i].name.slen, - dec_fmtp->param[i].name.ptr, - (int)dec_fmtp->param[i].val.slen, - dec_fmtp->param[i].val.ptr); - else - buf_len += pj_ansi_snprintf(&buf[buf_len], - MAX_FMTP_STR_LEN - buf_len, - "%.*s", - (int)dec_fmtp->param[i].val.slen, - dec_fmtp->param[i].val.ptr); - } - - attr = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_attr); - - attr->name = pj_str("fmtp"); - attr->value = pj_strdup3(pool, buf); - m->attr[m->attr_count++] = attr; - } - - /* Find maximum bitrate in this media */ - if (max_bitrate < codec_param.info.max_bps) - max_bitrate = codec_param.info.max_bps; - } - -#if defined(PJMEDIA_RTP_PT_TELEPHONE_EVENTS) && \ - PJMEDIA_RTP_PT_TELEPHONE_EVENTS != 0 - /* - * Add support telephony event - */ - if (endpt->has_telephone_event) { - m->desc.fmt[m->desc.fmt_count++] = - pj_str(PJMEDIA_RTP_PT_TELEPHONE_EVENTS_STR); - - /* Add rtpmap. */ - attr = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_attr); - attr->name = pj_str("rtpmap"); - attr->value = pj_str(PJMEDIA_RTP_PT_TELEPHONE_EVENTS_STR - " telephone-event/8000"); - m->attr[m->attr_count++] = attr; - - /* Add fmtp */ - attr = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_attr); - attr->name = pj_str("fmtp"); - attr->value = pj_str(PJMEDIA_RTP_PT_TELEPHONE_EVENTS_STR " 0-15"); - m->attr[m->attr_count++] = attr; - } -#endif - - /* Put bandwidth info in media level using bandwidth modifier "TIAS" - * (RFC3890). - */ - if (max_bitrate) { - const pj_str_t STR_BANDW_MODIFIER = { "TIAS", 4 }; - pjmedia_sdp_bandw *b; - - b = PJ_POOL_ALLOC_T(pool, pjmedia_sdp_bandw); - b->modifier = STR_BANDW_MODIFIER; - b->value = max_bitrate; - m->bandw[m->bandw_count++] = b; - } - - *p_m = m; - return PJ_SUCCESS; -} - - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - -/* Create m=video SDP media line */ -PJ_DEF(pj_status_t) pjmedia_endpt_create_video_sdp(pjmedia_endpt *endpt, - pj_pool_t *pool, - const pjmedia_sock_info *si, - unsigned options, - pjmedia_sdp_media **p_m) -{ - - - const pj_str_t STR_VIDEO = { "video", 5 }; - pjmedia_sdp_media *m; - pjmedia_vid_codec_info codec_info[PJMEDIA_VID_CODEC_MGR_MAX_CODECS]; - unsigned codec_prio[PJMEDIA_VID_CODEC_MGR_MAX_CODECS]; - pjmedia_sdp_attr *attr; - unsigned cnt, i; - unsigned max_bitrate = 0; - pj_status_t status; - - PJ_UNUSED_ARG(options); - - /* Make sure video codec manager is instantiated */ - if (!pjmedia_vid_codec_mgr_instance()) - pjmedia_vid_codec_mgr_create(endpt->pool, NULL); - - /* Create and init basic SDP media */ - m = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_media); - status = init_sdp_media(m, pool, &STR_VIDEO, si); - if (status != PJ_SUCCESS) - return status; - - cnt = PJ_ARRAY_SIZE(codec_info); - status = pjmedia_vid_codec_mgr_enum_codecs(NULL, &cnt, - codec_info, codec_prio); - - /* Check that there are not too many codecs */ - PJ_ASSERT_RETURN(0 <= PJMEDIA_MAX_SDP_FMT, - PJ_ETOOMANY); - - /* Add format, rtpmap, and fmtp (when applicable) for each codec */ - for (i=0; i PJMEDIA_MAX_SDP_FMT) { - /* Too many codecs, perhaps it is better to tell application by - * returning appropriate status code. - */ - PJ_PERROR(3,(THIS_FILE, PJ_ETOOMANY, - "Skipping some video codecs")); - break; - } - - /* Must support RTP packetization and bidirectional */ - if ((codec_info[i].packings & PJMEDIA_VID_PACKING_PACKETS) == 0 || - codec_info[i].dir != PJMEDIA_DIR_ENCODING_DECODING) - { - continue; - } - - pjmedia_vid_codec_mgr_get_default_param(NULL, &codec_info[i], - &codec_param); - - fmt = &m->desc.fmt[m->desc.fmt_count++]; - fmt->ptr = (char*) pj_pool_alloc(pool, 8); - fmt->slen = pj_utoa(codec_info[i].pt, fmt->ptr); - rtpmap.pt = *fmt; - - /* Encoding name */ - rtpmap.enc_name = codec_info[i].encoding_name; - - /* Clock rate */ - rtpmap.clock_rate = codec_info[i].clock_rate; - - if (codec_info[i].pt >= 96 || pjmedia_add_rtpmap_for_static_pt) { - pjmedia_sdp_rtpmap_to_attr(pool, &rtpmap, &attr); - m->attr[m->attr_count++] = attr; - } - - /* Add fmtp params */ - if (codec_param.dec_fmtp.cnt > 0) { - enum { MAX_FMTP_STR_LEN = 160 }; - char buf[MAX_FMTP_STR_LEN]; - unsigned buf_len = 0, j; - pjmedia_codec_fmtp *dec_fmtp = &codec_param.dec_fmtp; - - /* Print codec PT */ - buf_len += pj_ansi_snprintf(buf, - MAX_FMTP_STR_LEN - buf_len, - "%d", - codec_info[i].pt); - - for (j = 0; j < dec_fmtp->cnt; ++j) { - unsigned test_len = 2; - - /* Check if buf still available */ - test_len = dec_fmtp->param[j].val.slen + - dec_fmtp->param[j].name.slen; - if (test_len + buf_len >= MAX_FMTP_STR_LEN) - return PJ_ETOOBIG; - - /* Print delimiter */ - buf_len += pj_ansi_snprintf(&buf[buf_len], - MAX_FMTP_STR_LEN - buf_len, - (j == 0?" ":";")); - - /* Print an fmtp param */ - if (dec_fmtp->param[j].name.slen) - buf_len += pj_ansi_snprintf( - &buf[buf_len], - MAX_FMTP_STR_LEN - buf_len, - "%.*s=%.*s", - (int)dec_fmtp->param[j].name.slen, - dec_fmtp->param[j].name.ptr, - (int)dec_fmtp->param[j].val.slen, - dec_fmtp->param[j].val.ptr); - else - buf_len += pj_ansi_snprintf(&buf[buf_len], - MAX_FMTP_STR_LEN - buf_len, - "%.*s", - (int)dec_fmtp->param[j].val.slen, - dec_fmtp->param[j].val.ptr); - } - - attr = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_attr); - - attr->name = pj_str("fmtp"); - attr->value = pj_strdup3(pool, buf); - m->attr[m->attr_count++] = attr; - } - - /* Find maximum bitrate in this media */ - vfd = pjmedia_format_get_video_format_detail(&codec_param.enc_fmt, - PJ_TRUE); - if (vfd && max_bitrate < vfd->max_bps) - max_bitrate = vfd->max_bps; - } - - /* Put bandwidth info in media level using bandwidth modifier "TIAS" - * (RFC3890). - */ - if (max_bitrate) { - const pj_str_t STR_BANDW_MODIFIER = { "TIAS", 4 }; - pjmedia_sdp_bandw *b; - - b = PJ_POOL_ALLOC_T(pool, pjmedia_sdp_bandw); - b->modifier = STR_BANDW_MODIFIER; - b->value = max_bitrate; - m->bandw[m->bandw_count++] = b; - } - - *p_m = m; - return PJ_SUCCESS; -} - -#endif /* PJMEDIA_HAS_VIDEO */ - - -/** - * Create a "blank" SDP session description. The SDP will contain basic SDP - * fields such as origin, time, and name, but without any media lines. - */ -PJ_DEF(pj_status_t) pjmedia_endpt_create_base_sdp( pjmedia_endpt *endpt, - pj_pool_t *pool, - const pj_str_t *sess_name, - const pj_sockaddr *origin, - pjmedia_sdp_session **p_sdp) -{ - pj_time_val tv; - pjmedia_sdp_session *sdp; - - /* Sanity check arguments */ - PJ_ASSERT_RETURN(endpt && pool && p_sdp, PJ_EINVAL); - - sdp = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_session); - - pj_gettimeofday(&tv); - sdp->origin.user = pj_str("-"); - sdp->origin.version = sdp->origin.id = tv.sec + 2208988800UL; - sdp->origin.net_type = STR_IN; - - if (origin->addr.sa_family == pj_AF_INET()) { - sdp->origin.addr_type = STR_IP4; - pj_strdup2(pool, &sdp->origin.addr, - pj_inet_ntoa(origin->ipv4.sin_addr)); - } else if (origin->addr.sa_family == pj_AF_INET6()) { - char tmp_addr[PJ_INET6_ADDRSTRLEN]; - - sdp->origin.addr_type = STR_IP6; - pj_strdup2(pool, &sdp->origin.addr, - pj_sockaddr_print(origin, tmp_addr, sizeof(tmp_addr), 0)); - - } else { - pj_assert(!"Invalid address family"); - return PJ_EAFNOTSUP; - } - - if (sess_name) - pj_strdup(pool, &sdp->name, sess_name); - else - sdp->name = STR_SDP_NAME; - - /* SDP time and attributes. */ - sdp->time.start = sdp->time.stop = 0; - sdp->attr_count = 0; - - /* Done */ - *p_sdp = sdp; - - return PJ_SUCCESS; -} - -/** - * Create a SDP session description that describes the endpoint - * capability. - */ -PJ_DEF(pj_status_t) pjmedia_endpt_create_sdp( pjmedia_endpt *endpt, - pj_pool_t *pool, - unsigned stream_cnt, - const pjmedia_sock_info sock_info[], - pjmedia_sdp_session **p_sdp ) -{ - const pj_sockaddr *addr0; - pjmedia_sdp_session *sdp; - pjmedia_sdp_media *m; - pj_status_t status; - - /* Sanity check arguments */ - PJ_ASSERT_RETURN(endpt && pool && p_sdp && stream_cnt, PJ_EINVAL); - PJ_ASSERT_RETURN(stream_cnt < PJMEDIA_MAX_SDP_MEDIA, PJ_ETOOMANY); - - addr0 = &sock_info[0].rtp_addr_name; - - /* Create and initialize basic SDP session */ - status = pjmedia_endpt_create_base_sdp(endpt, pool, NULL, addr0, &sdp); - if (status != PJ_SUCCESS) - return status; - - /* Audio is first, by convention */ - status = pjmedia_endpt_create_audio_sdp(endpt, pool, - &sock_info[0], 0, &m); - if (status != PJ_SUCCESS) - return status; - sdp->media[sdp->media_count++] = m; - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - { - unsigned i; - - /* The remaining stream, if any, are videos (by convention as well) */ - for (i=1; imedia[sdp->media_count++] = m; - } - } -#endif - - /* Done */ - *p_sdp = sdp; - - return PJ_SUCCESS; -} - - - -#if PJ_LOG_MAX_LEVEL >= 3 -static const char *good_number(char *buf, pj_int32_t val) -{ - if (val < 1000) { - pj_ansi_sprintf(buf, "%d", val); - } else if (val < 1000000) { - pj_ansi_sprintf(buf, "%d.%dK", - val / 1000, - (val % 1000) / 100); - } else { - pj_ansi_sprintf(buf, "%d.%02dM", - val / 1000000, - (val % 1000000) / 10000); - } - - return buf; -} -#endif - -PJ_DEF(pj_status_t) pjmedia_endpt_dump(pjmedia_endpt *endpt) -{ - -#if PJ_LOG_MAX_LEVEL >= 3 - unsigned i, count; - pjmedia_codec_info codec_info[32]; - unsigned prio[32]; - - PJ_LOG(3,(THIS_FILE, "Dumping PJMEDIA capabilities:")); - - count = PJ_ARRAY_SIZE(codec_info); - if (pjmedia_codec_mgr_enum_codecs(&endpt->codec_mgr, - &count, codec_info, prio) != PJ_SUCCESS) - { - PJ_LOG(3,(THIS_FILE, " -error: failed to enum codecs")); - return PJ_SUCCESS; - } - - PJ_LOG(3,(THIS_FILE, " Total number of installed codecs: %d", count)); - for (i=0; icodec_mgr, - &codec_info[i], - ¶m) != PJ_SUCCESS) - { - pj_bzero(¶m, sizeof(pjmedia_codec_param)); - } - - PJ_LOG(3,(THIS_FILE, - " %s codec #%2d: pt=%d (%.*s @%dKHz/%d, %sbps, %dms%s%s%s%s%s)", - type, i, codec_info[i].pt, - (int)codec_info[i].encoding_name.slen, - codec_info[i].encoding_name.ptr, - codec_info[i].clock_rate/1000, - codec_info[i].channel_cnt, - good_number(bps, param.info.avg_bps), - param.info.frm_ptime * param.setting.frm_per_pkt, - (param.setting.vad ? " vad" : ""), - (param.setting.cng ? " cng" : ""), - (param.setting.plc ? " plc" : ""), - (param.setting.penh ? " penh" : ""), - (prio[i]==PJMEDIA_CODEC_PRIO_DISABLED?" disabled":""))); - } -#endif - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_endpt_atexit( pjmedia_endpt *endpt, - pjmedia_endpt_exit_callback func) -{ - exit_cb *new_cb; - - PJ_ASSERT_RETURN(endpt && func, PJ_EINVAL); - - if (endpt->quit_flag) - return PJ_EINVALIDOP; - - new_cb = PJ_POOL_ZALLOC_T(endpt->pool, exit_cb); - new_cb->func = func; - - pj_enter_critical_section(); - pj_list_push_back(&endpt->exit_cb_list, new_cb); - pj_leave_critical_section(); - - return PJ_SUCCESS; -} diff --git a/res/pjproject/pjmedia/src/pjmedia/errno.c b/res/pjproject/pjmedia/src/pjmedia/errno.c deleted file mode 100644 index 7a8538eb77..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/errno.c +++ /dev/null @@ -1,272 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#if defined(PJMEDIA_SOUND_IMPLEMENTATION) && \ - PJMEDIA_SOUND_IMPLEMENTATION == PJMEDIA_SOUND_PORTAUDIO_SOUND -# include -#endif - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) -PJ_BEGIN_DECL - const char* get_libsrtp_errstr(int err); -PJ_END_DECL -#endif - - -/* PJMEDIA's own error codes/messages - * MUST KEEP THIS ARRAY SORTED!! - * Message must be limited to 64 chars! - */ - -#if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING != 0) - -static const struct -{ - int code; - const char *msg; -} err_str[] = -{ - /* Generic PJMEDIA errors, shouldn't be used! */ - PJ_BUILD_ERR( PJMEDIA_ERROR, "Unspecified PJMEDIA error" ), - - /* SDP error. */ - PJ_BUILD_ERR( PJMEDIA_SDP_EINSDP, "Invalid SDP descriptor" ), - PJ_BUILD_ERR( PJMEDIA_SDP_EINVER, "Invalid SDP version line" ), - PJ_BUILD_ERR( PJMEDIA_SDP_EINORIGIN, "Invalid SDP origin line" ), - PJ_BUILD_ERR( PJMEDIA_SDP_EINTIME, "Invalid SDP time line"), - PJ_BUILD_ERR( PJMEDIA_SDP_EINNAME, "SDP name/subject line is empty"), - PJ_BUILD_ERR( PJMEDIA_SDP_EINCONN, "Invalid SDP connection line"), - PJ_BUILD_ERR( PJMEDIA_SDP_EMISSINGCONN, "Missing SDP connection info line"), - PJ_BUILD_ERR( PJMEDIA_SDP_EINATTR, "Invalid SDP attributes"), - PJ_BUILD_ERR( PJMEDIA_SDP_EINRTPMAP, "Invalid SDP rtpmap attribute"), - PJ_BUILD_ERR( PJMEDIA_SDP_ERTPMAPTOOLONG,"SDP rtpmap attribute too long"), - PJ_BUILD_ERR( PJMEDIA_SDP_EMISSINGRTPMAP,"Missing SDP rtpmap for dynamic payload type"), - PJ_BUILD_ERR( PJMEDIA_SDP_EINMEDIA, "Invalid SDP media line" ), - PJ_BUILD_ERR( PJMEDIA_SDP_ENOFMT, "No SDP payload format in the media line" ), - PJ_BUILD_ERR( PJMEDIA_SDP_EINPT, "Invalid SDP payload type in media line" ), - PJ_BUILD_ERR( PJMEDIA_SDP_EINFMTP, "Invalid SDP fmtp attribute" ), - PJ_BUILD_ERR( PJMEDIA_SDP_EINRTCP, "Invalid SDP rtcp attribyte" ), - PJ_BUILD_ERR( PJMEDIA_SDP_EINPROTO, "Invalid SDP media transport protocol" ), - PJ_BUILD_ERR( PJMEDIA_SDP_EINBANDW, "Invalid SDP bandwidth info line" ), - - /* SDP negotiator errors. */ - PJ_BUILD_ERR( PJMEDIA_SDPNEG_EINSTATE, "Invalid SDP negotiator state for operation" ), - PJ_BUILD_ERR( PJMEDIA_SDPNEG_ENOINITIAL, "No initial local SDP in SDP negotiator" ), - PJ_BUILD_ERR( PJMEDIA_SDPNEG_ENOACTIVE, "No active SDP in SDP negotiator" ), - PJ_BUILD_ERR( PJMEDIA_SDPNEG_ENONEG, "No current local/remote offer/answer" ), - PJ_BUILD_ERR( PJMEDIA_SDPNEG_EMISMEDIA, "SDP media count mismatch in offer/answer" ), - PJ_BUILD_ERR( PJMEDIA_SDPNEG_EINVANSMEDIA, "SDP media type mismatch in offer/answer" ), - PJ_BUILD_ERR( PJMEDIA_SDPNEG_EINVANSTP, "SDP media transport type mismatch in offer/answer" ), - PJ_BUILD_ERR( PJMEDIA_SDPNEG_EANSNOMEDIA, "No common SDP media payload in answer" ), - PJ_BUILD_ERR( PJMEDIA_SDPNEG_ENOMEDIA, "No active media stream after negotiation" ), - PJ_BUILD_ERR( PJMEDIA_SDPNEG_NOANSCODEC, "No suitable codec for remote offer"), - PJ_BUILD_ERR( PJMEDIA_SDPNEG_NOANSTELEVENT, "No suitable telephone-event for remote offer"), - PJ_BUILD_ERR( PJMEDIA_SDPNEG_NOANSUNKNOWN, "No suitable answer for unknown remote offer"), - - /* SDP comparison results */ - PJ_BUILD_ERR( PJMEDIA_SDP_EMEDIANOTEQUAL, "SDP media descriptor not equal" ), - PJ_BUILD_ERR( PJMEDIA_SDP_EPORTNOTEQUAL, "Port in SDP media descriptor not equal" ), - PJ_BUILD_ERR( PJMEDIA_SDP_ETPORTNOTEQUAL, "Transport in SDP media descriptor not equal" ), - PJ_BUILD_ERR( PJMEDIA_SDP_EFORMATNOTEQUAL, "Format in SDP media descriptor not equal" ), - PJ_BUILD_ERR( PJMEDIA_SDP_ECONNNOTEQUAL, "SDP connection line not equal" ), - PJ_BUILD_ERR( PJMEDIA_SDP_EATTRNOTEQUAL, "SDP attributes not equal" ), - PJ_BUILD_ERR( PJMEDIA_SDP_EDIRNOTEQUAL, "SDP media direction not equal" ), - PJ_BUILD_ERR( PJMEDIA_SDP_EFMTPNOTEQUAL, "SDP fmtp attribute not equal" ), - PJ_BUILD_ERR( PJMEDIA_SDP_ERTPMAPNOTEQUAL, "SDP rtpmap attribute not equal" ), - PJ_BUILD_ERR( PJMEDIA_SDP_ESESSNOTEQUAL, "SDP session descriptor not equal" ), - PJ_BUILD_ERR( PJMEDIA_SDP_EORIGINNOTEQUAL, "SDP origin line not equal" ), - PJ_BUILD_ERR( PJMEDIA_SDP_ENAMENOTEQUAL, "SDP name/subject line not equal" ), - PJ_BUILD_ERR( PJMEDIA_SDP_ETIMENOTEQUAL, "SDP time line not equal" ), - - /* Codec errors. */ - PJ_BUILD_ERR( PJMEDIA_CODEC_EUNSUP, "Unsupported media codec" ), - PJ_BUILD_ERR( PJMEDIA_CODEC_EFAILED, "Codec internal creation error" ), - PJ_BUILD_ERR( PJMEDIA_CODEC_EFRMTOOSHORT, "Codec frame is too short" ), - PJ_BUILD_ERR( PJMEDIA_CODEC_EPCMTOOSHORT, "PCM frame is too short" ), - PJ_BUILD_ERR( PJMEDIA_CODEC_EFRMINLEN, "Invalid codec frame length" ), - PJ_BUILD_ERR( PJMEDIA_CODEC_EPCMFRMINLEN, "Invalid PCM frame length" ), - PJ_BUILD_ERR( PJMEDIA_CODEC_EINMODE, "Invalid codec mode (no fmtp?)" ), - PJ_BUILD_ERR( PJMEDIA_CODEC_EBADBITSTREAM, "Bad or corrupted bitstream" ), - - /* Media errors. */ - PJ_BUILD_ERR( PJMEDIA_EINVALIDIP, "Invalid remote media (IP) address" ), - PJ_BUILD_ERR( PJMEDIA_EASYMCODEC, "Asymetric media codec is not supported" ), - PJ_BUILD_ERR( PJMEDIA_EINVALIDPT, "Invalid media payload type" ), - PJ_BUILD_ERR( PJMEDIA_EMISSINGRTPMAP, "Missing rtpmap in media description" ), - PJ_BUILD_ERR( PJMEDIA_EINVALIMEDIATYPE, "Invalid media type" ), - PJ_BUILD_ERR( PJMEDIA_EREMOTENODTMF, "Remote does not support DTMF" ), - PJ_BUILD_ERR( PJMEDIA_RTP_EINDTMF, "Invalid DTMF digit" ), - PJ_BUILD_ERR( PJMEDIA_RTP_EREMNORFC2833,"Remote does not support RFC 2833" ), - PJ_BUILD_ERR( PJMEDIA_EBADFMT, "Bad format"), - - /* RTP session errors. */ - PJ_BUILD_ERR( PJMEDIA_RTP_EINPKT, "Invalid RTP packet" ), - PJ_BUILD_ERR( PJMEDIA_RTP_EINPACK, "Invalid RTP packing (internal error)" ), - PJ_BUILD_ERR( PJMEDIA_RTP_EINVER, "Invalid RTP version" ), - PJ_BUILD_ERR( PJMEDIA_RTP_EINSSRC, "RTP packet SSRC id mismatch" ), - PJ_BUILD_ERR( PJMEDIA_RTP_EINPT, "RTP packet payload type mismatch" ), - PJ_BUILD_ERR( PJMEDIA_RTP_EINLEN, "Invalid RTP packet length" ), - PJ_BUILD_ERR( PJMEDIA_RTP_ESESSRESTART, "RTP session restarted" ), - PJ_BUILD_ERR( PJMEDIA_RTP_ESESSPROBATION, "RTP session in probation" ), - PJ_BUILD_ERR( PJMEDIA_RTP_EBADSEQ, "Bad sequence number in RTP packet" ), - PJ_BUILD_ERR( PJMEDIA_RTP_EBADDEST, "RTP media port destination is not configured" ), - PJ_BUILD_ERR( PJMEDIA_RTP_ENOCONFIG, "RTP is not configured" ), - - /* Media port errors: */ - PJ_BUILD_ERR( PJMEDIA_ENOTCOMPATIBLE, "Media ports are not compatible" ), - PJ_BUILD_ERR( PJMEDIA_ENCCLOCKRATE, "Media ports have incompatible clock rate" ), - PJ_BUILD_ERR( PJMEDIA_ENCSAMPLESPFRAME, "Media ports have incompatible samples per frame" ), - PJ_BUILD_ERR( PJMEDIA_ENCTYPE, "Media ports have incompatible media type" ), - PJ_BUILD_ERR( PJMEDIA_ENCBITS, "Media ports have incompatible bits per sample" ), - PJ_BUILD_ERR( PJMEDIA_ENCBYTES, "Media ports have incompatible bytes per frame" ), - PJ_BUILD_ERR( PJMEDIA_ENCCHANNEL, "Media ports have incompatible number of channels" ), - - /* Media file errors: */ - PJ_BUILD_ERR( PJMEDIA_ENOTVALIDWAVE, "Not a valid WAVE file" ), - PJ_BUILD_ERR( PJMEDIA_EWAVEUNSUPP, "Unsupported WAVE file format" ), - PJ_BUILD_ERR( PJMEDIA_EWAVETOOSHORT, "WAVE file too short" ), - PJ_BUILD_ERR( PJMEDIA_EFRMFILETOOBIG, "Sound frame too large for file buffer"), - PJ_BUILD_ERR( PJMEDIA_EAVIUNSUPP, "Unsupported AVI file"), - - /* Sound device errors: */ - PJ_BUILD_ERR( PJMEDIA_ENOSNDREC, "No suitable sound capture device" ), - PJ_BUILD_ERR( PJMEDIA_ENOSNDPLAY, "No suitable sound playback device" ), - PJ_BUILD_ERR( PJMEDIA_ESNDINDEVID, "Invalid sound device ID" ), - PJ_BUILD_ERR( PJMEDIA_ESNDINSAMPLEFMT, "Invalid sample format for sound device" ), - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - /* SRTP transport errors: */ - PJ_BUILD_ERR( PJMEDIA_SRTP_ECRYPTONOTMATCH, "SRTP crypto-suite name not match the offerer tag" ), - PJ_BUILD_ERR( PJMEDIA_SRTP_EINKEYLEN, "Invalid SRTP key length for specific crypto" ), - PJ_BUILD_ERR( PJMEDIA_SRTP_ENOTSUPCRYPTO, "Unsupported SRTP crypto-suite" ), - PJ_BUILD_ERR( PJMEDIA_SRTP_ESDPAMBIGUEANS, "SRTP SDP contains ambigue answer" ), - PJ_BUILD_ERR( PJMEDIA_SRTP_ESDPDUPCRYPTOTAG,"Duplicated SRTP crypto tag" ), - PJ_BUILD_ERR( PJMEDIA_SRTP_ESDPINCRYPTO, "Invalid SRTP crypto attribute" ), - PJ_BUILD_ERR( PJMEDIA_SRTP_ESDPINCRYPTOTAG, "Invalid SRTP crypto tag" ), - PJ_BUILD_ERR( PJMEDIA_SRTP_ESDPINTRANSPORT, "Invalid SDP media transport for SRTP" ), - PJ_BUILD_ERR( PJMEDIA_SRTP_ESDPREQCRYPTO, "SRTP crypto attribute required" ), - PJ_BUILD_ERR( PJMEDIA_SRTP_ESDPREQSECTP, "Secure transport required in SDP media descriptor" ) -#endif - -}; - -#endif /* PJ_HAS_ERROR_STRING */ - - - -/* - * pjmedia_strerror() - */ -PJ_DEF(pj_str_t) pjmedia_strerror( pj_status_t statcode, - char *buf, pj_size_t bufsize ) -{ - pj_str_t errstr; - -#if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING != 0) - - /* See if the error comes from PortAudio. */ -#if defined(PJMEDIA_SOUND_IMPLEMENTATION) && \ - PJMEDIA_SOUND_IMPLEMENTATION == PJMEDIA_SOUND_PORTAUDIO_SOUND - if (statcode >= PJMEDIA_PORTAUDIO_ERRNO_START && - statcode <= PJMEDIA_PORTAUDIO_ERRNO_END) - { - - //int pa_err = statcode - PJMEDIA_ERRNO_FROM_PORTAUDIO(0); - int pa_err = PJMEDIA_PORTAUDIO_ERRNO_START - statcode; - pj_str_t msg; - - msg.ptr = (char*)Pa_GetErrorText(pa_err); - msg.slen = pj_ansi_strlen(msg.ptr); - - errstr.ptr = buf; - pj_strncpy_with_null(&errstr, &msg, bufsize); - return errstr; - - } else -#endif /* PJMEDIA_SOUND_IMPLEMENTATION */ - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - /* LIBSRTP error */ - if (statcode >= PJMEDIA_LIBSRTP_ERRNO_START && - statcode < PJMEDIA_LIBSRTP_ERRNO_END) - { - int err = statcode - PJMEDIA_LIBSRTP_ERRNO_START; - pj_str_t msg; - - msg = pj_str((char*)get_libsrtp_errstr(err)); - - errstr.ptr = buf; - pj_strncpy_with_null(&errstr, &msg, bufsize); - return errstr; - - } else -#endif - - /* PJMEDIA error */ - if (statcode >= PJMEDIA_ERRNO_START && - statcode < PJMEDIA_ERRNO_END) - { - /* Find the error in the table. - * Use binary search! - */ - int first = 0; - int n = PJ_ARRAY_SIZE(err_str); - - while (n > 0) { - int half = n/2; - int mid = first + half; - - if (err_str[mid].code < statcode) { - first = mid+1; - n -= (half+1); - } else if (err_str[mid].code > statcode) { - n = half; - } else { - first = mid; - break; - } - } - - - if (PJ_ARRAY_SIZE(err_str) && err_str[first].code == statcode) { - pj_str_t msg; - - msg.ptr = (char*)err_str[first].msg; - msg.slen = pj_ansi_strlen(err_str[first].msg); - - errstr.ptr = buf; - pj_strncpy_with_null(&errstr, &msg, bufsize); - return errstr; - - } - } -#endif /* PJ_HAS_ERROR_STRING */ - - /* Error not found. */ - errstr.ptr = buf; - errstr.slen = pj_ansi_snprintf(buf, bufsize, - "Unknown pjmedia error %d", - statcode); - - return errstr; -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/event.c b/res/pjproject/pjmedia/src/pjmedia/event.c deleted file mode 100644 index 0dfcacb399..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/event.c +++ /dev/null @@ -1,377 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "event.c" - -#define MAX_EVENTS 16 - -typedef struct esub esub; - -struct esub -{ - PJ_DECL_LIST_MEMBER(esub); - - pjmedia_event_cb *cb; - void *user_data; - void *epub; -}; - -typedef struct event_queue -{ - pjmedia_event events[MAX_EVENTS]; /**< array of events. */ - int head, tail; - pj_bool_t is_full; -} event_queue; - -struct pjmedia_event_mgr -{ - pj_pool_t *pool; - pj_thread_t *thread; /**< worker thread. */ - pj_bool_t is_quitting; - pj_sem_t *sem; - pj_mutex_t *mutex; - event_queue ev_queue; - event_queue *pub_ev_queue; /**< publish() event queue. */ - esub esub_list; /**< list of subscribers. */ - esub free_esub_list; /**< list of subscribers. */ - esub *th_next_sub, /**< worker thread's next sub. */ - *pub_next_sub; /**< publish() next sub. */ -}; - -static pjmedia_event_mgr *event_manager_instance; - -static pj_status_t event_queue_add_event(event_queue* ev_queue, - pjmedia_event *event) -{ - if (ev_queue->is_full) { - char ev_name[5]; - - /* This event will be ignored. */ - PJ_LOG(4, (THIS_FILE, "Lost event %s from publisher [0x%p] " - "due to full queue.", - pjmedia_fourcc_name(event->type, ev_name), - event->epub)); - - return PJ_ETOOMANY; - } - - pj_memcpy(&ev_queue->events[ev_queue->tail], event, sizeof(*event)); - ev_queue->tail = (ev_queue->tail + 1) % MAX_EVENTS; - if (ev_queue->tail == ev_queue->head) - ev_queue->is_full = PJ_TRUE; - - return PJ_SUCCESS; -} - -static pj_status_t event_mgr_distribute_events(pjmedia_event_mgr *mgr, - event_queue *ev_queue, - esub **next_sub, - pj_bool_t rls_lock) -{ - pj_status_t err = PJ_SUCCESS; - esub * sub = mgr->esub_list.next; - pjmedia_event *ev = &ev_queue->events[ev_queue->head]; - - while (sub != &mgr->esub_list) { - *next_sub = sub->next; - - /* Check if the subscriber is interested in - * receiving the event from the publisher. - */ - if (sub->epub == ev->epub || !sub->epub) { - pjmedia_event_cb *cb = sub->cb; - void *user_data = sub->user_data; - pj_status_t status; - - if (rls_lock) - pj_mutex_unlock(mgr->mutex); - - status = (*cb)(ev, user_data); - if (status != PJ_SUCCESS && err == PJ_SUCCESS) - err = status; - - if (rls_lock) - pj_mutex_lock(mgr->mutex); - } - sub = *next_sub; - } - *next_sub = NULL; - - ev_queue->head = (ev_queue->head + 1) % MAX_EVENTS; - ev_queue->is_full = PJ_FALSE; - - return err; -} - -/* Event worker thread function. */ -static int event_worker_thread(void *arg) -{ - pjmedia_event_mgr *mgr = (pjmedia_event_mgr *)arg; - - while (1) { - /* Wait until there is an event. */ - pj_sem_wait(mgr->sem); - - if (mgr->is_quitting) - break; - - pj_mutex_lock(mgr->mutex); - event_mgr_distribute_events(mgr, &mgr->ev_queue, - &mgr->th_next_sub, PJ_TRUE); - pj_mutex_unlock(mgr->mutex); - } - - return 0; -} - -PJ_DEF(pj_status_t) pjmedia_event_mgr_create(pj_pool_t *pool, - unsigned options, - pjmedia_event_mgr **p_mgr) -{ - pjmedia_event_mgr *mgr; - pj_status_t status; - - mgr = PJ_POOL_ZALLOC_T(pool, pjmedia_event_mgr); - mgr->pool = pj_pool_create(pool->factory, "evt mgr", 500, 500, NULL); - pj_list_init(&mgr->esub_list); - pj_list_init(&mgr->free_esub_list); - - if (!(options & PJMEDIA_EVENT_MGR_NO_THREAD)) { - status = pj_sem_create(mgr->pool, "ev_sem", 0, MAX_EVENTS + 1, - &mgr->sem); - if (status != PJ_SUCCESS) - return status; - - status = pj_thread_create(mgr->pool, "ev_thread", - &event_worker_thread, - mgr, 0, 0, &mgr->thread); - if (status != PJ_SUCCESS) { - pjmedia_event_mgr_destroy(mgr); - return status; - } - } - - status = pj_mutex_create_recursive(mgr->pool, "ev_mutex", &mgr->mutex); - if (status != PJ_SUCCESS) { - pjmedia_event_mgr_destroy(mgr); - return status; - } - - if (!event_manager_instance) - event_manager_instance = mgr; - - if (p_mgr) - *p_mgr = mgr; - - return PJ_SUCCESS; -} - -PJ_DEF(pjmedia_event_mgr*) pjmedia_event_mgr_instance(void) -{ - return event_manager_instance; -} - -PJ_DEF(void) pjmedia_event_mgr_set_instance(pjmedia_event_mgr *mgr) -{ - event_manager_instance = mgr; -} - -PJ_DEF(void) pjmedia_event_mgr_destroy(pjmedia_event_mgr *mgr) -{ - if (!mgr) mgr = pjmedia_event_mgr_instance(); - PJ_ASSERT_ON_FAIL(mgr != NULL, return); - - if (mgr->thread) { - mgr->is_quitting = PJ_TRUE; - pj_sem_post(mgr->sem); - pj_thread_join(mgr->thread); - } - - if (mgr->sem) { - pj_sem_destroy(mgr->sem); - mgr->sem = NULL; - } - - if (mgr->mutex) { - pj_mutex_destroy(mgr->mutex); - mgr->mutex = NULL; - } - - if (mgr->pool) - pj_pool_release(mgr->pool); - - if (event_manager_instance == mgr) - event_manager_instance = NULL; -} - -PJ_DEF(void) pjmedia_event_init( pjmedia_event *event, - pjmedia_event_type type, - const pj_timestamp *ts, - const void *src) -{ - pj_bzero(event, sizeof(*event)); - event->type = type; - if (ts) - event->timestamp.u64 = ts->u64; - event->epub = event->src = src; -} - -PJ_DEF(pj_status_t) pjmedia_event_subscribe( pjmedia_event_mgr *mgr, - pjmedia_event_cb *cb, - void *user_data, - void *epub) -{ - esub *sub; - - PJ_ASSERT_RETURN(cb, PJ_EINVAL); - - if (!mgr) mgr = pjmedia_event_mgr_instance(); - PJ_ASSERT_RETURN(mgr, PJ_EINVAL); - - pj_mutex_lock(mgr->mutex); - /* Check whether callback function with the same user data is already - * subscribed to the publisher. This is to prevent the callback function - * receiving the same event from the same publisher more than once. - */ - sub = mgr->esub_list.next; - while (sub != &mgr->esub_list) { - esub *next = sub->next; - if (sub->cb == cb && sub->user_data == user_data && - sub->epub == epub) - { - pj_mutex_unlock(mgr->mutex); - return PJ_SUCCESS; - } - sub = next; - } - - if (mgr->free_esub_list.next != &mgr->free_esub_list) { - sub = mgr->free_esub_list.next; - pj_list_erase(sub); - } else - sub = PJ_POOL_ZALLOC_T(mgr->pool, esub); - sub->cb = cb; - sub->user_data = user_data; - sub->epub = epub; - pj_list_push_back(&mgr->esub_list, sub); - pj_mutex_unlock(mgr->mutex); - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) -pjmedia_event_unsubscribe(pjmedia_event_mgr *mgr, - pjmedia_event_cb *cb, - void *user_data, - void *epub) -{ - esub *sub; - - PJ_ASSERT_RETURN(cb, PJ_EINVAL); - - if (!mgr) mgr = pjmedia_event_mgr_instance(); - PJ_ASSERT_RETURN(mgr, PJ_EINVAL); - - pj_mutex_lock(mgr->mutex); - sub = mgr->esub_list.next; - while (sub != &mgr->esub_list) { - esub *next = sub->next; - if (sub->cb == cb && (sub->user_data == user_data || !user_data) && - (sub->epub == epub || !epub)) - { - /* If the worker thread or pjmedia_event_publish() API is - * in the process of distributing events, make sure that - * its pointer to the next subscriber stays valid. - */ - if (mgr->th_next_sub == sub) - mgr->th_next_sub = sub->next; - if (mgr->pub_next_sub == sub) - mgr->pub_next_sub = sub->next; - pj_list_erase(sub); - pj_list_push_back(&mgr->free_esub_list, sub); - if (user_data && epub) - break; - } - sub = next; - } - pj_mutex_unlock(mgr->mutex); - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_event_publish( pjmedia_event_mgr *mgr, - void *epub, - pjmedia_event *event, - pjmedia_event_publish_flag flag) -{ - pj_status_t err = PJ_SUCCESS; - - PJ_ASSERT_RETURN(epub && event, PJ_EINVAL); - - if (!mgr) mgr = pjmedia_event_mgr_instance(); - PJ_ASSERT_RETURN(mgr, PJ_EINVAL); - - event->epub = epub; - - pj_mutex_lock(mgr->mutex); - if (flag & PJMEDIA_EVENT_PUBLISH_POST_EVENT) { - if (event_queue_add_event(&mgr->ev_queue, event) == PJ_SUCCESS) - pj_sem_post(mgr->sem); - } else { - /* For nested pjmedia_event_publish() calls, i.e. calling publish() - * inside the subscriber's callback, the function will only add - * the event to the event queue of the first publish() call. It - * is the first publish() call that will be responsible to - * distribute the events. - */ - if (mgr->pub_ev_queue) { - event_queue_add_event(mgr->pub_ev_queue, event); - } else { - static event_queue ev_queue; - pj_status_t status; - - ev_queue.head = ev_queue.tail = 0; - ev_queue.is_full = PJ_FALSE; - mgr->pub_ev_queue = &ev_queue; - - event_queue_add_event(mgr->pub_ev_queue, event); - - do { - status = event_mgr_distribute_events(mgr, mgr->pub_ev_queue, - &mgr->pub_next_sub, - PJ_FALSE); - if (status != PJ_SUCCESS && err == PJ_SUCCESS) - err = status; - } while(ev_queue.head != ev_queue.tail || ev_queue.is_full); - - mgr->pub_ev_queue = NULL; - } - } - pj_mutex_unlock(mgr->mutex); - - return err; -} diff --git a/res/pjproject/pjmedia/src/pjmedia/ffmpeg_util.c b/res/pjproject/pjmedia/src/pjmedia/ffmpeg_util.c deleted file mode 100644 index 43d67c3114..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/ffmpeg_util.c +++ /dev/null @@ -1,203 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -#if PJMEDIA_HAS_LIBAVFORMAT && PJMEDIA_HAS_LIBAVUTIL - -#include "ffmpeg_util.h" -#include - -#define MAKE_VER(mj,mn,mi) ((mj << 16) | (mn << 8) | (mi << 0)) -#define VER_AT_LEAST(mj,mn,mi) (MAKE_VER(LIBAVUTIL_VERSION_MAJOR, \ - LIBAVUTIL_VERSION_MINOR, \ - LIBAVUTIL_VERSION_MICRO) >= \ - MAKE_VER(mj,mn,mi)) - - - -/* Conversion table between pjmedia_format_id and PixelFormat */ -static const struct ffmpeg_fmt_table_t -{ - pjmedia_format_id id; - enum PixelFormat pf; -} ffmpeg_fmt_table[] = -{ - { PJMEDIA_FORMAT_RGBA, PIX_FMT_RGBA}, - { PJMEDIA_FORMAT_RGB24,PIX_FMT_BGR24}, - { PJMEDIA_FORMAT_BGRA, PIX_FMT_BGRA}, -#if VER_AT_LEAST(51,20,1) - { PJMEDIA_FORMAT_GBRP, PIX_FMT_GBR24P}, -#endif - - { PJMEDIA_FORMAT_AYUV, PIX_FMT_NONE}, - { PJMEDIA_FORMAT_YUY2, PIX_FMT_YUYV422}, - { PJMEDIA_FORMAT_UYVY, PIX_FMT_UYVY422}, - { PJMEDIA_FORMAT_I420, PIX_FMT_YUV420P}, - { PJMEDIA_FORMAT_YV12, PIX_FMT_YUV422P}, - { PJMEDIA_FORMAT_I420JPEG, PIX_FMT_YUVJ420P}, - { PJMEDIA_FORMAT_I422JPEG, PIX_FMT_YUVJ422P}, -}; - -/* Conversion table between pjmedia_format_id and CodecID */ -static const struct ffmpeg_codec_table_t -{ - pjmedia_format_id id; - enum CodecID codec_id; -} ffmpeg_codec_table[] = -{ - {PJMEDIA_FORMAT_H261, CODEC_ID_H261}, - {PJMEDIA_FORMAT_H263, CODEC_ID_H263}, - {PJMEDIA_FORMAT_H263P, CODEC_ID_H263P}, - {PJMEDIA_FORMAT_H264, CODEC_ID_H264}, - {PJMEDIA_FORMAT_MPEG1VIDEO, CODEC_ID_MPEG1VIDEO}, - {PJMEDIA_FORMAT_MPEG2VIDEO, CODEC_ID_MPEG2VIDEO}, - {PJMEDIA_FORMAT_MPEG4, CODEC_ID_MPEG4}, - {PJMEDIA_FORMAT_MJPEG, CODEC_ID_MJPEG} -}; - -static int pjmedia_ffmpeg_ref_cnt; - -static void ffmpeg_log_cb(void* ptr, int level, const char* fmt, va_list vl); - -void pjmedia_ffmpeg_add_ref() -{ - if (pjmedia_ffmpeg_ref_cnt++ == 0) { - av_log_set_level(AV_LOG_ERROR); - av_log_set_callback(&ffmpeg_log_cb); - av_register_all(); - } -} - -void pjmedia_ffmpeg_dec_ref() -{ - if (pjmedia_ffmpeg_ref_cnt-- == 1) { - /* How to shutdown ffmpeg? */ - } - - if (pjmedia_ffmpeg_ref_cnt < 0) pjmedia_ffmpeg_ref_cnt = 0; -} - - -static void ffmpeg_log_cb(void* ptr, int level, const char* fmt, va_list vl) -{ - const char *LOG_SENDER = "ffmpeg"; - enum { LOG_LEVEL = 5 }; - char buf[100]; - int bufsize = sizeof(buf), len; - pj_str_t fmt_st; - - /* Custom callback needs to filter log level by itself */ - if (level > av_log_get_level()) - return; - - /* Add original ffmpeg sender to log format */ - if (ptr) { - AVClass* avc = *(AVClass**)ptr; - len = pj_ansi_snprintf(buf, bufsize, "%s: ", avc->item_name(ptr)); - bufsize -= len; - } - - /* Copy original log format */ - len = pj_ansi_strlen(fmt); - if (len > bufsize-1) - len = bufsize-1; - pj_memcpy(buf+sizeof(buf)-bufsize, fmt, len); - bufsize -= len; - - /* Trim log format */ - pj_strset(&fmt_st, buf, sizeof(buf)-bufsize); - pj_strrtrim(&fmt_st); - buf[fmt_st.slen] = '\0'; - - pj_log(LOG_SENDER, LOG_LEVEL, buf, vl); -} - - -pj_status_t pjmedia_format_id_to_PixelFormat(pjmedia_format_id fmt_id, - enum PixelFormat *pixel_format) -{ - unsigned i; - for (i=0; iid==fmt_id && t->pf != PIX_FMT_NONE) { - *pixel_format = t->pf; - return PJ_SUCCESS; - } - } - - *pixel_format = PIX_FMT_NONE; - return PJ_ENOTFOUND; -} - -pj_status_t PixelFormat_to_pjmedia_format_id(enum PixelFormat pf, - pjmedia_format_id *fmt_id) -{ - unsigned i; - for (i=0; ipf == pf) { - if (fmt_id) *fmt_id = t->id; - return PJ_SUCCESS; - } - } - - return PJ_ENOTFOUND; -} - -pj_status_t pjmedia_format_id_to_CodecID(pjmedia_format_id fmt_id, - enum CodecID *codec_id) -{ - unsigned i; - for (i=0; iid==fmt_id && t->codec_id != PIX_FMT_NONE) { - *codec_id = t->codec_id; - return PJ_SUCCESS; - } - } - - *codec_id = PIX_FMT_NONE; - return PJ_ENOTFOUND; -} - -pj_status_t CodecID_to_pjmedia_format_id(enum CodecID codec_id, - pjmedia_format_id *fmt_id) -{ - unsigned i; - for (i=0; icodec_id == codec_id) { - if (fmt_id) *fmt_id = t->id; - return PJ_SUCCESS; - } - } - - return PJ_ENOTFOUND; -} - - -#ifdef _MSC_VER -# pragma comment( lib, "avformat.lib") -# pragma comment( lib, "avutil.lib") -#endif - -#endif /* #if PJMEDIA_HAS_LIBAVFORMAT && PJMEDIA_HAS_LIBAVUTIL */ diff --git a/res/pjproject/pjmedia/src/pjmedia/ffmpeg_util.h b/res/pjproject/pjmedia/src/pjmedia/ffmpeg_util.h deleted file mode 100644 index 70e9aaac97..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/ffmpeg_util.h +++ /dev/null @@ -1,55 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * This file contains common utilities that are useful for pjmedia components - * that use ffmpeg. This is not a public API. - */ - -#ifndef __PJMEDIA_FFMPEG_UTIL_H__ -#define __PJMEDIA_FFMPEG_UTIL_H__ - -#include - -#ifdef _MSC_VER -# ifndef __cplusplus -# define inline _inline -# endif -# pragma warning(disable:4244) /* possible loss of data */ -#endif - -#include -#include - -void pjmedia_ffmpeg_add_ref(); -void pjmedia_ffmpeg_dec_ref(); - -pj_status_t pjmedia_format_id_to_PixelFormat(pjmedia_format_id fmt_id, - enum PixelFormat *pixel_format); - -pj_status_t PixelFormat_to_pjmedia_format_id(enum PixelFormat pf, - pjmedia_format_id *fmt_id); - -pj_status_t pjmedia_format_id_to_CodecID(pjmedia_format_id fmt_id, - enum CodecID *codec_id); - -pj_status_t CodecID_to_pjmedia_format_id(enum CodecID codec_id, - pjmedia_format_id *fmt_id); - -#endif /* __PJMEDIA_FFMPEG_UTIL_H__ */ diff --git a/res/pjproject/pjmedia/src/pjmedia/format.c b/res/pjproject/pjmedia/src/pjmedia/format.c deleted file mode 100644 index 49369c0bb8..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/format.c +++ /dev/null @@ -1,415 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - - -PJ_DEF(void) pjmedia_format_init_audio( pjmedia_format *fmt, - pj_uint32_t fmt_id, - unsigned clock_rate, - unsigned channel_count, - unsigned bits_per_sample, - unsigned frame_time_usec, - pj_uint32_t avg_bps, - pj_uint32_t max_bps) -{ - fmt->id = fmt_id; - fmt->type = PJMEDIA_TYPE_AUDIO; - fmt->detail_type = PJMEDIA_FORMAT_DETAIL_AUDIO; - - fmt->det.aud.clock_rate = clock_rate; - fmt->det.aud.channel_count = channel_count; - fmt->det.aud.bits_per_sample = bits_per_sample; - fmt->det.aud.frame_time_usec = frame_time_usec; - fmt->det.aud.avg_bps = avg_bps; - fmt->det.aud.max_bps = max_bps; -} - - -PJ_DEF(pjmedia_audio_format_detail*) -pjmedia_format_get_audio_format_detail(const pjmedia_format *fmt, - pj_bool_t assert_valid) -{ - if (fmt->detail_type==PJMEDIA_FORMAT_DETAIL_AUDIO) { - return (pjmedia_audio_format_detail*) &fmt->det.aud; - } else { - /* Get rid of unused var compiler warning if pj_assert() - * macro does not do anything - */ - PJ_UNUSED_ARG(assert_valid); - pj_assert(!assert_valid || !"Invalid audio format detail"); - return NULL; - } -} - - -PJ_DEF(pjmedia_format*) pjmedia_format_copy(pjmedia_format *dst, - const pjmedia_format *src) -{ - return (pjmedia_format*)pj_memcpy(dst, src, sizeof(*src)); -} - - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - - -static pj_status_t apply_packed_fmt(const pjmedia_video_format_info *fi, - pjmedia_video_apply_fmt_param *aparam); - -static pj_status_t apply_planar_420(const pjmedia_video_format_info *fi, - pjmedia_video_apply_fmt_param *aparam); - -static pj_status_t apply_planar_422(const pjmedia_video_format_info *fi, - pjmedia_video_apply_fmt_param *aparam); - -static pj_status_t apply_planar_444(const pjmedia_video_format_info *fi, - pjmedia_video_apply_fmt_param *aparam); - -struct pjmedia_video_format_mgr -{ - unsigned max_info; - unsigned info_cnt; - pjmedia_video_format_info **infos; -}; - -static pjmedia_video_format_mgr *video_format_mgr_instance; -static pjmedia_video_format_info built_in_vid_fmt_info[] = -{ - {PJMEDIA_FORMAT_RGB24, "RGB24", PJMEDIA_COLOR_MODEL_RGB, 24, 1, &apply_packed_fmt}, - {PJMEDIA_FORMAT_RGBA, "RGBA", PJMEDIA_COLOR_MODEL_RGB, 32, 1, &apply_packed_fmt}, - {PJMEDIA_FORMAT_BGRA, "BGRA", PJMEDIA_COLOR_MODEL_RGB, 32, 1, &apply_packed_fmt}, - {PJMEDIA_FORMAT_DIB , "DIB ", PJMEDIA_COLOR_MODEL_RGB, 24, 1, &apply_packed_fmt}, - {PJMEDIA_FORMAT_GBRP, "GBRP", PJMEDIA_COLOR_MODEL_RGB, 24, 3, &apply_planar_444}, - {PJMEDIA_FORMAT_AYUV, "AYUV", PJMEDIA_COLOR_MODEL_YUV, 32, 1, &apply_packed_fmt}, - {PJMEDIA_FORMAT_YUY2, "YUY2", PJMEDIA_COLOR_MODEL_YUV, 16, 1, &apply_packed_fmt}, - {PJMEDIA_FORMAT_UYVY, "UYVY", PJMEDIA_COLOR_MODEL_YUV, 16, 1, &apply_packed_fmt}, - {PJMEDIA_FORMAT_YVYU, "YVYU", PJMEDIA_COLOR_MODEL_YUV, 16, 1, &apply_packed_fmt}, - {PJMEDIA_FORMAT_I420, "I420", PJMEDIA_COLOR_MODEL_YUV, 12, 3, &apply_planar_420}, - {PJMEDIA_FORMAT_YV12, "YV12", PJMEDIA_COLOR_MODEL_YUV, 16, 3, &apply_planar_422}, - {PJMEDIA_FORMAT_I420JPEG, "I420JPG", PJMEDIA_COLOR_MODEL_YUV, 12, 3, &apply_planar_420}, - {PJMEDIA_FORMAT_I422JPEG, "I422JPG", PJMEDIA_COLOR_MODEL_YUV, 16, 3, &apply_planar_422}, -}; - -PJ_DEF(void) pjmedia_format_init_video( pjmedia_format *fmt, - pj_uint32_t fmt_id, - unsigned width, - unsigned height, - unsigned fps_num, - unsigned fps_denum) -{ - pj_assert(fps_denum); - fmt->id = fmt_id; - fmt->type = PJMEDIA_TYPE_VIDEO; - fmt->detail_type = PJMEDIA_FORMAT_DETAIL_VIDEO; - - fmt->det.vid.size.w = width; - fmt->det.vid.size.h = height; - fmt->det.vid.fps.num = fps_num; - fmt->det.vid.fps.denum = fps_denum; - fmt->det.vid.avg_bps = fmt->det.vid.max_bps = 0; - - if (pjmedia_video_format_mgr_instance()) { - const pjmedia_video_format_info *vfi; - pjmedia_video_apply_fmt_param vafp; - pj_uint32_t bps; - - vfi = pjmedia_get_video_format_info(NULL, fmt->id); - if (vfi) { - pj_bzero(&vafp, sizeof(vafp)); - vafp.size = fmt->det.vid.size; - vfi->apply_fmt(vfi, &vafp); - - bps = vafp.framebytes * fps_num * (pj_size_t)8 / fps_denum; - fmt->det.vid.avg_bps = fmt->det.vid.max_bps = bps; - } - } -} - -PJ_DEF(pjmedia_video_format_detail*) -pjmedia_format_get_video_format_detail(const pjmedia_format *fmt, - pj_bool_t assert_valid) -{ - if (fmt->detail_type==PJMEDIA_FORMAT_DETAIL_VIDEO) { - return (pjmedia_video_format_detail*)&fmt->det.vid; - } else { - pj_assert(!assert_valid || !"Invalid video format detail"); - return NULL; - } -} - - -static pj_status_t apply_packed_fmt(const pjmedia_video_format_info *fi, - pjmedia_video_apply_fmt_param *aparam) -{ - unsigned i; - pj_size_t stride; - - stride = (pj_size_t)((aparam->size.w*fi->bpp) >> 3); - - /* Calculate memsize */ - aparam->framebytes = stride * aparam->size.h; - - /* Packed formats only use 1 plane */ - aparam->planes[0] = aparam->buffer; - aparam->strides[0] = stride; - aparam->plane_bytes[0] = aparam->framebytes; - - /* Zero unused planes */ - for (i=1; istrides[i] = 0; - aparam->planes[i] = NULL; - } - - return PJ_SUCCESS; -} - -static pj_status_t apply_planar_420(const pjmedia_video_format_info *fi, - pjmedia_video_apply_fmt_param *aparam) -{ - unsigned i; - pj_size_t Y_bytes; - - PJ_UNUSED_ARG(fi); - - /* Calculate memsize */ - Y_bytes = (pj_size_t)(aparam->size.w * aparam->size.h); - aparam->framebytes = Y_bytes + (Y_bytes>>1); - - /* Planar formats use 3 plane */ - aparam->strides[0] = aparam->size.w; - aparam->strides[1] = aparam->strides[2] = (aparam->size.w>>1); - - aparam->planes[0] = aparam->buffer; - aparam->planes[1] = aparam->planes[0] + Y_bytes; - aparam->planes[2] = aparam->planes[1] + (Y_bytes>>2); - - aparam->plane_bytes[0] = Y_bytes; - aparam->plane_bytes[1] = aparam->plane_bytes[2] = (Y_bytes>>2); - - /* Zero unused planes */ - for (i=3; istrides[i] = 0; - aparam->planes[i] = NULL; - aparam->plane_bytes[i] = 0; - } - - return PJ_SUCCESS; -} - -static pj_status_t apply_planar_422(const pjmedia_video_format_info *fi, - pjmedia_video_apply_fmt_param *aparam) -{ - unsigned i; - pj_size_t Y_bytes; - - PJ_UNUSED_ARG(fi); - - /* Calculate memsize */ - Y_bytes = (pj_size_t)(aparam->size.w * aparam->size.h); - aparam->framebytes = (Y_bytes << 1); - - /* Planar formats use 3 plane */ - aparam->strides[0] = aparam->size.w; - aparam->strides[1] = aparam->strides[2] = (aparam->size.w>>1); - - aparam->planes[0] = aparam->buffer; - aparam->planes[1] = aparam->planes[0] + Y_bytes; - aparam->planes[2] = aparam->planes[1] + (Y_bytes>>1); - - aparam->plane_bytes[0] = Y_bytes; - aparam->plane_bytes[1] = aparam->plane_bytes[2] = (Y_bytes>>1); - - /* Zero unused planes */ - for (i=3; istrides[i] = 0; - aparam->planes[i] = NULL; - aparam->plane_bytes[i] = 0; - } - - return PJ_SUCCESS; -} - -static pj_status_t apply_planar_444(const pjmedia_video_format_info *fi, - pjmedia_video_apply_fmt_param *aparam) -{ - unsigned i; - pj_size_t Y_bytes; - - PJ_UNUSED_ARG(fi); - - /* Calculate memsize */ - Y_bytes = (pj_size_t)(aparam->size.w * aparam->size.h); - aparam->framebytes = (Y_bytes * 3); - - /* Planar formats use 3 plane */ - aparam->strides[0] = aparam->strides[1] = - aparam->strides[2] = aparam->size.w; - - aparam->planes[0] = aparam->buffer; - aparam->planes[1] = aparam->planes[0] + Y_bytes; - aparam->planes[2] = aparam->planes[1] + Y_bytes; - - aparam->plane_bytes[0] = aparam->plane_bytes[1] = - aparam->plane_bytes[2] = Y_bytes; - - /* Zero unused planes */ - for (i=3; istrides[i] = 0; - aparam->planes[i] = NULL; - aparam->plane_bytes[i] = 0; - } - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) -pjmedia_video_format_mgr_create(pj_pool_t *pool, - unsigned max_fmt, - unsigned options, - pjmedia_video_format_mgr **p_mgr) -{ - pjmedia_video_format_mgr *mgr; - unsigned i; - - PJ_ASSERT_RETURN(pool && options==0, PJ_EINVAL); - - PJ_UNUSED_ARG(options); - - mgr = PJ_POOL_ALLOC_T(pool, pjmedia_video_format_mgr); - mgr->max_info = max_fmt; - mgr->info_cnt = 0; - mgr->infos = pj_pool_calloc(pool, max_fmt, sizeof(pjmedia_video_format_info *)); - - if (video_format_mgr_instance == NULL) - video_format_mgr_instance = mgr; - - for (i=0; iinfos[0]; - n = mgr->info_cnt; - for (; n > 0; ) { - unsigned half = n / 2; - pjmedia_video_format_info **mid = first + half; - - if ((*mid)->id < id) { - first = ++mid; - n -= half + 1; - } else if ((*mid)->id==id) { - return *mid; - } else { - n = half; - } - } - - return NULL; -} - - -PJ_DEF(pj_status_t) -pjmedia_register_video_format_info(pjmedia_video_format_mgr *mgr, - pjmedia_video_format_info *info) -{ - unsigned i; - - if (!mgr) - mgr = pjmedia_video_format_mgr_instance(); - - PJ_ASSERT_RETURN(mgr != NULL, PJ_EINVALIDOP); - - if (mgr->info_cnt >= mgr->max_info) - return PJ_ETOOMANY; - - /* Insert to the array, sorted */ - for (i=0; iinfo_cnt; ++i) { - if (mgr->infos[i]->id >= info->id) - break; - } - - if (i < mgr->info_cnt) { - if (mgr->infos[i]->id == info->id) { - /* just overwrite */ - mgr->infos[i] = info; - return PJ_SUCCESS; - } - - pj_memmove(&mgr->infos[i+1], &mgr->infos[i], - (mgr->info_cnt - i) * sizeof(pjmedia_video_format_info*)); - } - - mgr->infos[i] = info; - mgr->info_cnt++; - - return PJ_SUCCESS; -} - -PJ_DEF(pjmedia_video_format_mgr*) pjmedia_video_format_mgr_instance(void) -{ - pj_assert(video_format_mgr_instance != NULL); - return video_format_mgr_instance; -} - -PJ_DEF(void) -pjmedia_video_format_mgr_set_instance(pjmedia_video_format_mgr *mgr) -{ - video_format_mgr_instance = mgr; -} - - -PJ_DEF(void) pjmedia_video_format_mgr_destroy(pjmedia_video_format_mgr *mgr) -{ - if (!mgr) - mgr = pjmedia_video_format_mgr_instance(); - - PJ_ASSERT_ON_FAIL(mgr != NULL, return); - - mgr->info_cnt = 0; - if (video_format_mgr_instance == mgr) - video_format_mgr_instance = NULL; -} - -#endif /* PJMEDIA_HAS_VIDEO */ diff --git a/res/pjproject/pjmedia/src/pjmedia/g711.c b/res/pjproject/pjmedia/src/pjmedia/g711.c deleted file mode 100644 index 1a47c53de9..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/g711.c +++ /dev/null @@ -1,621 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -/* This file contains file from Sun Microsystems, Inc, with the complete - * notice in the second half of this file. - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#if defined(PJMEDIA_HAS_G711_CODEC) && PJMEDIA_HAS_G711_CODEC!=0 - -/* We removed PLC in 0.6 (and re-enabled it again in 0.9!) */ -#define PLC_DISABLED 0 - - -#define G711_BPS 64000 -#define G711_CODEC_CNT 0 /* number of codec to preallocate in memory */ -#define PTIME 10 /* basic frame size is 10 msec */ -#define FRAME_SIZE (8000 * PTIME / 1000) /* 80 bytes */ -#define SAMPLES_PER_FRAME (8000 * PTIME / 1000) /* 80 samples */ - -/* Prototypes for G711 factory */ -static pj_status_t g711_test_alloc( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id ); -static pj_status_t g711_default_attr( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ); -static pj_status_t g711_enum_codecs (pjmedia_codec_factory *factory, - unsigned *count, - pjmedia_codec_info codecs[]); -static pj_status_t g711_alloc_codec( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec **p_codec); -static pj_status_t g711_dealloc_codec( pjmedia_codec_factory *factory, - pjmedia_codec *codec ); - -/* Prototypes for G711 implementation. */ -static pj_status_t g711_init( pjmedia_codec *codec, - pj_pool_t *pool ); -static pj_status_t g711_open( pjmedia_codec *codec, - pjmedia_codec_param *attr ); -static pj_status_t g711_close( pjmedia_codec *codec ); -static pj_status_t g711_modify(pjmedia_codec *codec, - const pjmedia_codec_param *attr ); -static pj_status_t g711_parse(pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *timestamp, - unsigned *frame_cnt, - pjmedia_frame frames[]); -static pj_status_t g711_encode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output); -static pj_status_t g711_decode( pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output); -#if !PLC_DISABLED -static pj_status_t g711_recover( pjmedia_codec *codec, - unsigned output_buf_len, - struct pjmedia_frame *output); -#endif - -/* Definition for G711 codec operations. */ -static pjmedia_codec_op g711_op = -{ - &g711_init, - &g711_open, - &g711_close, - &g711_modify, - &g711_parse, - &g711_encode, - &g711_decode, -#if !PLC_DISABLED - &g711_recover -#else - NULL -#endif -}; - -/* Definition for G711 codec factory operations. */ -static pjmedia_codec_factory_op g711_factory_op = -{ - &g711_test_alloc, - &g711_default_attr, - &g711_enum_codecs, - &g711_alloc_codec, - &g711_dealloc_codec, - &pjmedia_codec_g711_deinit -}; - -/* G711 factory private data */ -static struct g711_factory -{ - pjmedia_codec_factory base; - pjmedia_endpt *endpt; - pj_pool_t *pool; - pj_mutex_t *mutex; - pjmedia_codec codec_list; -} g711_factory; - -/* G711 codec private data. */ -struct g711_private -{ - unsigned pt; -#if !PLC_DISABLED - pj_bool_t plc_enabled; - pjmedia_plc *plc; -#endif - pj_bool_t vad_enabled; - pjmedia_silence_det *vad; - pj_timestamp last_tx; -}; - - -PJ_DEF(pj_status_t) pjmedia_codec_g711_init(pjmedia_endpt *endpt) -{ - pjmedia_codec_mgr *codec_mgr; - pj_status_t status; - - if (g711_factory.endpt != NULL) { - /* Already initialized. */ - return PJ_SUCCESS; - } - - /* Init factory */ - g711_factory.base.op = &g711_factory_op; - g711_factory.base.factory_data = NULL; - g711_factory.endpt = endpt; - - pj_list_init(&g711_factory.codec_list); - - /* Create pool */ - g711_factory.pool = pjmedia_endpt_create_pool(endpt, "g711", 4000, 4000); - if (!g711_factory.pool) - return PJ_ENOMEM; - - /* Create mutex. */ - status = pj_mutex_create_simple(g711_factory.pool, "g611", - &g711_factory.mutex); - if (status != PJ_SUCCESS) - goto on_error; - - /* Get the codec manager. */ - codec_mgr = pjmedia_endpt_get_codec_mgr(endpt); - if (!codec_mgr) { - return PJ_EINVALIDOP; - } - - /* Register codec factory to endpoint. */ - status = pjmedia_codec_mgr_register_factory(codec_mgr, - &g711_factory.base); - if (status != PJ_SUCCESS) - return status; - - - return PJ_SUCCESS; - -on_error: - if (g711_factory.mutex) { - pj_mutex_destroy(g711_factory.mutex); - g711_factory.mutex = NULL; - } - if (g711_factory.pool) { - pj_pool_release(g711_factory.pool); - g711_factory.pool = NULL; - } - return status; -} - -PJ_DEF(pj_status_t) pjmedia_codec_g711_deinit(void) -{ - pjmedia_codec_mgr *codec_mgr; - pj_status_t status; - - if (g711_factory.endpt == NULL) { - /* Not registered. */ - return PJ_SUCCESS; - } - - /* Lock mutex. */ - pj_mutex_lock(g711_factory.mutex); - - /* Get the codec manager. */ - codec_mgr = pjmedia_endpt_get_codec_mgr(g711_factory.endpt); - if (!codec_mgr) { - g711_factory.endpt = NULL; - pj_mutex_unlock(g711_factory.mutex); - return PJ_EINVALIDOP; - } - - /* Unregister G711 codec factory. */ - status = pjmedia_codec_mgr_unregister_factory(codec_mgr, - &g711_factory.base); - g711_factory.endpt = NULL; - - /* Destroy mutex. */ - pj_mutex_destroy(g711_factory.mutex); - g711_factory.mutex = NULL; - - - /* Release pool. */ - pj_pool_release(g711_factory.pool); - g711_factory.pool = NULL; - - - return status; -} - -static pj_status_t g711_test_alloc(pjmedia_codec_factory *factory, - const pjmedia_codec_info *id ) -{ - PJ_UNUSED_ARG(factory); - - /* It's sufficient to check payload type only. */ - return (id->pt==PJMEDIA_RTP_PT_PCMU || id->pt==PJMEDIA_RTP_PT_PCMA)? 0:-1; -} - -static pj_status_t g711_default_attr (pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ) -{ - PJ_UNUSED_ARG(factory); - - pj_bzero(attr, sizeof(pjmedia_codec_param)); - attr->info.clock_rate = 8000; - attr->info.channel_cnt = 1; - attr->info.avg_bps = G711_BPS; - attr->info.max_bps = G711_BPS; - attr->info.pcm_bits_per_sample = 16; - attr->info.frm_ptime = PTIME; - attr->info.pt = (pj_uint8_t)id->pt; - - /* Set default frames per packet to 2 (or 20ms) */ - attr->setting.frm_per_pkt = 2; - -#if !PLC_DISABLED - /* Enable plc by default. */ - attr->setting.plc = 1; -#endif - - /* Enable VAD by default. */ - attr->setting.vad = 1; - - /* Default all other flag bits disabled. */ - - return PJ_SUCCESS; -} - -static pj_status_t g711_enum_codecs(pjmedia_codec_factory *factory, - unsigned *max_count, - pjmedia_codec_info codecs[]) -{ - unsigned count = 0; - - PJ_UNUSED_ARG(factory); - - if (count < *max_count) { - codecs[count].type = PJMEDIA_TYPE_AUDIO; - codecs[count].pt = PJMEDIA_RTP_PT_PCMU; - codecs[count].encoding_name = pj_str("PCMU"); - codecs[count].clock_rate = 8000; - codecs[count].channel_cnt = 1; - ++count; - } - if (count < *max_count) { - codecs[count].type = PJMEDIA_TYPE_AUDIO; - codecs[count].pt = PJMEDIA_RTP_PT_PCMA; - codecs[count].encoding_name = pj_str("PCMA"); - codecs[count].clock_rate = 8000; - codecs[count].channel_cnt = 1; - ++count; - } - - *max_count = count; - - return PJ_SUCCESS; -} - -static pj_status_t g711_alloc_codec( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec **p_codec) -{ - pjmedia_codec *codec = NULL; - pj_status_t status; - - PJ_ASSERT_RETURN(factory==&g711_factory.base, PJ_EINVAL); - - /* Lock mutex. */ - pj_mutex_lock(g711_factory.mutex); - - /* Allocate new codec if no more is available */ - if (pj_list_empty(&g711_factory.codec_list)) { - struct g711_private *codec_priv; - - codec = PJ_POOL_ALLOC_T(g711_factory.pool, pjmedia_codec); - codec_priv = PJ_POOL_ZALLOC_T(g711_factory.pool, struct g711_private); - if (!codec || !codec_priv) { - pj_mutex_unlock(g711_factory.mutex); - return PJ_ENOMEM; - } - - /* Set the payload type */ - codec_priv->pt = id->pt; - -#if !PLC_DISABLED - /* Create PLC, always with 10ms ptime */ - status = pjmedia_plc_create(g711_factory.pool, 8000, 80, - 0, &codec_priv->plc); - if (status != PJ_SUCCESS) { - pj_mutex_unlock(g711_factory.mutex); - return status; - } -#endif - - /* Create VAD */ - status = pjmedia_silence_det_create(g711_factory.pool, - 8000, 80, - &codec_priv->vad); - if (status != PJ_SUCCESS) { - pj_mutex_unlock(g711_factory.mutex); - return status; - } - - codec->factory = factory; - codec->op = &g711_op; - codec->codec_data = codec_priv; - } else { - codec = g711_factory.codec_list.next; - pj_list_erase(codec); - } - - /* Zero the list, for error detection in g711_dealloc_codec */ - codec->next = codec->prev = NULL; - - *p_codec = codec; - - /* Unlock mutex. */ - pj_mutex_unlock(g711_factory.mutex); - - return PJ_SUCCESS; -} - -static pj_status_t g711_dealloc_codec(pjmedia_codec_factory *factory, - pjmedia_codec *codec ) -{ - struct g711_private *priv = (struct g711_private*) codec->codec_data; - int i = 0; - - PJ_ASSERT_RETURN(factory==&g711_factory.base, PJ_EINVAL); - - /* Check that this node has not been deallocated before */ - pj_assert (codec->next==NULL && codec->prev==NULL); - if (codec->next!=NULL || codec->prev!=NULL) { - return PJ_EINVALIDOP; - } - -#if !PLC_DISABLED - /* Clear left samples in the PLC, since codec+plc will be reused - * next time. - */ - for (i=0; i<2; ++i) { - pj_int16_t frame[SAMPLES_PER_FRAME]; - pjmedia_zero_samples(frame, PJ_ARRAY_SIZE(frame)); - pjmedia_plc_save(priv->plc, frame); - } -#else - PJ_UNUSED_ARG(i); - PJ_UNUSED_ARG(priv); -#endif - - /* Lock mutex. */ - pj_mutex_lock(g711_factory.mutex); - - /* Insert at the back of the list */ - pj_list_insert_before(&g711_factory.codec_list, codec); - - /* Unlock mutex. */ - pj_mutex_unlock(g711_factory.mutex); - - return PJ_SUCCESS; -} - -static pj_status_t g711_init( pjmedia_codec *codec, pj_pool_t *pool ) -{ - /* There's nothing to do here really */ - PJ_UNUSED_ARG(codec); - PJ_UNUSED_ARG(pool); - - return PJ_SUCCESS; -} - -static pj_status_t g711_open(pjmedia_codec *codec, - pjmedia_codec_param *attr ) -{ - struct g711_private *priv = (struct g711_private*) codec->codec_data; - priv->pt = attr->info.pt; -#if !PLC_DISABLED - priv->plc_enabled = (attr->setting.plc != 0); -#endif - priv->vad_enabled = (attr->setting.vad != 0); - return PJ_SUCCESS; -} - -static pj_status_t g711_close( pjmedia_codec *codec ) -{ - PJ_UNUSED_ARG(codec); - /* Nothing to do */ - return PJ_SUCCESS; -} - -static pj_status_t g711_modify(pjmedia_codec *codec, - const pjmedia_codec_param *attr ) -{ - struct g711_private *priv = (struct g711_private*) codec->codec_data; - - if (attr->info.pt != priv->pt) - return PJMEDIA_EINVALIDPT; - -#if !PLC_DISABLED - priv->plc_enabled = (attr->setting.plc != 0); -#endif - priv->vad_enabled = (attr->setting.vad != 0); - - return PJ_SUCCESS; -} - -static pj_status_t g711_parse( pjmedia_codec *codec, - void *pkt, - pj_size_t pkt_size, - const pj_timestamp *ts, - unsigned *frame_cnt, - pjmedia_frame frames[]) -{ - unsigned count = 0; - - PJ_UNUSED_ARG(codec); - - PJ_ASSERT_RETURN(ts && frame_cnt && frames, PJ_EINVAL); - - while (pkt_size >= FRAME_SIZE && count < *frame_cnt) { - frames[count].type = PJMEDIA_FRAME_TYPE_AUDIO; - frames[count].buf = pkt; - frames[count].size = FRAME_SIZE; - frames[count].timestamp.u64 = ts->u64 + SAMPLES_PER_FRAME * count; - - pkt = ((char*)pkt) + FRAME_SIZE; - pkt_size -= FRAME_SIZE; - - ++count; - } - - *frame_cnt = count; - return PJ_SUCCESS; -} - -static pj_status_t g711_encode(pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - pj_int16_t *samples = (pj_int16_t*) input->buf; - struct g711_private *priv = (struct g711_private*) codec->codec_data; - - /* Check output buffer length */ - if (output_buf_len < (input->size >> 1)) - return PJMEDIA_CODEC_EFRMTOOSHORT; - - /* Detect silence if VAD is enabled */ - if (priv->vad_enabled) { - pj_bool_t is_silence; - pj_int32_t silence_period; - - silence_period = pj_timestamp_diff32(&priv->last_tx, - &input->timestamp); - - is_silence = pjmedia_silence_det_detect(priv->vad, - (const pj_int16_t*) input->buf, - (input->size >> 1), NULL); - if (is_silence && - (PJMEDIA_CODEC_MAX_SILENCE_PERIOD == -1 || - silence_period < PJMEDIA_CODEC_MAX_SILENCE_PERIOD*8000/1000)) - { - output->type = PJMEDIA_FRAME_TYPE_NONE; - output->buf = NULL; - output->size = 0; - output->timestamp = input->timestamp; - return PJ_SUCCESS; - } else { - priv->last_tx = input->timestamp; - } - } - - /* Encode */ - if (priv->pt == PJMEDIA_RTP_PT_PCMA) { - unsigned i, n; - pj_uint8_t *dst = (pj_uint8_t*) output->buf; - - n = (input->size >> 1); - for (i=0; i!=n; ++i, ++dst) { - *dst = pjmedia_linear2alaw(samples[i]); - } - } else if (priv->pt == PJMEDIA_RTP_PT_PCMU) { - unsigned i, n; - pj_uint8_t *dst = (pj_uint8_t*) output->buf; - - n = (input->size >> 1); - for (i=0; i!=n; ++i, ++dst) { - *dst = pjmedia_linear2ulaw(samples[i]); - } - - } else { - return PJMEDIA_EINVALIDPT; - } - - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->size = (input->size >> 1); - output->timestamp = input->timestamp; - - return PJ_SUCCESS; -} - -static pj_status_t g711_decode(pjmedia_codec *codec, - const struct pjmedia_frame *input, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - struct g711_private *priv = (struct g711_private*) codec->codec_data; - - /* Check output buffer length */ - PJ_ASSERT_RETURN(output_buf_len >= (input->size << 1), - PJMEDIA_CODEC_EPCMTOOSHORT); - - /* Input buffer MUST have exactly 80 bytes long */ - PJ_ASSERT_RETURN(input->size == FRAME_SIZE, - PJMEDIA_CODEC_EFRMINLEN); - - /* Decode */ - if (priv->pt == PJMEDIA_RTP_PT_PCMA) { - unsigned i; - pj_uint8_t *src = (pj_uint8_t*) input->buf; - pj_uint16_t *dst = (pj_uint16_t*) output->buf; - - for (i=0; i!=input->size; ++i) { - *dst++ = (pj_uint16_t) pjmedia_alaw2linear(*src++); - } - } else if (priv->pt == PJMEDIA_RTP_PT_PCMU) { - unsigned i; - pj_uint8_t *src = (pj_uint8_t*) input->buf; - pj_uint16_t *dst = (pj_uint16_t*) output->buf; - - for (i=0; i!=input->size; ++i) { - *dst++ = (pj_uint16_t) pjmedia_ulaw2linear(*src++); - } - - } else { - return PJMEDIA_EINVALIDPT; - } - - output->type = PJMEDIA_FRAME_TYPE_AUDIO; - output->size = (input->size << 1); - output->timestamp = input->timestamp; - -#if !PLC_DISABLED - if (priv->plc_enabled) - pjmedia_plc_save( priv->plc, (pj_int16_t*)output->buf); -#endif - - return PJ_SUCCESS; -} - -#if !PLC_DISABLED -static pj_status_t g711_recover( pjmedia_codec *codec, - unsigned output_buf_len, - struct pjmedia_frame *output) -{ - struct g711_private *priv = (struct g711_private*) codec->codec_data; - - if (!priv->plc_enabled) - return PJ_EINVALIDOP; - - PJ_ASSERT_RETURN(output_buf_len >= SAMPLES_PER_FRAME * 2, - PJMEDIA_CODEC_EPCMTOOSHORT); - - pjmedia_plc_generate(priv->plc, (pj_int16_t*)output->buf); - output->size = SAMPLES_PER_FRAME * 2; - - return PJ_SUCCESS; -} -#endif - -#endif /* PJMEDIA_HAS_G711_CODEC */ - - - diff --git a/res/pjproject/pjmedia/src/pjmedia/jbuf.c b/res/pjproject/pjmedia/src/pjmedia/jbuf.c deleted file mode 100644 index 94a88c1548..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/jbuf.c +++ /dev/null @@ -1,1190 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -/* - * Based on implementation kindly contributed by Switchlab, Ltd. - */ -#include -#include -#include -#include -#include -#include -#include - - -#define THIS_FILE "jbuf.c" - - -/* Invalid sequence number, used as the initial value. */ -#define INVALID_OFFSET -9999 - -/* Maximum burst length, whenever an operation is bursting longer than - * this value, JB will assume that the opposite operation was idle. - */ -#define MAX_BURST_MSEC 1000 - -/* Number of OP switches to be performed in JB_STATUS_INITIALIZING, before - * JB can switch its states to JB_STATUS_PROCESSING. - */ -#define INIT_CYCLE 10 - - -/* Minimal difference between JB size and 2*burst-level to perform - * JB shrinking in static discard algorithm. - */ -#define STA_DISC_SAFE_SHRINKING_DIFF 1 - - -/* Struct of JB internal buffer, represented in a circular buffer containing - * frame content, frame type, frame length, and frame bit info. - */ -typedef struct jb_framelist_t -{ - /* Settings */ - unsigned frame_size; /**< maximum size of frame */ - unsigned max_count; /**< maximum number of frames */ - - /* Buffers */ - char *content; /**< frame content array */ - int *frame_type; /**< frame type array */ - pj_size_t *content_len; /**< frame length array */ - pj_uint32_t *bit_info; /**< frame bit info array */ - pj_uint32_t *ts; /**< timestamp array */ - - /* States */ - unsigned head; /**< index of head, pointed frame - will be returned by next GET */ - unsigned size; /**< current size of framelist, - including discarded frames. */ - unsigned discarded_num; /**< current number of discarded - frames. */ - int origin; /**< original index of flist_head */ - -} jb_framelist_t; - - -typedef void (*discard_algo)(pjmedia_jbuf *jb); -static void jbuf_discard_static(pjmedia_jbuf *jb); -static void jbuf_discard_progressive(pjmedia_jbuf *jb); - - -struct pjmedia_jbuf -{ - /* Settings (consts) */ - pj_str_t jb_name; /**< jitter buffer name */ - pj_size_t jb_frame_size; /**< frame size */ - unsigned jb_frame_ptime; /**< frame duration. */ - pj_size_t jb_max_count; /**< capacity of jitter buffer, - in frames */ - int jb_init_prefetch; /**< Initial prefetch */ - int jb_min_prefetch; /**< Minimum allowable prefetch */ - int jb_max_prefetch; /**< Maximum allowable prefetch */ - int jb_max_burst; /**< maximum possible burst, whenever - burst exceeds this value, it - won't be included in level - calculation */ - int jb_min_shrink_gap; /**< How often can we shrink */ - discard_algo jb_discard_algo; /**< Discard algorithm */ - - /* Buffer */ - jb_framelist_t jb_framelist; /**< the buffer */ - - /* States */ - int jb_level; /**< delay between source & - destination (calculated according - of the number of burst get/put - operations) */ - int jb_max_hist_level; /**< max level during the last level - calculations */ - int jb_stable_hist; /**< num of times the delay has been - lower then the prefetch num */ - int jb_last_op; /**< last operation executed - (put/get) */ - int jb_eff_level; /**< effective burst level */ - int jb_prefetch; /**< no. of frame to insert before - removing some (at the beginning - of the framelist->content - operation), the value may be - continuously updated based on - current frame burst level. */ - pj_bool_t jb_prefetching; /**< flag if jbuf is prefetching. */ - int jb_status; /**< status is 'init' until the first - 'put' operation */ - int jb_init_cycle_cnt; /**< status is 'init' until the first - 'put' operation */ - - int jb_discard_ref; /**< Seq # of last frame deleted or - discarded */ - unsigned jb_discard_dist; /**< Distance from jb_discard_ref - to perform discard (in frm) */ - - /* Statistics */ - pj_math_stat jb_delay; /**< Delay statistics of jitter buffer - (in ms) */ - pj_math_stat jb_burst; /**< Burst statistics (in frames) */ - unsigned jb_lost; /**< Number of lost frames. */ - unsigned jb_discard; /**< Number of discarded frames. */ - unsigned jb_empty; /**< Number of empty/prefetching frame - returned by GET. */ -}; - - -#define JB_STATUS_INITIALIZING 0 -#define JB_STATUS_PROCESSING 1 - - - -/* Progressive discard algorithm introduced to reduce JB latency - * by discarding incoming frames with adaptive aggressiveness based on - * actual burst level. - */ -#define PROGRESSIVE_DISCARD 1 - -/* Internal JB frame flag, discarded frame will not be returned by JB to - * application, it's just simply discarded. - */ -#define PJMEDIA_JB_DISCARDED_FRAME 1024 - - - -/* Enabling this would log the jitter buffer state about once per - * second. - */ -#if 1 -# define TRACE__(args) PJ_LOG(5,args) -#else -# define TRACE__(args) -#endif - -static pj_status_t jb_framelist_reset(jb_framelist_t *framelist); -static unsigned jb_framelist_remove_head(jb_framelist_t *framelist, - unsigned count); - -static pj_status_t jb_framelist_init( pj_pool_t *pool, - jb_framelist_t *framelist, - unsigned frame_size, - unsigned max_count) -{ - PJ_ASSERT_RETURN(pool && framelist, PJ_EINVAL); - - pj_bzero(framelist, sizeof(jb_framelist_t)); - - framelist->frame_size = frame_size; - framelist->max_count = max_count; - framelist->content = (char*) - pj_pool_alloc(pool, - framelist->frame_size* - framelist->max_count); - framelist->frame_type = (int*) - pj_pool_alloc(pool, - sizeof(framelist->frame_type[0])* - framelist->max_count); - framelist->content_len = (pj_size_t*) - pj_pool_alloc(pool, - sizeof(framelist->content_len[0])* - framelist->max_count); - framelist->bit_info = (pj_uint32_t*) - pj_pool_alloc(pool, - sizeof(framelist->bit_info[0])* - framelist->max_count); - framelist->ts = (pj_uint32_t*) - pj_pool_alloc(pool, - sizeof(framelist->ts[0])* - framelist->max_count); - - return jb_framelist_reset(framelist); - -} - -static pj_status_t jb_framelist_destroy(jb_framelist_t *framelist) -{ - PJ_UNUSED_ARG(framelist); - return PJ_SUCCESS; -} - -static pj_status_t jb_framelist_reset(jb_framelist_t *framelist) -{ - framelist->head = 0; - framelist->origin = INVALID_OFFSET; - framelist->size = 0; - framelist->discarded_num = 0; - - - //pj_bzero(framelist->content, - // framelist->frame_size * - // framelist->max_count); - - pj_memset(framelist->frame_type, - PJMEDIA_JB_MISSING_FRAME, - sizeof(framelist->frame_type[0]) * - framelist->max_count); - - pj_bzero(framelist->content_len, - sizeof(framelist->content_len[0]) * - framelist->max_count); - - //pj_bzero(framelist->bit_info, - // sizeof(framelist->bit_info[0]) * - // framelist->max_count); - - return PJ_SUCCESS; -} - - -static unsigned jb_framelist_size(const jb_framelist_t *framelist) -{ - return framelist->size; -} - - -static unsigned jb_framelist_eff_size(const jb_framelist_t *framelist) -{ - return (framelist->size - framelist->discarded_num); -} - -static int jb_framelist_origin(const jb_framelist_t *framelist) -{ - return framelist->origin; -} - - -static pj_bool_t jb_framelist_get(jb_framelist_t *framelist, - void *frame, pj_size_t *size, - pjmedia_jb_frame_type *p_type, - pj_uint32_t *bit_info, - pj_uint32_t *ts, - int *seq) -{ - if (framelist->size) { - pj_bool_t prev_discarded = PJ_FALSE; - - /* Skip discarded frames */ - while (framelist->frame_type[framelist->head] == - PJMEDIA_JB_DISCARDED_FRAME) - { - jb_framelist_remove_head(framelist, 1); - prev_discarded = PJ_TRUE; - } - - /* Return the head frame if any */ - if (framelist->size) { - if (prev_discarded) { - /* Ticket #1188: when previous frame(s) was discarded, return - * 'missing' frame to trigger PLC to get smoother signal. - */ - *p_type = PJMEDIA_JB_MISSING_FRAME; - if (size) - *size = 0; - if (bit_info) - *bit_info = 0; - } else { - pj_memcpy(frame, - framelist->content + - framelist->head * framelist->frame_size, - framelist->frame_size); - *p_type = (pjmedia_jb_frame_type) - framelist->frame_type[framelist->head]; - if (size) - *size = framelist->content_len[framelist->head]; - if (bit_info) - *bit_info = framelist->bit_info[framelist->head]; - } - if (ts) - *ts = framelist->ts[framelist->head]; - if (seq) - *seq = framelist->origin; - - //pj_bzero(framelist->content + - // framelist->head * framelist->frame_size, - // framelist->frame_size); - framelist->frame_type[framelist->head] = PJMEDIA_JB_MISSING_FRAME; - framelist->content_len[framelist->head] = 0; - framelist->bit_info[framelist->head] = 0; - framelist->ts[framelist->head] = 0; - - framelist->origin++; - framelist->head = (framelist->head + 1) % framelist->max_count; - framelist->size--; - - return PJ_TRUE; - } - } - - /* No frame available */ - pj_bzero(frame, framelist->frame_size); - - return PJ_FALSE; -} - - -static pj_bool_t jb_framelist_peek(jb_framelist_t *framelist, - unsigned offset, - const void **frame, - pj_size_t *size, - pjmedia_jb_frame_type *type, - pj_uint32_t *bit_info, - pj_uint32_t *ts, - int *seq) -{ - unsigned pos, idx; - - if (offset >= jb_framelist_eff_size(framelist)) - return PJ_FALSE; - - pos = framelist->head; - idx = offset; - - /* Find actual peek position, note there may be discarded frames */ - while (1) { - if (framelist->frame_type[pos] != PJMEDIA_JB_DISCARDED_FRAME) { - if (idx == 0) - break; - else - --idx; - } - pos = (pos + 1) % framelist->max_count; - } - - /* Return the frame pointer */ - if (frame) - *frame = framelist->content + pos*framelist->frame_size; - if (type) - *type = (pjmedia_jb_frame_type) - framelist->frame_type[pos]; - if (size) - *size = framelist->content_len[pos]; - if (bit_info) - *bit_info = framelist->bit_info[pos]; - if (ts) - *ts = framelist->ts[pos]; - if (seq) - *seq = framelist->origin + offset; - - return PJ_TRUE; -} - - -/* Remove oldest frames as many as param 'count' */ -static unsigned jb_framelist_remove_head(jb_framelist_t *framelist, - unsigned count) -{ - if (count > framelist->size) - count = framelist->size; - - if (count) { - /* may be done in two steps if overlapping */ - unsigned step1,step2; - unsigned tmp = framelist->head+count; - unsigned i; - - if (tmp > framelist->max_count) { - step1 = framelist->max_count - framelist->head; - step2 = count-step1; - } else { - step1 = count; - step2 = 0; - } - - for (i = framelist->head; i < (framelist->head + step1); ++i) { - if (framelist->frame_type[i] == PJMEDIA_JB_DISCARDED_FRAME) { - pj_assert(framelist->discarded_num > 0); - framelist->discarded_num--; - } - } - - //pj_bzero(framelist->content + - // framelist->head * framelist->frame_size, - // step1*framelist->frame_size); - pj_memset(framelist->frame_type+framelist->head, - PJMEDIA_JB_MISSING_FRAME, - step1*sizeof(framelist->frame_type[0])); - pj_bzero(framelist->content_len+framelist->head, - step1*sizeof(framelist->content_len[0])); - - if (step2) { - for (i = 0; i < step2; ++i) { - if (framelist->frame_type[i] == PJMEDIA_JB_DISCARDED_FRAME) { - pj_assert(framelist->discarded_num > 0); - framelist->discarded_num--; - } - } - //pj_bzero( framelist->content, - // step2*framelist->frame_size); - pj_memset(framelist->frame_type, - PJMEDIA_JB_MISSING_FRAME, - step2*sizeof(framelist->frame_type[0])); - pj_bzero (framelist->content_len, - step2*sizeof(framelist->content_len[0])); - } - - /* update states */ - framelist->origin += count; - framelist->head = (framelist->head + count) % framelist->max_count; - framelist->size -= count; - } - - return count; -} - - -static pj_status_t jb_framelist_put_at(jb_framelist_t *framelist, - int index, - const void *frame, - unsigned frame_size, - pj_uint32_t bit_info, - pj_uint32_t ts, - unsigned frame_type) -{ - int distance; - unsigned pos; - enum { MAX_MISORDER = 100 }; - enum { MAX_DROPOUT = 3000 }; - - PJ_ASSERT_RETURN(frame_size <= framelist->frame_size, PJ_EINVAL); - - /* too late or sequence restart */ - if (index < framelist->origin) { - if (framelist->origin - index < MAX_MISORDER) { - /* too late */ - return PJ_ETOOSMALL; - } else { - /* sequence restart */ - framelist->origin = index - framelist->size; - } - } - - /* if jbuf is empty, just reset the origin */ - if (framelist->size == 0) { - pj_assert(framelist->discarded_num == 0); - framelist->origin = index; - } - - /* get distance of this frame to the first frame in the buffer */ - distance = index - framelist->origin; - - /* far jump, the distance is greater than buffer capacity */ - if (distance >= (int)framelist->max_count) { - if (distance > MAX_DROPOUT) { - /* jump too far, reset the buffer */ - jb_framelist_reset(framelist); - framelist->origin = index; - distance = 0; - } else { - /* otherwise, reject the frame */ - return PJ_ETOOMANY; - } - } - - /* get the slot position */ - pos = (framelist->head + distance) % framelist->max_count; - - /* if the slot is occupied, it must be duplicated frame, ignore it. */ - if (framelist->frame_type[pos] != PJMEDIA_JB_MISSING_FRAME) - return PJ_EEXISTS; - - /* put the frame into the slot */ - framelist->frame_type[pos] = frame_type; - framelist->content_len[pos] = frame_size; - framelist->bit_info[pos] = bit_info; - framelist->ts[pos] = ts; - - /* update framelist size */ - if (framelist->origin + (int)framelist->size <= index) - framelist->size = distance + 1; - - if(PJMEDIA_JB_NORMAL_FRAME == frame_type) { - /* copy frame content */ - pj_memcpy(framelist->content + pos * framelist->frame_size, - frame, frame_size); - } - - return PJ_SUCCESS; -} - - -static pj_status_t jb_framelist_discard(jb_framelist_t *framelist, - int index) -{ - unsigned pos; - - PJ_ASSERT_RETURN(index >= framelist->origin && - index < framelist->origin + (int)framelist->size, - PJ_EINVAL); - - /* Get the slot position */ - pos = (framelist->head + (index - framelist->origin)) % - framelist->max_count; - - /* Discard the frame */ - framelist->frame_type[pos] = PJMEDIA_JB_DISCARDED_FRAME; - framelist->discarded_num++; - - return PJ_SUCCESS; -} - - -enum pjmedia_jb_op -{ - JB_OP_INIT = -1, - JB_OP_PUT = 1, - JB_OP_GET = 2 -}; - - -PJ_DEF(pj_status_t) pjmedia_jbuf_create(pj_pool_t *pool, - const pj_str_t *name, - unsigned frame_size, - unsigned ptime, - unsigned max_count, - pjmedia_jbuf **p_jb) -{ - pjmedia_jbuf *jb; - pj_status_t status; - - jb = PJ_POOL_ZALLOC_T(pool, pjmedia_jbuf); - - status = jb_framelist_init(pool, &jb->jb_framelist, frame_size, max_count); - if (status != PJ_SUCCESS) - return status; - - pj_strdup_with_null(pool, &jb->jb_name, name); - jb->jb_frame_size = frame_size; - jb->jb_frame_ptime = ptime; - jb->jb_prefetch = PJ_MIN(PJMEDIA_JB_DEFAULT_INIT_DELAY,max_count*4/5); - jb->jb_min_prefetch = 0; - jb->jb_max_prefetch = max_count*4/5; - jb->jb_max_count = max_count; - jb->jb_min_shrink_gap= PJMEDIA_JBUF_DISC_MIN_GAP / ptime; - jb->jb_max_burst = PJ_MAX(MAX_BURST_MSEC / ptime, max_count*3/4); - - pj_math_stat_init(&jb->jb_delay); - pj_math_stat_init(&jb->jb_burst); - - pjmedia_jbuf_set_discard(jb, PJMEDIA_JB_DISCARD_PROGRESSIVE); - pjmedia_jbuf_reset(jb); - - *p_jb = jb; - return PJ_SUCCESS; -} - - -/* - * Set the jitter buffer to fixed delay mode. The default behavior - * is to adapt the delay with actual packet delay. - * - */ -PJ_DEF(pj_status_t) pjmedia_jbuf_set_fixed( pjmedia_jbuf *jb, - unsigned prefetch) -{ - PJ_ASSERT_RETURN(jb, PJ_EINVAL); - PJ_ASSERT_RETURN(prefetch <= jb->jb_max_count, PJ_EINVAL); - - jb->jb_min_prefetch = jb->jb_max_prefetch = - jb->jb_prefetch = jb->jb_init_prefetch = prefetch; - - return PJ_SUCCESS; -} - - -/* - * Set the jitter buffer to adaptive mode. - */ -PJ_DEF(pj_status_t) pjmedia_jbuf_set_adaptive( pjmedia_jbuf *jb, - unsigned prefetch, - unsigned min_prefetch, - unsigned max_prefetch) -{ - PJ_ASSERT_RETURN(jb, PJ_EINVAL); - PJ_ASSERT_RETURN(min_prefetch <= max_prefetch && - prefetch <= max_prefetch && - max_prefetch <= jb->jb_max_count, - PJ_EINVAL); - - jb->jb_prefetch = jb->jb_init_prefetch = prefetch; - jb->jb_min_prefetch = min_prefetch; - jb->jb_max_prefetch = max_prefetch; - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_jbuf_set_discard( pjmedia_jbuf *jb, - pjmedia_jb_discard_algo algo) -{ - PJ_ASSERT_RETURN(jb, PJ_EINVAL); - PJ_ASSERT_RETURN(algo >= PJMEDIA_JB_DISCARD_NONE && - algo <= PJMEDIA_JB_DISCARD_PROGRESSIVE, - PJ_EINVAL); - - switch(algo) { - case PJMEDIA_JB_DISCARD_PROGRESSIVE: - jb->jb_discard_algo = &jbuf_discard_progressive; - break; - case PJMEDIA_JB_DISCARD_STATIC: - jb->jb_discard_algo = &jbuf_discard_static; - break; - default: - jb->jb_discard_algo = NULL; - break; - } - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_jbuf_reset(pjmedia_jbuf *jb) -{ - jb->jb_level = 0; - jb->jb_last_op = JB_OP_INIT; - jb->jb_stable_hist = 0; - jb->jb_status = JB_STATUS_INITIALIZING; - jb->jb_init_cycle_cnt= 0; - jb->jb_max_hist_level= 0; - jb->jb_prefetching = (jb->jb_prefetch != 0); - jb->jb_discard_dist = 0; - - jb_framelist_reset(&jb->jb_framelist); - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_jbuf_destroy(pjmedia_jbuf *jb) -{ - PJ_LOG(5, (jb->jb_name.ptr, "" - "JB summary:\n" - " size=%d/eff=%d prefetch=%d level=%d\n" - " delay (min/max/avg/dev)=%d/%d/%d/%d ms\n" - " burst (min/max/avg/dev)=%d/%d/%d/%d frames\n" - " lost=%d discard=%d empty=%d", - jb_framelist_size(&jb->jb_framelist), - jb_framelist_eff_size(&jb->jb_framelist), - jb->jb_prefetch, jb->jb_eff_level, - jb->jb_delay.min, jb->jb_delay.max, jb->jb_delay.mean, - pj_math_stat_get_stddev(&jb->jb_delay), - jb->jb_burst.min, jb->jb_burst.max, jb->jb_burst.mean, - pj_math_stat_get_stddev(&jb->jb_burst), - jb->jb_lost, jb->jb_discard, jb->jb_empty)); - - return jb_framelist_destroy(&jb->jb_framelist); -} - -PJ_DEF(pj_bool_t) pjmedia_jbuf_is_full(const pjmedia_jbuf *jb) -{ - return jb->jb_framelist.size == jb->jb_framelist.max_count; -} - -static void jbuf_calculate_jitter(pjmedia_jbuf *jb) -{ - int diff, cur_size; - - cur_size = jb_framelist_eff_size(&jb->jb_framelist); - pj_math_stat_update(&jb->jb_burst, jb->jb_level); - jb->jb_max_hist_level = PJ_MAX(jb->jb_max_hist_level, jb->jb_level); - - /* Burst level is decreasing */ - if (jb->jb_level < jb->jb_eff_level) { - - enum { STABLE_HISTORY_LIMIT = 20 }; - - jb->jb_stable_hist++; - - /* Only update the effective level (and prefetch) if 'stable' - * condition is reached (not just short time impulse) - */ - if (jb->jb_stable_hist > STABLE_HISTORY_LIMIT) { - - diff = (jb->jb_eff_level - jb->jb_max_hist_level) / 3; - - if (diff < 1) - diff = 1; - - /* Update effective burst level */ - jb->jb_eff_level -= diff; - - /* Update prefetch based on level */ - if (jb->jb_init_prefetch) { - jb->jb_prefetch = jb->jb_eff_level; - if (jb->jb_prefetch < jb->jb_min_prefetch) - jb->jb_prefetch = jb->jb_min_prefetch; - } - - /* Reset history */ - jb->jb_max_hist_level = 0; - jb->jb_stable_hist = 0; - - TRACE__((jb->jb_name.ptr,"jb updated(1), lvl=%d pre=%d, size=%d", - jb->jb_eff_level, jb->jb_prefetch, cur_size)); - } - } - - /* Burst level is increasing */ - else if (jb->jb_level > jb->jb_eff_level) { - - /* Instaneous set effective burst level to recent maximum level */ - jb->jb_eff_level = PJ_MIN(jb->jb_max_hist_level, - (int)(jb->jb_max_count*4/5)); - - /* Update prefetch based on level */ - if (jb->jb_init_prefetch) { - jb->jb_prefetch = jb->jb_eff_level; - if (jb->jb_prefetch > jb->jb_max_prefetch) - jb->jb_prefetch = jb->jb_max_prefetch; - } - - jb->jb_stable_hist = 0; - /* Do not reset max_hist_level. */ - //jb->jb_max_hist_level = 0; - - TRACE__((jb->jb_name.ptr,"jb updated(2), lvl=%d pre=%d, size=%d", - jb->jb_eff_level, jb->jb_prefetch, cur_size)); - } - - /* Level is unchanged */ - else { - jb->jb_stable_hist = 0; - } -} - - -static void jbuf_discard_static(pjmedia_jbuf *jb) -{ - /* These code is used for shortening the delay in the jitter buffer. - * It needs shrink only when there is possibility of drift. Drift - * detection is performed by inspecting the jitter buffer size, if - * its size is twice of current burst level, there can be drift. - * - * Moreover, normally drift level is quite low, so JB shouldn't need - * to shrink aggresively, it will shrink maximum one frame per - * PJMEDIA_JBUF_DISC_MIN_GAP ms. Theoritically, JB may handle drift level - * as much as = FRAME_PTIME/PJMEDIA_JBUF_DISC_MIN_GAP * 100% - * - * Whenever there is drift, where PUT > GET, this method will keep - * the latency (JB size) as much as twice of burst level. - */ - - /* Shrinking due of drift will be implicitly done by progressive discard, - * so just disable it when progressive discard is active. - */ - int diff, burst_level; - - burst_level = PJ_MAX(jb->jb_eff_level, jb->jb_level); - diff = jb_framelist_eff_size(&jb->jb_framelist) - burst_level*2; - - if (diff >= STA_DISC_SAFE_SHRINKING_DIFF) { - int seq_origin; - - /* Check and adjust jb_discard_ref, in case there was - * seq restart - */ - seq_origin = jb_framelist_origin(&jb->jb_framelist); - if (seq_origin < jb->jb_discard_ref) - jb->jb_discard_ref = seq_origin; - - if (seq_origin - jb->jb_discard_ref >= jb->jb_min_shrink_gap) - { - /* Shrink slowly, one frame per cycle */ - diff = 1; - - /* Drop frame(s)! */ - diff = jb_framelist_remove_head(&jb->jb_framelist, diff); - jb->jb_discard_ref = jb_framelist_origin(&jb->jb_framelist); - jb->jb_discard += diff; - - TRACE__((jb->jb_name.ptr, - "JB shrinking %d frame(s), cur size=%d", diff, - jb_framelist_eff_size(&jb->jb_framelist))); - } - } -} - - -static void jbuf_discard_progressive(pjmedia_jbuf *jb) -{ - unsigned cur_size, burst_level, overflow, T, discard_dist; - int last_seq; - - /* Should be done in PUT operation */ - if (jb->jb_last_op != JB_OP_PUT) - return; - - /* Check if latency is longer than burst */ - cur_size = jb_framelist_eff_size(&jb->jb_framelist); - burst_level = PJ_MAX(jb->jb_eff_level, jb->jb_level); - if (cur_size <= burst_level) { - /* Reset any scheduled discard */ - jb->jb_discard_dist = 0; - return; - } - - /* Estimate discard duration needed for adjusting latency */ - if (burst_level <= PJMEDIA_JBUF_PRO_DISC_MIN_BURST) - T = PJMEDIA_JBUF_PRO_DISC_T1; - else if (burst_level >= PJMEDIA_JBUF_PRO_DISC_MAX_BURST) - T = PJMEDIA_JBUF_PRO_DISC_T2; - else - T = PJMEDIA_JBUF_PRO_DISC_T1 + - (PJMEDIA_JBUF_PRO_DISC_T2 - PJMEDIA_JBUF_PRO_DISC_T1) * - (burst_level - PJMEDIA_JBUF_PRO_DISC_MIN_BURST) / - (PJMEDIA_JBUF_PRO_DISC_MAX_BURST-PJMEDIA_JBUF_PRO_DISC_MIN_BURST); - - /* Calculate current discard distance */ - overflow = cur_size - burst_level; - discard_dist = T / overflow / jb->jb_frame_ptime; - - /* Get last seq number in the JB */ - last_seq = jb_framelist_origin(&jb->jb_framelist) + - jb_framelist_size(&jb->jb_framelist) - 1; - - /* Setup new discard schedule if none, otherwise, update the existing - * discard schedule (can be delayed or accelerated). - */ - if (jb->jb_discard_dist == 0) { - /* Setup new discard schedule */ - jb->jb_discard_ref = last_seq; - } else if (last_seq < jb->jb_discard_ref) { - /* Seq restarted, update discard reference */ - jb->jb_discard_ref = last_seq; - } - jb->jb_discard_dist = PJ_MAX(jb->jb_min_shrink_gap, (int)discard_dist); - - /* Check if we need to discard now */ - if (last_seq >= (jb->jb_discard_ref + (int)jb->jb_discard_dist)) { - int discard_seq; - - discard_seq = jb->jb_discard_ref + jb->jb_discard_dist; - if (discard_seq < jb_framelist_origin(&jb->jb_framelist)) - discard_seq = jb_framelist_origin(&jb->jb_framelist); - - jb_framelist_discard(&jb->jb_framelist, discard_seq); - - TRACE__((jb->jb_name.ptr, - "Discard #%d: ref=#%d dist=%d orig=%d size=%d/%d " - "burst=%d/%d", - discard_seq, - jb->jb_discard_ref, - jb->jb_discard_dist, - jb_framelist_origin(&jb->jb_framelist), - cur_size, - jb_framelist_size(&jb->jb_framelist), - jb->jb_eff_level, - burst_level)); - - /* Update discard reference */ - jb->jb_discard_ref = discard_seq; - } -} - - -PJ_INLINE(void) jbuf_update(pjmedia_jbuf *jb, int oper) -{ - if(jb->jb_last_op != oper) { - jb->jb_last_op = oper; - - if (jb->jb_status == JB_STATUS_INITIALIZING) { - /* Switch status 'initializing' -> 'processing' after some OP - * switch cycles and current OP is GET (burst level is calculated - * based on PUT burst), so burst calculation is guaranted to be - * performed right after the status switching. - */ - if (++jb->jb_init_cycle_cnt >= INIT_CYCLE && oper == JB_OP_GET) { - jb->jb_status = JB_STATUS_PROCESSING; - /* To make sure the burst calculation will be done right after - * this, adjust burst level if it exceeds max burst level. - */ - jb->jb_level = PJ_MIN(jb->jb_level, jb->jb_max_burst); - } else { - jb->jb_level = 0; - return; - } - } - - /* Perform jitter calculation based on PUT burst-level only, since - * GET burst-level may not be accurate, e.g: when VAD is active. - * Note that when burst-level is too big, i.e: exceeds jb_max_burst, - * the GET op may be idle, in this case, we better skip the jitter - * calculation. - */ - if (oper == JB_OP_GET && jb->jb_level <= jb->jb_max_burst) - jbuf_calculate_jitter(jb); - - jb->jb_level = 0; - } - - /* Call discard algorithm */ - if (jb->jb_status == JB_STATUS_PROCESSING && jb->jb_discard_algo) { - (*jb->jb_discard_algo)(jb); - } -} - -PJ_DEF(void) pjmedia_jbuf_put_frame( pjmedia_jbuf *jb, - const void *frame, - pj_size_t frame_size, - int frame_seq) -{ - pjmedia_jbuf_put_frame3(jb, frame, frame_size, 0, frame_seq, 0, NULL); -} - -PJ_DEF(void) pjmedia_jbuf_put_frame2(pjmedia_jbuf *jb, - const void *frame, - pj_size_t frame_size, - pj_uint32_t bit_info, - int frame_seq, - pj_bool_t *discarded) -{ - pjmedia_jbuf_put_frame3(jb, frame, frame_size, bit_info, frame_seq, 0, - discarded); -} - -PJ_DEF(void) pjmedia_jbuf_put_frame3(pjmedia_jbuf *jb, - const void *frame, - pj_size_t frame_size, - pj_uint32_t bit_info, - int frame_seq, - pj_uint32_t ts, - pj_bool_t *discarded) -{ - pj_size_t min_frame_size; - int new_size, cur_size; - pj_status_t status; - - cur_size = jb_framelist_eff_size(&jb->jb_framelist); - - /* Attempt to store the frame */ - min_frame_size = PJ_MIN(frame_size, jb->jb_frame_size); - status = jb_framelist_put_at(&jb->jb_framelist, frame_seq, frame, - min_frame_size, bit_info, ts, - PJMEDIA_JB_NORMAL_FRAME); - - /* Jitter buffer is full, remove some older frames */ - while (status == PJ_ETOOMANY) { - int distance; - unsigned removed; - - /* Remove as few as possible just to make this frame in. Note that - * the cases of seq-jump, out-of-order, and seq restart should have - * been handled/normalized by previous call of jb_framelist_put_at(). - * So we're confident about 'distance' value here. - */ - distance = (frame_seq - jb_framelist_origin(&jb->jb_framelist)) - - jb->jb_max_count + 1; - pj_assert(distance > 0); - - removed = jb_framelist_remove_head(&jb->jb_framelist, distance); - status = jb_framelist_put_at(&jb->jb_framelist, frame_seq, frame, - min_frame_size, bit_info, ts, - PJMEDIA_JB_NORMAL_FRAME); - - jb->jb_discard += removed; - } - - /* Get new JB size after PUT */ - new_size = jb_framelist_eff_size(&jb->jb_framelist); - - /* Return the flag if this frame is discarded */ - if (discarded) - *discarded = (status != PJ_SUCCESS); - - if (status == PJ_SUCCESS) { - if (jb->jb_prefetching) { - TRACE__((jb->jb_name.ptr, "PUT prefetch_cnt=%d/%d", - new_size, jb->jb_prefetch)); - if (new_size >= jb->jb_prefetch) - jb->jb_prefetching = PJ_FALSE; - } - jb->jb_level += (new_size > cur_size ? new_size-cur_size : 1); - jbuf_update(jb, JB_OP_PUT); - } else - jb->jb_discard++; -} - -/* - * Get frame from jitter buffer. - */ -PJ_DEF(void) pjmedia_jbuf_get_frame( pjmedia_jbuf *jb, - void *frame, - char *p_frame_type) -{ - pjmedia_jbuf_get_frame3(jb, frame, NULL, p_frame_type, NULL, - NULL, NULL); -} - -/* - * Get frame from jitter buffer. - */ -PJ_DEF(void) pjmedia_jbuf_get_frame2(pjmedia_jbuf *jb, - void *frame, - pj_size_t *size, - char *p_frame_type, - pj_uint32_t *bit_info) -{ - pjmedia_jbuf_get_frame3(jb, frame, size, p_frame_type, bit_info, - NULL, NULL); -} - -/* - * Get frame from jitter buffer. - */ -PJ_DEF(void) pjmedia_jbuf_get_frame3(pjmedia_jbuf *jb, - void *frame, - pj_size_t *size, - char *p_frame_type, - pj_uint32_t *bit_info, - pj_uint32_t *ts, - int *seq) -{ - if (jb->jb_prefetching) { - - /* Can't return frame because jitter buffer is filling up - * minimum prefetch. - */ - - //pj_bzero(frame, jb->jb_frame_size); - *p_frame_type = PJMEDIA_JB_ZERO_PREFETCH_FRAME; - if (size) - *size = 0; - - TRACE__((jb->jb_name.ptr, "GET prefetch_cnt=%d/%d", - jb_framelist_eff_size(&jb->jb_framelist), jb->jb_prefetch)); - - jb->jb_empty++; - - } else { - - pjmedia_jb_frame_type ftype = PJMEDIA_JB_NORMAL_FRAME; - pj_bool_t res; - - /* Try to retrieve a frame from frame list */ - res = jb_framelist_get(&jb->jb_framelist, frame, size, &ftype, - bit_info, ts, seq); - if (res) { - /* We've successfully retrieved a frame from the frame list, but - * the frame could be a blank frame! - */ - if (ftype == PJMEDIA_JB_NORMAL_FRAME) { - *p_frame_type = PJMEDIA_JB_NORMAL_FRAME; - } else { - *p_frame_type = PJMEDIA_JB_MISSING_FRAME; - jb->jb_lost++; - } - - /* Store delay history at the first GET */ - if (jb->jb_last_op == JB_OP_PUT) { - unsigned cur_size; - - /* We've just retrieved one frame, so add one to cur_size */ - cur_size = jb_framelist_eff_size(&jb->jb_framelist) + 1; - pj_math_stat_update(&jb->jb_delay, - cur_size*jb->jb_frame_ptime); - } - } else { - /* Jitter buffer is empty */ - if (jb->jb_prefetch) - jb->jb_prefetching = PJ_TRUE; - - //pj_bzero(frame, jb->jb_frame_size); - *p_frame_type = PJMEDIA_JB_ZERO_EMPTY_FRAME; - if (size) - *size = 0; - - jb->jb_empty++; - } - } - - jb->jb_level++; - jbuf_update(jb, JB_OP_GET); -} - -/* - * Get jitter buffer state. - */ -PJ_DEF(pj_status_t) pjmedia_jbuf_get_state( const pjmedia_jbuf *jb, - pjmedia_jb_state *state ) -{ - PJ_ASSERT_RETURN(jb && state, PJ_EINVAL); - - state->frame_size = jb->jb_frame_size; - state->min_prefetch = jb->jb_min_prefetch; - state->max_prefetch = jb->jb_max_prefetch; - - state->burst = jb->jb_eff_level; - state->prefetch = jb->jb_prefetch; - state->size = jb_framelist_eff_size(&jb->jb_framelist); - - state->avg_delay = jb->jb_delay.mean; - state->min_delay = jb->jb_delay.min; - state->max_delay = jb->jb_delay.max; - state->dev_delay = pj_math_stat_get_stddev(&jb->jb_delay); - - state->avg_burst = jb->jb_burst.mean; - state->empty = jb->jb_empty; - state->discard = jb->jb_discard; - state->lost = jb->jb_lost; - - return PJ_SUCCESS; -} - - -PJ_DEF(void) pjmedia_jbuf_peek_frame( pjmedia_jbuf *jb, - unsigned offset, - const void **frame, - pj_size_t *size, - char *p_frm_type, - pj_uint32_t *bit_info, - pj_uint32_t *ts, - int *seq) -{ - pjmedia_jb_frame_type ftype; - pj_bool_t res; - - res = jb_framelist_peek(&jb->jb_framelist, offset, frame, size, &ftype, - bit_info, ts, seq); - if (!res) - *p_frm_type = PJMEDIA_JB_ZERO_EMPTY_FRAME; - else if (ftype == PJMEDIA_JB_NORMAL_FRAME) - *p_frm_type = PJMEDIA_JB_NORMAL_FRAME; - else - *p_frm_type = PJMEDIA_JB_MISSING_FRAME; -} - - -PJ_DEF(unsigned) pjmedia_jbuf_remove_frame(pjmedia_jbuf *jb, - unsigned frame_cnt) -{ - unsigned count, last_discard_num; - - last_discard_num = jb->jb_framelist.discarded_num; - count = jb_framelist_remove_head(&jb->jb_framelist, frame_cnt); - - /* Remove some more when there were discarded frames included */ - while (jb->jb_framelist.discarded_num < last_discard_num) { - /* Calculate frames count to be removed next */ - frame_cnt = last_discard_num - jb->jb_framelist.discarded_num; - - /* Normalize non-discarded frames count just been removed */ - count -= frame_cnt; - - /* Remove more frames */ - last_discard_num = jb->jb_framelist.discarded_num; - count += jb_framelist_remove_head(&jb->jb_framelist, frame_cnt); - } - - return count; -} diff --git a/res/pjproject/pjmedia/src/pjmedia/master_port.c b/res/pjproject/pjmedia/src/pjmedia/master_port.c deleted file mode 100644 index 25a9e995f3..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/master_port.c +++ /dev/null @@ -1,321 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include - - -struct pjmedia_master_port -{ - unsigned options; - pjmedia_clock *clock; - pjmedia_port *u_port; - pjmedia_port *d_port; - unsigned buff_size; - void *buff; - pj_lock_t *lock; -}; - - -static void clock_callback(const pj_timestamp *ts, void *user_data); - - -/* - * Create a master port. - * - */ -PJ_DEF(pj_status_t) pjmedia_master_port_create( pj_pool_t *pool, - pjmedia_port *u_port, - pjmedia_port *d_port, - unsigned options, - pjmedia_master_port **p_m) -{ - pjmedia_master_port *m; - unsigned clock_rate; - unsigned channel_count; - unsigned samples_per_frame; - unsigned bytes_per_frame; - pjmedia_audio_format_detail *u_afd, *d_afd; - pj_status_t status; - - /* Sanity check */ - PJ_ASSERT_RETURN(pool && u_port && d_port && p_m, PJ_EINVAL); - - u_afd = pjmedia_format_get_audio_format_detail(&u_port->info.fmt, PJ_TRUE); - d_afd = pjmedia_format_get_audio_format_detail(&d_port->info.fmt, PJ_TRUE); - - /* Both ports MUST have equal clock rate */ - PJ_ASSERT_RETURN(u_afd->clock_rate == d_afd->clock_rate, - PJMEDIA_ENCCLOCKRATE); - - /* Both ports MUST have equal samples per frame */ - PJ_ASSERT_RETURN(PJMEDIA_PIA_SPF(&u_port->info)== - PJMEDIA_PIA_SPF(&d_port->info), - PJMEDIA_ENCSAMPLESPFRAME); - - /* Both ports MUST have equal channel count */ - PJ_ASSERT_RETURN(u_afd->channel_count == d_afd->channel_count, - PJMEDIA_ENCCHANNEL); - - - /* Get clock_rate and samples_per_frame from one of the port. */ - clock_rate = u_afd->clock_rate; - samples_per_frame = PJMEDIA_PIA_SPF(&u_port->info); - channel_count = u_afd->channel_count; - - - /* Get the bytes_per_frame value, to determine the size of the - * buffer. We take the larger size of the two ports. - */ - bytes_per_frame = PJMEDIA_AFD_AVG_FSZ(u_afd); - if (PJMEDIA_AFD_AVG_FSZ(d_afd) > bytes_per_frame) - bytes_per_frame = PJMEDIA_AFD_AVG_FSZ(d_afd); - - - /* Create the master port instance */ - m = PJ_POOL_ZALLOC_T(pool, pjmedia_master_port); - m->options = options; - m->u_port = u_port; - m->d_port = d_port; - - - /* Create buffer */ - m->buff_size = bytes_per_frame; - m->buff = pj_pool_alloc(pool, m->buff_size); - if (!m->buff) - return PJ_ENOMEM; - - /* Create lock object */ - status = pj_lock_create_simple_mutex(pool, "mport", &m->lock); - if (status != PJ_SUCCESS) - return status; - - /* Create media clock */ - status = pjmedia_clock_create(pool, clock_rate, channel_count, - samples_per_frame, options, &clock_callback, - m, &m->clock); - if (status != PJ_SUCCESS) { - pj_lock_destroy(m->lock); - return status; - } - - /* Done */ - *p_m = m; - - return PJ_SUCCESS; -} - - -/* - * Start the media flow. - */ -PJ_DEF(pj_status_t) pjmedia_master_port_start(pjmedia_master_port *m) -{ - PJ_ASSERT_RETURN(m && m->clock, PJ_EINVAL); - PJ_ASSERT_RETURN(m->u_port && m->d_port, PJ_EINVALIDOP); - - return pjmedia_clock_start(m->clock); -} - - -/* - * Stop the media flow. - */ -PJ_DEF(pj_status_t) pjmedia_master_port_stop(pjmedia_master_port *m) -{ - PJ_ASSERT_RETURN(m && m->clock, PJ_EINVAL); - - return pjmedia_clock_stop(m->clock); -} - - -/* Poll the master port clock */ -PJ_DEF(pj_bool_t) pjmedia_master_port_wait( pjmedia_master_port *m, - pj_bool_t wait, - pj_timestamp *ts) -{ - PJ_ASSERT_RETURN(m && m->clock, PJ_FALSE); - - return pjmedia_clock_wait(m->clock, wait, ts); -} - -/* - * Callback to be called for each clock ticks. - */ -static void clock_callback(const pj_timestamp *ts, void *user_data) -{ - pjmedia_master_port *m = (pjmedia_master_port*) user_data; - pjmedia_frame frame; - pj_status_t status; - - - /* Lock access to ports. */ - pj_lock_acquire(m->lock); - - /* Get frame from upstream port and pass it to downstream port */ - pj_bzero(&frame, sizeof(frame)); - frame.buf = m->buff; - frame.size = m->buff_size; - frame.timestamp.u64 = ts->u64; - - status = pjmedia_port_get_frame(m->u_port, &frame); - if (status != PJ_SUCCESS) - frame.type = PJMEDIA_FRAME_TYPE_NONE; - - status = pjmedia_port_put_frame(m->d_port, &frame); - - /* Get frame from downstream port and pass it to upstream port */ - pj_bzero(&frame, sizeof(frame)); - frame.buf = m->buff; - frame.size = m->buff_size; - frame.timestamp.u64 = ts->u64; - - status = pjmedia_port_get_frame(m->d_port, &frame); - if (status != PJ_SUCCESS) - frame.type = PJMEDIA_FRAME_TYPE_NONE; - - status = pjmedia_port_put_frame(m->u_port, &frame); - - /* Release lock */ - pj_lock_release(m->lock); -} - - -/* - * Change the upstream port. - */ -PJ_DEF(pj_status_t) pjmedia_master_port_set_uport(pjmedia_master_port *m, - pjmedia_port *port) -{ - PJ_ASSERT_RETURN(m && port, PJ_EINVAL); - - /* Only supports audio for now */ - PJ_ASSERT_RETURN(port->info.fmt.type==PJMEDIA_TYPE_AUDIO, PJ_ENOTSUP); - - /* If we have downstream port, make sure they have matching samples per - * frame. - */ - if (m->d_port) { - PJ_ASSERT_RETURN( - PJMEDIA_PIA_PTIME(&port->info) == - PJMEDIA_PIA_PTIME(&m->d_port->info), - PJMEDIA_ENCSAMPLESPFRAME - ); - } - - pj_lock_acquire(m->lock); - - m->u_port = port; - - pj_lock_release(m->lock); - - return PJ_SUCCESS; -} - - -/* - * Get the upstream port. - */ -PJ_DEF(pjmedia_port*) pjmedia_master_port_get_uport(pjmedia_master_port*m) -{ - PJ_ASSERT_RETURN(m, NULL); - return m->u_port; -} - - -/* - * Change the downstream port. - */ -PJ_DEF(pj_status_t) pjmedia_master_port_set_dport(pjmedia_master_port *m, - pjmedia_port *port) -{ - PJ_ASSERT_RETURN(m && port, PJ_EINVAL); - - /* Only supports audio for now */ - PJ_ASSERT_RETURN(port->info.fmt.type==PJMEDIA_TYPE_AUDIO, PJ_ENOTSUP); - - /* If we have upstream port, make sure they have matching samples per - * frame. - */ - if (m->u_port) { - PJ_ASSERT_RETURN( - PJMEDIA_PIA_PTIME(&port->info) == - PJMEDIA_PIA_PTIME(&m->u_port->info), - PJMEDIA_ENCSAMPLESPFRAME - ); - } - - pj_lock_acquire(m->lock); - - m->d_port = port; - - pj_lock_release(m->lock); - - return PJ_SUCCESS; -} - - -/* - * Get the downstream port. - */ -PJ_DEF(pjmedia_port*) pjmedia_master_port_get_dport(pjmedia_master_port*m) -{ - PJ_ASSERT_RETURN(m, NULL); - return m->d_port; -} - - -/* - * Destroy the master port, and optionally destroy the u_port and - * d_port ports. - */ -PJ_DEF(pj_status_t) pjmedia_master_port_destroy(pjmedia_master_port *m, - pj_bool_t destroy_ports) -{ - PJ_ASSERT_RETURN(m, PJ_EINVAL); - - if (m->clock) { - pjmedia_clock_destroy(m->clock); - m->clock = NULL; - } - - if (m->u_port && destroy_ports) { - pjmedia_port_destroy(m->u_port); - m->u_port = NULL; - } - - if (m->d_port && destroy_ports) { - pjmedia_port_destroy(m->d_port); - m->d_port = NULL; - } - - if (m->lock) { - pj_lock_destroy(m->lock); - m->lock = NULL; - } - - return PJ_SUCCESS; -} - - diff --git a/res/pjproject/pjmedia/src/pjmedia/mem_capture.c b/res/pjproject/pjmedia/src/pjmedia/mem_capture.c deleted file mode 100644 index a6f9a99ea3..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/mem_capture.c +++ /dev/null @@ -1,235 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - - -#define THIS_FILE "mem_capture.c" - -#define SIGNATURE PJMEDIA_SIG_PORT_MEM_CAPTURE -#define BYTES_PER_SAMPLE 2 - -struct mem_rec -{ - pjmedia_port base; - - unsigned options; - - char *buffer; - pj_size_t buf_size; - char *write_pos; - - pj_bool_t eof; - void *user_data; - pj_status_t (*cb)(pjmedia_port *port, - void *user_data); -}; - - -static pj_status_t rec_put_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t rec_get_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t rec_on_destroy(pjmedia_port *this_port); - - -PJ_DEF(pj_status_t) pjmedia_mem_capture_create( pj_pool_t *pool, - void *buffer, - pj_size_t size, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - pjmedia_port **p_port) -{ - struct mem_rec *rec; - const pj_str_t name = { "memrec", 6 }; - - /* Sanity check */ - PJ_ASSERT_RETURN(pool && buffer && size && clock_rate && channel_count && - samples_per_frame && bits_per_sample && p_port, - PJ_EINVAL); - - /* Can only support 16bit PCM */ - PJ_ASSERT_RETURN(bits_per_sample == 16, PJ_EINVAL); - - - rec = PJ_POOL_ZALLOC_T(pool, struct mem_rec); - PJ_ASSERT_RETURN(rec != NULL, PJ_ENOMEM); - - /* Create the rec */ - pjmedia_port_info_init(&rec->base.info, &name, SIGNATURE, - clock_rate, channel_count, bits_per_sample, - samples_per_frame); - - - rec->base.put_frame = &rec_put_frame; - rec->base.get_frame = &rec_get_frame; - rec->base.on_destroy = &rec_on_destroy; - - - /* Save the buffer */ - rec->buffer = rec->write_pos = (char*)buffer; - rec->buf_size = size; - - /* Options */ - rec->options = options; - - *p_port = &rec->base; - - return PJ_SUCCESS; -} - - -/* - * Register a callback to be called when the file reading has reached the - * end of buffer. - */ -PJ_DEF(pj_status_t) pjmedia_mem_capture_set_eof_cb( pjmedia_port *port, - void *user_data, - pj_status_t (*cb)(pjmedia_port *port, - void *usr_data)) -{ - struct mem_rec *rec; - - PJ_ASSERT_RETURN(port->info.signature == SIGNATURE, - PJ_EINVALIDOP); - - rec = (struct mem_rec*) port; - rec->user_data = user_data; - rec->cb = cb; - - return PJ_SUCCESS; -} - - -/* Get current buffer size */ -PJ_DEF(pj_size_t) pjmedia_mem_capture_get_size(pjmedia_port *port) -{ - struct mem_rec *rec; - - PJ_ASSERT_RETURN(port->info.signature == SIGNATURE, - 0); - - rec = (struct mem_rec*) port; - if (rec->eof){ - return rec->buf_size; - } - return rec->write_pos - rec->buffer; -} - - -static pj_status_t rec_put_frame( pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct mem_rec *rec; - char *endpos; - pj_size_t size_written; - - PJ_ASSERT_RETURN(this_port->info.signature == SIGNATURE, - PJ_EINVALIDOP); - - rec = (struct mem_rec*) this_port; - - if (rec->eof) { - return PJ_EEOF; - } - - size_written = 0; - endpos = rec->buffer + rec->buf_size; - - while (size_written < frame->size) { - pj_size_t max; - - max = frame->size - size_written; - if ((endpos - rec->write_pos) < (int)max) - max = endpos - rec->write_pos; - - pj_memcpy(rec->write_pos, ((char*)frame->buf)+size_written, max); - size_written += max; - rec->write_pos += max; - - pj_assert(rec->write_pos <= endpos); - - if (rec->write_pos == endpos) { - - /* Rewind */ - rec->write_pos = rec->buffer; - - /* Call callback, if any */ - if (rec->cb) { - pj_status_t status; - - rec->eof = PJ_TRUE; - status = (*rec->cb)(this_port, rec->user_data); - if (status != PJ_SUCCESS) { - /* Must not access recorder from here on. It may be - * destroyed by application. - */ - return status; - } - rec->eof = PJ_FALSE; - } - } - } - - return PJ_SUCCESS; -} - - -static pj_status_t rec_get_frame( pjmedia_port *this_port, - pjmedia_frame *frame) -{ - PJ_ASSERT_RETURN(this_port->info.signature == SIGNATURE, - PJ_EINVALIDOP); - - PJ_UNUSED_ARG(this_port); - - frame->size = 0; - frame->type = PJMEDIA_FRAME_TYPE_NONE; - - return PJ_SUCCESS; -} - - -static pj_status_t rec_on_destroy(pjmedia_port *this_port) -{ - /* Call callback if data was captured - * and we're not in the callback already. - */ - struct mem_rec *rec; - - PJ_ASSERT_RETURN(this_port->info.signature == SIGNATURE, - PJ_EINVALIDOP); - - rec = (struct mem_rec*) this_port; - - if(rec->cb && PJ_FALSE == rec->eof) { - rec->eof = PJ_TRUE; - (*rec->cb)(this_port, rec->user_data); - } - - return PJ_SUCCESS; -} - - diff --git a/res/pjproject/pjmedia/src/pjmedia/mem_player.c b/res/pjproject/pjmedia/src/pjmedia/mem_player.c deleted file mode 100644 index b0b6fa9c33..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/mem_player.c +++ /dev/null @@ -1,224 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - - -#define THIS_FILE "mem_player.c" - -#define SIGNATURE PJMEDIA_SIG_PORT_MEM_PLAYER -#define BYTES_PER_SAMPLE 2 - -struct mem_player -{ - pjmedia_port base; - - unsigned options; - pj_timestamp timestamp; - - char *buffer; - pj_size_t buf_size; - char *read_pos; - - pj_bool_t eof; - void *user_data; - pj_status_t (*cb)(pjmedia_port *port, - void *user_data); - -}; - - -static pj_status_t mem_put_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t mem_get_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t mem_on_destroy(pjmedia_port *this_port); - - -PJ_DEF(pj_status_t) pjmedia_mem_player_create( pj_pool_t *pool, - const void *buffer, - pj_size_t size, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - pjmedia_port **p_port ) -{ - struct mem_player *port; - pj_str_t name = pj_str("memplayer"); - - /* Sanity check */ - PJ_ASSERT_RETURN(pool && buffer && size && clock_rate && channel_count && - samples_per_frame && bits_per_sample && p_port, - PJ_EINVAL); - - /* Can only support 16bit PCM */ - PJ_ASSERT_RETURN(bits_per_sample == 16, PJ_EINVAL); - - - port = PJ_POOL_ZALLOC_T(pool, struct mem_player); - PJ_ASSERT_RETURN(port != NULL, PJ_ENOMEM); - - /* Create the port */ - pjmedia_port_info_init(&port->base.info, &name, SIGNATURE, clock_rate, - channel_count, bits_per_sample, samples_per_frame); - - port->base.put_frame = &mem_put_frame; - port->base.get_frame = &mem_get_frame; - port->base.on_destroy = &mem_on_destroy; - - - /* Save the buffer */ - port->buffer = port->read_pos = (char*)buffer; - port->buf_size = size; - - /* Options */ - port->options = options; - - *p_port = &port->base; - - return PJ_SUCCESS; -} - - - -/* - * Register a callback to be called when the file reading has reached the - * end of buffer. - */ -PJ_DEF(pj_status_t) pjmedia_mem_player_set_eof_cb( pjmedia_port *port, - void *user_data, - pj_status_t (*cb)(pjmedia_port *port, - void *usr_data)) -{ - struct mem_player *player; - - PJ_ASSERT_RETURN(port->info.signature == SIGNATURE, - PJ_EINVALIDOP); - - player = (struct mem_player*) port; - player->user_data = user_data; - player->cb = cb; - - return PJ_SUCCESS; -} - - -static pj_status_t mem_put_frame( pjmedia_port *this_port, - pjmedia_frame *frame) -{ - PJ_UNUSED_ARG(this_port); - PJ_UNUSED_ARG(frame); - - return PJ_SUCCESS; -} - - -static pj_status_t mem_get_frame( pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct mem_player *player; - char *endpos; - pj_size_t size_needed, size_written; - - PJ_ASSERT_RETURN(this_port->info.signature == SIGNATURE, - PJ_EINVALIDOP); - - player = (struct mem_player*) this_port; - - if (player->eof) { - pj_status_t status = PJ_SUCCESS; - - /* Call callback, if any */ - if (player->cb) - status = (*player->cb)(this_port, player->user_data); - - /* If callback returns non PJ_SUCCESS or 'no loop' is specified - * return immediately (and don't try to access player port since - * it might have been destroyed by the callback). - */ - if ((status != PJ_SUCCESS) || (player->options & PJMEDIA_MEM_NO_LOOP)) { - frame->type = PJMEDIA_FRAME_TYPE_NONE; - return PJ_EEOF; - } - - player->eof = PJ_FALSE; - } - - size_needed = PJMEDIA_PIA_AVG_FSZ(&this_port->info); - size_written = 0; - endpos = player->buffer + player->buf_size; - - while (size_written < size_needed) { - char *dst = ((char*)frame->buf) + size_written; - pj_size_t max; - - max = size_needed - size_written; - if (endpos - player->read_pos < (int)max) - max = endpos - player->read_pos; - - pj_memcpy(dst, player->read_pos, max); - size_written += max; - player->read_pos += max; - - pj_assert(player->read_pos <= endpos); - - if (player->read_pos == endpos) { - /* Set EOF flag */ - player->eof = PJ_TRUE; - /* Reset read pointer */ - player->read_pos = player->buffer; - - /* Pad with zeroes then return for no looped play */ - if (player->options & PJMEDIA_MEM_NO_LOOP) { - pj_size_t null_len; - - null_len = size_needed - size_written; - pj_bzero(dst + max, null_len); - break; - } - } - } - - frame->size = PJMEDIA_PIA_AVG_FSZ(&this_port->info); - frame->timestamp.u64 = player->timestamp.u64; - frame->type = PJMEDIA_FRAME_TYPE_AUDIO; - - player->timestamp.u64 += PJMEDIA_PIA_SPF(&this_port->info); - - return PJ_SUCCESS; -} - - -static pj_status_t mem_on_destroy(pjmedia_port *this_port) -{ - PJ_ASSERT_RETURN(this_port->info.signature == SIGNATURE, - PJ_EINVALIDOP); - - /* Destroy signature */ - this_port->info.signature = 0; - - return PJ_SUCCESS; -} - - diff --git a/res/pjproject/pjmedia/src/pjmedia/null_port.c b/res/pjproject/pjmedia/src/pjmedia/null_port.c deleted file mode 100644 index 97b8a8b0c0..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/null_port.c +++ /dev/null @@ -1,101 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - - -#define SIGNATURE PJMEDIA_SIG_PORT_NULL - -static pj_status_t null_get_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t null_put_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t null_on_destroy(pjmedia_port *this_port); - - -PJ_DEF(pj_status_t) pjmedia_null_port_create( pj_pool_t *pool, - unsigned sampling_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - pjmedia_port **p_port ) -{ - pjmedia_port *port; - const pj_str_t name = pj_str("null-port"); - - PJ_ASSERT_RETURN(pool && p_port, PJ_EINVAL); - - port = PJ_POOL_ZALLOC_T(pool, pjmedia_port); - PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); - - pjmedia_port_info_init(&port->info, &name, SIGNATURE, sampling_rate, - channel_count, bits_per_sample, samples_per_frame); - - port->get_frame = &null_get_frame; - port->put_frame = &null_put_frame; - port->on_destroy = &null_on_destroy; - - - *p_port = port; - - return PJ_SUCCESS; -} - - - -/* - * Put frame to file. - */ -static pj_status_t null_put_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - PJ_UNUSED_ARG(this_port); - PJ_UNUSED_ARG(frame); - return PJ_SUCCESS; -} - - -/* - * Get frame from file. - */ -static pj_status_t null_get_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - frame->type = PJMEDIA_FRAME_TYPE_AUDIO; - frame->size = PJMEDIA_PIA_AVG_FSZ(&this_port->info); - frame->timestamp.u32.lo += PJMEDIA_PIA_SPF(&this_port->info); - pjmedia_zero_samples((pj_int16_t*)frame->buf, - PJMEDIA_PIA_SPF(&this_port->info)); - - return PJ_SUCCESS; -} - - -/* - * Destroy port. - */ -static pj_status_t null_on_destroy(pjmedia_port *this_port) -{ - PJ_UNUSED_ARG(this_port); - return PJ_SUCCESS; -} diff --git a/res/pjproject/pjmedia/src/pjmedia/plc_common.c b/res/pjproject/pjmedia/src/pjmedia/plc_common.c deleted file mode 100644 index 18ffd3c596..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/plc_common.c +++ /dev/null @@ -1,164 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - - -static void* plc_wsola_create(pj_pool_t*, unsigned c, unsigned f); -static void plc_wsola_save(void*, pj_int16_t*); -static void plc_wsola_generate(void*, pj_int16_t*); - -/** - * This struct is used internally to represent a PLC backend. - */ -struct plc_alg -{ - void* (*plc_create)(pj_pool_t*, unsigned c, unsigned f); - void (*plc_save)(void*, pj_int16_t*); - void (*plc_generate)(void*, pj_int16_t*); -}; - - -static struct plc_alg plc_wsola = -{ - &plc_wsola_create, - &plc_wsola_save, - &plc_wsola_generate -}; - - -struct pjmedia_plc -{ - void *obj; - struct plc_alg *op; -}; - - -/* - * Create PLC session. This function will select the PLC algorithm to - * use based on the arguments. - */ -PJ_DEF(pj_status_t) pjmedia_plc_create( pj_pool_t *pool, - unsigned clock_rate, - unsigned samples_per_frame, - unsigned options, - pjmedia_plc **p_plc) -{ - pjmedia_plc *plc; - - PJ_ASSERT_RETURN(pool && clock_rate && samples_per_frame && p_plc, - PJ_EINVAL); - PJ_ASSERT_RETURN(options == 0, PJ_EINVAL); - - PJ_UNUSED_ARG(options); - - plc = PJ_POOL_ZALLOC_T(pool, pjmedia_plc); - - plc->op = &plc_wsola; - plc->obj = plc->op->plc_create(pool, clock_rate, samples_per_frame); - - *p_plc = plc; - - return PJ_SUCCESS; -} - - -/* - * Save a good frame to PLC. - */ -PJ_DEF(pj_status_t) pjmedia_plc_save( pjmedia_plc *plc, - pj_int16_t *frame ) -{ - PJ_ASSERT_RETURN(plc && frame, PJ_EINVAL); - - plc->op->plc_save(plc->obj, frame); - return PJ_SUCCESS; -} - - -/* - * Generate a replacement for lost frame. - */ -PJ_DEF(pj_status_t) pjmedia_plc_generate( pjmedia_plc *plc, - pj_int16_t *frame ) -{ - PJ_ASSERT_RETURN(plc && frame, PJ_EINVAL); - - plc->op->plc_generate(plc->obj, frame); - return PJ_SUCCESS; -} - - -////////////////////////////////////////////////////////////////////////////// -/* - * Packet loss concealment based on WSOLA - */ -struct wsola_plc -{ - pjmedia_wsola *wsola; - pj_bool_t prev_lost; -}; - - -static void* plc_wsola_create(pj_pool_t *pool, unsigned clock_rate, - unsigned samples_per_frame) -{ - struct wsola_plc *o; - unsigned flag; - pj_status_t status; - - PJ_UNUSED_ARG(clock_rate); - - o = PJ_POOL_ZALLOC_T(pool, struct wsola_plc); - o->prev_lost = PJ_FALSE; - - flag = PJMEDIA_WSOLA_NO_DISCARD; - if (PJMEDIA_WSOLA_PLC_NO_FADING) - flag |= PJMEDIA_WSOLA_NO_FADING; - - status = pjmedia_wsola_create(pool, clock_rate, samples_per_frame, 1, - flag, &o->wsola); - if (status != PJ_SUCCESS) - return NULL; - - return o; -} - -static void plc_wsola_save(void *plc, pj_int16_t *frame) -{ - struct wsola_plc *o = (struct wsola_plc*) plc; - - pjmedia_wsola_save(o->wsola, frame, o->prev_lost); - o->prev_lost = PJ_FALSE; -} - -static void plc_wsola_generate(void *plc, pj_int16_t *frame) -{ - struct wsola_plc *o = (struct wsola_plc*) plc; - - pjmedia_wsola_generate(o->wsola, frame); - o->prev_lost = PJ_TRUE; -} - - diff --git a/res/pjproject/pjmedia/src/pjmedia/port.c b/res/pjproject/pjmedia/src/pjmedia/port.c deleted file mode 100644 index b7defae5e3..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/port.c +++ /dev/null @@ -1,138 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - -#define THIS_FILE "port.c" - - -/** - * This is an auxiliary function to initialize port info for - * ports which deal with PCM audio. - */ -PJ_DEF(pj_status_t) pjmedia_port_info_init( pjmedia_port_info *info, - const pj_str_t *name, - unsigned signature, - unsigned clock_rate, - unsigned channel_count, - unsigned bits_per_sample, - unsigned samples_per_frame) -{ -#define USEC_IN_SEC (pj_uint64_t)1000000 - unsigned frame_time_usec, avg_bps; - - pj_bzero(info, sizeof(*info)); - - info->signature = signature; - info->dir = PJMEDIA_DIR_ENCODING_DECODING; - info->name = *name; - - frame_time_usec = (unsigned)(samples_per_frame * USEC_IN_SEC / - channel_count / clock_rate); - avg_bps = clock_rate * channel_count * bits_per_sample; - - pjmedia_format_init_audio(&info->fmt, PJMEDIA_FORMAT_L16, clock_rate, - channel_count, bits_per_sample, frame_time_usec, - avg_bps, avg_bps); - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_port_info_init2( pjmedia_port_info *info, - const pj_str_t *name, - unsigned signature, - pjmedia_dir dir, - const pjmedia_format *fmt) -{ - pj_bzero(info, sizeof(*info)); - info->signature = signature; - info->dir = dir; - info->name = *name; - - pjmedia_format_copy(&info->fmt, fmt); - - return PJ_SUCCESS; -} - -/** - * Get a clock source from the port. - */ -PJ_DEF(pjmedia_clock_src *) pjmedia_port_get_clock_src( pjmedia_port *port, - pjmedia_dir dir ) -{ - if (port && port->get_clock_src) - return port->get_clock_src(port, dir); - else - return NULL; -} - -/** - * Get a frame from the port (and subsequent downstream ports). - */ -PJ_DEF(pj_status_t) pjmedia_port_get_frame( pjmedia_port *port, - pjmedia_frame *frame ) -{ - PJ_ASSERT_RETURN(port && frame, PJ_EINVAL); - - if (port->get_frame) - return port->get_frame(port, frame); - else { - frame->type = PJMEDIA_FRAME_TYPE_NONE; - return PJ_EINVALIDOP; - } -} - - -/** - * Put a frame to the port (and subsequent downstream ports). - */ -PJ_DEF(pj_status_t) pjmedia_port_put_frame( pjmedia_port *port, - pjmedia_frame *frame ) -{ - PJ_ASSERT_RETURN(port && frame, PJ_EINVAL); - - if (port->put_frame) - return port->put_frame(port, frame); - else - return PJ_EINVALIDOP; -} - -/** - * Destroy port (and subsequent downstream ports) - */ -PJ_DEF(pj_status_t) pjmedia_port_destroy( pjmedia_port *port ) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(port, PJ_EINVAL); - - if (port->on_destroy) - status = port->on_destroy(port); - else - status = PJ_SUCCESS; - - return status; -} - - - diff --git a/res/pjproject/pjmedia/src/pjmedia/resample_libsamplerate.c b/res/pjproject/pjmedia/src/pjmedia/resample_libsamplerate.c deleted file mode 100644 index 6d1f1a06aa..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/resample_libsamplerate.c +++ /dev/null @@ -1,207 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - -/* - * HOW TO ACTIVATE LIBSAMPLERATE (a.k.a SRC/Secret Rabbit Code) AS - * PJMEDIA'S SAMPLE RATE CONVERSION BACKEND - * - * See README.txt in third_party/samplerate directory. - */ - - -#if PJMEDIA_RESAMPLE_IMP==PJMEDIA_RESAMPLE_LIBSAMPLERATE - -#include "../../third_party/libsamplerate/src/samplerate.h" - -#define THIS_FILE "resample_libsamplerate.c" - -#if defined(_MSC_VER) -# ifdef _DEBUG -# pragma comment( lib, "../../third_party/lib/libsamplerate-i386-win32-vc-debug.lib") -# else -# pragma comment( lib, "../../third_party/lib/libsamplerate-i386-win32-vc-release.lib") -# endif -#endif - - -struct pjmedia_resample -{ - SRC_STATE *state; - unsigned in_samples; - unsigned out_samples; - float *frame_in, *frame_out; - unsigned in_extra, out_extra; - double ratio; -}; - - -PJ_DEF(pj_status_t) pjmedia_resample_create( pj_pool_t *pool, - pj_bool_t high_quality, - pj_bool_t large_filter, - unsigned channel_count, - unsigned rate_in, - unsigned rate_out, - unsigned samples_per_frame, - pjmedia_resample **p_resample) -{ - pjmedia_resample *resample; - int type, err; - - PJ_ASSERT_RETURN(pool && p_resample && rate_in && - rate_out && samples_per_frame, PJ_EINVAL); - - resample = PJ_POOL_ZALLOC_T(pool, pjmedia_resample); - PJ_ASSERT_RETURN(resample, PJ_ENOMEM); - - /* Select conversion type */ - if (high_quality) { - type = large_filter ? SRC_SINC_BEST_QUALITY : SRC_SINC_MEDIUM_QUALITY; - } else { - type = large_filter ? SRC_SINC_FASTEST : SRC_LINEAR; - } - - /* Create converter */ - resample->state = src_new(type, channel_count, &err); - if (resample->state == NULL) { - PJ_LOG(4,(THIS_FILE, "Error creating resample: %s", - src_strerror(err))); - return PJMEDIA_ERROR; - } - - /* Calculate ratio */ - resample->ratio = rate_out * 1.0 / rate_in; - - /* Calculate number of samples for input and output */ - resample->in_samples = samples_per_frame; - resample->out_samples = rate_out / (rate_in / samples_per_frame); - - resample->frame_in = (float*) - pj_pool_calloc(pool, - resample->in_samples + 8, - sizeof(float)); - - resample->frame_out = (float*) - pj_pool_calloc(pool, - resample->out_samples + 8, - sizeof(float)); - - /* Set the converter ratio */ - err = src_set_ratio(resample->state, resample->ratio); - if (err != 0) { - PJ_LOG(4,(THIS_FILE, "Error creating resample: %s", - src_strerror(err))); - return PJMEDIA_ERROR; - } - - /* Done */ - - PJ_LOG(5,(THIS_FILE, - "Resample using libsamplerate %s, type=%s (%s), " - "ch=%d, in/out rate=%d/%d", - src_get_version(), - src_get_name(type), src_get_description(type), - channel_count, rate_in, rate_out)); - - *p_resample = resample; - - return PJ_SUCCESS; -} - - -PJ_DEF(void) pjmedia_resample_run( pjmedia_resample *resample, - const pj_int16_t *input, - pj_int16_t *output ) -{ - SRC_DATA src_data; - - /* Convert samples to float */ - src_short_to_float_array(input, resample->frame_in, - resample->in_samples); - - if (resample->in_extra) { - unsigned i; - - for (i=0; iin_extra; ++i) - resample->frame_in[resample->in_samples+i] = - resample->frame_in[resample->in_samples-1]; - } - - /* Prepare SRC_DATA */ - pj_bzero(&src_data, sizeof(src_data)); - src_data.data_in = resample->frame_in; - src_data.data_out = resample->frame_out; - src_data.input_frames = resample->in_samples + resample->in_extra; - src_data.output_frames = resample->out_samples + resample->out_extra; - src_data.src_ratio = resample->ratio; - - /* Process! */ - src_process(resample->state, &src_data); - - /* Convert output back to short */ - src_float_to_short_array(resample->frame_out, output, - src_data.output_frames_gen); - - /* Replay last sample if conversion couldn't fill up the whole - * frame. This could happen for example with 22050 to 16000 conversion. - */ - if (src_data.output_frames_gen < (int)resample->out_samples) { - unsigned i; - - if (resample->in_extra < 4) - resample->in_extra++; - - for (i=src_data.output_frames_gen; - iout_samples; ++i) - { - output[i] = output[src_data.output_frames_gen-1]; - } - } -} - - -PJ_DEF(unsigned) pjmedia_resample_get_input_size(pjmedia_resample *resample) -{ - PJ_ASSERT_RETURN(resample != NULL, 0); - return resample->in_samples; -} - - -PJ_DEF(void) pjmedia_resample_destroy(pjmedia_resample *resample) -{ - PJ_ASSERT_ON_FAIL(resample, return); - if (resample->state) { - src_delete(resample->state); - resample->state = NULL; - - PJ_LOG(5,(THIS_FILE, "Resample destroyed")); - } -} - -#else /* PJMEDIA_RESAMPLE_IMP==PJMEDIA_RESAMPLE_LIBSAMPLERATE */ - -int pjmedia_libsamplerate_excluded; - -#endif /* PJMEDIA_RESAMPLE_IMP==PJMEDIA_RESAMPLE_LIBSAMPLERATE */ - diff --git a/res/pjproject/pjmedia/src/pjmedia/resample_port.c b/res/pjproject/pjmedia/src/pjmedia/resample_port.c deleted file mode 100644 index 5991877e0d..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/resample_port.c +++ /dev/null @@ -1,232 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - - -#define BYTES_PER_SAMPLE 2 -#define SIGNATURE PJMEDIA_SIG_PORT_RESAMPLE - - -struct resample_port -{ - pjmedia_port base; - pjmedia_port *dn_port; - unsigned options; - pjmedia_resample *resample_get; - pjmedia_resample *resample_put; - pj_int16_t *get_buf; - pj_int16_t *put_buf; -}; - - - -static pj_status_t resample_put_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t resample_get_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t resample_destroy(pjmedia_port *this_port); - - - -PJ_DEF(pj_status_t) pjmedia_resample_port_create( pj_pool_t *pool, - pjmedia_port *dn_port, - unsigned clock_rate, - unsigned opt, - pjmedia_port **p_port ) -{ - const pj_str_t name = pj_str("resample"); - struct resample_port *rport; - pjmedia_audio_format_detail *d_afd, *r_afd; - pj_status_t status; - - /* Validate arguments. */ - PJ_ASSERT_RETURN(pool && dn_port && clock_rate && p_port, PJ_EINVAL); - - /* Only supports 16bit samples per frame */ - PJ_ASSERT_RETURN(PJMEDIA_PIA_BITS(&dn_port->info) == 16, PJMEDIA_ENCBITS); - - d_afd = pjmedia_format_get_audio_format_detail(&dn_port->info.fmt, 1); - - /* Create and initialize port. */ - rport = PJ_POOL_ZALLOC_T(pool, struct resample_port); - PJ_ASSERT_RETURN(rport != NULL, PJ_ENOMEM); - - pjmedia_port_info_init(&rport->base.info, &name, SIGNATURE, clock_rate, - d_afd->channel_count, BYTES_PER_SAMPLE * 8, - clock_rate * d_afd->frame_time_usec / 1000000); - - rport->dn_port = dn_port; - rport->options = opt; - - r_afd = pjmedia_format_get_audio_format_detail(&rport->base.info.fmt, 1); - - /* Create buffers. - * We need separate buffer for get_frame() and put_frame() since - * both functions may run simultaneously. - */ - rport->get_buf = (pj_int16_t*) - pj_pool_alloc(pool, PJMEDIA_PIA_AVG_FSZ(&dn_port->info)); - PJ_ASSERT_RETURN(rport->get_buf != NULL, PJ_ENOMEM); - - rport->put_buf = (pj_int16_t*) - pj_pool_alloc(pool, PJMEDIA_PIA_AVG_FSZ(&dn_port->info)); - PJ_ASSERT_RETURN(rport->put_buf != NULL, PJ_ENOMEM); - - - /* Create "get_frame" resample */ - status = pjmedia_resample_create(pool, - (opt&PJMEDIA_RESAMPLE_USE_LINEAR)==0, - (opt&PJMEDIA_RESAMPLE_USE_SMALL_FILTER)==0, - d_afd->channel_count, - d_afd->clock_rate, - r_afd->clock_rate, - PJMEDIA_PIA_SPF(&dn_port->info), - &rport->resample_get); - if (status != PJ_SUCCESS) - return status; - - /* Create "put_frame" resample */ - status = pjmedia_resample_create(pool, - (opt&PJMEDIA_RESAMPLE_USE_LINEAR)==0, - (opt&PJMEDIA_RESAMPLE_USE_SMALL_FILTER)==0, - d_afd->channel_count, - r_afd->clock_rate, - d_afd->clock_rate, - PJMEDIA_PIA_SPF(&rport->base.info), - &rport->resample_put); - - /* Media port interface */ - rport->base.get_frame = &resample_get_frame; - rport->base.put_frame = &resample_put_frame; - rport->base.on_destroy = &resample_destroy; - - - /* Done */ - *p_port = &rport->base; - - return PJ_SUCCESS; -} - - - -static pj_status_t resample_put_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct resample_port *rport = (struct resample_port*) this_port; - pjmedia_frame downstream_frame; - - /* Return if we don't have downstream port. */ - if (rport->dn_port == NULL) { - return PJ_SUCCESS; - } - - if (frame->type == PJMEDIA_FRAME_TYPE_AUDIO) { - pjmedia_resample_run( rport->resample_put, - (const pj_int16_t*) frame->buf, - rport->put_buf); - - downstream_frame.buf = rport->put_buf; - downstream_frame.size = PJMEDIA_PIA_AVG_FSZ(&rport->dn_port->info); - } else { - downstream_frame.buf = frame->buf; - downstream_frame.size = frame->size; - } - - downstream_frame.type = frame->type; - downstream_frame.timestamp.u64 = frame->timestamp.u64; - - return pjmedia_port_put_frame( rport->dn_port, &downstream_frame ); -} - - - -static pj_status_t resample_get_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct resample_port *rport = (struct resample_port*) this_port; - pjmedia_frame tmp_frame; - pj_status_t status; - - /* Return silence if we don't have downstream port */ - if (rport->dn_port == NULL) { - pj_bzero(frame->buf, frame->size); - return PJ_SUCCESS; - } - - tmp_frame.buf = rport->get_buf; - tmp_frame.size = PJMEDIA_PIA_AVG_FSZ(&rport->dn_port->info); - tmp_frame.timestamp.u64 = frame->timestamp.u64; - tmp_frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - - status = pjmedia_port_get_frame( rport->dn_port, &tmp_frame); - if (status != PJ_SUCCESS) - return status; - - if (tmp_frame.type != PJMEDIA_FRAME_TYPE_AUDIO) { - frame->type = tmp_frame.type; - frame->timestamp = tmp_frame.timestamp; - /* Copy whatever returned as long as the buffer size is enough */ - frame->size = tmp_frame.size < PJMEDIA_PIA_AVG_FSZ(&rport->base.info) ? - tmp_frame.size : PJMEDIA_PIA_AVG_FSZ(&rport->base.info); - if (tmp_frame.size) { - pjmedia_copy_samples((pj_int16_t*)frame->buf, - (const pj_int16_t*)tmp_frame.buf, - frame->size >> 1); - } - return PJ_SUCCESS; - } - - pjmedia_resample_run( rport->resample_get, - (const pj_int16_t*) tmp_frame.buf, - (pj_int16_t*) frame->buf); - - frame->size = PJMEDIA_PIA_AVG_FSZ(&rport->base.info); - frame->type = PJMEDIA_FRAME_TYPE_AUDIO; - - return PJ_SUCCESS; -} - - -static pj_status_t resample_destroy(pjmedia_port *this_port) -{ - struct resample_port *rport = (struct resample_port*) this_port; - - if ((rport->options & PJMEDIA_RESAMPLE_DONT_DESTROY_DN)==0) { - pjmedia_port_destroy(rport->dn_port); - rport->dn_port = NULL; - } - - if (rport->resample_get) { - pjmedia_resample_destroy(rport->resample_get); - rport->resample_get = NULL; - } - - if (rport->resample_put) { - pjmedia_resample_destroy(rport->resample_put); - rport->resample_put = NULL; - } - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/resample_resample.c b/res/pjproject/pjmedia/src/pjmedia/resample_resample.c deleted file mode 100644 index 7f1066fd2d..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/resample_resample.c +++ /dev/null @@ -1,346 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include - -#include -#include -#include -#include - - -#if PJMEDIA_RESAMPLE_IMP==PJMEDIA_RESAMPLE_LIBRESAMPLE - -#include - -#define THIS_FILE "resample.c" - - - -struct pjmedia_resample -{ - double factor; /* Conversion factor = rate_out / rate_in. */ - pj_bool_t large_filter; /* Large filter? */ - pj_bool_t high_quality; /* Not fast? */ - unsigned xoff; /* History and lookahead size, in samples */ - unsigned frame_size; /* Samples per frame. */ - unsigned channel_cnt; /* Channel count. */ - - /* Buffer for monochannel */ - pj_int16_t *buffer; /* Input buffer. */ - - /* Buffer for multichannel */ - pj_int16_t **in_buffer; /* Array of input buffer for each channel. */ - pj_int16_t *tmp_buffer; /* Temporary output buffer for processing. */ -}; - - -PJ_DEF(pj_status_t) pjmedia_resample_create( pj_pool_t *pool, - pj_bool_t high_quality, - pj_bool_t large_filter, - unsigned channel_count, - unsigned rate_in, - unsigned rate_out, - unsigned samples_per_frame, - pjmedia_resample **p_resample) -{ - pjmedia_resample *resample; - - PJ_ASSERT_RETURN(pool && p_resample && rate_in && - rate_out && samples_per_frame, PJ_EINVAL); - - resample = PJ_POOL_ZALLOC_T(pool, pjmedia_resample); - PJ_ASSERT_RETURN(resample, PJ_ENOMEM); - - /* - * If we're downsampling, always use the fast algorithm since it seems - * to yield the same quality. - */ - if (rate_out < rate_in) { - //no this is not a good idea. It sounds pretty good with speech, - //but very poor with background noise etc. - //high_quality = 0; - } - - resample->factor = rate_out * 1.0 / rate_in; - resample->large_filter = large_filter; - resample->high_quality = high_quality; - resample->channel_cnt = channel_count; - resample->frame_size = samples_per_frame; - - if (high_quality) { - /* This is a bug in xoff calculation, thanks Stephane Lussier - * of Macadamian dot com. - * resample->xoff = large_filter ? 32 : 6; - */ - resample->xoff = res_GetXOFF(resample->factor, (char)large_filter); - } else { - resample->xoff = 1; - } - - if (channel_count == 1) { - unsigned size; - - /* Allocate input buffer */ - size = (samples_per_frame + 2*resample->xoff) * sizeof(pj_int16_t); - resample->buffer = (pj_int16_t*) pj_pool_alloc(pool, size); - PJ_ASSERT_RETURN(resample->buffer, PJ_ENOMEM); - - pjmedia_zero_samples(resample->buffer, resample->xoff*2); - - } else if (channel_count > 1) { - unsigned i, size; - - /* Allocate input buffer table */ - size = channel_count * sizeof(pj_int16_t*); - resample->in_buffer = (pj_int16_t**)pj_pool_alloc(pool, size); - - /* Allocate input buffer */ - size = (samples_per_frame/channel_count + 2*resample->xoff) * - sizeof(pj_int16_t); - for (i = 0; i < channel_count; ++i) { - resample->in_buffer[i] = (pj_int16_t*)pj_pool_alloc(pool, size); - PJ_ASSERT_RETURN(resample->in_buffer, PJ_ENOMEM); - pjmedia_zero_samples(resample->in_buffer[i], resample->xoff*2); - } - - /* Allocate temporary output buffer */ - size = (unsigned) (resample->frame_size * sizeof(pj_int16_t) * - resample->factor / channel_count + 0.5); - resample->tmp_buffer = (pj_int16_t*) pj_pool_alloc(pool, size); - PJ_ASSERT_RETURN(resample->tmp_buffer, PJ_ENOMEM); - } - - *p_resample = resample; - - PJ_LOG(5,(THIS_FILE, "resample created: %s qualiy, %s filter, in/out " - "rate=%d/%d", - (high_quality?"high":"low"), - (large_filter?"large":"small"), - rate_in, rate_out)); - return PJ_SUCCESS; -} - - - -PJ_DEF(void) pjmedia_resample_run( pjmedia_resample *resample, - const pj_int16_t *input, - pj_int16_t *output ) -{ - PJ_ASSERT_ON_FAIL(resample, return); - - /* Okay chaps, here's how we do resampling. - * - * The original resample algorithm requires xoff samples *before* the - * input buffer as history, and another xoff samples *after* the - * end of the input buffer as lookahead. Since application can only - * supply framesize buffer on each run, PJMEDIA needs to arrange the - * buffer to meet these requirements. - * - * So here comes the trick. - * - * First of all, because of the history and lookahead requirement, - * resample->buffer need to accomodate framesize+2*xoff samples in its - * buffer. This is done when the buffer is created. - * - * On the first run, the input frame (supplied by application) is - * copied to resample->buffer at 2*xoff position. The first 2*xoff - * samples are initially zeroed (in the initialization). The resample - * algorithm then invoked at resample->buffer+xoff ONLY, thus giving - * it one xoff at the beginning as zero, and one xoff at the end - * as the end of the original input. The resample algorithm will see - * that the first xoff samples in the input as zero. - * - * So here's the layout of resample->buffer on the first run. - * - * run 0 - * +------+------+--------------+ - * | 0000 | 0000 | frame0... | - * +------+------+--------------+ - * ^ ^ ^ ^ - * 0 xoff 2*xoff size+2*xoff - * - * (Note again: resample algorithm is called at resample->buffer+xoff) - * - * At the end of the run, 2*xoff samples from the end of - * resample->buffer are copied to the beginning of resample->buffer. - * The first xoff part of this will be used as history for the next - * run, and the second xoff part of this is actually the start of - * resampling for the next run. - * - * And the first run completes, the function returns. - * - * - * On the next run, the input frame supplied by application is again - * copied at 2*xoff position in the resample->buffer, and the - * resample algorithm is again invoked at resample->buffer+xoff - * position. So effectively, the resample algorithm will start its - * operation on the last xoff from the previous frame, and gets the - * history from the last 2*xoff of the previous frame, and the look- - * ahead from the last xoff of current frame. - * - * So on this run, the buffer layout is: - * - * run 1 - * +------+------+--------------+ - * | frm0 | frm0 | frame1... | - * +------+------+--------------+ - * ^ ^ ^ ^ - * 0 xoff 2*xoff size+2*xoff - * - * As you can see from above diagram, the resampling algorithm is - * actually called from the last xoff part of previous frame (frm0). - * - * And so on the process continues for the next frame, and the next, - * and the next, ... - * - */ - if (resample->channel_cnt == 1) { - pj_int16_t *dst_buf; - const pj_int16_t *src_buf; - - /* Prepare input frame */ - dst_buf = resample->buffer + resample->xoff*2; - pjmedia_copy_samples(dst_buf, input, resample->frame_size); - - /* Resample */ - if (resample->high_quality) { - res_Resample(resample->buffer + resample->xoff, output, - resample->factor, (pj_uint16_t)resample->frame_size, - (char)resample->large_filter, (char)PJ_TRUE); - } else { - res_SrcLinear(resample->buffer + resample->xoff, output, - resample->factor, (pj_uint16_t)resample->frame_size); - } - - /* Update history */ - dst_buf = resample->buffer; - src_buf = input + resample->frame_size - resample->xoff*2; - pjmedia_copy_samples(dst_buf, src_buf, resample->xoff * 2); - - } else { /* Multichannel */ - unsigned i, j; - - for (i = 0; i < resample->channel_cnt; ++i) { - pj_int16_t *dst_buf; - const pj_int16_t *src_buf; - unsigned mono_frm_sz_in; - unsigned mono_frm_sz_out; - - mono_frm_sz_in = resample->frame_size / resample->channel_cnt; - mono_frm_sz_out = (unsigned)(mono_frm_sz_in * resample->factor + 0.5); - - /* Deinterleave input */ - dst_buf = resample->in_buffer[i] + resample->xoff*2; - src_buf = input + i; - for (j = 0; j < mono_frm_sz_in; ++j) { - *dst_buf++ = *src_buf; - src_buf += resample->channel_cnt; - } - - /* Resample this channel */ - if (resample->high_quality) { - res_Resample(resample->in_buffer[i] + resample->xoff, - resample->tmp_buffer, resample->factor, - (pj_uint16_t)mono_frm_sz_in, - (char)resample->large_filter, (char)PJ_TRUE); - } else { - res_SrcLinear( resample->in_buffer[i], - resample->tmp_buffer, - resample->factor, - (pj_uint16_t)mono_frm_sz_in); - } - - /* Update history */ - dst_buf = resample->in_buffer[i]; - src_buf = resample->in_buffer[i] + mono_frm_sz_in; - pjmedia_copy_samples(dst_buf, src_buf, resample->xoff * 2); - - /* Reinterleave output */ - dst_buf = output + i; - src_buf = resample->tmp_buffer; - for (j = 0; j < mono_frm_sz_out; ++j) { - *dst_buf = *src_buf++; - dst_buf += resample->channel_cnt; - } - } - } -} - -PJ_DEF(unsigned) pjmedia_resample_get_input_size(pjmedia_resample *resample) -{ - PJ_ASSERT_RETURN(resample != NULL, 0); - return resample->frame_size; -} - -PJ_DEF(void) pjmedia_resample_destroy(pjmedia_resample *resample) -{ - PJ_UNUSED_ARG(resample); -} - - -#elif PJMEDIA_RESAMPLE_IMP==PJMEDIA_RESAMPLE_NONE - -/* - * This is the configuration when sample rate conversion is disabled. - */ -PJ_DEF(pj_status_t) pjmedia_resample_create( pj_pool_t *pool, - pj_bool_t high_quality, - pj_bool_t large_filter, - unsigned channel_count, - unsigned rate_in, - unsigned rate_out, - unsigned samples_per_frame, - pjmedia_resample **p_resample) -{ - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(high_quality); - PJ_UNUSED_ARG(large_filter); - PJ_UNUSED_ARG(channel_count); - PJ_UNUSED_ARG(rate_in); - PJ_UNUSED_ARG(rate_out); - PJ_UNUSED_ARG(samples_per_frame); - PJ_UNUSED_ARG(p_resample); - - return PJ_EINVALIDOP; -} - -PJ_DEF(void) pjmedia_resample_run( pjmedia_resample *resample, - const pj_int16_t *input, - pj_int16_t *output ) -{ - PJ_UNUSED_ARG(resample); - PJ_UNUSED_ARG(input); - PJ_UNUSED_ARG(output); -} - -PJ_DEF(unsigned) pjmedia_resample_get_input_size(pjmedia_resample *resample) -{ - PJ_UNUSED_ARG(resample); - return 0; -} - -PJ_DEF(void) pjmedia_resample_destroy(pjmedia_resample *resample) -{ - PJ_UNUSED_ARG(resample); -} - -#endif /* PJMEDIA_RESAMPLE_IMP */ - diff --git a/res/pjproject/pjmedia/src/pjmedia/resample_speex.c b/res/pjproject/pjmedia/src/pjmedia/resample_speex.c deleted file mode 100644 index af28f407c3..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/resample_speex.c +++ /dev/null @@ -1,127 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - -#if PJMEDIA_RESAMPLE_IMP==PJMEDIA_RESAMPLE_SPEEX - -#include - -#define THIS_FILE "resample_speex.c" - - -struct pjmedia_resample -{ - SpeexResamplerState *state; - unsigned in_samples_per_frame; - unsigned out_samples_per_frame; -}; - - -PJ_DEF(pj_status_t) pjmedia_resample_create( pj_pool_t *pool, - pj_bool_t high_quality, - pj_bool_t large_filter, - unsigned channel_count, - unsigned rate_in, - unsigned rate_out, - unsigned samples_per_frame, - pjmedia_resample **p_resample) -{ - pjmedia_resample *resample; - int quality; - int err; - - PJ_ASSERT_RETURN(pool && p_resample && rate_in && - rate_out && samples_per_frame, PJ_EINVAL); - - resample = PJ_POOL_ZALLOC_T(pool, pjmedia_resample); - PJ_ASSERT_RETURN(resample, PJ_ENOMEM); - - if (high_quality) { - if (large_filter) - quality = 10; - else - quality = 7; - } else { - quality = 3; - } - - resample->in_samples_per_frame = samples_per_frame; - resample->out_samples_per_frame = rate_out / (rate_in / samples_per_frame); - resample->state = speex_resampler_init(channel_count, rate_in, rate_out, - quality, &err); - if (resample->state == NULL || err != RESAMPLER_ERR_SUCCESS) - return PJ_ENOMEM; - - - *p_resample = resample; - - PJ_LOG(5,(THIS_FILE, - "resample created: quality=%d, ch=%d, in/out rate=%d/%d", - quality, channel_count, rate_in, rate_out)); - return PJ_SUCCESS; -} - - -PJ_DEF(void) pjmedia_resample_run( pjmedia_resample *resample, - const pj_int16_t *input, - pj_int16_t *output ) -{ - spx_uint32_t in_length, out_length; - - PJ_ASSERT_ON_FAIL(resample, return); - - in_length = resample->in_samples_per_frame; - out_length = resample->out_samples_per_frame; - - speex_resampler_process_interleaved_int(resample->state, - (const __int16 *)input, &in_length, - (__int16 *)output, &out_length); - - pj_assert(in_length == resample->in_samples_per_frame); - pj_assert(out_length == resample->out_samples_per_frame); -} - - -PJ_DEF(unsigned) pjmedia_resample_get_input_size(pjmedia_resample *resample) -{ - PJ_ASSERT_RETURN(resample != NULL, 0); - return resample->in_samples_per_frame; -} - - -PJ_DEF(void) pjmedia_resample_destroy(pjmedia_resample *resample) -{ - PJ_ASSERT_ON_FAIL(resample, return); - if (resample->state) { - speex_resampler_destroy(resample->state); - resample->state = NULL; - } -} - -#else /* PJMEDIA_RESAMPLE_IMP==PJMEDIA_RESAMPLE_SPEEX */ - -int pjmedia_resample_speex_excluded; - -#endif /* PJMEDIA_RESAMPLE_IMP==PJMEDIA_RESAMPLE_SPEEX */ - diff --git a/res/pjproject/pjmedia/src/pjmedia/rtcp.c b/res/pjproject/pjmedia/src/pjmedia/rtcp.c deleted file mode 100644 index 52274155ab..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/rtcp.c +++ /dev/null @@ -1,1104 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "rtcp.c" - -#define RTCP_SR 200 -#define RTCP_RR 201 -#define RTCP_SDES 202 -#define RTCP_BYE 203 -#define RTCP_XR 207 - -enum { - RTCP_SDES_NULL = 0, - RTCP_SDES_CNAME = 1, - RTCP_SDES_NAME = 2, - RTCP_SDES_EMAIL = 3, - RTCP_SDES_PHONE = 4, - RTCP_SDES_LOC = 5, - RTCP_SDES_TOOL = 6, - RTCP_SDES_NOTE = 7 -}; - -#if PJ_HAS_HIGH_RES_TIMER==0 -# error "High resolution timer needs to be enabled" -#endif - - - -#if 0 -# define TRACE_(x) PJ_LOG(3,x) -#else -# define TRACE_(x) ; -#endif - - -/* - * Get NTP time. - */ -PJ_DEF(pj_status_t) pjmedia_rtcp_get_ntp_time(const pjmedia_rtcp_session *sess, - pjmedia_rtcp_ntp_rec *ntp) -{ -/* Seconds between 1900-01-01 to 1970-01-01 */ -#define JAN_1970 (2208988800UL) - pj_timestamp ts; - pj_status_t status; - - status = pj_get_timestamp(&ts); - - /* Fill up the high 32bit part */ - ntp->hi = (pj_uint32_t)((ts.u64 - sess->ts_base.u64) / sess->ts_freq.u64) - + sess->tv_base.sec + JAN_1970; - - /* Calculate seconds fractions */ - ts.u64 = (ts.u64 - sess->ts_base.u64) % sess->ts_freq.u64; - pj_assert(ts.u64 < sess->ts_freq.u64); - ts.u64 = (ts.u64 << 32) / sess->ts_freq.u64; - - /* Fill up the low 32bit part */ - ntp->lo = ts.u32.lo; - - -#if (defined(PJ_WIN32) && PJ_WIN32!=0) || \ - (defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0) - - /* On Win32, since we use QueryPerformanceCounter() as the backend - * timestamp API, we need to protect against this bug: - * Performance counter value may unexpectedly leap forward - * http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q274323 - */ - { - /* - * Compare elapsed time reported by timestamp with actual elapsed - * time. If the difference is too excessive, then we use system - * time instead. - */ - - /* MIN_DIFF needs to be large enough so that "normal" diff caused - * by system activity or context switch doesn't trigger the time - * correction. - */ - enum { MIN_DIFF = 400 }; - - pj_time_val ts_time, elapsed, diff; - - pj_gettimeofday(&elapsed); - - ts_time.sec = ntp->hi - sess->tv_base.sec - JAN_1970; - ts_time.msec = (long)(ntp->lo * 1000.0 / 0xFFFFFFFF); - - PJ_TIME_VAL_SUB(elapsed, sess->tv_base); - - if (PJ_TIME_VAL_LT(ts_time, elapsed)) { - diff = elapsed; - PJ_TIME_VAL_SUB(diff, ts_time); - } else { - diff = ts_time; - PJ_TIME_VAL_SUB(diff, elapsed); - } - - if (PJ_TIME_VAL_MSEC(diff) >= MIN_DIFF) { - - TRACE_((sess->name, "RTCP NTP timestamp corrected by %d ms", - PJ_TIME_VAL_MSEC(diff))); - - - ntp->hi = elapsed.sec + sess->tv_base.sec + JAN_1970; - ntp->lo = (elapsed.msec * 65536 / 1000) << 16; - } - - } -#endif - - return status; -} - - -/* - * Initialize RTCP session setting. - */ -PJ_DEF(void) pjmedia_rtcp_session_setting_default( - pjmedia_rtcp_session_setting *settings) -{ - pj_bzero(settings, sizeof(*settings)); -} - - -/* - * Initialize bidirectional RTCP statistics. - * - */ -PJ_DEF(void) pjmedia_rtcp_init_stat(pjmedia_rtcp_stat *stat) -{ - pj_time_val now; - - pj_assert(stat); - - pj_bzero(stat, sizeof(pjmedia_rtcp_stat)); - - pj_math_stat_init(&stat->rtt); - pj_math_stat_init(&stat->rx.loss_period); - pj_math_stat_init(&stat->rx.jitter); - pj_math_stat_init(&stat->tx.loss_period); - pj_math_stat_init(&stat->tx.jitter); - -#if defined(PJMEDIA_RTCP_STAT_HAS_IPDV) && PJMEDIA_RTCP_STAT_HAS_IPDV!=0 - pj_math_stat_init(&stat->rx_ipdv); -#endif - -#if defined(PJMEDIA_RTCP_STAT_HAS_RAW_JITTER) && PJMEDIA_RTCP_STAT_HAS_RAW_JITTER!=0 - pj_math_stat_init(&stat->rx_raw_jitter); -#endif - - pj_gettimeofday(&now); - stat->start = now; -} - - -/* - * Initialize RTCP session. - */ -PJ_DEF(void) pjmedia_rtcp_init(pjmedia_rtcp_session *sess, - char *name, - unsigned clock_rate, - unsigned samples_per_frame, - pj_uint32_t ssrc) -{ - pjmedia_rtcp_session_setting settings; - - pjmedia_rtcp_session_setting_default(&settings); - settings.name = name; - settings.clock_rate = clock_rate; - settings.samples_per_frame = samples_per_frame; - settings.ssrc = ssrc; - - pjmedia_rtcp_init2(sess, &settings); -} - - -/* - * Initialize RTCP session. - */ -PJ_DEF(void) pjmedia_rtcp_init2( pjmedia_rtcp_session *sess, - const pjmedia_rtcp_session_setting *settings) -{ - pjmedia_rtcp_sr_pkt *sr_pkt = &sess->rtcp_sr_pkt; - pj_time_val now; - - /* Memset everything */ - pj_bzero(sess, sizeof(pjmedia_rtcp_session)); - - /* Last RX timestamp in RTP packet */ - sess->rtp_last_ts = (unsigned)-1; - - /* Name */ - sess->name = settings->name ? settings->name : (char*)THIS_FILE; - - /* Set clock rate */ - sess->clock_rate = settings->clock_rate; - sess->pkt_size = settings->samples_per_frame; - - /* Init common RTCP SR header */ - sr_pkt->common.version = 2; - sr_pkt->common.count = 1; - sr_pkt->common.pt = RTCP_SR; - sr_pkt->common.length = pj_htons(12); - sr_pkt->common.ssrc = pj_htonl(settings->ssrc); - - /* Copy to RTCP RR header */ - pj_memcpy(&sess->rtcp_rr_pkt.common, &sr_pkt->common, - sizeof(pjmedia_rtcp_common)); - sess->rtcp_rr_pkt.common.pt = RTCP_RR; - sess->rtcp_rr_pkt.common.length = pj_htons(7); - - /* Get time and timestamp base and frequency */ - pj_gettimeofday(&now); - sess->tv_base = now; - pj_get_timestamp(&sess->ts_base); - pj_get_timestamp_freq(&sess->ts_freq); - sess->rtp_ts_base = settings->rtp_ts_base; - - /* Initialize statistics states */ - pjmedia_rtcp_init_stat(&sess->stat); - - /* RR will be initialized on receipt of the first RTP packet. */ -} - - -PJ_DEF(void) pjmedia_rtcp_fini(pjmedia_rtcp_session *sess) -{ -#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) - pjmedia_rtcp_xr_fini(&sess->xr_session); -#else - /* Nothing to do. */ - PJ_UNUSED_ARG(sess); -#endif -} - -static void rtcp_init_seq(pjmedia_rtcp_session *sess) -{ - sess->received = 0; - sess->exp_prior = 0; - sess->rx_prior = 0; - sess->transit = 0; - sess->jitter = 0; -} - -PJ_DEF(void) pjmedia_rtcp_rx_rtp( pjmedia_rtcp_session *sess, - unsigned seq, - unsigned rtp_ts, - unsigned payload) -{ - pjmedia_rtcp_rx_rtp2(sess, seq, rtp_ts, payload, PJ_FALSE); -} - -PJ_DEF(void) pjmedia_rtcp_rx_rtp2(pjmedia_rtcp_session *sess, - unsigned seq, - unsigned rtp_ts, - unsigned payload, - pj_bool_t discarded) -{ - pj_timestamp ts; - pj_uint32_t arrival; - pj_int32_t transit; - pjmedia_rtp_status seq_st; - unsigned last_seq; - -#if !defined(PJMEDIA_HAS_RTCP_XR) || (PJMEDIA_HAS_RTCP_XR == 0) - PJ_UNUSED_ARG(discarded); -#endif - - if (sess->stat.rx.pkt == 0) { - /* Init sequence for the first time. */ - pjmedia_rtp_seq_init(&sess->seq_ctrl, (pj_uint16_t)seq); - } - - sess->stat.rx.pkt++; - sess->stat.rx.bytes += payload; - - /* Process the RTP packet. */ - last_seq = sess->seq_ctrl.max_seq; - pjmedia_rtp_seq_update(&sess->seq_ctrl, (pj_uint16_t)seq, &seq_st); - - if (seq_st.status.flag.restart) { - rtcp_init_seq(sess); - } - - if (seq_st.status.flag.dup) { - sess->stat.rx.dup++; - TRACE_((sess->name, "Duplicate packet detected")); - } - - if (seq_st.status.flag.outorder && !seq_st.status.flag.probation) { - sess->stat.rx.reorder++; - TRACE_((sess->name, "Out-of-order packet detected")); - } - - if (seq_st.status.flag.bad) { - sess->stat.rx.discard++; - -#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) - pjmedia_rtcp_xr_rx_rtp(&sess->xr_session, seq, - -1, /* lost */ - (seq_st.status.flag.dup? 1:0), /* dup */ - (!seq_st.status.flag.dup? 1:-1), /* discard */ - -1, /* jitter */ - -1, 0); /* toh */ -#endif - - TRACE_((sess->name, "Bad packet discarded")); - return; - } - - /* Only mark "good" packets */ - ++sess->received; - - /* Calculate loss periods. */ - if (seq_st.diff > 1) { - unsigned count = seq_st.diff - 1; - unsigned period; - - period = count * sess->pkt_size * 1000 / sess->clock_rate; - period *= 1000; - - /* Update packet lost. - * The packet lost number will also be updated when we're sending - * outbound RTCP RR. - */ - sess->stat.rx.loss += (seq_st.diff - 1); - TRACE_((sess->name, "%d packet(s) lost", seq_st.diff - 1)); - - /* Update loss period stat */ - pj_math_stat_update(&sess->stat.rx.loss_period, period); - } - - - /* - * Calculate jitter only when sequence is good (see RFC 3550 section A.8), - * AND only when the timestamp is different than the last packet - * (see RTP FAQ). - */ - if (seq_st.diff == 1 && rtp_ts != sess->rtp_last_ts) { - /* Get arrival time and convert timestamp to samples */ - pj_get_timestamp(&ts); - ts.u64 = ts.u64 * sess->clock_rate / sess->ts_freq.u64; - arrival = ts.u32.lo; - - transit = arrival - rtp_ts; - - /* Ignore the first N packets as they normally have bad jitter - * due to other threads working to establish the call - */ - if (sess->transit == 0 || - sess->received < PJMEDIA_RTCP_IGNORE_FIRST_PACKETS) - { - sess->transit = transit; - sess->stat.rx.jitter.min = (unsigned)-1; - } else { - pj_int32_t d; - pj_uint32_t jitter; - - d = transit - sess->transit; - if (d < 0) - d = -d; - - sess->jitter += d - ((sess->jitter + 8) >> 4); - - /* Update jitter stat */ - jitter = sess->jitter >> 4; - - /* Convert jitter unit from samples to usec */ - if (jitter < 4294) - jitter = jitter * 1000000 / sess->clock_rate; - else { - jitter = jitter * 1000 / sess->clock_rate; - jitter *= 1000; - } - pj_math_stat_update(&sess->stat.rx.jitter, jitter); - - -#if defined(PJMEDIA_RTCP_STAT_HAS_RAW_JITTER) && PJMEDIA_RTCP_STAT_HAS_RAW_JITTER!=0 - { - pj_uint32_t raw_jitter; - - /* Convert raw jitter unit from samples to usec */ - if (d < 4294) - raw_jitter = d * 1000000 / sess->clock_rate; - else { - raw_jitter = d * 1000 / sess->clock_rate; - raw_jitter *= 1000; - } - - /* Update jitter stat */ - pj_math_stat_update(&sess->stat.rx_raw_jitter, raw_jitter); - } -#endif - - -#if defined(PJMEDIA_RTCP_STAT_HAS_IPDV) && PJMEDIA_RTCP_STAT_HAS_IPDV!=0 - { - pj_int32_t ipdv; - - ipdv = transit - sess->transit; - /* Convert IPDV unit from samples to usec */ - if (ipdv > -2147 && ipdv < 2147) - ipdv = ipdv * 1000000 / (int)sess->clock_rate; - else { - ipdv = ipdv * 1000 / (int)sess->clock_rate; - ipdv *= 1000; - } - - /* Update jitter stat */ - pj_math_stat_update(&sess->stat.rx_ipdv, ipdv); - } -#endif - -#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) - pjmedia_rtcp_xr_rx_rtp(&sess->xr_session, seq, - 0, /* lost */ - 0, /* dup */ - discarded, /* discard */ - (sess->jitter >> 4), /* jitter */ - -1, 0); /* toh */ -#endif - - /* Update session transit */ - sess->transit = transit; - } -#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) - } else if (seq_st.diff > 1) { - int i; - - /* Report RTCP XR about packet losses */ - for (i=seq_st.diff-1; i>0; --i) { - pjmedia_rtcp_xr_rx_rtp(&sess->xr_session, seq - i, - 1, /* lost */ - 0, /* dup */ - 0, /* discard */ - -1, /* jitter */ - -1, 0); /* toh */ - } - - /* Report RTCP XR this packet */ - pjmedia_rtcp_xr_rx_rtp(&sess->xr_session, seq, - 0, /* lost */ - 0, /* dup */ - discarded, /* discard */ - -1, /* jitter */ - -1, 0); /* toh */ -#endif - } - - /* Update timestamp of last RX RTP packet */ - sess->rtp_last_ts = rtp_ts; -} - -PJ_DEF(void) pjmedia_rtcp_tx_rtp(pjmedia_rtcp_session *sess, - unsigned bytes_payload_size) -{ - /* Update statistics */ - sess->stat.tx.pkt++; - sess->stat.tx.bytes += bytes_payload_size; -} - - -static void parse_rtcp_report( pjmedia_rtcp_session *sess, - const void *pkt, - pj_size_t size) -{ - pjmedia_rtcp_common *common = (pjmedia_rtcp_common*) pkt; - const pjmedia_rtcp_rr *rr = NULL; - const pjmedia_rtcp_sr *sr = NULL; - pj_uint32_t last_loss, jitter_samp, jitter; - - /* Parse RTCP */ - if (common->pt == RTCP_SR) { - sr = (pjmedia_rtcp_sr*) (((char*)pkt) + sizeof(pjmedia_rtcp_common)); - if (common->count > 0 && size >= (sizeof(pjmedia_rtcp_sr_pkt))) { - rr = (pjmedia_rtcp_rr*)(((char*)pkt) + (sizeof(pjmedia_rtcp_common) - + sizeof(pjmedia_rtcp_sr))); - } - } else if (common->pt == RTCP_RR && common->count > 0) { - rr = (pjmedia_rtcp_rr*)(((char*)pkt) + sizeof(pjmedia_rtcp_common)); -#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) - } else if (common->pt == RTCP_XR) { - if (sess->xr_enabled) - pjmedia_rtcp_xr_rx_rtcp_xr(&sess->xr_session, pkt, size); - - return; -#endif - } - - - if (sr) { - /* Save LSR from NTP timestamp of RTCP packet */ - sess->rx_lsr = ((pj_ntohl(sr->ntp_sec) & 0x0000FFFF) << 16) | - ((pj_ntohl(sr->ntp_frac) >> 16) & 0xFFFF); - - /* Calculate SR arrival time for DLSR */ - pj_get_timestamp(&sess->rx_lsr_time); - - TRACE_((sess->name, "Rx RTCP SR: ntp_ts=%p", - sess->rx_lsr, - (pj_uint32_t)(sess->rx_lsr_time.u64*65536/sess->ts_freq.u64))); - } - - - /* Nothing more to do if there's no RR packet */ - if (rr == NULL) - return; - - - last_loss = sess->stat.tx.loss; - - /* Get packet loss */ - sess->stat.tx.loss = (rr->total_lost_2 << 16) + - (rr->total_lost_1 << 8) + - rr->total_lost_0; - - TRACE_((sess->name, "Rx RTCP RR: total_lost_2=%x, 1=%x, 0=%x, lost=%d", - (int)rr->total_lost_2, - (int)rr->total_lost_1, - (int)rr->total_lost_0, - sess->stat.tx.loss)); - - /* We can't calculate the exact loss period for TX, so just give the - * best estimation. - */ - if (sess->stat.tx.loss > last_loss) { - unsigned period; - - /* Loss period in msec */ - period = (sess->stat.tx.loss - last_loss) * sess->pkt_size * - 1000 / sess->clock_rate; - - /* Loss period in usec */ - period *= 1000; - - /* Update loss period stat */ - pj_math_stat_update(&sess->stat.tx.loss_period, period); - } - - /* Get jitter value in usec */ - jitter_samp = pj_ntohl(rr->jitter); - /* Calculate jitter in usec, avoiding overflows */ - if (jitter_samp <= 4294) - jitter = jitter_samp * 1000000 / sess->clock_rate; - else { - jitter = jitter_samp * 1000 / sess->clock_rate; - jitter *= 1000; - } - - /* Update jitter statistics */ - pj_math_stat_update(&sess->stat.tx.jitter, jitter); - - /* Can only calculate if LSR and DLSR is present in RR */ - if (rr->lsr && rr->dlsr) { - pj_uint32_t lsr, now, dlsr; - pj_uint64_t eedelay; - pjmedia_rtcp_ntp_rec ntp; - - /* LSR is the middle 32bit of NTP. It has 1/65536 second - * resolution - */ - lsr = pj_ntohl(rr->lsr); - - /* DLSR is delay since LSR, also in 1/65536 resolution */ - dlsr = pj_ntohl(rr->dlsr); - - /* Get current time, and convert to 1/65536 resolution */ - pjmedia_rtcp_get_ntp_time(sess, &ntp); - now = ((ntp.hi & 0xFFFF) << 16) + (ntp.lo >> 16); - - /* End-to-end delay is (now-lsr-dlsr) */ - eedelay = now - lsr - dlsr; - - /* Convert end to end delay to usec (keeping the calculation in - * 64bit space):: - * sess->ee_delay = (eedelay * 1000) / 65536; - */ - if (eedelay < 4294) { - eedelay = (eedelay * 1000000) >> 16; - } else { - eedelay = (eedelay * 1000) >> 16; - eedelay *= 1000; - } - - TRACE_((sess->name, "Rx RTCP RR: lsr=%p, dlsr=%p (%d:%03dms), " - "now=%p, rtt=%p", - lsr, dlsr, dlsr/65536, (dlsr%65536)*1000/65536, - now, (pj_uint32_t)eedelay)); - - /* Only save calculation if "now" is greater than lsr, or - * otherwise rtt will be invalid - */ - if (now-dlsr >= lsr) { - unsigned rtt = (pj_uint32_t)eedelay; - - /* Check that eedelay value really makes sense. - * We allow up to 30 seconds RTT! - */ - if (eedelay > 30 * 1000 * 1000UL) { - - TRACE_((sess->name, "RTT not making any sense, ignored..")); - goto end_rtt_calc; - } - -#if defined(PJMEDIA_RTCP_NORMALIZE_FACTOR) && PJMEDIA_RTCP_NORMALIZE_FACTOR!=0 - /* "Normalize" rtt value that is exceptionally high. For such - * values, "normalize" the rtt to be PJMEDIA_RTCP_NORMALIZE_FACTOR - * times the average value. - */ - if (rtt > ((unsigned)sess->stat.rtt.mean * - PJMEDIA_RTCP_NORMALIZE_FACTOR) && sess->stat.rtt.n!=0) - { - unsigned orig_rtt = rtt; - rtt = sess->stat.rtt.mean * PJMEDIA_RTCP_NORMALIZE_FACTOR; - PJ_LOG(5,(sess->name, - "RTT value %d usec is normalized to %d usec", - orig_rtt, rtt)); - } -#endif - TRACE_((sess->name, "RTCP RTT is set to %d usec", rtt)); - - /* Update RTT stat */ - pj_math_stat_update(&sess->stat.rtt, rtt); - - } else { - PJ_LOG(5, (sess->name, "Internal RTCP NTP clock skew detected: " - "lsr=%p, now=%p, dlsr=%p (%d:%03dms), " - "diff=%d", - lsr, now, dlsr, dlsr/65536, - (dlsr%65536)*1000/65536, - dlsr-(now-lsr))); - } - } - -end_rtt_calc: - - pj_gettimeofday(&sess->stat.tx.update); - sess->stat.tx.update_cnt++; -} - - -static void parse_rtcp_sdes(pjmedia_rtcp_session *sess, - const void *pkt, - pj_size_t size) -{ - pjmedia_rtcp_sdes *sdes = &sess->stat.peer_sdes; - char *p, *p_end; - char *b, *b_end; - - p = (char*)pkt + 8; - p_end = (char*)pkt + size; - - pj_bzero(sdes, sizeof(*sdes)); - b = sess->stat.peer_sdes_buf_; - b_end = b + sizeof(sess->stat.peer_sdes_buf_); - - while (p < p_end) { - pj_uint8_t sdes_type, sdes_len; - pj_str_t sdes_value = {NULL, 0}; - - sdes_type = *p++; - - /* Check for end of SDES item list */ - if (sdes_type == RTCP_SDES_NULL || p == p_end) - break; - - sdes_len = *p++; - - /* Check for corrupted SDES packet */ - if (p + sdes_len > p_end) - break; - - /* Get SDES item */ - if (b + sdes_len < b_end) { - pj_memcpy(b, p, sdes_len); - sdes_value.ptr = b; - sdes_value.slen = sdes_len; - b += sdes_len; - } else { - /* Insufficient SDES buffer */ - PJ_LOG(5, (sess->name, - "Unsufficient buffer to save RTCP SDES type %d:%.*s", - sdes_type, sdes_len, p)); - p += sdes_len; - continue; - } - - switch (sdes_type) { - case RTCP_SDES_CNAME: - sdes->cname = sdes_value; - break; - case RTCP_SDES_NAME: - sdes->name = sdes_value; - break; - case RTCP_SDES_EMAIL: - sdes->email = sdes_value; - break; - case RTCP_SDES_PHONE: - sdes->phone = sdes_value; - break; - case RTCP_SDES_LOC: - sdes->loc = sdes_value; - break; - case RTCP_SDES_TOOL: - sdes->tool = sdes_value; - break; - case RTCP_SDES_NOTE: - sdes->note = sdes_value; - break; - default: - TRACE_((sess->name, "Received unknown RTCP SDES type %d:%.*s", - sdes_type, sdes_value.slen, sdes_value.ptr)); - break; - } - - p += sdes_len; - } -} - - -static void parse_rtcp_bye(pjmedia_rtcp_session *sess, - const void *pkt, - pj_size_t size) -{ - pj_str_t reason = {"-", 1}; - - /* Check and get BYE reason */ - if (size > 8) { - reason.slen = *((pj_uint8_t*)pkt+8); - pj_memcpy(sess->stat.peer_sdes_buf_, ((pj_uint8_t*)pkt+9), - reason.slen); - reason.ptr = sess->stat.peer_sdes_buf_; - } - - /* Just print RTCP BYE log */ - PJ_LOG(5, (sess->name, "Received RTCP BYE, reason: %.*s", - reason.slen, reason.ptr)); -} - - -PJ_DEF(void) pjmedia_rtcp_rx_rtcp( pjmedia_rtcp_session *sess, - const void *pkt, - pj_size_t size) -{ - pj_uint8_t *p, *p_end; - - p = (pj_uint8_t*)pkt; - p_end = p + size; - while (p < p_end) { - pjmedia_rtcp_common *common = (pjmedia_rtcp_common*)p; - unsigned len; - - len = (pj_ntohs((pj_uint16_t)common->length)+1) * 4; - switch(common->pt) { - case RTCP_SR: - case RTCP_RR: - case RTCP_XR: - parse_rtcp_report(sess, p, len); - break; - case RTCP_SDES: - parse_rtcp_sdes(sess, p, len); - break; - case RTCP_BYE: - parse_rtcp_bye(sess, p, len); - break; - default: - /* Ignore unknown RTCP */ - TRACE_((sess->name, "Received unknown RTCP packet type=%d", - common->pt)); - break; - } - - p += len; - } -} - - -PJ_DEF(void) pjmedia_rtcp_build_rtcp(pjmedia_rtcp_session *sess, - void **ret_p_pkt, int *len) -{ - pj_uint32_t expected, expected_interval, received_interval, lost_interval; - pjmedia_rtcp_common *common; - pjmedia_rtcp_sr *sr; - pjmedia_rtcp_rr *rr; - pj_timestamp ts_now; - pjmedia_rtcp_ntp_rec ntp; - - /* Get current NTP time. */ - pj_get_timestamp(&ts_now); - pjmedia_rtcp_get_ntp_time(sess, &ntp); - - - /* See if we have transmitted RTP packets since last time we - * sent RTCP SR. - */ - if (sess->stat.tx.pkt != pj_ntohl(sess->rtcp_sr_pkt.sr.sender_pcount)) { - pj_time_val ts_time; - pj_uint32_t rtp_ts; - - /* So we should send RTCP SR */ - *ret_p_pkt = (void*) &sess->rtcp_sr_pkt; - *len = sizeof(pjmedia_rtcp_sr_pkt); - common = &sess->rtcp_sr_pkt.common; - rr = &sess->rtcp_sr_pkt.rr; - sr = &sess->rtcp_sr_pkt.sr; - - /* Update packet count */ - sr->sender_pcount = pj_htonl(sess->stat.tx.pkt); - - /* Update octets count */ - sr->sender_bcount = pj_htonl(sess->stat.tx.bytes); - - /* Fill in NTP timestamp in SR. */ - sr->ntp_sec = pj_htonl(ntp.hi); - sr->ntp_frac = pj_htonl(ntp.lo); - - /* Fill in RTP timestamp (corresponds to NTP timestamp) in SR. */ - ts_time.sec = ntp.hi - sess->tv_base.sec - JAN_1970; - ts_time.msec = (long)(ntp.lo * 1000.0 / 0xFFFFFFFF); - rtp_ts = sess->rtp_ts_base + - (pj_uint32_t)(sess->clock_rate*ts_time.sec) + - (pj_uint32_t)(sess->clock_rate*ts_time.msec/1000); - sr->rtp_ts = pj_htonl(rtp_ts); - - TRACE_((sess->name, "TX RTCP SR: ntp_ts=%p", - ((ntp.hi & 0xFFFF) << 16) + ((ntp.lo & 0xFFFF0000) - >> 16))); - - - } else { - /* We should send RTCP RR then */ - *ret_p_pkt = (void*) &sess->rtcp_rr_pkt; - *len = sizeof(pjmedia_rtcp_rr_pkt); - common = &sess->rtcp_rr_pkt.common; - rr = &sess->rtcp_rr_pkt.rr; - sr = NULL; - } - - /* SSRC and last_seq */ - rr->ssrc = pj_htonl(sess->peer_ssrc); - rr->last_seq = (sess->seq_ctrl.cycles & 0xFFFF0000L); - /* Since this is an "+=" operation, make sure we update last_seq on - * both RR and SR. - */ - sess->rtcp_sr_pkt.rr.last_seq += sess->seq_ctrl.max_seq; - sess->rtcp_rr_pkt.rr.last_seq += sess->seq_ctrl.max_seq; - rr->last_seq = pj_htonl(rr->last_seq); - - - /* Jitter */ - rr->jitter = pj_htonl(sess->jitter >> 4); - - - /* Total lost. */ - expected = pj_ntohl(rr->last_seq) - sess->seq_ctrl.base_seq; - - /* This is bug: total lost already calculated on each incoming RTP! - if (expected >= sess->received) - sess->stat.rx.loss = expected - sess->received; - else - sess->stat.rx.loss = 0; - */ - - rr->total_lost_2 = (sess->stat.rx.loss >> 16) & 0xFF; - rr->total_lost_1 = (sess->stat.rx.loss >> 8) & 0xFF; - rr->total_lost_0 = (sess->stat.rx.loss & 0xFF); - - /* Fraction lost calculation */ - expected_interval = expected - sess->exp_prior; - sess->exp_prior = expected; - - received_interval = sess->received - sess->rx_prior; - sess->rx_prior = sess->received; - - if (expected_interval >= received_interval) - lost_interval = expected_interval - received_interval; - else - lost_interval = 0; - - if (expected_interval==0 || lost_interval == 0) { - rr->fract_lost = 0; - } else { - rr->fract_lost = (lost_interval << 8) / expected_interval; - } - - if (sess->rx_lsr_time.u64 == 0 || sess->rx_lsr == 0) { - rr->lsr = 0; - rr->dlsr = 0; - } else { - pj_timestamp ts; - pj_uint32_t lsr = sess->rx_lsr; - pj_uint64_t lsr_time = sess->rx_lsr_time.u64; - pj_uint32_t dlsr; - - /* Convert LSR time to 1/65536 seconds resolution */ - lsr_time = (lsr_time << 16) / sess->ts_freq.u64; - - /* Fill in LSR. - LSR is the middle 32bit of the last SR NTP time received. - */ - rr->lsr = pj_htonl(lsr); - - /* Fill in DLSR. - DLSR is Delay since Last SR, in 1/65536 seconds. - */ - ts.u64 = ts_now.u64; - - /* Convert interval to 1/65536 seconds value */ - ts.u64 = (ts.u64 << 16) / sess->ts_freq.u64; - - /* Get DLSR */ - dlsr = (pj_uint32_t)(ts.u64 - lsr_time); - rr->dlsr = pj_htonl(dlsr); - - TRACE_((sess->name,"Tx RTCP RR: lsr=%p, lsr_time=%p, now=%p, dlsr=%p" - "(%ds:%03dms)", - lsr, - (pj_uint32_t)lsr_time, - (pj_uint32_t)ts.u64, - dlsr, - dlsr/65536, - (dlsr%65536)*1000/65536 )); - } - - /* Update counter */ - pj_gettimeofday(&sess->stat.rx.update); - sess->stat.rx.update_cnt++; -} - - -PJ_DEF(pj_status_t) pjmedia_rtcp_build_rtcp_sdes( - pjmedia_rtcp_session *session, - void *buf, - pj_size_t *length, - const pjmedia_rtcp_sdes *sdes) -{ - pjmedia_rtcp_common *hdr; - pj_uint8_t *p; - unsigned len; - - PJ_ASSERT_RETURN(session && buf && length && sdes, PJ_EINVAL); - - /* Verify SDES item length */ - if (sdes->cname.slen > 255 || sdes->name.slen > 255 || - sdes->email.slen > 255 || sdes->phone.slen > 255 || - sdes->loc.slen > 255 || sdes->tool.slen > 255 || - sdes->note.slen > 255) - { - return PJ_EINVAL; - } - - /* Verify buffer length */ - len = sizeof(*hdr); - if (sdes->cname.slen) len += sdes->cname.slen + 2; - if (sdes->name.slen) len += sdes->name.slen + 2; - if (sdes->email.slen) len += sdes->email.slen + 2; - if (sdes->phone.slen) len += sdes->phone.slen + 2; - if (sdes->loc.slen) len += sdes->loc.slen + 2; - if (sdes->tool.slen) len += sdes->tool.slen + 2; - if (sdes->note.slen) len += sdes->note.slen + 2; - len++; /* null termination */ - len = ((len+3)/4) * 4; - if (len > *length) - return PJ_ETOOSMALL; - - /* Build RTCP SDES header */ - hdr = (pjmedia_rtcp_common*)buf; - pj_memcpy(hdr, &session->rtcp_sr_pkt.common, sizeof(*hdr)); - hdr->pt = RTCP_SDES; - hdr->length = pj_htons((pj_uint16_t)(len/4 - 1)); - - /* Build RTCP SDES items */ - p = (pj_uint8_t*)hdr + sizeof(*hdr); -#define BUILD_SDES_ITEM(SDES_NAME, SDES_TYPE) \ - if (sdes->SDES_NAME.slen) { \ - *p++ = SDES_TYPE; \ - *p++ = (pj_uint8_t)sdes->SDES_NAME.slen; \ - pj_memcpy(p, sdes->SDES_NAME.ptr, sdes->SDES_NAME.slen); \ - p += sdes->SDES_NAME.slen; \ - } - BUILD_SDES_ITEM(cname, RTCP_SDES_CNAME); - BUILD_SDES_ITEM(name, RTCP_SDES_NAME); - BUILD_SDES_ITEM(email, RTCP_SDES_EMAIL); - BUILD_SDES_ITEM(phone, RTCP_SDES_PHONE); - BUILD_SDES_ITEM(loc, RTCP_SDES_LOC); - BUILD_SDES_ITEM(tool, RTCP_SDES_TOOL); - BUILD_SDES_ITEM(note, RTCP_SDES_NOTE); -#undef BUILD_SDES_ITEM - - /* Null termination */ - *p++ = 0; - - /* Pad to 32bit */ - while ((p-(pj_uint8_t*)buf) % 4) - *p++ = 0; - - /* Finally */ - pj_assert((int)len == p-(pj_uint8_t*)buf); - *length = len; - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_rtcp_build_rtcp_bye(pjmedia_rtcp_session *session, - void *buf, - pj_size_t *length, - const pj_str_t *reason) -{ - pjmedia_rtcp_common *hdr; - pj_uint8_t *p; - unsigned len; - - PJ_ASSERT_RETURN(session && buf && length, PJ_EINVAL); - - /* Verify BYE reason length */ - if (reason && reason->slen > 255) - return PJ_EINVAL; - - /* Verify buffer length */ - len = sizeof(*hdr); - if (reason && reason->slen) len += reason->slen + 1; - len = ((len+3)/4) * 4; - if (len > *length) - return PJ_ETOOSMALL; - - /* Build RTCP BYE header */ - hdr = (pjmedia_rtcp_common*)buf; - pj_memcpy(hdr, &session->rtcp_sr_pkt.common, sizeof(*hdr)); - hdr->pt = RTCP_BYE; - hdr->length = pj_htons((pj_uint16_t)(len/4 - 1)); - - /* Write RTCP BYE reason */ - p = (pj_uint8_t*)hdr + sizeof(*hdr); - if (reason && reason->slen) { - *p++ = (pj_uint8_t)reason->slen; - pj_memcpy(p, reason->ptr, reason->slen); - p += reason->slen; - } - - /* Pad to 32bit */ - while ((p-(pj_uint8_t*)buf) % 4) - *p++ = 0; - - pj_assert((int)len == p-(pj_uint8_t*)buf); - *length = len; - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_rtcp_enable_xr( pjmedia_rtcp_session *sess, - pj_bool_t enable) -{ -#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) - - /* Check if request won't change anything */ - if (!(enable ^ sess->xr_enabled)) - return PJ_SUCCESS; - - if (!enable) { - sess->xr_enabled = PJ_FALSE; - return PJ_SUCCESS; - } - - pjmedia_rtcp_xr_init(&sess->xr_session, sess, 0, 1); - sess->xr_enabled = PJ_TRUE; - - return PJ_SUCCESS; - -#else - - PJ_UNUSED_ARG(sess); - PJ_UNUSED_ARG(enable); - return PJ_ENOTSUP; - -#endif -} diff --git a/res/pjproject/pjmedia/src/pjmedia/rtcp_xr.c b/res/pjproject/pjmedia/src/pjmedia/rtcp_xr.c deleted file mode 100644 index 173be9a916..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/rtcp_xr.c +++ /dev/null @@ -1,858 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include -#include -#include -#include -#include -#include -#include -#include - -#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) - -#define THIS_FILE "rtcp_xr.c" - - -#if PJ_HAS_HIGH_RES_TIMER==0 -# error "High resolution timer needs to be enabled" -#endif - - -/* RTCP XR payload type */ -#define RTCP_XR 207 - -/* RTCP XR block types */ -#define BT_LOSS_RLE 1 -#define BT_DUP_RLE 2 -#define BT_RCPT_TIMES 3 -#define BT_RR_TIME 4 -#define BT_DLRR 5 -#define BT_STATS 6 -#define BT_VOIP_METRICS 7 - - -#define DEFAULT_GMIN 16 - - -#if 0 -# define TRACE_(x) PJ_LOG(3,x) -#else -# define TRACE_(x) ; -#endif - -void pjmedia_rtcp_xr_init( pjmedia_rtcp_xr_session *session, - struct pjmedia_rtcp_session *parent_session, - pj_uint8_t gmin, - unsigned frames_per_packet) -{ - pj_bzero(session, sizeof(pjmedia_rtcp_xr_session)); - - session->name = parent_session->name; - session->rtcp_session = parent_session; - pj_memcpy(&session->pkt.common, &session->rtcp_session->rtcp_sr_pkt.common, - sizeof(pjmedia_rtcp_common)); - session->pkt.common.pt = RTCP_XR; - - /* Init config */ - session->stat.rx.voip_mtc.gmin = (pj_uint8_t)(gmin? gmin : DEFAULT_GMIN); - session->ptime = session->rtcp_session->pkt_size * 1000 / - session->rtcp_session->clock_rate; - session->frames_per_packet = frames_per_packet; - - /* Init Statistics Summary fields which have non-zero default */ - session->stat.rx.stat_sum.jitter.min = (unsigned) -1; - session->stat.rx.stat_sum.toh.min = (unsigned) -1; - - /* Init VoIP Metrics fields which have non-zero default */ - session->stat.rx.voip_mtc.signal_lvl = 127; - session->stat.rx.voip_mtc.noise_lvl = 127; - session->stat.rx.voip_mtc.rerl = 127; - session->stat.rx.voip_mtc.r_factor = 127; - session->stat.rx.voip_mtc.ext_r_factor = 127; - session->stat.rx.voip_mtc.mos_lq = 127; - session->stat.rx.voip_mtc.mos_cq = 127; - - session->stat.tx.voip_mtc.signal_lvl = 127; - session->stat.tx.voip_mtc.noise_lvl = 127; - session->stat.tx.voip_mtc.rerl = 127; - session->stat.tx.voip_mtc.r_factor = 127; - session->stat.tx.voip_mtc.ext_r_factor = 127; - session->stat.tx.voip_mtc.mos_lq = 127; - session->stat.tx.voip_mtc.mos_cq = 127; -} - -void pjmedia_rtcp_xr_fini(pjmedia_rtcp_xr_session *session) -{ - PJ_UNUSED_ARG(session); -} - -PJ_DEF(void) pjmedia_rtcp_build_rtcp_xr( pjmedia_rtcp_xr_session *sess, - unsigned rpt_types, - void **rtcp_pkt, int *len) -{ - pj_uint16_t size = 0; - - /* Receiver Reference Time Report Block */ - /* Build this block if we have received packets since last build */ - if ((rpt_types == 0 || (rpt_types & PJMEDIA_RTCP_XR_RR_TIME)) && - sess->rx_last_rr != sess->rtcp_session->stat.rx.pkt) - { - pjmedia_rtcp_xr_rb_rr_time *r; - pjmedia_rtcp_ntp_rec ntp; - - r = (pjmedia_rtcp_xr_rb_rr_time*) &sess->pkt.buf[size]; - pj_bzero(r, sizeof(pjmedia_rtcp_xr_rb_rr_time)); - - /* Init block header */ - r->header.bt = BT_RR_TIME; - r->header.specific = 0; - r->header.length = pj_htons(2); - - /* Generate block contents */ - pjmedia_rtcp_get_ntp_time(sess->rtcp_session, &ntp); - r->ntp_sec = pj_htonl(ntp.hi); - r->ntp_frac = pj_htonl(ntp.lo); - - /* Finally */ - size += sizeof(pjmedia_rtcp_xr_rb_rr_time); - sess->rx_last_rr = sess->rtcp_session->stat.rx.pkt; - } - - /* DLRR Report Block */ - /* Build this block if we have received RR NTP (rx_lrr) before */ - if ((rpt_types == 0 || (rpt_types & PJMEDIA_RTCP_XR_DLRR)) && - sess->rx_lrr) - { - pjmedia_rtcp_xr_rb_dlrr *r; - pjmedia_rtcp_xr_rb_dlrr_item *dlrr_item; - pj_timestamp ts; - - r = (pjmedia_rtcp_xr_rb_dlrr*) &sess->pkt.buf[size]; - pj_bzero(r, sizeof(pjmedia_rtcp_xr_rb_dlrr)); - - /* Init block header */ - r->header.bt = BT_DLRR; - r->header.specific = 0; - r->header.length = pj_htons(sizeof(pjmedia_rtcp_xr_rb_dlrr)/4 - 1); - - /* Generate block contents */ - dlrr_item = &r->item; - dlrr_item->ssrc = pj_htonl(sess->rtcp_session->peer_ssrc); - dlrr_item->lrr = pj_htonl(sess->rx_lrr); - - /* Calculate DLRR */ - if (sess->rx_lrr != 0) { - pj_get_timestamp(&ts); - ts.u64 -= sess->rx_lrr_time.u64; - - /* Convert DLRR time to 1/65536 seconds resolution */ - ts.u64 = (ts.u64 << 16) / sess->rtcp_session->ts_freq.u64; - dlrr_item->dlrr = pj_htonl(ts.u32.lo); - } else { - dlrr_item->dlrr = 0; - } - - /* Finally */ - size += sizeof(pjmedia_rtcp_xr_rb_dlrr); - } - - /* Statistics Summary Block */ - /* Build this block if we have received packets since last build */ - if ((rpt_types == 0 || (rpt_types & PJMEDIA_RTCP_XR_STATS)) && - sess->stat.rx.stat_sum.count > 0) - { - pjmedia_rtcp_xr_rb_stats *r; - pj_uint8_t specific = 0; - - r = (pjmedia_rtcp_xr_rb_stats*) &sess->pkt.buf[size]; - pj_bzero(r, sizeof(pjmedia_rtcp_xr_rb_stats)); - - /* Init block header */ - specific |= sess->stat.rx.stat_sum.l ? (1 << 7) : 0; - specific |= sess->stat.rx.stat_sum.d ? (1 << 6) : 0; - specific |= sess->stat.rx.stat_sum.j ? (1 << 5) : 0; - specific |= (sess->stat.rx.stat_sum.t & 3) << 3; - r->header.bt = BT_STATS; - r->header.specific = specific; - r->header.length = pj_htons(9); - - /* Generate block contents */ - r->ssrc = pj_htonl(sess->rtcp_session->peer_ssrc); - r->begin_seq = pj_htons((pj_uint16_t) - (sess->stat.rx.stat_sum.begin_seq & 0xFFFF)); - r->end_seq = pj_htons((pj_uint16_t) - (sess->stat.rx.stat_sum.end_seq & 0xFFFF)); - if (sess->stat.rx.stat_sum.l) { - r->lost = pj_htonl(sess->stat.rx.stat_sum.lost); - } - if (sess->stat.rx.stat_sum.d) { - r->dup = pj_htonl(sess->stat.rx.stat_sum.dup); - } - if (sess->stat.rx.stat_sum.j) { - r->jitter_min = pj_htonl(sess->stat.rx.stat_sum.jitter.min); - r->jitter_max = pj_htonl(sess->stat.rx.stat_sum.jitter.max); - r->jitter_mean = - pj_htonl((unsigned)sess->stat.rx.stat_sum.jitter.mean); - r->jitter_dev = - pj_htonl(pj_math_stat_get_stddev(&sess->stat.rx.stat_sum.jitter)); - } - if (sess->stat.rx.stat_sum.t) { - r->toh_min = sess->stat.rx.stat_sum.toh.min; - r->toh_max = sess->stat.rx.stat_sum.toh.max; - r->toh_mean = (unsigned) sess->stat.rx.stat_sum.toh.mean; - r->toh_dev = pj_math_stat_get_stddev(&sess->stat.rx.stat_sum.toh); - } - - /* Reset TX statistics summary each time built */ - pj_bzero(&sess->stat.rx.stat_sum, sizeof(sess->stat.rx.stat_sum)); - sess->stat.rx.stat_sum.jitter.min = (unsigned) -1; - sess->stat.rx.stat_sum.toh.min = (unsigned) -1; - - /* Finally */ - size += sizeof(pjmedia_rtcp_xr_rb_stats); - pj_gettimeofday(&sess->stat.rx.stat_sum.update); - } - - /* Voip Metrics Block */ - /* Build this block if we have received packets */ - if ((rpt_types == 0 || (rpt_types & PJMEDIA_RTCP_XR_VOIP_METRICS)) && - sess->rtcp_session->stat.rx.pkt) - { - pjmedia_rtcp_xr_rb_voip_mtc *r; - pj_uint32_t c11; - pj_uint32_t c13; - pj_uint32_t c14; - pj_uint32_t c22; - pj_uint32_t c23; - pj_uint32_t c31; - pj_uint32_t c32; - pj_uint32_t c33; - pj_uint32_t ctotal, m; - unsigned est_extra_delay; - - r = (pjmedia_rtcp_xr_rb_voip_mtc*) &sess->pkt.buf[size]; - pj_bzero(r, sizeof(pjmedia_rtcp_xr_rb_voip_mtc)); - - /* Init block header */ - r->header.bt = BT_VOIP_METRICS; - r->header.specific = 0; - r->header.length = pj_htons(8); - - /* Use temp vars for easiness. */ - c11 = sess->voip_mtc_stat.c11; - c13 = sess->voip_mtc_stat.c13; - c14 = sess->voip_mtc_stat.c14; - c22 = sess->voip_mtc_stat.c22; - c23 = sess->voip_mtc_stat.c23; - c33 = sess->voip_mtc_stat.c33; - m = sess->ptime * sess->frames_per_packet; - - /* Calculate additional transition counts. */ - c31 = c13; - c32 = c23; - ctotal = c11 + c14 + c13 + c22 + c23 + c31 + c32 + c33; - - if (ctotal) { - pj_uint32_t p32, p23; - - //original version: - //p32 = c32 / (c31 + c32 + c33); - if (c31 + c32 + c33 == 0) - p32 = 0; - else - p32 = (c32 << 16) / (c31 + c32 + c33); - - //original version: - //if ((c22 + c23) < 1) { - // p23 = 1; - //} else { - // p23 = 1 - c22 / (c22 + c23); - //} - if (c23 == 0) { - p23 = 0; - } else { - p23 = (c23 << 16) / (c22 + c23); - } - - /* Calculate loss/discard densities, scaled of 0-256 */ - if (c11 == 0) - sess->stat.rx.voip_mtc.gap_den = 0; - else - sess->stat.rx.voip_mtc.gap_den = (pj_uint8_t) - ((c14 << 8) / (c11 + c14)); - if (p23 == 0) - sess->stat.rx.voip_mtc.burst_den = 0; - else - sess->stat.rx.voip_mtc.burst_den = (pj_uint8_t) - ((p23 << 8) / (p23 + p32)); - - /* Calculate (average) durations, in ms */ - if (c13 == 0) { - c13 = 1; - ctotal += 1; - } - sess->stat.rx.voip_mtc.gap_dur = (pj_uint16_t) - ((c11+c14+c13) * m / c13); - sess->stat.rx.voip_mtc.burst_dur = (pj_uint16_t) - ((ctotal - (c11+c14+c13)) * m / c13); - - /* Callculate loss/discard rates, scaled 0-256 */ - sess->stat.rx.voip_mtc.loss_rate = (pj_uint8_t) - ((sess->voip_mtc_stat.loss_count << 8) / ctotal); - sess->stat.rx.voip_mtc.discard_rate = (pj_uint8_t) - ((sess->voip_mtc_stat.discard_count << 8) / ctotal); - } else { - /* No lost/discarded packet yet. */ - sess->stat.rx.voip_mtc.gap_den = 0; - sess->stat.rx.voip_mtc.burst_den = 0; - sess->stat.rx.voip_mtc.gap_dur = 0; - sess->stat.rx.voip_mtc.burst_dur = 0; - sess->stat.rx.voip_mtc.loss_rate = 0; - sess->stat.rx.voip_mtc.discard_rate = 0; - } - - /* Set round trip delay (in ms) to RTT calculated after receiving - * DLRR or DLSR. - */ - if (sess->stat.rtt.last) - sess->stat.rx.voip_mtc.rnd_trip_delay = (pj_uint16_t) - (sess->stat.rtt.last / 1000); - else if (sess->rtcp_session->stat.rtt.last) - sess->stat.rx.voip_mtc.rnd_trip_delay = (pj_uint16_t) - (sess->rtcp_session->stat.rtt.last / 1000); - - /* End system delay = RTT/2 + current jitter buffer size + - * EXTRA (estimated extra delay) - * EXTRA will cover additional delay introduced by other components of - * audio engine, e.g: sound device, codec, AEC, PLC, WSOLA. - * Since it is difficult to get the exact value of EXTRA, estimation - * is taken to be totally around 30ms + sound device latency. - */ - est_extra_delay = 30; - -#if PJMEDIA_SOUND_IMPLEMENTATION!=PJMEDIA_SOUND_NULL_SOUND - est_extra_delay += PJMEDIA_SND_DEFAULT_REC_LATENCY + - PJMEDIA_SND_DEFAULT_PLAY_LATENCY; -#endif - - sess->stat.rx.voip_mtc.end_sys_delay = (pj_uint16_t) - (sess->stat.rx.voip_mtc.rnd_trip_delay / 2 + - sess->stat.rx.voip_mtc.jb_nom + - est_extra_delay); - - /* Generate block contents */ - r->ssrc = pj_htonl(sess->rtcp_session->peer_ssrc); - r->loss_rate = sess->stat.rx.voip_mtc.loss_rate; - r->discard_rate = sess->stat.rx.voip_mtc.discard_rate; - r->burst_den = sess->stat.rx.voip_mtc.burst_den; - r->gap_den = sess->stat.rx.voip_mtc.gap_den; - r->burst_dur = pj_htons(sess->stat.rx.voip_mtc.burst_dur); - r->gap_dur = pj_htons(sess->stat.rx.voip_mtc.gap_dur); - r->rnd_trip_delay = pj_htons(sess->stat.rx.voip_mtc.rnd_trip_delay); - r->end_sys_delay = pj_htons(sess->stat.rx.voip_mtc.end_sys_delay); - /* signal & noise level encoded in two's complement form */ - r->signal_lvl = (pj_uint8_t) - ((sess->stat.rx.voip_mtc.signal_lvl >= 0)? - sess->stat.rx.voip_mtc.signal_lvl : - (sess->stat.rx.voip_mtc.signal_lvl + 256)); - r->noise_lvl = (pj_uint8_t) - ((sess->stat.rx.voip_mtc.noise_lvl >= 0)? - sess->stat.rx.voip_mtc.noise_lvl : - (sess->stat.rx.voip_mtc.noise_lvl + 256)); - r->rerl = sess->stat.rx.voip_mtc.rerl; - r->gmin = sess->stat.rx.voip_mtc.gmin; - r->r_factor = sess->stat.rx.voip_mtc.r_factor; - r->ext_r_factor = sess->stat.rx.voip_mtc.ext_r_factor; - r->mos_lq = sess->stat.rx.voip_mtc.mos_lq; - r->mos_cq = sess->stat.rx.voip_mtc.mos_cq; - r->rx_config = sess->stat.rx.voip_mtc.rx_config; - r->jb_nom = pj_htons(sess->stat.rx.voip_mtc.jb_nom); - r->jb_max = pj_htons(sess->stat.rx.voip_mtc.jb_max); - r->jb_abs_max = pj_htons(sess->stat.rx.voip_mtc.jb_abs_max); - - /* Finally */ - size += sizeof(pjmedia_rtcp_xr_rb_voip_mtc); - pj_gettimeofday(&sess->stat.rx.voip_mtc.update); - } - - /* Add RTCP XR header size */ - size += sizeof(sess->pkt.common); - - /* Set RTCP XR header 'length' to packet size in 32-bit unit minus one */ - sess->pkt.common.length = pj_htons((pj_uint16_t)(size/4 - 1)); - - /* Set the return values */ - *rtcp_pkt = (void*) &sess->pkt; - *len = size; -} - - -void pjmedia_rtcp_xr_rx_rtcp_xr( pjmedia_rtcp_xr_session *sess, - const void *pkt, - pj_size_t size) -{ - const pjmedia_rtcp_xr_pkt *rtcp_xr = (pjmedia_rtcp_xr_pkt*) pkt; - const pjmedia_rtcp_xr_rb_rr_time *rb_rr_time = NULL; - const pjmedia_rtcp_xr_rb_dlrr *rb_dlrr = NULL; - const pjmedia_rtcp_xr_rb_stats *rb_stats = NULL; - const pjmedia_rtcp_xr_rb_voip_mtc *rb_voip_mtc = NULL; - const pjmedia_rtcp_xr_rb_header *rb_hdr = (pjmedia_rtcp_xr_rb_header*) - rtcp_xr->buf; - unsigned pkt_len, rb_len; - - if (rtcp_xr->common.pt != RTCP_XR) - return; - - pkt_len = pj_ntohs((pj_uint16_t)rtcp_xr->common.length); - - if ((pkt_len + 1) > (size / 4)) - return; - - /* Parse report rpt_types */ - while ((pj_int32_t*)rb_hdr < (pj_int32_t*)pkt + pkt_len) - { - rb_len = pj_ntohs((pj_uint16_t)rb_hdr->length); - - /* Just skip any block with length == 0 (no report content) */ - if (rb_len) { - switch (rb_hdr->bt) { - case BT_RR_TIME: - rb_rr_time = (pjmedia_rtcp_xr_rb_rr_time*) rb_hdr; - break; - case BT_DLRR: - rb_dlrr = (pjmedia_rtcp_xr_rb_dlrr*) rb_hdr; - break; - case BT_STATS: - rb_stats = (pjmedia_rtcp_xr_rb_stats*) rb_hdr; - break; - case BT_VOIP_METRICS: - rb_voip_mtc = (pjmedia_rtcp_xr_rb_voip_mtc*) rb_hdr; - break; - default: - break; - } - } - rb_hdr = (pjmedia_rtcp_xr_rb_header*) - ((pj_int32_t*)rb_hdr + rb_len + 1); - } - - /* Receiving RR Time */ - if (rb_rr_time) { - /* Save LRR from NTP timestamp of the RR time block report */ - sess->rx_lrr = ((pj_ntohl(rb_rr_time->ntp_sec) & 0x0000FFFF) << 16) | - ((pj_ntohl(rb_rr_time->ntp_frac) >> 16) & 0xFFFF); - - /* Calculate RR arrival time for DLRR */ - pj_get_timestamp(&sess->rx_lrr_time); - - TRACE_((sess->name, "Rx RTCP SR: ntp_ts=%p", sess->rx_lrr, - (pj_uint32_t)(sess->rx_lrr_time.u64*65536/ - sess->rtcp_session->ts_freq.u64))); - } - - /* Receiving DLRR */ - if (rb_dlrr) { - pj_uint32_t lrr, now, dlrr; - pj_uint64_t eedelay; - pjmedia_rtcp_ntp_rec ntp; - - /* LRR is the middle 32bit of NTP. It has 1/65536 second - * resolution - */ - lrr = pj_ntohl(rb_dlrr->item.lrr); - - /* DLRR is delay since LRR, also in 1/65536 resolution */ - dlrr = pj_ntohl(rb_dlrr->item.dlrr); - - /* Get current time, and convert to 1/65536 resolution */ - pjmedia_rtcp_get_ntp_time(sess->rtcp_session, &ntp); - now = ((ntp.hi & 0xFFFF) << 16) + (ntp.lo >> 16); - - /* End-to-end delay is (now-lrr-dlrr) */ - eedelay = now - lrr - dlrr; - - /* Convert end to end delay to usec (keeping the calculation in - * 64bit space):: - * sess->ee_delay = (eedelay * 1000) / 65536; - */ - if (eedelay < 4294) { - eedelay = (eedelay * 1000000) >> 16; - } else { - eedelay = (eedelay * 1000) >> 16; - eedelay *= 1000; - } - - TRACE_((sess->name, "Rx RTCP XR DLRR: lrr=%p, dlrr=%p (%d:%03dms), " - "now=%p, rtt=%p", - lrr, dlrr, dlrr/65536, (dlrr%65536)*1000/65536, - now, (pj_uint32_t)eedelay)); - - /* Only save calculation if "now" is greater than lrr, or - * otherwise rtt will be invalid - */ - if (now-dlrr >= lrr) { - unsigned rtt = (pj_uint32_t)eedelay; - - /* Check that eedelay value really makes sense. - * We allow up to 30 seconds RTT! - */ - if (eedelay <= 30 * 1000 * 1000UL) { - /* "Normalize" rtt value that is exceptionally high. - * For such values, "normalize" the rtt to be three times - * the average value. - */ - if (rtt>((unsigned)sess->stat.rtt.mean*3) && sess->stat.rtt.n!=0) - { - unsigned orig_rtt = rtt; - rtt = (unsigned)sess->stat.rtt.mean*3; - PJ_LOG(5,(sess->name, - "RTT value %d usec is normalized to %d usec", - orig_rtt, rtt)); - } - - TRACE_((sess->name, "RTCP RTT is set to %d usec", rtt)); - pj_math_stat_update(&sess->stat.rtt, rtt); - } - } else { - PJ_LOG(5, (sess->name, "Internal RTCP NTP clock skew detected: " - "lrr=%p, now=%p, dlrr=%p (%d:%03dms), " - "diff=%d", - lrr, now, dlrr, dlrr/65536, - (dlrr%65536)*1000/65536, - dlrr-(now-lrr))); - } - } - - /* Receiving Statistics Summary */ - if (rb_stats) { - pj_uint8_t flags = rb_stats->header.specific; - - pj_bzero(&sess->stat.tx.stat_sum, sizeof(sess->stat.tx.stat_sum)); - - /* Range of packets sequence reported in this blocks */ - sess->stat.tx.stat_sum.begin_seq = pj_ntohs(rb_stats->begin_seq); - sess->stat.tx.stat_sum.end_seq = pj_ntohs(rb_stats->end_seq); - - /* Get flags of valid fields */ - sess->stat.tx.stat_sum.l = (flags & (1 << 7)) != 0; - sess->stat.tx.stat_sum.d = (flags & (1 << 6)) != 0; - sess->stat.tx.stat_sum.j = (flags & (1 << 5)) != 0; - sess->stat.tx.stat_sum.t = (flags & (3 << 3)) != 0; - - /* Fetch the reports info */ - if (sess->stat.tx.stat_sum.l) { - sess->stat.tx.stat_sum.lost = pj_ntohl(rb_stats->lost); - } - - if (sess->stat.tx.stat_sum.d) { - sess->stat.tx.stat_sum.dup = pj_ntohl(rb_stats->dup); - } - - if (sess->stat.tx.stat_sum.j) { - sess->stat.tx.stat_sum.jitter.min = pj_ntohl(rb_stats->jitter_min); - sess->stat.tx.stat_sum.jitter.max = pj_ntohl(rb_stats->jitter_max); - sess->stat.tx.stat_sum.jitter.mean= pj_ntohl(rb_stats->jitter_mean); - pj_math_stat_set_stddev(&sess->stat.tx.stat_sum.jitter, - pj_ntohl(rb_stats->jitter_dev)); - } - - if (sess->stat.tx.stat_sum.t) { - sess->stat.tx.stat_sum.toh.min = rb_stats->toh_min; - sess->stat.tx.stat_sum.toh.max = rb_stats->toh_max; - sess->stat.tx.stat_sum.toh.mean= rb_stats->toh_mean; - pj_math_stat_set_stddev(&sess->stat.tx.stat_sum.toh, - pj_ntohl(rb_stats->toh_dev)); - } - - pj_gettimeofday(&sess->stat.tx.stat_sum.update); - } - - /* Receiving VoIP Metrics */ - if (rb_voip_mtc) { - sess->stat.tx.voip_mtc.loss_rate = rb_voip_mtc->loss_rate; - sess->stat.tx.voip_mtc.discard_rate = rb_voip_mtc->discard_rate; - sess->stat.tx.voip_mtc.burst_den = rb_voip_mtc->burst_den; - sess->stat.tx.voip_mtc.gap_den = rb_voip_mtc->gap_den; - sess->stat.tx.voip_mtc.burst_dur = pj_ntohs(rb_voip_mtc->burst_dur); - sess->stat.tx.voip_mtc.gap_dur = pj_ntohs(rb_voip_mtc->gap_dur); - sess->stat.tx.voip_mtc.rnd_trip_delay = - pj_ntohs(rb_voip_mtc->rnd_trip_delay); - sess->stat.tx.voip_mtc.end_sys_delay = - pj_ntohs(rb_voip_mtc->end_sys_delay); - /* signal & noise level encoded in two's complement form */ - sess->stat.tx.voip_mtc.signal_lvl = (pj_int8_t) - ((rb_voip_mtc->signal_lvl > 127)? - ((int)rb_voip_mtc->signal_lvl - 256) : - rb_voip_mtc->signal_lvl); - sess->stat.tx.voip_mtc.noise_lvl = (pj_int8_t) - ((rb_voip_mtc->noise_lvl > 127)? - ((int)rb_voip_mtc->noise_lvl - 256) : - rb_voip_mtc->noise_lvl); - sess->stat.tx.voip_mtc.rerl = rb_voip_mtc->rerl; - sess->stat.tx.voip_mtc.gmin = rb_voip_mtc->gmin; - sess->stat.tx.voip_mtc.r_factor = rb_voip_mtc->r_factor; - sess->stat.tx.voip_mtc.ext_r_factor = rb_voip_mtc->ext_r_factor; - sess->stat.tx.voip_mtc.mos_lq = rb_voip_mtc->mos_lq; - sess->stat.tx.voip_mtc.mos_cq = rb_voip_mtc->mos_cq; - sess->stat.tx.voip_mtc.rx_config = rb_voip_mtc->rx_config; - sess->stat.tx.voip_mtc.jb_nom = pj_ntohs(rb_voip_mtc->jb_nom); - sess->stat.tx.voip_mtc.jb_max = pj_ntohs(rb_voip_mtc->jb_max); - sess->stat.tx.voip_mtc.jb_abs_max = pj_ntohs(rb_voip_mtc->jb_abs_max); - - pj_gettimeofday(&sess->stat.tx.voip_mtc.update); - } -} - -/* Place seq into a 32-bit sequence number space based upon a - * heuristic for its most likely location. - */ -static pj_uint32_t extend_seq(pjmedia_rtcp_xr_session *sess, - const pj_uint16_t seq) -{ - - pj_uint32_t extended_seq, seq_a, seq_b, diff_a, diff_b; - if(sess->uninitialized_src_ref_seq) { - /* This is the first sequence number received. Place - * it in the middle of the extended sequence number - * space. - */ - sess->src_ref_seq = seq | 0x80000000u; - sess->uninitialized_src_ref_seq = PJ_FALSE; - extended_seq = sess->src_ref_seq; - } else { - /* Prior sequence numbers have been received. - * Propose two candidates for the extended sequence - * number: seq_a is without wraparound, seq_b with - * wraparound. - */ - seq_a = seq | (sess->src_ref_seq & 0xFFFF0000u); - if(sess->src_ref_seq < seq_a) { - seq_b = seq_a - 0x00010000u; - diff_a = seq_a - sess->src_ref_seq; - diff_b = sess->src_ref_seq - seq_b; - } else { - seq_b = seq_a + 0x00010000u; - diff_a = sess->src_ref_seq - seq_a; - diff_b = seq_b - sess->src_ref_seq; - } - - /* Choose the closer candidate. If they are equally - * close, the choice is somewhat arbitrary: we choose - * the candidate for which no rollover is necessary. - */ - if(diff_a < diff_b) { - extended_seq = seq_a; - } else { - extended_seq = seq_b; - } - - /* Set the reference sequence number to be this most - * recently-received sequence number. - */ - sess->src_ref_seq = extended_seq; - } - - /* Return our best guess for a 32-bit sequence number that - * corresponds to the 16-bit number we were given. - */ - return extended_seq; -} - -void pjmedia_rtcp_xr_rx_rtp( pjmedia_rtcp_xr_session *sess, - unsigned seq, - int lost, - int dup, - int discarded, - int jitter, - int toh, pj_bool_t toh_ipv4) -{ - pj_uint32_t ext_seq; - - /* Get 32 bit version of sequence */ - ext_seq = extend_seq(sess, (pj_uint16_t)seq); - - /* Update statistics summary */ - sess->stat.rx.stat_sum.count++; - - if (sess->stat.rx.stat_sum.begin_seq == 0 || - sess->stat.rx.stat_sum.begin_seq > ext_seq) - { - sess->stat.rx.stat_sum.begin_seq = ext_seq; - } - - if (sess->stat.rx.stat_sum.end_seq == 0 || - sess->stat.rx.stat_sum.end_seq < ext_seq) - { - sess->stat.rx.stat_sum.end_seq = ext_seq; - } - - if (lost >= 0) { - sess->stat.rx.stat_sum.l = PJ_TRUE; - if (lost > 0) - sess->stat.rx.stat_sum.lost++; - } - - if (dup >= 0) { - sess->stat.rx.stat_sum.d = PJ_TRUE; - if (dup > 0) - sess->stat.rx.stat_sum.dup++; - } - - if (jitter >= 0) { - sess->stat.rx.stat_sum.j = PJ_TRUE; - pj_math_stat_update(&sess->stat.rx.stat_sum.jitter, jitter); - } - - if (toh >= 0) { - sess->stat.rx.stat_sum.t = toh_ipv4? 1 : 2; - pj_math_stat_update(&sess->stat.rx.stat_sum.toh, toh); - } - - /* Update burst metrics. - * There are two terms introduced in the RFC 3611: gap & burst. - * Gap represents good stream condition, lost+discard rate <= 1/Gmin. - * Burst represents the opposite, lost+discard rate > 1/Gmin. - */ - if (lost >= 0 && discarded >= 0) { - if(lost > 0) { - sess->voip_mtc_stat.loss_count++; - } - if(discarded > 0) { - sess->voip_mtc_stat.discard_count++; - } - if(!lost && !discarded) { - /* Number of good packets since last lost/discarded */ - sess->voip_mtc_stat.pkt++; - } - else { - if(sess->voip_mtc_stat.pkt >= sess->stat.rx.voip_mtc.gmin) { - /* Gap condition */ - if(sess->voip_mtc_stat.lost == 1) { - /* Gap -> Gap */ - sess->voip_mtc_stat.c14++; - } - else { - /* Burst -> Gap */ - sess->voip_mtc_stat.c13++; - } - sess->voip_mtc_stat.lost = 1; - sess->voip_mtc_stat.c11 += sess->voip_mtc_stat.pkt; - } - else { - /* Burst condition */ - sess->voip_mtc_stat.lost++; - if(sess->voip_mtc_stat.pkt == 0) { - /* Consecutive losts */ - sess->voip_mtc_stat.c33++; - } - else { - /* Any good packets, but still bursting */ - sess->voip_mtc_stat.c23++; - sess->voip_mtc_stat.c22 += (sess->voip_mtc_stat.pkt - 1); - } - } - - sess->voip_mtc_stat.pkt = 0; - } - } -} - -void pjmedia_rtcp_xr_tx_rtp( pjmedia_rtcp_xr_session *session, - unsigned ptsize ) -{ - PJ_UNUSED_ARG(session); - PJ_UNUSED_ARG(ptsize); -} - -PJ_DEF(pj_status_t) pjmedia_rtcp_xr_update_info( - pjmedia_rtcp_xr_session *sess, - unsigned info, - pj_int32_t val) -{ - int v = val; - - switch(info) { - case PJMEDIA_RTCP_XR_INFO_SIGNAL_LVL: - sess->stat.rx.voip_mtc.signal_lvl = (pj_int8_t) v; - break; - - case PJMEDIA_RTCP_XR_INFO_NOISE_LVL: - sess->stat.rx.voip_mtc.noise_lvl = (pj_int8_t) v; - break; - - case PJMEDIA_RTCP_XR_INFO_RERL: - sess->stat.rx.voip_mtc.rerl = (pj_uint8_t) v; - break; - - case PJMEDIA_RTCP_XR_INFO_R_FACTOR: - sess->stat.rx.voip_mtc.ext_r_factor = (pj_uint8_t) v; - break; - - case PJMEDIA_RTCP_XR_INFO_MOS_LQ: - sess->stat.rx.voip_mtc.mos_lq = (pj_uint8_t) v; - break; - - case PJMEDIA_RTCP_XR_INFO_MOS_CQ: - sess->stat.rx.voip_mtc.mos_cq = (pj_uint8_t) v; - break; - - case PJMEDIA_RTCP_XR_INFO_CONF_PLC: - if (v >= 0 && v <= 3) { - sess->stat.rx.voip_mtc.rx_config &= 0x3F; - sess->stat.rx.voip_mtc.rx_config |= (pj_uint8_t) (v << 6); - } - break; - - case PJMEDIA_RTCP_XR_INFO_CONF_JBA: - if (v >= 0 && v <= 3) { - sess->stat.rx.voip_mtc.rx_config &= 0xCF; - sess->stat.rx.voip_mtc.rx_config |= (pj_uint8_t) (v << 4); - } - break; - - case PJMEDIA_RTCP_XR_INFO_CONF_JBR: - if (v >= 0 && v <= 15) { - sess->stat.rx.voip_mtc.rx_config &= 0xF0; - sess->stat.rx.voip_mtc.rx_config |= (pj_uint8_t) v; - } - break; - - case PJMEDIA_RTCP_XR_INFO_JB_NOM: - sess->stat.rx.voip_mtc.jb_nom = (pj_uint16_t) v; - break; - - case PJMEDIA_RTCP_XR_INFO_JB_MAX: - sess->stat.rx.voip_mtc.jb_max = (pj_uint16_t) v; - break; - - case PJMEDIA_RTCP_XR_INFO_JB_ABS_MAX: - sess->stat.rx.voip_mtc.jb_abs_max = (pj_uint16_t) v; - break; - - default: - return PJ_EINVAL; - } - - return PJ_SUCCESS; -} - -#endif diff --git a/res/pjproject/pjmedia/src/pjmedia/rtp.c b/res/pjproject/pjmedia/src/pjmedia/rtp.c deleted file mode 100644 index 62c0d656cd..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/rtp.c +++ /dev/null @@ -1,366 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include /* pj_htonx, pj_htonx */ -#include -#include -#include - - -#define THIS_FILE "rtp.c" - -#define RTP_VERSION 2 - -#define RTP_SEQ_MOD (1 << 16) -#define MAX_DROPOUT ((pj_int16_t)3000) -#define MAX_MISORDER ((pj_int16_t)100) -#define MIN_SEQUENTIAL ((pj_int16_t)2) - -static void pjmedia_rtp_seq_restart(pjmedia_rtp_seq_session *seq_ctrl, - pj_uint16_t seq); - - -PJ_DEF(pj_status_t) pjmedia_rtp_session_init( pjmedia_rtp_session *ses, - int default_pt, - pj_uint32_t sender_ssrc ) -{ - PJ_LOG(5, (THIS_FILE, - "pjmedia_rtp_session_init: ses=%p, default_pt=%d, ssrc=0x%x", - ses, default_pt, sender_ssrc)); - - /* Check RTP header packing. */ - if (sizeof(struct pjmedia_rtp_hdr) != 12) { - pj_assert(!"Wrong RTP header packing!"); - return PJMEDIA_RTP_EINPACK; - } - - /* If sender_ssrc is not specified, create from random value. */ - if (sender_ssrc == 0 || sender_ssrc == (pj_uint32_t)-1) { - sender_ssrc = pj_htonl(pj_rand()); - } else { - sender_ssrc = pj_htonl(sender_ssrc); - } - - /* Initialize session. */ - pj_bzero(ses, sizeof(*ses)); - - /* Initial sequence number SHOULD be random, according to RFC 3550. */ - /* According to RFC 3711, it should be random within 2^15 bit */ - ses->out_extseq = pj_rand() & 0x7FFF; - ses->peer_ssrc = 0; - - /* Build default header for outgoing RTP packet. */ - ses->out_hdr.v = RTP_VERSION; - ses->out_hdr.p = 0; - ses->out_hdr.x = 0; - ses->out_hdr.cc = 0; - ses->out_hdr.m = 0; - ses->out_hdr.pt = (pj_uint8_t) default_pt; - ses->out_hdr.seq = (pj_uint16_t) pj_htons( (pj_uint16_t)ses->out_extseq ); - ses->out_hdr.ts = 0; - ses->out_hdr.ssrc = sender_ssrc; - - /* Keep some arguments as session defaults. */ - ses->out_pt = (pj_uint16_t) default_pt; - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_rtp_session_init2( - pjmedia_rtp_session *ses, - pjmedia_rtp_session_setting settings) -{ - pj_status_t status; - int pt = 0; - pj_uint32_t sender_ssrc = 0; - - if (settings.flags & 1) - pt = settings.default_pt; - if (settings.flags & 2) - sender_ssrc = settings.sender_ssrc; - - status = pjmedia_rtp_session_init(ses, pt, sender_ssrc); - if (status != PJ_SUCCESS) - return status; - - if (settings.flags & 4) { - ses->out_extseq = settings.seq; - ses->out_hdr.seq = pj_htons((pj_uint16_t)ses->out_extseq); - } - if (settings.flags & 8) - ses->out_hdr.ts = pj_htonl(settings.ts); - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_rtp_encode_rtp( pjmedia_rtp_session *ses, - int pt, int m, - int payload_len, int ts_len, - const void **rtphdr, int *hdrlen ) -{ - PJ_UNUSED_ARG(payload_len); - - /* Update timestamp */ - ses->out_hdr.ts = pj_htonl(pj_ntohl(ses->out_hdr.ts)+ts_len); - - /* If payload_len is zero, bail out. - * This is a clock frame; we're not really transmitting anything. - */ - if (payload_len == 0) - return PJ_SUCCESS; - - /* Update session. */ - ses->out_extseq++; - - /* Create outgoing header. */ - ses->out_hdr.pt = (pj_uint8_t) ((pt == -1) ? ses->out_pt : pt); - ses->out_hdr.m = (pj_uint16_t) m; - ses->out_hdr.seq = pj_htons( (pj_uint16_t) ses->out_extseq); - - /* Return values */ - *rtphdr = &ses->out_hdr; - *hdrlen = sizeof(pjmedia_rtp_hdr); - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_rtp_decode_rtp( pjmedia_rtp_session *ses, - const void *pkt, int pkt_len, - const pjmedia_rtp_hdr **hdr, - const void **payload, - unsigned *payloadlen) -{ - int offset; - - PJ_UNUSED_ARG(ses); - - /* Assume RTP header at the start of packet. We'll verify this later. */ - *hdr = (pjmedia_rtp_hdr*)pkt; - - /* Check RTP header sanity. */ - if ((*hdr)->v != RTP_VERSION) { - return PJMEDIA_RTP_EINVER; - } - - /* Payload is located right after header plus CSRC */ - offset = sizeof(pjmedia_rtp_hdr) + ((*hdr)->cc * sizeof(pj_uint32_t)); - - /* Adjust offset if RTP extension is used. */ - if ((*hdr)->x) { - pjmedia_rtp_ext_hdr *ext = (pjmedia_rtp_ext_hdr*) - (((pj_uint8_t*)pkt) + offset); - offset += ((pj_ntohs(ext->length)+1) * sizeof(pj_uint32_t)); - } - - /* Check that offset is less than packet size */ - if (offset > pkt_len) - return PJMEDIA_RTP_EINLEN; - - /* Find and set payload. */ - *payload = ((pj_uint8_t*)pkt) + offset; - *payloadlen = pkt_len - offset; - - /* Remove payload padding if any */ - if ((*hdr)->p && *payloadlen > 0) { - pj_uint8_t pad_len; - - pad_len = ((pj_uint8_t*)(*payload))[*payloadlen - 1]; - if (pad_len <= *payloadlen) - *payloadlen -= pad_len; - } - - return PJ_SUCCESS; -} - - -PJ_DEF(void) pjmedia_rtp_session_update( pjmedia_rtp_session *ses, - const pjmedia_rtp_hdr *hdr, - pjmedia_rtp_status *p_seq_st) -{ - pjmedia_rtp_session_update2(ses, hdr, p_seq_st, PJ_TRUE); -} - -PJ_DEF(void) pjmedia_rtp_session_update2( pjmedia_rtp_session *ses, - const pjmedia_rtp_hdr *hdr, - pjmedia_rtp_status *p_seq_st, - pj_bool_t check_pt) -{ - pjmedia_rtp_status seq_st; - - /* for now check_pt MUST be either PJ_TRUE or PJ_FALSE. - * In the future we might change check_pt from boolean to - * unsigned integer to accommodate more flags. - */ - pj_assert(check_pt==PJ_TRUE || check_pt==PJ_FALSE); - - /* Init status */ - seq_st.status.value = 0; - seq_st.diff = 0; - - /* Check SSRC. */ - if (ses->peer_ssrc == 0) ses->peer_ssrc = pj_ntohl(hdr->ssrc); - - if (pj_ntohl(hdr->ssrc) != ses->peer_ssrc) { - seq_st.status.flag.badssrc = 1; - ses->peer_ssrc = pj_ntohl(hdr->ssrc); - } - - /* Check payload type. */ - if (check_pt && hdr->pt != ses->out_pt) { - if (p_seq_st) { - p_seq_st->status.value = seq_st.status.value; - p_seq_st->status.flag.bad = 1; - p_seq_st->status.flag.badpt = 1; - } - return; - } - - /* Initialize sequence number on first packet received. */ - if (ses->received == 0) - pjmedia_rtp_seq_init( &ses->seq_ctrl, pj_ntohs(hdr->seq) ); - - /* Check sequence number to see if remote session has been restarted. */ - pjmedia_rtp_seq_update( &ses->seq_ctrl, pj_ntohs(hdr->seq), &seq_st); - if (seq_st.status.flag.restart) { - ++ses->received; - - } else if (!seq_st.status.flag.bad) { - ++ses->received; - } - - if (p_seq_st) { - p_seq_st->status.value = seq_st.status.value; - p_seq_st->diff = seq_st.diff; - } -} - - - -void pjmedia_rtp_seq_restart(pjmedia_rtp_seq_session *sess, pj_uint16_t seq) -{ - sess->base_seq = seq; - sess->max_seq = seq; - sess->bad_seq = RTP_SEQ_MOD + 1; - sess->cycles = 0; -} - - -void pjmedia_rtp_seq_init(pjmedia_rtp_seq_session *sess, pj_uint16_t seq) -{ - pjmedia_rtp_seq_restart(sess, seq); - - sess->max_seq = (pj_uint16_t) (seq - 1); - sess->probation = MIN_SEQUENTIAL; -} - - -void pjmedia_rtp_seq_update( pjmedia_rtp_seq_session *sess, - pj_uint16_t seq, - pjmedia_rtp_status *seq_status) -{ - pj_uint16_t udelta = (pj_uint16_t) (seq - sess->max_seq); - pjmedia_rtp_status st; - - /* Init status */ - st.status.value = 0; - st.diff = 0; - - /* - * Source is not valid until MIN_SEQUENTIAL packets with - * sequential sequence numbers have been received. - */ - if (sess->probation) { - - st.status.flag.probation = 1; - - if (seq == sess->max_seq+ 1) { - /* packet is in sequence */ - st.diff = 1; - sess->probation--; - sess->max_seq = seq; - if (sess->probation == 0) { - st.status.flag.probation = 0; - } - } else { - - st.diff = 0; - - st.status.flag.bad = 1; - if (seq == sess->max_seq) - st.status.flag.dup = 1; - else - st.status.flag.outorder = 1; - - sess->probation = MIN_SEQUENTIAL - 1; - sess->max_seq = seq; - } - - - } else if (udelta == 0) { - - st.status.flag.dup = 1; - - } else if (udelta < MAX_DROPOUT) { - /* in order, with permissible gap */ - if (seq < sess->max_seq) { - /* Sequence number wrapped - count another 64K cycle. */ - sess->cycles += RTP_SEQ_MOD; - } - sess->max_seq = seq; - - st.diff = udelta; - - } else if (udelta <= (RTP_SEQ_MOD - MAX_MISORDER)) { - /* the sequence number made a very large jump */ - if (seq == sess->bad_seq) { - /* - * Two sequential packets -- assume that the other side - * restarted without telling us so just re-sync - * (i.e., pretend this was the first packet). - */ - pjmedia_rtp_seq_restart(sess, seq); - st.status.flag.restart = 1; - st.status.flag.probation = 1; - st.diff = 1; - } - else { - sess->bad_seq = (seq + 1) & (RTP_SEQ_MOD-1); - st.status.flag.bad = 1; - st.status.flag.outorder = 1; - } - } else { - /* old duplicate or reordered packet. - * Not necessarily bad packet (?) - */ - st.status.flag.outorder = 1; - } - - - if (seq_status) { - seq_status->diff = st.diff; - seq_status->status.value = st.status.value; - } -} - - diff --git a/res/pjproject/pjmedia/src/pjmedia/sdp.c b/res/pjproject/pjmedia/src/pjmedia/sdp.c deleted file mode 100644 index 629500c794..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/sdp.c +++ /dev/null @@ -1,1576 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -enum { - SKIP_WS = 0, - SYNTAX_ERROR = 1, -}; -// New token definition from RFC 4566 (SDP) -#define TOKEN "!#$%&'*+-.^_`{|}~" -//#define TOKEN "-.!%*_=`'~" -//#define TOKEN "'`-./:?\"#$&*;=@[]^_`{|}+~!" -#define NTP_OFFSET ((pj_uint32_t)2208988800) -#define THIS_FILE "sdp.c" - -typedef struct parse_context -{ - pj_status_t last_error; -} parse_context; - - -/* - * Prototypes for line parser. - */ -static void parse_version(pj_scanner *scanner, parse_context *ctx); -static void parse_origin(pj_scanner *scanner, pjmedia_sdp_session *ses, - parse_context *ctx); -static void parse_time(pj_scanner *scanner, pjmedia_sdp_session *ses, - parse_context *ctx); -static void parse_generic_line(pj_scanner *scanner, pj_str_t *str, - parse_context *ctx); -static void parse_connection_info(pj_scanner *scanner, pjmedia_sdp_conn *conn, - parse_context *ctx); -static void parse_bandwidth_info(pj_scanner *scanner, pjmedia_sdp_bandw *bandw, - parse_context *ctx); -static pjmedia_sdp_attr *parse_attr(pj_pool_t *pool, pj_scanner *scanner, - parse_context *ctx); -static void parse_media(pj_scanner *scanner, pjmedia_sdp_media *med, - parse_context *ctx); -static void on_scanner_error(pj_scanner *scanner); - -/* - * Scanner character specification. - */ -static int is_initialized; -static pj_cis_buf_t cis_buf; -static pj_cis_t cs_digit, cs_token; - -static void init_sdp_parser(void) -{ - if (is_initialized != 0) - return; - - pj_enter_critical_section(); - - if (is_initialized != 0) { - pj_leave_critical_section(); - return; - } - - pj_cis_buf_init(&cis_buf); - - pj_cis_init(&cis_buf, &cs_token); - pj_cis_add_alpha(&cs_token); - pj_cis_add_num(&cs_token); - pj_cis_add_str(&cs_token, TOKEN); - - pj_cis_init(&cis_buf, &cs_digit); - pj_cis_add_num(&cs_digit); - - is_initialized = 1; - pj_leave_critical_section(); -} - -PJ_DEF(pjmedia_sdp_attr*) pjmedia_sdp_attr_create( pj_pool_t *pool, - const char *name, - const pj_str_t *value) -{ - pjmedia_sdp_attr *attr; - - PJ_ASSERT_RETURN(pool && name, NULL); - - attr = PJ_POOL_ALLOC_T(pool, pjmedia_sdp_attr); - pj_strdup2(pool, &attr->name, name); - - if (value) - pj_strdup_with_null(pool, &attr->value, value); - else { - attr->value.ptr = NULL; - attr->value.slen = 0; - } - - return attr; -} - -PJ_DEF(pjmedia_sdp_attr*) pjmedia_sdp_attr_clone(pj_pool_t *pool, - const pjmedia_sdp_attr *rhs) -{ - pjmedia_sdp_attr *attr; - - PJ_ASSERT_RETURN(pool && rhs, NULL); - - attr = PJ_POOL_ALLOC_T(pool, pjmedia_sdp_attr); - - pj_strdup(pool, &attr->name, &rhs->name); - pj_strdup_with_null(pool, &attr->value, &rhs->value); - - return attr; -} - -PJ_DEF(pjmedia_sdp_attr*) pjmedia_sdp_attr_find (unsigned count, - pjmedia_sdp_attr *const attr_array[], - const pj_str_t *name, - const pj_str_t *c_fmt) -{ - unsigned i; - unsigned c_pt = 0xFFFF; - - if (c_fmt) - c_pt = pj_strtoul(c_fmt); - - for (i=0; iname, name) == 0) { - const pjmedia_sdp_attr *a = attr_array[i]; - if (c_fmt) { - unsigned pt = (unsigned) pj_strtoul2(&a->value, NULL, 10); - if (pt == c_pt) { - return (pjmedia_sdp_attr*)a; - } - } else - return (pjmedia_sdp_attr*)a; - } - } - return NULL; -} - -PJ_DEF(pjmedia_sdp_attr*) pjmedia_sdp_attr_find2(unsigned count, - pjmedia_sdp_attr *const attr_array[], - const char *c_name, - const pj_str_t *c_fmt) -{ - pj_str_t name; - - name.ptr = (char*)c_name; - name.slen = pj_ansi_strlen(c_name); - - return pjmedia_sdp_attr_find(count, attr_array, &name, c_fmt); -} - - - -PJ_DEF(pj_status_t) pjmedia_sdp_attr_add(unsigned *count, - pjmedia_sdp_attr *attr_array[], - pjmedia_sdp_attr *attr) -{ - PJ_ASSERT_RETURN(count && attr_array && attr, PJ_EINVAL); - PJ_ASSERT_RETURN(*count < PJMEDIA_MAX_SDP_ATTR, PJ_ETOOMANY); - - attr_array[*count] = attr; - (*count)++; - - return PJ_SUCCESS; -} - - -PJ_DEF(unsigned) pjmedia_sdp_attr_remove_all(unsigned *count, - pjmedia_sdp_attr *attr_array[], - const char *name) -{ - unsigned i, removed = 0; - pj_str_t attr_name; - - PJ_ASSERT_RETURN(count && attr_array && name, PJ_EINVAL); - - attr_name.ptr = (char*)name; - attr_name.slen = pj_ansi_strlen(name); - - for (i=0; i<*count; ) { - if (pj_strcmp(&attr_array[i]->name, &attr_name)==0) { - pj_array_erase(attr_array, sizeof(pjmedia_sdp_attr*), - *count, i); - --(*count); - ++removed; - } else { - ++i; - } - } - - return removed; -} - - -PJ_DEF(pj_status_t) pjmedia_sdp_attr_remove( unsigned *count, - pjmedia_sdp_attr *attr_array[], - pjmedia_sdp_attr *attr ) -{ - unsigned i, removed=0; - - PJ_ASSERT_RETURN(count && attr_array && attr, PJ_EINVAL); - - for (i=0; i<*count; ) { - if (attr_array[i] == attr) { - pj_array_erase(attr_array, sizeof(pjmedia_sdp_attr*), - *count, i); - --(*count); - ++removed; - } else { - ++i; - } - } - - return removed ? PJ_SUCCESS : PJ_ENOTFOUND; -} - - -PJ_DEF(pj_status_t) pjmedia_sdp_attr_get_rtpmap( const pjmedia_sdp_attr *attr, - pjmedia_sdp_rtpmap *rtpmap) -{ - pj_scanner scanner; - pj_str_t token; - pj_status_t status = -1; - char term = 0; - PJ_USE_EXCEPTION; - - PJ_ASSERT_RETURN(pj_strcmp2(&attr->name, "rtpmap")==0, PJ_EINVALIDOP); - - PJ_ASSERT_RETURN(attr->value.slen != 0, PJMEDIA_SDP_EINATTR); - - init_sdp_parser(); - - /* Check if input is null terminated, and null terminate if - * necessary. Unfortunately this may crash the application if - * attribute was allocated from a read-only memory location. - * But this shouldn't happen as attribute's value normally is - * null terminated. - */ - if (attr->value.ptr[attr->value.slen] != 0 && - attr->value.ptr[attr->value.slen] != '\r' && - attr->value.ptr[attr->value.slen] != '\n') - { - pj_assert(!"Shouldn't happen"); - term = attr->value.ptr[attr->value.slen]; - attr->value.ptr[attr->value.slen] = '\0'; - } - - pj_scan_init(&scanner, (char*)attr->value.ptr, attr->value.slen, - PJ_SCAN_AUTOSKIP_WS, &on_scanner_error); - - /* rtpmap sample: - * a=rtpmap:98 L16/16000/2. - */ - - /* Init */ - rtpmap->pt.slen = rtpmap->param.slen = rtpmap->enc_name.slen = 0; - rtpmap->clock_rate = 0; - - /* Parse */ - PJ_TRY { - - /* Get payload type. */ - pj_scan_get(&scanner, &cs_token, &rtpmap->pt); - - - /* Get encoding name. */ - pj_scan_get(&scanner, &cs_token, &rtpmap->enc_name); - - /* Expecting '/' after encoding name. */ - if (pj_scan_get_char(&scanner) != '/') { - status = PJMEDIA_SDP_EINRTPMAP; - goto on_return; - } - - - /* Get the clock rate. */ - pj_scan_get(&scanner, &cs_digit, &token); - rtpmap->clock_rate = pj_strtoul(&token); - - /* Expecting either '/' or EOF */ - if (*scanner.curptr == '/') { - pj_scan_get_char(&scanner); - rtpmap->param.ptr = scanner.curptr; - rtpmap->param.slen = scanner.end - scanner.curptr; - } else { - rtpmap->param.slen = 0; - } - - status = PJ_SUCCESS; - } - PJ_CATCH_ANY { - status = PJMEDIA_SDP_EINRTPMAP; - } - PJ_END; - - -on_return: - pj_scan_fini(&scanner); - if (term) { - attr->value.ptr[attr->value.slen] = term; - } - return status; -} - -PJ_DEF(pj_status_t) pjmedia_sdp_attr_get_fmtp( const pjmedia_sdp_attr *attr, - pjmedia_sdp_fmtp *fmtp) -{ - const char *p = attr->value.ptr; - const char *end = attr->value.ptr + attr->value.slen; - pj_str_t token; - - PJ_ASSERT_RETURN(pj_strcmp2(&attr->name, "fmtp")==0, PJ_EINVALIDOP); - - /* fmtp BNF: - * a=fmtp: - */ - - /* Get format. */ - token.ptr = (char*)p; - while (pj_isdigit(*p) && p!=end) - ++p; - token.slen = p - token.ptr; - if (token.slen == 0) - return PJMEDIA_SDP_EINFMTP; - - fmtp->fmt = token; - - /* Expecting space after format. */ - if (*p != ' ') return PJMEDIA_SDP_EINFMTP; - - /* Get space. */ - ++p; - - /* Set the remaining string as fmtp format parameter. */ - fmtp->fmt_param.ptr = (char*)p; - fmtp->fmt_param.slen = end - p; - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_sdp_attr_get_rtcp(const pjmedia_sdp_attr *attr, - pjmedia_sdp_rtcp_attr *rtcp) -{ - pj_scanner scanner; - pj_str_t token; - pj_status_t status = -1; - PJ_USE_EXCEPTION; - - PJ_ASSERT_RETURN(pj_strcmp2(&attr->name, "rtcp")==0, PJ_EINVALIDOP); - - init_sdp_parser(); - - /* fmtp BNF: - * a=rtcp: [nettype addrtype address] - */ - - pj_scan_init(&scanner, (char*)attr->value.ptr, attr->value.slen, - PJ_SCAN_AUTOSKIP_WS, &on_scanner_error); - - /* Init */ - rtcp->net_type.slen = rtcp->addr_type.slen = rtcp->addr.slen = 0; - - /* Parse */ - PJ_TRY { - - /* Get the port */ - pj_scan_get(&scanner, &cs_token, &token); - rtcp->port = pj_strtoul(&token); - - /* Have address? */ - if (!pj_scan_is_eof(&scanner)) { - - /* Get network type */ - pj_scan_get(&scanner, &cs_token, &rtcp->net_type); - - /* Get address type */ - pj_scan_get(&scanner, &cs_token, &rtcp->addr_type); - - /* Get the address */ - pj_scan_get(&scanner, &cs_token, &rtcp->addr); - - } - - status = PJ_SUCCESS; - - } - PJ_CATCH_ANY { - status = PJMEDIA_SDP_EINRTCP; - } - PJ_END; - - pj_scan_fini(&scanner); - return status; -} - - -PJ_DEF(pjmedia_sdp_attr*) pjmedia_sdp_attr_create_rtcp(pj_pool_t *pool, - const pj_sockaddr *a) -{ - enum { - ATTR_LEN = PJ_INET6_ADDRSTRLEN+16 - }; - pjmedia_sdp_attr *attr; - - attr = PJ_POOL_ALLOC_T(pool, pjmedia_sdp_attr); - attr->name = pj_str("rtcp"); - attr->value.ptr = (char*) pj_pool_alloc(pool, ATTR_LEN); - if (a->addr.sa_family == pj_AF_INET()) { - attr->value.slen = - pj_ansi_snprintf(attr->value.ptr, ATTR_LEN, - "%u IN IP4 %s", - pj_ntohs(a->ipv4.sin_port), - pj_inet_ntoa(a->ipv4.sin_addr)); - } else if (a->addr.sa_family == pj_AF_INET6()) { - char tmp_addr[PJ_INET6_ADDRSTRLEN]; - attr->value.slen = - pj_ansi_snprintf(attr->value.ptr, ATTR_LEN, - "%u IN IP6 %s", - pj_sockaddr_get_port(a), - pj_sockaddr_print(a, tmp_addr, - sizeof(tmp_addr), 0)); - - } else { - pj_assert(!"Unsupported address family"); - return NULL; - } - - return attr; -} - - -PJ_DEF(pj_status_t) pjmedia_sdp_attr_to_rtpmap(pj_pool_t *pool, - const pjmedia_sdp_attr *attr, - pjmedia_sdp_rtpmap **p_rtpmap) -{ - PJ_ASSERT_RETURN(pool && attr && p_rtpmap, PJ_EINVAL); - - *p_rtpmap = PJ_POOL_ALLOC_T(pool, pjmedia_sdp_rtpmap); - PJ_ASSERT_RETURN(*p_rtpmap, PJ_ENOMEM); - - return pjmedia_sdp_attr_get_rtpmap(attr, *p_rtpmap); -} - - -PJ_DEF(pj_status_t) pjmedia_sdp_rtpmap_to_attr(pj_pool_t *pool, - const pjmedia_sdp_rtpmap *rtpmap, - pjmedia_sdp_attr **p_attr) -{ - pjmedia_sdp_attr *attr; - char tempbuf[128]; - int len; - - /* Check arguments. */ - PJ_ASSERT_RETURN(pool && rtpmap && p_attr, PJ_EINVAL); - - /* Check that mandatory attributes are specified. */ - PJ_ASSERT_RETURN(rtpmap->enc_name.slen && rtpmap->clock_rate, - PJMEDIA_SDP_EINRTPMAP); - - - attr = PJ_POOL_ALLOC_T(pool, pjmedia_sdp_attr); - PJ_ASSERT_RETURN(attr != NULL, PJ_ENOMEM); - - attr->name.ptr = "rtpmap"; - attr->name.slen = 6; - - /* Format: ":pt enc_name/clock_rate[/param]" */ - len = pj_ansi_snprintf(tempbuf, sizeof(tempbuf), - "%.*s %.*s/%u%s%.*s", - (int)rtpmap->pt.slen, - rtpmap->pt.ptr, - (int)rtpmap->enc_name.slen, - rtpmap->enc_name.ptr, - rtpmap->clock_rate, - (rtpmap->param.slen ? "/" : ""), - (int)rtpmap->param.slen, - rtpmap->param.ptr); - - if (len < 1 || len > (int)sizeof(tempbuf)) - return PJMEDIA_SDP_ERTPMAPTOOLONG; - - attr->value.slen = len; - attr->value.ptr = (char*) pj_pool_alloc(pool, attr->value.slen+1); - pj_memcpy(attr->value.ptr, tempbuf, attr->value.slen+1); - - *p_attr = attr; - return PJ_SUCCESS; -} - - -static int print_connection_info( pjmedia_sdp_conn *c, char *buf, int len) -{ - int printed; - - printed = pj_ansi_snprintf(buf, len, "c=%.*s %.*s %.*s\r\n", - (int)c->net_type.slen, - c->net_type.ptr, - (int)c->addr_type.slen, - c->addr_type.ptr, - (int)c->addr.slen, - c->addr.ptr); - if (printed < 1 || printed > len) - return -1; - - return printed; -} - - -PJ_DEF(pjmedia_sdp_conn*) pjmedia_sdp_conn_clone (pj_pool_t *pool, - const pjmedia_sdp_conn *rhs) -{ - pjmedia_sdp_conn *c = PJ_POOL_ALLOC_T(pool, pjmedia_sdp_conn); - if (!c) return NULL; - - if (!pj_strdup (pool, &c->net_type, &rhs->net_type)) return NULL; - if (!pj_strdup (pool, &c->addr_type, &rhs->addr_type)) return NULL; - if (!pj_strdup (pool, &c->addr, &rhs->addr)) return NULL; - - return c; -} - -PJ_DEF(pjmedia_sdp_bandw*) -pjmedia_sdp_bandw_clone (pj_pool_t *pool, - const pjmedia_sdp_bandw *rhs) -{ - pjmedia_sdp_bandw *b = PJ_POOL_ALLOC_T(pool, pjmedia_sdp_bandw); - if (!b) return NULL; - - if (!pj_strdup (pool, &b->modifier, &rhs->modifier)) return NULL; - b->value = rhs->value; - - return b; -} - -static pj_ssize_t print_bandw(const pjmedia_sdp_bandw *bandw, - char *buf, pj_size_t len) -{ - char *p = buf; - - if ((int)len < bandw->modifier.slen + 10 + 5) - return -1; - - *p++ = 'b'; - *p++ = '='; - pj_memcpy(p, bandw->modifier.ptr, bandw->modifier.slen); - p += bandw->modifier.slen; - *p++ = ':'; - p += pj_utoa(bandw->value, p); - - *p++ = '\r'; - *p++ = '\n'; - return p-buf; -} - -static pj_ssize_t print_attr(const pjmedia_sdp_attr *attr, - char *buf, pj_size_t len) -{ - char *p = buf; - - if ((int)len < attr->name.slen + attr->value.slen + 10) - return -1; - - *p++ = 'a'; - *p++ = '='; - pj_memcpy(p, attr->name.ptr, attr->name.slen); - p += attr->name.slen; - - - if (attr->value.slen) { - *p++ = ':'; - pj_memcpy(p, attr->value.ptr, attr->value.slen); - p += attr->value.slen; - } - - *p++ = '\r'; - *p++ = '\n'; - return p-buf; -} - -static int print_media_desc( pjmedia_sdp_media *m, char *buf, int len) -{ - char *p = buf; - char *end = buf+len; - unsigned i; - int printed; - - /* check length for the "m=" line. */ - if (len < m->desc.media.slen+m->desc.transport.slen+12+24) { - return -1; - } - *p++ = 'm'; /* m= */ - *p++ = '='; - pj_memcpy(p, m->desc.media.ptr, m->desc.media.slen); - p += m->desc.media.slen; - *p++ = ' '; - printed = pj_utoa(m->desc.port, p); - p += printed; - if (m->desc.port_count > 1) { - *p++ = '/'; - printed = pj_utoa(m->desc.port_count, p); - p += printed; - } - *p++ = ' '; - pj_memcpy(p, m->desc.transport.ptr, m->desc.transport.slen); - p += m->desc.transport.slen; - for (i=0; idesc.fmt_count; ++i) { - *p++ = ' '; - pj_memcpy(p, m->desc.fmt[i].ptr, m->desc.fmt[i].slen); - p += m->desc.fmt[i].slen; - } - *p++ = '\r'; - *p++ = '\n'; - - /* print connection info, if present. */ - if (m->conn) { - printed = print_connection_info(m->conn, p, end-p); - if (printed < 0) { - return -1; - } - p += printed; - } - - /* print optional bandwidth info. */ - for (i=0; ibandw_count; ++i) { - printed = print_bandw(m->bandw[i], p, end-p); - if (printed < 0) { - return -1; - } - p += printed; - } - - /* print attributes. */ - for (i=0; iattr_count; ++i) { - printed = print_attr(m->attr[i], p, end-p); - if (printed < 0) { - return -1; - } - p += printed; - } - - return p-buf; -} - -PJ_DEF(pjmedia_sdp_media*) pjmedia_sdp_media_clone( - pj_pool_t *pool, - const pjmedia_sdp_media *rhs) -{ - unsigned int i; - pjmedia_sdp_media *m = PJ_POOL_ALLOC_T(pool, pjmedia_sdp_media); - PJ_ASSERT_RETURN(m != NULL, NULL); - - pj_strdup (pool, &m->desc.media, &rhs->desc.media); - m->desc.port = rhs->desc.port; - m->desc.port_count = rhs->desc.port_count; - pj_strdup (pool, &m->desc.transport, &rhs->desc.transport); - m->desc.fmt_count = rhs->desc.fmt_count; - for (i=0; idesc.fmt_count; ++i) - pj_strdup(pool, &m->desc.fmt[i], &rhs->desc.fmt[i]); - - if (rhs->conn) { - m->conn = pjmedia_sdp_conn_clone (pool, rhs->conn); - PJ_ASSERT_RETURN(m->conn != NULL, NULL); - } else { - m->conn = NULL; - } - - m->bandw_count = rhs->bandw_count; - for (i=0; i < rhs->bandw_count; ++i) { - m->bandw[i] = pjmedia_sdp_bandw_clone (pool, rhs->bandw[i]); - PJ_ASSERT_RETURN(m->bandw[i] != NULL, NULL); - } - - m->attr_count = rhs->attr_count; - for (i=0; i < rhs->attr_count; ++i) { - m->attr[i] = pjmedia_sdp_attr_clone (pool, rhs->attr[i]); - PJ_ASSERT_RETURN(m->attr[i] != NULL, NULL); - } - - return m; -} - -PJ_DEF(pjmedia_sdp_attr*) pjmedia_sdp_media_find_attr( - const pjmedia_sdp_media *m, - const pj_str_t *name, const pj_str_t *fmt) -{ - PJ_ASSERT_RETURN(m && name, NULL); - return pjmedia_sdp_attr_find(m->attr_count, m->attr, name, fmt); -} - - - -PJ_DEF(pjmedia_sdp_attr*) pjmedia_sdp_media_find_attr2( - const pjmedia_sdp_media *m, - const char *name, const pj_str_t *fmt) -{ - PJ_ASSERT_RETURN(m && name, NULL); - return pjmedia_sdp_attr_find2(m->attr_count, m->attr, name, fmt); -} - - -PJ_DEF(pj_status_t) pjmedia_sdp_media_add_attr( pjmedia_sdp_media *m, - pjmedia_sdp_attr *attr) -{ - return pjmedia_sdp_attr_add(&m->attr_count, m->attr, attr); -} - -PJ_DEF(pj_status_t) pjmedia_sdp_session_add_attr(pjmedia_sdp_session *s, - pjmedia_sdp_attr *attr) -{ - return pjmedia_sdp_attr_add(&s->attr_count, s->attr, attr); -} - -PJ_DEF(unsigned) pjmedia_sdp_media_remove_all_attr(pjmedia_sdp_media *m, - const char *name) -{ - return pjmedia_sdp_attr_remove_all(&m->attr_count, m->attr, name); -} - -PJ_DEF(pj_status_t) pjmedia_sdp_media_remove_attr(pjmedia_sdp_media *m, - pjmedia_sdp_attr *attr) -{ - return pjmedia_sdp_attr_remove(&m->attr_count, m->attr, attr); -} - -static int print_session(const pjmedia_sdp_session *ses, - char *buf, pj_ssize_t len) -{ - char *p = buf; - char *end = buf+len; - unsigned i; - int printed; - - /* Check length for v= and o= lines. */ - if (len < 5+ - 2+ses->origin.user.slen+18+ - ses->origin.net_type.slen+ses->origin.addr.slen + 2) - { - return -1; - } - - /* SDP version (v= line) */ - pj_memcpy(p, "v=0\r\n", 5); - p += 5; - - /* Owner (o=) line. */ - *p++ = 'o'; - *p++ = '='; - pj_memcpy(p, ses->origin.user.ptr, ses->origin.user.slen); - p += ses->origin.user.slen; - *p++ = ' '; - printed = pj_utoa(ses->origin.id, p); - p += printed; - *p++ = ' '; - printed = pj_utoa(ses->origin.version, p); - p += printed; - *p++ = ' '; - pj_memcpy(p, ses->origin.net_type.ptr, ses->origin.net_type.slen); - p += ses->origin.net_type.slen; - *p++ = ' '; - pj_memcpy(p, ses->origin.addr_type.ptr, ses->origin.addr_type.slen); - p += ses->origin.addr_type.slen; - *p++ = ' '; - pj_memcpy(p, ses->origin.addr.ptr, ses->origin.addr.slen); - p += ses->origin.addr.slen; - *p++ = '\r'; - *p++ = '\n'; - - /* Session name (s=) line. */ - if ((end-p) < 8+ses->name.slen) { - return -1; - } - *p++ = 's'; - *p++ = '='; - pj_memcpy(p, ses->name.ptr, ses->name.slen); - p += ses->name.slen; - *p++ = '\r'; - *p++ = '\n'; - - /* Connection line (c=) if exist. */ - if (ses->conn) { - printed = print_connection_info(ses->conn, p, end-p); - if (printed < 1) { - return -1; - } - p += printed; - } - - /* print optional bandwidth info. */ - for (i=0; ibandw_count; ++i) { - printed = print_bandw(ses->bandw[i], p, end-p); - if (printed < 1) { - return -1; - } - p += printed; - } - - /* Time */ - if ((end-p) < 24) { - return -1; - } - *p++ = 't'; - *p++ = '='; - printed = pj_utoa(ses->time.start, p); - p += printed; - *p++ = ' '; - printed = pj_utoa(ses->time.stop, p); - p += printed; - *p++ = '\r'; - *p++ = '\n'; - - /* Print all attribute (a=) lines. */ - for (i=0; iattr_count; ++i) { - printed = print_attr(ses->attr[i], p, end-p); - if (printed < 0) { - return -1; - } - p += printed; - } - - /* Print media (m=) lines. */ - for (i=0; imedia_count; ++i) { - printed = print_media_desc(ses->media[i], p, end-p); - if (printed < 0) { - return -1; - } - p += printed; - } - - return p-buf; -} - -/****************************************************************************** - * PARSERS - */ - -static void parse_version(pj_scanner *scanner, parse_context *ctx) -{ - ctx->last_error = PJMEDIA_SDP_EINVER; - - /* check equal sign */ - if (*(scanner->curptr+1) != '=') { - on_scanner_error(scanner); - return; - } - - /* check version is 0 */ - if (*(scanner->curptr+2) != '0') { - on_scanner_error(scanner); - return; - } - - /* We've got what we're looking for, skip anything until newline */ - pj_scan_skip_line(scanner); -} - -static void parse_origin(pj_scanner *scanner, pjmedia_sdp_session *ses, - parse_context *ctx) -{ - pj_str_t str; - - ctx->last_error = PJMEDIA_SDP_EINORIGIN; - - /* check equal sign */ - if (*(scanner->curptr+1) != '=') { - on_scanner_error(scanner); - return; - } - - /* o= */ - pj_scan_advance_n(scanner, 2, SKIP_WS); - - /* username. */ - pj_scan_get_until_ch(scanner, ' ', &ses->origin.user); - pj_scan_get_char(scanner); - - /* id */ - pj_scan_get_until_ch(scanner, ' ', &str); - ses->origin.id = pj_strtoul(&str); - pj_scan_get_char(scanner); - - /* version */ - pj_scan_get_until_ch(scanner, ' ', &str); - ses->origin.version = pj_strtoul(&str); - pj_scan_get_char(scanner); - - /* network-type */ - pj_scan_get_until_ch(scanner, ' ', &ses->origin.net_type); - pj_scan_get_char(scanner); - - /* addr-type */ - pj_scan_get_until_ch(scanner, ' ', &ses->origin.addr_type); - pj_scan_get_char(scanner); - - /* address */ - pj_scan_get_until_chr(scanner, " \t\r\n", &ses->origin.addr); - - /* We've got what we're looking for, skip anything until newline */ - pj_scan_skip_line(scanner); - -} - -static void parse_time(pj_scanner *scanner, pjmedia_sdp_session *ses, - parse_context *ctx) -{ - pj_str_t str; - - ctx->last_error = PJMEDIA_SDP_EINTIME; - - /* check equal sign */ - if (*(scanner->curptr+1) != '=') { - on_scanner_error(scanner); - return; - } - - /* t= */ - pj_scan_advance_n(scanner, 2, SKIP_WS); - - /* start time */ - pj_scan_get_until_ch(scanner, ' ', &str); - ses->time.start = pj_strtoul(&str); - - pj_scan_get_char(scanner); - - /* stop time */ - pj_scan_get_until_chr(scanner, " \t\r\n", &str); - ses->time.stop = pj_strtoul(&str); - - /* We've got what we're looking for, skip anything until newline */ - pj_scan_skip_line(scanner); -} - -static void parse_generic_line(pj_scanner *scanner, pj_str_t *str, - parse_context *ctx) -{ - ctx->last_error = PJMEDIA_SDP_EINSDP; - - /* check equal sign */ - if (*(scanner->curptr+1) != '=') { - on_scanner_error(scanner); - return; - } - - /* x= */ - pj_scan_advance_n(scanner, 2, SKIP_WS); - - /* get anything until newline (including whitespaces). */ - pj_scan_get_until_chr(scanner, "\r\n", str); - - /* newline. */ - pj_scan_get_newline(scanner); -} - -static void parse_connection_info(pj_scanner *scanner, pjmedia_sdp_conn *conn, - parse_context *ctx) -{ - ctx->last_error = PJMEDIA_SDP_EINCONN; - - /* c= */ - pj_scan_advance_n(scanner, 2, SKIP_WS); - - /* network-type */ - pj_scan_get_until_ch(scanner, ' ', &conn->net_type); - pj_scan_get_char(scanner); - - /* addr-type */ - pj_scan_get_until_ch(scanner, ' ', &conn->addr_type); - pj_scan_get_char(scanner); - - /* address. */ - pj_scan_get_until_chr(scanner, "/ \t\r\n", &conn->addr); - PJ_TODO(PARSE_SDP_CONN_ADDRESS_SUBFIELDS); - - /* We've got what we're looking for, skip anything until newline */ - pj_scan_skip_line(scanner); -} - -static void parse_bandwidth_info(pj_scanner *scanner, pjmedia_sdp_bandw *bandw, - parse_context *ctx) -{ - pj_str_t str; - - ctx->last_error = PJMEDIA_SDP_EINBANDW; - - /* b= */ - pj_scan_advance_n(scanner, 2, SKIP_WS); - - /* modifier */ - pj_scan_get_until_ch(scanner, ':', &bandw->modifier); - pj_scan_get_char(scanner); - - /* value */ - pj_scan_get_until_chr(scanner, " \t\r\n", &str); - bandw->value = pj_strtoul(&str); - - /* We've got what we're looking for, skip anything until newline */ - pj_scan_skip_line(scanner); -} - -static void parse_media(pj_scanner *scanner, pjmedia_sdp_media *med, - parse_context *ctx) -{ - pj_str_t str; - - ctx->last_error = PJMEDIA_SDP_EINMEDIA; - - /* check the equal sign */ - if (*(scanner->curptr+1) != '=') { - on_scanner_error(scanner); - return; - } - - /* m= */ - pj_scan_advance_n(scanner, 2, SKIP_WS); - - /* type */ - pj_scan_get_until_ch(scanner, ' ', &med->desc.media); - pj_scan_get_char(scanner); - - /* port */ - pj_scan_get(scanner, &cs_token, &str); - med->desc.port = (unsigned short)pj_strtoul(&str); - if (*scanner->curptr == '/') { - /* port count */ - pj_scan_get_char(scanner); - pj_scan_get(scanner, &cs_token, &str); - med->desc.port_count = pj_strtoul(&str); - - } else { - med->desc.port_count = 0; - } - - if (pj_scan_get_char(scanner) != ' ') { - PJ_THROW(SYNTAX_ERROR); - } - - /* transport */ - pj_scan_get_until_chr(scanner, " \t\r\n", &med->desc.transport); - - /* format list */ - med->desc.fmt_count = 0; - while (*scanner->curptr == ' ') { - pj_str_t fmt; - - pj_scan_get_char(scanner); - - /* Check again for the end of the line */ - if ((*scanner->curptr == '\r') || (*scanner->curptr == '\n')) - break; - - pj_scan_get(scanner, &cs_token, &fmt); - if (med->desc.fmt_count < PJMEDIA_MAX_SDP_FMT) - med->desc.fmt[med->desc.fmt_count++] = fmt; - else - PJ_PERROR(2,(THIS_FILE, PJ_ETOOMANY, - "Error adding SDP media format %.*s, " - "format is ignored", - (int)fmt.slen, fmt.ptr)); - } - - /* We've got what we're looking for, skip anything until newline */ - pj_scan_skip_line(scanner); -} - -static void on_scanner_error(pj_scanner *scanner) -{ - PJ_UNUSED_ARG(scanner); - - PJ_THROW(SYNTAX_ERROR); -} - -static pjmedia_sdp_attr *parse_attr( pj_pool_t *pool, pj_scanner *scanner, - parse_context *ctx) -{ - pjmedia_sdp_attr *attr; - - ctx->last_error = PJMEDIA_SDP_EINATTR; - - attr = PJ_POOL_ALLOC_T(pool, pjmedia_sdp_attr); - - /* check equal sign */ - if (*(scanner->curptr+1) != '=') { - on_scanner_error(scanner); - return NULL; - } - - /* skip a= */ - pj_scan_advance_n(scanner, 2, SKIP_WS); - - /* get attr name. */ - pj_scan_get(scanner, &cs_token, &attr->name); - - if (*scanner->curptr && *scanner->curptr != '\r' && - *scanner->curptr != '\n') - { - /* skip ':' if present. */ - if (*scanner->curptr == ':') - pj_scan_get_char(scanner); - - /* get value */ - if (*scanner->curptr != '\r' && *scanner->curptr != '\n') { - pj_scan_get_until_chr(scanner, "\r\n", &attr->value); - } else { - attr->value.ptr = NULL; - attr->value.slen = 0; - } - - } else { - attr->value.ptr = NULL; - attr->value.slen = 0; - } - - /* We've got what we're looking for, skip anything until newline */ - pj_scan_skip_line(scanner); - - return attr; -} - - -/* - * Apply direction attribute in session to all media. - */ -static void apply_media_direction(pjmedia_sdp_session *sdp) -{ - pjmedia_sdp_attr *dir_attr = NULL; - unsigned i; - - const pj_str_t inactive = { "inactive", 8 }; - const pj_str_t sendonly = { "sendonly", 8 }; - const pj_str_t recvonly = { "recvonly", 8 }; - const pj_str_t sendrecv = { "sendrecv", 8 }; - - /* Find direction attribute in session, don't need to find default - * direction "sendrecv". - */ - for (i = 0; i < sdp->attr_count && !dir_attr; ++i) { - if (!pj_strcmp(&sdp->attr[i]->name, &sendonly) || - !pj_strcmp(&sdp->attr[i]->name, &recvonly) || - !pj_strcmp(&sdp->attr[i]->name, &inactive)) - { - dir_attr = sdp->attr[i]; - } - } - - /* Found the direction attribute */ - if (dir_attr) { - /* Remove the direction attribute in session */ - pjmedia_sdp_attr_remove(&sdp->attr_count, sdp->attr, dir_attr); - - /* Apply the direction attribute to all media, but not overriding it - * if media already has direction attribute. - */ - for (i = 0; i < sdp->media_count; ++i) { - pjmedia_sdp_media *m; - unsigned j; - - /* Find direction attribute in this media */ - m = sdp->media[i]; - for (j = 0; j < m->attr_count; ++j) { - if (!pj_strcmp(&m->attr[j]->name, &sendrecv) || - !pj_strcmp(&m->attr[j]->name, &sendonly) || - !pj_strcmp(&m->attr[j]->name, &recvonly) || - !pj_strcmp(&m->attr[j]->name, &inactive)) - { - break; - } - } - - /* Not found, apply direction attribute from session */ - if (j == m->attr_count) - pjmedia_sdp_media_add_attr(m, dir_attr); - } - } -} - - -/* - * Parse SDP message. - */ -PJ_DEF(pj_status_t) pjmedia_sdp_parse( pj_pool_t *pool, - char *buf, pj_size_t len, - pjmedia_sdp_session **p_sdp) -{ - pj_scanner scanner; - pjmedia_sdp_session *session; - pjmedia_sdp_media *media = NULL; - pjmedia_sdp_attr *attr; - pjmedia_sdp_conn *conn; - pjmedia_sdp_bandw *bandw; - pj_str_t dummy; - int cur_name = 254; - parse_context ctx; - PJ_USE_EXCEPTION; - - ctx.last_error = PJ_SUCCESS; - - init_sdp_parser(); - - pj_scan_init(&scanner, buf, len, 0, &on_scanner_error); - session = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_session); - PJ_ASSERT_RETURN(session != NULL, PJ_ENOMEM); - - /* Ignore leading newlines */ - while (*scanner.curptr=='\r' || *scanner.curptr=='\n') - pj_scan_get_char(&scanner); - - PJ_TRY { - while (!pj_scan_is_eof(&scanner)) { - cur_name = *scanner.curptr; - switch (cur_name) { - case 'a': - attr = parse_attr(pool, &scanner, &ctx); - if (attr) { - if (media) { - pjmedia_sdp_media_add_attr(media, attr); - } else { - pjmedia_sdp_session_add_attr(session, attr); - } - } - break; - case 'o': - parse_origin(&scanner, session, &ctx); - break; - case 's': - parse_generic_line(&scanner, &session->name, &ctx); - break; - case 'c': - conn = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_conn); - parse_connection_info(&scanner, conn, &ctx); - if (media) { - media->conn = conn; - } else { - session->conn = conn; - } - break; - case 't': - parse_time(&scanner, session, &ctx); - break; - case 'm': - media = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_media); - parse_media(&scanner, media, &ctx); - if (session->media_count < PJMEDIA_MAX_SDP_MEDIA) - session->media[ session->media_count++ ] = media; - else - PJ_PERROR(2,(THIS_FILE, PJ_ETOOMANY, - "Error adding media, media is ignored")); - break; - case 'v': - parse_version(&scanner, &ctx); - break; - case 13: - case 10: - pj_scan_get_char(&scanner); - /* Allow empty newlines at the end of the message */ - while (!pj_scan_is_eof(&scanner)) { - if (*scanner.curptr != 13 && *scanner.curptr != 10) { - ctx.last_error = PJMEDIA_SDP_EINSDP; - on_scanner_error(&scanner); - } - pj_scan_get_char(&scanner); - } - break; - case 'b': - bandw = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_bandw); - parse_bandwidth_info(&scanner, bandw, &ctx); - if (media) { - media->bandw[media->bandw_count++] = bandw; - } else { - session->bandw[session->bandw_count++] = bandw; - } - break; - default: - if (cur_name >= 'a' && cur_name <= 'z') - parse_generic_line(&scanner, &dummy, &ctx); - else { - ctx.last_error = PJMEDIA_SDP_EINSDP; - on_scanner_error(&scanner); - } - break; - } - } - - ctx.last_error = PJ_SUCCESS; - - } - PJ_CATCH_ANY { - - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(ctx.last_error, errmsg, sizeof(errmsg)); - - PJ_LOG(4, (THIS_FILE, "Error parsing SDP in line %d col %d: %s", - scanner.line, pj_scan_get_col(&scanner), - errmsg)); - - session = NULL; - - pj_assert(ctx.last_error != PJ_SUCCESS); - } - PJ_END; - - pj_scan_fini(&scanner); - - if (session) - apply_media_direction(session); - - *p_sdp = session; - return ctx.last_error; -} - -/* - * Print SDP description. - */ -PJ_DEF(int) pjmedia_sdp_print( const pjmedia_sdp_session *desc, - char *buf, pj_size_t size) -{ - return print_session(desc, buf, size); -} - - -/* - * Clone session - */ -PJ_DEF(pjmedia_sdp_session*) pjmedia_sdp_session_clone( pj_pool_t *pool, - const pjmedia_sdp_session *rhs) -{ - pjmedia_sdp_session *sess; - unsigned i; - - PJ_ASSERT_RETURN(pool && rhs, NULL); - - sess = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_session); - PJ_ASSERT_RETURN(sess != NULL, NULL); - - /* Clone origin line. */ - pj_strdup(pool, &sess->origin.user, &rhs->origin.user); - sess->origin.id = rhs->origin.id; - sess->origin.version = rhs->origin.version; - pj_strdup(pool, &sess->origin.net_type, &rhs->origin.net_type); - pj_strdup(pool, &sess->origin.addr_type, &rhs->origin.addr_type); - pj_strdup(pool, &sess->origin.addr, &rhs->origin.addr); - - /* Clone subject line. */ - pj_strdup(pool, &sess->name, &rhs->name); - - /* Clone connection line */ - if (rhs->conn) { - sess->conn = pjmedia_sdp_conn_clone(pool, rhs->conn); - PJ_ASSERT_RETURN(sess->conn != NULL, NULL); - } - - /* Duplicate bandwidth info */ - sess->bandw_count = rhs->bandw_count; - for (i=0; ibandw_count; ++i) { - sess->bandw[i] = pjmedia_sdp_bandw_clone(pool, rhs->bandw[i]); - } - - /* Clone time line. */ - sess->time.start = rhs->time.start; - sess->time.stop = rhs->time.stop; - - /* Duplicate session attributes. */ - sess->attr_count = rhs->attr_count; - for (i=0; iattr_count; ++i) { - sess->attr[i] = pjmedia_sdp_attr_clone(pool, rhs->attr[i]); - } - - /* Duplicate media descriptors. */ - sess->media_count = rhs->media_count; - for (i=0; imedia_count; ++i) { - sess->media[i] = pjmedia_sdp_media_clone(pool, rhs->media[i]); - } - - return sess; -} - - -#define CHECK(exp,ret) do { \ - /*pj_assert(exp);*/ \ - if (!(exp)) \ - return ret; \ - } while (0) - -/* Validate SDP connetion info. */ -static pj_status_t validate_sdp_conn(const pjmedia_sdp_conn *c) -{ - CHECK( c, PJ_EINVAL); - CHECK( pj_strcmp2(&c->net_type, "IN")==0, PJMEDIA_SDP_EINCONN); - CHECK( pj_strcmp2(&c->addr_type, "IP4")==0 || - pj_strcmp2(&c->addr_type, "IP6")==0, - PJMEDIA_SDP_EINCONN); - CHECK( c->addr.slen != 0, PJMEDIA_SDP_EINCONN); - - return PJ_SUCCESS; -} - - -/* Validate SDP session descriptor. */ -PJ_DEF(pj_status_t) pjmedia_sdp_validate(const pjmedia_sdp_session *sdp) -{ - unsigned i; - const pj_str_t STR_RTPMAP = { "rtpmap", 6 }; - - CHECK( sdp != NULL, PJ_EINVAL); - - /* Validate origin line. */ - CHECK( sdp->origin.user.slen != 0, PJMEDIA_SDP_EINORIGIN); - CHECK( pj_strcmp2(&sdp->origin.net_type, "IN")==0, - PJMEDIA_SDP_EINORIGIN); - CHECK( pj_strcmp2(&sdp->origin.addr_type, "IP4")==0 || - pj_strcmp2(&sdp->origin.addr_type, "IP6")==0, - PJMEDIA_SDP_EINORIGIN); - CHECK( sdp->origin.addr.slen != 0, PJMEDIA_SDP_EINORIGIN); - - /* Validate subject line. */ - CHECK( sdp->name.slen != 0, PJMEDIA_SDP_EINNAME); - - /* Ignore start and stop time. */ - - /* If session level connection info is present, validate it. */ - if (sdp->conn) { - pj_status_t status = validate_sdp_conn(sdp->conn); - if (status != PJ_SUCCESS) - return status; - } - - /* Validate each media. */ - for (i=0; imedia_count; ++i) { - const pjmedia_sdp_media *m = sdp->media[i]; - unsigned j; - - /* Validate the m= line. */ - CHECK( m->desc.media.slen != 0, PJMEDIA_SDP_EINMEDIA); - CHECK( m->desc.transport.slen != 0, PJMEDIA_SDP_EINMEDIA); - CHECK( m->desc.fmt_count != 0 || m->desc.port==0, PJMEDIA_SDP_ENOFMT); - - /* If media level connection info is present, validate it. */ - if (m->conn) { - pj_status_t status = validate_sdp_conn(m->conn); - if (status != PJ_SUCCESS) - return status; - } - - /* If media doesn't have connection info, then connection info - * must be present in the session. - */ - if (m->conn == NULL) { - if (sdp->conn == NULL) - return PJMEDIA_SDP_EMISSINGCONN; - } - - /* Verify payload type. */ - for (j=0; jdesc.fmt_count; ++j) { - - /* Arrgh noo!! Payload type can be non-numeric!! - * RTC based programs sends "null" for instant messaging! - */ - if (pj_isdigit(*m->desc.fmt[j].ptr)) { - unsigned pt = pj_strtoul(&m->desc.fmt[j]); - - /* Payload type is between 0 and 127. - */ - CHECK( pt <= 127, PJMEDIA_SDP_EINPT); - - /* If port is not zero, then for each dynamic payload type, an - * rtpmap attribute must be specified. - */ - if (m->desc.port != 0 && pt >= 96) { - const pjmedia_sdp_attr *a; - - a = pjmedia_sdp_media_find_attr(m, &STR_RTPMAP, - &m->desc.fmt[j]); - CHECK( a != NULL, PJMEDIA_SDP_EMISSINGRTPMAP); - } - } - } - } - - /* Looks good. */ - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_sdp_transport_cmp( const pj_str_t *t1, - const pj_str_t *t2) -{ - static const pj_str_t ID_RTP_AVP = { "RTP/AVP", 7 }; - static const pj_str_t ID_RTP_SAVP = { "RTP/SAVP", 8 }; - - /* Exactly equal? */ - if (pj_stricmp(t1, t2) == 0) - return PJ_SUCCESS; - - /* Compatible? */ - if ((!pj_stricmp(t1, &ID_RTP_AVP) || !pj_stricmp(t1, &ID_RTP_SAVP)) && - (!pj_stricmp(t2, &ID_RTP_AVP) || !pj_stricmp(t2, &ID_RTP_SAVP))) - return PJ_SUCCESS; - - return PJMEDIA_SDP_ETPORTNOTEQUAL; -} - - -PJ_DEF(pj_status_t) pjmedia_sdp_media_deactivate(pj_pool_t *pool, - pjmedia_sdp_media *m) -{ - PJ_ASSERT_RETURN(m, PJ_EINVAL); - PJ_UNUSED_ARG(pool); - - /* Set port to zero */ - m->desc.port = 0; - - /* And remove attributes */ - m->attr_count = 0; - - return PJ_SUCCESS; -} - - -PJ_DEF(pjmedia_sdp_media*) pjmedia_sdp_media_clone_deactivate( - pj_pool_t *pool, - const pjmedia_sdp_media *rhs) -{ - unsigned int i; - pjmedia_sdp_media *m; - - PJ_ASSERT_RETURN(pool && rhs, NULL); - - m = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_media); - pj_memcpy(m, rhs, sizeof(*m)); - - /* Clone the media line only */ - pj_strdup (pool, &m->desc.media, &rhs->desc.media); - pj_strdup (pool, &m->desc.transport, &rhs->desc.transport); - for (i=0; idesc.fmt_count; ++i) - pj_strdup(pool, &m->desc.fmt[i], &rhs->desc.fmt[i]); - - if (rhs->conn) { - m->conn = pjmedia_sdp_conn_clone (pool, rhs->conn); - PJ_ASSERT_RETURN(m->conn != NULL, NULL); - } - - m->bandw_count = rhs->bandw_count; - for (i=0; i < rhs->bandw_count; ++i) { - m->bandw[i] = pjmedia_sdp_bandw_clone (pool, rhs->bandw[i]); - PJ_ASSERT_RETURN(m->bandw[i] != NULL, NULL); - } - - /* And deactivate it */ - pjmedia_sdp_media_deactivate(pool, m); - - return m; -} diff --git a/res/pjproject/pjmedia/src/pjmedia/sdp_cmp.c b/res/pjproject/pjmedia/src/pjmedia/sdp_cmp.c deleted file mode 100644 index b4a23c74a8..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/sdp_cmp.c +++ /dev/null @@ -1,304 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - - -/* Compare connection line. */ -static pj_status_t compare_conn(const pjmedia_sdp_conn *c1, - const pjmedia_sdp_conn *c2) -{ - /* Compare network type. */ - if (pj_strcmp(&c1->net_type, &c2->net_type) != 0) - return PJMEDIA_SDP_ECONNNOTEQUAL; - - /* Compare address type. */ - if (pj_strcmp(&c1->addr_type, &c2->addr_type) != 0) - return PJMEDIA_SDP_ECONNNOTEQUAL; - - /* Compare address. */ - if (pj_strcmp(&c1->addr, &c2->addr) != 0) - return PJMEDIA_SDP_ECONNNOTEQUAL; - - return PJ_SUCCESS; -} - -/* Compare attributes array. */ -static pj_status_t compare_attr_imp(unsigned count1, - pjmedia_sdp_attr *const attr1[], - unsigned count2, - pjmedia_sdp_attr *const attr2[]) -{ - pj_status_t status; - unsigned i; - const pj_str_t inactive = { "inactive", 8 }; - const pj_str_t sendrecv = { "sendrecv", 8 }; - const pj_str_t sendonly = { "sendonly", 8 }; - const pj_str_t recvonly = { "recvonly", 8 }; - const pj_str_t fmtp = { "fmtp", 4 }; - const pj_str_t rtpmap = { "rtpmap", 6 }; - - /* For simplicity, we only compare the following attributes, and ignore - * the others: - * - direction, eg. inactive, sendonly, recvonly, sendrecv - * - fmtp for each payload. - * - rtpmap for each payload. - */ - for (i=0; iname, &inactive) == 0 || - pj_strcmp(&a1->name, &sendrecv) == 0 || - pj_strcmp(&a1->name, &sendonly) == 0 || - pj_strcmp(&a1->name, &recvonly) == 0) - { - /* For inactive, sendrecv, sendonly, and recvonly attributes, - * the same attribute must be present on the other SDP. - */ - const pjmedia_sdp_attr *a2; - a2 = pjmedia_sdp_attr_find(count2, attr2, &a1->name, NULL); - if (!a2) - return PJMEDIA_SDP_EDIRNOTEQUAL; - - } else if (pj_strcmp(&a1->name, &fmtp) == 0) { - /* For fmtp attribute, find the fmtp attribute in the other SDP - * for the same payload type, and compare the fmtp param/value. - */ - pjmedia_sdp_fmtp fmtp1, fmtp2; - const pjmedia_sdp_attr *a2; - - status = pjmedia_sdp_attr_get_fmtp(a1, &fmtp1); - if (status != PJ_SUCCESS) - return PJMEDIA_SDP_EFMTPNOTEQUAL; - - a2 = pjmedia_sdp_attr_find(count2, attr2, &a1->name, &fmtp1.fmt); - if (!a2) - return PJMEDIA_SDP_EFMTPNOTEQUAL; - - status = pjmedia_sdp_attr_get_fmtp(a2, &fmtp2); - if (status != PJ_SUCCESS) - return PJMEDIA_SDP_EFMTPNOTEQUAL; - - if (pj_strcmp(&fmtp1.fmt_param, &fmtp2.fmt_param) != 0) - return PJMEDIA_SDP_EFMTPNOTEQUAL; - - } else if (pj_strcmp(&a1->name, &rtpmap) == 0) { - /* For rtpmap attribute, find rtpmap attribute on the other SDP - * for the same payload type, and compare both rtpmap atribute - * values. - */ - pjmedia_sdp_rtpmap r1, r2; - const pjmedia_sdp_attr *a2; - - status = pjmedia_sdp_attr_get_rtpmap(a1, &r1); - if (status != PJ_SUCCESS) - return PJMEDIA_SDP_ERTPMAPNOTEQUAL; - - a2 = pjmedia_sdp_attr_find(count2, attr2, &a1->name, &r1.pt); - if (!a2) - return PJMEDIA_SDP_ERTPMAPNOTEQUAL; - - status = pjmedia_sdp_attr_get_rtpmap(a2, &r2); - if (status != PJ_SUCCESS) - return PJMEDIA_SDP_ERTPMAPNOTEQUAL; - - if (pj_strcmp(&r1.pt, &r2.pt) != 0) - return PJMEDIA_SDP_ERTPMAPNOTEQUAL; - if (pj_strcmp(&r1.enc_name, &r2.enc_name) != 0) - return PJMEDIA_SDP_ERTPMAPNOTEQUAL; - if (r1.clock_rate != r2.clock_rate) - return PJMEDIA_SDP_ERTPMAPNOTEQUAL; - if (pj_strcmp(&r1.param, &r2.param) != 0) - return PJMEDIA_SDP_ERTPMAPNOTEQUAL; - } - } - - return PJ_SUCCESS; -} - - -/* Compare attributes array. */ -static pj_status_t compare_attr(unsigned count1, - pjmedia_sdp_attr *const attr1[], - unsigned count2, - pjmedia_sdp_attr *const attr2[]) -{ - pj_status_t status; - - status = compare_attr_imp(count1, attr1, count2, attr2); - if (status != PJ_SUCCESS) - return status; - - status = compare_attr_imp(count2, attr2, count1, attr1); - if (status != PJ_SUCCESS) - return status; - - return PJ_SUCCESS; -} - -/* Compare media descriptor */ -PJ_DEF(pj_status_t) pjmedia_sdp_media_cmp( const pjmedia_sdp_media *sd1, - const pjmedia_sdp_media *sd2, - unsigned option) -{ - unsigned i; - pj_status_t status; - - PJ_ASSERT_RETURN(sd1 && sd2 && option==0, PJ_EINVAL); - - PJ_UNUSED_ARG(option); - - /* Compare media type. */ - if (pj_strcmp(&sd1->desc.media, &sd2->desc.media) != 0) - return PJMEDIA_SDP_EMEDIANOTEQUAL; - - /* Compare port number. */ - if (sd1->desc.port != sd2->desc.port) - return PJMEDIA_SDP_EPORTNOTEQUAL; - - /* Compare port count. */ - if (sd1->desc.port_count != sd2->desc.port_count) - return PJMEDIA_SDP_EPORTNOTEQUAL; - - /* Compare transports. */ - if (pj_strcmp(&sd1->desc.transport, &sd2->desc.transport) != 0) - return PJMEDIA_SDP_ETPORTNOTEQUAL; - - /* For zeroed port media, stop comparing here */ - if (sd1->desc.port == 0) - return PJ_SUCCESS; - - /* Compare number of formats. */ - if (sd1->desc.fmt_count != sd2->desc.fmt_count) - return PJMEDIA_SDP_EFORMATNOTEQUAL; - - /* Compare formats, in order. */ - for (i=0; idesc.fmt_count; ++i) { - if (pj_strcmp(&sd1->desc.fmt[i], &sd2->desc.fmt[i]) != 0) - return PJMEDIA_SDP_EFORMATNOTEQUAL; - } - - /* Compare connection line, if they exist. */ - if (sd1->conn) { - if (!sd2->conn) - return PJMEDIA_SDP_EMEDIANOTEQUAL; - status = compare_conn(sd1->conn, sd2->conn); - } else { - if (sd2->conn) - return PJMEDIA_SDP_EMEDIANOTEQUAL; - } - - /* Compare attributes. */ - status = compare_attr(sd1->attr_count, sd1->attr, - sd2->attr_count, sd2->attr); - if (status != PJ_SUCCESS) - return status; - - /* Looks equal */ - return PJ_SUCCESS; -} - -/* - * Compare two SDP session for equality. - */ -PJ_DEF(pj_status_t) pjmedia_sdp_session_cmp( const pjmedia_sdp_session *sd1, - const pjmedia_sdp_session *sd2, - unsigned option) -{ - unsigned i; - pj_status_t status; - - PJ_ASSERT_RETURN(sd1 && sd2 && option==0, PJ_EINVAL); - - PJ_UNUSED_ARG(option); - - /* Compare the origin line. */ - if (pj_strcmp(&sd1->origin.user, &sd2->origin.user) != 0) - return PJMEDIA_SDP_EORIGINNOTEQUAL; - - if (sd1->origin.id != sd2->origin.id) - return PJMEDIA_SDP_EORIGINNOTEQUAL; - - if (sd1->origin.version != sd2->origin.version) - return PJMEDIA_SDP_EORIGINNOTEQUAL; - - if (pj_strcmp(&sd1->origin.net_type, &sd2->origin.net_type) != 0) - return PJMEDIA_SDP_EORIGINNOTEQUAL; - - if (pj_strcmp(&sd1->origin.addr_type, &sd2->origin.addr_type) != 0) - return PJMEDIA_SDP_EORIGINNOTEQUAL; - - if (pj_strcmp(&sd1->origin.addr, &sd2->origin.addr) != 0) - return PJMEDIA_SDP_EORIGINNOTEQUAL; - - - /* Compare the subject line. */ - if (pj_strcmp(&sd1->name, &sd2->name) != 0) - return PJMEDIA_SDP_ENAMENOTEQUAL; - - /* Compare connection line, when they exist */ - if (sd1->conn) { - if (!sd2->conn) - return PJMEDIA_SDP_ECONNNOTEQUAL; - status = compare_conn(sd1->conn, sd2->conn); - if (status != PJ_SUCCESS) - return status; - } else { - if (sd2->conn) - return PJMEDIA_SDP_ECONNNOTEQUAL; - } - - /* Compare time line. */ - if (sd1->time.start != sd2->time.start) - return PJMEDIA_SDP_ETIMENOTEQUAL; - - if (sd1->time.stop != sd2->time.stop) - return PJMEDIA_SDP_ETIMENOTEQUAL; - - /* Compare attributes. */ - status = compare_attr(sd1->attr_count, sd1->attr, - sd2->attr_count, sd2->attr); - if (status != PJ_SUCCESS) - return status; - - /* Compare media lines. */ - if (sd1->media_count != sd2->media_count) - return PJMEDIA_SDP_EMEDIANOTEQUAL; - - for (i=0; imedia_count; ++i) { - status = pjmedia_sdp_media_cmp(sd1->media[i], sd2->media[i], 0); - if (status != PJ_SUCCESS) - return status; - } - - /* Looks equal. */ - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_sdp_conn_cmp(const pjmedia_sdp_conn *conn1, - const pjmedia_sdp_conn *conn2, - unsigned option) -{ - PJ_UNUSED_ARG(option); - return compare_conn(conn1, conn2); -} diff --git a/res/pjproject/pjmedia/src/pjmedia/sdp_neg.c b/res/pjproject/pjmedia/src/pjmedia/sdp_neg.c deleted file mode 100644 index 09b893ef47..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/sdp_neg.c +++ /dev/null @@ -1,1549 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include - -/** - * This structure describes SDP media negotiator. - */ -struct pjmedia_sdp_neg -{ - pjmedia_sdp_neg_state state; /**< Negotiator state. */ - pj_bool_t prefer_remote_codec_order; - pj_bool_t has_remote_answer; - pj_bool_t answer_was_remote; - - pjmedia_sdp_session *initial_sdp, /**< Initial local SDP */ - *active_local_sdp, /**< Currently active local SDP. */ - *active_remote_sdp, /**< Currently active remote's. */ - *neg_local_sdp, /**< Temporary local SDP. */ - *neg_remote_sdp; /**< Temporary remote SDP. */ -}; - -static const char *state_str[] = -{ - "STATE_NULL", - "STATE_LOCAL_OFFER", - "STATE_REMOTE_OFFER", - "STATE_WAIT_NEGO", - "STATE_DONE", -}; - -/* Definition of customized SDP format negotiation callback */ -struct fmt_match_cb_t -{ - pj_str_t fmt_name; - pjmedia_sdp_neg_fmt_match_cb cb; -}; - -/* Number of registered customized SDP format negotiation callbacks */ -static unsigned fmt_match_cb_cnt; - -/* The registered customized SDP format negotiation callbacks */ -static struct fmt_match_cb_t - fmt_match_cb[PJMEDIA_SDP_NEG_MAX_CUSTOM_FMT_NEG_CB]; - -/* Redefining a very long identifier name, just for convenience */ -#define ALLOW_MODIFY_ANSWER PJMEDIA_SDP_NEG_FMT_MATCH_ALLOW_MODIFY_ANSWER - -static pj_status_t custom_fmt_match( pj_pool_t *pool, - const pj_str_t *fmt_name, - pjmedia_sdp_media *offer, - unsigned o_fmt_idx, - pjmedia_sdp_media *answer, - unsigned a_fmt_idx, - unsigned option); - - -/* - * Get string representation of negotiator state. - */ -PJ_DEF(const char*) pjmedia_sdp_neg_state_str(pjmedia_sdp_neg_state state) -{ - if (state >=0 && state < (pjmedia_sdp_neg_state)PJ_ARRAY_SIZE(state_str)) - return state_str[state]; - - return ""; -} - - -/* - * Create with local offer. - */ -PJ_DEF(pj_status_t) pjmedia_sdp_neg_create_w_local_offer( pj_pool_t *pool, - const pjmedia_sdp_session *local, - pjmedia_sdp_neg **p_neg) -{ - pjmedia_sdp_neg *neg; - pj_status_t status; - - /* Check arguments are valid. */ - PJ_ASSERT_RETURN(pool && local && p_neg, PJ_EINVAL); - - *p_neg = NULL; - - /* Validate local offer. */ - PJ_ASSERT_RETURN((status=pjmedia_sdp_validate(local))==PJ_SUCCESS, status); - - /* Create and initialize negotiator. */ - neg = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_neg); - PJ_ASSERT_RETURN(neg != NULL, PJ_ENOMEM); - - neg->state = PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER; - neg->prefer_remote_codec_order = PJMEDIA_SDP_NEG_PREFER_REMOTE_CODEC_ORDER; - neg->initial_sdp = pjmedia_sdp_session_clone(pool, local); - neg->neg_local_sdp = pjmedia_sdp_session_clone(pool, local); - - *p_neg = neg; - return PJ_SUCCESS; -} - -/* - * Create with remote offer and initial local offer/answer. - */ -PJ_DEF(pj_status_t) pjmedia_sdp_neg_create_w_remote_offer(pj_pool_t *pool, - const pjmedia_sdp_session *initial, - const pjmedia_sdp_session *remote, - pjmedia_sdp_neg **p_neg) -{ - pjmedia_sdp_neg *neg; - pj_status_t status; - - /* Check arguments are valid. */ - PJ_ASSERT_RETURN(pool && remote && p_neg, PJ_EINVAL); - - *p_neg = NULL; - - /* Validate remote offer and initial answer */ - status = pjmedia_sdp_validate(remote); - if (status != PJ_SUCCESS) - return status; - - /* Create and initialize negotiator. */ - neg = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_neg); - PJ_ASSERT_RETURN(neg != NULL, PJ_ENOMEM); - - neg->prefer_remote_codec_order = PJMEDIA_SDP_NEG_PREFER_REMOTE_CODEC_ORDER; - neg->neg_remote_sdp = pjmedia_sdp_session_clone(pool, remote); - - if (initial) { - PJ_ASSERT_RETURN((status=pjmedia_sdp_validate(initial))==PJ_SUCCESS, - status); - - neg->initial_sdp = pjmedia_sdp_session_clone(pool, initial); - neg->neg_local_sdp = pjmedia_sdp_session_clone(pool, initial); - - neg->state = PJMEDIA_SDP_NEG_STATE_WAIT_NEGO; - - } else { - - neg->state = PJMEDIA_SDP_NEG_STATE_REMOTE_OFFER; - - } - - *p_neg = neg; - return PJ_SUCCESS; -} - - -/* - * Set codec order preference. - */ -PJ_DEF(pj_status_t) pjmedia_sdp_neg_set_prefer_remote_codec_order( - pjmedia_sdp_neg *neg, - pj_bool_t prefer_remote) -{ - PJ_ASSERT_RETURN(neg, PJ_EINVAL); - neg->prefer_remote_codec_order = prefer_remote; - return PJ_SUCCESS; -} - - -/* - * Get SDP negotiator state. - */ -PJ_DEF(pjmedia_sdp_neg_state) pjmedia_sdp_neg_get_state( pjmedia_sdp_neg *neg ) -{ - /* Check arguments are valid. */ - PJ_ASSERT_RETURN(neg != NULL, PJMEDIA_SDP_NEG_STATE_NULL); - return neg->state; -} - - -PJ_DEF(pj_status_t) pjmedia_sdp_neg_get_active_local( pjmedia_sdp_neg *neg, - const pjmedia_sdp_session **local) -{ - PJ_ASSERT_RETURN(neg && local, PJ_EINVAL); - PJ_ASSERT_RETURN(neg->active_local_sdp, PJMEDIA_SDPNEG_ENOACTIVE); - - *local = neg->active_local_sdp; - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_sdp_neg_get_active_remote( pjmedia_sdp_neg *neg, - const pjmedia_sdp_session **remote) -{ - PJ_ASSERT_RETURN(neg && remote, PJ_EINVAL); - PJ_ASSERT_RETURN(neg->active_remote_sdp, PJMEDIA_SDPNEG_ENOACTIVE); - - *remote = neg->active_remote_sdp; - return PJ_SUCCESS; -} - - -PJ_DEF(pj_bool_t) pjmedia_sdp_neg_was_answer_remote(pjmedia_sdp_neg *neg) -{ - PJ_ASSERT_RETURN(neg, PJ_FALSE); - - return neg->answer_was_remote; -} - - -PJ_DEF(pj_status_t) pjmedia_sdp_neg_get_neg_remote( pjmedia_sdp_neg *neg, - const pjmedia_sdp_session **remote) -{ - PJ_ASSERT_RETURN(neg && remote, PJ_EINVAL); - PJ_ASSERT_RETURN(neg->neg_remote_sdp, PJMEDIA_SDPNEG_ENONEG); - - *remote = neg->neg_remote_sdp; - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_sdp_neg_get_neg_local( pjmedia_sdp_neg *neg, - const pjmedia_sdp_session **local) -{ - PJ_ASSERT_RETURN(neg && local, PJ_EINVAL); - PJ_ASSERT_RETURN(neg->neg_local_sdp, PJMEDIA_SDPNEG_ENONEG); - - *local = neg->neg_local_sdp; - return PJ_SUCCESS; -} - -static pjmedia_sdp_media *sdp_media_clone_deactivate( - pj_pool_t *pool, - const pjmedia_sdp_media *rem_med, - const pjmedia_sdp_media *local_med, - const pjmedia_sdp_session *local_sess) -{ - pjmedia_sdp_media *res; - - res = pjmedia_sdp_media_clone_deactivate(pool, rem_med); - if (!res) - return NULL; - - if (!res->conn && (!local_sess || !local_sess->conn)) { - if (local_med && local_med->conn) - res->conn = pjmedia_sdp_conn_clone(pool, local_med->conn); - else { - res->conn = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_conn); - res->conn->net_type = pj_str("IN"); - res->conn->addr_type = pj_str("IP4"); - res->conn->addr = pj_str("127.0.0.1"); - } - } - - return res; -} - -/* - * Modify local SDP and wait for remote answer. - */ -PJ_DEF(pj_status_t) pjmedia_sdp_neg_modify_local_offer( pj_pool_t *pool, - pjmedia_sdp_neg *neg, - const pjmedia_sdp_session *local) -{ - pjmedia_sdp_session *new_offer; - pjmedia_sdp_session *old_offer; - char media_used[PJMEDIA_MAX_SDP_MEDIA]; - unsigned oi; /* old offer media index */ - pj_status_t status; - - /* Check arguments are valid. */ - PJ_ASSERT_RETURN(pool && neg && local, PJ_EINVAL); - - /* Can only do this in STATE_DONE. */ - PJ_ASSERT_RETURN(neg->state == PJMEDIA_SDP_NEG_STATE_DONE, - PJMEDIA_SDPNEG_EINSTATE); - - /* Validate the new offer */ - status = pjmedia_sdp_validate(local); - if (status != PJ_SUCCESS) - return status; - - /* Change state to STATE_LOCAL_OFFER */ - neg->state = PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER; - - /* Init vars */ - pj_bzero(media_used, sizeof(media_used)); - old_offer = neg->active_local_sdp; - new_offer = pjmedia_sdp_session_clone(pool, local); - - /* RFC 3264 Section 8: When issuing an offer that modifies the session, - * the "o=" line of the new SDP MUST be identical to that in the - * previous SDP, except that the version in the origin field MUST - * increment by one from the previous SDP. - */ - pj_strdup(pool, &new_offer->origin.user, &old_offer->origin.user); - new_offer->origin.id = old_offer->origin.id; - new_offer->origin.version = old_offer->origin.version + 1; - pj_strdup(pool, &new_offer->origin.net_type, &old_offer->origin.net_type); - pj_strdup(pool, &new_offer->origin.addr_type,&old_offer->origin.addr_type); - pj_strdup(pool, &new_offer->origin.addr, &old_offer->origin.addr); - - /* Generating the new offer, in the case media lines doesn't match the - * active SDP (e.g. current/active SDP's have m=audio and m=video lines, - * and the new offer only has m=audio line), the negotiator will fix - * the new offer by reordering and adding the missing media line with - * port number set to zero. - */ - for (oi = 0; oi < old_offer->media_count; ++oi) { - pjmedia_sdp_media *om; - pjmedia_sdp_media *nm; - unsigned ni; /* new offer media index */ - pj_bool_t found = PJ_FALSE; - - om = old_offer->media[oi]; - for (ni = oi; ni < new_offer->media_count; ++ni) { - nm = new_offer->media[ni]; - if (pj_strcmp(&nm->desc.media, &om->desc.media) == 0) { - if (ni != oi) { - /* The same media found but the position unmatched to the - * old offer, so let's put this media in the right place, - * and keep the order of the rest. - */ - pj_array_insert(new_offer->media, /* array */ - sizeof(new_offer->media[0]), /* elmt size*/ - ni, /* count */ - oi, /* pos */ - &nm); /* new elmt */ - } - found = PJ_TRUE; - break; - } - } - if (!found) { - pjmedia_sdp_media *m; - - m = sdp_media_clone_deactivate(pool, om, om, local); - - pj_array_insert(new_offer->media, sizeof(new_offer->media[0]), - new_offer->media_count++, oi, &m); - } - } - - /* New_offer fixed */ - neg->initial_sdp = new_offer; - neg->neg_local_sdp = pjmedia_sdp_session_clone(pool, new_offer); - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_sdp_neg_send_local_offer( pj_pool_t *pool, - pjmedia_sdp_neg *neg, - const pjmedia_sdp_session **offer) -{ - /* Check arguments are valid. */ - PJ_ASSERT_RETURN(neg && offer, PJ_EINVAL); - - *offer = NULL; - - /* Can only do this in STATE_DONE or STATE_LOCAL_OFFER. */ - PJ_ASSERT_RETURN(neg->state == PJMEDIA_SDP_NEG_STATE_DONE || - neg->state == PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER, - PJMEDIA_SDPNEG_EINSTATE); - - if (neg->state == PJMEDIA_SDP_NEG_STATE_DONE) { - /* If in STATE_DONE, set the active SDP as the offer. */ - PJ_ASSERT_RETURN(neg->active_local_sdp, PJMEDIA_SDPNEG_ENOACTIVE); - - neg->state = PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER; - neg->neg_local_sdp = pjmedia_sdp_session_clone(pool, - neg->active_local_sdp); - *offer = neg->active_local_sdp; - - } else { - /* We assume that we're in STATE_LOCAL_OFFER. - * In this case set the neg_local_sdp as the offer. - */ - *offer = neg->neg_local_sdp; - } - - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_sdp_neg_set_remote_answer( pj_pool_t *pool, - pjmedia_sdp_neg *neg, - const pjmedia_sdp_session *remote) -{ - /* Check arguments are valid. */ - PJ_ASSERT_RETURN(pool && neg && remote, PJ_EINVAL); - - /* Can only do this in STATE_LOCAL_OFFER. - * If we haven't provided local offer, then rx_remote_offer() should - * be called instead of this function. - */ - PJ_ASSERT_RETURN(neg->state == PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER, - PJMEDIA_SDPNEG_EINSTATE); - - /* We're ready to negotiate. */ - neg->state = PJMEDIA_SDP_NEG_STATE_WAIT_NEGO; - neg->has_remote_answer = PJ_TRUE; - neg->neg_remote_sdp = pjmedia_sdp_session_clone(pool, remote); - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_sdp_neg_set_remote_offer( pj_pool_t *pool, - pjmedia_sdp_neg *neg, - const pjmedia_sdp_session *remote) -{ - /* Check arguments are valid. */ - PJ_ASSERT_RETURN(pool && neg && remote, PJ_EINVAL); - - /* Can only do this in STATE_DONE. - * If we already provide local offer, then rx_remote_answer() should - * be called instead of this function. - */ - PJ_ASSERT_RETURN(neg->state == PJMEDIA_SDP_NEG_STATE_DONE, - PJMEDIA_SDPNEG_EINSTATE); - - /* State now is STATE_REMOTE_OFFER. */ - neg->state = PJMEDIA_SDP_NEG_STATE_REMOTE_OFFER; - neg->neg_remote_sdp = pjmedia_sdp_session_clone(pool, remote); - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_sdp_neg_set_local_answer( pj_pool_t *pool, - pjmedia_sdp_neg *neg, - const pjmedia_sdp_session *local) -{ - /* Check arguments are valid. */ - PJ_ASSERT_RETURN(pool && neg && local, PJ_EINVAL); - - /* Can only do this in STATE_REMOTE_OFFER. - * If we already provide local offer, then rx_remote_answer() should - * be called instead of this function. - */ - PJ_ASSERT_RETURN(neg->state == PJMEDIA_SDP_NEG_STATE_REMOTE_OFFER, - PJMEDIA_SDPNEG_EINSTATE); - - /* State now is STATE_WAIT_NEGO. */ - neg->state = PJMEDIA_SDP_NEG_STATE_WAIT_NEGO; - if (local) { - neg->neg_local_sdp = pjmedia_sdp_session_clone(pool, local); - if (neg->initial_sdp) { - /* I don't think there is anything in RFC 3264 that mandates - * answerer to place the same origin (and increment version) - * in the answer, but probably it won't hurt either. - * Note that the version will be incremented in - * pjmedia_sdp_neg_negotiate() - */ - neg->neg_local_sdp->origin.id = neg->initial_sdp->origin.id; - } else { - neg->initial_sdp = pjmedia_sdp_session_clone(pool, local); - } - } else { - PJ_ASSERT_RETURN(neg->initial_sdp, PJMEDIA_SDPNEG_ENOINITIAL); - neg->neg_local_sdp = pjmedia_sdp_session_clone(pool, neg->initial_sdp); - } - - return PJ_SUCCESS; -} - -PJ_DEF(pj_bool_t) pjmedia_sdp_neg_has_local_answer(pjmedia_sdp_neg *neg) -{ - pj_assert(neg && neg->state==PJMEDIA_SDP_NEG_STATE_WAIT_NEGO); - return !neg->has_remote_answer; -} - - -/* Swap string. */ -static void str_swap(pj_str_t *str1, pj_str_t *str2) -{ - pj_str_t tmp = *str1; - *str1 = *str2; - *str2 = tmp; -} - -static void remove_all_media_directions(pjmedia_sdp_media *m) -{ - pjmedia_sdp_media_remove_all_attr(m, "inactive"); - pjmedia_sdp_media_remove_all_attr(m, "sendrecv"); - pjmedia_sdp_media_remove_all_attr(m, "sendonly"); - pjmedia_sdp_media_remove_all_attr(m, "recvonly"); -} - -/* Update media direction based on peer's media direction */ -static void update_media_direction(pj_pool_t *pool, - const pjmedia_sdp_media *remote, - pjmedia_sdp_media *local) -{ - pjmedia_dir old_dir = PJMEDIA_DIR_ENCODING_DECODING, - new_dir; - - /* Get the media direction of local SDP */ - if (pjmedia_sdp_media_find_attr2(local, "sendonly", NULL)) - old_dir = PJMEDIA_DIR_ENCODING; - else if (pjmedia_sdp_media_find_attr2(local, "recvonly", NULL)) - old_dir = PJMEDIA_DIR_DECODING; - else if (pjmedia_sdp_media_find_attr2(local, "inactive", NULL)) - old_dir = PJMEDIA_DIR_NONE; - - new_dir = old_dir; - - /* Adjust local media direction based on remote media direction */ - if (pjmedia_sdp_media_find_attr2(remote, "inactive", NULL) != NULL) { - /* If remote has "a=inactive", then local is inactive too */ - - new_dir = PJMEDIA_DIR_NONE; - - } else if(pjmedia_sdp_media_find_attr2(remote, "sendonly", NULL) != NULL) { - /* If remote has "a=sendonly", then set local to "recvonly" if - * it is currently "sendrecv". Otherwise if local is NOT "recvonly", - * then set local direction to "inactive". - */ - switch (old_dir) { - case PJMEDIA_DIR_ENCODING_DECODING: - new_dir = PJMEDIA_DIR_DECODING; - break; - case PJMEDIA_DIR_DECODING: - /* No change */ - break; - default: - new_dir = PJMEDIA_DIR_NONE; - break; - } - - } else if(pjmedia_sdp_media_find_attr2(remote, "recvonly", NULL) != NULL) { - /* If remote has "a=recvonly", then set local to "sendonly" if - * it is currently "sendrecv". Otherwise if local is NOT "sendonly", - * then set local direction to "inactive" - */ - - switch (old_dir) { - case PJMEDIA_DIR_ENCODING_DECODING: - new_dir = PJMEDIA_DIR_ENCODING; - break; - case PJMEDIA_DIR_ENCODING: - /* No change */ - break; - default: - new_dir = PJMEDIA_DIR_NONE; - break; - } - - } else { - /* Remote indicates "sendrecv" capability. No change to local - * direction - */ - } - - if (new_dir != old_dir) { - pjmedia_sdp_attr *a = NULL; - - remove_all_media_directions(local); - - switch (new_dir) { - case PJMEDIA_DIR_NONE: - a = pjmedia_sdp_attr_create(pool, "inactive", NULL); - break; - case PJMEDIA_DIR_ENCODING: - a = pjmedia_sdp_attr_create(pool, "sendonly", NULL); - break; - case PJMEDIA_DIR_DECODING: - a = pjmedia_sdp_attr_create(pool, "recvonly", NULL); - break; - default: - /* sendrecv */ - break; - } - - if (a) { - pjmedia_sdp_media_add_attr(local, a); - } - } -} - - -/* Update single local media description to after receiving answer - * from remote. - */ -static pj_status_t process_m_answer( pj_pool_t *pool, - pjmedia_sdp_media *offer, - pjmedia_sdp_media *answer, - pj_bool_t allow_asym) -{ - unsigned i; - - /* Check that the media type match our offer. */ - - if (pj_strcmp(&answer->desc.media, &offer->desc.media)!=0) { - /* The media type in the answer is different than the offer! */ - return PJMEDIA_SDPNEG_EINVANSMEDIA; - } - - - /* Check that transport in the answer match our offer. */ - - /* At this point, transport type must be compatible, - * the transport instance will do more validation later. - */ - if (pjmedia_sdp_transport_cmp(&answer->desc.transport, - &offer->desc.transport) - != PJ_SUCCESS) - { - return PJMEDIA_SDPNEG_EINVANSTP; - } - - - /* Check if remote has rejected our offer */ - if (answer->desc.port == 0) { - - /* Remote has rejected our offer. - * Deactivate our media too. - */ - pjmedia_sdp_media_deactivate(pool, offer); - - /* Don't need to proceed */ - return PJ_SUCCESS; - } - - /* Ticket #1148: check if remote answer does not set port to zero when - * offered with port zero. Let's just tolerate it. - */ - if (offer->desc.port == 0) { - /* Don't need to proceed */ - return PJ_SUCCESS; - } - - /* Process direction attributes */ - update_media_direction(pool, answer, offer); - - /* If asymetric media is allowed, then just check that remote answer has - * codecs that are within the offer. - * - * Otherwise if asymetric media is not allowed, then we will choose only - * one codec in our initial offer to match the answer. - */ - if (allow_asym) { - for (i=0; idesc.fmt_count; ++i) { - unsigned j; - pj_str_t *rem_fmt = &answer->desc.fmt[i]; - - for (j=0; jdesc.fmt_count; ++j) { - if (pj_strcmp(rem_fmt, &answer->desc.fmt[j])==0) - break; - } - - if (j != offer->desc.fmt_count) { - /* Found at least one common codec. */ - break; - } - } - - if (i == answer->desc.fmt_count) { - /* No common codec in the answer! */ - return PJMEDIA_SDPNEG_EANSNOMEDIA; - } - - PJ_TODO(CHECK_SDP_NEGOTIATION_WHEN_ASYMETRIC_MEDIA_IS_ALLOWED); - - } else { - /* Offer format priority based on answer format index/priority */ - unsigned offer_fmt_prior[PJMEDIA_MAX_SDP_FMT]; - - /* Remove all format in the offer that has no matching answer */ - for (i=0; idesc.fmt_count;) { - unsigned pt; - pj_uint32_t j; - pj_str_t *fmt = &offer->desc.fmt[i]; - - - /* Find matching answer */ - pt = pj_strtoul(fmt); - - if (pt < 96) { - for (j=0; jdesc.fmt_count; ++j) { - if (pj_strcmp(fmt, &answer->desc.fmt[j])==0) - break; - } - } else { - /* This is dynamic payload type. - * For dynamic payload type, we must look the rtpmap and - * compare the encoding name. - */ - const pjmedia_sdp_attr *a; - pjmedia_sdp_rtpmap or_; - - /* Get the rtpmap for the payload type in the offer. */ - a = pjmedia_sdp_media_find_attr2(offer, "rtpmap", fmt); - if (!a) { - pj_assert(!"Bug! Offer should have been validated"); - return PJ_EBUG; - } - pjmedia_sdp_attr_get_rtpmap(a, &or_); - - /* Find paylaod in answer SDP with matching - * encoding name and clock rate. - */ - for (j=0; jdesc.fmt_count; ++j) { - a = pjmedia_sdp_media_find_attr2(answer, "rtpmap", - &answer->desc.fmt[j]); - if (a) { - pjmedia_sdp_rtpmap ar; - pjmedia_sdp_attr_get_rtpmap(a, &ar); - - /* See if encoding name, clock rate, and channel - * count match - */ - if (!pj_stricmp(&or_.enc_name, &ar.enc_name) && - or_.clock_rate == ar.clock_rate && - (pj_stricmp(&or_.param, &ar.param)==0 || - (ar.param.slen==1 && *ar.param.ptr=='1'))) - { - /* Call custom format matching callbacks */ - if (custom_fmt_match(pool, &or_.enc_name, - offer, i, answer, j, 0) == - PJ_SUCCESS) - { - /* Match! */ - break; - } - } - } - } - } - - if (j == answer->desc.fmt_count) { - /* This format has no matching answer. - * Remove it from our offer. - */ - pjmedia_sdp_attr *a; - - /* Remove rtpmap associated with this format */ - a = pjmedia_sdp_media_find_attr2(offer, "rtpmap", fmt); - if (a) - pjmedia_sdp_media_remove_attr(offer, a); - - /* Remove fmtp associated with this format */ - a = pjmedia_sdp_media_find_attr2(offer, "fmtp", fmt); - if (a) - pjmedia_sdp_media_remove_attr(offer, a); - - /* Remove this format from offer's array */ - pj_array_erase(offer->desc.fmt, sizeof(offer->desc.fmt[0]), - offer->desc.fmt_count, i); - --offer->desc.fmt_count; - - } else { - offer_fmt_prior[i] = j; - ++i; - } - } - - if (0 == offer->desc.fmt_count) { - /* No common codec in the answer! */ - return PJMEDIA_SDPNEG_EANSNOMEDIA; - } - - /* Post process: - * - Resort offer formats so the order match to the answer. - * - Remove answer formats that unmatches to the offer. - */ - - /* Resort offer formats */ - for (i=0; idesc.fmt_count; ++i) { - unsigned j; - for (j=i+1; jdesc.fmt_count; ++j) { - if (offer_fmt_prior[i] > offer_fmt_prior[j]) { - unsigned tmp = offer_fmt_prior[i]; - offer_fmt_prior[i] = offer_fmt_prior[j]; - offer_fmt_prior[j] = tmp; - str_swap(&offer->desc.fmt[i], &offer->desc.fmt[j]); - } - } - } - - /* Remove unmatched answer formats */ - { - unsigned del_cnt = 0; - for (i=0; idesc.fmt_count;) { - /* The offer is ordered now, also the offer_fmt_prior */ - if (i >= offer->desc.fmt_count || - offer_fmt_prior[i]-del_cnt != i) - { - pj_str_t *fmt = &answer->desc.fmt[i]; - pjmedia_sdp_attr *a; - - /* Remove rtpmap associated with this format */ - a = pjmedia_sdp_media_find_attr2(answer, "rtpmap", fmt); - if (a) - pjmedia_sdp_media_remove_attr(answer, a); - - /* Remove fmtp associated with this format */ - a = pjmedia_sdp_media_find_attr2(answer, "fmtp", fmt); - if (a) - pjmedia_sdp_media_remove_attr(answer, a); - - /* Remove this format from answer's array */ - pj_array_erase(answer->desc.fmt, - sizeof(answer->desc.fmt[0]), - answer->desc.fmt_count, i); - --answer->desc.fmt_count; - - ++del_cnt; - } else { - ++i; - } - } - } - } - - /* Looks okay */ - return PJ_SUCCESS; -} - - -/* Update local media session (offer) to create active local session - * after receiving remote answer. - */ -static pj_status_t process_answer(pj_pool_t *pool, - pjmedia_sdp_session *offer, - pjmedia_sdp_session *answer, - pj_bool_t allow_asym, - pjmedia_sdp_session **p_active) -{ - unsigned omi = 0; /* Offer media index */ - unsigned ami = 0; /* Answer media index */ - pj_bool_t has_active = PJ_FALSE; - pj_status_t status; - - /* Check arguments. */ - PJ_ASSERT_RETURN(pool && offer && answer && p_active, PJ_EINVAL); - - /* Check that media count match between offer and answer */ - // Ticket #527, different media count is allowed for more interoperability, - // however, the media order must be same between offer and answer. - // if (offer->media_count != answer->media_count) - // return PJMEDIA_SDPNEG_EMISMEDIA; - - /* Now update each media line in the offer with the answer. */ - for (; omimedia_count; ++omi) { - if (ami == answer->media_count) { - /* The answer has less media than the offer */ - pjmedia_sdp_media *am; - - /* Generate matching-but-disabled-media for the answer */ - am = sdp_media_clone_deactivate(pool, offer->media[omi], - offer->media[omi], offer); - answer->media[answer->media_count++] = am; - ++ami; - - /* Deactivate our media offer too */ - pjmedia_sdp_media_deactivate(pool, offer->media[omi]); - - /* No answer media to be negotiated */ - continue; - } - - status = process_m_answer(pool, offer->media[omi], answer->media[ami], - allow_asym); - - /* If media type is mismatched, just disable the media. */ - if (status == PJMEDIA_SDPNEG_EINVANSMEDIA) { - pjmedia_sdp_media_deactivate(pool, offer->media[omi]); - continue; - } - /* No common format in the answer media. */ - else if (status == PJMEDIA_SDPNEG_EANSNOMEDIA) { - pjmedia_sdp_media_deactivate(pool, offer->media[omi]); - pjmedia_sdp_media_deactivate(pool, answer->media[ami]); - } - /* Return the error code, for other errors. */ - else if (status != PJ_SUCCESS) { - return status; - } - - if (offer->media[omi]->desc.port != 0) - has_active = PJ_TRUE; - - ++ami; - } - - *p_active = offer; - - return has_active ? PJ_SUCCESS : PJMEDIA_SDPNEG_ENOMEDIA; -} - - -/* Internal function to rewrite the format string in SDP attribute rtpmap - * and fmtp. - */ -PJ_INLINE(void) rewrite_pt(pj_pool_t *pool, pj_str_t *attr_val, - const pj_str_t *old_pt, const pj_str_t *new_pt) -{ - int len_diff = new_pt->slen - old_pt->slen; - - /* Note that attribute value should be null-terminated. */ - if (len_diff > 0) { - pj_str_t new_val; - new_val.ptr = (char*)pj_pool_alloc(pool, attr_val->slen+len_diff+1); - new_val.slen = attr_val->slen + len_diff; - pj_memcpy(new_val.ptr + len_diff, attr_val->ptr, attr_val->slen + 1); - *attr_val = new_val; - } else if (len_diff < 0) { - attr_val->slen += len_diff; - pj_memmove(attr_val->ptr, attr_val->ptr - len_diff, - attr_val->slen + 1); - } - pj_memcpy(attr_val->ptr, new_pt->ptr, new_pt->slen); -} - - -/* Internal function to apply symmetric PT for the local answer. */ -static void apply_answer_symmetric_pt(pj_pool_t *pool, - pjmedia_sdp_media *answer, - unsigned pt_cnt, - const pj_str_t pt_offer[], - const pj_str_t pt_answer[]) -{ - pjmedia_sdp_attr *a_tmp[PJMEDIA_MAX_SDP_ATTR]; - unsigned i, a_tmp_cnt = 0; - - /* Rewrite the payload types in the answer if different to - * the ones in the offer. - */ - for (i = 0; i < pt_cnt; ++i) { - pjmedia_sdp_attr *a; - - /* Skip if the PTs are the same already, e.g: static PT. */ - if (pj_strcmp(&pt_answer[i], &pt_offer[i]) == 0) - continue; - - /* Rewrite payload type in the answer to match to the offer */ - pj_strdup(pool, &answer->desc.fmt[i], &pt_offer[i]); - - /* Also update payload type in rtpmap */ - a = pjmedia_sdp_media_find_attr2(answer, "rtpmap", &pt_answer[i]); - if (a) { - rewrite_pt(pool, &a->value, &pt_answer[i], &pt_offer[i]); - /* Temporarily remove the attribute in case the new payload - * type is being used by another format in the media. - */ - pjmedia_sdp_media_remove_attr(answer, a); - a_tmp[a_tmp_cnt++] = a; - } - - /* Also update payload type in fmtp */ - a = pjmedia_sdp_media_find_attr2(answer, "fmtp", &pt_answer[i]); - if (a) { - rewrite_pt(pool, &a->value, &pt_answer[i], &pt_offer[i]); - /* Temporarily remove the attribute in case the new payload - * type is being used by another format in the media. - */ - pjmedia_sdp_media_remove_attr(answer, a); - a_tmp[a_tmp_cnt++] = a; - } - } - - /* Return back 'rtpmap' and 'fmtp' attributes */ - for (i = 0; i < a_tmp_cnt; ++i) - pjmedia_sdp_media_add_attr(answer, a_tmp[i]); -} - - -/* Try to match offer with answer. */ -static pj_status_t match_offer(pj_pool_t *pool, - pj_bool_t prefer_remote_codec_order, - const pjmedia_sdp_media *offer, - const pjmedia_sdp_media *preanswer, - const pjmedia_sdp_session *preanswer_sdp, - pjmedia_sdp_media **p_answer) -{ - unsigned i; - pj_bool_t master_has_codec = 0, - master_has_telephone_event = 0, - master_has_other = 0, - found_matching_codec = 0, - found_matching_telephone_event = 0, - found_matching_other = 0; - unsigned pt_answer_count = 0; - pj_str_t pt_answer[PJMEDIA_MAX_SDP_FMT]; - pj_str_t pt_offer[PJMEDIA_MAX_SDP_FMT]; - pjmedia_sdp_media *answer; - const pjmedia_sdp_media *master, *slave; - - /* If offer has zero port, just clone the offer */ - if (offer->desc.port == 0) { - answer = sdp_media_clone_deactivate(pool, offer, preanswer, - preanswer_sdp); - *p_answer = answer; - return PJ_SUCCESS; - } - - /* If the preanswer define zero port, this media is being rejected, - * just clone the preanswer. - */ - if (preanswer->desc.port == 0) { - answer = pjmedia_sdp_media_clone(pool, preanswer); - *p_answer = answer; - return PJ_SUCCESS; - } - - /* Set master/slave negotiator based on prefer_remote_codec_order. */ - if (prefer_remote_codec_order) { - master = offer; - slave = preanswer; - } else { - master = preanswer; - slave = offer; - } - - /* With the addition of telephone-event and dodgy MS RTC SDP, - * the answer generation algorithm looks really shitty... - */ - for (i=0; idesc.fmt_count; ++i) { - unsigned j; - - if (pj_isdigit(*master->desc.fmt[i].ptr)) { - /* This is normal/standard payload type, where it's identified - * by payload number. - */ - unsigned pt; - - pt = pj_strtoul(&master->desc.fmt[i]); - - if (pt < 96) { - /* For static payload type, it's enough to compare just - * the payload number. - */ - - master_has_codec = 1; - - /* We just need to select one codec. - * Continue if we have selected matching codec for previous - * payload. - */ - if (found_matching_codec) - continue; - - /* Find matching codec in local descriptor. */ - for (j=0; jdesc.fmt_count; ++j) { - unsigned p; - p = pj_strtoul(&slave->desc.fmt[j]); - if (p == pt && pj_isdigit(*slave->desc.fmt[j].ptr)) { - found_matching_codec = 1; - pt_offer[pt_answer_count] = slave->desc.fmt[j]; - pt_answer[pt_answer_count++] = slave->desc.fmt[j]; - break; - } - } - - } else { - /* This is dynamic payload type. - * For dynamic payload type, we must look the rtpmap and - * compare the encoding name. - */ - const pjmedia_sdp_attr *a; - pjmedia_sdp_rtpmap or_; - pj_bool_t is_codec; - - /* Get the rtpmap for the payload type in the master. */ - a = pjmedia_sdp_media_find_attr2(master, "rtpmap", - &master->desc.fmt[i]); - if (!a) { - pj_assert(!"Bug! Offer should have been validated"); - return PJMEDIA_SDP_EMISSINGRTPMAP; - } - pjmedia_sdp_attr_get_rtpmap(a, &or_); - - if (!pj_stricmp2(&or_.enc_name, "telephone-event")) { - master_has_telephone_event = 1; - if (found_matching_telephone_event) - continue; - is_codec = 0; - } else { - master_has_codec = 1; - if (found_matching_codec) - continue; - is_codec = 1; - } - - /* Find paylaod in our initial SDP with matching - * encoding name and clock rate. - */ - for (j=0; jdesc.fmt_count; ++j) { - a = pjmedia_sdp_media_find_attr2(slave, "rtpmap", - &slave->desc.fmt[j]); - if (a) { - pjmedia_sdp_rtpmap lr; - pjmedia_sdp_attr_get_rtpmap(a, &lr); - - /* See if encoding name, clock rate, and - * channel count match - */ - if (!pj_stricmp(&or_.enc_name, &lr.enc_name) && - or_.clock_rate == lr.clock_rate && - (pj_stricmp(&or_.param, &lr.param)==0 || - (lr.param.slen==0 && or_.param.slen==1 && - *or_.param.ptr=='1') || - (or_.param.slen==0 && lr.param.slen==1 && - *lr.param.ptr=='1'))) - { - /* Match! */ - if (is_codec) { - pjmedia_sdp_media *o, *a; - unsigned o_fmt_idx, a_fmt_idx; - - o = (pjmedia_sdp_media*)offer; - a = (pjmedia_sdp_media*)preanswer; - o_fmt_idx = prefer_remote_codec_order? i:j; - a_fmt_idx = prefer_remote_codec_order? j:i; - - /* Call custom format matching callbacks */ - if (custom_fmt_match(pool, &or_.enc_name, - o, o_fmt_idx, - a, a_fmt_idx, - ALLOW_MODIFY_ANSWER) != - PJ_SUCCESS) - { - continue; - } - found_matching_codec = 1; - } else { - found_matching_telephone_event = 1; - } - - pt_offer[pt_answer_count] = - prefer_remote_codec_order? - offer->desc.fmt[i]: - offer->desc.fmt[j]; - pt_answer[pt_answer_count++] = - prefer_remote_codec_order? - preanswer->desc.fmt[j]: - preanswer->desc.fmt[i]; - break; - } - } - } - } - - } else { - /* This is a non-standard, brain damaged SDP where the payload - * type is non-numeric. It exists e.g. in Microsoft RTC based - * UA, to indicate instant messaging capability. - * Example: - * - m=x-ms-message 5060 sip null - */ - master_has_other = 1; - if (found_matching_other) - continue; - - for (j=0; jdesc.fmt_count; ++j) { - if (!pj_strcmp(&master->desc.fmt[i], &slave->desc.fmt[j])) { - /* Match */ - found_matching_other = 1; - pt_offer[pt_answer_count] = prefer_remote_codec_order? - offer->desc.fmt[i]: - offer->desc.fmt[j]; - pt_answer[pt_answer_count++] = prefer_remote_codec_order? - preanswer->desc.fmt[j]: - preanswer->desc.fmt[i]; - break; - } - } - } - } - - /* See if all types of master can be matched. */ - if (master_has_codec && !found_matching_codec) { - return PJMEDIA_SDPNEG_NOANSCODEC; - } - - /* If this comment is removed, negotiation will fail if remote has offered - telephone-event and local is not configured with telephone-event - - if (offer_has_telephone_event && !found_matching_telephone_event) { - return PJMEDIA_SDPNEG_NOANSTELEVENT; - } - */ - - if (master_has_other && !found_matching_other) { - return PJMEDIA_SDPNEG_NOANSUNKNOWN; - } - - /* Seems like everything is in order. - * Build the answer by cloning from preanswer, but rearrange the payload - * to suit the offer. - */ - answer = pjmedia_sdp_media_clone(pool, preanswer); - for (i=0; idesc.fmt_count; ++j) { - if (!pj_strcmp(&answer->desc.fmt[j], &pt_answer[i])) - break; - } - pj_assert(j != answer->desc.fmt_count); - str_swap(&answer->desc.fmt[i], &answer->desc.fmt[j]); - } - - /* Remove unwanted local formats. */ - for (i=pt_answer_count; idesc.fmt_count; ++i) { - pjmedia_sdp_attr *a; - - /* Remove rtpmap for this format */ - a = pjmedia_sdp_media_find_attr2(answer, "rtpmap", - &answer->desc.fmt[i]); - if (a) { - pjmedia_sdp_media_remove_attr(answer, a); - } - - /* Remove fmtp for this format */ - a = pjmedia_sdp_media_find_attr2(answer, "fmtp", - &answer->desc.fmt[i]); - if (a) { - pjmedia_sdp_media_remove_attr(answer, a); - } - } - answer->desc.fmt_count = pt_answer_count; - -#if PJMEDIA_SDP_NEG_ANSWER_SYMMETRIC_PT - apply_answer_symmetric_pt(pool, answer, pt_answer_count, - pt_offer, pt_answer); -#endif - - /* Update media direction. */ - update_media_direction(pool, offer, answer); - - *p_answer = answer; - return PJ_SUCCESS; -} - -/* Create complete answer for remote's offer. */ -static pj_status_t create_answer( pj_pool_t *pool, - pj_bool_t prefer_remote_codec_order, - const pjmedia_sdp_session *initial, - const pjmedia_sdp_session *offer, - pjmedia_sdp_session **p_answer) -{ - pj_status_t status = PJMEDIA_SDPNEG_ENOMEDIA; - pj_bool_t has_active = PJ_FALSE; - pjmedia_sdp_session *answer; - char media_used[PJMEDIA_MAX_SDP_MEDIA]; - unsigned i; - - /* Validate remote offer. - * This should have been validated before. - */ - PJ_ASSERT_RETURN((status=pjmedia_sdp_validate(offer))==PJ_SUCCESS, status); - - /* Create initial answer by duplicating initial SDP, - * but clear all media lines. The media lines will be filled up later. - */ - answer = pjmedia_sdp_session_clone(pool, initial); - PJ_ASSERT_RETURN(answer != NULL, PJ_ENOMEM); - - answer->media_count = 0; - - pj_bzero(media_used, sizeof(media_used)); - - /* For each media line, create our answer based on our initial - * capability. - */ - for (i=0; imedia_count; ++i) { - const pjmedia_sdp_media *om; /* offer */ - const pjmedia_sdp_media *im; /* initial media */ - pjmedia_sdp_media *am = NULL; /* answer/result */ - unsigned j; - - om = offer->media[i]; - - /* Find media description in our initial capability that matches - * the media type and transport type of offer's media, has - * matching codec, and has not been used to answer other offer. - */ - for (im=NULL, j=0; jmedia_count; ++j) { - im = initial->media[j]; - if (pj_strcmp(&om->desc.media, &im->desc.media)==0 && - pj_strcmp(&om->desc.transport, &im->desc.transport)==0 && - media_used[j] == 0) - { - pj_status_t status2; - - /* See if it has matching codec. */ - status2 = match_offer(pool, prefer_remote_codec_order, - om, im, initial, &am); - if (status2 == PJ_SUCCESS) { - /* Mark media as used. */ - media_used[j] = 1; - break; - } else { - status = status2; - } - } - } - - if (j==initial->media_count) { - /* No matching media. - * Reject the offer by setting the port to zero in the answer. - */ - /* For simplicity in the construction of the answer, we'll - * just clone the media from the offer. Anyway receiver will - * ignore anything in the media once it sees that the port - * number is zero. - */ - am = sdp_media_clone_deactivate(pool, om, om, answer); - } else { - /* The answer is in am */ - pj_assert(am != NULL); - } - - /* Add the media answer */ - answer->media[answer->media_count++] = am; - - /* Check if this media is active.*/ - if (am->desc.port != 0) - has_active = PJ_TRUE; - } - - *p_answer = answer; - - return has_active ? PJ_SUCCESS : status; -} - -/* Cancel offer */ -PJ_DEF(pj_status_t) pjmedia_sdp_neg_cancel_offer(pjmedia_sdp_neg *neg) -{ - PJ_ASSERT_RETURN(neg, PJ_EINVAL); - - /* Must be in LOCAL_OFFER state. */ - PJ_ASSERT_RETURN(neg->state == PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER || - neg->state == PJMEDIA_SDP_NEG_STATE_REMOTE_OFFER, - PJMEDIA_SDPNEG_EINSTATE); - - /* Reset state to done */ - neg->state = PJMEDIA_SDP_NEG_STATE_DONE; - - /* Clear temporary SDP */ - neg->neg_local_sdp = neg->neg_remote_sdp = NULL; - neg->has_remote_answer = PJ_FALSE; - - return PJ_SUCCESS; -} - - -/* The best bit: SDP negotiation function! */ -PJ_DEF(pj_status_t) pjmedia_sdp_neg_negotiate( pj_pool_t *pool, - pjmedia_sdp_neg *neg, - pj_bool_t allow_asym) -{ - pj_status_t status; - - /* Check arguments are valid. */ - PJ_ASSERT_RETURN(pool && neg, PJ_EINVAL); - - /* Must be in STATE_WAIT_NEGO state. */ - PJ_ASSERT_RETURN(neg->state == PJMEDIA_SDP_NEG_STATE_WAIT_NEGO, - PJMEDIA_SDPNEG_EINSTATE); - - /* Must have remote offer. */ - PJ_ASSERT_RETURN(neg->neg_remote_sdp, PJ_EBUG); - - if (neg->has_remote_answer) { - pjmedia_sdp_session *active; - status = process_answer(pool, neg->neg_local_sdp, neg->neg_remote_sdp, - allow_asym, &active); - if (status == PJ_SUCCESS) { - /* Only update active SDPs when negotiation is successfull */ - neg->active_local_sdp = active; - neg->active_remote_sdp = neg->neg_remote_sdp; - } - } else { - pjmedia_sdp_session *answer = NULL; - - status = create_answer(pool, neg->prefer_remote_codec_order, - neg->neg_local_sdp, neg->neg_remote_sdp, - &answer); - if (status == PJ_SUCCESS) { - pj_uint32_t active_ver; - - if (neg->active_local_sdp) - active_ver = neg->active_local_sdp->origin.version; - else - active_ver = neg->initial_sdp->origin.version; - - /* Only update active SDPs when negotiation is successfull */ - neg->active_local_sdp = answer; - neg->active_remote_sdp = neg->neg_remote_sdp; - - /* Increment SDP version */ - neg->active_local_sdp->origin.version = ++active_ver; - } - } - - /* State is DONE regardless */ - neg->state = PJMEDIA_SDP_NEG_STATE_DONE; - - /* Save state */ - neg->answer_was_remote = neg->has_remote_answer; - - /* Clear temporary SDP */ - neg->neg_local_sdp = neg->neg_remote_sdp = NULL; - neg->has_remote_answer = PJ_FALSE; - - return status; -} - - -static pj_status_t custom_fmt_match(pj_pool_t *pool, - const pj_str_t *fmt_name, - pjmedia_sdp_media *offer, - unsigned o_fmt_idx, - pjmedia_sdp_media *answer, - unsigned a_fmt_idx, - unsigned option) -{ - unsigned i; - - for (i = 0; i < fmt_match_cb_cnt; ++i) { - if (pj_stricmp(fmt_name, &fmt_match_cb[i].fmt_name) == 0) { - pj_assert(fmt_match_cb[i].cb); - return (*fmt_match_cb[i].cb)(pool, offer, o_fmt_idx, - answer, a_fmt_idx, - option); - } - } - - /* Not customized format matching found, should be matched */ - return PJ_SUCCESS; -} - -/* Register customized SDP format negotiation callback function. */ -PJ_DECL(pj_status_t) pjmedia_sdp_neg_register_fmt_match_cb( - const pj_str_t *fmt_name, - pjmedia_sdp_neg_fmt_match_cb cb) -{ - struct fmt_match_cb_t *f = NULL; - unsigned i; - - PJ_ASSERT_RETURN(fmt_name, PJ_EINVAL); - - /* Check if the callback for the format name has been registered */ - for (i = 0; i < fmt_match_cb_cnt; ++i) { - if (pj_stricmp(fmt_name, &fmt_match_cb[i].fmt_name) == 0) - break; - } - - /* Unregistration */ - - if (cb == NULL) { - if (i == fmt_match_cb_cnt) - return PJ_ENOTFOUND; - - pj_array_erase(fmt_match_cb, sizeof(fmt_match_cb[0]), - fmt_match_cb_cnt, i); - fmt_match_cb_cnt--; - - return PJ_SUCCESS; - } - - /* Registration */ - - if (i < fmt_match_cb_cnt) { - /* The same format name has been registered before */ - if (cb != fmt_match_cb[i].cb) - return PJ_EEXISTS; - else - return PJ_SUCCESS; - } - - if (fmt_match_cb_cnt >= PJ_ARRAY_SIZE(fmt_match_cb)) - return PJ_ETOOMANY; - - f = &fmt_match_cb[fmt_match_cb_cnt++]; - f->fmt_name = *fmt_name; - f->cb = cb; - - return PJ_SUCCESS; -} - - -/* Match format in the SDP media offer and answer. */ -PJ_DEF(pj_status_t) pjmedia_sdp_neg_fmt_match(pj_pool_t *pool, - pjmedia_sdp_media *offer, - unsigned o_fmt_idx, - pjmedia_sdp_media *answer, - unsigned a_fmt_idx, - unsigned option) -{ - const pjmedia_sdp_attr *attr; - pjmedia_sdp_rtpmap o_rtpmap, a_rtpmap; - unsigned o_pt; - unsigned a_pt; - - o_pt = pj_strtoul(&offer->desc.fmt[o_fmt_idx]); - a_pt = pj_strtoul(&answer->desc.fmt[a_fmt_idx]); - - if (o_pt < 96 || a_pt < 96) { - if (o_pt == a_pt) - return PJ_SUCCESS; - else - return PJMEDIA_SDP_EFORMATNOTEQUAL; - } - - /* Get the format rtpmap from the offer. */ - attr = pjmedia_sdp_media_find_attr2(offer, "rtpmap", - &offer->desc.fmt[o_fmt_idx]); - if (!attr) { - pj_assert(!"Bug! Offer haven't been validated"); - return PJ_EBUG; - } - pjmedia_sdp_attr_get_rtpmap(attr, &o_rtpmap); - - /* Get the format rtpmap from the answer. */ - attr = pjmedia_sdp_media_find_attr2(answer, "rtpmap", - &answer->desc.fmt[a_fmt_idx]); - if (!attr) { - pj_assert(!"Bug! Answer haven't been validated"); - return PJ_EBUG; - } - pjmedia_sdp_attr_get_rtpmap(attr, &a_rtpmap); - - if (pj_stricmp(&o_rtpmap.enc_name, &a_rtpmap.enc_name) != 0 || - o_rtpmap.clock_rate != a_rtpmap.clock_rate) - { - return PJMEDIA_SDP_EFORMATNOTEQUAL; - } - - return custom_fmt_match(pool, &o_rtpmap.enc_name, - offer, o_fmt_idx, answer, a_fmt_idx, option); -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/sdp_wrap.cpp b/res/pjproject/pjmedia/src/pjmedia/sdp_wrap.cpp deleted file mode 100644 index 24bae56ed8..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/sdp_wrap.cpp +++ /dev/null @@ -1,24 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * This file is a C++ wrapper, see ticket #886 for details. - */ - -#include "sdp.c" diff --git a/res/pjproject/pjmedia/src/pjmedia/session.c b/res/pjproject/pjmedia/src/pjmedia/session.c deleted file mode 100644 index 437677903a..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/session.c +++ /dev/null @@ -1,444 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -struct pjmedia_session -{ - pj_pool_t *pool; - pjmedia_endpt *endpt; - unsigned stream_cnt; - pjmedia_stream_info stream_info[PJMEDIA_MAX_SDP_MEDIA]; - pjmedia_stream *stream[PJMEDIA_MAX_SDP_MEDIA]; - void *user_data; -}; - -#define THIS_FILE "session.c" - -#ifndef PJMEDIA_SESSION_SIZE -# define PJMEDIA_SESSION_SIZE (10*1024) -#endif - -#ifndef PJMEDIA_SESSION_INC -# define PJMEDIA_SESSION_INC 1024 -#endif - - -static const pj_str_t ID_AUDIO = { "audio", 5}; -static const pj_str_t ID_VIDEO = { "video", 5}; -static const pj_str_t ID_APPLICATION = { "application", 11}; -static const pj_str_t ID_IN = { "IN", 2 }; -static const pj_str_t ID_IP4 = { "IP4", 3}; -static const pj_str_t ID_IP6 = { "IP6", 3}; -static const pj_str_t ID_RTP_AVP = { "RTP/AVP", 7 }; -static const pj_str_t ID_RTP_SAVP = { "RTP/SAVP", 8 }; -//static const pj_str_t ID_SDP_NAME = { "pjmedia", 7 }; -static const pj_str_t ID_RTPMAP = { "rtpmap", 6 }; -static const pj_str_t ID_TELEPHONE_EVENT = { "telephone-event", 15 }; - -static const pj_str_t STR_INACTIVE = { "inactive", 8 }; -static const pj_str_t STR_SENDRECV = { "sendrecv", 8 }; -static const pj_str_t STR_SENDONLY = { "sendonly", 8 }; -static const pj_str_t STR_RECVONLY = { "recvonly", 8 }; - -/* - * Initialize session info from SDP session descriptors. - */ -PJ_DEF(pj_status_t) pjmedia_session_info_from_sdp( pj_pool_t *pool, - pjmedia_endpt *endpt, - unsigned max_streams, - pjmedia_session_info *si, - const pjmedia_sdp_session *local, - const pjmedia_sdp_session *remote) -{ - unsigned i; - - PJ_ASSERT_RETURN(pool && endpt && si && local && remote, PJ_EINVAL); - - si->stream_cnt = max_streams; - if (si->stream_cnt > local->media_count) - si->stream_cnt = local->media_count; - - for (i=0; istream_cnt; ++i) { - pj_status_t status; - - status = pjmedia_stream_info_from_sdp( &si->stream_info[i], pool, - endpt, - local, remote, i); - if (status != PJ_SUCCESS) - return status; - } - - return PJ_SUCCESS; -} - - -/** - * Create new session. - */ -PJ_DEF(pj_status_t) pjmedia_session_create( pjmedia_endpt *endpt, - const pjmedia_session_info *si, - pjmedia_transport *transports[], - void *user_data, - pjmedia_session **p_session ) -{ - pj_pool_t *pool; - pjmedia_session *session; - int i; /* Must be signed */ - pj_status_t status; - - /* Verify arguments. */ - PJ_ASSERT_RETURN(endpt && si && p_session, PJ_EINVAL); - - /* Create pool for the session. */ - pool = pjmedia_endpt_create_pool( endpt, "session", - PJMEDIA_SESSION_SIZE, - PJMEDIA_SESSION_INC); - PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); - - session = PJ_POOL_ZALLOC_T(pool, pjmedia_session); - session->pool = pool; - session->endpt = endpt; - session->stream_cnt = si->stream_cnt; - session->user_data = user_data; - - /* Copy stream info (this simple memcpy may break sometime) */ - pj_memcpy(session->stream_info, si->stream_info, - si->stream_cnt * sizeof(pjmedia_stream_info)); - - /* - * Now create and start the stream! - */ - for (i=0; i<(int)si->stream_cnt; ++i) { - - /* Create the stream */ - status = pjmedia_stream_create(endpt, session->pool, - &session->stream_info[i], - (transports?transports[i]:NULL), - session, - &session->stream[i]); - if (status == PJ_SUCCESS) - status = pjmedia_stream_start(session->stream[i]); - - if (status != PJ_SUCCESS) { - - for ( --i; i>=0; ++i) { - pjmedia_stream_destroy(session->stream[i]); - } - - pj_pool_release(session->pool); - return status; - } - } - - - /* Done. */ - - *p_session = session; - return PJ_SUCCESS; -} - - -/* - * Get session info. - */ -PJ_DEF(pj_status_t) pjmedia_session_get_info( pjmedia_session *session, - pjmedia_session_info *info ) -{ - PJ_ASSERT_RETURN(session && info, PJ_EINVAL); - - info->stream_cnt = session->stream_cnt; - pj_memcpy(info->stream_info, session->stream_info, - session->stream_cnt * sizeof(pjmedia_stream_info)); - - return PJ_SUCCESS; -} - -/* - * Get user data. - */ -PJ_DEF(void*) pjmedia_session_get_user_data( pjmedia_session *session) -{ - return (session? session->user_data : NULL); -} - -/** - * Destroy media session. - */ -PJ_DEF(pj_status_t) pjmedia_session_destroy (pjmedia_session *session) -{ - unsigned i; - - PJ_ASSERT_RETURN(session, PJ_EINVAL); - - for (i=0; istream_cnt; ++i) { - - pjmedia_stream_destroy(session->stream[i]); - - } - - pj_pool_release (session->pool); - - return PJ_SUCCESS; -} - - -/** - * Activate all stream in media session. - * - */ -PJ_DEF(pj_status_t) pjmedia_session_resume(pjmedia_session *session, - pjmedia_dir dir) -{ - unsigned i; - - PJ_ASSERT_RETURN(session, PJ_EINVAL); - - for (i=0; istream_cnt; ++i) { - pjmedia_session_resume_stream(session, i, dir); - } - - return PJ_SUCCESS; -} - - -/** - * Suspend receipt and transmission of all stream in media session. - * - */ -PJ_DEF(pj_status_t) pjmedia_session_pause(pjmedia_session *session, - pjmedia_dir dir) -{ - unsigned i; - - PJ_ASSERT_RETURN(session, PJ_EINVAL); - - for (i=0; istream_cnt; ++i) { - pjmedia_session_pause_stream(session, i, dir); - } - - return PJ_SUCCESS; -} - - -/** - * Suspend receipt and transmission of individual stream in media session. - */ -PJ_DEF(pj_status_t) pjmedia_session_pause_stream( pjmedia_session *session, - unsigned index, - pjmedia_dir dir) -{ - PJ_ASSERT_RETURN(session && index < session->stream_cnt, PJ_EINVAL); - - return pjmedia_stream_pause(session->stream[index], dir); -} - - -/** - * Activate individual stream in media session. - * - */ -PJ_DEF(pj_status_t) pjmedia_session_resume_stream( pjmedia_session *session, - unsigned index, - pjmedia_dir dir) -{ - PJ_ASSERT_RETURN(session && index < session->stream_cnt, PJ_EINVAL); - - return pjmedia_stream_resume(session->stream[index], dir); -} - -/** - * Send RTCP SDES for the session. - */ -PJ_DEF(pj_status_t) -pjmedia_session_send_rtcp_sdes( const pjmedia_session *session ) -{ - unsigned i; - - PJ_ASSERT_RETURN(session, PJ_EINVAL); - - for (i=0; istream_cnt; ++i) { - pjmedia_stream_send_rtcp_sdes(session->stream[i]); - } - - return PJ_SUCCESS; -} - -/** - * Send RTCP BYE for the session. - */ -PJ_DEF(pj_status_t) -pjmedia_session_send_rtcp_bye( const pjmedia_session *session ) -{ - unsigned i; - - PJ_ASSERT_RETURN(session, PJ_EINVAL); - - for (i=0; istream_cnt; ++i) { - pjmedia_stream_send_rtcp_bye(session->stream[i]); - } - - return PJ_SUCCESS; -} - -/** - * Enumerate media stream in the session. - */ -PJ_DEF(pj_status_t) pjmedia_session_enum_streams(const pjmedia_session *session, - unsigned *count, - pjmedia_stream_info info[]) -{ - unsigned i; - - PJ_ASSERT_RETURN(session && count && *count && info, PJ_EINVAL); - - if (*count > session->stream_cnt) - *count = session->stream_cnt; - - for (i=0; i<*count; ++i) { - pj_memcpy(&info[i], &session->stream_info[i], - sizeof(pjmedia_stream_info)); - } - - return PJ_SUCCESS; -} - - -/* - * Get the port interface. - */ -PJ_DEF(pj_status_t) pjmedia_session_get_port( pjmedia_session *session, - unsigned index, - pjmedia_port **p_port) -{ - return pjmedia_stream_get_port( session->stream[index], p_port); -} - -/* - * Get statistics - */ -PJ_DEF(pj_status_t) pjmedia_session_get_stream_stat( pjmedia_session *session, - unsigned index, - pjmedia_rtcp_stat *stat) -{ - PJ_ASSERT_RETURN(session && stat && index < session->stream_cnt, - PJ_EINVAL); - - return pjmedia_stream_get_stat(session->stream[index], stat); -} - - -/** - * Reset session statistics. - */ -PJ_DEF(pj_status_t) pjmedia_session_reset_stream_stat( pjmedia_session *session, - unsigned index) -{ - PJ_ASSERT_RETURN(session && index < session->stream_cnt, PJ_EINVAL); - - return pjmedia_stream_reset_stat(session->stream[index]); -} - - -#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) -/* - * Get extended statistics - */ -PJ_DEF(pj_status_t) pjmedia_session_get_stream_stat_xr( - pjmedia_session *session, - unsigned index, - pjmedia_rtcp_xr_stat *stat_xr) -{ - PJ_ASSERT_RETURN(session && stat_xr && index < session->stream_cnt, - PJ_EINVAL); - - return pjmedia_stream_get_stat_xr(session->stream[index], stat_xr); -} -#endif - -PJ_DEF(pj_status_t) pjmedia_session_get_stream_stat_jbuf( - pjmedia_session *session, - unsigned index, - pjmedia_jb_state *state) -{ - PJ_ASSERT_RETURN(session && state && index < session->stream_cnt, - PJ_EINVAL); - - return pjmedia_stream_get_stat_jbuf(session->stream[index], state); -} - -/* - * Dial DTMF digit to the stream, using RFC 2833 mechanism. - */ -PJ_DEF(pj_status_t) pjmedia_session_dial_dtmf( pjmedia_session *session, - unsigned index, - const pj_str_t *ascii_digits ) -{ - PJ_ASSERT_RETURN(session && ascii_digits, PJ_EINVAL); - return pjmedia_stream_dial_dtmf(session->stream[index], ascii_digits); -} - -/* - * Check if the specified stream has received DTMF digits. - */ -PJ_DEF(pj_status_t) pjmedia_session_check_dtmf( pjmedia_session *session, - unsigned index ) -{ - PJ_ASSERT_RETURN(session, PJ_EINVAL); - return pjmedia_stream_check_dtmf(session->stream[index]); -} - - -/* - * Retrieve DTMF digits from the specified stream. - */ -PJ_DEF(pj_status_t) pjmedia_session_get_dtmf( pjmedia_session *session, - unsigned index, - char *ascii_digits, - unsigned *size ) -{ - PJ_ASSERT_RETURN(session && ascii_digits && size, PJ_EINVAL); - return pjmedia_stream_get_dtmf(session->stream[index], ascii_digits, - size); -} - -/* - * Install DTMF callback. - */ -PJ_DEF(pj_status_t) pjmedia_session_set_dtmf_callback(pjmedia_session *session, - unsigned index, - void (*cb)(pjmedia_stream*, - void *user_data, - int digit), - void *user_data) -{ - PJ_ASSERT_RETURN(session && index < session->stream_cnt, PJ_EINVAL); - return pjmedia_stream_set_dtmf_callback(session->stream[index], cb, - user_data); -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/silencedet.c b/res/pjproject/pjmedia/src/pjmedia/silencedet.c deleted file mode 100644 index e0342241d6..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/silencedet.c +++ /dev/null @@ -1,333 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "silencedet.c" - -#if 1 -# define TRACE_(x) PJ_LOG(5,x) -#else -# define TRACE_(x) -#endif - -/** - * This enumeration specifies operation mode of silence detector - */ -typedef enum pjmedia_silence_det_mode { - VAD_MODE_NONE, - VAD_MODE_FIXED, - VAD_MODE_ADAPTIVE -} pjmedia_silence_det_mode; - -/** - * Default settings - */ -#define DEF_RECALC_ON_VOICED 4000 /* Time to recalculate threshold - in voiced condition, in ms */ -#define DEF_RECALC_ON_SILENCE 2000 /* Time to recalculate threshold - in silence condition, in ms. */ -#define DEF_BEFORE_SILENCE 400 /* Silence time before really changing - state into SILENCE, in ms. */ -#define DEF_THRESHOLD 1000 /* Default threshold. */ - -/** - * This enumeration specifies the states of the silence detector. - */ -enum pjmedia_silence_det_state { - STATE_SILENCE, - STATE_START_SILENCE, - STATE_VOICED -}; - -/** - * This structure holds the silence detector state. - */ -struct pjmedia_silence_det -{ - char objname[PJ_MAX_OBJ_NAME]; /**< VAD name. */ - - int mode; /**< VAD mode. */ - unsigned ptime; /**< Frame time, in msec. */ - - unsigned threshold; /**< Current threshold level. */ - unsigned sum_level; /**< Total sum of recent level. */ - unsigned sum_cnt; /**< Number of level summed. */ - unsigned silence_timer; /**< Silence condition timer. */ - unsigned voiced_timer; /**< Voiced condition timer. */ - - enum pjmedia_silence_det_state state;/**< Silence detector state. */ - unsigned recalc_on_voiced; /**< Setting of time to recalc - threshold in voiced condition. */ - unsigned recalc_on_silence; /**< Setting of time to recalc - threshold in silence condition.*/ - unsigned before_silence; /**< Setting of silence time before - really changing state into SILENCE, - in ms. */ -}; - - - -PJ_DEF(pj_status_t) pjmedia_silence_det_create( pj_pool_t *pool, - unsigned clock_rate, - unsigned samples_per_frame, - pjmedia_silence_det **p_sd) -{ - pjmedia_silence_det *sd; - - PJ_ASSERT_RETURN(pool && p_sd, PJ_EINVAL); - - sd = PJ_POOL_ZALLOC_T(pool, pjmedia_silence_det); - - pj_ansi_snprintf(sd->objname, PJ_MAX_OBJ_NAME, "sd%p", sd); - sd->objname[PJ_MAX_OBJ_NAME-1] = '\0'; - - sd->ptime = samples_per_frame * 1000 / clock_rate; - - /* Default settings */ - pjmedia_silence_det_set_params(sd, -1, -1, -1); - - /* Restart in adaptive, silent mode */ - pjmedia_silence_det_set_adaptive( sd, -1 ); - - *p_sd = sd; - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_silence_det_set_name( pjmedia_silence_det *sd, - const char *name) -{ - PJ_ASSERT_RETURN(sd && name, PJ_EINVAL); - - pj_ansi_snprintf(sd->objname, PJ_MAX_OBJ_NAME, name, sd); - sd->objname[PJ_MAX_OBJ_NAME-1] = '\0'; - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_silence_det_set_adaptive(pjmedia_silence_det *sd, - int threshold) -{ - PJ_ASSERT_RETURN(sd, PJ_EINVAL); - - if (threshold < 0) - threshold = DEF_THRESHOLD; - - sd->mode = VAD_MODE_ADAPTIVE; - sd->threshold = threshold; - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_silence_det_set_fixed( pjmedia_silence_det *sd, - int threshold ) -{ - PJ_ASSERT_RETURN(sd, PJ_EINVAL); - - if (threshold < 0) - threshold = DEF_THRESHOLD; - - sd->mode = VAD_MODE_FIXED; - sd->threshold = threshold; - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_silence_det_set_params( pjmedia_silence_det *sd, - int before_silence, - int recalc_time1, - int recalc_time2) -{ - PJ_ASSERT_RETURN(sd, PJ_EINVAL); - - if (recalc_time1 < 0) - recalc_time1 = DEF_RECALC_ON_VOICED; - if (recalc_time2 < 0) - recalc_time2 = DEF_RECALC_ON_SILENCE; - if (before_silence < 0) - before_silence = DEF_BEFORE_SILENCE; - - sd->recalc_on_voiced = recalc_time1; - sd->recalc_on_silence = recalc_time2; - sd->before_silence = before_silence; - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_silence_det_disable( pjmedia_silence_det *sd ) -{ - PJ_ASSERT_RETURN(sd, PJ_EINVAL); - - sd->mode = VAD_MODE_NONE; - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_int32_t) pjmedia_calc_avg_signal( const pj_int16_t samples[], - pj_size_t count) -{ - pj_uint32_t sum = 0; - - const pj_int16_t * pcm = samples; - const pj_int16_t * end = samples + count; - - if (count==0) - return 0; - - while (pcm != end) { - if (*pcm < 0) - sum -= *pcm++; - else - sum += *pcm++; - } - - return (pj_int32_t)(sum / count); -} - -PJ_DEF(pj_bool_t) pjmedia_silence_det_apply( pjmedia_silence_det *sd, - pj_uint32_t level) -{ - int avg_recent_level; - - if (sd->mode == VAD_MODE_NONE) - return PJ_FALSE; - - if (sd->mode == VAD_MODE_FIXED) - return (level < sd->threshold); - - /* Calculating recent level */ - sd->sum_level += level; - ++sd->sum_cnt; - avg_recent_level = (sd->sum_level / sd->sum_cnt); - - if (level > sd->threshold || - level >= PJMEDIA_SILENCE_DET_MAX_THRESHOLD) - { - sd->silence_timer = 0; - sd->voiced_timer += sd->ptime; - - switch(sd->state) { - case STATE_VOICED: - if (sd->voiced_timer > sd->recalc_on_voiced) { - /* Voiced for long time (>recalc_on_voiced), current - * threshold seems to be too low. - */ - sd->threshold = (avg_recent_level + sd->threshold) >> 1; - TRACE_((THIS_FILE,"Re-adjust threshold (in talk burst)" - "to %d", sd->threshold)); - - sd->voiced_timer = 0; - - /* Reset sig_level */ - sd->sum_level = avg_recent_level; - sd->sum_cnt = 1; - } - break; - - case STATE_SILENCE: - TRACE_((THIS_FILE,"Starting talk burst (level=%d threshold=%d)", - level, sd->threshold)); - - case STATE_START_SILENCE: - sd->state = STATE_VOICED; - - /* Reset sig_level */ - sd->sum_level = level; - sd->sum_cnt = 1; - - break; - - default: - pj_assert(0); - break; - } - } else { - sd->voiced_timer = 0; - sd->silence_timer += sd->ptime; - - switch(sd->state) { - case STATE_SILENCE: - if (sd->silence_timer >= sd->recalc_on_silence) { - sd->threshold = avg_recent_level << 1; - TRACE_((THIS_FILE,"Re-adjust threshold (in silence)" - "to %d", sd->threshold)); - - sd->silence_timer = 0; - - /* Reset sig_level */ - sd->sum_level = avg_recent_level; - sd->sum_cnt = 1; - } - break; - - case STATE_VOICED: - sd->state = STATE_START_SILENCE; - - /* Reset sig_level */ - sd->sum_level = level; - sd->sum_cnt = 1; - - case STATE_START_SILENCE: - if (sd->silence_timer >= sd->before_silence) { - sd->state = STATE_SILENCE; - sd->threshold = avg_recent_level << 1; - TRACE_((THIS_FILE,"Starting silence (level=%d " - "threshold=%d)", level, sd->threshold)); - - /* Reset sig_level */ - sd->sum_level = avg_recent_level; - sd->sum_cnt = 1; - } - break; - - default: - pj_assert(0); - break; - } - } - - return (sd->state == STATE_SILENCE); -} - - -PJ_DEF(pj_bool_t) pjmedia_silence_det_detect( pjmedia_silence_det *sd, - const pj_int16_t samples[], - pj_size_t count, - pj_int32_t *p_level) -{ - pj_uint32_t level; - - /* Calculate average signal level. */ - level = pjmedia_calc_avg_signal(samples, count); - - /* Report to caller, if required. */ - if (p_level) - *p_level = level; - - return pjmedia_silence_det_apply(sd, level); -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/sound_legacy.c b/res/pjproject/pjmedia/src/pjmedia/sound_legacy.c deleted file mode 100644 index 7e2e2ec3f2..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/sound_legacy.c +++ /dev/null @@ -1,284 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * This is implementation of legacy sound device API, for applications - * that still use the old/deprecated sound device API. This implementation - * uses the new Audio Device API. - * - * Please see http://trac.pjsip.org/repos/wiki/Audio_Dev_API for more - * information. - */ - -#include -#include -#include - -#if PJMEDIA_HAS_LEGACY_SOUND_API - -static struct legacy_subsys -{ - pjmedia_snd_dev_info info[4]; - unsigned info_counter; - unsigned user_rec_latency; - unsigned user_play_latency; -} g_sys; - -struct pjmedia_snd_stream -{ - pj_pool_t *pool; - pjmedia_aud_stream *aud_strm; - pjmedia_snd_rec_cb user_rec_cb; - pjmedia_snd_play_cb user_play_cb; - void *user_user_data; -}; - -PJ_DEF(pj_status_t) pjmedia_snd_init(pj_pool_factory *factory) -{ - return pjmedia_aud_subsys_init(factory); -} - -PJ_DEF(pj_status_t) pjmedia_snd_deinit(void) -{ - return pjmedia_aud_subsys_shutdown(); -} - -PJ_DEF(int) pjmedia_snd_get_dev_count(void) -{ - return pjmedia_aud_dev_count(); -} - -PJ_DEF(const pjmedia_snd_dev_info*) pjmedia_snd_get_dev_info(unsigned index) -{ - pjmedia_snd_dev_info *oi = &g_sys.info[g_sys.info_counter]; - pjmedia_aud_dev_info di; - - g_sys.info_counter = (g_sys.info_counter+1) % PJ_ARRAY_SIZE(g_sys.info); - - if (pjmedia_aud_dev_get_info(index, &di) != PJ_SUCCESS) - return NULL; - - pj_bzero(oi, sizeof(*oi)); - pj_ansi_strncpy(oi->name, di.name, sizeof(oi->name)); - oi->name[sizeof(oi->name)-1] = '\0'; - oi->input_count = di.input_count; - oi->output_count = di.output_count; - oi->default_samples_per_sec = di.default_samples_per_sec; - - return oi; -} - - -static pj_status_t snd_play_cb(void *user_data, - pjmedia_frame *frame) -{ - pjmedia_snd_stream *strm = (pjmedia_snd_stream*)user_data; - - frame->type = PJMEDIA_FRAME_TYPE_AUDIO; - return strm->user_play_cb(strm->user_user_data, - frame->timestamp.u32.lo, - frame->buf, - frame->size); -} - -static pj_status_t snd_rec_cb(void *user_data, - pjmedia_frame *frame) -{ - pjmedia_snd_stream *strm = (pjmedia_snd_stream*)user_data; - return strm->user_rec_cb(strm->user_user_data, - frame->timestamp.u32.lo, - frame->buf, - frame->size); -} - -static pj_status_t open_stream( pjmedia_dir dir, - int rec_id, - int play_id, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - pjmedia_snd_rec_cb rec_cb, - pjmedia_snd_play_cb play_cb, - void *user_data, - pjmedia_snd_stream **p_snd_strm) -{ - pj_pool_t *pool; - pjmedia_snd_stream *snd_strm; - pjmedia_aud_param param; - pj_status_t status; - - /* Initialize parameters */ - if (dir & PJMEDIA_DIR_CAPTURE) { - status = pjmedia_aud_dev_default_param(rec_id, ¶m); - } else { - status = pjmedia_aud_dev_default_param(play_id, ¶m); - } - if (status != PJ_SUCCESS) - return status; - - param.dir = dir; - param.rec_id = rec_id; - param.play_id = play_id; - param.clock_rate = clock_rate; - param.channel_count = channel_count; - param.samples_per_frame = samples_per_frame; - param.bits_per_sample = bits_per_sample; - - /* Latencies setting */ - if ((dir & PJMEDIA_DIR_CAPTURE) && g_sys.user_rec_latency) { - param.flags |= PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY; - param.input_latency_ms = g_sys.user_rec_latency; - } - if ((dir & PJMEDIA_DIR_PLAYBACK) && g_sys.user_play_latency) { - param.flags |= PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY; - param.output_latency_ms = g_sys.user_play_latency; - } - - /* Create sound wrapper */ - pool = pj_pool_create(pjmedia_aud_subsys_get_pool_factory(), - "legacy-snd", 512, 512, NULL); - snd_strm = PJ_POOL_ZALLOC_T(pool, pjmedia_snd_stream); - snd_strm->pool = pool; - snd_strm->user_rec_cb = rec_cb; - snd_strm->user_play_cb = play_cb; - snd_strm->user_user_data = user_data; - - /* Create the stream */ - status = pjmedia_aud_stream_create(¶m, &snd_rec_cb, - &snd_play_cb, snd_strm, - &snd_strm->aud_strm); - if (status != PJ_SUCCESS) { - pj_pool_release(pool); - return status; - } - - *p_snd_strm = snd_strm; - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_snd_open_rec( int index, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - pjmedia_snd_rec_cb rec_cb, - void *user_data, - pjmedia_snd_stream **p_snd_strm) -{ - return open_stream(PJMEDIA_DIR_CAPTURE, index, PJMEDIA_AUD_INVALID_DEV, - clock_rate, channel_count, samples_per_frame, - bits_per_sample, rec_cb, NULL, - user_data, p_snd_strm); -} - -PJ_DEF(pj_status_t) pjmedia_snd_open_player( int index, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - pjmedia_snd_play_cb play_cb, - void *user_data, - pjmedia_snd_stream **p_snd_strm ) -{ - return open_stream(PJMEDIA_DIR_PLAYBACK, PJMEDIA_AUD_INVALID_DEV, index, - clock_rate, channel_count, samples_per_frame, - bits_per_sample, NULL, play_cb, - user_data, p_snd_strm); -} - -PJ_DEF(pj_status_t) pjmedia_snd_open( int rec_id, - int play_id, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - pjmedia_snd_rec_cb rec_cb, - pjmedia_snd_play_cb play_cb, - void *user_data, - pjmedia_snd_stream **p_snd_strm) -{ - return open_stream(PJMEDIA_DIR_CAPTURE_PLAYBACK, rec_id, play_id, - clock_rate, channel_count, samples_per_frame, - bits_per_sample, rec_cb, play_cb, - user_data, p_snd_strm); -} - -PJ_DEF(pj_status_t) pjmedia_snd_stream_start(pjmedia_snd_stream *stream) -{ - return pjmedia_aud_stream_start(stream->aud_strm); -} - -PJ_DEF(pj_status_t) pjmedia_snd_stream_stop(pjmedia_snd_stream *stream) -{ - return pjmedia_aud_stream_stop(stream->aud_strm); -} - -PJ_DEF(pj_status_t) pjmedia_snd_stream_get_info(pjmedia_snd_stream *strm, - pjmedia_snd_stream_info *pi) -{ - pjmedia_aud_param param; - pj_status_t status; - - status = pjmedia_aud_stream_get_param(strm->aud_strm, ¶m); - if (status != PJ_SUCCESS) - return status; - - pj_bzero(pi, sizeof(*pi)); - pi->dir = param.dir; - pi->play_id = param.play_id; - pi->rec_id = param.rec_id; - pi->clock_rate = param.clock_rate; - pi->channel_count = param.channel_count; - pi->samples_per_frame = param.samples_per_frame; - pi->bits_per_sample = param.bits_per_sample; - - if (param.flags & PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY) { - pi->rec_latency = param.input_latency_ms; - } - if (param.flags & PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY) { - pi->play_latency = param.output_latency_ms; - } - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_snd_stream_close(pjmedia_snd_stream *stream) -{ - pj_status_t status; - - status = pjmedia_aud_stream_destroy(stream->aud_strm); - if (status != PJ_SUCCESS) - return status; - - pj_pool_release(stream->pool); - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_snd_set_latency(unsigned input_latency, - unsigned output_latency) -{ - g_sys.user_rec_latency = input_latency; - g_sys.user_play_latency = output_latency; - return PJ_SUCCESS; -} - -#endif /* PJMEDIA_HAS_LEGACY_SOUND_API */ - diff --git a/res/pjproject/pjmedia/src/pjmedia/sound_port.c b/res/pjproject/pjmedia/src/pjmedia/sound_port.c deleted file mode 100644 index f42e5b51c0..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/sound_port.c +++ /dev/null @@ -1,742 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include /* pj_memset() */ - -#define AEC_TAIL 128 /* default AEC length in ms */ -#define AEC_SUSPEND_LIMIT 5 /* seconds of no activity */ - -#define THIS_FILE "sound_port.c" - -//#define TEST_OVERFLOW_UNDERFLOW - -struct pjmedia_snd_port -{ - int rec_id; - int play_id; - pj_uint32_t aud_caps; - pjmedia_aud_param aud_param; - pjmedia_aud_stream *aud_stream; - pjmedia_dir dir; - pjmedia_port *port; - - pjmedia_clock_src cap_clocksrc, - play_clocksrc; - - unsigned clock_rate; - unsigned channel_count; - unsigned samples_per_frame; - unsigned bits_per_sample; - unsigned options; - unsigned prm_ec_options; - - /* software ec */ - pjmedia_echo_state *ec_state; - unsigned ec_options; - unsigned ec_tail_len; - pj_bool_t ec_suspended; - unsigned ec_suspend_count; - unsigned ec_suspend_limit; -}; - -/* - * The callback called by sound player when it needs more samples to be - * played. - */ -static pj_status_t play_cb(void *user_data, pjmedia_frame *frame) -{ - pjmedia_snd_port *snd_port = (pjmedia_snd_port*) user_data; - pjmedia_port *port; - const unsigned required_size = frame->size; - pj_status_t status; - - pjmedia_clock_src_update(&snd_port->play_clocksrc, &frame->timestamp); - - port = snd_port->port; - if (port == NULL) - goto no_frame; - - status = pjmedia_port_get_frame(port, frame); - if (status != PJ_SUCCESS) - goto no_frame; - - if (frame->type != PJMEDIA_FRAME_TYPE_AUDIO) - goto no_frame; - - /* Must supply the required samples */ - pj_assert(frame->size == required_size); - - if (snd_port->ec_state) { - if (snd_port->ec_suspended) { - snd_port->ec_suspended = PJ_FALSE; - //pjmedia_echo_state_reset(snd_port->ec_state); - PJ_LOG(4,(THIS_FILE, "EC activated")); - } - snd_port->ec_suspend_count = 0; - pjmedia_echo_playback(snd_port->ec_state, (pj_int16_t*)frame->buf); - } - - - return PJ_SUCCESS; - -no_frame: - frame->type = PJMEDIA_FRAME_TYPE_AUDIO; - frame->size = required_size; - pj_bzero(frame->buf, frame->size); - - if (snd_port->ec_state && !snd_port->ec_suspended) { - ++snd_port->ec_suspend_count; - if (snd_port->ec_suspend_count > snd_port->ec_suspend_limit) { - snd_port->ec_suspended = PJ_TRUE; - PJ_LOG(4,(THIS_FILE, "EC suspended because of inactivity")); - } - if (snd_port->ec_state) { - /* To maintain correct delay in EC */ - pjmedia_echo_playback(snd_port->ec_state, (pj_int16_t*)frame->buf); - } - } - - return PJ_SUCCESS; -} - - -/* - * The callback called by sound recorder when it has finished capturing a - * frame. - */ -static pj_status_t rec_cb(void *user_data, pjmedia_frame *frame) -{ - pjmedia_snd_port *snd_port = (pjmedia_snd_port*) user_data; - pjmedia_port *port; - - pjmedia_clock_src_update(&snd_port->cap_clocksrc, &frame->timestamp); - - port = snd_port->port; - if (port == NULL) - return PJ_SUCCESS; - - /* Cancel echo */ - if (snd_port->ec_state && !snd_port->ec_suspended) { - pjmedia_echo_capture(snd_port->ec_state, (pj_int16_t*) frame->buf, 0); - } - - pjmedia_port_put_frame(port, frame); - - - return PJ_SUCCESS; -} - -/* - * The callback called by sound player when it needs more samples to be - * played. This version is for non-PCM data. - */ -static pj_status_t play_cb_ext(void *user_data, pjmedia_frame *frame) -{ - pjmedia_snd_port *snd_port = (pjmedia_snd_port*) user_data; - pjmedia_port *port = snd_port->port; - - if (port == NULL) { - frame->type = PJMEDIA_FRAME_TYPE_NONE; - return PJ_SUCCESS; - } - - pjmedia_port_get_frame(port, frame); - - return PJ_SUCCESS; -} - - -/* - * The callback called by sound recorder when it has finished capturing a - * frame. This version is for non-PCM data. - */ -static pj_status_t rec_cb_ext(void *user_data, pjmedia_frame *frame) -{ - pjmedia_snd_port *snd_port = (pjmedia_snd_port*) user_data; - pjmedia_port *port; - - port = snd_port->port; - if (port == NULL) - return PJ_SUCCESS; - - pjmedia_port_put_frame(port, frame); - - return PJ_SUCCESS; -} - -/* Initialize with default values (zero) */ -PJ_DEF(void) pjmedia_snd_port_param_default(pjmedia_snd_port_param *prm) -{ - pj_bzero(prm, sizeof(*prm)); -} - -/* - * Start the sound stream. - * This may be called even when the sound stream has already been started. - */ -static pj_status_t start_sound_device( pj_pool_t *pool, - pjmedia_snd_port *snd_port ) -{ - pjmedia_aud_rec_cb snd_rec_cb; - pjmedia_aud_play_cb snd_play_cb; - pjmedia_aud_param param_copy; - pj_status_t status; - - /* Check if sound has been started. */ - if (snd_port->aud_stream != NULL) - return PJ_SUCCESS; - - PJ_ASSERT_RETURN(snd_port->dir == PJMEDIA_DIR_CAPTURE || - snd_port->dir == PJMEDIA_DIR_PLAYBACK || - snd_port->dir == PJMEDIA_DIR_CAPTURE_PLAYBACK, - PJ_EBUG); - - /* Get device caps */ - if (snd_port->aud_param.dir & PJMEDIA_DIR_CAPTURE) { - pjmedia_aud_dev_info dev_info; - - status = pjmedia_aud_dev_get_info(snd_port->aud_param.rec_id, - &dev_info); - if (status != PJ_SUCCESS) - return status; - - snd_port->aud_caps = dev_info.caps; - } else { - snd_port->aud_caps = 0; - } - - /* Process EC settings */ - pj_memcpy(¶m_copy, &snd_port->aud_param, sizeof(param_copy)); - if (param_copy.flags & PJMEDIA_AUD_DEV_CAP_EC) { - /* EC is wanted */ - if ((snd_port->prm_ec_options & PJMEDIA_ECHO_USE_SW_ECHO) == 0 && - snd_port->aud_caps & PJMEDIA_AUD_DEV_CAP_EC) - { - /* Device supports EC */ - /* Nothing to do */ - } else { - /* Application wants to use software EC or device - * doesn't support EC, remove EC settings from - * device parameters - */ - param_copy.flags &= ~(PJMEDIA_AUD_DEV_CAP_EC | - PJMEDIA_AUD_DEV_CAP_EC_TAIL); - } - } - - /* Use different callback if format is not PCM */ - if (snd_port->aud_param.ext_fmt.id == PJMEDIA_FORMAT_L16) { - snd_rec_cb = &rec_cb; - snd_play_cb = &play_cb; - } else { - snd_rec_cb = &rec_cb_ext; - snd_play_cb = &play_cb_ext; - } - - /* Open the device */ - status = pjmedia_aud_stream_create(¶m_copy, - snd_rec_cb, - snd_play_cb, - snd_port, - &snd_port->aud_stream); - - if (status != PJ_SUCCESS) - return status; - - /* Inactivity limit before EC is suspended. */ - snd_port->ec_suspend_limit = AEC_SUSPEND_LIMIT * - (snd_port->clock_rate / - snd_port->samples_per_frame); - - /* Create software EC if parameter specifies EC and - * (app specifically requests software EC or device - * doesn't support EC). Only do this if the format is PCM! - */ - if ((snd_port->aud_param.flags & PJMEDIA_AUD_DEV_CAP_EC) && - ((snd_port->aud_caps & PJMEDIA_AUD_DEV_CAP_EC)==0 || - (snd_port->prm_ec_options & PJMEDIA_ECHO_USE_SW_ECHO) != 0) && - param_copy.ext_fmt.id == PJMEDIA_FORMAT_PCM) - { - if ((snd_port->aud_param.flags & PJMEDIA_AUD_DEV_CAP_EC_TAIL)==0) { - snd_port->aud_param.flags |= PJMEDIA_AUD_DEV_CAP_EC_TAIL; - snd_port->aud_param.ec_tail_ms = AEC_TAIL; - PJ_LOG(4,(THIS_FILE, "AEC tail is set to default %u ms", - snd_port->aud_param.ec_tail_ms)); - } - - status = pjmedia_snd_port_set_ec(snd_port, pool, - snd_port->aud_param.ec_tail_ms, - snd_port->prm_ec_options); - if (status != PJ_SUCCESS) { - pjmedia_aud_stream_destroy(snd_port->aud_stream); - snd_port->aud_stream = NULL; - return status; - } - } - - /* Start sound stream. */ - if (!(snd_port->options & PJMEDIA_SND_PORT_NO_AUTO_START)) { - status = pjmedia_aud_stream_start(snd_port->aud_stream); - } - if (status != PJ_SUCCESS) { - pjmedia_aud_stream_destroy(snd_port->aud_stream); - snd_port->aud_stream = NULL; - return status; - } - - return PJ_SUCCESS; -} - - -/* - * Stop the sound device. - * This may be called even when there's no sound device in the port. - */ -static pj_status_t stop_sound_device( pjmedia_snd_port *snd_port ) -{ - /* Check if we have sound stream device. */ - if (snd_port->aud_stream) { - pjmedia_aud_stream_stop(snd_port->aud_stream); - pjmedia_aud_stream_destroy(snd_port->aud_stream); - snd_port->aud_stream = NULL; - } - - /* Destroy AEC */ - if (snd_port->ec_state) { - pjmedia_echo_destroy(snd_port->ec_state); - snd_port->ec_state = NULL; - } - - return PJ_SUCCESS; -} - - -/* - * Create bidirectional port. - */ -PJ_DEF(pj_status_t) pjmedia_snd_port_create( pj_pool_t *pool, - int rec_id, - int play_id, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - pjmedia_snd_port **p_port) -{ - pjmedia_snd_port_param param; - pj_status_t status; - - pjmedia_snd_port_param_default(¶m); - - status = pjmedia_aud_dev_default_param(rec_id, ¶m.base); - if (status != PJ_SUCCESS) - return status; - - param.base.dir = PJMEDIA_DIR_CAPTURE_PLAYBACK; - param.base.rec_id = rec_id; - param.base.play_id = play_id; - param.base.clock_rate = clock_rate; - param.base.channel_count = channel_count; - param.base.samples_per_frame = samples_per_frame; - param.base.bits_per_sample = bits_per_sample; - param.options = options; - param.ec_options = 0; - - return pjmedia_snd_port_create2(pool, ¶m, p_port); -} - -/* - * Create sound recorder AEC. - */ -PJ_DEF(pj_status_t) pjmedia_snd_port_create_rec( pj_pool_t *pool, - int dev_id, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - pjmedia_snd_port **p_port) -{ - pjmedia_snd_port_param param; - pj_status_t status; - - pjmedia_snd_port_param_default(¶m); - - status = pjmedia_aud_dev_default_param(dev_id, ¶m.base); - if (status != PJ_SUCCESS) - return status; - - param.base.dir = PJMEDIA_DIR_CAPTURE; - param.base.rec_id = dev_id; - param.base.clock_rate = clock_rate; - param.base.channel_count = channel_count; - param.base.samples_per_frame = samples_per_frame; - param.base.bits_per_sample = bits_per_sample; - param.options = options; - param.ec_options = 0; - - return pjmedia_snd_port_create2(pool, ¶m, p_port); -} - - -/* - * Create sound player port. - */ -PJ_DEF(pj_status_t) pjmedia_snd_port_create_player( pj_pool_t *pool, - int dev_id, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - pjmedia_snd_port **p_port) -{ - pjmedia_snd_port_param param; - pj_status_t status; - - pjmedia_snd_port_param_default(¶m); - - status = pjmedia_aud_dev_default_param(dev_id, ¶m.base); - if (status != PJ_SUCCESS) - return status; - - param.base.dir = PJMEDIA_DIR_PLAYBACK; - param.base.play_id = dev_id; - param.base.clock_rate = clock_rate; - param.base.channel_count = channel_count; - param.base.samples_per_frame = samples_per_frame; - param.base.bits_per_sample = bits_per_sample; - param.options = options; - param.ec_options = 0; - - return pjmedia_snd_port_create2(pool, ¶m, p_port); -} - - -/* - * Create sound port. - */ -PJ_DEF(pj_status_t) pjmedia_snd_port_create2(pj_pool_t *pool, - const pjmedia_snd_port_param *prm, - pjmedia_snd_port **p_port) -{ - pjmedia_snd_port *snd_port; - pj_status_t status; - unsigned ptime_usec; - - PJ_ASSERT_RETURN(pool && prm && p_port, PJ_EINVAL); - - snd_port = PJ_POOL_ZALLOC_T(pool, pjmedia_snd_port); - PJ_ASSERT_RETURN(snd_port, PJ_ENOMEM); - - snd_port->dir = prm->base.dir; - snd_port->rec_id = prm->base.rec_id; - snd_port->play_id = prm->base.play_id; - snd_port->clock_rate = prm->base.clock_rate; - snd_port->channel_count = prm->base.channel_count; - snd_port->samples_per_frame = prm->base.samples_per_frame; - snd_port->bits_per_sample = prm->base.bits_per_sample; - pj_memcpy(&snd_port->aud_param, &prm->base, sizeof(snd_port->aud_param)); - snd_port->options = prm->options; - snd_port->prm_ec_options = prm->ec_options; - - ptime_usec = prm->base.samples_per_frame * 1000 / prm->base.channel_count / - prm->base.clock_rate * 1000; - pjmedia_clock_src_init(&snd_port->cap_clocksrc, PJMEDIA_TYPE_AUDIO, - snd_port->clock_rate, ptime_usec); - pjmedia_clock_src_init(&snd_port->play_clocksrc, PJMEDIA_TYPE_AUDIO, - snd_port->clock_rate, ptime_usec); - - /* Start sound device immediately. - * If there's no port connected, the sound callback will return - * empty signal. - */ - status = start_sound_device( pool, snd_port ); - if (status != PJ_SUCCESS) { - pjmedia_snd_port_destroy(snd_port); - return status; - } - - *p_port = snd_port; - return PJ_SUCCESS; -} - - -/* - * Destroy port (also destroys the sound device). - */ -PJ_DEF(pj_status_t) pjmedia_snd_port_destroy(pjmedia_snd_port *snd_port) -{ - PJ_ASSERT_RETURN(snd_port, PJ_EINVAL); - - return stop_sound_device(snd_port); -} - - -/* - * Retrieve the sound stream associated by this sound device port. - */ -PJ_DEF(pjmedia_aud_stream*) pjmedia_snd_port_get_snd_stream( - pjmedia_snd_port *snd_port) -{ - PJ_ASSERT_RETURN(snd_port, NULL); - return snd_port->aud_stream; -} - - -/* - * Change EC settings. - */ -PJ_DEF(pj_status_t) pjmedia_snd_port_set_ec( pjmedia_snd_port *snd_port, - pj_pool_t *pool, - unsigned tail_ms, - unsigned options) -{ - pjmedia_aud_param prm; - pj_status_t status; - - /* Sound must be opened in full-duplex mode */ - PJ_ASSERT_RETURN(snd_port && - snd_port->dir == PJMEDIA_DIR_CAPTURE_PLAYBACK, - PJ_EINVALIDOP); - - /* Determine whether we use device or software EC */ - if ((snd_port->prm_ec_options & PJMEDIA_ECHO_USE_SW_ECHO) == 0 && - snd_port->aud_caps & PJMEDIA_AUD_DEV_CAP_EC) - { - /* We use device EC */ - pj_bool_t ec_enabled; - - /* Query EC status */ - status = pjmedia_aud_stream_get_cap(snd_port->aud_stream, - PJMEDIA_AUD_DEV_CAP_EC, - &ec_enabled); - if (status != PJ_SUCCESS) - return status; - - if (tail_ms != 0) { - /* Change EC setting */ - - if (!ec_enabled) { - /* Enable EC first */ - pj_bool_t value = PJ_TRUE; - status = pjmedia_aud_stream_set_cap(snd_port->aud_stream, - PJMEDIA_AUD_DEV_CAP_EC, - &value); - if (status != PJ_SUCCESS) - return status; - } - - if ((snd_port->aud_caps & PJMEDIA_AUD_DEV_CAP_EC_TAIL)==0) { - /* Device does not support setting EC tail */ - return PJMEDIA_EAUD_INVCAP; - } - - return pjmedia_aud_stream_set_cap(snd_port->aud_stream, - PJMEDIA_AUD_DEV_CAP_EC_TAIL, - &tail_ms); - - } else if (ec_enabled) { - /* Disable EC */ - pj_bool_t value = PJ_FALSE; - return pjmedia_aud_stream_set_cap(snd_port->aud_stream, - PJMEDIA_AUD_DEV_CAP_EC, - &value); - } else { - /* Request to disable EC but EC has been disabled */ - /* Do nothing */ - return PJ_SUCCESS; - } - - } else { - /* We use software EC */ - - /* Check if there is change in parameters */ - if (tail_ms==snd_port->ec_tail_len && options==snd_port->ec_options) { - PJ_LOG(5,(THIS_FILE, "pjmedia_snd_port_set_ec() ignored, no " - "change in settings")); - return PJ_SUCCESS; - } - - status = pjmedia_aud_stream_get_param(snd_port->aud_stream, &prm); - if (status != PJ_SUCCESS) - return status; - - /* Audio stream must be in PCM format */ - PJ_ASSERT_RETURN(prm.ext_fmt.id == PJMEDIA_FORMAT_PCM, - PJ_EINVALIDOP); - - /* Destroy AEC */ - if (snd_port->ec_state) { - pjmedia_echo_destroy(snd_port->ec_state); - snd_port->ec_state = NULL; - } - - if (tail_ms != 0) { - unsigned delay_ms; - - //No need to add input latency in the latency calculation, - //since actual input latency should be zero. - //delay_ms = (si.rec_latency + si.play_latency) * 1000 / - // snd_port->clock_rate; - /* Set EC latency to 3/4 of output latency to reduce the - * possibility of missing/late reference frame. - */ - delay_ms = prm.output_latency_ms * 3/4; - status = pjmedia_echo_create2(pool, snd_port->clock_rate, - snd_port->channel_count, - snd_port->samples_per_frame, - tail_ms, delay_ms, - options, &snd_port->ec_state); - if (status != PJ_SUCCESS) - snd_port->ec_state = NULL; - else - snd_port->ec_suspended = PJ_FALSE; - } else { - PJ_LOG(4,(THIS_FILE, "Echo canceller is now disabled in the " - "sound port")); - status = PJ_SUCCESS; - } - - snd_port->ec_options = options; - snd_port->ec_tail_len = tail_ms; - } - - return status; -} - - -/* Get AEC tail length */ -PJ_DEF(pj_status_t) pjmedia_snd_port_get_ec_tail( pjmedia_snd_port *snd_port, - unsigned *p_length) -{ - PJ_ASSERT_RETURN(snd_port && p_length, PJ_EINVAL); - - /* Determine whether we use device or software EC */ - if (snd_port->aud_caps & PJMEDIA_AUD_DEV_CAP_EC) { - /* We use device EC */ - pj_bool_t ec_enabled; - pj_status_t status; - - /* Query EC status */ - status = pjmedia_aud_stream_get_cap(snd_port->aud_stream, - PJMEDIA_AUD_DEV_CAP_EC, - &ec_enabled); - if (status != PJ_SUCCESS) - return status; - - if (!ec_enabled) { - *p_length = 0; - } else if (snd_port->aud_caps & PJMEDIA_AUD_DEV_CAP_EC_TAIL) { - /* Get device EC tail */ - status = pjmedia_aud_stream_get_cap(snd_port->aud_stream, - PJMEDIA_AUD_DEV_CAP_EC_TAIL, - p_length); - if (status != PJ_SUCCESS) - return status; - } else { - /* Just use default */ - *p_length = AEC_TAIL; - } - - } else { - /* We use software EC */ - *p_length = snd_port->ec_state ? snd_port->ec_tail_len : 0; - } - return PJ_SUCCESS; -} - - -/* - * Get clock source. - */ -PJ_DEF(pjmedia_clock_src *) -pjmedia_snd_port_get_clock_src( pjmedia_snd_port *snd_port, - pjmedia_dir dir ) -{ - return (dir == PJMEDIA_DIR_CAPTURE? &snd_port->cap_clocksrc: - &snd_port->play_clocksrc); -} - - -/* - * Connect a port. - */ -PJ_DEF(pj_status_t) pjmedia_snd_port_connect( pjmedia_snd_port *snd_port, - pjmedia_port *port) -{ - pjmedia_audio_format_detail *afd; - - PJ_ASSERT_RETURN(snd_port && port, PJ_EINVAL); - - afd = pjmedia_format_get_audio_format_detail(&port->info.fmt, PJ_TRUE); - - /* Check that port has the same configuration as the sound device - * port. - */ - if (afd->clock_rate != snd_port->clock_rate) - return PJMEDIA_ENCCLOCKRATE; - - if (PJMEDIA_AFD_SPF(afd) != snd_port->samples_per_frame) - return PJMEDIA_ENCSAMPLESPFRAME; - - if (afd->channel_count != snd_port->channel_count) - return PJMEDIA_ENCCHANNEL; - - if (afd->bits_per_sample != snd_port->bits_per_sample) - return PJMEDIA_ENCBITS; - - /* Port is okay. */ - snd_port->port = port; - return PJ_SUCCESS; -} - - -/* - * Get the connected port. - */ -PJ_DEF(pjmedia_port*) pjmedia_snd_port_get_port(pjmedia_snd_port *snd_port) -{ - PJ_ASSERT_RETURN(snd_port, NULL); - return snd_port->port; -} - - -/* - * Disconnect port. - */ -PJ_DEF(pj_status_t) pjmedia_snd_port_disconnect(pjmedia_snd_port *snd_port) -{ - PJ_ASSERT_RETURN(snd_port, PJ_EINVAL); - - snd_port->port = NULL; - - return PJ_SUCCESS; -} - - diff --git a/res/pjproject/pjmedia/src/pjmedia/splitcomb.c b/res/pjproject/pjmedia/src/pjmedia/splitcomb.c deleted file mode 100644 index 2f4baf11c6..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/splitcomb.c +++ /dev/null @@ -1,807 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - - -#define SIGNATURE PJMEDIA_SIG_PORT_SPLIT_COMB -#define SIGNATURE_PORT PJMEDIA_SIG_PORT_SPLIT_COMB_P -#define THIS_FILE "splitcomb.c" -#define TMP_SAMP_TYPE pj_int16_t - -/* Maximum number of channels. */ -#define MAX_CHANNELS 16 - -/* Maximum number of buffers to be accommodated by delaybuf */ -#define MAX_BUF_CNT PJMEDIA_SOUND_BUFFER_COUNT - -/* Maximum number of burst before we pause the media flow */ -#define MAX_BURST (buf_cnt + 6) - -/* Maximum number of NULL frames received before we pause the - * media flow. - */ -#define MAX_NULL_FRAMES (rport->max_burst) - - -/* Operations */ -#define OP_PUT (1) -#define OP_GET (-1) - - -/* - * Media flow directions: - * - * put_frame() +-----+ - * UPSTREAM ------------>|split|<--> DOWNSTREAM - * <------------|comb | - * get_frame() +-----+ - * - */ -enum sc_dir -{ - /* This is the media direction from the splitcomb to the - * downstream port(s), which happens when: - * - put_frame() is called to the splitcomb - * - get_frame() is called to the reverse channel port. - */ - DIR_DOWNSTREAM, - - /* This is the media direction from the downstream port to - * the splitcomb, which happens when: - * - get_frame() is called to the splitcomb - * - put_frame() is called to the reverse channel port. - */ - DIR_UPSTREAM -}; - - - -/* - * This structure describes the splitter/combiner. - */ -struct splitcomb -{ - pjmedia_port base; - - unsigned options; - - /* Array of ports, one for each channel */ - struct { - pjmedia_port *port; - pj_bool_t reversed; - } port_desc[MAX_CHANNELS]; - - /* Temporary buffers needed to extract mono frame from - * multichannel frame. We could use stack for this, but this - * way it should be safer for devices with small stack size. - */ - TMP_SAMP_TYPE *get_buf; - TMP_SAMP_TYPE *put_buf; -}; - - -/* - * This structure describes reverse port. - */ -struct reverse_port -{ - pjmedia_port base; - struct splitcomb*parent; - unsigned ch_num; - - /* Maximum burst before media flow is suspended. - * With reverse port, it's possible that either end of the - * port doesn't actually process the media flow (meaning, it - * stops calling get_frame()/put_frame()). When this happens, - * the other end will encounter excessive underflow or overflow, - * depending on which direction is not actively processed by - * the stopping end. - * - * To avoid excessive underflow/overflow, the media flow will - * be suspended once underflow/overflow goes over this max_burst - * limit. - */ - int max_burst; - - /* When the media interface port of the splitcomb or the reverse - * channel port is registered to conference bridge, the bridge - * will transmit NULL frames to the media port when the media - * port is not receiving any audio from other slots (for example, - * when no other slots are connected to the media port). - * - * When this happens, we will generate zero frame to our buffer, - * to avoid underflow/overflow. But after too many NULL frames - * are received, we will pause the media flow instead, to save - * some processing. - * - * This value controls how many NULL frames can be received - * before we suspend media flow for a particular direction. - */ - unsigned max_null_frames; - - /* A reverse port need a temporary buffer to store frames - * (because of the different phase, see splitcomb.h for details). - * Since we can not expect get_frame() and put_frame() to be - * called evenly one after another, we use delay buffers to - * accomodate the burst. - * - * We maintain state for each direction, hence the array. The - * array is indexed by direction (sc_dir). - */ - struct { - - /* The delay buffer where frames will be stored */ - pjmedia_delay_buf *dbuf; - - /* Flag to indicate that audio flow on this direction - * is currently being suspended (perhaps because nothing - * is processing the frame on the other end). - */ - pj_bool_t paused; - - /* Operation level. When the level exceeds a maximum value, - * the media flow on this direction will be paused. - */ - int level; - - /* Timestamp. */ - pj_timestamp ts; - - /* Number of NULL frames transmitted to this port so far. - * NULL frame indicate that nothing is transmitted, and - * once we get too many of this, we should pause the media - * flow to reduce processing. - */ - unsigned null_cnt; - - } buf[2]; - - /* Must have temporary put buffer for the delay buf, - * unfortunately. - */ - pj_int16_t *tmp_up_buf; -}; - - -/* - * Prototypes. - */ -static pj_status_t put_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t get_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t on_destroy(pjmedia_port *this_port); - -static pj_status_t rport_put_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t rport_get_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t rport_on_destroy(pjmedia_port *this_port); - - -/* - * Create the splitter/combiner. - */ -PJ_DEF(pj_status_t) pjmedia_splitcomb_create( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - pjmedia_port **p_splitcomb) -{ - const pj_str_t name = pj_str("splitcomb"); - struct splitcomb *sc; - - /* Sanity check */ - PJ_ASSERT_RETURN(pool && clock_rate && channel_count && - samples_per_frame && bits_per_sample && - p_splitcomb, PJ_EINVAL); - - /* Only supports 16 bits per sample */ - PJ_ASSERT_RETURN(bits_per_sample == 16, PJ_EINVAL); - - *p_splitcomb = NULL; - - /* Create the splitter/combiner structure */ - sc = PJ_POOL_ZALLOC_T(pool, struct splitcomb); - PJ_ASSERT_RETURN(sc != NULL, PJ_ENOMEM); - - /* Create temporary buffers */ - sc->get_buf = (TMP_SAMP_TYPE*) - pj_pool_alloc(pool, samples_per_frame * - sizeof(TMP_SAMP_TYPE) / - channel_count); - PJ_ASSERT_RETURN(sc->get_buf, PJ_ENOMEM); - - sc->put_buf = (TMP_SAMP_TYPE*) - pj_pool_alloc(pool, samples_per_frame * - sizeof(TMP_SAMP_TYPE) / - channel_count); - PJ_ASSERT_RETURN(sc->put_buf, PJ_ENOMEM); - - - /* Save options */ - sc->options = options; - - /* Initialize port */ - pjmedia_port_info_init(&sc->base.info, &name, SIGNATURE, clock_rate, - channel_count, bits_per_sample, samples_per_frame); - - sc->base.put_frame = &put_frame; - sc->base.get_frame = &get_frame; - sc->base.on_destroy = &on_destroy; - - /* Init ports array */ - /* - sc->port_desc = pj_pool_zalloc(pool, channel_count*sizeof(*sc->port_desc)); - */ - pj_bzero(sc->port_desc, sizeof(sc->port_desc)); - - /* Done for now */ - *p_splitcomb = &sc->base; - - return PJ_SUCCESS; -} - - -/* - * Attach media port with the same phase as the splitter/combiner. - */ -PJ_DEF(pj_status_t) pjmedia_splitcomb_set_channel( pjmedia_port *splitcomb, - unsigned ch_num, - unsigned options, - pjmedia_port *port) -{ - struct splitcomb *sc = (struct splitcomb*) splitcomb; - - /* Sanity check */ - PJ_ASSERT_RETURN(splitcomb && port, PJ_EINVAL); - - /* Make sure this is really a splitcomb port */ - PJ_ASSERT_RETURN(sc->base.info.signature == SIGNATURE, PJ_EINVAL); - - /* Check the channel number */ - PJ_ASSERT_RETURN(ch_num < PJMEDIA_PIA_CCNT(&sc->base.info), PJ_EINVAL); - - /* options is unused for now */ - PJ_UNUSED_ARG(options); - - sc->port_desc[ch_num].port = port; - sc->port_desc[ch_num].reversed = PJ_FALSE; - - return PJ_SUCCESS; -} - - -/* - * Create reverse phase port for the specified channel. - */ -PJ_DEF(pj_status_t) pjmedia_splitcomb_create_rev_channel( pj_pool_t *pool, - pjmedia_port *splitcomb, - unsigned ch_num, - unsigned options, - pjmedia_port **p_chport) -{ - const pj_str_t name = pj_str("scomb-rev"); - struct splitcomb *sc = (struct splitcomb*) splitcomb; - struct reverse_port *rport; - unsigned buf_cnt; - const pjmedia_audio_format_detail *sc_afd, *p_afd; - pjmedia_port *port; - pj_status_t status; - - /* Sanity check */ - PJ_ASSERT_RETURN(pool && splitcomb, PJ_EINVAL); - - /* Make sure this is really a splitcomb port */ - PJ_ASSERT_RETURN(sc->base.info.signature == SIGNATURE, PJ_EINVAL); - - /* Check the channel number */ - PJ_ASSERT_RETURN(ch_num < PJMEDIA_PIA_CCNT(&sc->base.info), PJ_EINVAL); - - /* options is unused for now */ - PJ_UNUSED_ARG(options); - - sc_afd = pjmedia_format_get_audio_format_detail(&splitcomb->info.fmt, 1); - - /* Create the port */ - rport = PJ_POOL_ZALLOC_T(pool, struct reverse_port); - rport->parent = sc; - rport->ch_num = ch_num; - - /* Initialize port info... */ - port = &rport->base; - pjmedia_port_info_init(&port->info, &name, SIGNATURE_PORT, - sc_afd->clock_rate, 1, - sc_afd->bits_per_sample, - PJMEDIA_PIA_SPF(&splitcomb->info) / - sc_afd->channel_count); - - p_afd = pjmedia_format_get_audio_format_detail(&port->info.fmt, 1); - - /* ... and the callbacks */ - port->put_frame = &rport_put_frame; - port->get_frame = &rport_get_frame; - port->on_destroy = &rport_on_destroy; - - /* Buffer settings */ - buf_cnt = options & 0xFF; - if (buf_cnt == 0) - buf_cnt = MAX_BUF_CNT; - - rport->max_burst = MAX_BURST; - rport->max_null_frames = MAX_NULL_FRAMES; - - /* Create downstream/put buffers */ - status = pjmedia_delay_buf_create(pool, "scombdb-dn", - p_afd->clock_rate, - PJMEDIA_PIA_SPF(&port->info), - p_afd->channel_count, - buf_cnt * p_afd->frame_time_usec / 1000, - 0, &rport->buf[DIR_DOWNSTREAM].dbuf); - if (status != PJ_SUCCESS) { - return status; - } - - /* Create upstream/get buffers */ - status = pjmedia_delay_buf_create(pool, "scombdb-up", - p_afd->clock_rate, - PJMEDIA_PIA_SPF(&port->info), - p_afd->channel_count, - buf_cnt * p_afd->frame_time_usec / 1000, - 0, &rport->buf[DIR_UPSTREAM].dbuf); - if (status != PJ_SUCCESS) { - pjmedia_delay_buf_destroy(rport->buf[DIR_DOWNSTREAM].dbuf); - return status; - } - - /* And temporary upstream/get buffer */ - rport->tmp_up_buf = (pj_int16_t*) - pj_pool_alloc(pool, - PJMEDIA_PIA_AVG_FSZ(&port->info)); - - /* Save port in the splitcomb */ - sc->port_desc[ch_num].port = &rport->base; - sc->port_desc[ch_num].reversed = PJ_TRUE; - - - /* Done */ - *p_chport = port; - return status; -} - - -/* - * Extract one mono frame from a multichannel frame. - */ -static void extract_mono_frame( const pj_int16_t *in, - pj_int16_t *out, - unsigned ch, - unsigned ch_cnt, - unsigned samples_count) -{ - unsigned i; - - in += ch; - for (i=0; ibuf[dir].level += op; - - if (op == OP_PUT) { - rport->buf[dir].ts.u64 += PJMEDIA_PIA_SPF(&rport->base.info); - } - - if (rport->buf[dir].paused) { - if (rport->buf[dir].level < -rport->max_burst) { - /* Prevent the level from overflowing and resets back to zero */ - rport->buf[dir].level = -rport->max_burst; - } else if (rport->buf[dir].level > rport->max_burst) { - /* Prevent the level from overflowing and resets back to zero */ - rport->buf[dir].level = rport->max_burst; - } else { - /* Level has fallen below max level, we can resume - * media flow. - */ - PJ_LOG(5,(rport->base.info.name.ptr, - "Resuming media flow on %s direction (level=%d)", - dir_name[dir], rport->buf[dir].level)); - rport->buf[dir].level = 0; - rport->buf[dir].paused = PJ_FALSE; - - //This will cause disruption in audio, and it seems to be - //working fine without this anyway, so we disable it for now. - //pjmedia_delay_buf_learn(rport->buf[dir].dbuf); - - } - } else { - if (rport->buf[dir].level >= rport->max_burst || - rport->buf[dir].level <= -rport->max_burst) - { - /* Level has reached maximum level, the other side of - * rport is not sending/retrieving frames. Pause the - * rport on this direction. - */ - PJ_LOG(5,(rport->base.info.name.ptr, - "Pausing media flow on %s direction (level=%d)", - dir_name[dir], rport->buf[dir].level)); - rport->buf[dir].paused = PJ_TRUE; - } - } -} - - -/* - * "Write" a multichannel frame downstream. This would split - * the multichannel frame into individual mono channel, and write - * it to the appropriate port. - */ -static pj_status_t put_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct splitcomb *sc = (struct splitcomb*) this_port; - unsigned ch; - - /* Handle null frame */ - if (frame->type == PJMEDIA_FRAME_TYPE_NONE) { - for (ch=0; ch < PJMEDIA_PIA_CCNT(&this_port->info); ++ch) { - pjmedia_port *port = sc->port_desc[ch].port; - - if (!port) continue; - - if (!sc->port_desc[ch].reversed) { - pjmedia_port_put_frame(port, frame); - } else { - struct reverse_port *rport = (struct reverse_port*)port; - - /* Update the number of NULL frames received. Once we have too - * many of this, we'll stop calling op_update() to let the - * media be suspended. - */ - - if (++rport->buf[DIR_DOWNSTREAM].null_cnt > - rport->max_null_frames) - { - /* Prevent the counter from overflowing and resetting - * back to zero - */ - rport->buf[DIR_DOWNSTREAM].null_cnt = - rport->max_null_frames + 1; - continue; - } - - /* Write zero port to delaybuf so that it doesn't underflow. - * If we don't do this, get_frame() on this direction will - * cause delaybuf to generate missing frame and the last - * frame transmitted to delaybuf will be replayed multiple - * times, which doesn't sound good. - */ - - /* Update rport state. */ - op_update(rport, DIR_DOWNSTREAM, OP_PUT); - - /* Discard frame if rport is paused on this direction */ - if (rport->buf[DIR_DOWNSTREAM].paused) - continue; - - /* Generate zero frame. */ - pjmedia_zero_samples(sc->put_buf, - PJMEDIA_PIA_SPF(&this_port->info)); - - /* Put frame to delay buffer */ - pjmedia_delay_buf_put(rport->buf[DIR_DOWNSTREAM].dbuf, - sc->put_buf); - - } - } - return PJ_SUCCESS; - } - - /* Not sure how we would handle partial frame, so better reject - * it for now. - */ - PJ_ASSERT_RETURN(frame->size == PJMEDIA_PIA_AVG_FSZ(&this_port->info), - PJ_EINVAL); - - /* - * Write mono frame into each channels - */ - for (ch=0; ch < PJMEDIA_PIA_CCNT(&this_port->info); ++ch) { - pjmedia_port *port = sc->port_desc[ch].port; - - if (!port) - continue; - - /* Extract the mono frame to temporary buffer */ - extract_mono_frame((const pj_int16_t*)frame->buf, sc->put_buf, ch, - PJMEDIA_PIA_CCNT(&this_port->info), - frame->size * 8 / - PJMEDIA_PIA_BITS(&this_port->info) / - PJMEDIA_PIA_CCNT(&this_port->info)); - - if (!sc->port_desc[ch].reversed) { - /* Write to normal port */ - pjmedia_frame mono_frame; - - mono_frame.buf = sc->put_buf; - mono_frame.size = frame->size / PJMEDIA_PIA_CCNT(&this_port->info); - mono_frame.type = frame->type; - mono_frame.timestamp.u64 = frame->timestamp.u64; - - /* Write */ - pjmedia_port_put_frame(port, &mono_frame); - - } else { - /* Write to reversed phase port */ - struct reverse_port *rport = (struct reverse_port*)port; - - /* Reset NULL frame counter */ - rport->buf[DIR_DOWNSTREAM].null_cnt = 0; - - /* Update rport state. */ - op_update(rport, DIR_DOWNSTREAM, OP_PUT); - - if (!rport->buf[DIR_DOWNSTREAM].paused) { - pjmedia_delay_buf_put(rport->buf[DIR_DOWNSTREAM].dbuf, - sc->put_buf); - } - } - } - - return PJ_SUCCESS; -} - - -/* - * Get a multichannel frame upstream. - * This will get mono channel frame from each port and put the - * mono frame into the multichannel frame. - */ -static pj_status_t get_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct splitcomb *sc = (struct splitcomb*) this_port; - unsigned ch; - pj_bool_t has_frame = PJ_FALSE; - - /* Read frame from each port */ - for (ch=0; ch < PJMEDIA_PIA_CCNT(&this_port->info); ++ch) { - pjmedia_port *port = sc->port_desc[ch].port; - pjmedia_frame mono_frame; - pj_status_t status; - - if (!port) { - pjmedia_zero_samples(sc->get_buf, - PJMEDIA_PIA_SPF(&this_port->info) / - PJMEDIA_PIA_CCNT(&this_port->info)); - - } else if (sc->port_desc[ch].reversed == PJ_FALSE) { - /* Read from normal port */ - mono_frame.buf = sc->get_buf; - mono_frame.size = PJMEDIA_PIA_AVG_FSZ(&port->info); - mono_frame.timestamp.u64 = frame->timestamp.u64; - - status = pjmedia_port_get_frame(port, &mono_frame); - if (status != PJ_SUCCESS || - mono_frame.type != PJMEDIA_FRAME_TYPE_AUDIO) - { - pjmedia_zero_samples(sc->get_buf, - PJMEDIA_PIA_SPF(&port->info)); - } - - frame->timestamp.u64 = mono_frame.timestamp.u64; - - } else { - /* Read from temporary buffer for reverse port */ - struct reverse_port *rport = (struct reverse_port*)port; - - /* Update rport state. */ - op_update(rport, DIR_UPSTREAM, OP_GET); - - if (!rport->buf[DIR_UPSTREAM].paused) { - pjmedia_delay_buf_get(rport->buf[DIR_UPSTREAM].dbuf, - sc->get_buf); - - } else { - pjmedia_zero_samples(sc->get_buf, - PJMEDIA_PIA_SPF(&port->info)); - } - - frame->timestamp.u64 = rport->buf[DIR_UPSTREAM].ts.u64; - } - - /* Combine the mono frame into multichannel frame */ - store_mono_frame(sc->get_buf, - (pj_int16_t*)frame->buf, ch, - PJMEDIA_PIA_CCNT(&this_port->info), - PJMEDIA_PIA_SPF(&this_port->info) / - PJMEDIA_PIA_CCNT(&this_port->info)); - - has_frame = PJ_TRUE; - } - - /* Return NO_FRAME is we don't get any frames from downstream ports */ - if (has_frame) { - frame->type = PJMEDIA_FRAME_TYPE_AUDIO; - frame->size = PJMEDIA_PIA_AVG_FSZ(&this_port->info); - } else - frame->type = PJMEDIA_FRAME_TYPE_NONE; - - return PJ_SUCCESS; -} - - -static pj_status_t on_destroy(pjmedia_port *this_port) -{ - /* Nothing to do for the splitcomb - * Reverse ports must be destroyed separately. - */ - PJ_UNUSED_ARG(this_port); - - return PJ_SUCCESS; -} - - -/* - * Put a frame in the reverse port (upstream direction). This frame - * will be picked up by get_frame() above. - */ -static pj_status_t rport_put_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct reverse_port *rport = (struct reverse_port*) this_port; - - pj_assert(frame->size <= PJMEDIA_PIA_AVG_FSZ(&rport->base.info)); - - /* Handle NULL frame */ - if (frame->type != PJMEDIA_FRAME_TYPE_AUDIO) { - /* Update the number of NULL frames received. Once we have too - * many of this, we'll stop calling op_update() to let the - * media be suspended. - */ - if (++rport->buf[DIR_UPSTREAM].null_cnt > rport->max_null_frames) { - /* Prevent the counter from overflowing and resetting back - * to zero - */ - rport->buf[DIR_UPSTREAM].null_cnt = rport->max_null_frames + 1; - return PJ_SUCCESS; - } - - /* Write zero port to delaybuf so that it doesn't underflow. - * If we don't do this, get_frame() on this direction will - * cause delaybuf to generate missing frame and the last - * frame transmitted to delaybuf will be replayed multiple - * times, which doesn't sound good. - */ - - /* Update rport state. */ - op_update(rport, DIR_UPSTREAM, OP_PUT); - - /* Discard frame if rport is paused on this direction */ - if (rport->buf[DIR_UPSTREAM].paused) - return PJ_SUCCESS; - - /* Generate zero frame. */ - pjmedia_zero_samples(rport->tmp_up_buf, - PJMEDIA_PIA_SPF(&this_port->info)); - - /* Put frame to delay buffer */ - return pjmedia_delay_buf_put(rport->buf[DIR_UPSTREAM].dbuf, - rport->tmp_up_buf); - } - - /* Not sure how to handle partial frame, so better reject for now */ - PJ_ASSERT_RETURN(frame->size == PJMEDIA_PIA_AVG_FSZ(&this_port->info), - PJ_EINVAL); - - /* Reset NULL frame counter */ - rport->buf[DIR_UPSTREAM].null_cnt = 0; - - /* Update rport state. */ - op_update(rport, DIR_UPSTREAM, OP_PUT); - - /* Discard frame if rport is paused on this direction */ - if (rport->buf[DIR_UPSTREAM].paused) - return PJ_SUCCESS; - - /* Unfortunately must copy to temporary buffer since delay buf - * modifies the frame content. - */ - pjmedia_copy_samples(rport->tmp_up_buf, (const pj_int16_t*)frame->buf, - PJMEDIA_PIA_SPF(&this_port->info)); - - /* Put frame to delay buffer */ - return pjmedia_delay_buf_put(rport->buf[DIR_UPSTREAM].dbuf, - rport->tmp_up_buf); -} - - -/* Get a mono frame from a reversed phase channel (downstream direction). - * The frame is put by put_frame() call to the splitcomb. - */ -static pj_status_t rport_get_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct reverse_port *rport = (struct reverse_port*) this_port; - - /* Update state */ - op_update(rport, DIR_DOWNSTREAM, OP_GET); - - /* Return no frame if media flow on this direction is being - * paused. - */ - if (rport->buf[DIR_DOWNSTREAM].paused) { - frame->type = PJMEDIA_FRAME_TYPE_NONE; - return PJ_SUCCESS; - } - - /* Get frame from delay buffer */ - frame->size = PJMEDIA_PIA_AVG_FSZ(&this_port->info); - frame->type = PJMEDIA_FRAME_TYPE_AUDIO; - frame->timestamp.u64 = rport->buf[DIR_DOWNSTREAM].ts.u64; - - return pjmedia_delay_buf_get(rport->buf[DIR_DOWNSTREAM].dbuf, - (short*)frame->buf); -} - - -static pj_status_t rport_on_destroy(pjmedia_port *this_port) -{ - struct reverse_port *rport = (struct reverse_port*) this_port; - - pjmedia_delay_buf_destroy(rport->buf[DIR_DOWNSTREAM].dbuf); - pjmedia_delay_buf_destroy(rport->buf[DIR_UPSTREAM].dbuf); - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/stereo_port.c b/res/pjproject/pjmedia/src/pjmedia/stereo_port.c deleted file mode 100644 index 1b4a49dfc5..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/stereo_port.c +++ /dev/null @@ -1,227 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include -#include -#include -#include - - -#define SIGNATURE PJMEDIA_SIG_PORT_STEREO - - -struct stereo_port -{ - pjmedia_port base; - pjmedia_port *dn_port; - unsigned options; - pj_int16_t *put_buf; - pj_int16_t *get_buf; -}; - - - -static pj_status_t stereo_put_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t stereo_get_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t stereo_destroy(pjmedia_port *this_port); - - - -PJ_DEF(pj_status_t) pjmedia_stereo_port_create( pj_pool_t *pool, - pjmedia_port *dn_port, - unsigned channel_count, - unsigned options, - pjmedia_port **p_port ) -{ - const pj_str_t name = pj_str("stereo"); - struct stereo_port *sport; - unsigned samples_per_frame; - - /* Validate arguments. */ - PJ_ASSERT_RETURN(pool && dn_port && channel_count && p_port, PJ_EINVAL); - - /* Only supports 16bit samples per frame */ - PJ_ASSERT_RETURN(PJMEDIA_PIA_BITS(&dn_port->info) == 16, - PJMEDIA_ENCBITS); - - /* Validate channel counts */ - PJ_ASSERT_RETURN(((PJMEDIA_PIA_CCNT(&dn_port->info)>1 && - channel_count==1) || - (PJMEDIA_PIA_CCNT(&dn_port->info)==1 && - channel_count>1)), - PJ_EINVAL); - - /* Create and initialize port. */ - sport = PJ_POOL_ZALLOC_T(pool, struct stereo_port); - PJ_ASSERT_RETURN(sport != NULL, PJ_ENOMEM); - - samples_per_frame = PJMEDIA_PIA_SPF(&dn_port->info) * channel_count / - PJMEDIA_PIA_CCNT(&dn_port->info); - - pjmedia_port_info_init(&sport->base.info, &name, SIGNATURE, - PJMEDIA_PIA_SRATE(&dn_port->info), - channel_count, - PJMEDIA_PIA_BITS(&dn_port->info), - samples_per_frame); - - sport->dn_port = dn_port; - sport->options = options; - - /* We always need buffer for put_frame */ - sport->put_buf = (pj_int16_t*) - pj_pool_alloc(pool, - PJMEDIA_PIA_AVG_FSZ(&dn_port->info)); - - /* See if we need buffer for get_frame */ - if (PJMEDIA_PIA_CCNT(&dn_port->info) > channel_count) { - sport->get_buf = (pj_int16_t*) - pj_pool_alloc(pool, - PJMEDIA_PIA_AVG_FSZ(&dn_port->info)); - } - - /* Media port interface */ - sport->base.get_frame = &stereo_get_frame; - sport->base.put_frame = &stereo_put_frame; - sport->base.on_destroy = &stereo_destroy; - - - /* Done */ - *p_port = &sport->base; - - return PJ_SUCCESS; -} - -static pj_status_t stereo_put_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct stereo_port *sport = (struct stereo_port*) this_port; - const pjmedia_audio_format_detail *s_afd, *dn_afd; - pjmedia_frame tmp_frame; - - /* Return if we don't have downstream port. */ - if (sport->dn_port == NULL) { - return PJ_SUCCESS; - } - - s_afd = pjmedia_format_get_audio_format_detail(&this_port->info.fmt, 1); - dn_afd = pjmedia_format_get_audio_format_detail(&sport->dn_port->info.fmt, - 1); - - if (frame->type == PJMEDIA_FRAME_TYPE_AUDIO) { - tmp_frame.buf = sport->put_buf; - if (dn_afd->channel_count == 1) { - pjmedia_convert_channel_nto1((pj_int16_t*)tmp_frame.buf, - (const pj_int16_t*)frame->buf, - s_afd->channel_count, - PJMEDIA_AFD_SPF(s_afd), - (sport->options & PJMEDIA_STEREO_MIX), - 0); - } else { - pjmedia_convert_channel_1ton((pj_int16_t*)tmp_frame.buf, - (const pj_int16_t*)frame->buf, - dn_afd->channel_count, - PJMEDIA_AFD_SPF(s_afd), - sport->options); - } - tmp_frame.size = PJMEDIA_AFD_AVG_FSZ(dn_afd); - } else { - tmp_frame.buf = frame->buf; - tmp_frame.size = frame->size; - } - - tmp_frame.type = frame->type; - tmp_frame.timestamp.u64 = frame->timestamp.u64; - - return pjmedia_port_put_frame( sport->dn_port, &tmp_frame ); -} - - - -static pj_status_t stereo_get_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct stereo_port *sport = (struct stereo_port*) this_port; - const pjmedia_audio_format_detail *s_afd, *dn_afd; - pjmedia_frame tmp_frame; - pj_status_t status; - - /* Return silence if we don't have downstream port */ - if (sport->dn_port == NULL) { - pj_bzero(frame->buf, frame->size); - return PJ_SUCCESS; - } - - s_afd = pjmedia_format_get_audio_format_detail(&this_port->info.fmt, 1); - dn_afd = pjmedia_format_get_audio_format_detail(&sport->dn_port->info.fmt, - 1); - - tmp_frame.buf = sport->get_buf? sport->get_buf : frame->buf; - tmp_frame.size = PJMEDIA_PIA_AVG_FSZ(&sport->dn_port->info); - tmp_frame.timestamp.u64 = frame->timestamp.u64; - tmp_frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - - status = pjmedia_port_get_frame( sport->dn_port, &tmp_frame); - if (status != PJ_SUCCESS) - return status; - - if (tmp_frame.type != PJMEDIA_FRAME_TYPE_AUDIO) { - frame->type = tmp_frame.type; - frame->timestamp = tmp_frame.timestamp; - frame->size = tmp_frame.size; - if (tmp_frame.size && tmp_frame.buf == sport->get_buf) - pj_memcpy(frame->buf, tmp_frame.buf, tmp_frame.size); - return PJ_SUCCESS; - } - - if (s_afd->channel_count == 1) { - pjmedia_convert_channel_nto1((pj_int16_t*)frame->buf, - (const pj_int16_t*)tmp_frame.buf, - dn_afd->channel_count, - PJMEDIA_AFD_SPF(s_afd), - (sport->options & PJMEDIA_STEREO_MIX), 0); - } else { - pjmedia_convert_channel_1ton((pj_int16_t*)frame->buf, - (const pj_int16_t*)tmp_frame.buf, - s_afd->channel_count, - PJMEDIA_AFD_SPF(dn_afd), - sport->options); - } - - frame->size = PJMEDIA_AFD_AVG_FSZ(s_afd); - frame->type = PJMEDIA_FRAME_TYPE_AUDIO; - - return PJ_SUCCESS; -} - - -static pj_status_t stereo_destroy(pjmedia_port *this_port) -{ - struct stereo_port *sport = (struct stereo_port*) this_port; - - if ((sport->options & PJMEDIA_STEREO_DONT_DESTROY_DN)==0) { - pjmedia_port_destroy(sport->dn_port); - sport->dn_port = NULL; - } - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/stream.c b/res/pjproject/pjmedia/src/pjmedia/stream.c deleted file mode 100644 index 0ab6b1fc5f..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/stream.c +++ /dev/null @@ -1,2803 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include /* memcpy() */ - - -#define THIS_FILE "stream.c" -#define ERRLEVEL 1 -#define LOGERR_(expr) stream_perror expr -#define TRC_(expr) PJ_LOG(5,expr) - -#define BYTES_PER_SAMPLE 2 - -/* Limit the number of synthetic audio samples that are generated by PLC. - * Normally PLC should have it's own means to limit the number of - * synthetic frames, so we need to set this to a reasonably large value - * just as precaution - */ -#define MAX_PLC_MSEC PJMEDIA_MAX_PLC_DURATION_MSEC - - -/* Tracing jitter buffer operations in a stream session to a CSV file. - * The trace will contain JB operation timestamp, frame info, RTP info, and - * the JB state right after the operation. - */ -#define TRACE_JB 0 /* Enable/disable trace. */ -#define TRACE_JB_PATH_PREFIX "" /* Optional path/prefix - for the CSV filename. */ -#if TRACE_JB -# include -# define TRACE_JB_INVALID_FD ((pj_oshandle_t)-1) -# define TRACE_JB_OPENED(s) (s->trace_jb_fd != TRACE_JB_INVALID_FD) -#endif - -#ifndef PJMEDIA_STREAM_SIZE -# define PJMEDIA_STREAM_SIZE 1000 -#endif - -#ifndef PJMEDIA_STREAM_INC -# define PJMEDIA_STREAM_INC 1000 -#endif - - -/** - * Media channel. - */ -struct pjmedia_channel -{ - pjmedia_stream *stream; /**< Parent stream. */ - pjmedia_dir dir; /**< Channel direction. */ - unsigned pt; /**< Payload type. */ - pj_bool_t paused; /**< Paused?. */ - unsigned out_pkt_size; /**< Size of output buffer. */ - void *out_pkt; /**< Output buffer. */ - unsigned out_pkt_len; /**< Length of data in buffer. */ - pjmedia_rtp_session rtp; /**< RTP session. */ -}; - - -struct dtmf -{ - int event; - pj_uint32_t duration; -}; - -/** - * This structure describes media stream. - * A media stream is bidirectional media transmission between two endpoints. - * It consists of two channels, i.e. encoding and decoding channels. - * A media stream corresponds to a single "m=" line in a SDP session - * description. - */ -struct pjmedia_stream -{ - pjmedia_endpt *endpt; /**< Media endpoint. */ - pjmedia_codec_mgr *codec_mgr; /**< Codec manager instance. */ - pjmedia_stream_info si; /**< Creation parameter. */ - pjmedia_port port; /**< Port interface. */ - pjmedia_channel *enc; /**< Encoding channel. */ - pjmedia_channel *dec; /**< Decoding channel. */ - - pj_pool_t *own_pool; /**< Only created if not given */ - - pjmedia_dir dir; /**< Stream direction. */ - void *user_data; /**< User data. */ - pj_str_t cname; /**< SDES CNAME */ - - pjmedia_transport *transport; /**< Stream transport. */ - - pjmedia_codec *codec; /**< Codec instance being used. */ - pjmedia_codec_param codec_param; /**< Codec param. */ - pj_int16_t *enc_buf; /**< Encoding buffer, when enc's - ptime is different than dec. - Otherwise it's NULL. */ - - unsigned enc_samples_per_pkt; - unsigned enc_buf_size; /**< Encoding buffer size, in - samples. */ - unsigned enc_buf_pos; /**< First position in buf. */ - unsigned enc_buf_count; /**< Number of samples in the - encoding buffer. */ - - unsigned plc_cnt; /**< # of consecutive PLC frames*/ - unsigned max_plc_cnt; /**< Max # of PLC frames */ - - unsigned vad_enabled; /**< VAD enabled in param. */ - unsigned frame_size; /**< Size of encoded base frame.*/ - pj_bool_t is_streaming; /**< Currently streaming?. This - is used to put RTP marker - bit. */ - pj_uint32_t ts_vad_disabled;/**< TS when VAD was disabled. */ - pj_uint32_t tx_duration; /**< TX duration in timestamp. */ - - pj_mutex_t *jb_mutex; - pjmedia_jbuf *jb; /**< Jitter buffer. */ - char jb_last_frm; /**< Last frame type from jb */ - unsigned jb_last_frm_cnt;/**< Last JB frame type counter*/ - - pjmedia_rtcp_session rtcp; /**< RTCP for incoming RTP. */ - - pj_uint32_t rtcp_last_tx; /**< RTCP tx time in timestamp */ - pj_uint32_t rtcp_interval; /**< Interval, in timestamp. */ - pj_bool_t initial_rr; /**< Initial RTCP RR sent */ - pj_bool_t rtcp_sdes_bye_disabled;/**< Send RTCP SDES/BYE?*/ - void *out_rtcp_pkt; /**< Outgoing RTCP packet. */ - unsigned out_rtcp_pkt_size; - /**< Outgoing RTCP packet size. */ - - /* RFC 2833 DTMF transmission queue: */ - int tx_event_pt; /**< Outgoing pt for dtmf. */ - int tx_dtmf_count; /**< # of digits in tx dtmf buf.*/ - struct dtmf tx_dtmf_buf[32];/**< Outgoing dtmf queue. */ - - /* Incoming DTMF: */ - int rx_event_pt; /**< Incoming pt for dtmf. */ - int last_dtmf; /**< Current digit, or -1. */ - pj_uint32_t last_dtmf_dur; /**< Start ts for cur digit. */ - unsigned rx_dtmf_count; /**< # of digits in dtmf rx buf.*/ - char rx_dtmf_buf[32];/**< Incoming DTMF buffer. */ - - /* DTMF callback */ - void (*dtmf_cb)(pjmedia_stream*, void*, int); - void *dtmf_cb_user_data; - -#if defined(PJMEDIA_HANDLE_G722_MPEG_BUG) && (PJMEDIA_HANDLE_G722_MPEG_BUG!=0) - /* Enable support to handle codecs with inconsistent clock rate - * between clock rate in SDP/RTP & the clock rate that is actually used. - * This happens for example with G.722 and MPEG audio codecs. - */ - pj_bool_t has_g722_mpeg_bug; - /**< Flag to specify whether - normalization process - is needed */ - unsigned rtp_tx_ts_len_per_pkt; - /**< Normalized ts length per packet - transmitted according to - 'erroneous' definition */ - unsigned rtp_rx_ts_len_per_frame; - /**< Normalized ts length per frame - received according to - 'erroneous' definition */ - unsigned rtp_rx_last_cnt;/**< Nb of frames in last pkt */ - unsigned rtp_rx_check_cnt; - /**< Counter of remote timestamp - checking */ -#endif - -#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) - pj_uint32_t rtcp_xr_last_tx; /**< RTCP XR tx time - in timestamp. */ - pj_uint32_t rtcp_xr_interval; /**< Interval, in timestamp. */ - pj_sockaddr rtcp_xr_dest; /**< Additional remote RTCP XR - dest. If sin_family is - zero, it will be ignored*/ - unsigned rtcp_xr_dest_len; /**< Length of RTCP XR dest - address */ -#endif - -#if defined(PJMEDIA_STREAM_ENABLE_KA) && PJMEDIA_STREAM_ENABLE_KA!=0 - pj_bool_t use_ka; /**< Stream keep-alive with non- - codec-VAD mechanism is - enabled? */ - pj_timestamp last_frm_ts_sent; /**< Timestamp of last sending - packet */ -#endif - -#if TRACE_JB - pj_oshandle_t trace_jb_fd; /**< Jitter tracing file handle.*/ - char *trace_jb_buf; /**< Jitter tracing buffer. */ -#endif - - pj_uint32_t rtp_rx_last_ts; /**< Last received RTP timestamp*/ -}; - - -/* RFC 2833 digit */ -static const char digitmap[16] = { '0', '1', '2', '3', - '4', '5', '6', '7', - '8', '9', '*', '#', - 'A', 'B', 'C', 'D'}; - -/* Zero audio frame samples */ -static pj_int16_t zero_frame[2 * 30 * 16000 / 1000]; - -/* - * Print error. - */ -static void stream_perror(const char *sender, const char *title, - pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(4,(sender, "%s: %s [err:%d]", title, errmsg, status)); -} - - -static pj_status_t send_rtcp(pjmedia_stream *stream, - pj_bool_t with_sdes, - pj_bool_t with_bye, - pj_bool_t with_xr); - - -#if TRACE_JB - -PJ_INLINE(int) trace_jb_print_timestamp(char **buf, pj_ssize_t len) -{ - pj_time_val now; - pj_parsed_time ptime; - char *p = *buf; - - if (len < 14) - return -1; - - pj_gettimeofday(&now); - pj_time_decode(&now, &ptime); - p += pj_utoa_pad(ptime.hour, p, 2, '0'); - *p++ = ':'; - p += pj_utoa_pad(ptime.min, p, 2, '0'); - *p++ = ':'; - p += pj_utoa_pad(ptime.sec, p, 2, '0'); - *p++ = '.'; - p += pj_utoa_pad(ptime.msec, p, 3, '0'); - *p++ = ','; - - *buf = p; - - return 0; -} - -PJ_INLINE(int) trace_jb_print_state(pjmedia_stream *stream, - char **buf, pj_ssize_t len) -{ - char *p = *buf; - char *endp = *buf + len; - pjmedia_jb_state state; - - pjmedia_jbuf_get_state(stream->jb, &state); - - len = pj_ansi_snprintf(p, endp-p, "%d, %d, %d", - state.size, state.burst, state.prefetch); - if ((len < 0) || (len >= endp-p)) - return -1; - - p += len; - *buf = p; - return 0; -} - -static void trace_jb_get(pjmedia_stream *stream, pjmedia_jb_frame_type ft, - pj_size_t fsize) -{ - char *p = stream->trace_jb_buf; - char *endp = stream->trace_jb_buf + PJ_LOG_MAX_SIZE; - pj_ssize_t len = 0; - const char* ft_st; - - if (!TRACE_JB_OPENED(stream)) - return; - - /* Print timestamp. */ - if (trace_jb_print_timestamp(&p, endp-p)) - goto on_insuff_buffer; - - /* Print frame type and size */ - switch(ft) { - case PJMEDIA_JB_MISSING_FRAME: - ft_st = "missing"; - break; - case PJMEDIA_JB_NORMAL_FRAME: - ft_st = "normal"; - break; - case PJMEDIA_JB_ZERO_PREFETCH_FRAME: - ft_st = "prefetch"; - break; - case PJMEDIA_JB_ZERO_EMPTY_FRAME: - ft_st = "empty"; - break; - default: - ft_st = "unknown"; - break; - } - - /* Print operation, size, frame count, frame type */ - len = pj_ansi_snprintf(p, endp-p, "GET,%d,1,%s,,,,", fsize, ft_st); - if ((len < 0) || (len >= endp-p)) - goto on_insuff_buffer; - p += len; - - /* Print JB state */ - if (trace_jb_print_state(stream, &p, endp-p)) - goto on_insuff_buffer; - - /* Print end of line */ - if (endp-p < 2) - goto on_insuff_buffer; - *p++ = '\n'; - - /* Write and flush */ - len = p - stream->trace_jb_buf; - pj_file_write(stream->trace_jb_fd, stream->trace_jb_buf, &len); - pj_file_flush(stream->trace_jb_fd); - return; - -on_insuff_buffer: - pj_assert(!"Trace buffer too small, check PJ_LOG_MAX_SIZE!"); -} - -static void trace_jb_put(pjmedia_stream *stream, const pjmedia_rtp_hdr *hdr, - unsigned payloadlen, unsigned frame_cnt) -{ - char *p = stream->trace_jb_buf; - char *endp = stream->trace_jb_buf + PJ_LOG_MAX_SIZE; - pj_ssize_t len = 0; - - if (!TRACE_JB_OPENED(stream)) - return; - - /* Print timestamp. */ - if (trace_jb_print_timestamp(&p, endp-p)) - goto on_insuff_buffer; - - /* Print operation, size, frame count, RTP info */ - len = pj_ansi_snprintf(p, endp-p, - "PUT,%d,%d,,%d,%d,%d,", - payloadlen, frame_cnt, - pj_ntohs(hdr->seq), pj_ntohl(hdr->ts), hdr->m); - if ((len < 0) || (len >= endp-p)) - goto on_insuff_buffer; - p += len; - - /* Print JB state */ - if (trace_jb_print_state(stream, &p, endp-p)) - goto on_insuff_buffer; - - /* Print end of line */ - if (endp-p < 2) - goto on_insuff_buffer; - *p++ = '\n'; - - /* Write and flush */ - len = p - stream->trace_jb_buf; - pj_file_write(stream->trace_jb_fd, stream->trace_jb_buf, &len); - pj_file_flush(stream->trace_jb_fd); - return; - -on_insuff_buffer: - pj_assert(!"Trace buffer too small, check PJ_LOG_MAX_SIZE!"); -} - -#endif /* TRACE_JB */ - - -#if defined(PJMEDIA_STREAM_ENABLE_KA) && PJMEDIA_STREAM_ENABLE_KA != 0 -/* - * Send keep-alive packet using non-codec frame. - */ -static void send_keep_alive_packet(pjmedia_stream *stream) -{ -#if PJMEDIA_STREAM_ENABLE_KA == PJMEDIA_STREAM_KA_EMPTY_RTP - - /* Keep-alive packet is empty RTP */ - pj_status_t status; - void *pkt; - int pkt_len; - - TRC_((stream->port.info.name.ptr, - "Sending keep-alive (RTCP and empty RTP)")); - - /* Send RTP */ - status = pjmedia_rtp_encode_rtp( &stream->enc->rtp, - stream->enc->pt, 0, - 1, - 0, - (const void**)&pkt, - &pkt_len); - pj_assert(status == PJ_SUCCESS); - - pj_memcpy(stream->enc->out_pkt, pkt, pkt_len); - pjmedia_transport_send_rtp(stream->transport, stream->enc->out_pkt, - pkt_len); - - /* Send RTCP */ - send_rtcp(stream, PJ_TRUE, PJ_FALSE, PJ_FALSE); - -#elif PJMEDIA_STREAM_ENABLE_KA == PJMEDIA_STREAM_KA_USER - - /* Keep-alive packet is defined in PJMEDIA_STREAM_KA_USER_PKT */ - int pkt_len; - const pj_str_t str_ka = PJMEDIA_STREAM_KA_USER_PKT; - - TRC_((stream->port.info.name.ptr, - "Sending keep-alive (custom RTP/RTCP packets)")); - - /* Send to RTP port */ - pj_memcpy(stream->enc->out_pkt, str_ka.ptr, str_ka.slen); - pkt_len = str_ka.slen; - pjmedia_transport_send_rtp(stream->transport, stream->enc->out_pkt, - pkt_len); - - /* Send to RTCP port */ - pjmedia_transport_send_rtcp(stream->transport, stream->enc->out_pkt, - pkt_len); - -#else - - PJ_UNUSED_ARG(stream); - -#endif -} -#endif /* defined(PJMEDIA_STREAM_ENABLE_KA) */ - -/* - * play_callback() - * - * This callback is called by sound device's player thread when it - * needs to feed the player with some frames. - */ -static pj_status_t get_frame( pjmedia_port *port, pjmedia_frame *frame) -{ - pjmedia_stream *stream = (pjmedia_stream*) port->port_data.pdata; - pjmedia_channel *channel = stream->dec; - unsigned samples_count, samples_per_frame, samples_required; - pj_int16_t *p_out_samp; - pj_status_t status; - - - /* Return no frame is channel is paused */ - if (channel->paused) { - frame->type = PJMEDIA_FRAME_TYPE_NONE; - return PJ_SUCCESS; - } - - /* Repeat get frame from the jitter buffer and decode the frame - * until we have enough frames according to codec's ptime. - */ - - /* Lock jitter buffer mutex first */ - pj_mutex_lock( stream->jb_mutex ); - - samples_required = PJMEDIA_PIA_SPF(&stream->port.info); - samples_per_frame = stream->codec_param.info.frm_ptime * - stream->codec_param.info.clock_rate * - stream->codec_param.info.channel_cnt / - 1000; - p_out_samp = (pj_int16_t*) frame->buf; - - for (samples_count=0; samples_count < samples_required; - samples_count += samples_per_frame) - { - char frame_type; - pj_size_t frame_size; - pj_uint32_t bit_info; - - /* Get frame from jitter buffer. */ - pjmedia_jbuf_get_frame2(stream->jb, channel->out_pkt, &frame_size, - &frame_type, &bit_info); - -#if TRACE_JB - trace_jb_get(stream, frame_type, frame_size); -#endif - - if (frame_type == PJMEDIA_JB_MISSING_FRAME) { - - /* Activate PLC */ - if (stream->codec->op->recover && - stream->codec_param.setting.plc && - stream->plc_cnt < stream->max_plc_cnt) - { - pjmedia_frame frame_out; - - frame_out.buf = p_out_samp + samples_count; - frame_out.size = frame->size - samples_count*2; - status = pjmedia_codec_recover(stream->codec, - frame_out.size, - &frame_out); - - ++stream->plc_cnt; - - } else { - status = -1; - } - - if (status != PJ_SUCCESS) { - /* Either PLC failed or PLC not supported/enabled */ - pjmedia_zero_samples(p_out_samp + samples_count, - samples_required - samples_count); - } - - if (frame_type != stream->jb_last_frm) { - /* Report changing frame type event */ - PJ_LOG(5,(stream->port.info.name.ptr, "Frame lost%s!", - (status == PJ_SUCCESS? ", recovered":""))); - - stream->jb_last_frm = frame_type; - stream->jb_last_frm_cnt = 1; - } else { - stream->jb_last_frm_cnt++; - } - - } else if (frame_type == PJMEDIA_JB_ZERO_EMPTY_FRAME) { - - const char *with_plc = ""; - - /* Jitter buffer is empty. If this is the first "empty" state, - * activate PLC to smoothen the fade-out, otherwise zero - * the frame. - */ - //Using this "if" will only invoke PLC for the first packet - //lost and not the subsequent ones. - //if (frame_type != stream->jb_last_frm) { - if (1) { - /* Activate PLC to smoothen the missing frame */ - if (stream->codec->op->recover && - stream->codec_param.setting.plc && - stream->plc_cnt < stream->max_plc_cnt) - { - pjmedia_frame frame_out; - - do { - frame_out.buf = p_out_samp + samples_count; - frame_out.size = frame->size - samples_count*2; - status = pjmedia_codec_recover(stream->codec, - frame_out.size, - &frame_out); - if (status != PJ_SUCCESS) - break; - - samples_count += samples_per_frame; - ++stream->plc_cnt; - - } while (samples_count < samples_required && - stream->plc_cnt < stream->max_plc_cnt); - - with_plc = ", plc invoked"; - } - } - - if (samples_count < samples_required) { - pjmedia_zero_samples(p_out_samp + samples_count, - samples_required - samples_count); - samples_count = samples_required; - } - - if (stream->jb_last_frm != frame_type) { - pjmedia_jb_state jb_state; - - /* Report changing frame type event */ - pjmedia_jbuf_get_state(stream->jb, &jb_state); - PJ_LOG(5,(stream->port.info.name.ptr, - "Jitter buffer empty (prefetch=%d)%s", - jb_state.prefetch, with_plc)); - - stream->jb_last_frm = frame_type; - stream->jb_last_frm_cnt = 1; - } else { - stream->jb_last_frm_cnt++; - } - break; - - } else if (frame_type != PJMEDIA_JB_NORMAL_FRAME) { - - const char *with_plc = ""; - - /* It can only be PJMEDIA_JB_ZERO_PREFETCH frame */ - pj_assert(frame_type == PJMEDIA_JB_ZERO_PREFETCH_FRAME); - - /* Always activate PLC when it's available.. */ - if (stream->codec->op->recover && - stream->codec_param.setting.plc && - stream->plc_cnt < stream->max_plc_cnt) - { - pjmedia_frame frame_out; - - do { - frame_out.buf = p_out_samp + samples_count; - frame_out.size = frame->size - samples_count*2; - status = pjmedia_codec_recover(stream->codec, - frame_out.size, - &frame_out); - if (status != PJ_SUCCESS) - break; - samples_count += samples_per_frame; - - ++stream->plc_cnt; - - } while (samples_count < samples_required && - stream->plc_cnt < stream->max_plc_cnt); - - with_plc = ", plc invoked"; - } - - if (samples_count < samples_required) { - pjmedia_zero_samples(p_out_samp + samples_count, - samples_required - samples_count); - samples_count = samples_required; - } - - if (stream->jb_last_frm != frame_type) { - pjmedia_jb_state jb_state; - - /* Report changing frame type event */ - pjmedia_jbuf_get_state(stream->jb, &jb_state); - PJ_LOG(5,(stream->port.info.name.ptr, - "Jitter buffer is bufferring (prefetch=%d)%s", - jb_state.prefetch, with_plc)); - - stream->jb_last_frm = frame_type; - stream->jb_last_frm_cnt = 1; - } else { - stream->jb_last_frm_cnt++; - } - break; - - } else { - /* Got "NORMAL" frame from jitter buffer */ - pjmedia_frame frame_in, frame_out; - - stream->plc_cnt = 0; - - /* Decode */ - frame_in.buf = channel->out_pkt; - frame_in.size = frame_size; - frame_in.bit_info = bit_info; - frame_in.type = PJMEDIA_FRAME_TYPE_AUDIO; /* ignored */ - - frame_out.buf = p_out_samp + samples_count; - frame_out.size = frame->size - samples_count*BYTES_PER_SAMPLE; - status = pjmedia_codec_decode( stream->codec, &frame_in, - frame_out.size, &frame_out); - if (status != 0) { - LOGERR_((port->info.name.ptr, "codec decode() error", - status)); - - pjmedia_zero_samples(p_out_samp + samples_count, - samples_per_frame); - } - - if (stream->jb_last_frm != frame_type) { - /* Report changing frame type event */ - PJ_LOG(5,(stream->port.info.name.ptr, - "Jitter buffer starts returning normal frames " - "(after %d empty/lost)", - stream->jb_last_frm_cnt, stream->jb_last_frm)); - - stream->jb_last_frm = frame_type; - stream->jb_last_frm_cnt = 1; - } else { - stream->jb_last_frm_cnt++; - } - } - } - - - /* Unlock jitter buffer mutex. */ - pj_mutex_unlock( stream->jb_mutex ); - - /* Return PJMEDIA_FRAME_TYPE_NONE if we have no frames at all - * (it can happen when jitter buffer returns PJMEDIA_JB_ZERO_EMPTY_FRAME). - */ - if (samples_count == 0) { - frame->type = PJMEDIA_FRAME_TYPE_NONE; - frame->size = 0; - } else { - frame->type = PJMEDIA_FRAME_TYPE_AUDIO; - frame->size = samples_count * BYTES_PER_SAMPLE; - frame->timestamp.u64 = 0; - } - - return PJ_SUCCESS; -} - - -/* The other version of get_frame callback used when stream port format - * is non linear PCM. - */ -static pj_status_t get_frame_ext( pjmedia_port *port, pjmedia_frame *frame) -{ - pjmedia_stream *stream = (pjmedia_stream*) port->port_data.pdata; - pjmedia_channel *channel = stream->dec; - pjmedia_frame_ext *f = (pjmedia_frame_ext*)frame; - unsigned samples_per_frame, samples_required; - pj_status_t status; - - /* Return no frame if channel is paused */ - if (channel->paused) { - frame->type = PJMEDIA_FRAME_TYPE_NONE; - return PJ_SUCCESS; - } - - /* Repeat get frame from the jitter buffer and decode the frame - * until we have enough frames according to codec's ptime. - */ - - samples_required = PJMEDIA_PIA_SPF(&stream->port.info); - samples_per_frame = stream->codec_param.info.frm_ptime * - stream->codec_param.info.clock_rate * - stream->codec_param.info.channel_cnt / - 1000; - - pj_bzero(f, sizeof(pjmedia_frame_ext)); - f->base.type = PJMEDIA_FRAME_TYPE_EXTENDED; - - while (f->samples_cnt < samples_required) { - char frame_type; - pj_size_t frame_size; - pj_uint32_t bit_info; - - /* Lock jitter buffer mutex first */ - pj_mutex_lock( stream->jb_mutex ); - - /* Get frame from jitter buffer. */ - pjmedia_jbuf_get_frame2(stream->jb, channel->out_pkt, &frame_size, - &frame_type, &bit_info); - -#if TRACE_JB - trace_jb_get(stream, frame_type, frame_size); -#endif - - /* Unlock jitter buffer mutex. */ - pj_mutex_unlock( stream->jb_mutex ); - - if (frame_type == PJMEDIA_JB_NORMAL_FRAME) { - /* Got "NORMAL" frame from jitter buffer */ - pjmedia_frame frame_in; - - /* Decode */ - frame_in.buf = channel->out_pkt; - frame_in.size = frame_size; - frame_in.bit_info = bit_info; - frame_in.type = PJMEDIA_FRAME_TYPE_AUDIO; - - status = pjmedia_codec_decode( stream->codec, &frame_in, - 0, frame); - if (status != PJ_SUCCESS) { - LOGERR_((port->info.name.ptr, "codec decode() error", - status)); - pjmedia_frame_ext_append_subframe(f, NULL, 0, - (pj_uint16_t)samples_per_frame); - } - - if (stream->jb_last_frm != frame_type) { - /* Report changing frame type event */ - PJ_LOG(5,(stream->port.info.name.ptr, - "Jitter buffer starts returning normal frames " - "(after %d empty/lost)", - stream->jb_last_frm_cnt, stream->jb_last_frm)); - - stream->jb_last_frm = frame_type; - stream->jb_last_frm_cnt = 1; - } else { - stream->jb_last_frm_cnt++; - } - - } else { - - /* Try to generate frame by invoking PLC (when any) */ - status = PJ_SUCCESS; - if (stream->codec->op->recover) { - status = pjmedia_codec_recover(stream->codec, 0, frame); - } - - /* No PLC or PLC failed */ - if (!stream->codec->op->recover || status != PJ_SUCCESS) { - pjmedia_frame_ext_append_subframe(f, NULL, 0, - (pj_uint16_t)samples_per_frame); - } - - if (frame_type == PJMEDIA_JB_MISSING_FRAME) { - if (frame_type != stream->jb_last_frm) { - /* Report changing frame type event */ - PJ_LOG(5,(stream->port.info.name.ptr, "Frame lost!")); - - stream->jb_last_frm = frame_type; - stream->jb_last_frm_cnt = 1; - } else { - stream->jb_last_frm_cnt++; - } - } else if (frame_type == PJMEDIA_JB_ZERO_EMPTY_FRAME) { - if (frame_type != stream->jb_last_frm) { - pjmedia_jb_state jb_state; - - /* Report changing frame type event */ - pjmedia_jbuf_get_state(stream->jb, &jb_state); - PJ_LOG(5,(stream->port.info.name.ptr, - "Jitter buffer empty (prefetch=%d)", - jb_state.prefetch)); - - stream->jb_last_frm = frame_type; - stream->jb_last_frm_cnt = 1; - } else { - stream->jb_last_frm_cnt++; - } - } else { - - /* It can only be PJMEDIA_JB_ZERO_PREFETCH frame */ - pj_assert(frame_type == PJMEDIA_JB_ZERO_PREFETCH_FRAME); - - if (stream->jb_last_frm != frame_type) { - pjmedia_jb_state jb_state; - - /* Report changing frame type event */ - pjmedia_jbuf_get_state(stream->jb, &jb_state); - PJ_LOG(5,(stream->port.info.name.ptr, - "Jitter buffer is bufferring (prefetch=%d)", - jb_state.prefetch)); - - stream->jb_last_frm = frame_type; - stream->jb_last_frm_cnt = 1; - } else { - stream->jb_last_frm_cnt++; - } - } - } - } - - return PJ_SUCCESS; -} - - -/* - * Transmit DTMF - */ -static void create_dtmf_payload(pjmedia_stream *stream, - struct pjmedia_frame *frame_out, - int *first, int *last) -{ - pjmedia_rtp_dtmf_event *event; - struct dtmf *digit = &stream->tx_dtmf_buf[0]; - pj_uint32_t cur_ts; - - pj_assert(sizeof(pjmedia_rtp_dtmf_event) == 4); - - *first = *last = 0; - - event = (pjmedia_rtp_dtmf_event*) frame_out->buf; - cur_ts = pj_ntohl(stream->enc->rtp.out_hdr.ts); - - if (digit->duration == 0) { - PJ_LOG(5,(stream->port.info.name.ptr, "Sending DTMF digit id %c", - digitmap[digit->event])); - *first = 1; - } - - digit->duration += PJMEDIA_PIA_SPF(&stream->port.info); - - event->event = (pj_uint8_t)digit->event; - event->e_vol = 10; - event->duration = pj_htons((pj_uint16_t)digit->duration); - - - if (digit->duration >= PJMEDIA_DTMF_DURATION) { - - event->e_vol |= 0x80; - *last = 1; - - /* Prepare next digit. */ - pj_mutex_lock(stream->jb_mutex); - - pj_array_erase(stream->tx_dtmf_buf, sizeof(stream->tx_dtmf_buf[0]), - stream->tx_dtmf_count, 0); - --stream->tx_dtmf_count; - - pj_mutex_unlock(stream->jb_mutex); - } - - frame_out->size = 4; -} - - -static pj_status_t send_rtcp(pjmedia_stream *stream, - pj_bool_t with_sdes, - pj_bool_t with_bye, - pj_bool_t with_xr) -{ - void *sr_rr_pkt; - pj_uint8_t *pkt; - int len, max_len; - pj_status_t status; - - /* Build RTCP RR/SR packet */ - pjmedia_rtcp_build_rtcp(&stream->rtcp, &sr_rr_pkt, &len); - -#if !defined(PJMEDIA_HAS_RTCP_XR) || (PJMEDIA_HAS_RTCP_XR == 0) - with_xr = PJ_FALSE; -#endif - - if (with_sdes || with_bye || with_xr) { - pkt = (pj_uint8_t*) stream->out_rtcp_pkt; - pj_memcpy(pkt, sr_rr_pkt, len); - max_len = stream->out_rtcp_pkt_size; - } else { - pkt = (pj_uint8_t*)sr_rr_pkt; - max_len = len; - } - - /* Build RTCP SDES packet */ - if (with_sdes) { - pjmedia_rtcp_sdes sdes; - pj_size_t sdes_len; - - pj_bzero(&sdes, sizeof(sdes)); - sdes.cname = stream->cname; - sdes_len = max_len - len; - status = pjmedia_rtcp_build_rtcp_sdes(&stream->rtcp, pkt+len, - &sdes_len, &sdes); - if (status != PJ_SUCCESS) { - PJ_PERROR(4,(stream->port.info.name.ptr, status, - "Error generating RTCP SDES")); - } else { - len += (int)sdes_len; - } - } - - /* Build RTCP XR packet */ -#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) - if (with_xr) { - int i; - pjmedia_jb_state jb_state; - void *xr_pkt; - int xr_len; - - /* Update RTCP XR with current JB states */ - pjmedia_jbuf_get_state(stream->jb, &jb_state); - - i = jb_state.avg_delay; - status = pjmedia_rtcp_xr_update_info(&stream->rtcp.xr_session, - PJMEDIA_RTCP_XR_INFO_JB_NOM, i); - pj_assert(status == PJ_SUCCESS); - - i = jb_state.max_delay; - status = pjmedia_rtcp_xr_update_info(&stream->rtcp.xr_session, - PJMEDIA_RTCP_XR_INFO_JB_MAX, i); - pj_assert(status == PJ_SUCCESS); - - pjmedia_rtcp_build_rtcp_xr(&stream->rtcp.xr_session, 0, - &xr_pkt, &xr_len); - - if (xr_len + len <= max_len) { - pj_memcpy(pkt+len, xr_pkt, xr_len); - len += xr_len; - - /* Send the RTCP XR to third-party destination if specified */ - if (stream->rtcp_xr_dest_len) { - pjmedia_transport_send_rtcp2(stream->transport, - &stream->rtcp_xr_dest, - stream->rtcp_xr_dest_len, - xr_pkt, xr_len); - } - - } else { - PJ_PERROR(4,(stream->port.info.name.ptr, PJ_ETOOBIG, - "Error generating RTCP-XR")); - } - } -#endif - - /* Build RTCP BYE packet */ - if (with_bye) { - pj_size_t bye_len; - - bye_len = max_len - len; - status = pjmedia_rtcp_build_rtcp_bye(&stream->rtcp, pkt+len, - &bye_len, NULL); - if (status != PJ_SUCCESS) { - PJ_PERROR(4,(stream->port.info.name.ptr, status, - "Error generating RTCP BYE")); - } else { - len += (int)bye_len; - } - } - - /* Send! */ - status = pjmedia_transport_send_rtcp(stream->transport, pkt, len); - - return status; -} - -/** - * check_tx_rtcp() - * - * This function is can be called by either put_frame() or get_frame(), - * to transmit periodic RTCP SR/RR report. - */ -static void check_tx_rtcp(pjmedia_stream *stream, pj_uint32_t timestamp) -{ - /* Note that timestamp may represent local or remote timestamp, - * depending on whether this function is called from put_frame() - * or get_frame(). - */ - - if (stream->rtcp_last_tx == 0) { - - stream->rtcp_last_tx = timestamp; - - } else if (timestamp - stream->rtcp_last_tx >= stream->rtcp_interval) { - pj_bool_t with_xr = PJ_FALSE; - pj_status_t status; - -#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) - if (stream->rtcp.xr_enabled) { - if (stream->rtcp_xr_last_tx == 0) { - stream->rtcp_xr_last_tx = timestamp; - } else if (timestamp - stream->rtcp_xr_last_tx >= - stream->rtcp_xr_interval) - { - with_xr = PJ_TRUE; - - /* Update last tx RTCP XR */ - stream->rtcp_xr_last_tx = timestamp; - } - } -#endif - - status = send_rtcp(stream, !stream->rtcp_sdes_bye_disabled, PJ_FALSE, - with_xr); - if (status != PJ_SUCCESS) { - PJ_PERROR(4,(stream->port.info.name.ptr, status, - "Error sending RTCP")); - } - - stream->rtcp_last_tx = timestamp; - } -} - - -/** - * Rebuffer the frame when encoder and decoder has different ptime - * (such as when different iLBC modes are used by local and remote) - */ -static void rebuffer(pjmedia_stream *stream, - pjmedia_frame *frame) -{ - /* How many samples are needed */ - unsigned count; - - /* Normalize frame */ - if (frame->type != PJMEDIA_FRAME_TYPE_AUDIO) - frame->size = 0; - - /* Remove used frame from the buffer. */ - if (stream->enc_buf_pos) { - if (stream->enc_buf_count) { - pj_memmove(stream->enc_buf, - stream->enc_buf + stream->enc_buf_pos, - (stream->enc_buf_count << 1)); - } - stream->enc_buf_pos = 0; - } - - /* Make sure we have space to store the new frame */ - pj_assert(stream->enc_buf_count + (frame->size >> 1) < - stream->enc_buf_size); - - /* Append new frame to the buffer */ - if (frame->size) { - /* Handle case when there is no port transmitting to this port */ - if (frame->buf) { - pj_memcpy(stream->enc_buf + stream->enc_buf_count, - frame->buf, frame->size); - } else { - pj_bzero(stream->enc_buf + stream->enc_buf_count, frame->size); - } - stream->enc_buf_count += (frame->size >> 1); - } - - /* How many samples are needed */ - count = stream->codec_param.info.enc_ptime * - PJMEDIA_PIA_SRATE(&stream->port.info) / 1000; - - /* See if we have enough samples */ - if (stream->enc_buf_count >= count) { - - frame->type = PJMEDIA_FRAME_TYPE_AUDIO; - frame->buf = stream->enc_buf; - frame->size = (count << 1); - - stream->enc_buf_pos = count; - stream->enc_buf_count -= count; - - } else { - /* We don't have enough samples */ - frame->type = PJMEDIA_FRAME_TYPE_NONE; - } -} - - -/** - * put_frame_imp() - */ -static pj_status_t put_frame_imp( pjmedia_port *port, - pjmedia_frame *frame ) -{ - pjmedia_stream *stream = (pjmedia_stream*) port->port_data.pdata; - pjmedia_channel *channel = stream->enc; - pj_status_t status = 0; - pjmedia_frame frame_out; - unsigned ts_len, rtp_ts_len, samples_per_frame; - void *rtphdr; - int rtphdrlen; - int inc_timestamp = 0; - - -#if defined(PJMEDIA_STREAM_ENABLE_KA) && PJMEDIA_STREAM_ENABLE_KA != 0 - /* If the interval since last sending packet is greater than - * PJMEDIA_STREAM_KA_INTERVAL, send keep-alive packet. - */ - if (stream->use_ka) - { - pj_uint32_t dtx_duration; - - dtx_duration = pj_timestamp_diff32(&stream->last_frm_ts_sent, - &frame->timestamp); - if (dtx_duration > - PJMEDIA_STREAM_KA_INTERVAL * PJMEDIA_PIA_SRATE(&stream->port.info)) - { - send_keep_alive_packet(stream); - stream->last_frm_ts_sent = frame->timestamp; - } - } -#endif - - /* Don't do anything if stream is paused */ - if (channel->paused) { - stream->enc_buf_pos = stream->enc_buf_count = 0; - return PJ_SUCCESS; - } - - /* Number of samples in the frame */ - if (frame->type == PJMEDIA_FRAME_TYPE_AUDIO) - ts_len = (frame->size >> 1) / stream->codec_param.info.channel_cnt; - else if (frame->type == PJMEDIA_FRAME_TYPE_EXTENDED) - ts_len = PJMEDIA_PIA_SPF(&stream->port.info) / - PJMEDIA_PIA_CCNT(&stream->port.info); - else - ts_len = 0; - - /* Increment transmit duration */ - stream->tx_duration += ts_len; - -#if defined(PJMEDIA_HANDLE_G722_MPEG_BUG) && (PJMEDIA_HANDLE_G722_MPEG_BUG!=0) - /* Handle special case for audio codec with RTP timestamp inconsistence - * e.g: G722, MPEG audio. - */ - if (stream->has_g722_mpeg_bug) - rtp_ts_len = stream->rtp_tx_ts_len_per_pkt; - else - rtp_ts_len = ts_len; -#else - rtp_ts_len = ts_len; -#endif - - /* Init frame_out buffer. */ - frame_out.buf = ((char*)channel->out_pkt) + sizeof(pjmedia_rtp_hdr); - frame_out.size = 0; - - /* Calculate number of samples per frame */ - samples_per_frame = stream->enc_samples_per_pkt; - - - /* If we have DTMF digits in the queue, transmit the digits. - * Otherwise encode the PCM buffer. - */ - if (stream->tx_dtmf_count) { - int first=0, last=0; - - create_dtmf_payload(stream, &frame_out, &first, &last); - - /* Encapsulate into RTP packet. Note that: - * - RTP marker should be set on the beginning of a new event - * - RTP timestamp is constant for the same packet. - */ - status = pjmedia_rtp_encode_rtp( &channel->rtp, - stream->tx_event_pt, first, - frame_out.size, - (first ? rtp_ts_len : 0), - (const void**)&rtphdr, - &rtphdrlen); - - if (last) { - /* This is the last packet for the event. - * Increment the RTP timestamp of the RTP session, for next - * RTP packets. - */ - inc_timestamp = PJMEDIA_DTMF_DURATION - rtp_ts_len; - } - - - /* - * Special treatment for FRAME_TYPE_AUDIO but with frame->buf==NULL. - * This happens when stream input is disconnected from the bridge. - * In this case we periodically transmit RTP frame to keep NAT binding - * open, by giving zero PCM frame to the codec. - * - * This was originally done in http://trac.pjsip.org/repos/ticket/56, - * but then disabled in http://trac.pjsip.org/repos/ticket/439, but - * now it's enabled again. - */ - } else if (frame->type == PJMEDIA_FRAME_TYPE_AUDIO && - frame->buf == NULL && - stream->port.info.fmt.id == PJMEDIA_FORMAT_L16 && - (stream->dir & PJMEDIA_DIR_ENCODING) && - stream->codec_param.info.frm_ptime * - stream->codec_param.info.channel_cnt * - stream->codec_param.info.clock_rate/1000 < - PJ_ARRAY_SIZE(zero_frame)) - { - pjmedia_frame silence_frame; - - pj_bzero(&silence_frame, sizeof(silence_frame)); - silence_frame.buf = zero_frame; - silence_frame.size = stream->codec_param.info.frm_ptime * 2 * - stream->codec_param.info.channel_cnt * - stream->codec_param.info.clock_rate / 1000; - silence_frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - silence_frame.timestamp.u32.lo = pj_ntohl(stream->enc->rtp.out_hdr.ts); - - /* Encode! */ - status = pjmedia_codec_encode( stream->codec, &silence_frame, - channel->out_pkt_size - - sizeof(pjmedia_rtp_hdr), - &frame_out); - if (status != PJ_SUCCESS) { - LOGERR_((stream->port.info.name.ptr, - "Codec encode() error", status)); - return status; - } - - /* Encapsulate. */ - status = pjmedia_rtp_encode_rtp( &channel->rtp, - channel->pt, 0, - frame_out.size, rtp_ts_len, - (const void**)&rtphdr, - &rtphdrlen); - - - /* Encode audio frame */ - } else if ((frame->type == PJMEDIA_FRAME_TYPE_AUDIO && - frame->buf != NULL) || - (frame->type == PJMEDIA_FRAME_TYPE_EXTENDED)) - { - /* Encode! */ - status = pjmedia_codec_encode( stream->codec, frame, - channel->out_pkt_size - - sizeof(pjmedia_rtp_hdr), - &frame_out); - if (status != PJ_SUCCESS) { - LOGERR_((stream->port.info.name.ptr, - "Codec encode() error", status)); - return status; - } - - /* Encapsulate. */ - status = pjmedia_rtp_encode_rtp( &channel->rtp, - channel->pt, 0, - frame_out.size, rtp_ts_len, - (const void**)&rtphdr, - &rtphdrlen); - - } else { - - /* Just update RTP session's timestamp. */ - status = pjmedia_rtp_encode_rtp( &channel->rtp, - 0, 0, - 0, rtp_ts_len, - (const void**)&rtphdr, - &rtphdrlen); - - } - - if (status != PJ_SUCCESS) { - LOGERR_((stream->port.info.name.ptr, - "RTP encode_rtp() error", status)); - return status; - } - - /* Check if now is the time to transmit RTCP SR/RR report. - * We only do this when stream direction is not "decoding only", because - * when it is, check_tx_rtcp() will be handled by get_frame(). - */ - if (stream->dir != PJMEDIA_DIR_DECODING) { - check_tx_rtcp(stream, pj_ntohl(channel->rtp.out_hdr.ts)); - } - - /* Do nothing if we have nothing to transmit */ - if (frame_out.size == 0) { - if (stream->is_streaming) { - PJ_LOG(5,(stream->port.info.name.ptr,"Starting silence")); - stream->is_streaming = PJ_FALSE; - } - - return PJ_SUCCESS; - } - - - /* Copy RTP header to the beginning of packet */ - pj_memcpy(channel->out_pkt, rtphdr, sizeof(pjmedia_rtp_hdr)); - - /* Special case for DTMF: timestamp remains constant for - * the same event, and is only updated after a complete event - * has been transmitted. - */ - if (inc_timestamp) { - pjmedia_rtp_encode_rtp( &channel->rtp, stream->tx_event_pt, 0, - 0, inc_timestamp, NULL, NULL); - } - - /* Set RTP marker bit if currently not streaming */ - if (stream->is_streaming == PJ_FALSE) { - pjmedia_rtp_hdr *rtp = (pjmedia_rtp_hdr*) channel->out_pkt; - - rtp->m = 1; - PJ_LOG(5,(stream->port.info.name.ptr,"Start talksprut..")); - } - - stream->is_streaming = PJ_TRUE; - - /* Send the RTP packet to the transport. */ - status = pjmedia_transport_send_rtp(stream->transport, channel->out_pkt, - frame_out.size + - sizeof(pjmedia_rtp_hdr)); - if (status != PJ_SUCCESS) { - PJ_PERROR(4,(stream->port.info.name.ptr, status, - "Error sending RTP")); - } - - /* Update stat */ - pjmedia_rtcp_tx_rtp(&stream->rtcp, frame_out.size); - stream->rtcp.stat.rtp_tx_last_ts = pj_ntohl(stream->enc->rtp.out_hdr.ts); - stream->rtcp.stat.rtp_tx_last_seq = pj_ntohs(stream->enc->rtp.out_hdr.seq); - -#if defined(PJMEDIA_STREAM_ENABLE_KA) && PJMEDIA_STREAM_ENABLE_KA!=0 - /* Update timestamp of last sending packet. */ - stream->last_frm_ts_sent = frame->timestamp; -#endif - - return PJ_SUCCESS; -} - - -/** - * put_frame() - * - * This callback is called by upstream component when it has PCM frame - * to transmit. This function encodes the PCM frame, pack it into - * RTP packet, and transmit to peer. - */ -static pj_status_t put_frame( pjmedia_port *port, - pjmedia_frame *frame ) -{ - pjmedia_stream *stream = (pjmedia_stream*) port->port_data.pdata; - pjmedia_frame tmp_zero_frame; - unsigned samples_per_frame; - - samples_per_frame = stream->enc_samples_per_pkt; - - /* http://www.pjsip.org/trac/ticket/56: - * when input is PJMEDIA_FRAME_TYPE_NONE, feed zero PCM frame - * instead so that encoder can decide whether or not to transmit - * silence frame. - */ - if (frame->type == PJMEDIA_FRAME_TYPE_NONE) { - pj_memcpy(&tmp_zero_frame, frame, sizeof(pjmedia_frame)); - frame = &tmp_zero_frame; - - tmp_zero_frame.buf = NULL; - tmp_zero_frame.size = samples_per_frame * 2; - tmp_zero_frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - } - -#if 0 - // This is no longer needed because each TYPE_NONE frame will - // be converted into zero frame above - - /* If VAD is temporarily disabled during creation, feed zero PCM frame - * to the codec. - */ - if (stream->vad_enabled != stream->codec_param.setting.vad && - stream->vad_enabled != 0 && - frame->type == PJMEDIA_FRAME_TYPE_NONE && - samples_per_frame <= ZERO_PCM_MAX_SIZE) - { - pj_memcpy(&tmp_in_frame, frame, sizeof(pjmedia_frame)); - frame = &tmp_in_frame; - - tmp_in_frame.buf = NULL; - tmp_in_frame.size = samples_per_frame * 2; - tmp_in_frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - } -#endif - - /* If VAD is temporarily disabled during creation, enable it - * after transmitting for VAD_SUSPEND_SEC seconds. - */ - if (stream->vad_enabled != stream->codec_param.setting.vad && - (stream->tx_duration - stream->ts_vad_disabled) > - PJMEDIA_PIA_SRATE(&stream->port.info) * - PJMEDIA_STREAM_VAD_SUSPEND_MSEC / 1000) - { - stream->codec_param.setting.vad = stream->vad_enabled; - pjmedia_codec_modify(stream->codec, &stream->codec_param); - PJ_LOG(4,(stream->port.info.name.ptr,"VAD re-enabled")); - } - - - /* If encoder has different ptime than decoder, then the frame must - * be passed through the encoding buffer via rebuffer() function. - */ - if (stream->enc_buf != NULL) { - pjmedia_frame tmp_rebuffer_frame; - pj_status_t status = PJ_SUCCESS; - - /* Copy original frame to temporary frame since we need - * to modify it. - */ - pj_memcpy(&tmp_rebuffer_frame, frame, sizeof(pjmedia_frame)); - - /* Loop while we have full frame in enc_buffer */ - for (;;) { - pj_status_t st; - - /* Run rebuffer() */ - rebuffer(stream, &tmp_rebuffer_frame); - - /* Process this frame */ - st = put_frame_imp(port, &tmp_rebuffer_frame); - if (st != PJ_SUCCESS) - status = st; - - /* If we still have full frame in the buffer, re-run - * rebuffer() with NULL frame. - */ - if (stream->enc_buf_count >= stream->enc_samples_per_pkt) { - - tmp_rebuffer_frame.type = PJMEDIA_FRAME_TYPE_NONE; - - } else { - - /* Otherwise break */ - break; - } - } - - return status; - - } else { - return put_frame_imp(port, frame); - } -} - - -#if 0 -static void dump_bin(const char *buf, unsigned len) -{ - unsigned i; - - PJ_LOG(3,(THIS_FILE, "begin dump")); - for (i=0; ilast_dtmf != -1 && - event->event == stream->last_dtmf && - pj_ntohs(event->duration) >= stream->last_dtmf_dur) - { - /* Yes, this is the same event. */ - stream->last_dtmf_dur = pj_ntohs(event->duration); - return; - } - - /* Ignore unknown event. */ - if (event->event > 15) { - PJ_LOG(5,(stream->port.info.name.ptr, - "Ignored RTP pkt with bad DTMF event %d", - event->event)); - return; - } - - /* New event! */ - PJ_LOG(5,(stream->port.info.name.ptr, "Received DTMF digit %c, vol=%d", - digitmap[event->event], - (event->e_vol & 0x3F))); - - stream->last_dtmf = event->event; - stream->last_dtmf_dur = pj_ntohs(event->duration); - - /* If DTMF callback is installed, call the callback, otherwise keep - * the DTMF digits in the buffer. - */ - if (stream->dtmf_cb) { - - stream->dtmf_cb(stream, stream->dtmf_cb_user_data, - digitmap[event->event]); - - } else { - /* By convention, we use jitter buffer's mutex to access shared - * DTMF variables. - */ - pj_mutex_lock(stream->jb_mutex); - if (stream->rx_dtmf_count >= PJ_ARRAY_SIZE(stream->rx_dtmf_buf)) { - /* DTMF digits overflow. Discard the oldest digit. */ - pj_array_erase(stream->rx_dtmf_buf, - sizeof(stream->rx_dtmf_buf[0]), - stream->rx_dtmf_count, 0); - --stream->rx_dtmf_count; - } - stream->rx_dtmf_buf[stream->rx_dtmf_count++] = digitmap[event->event]; - pj_mutex_unlock(stream->jb_mutex); - } -} - - -/* - * This callback is called by stream transport on receipt of packets - * in the RTP socket. - */ -static void on_rx_rtp( void *data, - void *pkt, - pj_ssize_t bytes_read) - -{ - pjmedia_stream *stream = (pjmedia_stream*) data; - pjmedia_channel *channel = stream->dec; - const pjmedia_rtp_hdr *hdr; - const void *payload; - unsigned payloadlen; - pjmedia_rtp_status seq_st; - pj_status_t status; - pj_bool_t pkt_discarded = PJ_FALSE; - - /* Check for errors */ - if (bytes_read < 0) { - LOGERR_((stream->port.info.name.ptr, "RTP recv() error", -bytes_read)); - return; - } - - /* Ignore keep-alive packets */ - if (bytes_read < (pj_ssize_t) sizeof(pjmedia_rtp_hdr)) - return; - - /* Update RTP and RTCP session. */ - status = pjmedia_rtp_decode_rtp(&channel->rtp, pkt, bytes_read, - &hdr, &payload, &payloadlen); - if (status != PJ_SUCCESS) { - LOGERR_((stream->port.info.name.ptr, "RTP decode error", status)); - stream->rtcp.stat.rx.discard++; - return; - } - - /* Ignore the packet if decoder is paused */ - if (channel->paused) - goto on_return; - - /* Update RTP session (also checks if RTP session can accept - * the incoming packet. - */ - pjmedia_rtp_session_update2(&channel->rtp, hdr, &seq_st, - hdr->pt != stream->rx_event_pt); - if (seq_st.status.value) { - TRC_ ((stream->port.info.name.ptr, - "RTP status: badpt=%d, badssrc=%d, dup=%d, " - "outorder=%d, probation=%d, restart=%d", - seq_st.status.flag.badpt, - seq_st.status.flag.badssrc, - seq_st.status.flag.dup, - seq_st.status.flag.outorder, - seq_st.status.flag.probation, - seq_st.status.flag.restart)); - - if (seq_st.status.flag.badpt) { - PJ_LOG(4,(stream->port.info.name.ptr, - "Bad RTP pt %d (expecting %d)", - hdr->pt, channel->rtp.out_pt)); - } - - if (seq_st.status.flag.badssrc) { - PJ_LOG(4,(stream->port.info.name.ptr, - "Changed RTP peer SSRC %d (previously %d)", - channel->rtp.peer_ssrc, stream->rtcp.peer_ssrc)); - stream->rtcp.peer_ssrc = channel->rtp.peer_ssrc; - } - - - } - - /* Skip bad RTP packet */ - if (seq_st.status.flag.bad) { - pkt_discarded = PJ_TRUE; - goto on_return; - } - - /* Ignore if payloadlen is zero */ - if (payloadlen == 0) { - pkt_discarded = PJ_TRUE; - goto on_return; - } - - /* Handle incoming DTMF. */ - if (hdr->pt == stream->rx_event_pt) { - /* Ignore out-of-order packet as it will be detected as new - * digit. Also ignore duplicate packet as it serves no use. - */ - if (seq_st.status.flag.outorder || seq_st.status.flag.dup) { - goto on_return; - } - - handle_incoming_dtmf(stream, payload, payloadlen); - goto on_return; - } - - /* Put "good" packet to jitter buffer, or reset the jitter buffer - * when RTP session is restarted. - */ - pj_mutex_lock( stream->jb_mutex ); - if (seq_st.status.flag.restart) { - status = pjmedia_jbuf_reset(stream->jb); - PJ_LOG(4,(stream->port.info.name.ptr, "Jitter buffer reset")); - } else { - /* - * Packets may contain more than one frames, while the jitter - * buffer can only take one frame per "put" operation. So we need - * to ask the codec to "parse" the payload into multiple frames. - */ - enum { MAX = 16 }; - pj_timestamp ts; - unsigned i, count = MAX; - unsigned ts_span; - pjmedia_frame frames[MAX]; - - /* Get the timestamp of the first sample */ - ts.u64 = pj_ntohl(hdr->ts); - - /* Parse the payload. */ - status = pjmedia_codec_parse(stream->codec, (void*)payload, - payloadlen, &ts, &count, frames); - if (status != PJ_SUCCESS) { - LOGERR_((stream->port.info.name.ptr, - "Codec parse() error", - status)); - count = 0; - } - -#if defined(PJMEDIA_HANDLE_G722_MPEG_BUG) && (PJMEDIA_HANDLE_G722_MPEG_BUG!=0) - /* This code is used to learn the samples per frame value that is put - * by remote endpoint, for codecs with inconsistent clock rate such - * as G.722 or MPEG audio. We need to learn the samples per frame - * value as it is used as divider when inserting frames into the - * jitter buffer. - */ - if (stream->has_g722_mpeg_bug) { - if (stream->rtp_rx_check_cnt) { - /* Make sure the detection performed only on two consecutive - * packets with valid RTP sequence and no wrapped timestamp. - */ - if (seq_st.diff == 1 && stream->rtp_rx_last_ts && - ts.u64 > stream->rtp_rx_last_ts && - stream->rtp_rx_last_cnt > 0) - { - unsigned peer_frm_ts_diff; - unsigned frm_ts_span; - - /* Calculate actual frame timestamp span */ - frm_ts_span = PJMEDIA_PIA_SPF(&stream->port.info) / - stream->codec_param.setting.frm_per_pkt/ - PJMEDIA_PIA_CCNT(&stream->port.info); - - /* Get remote frame timestamp span */ - peer_frm_ts_diff = - ((pj_uint32_t)ts.u64-stream->rtp_rx_last_ts) / - stream->rtp_rx_last_cnt; - - /* Possibilities remote's samples per frame for G.722 - * are only (frm_ts_span) and (frm_ts_span/2), this - * validation is needed to avoid wrong decision because - * of silence frames. - */ - if (stream->codec_param.info.pt == PJMEDIA_RTP_PT_G722 && - (peer_frm_ts_diff == frm_ts_span || - peer_frm_ts_diff == (frm_ts_span>>1))) - { - if (peer_frm_ts_diff < stream->rtp_rx_ts_len_per_frame) - stream->rtp_rx_ts_len_per_frame = peer_frm_ts_diff; - - if (--stream->rtp_rx_check_cnt == 0) { - PJ_LOG(4, (THIS_FILE, "G722 codec used, remote" - " samples per frame detected = %d", - stream->rtp_rx_ts_len_per_frame)); - - /* Reset jitter buffer once detection done */ - pjmedia_jbuf_reset(stream->jb); - } - } - } - - stream->rtp_rx_last_ts = (pj_uint32_t)ts.u64; - stream->rtp_rx_last_cnt = count; - } - - ts_span = stream->rtp_rx_ts_len_per_frame; - - /* Adjust the timestamp of the parsed frames */ - for (i=0; icodec_param.info.frm_ptime * - stream->codec_param.info.clock_rate / - 1000; - } -#else - ts_span = stream->codec_param.info.frm_ptime * - stream->codec_param.info.clock_rate / - 1000; -#endif - - /* Put each frame to jitter buffer. */ - for (i=0; ijb, frames[i].buf, frames[i].size, - frames[i].bit_info, ext_seq, &discarded); - if (discarded) - pkt_discarded = PJ_TRUE; - } - -#if TRACE_JB - trace_jb_put(stream, hdr, payloadlen, count); -#endif - - } - pj_mutex_unlock( stream->jb_mutex ); - - - /* Check if now is the time to transmit RTCP SR/RR report. - * We only do this when stream direction is "decoding only", - * because otherwise check_tx_rtcp() will be handled by put_frame() - */ - if (stream->dir == PJMEDIA_DIR_DECODING) { - check_tx_rtcp(stream, pj_ntohl(hdr->ts)); - } - - if (status != 0) { - LOGERR_((stream->port.info.name.ptr, "Jitter buffer put() error", - status)); - pkt_discarded = PJ_TRUE; - goto on_return; - } - -on_return: - /* Update RTCP session */ - if (stream->rtcp.peer_ssrc == 0) - stream->rtcp.peer_ssrc = channel->rtp.peer_ssrc; - - pjmedia_rtcp_rx_rtp2(&stream->rtcp, pj_ntohs(hdr->seq), - pj_ntohl(hdr->ts), payloadlen, pkt_discarded); - - /* Send RTCP RR and SDES after we receive some RTP packets */ - if (stream->rtcp.received >= 10 && !stream->initial_rr) { - status = send_rtcp(stream, !stream->rtcp_sdes_bye_disabled, - PJ_FALSE, PJ_FALSE); - if (status != PJ_SUCCESS) { - PJ_PERROR(4,(stream->port.info.name.ptr, status, - "Error sending initial RTCP RR")); - } else { - stream->initial_rr = PJ_TRUE; - } - } -} - - -/* - * This callback is called by stream transport on receipt of packets - * in the RTCP socket. - */ -static void on_rx_rtcp( void *data, - void *pkt, - pj_ssize_t bytes_read) -{ - pjmedia_stream *stream = (pjmedia_stream*) data; - - /* Check for errors */ - if (bytes_read < 0) { - LOGERR_((stream->port.info.name.ptr, "RTCP recv() error", - -bytes_read)); - return; - } - - pjmedia_rtcp_rx_rtcp(&stream->rtcp, pkt, bytes_read); -} - - -/* - * Create media channel. - */ -static pj_status_t create_channel( pj_pool_t *pool, - pjmedia_stream *stream, - pjmedia_dir dir, - unsigned pt, - const pjmedia_stream_info *param, - pjmedia_channel **p_channel) -{ - pjmedia_channel *channel; - pj_status_t status; - - /* Allocate memory for channel descriptor */ - - channel = PJ_POOL_ZALLOC_T(pool, pjmedia_channel); - PJ_ASSERT_RETURN(channel != NULL, PJ_ENOMEM); - - /* Init channel info. */ - - channel->stream = stream; - channel->dir = dir; - channel->paused = 1; - channel->pt = pt; - - - /* Allocate buffer for outgoing packet. */ - - if (param->type == PJMEDIA_TYPE_AUDIO) { - channel->out_pkt_size = sizeof(pjmedia_rtp_hdr) + - stream->codec_param.info.max_bps * - PJMEDIA_MAX_FRAME_DURATION_MS / - 8 / 1000; - if (channel->out_pkt_size > PJMEDIA_MAX_MTU - - PJMEDIA_STREAM_RESV_PAYLOAD_LEN) - { - channel->out_pkt_size = PJMEDIA_MAX_MTU - - PJMEDIA_STREAM_RESV_PAYLOAD_LEN; - } - } else { - return PJ_ENOTSUP; - } - - channel->out_pkt = pj_pool_alloc(pool, channel->out_pkt_size); - PJ_ASSERT_RETURN(channel->out_pkt != NULL, PJ_ENOMEM); - - - - /* Create RTP and RTCP sessions: */ - - if (param->rtp_seq_ts_set == 0) { - status = pjmedia_rtp_session_init(&channel->rtp, pt, param->ssrc); - } else { - pjmedia_rtp_session_setting settings; - - settings.flags = (pj_uint8_t)((param->rtp_seq_ts_set << 2) | 3); - settings.default_pt = pt; - settings.sender_ssrc = param->ssrc; - settings.seq = param->rtp_seq; - settings.ts = param->rtp_ts; - status = pjmedia_rtp_session_init2(&channel->rtp, settings); - } - if (status != PJ_SUCCESS) - return status; - - /* Done. */ - *p_channel = channel; - return PJ_SUCCESS; -} - - -/* - * Create media stream. - */ -PJ_DEF(pj_status_t) pjmedia_stream_create( pjmedia_endpt *endpt, - pj_pool_t *pool, - const pjmedia_stream_info *info, - pjmedia_transport *tp, - void *user_data, - pjmedia_stream **p_stream) - -{ - enum { M = 32 }; - pjmedia_stream *stream; - pj_str_t name; - unsigned jb_init, jb_max, jb_min_pre, jb_max_pre; - pjmedia_audio_format_detail *afd; - pj_pool_t *own_pool = NULL; - char *p; - pj_status_t status; - - PJ_ASSERT_RETURN(endpt && info && p_stream, PJ_EINVAL); - - if (pool == NULL) { - own_pool = pjmedia_endpt_create_pool( endpt, "strm%p", - PJMEDIA_STREAM_SIZE, - PJMEDIA_STREAM_INC); - PJ_ASSERT_RETURN(own_pool != NULL, PJ_ENOMEM); - pool = own_pool; - } - - /* Allocate the media stream: */ - - stream = PJ_POOL_ZALLOC_T(pool, pjmedia_stream); - PJ_ASSERT_RETURN(stream != NULL, PJ_ENOMEM); - stream->own_pool = own_pool; - pj_memcpy(&stream->si, info, sizeof(*info)); - - /* Init stream/port name */ - name.ptr = (char*) pj_pool_alloc(pool, M); - name.slen = pj_ansi_snprintf(name.ptr, M, "strm%p", stream); - - /* Init some port-info. Some parts of the info will be set later - * once we have more info about the codec. - */ - pjmedia_port_info_init(&stream->port.info, &name, - PJMEDIA_SIG_PORT_STREAM, - info->fmt.clock_rate, info->fmt.channel_cnt, - 16, 80); - afd = pjmedia_format_get_audio_format_detail(&stream->port.info.fmt, 1); - - /* Init port. */ - - //No longer there in 2.0 - //pj_strdup(pool, &stream->port.info.encoding_name, &info->fmt.encoding_name); - afd->clock_rate = info->fmt.clock_rate; - afd->channel_count = info->fmt.channel_cnt; - stream->port.port_data.pdata = stream; - - /* Init stream: */ - stream->endpt = endpt; - stream->codec_mgr = pjmedia_endpt_get_codec_mgr(endpt); - stream->dir = info->dir; - stream->user_data = user_data; - stream->rtcp_interval = (PJMEDIA_RTCP_INTERVAL-500 + (pj_rand()%1000)) * - info->fmt.clock_rate / 1000; - stream->rtcp_sdes_bye_disabled = info->rtcp_sdes_bye_disabled; - - stream->tx_event_pt = info->tx_event_pt ? info->tx_event_pt : -1; - stream->rx_event_pt = info->rx_event_pt ? info->rx_event_pt : -1; - stream->last_dtmf = -1; - stream->jb_last_frm = PJMEDIA_JB_NORMAL_FRAME; - -#if defined(PJMEDIA_STREAM_ENABLE_KA) && PJMEDIA_STREAM_ENABLE_KA!=0 - stream->use_ka = info->use_ka; -#endif - - /* Build random RTCP CNAME. CNAME has user@host format */ - stream->cname.ptr = p = (char*) pj_pool_alloc(pool, 20); - pj_create_random_string(p, 5); - p += 5; - *p++ = '@'; *p++ = 'p'; *p++ = 'j'; - pj_create_random_string(p, 6); - p += 6; - *p++ = '.'; *p++ = 'o'; *p++ = 'r'; *p++ = 'g'; - stream->cname.slen = p - stream->cname.ptr; - - - /* Create mutex to protect jitter buffer: */ - - status = pj_mutex_create_simple(pool, NULL, &stream->jb_mutex); - if (status != PJ_SUCCESS) - goto err_cleanup; - - - /* Create and initialize codec: */ - - status = pjmedia_codec_mgr_alloc_codec( stream->codec_mgr, - &info->fmt, &stream->codec); - if (status != PJ_SUCCESS) - goto err_cleanup; - - - /* Get codec param: */ - if (info->param) - stream->codec_param = *info->param; - else { - status = pjmedia_codec_mgr_get_default_param(stream->codec_mgr, - &info->fmt, - &stream->codec_param); - if (status != PJ_SUCCESS) - goto err_cleanup; - } - - /* Check for invalid max_bps. */ - if (stream->codec_param.info.max_bps < stream->codec_param.info.avg_bps) - stream->codec_param.info.max_bps = stream->codec_param.info.avg_bps; - - /* Check for invalid frame per packet. */ - if (stream->codec_param.setting.frm_per_pkt < 1) - stream->codec_param.setting.frm_per_pkt = 1; - - /* Init the codec. */ - status = pjmedia_codec_init(stream->codec, pool); - if (status != PJ_SUCCESS) - goto err_cleanup; - - /* Open the codec. */ - status = pjmedia_codec_open(stream->codec, &stream->codec_param); - if (status != PJ_SUCCESS) - goto err_cleanup; - - /* Set additional info and callbacks. */ - afd->bits_per_sample = 16; - afd->frame_time_usec = stream->codec_param.info.frm_ptime * - stream->codec_param.setting.frm_per_pkt * 1000; - stream->port.info.fmt.id = stream->codec_param.info.fmt_id; - if (stream->codec_param.info.fmt_id == PJMEDIA_FORMAT_L16) { - /* Raw format */ - afd->avg_bps = afd->max_bps = afd->clock_rate * afd->channel_count * - afd->bits_per_sample; - - stream->port.put_frame = &put_frame; - stream->port.get_frame = &get_frame; - } else { - /* Encoded format */ - afd->avg_bps = stream->codec_param.info.avg_bps; - afd->max_bps = stream->codec_param.info.max_bps; - - /* Not applicable for 2.0 - if ((stream->codec_param.info.max_bps * - stream->codec_param.info.frm_ptime * - stream->codec_param.setting.frm_per_pkt) % 8000 != 0) - { - ++stream->port.info.bytes_per_frame; - } - stream->port.info.format.bitrate = stream->codec_param.info.avg_bps; - stream->port.info.format.vad = (stream->codec_param.setting.vad != 0); - */ - - stream->port.put_frame = &put_frame; - stream->port.get_frame = &get_frame_ext; - } - - /* If encoder and decoder's ptime are asymmetric, then we need to - * create buffer on the encoder side. This could happen for example - * with iLBC - */ - if (stream->codec_param.info.enc_ptime!=0 && - stream->codec_param.info.enc_ptime!=stream->codec_param.info.frm_ptime) - { - unsigned ptime; - - stream->enc_samples_per_pkt = stream->codec_param.info.enc_ptime * - stream->codec_param.info.channel_cnt * - afd->clock_rate / 1000; - - /* Set buffer size as twice the largest ptime value between - * stream's ptime, encoder ptime, or decoder ptime. - */ - - ptime = afd->frame_time_usec / 1000; - - if (stream->codec_param.info.enc_ptime > ptime) - ptime = stream->codec_param.info.enc_ptime; - - if (stream->codec_param.info.frm_ptime > ptime) - ptime = stream->codec_param.info.frm_ptime; - - ptime <<= 1; - - /* Allocate buffer */ - stream->enc_buf_size = afd->clock_rate * ptime / 1000; - stream->enc_buf = (pj_int16_t*) - pj_pool_alloc(pool, stream->enc_buf_size * 2); - - } else { - stream->enc_samples_per_pkt = PJMEDIA_AFD_SPF(afd); - } - - - /* Initially disable the VAD in the stream, to help traverse NAT better */ - stream->vad_enabled = stream->codec_param.setting.vad; - if (PJMEDIA_STREAM_VAD_SUSPEND_MSEC > 0 && stream->vad_enabled) { - stream->codec_param.setting.vad = 0; - stream->ts_vad_disabled = 0; - pjmedia_codec_modify(stream->codec, &stream->codec_param); - PJ_LOG(4,(stream->port.info.name.ptr,"VAD temporarily disabled")); - } - - /* Get the frame size */ - stream->frame_size = stream->codec_param.info.max_bps * - stream->codec_param.info.frm_ptime / 8 / 1000; - if ((stream->codec_param.info.max_bps * stream->codec_param.info.frm_ptime) - % 8000 != 0) - { - ++stream->frame_size; - } - - /* How many consecutive PLC frames can be generated */ - stream->max_plc_cnt = (MAX_PLC_MSEC+stream->codec_param.info.frm_ptime-1)/ - stream->codec_param.info.frm_ptime; - -#if defined(PJMEDIA_HANDLE_G722_MPEG_BUG) && (PJMEDIA_HANDLE_G722_MPEG_BUG!=0) - stream->rtp_rx_check_cnt = 5; - stream->has_g722_mpeg_bug = PJ_FALSE; - stream->rtp_rx_last_ts = 0; - stream->rtp_rx_last_cnt = 0; - stream->rtp_tx_ts_len_per_pkt = stream->enc_samples_per_pkt / - stream->codec_param.info.channel_cnt; - stream->rtp_rx_ts_len_per_frame = PJMEDIA_AFD_SPF(afd) / - stream->codec_param.setting.frm_per_pkt / - stream->codec_param.info.channel_cnt; - - if (info->fmt.pt == PJMEDIA_RTP_PT_G722) { - stream->has_g722_mpeg_bug = PJ_TRUE; - /* RTP clock rate = 1/2 real clock rate */ - stream->rtp_tx_ts_len_per_pkt >>= 1; - } -#endif - - /* Init jitter buffer parameters: */ - if (info->jb_max >= stream->codec_param.info.frm_ptime) - jb_max = (info->jb_max + stream->codec_param.info.frm_ptime - 1) / - stream->codec_param.info.frm_ptime; - else - jb_max = 500 / stream->codec_param.info.frm_ptime; - - if (info->jb_min_pre >= stream->codec_param.info.frm_ptime) - jb_min_pre = info->jb_min_pre / stream->codec_param.info.frm_ptime; - else - //jb_min_pre = 60 / stream->codec_param.info.frm_ptime; - jb_min_pre = 1; - - if (info->jb_max_pre >= stream->codec_param.info.frm_ptime) - jb_max_pre = info->jb_max_pre / stream->codec_param.info.frm_ptime; - else - //jb_max_pre = 240 / stream->codec_param.info.frm_ptime; - jb_max_pre = jb_max * 4 / 5; - - if (info->jb_init >= stream->codec_param.info.frm_ptime) - jb_init = info->jb_init / stream->codec_param.info.frm_ptime; - else - //jb_init = (jb_min_pre + jb_max_pre) / 2; - jb_init = 0; - - /* Create jitter buffer */ - status = pjmedia_jbuf_create(pool, &stream->port.info.name, - stream->frame_size, - stream->codec_param.info.frm_ptime, - jb_max, &stream->jb); - if (status != PJ_SUCCESS) - goto err_cleanup; - - - /* Set up jitter buffer */ - pjmedia_jbuf_set_adaptive( stream->jb, jb_init, jb_min_pre, jb_max_pre); - - /* Create decoder channel: */ - - status = create_channel( pool, stream, PJMEDIA_DIR_DECODING, - info->rx_pt, info, &stream->dec); - if (status != PJ_SUCCESS) - goto err_cleanup; - - - /* Create encoder channel: */ - - status = create_channel( pool, stream, PJMEDIA_DIR_ENCODING, - info->tx_pt, info, &stream->enc); - if (status != PJ_SUCCESS) - goto err_cleanup; - - - /* Init RTCP session: */ - - { - pjmedia_rtcp_session_setting rtcp_setting; - - pjmedia_rtcp_session_setting_default(&rtcp_setting); - rtcp_setting.name = stream->port.info.name.ptr; - rtcp_setting.ssrc = info->ssrc; - rtcp_setting.rtp_ts_base = pj_ntohl(stream->enc->rtp.out_hdr.ts); - rtcp_setting.clock_rate = info->fmt.clock_rate; - rtcp_setting.samples_per_frame = PJMEDIA_AFD_SPF(afd); - -#if defined(PJMEDIA_HANDLE_G722_MPEG_BUG) && (PJMEDIA_HANDLE_G722_MPEG_BUG!=0) - /* Special case for G.722 */ - if (info->fmt.pt == PJMEDIA_RTP_PT_G722) { - rtcp_setting.clock_rate = 8000; - rtcp_setting.samples_per_frame = 160; - } -#endif - - pjmedia_rtcp_init2(&stream->rtcp, &rtcp_setting); - - if (info->rtp_seq_ts_set) { - stream->rtcp.stat.rtp_tx_last_seq = info->rtp_seq; - stream->rtcp.stat.rtp_tx_last_ts = info->rtp_ts; - } - } - - /* Allocate outgoing RTCP buffer, should be enough to hold SR/RR, SDES, - * BYE, and XR. - */ - stream->out_rtcp_pkt_size = sizeof(pjmedia_rtcp_sr_pkt) + - sizeof(pjmedia_rtcp_common) + - (4 + stream->cname.slen) + - 32; -#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) - if (info->rtcp_xr_enabled) { - stream->out_rtcp_pkt_size += sizeof(pjmedia_rtcp_xr_pkt); - } -#endif - - if (stream->out_rtcp_pkt_size > PJMEDIA_MAX_MTU) - stream->out_rtcp_pkt_size = PJMEDIA_MAX_MTU; - - stream->out_rtcp_pkt = pj_pool_alloc(pool, stream->out_rtcp_pkt_size); - - /* Only attach transport when stream is ready. */ - status = pjmedia_transport_attach(tp, stream, &info->rem_addr, - &info->rem_rtcp, - pj_sockaddr_get_len(&info->rem_addr), - &on_rx_rtp, &on_rx_rtcp); - if (status != PJ_SUCCESS) - goto err_cleanup; - - stream->transport = tp; - -#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) - /* Enable RTCP XR and update stream info/config to RTCP XR */ - if (info->rtcp_xr_enabled) { - int i; - - pjmedia_rtcp_enable_xr(&stream->rtcp, PJ_TRUE); - - /* Set RTCP XR TX interval */ - if (info->rtcp_xr_interval != 0) - stream->rtcp_xr_interval = info->rtcp_xr_interval; - else - stream->rtcp_xr_interval = (PJMEDIA_RTCP_INTERVAL + - (pj_rand() % 8000)) * - info->fmt.clock_rate / 1000; - - /* Additional third-party RTCP XR destination */ - if (info->rtcp_xr_dest.addr.sa_family != 0) { - stream->rtcp_xr_dest_len = pj_sockaddr_get_len(&info->rtcp_xr_dest); - pj_memcpy(&stream->rtcp_xr_dest, &info->rtcp_xr_dest, - stream->rtcp_xr_dest_len); - } - - /* jitter buffer adaptive info */ - i = PJMEDIA_RTCP_XR_JB_ADAPTIVE; - pjmedia_rtcp_xr_update_info(&stream->rtcp.xr_session, - PJMEDIA_RTCP_XR_INFO_CONF_JBA, - i); - - /* Jitter buffer aggressiveness info (estimated) */ - i = 7; - pjmedia_rtcp_xr_update_info(&stream->rtcp.xr_session, - PJMEDIA_RTCP_XR_INFO_CONF_JBR, - i); - - /* Jitter buffer absolute maximum delay */ - i = jb_max * stream->codec_param.info.frm_ptime; - pjmedia_rtcp_xr_update_info(&stream->rtcp.xr_session, - PJMEDIA_RTCP_XR_INFO_JB_ABS_MAX, - i); - - /* PLC info */ - if (stream->codec_param.setting.plc == 0) - i = PJMEDIA_RTCP_XR_PLC_DIS; - else -#if PJMEDIA_WSOLA_IMP==PJMEDIA_WSOLA_IMP_WSOLA - i = PJMEDIA_RTCP_XR_PLC_ENH; -#else - i = PJMEDIA_RTCP_XR_PLC_DIS; -#endif - pjmedia_rtcp_xr_update_info(&stream->rtcp.xr_session, - PJMEDIA_RTCP_XR_INFO_CONF_PLC, - i); - } -#endif - - /* Send RTCP SDES */ - if (!stream->rtcp_sdes_bye_disabled) { - pjmedia_stream_send_rtcp_sdes(stream); - } - -#if defined(PJMEDIA_STREAM_ENABLE_KA) && PJMEDIA_STREAM_ENABLE_KA!=0 - /* NAT hole punching by sending KA packet via RTP transport. */ - if (stream->use_ka) - send_keep_alive_packet(stream); -#endif - -#if TRACE_JB - { - char trace_name[PJ_MAXPATH]; - pj_ssize_t len; - - pj_ansi_snprintf(trace_name, sizeof(trace_name), - TRACE_JB_PATH_PREFIX "%s.csv", - stream->port.info.name.ptr); - status = pj_file_open(pool, trace_name, PJ_O_WRONLY, &stream->trace_jb_fd); - if (status != PJ_SUCCESS) { - stream->trace_jb_fd = TRACE_JB_INVALID_FD; - PJ_LOG(3,(THIS_FILE, "Failed creating RTP trace file '%s'", - trace_name)); - } else { - stream->trace_jb_buf = (char*)pj_pool_alloc(pool, PJ_LOG_MAX_SIZE); - - /* Print column header */ - len = pj_ansi_snprintf(stream->trace_jb_buf, PJ_LOG_MAX_SIZE, - "Time, Operation, Size, Frame Count, " - "Frame type, RTP Seq, RTP TS, RTP M, " - "JB size, JB burst level, JB prefetch\n"); - pj_file_write(stream->trace_jb_fd, stream->trace_jb_buf, &len); - pj_file_flush(stream->trace_jb_fd); - } - } -#endif - - /* Success! */ - *p_stream = stream; - - PJ_LOG(5,(THIS_FILE, "Stream %s created", stream->port.info.name.ptr)); - - return PJ_SUCCESS; - - -err_cleanup: - pjmedia_stream_destroy(stream); - return status; -} - - -/* - * Destroy stream. - */ -PJ_DEF(pj_status_t) pjmedia_stream_destroy( pjmedia_stream *stream ) -{ - PJ_ASSERT_RETURN(stream != NULL, PJ_EINVAL); - - /* Send RTCP BYE (also SDES & XR) */ - if (!stream->rtcp_sdes_bye_disabled) { - send_rtcp(stream, PJ_TRUE, PJ_TRUE, PJ_TRUE); - } - - /* Detach from transport - * MUST NOT hold stream mutex while detaching from transport, as - * it may cause deadlock. See ticket #460 for the details. - */ - if (stream->transport) { - pjmedia_transport_detach(stream->transport, stream); - stream->transport = NULL; - } - - /* This function may be called when stream is partly initialized. */ - if (stream->jb_mutex) - pj_mutex_lock(stream->jb_mutex); - - - /* Free codec. */ - - if (stream->codec) { - pjmedia_codec_close(stream->codec); - pjmedia_codec_mgr_dealloc_codec(stream->codec_mgr, stream->codec); - stream->codec = NULL; - } - - /* Free mutex */ - - if (stream->jb_mutex) { - pj_mutex_destroy(stream->jb_mutex); - stream->jb_mutex = NULL; - } - - /* Destroy jitter buffer */ - if (stream->jb) - pjmedia_jbuf_destroy(stream->jb); - -#if TRACE_JB - if (TRACE_JB_OPENED(stream)) { - pj_file_close(stream->trace_jb_fd); - stream->trace_jb_fd = TRACE_JB_INVALID_FD; - } -#endif - - if (stream->own_pool) { - pj_pool_t *pool = stream->own_pool; - stream->own_pool = NULL; - pj_pool_release(pool); - } - return PJ_SUCCESS; -} - - -/* - * Get the last frame frame type retreived from the jitter buffer. - */ -PJ_DEF(char) pjmedia_stream_get_last_jb_frame_type(pjmedia_stream *stream) -{ - return stream->jb_last_frm; -} - - -/* - * Get the port interface. - */ -PJ_DEF(pj_status_t) pjmedia_stream_get_port( pjmedia_stream *stream, - pjmedia_port **p_port ) -{ - *p_port = &stream->port; - return PJ_SUCCESS; -} - - -/* - * Get the transport object - */ -PJ_DEF(pjmedia_transport*) pjmedia_stream_get_transport(pjmedia_stream *st) -{ - return st->transport; -} - - -/* - * Start stream. - */ -PJ_DEF(pj_status_t) pjmedia_stream_start(pjmedia_stream *stream) -{ - - PJ_ASSERT_RETURN(stream && stream->enc && stream->dec, PJ_EINVALIDOP); - - if (stream->enc && (stream->dir & PJMEDIA_DIR_ENCODING)) { - stream->enc->paused = 0; - //pjmedia_snd_stream_start(stream->enc->snd_stream); - PJ_LOG(4,(stream->port.info.name.ptr, "Encoder stream started")); - } else { - PJ_LOG(4,(stream->port.info.name.ptr, "Encoder stream paused")); - } - - if (stream->dec && (stream->dir & PJMEDIA_DIR_DECODING)) { - stream->dec->paused = 0; - //pjmedia_snd_stream_start(stream->dec->snd_stream); - PJ_LOG(4,(stream->port.info.name.ptr, "Decoder stream started")); - } else { - PJ_LOG(4,(stream->port.info.name.ptr, "Decoder stream paused")); - } - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_stream_get_info( const pjmedia_stream *stream, - pjmedia_stream_info *info) -{ - PJ_ASSERT_RETURN(stream && info, PJ_EINVAL); - - pj_memcpy(info, &stream->si, sizeof(pjmedia_stream_info)); - return PJ_SUCCESS; -} - -/* - * Get stream statistics. - */ -PJ_DEF(pj_status_t) pjmedia_stream_get_stat( const pjmedia_stream *stream, - pjmedia_rtcp_stat *stat) -{ - PJ_ASSERT_RETURN(stream && stat, PJ_EINVAL); - - pj_memcpy(stat, &stream->rtcp.stat, sizeof(pjmedia_rtcp_stat)); - return PJ_SUCCESS; -} - - -/* - * Reset the stream statistics in the middle of a stream session. - */ -PJ_DEF(pj_status_t) pjmedia_stream_reset_stat(pjmedia_stream *stream) -{ - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - pjmedia_rtcp_init_stat(&stream->rtcp.stat); - - return PJ_SUCCESS; -} - - -#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) -/* - * Get stream extended statistics. - */ -PJ_DEF(pj_status_t) pjmedia_stream_get_stat_xr( const pjmedia_stream *stream, - pjmedia_rtcp_xr_stat *stat) -{ - PJ_ASSERT_RETURN(stream && stat, PJ_EINVAL); - - if (stream->rtcp.xr_enabled) { - pj_memcpy(stat, &stream->rtcp.xr_session.stat, sizeof(pjmedia_rtcp_xr_stat)); - return PJ_SUCCESS; - } - return PJ_ENOTFOUND; -} -#endif - -/* - * Get jitter buffer state. - */ -PJ_DEF(pj_status_t) pjmedia_stream_get_stat_jbuf(const pjmedia_stream *stream, - pjmedia_jb_state *state) -{ - PJ_ASSERT_RETURN(stream && state, PJ_EINVAL); - return pjmedia_jbuf_get_state(stream->jb, state); -} - -/* - * Pause stream. - */ -PJ_DEF(pj_status_t) pjmedia_stream_pause( pjmedia_stream *stream, - pjmedia_dir dir) -{ - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - if ((dir & PJMEDIA_DIR_ENCODING) && stream->enc) { - stream->enc->paused = 1; - PJ_LOG(4,(stream->port.info.name.ptr, "Encoder stream paused")); - } - - if ((dir & PJMEDIA_DIR_DECODING) && stream->dec) { - stream->dec->paused = 1; - - /* Also reset jitter buffer */ - pj_mutex_lock( stream->jb_mutex ); - pjmedia_jbuf_reset(stream->jb); - pj_mutex_unlock( stream->jb_mutex ); - - PJ_LOG(4,(stream->port.info.name.ptr, "Decoder stream paused")); - } - - return PJ_SUCCESS; -} - - -/* - * Resume stream - */ -PJ_DEF(pj_status_t) pjmedia_stream_resume( pjmedia_stream *stream, - pjmedia_dir dir) -{ - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - if ((dir & PJMEDIA_DIR_ENCODING) && stream->enc) { - stream->enc->paused = 0; - PJ_LOG(4,(stream->port.info.name.ptr, "Encoder stream resumed")); - } - - if ((dir & PJMEDIA_DIR_DECODING) && stream->dec) { - stream->dec->paused = 0; - PJ_LOG(4,(stream->port.info.name.ptr, "Decoder stream resumed")); - } - - return PJ_SUCCESS; -} - -/* - * Dial DTMF - */ -PJ_DEF(pj_status_t) pjmedia_stream_dial_dtmf( pjmedia_stream *stream, - const pj_str_t *digit_char) -{ - pj_status_t status = PJ_SUCCESS; - - /* By convention we use jitter buffer mutex to access DTMF - * queue. - */ - PJ_ASSERT_RETURN(stream && digit_char, PJ_EINVAL); - - /* Check that remote can receive DTMF events. */ - if (stream->tx_event_pt < 0) { - return PJMEDIA_RTP_EREMNORFC2833; - } - - pj_mutex_lock(stream->jb_mutex); - - if (stream->tx_dtmf_count+digit_char->slen >= - (long)PJ_ARRAY_SIZE(stream->tx_dtmf_buf)) - { - status = PJ_ETOOMANY; - } else { - int i; - - /* convert ASCII digits into payload type first, to make sure - * that all digits are valid. - */ - for (i=0; islen; ++i) { - unsigned pt; - int dig = pj_tolower(digit_char->ptr[i]); - - if (dig >= '0' && dig <= '9') - { - pt = dig - '0'; - } - else if (dig >= 'a' && dig <= 'd') - { - pt = dig - 'a' + 12; - } - else if (dig == '*') - { - pt = 10; - } - else if (dig == '#') - { - pt = 11; - } - else - { - status = PJMEDIA_RTP_EINDTMF; - break; - } - - stream->tx_dtmf_buf[stream->tx_dtmf_count+i].event = pt; - stream->tx_dtmf_buf[stream->tx_dtmf_count+i].duration = 0; - } - - if (status != PJ_SUCCESS) - goto on_return; - - /* Increment digit count only if all digits are valid. */ - stream->tx_dtmf_count += digit_char->slen; - } - -on_return: - pj_mutex_unlock(stream->jb_mutex); - - return status; -} - - -/* - * See if we have DTMF digits in the rx buffer. - */ -PJ_DEF(pj_bool_t) pjmedia_stream_check_dtmf(pjmedia_stream *stream) -{ - return stream->rx_dtmf_count != 0; -} - - -/* - * Retrieve incoming DTMF digits from the stream's DTMF buffer. - */ -PJ_DEF(pj_status_t) pjmedia_stream_get_dtmf( pjmedia_stream *stream, - char *digits, - unsigned *size) -{ - PJ_ASSERT_RETURN(stream && digits && size, PJ_EINVAL); - - pj_assert(sizeof(stream->rx_dtmf_buf[0]) == 0); - - /* By convention, we use jitter buffer's mutex to access DTMF - * digits resources. - */ - pj_mutex_lock(stream->jb_mutex); - - if (stream->rx_dtmf_count < *size) - *size = stream->rx_dtmf_count; - - if (*size) { - pj_memcpy(digits, stream->rx_dtmf_buf, *size); - stream->rx_dtmf_count -= *size; - if (stream->rx_dtmf_count) { - pj_memmove(stream->rx_dtmf_buf, - &stream->rx_dtmf_buf[*size], - stream->rx_dtmf_count); - } - } - - pj_mutex_unlock(stream->jb_mutex); - - return PJ_SUCCESS; -} - - -/* - * Set callback to be called upon receiving DTMF digits. - */ -PJ_DEF(pj_status_t) pjmedia_stream_set_dtmf_callback(pjmedia_stream *stream, - void (*cb)(pjmedia_stream*, - void *user_data, - int digit), - void *user_data) -{ - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - /* By convention, we use jitter buffer's mutex to access DTMF - * digits resources. - */ - pj_mutex_lock(stream->jb_mutex); - - stream->dtmf_cb = cb; - stream->dtmf_cb_user_data = user_data; - - pj_mutex_unlock(stream->jb_mutex); - - return PJ_SUCCESS; -} - -/* - * Send RTCP SDES. - */ -PJ_DEF(pj_status_t) -pjmedia_stream_send_rtcp_sdes( pjmedia_stream *stream ) -{ - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - return send_rtcp(stream, PJ_TRUE, PJ_FALSE, PJ_FALSE); -} - -/* - * Send RTCP BYE. - */ -PJ_DEF(pj_status_t) -pjmedia_stream_send_rtcp_bye( pjmedia_stream *stream ) -{ - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - if (stream->enc && stream->transport) { - return send_rtcp(stream, PJ_TRUE, PJ_TRUE, PJ_FALSE); - } - - return PJ_SUCCESS; -} diff --git a/res/pjproject/pjmedia/src/pjmedia/stream_common.c b/res/pjproject/pjmedia/src/pjmedia/stream_common.c deleted file mode 100644 index 9970cc78f1..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/stream_common.c +++ /dev/null @@ -1,111 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -#define THIS_FILE "stream_common.c" - -/* - * Parse fmtp for specified format/payload type. - */ -PJ_DEF(pj_status_t) pjmedia_stream_info_parse_fmtp( pj_pool_t *pool, - const pjmedia_sdp_media *m, - unsigned pt, - pjmedia_codec_fmtp *fmtp) -{ - const pjmedia_sdp_attr *attr; - pjmedia_sdp_fmtp sdp_fmtp; - char *p, *p_end, fmt_buf[8]; - pj_str_t fmt; - pj_status_t status; - - pj_assert(m && fmtp); - - pj_bzero(fmtp, sizeof(pjmedia_codec_fmtp)); - - /* Get "fmtp" attribute for the format */ - pj_ansi_sprintf(fmt_buf, "%d", pt); - fmt = pj_str(fmt_buf); - attr = pjmedia_sdp_media_find_attr2(m, "fmtp", &fmt); - if (attr == NULL) - return PJ_SUCCESS; - - /* Parse "fmtp" attribute */ - status = pjmedia_sdp_attr_get_fmtp(attr, &sdp_fmtp); - if (status != PJ_SUCCESS) - return status; - - /* Prepare parsing */ - p = sdp_fmtp.fmt_param.ptr; - p_end = p + sdp_fmtp.fmt_param.slen; - - /* Parse */ - while (p < p_end) { - char *token, *start, *end; - - if (fmtp->cnt >= PJMEDIA_CODEC_MAX_FMTP_CNT) { - PJ_LOG(4,(THIS_FILE, - "Warning: fmtp parameter count exceeds " - "PJMEDIA_CODEC_MAX_FMTP_CNT")); - return PJ_SUCCESS; - } - - /* Skip whitespaces */ - while (p < p_end && (*p == ' ' || *p == '\t')) ++p; - if (p == p_end) - break; - - /* Get token */ - start = p; - while (p < p_end && *p != ';' && *p != '=') ++p; - end = p - 1; - - /* Right trim */ - while (end >= start && (*end == ' ' || *end == '\t' || - *end == '\r' || *end == '\n' )) - --end; - - /* Forward a char after trimming */ - ++end; - - /* Store token */ - if (end > start) { - if (pool) { - token = (char*)pj_pool_alloc(pool, end - start); - pj_ansi_strncpy(token, start, end - start); - } else { - token = start; - } - if (*p == '=') - /* Got param name */ - pj_strset(&fmtp->param[fmtp->cnt].name, token, end - start); - else - /* Got param value */ - pj_strset(&fmtp->param[fmtp->cnt++].val, token, end - start); - } else if (*p != '=') { - ++fmtp->cnt; - } - - /* Next */ - ++p; - } - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/stream_info.c b/res/pjproject/pjmedia/src/pjmedia/stream_info.c deleted file mode 100644 index ada8b79a2d..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/stream_info.c +++ /dev/null @@ -1,548 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -static const pj_str_t ID_AUDIO = { "audio", 5}; -static const pj_str_t ID_IN = { "IN", 2 }; -static const pj_str_t ID_IP4 = { "IP4", 3}; -static const pj_str_t ID_IP6 = { "IP6", 3}; -static const pj_str_t ID_RTP_AVP = { "RTP/AVP", 7 }; -static const pj_str_t ID_RTP_SAVP = { "RTP/SAVP", 8 }; -//static const pj_str_t ID_SDP_NAME = { "pjmedia", 7 }; -static const pj_str_t ID_RTPMAP = { "rtpmap", 6 }; -static const pj_str_t ID_TELEPHONE_EVENT = { "telephone-event", 15 }; - -static const pj_str_t STR_INACTIVE = { "inactive", 8 }; -static const pj_str_t STR_SENDRECV = { "sendrecv", 8 }; -static const pj_str_t STR_SENDONLY = { "sendonly", 8 }; -static const pj_str_t STR_RECVONLY = { "recvonly", 8 }; - - -/* - * Internal function for collecting codec info and param from the SDP media. - */ -static pj_status_t get_audio_codec_info_param(pjmedia_stream_info *si, - pj_pool_t *pool, - pjmedia_codec_mgr *mgr, - const pjmedia_sdp_media *local_m, - const pjmedia_sdp_media *rem_m) -{ - const pjmedia_sdp_attr *attr; - pjmedia_sdp_rtpmap *rtpmap; - unsigned i, fmti, pt = 0; - pj_status_t status; - - /* Find the first codec which is not telephone-event */ - for ( fmti = 0; fmti < local_m->desc.fmt_count; ++fmti ) { - pjmedia_sdp_rtpmap r; - - if ( !pj_isdigit(*local_m->desc.fmt[fmti].ptr) ) - return PJMEDIA_EINVALIDPT; - pt = pj_strtoul(&local_m->desc.fmt[fmti]); - - if (pt < 96) { - /* This is known static PT. Skip rtpmap checking because it is - * optional. */ - break; - } - - attr = pjmedia_sdp_media_find_attr(local_m, &ID_RTPMAP, - &local_m->desc.fmt[fmti]); - if (attr == NULL) - continue; - - status = pjmedia_sdp_attr_get_rtpmap(attr, &r); - if (status != PJ_SUCCESS) - continue; - - if (pj_strcmp(&r.enc_name, &ID_TELEPHONE_EVENT) != 0) - break; - } - if ( fmti >= local_m->desc.fmt_count ) - return PJMEDIA_EINVALIDPT; - - /* Get payload type for receiving direction */ - si->rx_pt = pt; - - /* Get codec info. - * For static payload types, get the info from codec manager. - * For dynamic payload types, MUST get the rtpmap. - */ - if (pt < 96) { - pj_bool_t has_rtpmap; - - rtpmap = NULL; - has_rtpmap = PJ_TRUE; - - attr = pjmedia_sdp_media_find_attr(local_m, &ID_RTPMAP, - &local_m->desc.fmt[fmti]); - if (attr == NULL) { - has_rtpmap = PJ_FALSE; - } - if (attr != NULL) { - status = pjmedia_sdp_attr_to_rtpmap(pool, attr, &rtpmap); - if (status != PJ_SUCCESS) - has_rtpmap = PJ_FALSE; - } - - /* Build codec format info: */ - if (has_rtpmap) { - si->fmt.type = si->type; - si->fmt.pt = pj_strtoul(&local_m->desc.fmt[fmti]); - pj_strdup(pool, &si->fmt.encoding_name, &rtpmap->enc_name); - si->fmt.clock_rate = rtpmap->clock_rate; - -#if defined(PJMEDIA_HANDLE_G722_MPEG_BUG) && (PJMEDIA_HANDLE_G722_MPEG_BUG != 0) - /* The session info should have the actual clock rate, because - * this info is used for calculationg buffer size, etc in stream - */ - if (si->fmt.pt == PJMEDIA_RTP_PT_G722) - si->fmt.clock_rate = 16000; -#endif - - /* For audio codecs, rtpmap parameters denotes the number of - * channels. - */ - if (si->type == PJMEDIA_TYPE_AUDIO && rtpmap->param.slen) { - si->fmt.channel_cnt = (unsigned) pj_strtoul(&rtpmap->param); - } else { - si->fmt.channel_cnt = 1; - } - - } else { - const pjmedia_codec_info *p_info; - - status = pjmedia_codec_mgr_get_codec_info( mgr, pt, &p_info); - if (status != PJ_SUCCESS) - return status; - - pj_memcpy(&si->fmt, p_info, sizeof(pjmedia_codec_info)); - } - - /* For static payload type, pt's are symetric */ - si->tx_pt = pt; - - } else { - pjmedia_codec_id codec_id; - pj_str_t codec_id_st; - const pjmedia_codec_info *p_info; - - attr = pjmedia_sdp_media_find_attr(local_m, &ID_RTPMAP, - &local_m->desc.fmt[fmti]); - if (attr == NULL) - return PJMEDIA_EMISSINGRTPMAP; - - status = pjmedia_sdp_attr_to_rtpmap(pool, attr, &rtpmap); - if (status != PJ_SUCCESS) - return status; - - /* Build codec format info: */ - - si->fmt.type = si->type; - si->fmt.pt = pj_strtoul(&local_m->desc.fmt[fmti]); - si->fmt.encoding_name = rtpmap->enc_name; - si->fmt.clock_rate = rtpmap->clock_rate; - - /* For audio codecs, rtpmap parameters denotes the number of - * channels. - */ - if (si->type == PJMEDIA_TYPE_AUDIO && rtpmap->param.slen) { - si->fmt.channel_cnt = (unsigned) pj_strtoul(&rtpmap->param); - } else { - si->fmt.channel_cnt = 1; - } - - /* Normalize the codec info from codec manager. Note that the - * payload type will be resetted to its default (it might have - * been rewritten by the SDP negotiator to match to the remote - * offer), this is intentional as currently some components may - * prefer (or even require) the default PT in codec info. - */ - pjmedia_codec_info_to_id(&si->fmt, codec_id, sizeof(codec_id)); - - i = 1; - codec_id_st = pj_str(codec_id); - status = pjmedia_codec_mgr_find_codecs_by_id(mgr, &codec_id_st, - &i, &p_info, NULL); - if (status != PJ_SUCCESS) - return status; - - pj_memcpy(&si->fmt, p_info, sizeof(pjmedia_codec_info)); - - /* Determine payload type for outgoing channel, by finding - * dynamic payload type in remote SDP that matches the answer. - */ - si->tx_pt = 0xFFFF; - for (i=0; idesc.fmt_count; ++i) { - unsigned rpt; - pjmedia_sdp_attr *r_attr; - pjmedia_sdp_rtpmap r_rtpmap; - - rpt = pj_strtoul(&rem_m->desc.fmt[i]); - if (rpt < 96) - continue; - - r_attr = pjmedia_sdp_media_find_attr(rem_m, &ID_RTPMAP, - &rem_m->desc.fmt[i]); - if (!r_attr) - continue; - - if (pjmedia_sdp_attr_get_rtpmap(r_attr, &r_rtpmap) != PJ_SUCCESS) - continue; - - if (!pj_stricmp(&rtpmap->enc_name, &r_rtpmap.enc_name) && - rtpmap->clock_rate == r_rtpmap.clock_rate) - { - /* Found matched codec. */ - si->tx_pt = rpt; - - break; - } - } - - if (si->tx_pt == 0xFFFF) - return PJMEDIA_EMISSINGRTPMAP; - } - - - /* Now that we have codec info, get the codec param. */ - si->param = PJ_POOL_ALLOC_T(pool, pjmedia_codec_param); - status = pjmedia_codec_mgr_get_default_param(mgr, &si->fmt, - si->param); - - /* Get remote fmtp for our encoder. */ - pjmedia_stream_info_parse_fmtp(pool, rem_m, si->tx_pt, - &si->param->setting.enc_fmtp); - - /* Get local fmtp for our decoder. */ - pjmedia_stream_info_parse_fmtp(pool, local_m, si->rx_pt, - &si->param->setting.dec_fmtp); - - /* Get the remote ptime for our encoder. */ - attr = pjmedia_sdp_attr_find2(rem_m->attr_count, rem_m->attr, - "ptime", NULL); - if (attr) { - pj_str_t tmp_val = attr->value; - unsigned frm_per_pkt; - - pj_strltrim(&tmp_val); - - /* Round up ptime when the specified is not multiple of frm_ptime */ - frm_per_pkt = (pj_strtoul(&tmp_val) + - si->param->info.frm_ptime/2) / - si->param->info.frm_ptime; - if (frm_per_pkt != 0) { - si->param->setting.frm_per_pkt = (pj_uint8_t)frm_per_pkt; - } - } - - /* Get remote maxptime for our encoder. */ - attr = pjmedia_sdp_attr_find2(rem_m->attr_count, rem_m->attr, - "maxptime", NULL); - if (attr) { - pj_str_t tmp_val = attr->value; - - pj_strltrim(&tmp_val); - si->tx_maxptime = pj_strtoul(&tmp_val); - } - - /* When direction is NONE (it means SDP negotiation has failed) we don't - * need to return a failure here, as returning failure will cause - * the whole SDP to be rejected. See ticket #: - * http:// - * - * Thanks Alain Totouom - */ - if (status != PJ_SUCCESS && si->dir != PJMEDIA_DIR_NONE) - return status; - - - /* Get incomming payload type for telephone-events */ - si->rx_event_pt = -1; - for (i=0; iattr_count; ++i) { - pjmedia_sdp_rtpmap r; - - attr = local_m->attr[i]; - if (pj_strcmp(&attr->name, &ID_RTPMAP) != 0) - continue; - if (pjmedia_sdp_attr_get_rtpmap(attr, &r) != PJ_SUCCESS) - continue; - if (pj_strcmp(&r.enc_name, &ID_TELEPHONE_EVENT) == 0) { - si->rx_event_pt = pj_strtoul(&r.pt); - break; - } - } - - /* Get outgoing payload type for telephone-events */ - si->tx_event_pt = -1; - for (i=0; iattr_count; ++i) { - pjmedia_sdp_rtpmap r; - - attr = rem_m->attr[i]; - if (pj_strcmp(&attr->name, &ID_RTPMAP) != 0) - continue; - if (pjmedia_sdp_attr_get_rtpmap(attr, &r) != PJ_SUCCESS) - continue; - if (pj_strcmp(&r.enc_name, &ID_TELEPHONE_EVENT) == 0) { - si->tx_event_pt = pj_strtoul(&r.pt); - break; - } - } - - return PJ_SUCCESS; -} - - - -/* - * Create stream info from SDP media line. - */ -PJ_DEF(pj_status_t) pjmedia_stream_info_from_sdp( - pjmedia_stream_info *si, - pj_pool_t *pool, - pjmedia_endpt *endpt, - const pjmedia_sdp_session *local, - const pjmedia_sdp_session *remote, - unsigned stream_idx) -{ - pjmedia_codec_mgr *mgr; - const pjmedia_sdp_attr *attr; - const pjmedia_sdp_media *local_m; - const pjmedia_sdp_media *rem_m; - const pjmedia_sdp_conn *local_conn; - const pjmedia_sdp_conn *rem_conn; - int rem_af, local_af; - pj_sockaddr local_addr; - pj_status_t status; - - - /* Validate arguments: */ - PJ_ASSERT_RETURN(pool && si && local && remote, PJ_EINVAL); - PJ_ASSERT_RETURN(stream_idx < local->media_count, PJ_EINVAL); - PJ_ASSERT_RETURN(stream_idx < remote->media_count, PJ_EINVAL); - - /* Keep SDP shortcuts */ - local_m = local->media[stream_idx]; - rem_m = remote->media[stream_idx]; - - local_conn = local_m->conn ? local_m->conn : local->conn; - if (local_conn == NULL) - return PJMEDIA_SDP_EMISSINGCONN; - - rem_conn = rem_m->conn ? rem_m->conn : remote->conn; - if (rem_conn == NULL) - return PJMEDIA_SDP_EMISSINGCONN; - - /* Media type must be audio */ - if (pj_stricmp(&local_m->desc.media, &ID_AUDIO) != 0) - return PJMEDIA_EINVALIMEDIATYPE; - - /* Get codec manager. */ - mgr = pjmedia_endpt_get_codec_mgr(endpt); - - /* Reset: */ - - pj_bzero(si, sizeof(*si)); - -#if PJMEDIA_HAS_RTCP_XR && PJMEDIA_STREAM_ENABLE_XR - /* Set default RTCP XR enabled/disabled */ - si->rtcp_xr_enabled = PJ_TRUE; -#endif - - /* Media type: */ - si->type = PJMEDIA_TYPE_AUDIO; - - /* Transport protocol */ - - /* At this point, transport type must be compatible, - * the transport instance will do more validation later. - */ - status = pjmedia_sdp_transport_cmp(&rem_m->desc.transport, - &local_m->desc.transport); - if (status != PJ_SUCCESS) - return PJMEDIA_SDPNEG_EINVANSTP; - - if (pj_stricmp(&local_m->desc.transport, &ID_RTP_AVP) == 0) { - - si->proto = PJMEDIA_TP_PROTO_RTP_AVP; - - } else if (pj_stricmp(&local_m->desc.transport, &ID_RTP_SAVP) == 0) { - - si->proto = PJMEDIA_TP_PROTO_RTP_SAVP; - - } else { - - si->proto = PJMEDIA_TP_PROTO_UNKNOWN; - return PJ_SUCCESS; - } - - - /* Check address family in remote SDP */ - rem_af = pj_AF_UNSPEC(); - if (pj_stricmp(&rem_conn->net_type, &ID_IN)==0) { - if (pj_stricmp(&rem_conn->addr_type, &ID_IP4)==0) { - rem_af = pj_AF_INET(); - } else if (pj_stricmp(&rem_conn->addr_type, &ID_IP6)==0) { - rem_af = pj_AF_INET6(); - } - } - - if (rem_af==pj_AF_UNSPEC()) { - /* Unsupported address family */ - return PJ_EAFNOTSUP; - } - - /* Set remote address: */ - status = pj_sockaddr_init(rem_af, &si->rem_addr, &rem_conn->addr, - rem_m->desc.port); - if (status != PJ_SUCCESS) { - /* Invalid IP address. */ - return PJMEDIA_EINVALIDIP; - } - - /* Check address family of local info */ - local_af = pj_AF_UNSPEC(); - if (pj_stricmp(&local_conn->net_type, &ID_IN)==0) { - if (pj_stricmp(&local_conn->addr_type, &ID_IP4)==0) { - local_af = pj_AF_INET(); - } else if (pj_stricmp(&local_conn->addr_type, &ID_IP6)==0) { - local_af = pj_AF_INET6(); - } - } - - if (local_af==pj_AF_UNSPEC()) { - /* Unsupported address family */ - return PJ_SUCCESS; - } - - /* Set remote address: */ - status = pj_sockaddr_init(local_af, &local_addr, &local_conn->addr, - local_m->desc.port); - if (status != PJ_SUCCESS) { - /* Invalid IP address. */ - return PJMEDIA_EINVALIDIP; - } - - /* Local and remote address family must match */ - if (local_af != rem_af) - return PJ_EAFNOTSUP; - - /* Media direction: */ - - if (local_m->desc.port == 0 || - pj_sockaddr_has_addr(&local_addr)==PJ_FALSE || - pj_sockaddr_has_addr(&si->rem_addr)==PJ_FALSE || - pjmedia_sdp_media_find_attr(local_m, &STR_INACTIVE, NULL)!=NULL) - { - /* Inactive stream. */ - - si->dir = PJMEDIA_DIR_NONE; - - } else if (pjmedia_sdp_media_find_attr(local_m, &STR_SENDONLY, NULL)!=NULL) { - - /* Send only stream. */ - - si->dir = PJMEDIA_DIR_ENCODING; - - } else if (pjmedia_sdp_media_find_attr(local_m, &STR_RECVONLY, NULL)!=NULL) { - - /* Recv only stream. */ - - si->dir = PJMEDIA_DIR_DECODING; - - } else { - - /* Send and receive stream. */ - - si->dir = PJMEDIA_DIR_ENCODING_DECODING; - - } - - /* No need to do anything else if stream is rejected */ - if (local_m->desc.port == 0) { - return PJ_SUCCESS; - } - - /* If "rtcp" attribute is present in the SDP, set the RTCP address - * from that attribute. Otherwise, calculate from RTP address. - */ - attr = pjmedia_sdp_attr_find2(rem_m->attr_count, rem_m->attr, - "rtcp", NULL); - if (attr) { - pjmedia_sdp_rtcp_attr rtcp; - status = pjmedia_sdp_attr_get_rtcp(attr, &rtcp); - if (status == PJ_SUCCESS) { - if (rtcp.addr.slen) { - status = pj_sockaddr_init(rem_af, &si->rem_rtcp, &rtcp.addr, - (pj_uint16_t)rtcp.port); - } else { - pj_sockaddr_init(rem_af, &si->rem_rtcp, NULL, - (pj_uint16_t)rtcp.port); - pj_memcpy(pj_sockaddr_get_addr(&si->rem_rtcp), - pj_sockaddr_get_addr(&si->rem_addr), - pj_sockaddr_get_addr_len(&si->rem_addr)); - } - } - } - - if (!pj_sockaddr_has_addr(&si->rem_rtcp)) { - int rtcp_port; - - pj_memcpy(&si->rem_rtcp, &si->rem_addr, sizeof(pj_sockaddr)); - rtcp_port = pj_sockaddr_get_port(&si->rem_addr) + 1; - pj_sockaddr_set_port(&si->rem_rtcp, (pj_uint16_t)rtcp_port); - } - - - /* Get the payload number for receive channel. */ - /* - Previously we used to rely on fmt[0] being the selected codec, - but some UA sends telephone-event as fmt[0] and this would - cause assert failure below. - - Thanks Chris Hamilton for this patch. - - // And codec must be numeric! - if (!pj_isdigit(*local_m->desc.fmt[0].ptr) || - !pj_isdigit(*rem_m->desc.fmt[0].ptr)) - { - return PJMEDIA_EINVALIDPT; - } - - pt = pj_strtoul(&local_m->desc.fmt[0]); - pj_assert(PJMEDIA_RTP_PT_TELEPHONE_EVENTS==0 || - pt != PJMEDIA_RTP_PT_TELEPHONE_EVENTS); - */ - - /* Get codec info and param */ - status = get_audio_codec_info_param(si, pool, mgr, local_m, rem_m); - - /* Leave SSRC to random. */ - si->ssrc = pj_rand(); - - /* Set default jitter buffer parameter. */ - si->jb_init = si->jb_max = si->jb_min_pre = si->jb_max_pre = -1; - - return status; -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/tonegen.c b/res/pjproject/pjmedia/src/pjmedia/tonegen.c deleted file mode 100644 index 954494bf2c..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/tonegen.c +++ /dev/null @@ -1,898 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include - -/* amplitude */ -#define AMP PJMEDIA_TONEGEN_VOLUME - -#ifndef M_PI -# define M_PI ((DATA)3.141592653589793238462643383279) -#endif - -#if PJMEDIA_TONEGEN_ALG==PJMEDIA_TONEGEN_SINE - #include - #define DATA double - - /* - * This is the good old tone generator using sin(). - * Speed = 1347 usec to generate 1 second, 8KHz dual-tones (2.66GHz P4). - * approx. 10.91 MIPS - * - * 506,535 usec/100.29 MIPS on ARM926EJ-S. - */ - struct gen - { - DATA add; - DATA c; - DATA vol; - }; - - #define GEN_INIT(var,R,F,A) var.add = ((DATA)F)/R, var.c=0, var.vol=A - #define GEN_SAMP(val,var) val = (short)(sin(var.c * 2 * M_PI) * \ - var.vol); \ - var.c += var.add - -#elif PJMEDIA_TONEGEN_ALG==PJMEDIA_TONEGEN_FLOATING_POINT - #include - #define DATA float - - /* - * Default floating-point based tone generation using sine wave - * generation from: - * http://www.musicdsp.org/showone.php?id=10. - * This produces good quality tone in relatively faster time than - * the normal sin() generator. - * Speed = 350 usec to generate 1 second, 8KHz dual-tones (2.66GHz P4). - * approx. 2.84 MIPS - * - * 18,037 usec/3.57 MIPS on ARM926EJ-S. - */ - struct gen - { - DATA a, s0, s1; - }; - - #define GEN_INIT(var,R,F,A) var.a = (DATA) (2.0 * sin(M_PI * F / R)); \ - var.s0 = 0; \ - var.s1 = (DATA)(0 - (int)A) - #define GEN_SAMP(val,var) var.s0 = var.s0 - var.a * var.s1; \ - var.s1 = var.s1 + var.a * var.s0; \ - val = (short) var.s0 - -#elif PJMEDIA_TONEGEN_ALG==PJMEDIA_TONEGEN_FIXED_POINT_CORDIC - /* Cordic algorithm with 28 bit size, from: - * http://www.dcs.gla.ac.uk/~jhw/cordic/ - * Speed = 742 usec to generate 1 second, 8KHz dual-tones (2.66GHz P4). - * (PJMEDIA_TONEGEN_FIXED_POINT_CORDIC_LOOP=7) - * approx. 6.01 MIPS - * - * ARM926EJ-S results: - * loop=7: 8,943 usec/1.77 MIPS - * loop=8: 9,872 usec/1.95 MIPS - * loop=10: 11,662 usec/2.31 MIPS - * loop=12: 13,561 usec/2.69 MIPS - */ - #define CORDIC_1K 0x026DD3B6 - #define CORDIC_HALF_PI 0x06487ED5 - #define CORDIC_PI (CORDIC_HALF_PI * 2) - #define CORDIC_MUL_BITS 26 - #define CORDIC_MUL (1 << CORDIC_MUL_BITS) - #define CORDIC_NTAB 28 - #define CORDIC_LOOP PJMEDIA_TONEGEN_FIXED_POINT_CORDIC_LOOP - - static int cordic_ctab [] = - { - 0x03243F6A, 0x01DAC670, 0x00FADBAF, 0x007F56EA, 0x003FEAB7, - 0x001FFD55, 0x000FFFAA, 0x0007FFF5, 0x0003FFFE, 0x0001FFFF, - 0x0000FFFF, 0x00007FFF, 0x00003FFF, 0x00001FFF, 0x00000FFF, - 0x000007FF, 0x000003FF, 0x000001FF, 0x000000FF, 0x0000007F, - 0x0000003F, 0x0000001F, 0x0000000F, 0x00000007, 0x00000003, - 0x00000001, 0x00000000, 0x00000000 - }; - - static pj_int32_t cordic(pj_int32_t theta, unsigned n) - { - unsigned k; - int d; - pj_int32_t tx; - pj_int32_t x = CORDIC_1K, y = 0, z = theta; - - for (k=0; k=0) ? 0 : -1; - #else - /* Only slightly (~2.5%) faster, but not portable? */ - d = z>>27; - #endif - tx = x - (((y>>k) ^ d) - d); - y = y + (((x>>k) ^ d) - d); - z = z - ((cordic_ctab[k] ^ d) - d); - x = tx; - } - return y; - } - - /* Note: theta must be uint32 here */ - static pj_int32_t cordic_sin(pj_uint32_t theta, unsigned n) - { - if (theta < CORDIC_HALF_PI) - return cordic(theta, n); - else if (theta < CORDIC_PI) - return cordic(CORDIC_HALF_PI-(theta-CORDIC_HALF_PI), n); - else if (theta < CORDIC_PI + CORDIC_HALF_PI) - return -cordic(theta - CORDIC_PI, n); - else if (theta < 2 * CORDIC_PI) - return -cordic(CORDIC_HALF_PI-(theta-3*CORDIC_HALF_PI), n); - else { - pj_assert(!"Invalid cordic_sin() value"); - return 0; - } - } - - struct gen - { - unsigned add; - pj_uint32_t c; - unsigned vol; - }; - - #define VOL(var,v) (((v) * var.vol) >> 15) - #define GEN_INIT(var,R,F,A) gen_init(&var, R, F, A) - #define GEN_SAMP(val,var) val = gen_samp(&var) - - static void gen_init(struct gen *var, unsigned R, unsigned F, unsigned A) - { - var->add = 2*CORDIC_PI/R * F; - var->c = 0; - var->vol = A; - } - - PJ_INLINE(short) gen_samp(struct gen *var) - { - pj_int32_t val; - val = cordic_sin(var->c, CORDIC_LOOP); - /*val = (val * 32767) / CORDIC_MUL; - *val = VOL((*var), val); - */ - val = ((val >> 10) * var->vol) >> 16; - var->c += var->add; - if (var->c > 2*CORDIC_PI) - var->c -= (2 * CORDIC_PI); - return (short) val; - } - -#elif PJMEDIA_TONEGEN_ALG==PJMEDIA_TONEGEN_FAST_FIXED_POINT - - /* - * Fallback algorithm when floating point is disabled. - * This is a very fast fixed point tone generation using sine wave - * approximation from - * http://www.audiomulch.com/~rossb/code/sinusoids/ - * Quality wise not so good, but it's blazing fast! - * Speed = 117 usec to generate 1 second, 8KHz dual-tones (2.66GHz P4). - * approx. 0.95 MIPS - * - * 1,449 usec/0.29 MIPS on ARM926EJ-S. - */ - PJ_INLINE(int) approximate_sin3(unsigned x) - { - unsigned s=-(int)(x>>31); - x+=x; - x=x>>16; - x*=x^0xffff; // x=x*(2-x) - x+=x; // optional - return x^s; - } - struct gen - { - unsigned add; - unsigned c; - unsigned vol; - }; - - #define MAXI ((unsigned)0xFFFFFFFF) - #define SIN approximate_sin3 - #define VOL(var,v) (((v) * var.vol) >> 15) - #define GEN_INIT(var,R,F,A) var.add = MAXI/R * F, var.c=0, var.vol=A - #define GEN_SAMP(val,var) val = (short) VOL(var,SIN(var.c)>>16); \ - var.c += var.add - -#else - #error "PJMEDIA_TONEGEN_ALG is not set correctly" -#endif - -struct gen_state -{ - struct gen tone1; - struct gen tone2; - pj_bool_t has_tone2; -}; - - -static void init_generate_single_tone(struct gen_state *state, - unsigned clock_rate, - unsigned freq, - unsigned vol) -{ - GEN_INIT(state->tone1,clock_rate,freq,vol); - state->has_tone2 = PJ_FALSE; -} - -static void generate_single_tone(struct gen_state *state, - unsigned channel_count, - unsigned samples, - short buf[]) -{ - short *end = buf + samples; - - if (channel_count==1) { - - while (buf < end) { - GEN_SAMP(*buf++, state->tone1); - } - - } else if (channel_count == 2) { - - while (buf < end) { - GEN_SAMP(*buf, state->tone1); - *(buf+1) = *buf; - buf += 2; - } - } -} - - -static void init_generate_dual_tone(struct gen_state *state, - unsigned clock_rate, - unsigned freq1, - unsigned freq2, - unsigned vol) -{ - GEN_INIT(state->tone1,clock_rate,freq1,vol); - GEN_INIT(state->tone2,clock_rate,freq2,vol); - state->has_tone2 = PJ_TRUE; -} - - -static void generate_dual_tone(struct gen_state *state, - unsigned channel_count, - unsigned samples, - short buf[]) -{ - short *end = buf + samples; - - if (channel_count==1) { - int val, val2; - while (buf < end) { - GEN_SAMP(val, state->tone1); - GEN_SAMP(val2, state->tone2); - *buf++ = (short)((val+val2) >> 1); - } - } else if (channel_count == 2) { - int val, val2; - while (buf < end) { - - GEN_SAMP(val, state->tone1); - GEN_SAMP(val2, state->tone2); - val = (val + val2) >> 1; - - *buf++ = (short)val; - *buf++ = (short)val; - } - } -} - - -static void init_generate_tone(struct gen_state *state, - unsigned clock_rate, - unsigned freq1, - unsigned freq2, - unsigned vol) -{ - if (freq2) - init_generate_dual_tone(state, clock_rate, freq1, freq2 ,vol); - else - init_generate_single_tone(state, clock_rate, freq1,vol); -} - - -static void generate_tone(struct gen_state *state, - unsigned channel_count, - unsigned samples, - short buf[]) -{ - if (!state->has_tone2) - generate_single_tone(state, channel_count, samples, buf); - else - generate_dual_tone(state, channel_count, samples, buf); -} - - -/****************************************************************************/ - -#define SIGNATURE PJMEDIA_SIG_PORT_TONEGEN -#define THIS_FILE "tonegen.c" - -#if 0 -# define TRACE_(expr) PJ_LOG(4,expr) -#else -# define TRACE_(expr) -#endif - -enum flags -{ - PJMEDIA_TONE_INITIALIZED = 1, - PJMEDIA_TONE_ENABLE_FADE = 2 -}; - -struct tonegen -{ - pjmedia_port base; - - /* options */ - unsigned options; - unsigned playback_options; - unsigned fade_in_len; /* fade in for this # of samples */ - unsigned fade_out_len; /* fade out for this # of samples*/ - - /* lock */ - pj_lock_t *lock; - - /* Digit map */ - pjmedia_tone_digit_map *digit_map; - - /* Tone generation state */ - struct gen_state state; - - /* Currently played digits: */ - unsigned count; /* # of digits */ - unsigned cur_digit; /* currently played */ - unsigned dig_samples; /* sample pos in cur digit */ - pjmedia_tone_desc digits[PJMEDIA_TONEGEN_MAX_DIGITS];/* array of digits*/ -}; - - -/* Default digit map is DTMF */ -static pjmedia_tone_digit_map digit_map = -{ - 16, - { - { '0', 941, 1336 }, - { '1', 697, 1209 }, - { '2', 697, 1336 }, - { '3', 697, 1477 }, - { '4', 770, 1209 }, - { '5', 770, 1336 }, - { '6', 770, 1477 }, - { '7', 852, 1209 }, - { '8', 852, 1336 }, - { '9', 852, 1477 }, - { 'a', 697, 1633 }, - { 'b', 770, 1633 }, - { 'c', 852, 1633 }, - { 'd', 941, 1633 }, - { '*', 941, 1209 }, - { '#', 941, 1477 }, - } -}; - - -static pj_status_t tonegen_get_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t tonegen_destroy(pjmedia_port *this_port); - -/* - * Create an instance of tone generator with the specified parameters. - * When the tone generator is first created, it will be loaded with the - * default digit map. - */ -PJ_DEF(pj_status_t) pjmedia_tonegen_create2(pj_pool_t *pool, - const pj_str_t *name, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - pjmedia_port **p_port) -{ - const pj_str_t STR_TONE_GEN = pj_str("tonegen"); - struct tonegen *tonegen; - pj_status_t status; - - PJ_ASSERT_RETURN(pool && clock_rate && channel_count && - samples_per_frame && bits_per_sample == 16 && - p_port != NULL, PJ_EINVAL); - - /* Only support mono and stereo */ - PJ_ASSERT_RETURN(channel_count==1 || channel_count==2, PJ_EINVAL); - - /* Create and initialize port */ - tonegen = PJ_POOL_ZALLOC_T(pool, struct tonegen); - if (name == NULL || name->slen == 0) name = &STR_TONE_GEN; - status = pjmedia_port_info_init(&tonegen->base.info, name, - SIGNATURE, clock_rate, channel_count, - bits_per_sample, samples_per_frame); - if (status != PJ_SUCCESS) - return status; - - tonegen->options = options; - tonegen->base.get_frame = &tonegen_get_frame; - tonegen->base.on_destroy = &tonegen_destroy; - tonegen->digit_map = &digit_map; - - tonegen->fade_in_len = PJMEDIA_TONEGEN_FADE_IN_TIME * clock_rate / 1000; - tonegen->fade_out_len = PJMEDIA_TONEGEN_FADE_OUT_TIME * clock_rate / 1000; - - /* Lock */ - if (options & PJMEDIA_TONEGEN_NO_LOCK) { - status = pj_lock_create_null_mutex(pool, "tonegen", &tonegen->lock); - } else { - status = pj_lock_create_simple_mutex(pool, "tonegen", &tonegen->lock); - } - - if (status != PJ_SUCCESS) { - return status; - } - - TRACE_((THIS_FILE, "Tonegen created: %u/%u/%u/%u", clock_rate, - channel_count, samples_per_frame, bits_per_sample)); - - /* Done */ - *p_port = &tonegen->base; - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_tonegen_create( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned options, - pjmedia_port **p_port) -{ - return pjmedia_tonegen_create2(pool, NULL, clock_rate, channel_count, - samples_per_frame, bits_per_sample, - options, p_port); -} - - -/* - * Check if the tone generator is still busy producing some tones. - */ -PJ_DEF(pj_bool_t) pjmedia_tonegen_is_busy(pjmedia_port *port) -{ - struct tonegen *tonegen = (struct tonegen*) port; - PJ_ASSERT_RETURN(port->info.signature == SIGNATURE, PJ_TRUE); - return tonegen->count != 0; -} - - -/* - * Instruct the tone generator to stop current processing. - */ -PJ_DEF(pj_status_t) pjmedia_tonegen_stop(pjmedia_port *port) -{ - struct tonegen *tonegen = (struct tonegen*) port; - PJ_ASSERT_RETURN(port->info.signature == SIGNATURE, PJ_EINVAL); - - TRACE_((THIS_FILE, "tonegen_stop()")); - - pj_lock_acquire(tonegen->lock); - tonegen->count = 0; - tonegen->cur_digit = 0; - tonegen->dig_samples = 0; - pj_lock_release(tonegen->lock); - - return PJ_SUCCESS; -} - - -/* - * Instruct the tone generator to stop current processing. - */ -PJ_DEF(pj_status_t) pjmedia_tonegen_rewind(pjmedia_port *port) -{ - struct tonegen *tonegen = (struct tonegen*) port; - PJ_ASSERT_RETURN(port->info.signature == SIGNATURE, PJ_EINVAL); - - TRACE_((THIS_FILE, "tonegen_rewind()")); - - /* Reset back to the first tone */ - pj_lock_acquire(tonegen->lock); - tonegen->cur_digit = 0; - tonegen->dig_samples = 0; - pj_lock_release(tonegen->lock); - - return PJ_SUCCESS; -} - - -/* - * Callback to destroy tonegen - */ -static pj_status_t tonegen_destroy(pjmedia_port *port) -{ - struct tonegen *tonegen = (struct tonegen*) port; - PJ_ASSERT_RETURN(port->info.signature == SIGNATURE, PJ_EINVAL); - - TRACE_((THIS_FILE, "tonegen_destroy()")); - - pj_lock_acquire(tonegen->lock); - pj_lock_release(tonegen->lock); - - pj_lock_destroy(tonegen->lock); - - return PJ_SUCCESS; -} - -/* - * Fill a frame with tones. - */ -static pj_status_t tonegen_get_frame(pjmedia_port *port, - pjmedia_frame *frame) -{ - struct tonegen *tonegen = (struct tonegen*) port; - short *dst, *end; - unsigned clock_rate = PJMEDIA_PIA_SRATE(&tonegen->base.info); - - PJ_ASSERT_RETURN(port->info.signature == SIGNATURE, PJ_EINVAL); - - pj_lock_acquire(tonegen->lock); - - if (tonegen->count == 0) { - /* We don't have digits to play */ - frame->type = PJMEDIA_FRAME_TYPE_NONE; - goto on_return; - } - - if (tonegen->cur_digit > tonegen->count) { - /* We have played all the digits */ - if ((tonegen->options|tonegen->playback_options)&PJMEDIA_TONEGEN_LOOP) - { - /* Reset back to the first tone */ - tonegen->cur_digit = 0; - tonegen->dig_samples = 0; - - TRACE_((THIS_FILE, "tonegen_get_frame(): rewind")); - - } else { - tonegen->count = 0; - tonegen->cur_digit = 0; - frame->type = PJMEDIA_FRAME_TYPE_NONE; - TRACE_((THIS_FILE, "tonegen_get_frame(): no more digit")); - goto on_return; - } - } - - if (tonegen->dig_samples>=(tonegen->digits[tonegen->cur_digit].on_msec+ - tonegen->digits[tonegen->cur_digit].off_msec)* - clock_rate / 1000) - { - /* We have finished with current digit */ - tonegen->cur_digit++; - tonegen->dig_samples = 0; - - TRACE_((THIS_FILE, "tonegen_get_frame(): next digit")); - } - - if (tonegen->cur_digit >= tonegen->count) { - /* After we're finished with the last digit, we have played all - * the digits - */ - if ((tonegen->options|tonegen->playback_options)&PJMEDIA_TONEGEN_LOOP) - { - /* Reset back to the first tone */ - tonegen->cur_digit = 0; - tonegen->dig_samples = 0; - - TRACE_((THIS_FILE, "tonegen_get_frame(): rewind")); - - } else { - tonegen->count = 0; - tonegen->cur_digit = 0; - frame->type = PJMEDIA_FRAME_TYPE_NONE; - TRACE_((THIS_FILE, "tonegen_get_frame(): no more digit")); - goto on_return; - } - } - - dst = (short*) frame->buf; - end = dst + PJMEDIA_PIA_SPF(&port->info); - - while (dst < end) { - pjmedia_tone_desc *dig = &tonegen->digits[tonegen->cur_digit]; - unsigned required, cnt, on_samp, off_samp; - - required = end - dst; - on_samp = dig->on_msec * clock_rate / 1000; - off_samp = dig->off_msec * clock_rate / 1000; - - /* Init tonegen */ - if (tonegen->dig_samples == 0 && - (tonegen->count!=1 || !(dig->flags & PJMEDIA_TONE_INITIALIZED))) - { - init_generate_tone(&tonegen->state, - PJMEDIA_PIA_SRATE(&port->info), - dig->freq1, dig->freq2, dig->volume); - dig->flags |= PJMEDIA_TONE_INITIALIZED; - if (tonegen->cur_digit > 0) { - /* Clear initialized flag of previous digit */ - tonegen->digits[tonegen->cur_digit-1].flags &= - (~PJMEDIA_TONE_INITIALIZED); - } - } - - /* Add tone signal */ - if (tonegen->dig_samples < on_samp) { - cnt = on_samp - tonegen->dig_samples; - if (cnt > required) - cnt = required; - generate_tone(&tonegen->state, - PJMEDIA_PIA_CCNT(&port->info), - cnt, dst); - - dst += cnt; - tonegen->dig_samples += cnt; - required -= cnt; - - if ((dig->flags & PJMEDIA_TONE_ENABLE_FADE) && - tonegen->dig_samples == cnt) - { - /* Fade in */ - short *samp = (dst - cnt); - short *end; - - if (cnt > tonegen->fade_in_len) - cnt = tonegen->fade_in_len; - end = samp + cnt; - if (cnt) { - const unsigned step = 0xFFFF / cnt; - unsigned scale = 0; - - for (; samp < end; ++samp) { - (*samp) = (short)(((*samp) * scale) >> 16); - scale += step; - } - } - } else if ((dig->flags & PJMEDIA_TONE_ENABLE_FADE) && - tonegen->dig_samples==on_samp) - { - /* Fade out */ - if (cnt > tonegen->fade_out_len) - cnt = tonegen->fade_out_len; - if (cnt) { - short *samp = (dst - cnt); - const unsigned step = 0xFFFF / cnt; - unsigned scale = 0xFFFF - step; - - for (; samp < dst; ++samp) { - (*samp) = (short)(((*samp) * scale) >> 16); - scale -= step; - } - } - } - - if (dst == end) - break; - } - - /* Add silence signal */ - cnt = off_samp + on_samp - tonegen->dig_samples; - if (cnt > required) - cnt = required; - pjmedia_zero_samples(dst, cnt); - dst += cnt; - tonegen->dig_samples += cnt; - - /* Move to next digit if we're finished with this tone */ - if (tonegen->dig_samples >= on_samp + off_samp) { - tonegen->cur_digit++; - tonegen->dig_samples = 0; - - if (tonegen->cur_digit >= tonegen->count) { - /* All digits have been played */ - if ((tonegen->options & PJMEDIA_TONEGEN_LOOP) || - (tonegen->playback_options & PJMEDIA_TONEGEN_LOOP)) - { - tonegen->cur_digit = 0; - } else { - break; - } - } - } - } - - if (dst < end) - pjmedia_zero_samples(dst, end-dst); - - frame->type = PJMEDIA_FRAME_TYPE_AUDIO; - frame->size = PJMEDIA_PIA_AVG_FSZ(&port->info); - - TRACE_((THIS_FILE, "tonegen_get_frame(): frame created, level=%u", - pjmedia_calc_avg_signal((pj_int16_t*)frame->buf, frame->size/2))); - - if (tonegen->cur_digit >= tonegen->count) { - if ((tonegen->options|tonegen->playback_options)&PJMEDIA_TONEGEN_LOOP) - { - /* Reset back to the first tone */ - tonegen->cur_digit = 0; - tonegen->dig_samples = 0; - - TRACE_((THIS_FILE, "tonegen_get_frame(): rewind")); - - } else { - tonegen->count = 0; - tonegen->cur_digit = 0; - - TRACE_((THIS_FILE, "tonegen_get_frame(): no more digit")); - } - } - -on_return: - pj_lock_release(tonegen->lock); - return PJ_SUCCESS; -} - - -/* - * Play tones. - */ -PJ_DEF(pj_status_t) pjmedia_tonegen_play( pjmedia_port *port, - unsigned count, - const pjmedia_tone_desc tones[], - unsigned options) -{ - struct tonegen *tonegen = (struct tonegen*) port; - unsigned i; - - PJ_ASSERT_RETURN(port && port->info.signature == SIGNATURE && - count && tones, PJ_EINVAL); - - /* Don't put more than available buffer */ - PJ_ASSERT_RETURN(count+tonegen->count <= PJMEDIA_TONEGEN_MAX_DIGITS, - PJ_ETOOMANY); - - pj_lock_acquire(tonegen->lock); - - /* Set playback options */ - tonegen->playback_options = options; - - /* Copy digits */ - pj_memcpy(tonegen->digits + tonegen->count, - tones, count * sizeof(pjmedia_tone_desc)); - - /* Normalize volume, and check if we need to disable fading. - * Disable fading if tone off time is zero. Application probably - * wants to play this tone continuously (e.g. dial tone). - */ - for (i=0; idigits[i+tonegen->count]; - if (t->volume == 0) - t->volume = AMP; - else if (t->volume < 0) - t->volume = (short) -t->volume; - /* Reset flags */ - t->flags = 0; - if (t->off_msec != 0) - t->flags |= PJMEDIA_TONE_ENABLE_FADE; - } - - tonegen->count += count; - - pj_lock_release(tonegen->lock); - - return PJ_SUCCESS; -} - - -/* - * Play digits. - */ -PJ_DEF(pj_status_t) pjmedia_tonegen_play_digits( pjmedia_port *port, - unsigned count, - const pjmedia_tone_digit digits[], - unsigned options) -{ - struct tonegen *tonegen = (struct tonegen*) port; - pjmedia_tone_desc tones[PJMEDIA_TONEGEN_MAX_DIGITS]; - const pjmedia_tone_digit_map *map; - unsigned i; - - PJ_ASSERT_RETURN(port && port->info.signature == SIGNATURE && - count && digits, PJ_EINVAL); - PJ_ASSERT_RETURN(count < PJMEDIA_TONEGEN_MAX_DIGITS, PJ_ETOOMANY); - - pj_lock_acquire(tonegen->lock); - - map = tonegen->digit_map; - - for (i=0; icount; ++j) { - if (d == map->digits[j].digit) - break; - } - if (j == map->count) { - pj_lock_release(tonegen->lock); - return PJMEDIA_RTP_EINDTMF; - } - - tones[i].freq1 = map->digits[j].freq1; - tones[i].freq2 = map->digits[j].freq2; - tones[i].on_msec = digits[i].on_msec; - tones[i].off_msec = digits[i].off_msec; - tones[i].volume = digits[i].volume; - } - - pj_lock_release(tonegen->lock); - - return pjmedia_tonegen_play(port, count, tones, options); -} - - -/* - * Get the digit-map currently used by this tone generator. - */ -PJ_DEF(pj_status_t) pjmedia_tonegen_get_digit_map(pjmedia_port *port, - const pjmedia_tone_digit_map **m) -{ - struct tonegen *tonegen = (struct tonegen*) port; - - PJ_ASSERT_RETURN(port->info.signature == SIGNATURE, PJ_EINVAL); - PJ_ASSERT_RETURN(m != NULL, PJ_EINVAL); - - *m = tonegen->digit_map; - - return PJ_SUCCESS; -} - - -/* - * Set digit map to be used by the tone generator. - */ -PJ_DEF(pj_status_t) pjmedia_tonegen_set_digit_map(pjmedia_port *port, - pjmedia_tone_digit_map *m) -{ - struct tonegen *tonegen = (struct tonegen*) port; - - PJ_ASSERT_RETURN(port->info.signature == SIGNATURE, PJ_EINVAL); - PJ_ASSERT_RETURN(m != NULL, PJ_EINVAL); - - pj_lock_acquire(tonegen->lock); - - tonegen->digit_map = m; - - pj_lock_release(tonegen->lock); - - return PJ_SUCCESS; -} - - diff --git a/res/pjproject/pjmedia/src/pjmedia/transport_adapter_sample.c b/res/pjproject/pjmedia/src/pjmedia/transport_adapter_sample.c deleted file mode 100644 index a076bdab6e..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/transport_adapter_sample.c +++ /dev/null @@ -1,440 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - - -/* Transport functions prototypes */ -static pj_status_t transport_get_info (pjmedia_transport *tp, - pjmedia_transport_info *info); -static pj_status_t transport_attach (pjmedia_transport *tp, - void *user_data, - const pj_sockaddr_t *rem_addr, - const pj_sockaddr_t *rem_rtcp, - unsigned addr_len, - void (*rtp_cb)(void*, - void*, - pj_ssize_t), - void (*rtcp_cb)(void*, - void*, - pj_ssize_t)); -static void transport_detach (pjmedia_transport *tp, - void *strm); -static pj_status_t transport_send_rtp( pjmedia_transport *tp, - const void *pkt, - pj_size_t size); -static pj_status_t transport_send_rtcp(pjmedia_transport *tp, - const void *pkt, - pj_size_t size); -static pj_status_t transport_send_rtcp2(pjmedia_transport *tp, - const pj_sockaddr_t *addr, - unsigned addr_len, - const void *pkt, - pj_size_t size); -static pj_status_t transport_media_create(pjmedia_transport *tp, - pj_pool_t *sdp_pool, - unsigned options, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index); -static pj_status_t transport_encode_sdp(pjmedia_transport *tp, - pj_pool_t *sdp_pool, - pjmedia_sdp_session *local_sdp, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index); -static pj_status_t transport_media_start (pjmedia_transport *tp, - pj_pool_t *pool, - const pjmedia_sdp_session *local_sdp, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index); -static pj_status_t transport_media_stop(pjmedia_transport *tp); -static pj_status_t transport_simulate_lost(pjmedia_transport *tp, - pjmedia_dir dir, - unsigned pct_lost); -static pj_status_t transport_destroy (pjmedia_transport *tp); - - -/* The transport operations */ -static struct pjmedia_transport_op tp_adapter_op = -{ - &transport_get_info, - &transport_attach, - &transport_detach, - &transport_send_rtp, - &transport_send_rtcp, - &transport_send_rtcp2, - &transport_media_create, - &transport_encode_sdp, - &transport_media_start, - &transport_media_stop, - &transport_simulate_lost, - &transport_destroy -}; - - -/* The transport adapter instance */ -struct tp_adapter -{ - pjmedia_transport base; - pj_bool_t del_base; - - pj_pool_t *pool; - - /* Stream information. */ - void *stream_user_data; - void (*stream_rtp_cb)(void *user_data, - void *pkt, - pj_ssize_t); - void (*stream_rtcp_cb)(void *user_data, - void *pkt, - pj_ssize_t); - - - /* Add your own member here.. */ - pjmedia_transport *slave_tp; -}; - - -/* - * Create the adapter. - */ -PJ_DEF(pj_status_t) pjmedia_tp_adapter_create( pjmedia_endpt *endpt, - const char *name, - pjmedia_transport *transport, - pj_bool_t del_base, - pjmedia_transport **p_tp) -{ - pj_pool_t *pool; - struct tp_adapter *adapter; - - if (name == NULL) - name = "tpad%p"; - - /* Create the pool and initialize the adapter structure */ - pool = pjmedia_endpt_create_pool(endpt, name, 512, 512); - adapter = PJ_POOL_ZALLOC_T(pool, struct tp_adapter); - adapter->pool = pool; - pj_ansi_strncpy(adapter->base.name, pool->obj_name, - sizeof(adapter->base.name)); - adapter->base.type = (pjmedia_transport_type) - (PJMEDIA_TRANSPORT_TYPE_USER + 1); - adapter->base.op = &tp_adapter_op; - - /* Save the transport as the slave transport */ - adapter->slave_tp = transport; - adapter->del_base = del_base; - - /* Done */ - *p_tp = &adapter->base; - return PJ_SUCCESS; -} - - -/* - * get_info() is called to get the transport addresses to be put - * in SDP c= line and a=rtcp line. - */ -static pj_status_t transport_get_info(pjmedia_transport *tp, - pjmedia_transport_info *info) -{ - struct tp_adapter *adapter = (struct tp_adapter*)tp; - - /* Since we don't have our own connection here, we just pass - * this function to the slave transport. - */ - return pjmedia_transport_get_info(adapter->slave_tp, info); -} - - -/* This is our RTP callback, that is called by the slave transport when it - * receives RTP packet. - */ -static void transport_rtp_cb(void *user_data, void *pkt, pj_ssize_t size) -{ - struct tp_adapter *adapter = (struct tp_adapter*)user_data; - - pj_assert(adapter->stream_rtp_cb != NULL); - - /* Call stream's callback */ - adapter->stream_rtp_cb(adapter->stream_user_data, pkt, size); -} - -/* This is our RTCP callback, that is called by the slave transport when it - * receives RTCP packet. - */ -static void transport_rtcp_cb(void *user_data, void *pkt, pj_ssize_t size) -{ - struct tp_adapter *adapter = (struct tp_adapter*)user_data; - - pj_assert(adapter->stream_rtcp_cb != NULL); - - /* Call stream's callback */ - adapter->stream_rtcp_cb(adapter->stream_user_data, pkt, size); -} - - -/* - * attach() is called by stream to register callbacks that we should - * call on receipt of RTP and RTCP packets. - */ -static pj_status_t transport_attach(pjmedia_transport *tp, - void *user_data, - const pj_sockaddr_t *rem_addr, - const pj_sockaddr_t *rem_rtcp, - unsigned addr_len, - void (*rtp_cb)(void*, - void*, - pj_ssize_t), - void (*rtcp_cb)(void*, - void*, - pj_ssize_t)) -{ - struct tp_adapter *adapter = (struct tp_adapter*)tp; - pj_status_t status; - - /* In this example, we will save the stream information and callbacks - * to our structure, and we will register different RTP/RTCP callbacks - * instead. - */ - pj_assert(adapter->stream_user_data == NULL); - adapter->stream_user_data = user_data; - adapter->stream_rtp_cb = rtp_cb; - adapter->stream_rtcp_cb = rtcp_cb; - - status = pjmedia_transport_attach(adapter->slave_tp, adapter, rem_addr, - rem_rtcp, addr_len, &transport_rtp_cb, - &transport_rtcp_cb); - if (status != PJ_SUCCESS) { - adapter->stream_user_data = NULL; - adapter->stream_rtp_cb = NULL; - adapter->stream_rtcp_cb = NULL; - return status; - } - - return PJ_SUCCESS; -} - -/* - * detach() is called when the media is terminated, and the stream is - * to be disconnected from us. - */ -static void transport_detach(pjmedia_transport *tp, void *strm) -{ - struct tp_adapter *adapter = (struct tp_adapter*)tp; - - PJ_UNUSED_ARG(strm); - - if (adapter->stream_user_data != NULL) { - pjmedia_transport_detach(adapter->slave_tp, adapter); - adapter->stream_user_data = NULL; - adapter->stream_rtp_cb = NULL; - adapter->stream_rtcp_cb = NULL; - } -} - - -/* - * send_rtp() is called to send RTP packet. The "pkt" and "size" argument - * contain both the RTP header and the payload. - */ -static pj_status_t transport_send_rtp( pjmedia_transport *tp, - const void *pkt, - pj_size_t size) -{ - struct tp_adapter *adapter = (struct tp_adapter*)tp; - - /* You may do some processing to the RTP packet here if you want. */ - - /* Send the packet using the slave transport */ - return pjmedia_transport_send_rtp(adapter->slave_tp, pkt, size); -} - - -/* - * send_rtcp() is called to send RTCP packet. The "pkt" and "size" argument - * contain the RTCP packet. - */ -static pj_status_t transport_send_rtcp(pjmedia_transport *tp, - const void *pkt, - pj_size_t size) -{ - struct tp_adapter *adapter = (struct tp_adapter*)tp; - - /* You may do some processing to the RTCP packet here if you want. */ - - /* Send the packet using the slave transport */ - return pjmedia_transport_send_rtcp(adapter->slave_tp, pkt, size); -} - - -/* - * This is another variant of send_rtcp(), with the alternate destination - * address in the argument. - */ -static pj_status_t transport_send_rtcp2(pjmedia_transport *tp, - const pj_sockaddr_t *addr, - unsigned addr_len, - const void *pkt, - pj_size_t size) -{ - struct tp_adapter *adapter = (struct tp_adapter*)tp; - return pjmedia_transport_send_rtcp2(adapter->slave_tp, addr, addr_len, - pkt, size); -} - -/* - * The media_create() is called when the transport is about to be used for - * a new call. - */ -static pj_status_t transport_media_create(pjmedia_transport *tp, - pj_pool_t *sdp_pool, - unsigned options, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index) -{ - struct tp_adapter *adapter = (struct tp_adapter*)tp; - - /* if "rem_sdp" is not NULL, it means we are UAS. You may do some - * inspections on the incoming SDP to verify that the SDP is acceptable - * for us. If the SDP is not acceptable, we can reject the SDP by - * returning non-PJ_SUCCESS. - */ - if (rem_sdp) { - /* Do your stuff.. */ - } - - /* Once we're done with our initialization, pass the call to the - * slave transports to let it do it's own initialization too. - */ - return pjmedia_transport_media_create(adapter->slave_tp, sdp_pool, options, - rem_sdp, media_index); -} - -/* - * The encode_sdp() is called when we're about to send SDP to remote party, - * either as SDP offer or as SDP answer. - */ -static pj_status_t transport_encode_sdp(pjmedia_transport *tp, - pj_pool_t *sdp_pool, - pjmedia_sdp_session *local_sdp, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index) -{ - struct tp_adapter *adapter = (struct tp_adapter*)tp; - - /* If "rem_sdp" is not NULL, it means we're encoding SDP answer. You may - * do some more checking on the SDP's once again to make sure that - * everything is okay before we send SDP. - */ - if (rem_sdp) { - /* Do checking stuffs here.. */ - } - - /* You may do anything to the local_sdp, e.g. adding new attributes, or - * even modifying the SDP if you want. - */ - if (1) { - /* Say we add a proprietary attribute here.. */ - pjmedia_sdp_attr *my_attr; - - my_attr = PJ_POOL_ALLOC_T(sdp_pool, pjmedia_sdp_attr); - pj_strdup2(sdp_pool, &my_attr->name, "X-adapter"); - pj_strdup2(sdp_pool, &my_attr->value, "some value"); - - pjmedia_sdp_attr_add(&local_sdp->media[media_index]->attr_count, - local_sdp->media[media_index]->attr, - my_attr); - } - - /* And then pass the call to slave transport to let it encode its - * information in the SDP. You may choose to call encode_sdp() to slave - * first before adding your custom attributes if you want. - */ - return pjmedia_transport_encode_sdp(adapter->slave_tp, sdp_pool, local_sdp, - rem_sdp, media_index); -} - -/* - * The media_start() is called once both local and remote SDP have been - * negotiated successfully, and the media is ready to start. Here we can start - * committing our processing. - */ -static pj_status_t transport_media_start(pjmedia_transport *tp, - pj_pool_t *pool, - const pjmedia_sdp_session *local_sdp, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index) -{ - struct tp_adapter *adapter = (struct tp_adapter*)tp; - - /* Do something.. */ - - /* And pass the call to the slave transport */ - return pjmedia_transport_media_start(adapter->slave_tp, pool, local_sdp, - rem_sdp, media_index); -} - -/* - * The media_stop() is called when media has been stopped. - */ -static pj_status_t transport_media_stop(pjmedia_transport *tp) -{ - struct tp_adapter *adapter = (struct tp_adapter*)tp; - - /* Do something.. */ - - /* And pass the call to the slave transport */ - return pjmedia_transport_media_stop(adapter->slave_tp); -} - -/* - * simulate_lost() is called to simulate packet lost - */ -static pj_status_t transport_simulate_lost(pjmedia_transport *tp, - pjmedia_dir dir, - unsigned pct_lost) -{ - struct tp_adapter *adapter = (struct tp_adapter*)tp; - return pjmedia_transport_simulate_lost(adapter->slave_tp, dir, pct_lost); -} - -/* - * destroy() is called when the transport is no longer needed. - */ -static pj_status_t transport_destroy (pjmedia_transport *tp) -{ - struct tp_adapter *adapter = (struct tp_adapter*)tp; - - /* Close the slave transport */ - if (adapter->del_base) { - pjmedia_transport_close(adapter->slave_tp); - } - - /* Self destruct.. */ - pj_pool_release(adapter->pool); - - return PJ_SUCCESS; -} - - - - - diff --git a/res/pjproject/pjmedia/src/pjmedia/transport_ice.c b/res/pjproject/pjmedia/src/pjmedia/transport_ice.c deleted file mode 100644 index 2059b5c2b7..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/transport_ice.c +++ /dev/null @@ -1,1853 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "transport_ice.c" -#if 0 -# define TRACE__(expr) PJ_LOG(5,expr) -#else -# define TRACE__(expr) -#endif - -enum oa_role -{ - ROLE_NONE, - ROLE_OFFERER, - ROLE_ANSWERER -}; - -struct sdp_state -{ - unsigned match_comp_cnt; /* Matching number of components */ - pj_bool_t ice_mismatch; /* Address doesn't match candidates */ - pj_bool_t ice_restart; /* Offer to restart ICE */ - pj_ice_sess_role local_role; /* Our role */ -}; - -struct transport_ice -{ - pjmedia_transport base; - pj_pool_t *pool; - int af; - unsigned options; /**< Transport options. */ - - unsigned comp_cnt; - pj_ice_strans *ice_st; - - pjmedia_ice_cb cb; - unsigned media_option; - - pj_bool_t initial_sdp; - enum oa_role oa_role; /**< Last role in SDP offer/answer */ - struct sdp_state rem_offer_state;/**< Describes the remote offer */ - - void *stream; - pj_sockaddr remote_rtp; - pj_sockaddr remote_rtcp; - unsigned addr_len; /**< Length of addresses. */ - - pj_bool_t use_ice; - pj_sockaddr rtp_src_addr; /**< Actual source RTP address. */ - pj_sockaddr rtcp_src_addr; /**< Actual source RTCP address. */ - unsigned rtp_src_cnt; /**< How many pkt from this addr. */ - unsigned rtcp_src_cnt; /**< How many pkt from this addr. */ - - unsigned tx_drop_pct; /**< Percent of tx pkts to drop. */ - unsigned rx_drop_pct; /**< Percent of rx pkts to drop. */ - - void (*rtp_cb)(void*, - void*, - pj_ssize_t); - void (*rtcp_cb)(void*, - void*, - pj_ssize_t); -}; - - -/* - * These are media transport operations. - */ -static pj_status_t transport_get_info (pjmedia_transport *tp, - pjmedia_transport_info *info); -static pj_status_t transport_attach (pjmedia_transport *tp, - void *user_data, - const pj_sockaddr_t *rem_addr, - const pj_sockaddr_t *rem_rtcp, - unsigned addr_len, - void (*rtp_cb)(void*, - void*, - pj_ssize_t), - void (*rtcp_cb)(void*, - void*, - pj_ssize_t)); -static void transport_detach (pjmedia_transport *tp, - void *strm); -static pj_status_t transport_send_rtp( pjmedia_transport *tp, - const void *pkt, - pj_size_t size); -static pj_status_t transport_send_rtcp(pjmedia_transport *tp, - const void *pkt, - pj_size_t size); -static pj_status_t transport_send_rtcp2(pjmedia_transport *tp, - const pj_sockaddr_t *addr, - unsigned addr_len, - const void *pkt, - pj_size_t size); -static pj_status_t transport_media_create(pjmedia_transport *tp, - pj_pool_t *pool, - unsigned options, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index); -static pj_status_t transport_encode_sdp(pjmedia_transport *tp, - pj_pool_t *tmp_pool, - pjmedia_sdp_session *sdp_local, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index); -static pj_status_t transport_media_start(pjmedia_transport *tp, - pj_pool_t *pool, - const pjmedia_sdp_session *sdp_local, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index); -static pj_status_t transport_media_stop(pjmedia_transport *tp); -static pj_status_t transport_simulate_lost(pjmedia_transport *tp, - pjmedia_dir dir, - unsigned pct_lost); -static pj_status_t transport_destroy (pjmedia_transport *tp); - -/* - * And these are ICE callbacks. - */ -static void ice_on_rx_data(pj_ice_strans *ice_st, - unsigned comp_id, - void *pkt, pj_size_t size, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); -static void ice_on_ice_complete(pj_ice_strans *ice_st, - pj_ice_strans_op op, - pj_status_t status); - - -static pjmedia_transport_op transport_ice_op = -{ - &transport_get_info, - &transport_attach, - &transport_detach, - &transport_send_rtp, - &transport_send_rtcp, - &transport_send_rtcp2, - &transport_media_create, - &transport_encode_sdp, - &transport_media_start, - &transport_media_stop, - &transport_simulate_lost, - &transport_destroy -}; - -static const pj_str_t STR_RTP_AVP = { "RTP/AVP", 7 }; -static const pj_str_t STR_CANDIDATE = { "candidate", 9}; -static const pj_str_t STR_REM_CAND = { "remote-candidates", 17 }; -static const pj_str_t STR_ICE_LITE = { "ice-lite", 8}; -static const pj_str_t STR_ICE_MISMATCH = { "ice-mismatch", 12}; -static const pj_str_t STR_ICE_UFRAG = { "ice-ufrag", 9 }; -static const pj_str_t STR_ICE_PWD = { "ice-pwd", 7 }; -static const pj_str_t STR_IP4 = { "IP4", 3 }; -static const pj_str_t STR_IP6 = { "IP6", 3 }; -static const pj_str_t STR_RTCP = { "rtcp", 4 }; -static const pj_str_t STR_BANDW_RR = { "RR", 2 }; -static const pj_str_t STR_BANDW_RS = { "RS", 2 }; - -enum { - COMP_RTP = 1, - COMP_RTCP = 2 -}; - -/* - * Create ICE media transport. - */ -PJ_DEF(pj_status_t) pjmedia_ice_create(pjmedia_endpt *endpt, - const char *name, - unsigned comp_cnt, - const pj_ice_strans_cfg *cfg, - const pjmedia_ice_cb *cb, - pjmedia_transport **p_tp) -{ - return pjmedia_ice_create2(endpt, name, comp_cnt, cfg, cb, 0, p_tp); -} - -/* - * Create ICE media transport. - */ -PJ_DEF(pj_status_t) pjmedia_ice_create2(pjmedia_endpt *endpt, - const char *name, - unsigned comp_cnt, - const pj_ice_strans_cfg *cfg, - const pjmedia_ice_cb *cb, - unsigned options, - pjmedia_transport **p_tp) -{ - return pjmedia_ice_create3(endpt, name, comp_cnt, cfg, cb, - options, NULL, p_tp); -} - -/* - * Create ICE media transport. - */ -PJ_DEF(pj_status_t) pjmedia_ice_create3(pjmedia_endpt *endpt, - const char *name, - unsigned comp_cnt, - const pj_ice_strans_cfg *cfg, - const pjmedia_ice_cb *cb, - unsigned options, - void *user_data, - pjmedia_transport **p_tp) -{ - pj_pool_t *pool; - pj_ice_strans_cb ice_st_cb; - struct transport_ice *tp_ice; - pj_status_t status; - - PJ_ASSERT_RETURN(endpt && comp_cnt && cfg && p_tp, PJ_EINVAL); - - /* Create transport instance */ - pool = pjmedia_endpt_create_pool(endpt, name, 512, 512); - tp_ice = PJ_POOL_ZALLOC_T(pool, struct transport_ice); - tp_ice->pool = pool; - tp_ice->af = cfg->af; - tp_ice->options = options; - tp_ice->comp_cnt = comp_cnt; - pj_ansi_strcpy(tp_ice->base.name, pool->obj_name); - tp_ice->base.op = &transport_ice_op; - tp_ice->base.type = PJMEDIA_TRANSPORT_TYPE_ICE; - tp_ice->base.user_data = user_data; - tp_ice->initial_sdp = PJ_TRUE; - tp_ice->oa_role = ROLE_NONE; - tp_ice->use_ice = PJ_FALSE; - - if (cb) - pj_memcpy(&tp_ice->cb, cb, sizeof(pjmedia_ice_cb)); - - /* Assign return value first because ICE might call callback - * in create() - */ - *p_tp = &tp_ice->base; - - /* Configure ICE callbacks */ - pj_bzero(&ice_st_cb, sizeof(ice_st_cb)); - ice_st_cb.on_ice_complete = &ice_on_ice_complete; - ice_st_cb.on_rx_data = &ice_on_rx_data; - - /* Create ICE */ - status = pj_ice_strans_create(name, cfg, comp_cnt, tp_ice, - &ice_st_cb, &tp_ice->ice_st); - if (status != PJ_SUCCESS) { - pj_pool_release(pool); - *p_tp = NULL; - return status; - } - - /* Done */ - return PJ_SUCCESS; -} - -/* Disable ICE when SDP from remote doesn't contain a=candidate line */ -static void set_no_ice(struct transport_ice *tp_ice, const char *reason, - pj_status_t err) -{ - if (err != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(err, errmsg, sizeof(errmsg)); - PJ_LOG(4,(tp_ice->base.name, - "Stopping ICE, reason=%s:%s", reason, errmsg)); - } else { - PJ_LOG(4,(tp_ice->base.name, - "Stopping ICE, reason=%s", reason)); - } - - pj_ice_strans_stop_ice(tp_ice->ice_st); - - tp_ice->use_ice = PJ_FALSE; -} - - -/* Create SDP candidate attribute */ -static int print_sdp_cand_attr(char *buffer, int max_len, - const pj_ice_sess_cand *cand) -{ - char ipaddr[PJ_INET6_ADDRSTRLEN+2]; - int len, len2; - - len = pj_ansi_snprintf( buffer, max_len, - "%.*s %u UDP %u %s %u typ ", - (int)cand->foundation.slen, - cand->foundation.ptr, - (unsigned)cand->comp_id, - cand->prio, - pj_sockaddr_print(&cand->addr, ipaddr, - sizeof(ipaddr), 0), - (unsigned)pj_sockaddr_get_port(&cand->addr)); - if (len < 1 || len >= max_len) - return -1; - - switch (cand->type) { - case PJ_ICE_CAND_TYPE_HOST: - len2 = pj_ansi_snprintf(buffer+len, max_len-len, "host"); - break; - case PJ_ICE_CAND_TYPE_SRFLX: - case PJ_ICE_CAND_TYPE_RELAYED: - case PJ_ICE_CAND_TYPE_PRFLX: - len2 = pj_ansi_snprintf(buffer+len, max_len-len, - "%s raddr %s rport %d", - pj_ice_get_cand_type_name(cand->type), - pj_sockaddr_print(&cand->rel_addr, ipaddr, - sizeof(ipaddr), 0), - (int)pj_sockaddr_get_port(&cand->rel_addr)); - break; - default: - pj_assert(!"Invalid candidate type"); - len2 = -1; - break; - } - if (len2 < 1 || len2 >= max_len) - return -1; - - return len+len2; -} - - -/* Get ice-ufrag and ice-pwd attribute */ -static void get_ice_attr(const pjmedia_sdp_session *rem_sdp, - const pjmedia_sdp_media *rem_m, - const pjmedia_sdp_attr **p_ice_ufrag, - const pjmedia_sdp_attr **p_ice_pwd) -{ - pjmedia_sdp_attr *attr; - - /* Find ice-ufrag attribute in media descriptor */ - attr = pjmedia_sdp_attr_find(rem_m->attr_count, rem_m->attr, - &STR_ICE_UFRAG, NULL); - if (attr == NULL) { - /* Find ice-ufrag attribute in session descriptor */ - attr = pjmedia_sdp_attr_find(rem_sdp->attr_count, rem_sdp->attr, - &STR_ICE_UFRAG, NULL); - } - *p_ice_ufrag = attr; - - /* Find ice-pwd attribute in media descriptor */ - attr = pjmedia_sdp_attr_find(rem_m->attr_count, rem_m->attr, - &STR_ICE_PWD, NULL); - if (attr == NULL) { - /* Find ice-pwd attribute in session descriptor */ - attr = pjmedia_sdp_attr_find(rem_sdp->attr_count, rem_sdp->attr, - &STR_ICE_PWD, NULL); - } - *p_ice_pwd = attr; -} - - -/* Encode and add "a=ice-mismatch" attribute in the SDP */ -static void encode_ice_mismatch(pj_pool_t *sdp_pool, - pjmedia_sdp_session *sdp_local, - unsigned media_index) -{ - pjmedia_sdp_attr *attr; - pjmedia_sdp_media *m = sdp_local->media[media_index]; - - attr = PJ_POOL_ALLOC_T(sdp_pool, pjmedia_sdp_attr); - attr->name = STR_ICE_MISMATCH; - attr->value.slen = 0; - pjmedia_sdp_attr_add(&m->attr_count, m->attr, attr); -} - - -/* Encode ICE information in SDP */ -static pj_status_t encode_session_in_sdp(struct transport_ice *tp_ice, - pj_pool_t *sdp_pool, - pjmedia_sdp_session *sdp_local, - unsigned media_index, - unsigned comp_cnt, - pj_bool_t restart_session) -{ - enum { - ATTR_BUF_LEN = 160, /* Max len of a=candidate attr */ - RATTR_BUF_LEN= 160 /* Max len of a=remote-candidates attr */ - }; - pjmedia_sdp_media *m = sdp_local->media[media_index]; - pj_str_t local_ufrag, local_pwd; - pjmedia_sdp_attr *attr; - pj_status_t status; - - /* Must have a session */ - PJ_ASSERT_RETURN(pj_ice_strans_has_sess(tp_ice->ice_st), PJ_EBUG); - - /* Get ufrag and pwd from current session */ - pj_ice_strans_get_ufrag_pwd(tp_ice->ice_st, &local_ufrag, &local_pwd, - NULL, NULL); - - /* The listing of candidates depends on whether ICE has completed - * or not. When ICE has completed: - * - * 9.1.2.2: Existing Media Streams with ICE Completed - * The agent MUST include a candidate attributes for candidates - * matching the default destination for each component of the - * media stream, and MUST NOT include any other candidates. - * - * When ICE has not completed, we shall include all candidates. - * - * Except when we have detected that remote is offering to restart - * the session, in this case we will answer with full ICE SDP and - * new ufrag/pwd pair. - */ - if (!restart_session && pj_ice_strans_sess_is_complete(tp_ice->ice_st) && - pj_ice_strans_get_state(tp_ice->ice_st) != PJ_ICE_STRANS_STATE_FAILED) - { - const pj_ice_sess_check *check; - char *attr_buf; - pjmedia_sdp_conn *conn; - pjmedia_sdp_attr *a_rtcp; - pj_str_t rem_cand; - unsigned comp; - - /* Encode ice-ufrag attribute */ - attr = pjmedia_sdp_attr_create(sdp_pool, STR_ICE_UFRAG.ptr, - &local_ufrag); - pjmedia_sdp_attr_add(&m->attr_count, m->attr, attr); - - /* Encode ice-pwd attribute */ - attr = pjmedia_sdp_attr_create(sdp_pool, STR_ICE_PWD.ptr, - &local_pwd); - pjmedia_sdp_attr_add(&m->attr_count, m->attr, attr); - - /* Prepare buffer */ - attr_buf = (char*) pj_pool_alloc(sdp_pool, ATTR_BUF_LEN); - rem_cand.ptr = (char*) pj_pool_alloc(sdp_pool, RATTR_BUF_LEN); - rem_cand.slen = 0; - - /* 9.1.2.2: Existing Media Streams with ICE Completed - * The default destination for media (i.e., the values of - * the IP addresses and ports in the m and c line used for - * that media stream) MUST be the local candidate from the - * highest priority nominated pair in the valid list for each - * component. - */ - check = pj_ice_strans_get_valid_pair(tp_ice->ice_st, 1); - if (check == NULL) { - pj_assert(!"Shouldn't happen"); - return PJ_EBUG; - } - - /* Override connection line address and media port number */ - conn = m->conn; - if (conn == NULL) - conn = sdp_local->conn; - - conn->addr.ptr = (char*) pj_pool_alloc(sdp_pool, - PJ_INET6_ADDRSTRLEN); - pj_sockaddr_print(&check->lcand->addr, conn->addr.ptr, - PJ_INET6_ADDRSTRLEN, 0); - conn->addr.slen = pj_ansi_strlen(conn->addr.ptr); - m->desc.port = pj_sockaddr_get_port(&check->lcand->addr); - - /* Override address RTCP attribute if it's present */ - if (comp_cnt == 2 && - (check = pj_ice_strans_get_valid_pair(tp_ice->ice_st, - COMP_RTCP)) != NULL && - (a_rtcp = pjmedia_sdp_attr_find(m->attr_count, m->attr, - &STR_RTCP, 0)) != NULL) - { - pjmedia_sdp_attr_remove(&m->attr_count, m->attr, a_rtcp); - - a_rtcp = pjmedia_sdp_attr_create_rtcp(sdp_pool, - &check->lcand->addr); - if (a_rtcp) - pjmedia_sdp_attr_add(&m->attr_count, m->attr, a_rtcp); - } - - /* Encode only candidates matching the default destination - * for each component - */ - for (comp=0; comp < comp_cnt; ++comp) { - int len; - pj_str_t value; - - /* Get valid pair for this component */ - check = pj_ice_strans_get_valid_pair(tp_ice->ice_st, comp+1); - if (check == NULL) - continue; - - /* Print and add local candidate in the pair */ - value.ptr = attr_buf; - value.slen = print_sdp_cand_attr(attr_buf, ATTR_BUF_LEN, - check->lcand); - if (value.slen < 0) { - pj_assert(!"Not enough attr_buf to print candidate"); - return PJ_EBUG; - } - - attr = pjmedia_sdp_attr_create(sdp_pool, STR_CANDIDATE.ptr, - &value); - pjmedia_sdp_attr_add(&m->attr_count, m->attr, attr); - - /* Append to a=remote-candidates attribute */ - if (pj_ice_strans_get_role(tp_ice->ice_st) == - PJ_ICE_SESS_ROLE_CONTROLLING) - { - char rem_addr[PJ_INET6_ADDRSTRLEN]; - - pj_sockaddr_print(&check->rcand->addr, rem_addr, - sizeof(rem_addr), 0); - len = pj_ansi_snprintf( - rem_cand.ptr + rem_cand.slen, - RATTR_BUF_LEN - rem_cand.slen, - "%s%u %s %u", - (rem_cand.slen==0? "" : " "), - comp+1, rem_addr, - pj_sockaddr_get_port(&check->rcand->addr) - ); - if (len < 1 || len >= RATTR_BUF_LEN) { - pj_assert(!"Not enough buffer to print " - "remote-candidates"); - return PJ_EBUG; - } - - rem_cand.slen += len; - } - } - - /* 9.1.2.2: Existing Media Streams with ICE Completed - * In addition, if the agent is controlling, it MUST include - * the a=remote-candidates attribute for each media stream - * whose check list is in the Completed state. The attribute - * contains the remote candidates from the highest priority - * nominated pair in the valid list for each component of that - * media stream. - */ - if (pj_ice_strans_get_role(tp_ice->ice_st) == - PJ_ICE_SESS_ROLE_CONTROLLING) - { - attr = pjmedia_sdp_attr_create(sdp_pool, STR_REM_CAND.ptr, - &rem_cand); - pjmedia_sdp_attr_add(&m->attr_count, m->attr, attr); - } - - } else if (pj_ice_strans_has_sess(tp_ice->ice_st) && - pj_ice_strans_get_state(tp_ice->ice_st) != - PJ_ICE_STRANS_STATE_FAILED) - { - /* Encode all candidates to SDP media */ - char *attr_buf; - unsigned comp; - - /* If ICE is not restarted, encode current ICE ufrag/pwd. - * Otherwise generate new one. - */ - if (!restart_session) { - attr = pjmedia_sdp_attr_create(sdp_pool, STR_ICE_UFRAG.ptr, - &local_ufrag); - pjmedia_sdp_attr_add(&m->attr_count, m->attr, attr); - - attr = pjmedia_sdp_attr_create(sdp_pool, STR_ICE_PWD.ptr, - &local_pwd); - pjmedia_sdp_attr_add(&m->attr_count, m->attr, attr); - - } else { - pj_str_t str; - - str.slen = PJ_ICE_UFRAG_LEN; - str.ptr = (char*) pj_pool_alloc(sdp_pool, str.slen); - pj_create_random_string(str.ptr, str.slen); - attr = pjmedia_sdp_attr_create(sdp_pool, STR_ICE_UFRAG.ptr, &str); - pjmedia_sdp_attr_add(&m->attr_count, m->attr, attr); - - str.ptr = (char*) pj_pool_alloc(sdp_pool, str.slen); - pj_create_random_string(str.ptr, str.slen); - attr = pjmedia_sdp_attr_create(sdp_pool, STR_ICE_PWD.ptr, &str); - pjmedia_sdp_attr_add(&m->attr_count, m->attr, attr); - } - - /* Create buffer to encode candidates as SDP attribute */ - attr_buf = (char*) pj_pool_alloc(sdp_pool, ATTR_BUF_LEN); - - for (comp=0; comp < comp_cnt; ++comp) { - unsigned cand_cnt; - pj_ice_sess_cand cand[PJ_ICE_ST_MAX_CAND]; - unsigned i; - - cand_cnt = PJ_ARRAY_SIZE(cand); - status = pj_ice_strans_enum_cands(tp_ice->ice_st, comp+1, - &cand_cnt, cand); - if (status != PJ_SUCCESS) - return status; - - for (i=0; iattr_count, m->attr, attr); - } - } - } else { - /* ICE has failed, application should have terminated this call */ - } - - /* Removing a=rtcp line when there is only one component. */ - if (comp_cnt == 1) { - attr = pjmedia_sdp_attr_find(m->attr_count, m->attr, &STR_RTCP, NULL); - if (attr) - pjmedia_sdp_attr_remove(&m->attr_count, m->attr, attr); - /* If RTCP is not in use, we MUST send b=RS:0 and b=RR:0. */ - pj_assert(m->bandw_count + 2 <= PJ_ARRAY_SIZE(m->bandw)); - if (m->bandw_count + 2 <= PJ_ARRAY_SIZE(m->bandw)) { - m->bandw[m->bandw_count] = PJ_POOL_ZALLOC_T(sdp_pool, - pjmedia_sdp_bandw); - pj_memcpy(&m->bandw[m->bandw_count]->modifier, &STR_BANDW_RS, - sizeof(pj_str_t)); - m->bandw_count++; - m->bandw[m->bandw_count] = PJ_POOL_ZALLOC_T(sdp_pool, - pjmedia_sdp_bandw); - pj_memcpy(&m->bandw[m->bandw_count]->modifier, &STR_BANDW_RR, - sizeof(pj_str_t)); - m->bandw_count++; - } - } - - - return PJ_SUCCESS; -} - - -/* Parse a=candidate line */ -static pj_status_t parse_cand(const char *obj_name, - pj_pool_t *pool, - const pj_str_t *orig_input, - pj_ice_sess_cand *cand) -{ - pj_str_t input; - char *token, *host; - int af; - pj_str_t s; - pj_status_t status = PJNATH_EICEINCANDSDP; - - pj_bzero(cand, sizeof(*cand)); - pj_strdup_with_null(pool, &input, orig_input); - - PJ_UNUSED_ARG(obj_name); - - /* Foundation */ - token = strtok(input.ptr, " "); - if (!token) { - TRACE__((obj_name, "Expecting ICE foundation in candidate")); - goto on_return; - } - pj_strdup2(pool, &cand->foundation, token); - - /* Component ID */ - token = strtok(NULL, " "); - if (!token) { - TRACE__((obj_name, "Expecting ICE component ID in candidate")); - goto on_return; - } - cand->comp_id = (pj_uint8_t) atoi(token); - - /* Transport */ - token = strtok(NULL, " "); - if (!token) { - TRACE__((obj_name, "Expecting ICE transport in candidate")); - goto on_return; - } - if (pj_ansi_stricmp(token, "UDP") != 0) { - TRACE__((obj_name, - "Expecting ICE UDP transport only in candidate")); - goto on_return; - } - - /* Priority */ - token = strtok(NULL, " "); - if (!token) { - TRACE__((obj_name, "Expecting ICE priority in candidate")); - goto on_return; - } - cand->prio = atoi(token); - - /* Host */ - host = strtok(NULL, " "); - if (!host) { - TRACE__((obj_name, "Expecting ICE host in candidate")); - goto on_return; - } - /* Detect address family */ - if (pj_ansi_strchr(host, ':')) - af = pj_AF_INET6(); - else - af = pj_AF_INET(); - /* Assign address */ - if (pj_sockaddr_init(af, &cand->addr, pj_cstr(&s, host), 0)) { - TRACE__((obj_name, "Invalid ICE candidate address")); - goto on_return; - } - - /* Port */ - token = strtok(NULL, " "); - if (!token) { - TRACE__((obj_name, "Expecting ICE port number in candidate")); - goto on_return; - } - pj_sockaddr_set_port(&cand->addr, (pj_uint16_t)atoi(token)); - - /* typ */ - token = strtok(NULL, " "); - if (!token) { - TRACE__((obj_name, "Expecting ICE \"typ\" in candidate")); - goto on_return; - } - if (pj_ansi_stricmp(token, "typ") != 0) { - TRACE__((obj_name, "Expecting ICE \"typ\" in candidate")); - goto on_return; - } - - /* candidate type */ - token = strtok(NULL, " "); - if (!token) { - TRACE__((obj_name, "Expecting ICE candidate type in candidate")); - goto on_return; - } - - if (pj_ansi_stricmp(token, "host") == 0) { - cand->type = PJ_ICE_CAND_TYPE_HOST; - - } else if (pj_ansi_stricmp(token, "srflx") == 0) { - cand->type = PJ_ICE_CAND_TYPE_SRFLX; - - } else if (pj_ansi_stricmp(token, "relay") == 0) { - cand->type = PJ_ICE_CAND_TYPE_RELAYED; - - } else if (pj_ansi_stricmp(token, "prflx") == 0) { - cand->type = PJ_ICE_CAND_TYPE_PRFLX; - - } else { - PJ_LOG(5,(obj_name, "Invalid ICE candidate type %s in candidate", - token)); - goto on_return; - } - - status = PJ_SUCCESS; - -on_return: - return status; -} - - -/* Create initial SDP offer */ -static pj_status_t create_initial_offer(struct transport_ice *tp_ice, - pj_pool_t *sdp_pool, - pjmedia_sdp_session *loc_sdp, - unsigned media_index) -{ - pj_status_t status; - - /* Encode ICE in SDP */ - status = encode_session_in_sdp(tp_ice, sdp_pool, loc_sdp, media_index, - tp_ice->comp_cnt, PJ_FALSE); - if (status != PJ_SUCCESS) { - set_no_ice(tp_ice, "Error encoding SDP answer", status); - return status; - } - - return PJ_SUCCESS; -} - - -/* Verify incoming offer */ -static pj_status_t verify_ice_sdp(struct transport_ice *tp_ice, - pj_pool_t *tmp_pool, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index, - pj_ice_sess_role current_ice_role, - struct sdp_state *sdp_state) -{ - const pjmedia_sdp_media *rem_m; - const pjmedia_sdp_attr *ufrag_attr, *pwd_attr; - const pjmedia_sdp_conn *rem_conn; - pj_bool_t comp1_found=PJ_FALSE, comp2_found=PJ_FALSE, has_rtcp=PJ_FALSE; - pj_sockaddr rem_conn_addr, rtcp_addr; - unsigned i; - pj_status_t status; - - rem_m = rem_sdp->media[media_index]; - - /* Get the "ice-ufrag" and "ice-pwd" attributes */ - get_ice_attr(rem_sdp, rem_m, &ufrag_attr, &pwd_attr); - - /* If "ice-ufrag" or "ice-pwd" are not found, disable ICE */ - if (ufrag_attr==NULL || pwd_attr==NULL) { - sdp_state->match_comp_cnt = 0; - return PJ_SUCCESS; - } - - /* Verify that default target for each component matches one of the - * candidate for the component. Otherwise stop ICE with ICE ice_mismatch - * error. - */ - - /* Component 1 is the c= line */ - rem_conn = rem_m->conn; - if (rem_conn == NULL) - rem_conn = rem_sdp->conn; - if (!rem_conn) - return PJMEDIA_SDP_EMISSINGCONN; - - /* Verify address family matches */ - if ((tp_ice->af==pj_AF_INET() && - pj_strcmp(&rem_conn->addr_type, &STR_IP4)!=0) || - (tp_ice->af==pj_AF_INET6() && - pj_strcmp(&rem_conn->addr_type, &STR_IP6)!=0)) - { - return PJMEDIA_SDP_ETPORTNOTEQUAL; - } - - /* Assign remote connection address */ - status = pj_sockaddr_init(tp_ice->af, &rem_conn_addr, &rem_conn->addr, - (pj_uint16_t)rem_m->desc.port); - if (status != PJ_SUCCESS) - return status; - - if (tp_ice->comp_cnt > 1) { - const pjmedia_sdp_attr *attr; - - /* Get default RTCP candidate from a=rtcp line, if present, otherwise - * calculate default RTCP candidate from default RTP target. - */ - attr = pjmedia_sdp_attr_find(rem_m->attr_count, rem_m->attr, - &STR_RTCP, NULL); - has_rtcp = (attr != NULL); - - if (attr) { - pjmedia_sdp_rtcp_attr rtcp_attr; - - status = pjmedia_sdp_attr_get_rtcp(attr, &rtcp_attr); - if (status != PJ_SUCCESS) { - /* Error parsing a=rtcp attribute */ - return status; - } - - if (rtcp_attr.addr.slen) { - /* Verify address family matches */ - if ((tp_ice->af==pj_AF_INET() && - pj_strcmp(&rtcp_attr.addr_type, &STR_IP4)!=0) || - (tp_ice->af==pj_AF_INET6() && - pj_strcmp(&rtcp_attr.addr_type, &STR_IP6)!=0)) - { - return PJMEDIA_SDP_ETPORTNOTEQUAL; - } - - /* Assign RTCP address */ - status = pj_sockaddr_init(tp_ice->af, &rtcp_addr, - &rtcp_attr.addr, - (pj_uint16_t)rtcp_attr.port); - if (status != PJ_SUCCESS) { - return PJMEDIA_SDP_EINRTCP; - } - } else { - /* Assign RTCP address */ - status = pj_sockaddr_init(tp_ice->af, &rtcp_addr, - NULL, - (pj_uint16_t)rtcp_attr.port); - if (status != PJ_SUCCESS) { - return PJMEDIA_SDP_EINRTCP; - } - pj_sockaddr_copy_addr(&rtcp_addr, &rem_conn_addr); - } - } else { - unsigned rtcp_port; - - rtcp_port = pj_sockaddr_get_port(&rem_conn_addr) + 1; - pj_sockaddr_cp(&rtcp_addr, &rem_conn_addr); - pj_sockaddr_set_port(&rtcp_addr, (pj_uint16_t)rtcp_port); - } - } - - /* Find the default addresses in a=candidate attributes. - */ - for (i=0; iattr_count; ++i) { - pj_ice_sess_cand cand; - - if (pj_strcmp(&rem_m->attr[i]->name, &STR_CANDIDATE)!=0) - continue; - - status = parse_cand(tp_ice->base.name, tmp_pool, - &rem_m->attr[i]->value, &cand); - if (status != PJ_SUCCESS) { - PJ_LOG(4,(tp_ice->base.name, - "Error in parsing SDP candidate attribute '%.*s', " - "candidate is ignored", - (int)rem_m->attr[i]->value.slen, - rem_m->attr[i]->value.ptr)); - continue; - } - - if (!comp1_found && cand.comp_id==COMP_RTP && - pj_sockaddr_cmp(&rem_conn_addr, &cand.addr)==0) - { - comp1_found = PJ_TRUE; - } else if (!comp2_found && cand.comp_id==COMP_RTCP && - pj_sockaddr_cmp(&rtcp_addr, &cand.addr)==0) - { - comp2_found = PJ_TRUE; - } - - if (cand.comp_id == COMP_RTCP) - has_rtcp = PJ_TRUE; - - if (comp1_found && (comp2_found || tp_ice->comp_cnt==1)) - break; - } - - /* Check matched component count and ice_mismatch */ - if (comp1_found && (tp_ice->comp_cnt==1 || !has_rtcp)) { - sdp_state->match_comp_cnt = 1; - sdp_state->ice_mismatch = PJ_FALSE; - } else if (comp1_found && comp2_found) { - sdp_state->match_comp_cnt = 2; - sdp_state->ice_mismatch = PJ_FALSE; - } else { - sdp_state->match_comp_cnt = (tp_ice->comp_cnt > 1 && has_rtcp)? 2 : 1; - sdp_state->ice_mismatch = PJ_TRUE; - } - - - /* Detect remote restarting session */ - if (pj_ice_strans_has_sess(tp_ice->ice_st) && - (pj_ice_strans_sess_is_running(tp_ice->ice_st) || - pj_ice_strans_sess_is_complete(tp_ice->ice_st))) - { - pj_str_t rem_run_ufrag, rem_run_pwd; - pj_ice_strans_get_ufrag_pwd(tp_ice->ice_st, NULL, NULL, - &rem_run_ufrag, &rem_run_pwd); - if (pj_strcmp(&ufrag_attr->value, &rem_run_ufrag) || - pj_strcmp(&pwd_attr->value, &rem_run_pwd)) - { - /* Remote offers to restart ICE */ - sdp_state->ice_restart = PJ_TRUE; - } else { - sdp_state->ice_restart = PJ_FALSE; - } - } else { - sdp_state->ice_restart = PJ_FALSE; - } - - /* Detect our role */ - if (current_ice_role==PJ_ICE_SESS_ROLE_CONTROLLING) { - sdp_state->local_role = PJ_ICE_SESS_ROLE_CONTROLLING; - } else { - if (pjmedia_sdp_attr_find(rem_sdp->attr_count, rem_sdp->attr, - &STR_ICE_LITE, NULL) != NULL) - { - /* Remote is ICE Lite */ - sdp_state->local_role = PJ_ICE_SESS_ROLE_CONTROLLING; - } else { - sdp_state->local_role = PJ_ICE_SESS_ROLE_CONTROLLED; - } - } - - PJ_LOG(4,(tp_ice->base.name, - "Processing SDP: support ICE=%u, common comp_cnt=%u, " - "ice_mismatch=%u, ice_restart=%u, local_role=%s", - (sdp_state->match_comp_cnt != 0), - sdp_state->match_comp_cnt, - sdp_state->ice_mismatch, - sdp_state->ice_restart, - pj_ice_sess_role_name(sdp_state->local_role))); - - return PJ_SUCCESS; - -} - - -/* Verify incoming offer and create initial answer */ -static pj_status_t create_initial_answer(struct transport_ice *tp_ice, - pj_pool_t *sdp_pool, - pjmedia_sdp_session *loc_sdp, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index) -{ - const pjmedia_sdp_media *rem_m = rem_sdp->media[media_index]; - pj_status_t status; - - /* Check if media is removed (just in case) */ - if (rem_m->desc.port == 0) { - return PJ_SUCCESS; - } - - /* Verify the offer */ - status = verify_ice_sdp(tp_ice, sdp_pool, rem_sdp, media_index, - PJ_ICE_SESS_ROLE_CONTROLLED, - &tp_ice->rem_offer_state); - if (status != PJ_SUCCESS) { - set_no_ice(tp_ice, "Invalid SDP offer", status); - return status; - } - - /* Does remote support ICE? */ - if (tp_ice->rem_offer_state.match_comp_cnt==0) { - set_no_ice(tp_ice, "No ICE found in SDP offer", PJ_SUCCESS); - return PJ_SUCCESS; - } - - /* ICE ice_mismatch? */ - if (tp_ice->rem_offer_state.ice_mismatch) { - set_no_ice(tp_ice, "ICE ice_mismatch in remote offer", PJ_SUCCESS); - encode_ice_mismatch(sdp_pool, loc_sdp, media_index); - return PJ_SUCCESS; - } - - /* Encode ICE in SDP */ - status = encode_session_in_sdp(tp_ice, sdp_pool, loc_sdp, media_index, - tp_ice->rem_offer_state.match_comp_cnt, - PJ_FALSE); - if (status != PJ_SUCCESS) { - set_no_ice(tp_ice, "Error encoding SDP answer", status); - return status; - } - - return PJ_SUCCESS; -} - - -/* Create subsequent SDP offer */ -static pj_status_t create_subsequent_offer(struct transport_ice *tp_ice, - pj_pool_t *sdp_pool, - pjmedia_sdp_session *loc_sdp, - unsigned media_index) -{ - unsigned comp_cnt; - - if (pj_ice_strans_has_sess(tp_ice->ice_st) == PJ_FALSE) { - /* We don't have ICE */ - return PJ_SUCCESS; - } - - comp_cnt = pj_ice_strans_get_running_comp_cnt(tp_ice->ice_st); - return encode_session_in_sdp(tp_ice, sdp_pool, loc_sdp, media_index, - comp_cnt, PJ_FALSE); -} - - -/* Create subsequent SDP answer */ -static pj_status_t create_subsequent_answer(struct transport_ice *tp_ice, - pj_pool_t *sdp_pool, - pjmedia_sdp_session *loc_sdp, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index) -{ - pj_status_t status; - - /* We have a session */ - status = verify_ice_sdp(tp_ice, sdp_pool, rem_sdp, media_index, - PJ_ICE_SESS_ROLE_CONTROLLED, - &tp_ice->rem_offer_state); - if (status != PJ_SUCCESS) { - /* Something wrong with the offer */ - return status; - } - - if (pj_ice_strans_has_sess(tp_ice->ice_st)) { - /* - * Received subsequent offer while we have ICE active. - */ - - if (tp_ice->rem_offer_state.match_comp_cnt == 0) { - /* Remote no longer offers ICE */ - return PJ_SUCCESS; - } - - if (tp_ice->rem_offer_state.ice_mismatch) { - encode_ice_mismatch(sdp_pool, loc_sdp, media_index); - return PJ_SUCCESS; - } - - status = encode_session_in_sdp(tp_ice, sdp_pool, loc_sdp, media_index, - tp_ice->rem_offer_state.match_comp_cnt, - tp_ice->rem_offer_state.ice_restart); - if (status != PJ_SUCCESS) - return status; - - /* Done */ - - } else { - /* - * Received subsequent offer while we DON'T have ICE active. - */ - - if (tp_ice->rem_offer_state.match_comp_cnt == 0) { - /* Remote does not support ICE */ - return PJ_SUCCESS; - } - - if (tp_ice->rem_offer_state.ice_mismatch) { - encode_ice_mismatch(sdp_pool, loc_sdp, media_index); - return PJ_SUCCESS; - } - - /* Looks like now remote is offering ICE, so we need to create - * ICE session now. - */ - status = pj_ice_strans_init_ice(tp_ice->ice_st, - PJ_ICE_SESS_ROLE_CONTROLLED, - NULL, NULL); - if (status != PJ_SUCCESS) { - /* Fail to create new ICE session */ - return status; - } - - status = encode_session_in_sdp(tp_ice, sdp_pool, loc_sdp, media_index, - tp_ice->rem_offer_state.match_comp_cnt, - tp_ice->rem_offer_state.ice_restart); - if (status != PJ_SUCCESS) - return status; - - /* Done */ - } - - return PJ_SUCCESS; -} - - -/* - * For both UAC and UAS, pass in the SDP before sending it to remote. - * This will add ICE attributes to the SDP. - */ -static pj_status_t transport_media_create(pjmedia_transport *tp, - pj_pool_t *sdp_pool, - unsigned options, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index) -{ - struct transport_ice *tp_ice = (struct transport_ice*)tp; - pj_ice_sess_role ice_role; - pj_status_t status; - - PJ_UNUSED_ARG(media_index); - PJ_UNUSED_ARG(sdp_pool); - - tp_ice->media_option = options; - tp_ice->oa_role = ROLE_NONE; - tp_ice->initial_sdp = PJ_TRUE; - - /* Init ICE, the initial role is set now based on availability of - * rem_sdp, but it will be checked again later. - */ - ice_role = (rem_sdp==NULL ? PJ_ICE_SESS_ROLE_CONTROLLING : - PJ_ICE_SESS_ROLE_CONTROLLED); - status = pj_ice_strans_init_ice(tp_ice->ice_st, ice_role, NULL, NULL); - - /* Done */ - return status; -} - - -static pj_status_t transport_encode_sdp(pjmedia_transport *tp, - pj_pool_t *sdp_pool, - pjmedia_sdp_session *sdp_local, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index) -{ - struct transport_ice *tp_ice = (struct transport_ice*)tp; - pj_status_t status; - - /* Validate media transport */ - /* This transport only support RTP/AVP transport, unless if - * transport checking is disabled - */ - if ((tp_ice->media_option & PJMEDIA_TPMED_NO_TRANSPORT_CHECKING) == 0) { - pjmedia_sdp_media *loc_m, *rem_m; - - rem_m = rem_sdp? rem_sdp->media[media_index] : NULL; - loc_m = sdp_local->media[media_index]; - - if (pj_stricmp(&loc_m->desc.transport, &STR_RTP_AVP) || - (rem_m && pj_stricmp(&rem_m->desc.transport, &STR_RTP_AVP))) - { - pjmedia_sdp_media_deactivate(sdp_pool, loc_m); - return PJMEDIA_SDP_EINPROTO; - } - } - - if (tp_ice->initial_sdp) { - if (rem_sdp) { - status = create_initial_answer(tp_ice, sdp_pool, sdp_local, - rem_sdp, media_index); - } else { - status = create_initial_offer(tp_ice, sdp_pool, sdp_local, - media_index); - } - } else { - if (rem_sdp) { - status = create_subsequent_answer(tp_ice, sdp_pool, sdp_local, - rem_sdp, media_index); - } else { - status = create_subsequent_offer(tp_ice, sdp_pool, sdp_local, - media_index); - } - } - - if (status==PJ_SUCCESS) { - if (rem_sdp) - tp_ice->oa_role = ROLE_ANSWERER; - else - tp_ice->oa_role = ROLE_OFFERER; - } - - return status; -} - - -/* Start ICE session with the specified remote SDP */ -static pj_status_t start_ice(struct transport_ice *tp_ice, - pj_pool_t *tmp_pool, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index) -{ - pjmedia_sdp_media *rem_m = rem_sdp->media[media_index]; - const pjmedia_sdp_attr *ufrag_attr, *pwd_attr; - pj_ice_sess_cand *cand; - unsigned i, cand_cnt; - pj_status_t status; - - get_ice_attr(rem_sdp, rem_m, &ufrag_attr, &pwd_attr); - - /* Allocate candidate array */ - cand = (pj_ice_sess_cand*) - pj_pool_calloc(tmp_pool, PJ_ICE_MAX_CAND, - sizeof(pj_ice_sess_cand)); - - /* Get all candidates in the media */ - cand_cnt = 0; - for (i=0; iattr_count && cand_cnt < PJ_ICE_MAX_CAND; ++i) { - pjmedia_sdp_attr *attr; - - attr = rem_m->attr[i]; - - if (pj_strcmp(&attr->name, &STR_CANDIDATE)!=0) - continue; - - /* Parse candidate */ - status = parse_cand(tp_ice->base.name, tmp_pool, &attr->value, - &cand[cand_cnt]); - if (status != PJ_SUCCESS) { - PJ_LOG(4,(tp_ice->base.name, - "Error in parsing SDP candidate attribute '%.*s', " - "candidate is ignored", - (int)attr->value.slen, attr->value.ptr)); - continue; - } - - cand_cnt++; - } - - /* Start ICE */ - return pj_ice_strans_start_ice(tp_ice->ice_st, &ufrag_attr->value, - &pwd_attr->value, cand_cnt, cand); -} - - -/* - * Start ICE checks when both offer and answer have been negotiated - * by SDP negotiator. - */ -static pj_status_t transport_media_start(pjmedia_transport *tp, - pj_pool_t *tmp_pool, - const pjmedia_sdp_session *sdp_local, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index) -{ - struct transport_ice *tp_ice = (struct transport_ice*)tp; - pjmedia_sdp_media *rem_m; - enum oa_role current_oa_role; - pj_bool_t initial_oa; - pj_status_t status; - - PJ_ASSERT_RETURN(tp && tmp_pool && rem_sdp, PJ_EINVAL); - PJ_ASSERT_RETURN(media_index < rem_sdp->media_count, PJ_EINVAL); - - rem_m = rem_sdp->media[media_index]; - - initial_oa = tp_ice->initial_sdp; - current_oa_role = tp_ice->oa_role; - - /* SDP has been negotiated */ - tp_ice->initial_sdp = PJ_FALSE; - tp_ice->oa_role = ROLE_NONE; - - /* Nothing to do if we don't have ICE session */ - if (pj_ice_strans_has_sess(tp_ice->ice_st) == PJ_FALSE) { - return PJ_SUCCESS; - } - - /* Special case for Session Timer. The re-INVITE for session refresh - * doesn't call transport_encode_sdp(), causing current_oa_role to - * be set to ROLE_NONE. This is a workaround. - */ - if (current_oa_role == ROLE_NONE) { - current_oa_role = ROLE_OFFERER; - } - - /* Processing depends on the offer/answer role */ - if (current_oa_role == ROLE_OFFERER) { - /* - * We are offerer. So this will be the first time we see the - * remote's SDP. - */ - struct sdp_state answer_state; - - /* Verify the answer */ - status = verify_ice_sdp(tp_ice, tmp_pool, rem_sdp, media_index, - PJ_ICE_SESS_ROLE_CONTROLLING, &answer_state); - if (status != PJ_SUCCESS) { - /* Something wrong in the SDP answer */ - set_no_ice(tp_ice, "Invalid remote SDP answer", status); - return status; - } - - /* Does it have ICE? */ - if (answer_state.match_comp_cnt == 0) { - /* Remote doesn't support ICE */ - set_no_ice(tp_ice, "Remote answer doesn't support ICE", - PJ_SUCCESS); - return PJ_SUCCESS; - } - - /* Check if remote has reported ice-mismatch */ - if (pjmedia_sdp_attr_find(rem_m->attr_count, rem_m->attr, - &STR_ICE_MISMATCH, NULL) != NULL) - { - /* Remote has reported ice-mismatch */ - set_no_ice(tp_ice, - "Remote answer contains 'ice-mismatch' attribute", - PJ_SUCCESS); - return PJ_SUCCESS; - } - - /* Check if remote has indicated a restart */ - if (answer_state.ice_restart) { - PJ_LOG(2,(tp_ice->base.name, - "Warning: remote has signalled ICE restart in SDP " - "answer which is disallowed. Remote ICE negotiation" - " may fail.")); - } - - /* Check if the answer itself is mismatched */ - if (answer_state.ice_mismatch) { - /* This happens either when a B2BUA modified remote answer but - * strangely didn't modify our offer, or remote is not capable - * of detecting mismatch in our offer (it didn't put - * 'ice-mismatch' attribute in the answer). - */ - PJ_LOG(2,(tp_ice->base.name, - "Warning: remote answer mismatch, but it does not " - "reject our offer with 'ice-mismatch'. ICE negotiation " - "may fail")); - } - - /* Do nothing if ICE is complete or running */ - if (pj_ice_strans_sess_is_running(tp_ice->ice_st)) { - PJ_LOG(4,(tp_ice->base.name, - "Ignored offer/answer because ICE is running")); - return PJ_SUCCESS; - } - - if (pj_ice_strans_sess_is_complete(tp_ice->ice_st)) { - PJ_LOG(4,(tp_ice->base.name, "ICE session unchanged")); - return PJ_SUCCESS; - } - - /* Start ICE */ - - } else { - /* - * We are answerer. We've seen and negotiated remote's SDP - * before, and the result is in "rem_offer_state". - */ - const pjmedia_sdp_attr *ufrag_attr, *pwd_attr; - - /* Check for ICE in remote offer */ - if (tp_ice->rem_offer_state.match_comp_cnt == 0) { - /* No ICE attribute present */ - set_no_ice(tp_ice, "Remote no longer offers ICE", - PJ_SUCCESS); - return PJ_SUCCESS; - } - - /* Check for ICE ice_mismatch condition in the offer */ - if (tp_ice->rem_offer_state.ice_mismatch) { - set_no_ice(tp_ice, "Remote offer mismatch: ", - PJNATH_EICEMISMATCH); - return PJ_SUCCESS; - } - - /* If ICE is complete and remote doesn't request restart, - * then leave the session as is. - */ - if (!initial_oa && tp_ice->rem_offer_state.ice_restart == PJ_FALSE) { - /* Remote has not requested ICE restart, so session is - * unchanged. - */ - PJ_LOG(4,(tp_ice->base.name, "ICE session unchanged")); - return PJ_SUCCESS; - } - - /* Either remote has requested ICE restart or this is our - * first answer. - */ - - /* Stop ICE */ - if (!initial_oa) { - set_no_ice(tp_ice, "restarting by remote request..", PJ_SUCCESS); - - /* We have put new ICE ufrag and pwd in the answer. Now - * create a new ICE session with that ufrag/pwd pair. - */ - get_ice_attr(sdp_local, sdp_local->media[media_index], - &ufrag_attr, &pwd_attr); - status = pj_ice_strans_init_ice(tp_ice->ice_st, - tp_ice->rem_offer_state.local_role, - &ufrag_attr->value, - &pwd_attr->value); - if (status != PJ_SUCCESS) { - PJ_LOG(1,(tp_ice->base.name, - "ICE re-initialization failed (status=%d)!", - status)); - return status; - } - } - - /* Ticket #977: Update role if turns out we're supposed to be the - * Controlling agent (e.g. when talking to ice-lite peer). - */ - if (tp_ice->rem_offer_state.local_role==PJ_ICE_SESS_ROLE_CONTROLLING && - pj_ice_strans_has_sess(tp_ice->ice_st)) - { - pj_ice_strans_change_role(tp_ice->ice_st, - PJ_ICE_SESS_ROLE_CONTROLLING); - } - - - /* start ICE */ - } - - /* Now start ICE */ - status = start_ice(tp_ice, tmp_pool, rem_sdp, media_index); - if (status != PJ_SUCCESS) { - PJ_LOG(1,(tp_ice->base.name, - "ICE restart failed (status=%d)!", - status)); - return status; - } - - /* Done */ - tp_ice->use_ice = PJ_TRUE; - - return PJ_SUCCESS; -} - - -static pj_status_t transport_media_stop(pjmedia_transport *tp) -{ - struct transport_ice *tp_ice = (struct transport_ice*)tp; - - set_no_ice(tp_ice, "media stop requested", PJ_SUCCESS); - - return PJ_SUCCESS; -} - - -static pj_status_t transport_get_info(pjmedia_transport *tp, - pjmedia_transport_info *info) -{ - struct transport_ice *tp_ice = (struct transport_ice*)tp; - pj_ice_sess_cand cand; - pj_status_t status; - - pj_bzero(&info->sock_info, sizeof(info->sock_info)); - info->sock_info.rtp_sock = info->sock_info.rtcp_sock = PJ_INVALID_SOCKET; - - /* Get RTP default address */ - status = pj_ice_strans_get_def_cand(tp_ice->ice_st, 1, &cand); - if (status != PJ_SUCCESS) - return status; - - pj_sockaddr_cp(&info->sock_info.rtp_addr_name, &cand.addr); - - /* Get RTCP default address */ - if (tp_ice->comp_cnt > 1) { - status = pj_ice_strans_get_def_cand(tp_ice->ice_st, 2, &cand); - if (status != PJ_SUCCESS) - return status; - - pj_sockaddr_cp(&info->sock_info.rtcp_addr_name, &cand.addr); - } - - /* Set remote address originating RTP & RTCP if this transport has - * ICE activated or received any packets. - */ - if (tp_ice->use_ice || tp_ice->rtp_src_cnt) { - info->src_rtp_name = tp_ice->rtp_src_addr; - } - if (tp_ice->use_ice || tp_ice->rtcp_src_cnt) { - info->src_rtcp_name = tp_ice->rtcp_src_addr; - } - - /* Fill up transport specific info */ - if (info->specific_info_cnt < PJ_ARRAY_SIZE(info->spc_info)) { - pjmedia_transport_specific_info *tsi; - pjmedia_ice_transport_info *ii; - unsigned i; - - pj_assert(sizeof(*ii) <= sizeof(tsi->buffer)); - tsi = &info->spc_info[info->specific_info_cnt++]; - tsi->type = PJMEDIA_TRANSPORT_TYPE_ICE; - tsi->cbsize = sizeof(*ii); - - ii = (pjmedia_ice_transport_info*) tsi->buffer; - pj_bzero(ii, sizeof(*ii)); - - if (pj_ice_strans_has_sess(tp_ice->ice_st)) - ii->role = pj_ice_strans_get_role(tp_ice->ice_st); - else - ii->role = PJ_ICE_SESS_ROLE_UNKNOWN; - ii->sess_state = pj_ice_strans_get_state(tp_ice->ice_st); - ii->comp_cnt = pj_ice_strans_get_running_comp_cnt(tp_ice->ice_st); - - for (i=1; i<=ii->comp_cnt && i<=PJ_ARRAY_SIZE(ii->comp); ++i) { - const pj_ice_sess_check *chk; - - chk = pj_ice_strans_get_valid_pair(tp_ice->ice_st, i); - if (chk) { - ii->comp[i-1].lcand_type = chk->lcand->type; - pj_sockaddr_cp(&ii->comp[i-1].lcand_addr, - &chk->lcand->addr); - ii->comp[i-1].rcand_type = chk->rcand->type; - pj_sockaddr_cp(&ii->comp[i-1].rcand_addr, - &chk->rcand->addr); - } - } - } - - return PJ_SUCCESS; -} - - -static pj_status_t transport_attach (pjmedia_transport *tp, - void *stream, - const pj_sockaddr_t *rem_addr, - const pj_sockaddr_t *rem_rtcp, - unsigned addr_len, - void (*rtp_cb)(void*, - void*, - pj_ssize_t), - void (*rtcp_cb)(void*, - void*, - pj_ssize_t)) -{ - struct transport_ice *tp_ice = (struct transport_ice*)tp; - - tp_ice->stream = stream; - tp_ice->rtp_cb = rtp_cb; - tp_ice->rtcp_cb = rtcp_cb; - - pj_memcpy(&tp_ice->remote_rtp, rem_addr, addr_len); - pj_memcpy(&tp_ice->remote_rtcp, rem_rtcp, addr_len); - tp_ice->addr_len = addr_len; - - /* Init source RTP & RTCP addresses and counter */ - tp_ice->rtp_src_addr = tp_ice->remote_rtp; - tp_ice->rtcp_src_addr = tp_ice->remote_rtcp; - tp_ice->rtp_src_cnt = 0; - tp_ice->rtcp_src_cnt = 0; - - return PJ_SUCCESS; -} - - -static void transport_detach(pjmedia_transport *tp, - void *strm) -{ - struct transport_ice *tp_ice = (struct transport_ice*)tp; - - /* TODO: need to solve ticket #460 here */ - - tp_ice->rtp_cb = NULL; - tp_ice->rtcp_cb = NULL; - tp_ice->stream = NULL; - - PJ_UNUSED_ARG(strm); -} - - -static pj_status_t transport_send_rtp(pjmedia_transport *tp, - const void *pkt, - pj_size_t size) -{ - struct transport_ice *tp_ice = (struct transport_ice*)tp; - - /* Simulate packet lost on TX direction */ - if (tp_ice->tx_drop_pct) { - if ((pj_rand() % 100) <= (int)tp_ice->tx_drop_pct) { - PJ_LOG(5,(tp_ice->base.name, - "TX RTP packet dropped because of pkt lost " - "simulation")); - return PJ_SUCCESS; - } - } - - return pj_ice_strans_sendto(tp_ice->ice_st, 1, - pkt, size, &tp_ice->remote_rtp, - tp_ice->addr_len); -} - - -static pj_status_t transport_send_rtcp(pjmedia_transport *tp, - const void *pkt, - pj_size_t size) -{ - return transport_send_rtcp2(tp, NULL, 0, pkt, size); -} - -static pj_status_t transport_send_rtcp2(pjmedia_transport *tp, - const pj_sockaddr_t *addr, - unsigned addr_len, - const void *pkt, - pj_size_t size) -{ - struct transport_ice *tp_ice = (struct transport_ice*)tp; - if (tp_ice->comp_cnt > 1) { - if (addr == NULL) { - addr = &tp_ice->remote_rtcp; - addr_len = pj_sockaddr_get_len(addr); - } - return pj_ice_strans_sendto(tp_ice->ice_st, 2, pkt, size, - addr, addr_len); - } else { - return PJ_SUCCESS; - } -} - - -static void ice_on_rx_data(pj_ice_strans *ice_st, unsigned comp_id, - void *pkt, pj_size_t size, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - struct transport_ice *tp_ice; - pj_bool_t discard = PJ_FALSE; - - tp_ice = (struct transport_ice*) pj_ice_strans_get_user_data(ice_st); - - if (comp_id==1 && tp_ice->rtp_cb) { - - /* Simulate packet lost on RX direction */ - if (tp_ice->rx_drop_pct) { - if ((pj_rand() % 100) <= (int)tp_ice->rx_drop_pct) { - PJ_LOG(5,(tp_ice->base.name, - "RX RTP packet dropped because of pkt lost " - "simulation")); - return; - } - } - - /* See if source address of RTP packet is different than the - * configured address, and switch RTP remote address to - * source packet address after several consecutive packets - * have been received. - */ - if (!tp_ice->use_ice) { - pj_bool_t enable_switch = - ((tp_ice->options & PJMEDIA_ICE_NO_SRC_ADDR_CHECKING)==0); - - if (!enable_switch || - pj_sockaddr_cmp(&tp_ice->remote_rtp, src_addr) == 0) - { - /* Don't switch while we're receiving from remote_rtp */ - tp_ice->rtp_src_cnt = 0; - } else { - - ++tp_ice->rtp_src_cnt; - - /* Check if the source address is recognized. */ - if (pj_sockaddr_cmp(src_addr, &tp_ice->rtp_src_addr) != 0) { - /* Remember the new source address. */ - pj_sockaddr_cp(&tp_ice->rtp_src_addr, src_addr); - /* Reset counter */ - tp_ice->rtp_src_cnt = 0; - discard = PJ_TRUE; - } - - if (tp_ice->rtp_src_cnt < PJMEDIA_RTP_NAT_PROBATION_CNT) { - discard = PJ_TRUE; - } else { - char addr_text[80]; - - /* Set remote RTP address to source address */ - pj_sockaddr_cp(&tp_ice->remote_rtp, &tp_ice->rtp_src_addr); - tp_ice->addr_len = pj_sockaddr_get_len(&tp_ice->remote_rtp); - - /* Reset counter */ - tp_ice->rtp_src_cnt = 0; - - PJ_LOG(4,(tp_ice->base.name, - "Remote RTP address switched to %s", - pj_sockaddr_print(&tp_ice->remote_rtp, addr_text, - sizeof(addr_text), 3))); - - /* Also update remote RTCP address if actual RTCP source - * address is not heard yet. - */ - if (!pj_sockaddr_has_addr(&tp_ice->rtcp_src_addr)) { - pj_uint16_t port; - - pj_sockaddr_cp(&tp_ice->remote_rtcp, - &tp_ice->remote_rtp); - - port = (pj_uint16_t) - (pj_sockaddr_get_port(&tp_ice->remote_rtp)+1); - pj_sockaddr_set_port(&tp_ice->remote_rtcp, port); - - PJ_LOG(4,(tp_ice->base.name, - "Remote RTCP address switched to predicted " - "address %s", - pj_sockaddr_print(&tp_ice->remote_rtcp, - addr_text, - sizeof(addr_text), 3))); - } - } - } - } - - if (!discard) - (*tp_ice->rtp_cb)(tp_ice->stream, pkt, size); - - } else if (comp_id==2 && tp_ice->rtcp_cb) { - - /* Check if RTCP source address is the same as the configured - * remote address, and switch the address when they are - * different. - */ - if (!tp_ice->use_ice && - (tp_ice->options & PJMEDIA_ICE_NO_SRC_ADDR_CHECKING)==0) - { - if (pj_sockaddr_cmp(&tp_ice->remote_rtcp, src_addr) == 0) { - tp_ice->rtcp_src_cnt = 0; - } else { - char addr_text[80]; - - ++tp_ice->rtcp_src_cnt; - if (tp_ice->rtcp_src_cnt < PJMEDIA_RTCP_NAT_PROBATION_CNT) { - discard = PJ_TRUE; - } else { - tp_ice->rtcp_src_cnt = 0; - pj_sockaddr_cp(&tp_ice->rtcp_src_addr, src_addr); - pj_sockaddr_cp(&tp_ice->remote_rtcp, src_addr); - - pj_assert(tp_ice->addr_len==pj_sockaddr_get_len(src_addr)); - - PJ_LOG(4,(tp_ice->base.name, - "Remote RTCP address switched to %s", - pj_sockaddr_print(&tp_ice->remote_rtcp, - addr_text, sizeof(addr_text), - 3))); - } - } - } - - if (!discard) - (*tp_ice->rtcp_cb)(tp_ice->stream, pkt, size); - } - - PJ_UNUSED_ARG(src_addr_len); -} - - -static void ice_on_ice_complete(pj_ice_strans *ice_st, - pj_ice_strans_op op, - pj_status_t result) -{ - struct transport_ice *tp_ice; - - tp_ice = (struct transport_ice*) pj_ice_strans_get_user_data(ice_st); - - /* Notify application */ - if (tp_ice->cb.on_ice_complete) - (*tp_ice->cb.on_ice_complete)(&tp_ice->base, op, result); -} - - -/* Simulate lost */ -static pj_status_t transport_simulate_lost(pjmedia_transport *tp, - pjmedia_dir dir, - unsigned pct_lost) -{ - struct transport_ice *ice = (struct transport_ice*) tp; - - PJ_ASSERT_RETURN(tp && pct_lost <= 100, PJ_EINVAL); - - if (dir & PJMEDIA_DIR_ENCODING) - ice->tx_drop_pct = pct_lost; - - if (dir & PJMEDIA_DIR_DECODING) - ice->rx_drop_pct = pct_lost; - - return PJ_SUCCESS; -} - - -/* - * Destroy ICE media transport. - */ -static pj_status_t transport_destroy(pjmedia_transport *tp) -{ - struct transport_ice *tp_ice = (struct transport_ice*)tp; - - if (tp_ice->ice_st) { - pj_ice_strans_destroy(tp_ice->ice_st); - tp_ice->ice_st = NULL; - } - - if (tp_ice->pool) { - pj_pool_t *pool = tp_ice->pool; - tp_ice->pool = NULL; - pj_pool_release(pool); - } - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/transport_loop.c b/res/pjproject/pjmedia/src/pjmedia/transport_loop.c deleted file mode 100644 index b04da2ef02..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/transport_loop.c +++ /dev/null @@ -1,404 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -struct user -{ - pj_bool_t rx_disabled; /**< Doesn't want to receive pkt? */ - void *user_data; /**< Only valid when attached */ - void (*rtp_cb)( void*, /**< To report incoming RTP. */ - void*, - pj_ssize_t); - void (*rtcp_cb)( void*, /**< To report incoming RTCP. */ - void*, - pj_ssize_t); -}; - -struct transport_loop -{ - pjmedia_transport base; /**< Base transport. */ - - pj_pool_t *pool; /**< Memory pool */ - unsigned user_cnt; /**< Number of attachments */ - struct user users[4]; /**< Array of users. */ - - unsigned tx_drop_pct; /**< Percent of tx pkts to drop. */ - unsigned rx_drop_pct; /**< Percent of rx pkts to drop. */ - -}; - - - -/* - * These are media transport operations. - */ -static pj_status_t transport_get_info (pjmedia_transport *tp, - pjmedia_transport_info *info); -static pj_status_t transport_attach (pjmedia_transport *tp, - void *user_data, - const pj_sockaddr_t *rem_addr, - const pj_sockaddr_t *rem_rtcp, - unsigned addr_len, - void (*rtp_cb)(void*, - void*, - pj_ssize_t), - void (*rtcp_cb)(void*, - void*, - pj_ssize_t)); -static void transport_detach (pjmedia_transport *tp, - void *strm); -static pj_status_t transport_send_rtp( pjmedia_transport *tp, - const void *pkt, - pj_size_t size); -static pj_status_t transport_send_rtcp(pjmedia_transport *tp, - const void *pkt, - pj_size_t size); -static pj_status_t transport_send_rtcp2(pjmedia_transport *tp, - const pj_sockaddr_t *addr, - unsigned addr_len, - const void *pkt, - pj_size_t size); -static pj_status_t transport_media_create(pjmedia_transport *tp, - pj_pool_t *pool, - unsigned options, - const pjmedia_sdp_session *sdp_remote, - unsigned media_index); -static pj_status_t transport_encode_sdp(pjmedia_transport *tp, - pj_pool_t *pool, - pjmedia_sdp_session *sdp_local, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index); -static pj_status_t transport_media_start (pjmedia_transport *tp, - pj_pool_t *pool, - const pjmedia_sdp_session *sdp_local, - const pjmedia_sdp_session *sdp_remote, - unsigned media_index); -static pj_status_t transport_media_stop(pjmedia_transport *tp); -static pj_status_t transport_simulate_lost(pjmedia_transport *tp, - pjmedia_dir dir, - unsigned pct_lost); -static pj_status_t transport_destroy (pjmedia_transport *tp); - - -static pjmedia_transport_op transport_udp_op = -{ - &transport_get_info, - &transport_attach, - &transport_detach, - &transport_send_rtp, - &transport_send_rtcp, - &transport_send_rtcp2, - &transport_media_create, - &transport_encode_sdp, - &transport_media_start, - &transport_media_stop, - &transport_simulate_lost, - &transport_destroy -}; - - -/** - * Create loopback transport. - */ -PJ_DEF(pj_status_t) pjmedia_transport_loop_create(pjmedia_endpt *endpt, - pjmedia_transport **p_tp) -{ - struct transport_loop *tp; - pj_pool_t *pool; - - /* Sanity check */ - PJ_ASSERT_RETURN(endpt && p_tp, PJ_EINVAL); - - /* Create transport structure */ - pool = pjmedia_endpt_create_pool(endpt, "tploop", 512, 512); - if (!pool) - return PJ_ENOMEM; - - tp = PJ_POOL_ZALLOC_T(pool, struct transport_loop); - tp->pool = pool; - pj_ansi_strncpy(tp->base.name, tp->pool->obj_name, PJ_MAX_OBJ_NAME-1); - tp->base.op = &transport_udp_op; - tp->base.type = PJMEDIA_TRANSPORT_TYPE_UDP; - - /* Done */ - *p_tp = &tp->base; - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_transport_loop_disable_rx( pjmedia_transport *tp, - void *user, - pj_bool_t disabled) -{ - struct transport_loop *loop = (struct transport_loop*) tp; - unsigned i; - - for (i=0; iuser_cnt; ++i) { - if (loop->users[i].user_data == user) { - loop->users[i].rx_disabled = disabled; - return PJ_SUCCESS; - } - } - pj_assert(!"Invalid stream user"); - return PJ_ENOTFOUND; -} - -/** - * Close loopback transport. - */ -static pj_status_t transport_destroy(pjmedia_transport *tp) -{ - struct transport_loop *loop = (struct transport_loop*) tp; - - /* Sanity check */ - PJ_ASSERT_RETURN(tp, PJ_EINVAL); - - pj_pool_release(loop->pool); - - return PJ_SUCCESS; -} - - -/* Called to get the transport info */ -static pj_status_t transport_get_info(pjmedia_transport *tp, - pjmedia_transport_info *info) -{ - PJ_ASSERT_RETURN(tp && info, PJ_EINVAL); - - info->sock_info.rtp_sock = 1; - pj_sockaddr_in_init(&info->sock_info.rtp_addr_name.ipv4, 0, 0); - info->sock_info.rtcp_sock = 2; - pj_sockaddr_in_init(&info->sock_info.rtcp_addr_name.ipv4, 0, 0); - - return PJ_SUCCESS; -} - - -/* Called by application to initialize the transport */ -static pj_status_t transport_attach( pjmedia_transport *tp, - void *user_data, - const pj_sockaddr_t *rem_addr, - const pj_sockaddr_t *rem_rtcp, - unsigned addr_len, - void (*rtp_cb)(void*, - void*, - pj_ssize_t), - void (*rtcp_cb)(void*, - void*, - pj_ssize_t)) -{ - struct transport_loop *loop = (struct transport_loop*) tp; - unsigned i; - const pj_sockaddr *rtcp_addr; - - /* Validate arguments */ - PJ_ASSERT_RETURN(tp && rem_addr && addr_len, PJ_EINVAL); - - /* Must not be "attached" to same user */ - for (i=0; iuser_cnt; ++i) { - PJ_ASSERT_RETURN(loop->users[i].user_data != user_data, - PJ_EINVALIDOP); - } - PJ_ASSERT_RETURN(loop->user_cnt != PJ_ARRAY_SIZE(loop->users), - PJ_ETOOMANY); - - PJ_UNUSED_ARG(rem_rtcp); - PJ_UNUSED_ARG(rtcp_addr); - - /* "Attach" the application: */ - - /* Save the new user */ - loop->users[loop->user_cnt].rtp_cb = rtp_cb; - loop->users[loop->user_cnt].rtcp_cb = rtcp_cb; - loop->users[loop->user_cnt].user_data = user_data; - ++loop->user_cnt; - - return PJ_SUCCESS; -} - - -/* Called by application when it no longer needs the transport */ -static void transport_detach( pjmedia_transport *tp, - void *user_data) -{ - struct transport_loop *loop = (struct transport_loop*) tp; - unsigned i; - - pj_assert(tp); - - for (i=0; iuser_cnt; ++i) { - if (loop->users[i].user_data == user_data) - break; - } - - /* Remove this user */ - if (i != loop->user_cnt) { - pj_array_erase(loop->users, sizeof(loop->users[0]), - loop->user_cnt, i); - --loop->user_cnt; - } -} - - -/* Called by application to send RTP packet */ -static pj_status_t transport_send_rtp( pjmedia_transport *tp, - const void *pkt, - pj_size_t size) -{ - struct transport_loop *loop = (struct transport_loop*)tp; - unsigned i; - - /* Simulate packet lost on TX direction */ - if (loop->tx_drop_pct) { - if ((pj_rand() % 100) <= (int)loop->tx_drop_pct) { - PJ_LOG(5,(loop->base.name, - "TX RTP packet dropped because of pkt lost " - "simulation")); - return PJ_SUCCESS; - } - } - - /* Simulate packet lost on RX direction */ - if (loop->rx_drop_pct) { - if ((pj_rand() % 100) <= (int)loop->rx_drop_pct) { - PJ_LOG(5,(loop->base.name, - "RX RTP packet dropped because of pkt lost " - "simulation")); - return PJ_SUCCESS; - } - } - - /* Distribute to users */ - for (i=0; iuser_cnt; ++i) { - if (!loop->users[i].rx_disabled && loop->users[i].rtp_cb) - (*loop->users[i].rtp_cb)(loop->users[i].user_data, (void*)pkt, - size); - } - - return PJ_SUCCESS; -} - -/* Called by application to send RTCP packet */ -static pj_status_t transport_send_rtcp(pjmedia_transport *tp, - const void *pkt, - pj_size_t size) -{ - return transport_send_rtcp2(tp, NULL, 0, pkt, size); -} - - -/* Called by application to send RTCP packet */ -static pj_status_t transport_send_rtcp2(pjmedia_transport *tp, - const pj_sockaddr_t *addr, - unsigned addr_len, - const void *pkt, - pj_size_t size) -{ - struct transport_loop *loop = (struct transport_loop*)tp; - unsigned i; - - PJ_UNUSED_ARG(addr_len); - PJ_UNUSED_ARG(addr); - - /* Distribute to users */ - for (i=0; iuser_cnt; ++i) { - if (!loop->users[i].rx_disabled && loop->users[i].rtcp_cb) - (*loop->users[i].rtcp_cb)(loop->users[i].user_data, (void*)pkt, - size); - } - - return PJ_SUCCESS; -} - - -static pj_status_t transport_media_create(pjmedia_transport *tp, - pj_pool_t *pool, - unsigned options, - const pjmedia_sdp_session *sdp_remote, - unsigned media_index) -{ - PJ_UNUSED_ARG(tp); - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(options); - PJ_UNUSED_ARG(sdp_remote); - PJ_UNUSED_ARG(media_index); - return PJ_SUCCESS; -} - -static pj_status_t transport_encode_sdp(pjmedia_transport *tp, - pj_pool_t *pool, - pjmedia_sdp_session *sdp_local, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index) -{ - PJ_UNUSED_ARG(tp); - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(sdp_local); - PJ_UNUSED_ARG(rem_sdp); - PJ_UNUSED_ARG(media_index); - return PJ_SUCCESS; -} - -static pj_status_t transport_media_start(pjmedia_transport *tp, - pj_pool_t *pool, - const pjmedia_sdp_session *sdp_local, - const pjmedia_sdp_session *sdp_remote, - unsigned media_index) -{ - PJ_UNUSED_ARG(tp); - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(sdp_local); - PJ_UNUSED_ARG(sdp_remote); - PJ_UNUSED_ARG(media_index); - return PJ_SUCCESS; -} - -static pj_status_t transport_media_stop(pjmedia_transport *tp) -{ - PJ_UNUSED_ARG(tp); - return PJ_SUCCESS; -} - -static pj_status_t transport_simulate_lost(pjmedia_transport *tp, - pjmedia_dir dir, - unsigned pct_lost) -{ - struct transport_loop *loop = (struct transport_loop*)tp; - - PJ_ASSERT_RETURN(tp && pct_lost <= 100, PJ_EINVAL); - - if (dir & PJMEDIA_DIR_ENCODING) - loop->tx_drop_pct = pct_lost; - - if (dir & PJMEDIA_DIR_DECODING) - loop->rx_drop_pct = pct_lost; - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/transport_srtp.c b/res/pjproject/pjmedia/src/pjmedia/transport_srtp.c deleted file mode 100644 index 76bd151801..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/transport_srtp.c +++ /dev/null @@ -1,1680 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - -#include - -#define THIS_FILE "transport_srtp.c" - -/* Maximum size of packet */ -#define MAX_RTP_BUFFER_LEN 1500 -#define MAX_RTCP_BUFFER_LEN 1500 -#define MAX_KEY_LEN 32 - -/* Initial value of probation counter. When probation counter > 0, - * it means SRTP is in probation state, and it may restart when - * srtp_unprotect() returns err_status_replay_* - */ -#define PROBATION_CNT_INIT 100 - -#define DEACTIVATE_MEDIA(pool, m) pjmedia_sdp_media_deactivate(pool, m) - -static const pj_str_t ID_RTP_AVP = { "RTP/AVP", 7 }; -static const pj_str_t ID_RTP_SAVP = { "RTP/SAVP", 8 }; -static const pj_str_t ID_INACTIVE = { "inactive", 8 }; -static const pj_str_t ID_CRYPTO = { "crypto", 6 }; - -typedef struct crypto_suite -{ - char *name; - cipher_type_id_t cipher_type; - unsigned cipher_key_len; - auth_type_id_t auth_type; - unsigned auth_key_len; - unsigned srtp_auth_tag_len; - unsigned srtcp_auth_tag_len; - sec_serv_t service; -} crypto_suite; - -/* Crypto suites as defined on RFC 4568 */ -static crypto_suite crypto_suites[] = { - /* plain RTP/RTCP (no cipher & no auth) */ - {"NULL", NULL_CIPHER, 0, NULL_AUTH, 0, 0, 0, sec_serv_none}, - - /* cipher AES_CM, auth HMAC_SHA1, auth tag len = 10 octets */ - {"AES_CM_128_HMAC_SHA1_80", AES_128_ICM, 30, HMAC_SHA1, 20, 10, 10, - sec_serv_conf_and_auth}, - - /* cipher AES_CM, auth HMAC_SHA1, auth tag len = 4 octets */ - {"AES_CM_128_HMAC_SHA1_32", AES_128_ICM, 30, HMAC_SHA1, 20, 4, 10, - sec_serv_conf_and_auth}, - - /* - * F8_128_HMAC_SHA1_8 not supported by libsrtp? - * {"F8_128_HMAC_SHA1_8", NULL_CIPHER, 0, NULL_AUTH, 0, 0, 0, sec_serv_none} - */ -}; - -typedef struct transport_srtp -{ - pjmedia_transport base; /**< Base transport interface. */ - pj_pool_t *pool; /**< Pool for transport SRTP. */ - pj_lock_t *mutex; /**< Mutex for libsrtp contexts.*/ - char rtp_tx_buffer[MAX_RTP_BUFFER_LEN]; - char rtcp_tx_buffer[MAX_RTCP_BUFFER_LEN]; - pjmedia_srtp_setting setting; - unsigned media_option; - - /* SRTP policy */ - pj_bool_t session_inited; - pj_bool_t offerer_side; - pj_bool_t bypass_srtp; - char tx_key[MAX_KEY_LEN]; - char rx_key[MAX_KEY_LEN]; - pjmedia_srtp_crypto tx_policy; - pjmedia_srtp_crypto rx_policy; - - /* Temporary policy for negotiation */ - pjmedia_srtp_crypto tx_policy_neg; - pjmedia_srtp_crypto rx_policy_neg; - - /* libSRTP contexts */ - srtp_t srtp_tx_ctx; - srtp_t srtp_rx_ctx; - - /* Stream information */ - void *user_data; - void (*rtp_cb)( void *user_data, - void *pkt, - pj_ssize_t size); - void (*rtcp_cb)(void *user_data, - void *pkt, - pj_ssize_t size); - - /* Transport information */ - pjmedia_transport *member_tp; /**< Underlying transport. */ - - /* SRTP usage policy of peer. This field is updated when media is starting. - * This is useful when SRTP is in optional mode and peer is using mandatory - * mode, so when local is about to reinvite/update, it should offer - * RTP/SAVP instead of offering RTP/AVP. - */ - pjmedia_srtp_use peer_use; - - /* When probation counter > 0, it means SRTP is in probation state, - * and it may restart when srtp_unprotect() returns err_status_replay_* - */ - unsigned probation_cnt; -} transport_srtp; - - -/* - * This callback is called by transport when incoming rtp is received - */ -static void srtp_rtp_cb( void *user_data, void *pkt, pj_ssize_t size); - -/* - * This callback is called by transport when incoming rtcp is received - */ -static void srtp_rtcp_cb( void *user_data, void *pkt, pj_ssize_t size); - - -/* - * These are media transport operations. - */ -static pj_status_t transport_get_info (pjmedia_transport *tp, - pjmedia_transport_info *info); -static pj_status_t transport_attach (pjmedia_transport *tp, - void *user_data, - const pj_sockaddr_t *rem_addr, - const pj_sockaddr_t *rem_rtcp, - unsigned addr_len, - void (*rtp_cb)(void*, - void*, - pj_ssize_t), - void (*rtcp_cb)(void*, - void*, - pj_ssize_t)); -static void transport_detach (pjmedia_transport *tp, - void *strm); -static pj_status_t transport_send_rtp( pjmedia_transport *tp, - const void *pkt, - pj_size_t size); -static pj_status_t transport_send_rtcp(pjmedia_transport *tp, - const void *pkt, - pj_size_t size); -static pj_status_t transport_send_rtcp2(pjmedia_transport *tp, - const pj_sockaddr_t *addr, - unsigned addr_len, - const void *pkt, - pj_size_t size); -static pj_status_t transport_media_create(pjmedia_transport *tp, - pj_pool_t *sdp_pool, - unsigned options, - const pjmedia_sdp_session *sdp_remote, - unsigned media_index); -static pj_status_t transport_encode_sdp(pjmedia_transport *tp, - pj_pool_t *sdp_pool, - pjmedia_sdp_session *sdp_local, - const pjmedia_sdp_session *sdp_remote, - unsigned media_index); -static pj_status_t transport_media_start (pjmedia_transport *tp, - pj_pool_t *pool, - const pjmedia_sdp_session *sdp_local, - const pjmedia_sdp_session *sdp_remote, - unsigned media_index); -static pj_status_t transport_media_stop(pjmedia_transport *tp); -static pj_status_t transport_simulate_lost(pjmedia_transport *tp, - pjmedia_dir dir, - unsigned pct_lost); -static pj_status_t transport_destroy (pjmedia_transport *tp); - - - -static pjmedia_transport_op transport_srtp_op = -{ - &transport_get_info, - &transport_attach, - &transport_detach, - &transport_send_rtp, - &transport_send_rtcp, - &transport_send_rtcp2, - &transport_media_create, - &transport_encode_sdp, - &transport_media_start, - &transport_media_stop, - &transport_simulate_lost, - &transport_destroy -}; - -/* This function may also be used by other module, e.g: pjmedia/errno.c, - * it should have C compatible declaration. - */ -PJ_BEGIN_DECL - const char* get_libsrtp_errstr(int err); -PJ_END_DECL - -const char* get_libsrtp_errstr(int err) -{ -#if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING != 0) - static char *liberr[] = { - "ok", /* err_status_ok = 0 */ - "unspecified failure", /* err_status_fail = 1 */ - "unsupported parameter", /* err_status_bad_param = 2 */ - "couldn't allocate memory", /* err_status_alloc_fail = 3 */ - "couldn't deallocate properly", /* err_status_dealloc_fail = 4 */ - "couldn't initialize", /* err_status_init_fail = 5 */ - "can't process as much data as requested", - /* err_status_terminus = 6 */ - "authentication failure", /* err_status_auth_fail = 7 */ - "cipher failure", /* err_status_cipher_fail = 8 */ - "replay check failed (bad index)", /* err_status_replay_fail = 9 */ - "replay check failed (index too old)", - /* err_status_replay_old = 10 */ - "algorithm failed test routine", /* err_status_algo_fail = 11 */ - "unsupported operation", /* err_status_no_such_op = 12 */ - "no appropriate context found", /* err_status_no_ctx = 13 */ - "unable to perform desired validation", - /* err_status_cant_check = 14 */ - "can't use key any more", /* err_status_key_expired = 15 */ - "error in use of socket", /* err_status_socket_err = 16 */ - "error in use POSIX signals", /* err_status_signal_err = 17 */ - "nonce check failed", /* err_status_nonce_bad = 18 */ - "couldn't read data", /* err_status_read_fail = 19 */ - "couldn't write data", /* err_status_write_fail = 20 */ - "error pasring data", /* err_status_parse_err = 21 */ - "error encoding data", /* err_status_encode_err = 22 */ - "error while using semaphores", /* err_status_semaphore_err = 23 */ - "error while using pfkey" /* err_status_pfkey_err = 24 */ - }; - if (err >= 0 && err < (int)PJ_ARRAY_SIZE(liberr)) { - return liberr[err]; - } else { - static char msg[32]; - pj_ansi_snprintf(msg, sizeof(msg), "Unknown libsrtp error %d", err); - return msg; - } -#else - static char msg[32]; - pj_ansi_snprintf(msg, sizeof(msg), "libsrtp error %d", err); - return msg; -#endif -} - -static pj_bool_t libsrtp_initialized; -static void pjmedia_srtp_deinit_lib(pjmedia_endpt *endpt); - -PJ_DEF(pj_status_t) pjmedia_srtp_init_lib(pjmedia_endpt *endpt) -{ - if (libsrtp_initialized == PJ_FALSE) { - err_status_t err; - - err = srtp_init(); - if (err != err_status_ok) { - PJ_LOG(4, (THIS_FILE, "Failed to initialize libsrtp: %s", - get_libsrtp_errstr(err))); - return PJMEDIA_ERRNO_FROM_LIBSRTP(err); - } - - if (pjmedia_endpt_atexit(endpt, pjmedia_srtp_deinit_lib) != PJ_SUCCESS) - { - /* There will be memory leak when it fails to schedule libsrtp - * deinitialization, however the memory leak could be harmless, - * since in modern OS's memory used by an application is released - * when the application terminates. - */ - PJ_LOG(4, (THIS_FILE, "Failed to register libsrtp deinit.")); - } - - libsrtp_initialized = PJ_TRUE; - } - - return PJ_SUCCESS; -} - -static void pjmedia_srtp_deinit_lib(pjmedia_endpt *endpt) -{ - err_status_t err; - - /* Note that currently this SRTP init/deinit is not equipped with - * reference counter, it should be safe as normally there is only - * one single instance of media endpoint and even if it isn't, the - * pjmedia_transport_srtp_create() will invoke SRTP init (the only - * drawback should be the delay described by #788). - */ - - PJ_UNUSED_ARG(endpt); - - err = srtp_deinit(); - if (err != err_status_ok) { - PJ_LOG(4, (THIS_FILE, "Failed to deinitialize libsrtp: %s", - get_libsrtp_errstr(err))); - } - - libsrtp_initialized = PJ_FALSE; -} - - -static int get_crypto_idx(const pj_str_t* crypto_name) -{ - int i; - int cs_cnt = sizeof(crypto_suites)/sizeof(crypto_suites[0]); - - /* treat unspecified crypto_name as crypto 'NULL' */ - if (crypto_name->slen == 0) - return 0; - - for (i=0; ikey, &c2->key); - if (r != 0) - return r; - - r = pj_stricmp(&c1->name, &c2->name); - if (r != 0) - return r; - - return (c1->flags != c2->flags); -} - - -static pj_bool_t srtp_crypto_empty(const pjmedia_srtp_crypto* c) -{ - return (c->name.slen==0 || c->key.slen==0); -} - - -PJ_DEF(void) pjmedia_srtp_setting_default(pjmedia_srtp_setting *opt) -{ - unsigned i; - - pj_assert(opt); - - pj_bzero(opt, sizeof(pjmedia_srtp_setting)); - opt->close_member_tp = PJ_TRUE; - opt->use = PJMEDIA_SRTP_OPTIONAL; - - /* Copy default crypto-suites, but skip crypto 'NULL' */ - opt->crypto_count = sizeof(crypto_suites)/sizeof(crypto_suites[0]) - 1; - for (i=0; icrypto_count; ++i) - opt->crypto[i].name = pj_str(crypto_suites[i+1].name); -} - - -/* - * Create an SRTP media transport. - */ -PJ_DEF(pj_status_t) pjmedia_transport_srtp_create( - pjmedia_endpt *endpt, - pjmedia_transport *tp, - const pjmedia_srtp_setting *opt, - pjmedia_transport **p_tp) -{ - pj_pool_t *pool; - transport_srtp *srtp; - pj_status_t status; - unsigned i; - - PJ_ASSERT_RETURN(endpt && tp && p_tp, PJ_EINVAL); - - /* Check crypto availability */ - if (opt && opt->crypto_count == 0 && - opt->use == PJMEDIA_SRTP_MANDATORY) - return PJMEDIA_SRTP_ESDPREQCRYPTO; - - /* Check crypto */ - if (opt && opt->use != PJMEDIA_SRTP_DISABLED) { - for (i=0; i < opt->crypto_count; ++i) { - int cs_idx = get_crypto_idx(&opt->crypto[i].name); - - /* check crypto name */ - if (cs_idx == -1) - return PJMEDIA_SRTP_ENOTSUPCRYPTO; - - /* check key length */ - if (opt->crypto[i].key.slen && - opt->crypto[i].key.slen < - (pj_ssize_t)crypto_suites[cs_idx].cipher_key_len) - return PJMEDIA_SRTP_EINKEYLEN; - } - } - - /* Init libsrtp. */ - status = pjmedia_srtp_init_lib(endpt); - if (status != PJ_SUCCESS) - return status; - - pool = pjmedia_endpt_create_pool(endpt, "srtp%p", 1000, 1000); - srtp = PJ_POOL_ZALLOC_T(pool, transport_srtp); - - srtp->pool = pool; - srtp->session_inited = PJ_FALSE; - srtp->bypass_srtp = PJ_FALSE; - srtp->probation_cnt = PROBATION_CNT_INIT; - - if (opt) { - srtp->setting = *opt; - if (opt->use == PJMEDIA_SRTP_DISABLED) - srtp->setting.crypto_count = 0; - - for (i=0; i < srtp->setting.crypto_count; ++i) { - int cs_idx = get_crypto_idx(&opt->crypto[i].name); - pj_str_t tmp_key = opt->crypto[i].key; - - /* re-set crypto */ - srtp->setting.crypto[i].name = pj_str(crypto_suites[cs_idx].name); - /* cut key length */ - if (tmp_key.slen) - tmp_key.slen = crypto_suites[cs_idx].cipher_key_len; - pj_strdup(pool, &srtp->setting.crypto[i].key, &tmp_key); - } - } else { - pjmedia_srtp_setting_default(&srtp->setting); - } - - status = pj_lock_create_recursive_mutex(pool, pool->obj_name, &srtp->mutex); - if (status != PJ_SUCCESS) { - pj_pool_release(pool); - return status; - } - - /* Initialize base pjmedia_transport */ - pj_memcpy(srtp->base.name, pool->obj_name, PJ_MAX_OBJ_NAME); - if (tp) - srtp->base.type = tp->type; - else - srtp->base.type = PJMEDIA_TRANSPORT_TYPE_UDP; - srtp->base.op = &transport_srtp_op; - - /* Set underlying transport */ - srtp->member_tp = tp; - - /* Initialize peer's SRTP usage mode. */ - srtp->peer_use = srtp->setting.use; - - /* Done */ - *p_tp = &srtp->base; - - return PJ_SUCCESS; -} - - -/* - * Initialize and start SRTP session with the given parameters. - */ -PJ_DEF(pj_status_t) pjmedia_transport_srtp_start( - pjmedia_transport *tp, - const pjmedia_srtp_crypto *tx, - const pjmedia_srtp_crypto *rx) -{ - transport_srtp *srtp = (transport_srtp*) tp; - srtp_policy_t tx_; - srtp_policy_t rx_; - err_status_t err; - int cr_tx_idx = 0; - int au_tx_idx = 0; - int cr_rx_idx = 0; - int au_rx_idx = 0; - int crypto_suites_cnt; - pj_status_t status = PJ_SUCCESS; - - PJ_ASSERT_RETURN(tp && tx && rx, PJ_EINVAL); - - pj_lock_acquire(srtp->mutex); - - if (srtp->session_inited) { - pjmedia_transport_srtp_stop(tp); - } - - crypto_suites_cnt = sizeof(crypto_suites)/sizeof(crypto_suites[0]); - - /* Get encryption and authentication method */ - cr_tx_idx = au_tx_idx = get_crypto_idx(&tx->name); - if (tx->flags & PJMEDIA_SRTP_NO_ENCRYPTION) - cr_tx_idx = 0; - if (tx->flags & PJMEDIA_SRTP_NO_AUTHENTICATION) - au_tx_idx = 0; - - cr_rx_idx = au_rx_idx = get_crypto_idx(&rx->name); - if (rx->flags & PJMEDIA_SRTP_NO_ENCRYPTION) - cr_rx_idx = 0; - if (rx->flags & PJMEDIA_SRTP_NO_AUTHENTICATION) - au_rx_idx = 0; - - /* Check whether the crypto-suite requested is supported */ - if (cr_tx_idx == -1 || cr_rx_idx == -1 || au_tx_idx == -1 || - au_rx_idx == -1) - { - status = PJMEDIA_SRTP_ENOTSUPCRYPTO; - goto on_return; - } - - /* If all options points to 'NULL' method, just bypass SRTP */ - if (cr_tx_idx == 0 && cr_rx_idx == 0 && au_tx_idx == 0 && au_rx_idx == 0) { - srtp->bypass_srtp = PJ_TRUE; - goto on_return; - } - - /* Check key length */ - if (tx->key.slen != (pj_ssize_t)crypto_suites[cr_tx_idx].cipher_key_len || - rx->key.slen != (pj_ssize_t)crypto_suites[cr_rx_idx].cipher_key_len) - { - status = PJMEDIA_SRTP_EINKEYLEN; - goto on_return; - } - - /* Init transmit direction */ - pj_bzero(&tx_, sizeof(srtp_policy_t)); - pj_memmove(srtp->tx_key, tx->key.ptr, tx->key.slen); - if (cr_tx_idx && au_tx_idx) - tx_.rtp.sec_serv = sec_serv_conf_and_auth; - else if (cr_tx_idx) - tx_.rtp.sec_serv = sec_serv_conf; - else if (au_tx_idx) - tx_.rtp.sec_serv = sec_serv_auth; - else - tx_.rtp.sec_serv = sec_serv_none; - tx_.key = (uint8_t*)srtp->tx_key; - tx_.ssrc.type = ssrc_any_outbound; - tx_.ssrc.value = 0; - tx_.rtp.cipher_type = crypto_suites[cr_tx_idx].cipher_type; - tx_.rtp.cipher_key_len = crypto_suites[cr_tx_idx].cipher_key_len; - tx_.rtp.auth_type = crypto_suites[au_tx_idx].auth_type; - tx_.rtp.auth_key_len = crypto_suites[au_tx_idx].auth_key_len; - tx_.rtp.auth_tag_len = crypto_suites[au_tx_idx].srtp_auth_tag_len; - tx_.rtcp = tx_.rtp; - tx_.rtcp.auth_tag_len = crypto_suites[au_tx_idx].srtcp_auth_tag_len; - tx_.next = NULL; - err = srtp_create(&srtp->srtp_tx_ctx, &tx_); - if (err != err_status_ok) { - status = PJMEDIA_ERRNO_FROM_LIBSRTP(err); - goto on_return; - } - srtp->tx_policy = *tx; - pj_strset(&srtp->tx_policy.key, srtp->tx_key, tx->key.slen); - srtp->tx_policy.name=pj_str(crypto_suites[get_crypto_idx(&tx->name)].name); - - - /* Init receive direction */ - pj_bzero(&rx_, sizeof(srtp_policy_t)); - pj_memmove(srtp->rx_key, rx->key.ptr, rx->key.slen); - if (cr_rx_idx && au_rx_idx) - rx_.rtp.sec_serv = sec_serv_conf_and_auth; - else if (cr_rx_idx) - rx_.rtp.sec_serv = sec_serv_conf; - else if (au_rx_idx) - rx_.rtp.sec_serv = sec_serv_auth; - else - rx_.rtp.sec_serv = sec_serv_none; - rx_.key = (uint8_t*)srtp->rx_key; - rx_.ssrc.type = ssrc_any_inbound; - rx_.ssrc.value = 0; - rx_.rtp.sec_serv = crypto_suites[cr_rx_idx].service; - rx_.rtp.cipher_type = crypto_suites[cr_rx_idx].cipher_type; - rx_.rtp.cipher_key_len = crypto_suites[cr_rx_idx].cipher_key_len; - rx_.rtp.auth_type = crypto_suites[au_rx_idx].auth_type; - rx_.rtp.auth_key_len = crypto_suites[au_rx_idx].auth_key_len; - rx_.rtp.auth_tag_len = crypto_suites[au_rx_idx].srtp_auth_tag_len; - rx_.rtcp = rx_.rtp; - rx_.rtcp.auth_tag_len = crypto_suites[au_rx_idx].srtcp_auth_tag_len; - rx_.next = NULL; - err = srtp_create(&srtp->srtp_rx_ctx, &rx_); - if (err != err_status_ok) { - srtp_dealloc(srtp->srtp_tx_ctx); - status = PJMEDIA_ERRNO_FROM_LIBSRTP(err); - goto on_return; - } - srtp->rx_policy = *rx; - pj_strset(&srtp->rx_policy.key, srtp->rx_key, rx->key.slen); - srtp->rx_policy.name=pj_str(crypto_suites[get_crypto_idx(&rx->name)].name); - - /* Declare SRTP session initialized */ - srtp->session_inited = PJ_TRUE; - - PJ_LOG(5, (srtp->pool->obj_name, "TX: %s key=%s", srtp->tx_policy.name.ptr, - octet_string_hex_string(tx->key.ptr, tx->key.slen))); - if (srtp->tx_policy.flags) { - PJ_LOG(5,(srtp->pool->obj_name,"TX: disable%s%s", (cr_tx_idx?"":" enc"), - (au_tx_idx?"":" auth"))); - } - - PJ_LOG(5, (srtp->pool->obj_name, "RX: %s key=%s", srtp->rx_policy.name.ptr, - octet_string_hex_string(rx->key.ptr, rx->key.slen))); - if (srtp->rx_policy.flags) { - PJ_LOG(5,(srtp->pool->obj_name,"RX: disable%s%s", (cr_rx_idx?"":" enc"), - (au_rx_idx?"":" auth"))); - } - -on_return: - pj_lock_release(srtp->mutex); - return status; -} - -/* - * Stop SRTP session. - */ -PJ_DEF(pj_status_t) pjmedia_transport_srtp_stop(pjmedia_transport *srtp) -{ - transport_srtp *p_srtp = (transport_srtp*) srtp; - err_status_t err; - - PJ_ASSERT_RETURN(srtp, PJ_EINVAL); - - pj_lock_acquire(p_srtp->mutex); - - if (!p_srtp->session_inited) { - pj_lock_release(p_srtp->mutex); - return PJ_SUCCESS; - } - - err = srtp_dealloc(p_srtp->srtp_rx_ctx); - if (err != err_status_ok) { - PJ_LOG(4, (p_srtp->pool->obj_name, - "Failed to dealloc RX SRTP context: %s", - get_libsrtp_errstr(err))); - } - err = srtp_dealloc(p_srtp->srtp_tx_ctx); - if (err != err_status_ok) { - PJ_LOG(4, (p_srtp->pool->obj_name, - "Failed to dealloc TX SRTP context: %s", - get_libsrtp_errstr(err))); - } - - p_srtp->session_inited = PJ_FALSE; - pj_bzero(&p_srtp->rx_policy, sizeof(p_srtp->rx_policy)); - pj_bzero(&p_srtp->tx_policy, sizeof(p_srtp->tx_policy)); - - pj_lock_release(p_srtp->mutex); - - return PJ_SUCCESS; -} - -PJ_DEF(pjmedia_transport *) pjmedia_transport_srtp_get_member( - pjmedia_transport *tp) -{ - transport_srtp *srtp = (transport_srtp*) tp; - - PJ_ASSERT_RETURN(tp, NULL); - - return srtp->member_tp; -} - - -static pj_status_t transport_get_info(pjmedia_transport *tp, - pjmedia_transport_info *info) -{ - transport_srtp *srtp = (transport_srtp*) tp; - pjmedia_srtp_info srtp_info; - int spc_info_idx; - - PJ_ASSERT_RETURN(tp && info, PJ_EINVAL); - PJ_ASSERT_RETURN(info->specific_info_cnt < - PJMEDIA_TRANSPORT_SPECIFIC_INFO_MAXCNT, PJ_ETOOMANY); - PJ_ASSERT_RETURN(sizeof(pjmedia_srtp_info) <= - PJMEDIA_TRANSPORT_SPECIFIC_INFO_MAXSIZE, PJ_ENOMEM); - - srtp_info.active = srtp->session_inited; - srtp_info.rx_policy = srtp->rx_policy; - srtp_info.tx_policy = srtp->tx_policy; - srtp_info.use = srtp->setting.use; - srtp_info.peer_use = srtp->peer_use; - - spc_info_idx = info->specific_info_cnt++; - info->spc_info[spc_info_idx].type = PJMEDIA_TRANSPORT_TYPE_SRTP; - info->spc_info[spc_info_idx].cbsize = sizeof(srtp_info); - pj_memcpy(&info->spc_info[spc_info_idx].buffer, &srtp_info, - sizeof(srtp_info)); - - return pjmedia_transport_get_info(srtp->member_tp, info); -} - -static pj_status_t transport_attach(pjmedia_transport *tp, - void *user_data, - const pj_sockaddr_t *rem_addr, - const pj_sockaddr_t *rem_rtcp, - unsigned addr_len, - void (*rtp_cb) (void*, void*, - pj_ssize_t), - void (*rtcp_cb)(void*, void*, - pj_ssize_t)) -{ - transport_srtp *srtp = (transport_srtp*) tp; - pj_status_t status; - - PJ_ASSERT_RETURN(tp && rem_addr && addr_len, PJ_EINVAL); - - /* Save the callbacks */ - pj_lock_acquire(srtp->mutex); - srtp->rtp_cb = rtp_cb; - srtp->rtcp_cb = rtcp_cb; - srtp->user_data = user_data; - pj_lock_release(srtp->mutex); - - /* Attach itself to transport */ - status = pjmedia_transport_attach(srtp->member_tp, srtp, rem_addr, - rem_rtcp, addr_len, &srtp_rtp_cb, - &srtp_rtcp_cb); - if (status != PJ_SUCCESS) { - pj_lock_acquire(srtp->mutex); - srtp->rtp_cb = NULL; - srtp->rtcp_cb = NULL; - srtp->user_data = NULL; - pj_lock_release(srtp->mutex); - return status; - } - - return PJ_SUCCESS; -} - -static void transport_detach(pjmedia_transport *tp, void *strm) -{ - transport_srtp *srtp = (transport_srtp*) tp; - - PJ_UNUSED_ARG(strm); - PJ_ASSERT_ON_FAIL(tp, return); - - if (srtp->member_tp) { - pjmedia_transport_detach(srtp->member_tp, srtp); - } - - /* Clear up application infos from transport */ - pj_lock_acquire(srtp->mutex); - srtp->rtp_cb = NULL; - srtp->rtcp_cb = NULL; - srtp->user_data = NULL; - pj_lock_release(srtp->mutex); -} - -static pj_status_t transport_send_rtp( pjmedia_transport *tp, - const void *pkt, - pj_size_t size) -{ - pj_status_t status; - transport_srtp *srtp = (transport_srtp*) tp; - int len = size; - err_status_t err; - - if (srtp->bypass_srtp) - return pjmedia_transport_send_rtp(srtp->member_tp, pkt, size); - - if (size > sizeof(srtp->rtp_tx_buffer)) - return PJ_ETOOBIG; - - pj_memcpy(srtp->rtp_tx_buffer, pkt, size); - - pj_lock_acquire(srtp->mutex); - if (!srtp->session_inited) { - pj_lock_release(srtp->mutex); - return PJ_EINVALIDOP; - } - err = srtp_protect(srtp->srtp_tx_ctx, srtp->rtp_tx_buffer, &len); - pj_lock_release(srtp->mutex); - - if (err == err_status_ok) { - status = pjmedia_transport_send_rtp(srtp->member_tp, srtp->rtp_tx_buffer, len); - } else { - status = PJMEDIA_ERRNO_FROM_LIBSRTP(err); - } - - return status; -} - -static pj_status_t transport_send_rtcp(pjmedia_transport *tp, - const void *pkt, - pj_size_t size) -{ - return transport_send_rtcp2(tp, NULL, 0, pkt, size); -} - -static pj_status_t transport_send_rtcp2(pjmedia_transport *tp, - const pj_sockaddr_t *addr, - unsigned addr_len, - const void *pkt, - pj_size_t size) -{ - pj_status_t status; - transport_srtp *srtp = (transport_srtp*) tp; - int len = size; - err_status_t err; - - if (srtp->bypass_srtp) { - return pjmedia_transport_send_rtcp2(srtp->member_tp, addr, addr_len, - pkt, size); - } - - if (size > sizeof(srtp->rtcp_tx_buffer)) - return PJ_ETOOBIG; - - pj_memcpy(srtp->rtcp_tx_buffer, pkt, size); - - pj_lock_acquire(srtp->mutex); - if (!srtp->session_inited) { - pj_lock_release(srtp->mutex); - return PJ_EINVALIDOP; - } - err = srtp_protect_rtcp(srtp->srtp_tx_ctx, srtp->rtcp_tx_buffer, &len); - pj_lock_release(srtp->mutex); - - if (err == err_status_ok) { - status = pjmedia_transport_send_rtcp2(srtp->member_tp, addr, addr_len, - srtp->rtcp_tx_buffer, len); - } else { - status = PJMEDIA_ERRNO_FROM_LIBSRTP(err); - } - - return status; -} - - -static pj_status_t transport_simulate_lost(pjmedia_transport *tp, - pjmedia_dir dir, - unsigned pct_lost) -{ - transport_srtp *srtp = (transport_srtp *) tp; - - PJ_ASSERT_RETURN(tp, PJ_EINVAL); - - return pjmedia_transport_simulate_lost(srtp->member_tp, dir, pct_lost); -} - -static pj_status_t transport_destroy (pjmedia_transport *tp) -{ - transport_srtp *srtp = (transport_srtp *) tp; - pj_status_t status; - - PJ_ASSERT_RETURN(tp, PJ_EINVAL); - - if (srtp->setting.close_member_tp && srtp->member_tp) { - pjmedia_transport_close(srtp->member_tp); - } - - status = pjmedia_transport_srtp_stop(tp); - - /* In case mutex is being acquired by other thread */ - pj_lock_acquire(srtp->mutex); - pj_lock_release(srtp->mutex); - - pj_lock_destroy(srtp->mutex); - pj_pool_release(srtp->pool); - - return status; -} - -/* - * This callback is called by transport when incoming rtp is received - */ -static void srtp_rtp_cb( void *user_data, void *pkt, pj_ssize_t size) -{ - transport_srtp *srtp = (transport_srtp *) user_data; - int len = size; - err_status_t err; - void (*cb)(void*, void*, pj_ssize_t) = NULL; - void *cb_data = NULL; - - if (srtp->bypass_srtp) { - srtp->rtp_cb(srtp->user_data, pkt, size); - return; - } - - if (size < 0) { - return; - } - - /* Make sure buffer is 32bit aligned */ - PJ_ASSERT_ON_FAIL( (((long)pkt) & 0x03)==0, return ); - - if (srtp->probation_cnt > 0) - --srtp->probation_cnt; - - pj_lock_acquire(srtp->mutex); - - if (!srtp->session_inited) { - pj_lock_release(srtp->mutex); - return; - } - err = srtp_unprotect(srtp->srtp_rx_ctx, (pj_uint8_t*)pkt, &len); - if (srtp->probation_cnt > 0 && - (err == err_status_replay_old || err == err_status_replay_fail)) - { - /* Handle such condition that stream is updated (RTP seq is reinited - * & SRTP is restarted), but some old packets are still coming - * so SRTP is learning wrong RTP seq. While the newly inited RTP seq - * comes, SRTP thinks the RTP seq is replayed, so srtp_unprotect() - * will return err_status_replay_*. Restarting SRTP can resolve this. - */ - pjmedia_srtp_crypto tx, rx; - pj_status_t status; - - tx = srtp->tx_policy; - rx = srtp->rx_policy; - status = pjmedia_transport_srtp_start((pjmedia_transport*)srtp, - &tx, &rx); - if (status != PJ_SUCCESS) { - PJ_LOG(5,(srtp->pool->obj_name, "Failed to restart SRTP, err=%s", - get_libsrtp_errstr(err))); - } else if (!srtp->bypass_srtp) { - err = srtp_unprotect(srtp->srtp_rx_ctx, (pj_uint8_t*)pkt, &len); - } - } - - if (err != err_status_ok) { - PJ_LOG(5,(srtp->pool->obj_name, - "Failed to unprotect SRTP, pkt size=%d, err=%s", - size, get_libsrtp_errstr(err))); - } else { - cb = srtp->rtp_cb; - cb_data = srtp->user_data; - } - - pj_lock_release(srtp->mutex); - - if (cb) { - (*cb)(cb_data, pkt, len); - } -} - -/* - * This callback is called by transport when incoming rtcp is received - */ -static void srtp_rtcp_cb( void *user_data, void *pkt, pj_ssize_t size) -{ - transport_srtp *srtp = (transport_srtp *) user_data; - int len = size; - err_status_t err; - void (*cb)(void*, void*, pj_ssize_t) = NULL; - void *cb_data = NULL; - - if (srtp->bypass_srtp) { - srtp->rtcp_cb(srtp->user_data, pkt, size); - return; - } - - if (size < 0) { - return; - } - - /* Make sure buffer is 32bit aligned */ - PJ_ASSERT_ON_FAIL( (((long)pkt) & 0x03)==0, return ); - - pj_lock_acquire(srtp->mutex); - - if (!srtp->session_inited) { - pj_lock_release(srtp->mutex); - return; - } - err = srtp_unprotect_rtcp(srtp->srtp_rx_ctx, (pj_uint8_t*)pkt, &len); - if (err != err_status_ok) { - PJ_LOG(5,(srtp->pool->obj_name, - "Failed to unprotect SRTCP, pkt size=%d, err=%s", - size, get_libsrtp_errstr(err))); - } else { - cb = srtp->rtcp_cb; - cb_data = srtp->user_data; - } - - pj_lock_release(srtp->mutex); - - if (cb) { - (*cb)(cb_data, pkt, len); - } -} - -/* Generate crypto attribute, including crypto key. - * If crypto-suite chosen is crypto NULL, just return PJ_SUCCESS, - * and set buffer_len = 0. - */ -static pj_status_t generate_crypto_attr_value(pj_pool_t *pool, - char *buffer, int *buffer_len, - pjmedia_srtp_crypto *crypto, - int tag) -{ - pj_status_t status; - int cs_idx = get_crypto_idx(&crypto->name); - char b64_key[PJ_BASE256_TO_BASE64_LEN(MAX_KEY_LEN)+1]; - int b64_key_len = sizeof(b64_key); - - if (cs_idx == -1) - return PJMEDIA_SRTP_ENOTSUPCRYPTO; - - /* Crypto-suite NULL. */ - if (cs_idx == 0) { - *buffer_len = 0; - return PJ_SUCCESS; - } - - /* Generate key if not specified. */ - if (crypto->key.slen == 0) { - pj_bool_t key_ok; - char key[MAX_KEY_LEN]; - err_status_t err; - unsigned i; - - PJ_ASSERT_RETURN(MAX_KEY_LEN >= crypto_suites[cs_idx].cipher_key_len, - PJ_ETOOSMALL); - - do { - key_ok = PJ_TRUE; - - err = crypto_get_random((unsigned char*)key, - crypto_suites[cs_idx].cipher_key_len); - if (err != err_status_ok) { - PJ_LOG(5,(THIS_FILE, "Failed generating random key: %s", - get_libsrtp_errstr(err))); - return PJMEDIA_ERRNO_FROM_LIBSRTP(err); - } - for (i=0; ikey.ptr = (char*) - pj_pool_zalloc(pool, - crypto_suites[cs_idx].cipher_key_len); - pj_memcpy(crypto->key.ptr, key, crypto_suites[cs_idx].cipher_key_len); - crypto->key.slen = crypto_suites[cs_idx].cipher_key_len; - } - - if (crypto->key.slen != (pj_ssize_t)crypto_suites[cs_idx].cipher_key_len) - return PJMEDIA_SRTP_EINKEYLEN; - - /* Key transmitted via SDP should be base64 encoded. */ - status = pj_base64_encode((pj_uint8_t*)crypto->key.ptr, crypto->key.slen, - b64_key, &b64_key_len); - if (status != PJ_SUCCESS) { - PJ_LOG(5,(THIS_FILE, "Failed encoding plain key to base64")); - return status; - } - - b64_key[b64_key_len] = '\0'; - - PJ_ASSERT_RETURN(*buffer_len >= (crypto->name.slen + \ - b64_key_len + 16), PJ_ETOOSMALL); - - /* Print the crypto attribute value. */ - *buffer_len = pj_ansi_snprintf(buffer, *buffer_len, "%d %s inline:%s", - tag, - crypto_suites[cs_idx].name, - b64_key); - - return PJ_SUCCESS; -} - -/* Parse crypto attribute line */ -static pj_status_t parse_attr_crypto(pj_pool_t *pool, - const pjmedia_sdp_attr *attr, - pjmedia_srtp_crypto *crypto, - int *tag) -{ - pj_str_t input; - char *token; - int token_len; - pj_str_t tmp; - pj_status_t status; - int itmp; - - pj_bzero(crypto, sizeof(*crypto)); - pj_strdup_with_null(pool, &input, &attr->value); - - /* Tag */ - token = strtok(input.ptr, " "); - if (!token) { - PJ_LOG(4,(THIS_FILE, "Attribute crypto expecting tag")); - return PJMEDIA_SDP_EINATTR; - } - token_len = pj_ansi_strlen(token); - - /* Tag must not use leading zeroes. */ - if (token_len > 1 && *token == '0') - return PJMEDIA_SDP_EINATTR; - - /* Tag must be decimal, i.e: contains only digit '0'-'9'. */ - for (itmp = 0; itmp < token_len; ++itmp) - if (!pj_isdigit(token[itmp])) - return PJMEDIA_SDP_EINATTR; - - /* Get tag value. */ - *tag = atoi(token); - - /* Crypto-suite */ - token = strtok(NULL, " "); - if (!token) { - PJ_LOG(4,(THIS_FILE, "Attribute crypto expecting crypto suite")); - return PJMEDIA_SDP_EINATTR; - } - crypto->name = pj_str(token); - - /* Key method */ - token = strtok(NULL, ":"); - if (!token) { - PJ_LOG(4,(THIS_FILE, "Attribute crypto expecting key method")); - return PJMEDIA_SDP_EINATTR; - } - if (pj_ansi_stricmp(token, "inline")) { - PJ_LOG(4,(THIS_FILE, "Attribute crypto key method '%s' not supported!", - token)); - return PJMEDIA_SDP_EINATTR; - } - - /* Key */ - token = strtok(NULL, "| "); - if (!token) { - PJ_LOG(4,(THIS_FILE, "Attribute crypto expecting key")); - return PJMEDIA_SDP_EINATTR; - } - tmp = pj_str(token); - if (PJ_BASE64_TO_BASE256_LEN(tmp.slen) > MAX_KEY_LEN) { - PJ_LOG(4,(THIS_FILE, "Key too long")); - return PJMEDIA_SRTP_EINKEYLEN; - } - - /* Decode key */ - crypto->key.ptr = (char*) pj_pool_zalloc(pool, MAX_KEY_LEN); - itmp = MAX_KEY_LEN; - status = pj_base64_decode(&tmp, (pj_uint8_t*)crypto->key.ptr, - &itmp); - if (status != PJ_SUCCESS) { - PJ_LOG(4,(THIS_FILE, "Failed decoding crypto key from base64")); - return status; - } - crypto->key.slen = itmp; - - return PJ_SUCCESS; -} - -static pj_status_t transport_media_create(pjmedia_transport *tp, - pj_pool_t *sdp_pool, - unsigned options, - const pjmedia_sdp_session *sdp_remote, - unsigned media_index) -{ - struct transport_srtp *srtp = (struct transport_srtp*) tp; - unsigned member_tp_option; - - PJ_ASSERT_RETURN(tp, PJ_EINVAL); - - pj_bzero(&srtp->rx_policy_neg, sizeof(srtp->rx_policy_neg)); - pj_bzero(&srtp->tx_policy_neg, sizeof(srtp->tx_policy_neg)); - - srtp->media_option = options; - member_tp_option = options | PJMEDIA_TPMED_NO_TRANSPORT_CHECKING; - - srtp->offerer_side = sdp_remote == NULL; - - /* Validations */ - if (srtp->offerer_side) { - - if (srtp->setting.use == PJMEDIA_SRTP_DISABLED) - goto BYPASS_SRTP; - - } else { - - pjmedia_sdp_media *m_rem; - - m_rem = sdp_remote->media[media_index]; - - /* Nothing to do on inactive media stream */ - if (pjmedia_sdp_media_find_attr(m_rem, &ID_INACTIVE, NULL)) - goto BYPASS_SRTP; - - /* Validate remote media transport based on SRTP usage option. - */ - switch (srtp->setting.use) { - case PJMEDIA_SRTP_DISABLED: - if (pj_stricmp(&m_rem->desc.transport, &ID_RTP_SAVP) == 0) - return PJMEDIA_SRTP_ESDPINTRANSPORT; - goto BYPASS_SRTP; - case PJMEDIA_SRTP_OPTIONAL: - break; - case PJMEDIA_SRTP_MANDATORY: - if (pj_stricmp(&m_rem->desc.transport, &ID_RTP_SAVP) != 0) - return PJMEDIA_SRTP_ESDPINTRANSPORT; - break; - } - - } - goto PROPAGATE_MEDIA_CREATE; - -BYPASS_SRTP: - srtp->bypass_srtp = PJ_TRUE; - member_tp_option &= ~PJMEDIA_TPMED_NO_TRANSPORT_CHECKING; - -PROPAGATE_MEDIA_CREATE: - return pjmedia_transport_media_create(srtp->member_tp, sdp_pool, - member_tp_option, sdp_remote, - media_index); -} - -static pj_status_t transport_encode_sdp(pjmedia_transport *tp, - pj_pool_t *sdp_pool, - pjmedia_sdp_session *sdp_local, - const pjmedia_sdp_session *sdp_remote, - unsigned media_index) -{ - struct transport_srtp *srtp = (struct transport_srtp*) tp; - pjmedia_sdp_media *m_rem, *m_loc; - enum { MAXLEN = 512 }; - char buffer[MAXLEN]; - int buffer_len; - pj_status_t status; - pjmedia_sdp_attr *attr; - pj_str_t attr_value; - unsigned i, j; - - PJ_ASSERT_RETURN(tp && sdp_pool && sdp_local, PJ_EINVAL); - - pj_bzero(&srtp->rx_policy_neg, sizeof(srtp->rx_policy_neg)); - pj_bzero(&srtp->tx_policy_neg, sizeof(srtp->tx_policy_neg)); - - srtp->offerer_side = sdp_remote == NULL; - - m_rem = sdp_remote ? sdp_remote->media[media_index] : NULL; - m_loc = sdp_local->media[media_index]; - - /* Bypass if media transport is not RTP/AVP or RTP/SAVP */ - if (pj_stricmp(&m_loc->desc.transport, &ID_RTP_AVP) != 0 && - pj_stricmp(&m_loc->desc.transport, &ID_RTP_SAVP) != 0) - goto BYPASS_SRTP; - - /* If the media is inactive, do nothing. */ - /* No, we still need to process SRTP offer/answer even if the media is - * marked as inactive, because the transport is still alive in this - * case (e.g. for keep-alive). See: - * http://trac.pjsip.org/repos/ticket/1079 - */ - /* - if (pjmedia_sdp_media_find_attr(m_loc, &ID_INACTIVE, NULL) || - (m_rem && pjmedia_sdp_media_find_attr(m_rem, &ID_INACTIVE, NULL))) - goto BYPASS_SRTP; - */ - - /* Check remote media transport & set local media transport - * based on SRTP usage option. - */ - if (srtp->offerer_side) { - - /* Generate transport */ - switch (srtp->setting.use) { - case PJMEDIA_SRTP_DISABLED: - goto BYPASS_SRTP; - case PJMEDIA_SRTP_OPTIONAL: - m_loc->desc.transport = - (srtp->peer_use == PJMEDIA_SRTP_MANDATORY)? - ID_RTP_SAVP : ID_RTP_AVP; - break; - case PJMEDIA_SRTP_MANDATORY: - m_loc->desc.transport = ID_RTP_SAVP; - break; - } - - /* Generate crypto attribute if not yet */ - if (pjmedia_sdp_media_find_attr(m_loc, &ID_CRYPTO, NULL) == NULL) { - for (i=0; isetting.crypto_count; ++i) { - /* Offer crypto-suites based on setting. */ - buffer_len = MAXLEN; - status = generate_crypto_attr_value(srtp->pool, buffer, &buffer_len, - &srtp->setting.crypto[i], - i+1); - if (status != PJ_SUCCESS) - return status; - - /* If buffer_len==0, just skip the crypto attribute. */ - if (buffer_len) { - pj_strset(&attr_value, buffer, buffer_len); - attr = pjmedia_sdp_attr_create(srtp->pool, ID_CRYPTO.ptr, - &attr_value); - m_loc->attr[m_loc->attr_count++] = attr; - } - } - } - - } else { - /* Answerer side */ - - pj_assert(sdp_remote && m_rem); - - /* Generate transport */ - switch (srtp->setting.use) { - case PJMEDIA_SRTP_DISABLED: - if (pj_stricmp(&m_rem->desc.transport, &ID_RTP_SAVP) == 0) - return PJMEDIA_SRTP_ESDPINTRANSPORT; - goto BYPASS_SRTP; - case PJMEDIA_SRTP_OPTIONAL: - m_loc->desc.transport = m_rem->desc.transport; - break; - case PJMEDIA_SRTP_MANDATORY: - if (pj_stricmp(&m_rem->desc.transport, &ID_RTP_SAVP) != 0) - return PJMEDIA_SRTP_ESDPINTRANSPORT; - m_loc->desc.transport = ID_RTP_SAVP; - break; - } - - /* Generate crypto attribute if not yet */ - if (pjmedia_sdp_media_find_attr(m_loc, &ID_CRYPTO, NULL) == NULL) { - - pjmedia_srtp_crypto tmp_rx_crypto; - pj_bool_t has_crypto_attr = PJ_FALSE; - int matched_idx = -1; - int chosen_tag = 0; - int tags[64]; /* assume no more than 64 crypto attrs in a media */ - unsigned cr_attr_count = 0; - - /* Find supported crypto-suite, get the tag, and assign policy_local */ - for (i=0; iattr_count; ++i) { - if (pj_stricmp(&m_rem->attr[i]->name, &ID_CRYPTO) != 0) - continue; - - has_crypto_attr = PJ_TRUE; - - status = parse_attr_crypto(srtp->pool, m_rem->attr[i], - &tmp_rx_crypto, &tags[cr_attr_count]); - if (status != PJ_SUCCESS) - return status; - - /* Check duplicated tag */ - for (j=0; jsetting.crypto_count; ++j) - if (pj_stricmp(&tmp_rx_crypto.name, - &srtp->setting.crypto[j].name) == 0) - { - int cs_idx = get_crypto_idx(&tmp_rx_crypto.name); - - /* Force to use test key */ - /* bad keys for snom: */ - //char *hex_test_key = "58b29c5c8f42308120ce857e439f2d" - // "7810a8b10ad0b1446be5470faea496"; - //char *hex_test_key = "20a26aac7ba062d356ff52b61e3993" - // "ccb78078f12c64db94b9c294927fd0"; - //pj_str_t *test_key = &srtp->setting.crypto[j].key; - //char *raw_test_key = pj_pool_zalloc(srtp->pool, 64); - //hex_string_to_octet_string( - // raw_test_key, - // hex_test_key, - // strlen(hex_test_key)); - //pj_strset(test_key, raw_test_key, - // crypto_suites[cs_idx].cipher_key_len); - /* EO Force to use test key */ - - if (tmp_rx_crypto.key.slen != - (int)crypto_suites[cs_idx].cipher_key_len) - return PJMEDIA_SRTP_EINKEYLEN; - - srtp->rx_policy_neg = tmp_rx_crypto; - chosen_tag = tags[cr_attr_count]; - matched_idx = j; - break; - } - } - cr_attr_count++; - } - - /* Check crypto negotiation result */ - switch (srtp->setting.use) { - case PJMEDIA_SRTP_DISABLED: - pj_assert(!"Should never reach here"); - break; - - case PJMEDIA_SRTP_OPTIONAL: - /* bypass SRTP when no crypto-attr and remote uses RTP/AVP */ - if (!has_crypto_attr && - pj_stricmp(&m_rem->desc.transport, &ID_RTP_AVP) == 0) - goto BYPASS_SRTP; - /* bypass SRTP when nothing match and remote uses RTP/AVP */ - else if (matched_idx == -1 && - pj_stricmp(&m_rem->desc.transport, &ID_RTP_AVP) == 0) - goto BYPASS_SRTP; - break; - - case PJMEDIA_SRTP_MANDATORY: - /* Do nothing, intentional */ - break; - } - - /* No crypto attr */ - if (!has_crypto_attr) { - DEACTIVATE_MEDIA(sdp_pool, m_loc); - return PJMEDIA_SRTP_ESDPREQCRYPTO; - } - - /* No crypto match */ - if (matched_idx == -1) { - DEACTIVATE_MEDIA(sdp_pool, m_loc); - return PJMEDIA_SRTP_ENOTSUPCRYPTO; - } - - /* we have to generate crypto answer, - * with srtp->tx_policy_neg matched the offer - * and rem_tag contains matched offer tag. - */ - buffer_len = MAXLEN; - status = generate_crypto_attr_value(srtp->pool, buffer, &buffer_len, - &srtp->setting.crypto[matched_idx], - chosen_tag); - if (status != PJ_SUCCESS) - return status; - - srtp->tx_policy_neg = srtp->setting.crypto[matched_idx]; - - /* If buffer_len==0, just skip the crypto attribute. */ - if (buffer_len) { - pj_strset(&attr_value, buffer, buffer_len); - attr = pjmedia_sdp_attr_create(sdp_pool, ID_CRYPTO.ptr, - &attr_value); - m_loc->attr[m_loc->attr_count++] = attr; - } - - /* At this point, we get valid rx_policy_neg & tx_policy_neg. */ - } - - } - goto PROPAGATE_MEDIA_CREATE; - -BYPASS_SRTP: - /* Do not update this flag here as actually the media session hasn't been - * updated. - */ - //srtp->bypass_srtp = PJ_TRUE; - -PROPAGATE_MEDIA_CREATE: - return pjmedia_transport_encode_sdp(srtp->member_tp, sdp_pool, - sdp_local, sdp_remote, media_index); -} - - - -static pj_status_t transport_media_start(pjmedia_transport *tp, - pj_pool_t *pool, - const pjmedia_sdp_session *sdp_local, - const pjmedia_sdp_session *sdp_remote, - unsigned media_index) -{ - struct transport_srtp *srtp = (struct transport_srtp*) tp; - pjmedia_sdp_media *m_rem, *m_loc; - pj_status_t status; - unsigned i; - - PJ_ASSERT_RETURN(tp && pool && sdp_local && sdp_remote, PJ_EINVAL); - - m_rem = sdp_remote->media[media_index]; - m_loc = sdp_local->media[media_index]; - - if (pj_stricmp(&m_rem->desc.transport, &ID_RTP_SAVP) == 0) - srtp->peer_use = PJMEDIA_SRTP_MANDATORY; - else - srtp->peer_use = PJMEDIA_SRTP_OPTIONAL; - - /* For answerer side, this function will just have to start SRTP */ - - /* Check remote media transport & set local media transport - * based on SRTP usage option. - */ - if (srtp->offerer_side) { - if (srtp->setting.use == PJMEDIA_SRTP_DISABLED) { - if (pjmedia_sdp_media_find_attr(m_rem, &ID_CRYPTO, NULL)) { - DEACTIVATE_MEDIA(pool, m_loc); - return PJMEDIA_SRTP_ESDPINCRYPTO; - } - goto BYPASS_SRTP; - } else if (srtp->setting.use == PJMEDIA_SRTP_OPTIONAL) { - // Regardless the answer's transport type (RTP/AVP or RTP/SAVP), - // the answer must be processed through in optional mode. - // Please note that at this point transport type is ensured to be - // RTP/AVP or RTP/SAVP, see transport_media_create() - //if (pj_stricmp(&m_rem->desc.transport, &m_loc->desc.transport)) { - //DEACTIVATE_MEDIA(pool, m_loc); - //return PJMEDIA_SDP_EINPROTO; - //} - } else if (srtp->setting.use == PJMEDIA_SRTP_MANDATORY) { - if (pj_stricmp(&m_rem->desc.transport, &ID_RTP_SAVP)) { - DEACTIVATE_MEDIA(pool, m_loc); - return PJMEDIA_SDP_EINPROTO; - } - } - } - - if (srtp->offerer_side) { - /* find supported crypto-suite, get the tag, and assign policy_local */ - pjmedia_srtp_crypto tmp_tx_crypto; - pj_bool_t has_crypto_attr = PJ_FALSE; - int rem_tag; - - for (i=0; iattr_count; ++i) { - if (pj_stricmp(&m_rem->attr[i]->name, &ID_CRYPTO) != 0) - continue; - - /* more than one crypto attribute in media answer */ - if (has_crypto_attr) { - DEACTIVATE_MEDIA(pool, m_loc); - return PJMEDIA_SRTP_ESDPAMBIGUEANS; - } - - has_crypto_attr = PJ_TRUE; - - status = parse_attr_crypto(srtp->pool, m_rem->attr[i], - &tmp_tx_crypto, &rem_tag); - if (status != PJ_SUCCESS) - return status; - - - /* our offer tag is always ordered by setting */ - if (rem_tag < 1 || rem_tag > (int)srtp->setting.crypto_count) { - DEACTIVATE_MEDIA(pool, m_loc); - return PJMEDIA_SRTP_ESDPINCRYPTOTAG; - } - - /* match the crypto name */ - if (pj_stricmp(&tmp_tx_crypto.name, - &srtp->setting.crypto[rem_tag-1].name) != 0) - { - DEACTIVATE_MEDIA(pool, m_loc); - return PJMEDIA_SRTP_ECRYPTONOTMATCH; - } - - srtp->tx_policy_neg = srtp->setting.crypto[rem_tag-1]; - srtp->rx_policy_neg = tmp_tx_crypto; - } - - if (srtp->setting.use == PJMEDIA_SRTP_DISABLED) { - /* should never reach here */ - goto BYPASS_SRTP; - } else if (srtp->setting.use == PJMEDIA_SRTP_OPTIONAL) { - if (!has_crypto_attr) - goto BYPASS_SRTP; - } else if (srtp->setting.use == PJMEDIA_SRTP_MANDATORY) { - if (!has_crypto_attr) { - DEACTIVATE_MEDIA(pool, m_loc); - return PJMEDIA_SRTP_ESDPREQCRYPTO; - } - } - - /* At this point, we get valid rx_policy_neg & tx_policy_neg. */ - } - - /* Make sure we have the SRTP policies */ - if (srtp_crypto_empty(&srtp->tx_policy_neg) || - srtp_crypto_empty(&srtp->rx_policy_neg)) - { - goto BYPASS_SRTP; - } - - /* Reset probation counts */ - srtp->probation_cnt = PROBATION_CNT_INIT; - - /* Got policy_local & policy_remote, let's initalize the SRTP */ - - /* Ticket #1075: media_start() is called whenever media description - * gets updated, e.g: call hold, however we should restart SRTP only - * when the SRTP policy settings are updated. - */ - if (srtp_crypto_cmp(&srtp->tx_policy_neg, &srtp->tx_policy) || - srtp_crypto_cmp(&srtp->rx_policy_neg, &srtp->rx_policy)) - { - status = pjmedia_transport_srtp_start(tp, - &srtp->tx_policy_neg, - &srtp->rx_policy_neg); - if (status != PJ_SUCCESS) - return status; - } - - srtp->bypass_srtp = PJ_FALSE; - - goto PROPAGATE_MEDIA_START; - -BYPASS_SRTP: - srtp->bypass_srtp = PJ_TRUE; - srtp->peer_use = PJMEDIA_SRTP_DISABLED; - if (srtp->session_inited) { - pjmedia_transport_srtp_stop(tp); - } - -PROPAGATE_MEDIA_START: - return pjmedia_transport_media_start(srtp->member_tp, pool, - sdp_local, sdp_remote, - media_index); -} - -static pj_status_t transport_media_stop(pjmedia_transport *tp) -{ - struct transport_srtp *srtp = (struct transport_srtp*) tp; - pj_status_t status; - - PJ_ASSERT_RETURN(tp, PJ_EINVAL); - - status = pjmedia_transport_media_stop(srtp->member_tp); - if (status != PJ_SUCCESS) - PJ_LOG(4, (srtp->pool->obj_name, - "SRTP failed stop underlying media transport.")); - - return pjmedia_transport_srtp_stop(tp); -} - -/* Utility */ -PJ_DEF(pj_status_t) pjmedia_transport_srtp_decrypt_pkt(pjmedia_transport *tp, - pj_bool_t is_rtp, - void *pkt, - int *pkt_len) -{ - transport_srtp *srtp = (transport_srtp *)tp; - err_status_t err; - - if (srtp->bypass_srtp) - return PJ_SUCCESS; - - PJ_ASSERT_RETURN(tp && pkt && (*pkt_len>0), PJ_EINVAL); - PJ_ASSERT_RETURN(srtp->session_inited, PJ_EINVALIDOP); - - /* Make sure buffer is 32bit aligned */ - PJ_ASSERT_ON_FAIL( (((long)pkt) & 0x03)==0, return PJ_EINVAL); - - pj_lock_acquire(srtp->mutex); - - if (!srtp->session_inited) { - pj_lock_release(srtp->mutex); - return PJ_EINVALIDOP; - } - - if (is_rtp) - err = srtp_unprotect(srtp->srtp_rx_ctx, pkt, pkt_len); - else - err = srtp_unprotect_rtcp(srtp->srtp_rx_ctx, pkt, pkt_len); - - if (err != err_status_ok) { - PJ_LOG(5,(srtp->pool->obj_name, - "Failed to unprotect SRTP, pkt size=%d, err=%s", - *pkt_len, get_libsrtp_errstr(err))); - } - - pj_lock_release(srtp->mutex); - - return (err==err_status_ok) ? PJ_SUCCESS : PJMEDIA_ERRNO_FROM_LIBSRTP(err); -} - -#endif - - diff --git a/res/pjproject/pjmedia/src/pjmedia/transport_udp.c b/res/pjproject/pjmedia/src/pjmedia/transport_udp.c deleted file mode 100644 index 631785993a..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/transport_udp.c +++ /dev/null @@ -1,915 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -/* Maximum size of incoming RTP packet */ -#define RTP_LEN PJMEDIA_MAX_MTU - -/* Maximum size of incoming RTCP packet */ -#define RTCP_LEN 600 - -/* Maximum pending write operations */ -#define MAX_PENDING 4 - -static const pj_str_t ID_RTP_AVP = { "RTP/AVP", 7 }; - -/* Pending write buffer */ -typedef struct pending_write -{ - char buffer[RTP_LEN]; - pj_ioqueue_op_key_t op_key; -} pending_write; - - -struct transport_udp -{ - pjmedia_transport base; /**< Base transport. */ - - pj_pool_t *pool; /**< Memory pool */ - unsigned options; /**< Transport options. */ - unsigned media_options; /**< Transport media options. */ - void *user_data; /**< Only valid when attached */ - pj_bool_t attached; /**< Has attachment? */ - pj_sockaddr rem_rtp_addr; /**< Remote RTP address */ - pj_sockaddr rem_rtcp_addr; /**< Remote RTCP address */ - int addr_len; /**< Length of addresses. */ - void (*rtp_cb)( void*, /**< To report incoming RTP. */ - void*, - pj_ssize_t); - void (*rtcp_cb)( void*, /**< To report incoming RTCP. */ - void*, - pj_ssize_t); - - unsigned tx_drop_pct; /**< Percent of tx pkts to drop. */ - unsigned rx_drop_pct; /**< Percent of rx pkts to drop. */ - - pj_sock_t rtp_sock; /**< RTP socket */ - pj_sockaddr rtp_addr_name; /**< Published RTP address. */ - pj_ioqueue_key_t *rtp_key; /**< RTP socket key in ioqueue */ - pj_ioqueue_op_key_t rtp_read_op; /**< Pending read operation */ - unsigned rtp_write_op_id;/**< Next write_op to use */ - pending_write rtp_pending_write[MAX_PENDING]; /**< Pending write */ - pj_sockaddr rtp_src_addr; /**< Actual packet src addr. */ - unsigned rtp_src_cnt; /**< How many pkt from this addr. */ - int rtp_addrlen; /**< Address length. */ - char rtp_pkt[RTP_LEN];/**< Incoming RTP packet buffer */ - - pj_sock_t rtcp_sock; /**< RTCP socket */ - pj_sockaddr rtcp_addr_name; /**< Published RTCP address. */ - pj_sockaddr rtcp_src_addr; /**< Actual source RTCP address. */ - unsigned rtcp_src_cnt; /**< How many pkt from this addr. */ - int rtcp_addr_len; /**< Length of RTCP src address. */ - pj_ioqueue_key_t *rtcp_key; /**< RTCP socket key in ioqueue */ - pj_ioqueue_op_key_t rtcp_read_op; /**< Pending read operation */ - pj_ioqueue_op_key_t rtcp_write_op; /**< Pending write operation */ - char rtcp_pkt[RTCP_LEN];/**< Incoming RTCP packet buffer */ -}; - - - -static void on_rx_rtp( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read); -static void on_rx_rtcp(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read); - -/* - * These are media transport operations. - */ -static pj_status_t transport_get_info (pjmedia_transport *tp, - pjmedia_transport_info *info); -static pj_status_t transport_attach (pjmedia_transport *tp, - void *user_data, - const pj_sockaddr_t *rem_addr, - const pj_sockaddr_t *rem_rtcp, - unsigned addr_len, - void (*rtp_cb)(void*, - void*, - pj_ssize_t), - void (*rtcp_cb)(void*, - void*, - pj_ssize_t)); -static void transport_detach (pjmedia_transport *tp, - void *strm); -static pj_status_t transport_send_rtp( pjmedia_transport *tp, - const void *pkt, - pj_size_t size); -static pj_status_t transport_send_rtcp(pjmedia_transport *tp, - const void *pkt, - pj_size_t size); -static pj_status_t transport_send_rtcp2(pjmedia_transport *tp, - const pj_sockaddr_t *addr, - unsigned addr_len, - const void *pkt, - pj_size_t size); -static pj_status_t transport_media_create(pjmedia_transport *tp, - pj_pool_t *pool, - unsigned options, - const pjmedia_sdp_session *sdp_remote, - unsigned media_index); -static pj_status_t transport_encode_sdp(pjmedia_transport *tp, - pj_pool_t *pool, - pjmedia_sdp_session *sdp_local, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index); -static pj_status_t transport_media_start (pjmedia_transport *tp, - pj_pool_t *pool, - const pjmedia_sdp_session *sdp_local, - const pjmedia_sdp_session *sdp_remote, - unsigned media_index); -static pj_status_t transport_media_stop(pjmedia_transport *tp); -static pj_status_t transport_simulate_lost(pjmedia_transport *tp, - pjmedia_dir dir, - unsigned pct_lost); -static pj_status_t transport_destroy (pjmedia_transport *tp); - - -static pjmedia_transport_op transport_udp_op = -{ - &transport_get_info, - &transport_attach, - &transport_detach, - &transport_send_rtp, - &transport_send_rtcp, - &transport_send_rtcp2, - &transport_media_create, - &transport_encode_sdp, - &transport_media_start, - &transport_media_stop, - &transport_simulate_lost, - &transport_destroy -}; - - -/** - * Create UDP stream transport. - */ -PJ_DEF(pj_status_t) pjmedia_transport_udp_create( pjmedia_endpt *endpt, - const char *name, - int port, - unsigned options, - pjmedia_transport **p_tp) -{ - return pjmedia_transport_udp_create2(endpt, name, NULL, port, options, - p_tp); -} - -/** - * Create UDP stream transport. - */ -PJ_DEF(pj_status_t) pjmedia_transport_udp_create2(pjmedia_endpt *endpt, - const char *name, - const pj_str_t *addr, - int port, - unsigned options, - pjmedia_transport **p_tp) -{ - return pjmedia_transport_udp_create3(endpt, pj_AF_INET(), name, - addr, port, options, p_tp); -} - -/** - * Create UDP stream transport. - */ -PJ_DEF(pj_status_t) pjmedia_transport_udp_create3(pjmedia_endpt *endpt, - int af, - const char *name, - const pj_str_t *addr, - int port, - unsigned options, - pjmedia_transport **p_tp) -{ - pjmedia_sock_info si; - pj_status_t status; - - - /* Sanity check */ - PJ_ASSERT_RETURN(endpt && port && p_tp, PJ_EINVAL); - - - pj_bzero(&si, sizeof(pjmedia_sock_info)); - si.rtp_sock = si.rtcp_sock = PJ_INVALID_SOCKET; - - /* Create RTP socket */ - status = pj_sock_socket(af, pj_SOCK_DGRAM(), 0, &si.rtp_sock); - if (status != PJ_SUCCESS) - goto on_error; - - /* Bind RTP socket */ - status = pj_sockaddr_init(af, &si.rtp_addr_name, addr, (pj_uint16_t)port); - if (status != PJ_SUCCESS) - goto on_error; - - status = pj_sock_bind(si.rtp_sock, &si.rtp_addr_name, - pj_sockaddr_get_len(&si.rtp_addr_name)); - if (status != PJ_SUCCESS) - goto on_error; - - - /* Create RTCP socket */ - status = pj_sock_socket(af, pj_SOCK_DGRAM(), 0, &si.rtcp_sock); - if (status != PJ_SUCCESS) - goto on_error; - - /* Bind RTCP socket */ - status = pj_sockaddr_init(af, &si.rtcp_addr_name, addr, - (pj_uint16_t)(port+1)); - if (status != PJ_SUCCESS) - goto on_error; - - status = pj_sock_bind(si.rtcp_sock, &si.rtcp_addr_name, - pj_sockaddr_get_len(&si.rtcp_addr_name)); - if (status != PJ_SUCCESS) - goto on_error; - - - /* Create UDP transport by attaching socket info */ - return pjmedia_transport_udp_attach( endpt, name, &si, options, p_tp); - - -on_error: - if (si.rtp_sock != PJ_INVALID_SOCKET) - pj_sock_close(si.rtp_sock); - if (si.rtcp_sock != PJ_INVALID_SOCKET) - pj_sock_close(si.rtcp_sock); - return status; -} - - -/** - * Create UDP stream transport from existing socket info. - */ -PJ_DEF(pj_status_t) pjmedia_transport_udp_attach( pjmedia_endpt *endpt, - const char *name, - const pjmedia_sock_info *si, - unsigned options, - pjmedia_transport **p_tp) -{ - struct transport_udp *tp; - pj_pool_t *pool; - pj_ioqueue_t *ioqueue; - pj_ioqueue_callback rtp_cb, rtcp_cb; - pj_ssize_t size; - unsigned i; - pj_status_t status; - - - /* Sanity check */ - PJ_ASSERT_RETURN(endpt && si && p_tp, PJ_EINVAL); - - /* Get ioqueue instance */ - ioqueue = pjmedia_endpt_get_ioqueue(endpt); - - if (name==NULL) - name = "udp%p"; - - /* Create transport structure */ - pool = pjmedia_endpt_create_pool(endpt, name, 512, 512); - if (!pool) - return PJ_ENOMEM; - - tp = PJ_POOL_ZALLOC_T(pool, struct transport_udp); - tp->pool = pool; - tp->options = options; - pj_memcpy(tp->base.name, pool->obj_name, PJ_MAX_OBJ_NAME); - tp->base.op = &transport_udp_op; - tp->base.type = PJMEDIA_TRANSPORT_TYPE_UDP; - - /* Copy socket infos */ - tp->rtp_sock = si->rtp_sock; - tp->rtp_addr_name = si->rtp_addr_name; - tp->rtcp_sock = si->rtcp_sock; - tp->rtcp_addr_name = si->rtcp_addr_name; - - /* If address is 0.0.0.0, use host's IP address */ - if (!pj_sockaddr_has_addr(&tp->rtp_addr_name)) { - pj_sockaddr hostip; - - status = pj_gethostip(tp->rtp_addr_name.addr.sa_family, &hostip); - if (status != PJ_SUCCESS) - goto on_error; - - pj_memcpy(pj_sockaddr_get_addr(&tp->rtp_addr_name), - pj_sockaddr_get_addr(&hostip), - pj_sockaddr_get_addr_len(&hostip)); - } - - /* Same with RTCP */ - if (!pj_sockaddr_has_addr(&tp->rtcp_addr_name)) { - pj_memcpy(pj_sockaddr_get_addr(&tp->rtcp_addr_name), - pj_sockaddr_get_addr(&tp->rtp_addr_name), - pj_sockaddr_get_addr_len(&tp->rtp_addr_name)); - } - - /* Setup RTP socket with the ioqueue */ - pj_bzero(&rtp_cb, sizeof(rtp_cb)); - rtp_cb.on_read_complete = &on_rx_rtp; - - status = pj_ioqueue_register_sock(pool, ioqueue, tp->rtp_sock, tp, - &rtp_cb, &tp->rtp_key); - if (status != PJ_SUCCESS) - goto on_error; - - /* Disallow concurrency so that detach() and destroy() are - * synchronized with the callback. - */ - status = pj_ioqueue_set_concurrency(tp->rtp_key, PJ_FALSE); - if (status != PJ_SUCCESS) - goto on_error; - - pj_ioqueue_op_key_init(&tp->rtp_read_op, sizeof(tp->rtp_read_op)); - for (i=0; irtp_pending_write); ++i) - pj_ioqueue_op_key_init(&tp->rtp_pending_write[i].op_key, - sizeof(tp->rtp_pending_write[i].op_key)); - - /* Kick of pending RTP read from the ioqueue */ - tp->rtp_addrlen = sizeof(tp->rtp_src_addr); - size = sizeof(tp->rtp_pkt); - status = pj_ioqueue_recvfrom(tp->rtp_key, &tp->rtp_read_op, - tp->rtp_pkt, &size, PJ_IOQUEUE_ALWAYS_ASYNC, - &tp->rtp_src_addr, &tp->rtp_addrlen); - if (status != PJ_EPENDING) - goto on_error; - - - /* Setup RTCP socket with ioqueue */ - pj_bzero(&rtcp_cb, sizeof(rtcp_cb)); - rtcp_cb.on_read_complete = &on_rx_rtcp; - - status = pj_ioqueue_register_sock(pool, ioqueue, tp->rtcp_sock, tp, - &rtcp_cb, &tp->rtcp_key); - if (status != PJ_SUCCESS) - goto on_error; - - status = pj_ioqueue_set_concurrency(tp->rtcp_key, PJ_FALSE); - if (status != PJ_SUCCESS) - goto on_error; - - pj_ioqueue_op_key_init(&tp->rtcp_read_op, sizeof(tp->rtcp_read_op)); - pj_ioqueue_op_key_init(&tp->rtcp_write_op, sizeof(tp->rtcp_write_op)); - - - /* Kick of pending RTCP read from the ioqueue */ - size = sizeof(tp->rtcp_pkt); - tp->rtcp_addr_len = sizeof(tp->rtcp_src_addr); - status = pj_ioqueue_recvfrom( tp->rtcp_key, &tp->rtcp_read_op, - tp->rtcp_pkt, &size, PJ_IOQUEUE_ALWAYS_ASYNC, - &tp->rtcp_src_addr, &tp->rtcp_addr_len); - if (status != PJ_EPENDING) - goto on_error; - - - /* Done */ - *p_tp = &tp->base; - return PJ_SUCCESS; - - -on_error: - transport_destroy(&tp->base); - return status; -} - - -/** - * Close UDP transport. - */ -static pj_status_t transport_destroy(pjmedia_transport *tp) -{ - struct transport_udp *udp = (struct transport_udp*) tp; - - /* Sanity check */ - PJ_ASSERT_RETURN(tp, PJ_EINVAL); - - /* Must not close while application is using this */ - //PJ_ASSERT_RETURN(!udp->attached, PJ_EINVALIDOP); - - - if (udp->rtp_key) { - /* This will block the execution if callback is still - * being called. - */ - pj_ioqueue_unregister(udp->rtp_key); - udp->rtp_key = NULL; - udp->rtp_sock = PJ_INVALID_SOCKET; - } else if (udp->rtp_sock != PJ_INVALID_SOCKET) { - pj_sock_close(udp->rtp_sock); - udp->rtp_sock = PJ_INVALID_SOCKET; - } - - if (udp->rtcp_key) { - pj_ioqueue_unregister(udp->rtcp_key); - udp->rtcp_key = NULL; - udp->rtcp_sock = PJ_INVALID_SOCKET; - } else if (udp->rtcp_sock != PJ_INVALID_SOCKET) { - pj_sock_close(udp->rtcp_sock); - udp->rtcp_sock = PJ_INVALID_SOCKET; - } - - pj_pool_release(udp->pool); - - return PJ_SUCCESS; -} - - -/* Notification from ioqueue about incoming RTP packet */ -static void on_rx_rtp( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read) -{ - struct transport_udp *udp; - pj_status_t status; - - PJ_UNUSED_ARG(op_key); - - udp = (struct transport_udp*) pj_ioqueue_get_user_data(key); - - do { - void (*cb)(void*,void*,pj_ssize_t); - void *user_data; - pj_bool_t discard = PJ_FALSE; - - cb = udp->rtp_cb; - user_data = udp->user_data; - - /* Simulate packet lost on RX direction */ - if (udp->rx_drop_pct) { - if ((pj_rand() % 100) <= (int)udp->rx_drop_pct) { - PJ_LOG(5,(udp->base.name, - "RX RTP packet dropped because of pkt lost " - "simulation")); - discard = PJ_TRUE; - } - } - - /* See if source address of RTP packet is different than the - * configured address, and switch RTP remote address to - * source packet address after several consecutive packets - * have been received. - */ - if (bytes_read>0 && - (udp->options & PJMEDIA_UDP_NO_SRC_ADDR_CHECKING)==0) - { - if (pj_sockaddr_cmp(&udp->rem_rtp_addr, &udp->rtp_src_addr) == 0) { - /* We're still receiving from rem_rtp_addr. Don't switch. */ - udp->rtp_src_cnt = 0; - } else { - udp->rtp_src_cnt++; - - if (udp->rtp_src_cnt < PJMEDIA_RTP_NAT_PROBATION_CNT) { - discard = PJ_TRUE; - } else { - - char addr_text[80]; - - /* Set remote RTP address to source address */ - pj_memcpy(&udp->rem_rtp_addr, &udp->rtp_src_addr, - sizeof(pj_sockaddr)); - - /* Reset counter */ - udp->rtp_src_cnt = 0; - - PJ_LOG(4,(udp->base.name, - "Remote RTP address switched to %s", - pj_sockaddr_print(&udp->rtp_src_addr, addr_text, - sizeof(addr_text), 3))); - - /* Also update remote RTCP address if actual RTCP source - * address is not heard yet. - */ - if (!pj_sockaddr_has_addr(&udp->rtcp_src_addr)) { - pj_uint16_t port; - - pj_memcpy(&udp->rem_rtcp_addr, &udp->rem_rtp_addr, - sizeof(pj_sockaddr)); - pj_sockaddr_copy_addr(&udp->rem_rtcp_addr, - &udp->rem_rtp_addr); - port = (pj_uint16_t) - (pj_sockaddr_get_port(&udp->rem_rtp_addr)+1); - pj_sockaddr_set_port(&udp->rem_rtcp_addr, port); - - pj_memcpy(&udp->rtcp_src_addr, &udp->rem_rtcp_addr, - sizeof(pj_sockaddr)); - - PJ_LOG(4,(udp->base.name, - "Remote RTCP address switched to predicted" - " address %s", - pj_sockaddr_print(&udp->rtcp_src_addr, - addr_text, - sizeof(addr_text), 3))); - - } - } - } - } - - if (!discard && udp->attached && cb) - (*cb)(user_data, udp->rtp_pkt, bytes_read); - - bytes_read = sizeof(udp->rtp_pkt); - udp->rtp_addrlen = sizeof(udp->rtp_src_addr); - status = pj_ioqueue_recvfrom(udp->rtp_key, &udp->rtp_read_op, - udp->rtp_pkt, &bytes_read, 0, - &udp->rtp_src_addr, - &udp->rtp_addrlen); - - if (status != PJ_EPENDING && status != PJ_SUCCESS) - bytes_read = -status; - - } while (status != PJ_EPENDING && status != PJ_ECANCELLED); -} - - -/* Notification from ioqueue about incoming RTCP packet */ -static void on_rx_rtcp(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read) -{ - struct transport_udp *udp; - pj_status_t status; - - PJ_UNUSED_ARG(op_key); - - udp = (struct transport_udp*) pj_ioqueue_get_user_data(key); - - do { - void (*cb)(void*,void*,pj_ssize_t); - void *user_data; - - cb = udp->rtcp_cb; - user_data = udp->user_data; - - if (udp->attached && cb) - (*cb)(user_data, udp->rtcp_pkt, bytes_read); - - /* Check if RTCP source address is the same as the configured - * remote address, and switch the address when they are - * different. - */ - if (bytes_read>0 && - (udp->options & PJMEDIA_UDP_NO_SRC_ADDR_CHECKING)==0) - { - if (pj_sockaddr_cmp(&udp->rem_rtcp_addr, &udp->rtcp_src_addr) == 0) { - /* Still receiving from rem_rtcp_addr, don't switch */ - udp->rtcp_src_cnt = 0; - } else { - ++udp->rtcp_src_cnt; - - if (udp->rtcp_src_cnt >= PJMEDIA_RTCP_NAT_PROBATION_CNT ) { - char addr_text[80]; - - udp->rtcp_src_cnt = 0; - pj_memcpy(&udp->rem_rtcp_addr, &udp->rtcp_src_addr, - sizeof(pj_sockaddr)); - - PJ_LOG(4,(udp->base.name, - "Remote RTCP address switched to %s", - pj_sockaddr_print(&udp->rtcp_src_addr, addr_text, - sizeof(addr_text), 3))); - } - } - } - - bytes_read = sizeof(udp->rtcp_pkt); - udp->rtcp_addr_len = sizeof(udp->rtcp_src_addr); - status = pj_ioqueue_recvfrom(udp->rtcp_key, &udp->rtcp_read_op, - udp->rtcp_pkt, &bytes_read, 0, - &udp->rtcp_src_addr, - &udp->rtcp_addr_len); - if (status != PJ_EPENDING && status != PJ_SUCCESS) - bytes_read = -status; - - } while (status != PJ_EPENDING && status != PJ_ECANCELLED); -} - - -/* Called to get the transport info */ -static pj_status_t transport_get_info(pjmedia_transport *tp, - pjmedia_transport_info *info) -{ - struct transport_udp *udp = (struct transport_udp*)tp; - PJ_ASSERT_RETURN(tp && info, PJ_EINVAL); - - info->sock_info.rtp_sock = udp->rtp_sock; - info->sock_info.rtp_addr_name = udp->rtp_addr_name; - info->sock_info.rtcp_sock = udp->rtcp_sock; - info->sock_info.rtcp_addr_name = udp->rtcp_addr_name; - - /* Get remote address originating RTP & RTCP. */ - info->src_rtp_name = udp->rtp_src_addr; - info->src_rtcp_name = udp->rtcp_src_addr; - - return PJ_SUCCESS; -} - - -/* Called by application to initialize the transport */ -static pj_status_t transport_attach( pjmedia_transport *tp, - void *user_data, - const pj_sockaddr_t *rem_addr, - const pj_sockaddr_t *rem_rtcp, - unsigned addr_len, - void (*rtp_cb)(void*, - void*, - pj_ssize_t), - void (*rtcp_cb)(void*, - void*, - pj_ssize_t)) -{ - struct transport_udp *udp = (struct transport_udp*) tp; - const pj_sockaddr *rtcp_addr; - - /* Validate arguments */ - PJ_ASSERT_RETURN(tp && rem_addr && addr_len, PJ_EINVAL); - - /* Must not be "attached" to existing application */ - PJ_ASSERT_RETURN(!udp->attached, PJ_EINVALIDOP); - - /* Lock the ioqueue keys to make sure that callbacks are - * not executed. See ticket #844 for details. - */ - pj_ioqueue_lock_key(udp->rtp_key); - pj_ioqueue_lock_key(udp->rtcp_key); - - /* "Attach" the application: */ - - /* Copy remote RTP address */ - pj_memcpy(&udp->rem_rtp_addr, rem_addr, addr_len); - - /* Copy remote RTP address, if one is specified. */ - rtcp_addr = (const pj_sockaddr*) rem_rtcp; - if (rtcp_addr && pj_sockaddr_has_addr(rtcp_addr)) { - pj_memcpy(&udp->rem_rtcp_addr, rem_rtcp, addr_len); - - } else { - unsigned rtcp_port; - - /* Otherwise guess the RTCP address from the RTP address */ - pj_memcpy(&udp->rem_rtcp_addr, rem_addr, addr_len); - rtcp_port = pj_sockaddr_get_port(&udp->rem_rtp_addr) + 1; - pj_sockaddr_set_port(&udp->rem_rtcp_addr, (pj_uint16_t)rtcp_port); - } - - /* Save the callbacks */ - udp->rtp_cb = rtp_cb; - udp->rtcp_cb = rtcp_cb; - udp->user_data = user_data; - - /* Save address length */ - udp->addr_len = addr_len; - - /* Last, mark transport as attached */ - udp->attached = PJ_TRUE; - - /* Reset source RTP & RTCP addresses and counter */ - pj_bzero(&udp->rtp_src_addr, sizeof(udp->rtp_src_addr)); - pj_bzero(&udp->rtcp_src_addr, sizeof(udp->rtcp_src_addr)); - udp->rtp_src_cnt = 0; - udp->rtcp_src_cnt = 0; - - /* Unlock keys */ - pj_ioqueue_unlock_key(udp->rtcp_key); - pj_ioqueue_unlock_key(udp->rtp_key); - - return PJ_SUCCESS; -} - - -/* Called by application when it no longer needs the transport */ -static void transport_detach( pjmedia_transport *tp, - void *user_data) -{ - struct transport_udp *udp = (struct transport_udp*) tp; - - pj_assert(tp); - - if (udp->attached) { - /* Lock the ioqueue keys to make sure that callbacks are - * not executed. See ticket #460 for details. - */ - pj_ioqueue_lock_key(udp->rtp_key); - pj_ioqueue_lock_key(udp->rtcp_key); - - /* User data is unreferenced on Release build */ - PJ_UNUSED_ARG(user_data); - - /* As additional checking, check if the same user data is specified */ - pj_assert(user_data == udp->user_data); - - /* First, mark transport as unattached */ - udp->attached = PJ_FALSE; - - /* Clear up application infos from transport */ - udp->rtp_cb = NULL; - udp->rtcp_cb = NULL; - udp->user_data = NULL; - - /* Unlock keys */ - pj_ioqueue_unlock_key(udp->rtcp_key); - pj_ioqueue_unlock_key(udp->rtp_key); - } -} - - -/* Called by application to send RTP packet */ -static pj_status_t transport_send_rtp( pjmedia_transport *tp, - const void *pkt, - pj_size_t size) -{ - struct transport_udp *udp = (struct transport_udp*)tp; - pj_ssize_t sent; - unsigned id; - struct pending_write *pw; - pj_status_t status; - - /* Must be attached */ - PJ_ASSERT_RETURN(udp->attached, PJ_EINVALIDOP); - - /* Check that the size is supported */ - PJ_ASSERT_RETURN(size <= RTP_LEN, PJ_ETOOBIG); - - /* Simulate packet lost on TX direction */ - if (udp->tx_drop_pct) { - if ((pj_rand() % 100) <= (int)udp->tx_drop_pct) { - PJ_LOG(5,(udp->base.name, - "TX RTP packet dropped because of pkt lost " - "simulation")); - return PJ_SUCCESS; - } - } - - - id = udp->rtp_write_op_id; - pw = &udp->rtp_pending_write[id]; - - /* We need to copy packet to our buffer because when the - * operation is pending, caller might write something else - * to the original buffer. - */ - pj_memcpy(pw->buffer, pkt, size); - - sent = size; - status = pj_ioqueue_sendto( udp->rtp_key, - &udp->rtp_pending_write[id].op_key, - pw->buffer, &sent, 0, - &udp->rem_rtp_addr, - udp->addr_len); - - udp->rtp_write_op_id = (udp->rtp_write_op_id + 1) % - PJ_ARRAY_SIZE(udp->rtp_pending_write); - - if (status==PJ_SUCCESS || status==PJ_EPENDING) - return PJ_SUCCESS; - - return status; -} - -/* Called by application to send RTCP packet */ -static pj_status_t transport_send_rtcp(pjmedia_transport *tp, - const void *pkt, - pj_size_t size) -{ - return transport_send_rtcp2(tp, NULL, 0, pkt, size); -} - - -/* Called by application to send RTCP packet */ -static pj_status_t transport_send_rtcp2(pjmedia_transport *tp, - const pj_sockaddr_t *addr, - unsigned addr_len, - const void *pkt, - pj_size_t size) -{ - struct transport_udp *udp = (struct transport_udp*)tp; - pj_ssize_t sent; - pj_status_t status; - - PJ_ASSERT_RETURN(udp->attached, PJ_EINVALIDOP); - - if (addr == NULL) { - addr = &udp->rem_rtcp_addr; - addr_len = udp->addr_len; - } - - sent = size; - status = pj_ioqueue_sendto( udp->rtcp_key, &udp->rtcp_write_op, - pkt, &sent, 0, addr, addr_len); - - if (status==PJ_SUCCESS || status==PJ_EPENDING) - return PJ_SUCCESS; - - return status; -} - - -static pj_status_t transport_media_create(pjmedia_transport *tp, - pj_pool_t *pool, - unsigned options, - const pjmedia_sdp_session *sdp_remote, - unsigned media_index) -{ - struct transport_udp *udp = (struct transport_udp*)tp; - - PJ_ASSERT_RETURN(tp && pool, PJ_EINVAL); - udp->media_options = options; - - PJ_UNUSED_ARG(sdp_remote); - PJ_UNUSED_ARG(media_index); - - return PJ_SUCCESS; -} - -static pj_status_t transport_encode_sdp(pjmedia_transport *tp, - pj_pool_t *pool, - pjmedia_sdp_session *sdp_local, - const pjmedia_sdp_session *rem_sdp, - unsigned media_index) -{ - struct transport_udp *udp = (struct transport_udp*)tp; - - /* Validate media transport */ - /* By now, this transport only support RTP/AVP transport */ - if ((udp->media_options & PJMEDIA_TPMED_NO_TRANSPORT_CHECKING) == 0) { - pjmedia_sdp_media *m_rem, *m_loc; - - m_rem = rem_sdp? rem_sdp->media[media_index] : NULL; - m_loc = sdp_local->media[media_index]; - - if (pj_stricmp(&m_loc->desc.transport, &ID_RTP_AVP) || - (m_rem && pj_stricmp(&m_rem->desc.transport, &ID_RTP_AVP))) - { - pjmedia_sdp_media_deactivate(pool, m_loc); - return PJMEDIA_SDP_EINPROTO; - } - } - - return PJ_SUCCESS; -} - -static pj_status_t transport_media_start(pjmedia_transport *tp, - pj_pool_t *pool, - const pjmedia_sdp_session *sdp_local, - const pjmedia_sdp_session *sdp_remote, - unsigned media_index) -{ - PJ_ASSERT_RETURN(tp && pool && sdp_local, PJ_EINVAL); - - PJ_UNUSED_ARG(tp); - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(sdp_local); - PJ_UNUSED_ARG(sdp_remote); - PJ_UNUSED_ARG(media_index); - - return PJ_SUCCESS; -} - -static pj_status_t transport_media_stop(pjmedia_transport *tp) -{ - PJ_UNUSED_ARG(tp); - - return PJ_SUCCESS; -} - -static pj_status_t transport_simulate_lost(pjmedia_transport *tp, - pjmedia_dir dir, - unsigned pct_lost) -{ - struct transport_udp *udp = (struct transport_udp*)tp; - - PJ_ASSERT_RETURN(tp && pct_lost <= 100, PJ_EINVAL); - - if (dir & PJMEDIA_DIR_ENCODING) - udp->tx_drop_pct = pct_lost; - - if (dir & PJMEDIA_DIR_DECODING) - udp->rx_drop_pct = pct_lost; - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/types.c b/res/pjproject/pjmedia/src/pjmedia/types.c deleted file mode 100644 index 38c0d05032..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/types.c +++ /dev/null @@ -1,47 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -/** - * Utility function to return the string name for a pjmedia_type. - * - * @param t The media type. - * - * @return String. - */ -PJ_DEF(const char*) pjmedia_type_name(pjmedia_type t) -{ - const char *type_names[] = { - "none", - "audio", - "video", - "application", - "unknown" - }; - - pj_assert(t < PJ_ARRAY_SIZE(type_names)); - pj_assert(PJMEDIA_TYPE_UNKNOWN == 4); - - if (t < PJ_ARRAY_SIZE(type_names)) - return type_names[t]; - else - return "??"; -} diff --git a/res/pjproject/pjmedia/src/pjmedia/vid_codec.c b/res/pjproject/pjmedia/src/pjmedia/vid_codec.c deleted file mode 100644 index 93690a2925..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/vid_codec.c +++ /dev/null @@ -1,759 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - - -#define THIS_FILE "vid_codec.c" - -static pjmedia_vid_codec_mgr *def_vid_codec_mgr; - - -/* Definition of default codecs parameters */ -typedef struct pjmedia_vid_codec_default_param -{ - pj_pool_t *pool; - pjmedia_vid_codec_param *param; -} pjmedia_vid_codec_default_param; - - -/* - * Codec manager maintains array of these structs for each supported - * codec. - */ -typedef struct pjmedia_vid_codec_desc -{ - pjmedia_vid_codec_info info; /**< Codec info. */ - pjmedia_codec_id id; /**< Fully qualified name */ - pjmedia_codec_priority prio; /**< Priority. */ - pjmedia_vid_codec_factory *factory; /**< The factory. */ - pjmedia_vid_codec_default_param *def_param; /**< Default codecs - parameters. */ -} pjmedia_vid_codec_desc; - - -/* The declaration of video codec manager */ -struct pjmedia_vid_codec_mgr -{ - /** Pool factory instance. */ - pj_pool_factory *pf; - - /** Codec manager mutex. */ - pj_mutex_t *mutex; - - /** List of codec factories registered to codec manager. */ - pjmedia_vid_codec_factory factory_list; - - /** Number of supported codecs. */ - unsigned codec_cnt; - - /** Array of codec descriptor. */ - pjmedia_vid_codec_desc codec_desc[PJMEDIA_CODEC_MGR_MAX_CODECS]; - -}; - - - -/* Sort codecs in codec manager based on priorities */ -static void sort_codecs(pjmedia_vid_codec_mgr *mgr); - - -/* - * Duplicate video codec parameter. - */ -PJ_DEF(pjmedia_vid_codec_param*) pjmedia_vid_codec_param_clone( - pj_pool_t *pool, - const pjmedia_vid_codec_param *src) -{ - pjmedia_vid_codec_param *p; - unsigned i; - - PJ_ASSERT_RETURN(pool && src, NULL); - - p = PJ_POOL_ZALLOC_T(pool, pjmedia_vid_codec_param); - - /* Update codec param */ - pj_memcpy(p, src, sizeof(pjmedia_vid_codec_param)); - for (i = 0; i < src->dec_fmtp.cnt; ++i) { - pj_strdup(pool, &p->dec_fmtp.param[i].name, - &src->dec_fmtp.param[i].name); - pj_strdup(pool, &p->dec_fmtp.param[i].val, - &src->dec_fmtp.param[i].val); - } - for (i = 0; i < src->enc_fmtp.cnt; ++i) { - pj_strdup(pool, &p->enc_fmtp.param[i].name, - &src->enc_fmtp.param[i].name); - pj_strdup(pool, &p->enc_fmtp.param[i].val, - &src->enc_fmtp.param[i].val); - } - - return p; -} - -/* - * Initialize codec manager. - */ -PJ_DEF(pj_status_t) pjmedia_vid_codec_mgr_create( - pj_pool_t *pool, - pjmedia_vid_codec_mgr **p_mgr) -{ - pjmedia_vid_codec_mgr *mgr; - pj_status_t status; - - PJ_ASSERT_RETURN(pool, PJ_EINVAL); - - mgr = PJ_POOL_ZALLOC_T(pool, pjmedia_vid_codec_mgr); - mgr->pf = pool->factory; - pj_list_init (&mgr->factory_list); - mgr->codec_cnt = 0; - - /* Create mutex */ - status = pj_mutex_create_recursive(pool, "vid-codec-mgr", &mgr->mutex); - if (status != PJ_SUCCESS) - return status; - - if (!def_vid_codec_mgr) - def_vid_codec_mgr = mgr; - - if (p_mgr) - *p_mgr = mgr; - - return PJ_SUCCESS; -} - -/* - * Initialize codec manager. - */ -PJ_DEF(pj_status_t) pjmedia_vid_codec_mgr_destroy (pjmedia_vid_codec_mgr *mgr) -{ - if (!mgr) mgr = def_vid_codec_mgr; - PJ_ASSERT_RETURN(mgr, PJ_EINVAL); - - /* Destroy mutex */ - if (mgr->mutex) - pj_mutex_destroy(mgr->mutex); - - /* Just for safety, set codec manager states to zero */ - pj_bzero(mgr, sizeof(pjmedia_vid_codec_mgr)); - - if (mgr == def_vid_codec_mgr) - def_vid_codec_mgr = NULL; - - return PJ_SUCCESS; -} - - -PJ_DEF(pjmedia_vid_codec_mgr*) pjmedia_vid_codec_mgr_instance(void) -{ - //pj_assert(def_vid_codec_mgr); - return def_vid_codec_mgr; -} - -PJ_DEF(void) pjmedia_vid_codec_mgr_set_instance(pjmedia_vid_codec_mgr* mgr) -{ - def_vid_codec_mgr = mgr; -} - - -/* - * Register a codec factory. - */ -PJ_DEF(pj_status_t) pjmedia_vid_codec_mgr_register_factory( - pjmedia_vid_codec_mgr *mgr, - pjmedia_vid_codec_factory *factory) -{ - pjmedia_vid_codec_info info[PJMEDIA_CODEC_MGR_MAX_CODECS]; - unsigned i, count; - pj_status_t status; - - PJ_ASSERT_RETURN(factory, PJ_EINVAL); - - if (!mgr) mgr = def_vid_codec_mgr; - PJ_ASSERT_RETURN(mgr, PJ_EINVAL); - - /* Enum codecs */ - count = PJ_ARRAY_SIZE(info); - status = factory->op->enum_info(factory, &count, info); - if (status != PJ_SUCCESS) - return status; - - pj_mutex_lock(mgr->mutex); - - /* Check codec count */ - if (count + mgr->codec_cnt > PJ_ARRAY_SIZE(mgr->codec_desc)) { - pj_mutex_unlock(mgr->mutex); - return PJ_ETOOMANY; - } - - - /* Save the codecs */ - for (i=0; icodec_desc[mgr->codec_cnt+i], - &info[i], sizeof(pjmedia_vid_codec_info)); - mgr->codec_desc[mgr->codec_cnt+i].prio = PJMEDIA_CODEC_PRIO_NORMAL; - mgr->codec_desc[mgr->codec_cnt+i].factory = factory; - pjmedia_vid_codec_info_to_id( &info[i], - mgr->codec_desc[mgr->codec_cnt+i].id, - sizeof(pjmedia_codec_id)); - } - - /* Update count */ - mgr->codec_cnt += count; - - /* Re-sort codec based on priorities */ - sort_codecs(mgr); - - /* Add factory to the list */ - pj_list_push_back(&mgr->factory_list, factory); - - pj_mutex_unlock(mgr->mutex); - - return PJ_SUCCESS; -} - - -/* - * Unregister a codec factory. - */ -PJ_DEF(pj_status_t) pjmedia_vid_codec_mgr_unregister_factory( - pjmedia_vid_codec_mgr *mgr, - pjmedia_vid_codec_factory *factory) -{ - unsigned i; - PJ_ASSERT_RETURN(factory, PJ_EINVAL); - - if (!mgr) mgr = def_vid_codec_mgr; - PJ_ASSERT_RETURN(mgr, PJ_EINVAL); - - pj_mutex_lock(mgr->mutex); - - /* Factory must be registered. */ - if (pj_list_find_node(&mgr->factory_list, factory) != factory) { - pj_mutex_unlock(mgr->mutex); - return PJ_ENOTFOUND; - } - - /* Erase factory from the factory list */ - pj_list_erase(factory); - - - /* Remove all supported codecs from the codec manager that were created - * by the specified factory. - */ - for (i=0; icodec_cnt; ) { - - if (mgr->codec_desc[i].factory == factory) { - /* Remove the codec from array of codec descriptions */ - pj_array_erase(mgr->codec_desc, sizeof(mgr->codec_desc[0]), - mgr->codec_cnt, i); - --mgr->codec_cnt; - - } else { - ++i; - } - } - - pj_mutex_unlock(mgr->mutex); - - return PJ_SUCCESS; -} - - -/* - * Enum all codecs. - */ -PJ_DEF(pj_status_t) pjmedia_vid_codec_mgr_enum_codecs( - pjmedia_vid_codec_mgr *mgr, - unsigned *count, - pjmedia_vid_codec_info codecs[], - unsigned *prio) -{ - unsigned i; - - PJ_ASSERT_RETURN(count && codecs, PJ_EINVAL); - - if (!mgr) mgr = def_vid_codec_mgr; - PJ_ASSERT_RETURN(mgr, PJ_EINVAL); - - pj_mutex_lock(mgr->mutex); - - if (*count > mgr->codec_cnt) - *count = mgr->codec_cnt; - - for (i=0; i<*count; ++i) { - pj_memcpy(&codecs[i], - &mgr->codec_desc[i].info, - sizeof(pjmedia_vid_codec_info)); - } - - if (prio) { - for (i=0; i < *count; ++i) - prio[i] = mgr->codec_desc[i].prio; - } - - pj_mutex_unlock(mgr->mutex); - - return PJ_SUCCESS; -} - - -/* - * Get codec info for the specified payload type. - */ -PJ_DEF(pj_status_t) pjmedia_vid_codec_mgr_get_codec_info( - pjmedia_vid_codec_mgr *mgr, - unsigned pt, - const pjmedia_vid_codec_info **p_info) -{ - unsigned i; - - PJ_ASSERT_RETURN(p_info, PJ_EINVAL); - - if (!mgr) mgr = def_vid_codec_mgr; - PJ_ASSERT_RETURN(mgr, PJ_EINVAL); - - pj_mutex_lock(mgr->mutex); - - for (i=0; icodec_cnt; ++i) { - if (mgr->codec_desc[i].info.pt == pt) { - *p_info = &mgr->codec_desc[i].info; - - pj_mutex_unlock(mgr->mutex); - return PJ_SUCCESS; - } - } - - pj_mutex_unlock(mgr->mutex); - - return PJMEDIA_CODEC_EUNSUP; -} - - -PJ_DEF(pj_status_t) pjmedia_vid_codec_mgr_get_codec_info2( - pjmedia_vid_codec_mgr *mgr, - pjmedia_format_id fmt_id, - const pjmedia_vid_codec_info **p_info) -{ - unsigned i; - - PJ_ASSERT_RETURN(p_info, PJ_EINVAL); - - if (!mgr) mgr = def_vid_codec_mgr; - PJ_ASSERT_RETURN(mgr, PJ_EINVAL); - - pj_mutex_lock(mgr->mutex); - - for (i=0; icodec_cnt; ++i) { - if (mgr->codec_desc[i].info.fmt_id == fmt_id) { - *p_info = &mgr->codec_desc[i].info; - - pj_mutex_unlock(mgr->mutex); - return PJ_SUCCESS; - } - } - - pj_mutex_unlock(mgr->mutex); - - return PJMEDIA_CODEC_EUNSUP; -} - - -/* - * Convert codec info struct into a unique codec identifier. - * A codec identifier looks something like "H263/34". - */ -PJ_DEF(char*) pjmedia_vid_codec_info_to_id( - const pjmedia_vid_codec_info *info, - char *id, unsigned max_len ) -{ - int len; - - PJ_ASSERT_RETURN(info && id && max_len, NULL); - - len = pj_ansi_snprintf(id, max_len, "%.*s/%u", - (int)info->encoding_name.slen, - info->encoding_name.ptr, - info->pt); - - if (len < 1 || len >= (int)max_len) { - id[0] = '\0'; - return NULL; - } - - return id; -} - - -/* - * Find codecs by the unique codec identifier. This function will find - * all codecs that match the codec identifier prefix. For example, if - * "L16" is specified, then it will find "L16/8000/1", "L16/16000/1", - * and so on, up to the maximum count specified in the argument. - */ -PJ_DEF(pj_status_t) pjmedia_vid_codec_mgr_find_codecs_by_id( - pjmedia_vid_codec_mgr *mgr, - const pj_str_t *codec_id, - unsigned *count, - const pjmedia_vid_codec_info *p_info[], - unsigned prio[]) -{ - unsigned i, found = 0; - - PJ_ASSERT_RETURN(codec_id && count && *count, PJ_EINVAL); - - if (!mgr) mgr = def_vid_codec_mgr; - PJ_ASSERT_RETURN(mgr, PJ_EINVAL); - - pj_mutex_lock(mgr->mutex); - - for (i=0; icodec_cnt; ++i) { - - if (codec_id->slen == 0 || - pj_strnicmp2(codec_id, mgr->codec_desc[i].id, - codec_id->slen) == 0) - { - - if (p_info) - p_info[found] = &mgr->codec_desc[i].info; - if (prio) - prio[found] = mgr->codec_desc[i].prio; - - ++found; - - if (found >= *count) - break; - } - - } - - pj_mutex_unlock(mgr->mutex); - - *count = found; - - return found ? PJ_SUCCESS : PJ_ENOTFOUND; -} - - -/* Swap two codecs positions in codec manager */ -static void swap_codec(pjmedia_vid_codec_mgr *mgr, unsigned i, unsigned j) -{ - pjmedia_vid_codec_desc tmp; - - pj_memcpy(&tmp, &mgr->codec_desc[i], sizeof(pjmedia_vid_codec_desc)); - - pj_memcpy(&mgr->codec_desc[i], &mgr->codec_desc[j], - sizeof(pjmedia_vid_codec_desc)); - - pj_memcpy(&mgr->codec_desc[j], &tmp, sizeof(pjmedia_vid_codec_desc)); -} - - -/* Sort codecs in codec manager based on priorities */ -static void sort_codecs(pjmedia_vid_codec_mgr *mgr) -{ - unsigned i; - - /* Re-sort */ - for (i=0; icodec_cnt; ++i) { - unsigned j, max; - - for (max=i, j=i+1; jcodec_cnt; ++j) { - if (mgr->codec_desc[j].prio > mgr->codec_desc[max].prio) - max = j; - } - - if (max != i) - swap_codec(mgr, i, max); - } - - /* Change PJMEDIA_CODEC_PRIO_HIGHEST codecs to NEXT_HIGHER */ - for (i=0; icodec_cnt; ++i) { - if (mgr->codec_desc[i].prio == PJMEDIA_CODEC_PRIO_HIGHEST) - mgr->codec_desc[i].prio = PJMEDIA_CODEC_PRIO_NEXT_HIGHER; - else - break; - } -} - - -/** - * Set codec priority. The codec priority determines the order of - * the codec in the SDP created by the endpoint. If more than one codecs - * are found with the same codec_id prefix, then the function sets the - * priorities of all those codecs. - */ -PJ_DEF(pj_status_t) pjmedia_vid_codec_mgr_set_codec_priority( - pjmedia_vid_codec_mgr *mgr, - const pj_str_t *codec_id, - pj_uint8_t prio) -{ - unsigned i, found = 0; - - PJ_ASSERT_RETURN(codec_id, PJ_EINVAL); - - if (!mgr) mgr = def_vid_codec_mgr; - PJ_ASSERT_RETURN(mgr, PJ_EINVAL); - - pj_mutex_lock(mgr->mutex); - - /* Update the priorities of affected codecs */ - for (i=0; icodec_cnt; ++i) - { - if (codec_id->slen == 0 || - pj_strnicmp2(codec_id, mgr->codec_desc[i].id, - codec_id->slen) == 0) - { - mgr->codec_desc[i].prio = (pjmedia_codec_priority) prio; - ++found; - } - } - - if (!found) { - pj_mutex_unlock(mgr->mutex); - return PJ_ENOTFOUND; - } - - /* Re-sort codecs */ - sort_codecs(mgr); - - pj_mutex_unlock(mgr->mutex); - - return PJ_SUCCESS; -} - - -/* - * Allocate one codec. - */ -PJ_DEF(pj_status_t) pjmedia_vid_codec_mgr_alloc_codec( - pjmedia_vid_codec_mgr *mgr, - const pjmedia_vid_codec_info *info, - pjmedia_vid_codec **p_codec) -{ - pjmedia_vid_codec_factory *factory; - pj_status_t status; - - PJ_ASSERT_RETURN(info && p_codec, PJ_EINVAL); - - if (!mgr) mgr = def_vid_codec_mgr; - PJ_ASSERT_RETURN(mgr, PJ_EINVAL); - - *p_codec = NULL; - - pj_mutex_lock(mgr->mutex); - - factory = mgr->factory_list.next; - while (factory != &mgr->factory_list) { - - if ( (*factory->op->test_alloc)(factory, info) == PJ_SUCCESS ) { - - status = (*factory->op->alloc_codec)(factory, info, p_codec); - if (status == PJ_SUCCESS) { - pj_mutex_unlock(mgr->mutex); - return PJ_SUCCESS; - } - - } - - factory = factory->next; - } - - pj_mutex_unlock(mgr->mutex); - - return PJMEDIA_CODEC_EUNSUP; -} - - -/* - * Get default codec parameter. - */ -PJ_DEF(pj_status_t) pjmedia_vid_codec_mgr_get_default_param( - pjmedia_vid_codec_mgr *mgr, - const pjmedia_vid_codec_info *info, - pjmedia_vid_codec_param *param ) -{ - pjmedia_vid_codec_factory *factory; - pj_status_t status; - pjmedia_codec_id codec_id; - pjmedia_vid_codec_desc *codec_desc = NULL; - unsigned i; - - PJ_ASSERT_RETURN(info && param, PJ_EINVAL); - - if (!mgr) mgr = def_vid_codec_mgr; - PJ_ASSERT_RETURN(mgr, PJ_EINVAL); - - if (!pjmedia_vid_codec_info_to_id(info, (char*)&codec_id, - sizeof(codec_id))) - return PJ_EINVAL; - - pj_mutex_lock(mgr->mutex); - - /* First, lookup default param in codec desc */ - for (i=0; i < mgr->codec_cnt; ++i) { - if (pj_ansi_stricmp(codec_id, mgr->codec_desc[i].id) == 0) { - codec_desc = &mgr->codec_desc[i]; - break; - } - } - - /* If we found the codec and its default param is set, return it */ - if (codec_desc && codec_desc->def_param) { - pj_memcpy(param, codec_desc->def_param->param, - sizeof(pjmedia_vid_codec_param)); - - pj_mutex_unlock(mgr->mutex); - return PJ_SUCCESS; - } - - /* Otherwise query the default param from codec factory */ - factory = mgr->factory_list.next; - while (factory != &mgr->factory_list) { - - if ( (*factory->op->test_alloc)(factory, info) == PJ_SUCCESS ) { - - status = (*factory->op->default_attr)(factory, info, param); - if (status == PJ_SUCCESS) { - /* Check for invalid max_bps. */ - //if (param->info.max_bps < param->info.avg_bps) - // param->info.max_bps = param->info.avg_bps; - - pj_mutex_unlock(mgr->mutex); - return PJ_SUCCESS; - } - - } - - factory = factory->next; - } - - pj_mutex_unlock(mgr->mutex); - - - return PJMEDIA_CODEC_EUNSUP; -} - - -/* - * Set default codec parameter. - */ -PJ_DEF(pj_status_t) pjmedia_vid_codec_mgr_set_default_param( - pjmedia_vid_codec_mgr *mgr, - const pjmedia_vid_codec_info *info, - const pjmedia_vid_codec_param *param ) -{ - unsigned i; - pjmedia_codec_id codec_id; - pjmedia_vid_codec_desc *codec_desc = NULL; - pj_pool_t *pool, *old_pool = NULL; - pjmedia_vid_codec_default_param *p; - - PJ_ASSERT_RETURN(info, PJ_EINVAL); - - if (!mgr) mgr = def_vid_codec_mgr; - PJ_ASSERT_RETURN(mgr, PJ_EINVAL); - - if (!pjmedia_vid_codec_info_to_id(info, (char*)&codec_id, sizeof(codec_id))) - return PJ_EINVAL; - - pj_mutex_lock(mgr->mutex); - - /* Lookup codec desc */ - for (i=0; i < mgr->codec_cnt; ++i) { - if (pj_ansi_stricmp(codec_id, mgr->codec_desc[i].id) == 0) { - codec_desc = &mgr->codec_desc[i]; - break; - } - } - - /* Codec not found */ - if (!codec_desc) { - pj_mutex_unlock(mgr->mutex); - return PJMEDIA_CODEC_EUNSUP; - } - - /* If codec param is previously set */ - if (codec_desc->def_param) { - pj_assert(codec_desc->def_param->pool); - old_pool = codec_desc->def_param->pool; - codec_desc->def_param = NULL; - } - - /* When param is set to NULL, i.e: setting default codec param to library - * default setting, just return PJ_SUCCESS. - */ - if (NULL == param) { - pj_mutex_unlock(mgr->mutex); - if (old_pool) - pj_pool_release(old_pool); - return PJ_SUCCESS; - } - - /* Create new default codec param instance */ - pool = pj_pool_create(mgr->pf, (char*)codec_id, 256, 256, NULL); - codec_desc->def_param = PJ_POOL_ZALLOC_T(pool, - pjmedia_vid_codec_default_param); - p = codec_desc->def_param; - p->pool = pool; - - /* Update codec default param */ - p->param = pjmedia_vid_codec_param_clone(pool, param); - if (!p->param) - return PJ_EINVAL; - - codec_desc->def_param = p; - - pj_mutex_unlock(mgr->mutex); - - /* Release old pool at the very end, as application tends to apply changes - * to the existing/old codec param fetched using - * pjmedia_vid_codec_mgr_get_default_param() which doesn't do deep clone. - */ - if (old_pool) - pj_pool_release(old_pool); - - return PJ_SUCCESS; -} - - -/* - * Dealloc codec. - */ -PJ_DEF(pj_status_t) -pjmedia_vid_codec_mgr_dealloc_codec(pjmedia_vid_codec_mgr *mgr, - pjmedia_vid_codec *codec) -{ - PJ_ASSERT_RETURN(codec, PJ_EINVAL); - - if (!mgr) mgr = def_vid_codec_mgr; - PJ_ASSERT_RETURN(mgr, PJ_EINVAL); - - return (*codec->factory->op->dealloc_codec)(codec->factory, codec); -} - - -#endif /* PJMEDIA_HAS_VIDEO */ diff --git a/res/pjproject/pjmedia/src/pjmedia/vid_codec_util.c b/res/pjproject/pjmedia/src/pjmedia/vid_codec_util.c deleted file mode 100644 index 5a8bb2fd01..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/vid_codec_util.c +++ /dev/null @@ -1,646 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - - -#define THIS_FILE "vid_codec_util.c" - -/* If this is set to non-zero, H.264 custom negotiation will require - * "profile-level-id" and "packetization-mode" to be exact match to - * get a successful negotiation. Note that flexible answer (updating - * SDP answer to match remote offer) is always active regardless the - * value of this macro. - */ -#define H264_STRICT_SDP_NEGO 0 - - -/* ITU resolution definition */ -struct mpi_resolution_t -{ - pj_str_t name; - pjmedia_rect_size size; -} -mpi_resolutions [] = -{ - {{"CIF",3}, {352,288}}, - {{"QCIF",4}, {176,144}}, - {{"SQCIF",5}, {88,72}}, - {{"CIF4",4}, {704,576}}, - {{"CIF16",5}, {1408,1142}}, -}; - - -/* Parse fmtp value for custom resolution, e.g: "CUSTOM=800,600,2" */ -static pj_status_t parse_custom_res_fmtp(const pj_str_t *fmtp_val, - pjmedia_rect_size *size, - unsigned *mpi) -{ - const char *p, *p_end; - pj_str_t token; - unsigned long val[3] = {0}; - unsigned i = 0; - - p = token.ptr = fmtp_val->ptr; - p_end = p + fmtp_val->slen; - - while (p<=p_end && i32) - return PJ_EINVAL; - - size->w = val[0]; - size->h = val[1]; - *mpi = val[2]; - return PJ_SUCCESS; -} - - -/* H263 fmtp parser */ -PJ_DEF(pj_status_t) pjmedia_vid_codec_parse_h263_fmtp( - const pjmedia_codec_fmtp *fmtp, - pjmedia_vid_codec_h263_fmtp *h263_fmtp) -{ - const pj_str_t CUSTOM = {"CUSTOM", 6}; - unsigned i; - - pj_bzero(h263_fmtp, sizeof(*h263_fmtp)); - - for (i=0; icnt; ++i) { - unsigned j; - pj_bool_t parsed = PJ_FALSE; - - if (h263_fmtp->mpi_cnt >= PJ_ARRAY_SIZE(h263_fmtp->mpi)) { - pj_assert(!"Too small MPI array in H263 fmtp"); - continue; - } - - /* Standard size MPIs */ - for (j=0; jparam[i].name, &mpi_resolutions[j].name)==0) - { - unsigned mpi; - - mpi = pj_strtoul(&fmtp->param[i].val); - if (mpi<1 || mpi>32) - return PJMEDIA_SDP_EINFMTP; - - h263_fmtp->mpi[h263_fmtp->mpi_cnt].size = - mpi_resolutions[j].size; - h263_fmtp->mpi[h263_fmtp->mpi_cnt].val = mpi; - ++h263_fmtp->mpi_cnt; - parsed = PJ_TRUE; - } - } - if (parsed) - continue; - - /* Custom size MPIs */ - if (pj_stricmp(&fmtp->param[i].name, &CUSTOM)==0) { - pjmedia_rect_size size; - unsigned mpi; - pj_status_t status; - - status = parse_custom_res_fmtp(&fmtp->param[i].val, &size, &mpi); - if (status != PJ_SUCCESS) - return PJMEDIA_SDP_EINFMTP; - - h263_fmtp->mpi[h263_fmtp->mpi_cnt].size = size; - h263_fmtp->mpi[h263_fmtp->mpi_cnt].val = mpi; - ++h263_fmtp->mpi_cnt; - } - } - - return PJ_SUCCESS; -} - - -static unsigned fps_to_mpi(const pjmedia_ratio *fps) -{ - unsigned mpi; - - /* Original formula = (fps->denum * 30000) / (fps->num * 1001) */ - mpi = (fps->denum*30000 + fps->num*1001/2) / (fps->num*1001); - - /* Normalize, should be in the range of 1-32 */ - if (mpi > 32) mpi = 32; - if (mpi < 1) mpi = 1; - - return mpi; -}; - -PJ_DEF(pj_status_t) pjmedia_vid_codec_h263_apply_fmtp( - pjmedia_vid_codec_param *param) -{ - if (param->dir & PJMEDIA_DIR_ENCODING) { - pjmedia_vid_codec_h263_fmtp fmtp_loc, fmtp_rem; - pjmedia_rect_size size = {0}; - unsigned mpi = 0; - pjmedia_video_format_detail *vfd; - pj_status_t status; - - vfd = pjmedia_format_get_video_format_detail(¶m->enc_fmt, - PJ_TRUE); - - /* Get local param */ - // Local param should be fetched from "param->enc_fmt" instead of - // "param->dec_fmtp". - //status = pjmedia_vid_codec_parse_h263_fmtp(¶m->dec_fmtp, - // &fmtp_loc); - //if (status != PJ_SUCCESS) - // return status; - fmtp_loc.mpi_cnt = 1; - fmtp_loc.mpi[0].size = vfd->size; - fmtp_loc.mpi[0].val = fps_to_mpi(&vfd->fps); - - /* Get remote param */ - status = pjmedia_vid_codec_parse_h263_fmtp(¶m->enc_fmtp, - &fmtp_rem); - if (status != PJ_SUCCESS) - return status; - - /* Negotiate size & MPI setting */ - if (fmtp_rem.mpi_cnt == 0) { - /* Remote doesn't specify MPI setting, send QCIF=1 */ - size.w = 176; - size.h = 144; - mpi = 1; - //} else if (fmtp_loc.mpi_cnt == 0) { - // /* Local MPI setting not set, just use remote preference. */ - // size = fmtp_rem.mpi[0].size; - // mpi = fmtp_rem.mpi[0].val; - } else { - /* Both have preferences, let's try to match them */ - unsigned i, j; - pj_bool_t matched = PJ_FALSE; - pj_uint32_t min_diff = 0xFFFFFFFF; - pj_uint32_t loc_sq, rem_sq, diff; - - /* Find the exact size match or the closest size, then choose - * the highest MPI among the match/closest pair. - */ - for (i = 0; i < fmtp_rem.mpi_cnt && !matched; ++i) { - rem_sq = fmtp_rem.mpi[i].size.w * fmtp_rem.mpi[i].size.h; - for (j = 0; j < fmtp_loc.mpi_cnt; ++j) { - /* See if we got exact match */ - if (fmtp_rem.mpi[i].size.w == fmtp_loc.mpi[j].size.w && - fmtp_rem.mpi[i].size.h == fmtp_loc.mpi[j].size.h) - { - size = fmtp_rem.mpi[i].size; - mpi = PJ_MAX(fmtp_rem.mpi[i].val, - fmtp_loc.mpi[j].val); - matched = PJ_TRUE; - break; - } - - /* Otherwise keep looking for the closest match */ - loc_sq = fmtp_loc.mpi[j].size.w * fmtp_loc.mpi[j].size.h; - diff = loc_sq>rem_sq? (loc_sq-rem_sq):(rem_sq-loc_sq); - if (diff < min_diff) { - size = rem_sqsize = size; - vfd->fps.num = 30000; - vfd->fps.denum = 1001 * mpi; - } - - if (param->dir & PJMEDIA_DIR_DECODING) { - /* Here we just want to find the highest resolution and the lowest MPI - * we support and set it as the decoder param. - */ - pjmedia_vid_codec_h263_fmtp fmtp; - pjmedia_video_format_detail *vfd; - pj_status_t status; - - status = pjmedia_vid_codec_parse_h263_fmtp(¶m->dec_fmtp, - &fmtp); - if (status != PJ_SUCCESS) - return status; - - vfd = pjmedia_format_get_video_format_detail(¶m->dec_fmt, - PJ_TRUE); - - if (fmtp.mpi_cnt == 0) { - /* No resolution specified, lets just assume 4CIF=1! */ - vfd->size.w = 704; - vfd->size.h = 576; - vfd->fps.num = 30000; - vfd->fps.denum = 1001; - } else { - unsigned i, max_size = 0, max_size_idx = 0, min_mpi = 32; - - /* Get the largest size and the lowest MPI */ - for (i = 0; i < fmtp.mpi_cnt; ++i) { - if (fmtp.mpi[i].size.w * fmtp.mpi[i].size.h > max_size) { - max_size = fmtp.mpi[i].size.w * fmtp.mpi[i].size.h; - max_size_idx = i; - } - if (fmtp.mpi[i].val < min_mpi) - min_mpi = fmtp.mpi[i].val; - } - - vfd->size = fmtp.mpi[max_size_idx].size; - vfd->fps.num = 30000; - vfd->fps.denum = 1001 * min_mpi; - } - } - - return PJ_SUCCESS; -} - - -/* H264 fmtp parser */ -PJ_DEF(pj_status_t) pjmedia_vid_codec_h264_parse_fmtp( - const pjmedia_codec_fmtp *fmtp, - pjmedia_vid_codec_h264_fmtp *h264_fmtp) -{ - const pj_str_t PROFILE_LEVEL_ID = {"profile-level-id", 16}; - const pj_str_t MAX_MBPS = {"max-mbps", 8}; - const pj_str_t MAX_FS = {"max-fs", 6}; - const pj_str_t MAX_CPB = {"max-cpb", 7}; - const pj_str_t MAX_DPB = {"max-dpb", 7}; - const pj_str_t MAX_BR = {"max-br", 6}; - const pj_str_t PACKETIZATION_MODE = {"packetization-mode", 18}; - const pj_str_t SPROP_PARAMETER_SETS = {"sprop-parameter-sets", 20}; - unsigned i; - - pj_bzero(h264_fmtp, sizeof(*h264_fmtp)); - - for (i=0; icnt; ++i) { - unsigned tmp; - if (pj_stricmp(&fmtp->param[i].name, &PROFILE_LEVEL_ID)==0) { - pj_str_t endst; - - if (fmtp->param[i].val.slen != 6) - return PJMEDIA_SDP_EINFMTP; - - tmp = pj_strtoul2(&fmtp->param[i].val, &endst, 16); - if (endst.slen) - return PJMEDIA_SDP_EINFMTP; - - h264_fmtp->profile_idc = (pj_uint8_t)((tmp >> 16) & 0xFF); - h264_fmtp->profile_iop = (pj_uint8_t)((tmp >> 8) & 0xFF); - h264_fmtp->level = (pj_uint8_t)(tmp & 0xFF); - } else if (pj_stricmp(&fmtp->param[i].name, &PACKETIZATION_MODE)==0) { - tmp = pj_strtoul(&fmtp->param[i].val); - if (tmp >= 0 && tmp <= 2) - h264_fmtp->packetization_mode = (pj_uint8_t)tmp; - else - return PJMEDIA_SDP_EINFMTP; - } else if (pj_stricmp(&fmtp->param[i].name, &MAX_MBPS)==0) { - tmp = pj_strtoul(&fmtp->param[i].val); - h264_fmtp->max_mbps = tmp; - } else if (pj_stricmp(&fmtp->param[i].name, &MAX_FS)==0) { - tmp = pj_strtoul(&fmtp->param[i].val); - h264_fmtp->max_fs = tmp; - } else if (pj_stricmp(&fmtp->param[i].name, &MAX_CPB)==0) { - tmp = pj_strtoul(&fmtp->param[i].val); - h264_fmtp->max_cpb = tmp; - } else if (pj_stricmp(&fmtp->param[i].name, &MAX_DPB)==0) { - tmp = pj_strtoul(&fmtp->param[i].val); - h264_fmtp->max_dpb = tmp; - } else if (pj_stricmp(&fmtp->param[i].name, &MAX_BR)==0) { - tmp = pj_strtoul(&fmtp->param[i].val); - h264_fmtp->max_br = tmp; - } else if (pj_stricmp(&fmtp->param[i].name, &SPROP_PARAMETER_SETS)==0) - { - pj_str_t sps_st; - - sps_st = fmtp->param[i].val; - while (sps_st.slen) { - pj_str_t tmp_st; - int tmp_len; - const pj_uint8_t start_code[3] = {0, 0, 1}; - char *p; - pj_uint8_t *nal; - pj_status_t status; - - /* Find field separator ',' */ - tmp_st = sps_st; - p = pj_strchr(&sps_st, ','); - if (p) { - tmp_st.slen = p - sps_st.ptr; - sps_st.ptr = p+1; - sps_st.slen -= (tmp_st.slen+1); - } else { - sps_st.slen = 0; - } - - /* Decode field and build NAL unit for this param */ - nal = &h264_fmtp->sprop_param_sets[ - h264_fmtp->sprop_param_sets_len]; - tmp_len = PJ_ARRAY_SIZE(h264_fmtp->sprop_param_sets) - - h264_fmtp->sprop_param_sets_len - - PJ_ARRAY_SIZE(start_code); - status = pj_base64_decode(&tmp_st, - nal + PJ_ARRAY_SIZE(start_code), - &tmp_len); - if (status != PJ_SUCCESS) - return PJMEDIA_SDP_EINFMTP; - - tmp_len += PJ_ARRAY_SIZE(start_code); - pj_memcpy(nal, start_code, PJ_ARRAY_SIZE(start_code)); - h264_fmtp->sprop_param_sets_len += tmp_len; - } - } - } - - /* When profile-level-id is not specified, use default value "42000A" */ - if (h264_fmtp->profile_idc == 0) { - h264_fmtp->profile_idc = 0x42; - h264_fmtp->profile_iop = 0x00; - h264_fmtp->level = 0x0A; - } - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_vid_codec_h264_match_sdp(pj_pool_t *pool, - pjmedia_sdp_media *offer, - unsigned o_fmt_idx, - pjmedia_sdp_media *answer, - unsigned a_fmt_idx, - unsigned option) -{ - const pj_str_t PROFILE_LEVEL_ID = {"profile-level-id", 16}; - const pj_str_t PACKETIZATION_MODE = {"packetization-mode", 18}; - pjmedia_codec_fmtp o_fmtp_raw, a_fmtp_raw; - pjmedia_vid_codec_h264_fmtp o_fmtp, a_fmtp; - pj_status_t status; - - PJ_UNUSED_ARG(pool); - - /* Parse offer */ - status = pjmedia_stream_info_parse_fmtp( - NULL, offer, - pj_strtoul(&offer->desc.fmt[o_fmt_idx]), - &o_fmtp_raw); - if (status != PJ_SUCCESS) - return status; - - status = pjmedia_vid_codec_h264_parse_fmtp(&o_fmtp_raw, &o_fmtp); - if (status != PJ_SUCCESS) - return status; - - /* Parse answer */ - status = pjmedia_stream_info_parse_fmtp( - NULL, answer, - pj_strtoul(&answer->desc.fmt[a_fmt_idx]), - &a_fmtp_raw); - if (status != PJ_SUCCESS) - return status; - - status = pjmedia_vid_codec_h264_parse_fmtp(&a_fmtp_raw, &a_fmtp); - if (status != PJ_SUCCESS) - return status; - - if (option & PJMEDIA_SDP_NEG_FMT_MATCH_ALLOW_MODIFY_ANSWER) { - unsigned i; - - /* Flexible negotiation, if the answer has higher capability than - * the offer, adjust the answer capability to be match to the offer. - */ - if (a_fmtp.profile_idc >= o_fmtp.profile_idc) - a_fmtp.profile_idc = o_fmtp.profile_idc; - if (a_fmtp.profile_iop != o_fmtp.profile_iop) - a_fmtp.profile_iop = o_fmtp.profile_iop; - if (a_fmtp.level >= o_fmtp.level) - a_fmtp.level = o_fmtp.level; - if (a_fmtp.packetization_mode >= o_fmtp.packetization_mode) - a_fmtp.packetization_mode = o_fmtp.packetization_mode; - - /* Match them now */ -#if H264_STRICT_SDP_NEGO - if (a_fmtp.profile_idc != o_fmtp.profile_idc || - a_fmtp.profile_iop != o_fmtp.profile_iop || - a_fmtp.level != o_fmtp.level || - a_fmtp.packetization_mode != o_fmtp.packetization_mode) - { - return PJMEDIA_SDP_EFORMATNOTEQUAL; - } -#else - if (a_fmtp.profile_idc != o_fmtp.profile_idc) - { - return PJMEDIA_SDP_EFORMATNOTEQUAL; - } -#endif - - /* Update the answer */ - for (i = 0; i < a_fmtp_raw.cnt; ++i) { - if (pj_stricmp(&a_fmtp_raw.param[i].name, &PROFILE_LEVEL_ID) == 0) - { - char *p = a_fmtp_raw.param[i].val.ptr; - pj_val_to_hex_digit(a_fmtp.profile_idc, p); - p += 2; - pj_val_to_hex_digit(a_fmtp.profile_iop, p); - p += 2; - pj_val_to_hex_digit(a_fmtp.level, p); - } - else if (pj_stricmp(&a_fmtp_raw.param[i].name, &PACKETIZATION_MODE) == 0) - { - char *p = a_fmtp_raw.param[i].val.ptr; - *p = '0' + a_fmtp.packetization_mode; - } - } - } else { -#if H264_STRICT_SDP_NEGO - /* Strict negotiation */ - if (a_fmtp.profile_idc != o_fmtp.profile_idc || - a_fmtp.profile_iop != o_fmtp.profile_iop || - a_fmtp.level != o_fmtp.level || - a_fmtp.packetization_mode != o_fmtp.packetization_mode) - { - return PJMEDIA_SDP_EFORMATNOTEQUAL; - } -#else - /* Permissive negotiation */ - if (a_fmtp.profile_idc != o_fmtp.profile_idc) - { - return PJMEDIA_SDP_EFORMATNOTEQUAL; - } -#endif - } - - return PJ_SUCCESS; -} - - -/* Declaration of H.264 level info */ -typedef struct h264_level_info_t -{ - unsigned id; /* Level id. */ - unsigned max_mbps; /* Max macroblocks per second. */ - unsigned max_mb; /* Max macroblocks. */ - unsigned bitrate; /* Max bitrate (kbps). */ - unsigned def_w; /* Default width. */ - unsigned def_h; /* Default height. */ - unsigned def_fps; /* Default fps. */ -} h264_level_info_t; - - -/* Get H.264 level info from specified level ID */ -static pj_status_t get_h264_level_info(unsigned id, h264_level_info_t *level) -{ - unsigned i; - const h264_level_info_t level_info[] = - { - { 10, 1485, 99, 64, 176, 144, 15 }, - { 9, 1485, 99, 128, 176, 144, 15 }, /*< level 1b */ - { 11, 3000, 396, 192, 320, 240, 10 }, - { 12, 6000, 396, 384, 352, 288, 15 }, - { 13, 11880, 396, 768, 352, 288, 15 }, - { 20, 11880, 396, 2000, 352, 288, 30 }, - { 21, 19800, 792, 4000, 352, 288, 30 }, - { 22, 20250, 1620, 4000, 352, 288, 30 }, - { 30, 40500, 1620, 10000, 720, 480, 30 }, - { 31, 108000, 3600, 14000, 1280, 720, 30 }, - { 32, 216000, 5120, 20000, 1280, 720, 30 }, - { 40, 245760, 8192, 20000, 1920, 1080, 30 }, - { 41, 245760, 8192, 50000, 1920, 1080, 30 }, - { 42, 522240, 8704, 50000, 1920, 1080, 30 }, - { 50, 589824, 22080, 135000, 1920, 1080, 30 }, - { 51, 983040, 36864, 240000, 1920, 1080, 30 }, - }; - - for (i = 0; i < PJ_ARRAY_SIZE(level_info); ++i) { - if (level_info[i].id == id) { - *level = level_info[i]; - return PJ_SUCCESS; - } - } - return PJ_ENOTFOUND; -} - - -#define CALC_H264_MB_NUM(size) (((size.w+15)/16)*((size.h+15)/16)) -#define CALC_H264_MBPS(size,fps) CALC_H264_MB_NUM(size)*fps.num/fps.denum - - -PJ_DEF(pj_status_t) pjmedia_vid_codec_h264_apply_fmtp( - pjmedia_vid_codec_param *param) -{ - const unsigned default_fps = 30; - - if (param->dir & PJMEDIA_DIR_ENCODING) { - pjmedia_vid_codec_h264_fmtp fmtp; - pjmedia_video_format_detail *vfd; - h264_level_info_t level_info; - pj_status_t status; - - /* Get remote param */ - status = pjmedia_vid_codec_h264_parse_fmtp(¶m->enc_fmtp, - &fmtp); - if (status != PJ_SUCCESS) - return status; - - status = get_h264_level_info(fmtp.level, &level_info); - if (status != PJ_SUCCESS) - return status; - - /* Size and fps for encoding direction must conform to H.264 level - * specified by remote SDP fmtp. - */ - vfd = pjmedia_format_get_video_format_detail(¶m->enc_fmt, - PJ_TRUE); - if (vfd->size.w && vfd->size.h) { - unsigned mb, mbps; - - if (vfd->fps.num == 0 || vfd->fps.denum == 0) { - vfd->fps.num = default_fps; - vfd->fps.denum = 1; - } - mb = CALC_H264_MB_NUM(vfd->size); - mbps = CALC_H264_MBPS(vfd->size, vfd->fps); - if (mb > level_info.max_mb || mbps > level_info.max_mbps) { - vfd->size.w = level_info.def_w; - vfd->size.h = level_info.def_h; - vfd->fps.num = level_info.def_fps; - vfd->fps.denum = 1; - } - } else { - vfd->size.w = level_info.def_w; - vfd->size.h = level_info.def_h; - vfd->fps.num = level_info.def_fps; - vfd->fps.denum = 1; - } - } - - if (param->dir & PJMEDIA_DIR_DECODING) { - /* Here we just want to find the highest resolution possible from the - * fmtp and set it as the decoder param. - */ - pjmedia_vid_codec_h264_fmtp fmtp; - pjmedia_video_format_detail *vfd; - h264_level_info_t level_info; - pj_status_t status; - - status = pjmedia_vid_codec_h264_parse_fmtp(¶m->dec_fmtp, - &fmtp); - if (status != PJ_SUCCESS) - return status; - - status = get_h264_level_info(fmtp.level, &level_info); - if (status != PJ_SUCCESS) - return status; - - vfd = pjmedia_format_get_video_format_detail(¶m->dec_fmt, - PJ_TRUE); - - if (vfd->size.w * vfd->size.h < level_info.def_w * level_info.def_h) { - vfd->size.w = level_info.def_w; - vfd->size.h = level_info.def_h; - } - - if (vfd->fps.num == 0 || vfd->fps.denum == 0) { - vfd->fps.num = default_fps; - vfd->fps.denum = 1; - } - } - - return PJ_SUCCESS; -} - - -#endif /* PJMEDIA_HAS_VIDEO */ diff --git a/res/pjproject/pjmedia/src/pjmedia/vid_port.c b/res/pjproject/pjmedia/src/pjmedia/vid_port.c deleted file mode 100644 index 6eee6a7c82..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/vid_port.c +++ /dev/null @@ -1,971 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include - - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - - -#define SIGNATURE PJMEDIA_SIG_VID_PORT -#define THIS_FILE "vid_port.c" - -typedef struct vid_pasv_port vid_pasv_port; - -enum role -{ - ROLE_NONE, - ROLE_ACTIVE, - ROLE_PASSIVE -}; - -struct pjmedia_vid_port -{ - pj_pool_t *pool; - pj_str_t dev_name; - pjmedia_dir dir; -// pjmedia_rect_size cap_size; - pjmedia_vid_dev_stream *strm; - pjmedia_vid_dev_cb strm_cb; - void *strm_cb_data; - enum role role, - stream_role; - vid_pasv_port *pasv_port; - pjmedia_port *client_port; - pj_bool_t destroy_client_port; - - struct { - pjmedia_converter *conv; - void *conv_buf; - pj_size_t conv_buf_size; - pjmedia_conversion_param conv_param; - unsigned usec_ctr; - unsigned usec_src, usec_dst; - } conv; - - pjmedia_clock *clock; - pjmedia_clock_src clocksrc; - - struct sync_clock_src_t - { - pjmedia_clock_src *sync_clocksrc; - pj_int32_t sync_delta; - unsigned max_sync_ticks; - unsigned nsync_frame; - unsigned nsync_progress; - } sync_clocksrc; - - pjmedia_frame *frm_buf; - pj_size_t frm_buf_size; - pj_mutex_t *frm_mutex; -}; - -struct vid_pasv_port -{ - pjmedia_port base; - pjmedia_vid_port *vp; -}; - -static pj_status_t vidstream_cap_cb(pjmedia_vid_dev_stream *stream, - void *user_data, - pjmedia_frame *frame); -static pj_status_t vidstream_render_cb(pjmedia_vid_dev_stream *stream, - void *user_data, - pjmedia_frame *frame); -static pj_status_t vidstream_event_cb(pjmedia_event *event, - void *user_data); -static pj_status_t client_port_event_cb(pjmedia_event *event, - void *user_data); - -static void enc_clock_cb(const pj_timestamp *ts, void *user_data); -static void dec_clock_cb(const pj_timestamp *ts, void *user_data); - -static pj_status_t vid_pasv_port_put_frame(struct pjmedia_port *this_port, - pjmedia_frame *frame); - -static pj_status_t vid_pasv_port_get_frame(struct pjmedia_port *this_port, - pjmedia_frame *frame); - - -PJ_DEF(void) pjmedia_vid_port_param_default(pjmedia_vid_port_param *prm) -{ - pj_bzero(prm, sizeof(*prm)); - prm->active = PJ_TRUE; -} - -static const char *vid_dir_name(pjmedia_dir dir) -{ - switch (dir) { - case PJMEDIA_DIR_CAPTURE: - return "capture"; - case PJMEDIA_DIR_RENDER: - return "render"; - default: - return "??"; - } -} - -static pj_status_t create_converter(pjmedia_vid_port *vp) -{ - if (vp->conv.conv) { - pjmedia_converter_destroy(vp->conv.conv); - vp->conv.conv = NULL; - } - - /* Instantiate converter if necessary */ - if (vp->conv.conv_param.src.id != vp->conv.conv_param.dst.id || - (vp->conv.conv_param.src.det.vid.size.w != - vp->conv.conv_param.dst.det.vid.size.w) || - (vp->conv.conv_param.src.det.vid.size.h != - vp->conv.conv_param.dst.det.vid.size.h)) - { - pj_status_t status; - - /* Yes, we need converter */ - status = pjmedia_converter_create(NULL, vp->pool, &vp->conv.conv_param, - &vp->conv.conv); - if (status != PJ_SUCCESS) { - PJ_PERROR(4,(THIS_FILE, status, "Error creating converter")); - return status; - } - } - - if (vp->conv.conv || - (vp->role==ROLE_ACTIVE && (vp->dir & PJMEDIA_DIR_ENCODING))) - { - pj_status_t status; - const pjmedia_video_format_info *vfi; - pjmedia_video_apply_fmt_param vafp; - - /* Allocate buffer for conversion */ - vfi = pjmedia_get_video_format_info(NULL, vp->conv.conv_param.dst.id); - if (!vfi) - return PJMEDIA_EBADFMT; - - pj_bzero(&vafp, sizeof(vafp)); - vafp.size = vp->conv.conv_param.dst.det.vid.size; - status = vfi->apply_fmt(vfi, &vafp); - if (status != PJ_SUCCESS) - return PJMEDIA_EBADFMT; - - if (vafp.framebytes > vp->conv.conv_buf_size) { - vp->conv.conv_buf = pj_pool_alloc(vp->pool, vafp.framebytes); - vp->conv.conv_buf_size = vafp.framebytes; - } - } - - vp->conv.usec_ctr = 0; - vp->conv.usec_src = PJMEDIA_PTIME(&vp->conv.conv_param.src.det.vid.fps); - vp->conv.usec_dst = PJMEDIA_PTIME(&vp->conv.conv_param.dst.det.vid.fps); - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_vid_port_create( pj_pool_t *pool, - const pjmedia_vid_port_param *prm, - pjmedia_vid_port **p_vid_port) -{ - pjmedia_vid_port *vp; - const pjmedia_video_format_detail *vfd; - char dev_name[64]; - char fmt_name[5]; - pjmedia_vid_dev_cb vid_cb; - pj_bool_t need_frame_buf = PJ_FALSE; - pj_status_t status; - unsigned ptime_usec; - pjmedia_vid_dev_param vparam; - pjmedia_vid_dev_info di; - unsigned i; - - PJ_ASSERT_RETURN(pool && prm && p_vid_port, PJ_EINVAL); - PJ_ASSERT_RETURN(prm->vidparam.fmt.type == PJMEDIA_TYPE_VIDEO && - prm->vidparam.dir != PJMEDIA_DIR_NONE && - prm->vidparam.dir != PJMEDIA_DIR_CAPTURE_RENDER, - PJ_EINVAL); - - /* Retrieve the video format detail */ - vfd = pjmedia_format_get_video_format_detail(&prm->vidparam.fmt, PJ_TRUE); - if (!vfd) - return PJ_EINVAL; - - PJ_ASSERT_RETURN(vfd->fps.num, PJ_EINVAL); - - /* Allocate videoport */ - vp = PJ_POOL_ZALLOC_T(pool, pjmedia_vid_port); - vp->pool = pj_pool_create(pool->factory, "video port", 500, 500, NULL); - vp->role = prm->active ? ROLE_ACTIVE : ROLE_PASSIVE; - vp->dir = prm->vidparam.dir; -// vp->cap_size = vfd->size; - - vparam = prm->vidparam; - dev_name[0] = '\0'; - - /* Get device info */ - if (vp->dir & PJMEDIA_DIR_CAPTURE) - status = pjmedia_vid_dev_get_info(prm->vidparam.cap_id, &di); - else - status = pjmedia_vid_dev_get_info(prm->vidparam.rend_id, &di); - if (status != PJ_SUCCESS) - return status; - - pj_ansi_snprintf(dev_name, sizeof(dev_name), "%s [%s]", - di.name, di.driver); - - for (i = 0; i < di.fmt_cnt; ++i) { - if (prm->vidparam.fmt.id == di.fmt[i].id) - break; - } - - if (i == di.fmt_cnt) { - /* The device has no no matching format. Pick one from - * the supported formats, and later use converter to - * convert it to the required format. - */ - pj_assert(di.fmt_cnt != 0); - vparam.fmt.id = di.fmt[0].id; - } - - pj_strdup2_with_null(pool, &vp->dev_name, di.name); - vp->stream_role = di.has_callback ? ROLE_ACTIVE : ROLE_PASSIVE; - - pjmedia_fourcc_name(vparam.fmt.id, fmt_name); - - PJ_LOG(4,(THIS_FILE, - "Opening device %s for %s: format=%s, size=%dx%d @%d:%d fps", - dev_name, - vid_dir_name(prm->vidparam.dir), fmt_name, - vfd->size.w, vfd->size.h, - vfd->fps.num, vfd->fps.denum)); - - ptime_usec = PJMEDIA_PTIME(&vfd->fps); - pjmedia_clock_src_init(&vp->clocksrc, PJMEDIA_TYPE_VIDEO, - prm->vidparam.clock_rate, ptime_usec); - vp->sync_clocksrc.max_sync_ticks = - PJMEDIA_CLOCK_SYNC_MAX_RESYNC_DURATION * - 1000 / vp->clocksrc.ptime_usec; - - /* Create the video stream */ - pj_bzero(&vid_cb, sizeof(vid_cb)); - vid_cb.capture_cb = &vidstream_cap_cb; - vid_cb.render_cb = &vidstream_render_cb; - - status = pjmedia_vid_dev_stream_create(&vparam, &vid_cb, vp, - &vp->strm); - if (status != PJ_SUCCESS) - goto on_error; - - PJ_LOG(4,(THIS_FILE, - "Device %s opened: format=%s, size=%dx%d @%d:%d fps", - dev_name, fmt_name, - vparam.fmt.det.vid.size.w, vparam.fmt.det.vid.size.h, - vparam.fmt.det.vid.fps.num, vparam.fmt.det.vid.fps.denum)); - - /* Subscribe to device's events */ - pjmedia_event_subscribe(NULL, &vidstream_event_cb, - vp, vp->strm); - - if (vp->dir & PJMEDIA_DIR_CAPTURE) { - pjmedia_format_copy(&vp->conv.conv_param.src, &vparam.fmt); - pjmedia_format_copy(&vp->conv.conv_param.dst, &prm->vidparam.fmt); - } else { - pjmedia_format_copy(&vp->conv.conv_param.src, &prm->vidparam.fmt); - pjmedia_format_copy(&vp->conv.conv_param.dst, &vparam.fmt); - } - - status = create_converter(vp); - if (status != PJ_SUCCESS) - goto on_error; - - if (vp->role==ROLE_ACTIVE && - ((vp->dir & PJMEDIA_DIR_ENCODING) || vp->stream_role==ROLE_PASSIVE)) - { - pjmedia_clock_param param; - - /* Active role is wanted, but our device is passive, so create - * master clocks to run the media flow. For encoding direction, - * we also want to create our own clock since the device's clock - * may run at a different rate. - */ - need_frame_buf = PJ_TRUE; - - param.usec_interval = PJMEDIA_PTIME(&vfd->fps); - param.clock_rate = prm->vidparam.clock_rate; - status = pjmedia_clock_create2(pool, ¶m, - PJMEDIA_CLOCK_NO_HIGHEST_PRIO, - (vp->dir & PJMEDIA_DIR_ENCODING) ? - &enc_clock_cb: &dec_clock_cb, - vp, &vp->clock); - if (status != PJ_SUCCESS) - goto on_error; - - } else if (vp->role==ROLE_PASSIVE) { - vid_pasv_port *pp; - - /* Always need to create media port for passive role */ - vp->pasv_port = pp = PJ_POOL_ZALLOC_T(pool, vid_pasv_port); - pp->vp = vp; - pp->base.get_frame = &vid_pasv_port_get_frame; - pp->base.put_frame = &vid_pasv_port_put_frame; - pjmedia_port_info_init2(&pp->base.info, &vp->dev_name, - PJMEDIA_SIG_VID_PORT, - prm->vidparam.dir, &prm->vidparam.fmt); - - if (vp->stream_role == ROLE_ACTIVE) { - need_frame_buf = PJ_TRUE; - } - } - - if (need_frame_buf) { - const pjmedia_video_format_info *vfi; - pjmedia_video_apply_fmt_param vafp; - - vfi = pjmedia_get_video_format_info(NULL, vparam.fmt.id); - if (!vfi) { - status = PJ_ENOTFOUND; - goto on_error; - } - - pj_bzero(&vafp, sizeof(vafp)); - vafp.size = vparam.fmt.det.vid.size; - status = vfi->apply_fmt(vfi, &vafp); - if (status != PJ_SUCCESS) - goto on_error; - - vp->frm_buf = PJ_POOL_ZALLOC_T(pool, pjmedia_frame); - vp->frm_buf_size = vafp.framebytes; - vp->frm_buf->buf = pj_pool_alloc(pool, vafp.framebytes); - vp->frm_buf->size = vp->frm_buf_size; - vp->frm_buf->type = PJMEDIA_FRAME_TYPE_NONE; - - status = pj_mutex_create_simple(pool, vp->dev_name.ptr, - &vp->frm_mutex); - if (status != PJ_SUCCESS) - goto on_error; - } - - *p_vid_port = vp; - - return PJ_SUCCESS; - -on_error: - pjmedia_vid_port_destroy(vp); - return status; -} - -PJ_DEF(void) pjmedia_vid_port_set_cb(pjmedia_vid_port *vid_port, - const pjmedia_vid_dev_cb *cb, - void *user_data) -{ - pj_assert(vid_port && cb); - pj_memcpy(&vid_port->strm_cb, cb, sizeof(*cb)); - vid_port->strm_cb_data = user_data; -} - -PJ_DEF(pjmedia_vid_dev_stream*) -pjmedia_vid_port_get_stream(pjmedia_vid_port *vp) -{ - PJ_ASSERT_RETURN(vp, NULL); - return vp->strm; -} - - -PJ_DEF(pjmedia_port*) -pjmedia_vid_port_get_passive_port(pjmedia_vid_port *vp) -{ - PJ_ASSERT_RETURN(vp && vp->role==ROLE_PASSIVE, NULL); - return &vp->pasv_port->base; -} - - -PJ_DEF(pjmedia_clock_src *) -pjmedia_vid_port_get_clock_src( pjmedia_vid_port *vid_port ) -{ - PJ_ASSERT_RETURN(vid_port, NULL); - return &vid_port->clocksrc; -} - -PJ_DECL(pj_status_t) -pjmedia_vid_port_set_clock_src( pjmedia_vid_port *vid_port, - pjmedia_clock_src *clocksrc) -{ - PJ_ASSERT_RETURN(vid_port && clocksrc, PJ_EINVAL); - - vid_port->sync_clocksrc.sync_clocksrc = clocksrc; - vid_port->sync_clocksrc.sync_delta = - pjmedia_clock_src_get_time_msec(&vid_port->clocksrc) - - pjmedia_clock_src_get_time_msec(clocksrc); - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_vid_port_connect(pjmedia_vid_port *vp, - pjmedia_port *port, - pj_bool_t destroy) -{ - PJ_ASSERT_RETURN(vp && vp->role==ROLE_ACTIVE, PJ_EINVAL); - vp->destroy_client_port = destroy; - vp->client_port = port; - - /* Subscribe to client port's events */ - pjmedia_event_subscribe(NULL, &client_port_event_cb, vp, - vp->client_port); - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_vid_port_disconnect(pjmedia_vid_port *vp) -{ - PJ_ASSERT_RETURN(vp && vp->role==ROLE_ACTIVE, PJ_EINVAL); - - pjmedia_event_unsubscribe(NULL, &client_port_event_cb, vp, - vp->client_port); - vp->client_port = NULL; - - return PJ_SUCCESS; -} - - -PJ_DEF(pjmedia_port*) -pjmedia_vid_port_get_connected_port(pjmedia_vid_port *vp) -{ - PJ_ASSERT_RETURN(vp && vp->role==ROLE_ACTIVE, NULL); - return vp->client_port; -} - -PJ_DEF(pj_status_t) pjmedia_vid_port_start(pjmedia_vid_port *vp) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(vp, PJ_EINVAL); - - status = pjmedia_vid_dev_stream_start(vp->strm); - if (status != PJ_SUCCESS) - goto on_error; - - if (vp->clock) { - status = pjmedia_clock_start(vp->clock); - if (status != PJ_SUCCESS) - goto on_error; - } - - return PJ_SUCCESS; - -on_error: - pjmedia_vid_port_stop(vp); - return status; -} - -PJ_DEF(pj_bool_t) pjmedia_vid_port_is_running(pjmedia_vid_port *vp) -{ - return pjmedia_vid_dev_stream_is_running(vp->strm); -} - -PJ_DEF(pj_status_t) pjmedia_vid_port_stop(pjmedia_vid_port *vp) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(vp, PJ_EINVAL); - - if (vp->clock) { - status = pjmedia_clock_stop(vp->clock); - } - - status = pjmedia_vid_dev_stream_stop(vp->strm); - - return status; -} - -PJ_DEF(void) pjmedia_vid_port_destroy(pjmedia_vid_port *vp) -{ - PJ_ASSERT_ON_FAIL(vp, return); - - PJ_LOG(4,(THIS_FILE, "Closing %s..", vp->dev_name.ptr)); - - if (vp->clock) { - pjmedia_clock_destroy(vp->clock); - vp->clock = NULL; - } - if (vp->strm) { - pjmedia_event_unsubscribe(NULL, &vidstream_event_cb, vp, vp->strm); - pjmedia_vid_dev_stream_destroy(vp->strm); - vp->strm = NULL; - } - if (vp->client_port) { - pjmedia_event_unsubscribe(NULL, &client_port_event_cb, vp, - vp->client_port); - if (vp->destroy_client_port) - pjmedia_port_destroy(vp->client_port); - vp->client_port = NULL; - } - if (vp->frm_mutex) { - pj_mutex_destroy(vp->frm_mutex); - vp->frm_mutex = NULL; - } - if (vp->conv.conv) { - pjmedia_converter_destroy(vp->conv.conv); - vp->conv.conv = NULL; - } - pj_pool_release(vp->pool); -} - -/* -static void save_rgb_frame(int width, int height, const pjmedia_frame *frm) -{ - static int counter; - FILE *pFile; - char szFilename[32]; - const pj_uint8_t *pFrame = (const pj_uint8_t*)frm->buf; - int y; - - if (counter > 10) - return; - - // Open file - sprintf(szFilename, "frame%02d.ppm", counter++); - pFile=fopen(szFilename, "wb"); - if(pFile==NULL) - return; - - // Write header - fprintf(pFile, "P6\n%d %d\n255\n", width, height); - - // Write pixel data - for(y=0; ytype == PJMEDIA_EVENT_FMT_CHANGED) { - const pjmedia_video_format_detail *vfd; - pjmedia_vid_dev_param vid_param; - pj_status_t status; - - pjmedia_vid_port_stop(vp); - - /* Retrieve the video format detail */ - vfd = pjmedia_format_get_video_format_detail( - &event->data.fmt_changed.new_fmt, PJ_TRUE); - if (!vfd || !vfd->fps.num || !vfd->fps.denum) - return PJMEDIA_EVID_BADFORMAT; - - /* Change the destination format to the new format */ - pjmedia_format_copy(&vp->conv.conv_param.src, - &event->data.fmt_changed.new_fmt); - /* Only copy the size here */ - vp->conv.conv_param.dst.det.vid.size = - event->data.fmt_changed.new_fmt.det.vid.size; - - status = create_converter(vp); - if (status != PJ_SUCCESS) { - PJ_PERROR(4,(THIS_FILE, status, "Error recreating converter")); - return status; - } - - pjmedia_vid_dev_stream_get_param(vp->strm, &vid_param); - if (vid_param.fmt.id != vp->conv.conv_param.dst.id || - (vid_param.fmt.det.vid.size.h != - vp->conv.conv_param.dst.det.vid.size.h) || - (vid_param.fmt.det.vid.size.w != - vp->conv.conv_param.dst.det.vid.size.w)) - { - status = pjmedia_vid_dev_stream_set_cap(vp->strm, - PJMEDIA_VID_DEV_CAP_FORMAT, - &vp->conv.conv_param.dst); - if (status != PJ_SUCCESS) { - PJ_LOG(3, (THIS_FILE, "failure in changing the format of the " - "video device")); - PJ_LOG(3, (THIS_FILE, "reverting to its original format: %s", - status != PJMEDIA_EVID_ERR ? "success" : - "failure")); - return status; - } - } - - if (vp->stream_role == ROLE_PASSIVE) { - pjmedia_clock_param clock_param; - - /** - * Initially, frm_buf was allocated the biggest - * supported size, so we do not need to re-allocate - * the buffer here. - */ - /* Adjust the clock */ - clock_param.usec_interval = PJMEDIA_PTIME(&vfd->fps); - clock_param.clock_rate = vid_param.clock_rate; - pjmedia_clock_modify(vp->clock, &clock_param); - } - - pjmedia_vid_port_start(vp); - } - - /* Republish the event, post the event to the event manager - * to avoid deadlock if vidport is trying to stop the clock. - */ - return pjmedia_event_publish(NULL, vp, event, - PJMEDIA_EVENT_PUBLISH_POST_EVENT); -} - -static pj_status_t convert_frame(pjmedia_vid_port *vp, - pjmedia_frame *src_frame, - pjmedia_frame *dst_frame) -{ - pj_status_t status = PJ_SUCCESS; - - if (vp->conv.conv) { - dst_frame->buf = vp->conv.conv_buf; - dst_frame->size = vp->conv.conv_buf_size; - status = pjmedia_converter_convert(vp->conv.conv, - src_frame, dst_frame); - } - - return status; -} - -/* Copy frame to buffer. */ -static void copy_frame_to_buffer(pjmedia_vid_port *vp, - pjmedia_frame *frame) -{ - pj_mutex_lock(vp->frm_mutex); - pjmedia_frame_copy(vp->frm_buf, frame); - pj_mutex_unlock(vp->frm_mutex); -} - -/* Get frame from buffer and convert it if necessary. */ -static pj_status_t get_frame_from_buffer(pjmedia_vid_port *vp, - pjmedia_frame *frame) -{ - pj_status_t status = PJ_SUCCESS; - - pj_mutex_lock(vp->frm_mutex); - if (vp->conv.conv) - status = convert_frame(vp, vp->frm_buf, frame); - else - pjmedia_frame_copy(frame, vp->frm_buf); - pj_mutex_unlock(vp->frm_mutex); - - return status; -} - -static void enc_clock_cb(const pj_timestamp *ts, void *user_data) -{ - /* We are here because user wants us to be active but the stream is - * passive. So get a frame from the stream and push it to user. - */ - pjmedia_vid_port *vp = (pjmedia_vid_port*)user_data; - pjmedia_frame frame_; - pj_status_t status = PJ_SUCCESS; - - pj_assert(vp->role==ROLE_ACTIVE); - - PJ_UNUSED_ARG(ts); - - if (!vp->client_port) - return; - - if (vp->stream_role == ROLE_PASSIVE) { - while (vp->conv.usec_ctr < vp->conv.usec_dst) { - vp->frm_buf->size = vp->frm_buf_size; - status = pjmedia_vid_dev_stream_get_frame(vp->strm, vp->frm_buf); - vp->conv.usec_ctr += vp->conv.usec_src; - } - vp->conv.usec_ctr -= vp->conv.usec_dst; - if (status != PJ_SUCCESS) - return; - } - - //save_rgb_frame(vp->cap_size.w, vp->cap_size.h, vp->frm_buf); - - frame_.buf = vp->conv.conv_buf; - frame_.size = vp->conv.conv_buf_size; - status = get_frame_from_buffer(vp, &frame_); - if (status != PJ_SUCCESS) - return; - - status = pjmedia_port_put_frame(vp->client_port, &frame_); - if (status != PJ_SUCCESS) - return; -} - -static void dec_clock_cb(const pj_timestamp *ts, void *user_data) -{ - /* We are here because user wants us to be active but the stream is - * passive. So get a frame from the stream and push it to user. - */ - pjmedia_vid_port *vp = (pjmedia_vid_port*)user_data; - pj_status_t status; - pjmedia_frame frame; - - pj_assert(vp->role==ROLE_ACTIVE && vp->stream_role==ROLE_PASSIVE); - - PJ_UNUSED_ARG(ts); - - if (!vp->client_port) - return; - - status = vidstream_render_cb(vp->strm, vp, &frame); - if (status != PJ_SUCCESS) - return; - - if (frame.size > 0) - status = pjmedia_vid_dev_stream_put_frame(vp->strm, &frame); -} - -static pj_status_t vidstream_cap_cb(pjmedia_vid_dev_stream *stream, - void *user_data, - pjmedia_frame *frame) -{ - pjmedia_vid_port *vp = (pjmedia_vid_port*)user_data; - - /* We just store the frame in the buffer. For active role, we let - * video port's clock to push the frame buffer to the user. - * The decoding counterpart for passive role and active stream is - * located in vid_pasv_port_put_frame() - */ - copy_frame_to_buffer(vp, frame); - - /* This is tricky since the frame is still in its original unconverted - * format, which may not be what the application expects. - */ - if (vp->strm_cb.capture_cb) - return (*vp->strm_cb.capture_cb)(stream, vp->strm_cb_data, frame); - return PJ_SUCCESS; -} - -static pj_status_t vidstream_render_cb(pjmedia_vid_dev_stream *stream, - void *user_data, - pjmedia_frame *frame) -{ - pjmedia_vid_port *vp = (pjmedia_vid_port*)user_data; - pj_status_t status = PJ_SUCCESS; - - pj_bzero(frame, sizeof(pjmedia_frame)); - if (vp->role==ROLE_ACTIVE) { - unsigned frame_ts = vp->clocksrc.clock_rate / 1000 * - vp->clocksrc.ptime_usec / 1000; - - if (!vp->client_port) - return status; - - if (vp->sync_clocksrc.sync_clocksrc) { - pjmedia_clock_src *src = vp->sync_clocksrc.sync_clocksrc; - pj_int32_t diff; - unsigned nsync_frame; - - /* Synchronization */ - /* Calculate the time difference (in ms) with the sync source */ - diff = pjmedia_clock_src_get_time_msec(&vp->clocksrc) - - pjmedia_clock_src_get_time_msec(src) - - vp->sync_clocksrc.sync_delta; - - /* Check whether sync source made a large jump */ - if (diff < 0 && -diff > PJMEDIA_CLOCK_SYNC_MAX_SYNC_MSEC) { - pjmedia_clock_src_update(&vp->clocksrc, NULL); - vp->sync_clocksrc.sync_delta = - pjmedia_clock_src_get_time_msec(src) - - pjmedia_clock_src_get_time_msec(&vp->clocksrc); - vp->sync_clocksrc.nsync_frame = 0; - return status; - } - - /* Calculate the difference (in frames) with the sync source */ - nsync_frame = abs(diff) * 1000 / vp->clocksrc.ptime_usec; - if (nsync_frame == 0) { - /* Nothing to sync */ - vp->sync_clocksrc.nsync_frame = 0; - } else { - pj_int32_t init_sync_frame = nsync_frame; - - /* Check whether it's a new sync or whether we need to reset - * the sync - */ - if (vp->sync_clocksrc.nsync_frame == 0 || - (vp->sync_clocksrc.nsync_frame > 0 && - nsync_frame > vp->sync_clocksrc.nsync_frame)) - { - vp->sync_clocksrc.nsync_frame = nsync_frame; - vp->sync_clocksrc.nsync_progress = 0; - } else { - init_sync_frame = vp->sync_clocksrc.nsync_frame; - } - - if (diff >= 0) { - unsigned skip_mod; - - /* We are too fast */ - if (vp->sync_clocksrc.max_sync_ticks > 0) { - skip_mod = init_sync_frame / - vp->sync_clocksrc.max_sync_ticks + 2; - } else - skip_mod = init_sync_frame + 2; - - PJ_LOG(5, (THIS_FILE, "synchronization: early by %d ms", - diff)); - /* We'll play a frame every skip_mod-th tick instead of - * a complete pause - */ - if (++vp->sync_clocksrc.nsync_progress % skip_mod > 0) { - pjmedia_clock_src_update(&vp->clocksrc, NULL); - return status; - } - } else { - unsigned i, ndrop = init_sync_frame; - - /* We are too late, drop the frame */ - if (vp->sync_clocksrc.max_sync_ticks > 0) { - ndrop /= vp->sync_clocksrc.max_sync_ticks; - ndrop++; - } - PJ_LOG(5, (THIS_FILE, "synchronization: late, " - "dropping %d frame(s)", ndrop)); - - if (ndrop >= nsync_frame) { - vp->sync_clocksrc.nsync_frame = 0; - ndrop = nsync_frame; - } else - vp->sync_clocksrc.nsync_progress += ndrop; - - for (i = 0; i < ndrop; i++) { - vp->frm_buf->size = vp->frm_buf_size; - status = pjmedia_port_get_frame(vp->client_port, - vp->frm_buf); - if (status != PJ_SUCCESS) { - pjmedia_clock_src_update(&vp->clocksrc, NULL); - return status; - } - - pj_add_timestamp32(&vp->clocksrc.timestamp, - frame_ts); - } - } - } - } - - vp->frm_buf->size = vp->frm_buf_size; - status = pjmedia_port_get_frame(vp->client_port, vp->frm_buf); - if (status != PJ_SUCCESS) { - pjmedia_clock_src_update(&vp->clocksrc, NULL); - return status; - } - pj_add_timestamp32(&vp->clocksrc.timestamp, frame_ts); - pjmedia_clock_src_update(&vp->clocksrc, NULL); - - status = convert_frame(vp, vp->frm_buf, frame); - if (status != PJ_SUCCESS) - return status; - - if (!vp->conv.conv) - pj_memcpy(frame, vp->frm_buf, sizeof(*frame)); - } else { - /* The stream is active while we are passive so we need to get the - * frame from the buffer. - * The encoding counterpart is located in vid_pasv_port_get_frame() - */ - get_frame_from_buffer(vp, frame); - } - if (vp->strm_cb.render_cb) - return (*vp->strm_cb.render_cb)(stream, vp->strm_cb_data, frame); - return PJ_SUCCESS; -} - -static pj_status_t vid_pasv_port_put_frame(struct pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct vid_pasv_port *vpp = (struct vid_pasv_port*)this_port; - pjmedia_vid_port *vp = vpp->vp; - - if (vp->stream_role==ROLE_PASSIVE) { - /* We are passive and the stream is passive. - * The encoding counterpart is in vid_pasv_port_get_frame(). - */ - pj_status_t status; - pjmedia_frame frame_; - - status = convert_frame(vp, frame, &frame_); - if (status != PJ_SUCCESS) - return status; - - return pjmedia_vid_dev_stream_put_frame(vp->strm, (vp->conv.conv? - &frame_: frame)); - } else { - /* We are passive while the stream is active so we just store the - * frame in the buffer. - * The encoding counterpart is located in vidstream_cap_cb() - */ - copy_frame_to_buffer(vp, frame); - } - - return PJ_SUCCESS; -} - -static pj_status_t vid_pasv_port_get_frame(struct pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct vid_pasv_port *vpp = (struct vid_pasv_port*)this_port; - pjmedia_vid_port *vp = vpp->vp; - pj_status_t status = PJ_SUCCESS; - - if (vp->stream_role==ROLE_PASSIVE) { - /* We are passive and the stream is passive. - * The decoding counterpart is in vid_pasv_port_put_frame(). - */ - status = pjmedia_vid_dev_stream_get_frame(vp->strm, (vp->conv.conv? - vp->frm_buf: frame)); - if (status != PJ_SUCCESS) - return status; - - status = convert_frame(vp, vp->frm_buf, frame); - } else { - /* The stream is active while we are passive so we need to get the - * frame from the buffer. - * The decoding counterpart is located in vidstream_rend_cb() - */ - get_frame_from_buffer(vp, frame); - } - - return status; -} - - -#endif /* PJMEDIA_HAS_VIDEO */ diff --git a/res/pjproject/pjmedia/src/pjmedia/vid_stream.c b/res/pjproject/pjmedia/src/pjmedia/vid_stream.c deleted file mode 100644 index 66923fe5a0..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/vid_stream.c +++ /dev/null @@ -1,1981 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include /* memcpy() */ - - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - - -#define THIS_FILE "vid_stream.c" -#define ERRLEVEL 1 -#define LOGERR_(expr) stream_perror expr -#define TRC_(expr) PJ_LOG(5,expr) -#define SIGNATURE PJMEDIA_SIG_PORT_VID_STREAM - -#define TRACE_RC 0 - -/* Tracing jitter buffer operations in a stream session to a CSV file. - * The trace will contain JB operation timestamp, frame info, RTP info, and - * the JB state right after the operation. - */ -#define TRACE_JB 0 /* Enable/disable trace. */ -#define TRACE_JB_PATH_PREFIX "" /* Optional path/prefix - for the CSV filename. */ -#if TRACE_JB -# include -# define TRACE_JB_INVALID_FD ((pj_oshandle_t)-1) -# define TRACE_JB_OPENED(s) (s->trace_jb_fd != TRACE_JB_INVALID_FD) -#endif - -#ifndef PJMEDIA_VSTREAM_SIZE -# define PJMEDIA_VSTREAM_SIZE 1000 -#endif - -#ifndef PJMEDIA_VSTREAM_INC -# define PJMEDIA_VSTREAM_INC 1000 -#endif - -/* Video stream keep-alive feature is currently disabled. */ -#if defined(PJMEDIA_STREAM_ENABLE_KA) && PJMEDIA_STREAM_ENABLE_KA != 0 -# undef PJMEDIA_STREAM_ENABLE_KA -# define PJMEDIA_STREAM_ENABLE_KA 0 -#endif - - -/** - * Media channel. - */ -typedef struct pjmedia_vid_channel -{ - pjmedia_vid_stream *stream; /**< Parent stream. */ - pjmedia_dir dir; /**< Channel direction. */ - pjmedia_port port; /**< Port interface. */ - unsigned pt; /**< Payload type. */ - pj_bool_t paused; /**< Paused?. */ - void *buf; /**< Output buffer. */ - unsigned buf_size; /**< Size of output buffer. */ - pjmedia_rtp_session rtp; /**< RTP session. */ -} pjmedia_vid_channel; - - -/** - * This structure describes media stream. - * A media stream is bidirectional media transmission between two endpoints. - * It consists of two channels, i.e. encoding and decoding channels. - * A media stream corresponds to a single "m=" line in a SDP session - * description. - */ -struct pjmedia_vid_stream -{ - pj_pool_t *own_pool; /**< Internal pool. */ - pjmedia_endpt *endpt; /**< Media endpoint. */ - pjmedia_vid_codec_mgr *codec_mgr; /**< Codec manager. */ - pjmedia_vid_stream_info info; /**< Stream info. */ - - pjmedia_vid_channel *enc; /**< Encoding channel. */ - pjmedia_vid_channel *dec; /**< Decoding channel. */ - - pjmedia_dir dir; /**< Stream direction. */ - void *user_data; /**< User data. */ - pj_str_t name; /**< Stream name */ - pj_str_t cname; /**< SDES CNAME */ - - pjmedia_transport *transport; /**< Stream transport. */ - unsigned send_err_cnt; /**< Send error count. */ - - pj_mutex_t *jb_mutex; - pjmedia_jbuf *jb; /**< Jitter buffer. */ - char jb_last_frm; /**< Last frame type from jb */ - unsigned jb_last_frm_cnt;/**< Last JB frame type counter*/ - - pjmedia_rtcp_session rtcp; /**< RTCP for incoming RTP. */ - pj_uint32_t rtcp_last_tx; /**< RTCP tx time in timestamp */ - pj_uint32_t rtcp_interval; /**< Interval, in timestamp. */ - pj_bool_t initial_rr; /**< Initial RTCP RR sent */ - pj_bool_t rtcp_sdes_bye_disabled;/**< Send RTCP SDES/BYE?*/ - void *out_rtcp_pkt; /**< Outgoing RTCP packet. */ - unsigned out_rtcp_pkt_size; - /**< Outgoing RTCP packet size. */ - - unsigned dec_max_size; /**< Size of decoded/raw picture*/ - pjmedia_ratio dec_max_fps; /**< Max fps of decoding dir. */ - pjmedia_frame dec_frame; /**< Current decoded frame. */ - pjmedia_event fmt_event; /**< Buffered fmt_changed event - to avoid deadlock */ - pjmedia_event miss_keyframe_event; - /**< Buffered missing keyframe - event for delayed republish*/ - - unsigned frame_size; /**< Size of encoded base frame.*/ - unsigned frame_ts_len; /**< Frame length in timestamp. */ - - unsigned rx_frame_cnt; /**< # of array in rx_frames */ - pjmedia_frame *rx_frames; /**< Temp. buffer for incoming - frame assembly. */ - - pj_bool_t force_keyframe;/**< Forced to encode keyframe? */ - -#if defined(PJMEDIA_STREAM_ENABLE_KA) && PJMEDIA_STREAM_ENABLE_KA!=0 - pj_bool_t use_ka; /**< Stream keep-alive with non- - codec-VAD mechanism is - enabled? */ - pj_timestamp last_frm_ts_sent; /**< Timestamp of last sending - packet */ -#endif - -#if TRACE_JB - pj_oshandle_t trace_jb_fd; /**< Jitter tracing file handle.*/ - char *trace_jb_buf; /**< Jitter tracing buffer. */ -#endif - - pjmedia_vid_codec *codec; /**< Codec instance being used. */ - pj_uint32_t last_dec_ts; /**< Last decoded timestamp. */ - int last_dec_seq; /**< Last decoded sequence. */ - - - pj_timestamp ts_freq; /**< Timestamp frequency. */ - -#if TRACE_RC - unsigned rc_total_sleep; - unsigned rc_total_pkt; - unsigned rc_total_img; - pj_timestamp tx_start; - pj_timestamp tx_end; -#endif -}; - -/* Prototypes */ -static pj_status_t decode_frame(pjmedia_vid_stream *stream, - pjmedia_frame *frame); - -/* - * Print error. - */ -static void stream_perror(const char *sender, const char *title, - pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(4,(sender, "%s: %s [err:%d]", title, errmsg, status)); -} - - -static pj_status_t send_rtcp(pjmedia_vid_stream *stream, - pj_bool_t with_sdes, - pj_bool_t with_bye); - - -#if TRACE_JB - -PJ_INLINE(int) trace_jb_print_timestamp(char **buf, pj_ssize_t len) -{ - pj_time_val now; - pj_parsed_time ptime; - char *p = *buf; - - if (len < 14) - return -1; - - pj_gettimeofday(&now); - pj_time_decode(&now, &ptime); - p += pj_utoa_pad(ptime.hour, p, 2, '0'); - *p++ = ':'; - p += pj_utoa_pad(ptime.min, p, 2, '0'); - *p++ = ':'; - p += pj_utoa_pad(ptime.sec, p, 2, '0'); - *p++ = '.'; - p += pj_utoa_pad(ptime.msec, p, 3, '0'); - *p++ = ','; - - *buf = p; - - return 0; -} - -PJ_INLINE(int) trace_jb_print_state(pjmedia_vid_stream *stream, - char **buf, pj_ssize_t len) -{ - char *p = *buf; - char *endp = *buf + len; - pjmedia_jb_state state; - - pjmedia_jbuf_get_state(stream->jb, &state); - - len = pj_ansi_snprintf(p, endp-p, "%d, %d, %d", - state.size, state.burst, state.prefetch); - if ((len < 0) || (len >= endp-p)) - return -1; - - p += len; - *buf = p; - return 0; -} - -static void trace_jb_get(pjmedia_vid_stream *stream, pjmedia_jb_frame_type ft, - pj_size_t fsize) -{ - char *p = stream->trace_jb_buf; - char *endp = stream->trace_jb_buf + PJ_LOG_MAX_SIZE; - pj_ssize_t len = 0; - const char* ft_st; - - if (!TRACE_JB_OPENED(stream)) - return; - - /* Print timestamp. */ - if (trace_jb_print_timestamp(&p, endp-p)) - goto on_insuff_buffer; - - /* Print frame type and size */ - switch(ft) { - case PJMEDIA_JB_MISSING_FRAME: - ft_st = "missing"; - break; - case PJMEDIA_JB_NORMAL_FRAME: - ft_st = "normal"; - break; - case PJMEDIA_JB_ZERO_PREFETCH_FRAME: - ft_st = "prefetch"; - break; - case PJMEDIA_JB_ZERO_EMPTY_FRAME: - ft_st = "empty"; - break; - default: - ft_st = "unknown"; - break; - } - - /* Print operation, size, frame count, frame type */ - len = pj_ansi_snprintf(p, endp-p, "GET,%d,1,%s,,,,", fsize, ft_st); - if ((len < 0) || (len >= endp-p)) - goto on_insuff_buffer; - p += len; - - /* Print JB state */ - if (trace_jb_print_state(stream, &p, endp-p)) - goto on_insuff_buffer; - - /* Print end of line */ - if (endp-p < 2) - goto on_insuff_buffer; - *p++ = '\n'; - - /* Write and flush */ - len = p - stream->trace_jb_buf; - pj_file_write(stream->trace_jb_fd, stream->trace_jb_buf, &len); - pj_file_flush(stream->trace_jb_fd); - return; - -on_insuff_buffer: - pj_assert(!"Trace buffer too small, check PJ_LOG_MAX_SIZE!"); -} - -static void trace_jb_put(pjmedia_vid_stream *stream, - const pjmedia_rtp_hdr *hdr, - unsigned payloadlen, unsigned frame_cnt) -{ - char *p = stream->trace_jb_buf; - char *endp = stream->trace_jb_buf + PJ_LOG_MAX_SIZE; - pj_ssize_t len = 0; - - if (!TRACE_JB_OPENED(stream)) - return; - - /* Print timestamp. */ - if (trace_jb_print_timestamp(&p, endp-p)) - goto on_insuff_buffer; - - /* Print operation, size, frame count, RTP info */ - len = pj_ansi_snprintf(p, endp-p, - "PUT,%d,%d,,%d,%d,%d,", - payloadlen, frame_cnt, - pj_ntohs(hdr->seq), pj_ntohl(hdr->ts), hdr->m); - if ((len < 0) || (len >= endp-p)) - goto on_insuff_buffer; - p += len; - - /* Print JB state */ - if (trace_jb_print_state(stream, &p, endp-p)) - goto on_insuff_buffer; - - /* Print end of line */ - if (endp-p < 2) - goto on_insuff_buffer; - *p++ = '\n'; - - /* Write and flush */ - len = p - stream->trace_jb_buf; - pj_file_write(stream->trace_jb_fd, stream->trace_jb_buf, &len); - pj_file_flush(stream->trace_jb_fd); - return; - -on_insuff_buffer: - pj_assert(!"Trace buffer too small, check PJ_LOG_MAX_SIZE!"); -} - -#endif /* TRACE_JB */ - -static void dump_port_info(const pjmedia_vid_channel *chan, - const char *event_name) -{ - const pjmedia_port_info *pi = &chan->port.info; - char fourcc_name[5]; - - PJ_LOG(5, (pi->name.ptr, - " %s format %s: %dx%d %s%s %d/%d(~%d)fps", - (chan->dir==PJMEDIA_DIR_DECODING? "Decoding":"Encoding"), - event_name, - pi->fmt.det.vid.size.w, pi->fmt.det.vid.size.h, - pjmedia_fourcc_name(pi->fmt.id, fourcc_name), - (chan->dir==PJMEDIA_DIR_ENCODING?"->":"<-"), - pi->fmt.det.vid.fps.num, pi->fmt.det.vid.fps.denum, - pi->fmt.det.vid.fps.num/pi->fmt.det.vid.fps.denum)); -} - -/* - * Handle events from stream components. - */ -static pj_status_t stream_event_cb(pjmedia_event *event, - void *user_data) -{ - pjmedia_vid_stream *stream = (pjmedia_vid_stream*)user_data; - - if (event->epub == stream->codec) { - /* This is codec event */ - switch (event->type) { - case PJMEDIA_EVENT_FMT_CHANGED: - /* Copy the event to avoid deadlock if we publish the event - * now. This happens because fmt_event may trigger restart - * while we're still holding the jb_mutex. - */ - pj_memcpy(&stream->fmt_event, event, sizeof(*event)); - return PJ_SUCCESS; - - case PJMEDIA_EVENT_KEYFRAME_MISSING: - /* Republish this event later from get_frame(). */ - pj_memcpy(&stream->miss_keyframe_event, event, sizeof(*event)); - return PJ_SUCCESS; - - default: - break; - } - } - - return pjmedia_event_publish(NULL, stream, event, 0); -} - -#if defined(PJMEDIA_STREAM_ENABLE_KA) && PJMEDIA_STREAM_ENABLE_KA != 0 -/* - * Send keep-alive packet using non-codec frame. - */ -static void send_keep_alive_packet(pjmedia_vid_stream *stream) -{ -#if PJMEDIA_STREAM_ENABLE_KA == PJMEDIA_STREAM_KA_EMPTY_RTP - - /* Keep-alive packet is empty RTP */ - pjmedia_vid_channel *channel = stream->enc; - pj_status_t status; - void *pkt; - int pkt_len; - - TRC_((channel->port.info.name.ptr, - "Sending keep-alive (RTCP and empty RTP)")); - - /* Send RTP */ - status = pjmedia_rtp_encode_rtp( &stream->enc->rtp, - stream->enc->pt, 0, - 1, - 0, - (const void**)&pkt, - &pkt_len); - pj_assert(status == PJ_SUCCESS); - - pj_memcpy(stream->enc->buf, pkt, pkt_len); - pjmedia_transport_send_rtp(stream->transport, stream->enc->buf, - pkt_len); - - /* Send RTCP */ - send_rtcp(stream, PJ_TRUE, PJ_FALSE); - -#elif PJMEDIA_STREAM_ENABLE_KA == PJMEDIA_STREAM_KA_USER - - /* Keep-alive packet is defined in PJMEDIA_STREAM_KA_USER_PKT */ - pjmedia_vid_channel *channel = stream->enc; - int pkt_len; - const pj_str_t str_ka = PJMEDIA_STREAM_KA_USER_PKT; - - TRC_((channel->port.info.name.ptr, - "Sending keep-alive (custom RTP/RTCP packets)")); - - /* Send to RTP port */ - pj_memcpy(stream->enc->buf, str_ka.ptr, str_ka.slen); - pkt_len = str_ka.slen; - pjmedia_transport_send_rtp(stream->transport, stream->enc->buf, - pkt_len); - - /* Send to RTCP port */ - pjmedia_transport_send_rtcp(stream->transport, stream->enc->buf, - pkt_len); - -#else - - PJ_UNUSED_ARG(stream); - -#endif -} -#endif /* defined(PJMEDIA_STREAM_ENABLE_KA) */ - - -static pj_status_t send_rtcp(pjmedia_vid_stream *stream, - pj_bool_t with_sdes, - pj_bool_t with_bye) -{ - void *sr_rr_pkt; - pj_uint8_t *pkt; - int len, max_len; - pj_status_t status; - - /* Build RTCP RR/SR packet */ - pjmedia_rtcp_build_rtcp(&stream->rtcp, &sr_rr_pkt, &len); - - if (with_sdes || with_bye) { - pkt = (pj_uint8_t*) stream->out_rtcp_pkt; - pj_memcpy(pkt, sr_rr_pkt, len); - max_len = stream->out_rtcp_pkt_size; - } else { - pkt = (pj_uint8_t*)sr_rr_pkt; - max_len = len; - } - - /* Build RTCP SDES packet */ - if (with_sdes) { - pjmedia_rtcp_sdes sdes; - pj_size_t sdes_len; - - pj_bzero(&sdes, sizeof(sdes)); - sdes.cname = stream->cname; - sdes_len = max_len - len; - status = pjmedia_rtcp_build_rtcp_sdes(&stream->rtcp, pkt+len, - &sdes_len, &sdes); - if (status != PJ_SUCCESS) { - PJ_PERROR(4,(stream->name.ptr, status, - "Error generating RTCP SDES")); - } else { - len += sdes_len; - } - } - - /* Build RTCP BYE packet */ - if (with_bye) { - pj_size_t bye_len; - - bye_len = max_len - len; - status = pjmedia_rtcp_build_rtcp_bye(&stream->rtcp, pkt+len, - &bye_len, NULL); - if (status != PJ_SUCCESS) { - PJ_PERROR(4,(stream->name.ptr, status, - "Error generating RTCP BYE")); - } else { - len += bye_len; - } - } - - /* Send! */ - status = pjmedia_transport_send_rtcp(stream->transport, pkt, len); - - return status; -} - - -/** - * check_tx_rtcp() - * - * This function is can be called by either put_frame() or get_frame(), - * to transmit periodic RTCP SR/RR report. - */ -static void check_tx_rtcp(pjmedia_vid_stream *stream, pj_uint32_t timestamp) -{ - /* Note that timestamp may represent local or remote timestamp, - * depending on whether this function is called from put_frame() - * or get_frame(). - */ - - - if (stream->rtcp_last_tx == 0) { - - stream->rtcp_last_tx = timestamp; - - } else if (timestamp - stream->rtcp_last_tx >= stream->rtcp_interval) { - pj_status_t status; - - status = send_rtcp(stream, !stream->rtcp_sdes_bye_disabled, PJ_FALSE); - if (status != PJ_SUCCESS) { - PJ_PERROR(4,(stream->name.ptr, status, - "Error sending RTCP")); - } - - stream->rtcp_last_tx = timestamp; - } -} - - -#if 0 -static void dump_bin(const char *buf, unsigned len) -{ - unsigned i; - - PJ_LOG(3,(THIS_FILE, "begin dump")); - for (i=0; idec; - const pjmedia_rtp_hdr *hdr; - const void *payload; - unsigned payloadlen; - pjmedia_rtp_status seq_st; - pj_status_t status; - pj_bool_t pkt_discarded = PJ_FALSE; - - /* Check for errors */ - if (bytes_read < 0) { - LOGERR_((channel->port.info.name.ptr, "RTP recv() error", -bytes_read)); - return; - } - - /* Ignore keep-alive packets */ - if (bytes_read < (pj_ssize_t) sizeof(pjmedia_rtp_hdr)) - return; - - /* Update RTP and RTCP session. */ - status = pjmedia_rtp_decode_rtp(&channel->rtp, pkt, bytes_read, - &hdr, &payload, &payloadlen); - if (status != PJ_SUCCESS) { - LOGERR_((channel->port.info.name.ptr, "RTP decode error", status)); - stream->rtcp.stat.rx.discard++; - return; - } - - /* Ignore the packet if decoder is paused */ - if (channel->paused) - goto on_return; - - /* Update RTP session (also checks if RTP session can accept - * the incoming packet. - */ - pjmedia_rtp_session_update2(&channel->rtp, hdr, &seq_st, PJ_TRUE); - if (seq_st.status.value) { - TRC_ ((channel->port.info.name.ptr, - "RTP status: badpt=%d, badssrc=%d, dup=%d, " - "outorder=%d, probation=%d, restart=%d", - seq_st.status.flag.badpt, - seq_st.status.flag.badssrc, - seq_st.status.flag.dup, - seq_st.status.flag.outorder, - seq_st.status.flag.probation, - seq_st.status.flag.restart)); - - if (seq_st.status.flag.badpt) { - PJ_LOG(4,(channel->port.info.name.ptr, - "Bad RTP pt %d (expecting %d)", - hdr->pt, channel->rtp.out_pt)); - } - - if (seq_st.status.flag.badssrc) { - PJ_LOG(4,(channel->port.info.name.ptr, - "Changed RTP peer SSRC %d (previously %d)", - channel->rtp.peer_ssrc, stream->rtcp.peer_ssrc)); - stream->rtcp.peer_ssrc = channel->rtp.peer_ssrc; - } - - - } - - /* Skip bad RTP packet */ - if (seq_st.status.flag.bad) { - pkt_discarded = PJ_TRUE; - goto on_return; - } - - /* Ignore if payloadlen is zero */ - if (payloadlen == 0) { - pkt_discarded = PJ_TRUE; - goto on_return; - } - - pj_mutex_lock( stream->jb_mutex ); - - /* Quickly see if there may be a full picture in the jitter buffer, and - * decode them if so. More thorough check will be done in decode_frame(). - */ - if ((pj_ntohl(hdr->ts) != stream->dec_frame.timestamp.u32.lo) || hdr->m) { - if (PJMEDIA_VID_STREAM_SKIP_PACKETS_TO_REDUCE_LATENCY) { - /* Always decode whenever we have picture in jb and - * overwrite already decoded picture if necessary - */ - pj_size_t old_size = stream->dec_frame.size; - - stream->dec_frame.size = stream->dec_max_size; - if (decode_frame(stream, &stream->dec_frame) != PJ_SUCCESS) { - stream->dec_frame.size = old_size; - } - } else { - /* Only decode if we don't already have decoded one, - * unless the jb is full. - */ - pj_bool_t can_decode = PJ_FALSE; - - if (pjmedia_jbuf_is_full(stream->jb)) { - can_decode = PJ_TRUE; - } - else if (stream->dec_frame.size == 0) { - can_decode = PJ_TRUE; - } - - if (can_decode) { - stream->dec_frame.size = stream->dec_max_size; - if (decode_frame(stream, &stream->dec_frame) != PJ_SUCCESS) { - stream->dec_frame.size = 0; - } - } - } - } - - /* Put "good" packet to jitter buffer, or reset the jitter buffer - * when RTP session is restarted. - */ - if (seq_st.status.flag.restart) { - status = pjmedia_jbuf_reset(stream->jb); - PJ_LOG(4,(channel->port.info.name.ptr, "Jitter buffer reset")); - } else { - /* Just put the payload into jitter buffer */ - pjmedia_jbuf_put_frame3(stream->jb, payload, payloadlen, 0, - pj_ntohs(hdr->seq), pj_ntohl(hdr->ts), NULL); - -#if TRACE_JB - trace_jb_put(stream, hdr, payloadlen, count); -#endif - - } - pj_mutex_unlock( stream->jb_mutex ); - - - /* Check if now is the time to transmit RTCP SR/RR report. - * We only do this when stream direction is "decoding only", - * because otherwise check_tx_rtcp() will be handled by put_frame() - */ - if (stream->dir == PJMEDIA_DIR_DECODING) { - check_tx_rtcp(stream, pj_ntohl(hdr->ts)); - } - - if (status != 0) { - LOGERR_((channel->port.info.name.ptr, "Jitter buffer put() error", - status)); - pkt_discarded = PJ_TRUE; - goto on_return; - } - -on_return: - /* Update RTCP session */ - if (stream->rtcp.peer_ssrc == 0) - stream->rtcp.peer_ssrc = channel->rtp.peer_ssrc; - - pjmedia_rtcp_rx_rtp2(&stream->rtcp, pj_ntohs(hdr->seq), - pj_ntohl(hdr->ts), payloadlen, pkt_discarded); - - /* Send RTCP RR and SDES after we receive some RTP packets */ - if (stream->rtcp.received >= 10 && !stream->initial_rr) { - status = send_rtcp(stream, !stream->rtcp_sdes_bye_disabled, - PJ_FALSE); - if (status != PJ_SUCCESS) { - PJ_PERROR(4,(stream->name.ptr, status, - "Error sending initial RTCP RR")); - } else { - stream->initial_rr = PJ_TRUE; - } - } -} - - -/* - * This callback is called by stream transport on receipt of packets - * in the RTCP socket. - */ -static void on_rx_rtcp( void *data, - void *pkt, - pj_ssize_t bytes_read) -{ - pjmedia_vid_stream *stream = (pjmedia_vid_stream*) data; - - /* Check for errors */ - if (bytes_read < 0) { - LOGERR_((stream->cname.ptr, "RTCP recv() error", - -bytes_read)); - return; - } - - pjmedia_rtcp_rx_rtcp(&stream->rtcp, pkt, bytes_read); -} - -static pj_status_t put_frame(pjmedia_port *port, - pjmedia_frame *frame) -{ - pjmedia_vid_stream *stream = (pjmedia_vid_stream*) port->port_data.pdata; - pjmedia_vid_channel *channel = stream->enc; - pj_status_t status = 0; - pjmedia_frame frame_out; - unsigned rtp_ts_len; - void *rtphdr; - int rtphdrlen; - pj_bool_t has_more_data = PJ_FALSE; - pj_size_t total_sent = 0; - pjmedia_vid_encode_opt enc_opt; - unsigned pkt_cnt = 0; - pj_timestamp initial_time; - -#if defined(PJMEDIA_STREAM_ENABLE_KA) && PJMEDIA_STREAM_ENABLE_KA != 0 - /* If the interval since last sending packet is greater than - * PJMEDIA_STREAM_KA_INTERVAL, send keep-alive packet. - */ - if (stream->use_ka) - { - pj_uint32_t dtx_duration; - - dtx_duration = pj_timestamp_diff32(&stream->last_frm_ts_sent, - &frame->timestamp); - /* Video stream keep-alive feature is currently disabled. */ - /* - if (dtx_duration > - PJMEDIA_STREAM_KA_INTERVAL * - PJMEDIA_PIA_SRATE(&channel->port.info)) - { - send_keep_alive_packet(stream); - stream->last_frm_ts_sent = frame->timestamp; - } - */ - } -#endif - - /* Don't do anything if stream is paused */ - if (channel->paused) { - return PJ_SUCCESS; - } - - /* Get frame length in timestamp unit */ - rtp_ts_len = stream->frame_ts_len; - - /* Init frame_out buffer. */ - frame_out.buf = ((char*)channel->buf) + sizeof(pjmedia_rtp_hdr); - frame_out.size = 0; - - /* Init encoding option */ - pj_bzero(&enc_opt, sizeof(enc_opt)); - if (stream->force_keyframe) { - /* Force encoder to generate keyframe */ - enc_opt.force_keyframe = PJ_TRUE; - stream->force_keyframe = PJ_FALSE; - TRC_((channel->port.info.name.ptr, - "Forcing encoder to generate keyframe")); - } - - /* Encode! */ - status = pjmedia_vid_codec_encode_begin(stream->codec, &enc_opt, frame, - channel->buf_size - - sizeof(pjmedia_rtp_hdr), - &frame_out, - &has_more_data); - if (status != PJ_SUCCESS) { - LOGERR_((channel->port.info.name.ptr, - "Codec encode_begin() error", status)); - - /* Update RTP timestamp */ - pjmedia_rtp_encode_rtp(&channel->rtp, channel->pt, 1, 0, - rtp_ts_len, (const void**)&rtphdr, - &rtphdrlen); - return status; - } - - pj_get_timestamp(&initial_time); - - /* Loop while we have frame to send */ - for (;;) { - status = pjmedia_rtp_encode_rtp(&channel->rtp, - channel->pt, - (has_more_data == PJ_FALSE ? 1 : 0), - frame_out.size, - rtp_ts_len, - (const void**)&rtphdr, - &rtphdrlen); - if (status != PJ_SUCCESS) { - LOGERR_((channel->port.info.name.ptr, - "RTP encode_rtp() error", status)); - return status; - } - - // Copy RTP header to the beginning of packet - pj_memcpy(channel->buf, rtphdr, sizeof(pjmedia_rtp_hdr)); - - // Send the RTP packet to the transport. - status = pjmedia_transport_send_rtp(stream->transport, - (char*)channel->buf, - frame_out.size + - sizeof(pjmedia_rtp_hdr)); - if (status != PJ_SUCCESS) { - enum { COUNT_TO_REPORT = 20 }; - if (stream->send_err_cnt++ == 0) { - LOGERR_((channel->port.info.name.ptr, - "Transport send_rtp() error", - status)); - } - if (stream->send_err_cnt > COUNT_TO_REPORT) - stream->send_err_cnt = 0; - /* Ignore this error */ - } - - pjmedia_rtcp_tx_rtp(&stream->rtcp, frame_out.size); - total_sent += frame_out.size; - pkt_cnt++; - - if (!has_more_data) - break; - - /* Next packets use same timestamp */ - rtp_ts_len = 0; - - frame_out.size = 0; - - /* Encode more! */ - status = pjmedia_vid_codec_encode_more(stream->codec, - channel->buf_size - - sizeof(pjmedia_rtp_hdr), - &frame_out, - &has_more_data); - if (status != PJ_SUCCESS) { - LOGERR_((channel->port.info.name.ptr, - "Codec encode_more() error", status)); - /* Ignore this error (?) */ - break; - } - - /* Send rate control */ - if (stream->info.rc_cfg.method==PJMEDIA_VID_STREAM_RC_SIMPLE_BLOCKING) - { - pj_timestamp now, next_send_ts, total_send_ts; - - total_send_ts.u64 = total_sent * stream->ts_freq.u64 * 8 / - stream->info.rc_cfg.bandwidth; - next_send_ts = initial_time; - pj_add_timestamp(&next_send_ts, &total_send_ts); - - pj_get_timestamp(&now); - if (pj_cmp_timestamp(&now, &next_send_ts) < 0) { - unsigned ms_sleep; - ms_sleep = pj_elapsed_msec(&now, &next_send_ts); - - if (ms_sleep > 10) - ms_sleep = 10; - - pj_thread_sleep(ms_sleep); - } - } - } - -#if TRACE_RC - /* Trace log for rate control */ - { - pj_timestamp end_time; - unsigned total_sleep; - - pj_get_timestamp(&end_time); - total_sleep = pj_elapsed_msec(&initial_time, &end_time); - PJ_LOG(5, (stream->name.ptr, "total pkt=%d size=%d sleep=%d", - pkt_cnt, total_sent, total_sleep)); - - if (stream->tx_start.u64 == 0) - stream->tx_start = initial_time; - stream->tx_end = end_time; - stream->rc_total_pkt += pkt_cnt; - stream->rc_total_sleep += total_sleep; - stream->rc_total_img++; - } -#endif - - /* Check if now is the time to transmit RTCP SR/RR report. - * We only do this when stream direction is not "decoding only", because - * when it is, check_tx_rtcp() will be handled by get_frame(). - */ - if (stream->dir != PJMEDIA_DIR_DECODING) { - check_tx_rtcp(stream, pj_ntohl(channel->rtp.out_hdr.ts)); - } - - /* Do nothing if we have nothing to transmit */ - if (total_sent == 0) { - return PJ_SUCCESS; - } - - /* Update stat */ - stream->rtcp.stat.rtp_tx_last_ts = pj_ntohl(stream->enc->rtp.out_hdr.ts); - stream->rtcp.stat.rtp_tx_last_seq = pj_ntohs(stream->enc->rtp.out_hdr.seq); - -#if defined(PJMEDIA_STREAM_ENABLE_KA) && PJMEDIA_STREAM_ENABLE_KA!=0 - /* Update timestamp of last sending packet. */ - stream->last_frm_ts_sent = frame->timestamp; -#endif - - return PJ_SUCCESS; -} - -/* Decode one image from jitter buffer */ -static pj_status_t decode_frame(pjmedia_vid_stream *stream, - pjmedia_frame *frame) -{ - pjmedia_vid_channel *channel = stream->dec; - pj_uint32_t last_ts = 0; - int frm_first_seq = 0, frm_last_seq = 0; - pj_bool_t got_frame = PJ_FALSE; - unsigned cnt; - pj_status_t status; - - /* Repeat get payload from the jitter buffer until all payloads with same - * timestamp are collected. - */ - - /* Check if we got a decodable frame */ - for (cnt=0; ; ++cnt) { - char ptype; - pj_uint32_t ts; - int seq; - - /* Peek frame from jitter buffer. */ - pjmedia_jbuf_peek_frame(stream->jb, cnt, NULL, NULL, - &ptype, NULL, &ts, &seq); - if (ptype == PJMEDIA_JB_NORMAL_FRAME) { - if (last_ts == 0) { - last_ts = ts; - frm_first_seq = seq; - } - if (ts != last_ts) { - got_frame = PJ_TRUE; - break; - } - frm_last_seq = seq; - } else if (ptype == PJMEDIA_JB_ZERO_EMPTY_FRAME) { - /* No more packet in the jitter buffer */ - break; - } - } - - if (got_frame) { - unsigned i; - - /* Generate frame bitstream from the payload */ - if (cnt > stream->rx_frame_cnt) { - PJ_LOG(1,(channel->port.info.name.ptr, - "Discarding %u frames because array is full!", - cnt - stream->rx_frame_cnt)); - pjmedia_jbuf_remove_frame(stream->jb, cnt - stream->rx_frame_cnt); - cnt = stream->rx_frame_cnt; - } - - for (i = 0; i < cnt; ++i) { - char ptype; - - stream->rx_frames[i].type = PJMEDIA_FRAME_TYPE_VIDEO; - stream->rx_frames[i].timestamp.u64 = last_ts; - stream->rx_frames[i].bit_info = 0; - - /* We use jbuf_peek_frame() as it will returns the pointer of - * the payload (no buffer and memcpy needed), just as we need. - */ - pjmedia_jbuf_peek_frame(stream->jb, i, - (const void**)&stream->rx_frames[i].buf, - &stream->rx_frames[i].size, &ptype, - NULL, NULL, NULL); - - if (ptype != PJMEDIA_JB_NORMAL_FRAME) { - /* Packet lost, must set payload to NULL and keep going */ - stream->rx_frames[i].buf = NULL; - stream->rx_frames[i].size = 0; - stream->rx_frames[i].type = PJMEDIA_FRAME_TYPE_NONE; - continue; - } - } - - /* Decode */ - status = pjmedia_vid_codec_decode(stream->codec, cnt, - stream->rx_frames, - frame->size, frame); - if (status != PJ_SUCCESS) { - LOGERR_((channel->port.info.name.ptr, "codec decode() error", - status)); - frame->type = PJMEDIA_FRAME_TYPE_NONE; - frame->size = 0; - } - - pjmedia_jbuf_remove_frame(stream->jb, cnt); - } - - /* Learn remote frame rate after successful decoding */ - if (frame->type == PJMEDIA_FRAME_TYPE_VIDEO && frame->size) - { - /* Only check remote frame rate when timestamp is not wrapping and - * sequence is increased by 1. - */ - if (last_ts > stream->last_dec_ts && - frm_first_seq - stream->last_dec_seq == 1) - { - pj_uint32_t ts_diff; - pjmedia_video_format_detail *vfd; - - ts_diff = last_ts - stream->last_dec_ts; - vfd = pjmedia_format_get_video_format_detail( - &channel->port.info.fmt, PJ_TRUE); - if (stream->info.codec_info.clock_rate * vfd->fps.denum != - vfd->fps.num * ts_diff) - { - /* Frame rate changed, update decoding port info */ - if (stream->info.codec_info.clock_rate % ts_diff == 0) { - vfd->fps.num = stream->info.codec_info.clock_rate/ts_diff; - vfd->fps.denum = 1; - } else { - vfd->fps.num = stream->info.codec_info.clock_rate; - vfd->fps.denum = ts_diff; - } - - /* Update stream info */ - stream->info.codec_param->dec_fmt.det.vid.fps = vfd->fps; - - /* Publish PJMEDIA_EVENT_FMT_CHANGED event if frame rate - * increased and not exceeding 100fps. - */ - if (vfd->fps.num/vfd->fps.denum <= 100 && - vfd->fps.num * stream->dec_max_fps.denum > - stream->dec_max_fps.num * vfd->fps.denum) - { - pjmedia_event *event = &stream->fmt_event; - - /* Update max fps of decoding dir */ - stream->dec_max_fps = vfd->fps; - - /* Use the buffered format changed event: - * - just update the framerate if there is pending event, - * - otherwise, init the whole event. - */ - if (stream->fmt_event.type != PJMEDIA_EVENT_NONE) { - event->data.fmt_changed.new_fmt.det.vid.fps = vfd->fps; - } else { - pjmedia_event_init(event, PJMEDIA_EVENT_FMT_CHANGED, - &frame->timestamp, stream); - event->data.fmt_changed.dir = PJMEDIA_DIR_DECODING; - pj_memcpy(&event->data.fmt_changed.new_fmt, - &stream->info.codec_param->dec_fmt, - sizeof(pjmedia_format)); - } - } - } - } - - /* Update last frame seq and timestamp */ - stream->last_dec_seq = frm_last_seq; - stream->last_dec_ts = last_ts; - } - - return got_frame ? PJ_SUCCESS : PJ_ENOTFOUND; -} - - -static pj_status_t get_frame(pjmedia_port *port, - pjmedia_frame *frame) -{ - pjmedia_vid_stream *stream = (pjmedia_vid_stream*) port->port_data.pdata; - pjmedia_vid_channel *channel = stream->dec; - - /* Return no frame is channel is paused */ - if (channel->paused) { - frame->type = PJMEDIA_FRAME_TYPE_NONE; - frame->size = 0; - return PJ_SUCCESS; - } - - /* Report pending events. Do not publish the event while holding the - * jb_mutex as that would lead to deadlock. It should be safe to - * operate on fmt_event without the mutex because format change normally - * would only occur once during the start of the media. - */ - if (stream->fmt_event.type != PJMEDIA_EVENT_NONE) { - pjmedia_event_fmt_changed_data *fmt_chg_data; - - fmt_chg_data = &stream->fmt_event.data.fmt_changed; - - /* Update stream info and decoding channel port info */ - if (fmt_chg_data->dir == PJMEDIA_DIR_DECODING) { - pjmedia_format_copy(&stream->info.codec_param->dec_fmt, - &fmt_chg_data->new_fmt); - pjmedia_format_copy(&stream->dec->port.info.fmt, - &fmt_chg_data->new_fmt); - - /* Override the framerate to be 1.5x higher in the event - * for the renderer. - */ - fmt_chg_data->new_fmt.det.vid.fps.num *= 3; - fmt_chg_data->new_fmt.det.vid.fps.num /= 2; - } else { - pjmedia_format_copy(&stream->info.codec_param->enc_fmt, - &fmt_chg_data->new_fmt); - pjmedia_format_copy(&stream->enc->port.info.fmt, - &fmt_chg_data->new_fmt); - } - - dump_port_info(fmt_chg_data->dir==PJMEDIA_DIR_DECODING ? - stream->dec : stream->enc, - "changed"); - - pjmedia_event_publish(NULL, port, &stream->fmt_event, 0); - - stream->fmt_event.type = PJMEDIA_EVENT_NONE; - } - - if (stream->miss_keyframe_event.type != PJMEDIA_EVENT_NONE) { - pjmedia_event_publish(NULL, port, &stream->miss_keyframe_event, - PJMEDIA_EVENT_PUBLISH_POST_EVENT); - stream->miss_keyframe_event.type = PJMEDIA_EVENT_NONE; - } - - pj_mutex_lock( stream->jb_mutex ); - - if (stream->dec_frame.size == 0) { - /* Don't have frame in buffer, try to decode one */ - if (decode_frame(stream, frame) != PJ_SUCCESS) { - frame->type = PJMEDIA_FRAME_TYPE_NONE; - frame->size = 0; - } - } else { - if (frame->size < stream->dec_frame.size) { - PJ_LOG(4,(stream->dec->port.info.name.ptr, - "Error: not enough buffer for decoded frame " - "(supplied=%d, required=%d)", - (int)frame->size, (int)stream->dec_frame.size)); - frame->type = PJMEDIA_FRAME_TYPE_NONE; - frame->size = 0; - } else { - frame->type = stream->dec_frame.type; - frame->timestamp = stream->dec_frame.timestamp; - frame->size = stream->dec_frame.size; - pj_memcpy(frame->buf, stream->dec_frame.buf, frame->size); - } - - stream->dec_frame.size = 0; - } - - pj_mutex_unlock( stream->jb_mutex ); - - return PJ_SUCCESS; -} - -/* - * Create media channel. - */ -static pj_status_t create_channel( pj_pool_t *pool, - pjmedia_vid_stream *stream, - pjmedia_dir dir, - unsigned pt, - const pjmedia_vid_stream_info *info, - pjmedia_vid_channel **p_channel) -{ - enum { M = 32 }; - pjmedia_vid_channel *channel; - pj_status_t status; - unsigned min_out_pkt_size; - pj_str_t name; - const char *type_name; - pjmedia_format *fmt; - char fourcc_name[5]; - pjmedia_port_info *pi; - - pj_assert(info->type == PJMEDIA_TYPE_VIDEO); - pj_assert(dir == PJMEDIA_DIR_DECODING || dir == PJMEDIA_DIR_ENCODING); - - /* Allocate memory for channel descriptor */ - channel = PJ_POOL_ZALLOC_T(pool, pjmedia_vid_channel); - PJ_ASSERT_RETURN(channel != NULL, PJ_ENOMEM); - - /* Init vars */ - if (dir==PJMEDIA_DIR_DECODING) { - type_name = "vstdec"; - fmt = &info->codec_param->dec_fmt; - } else { - type_name = "vstenc"; - fmt = &info->codec_param->enc_fmt; - } - name.ptr = (char*) pj_pool_alloc(pool, M); - name.slen = pj_ansi_snprintf(name.ptr, M, "%s%p", type_name, stream); - pi = &channel->port.info; - - /* Init channel info. */ - channel->stream = stream; - channel->dir = dir; - channel->paused = 1; - channel->pt = pt; - - /* Allocate buffer for outgoing packet. */ - if (dir == PJMEDIA_DIR_ENCODING) { - channel->buf_size = sizeof(pjmedia_rtp_hdr) + stream->frame_size; - - /* It should big enough to hold (minimally) RTCP SR with an SDES. */ - min_out_pkt_size = sizeof(pjmedia_rtcp_sr_pkt) + - sizeof(pjmedia_rtcp_common) + - (4 + stream->cname.slen) + - 32; - - if (channel->buf_size < min_out_pkt_size) - channel->buf_size = min_out_pkt_size; - - channel->buf = pj_pool_alloc(pool, channel->buf_size); - PJ_ASSERT_RETURN(channel->buf != NULL, PJ_ENOMEM); - } - - /* Create RTP and RTCP sessions: */ - if (info->rtp_seq_ts_set == 0) { - status = pjmedia_rtp_session_init(&channel->rtp, pt, info->ssrc); - } else { - pjmedia_rtp_session_setting settings; - - settings.flags = (pj_uint8_t)((info->rtp_seq_ts_set << 2) | 3); - settings.default_pt = pt; - settings.sender_ssrc = info->ssrc; - settings.seq = info->rtp_seq; - settings.ts = info->rtp_ts; - status = pjmedia_rtp_session_init2(&channel->rtp, settings); - } - if (status != PJ_SUCCESS) - return status; - - /* Init port. */ - pjmedia_port_info_init2(pi, &name, SIGNATURE, dir, fmt); - if (dir == PJMEDIA_DIR_DECODING) { - channel->port.get_frame = &get_frame; - } else { - pi->fmt.id = info->codec_param->dec_fmt.id; - channel->port.put_frame = &put_frame; - } - - /* Init port. */ - channel->port.port_data.pdata = stream; - - PJ_LOG(5, (name.ptr, - "%s channel created %dx%d %s%s%.*s %d/%d(~%d)fps", - (dir==PJMEDIA_DIR_ENCODING?"Encoding":"Decoding"), - pi->fmt.det.vid.size.w, pi->fmt.det.vid.size.h, - pjmedia_fourcc_name(pi->fmt.id, fourcc_name), - (dir==PJMEDIA_DIR_ENCODING?"->":"<-"), - info->codec_info.encoding_name.slen, - info->codec_info.encoding_name.ptr, - pi->fmt.det.vid.fps.num, pi->fmt.det.vid.fps.denum, - pi->fmt.det.vid.fps.num/pi->fmt.det.vid.fps.denum)); - - /* Done. */ - *p_channel = channel; - return PJ_SUCCESS; -} - - -/* - * Create stream. - */ -PJ_DEF(pj_status_t) pjmedia_vid_stream_create( - pjmedia_endpt *endpt, - pj_pool_t *pool, - pjmedia_vid_stream_info *info, - pjmedia_transport *tp, - void *user_data, - pjmedia_vid_stream **p_stream) -{ - enum { M = 32 }; - pj_pool_t *own_pool = NULL; - pjmedia_vid_stream *stream; - unsigned jb_init, jb_max, jb_min_pre, jb_max_pre; - int frm_ptime, chunks_per_frm; - pjmedia_video_format_detail *vfd_enc, *vfd_dec; - char *p; - unsigned dec_mtu; - pj_status_t status; - - if (!pool) { - own_pool = pjmedia_endpt_create_pool( endpt, "vstrm%p", - PJMEDIA_VSTREAM_SIZE, - PJMEDIA_VSTREAM_INC); - PJ_ASSERT_RETURN(own_pool != NULL, PJ_ENOMEM); - pool = own_pool; - } - - /* Allocate stream */ - stream = PJ_POOL_ZALLOC_T(pool, pjmedia_vid_stream); - PJ_ASSERT_RETURN(stream != NULL, PJ_ENOMEM); - stream->own_pool = own_pool; - - /* Get codec manager */ - stream->codec_mgr = pjmedia_vid_codec_mgr_instance(); - PJ_ASSERT_RETURN(stream->codec_mgr, PJMEDIA_CODEC_EFAILED); - - /* Init stream/port name */ - stream->name.ptr = (char*) pj_pool_alloc(pool, M); - stream->name.slen = pj_ansi_snprintf(stream->name.ptr, M, - "vstrm%p", stream); - - /* Create and initialize codec: */ - status = pjmedia_vid_codec_mgr_alloc_codec(stream->codec_mgr, - &info->codec_info, - &stream->codec); - if (status != PJ_SUCCESS) - return status; - - /* Get codec param: */ - if (!info->codec_param) { - pjmedia_vid_codec_param def_param; - - status = pjmedia_vid_codec_mgr_get_default_param(stream->codec_mgr, - &info->codec_info, - &def_param); - if (status != PJ_SUCCESS) - return status; - - info->codec_param = pjmedia_vid_codec_param_clone(pool, &def_param); - pj_assert(info->codec_param); - } - - /* Init codec param and adjust MTU */ - info->codec_param->dir = info->dir; - info->codec_param->enc_mtu -= (sizeof(pjmedia_rtp_hdr) + - PJMEDIA_STREAM_RESV_PAYLOAD_LEN); - if (info->codec_param->enc_mtu > PJMEDIA_MAX_MTU) - info->codec_param->enc_mtu = PJMEDIA_MAX_MTU; - - /* MTU estimation for decoding direction */ - dec_mtu = PJMEDIA_MAX_MTU; - - vfd_enc = pjmedia_format_get_video_format_detail( - &info->codec_param->enc_fmt, PJ_TRUE); - vfd_dec = pjmedia_format_get_video_format_detail( - &info->codec_param->dec_fmt, PJ_TRUE); - - /* Init stream: */ - stream->endpt = endpt; - stream->dir = info->dir; - stream->user_data = user_data; - stream->rtcp_interval = (PJMEDIA_RTCP_INTERVAL-500 + (pj_rand()%1000)) * - info->codec_info.clock_rate / 1000; - stream->rtcp_sdes_bye_disabled = info->rtcp_sdes_bye_disabled; - - stream->jb_last_frm = PJMEDIA_JB_NORMAL_FRAME; - -#if defined(PJMEDIA_STREAM_ENABLE_KA) && PJMEDIA_STREAM_ENABLE_KA!=0 - stream->use_ka = info->use_ka; -#endif - - /* Build random RTCP CNAME. CNAME has user@host format */ - stream->cname.ptr = p = (char*) pj_pool_alloc(pool, 20); - pj_create_random_string(p, 5); - p += 5; - *p++ = '@'; *p++ = 'p'; *p++ = 'j'; - pj_create_random_string(p, 6); - p += 6; - *p++ = '.'; *p++ = 'o'; *p++ = 'r'; *p++ = 'g'; - stream->cname.slen = p - stream->cname.ptr; - - - /* Create mutex to protect jitter buffer: */ - - status = pj_mutex_create_simple(pool, NULL, &stream->jb_mutex); - if (status != PJ_SUCCESS) - return status; - - /* Init and open the codec. */ - status = pjmedia_vid_codec_init(stream->codec, pool); - if (status != PJ_SUCCESS) - return status; - status = pjmedia_vid_codec_open(stream->codec, info->codec_param); - if (status != PJ_SUCCESS) - return status; - - /* Subscribe to codec events */ - pjmedia_event_subscribe(NULL, &stream_event_cb, stream, - stream->codec); - - /* Estimate the maximum frame size */ - stream->frame_size = vfd_enc->size.w * vfd_enc->size.h * 4; - -#if 0 - stream->frame_size = vfd_enc->max_bps/8 * vfd_enc->fps.denum / - vfd_enc->fps.num; - - /* As the maximum frame_size is not represented directly by maximum bps - * (which includes intra and predicted frames), let's increase the - * frame size value for safety. - */ - stream->frame_size <<= 4; -#endif - - /* Validate the frame size */ - if (stream->frame_size == 0 || - stream->frame_size > PJMEDIA_MAX_VIDEO_ENC_FRAME_SIZE) - { - stream->frame_size = PJMEDIA_MAX_VIDEO_ENC_FRAME_SIZE; - } - - /* Get frame length in timestamp unit */ - stream->frame_ts_len = info->codec_info.clock_rate * - vfd_enc->fps.denum / vfd_enc->fps.num; - - /* Initialize send rate states */ - pj_get_timestamp_freq(&stream->ts_freq); - if (info->rc_cfg.bandwidth == 0) - info->rc_cfg.bandwidth = vfd_enc->max_bps; - - /* For simple blocking, need to have bandwidth large enough, otherwise - * we can slow down the transmission too much - */ - if (info->rc_cfg.method==PJMEDIA_VID_STREAM_RC_SIMPLE_BLOCKING && - info->rc_cfg.bandwidth < vfd_enc->avg_bps * 3) - { - info->rc_cfg.bandwidth = vfd_enc->avg_bps * 3; - } - - /* Override the initial framerate in the decoding direction. This initial - * value will be used by the renderer to configure its clock, and setting - * it to a bit higher value can avoid the possibility of high latency - * caused by clock drift (remote encoder clock runs slightly faster than - * local renderer clock) or video setup lag. Note that the actual framerate - * will be continuously calculated based on the incoming RTP timestamps. - */ - vfd_dec->fps.num = vfd_dec->fps.num * 3 / 2; - stream->dec_max_fps = vfd_dec->fps; - - /* Create decoder channel */ - status = create_channel( pool, stream, PJMEDIA_DIR_DECODING, - info->rx_pt, info, &stream->dec); - if (status != PJ_SUCCESS) - return status; - - /* Create encoder channel */ - status = create_channel( pool, stream, PJMEDIA_DIR_ENCODING, - info->tx_pt, info, &stream->enc); - if (status != PJ_SUCCESS) - return status; - - /* Create temporary buffer for immediate decoding */ - stream->dec_max_size = vfd_dec->size.w * vfd_dec->size.h * 4; - stream->dec_frame.buf = pj_pool_alloc(pool, stream->dec_max_size); - - /* Init jitter buffer parameters: */ - frm_ptime = 1000 * vfd_enc->fps.denum / vfd_enc->fps.num; - chunks_per_frm = stream->frame_size / dec_mtu; - if (chunks_per_frm == 0) chunks_per_frm = 1; - - /* JB max count, default 500ms */ - if (info->jb_max >= frm_ptime) - jb_max = info->jb_max * chunks_per_frm / frm_ptime; - else - jb_max = 500 * chunks_per_frm / frm_ptime; - - /* JB min prefetch, default 1 frame */ - if (info->jb_min_pre >= frm_ptime) - jb_min_pre = info->jb_min_pre * chunks_per_frm / frm_ptime; - else - jb_min_pre = 1; - - /* JB max prefetch, default 4/5 JB max count */ - if (info->jb_max_pre >= frm_ptime) - jb_max_pre = info->jb_max_pre * chunks_per_frm / frm_ptime; - else - jb_max_pre = jb_max * 4 / 5; - - /* JB init prefetch, default 0 */ - if (info->jb_init >= frm_ptime) - jb_init = info->jb_init * chunks_per_frm / frm_ptime; - else - jb_init = 0; - - /* Allocate array for temporary storage for assembly of incoming - * frames. Add more just in case. - */ - stream->rx_frame_cnt = chunks_per_frm * 2; - stream->rx_frames = pj_pool_calloc(pool, stream->rx_frame_cnt, - sizeof(stream->rx_frames[0])); - - /* Create jitter buffer */ - status = pjmedia_jbuf_create(pool, &stream->dec->port.info.name, - dec_mtu + PJMEDIA_STREAM_RESV_PAYLOAD_LEN, - 1000 * vfd_enc->fps.denum / vfd_enc->fps.num, - jb_max, &stream->jb); - if (status != PJ_SUCCESS) - return status; - - - /* Set up jitter buffer */ - pjmedia_jbuf_set_adaptive(stream->jb, jb_init, jb_min_pre, jb_max_pre); - pjmedia_jbuf_set_discard(stream->jb, PJMEDIA_JB_DISCARD_NONE); - - /* Init RTCP session: */ - { - pjmedia_rtcp_session_setting rtcp_setting; - - pjmedia_rtcp_session_setting_default(&rtcp_setting); - rtcp_setting.name = stream->name.ptr; - rtcp_setting.ssrc = info->ssrc; - rtcp_setting.rtp_ts_base = pj_ntohl(stream->enc->rtp.out_hdr.ts); - rtcp_setting.clock_rate = info->codec_info.clock_rate; - rtcp_setting.samples_per_frame = 1; - - pjmedia_rtcp_init2(&stream->rtcp, &rtcp_setting); - } - - /* Allocate outgoing RTCP buffer, should be enough to hold SR/RR, SDES, - * BYE, and XR. - */ - stream->out_rtcp_pkt_size = sizeof(pjmedia_rtcp_sr_pkt) + - sizeof(pjmedia_rtcp_common) + - (4 + stream->cname.slen) + - 32; - if (stream->out_rtcp_pkt_size > PJMEDIA_MAX_MTU) - stream->out_rtcp_pkt_size = PJMEDIA_MAX_MTU; - - stream->out_rtcp_pkt = pj_pool_alloc(pool, stream->out_rtcp_pkt_size); - - /* Only attach transport when stream is ready. */ - status = pjmedia_transport_attach(tp, stream, &info->rem_addr, - &info->rem_rtcp, - pj_sockaddr_get_len(&info->rem_addr), - &on_rx_rtp, &on_rx_rtcp); - if (status != PJ_SUCCESS) - return status; - - stream->transport = tp; - - /* Send RTCP SDES */ - if (!stream->rtcp_sdes_bye_disabled) { - pjmedia_vid_stream_send_rtcp_sdes(stream); - } - -#if defined(PJMEDIA_STREAM_ENABLE_KA) && PJMEDIA_STREAM_ENABLE_KA!=0 - /* NAT hole punching by sending KA packet via RTP transport. */ - if (stream->use_ka) - send_keep_alive_packet(stream); -#endif - -#if TRACE_JB - { - char trace_name[PJ_MAXPATH]; - pj_ssize_t len; - - pj_ansi_snprintf(trace_name, sizeof(trace_name), - TRACE_JB_PATH_PREFIX "%s.csv", - channel->port.info.name.ptr); - status = pj_file_open(pool, trace_name, PJ_O_RDWR, - &stream->trace_jb_fd); - if (status != PJ_SUCCESS) { - stream->trace_jb_fd = TRACE_JB_INVALID_FD; - PJ_LOG(3,(THIS_FILE, "Failed creating RTP trace file '%s'", - trace_name)); - } else { - stream->trace_jb_buf = (char*)pj_pool_alloc(pool, PJ_LOG_MAX_SIZE); - - /* Print column header */ - len = pj_ansi_snprintf(stream->trace_jb_buf, PJ_LOG_MAX_SIZE, - "Time, Operation, Size, Frame Count, " - "Frame type, RTP Seq, RTP TS, RTP M, " - "JB size, JB burst level, JB prefetch\n"); - pj_file_write(stream->trace_jb_fd, stream->trace_jb_buf, &len); - pj_file_flush(stream->trace_jb_fd); - } - } -#endif - - /* Save the stream info */ - pj_memcpy(&stream->info, info, sizeof(*info)); - stream->info.codec_param = pjmedia_vid_codec_param_clone( - pool, info->codec_param); - - /* Success! */ - *p_stream = stream; - - PJ_LOG(5,(THIS_FILE, "Video stream %s created", stream->name.ptr)); - - return PJ_SUCCESS; -} - - -/* - * Destroy stream. - */ -PJ_DEF(pj_status_t) pjmedia_vid_stream_destroy( pjmedia_vid_stream *stream ) -{ - PJ_ASSERT_RETURN(stream != NULL, PJ_EINVAL); - -#if TRACE_RC - { - unsigned total_time; - - total_time = pj_elapsed_msec(&stream->tx_start, &stream->tx_end); - PJ_LOG(5, (stream->name.ptr, - "RC stat: pkt_cnt=%.2f/image, sleep=%.2fms/s, fps=%.2f", - stream->rc_total_pkt*1.0/stream->rc_total_img, - stream->rc_total_sleep*1000.0/total_time, - stream->rc_total_img*1000.0/total_time)); - } -#endif - - /* Send RTCP BYE (also SDES) */ - if (!stream->rtcp_sdes_bye_disabled) { - send_rtcp(stream, PJ_TRUE, PJ_TRUE); - } - - /* Detach from transport - * MUST NOT hold stream mutex while detaching from transport, as - * it may cause deadlock. See ticket #460 for the details. - */ - if (stream->transport) { - pjmedia_transport_detach(stream->transport, stream); - stream->transport = NULL; - } - - /* This function may be called when stream is partly initialized. */ - if (stream->jb_mutex) - pj_mutex_lock(stream->jb_mutex); - - - /* Free codec. */ - if (stream->codec) { - pjmedia_event_unsubscribe(NULL, &stream_event_cb, stream, - stream->codec); - pjmedia_vid_codec_close(stream->codec); - pjmedia_vid_codec_mgr_dealloc_codec(stream->codec_mgr, stream->codec); - stream->codec = NULL; - } - - /* Free mutex */ - - if (stream->jb_mutex) { - pj_mutex_destroy(stream->jb_mutex); - stream->jb_mutex = NULL; - } - - /* Destroy jitter buffer */ - if (stream->jb) { - pjmedia_jbuf_destroy(stream->jb); - stream->jb = NULL; - } - -#if TRACE_JB - if (TRACE_JB_OPENED(stream)) { - pj_file_close(stream->trace_jb_fd); - stream->trace_jb_fd = TRACE_JB_INVALID_FD; - } -#endif - - if (stream->own_pool) { - pj_pool_t *pool = stream->own_pool; - stream->own_pool = NULL; - pj_pool_release(pool); - } - - return PJ_SUCCESS; -} - - -/* - * Get the port interface. - */ -PJ_DEF(pj_status_t) pjmedia_vid_stream_get_port(pjmedia_vid_stream *stream, - pjmedia_dir dir, - pjmedia_port **p_port ) -{ - PJ_ASSERT_RETURN(dir==PJMEDIA_DIR_ENCODING || dir==PJMEDIA_DIR_DECODING, - PJ_EINVAL); - - if (dir == PJMEDIA_DIR_ENCODING) - *p_port = &stream->enc->port; - else - *p_port = &stream->dec->port; - - return PJ_SUCCESS; -} - - -/* - * Get the transport object - */ -PJ_DEF(pjmedia_transport*) pjmedia_vid_stream_get_transport( - pjmedia_vid_stream *st) -{ - return st->transport; -} - - -/* - * Get stream statistics. - */ -PJ_DEF(pj_status_t) pjmedia_vid_stream_get_stat( - const pjmedia_vid_stream *stream, - pjmedia_rtcp_stat *stat) -{ - PJ_ASSERT_RETURN(stream && stat, PJ_EINVAL); - - pj_memcpy(stat, &stream->rtcp.stat, sizeof(pjmedia_rtcp_stat)); - return PJ_SUCCESS; -} - - -/* - * Reset the stream statistics in the middle of a stream session. - */ -PJ_DEF(pj_status_t) pjmedia_vid_stream_reset_stat(pjmedia_vid_stream *stream) -{ - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - pjmedia_rtcp_init_stat(&stream->rtcp.stat); - - return PJ_SUCCESS; -} - - -/* - * Get jitter buffer state. - */ -PJ_DEF(pj_status_t) pjmedia_vid_stream_get_stat_jbuf( - const pjmedia_vid_stream *stream, - pjmedia_jb_state *state) -{ - PJ_ASSERT_RETURN(stream && state, PJ_EINVAL); - return pjmedia_jbuf_get_state(stream->jb, state); -} - - -/* - * Get the stream info. - */ -PJ_DEF(pj_status_t) pjmedia_vid_stream_get_info( - const pjmedia_vid_stream *stream, - pjmedia_vid_stream_info *info) -{ - PJ_ASSERT_RETURN(stream && info, PJ_EINVAL); - pj_memcpy(info, &stream->info, sizeof(*info)); - return PJ_SUCCESS; -} - - -/* - * Start stream. - */ -PJ_DEF(pj_status_t) pjmedia_vid_stream_start(pjmedia_vid_stream *stream) -{ - - PJ_ASSERT_RETURN(stream && stream->enc && stream->dec, PJ_EINVALIDOP); - - if (stream->enc && (stream->dir & PJMEDIA_DIR_ENCODING)) { - stream->enc->paused = 0; - //pjmedia_snd_stream_start(stream->enc->snd_stream); - PJ_LOG(4,(stream->enc->port.info.name.ptr, "Encoder stream started")); - } else { - PJ_LOG(4,(stream->enc->port.info.name.ptr, "Encoder stream paused")); - } - - if (stream->dec && (stream->dir & PJMEDIA_DIR_DECODING)) { - stream->dec->paused = 0; - //pjmedia_snd_stream_start(stream->dec->snd_stream); - PJ_LOG(4,(stream->dec->port.info.name.ptr, "Decoder stream started")); - } else { - PJ_LOG(4,(stream->dec->port.info.name.ptr, "Decoder stream paused")); - } - - return PJ_SUCCESS; -} - - -/* - * Check status. - */ -PJ_DEF(pj_bool_t) pjmedia_vid_stream_is_running(pjmedia_vid_stream *stream, - pjmedia_dir dir) -{ - pj_bool_t is_running = PJ_TRUE; - - PJ_ASSERT_RETURN(stream, PJ_FALSE); - - if (dir & PJMEDIA_DIR_ENCODING) { - is_running &= (stream->enc && !stream->enc->paused); - } - - if (dir & PJMEDIA_DIR_DECODING) { - is_running &= (stream->dec && !stream->dec->paused); - } - - return is_running; -} - -/* - * Pause stream. - */ -PJ_DEF(pj_status_t) pjmedia_vid_stream_pause(pjmedia_vid_stream *stream, - pjmedia_dir dir) -{ - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - if ((dir & PJMEDIA_DIR_ENCODING) && stream->enc) { - stream->enc->paused = 1; - PJ_LOG(4,(stream->enc->port.info.name.ptr, "Encoder stream paused")); - } - - if ((dir & PJMEDIA_DIR_DECODING) && stream->dec) { - stream->dec->paused = 1; - - /* Also reset jitter buffer */ - pj_mutex_lock( stream->jb_mutex ); - pjmedia_jbuf_reset(stream->jb); - pj_mutex_unlock( stream->jb_mutex ); - - PJ_LOG(4,(stream->dec->port.info.name.ptr, "Decoder stream paused")); - } - - return PJ_SUCCESS; -} - - -/* - * Resume stream - */ -PJ_DEF(pj_status_t) pjmedia_vid_stream_resume(pjmedia_vid_stream *stream, - pjmedia_dir dir) -{ - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - if ((dir & PJMEDIA_DIR_ENCODING) && stream->enc) { - stream->enc->paused = 0; - PJ_LOG(4,(stream->enc->port.info.name.ptr, "Encoder stream resumed")); - } - - if ((dir & PJMEDIA_DIR_DECODING) && stream->dec) { - stream->dec->paused = 0; - PJ_LOG(4,(stream->dec->port.info.name.ptr, "Decoder stream resumed")); - } - - return PJ_SUCCESS; -} - - -/* - * Force stream to send video keyframe. - */ -PJ_DEF(pj_status_t) pjmedia_vid_stream_send_keyframe( - pjmedia_vid_stream *stream) -{ - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - if (!pjmedia_vid_stream_is_running(stream, PJMEDIA_DIR_ENCODING)) - return PJ_EINVALIDOP; - - stream->force_keyframe = PJ_TRUE; - - return PJ_SUCCESS; -} - - -/* - * Send RTCP SDES. - */ -PJ_DEF(pj_status_t) pjmedia_vid_stream_send_rtcp_sdes( - pjmedia_vid_stream *stream) -{ - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - return send_rtcp(stream, PJ_TRUE, PJ_FALSE); -} - - -/* - * Send RTCP BYE. - */ -PJ_DEF(pj_status_t) pjmedia_vid_stream_send_rtcp_bye( - pjmedia_vid_stream *stream) -{ - PJ_ASSERT_RETURN(stream, PJ_EINVAL); - - if (stream->enc && stream->transport) { - return send_rtcp(stream, PJ_TRUE, PJ_TRUE); - } - - return PJ_SUCCESS; -} - - -/* - * Initialize the video stream rate control with default settings. - */ -PJ_DEF(void) -pjmedia_vid_stream_rc_config_default(pjmedia_vid_stream_rc_config *cfg) -{ - pj_bzero(cfg, sizeof(*cfg)); - cfg->method = PJMEDIA_VID_STREAM_RC_SIMPLE_BLOCKING; -} - - -#endif /* PJMEDIA_HAS_VIDEO */ diff --git a/res/pjproject/pjmedia/src/pjmedia/vid_stream_info.c b/res/pjproject/pjmedia/src/pjmedia/vid_stream_info.c deleted file mode 100644 index e974de2e0c..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/vid_stream_info.c +++ /dev/null @@ -1,385 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - - -static const pj_str_t ID_VIDEO = { "video", 5}; -static const pj_str_t ID_IN = { "IN", 2 }; -static const pj_str_t ID_IP4 = { "IP4", 3}; -static const pj_str_t ID_IP6 = { "IP6", 3}; -static const pj_str_t ID_RTP_AVP = { "RTP/AVP", 7 }; -static const pj_str_t ID_RTP_SAVP = { "RTP/SAVP", 8 }; -//static const pj_str_t ID_SDP_NAME = { "pjmedia", 7 }; -static const pj_str_t ID_RTPMAP = { "rtpmap", 6 }; - -static const pj_str_t STR_INACTIVE = { "inactive", 8 }; -static const pj_str_t STR_SENDRECV = { "sendrecv", 8 }; -static const pj_str_t STR_SENDONLY = { "sendonly", 8 }; -static const pj_str_t STR_RECVONLY = { "recvonly", 8 }; - - -/* - * Internal function for collecting codec info and param from the SDP media. - */ -static pj_status_t get_video_codec_info_param(pjmedia_vid_stream_info *si, - pj_pool_t *pool, - pjmedia_vid_codec_mgr *mgr, - const pjmedia_sdp_media *local_m, - const pjmedia_sdp_media *rem_m) -{ - unsigned pt = 0; - const pjmedia_vid_codec_info *p_info; - pj_status_t status; - - pt = pj_strtoul(&local_m->desc.fmt[0]); - - /* Get payload type for receiving direction */ - si->rx_pt = pt; - - /* Get codec info and payload type for transmitting direction. */ - if (pt < 96) { - /* For static payload types, get the codec info from codec manager. */ - status = pjmedia_vid_codec_mgr_get_codec_info(mgr, pt, &p_info); - if (status != PJ_SUCCESS) - return status; - - si->codec_info = *p_info; - - /* Get payload type for transmitting direction. - * For static payload type, pt's are symetric. - */ - si->tx_pt = pt; - } else { - const pjmedia_sdp_attr *attr; - pjmedia_sdp_rtpmap *rtpmap; - pjmedia_codec_id codec_id; - pj_str_t codec_id_st; - unsigned i; - - /* Determine payload type for outgoing channel, by finding - * dynamic payload type in remote SDP that matches the answer. - */ - si->tx_pt = 0xFFFF; - for (i=0; idesc.fmt_count; ++i) { - if (pjmedia_sdp_neg_fmt_match(NULL, - (pjmedia_sdp_media*)local_m, 0, - (pjmedia_sdp_media*)rem_m, i, 0) == - PJ_SUCCESS) - { - /* Found matched codec. */ - si->tx_pt = pj_strtoul(&rem_m->desc.fmt[i]); - break; - } - } - - if (si->tx_pt == 0xFFFF) - return PJMEDIA_EMISSINGRTPMAP; - - /* For dynamic payload types, get codec name from the rtpmap */ - attr = pjmedia_sdp_media_find_attr(local_m, &ID_RTPMAP, - &local_m->desc.fmt[0]); - if (attr == NULL) - return PJMEDIA_EMISSINGRTPMAP; - - status = pjmedia_sdp_attr_to_rtpmap(pool, attr, &rtpmap); - if (status != PJ_SUCCESS) - return status; - - /* Then get the codec info from the codec manager */ - pj_ansi_snprintf(codec_id, sizeof(codec_id), "%.*s/", - (int)rtpmap->enc_name.slen, rtpmap->enc_name.ptr); - codec_id_st = pj_str(codec_id); - i = 1; - status = pjmedia_vid_codec_mgr_find_codecs_by_id(mgr, &codec_id_st, - &i, &p_info, NULL); - if (status != PJ_SUCCESS) - return status; - - si->codec_info = *p_info; - } - - - /* Request for codec with the correct packing for streaming */ - si->codec_info.packings = PJMEDIA_VID_PACKING_PACKETS; - - /* Now that we have codec info, get the codec param. */ - si->codec_param = PJ_POOL_ALLOC_T(pool, pjmedia_vid_codec_param); - status = pjmedia_vid_codec_mgr_get_default_param(mgr, - &si->codec_info, - si->codec_param); - - /* Adjust encoding bitrate, if higher than remote preference. The remote - * bitrate preference is read from SDP "b=TIAS" line in media level. - */ - if ((si->dir & PJMEDIA_DIR_ENCODING) && rem_m->bandw_count) { - unsigned i, bandw = 0; - - for (i = 0; i < rem_m->bandw_count; ++i) { - const pj_str_t STR_BANDW_MODIFIER_TIAS = { "TIAS", 4 }; - if (!pj_stricmp(&rem_m->bandw[i]->modifier, - &STR_BANDW_MODIFIER_TIAS)) - { - bandw = rem_m->bandw[i]->value; - break; - } - } - - if (bandw) { - pjmedia_video_format_detail *enc_vfd; - enc_vfd = pjmedia_format_get_video_format_detail( - &si->codec_param->enc_fmt, PJ_TRUE); - if (!enc_vfd->avg_bps || enc_vfd->avg_bps > bandw) - enc_vfd->avg_bps = bandw * 3 / 4; - if (!enc_vfd->max_bps || enc_vfd->max_bps > bandw) - enc_vfd->max_bps = bandw; - } - } - - /* Get remote fmtp for our encoder. */ - pjmedia_stream_info_parse_fmtp(pool, rem_m, si->tx_pt, - &si->codec_param->enc_fmtp); - - /* Get local fmtp for our decoder. */ - pjmedia_stream_info_parse_fmtp(pool, local_m, si->rx_pt, - &si->codec_param->dec_fmtp); - - /* When direction is NONE (it means SDP negotiation has failed) we don't - * need to return a failure here, as returning failure will cause - * the whole SDP to be rejected. See ticket #: - * http:// - * - * Thanks Alain Totouom - */ - if (status != PJ_SUCCESS && si->dir != PJMEDIA_DIR_NONE) - return status; - - return PJ_SUCCESS; -} - - - -/* - * Create stream info from SDP media line. - */ -PJ_DEF(pj_status_t) pjmedia_vid_stream_info_from_sdp( - pjmedia_vid_stream_info *si, - pj_pool_t *pool, - pjmedia_endpt *endpt, - const pjmedia_sdp_session *local, - const pjmedia_sdp_session *remote, - unsigned stream_idx) -{ - const pjmedia_sdp_attr *attr; - const pjmedia_sdp_media *local_m; - const pjmedia_sdp_media *rem_m; - const pjmedia_sdp_conn *local_conn; - const pjmedia_sdp_conn *rem_conn; - int rem_af, local_af; - pj_sockaddr local_addr; - pj_status_t status; - - PJ_UNUSED_ARG(endpt); - - /* Validate arguments: */ - PJ_ASSERT_RETURN(pool && si && local && remote, PJ_EINVAL); - PJ_ASSERT_RETURN(stream_idx < local->media_count, PJ_EINVAL); - PJ_ASSERT_RETURN(stream_idx < remote->media_count, PJ_EINVAL); - - /* Keep SDP shortcuts */ - local_m = local->media[stream_idx]; - rem_m = remote->media[stream_idx]; - - local_conn = local_m->conn ? local_m->conn : local->conn; - if (local_conn == NULL) - return PJMEDIA_SDP_EMISSINGCONN; - - rem_conn = rem_m->conn ? rem_m->conn : remote->conn; - if (rem_conn == NULL) - return PJMEDIA_SDP_EMISSINGCONN; - - /* Media type must be video */ - if (pj_stricmp(&local_m->desc.media, &ID_VIDEO) != 0) - return PJMEDIA_EINVALIMEDIATYPE; - - - /* Reset: */ - - pj_bzero(si, sizeof(*si)); - - /* Media type: */ - si->type = PJMEDIA_TYPE_VIDEO; - - /* Transport protocol */ - - /* At this point, transport type must be compatible, - * the transport instance will do more validation later. - */ - status = pjmedia_sdp_transport_cmp(&rem_m->desc.transport, - &local_m->desc.transport); - if (status != PJ_SUCCESS) - return PJMEDIA_SDPNEG_EINVANSTP; - - if (pj_stricmp(&local_m->desc.transport, &ID_RTP_AVP) == 0) { - - si->proto = PJMEDIA_TP_PROTO_RTP_AVP; - - } else if (pj_stricmp(&local_m->desc.transport, &ID_RTP_SAVP) == 0) { - - si->proto = PJMEDIA_TP_PROTO_RTP_SAVP; - - } else { - - si->proto = PJMEDIA_TP_PROTO_UNKNOWN; - return PJ_SUCCESS; - } - - - /* Check address family in remote SDP */ - rem_af = pj_AF_UNSPEC(); - if (pj_stricmp(&rem_conn->net_type, &ID_IN)==0) { - if (pj_stricmp(&rem_conn->addr_type, &ID_IP4)==0) { - rem_af = pj_AF_INET(); - } else if (pj_stricmp(&rem_conn->addr_type, &ID_IP6)==0) { - rem_af = pj_AF_INET6(); - } - } - - if (rem_af==pj_AF_UNSPEC()) { - /* Unsupported address family */ - return PJ_EAFNOTSUP; - } - - /* Set remote address: */ - status = pj_sockaddr_init(rem_af, &si->rem_addr, &rem_conn->addr, - rem_m->desc.port); - if (status != PJ_SUCCESS) { - /* Invalid IP address. */ - return PJMEDIA_EINVALIDIP; - } - - /* Check address family of local info */ - local_af = pj_AF_UNSPEC(); - if (pj_stricmp(&local_conn->net_type, &ID_IN)==0) { - if (pj_stricmp(&local_conn->addr_type, &ID_IP4)==0) { - local_af = pj_AF_INET(); - } else if (pj_stricmp(&local_conn->addr_type, &ID_IP6)==0) { - local_af = pj_AF_INET6(); - } - } - - if (local_af==pj_AF_UNSPEC()) { - /* Unsupported address family */ - return PJ_SUCCESS; - } - - /* Set remote address: */ - status = pj_sockaddr_init(local_af, &local_addr, &local_conn->addr, - local_m->desc.port); - if (status != PJ_SUCCESS) { - /* Invalid IP address. */ - return PJMEDIA_EINVALIDIP; - } - - /* Local and remote address family must match */ - if (local_af != rem_af) - return PJ_EAFNOTSUP; - - /* Media direction: */ - - if (local_m->desc.port == 0 || - pj_sockaddr_has_addr(&local_addr)==PJ_FALSE || - pj_sockaddr_has_addr(&si->rem_addr)==PJ_FALSE || - pjmedia_sdp_media_find_attr(local_m, &STR_INACTIVE, NULL)!=NULL) - { - /* Inactive stream. */ - - si->dir = PJMEDIA_DIR_NONE; - - } else if (pjmedia_sdp_media_find_attr(local_m, &STR_SENDONLY, NULL)!=NULL) { - - /* Send only stream. */ - - si->dir = PJMEDIA_DIR_ENCODING; - - } else if (pjmedia_sdp_media_find_attr(local_m, &STR_RECVONLY, NULL)!=NULL) { - - /* Recv only stream. */ - - si->dir = PJMEDIA_DIR_DECODING; - - } else { - - /* Send and receive stream. */ - - si->dir = PJMEDIA_DIR_ENCODING_DECODING; - - } - - /* No need to do anything else if stream is rejected */ - if (local_m->desc.port == 0) { - return PJ_SUCCESS; - } - - /* If "rtcp" attribute is present in the SDP, set the RTCP address - * from that attribute. Otherwise, calculate from RTP address. - */ - attr = pjmedia_sdp_attr_find2(rem_m->attr_count, rem_m->attr, - "rtcp", NULL); - if (attr) { - pjmedia_sdp_rtcp_attr rtcp; - status = pjmedia_sdp_attr_get_rtcp(attr, &rtcp); - if (status == PJ_SUCCESS) { - if (rtcp.addr.slen) { - status = pj_sockaddr_init(rem_af, &si->rem_rtcp, &rtcp.addr, - (pj_uint16_t)rtcp.port); - } else { - pj_sockaddr_init(rem_af, &si->rem_rtcp, NULL, - (pj_uint16_t)rtcp.port); - pj_memcpy(pj_sockaddr_get_addr(&si->rem_rtcp), - pj_sockaddr_get_addr(&si->rem_addr), - pj_sockaddr_get_addr_len(&si->rem_addr)); - } - } - } - - if (!pj_sockaddr_has_addr(&si->rem_rtcp)) { - int rtcp_port; - - pj_memcpy(&si->rem_rtcp, &si->rem_addr, sizeof(pj_sockaddr)); - rtcp_port = pj_sockaddr_get_port(&si->rem_addr) + 1; - pj_sockaddr_set_port(&si->rem_rtcp, (pj_uint16_t)rtcp_port); - } - - /* Get codec info and param */ - status = get_video_codec_info_param(si, pool, NULL, local_m, rem_m); - - /* Leave SSRC to random. */ - si->ssrc = pj_rand(); - - /* Set default jitter buffer parameter. */ - si->jb_init = si->jb_max = si->jb_min_pre = si->jb_max_pre = -1; - - return status; -} - - diff --git a/res/pjproject/pjmedia/src/pjmedia/vid_tee.c b/res/pjproject/pjmedia/src/pjmedia/vid_tee.c deleted file mode 100644 index 3e9dfb5c2b..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/vid_tee.c +++ /dev/null @@ -1,396 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - - -#define TEE_PORT_NAME "vid_tee" -#define TEE_PORT_SIGN PJMEDIA_SIG_PORT_VID_TEE - -#define THIS_FILE "vid_tee.c" - -typedef struct vid_tee_dst_port -{ - pjmedia_port *dst; - unsigned option; -} vid_tee_dst_port; - - -typedef struct vid_tee_port -{ - pjmedia_port base; - pj_pool_t *pool; - pj_pool_factory *pf; - pj_pool_t *buf_pool; - void *buf[2]; - unsigned buf_cnt; - pj_size_t buf_size; - unsigned dst_port_maxcnt; - unsigned dst_port_cnt; - vid_tee_dst_port *dst_ports; - pj_uint8_t *put_frm_flag; - - struct vid_tee_conv_t { - pjmedia_converter *conv; - pj_size_t conv_buf_size; - } *tee_conv; -} vid_tee_port; - - -static pj_status_t tee_put_frame(pjmedia_port *port, pjmedia_frame *frame); -static pj_status_t tee_get_frame(pjmedia_port *port, pjmedia_frame *frame); -static pj_status_t tee_destroy(pjmedia_port *port); - -/* - * Create a video tee port with the specified source media port. - */ -PJ_DEF(pj_status_t) pjmedia_vid_tee_create( pj_pool_t *pool, - const pjmedia_format *fmt, - unsigned max_dst_cnt, - pjmedia_port **p_vid_tee) -{ - vid_tee_port *tee; - pj_str_t name_st; - const pjmedia_video_format_info *vfi; - pjmedia_video_apply_fmt_param vafp; - pj_status_t status; - - PJ_ASSERT_RETURN(pool && fmt && p_vid_tee, PJ_EINVAL); - PJ_ASSERT_RETURN(fmt->type == PJMEDIA_TYPE_VIDEO, PJ_EINVAL); - - /* Allocate video tee structure */ - tee = PJ_POOL_ZALLOC_T(pool, vid_tee_port); - tee->pf = pool->factory; - tee->pool = pj_pool_create(tee->pf, "video tee", 500, 500, NULL); - - /* Initialize video tee structure */ - tee->dst_port_maxcnt = max_dst_cnt; - tee->dst_ports = (vid_tee_dst_port*) - pj_pool_calloc(pool, max_dst_cnt, - sizeof(vid_tee_dst_port)); - tee->tee_conv = (struct vid_tee_conv_t *) - pj_pool_calloc(pool, max_dst_cnt, - sizeof(struct vid_tee_conv_t)); - tee->put_frm_flag = (pj_uint8_t*) - pj_pool_calloc(pool, max_dst_cnt, - sizeof(tee->put_frm_flag[0])); - - /* Initialize video tee buffer, its size is one frame */ - vfi = pjmedia_get_video_format_info(NULL, fmt->id); - if (vfi == NULL) - return PJMEDIA_EBADFMT; - - pj_bzero(&vafp, sizeof(vafp)); - vafp.size = fmt->det.vid.size; - status = vfi->apply_fmt(vfi, &vafp); - if (status != PJ_SUCCESS) - return status; - - tee->buf_size = vafp.framebytes; - - /* Initialize video tee port */ - status = pjmedia_port_info_init2(&tee->base.info, - pj_strset2(&name_st, (char*)TEE_PORT_NAME), - TEE_PORT_SIGN, - PJMEDIA_DIR_ENCODING, - fmt); - if (status != PJ_SUCCESS) - return status; - - tee->base.get_frame = &tee_get_frame; - tee->base.put_frame = &tee_put_frame; - tee->base.on_destroy = &tee_destroy; - - /* Done */ - *p_vid_tee = &tee->base; - - return PJ_SUCCESS; -} - -static void realloc_buf(vid_tee_port *vid_tee, - unsigned buf_cnt, pj_size_t buf_size) -{ - unsigned i; - - if (buf_cnt > vid_tee->buf_cnt) - vid_tee->buf_cnt = buf_cnt; - - if (buf_size > vid_tee->buf_size) { - /* We need a larger buffer here. */ - vid_tee->buf_size = buf_size; - if (vid_tee->buf_pool) { - pj_pool_release(vid_tee->buf_pool); - vid_tee->buf_pool = NULL; - } - vid_tee->buf[0] = vid_tee->buf[1] = NULL; - } - - if (!vid_tee->buf_pool) { - vid_tee->buf_pool = pj_pool_create(vid_tee->pf, "video tee buffer", - 1000, 1000, NULL); - } - - for (i = 0; i < vid_tee->buf_cnt; i++) { - if (!vid_tee->buf[i]) - vid_tee->buf[i] = pj_pool_alloc(vid_tee->buf_pool, - vid_tee->buf_size); - } -} - -/* - * Add a destination media port to the video tee. - */ -PJ_DEF(pj_status_t) pjmedia_vid_tee_add_dst_port(pjmedia_port *vid_tee, - unsigned option, - pjmedia_port *port) -{ - vid_tee_port *tee = (vid_tee_port*)vid_tee; - pjmedia_video_format_detail *vfd; - - PJ_ASSERT_RETURN(vid_tee && vid_tee->info.signature==TEE_PORT_SIGN, - PJ_EINVAL); - - if (tee->dst_port_cnt >= tee->dst_port_maxcnt) - return PJ_ETOOMANY; - - if (vid_tee->info.fmt.id != port->info.fmt.id) - return PJMEDIA_EBADFMT; - - vfd = pjmedia_format_get_video_format_detail(&port->info.fmt, PJ_TRUE); - if (vfd->size.w != vid_tee->info.fmt.det.vid.size.w || - vfd->size.h != vid_tee->info.fmt.det.vid.size.h) - { - return PJMEDIA_EBADFMT; - } - - realloc_buf(tee, (option & PJMEDIA_VID_TEE_DST_DO_IN_PLACE_PROC)? - 1: 0, tee->buf_size); - - pj_bzero(&tee->tee_conv[tee->dst_port_cnt], sizeof(tee->tee_conv[0])); - tee->dst_ports[tee->dst_port_cnt].dst = port; - tee->dst_ports[tee->dst_port_cnt].option = option; - ++tee->dst_port_cnt; - - return PJ_SUCCESS; -} - - -/* - * Add a destination media port to the video tee. Create a converter if - * necessary. - */ -PJ_DEF(pj_status_t) pjmedia_vid_tee_add_dst_port2(pjmedia_port *vid_tee, - unsigned option, - pjmedia_port *port) -{ - vid_tee_port *tee = (vid_tee_port*)vid_tee; - pjmedia_video_format_detail *vfd; - - PJ_ASSERT_RETURN(vid_tee && vid_tee->info.signature==TEE_PORT_SIGN, - PJ_EINVAL); - - if (tee->dst_port_cnt >= tee->dst_port_maxcnt) - return PJ_ETOOMANY; - - pj_bzero(&tee->tee_conv[tee->dst_port_cnt], sizeof(tee->tee_conv[0])); - - /* Check if we need to create a converter. */ - vfd = pjmedia_format_get_video_format_detail(&port->info.fmt, PJ_TRUE); - if (vid_tee->info.fmt.id != port->info.fmt.id || - vfd->size.w != vid_tee->info.fmt.det.vid.size.w || - vfd->size.h != vid_tee->info.fmt.det.vid.size.h) - { - const pjmedia_video_format_info *vfi; - pjmedia_video_apply_fmt_param vafp; - pjmedia_conversion_param conv_param; - pj_status_t status; - - vfi = pjmedia_get_video_format_info(NULL, port->info.fmt.id); - if (vfi == NULL) - return PJMEDIA_EBADFMT; - - pj_bzero(&vafp, sizeof(vafp)); - vafp.size = port->info.fmt.det.vid.size; - status = vfi->apply_fmt(vfi, &vafp); - if (status != PJ_SUCCESS) - return status; - - realloc_buf(tee, (option & PJMEDIA_VID_TEE_DST_DO_IN_PLACE_PROC)? - 2: 1, vafp.framebytes); - - pjmedia_format_copy(&conv_param.src, &vid_tee->info.fmt); - pjmedia_format_copy(&conv_param.dst, &port->info.fmt); - - status = pjmedia_converter_create( - NULL, tee->pool, &conv_param, - &tee->tee_conv[tee->dst_port_cnt].conv); - if (status != PJ_SUCCESS) - return status; - - tee->tee_conv[tee->dst_port_cnt].conv_buf_size = vafp.framebytes; - } else { - realloc_buf(tee, (option & PJMEDIA_VID_TEE_DST_DO_IN_PLACE_PROC)? - 1: 0, tee->buf_size); - } - - tee->dst_ports[tee->dst_port_cnt].dst = port; - tee->dst_ports[tee->dst_port_cnt].option = option; - ++tee->dst_port_cnt; - - return PJ_SUCCESS; -} - - -/* - * Remove a destination media port from the video tee. - */ -PJ_DEF(pj_status_t) pjmedia_vid_tee_remove_dst_port(pjmedia_port *vid_tee, - pjmedia_port *port) -{ - vid_tee_port *tee = (vid_tee_port*)vid_tee; - unsigned i; - - PJ_ASSERT_RETURN(vid_tee && vid_tee->info.signature==TEE_PORT_SIGN, - PJ_EINVAL); - - for (i = 0; i < tee->dst_port_cnt; ++i) { - if (tee->dst_ports[i].dst == port) { - if (tee->tee_conv[i].conv) - pjmedia_converter_destroy(tee->tee_conv[i].conv); - - pj_array_erase(tee->dst_ports, sizeof(tee->dst_ports[0]), - tee->dst_port_cnt, i); - pj_array_erase(tee->tee_conv, sizeof(tee->tee_conv[0]), - tee->dst_port_cnt, i); - --tee->dst_port_cnt; - return PJ_SUCCESS; - } - } - - return PJ_ENOTFOUND; -} - - -static pj_status_t tee_put_frame(pjmedia_port *port, pjmedia_frame *frame) -{ - vid_tee_port *tee = (vid_tee_port*)port; - unsigned i, j; - const pj_uint8_t PUT_FRM_DONE = 1; - - pj_bzero(tee->put_frm_flag, tee->dst_port_cnt * - sizeof(tee->put_frm_flag[0])); - - for (i = 0; i < tee->dst_port_cnt; ++i) { - pjmedia_frame frame_ = *frame; - - if (tee->put_frm_flag[i]) - continue; - - if (tee->tee_conv[i].conv) { - pj_status_t status; - - frame_.buf = tee->buf[0]; - frame_.size = tee->tee_conv[i].conv_buf_size; - status = pjmedia_converter_convert(tee->tee_conv[i].conv, - frame, &frame_); - if (status != PJ_SUCCESS) { - PJ_LOG(3, (THIS_FILE, - "Failed to convert frame for destination" - " port %d (%.*s)", i, - tee->dst_ports[i].dst->info.name.slen, - tee->dst_ports[i].dst->info.name.ptr)); - continue; - } - } - - /* Find other destination ports which has the same format so - * we don't need to do the same conversion twice. - */ - for (j = i; j < tee->dst_port_cnt; ++j) { - pjmedia_frame framep; - - if (tee->put_frm_flag[j] || - (tee->dst_ports[j].dst->info.fmt.id != - tee->dst_ports[i].dst->info.fmt.id) || - (tee->dst_ports[j].dst->info.fmt.det.vid.size.w != - tee->dst_ports[i].dst->info.fmt.det.vid.size.w) || - (tee->dst_ports[j].dst->info.fmt.det.vid.size.h != - tee->dst_ports[i].dst->info.fmt.det.vid.size.h)) - { - continue; - } - - framep = frame_; - /* For dst_ports that do in-place processing, we need to duplicate - * the data source first. - */ - if (tee->dst_ports[j].option & PJMEDIA_VID_TEE_DST_DO_IN_PLACE_PROC) - { - PJ_ASSERT_RETURN(tee->buf_size <= frame_.size, PJ_ETOOBIG); - framep.buf = tee->buf[tee->buf_cnt-1]; - framep.size = frame_.size; - pj_memcpy(framep.buf, frame_.buf, frame_.size); - } - - /* Deliver the data */ - pjmedia_port_put_frame(tee->dst_ports[j].dst, &framep); - tee->put_frm_flag[j] = PUT_FRM_DONE; - - if (!tee->tee_conv[i].conv) - break; - } - } - - return PJ_SUCCESS; -} - -static pj_status_t tee_get_frame(pjmedia_port *port, pjmedia_frame *frame) -{ - PJ_UNUSED_ARG(port); - PJ_UNUSED_ARG(frame); - - pj_assert(!"Bug! Tee port get_frame() shouldn't be called."); - - return PJ_EBUG; -} - -static pj_status_t tee_destroy(pjmedia_port *port) -{ - vid_tee_port *tee = (vid_tee_port*)port; - - PJ_ASSERT_RETURN(port && port->info.signature==TEE_PORT_SIGN, PJ_EINVAL); - - pj_pool_release(tee->pool); - if (tee->buf_pool) - pj_pool_release(tee->buf_pool); - - pj_bzero(tee, sizeof(*tee)); - - return PJ_SUCCESS; -} - - -#endif /* PJMEDIA_HAS_VIDEO */ diff --git a/res/pjproject/pjmedia/src/pjmedia/wav_player.c b/res/pjproject/pjmedia/src/pjmedia/wav_player.c deleted file mode 100644 index e7084f8675..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/wav_player.c +++ /dev/null @@ -1,691 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#define THIS_FILE "wav_player.c" - - -#define SIGNATURE PJMEDIA_SIG_PORT_WAV_PLAYER -#define BITS_PER_SAMPLE 16 - -#if 1 -# define TRACE_(x) PJ_LOG(4,x) -#else -# define TRACE_(x) -#endif - -#if defined(PJ_IS_BIG_ENDIAN) && PJ_IS_BIG_ENDIAN!=0 - static void samples_to_host(pj_int16_t *samples, unsigned count) - { - unsigned i; - for (i=0; ibase.info, &name, SIGNATURE, - 8000, 1, 16, 80); - - port->base.get_frame = &file_get_frame; - port->base.on_destroy = &file_on_destroy; - - - return port; -} - -/* - * Fill buffer. - */ -static pj_status_t fill_buffer(struct file_reader_port *fport) -{ - pj_ssize_t size_left = fport->bufsize; - unsigned size_to_read; - pj_ssize_t size; - pj_status_t status; - - fport->eofpos = NULL; - - while (size_left > 0) { - - /* Calculate how many bytes to read in this run. */ - size = size_to_read = size_left; - status = pj_file_read(fport->fd, - &fport->buf[fport->bufsize-size_left], - &size); - if (status != PJ_SUCCESS) - return status; - if (size < 0) { - /* Should return more appropriate error code here.. */ - return PJ_ECANCELLED; - } - - if (size > (pj_ssize_t)fport->data_left) { - /* We passed the end of the data chunk, - * only count the portion read from the data chunk. - */ - size = (pj_ssize_t)fport->data_left; - } - - size_left -= size; - fport->data_left -= size; - fport->fpos += size; - - /* If size is less than size_to_read, it indicates that we've - * encountered EOF. Rewind the file. - */ - if (size < (pj_ssize_t)size_to_read) { - fport->eof = PJ_TRUE; - fport->eofpos = fport->buf + fport->bufsize - size_left; - - if (fport->options & PJMEDIA_FILE_NO_LOOP) { - /* Zero remaining buffer */ - if (fport->fmt_tag == PJMEDIA_WAVE_FMT_TAG_PCM) { - pj_bzero(fport->eofpos, size_left); - } else if (fport->fmt_tag == PJMEDIA_WAVE_FMT_TAG_ULAW) { - int val = pjmedia_linear2ulaw(0); - pj_memset(fport->eofpos, val, size_left); - } else if (fport->fmt_tag == PJMEDIA_WAVE_FMT_TAG_ALAW) { - int val = pjmedia_linear2alaw(0); - pj_memset(fport->eofpos, val, size_left); - } - size_left = 0; - } - - /* Rewind file */ - fport->fpos = fport->start_data; - pj_file_setpos( fport->fd, fport->fpos, PJ_SEEK_SET); - fport->data_left = fport->data_len; - } - } - - /* Convert samples to host rep */ - samples_to_host((pj_int16_t*)fport->buf, - fport->bufsize/fport->bytes_per_sample); - - return PJ_SUCCESS; -} - - -/* - * Create WAVE player port. - */ -PJ_DEF(pj_status_t) pjmedia_wav_player_port_create( pj_pool_t *pool, - const char *filename, - unsigned ptime, - unsigned options, - pj_ssize_t buff_size, - pjmedia_port **p_port ) -{ - pjmedia_wave_hdr wave_hdr; - pj_ssize_t size_to_read, size_read; - struct file_reader_port *fport; - pjmedia_audio_format_detail *ad; - pj_off_t pos; - pj_str_t name; - unsigned samples_per_frame; - pj_status_t status = PJ_SUCCESS; - - - /* Check arguments. */ - PJ_ASSERT_RETURN(pool && filename && p_port, PJ_EINVAL); - - /* Check the file really exists. */ - if (!pj_file_exists(filename)) { - return PJ_ENOTFOUND; - } - - /* Normalize ptime */ - if (ptime == 0) - ptime = 20; - - /* Normalize buff_size */ - if (buff_size < 1) buff_size = PJMEDIA_FILE_PORT_BUFSIZE; - - - /* Create fport instance. */ - fport = create_file_port(pool); - if (!fport) { - return PJ_ENOMEM; - } - - - /* Get the file size. */ - fport->fsize = pj_file_size(filename); - - /* Size must be more than WAVE header size */ - if (fport->fsize <= sizeof(pjmedia_wave_hdr)) { - return PJMEDIA_ENOTVALIDWAVE; - } - - /* Open file. */ - status = pj_file_open( pool, filename, PJ_O_RDONLY, &fport->fd); - if (status != PJ_SUCCESS) - return status; - - /* Read the file header plus fmt header only. */ - size_read = size_to_read = sizeof(wave_hdr) - 8; - status = pj_file_read( fport->fd, &wave_hdr, &size_read); - if (status != PJ_SUCCESS) { - pj_file_close(fport->fd); - return status; - } - if (size_read != size_to_read) { - pj_file_close(fport->fd); - return PJMEDIA_ENOTVALIDWAVE; - } - - /* Normalize WAVE header fields values from little-endian to host - * byte order. - */ - pjmedia_wave_hdr_file_to_host(&wave_hdr); - - /* Validate WAVE file. */ - if (wave_hdr.riff_hdr.riff != PJMEDIA_RIFF_TAG || - wave_hdr.riff_hdr.wave != PJMEDIA_WAVE_TAG || - wave_hdr.fmt_hdr.fmt != PJMEDIA_FMT_TAG) - { - pj_file_close(fport->fd); - TRACE_((THIS_FILE, - "actual value|expected riff=%x|%x, wave=%x|%x fmt=%x|%x", - wave_hdr.riff_hdr.riff, PJMEDIA_RIFF_TAG, - wave_hdr.riff_hdr.wave, PJMEDIA_WAVE_TAG, - wave_hdr.fmt_hdr.fmt, PJMEDIA_FMT_TAG)); - return PJMEDIA_ENOTVALIDWAVE; - } - - /* Validate format and its attributes (i.e: bits per sample, block align) */ - switch (wave_hdr.fmt_hdr.fmt_tag) { - case PJMEDIA_WAVE_FMT_TAG_PCM: - if (wave_hdr.fmt_hdr.bits_per_sample != 16 || - wave_hdr.fmt_hdr.block_align != 2 * wave_hdr.fmt_hdr.nchan) - status = PJMEDIA_EWAVEUNSUPP; - break; - - case PJMEDIA_WAVE_FMT_TAG_ALAW: - case PJMEDIA_WAVE_FMT_TAG_ULAW: - if (wave_hdr.fmt_hdr.bits_per_sample != 8 || - wave_hdr.fmt_hdr.block_align != wave_hdr.fmt_hdr.nchan) - status = PJMEDIA_ENOTVALIDWAVE; - break; - - default: - status = PJMEDIA_EWAVEUNSUPP; - break; - } - - if (status != PJ_SUCCESS) { - pj_file_close(fport->fd); - return status; - } - - fport->fmt_tag = (pjmedia_wave_fmt_tag)wave_hdr.fmt_hdr.fmt_tag; - fport->bytes_per_sample = (pj_uint16_t) - (wave_hdr.fmt_hdr.bits_per_sample / 8); - - /* If length of fmt_header is greater than 16, skip the remaining - * fmt header data. - */ - if (wave_hdr.fmt_hdr.len > 16) { - size_to_read = wave_hdr.fmt_hdr.len - 16; - status = pj_file_setpos(fport->fd, size_to_read, PJ_SEEK_CUR); - if (status != PJ_SUCCESS) { - pj_file_close(fport->fd); - return status; - } - } - - /* Repeat reading the WAVE file until we have 'data' chunk */ - for (;;) { - pjmedia_wave_subchunk subchunk; - size_read = 8; - status = pj_file_read(fport->fd, &subchunk, &size_read); - if (status != PJ_SUCCESS || size_read != 8) { - pj_file_close(fport->fd); - return PJMEDIA_EWAVETOOSHORT; - } - - /* Normalize endianness */ - PJMEDIA_WAVE_NORMALIZE_SUBCHUNK(&subchunk); - - /* Break if this is "data" chunk */ - if (subchunk.id == PJMEDIA_DATA_TAG) { - wave_hdr.data_hdr.data = PJMEDIA_DATA_TAG; - wave_hdr.data_hdr.len = subchunk.len; - break; - } - - /* Otherwise skip the chunk contents */ - size_to_read = subchunk.len; - status = pj_file_setpos(fport->fd, size_to_read, PJ_SEEK_CUR); - if (status != PJ_SUCCESS) { - pj_file_close(fport->fd); - return status; - } - } - - /* Current file position now points to start of data */ - status = pj_file_getpos(fport->fd, &pos); - fport->start_data = (unsigned)pos; - fport->data_len = wave_hdr.data_hdr.len; - fport->data_left = wave_hdr.data_hdr.len; - - /* Validate length. */ - if (wave_hdr.data_hdr.len > fport->fsize - fport->start_data) { - pj_file_close(fport->fd); - return PJMEDIA_EWAVEUNSUPP; - } - if (wave_hdr.data_hdr.len < ptime * wave_hdr.fmt_hdr.sample_rate * - wave_hdr.fmt_hdr.nchan / 1000) - { - pj_file_close(fport->fd); - return PJMEDIA_EWAVETOOSHORT; - } - - /* It seems like we have a valid WAVE file. */ - - /* Initialize */ - fport->options = options; - - /* Update port info. */ - ad = pjmedia_format_get_audio_format_detail(&fport->base.info.fmt, 1); - pj_strdup2(pool, &name, filename); - samples_per_frame = ptime * wave_hdr.fmt_hdr.sample_rate * - wave_hdr.fmt_hdr.nchan / 1000; - pjmedia_port_info_init(&fport->base.info, &name, SIGNATURE, - wave_hdr.fmt_hdr.sample_rate, - wave_hdr.fmt_hdr.nchan, - BITS_PER_SAMPLE, - samples_per_frame); - - /* If file is shorter than buffer size, adjust buffer size to file - * size. Otherwise EOF callback will be called multiple times when - * fill_buffer() is called. - */ - if (wave_hdr.data_hdr.len < (unsigned)buff_size) - buff_size = wave_hdr.data_hdr.len; - - /* Create file buffer. - */ - fport->bufsize = buff_size; - - - /* samples_per_frame must be smaller than bufsize (because get_frame() - * doesn't handle this case). - */ - if (samples_per_frame * fport->bytes_per_sample >= fport->bufsize) { - pj_file_close(fport->fd); - return PJ_EINVAL; - } - - /* Create buffer. */ - fport->buf = (char*) pj_pool_alloc(pool, fport->bufsize); - if (!fport->buf) { - pj_file_close(fport->fd); - return PJ_ENOMEM; - } - - fport->readpos = fport->buf; - - /* Set initial position of the file. */ - fport->fpos = fport->start_data; - - /* Fill up the buffer. */ - status = fill_buffer(fport); - if (status != PJ_SUCCESS) { - pj_file_close(fport->fd); - return status; - } - - /* Done. */ - - *p_port = &fport->base; - - - PJ_LOG(4,(THIS_FILE, - "File player '%.*s' created: samp.rate=%d, ch=%d, bufsize=%uKB, " - "filesize=%luKB", - (int)fport->base.info.name.slen, - fport->base.info.name.ptr, - ad->clock_rate, - ad->channel_count, - fport->bufsize / 1000, - (unsigned long)(fport->fsize / 1000))); - - return PJ_SUCCESS; -} - - -/* - * Get the data length, in bytes. - */ -PJ_DEF(pj_ssize_t) pjmedia_wav_player_get_len(pjmedia_port *port) -{ - struct file_reader_port *fport; - pj_ssize_t size; - - /* Sanity check */ - PJ_ASSERT_RETURN(port, -PJ_EINVAL); - - /* Check that this is really a player port */ - PJ_ASSERT_RETURN(port->info.signature == SIGNATURE, -PJ_EINVALIDOP); - - fport = (struct file_reader_port*) port; - - size = (pj_ssize_t) fport->fsize; - return size - fport->start_data; -} - - -/* - * Set position. - */ -PJ_DEF(pj_status_t) pjmedia_wav_player_port_set_pos(pjmedia_port *port, - pj_uint32_t bytes ) -{ - struct file_reader_port *fport; - pj_status_t status; - - /* Sanity check */ - PJ_ASSERT_RETURN(port, PJ_EINVAL); - - /* Check that this is really a player port */ - PJ_ASSERT_RETURN(port->info.signature == SIGNATURE, PJ_EINVALIDOP); - - - fport = (struct file_reader_port*) port; - - /* Check that this offset does not pass the audio-data (in case of - * extra chunk after audio data chunk - */ - PJ_ASSERT_RETURN(bytes < fport->data_len, PJ_EINVAL); - - fport->fpos = fport->start_data + bytes; - fport->data_left = fport->data_len - bytes; - pj_file_setpos( fport->fd, fport->fpos, PJ_SEEK_SET); - - fport->eof = PJ_FALSE; - status = fill_buffer(fport); - if (status != PJ_SUCCESS) - return status; - - fport->readpos = fport->buf; - - return PJ_SUCCESS; -} - - -/* - * Get the file play position of WAV player. - */ -PJ_DEF(pj_ssize_t) pjmedia_wav_player_port_get_pos( pjmedia_port *port ) -{ - struct file_reader_port *fport; - pj_size_t payload_pos; - - /* Sanity check */ - PJ_ASSERT_RETURN(port, -PJ_EINVAL); - - /* Check that this is really a player port */ - PJ_ASSERT_RETURN(port->info.signature == SIGNATURE, -PJ_EINVALIDOP); - - fport = (struct file_reader_port*) port; - - payload_pos = (pj_size_t)(fport->fpos - fport->start_data); - if (payload_pos >= fport->bufsize) - return payload_pos - fport->bufsize + (fport->readpos - fport->buf); - else - return (fport->readpos - fport->buf) % payload_pos; -} - - - -/* - * Register a callback to be called when the file reading has reached the - * end of file. - */ -PJ_DEF(pj_status_t) pjmedia_wav_player_set_eof_cb( pjmedia_port *port, - void *user_data, - pj_status_t (*cb)(pjmedia_port *port, - void *usr_data)) -{ - struct file_reader_port *fport; - - /* Sanity check */ - PJ_ASSERT_RETURN(port, -PJ_EINVAL); - - /* Check that this is really a player port */ - PJ_ASSERT_RETURN(port->info.signature == SIGNATURE, -PJ_EINVALIDOP); - - fport = (struct file_reader_port*) port; - - fport->base.port_data.pdata = user_data; - fport->cb = cb; - - return PJ_SUCCESS; -} - - -/* - * Get frame from file. - */ -static pj_status_t file_get_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct file_reader_port *fport = (struct file_reader_port*)this_port; - unsigned frame_size; - pj_status_t status; - - pj_assert(fport->base.info.signature == SIGNATURE); - pj_assert(frame->size <= fport->bufsize); - - /* EOF is set and readpos already passed the eofpos */ - if (fport->eof && fport->readpos >= fport->eofpos) { - pj_status_t status = PJ_SUCCESS; - - PJ_LOG(5,(THIS_FILE, "File port %.*s EOF", - (int)fport->base.info.name.slen, - fport->base.info.name.ptr)); - - /* Call callback, if any */ - if (fport->cb) - status = (*fport->cb)(this_port, fport->base.port_data.pdata); - - /* If callback returns non PJ_SUCCESS or 'no loop' is specified, - * return immediately (and don't try to access player port since - * it might have been destroyed by the callback). - */ - if ((status != PJ_SUCCESS) || (fport->options & PJMEDIA_FILE_NO_LOOP)) { - frame->type = PJMEDIA_FRAME_TYPE_NONE; - frame->size = 0; - return PJ_EEOF; - } - - PJ_LOG(5,(THIS_FILE, "File port %.*s rewinding..", - (int)fport->base.info.name.slen, - fport->base.info.name.ptr)); - - fport->eof = PJ_FALSE; - } - - //pj_assert(frame->size == fport->base.info.bytes_per_frame); - if (fport->fmt_tag == PJMEDIA_WAVE_FMT_TAG_PCM) { - frame_size = frame->size; - //frame->size = frame_size; - } else { - /* Must be ULAW or ALAW */ - pj_assert(fport->fmt_tag == PJMEDIA_WAVE_FMT_TAG_ULAW || - fport->fmt_tag == PJMEDIA_WAVE_FMT_TAG_ALAW); - - frame_size = frame->size >> 1; - frame->size = frame_size << 1; - } - - /* Copy frame from buffer. */ - frame->type = PJMEDIA_FRAME_TYPE_AUDIO; - frame->timestamp.u64 = 0; - - if ((fport->readpos + frame_size) <= (fport->buf + fport->bufsize)) - { - /* Read contiguous buffer. */ - pj_memcpy(frame->buf, fport->readpos, frame_size); - - /* Fill up the buffer if all has been read. */ - fport->readpos += frame_size; - if (fport->readpos == fport->buf + fport->bufsize) { - fport->readpos = fport->buf; - - status = fill_buffer(fport); - if (status != PJ_SUCCESS) { - frame->type = PJMEDIA_FRAME_TYPE_NONE; - frame->size = 0; - fport->readpos = fport->buf + fport->bufsize; - return status; - } - } - } else { - unsigned endread; - - /* Split read. - * First stage: read until end of buffer. - */ - endread = (fport->buf+fport->bufsize) - fport->readpos; - pj_memcpy(frame->buf, fport->readpos, endread); - - /* End Of Buffer and EOF and NO LOOP */ - if (fport->eof && (fport->options & PJMEDIA_FILE_NO_LOOP)) { - fport->readpos += endread; - - if (fport->fmt_tag == PJMEDIA_WAVE_FMT_TAG_PCM) { - pj_bzero((char*)frame->buf + endread, frame_size - endread); - } else if (fport->fmt_tag == PJMEDIA_WAVE_FMT_TAG_ULAW) { - int val = pjmedia_linear2ulaw(0); - pj_memset((char*)frame->buf + endread, val, - frame_size - endread); - } else if (fport->fmt_tag == PJMEDIA_WAVE_FMT_TAG_ALAW) { - int val = pjmedia_linear2alaw(0); - pj_memset((char*)frame->buf + endread, val, - frame_size - endread); - } - - return PJ_SUCCESS; - } - - /* Second stage: fill up buffer, and read from the start of buffer. */ - status = fill_buffer(fport); - if (status != PJ_SUCCESS) { - frame->type = PJMEDIA_FRAME_TYPE_NONE; - frame->size = 0; - fport->readpos = fport->buf + fport->bufsize; - return status; - } - - pj_memcpy(((char*)frame->buf)+endread, fport->buf, frame_size-endread); - fport->readpos = fport->buf + (frame_size - endread); - } - - if (fport->fmt_tag == PJMEDIA_WAVE_FMT_TAG_ULAW || - fport->fmt_tag == PJMEDIA_WAVE_FMT_TAG_ALAW) - { - unsigned i; - pj_uint16_t *dst; - pj_uint8_t *src; - - dst = (pj_uint16_t*)frame->buf + frame_size - 1; - src = (pj_uint8_t*)frame->buf + frame_size - 1; - - if (fport->fmt_tag == PJMEDIA_WAVE_FMT_TAG_ULAW) { - for (i = 0; i < frame_size; ++i) { - *dst-- = (pj_uint16_t) pjmedia_ulaw2linear(*src--); - } - } else { - for (i = 0; i < frame_size; ++i) { - *dst-- = (pj_uint16_t) pjmedia_alaw2linear(*src--); - } - } - } - - return PJ_SUCCESS; -} - -/* - * Destroy port. - */ -static pj_status_t file_on_destroy(pjmedia_port *this_port) -{ - struct file_reader_port *fport = (struct file_reader_port*) this_port; - - pj_assert(this_port->info.signature == SIGNATURE); - - pj_file_close(fport->fd); - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/wav_playlist.c b/res/pjproject/pjmedia/src/pjmedia/wav_playlist.c deleted file mode 100644 index bd8ca356e1..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/wav_playlist.c +++ /dev/null @@ -1,642 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * Original author: - * David Clark - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "wav_playlist.c" - -#define SIGNATURE PJMEDIA_SIG_PORT_WAV_PLAYLIST -#define BYTES_PER_SAMPLE 2 - - -#if 1 -# define TRACE_(x) PJ_LOG(4,x) -#else -# define TRACE_(x) -#endif - -#if defined(PJ_IS_BIG_ENDIAN) && PJ_IS_BIG_ENDIAN!=0 - static void samples_to_host(pj_int16_t *samples, unsigned count) - { - unsigned i; - for (i=0; ibase.info, name, SIGNATURE, - 8000, 1, 16, 80); - - port->base.get_frame = &file_list_get_frame; - port->base.on_destroy = &file_list_on_destroy; - - return port; -} - - -/* - * Fill buffer for file_list operations. - */ -static pj_status_t file_fill_buffer(struct playlist_port *fport) -{ - pj_ssize_t size_left = fport->bufsize; - unsigned size_to_read; - pj_ssize_t size; - pj_status_t status; - int current_file = fport->current_file; - - /* Can't read file if EOF and loop flag is disabled */ - if (fport->eof) - return PJ_EEOF; - - while (size_left > 0) - { - /* Calculate how many bytes to read in this run. */ - size = size_to_read = size_left; - status = pj_file_read(fport->fd_list[current_file], - &fport->buf[fport->bufsize-size_left], - &size); - if (status != PJ_SUCCESS) - return status; - - if (size < 0) - { - /* Should return more appropriate error code here.. */ - return PJ_ECANCELLED; - } - - size_left -= size; - fport->fpos_list[current_file] += size; - - /* If size is less than size_to_read, it indicates that we've - * encountered EOF. Rewind the file. - */ - if (size < (pj_ssize_t)size_to_read) - { - /* Rewind the file for the next iteration */ - fport->fpos_list[current_file] = - fport->start_data_list[current_file]; - pj_file_setpos(fport->fd_list[current_file], - fport->fpos_list[current_file], PJ_SEEK_SET); - - /* Move to next file */ - current_file++; - fport->current_file = current_file; - - if (fport->current_file == fport->max_file) - { - /* Clear the remaining part of the buffer first, to prevent - * old samples from being played. If the playback restarts, - * this will be overwritten by new reading. - */ - if (size_left > 0) { - pj_bzero(&fport->buf[fport->bufsize-size_left], - size_left); - } - - /* All files have been played. Call callback, if any. */ - if (fport->cb) - { - PJ_LOG(5,(THIS_FILE, - "File port %.*s EOF, calling callback", - (int)fport->base.info.name.slen, - fport->base.info.name.ptr)); - - fport->eof = PJ_TRUE; - - status = (*fport->cb)(&fport->base, - fport->base.port_data.pdata); - - if (status != PJ_SUCCESS) - { - /* This will crash if file port is destroyed in the - * callback, that's why we set the eof flag before - * calling the callback: - fport->eof = PJ_TRUE; - */ - return status; - } - - fport->eof = PJ_FALSE; - } - - - if (fport->options & PJMEDIA_FILE_NO_LOOP) - { - PJ_LOG(5,(THIS_FILE, "File port %.*s EOF, stopping..", - (int)fport->base.info.name.slen, - fport->base.info.name.ptr)); - fport->eof = PJ_TRUE; - return PJ_EEOF; - } - else - { - PJ_LOG(5,(THIS_FILE, "File port %.*s EOF, rewinding..", - (int)fport->base.info.name.slen, - fport->base.info.name.ptr)); - - /* start with first file again. */ - fport->current_file = current_file = 0; - fport->fpos_list[0] = fport->start_data_list[0]; - pj_file_setpos(fport->fd_list[0], fport->fpos_list[0], - PJ_SEEK_SET); - } - - } /* if current_file == max_file */ - - } /* size < size_to_read */ - - } /* while () */ - - /* Convert samples to host rep */ - samples_to_host((pj_int16_t*)fport->buf, fport->bufsize/BYTES_PER_SAMPLE); - - return PJ_SUCCESS; -} - - -/* - * Create wave list player. - */ -PJ_DEF(pj_status_t) pjmedia_wav_playlist_create(pj_pool_t *pool, - const pj_str_t *port_label, - const pj_str_t file_list[], - int file_count, - unsigned ptime, - unsigned options, - pj_ssize_t buff_size, - pjmedia_port **p_port) -{ - struct playlist_port *fport; - pjmedia_audio_format_detail *afd; - pj_off_t pos; - pj_status_t status; - int index; - pj_bool_t has_wave_info = PJ_FALSE; - pj_str_t tmp_port_label; - char filename[PJ_MAXPATH]; /* filename for open operations. */ - - - /* Check arguments. */ - PJ_ASSERT_RETURN(pool && file_list && file_count && p_port, PJ_EINVAL); - - /* Normalize port_label */ - if (port_label == NULL || port_label->slen == 0) { - tmp_port_label = pj_str("WAV playlist"); - port_label = &tmp_port_label; - } - - /* Be sure all files exist */ - for (index=0; indexbase.info.fmt, 1); - - /* start with the first file. */ - fport->current_file = 0; - fport->max_file = file_count; - - /* Create file descriptor list */ - fport->fd_list = (pj_oshandle_t*) - pj_pool_zalloc(pool, sizeof(pj_oshandle_t)*file_count); - if (!fport->fd_list) { - return PJ_ENOMEM; - } - - /* Create file size list */ - fport->fsize_list = (pj_off_t*) - pj_pool_alloc(pool, sizeof(pj_off_t)*file_count); - if (!fport->fsize_list) { - return PJ_ENOMEM; - } - - /* Create start of WAVE data list */ - fport->start_data_list = (unsigned*) - pj_pool_alloc(pool, sizeof(unsigned)*file_count); - if (!fport->start_data_list) { - return PJ_ENOMEM; - } - - /* Create file position list */ - fport->fpos_list = (pj_off_t*) - pj_pool_alloc(pool, sizeof(pj_off_t)*file_count); - if (!fport->fpos_list) { - return PJ_ENOMEM; - } - - /* Create file buffer once for this operation. - */ - if (buff_size < 1) buff_size = PJMEDIA_FILE_PORT_BUFSIZE; - fport->bufsize = buff_size; - - - /* Create buffer. */ - fport->buf = (char*) pj_pool_alloc(pool, fport->bufsize); - if (!fport->buf) { - return PJ_ENOMEM; - } - - /* Initialize port */ - fport->options = options; - fport->readpos = fport->buf; - - - /* ok run this for all files to be sure all are good for playback. */ - for (index=file_count-1; index>=0; index--) { - - pjmedia_wave_hdr wavehdr; - pj_ssize_t size_to_read, size_read; - - /* we end with the last one so we are good to go if still in function*/ - pj_memcpy(filename, file_list[index].ptr, file_list[index].slen); - filename[file_list[index].slen] = '\0'; - - /* Get the file size. */ - fport->current_file = index; - fport->fsize_list[index] = pj_file_size(filename); - - /* Size must be more than WAVE header size */ - if (fport->fsize_list[index] <= sizeof(pjmedia_wave_hdr)) { - status = PJMEDIA_ENOTVALIDWAVE; - goto on_error; - } - - /* Open file. */ - status = pj_file_open( pool, filename, PJ_O_RDONLY, - &fport->fd_list[index]); - if (status != PJ_SUCCESS) - goto on_error; - - /* Read the file header plus fmt header only. */ - size_read = size_to_read = sizeof(wavehdr) - 8; - status = pj_file_read( fport->fd_list[index], &wavehdr, &size_read); - if (status != PJ_SUCCESS) { - goto on_error; - } - - if (size_read != size_to_read) { - status = PJMEDIA_ENOTVALIDWAVE; - goto on_error; - } - - /* Normalize WAVE header fields values from little-endian to host - * byte order. - */ - pjmedia_wave_hdr_file_to_host(&wavehdr); - - /* Validate WAVE file. */ - if (wavehdr.riff_hdr.riff != PJMEDIA_RIFF_TAG || - wavehdr.riff_hdr.wave != PJMEDIA_WAVE_TAG || - wavehdr.fmt_hdr.fmt != PJMEDIA_FMT_TAG) - { - TRACE_((THIS_FILE, - "actual value|expected riff=%x|%x, wave=%x|%x fmt=%x|%x", - wavehdr.riff_hdr.riff, PJMEDIA_RIFF_TAG, - wavehdr.riff_hdr.wave, PJMEDIA_WAVE_TAG, - wavehdr.fmt_hdr.fmt, PJMEDIA_FMT_TAG)); - status = PJMEDIA_ENOTVALIDWAVE; - goto on_error; - } - - /* Must be PCM with 16bits per sample */ - if (wavehdr.fmt_hdr.fmt_tag != 1 || - wavehdr.fmt_hdr.bits_per_sample != 16) - { - status = PJMEDIA_EWAVEUNSUPP; - goto on_error; - } - - /* Block align must be 2*nchannels */ - if (wavehdr.fmt_hdr.block_align != - wavehdr.fmt_hdr.nchan * BYTES_PER_SAMPLE) - { - status = PJMEDIA_EWAVEUNSUPP; - goto on_error; - } - - /* If length of fmt_header is greater than 16, skip the remaining - * fmt header data. - */ - if (wavehdr.fmt_hdr.len > 16) { - size_to_read = wavehdr.fmt_hdr.len - 16; - status = pj_file_setpos(fport->fd_list[index], size_to_read, - PJ_SEEK_CUR); - if (status != PJ_SUCCESS) { - goto on_error; - } - } - - /* Repeat reading the WAVE file until we have 'data' chunk */ - for (;;) { - pjmedia_wave_subchunk subchunk; - size_read = 8; - status = pj_file_read(fport->fd_list[index], &subchunk, - &size_read); - if (status != PJ_SUCCESS || size_read != 8) { - status = PJMEDIA_EWAVETOOSHORT; - goto on_error; - } - - /* Normalize endianness */ - PJMEDIA_WAVE_NORMALIZE_SUBCHUNK(&subchunk); - - /* Break if this is "data" chunk */ - if (subchunk.id == PJMEDIA_DATA_TAG) { - wavehdr.data_hdr.data = PJMEDIA_DATA_TAG; - wavehdr.data_hdr.len = subchunk.len; - break; - } - - /* Otherwise skip the chunk contents */ - size_to_read = subchunk.len; - status = pj_file_setpos(fport->fd_list[index], size_to_read, - PJ_SEEK_CUR); - if (status != PJ_SUCCESS) { - goto on_error; - } - } - - /* Current file position now points to start of data */ - status = pj_file_getpos(fport->fd_list[index], &pos); - fport->start_data_list[index] = (unsigned)pos; - - /* Validate length. */ - if (wavehdr.data_hdr.len != fport->fsize_list[index] - - fport->start_data_list[index]) - { - status = PJMEDIA_EWAVEUNSUPP; - goto on_error; - } - if (wavehdr.data_hdr.len < 400) { - status = PJMEDIA_EWAVETOOSHORT; - goto on_error; - } - - /* It seems like we have a valid WAVE file. */ - - /* Update port info if we don't have one, otherwise check - * that the WAV file has the same attributes as previous files. - */ - if (!has_wave_info) { - afd->channel_count = wavehdr.fmt_hdr.nchan; - afd->clock_rate = wavehdr.fmt_hdr.sample_rate; - afd->bits_per_sample = wavehdr.fmt_hdr.bits_per_sample; - afd->frame_time_usec = ptime * 1000; - afd->avg_bps = afd->max_bps = afd->clock_rate * - afd->channel_count * - afd->bits_per_sample; - - has_wave_info = PJ_TRUE; - - } else { - - /* Check that this file has the same characteristics as the other - * files. - */ - if (wavehdr.fmt_hdr.nchan != afd->channel_count || - wavehdr.fmt_hdr.sample_rate != afd->clock_rate || - wavehdr.fmt_hdr.bits_per_sample != afd->bits_per_sample) - { - /* This file has different characteristics than the other - * files. - */ - PJ_LOG(4,(THIS_FILE, - "WAV playlist error: file '%s' has differrent number" - " of channels, sample rate, or bits per sample", - filename)); - status = PJMEDIA_EWAVEUNSUPP; - goto on_error; - } - - } - - - /* Set initial position of the file. */ - fport->fpos_list[index] = fport->start_data_list[index]; - } - - /* Fill up the buffer. */ - status = file_fill_buffer(fport); - if (status != PJ_SUCCESS) { - goto on_error; - } - - /* Done. */ - - *p_port = &fport->base; - - PJ_LOG(4,(THIS_FILE, - "WAV playlist '%.*s' created: samp.rate=%d, ch=%d, bufsize=%uKB", - (int)port_label->slen, - port_label->ptr, - afd->clock_rate, - afd->channel_count, - fport->bufsize / 1000)); - - return PJ_SUCCESS; - -on_error: - for (index=0; indexfd_list[index] != 0) - pj_file_close(fport->fd_list[index]); - } - - return status; -} - - -/* - * Register a callback to be called when the file reading has reached the - * end of the last file. - */ -PJ_DEF(pj_status_t) pjmedia_wav_playlist_set_eof_cb(pjmedia_port *port, - void *user_data, - pj_status_t (*cb)(pjmedia_port *port, - void *usr_data)) -{ - struct playlist_port *fport; - - /* Sanity check */ - PJ_ASSERT_RETURN(port, PJ_EINVAL); - - /* Check that this is really a playlist port */ - PJ_ASSERT_RETURN(port->info.signature == SIGNATURE, PJ_EINVALIDOP); - - fport = (struct playlist_port*) port; - - fport->base.port_data.pdata = user_data; - fport->cb = cb; - - return PJ_SUCCESS; -} - - -/* - * Get frame from file for file_list operation - */ -static pj_status_t file_list_get_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct playlist_port *fport = (struct playlist_port*)this_port; - unsigned frame_size; - pj_status_t status; - - pj_assert(fport->base.info.signature == SIGNATURE); - - //frame_size = fport->base.info.bytes_per_frame; - //pj_assert(frame->size == frame_size); - frame_size = frame->size; - - /* Copy frame from buffer. */ - frame->type = PJMEDIA_FRAME_TYPE_AUDIO; - frame->size = frame_size; - frame->timestamp.u64 = 0; - - if (fport->readpos + frame_size <= fport->buf + fport->bufsize) { - - /* Read contiguous buffer. */ - pj_memcpy(frame->buf, fport->readpos, frame_size); - - /* Fill up the buffer if all has been read. */ - fport->readpos += frame_size; - if (fport->readpos == fport->buf + fport->bufsize) { - fport->readpos = fport->buf; - - status = file_fill_buffer(fport); - if (status != PJ_SUCCESS) { - frame->type = PJMEDIA_FRAME_TYPE_NONE; - frame->size = 0; - return status; - } - } - } else { - unsigned endread; - - /* Split read. - * First stage: read until end of buffer. - */ - endread = (fport->buf+fport->bufsize) - fport->readpos; - pj_memcpy(frame->buf, fport->readpos, endread); - - /* Second stage: fill up buffer, and read from the start of buffer. */ - status = file_fill_buffer(fport); - if (status != PJ_SUCCESS) { - pj_bzero(((char*)frame->buf)+endread, frame_size-endread); - return status; - } - - pj_memcpy(((char*)frame->buf)+endread, fport->buf, frame_size-endread); - fport->readpos = fport->buf + (frame_size - endread); - } - - return PJ_SUCCESS; -} - - -/* - * Destroy port. - */ -static pj_status_t file_list_on_destroy(pjmedia_port *this_port) -{ - struct playlist_port *fport = (struct playlist_port*) this_port; - int index; - - pj_assert(this_port->info.signature == SIGNATURE); - - for (index=0; indexmax_file; index++) - pj_file_close(fport->fd_list[index]); - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/wav_writer.c b/res/pjproject/pjmedia/src/pjmedia/wav_writer.c deleted file mode 100644 index d1636276bc..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/wav_writer.c +++ /dev/null @@ -1,457 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#define THIS_FILE "wav_writer.c" -#define SIGNATURE PJMEDIA_SIG_PORT_WAV_WRITER - - -struct file_port -{ - pjmedia_port base; - pjmedia_wave_fmt_tag fmt_tag; - pj_uint16_t bytes_per_sample; - - pj_size_t bufsize; - char *buf; - char *writepos; - pj_size_t total; - - pj_oshandle_t fd; - - pj_size_t cb_size; - pj_status_t (*cb)(pjmedia_port*, void*); -}; - -static pj_status_t file_put_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t file_get_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t file_on_destroy(pjmedia_port *this_port); - - -/* - * Create file writer port. - */ -PJ_DEF(pj_status_t) pjmedia_wav_writer_port_create( pj_pool_t *pool, - const char *filename, - unsigned sampling_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - unsigned flags, - pj_ssize_t buff_size, - pjmedia_port **p_port ) -{ - struct file_port *fport; - pjmedia_wave_hdr wave_hdr; - pj_ssize_t size; - pj_str_t name; - pj_status_t status; - - /* Check arguments. */ - PJ_ASSERT_RETURN(pool && filename && p_port, PJ_EINVAL); - - /* Only supports 16bits per sample for now. - * See flush_buffer(). - */ - PJ_ASSERT_RETURN(bits_per_sample == 16, PJ_EINVAL); - - /* Create file port instance. */ - fport = PJ_POOL_ZALLOC_T(pool, struct file_port); - PJ_ASSERT_RETURN(fport != NULL, PJ_ENOMEM); - - /* Initialize port info. */ - pj_strdup2(pool, &name, filename); - pjmedia_port_info_init(&fport->base.info, &name, SIGNATURE, - sampling_rate, channel_count, bits_per_sample, - samples_per_frame); - - fport->base.get_frame = &file_get_frame; - fport->base.put_frame = &file_put_frame; - fport->base.on_destroy = &file_on_destroy; - - if (flags == PJMEDIA_FILE_WRITE_ALAW) { - fport->fmt_tag = PJMEDIA_WAVE_FMT_TAG_ALAW; - fport->bytes_per_sample = 1; - } else if (flags == PJMEDIA_FILE_WRITE_ULAW) { - fport->fmt_tag = PJMEDIA_WAVE_FMT_TAG_ULAW; - fport->bytes_per_sample = 1; - } else { - fport->fmt_tag = PJMEDIA_WAVE_FMT_TAG_PCM; - fport->bytes_per_sample = 2; - } - - /* Open file in write and read mode. - * We need the read mode because we'll modify the WAVE header once - * the recording has completed. - */ - status = pj_file_open(pool, filename, PJ_O_WRONLY, &fport->fd); - if (status != PJ_SUCCESS) - return status; - - /* Initialize WAVE header */ - pj_bzero(&wave_hdr, sizeof(pjmedia_wave_hdr)); - wave_hdr.riff_hdr.riff = PJMEDIA_RIFF_TAG; - wave_hdr.riff_hdr.file_len = 0; /* will be filled later */ - wave_hdr.riff_hdr.wave = PJMEDIA_WAVE_TAG; - - wave_hdr.fmt_hdr.fmt = PJMEDIA_FMT_TAG; - wave_hdr.fmt_hdr.len = 16; - wave_hdr.fmt_hdr.fmt_tag = (pj_uint16_t)fport->fmt_tag; - wave_hdr.fmt_hdr.nchan = (pj_int16_t)channel_count; - wave_hdr.fmt_hdr.sample_rate = sampling_rate; - wave_hdr.fmt_hdr.bytes_per_sec = sampling_rate * channel_count * - fport->bytes_per_sample; - wave_hdr.fmt_hdr.block_align = (pj_uint16_t) - (fport->bytes_per_sample * channel_count); - wave_hdr.fmt_hdr.bits_per_sample = (pj_uint16_t) - (fport->bytes_per_sample * 8); - - wave_hdr.data_hdr.data = PJMEDIA_DATA_TAG; - wave_hdr.data_hdr.len = 0; /* will be filled later */ - - - /* Convert WAVE header from host byte order to little endian - * before writing the header. - */ - pjmedia_wave_hdr_host_to_file(&wave_hdr); - - - /* Write WAVE header */ - if (fport->fmt_tag != PJMEDIA_WAVE_FMT_TAG_PCM) { - pjmedia_wave_subchunk fact_chunk; - pj_uint32_t tmp = 0; - - fact_chunk.id = PJMEDIA_FACT_TAG; - fact_chunk.len = 4; - - PJMEDIA_WAVE_NORMALIZE_SUBCHUNK(&fact_chunk); - - /* Write WAVE header without DATA chunk header */ - size = sizeof(pjmedia_wave_hdr) - sizeof(wave_hdr.data_hdr); - status = pj_file_write(fport->fd, &wave_hdr, &size); - if (status != PJ_SUCCESS) { - pj_file_close(fport->fd); - return status; - } - - /* Write FACT chunk if it stores compressed data */ - size = sizeof(fact_chunk); - status = pj_file_write(fport->fd, &fact_chunk, &size); - if (status != PJ_SUCCESS) { - pj_file_close(fport->fd); - return status; - } - size = 4; - status = pj_file_write(fport->fd, &tmp, &size); - if (status != PJ_SUCCESS) { - pj_file_close(fport->fd); - return status; - } - - /* Write DATA chunk header */ - size = sizeof(wave_hdr.data_hdr); - status = pj_file_write(fport->fd, &wave_hdr.data_hdr, &size); - if (status != PJ_SUCCESS) { - pj_file_close(fport->fd); - return status; - } - } else { - size = sizeof(pjmedia_wave_hdr); - status = pj_file_write(fport->fd, &wave_hdr, &size); - if (status != PJ_SUCCESS) { - pj_file_close(fport->fd); - return status; - } - } - - /* Set buffer size. */ - if (buff_size < 1) buff_size = PJMEDIA_FILE_PORT_BUFSIZE; - fport->bufsize = buff_size; - - /* Check that buffer size is greater than bytes per frame */ - pj_assert(fport->bufsize >= PJMEDIA_PIA_AVG_FSZ(&fport->base.info)); - - - /* Allocate buffer and set initial write position */ - fport->buf = (char*) pj_pool_alloc(pool, fport->bufsize); - if (fport->buf == NULL) { - pj_file_close(fport->fd); - return PJ_ENOMEM; - } - fport->writepos = fport->buf; - - /* Done. */ - *p_port = &fport->base; - - PJ_LOG(4,(THIS_FILE, - "File writer '%.*s' created: samp.rate=%d, bufsize=%uKB", - (int)fport->base.info.name.slen, - fport->base.info.name.ptr, - PJMEDIA_PIA_SRATE(&fport->base.info), - fport->bufsize / 1000)); - - - return PJ_SUCCESS; -} - - - -/* - * Get current writing position. - */ -PJ_DEF(pj_ssize_t) pjmedia_wav_writer_port_get_pos( pjmedia_port *port ) -{ - struct file_port *fport; - - /* Sanity check */ - PJ_ASSERT_RETURN(port, -PJ_EINVAL); - - /* Check that this is really a writer port */ - PJ_ASSERT_RETURN(port->info.signature == SIGNATURE, -PJ_EINVALIDOP); - - fport = (struct file_port*) port; - - return fport->total; -} - - -/* - * Register callback. - */ -PJ_DEF(pj_status_t) pjmedia_wav_writer_port_set_cb( pjmedia_port *port, - pj_size_t pos, - void *user_data, - pj_status_t (*cb)(pjmedia_port *port, - void *usr_data)) -{ - struct file_port *fport; - - /* Sanity check */ - PJ_ASSERT_RETURN(port && cb, PJ_EINVAL); - - /* Check that this is really a writer port */ - PJ_ASSERT_RETURN(port->info.signature == SIGNATURE, PJ_EINVALIDOP); - - fport = (struct file_port*) port; - - fport->cb_size = pos; - fport->base.port_data.pdata = user_data; - fport->cb = cb; - - return PJ_SUCCESS; -} - - -#if defined(PJ_IS_BIG_ENDIAN) && PJ_IS_BIG_ENDIAN!=0 - static void swap_samples(pj_int16_t *samples, unsigned count) - { - unsigned i; - for (i=0; iwritepos - fport->buf; - pj_status_t status; - - /* Convert samples to little endian */ - swap_samples((pj_int16_t*)fport->buf, bytes/fport->bytes_per_sample); - - /* Write to file. */ - status = pj_file_write(fport->fd, fport->buf, &bytes); - - /* Reset writepos */ - fport->writepos = fport->buf; - - return status; -} - -/* - * Put a frame into the buffer. When the buffer is full, flush the buffer - * to the file. - */ -static pj_status_t file_put_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct file_port *fport = (struct file_port *)this_port; - unsigned frame_size; - - if (fport->fmt_tag == PJMEDIA_WAVE_FMT_TAG_PCM) - frame_size = frame->size; - else - frame_size = frame->size >> 1; - - /* Flush buffer if we don't have enough room for the frame. */ - if (fport->writepos + frame_size > fport->buf + fport->bufsize) { - pj_status_t status; - status = flush_buffer(fport); - if (status != PJ_SUCCESS) - return status; - } - - /* Check if frame is not too large. */ - PJ_ASSERT_RETURN(fport->writepos+frame_size <= fport->buf+fport->bufsize, - PJMEDIA_EFRMFILETOOBIG); - - /* Copy frame to buffer. */ - if (fport->fmt_tag == PJMEDIA_WAVE_FMT_TAG_PCM) { - pj_memcpy(fport->writepos, frame->buf, frame->size); - } else { - unsigned i; - pj_int16_t *src = (pj_int16_t*)frame->buf; - pj_uint8_t *dst = (pj_uint8_t*)fport->writepos; - - if (fport->fmt_tag == PJMEDIA_WAVE_FMT_TAG_ULAW) { - for (i = 0; i < frame_size; ++i) { - *dst++ = pjmedia_linear2ulaw(*src++); - } - } else { - for (i = 0; i < frame_size; ++i) { - *dst++ = pjmedia_linear2alaw(*src++); - } - } - - } - fport->writepos += frame_size; - - /* Increment total written, and check if we need to call callback */ - fport->total += frame_size; - if (fport->cb && fport->total >= fport->cb_size) { - pj_status_t (*cb)(pjmedia_port*, void*); - pj_status_t status; - - cb = fport->cb; - fport->cb = NULL; - - status = (*cb)(this_port, this_port->port_data.pdata); - return status; - } - - return PJ_SUCCESS; -} - -/* - * Get frame, basicy is a no-op operation. - */ -static pj_status_t file_get_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - PJ_UNUSED_ARG(this_port); - PJ_UNUSED_ARG(frame); - return PJ_EINVALIDOP; -} - -/* - * Close the port, modify file header with updated file length. - */ -static pj_status_t file_on_destroy(pjmedia_port *this_port) -{ - enum { FILE_LEN_POS = 4, DATA_LEN_POS = 40 }; - struct file_port *fport = (struct file_port *)this_port; - pj_off_t file_size; - pj_ssize_t bytes; - pj_uint32_t wave_file_len; - pj_uint32_t wave_data_len; - pj_status_t status; - pj_uint32_t data_len_pos = DATA_LEN_POS; - - /* Flush remaining buffers. */ - if (fport->writepos != fport->buf) - flush_buffer(fport); - - /* Get file size. */ - status = pj_file_getpos(fport->fd, &file_size); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Calculate wave fields */ - wave_file_len = (pj_uint32_t)(file_size - 8); - wave_data_len = (pj_uint32_t)(file_size - sizeof(pjmedia_wave_hdr)); - -#if defined(PJ_IS_BIG_ENDIAN) && PJ_IS_BIG_ENDIAN!=0 - wave_file_len = pj_swap32(wave_file_len); - wave_data_len = pj_swap32(wave_data_len); -#endif - - /* Seek to the file_len field. */ - status = pj_file_setpos(fport->fd, FILE_LEN_POS, PJ_SEEK_SET); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Write file_len */ - bytes = sizeof(wave_file_len); - status = pj_file_write(fport->fd, &wave_file_len, &bytes); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Write samples_len in FACT chunk */ - if (fport->fmt_tag != PJMEDIA_WAVE_FMT_TAG_PCM) { - enum { SAMPLES_LEN_POS = 44}; - pj_uint32_t wav_samples_len; - - /* Adjust wave_data_len & data_len_pos since there is FACT chunk */ - wave_data_len -= 12; - data_len_pos += 12; - wav_samples_len = wave_data_len; - - /* Seek to samples_len field. */ - status = pj_file_setpos(fport->fd, SAMPLES_LEN_POS, PJ_SEEK_SET); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Write samples_len */ - bytes = sizeof(wav_samples_len); - status = pj_file_write(fport->fd, &wav_samples_len, &bytes); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - } - - /* Seek to data_len field. */ - status = pj_file_setpos(fport->fd, data_len_pos, PJ_SEEK_SET); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Write file_len */ - bytes = sizeof(wave_data_len); - status = pj_file_write(fport->fd, &wave_data_len, &bytes); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Close file */ - status = pj_file_close(fport->fd); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Done. */ - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/wave.c b/res/pjproject/pjmedia/src/pjmedia/wave.c deleted file mode 100644 index 201a75b96f..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/wave.c +++ /dev/null @@ -1,58 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include - -/* - * Change the endianness of WAVE header fields. - */ -static void wave_hdr_swap_bytes( pjmedia_wave_hdr *hdr ) -{ -#if defined(PJ_IS_BIG_ENDIAN) && PJ_IS_BIG_ENDIAN!=0 - hdr->riff_hdr.riff = pj_swap32(hdr->riff_hdr.riff); - hdr->riff_hdr.file_len = pj_swap32(hdr->riff_hdr.file_len); - hdr->riff_hdr.wave = pj_swap32(hdr->riff_hdr.wave); - - hdr->fmt_hdr.fmt = pj_swap32(hdr->fmt_hdr.fmt); - hdr->fmt_hdr.len = pj_swap32(hdr->fmt_hdr.len); - hdr->fmt_hdr.fmt_tag = pj_swap16(hdr->fmt_hdr.fmt_tag); - hdr->fmt_hdr.nchan = pj_swap16(hdr->fmt_hdr.nchan); - hdr->fmt_hdr.sample_rate = pj_swap32(hdr->fmt_hdr.sample_rate); - hdr->fmt_hdr.bytes_per_sec = pj_swap32(hdr->fmt_hdr.bytes_per_sec); - hdr->fmt_hdr.block_align = pj_swap16(hdr->fmt_hdr.block_align); - hdr->fmt_hdr.bits_per_sample = pj_swap16(hdr->fmt_hdr.bits_per_sample); - - hdr->data_hdr.data = pj_swap32(hdr->data_hdr.data); - hdr->data_hdr.len = pj_swap32(hdr->data_hdr.len); -#else - PJ_UNUSED_ARG(hdr); -#endif -} - - -PJ_DEF(void) pjmedia_wave_hdr_file_to_host( pjmedia_wave_hdr *hdr ) -{ - wave_hdr_swap_bytes(hdr); -} - -PJ_DEF(void) pjmedia_wave_hdr_host_to_file( pjmedia_wave_hdr *hdr ) -{ - wave_hdr_swap_bytes(hdr); -} - diff --git a/res/pjproject/pjmedia/src/pjmedia/wsola.c b/res/pjproject/pjmedia/src/pjmedia/wsola.c deleted file mode 100644 index 34e6afc012..0000000000 --- a/res/pjproject/pjmedia/src/pjmedia/wsola.c +++ /dev/null @@ -1,1139 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include - -/* - * This file contains implementation of WSOLA using PJMEDIA_WSOLA_IMP_WSOLA - * or PJMEDIA_WSOLA_IMP_NULL - */ -#define THIS_FILE "wsola.c" - -/* - * http://trac.pjsip.org/repos/ticket/683: - * Workaround for segfault problem in the fixed point version of create_win() - * on ARM9 platform, possibly due to gcc optimization bug. - * - * For now, we will use linear window when floating point is disabled. - */ -#ifndef PJMEDIA_WSOLA_LINEAR_WIN -# define PJMEDIA_WSOLA_LINEAR_WIN (!PJ_HAS_FLOATING_POINT) -#endif - - -#if 0 -# define TRACE_(x) PJ_LOG(4,x) -#else -# define TRACE_(x) -#endif - -#if 0 -# define CHECK_(x) pj_assert(x) -#else -# define CHECK_(x) -#endif - - -#if (PJMEDIA_WSOLA_IMP==PJMEDIA_WSOLA_IMP_WSOLA) || \ - (PJMEDIA_WSOLA_IMP==PJMEDIA_WSOLA_IMP_WSOLA_LITE) - -/* - * WSOLA implementation using WSOLA - */ - -/* Buffer size including history, in frames */ -#define FRAME_CNT 6 - -/* Number of history frames in buffer */ -#define HIST_CNT 1.5 - -/* Template size, in msec */ -#define TEMPLATE_PTIME PJMEDIA_WSOLA_TEMPLATE_LENGTH_MSEC - -/* Hanning window size, in msec */ -#define HANNING_PTIME PJMEDIA_WSOLA_DELAY_MSEC - -/* Number of frames in erase buffer */ -#define ERASE_CNT ((unsigned)3) - -/* Minimum distance from template for find_pitch() of expansion, in frames */ -#define EXP_MIN_DIST 0.5 - -/* Maximum distance from template for find_pitch() of expansion, in frames */ -#define EXP_MAX_DIST HIST_CNT - -/* Duration of a continuous synthetic frames after which the volume - * of the synthetic frame will be set to zero with fading-out effect. - */ -#define MAX_EXPAND_MSEC PJMEDIA_WSOLA_MAX_EXPAND_MSEC - - -/* Buffer content: - * - * +---------+-----------+--------------------+ - * | history | min_extra | more extra / empty | - * +---------+-----------+--------------------+ - * ^ ^ ^ ^ - * buf hist_size min_extra buf_size - * - * History size (hist_size) is a constant value, initialized upon creation. - * - * min_extra size is equal to HANNING_PTIME, this samples is useful for - * smoothening samples transition between generated frame & history - * (when PLC is invoked), or between generated samples & normal frame - * (after lost/PLC). Since min_extra samples need to be available at - * any time, this will introduce delay of HANNING_PTIME ms. - * - * More extra is excess samples produced by PLC (PLC frame generation may - * produce more than exact one frame). - * - * At any particular time, the buffer will contain at least (hist_size + - * min_extra) samples. - * - * A "save" operation will append the new frame to the end of the buffer, - * return the frame from samples right after history and shift the buffer - * by one frame. - * - */ - -/* WSOLA structure */ -struct pjmedia_wsola -{ - unsigned clock_rate; /* Sampling rate. */ - pj_uint16_t samples_per_frame; /* Samples per frame (const) */ - pj_uint16_t channel_count; /* Channel countt (const) */ - pj_uint16_t options; /* Options. */ - - pjmedia_circ_buf *buf; /* The buffer. */ - pj_int16_t *erase_buf; /* Temporary erase buffer. */ - pj_int16_t *merge_buf; /* Temporary merge buffer. */ - - pj_uint16_t buf_size; /* Total buffer size (const) */ - pj_uint16_t hanning_size; /* Hanning window size (const) */ - pj_uint16_t templ_size; /* Template size (const) */ - pj_uint16_t hist_size; /* History size (const) */ - - pj_uint16_t min_extra; /* Minimum extra (const) */ - unsigned max_expand_cnt; /* Max # of synthetic samples */ - unsigned fade_out_pos; /* Last fade-out position */ - pj_uint16_t expand_sr_min_dist;/* Minimum distance from template - for find_pitch() on expansion - (const) */ - pj_uint16_t expand_sr_max_dist;/* Maximum distance from template - for find_pitch() on expansion - (const) */ - -#if defined(PJ_HAS_FLOATING_POINT) && PJ_HAS_FLOATING_POINT!=0 - float *hanning; /* Hanning window. */ -#else - pj_uint16_t *hanning; /* Hanning window. */ -#endif - - pj_timestamp ts; /* Running timestamp. */ - -}; - -#if (PJMEDIA_WSOLA_IMP==PJMEDIA_WSOLA_IMP_WSOLA_LITE) - -/* In this implementation, waveform similarity comparison is done by calculating - * the difference of total level between template frame and the target buffer - * for each template_cnt samples. The smallest difference value assumed to be - * the most similar block. This seems to be naive, however some tests show - * acceptable results and the processing speed is amazing. - * - * diff level = (template[1]+..+template[n]) - (target[1]+..+target[n]) - */ -static pj_int16_t *find_pitch(pj_int16_t *frm, pj_int16_t *beg, pj_int16_t *end, - unsigned template_cnt, int first) -{ - pj_int16_t *sr, *best=beg; - int best_corr = 0x7FFFFFFF; - int frm_sum = 0; - unsigned i; - - for (i = 0; i 0? corr : -corr; - - if (first) { - if (abs_corr < best_corr) { - best_corr = abs_corr; - best = sr; - } - } else { - if (abs_corr <= best_corr) { - best_corr = abs_corr; - best = sr; - } - } - } - - /*TRACE_((THIS_FILE, "found pitch at %u", best-beg));*/ - return best; -} - -#endif - -#if defined(PJ_HAS_FLOATING_POINT) && PJ_HAS_FLOATING_POINT!=0 -/* - * Floating point version. - */ - -#if (PJMEDIA_WSOLA_IMP==PJMEDIA_WSOLA_IMP_WSOLA) - -static pj_int16_t *find_pitch(pj_int16_t *frm, pj_int16_t *beg, pj_int16_t *end, - unsigned template_cnt, int first) -{ - pj_int16_t *sr, *best=beg; - double best_corr = 0; - - for (sr=beg; sr!=end; ++sr) { - double corr = 0; - unsigned i; - - /* Do calculation on 8 samples at once */ - for (i=0; i best_corr) { - best_corr = corr; - best = sr; - } - } else { - if (corr >= best_corr) { - best_corr = corr; - best = sr; - } - } - } - - /*TRACE_((THIS_FILE, "found pitch at %u", best-beg));*/ - return best; -} - -#endif - -static void overlapp_add(pj_int16_t dst[], unsigned count, - pj_int16_t l[], pj_int16_t r[], - float w[]) -{ - unsigned i; - - for (i=0; i best_corr) { - best_corr = corr; - best = sr; - } - } else { - if (corr >= best_corr) { - best_corr = corr; - best = sr; - } - } - } - - /*TRACE_((THIS_FILE, "found pitch at %u", best-beg));*/ - return best; -} - -#endif - - -static void overlapp_add(pj_int16_t dst[], unsigned count, - pj_int16_t l[], pj_int16_t r[], - pj_uint16_t w[]) -{ - unsigned i; - - for (i=0; i> WINDOW_BITS); - } -} - -static void overlapp_add_simple(pj_int16_t dst[], unsigned count, - pj_int16_t l[], pj_int16_t r[]) -{ - int step = ((WINDOW_MAX_VAL+1) / count), - stepdown = WINDOW_MAX_VAL; - unsigned i; - - for (i=0; i> WINDOW_BITS); - stepdown -= step; - } -} - -#if PJ_HAS_INT64 && !PJMEDIA_WSOLA_LINEAR_WIN -/* approx_cos(): - * see: http://www.audiomulch.com/~rossb/code/sinusoids/ - */ -static pj_uint32_t approx_cos( pj_uint32_t x ) -{ - pj_uint32_t i,j,k; - - if( x == 0 ) - return 0xFFFFFFFF; - - i = x << 1; - k = ((x + 0xBFFFFFFD) & 0x80000000) >> 30; - j = i - i * ((i & 0x80000000)>>30); - j = j >> 15; - j = (j * j + j) >> 1; - j = j - j * k; - - return j; -} -#endif /* PJ_HAS_INT64 && .. */ - -static void create_win(pj_pool_t *pool, pj_uint16_t **pw, unsigned count) -{ - - unsigned i; - pj_uint16_t *w = (pj_uint16_t*)pj_pool_calloc(pool, count, - sizeof(pj_uint16_t)); - - *pw = w; - - for (i=0; imax_expand_cnt; -#if defined(PJ_HAS_FLOATING_POINT) && PJ_HAS_FLOATING_POINT!=0 - float fade_pos = (float)wsola->fade_out_pos; -#else - int fade_pos = wsola->fade_out_pos; -#endif - - if (wsola->fade_out_pos == 0) { - pjmedia_zero_samples(buf, count); - } else if (fade_pos < count) { - for (; fade_pos; --fade_pos, ++buf) { - *buf = (pj_int16_t)(*buf * fade_pos / fade_cnt); - } - if (buf != end) - pjmedia_zero_samples(buf, end - buf); - wsola->fade_out_pos = 0; - } else { - for (; buf != end; --fade_pos, ++buf) { - *buf = (pj_int16_t)(*buf * fade_pos / fade_cnt); - } - wsola->fade_out_pos -= count; - } -} - - -PJ_DEF(pj_status_t) pjmedia_wsola_create( pj_pool_t *pool, - unsigned clock_rate, - unsigned samples_per_frame, - unsigned channel_count, - unsigned options, - pjmedia_wsola **p_wsola) -{ - pjmedia_wsola *wsola; - pj_status_t status; - - PJ_ASSERT_RETURN(pool && clock_rate && samples_per_frame && p_wsola, - PJ_EINVAL); - PJ_ASSERT_RETURN(clock_rate <= 65535, PJ_EINVAL); - PJ_ASSERT_RETURN(samples_per_frame < clock_rate, PJ_EINVAL); - PJ_ASSERT_RETURN(channel_count > 0, PJ_EINVAL); - - /* Allocate wsola and initialize vars */ - wsola = PJ_POOL_ZALLOC_T(pool, pjmedia_wsola); - wsola->clock_rate= (pj_uint16_t) clock_rate; - wsola->samples_per_frame = (pj_uint16_t) samples_per_frame; - wsola->channel_count = (pj_uint16_t) channel_count; - wsola->options = (pj_uint16_t) options; - wsola->max_expand_cnt = clock_rate * MAX_EXPAND_MSEC / 1000; - wsola->fade_out_pos = wsola->max_expand_cnt; - - /* Create circular buffer */ - wsola->buf_size = (pj_uint16_t) (samples_per_frame * FRAME_CNT); - status = pjmedia_circ_buf_create(pool, wsola->buf_size, &wsola->buf); - if (status != PJ_SUCCESS) { - PJ_LOG(3, (THIS_FILE, "Failed to create circular buf")); - return status; - } - - /* Calculate history size */ - wsola->hist_size = (pj_uint16_t)(HIST_CNT * samples_per_frame); - - /* Calculate template size */ - wsola->templ_size = (pj_uint16_t)(TEMPLATE_PTIME * clock_rate * - channel_count / 1000); - if (wsola->templ_size > samples_per_frame) - wsola->templ_size = wsola->samples_per_frame; - - /* Calculate hanning window size */ - wsola->hanning_size = (pj_uint16_t)(HANNING_PTIME * clock_rate * - channel_count / 1000); - if (wsola->hanning_size > wsola->samples_per_frame) - wsola->hanning_size = wsola->samples_per_frame; - - pj_assert(wsola->templ_size <= wsola->hanning_size); - - /* Create merge buffer */ - wsola->merge_buf = (pj_int16_t*) pj_pool_calloc(pool, - wsola->hanning_size, - sizeof(pj_int16_t)); - - /* Setup with PLC */ - if ((options & PJMEDIA_WSOLA_NO_PLC) == 0) { - wsola->min_extra = wsola->hanning_size; - wsola->expand_sr_min_dist = (pj_uint16_t) - (EXP_MIN_DIST * wsola->samples_per_frame); - wsola->expand_sr_max_dist = (pj_uint16_t) - (EXP_MAX_DIST * wsola->samples_per_frame); - } - - /* Setup with hanning */ - if ((options & PJMEDIA_WSOLA_NO_HANNING) == 0) { - create_win(pool, &wsola->hanning, wsola->hanning_size); - } - - /* Setup with discard */ - if ((options & PJMEDIA_WSOLA_NO_DISCARD) == 0) { - wsola->erase_buf = (pj_int16_t*)pj_pool_calloc(pool, samples_per_frame * - ERASE_CNT, - sizeof(pj_int16_t)); - } - - /* Generate dummy extra */ - pjmedia_circ_buf_set_len(wsola->buf, wsola->hist_size + wsola->min_extra); - - *p_wsola = wsola; - return PJ_SUCCESS; - -} - -PJ_DEF(pj_status_t) pjmedia_wsola_destroy(pjmedia_wsola *wsola) -{ - /* Nothing to do */ - PJ_UNUSED_ARG(wsola); - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_wsola_set_max_expand(pjmedia_wsola *wsola, - unsigned msec) -{ - PJ_ASSERT_RETURN(wsola, PJ_EINVAL); - wsola->max_expand_cnt = msec * wsola->clock_rate / 1000; - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjmedia_wsola_reset( pjmedia_wsola *wsola, - unsigned options) -{ - PJ_ASSERT_RETURN(wsola && options==0, PJ_EINVAL); - PJ_UNUSED_ARG(options); - - pjmedia_circ_buf_reset(wsola->buf); - pjmedia_circ_buf_set_len(wsola->buf, wsola->hist_size + wsola->min_extra); - pjmedia_zero_samples(wsola->buf->start, wsola->buf->len); - wsola->fade_out_pos = wsola->max_expand_cnt; - - return PJ_SUCCESS; -} - - -static void expand(pjmedia_wsola *wsola, unsigned needed) -{ - unsigned generated = 0; - unsigned rep; - - pj_int16_t *reg1, *reg2; - unsigned reg1_len, reg2_len; - - pjmedia_circ_buf_pack_buffer(wsola->buf); - pjmedia_circ_buf_get_read_regions(wsola->buf, ®1, ®1_len, - ®2, ®2_len); - CHECK_(reg2_len == 0); - - for (rep=1;; ++rep) { - pj_int16_t *start, *templ; - unsigned dist; - - templ = reg1 + reg1_len - wsola->hanning_size; - CHECK_(templ - reg1 >= wsola->hist_size); - - start = find_pitch(templ, - templ - wsola->expand_sr_max_dist, - templ - wsola->expand_sr_min_dist, - wsola->templ_size, - 1); - - /* Should we make sure that "start" is really aligned to - * channel #0, in case of stereo? Probably not necessary, as - * find_pitch() should have found the best match anyway. - */ - - if (wsola->options & PJMEDIA_WSOLA_NO_HANNING) { - overlapp_add_simple(wsola->merge_buf, wsola->hanning_size, - templ, start); - } else { - /* Check if pointers are in the valid range */ - CHECK_(templ >= wsola->buf->buf && - templ + wsola->hanning_size <= - wsola->buf->buf + wsola->buf->capacity); - CHECK_(start >= wsola->buf->buf && - start + wsola->hanning_size <= - wsola->buf->buf + wsola->buf->capacity); - - overlapp_add(wsola->merge_buf, wsola->hanning_size, templ, - start, wsola->hanning); - } - - /* How many new samples do we have */ - dist = templ - start; - - /* Not enough buffer to hold the result */ - if (reg1_len + dist > wsola->buf_size) { - pj_assert(!"WSOLA buffer size may be to small!"); - break; - } - - /* Copy the "tail" (excess frame) to the end */ - pjmedia_move_samples(templ + wsola->hanning_size, - start + wsola->hanning_size, - dist); - - /* Copy the merged frame */ - pjmedia_copy_samples(templ, wsola->merge_buf, wsola->hanning_size); - - /* We have new samples */ - reg1_len += dist; - pjmedia_circ_buf_set_len(wsola->buf, reg1_len); - - generated += dist; - - if (generated >= needed) { - TRACE_((THIS_FILE, "WSOLA frame expanded after %d iterations", - rep)); - break; - } - } -} - - -static unsigned compress(pjmedia_wsola *wsola, pj_int16_t *buf, unsigned count, - unsigned del_cnt) -{ - unsigned samples_del = 0, rep; - - for (rep=1; ; ++rep) { - pj_int16_t *start, *end; - unsigned dist; - - if (count <= wsola->hanning_size + del_cnt) { - TRACE_((THIS_FILE, "Not enough samples to compress!")); - return samples_del; - } - - // Make start distance to del_cnt, so discard will be performed in - // only one iteration. - //start = buf + (frmsz >> 1); - start = buf + del_cnt - samples_del; - end = start + wsola->samples_per_frame; - - if (end + wsola->hanning_size > buf + count) { - end = buf+count-wsola->hanning_size; - } - - CHECK_(start < end); - - start = find_pitch(buf, start, end, wsola->templ_size, 0); - dist = start - buf; - - if (wsola->options & PJMEDIA_WSOLA_NO_HANNING) { - overlapp_add_simple(buf, wsola->hanning_size, buf, start); - } else { - overlapp_add(buf, wsola->hanning_size, buf, start, wsola->hanning); - } - - pjmedia_move_samples(buf + wsola->hanning_size, - buf + wsola->hanning_size + dist, - count - wsola->hanning_size - dist); - - count -= dist; - samples_del += dist; - - if (samples_del >= del_cnt) { - TRACE_((THIS_FILE, - "Erased %d of %d requested after %d iteration(s)", - samples_del, del_cnt, rep)); - break; - } - } - - return samples_del; -} - - - -PJ_DEF(pj_status_t) pjmedia_wsola_save( pjmedia_wsola *wsola, - pj_int16_t frm[], - pj_bool_t prev_lost) -{ - unsigned buf_len; - pj_status_t status; - - buf_len = pjmedia_circ_buf_get_len(wsola->buf); - - /* Update vars */ - wsola->ts.u64 += wsola->samples_per_frame; - - /* If previous frame was lost, smoothen this frame with the generated one */ - if (prev_lost) { - pj_int16_t *reg1, *reg2; - unsigned reg1_len, reg2_len; - pj_int16_t *ola_left; - - /* Trim excessive len */ - if ((int)buf_len > wsola->hist_size + (wsola->min_extra<<1)) { - buf_len = wsola->hist_size + (wsola->min_extra<<1); - pjmedia_circ_buf_set_len(wsola->buf, buf_len); - } - - pjmedia_circ_buf_get_read_regions(wsola->buf, ®1, ®1_len, - ®2, ®2_len); - - CHECK_(pjmedia_circ_buf_get_len(wsola->buf) >= - (unsigned)(wsola->hist_size + (wsola->min_extra<<1))); - - /* Continue applying fade out to the extra samples */ - if ((wsola->options & PJMEDIA_WSOLA_NO_FADING)==0) { - if (reg2_len == 0) { - wsola_fade_out(wsola, reg1 + reg1_len - (wsola->min_extra<<1), - (wsola->min_extra<<1)); - } else if ((int)reg2_len >= (wsola->min_extra<<1)) { - wsola_fade_out(wsola, reg2 + reg2_len - (wsola->min_extra<<1), - (wsola->min_extra<<1)); - } else { - unsigned tmp = (wsola->min_extra<<1) - reg2_len; - wsola_fade_out(wsola, reg1 + reg1_len - tmp, tmp); - wsola_fade_out(wsola, reg2, reg2_len); - } - } - - /* Get the region in buffer to be merged with the frame */ - if (reg2_len == 0) { - ola_left = reg1 + reg1_len - wsola->min_extra; - } else if (reg2_len >= wsola->min_extra) { - ola_left = reg2 + reg2_len - wsola->min_extra; - } else { - unsigned tmp; - - tmp = wsola->min_extra - reg2_len; - pjmedia_copy_samples(wsola->merge_buf, reg1 + reg1_len - tmp, tmp); - pjmedia_copy_samples(wsola->merge_buf + tmp, reg2, reg2_len); - ola_left = wsola->merge_buf; - } - - /* Apply fade-in to the frame before merging */ - if ((wsola->options & PJMEDIA_WSOLA_NO_FADING)==0) { - unsigned count = wsola->min_extra; - int fade_in_pos; - - /* Scale fade_in position based on last fade-out */ - fade_in_pos = wsola->fade_out_pos * count / - wsola->max_expand_cnt; - - /* Fade-in it */ - fade_in(frm, wsola->samples_per_frame, - fade_in_pos, count); - } - - /* Merge it */ - overlapp_add_simple(frm, wsola->min_extra, ola_left, frm); - - /* Trim len */ - buf_len -= wsola->min_extra; - pjmedia_circ_buf_set_len(wsola->buf, buf_len); - - } else if ((wsola->options & PJMEDIA_WSOLA_NO_FADING)==0 && - wsola->fade_out_pos != wsola->max_expand_cnt) - { - unsigned count = wsola->min_extra; - int fade_in_pos; - - /* Fade out the remaining synthetic samples */ - if (buf_len > wsola->hist_size) { - pj_int16_t *reg1, *reg2; - unsigned reg1_len, reg2_len; - - /* Number of samples to fade out */ - count = buf_len - wsola->hist_size; - - pjmedia_circ_buf_get_read_regions(wsola->buf, ®1, ®1_len, - ®2, ®2_len); - - CHECK_(pjmedia_circ_buf_get_len(wsola->buf) >= - (unsigned)(wsola->hist_size + (wsola->min_extra<<1))); - - /* Continue applying fade out to the extra samples */ - if (reg2_len == 0) { - wsola_fade_out(wsola, reg1 + reg1_len - count, count); - } else if (reg2_len >= count) { - wsola_fade_out(wsola, reg2 + reg2_len - count, count); - } else { - unsigned tmp = count - reg2_len; - wsola_fade_out(wsola, reg1 + reg1_len - tmp, tmp); - wsola_fade_out(wsola, reg2, reg2_len); - } - } - - /* Apply fade-in to the frame */ - count = wsola->min_extra; - - /* Scale fade_in position based on last fade-out */ - fade_in_pos = wsola->fade_out_pos * count / - wsola->max_expand_cnt; - - /* Fade it in */ - fade_in(frm, wsola->samples_per_frame, - fade_in_pos, count); - - } - - wsola->fade_out_pos = wsola->max_expand_cnt; - - status = pjmedia_circ_buf_write(wsola->buf, frm, wsola->samples_per_frame); - if (status != PJ_SUCCESS) { - TRACE_((THIS_FILE, "Failed writing to circbuf [err=%d]", status)); - return status; - } - - status = pjmedia_circ_buf_copy(wsola->buf, wsola->hist_size, frm, - wsola->samples_per_frame); - if (status != PJ_SUCCESS) { - TRACE_((THIS_FILE, "Failed copying from circbuf [err=%d]", status)); - return status; - } - - return pjmedia_circ_buf_adv_read_ptr(wsola->buf, wsola->samples_per_frame); -} - - -PJ_DEF(pj_status_t) pjmedia_wsola_generate( pjmedia_wsola *wsola, - pj_int16_t frm[]) -{ - unsigned samples_len, samples_req; - pj_status_t status = PJ_SUCCESS; - - CHECK_(pjmedia_circ_buf_get_len(wsola->buf) >= wsola->hist_size + - wsola->min_extra); - - /* Calculate how many samples in the buffer */ - samples_len = pjmedia_circ_buf_get_len(wsola->buf) - wsola->hist_size; - - /* Calculate how many samples are required to be available in the buffer */ - samples_req = wsola->samples_per_frame + (wsola->min_extra << 1); - - wsola->ts.u64 += wsola->samples_per_frame; - - if (samples_len < samples_req) { - /* Expand buffer */ - expand(wsola, samples_req - samples_len); - TRACE_((THIS_FILE, "Buf size after expanded = %d", - pjmedia_circ_buf_get_len(wsola->buf))); - } - - status = pjmedia_circ_buf_copy(wsola->buf, wsola->hist_size, frm, - wsola->samples_per_frame); - if (status != PJ_SUCCESS) { - TRACE_((THIS_FILE, "Failed copying from circbuf [err=%d]", status)); - return status; - } - - pjmedia_circ_buf_adv_read_ptr(wsola->buf, wsola->samples_per_frame); - - /* Apply fade-out to the frame */ - if ((wsola->options & PJMEDIA_WSOLA_NO_FADING)==0) { - wsola_fade_out(wsola, frm, wsola->samples_per_frame); - } - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_wsola_discard( pjmedia_wsola *wsola, - pj_int16_t buf1[], - unsigned buf1_cnt, - pj_int16_t buf2[], - unsigned buf2_cnt, - unsigned *del_cnt) -{ - PJ_ASSERT_RETURN(wsola && buf1 && buf1_cnt && del_cnt, PJ_EINVAL); - PJ_ASSERT_RETURN(*del_cnt, PJ_EINVAL); - - if (buf2_cnt == 0) { - /* The whole buffer is contiguous space, straight away. */ - *del_cnt = compress(wsola, buf1, buf1_cnt, *del_cnt); - } else { - PJ_ASSERT_RETURN(buf2, PJ_EINVAL); - - if (buf1_cnt < ERASE_CNT * wsola->samples_per_frame && - buf2_cnt < ERASE_CNT * wsola->samples_per_frame && - wsola->erase_buf == NULL) - { - /* We need erase_buf but WSOLA was created with - * PJMEDIA_WSOLA_NO_DISCARD flag. - */ - pj_assert(!"WSOLA need erase buffer!"); - return PJ_EINVALIDOP; - } - - if (buf2_cnt >= ERASE_CNT * wsola->samples_per_frame) { - /* Enough space to perform compress in the second buffer. */ - *del_cnt = compress(wsola, buf2, buf2_cnt, *del_cnt); - } else if (buf1_cnt >= ERASE_CNT * wsola->samples_per_frame) { - /* Enough space to perform compress in the first buffer, but then - * we need to re-arrange the buffers so there is no gap between - * buffers. - */ - unsigned max; - - *del_cnt = compress(wsola, buf1, buf1_cnt, *del_cnt); - - max = *del_cnt; - if (max > buf2_cnt) - max = buf2_cnt; - - pjmedia_move_samples(buf1 + buf1_cnt - (*del_cnt), buf2, max); - - if (max < buf2_cnt) { - pjmedia_move_samples(buf2, buf2+(*del_cnt), - buf2_cnt-max); - } - } else { - /* Not enough samples in either buffers to perform compress. - * Need to combine the buffers in a contiguous space, the erase_buf. - */ - unsigned buf_size = buf1_cnt + buf2_cnt; - pj_int16_t *rem; /* remainder */ - unsigned rem_cnt; - - if (buf_size > ERASE_CNT * wsola->samples_per_frame) { - buf_size = ERASE_CNT * wsola->samples_per_frame; - - rem_cnt = buf1_cnt + buf2_cnt - buf_size; - rem = buf2 + buf2_cnt - rem_cnt; - - } else { - rem = NULL; - rem_cnt = 0; - } - - pjmedia_copy_samples(wsola->erase_buf, buf1, buf1_cnt); - pjmedia_copy_samples(wsola->erase_buf+buf1_cnt, buf2, - buf_size-buf1_cnt); - - *del_cnt = compress(wsola, wsola->erase_buf, buf_size, *del_cnt); - - buf_size -= (*del_cnt); - - /* Copy back to buffers */ - if (buf_size == buf1_cnt) { - pjmedia_copy_samples(buf1, wsola->erase_buf, buf_size); - if (rem_cnt) { - pjmedia_move_samples(buf2, rem, rem_cnt); - } - } else if (buf_size < buf1_cnt) { - pjmedia_copy_samples(buf1, wsola->erase_buf, buf_size); - if (rem_cnt) { - unsigned c = rem_cnt; - if (c > buf1_cnt-buf_size) { - c = buf1_cnt-buf_size; - } - pjmedia_copy_samples(buf1+buf_size, rem, c); - rem += c; - rem_cnt -= c; - if (rem_cnt) - pjmedia_move_samples(buf2, rem, rem_cnt); - } - } else { - pjmedia_copy_samples(buf1, wsola->erase_buf, buf1_cnt); - pjmedia_copy_samples(buf2, wsola->erase_buf+buf1_cnt, - buf_size-buf1_cnt); - if (rem_cnt) { - pjmedia_move_samples(buf2+buf_size-buf1_cnt, rem, - rem_cnt); - } - } - - } - } - - return (*del_cnt) > 0 ? PJ_SUCCESS : PJ_ETOOSMALL; -} - - -#elif PJMEDIA_WSOLA_IMP==PJMEDIA_WSOLA_IMP_NULL -/* - * WSOLA implementation using NULL - */ - -struct pjmedia_wsola -{ - unsigned samples_per_frame; -}; - - -PJ_DEF(pj_status_t) pjmedia_wsola_create( pj_pool_t *pool, - unsigned clock_rate, - unsigned samples_per_frame, - unsigned channel_count, - unsigned options, - pjmedia_wsola **p_wsola) -{ - pjmedia_wsola *wsola; - - wsola = PJ_POOL_ZALLOC_T(pool, struct pjmedia_wsola); - wsola->samples_per_frame = samples_per_frame; - - PJ_UNUSED_ARG(clock_rate); - PJ_UNUSED_ARG(channel_count); - PJ_UNUSED_ARG(options); - - *p_wsola = wsola; - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_wsola_destroy(pjmedia_wsola *wsola) -{ - PJ_UNUSED_ARG(wsola); - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_wsola_reset( pjmedia_wsola *wsola, - unsigned options) -{ - PJ_UNUSED_ARG(wsola); - PJ_UNUSED_ARG(options); - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_wsola_save( pjmedia_wsola *wsola, - pj_int16_t frm[], - pj_bool_t prev_lost) -{ - PJ_UNUSED_ARG(wsola); - PJ_UNUSED_ARG(frm); - PJ_UNUSED_ARG(prev_lost); - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_wsola_generate( pjmedia_wsola *wsola, - pj_int16_t frm[]) -{ - pjmedia_zero_samples(frm, wsola->samples_per_frame); - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjmedia_wsola_discard( pjmedia_wsola *wsola, - pj_int16_t buf1[], - unsigned buf1_cnt, - pj_int16_t buf2[], - unsigned buf2_cnt, - unsigned *del_cnt) -{ - CHECK_(buf1_cnt + buf2_cnt >= wsola->samples_per_frame); - - PJ_UNUSED_ARG(buf1); - PJ_UNUSED_ARG(buf1_cnt); - PJ_UNUSED_ARG(buf2); - PJ_UNUSED_ARG(buf2_cnt); - - *del_cnt = wsola->samples_per_frame; - - return PJ_SUCCESS; -} - -#endif /* #if PJMEDIA_WSOLA_IMP.. */ - - diff --git a/res/pjproject/pjmedia/src/test/audio_tool.c b/res/pjproject/pjmedia/src/test/audio_tool.c deleted file mode 100644 index a2a59ab5d5..0000000000 --- a/res/pjproject/pjmedia/src/test/audio_tool.c +++ /dev/null @@ -1,410 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - -#define THIS_FILE "audio_tool.c" - -static pj_caching_pool caching_pool; -static pj_pool_factory *pf; -static FILE *fhnd; -static pj_med_mgr_t *mm; -static pjmedia_codec *codec; -static pjmedia_codec_param cattr; - - -#define WRITE_ORIGINAL_PCM 0 -#if WRITE_ORIGINAL_PCM -static FILE *fhnd_pcm; -#endif - -static char talker_sdp[] = - "v=0\r\n" - "o=- 0 0 IN IP4 127.0.0.1\r\n" - "s=-\r\n" - "c=IN IP4 127.0.0.1\r\n" - "t=0 0\r\n" - "m=audio 4002 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "a=sendonly\r\n"; -static char listener_sdp[] = - "v=0\r\n" - "o=- 0 0 IN IP4 127.0.0.1\r\n" - "s=-\r\n" - "c=IN IP4 127.0.0.1\r\n" - "t=0 0\r\n" - "m=audio 4000 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "a=recvonly\r\n"; - -static pj_status_t play_callback(/* in */ void *user_data, - /* in */ pj_uint32_t timestamp, - /* out */ void *frame, - /* out */ unsigned size) -{ - char pkt[160]; - struct pjmedia_frame in, out; - int frmsz = cattr.avg_bps / 8 * cattr.ptime / 1000; - - if (fread(pkt, frmsz, 1, fhnd) != 1) { - puts("EOF"); - return -1; - } else { - in.type = PJMEDIA_FRAME_TYPE_AUDIO; - in.buf = pkt; - in.size = frmsz; - out.buf = frame; - if (codec->op->decode (codec, &in, size, &out) != 0) - return -1; - - size = out.size; - return 0; - } -} - -static pj_status_t rec_callback( /* in */ void *user_data, - /* in */ pj_uint32_t timestamp, - /* in */ const void *frame, - /* in*/ unsigned size) -{ - char pkt[160]; - struct pjmedia_frame in, out; - //int frmsz = cattr.avg_bps / 8 * cattr.ptime / 1000; - -#if WRITE_ORIGINAL_PCM - fwrite(frame, size, 1, fhnd_pcm); -#endif - - in.type = PJMEDIA_FRAME_TYPE_AUDIO; - in.buf = (void*)frame; - in.size = size; - out.buf = pkt; - - if (codec->op->encode(codec, &in, sizeof(pkt), &out) != 0) - return -1; - - if (fwrite(pkt, out.size, 1, fhnd) != 1) - return -1; - return 0; -} - -static pj_status_t init() -{ - pjmedia_codec_mgr *cm; - pjmedia_codec_info id; - int i; - - pj_caching_pool_init(&caching_pool, &pj_pool_factory_default_policy, 0); - pf = &caching_pool.factory; - - if (pj_snd_init(&caching_pool.factory)) - return -1; - - PJ_LOG(3,(THIS_FILE, "Dumping audio devices:")); - for (i=0; iname, - info->input_count, info->output_count)); - } - - mm = pj_med_mgr_create (&caching_pool.factory); - cm = pj_med_mgr_get_codec_mgr (mm); - - id.type = PJMEDIA_TYPE_AUDIO; - id.pt = 0; - id.encoding_name = pj_str("PCMU"); - id.sample_rate = 8000; - - codec = pjmedia_codec_mgr_alloc_codec (cm, &id); - codec->op->default_attr(codec, &cattr); - codec->op->open(codec, &cattr); - return 0; -} - -static pj_status_t deinit() -{ - pjmedia_codec_mgr *cm; - cm = pj_med_mgr_get_codec_mgr (mm); - codec->op->close(codec); - pjmedia_codec_mgr_dealloc_codec (cm, codec); - pj_med_mgr_destroy (mm); - pj_caching_pool_destroy(&caching_pool); - return 0; -} - -static pj_status_t record_file (const char *filename) -{ - pj_snd_stream *stream; - pj_snd_stream_info info; - int status; - char s[10]; - - printf("Recording to file %s...\n", filename); - - fhnd = fopen(filename, "wb"); - if (!fhnd) - return -1; - -#if WRITE_ORIGINAL_PCM - fhnd_pcm = fopen("ORIGINAL.PCM", "wb"); - if (!fhnd_pcm) - return -1; -#endif - - pj_bzero(&info, sizeof(info)); - info.bits_per_sample = 16; - info.bytes_per_frame = 2; - info.frames_per_packet = 160; - info.samples_per_frame = 1; - info.samples_per_sec = 8000; - - stream = pj_snd_open_recorder(-1, &info, &rec_callback, NULL); - if (!stream) - return -1; - - status = pj_snd_stream_start(stream); - if (status != 0) - goto on_error; - - puts("Press to exit recording"); - fgets(s, sizeof(s), stdin); - - pj_snd_stream_stop(stream); - pj_snd_stream_close(stream); - -#if WRITE_ORIGINAL_PCM - fclose(fhnd_pcm); -#endif - fclose(fhnd); - return 0; - -on_error: - pj_snd_stream_stop(stream); - pj_snd_stream_close(stream); - return -1; -} - - -static pj_status_t play_file (const char *filename) -{ - pj_snd_stream *stream; - pj_snd_stream_info info; - int status; - char s[10]; - - printf("Playing file %s...\n", filename); - - fhnd = fopen(filename, "rb"); - if (!fhnd) - return -1; - - pj_bzero(&info, sizeof(info)); - info.bits_per_sample = 16; - info.bytes_per_frame = 2; - info.frames_per_packet = 160; - info.samples_per_frame = 1; - info.samples_per_sec = 8000; - - stream = pj_snd_open_player(-1, &info, &play_callback, NULL); - if (!stream) - return -1; - - status = pj_snd_stream_start(stream); - if (status != 0) - goto on_error; - - puts("Press to exit playing"); - fgets(s, sizeof(s), stdin); - - pj_snd_stream_stop(stream); - pj_snd_stream_close(stream); - - fclose(fhnd); - return 0; - -on_error: - pj_snd_stream_stop(stream); - pj_snd_stream_close(stream); - return -1; -} - -static int create_ses_by_remote_sdp(int local_port, char *sdp) -{ - pj_media_session_t *ses = NULL; - pjsdp_session_desc *sdp_ses; - pj_media_sock_info skinfo; - pj_pool_t *pool; - char s[4]; - const pj_media_stream_info *info[2]; - int i, count; - - pool = pj_pool_create(pf, "sdp", 1024, 0, NULL); - if (!pool) { - PJ_LOG(1,(THIS_FILE, "Unable to create pool")); - return -1; - } - - pj_bzero(&skinfo, sizeof(skinfo)); - skinfo.rtp_sock = skinfo.rtcp_sock = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, 0); - if (skinfo.rtp_sock == PJ_INVALID_SOCKET) { - PJ_LOG(1,(THIS_FILE, "Unable to create socket")); - goto on_error; - } - - pj_sockaddr_init2(&skinfo.rtp_addr_name, "0.0.0.0", local_port); - if (pj_sock_bind(skinfo.rtp_sock, (struct pj_sockaddr*)&skinfo.rtp_addr_name, sizeof(pj_sockaddr_in)) != 0) { - PJ_LOG(1,(THIS_FILE, "Unable to bind socket")); - goto on_error; - } - - sdp_ses = pjsdp_parse(sdp, strlen(sdp), pool); - if (!sdp_ses) { - PJ_LOG(1,(THIS_FILE, "Error parsing SDP")); - goto on_error; - } - - ses = pj_media_session_create_from_sdp(mm, sdp_ses, &skinfo); - if (!ses) { - PJ_LOG(1,(THIS_FILE, "Unable to create session from SDP")); - goto on_error; - } - - if (pj_media_session_activate(ses) != 0) { - PJ_LOG(1,(THIS_FILE, "Error activating session")); - goto on_error; - } - - count = pj_media_session_enum_streams(ses, 2, info); - printf("\nDumping streams: \n"); - for (i=0; idir) { - case PJMEDIA_DIR_NONE: - dir = "- NONE -"; break; - case PJMEDIA_DIR_ENCODING: - dir = "SENDONLY"; break; - case PJMEDIA_DIR_DECODING: - dir = "RECVONLY"; break; - case PJMEDIA_DIR_ENCODING_DECODING: - dir = "SENDRECV"; break; - default: - dir = "?UNKNOWN"; break; - } - - local_ip = pj_sockaddr_get_str_addr(&info[i]->sock_info.rtp_addr_name); - - printf(" Stream %d: %.*s %s local=%s:%d remote=%.*s:%d\n", - i, info[i]->type.slen, info[i]->type.ptr, - dir, - local_ip, pj_sockaddr_get_port(&info[i]->sock_info.rtp_addr_name), - info[i]->rem_addr.slen, info[i]->rem_addr.ptr, info[i]->rem_port); - } - - puts("Press to quit"); - fgets(s, sizeof(s), stdin); - - pj_media_session_destroy(ses); - pj_sock_close(skinfo.rtp_sock); - pj_pool_release(pool); - - return 0; - -on_error: - if (ses) - pj_media_session_destroy(ses); - if (skinfo.rtp_sock != PJ_INVALID_SOCKET) - pj_sock_close(skinfo.rtp_sock); - if (pool) - pj_pool_release(pool); - return -1; -} - -#if WRITE_ORIGINAL_PCM -static pj_status_t convert(const char *src, const char *dst) -{ - char pcm[320]; - char frame[160]; - struct pjmedia_frame in, out; - - fhnd_pcm = fopen(src, "rb"); - if (!fhnd_pcm) - return -1; - fhnd = fopen(dst, "wb"); - if (!fhnd) - return -1; - - while (fread(pcm, 320, 1, fhnd_pcm) == 1) { - - in.type = PJMEDIA_FRAME_TYPE_AUDIO; - in.buf = pcm; - in.size = 320; - out.buf = frame; - - if (codec->op->encode(codec, &in, 160, &out) != 0) - break; - - if (fwrite(frame, out.size, 1, fhnd) != 1) - break; - - } - - fclose(fhnd); - fclose(fhnd_pcm); - return 0; -} -#endif - -static void usage(const char *exe) -{ - printf("Usage: %s \n", exe); - puts("where:"); - puts(" play|record|send|recv"); -} - -int main(int argc, char *argv[]) -{ - if (argc < 2) { - usage(argv[0]); - return 1; - } - - pj_init(); - - init(); - - if (stricmp(argv[1], "record")==0) { - record_file("FILE.PCM"); - } else if (stricmp(argv[1], "play")==0) { - play_file("FILE.PCM"); - } else if (stricmp(argv[1], "send")==0) { - create_ses_by_remote_sdp(4002, listener_sdp); - } else if (stricmp(argv[1], "recv")==0) { - create_ses_by_remote_sdp(4000, talker_sdp); - } else { - usage(argv[0]); - } - deinit(); - return 0; -} diff --git a/res/pjproject/pjmedia/src/test/codec_vectors.c b/res/pjproject/pjmedia/src/test/codec_vectors.c deleted file mode 100644 index 5257b5a70c..0000000000 --- a/res/pjproject/pjmedia/src/test/codec_vectors.c +++ /dev/null @@ -1,626 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include - -#define THIS_FILE "codec_vectors.c" -#define TMP_OUT "output.tmp" - -/* - * Encode test. Read input from WAV file, encode to temporary output file, - * and compare the temporary output file to the reference file. - */ -static int codec_test_encode(pjmedia_codec_mgr *mgr, - char *codec_name, - unsigned bitrate, - const char *wav_file, - const char *ref_encoded_file) -{ - pj_str_t codec_id = pj_str(codec_name); - pj_pool_t *pool = NULL; - unsigned count, samples_per_frame, encoded_frame_len = 0, pos; - pjmedia_codec *codec = NULL; - const pjmedia_codec_info *ci[1]; - pjmedia_codec_param codec_param; - pjmedia_port *wav_port = NULL; - pjmedia_frame in_frame, out_frame; - FILE *output = NULL, *fref = NULL; - int rc = 0; - pj_status_t status; - - pool = pj_pool_create(mem, "codec-vectors", 512, 512, NULL); - if (!pool) { - rc = -20; - goto on_return; - } - - /* Find and open the codec */ - count = 1; - status = pjmedia_codec_mgr_find_codecs_by_id(mgr, &codec_id, &count, ci, NULL); - if (status != PJ_SUCCESS) { - rc = -30; - goto on_return; - } - - status = pjmedia_codec_mgr_alloc_codec(mgr, ci[0], &codec); - if (status != PJ_SUCCESS) { - rc = -40; - goto on_return; - } - - status = pjmedia_codec_mgr_get_default_param(mgr, ci[0], &codec_param); - if (status != PJ_SUCCESS) { - rc = -50; - goto on_return; - } - - codec_param.info.avg_bps = bitrate; - codec_param.setting.vad = 0; - - status = pjmedia_codec_init(codec, pool); - if (status != PJ_SUCCESS) { - rc = -60; - goto on_return; - } - - status = pjmedia_codec_open(codec, &codec_param); - if (status != PJ_SUCCESS) { - rc = -70; - goto on_return; - } - - /* Open WAV file */ - status = pjmedia_wav_player_port_create(pool, wav_file, - codec_param.info.frm_ptime, - PJMEDIA_FILE_NO_LOOP, 0, - &wav_port); - if (status != PJ_SUCCESS) { - rc = -80; - goto on_return; - } - - /* Open output file */ - output = fopen(TMP_OUT, "wb"); - if (!output) { - rc = -90; - goto on_return; - } - - /* Allocate buffer for PCM and encoded frames */ - samples_per_frame = codec_param.info.clock_rate * codec_param.info.frm_ptime / 1000; - in_frame.buf = pj_pool_alloc(pool, samples_per_frame * 2); - out_frame.buf = (pj_uint8_t*) pj_pool_alloc(pool, samples_per_frame); - - /* Loop read WAV file and encode and write to output file */ - for (;;) { - in_frame.size = samples_per_frame * 2; - in_frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - - status = pjmedia_port_get_frame(wav_port, &in_frame); - if (status != PJ_SUCCESS || in_frame.type != PJMEDIA_FRAME_TYPE_AUDIO) - break; - - out_frame.size = samples_per_frame; - status = pjmedia_codec_encode(codec, &in_frame, samples_per_frame, - &out_frame); - if (status != PJ_SUCCESS) { - rc = -95; - goto on_return; - } - - if (out_frame.size) { - int cnt; - - cnt = fwrite(out_frame.buf, out_frame.size, 1, output); - - if (encoded_frame_len == 0) - encoded_frame_len = out_frame.size; - } - } - - fclose(output); - output = NULL; - - /* Compare encoded files */ - fref = fopen(ref_encoded_file, "rb"); - if (!fref) { - rc = -100; - goto on_return; - } - - output = fopen(TMP_OUT, "rb"); - if (!output) { - rc = -110; - goto on_return; - } - - pos = 0; - for (;;) { - int count; - - count = fread(in_frame.buf, encoded_frame_len, 1, fref); - if (count != 1) - break; - - count = fread(out_frame.buf, encoded_frame_len, 1, output); - if (count != 1) - break; - - if (memcmp(in_frame.buf, out_frame.buf, encoded_frame_len)) { - unsigned i; - pj_uint8_t *in = (pj_uint8_t*)in_frame.buf; - pj_uint8_t *out = (pj_uint8_t*)out_frame.buf; - - for (i=0; i= 0) { - bit = in_array[j++]; - if (bit == zero) - bit = 0; - else if (bit == one) - bit = 1; - else - *p_frame_error_flag = 1; - - packed_word <<= 1; - packed_word = (short )(packed_word + bit); - bit_count--; - } - - if (swap_endian) - out_words[i] = pj_ntohs(packed_word); - else - out_words[i] = packed_word; - } - } - return (nsamp-1)/16; -} - - -/* - * Decode test - * - * Decode the specified encoded file in "in_encoded_file" into temporary - * PCM output file, and compare the temporary PCM output file with - * the PCM reference file. - * - * Some reference file requires manipulation to the PCM output - * before comparison, such manipulation can be done by supplying - * this function with the "manip" function. - */ -static int codec_test_decode(pjmedia_codec_mgr *mgr, - char *codec_name, - unsigned bitrate, - unsigned encoded_len, - const char *in_encoded_file, - const char *ref_pcm_file, - void (*manip)(short *pcm, unsigned count)) -{ - pj_str_t codec_id = pj_str(codec_name); - pj_pool_t *pool = NULL; - unsigned count, samples_per_frame, pos; - pjmedia_codec *codec = NULL; - const pjmedia_codec_info *ci[1]; - pjmedia_codec_param codec_param; - pjmedia_frame out_frame; - void *pkt; - FILE *input = NULL, *output = NULL, *fref = NULL; - pj_bool_t is_itu_format = PJ_FALSE; - int rc = 0; - pj_status_t status; - - pool = pj_pool_create(mem, "codec-vectors", 512, 512, NULL); - if (!pool) { - rc = -20; - goto on_return; - } - - /* Find and open the codec */ - count = 1; - status = pjmedia_codec_mgr_find_codecs_by_id(mgr, &codec_id, &count, ci, NULL); - if (status != PJ_SUCCESS) { - rc = -30; - goto on_return; - } - - status = pjmedia_codec_mgr_alloc_codec(mgr, ci[0], &codec); - if (status != PJ_SUCCESS) { - rc = -40; - goto on_return; - } - - status = pjmedia_codec_mgr_get_default_param(mgr, ci[0], &codec_param); - if (status != PJ_SUCCESS) { - rc = -50; - goto on_return; - } - - codec_param.info.avg_bps = bitrate; - codec_param.setting.vad = 0; - - status = pjmedia_codec_init(codec, pool); - if (status != PJ_SUCCESS) { - rc = -60; - goto on_return; - } - - status = pjmedia_codec_open(codec, &codec_param); - if (status != PJ_SUCCESS) { - rc = -70; - goto on_return; - } - - /* Open input file */ - input = fopen(in_encoded_file, "rb"); - if (!input) { - rc = -80; - goto on_return; - } - - /* Is the file in ITU format? */ - is_itu_format = pj_ansi_stricmp(in_encoded_file+strlen(in_encoded_file)-4, - ".itu")==0; - - /* Open output file */ - output = fopen(TMP_OUT, "wb"); - if (!output) { - rc = -90; - goto on_return; - } - - /* Allocate buffer for PCM and encoded frames */ - samples_per_frame = codec_param.info.clock_rate * codec_param.info.frm_ptime / 1000; - pkt = pj_pool_alloc(pool, samples_per_frame * 2); - out_frame.buf = (pj_uint8_t*) pj_pool_alloc(pool, samples_per_frame * 2); - - /* Loop read WAV file and encode and write to output file */ - for (;;) { - pjmedia_frame in_frame[2]; - pj_timestamp ts; - unsigned count; - pj_bool_t has_frame; - - if (is_itu_format) { - int nsamp; - short frame_err = 0; - - nsamp = read_ITU_format(input, (short*)pkt, &frame_err, - encoded_len / 2, PJ_TRUE); - if (nsamp != (int)encoded_len / 2) - break; - - has_frame = !frame_err; - } else { - if (fread(pkt, encoded_len, 1, input) != 1) - break; - - has_frame = PJ_TRUE; - } - - if (has_frame) { - count = 2; - if (pjmedia_codec_parse(codec, pkt, encoded_len, &ts, - &count, in_frame) != PJ_SUCCESS) - { - rc = -100; - goto on_return; - } - - if (count != 1) { - rc = -110; - goto on_return; - } - - if (pjmedia_codec_decode(codec, &in_frame[0], samples_per_frame*2, - &out_frame) != PJ_SUCCESS) - { - rc = -120; - goto on_return; - } - } else { - if (pjmedia_codec_recover(codec, samples_per_frame*2, - &out_frame) != PJ_SUCCESS) - { - rc = -125; - goto on_return; - } - } - - if (manip) - manip((short*)out_frame.buf, samples_per_frame); - - if (fwrite(out_frame.buf, out_frame.size, 1, output) != 1) { - rc = -130; - goto on_return; - } - } - - fclose(input); - input = NULL; - - fclose(output); - output = NULL; - - /* Compare encoded files */ - fref = fopen(ref_pcm_file, "rb"); - if (!fref) { - rc = -140; - goto on_return; - } - - output = fopen(TMP_OUT, "rb"); - if (!output) { - rc = -110; - goto on_return; - } - - pos = 0; - for (;;) { - int count; - - count = fread(pkt, samples_per_frame*2, 1, fref); - if (count != 1) - break; - - count = fread(out_frame.buf, samples_per_frame*2, 1, output); - if (count != 1) - break; - - if (memcmp(pkt, out_frame.buf, samples_per_frame*2)) { - unsigned i; - pj_int16_t *in = (pj_int16_t*)pkt; - pj_int16_t *out = (pj_int16_t*)out_frame.buf; - - for (i=0; i %s", - enc_vectors[i].codec_name, - enc_vectors[i].bit_rate, - enc_vectors[i].wav_file, - enc_vectors[i].ref_encoded_file)); - rc = codec_test_encode(mgr, enc_vectors[i].codec_name, - enc_vectors[i].bit_rate, - enc_vectors[i].wav_file, - enc_vectors[i].ref_encoded_file); - if (rc != 0) - rc_final = rc; - } - - PJ_LOG(3,(THIS_FILE," decode tests:")); - for (i=0; i %s", - dec_vectors[i].codec_name, - dec_vectors[i].bit_rate, - dec_vectors[i].enc_file, - dec_vectors[i].ref_pcm_file)); - rc = codec_test_decode(mgr, dec_vectors[i].codec_name, - dec_vectors[i].bit_rate, - dec_vectors[i].encoded_frame_len, - dec_vectors[i].enc_file, - dec_vectors[i].ref_pcm_file, - dec_vectors[i].manip); - if (rc != 0) - rc_final = rc; - } - - if (pj_file_exists(TMP_OUT)) - pj_file_delete(TMP_OUT); - - pjmedia_endpt_destroy(endpt); - return rc_final; -} - diff --git a/res/pjproject/pjmedia/src/test/jbuf_test.c b/res/pjproject/pjmedia/src/test/jbuf_test.c deleted file mode 100644 index 309459b0af..0000000000 --- a/res/pjproject/pjmedia/src/test/jbuf_test.c +++ /dev/null @@ -1,349 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include "test.h" - -#define JB_INIT_PREFETCH 0 -#define JB_MIN_PREFETCH 0 -#define JB_MAX_PREFETCH 10 -#define JB_PTIME 20 -#define JB_BUF_SIZE 50 - -//#define REPORT -//#define PRINT_COMMENT - -typedef struct test_param_t { - pj_bool_t adaptive; - unsigned init_prefetch; - unsigned min_prefetch; - unsigned max_prefetch; -} test_param_t; - -typedef struct test_cond_t { - int burst; - int discard; - int lost; - int empty; - int delay; /**< Average delay, in frames. */ - int delay_min; /**< Minimum delay, in frames. */ -} test_cond_t; - -static pj_bool_t parse_test_headers(char *line, test_param_t *param, - test_cond_t *cond) -{ - char *p = line; - - if (*p == '%') { - /* Test params. */ - char mode_st[16]; - - sscanf(p+1, "%s %u %u %u", mode_st, ¶m->init_prefetch, - ¶m->min_prefetch, ¶m->max_prefetch); - param->adaptive = (pj_ansi_stricmp(mode_st, "adaptive") == 0); - - } else if (*p == '!') { - /* Success condition. */ - char cond_st[16]; - unsigned cond_val; - - sscanf(p+1, "%s %u", cond_st, &cond_val); - if (pj_ansi_stricmp(cond_st, "burst") == 0) - cond->burst = cond_val; - else if (pj_ansi_stricmp(cond_st, "delay") == 0) - cond->delay = cond_val; - else if (pj_ansi_stricmp(cond_st, "delay_min") == 0) - cond->delay_min = cond_val; - else if (pj_ansi_stricmp(cond_st, "discard") == 0) - cond->discard = cond_val; - else if (pj_ansi_stricmp(cond_st, "empty") == 0) - cond->empty = cond_val; - else if (pj_ansi_stricmp(cond_st, "lost") == 0) - cond->lost = cond_val; - - } else if (*p == '=') { - /* Test title. */ - ++p; - while (*p && isspace(*p)) ++p; - printf("%s", p); - - } else if (*p == '#') { - /* Ignore comment line. */ - - } else { - /* Unknown header, perhaps this is the test data */ - - /* Skip spaces */ - while (*p && isspace(*p)) ++p; - - /* Test data started.*/ - if (*p != 0) - return PJ_FALSE; - } - - return PJ_TRUE; -} - -static pj_bool_t process_test_data(char data, pjmedia_jbuf *jb, - pj_uint16_t *seq, pj_uint16_t *last_seq) -{ - char frame[1]; - char f_type; - pj_bool_t print_state = PJ_TRUE; - pj_bool_t data_eos = PJ_FALSE; - - switch (toupper(data)) { - case 'G': /* Get */ - pjmedia_jbuf_get_frame(jb, frame, &f_type); - break; - case 'P': /* Put */ - pjmedia_jbuf_put_frame(jb, (void*)frame, 1, *seq); - *last_seq = *seq; - ++*seq; - break; - case 'L': /* Lost */ - *last_seq = *seq; - ++*seq; - printf("Lost\n"); - break; - case 'R': /* Sequence restarts */ - *seq = 1; - printf("Sequence restarting, from %u to %u\n", *last_seq, *seq); - break; - case 'J': /* Sequence jumps */ - (*seq) += 20; - printf("Sequence jumping, from %u to %u\n", *last_seq, *seq); - break; - case 'D': /* Frame duplicated */ - pjmedia_jbuf_put_frame(jb, (void*)frame, 1, *seq - 1); - break; - case 'O': /* Old/late frame */ - pjmedia_jbuf_put_frame(jb, (void*)frame, 1, *seq - 10 - pj_rand()%40); - break; - case '.': /* End of test session. */ - data_eos = PJ_TRUE; - break; - default: - print_state = PJ_FALSE; - printf("Unknown test data '%c'\n", data); - break; - } - - if (data_eos) - return PJ_FALSE; - -#ifdef REPORT - if (print_state) { - pjmedia_jb_state state; - - pjmedia_jbuf_get_state(jb, &state); - printf("seq=%d\t%c\tsize=%d\tprefetch=%d\n", - *last_seq, toupper(data), state.size, state.prefetch); - } -#endif - - return PJ_TRUE; -} - -int jbuf_main(void) -{ - FILE *input; - pj_bool_t data_eof = PJ_FALSE; - int old_log_level; - int rc = 0; - const char* input_filename = "Jbtest.dat"; - const char* input_search_path[] = { - "../build", - "pjmedia/build", - "build" - }; - - /* Try to open test data file in the working directory */ - input = fopen(input_filename, "rt"); - - /* If that fails, try to open test data file in specified search paths */ - if (input == NULL) { - char input_path[PJ_MAXPATH]; - int i; - - for (i = 0; !input && i < PJ_ARRAY_SIZE(input_search_path); ++i) { - pj_ansi_snprintf(input_path, PJ_MAXPATH, "%s/%s", - input_search_path[i], - input_filename); - input = fopen(input_path, "rt"); - } - } - - /* Failed to open test data file. */ - if (input == NULL) { - printf("Failed to open test data file, Jbtest.dat\n"); - return -1; - } - - old_log_level = pj_log_get_level(); - pj_log_set_level(5); - - while (rc == 0 && !data_eof) { - pj_str_t jb_name = {"JBTEST", 6}; - pjmedia_jbuf *jb; - pj_pool_t *pool; - pjmedia_jb_state state; - pj_uint16_t last_seq = 0; - pj_uint16_t seq = 1; - char line[1024], *p = NULL; - - test_param_t param; - test_cond_t cond; - - param.adaptive = PJ_TRUE; - param.init_prefetch = JB_INIT_PREFETCH; - param.min_prefetch = JB_MIN_PREFETCH; - param.max_prefetch = JB_MAX_PREFETCH; - - cond.burst = -1; - cond.delay = -1; - cond.delay_min = -1; - cond.discard = -1; - cond.empty = -1; - cond.lost = -1; - - printf("\n\n"); - - /* Parse test session title, param, and conditions */ - do { - p = fgets(line, sizeof(line), input); - } while (p && parse_test_headers(line, ¶m, &cond)); - - /* EOF test data */ - if (p == NULL) - break; - - //printf("======================================================\n"); - - /* Initialize test session */ - pool = pj_pool_create(mem, "JBPOOL", 256*16, 256*16, NULL); - pjmedia_jbuf_create(pool, &jb_name, 1, JB_PTIME, JB_BUF_SIZE, &jb); - pjmedia_jbuf_reset(jb); - - if (param.adaptive) { - pjmedia_jbuf_set_adaptive(jb, - param.init_prefetch, - param.min_prefetch, - param.max_prefetch); - } else { - pjmedia_jbuf_set_fixed(jb, param.init_prefetch); - } - -#ifdef REPORT - pjmedia_jbuf_get_state(jb, &state); - printf("Initial\tsize=%d\tprefetch=%d\tmin.pftch=%d\tmax.pftch=%d\n", - state.size, state.prefetch, state.min_prefetch, - state.max_prefetch); -#endif - - - /* Test session start */ - while (1) { - char c; - - /* Get next line of test data */ - if (!p || *p == 0) { - p = fgets(line, sizeof(line), input); - if (p == NULL) { - data_eof = PJ_TRUE; - break; - } - } - - /* Get next char of test data */ - c = *p++; - - /* Skip spaces */ - if (isspace(c)) - continue; - - /* Print comment line */ - if (c == '#') { -#ifdef PRINT_COMMENT - while (*p && isspace(*p)) ++p; - if (*p) printf("..%s", p); -#endif - *p = 0; - continue; - } - - /* Process test data */ - if (!process_test_data(c, jb, &seq, &last_seq)) - break; - } - - /* Print JB states */ - pjmedia_jbuf_get_state(jb, &state); - printf("------------------------------------------------------\n"); - printf("Summary:\n"); - printf(" size=%d prefetch=%d\n", state.size, state.prefetch); - printf(" delay (min/max/avg/dev)=%d/%d/%d/%d ms\n", - state.min_delay, state.max_delay, state.avg_delay, - state.dev_delay); - printf(" lost=%d discard=%d empty=%d burst(avg)=%d\n", - state.lost, state.discard, state.empty, state.avg_burst); - - /* Evaluate test session */ - if (cond.burst >= 0 && (int)state.avg_burst > cond.burst) { - printf("! 'Burst' should be %d, it is %d\n", - cond.burst, state.avg_burst); - rc |= 1; - } - if (cond.delay >= 0 && (int)state.avg_delay/JB_PTIME > cond.delay) { - printf("! 'Delay' should be %d, it is %d\n", - cond.delay, state.avg_delay/JB_PTIME); - rc |= 2; - } - if (cond.delay_min >= 0 && (int)state.min_delay/JB_PTIME > cond.delay_min) { - printf("! 'Minimum delay' should be %d, it is %d\n", - cond.delay_min, state.min_delay/JB_PTIME); - rc |= 32; - } - if (cond.discard >= 0 && (int)state.discard > cond.discard) { - printf("! 'Discard' should be %d, it is %d\n", - cond.discard, state.discard); - rc |= 4; - } - if (cond.empty >= 0 && (int)state.empty > cond.empty) { - printf("! 'Empty' should be %d, it is %d\n", - cond.empty, state.empty); - rc |= 8; - } - if (cond.lost >= 0 && (int)state.lost > cond.lost) { - printf("! 'Lost' should be %d, it is %d\n", - cond.lost, state.lost); - rc |= 16; - } - - pjmedia_jbuf_destroy(jb); - pj_pool_release(pool); - } - - fclose(input); - pj_log_set_level(old_log_level); - - return rc; -} diff --git a/res/pjproject/pjmedia/src/test/main.c b/res/pjproject/pjmedia/src/test/main.c deleted file mode 100644 index 6ea1595c9f..0000000000 --- a/res/pjproject/pjmedia/src/test/main.c +++ /dev/null @@ -1,53 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include - -#include "test.h" - - -/* Any tests that want to build a linked executable for RTEMS must include - this header to get a default config for the network stack. */ -#if defined(PJ_RTEMS) -# include -# include -# include -# include "../../../pjlib/include/rtems-network-config.h" -#endif - -static int main_func(int argc, char *argv[]) -{ - int rc; - char s[10]; - - rc = test_main(); - - if (argc == 2 && argv[1][0]=='-' && argv[1][1]=='i') { - puts("\nPress to quit"); - if (fgets(s, sizeof(s), stdin) == NULL) - return rc; - } - - return rc; -} - -int main(int argc, char *argv[]) -{ - return pj_run_app(&main_func, argc, argv, 0); -} diff --git a/res/pjproject/pjmedia/src/test/mips_test.c b/res/pjproject/pjmedia/src/test/mips_test.c deleted file mode 100644 index 4d5c94cb5e..0000000000 --- a/res/pjproject/pjmedia/src/test/mips_test.c +++ /dev/null @@ -1,2511 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include - -/* Define your CPU MIPS here!! */ - -#ifndef CPU_IPS - /* - For complete table see: - http://en.wikipedia.org/wiki/Million_instructions_per_second - - Processor IPS/MHz - ------------------------------------------- - PowerPC G3 2.253 MIPS/MHz - Intel Pentium III 2.708 MIPS/MHz - AMD Athlon 2.967 MIPS/MHz - Pentium 4 Extreme Edition 3.039 MIPS/MHz - AMD Athlon FX-57 4.285 MIPS/MHz - - - From: http://en.wikipedia.org/wiki/ARM_architecture - - Family Arch Core IPS/MHz - ------------------------------------------------------- - ARM7TDMI ARMv4T ARM7TDMI 0.892 MIPS/MHz - ARM710T 0.900 MIPS/MHz - ARM720T 1.003 MIPS/MHz - ARM9TDMI ARMv4T ARM920T 1.111 MIPS/MHz - ARM9E ARMv5TEJ ARM926EJ-S 1.100 MIPS/MHz - XScale ARMv5TE PXA255 1.000 MIPS/MHz (?) - PXA27x 1.282 MIPS/MHz - Cortex ARMv7-A Cortex-A8 2.000 MIPS/MHz - Cortex-A9 2.000 MIPS/MHz - ARMv7-M Cortex-M3 1.250 MIPS/MHz - */ - -# define CPU_MHZ (2666) -# define CPU_IPS (3.039 * CPU_MHZ * MEGA) /* P4 2.6GHz */ - -//# define CPU_MHZ 700 -//# define CPU_IPS (700 * MEGA * 2.708) /* P3 700Mhz */ - -//# define CPU_MHZ 180 -//# define CPU_IPS (CPU_MHZ * MEGA * 1.1) /* ARM926EJ-S */ - -//# define CPU_MHZ 312 -//# define CPU_IPS (CPU_MHZ * MEGA * 1.282) /* Dell Axim PDA */ - -#endif - - - -/* Sample speech data, 360ms length, encoded at 8Khz */ -static const pj_int16_t ref_signal[] = { - 0, -4, 0, 0, 1, 8, 8, 7, 12, 16, - 20, 29, 28, 48, 40, 48, 56, 76, 68, 76, - 96, 100, 104, 124, 117, 120, 144, 120, 136, 168, - 184, 188, 176, 216, 237, 235, 268, 301, 312, 316, - 367, 356, 384, 400, 344, 409, 392, 416, 380, 432, - 404, 444, 457, 456, 453, 512, 499, 512, 584, 584, - 544, 584, 608, 596, 552, 628, 600, 667, 728, 672, - 681, 755, 736, 764, 752, 764, 724, 769, 792, 840, - 820, 895, 841, 856, 852, 867, 944, 944, 939, 944, - 907, 928, 920, 960, 833, 881, 1004, 1007, 1000, 1057, - 1032, 1056, 1016, 1056, 1072, 1080, 1108, 1028, 1076, 1072, - 956, 1020, 1080, 1008, 1095, 992, 1056, 1028, 940, 976, - 1008, 940, 916, 968, 849, 868, 956, 940, 852, 892, - 968, 860, 777, 904, 825, 716, 764, 708, 635, 728, - 620, 648, 472, 724, 548, 448, 472, 372, 272, 437, - 419, 260, 237, 371, 196, 136, 177, 264, 49, 120, - 40, 124, 32, 136, 71, 120, -95, -20, -76, -140, - -304, 12, -148, -168, -192, -63, -212, -36, -288, -232, - -352, -128, -397, -308, -431, -280, -675, -497, -761, -336, - -760, -471, -1088, 3013, -1596, -2000, 412, -968, 213, -668, - -1096, -1048, -1039, -825, -580, -612, -1056, -888, -1324, -1064, - -1164, -819, -940, -780, -1236, -688, -1931, -1, -464, -1804, - 1088, -1605, -1208, -664, -912, -905, -832, -1167, -512, 1832, - -924, -60, 660, -2143, 248, -1660, 1496, -3464, -164, 2072, - -3040, 539, 2904, 2040, -3488, 2600, 2412, 820, -551, -1401, - 1068, -385, 397, -2112, -980, 1064, -1244, -736, -1335, 332, - -1232, -1852, -12, -1073, -1747, -3328, -796, -2241, -4901, -3248, - -3124, -3432, -5892, -3840, -3968, -4752, -5668, -4796, -3580, -5909, - -5412, -6144, -5800, -5908, -6696, -6460, -8609, -3804, -5668, -8499, - -4636, -5744, -2377, -7132, -3712, -7221, -6608, 1656,-11728, -6656, - -3736, -204, -8580, -4808, -591, -5752, -472,-10308, -2116, -257, - -4720, -7640, -1279, 6412,-16404, -1495, 6204, -8072, -335, -3877, - -2363, 464, 441, -6872, 1447, 7884,-13197, 936, 5009, -4416, - -4445, 3956, 2280, -2844, 2036, -4285, 744, 4161, -7216, 5548, - 172, -964, -2873, 3296, 2184, -7424, 4300, 1855, 1453, -32, - 1585, 2160, -3440, 448, 4084, -1617, 1928, 3944, -3728, 4699, - 4556, -5556, 4096, 12928, -8287, -4320, 10739, 3172, -6068, 3684, - 6484, 1652, -1104, -1820, 11964, -1567, -4117, 7197, 5112, -2608, - -2363, 7379, 936, 1596, 217, 6508, 3284, 3960, 0, 2691, - 11324, -6140, 6720, 6188, 3596, -1120, 5319, 9420, -9360, 5780, - 5135, 623, -1844, 3473, 8488, -4532, 2844, 8368, 4387, -8628, - 14180, 3196, -4852, 9092, 5540, -600, 3088, 9864, -4992, 13984, - 2536, -5932, 10584, 7044, -2548, 388, 12597, -4776, -247, 7728, - 6048, -6152, 6449, 9644, -8924, 8993, 6319, 877, 1108, 9804, - -696, 2584, 9097, -3236, 4308, 5444, -2660, -365, 11427, -6900, - -803, 9388, -2444, -1068, 9160, 703, -5632, 12088, -2964, -1077, - 9804, -1263, -3679, 10161, 3337, -9755, 11601, -160, -6421, 11008, - -1952, -3411, 6792, -1665, -1344, 9116, -2545, -4100, 11577, 240, - -3612, 5140, 603, -2100, 4284, -784, 108, 968, -1244, 3500, - 3696, -108, 3780, 3836, -16, 4035, 2772, 1300, -688, 1544, - 2268, -2144, 1156, -564, 628, -1040, -168, 491, -72, -408, - -1812, 3460, -2083, -72, 797, 1436, -3824, 1200, 308, -3512, - 572, -4060, 540, -84, -4492, -1808, 4644, -4340, -3224, 5832, - -2180, -2544, 1475, 2224, -2588, 1312, 1452, -1676, -428, -1596, - -860, -116, -4000, -364, 148, -3680, -2229, -1632, 236, -3004, - -1917, 124, -1748, -2991, -644, -752, -3691, -1945, -3236, -2005, - -4388, -2084, -2052, -3788, -3100, -824, -2432, -3419, -1905, -2520, - -2120, -2904, -2200, -1712, -2500, -2796, -1140, -2460, -2955, -984, - -1519, -400, -412, 356, 97, -389, 1708, -115, 452, 1140, - -820, 1912, 1421, -1604, 556, -632, -1991, -1409, -1904, -3604, - -3292, -3405, -5584, -4891, -5436, -8940, -6280, -6604,-11764, -6389, - -9081,-10928, -7784, -8492,-11263, -8292, -8829, -9632, -7828, -8920, - -10224, -8912, -9836, -7313, -2916,-10240, -3748, 2860, -3308, -1236, - 6816, 4580, 1585, 9808, 7484, 5612, 6868, 7399, 6244, 5064, - 3823, 5159, 4940, 316, 4496, 4864, 1020, 3997, 6236, 3316, - 5712, 7032, 5568, 7329, 6135, 6904, 6431, 3768, 2580, 3724, - 504, -2213, -661, -3320, -6660, -6696, -7971,-11208,-11316,-11784, - -14212,-13651,-16312,-15876,-15984,-20283,-15168, 2073,-23888, -5839, - 13360, -8568, 1240, 18480, 11440, 4236, 23916, 15388, 14072, 15960, - 15064, 14840, 9395, 6981, 8584, 6540, -5453, 3568, 928, -7741, - -5260, -12, -5692, -7608, 1408, 2136, 776, 1775, 13568, 10992, - 8445, 17527, 21084, 14851, 15820, 23060, 15988, 11560, 15088, 14164, - 3376, 4059, 5212, -2520, -5891, -3596, -5080,-11752, -8861, -8124, - -12104,-12076,-10028,-12333,-14180,-12516,-16036,-15559,-20416, -4240, - -1077,-31052, 14840, 7405,-12660, 11896, 23572, 2829, 10932, 28444, - 10268, 15412, 13896, 16976, 10161, 6172, 5336, 9639, -2208, -7160, - 6544, -7188,-11280, -3308, -2428,-13447, -4880, -824, -6664, -1436, - 4608, 7473, 2688, 14275, 14921, 13564, 15960, 20393, 16976, 14832, - 17540, 13524, 10744, 6876, 7328, 1772, -2340, -3528, -4516, -9576, - -10872, -8640,-13092,-12825,-14076,-12192,-16620,-16207,-17004,-17548, - -22088,-21700,-20320, 2836,-29576,-15860, 25811,-22555, -1868, 23624, - 9872, -4044, 29472, 16037, 7433, 16640, 14577, 13119, 3120, 7072, - 5828, 2285,-12087, 3180, -4031,-17840, -6349, -5300,-15452,-13852, - -2659,-12079, -8568, -4492, -672, 660, 5424, 3040, 16488, 11408, - 8996, 24976, 15120, 9940, 21400, 16885, 2624, 13939, 8644, -2815, - 332, -160, -9312,-10172, -8320,-14033,-13056,-16200,-14113,-15712, - -18153,-18664,-15937,-21692,-23500,-18597,-25948, -8597,-10368,-32768, - 16916, -4469,-17121, 18448, 14791, -4252, 18880, 22312, 4347, 17672, - 12672, 12964, 7384, 5404, 5176, 5668, -7692, -2356, 1148,-14872, - -8920, -5593,-12753,-14600, -6429,-10608,-10372, -6757, -4857, -2044, - -2720, 8995, 5088, 6516, 18384, 12853, 14952, 18048, 17439, 13920, - 15512, 10960, 10268, 5136, 2888, 1184, -4271, -7104, -7376, -9688, - -14691,-11336,-14073,-17056,-14268,-16776,-17957,-19460,-18068,-23056, - -20512,-24004, -3396,-19239,-27272, 22283,-16439, -7300, 19484, 9020, - -1088, 22895, 15868, 9640, 17344, 11443, 17912, 6084, 6712, 9988, - 6104, -8559, 6403, -1196,-13152, -3632, -5388,-11924,-11973, -5748, - -10292, -8420, -8468, -2256, -2829, -4132, 6344, 8785, 7444, 9508, - 22152, 15108, 13151, 22536, 20725, 10672, 17028, 17052, 5536, 6192, - 7484, 403, -5520, -2132, -5532,-11527,-10644, -9572,-13316,-16124, - -10883,-15965,-17335,-17316,-16064,-20436,-21660, -8547, -3732,-32768, - 14672, 2213,-17200, 17964, 14387, 4232, 14800, 24296, 11288, 21368, - 11144, 22992, 13599, 6973, 14444, 12312, -2340, 4436, 8060, -9008, - -2188, -2164, -5756,-10268, -5076, -6292, -6472, -7916, -2336, 327, - -4492, 7144, 7696, 5691, 16352, 14244, 17764, 19852, 17296, 23160, - 18496, 14197, 19564, 13356, 5779, 10559, 4576, -2736, -528, -3211, - -8796, -8428, -9153,-10928,-13296,-12101,-12528,-14985,-16036,-14600, - -15888,-18792,-19604, -3176, -8887,-29240, 21405, -6999, -9568, 19052, - 11952, 3037, 20055, 18376, 14501, 18672, 11023, 24776, 9488, 7921, - 15896, 11068, -4484, 9667, 4328, -7544, -1240, -1456, -7204, -9192, - -5084, -5816, -6864, -9444, 276, -2316, -2852, 4640, 9600, 4412, - 13300, 16856, 12836, 18892, 17632, 18336, 16031, 14808, 13860, 12052, - 4284, 7372, 2623, -4284, -2172, -5036,-10163, -9788,-10384,-13205, - -13180,-13453,-14460,-15540,-16580,-15472,-17961,-19148,-18824, -8063, - -8620,-28300, 14323, -6748,-10204, 13100, 10548, 956, 16056, 14640, - 12680, 14171, 9672, 19741, 7524, 6615, 11825, 8788, -5080, 7224, - 1112, -6024, -4176, -1912, -7968, -8576, -7184, -5640, -8200, -9388, - -1980, -2064, -4040, 240, 9327, 2192, 8451, 13604, 13124, 10057, - 16505, 15099, 11008, 10344, 12405, 7244, 1948, 4420, 132, -5312, - -6072, -5772,-11608,-11756,-11660,-12684,-14335,-14548,-12400,-15268, - -15277,-14949,-14889,-17376,-16640,-15656, -1128,-23476, -6084, 7268, - -13880, 400, 10984, 1468, 4388, 14156, 6600, 13684, 5428, 12240, - 11815, 5460, 3663, 13164, -1269, 772, 3884, -788, -5536, -1652, - -4857, -4596, -7912, -6152, -4132, -7201, -6288, -1196, -1332, -4236, - 5020, 5020, 1648, 8572, 10224, 6256, 9816, 9404, 8124, 6644, - 4380, 4707, 636, -3300, -3208, -4395, -9716, -7540, -8175, -9980, - -10237, -7680,-12172, -9981,-10459, -9712, -8451,-13008,-10196, -9308, - -13109,-11700,-11636, -6143, -9472,-12117, 985, -3627, -6120, 2828, - 5268, 33, 6984, 6488, 7803, 6265, 6992, 8032, 7892, 3408, - 6021, 6224, 1016, 2053, 2632, -648, -1936, -1796, -2504, -2865, - -4400, -2524, -2388, -2524, -1432, 283, 696, 1180, 2912, 3996, - 3328, 3948, 5101, 4905, 3396, 3500, 3323, 2472, -152, 1580, - -860, -2109, -1331, -2460, -2960, -3396, -3476, -2616, -5172, -3352, - -4036, -4440, -5480, -4028, -4220, -5876, -4656, -5233, -4621, -5465, - -6417, -4936, -5092, -1860, -5651, -2699, 1273, -920, -888, 4279, - 3260, 2952, 5861, 5584, 5980, 6428, 5732, 6516, 6825, 4156, - 5000, 5071, 2669, 1764, 3273, 1148, 1312, 880, 1788, 1457, - 1299, 648, 3172, 2004, 1060, 3544, 1963, 2516, 3192, 3057, - 2936, 2892, 2896, 2224, 3188, 1524, 1541, 3120, 624, 917, - 1472, 1128, -317, 687, 400, -1131, 164, -812, -1232, -1120, - -1311, -1364, -1500, -1660, -2380, -1835, -2456, -2468, -2168, -2785, - -2824, -2408, -3316, -552, -1204, -3153, 1188, 1572, -752, 1756, - 4108, 2344, 3595, 4504, 4152, 4556, 4224, 3568, 4801, 3165, - 2776, 2808, 3233, 1300, 2411, 1536, 1828, 1424, 1576, 1412, - 1880, 895, 1601, 1916, 1763, 944, 2599, 1349, 1873, 1988, - 1744, 1956, 1667, 1548, 1812, 1048, 1528, 488, 1428, 832, - 232, 207, 632, -152, -520, 20, 15, -1580, -841, -948, - -1120, -1455, -2004, -1244, -1344, -2236, -1312, -1344, -2156, -1420, - -1856, -1637, -1847, -1460, -1780, -1372, -508, -1256, -752, 0, - 600, 859, 1156, 1532, 2364, 2204, 2059, 2269, 2240, 1928, - 1889, 2055, 1205, 1068, 1268, 892, 1371, 1036, 413, 1552, - 572, -84, 1364, 260, 624, 820, -160, 1492, 188, 204, - 796, 468, 552, 945, -504, 697, -936, 284, -1116, -204, - -1052, -700, -1637, -673, -2744, -25, -2163, -1728, -1704, -1260, - -2228, -2512, -496, -3992, -824, -2699, -2172, -2196, -1684, -3376, - -540, -3047, -2220, -376, -3416, 8, -2424, -428, -1111, -927, - 68, -1152, 640, -1308, 276, 536, 592, -292, 2256, -368, - 680, 2532, -536, 1548, 780, -92, 1596, 56, 444, 348, - 356, 500, -2168, 1527, -1632, -677, -980, -904, -868, 480, - -1476, -804, -1515, -335, -2472, -1533, -1007, -644, -2308, -1592, - -104, -3860, -984, -2364, 0, -1372, -2500, -2548, 1280, -3767, - -2228, -440, -2168, -2691, 628, -2013, -3773, -4292, 3796, -6452, - -1268, -156, -1320, -3779, 2612, -2924, -864, -619, 1227, -3408, - 3016, -200, -1432, 2219, -45, -1356, 5744, -2069, 4396, 488, - 3048, -801, 3876, 857, 2064, 80, 4240, -700, 1928, 1568, - -1992, 3431, 600, 2221, 657, -3116, 5888, -2668, 4871, -7963, - 8016, -4907, 1264, -1969, 3688, -4396, -1276, 2448, -3760, 2156, - -3039, -3064, 940, 2384, -7907, 4520, -2876, 2384, -5784, 4484, - -5487, 1907, -4064, 1991, -3496, 1304, -4521, 5255, -4189, 1136, - -2397, -152, 768, -1671, 2084, -2709, 6413, -1460, 1952, 448, - 7064, -444, 6256, 600, 8872, 2115, 4672, 7628, 6264, 2993, - 8920, 2876, 7744, 3956, 4848, 7236, 804, 7684, 5201, 2216, - 6360, 4900, -340, 6885, 1307, 2468, 1884, 4812, -1376, 4740, - 1751, 135, 1124, 3284, -3228, 3968, 1748, -4453, 1587, -1515, - 3084, -3300, -2548, -544, -296, 396, -7808, 4956, -5164, -292, - -4947, 212, -4055, -108, -4301, -2088, -2912, 3016, 952, -1888, - 4972, 4441, 6136, 1464, 9387, 4137, 6812, 6281, 2440, 6940, - 3928, 2704, -1204, 4260, -2289, -712, -1768, -383, -1195, 920, - -1200, -336, 4372, 720, 4392, 1291, 5819, 4528, 7532, 992, - 8176, 5588, 2760, 2836, 3412, 1132, 531, 2236, -5044, 621, - -2916, -3964, -5849, -864, -6300,-10019, -3964, -5524, -7004, -6833, - -7236, -9484, -2528,-10112,-12900, -4199, -8580,-12427,-10924, -8604, - -11520, -9636, -6560, -1647, -6948, -460, 1752, 2952, 4196, 4360, - 4215, 8156, 4528, 2464, 2500, 3299, -2224, -3812, -2568, -5875, - -5556, -7728, -8288, -5765, -6448, -7620, -5288, -2680, -4368, -972, - 472, 1716, 2467, 4408, 5141, 4724, 7316, 4132, 3493, 5935, - 3564, 96, 1068, 868, -2160, -2736, -3449, -5428, -3339, -5200, - -7156, -4189, -7928, -8064, -7532, -7999,-12124, -8509, -9888,-12420, - -13568,-13187,-15384,-14996,-15152,-15284,-17059,-15292,-11792, -1160, - -7300, -8284, 7237, 7241, 1616, 6327, 12064, 7920, 9564, 3556, - 4612, 6980, 261, -6365, -2028, -1701,-10136, -9573, -6901, -7747, - -7868, -8076, -6123, -1508, -100, -3048, 2004, 6704, 4507, 3256, - 9432, 8672, 7673, 6804, 7632, 8777, 6908, 3332, 3771, 6552, - 3153, 400, 3029, 4388, 1328, 160, 2304, 2023, 1325, -2640, - -2356, -1544, -3436, -8584, -6939, -7180,-10455,-12928,-12296,-14653, - -15243,-16436,-15240,-16672,-15476,-14628, 7004, -1360,-10100, 16344, - 18300, 9108, 12869, 22541, 16119, 17856, 10697, 6720, 12128, 6904, - -8184, -3440, 2592,-10440,-11735, -4739, -4455, -5457, -2432, -1476, - 4520, 10045, 5512, 7988, 17032, 15052, 9211, 13309, 14624, 10324, - 10488, 7809, 6908, 9896, 5861, 3284, 8348, 10505, 5189, 8144, - 13280, 11732, 10035, 12559, 12104, 12456, 10148, 6520, 5944, 5603, - -1848, -4196, -2544, -5876,-11416,-10032,-10248,-12753,-13344,-14900, - -14320,-11265,-14220,-17067, -1440, 20120, -9884, 2783, 32220, 22208, - 9032, 22661, 26820, 19916, 17747, 5288, 8628, 14293, -3331,-15672, - 1252, -324,-18236,-11592, -1172, -3384, -3864, 1052, 3640, 13099, - 13691, 6520, 14320, 22856, 12887, 7152, 14764, 13276, 4060, 2568, - 2268, 2224, 3312, -3336, -875, 9000, 6180, 1872, 10851, 17464, - 12312, 11197, 15388, 17816, 12024, 8332, 7119, 8096, 1608, -5611, - -5964, -4729,-11317,-14784,-12833,-11272,-14888,-16128,-15012,-12028, - -14472,-16227,-15356,-14484,-15056, 11496, 352,-14108, 19216, 24616, - 3724, 7872, 25948, 13832, 9680, 7492, 2052, 5220, 1188,-16112, - -11340, 703,-15400,-21572, -5816, -3320,-12072, -5664, 2296, 3101, - 6708, 5396, 5735, 13601, 12040, 1924, 6071, 10420, 984, -4904, - -204, -1945, -6229, -7460, -5636, 2864, -476, -2832, 6104, 13160, - 7151, 7148, 13063, 13596, 8796, 5092, 5976, 5668, -431, -7624, - -6741, -5676,-14332,-18700,-13396,-12387,-18576,-17516,-14184,-14124, - -15972,-17456,-16323,-14712,-18056,-23213,-10744, 12016,-14824,-12636, - 21656, 14112, -4085, 9255, 20864, 8196, 6384, 1223, 2244, 5304, - -6660,-19192, -4961, -2875,-22564,-18400, -3220, -8488,-14544, -5040, - -324, 820, 2732, 628, 5484, 11924, 4813, -852, 8656, 7160, - -3924, -2955, 1337, -3268, -7359, -2552, -2528, -532, 128, 411, - 5324, 9301, 5601, 6200, 11684, 10072, 4924, 5508, 6660, 1568, - -2332, -4268, -5628, -7987,-12004,-13760,-11567,-12104,-16539,-14437, - -12012,-14309,-16736,-14573,-13604,-15468,-18204,-19103, -9140, 10132, - -13631, -9568, 22580, 13756, -3548, 12112, 23891, 8144, 5964, 7240, - 7216, 4284, -4800,-11761, -1308, -3044,-19584,-13808, -759, -7968, - -14524, -1503, 3072, -396, 1936, 5900, 9264, 10769, 7240, 5961, - 13112, 8788, 660, 2807, 7980, -449, -2477, 3940, 2792, 1584, - 2791, 5603, 7528, 9692, 5924, 9123, 15240, 9636, 4924, 11044, - 11113, 956, 756, 2812, -1832, -6920, -7120, -7192, -7711, -9717, - -12704, -8736, -7508,-12067,-13176, -8133, -9304,-13160,-13437,-13268, - -4084, 11400,-12785, -700, 24992, 12168, -1268, 19404, 25183, 8373, - 10256, 13664, 11200, 5879, -60, -3656, 4556, -2972,-14688, -4932, - 2432, -9279,-10691, 4280, 3180, -2444, 4088, 9992, 9176, 9156, - 9520, 11164, 14484, 8608, 4919, 10556, 9792, 2740, 3456, 8840, - 6424, 2348, 5696, 9420, 6596, 5380, 8364, 10952, 8499, 6800, - 8728, 9641, 5412, 2340, 3596, 2039, -2864, -5489, -3616, -5596, - -9232, -8744, -7788, -9860,-11104, -9356, -9464,-11188,-11312,-11036, - -11736,-13564, -6016, 8744,-11784, -1196, 18972, 9512, -572, 17407, - 20316, 7472, 9784, 13369, 8952, 5092, 1003, -2004, 2755, -3952, - -12761, -4648, -744,-11667,-10240, 1556, -1572, -5872, 2196, 6011, - 3900, 5384, 7529, 8924, 9629, 6324, 5744, 9484, 7829, 3420, - 4384, 8644, 4360, 1500, 5248, 5921, 2200, 2564, 5212, 5037, - 2849, 2836, 3985, 3952, 875, -560, 416, -1052, -5228, -5185, - -4996, -7820, -9616, -9076,-10644,-11239,-11816,-12360,-12228,-12420, - -13560,-12940,-13044,-15648,-11664, 1945, -9676, -9088, 9676, 6708, - -3048, 8185, 15520, 4620, 5764, 10716, 6584, 2684, 2276, -1436, - -56, -2948, -9140, -6611, -2868, -9897,-10565, -2012, -3948, -7916, - -1440, 2420, -241, 1164, 4428, 4932, 5461, 3884, 4476, 6620, - 7724, 1779, 3172, 8256, 3132, -749, 5192, 4300, -1388, 1192, - 3575, 789, -228, 1185, 995, 937, -952, -2624, -449, -1992, - -6204, -4648, -3000, -7604, -8536, -5868, -9024,-10507,-10064, -9296, - -12896,-11120,-11776,-13288,-14137,-12668,-15780,-14157, -8392, -7444, - -11156, -2300, 2828, -1747, 1164, 8152, 6280, 4876, 7912, 7604, - 5609, 5164, 2600, 1620, 1592, -3237, -4441, -2068, -5052, -8268, - -4503, -3304, -6332, -4460, -388, -297, -319, 1911, 4071, 4272, - 4659, 8368, 6933, 6720, 8764, 8640, 6412, 6384, 5927, 3820, - 3488, 2648, 1104, 1220, 884, -692, 327, 616, -972, -160, - 713, -593, -652, 179, -651, -2005, -656, -1536, -2968, -3748, - -2640, -5052, -5548, -3476, -6151, -6388, -5168, -6099, -7416, -5752, - -7579, -8220, -8312, -8472, -5287, -8056, -3527, -2356, -1704, 1892, - 2408, 2893, 5965, 8121, 5136, 8480, 8928, 7364, 6408, 7960, - 4315, 4392, 3864, 1353, 928, 1436, -1480, -488, 1640, -380, - -36, 3420, 4044, 4432, 5185, 8044, 8740, 7983, 7912, 9588, - 8588, 6804, 6944, 6700, 4308, 2852, 3252, 2192, -136, 876, - 1008, 244, 160, 205, 992, 1684, -136, 984, 3312, 853, - -772, 2372, 436, -3008, -1024, -136, -3800, -2263, -3212, -2749, - -3688, -2424, -5372, -2136, -3288, -4952, -3596, -2028, -4640, -5797, - -2696, -4040, -7152, -4055, -2568, -6460, -4228, -1092, -2780, -2492, - 468, -235, 1620, 3500, 2040, 2840, 6300, 4488, 2488, 5707, - 5576, 3537, 2291, 4301, 2844, 3364, 1153, 2500, 3340, 3160, - 1224, 3220, 4016, 2228, 1788, 4199, 3604, 2096, 1763, 3237, - 2044, -564, 1280, 876, -584, -1904, 24, -60, -2948, -1440, - -1228, -1824, -2092, -1945, -3912, -227, -2411, -3219, -2252, -1808, - -3044, -1035, -3092, -1456, -3724, -2284, -3149, -3028, -2788, -1804, - -3360, -1276, -4097, -2531, -2248, -1635, -3215, -2376, -2468, -2596, - -2825, -2792, -1980, -4036, -1721, -2059, -4117, 364, -1452, -2772, - -1336, 480, -1043, 244, -2904, 924, -1329, 968, -1891, 523, - -624, -464, -564, 187, -852, 584, -764, -260, -147, 160, - 339, -32, 936, -896, 288, 136, 56, -36, -736, -683, - -332, 696, -2319, -259, 564, -2196, -860, 1108, -2177, -728, - 1344, -2520, -440, 1080, -780, -3513, 3272, -1635, -1597, -188, - 744, -1944, 140, -636, -1644, -141, -596, -1132, -816, 1168, - -2836, 196, 312, 136, -1381, 628, -223, -368, -425, 604, - -776, 595, -628, -128, -884, 960, -1092, 76, 144, 8, - 161, -504, 760, -808, 336, 185, 100, 404, 120, 236, - 68, -148, -64, 312, 320, -560, 117, -28, 236, -231, - -92, 60, 356, -176, 176, 212, 124, -57, -76, 168, - 88, -140, -37, 160, 0, -92, 96, 24, -84, 0, -}; - -#define THIS_FILE "mips_test.c" -#define DURATION 5000 -#define PTIME 20 /* MUST be 20! */ -#define MEGA 1000000 -#define GIGA 1000000000 - -enum op -{ - OP_GET = 1, - OP_PUT = 2, - OP_GET_PUT = 4, - OP_PUT_GET = 8 -}; - -enum clock_rate -{ - K8 = 1, - K16 = 2, - K32 = 4, -}; - - -struct test_entry -{ - const char *title; - unsigned valid_op; - unsigned valid_clock_rate; - - pjmedia_port* (*init)(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *); - void (*custom_run)(struct test_entry*); - void (*custom_deinit)(struct test_entry*); - - void *pdata[4]; - unsigned idata[4]; -}; - - -/***************************************************************************/ -/* pjmedia_port to supply with continuous frames */ -static pjmedia_port* create_gen_port(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned pct_level) -{ - pjmedia_port *port; - pj_status_t status; - - if (pct_level == 100 && channel_count==1) { - status = pjmedia_mem_player_create(pool, ref_signal, - sizeof(ref_signal), clock_rate, - channel_count, samples_per_frame, - 16, 0, &port); - } else { - pj_int16_t *buf; - unsigned c; - - buf = (pj_int16_t*) - pj_pool_alloc(pool, sizeof(ref_signal)*channel_count); - for (c=0; cpkt; - out_frame.size = sizeof(cp->pkt); - status = pjmedia_codec_encode(cp->codec, frame, sizeof(cp->pkt), - &out_frame); - pj_assert(status == PJ_SUCCESS); - - if (out_frame.size != 0) { - pjmedia_frame parsed_frm[2], pcm_frm; - unsigned frame_cnt = PJ_ARRAY_SIZE(parsed_frm); - unsigned i; - - status = pjmedia_codec_parse(cp->codec, out_frame.buf, - out_frame.size, &out_frame.timestamp, - &frame_cnt, parsed_frm); - pj_assert(status == PJ_SUCCESS); - - for (i=0; ipcm; - pcm_frm.size = sizeof(cp->pkt); - status = pjmedia_codec_decode(cp->codec, &parsed_frm[i], - sizeof(cp->pcm), &pcm_frm); - pj_assert(status == PJ_SUCCESS); - } - } - - return PJ_SUCCESS; -} - -static pj_status_t codec_on_destroy(struct pjmedia_port *this_port) -{ - struct codec_port *cp = (struct codec_port*)this_port; - - pjmedia_codec_close(cp->codec); - pjmedia_codec_mgr_dealloc_codec(pjmedia_endpt_get_codec_mgr(cp->endpt), - cp->codec); - cp->codec_deinit(); - pjmedia_endpt_destroy(cp->endpt); - return PJ_SUCCESS; -} - -static pjmedia_port* codec_encode_decode( pj_pool_t *pool, - const char *codec, - pj_status_t (*codec_init)(pjmedia_endpt*), - pj_status_t (*codec_deinit)(), - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - struct codec_port *cp; - pj_str_t codec_id; - const pjmedia_codec_info *ci[1]; - unsigned count; - pjmedia_codec_param codec_param; - pj_status_t status; - - PJ_UNUSED_ARG(flags); - PJ_UNUSED_ARG(te); - - codec_id = pj_str((char*)codec); - cp = PJ_POOL_ZALLOC_T(pool, struct codec_port); - pjmedia_port_info_init(&cp->base.info, &codec_id, 0x123456, clock_rate, - channel_count, 16, samples_per_frame); - cp->base.put_frame = &codec_put_frame; - cp->base.on_destroy = &codec_on_destroy; - cp->codec_deinit = codec_deinit; - - status = pjmedia_endpt_create(mem, NULL, 0, &cp->endpt); - if (status != PJ_SUCCESS) - return NULL; - - status = codec_init(cp->endpt); - if (status != PJ_SUCCESS) - return NULL; - - count = 1; - status = pjmedia_codec_mgr_find_codecs_by_id(pjmedia_endpt_get_codec_mgr(cp->endpt), - &codec_id, &count, ci, NULL); - if (status != PJ_SUCCESS) - return NULL; - - status = pjmedia_codec_mgr_alloc_codec(pjmedia_endpt_get_codec_mgr(cp->endpt), - ci[0], &cp->codec); - if (status != PJ_SUCCESS) - return NULL; - - status = pjmedia_codec_mgr_get_default_param(pjmedia_endpt_get_codec_mgr(cp->endpt), - ci[0], &codec_param); - if (status != PJ_SUCCESS) - return NULL; - - status = pjmedia_codec_init(cp->codec, pool); - if (status != PJ_SUCCESS) - return NULL; - - status = pjmedia_codec_open(cp->codec, &codec_param); - if (status != PJ_SUCCESS) - return NULL; - - return &cp->base; -} - -#if PJMEDIA_HAS_G711_CODEC -/* G.711 benchmark */ -static pjmedia_port* g711_encode_decode( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return codec_encode_decode(pool, "pcmu", &pjmedia_codec_g711_init, - &pjmedia_codec_g711_deinit, - clock_rate, channel_count, - samples_per_frame, flags, te); -} -#endif - -/* GSM benchmark */ -#if PJMEDIA_HAS_GSM_CODEC -static pjmedia_port* gsm_encode_decode( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return codec_encode_decode(pool, "gsm", &pjmedia_codec_gsm_init, - &pjmedia_codec_gsm_deinit, - clock_rate, channel_count, - samples_per_frame, flags, te); -} -#endif - -#if PJMEDIA_HAS_ILBC_CODEC -static pj_status_t ilbc_init(pjmedia_endpt *endpt) -{ - return pjmedia_codec_ilbc_init(endpt, 20); -} - -/* iLBC benchmark */ -static pjmedia_port* ilbc_encode_decode( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - samples_per_frame = 30 * clock_rate / 1000; - return codec_encode_decode(pool, "ilbc", &ilbc_init, - &pjmedia_codec_ilbc_deinit, clock_rate, - channel_count, samples_per_frame, flags, te); -} -#endif - -#if PJMEDIA_HAS_SPEEX_CODEC -/* Speex narrowband benchmark */ -static pjmedia_port* speex8_encode_decode(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return codec_encode_decode(pool, "speex/8000", - &pjmedia_codec_speex_init_default, - &pjmedia_codec_speex_deinit, - clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* Speex wideband benchmark */ -static pjmedia_port* speex16_encode_decode(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return codec_encode_decode(pool, "speex/16000", - &pjmedia_codec_speex_init_default, - &pjmedia_codec_speex_deinit, - clock_rate, channel_count, - samples_per_frame, flags, te); -} -#endif - -#if PJMEDIA_HAS_G722_CODEC -/* G.722 benchmark benchmark */ -static pjmedia_port* g722_encode_decode(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return codec_encode_decode(pool, "g722", &pjmedia_codec_g722_init, - &pjmedia_codec_g722_deinit, - clock_rate, channel_count, - samples_per_frame, flags, te); -} -#endif - -#if PJMEDIA_HAS_G7221_CODEC -/* G.722.1 benchmark benchmark */ -static pjmedia_port* g7221_encode_decode(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return codec_encode_decode(pool, "g7221/16000", - &pjmedia_codec_g7221_init, - &pjmedia_codec_g7221_deinit, - clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* G.722.1 Annex C benchmark benchmark */ -static pjmedia_port* g7221c_encode_decode(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return codec_encode_decode(pool, "g7221/32000", - &pjmedia_codec_g7221_init, - &pjmedia_codec_g7221_deinit, - clock_rate, channel_count, - samples_per_frame, flags, te); -} -#endif /* PJMEDIA_HAS_G7221_CODEC */ - -#if PJMEDIA_HAS_OPENCORE_AMRNB_CODEC -/* AMR-NB benchmark benchmark */ -static pjmedia_port* amr_encode_decode(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return codec_encode_decode(pool, "AMR/8000", - &pjmedia_codec_opencore_amrnb_init, - &pjmedia_codec_opencore_amrnb_deinit, - clock_rate, channel_count, - samples_per_frame, flags, te); -} -#endif /* PJMEDIA_HAS_OPENCORE_AMRNB_CODEC */ - -#if defined(PJMEDIA_HAS_L16_CODEC) && PJMEDIA_HAS_L16_CODEC!=0 -static pj_status_t init_l16_default(pjmedia_endpt *endpt) -{ - return pjmedia_codec_l16_init(endpt, 0); -} - -/* L16/8000/1 benchmark */ -static pjmedia_port* l16_8_encode_decode(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return codec_encode_decode(pool, "L16/8000/1", &init_l16_default, - &pjmedia_codec_l16_deinit, - clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* L16/16000/1 benchmark */ -static pjmedia_port* l16_16_encode_decode(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return codec_encode_decode(pool, "L16/16000/1", &init_l16_default, - &pjmedia_codec_l16_deinit, - clock_rate, channel_count, - samples_per_frame, flags, te); -} -#endif - -/***************************************************************************/ -/* WSOLA PLC mode */ - -struct wsola_plc_port -{ - pjmedia_port base; - pjmedia_wsola *wsola; - pjmedia_port *gen_port; - int loss_pct; - pj_bool_t prev_lost; -}; - - -static pj_status_t wsola_plc_get_frame(struct pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct wsola_plc_port *wp = (struct wsola_plc_port*)this_port; - pj_status_t status; - - - if ((pj_rand() % 100) > wp->loss_pct) { - status = pjmedia_port_get_frame(wp->gen_port, frame); - pj_assert(status == PJ_SUCCESS); - - status = pjmedia_wsola_save(wp->wsola, (short*)frame->buf, - wp->prev_lost); - pj_assert(status == PJ_SUCCESS); - - wp->prev_lost = PJ_FALSE; - } else { - status = pjmedia_wsola_generate(wp->wsola, (short*)frame->buf); - wp->prev_lost = PJ_TRUE; - } - - return PJ_SUCCESS; -} - -static pj_status_t wsola_plc_on_destroy(struct pjmedia_port *this_port) -{ - struct wsola_plc_port *wp = (struct wsola_plc_port*)this_port; - pjmedia_port_destroy(wp->gen_port); - pjmedia_wsola_destroy(wp->wsola); - return PJ_SUCCESS; -} - -static pjmedia_port* create_wsola_plc(unsigned loss_pct, - pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - struct wsola_plc_port *wp; - pj_str_t name = pj_str("wsola"); - unsigned opt = 0; - pj_status_t status; - - PJ_UNUSED_ARG(flags); - PJ_UNUSED_ARG(te); - - wp = PJ_POOL_ZALLOC_T(pool, struct wsola_plc_port); - wp->loss_pct = loss_pct; - wp->base.get_frame = &wsola_plc_get_frame; - wp->base.on_destroy = &wsola_plc_on_destroy; - pjmedia_port_info_init(&wp->base.info, &name, 0x4123, clock_rate, - channel_count, 16, samples_per_frame); - - if (loss_pct == 0) - opt |= PJMEDIA_WSOLA_NO_PLC; - - status = pjmedia_wsola_create(pool, clock_rate, samples_per_frame, - channel_count, 0, &wp->wsola); - if (status != PJ_SUCCESS) - return NULL; - - wp->gen_port = create_gen_port(pool, clock_rate, channel_count, - samples_per_frame, 100); - if (wp->gen_port == NULL) - return NULL; - - return &wp->base; -} - - -/* WSOLA PLC with 0% packet loss */ -static pjmedia_port* wsola_plc_0( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_wsola_plc(0, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - - -/* WSOLA PLC with 2% packet loss */ -static pjmedia_port* wsola_plc_2( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_wsola_plc(2, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* WSOLA PLC with 5% packet loss */ -static pjmedia_port* wsola_plc_5( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_wsola_plc(5, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* WSOLA PLC with 10% packet loss */ -static pjmedia_port* wsola_plc_10(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_wsola_plc(10, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* WSOLA PLC with 20% packet loss */ -static pjmedia_port* wsola_plc_20(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_wsola_plc(20, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* WSOLA PLC with 50% packet loss */ -static pjmedia_port* wsola_plc_50(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_wsola_plc(50, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - - - -/***************************************************************************/ -/* WSOLA discard mode */ -enum { CIRC_BUF_FRAME_CNT = 4 }; -struct wsola_discard_port -{ - pjmedia_port base; - pjmedia_port *gen_port; - pjmedia_wsola *wsola; - pjmedia_circ_buf *circbuf; - unsigned discard_pct; -}; - - -static pj_status_t wsola_discard_get_frame(struct pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct wsola_discard_port *wp = (struct wsola_discard_port*)this_port; - pj_status_t status; - - while (pjmedia_circ_buf_get_len(wp->circbuf) < - PJMEDIA_PIA_SPF(&wp->base.info) * (CIRC_BUF_FRAME_CNT-1)) - { - status = pjmedia_port_get_frame(wp->gen_port, frame); - pj_assert(status==PJ_SUCCESS); - - status = pjmedia_circ_buf_write(wp->circbuf, (short*)frame->buf, - PJMEDIA_PIA_SPF(&wp->base.info)); - pj_assert(status==PJ_SUCCESS); - } - - if ((pj_rand() % 100) < (int)wp->discard_pct) { - pj_int16_t *reg1, *reg2; - unsigned reg1_len, reg2_len; - unsigned del_cnt; - - pjmedia_circ_buf_get_read_regions(wp->circbuf, ®1, ®1_len, - ®2, ®2_len); - - del_cnt = PJMEDIA_PIA_SPF(&wp->base.info); - status = pjmedia_wsola_discard(wp->wsola, reg1, reg1_len, reg2, - reg2_len, &del_cnt); - pj_assert(status==PJ_SUCCESS); - - status = pjmedia_circ_buf_adv_read_ptr(wp->circbuf, del_cnt); - pj_assert(status==PJ_SUCCESS); - } - - return PJ_SUCCESS; -} - -static pj_status_t wsola_discard_on_destroy(struct pjmedia_port *this_port) -{ - struct wsola_discard_port *wp = (struct wsola_discard_port*)this_port; - pjmedia_port_destroy(wp->gen_port); - pjmedia_wsola_destroy(wp->wsola); - return PJ_SUCCESS; -} - - -static pjmedia_port* create_wsola_discard(unsigned discard_pct, - pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - struct wsola_discard_port *wp; - pj_str_t name = pj_str("wsola"); - unsigned i, opt = 0; - pj_status_t status; - - PJ_UNUSED_ARG(flags); - PJ_UNUSED_ARG(te); - - wp = PJ_POOL_ZALLOC_T(pool, struct wsola_discard_port); - wp->discard_pct = discard_pct; - wp->base.get_frame = &wsola_discard_get_frame; - wp->base.on_destroy = &wsola_discard_on_destroy; - pjmedia_port_info_init(&wp->base.info, &name, 0x4123, clock_rate, - channel_count, 16, samples_per_frame); - - if (discard_pct == 0) - opt |= PJMEDIA_WSOLA_NO_DISCARD; - - status = pjmedia_wsola_create(pool, clock_rate, samples_per_frame, - channel_count, 0, &wp->wsola); - if (status != PJ_SUCCESS) - return NULL; - - wp->gen_port = create_gen_port(pool, clock_rate, channel_count, - samples_per_frame, 100); - if (wp->gen_port == NULL) - return NULL; - - status = pjmedia_circ_buf_create(pool, samples_per_frame * CIRC_BUF_FRAME_CNT, - &wp->circbuf); - if (status != PJ_SUCCESS) - return NULL; - - /* fill up the circbuf */ - for (i=0; i= samples_per_frame); - frm.buf = pcm; - frm.size = samples_per_frame * 2; - - status = pjmedia_port_get_frame(wp->gen_port, &frm); - pj_assert(status==PJ_SUCCESS); - - status = pjmedia_circ_buf_write(wp->circbuf, pcm, samples_per_frame); - pj_assert(status==PJ_SUCCESS); - } - - return &wp->base; -} - - -/* WSOLA with 2% discard rate */ -static pjmedia_port* wsola_discard_2( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_wsola_discard(2, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* WSOLA with 5% discard rate */ -static pjmedia_port* wsola_discard_5( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_wsola_discard(5, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* WSOLA with 10% discard rate */ -static pjmedia_port* wsola_discard_10(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_wsola_discard(10, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* WSOLA with 20% discard rate */ -static pjmedia_port* wsola_discard_20(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_wsola_discard(20, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* WSOLA with 50% discard rate */ -static pjmedia_port* wsola_discard_50(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_wsola_discard(50, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - - - -/***************************************************************************/ - -static pjmedia_port* ec_create(unsigned ec_tail_msec, - pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - pjmedia_port *gen_port, *ec_port; - pj_status_t status; - - PJ_UNUSED_ARG(te); - - gen_port = create_gen_port(pool, clock_rate, channel_count, - samples_per_frame, 100); - if (gen_port == NULL) - return NULL; - - status = pjmedia_echo_port_create(pool, gen_port, ec_tail_msec, 0, - flags, &ec_port); - if (status != PJ_SUCCESS) - return NULL; - - return ec_port; -} - -/* EC with 100ms tail length */ -static pjmedia_port* ec_create_100(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - flags = 0; - return ec_create(100, pool, clock_rate, channel_count, samples_per_frame, - flags, te); -} - -/* EC with 128ms tail length */ -static pjmedia_port* ec_create_128(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - flags = 0; - return ec_create(128, pool, clock_rate, channel_count, samples_per_frame, - flags, te); -} - -/* EC with 200ms tail length */ -static pjmedia_port* ec_create_200(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - flags = 0; - return ec_create(200, pool, clock_rate, channel_count, samples_per_frame, - flags, te); -} - -/* EC with 256ms tail length */ -static pjmedia_port* ec_create_256(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - flags = 0; - return ec_create(256, pool, clock_rate, channel_count, samples_per_frame, - flags, te); -} - - -/* EC with 400ms tail length */ -static pjmedia_port* ec_create_400(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - flags = 0; - return ec_create(400, pool, clock_rate, channel_count, samples_per_frame, - flags, te); -} - -/* EC with 500ms tail length */ -static pjmedia_port* ec_create_500(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - flags = 0; - return ec_create(500, pool, clock_rate, channel_count, samples_per_frame, - flags, te); -} - -/* EC with 512ms tail length */ -static pjmedia_port* ec_create_512(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - flags = 0; - return ec_create(512, pool, clock_rate, channel_count, samples_per_frame, - flags, te); -} - -/* EC with 600ms tail length */ -static pjmedia_port* ec_create_600(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - flags = 0; - return ec_create(600, pool, clock_rate, channel_count, samples_per_frame, - flags, te); -} - -/* EC with 800ms tail length */ -static pjmedia_port* ec_create_800(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - flags = 0; - return ec_create(800, pool, clock_rate, channel_count, samples_per_frame, - flags, te); -} - - - -/* Echo suppressor with 100ms tail length */ -static pjmedia_port* es_create_100(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - flags = PJMEDIA_ECHO_SIMPLE; - return ec_create(100, pool, clock_rate, channel_count, samples_per_frame, - flags, te); -} - -/* Echo suppressor with 128ms tail length */ -static pjmedia_port* es_create_128(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - flags = PJMEDIA_ECHO_SIMPLE; - return ec_create(128, pool, clock_rate, channel_count, samples_per_frame, - flags, te); -} - -/* Echo suppressor with 200ms tail length */ -static pjmedia_port* es_create_200(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - flags = PJMEDIA_ECHO_SIMPLE; - return ec_create(200, pool, clock_rate, channel_count, samples_per_frame, - flags, te); -} - -/* Echo suppressor with 256ms tail length */ -static pjmedia_port* es_create_256(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - flags = PJMEDIA_ECHO_SIMPLE; - return ec_create(256, pool, clock_rate, channel_count, samples_per_frame, - flags, te); -} - - -/* Echo suppressor with 400ms tail length */ -static pjmedia_port* es_create_400(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - flags = PJMEDIA_ECHO_SIMPLE; - return ec_create(400, pool, clock_rate, channel_count, samples_per_frame, - flags, te); -} - -/* Echo suppressor with 500ms tail length */ -static pjmedia_port* es_create_500(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - flags = PJMEDIA_ECHO_SIMPLE; - return ec_create(500, pool, clock_rate, channel_count, samples_per_frame, - flags, te); -} - -/* Echo suppressor with 512ms tail length */ -static pjmedia_port* es_create_512(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - flags = PJMEDIA_ECHO_SIMPLE; - return ec_create(512, pool, clock_rate, channel_count, samples_per_frame, - flags, te); -} - -/* Echo suppressor with 600ms tail length */ -static pjmedia_port* es_create_600(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - flags = PJMEDIA_ECHO_SIMPLE; - return ec_create(600, pool, clock_rate, channel_count, samples_per_frame, - flags, te); -} - -/* Echo suppressor with 800ms tail length */ -static pjmedia_port* es_create_800(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - flags = PJMEDIA_ECHO_SIMPLE; - return ec_create(800, pool, clock_rate, channel_count, samples_per_frame, - flags, te); -} - - -/***************************************************************************/ -/* Tone generator, single frequency */ -static pjmedia_port* create_tonegen(unsigned freq1, - unsigned freq2, - pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - pjmedia_port *tonegen; - pjmedia_tone_desc tones[2]; - pj_status_t status; - - PJ_UNUSED_ARG(flags); - PJ_UNUSED_ARG(te); - - status = pjmedia_tonegen_create(pool, clock_rate, channel_count, - samples_per_frame, 16, - PJMEDIA_TONEGEN_LOOP, &tonegen); - if (status != PJ_SUCCESS) - return NULL; - - pj_bzero(tones, sizeof(tones)); - tones[0].freq1 = (short)freq1; - tones[0].freq2 = (short)freq2; - tones[0].on_msec = 400; - tones[0].off_msec = 0; - tones[1].freq1 = (short)freq1; - tones[1].freq2 = (short)freq2; - tones[1].on_msec = 400; - tones[1].off_msec = 100; - - status = pjmedia_tonegen_play(tonegen, PJ_ARRAY_SIZE(tones), tones, - PJMEDIA_TONEGEN_LOOP); - if (status != PJ_SUCCESS) - return NULL; - - return tonegen; -} - -/* Tonegen with single frequency */ -static pjmedia_port* create_tonegen1(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_tonegen(400, 0, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* Tonegen with dual frequency */ -static pjmedia_port* create_tonegen2(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_tonegen(400, 440, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - - - -/***************************************************************************/ -/* Stream */ - -struct stream_port -{ - pjmedia_port base; - pj_status_t (*codec_deinit)(); - pjmedia_endpt *endpt; - pjmedia_stream *stream; - pjmedia_transport *transport; -}; - - -static void stream_port_custom_deinit(struct test_entry *te) -{ - struct stream_port *sp = (struct stream_port*) te->pdata[0]; - - pjmedia_stream_destroy(sp->stream); - pjmedia_transport_close(sp->transport); - sp->codec_deinit(); - pjmedia_endpt_destroy(sp->endpt); - -} - -static pjmedia_port* create_stream( pj_pool_t *pool, - const char *codec, - pj_status_t (*codec_init)(pjmedia_endpt*), - pj_status_t (*codec_deinit)(), - pj_bool_t srtp_enabled, - pj_bool_t srtp_80, - pj_bool_t srtp_auth, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - struct stream_port *sp; - pj_str_t codec_id; - pjmedia_port *port; - const pjmedia_codec_info *ci[1]; - unsigned count; - pjmedia_codec_param codec_param; - pjmedia_stream_info si; - pj_status_t status; - - PJ_UNUSED_ARG(flags); - - codec_id = pj_str((char*)codec); - sp = PJ_POOL_ZALLOC_T(pool, struct stream_port); - pjmedia_port_info_init(&sp->base.info, &codec_id, 0x123456, clock_rate, - channel_count, 16, samples_per_frame); - - te->pdata[0] = sp; - te->custom_deinit = &stream_port_custom_deinit; - sp->codec_deinit = codec_deinit; - - status = pjmedia_endpt_create(mem, NULL, 0, &sp->endpt); - if (status != PJ_SUCCESS) - return NULL; - - status = codec_init(sp->endpt); - if (status != PJ_SUCCESS) - return NULL; - - count = 1; - status = pjmedia_codec_mgr_find_codecs_by_id(pjmedia_endpt_get_codec_mgr(sp->endpt), - &codec_id, &count, ci, NULL); - if (status != PJ_SUCCESS) - return NULL; - - - - status = pjmedia_codec_mgr_get_default_param(pjmedia_endpt_get_codec_mgr(sp->endpt), - ci[0], &codec_param); - if (status != PJ_SUCCESS) - return NULL; - - /* Create stream info */ - pj_bzero(&si, sizeof(si)); - si.type = PJMEDIA_TYPE_AUDIO; - si.proto = PJMEDIA_TP_PROTO_RTP_AVP; - si.dir = PJMEDIA_DIR_ENCODING_DECODING; - pj_sockaddr_in_init(&si.rem_addr.ipv4, NULL, 4000); - pj_sockaddr_in_init(&si.rem_rtcp.ipv4, NULL, 4001); - pj_memcpy(&si.fmt, ci[0], sizeof(pjmedia_codec_info)); - si.param = NULL; - si.tx_pt = ci[0]->pt; - si.tx_event_pt = 101; - si.rx_event_pt = 101; - si.ssrc = pj_rand(); - si.jb_init = si.jb_min_pre = si.jb_max_pre = si.jb_max = -1; - - /* Create loop transport */ - status = pjmedia_transport_loop_create(sp->endpt, &sp->transport); - if (status != PJ_SUCCESS) - return NULL; - -#if PJMEDIA_HAS_SRTP - if (srtp_enabled) { - pjmedia_srtp_setting opt; - pjmedia_srtp_crypto crypto; - pjmedia_transport *srtp; - - pjmedia_srtp_setting_default(&opt); - opt.close_member_tp = PJ_TRUE; - opt.use = PJMEDIA_SRTP_MANDATORY; - - status = pjmedia_transport_srtp_create(sp->endpt, sp->transport, &opt, - &srtp); - if (status != PJ_SUCCESS) - return NULL; - - pj_bzero(&crypto, sizeof(crypto)); - if (srtp_80) { - crypto.key = pj_str("123456789012345678901234567890"); - crypto.name = pj_str("AES_CM_128_HMAC_SHA1_80"); - } else { - crypto.key = pj_str("123456789012345678901234567890"); - crypto.name = pj_str("AES_CM_128_HMAC_SHA1_32"); - } - - if (!srtp_auth) - crypto.flags = PJMEDIA_SRTP_NO_AUTHENTICATION; - - status = pjmedia_transport_srtp_start(srtp, &crypto, &crypto); - if (status != PJ_SUCCESS) - return NULL; - - sp->transport = srtp; - } -#endif - - /* Create stream */ - status = pjmedia_stream_create(sp->endpt, pool, &si, sp->transport, NULL, - &sp->stream); - if (status != PJ_SUCCESS) - return NULL; - - /* Start stream */ - status = pjmedia_stream_start(sp->stream); - if (status != PJ_SUCCESS) - return NULL; - - status = pjmedia_stream_get_port(sp->stream, &port); - if (status != PJ_SUCCESS) - return NULL; - - return port; -} - -#if PJMEDIA_HAS_G711_CODEC -/* G.711 stream, no SRTP */ -static pjmedia_port* create_stream_pcmu( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_stream(pool, "pcmu", &pjmedia_codec_g711_init, - &pjmedia_codec_g711_deinit, - PJ_FALSE, PJ_FALSE, PJ_FALSE, - clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* G.711 stream, SRTP 32bit key no auth */ -static pjmedia_port* create_stream_pcmu_srtp32_no_auth( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_stream(pool, "pcmu", &pjmedia_codec_g711_init, - &pjmedia_codec_g711_deinit, - PJ_TRUE, PJ_FALSE, PJ_FALSE, - clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* G.711 stream, SRTP 32bit key with auth */ -static pjmedia_port* create_stream_pcmu_srtp32_with_auth(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_stream(pool, "pcmu", &pjmedia_codec_g711_init, - &pjmedia_codec_g711_deinit, - PJ_TRUE, PJ_FALSE, PJ_TRUE, - clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* G.711 stream, SRTP 80bit key no auth */ -static pjmedia_port* create_stream_pcmu_srtp80_no_auth( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_stream(pool, "pcmu", &pjmedia_codec_g711_init, - &pjmedia_codec_g711_deinit, - PJ_TRUE, PJ_TRUE, PJ_FALSE, - clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* G.711 stream, SRTP 80bit key with auth */ -static pjmedia_port* create_stream_pcmu_srtp80_with_auth(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_stream(pool, "pcmu", &pjmedia_codec_g711_init, - &pjmedia_codec_g711_deinit, - PJ_TRUE, PJ_TRUE, PJ_TRUE, - clock_rate, channel_count, - samples_per_frame, flags, te); -} -#endif - -#if PJMEDIA_HAS_GSM_CODEC -/* GSM stream */ -static pjmedia_port* create_stream_gsm( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_stream(pool, "gsm", &pjmedia_codec_gsm_init, - &pjmedia_codec_gsm_deinit, - PJ_FALSE, PJ_FALSE, PJ_FALSE, - clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* GSM stream, SRTP 32bit, no auth */ -static pjmedia_port* create_stream_gsm_srtp32_no_auth(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_stream(pool, "gsm", &pjmedia_codec_gsm_init, - &pjmedia_codec_gsm_deinit, - PJ_TRUE, PJ_FALSE, PJ_FALSE, - clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* GSM stream, SRTP 32bit, with auth */ -static pjmedia_port* create_stream_gsm_srtp32_with_auth(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_stream(pool, "gsm", &pjmedia_codec_gsm_init, - &pjmedia_codec_gsm_deinit, - PJ_TRUE, PJ_FALSE, PJ_TRUE, - clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* GSM stream, SRTP 80bit, no auth */ -static pjmedia_port* create_stream_gsm_srtp80_no_auth(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_stream(pool, "gsm", &pjmedia_codec_gsm_init, - &pjmedia_codec_gsm_deinit, - PJ_TRUE, PJ_TRUE, PJ_FALSE, - clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* GSM stream, SRTP 80bit, with auth */ -static pjmedia_port* create_stream_gsm_srtp80_with_auth(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_stream(pool, "gsm", &pjmedia_codec_gsm_init, - &pjmedia_codec_gsm_deinit, - PJ_TRUE, PJ_TRUE, PJ_TRUE, - clock_rate, channel_count, - samples_per_frame, flags, te); -} -#endif - -#if PJMEDIA_HAS_G722_CODEC -/* G722 stream */ -static pjmedia_port* create_stream_g722( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_stream(pool, "g722", &pjmedia_codec_g722_init, - &pjmedia_codec_g722_deinit, - PJ_FALSE, PJ_FALSE, PJ_FALSE, - clock_rate, channel_count, - samples_per_frame, flags, te); -} -#endif - -#if PJMEDIA_HAS_G7221_CODEC -/* G722.1 stream */ -static pjmedia_port* create_stream_g7221( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_stream(pool, "g7221/16000", &pjmedia_codec_g7221_init, - &pjmedia_codec_g7221_deinit, - PJ_FALSE, PJ_FALSE, PJ_FALSE, - clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* G722.1 Annex C stream */ -static pjmedia_port* create_stream_g7221c( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_stream(pool, "g7221/32000", &pjmedia_codec_g7221_init, - &pjmedia_codec_g7221_deinit, - PJ_FALSE, PJ_FALSE, PJ_FALSE, - clock_rate, channel_count, - samples_per_frame, flags, te); -} -#endif /* PJMEDIA_HAS_G7221_CODEC */ - -/* AMR-NB stream */ -#if PJMEDIA_HAS_OPENCORE_AMRNB_CODEC -static pjmedia_port* create_stream_amr( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_stream(pool, "AMR/8000", &pjmedia_codec_opencore_amrnb_init, - &pjmedia_codec_opencore_amrnb_deinit, - PJ_FALSE, PJ_FALSE, PJ_FALSE, - clock_rate, channel_count, - samples_per_frame, flags, te); -} -#endif /* PJMEDIA_HAS_OPENCORE_AMRNB_CODEC */ - -/***************************************************************************/ -/* Delay buffer */ -enum {DELAY_BUF_MAX_DELAY = 80}; -struct delaybuf_port -{ - pjmedia_port base; - pjmedia_delay_buf *delaybuf; - pjmedia_port *gen_port; - int drift_pct; -}; - - -static pj_status_t delaybuf_get_frame(struct pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct delaybuf_port *dp = (struct delaybuf_port*)this_port; - pj_status_t status; - - status = pjmedia_delay_buf_get(dp->delaybuf, (pj_int16_t*)frame->buf); - pj_assert(status == PJ_SUCCESS); - - /* Additional GET when drift_pct is negative */ - if (dp->drift_pct < 0) { - int rnd; - rnd = pj_rand() % 100; - - if (rnd < -dp->drift_pct) { - status = pjmedia_delay_buf_get(dp->delaybuf, (pj_int16_t*)frame->buf); - pj_assert(status == PJ_SUCCESS); - } - } - - return PJ_SUCCESS; -} - -static pj_status_t delaybuf_put_frame(struct pjmedia_port *this_port, - pjmedia_frame *frame) -{ - struct delaybuf_port *dp = (struct delaybuf_port*)this_port; - pj_status_t status; - pjmedia_frame f = *frame; - - status = pjmedia_port_get_frame(dp->gen_port, &f); - pj_assert(status == PJ_SUCCESS); - status = pjmedia_delay_buf_put(dp->delaybuf, (pj_int16_t*)f.buf); - pj_assert(status == PJ_SUCCESS); - - /* Additional PUT when drift_pct is possitive */ - if (dp->drift_pct > 0) { - int rnd; - rnd = pj_rand() % 100; - - if (rnd < dp->drift_pct) { - status = pjmedia_port_get_frame(dp->gen_port, &f); - pj_assert(status == PJ_SUCCESS); - status = pjmedia_delay_buf_put(dp->delaybuf, (pj_int16_t*)f.buf); - pj_assert(status == PJ_SUCCESS); - } - } - - return PJ_SUCCESS; -} - -static pj_status_t delaybuf_on_destroy(struct pjmedia_port *this_port) -{ - struct delaybuf_port *dp = (struct delaybuf_port*)this_port; - pjmedia_port_destroy(dp->gen_port); - pjmedia_delay_buf_destroy(dp->delaybuf); - return PJ_SUCCESS; -} - -static pjmedia_port* create_delaybuf(int drift_pct, - pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - struct delaybuf_port *dp; - pj_str_t name = pj_str("delaybuf"); - unsigned opt = 0; - pj_status_t status; - - PJ_UNUSED_ARG(flags); - PJ_UNUSED_ARG(te); - - dp = PJ_POOL_ZALLOC_T(pool, struct delaybuf_port); - dp->drift_pct = drift_pct; - dp->base.get_frame = &delaybuf_get_frame; - dp->base.put_frame = &delaybuf_put_frame; - dp->base.on_destroy = &delaybuf_on_destroy; - pjmedia_port_info_init(&dp->base.info, &name, 0x5678, clock_rate, - channel_count, 16, samples_per_frame); - - status = pjmedia_delay_buf_create(pool, "mips_test", clock_rate, - samples_per_frame, channel_count, - DELAY_BUF_MAX_DELAY, - opt, &dp->delaybuf); - if (status != PJ_SUCCESS) - return NULL; - - dp->gen_port = create_gen_port(pool, clock_rate, channel_count, - samples_per_frame, 100); - if (dp->gen_port == NULL) - return NULL; - - return &dp->base; -} - - -/* Delay buffer without drift */ -static pjmedia_port* delaybuf_0( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_delaybuf(0, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - - -/* Delay buffer with 2% drift */ -static pjmedia_port* delaybuf_p2( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_delaybuf(2, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* Delay buffer with 5% drift */ -static pjmedia_port* delaybuf_p5( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_delaybuf(5, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* Delay buffer with 10% drift */ -static pjmedia_port* delaybuf_p10(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_delaybuf(10, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* Delay buffer with 20% drift */ -static pjmedia_port* delaybuf_p20(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_delaybuf(20, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* Delay buffer with -2% drift */ -static pjmedia_port* delaybuf_n2( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_delaybuf(-2, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* Delay buffer with -5% drift */ -static pjmedia_port* delaybuf_n5( pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_delaybuf(-5, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* Delay buffer with -10% drift */ -static pjmedia_port* delaybuf_n10(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_delaybuf(-10, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - -/* Delay buffer with -20% drift */ -static pjmedia_port* delaybuf_n20(pj_pool_t *pool, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned flags, - struct test_entry *te) -{ - return create_delaybuf(-20, pool, clock_rate, channel_count, - samples_per_frame, flags, te); -} - - -/***************************************************************************/ -/* Run test entry, return elapsed time */ -static pj_timestamp run_entry(unsigned clock_rate, struct test_entry *e) -{ - pj_pool_t *pool; - pjmedia_port *port; - pj_timestamp t0, t1; - unsigned j, samples_per_frame; - pj_int16_t pcm[32000 * PTIME / 1000]; - pjmedia_port *gen_port; - pj_status_t status; - - samples_per_frame = clock_rate * PTIME / 1000; - - pool = pj_pool_create(mem, "pool", 1024, 1024, NULL); - port = e->init(pool, clock_rate, 1, samples_per_frame, 0, e); - if (port == NULL) { - t0.u64 = 0; - pj_pool_release(pool); - PJ_LOG(1,(THIS_FILE, " init error")); - return t0; - } - - /* Port may decide to use different ptime (e.g. iLBC) */ - samples_per_frame = PJMEDIA_PIA_SPF(&port->info); - - gen_port = create_gen_port(pool, clock_rate, 1, - samples_per_frame, 100); - if (gen_port == NULL) { - t0.u64 = 0; - pj_pool_release(pool); - return t0; - } - - pj_get_timestamp(&t0); - for (j=0; jvalid_op==OP_GET_PUT) { - frm.buf = (void*)pcm; - frm.size = samples_per_frame * 2; - frm.type = PJMEDIA_FRAME_TYPE_NONE; - - status = pjmedia_port_get_frame(port, &frm); - pj_assert(status == PJ_SUCCESS); - - status = pjmedia_port_put_frame(port, &frm); - pj_assert(status == PJ_SUCCESS); - - } else if (e->valid_op == OP_GET) { - frm.buf = (void*)pcm; - frm.size = samples_per_frame * 2; - frm.type = PJMEDIA_FRAME_TYPE_NONE; - - status = pjmedia_port_get_frame(port, &frm); - pj_assert(status == PJ_SUCCESS); - - } else if (e->valid_op == OP_PUT) { - frm.buf = (void*)pcm; - frm.size = samples_per_frame * 2; - frm.type = PJMEDIA_FRAME_TYPE_NONE; - - status = pjmedia_port_get_frame(gen_port, &frm); - pj_assert(status == PJ_SUCCESS); - - status = pjmedia_port_put_frame(port, &frm); - pj_assert(status == PJ_SUCCESS); - - } else if (e->valid_op == OP_PUT_GET) { - frm.buf = (void*)pcm; - frm.size = samples_per_frame * 2; - frm.type = PJMEDIA_FRAME_TYPE_NONE; - - status = pjmedia_port_get_frame(gen_port, &frm); - pj_assert(status == PJ_SUCCESS); - - status = pjmedia_port_put_frame(port, &frm); - pj_assert(status == PJ_SUCCESS); - - status = pjmedia_port_get_frame(port, &frm); - pj_assert(status == PJ_SUCCESS); - } - } - pj_get_timestamp(&t1); - - pj_sub_timestamp(&t1, &t0); - - if (e->custom_deinit) - e->custom_deinit(e); - - pjmedia_port_destroy(port); - pj_pool_release(pool); - - return t1; -} - -/***************************************************************************/ -int mips_test(void) -{ - struct test_entry entries[] = { - { "get from memplayer", OP_GET, K8|K16, &gen_port_test_init}, - { "conference bridge with 1 call", OP_GET_PUT, K8|K16, &conf1_test_init}, - { "conference bridge with 2 calls", OP_GET_PUT, K8|K16, &conf2_test_init}, - { "conference bridge with 4 calls", OP_GET_PUT, K8|K16, &conf4_test_init}, - { "conference bridge with 8 calls", OP_GET_PUT, K8|K16, &conf8_test_init}, - { "conference bridge with 16 calls", OP_GET_PUT, K8|K16, &conf16_test_init}, - { "upsample+downsample - linear", OP_GET, K8|K16, &linear_resample}, - { "upsample+downsample - small filter", OP_GET, K8|K16, &small_filt_resample}, - { "upsample+downsample - large filter", OP_GET, K8|K16, &large_filt_resample}, - { "WSOLA PLC - 0% loss", OP_GET, K8|K16, &wsola_plc_0}, - { "WSOLA PLC - 2% loss", OP_GET, K8|K16, &wsola_plc_2}, - { "WSOLA PLC - 5% loss", OP_GET, K8|K16, &wsola_plc_5}, - { "WSOLA PLC - 10% loss", OP_GET, K8|K16, &wsola_plc_10}, - { "WSOLA PLC - 20% loss", OP_GET, K8|K16, &wsola_plc_20}, - { "WSOLA PLC - 50% loss", OP_GET, K8|K16, &wsola_plc_50}, - { "WSOLA discard 2% excess", OP_GET, K8|K16, &wsola_discard_2}, - { "WSOLA discard 5% excess", OP_GET, K8|K16, &wsola_discard_5}, - { "WSOLA discard 10% excess", OP_GET, K8|K16, &wsola_discard_10}, - { "WSOLA discard 20% excess", OP_GET, K8|K16, &wsola_discard_20}, - { "WSOLA discard 50% excess", OP_GET, K8|K16, &wsola_discard_50}, - { "Delay buffer", OP_GET_PUT, K8|K16, &delaybuf_0}, - { "Delay buffer - drift -2%", OP_GET_PUT, K8|K16, &delaybuf_n2}, - { "Delay buffer - drift -5%", OP_GET_PUT, K8|K16, &delaybuf_n5}, - { "Delay buffer - drift -10%", OP_GET_PUT, K8|K16, &delaybuf_n10}, - { "Delay buffer - drift -20%", OP_GET_PUT, K8|K16, &delaybuf_n20}, - { "Delay buffer - drift +2%", OP_GET_PUT, K8|K16, &delaybuf_p2}, - { "Delay buffer - drift +5%", OP_GET_PUT, K8|K16, &delaybuf_p5}, - { "Delay buffer - drift +10%", OP_GET_PUT, K8|K16, &delaybuf_p10}, - { "Delay buffer - drift +20%", OP_GET_PUT, K8|K16, &delaybuf_p20}, - { "echo canceller 100ms tail len", OP_GET_PUT, K8|K16, &ec_create_100}, - { "echo canceller 128ms tail len", OP_GET_PUT, K8|K16, &ec_create_128}, - { "echo canceller 200ms tail len", OP_GET_PUT, K8|K16, &ec_create_200}, - { "echo canceller 256ms tail len", OP_GET_PUT, K8|K16, &ec_create_256}, - { "echo canceller 400ms tail len", OP_GET_PUT, K8|K16, &ec_create_400}, - { "echo canceller 500ms tail len", OP_GET_PUT, K8|K16, &ec_create_500}, - { "echo canceller 512ms tail len", OP_GET_PUT, K8|K16, &ec_create_512}, - { "echo canceller 600ms tail len", OP_GET_PUT, K8|K16, &ec_create_600}, - { "echo canceller 800ms tail len", OP_GET_PUT, K8|K16, &ec_create_800}, - { "echo suppressor 100ms tail len", OP_GET_PUT, K8|K16, &es_create_100}, - { "echo suppressor 128ms tail len", OP_GET_PUT, K8|K16, &es_create_128}, - { "echo suppressor 200ms tail len", OP_GET_PUT, K8|K16, &es_create_200}, - { "echo suppressor 256ms tail len", OP_GET_PUT, K8|K16, &es_create_256}, - { "echo suppressor 400ms tail len", OP_GET_PUT, K8|K16, &es_create_400}, - { "echo suppressor 500ms tail len", OP_GET_PUT, K8|K16, &es_create_500}, - { "echo suppressor 512ms tail len", OP_GET_PUT, K8|K16, &es_create_512}, - { "echo suppressor 600ms tail len", OP_GET_PUT, K8|K16, &es_create_600}, - { "echo suppressor 800ms tail len", OP_GET_PUT, K8|K16, &es_create_800}, - { "tone generator with single freq", OP_GET, K8|K16, &create_tonegen1}, - { "tone generator with dual freq", OP_GET, K8|K16, &create_tonegen2}, -#if PJMEDIA_HAS_G711_CODEC - { "codec encode/decode - G.711", OP_PUT, K8, &g711_encode_decode}, -#endif -#if PJMEDIA_HAS_G722_CODEC - { "codec encode/decode - G.722", OP_PUT, K16, &g722_encode_decode}, -#endif -#if PJMEDIA_HAS_GSM_CODEC - { "codec encode/decode - GSM", OP_PUT, K8, &gsm_encode_decode}, -#endif -#if PJMEDIA_HAS_ILBC_CODEC - { "codec encode/decode - iLBC", OP_PUT, K8, &ilbc_encode_decode}, -#endif -#if PJMEDIA_HAS_SPEEX_CODEC - { "codec encode/decode - Speex 8Khz", OP_PUT, K8, &speex8_encode_decode}, - { "codec encode/decode - Speex 16Khz", OP_PUT, K16, &speex16_encode_decode}, -#endif -#if PJMEDIA_HAS_G7221_CODEC - { "codec encode/decode - G.722.1", OP_PUT, K16, &g7221_encode_decode}, - { "codec encode/decode - G.722.1c", OP_PUT, K32, &g7221c_encode_decode}, -#endif -#if PJMEDIA_HAS_OPENCORE_AMRNB_CODEC - { "codec encode/decode - AMR-NB", OP_PUT, K8, &amr_encode_decode}, -#endif -#if PJMEDIA_HAS_L16_CODEC - { "codec encode/decode - L16/8000/1", OP_PUT, K8, &l16_8_encode_decode}, - { "codec encode/decode - L16/16000/1", OP_PUT, K16, &l16_16_encode_decode}, -#endif -#if PJMEDIA_HAS_G711_CODEC - { "stream TX/RX - G.711", OP_PUT_GET, K8, &create_stream_pcmu}, - { "stream TX/RX - G.711 SRTP 32bit", OP_PUT_GET, K8, &create_stream_pcmu_srtp32_no_auth}, - { "stream TX/RX - G.711 SRTP 32bit +auth", OP_PUT_GET, K8, &create_stream_pcmu_srtp32_with_auth}, - { "stream TX/RX - G.711 SRTP 80bit", OP_PUT_GET, K8, &create_stream_pcmu_srtp80_no_auth}, - { "stream TX/RX - G.711 SRTP 80bit +auth", OP_PUT_GET, K8, &create_stream_pcmu_srtp80_with_auth}, -#endif -#if PJMEDIA_HAS_G722_CODEC - { "stream TX/RX - G.722", OP_PUT_GET, K16, &create_stream_g722}, -#endif -#if PJMEDIA_HAS_GSM_CODEC - { "stream TX/RX - GSM", OP_PUT_GET, K8, &create_stream_gsm}, - { "stream TX/RX - GSM SRTP 32bit", OP_PUT_GET, K8, &create_stream_gsm_srtp32_no_auth}, - { "stream TX/RX - GSM SRTP 32bit + auth", OP_PUT_GET, K8, &create_stream_gsm_srtp32_with_auth}, - { "stream TX/RX - GSM SRTP 80bit", OP_PUT_GET, K8, &create_stream_gsm_srtp80_no_auth}, - { "stream TX/RX - GSM SRTP 80bit + auth", OP_PUT_GET, K8, &create_stream_gsm_srtp80_with_auth}, -#endif -#if PJMEDIA_HAS_G7221_CODEC - { "stream TX/RX - G.722.1", OP_PUT_GET, K16, &create_stream_g7221}, - { "stream TX/RX - G.722.1c", OP_PUT_GET, K32, &create_stream_g7221c}, -#endif -#if PJMEDIA_HAS_OPENCORE_AMRNB_CODEC - { "stream TX/RX - AMR-NB", OP_PUT_GET, K8, &create_stream_amr}, -#endif - }; - - unsigned i, c, k[3] = {K8, K16, K32}, clock_rates[3] = {8000, 16000, 32000}; - - PJ_LOG(3,(THIS_FILE, "MIPS test, with CPU=%dMhz, %6.1f MIPS", CPU_MHZ, CPU_IPS / 1000000)); - PJ_LOG(3,(THIS_FILE, "Clock Item Time CPU MIPS")); - PJ_LOG(3,(THIS_FILE, " Rate (usec) (%%) ")); - PJ_LOG(3,(THIS_FILE, "----------------------------------------------------------------------")); - - for (c=0; cvalid_clock_rate & k[c]) == 0) - continue; - - /* Run test */ - for (j=0; jtitle, usec, cpu_pct, mips_val)); - - } - } - - return 0; -} - - - diff --git a/res/pjproject/pjmedia/src/test/rtp_test.c b/res/pjproject/pjmedia/src/test/rtp_test.c deleted file mode 100644 index e8f8fdc6fe..0000000000 --- a/res/pjproject/pjmedia/src/test/rtp_test.c +++ /dev/null @@ -1,41 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -int rtp_test() -{ - pjmedia_rtp_session rtp; - FILE *fhnd = fopen("RTP.DAT", "wb"); - const void *rtphdr; - int hdrlen; - - if (!fhnd) - return -1; - - pjmedia_rtp_session_init (&rtp, 4, 0x12345678); - pjmedia_rtp_encode_rtp (&rtp, 4, 0, 0, 160, &rtphdr, &hdrlen); - if (fwrite (rtphdr, hdrlen, 1, fhnd) != 1) { - fclose(fhnd); - return -1; - } - fclose(fhnd); - return 0; -} diff --git a/res/pjproject/pjmedia/src/test/sdp_neg_test.c b/res/pjproject/pjmedia/src/test/sdp_neg_test.c deleted file mode 100644 index 4d15882d1e..0000000000 --- a/res/pjproject/pjmedia/src/test/sdp_neg_test.c +++ /dev/null @@ -1,1596 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms oa the GNU General Public License as published by - * the Free Software Foundation; either version 2 oa the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty oa - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy oa the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include "test.h" - - -#define THIS_FILE "sdp_neg_test.c" -#define START_TEST 0 - -enum session_type -{ - REMOTE_OFFER, - LOCAL_OFFER, -}; - -struct offer_answer -{ - enum session_type type; /* LOCAL_OFFER: REMOTE_OFFER: */ - char *sdp1; /* local offer remote offer */ - char *sdp2; /* remote answer initial local */ - char *sdp3; /* local active media local answer */ -}; - -static struct test -{ - const char *title; - unsigned offer_answer_count; - struct offer_answer offer_answer[4]; -} test[] = -{ - /* test 0: */ - { - /********************************************************************* - * RFC 3264 examples, section 10.1 (Alice's view) - * - * Difference from the example: - * - Bob's port number of the third media stream in the first answer - * is changed (make it different than Alice's) - * - in the second offer/answer exchange, Alice can't accept the - * additional line since she didn't specify the capability - * in the initial negotiator creation. - */ - - "RFC 3264 example 10.1 (Alice's view)", - 2, - { - { - LOCAL_OFFER, - /* Alice sends offer: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.anywhere.com\r\n" - "s= \r\n" - "c=IN IP4 host.anywhere.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 51372 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n" - "m=video 53000 RTP/AVP 32\r\n" - "a=rtpmap:32 MPV/90000\r\n", - /* Received Bob's answer: */ - "v=0\r\n" - "o=bob 2890844730 2890844730 IN IP4 host.example.com\r\n" - "s= \r\n" - "c=IN IP4 host.example.com\r\n" - "t=0 0\r\n" - "m=audio 49920 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 0 RTP/AVP 31\r\n" - "m=video 53002 RTP/AVP 32\r\n" - "a=rtpmap:32 MPV/90000\r\n", - /* Alice's SDP now: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.anywhere.com\r\n" - "s= \r\n" - "c=IN IP4 host.anywhere.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 0 RTP/AVP 31\r\n" - //"a=rtpmap:31 H261/90000\r\n" /* <-- this is not necessary (port 0) */ - "m=video 53000 RTP/AVP 32\r\n" - "a=rtpmap:32 MPV/90000\r\n" - }, - { - REMOTE_OFFER, - /* Bob wants to change his local SDP - * (change local port for the first stream and add new stream) - * Received SDP from Bob: - */ - "v=0\r\n" - "o=bob 2890844730 2890844731 IN IP4 host.example.com\r\n" - "s=-\r\n" - "c=IN IP4 host.example.com\r\n" - "t=0 0\r\n" - "m=audio 65422 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 0 RTP/AVP 31\r\n" - "m=video 53002 RTP/AVP 32\r\n" - "a=rtpmap:32 MPV/90000\r\n" - "m=audio 51434 RTP/AVP 110\r\n" - "a=rtpmap:110 telephone-events/8000\r\n" - "a=recvonly\r\n", - NULL, - /* Alice's SDP now */ - "v=0\r\n" - "o=alice 2890844526 2890844527 IN IP4 host.anywhere.com\r\n" - "s= \r\n" - "c=IN IP4 host.anywhere.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 0 RTP/AVP 31\r\n" - //"a=rtpmap:31 H261/90000\r\n" /* <-- this is not necessary (port 0) */ - "m=video 53000 RTP/AVP 32\r\n" - "a=rtpmap:32 MPV/90000\r\n" - "m=audio 0 RTP/AVP 110\r\n" - /* <-- the following attributes are not necessary (port 0) */ - //"a=rtpmap:110 telephone-events/8000\r\n" - //"a=sendonly\r\n" - } - } - }, - - /* test 1: */ - { - /********************************************************************* - * RFC 3264 examples, section 10.1. (Bob's view) - * - * Difference: - * - the SDP version in Bob's capability is changed to ver-1. - */ - - "RFC 3264 example 10.1 (Bob's view)", - 2, - { - { - REMOTE_OFFER, - /* Remote offer from Alice: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.anywhere.com\r\n" - "s= \r\n" - "c=IN IP4 host.anywhere.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 51372 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n" - "m=video 53000 RTP/AVP 32\r\n" - "a=rtpmap:32 MPV/90000\r\n", - /* Bob's capability: */ - "v=0\r\n" - "o=bob 2890844730 2890844729 IN IP4 host.example.com\r\n" - "s= \r\n" - "c=IN IP4 host.example.com\r\n" - "t=0 0\r\n" - "m=audio 49920 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 0 RTP/AVP 31\r\n" - "m=video 53000 RTP/AVP 32\r\n" - "a=rtpmap:32 MPV/90000\r\n", - /* This's how Bob's answer should look like: */ - "v=0\r\n" - "o=bob 2890844730 2890844730 IN IP4 host.example.com\r\n" - "s= \r\n" - "c=IN IP4 host.example.com\r\n" - "t=0 0\r\n" - "m=audio 49920 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 0 RTP/AVP 31\r\n" - "m=video 53000 RTP/AVP 32\r\n" - "a=rtpmap:32 MPV/90000\r\n" - }, - { - LOCAL_OFFER, - /* Bob wants to change his local SDP - * (change local port for the first stream and add new stream) - */ - "v=0\r\n" - "o=bob 2890844730 2890844731 IN IP4 host.example.com\r\n" - "s=-\r\n" - "c=IN IP4 host.example.com\r\n" - "t=0 0\r\n" - "m=audio 65422 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 0 RTP/AVP 31\r\n" - "m=video 53000 RTP/AVP 32\r\n" - "a=rtpmap:32 MPV/90000\r\n" - "m=audio 51434 RTP/AVP 110\r\n" - "a=rtpmap:110 telephone-events/8000\r\n" - "a=recvonly\r\n", - /* Got answer from Alice */ - "v=0\r\n" - "o=alice 2890844526 2890844527 IN IP4 host.anywhere.com\r\n" - "s=-\r\n" - "c=IN IP4 host.anywhere.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 0 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n" - "m=video 53000 RTP/AVP 32\r\n" - "a=rtpmap:32 MPV/90000\r\n" - "m=audio 53122 RTP/AVP 110\r\n" - "a=rtpmap:110 telephone-events/8000\r\n" - "a=sendonly\r\n", - /* This is how Bob's SDP should look like after negotiation */ - "v=0\r\n" - "o=bob 2890844730 2890844731 IN IP4 host.example.com\r\n" - "s=-\r\n" - "c=IN IP4 host.example.com\r\n" - "t=0 0\r\n" - "m=audio 65422 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 0 RTP/AVP 31\r\n" - "m=video 53000 RTP/AVP 32\r\n" - "a=rtpmap:32 MPV/90000\r\n" - "m=audio 51434 RTP/AVP 110\r\n" - "a=rtpmap:110 telephone-events/8000\r\n" - "a=recvonly\r\n" - } - } - }, - - /* test 2: */ - { - /********************************************************************* - * RFC 3264 examples, section 10.2. - * This is from Alice's point of view. - */ - - "RFC 3264 example 10.2 (Alice's view)", - 2, - { - { - LOCAL_OFFER, - /* The initial offer from Alice to Bob indicates a single audio - * stream with the three audio codecs that are available in the - * DSP. The stream is marked as inactive, - */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.anywhere.com\r\n" - "s=-\r\n" - "c=IN IP4 host.anywhere.com\r\n" - "t=0 0\r\n" - "m=audio 62986 RTP/AVP 0 4 18\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "a=rtpmap:4 G723/8000\r\n" - "a=rtpmap:18 G729/8000\r\n" - "a=inactive\r\n", - /* Bob can support dynamic switching between PCMU and G.723. So, - * he sends the following answer: - */ - "v=0\r\n" - "o=bob 2890844730 2890844731 IN IP4 host.example.com\r\n" - "s=-\r\n" - "c=IN IP4 host.example.com\r\n" - "t=0 0\r\n" - "m=audio 54344 RTP/AVP 0 4\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "a=rtpmap:4 G723/8000\r\n" - "a=inactive\r\n", - /* This is how Alice's media should look like after negotiation */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.anywhere.com\r\n" - "s=-\r\n" - "c=IN IP4 host.anywhere.com\r\n" - "t=0 0\r\n" - "m=audio 62986 RTP/AVP 0 4\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "a=rtpmap:4 G723/8000\r\n" - "a=inactive\r\n", - }, - { - LOCAL_OFFER, - /* Alice sends an updated offer with a sendrecv stream: */ - "v=0\r\n" - "o=alice 2890844526 2890844527 IN IP4 host.anywhere.com\r\n" - "s=-\r\n" - "c=IN IP4 host.anywhere.com\r\n" - "t=0 0\r\n" - "m=audio 62986 RTP/AVP 4\r\n" - "a=rtpmap:4 G723/8000\r\n" - "a=sendrecv\r\n", - /* Bob accepts the single codec: */ - "v=0\r\n" - "o=bob 2890844730 2890844732 IN IP4 host.example.com\r\n" - "s= \r\n" - "c=IN IP4 host.example.com\r\n" - "t=0 0\r\n" - "m=audio 54344 RTP/AVP 4\r\n" - "a=rtpmap:4 G723/8000\r\n" - "a=sendrecv\r\n", - /* This is how Alice's media should look like after negotiation */ - "v=0\r\n" - "o=alice 2890844526 2890844527 IN IP4 host.anywhere.com\r\n" - "s=-\r\n" - "c=IN IP4 host.anywhere.com\r\n" - "t=0 0\r\n" - "m=audio 62986 RTP/AVP 4\r\n" - "a=rtpmap:4 G723/8000\r\n" - "a=sendrecv\r\n" - } - } - }, - -#if 0 - // this test is commented, this causes error: - // No suitable codec for remote offer (PJMEDIA_SDPNEG_NOANSCODEC), - // since currently the negotiator always answer with one codec, - // PCMU in this case, while PCMU is not included in the second offer. - - /* test 3: */ - { - /********************************************************************* - * RFC 3264 examples, section 10.2. - * This is from Bob's point of view. - * - * Difference: - * - The SDP version number in Bob's initial capability is ver-1 - */ - - "RFC 3264 example 10.2 (Bob's view)", - 2, - { - { - REMOTE_OFFER, - /* Bob received offer from Alice: - */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.anywhere.com\r\n" - "s=-\r\n" - "c=IN IP4 host.anywhere.com\r\n" - "t=0 0\r\n" - "m=audio 62986 RTP/AVP 0 4 18\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "a=rtpmap:4 G723/8000\r\n" - "a=rtpmap:18 G729/8000\r\n" - "a=inactive\r\n", - /* Bob's capability: - */ - "v=0\r\n" - "o=bob 2890844730 2890844730 IN IP4 host.example.com\r\n" - "s=-\r\n" - "c=IN IP4 host.example.com\r\n" - "t=0 0\r\n" - "m=audio 54344 RTP/AVP 0 4\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "a=rtpmap:4 G723/8000\r\n" - "a=inactive\r\n", - /* This is how Bob's media should look like after negotiation */ - "v=0\r\n" - "o=bob 2890844730 2890844731 IN IP4 host.example.com\r\n" - "s=-\r\n" - "c=IN IP4 host.example.com\r\n" - "t=0 0\r\n" - "m=audio 54344 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "a=inactive\r\n" - }, - { - REMOTE_OFFER, - /* Received updated Alice's SDP: offer with a sendrecv stream: */ - "v=0\r\n" - "o=alice 2890844526 2890844527 IN IP4 host.anywhere.com\r\n" - "s=-\r\n" - "c=IN IP4 host.anywhere.com\r\n" - "t=0 0\r\n" - "m=audio 62986 RTP/AVP 4\r\n" - "a=rtpmap:4 G723/8000\r\n" - "a=sendrecv\r\n", - /* Bob accepts the single codec: */ - NULL, - /* This is how Bob's media should look like after negotiation */ - "v=0\r\n" - "o=bob 2890844730 2890844732 IN IP4 host.example.com\r\n" - "s=-\r\n" - "c=IN IP4 host.example.com\r\n" - "t=0 0\r\n" - "m=audio 54344 RTP/AVP 4\r\n" - "a=rtpmap:4 G723/8000\r\n" - "a=sendrecv\r\n", - } - } - }, -#endif - - /* test 4: */ - { - /********************************************************************* - * RFC 4317 Sample 2.1: Audio and Video 1 (Alice's view) - * - * This common scenario shows a video and audio session in which - * multiple codecs are offered but only one is accepted. As a result of - * the exchange shown below, Alice and Bob may send only PCMU audio and - * MPV video. Note: Dynamic payload type 97 is used for iLBC codec - */ - "RFC 4317 section 2.1: Audio and Video 1 (Alice's view)", - 1, - { - { - LOCAL_OFFER, - /* Alice's local offer: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=-\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 0 8 97\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "a=rtpmap:8 PCMA/8000\r\n" - "a=rtpmap:97 iLBC/8000\r\n" - "m=video 51372 RTP/AVP 31 32\r\n" - "a=rtpmap:31 H261/90000\r\n" - "a=rtpmap:32 MPV/90000\r\n", - /* Received answer from Bob: */ - "v=0\r\n" - "o=bob 2808844564 2808844564 IN IP4 host.biloxi.example.com\r\n" - "s=-\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 49174 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 49170 RTP/AVP 32\r\n" - "a=rtpmap:32 MPV/90000\r\n", - /* This is how Alice's media should look like now: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=-\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 51372 RTP/AVP 32\r\n" - "a=rtpmap:32 MPV/90000\r\n" - } - } - }, - - /* test 5: */ - { - /********************************************************************* - * RFC 4317 Sample 2.1: Audio and Video 1 (Bob's view) - * - * This common scenario shows a video and audio session in which - * multiple codecs are offered but only one is accepted. As a result of - * the exchange shown below, Alice and Bob may send only PCMU audio and - * MPV video. Note: Dynamic payload type 97 is used for iLBC codec - * - * Difference: - * - Bob's initial capability version number - */ - "RFC 4317 section 2.1: Audio and Video 1 (Bob's view)", - 1, - { - { - REMOTE_OFFER, - /* Received Alice's local offer: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=-\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 0 8 97\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "a=rtpmap:8 PCMA/8000\r\n" - "a=rtpmap:97 iLBC/8000\r\n" - "m=video 51372 RTP/AVP 31 32\r\n" - "a=rtpmap:31 H261/90000\r\n" - "a=rtpmap:32 MPV/90000\r\n", - /* Bob's capability: */ - "v=0\r\n" - "o=bob 2808844564 2808844563 IN IP4 host.biloxi.example.com\r\n" - "s=-\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 49174 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 49170 RTP/AVP 32\r\n" - "a=rtpmap:32 MPV/90000\r\n", - /* This is how Bob's media should look like now: */ - "v=0\r\n" - "o=bob 2808844564 2808844564 IN IP4 host.biloxi.example.com\r\n" - "s=-\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 49174 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 49170 RTP/AVP 32\r\n" - "a=rtpmap:32 MPV/90000\r\n" - } - } - }, - - /* test 6: */ - { - /********************************************************************* - * RFC 4317 Sample 2.2: Audio and Video 2 (Alice's view) - * - * Difference: - * - Bob's initial capability version number - */ - "RFC 4317 section 2.2: Audio and Video 2 (Alice's view)", - 2, - { - { - LOCAL_OFFER, - /* Alice sends offer: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 0 8 97\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "a=rtpmap:8 PCMA/8000\r\n" - "a=rtpmap:97 iLBC/8000\r\n" - "m=video 51372 RTP/AVP 31 32\r\n" - "a=rtpmap:31 H261/90000\r\n" - "a=rtpmap:32 MPV/90000\r\n", - /* Bob's answer: */ - "v=0\r\n" - "o=bob 2808844564 2808844564 IN IP4 host.biloxi.example.com\r\n" - "s=bob\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 49172 RTP/AVP 0 8\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "a=rtpmap:8 PCMA/8000\r\n" - "m=video 0 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n", - /* This is how Alice's media should look like now: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 0 8\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "a=rtpmap:8 PCMA/8000\r\n" - // By #1088, the formats won't be negotiated when the media has port 0. - //"m=video 0 RTP/AVP 31\r\n" - "m=video 0 RTP/AVP 31 32\r\n" - //"a=rtpmap:31 H261/90000\r\n" /* <-- this is not necessary (port 0) */ - }, - { - LOCAL_OFFER, - /* Alice sends updated offer: */ - "v=0\r\n" - "o=alice 2890844526 2890844527 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 51372 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 0 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n", - /* Bob's answer: */ - "v=0\r\n" - "o=bob 2808844564 2808844565 IN IP4 host.biloxi.example.com\r\n" - "s=bob\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 49172 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 0 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n", - /* This is how Alice's SDP should look like: */ - "v=0\r\n" - "o=alice 2890844526 2890844527 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 51372 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 0 RTP/AVP 31\r\n" - //"a=rtpmap:31 H261/90000\r\n" /* <-- this is not necessary (port 0) */ - } - } - }, - - /* test 7: */ - { - /********************************************************************* - * RFC 4317 Sample 2.2: Audio and Video 2 (Bob's view) - * - * Difference: - * - Bob's initial capability version number - */ - "RFC 4317 section 2.2: Audio and Video 2 (Bob's view)", - 2, - { - { - REMOTE_OFFER, - /* Received offer from alice: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 0 8 97\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "a=rtpmap:8 PCMA/8000\r\n" - "a=rtpmap:97 iLBC/8000\r\n" - "m=video 51372 RTP/AVP 31 32\r\n" - "a=rtpmap:31 H261/90000\r\n" - "a=rtpmap:32 MPV/90000\r\n", - /* Bob's initial capability: */ - "v=0\r\n" - "o=bob 2808844564 2808844563 IN IP4 host.biloxi.example.com\r\n" - "s=bob\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 49172 RTP/AVP 0 8\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "a=rtpmap:8 PCMA/8000\r\n" - "m=video 0 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n", - /* This is how Bob's answer should look like now: */ - "v=0\r\n" - "o=bob 2808844564 2808844564 IN IP4 host.biloxi.example.com\r\n" - "s=bob\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 49172 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 0 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n" - }, - { - REMOTE_OFFER, - /* Received updated offer from Alice: */ - "v=0\r\n" - "o=alice 2890844526 2890844527 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 51372 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 0 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n", - /* Bob's answer: */ - NULL, - /* This is how Bob's answer should look like: */ - "v=0\r\n" - "o=bob 2808844564 2808844565 IN IP4 host.biloxi.example.com\r\n" - "s=bob\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 49172 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 0 RTP/AVP 31\r\n" - //"a=rtpmap:31 H261/90000\r\n" /* <-- this is not necessary (port 0) */ - } - } - }, - - /* test 8: */ - { - /********************************************************************* - * RFC 4317 Sample 2.4: Audio and Telephone-Events (Alice's view) - * - */ - - "RFC 4317 section 2.4: Audio and Telephone-Events (Alice's view)", - 1, - { - { - LOCAL_OFFER, - /* Alice sends offer: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 0 97\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "a=rtpmap:97 iLBC/8000\r\n" - "m=audio 49172 RTP/AVP 98\r\n" - "a=rtpmap:98 telephone-event/8000\r\n" - "a=sendonly\r\n", - /* Received Bob's answer: */ - "v=0\r\n" - "o=bob 2808844564 2808844564 IN IP4 host.biloxi.example.com\r\n" - "s=bob\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 49172 RTP/AVP 97\r\n" - "a=rtpmap:97 iLBC/8000\r\n" - "m=audio 49174 RTP/AVP 98\r\n" - "a=rtpmap:98 telephone-event/8000\r\n" - "a=recvonly\r\n", - /* Alice's SDP now: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 97\r\n" - "a=rtpmap:97 iLBC/8000\r\n" - "m=audio 49172 RTP/AVP 98\r\n" - "a=rtpmap:98 telephone-event/8000\r\n" - "a=sendonly\r\n" - } - } - }, - - - /* test 9: */ - { - /********************************************************************* - * RFC 4317 Sample 2.4: Audio and Telephone-Events (Bob's view) - * - * Difference: - * - Bob's initial SDP version number - * - Bob's capability are added with more formats, and the - * stream order is interchanged to test the negotiator. - */ - - "RFC 4317 section 2.4: Audio and Telephone-Events (Bob's view)", - 1, - { - { - REMOTE_OFFER, - /* Received Alice's offer: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 0 97\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "a=rtpmap:97 iLBC/8000\r\n" - "m=audio 49172 RTP/AVP 98\r\n" - "a=rtpmap:98 telephone-event/8000\r\n" - "a=sendonly\r\n", - /* Bob's initial capability: */ - "v=0\r\n" - "o=bob 2808844564 2808844563 IN IP4 host.biloxi.example.com\r\n" - "s=bob\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 49174 RTP/AVP 4 98\r\n" - "a=rtpmap:98 telephone-event/8000\r\n" - "m=audio 49172 RTP/AVP 97 8 99\r\n" - "a=rtpmap:97 iLBC/8000\r\n" - "a=rtpmap:99 telephone-event/8000\r\n", - /* Bob's answer should be: */ - "v=0\r\n" - "o=bob 2808844564 2808844564 IN IP4 host.biloxi.example.com\r\n" - "s=bob\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 49172 RTP/AVP 97\r\n" - "a=rtpmap:97 iLBC/8000\r\n" - "m=audio 49174 RTP/AVP 98\r\n" - "a=rtpmap:98 telephone-event/8000\r\n" - "a=recvonly\r\n" - } - } - }, - - /* test 10: */ - { - /********************************************************************* - * RFC 4317 Sample 2.6: Audio with Telephone-Events (Alice's view) - * - */ - - "RFC 4317 section 2.6: Audio with Telephone-Events (Alice's view)", - 1, - { - { - LOCAL_OFFER, - /* Alice sends offer: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=audio 51372 RTP/AVP 97 101\r\n" - "a=rtpmap:97 iLBC/8000\r\n" - "a=rtpmap:101 telephone-event/8000\r\n", - /* Received bob's answer: */ - "v=0\r\n" - "o=bob 2808844564 2808844564 IN IP4 host.biloxi.example.com\r\n" - "s=bob\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 0 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=audio 49170 RTP/AVP 97 101\r\n" - "a=rtpmap:97 iLBC/8000\r\n" - "a=rtpmap:101 telephone-event/8000\r\n", - /* Alice's local SDP should be: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 0 RTP/AVP 0\r\n" - //"a=rtpmap:0 PCMU/8000\r\n" /* <-- this is not necessary (port 0) */ - "m=audio 51372 RTP/AVP 97 101\r\n" - "a=rtpmap:97 iLBC/8000\r\n" - "a=rtpmap:101 telephone-event/8000\r\n" - } - } - }, - - /* test 11: */ - { - /********************************************************************* - * RFC 4317 Sample 2.6: Audio with Telephone-Events (Bob's view) - * - * Difference: - * - Bob's SDP version number - * - Bob's initial capability are expanded with multiple m lines - * and more formats - */ - - "RFC 4317 section 2.6: Audio with Telephone-Events (Bob's view)", - 1, - { - { - REMOTE_OFFER, - /* Received Alice's offer: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=audio 51372 RTP/AVP 97 101\r\n" - "a=rtpmap:97 iLBC/8000\r\n" - "a=rtpmap:101 telephone-event/8000\r\n", - /* Bob's initial capability also has video: */ - "v=0\r\n" - "o=bob 2808844564 2808844563 IN IP4 host.biloxi.example.com\r\n" - "s=bob\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 4 97 101\r\n" - "a=rtpmap:4 G723/8000\r\n" - "a=rtpmap:97 iLBC/8000\r\n" - "a=rtpmap:101 telephone-event/8000\r\n" - "m=video 1000 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n", - /* Bob's answer should be: */ - "v=0\r\n" - "o=bob 2808844564 2808844564 IN IP4 host.biloxi.example.com\r\n" - "s=bob\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 0 RTP/AVP 0\r\n" - //"a=rtpmap:0 PCMU/8000\r\n" /* <-- this is not necessary (port 0) */ - "m=audio 49170 RTP/AVP 97 101\r\n" - "a=rtpmap:97 iLBC/8000\r\n" - "a=rtpmap:101 telephone-event/8000\r\n", - } - } - }, - - /* test 12: */ - { - /********************************************************************* - * Ticket #527: More lenient SDP negotiator. - */ - - "Ticket #527 scenario #1: Partial answer", - 1, - { - { - LOCAL_OFFER, - /* Alice sends offer audio and video: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 4000 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n", - /* Receive Bob's answer only audio: */ - "v=0\r\n" - "o=bob 2808844564 2808844563 IN IP4 host.biloxi.example.com\r\n" - "s=bob\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n", - /* Alice's local SDP should be: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 0 RTP/AVP 31\r\n" - //"a=rtpmap:31 H261/90000\r\n" /* <-- this is not necessary (port 0) */ - "", - } - } - }, - - /* test 13: */ - { - /********************************************************************* - * Ticket #527: More lenient SDP negotiator. - */ - - "Ticket #527 scenario #1: Media mismatch in answer", - 1, - { - { - LOCAL_OFFER, - /* Alice sends offer audio and video: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 3000 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 4000 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n", - /* Receive Bob's answer two audio: */ - "v=0\r\n" - "o=bob 2808844564 2808844563 IN IP4 host.biloxi.example.com\r\n" - "s=bob\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=audio 49172 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n", - /* Alice's local SDP should be: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 3000 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 0 RTP/AVP 31\r\n" - //"a=rtpmap:31 H261/90000\r\n" /* <-- this is not necessary (port 0) */ - "", - } - } - }, - - /* test 14: */ - { - /********************************************************************* - * Ticket #527: More lenient SDP negotiator. - */ - - "Ticket #527 scenario #2: Modify offer - partial streams", - 2, - { - { - LOCAL_OFFER, - /* Alice sends offer: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 3000 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=audio 3100 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 3200 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n" - "", - /* Receive Bob's answer: */ - "v=0\r\n" - "o=bob 2808844564 2808844563 IN IP4 host.biloxi.example.com\r\n" - "s=bob\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 4000 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=audio 4100 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 4200 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n" - "", - /* Alice's local SDP should be: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 3000 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=audio 3100 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 3200 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n" - "", - }, - { - LOCAL_OFFER, - /* Alice modifies offer with only specify one audio: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 5200 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "", - /* Receive Bob's answer: */ - "v=0\r\n" - "o=bob 2808844564 2808844563 IN IP4 host.biloxi.example.com\r\n" - "s=bob\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 7000 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=audio 0 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 0 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n" - "", - /* Alice's local SDP should be: */ - "v=0\r\n" - "o=alice 2890844526 2890844527 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 5200 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=audio 0 RTP/AVP 0\r\n" - //"a=rtpmap:0 PCMU/8000\r\n" /* <-- this is not necessary (port 0) */ - "m=video 0 RTP/AVP 31\r\n" - //"a=rtpmap:31 H261/90000\r\n" /* <-- this is not necessary (port 0) */ - "", - } - } - }, - - /* test 15: */ - { - /********************************************************************* - * Ticket #527: More lenient SDP negotiator. - */ - - "Ticket #527 scenario #2: Modify offer - unordered m= lines", - 2, - { - { - LOCAL_OFFER, - /* Alice sends offer: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 3000 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 3200 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n" - "", - /* Receive Bob's answer: */ - "v=0\r\n" - "o=bob 2808844564 2808844563 IN IP4 host.biloxi.example.com\r\n" - "s=bob\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 4000 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 4200 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n" - "", - /* Alice's local SDP should be: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 3000 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 3200 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n" - "", - }, - { - LOCAL_OFFER, - /* Alice modifies offer with unordered m= lines: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=video 5000 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n" - "m=audio 5200 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "", - /* Receive Bob's answer: */ - "v=0\r\n" - "o=bob 2808844564 2808844563 IN IP4 host.biloxi.example.com\r\n" - "s=bob\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 7000 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 2000 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n" - "", - /* Alice's local SDP should be: */ - "v=0\r\n" - "o=alice 2890844526 2890844527 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 5200 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 5000 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n" - "", - } - } - }, - - /* test 16: */ - { - /********************************************************************* - * Ticket #527: More lenient SDP negotiator. - */ - - "Ticket #527 scenario #2: Modify offer - partial & unordered streams", - 2, - { - { - LOCAL_OFFER, - /* Alice sends offer: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 3000 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=audio 3200 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 3400 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n" - "", - /* Receive Bob's answer: */ - "v=0\r\n" - "o=bob 2808844564 2808844563 IN IP4 host.biloxi.example.com\r\n" - "s=bob\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 4000 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=audio 4200 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 4400 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n" - "", - /* Alice's local SDP should be: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 3000 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=audio 3200 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 3400 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n" - "", - }, - { - LOCAL_OFFER, - /* Alice modifies offer by specifying partial and unordered media: */ - "v=0\r\n" - "o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=video 5000 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n" - "m=audio 7000 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "", - /* Receive Bob's answer: */ - "v=0\r\n" - "o=bob 2808844564 2808844563 IN IP4 host.biloxi.example.com\r\n" - "s=bob\r\n" - "c=IN IP4 host.biloxi.example.com\r\n" - "t=0 0\r\n" - "m=audio 4000 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=audio 0 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 4400 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n" - "", - /* Alice's local SDP should be: */ - "v=0\r\n" - "o=alice 2890844526 2890844527 IN IP4 host.atlanta.example.com\r\n" - "s=alice\r\n" - "c=IN IP4 host.atlanta.example.com\r\n" - "t=0 0\r\n" - "m=audio 7000 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=audio 0 RTP/AVP 0\r\n" - //"a=rtpmap:0 PCMU/8000\r\n" /* <-- this is not necessary (port 0) */ - "m=video 5000 RTP/AVP 31\r\n" - "a=rtpmap:31 H261/90000\r\n" - "", - } - } - }, - -}; - -static const char *find_diff(const char *s1, const char *s2, - int *line) -{ - *line = 1; - while (*s2 && *s1) { - if (*s2 != *s1) - return s2; - if (*s2 == '\n') - ++*line; - ++s2, ++s1; - } - - return s2; -} - -static int compare_sdp_string(const char *cmp_title, - const char *title1, - const pjmedia_sdp_session *sdp1, - const char *title2, - const pjmedia_sdp_session *sdp2, - pj_status_t logical_cmp) -{ - char sdpbuf1[1024], sdpbuf2[1024]; - pj_ssize_t len1, len2; - - len1 = pjmedia_sdp_print(sdp1, sdpbuf1, sizeof(sdpbuf1)); - if (len1 < 1) { - PJ_LOG(3,(THIS_FILE," error: printing sdp1")); - return -1; - } - sdpbuf1[len1] = '\0'; - - len2 = pjmedia_sdp_print(sdp2, sdpbuf2, sizeof(sdpbuf2)); - if (len2 < 1) { - PJ_LOG(3,(THIS_FILE," error: printing sdp2")); - return -1; - } - sdpbuf2[len2] = '\0'; - - if (logical_cmp != PJ_SUCCESS) { - char errbuf[80]; - - pjmedia_strerror(logical_cmp, errbuf, sizeof(errbuf)); - - PJ_LOG(3,(THIS_FILE,"%s mismatch: %s\n" - "%s:\n" - "%s\n" - "%s:\n" - "%s\n", - cmp_title, - errbuf, - title1, sdpbuf1, - title2, sdpbuf2)); - - return -1; - - } else if (strcmp(sdpbuf1, sdpbuf2) != 0) { - int line; - const char *diff; - - PJ_LOG(3,(THIS_FILE,"%s mismatch:\n" - "%s:\n" - "%s\n" - "%s:\n" - "%s\n", - cmp_title, - title1, sdpbuf1, - title2, sdpbuf2)); - - diff = find_diff(sdpbuf1, sdpbuf2, &line); - PJ_LOG(3,(THIS_FILE,"Difference: line %d:\n" - "%s", - line, diff)); - return -1; - - } else { - return 0; - } - -} - -static int offer_answer_test(pj_pool_t *pool, pjmedia_sdp_neg **p_neg, - struct offer_answer *oa) -{ - pjmedia_sdp_session *sdp1; - pjmedia_sdp_neg *neg; - pj_status_t status; - - status = pjmedia_sdp_parse(pool, oa->sdp1, pj_ansi_strlen(oa->sdp1), - &sdp1); - if (status != PJ_SUCCESS) { - app_perror(status, " error: unexpected parse status for sdp1"); - return -10; - } - - status = pjmedia_sdp_validate(sdp1); - if (status != PJ_SUCCESS) { - app_perror(status, " error: sdp1 validation failed"); - return -15; - } - - neg = *p_neg; - - if (oa->type == LOCAL_OFFER) { - - /* - * Local creates offer first. - */ - pjmedia_sdp_session *sdp2, *sdp3; - const pjmedia_sdp_session *active; - - if (neg == NULL) { - /* Create negotiator with local offer. */ - status = pjmedia_sdp_neg_create_w_local_offer(pool, sdp1, &neg); - if (status != PJ_SUCCESS) { - app_perror(status, " error: pjmedia_sdp_neg_create_w_local_offer"); - return -20; - } - *p_neg = neg; - - } else { - /* Modify local offer */ - status = pjmedia_sdp_neg_modify_local_offer(pool, neg, sdp1); - if (status != PJ_SUCCESS) { - app_perror(status, " error: pjmedia_sdp_neg_modify_local_offer"); - return -30; - } - } - - /* Parse and validate remote answer */ - status = pjmedia_sdp_parse(pool, oa->sdp2, pj_ansi_strlen(oa->sdp2), - &sdp2); - if (status != PJ_SUCCESS) { - app_perror(status, " error: parsing sdp2"); - return -40; - } - - status = pjmedia_sdp_validate(sdp2); - if (status != PJ_SUCCESS) { - app_perror(status, " error: sdp2 validation failed"); - return -50; - } - - /* Give the answer to negotiator. */ - status = pjmedia_sdp_neg_set_remote_answer(pool, neg, sdp2); - if (status != PJ_SUCCESS) { - app_perror(status, " error: pjmedia_sdp_neg_rx_remote_answer"); - return -60; - } - - /* Negotiate remote answer with local answer */ - status = pjmedia_sdp_neg_negotiate(pool, neg, 0); - if (status != PJ_SUCCESS) { - app_perror(status, " error: pjmedia_sdp_neg_negotiate"); - return -70; - } - - /* Get the local active media. */ - status = pjmedia_sdp_neg_get_active_local(neg, &active); - if (status != PJ_SUCCESS) { - app_perror(status, " error: pjmedia_sdp_neg_get_local"); - return -80; - } - - /* Parse and validate the correct active media. */ - status = pjmedia_sdp_parse(pool, oa->sdp3, pj_ansi_strlen(oa->sdp3), - &sdp3); - if (status != PJ_SUCCESS) { - app_perror(status, " error: parsing sdp3"); - return -90; - } - - status = pjmedia_sdp_validate(sdp3); - if (status != PJ_SUCCESS) { - app_perror(status, " error: sdp3 validation failed"); - return -100; - } - - /* Compare active with sdp3 */ - status = pjmedia_sdp_session_cmp(active, sdp3, 0); - if (status != PJ_SUCCESS) { - app_perror(status, " error: active local comparison mismatch"); - compare_sdp_string("Logical cmp after negotiatin remote answer", - "Active local sdp from negotiator", active, - "The correct active local sdp", sdp3, - status); - return -110; - } - - /* Compare the string representation oa both sdps */ - status = compare_sdp_string("String cmp after negotiatin remote answer", - "Active local sdp from negotiator", active, - "The correct active local sdp", sdp3, - PJ_SUCCESS); - if (status != 0) - return -120; - - } else { - /* - * Remote creates offer first. - */ - - pjmedia_sdp_session *sdp2 = NULL, *sdp3; - const pjmedia_sdp_session *answer; - - if (oa->sdp2) { - /* Parse and validate initial local capability */ - status = pjmedia_sdp_parse(pool, oa->sdp2, pj_ansi_strlen(oa->sdp2), - &sdp2); - if (status != PJ_SUCCESS) { - app_perror(status, " error: parsing sdp2"); - return -200; - } - - status = pjmedia_sdp_validate(sdp2); - if (status != PJ_SUCCESS) { - app_perror(status, " error: sdp2 validation failed"); - return -210; - } - } else if (neg) { - const pjmedia_sdp_session *lsdp; - status = pjmedia_sdp_neg_get_active_local(neg, &lsdp); - if (status != PJ_SUCCESS) { - app_perror(status, - " error: pjmedia_sdp_neg_get_active_local"); - return -215; - } - sdp2 = (pjmedia_sdp_session*)lsdp; - } - - if (neg == NULL) { - /* Create negotiator with remote offer. */ - status = pjmedia_sdp_neg_create_w_remote_offer(pool, sdp2, sdp1, &neg); - if (status != PJ_SUCCESS) { - app_perror(status, " error: pjmedia_sdp_neg_create_w_remote_offer"); - return -220; - } - *p_neg = neg; - - } else { - /* Received subsequent offer from remote. */ - status = pjmedia_sdp_neg_set_remote_offer(pool, neg, sdp1); - if (status != PJ_SUCCESS) { - app_perror(status, " error: pjmedia_sdp_neg_rx_remote_offer"); - return -230; - } - - status = pjmedia_sdp_neg_set_local_answer(pool, neg, sdp2); - if (status != PJ_SUCCESS) { - app_perror(status, " error: pjmedia_sdp_neg_set_local_answer"); - return -235; - } - } - - /* Negotiate. */ - status = pjmedia_sdp_neg_negotiate(pool, neg, 0); - if (status != PJ_SUCCESS) { - app_perror(status, " error: pjmedia_sdp_neg_negotiate"); - return -240; - } - - /* Get our answer. */ - status = pjmedia_sdp_neg_get_active_local(neg, &answer); - if (status != PJ_SUCCESS) { - app_perror(status, " error: pjmedia_sdp_neg_get_local"); - return -250; - } - - /* Parse the correct answer. */ - status = pjmedia_sdp_parse(pool, oa->sdp3, pj_ansi_strlen(oa->sdp3), - &sdp3); - if (status != PJ_SUCCESS) { - app_perror(status, " error: parsing sdp3"); - return -260; - } - - /* Validate the correct answer. */ - status = pjmedia_sdp_validate(sdp3); - if (status != PJ_SUCCESS) { - app_perror(status, " error: sdp3 validation failed"); - return -270; - } - - /* Compare answer from negotiator and the correct answer */ - status = pjmedia_sdp_session_cmp(sdp3, answer, 0); - if (status != PJ_SUCCESS) { - compare_sdp_string("Logical cmp after negotiating remote offer", - "Local answer from negotiator", answer, - "The correct local answer", sdp3, - status); - - return -280; - } - - /* Compare the string representation oa both answers */ - status = compare_sdp_string("String cmp after negotiating remote offer", - "Local answer from negotiator", answer, - "The correct local answer", sdp3, - PJ_SUCCESS); - if (status != 0) - return -290; - - } - - return 0; -} - -static int perform_test(pj_pool_t *pool, int test_index) -{ - pjmedia_sdp_neg *neg = NULL; - unsigned i; - int rc; - - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - -static char *sdp[] = { - /* - "v=0\r\n" - "o=mhandley 2890844526 2890842807 IN IP4 126.16.64.4\r\n" - "s=SDP Seminar\r\n" - "i=A Seminar on the session description protocol\r\n" - "u=http://www.cs.ucl.ac.uk/staff/M.Handley/sdp.03.ps\r\n" - "e=mjh@isi.edu (Mark Handley)\r\n" - "c=IN IP4 224.2.17.12/127\r\n" - "t=2873397496 2873404696\r\n" - "a=recvonly\r\n" - "m=audio 49170 RTP/AVP 0\r\n" - "m=video 51372 RTP/AVP 31\r\n" - "m=application 32416 udp wb\r\n" - "a=orient:portrait\r\n" - "m=audio 49230 RTP/AVP 96 97 98\r\n" - "a=rtpmap:96 L8/8000\r\n" - "a=rtpmap:97 L16/8000\r\n" - "a=rtpmap:98 L16/11025/2\r\n", - */ - "v=0\r\n" - "o=usera 2890844526 2890844527 IN IP4 alice.example.com\r\n" - "s=\r\n" - "c=IN IP4 alice.example.com\r\n" - "t=0 0\r\n" - "m=message 7394 msrp/tcp *\r\n" - "a=accept-types: message/cpim text/plain text/html\r\n" - "a=path:msrp://alice.example.com:7394/2s93i9;tcp\r\n" -}; - -static int sdp_perform_test(pj_pool_factory *pf) -{ - pj_pool_t *pool; - int inputlen, len; - pjsdp_session_desc *ses; - char buf[1500]; - enum { LOOP=1000000 }; - int i; - pj_time_val start, end; - - printf("Parsing and printing %d SDP messages..\n", LOOP); - - pool = pj_pool_create(pf, "", 4096, 0, NULL); - inputlen = strlen(sdp[0]); - pj_gettimeofday(&start); - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - -pj_status_t session_test (pj_pool_factory *pf) -{ - pj_med_mgr_t *mm; - pj_media_session_t *s1, *s2; - pj_pool_t *pool; - pjsdp_session_desc *sdp; - pj_media_stream_info sd_info; - char buf[1024]; - int len; - pj_media_stream_stat tx_stat, rx_stat; - - pool = pj_pool_create(pf, "test", 4096, 1024, NULL); - - // Init media manager. - mm = pj_med_mgr_create ( pf ); - - // Create caller session. - // THIS WILL DEFINITELY CRASH (NULL as argument)! - s1 = pj_media_session_create (mm, NULL); - - // Set caller's media to send-only. - sd_info.dir = PJMEDIA_DIR_ENCODING; - pj_media_session_modify_stream (s1, 0, PJMEDIA_STREAM_MODIFY_DIR, &sd_info); - - // Create caller SDP. - sdp = pj_media_session_create_sdp (s1, pool, 0); - len = pjsdp_print (sdp, buf, sizeof(buf)); - buf[len] = '\0'; - printf("Caller's initial SDP:\n\n%s\n\n", buf); - - // Parse SDP from caller. - sdp = pjsdp_parse (buf, len, pool); - - // Create callee session based on caller's SDP. - // THIS WILL DEFINITELY CRASH (NULL as argument)! - s2 = pj_media_session_create_from_sdp (mm, sdp, NULL); - - // Create callee SDP - sdp = pj_media_session_create_sdp (s2, pool, 0); - len = pjsdp_print (sdp, buf, sizeof(buf)); - buf[len] = '\0'; - printf("Callee's SDP:\n\n%s\n\n", buf); - - // Parse SDP from callee. - sdp = pjsdp_parse (buf, len, pool); - - // Update caller - pj_media_session_update (s1, sdp); - sdp = pj_media_session_create_sdp (s1, pool, 0); - pjsdp_print (sdp, buf, sizeof(buf)); - printf("Caller's SDP after update:\n\n%s\n\n", buf); - - // Now start media. - pj_media_session_activate (s2); - pj_media_session_activate (s1); - - // Wait - for (;;) { - int has_stat; - - printf("Enter q to exit, 1 or 2 to print statistics.\n"); - fgets (buf, 10, stdin); - has_stat = 0; - - switch (buf[0]) { - case 'q': - case 'Q': - goto done; - break; - case '1': - pj_media_session_get_stat (s1, 0, &tx_stat, &rx_stat); - has_stat = 1; - break; - case '2': - pj_media_session_get_stat (s2, 0, &tx_stat, &rx_stat); - has_stat = 1; - break; - } - - if (has_stat) { - pj_media_stream_stat *stat[2] = { &tx_stat, &rx_stat }; - const char *statname[2] = { "TX", "RX" }; - int i; - - for (i=0; i<2; ++i) { - printf("%s statistics:\n", statname[i]); - printf(" Pkt TX=%d RX=%d\n", stat[i]->pkt_tx, stat[i]->pkt_rx); - printf(" Octets TX=%d RX=%d\n", stat[i]->oct_tx, stat[i]->oct_rx); - printf(" Jitter %d ms\n", stat[i]->jitter); - printf(" Pkt lost %d\n", stat[i]->pkt_lost); - } - printf("\n"); - } - } - -done: - - // Done. - pj_pool_release (pool); - pj_media_session_destroy (s2); - pj_media_session_destroy (s1); - pj_med_mgr_destroy (mm); - - return 0; -} diff --git a/res/pjproject/pjmedia/src/test/test.c b/res/pjproject/pjmedia/src/test/test.c deleted file mode 100644 index df07ad01dd..0000000000 --- a/res/pjproject/pjmedia/src/test/test.c +++ /dev/null @@ -1,127 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" - -#define THIS_FILE "test.c" - -#define DO_TEST(test) do { \ - PJ_LOG(3, (THIS_FILE, "Running %s...", #test)); \ - rc = test; \ - PJ_LOG(3, (THIS_FILE, \ - "%s(%d)", \ - (rc ? "..ERROR" : "..success"), rc)); \ - if (rc!=0) goto on_return; \ - } while (0) - - -pj_pool_factory *mem; - - -void app_perror(pj_status_t status, const char *msg) -{ - char errbuf[PJ_ERR_MSG_SIZE]; - - pjmedia_strerror(status, errbuf, sizeof(errbuf)); - - PJ_LOG(3,(THIS_FILE, "%s: %s", msg, errbuf)); -} - -/* Force linking PLC stuff if G.711 is disabled. See: - * https://trac.pjsip.org/repos/ticket/1337 - */ -#if PJMEDIA_HAS_G711_CODEC==0 -void *dummy() -{ - // Dummy - return &pjmedia_plc_save; -} -#endif - -int test_main(void) -{ - int rc = 0; - pj_caching_pool caching_pool; - pj_pool_t *pool; - - pj_init(); - pj_caching_pool_init(&caching_pool, &pj_pool_factory_default_policy, 0); - pool = pj_pool_create(&caching_pool.factory, "test", 1000, 512, NULL); - - pj_log_set_decor(PJ_LOG_HAS_NEWLINE); - pj_log_set_level(3); - - mem = &caching_pool.factory; - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - pjmedia_video_format_mgr_create(pool, 64, 0, NULL); - pjmedia_converter_mgr_create(pool, NULL); - pjmedia_event_mgr_create(pool, 0, NULL); - pjmedia_vid_codec_mgr_create(pool, NULL); -#endif - -#if HAS_VID_PORT_TEST - DO_TEST(vid_port_test()); -#endif - -#if HAS_VID_DEV_TEST - DO_TEST(vid_dev_test()); -#endif - -#if HAS_VID_CODEC_TEST - DO_TEST(vid_codec_test()); -#endif - -#if HAS_SDP_NEG_TEST - DO_TEST(sdp_neg_test()); -#endif - //DO_TEST(sdp_test (&caching_pool.factory)); - //DO_TEST(rtp_test(&caching_pool.factory)); - //DO_TEST(session_test (&caching_pool.factory)); -#if HAS_JBUF_TEST - DO_TEST(jbuf_main()); -#endif -#if HAS_MIPS_TEST - DO_TEST(mips_test()); -#endif -#if HAS_CODEC_VECTOR_TEST - DO_TEST(codec_test_vectors()); -#endif - - PJ_LOG(3,(THIS_FILE," ")); - -on_return: - if (rc != 0) { - PJ_LOG(3,(THIS_FILE,"Test completed with error(s)!")); - } else { - PJ_LOG(3,(THIS_FILE,"Looks like everything is okay!")); - } - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - pjmedia_video_format_mgr_destroy(pjmedia_video_format_mgr_instance()); - pjmedia_converter_mgr_destroy(pjmedia_converter_mgr_instance()); - pjmedia_event_mgr_destroy(pjmedia_event_mgr_instance()); - pjmedia_vid_codec_mgr_destroy(pjmedia_vid_codec_mgr_instance()); -#endif - - pj_pool_release(pool); - pj_caching_pool_destroy(&caching_pool); - - return rc; -} diff --git a/res/pjproject/pjmedia/src/test/test.h b/res/pjproject/pjmedia/src/test/test.h deleted file mode 100644 index f7fae81207..0000000000 --- a/res/pjproject/pjmedia/src/test/test.h +++ /dev/null @@ -1,50 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJMEDIA_TEST_H__ -#define __PJMEDIA_TEST_H__ - -#include -#include - -#define HAS_VID_DEV_TEST PJMEDIA_HAS_VIDEO -#define HAS_VID_PORT_TEST PJMEDIA_HAS_VIDEO -#define HAS_VID_CODEC_TEST PJMEDIA_HAS_VIDEO -#define HAS_SDP_NEG_TEST 1 -#define HAS_JBUF_TEST 1 -#define HAS_MIPS_TEST 1 -#define HAS_CODEC_VECTOR_TEST 1 - -int session_test(void); -int rtp_test(void); -int sdp_test(void); -int jbuf_main(void); -int sdp_neg_test(void); -int mips_test(void); -int codec_test_vectors(void); -int vid_codec_test(void); -int vid_dev_test(void); -int vid_port_test(void); - -extern pj_pool_factory *mem; -void app_perror(pj_status_t status, const char *title); - -int test_main(void); - -#endif /* __PJMEDIA_TEST_H__ */ diff --git a/res/pjproject/pjmedia/src/test/vid_codec_test.c b/res/pjproject/pjmedia/src/test/vid_codec_test.c deleted file mode 100644 index 0b493f74a0..0000000000 --- a/res/pjproject/pjmedia/src/test/vid_codec_test.c +++ /dev/null @@ -1,486 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include -#include -#include - - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - - -#define THIS_FILE "vid_codec.c" - -/* - * Capture device setting: - * -1 = colorbar, - * -2 = any non-colorbar capture device (first found) - * x = specified capture device id - */ -#define CAPTURE_DEV -1 - - -typedef struct codec_port_data_t -{ - pjmedia_vid_codec *codec; - pjmedia_vid_port *rdr_port; - pj_uint8_t *enc_buf; - pj_size_t enc_buf_size; - pj_uint8_t *pack_buf; - pj_size_t pack_buf_size; -} codec_port_data_t; - -static pj_status_t codec_on_event(pjmedia_event *event, - void *user_data) -{ - codec_port_data_t *port_data = (codec_port_data_t*)user_data; - - if (event->type == PJMEDIA_EVENT_FMT_CHANGED) { - pjmedia_vid_codec *codec = port_data->codec; - pjmedia_vid_codec_param codec_param; - pj_status_t status; - - status = pjmedia_vid_codec_get_param(codec, &codec_param); - if (status != PJ_SUCCESS) - return status; - - status = pjmedia_vid_dev_stream_set_cap( - pjmedia_vid_port_get_stream(port_data->rdr_port), - PJMEDIA_VID_DEV_CAP_FORMAT, - &codec_param.dec_fmt); - if (status != PJ_SUCCESS) - return status; - } - - return PJ_SUCCESS; -} - -static pj_status_t codec_put_frame(pjmedia_port *port, - pjmedia_frame *frame) -{ - enum { MAX_PACKETS = 50 }; - codec_port_data_t *port_data = (codec_port_data_t*)port->port_data.pdata; - pj_status_t status; - pjmedia_vid_codec *codec = port_data->codec; - unsigned enc_cnt = 0; - pj_uint8_t *enc_buf; - unsigned enc_size_left; - pjmedia_frame enc_frames[MAX_PACKETS]; - pj_bool_t has_more = PJ_FALSE; - - enc_buf = port_data->enc_buf; - enc_size_left = port_data->enc_buf_size; - - /* - * Encode - */ - enc_frames[enc_cnt].buf = enc_buf; - enc_frames[enc_cnt].size = enc_size_left; - - status = pjmedia_vid_codec_encode_begin(codec, NULL, frame, enc_size_left, - &enc_frames[enc_cnt], &has_more); - if (status != PJ_SUCCESS) goto on_error; - - enc_buf += enc_frames[enc_cnt].size; - enc_size_left -= enc_frames[enc_cnt].size; - - ++enc_cnt; - while (has_more) { - enc_frames[enc_cnt].buf = enc_buf; - enc_frames[enc_cnt].size = enc_size_left; - - status = pjmedia_vid_codec_encode_more(codec, enc_size_left, - &enc_frames[enc_cnt], - &has_more); - if (status != PJ_SUCCESS) - break; - - enc_buf += enc_frames[enc_cnt].size; - enc_size_left -= enc_frames[enc_cnt].size; - - ++enc_cnt; - - if (enc_cnt >= MAX_PACKETS) { - assert(!"Too many packets!"); - break; - } - } - - /* - * Decode - */ - status = pjmedia_vid_codec_decode(codec, enc_cnt, enc_frames, - frame->size, frame); - if (status != PJ_SUCCESS) goto on_error; - - /* Display */ - status = pjmedia_port_put_frame( - pjmedia_vid_port_get_passive_port(port_data->rdr_port), - frame); - if (status != PJ_SUCCESS) goto on_error; - - return PJ_SUCCESS; - -on_error: - pj_perror(3, THIS_FILE, status, "codec_put_frame() error"); - return status; -} - -static const char* dump_codec_info(const pjmedia_vid_codec_info *info) -{ - static char str[80]; - unsigned i; - char *p = str; - - /* Raw format ids */ - for (i=0; (idec_fmt_id_cnt) && (p-str+5dec_fmt_id[i], 4); - p += 4; - *p++ = ' '; - } - *p = '\0'; - - return str; -} - -static int enum_codecs() -{ - unsigned i, cnt; - pjmedia_vid_codec_info info[PJMEDIA_CODEC_MGR_MAX_CODECS]; - pj_status_t status; - - PJ_LOG(3, (THIS_FILE, " codec enums")); - cnt = PJ_ARRAY_SIZE(info); - status = pjmedia_vid_codec_mgr_enum_codecs(NULL, &cnt, info, NULL); - if (status != PJ_SUCCESS) - return 100; - - for (i = 0; i < cnt; ++i) { - PJ_LOG(3, (THIS_FILE, " %-16.*s %c%c %s", - info[i].encoding_name.slen, info[i].encoding_name.ptr, - (info[i].dir & PJMEDIA_DIR_ENCODING? 'E' : ' '), - (info[i].dir & PJMEDIA_DIR_DECODING? 'D' : ' '), - dump_codec_info(&info[i]))); - } - - return PJ_SUCCESS; -} - -static int encode_decode_test(pj_pool_t *pool, const char *codec_id, - pjmedia_vid_packing packing) -{ - const pj_str_t port_name = {"codec", 5}; - - pjmedia_vid_codec *codec=NULL; - pjmedia_port codec_port; - codec_port_data_t codec_port_data; - pjmedia_vid_codec_param codec_param; - const pjmedia_vid_codec_info *codec_info; - const char *packing_name; - pjmedia_vid_dev_index cap_idx, rdr_idx; - pjmedia_vid_port *capture=NULL, *renderer=NULL; - pjmedia_vid_port_param vport_param; - pjmedia_video_format_detail *vfd; - char codec_name[5]; - pj_status_t status; - int rc = 0; - - switch (packing) { - case PJMEDIA_VID_PACKING_PACKETS: - packing_name = "framed"; - break; - case PJMEDIA_VID_PACKING_WHOLE: - packing_name = "whole"; - break; - default: - packing_name = "unknown"; - break; - } - - PJ_LOG(3, (THIS_FILE, " encode decode test: codec=%s, packing=%s", - codec_id, packing_name)); - - /* Lookup codec */ - { - pj_str_t codec_id_st; - unsigned info_cnt = 1; - - /* Lookup codec */ - pj_cstr(&codec_id_st, codec_id); - status = pjmedia_vid_codec_mgr_find_codecs_by_id(NULL, &codec_id_st, - &info_cnt, - &codec_info, NULL); - if (status != PJ_SUCCESS) { - rc = 205; goto on_return; - } - } - - -#if CAPTURE_DEV == -1 - /* Lookup colorbar source */ - status = pjmedia_vid_dev_lookup("Colorbar", "Colorbar generator", &cap_idx); - if (status != PJ_SUCCESS) { - rc = 206; goto on_return; - } -#elif CAPTURE_DEV == -2 - /* Lookup any first non-colorbar source */ - { - unsigned i, cnt; - pjmedia_vid_dev_info info; - - cap_idx = -1; - cnt = pjmedia_vid_dev_count(); - for (i = 0; i < cnt; ++i) { - status = pjmedia_vid_dev_get_info(i, &info); - if (status != PJ_SUCCESS) { - rc = 206; goto on_return; - } - if (info.dir & PJMEDIA_DIR_CAPTURE && - pj_ansi_stricmp(info.driver, "Colorbar")) - { - cap_idx = i; - break; - } - } - - if (cap_idx == -1) { - status = PJ_ENOTFOUND; - rc = 206; goto on_return; - } - } -#else - cap_idx = CAPTURE_DEV; -#endif - - /* Lookup SDL renderer */ - status = pjmedia_vid_dev_lookup("SDL", "SDL renderer", &rdr_idx); - if (status != PJ_SUCCESS) { - rc = 207; goto on_return; - } - - /* Prepare codec */ - { - pj_str_t codec_id_st; - unsigned info_cnt = 1; - const pjmedia_vid_codec_info *codec_info; - - /* Lookup codec */ - pj_cstr(&codec_id_st, codec_id); - status = pjmedia_vid_codec_mgr_find_codecs_by_id(NULL, &codec_id_st, - &info_cnt, - &codec_info, NULL); - if (status != PJ_SUCCESS) { - rc = 245; goto on_return; - } - status = pjmedia_vid_codec_mgr_get_default_param(NULL, codec_info, - &codec_param); - if (status != PJ_SUCCESS) { - rc = 246; goto on_return; - } - - codec_param.packing = packing; - - /* Open codec */ - status = pjmedia_vid_codec_mgr_alloc_codec(NULL, codec_info, - &codec); - if (status != PJ_SUCCESS) { - rc = 250; goto on_return; - } - - status = pjmedia_vid_codec_init(codec, pool); - if (status != PJ_SUCCESS) { - rc = 251; goto on_return; - } - - status = pjmedia_vid_codec_open(codec, &codec_param); - if (status != PJ_SUCCESS) { - rc = 252; goto on_return; - } - - /* After opened, codec will update the param, let's sync encoder & - * decoder format detail. - */ - codec_param.dec_fmt.det = codec_param.enc_fmt.det; - - /* Subscribe to codec events */ - pjmedia_event_subscribe(NULL, &codec_on_event, &codec_port_data, - codec); - } - - pjmedia_vid_port_param_default(&vport_param); - - /* Create capture, set it to active (master) */ - status = pjmedia_vid_dev_default_param(pool, cap_idx, - &vport_param.vidparam); - if (status != PJ_SUCCESS) { - rc = 220; goto on_return; - } - pjmedia_format_copy(&vport_param.vidparam.fmt, &codec_param.dec_fmt); - vport_param.vidparam.dir = PJMEDIA_DIR_CAPTURE; - vport_param.active = PJ_TRUE; - - if (vport_param.vidparam.fmt.detail_type != PJMEDIA_FORMAT_DETAIL_VIDEO) { - rc = 221; goto on_return; - } - - vfd = pjmedia_format_get_video_format_detail(&vport_param.vidparam.fmt, - PJ_TRUE); - if (vfd == NULL) { - rc = 225; goto on_return; - } - - status = pjmedia_vid_port_create(pool, &vport_param, &capture); - if (status != PJ_SUCCESS) { - rc = 226; goto on_return; - } - - /* Create renderer, set it to passive (slave) */ - vport_param.active = PJ_FALSE; - vport_param.vidparam.dir = PJMEDIA_DIR_RENDER; - vport_param.vidparam.rend_id = rdr_idx; - vport_param.vidparam.disp_size = vfd->size; - - status = pjmedia_vid_port_create(pool, &vport_param, &renderer); - if (status != PJ_SUCCESS) { - rc = 230; goto on_return; - } - - /* Init codec port */ - pj_bzero(&codec_port, sizeof(codec_port)); - status = pjmedia_port_info_init2(&codec_port.info, &port_name, 0x1234, - PJMEDIA_DIR_ENCODING, - &codec_param.dec_fmt); - if (status != PJ_SUCCESS) { - rc = 260; goto on_return; - } - - codec_port_data.codec = codec; - codec_port_data.rdr_port = renderer; - codec_port_data.enc_buf_size = codec_param.dec_fmt.det.vid.size.w * - codec_param.dec_fmt.det.vid.size.h * 4; - codec_port_data.enc_buf = pj_pool_alloc(pool, - codec_port_data.enc_buf_size); - codec_port_data.pack_buf_size = codec_port_data.enc_buf_size; - codec_port_data.pack_buf = pj_pool_alloc(pool, - codec_port_data.pack_buf_size); - - codec_port.put_frame = &codec_put_frame; - codec_port.port_data.pdata = &codec_port_data; - - /* Connect capture to codec port */ - status = pjmedia_vid_port_connect(capture, - &codec_port, - PJ_FALSE); - if (status != PJ_SUCCESS) { - rc = 270; goto on_return; - } - - PJ_LOG(3, (THIS_FILE, " starting codec test: %s<->%.*s %dx%d", - pjmedia_fourcc_name(codec_param.dec_fmt.id, codec_name), - codec_info->encoding_name.slen, - codec_info->encoding_name.ptr, - codec_param.dec_fmt.det.vid.size.w, - codec_param.dec_fmt.det.vid.size.h - )); - - /* Start streaming.. */ - status = pjmedia_vid_port_start(renderer); - if (status != PJ_SUCCESS) { - rc = 275; goto on_return; - } - status = pjmedia_vid_port_start(capture); - if (status != PJ_SUCCESS) { - rc = 280; goto on_return; - } - - /* Sleep while the video is being displayed... */ - pj_thread_sleep(10000); - -on_return: - if (status != PJ_SUCCESS) { - PJ_PERROR(3, (THIS_FILE, status, " error")); - } - if (capture) - pjmedia_vid_port_stop(capture); - if (renderer) - pjmedia_vid_port_stop(renderer); - if (capture) - pjmedia_vid_port_destroy(capture); - if (renderer) - pjmedia_vid_port_destroy(renderer); - if (codec) { - pjmedia_event_unsubscribe(NULL, &codec_on_event, &codec_port_data, - codec); - pjmedia_vid_codec_close(codec); - pjmedia_vid_codec_mgr_dealloc_codec(NULL, codec); - } - - return rc; -} - -int vid_codec_test(void) -{ - pj_pool_t *pool; - int rc = 0; - pj_status_t status; - int orig_log_level; - - orig_log_level = pj_log_get_level(); - pj_log_set_level(3); - - PJ_LOG(3, (THIS_FILE, "Performing video codec tests..")); - - pool = pj_pool_create(mem, "Vid codec test", 256, 256, 0); - - status = pjmedia_vid_dev_subsys_init(mem); - if (status != PJ_SUCCESS) - return -10; - -#if PJMEDIA_HAS_FFMPEG_VID_CODEC - status = pjmedia_codec_ffmpeg_vid_init(NULL, mem); - if (status != PJ_SUCCESS) - return -20; -#endif - - rc = enum_codecs(); - if (rc != 0) - goto on_return; - - rc = encode_decode_test(pool, "h263-1998", PJMEDIA_VID_PACKING_WHOLE); - if (rc != 0) - goto on_return; - - rc = encode_decode_test(pool, "h263-1998", PJMEDIA_VID_PACKING_PACKETS); - if (rc != 0) - goto on_return; - -on_return: -#if PJMEDIA_HAS_FFMPEG_VID_CODEC - pjmedia_codec_ffmpeg_vid_deinit(); -#endif - pjmedia_vid_dev_subsys_shutdown(); - pj_pool_release(pool); - pj_log_set_level(orig_log_level); - - return rc; -} - - -#endif /* PJMEDIA_HAS_VIDEO */ diff --git a/res/pjproject/pjmedia/src/test/vid_dev_test.c b/res/pjproject/pjmedia/src/test/vid_dev_test.c deleted file mode 100644 index f991bb54d6..0000000000 --- a/res/pjproject/pjmedia/src/test/vid_dev_test.c +++ /dev/null @@ -1,303 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include -#include -#include - - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - - -#define THIS_FILE "vid_dev_test.c" -#define LOOP_DURATION 10 - -static pj_bool_t is_quitting = PJ_FALSE; - -static const char *vid_dir_name(pjmedia_dir dir) -{ - switch (dir) { - case PJMEDIA_DIR_CAPTURE: - return "capture"; - case PJMEDIA_DIR_RENDER: - return "render"; - case PJMEDIA_DIR_CAPTURE_RENDER: - return "capture & render"; - default: - return "unknown"; - } -} - -static int enum_devs(void) -{ - unsigned i, dev_cnt; - pj_status_t status; - - PJ_LOG(3, (THIS_FILE, " Enum video devices:")); - dev_cnt = pjmedia_vid_dev_count(); - for (i = 0; i < dev_cnt; ++i) { - pjmedia_vid_dev_info di; - status = pjmedia_vid_dev_get_info(i, &di); - if (status == PJ_SUCCESS) { - unsigned j; - - PJ_LOG(3, (THIS_FILE, " %3d: %s (%s) - %s", i, di.name, di.driver, - vid_dir_name(di.dir))); - - PJ_LOG(3,(THIS_FILE, " Supported formats:")); - for (j=0; jname : "unknown"))); - } - } - } - - return PJ_SUCCESS; -} - -static pj_status_t vid_event_cb(pjmedia_event *event, - void *user_data) -{ - PJ_UNUSED_ARG(user_data); - - if (event->type == PJMEDIA_EVENT_WND_CLOSED) - is_quitting = PJ_TRUE; - - return PJ_SUCCESS; -} - -static int capture_render_loopback(int cap_dev_id, int rend_dev_id, - const pjmedia_format *fmt) -{ - pj_pool_t *pool; - pjmedia_vid_port *capture=NULL, *renderer=NULL; - pjmedia_vid_dev_info cdi, rdi; - pjmedia_vid_port_param param; - pjmedia_video_format_detail *vfd; - pj_status_t status; - int rc = 0, i; - - pool = pj_pool_create(mem, "vidloop", 1000, 1000, NULL); - - status = pjmedia_vid_dev_get_info(cap_dev_id, &cdi); - if (status != PJ_SUCCESS) - goto on_return; - - status = pjmedia_vid_dev_get_info(rend_dev_id, &rdi); - if (status != PJ_SUCCESS) - goto on_return; - - PJ_LOG(3,(THIS_FILE, - " %s (%s) ===> %s (%s)\t%s\t%dx%d\t@%d:%d fps", - cdi.name, cdi.driver, rdi.name, rdi.driver, - pjmedia_get_video_format_info(NULL, fmt->id)->name, - fmt->det.vid.size.w, fmt->det.vid.size.h, - fmt->det.vid.fps.num, fmt->det.vid.fps.denum)); - - pjmedia_vid_port_param_default(¶m); - - /* Create capture, set it to active (master) */ - status = pjmedia_vid_dev_default_param(pool, cap_dev_id, - ¶m.vidparam); - if (status != PJ_SUCCESS) { - rc = 100; goto on_return; - } - param.vidparam.dir = PJMEDIA_DIR_CAPTURE; - param.vidparam.fmt = *fmt; - param.active = PJ_TRUE; - - if (param.vidparam.fmt.detail_type != PJMEDIA_FORMAT_DETAIL_VIDEO) { - rc = 103; goto on_return; - } - - vfd = pjmedia_format_get_video_format_detail(¶m.vidparam.fmt, PJ_TRUE); - if (vfd == NULL) { - rc = 105; goto on_return; - } - - status = pjmedia_vid_port_create(pool, ¶m, &capture); - if (status != PJ_SUCCESS) { - rc = 110; goto on_return; - } - - /* Create renderer, set it to passive (slave) */ - status = pjmedia_vid_dev_default_param(pool, rend_dev_id, - ¶m.vidparam); - if (status != PJ_SUCCESS) { - rc = 120; goto on_return; - } - - param.active = PJ_FALSE; - param.vidparam.dir = PJMEDIA_DIR_RENDER; - param.vidparam.rend_id = rend_dev_id; - param.vidparam.fmt = *fmt; - param.vidparam.disp_size = vfd->size; - - status = pjmedia_vid_port_create(pool, ¶m, &renderer); - if (status != PJ_SUCCESS) { - rc = 130; goto on_return; - } - - /* Set event handler */ - pjmedia_event_subscribe(NULL, &vid_event_cb, NULL, renderer); - - /* Connect capture to renderer */ - status = pjmedia_vid_port_connect( - capture, - pjmedia_vid_port_get_passive_port(renderer), - PJ_FALSE); - if (status != PJ_SUCCESS) { - rc = 140; goto on_return; - } - - /* Start streaming.. */ - status = pjmedia_vid_port_start(renderer); - if (status != PJ_SUCCESS) { - rc = 150; goto on_return; - } - status = pjmedia_vid_port_start(capture); - if (status != PJ_SUCCESS) { - rc = 160; goto on_return; - } - - /* Sleep while the webcam is being displayed... */ - for (i = 0; i < LOOP_DURATION*10 && (!is_quitting); i++) { - pj_thread_sleep(100); - } - -on_return: - if (status != PJ_SUCCESS) - PJ_PERROR(3, (THIS_FILE, status, " error")); - - if (capture) - pjmedia_vid_port_stop(capture); - if (renderer) - pjmedia_vid_port_stop(renderer); - if (capture) - pjmedia_vid_port_destroy(capture); - if (renderer) { - pjmedia_event_unsubscribe(NULL, &vid_event_cb, NULL, renderer); - pjmedia_vid_port_destroy(renderer); - } - - pj_pool_release(pool); - return rc; -} - -static int loopback_test(void) -{ - unsigned count, i; - pjmedia_format_id test_fmts[] = { - PJMEDIA_FORMAT_YUY2 - }; - pjmedia_rect_size test_sizes[] = { - {176,144}, /* QCIF */ - {352,288}, /* CIF */ - {704,576} /* 4CIF */ - }; - pjmedia_ratio test_fpses[] = { - {25, 1}, - {30, 1}, - }; - pj_status_t status; - - PJ_LOG(3, (THIS_FILE, " Loopback tests (prepare you webcams):")); - - count = pjmedia_vid_dev_count(); - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include -#include -#include - - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - - -#define THIS_FILE "vid_dev_test.c" -#define LOOP_DURATION 6 - -static pj_bool_t is_quitting = PJ_FALSE; - -static pj_status_t vid_event_cb(pjmedia_event *event, - void *user_data) -{ - PJ_UNUSED_ARG(user_data); - - if (event->type == PJMEDIA_EVENT_WND_CLOSED) - is_quitting = PJ_TRUE; - - return PJ_SUCCESS; -} - -static int capture_render_loopback(pj_bool_t active, - int cap_dev_id, int rend_dev_id, - const pjmedia_format *fmt) -{ - pj_pool_t *pool; - pjmedia_vid_port *capture=NULL, *renderer=NULL; - pjmedia_vid_dev_info cdi, rdi; - pjmedia_vid_port_param param; - pjmedia_video_format_detail *vfd; - pj_status_t status; - int rc = 0, i; - - pool = pj_pool_create(mem, "vidportloop", 1000, 1000, NULL); - - status = pjmedia_vid_dev_get_info(cap_dev_id, &cdi); - if (status != PJ_SUCCESS) - goto on_return; - - status = pjmedia_vid_dev_get_info(rend_dev_id, &rdi); - if (status != PJ_SUCCESS) - goto on_return; - - PJ_LOG(3,(THIS_FILE, - " %s (%s) ===> %s (%s)\t%s\t%dx%d\t@%d:%d fps", - cdi.name, cdi.driver, rdi.name, rdi.driver, - pjmedia_get_video_format_info(NULL, fmt->id)->name, - fmt->det.vid.size.w, fmt->det.vid.size.h, - fmt->det.vid.fps.num, fmt->det.vid.fps.denum)); - - pjmedia_vid_port_param_default(¶m); - - /* Create capture, set it to active (master) */ - status = pjmedia_vid_dev_default_param(pool, cap_dev_id, - ¶m.vidparam); - if (status != PJ_SUCCESS) { - rc = 100; goto on_return; - } - param.vidparam.dir = PJMEDIA_DIR_CAPTURE; - param.vidparam.fmt = *fmt; - param.active = (active? PJ_TRUE: PJ_FALSE); - - if (param.vidparam.fmt.detail_type != PJMEDIA_FORMAT_DETAIL_VIDEO) { - rc = 103; goto on_return; - } - - vfd = pjmedia_format_get_video_format_detail(¶m.vidparam.fmt, PJ_TRUE); - if (vfd == NULL) { - rc = 105; goto on_return; - } - - status = pjmedia_vid_port_create(pool, ¶m, &capture); - if (status != PJ_SUCCESS) { - rc = 110; goto on_return; - } - - /* Create renderer, set it to passive (slave) */ - status = pjmedia_vid_dev_default_param(pool, rend_dev_id, - ¶m.vidparam); - if (status != PJ_SUCCESS) { - rc = 120; goto on_return; - } - - param.active = (active? PJ_FALSE: PJ_TRUE); - param.vidparam.dir = PJMEDIA_DIR_RENDER; - param.vidparam.rend_id = rend_dev_id; - param.vidparam.fmt = *fmt; - param.vidparam.disp_size = vfd->size; - - status = pjmedia_vid_port_create(pool, ¶m, &renderer); - if (status != PJ_SUCCESS) { - rc = 130; goto on_return; - } - - /* Set event handler */ - pjmedia_event_subscribe(NULL, &vid_event_cb, NULL, renderer); - - /* Connect capture to renderer */ - status = pjmedia_vid_port_connect( - (active? capture: renderer), - pjmedia_vid_port_get_passive_port(active? renderer: capture), - PJ_FALSE); - if (status != PJ_SUCCESS) { - rc = 140; goto on_return; - } - - /* Start streaming.. */ - status = pjmedia_vid_port_start(renderer); - if (status != PJ_SUCCESS) { - rc = 150; goto on_return; - } - status = pjmedia_vid_port_start(capture); - if (status != PJ_SUCCESS) { - rc = 160; goto on_return; - } - - /* Sleep while the webcam is being displayed... */ - for (i = 0; i < LOOP_DURATION*10 && (!is_quitting); i++) { - pj_thread_sleep(100); - } - -on_return: - if (status != PJ_SUCCESS) - PJ_PERROR(3, (THIS_FILE, status, " error")); - - if (capture) - pjmedia_vid_port_stop(capture); - if (renderer) - pjmedia_vid_port_stop(renderer); - if (capture) - pjmedia_vid_port_destroy(capture); - if (renderer) { - pjmedia_event_unsubscribe(NULL, &vid_event_cb, NULL, renderer); - pjmedia_vid_port_destroy(renderer); - } - - pj_pool_release(pool); - return rc; -} - -static int find_device(pjmedia_dir dir, - pj_bool_t has_callback) -{ - unsigned i, count = pjmedia_vid_dev_count(); - - for (i = 0; i < count; ++i) { - pjmedia_vid_dev_info cdi; - - if (pjmedia_vid_dev_get_info(i, &cdi) != PJ_SUCCESS) - continue; - if ((cdi.dir & dir) != 0 && cdi.has_callback == has_callback) - return i; - } - - return -999; -} - -static int vidport_test(void) -{ - int i, j, k, l; - int cap_id, rend_id; - pjmedia_format_id test_fmts[] = { - PJMEDIA_FORMAT_RGBA, - PJMEDIA_FORMAT_I420 - }; - - PJ_LOG(3, (THIS_FILE, " Video port tests:")); - - /* Capturer's role: active/passive. */ - for (i = 1; i >= 0; i--) { - /* Capturer's device has_callback: TRUE/FALSE. */ - for (j = 1; j >= 0; j--) { - cap_id = find_device(PJMEDIA_DIR_CAPTURE, j); - if (cap_id < 0) - continue; - - /* Renderer's device has callback: TRUE/FALSE. */ - for (k = 1; k >= 0; k--) { - rend_id = find_device(PJMEDIA_DIR_RENDER, k); - if (rend_id < 0) - continue; - - /* Check various formats to test format conversion. */ - for (l = 0; l < PJ_ARRAY_SIZE(test_fmts); ++l) { - pjmedia_format fmt; - - PJ_LOG(3,(THIS_FILE, - "capturer %s (stream: %s) ===> " - "renderer %s (stream: %s)", - (i? "active": "passive"), - (j? "active": "passive"), - (i? "passive": "active"), - (k? "active": "passive"))); - - pjmedia_format_init_video(&fmt, test_fmts[l], - 640, 480, 25, 1); - capture_render_loopback(i, cap_id, rend_id, &fmt); - } - } - } - } - - return 0; -} - -int vid_port_test(void) -{ - int rc = 0; - pj_status_t status; - - status = pjmedia_vid_dev_subsys_init(mem); - if (status != PJ_SUCCESS) - return -10; - - rc = vidport_test(); - if (rc != 0) - goto on_return; - -on_return: - pjmedia_vid_dev_subsys_shutdown(); - - return rc; -} - - -#endif /* PJMEDIA_HAS_VIDEO */ diff --git a/res/pjproject/pjmedia/src/test/wince_main.c b/res/pjproject/pjmedia/src/test/wince_main.c deleted file mode 100644 index 2e9078d87a..0000000000 --- a/res/pjproject/pjmedia/src/test/wince_main.c +++ /dev/null @@ -1,72 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include - -#define TITLE "PJMEDIA Test" -#define CAPTION "This will start pjmedia test. Please do not use the PDA while the test is in progress. The test may take couple of minutes to complete, and you will be notified again when it completes" - -static FILE *fLog; - -static void log_writer_cb(int level, const char *data, int len) -{ - PJ_UNUSED_ARG(level); - - fwrite(data, len, 1, fLog); -} - - -int WINAPI WinMain(HINSTANCE hInstance, - HINSTANCE hPrevInstance, - LPTSTR lpCmdLine, - int nCmdShow) -{ - int rc; - - PJ_UNUSED_ARG(hInstance); - PJ_UNUSED_ARG(hPrevInstance); - PJ_UNUSED_ARG(lpCmdLine); - PJ_UNUSED_ARG(nCmdShow); - - rc = MessageBox(0, TEXT(CAPTION), TEXT(TITLE), MB_OKCANCEL); - if (rc != IDOK) - return TRUE; - - fLog = fopen("\\pjmedia-test.txt", "wt"); - if (fLog == NULL) { - MessageBox(0, TEXT("Unable to create result file"), TEXT(TITLE), MB_OK); - return TRUE; - } - pj_log_set_log_func(&log_writer_cb); - rc = test_main(); - - fclose(fLog); - - if (rc != 0) { - MessageBox(0, TEXT("Test failed"), TEXT(TITLE), MB_OK); - return TRUE; - } - - MessageBox(0, TEXT("Test has been successful. Please see the result in \"\\pjmedia-test.txt\" file"), - TEXT(TITLE), 0); - return TRUE; -} - diff --git a/res/pjproject/pjmedia/src/test/wsola_test.c b/res/pjproject/pjmedia/src/test/wsola_test.c deleted file mode 100644 index 049f77d632..0000000000 --- a/res/pjproject/pjmedia/src/test/wsola_test.c +++ /dev/null @@ -1,373 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - -#define CLOCK_RATE 16000 -#define SAMPLES_PER_FRAME (10 * CLOCK_RATE / 1000) - -#define RESET() memset(buf1, 0, sizeof(buf1)), \ - memset(buf2, 0, sizeof(buf2)), \ - memset(frm1, 0, sizeof(frm1)), \ - memset(frm2, 0, sizeof(frm2)) - -#if 0 -void test_find_pitch(void) -{ - enum { ON = 111, FRM_PART_LEN=20 }; - short buf2[SAMPLES_PER_FRAME*2], buf1[SAMPLES_PER_FRAME*2], - frm2[SAMPLES_PER_FRAME], frm1[SAMPLES_PER_FRAME]; - short *ref, *pos; - - /* Case 1. all contiguous */ - RESET(); - ref = buf1 + 10; - *ref = ON; - frm1[0] = ON; - - pos = pjmedia_wsola_find_pitch(frm1, SAMPLES_PER_FRAME, NULL, 0, - buf1, SAMPLES_PER_FRAME*2, NULL, 0, PJ_TRUE); - assert(pos == ref); - - /* Case 2: contiguous buffer, non-contiguous frame */ - RESET(); - ref = buf1 + 17; - *ref = ON; - *(ref+FRM_PART_LEN) = ON; - frm1[0] = ON; - frm2[0] = ON; - - /* Noise */ - buf1[0] = ON; - - pos = pjmedia_wsola_find_pitch(frm1, FRM_PART_LEN, frm2, SAMPLES_PER_FRAME - FRM_PART_LEN, - buf1, SAMPLES_PER_FRAME*2, NULL, 0, PJ_TRUE); - assert(pos == ref); - - /* Case 3: non-contiguous buffer, contiguous frame, found in buf1 */ - RESET(); - ref = buf1 + 17; - *ref = ON; - buf2[17] = ON; - frm1[0] = ON; - frm1[FRM_PART_LEN] = ON; - - /* Noise */ - buf1[0] = ON; - - pos = pjmedia_wsola_find_pitch(frm1, SAMPLES_PER_FRAME, NULL, 0, - buf1, FRM_PART_LEN, - buf2, SAMPLES_PER_FRAME, - PJ_TRUE); - - assert(pos == ref); -} -#endif - -int expand(pj_pool_t *pool, const char *filein, const char *fileout, - int expansion_rate100, int lost_rate10, int lost_burst) -{ - enum { LOST_RATE = 10 }; - FILE *in, *out; - short frame[SAMPLES_PER_FRAME]; - pjmedia_wsola *wsola; - pj_timestamp elapsed, zero; - unsigned samples; - int last_lost = 0; - - /* Lost burst must be > 0 */ - assert(lost_rate10==0 || lost_burst > 0); - - in = fopen(filein, "rb"); - if (!in) return 1; - out = fopen(fileout, "wb"); - if (!out) return 1; - - pjmedia_wsola_create(pool, CLOCK_RATE, SAMPLES_PER_FRAME, 1, 0, &wsola); - - samples = 0; - elapsed.u64 = 0; - - while (fread(frame, SAMPLES_PER_FRAME*2, 1, in) == 1) { - pj_timestamp t1, t2; - - if (lost_rate10 == 0) { - - /* Expansion */ - pj_get_timestamp(&t1); - pjmedia_wsola_save(wsola, frame, 0); - pj_get_timestamp(&t2); - - pj_sub_timestamp(&t2, &t1); - pj_add_timestamp(&elapsed, &t2); - - fwrite(frame, SAMPLES_PER_FRAME*2, 1, out); - - samples += SAMPLES_PER_FRAME; - - if ((rand() % 100) < expansion_rate100) { - - pj_get_timestamp(&t1); - pjmedia_wsola_generate(wsola, frame); - pj_get_timestamp(&t2); - - pj_sub_timestamp(&t2, &t1); - pj_add_timestamp(&elapsed, &t2); - - samples += SAMPLES_PER_FRAME; - - fwrite(frame, SAMPLES_PER_FRAME*2, 1, out); - } - - } else { - /* Lost */ - - if ((rand() % 10) < lost_rate10) { - int burst; - - for (burst=0; burst SAMPLES_PER_FRAME); - pjmedia_wsola_discard(wsola, buf, count-SAMPLES_PER_FRAME, - buf+count-SAMPLES_PER_FRAME, SAMPLES_PER_FRAME, - &to_del); -#elif 0 - /* Method 3: split, majority in buf2 */ - assert(count > SAMPLES_PER_FRAME); - pjmedia_wsola_discard(wsola, buf, SAMPLES_PER_FRAME, - buf+SAMPLES_PER_FRAME, count-SAMPLES_PER_FRAME, - &to_del); -#elif 1 - /* Method 4: split, each with small length */ - enum { TOT_LEN = 3 * SAMPLES_PER_FRAME }; - unsigned buf1_len = (rand() % TOT_LEN); - short *ptr = buf + count - TOT_LEN; - assert(count > TOT_LEN); - if (buf1_len==0) buf1_len=SAMPLES_PER_FRAME*2; - pjmedia_wsola_discard(wsola, ptr, buf1_len, - ptr+buf1_len, TOT_LEN-buf1_len, - &to_del); -#endif - count -= to_del; - size_del += to_del; - } - pj_get_timestamp(&t2); - - samples += BUF_CNT; - - pj_sub_timestamp(&t2, &t1); - pj_add_timestamp(&elapsed, &t2); - - assert(size_del >= SAMPLES_PER_FRAME); - - fwrite(buf, count, 2, out); - } - - pjmedia_wsola_destroy(wsola); - fclose(in); - fclose(out); - - zero.u64 = 0; - zero.u64 = pj_elapsed_usec(&zero, &elapsed); - - zero.u64 = samples * PJ_INT64(1000000) / zero.u64; - assert(zero.u32.hi == 0); - - PJ_LOG(3,("test.c", "Processing: %f Msamples per second", - zero.u32.lo/1000000.0)); - PJ_LOG(3,("test.c", "CPU load for current settings: %f%%", - CLOCK_RATE * 100.0 / zero.u32.lo)); - - return 0; -} - - -static void mem_test(pj_pool_t *pool) -{ - char unused[1024]; - short *frame = pj_pool_alloc(pool, 240+4*160); - pj_timestamp elapsed, zero, t1, t2; - unsigned samples = 0; - - elapsed.u64 = 0; - while (samples < 50000000) { - - pj_get_timestamp(&t1); - pjmedia_move_samples(frame, frame+160, 240+2*160); - pj_get_timestamp(&t2); - pj_sub_timestamp(&t2, &t1); - - elapsed.u64 += t2.u64; - - memset(unused, 0, sizeof(unused)); - samples += 160; - } - - - - - zero.u64 = 0; - zero.u64 = pj_elapsed_usec(&zero, &elapsed); - - zero.u64 = samples * PJ_INT64(1000000) / zero.u64; - assert(zero.u32.hi == 0); - - PJ_LOG(3,("test.c", "Processing: %f Msamples per second", - zero.u32.lo/1000000.0)); - PJ_LOG(3,("test.c", "CPU load for current settings: %f%%", - CLOCK_RATE * 100.0 / zero.u32.lo)); - -} - -int main() -{ - pj_caching_pool cp; - pj_pool_t *pool; - int i, rc; - - //test_find_pitch(); - - pj_init(); - pj_caching_pool_init(&cp, NULL, 0); - pool = pj_pool_create(&cp.factory, "", 1000, 1000, NULL); - - srand(2); - - rc = expand(pool, "galileo16.pcm", "temp1.pcm", 20, 0, 0); - rc = compress(pool, "temp1.pcm", "output.pcm", 1); - - for (i=0; i<2; ++i) { - rc = expand(pool, "output.pcm", "temp1.pcm", 20, 0, 0); - rc = compress(pool, "temp1.pcm", "output.pcm", 1); - } - - if (rc != 0) { - puts("Error"); - return 1; - } - -#if 0 - { - char s[10]; - puts("Press ENTER to quit"); - fgets(s, sizeof(s), stdin); - } -#endif - - return 0; -} diff --git a/res/pjproject/pjnath/build/Makefile b/res/pjproject/pjnath/build/Makefile deleted file mode 100644 index 40736e6dab..0000000000 --- a/res/pjproject/pjnath/build/Makefile +++ /dev/null @@ -1,149 +0,0 @@ -# By default, the test application includes main.o. -# OS make file may override this with os-specific files -export PJNATH_TEST_OBJS = main.o - -include ../../build.mak -include ../../version.mak -include $(PJDIR)/build/common.mak - -RULES_MAK := $(PJDIR)/build/rules.mak - -PJLIB_LIB:=../../pjlib/lib/libpj-$(TARGET_NAME)$(LIBEXT) -PJLIB_UTIL_LIB:=../../pjlib-util/lib/libpjlib-util-$(TARGET_NAME)$(LIBEXT) -export PJNATH_LIB:=../lib/libpjnath-$(TARGET_NAME)$(LIBEXT) - -############################################################################### -# Gather all flags. -# -export _CFLAGS := $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \ - $(CFLAGS) $(CC_INC)../include $(CC_INC)../../pjlib/include \ - $(CC_INC)../../pjlib-util/include -export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ - $(HOST_CXXFLAGS) $(CXXFLAGS) -export _LDFLAGS := $(subst /,$(HOST_PSEP),$(PJNATH_LIB)) \ - $(subst /,$(HOST_PSEP),$(PJLIB_UTIL_LIB)) \ - $(subst /,$(HOST_PSEP),$(PJLIB_LIB)) \ - $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \ - $(LDFLAGS) - -############################################################################### -# Defines for building PJNATH library -# -export PJNATH_SRCDIR = ../src/pjnath -export PJNATH_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ - errno.o ice_session.o ice_strans.o nat_detect.o stun_auth.o \ - stun_msg.o stun_msg_dump.o stun_session.o stun_sock.o \ - stun_transaction.o turn_session.o turn_sock.o -export PJNATH_CFLAGS += $(_CFLAGS) - -############################################################################### -# Defines for building test application -# -export PJNATH_TEST_SRCDIR = ../src/pjnath-test -export PJNATH_TEST_OBJS += ice_test.o stun.o sess_auth.o server.o \ - stun_sock_test.o turn_sock_test.o test.o -export PJNATH_TEST_CFLAGS += $(_CFLAGS) -export PJNATH_TEST_LDFLAGS += $(_LDFLAGS) -export PJNATH_TEST_EXE:=../bin/pjnath-test-$(TARGET_NAME)$(HOST_EXE) - - -############################################################################### -# Defines for building TURN client application -# -export PJTURN_CLIENT_SRCDIR = ../src/pjturn-client -export PJTURN_CLIENT_OBJS += client_main.o -export PJTURN_CLIENT_CFLAGS += $(_CFLAGS) -export PJTURN_CLIENT_LDFLAGS += $(_LDFLAGS) -export PJTURN_CLIENT_EXE:=../bin/pjturn-client-$(TARGET_NAME)$(HOST_EXE) - -############################################################################### -# Defines for building TURN server application -# -export PJTURN_SRV_SRCDIR = ../src/pjturn-srv -export PJTURN_SRV_OBJS += allocation.o auth.o listener_udp.o \ - listener_tcp.o server.o main.o -export PJTURN_SRV_CFLAGS += $(_CFLAGS) -export PJTURN_SRV_LDFLAGS += $(_LDFLAGS) -export PJTURN_SRV_EXE:=../bin/pjturn-srv-$(TARGET_NAME)$(HOST_EXE) - - - -export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT -############################################################################### -# Main entry -# -# $(TARGET) is defined in os-$(OS_NAME).mak file in current directory. -# -TARGETS := pjnath pjnath-test pjturn-client pjturn-srv - -all: $(TARGETS) - -doc: - cd .. && rm -rf docs/$(PJ_VERSION) && doxygen docs/doxygen.cfg - @if [ -n "$(WWWDIR)" ] && ! [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjnath/docs/html" ] ; then \ - echo "Creating docs/$(PJ_VERSION)/pjnath/docs/html" ; \ - mkdir -p $(WWWDIR)/docs/$(PJ_VERSION)/pjnath/docs/html ; \ - fi - @if [ -n "$(WWWDIR)" ] && [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjnath/docs/html" ] ; then \ - echo "Copying docs/$(PJ_VERSION) to $(WWWDIR)/docs/$(PJ_VERSION)/pjnath/docs/html.." ; \ - cp -v -a ../docs/$(PJ_VERSION)/html/* $(WWWDIR)/docs/$(PJ_VERSION)/pjnath/docs/html/ ; \ - fi - -dep: depend -distclean: realclean - -.PHONY: dep depend clean realclean distclean -.PHONY: $(TARGETS) -.PHONY: $(PJNATH_LIB) $(PJNATH_TEST_EXE) $(PJTURN_CLIENT_EXE) $(PJTURN_SRV_EXE) - -pjnath: $(PJNATH_LIB) -$(PJNATH_LIB): - $(MAKE) -f $(RULES_MAK) APP=PJNATH app=pjnath $(PJNATH_LIB) - -pjnath-test: $(PJNATH_TEST_EXE) -$(PJNATH_TEST_EXE): $(PJNATH_LIB) - $(MAKE) -f $(RULES_MAK) APP=PJNATH_TEST app=pjnath-test $(PJNATH_TEST_EXE) - -pjturn-client: $(PJTURN_CLIENT_EXE) -$(PJTURN_CLIENT_EXE): $(PJNATH_LIB) - $(MAKE) -f $(RULES_MAK) APP=PJTURN_CLIENT app=pjturn-client $(PJTURN_CLIENT_EXE) - -pjturn-srv: $(PJTURN_SRV_EXE) -$(PJTURN_SRV_EXE): $(PJNATH_LIB) - $(MAKE) -f $(RULES_MAK) APP=PJTURN_SRV app=pjturn-srv $(PJTURN_SRV_EXE) - -.PHONY: ../lib/pjnath.ko -../lib/pjnath.ko: - echo Making $@ - $(MAKE) -f $(RULES_MAK) APP=PJNATH app=pjnath $@ - -.PHONY: ../lib/pjnath-test.ko -../lib/pjnath-test.ko: - $(MAKE) -f $(RULES_MAK) APP=PJNATH_TEST app=pjnath-test $@ - -clean: - $(MAKE) -f $(RULES_MAK) APP=PJNATH app=pjnath $@ - $(MAKE) -f $(RULES_MAK) APP=PJNATH_TEST app=pjnath-test $@ - $(MAKE) -f $(RULES_MAK) APP=PJTURN_CLIENT app=pjturn-client $@ - $(MAKE) -f $(RULES_MAK) APP=PJTURN_SRV app=pjturn-srv $@ - -realclean: - $(subst @@,$(subst /,$(HOST_PSEP),.pjnath-$(TARGET_NAME).depend),$(HOST_RMR)) - $(subst @@,$(subst /,$(HOST_PSEP),.pjnath-test-$(TARGET_NAME).depend),$(HOST_RMR)) - $(subst @@,$(subst /,$(HOST_PSEP),.pjturn-client-$(TARGET_NAME).depend),$(HOST_RMR)) - $(subst @@,$(subst /,$(HOST_PSEP),.pjturn-srv-$(TARGET_NAME).depend),$(HOST_RMR)) - $(MAKE) -f $(RULES_MAK) APP=PJNATH app=pjnath $@ - $(MAKE) -f $(RULES_MAK) APP=PJNATH_TEST app=pjnath-test $@ - $(MAKE) -f $(RULES_MAK) APP=PJTURN_CLIENT app=pjturn-client $@ - $(MAKE) -f $(RULES_MAK) APP=PJTURN_SRV app=pjturn-srv $@ - -depend: - $(MAKE) -f $(RULES_MAK) APP=PJNATH app=pjnath $@ - $(MAKE) -f $(RULES_MAK) APP=PJNATH_TEST app=pjnath-test $@ - $(MAKE) -f $(RULES_MAK) APP=PJTURN_CLIENT app=pjturn-client $@ - $(MAKE) -f $(RULES_MAK) APP=PJTURN_SRV app=pjturn-srv $@ - echo '$(PJNATH_TEST_EXE): $(PJNATH_LIB) $(PJLIB_UTIL_LIB) $(PJLIB_LIB)' >> .pjnath-test-$(TARGET_NAME).depend - echo '$(PJTURN_CLIENT_EXE): $(PJNATH_LIB) $(PJLIB_UTIL_LIB) $(PJLIB_LIB)' >> .pjturn-client-$(TARGET_NAME).depend - echo '$(PJTURN_SRV_EXE): $(PJNATH_LIB) $(PJLIB_UTIL_LIB) $(PJLIB_LIB)' >> .pjturn-srv-$(TARGET_NAME).depend - - diff --git a/res/pjproject/pjnath/build/pjnath.vcproj b/res/pjproject/pjnath/build/pjnath.vcproj deleted file mode 100644 index df7bd31ef6..0000000000 --- a/res/pjproject/pjnath/build/pjnath.vcproj +++ /dev/null @@ -1,3434 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjnath/build/pjnath_test.vcproj b/res/pjproject/pjnath/build/pjnath_test.vcproj deleted file mode 100644 index eab782615c..0000000000 --- a/res/pjproject/pjnath/build/pjnath_test.vcproj +++ /dev/null @@ -1,3607 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjnath/build/pjstun_srv_test.vcproj b/res/pjproject/pjnath/build/pjstun_srv_test.vcproj deleted file mode 100644 index a07f8899cb..0000000000 --- a/res/pjproject/pjnath/build/pjstun_srv_test.vcproj +++ /dev/null @@ -1,299 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjnath/build/pjturn_client.vcproj b/res/pjproject/pjnath/build/pjturn_client.vcproj deleted file mode 100644 index fdb5910086..0000000000 --- a/res/pjproject/pjnath/build/pjturn_client.vcproj +++ /dev/null @@ -1,207 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjnath/build/wince-evc4/pjnath_test_wince.vcp b/res/pjproject/pjnath/build/wince-evc4/pjnath_test_wince.vcp deleted file mode 100644 index a71ecc9ad0..0000000000 --- a/res/pjproject/pjnath/build/wince-evc4/pjnath_test_wince.vcp +++ /dev/null @@ -1,19458 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="pjnath_test_wince" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE MIPSIV_FP) Application" 0x9201 -# TARGTYPE "Win32 (WCE x86) Application" 0x8301 -# TARGTYPE "Win32 (WCE ARMV4) Application" 0xa301 -# TARGTYPE "Win32 (WCE MIPS16) Application" 0x8901 -# TARGTYPE "Win32 (WCE SH3) Application" 0x8101 -# TARGTYPE "Win32 (WCE ARMV4I) Application" 0xa501 -# TARGTYPE "Win32 (WCE SH4) Application" 0x8601 -# TARGTYPE "Win32 (WCE MIPSII_FP) Application" 0xa201 -# TARGTYPE "Win32 (WCE emulator) Application" 0xa601 -# TARGTYPE "Win32 (WCE MIPSIV) Application" 0x9601 -# TARGTYPE "Win32 (WCE ARMV4T) Application" 0xa401 -# TARGTYPE "Win32 (WCE MIPSII) Application" 0xa101 - -CFG=pjnath_test_wince - Win32 (WCE MIPSII_FP) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "pjnath_test_wince.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "pjnath_test_wince.vcn" CFG="pjnath_test_wince - Win32 (WCE MIPSII_FP) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "pjnath_test_wince - Win32 (WCE MIPSII_FP) Release" (based on "Win32 (WCE MIPSII_FP) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE MIPSII_FP) Debug" (based on "Win32 (WCE MIPSII_FP) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE MIPSII) Release" (based on "Win32 (WCE MIPSII) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE MIPSII) Debug" (based on "Win32 (WCE MIPSII) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE SH4) Release" (based on "Win32 (WCE SH4) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE SH4) Debug" (based on "Win32 (WCE SH4) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE SH3) Release" (based on "Win32 (WCE SH3) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE SH3) Debug" (based on "Win32 (WCE SH3) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE MIPSIV) Release" (based on "Win32 (WCE MIPSIV) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE MIPSIV) Debug" (based on "Win32 (WCE MIPSIV) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Release" (based on "Win32 (WCE MIPSIV_FP) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Debug" (based on "Win32 (WCE MIPSIV_FP) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE MIPS16) Release" (based on "Win32 (WCE MIPS16) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE MIPS16) Debug" (based on "Win32 (WCE MIPS16) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Application") -!MESSAGE "pjnath_test_wince - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "MIPSII_FPRel" -# PROP BASE Intermediate_Dir "MIPSII_FPRel" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjnath_test_MIPSII_FPRel" -# PROP Intermediate_Dir "./output/pjnath_test_MIPSII_FPRel" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "MIPSII_FPDbg" -# PROP BASE Intermediate_Dir "MIPSII_FPDbg" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjnath_test_MIPSII_FPDbg" -# PROP Intermediate_Dir "./output/pjnath_test_MIPSII_FPDbg" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "MIPSIIRel" -# PROP BASE Intermediate_Dir "MIPSIIRel" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjnath_test_MIPSIIRel" -# PROP Intermediate_Dir "./output/pjnath_test_MIPSIIRel" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "MIPSIIDbg" -# PROP BASE Intermediate_Dir "MIPSIIDbg" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjnath_test_MIPSIIDbg" -# PROP Intermediate_Dir "./output/pjnath_test_MIPSIIDbg" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "SH4Rel" -# PROP BASE Intermediate_Dir "SH4Rel" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjnath_test_SH4Rel" -# PROP Intermediate_Dir "./output/pjnath_test_SH4Rel" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Qsh4 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Qsh4 /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "SH4Dbg" -# PROP BASE Intermediate_Dir "SH4Dbg" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjnath_test_SH4Dbg" -# PROP Intermediate_Dir "./output/pjnath_test_SH4Dbg" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /Qsh4 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "DEBUG" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /Qsh4 /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH3) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "SH3Rel" -# PROP BASE Intermediate_Dir "SH3Rel" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjnath_test_SH3Rel" -# PROP Intermediate_Dir "./output/pjnath_test_SH3Rel" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH3) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "SH3Dbg" -# PROP BASE Intermediate_Dir "SH3Dbg" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjnath_test_SH3Dbg" -# PROP Intermediate_Dir "./output/pjnath_test_SH3Dbg" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "MIPSIVRel" -# PROP BASE Intermediate_Dir "MIPSIVRel" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjnath_test_MIPSIVRel" -# PROP Intermediate_Dir "./output/pjnath_test_MIPSIVRel" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "MIPSIVDbg" -# PROP BASE Intermediate_Dir "MIPSIVDbg" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjnath_test_MIPSIVDbg" -# PROP Intermediate_Dir "./output/pjnath_test_MIPSIVDbg" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "emulatorRel" -# PROP BASE Intermediate_Dir "emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjnath_test_emulatorRel" -# PROP Intermediate_Dir "./output/pjnath_test_emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "emulatorDbg" -# PROP BASE Intermediate_Dir "emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjnath_test_emulatorDbg" -# PROP Intermediate_Dir "./output/pjnath_test_emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "ARMV4IRel" -# PROP BASE Intermediate_Dir "ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjnath_test_ARMV4IRel" -# PROP Intermediate_Dir "./output/pjnath_test_ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "ARMV4IDbg" -# PROP BASE Intermediate_Dir "ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjnath_test_ARMV4IDbg" -# PROP Intermediate_Dir "./output/pjnath_test_ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "MIPSIV_FPRel" -# PROP BASE Intermediate_Dir "MIPSIV_FPRel" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjnath_test_MIPSIV_FPRel" -# PROP Intermediate_Dir "./output/pjnath_test_MIPSIV_FPRel" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "MIPSIV_FPDbg" -# PROP BASE Intermediate_Dir "MIPSIV_FPDbg" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjnath_test_MIPSIV_FPDbg" -# PROP Intermediate_Dir "./output/pjnath_test_MIPSIV_FPDbg" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "ARMV4Rel" -# PROP BASE Intermediate_Dir "ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjnath_test_ARMV4Rel" -# PROP Intermediate_Dir "./output/pjnath_test_ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "ARMV4Dbg" -# PROP BASE Intermediate_Dir "ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjnath_test_ARMV4Dbg" -# PROP Intermediate_Dir "./output/pjnath_test_ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPS16) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "MIPS16Rel" -# PROP BASE Intermediate_Dir "MIPS16Rel" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjnath_test_MIPS16Rel" -# PROP Intermediate_Dir "./output/pjnath_test_MIPS16Rel" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /YX /QMmips16 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /YX /QMmips16 /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPS16) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "MIPS16Dbg" -# PROP BASE Intermediate_Dir "MIPS16Dbg" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjnath_test_MIPS16Dbg" -# PROP Intermediate_Dir "./output/pjnath_test_MIPS16Dbg" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /YX /QMmips16 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /YX /QMmips16 /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "ARMV4TRel" -# PROP BASE Intermediate_Dir "ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjnath_test_ARMV4TRel" -# PROP Intermediate_Dir "./output/pjnath_test_ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "ARMV4TDbg" -# PROP BASE Intermediate_Dir "ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjnath_test_ARMV4TDbg" -# PROP Intermediate_Dir "./output/pjnath_test_ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "DEBUG" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "X86Rel" -# PROP BASE Intermediate_Dir "X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjnath_test_X86Rel" -# PROP Intermediate_Dir "./output/pjnath_test_X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "X86Dbg" -# PROP BASE Intermediate_Dir "X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjnath_test_X86Dbg" -# PROP Intermediate_Dir "./output/pjnath_test_X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ENDIF - -# Begin Target - -# Name "pjnath_test_wince - Win32 (WCE MIPSII_FP) Release" -# Name "pjnath_test_wince - Win32 (WCE MIPSII_FP) Debug" -# Name "pjnath_test_wince - Win32 (WCE MIPSII) Release" -# Name "pjnath_test_wince - Win32 (WCE MIPSII) Debug" -# Name "pjnath_test_wince - Win32 (WCE SH4) Release" -# Name "pjnath_test_wince - Win32 (WCE SH4) Debug" -# Name "pjnath_test_wince - Win32 (WCE SH3) Release" -# Name "pjnath_test_wince - Win32 (WCE SH3) Debug" -# Name "pjnath_test_wince - Win32 (WCE MIPSIV) Release" -# Name "pjnath_test_wince - Win32 (WCE MIPSIV) Debug" -# Name "pjnath_test_wince - Win32 (WCE emulator) Release" -# Name "pjnath_test_wince - Win32 (WCE emulator) Debug" -# Name "pjnath_test_wince - Win32 (WCE ARMV4I) Release" -# Name "pjnath_test_wince - Win32 (WCE ARMV4I) Debug" -# Name "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Release" -# Name "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Debug" -# Name "pjnath_test_wince - Win32 (WCE ARMV4) Release" -# Name "pjnath_test_wince - Win32 (WCE ARMV4) Debug" -# Name "pjnath_test_wince - Win32 (WCE MIPS16) Release" -# Name "pjnath_test_wince - Win32 (WCE MIPS16) Debug" -# Name "pjnath_test_wince - Win32 (WCE ARMV4T) Release" -# Name "pjnath_test_wince - Win32 (WCE ARMV4T) Debug" -# Name "pjnath_test_wince - Win32 (WCE x86) Release" -# Name "pjnath_test_wince - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE="..\..\src\pjnath-test\ice_test.c" - -!IF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ICE_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjnath-test\main_win32.c" - -!IF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjnath-test\server.c" - -!IF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SERVE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjnath-test\sess_auth.c" - -!IF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SESS_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjnath-test\stun.c" - -!IF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjnath-test\stun_sock_test.c" - -!IF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjnath-test\test.c" - -!IF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjnath-test\turn_sock_test.c" - -!IF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH4) Release" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH3) Release" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE x86) Release" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_test_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - "..\..\src\pjnath-test\server.h"\ - "..\..\src\pjnath-test\test.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE="..\..\src\pjnath-test\server.h" -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjnath-test\test.h" -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/res/pjproject/pjnath/build/wince-evc4/pjnath_wince.vcp b/res/pjproject/pjnath/build/wince-evc4/pjnath_wince.vcp deleted file mode 100644 index 8239c52597..0000000000 --- a/res/pjproject/pjnath/build/wince-evc4/pjnath_wince.vcp +++ /dev/null @@ -1,9089 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="pjnath_wince" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE x86) Static Library" 0x8304 -# TARGTYPE "Win32 (WCE ARMV4) Static Library" 0xa304 -# TARGTYPE "Win32 (WCE ARMV4I) Static Library" 0xa504 -# TARGTYPE "Win32 (WCE emulator) Static Library" 0xa604 -# TARGTYPE "Win32 (WCE ARMV4T) Static Library" 0xa404 - -CFG=pjnath_wince - Win32 (WCE emulator) Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "pjnath_wince.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "pjnath_wince.vcn" CFG="pjnath_wince - Win32 (WCE emulator) Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "pjnath_wince - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "pjnath_wince - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "pjnath_wince - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "pjnath_wince - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "pjnath_wince - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "pjnath_wince - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "pjnath_wince - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "pjnath_wince - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "pjnath_wince - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Static Library") -!MESSAGE "pjnath_wince - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjnath-emulatorRel" -# PROP BASE Intermediate_Dir "./output/pjnath-emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjnath-emulatorRel" -# PROP Intermediate_Dir "./output/pjnath-emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "NDEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjnath-emulatorDbg" -# PROP BASE Intermediate_Dir "./output/pjnath-emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjnath-emulatorDbg" -# PROP Intermediate_Dir "./output/pjnath-emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjnath-ARMV4IRel" -# PROP BASE Intermediate_Dir "./output/pjnath-ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjnath-ARMV4IRel" -# PROP Intermediate_Dir "./output/pjnath-ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "ARMV4I" /D "NDEBUG" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjnath-ARMV4IDbg" -# PROP BASE Intermediate_Dir "./output/pjnath-ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjnath-ARMV4IDbg" -# PROP Intermediate_Dir "./output/pjnath-ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "DEBUG" /D "ARMV4I" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjnath-ARMV4Rel" -# PROP BASE Intermediate_Dir "./output/pjnath-ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjnath-ARMV4Rel" -# PROP Intermediate_Dir "./output/pjnath-ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "NDEBUG" /D "ARMV4" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjnath-ARMV4Dbg" -# PROP BASE Intermediate_Dir "./output/pjnath-ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjnath-ARMV4Dbg" -# PROP Intermediate_Dir "./output/pjnath-ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "DEBUG" /D "ARMV4" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjnath-ARMV4TRel" -# PROP BASE Intermediate_Dir "./output/pjnath-ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjnath-ARMV4TRel" -# PROP Intermediate_Dir "./output/pjnath-ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "NDEBUG" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjnath-ARMV4TDbg" -# PROP BASE Intermediate_Dir "./output/pjnath-ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjnath-ARMV4TDbg" -# PROP Intermediate_Dir "./output/pjnath-ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "DEBUG" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjnath-X86Rel" -# PROP BASE Intermediate_Dir "./output/pjnath-X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjnath-X86Rel" -# PROP Intermediate_Dir "./output/pjnath-X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "NDEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjnath-X86Dbg" -# PROP BASE Intermediate_Dir "./output/pjnath-X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjnath-X86Dbg" -# PROP Intermediate_Dir "./output/pjnath-X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib/include" /I "../../../pjlib-util/include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ENDIF - -# Begin Target - -# Name "pjnath_wince - Win32 (WCE emulator) Release" -# Name "pjnath_wince - Win32 (WCE emulator) Debug" -# Name "pjnath_wince - Win32 (WCE ARMV4I) Release" -# Name "pjnath_wince - Win32 (WCE ARMV4I) Debug" -# Name "pjnath_wince - Win32 (WCE ARMV4) Release" -# Name "pjnath_wince - Win32 (WCE ARMV4) Debug" -# Name "pjnath_wince - Win32 (WCE ARMV4T) Release" -# Name "pjnath_wince - Win32 (WCE ARMV4T) Debug" -# Name "pjnath_wince - Win32 (WCE x86) Release" -# Name "pjnath_wince - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\src\pjnath\errno.c - -!IF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjnath\ice_session.c - -!IF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ICE_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ICE_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ICE_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ICE_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ICE_S=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ICE_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ICE_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ICE_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Release" - -DEP_CPP_ICE_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ICE_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjnath\ice_strans.c - -!IF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ICE_ST=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ICE_ST=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ICE_ST=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ICE_ST=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ICE_ST=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ICE_ST=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ICE_ST=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ICE_ST=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Release" - -DEP_CPP_ICE_ST=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ICE_ST=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\ice_session.h"\ - "..\..\include\pjnath\ice_strans.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjnath\nat_detect.c - -!IF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Release" - -DEP_CPP_NAT_D=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_NAT_D=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_NAT_D=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_NAT_D=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_NAT_D=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_NAT_D=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_NAT_D=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_NAT_D=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Release" - -DEP_CPP_NAT_D=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Debug" - -DEP_CPP_NAT_D=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\nat_detect.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjnath\stun_auth.c - -!IF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Release" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Debug" - -DEP_CPP_STUN_=\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjnath\stun_msg.c - -!IF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Release" - -DEP_CPP_STUN_M=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_STUN_M=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_STUN_M=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_STUN_M=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_STUN_M=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_STUN_M=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_STUN_M=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_STUN_M=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Release" - -DEP_CPP_STUN_M=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Debug" - -DEP_CPP_STUN_M=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjnath\stun_msg_dump.c - -!IF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Release" - -DEP_CPP_STUN_MS=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_STUN_MS=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_STUN_MS=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_STUN_MS=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_STUN_MS=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_STUN_MS=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_STUN_MS=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_STUN_MS=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Release" - -DEP_CPP_STUN_MS=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Debug" - -DEP_CPP_STUN_MS=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjnath\stun_session.c - -!IF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Release" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Debug" - -DEP_CPP_STUN_S=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjnath\stun_sock.c - -!IF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Release" - -DEP_CPP_STUN_SO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_STUN_SO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_STUN_SO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_STUN_SO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_STUN_SO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_STUN_SO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_STUN_SO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_STUN_SO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Release" - -DEP_CPP_STUN_SO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Debug" - -DEP_CPP_STUN_SO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_sock.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjnath\stun_transaction.c - -!IF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Release" - -DEP_CPP_STUN_T=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_STUN_T=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_STUN_T=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_STUN_T=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_STUN_T=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_STUN_T=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_STUN_T=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_STUN_T=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Release" - -DEP_CPP_STUN_T=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Debug" - -DEP_CPP_STUN_T=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjnath\turn_session.c - -!IF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Release" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TURN_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\errno.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjnath\turn_sock.c - -!IF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TURN_S=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TURN_S=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TURN_S=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TURN_S=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TURN_S=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TURN_S=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TURN_S=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TURN_S=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Release" - -DEP_CPP_TURN_S=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - - -!ELSEIF "$(CFG)" == "pjnath_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TURN_S=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjnath\config.h"\ - "..\..\include\pjnath\stun_auth.h"\ - "..\..\include\pjnath\stun_config.h"\ - "..\..\include\pjnath\stun_msg.h"\ - "..\..\include\pjnath\stun_session.h"\ - "..\..\include\pjnath\stun_transaction.h"\ - "..\..\include\pjnath\turn_session.h"\ - "..\..\include\pjnath\turn_sock.h"\ - "..\..\include\pjnath\types.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\include\pjnath\config.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjnath\errno.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjnath\ice_session.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjnath\ice_strans.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjnath\nat_detect.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjnath.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjnath\stun_auth.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjnath\stun_config.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjnath\stun_msg.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjnath\stun_session.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjnath\stun_transaction.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjnath\turn_session.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjnath\turn_sock.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjnath\types.h -# End Source File -# End Group -# End Target -# End Project diff --git a/res/pjproject/pjnath/build/wince-evc4/pjnath_wince.vcw b/res/pjproject/pjnath/build/wince-evc4/pjnath_wince.vcw deleted file mode 100644 index 75e2a0bd47..0000000000 --- a/res/pjproject/pjnath/build/wince-evc4/pjnath_wince.vcw +++ /dev/null @@ -1,74 +0,0 @@ -Microsoft eMbedded Visual Tools Workspace File, Format Version 4.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "pjnath_test_wince"=".\pjnath_test_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name pjnath_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjlib_util_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjlib_wince - End Project Dependency -}}} - -############################################################################### - -Project: "pjnath_wince"=".\pjnath_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjlib_util_wince"="..\..\..\pjlib-util\build\wince-evc4\pjlib_util_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjlib_wince"="..\..\..\pjlib\build\wince-evc4\pjlib_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/res/pjproject/pjnath/include/pjnath.h b/res/pjproject/pjnath/include/pjnath.h deleted file mode 100644 index 0e5f755d2e..0000000000 --- a/res/pjproject/pjnath/include/pjnath.h +++ /dev/null @@ -1,35 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - diff --git a/res/pjproject/pjnath/include/pjnath/config.h b/res/pjproject/pjnath/include/pjnath/config.h deleted file mode 100644 index 8e936a980d..0000000000 --- a/res/pjproject/pjnath/include/pjnath/config.h +++ /dev/null @@ -1,495 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJNATH_CONFIG_H__ -#define __PJNATH_CONFIG_H__ - - -/** - * @file config.h - * @brief Compile time settings - */ - -#include - -/** - * @defgroup PJNATH_CONFIG Compile-time configurations - * @brief Various compile time settings - * @ingroup PJNATH_STUN_BASE - * @{ - */ - - -/* ************************************************************************** - * GENERAL - */ - -/** - * The log level for PJNATH error display. - * - * default 1 - */ -#ifndef PJNATH_ERROR_LEVEL -# define PJNATH_ERROR_LEVEL 1 -#endif - - -/* ************************************************************************** - * STUN CONFIGURATION - */ - -/** - * Maximum number of attributes in the STUN packet (for the new STUN - * library). - * - * Default: 16 - */ -#ifndef PJ_STUN_MAX_ATTR -# define PJ_STUN_MAX_ATTR 16 -#endif - -/** - * The default initial STUN round-trip time estimation (the RTO value - * in RFC 3489-bis), in miliseconds. - * This value is used to control the STUN request - * retransmit time. The initial value of retransmission interval - * would be set to this value, and will be doubled after each - * retransmission. - */ -#ifndef PJ_STUN_RTO_VALUE -# define PJ_STUN_RTO_VALUE 100 -#endif - - -/** - * The STUN transaction timeout value, in miliseconds. - * After the last retransmission is sent and if no response is received - * after this time, the STUN transaction will be considered to have failed. - * - * The default value is 16x RTO (as per RFC 3489-bis). - */ -#ifndef PJ_STUN_TIMEOUT_VALUE -# define PJ_STUN_TIMEOUT_VALUE (16 * PJ_STUN_RTO_VALUE) -#endif - - -/** - * Maximum number of STUN transmission count. - * - * Default: 7 (as per RFC 3489-bis) - */ -#ifndef PJ_STUN_MAX_TRANSMIT_COUNT -# define PJ_STUN_MAX_TRANSMIT_COUNT 7 -#endif - - -/** - * Duration to keep response in the cache, in msec. - * - * Default: 10000 (as per RFC 3489-bis) - */ -#ifndef PJ_STUN_RES_CACHE_DURATION -# define PJ_STUN_RES_CACHE_DURATION 10000 -#endif - - -/** - * Maximum size of STUN message. - */ -#ifndef PJ_STUN_MAX_PKT_LEN -# define PJ_STUN_MAX_PKT_LEN 800 -#endif - - -/** - * Default STUN port as defined by RFC 3489. - */ -#define PJ_STUN_PORT 3478 - - -/** - * Padding character for string attributes. - * - * Default: ASCII 0 - */ -#ifndef PJ_STUN_STRING_ATTR_PAD_CHR -# define PJ_STUN_STRING_ATTR_PAD_CHR 0 -#endif - - -/** - * Enable pre-RFC3489bis-07 style of STUN MESSAGE-INTEGRITY and FINGERPRINT - * calculation. By default this should be disabled since the calculation is - * not backward compatible with current STUN specification. - */ -#ifndef PJ_STUN_OLD_STYLE_MI_FINGERPRINT -# define PJ_STUN_OLD_STYLE_MI_FINGERPRINT 0 -#endif - - -/* ************************************************************************** - * STUN TRANSPORT CONFIGURATION - */ - -/** - * The packet buffer size for the STUN transport. - */ -#ifndef PJ_STUN_SOCK_PKT_LEN -# define PJ_STUN_SOCK_PKT_LEN 2000 -#endif - - -/** - * The duration of the STUN keep-alive period, in seconds. - */ -#ifndef PJ_STUN_KEEP_ALIVE_SEC -# define PJ_STUN_KEEP_ALIVE_SEC 15 -#endif - - -/* ************************************************************************** - * TURN CONFIGURATION - */ - -/** - * Maximum DNS SRV entries to be processed in the DNS SRV response - */ -#ifndef PJ_TURN_MAX_DNS_SRV_CNT -# define PJ_TURN_MAX_DNS_SRV_CNT 4 -#endif - - -/** - * Maximum TURN packet size to be supported. - */ -#ifndef PJ_TURN_MAX_PKT_LEN -# define PJ_TURN_MAX_PKT_LEN 3000 -#endif - - -/** - * The TURN permission lifetime setting. This value should be taken from the - * TURN protocol specification. - */ -#ifndef PJ_TURN_PERM_TIMEOUT -# define PJ_TURN_PERM_TIMEOUT 300 -#endif - - -/** - * The TURN channel binding lifetime. This value should be taken from the - * TURN protocol specification. - */ -#ifndef PJ_TURN_CHANNEL_TIMEOUT -# define PJ_TURN_CHANNEL_TIMEOUT 600 -#endif - - -/** - * Number of seconds to refresh the permission/channel binding before the - * permission/channel binding expires. This value should be greater than - * PJ_TURN_PERM_TIMEOUT setting. - */ -#ifndef PJ_TURN_REFRESH_SEC_BEFORE -# define PJ_TURN_REFRESH_SEC_BEFORE 60 -#endif - - -/** - * The TURN session timer heart beat interval. When this timer occurs, the - * TURN session will scan all the permissions/channel bindings to see which - * need to be refreshed. - */ -#ifndef PJ_TURN_KEEP_ALIVE_SEC -# define PJ_TURN_KEEP_ALIVE_SEC 15 -#endif - - -/* ************************************************************************** - * ICE CONFIGURATION - */ - -/** - * Maximum number of ICE candidates. - * - * Default: 16 - */ -#ifndef PJ_ICE_MAX_CAND -# define PJ_ICE_MAX_CAND 16 -#endif - - -/** - * Maximum number of candidates for each ICE stream transport component. - * - * Default: 8 - */ -#ifndef PJ_ICE_ST_MAX_CAND -# define PJ_ICE_ST_MAX_CAND 8 -#endif - - -/** - * The number of bits to represent component IDs. This will affect - * the maximum number of components (PJ_ICE_MAX_COMP) value. - */ -#ifndef PJ_ICE_COMP_BITS -# define PJ_ICE_COMP_BITS 1 -#endif - - -/** - * Maximum number of ICE components. - */ -#define PJ_ICE_MAX_COMP (2< - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJNATH_ERRNO_H__ -#define __PJNATH_ERRNO_H__ - -/** - * @file errno.h - * @brief PJNATH specific error codes - */ - -#include - -/** - * @defgroup PJNATH_ERROR NAT Helper Library Error Codes - * @brief PJNATH specific error code constants - * @ingroup PJNATH_STUN_BASE - * @{ - */ - -/** - * Start of error code relative to PJ_ERRNO_START_USER. - * This value is 370000. - */ -#define PJNATH_ERRNO_START (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*4) - - -/************************************************************ - * STUN MESSAGING ERRORS - ***********************************************************/ - -/** - * Map STUN error code (300-699) into pj_status_t error space. - */ -#define PJ_STATUS_FROM_STUN_CODE(code) (PJNATH_ERRNO_START+code) - -/** - * @hideinitializer - * Invalid STUN message - */ -#define PJNATH_EINSTUNMSG (PJNATH_ERRNO_START+1) /* 370001 */ -/** - * @hideinitializer - * Invalid STUN message length. - */ -#define PJNATH_EINSTUNMSGLEN (PJNATH_ERRNO_START+2) /* 370002 */ -/** - * @hideinitializer - * Invalid or unexpected STUN message type - */ -#define PJNATH_EINSTUNMSGTYPE (PJNATH_ERRNO_START+3) /* 370003 */ -/** - * @hideinitializer - * STUN transaction has timed out - */ -#define PJNATH_ESTUNTIMEDOUT (PJNATH_ERRNO_START+4) /* 370004 */ - - -/** - * @hideinitializer - * Too many STUN attributes. - */ -#define PJNATH_ESTUNTOOMANYATTR (PJNATH_ERRNO_START+21) /* 370021 */ -/** - * @hideinitializer - * Invalid STUN attribute length. - */ -#define PJNATH_ESTUNINATTRLEN (PJNATH_ERRNO_START+22) /* 370022 */ -/** - * @hideinitializer - * Found duplicate STUN attribute. - */ -#define PJNATH_ESTUNDUPATTR (PJNATH_ERRNO_START+23) /* 370023 */ - -/** - * @hideinitializer - * STUN FINGERPRINT verification failed - */ -#define PJNATH_ESTUNFINGERPRINT (PJNATH_ERRNO_START+30) /* 370030 */ -/** - * @hideinitializer - * Invalid STUN attribute after MESSAGE-INTEGRITY. - */ -#define PJNATH_ESTUNMSGINTPOS (PJNATH_ERRNO_START+31) /* 370031 */ -/** - * @hideinitializer - * Invalid STUN attribute after FINGERPRINT. - */ -#define PJNATH_ESTUNFINGERPOS (PJNATH_ERRNO_START+33) /* 370033 */ - - -/** - * @hideinitializer - * STUN (XOR-)MAPPED-ADDRESS attribute not found - */ -#define PJNATH_ESTUNNOMAPPEDADDR (PJNATH_ERRNO_START+40) /* 370040 */ -/** - * @hideinitializer - * STUN IPv6 attribute not supported - */ -#define PJNATH_ESTUNIPV6NOTSUPP (PJNATH_ERRNO_START+41) /* 370041 */ -/** - * @hideinitializer - * Invalid address family value in STUN message. - */ -#define PJNATH_EINVAF (PJNATH_ERRNO_START+42) /* 370042 */ - -/** - * @hideinitializer - * Invalid STUN server or server not configured. - */ -#define PJNATH_ESTUNINSERVER (PJNATH_ERRNO_START+50) /* 370050 */ - - -/************************************************************ - * STUN SESSION/TRANSPORT ERROR CODES - ***********************************************************/ -/** - * @hideinitializer - * STUN object has been destoyed. - */ -#define PJNATH_ESTUNDESTROYED (PJNATH_ERRNO_START+60) /* 370060 */ - - -/************************************************************ - * ICE ERROR CODES - ***********************************************************/ - -/** - * @hideinitializer - * ICE session not available - */ -#define PJNATH_ENOICE (PJNATH_ERRNO_START+80) /* 370080 */ -/** - * @hideinitializer - * ICE check is in progress - */ -#define PJNATH_EICEINPROGRESS (PJNATH_ERRNO_START+81) /* 370081 */ -/** - * @hideinitializer - * This error indicates that ICE connectivity check has failed, because - * there is at least one ICE component that does not have a valid check. - * Normally this happens because the network topology had caused the - * connectivity check to fail (e.g. no route between the two agents), - * however other reasons may include software incompatibility between - * the two agents, or incomplete candidates gathered by the agent(s). - */ -#define PJNATH_EICEFAILED (PJNATH_ERRNO_START+82) /* 370082 */ -/** - * @hideinitializer - * Default destination does not match any ICE candidates - */ -#define PJNATH_EICEMISMATCH (PJNATH_ERRNO_START+83) /* 370083 */ -/** - * @hideinitializer - * Invalid ICE component ID - */ -#define PJNATH_EICEINCOMPID (PJNATH_ERRNO_START+86) /* 370086 */ -/** - * @hideinitializer - * Invalid ICE candidate ID - */ -#define PJNATH_EICEINCANDID (PJNATH_ERRNO_START+87) /* 370087 */ -/** - * @hideinitializer - * Source address mismatch. This error occurs if the source address - * of the response for ICE connectivity check is different than - * the destination address of the request. - */ -#define PJNATH_EICEINSRCADDR (PJNATH_ERRNO_START+88) /* 370088 */ -/** - * @hideinitializer - * Missing ICE SDP attribute - */ -#define PJNATH_EICEMISSINGSDP (PJNATH_ERRNO_START+90) /* 370090 */ -/** - * @hideinitializer - * Invalid SDP "candidate" attribute - */ -#define PJNATH_EICEINCANDSDP (PJNATH_ERRNO_START+91) /* 370091 */ -/** - * @hideinitializer - * No host candidate associated with srflx. This error occurs when - * a server reflexive candidate is added without the matching - * host candidate. - */ -#define PJNATH_EICENOHOSTCAND (PJNATH_ERRNO_START+92) /* 370092 */ -/** - * @hideinitializer - * Controlled agent timed-out in waiting for the controlling agent to - * send nominated check after all connectivity checks have completed. - */ -#define PJNATH_EICENOMTIMEOUT (PJNATH_ERRNO_START+93) /* 370093 */ - -/************************************************************ - * TURN ERROR CODES - ***********************************************************/ -/** - * @hideinitializer - * Invalid or unsupported TURN transport. - */ -#define PJNATH_ETURNINTP (PJNATH_ERRNO_START+120) /* 370120 */ - - - -/** - * @} - */ - -#endif /* __PJNATH_ERRNO_H__ */ diff --git a/res/pjproject/pjnath/include/pjnath/ice_session.h b/res/pjproject/pjnath/include/pjnath/ice_session.h deleted file mode 100644 index f48e12d419..0000000000 --- a/res/pjproject/pjnath/include/pjnath/ice_session.h +++ /dev/null @@ -1,974 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJNATH_ICE_SESSION_H__ -#define __PJNATH_ICE_SESSION_H__ - -/** - * @file ice_session.h - * @brief ICE session management - */ -#include -#include -#include -#include -#include - -PJ_BEGIN_DECL - - -/** - * @addtogroup PJNATH_ICE_SESSION - * @{ - * - * This module describes #pj_ice_sess, a transport independent ICE session, - * part of PJNATH - the Open Source NAT helper library. - * - * \section pj_ice_sess_sec ICE Session - * - * An ICE session, represented by #pj_ice_sess structure, is the lowest - * abstraction of ICE in PJNATH, and it is used to perform and manage - * connectivity checks of transport address candidates within a - * single media stream (note: this differs from what is described - * in ICE draft, where an ICE session manages the whole media sessions - * rather than just a single stream). - * - * The ICE session described here is independent from any transports, - * meaning that the actual network I/O for this session would have to - * be performed by the application, or higher layer abstraction. - * Using this framework, application would give any incoming packets to - * the ICE session, and it would provide the ICE session with a callback - * to send outgoing message. - * - * For higher abstraction of ICE where transport is included, please - * see \ref PJNATH_ICE_STREAM_TRANSPORT. - * - * \subsection pj_ice_sess_using_sec Using The ICE Session - * - * The steps below describe how to use ICE session. Alternatively application - * can use the higher level ICE API, \ref PJNATH_ICE_STREAM_TRANSPORT, - * which has provided the integration of ICE with socket transport. - * - * The steps to use ICE session is similar for both offerer and - * answerer: - * - create ICE session with #pj_ice_sess_create(). Among other things, - * application needs to specify: - * - STUN configuration (pj_stun_config), containing STUN settings - * such as timeout values and the instances of timer heap and - * ioqueue. - * - Session name, useful for identifying this session in the log. - * - Initial ICE role (#pj_ice_sess_role). The role can be changed - * at later time with #pj_ice_sess_change_role(), and ICE session - * can also change its role automatically when it detects role - * conflict. - * - Number of components in the media session. - * - Callback to receive ICE events (#pj_ice_sess_cb) - * - Optional local ICE username and password. If these arguments - * are NULL, they will be generated randomly. - * - Add local candidates for each component, with #pj_ice_sess_add_cand(). - * A candidate is represented with #pj_ice_sess_cand structure. - * Each component must be provided with at least one candidate, and - * all components must have the same number of candidates. Failing - * to comply with this will cause failure during pairing process. - * - Create offer to describe local ICE candidates. ICE session does not - * provide a function to create such offer, but application should be - * able to create one since it knows about all components and candidates. - * If application uses \ref PJNATH_ICE_STREAM_TRANSPORT, it can - * enumerate local candidates by calling #pj_ice_strans_enum_cands(). - * Application may use #pj_ice_sess_find_default_cand() to let ICE - * session chooses the default transport address to be used in SDP - * c= and m= lines. - * - Send the offer to remote endpoint using signaling such as SIP. - * - Once application has received the answer, it should parse this - * answer, build array of remote candidates, and create check lists by - * calling #pj_ice_sess_create_check_list(). This process is known as - * pairing the candidates, and will result in the creation of check lists. - * - Once checklist has been created, application then can call - * #pj_ice_sess_start_check() to instruct ICE session to start - * performing connectivity checks. The ICE session performs the - * connectivity checks by processing each check in the checklists. - * - Application will be notified about the result of ICE connectivity - * checks via the callback that was given in #pj_ice_sess_create() - * above. - * - * To send data, application calls #pj_ice_sess_send_data(). If ICE - * negotiation has not completed, ICE session would simply drop the data, - * and return error to caller. If ICE negotiation has completed - * successfully, ICE session will in turn call the \a on_tx_pkt - * callback of #pj_ice_sess_cb instance that was previously registered - * in #pj_ice_sess_create() above. - * - * When application receives any packets on the underlying sockets, it - * must call #pj_ice_sess_on_rx_pkt(). The ICE session will inspect the - * packet to decide whether to process it locally (if the packet is a - * STUN message and is part of ICE session) or otherwise pass it back to - * application via \a on_rx_data callback. - */ - -/** - * Forward declaration for checklist. - */ -typedef struct pj_ice_sess_checklist pj_ice_sess_checklist; - -/** - * This enumeration describes the type of an ICE candidate. - */ -typedef enum pj_ice_cand_type -{ - /** - * ICE host candidate. A host candidate represents the actual local - * transport address in the host. - */ - PJ_ICE_CAND_TYPE_HOST, - - /** - * ICE server reflexive candidate, which represents the public mapped - * address of the local address, and is obtained by sending STUN - * Binding request from the host candidate to a STUN server. - */ - PJ_ICE_CAND_TYPE_SRFLX, - - /** - * ICE peer reflexive candidate, which is the address as seen by peer - * agent during connectivity check. - */ - PJ_ICE_CAND_TYPE_PRFLX, - - /** - * ICE relayed candidate, which represents the address allocated in - * TURN server. - */ - PJ_ICE_CAND_TYPE_RELAYED - -} pj_ice_cand_type; - - -/** Forward declaration for pj_ice_sess */ -typedef struct pj_ice_sess pj_ice_sess; - -/** Forward declaration for pj_ice_sess_check */ -typedef struct pj_ice_sess_check pj_ice_sess_check; - - -/** - * This structure describes ICE component. - * A media stream may require multiple components, each of which has - * to work for the media stream as a whole to work. For media streams - * based on RTP, there are two components per media stream - one for RTP, - * and one for RTCP. - */ -typedef struct pj_ice_sess_comp -{ - /** - * Pointer to ICE check with highest priority which connectivity check - * has been successful. The value will be NULL if a no successful check - * has not been found for this component. - */ - pj_ice_sess_check *valid_check; - - /** - * Pointer to ICE check with highest priority which connectivity check - * has been successful and it has been nominated. The value may be NULL - * if there is no such check yet. - */ - pj_ice_sess_check *nominated_check; - - /** - * The STUN session to be used to send and receive STUN messages for this - * component. - */ - pj_stun_session *stun_sess; - -} pj_ice_sess_comp; - - -/** - * Data structure to be attached to internal message processing. - */ -typedef struct pj_ice_msg_data -{ - /** Transport ID for this message */ - unsigned transport_id; - - /** Flag to indicate whether data.req contains data */ - pj_bool_t has_req_data; - - /** The data */ - union data { - /** Request data */ - struct request_data { - pj_ice_sess *ice; /**< ICE session */ - pj_ice_sess_checklist *clist; /**< Checklist */ - unsigned ckid; /**< Check ID */ - } req; - } data; - -} pj_ice_msg_data; - - -/** - * This structure describes an ICE candidate. - * ICE candidate is a transport address that is to be tested by ICE - * procedures in order to determine its suitability for usage for - * receipt of media. Candidates also have properties - their type - * (server reflexive, relayed or host), priority, foundation, and - * base. - */ -typedef struct pj_ice_sess_cand -{ - /** - * The candidate type, as described in #pj_ice_cand_type enumeration. - */ - pj_ice_cand_type type; - - /** - * Status of this candidate. The value will be PJ_SUCCESS if candidate - * address has been resolved successfully, PJ_EPENDING when the address - * resolution process is in progress, or other value when the address - * resolution has completed with failure. - */ - pj_status_t status; - - /** - * The component ID of this candidate. Note that component IDs starts - * with one for RTP and two for RTCP. In other words, it's not zero - * based. - */ - pj_uint8_t comp_id; - - /** - * Transport ID to be used to send packets for this candidate. - */ - pj_uint8_t transport_id; - - /** - * Local preference value, which typically is 65535. - */ - pj_uint16_t local_pref; - - /** - * The foundation string, which is an identifier which value will be - * equivalent for two candidates that are of the same type, share the - * same base, and come from the same STUN server. The foundation is - * used to optimize ICE performance in the Frozen algorithm. - */ - pj_str_t foundation; - - /** - * The candidate's priority, a 32-bit unsigned value which value will be - * calculated by the ICE session when a candidate is registered to the - * ICE session. - */ - pj_uint32_t prio; - - /** - * IP address of this candidate. For host candidates, this represents - * the local address of the socket. For reflexive candidates, the value - * will be the public address allocated in NAT router for the host - * candidate and as reported in MAPPED-ADDRESS or XOR-MAPPED-ADDRESS - * attribute of STUN Binding request. For relayed candidate, the value - * will be the address allocated in the TURN server by STUN Allocate - * request. - */ - pj_sockaddr addr; - - /** - * Base address of this candidate. "Base" refers to the address an agent - * sends from for a particular candidate. For host candidates, the base - * is the same as the host candidate itself. For reflexive candidates, - * the base is the local IP address of the socket. For relayed candidates, - * the base address is the transport address allocated in the TURN server - * for this candidate. - */ - pj_sockaddr base_addr; - - /** - * Related address, which is used for informational only and is not used - * in any way by the ICE session. - */ - pj_sockaddr rel_addr; - -} pj_ice_sess_cand; - - -/** - * This enumeration describes the state of ICE check. - */ -typedef enum pj_ice_sess_check_state -{ - /** - * A check for this pair hasn't been performed, and it can't - * yet be performed until some other check succeeds, allowing this - * pair to unfreeze and move into the Waiting state. - */ - PJ_ICE_SESS_CHECK_STATE_FROZEN, - - /** - * A check has not been performed for this pair, and can be - * performed as soon as it is the highest priority Waiting pair on - * the check list. - */ - PJ_ICE_SESS_CHECK_STATE_WAITING, - - /** - * A check has not been performed for this pair, and can be - * performed as soon as it is the highest priority Waiting pair on - * the check list. - */ - PJ_ICE_SESS_CHECK_STATE_IN_PROGRESS, - - /** - * A check has not been performed for this pair, and can be - * performed as soon as it is the highest priority Waiting pair on - * the check list. - */ - PJ_ICE_SESS_CHECK_STATE_SUCCEEDED, - - /** - * A check for this pair was already done and failed, either - * never producing any response or producing an unrecoverable failure - * response. - */ - PJ_ICE_SESS_CHECK_STATE_FAILED - -} pj_ice_sess_check_state; - - -/** - * This structure describes an ICE connectivity check. An ICE check - * contains a candidate pair, and will involve sending STUN Binding - * Request transaction for the purposes of verifying connectivity. - * A check is sent from the local candidate to the remote candidate - * of a candidate pair. - */ -struct pj_ice_sess_check -{ - /** - * Pointer to local candidate entry of this check. - */ - pj_ice_sess_cand *lcand; - - /** - * Pointer to remote candidate entry of this check. - */ - pj_ice_sess_cand *rcand; - - /** - * Check priority. - */ - pj_timestamp prio; - - /** - * Connectivity check state. - */ - pj_ice_sess_check_state state; - - /** - * STUN transmit data containing STUN Binding request that was sent - * as part of this check. The value will only be set when this check - * has a pending transaction, and is used to cancel the transaction - * when other check has succeeded. - */ - pj_stun_tx_data *tdata; - - /** - * Flag to indicate whether this check is nominated. A nominated check - * contains USE-CANDIDATE attribute in its STUN Binding request. - */ - pj_bool_t nominated; - - /** - * When the check failed, this will contain the failure status of the - * STUN transaction. - */ - pj_status_t err_code; -}; - - -/** - * This enumeration describes ICE checklist state. - */ -typedef enum pj_ice_sess_checklist_state -{ - /** - * The checklist is not yet running. - */ - PJ_ICE_SESS_CHECKLIST_ST_IDLE, - - /** - * In this state, ICE checks are still in progress for this - * media stream. - */ - PJ_ICE_SESS_CHECKLIST_ST_RUNNING, - - /** - * In this state, ICE checks have completed for this media stream, - * either successfully or with failure. - */ - PJ_ICE_SESS_CHECKLIST_ST_COMPLETED - -} pj_ice_sess_checklist_state; - - -/** - * This structure represents ICE check list, that is an ordered set of - * candidate pairs that an agent will use to generate checks. - */ -struct pj_ice_sess_checklist -{ - /** - * The checklist state. - */ - pj_ice_sess_checklist_state state; - - /** - * Number of candidate pairs (checks). - */ - unsigned count; - - /** - * Array of candidate pairs (checks). - */ - pj_ice_sess_check checks[PJ_ICE_MAX_CHECKS]; - - /** - * A timer used to perform periodic check for this checklist. - */ - pj_timer_entry timer; - -}; - - -/** - * This structure contains callbacks that will be called by the ICE - * session. - */ -typedef struct pj_ice_sess_cb -{ - /** - * An optional callback that will be called by the ICE session when - * ICE negotiation has completed, successfully or with failure. - * - * @param ice The ICE session. - * @param status Will contain PJ_SUCCESS if ICE negotiation is - * successful, or some error code. - */ - void (*on_ice_complete)(pj_ice_sess *ice, pj_status_t status); - - /** - * A mandatory callback which will be called by the ICE session when - * it needs to send outgoing STUN packet. - * - * @param ice The ICE session. - * @param comp_id ICE component ID. - * @param transport_id Transport ID. - * @param pkt The STUN packet. - * @param size The size of the packet. - * @param dst_addr Packet destination address. - * @param dst_addr_len Length of destination address. - */ - pj_status_t (*on_tx_pkt)(pj_ice_sess *ice, unsigned comp_id, - unsigned transport_id, - const void *pkt, pj_size_t size, - const pj_sockaddr_t *dst_addr, - unsigned dst_addr_len); - - /** - * A mandatory callback which will be called by the ICE session when - * it receives packet which is not part of ICE negotiation. - * - * @param ice The ICE session. - * @param comp_id ICE component ID. - * @param transport_id Transport ID. - * @param pkt The whole packet. - * @param size Size of the packet. - * @param src_addr Source address where this packet was received - * from. - * @param src_addr_len The length of source address. - */ - void (*on_rx_data)(pj_ice_sess *ice, unsigned comp_id, - unsigned transport_id, - void *pkt, pj_size_t size, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); -} pj_ice_sess_cb; - - -/** - * This enumeration describes the role of the ICE agent. - */ -typedef enum pj_ice_sess_role -{ - /** - * The role is unknown. - */ - PJ_ICE_SESS_ROLE_UNKNOWN, - - /** - * The ICE agent is in controlled role. - */ - PJ_ICE_SESS_ROLE_CONTROLLED, - - /** - * The ICE agent is in controlling role. - */ - PJ_ICE_SESS_ROLE_CONTROLLING - -} pj_ice_sess_role; - - -/** - * This structure represents an incoming check (an incoming Binding - * request message), and is mainly used to keep early checks in the - * list in the ICE session. An early check is a request received - * from remote when we haven't received SDP answer yet, therefore we - * can't perform triggered check. For such cases, keep the incoming - * request in a list, and we'll do triggered checks (simultaneously) - * as soon as we receive answer. - */ -typedef struct pj_ice_rx_check -{ - PJ_DECL_LIST_MEMBER(struct pj_ice_rx_check); /**< Standard list */ - - unsigned comp_id; /**< Component ID. */ - unsigned transport_id; /**< Transport ID. */ - - pj_sockaddr src_addr; /**< Source address of request */ - unsigned src_addr_len; /**< Length of src address. */ - - pj_bool_t use_candidate; /**< USE-CANDIDATE is present? */ - pj_uint32_t priority; /**< PRIORITY value in the req. */ - pj_stun_uint64_attr *role_attr; /**< ICE-CONTROLLING/CONTROLLED */ - -} pj_ice_rx_check; - - -/** - * This structure describes various ICE session options. Application - * configure the ICE session with these options by calling - * #pj_ice_sess_set_options(). - */ -typedef struct pj_ice_sess_options -{ - /** - * Specify whether to use aggressive nomination. - */ - pj_bool_t aggressive; - - /** - * For controlling agent if it uses regular nomination, specify the delay - * to perform nominated check (connectivity check with USE-CANDIDATE - * attribute) after all components have a valid pair. - * - * Default value is PJ_ICE_NOMINATED_CHECK_DELAY. - */ - unsigned nominated_check_delay; - - /** - * For a controlled agent, specify how long it wants to wait (in - * milliseconds) for the controlling agent to complete sending - * connectivity check with nominated flag set to true for all components - * after the controlled agent has found that all connectivity checks in - * its checklist have been completed and there is at least one successful - * (but not nominated) check for every component. - * - * Default value for this option is - * ICE_CONTROLLED_AGENT_WAIT_NOMINATION_TIMEOUT. Specify -1 to disable - * this timer. - */ - int controlled_agent_want_nom_timeout; - -} pj_ice_sess_options; - - -/** - * This structure describes the ICE session. For this version of PJNATH, - * an ICE session corresponds to a single media stream (unlike the ICE - * session described in the ICE standard where an ICE session covers the - * whole media and may consist of multiple media streams). The decision - * to support only a single media session was chosen for simplicity, - * while still allowing application to utilize multiple media streams by - * creating multiple ICE sessions, one for each media stream. - */ -struct pj_ice_sess -{ - char obj_name[PJ_MAX_OBJ_NAME]; /**< Object name. */ - - pj_pool_t *pool; /**< Pool instance. */ - void *user_data; /**< App. data. */ - pj_mutex_t *mutex; /**< Mutex. */ - pj_ice_sess_role role; /**< ICE role. */ - pj_ice_sess_options opt; /**< Options */ - pj_timestamp tie_breaker; /**< Tie breaker value */ - pj_uint8_t *prefs; /**< Type preference. */ - pj_bool_t is_nominating; /**< Nominating stage */ - pj_bool_t is_complete; /**< Complete? */ - pj_bool_t is_destroying; /**< Destroy is called */ - pj_status_t ice_status; /**< Error status. */ - pj_timer_entry timer; /**< ICE timer. */ - pj_ice_sess_cb cb; /**< Callback. */ - - pj_stun_config stun_cfg; /**< STUN settings. */ - - /* STUN credentials */ - pj_str_t tx_ufrag; /**< Remote ufrag. */ - pj_str_t tx_uname; /**< Uname for TX. */ - pj_str_t tx_pass; /**< Remote password. */ - pj_str_t rx_ufrag; /**< Local ufrag. */ - pj_str_t rx_uname; /**< Uname for RX */ - pj_str_t rx_pass; /**< Local password. */ - - /* Components */ - unsigned comp_cnt; /**< # of components. */ - pj_ice_sess_comp comp[PJ_ICE_MAX_COMP]; /**< Component array */ - unsigned comp_ka; /**< Next comp for KA */ - - /* Local candidates */ - unsigned lcand_cnt; /**< # of local cand. */ - pj_ice_sess_cand lcand[PJ_ICE_MAX_CAND]; /**< Array of cand. */ - - /* Remote candidates */ - unsigned rcand_cnt; /**< # of remote cand. */ - pj_ice_sess_cand rcand[PJ_ICE_MAX_CAND]; /**< Array of cand. */ - - /** Array of transport datas */ - pj_ice_msg_data tp_data[4]; - - /* List of eearly checks */ - pj_ice_rx_check early_check; /**< Early checks. */ - - /* Checklist */ - pj_ice_sess_checklist clist; /**< Active checklist */ - - /* Valid list */ - pj_ice_sess_checklist valid_list; /**< Valid list. */ - - /** Temporary buffer for misc stuffs to avoid using stack too much */ - union { - char txt[128]; - char errmsg[PJ_ERR_MSG_SIZE]; - } tmp; -}; - - -/** - * This is a utility function to retrieve the string name for the - * particular candidate type. - * - * @param type Candidate type. - * - * @return The string representation of the candidate type. - */ -PJ_DECL(const char*) pj_ice_get_cand_type_name(pj_ice_cand_type type); - - -/** - * This is a utility function to retrieve the string name for the - * particular role type. - * - * @param role Role type. - * - * @return The string representation of the role. - */ -PJ_DECL(const char*) pj_ice_sess_role_name(pj_ice_sess_role role); - - -/** - * This is a utility function to calculate the foundation identification - * for a candidate. - * - * @param pool Pool to allocate the foundation string. - * @param foundation Pointer to receive the foundation string. - * @param type Candidate type. - * @param base_addr Base address of the candidate. - */ -PJ_DECL(void) pj_ice_calc_foundation(pj_pool_t *pool, - pj_str_t *foundation, - pj_ice_cand_type type, - const pj_sockaddr *base_addr); - -/** - * Initialize ICE session options with library default values. - * - * @param opt ICE session options. - */ -PJ_DECL(void) pj_ice_sess_options_default(pj_ice_sess_options *opt); - -/** - * Create ICE session with the specified role and number of components. - * Application would typically need to create an ICE session before - * sending an offer or upon receiving one. After the session is created, - * application can register candidates to the ICE session by calling - * #pj_ice_sess_add_cand() function. - * - * @param stun_cfg The STUN configuration settings, containing among - * other things the timer heap instance to be used - * by the ICE session. - * @param name Optional name to identify this ICE instance in - * the log file. - * @param role ICE role. - * @param comp_cnt Number of components. - * @param cb ICE callback. - * @param local_ufrag Optional string to be used as local username to - * authenticate incoming STUN binding request. If - * the value is NULL, a random string will be - * generated. - * @param local_passwd Optional string to be used as local password. - * @param p_ice Pointer to receive the ICE session instance. - * - * @return PJ_SUCCESS if ICE session is created successfully. - */ -PJ_DECL(pj_status_t) pj_ice_sess_create(pj_stun_config *stun_cfg, - const char *name, - pj_ice_sess_role role, - unsigned comp_cnt, - const pj_ice_sess_cb *cb, - const pj_str_t *local_ufrag, - const pj_str_t *local_passwd, - pj_ice_sess **p_ice); - -/** - * Get the value of various options of the ICE session. - * - * @param ice The ICE session. - * @param opt The options to be initialized with the values - * from the ICE session. - * - * @return PJ_SUCCESS on success, or the appropriate error. - */ -PJ_DECL(pj_status_t) pj_ice_sess_get_options(pj_ice_sess *ice, - pj_ice_sess_options *opt); - -/** - * Specify various options for this ICE session. Application MUST only - * call this function after the ICE session has been created but before - * any connectivity check is started. - * - * Application should call #pj_ice_sess_get_options() to initialize the - * options with their default values. - * - * @param ice The ICE session. - * @param opt Options to be applied to the ICE session. - * - * @return PJ_SUCCESS on success, or the appropriate error. - */ -PJ_DECL(pj_status_t) pj_ice_sess_set_options(pj_ice_sess *ice, - const pj_ice_sess_options *opt); - -/** - * Destroy ICE session. This will cancel any connectivity checks currently - * running, if any, and any other events scheduled by this session, as well - * as all memory resources. - * - * @param ice ICE session instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pj_ice_sess_destroy(pj_ice_sess *ice); - - -/** - * Change session role. This happens for example when ICE session was - * created with controlled role when receiving an offer, but it turns out - * that the offer contains "a=ice-lite" attribute when the SDP gets - * inspected. - * - * @param ice The ICE session. - * @param new_role The new role to be set. - * - * @return PJ_SUCCESS on success, or the appropriate error. - */ -PJ_DECL(pj_status_t) pj_ice_sess_change_role(pj_ice_sess *ice, - pj_ice_sess_role new_role); - - -/** - * Assign a custom preference values for ICE candidate types. By assigning - * custom preference value, application can control the order of candidates - * to be checked first. The default preference settings is to use 126 for - * host candidates, 100 for server reflexive candidates, 110 for peer - * reflexive candidates, an 0 for relayed candidates. - * - * Note that this function must be called before any candidates are added - * to the ICE session. - * - * @param ice The ICE session. - * @param prefs Array of candidate preference value. The values are - * put in the array indexed by the candidate type as - * specified in pj_ice_cand_type. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_ice_sess_set_prefs(pj_ice_sess *ice, - const pj_uint8_t prefs[4]); - - - -/** - * Add a candidate to this ICE session. Application must add candidates for - * each components ID before it can start pairing the candidates and - * performing connectivity checks. - * - * @param ice ICE session instance. - * @param comp_id Component ID of this candidate. - * @param transport_id Transport ID to be used to send packets for this - * candidate. - * @param type Candidate type. - * @param local_pref Local preference for this candidate, which - * normally should be set to 65535. - * @param foundation Foundation identification. - * @param addr The candidate address. - * @param base_addr The candidate's base address. - * @param rel_addr Optional related address. - * @param addr_len Length of addresses. - * @param p_cand_id Optional pointer to receive the candidate ID. - * - * @return PJ_SUCCESS if candidate is successfully added. - */ -PJ_DECL(pj_status_t) pj_ice_sess_add_cand(pj_ice_sess *ice, - unsigned comp_id, - unsigned transport_id, - pj_ice_cand_type type, - pj_uint16_t local_pref, - const pj_str_t *foundation, - const pj_sockaddr_t *addr, - const pj_sockaddr_t *base_addr, - const pj_sockaddr_t *rel_addr, - int addr_len, - unsigned *p_cand_id); - -/** - * Find default candidate for the specified component ID, using this - * rule: - * - if the component has a successful candidate pair, then the - * local candidate of this pair will be returned. - * - otherwise a relay, reflexive, or host candidate will be selected - * on that specified order. - * - * @param ice The ICE session instance. - * @param comp_id The component ID. - * @param p_cand_id Pointer to receive the candidate ID. - * - * @return PJ_SUCCESS if a candidate has been selected. - */ -PJ_DECL(pj_status_t) pj_ice_sess_find_default_cand(pj_ice_sess *ice, - unsigned comp_id, - int *p_cand_id); - -/** - * Pair the local and remote candidates to create check list. Application - * typically would call this function after receiving SDP containing ICE - * candidates from the remote host (either upon receiving the initial - * offer, for UAS, or upon receiving the answer, for UAC). - * - * Note that ICE connectivity check will not start until application calls - * #pj_ice_sess_start_check(). - * - * @param ice ICE session instance. - * @param rem_ufrag Remote ufrag, as seen in the SDP received from - * the remote agent. - * @param rem_passwd Remote password, as seen in the SDP received from - * the remote agent. - * @param rem_cand_cnt Number of remote candidates. - * @param rem_cand Remote candidate array. Remote candidates are - * gathered from the SDP received from the remote - * agent. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) -pj_ice_sess_create_check_list(pj_ice_sess *ice, - const pj_str_t *rem_ufrag, - const pj_str_t *rem_passwd, - unsigned rem_cand_cnt, - const pj_ice_sess_cand rem_cand[]); - -/** - * Start ICE periodic check. This function will return immediately, and - * application will be notified about the connectivity check status in - * #pj_ice_sess_cb callback. - * - * @param ice The ICE session instance. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_ice_sess_start_check(pj_ice_sess *ice); - - -/** - * Send data using this ICE session. If ICE checks have not produced a - * valid check for the specified component ID, this function will return - * with failure. Otherwise ICE session will send the packet to remote - * destination using the nominated local candidate for the specified - * component. - * - * This function will in turn call \a on_tx_pkt function in - * #pj_ice_sess_cb callback to actually send the packet to the wire. - * - * @param ice The ICE session. - * @param comp_id Component ID. - * @param data The data or packet to be sent. - * @param data_len Size of data or packet, in bytes. - * - * @return PJ_SUCCESS if data is sent successfully. - */ -PJ_DECL(pj_status_t) pj_ice_sess_send_data(pj_ice_sess *ice, - unsigned comp_id, - const void *data, - pj_size_t data_len); - -/** - * Report the arrival of packet to the ICE session. Since ICE session - * itself doesn't have any transports, it relies on application or - * higher layer component to give incoming packets to the ICE session. - * If the packet is not a STUN packet, this packet will be given back - * to application via \a on_rx_data() callback in #pj_ice_sess_cb. - * - * @param ice The ICE session. - * @param comp_id Component ID. - * @param transport_id Number to identify where this packet was received - * from. This parameter will be returned back to - * application in \a on_tx_pkt() callback. - * @param pkt Incoming packet. - * @param pkt_size Size of incoming packet. - * @param src_addr Source address of the packet. - * @param src_addr_len Length of the address. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_ice_sess_on_rx_pkt(pj_ice_sess *ice, - unsigned comp_id, - unsigned transport_id, - void *pkt, - pj_size_t pkt_size, - const pj_sockaddr_t *src_addr, - int src_addr_len); - - - -/** - * @} - */ - - -PJ_END_DECL - - -#endif /* __PJNATH_ICE_SESSION_H__ */ - diff --git a/res/pjproject/pjnath/include/pjnath/ice_strans.h b/res/pjproject/pjnath/include/pjnath/ice_strans.h deleted file mode 100644 index 11cfc5db6d..0000000000 --- a/res/pjproject/pjnath/include/pjnath/ice_strans.h +++ /dev/null @@ -1,816 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJNATH_ICE_STRANS_H__ -#define __PJNATH_ICE_STRANS_H__ - - -/** - * @file ice_strans.h - * @brief ICE Stream Transport - */ -#include -#include -#include -#include -#include -#include - - -PJ_BEGIN_DECL - - -/** - * @addtogroup PJNATH_ICE_STREAM_TRANSPORT - * @{ - * - * This module describes ICE stream transport, as represented by #pj_ice_strans - * structure, and is part of PJNATH - the Open Source NAT traversal helper - * library. - * - * ICE stream transport, as represented by #pj_ice_strans structure, is an ICE - * capable class for transporting media streams within a media session. - * It consists of one or more transport sockets (typically two for RTP - * based communication - one for RTP and one for RTCP), and an - * \ref PJNATH_ICE_SESSION for performing connectivity checks among the. - * various candidates of the transport addresses. - * - * - * \section ice_strans_using_sec Using the ICE stream transport - * - * The steps below describe how to use ICE session: - * - * - initialize a #pj_ice_strans_cfg structure. This contains various - * settings for the ICE stream transport, and among other things contains - * the STUN and TURN settings.\n\n - * - create the instance with #pj_ice_strans_create(). Among other things, - * the function needs the following arguments: - * - the #pj_ice_strans_cfg structure for the main configurations - * - number of components to be supported - * - instance of #pj_ice_strans_cb structure to report callbacks to - * application.\n\n - * - while the #pj_ice_strans_create() call completes immediately, the - * initialization will be running in the background to gather the - * candidates (for example STUN and TURN candidates, if they are enabled - * in the #pj_ice_strans_cfg setting). Application will be notified when - * the initialization completes in the \a on_ice_complete callback of - * the #pj_ice_strans_cb structure (the \a op argument of this callback - * will be PJ_ICE_STRANS_OP_INIT).\n\n - * - when media stream is to be started (for example, a call is to be - * started), create an ICE session by calling #pj_ice_strans_init_ice().\n\n - * - the application now typically will need to communicate local ICE - * information to remote host. It can achieve this by using the following - * functions to query local ICE information: - * - #pj_ice_strans_get_ufrag_pwd() - * - #pj_ice_strans_enum_cands() - * - #pj_ice_strans_get_def_cand()\n - * The application may need to encode the above information as SDP.\n\n - * - when the application receives remote ICE information (for example, from - * the SDP received from remote), it can now start ICE negotiation, by - * calling #pj_ice_strans_start_ice(). This function requires some - * information about remote ICE agent such as remote ICE username fragment - * and password as well as array of remote candidates.\n\n - * - note that the PJNATH library does not work with SDP; application would - * need to encode and parse the SDP itself.\n\n - * - once ICE negotiation has been started, application will be notified - * about the completion in the \a on_ice_complete() callback of the - * #pj_ice_strans_cb.\n\n - * - at any time, application may send or receive data. However the ICE - * stream transport may not be able to send it depending on its current - * state. Before ICE negotiation is started, the data will be sent using - * default candidate of the component. After negotiation is completed, - * data will be sent using the candidate from the successful/nominated - * pair. The ICE stream transport may not be able to send data while - * negotiation is in progress.\n\n - * - application sends data by using #pj_ice_strans_sendto(). Incoming - * data will be reported in \a on_rx_data() callback of the - * #pj_ice_strans_cb.\n\n - * - once the media session has finished (e.g. user hangs up the call), - * destroy the ICE session with #pj_ice_strans_stop_ice().\n\n - * - at this point, application may destroy the ICE stream transport itself, - * or let it run so that it can be reused to create other ICE session. - * The benefit of letting the ICE stream transport alive (without any - * session active) is to avoid delay with the initialization, howerver - * keeping the transport alive means the transport needs to keep the - * STUN binding open by using keep-alive and also TURN allocation alive, - * and this will consume power which is an important issue for mobile - * applications.\n\n - */ - -/** Forward declaration for ICE stream transport. */ -typedef struct pj_ice_strans pj_ice_strans; - -/** Transport operation types to be reported on \a on_status() callback */ -typedef enum pj_ice_strans_op -{ - /** Initialization (candidate gathering) */ - PJ_ICE_STRANS_OP_INIT, - - /** Negotiation */ - PJ_ICE_STRANS_OP_NEGOTIATION, - - /** This operatino is used to report failure in keep-alive operation. - * Currently it is only used to report TURN Refresh failure. - */ - PJ_ICE_STRANS_OP_KEEP_ALIVE - -} pj_ice_strans_op; - -/** - * This structure contains callbacks that will be called by the - * ICE stream transport. - */ -typedef struct pj_ice_strans_cb -{ - /** - * This callback will be called when the ICE transport receives - * incoming packet from the sockets which is not related to ICE - * (for example, normal RTP/RTCP packet destined for application). - * - * @param ice_st The ICE stream transport. - * @param comp_id The component ID. - * @param pkt The packet. - * @param size Size of the packet. - * @param src_addr Source address of the packet. - * @param src_addr_len Length of the source address. - */ - void (*on_rx_data)(pj_ice_strans *ice_st, - unsigned comp_id, - void *pkt, pj_size_t size, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); - - /** - * Callback to report status of various ICE operations. - * - * @param ice_st The ICE stream transport. - * @param op The operation which status is being reported. - * @param status Operation status. - */ - void (*on_ice_complete)(pj_ice_strans *ice_st, - pj_ice_strans_op op, - pj_status_t status); - -} pj_ice_strans_cb; - - -/** - * This structure describes ICE stream transport configuration. Application - * should initialize the structure by calling #pj_ice_strans_cfg_default() - * before changing the settings. - */ -typedef struct pj_ice_strans_cfg -{ - /** - * Address family, IPv4 or IPv6. Currently only pj_AF_INET() (IPv4) - * is supported, and this is the default value. - */ - int af; - - /** - * STUN configuration which contains the timer heap and - * ioqueue instance to be used, and STUN retransmission - * settings. This setting is mandatory. - * - * The default value is all zero. Application must initialize - * this setting with #pj_stun_config_init(). - */ - pj_stun_config stun_cfg; - - /** - * DNS resolver to be used to resolve servers. If DNS SRV - * resolution is required, the resolver must be set. - * - * The default value is NULL. - */ - pj_dns_resolver *resolver; - - /** - * This contains various STUN session options. Once the ICE stream - * transport is created, application may also change the options - * with #pj_ice_strans_set_options(). - */ - pj_ice_sess_options opt; - - /** - * STUN and local transport settings. This specifies the - * settings for local UDP socket, which will be resolved - * to get the STUN mapped address. - */ - struct { - /** - * Optional configuration for STUN transport. The default - * value will be initialized with #pj_stun_sock_cfg_default(). - */ - pj_stun_sock_cfg cfg; - - /** - * Maximum number of host candidates to be added. If the - * value is zero, no host candidates will be added. - * - * Default: 64 - */ - unsigned max_host_cands; - - /** - * Include loopback addresses in the host candidates. - * - * Default: PJ_FALSE - */ - pj_bool_t loop_addr; - - /** - * Specify the STUN server domain or hostname or IP address. - * If DNS SRV resolution is required, application must fill - * in this setting with the domain name of the STUN server - * and set the resolver instance in the \a resolver field. - * Otherwise if the \a resolver setting is not set, this - * field will be resolved with hostname resolution and in - * this case the \a port field must be set. - * - * The \a port field should also be set even when DNS SRV - * resolution is used, in case the DNS SRV resolution fails. - * - * When this field is empty, STUN mapped address resolution - * will not be performed. In this case only ICE host candidates - * will be added to the ICE transport, unless if \a no_host_cands - * field is set. In this case, both host and srflx candidates - * are disabled. - * - * The default value is empty. - */ - pj_str_t server; - - /** - * The port number of the STUN server, when \a server - * field specifies a hostname rather than domain name. This - * field should also be set even when the \a server - * specifies a domain name, to allow DNS SRV resolution - * to fallback to DNS A/AAAA resolution when the DNS SRV - * resolution fails. - * - * The default value is PJ_STUN_PORT. - */ - pj_uint16_t port; - - /** - * Ignore STUN resolution error and proceed with just local - * addresses. - * - * The default is PJ_FALSE - */ - pj_bool_t ignore_stun_error; - - } stun; - - /** - * TURN specific settings. - */ - struct { - /** - * Optional TURN socket settings. The default values will be - * initialized by #pj_turn_sock_cfg_default(). This contains - * settings such as QoS. - */ - pj_turn_sock_cfg cfg; - - /** - * Specify the TURN server domain or hostname or IP address. - * If DNS SRV resolution is required, application must fill - * in this setting with the domain name of the TURN server - * and set the resolver instance in the \a resolver field. - * Otherwise if the \a resolver setting is not set, this - * field will be resolved with hostname resolution and in - * this case the \a port field must be set. - * - * The \a port field should also be set even when DNS SRV - * resolution is used, in case the DNS SRV resolution fails. - * - * When this field is empty, relay candidate will not be - * created. - * - * The default value is empty. - */ - pj_str_t server; - - /** - * The port number of the TURN server, when \a server - * field specifies a hostname rather than domain name. This - * field should also be set even when the \a server - * specifies a domain name, to allow DNS SRV resolution - * to fallback to DNS A/AAAA resolution when the DNS SRV - * resolution fails. - * - * Default is zero. - */ - pj_uint16_t port; - - /** - * Type of connection to the TURN server. - * - * Default is PJ_TURN_TP_UDP. - */ - pj_turn_tp_type conn_type; - - /** - * Credential to be used for the TURN session. This setting - * is mandatory. - * - * Default is to have no credential. - */ - pj_stun_auth_cred auth_cred; - - /** - * Optional TURN Allocate parameter. The default value will be - * initialized by #pj_turn_alloc_param_default(). - */ - pj_turn_alloc_param alloc_param; - - } turn; - - /** - * Component specific settings, which will override the settings in - * the STUN and TURN settings above. For example, setting the QoS - * parameters here allows the application to have different QoS - * traffic type for RTP and RTCP component. - */ - struct { - /** - * QoS traffic type to be set on this transport. When application - * wants to apply QoS tagging to the transport, it's preferable to - * set this field rather than \a qos_param fields since this is - * more portable. - * - * Default value is PJ_QOS_TYPE_BEST_EFFORT. - */ - pj_qos_type qos_type; - - /** - * Set the low level QoS parameters to the transport. This is a - * lower level operation than setting the \a qos_type field and - * may not be supported on all platforms. - * - * By default all settings in this structure are disabled. - */ - pj_qos_params qos_params; - - } comp[PJ_ICE_MAX_COMP]; - -} pj_ice_strans_cfg; - - -/** - * ICE stream transport's state. - */ -typedef enum pj_ice_strans_state -{ - /** - * ICE stream transport is not created. - */ - PJ_ICE_STRANS_STATE_NULL, - - /** - * ICE candidate gathering process is in progress. - */ - PJ_ICE_STRANS_STATE_INIT, - - /** - * ICE stream transport initialization/candidate gathering process is - * complete, ICE session may be created on this stream transport. - */ - PJ_ICE_STRANS_STATE_READY, - - /** - * New session has been created and the session is ready. - */ - PJ_ICE_STRANS_STATE_SESS_READY, - - /** - * ICE negotiation is in progress. - */ - PJ_ICE_STRANS_STATE_NEGO, - - /** - * ICE negotiation has completed successfully and media is ready - * to be used. - */ - PJ_ICE_STRANS_STATE_RUNNING, - - /** - * ICE negotiation has completed with failure. - */ - PJ_ICE_STRANS_STATE_FAILED - -} pj_ice_strans_state; - - -/** - * Initialize ICE transport configuration with default values. - * - * @param cfg The configuration to be initialized. - */ -PJ_DECL(void) pj_ice_strans_cfg_default(pj_ice_strans_cfg *cfg); - - -/** - * Copy configuration. - * - * @param pool Pool. - * @param dst Destination. - * @param src Source. - */ -PJ_DECL(void) pj_ice_strans_cfg_copy(pj_pool_t *pool, - pj_ice_strans_cfg *dst, - const pj_ice_strans_cfg *src); - - -/** - * Create and initialize the ICE stream transport with the specified - * parameters. - * - * @param name Optional name for logging identification. - * @param cfg Configuration. - * @param comp_cnt Number of components. - * @param user_data Arbitrary user data to be associated with this - * ICE stream transport. - * @param cb Callback. - * @param p_ice_st Pointer to receive the ICE stream transport - * instance. - * - * @return PJ_SUCCESS if ICE stream transport is created - * successfully. - */ -PJ_DECL(pj_status_t) pj_ice_strans_create(const char *name, - const pj_ice_strans_cfg *cfg, - unsigned comp_cnt, - void *user_data, - const pj_ice_strans_cb *cb, - pj_ice_strans **p_ice_st); - -/** - * Get ICE session state. - * - * @param ice_st The ICE stream transport. - * - * @return ICE session state. - */ -PJ_DECL(pj_ice_strans_state) pj_ice_strans_get_state(pj_ice_strans *ice_st); - - -/** - * Get string representation of ICE state. - * - * @param state ICE stream transport state. - * - * @return String. - */ -PJ_DECL(const char*) pj_ice_strans_state_name(pj_ice_strans_state state); - - -/** - * Destroy the ICE stream transport. This will destroy the ICE session - * inside the ICE stream transport, close all sockets and release all - * other resources. - * - * @param ice_st The ICE stream transport. - * - * @return PJ_SUCCESS, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_ice_strans_destroy(pj_ice_strans *ice_st); - - -/** - * Get the user data associated with the ICE stream transport. - * - * @param ice_st The ICE stream transport. - * - * @return The user data. - */ -PJ_DECL(void*) pj_ice_strans_get_user_data(pj_ice_strans *ice_st); - - -/** - * Get the value of various options of the ICE stream transport. - * - * @param ice_st The ICE stream transport. - * @param opt The options to be initialized with the values - * from the ICE stream transport. - * - * @return PJ_SUCCESS on success, or the appropriate error. - */ -PJ_DECL(pj_status_t) pj_ice_strans_get_options(pj_ice_strans *ice_st, - pj_ice_sess_options *opt); - -/** - * Specify various options for this ICE stream transport. Application - * should call #pj_ice_strans_get_options() to initialize the options - * with their default values. - * - * @param ice_st The ICE stream transport. - * @param opt Options to be applied to this ICE stream transport. - * - * @return PJ_SUCCESS on success, or the appropriate error. - */ -PJ_DECL(pj_status_t) pj_ice_strans_set_options(pj_ice_strans *ice_st, - const pj_ice_sess_options *opt); - - -/** - * Initialize the ICE session in the ICE stream transport. - * When application is about to send an offer containing ICE capability, - * or when it receives an offer containing ICE capability, it must - * call this function to initialize the internal ICE session. This would - * register all transport address aliases for each component to the ICE - * session as candidates. Then application can enumerate all local - * candidates by calling #pj_ice_strans_enum_cands(), and encode these - * candidates in the SDP to be sent to remote agent. - * - * @param ice_st The ICE stream transport. - * @param role ICE role. - * @param local_ufrag Optional local username fragment. - * @param local_passwd Optional local password. - * - * @return PJ_SUCCESS, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_ice_strans_init_ice(pj_ice_strans *ice_st, - pj_ice_sess_role role, - const pj_str_t *local_ufrag, - const pj_str_t *local_passwd); - -/** - * Check if the ICE stream transport has the ICE session created. The - * ICE session is created with #pj_ice_strans_init_ice(). - * - * @param ice_st The ICE stream transport. - * - * @return PJ_TRUE if #pj_ice_strans_init_ice() has been - * called. - */ -PJ_DECL(pj_bool_t) pj_ice_strans_has_sess(pj_ice_strans *ice_st); - - -/** - * Check if ICE negotiation is still running. - * - * @param ice_st The ICE stream transport. - * - * @return PJ_TRUE if ICE session has been created and ICE - * negotiation negotiation is in progress. - */ -PJ_DECL(pj_bool_t) pj_ice_strans_sess_is_running(pj_ice_strans *ice_st); - - -/** - * Check if ICE negotiation has completed. - * - * @param ice_st The ICE stream transport. - * - * @return PJ_TRUE if ICE session has been created and the - * negotiation is complete. - */ -PJ_DECL(pj_bool_t) pj_ice_strans_sess_is_complete(pj_ice_strans *ice_st); - - -/** - * Get the current/running component count. If ICE negotiation has not - * been started, the number of components will be equal to the number - * when the ICE stream transport was created. Once negotiation been - * started, the number of components will be the lowest number of - * component between local and remote agents. - * - * @param ice_st The ICE stream transport. - * - * @return The running number of components. - */ -PJ_DECL(unsigned) pj_ice_strans_get_running_comp_cnt(pj_ice_strans *ice_st); - - -/** - * Get the ICE username fragment and password of the ICE session. The - * local username fragment and password can only be retrieved once ICE - * session has been created with #pj_ice_strans_init_ice(). The remote - * username fragment and password can only be retrieved once ICE session - * has been started with #pj_ice_strans_start_ice(). - * - * Note that the string returned by this function is only valid throughout - * the duration of the ICE session, and the application must not modify - * these strings. Once the ICE session has been stopped with - * #pj_ice_strans_stop_ice(), the pointer in the string will no longer be - * valid. - * - * @param ice_st The ICE stream transport. - * @param loc_ufrag Optional pointer to receive ICE username fragment - * of local endpoint from the ICE session. - * @param loc_pwd Optional pointer to receive ICE password of local - * endpoint from the ICE session. - * @param rem_ufrag Optional pointer to receive ICE username fragment - * of remote endpoint from the ICE session. - * @param rem_pwd Optional pointer to receive ICE password of remote - * endpoint from the ICE session. - * - * @return PJ_SUCCESS if the strings have been retrieved - * successfully. - */ -PJ_DECL(pj_status_t) pj_ice_strans_get_ufrag_pwd(pj_ice_strans *ice_st, - pj_str_t *loc_ufrag, - pj_str_t *loc_pwd, - pj_str_t *rem_ufrag, - pj_str_t *rem_pwd); - - -/** - * Get the number of local candidates for the specified component ID. - * - * @param ice_st The ICE stream transport. - * @param comp_id Component ID. - * - * @return The number of candidates. - */ -PJ_DECL(unsigned) pj_ice_strans_get_cands_count(pj_ice_strans *ice_st, - unsigned comp_id); - -/** - * Enumerate the local candidates for the specified component. - * - * @param ice_st The ICE stream transport. - * @param comp_id Component ID. - * @param count On input, it specifies the maximum number of - * elements. On output, it will be filled with - * the number of candidates copied to the - * array. - * @param cand Array of candidates. - * - * @return PJ_SUCCESS, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_ice_strans_enum_cands(pj_ice_strans *ice_st, - unsigned comp_id, - unsigned *count, - pj_ice_sess_cand cand[]); - -/** - * Get the default candidate for the specified component. When this - * function is called before ICE negotiation completes, the default - * candidate is selected according to local preference criteria. When - * this function is called after ICE negotiation completes, the - * default candidate is the candidate that forms the valid pair. - * - * @param ice_st The ICE stream transport. - * @param comp_id Component ID. - * @param cand Pointer to receive the default candidate - * information. - */ -PJ_DECL(pj_status_t) pj_ice_strans_get_def_cand(pj_ice_strans *ice_st, - unsigned comp_id, - pj_ice_sess_cand *cand); - -/** - * Get the current ICE role. ICE session must have been initialized - * before this function can be called. - * - * @param ice_st The ICE stream transport. - * - * @return Current ICE role. - */ -PJ_DECL(pj_ice_sess_role) pj_ice_strans_get_role(pj_ice_strans *ice_st); - - -/** - * Change session role. This happens for example when ICE session was - * created with controlled role when receiving an offer, but it turns out - * that the offer contains "a=ice-lite" attribute when the SDP gets - * inspected. ICE session must have been initialized before this function - * can be called. - * - * @param ice_st The ICE stream transport. - * @param new_role The new role to be set. - * - * @return PJ_SUCCESS on success, or the appropriate error. - */ -PJ_DECL(pj_status_t) pj_ice_strans_change_role(pj_ice_strans *ice_st, - pj_ice_sess_role new_role); - - -/** - * Start ICE connectivity checks. This function can only be called - * after the ICE session has been created in the ICE stream transport - * with #pj_ice_strans_init_ice(). - * - * This function must be called once application has received remote - * candidate list (typically from the remote SDP). This function pairs - * local candidates with remote candidates, and starts ICE connectivity - * checks. The ICE session/transport will then notify the application - * via the callback when ICE connectivity checks completes, either - * successfully or with failure. - * - * @param ice_st The ICE stream transport. - * @param rem_ufrag Remote ufrag, as seen in the SDP received from - * the remote agent. - * @param rem_passwd Remote password, as seen in the SDP received from - * the remote agent. - * @param rcand_cnt Number of remote candidates in the array. - * @param rcand Remote candidates array. - * - * @return PJ_SUCCESS, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_ice_strans_start_ice(pj_ice_strans *ice_st, - const pj_str_t *rem_ufrag, - const pj_str_t *rem_passwd, - unsigned rcand_cnt, - const pj_ice_sess_cand rcand[]); - -/** - * Retrieve the candidate pair that has been nominated and successfully - * checked for the specified component. If ICE negotiation is still in - * progress or it has failed, this function will return NULL. - * - * @param ice_st The ICE stream transport. - * @param comp_id Component ID. - * - * @return The valid pair as ICE checklist structure if the - * pair exist. - */ -PJ_DECL(const pj_ice_sess_check*) -pj_ice_strans_get_valid_pair(const pj_ice_strans *ice_st, - unsigned comp_id); - -/** - * Stop and destroy the ICE session inside this media transport. Application - * needs to call this function once the media session is over (the call has - * been disconnected). - * - * Application MAY reuse this ICE stream transport for subsequent calls. - * In this case, it must call #pj_ice_strans_stop_ice() when the call is - * disconnected, and reinitialize the ICE stream transport for subsequent - * call with #pj_ice_strans_init_ice()/#pj_ice_strans_start_ice(). In this - * case, the ICE stream transport will maintain the internal sockets and - * continue to send STUN keep-alive packets and TURN Refresh request to - * keep the NAT binding/TURN allocation open and to detect change in STUN - * mapped address. - * - * If application does not want to reuse the ICE stream transport for - * subsequent calls, it must call #pj_ice_strans_destroy() to destroy the - * ICE stream transport altogether. - * - * @param ice_st The ICE stream transport. - * - * @return PJ_SUCCESS, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_ice_strans_stop_ice(pj_ice_strans *ice_st); - - -/** - * Send outgoing packet using this transport. - * Application can send data (normally RTP or RTCP packets) at any time - * by calling this function. This function takes a destination - * address as one of the arguments, and this destination address should - * be taken from the default transport address of the component (that is - * the address in SDP c= and m= lines, or in a=rtcp attribute). - * If ICE negotiation is in progress, this function will send the data - * to the destination address. Otherwise if ICE negotiation has completed - * successfully, this function will send the data to the nominated remote - * address, as negotiated by ICE. - * - * @param ice_st The ICE stream transport. - * @param comp_id Component ID. - * @param data The data or packet to be sent. - * @param data_len Size of data or packet, in bytes. - * @param dst_addr The destination address. - * @param dst_addr_len Length of destination address. - * - * @return PJ_SUCCESS if data is sent successfully. - */ -PJ_DECL(pj_status_t) pj_ice_strans_sendto(pj_ice_strans *ice_st, - unsigned comp_id, - const void *data, - pj_size_t data_len, - const pj_sockaddr_t *dst_addr, - int dst_addr_len); - - -/** - * @} - */ - - -PJ_END_DECL - - - -#endif /* __PJNATH_ICE_STRANS_H__ */ - diff --git a/res/pjproject/pjnath/include/pjnath/nat_detect.h b/res/pjproject/pjnath/include/pjnath/nat_detect.h deleted file mode 100644 index b8820dec17..0000000000 --- a/res/pjproject/pjnath/include/pjnath/nat_detect.h +++ /dev/null @@ -1,208 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJNATH_NAT_DETECT_H__ -#define __PJNATH_NAT_DETECT_H__ - -/** - * @file ice_session.h - * @brief ICE session management - */ -#include - - -PJ_BEGIN_DECL - - -/** - * @defgroup PJNATH_NAT_DETECT NAT Classification/Detection Tool - * @brief NAT Classification/Detection Tool - * @ingroup PJNATH - * @{ - * - * This module provides one function to perform NAT classification and - * detection. NAT type detection is performed by calling - * #pj_stun_detect_nat_type() function. - */ - - -/** - * This enumeration describes the NAT types, as specified by RFC 3489 - * Section 5, NAT Variations. - */ -typedef enum pj_stun_nat_type -{ - /** - * NAT type is unknown because the detection has not been performed. - */ - PJ_STUN_NAT_TYPE_UNKNOWN, - - /** - * NAT type is unknown because there is failure in the detection - * process, possibly because server does not support RFC 3489. - */ - PJ_STUN_NAT_TYPE_ERR_UNKNOWN, - - /** - * This specifies that the client has open access to Internet (or - * at least, its behind a firewall that behaves like a full-cone NAT, - * but without the translation) - */ - PJ_STUN_NAT_TYPE_OPEN, - - /** - * This specifies that communication with server has failed, probably - * because UDP packets are blocked. - */ - PJ_STUN_NAT_TYPE_BLOCKED, - - /** - * Firewall that allows UDP out, and responses have to come back to - * the source of the request (like a symmetric NAT, but no - * translation. - */ - PJ_STUN_NAT_TYPE_SYMMETRIC_UDP, - - /** - * A full cone NAT is one where all requests from the same internal - * IP address and port are mapped to the same external IP address and - * port. Furthermore, any external host can send a packet to the - * internal host, by sending a packet to the mapped external address. - */ - PJ_STUN_NAT_TYPE_FULL_CONE, - - /** - * A symmetric NAT is one where all requests from the same internal - * IP address and port, to a specific destination IP address and port, - * are mapped to the same external IP address and port. If the same - * host sends a packet with the same source address and port, but to - * a different destination, a different mapping is used. Furthermore, - * only the external host that receives a packet can send a UDP packet - * back to the internal host. - */ - PJ_STUN_NAT_TYPE_SYMMETRIC, - - /** - * A restricted cone NAT is one where all requests from the same - * internal IP address and port are mapped to the same external IP - * address and port. Unlike a full cone NAT, an external host (with - * IP address X) can send a packet to the internal host only if the - * internal host had previously sent a packet to IP address X. - */ - PJ_STUN_NAT_TYPE_RESTRICTED, - - /** - * A port restricted cone NAT is like a restricted cone NAT, but the - * restriction includes port numbers. Specifically, an external host - * can send a packet, with source IP address X and source port P, - * to the internal host only if the internal host had previously sent - * a packet to IP address X and port P. - */ - PJ_STUN_NAT_TYPE_PORT_RESTRICTED - -} pj_stun_nat_type; - - -/** - * This structure contains the result of NAT classification function. - */ -typedef struct pj_stun_nat_detect_result -{ - /** - * Status of the detection process. If this value is not PJ_SUCCESS, - * the detection has failed and \a nat_type field will contain - * PJ_STUN_NAT_TYPE_UNKNOWN. - */ - pj_status_t status; - - /** - * The text describing the status, if the status is not PJ_SUCCESS. - */ - const char *status_text; - - /** - * This contains the NAT type as detected by the detection procedure. - * This value is only valid when the \a status is PJ_SUCCESS. - */ - pj_stun_nat_type nat_type; - - /** - * Text describing that NAT type. - */ - const char *nat_type_name; - -} pj_stun_nat_detect_result; - - -/** - * Type of callback to be called when the NAT detection function has - * completed. - */ -typedef void pj_stun_nat_detect_cb(void *user_data, - const pj_stun_nat_detect_result *res); - - -/** - * Get the NAT name from the specified NAT type. - * - * @param type NAT type. - * - * @return NAT name. - */ -PJ_DECL(const char*) pj_stun_get_nat_name(pj_stun_nat_type type); - - -/** - * Perform NAT classification function according to the procedures - * specified in RFC 3489. Once this function returns successfully, - * the procedure will run in the "background" and will complete - * asynchronously. Application can register a callback to be notified - * when such detection has completed. - * - * @param server STUN server address. - * @param stun_cfg A structure containing various STUN configurations, - * such as the ioqueue and timer heap instance used - * to receive network I/O and timer events. - * @param user_data Application data, which will be returned back - * in the callback. - * @param cb Callback to be registered to receive notification - * about detection result. - * - * @return If this function returns PJ_SUCCESS, the procedure - * will complete asynchronously and callback will be - * called when it completes. For other return - * values, it means that an error has occured and - * the procedure did not start. - */ -PJ_DECL(pj_status_t) pj_stun_detect_nat_type(const pj_sockaddr_in *server, - pj_stun_config *stun_cfg, - void *user_data, - pj_stun_nat_detect_cb *cb); - - -/** - * @} - */ - - -PJ_END_DECL - - -#endif /* __PJNATH_NAT_DETECT_H__ */ - diff --git a/res/pjproject/pjnath/include/pjnath/stun_auth.h b/res/pjproject/pjnath/include/pjnath/stun_auth.h deleted file mode 100644 index 97a8b3bacd..0000000000 --- a/res/pjproject/pjnath/include/pjnath/stun_auth.h +++ /dev/null @@ -1,457 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJNATH_STUN_AUTH_H__ -#define __PJNATH_STUN_AUTH_H__ - -/** - * @file stun_auth.h - * @brief STUN authentication. - */ - -#include - - -PJ_BEGIN_DECL - - -/* **************************************************************************/ -/** - * @defgroup PJNATH_STUN_AUTH STUN Authentication - * @brief STUN authentication helper - * @ingroup PJNATH_STUN_BASE - * @{ - */ - -/** - * Type of authentication. - */ -typedef enum pj_stun_auth_type -{ - /** - * No authentication. - */ - PJ_STUN_AUTH_NONE = 0, - - /** - * Authentication using short term credential. - */ - PJ_STUN_AUTH_SHORT_TERM = 1, - - /** - * Authentication using long term credential. - */ - PJ_STUN_AUTH_LONG_TERM = 2 - -} pj_stun_auth_type; - - -/** - * Type of authentication data in the credential. - */ -typedef enum pj_stun_auth_cred_type -{ - /** - * The credential data contains a static credential to be matched - * against the credential in the message. A static credential can be - * used as both client side or server side authentication. - */ - PJ_STUN_AUTH_CRED_STATIC, - - /** - * The credential data contains callbacks to be called to verify the - * credential in the message. A dynamic credential is suitable when - * performing server side authentication where server does not know - * in advance the identity of the user requesting authentication. - */ - PJ_STUN_AUTH_CRED_DYNAMIC - -} pj_stun_auth_cred_type; - - -/** - * Type of encoding applied to the password stored in the credential. - */ -typedef enum pj_stun_passwd_type -{ - /** - * Plain text password. - */ - PJ_STUN_PASSWD_PLAIN = 0, - - /** - * Hashed password, valid for long term credential only. The hash value - * of the password is calculated as MD5(USERNAME ":" REALM ":" PASSWD) - * with all quotes removed from the username and realm values. - */ - PJ_STUN_PASSWD_HASHED = 1 - -} pj_stun_passwd_type; - - -/** - * This structure contains the descriptions needed to perform server side - * authentication. Depending on the \a type set in the structure, application - * may specify a static username/password combination, or to have callbacks - * called by the function to authenticate the credential dynamically. - */ -typedef struct pj_stun_auth_cred -{ - /** - * The type of authentication information in this structure. - */ - pj_stun_auth_cred_type type; - - /** - * This union contains the authentication data. - */ - union - { - /** - * This structure contains static data for performing authentication. - * A non-empty realm indicates whether short term or long term - * credential is used. - */ - struct - { - /** - * If not-empty, it indicates that this is a long term credential. - */ - pj_str_t realm; - - /** - * The username of the credential. - */ - pj_str_t username; - - /** - * Data type to indicate the type of password in the \a data field. - */ - pj_stun_passwd_type data_type; - - /** - * The data, which depends depends on the value of \a data_type - * field. When \a data_type is zero, this field will contain the - * plaintext password. - */ - pj_str_t data; - - /** - * Optional NONCE. - */ - pj_str_t nonce; - - } static_cred; - - /** - * This structure contains callback to be called by the framework - * to authenticate the incoming message. - */ - struct - { - /** - * User data which will be passed back to callback functions. - */ - void *user_data; - - /** - * This callback is called by pj_stun_verify_credential() when - * server needs to challenge the request with 401 response. - * - * @param user_data The user data as specified in the credential. - * @param pool Pool to allocate memory. - * @param realm On return, the function should fill in with - * realm if application wants to use long term - * credential. Otherwise application should set - * empty string for the realm. - * @param nonce On return, if application wants to use long - * term credential, it MUST fill in the nonce - * with some value. Otherwise if short term - * credential is wanted, it MAY set this value. - * If short term credential is wanted and the - * application doesn't want to include NONCE, - * then it must set this to empty string. - * - * @return The callback should return PJ_SUCCESS, or - * otherwise response message will not be - * created. - */ - pj_status_t (*get_auth)(void *user_data, - pj_pool_t *pool, - pj_str_t *realm, - pj_str_t *nonce); - - /** - * Get the credential to be put in outgoing request. - * - * @param msg The outgoing message where the credential is - * to be applied. - * @param user_data The user data as specified in the credential. - * @param pool Pool where the callback can allocate memory - * to fill in the credential. - * @param realm On return, the callback may specify the realm - * if long term credential is desired, otherwise - * this string must be set to empty. - * @param username On return, the callback must fill in with the - * username. - * @param nonce On return, the callback may optionally fill in - * this argument with NONCE value if desired, - * otherwise this argument must be set to empty. - * @param data_type On return, the callback must set this argument - * with the type of password in the data argument. - * @param data On return, the callback must set this with - * the password, encoded according to data_type - * argument. - * - * @return The callback must return PJ_SUCCESS, otherwise - * the message transmission will be cancelled. - */ - pj_status_t (*get_cred)(const pj_stun_msg *msg, - void *user_data, - pj_pool_t *pool, - pj_str_t *realm, - pj_str_t *username, - pj_str_t *nonce, - pj_stun_passwd_type *data_type, - pj_str_t *data); - - /** - * Get the password for the specified username. This function - * is also used to check whether the username is valid. - * - * @param msg The STUN message where the password will be - * applied to. - * @param user_data The user data as specified in the credential. - * @param realm The realm as specified in the message. - * @param username The username as specified in the message. - * @param pool Pool to allocate memory when necessary. - * @param data_type On return, application should fill up this - * argument with the type of data (which should - * be zero if data is a plaintext password). - * @param data On return, application should fill up this - * argument with the password according to - * data_type. - * - * @return The callback should return PJ_SUCCESS if - * username has been successfully verified - * and password was obtained. If non-PJ_SUCCESS - * is returned, it is assumed that the - * username is not valid. - */ - pj_status_t (*get_password)(const pj_stun_msg *msg, - void *user_data, - const pj_str_t *realm, - const pj_str_t *username, - pj_pool_t *pool, - pj_stun_passwd_type *data_type, - pj_str_t *data); - - /** - * This callback will be called to verify that the NONCE given - * in the message can be accepted. If this callback returns - * PJ_FALSE, 438 (Stale Nonce) response will be created. - * - * This callback is optional. - * - * @param msg The STUN message where the nonce was received. - * @param user_data The user data as specified in the credential. - * @param realm The realm as specified in the message. - * @param username The username as specified in the message. - * @param nonce The nonce to be verified. - * - * @return The callback MUST return non-zero if the - * NONCE can be accepted. - */ - pj_bool_t (*verify_nonce)(const pj_stun_msg *msg, - void *user_data, - const pj_str_t *realm, - const pj_str_t *username, - const pj_str_t *nonce); - - } dyn_cred; - - } data; - -} pj_stun_auth_cred; - - -/** - * This structure contains the credential information that is found and - * used to authenticate incoming requests. Application may use this - * information when generating authentication for the outgoing response. - */ -typedef struct pj_stun_req_cred_info -{ - /** - * The REALM value found in the incoming request. If short term - * credential is used, the value will be empty. - */ - pj_str_t realm; - - /** - * The USERNAME value found in the incoming request. - */ - pj_str_t username; - - /** - * Optional NONCE. - */ - pj_str_t nonce; - - /** - * Authentication key that was used to authenticate the incoming - * request. This key is created with #pj_stun_create_key(), and - * it can be used to encode the credential of the outgoing - * response. - */ - pj_str_t auth_key; - -} pj_stun_req_cred_info; - - -/** - * Duplicate authentication credential. - * - * @param pool Pool to be used to allocate memory. - * @param dst Destination credential. - * @param src Source credential. - */ -PJ_DECL(void) pj_stun_auth_cred_dup(pj_pool_t *pool, - pj_stun_auth_cred *dst, - const pj_stun_auth_cred *src); - -/** - * Duplicate request credential. - * - * @param pool Pool to be used to allocate memory. - * @param dst Destination credential. - * @param src Source credential. - */ -PJ_DECL(void) pj_stun_req_cred_info_dup(pj_pool_t *pool, - pj_stun_req_cred_info *dst, - const pj_stun_req_cred_info *src); - - -/** - * Create authentication key to be used for encoding the message with - * MESSAGE-INTEGRITY. If short term credential is used (i.e. the realm - * argument is NULL or empty), the key will be copied from the password. - * If long term credential is used, the key will be calculated from the - * MD5 hash of the realm, username, and password. - * - * @param pool Pool to allocate memory for the key. - * @param key String to receive the key. - * @param realm The realm of the credential, if long term credential - * is to be used. If short term credential is wanted, - * application can put NULL or empty string here. - * @param username The username. - * @param data_type Password encoding. - * @param data The password. - */ -PJ_DECL(void) pj_stun_create_key(pj_pool_t *pool, - pj_str_t *key, - const pj_str_t *realm, - const pj_str_t *username, - pj_stun_passwd_type data_type, - const pj_str_t *data); - -/** - * Verify credential in the STUN request. Note that before calling this - * function, application must have checked that the message contains - * PJ_STUN_ATTR_MESSAGE_INTEGRITY attribute by calling pj_stun_msg_find_attr() - * function, because this function will reject the message with 401 error - * if it doesn't contain PJ_STUN_ATTR_MESSAGE_INTEGRITY attribute. - * - * @param pkt The original packet which has been parsed into - * the message. This packet MUST NOT have been modified - * after the parsing. - * @param pkt_len The length of the packet. - * @param msg The parsed message to be verified. - * @param cred Pointer to credential to be used to authenticate - * the message. - * @param pool If response is to be created, then memory will - * be allocated from this pool. - * @param info Optional pointer to receive authentication information - * found in the request and the credential that is used - * to authenticate the request. - * @param p_response Optional pointer to receive the response message - * then the credential in the request fails to - * authenticate. - * - * @return PJ_SUCCESS if credential is verified successfully. - * If the verification fails and \a p_response is not - * NULL, an appropriate response will be returned in - * \a p_response. - */ -PJ_DECL(pj_status_t) pj_stun_authenticate_request(const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_stun_msg *msg, - pj_stun_auth_cred *cred, - pj_pool_t *pool, - pj_stun_req_cred_info *info, - pj_stun_msg **p_response); - - -/** - * Determine if STUN message can be authenticated. Some STUN error - * responses cannot be authenticated since they cannot contain STUN - * MESSAGE-INTEGRITY attribute. STUN Indication messages also cannot - * be authenticated. - * - * @param msg The STUN message. - * - * @return Non-zero if the STUN message can be authenticated. - */ -PJ_DECL(pj_bool_t) pj_stun_auth_valid_for_msg(const pj_stun_msg *msg); - - -/** - * Verify credential in the STUN response. Note that before calling this - * function, application must have checked that the message contains - * PJ_STUN_ATTR_MESSAGE_INTEGRITY attribute by calling pj_stun_msg_find_attr() - * function, because otherwise this function will report authentication - * failure. - * - * @param pkt The original packet which has been parsed into - * the message. This packet MUST NOT have been modified - * after the parsing. - * @param pkt_len The length of the packet. - * @param msg The parsed message to be verified. - * @param key Authentication key to calculate MESSAGE-INTEGRITY - * value. Application can create this key by using - * #pj_stun_create_key() function. - * - * @return PJ_SUCCESS if credential is verified successfully. - */ -PJ_DECL(pj_status_t) pj_stun_authenticate_response(const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_stun_msg *msg, - const pj_str_t *key); - - -/** - * @} - */ - - -PJ_END_DECL - - -#endif /* __PJNATH_STUN_AUTH_H__ */ - diff --git a/res/pjproject/pjnath/include/pjnath/stun_config.h b/res/pjproject/pjnath/include/pjnath/stun_config.h deleted file mode 100644 index 4d625e1044..0000000000 --- a/res/pjproject/pjnath/include/pjnath/stun_config.h +++ /dev/null @@ -1,128 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJNATH_STUN_CONFIG_H__ -#define __PJNATH_STUN_CONFIG_H__ - -/** - * @file stun_config.h - * @brief STUN endpoint. - */ - -#include -#include -#include -#include - - -PJ_BEGIN_DECL - - -/* **************************************************************************/ -/** - * @defgroup PJNATH_STUN_CONFIG STUN Config - * @brief STUN config - * @ingroup PJNATH_STUN_BASE - * @{ - */ - -/** - * STUN configuration. - */ -typedef struct pj_stun_config -{ - /** - * Pool factory to be used. - */ - pj_pool_factory *pf; - - /** - * Ioqueue. - */ - pj_ioqueue_t *ioqueue; - - /** - * Timer heap instance. - */ - pj_timer_heap_t *timer_heap; - - /** - * Options. - */ - unsigned options; - - /** - * The default initial STUN round-trip time estimation in msecs. - * The value normally is PJ_STUN_RTO_VALUE. - */ - unsigned rto_msec; - - /** - * The interval to cache outgoing STUN response in the STUN session, - * in miliseconds. - * - * Default 10000 (10 seconds). - */ - unsigned res_cache_msec; - -} pj_stun_config; - - - -/** - * Initialize STUN config. - */ -PJ_INLINE(void) pj_stun_config_init(pj_stun_config *cfg, - pj_pool_factory *factory, - unsigned options, - pj_ioqueue_t *ioqueue, - pj_timer_heap_t *timer_heap) -{ - pj_bzero(cfg, sizeof(*cfg)); - - cfg->pf = factory; - cfg->options = options; - cfg->ioqueue = ioqueue; - cfg->timer_heap = timer_heap; - cfg->rto_msec = PJ_STUN_RTO_VALUE; - cfg->res_cache_msec = PJ_STUN_RES_CACHE_DURATION; -} - - -/** - * Check that STUN config is valid. - */ -PJ_INLINE(pj_status_t) pj_stun_config_check_valid(const pj_stun_config *cfg) -{ - PJ_ASSERT_RETURN(cfg->ioqueue && cfg->pf && cfg->timer_heap && - cfg->rto_msec && cfg->res_cache_msec, PJ_EINVAL); - return PJ_SUCCESS; -} - - -/** - * @} - */ - - -PJ_END_DECL - - -#endif /* __PJNATH_STUN_CONFIG_H__ */ - diff --git a/res/pjproject/pjnath/include/pjnath/stun_msg.h b/res/pjproject/pjnath/include/pjnath/stun_msg.h deleted file mode 100644 index 68872837ef..0000000000 --- a/res/pjproject/pjnath/include/pjnath/stun_msg.h +++ /dev/null @@ -1,1820 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJNATH_STUN_MSG_H__ -#define __PJNATH_STUN_MSG_H__ - -/** - * @file stun_msg.h - * @brief STUN message components. - */ - -#include -#include - - -PJ_BEGIN_DECL - - -/* **************************************************************************/ -/** - * @defgroup PJNATH_STUN_MSG STUN Message Representation and Parsing - * @ingroup PJNATH_STUN_BASE - * @brief Low-level representation and parsing of STUN messages. - * @{ - */ - - -/** - * STUN magic cookie. - */ -#define PJ_STUN_MAGIC 0x2112A442 - - -/** - * STUN method constants. - */ -enum pj_stun_method_e -{ - /** - * STUN Binding method as defined by RFC 3489-bis. - */ - PJ_STUN_BINDING_METHOD = 1, - - /** - * STUN Shared Secret method as defined by RFC 3489-bis. - */ - PJ_STUN_SHARED_SECRET_METHOD = 2, - - /** - * STUN/TURN Allocate method as defined by draft-ietf-behave-turn - */ - PJ_STUN_ALLOCATE_METHOD = 3, - - /** - * STUN/TURN Refresh method as defined by draft-ietf-behave-turn - */ - PJ_STUN_REFRESH_METHOD = 4, - - /** - * STUN/TURN Send indication as defined by draft-ietf-behave-turn - */ - PJ_STUN_SEND_METHOD = 6, - - /** - * STUN/TURN Data indication as defined by draft-ietf-behave-turn - */ - PJ_STUN_DATA_METHOD = 7, - - /** - * STUN/TURN CreatePermission method as defined by draft-ietf-behave-turn - */ - PJ_STUN_CREATE_PERM_METHOD = 8, - - /** - * STUN/TURN ChannelBind as defined by draft-ietf-behave-turn - */ - PJ_STUN_CHANNEL_BIND_METHOD = 9, - - /** - * All known methods. - */ - PJ_STUN_METHOD_MAX -}; - - -/** - * Retrieve the STUN method from the message-type field of the STUN - * message. - */ -#define PJ_STUN_GET_METHOD(msg_type) ((msg_type) & 0xFEEF) - - -/** - * STUN message classes constants. - */ -enum pj_stun_msg_class_e -{ - /** - * This specifies that the message type is a STUN request message. - */ - PJ_STUN_REQUEST_CLASS = 0, - - /** - * This specifies that the message type is a STUN indication message. - */ - PJ_STUN_INDICATION_CLASS = 1, - - /** - * This specifies that the message type is a STUN successful response. - */ - PJ_STUN_SUCCESS_CLASS = 2, - - /** - * This specifies that the message type is a STUN error response. - */ - PJ_STUN_ERROR_CLASS = 3 -}; - - -/** - * Determine if the message type is a request. - */ -#define PJ_STUN_IS_REQUEST(msg_type) (((msg_type) & 0x0110) == 0x0000) - - -/** - * Determine if the message type is a successful response. - */ -#define PJ_STUN_IS_SUCCESS_RESPONSE(msg_type) (((msg_type) & 0x0110) == 0x0100) - -/** - * The response bit in the message type. - */ -#define PJ_STUN_SUCCESS_RESPONSE_BIT (0x0100) - - -/** - * Determine if the message type is an error response. - */ -#define PJ_STUN_IS_ERROR_RESPONSE(msg_type) (((msg_type) & 0x0110) == 0x0110) - -/** - * The error response bit in the message type. - */ -#define PJ_STUN_ERROR_RESPONSE_BIT (0x0110) - -/** - * Determine if the message type is a response. - */ -#define PJ_STUN_IS_RESPONSE(msg_type) (((msg_type) & 0x0100) == 0x0100) - - -/** - * Determine if the message type is an indication message. - */ -#define PJ_STUN_IS_INDICATION(msg_type) (((msg_type) & 0x0110) == 0x0010) - -/** - * The error response bit in the message type. - */ -#define PJ_STUN_INDICATION_BIT (0x0010) - - -/** - * This enumeration describes STUN message types. - */ -typedef enum pj_stun_msg_type -{ - /** - * STUN BINDING request. - */ - PJ_STUN_BINDING_REQUEST = 0x0001, - - /** - * Successful response to STUN BINDING-REQUEST. - */ - PJ_STUN_BINDING_RESPONSE = 0x0101, - - /** - * Error response to STUN BINDING-REQUEST. - */ - PJ_STUN_BINDING_ERROR_RESPONSE = 0x0111, - - /** - * Binding Indication (ICE) - */ - PJ_STUN_BINDING_INDICATION = 0x0011, - - /** - * STUN SHARED-SECRET reqeust. - */ - PJ_STUN_SHARED_SECRET_REQUEST = 0x0002, - - /** - * Successful response to STUN SHARED-SECRET reqeust. - */ - PJ_STUN_SHARED_SECRET_RESPONSE = 0x0102, - - /** - * Error response to STUN SHARED-SECRET reqeust. - */ - PJ_STUN_SHARED_SECRET_ERROR_RESPONSE = 0x0112, - - - /** - * STUN/TURN Allocate Request - */ - PJ_STUN_ALLOCATE_REQUEST = 0x0003, - - /** - * Successful response to STUN/TURN Allocate Request - */ - PJ_STUN_ALLOCATE_RESPONSE = 0x0103, - - /** - * Failure response to STUN/TURN Allocate Request - */ - PJ_STUN_ALLOCATE_ERROR_RESPONSE = 0x0113, - - - /** - * STUN/TURN REFRESH Request - */ - PJ_STUN_REFRESH_REQUEST = 0x0004, - - /** - * Successful response to STUN REFRESH request - */ - PJ_STUN_REFRESH_RESPONSE = 0x0104, - - /** - * Error response to STUN REFRESH request. - */ - PJ_STUN_REFRESH_ERROR_RESPONSE = 0x0114, - - - /** - * TURN Send indication - */ - PJ_STUN_SEND_INDICATION = 0x0016, - - - /** - * TURN Data indication - */ - PJ_STUN_DATA_INDICATION = 0x0017, - - - /** - * TURN CreatePermission request - */ - PJ_STUN_CREATE_PERM_REQUEST = 0x0008, - - /** - * TURN CreatePermission successful response. - */ - PJ_STUN_CREATE_PERM_RESPONSE = 0x0108, - - /** - * TURN CreatePermission failure response - */ - PJ_STUN_CREATE_PERM_ERROR_RESPONSE = 0x0118, - - - /** - * STUN/TURN ChannelBind Request - */ - PJ_STUN_CHANNEL_BIND_REQUEST = 0x0009, - - /** - * Successful response to STUN ChannelBind request - */ - PJ_STUN_CHANNEL_BIND_RESPONSE = 0x0109, - - /** - * Error response to STUN ChannelBind request. - */ - PJ_STUN_CHANNEL_BIND_ERROR_RESPONSE = 0x0119 - -} pj_stun_msg_type; - - - -/** - * This enumeration describes STUN attribute types. - */ -typedef enum pj_stun_attr_type -{ - PJ_STUN_ATTR_MAPPED_ADDR = 0x0001,/**< MAPPED-ADDRESS. */ - PJ_STUN_ATTR_RESPONSE_ADDR = 0x0002,/**< RESPONSE-ADDRESS (deprcatd)*/ - PJ_STUN_ATTR_CHANGE_REQUEST = 0x0003,/**< CHANGE-REQUEST (deprecated)*/ - PJ_STUN_ATTR_SOURCE_ADDR = 0x0004,/**< SOURCE-ADDRESS (deprecated)*/ - PJ_STUN_ATTR_CHANGED_ADDR = 0x0005,/**< CHANGED-ADDRESS (deprecatd)*/ - PJ_STUN_ATTR_USERNAME = 0x0006,/**< USERNAME attribute. */ - PJ_STUN_ATTR_PASSWORD = 0x0007,/**< was PASSWORD attribute. */ - PJ_STUN_ATTR_MESSAGE_INTEGRITY = 0x0008,/**< MESSAGE-INTEGRITY. */ - PJ_STUN_ATTR_ERROR_CODE = 0x0009,/**< ERROR-CODE. */ - PJ_STUN_ATTR_UNKNOWN_ATTRIBUTES = 0x000A,/**< UNKNOWN-ATTRIBUTES. */ - PJ_STUN_ATTR_REFLECTED_FROM = 0x000B,/**< REFLECTED-FROM (deprecatd)*/ - PJ_STUN_ATTR_CHANNEL_NUMBER = 0x000C,/**< TURN CHANNEL-NUMBER */ - PJ_STUN_ATTR_LIFETIME = 0x000D,/**< TURN LIFETIME attr. */ - PJ_STUN_ATTR_MAGIC_COOKIE = 0x000F,/**< MAGIC-COOKIE attr (deprec)*/ - PJ_STUN_ATTR_BANDWIDTH = 0x0010,/**< TURN BANDWIDTH (deprec) */ - PJ_STUN_ATTR_XOR_PEER_ADDR = 0x0012,/**< TURN XOR-PEER-ADDRESS */ - PJ_STUN_ATTR_DATA = 0x0013,/**< DATA attribute. */ - PJ_STUN_ATTR_REALM = 0x0014,/**< REALM attribute. */ - PJ_STUN_ATTR_NONCE = 0x0015,/**< NONCE attribute. */ - PJ_STUN_ATTR_XOR_RELAYED_ADDR = 0x0016,/**< TURN XOR-RELAYED-ADDRESS */ - PJ_STUN_ATTR_REQ_ADDR_TYPE = 0x0017,/**< REQUESTED-ADDRESS-TYPE */ - PJ_STUN_ATTR_EVEN_PORT = 0x0018,/**< TURN EVEN-PORT */ - PJ_STUN_ATTR_REQ_TRANSPORT = 0x0019,/**< TURN REQUESTED-TRANSPORT */ - PJ_STUN_ATTR_DONT_FRAGMENT = 0x001A,/**< TURN DONT-FRAGMENT */ - PJ_STUN_ATTR_XOR_MAPPED_ADDR = 0x0020,/**< XOR-MAPPED-ADDRESS */ - PJ_STUN_ATTR_TIMER_VAL = 0x0021,/**< TIMER-VAL attribute. */ - PJ_STUN_ATTR_RESERVATION_TOKEN = 0x0022,/**< TURN RESERVATION-TOKEN */ - PJ_STUN_ATTR_XOR_REFLECTED_FROM = 0x0023,/**< XOR-REFLECTED-FROM */ - PJ_STUN_ATTR_PRIORITY = 0x0024,/**< PRIORITY */ - PJ_STUN_ATTR_USE_CANDIDATE = 0x0025,/**< USE-CANDIDATE */ - PJ_STUN_ATTR_ICMP = 0x0030,/**< ICMP (TURN) */ - - PJ_STUN_ATTR_END_MANDATORY_ATTR, - - PJ_STUN_ATTR_START_EXTENDED_ATTR= 0x8021, - - PJ_STUN_ATTR_SOFTWARE = 0x8022,/**< SOFTWARE attribute. */ - PJ_STUN_ATTR_ALTERNATE_SERVER = 0x8023,/**< ALTERNATE-SERVER. */ - PJ_STUN_ATTR_REFRESH_INTERVAL = 0x8024,/**< REFRESH-INTERVAL. */ - PJ_STUN_ATTR_FINGERPRINT = 0x8028,/**< FINGERPRINT attribute. */ - PJ_STUN_ATTR_ICE_CONTROLLED = 0x8029,/**< ICE-CCONTROLLED attribute.*/ - PJ_STUN_ATTR_ICE_CONTROLLING = 0x802a,/**< ICE-CCONTROLLING attribute*/ - - PJ_STUN_ATTR_END_EXTENDED_ATTR - -} pj_stun_attr_type; - - -/** - * STUN error codes, which goes into STUN ERROR-CODE attribute. - */ -typedef enum pj_stun_status -{ - PJ_STUN_SC_TRY_ALTERNATE = 300, /**< Try Alternate */ - PJ_STUN_SC_BAD_REQUEST = 400, /**< Bad Request */ - PJ_STUN_SC_UNAUTHORIZED = 401, /**< Unauthorized */ - PJ_STUN_SC_FORBIDDEN = 403, /**< Forbidden (TURN) */ - PJ_STUN_SC_UNKNOWN_ATTRIBUTE = 420, /**< Unknown Attribute */ -#if 0 - /* These were obsolete in recent rfc3489bis */ - //PJ_STUN_SC_STALE_CREDENTIALS = 430, /**< Stale Credentials */ - //PJ_STUN_SC_INTEGRITY_CHECK_FAILURE= 431, /**< Integrity Chk Fail */ - //PJ_STUN_SC_MISSING_USERNAME = 432, /**< Missing Username */ - //PJ_STUN_SC_USE_TLS = 433, /**< Use TLS */ - //PJ_STUN_SC_MISSING_REALM = 434, /**< Missing Realm */ - //PJ_STUN_SC_MISSING_NONCE = 435, /**< Missing Nonce */ - //PJ_STUN_SC_UNKNOWN_USERNAME = 436, /**< Unknown Username */ -#endif - PJ_STUN_SC_ALLOCATION_MISMATCH = 437, /**< TURN Alloc Mismatch */ - PJ_STUN_SC_STALE_NONCE = 438, /**< Stale Nonce */ - PJ_STUN_SC_TRANSITIONING = 439, /**< Transitioning. */ - PJ_STUN_SC_WRONG_CREDENTIALS = 441, /**< TURN Wrong Credentials */ - PJ_STUN_SC_UNSUPP_TRANSPORT_PROTO = 442, /**< Unsupported Transport or - Protocol (TURN) */ - PJ_STUN_SC_OPER_TCP_ONLY = 445, /**< Operation for TCP Only */ - PJ_STUN_SC_CONNECTION_FAILURE = 446, /**< Connection Failure */ - PJ_STUN_SC_CONNECTION_TIMEOUT = 447, /**< Connection Timeout */ - PJ_STUN_SC_ALLOCATION_QUOTA_REACHED = 486, /**< Allocation Quota Reached - (TURN) */ - PJ_STUN_SC_ROLE_CONFLICT = 487, /**< Role Conflict */ - PJ_STUN_SC_SERVER_ERROR = 500, /**< Server Error */ - PJ_STUN_SC_INSUFFICIENT_CAPACITY = 508, /**< Insufficient Capacity - (TURN) */ - PJ_STUN_SC_GLOBAL_FAILURE = 600 /**< Global Failure */ -} pj_stun_status; - - -/** - * This structure describes STUN message header. A STUN message has the - * following format: - * - * \verbatim - - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - |0 0| STUN Message Type | Message Length | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Magic Cookie | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - Transaction ID - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - - \endverbatim - */ -typedef struct pj_stun_msg_hdr -{ - /** - * STUN message type, which the first two bits must be zeroes. - */ - pj_uint16_t type; - - /** - * The message length is the size, in bytes, of the message not - * including the 20 byte STUN header. - */ - pj_uint16_t length; - - /** - * The magic cookie is a fixed value, 0x2112A442 (PJ_STUN_MAGIC constant). - * In the previous version of this specification [15] this field was part - * of the transaction ID. - */ - pj_uint32_t magic; - - /** - * The transaction ID is a 96 bit identifier. STUN transactions are - * identified by their unique 96-bit transaction ID. For request/ - * response transactions, the transaction ID is chosen by the STUN - * client and MUST be unique for each new STUN transaction generated by - * that STUN client. The transaction ID MUST be uniformly and randomly - * distributed between 0 and 2**96 - 1. - */ - pj_uint8_t tsx_id[12]; - -} pj_stun_msg_hdr; - - -/** - * This structre describes STUN attribute header. Each attribute is - * TLV encoded, with a 16 bit type, 16 bit length, and variable value. - * Each STUN attribute ends on a 32 bit boundary: - * - * \verbatim - - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Type | Length | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - - \endverbatim - */ -typedef struct pj_stun_attr_hdr -{ - /** - * STUN attribute type. - */ - pj_uint16_t type; - - /** - * The Length refers to the length of the actual useful content of the - * Value portion of the attribute, measured in bytes. The value - * in the Length field refers to the length of the Value part of the - * attribute prior to padding - i.e., the useful content. - */ - pj_uint16_t length; - -} pj_stun_attr_hdr; - - -/** - * This structure describes STUN generic IP address attribute, used for - * example to represent STUN MAPPED-ADDRESS attribute. - * - * The generic IP address attribute indicates the transport address. - * It consists of an eight bit address family, and a sixteen bit port, - * followed by a fixed length value representing the IP address. If the - * address family is IPv4, the address is 32 bits, in network byte - * order. If the address family is IPv6, the address is 128 bits in - * network byte order. - * - * The format of the generic IP address attribute is: - * - * \verbatim - - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - |x x x x x x x x| Family | Port | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Address (variable) - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - - \endverbatim - */ -typedef struct pj_stun_sockaddr_attr -{ - /** - * Standard STUN attribute header. - */ - pj_stun_attr_hdr hdr; - - /** - * Flag to indicate whether this attribute should be sent in XOR-ed - * format, or has been received in XOR-ed format. - */ - pj_bool_t xor_ed; - - /** - * The socket address - */ - pj_sockaddr sockaddr; - -} pj_stun_sockaddr_attr; - - -/** - * This structure represents a generic STUN attributes with no payload, - * and it is used for example by ICE USE-CANDIDATE attribute. - */ -typedef struct pj_stun_empty_attr -{ - /** - * Standard STUN attribute header. - */ - pj_stun_attr_hdr hdr; - -} pj_stun_empty_attr; - - -/** - * This structure represents generic STUN string attributes, such as STUN - * USERNAME, PASSWORD, SOFTWARE, REALM, and NONCE attributes. - */ -typedef struct pj_stun_string_attr -{ - /** - * Standard STUN attribute header. - */ - pj_stun_attr_hdr hdr; - - /** - * The string value. - */ - pj_str_t value; - -} pj_stun_string_attr; - - -/** - * This structure represents a generic STUN attributes with 32bit (unsigned) - * integer value, such as STUN FINGERPRINT and REFRESH-INTERVAL attributes. - */ -typedef struct pj_stun_uint_attr -{ - /** - * Standard STUN attribute header. - */ - pj_stun_attr_hdr hdr; - - /** - * The 32bit value, in host byte order. - */ - pj_uint32_t value; - -} pj_stun_uint_attr; - - -/** - * This structure represents a generic STUN attributes with 64bit (unsigned) - * integer value, such as ICE-CONTROLLED and ICE-CONTROLLING attributes. - */ -typedef struct pj_stun_uint64_attr -{ - /** - * Standard STUN attribute header. - */ - pj_stun_attr_hdr hdr; - - /** - * The 64bit value, in host byte order, represented with pj_timestamp. - */ - pj_timestamp value; - -} pj_stun_uint64_attr; - - -/** - * This structure represents generic STUN attributes to hold a raw binary - * data. - */ -typedef struct pj_stun_binary_attr -{ - /** - * Standard STUN attribute header. - */ - pj_stun_attr_hdr hdr; - - /** - * Special signature to indicate that this is a valid attribute even - * though we don't have meta-data to describe this attribute. - */ - pj_uint32_t magic; - - /** - * Length of the data. - */ - unsigned length; - - /** - * The raw data. - */ - pj_uint8_t *data; - -} pj_stun_binary_attr; - - -/** - * This structure describes STUN MESSAGE-INTEGRITY attribute. - * The MESSAGE-INTEGRITY attribute contains an HMAC-SHA1 [10] of the - * STUN message. The MESSAGE-INTEGRITY attribute can be present in any - * STUN message type. Since it uses the SHA1 hash, the HMAC will be 20 - * bytes. - */ -typedef struct pj_stun_msgint_attr -{ - /** - * Standard STUN attribute header. - */ - pj_stun_attr_hdr hdr; - - /** - * The 20 bytes hmac value. - */ - pj_uint8_t hmac[20]; - -} pj_stun_msgint_attr; - - -/** - * This structure describes STUN FINGERPRINT attribute. The FINGERPRINT - * attribute can be present in all STUN messages. It is computed as - * the CRC-32 of the STUN message up to (but excluding) the FINGERPRINT - * attribute itself, xor-d with the 32 bit value 0x5354554e - */ -typedef struct pj_stun_uint_attr pj_stun_fingerprint_attr; - - -/** - * This structure represents STUN ERROR-CODE attribute. The ERROR-CODE - * attribute is present in the Binding Error Response and Shared Secret - * Error Response. It is a numeric value in the range of 100 to 699 - * plus a textual reason phrase encoded in UTF-8 - * - * \verbatim - - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | 0 |Class| Number | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Reason Phrase (variable) .. - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - - \endverbatim - */ -typedef struct pj_stun_errcode_attr -{ - /** - * Standard STUN attribute header. - */ - pj_stun_attr_hdr hdr; - - /** - * STUN error code. - */ - int err_code; - - /** - * The reason phrase. - */ - pj_str_t reason; - -} pj_stun_errcode_attr; - - -/** - * This describes STUN REALM attribute. - * The REALM attribute is present in requests and responses. It - * contains text which meets the grammar for "realm" as described in RFC - * 3261 [11], and will thus contain a quoted string (including the - * quotes). - */ -typedef struct pj_stun_string_attr pj_stun_realm_attr; - - -/** - * This describes STUN NONCE attribute. - * The NONCE attribute is present in requests and in error responses. - * It contains a sequence of qdtext or quoted-pair, which are defined in - * RFC 3261 [11]. See RFC 2617 [7] for guidance on selection of nonce - * values in a server. - */ -typedef struct pj_stun_string_attr pj_stun_nonce_attr; - - -/** - * This describes STUN UNKNOWN-ATTRIBUTES attribute. - * The UNKNOWN-ATTRIBUTES attribute is present only in an error response - * when the response code in the ERROR-CODE attribute is 420. - * The attribute contains a list of 16 bit values, each of which - * represents an attribute type that was not understood by the server. - * If the number of unknown attributes is an odd number, one of the - * attributes MUST be repeated in the list, so that the total length of - * the list is a multiple of 4 bytes. - */ -typedef struct pj_stun_unknown_attr -{ - /** - * Standard STUN attribute header. - */ - pj_stun_attr_hdr hdr; - - /** - * Number of unknown attributes in the array. - */ - unsigned attr_count; - - /** - * Array of unknown attribute IDs. - */ - pj_uint16_t attrs[PJ_STUN_MAX_ATTR]; - -} pj_stun_unknown_attr; - - -/** - * This structure describes STUN MAPPED-ADDRESS attribute. - * The MAPPED-ADDRESS attribute indicates the mapped transport address. - */ -typedef struct pj_stun_sockaddr_attr pj_stun_mapped_addr_attr; - - -/** - * This describes STUN XOR-MAPPED-ADDRESS attribute (which has the same - * format as STUN MAPPED-ADDRESS attribute). - * The XOR-MAPPED-ADDRESS attribute is present in responses. It - * provides the same information that would present in the MAPPED- - * ADDRESS attribute but because the NAT's public IP address is - * obfuscated through the XOR function, STUN messages are able to pass - * through NATs which would otherwise interfere with STUN. - */ -typedef struct pj_stun_sockaddr_attr pj_stun_xor_mapped_addr_attr; - - -/** - * This describes STUN SOFTWARE attribute. - * The SOFTWARE attribute contains a textual description of the software - * being used by the agent sending the message. It is used by clients - * and servers. Its value SHOULD include manufacturer and version - * number. */ -typedef struct pj_stun_string_attr pj_stun_software_attr; - - -/** - * This describes STUN ALTERNATE-SERVER attribute. - * The alternate server represents an alternate transport address for a - * different STUN server to try. It is encoded in the same way as - * MAPPED-ADDRESS. - */ -typedef struct pj_stun_sockaddr_attr pj_stun_alt_server_attr; - - -/** - * This describes STUN REFRESH-INTERVAL attribute. - * The REFRESH-INTERVAL indicates the number of milliseconds that the - * server suggests the client should use between refreshes of the NAT - * bindings between the client and server. - */ -typedef struct pj_stun_uint_attr pj_stun_refresh_interval_attr; - - -/** - * This structure describes STUN RESPONSE-ADDRESS attribute. - * The RESPONSE-ADDRESS attribute indicates where the response to a - * Binding Request should be sent. Its syntax is identical to MAPPED- - * ADDRESS. - * - * Note that the usage of this attribute has been deprecated by the - * RFC 3489-bis standard. - */ -typedef struct pj_stun_sockaddr_attr pj_stun_response_addr_attr; - - -/** - * This structure describes STUN CHANGED-ADDRESS attribute. - * The CHANGED-ADDRESS attribute indicates the IP address and port where - * responses would have been sent from if the "change IP" and "change - * port" flags had been set in the CHANGE-REQUEST attribute of the - * Binding Request. The attribute is always present in a Binding - * Response, independent of the value of the flags. Its syntax is - * identical to MAPPED-ADDRESS. - * - * Note that the usage of this attribute has been deprecated by the - * RFC 3489-bis standard. - */ -typedef struct pj_stun_sockaddr_attr pj_stun_changed_addr_attr; - - -/** - * This structure describes STUN CHANGE-REQUEST attribute. - * The CHANGE-REQUEST attribute is used by the client to request that - * the server use a different address and/or port when sending the - * response. - * - * Bit 29 of the value is the "change IP" flag. If true, it requests - * the server to send the Binding Response with a different IP address - * than the one the Binding Request was received on. - * - * Bit 30 of the value is the "change port" flag. If true, it requests - * the server to send the Binding Response with a different port than - * the one the Binding Request was received on. - * - * Note that the usage of this attribute has been deprecated by the - * RFC 3489-bis standard. - */ -typedef struct pj_stun_uint_attr pj_stun_change_request_attr; - -/** - * This structure describes STUN SOURCE-ADDRESS attribute. - * The SOURCE-ADDRESS attribute is present in Binding Responses. It - * indicates the source IP address and port that the server is sending - * the response from. Its syntax is identical to that of MAPPED- - * ADDRESS. - * - * Note that the usage of this attribute has been deprecated by the - * RFC 3489-bis standard. - */ -typedef struct pj_stun_sockaddr_attr pj_stun_src_addr_attr; - - -/** - * This describes the STUN REFLECTED-FROM attribute. - * The REFLECTED-FROM attribute is present only in Binding Responses, - * when the Binding Request contained a RESPONSE-ADDRESS attribute. The - * attribute contains the identity (in terms of IP address) of the - * source where the request came from. Its purpose is to provide - * traceability, so that a STUN server cannot be used as a reflector for - * denial-of-service attacks. - */ -typedef struct pj_stun_sockaddr_attr pj_stun_reflected_from_attr; - - -/** - * This describes STUN USERNAME attribute. - * The USERNAME attribute is used for message integrity. It identifies - * the shared secret used in the message integrity check. Consequently, - * the USERNAME MUST be included in any request that contains the - * MESSAGE-INTEGRITY attribute. - */ -typedef struct pj_stun_string_attr pj_stun_username_attr; - - -/** - * This describes STUN PASSWORD attribute. - * If the message type is Shared Secret Response it MUST include the - * PASSWORD attribute. - */ -typedef struct pj_stun_string_attr pj_stun_password_attr; - - -/** - * This describes TURN CHANNEL-NUMBER attribute. In this library, - * this attribute is represented with 32bit integer. Application may - * use #PJ_STUN_GET_CH_NB() and #PJ_STUN_SET_CH_NB() to extract/set - * channel number value from the 32bit integral value. - * - * The CHANNEL-NUMBER attribute contains the number of the channel. - * It is a 16-bit unsigned integer, followed by a two-octet RFFU field - * which MUST be set to 0 on transmission and ignored on reception. - - \verbatim - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Channel Number | RFFU | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - \endverbatim - */ -typedef struct pj_stun_uint_attr pj_stun_channel_number_attr; - -/** - * Get 16bit channel number from 32bit integral value. - * Note that uint32 attributes are always stored in host byte order - * after they have been parsed from the PDU, so no need to do ntohs() - * here. - */ -#define PJ_STUN_GET_CH_NB(u32) ((pj_uint16_t)(u32>>16)) - -/** - * Convert 16bit channel number into 32bit integral value. - * Note that uint32 attributes will be converted to network byte order - * when the attribute is written to packet, so no need to do htons() - * here. - */ -#define PJ_STUN_SET_CH_NB(chnum) (((pj_uint32_t)chnum) << 16) - - -/** - * This describes STUN LIFETIME attribute. - * The lifetime attribute represents the duration for which the server - * will maintain an allocation in the absence of data traffic either - * from or to the client. It is a 32 bit value representing the number - * of seconds remaining until expiration. - */ -typedef struct pj_stun_uint_attr pj_stun_lifetime_attr; - - -/** - * This describes STUN BANDWIDTH attribute. - * The bandwidth attribute represents the peak bandwidth, measured in - * kbits per second, that the client expects to use on the binding. The - * value represents the sum in the receive and send directions. - */ -typedef struct pj_stun_uint_attr pj_stun_bandwidth_attr; - - -/** - * This describes the STUN XOR-PEER-ADDRESS attribute. - * The XOR-PEER-ADDRESS specifies the address and port of the peer as seen - * from the TURN server. It is encoded in the same way as XOR-MAPPED- - * ADDRESS. - */ -typedef struct pj_stun_sockaddr_attr pj_stun_xor_peer_addr_attr; - - -/** - * This describes the STUN DATA attribute. - * The DATA attribute is present in Send Indications and Data - * Indications. It contains raw payload data that is to be sent (in the - * case of a Send Request) or was received (in the case of a Data - * Indication).. - */ -typedef struct pj_stun_binary_attr pj_stun_data_attr; - - -/** - * This describes the STUN XOR-RELAYED-ADDRESS attribute. The - * XOR-RELAYED-ADDRESS is present in Allocate responses. It specifies the - * address and port that the server allocated to the client. It is - * encoded in the same way as XOR-MAPPED-ADDRESS. - */ -typedef struct pj_stun_sockaddr_attr pj_stun_xor_relayed_addr_attr; - - -/** - * This describes the REQUESTED-ADDRESS-TYPE attribute. - * The REQUESTED-ADDRESS-TYPE attribute is used by clients to request - * the allocation of a specific address type from a server. The - * following is the format of the REQUESTED-ADDRESS-TYPE attribute. - - \verbatim - - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Family | Reserved | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - - \endverbatim - */ -typedef struct pj_stun_uint_attr pj_stun_req_addr_type_attr; - - -/** - * This describes the TURN REQUESTED-TRANSPORT attribute, encoded in - * STUN generic integer attribute. - * - * This attribute allows the client to request that the port in the - * relayed-transport-address be even, and (optionally) that the server - * reserve the next-higher port number. The attribute is 8 bits long. - * Its format is: - -\verbatim - 0 - 0 1 2 3 4 5 6 7 - +-+-+-+-+-+-+-+-+ - |R| RFFU | - +-+-+-+-+-+-+-+-+ - -\endverbatim - - * The attribute contains a single 1-bit flag: - * - * R: If 1, the server is requested to reserve the next higher port - * number (on the same IP address) for a subsequent allocation. If - * 0, no such reservation is requested. - * - * The other 7 bits of the attribute must be set to zero on transmission - * and ignored on reception. - */ -typedef struct pj_stun_uint_attr pj_stun_even_port_attr; - - -/** - * This describes the TURN REQUESTED-TRANSPORT attribute, encoded in - * STUN generic integer attribute. - * - * This attribute is used by the client to request a specific transport - * protocol for the allocated transport address. It has the following - * format: - - \verbatim - - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Protocol | RFFU | - +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - - - \endverbatim - - * The Protocol field specifies the desired protocol. The codepoints - * used in this field are taken from those allowed in the Protocol field - * in the IPv4 header and the NextHeader field in the IPv6 header - * [Protocol-Numbers]. This specification only allows the use of - * codepoint 17 (User Datagram Protocol). - * - * The RFFU field is set to zero on transmission and ignored on - * receiption. It is reserved for future uses. - */ -typedef struct pj_stun_uint_attr pj_stun_req_transport_attr; - -/** - * Get protocol value from 32bit TURN REQUESTED-TRANSPORT attribute. - */ -#define PJ_STUN_GET_RT_PROTO(u32) (u32 >> 24) - -/** - * Convert protocol value to be placed in 32bit TURN REQUESTED-TRANSPORT - * attribute. - */ -#define PJ_STUN_SET_RT_PROTO(proto) (((pj_uint32_t)(proto)) << 24) - - -/** - * This describes the TURN DONT-FRAGMENT attribute. - * - * This attribute is used by the client to request that the server set - * the DF (Don't Fragment) bit in the IP header when relaying the - * application data onward to the peer. This attribute has no value - * part and thus the attribute length field is 0. - */ -typedef struct pj_stun_empty_attr pj_stun_dont_fragment_attr; - - -/** - * This describes the TURN RESERVATION-TOKEN attribute. - * The RESERVATION-TOKEN attribute contains a token that uniquely - * identifies a relayed transport address being held in reserve by the - * server. The server includes this attribute in a success response to - * tell the client about the token, and the client includes this - * attribute in a subsequent Allocate request to request the server use - * that relayed transport address for the allocation. - * - * The attribute value is a 64-bit-long field containing the token - * value. - */ -typedef struct pj_stun_uint64_attr pj_stun_res_token_attr; - -/** - * This describes the XOR-REFLECTED-FROM attribute, as described by - * draft-macdonald-behave-nat-behavior-discovery-00. - * The XOR-REFLECTED-FROM attribute is used in place of the REFLECTED- - * FROM attribute. It provides the same information, but because the - * NAT's public address is obfuscated through the XOR function, It can - * pass through a NAT that would otherwise attempt to translate it to - * the private network address. XOR-REFLECTED-FROM has identical syntax - * to XOR-MAPPED-ADDRESS. - */ -typedef struct pj_stun_sockaddr_attr pj_stun_xor_reflected_from_attr; - -/** - * This describes the PRIORITY attribute from draft-ietf-mmusic-ice-13. - * The PRIORITY attribute indicates the priority that is to be - * associated with a peer reflexive candidate, should one be discovered - * by this check. It is a 32 bit unsigned integer, and has an attribute - * type of 0x0024. - */ -typedef struct pj_stun_uint_attr pj_stun_priority_attr; - -/** - * This describes the USE-CANDIDATE attribute from draft-ietf-mmusic-ice-13. - * The USE-CANDIDATE attribute indicates that the candidate pair - * resulting from this check should be used for transmission of media. - * The attribute has no content (the Length field of the attribute is - * zero); it serves as a flag. - */ -typedef struct pj_stun_empty_attr pj_stun_use_candidate_attr; - -/** - * This describes the STUN TIMER-VAL attribute. - * The TIMER-VAL attribute is used only in conjunction with the Set - * Active Destination response. It conveys from the server, to the - * client, the value of the timer used in the server state machine. - */ -typedef struct pj_stun_uint_attr pj_stun_timer_val_attr; - -/** - * This describes ICE-CONTROLLING attribute. - */ -typedef struct pj_stun_uint64_attr pj_stun_ice_controlling_attr; - -/** - * This describes ICE-CONTROLLED attribute. - */ -typedef struct pj_stun_uint64_attr pj_stun_ice_controlled_attr; - -/** - * This describes TURN ICMP attribute - */ -typedef struct pj_stun_uint_attr pj_stun_icmp_attr; - -/** - * This structure describes a parsed STUN message. All integral fields - * in this structure (including IP addresses) will be in the host - * byte order. - */ -typedef struct pj_stun_msg -{ - /** - * STUN message header. - */ - pj_stun_msg_hdr hdr; - - /** - * Number of attributes in the STUN message. - */ - unsigned attr_count; - - /** - * Array of STUN attributes. - */ - pj_stun_attr_hdr *attr[PJ_STUN_MAX_ATTR]; - -} pj_stun_msg; - - -/** STUN decoding options */ -enum pj_stun_decode_options -{ - /** - * Tell the decoder that the message was received from datagram - * oriented transport (such as UDP). - */ - PJ_STUN_IS_DATAGRAM = 1, - - /** - * Tell pj_stun_msg_decode() to check the validity of the STUN - * message by calling pj_stun_msg_check() before starting to - * decode the packet. - */ - PJ_STUN_CHECK_PACKET = 2, - - /** - * This option current is only valid for #pj_stun_session_on_rx_pkt(). - * When specified, it tells the session NOT to authenticate the - * message. - */ - PJ_STUN_NO_AUTHENTICATE = 4, - - /** - * Disable FINGERPRINT verification. This option can be used when calling - * #pj_stun_msg_check() and #pj_stun_msg_decode() to disable the - * verification of FINGERPRINT, for example when the STUN usage says when - * FINGERPRINT mechanism shall not be used. - */ - PJ_STUN_NO_FINGERPRINT_CHECK = 8 -}; - - -/** - * Get STUN message method name. - * - * @param msg_type The STUN message type (in host byte order) - * - * @return The STUN message method name string. - */ -PJ_DECL(const char*) pj_stun_get_method_name(unsigned msg_type); - - -/** - * Get STUN message class name. - * - * @param msg_type The STUN message type (in host byte order) - * - * @return The STUN message class name string. - */ -PJ_DECL(const char*) pj_stun_get_class_name(unsigned msg_type); - - -/** - * Get STUN attribute name. - * - * @return attr_type The STUN attribute type (in host byte order). - * - * @return The STUN attribute type name string. - */ -PJ_DECL(const char*) pj_stun_get_attr_name(unsigned attr_type); - - -/** - * Get STUN standard reason phrase for the specified error code. - * - * @param err_code The STUN error code. - * - * @return The STUN error reason phrase. - */ -PJ_DECL(pj_str_t) pj_stun_get_err_reason(int err_code); - - -/** - * Internal: set the padding character for string attribute. - * The default padding character is PJ_STUN_STRING_ATTR_PAD_CHR. - * - * @return The previous padding character. - */ -PJ_DECL(int) pj_stun_set_padding_char(int chr); - - -/** - * Initialize a generic STUN message. - * - * @param msg The message structure to be initialized. - * @param msg_type The 14bit message type (see pj_stun_msg_type - * constants). - * @param magic Magic value to be put to the mesage; for requests, - * the value normally should be PJ_STUN_MAGIC. - * @param tsx_id Optional transaction ID, or NULL to let the - * function generates a random transaction ID. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pj_stun_msg_init(pj_stun_msg *msg, - unsigned msg_type, - pj_uint32_t magic, - const pj_uint8_t tsx_id[12]); - -/** - * Create a generic STUN message. - * - * @param pool Pool to create the STUN message. - * @param msg_type The 14bit message type. - * @param magic Magic value to be put to the mesage; for requests, - * the value should be PJ_STUN_MAGIC. - * @param tsx_id Optional transaction ID, or NULL to let the - * function generates a random transaction ID. - * @param p_msg Pointer to receive the message. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pj_stun_msg_create(pj_pool_t *pool, - unsigned msg_type, - pj_uint32_t magic, - const pj_uint8_t tsx_id[12], - pj_stun_msg **p_msg); - -/** - * Clone a STUN message with all of its attributes. - * - * @param pool Pool to allocate memory for the new message. - * @param msg The message to be cloned. - * - * @return The duplicate message. - */ -PJ_DECL(pj_stun_msg*) pj_stun_msg_clone(pj_pool_t *pool, - const pj_stun_msg *msg); - -/** - * Create STUN response message. - * - * @param pool Pool to create the mesage. - * @param req_msg The request message. - * @param err_code STUN error code. If this value is not zero, - * then error response will be created, otherwise - * successful response will be created. - * @param err_msg Optional error message to explain err_code. - * If this value is NULL and err_code is not zero, - * the error string will be taken from the default - * STUN error message. - * @param p_response Pointer to receive the response. - * - * @return PJ_SUCCESS on success, or the appropriate error. - */ -PJ_DECL(pj_status_t) pj_stun_msg_create_response(pj_pool_t *pool, - const pj_stun_msg *req_msg, - unsigned err_code, - const pj_str_t *err_msg, - pj_stun_msg **p_response); - - -/** - * Add STUN attribute to STUN message. - * - * @param msg The STUN message. - * @param attr The STUN attribute to be added to the message. - * - * @return PJ_SUCCESS on success, or PJ_ETOOMANY if there are - * already too many attributes in the message. - */ -PJ_DECL(pj_status_t) pj_stun_msg_add_attr(pj_stun_msg *msg, - pj_stun_attr_hdr *attr); - - -/** - * Print the STUN message structure to a packet buffer, ready to be - * sent to remote destination. This function will take care about - * calculating the MESSAGE-INTEGRITY digest as well as FINGERPRINT - * value, if these attributes are present in the message. - * - * If application wants to apply credential to the message, it MUST - * include a blank MESSAGE-INTEGRITY attribute in the message as the - * last attribute or the attribute before FINGERPRINT. This function will - * calculate the HMAC digest from the message using the supplied key in - * the parameter. The key should be set to the password if short term - * credential is used, or calculated from the MD5 hash of the realm, - * username, and password using #pj_stun_create_key() if long term - * credential is used. - * - * If FINGERPRINT attribute is present, this function will calculate - * the FINGERPRINT CRC attribute for the message. The FINGERPRINT MUST - * be added as the last attribute of the message. - * - * @param msg The STUN message to be printed. Upon return, - * some fields in the header (such as message - * length) will be updated. - * @param pkt_buf The buffer to be filled with the packet. - * @param buf_size Size of the buffer. - * @param options Options, which currently must be zero. - * @param key Authentication key to calculate MESSAGE-INTEGRITY - * value. Application can create this key by using - * #pj_stun_create_key() function. - * @param p_msg_len Upon return, it will be filed with the size of - * the packet in bytes, or negative value on error. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_msg_encode(pj_stun_msg *msg, - pj_uint8_t *pkt_buf, - pj_size_t buf_size, - unsigned options, - const pj_str_t *key, - pj_size_t *p_msg_len); - -/** - * Check that the PDU is potentially a valid STUN message. This function - * is useful when application needs to multiplex STUN packets with other - * application traffic. When this function returns PJ_SUCCESS, there is a - * big chance that the packet is a STUN packet. - * - * Note that we cannot be sure that the PDU is a really valid STUN message - * until we actually parse the PDU. - * - * @param pdu The packet buffer. - * @param pdu_len The length of the packet buffer. - * @param options Additional options to be applied in the checking, - * which can be taken from pj_stun_decode_options. One - * of the useful option is PJ_STUN_IS_DATAGRAM which - * means that the pdu represents a whole STUN packet. - * - * @return PJ_SUCCESS if the PDU is a potentially valid STUN - * message. - */ -PJ_DECL(pj_status_t) pj_stun_msg_check(const pj_uint8_t *pdu, - pj_size_t pdu_len, unsigned options); - - -/** - * Decode incoming packet into STUN message. - * - * @param pool Pool to allocate the message. - * @param pdu The incoming packet to be parsed. - * @param pdu_len The length of the incoming packet. - * @param options Parsing flags, according to pj_stun_decode_options. - * @param p_msg Pointer to receive the parsed message. - * @param p_parsed_len Optional pointer to receive how many bytes have - * been parsed for the STUN message. This is useful - * when the packet is received over stream oriented - * transport. - * @param p_response Optional pointer to receive an instance of response - * message, if one can be created. If the packet being - * decoded is a request message, and it contains error, - * and a response can be created, then the STUN - * response message will be returned on this argument. - * - * @return PJ_SUCCESS if a STUN message has been successfully - * decoded. - */ -PJ_DECL(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, - const pj_uint8_t *pdu, - pj_size_t pdu_len, - unsigned options, - pj_stun_msg **p_msg, - pj_size_t *p_parsed_len, - pj_stun_msg **p_response); - -/** - * Dump STUN message to a printable string output. - * - * @param msg The STUN message - * @param buffer Buffer where the printable string output will - * be printed on. - * @param length Specify the maximum length of the buffer. - * @param printed_len Optional pointer, which on output will be filled - * up with the actual length of the output string. - * - * @return The message string output. - */ -#if PJ_LOG_MAX_LEVEL > 0 -PJ_DECL(char*) pj_stun_msg_dump(const pj_stun_msg *msg, - char *buffer, - unsigned length, - unsigned *printed_len); -#else -# define pj_stun_msg_dump(msg, buf, length, printed_len) "" -#endif - - -/** - * Find STUN attribute in the STUN message, starting from the specified - * index. - * - * @param msg The STUN message. - * @param attr_type The attribute type to be found, from pj_stun_attr_type. - * @param start_index The start index of the attribute in the message. - * Specify zero to start searching from the first - * attribute. - * - * @return The attribute instance, or NULL if it cannot be - * found. - */ -PJ_DECL(pj_stun_attr_hdr*) pj_stun_msg_find_attr(const pj_stun_msg *msg, - int attr_type, - unsigned start_index); - - -/** - * Clone a STUN attribute. - * - * @param pool Pool to allocate memory. - * @param attr Attribute to clone. - * - * @return Duplicate attribute. - */ -PJ_DECL(pj_stun_attr_hdr*) pj_stun_attr_clone(pj_pool_t *pool, - const pj_stun_attr_hdr *attr); - - -/** - * Initialize generic STUN IP address attribute. The \a addr_len and - * \a addr parameters specify whether the address is IPv4 or IPv4 - * address. - * - * @param attr The socket address attribute to initialize. - * @param attr_type Attribute type, from #pj_stun_attr_type. - * @param xor_ed If non-zero, the port and address will be XOR-ed - * with magic, to make the XOR-MAPPED-ADDRESS attribute. - * @param addr A pj_sockaddr_in or pj_sockaddr_in6 structure. - * @param addr_len Length of \a addr parameter. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_sockaddr_attr_init(pj_stun_sockaddr_attr *attr, - int attr_type, - pj_bool_t xor_ed, - const pj_sockaddr_t *addr, - unsigned addr_len); - -/** - * Create a generic STUN IP address attribute. The \a addr_len and - * \a addr parameters specify whether the address is IPv4 or IPv4 - * address. - * - * @param pool The pool to allocate memory from. - * @param attr_type Attribute type, from #pj_stun_attr_type. - * @param xor_ed If non-zero, the port and address will be XOR-ed - * with magic, to make the XOR-MAPPED-ADDRESS attribute. - * @param addr A pj_sockaddr_in or pj_sockaddr_in6 structure. - * @param addr_len Length of \a addr parameter. - * @param p_attr Pointer to receive the attribute. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_sockaddr_attr_create(pj_pool_t *pool, - int attr_type, - pj_bool_t xor_ed, - const pj_sockaddr_t *addr, - unsigned addr_len, - pj_stun_sockaddr_attr **p_attr); - - -/** - * Create and add generic STUN IP address attribute to a STUN message. - * The \a addr_len and \a addr parameters specify whether the address is - * IPv4 or IPv4 address. - * - * @param pool The pool to allocate memory from. - * @param msg The STUN message. - * @param attr_type Attribute type, from #pj_stun_attr_type. - * @param xor_ed If non-zero, the port and address will be XOR-ed - * with magic, to make the XOR-MAPPED-ADDRESS attribute. - * @param addr A pj_sockaddr_in or pj_sockaddr_in6 structure. - * @param addr_len Length of \a addr parameter. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_msg_add_sockaddr_attr(pj_pool_t *pool, - pj_stun_msg *msg, - int attr_type, - pj_bool_t xor_ed, - const pj_sockaddr_t *addr, - unsigned addr_len); - -/** - * Initialize a STUN generic string attribute. - * - * @param attr The string attribute to be initialized. - * @param pool Pool to duplicate the value into the attribute, - * if value is not NULL or empty. - * @param attr_type Attribute type, from #pj_stun_attr_type. - * @param value The string value to be assigned to the attribute. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_string_attr_init(pj_stun_string_attr *attr, - pj_pool_t *pool, - int attr_type, - const pj_str_t *value); - -/** - * Create a STUN generic string attribute. - * - * @param pool The pool to allocate memory from. - * @param attr_type Attribute type, from #pj_stun_attr_type. - * @param value The string value to be assigned to the attribute. - * @param p_attr Pointer to receive the attribute. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_string_attr_create(pj_pool_t *pool, - int attr_type, - const pj_str_t *value, - pj_stun_string_attr **p_attr); - -/** - * Create and add STUN generic string attribute to the message. - * - * @param pool The pool to allocate memory from. - * @param msg The STUN message. - * @param attr_type Attribute type, from #pj_stun_attr_type. - * @param value The string value to be assigned to the attribute. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_msg_add_string_attr(pj_pool_t *pool, - pj_stun_msg *msg, - int attr_type, - const pj_str_t *value); - -/** - * Create a STUN generic 32bit value attribute. - * - * @param pool The pool to allocate memory from. - * @param attr_type Attribute type, from #pj_stun_attr_type. - * @param value The 32bit value to be assigned to the attribute. - * @param p_attr Pointer to receive the attribute. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_uint_attr_create(pj_pool_t *pool, - int attr_type, - pj_uint32_t value, - pj_stun_uint_attr **p_attr); - -/** - * Create and add STUN generic 32bit value attribute to the message. - * - * @param pool The pool to allocate memory from. - * @param msg The STUN message - * @param attr_type Attribute type, from #pj_stun_attr_type. - * @param value The 32bit value to be assigned to the attribute. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_msg_add_uint_attr(pj_pool_t *pool, - pj_stun_msg *msg, - int attr_type, - pj_uint32_t value); - - -/** - * Create a STUN generic 64bit value attribute. - * - * @param pool Pool to allocate memory from. - * @param attr_type Attribute type, from #pj_stun_attr_type. - * @param value Optional value to be assigned. - * @param p_attr Pointer to receive the attribute. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_uint64_attr_create(pj_pool_t *pool, - int attr_type, - const pj_timestamp *value, - pj_stun_uint64_attr **p_attr); - - -/** - * Create and add STUN generic 64bit value attribute to the message. - * - * @param pool The pool to allocate memory from. - * @param msg The STUN message - * @param attr_type Attribute type, from #pj_stun_attr_type. - * @param value The 64bit value to be assigned to the attribute. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_msg_add_uint64_attr(pj_pool_t *pool, - pj_stun_msg *msg, - int attr_type, - const pj_timestamp *value); - -/** - * Create a STUN MESSAGE-INTEGRITY attribute. - * - * @param pool The pool to allocate memory from. - * @param p_attr Pointer to receive the attribute. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_msgint_attr_create(pj_pool_t *pool, - pj_stun_msgint_attr **p_attr); - -/** - * Create and add STUN MESSAGE-INTEGRITY attribute. - * - * @param pool The pool to allocate memory from. - * @param msg The STUN message - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_msg_add_msgint_attr(pj_pool_t *pool, - pj_stun_msg *msg); - -/** - * Create a STUN ERROR-CODE attribute. - * - * @param pool The pool to allocate memory from. - * @param err_code STUN error code. - * @param err_reason Optional STUN error reason. If NULL is given, the - * standard error reason will be given. - * @param p_attr Pointer to receive the attribute. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_errcode_attr_create(pj_pool_t *pool, - int err_code, - const pj_str_t *err_reason, - pj_stun_errcode_attr **p_attr); - - -/** - * Create and add STUN ERROR-CODE attribute to the message. - * - * @param pool The pool to allocate memory from. - * @param msg The STUN mesage. - * @param err_code STUN error code. - * @param err_reason Optional STUN error reason. If NULL is given, the - * standard error reason will be given. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_msg_add_errcode_attr(pj_pool_t *pool, - pj_stun_msg *msg, - int err_code, - const pj_str_t *err_reason); - -/** - * Create instance of STUN UNKNOWN-ATTRIBUTES attribute and copy the - * unknown attribute array to the attribute. - * - * @param pool The pool to allocate memory from. - * @param attr_cnt Number of attributes in the array (can be zero). - * @param attr Optional array of attributes. - * @param p_attr Pointer to receive the attribute. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_unknown_attr_create(pj_pool_t *pool, - unsigned attr_cnt, - const pj_uint16_t attr[], - pj_stun_unknown_attr **p_attr); - -/** - * Create and add STUN UNKNOWN-ATTRIBUTES attribute to the message. - * - * @param pool The pool to allocate memory from. - * @param msg The STUN message. - * @param attr_cnt Number of attributes in the array (can be zero). - * @param attr Optional array of attribute types. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_msg_add_unknown_attr(pj_pool_t *pool, - pj_stun_msg *msg, - unsigned attr_cnt, - const pj_uint16_t attr[]); - -/** - * Initialize STUN binary attribute. - * - * @param attr The attribute to be initialized. - * @param pool Pool to copy data, if the data and length are set. - * @param attr_type The attribute type, from #pj_stun_attr_type. - * @param data Data to be coped to the attribute, or NULL - * if no data to be copied now. - * @param length Length of data, or zero if no data is to be - * copied now. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_binary_attr_init(pj_stun_binary_attr *attr, - pj_pool_t *pool, - int attr_type, - const pj_uint8_t *data, - unsigned length); - -/** - * Create STUN binary attribute. - * - * @param pool The pool to allocate memory from. - * @param attr_type The attribute type, from #pj_stun_attr_type. - * @param data Data to be coped to the attribute, or NULL - * if no data to be copied now. - * @param length Length of data, or zero if no data is to be - * copied now. - * @param p_attr Pointer to receive the attribute. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_binary_attr_create(pj_pool_t *pool, - int attr_type, - const pj_uint8_t *data, - unsigned length, - pj_stun_binary_attr **p_attr); - -/** - * Create STUN binary attribute and add the attribute to the message. - * - * @param pool The pool to allocate memory from. - * @param msg The STUN message. - * @param attr_type The attribute type, from #pj_stun_attr_type. - * @param data Data to be coped to the attribute, or NULL - * if no data to be copied now. - * @param length Length of data, or zero if no data is to be - * copied now. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_msg_add_binary_attr(pj_pool_t *pool, - pj_stun_msg *msg, - int attr_type, - const pj_uint8_t *data, - unsigned length); - -/** - * Create STUN empty attribute. - * - * @param pool The pool to allocate memory from. - * @param attr_type The attribute type, from #pj_stun_attr_type. - * @param p_attr Pointer to receive the attribute. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_empty_attr_create(pj_pool_t *pool, - int attr_type, - pj_stun_empty_attr **p_attr); - -/** - * Create STUN empty attribute and add the attribute to the message. - * - * @param pool The pool to allocate memory from. - * @param msg The STUN message. - * @param attr_type The attribute type, from #pj_stun_attr_type. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_msg_add_empty_attr(pj_pool_t *pool, - pj_stun_msg *msg, - int attr_type); - -/** - * @} - */ - - -PJ_END_DECL - - -#endif /* __PJNATH_STUN_MSG_H__ */ - diff --git a/res/pjproject/pjnath/include/pjnath/stun_session.h b/res/pjproject/pjnath/include/pjnath/stun_session.h deleted file mode 100644 index 9e60837642..0000000000 --- a/res/pjproject/pjnath/include/pjnath/stun_session.h +++ /dev/null @@ -1,762 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJNATH_STUN_SESSION_H__ -#define __PJNATH_STUN_SESSION_H__ - -/** - * @file stun_session.h - * @brief STUN session management for client/server. - */ - -#include -#include -#include -#include -#include -#include - -PJ_BEGIN_DECL - - -/* **************************************************************************/ -/** - * @addtogroup PJNATH_STUN_SESSION - * @{ - * - * This is is a transport-independent object to manage a client or server - * STUN session. It has the following features: - * - * - transport independent:\n - * the object does not have it's own socket, but rather it provides - * functions and callbacks to send and receive packets. This way the - * object can be used by different transport types (e.g. UDP, TCP, - * TLS, etc.) as well as better integration to application which - * already has its own means to send and receive packets. - * - * - authentication management:\n - * the object manages STUN authentication throughout the lifetime of - * the session. For client sessions, once it's given a credential to - * authenticate itself with the server, the object will automatically - * add authentication info (the MESSAGE-INTEGRITY) to the request as - * well as authenticate the response. It will also handle long-term - * authentication challenges, including handling of nonce expiration, - * and retry the request automatically. For server sessions, it can - * be configured to authenticate incoming requests automatically. - * - * - static or dynamic credential:\n - * application may specify static or dynamic credential to be used by - * the STUN session. Static credential means a static combination of - * username and password (and these cannot change during the session - * duration), while dynamic credential provides callback to ask the - * application about which username/password to use everytime - * authentication is about to be performed. - * - * - client transaction management:\n - * outgoing requests may be sent with a STUN transaction for reliability, - * and the object will manage the transaction internally (including - * performing retransmissions). Application will be notified about the - * result of the request when the response arrives (or the transaction - * times out). When the request is challenged with authentication, the - * object will retry the request with new authentication info, and - * application will be notified about the final result of this request. - * - * - server transaction management:\n - * application may ask response to incoming requests to be cached by - * the object, and in this case the object will check for cached - * response everytime request is received. The cached response will be - * deleted once a timer expires. - * - * \section using_stun_sess_sec Using the STUN session - * - * The following steps describes how to use the STUN session: - * - * - create the object configuration:\n - * The #pj_stun_config contains the configuration to create the STUN - * session, such as the timer heap to register internal timers and - * various STUN timeout values. You can initialize this structure by - * calling #pj_stun_config_init() - * - * - create the STUN session:\n - * by calling #pj_stun_session_create(). Among other things, this - * function requires the instance of #pj_stun_config and also - * #pj_stun_session_cb structure which stores callbacks to send - * outgoing packets as well as to notify application about incoming - * STUN requests, responses, and indicates and other events. - * - * - configure credential:\n - * if authentication is required for the session, configure the - * credential with #pj_stun_session_set_credential() - * - * - configuring other settings:\n - * several APIs are provided to configure the behavior of the STUN - * session (for example, to set the SOFTWARE attribute value, controls - * the logging behavior, fine tune the mutex locking, etc.). Please see - * the API reference for more info. - * - * - creating outgoing STUN requests or indications:\n - * create the STUN message by using #pj_stun_session_create_req() or - * #pj_stun_session_create_ind(). This will create a transmit data - * buffer containing a blank STUN request or indication. You will then - * typically need to add STUN attributes that are relevant to the - * request or indication, but note that some default attributes will - * be added by the session later when the message is sent (such as - * SOFTWARE attribute and attributes related to authentication). - * The message is now ready to be sent. - * - * - sending outgoing message:\n - * use #pj_stun_session_send_msg() to send outgoing STUN messages (this - * includes STUN requests, indications, and responses). The function has - * options whether to retransmit the request (for non reliable transports) - * or to cache the response if we're sending response. This function in - * turn will call the \a on_send_msg() callback of #pj_stun_session_cb - * to request the application to send the packet. - * - * - handling incoming packet:\n - * call #pj_stun_session_on_rx_pkt() everytime the application receives - * a STUN packet. This function will decode the packet and process the - * packet according to the message, and normally this will cause one - * of the callback in the #pj_stun_session_cb to be called to notify - * the application about the event. - * - * - handling incoming requests:\n - * incoming requests are notified to application in the \a on_rx_request - * callback of the #pj_stun_session_cb. If authentication is enabled in - * the session, the application will only receive this callback after - * the incoming request has been authenticated (if the authentication - * fails, the session would respond automatically with 401 error and - * the callback will not be called). Application now must create and - * send response for this request. - * - * - creating and sending response:\n - * create the STUN response with #pj_stun_session_create_res(). This will - * create a transmit data buffer containing a blank STUN response. You - * will then typically need to add STUN attributes that are relevant to - * the response, but note that some default attributes will - * be added by the session later when the message is sent (such as - * SOFTWARE attribute and attributes related to authentication). - * The message is now ready to be sent. Use #pj_stun_session_send_msg() - * (as explained above) to send the response. - * - * - convenient way to send response:\n - * the #pj_stun_session_respond() is provided as a convenient way to - * create and send simple STUN responses, such as error responses. - * - * - destroying the session:\n - * once the session is done, use #pj_stun_session_destroy() to destroy - * the session. - */ - - -/** Forward declaration for pj_stun_tx_data */ -typedef struct pj_stun_tx_data pj_stun_tx_data; - -/** Forward declaration for pj_stun_rx_data */ -typedef struct pj_stun_rx_data pj_stun_rx_data; - -/** Forward declaration for pj_stun_session */ -typedef struct pj_stun_session pj_stun_session; - - -/** - * This is the callback to be registered to pj_stun_session, to send - * outgoing message and to receive various notifications from the STUN - * session. - */ -typedef struct pj_stun_session_cb -{ - /** - * Callback to be called by the STUN session to send outgoing message. - * - * @param sess The STUN session. - * @param token The token associated with this outgoing message - * and was set by the application. This token was - * set by application in pj_stun_session_send_msg() - * for outgoing messages that are initiated by the - * application, or in pj_stun_session_on_rx_pkt() - * if this message is a response that was internally - * generated by the STUN session (for example, an - * 401/Unauthorized response). Application may use - * this facility for any purposes. - * @param pkt Packet to be sent. - * @param pkt_size Size of the packet to be sent. - * @param dst_addr The destination address. - * @param addr_len Length of destination address. - * - * @return The callback should return the status of the - * packet sending. - */ - pj_status_t (*on_send_msg)(pj_stun_session *sess, - void *token, - const void *pkt, - pj_size_t pkt_size, - const pj_sockaddr_t *dst_addr, - unsigned addr_len); - - /** - * Callback to be called on incoming STUN request message. This function - * is called when application calls pj_stun_session_on_rx_pkt() and when - * the STUN session has detected that the incoming STUN message is a - * STUN request message. In the - * callback processing, application MUST create a response by calling - * pj_stun_session_create_response() function and send the response - * with pj_stun_session_send_msg() function, before returning from - * the callback. - * - * @param sess The STUN session. - * @param pkt Pointer to the original STUN packet. - * @param pkt_len Length of the STUN packet. - * @param rdata Data containing incoming request message. - * @param token The token that was set by the application when - * calling pj_stun_session_on_rx_pkt() function. - * @param src_addr Source address of the packet. - * @param src_addr_len Length of the source address. - * - * @return The return value of this callback will be - * returned back to pj_stun_session_on_rx_pkt() - * function. - */ - pj_status_t (*on_rx_request)(pj_stun_session *sess, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_stun_rx_data *rdata, - void *token, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); - - /** - * Callback to be called when response is received or the transaction - * has timed out. This callback is called either when application calls - * pj_stun_session_on_rx_pkt() with the packet containing a STUN - * response for the client transaction, or when the internal timer of - * the STUN client transaction has timed-out before a STUN response is - * received. - * - * @param sess The STUN session. - * @param status Status of the request. If the value if not - * PJ_SUCCESS, the transaction has timed-out - * or other error has occurred, and the response - * argument may be NULL. - * Note that when the status is not success, the - * response may contain non-NULL value if the - * response contains STUN ERROR-CODE attribute. - * @param token The token that was set by the application when - * calling pj_stun_session_send_msg() function. - * Please not that this token IS NOT the token - * that was given in pj_stun_session_on_rx_pkt(). - * @param tdata The original STUN request. - * @param response The response message, on successful transaction, - * or otherwise MAY BE NULL if status is not success. - * Note that when the status is not success, this - * argument may contain non-NULL value if the - * response contains STUN ERROR-CODE attribute. - * @param src_addr The source address where the response was - * received, or NULL if the response is NULL. - * @param src_addr_len The length of the source address. - */ - void (*on_request_complete)(pj_stun_session *sess, - pj_status_t status, - void *token, - pj_stun_tx_data *tdata, - const pj_stun_msg *response, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); - - - /** - * Callback to be called on incoming STUN request message. This function - * is called when application calls pj_stun_session_on_rx_pkt() and when - * the STUN session has detected that the incoming STUN message is a - * STUN indication message. - * - * @param sess The STUN session. - * @param pkt Pointer to the original STUN packet. - * @param pkt_len Length of the STUN packet. - * @param msg The parsed STUN indication. - * @param token The token that was set by the application when - * calling pj_stun_session_on_rx_pkt() function. - * @param src_addr Source address of the packet. - * @param src_addr_len Length of the source address. - * - * @return The return value of this callback will be - * returned back to pj_stun_session_on_rx_pkt() - * function. - */ - pj_status_t (*on_rx_indication)(pj_stun_session *sess, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_stun_msg *msg, - void *token, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); - -} pj_stun_session_cb; - - -/** - * This structure describes incoming request message. - */ -struct pj_stun_rx_data -{ - /** - * The parsed request message. - */ - pj_stun_msg *msg; - - /** - * Credential information that is found and used to authenticate - * incoming request. Application may use this information when - * generating authentication for the outgoing response. - */ - pj_stun_req_cred_info info; -}; - - -/** - * This structure describe the outgoing STUN transmit data to carry the - * message to be sent. - */ -struct pj_stun_tx_data -{ - /** PJLIB list interface */ - PJ_DECL_LIST_MEMBER(struct pj_stun_tx_data); - - pj_pool_t *pool; /**< Pool. */ - pj_stun_session *sess; /**< The STUN session. */ - pj_stun_msg *msg; /**< The STUN message. */ - - void *token; /**< The token. */ - - pj_stun_client_tsx *client_tsx; /**< Client STUN transaction. */ - pj_bool_t retransmit; /**< Retransmit request? */ - pj_uint32_t msg_magic; /**< Message magic. */ - pj_uint8_t msg_key[12]; /**< Message/transaction key. */ - - pj_stun_req_cred_info auth_info; /**< Credential info */ - - void *pkt; /**< The STUN packet. */ - unsigned max_len; /**< Length of packet buffer. */ - pj_size_t pkt_size; /**< The actual length of STUN pkt. */ - - unsigned addr_len; /**< Length of destination address. */ - const pj_sockaddr_t *dst_addr; /**< Destination address. */ - - pj_timer_entry res_timer; /**< Response cache timer. */ -}; - - -/** - * These are the flags to control the message logging in the STUN session. - */ -typedef enum pj_stun_sess_msg_log_flag -{ - PJ_STUN_SESS_LOG_TX_REQ=1, /**< Log outgoing STUN requests. */ - PJ_STUN_SESS_LOG_TX_RES=2, /**< Log outgoing STUN responses. */ - PJ_STUN_SESS_LOG_TX_IND=4, /**< Log outgoing STUN indications. */ - - PJ_STUN_SESS_LOG_RX_REQ=8, /**< Log incoming STUN requests. */ - PJ_STUN_SESS_LOG_RX_RES=16, /**< Log incoming STUN responses */ - PJ_STUN_SESS_LOG_RX_IND=32 /**< Log incoming STUN indications */ -} pj_stun_sess_msg_log_flag; - - -/** - * Create a STUN session. - * - * @param cfg The STUN endpoint, to be used to register timers etc. - * @param name Optional name to be associated with this instance. The - * name will be used for example for logging purpose. - * @param cb Session callback. - * @param fingerprint Enable message fingerprint for outgoing messages. - * @param p_sess Pointer to receive STUN session instance. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_session_create(pj_stun_config *cfg, - const char *name, - const pj_stun_session_cb *cb, - pj_bool_t fingerprint, - pj_stun_session **p_sess); - -/** - * Destroy the STUN session and all objects created in the context of - * this session. - * - * @param sess The STUN session instance. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - * This function will return PJ_EPENDING if the operation - * cannot be performed immediately because callbacks are - * being called; in this case the session will be destroyed - * as soon as the last callback returns. - */ -PJ_DECL(pj_status_t) pj_stun_session_destroy(pj_stun_session *sess); - -/** - * Associated an arbitrary data with this STUN session. The user data may - * be retrieved later with pj_stun_session_get_user_data() function. - * - * @param sess The STUN session instance. - * @param user_data The user data. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_session_set_user_data(pj_stun_session *sess, - void *user_data); - -/** - * Retrieve the user data previously associated to this STUN session with - * pj_stun_session_set_user_data(). - * - * @param sess The STUN session instance. - * - * @return The user data associated with this STUN session. - */ -PJ_DECL(void*) pj_stun_session_get_user_data(pj_stun_session *sess); - -/** - * Change the lock object used by the STUN session. By default, the STUN - * session uses a mutex to protect its internal data. If application already - * protects access to STUN session with higher layer lock, it may disable - * the mutex protection in the STUN session by changing the STUN session - * lock to a NULL mutex. - * - * @param sess The STUN session instance. - * @param lock New lock instance to be used by the STUN session. - * @param auto_del Specify whether STUN session should destroy this - * lock instance when it's destroyed. - */ -PJ_DECL(pj_status_t) pj_stun_session_set_lock(pj_stun_session *sess, - pj_lock_t *lock, - pj_bool_t auto_del); - -/** - * Set SOFTWARE name to be included in all requests and responses. - * - * @param sess The STUN session instance. - * @param sw Software name string. If this argument is NULL or - * empty, the session will not include SOFTWARE attribute - * in STUN requests and responses. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_session_set_software_name(pj_stun_session *sess, - const pj_str_t *sw); - -/** - * Set credential to be used by this session. Once credential is set, all - * outgoing messages will include MESSAGE-INTEGRITY, and all incoming - * message will be authenticated against this credential. - * - * To disable authentication after it has been set, call this function - * again with NULL as the argument. - * - * @param sess The STUN session instance. - * @param auth_type Type of authentication. - * @param cred The credential to be used by this session. If NULL - * is specified, authentication will be disabled. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_session_set_credential(pj_stun_session *sess, - pj_stun_auth_type auth_type, - const pj_stun_auth_cred *cred); -/** - * Configure message logging. By default all flags are enabled. - * - * @param sess The STUN session instance. - * @param flags Bitmask combination of #pj_stun_sess_msg_log_flag - */ -PJ_DECL(void) pj_stun_session_set_log(pj_stun_session *sess, - unsigned flags); -/** - * Configure whether the STUN session should utilize FINGERPRINT in - * outgoing messages. - * - * @param sess The STUN session instance. - * @param use Boolean for the setting. - * - * @return The previous configured value of FINGERPRINT - * utilization of the sessoin. - */ -PJ_DECL(pj_bool_t) pj_stun_session_use_fingerprint(pj_stun_session *sess, - pj_bool_t use); - -/** - * Create a STUN request message. After the message has been successfully - * created, application can send the message by calling - * pj_stun_session_send_msg(). - * - * @param sess The STUN session instance. - * @param msg_type The STUN request message type, from pj_stun_method_e or - * from pj_stun_msg_type. - * @param magic STUN magic, use PJ_STUN_MAGIC. - * @param tsx_id Optional transaction ID. - * @param p_tdata Pointer to receive STUN transmit data instance containing - * the request. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_session_create_req(pj_stun_session *sess, - int msg_type, - pj_uint32_t magic, - const pj_uint8_t tsx_id[12], - pj_stun_tx_data **p_tdata); - -/** - * Create a STUN Indication message. After the message has been successfully - * created, application can send the message by calling - * pj_stun_session_send_msg(). - * - * @param sess The STUN session instance. - * @param msg_type The STUN request message type, from pj_stun_method_e or - * from pj_stun_msg_type. This function will add the - * indication bit as necessary. - * @param p_tdata Pointer to receive STUN transmit data instance containing - * the message. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_session_create_ind(pj_stun_session *sess, - int msg_type, - pj_stun_tx_data **p_tdata); - -/** - * Create a STUN response message. After the message has been - * successfully created, application can send the message by calling - * pj_stun_session_send_msg(). Alternatively application may use - * pj_stun_session_respond() to create and send response in one function - * call. - * - * @param sess The STUN session instance. - * @param rdata The STUN request where the response is to be created. - * @param err_code Error code to be set in the response, if error response - * is to be created, according to pj_stun_status enumeration. - * This argument MUST be zero if successful response is - * to be created. - * @param err_msg Optional pointer for the error message string, when - * creating error response. If the value is NULL and the - * \a err_code is non-zero, then default error message will - * be used. - * @param p_tdata Pointer to receive the response message created. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_session_create_res(pj_stun_session *sess, - const pj_stun_rx_data *rdata, - unsigned err_code, - const pj_str_t *err_msg, - pj_stun_tx_data **p_tdata); - -/** - * Send STUN message to the specified destination. This function will encode - * the pj_stun_msg instance to a packet buffer, and add credential or - * fingerprint if necessary. If the message is a request, the session will - * also create and manage a STUN client transaction to be used to manage the - * retransmission of the request. After the message has been encoded and - * transaction is setup, the \a on_send_msg() callback of pj_stun_session_cb - * (which is registered when the STUN session is created) will be called - * to actually send the message to the wire. - * - * @param sess The STUN session instance. - * @param token Optional token which will be given back to application in - * \a on_send_msg() callback and \a on_request_complete() - * callback, if the message is a STUN request message. - * Internally this function will put the token in the - * \a token field of pj_stun_tx_data, hence it will - * overwrite any value that the application puts there. - * @param cache_res If the message is a response message for an incoming - * request, specify PJ_TRUE to instruct the STUN session - * to cache this response for subsequent incoming request - * retransmission. Otherwise this parameter will be ignored - * for non-response message. - * @param retransmit If the message is a request message, specify whether the - * request should be retransmitted. Normally application will - * specify TRUE if the underlying transport is UDP and FALSE - * if the underlying transport is TCP or TLS. - * @param dst_addr The destination socket address. - * @param addr_len Length of destination address. - * @param tdata The STUN transmit data containing the STUN message to - * be sent. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - * This function will return PJNATH_ESTUNDESTROYED if - * application has destroyed the session in - * \a on_send_msg() callback. - */ -PJ_DECL(pj_status_t) pj_stun_session_send_msg(pj_stun_session *sess, - void *token, - pj_bool_t cache_res, - pj_bool_t retransmit, - const pj_sockaddr_t *dst_addr, - unsigned addr_len, - pj_stun_tx_data *tdata); - -/** - * This is a utility function to create and send response for an incoming - * STUN request. Internally this function calls pj_stun_session_create_res() - * and pj_stun_session_send_msg(). It is provided here as a matter of - * convenience. - * - * @param sess The STUN session instance. - * @param rdata The STUN request message to be responded. - * @param code Error code to be set in the response, if error response - * is to be created, according to pj_stun_status enumeration. - * This argument MUST be zero if successful response is - * to be created. - * @param err_msg Optional pointer for the error message string, when - * creating error response. If the value is NULL and the - * \a err_code is non-zero, then default error message will - * be used. - * @param token Optional token which will be given back to application in - * \a on_send_msg() callback and \a on_request_complete() - * callback, if the message is a STUN request message. - * Internally this function will put the token in the - * \a token field of pj_stun_tx_data, hence it will - * overwrite any value that the application puts there. - * @param cache Specify whether session should cache this response for - * future request retransmission. If TRUE, subsequent request - * retransmission will be handled by the session and it - * will not call request callback. - * @param dst_addr Destination address of the response (or equal to the - * source address of the original request). - * @param addr_len Address length. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - * This function will return PJNATH_ESTUNDESTROYED if - * application has destroyed the session in - * \a on_send_msg() callback. - */ -PJ_DECL(pj_status_t) pj_stun_session_respond(pj_stun_session *sess, - const pj_stun_rx_data *rdata, - unsigned code, - const char *err_msg, - void *token, - pj_bool_t cache, - const pj_sockaddr_t *dst_addr, - unsigned addr_len); - -/** - * Cancel outgoing STUN transaction. This operation is only valid for outgoing - * STUN request, to cease retransmission of the request and destroy the - * STUN client transaction that is used to send the request. - * - * @param sess The STUN session instance. - * @param tdata The request message previously sent. - * @param notify Specify whether \a on_request_complete() callback should - * be called. - * @param status If \a on_request_complete() callback is to be called, - * specify the error status to be given when calling the - * callback. This error status MUST NOT be PJ_SUCCESS. - * - * @return PJ_SUCCESS if transaction is successfully cancelled. - * This function will return PJNATH_ESTUNDESTROYED if - * application has destroyed the session in - * \a on_request_complete() callback. - */ -PJ_DECL(pj_status_t) pj_stun_session_cancel_req(pj_stun_session *sess, - pj_stun_tx_data *tdata, - pj_bool_t notify, - pj_status_t status); - -/** - * Explicitly request retransmission of the request. Normally application - * doesn't need to do this, but this functionality is needed by ICE to - * speed up connectivity check completion. - * - * @param sess The STUN session instance. - * @param tdata The request message previously sent. - * - * @return PJ_SUCCESS on success, or the appropriate error. - * This function will return PJNATH_ESTUNDESTROYED if - * application has destroyed the session in \a on_send_msg() - * callback. - */ -PJ_DECL(pj_status_t) pj_stun_session_retransmit_req(pj_stun_session *sess, - pj_stun_tx_data *tdata); - - -/** - * Application must call this function to notify the STUN session about - * the arrival of STUN packet. The STUN packet MUST have been checked - * first with #pj_stun_msg_check() to verify that this is indeed a valid - * STUN packet. - * - * The STUN session will decode the packet into pj_stun_msg, and process - * the message accordingly. If the message is a response, it will search - * through the outstanding STUN client transactions for a matching - * transaction ID and hand over the response to the transaction. - * - * On successful message processing, application will be notified about - * the message via one of the pj_stun_session_cb callback. - * - * @param sess The STUN session instance. - * @param packet The packet containing STUN message. - * @param pkt_size Size of the packet. - * @param options Options, from #pj_stun_decode_options. - * @param parsed_len Optional pointer to receive the size of the parsed - * STUN message (useful if packet is received via a - * stream oriented protocol). - * @param token Optional token which will be given back to application - * in the \a on_rx_request(), \a on_rx_indication() and - * \a on_send_msg() callbacks. The token can be used to - * associate processing or incoming request or indication - * with some context. - * @param src_addr The source address of the packet, which will also - * be given back to application callbacks, along with - * source address length. - * @param src_addr_len Length of the source address. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - * This function will return PJNATH_ESTUNDESTROYED if - * application has destroyed the session in one of the - * callback. - */ -PJ_DECL(pj_status_t) pj_stun_session_on_rx_pkt(pj_stun_session *sess, - const void *packet, - pj_size_t pkt_size, - unsigned options, - void *token, - pj_size_t *parsed_len, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); - -/** - * Destroy the transmit data. Call this function only when tdata has been - * created but application doesn't want to send the message (perhaps - * because of other error). - * - * @param sess The STUN session. - * @param tdata The transmit data. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(void) pj_stun_msg_destroy_tdata(pj_stun_session *sess, - pj_stun_tx_data *tdata); - - -/** - * @} - */ - - -PJ_END_DECL - -#endif /* __PJNATH_STUN_SESSION_H__ */ - diff --git a/res/pjproject/pjnath/include/pjnath/stun_sock.h b/res/pjproject/pjnath/include/pjnath/stun_sock.h deleted file mode 100644 index 08b0c71140..0000000000 --- a/res/pjproject/pjnath/include/pjnath/stun_sock.h +++ /dev/null @@ -1,446 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJNATH_STUN_SOCK_H__ -#define __PJNATH_STUN_SOCK_H__ - -/** - * @file stun_sock.h - * @brief STUN aware socket transport - */ -#include -#include -#include -#include -#include - - -PJ_BEGIN_DECL - - -/** - * @addtogroup PJNATH_STUN_SOCK - * @{ - * - * The STUN transport provides asynchronous UDP like socket transport - * with the additional STUN capability. It has the following features: - * - * - API to send and receive UDP packets - * - * - multiplex STUN and non-STUN incoming packets and distinguish between - * STUN responses that belong to internal requests with application data - * (the application data may be STUN packets as well) - * - * - DNS SRV resolution to the STUN server (if wanted), along with fallback - * to DNS A resolution if SRV record is not found. - * - * - STUN keep-alive maintenance, and handle changes to the mapped address - * (when the NAT binding changes) - * - */ - -/** - * Opaque type to represent a STUN transport. - */ -typedef struct pj_stun_sock pj_stun_sock; - -/** - * Types of operation being reported in \a on_status() callback of - * pj_stun_sock_cb. Application may retrieve the string representation - * of these constants with pj_stun_sock_op_name(). - */ -typedef enum pj_stun_sock_op -{ - /** - * Asynchronous DNS resolution. - */ - PJ_STUN_SOCK_DNS_OP = 1, - - /** - * Initial STUN Binding request. - */ - PJ_STUN_SOCK_BINDING_OP, - - /** - * Subsequent STUN Binding request for keeping the binding - * alive. - */ - PJ_STUN_SOCK_KEEP_ALIVE_OP, - - /** - * IP address change notification from the keep-alive operation. - */ - PJ_STUN_SOCK_MAPPED_ADDR_CHANGE - - -} pj_stun_sock_op; - - -/** - * This structure contains callbacks that will be called by the STUN - * transport to notify application about various events. - */ -typedef struct pj_stun_sock_cb -{ - /** - * Notification when incoming packet has been received. - * - * @param stun_sock The STUN transport. - * @param data The packet. - * @param data_len Length of the packet. - * @param src_addr The source address of the packet. - * @param addr_len The length of the source address. - * - * @return Application should normally return PJ_TRUE to let - * the STUN transport continue its operation. However - * it must return PJ_FALSE if it has destroyed the - * STUN transport in this callback. - */ - pj_bool_t (*on_rx_data)(pj_stun_sock *stun_sock, - void *pkt, - unsigned pkt_len, - const pj_sockaddr_t *src_addr, - unsigned addr_len); - - /** - * Notifification when asynchronous send operation has completed. - * - * @param stun_sock The STUN transport. - * @param send_key The send operation key that was given in - * #pj_stun_sock_sendto(). - * @param sent If value is positive non-zero it indicates the - * number of data sent. When the value is negative, - * it contains the error code which can be retrieved - * by negating the value (i.e. status=-sent). - * - * @return Application should normally return PJ_TRUE to let - * the STUN transport continue its operation. However - * it must return PJ_FALSE if it has destroyed the - * STUN transport in this callback. - */ - pj_bool_t (*on_data_sent)(pj_stun_sock *stun_sock, - pj_ioqueue_op_key_t *send_key, - pj_ssize_t sent); - - /** - * Notification when the status of the STUN transport has changed. This - * callback may be called for the following conditions: - * - the first time the publicly mapped address has been resolved from - * the STUN server, this callback will be called with \a op argument - * set to PJ_STUN_SOCK_BINDING_OP \a status argument set to - * PJ_SUCCESS. - * - anytime when the transport has detected that the publicly mapped - * address has changed, this callback will be called with \a op - * argument set to PJ_STUN_SOCK_KEEP_ALIVE_OP and \a status - * argument set to PJ_SUCCESS. On this case and the case above, - * application will get the resolved public address in the - * #pj_stun_sock_info structure. - * - for any terminal error (such as STUN time-out, DNS resolution - * failure, or keep-alive failure), this callback will be called - * with the \a status argument set to non-PJ_SUCCESS. - * - * @param stun_sock The STUN transport. - * @param op The operation that triggers the callback. - * @param status The status. - * - * @return Must return PJ_FALSE if it has destroyed the - * STUN transport in this callback. Application should - * normally destroy the socket and return PJ_FALSE - * upon encountering terminal error, otherwise it - * should return PJ_TRUE to let the STUN socket operation - * continues. - */ - pj_bool_t (*on_status)(pj_stun_sock *stun_sock, - pj_stun_sock_op op, - pj_status_t status); - -} pj_stun_sock_cb; - - -/** - * This structure contains information about the STUN transport. Application - * may query this information by calling #pj_stun_sock_get_info(). - */ -typedef struct pj_stun_sock_info -{ - /** - * The bound address of the socket. - */ - pj_sockaddr bound_addr; - - /** - * IP address of the STUN server. - */ - pj_sockaddr srv_addr; - - /** - * The publicly mapped address. It may contain zero address when the - * mapped address has not been resolved. Application may query whether - * this field contains valid address with pj_sockaddr_has_addr(). - */ - pj_sockaddr mapped_addr; - - /** - * Number of interface address aliases. The interface address aliases - * are list of all interface addresses in this host. - */ - unsigned alias_cnt; - - /** - * Array of interface address aliases. - */ - pj_sockaddr aliases[PJ_ICE_ST_MAX_CAND]; - -} pj_stun_sock_info; - - -/** - * This describe the settings to be given to the STUN transport during its - * creation. Application should initialize this structure by calling - * #pj_stun_sock_cfg_default(). - */ -typedef struct pj_stun_sock_cfg -{ - /** - * Packet buffer size. Default value is PJ_STUN_SOCK_PKT_LEN. - */ - unsigned max_pkt_size; - - /** - * Specify the number of simultaneous asynchronous read operations to - * be invoked to the ioqueue. Having more than one read operations will - * increase performance on multiprocessor systems since the application - * will be able to process more than one incoming packets simultaneously. - * Default value is 1. - */ - unsigned async_cnt; - - /** - * Specify the interface where the socket should be bound to. If the - * address is zero, socket will be bound to INADDR_ANY. If the address - * is non-zero, socket will be bound to this address only, and the - * transport will have only one address alias (the \a alias_cnt field - * in #pj_stun_sock_info structure. - */ - pj_sockaddr bound_addr; - - /** - * Specify the STUN keep-alive duration, in seconds. The STUN transport - * does keep-alive by sending STUN Binding request to the STUN server. - * If this value is zero, the PJ_STUN_KEEP_ALIVE_SEC value will be used. - * If the value is negative, it will disable STUN keep-alive. - */ - int ka_interval; - - /** - * QoS traffic type to be set on this transport. When application wants - * to apply QoS tagging to the transport, it's preferable to set this - * field rather than \a qos_param fields since this is more portable. - * - * Default value is PJ_QOS_TYPE_BEST_EFFORT. - */ - pj_qos_type qos_type; - - /** - * Set the low level QoS parameters to the transport. This is a lower - * level operation than setting the \a qos_type field and may not be - * supported on all platforms. - * - * By default all settings in this structure are disabled. - */ - pj_qos_params qos_params; - - /** - * Specify if STUN socket should ignore any errors when setting the QoS - * traffic type/parameters. - * - * Default: PJ_TRUE - */ - pj_bool_t qos_ignore_error; - -} pj_stun_sock_cfg; - - - -/** - * Retrieve the name representing the specified operation. - */ -PJ_DECL(const char*) pj_stun_sock_op_name(pj_stun_sock_op op); - - -/** - * Initialize the STUN transport setting with its default values. - * - * @param cfg The STUN transport config. - */ -PJ_DECL(void) pj_stun_sock_cfg_default(pj_stun_sock_cfg *cfg); - - -/** - * Create the STUN transport using the specified configuration. Once - * the STUN transport has been create, application should call - * #pj_stun_sock_start() to start the transport. - * - * @param stun_cfg The STUN configuration which contains among other - * things the ioqueue and timer heap instance for - * the operation of this transport. - * @param af Address family of socket. Currently pj_AF_INET() - * and pj_AF_INET6() are supported. - * @param name Optional name to be given to this transport to - * assist debugging. - * @param cb Callback to receive events/data from the transport. - * @param cfg Optional transport settings. - * @param user_data Arbitrary application data to be associated with - * this transport. - * @param p_sock Pointer to receive the created transport instance. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_stun_sock_create(pj_stun_config *stun_cfg, - const char *name, - int af, - const pj_stun_sock_cb *cb, - const pj_stun_sock_cfg *cfg, - void *user_data, - pj_stun_sock **p_sock); - - -/** - * Start the STUN transport. This will start the DNS SRV resolution for - * the STUN server (if desired), and once the server is resolved, STUN - * Binding request will be sent to resolve the publicly mapped address. - * Once the initial STUN Binding response is received, the keep-alive - * timer will be started. - * - * @param stun_sock The STUN transport instance. - * @param domain The domain, hostname, or IP address of the TURN - * server. When this parameter contains domain name, - * the \a resolver parameter must be set to activate - * DNS SRV resolution. - * @param default_port The default STUN port number to use when DNS SRV - * resolution is not used. If DNS SRV resolution is - * used, the server port number will be set from the - * DNS SRV records. The recommended value for this - * parameter is PJ_STUN_PORT. - * @param resolver If this parameter is not NULL, then the \a domain - * parameter will be first resolved with DNS SRV and - * then fallback to using DNS A/AAAA resolution when - * DNS SRV resolution fails. If this parameter is - * NULL, the \a domain parameter will be resolved as - * hostname. - * - * @return PJ_SUCCESS if the operation has been successfully - * queued, or the appropriate error code on failure. - * When this function returns PJ_SUCCESS, the final - * result of the allocation process will be notified - * to application in \a on_state() callback. - */ -PJ_DECL(pj_status_t) pj_stun_sock_start(pj_stun_sock *stun_sock, - const pj_str_t *domain, - pj_uint16_t default_port, - pj_dns_resolver *resolver); - -/** - * Destroy the STUN transport. - * - * @param sock The STUN transport socket. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_stun_sock_destroy(pj_stun_sock *sock); - - -/** - * Associate a user data with this STUN transport. The user data may then - * be retrieved later with #pj_stun_sock_get_user_data(). - * - * @param stun_sock The STUN transport instance. - * @param user_data Arbitrary data. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_stun_sock_set_user_data(pj_stun_sock *stun_sock, - void *user_data); - -/** - * Retrieve the previously assigned user data associated with this STUN - * transport. - * - * @param stun_sock The STUN transport instance. - * - * @return The user/application data. - */ -PJ_DECL(void*) pj_stun_sock_get_user_data(pj_stun_sock *stun_sock); - - -/** - * Get the STUN transport info. The transport info contains, among other - * things, the allocated relay address. - * - * @param stun_sock The STUN transport instance. - * @param info Pointer to be filled with STUN transport info. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_stun_sock_get_info(pj_stun_sock *stun_sock, - pj_stun_sock_info *info); - - -/** - * Send a data to the specified address. This function may complete - * asynchronously and in this case \a on_data_sent() will be called. - * - * @param stun_sock The STUN transport instance. - * @param send_key Optional send key for sending the packet down to - * the ioqueue. This value will be given back to - * \a on_data_sent() callback - * @param pkt The data/packet to be sent to peer. - * @param pkt_len Length of the data. - * @param flag pj_ioqueue_sendto() flag. - * @param dst_addr The remote address. - * @param addr_len Length of the address. - * - * @return PJ_SUCCESS if data has been sent immediately, or - * PJ_EPENDING if data cannot be sent immediately. In - * this case the \a on_data_sent() callback will be - * called when data is actually sent. Any other return - * value indicates error condition. - */ -PJ_DECL(pj_status_t) pj_stun_sock_sendto(pj_stun_sock *stun_sock, - pj_ioqueue_op_key_t *send_key, - const void *pkt, - unsigned pkt_len, - unsigned flag, - const pj_sockaddr_t *dst_addr, - unsigned addr_len); - -/** - * @} - */ - - -PJ_END_DECL - - -#endif /* __PJNATH_STUN_SOCK_H__ */ - diff --git a/res/pjproject/pjnath/include/pjnath/stun_transaction.h b/res/pjproject/pjnath/include/pjnath/stun_transaction.h deleted file mode 100644 index 61d563ea20..0000000000 --- a/res/pjproject/pjnath/include/pjnath/stun_transaction.h +++ /dev/null @@ -1,276 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJNATH_STUN_TRANSACTION_H__ -#define __PJNATH_STUN_TRANSACTION_H__ - -/** - * @file stun_transaction.h - * @brief STUN transaction - */ - -#include -#include - - -PJ_BEGIN_DECL - - -/* **************************************************************************/ -/** - * @defgroup PJNATH_STUN_TRANSACTION STUN Client Transaction - * @brief STUN client transaction - * @ingroup PJNATH_STUN_BASE - * @{ - * - The @ref PJNATH_STUN_TRANSACTION is used to manage outgoing STUN request, - for example to retransmit the request and to notify application about the - completion of the request. - - The @ref PJNATH_STUN_TRANSACTION does not use any networking operations, - but instead application must supply the transaction with a callback to - be used by the transaction to send outgoing requests. This way the STUN - transaction is made more generic and can work with different types of - networking codes in application. - - - */ - -/** - * Opaque declaration of STUN client transaction. - */ -typedef struct pj_stun_client_tsx pj_stun_client_tsx; - -/** - * STUN client transaction callback. - */ -typedef struct pj_stun_tsx_cb -{ - /** - * This callback is called when the STUN transaction completed. - * - * @param tsx The STUN transaction. - * @param status Status of the transaction. Status PJ_SUCCESS - * means that the request has received a successful - * response. - * @param response The STUN response, which value may be NULL if - * \a status is not PJ_SUCCESS. - * @param src_addr The source address of the response, if response - * is not NULL. - * @param src_addr_len The length of the source address. - */ - void (*on_complete)(pj_stun_client_tsx *tsx, - pj_status_t status, - const pj_stun_msg *response, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); - - /** - * This callback is called by the STUN transaction when it wants to send - * outgoing message. - * - * @param tsx The STUN transaction instance. - * @param stun_pkt The STUN packet to be sent. - * @param pkt_size Size of the STUN packet. - * - * @return If return value of the callback is not PJ_SUCCESS, - * the transaction will fail. Application MUST return - * PJNATH_ESTUNDESTROYED if it has destroyed the - * transaction in this callback. - */ - pj_status_t (*on_send_msg)(pj_stun_client_tsx *tsx, - const void *stun_pkt, - pj_size_t pkt_size); - - /** - * This callback is called after the timer that was scheduled by - * #pj_stun_client_tsx_schedule_destroy() has elapsed. Application - * should call #pj_stun_client_tsx_destroy() upon receiving this - * callback. - * - * This callback is optional if application will not call - * #pj_stun_client_tsx_schedule_destroy(). - * - * @param tsx The STUN transaction instance. - */ - void (*on_destroy)(pj_stun_client_tsx *tsx); - -} pj_stun_tsx_cb; - - - -/** - * Create an instance of STUN client transaction. The STUN client - * transaction is used to transmit outgoing STUN request and to - * ensure the reliability of the request by periodically retransmitting - * the request, if necessary. - * - * @param cfg The STUN endpoint, which will be used to retrieve - * various settings for the transaction. - * @param pool Pool to be used to allocate memory from. - * @param cb Callback structure, to be used by the transaction - * to send message and to notify the application about - * the completion of the transaction. - * @param p_tsx Pointer to receive the transaction instance. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_client_tsx_create( pj_stun_config *cfg, - pj_pool_t *pool, - const pj_stun_tsx_cb *cb, - pj_stun_client_tsx **p_tsx); - -/** - * Schedule timer to destroy the transaction after the transaction is - * complete. Application normally calls this function in the on_complete() - * callback. When this timer elapsed, the on_destroy() callback will be - * called. - * - * This is convenient to let the STUN transaction absorbs any response - * for the previous request retransmissions. If application doesn't want - * this, it can destroy the transaction immediately by calling - * #pj_stun_client_tsx_destroy(). - * - * @param tsx The STUN transaction. - * @param delay The delay interval before on_destroy() callback - * is called. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) -pj_stun_client_tsx_schedule_destroy(pj_stun_client_tsx *tsx, - const pj_time_val *delay); - - -/** - * Destroy a STUN client transaction immediately. This function can be - * called at any time to stop the transaction and destroy it. - * - * @param tsx The STUN transaction. - * - * @return PJ_SUCCESS on success or PJ_EINVAL if the parameter - * is NULL. - */ -PJ_DECL(pj_status_t) pj_stun_client_tsx_destroy(pj_stun_client_tsx *tsx); - - -/** - * Check if transaction has completed. - * - * @param tsx The STUN transaction. - * - * @return Non-zero if transaction has completed. - */ -PJ_DECL(pj_bool_t) pj_stun_client_tsx_is_complete(pj_stun_client_tsx *tsx); - - -/** - * Associate an arbitrary data with the STUN transaction. This data - * can be then retrieved later from the transaction, by using - * pj_stun_client_tsx_get_data() function. - * - * @param tsx The STUN client transaction. - * @param data Application data to be associated with the - * STUN transaction. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pj_stun_client_tsx_set_data(pj_stun_client_tsx *tsx, - void *data); - - -/** - * Get the user data that was previously associated with the STUN - * transaction. - * - * @param tsx The STUN client transaction. - * - * @return The user data. - */ -PJ_DECL(void*) pj_stun_client_tsx_get_data(pj_stun_client_tsx *tsx); - - -/** - * Start the STUN client transaction by sending STUN request using - * this transaction. If reliable transport such as TCP or TLS is used, - * the retransmit flag should be set to PJ_FALSE because reliablity - * will be assured by the transport layer. - * - * @param tsx The STUN client transaction. - * @param retransmit Should this message be retransmitted by the - * STUN transaction. - * @param pkt The STUN packet to send. - * @param pkt_len Length of STUN packet. - * - * @return PJ_SUCCESS on success, or PJNATH_ESTUNDESTROYED - * when the user has destroyed the transaction in - * \a on_send_msg() callback, or any other error code - * as returned by \a on_send_msg() callback. - */ -PJ_DECL(pj_status_t) pj_stun_client_tsx_send_msg(pj_stun_client_tsx *tsx, - pj_bool_t retransmit, - void *pkt, - unsigned pkt_len); - -/** - * Request to retransmit the request. Normally application should not need - * to call this function since retransmission would be handled internally, - * but this functionality is needed by ICE. - * - * @param tsx The STUN client transaction instance. - * - * @return PJ_SUCCESS on success, or PJNATH_ESTUNDESTROYED - * when the user has destroyed the transaction in - * \a on_send_msg() callback, or any other error code - * as returned by \a on_send_msg() callback. - */ -PJ_DECL(pj_status_t) pj_stun_client_tsx_retransmit(pj_stun_client_tsx *tsx); - - -/** - * Notify the STUN transaction about the arrival of STUN response. - * If the STUN response contains a final error (300 and greater), the - * transaction will be terminated and callback will be called. If the - * STUN response contains response code 100-299, retransmission - * will cease, but application must still call this function again - * with a final response later to allow the transaction to complete. - * - * @param tsx The STUN client transaction instance. - * @param msg The incoming STUN message. - * @param src_addr The source address of the packet. - * @param src_addr_len The length of the source address. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_stun_client_tsx_on_rx_msg(pj_stun_client_tsx *tsx, - const pj_stun_msg *msg, - const pj_sockaddr_t*src_addr, - unsigned src_addr_len); - - -/** - * @} - */ - - -PJ_END_DECL - - -#endif /* __PJNATH_STUN_TRANSACTION_H__ */ - diff --git a/res/pjproject/pjnath/include/pjnath/turn_session.h b/res/pjproject/pjnath/include/pjnath/turn_session.h deleted file mode 100644 index 64bde93eec..0000000000 --- a/res/pjproject/pjnath/include/pjnath/turn_session.h +++ /dev/null @@ -1,730 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJNATH_TURN_SESSION_H__ -#define __PJNATH_TURN_SESSION_H__ - -/** - * @file turn_session.h - * @brief Transport independent TURN client session. - */ -#include -#include - - -PJ_BEGIN_DECL - - -/* **************************************************************************/ -/** -@addtogroup PJNATH_TURN_SESSION -@{ - -The \ref PJNATH_TURN_SESSION is a transport-independent object to -manage a client TURN session. It contains the core logic for manage -the TURN client session as listed in \ref turn_op_sec, but -in transport-independent manner (i.e. it doesn't have a socket), so -that developer can integrate TURN client functionality into existing -framework that already has its own means to send and receive data, -or to support new transport types to TURN, such as TLS. - - -\section turn_sess_using_sec Using the TURN session - -These steps describes how to use the TURN session: - - - Creating the session:\n - use #pj_turn_session_create() to create the session. - - - Configuring credential:\n - all TURN operations requires the use of authentication (it uses STUN - long term autentication method). Use #pj_turn_session_set_credential() - to configure the TURN credential to be used by the session. - - - Configuring server:\n - application must call #pj_turn_session_set_server() before it can send - Allocate request (with pj_turn_session_alloc()). This function will - resolve the TURN server using DNS SRV resolution if the \a resolver - is set. The server resolution process will complete asynchronously, - and application will be notified in \a on_state() callback of the - #pj_turn_session_cb structurewith the session state set to - PJ_TURN_STATE_RESOLVED. - - - Creating allocation:\n - create one "relay port" (or called relayed-transport-address - in TURN terminology) in the TURN server by using #pj_turn_session_alloc(). - This will send Allocate request to the server. This function will complete - immediately, and application will be notified about the allocation - result in the \a on_state() callback of the #pj_turn_session_cb structure. - - - Getting the allocation result:\n - if allocation is successful, the session state will progress to - \a PJ_TURN_STATE_READY, otherwise the state will be - \a PJ_TURN_STATE_DEALLOCATED or higher. Session state progression is - reported in the \a on_state() callback of the #pj_turn_session_cb - structure. On successful allocation, application may retrieve the - allocation info by calling #pj_turn_session_get_info(). - - - Sending data through the relay.\n - Once allocation has been created, client may send data to any remote - endpoints (called peers in TURN terminology) via the "relay port". It does - so by calling #pj_turn_session_sendto(), giving the peer address - in the function argument. But note that at this point peers are not allowed - to send data towards the client (via the "relay port") before permission is - installed for that peer. - - - Creating permissions.\n - Permission needs to be created in the TURN server so that a peer can send - data to the client via the relay port (a peer in this case is identified by - its IP address). Without this, when the TURN server receives data from the - peer in the "relay port", it will drop this data. Create the permission by - calling #pj_turn_session_set_perm(), specifying the peer IP address in the - argument (the port part of the address is ignored). More than one IP - addresses may be specified. - - - Receiving data from peers.\n - Once permission has been installed for the peer, any data received by the - TURN server (from that peer) in the "relay port" will be relayed back to - client by the server, and application will be notified via \a on_rx_data - callback of the #pj_turn_session_cb. - - - Using ChannelData.\n - TURN provides optimized framing to the data by using ChannelData - packetization. The client activates this format for the specified peer by - calling #pj_turn_session_bind_channel(). Data sent or received to/for - this peer will then use ChannelData format instead of Send or Data - Indications. - - - Refreshing the allocation, permissions, and channel bindings.\n - Allocations, permissions, and channel bindings will be refreshed by the - session automatically when they about to expire. - - - Destroying the allocation.\n - Once the "relay port" is no longer needed, client destroys the allocation - by calling #pj_turn_session_shutdown(). This function will return - immediately, and application will be notified about the deallocation - result in the \a on_state() callback of the #pj_turn_session_cb structure. - Once the state has reached PJ_TURN_STATE_DESTROYING, application must - assume that the session will be destroyed shortly after. - - */ - -/** - * Opaque declaration for TURN client session. - */ -typedef struct pj_turn_session pj_turn_session; - - -/** - * TURN transport types, which will be used both to specify the connection - * type for reaching TURN server and the type of allocation transport to be - * requested to server (the REQUESTED-TRANSPORT attribute). - */ -typedef enum pj_turn_tp_type -{ - /** - * UDP transport, which value corresponds to IANA protocol number. - */ - PJ_TURN_TP_UDP = 17, - - /** - * TCP transport, which value corresponds to IANA protocol number. - */ - PJ_TURN_TP_TCP = 6, - - /** - * TLS transport. The TLS transport will only be used as the connection - * type to reach the server and never as the allocation transport type. - */ - PJ_TURN_TP_TLS = 255 - -} pj_turn_tp_type; - - -/** TURN session state */ -typedef enum pj_turn_state_t -{ - /** - * TURN session has just been created. - */ - PJ_TURN_STATE_NULL, - - /** - * TURN server has been configured and now is being resolved via - * DNS SRV resolution. - */ - PJ_TURN_STATE_RESOLVING, - - /** - * TURN server has been resolved. If there is pending allocation to - * be done, it will be invoked immediately. - */ - PJ_TURN_STATE_RESOLVED, - - /** - * TURN session has issued ALLOCATE request and is waiting for response - * from the TURN server. - */ - PJ_TURN_STATE_ALLOCATING, - - /** - * TURN session has successfully allocated relay resoruce and now is - * ready to be used. - */ - PJ_TURN_STATE_READY, - - /** - * TURN session has issued deallocate request and is waiting for a - * response from the TURN server. - */ - PJ_TURN_STATE_DEALLOCATING, - - /** - * Deallocate response has been received. Normally the session will - * proceed to DESTROYING state immediately. - */ - PJ_TURN_STATE_DEALLOCATED, - - /** - * TURN session is being destroyed. - */ - PJ_TURN_STATE_DESTROYING - -} pj_turn_state_t; - - -#pragma pack(1) - -/** - * This structure ChannelData header. All the fields are in network byte - * order when it's on the wire. - */ -typedef struct pj_turn_channel_data -{ - pj_uint16_t ch_number; /**< Channel number. */ - pj_uint16_t length; /**< Payload length. */ -} pj_turn_channel_data; - - -#pragma pack() - - -/** - * Callback to receive events from TURN session. - */ -typedef struct pj_turn_session_cb -{ - /** - * This callback will be called by the TURN session whenever it - * needs to send outgoing message. Since the TURN session doesn't - * have a socket on its own, this callback must be implemented. - * - * @param sess The TURN session. - * @param pkt The packet/data to be sent. - * @param pkt_len Length of the packet/data. - * @param dst_addr Destination address of the packet. - * @param addr_len Length of the destination address. - * - * @return The callback should return the status of the - * send operation. - */ - pj_status_t (*on_send_pkt)(pj_turn_session *sess, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_sockaddr_t *dst_addr, - unsigned addr_len); - - /** - * Notification when peer address has been bound successfully to - * a channel number. - * - * This callback is optional since the nature of this callback is - * for information only. - * - * @param sess The TURN session. - * @param peer_addr The peer address. - * @param addr_len Length of the peer address. - * @param ch_num The channel number associated with this peer address. - */ - void (*on_channel_bound)(pj_turn_session *sess, - const pj_sockaddr_t *peer_addr, - unsigned addr_len, - unsigned ch_num); - - /** - * Notification when incoming data has been received, either through - * Data indication or ChannelData message from the TURN server. - * - * @param sess The TURN session. - * @param pkt The data/payload of the Data Indication or ChannelData - * packet. - * @param pkt_len Length of the data/payload. - * @param peer_addr Peer address where this payload was received by - * the TURN server. - * @param addr_len Length of the peer address. - */ - void (*on_rx_data)(pj_turn_session *sess, - void *pkt, - unsigned pkt_len, - const pj_sockaddr_t *peer_addr, - unsigned addr_len); - - /** - * Notification when TURN session state has changed. Application should - * implement this callback at least to know that the TURN session is - * going to be destroyed. - * - * @param sess The TURN session. - * @param old_state The previous state of the session. - * @param new_state The current state of the session. - */ - void (*on_state)(pj_turn_session *sess, - pj_turn_state_t old_state, - pj_turn_state_t new_state); - -} pj_turn_session_cb; - - -/** - * Allocation parameter, which can be given when application calls - * pj_turn_session_alloc() to allocate relay address in the TURN server. - * Application should call pj_turn_alloc_param_default() to initialize - * this structure with the default values. - */ -typedef struct pj_turn_alloc_param -{ - /** - * The requested BANDWIDTH. Default is zero to not request any - * specific bandwidth. Note that this attribute has been deprecated - * after TURN-08 draft, hence application should only use this - * attribute when talking to TURN-07 or older version. - */ - int bandwidth; - - /** - * The requested LIFETIME. Default is zero to not request any - * explicit allocation lifetime. - */ - int lifetime; - - /** - * If set to non-zero, the TURN session will periodically send blank - * Send Indication every PJ_TURN_KEEP_ALIVE_SEC to refresh local - * NAT bindings. Default is zero. - */ - int ka_interval; - -} pj_turn_alloc_param; - - -/** - * This structure describes TURN session info. - */ -typedef struct pj_turn_session_info -{ - /** - * Session state. - */ - pj_turn_state_t state; - - /** - * Last error (if session was terminated because of error) - */ - pj_status_t last_status; - - /** - * Type of connection to the TURN server. - */ - pj_turn_tp_type conn_type; - - /** - * The selected TURN server address. - */ - pj_sockaddr server; - - /** - * Mapped address, as reported by the TURN server. - */ - pj_sockaddr mapped_addr; - - /** - * The relay address - */ - pj_sockaddr relay_addr; - - /** - * Current seconds before allocation expires. - */ - int lifetime; - -} pj_turn_session_info; - - -/** - * Initialize pj_turn_alloc_param with the default values. - * - * @param prm The TURN allocation parameter to be initialized. - */ -PJ_DECL(void) pj_turn_alloc_param_default(pj_turn_alloc_param *prm); - - -/** - * Duplicate pj_turn_alloc_param. - * - * @param pool Pool to allocate memory (currently not used) - * @param dst Destination parameter. - * @param src Source parameter. - */ -PJ_DECL(void) pj_turn_alloc_param_copy(pj_pool_t *pool, - pj_turn_alloc_param *dst, - const pj_turn_alloc_param *src); - -/** - * Get string representation for the given TURN state. - * - * @param state The TURN session state. - * - * @return The state name as NULL terminated string. - */ -PJ_DECL(const char*) pj_turn_state_name(pj_turn_state_t state); - - -/** - * Create a TURN session instance with the specified address family and - * connection type. Once TURN session instance is created, application - * must call pj_turn_session_alloc() to allocate a relay address in the TURN - * server. - * - * @param cfg The STUN configuration which contains among other - * things the ioqueue and timer heap instance for - * the operation of this session. - * @param name Optional name to identify this session in the log. - * @param af Address family of the client connection. Currently - * pj_AF_INET() and pj_AF_INET6() are supported. - * @param conn_type Connection type to the TURN server. - * @param cb Callback to receive events from the TURN session. - * @param options Option flags, currently this value must be zero. - * @param user_data Arbitrary application data to be associated with - * this transport. - * @param p_sess Pointer to receive the created instance of the - * TURN session. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_turn_session_create(const pj_stun_config *cfg, - const char *name, - int af, - pj_turn_tp_type conn_type, - const pj_turn_session_cb *cb, - unsigned options, - void *user_data, - pj_turn_session **p_sess); - -/** - * Shutdown TURN client session. This will gracefully deallocate and - * destroy the client session. - * - * @param sess The TURN client session. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_turn_session_shutdown(pj_turn_session *sess); - - -/** - * Forcefully destroy the TURN session. This will destroy the session - * immediately. If there is an active allocation, the server will not - * be notified about the client destruction. - * - * @param sess The TURN client session. - * @param last_err Optional error code to be set to the session, - * which would be returned back in the \a info - * parameter of #pj_turn_session_get_info(). If - * this argument value is PJ_SUCCESS, the error - * code will not be set. If the session already - * has an error code set, this function will not - * overwrite that error code either. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_turn_session_destroy(pj_turn_session *sess, - pj_status_t last_err); - - -/** - * Get the information about this TURN session and the allocation, if - * any. - * - * @param sess The TURN client session. - * @param info The structure to be initialized with the TURN - * session info. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_turn_session_get_info(pj_turn_session *sess, - pj_turn_session_info *info); - -/** - * Associate a user data with this TURN session. The user data may then - * be retrieved later with pj_turn_session_get_user_data(). - * - * @param sess The TURN client session. - * @param user_data Arbitrary data. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_turn_session_set_user_data(pj_turn_session *sess, - void *user_data); - -/** - * Retrieve the previously assigned user data associated with this TURN - * session. - * - * @param sess The TURN client session. - * - * @return The user/application data. - */ -PJ_DECL(void*) pj_turn_session_get_user_data(pj_turn_session *sess); - - -/** - * Configure message logging. By default all flags are enabled. - * - * @param sess The TURN client session. - * @param flags Bitmask combination of #pj_stun_sess_msg_log_flag - */ -PJ_DECL(void) pj_turn_session_set_log(pj_turn_session *sess, - unsigned flags); - - -/** - * Configure the SOFTWARE name to be sent in all STUN requests by the - * TURN session. - * - * @param sess The TURN client session. - * @param sw Software name string. If this argument is NULL or - * empty, the session will not include SOFTWARE attribute - * in STUN requests and responses. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_turn_session_set_software_name(pj_turn_session *sess, - const pj_str_t *sw); - - -/** - * Set the server or domain name of the server. Before the application - * can send Allocate request (with pj_turn_session_alloc()), it must first - * resolve the server address(es) using this function. This function will - * resolve the TURN server using DNS SRV resolution if the \a resolver - * is set. The server resolution process will complete asynchronously, - * and application will be notified in \a on_state() callback with the - * session state set to PJ_TURN_STATE_RESOLVED. - * - * Application may call with pj_turn_session_alloc() before the server - * resolution completes. In this case, the operation will be queued by - * the session, and it will be sent once the server resolution completes. - * - * @param sess The TURN client session. - * @param domain The domain, hostname, or IP address of the TURN - * server. When this parameter contains domain name, - * the \a resolver parameter must be set to activate - * DNS SRV resolution. - * @param default_port The default TURN port number to use when DNS SRV - * resolution is not used. If DNS SRV resolution is - * used, the server port number will be set from the - * DNS SRV records. - * @param resolver If this parameter is not NULL, then the \a domain - * parameter will be first resolved with DNS SRV and - * then fallback to using DNS A/AAAA resolution when - * DNS SRV resolution fails. If this parameter is - * NULL, the \a domain parameter will be resolved as - * hostname. - * - * @return PJ_SUCCESS if the operation has been successfully - * queued, or the appropriate error code on failure. - * When this function returns PJ_SUCCESS, the final - * result of the resolution process will be notified - * to application in \a on_state() callback. - */ -PJ_DECL(pj_status_t) pj_turn_session_set_server(pj_turn_session *sess, - const pj_str_t *domain, - int default_port, - pj_dns_resolver *resolver); - - -/** - * Set credential to be used to authenticate against TURN server. - * Application must call this function before sending Allocate request - * with pj_turn_session_alloc(). - * - * @param sess The TURN client session - * @param cred STUN credential to be used. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_turn_session_set_credential(pj_turn_session *sess, - const pj_stun_auth_cred *cred); - - -/** - * Allocate a relay address/resource in the TURN server by sending TURN - * Allocate request. Application must first initiate the server resolution - * process with pj_turn_session_set_server() and set the credential to be - * used with pj_turn_session_set_credential() before calling this function. - * - * This function will complete asynchronously, and the application will be - * notified about the allocation result in \a on_state() callback. The - * TURN session state will move to PJ_TURN_STATE_READY if allocation is - * successful, and PJ_TURN_STATE_DEALLOCATING or greater state if allocation - * has failed. - * - * Once allocation has been successful, the TURN session will keep this - * allocation alive until the session is destroyed, by sending periodic - * allocation refresh to the TURN server. - * - * @param sess The TURN client session. - * @param param Optional TURN allocation parameter. - * - * @return PJ_SUCCESS if the operation has been successfully - * initiated or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_turn_session_alloc(pj_turn_session *sess, - const pj_turn_alloc_param *param); - - -/** - * Create or renew permission in the TURN server for the specified peer IP - * addresses. Application must install permission for a particular (peer) - * IP address before it sends any data to that IP address, or otherwise - * the TURN server will drop the data. - * - * @param sess The TURN client session. - * @param addr_cnt Number of IP addresses. - * @param addr Array of peer IP addresses. Only the address family - * and IP address portion of the socket address matter. - * @param options Specify 1 to let the TURN client session automatically - * renew the permission later when they are about to - * expire. - * - * @return PJ_SUCCESS if the operation has been successfully - * issued, or the appropriate error code. Note that - * the operation itself will complete asynchronously. - */ -PJ_DECL(pj_status_t) pj_turn_session_set_perm(pj_turn_session *sess, - unsigned addr_cnt, - const pj_sockaddr addr[], - unsigned options); - - -/** - * Send a data to the specified peer address via the TURN relay. This - * function will encapsulate the data as STUN Send Indication or TURN - * ChannelData packet and send the message to the TURN server. The TURN - * server then will send the data to the peer. - * - * The allocation (pj_turn_session_alloc()) must have been successfully - * created before application can relay any data. - * - * Since TURN session is transport independent, this function will - * ultimately call \a on_send_pkt() callback to request the application - * to actually send the packet containing the data to the TURN server. - * - * @param sess The TURN client session. - * @param pkt The data/packet to be sent to peer. - * @param pkt_len Length of the data. - * @param peer_addr The remote peer address (the ultimate destination - * of the data, and not the TURN server address). - * @param addr_len Length of the address. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_turn_session_sendto(pj_turn_session *sess, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_sockaddr_t *peer_addr, - unsigned addr_len); - -/** - * Optionally establish channel binding for the specified a peer address. - * This function will assign a unique channel number for the peer address - * and request channel binding to the TURN server for this address. When - * a channel has been bound to a peer, the TURN client and TURN server - * will exchange data using ChannelData encapsulation format, which has - * lower bandwidth overhead than Send Indication (the default format used - * when peer address is not bound to a channel). - * - * This function will complete asynchronously, and application will be - * notified about the result in \a on_channel_bound() callback. - * - * @param sess The TURN client session. - * @param peer The remote peer address. - * @param addr_len Length of the address. - * - * @return PJ_SUCCESS if the operation has been successfully - * initiated, or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_turn_session_bind_channel(pj_turn_session *sess, - const pj_sockaddr_t *peer, - unsigned addr_len); - -/** - * Notify TURN client session upon receiving a packet from server. Since - * the TURN session is transport independent, it does not read packet from - * any sockets, and rather relies on application giving it packets that - * are received from the TURN server. The session then processes this packet - * and decides whether it is part of TURN protocol exchange or if it is a - * data to be reported back to user, which in this case it will call the - * \a on_rx_data() callback. - * - * @param sess The TURN client session. - * @param pkt The packet as received from the TURN server. This - * should contain either STUN encapsulated message or - * a ChannelData packet. - * @param pkt_len The length of the packet. - * @param parsed_len Optional argument to receive the number of parsed - * or processed data from the packet. - * - * @return The function may return non-PJ_SUCCESS if it receives - * non-STUN and non-ChannelData packet, or if the - * \a on_rx_data() returns non-PJ_SUCCESS; - */ -PJ_DECL(pj_status_t) pj_turn_session_on_rx_pkt(pj_turn_session *sess, - void *pkt, - pj_size_t pkt_len, - pj_size_t *parsed_len); - - -/** - * @} - */ - - -PJ_END_DECL - - -#endif /* __PJNATH_TURN_SESSION_H__ */ - diff --git a/res/pjproject/pjnath/include/pjnath/turn_sock.h b/res/pjproject/pjnath/include/pjnath/turn_sock.h deleted file mode 100644 index 6057f39e3f..0000000000 --- a/res/pjproject/pjnath/include/pjnath/turn_sock.h +++ /dev/null @@ -1,397 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJNATH_TURN_SOCK_H__ -#define __PJNATH_TURN_SOCK_H__ - -/** - * @file turn_sock.h - * @brief TURN relay using UDP client as transport protocol - */ -#include -#include - - -PJ_BEGIN_DECL - - -/* **************************************************************************/ -/** -@addtogroup PJNATH_TURN_SOCK -@{ - -This is a ready to use object for relaying application data via a TURN server, -by managing all the operations in \ref turn_op_sec. - -\section turnsock_using_sec Using TURN transport - -This object provides a thin wrapper to the \ref PJNATH_TURN_SESSION, hence the -API is very much the same (apart from the obvious difference in the names). -Please see \ref PJNATH_TURN_SESSION for the documentation on how to use the -session. - -\section turnsock_samples_sec Samples - -The \ref turn_client_sample is a sample application to use the -\ref PJNATH_TURN_SOCK. - -Also see \ref samples_page for other samples. - - */ - - -/** - * Opaque declaration for TURN client. - */ -typedef struct pj_turn_sock pj_turn_sock; - -/** - * This structure contains callbacks that will be called by the TURN - * transport. - */ -typedef struct pj_turn_sock_cb -{ - /** - * Notification when incoming data has been received from the remote - * peer via the TURN server. The data reported in this callback will - * be the exact data as sent by the peer (e.g. the TURN encapsulation - * such as Data Indication or ChannelData will be removed before this - * function is called). - * - * @param turn_sock The TURN client transport. - * @param data The data as received from the peer. - * @param data_len Length of the data. - * @param peer_addr The peer address. - * @param addr_len The length of the peer address. - */ - void (*on_rx_data)(pj_turn_sock *turn_sock, - void *pkt, - unsigned pkt_len, - const pj_sockaddr_t *peer_addr, - unsigned addr_len); - - /** - * Notification when TURN session state has changed. Application should - * implement this callback to monitor the progress of the TURN session. - * - * @param turn_sock The TURN client transport. - * @param old_state Previous state. - * @param new_state Current state. - */ - void (*on_state)(pj_turn_sock *turn_sock, - pj_turn_state_t old_state, - pj_turn_state_t new_state); - -} pj_turn_sock_cb; - - -/** - * This structure describes options that can be specified when creating - * the TURN socket. Application should call #pj_turn_sock_cfg_default() - * to initialize this structure with its default values before using it. - */ -typedef struct pj_turn_sock_cfg -{ - /** - * QoS traffic type to be set on this transport. When application wants - * to apply QoS tagging to the transport, it's preferable to set this - * field rather than \a qos_param fields since this is more portable. - * - * Default value is PJ_QOS_TYPE_BEST_EFFORT. - */ - pj_qos_type qos_type; - - /** - * Set the low level QoS parameters to the transport. This is a lower - * level operation than setting the \a qos_type field and may not be - * supported on all platforms. - * - * By default all settings in this structure are not set. - */ - pj_qos_params qos_params; - - /** - * Specify if STUN socket should ignore any errors when setting the QoS - * traffic type/parameters. - * - * Default: PJ_TRUE - */ - pj_bool_t qos_ignore_error; - -} pj_turn_sock_cfg; - - -/** - * Initialize pj_turn_sock_cfg structure with default values. - */ -PJ_DECL(void) pj_turn_sock_cfg_default(pj_turn_sock_cfg *cfg); - - -/** - * Create a TURN transport instance with the specified address family and - * connection type. Once TURN transport instance is created, application - * must call pj_turn_sock_alloc() to allocate a relay address in the TURN - * server. - * - * @param cfg The STUN configuration which contains among other - * things the ioqueue and timer heap instance for - * the operation of this transport. - * @param af Address family of the client connection. Currently - * pj_AF_INET() and pj_AF_INET6() are supported. - * @param conn_type Connection type to the TURN server. Both TCP and - * UDP are supported. - * @param cb Callback to receive events from the TURN transport. - * @param setting Optional settings to be specified to the transport. - * If this parameter is NULL, default values will be - * used. - * @param user_data Arbitrary application data to be associated with - * this transport. - * @param p_turn_sock Pointer to receive the created instance of the - * TURN transport. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_turn_sock_create(pj_stun_config *cfg, - int af, - pj_turn_tp_type conn_type, - const pj_turn_sock_cb *cb, - const pj_turn_sock_cfg *setting, - void *user_data, - pj_turn_sock **p_turn_sock); - -/** - * Destroy the TURN transport instance. This will gracefully close the - * connection between the client and the TURN server. Although this - * function will return immediately, the TURN socket deletion may continue - * in the background and the application may still get state changes - * notifications from this transport. - * - * @param turn_sock The TURN transport instance. - */ -PJ_DECL(void) pj_turn_sock_destroy(pj_turn_sock *turn_sock); - - -/** - * Associate a user data with this TURN transport. The user data may then - * be retrieved later with #pj_turn_sock_get_user_data(). - * - * @param turn_sock The TURN transport instance. - * @param user_data Arbitrary data. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_turn_sock_set_user_data(pj_turn_sock *turn_sock, - void *user_data); - -/** - * Retrieve the previously assigned user data associated with this TURN - * transport. - * - * @param turn_sock The TURN transport instance. - * - * @return The user/application data. - */ -PJ_DECL(void*) pj_turn_sock_get_user_data(pj_turn_sock *turn_sock); - - -/** - * Get the TURN transport info. The transport info contains, among other - * things, the allocated relay address. - * - * @param turn_sock The TURN transport instance. - * @param info Pointer to be filled with TURN transport info. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_turn_sock_get_info(pj_turn_sock *turn_sock, - pj_turn_session_info *info); - -/** - * Acquire the internal mutex of the TURN transport. Application may need - * to call this function to synchronize access to other objects alongside - * the TURN transport, to avoid deadlock. - * - * @param turn_sock The TURN transport instance. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_turn_sock_lock(pj_turn_sock *turn_sock); - - -/** - * Release the internal mutex previously held with pj_turn_sock_lock(). - * - * @param turn_sock The TURN transport instance. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_turn_sock_unlock(pj_turn_sock *turn_sock); - - -/** - * Set STUN message logging for this TURN session. - * See #pj_stun_session_set_log(). - * - * @param turn_sock The TURN transport instance. - * @param flags Bitmask combination of #pj_stun_sess_msg_log_flag - */ -PJ_DECL(void) pj_turn_sock_set_log(pj_turn_sock *turn_sock, - unsigned flags); - -/** - * Configure the SOFTWARE name to be sent in all STUN requests by the - * TURN session. - * - * @param turn_sock The TURN transport instance. - * @param sw Software name string. If this argument is NULL or - * empty, the session will not include SOFTWARE attribute - * in STUN requests and responses. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pj_turn_sock_set_software_name(pj_turn_sock *turn_sock, - const pj_str_t *sw); - - -/** - * Allocate a relay address/resource in the TURN server. This function - * will resolve the TURN server using DNS SRV (if desired) and send TURN - * \a Allocate request using the specified credential to allocate a relay - * address in the server. This function completes asynchronously, and - * application will be notified when the allocation process has been - * successful in the \a on_state() callback when the state is set to - * PJ_TURN_STATE_READY. If the allocation fails, the state will be set - * to PJ_TURN_STATE_DEALLOCATING or greater. - * - * @param turn_sock The TURN transport instance. - * @param domain The domain, hostname, or IP address of the TURN - * server. When this parameter contains domain name, - * the \a resolver parameter must be set to activate - * DNS SRV resolution. - * @param default_port The default TURN port number to use when DNS SRV - * resolution is not used. If DNS SRV resolution is - * used, the server port number will be set from the - * DNS SRV records. - * @param resolver If this parameter is not NULL, then the \a domain - * parameter will be first resolved with DNS SRV and - * then fallback to using DNS A/AAAA resolution when - * DNS SRV resolution fails. If this parameter is - * NULL, the \a domain parameter will be resolved as - * hostname. - * @param cred The STUN credential to be used for the TURN server. - * @param param Optional TURN allocation parameter. - * - * @return PJ_SUCCESS if the operation has been successfully - * queued, or the appropriate error code on failure. - * When this function returns PJ_SUCCESS, the final - * result of the allocation process will be notified - * to application in \a on_state() callback. - * - */ -PJ_DECL(pj_status_t) pj_turn_sock_alloc(pj_turn_sock *turn_sock, - const pj_str_t *domain, - int default_port, - pj_dns_resolver *resolver, - const pj_stun_auth_cred *cred, - const pj_turn_alloc_param *param); - -/** - * Create or renew permission in the TURN server for the specified peer IP - * addresses. Application must install permission for a particular (peer) - * IP address before it sends any data to that IP address, or otherwise - * the TURN server will drop the data. - * - * @param turn_sock The TURN transport instance. - * @param addr_cnt Number of IP addresses. - * @param addr Array of peer IP addresses. Only the address family - * and IP address portion of the socket address matter. - * @param options Specify 1 to let the TURN client session automatically - * renew the permission later when they are about to - * expire. - * - * @return PJ_SUCCESS if the operation has been successfully - * issued, or the appropriate error code. Note that - * the operation itself will complete asynchronously. - */ -PJ_DECL(pj_status_t) pj_turn_sock_set_perm(pj_turn_sock *turn_sock, - unsigned addr_cnt, - const pj_sockaddr addr[], - unsigned options); - -/** - * Send a data to the specified peer address via the TURN relay. This - * function will encapsulate the data as STUN Send Indication or TURN - * ChannelData packet and send the message to the TURN server. The TURN - * server then will send the data to the peer. - * - * The allocation (pj_turn_sock_alloc()) must have been successfully - * created before application can relay any data. - * - * @param turn_sock The TURN transport instance. - * @param pkt The data/packet to be sent to peer. - * @param pkt_len Length of the data. - * @param peer_addr The remote peer address (the ultimate destination - * of the data, and not the TURN server address). - * @param addr_len Length of the address. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_turn_sock_sendto(pj_turn_sock *turn_sock, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_sockaddr_t *peer_addr, - unsigned addr_len); - -/** - * Optionally establish channel binding for the specified a peer address. - * This function will assign a unique channel number for the peer address - * and request channel binding to the TURN server for this address. When - * a channel has been bound to a peer, the TURN transport and TURN server - * will exchange data using ChannelData encapsulation format, which has - * lower bandwidth overhead than Send Indication (the default format used - * when peer address is not bound to a channel). - * - * @param turn_sock The TURN transport instance. - * @param peer The remote peer address. - * @param addr_len Length of the address. - * - * @return PJ_SUCCESS if the operation has been successful, - * or the appropriate error code on failure. - */ -PJ_DECL(pj_status_t) pj_turn_sock_bind_channel(pj_turn_sock *turn_sock, - const pj_sockaddr_t *peer, - unsigned addr_len); - - -/** - * @} - */ - - -PJ_END_DECL - - -#endif /* __PJNATH_TURN_SOCK_H__ */ - diff --git a/res/pjproject/pjnath/include/pjnath/types.h b/res/pjproject/pjnath/include/pjnath/types.h deleted file mode 100644 index 1ac627670a..0000000000 --- a/res/pjproject/pjnath/include/pjnath/types.h +++ /dev/null @@ -1,76 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJNATH_TYPES_H__ -#define __PJNATH_TYPES_H__ - -/** - * @file types.h - * @brief PJNATH types. - */ - -#include -#include - -/** - * @defgroup PJNATH NAT Traversal Helper Library - * @{ - */ - -PJ_BEGIN_DECL - -/** - * This constant describes a number to be used to identify an invalid TURN - * channel number. - */ -#define PJ_TURN_INVALID_CHANNEL 0xFFFF - - -/** - * Initialize pjnath library. - * - * @return Initialization status. - */ -PJ_DECL(pj_status_t) pjnath_init(void); - - -/** - * Display error to the log. - * - * @param sender The sender name. - * @param title Title message. - * @param status The error status. - */ -#if PJNATH_ERROR_LEVEL <= PJ_LOG_MAX_LEVEL -PJ_DECL(void) pjnath_perror(const char *sender, const char *title, - pj_status_t status); -#else -# define pjnath_perror(sender, title, status) -#endif - - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJNATH_TYPES_H__ */ - diff --git a/res/pjproject/pjnath/src/pjnath-test/ice_test.c b/res/pjproject/pjnath/src/pjnath-test/ice_test.c deleted file mode 100644 index fce2cbd017..0000000000 --- a/res/pjproject/pjnath/src/pjnath-test/ice_test.c +++ /dev/null @@ -1,878 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include "server.h" - -enum -{ - NO = 0, - YES = 1, - SRV = 3, -}; - -#define NODELAY 0xFFFFFFFF -#define SRV_DOMAIN "pjsip.lab.domain" - -#define INDENT " " - -/* Client flags */ -enum -{ - WRONG_TURN = 1, - DEL_ON_ERR = 2, -}; - - -/* Test results */ -struct test_result -{ - pj_status_t init_status; /* init successful? */ - pj_status_t nego_status; /* negotiation successful? */ - unsigned rx_cnt[4]; /* Number of data received */ -}; - - -/* Test session configuration */ -struct test_cfg -{ - pj_ice_sess_role role; /* Role. */ - unsigned comp_cnt; /* Component count */ - unsigned enable_host; /* Enable host candidates */ - unsigned enable_stun; /* Enable srflx candidates */ - unsigned enable_turn; /* Enable turn candidates */ - unsigned client_flag; /* Client flags */ - - unsigned answer_delay; /* Delay before sending SDP */ - unsigned send_delay; /* Delay before sending data */ - unsigned destroy_delay; /* Delay before destroy() */ - - struct test_result expected;/* Expected result */ - - pj_bool_t nom_regular; /* Use regular nomination? */ -}; - -/* ICE endpoint state */ -struct ice_ept -{ - struct test_cfg cfg; /* Configuratino. */ - pj_ice_strans *ice; /* ICE stream transport */ - struct test_result result;/* Test result. */ - - pj_str_t ufrag; /* username fragment. */ - pj_str_t pass; /* password */ -}; - -/* The test session */ -struct test_sess -{ - pj_pool_t *pool; - pj_stun_config *stun_cfg; - pj_dns_resolver *resolver; - - test_server *server; - - unsigned server_flag; - struct ice_ept caller; - struct ice_ept callee; -}; - - -static void ice_on_rx_data(pj_ice_strans *ice_st, - unsigned comp_id, - void *pkt, pj_size_t size, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); -static void ice_on_ice_complete(pj_ice_strans *ice_st, - pj_ice_strans_op op, - pj_status_t status); -static void destroy_sess(struct test_sess *sess, unsigned wait_msec); - -/* Create ICE stream transport */ -static int create_ice_strans(struct test_sess *test_sess, - struct ice_ept *ept, - pj_ice_strans **p_ice) -{ - pj_ice_strans *ice; - pj_ice_strans_cb ice_cb; - pj_ice_strans_cfg ice_cfg; - pj_sockaddr hostip; - char serverip[PJ_INET6_ADDRSTRLEN]; - pj_status_t status; - - status = pj_gethostip(pj_AF_INET(), &hostip); - if (status != PJ_SUCCESS) - return -1030; - - pj_sockaddr_print(&hostip, serverip, sizeof(serverip), 0); - - /* Init callback structure */ - pj_bzero(&ice_cb, sizeof(ice_cb)); - ice_cb.on_rx_data = &ice_on_rx_data; - ice_cb.on_ice_complete = &ice_on_ice_complete; - - /* Init ICE stream transport configuration structure */ - pj_ice_strans_cfg_default(&ice_cfg); - pj_memcpy(&ice_cfg.stun_cfg, test_sess->stun_cfg, sizeof(pj_stun_config)); - if ((ept->cfg.enable_stun & SRV)==SRV || (ept->cfg.enable_turn & SRV)==SRV) - ice_cfg.resolver = test_sess->resolver; - - if (ept->cfg.enable_stun & YES) { - if ((ept->cfg.enable_stun & SRV) == SRV) { - ice_cfg.stun.server = pj_str(SRV_DOMAIN); - } else { - ice_cfg.stun.server = pj_str(serverip); - } - ice_cfg.stun.port = STUN_SERVER_PORT; - } - - if (ept->cfg.enable_host == 0) { - ice_cfg.stun.max_host_cands = 0; - } else { - //ice_cfg.stun.no_host_cands = PJ_FALSE; - ice_cfg.stun.loop_addr = PJ_TRUE; - } - - - if (ept->cfg.enable_turn & YES) { - if ((ept->cfg.enable_turn & SRV) == SRV) { - ice_cfg.turn.server = pj_str(SRV_DOMAIN); - } else { - ice_cfg.turn.server = pj_str(serverip); - } - ice_cfg.turn.port = TURN_SERVER_PORT; - ice_cfg.turn.conn_type = PJ_TURN_TP_UDP; - ice_cfg.turn.auth_cred.type = PJ_STUN_AUTH_CRED_STATIC; - ice_cfg.turn.auth_cred.data.static_cred.realm = pj_str(SRV_DOMAIN); - if (ept->cfg.client_flag & WRONG_TURN) - ice_cfg.turn.auth_cred.data.static_cred.username = pj_str("xxx"); - else - ice_cfg.turn.auth_cred.data.static_cred.username = pj_str(TURN_USERNAME); - ice_cfg.turn.auth_cred.data.static_cred.data_type = PJ_STUN_PASSWD_PLAIN; - ice_cfg.turn.auth_cred.data.static_cred.data = pj_str(TURN_PASSWD); - } - - /* Create ICE stream transport */ - status = pj_ice_strans_create(NULL, &ice_cfg, ept->cfg.comp_cnt, - (void*)ept, &ice_cb, - &ice); - if (status != PJ_SUCCESS) { - app_perror(INDENT "err: pj_ice_strans_create()", status); - return status; - } - - pj_create_unique_string(test_sess->pool, &ept->ufrag); - pj_create_unique_string(test_sess->pool, &ept->pass); - - /* Looks alright */ - *p_ice = ice; - return PJ_SUCCESS; -} - -/* Create test session */ -static int create_sess(pj_stun_config *stun_cfg, - unsigned server_flag, - struct test_cfg *caller_cfg, - struct test_cfg *callee_cfg, - struct test_sess **p_sess) -{ - pj_pool_t *pool; - struct test_sess *sess; - pj_str_t ns_ip; - pj_uint16_t ns_port; - unsigned flags; - pj_status_t status; - - /* Create session structure */ - pool = pj_pool_create(mem, "testsess", 512, 512, NULL); - sess = PJ_POOL_ZALLOC_T(pool, struct test_sess); - sess->pool = pool; - sess->stun_cfg = stun_cfg; - - pj_memcpy(&sess->caller.cfg, caller_cfg, sizeof(*caller_cfg)); - sess->caller.result.init_status = sess->caller.result.nego_status = PJ_EPENDING; - - pj_memcpy(&sess->callee.cfg, callee_cfg, sizeof(*callee_cfg)); - sess->callee.result.init_status = sess->callee.result.nego_status = PJ_EPENDING; - - /* Create server */ - flags = server_flag; - status = create_test_server(stun_cfg, flags, SRV_DOMAIN, &sess->server); - if (status != PJ_SUCCESS) { - app_perror(INDENT "error: create_test_server()", status); - destroy_sess(sess, 500); - return -10; - } - sess->server->turn_respond_allocate = - sess->server->turn_respond_refresh = PJ_TRUE; - - /* Create resolver */ - status = pj_dns_resolver_create(mem, NULL, 0, stun_cfg->timer_heap, - stun_cfg->ioqueue, &sess->resolver); - if (status != PJ_SUCCESS) { - app_perror(INDENT "error: pj_dns_resolver_create()", status); - destroy_sess(sess, 500); - return -20; - } - - ns_ip = pj_str("127.0.0.1"); - ns_port = (pj_uint16_t)DNS_SERVER_PORT; - status = pj_dns_resolver_set_ns(sess->resolver, 1, &ns_ip, &ns_port); - if (status != PJ_SUCCESS) { - app_perror( INDENT "error: pj_dns_resolver_set_ns()", status); - destroy_sess(sess, 500); - return -21; - } - - /* Create caller ICE stream transport */ - status = create_ice_strans(sess, &sess->caller, &sess->caller.ice); - if (status != PJ_SUCCESS) { - destroy_sess(sess, 500); - return -30; - } - - /* Create callee ICE stream transport */ - status = create_ice_strans(sess, &sess->callee, &sess->callee.ice); - if (status != PJ_SUCCESS) { - destroy_sess(sess, 500); - return -40; - } - - *p_sess = sess; - return 0; -} - -/* Destroy test session */ -static void destroy_sess(struct test_sess *sess, unsigned wait_msec) -{ - if (sess->caller.ice) { - pj_ice_strans_destroy(sess->caller.ice); - sess->caller.ice = NULL; - } - - if (sess->callee.ice) { - pj_ice_strans_destroy(sess->callee.ice); - sess->callee.ice = NULL; - } - - poll_events(sess->stun_cfg, wait_msec, PJ_FALSE); - - if (sess->resolver) { - pj_dns_resolver_destroy(sess->resolver, PJ_FALSE); - sess->resolver = NULL; - } - - if (sess->server) { - destroy_test_server(sess->server); - sess->server = NULL; - } - - if (sess->pool) { - pj_pool_t *pool = sess->pool; - sess->pool = NULL; - pj_pool_release(pool); - } -} - -static void ice_on_rx_data(pj_ice_strans *ice_st, - unsigned comp_id, - void *pkt, pj_size_t size, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - struct ice_ept *ept; - - PJ_UNUSED_ARG(pkt); - PJ_UNUSED_ARG(size); - PJ_UNUSED_ARG(src_addr); - PJ_UNUSED_ARG(src_addr_len); - - ept = (struct ice_ept*) pj_ice_strans_get_user_data(ice_st); - ept->result.rx_cnt[comp_id]++; -} - - -static void ice_on_ice_complete(pj_ice_strans *ice_st, - pj_ice_strans_op op, - pj_status_t status) -{ - struct ice_ept *ept; - - ept = (struct ice_ept*) pj_ice_strans_get_user_data(ice_st); - switch (op) { - case PJ_ICE_STRANS_OP_INIT: - ept->result.init_status = status; - if (status != PJ_SUCCESS && (ept->cfg.client_flag & DEL_ON_ERR)) { - pj_ice_strans_destroy(ice_st); - ept->ice = NULL; - } - break; - case PJ_ICE_STRANS_OP_NEGOTIATION: - ept->result.nego_status = status; - break; - default: - pj_assert(!"Unknown op"); - } -} - - -/* Start ICE negotiation on the endpoint, based on parameter from - * the other endpoint. - */ -static pj_status_t start_ice(struct ice_ept *ept, const struct ice_ept *remote) -{ - pj_ice_sess_cand rcand[32]; - unsigned i, rcand_cnt = 0; - pj_status_t status; - - /* Enum remote candidates */ - for (i=0; icfg.comp_cnt; ++i) { - unsigned cnt = PJ_ARRAY_SIZE(rcand) - rcand_cnt; - status = pj_ice_strans_enum_cands(remote->ice, i+1, &cnt, rcand+rcand_cnt); - if (status != PJ_SUCCESS) { - app_perror(INDENT "err: pj_ice_strans_enum_cands()", status); - return status; - } - rcand_cnt += cnt; - } - - status = pj_ice_strans_start_ice(ept->ice, &remote->ufrag, &remote->pass, - rcand_cnt, rcand); - if (status != PJ_SUCCESS) { - app_perror(INDENT "err: pj_ice_strans_start_ice()", status); - return status; - } - - return PJ_SUCCESS; -} - - -/* Check that the pair in both agents are matched */ -static int check_pair(const struct ice_ept *ept1, const struct ice_ept *ept2, - int start_err) -{ - unsigned i, min_cnt, max_cnt; - - if (ept1->cfg.comp_cnt < ept2->cfg.comp_cnt) { - min_cnt = ept1->cfg.comp_cnt; - max_cnt = ept2->cfg.comp_cnt; - } else { - min_cnt = ept2->cfg.comp_cnt; - max_cnt = ept1->cfg.comp_cnt; - } - - /* Must have valid pair for common components */ - for (i=0; iice, i+1); - if (c1 == NULL) { - PJ_LOG(3,("", INDENT "err: unable to get valid pair for ice1 " - "component %d", i+1)); - return start_err - 2; - } - - c2 = pj_ice_strans_get_valid_pair(ept2->ice, i+1); - if (c2 == NULL) { - PJ_LOG(3,("", INDENT "err: unable to get valid pair for ice2 " - "component %d", i+1)); - return start_err - 4; - } - - if (pj_sockaddr_cmp(&c1->rcand->addr, &c2->lcand->addr) != 0) { - PJ_LOG(3,("", INDENT "err: candidate pair does not match " - "for component %d", i+1)); - return start_err - 6; - } - } - - /* Extra components must not have valid pair */ - for (; icfg.comp_cnt>i && - pj_ice_strans_get_valid_pair(ept1->ice, i+1) != NULL) - { - PJ_LOG(3,("", INDENT "err: ice1 shouldn't have valid pair " - "for component %d", i+1)); - return start_err - 8; - } - if (ept2->cfg.comp_cnt>i && - pj_ice_strans_get_valid_pair(ept2->ice, i+1) != NULL) - { - PJ_LOG(3,("", INDENT "err: ice2 shouldn't have valid pair " - "for component %d", i+1)); - return start_err - 9; - } - } - - return 0; -} - - -#define WAIT_UNTIL(timeout,expr, RC) { \ - pj_time_val t0, t; \ - pj_gettimeofday(&t0); \ - RC = -1; \ - for (;;) { \ - poll_events(stun_cfg, 10, PJ_FALSE); \ - pj_gettimeofday(&t); \ - if (expr) { \ - rc = PJ_SUCCESS; \ - break; \ - } \ - if (t.sec - t0.sec > (timeout)) break; \ - } \ - } - - -static int perform_test(const char *title, - pj_stun_config *stun_cfg, - unsigned server_flag, - struct test_cfg *caller_cfg, - struct test_cfg *callee_cfg) -{ - pjlib_state pjlib_state; - struct test_sess *sess; - int rc; - - PJ_LOG(3,("", INDENT "%s", title)); - - capture_pjlib_state(stun_cfg, &pjlib_state); - - rc = create_sess(stun_cfg, server_flag, caller_cfg, callee_cfg, &sess); - if (rc != 0) - return rc; - -#define ALL_READY (sess->caller.result.init_status!=PJ_EPENDING && \ - sess->callee.result.init_status!=PJ_EPENDING) - - /* Wait until both ICE transports are initialized */ - WAIT_UNTIL(30, ALL_READY, rc); - - if (!ALL_READY) { - PJ_LOG(3,("", INDENT "err: init timed-out")); - destroy_sess(sess, 500); - return -100; - } - - if (sess->caller.result.init_status != sess->caller.cfg.expected.init_status) { - app_perror(INDENT "err: caller init", sess->caller.result.init_status); - destroy_sess(sess, 500); - return -102; - } - if (sess->callee.result.init_status != sess->callee.cfg.expected.init_status) { - app_perror(INDENT "err: callee init", sess->callee.result.init_status); - destroy_sess(sess, 500); - return -104; - } - - /* Failure condition */ - if (sess->caller.result.init_status != PJ_SUCCESS || - sess->callee.result.init_status != PJ_SUCCESS) - { - rc = 0; - goto on_return; - } - - /* Init ICE on caller */ - rc = pj_ice_strans_init_ice(sess->caller.ice, sess->caller.cfg.role, - &sess->caller.ufrag, &sess->caller.pass); - if (rc != PJ_SUCCESS) { - app_perror(INDENT "err: caller pj_ice_strans_init_ice()", rc); - destroy_sess(sess, 500); - return -100; - } - - /* Init ICE on callee */ - rc = pj_ice_strans_init_ice(sess->callee.ice, sess->callee.cfg.role, - &sess->callee.ufrag, &sess->callee.pass); - if (rc != PJ_SUCCESS) { - app_perror(INDENT "err: callee pj_ice_strans_init_ice()", rc); - destroy_sess(sess, 500); - return -110; - } - - /* Start ICE on callee */ - rc = start_ice(&sess->callee, &sess->caller); - if (rc != PJ_SUCCESS) { - destroy_sess(sess, 500); - return -120; - } - - /* Wait for callee's answer_delay */ - poll_events(stun_cfg, sess->callee.cfg.answer_delay, PJ_FALSE); - - /* Start ICE on caller */ - rc = start_ice(&sess->caller, &sess->callee); - if (rc != PJ_SUCCESS) { - destroy_sess(sess, 500); - return -130; - } - - /* Wait until negotiation is complete on both endpoints */ -#define ALL_DONE (sess->caller.result.nego_status!=PJ_EPENDING && \ - sess->callee.result.nego_status!=PJ_EPENDING) - WAIT_UNTIL(30, ALL_DONE, rc); - - if (!ALL_DONE) { - PJ_LOG(3,("", INDENT "err: negotiation timed-out")); - destroy_sess(sess, 500); - return -140; - } - - if (sess->caller.result.nego_status != sess->caller.cfg.expected.nego_status) { - app_perror(INDENT "err: caller negotiation failed", sess->caller.result.nego_status); - destroy_sess(sess, 500); - return -150; - } - - if (sess->callee.result.nego_status != sess->callee.cfg.expected.nego_status) { - app_perror(INDENT "err: callee negotiation failed", sess->callee.result.nego_status); - destroy_sess(sess, 500); - return -160; - } - - /* Verify that both agents have agreed on the same pair */ - rc = check_pair(&sess->caller, &sess->callee, -170); - if (rc != 0) { - destroy_sess(sess, 500); - return rc; - } - rc = check_pair(&sess->callee, &sess->caller, -180); - if (rc != 0) { - destroy_sess(sess, 500); - return rc; - } - - /* Looks like everything is okay */ - - /* Destroy ICE stream transports first to let it de-allocate - * TURN relay (otherwise there'll be timer/memory leak, unless - * we wait for long time in the last poll_events() below). - */ - if (sess->caller.ice) { - pj_ice_strans_destroy(sess->caller.ice); - sess->caller.ice = NULL; - } - - if (sess->callee.ice) { - pj_ice_strans_destroy(sess->callee.ice); - sess->callee.ice = NULL; - } - -on_return: - /* Wait.. */ - poll_events(stun_cfg, 500, PJ_FALSE); - - /* Now destroy everything */ - destroy_sess(sess, 500); - - /* Flush events */ - poll_events(stun_cfg, 100, PJ_FALSE); - - rc = check_pjlib_state(stun_cfg, &pjlib_state); - if (rc != 0) { - return rc; - } - - return 0; -} - -#define ROLE1 PJ_ICE_SESS_ROLE_CONTROLLED -#define ROLE2 PJ_ICE_SESS_ROLE_CONTROLLING - -int ice_test(void) -{ - pj_pool_t *pool; - pj_stun_config stun_cfg; - unsigned i; - int rc; - struct sess_cfg_t { - const char *title; - unsigned server_flag; - struct test_cfg ua1; - struct test_cfg ua2; - } sess_cfg[] = - { - /* Role comp# host? stun? turn? flag? ans_del snd_del des_del */ - { - "hosts candidates only", - 0xFFFF, - {ROLE1, 1, YES, NO, NO, NO, 0, 0, 0, {PJ_SUCCESS, PJ_SUCCESS}}, - {ROLE2, 1, YES, NO, NO, NO, 0, 0, 0, {PJ_SUCCESS, PJ_SUCCESS}} - }, - { - "host and srflxes", - 0xFFFF, - {ROLE1, 1, YES, YES, NO, NO, 0, 0, 0, {PJ_SUCCESS, PJ_SUCCESS}}, - {ROLE2, 1, YES, YES, NO, NO, 0, 0, 0, {PJ_SUCCESS, PJ_SUCCESS}} - }, - { - "host vs relay", - 0xFFFF, - {ROLE1, 1, YES, NO, NO, NO, 0, 0, 0, {PJ_SUCCESS, PJ_SUCCESS}}, - {ROLE2, 1, NO, NO, YES, NO, 0, 0, 0, {PJ_SUCCESS, PJ_SUCCESS}} - }, - { - "relay vs host", - 0xFFFF, - {ROLE1, 1, NO, NO, YES, NO, 0, 0, 0, {PJ_SUCCESS, PJ_SUCCESS}}, - {ROLE2, 1, YES, NO, NO, NO, 0, 0, 0, {PJ_SUCCESS, PJ_SUCCESS}} - }, - { - "relay vs relay", - 0xFFFF, - {ROLE1, 1, NO, NO, YES, NO, 0, 0, 0, {PJ_SUCCESS, PJ_SUCCESS}}, - {ROLE2, 1, NO, NO, YES, NO, 0, 0, 0, {PJ_SUCCESS, PJ_SUCCESS}} - }, - { - "all candidates", - 0xFFFF, - {ROLE1, 1, YES, YES, YES, NO, 0, 0, 0, {PJ_SUCCESS, PJ_SUCCESS}}, - {ROLE2, 1, YES, YES, YES, NO, 0, 0, 0, {PJ_SUCCESS, PJ_SUCCESS}} - }, - }; - - pool = pj_pool_create(mem, NULL, 512, 512, NULL); - rc = create_stun_config(pool, &stun_cfg); - if (rc != PJ_SUCCESS) { - pj_pool_release(pool); - return -7; - } - - /* Simple test first with host candidate */ - if (1) { - struct sess_cfg_t cfg = - { - "Basic with host candidates", - 0x0, - /* Role comp# host? stun? turn? flag? ans_del snd_del des_del */ - {ROLE1, 1, YES, NO, NO, 0, 0, 0, 0, {PJ_SUCCESS, PJ_SUCCESS}}, - {ROLE2, 1, YES, NO, NO, 0, 0, 0, 0, {PJ_SUCCESS, PJ_SUCCESS}} - }; - - rc = perform_test(cfg.title, &stun_cfg, cfg.server_flag, - &cfg.ua1, &cfg.ua2); - if (rc != 0) - goto on_return; - - cfg.ua1.comp_cnt = 2; - cfg.ua2.comp_cnt = 2; - rc = perform_test("Basic with host candidates, 2 components", - &stun_cfg, cfg.server_flag, - &cfg.ua1, &cfg.ua2); - if (rc != 0) - goto on_return; - } - - /* Simple test first with srflx candidate */ - if (1) { - struct sess_cfg_t cfg = - { - "Basic with srflx candidates", - 0xFFFF, - /* Role comp# host? stun? turn? flag? ans_del snd_del des_del */ - {ROLE1, 1, YES, YES, NO, 0, 0, 0, 0, {PJ_SUCCESS, PJ_SUCCESS}}, - {ROLE2, 1, YES, YES, NO, 0, 0, 0, 0, {PJ_SUCCESS, PJ_SUCCESS}} - }; - - rc = perform_test(cfg.title, &stun_cfg, cfg.server_flag, - &cfg.ua1, &cfg.ua2); - if (rc != 0) - goto on_return; - - cfg.ua1.comp_cnt = 2; - cfg.ua2.comp_cnt = 2; - - rc = perform_test("Basic with srflx candidates, 2 components", - &stun_cfg, cfg.server_flag, - &cfg.ua1, &cfg.ua2); - if (rc != 0) - goto on_return; - } - - /* Simple test with relay candidate */ - if (1) { - struct sess_cfg_t cfg = - { - "Basic with relay candidates", - 0xFFFF, - /* Role comp# host? stun? turn? flag? ans_del snd_del des_del */ - {ROLE1, 1, NO, NO, YES, 0, 0, 0, 0, {PJ_SUCCESS, PJ_SUCCESS}}, - {ROLE2, 1, NO, NO, YES, 0, 0, 0, 0, {PJ_SUCCESS, PJ_SUCCESS}} - }; - - rc = perform_test(cfg.title, &stun_cfg, cfg.server_flag, - &cfg.ua1, &cfg.ua2); - if (rc != 0) - goto on_return; - - cfg.ua1.comp_cnt = 2; - cfg.ua2.comp_cnt = 2; - - rc = perform_test("Basic with relay candidates, 2 components", - &stun_cfg, cfg.server_flag, - &cfg.ua1, &cfg.ua2); - if (rc != 0) - goto on_return; - } - - /* Failure test with STUN resolution */ - if (1) { - struct sess_cfg_t cfg = - { - "STUN resolution failure", - 0x0, - /* Role comp# host? stun? turn? flag? ans_del snd_del des_del */ - {ROLE1, 2, NO, YES, NO, 0, 0, 0, 0, {PJNATH_ESTUNTIMEDOUT, -1}}, - {ROLE2, 2, NO, YES, NO, 0, 0, 0, 0, {PJNATH_ESTUNTIMEDOUT, -1}} - }; - - rc = perform_test(cfg.title, &stun_cfg, cfg.server_flag, - &cfg.ua1, &cfg.ua2); - if (rc != 0) - goto on_return; - - cfg.ua1.client_flag |= DEL_ON_ERR; - cfg.ua2.client_flag |= DEL_ON_ERR; - - rc = perform_test("STUN resolution failure with destroy on callback", - &stun_cfg, cfg.server_flag, - &cfg.ua1, &cfg.ua2); - if (rc != 0) - goto on_return; - } - - /* Failure test with TURN resolution */ - if (1) { - struct sess_cfg_t cfg = - { - "TURN allocation failure", - 0xFFFF, - /* Role comp# host? stun? turn? flag? ans_del snd_del des_del */ - {ROLE1, 2, NO, NO, YES, WRONG_TURN, 0, 0, 0, {PJ_STATUS_FROM_STUN_CODE(401), -1}}, - {ROLE2, 2, NO, NO, YES, WRONG_TURN, 0, 0, 0, {PJ_STATUS_FROM_STUN_CODE(401), -1}} - }; - - rc = perform_test(cfg.title, &stun_cfg, cfg.server_flag, - &cfg.ua1, &cfg.ua2); - if (rc != 0) - goto on_return; - - cfg.ua1.client_flag |= DEL_ON_ERR; - cfg.ua2.client_flag |= DEL_ON_ERR; - - rc = perform_test("TURN allocation failure with destroy on callback", - &stun_cfg, cfg.server_flag, - &cfg.ua1, &cfg.ua2); - if (rc != 0) - goto on_return; - } - - /* STUN failure, testing TURN deallocation */ - if (1) { - struct sess_cfg_t cfg = - { - "STUN failure, testing TURN deallocation", - 0xFFFF & (~(CREATE_STUN_SERVER)), - /* Role comp# host? stun? turn? flag? ans_del snd_del des_del */ - {ROLE1, 2, YES, YES, YES, 0, 0, 0, 0, {PJNATH_ESTUNTIMEDOUT, -1}}, - {ROLE2, 2, YES, YES, YES, 0, 0, 0, 0, {PJNATH_ESTUNTIMEDOUT, -1}} - }; - - rc = perform_test(cfg.title, &stun_cfg, cfg.server_flag, - &cfg.ua1, &cfg.ua2); - if (rc != 0) - goto on_return; - - cfg.ua1.client_flag |= DEL_ON_ERR; - cfg.ua2.client_flag |= DEL_ON_ERR; - - rc = perform_test("STUN failure, testing TURN deallocation (cb)", - &stun_cfg, cfg.server_flag, - &cfg.ua1, &cfg.ua2); - if (rc != 0) - goto on_return; - } - - rc = 0; - /* Iterate each test item */ - for (i=0; ititle)); - - /* For each test item, test with various answer delay */ - for (d=0; dua1.answer_delay = delay[d]; - cfg->ua2.answer_delay = delay[d]; - - /* For each test item, test with role conflict scenarios */ - for (j=0; jua1.role = role[j].ua1; - cfg->ua2.role = role[j].ua2; - - /* For each test item, test with different number of components */ - for (k1=1; k1<=2; ++k1) { - unsigned k2; - - cfg->ua1.comp_cnt = k1; - - for (k2=1; k2<=2; ++k2) { - char title[120]; - - sprintf(title, - "%s/%s, %dms answer delay, %d vs %d components", - pj_ice_sess_role_name(role[j].ua1), - pj_ice_sess_role_name(role[j].ua2), - delay[d], k1, k2); - - cfg->ua2.comp_cnt = k2; - rc = perform_test(title, &stun_cfg, cfg->server_flag, - &cfg->ua1, &cfg->ua2); - if (rc != 0) - goto on_return; - } - } - } - } - } - -on_return: - destroy_stun_config(&stun_cfg); - pj_pool_release(pool); - return rc; -} - diff --git a/res/pjproject/pjnath/src/pjnath-test/main.c b/res/pjproject/pjnath/src/pjnath-test/main.c deleted file mode 100644 index 878adef099..0000000000 --- a/res/pjproject/pjnath/src/pjnath-test/main.c +++ /dev/null @@ -1,62 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" - -#if defined(PJ_SUNOS) && PJ_SUNOS!=0 -#include -static void init_signals() -{ - struct sigaction act; - - memset(&act, 0, sizeof(act)); - act.sa_handler = SIG_IGN; - - sigaction(SIGALRM, &act, NULL); -} - -#else -#define init_signals() -#endif - -#define boost() - -int main(int argc, char *argv[]) -{ - int rc; - - PJ_UNUSED_ARG(argc); - PJ_UNUSED_ARG(argv); - - boost(); - init_signals(); - - rc = test_main(); - - if (argc == 2 && pj_ansi_strcmp(argv[1], "-i")==0) { - char buf[10]; - - puts("Press to exit"); - if (fgets(buf, sizeof(buf), stdin) == NULL) - return rc; - } - - return rc; -} - diff --git a/res/pjproject/pjnath/src/pjnath-test/main_win32.c b/res/pjproject/pjnath/src/pjnath-test/main_win32.c deleted file mode 100644 index 3043a395f9..0000000000 --- a/res/pjproject/pjnath/src/pjnath-test/main_win32.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../pjlib/src/pjlib-test/main_win32.c" diff --git a/res/pjproject/pjnath/src/pjnath-test/server.c b/res/pjproject/pjnath/src/pjnath-test/server.c deleted file mode 100644 index eef4fb1ea9..0000000000 --- a/res/pjproject/pjnath/src/pjnath-test/server.c +++ /dev/null @@ -1,754 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "server.h" -#include "test.h" - -#define THIS_FILE "server.c" -#define MAX_STUN_PKT 1500 -#define TURN_NONCE "thenonce" - -static pj_bool_t stun_on_data_recvfrom(pj_activesock_t *asock, - void *data, - pj_size_t size, - const pj_sockaddr_t *src_addr, - int addr_len, - pj_status_t status); -static pj_bool_t turn_on_data_recvfrom(pj_activesock_t *asock, - void *data, - pj_size_t size, - const pj_sockaddr_t *src_addr, - int addr_len, - pj_status_t status); -static pj_bool_t alloc_on_data_recvfrom(pj_activesock_t *asock, - void *data, - pj_size_t size, - const pj_sockaddr_t *src_addr, - int addr_len, - pj_status_t status); - -pj_status_t create_test_server(pj_stun_config *stun_cfg, - pj_uint32_t flags, - const char *domain, - test_server **p_test_srv) -{ - pj_pool_t *pool; - test_server *test_srv; - pj_sockaddr hostip; - char strbuf[100]; - pj_status_t status; - - PJ_ASSERT_RETURN(stun_cfg && domain && p_test_srv, PJ_EINVAL); - - status = pj_gethostip(pj_AF_INET(), &hostip); - if (status != PJ_SUCCESS) - return status; - - pool = pj_pool_create(mem, THIS_FILE, 512, 512, NULL); - test_srv = (test_server*) PJ_POOL_ZALLOC_T(pool, test_server); - test_srv->pool = pool; - test_srv->flags = flags; - test_srv->stun_cfg = stun_cfg; - - pj_strdup2(pool, &test_srv->domain, domain); - test_srv->username = pj_str(TURN_USERNAME); - test_srv->passwd = pj_str(TURN_PASSWD); - - pj_ioqueue_op_key_init(&test_srv->send_key, sizeof(test_srv->send_key)); - - if (flags & CREATE_DNS_SERVER) { - status = pj_dns_server_create(mem, test_srv->stun_cfg->ioqueue, - pj_AF_INET(), DNS_SERVER_PORT, - 0, &test_srv->dns_server); - if (status != PJ_SUCCESS) { - destroy_test_server(test_srv); - return status; - } - - /* Add DNS A record for the domain, for fallback */ - if (flags & CREATE_A_RECORD_FOR_DOMAIN) { - pj_dns_parsed_rr rr; - pj_str_t res_name; - pj_in_addr ip_addr; - - pj_strdup2(pool, &res_name, domain); - ip_addr = hostip.ipv4.sin_addr; - pj_dns_init_a_rr(&rr, &res_name, PJ_DNS_CLASS_IN, 60, &ip_addr); - pj_dns_server_add_rec(test_srv->dns_server, 1, &rr); - } - - } - - if (flags & CREATE_STUN_SERVER) { - pj_activesock_cb stun_sock_cb; - pj_sockaddr bound_addr; - - pj_bzero(&stun_sock_cb, sizeof(stun_sock_cb)); - stun_sock_cb.on_data_recvfrom = &stun_on_data_recvfrom; - - pj_sockaddr_in_init(&bound_addr.ipv4, NULL, STUN_SERVER_PORT); - - status = pj_activesock_create_udp(pool, &bound_addr, NULL, - test_srv->stun_cfg->ioqueue, - &stun_sock_cb, test_srv, - &test_srv->stun_sock, NULL); - if (status != PJ_SUCCESS) { - destroy_test_server(test_srv); - return status; - } - - status = pj_activesock_start_recvfrom(test_srv->stun_sock, pool, - MAX_STUN_PKT, 0); - if (status != PJ_SUCCESS) { - destroy_test_server(test_srv); - return status; - } - - if (test_srv->dns_server && (flags & CREATE_STUN_SERVER_DNS_SRV)) { - pj_str_t res_name, target; - pj_dns_parsed_rr rr; - pj_in_addr ip_addr; - - /* Add DNS entries: - * _stun._udp.domain 60 IN SRV 0 0 PORT stun.domain. - * stun.domain IN A 127.0.0.1 - */ - pj_ansi_snprintf(strbuf, sizeof(strbuf), - "_stun._udp.%s", domain); - pj_strdup2(pool, &res_name, strbuf); - pj_ansi_snprintf(strbuf, sizeof(strbuf), - "stun.%s", domain); - pj_strdup2(pool, &target, strbuf); - pj_dns_init_srv_rr(&rr, &res_name, PJ_DNS_CLASS_IN, 60, 0, 0, - STUN_SERVER_PORT, &target); - pj_dns_server_add_rec(test_srv->dns_server, 1, &rr); - - res_name = target; - ip_addr = hostip.ipv4.sin_addr; - pj_dns_init_a_rr(&rr, &res_name, PJ_DNS_CLASS_IN, 60, &ip_addr); - pj_dns_server_add_rec(test_srv->dns_server, 1, &rr); - } - - } - - if (flags & CREATE_TURN_SERVER) { - pj_activesock_cb turn_sock_cb; - pj_sockaddr bound_addr; - - pj_bzero(&turn_sock_cb, sizeof(turn_sock_cb)); - turn_sock_cb.on_data_recvfrom = &turn_on_data_recvfrom; - - pj_sockaddr_in_init(&bound_addr.ipv4, NULL, TURN_SERVER_PORT); - - status = pj_activesock_create_udp(pool, &bound_addr, NULL, - test_srv->stun_cfg->ioqueue, - &turn_sock_cb, test_srv, - &test_srv->turn_sock, NULL); - if (status != PJ_SUCCESS) { - destroy_test_server(test_srv); - return status; - } - - status = pj_activesock_start_recvfrom(test_srv->turn_sock, pool, - MAX_STUN_PKT, 0); - if (status != PJ_SUCCESS) { - destroy_test_server(test_srv); - return status; - } - - if (test_srv->dns_server && (flags & CREATE_TURN_SERVER_DNS_SRV)) { - pj_str_t res_name, target; - pj_dns_parsed_rr rr; - pj_in_addr ip_addr; - - /* Add DNS entries: - * _turn._udp.domain 60 IN SRV 0 0 PORT turn.domain. - * turn.domain IN A 127.0.0.1 - */ - pj_ansi_snprintf(strbuf, sizeof(strbuf), - "_turn._udp.%s", domain); - pj_strdup2(pool, &res_name, strbuf); - pj_ansi_snprintf(strbuf, sizeof(strbuf), - "turn.%s", domain); - pj_strdup2(pool, &target, strbuf); - pj_dns_init_srv_rr(&rr, &res_name, PJ_DNS_CLASS_IN, 60, 0, 0, - TURN_SERVER_PORT, &target); - pj_dns_server_add_rec(test_srv->dns_server, 1, &rr); - - res_name = target; - ip_addr = hostip.ipv4.sin_addr; - pj_dns_init_a_rr(&rr, &res_name, PJ_DNS_CLASS_IN, 60, &ip_addr); - pj_dns_server_add_rec(test_srv->dns_server, 1, &rr); - } - } - - *p_test_srv = test_srv; - return PJ_SUCCESS; -} - -void destroy_test_server(test_server *test_srv) -{ - unsigned i; - - PJ_ASSERT_ON_FAIL(test_srv, return); - - for (i=0; iturn_alloc_cnt; ++i) { - pj_activesock_close(test_srv->turn_alloc[i].sock); - pj_pool_release(test_srv->turn_alloc[i].pool); - } - test_srv->turn_alloc_cnt = 0; - - if (test_srv->turn_sock) { - pj_activesock_close(test_srv->turn_sock); - test_srv->turn_sock = NULL; - } - - if (test_srv->stun_sock) { - pj_activesock_close(test_srv->stun_sock); - test_srv->stun_sock = NULL; - } - - if (test_srv->dns_server) { - pj_dns_server_destroy(test_srv->dns_server); - test_srv->dns_server = NULL; - } - - if (test_srv->pool) { - pj_pool_t *pool = test_srv->pool; - test_srv->pool = NULL; - pj_pool_release(pool); - } -} - -static pj_bool_t stun_on_data_recvfrom(pj_activesock_t *asock, - void *data, - pj_size_t size, - const pj_sockaddr_t *src_addr, - int addr_len, - pj_status_t status) -{ - test_server *test_srv; - pj_stun_msg *req, *resp = NULL; - pj_pool_t *pool; - pj_ssize_t len; - - if (status != PJ_SUCCESS) - return PJ_TRUE; - - test_srv = (test_server*) pj_activesock_get_user_data(asock); - pool = pj_pool_create(test_srv->stun_cfg->pf, NULL, 512, 512, NULL); - - status = pj_stun_msg_decode(pool, (pj_uint8_t*)data, size, - PJ_STUN_IS_DATAGRAM | PJ_STUN_CHECK_PACKET, - &req, NULL, NULL); - if (status != PJ_SUCCESS) - goto on_return; - - if (req->hdr.type != PJ_STUN_BINDING_REQUEST) { - pj_stun_msg_create_response(pool, req, PJ_STUN_SC_BAD_REQUEST, - NULL, &resp); - goto send_pkt; - } - - status = pj_stun_msg_create_response(pool, req, 0, NULL, &resp); - if (status != PJ_SUCCESS) - goto on_return; - - pj_stun_msg_add_sockaddr_attr(pool, resp, PJ_STUN_ATTR_XOR_MAPPED_ADDR, - PJ_TRUE, src_addr, addr_len); - -send_pkt: - status = pj_stun_msg_encode(resp, (pj_uint8_t*)data, MAX_STUN_PKT, - 0, NULL, &size); - if (status != PJ_SUCCESS) - goto on_return; - - len = size; - status = pj_activesock_sendto(asock, &test_srv->send_key, data, &len, - 0, src_addr, addr_len); - -on_return: - pj_pool_release(pool); - return PJ_TRUE; -} - - -static pj_stun_msg* create_success_response(test_server *test_srv, - turn_allocation *alloc, - pj_stun_msg *req, - pj_pool_t *pool, - unsigned lifetime, - pj_str_t *auth_key) -{ - pj_stun_msg *resp; - pj_str_t tmp; - pj_status_t status; - - /* Create response */ - status = pj_stun_msg_create_response(pool, req, 0, NULL, &resp); - if (status != PJ_SUCCESS) { - return NULL; - } - /* Add TURN_NONCE */ - pj_stun_msg_add_string_attr(pool, resp, PJ_STUN_ATTR_NONCE, pj_cstr(&tmp, TURN_NONCE)); - /* Add LIFETIME */ - pj_stun_msg_add_uint_attr(pool, resp, PJ_STUN_ATTR_LIFETIME, lifetime); - if (lifetime != 0) { - /* Add XOR-RELAYED-ADDRESS */ - pj_stun_msg_add_sockaddr_attr(pool, resp, PJ_STUN_ATTR_XOR_RELAYED_ADDR, PJ_TRUE, &alloc->alloc_addr, - pj_sockaddr_get_len(&alloc->alloc_addr)); - /* Add XOR-MAPPED-ADDRESS */ - pj_stun_msg_add_sockaddr_attr(pool, resp, PJ_STUN_ATTR_XOR_MAPPED_ADDR, PJ_TRUE, &alloc->client_addr, - pj_sockaddr_get_len(&alloc->client_addr)); - } - - /* Add blank MESSAGE-INTEGRITY */ - pj_stun_msg_add_msgint_attr(pool, resp); - - /* Set auth key */ - pj_stun_create_key(pool, auth_key, &test_srv->domain, &test_srv->username, - PJ_STUN_PASSWD_PLAIN, &test_srv->passwd); - - return resp; -} - - -static pj_bool_t turn_on_data_recvfrom(pj_activesock_t *asock, - void *data, - pj_size_t size, - const pj_sockaddr_t *src_addr, - int addr_len, - pj_status_t status) -{ - test_server *test_srv; - pj_pool_t *pool; - turn_allocation *alloc; - pj_stun_msg *req, *resp = NULL; - pj_str_t auth_key = { NULL, 0 }; - char client_info[PJ_INET6_ADDRSTRLEN+10]; - unsigned i; - pj_ssize_t len; - - if (status != PJ_SUCCESS) - return PJ_TRUE; - - pj_sockaddr_print(src_addr, client_info, sizeof(client_info), 3); - - test_srv = (test_server*) pj_activesock_get_user_data(asock); - pool = pj_pool_create(test_srv->stun_cfg->pf, NULL, 512, 512, NULL); - - /* Find the client */ - for (i=0; iturn_alloc_cnt; i++) { - if (pj_sockaddr_cmp(&test_srv->turn_alloc[i].client_addr, src_addr)==0) - break; - } - - - if (pj_stun_msg_check((pj_uint8_t*)data, size, PJ_STUN_NO_FINGERPRINT_CHECK)!=PJ_SUCCESS) { - /* Not STUN message, this probably is a ChannelData */ - pj_turn_channel_data cd; - const pj_turn_channel_data *pcd = (const pj_turn_channel_data*)data; - pj_ssize_t sent; - - if (i==test_srv->turn_alloc_cnt) { - /* Invalid data */ - PJ_LOG(1,(THIS_FILE, - "TURN Server received strayed data")); - goto on_return; - } - - alloc = &test_srv->turn_alloc[i]; - - cd.ch_number = pj_ntohs(pcd->ch_number); - cd.length = pj_ntohs(pcd->length); - - /* For UDP check the packet length */ - if (size < cd.length+sizeof(cd)) { - PJ_LOG(1,(THIS_FILE, - "TURN Server: ChannelData discarded: UDP size error")); - goto on_return; - } - - /* Lookup peer */ - for (i=0; iperm_cnt; ++i) { - if (alloc->chnum[i] == cd.ch_number) - break; - } - - if (i==alloc->perm_cnt) { - PJ_LOG(1,(THIS_FILE, - "TURN Server: ChannelData discarded: invalid channel number")); - goto on_return; - } - - /* Relay the data to peer */ - sent = cd.length; - pj_activesock_sendto(alloc->sock, &alloc->send_key, - pcd+1, &sent, 0, - &alloc->perm[i], - pj_sockaddr_get_len(&alloc->perm[i])); - - /* Done */ - goto on_return; - } - - status = pj_stun_msg_decode(pool, (pj_uint8_t*)data, size, - PJ_STUN_IS_DATAGRAM | PJ_STUN_CHECK_PACKET | - PJ_STUN_NO_FINGERPRINT_CHECK, - &req, NULL, NULL); - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(1,("", "STUN message decode error from client %s: %s", client_info, errmsg)); - goto on_return; - } - - if (i==test_srv->turn_alloc_cnt) { - /* New client */ - //pj_str_t ip_addr; - pj_stun_username_attr *uname; - pj_activesock_cb alloc_sock_cb; - turn_allocation *alloc; - - /* Must be Allocate request */ - if (req->hdr.type != PJ_STUN_ALLOCATE_REQUEST) { - PJ_LOG(1,(THIS_FILE, "Invalid %s %s from client %s", - pj_stun_get_method_name(req->hdr.type), - pj_stun_get_class_name(req->hdr.type), - client_info)); - - if (PJ_STUN_IS_REQUEST(req->hdr.type)) - pj_stun_msg_create_response(pool, req, PJ_STUN_SC_BAD_REQUEST, NULL, &resp); - goto send_pkt; - } - - test_srv->turn_stat.rx_allocate_cnt++; - - /* Skip if we're not responding to Allocate request */ - if (!test_srv->turn_respond_allocate) - return PJ_TRUE; - - /* Check if we have too many clients */ - if (test_srv->turn_alloc_cnt == MAX_TURN_ALLOC) { - pj_stun_msg_create_response(pool, req, PJ_STUN_SC_INSUFFICIENT_CAPACITY, NULL, &resp); - goto send_pkt; - } - - /* Get USERNAME attribute */ - uname = (pj_stun_username_attr*) - pj_stun_msg_find_attr(req, PJ_STUN_ATTR_USERNAME, 0); - - /* Reject if it doesn't have MESSAGE-INTEGRITY or USERNAME attributes or - * the user is incorrect - */ - if (pj_stun_msg_find_attr(req, PJ_STUN_ATTR_MESSAGE_INTEGRITY, 0) == NULL || - uname==NULL || pj_stricmp2(&uname->value, TURN_USERNAME) != 0) - { - pj_str_t tmp; - - pj_stun_msg_create_response(pool, req, PJ_STUN_SC_UNAUTHORIZED, NULL, &resp); - pj_stun_msg_add_string_attr(pool, resp, PJ_STUN_ATTR_REALM, &test_srv->domain); - pj_stun_msg_add_string_attr(pool, resp, PJ_STUN_ATTR_NONCE, pj_cstr(&tmp, TURN_NONCE)); - goto send_pkt; - } - - pj_bzero(&alloc_sock_cb, sizeof(alloc_sock_cb)); - alloc_sock_cb.on_data_recvfrom = &alloc_on_data_recvfrom; - - /* Create allocation */ - alloc = &test_srv->turn_alloc[test_srv->turn_alloc_cnt]; - alloc->perm_cnt = 0; - alloc->test_srv = test_srv; - pj_memcpy(&alloc->client_addr, src_addr, addr_len); - pj_ioqueue_op_key_init(&alloc->send_key, sizeof(alloc->send_key)); - - alloc->pool = pj_pool_create(test_srv->stun_cfg->pf, "alloc", 512, 512, NULL); - - /* Create relay socket */ - pj_sockaddr_in_init(&alloc->alloc_addr.ipv4, NULL, 0); - pj_gethostip(pj_AF_INET(), &alloc->alloc_addr); - - status = pj_activesock_create_udp(alloc->pool, &alloc->alloc_addr, NULL, - test_srv->stun_cfg->ioqueue, - &alloc_sock_cb, alloc, - &alloc->sock, &alloc->alloc_addr); - if (status != PJ_SUCCESS) { - pj_pool_release(alloc->pool); - pj_stun_msg_create_response(pool, req, PJ_STUN_SC_SERVER_ERROR, NULL, &resp); - goto send_pkt; - } - //pj_sockaddr_set_str_addr(pj_AF_INET(), &alloc->alloc_addr, &ip_addr); - - pj_activesock_set_user_data(alloc->sock, alloc); - - status = pj_activesock_start_recvfrom(alloc->sock, alloc->pool, 1500, 0); - if (status != PJ_SUCCESS) { - pj_activesock_close(alloc->sock); - pj_pool_release(alloc->pool); - pj_stun_msg_create_response(pool, req, PJ_STUN_SC_SERVER_ERROR, NULL, &resp); - goto send_pkt; - } - - /* Create Data indication */ - status = pj_stun_msg_create(alloc->pool, PJ_STUN_DATA_INDICATION, - PJ_STUN_MAGIC, NULL, &alloc->data_ind); - if (status != PJ_SUCCESS) { - pj_activesock_close(alloc->sock); - pj_pool_release(alloc->pool); - pj_stun_msg_create_response(pool, req, PJ_STUN_SC_SERVER_ERROR, NULL, &resp); - goto send_pkt; - } - pj_stun_msg_add_sockaddr_attr(alloc->pool, alloc->data_ind, - PJ_STUN_ATTR_XOR_PEER_ADDR, PJ_TRUE, - &alloc->alloc_addr, - pj_sockaddr_get_len(&alloc->alloc_addr)); - pj_stun_msg_add_binary_attr(alloc->pool, alloc->data_ind, - PJ_STUN_ATTR_DATA, (pj_uint8_t*)"", 1); - - /* Create response */ - resp = create_success_response(test_srv, alloc, req, pool, 600, &auth_key); - if (resp == NULL) { - pj_activesock_close(alloc->sock); - pj_pool_release(alloc->pool); - pj_stun_msg_create_response(pool, req, PJ_STUN_SC_SERVER_ERROR, NULL, &resp); - goto send_pkt; - } - - ++test_srv->turn_alloc_cnt; - - } else { - alloc = &test_srv->turn_alloc[i]; - - if (req->hdr.type == PJ_STUN_ALLOCATE_REQUEST) { - - test_srv->turn_stat.rx_allocate_cnt++; - - /* Skip if we're not responding to Allocate request */ - if (!test_srv->turn_respond_allocate) - return PJ_TRUE; - - resp = create_success_response(test_srv, alloc, req, pool, 0, &auth_key); - - } else if (req->hdr.type == PJ_STUN_REFRESH_REQUEST) { - pj_stun_lifetime_attr *lf_attr; - - test_srv->turn_stat.rx_refresh_cnt++; - - /* Skip if we're not responding to Refresh request */ - if (!test_srv->turn_respond_refresh) - return PJ_TRUE; - - lf_attr = (pj_stun_lifetime_attr*) - pj_stun_msg_find_attr(req, PJ_STUN_ATTR_LIFETIME, 0); - if (lf_attr && lf_attr->value != 0) { - resp = create_success_response(test_srv, alloc, req, pool, 600, &auth_key); - pj_array_erase(test_srv->turn_alloc, sizeof(test_srv->turn_alloc[0]), - test_srv->turn_alloc_cnt, i); - --test_srv->turn_alloc_cnt; - } else - resp = create_success_response(test_srv, alloc, req, pool, 0, &auth_key); - } else if (req->hdr.type == PJ_STUN_CREATE_PERM_REQUEST) { - for (i=0; iattr_count; ++i) { - if (req->attr[i]->type == PJ_STUN_ATTR_XOR_PEER_ADDR) { - pj_stun_xor_peer_addr_attr *pa = (pj_stun_xor_peer_addr_attr*)req->attr[i]; - unsigned j; - - for (j=0; jperm_cnt; ++j) { - if (pj_sockaddr_cmp(&alloc->perm[j], &pa->sockaddr)==0) - break; - } - - if (j==alloc->perm_cnt && alloc->perm_cnt < MAX_TURN_PERM) { - char peer_info[PJ_INET6_ADDRSTRLEN]; - pj_sockaddr_print(&pa->sockaddr, peer_info, sizeof(peer_info), 3); - - pj_sockaddr_cp(&alloc->perm[alloc->perm_cnt], &pa->sockaddr); - ++alloc->perm_cnt; - - PJ_LOG(5,("", "Permission %s added to client %s, perm_cnt=%d", - peer_info, client_info, alloc->perm_cnt)); - } - - } - } - resp = create_success_response(test_srv, alloc, req, pool, 0, &auth_key); - } else if (req->hdr.type == PJ_STUN_SEND_INDICATION) { - pj_stun_xor_peer_addr_attr *pa; - pj_stun_data_attr *da; - - test_srv->turn_stat.rx_send_ind_cnt++; - - pa = (pj_stun_xor_peer_addr_attr*) - pj_stun_msg_find_attr(req, PJ_STUN_ATTR_XOR_PEER_ADDR, 0); - da = (pj_stun_data_attr*) - pj_stun_msg_find_attr(req, PJ_STUN_ATTR_DATA, 0); - if (pa && da) { - unsigned j; - char peer_info[PJ_INET6_ADDRSTRLEN]; - pj_ssize_t sent; - - pj_sockaddr_print(&pa->sockaddr, peer_info, sizeof(peer_info), 3); - - for (j=0; jperm_cnt; ++j) { - if (pj_sockaddr_cmp(&alloc->perm[j], &pa->sockaddr)==0) - break; - } - - if (j==alloc->perm_cnt) { - PJ_LOG(5,("", "SendIndication to %s is rejected (no permission)", - peer_info, client_info, alloc->perm_cnt)); - } else { - PJ_LOG(5,(THIS_FILE, "Relaying %d bytes data from client %s to peer %s, " - "perm_cnt=%d", - da->length, client_info, peer_info, alloc->perm_cnt)); - - sent = da->length; - pj_activesock_sendto(alloc->sock, &alloc->send_key, - da->data, &sent, 0, - &pa->sockaddr, - pj_sockaddr_get_len(&pa->sockaddr)); - } - } else { - PJ_LOG(1,(THIS_FILE, "Invalid Send Indication from %s", client_info)); - } - } else if (req->hdr.type == PJ_STUN_CHANNEL_BIND_REQUEST) { - pj_stun_xor_peer_addr_attr *pa; - pj_stun_channel_number_attr *cna; - unsigned j, cn; - - pa = (pj_stun_xor_peer_addr_attr*) - pj_stun_msg_find_attr(req, PJ_STUN_ATTR_XOR_PEER_ADDR, 0); - cna = (pj_stun_channel_number_attr*) - pj_stun_msg_find_attr(req, PJ_STUN_ATTR_CHANNEL_NUMBER, 0); - cn = PJ_STUN_GET_CH_NB(cna->value); - - resp = create_success_response(test_srv, alloc, req, pool, 0, &auth_key); - - for (j=0; jperm_cnt; ++j) { - if (pj_sockaddr_cmp(&alloc->perm[j], &pa->sockaddr)==0) - break; - } - - if (i==alloc->perm_cnt) { - if (alloc->perm_cnt==MAX_TURN_PERM) { - pj_stun_msg_create_response(pool, req, PJ_STUN_SC_INSUFFICIENT_CAPACITY, NULL, &resp); - goto send_pkt; - } - pj_sockaddr_cp(&alloc->perm[i], &pa->sockaddr); - ++alloc->perm_cnt; - } - alloc->chnum[i] = cn; - - resp = create_success_response(test_srv, alloc, req, pool, 0, &auth_key); - - } else if (PJ_STUN_IS_REQUEST(req->hdr.type)) { - pj_stun_msg_create_response(pool, req, PJ_STUN_SC_BAD_REQUEST, NULL, &resp); - } - } - - -send_pkt: - if (resp) { - status = pj_stun_msg_encode(resp, (pj_uint8_t*)data, MAX_STUN_PKT, - 0, &auth_key, &size); - if (status != PJ_SUCCESS) - goto on_return; - - len = size; - status = pj_activesock_sendto(asock, &test_srv->send_key, data, &len, - 0, src_addr, addr_len); - } - -on_return: - pj_pool_release(pool); - return PJ_TRUE; -} - -/* On received data from peer */ -static pj_bool_t alloc_on_data_recvfrom(pj_activesock_t *asock, - void *data, - pj_size_t size, - const pj_sockaddr_t *src_addr, - int addr_len, - pj_status_t status) -{ - turn_allocation *alloc; - pj_stun_xor_peer_addr_attr *pa; - pj_stun_data_attr *da; - char peer_info[PJ_INET6_ADDRSTRLEN+10]; - char client_info[PJ_INET6_ADDRSTRLEN+10]; - pj_uint8_t buffer[1500]; - pj_ssize_t sent; - unsigned i; - - if (status != PJ_SUCCESS) - return PJ_TRUE; - - alloc = (turn_allocation*) pj_activesock_get_user_data(asock); - - pj_sockaddr_print(&alloc->client_addr, client_info, sizeof(client_info), 3); - pj_sockaddr_print(src_addr, peer_info, sizeof(peer_info), 3); - - /* Check that this peer has a permission */ - for (i=0; iperm_cnt; ++i) { - if (pj_sockaddr_get_len(&alloc->perm[i]) == (unsigned)addr_len && - pj_memcmp(pj_sockaddr_get_addr(&alloc->perm[i]), - pj_sockaddr_get_addr(src_addr), - addr_len) == 0) - { - break; - } - } - if (i==alloc->perm_cnt) { - PJ_LOG(5,("", "Client %s received %d bytes unauthorized data from peer %s", - client_info, size, peer_info)); - if (alloc->perm_cnt == 0) - PJ_LOG(5,("", "Client %s has no permission", client_info)); - return PJ_TRUE; - } - - /* Format a Data indication */ - pa = (pj_stun_xor_peer_addr_attr*) - pj_stun_msg_find_attr(alloc->data_ind, PJ_STUN_ATTR_XOR_PEER_ADDR, 0); - da = (pj_stun_data_attr*) - pj_stun_msg_find_attr(alloc->data_ind, PJ_STUN_ATTR_DATA, 0); - pj_assert(pa && da); - - pj_sockaddr_cp(&pa->sockaddr, src_addr); - da->data = (pj_uint8_t*)data; - da->length = size; - - /* Encode Data indication */ - status = pj_stun_msg_encode(alloc->data_ind, buffer, sizeof(buffer), 0, - NULL, &size); - if (status != PJ_SUCCESS) - return PJ_TRUE; - - /* Send */ - sent = size; - PJ_LOG(5,("", "Forwarding %d bytes data from peer %s to client %s", - sent, peer_info, client_info)); - - pj_activesock_sendto(alloc->test_srv->turn_sock, &alloc->send_key, buffer, - &sent, 0, &alloc->client_addr, - pj_sockaddr_get_len(&alloc->client_addr)); - - return PJ_TRUE; -} - diff --git a/res/pjproject/pjnath/src/pjnath-test/server.h b/res/pjproject/pjnath/src/pjnath-test/server.h deleted file mode 100644 index 4ac61e9df1..0000000000 --- a/res/pjproject/pjnath/src/pjnath-test/server.h +++ /dev/null @@ -1,110 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJNATH_TEST_SERVER_H__ -#define __PJNATH_TEST_SERVER_H__ - -#include -#include -#include - -#define DNS_SERVER_PORT 55533 -#define STUN_SERVER_PORT 33478 -#define TURN_SERVER_PORT 33479 - -#define TURN_USERNAME "auser" -#define TURN_PASSWD "apass" - -#define MAX_TURN_ALLOC 16 -#define MAX_TURN_PERM 16 - -enum test_server_flags -{ - CREATE_DNS_SERVER = (1 << 0), - CREATE_A_RECORD_FOR_DOMAIN = (1 << 1), - - CREATE_STUN_SERVER = (1 << 5), - CREATE_STUN_SERVER_DNS_SRV = (1 << 6), - - CREATE_TURN_SERVER = (1 << 10), - CREATE_TURN_SERVER_DNS_SRV = (1 << 11), - -}; - -typedef struct test_server test_server; - -/* TURN allocation */ -typedef struct turn_allocation -{ - test_server *test_srv; - pj_pool_t *pool; - pj_activesock_t *sock; - pj_ioqueue_op_key_t send_key; - pj_sockaddr client_addr; - pj_sockaddr alloc_addr; - unsigned perm_cnt; - pj_sockaddr perm[MAX_TURN_PERM]; - unsigned chnum[MAX_TURN_PERM]; - pj_stun_msg *data_ind; -} turn_allocation; - -/* - * Server installation for testing. - * This comprises of DNS server, STUN server, and TURN server. - */ -struct test_server -{ - pj_pool_t *pool; - pj_uint32_t flags; - pj_stun_config *stun_cfg; - pj_ioqueue_op_key_t send_key; - - pj_dns_server *dns_server; - - pj_activesock_t *stun_sock; - - pj_activesock_t *turn_sock; - unsigned turn_alloc_cnt; - turn_allocation turn_alloc[MAX_TURN_ALLOC]; - pj_bool_t turn_respond_allocate; - pj_bool_t turn_respond_refresh; - - struct turn_stat { - unsigned rx_allocate_cnt; - unsigned rx_refresh_cnt; - unsigned rx_send_ind_cnt; - } turn_stat; - - pj_str_t domain; - pj_str_t username; - pj_str_t passwd; - -}; - - -pj_status_t create_test_server(pj_stun_config *stun_cfg, - pj_uint32_t flags, - const char *domain, - test_server **p_test_srv); -void destroy_test_server(test_server *test_srv); -void test_server_poll_events(test_server *test_srv); - - -#endif /* __PJNATH_TEST_SERVER_H__ */ - diff --git a/res/pjproject/pjnath/src/pjnath-test/sess_auth.c b/res/pjproject/pjnath/src/pjnath-test/sess_auth.c deleted file mode 100644 index 9780d2b4c8..0000000000 --- a/res/pjproject/pjnath/src/pjnath-test/sess_auth.c +++ /dev/null @@ -1,1146 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" - -#define THIS_FILE "sess_auth.c" - -#define REALM "STUN session test" -#define USERNAME "theusername" -#define PASSWORD "thepassword" -#define NONCE "thenonce" - - -/* STUN config */ -static pj_stun_config stun_cfg; - - -////////////////////////////////////////////////////////////////////////////////////////// -// -// SERVER PART -// - - -/* Server instance */ -static struct server -{ - pj_pool_t *pool; - pj_sockaddr addr; - pj_stun_session *sess; - - pj_bool_t responding; - unsigned recv_count; - pj_stun_auth_type auth_type; - - pj_sock_t sock; - - pj_bool_t quit; - pj_thread_t *thread; -} *server; - - -static pj_status_t server_send_msg(pj_stun_session *sess, - void *token, - const void *pkt, - pj_size_t pkt_size, - const pj_sockaddr_t *dst_addr, - unsigned addr_len) -{ - pj_ssize_t len = pkt_size; - - PJ_UNUSED_ARG(sess); - PJ_UNUSED_ARG(token); - - return pj_sock_sendto(server->sock, pkt, &len, 0, dst_addr, addr_len); -} - -static pj_status_t server_on_rx_request(pj_stun_session *sess, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_stun_rx_data *rdata, - void *token, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - PJ_UNUSED_ARG(pkt); - PJ_UNUSED_ARG(pkt_len); - PJ_UNUSED_ARG(token); - - return pj_stun_session_respond(sess, rdata, 0, NULL, NULL, PJ_TRUE, - src_addr, src_addr_len); -} - - -static pj_status_t server_get_auth(void *user_data, - pj_pool_t *pool, - pj_str_t *realm, - pj_str_t *nonce) -{ - PJ_UNUSED_ARG(user_data); - PJ_UNUSED_ARG(pool); - - if (server->auth_type == PJ_STUN_AUTH_SHORT_TERM) { - realm->slen = nonce->slen = 0; - } else { - *realm = pj_str(REALM); - *nonce = pj_str(NONCE); - } - - return PJ_SUCCESS; -} - - -static pj_status_t server_get_password( const pj_stun_msg *msg, - void *user_data, - const pj_str_t *realm, - const pj_str_t *username, - pj_pool_t *pool, - pj_stun_passwd_type *data_type, - pj_str_t *data) -{ - PJ_UNUSED_ARG(msg); - PJ_UNUSED_ARG(user_data); - PJ_UNUSED_ARG(pool); - - if (server->auth_type == PJ_STUN_AUTH_SHORT_TERM) { - if (realm && realm->slen) { - PJ_LOG(4,(THIS_FILE, " server expecting short term")); - return -1; - } - } else { - if (realm==NULL || realm->slen==0) { - PJ_LOG(4,(THIS_FILE, " realm not present")); - return -1; - } - } - - if (pj_strcmp2(username, USERNAME) != 0) { - PJ_LOG(4,(THIS_FILE, " wrong username")); - return -1; - } - - *data_type = PJ_STUN_PASSWD_PLAIN; - *data = pj_str(PASSWORD); - - return PJ_SUCCESS; -} - - -static pj_bool_t server_verify_nonce(const pj_stun_msg *msg, - void *user_data, - const pj_str_t *realm, - const pj_str_t *username, - const pj_str_t *nonce) -{ - PJ_UNUSED_ARG(msg); - PJ_UNUSED_ARG(user_data); - PJ_UNUSED_ARG(realm); - PJ_UNUSED_ARG(username); - - if (pj_strcmp2(nonce, NONCE) != 0) - return PJ_FALSE; - - return PJ_TRUE; -} - - -static int server_thread(void *unused) -{ - PJ_UNUSED_ARG(unused); - - PJ_LOG(5,("", " server thread started")); - - while (!server->quit) { - pj_fd_set_t readset; - pj_time_val delay = {0, 10}; - - PJ_FD_ZERO(&readset); - PJ_FD_SET(server->sock, &readset); - - if (pj_sock_select(server->sock+1, &readset, NULL, NULL, &delay)==1 && - PJ_FD_ISSET(server->sock, &readset)) - { - char pkt[1000]; - pj_ssize_t len; - pj_status_t status; - pj_sockaddr src_addr; - int src_addr_len; - - len = sizeof(pkt); - src_addr_len = sizeof(src_addr); - - status = pj_sock_recvfrom(server->sock, pkt, &len, 0, &src_addr, &src_addr_len); - if (status != PJ_SUCCESS) - continue; - - /* Increment server's receive count */ - server->recv_count++; - - /* Only pass to server if we allow to respond */ - if (!server->responding) - continue; - - pj_stun_session_on_rx_pkt(server->sess, pkt, len, - PJ_STUN_CHECK_PACKET | PJ_STUN_IS_DATAGRAM, - NULL, NULL, &src_addr, src_addr_len); - } - } - - return 0; -} - - -/* Destroy server */ -static void destroy_server(void) -{ - if (server->thread) { - server->quit = PJ_TRUE; - pj_thread_join(server->thread); - pj_thread_destroy(server->thread); - } - - if (server->sock) { - pj_sock_close(server->sock); - } - - if (server->sess) { - pj_stun_session_destroy(server->sess); - } - - pj_pool_release(server->pool); - server = NULL; -} - -/* Instantiate standard server */ -static int create_std_server(pj_stun_auth_type auth_type, - pj_bool_t responding) -{ - pj_pool_t *pool; - pj_stun_session_cb sess_cb; - pj_stun_auth_cred cred; - pj_status_t status; - - /* Create server */ - pool = pj_pool_create(mem, "server", 1000, 1000, NULL); - server = PJ_POOL_ZALLOC_T(pool, struct server); - server->pool = pool; - server->auth_type = auth_type; - server->responding = responding; - - /* Create STUN session */ - pj_bzero(&sess_cb, sizeof(sess_cb)); - sess_cb.on_rx_request = &server_on_rx_request; - sess_cb.on_send_msg = &server_send_msg; - status = pj_stun_session_create(&stun_cfg, "server", &sess_cb, PJ_FALSE, &server->sess); - if (status != PJ_SUCCESS) { - destroy_server(); - return -10; - } - - /* Configure credential */ - pj_bzero(&cred, sizeof(cred)); - cred.type = PJ_STUN_AUTH_CRED_DYNAMIC; - cred.data.dyn_cred.get_auth = &server_get_auth; - cred.data.dyn_cred.get_password = &server_get_password; - cred.data.dyn_cred.verify_nonce = &server_verify_nonce; - status = pj_stun_session_set_credential(server->sess, auth_type, &cred); - if (status != PJ_SUCCESS) { - destroy_server(); - return -20; - } - - /* Create socket */ - status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &server->sock); - if (status != PJ_SUCCESS) { - destroy_server(); - return -30; - } - - /* Bind */ - pj_sockaddr_in_init(&server->addr.ipv4, NULL, 0); - status = pj_sock_bind(server->sock, &server->addr, pj_sockaddr_get_len(&server->addr)); - if (status != PJ_SUCCESS) { - destroy_server(); - return -40; - } else { - /* Get the bound IP address */ - int namelen = sizeof(server->addr); - pj_sockaddr addr; - - status = pj_sock_getsockname(server->sock, &server->addr, &namelen); - if (status != PJ_SUCCESS) { - destroy_server(); - return -43; - } - - status = pj_gethostip(pj_AF_INET(), &addr); - if (status != PJ_SUCCESS) { - destroy_server(); - return -45; - } - - pj_sockaddr_copy_addr(&server->addr, &addr); - } - - - /* Create worker thread */ - status = pj_thread_create(pool, "server", &server_thread, 0, 0, 0, &server->thread); - if (status != PJ_SUCCESS) { - destroy_server(); - return -30; - } - - return 0; -} - - -////////////////////////////////////////////////////////////////////////////////////////// -// -// CLIENT PART -// - -static struct client -{ - pj_pool_t *pool; - pj_stun_session *sess; - pj_sem_t *test_complete; - pj_sock_t sock; - - pj_bool_t responding; - unsigned recv_count; - - pj_status_t response_status; - pj_stun_msg *response; - - pj_bool_t quit; - pj_thread_t *thread; -} *client; - - -static pj_status_t client_send_msg(pj_stun_session *sess, - void *token, - const void *pkt, - pj_size_t pkt_size, - const pj_sockaddr_t *dst_addr, - unsigned addr_len) -{ - pj_ssize_t len = pkt_size; - - PJ_UNUSED_ARG(sess); - PJ_UNUSED_ARG(token); - - return pj_sock_sendto(client->sock, pkt, &len, 0, dst_addr, addr_len); -} - - -static void client_on_request_complete( pj_stun_session *sess, - pj_status_t status, - void *token, - pj_stun_tx_data *tdata, - const pj_stun_msg *response, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - PJ_UNUSED_ARG(sess); - PJ_UNUSED_ARG(token); - PJ_UNUSED_ARG(tdata); - PJ_UNUSED_ARG(src_addr); - PJ_UNUSED_ARG(src_addr_len); - - client->response_status = status; - if (response) - client->response = pj_stun_msg_clone(client->pool, response); - - pj_sem_post(client->test_complete); -} - - -static int client_thread(void *unused) -{ - PJ_UNUSED_ARG(unused); - - while (!client->quit) { - pj_fd_set_t readset; - pj_time_val delay = {0, 10}; - - /* Also poll the timer heap */ - pj_timer_heap_poll(stun_cfg.timer_heap, NULL); - - /* Poll client socket */ - PJ_FD_ZERO(&readset); - PJ_FD_SET(client->sock, &readset); - - if (pj_sock_select(client->sock+1, &readset, NULL, NULL, &delay)==1 && - PJ_FD_ISSET(client->sock, &readset)) - { - char pkt[1000]; - pj_ssize_t len; - pj_status_t status; - pj_sockaddr src_addr; - int src_addr_len; - - len = sizeof(pkt); - src_addr_len = sizeof(src_addr); - - status = pj_sock_recvfrom(client->sock, pkt, &len, 0, &src_addr, &src_addr_len); - if (status != PJ_SUCCESS) - continue; - - /* Increment client's receive count */ - client->recv_count++; - - /* Only pass to client if we allow to respond */ - if (!client->responding) - continue; - - pj_stun_session_on_rx_pkt(client->sess, pkt, len, - PJ_STUN_CHECK_PACKET | PJ_STUN_IS_DATAGRAM, - NULL, NULL, &src_addr, src_addr_len); - } - - } - - return 0; -} - - -static void destroy_client_server(void) -{ - if (client->thread) { - client->quit = 1; - pj_thread_join(client->thread); - pj_thread_destroy(client->thread); - } - - if (client->sess) - pj_stun_session_destroy(client->sess); - - if (client->sock) - pj_sock_close(client->sock); - - if (client->test_complete) - pj_sem_destroy(client->test_complete); - - if (server) - destroy_server(); -} - -static int run_client_test(const char *title, - - pj_bool_t server_responding, - pj_stun_auth_type server_auth_type, - - pj_stun_auth_type client_auth_type, - const char *realm, - const char *username, - const char *nonce, - const char *password, - pj_bool_t dummy_mi, - - pj_bool_t expected_error, - pj_status_t expected_code, - const char *expected_realm, - const char *expected_nonce, - - int (*more_check)(void)) -{ - pj_pool_t *pool; - pj_stun_session_cb sess_cb; - pj_stun_auth_cred cred; - pj_stun_tx_data *tdata; - pj_status_t status; - int rc = 0; - - PJ_LOG(3,(THIS_FILE, " %s test", title)); - - /* Create client */ - pool = pj_pool_create(mem, "client", 1000, 1000, NULL); - client = PJ_POOL_ZALLOC_T(pool, struct client); - client->pool = pool; - client->responding = PJ_TRUE; - - /* Create STUN session */ - pj_bzero(&sess_cb, sizeof(sess_cb)); - sess_cb.on_request_complete = &client_on_request_complete; - sess_cb.on_send_msg = &client_send_msg; - status = pj_stun_session_create(&stun_cfg, "client", &sess_cb, PJ_FALSE, &client->sess); - if (status != PJ_SUCCESS) { - destroy_client_server(); - return -200; - } - - /* Create semaphore */ - status = pj_sem_create(pool, "client", 0, 1, &client->test_complete); - if (status != PJ_SUCCESS) { - destroy_client_server(); - return -205; - } - - /* Create client socket */ - status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &client->sock); - if (status != PJ_SUCCESS) { - destroy_client_server(); - return -210; - } - - /* Bind client socket */ - status = pj_sock_bind_in(client->sock, 0, 0); - if (status != PJ_SUCCESS) { - destroy_client_server(); - return -220; - } - - /* Create client thread */ - status = pj_thread_create(pool, "client", &client_thread, NULL, 0, 0, &client->thread); - if (status != PJ_SUCCESS) { - destroy_client_server(); - return -230; - } - - /* Initialize credential */ - pj_bzero(&cred, sizeof(cred)); - cred.type = PJ_STUN_AUTH_CRED_STATIC; - if (realm) cred.data.static_cred.realm = pj_str((char*)realm); - if (username) cred.data.static_cred.username = pj_str((char*)username); - if (nonce) cred.data.static_cred.nonce = pj_str((char*)nonce); - if (password) cred.data.static_cred.data = pj_str((char*)password); - cred.data.static_cred.data_type = PJ_STUN_PASSWD_PLAIN; - status = pj_stun_session_set_credential(client->sess, client_auth_type, &cred); - if (status != PJ_SUCCESS) { - destroy_client_server(); - return -240; - } - - /* Create the server */ - status = create_std_server(server_auth_type, server_responding); - if (status != 0) { - destroy_client_server(); - return status; - } - - /* Create request */ - status = pj_stun_session_create_req(client->sess, PJ_STUN_BINDING_REQUEST, - PJ_STUN_MAGIC, NULL, &tdata); - if (status != PJ_SUCCESS) { - destroy_client_server(); - return -250; - } - - /* Add our own attributes if client authentication is set to none */ - if (client_auth_type == PJ_STUN_AUTH_NONE) { - pj_str_t tmp; - if (realm) - pj_stun_msg_add_string_attr(tdata->pool, tdata->msg, PJ_STUN_ATTR_REALM, pj_cstr(&tmp, realm)); - if (username) - pj_stun_msg_add_string_attr(tdata->pool, tdata->msg, PJ_STUN_ATTR_USERNAME, pj_cstr(&tmp, username)); - if (nonce) - pj_stun_msg_add_string_attr(tdata->pool, tdata->msg, PJ_STUN_ATTR_NONCE, pj_cstr(&tmp, nonce)); - if (password) { - // ignored - } - if (dummy_mi) { - pj_stun_msgint_attr *mi; - - pj_stun_msgint_attr_create(tdata->pool, &mi); - pj_stun_msg_add_attr(tdata->msg, &mi->hdr); - } - - } - - /* Send the request */ - status = pj_stun_session_send_msg(client->sess, NULL, PJ_FALSE, PJ_TRUE, &server->addr, - pj_sockaddr_get_len(&server->addr), tdata); - if (status != PJ_SUCCESS) { - destroy_client_server(); - return -270; - } - - /* Wait until test complete */ - pj_sem_wait(client->test_complete); - - - /* Verify response */ - if (expected_error) { - if (expected_code != client->response_status) { - char e1[PJ_ERR_MSG_SIZE], e2[PJ_ERR_MSG_SIZE]; - - pj_strerror(expected_code, e1, sizeof(e1)); - pj_strerror(client->response_status, e2, sizeof(e2)); - - PJ_LOG(3,(THIS_FILE, " err: expecting %d (%s) but got %d (%s) response", - expected_code, e1, client->response_status, e2)); - rc = -500; - } - - } else { - int res_code = 0; - pj_stun_realm_attr *arealm; - pj_stun_nonce_attr *anonce; - - if (client->response_status != 0) { - PJ_LOG(3,(THIS_FILE, " err: expecting successful operation but got error %d", - client->response_status)); - rc = -600; - goto done; - } - - if (PJ_STUN_IS_ERROR_RESPONSE(client->response->hdr.type)) { - pj_stun_errcode_attr *aerr = NULL; - - aerr = (pj_stun_errcode_attr*) - pj_stun_msg_find_attr(client->response, - PJ_STUN_ATTR_ERROR_CODE, 0); - if (aerr == NULL) { - PJ_LOG(3,(THIS_FILE, " err: received error response without ERROR-CODE")); - rc = -610; - goto done; - } - - res_code = aerr->err_code; - } else { - res_code = 0; - } - - /* Check that code matches */ - if (expected_code != res_code) { - PJ_LOG(3,(THIS_FILE, " err: expecting response code %d but got %d", - expected_code, res_code)); - rc = -620; - goto done; - } - - /* Find REALM and NONCE attributes */ - arealm = (pj_stun_realm_attr*) - pj_stun_msg_find_attr(client->response, PJ_STUN_ATTR_REALM, 0); - anonce = (pj_stun_nonce_attr*) - pj_stun_msg_find_attr(client->response, PJ_STUN_ATTR_NONCE, 0); - - if (expected_realm) { - if (arealm == NULL) { - PJ_LOG(3,(THIS_FILE, " err: expecting REALM in esponse")); - rc = -630; - goto done; - } - if (pj_strcmp2(&arealm->value, expected_realm)!=0) { - PJ_LOG(3,(THIS_FILE, " err: REALM mismatch in response")); - rc = -640; - goto done; - } - } else { - if (arealm != NULL) { - PJ_LOG(3,(THIS_FILE, " err: non expecting REALM in response")); - rc = -650; - goto done; - } - } - - if (expected_nonce) { - if (anonce == NULL) { - PJ_LOG(3,(THIS_FILE, " err: expecting NONCE in esponse")); - rc = -660; - goto done; - } - if (pj_strcmp2(&anonce->value, expected_nonce)!=0) { - PJ_LOG(3,(THIS_FILE, " err: NONCE mismatch in response")); - rc = -670; - goto done; - } - } else { - if (anonce != NULL) { - PJ_LOG(3,(THIS_FILE, " err: non expecting NONCE in response")); - rc = -680; - goto done; - } - } - } - - /* Our tests are okay so far. Let caller do some more tests if - * it wants to. - */ - if (rc==0 && more_check) { - rc = (*more_check)(); - } - - -done: - destroy_client_server(); - return rc; -} - - -////////////////////////////////////////////////////////////////////////////////////////// -// -// More verification -// - -/* Retransmission test */ -static int retransmit_check(void) -{ - - if (server->recv_count != PJ_STUN_MAX_TRANSMIT_COUNT) { - PJ_LOG(3,("", " expecting %d retransmissions, got %d", - PJ_STUN_MAX_TRANSMIT_COUNT, server->recv_count)); - return -700; - } - if (client->recv_count != 0) - return -710; - - return 0; -} - -static int long_term_check1(void) -{ - /* SHOULD NOT contain USERNAME or MESSAGE-INTEGRITY */ - if (pj_stun_msg_find_attr(client->response, PJ_STUN_ATTR_USERNAME, 0)) - return -800; - if (pj_stun_msg_find_attr(client->response, PJ_STUN_ATTR_MESSAGE_INTEGRITY, 0)) - return -800; - - return 0; -} - -static int long_term_check2(void) -{ - /* response SHOULD NOT include a USERNAME, NONCE, REALM or - * MESSAGE-INTEGRITY attribute. - */ - if (pj_stun_msg_find_attr(client->response, PJ_STUN_ATTR_USERNAME, 0)) - return -900; - if (pj_stun_msg_find_attr(client->response, PJ_STUN_ATTR_NONCE, 0)) - return -910; - if (pj_stun_msg_find_attr(client->response, PJ_STUN_ATTR_REALM, 0)) - return -920; - if (pj_stun_msg_find_attr(client->response, PJ_STUN_ATTR_MESSAGE_INTEGRITY, 0)) - return -930; - - return 0; -} - -static int long_term_check3(void) -{ - /* response SHOULD NOT include a USERNAME, NONCE, and REALM */ - if (pj_stun_msg_find_attr(client->response, PJ_STUN_ATTR_USERNAME, 0)) - return -1000; - if (pj_stun_msg_find_attr(client->response, PJ_STUN_ATTR_NONCE, 0)) - return -1010; - if (pj_stun_msg_find_attr(client->response, PJ_STUN_ATTR_REALM, 0)) - return -1020; - - return 0; -} - -////////////////////////////////////////////////////////////////////////////////////////// -// -// TEST MAIN -// - - -int sess_auth_test(void) -{ - pj_pool_t *pool; - int rc; - - PJ_LOG(3,(THIS_FILE, " STUN session authentication test")); - - /* Init STUN config */ - pj_stun_config_init(&stun_cfg, mem, 0, NULL, NULL); - - /* Create pool and timer heap */ - pool = pj_pool_create(mem, "authtest", 200, 200, NULL); - if (pj_timer_heap_create(pool, 20, &stun_cfg.timer_heap)) { - pj_pool_release(pool); - return -5; - } - - /* Basic retransmission test */ - rc = run_client_test("Retransmission", // title - PJ_FALSE, // server responding - PJ_STUN_AUTH_NONE, // server auth - PJ_STUN_AUTH_NONE, // client auth - NULL, // realm - NULL, // username - NULL, // nonce - NULL, // password - PJ_FALSE, // dummy MI - PJ_TRUE, // expected error - PJNATH_ESTUNTIMEDOUT,// expected code - NULL, // expected realm - NULL, // expected nonce - &retransmit_check // more check - ); - if (rc != 0) { - goto done; - } - - /* - * Short term credential. - * draft-ietf-behave-rfc3489bis-15#section-10.1.2 - */ - - /* - * If the message does not contain both a MESSAGE-INTEGRITY and a - * USERNAME attribute, If the message is a request, the server MUST - * reject the request with an error response. This response MUST - * use an error code of 400 (Bad Request). - */ - rc = run_client_test("Missing MESSAGE-INTEGRITY (short term)", // title - PJ_TRUE, // server responding - PJ_STUN_AUTH_SHORT_TERM, // server auth - PJ_STUN_AUTH_NONE, // client auth - NULL, // realm - NULL, // username - NULL, // nonce - NULL, // password - PJ_FALSE, // dummy MI - PJ_TRUE, // expected error - PJ_STATUS_FROM_STUN_CODE(400),// expected code - NULL, // expected realm - NULL, // expected nonce - NULL // more check - ); - if (rc != 0) { - goto done; - } - - /* If the USERNAME does not contain a username value currently valid - * within the server: If the message is a request, the server MUST - * reject the request with an error response. This response MUST use - * an error code of 401 (Unauthorized). - */ - rc = run_client_test("USERNAME mismatch (short term)", // title - PJ_TRUE, // server responding - PJ_STUN_AUTH_SHORT_TERM, // server auth - PJ_STUN_AUTH_SHORT_TERM, // client auth - NULL, // realm - "anotheruser", // username - NULL, // nonce - "anotherpass", // password - PJ_FALSE, // dummy MI - PJ_TRUE, // expected error - PJ_STATUS_FROM_STUN_CODE(401),// expected code - NULL, // expected realm - NULL, // expected nonce - NULL // more check - ); - if (rc != 0) { - goto done; - } - - /* Using the password associated with the username, compute the value - * for the message-integrity as described in Section 15.4. If the - * resulting value does not match the contents of the MESSAGE- - * INTEGRITY attribute: - * - * - If the message is a request, the server MUST reject the request - * with an error response. This response MUST use an error code - * of 401 (Unauthorized). - */ - rc = run_client_test("MESSAGE-INTEGRITY mismatch (short term)", // title - PJ_TRUE, // server responding - PJ_STUN_AUTH_SHORT_TERM, // server auth - PJ_STUN_AUTH_SHORT_TERM, // client auth - NULL, // realm - USERNAME, // username - NULL, // nonce - "anotherpass", // password - PJ_FALSE, // dummy MI - PJ_TRUE, // expected error - PJ_STATUS_FROM_STUN_CODE(401),// expected code - NULL, // expected realm - NULL, // expected nonce - NULL // more check - ); - if (rc != 0) { - goto done; - } - - /* USERNAME is not present, server must respond with 400 (Bad - * Request). - */ - rc = run_client_test("Missing USERNAME (short term)",// title - PJ_TRUE, // server responding - PJ_STUN_AUTH_SHORT_TERM, // server auth - PJ_STUN_AUTH_NONE, // client auth - NULL, // realm - NULL, // username - NULL, // nonce - NULL, // password - PJ_TRUE, // dummy MI - PJ_TRUE, // expected error - PJ_STATUS_FROM_STUN_CODE(400), // expected code - NULL, // expected realm - NULL, // expected nonce - NULL // more check - ); - if (rc != 0) { - goto done; - } - - /* Successful short term authentication */ - rc = run_client_test("Successful scenario (short term)", // title - PJ_TRUE, // server responding - PJ_STUN_AUTH_SHORT_TERM, // server auth - PJ_STUN_AUTH_SHORT_TERM, // client auth - NULL, // realm - USERNAME, // username - NULL, // nonce - PASSWORD, // password - PJ_FALSE, // dummy MI - PJ_FALSE, // expected error - PJ_SUCCESS, // expected code - NULL, // expected realm - NULL, // expected nonce - NULL // more check - ); - if (rc != 0) { - goto done; - } - - /* - * (our own) Extended tests for long term credential - */ - - /* When server wants to use short term credential, but request has - * REALM, reject with .... 401 ??? - */ - rc = run_client_test("Unwanted REALM (short term)", // title - PJ_TRUE, // server responding - PJ_STUN_AUTH_SHORT_TERM, // server auth - PJ_STUN_AUTH_NONE, // client auth - REALM, // realm - USERNAME, // username - NULL, // nonce - PASSWORD, // password - PJ_TRUE, // dummy MI - PJ_TRUE, // expected error - PJ_STATUS_FROM_STUN_CODE(401), // expected code - NULL, // expected realm - NULL, // expected nonce - &long_term_check2 // more check - ); - if (rc != 0) { - goto done; - } - - - /* - * Long term credential. - * draft-ietf-behave-rfc3489bis-15#section-10.2.2 - */ - - /* If the message does not contain a MESSAGE-INTEGRITY attribute, the - * server MUST generate an error response with an error code of 401 - * (Unauthorized). This response MUST include a REALM value. It is - * RECOMMENDED that the REALM value be the domain name of the - * provider of the STUN server. The response MUST include a NONCE, - * selected by the server. The response SHOULD NOT contain a - * USERNAME or MESSAGE-INTEGRITY attribute. - */ - rc = run_client_test("Missing M-I (long term)", // title - PJ_TRUE, // server responding - PJ_STUN_AUTH_LONG_TERM, // server auth - PJ_STUN_AUTH_NONE, // client auth - NULL, // client realm - NULL, // client username - NULL, // client nonce - NULL, // client password - PJ_FALSE, // client dummy MI - PJ_TRUE, // expected error - PJ_STATUS_FROM_STUN_CODE(401), // expected code - REALM, // expected realm - NONCE, // expected nonce - &long_term_check1 // more check - ); - if (rc != 0) { - goto done; - } - - /* If the message contains a MESSAGE-INTEGRITY attribute, but is - * missing the USERNAME, REALM or NONCE attributes, the server MUST - * generate an error response with an error code of 400 (Bad - * Request). This response SHOULD NOT include a USERNAME, NONCE, - * REALM or MESSAGE-INTEGRITY attribute. - */ - /* Missing USERNAME */ - rc = run_client_test("Missing USERNAME (long term)", // title - PJ_TRUE, // server responding - PJ_STUN_AUTH_LONG_TERM, // server auth - PJ_STUN_AUTH_NONE, // client auth - REALM, // client realm - NULL, // client username - NONCE, // client nonce - PASSWORD, // client password - PJ_TRUE, // client dummy MI - PJ_TRUE, // expected error - PJ_STATUS_FROM_STUN_CODE(400), // expected code - NULL, // expected realm - NULL, // expected nonce - &long_term_check2 // more check - ); - if (rc != 0) { - goto done; - } - - /* Missing REALM */ - rc = run_client_test("Missing REALM (long term)", // title - PJ_TRUE, // server responding - PJ_STUN_AUTH_LONG_TERM, // server auth - PJ_STUN_AUTH_NONE, // client auth - NULL, // client realm - USERNAME, // client username - NONCE, // client nonce - PASSWORD, // client password - PJ_TRUE, // client dummy MI - PJ_TRUE, // expected error - PJ_STATUS_FROM_STUN_CODE(400), // expected code - NULL, // expected realm - NULL, // expected nonce - &long_term_check2 // more check - ); - if (rc != 0) { - goto done; - } - - /* Missing NONCE */ - rc = run_client_test("Missing NONCE (long term)", // title - PJ_TRUE, // server responding - PJ_STUN_AUTH_LONG_TERM, // server auth - PJ_STUN_AUTH_NONE, // client auth - REALM, // client realm - USERNAME, // client username - NULL, // client nonce - PASSWORD, // client password - PJ_TRUE, // client dummy MI - PJ_TRUE, // expected error - PJ_STATUS_FROM_STUN_CODE(400), // expected code - NULL, // expected realm - NULL, // expected nonce - &long_term_check2 // more check - ); - if (rc != 0) { - goto done; - } - - /* If the NONCE is no longer valid, the server MUST generate an error - * response with an error code of 438 (Stale Nonce). This response - * MUST include a NONCE and REALM attribute and SHOULD NOT incude the - * USERNAME or MESSAGE-INTEGRITY attribute. Servers can invalidate - * nonces in order to provide additional security. See Section 4.3 - * of [RFC2617] for guidelines. - */ - // how?? - - /* If the username in the USERNAME attribute is not valid, the server - * MUST generate an error response with an error code of 401 - * (Unauthorized). This response MUST include a REALM value. It is - * RECOMMENDED that the REALM value be the domain name of the - * provider of the STUN server. The response MUST include a NONCE, - * selected by the server. The response SHOULD NOT contain a - * USERNAME or MESSAGE-INTEGRITY attribute. - */ - rc = run_client_test("Invalid username (long term)", // title - PJ_TRUE, // server responding - PJ_STUN_AUTH_LONG_TERM, // server auth - PJ_STUN_AUTH_LONG_TERM, // client auth - REALM, // client realm - "anotheruser", // client username - "a nonce", // client nonce - "somepassword", // client password - PJ_FALSE, // client dummy MI - PJ_TRUE, // expected error - PJ_STATUS_FROM_STUN_CODE(401), // expected code - REALM, // expected realm - NONCE, // expected nonce - &long_term_check1 // more check - ); - if (rc != 0) { - goto done; - } - - /* Successful long term authentication */ - rc = run_client_test("Successful scenario (long term)", // title - PJ_TRUE, // server responding - PJ_STUN_AUTH_LONG_TERM, // server auth - PJ_STUN_AUTH_LONG_TERM, // client auth - REALM, // client realm - USERNAME, // client username - "anothernonce", // client nonce - PASSWORD, // client password - PJ_FALSE, // client dummy MI - PJ_FALSE, // expected error - 0, // expected code - NULL, // expected realm - NULL, // expected nonce - &long_term_check3 // more check - ); - if (rc != 0) { - goto done; - } - - /* - * (our own) Extended tests for long term credential - */ - - /* If REALM doesn't match, server must respond with 401 - */ -#if 0 - // STUN session now will just use the realm sent in the - // response, so this test will fail because it will - // authenticate successfully. - - rc = run_client_test("Invalid REALM (long term)", // title - PJ_TRUE, // server responding - PJ_STUN_AUTH_LONG_TERM, // server auth - PJ_STUN_AUTH_LONG_TERM, // client auth - "anotherrealm", // client realm - USERNAME, // client username - NONCE, // client nonce - PASSWORD, // client password - PJ_FALSE, // client dummy MI - PJ_TRUE, // expected error - PJ_STATUS_FROM_STUN_CODE(401), // expected code - REALM, // expected realm - NONCE, // expected nonce - &long_term_check1 // more check - ); - if (rc != 0) { - goto done; - } -#endif - - /* Invalid HMAC */ - - /* Valid static short term, without NONCE */ - - /* Valid static short term, WITH NONCE */ - - /* Valid static long term (with NONCE */ - - /* Valid dynamic short term (without NONCE) */ - - /* Valid dynamic short term (with NONCE) */ - - /* Valid dynamic long term (with NONCE) */ - - -done: - pj_timer_heap_destroy(stun_cfg.timer_heap); - pj_pool_release(pool); - return rc; -} diff --git a/res/pjproject/pjnath/src/pjnath-test/stun.c b/res/pjproject/pjnath/src/pjnath-test/stun.c deleted file mode 100644 index f0044c6633..0000000000 --- a/res/pjproject/pjnath/src/pjnath-test/stun.c +++ /dev/null @@ -1,983 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" - -#define THIS_FILE "stun.c" - -static pj_stun_msg* create1(pj_pool_t*); -static int verify1(pj_stun_msg*); -static int verify2(pj_stun_msg*); -static int verify5(pj_stun_msg*); - -static struct test -{ - const char *title; - char *pdu; - unsigned pdu_len; - pj_stun_msg* (*create)(pj_pool_t*); - pj_status_t expected_status; - int (*verify)(pj_stun_msg*); -} tests[] = -{ - { - "Invalid message type", - "\x11\x01\x00\x00\x21\x12\xa4\x42" - "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", - 20, - NULL, - PJNATH_EINSTUNMSGTYPE, - NULL - }, - { - "Short message (1) (partial header)", - "\x00\x01", - 2, - NULL, - PJNATH_EINSTUNMSGLEN, - NULL - }, - { - "Short message (2) (partial header)", - "\x00\x01\x00\x00\x21\x12\xa4\x42" - "\x00\x00\x00\x00\x00\x00\x00\x00", - 16, - NULL, - PJNATH_EINSTUNMSGLEN, - NULL - }, - { - "Short message (3), (missing attribute)", - "\x00\x01\x00\x08\x21\x12\xa4\x42" - "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", - 20, - NULL, - PJNATH_EINSTUNMSGLEN, - NULL - }, - { - "Short message (4), (partial attribute header)", - "\x00\x01\x00\x08\x21\x12\xa4\x42" - "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" - "\x80\x28", - 22, - NULL, - PJNATH_EINSTUNMSGLEN, - NULL - }, - { - "Short message (5), (partial attribute header)", - "\x00\x01\x00\x08\x21\x12\xa4\x42" - "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" - "\x80\x28\x00", - 23, - NULL, - PJNATH_EINSTUNMSGLEN, - NULL - }, - { - "Short message (6), (partial attribute header)", - "\x00\x01\x00\x08\x21\x12\xa4\x42" - "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" - "\x80\x28\x00\x04", - 24, - NULL, - PJNATH_EINSTUNMSGLEN, - NULL - }, - { - "Short message (7), (partial attribute body)", - "\x00\x01\x00\x08\x21\x12\xa4\x42" - "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" - "\x80\x28\x00\x04\x00\x00\x00", - 27, - NULL, - PJNATH_EINSTUNMSGLEN, - NULL - }, - { - "Message length in header is too long", - "\x00\x01\xff\xff\x21\x12\xa4\x42" - "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" - "\x80\x28\x00\x04\x00\x00\x00", - 27, - NULL, - PJNATH_EINSTUNMSGLEN, - NULL - }, - { - "Message length in header is shorter", - "\x00\x01\x00\x04\x21\x12\xa4\x42" - "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" - "\x80\x28\x00\x04\x00\x00\x00\x00", - 28, - NULL, - PJNATH_EINSTUNMSGLEN, - NULL - }, - { - "Invalid magic", - "\x00\x01\x00\x08\x00\x12\xa4\x42" - "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" - "\x80\x28\x00\x04\x00\x00\x00\x00", - 28, - NULL, - PJ_SUCCESS, - NULL - }, - { - "Character beyond message", - "\x00\x01\x00\x08\x21\x12\xa4\x42" - "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" - "\x80\x28\x00\x04\x00\x00\x00\x00\x0a", - 29, - NULL, - PJNATH_EINSTUNMSGLEN, - NULL - }, - { - "Respond unknown mandatory attribute with 420 and " - "UNKNOWN-ATTRIBUTES attribute", - NULL, - 0, - &create1, - 0, - &verify1 - }, - { - "Unknown but non-mandatory should be okay", - "\x00\x01\x00\x08\x21\x12\xa4\x42" - "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" - "\x80\xff\x00\x03\x00\x00\x00\x00", - 28, - NULL, - PJ_SUCCESS, - &verify2 - }, - { - "String attr length larger than message", - "\x00\x01\x00\x08\x00\x12\xa4\x42" - "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" - "\x00\x06\x00\xff\x00\x00\x00\x00", - 28, - NULL, - PJNATH_ESTUNINATTRLEN, - NULL - }, - { - "Attribute other than FINGERPRINT after MESSAGE-INTEGRITY is allowed", - "\x00\x01\x00\x20\x21\x12\xa4\x42" - "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" - "\x00\x08\x00\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" - "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" // M-I - "\x80\x24\x00\x04\x00\x00\x00\x00", // REFRESH-INTERVAL - 52, - NULL, - PJ_SUCCESS, - NULL - }, - { - "Attribute between MESSAGE-INTEGRITY and FINGERPRINT is allowed", - "\x00\x01\x00\x28\x21\x12\xa4\x42" - "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" - "\x00\x08\x00\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" - "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" // M-I - "\x80\x24\x00\x04\x00\x00\x00\x00" // REFRESH-INTERVAL - "\x80\x28\x00\x04\xc7\xde\xdd\x65", // FINGERPRINT - 60, - NULL, - PJ_SUCCESS, - &verify5 - }, - { - "Attribute past FINGERPRINT is not allowed", - "\x00\x01\x00\x10\x21\x12\xa4\x42" - "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" - "\x80\x28\x00\x04\x00\x00\x00\x00" - "\x80\x24\x00\x04\x00\x00\x00\x00", - 36, - NULL, - PJNATH_ESTUNFINGERPOS, - NULL - } -}; - -static const char *err(pj_status_t status) -{ - static char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(status, errmsg, sizeof(errmsg)); - return errmsg; -} - -static const pj_str_t USERNAME = {"user", 4}; -static const pj_str_t PASSWORD = {"password", 8}; - -static int decode_test(void) -{ - unsigned i; - pj_pool_t *pool; - int rc = 0; - - pool = pj_pool_create(mem, "decode_test", 1024, 1024, NULL); - - PJ_LOG(3,(THIS_FILE, " STUN decode test")); - - for (i=0; ititle)); - - if (t->pdu) { - status = pj_stun_msg_decode(pool, (pj_uint8_t*)t->pdu, t->pdu_len, - PJ_STUN_IS_DATAGRAM | PJ_STUN_CHECK_PACKET, - &msg, NULL, NULL); - - /* Check expected decode result */ - if (t->expected_status != status) { - PJ_LOG(1,(THIS_FILE, " expecting status %d, got %d", - t->expected_status, status)); - rc = -10; - goto on_return; - } - - } else { - msg = t->create(pool); - status = PJ_SUCCESS; - } - - if (status != PJ_SUCCESS) - continue; - - /* Try to encode message */ - pj_stun_create_key(pool, &key, NULL, &USERNAME, PJ_STUN_PASSWD_PLAIN, &PASSWORD); - status = pj_stun_msg_encode(msg, buf, sizeof(buf), 0, &key, &len); - if (status != PJ_SUCCESS) { - PJ_LOG(1,(THIS_FILE, " encode error: %s", err(status))); - rc = -40; - goto on_return; - } - - /* Try to decode it once more */ - status = pj_stun_msg_decode(pool, buf, len, - PJ_STUN_IS_DATAGRAM | PJ_STUN_CHECK_PACKET, - &msg2, NULL, NULL); - if (status != PJ_SUCCESS) { - PJ_LOG(1,(THIS_FILE, " subsequent decoding failed: %s", err(status))); - rc = -50; - goto on_return; - } - - /* Verify */ - if (t->verify) { - rc = t->verify(msg); - if (rc != 0) { - goto on_return; - } - } - } - -on_return: - pj_pool_release(pool); - if (rc == 0) - PJ_LOG(3,(THIS_FILE, "...success!")); - return rc; -} - -/* Create 420 response */ -static pj_stun_msg* create1(pj_pool_t *pool) -{ - char *pdu = "\x00\x01\x00\x08\x21\x12\xa4\x42" - "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" - "\x00\xff\x00\x04\x00\x00\x00\x00"; - unsigned pdu_len = 28; - pj_stun_msg *msg, *res; - pj_status_t status; - - status = pj_stun_msg_decode(pool, (pj_uint8_t*)pdu, pdu_len, - PJ_STUN_IS_DATAGRAM | PJ_STUN_CHECK_PACKET, - &msg, NULL, &res); - pj_assert(status != PJ_SUCCESS); - pj_assert(res != NULL); - - return res; -} - -/* Error response MUST have ERROR-CODE attribute */ -/* 420 response MUST contain UNKNOWN-ATTRIBUTES */ -static int verify1(pj_stun_msg *msg) -{ - pj_stun_errcode_attr *aerr; - pj_stun_unknown_attr *aunk; - - if (!PJ_STUN_IS_ERROR_RESPONSE(msg->hdr.type)) { - PJ_LOG(1,(THIS_FILE, " expecting error message")); - return -100; - } - - aerr = (pj_stun_errcode_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_ERROR_CODE, 0); - if (aerr == NULL) { - PJ_LOG(1,(THIS_FILE, " missing ERROR-CODE attribute")); - return -110; - } - - if (aerr->err_code != 420) { - PJ_LOG(1,(THIS_FILE, " expecting 420 error")); - return -120; - } - - aunk = (pj_stun_unknown_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_UNKNOWN_ATTRIBUTES, 0); - if (aunk == NULL) { - PJ_LOG(1,(THIS_FILE, " missing UNKNOWN-ATTRIBUTE attribute")); - return -130; - } - - if (aunk->attr_count != 1) { - PJ_LOG(1,(THIS_FILE, " expecting one unknown attribute")); - return -140; - } - - if (aunk->attrs[0] != 0xff) { - PJ_LOG(1,(THIS_FILE, " expecting 0xff as unknown attribute")); - return -150; - } - - return 0; -} - -/* Attribute count should be zero since unknown attribute is not parsed */ -static int verify2(pj_stun_msg *msg) -{ - pj_stun_binary_attr *bin_attr; - - if (msg->attr_count != 1) { - PJ_LOG(1,(THIS_FILE, " expecting one attribute count")); - return -200; - } - - bin_attr = (pj_stun_binary_attr*)msg->attr[0]; - if (bin_attr->hdr.type != 0x80ff) { - PJ_LOG(1,(THIS_FILE, " expecting attribute type 0x80ff")); - return -210; - } - if (bin_attr->hdr.length != 3) { - PJ_LOG(1,(THIS_FILE, " expecting attribute length = 4")); - return -220; - } - if (bin_attr->magic != PJ_STUN_MAGIC) { - PJ_LOG(1,(THIS_FILE, " expecting PJ_STUN_MAGIC for unknown attr")); - return -230; - } - if (bin_attr->length != 3) { - PJ_LOG(1,(THIS_FILE, " expecting data length 4")); - return -240; - } - - return 0; -} - - -/* Attribute between MESSAGE-INTEGRITY and FINGERPRINT is allowed */ -static int verify5(pj_stun_msg *msg) -{ - if (msg->attr_count != 3) { - PJ_LOG(1,(THIS_FILE, " expecting 3 attribute count")); - return -500; - } - - if (msg->attr[0]->type != PJ_STUN_ATTR_MESSAGE_INTEGRITY) { - PJ_LOG(1,(THIS_FILE, " expecting MESSAGE-INTEGRITY")); - return -510; - } - if (msg->attr[1]->type != PJ_STUN_ATTR_REFRESH_INTERVAL) { - PJ_LOG(1,(THIS_FILE, " expecting REFRESH-INTERVAL")); - return -520; - } - if (msg->attr[2]->type != PJ_STUN_ATTR_FINGERPRINT) { - PJ_LOG(1,(THIS_FILE, " expecting FINGERPRINT")); - return -530; - } - - return 0; -} - - -static int decode_verify(void) -{ - /* Decode all attribute types */ - return 0; -} - -/* - * Test vectors, from: - * http://tools.ietf.org/html/draft-denis-behave-rfc3489bis-test-vectors-02 - */ -typedef struct test_vector test_vector; - -static pj_stun_msg* create_msgint1(pj_pool_t *pool, test_vector *v); -static pj_stun_msg* create_msgint2(pj_pool_t *pool, test_vector *v); -static pj_stun_msg* create_msgint3(pj_pool_t *pool, test_vector *v); - -enum -{ - USE_MESSAGE_INTEGRITY = 1, - USE_FINGERPRINT = 2 -}; - -static struct test_vector -{ - unsigned msg_type; - char *tsx_id; - char *pdu; - unsigned pdu_len; - unsigned options; - char *username; - char *password; - char *realm; - char *nonce; - pj_stun_msg* (*create)(pj_pool_t*, test_vector*); -} test_vectors[] = -{ - { - PJ_STUN_BINDING_REQUEST, - "\xb7\xe7\xa7\x01\xbc\x34\xd6\x86\xfa\x87\xdf\xae", - "\x00\x01\x00\x44\x21\x12\xa4\x42\xb7\xe7" - "\xa7\x01\xbc\x34\xd6\x86\xfa\x87\xdf\xae" - "\x00\x24\x00\x04\x6e\x00\x01\xff\x80\x29" - "\x00\x08\x93\x2f\xf9\xb1\x51\x26\x3b\x36" - "\x00\x06\x00\x09\x65\x76\x74\x6a\x3a\x68" - "\x36\x76\x59\x20\x20\x20\x00\x08\x00\x14" - "\x62\x4e\xeb\xdc\x3c\xc9\x2d\xd8\x4b\x74" - "\xbf\x85\xd1\xc0\xf5\xde\x36\x87\xbd\x33" - "\x80\x28\x00\x04\xad\x8a\x85\xff", - 88, - USE_MESSAGE_INTEGRITY | USE_FINGERPRINT, - "evtj:h6vY", - "VOkJxbRl1RmTxUk/WvJxBt", - "", - "", - &create_msgint1 - } - /* disabled: see http://trac.pjsip.org/repos/ticket/960 - , - { - PJ_STUN_BINDING_RESPONSE, - "\xb7\xe7\xa7\x01\xbc\x34\xd6\x86\xfa\x87\xdf\xae", - "\x01\x01\x00\x3c" - "\x21\x12\xa4\x42" - "\xb7\xe7\xa7\x01\xbc\x34\xd6\x86\xfa\x87\xdf\xae" - "\x80\x22\x00\x0b" - "\x74\x65\x73\x74\x20\x76\x65\x63\x74\x6f\x72\x20" - "\x00\x20\x00\x08" - "\x00\x01\xa1\x47\xe1\x12\xa6\x43" - "\x00\x08\x00\x14" - "\x2b\x91\xf5\x99\xfd\x9e\x90\xc3\x8c\x74\x89\xf9" - "\x2a\xf9\xba\x53\xf0\x6b\xe7\xd7" - "\x80\x28\x00\x04" - "\xc0\x7d\x4c\x96", - 80, - USE_MESSAGE_INTEGRITY | USE_FINGERPRINT, - "evtj:h6vY", - "VOkJxbRl1RmTxUk/WvJxBt", - "", - "", - &create_msgint2 - } - */ - - /* disabled: see http://trac.pjsip.org/repos/ticket/960 -#if defined(PJ_HAS_IPV6) && PJ_HAS_IPV6!=0 - , - { - PJ_STUN_BINDING_RESPONSE, - "\xb7\xe7\xa7\x01\xbc\x34\xd6\x86\xfa\x87\xdf\xae", - "\x01\x01\x00\x48" // Response type and message length - "\x21\x12\xa4\x42" // Message cookie - "\xb7\xe7\xa7\x01" // } - "\xbc\x34\xd6\x86" // } Transaction ID - "\xfa\x87\xdf\xae" // } - - "\x80\x22\x00\x0b" // SOFTWARE, length=11 - "\x74\x65\x73\x74" - "\x20\x76\x65\x63" - "\x74\x6f\x72\x20" - "\x00\x20\x00\x14" // XOR-MAPPED-ADDRESS - "\x00\x02\xa1\x47" - "\x01\x13\xa9\xfa" - "\xa5\xd3\xf1\x79" - "\xbc\x25\xf4\xb5" - "\xbe\xd2\xb9\xd9" - "\x00\x08\x00\x14" // MESSAGE-INTEGRITY attribute header - "\xa3\x82\x95\x4e" // } - "\x4b\xe6\x7b\xf1" // } - "\x17\x84\xc9\x7c" // } HMAC-SHA1 fingerprint - "\x82\x92\xc2\x75" // } - "\xbf\xe3\xed\x41" // } - "\x80\x28\x00\x04" // FINGERPRINT attribute header - "\xc8\xfb\x0b\x4c" // CRC32 fingerprint - , - 92, - USE_MESSAGE_INTEGRITY | USE_FINGERPRINT, - "evtj:h6vY", - "VOkJxbRl1RmTxUk/WvJxBt", - "", - "", - &create_msgint3 - } -#endif - */ -}; - - -static char* print_binary(const pj_uint8_t *data, unsigned data_len) -{ - static char buf[1500]; - unsigned length = sizeof(buf); - char *p = buf; - unsigned i; - - for (i=0; ipdu, v->pdu_len))); - - /* Try to parse the reference message first */ - status = pj_stun_msg_decode(pool, (pj_uint8_t*)v->pdu, v->pdu_len, - PJ_STUN_IS_DATAGRAM | PJ_STUN_CHECK_PACKET, - &ref_msg, &parsed_len, NULL); - if (status != PJ_SUCCESS) { - PJ_LOG(1,(THIS_FILE, " Error decoding reference message")); - rc = -1010; - goto on_return; - } - - if (parsed_len != v->pdu_len) { - PJ_LOG(1,(THIS_FILE, " Parsed len error")); - rc = -1020; - goto on_return; - } - - /* Print the reference message */ - pj_stun_msg_dump(ref_msg, print, sizeof(print), NULL); - PJ_LOG(4,(THIS_FILE, "Reference message:\n%s", print)); - - /* Create our message */ - msg = v->create(pool, v); - if (msg == NULL) { - PJ_LOG(1,(THIS_FILE, " Error creating stun message")); - rc = -1030; - goto on_return; - } - - /* Encode message */ - if (v->options & USE_MESSAGE_INTEGRITY) { - pj_str_t s1, s2, r; - - pj_stun_create_key(pool, &key, pj_cstr(&r, v->realm), - pj_cstr(&s1, v->username), - PJ_STUN_PASSWD_PLAIN, - pj_cstr(&s2, v->password)); - pj_stun_msg_encode(msg, buf, sizeof(buf), 0, &key, &len); - - } else { - pj_stun_msg_encode(msg, buf, sizeof(buf), 0, NULL, &len); - } - - /* Print our raw message */ - PJ_LOG(4,(THIS_FILE, "Message PDU:\n%s", - print_binary((pj_uint8_t*)buf, len))); - - /* Print our message */ - pj_stun_msg_dump(msg, print, sizeof(print), NULL); - PJ_LOG(4,(THIS_FILE, "Message is:\n%s", print)); - - /* Compare message length */ - if (len != v->pdu_len) { - PJ_LOG(1,(THIS_FILE, " Message length mismatch")); - rc = -1050; - goto on_return; - } - - pos = cmp_buf(buf, (const pj_uint8_t*)v->pdu, len); - if (pos != (unsigned)-1) { - PJ_LOG(1,(THIS_FILE, " Message mismatch at byte %d", pos)); - rc = -1060; - goto on_return; - } - - /* Authenticate the request/response */ - if (v->options & USE_MESSAGE_INTEGRITY) { - if (PJ_STUN_IS_REQUEST(msg->hdr.type)) { - pj_stun_auth_cred cred; - pj_status_t status; - - pj_bzero(&cred, sizeof(cred)); - cred.type = PJ_STUN_AUTH_CRED_STATIC; - cred.data.static_cred.realm = pj_str(v->realm); - cred.data.static_cred.username = pj_str(v->username); - cred.data.static_cred.data = pj_str(v->password); - cred.data.static_cred.nonce = pj_str(v->nonce); - - status = pj_stun_authenticate_request(buf, len, msg, - &cred, pool, NULL, NULL); - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(1,(THIS_FILE, - " Request authentication failed: %s", - errmsg)); - rc = -1070; - goto on_return; - } - - } else if (PJ_STUN_IS_RESPONSE(msg->hdr.type)) { - pj_status_t status; - status = pj_stun_authenticate_response(buf, len, msg, &key); - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(1,(THIS_FILE, - " Response authentication failed: %s", - errmsg)); - rc = -1080; - goto on_return; - } - } - } - } - - -on_return: - pj_pool_release(pool); - return rc; -} - -static pj_stun_msg* create_msgint1(pj_pool_t *pool, test_vector *v) -{ - pj_stun_msg *msg; - pj_timestamp u64; - pj_str_t s1; - pj_status_t status; - - status = pj_stun_msg_create(pool, v->msg_type, PJ_STUN_MAGIC, - (pj_uint8_t*)v->tsx_id, &msg); - if (status != PJ_SUCCESS) - goto on_error; - - status = pj_stun_msg_add_uint_attr(pool, msg, PJ_STUN_ATTR_PRIORITY, - 0x6e0001ff); - if (status != PJ_SUCCESS) - goto on_error; - - u64.u32.hi = 0x932ff9b1; - u64.u32.lo = 0x51263b36; - status = pj_stun_msg_add_uint64_attr(pool, msg, - PJ_STUN_ATTR_ICE_CONTROLLED, &u64); - if (status != PJ_SUCCESS) - goto on_error; - - status = pj_stun_msg_add_string_attr(pool, msg, PJ_STUN_ATTR_USERNAME, - pj_cstr(&s1, v->username)); - if (status != PJ_SUCCESS) - goto on_error; - - status = pj_stun_msg_add_msgint_attr(pool, msg); - if (status != PJ_SUCCESS) - goto on_error; - - status = pj_stun_msg_add_uint_attr(pool, msg, PJ_STUN_ATTR_FINGERPRINT, 0); - if (status != PJ_SUCCESS) - goto on_error; - - return msg; - -on_error: - app_perror(" error: create_msgint1()", status); - return NULL; -} - -static pj_stun_msg* create_msgint2(pj_pool_t *pool, test_vector *v) -{ - pj_stun_msg *msg; - pj_sockaddr_in mapped_addr; - pj_str_t s1; - pj_status_t status; - - status = pj_stun_msg_create(pool, v->msg_type, PJ_STUN_MAGIC, - (pj_uint8_t*)v->tsx_id, &msg); - if (status != PJ_SUCCESS) - goto on_error; - - status = pj_stun_msg_add_string_attr(pool, msg, PJ_STUN_ATTR_SOFTWARE, - pj_cstr(&s1, "test vector")); - if (status != PJ_SUCCESS) - goto on_error; - - status = pj_sockaddr_in_init(&mapped_addr, pj_cstr(&s1, "192.0.2.1"), - 32853); - if (status != PJ_SUCCESS) - goto on_error; - - status = pj_stun_msg_add_sockaddr_attr(pool, msg, - PJ_STUN_ATTR_XOR_MAPPED_ADDR, - PJ_TRUE, &mapped_addr, - sizeof(pj_sockaddr_in)); - if (status != PJ_SUCCESS) - goto on_error; - - status = pj_stun_msg_add_msgint_attr(pool, msg); - if (status != PJ_SUCCESS) - goto on_error; - - status = pj_stun_msg_add_uint_attr(pool, msg, PJ_STUN_ATTR_FINGERPRINT, 0); - if (status != PJ_SUCCESS) - goto on_error; - - return msg; - -on_error: - app_perror(" error: create_msgint2()", status); - return NULL; -} - - -static pj_stun_msg* create_msgint3(pj_pool_t *pool, test_vector *v) -{ - pj_stun_msg *msg; - pj_sockaddr mapped_addr; - pj_str_t s1; - pj_status_t status; - - status = pj_stun_msg_create(pool, v->msg_type, PJ_STUN_MAGIC, - (pj_uint8_t*)v->tsx_id, &msg); - if (status != PJ_SUCCESS) - goto on_error; - - status = pj_stun_msg_add_string_attr(pool, msg, PJ_STUN_ATTR_SOFTWARE, - pj_cstr(&s1, "test vector")); - if (status != PJ_SUCCESS) - goto on_error; - - status = pj_sockaddr_init(pj_AF_INET6(), &mapped_addr, - pj_cstr(&s1, "2001:db8:1234:5678:11:2233:4455:6677"), - 32853); - if (status != PJ_SUCCESS) - goto on_error; - - status = pj_stun_msg_add_sockaddr_attr(pool, msg, - PJ_STUN_ATTR_XOR_MAPPED_ADDR, - PJ_TRUE, &mapped_addr, - sizeof(pj_sockaddr)); - if (status != PJ_SUCCESS) - goto on_error; - - status = pj_stun_msg_add_msgint_attr(pool, msg); - if (status != PJ_SUCCESS) - goto on_error; - - status = pj_stun_msg_add_uint_attr(pool, msg, PJ_STUN_ATTR_FINGERPRINT, 0); - if (status != PJ_SUCCESS) - goto on_error; - - return msg; - -on_error: - app_perror(" error: create_msgint3()", status); - return NULL; -} - - -/* Compare two messages */ -static int cmp_msg(const pj_stun_msg *msg1, const pj_stun_msg *msg2) -{ - unsigned i; - - if (msg1->hdr.type != msg2->hdr.type) - return -10; - if (msg1->hdr.length != msg2->hdr.length) - return -20; - if (msg1->hdr.magic != msg2->hdr.magic) - return -30; - if (pj_memcmp(msg1->hdr.tsx_id, msg2->hdr.tsx_id, sizeof(msg1->hdr.tsx_id))) - return -40; - if (msg1->attr_count != msg2->attr_count) - return -50; - - for (i=0; iattr_count; ++i) { - const pj_stun_attr_hdr *a1 = msg1->attr[i]; - const pj_stun_attr_hdr *a2 = msg2->attr[i]; - - if (a1->type != a2->type) - return -60; - if (a1->length != a2->length) - return -70; - } - - return 0; -} - -/* Decode and authenticate message with unknown non-mandatory attribute */ -static int handle_unknown_non_mandatory(void) -{ - pj_pool_t *pool = pj_pool_create(mem, NULL, 1000, 1000, NULL); - pj_stun_msg *msg0, *msg1, *msg2; - pj_uint8_t data[] = { 1, 2, 3, 4, 5, 6}; - pj_uint8_t packet[500]; - pj_stun_auth_cred cred; - pj_size_t len; - pj_status_t rc; - - PJ_LOG(3,(THIS_FILE, " handling unknown non-mandatory attr")); - - PJ_LOG(3,(THIS_FILE, " encoding")); - rc = pj_stun_msg_create(pool, PJ_STUN_BINDING_REQUEST, PJ_STUN_MAGIC, NULL, &msg0); - rc += pj_stun_msg_add_string_attr(pool, msg0, PJ_STUN_ATTR_USERNAME, &USERNAME); - rc += pj_stun_msg_add_binary_attr(pool, msg0, 0x80ff, data, sizeof(data)); - rc += pj_stun_msg_add_msgint_attr(pool, msg0); - rc += pj_stun_msg_encode(msg0, packet, sizeof(packet), 0, &PASSWORD, &len); - -#if 0 - if (1) { - unsigned i; - puts(""); - printf("{ "); - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" - -#define THIS_FILE "stun_sock_test.c" - -enum { - RESPOND_STUN = 1, - WITH_MAPPED = 2, - WITH_XOR_MAPPED = 4, - - ECHO = 8 -}; - -/* - * Simple STUN server - */ -struct stun_srv -{ - pj_activesock_t *asock; - unsigned flag; - pj_sockaddr addr; - unsigned rx_cnt; - pj_ioqueue_op_key_t send_key; - pj_str_t ip_to_send; - pj_uint16_t port_to_send; -}; - -static pj_bool_t srv_on_data_recvfrom(pj_activesock_t *asock, - void *data, - pj_size_t size, - const pj_sockaddr_t *src_addr, - int addr_len, - pj_status_t status) -{ - struct stun_srv *srv; - pj_ssize_t sent; - - srv = (struct stun_srv*) pj_activesock_get_user_data(asock); - - /* Ignore error */ - if (status != PJ_SUCCESS) - return PJ_TRUE; - - ++srv->rx_cnt; - - /* Ignore if we're not responding */ - if (srv->flag & RESPOND_STUN) { - pj_pool_t *pool; - pj_stun_msg *req_msg, *res_msg; - - pool = pj_pool_create(mem, "stunsrv", 512, 512, NULL); - - /* Parse request */ - status = pj_stun_msg_decode(pool, (pj_uint8_t*)data, size, - PJ_STUN_IS_DATAGRAM | PJ_STUN_CHECK_PACKET, - &req_msg, NULL, NULL); - if (status != PJ_SUCCESS) { - app_perror(" pj_stun_msg_decode()", status); - pj_pool_release(pool); - return PJ_TRUE; - } - - /* Create response */ - status = pj_stun_msg_create(pool, PJ_STUN_BINDING_RESPONSE, PJ_STUN_MAGIC, - req_msg->hdr.tsx_id, &res_msg); - if (status != PJ_SUCCESS) { - app_perror(" pj_stun_msg_create()", status); - pj_pool_release(pool); - return PJ_TRUE; - } - - /* Add MAPPED-ADDRESS or XOR-MAPPED-ADDRESS (or don't add) */ - if (srv->flag & WITH_MAPPED) { - pj_sockaddr_in addr; - - pj_sockaddr_in_init(&addr, &srv->ip_to_send, srv->port_to_send); - pj_stun_msg_add_sockaddr_attr(pool, res_msg, PJ_STUN_ATTR_MAPPED_ADDR, - PJ_FALSE, &addr, sizeof(addr)); - } else if (srv->flag & WITH_XOR_MAPPED) { - pj_sockaddr_in addr; - - pj_sockaddr_in_init(&addr, &srv->ip_to_send, srv->port_to_send); - pj_stun_msg_add_sockaddr_attr(pool, res_msg, - PJ_STUN_ATTR_XOR_MAPPED_ADDR, - PJ_TRUE, &addr, sizeof(addr)); - } - - /* Encode */ - status = pj_stun_msg_encode(res_msg, (pj_uint8_t*)data, 100, 0, - NULL, &size); - if (status != PJ_SUCCESS) { - app_perror(" pj_stun_msg_encode()", status); - pj_pool_release(pool); - return PJ_TRUE; - } - - /* Send back */ - sent = size; - pj_activesock_sendto(asock, &srv->send_key, data, &sent, 0, - src_addr, addr_len); - - pj_pool_release(pool); - - } else if (srv->flag & ECHO) { - /* Send back */ - sent = size; - pj_activesock_sendto(asock, &srv->send_key, data, &sent, 0, - src_addr, addr_len); - - } - - return PJ_TRUE; -} - -static pj_status_t create_server(pj_pool_t *pool, - pj_ioqueue_t *ioqueue, - unsigned flag, - struct stun_srv **p_srv) -{ - struct stun_srv *srv; - pj_activesock_cb activesock_cb; - pj_status_t status; - - srv = PJ_POOL_ZALLOC_T(pool, struct stun_srv); - srv->flag = flag; - srv->ip_to_send = pj_str("1.1.1.1"); - srv->port_to_send = 1000; - - status = pj_sockaddr_in_init(&srv->addr.ipv4, NULL, 0); - if (status != PJ_SUCCESS) - return status; - - pj_bzero(&activesock_cb, sizeof(activesock_cb)); - activesock_cb.on_data_recvfrom = &srv_on_data_recvfrom; - status = pj_activesock_create_udp(pool, &srv->addr, NULL, ioqueue, - &activesock_cb, srv, &srv->asock, - &srv->addr); - if (status != PJ_SUCCESS) - return status; - - pj_ioqueue_op_key_init(&srv->send_key, sizeof(srv->send_key)); - - status = pj_activesock_start_recvfrom(srv->asock, pool, 512, 0); - if (status != PJ_SUCCESS) { - pj_activesock_close(srv->asock); - return status; - } - - *p_srv = srv; - return PJ_SUCCESS; -} - -static void destroy_server(struct stun_srv *srv) -{ - pj_activesock_close(srv->asock); -} - - -struct stun_client -{ - pj_pool_t *pool; - pj_stun_sock *sock; - - pj_ioqueue_op_key_t send_key; - pj_bool_t destroy_on_err; - - unsigned on_status_cnt; - pj_stun_sock_op last_op; - pj_status_t last_status; - - unsigned on_rx_data_cnt; -}; - -static pj_bool_t stun_sock_on_status(pj_stun_sock *stun_sock, - pj_stun_sock_op op, - pj_status_t status) -{ - struct stun_client *client; - - client = (struct stun_client*) pj_stun_sock_get_user_data(stun_sock); - client->on_status_cnt++; - client->last_op = op; - client->last_status = status; - - if (status != PJ_SUCCESS && client->destroy_on_err) { - pj_stun_sock_destroy(client->sock); - client->sock = NULL; - return PJ_FALSE; - } - - return PJ_TRUE; -} - -static pj_bool_t stun_sock_on_rx_data(pj_stun_sock *stun_sock, - void *pkt, - unsigned pkt_len, - const pj_sockaddr_t *src_addr, - unsigned addr_len) -{ - struct stun_client *client; - - PJ_UNUSED_ARG(pkt); - PJ_UNUSED_ARG(pkt_len); - PJ_UNUSED_ARG(src_addr); - PJ_UNUSED_ARG(addr_len); - - client = (struct stun_client*) pj_stun_sock_get_user_data(stun_sock); - client->on_rx_data_cnt++; - - return PJ_TRUE; -} - -static pj_status_t create_client(pj_stun_config *cfg, - struct stun_client **p_client, - pj_bool_t destroy_on_err) -{ - pj_pool_t *pool; - struct stun_client *client; - pj_stun_sock_cfg sock_cfg; - pj_stun_sock_cb cb; - pj_status_t status; - - pool = pj_pool_create(mem, "test", 512, 512, NULL); - client = PJ_POOL_ZALLOC_T(pool, struct stun_client); - client->pool = pool; - - pj_stun_sock_cfg_default(&sock_cfg); - - pj_bzero(&cb, sizeof(cb)); - cb.on_status = &stun_sock_on_status; - cb.on_rx_data = &stun_sock_on_rx_data; - status = pj_stun_sock_create(cfg, NULL, pj_AF_INET(), &cb, - &sock_cfg, client, &client->sock); - if (status != PJ_SUCCESS) { - app_perror(" pj_stun_sock_create()", status); - pj_pool_release(pool); - return status; - } - - pj_stun_sock_set_user_data(client->sock, client); - - pj_ioqueue_op_key_init(&client->send_key, sizeof(client->send_key)); - - client->destroy_on_err = destroy_on_err; - - *p_client = client; - - return PJ_SUCCESS; -} - - -static void destroy_client(struct stun_client *client) -{ - if (client->sock) { - pj_stun_sock_destroy(client->sock); - client->sock = NULL; - } - pj_pool_release(client->pool); -} - -static void handle_events(pj_stun_config *cfg, unsigned msec_delay) -{ - pj_time_val delay; - - pj_timer_heap_poll(cfg->timer_heap, NULL); - - delay.sec = 0; - delay.msec = msec_delay; - pj_time_val_normalize(&delay); - - pj_ioqueue_poll(cfg->ioqueue, &delay); -} - -/* - * Timeout test: scenario when no response is received from server - */ -static int timeout_test(pj_stun_config *cfg, pj_bool_t destroy_on_err) -{ - struct stun_srv *srv; - struct stun_client *client; - pj_str_t srv_addr; - pj_time_val timeout, t; - int ret = 0; - pj_status_t status; - - PJ_LOG(3,(THIS_FILE, " timeout test [%d]", destroy_on_err)); - - status = create_client(cfg, &client, destroy_on_err); - if (status != PJ_SUCCESS) - return -10; - - status = create_server(client->pool, cfg->ioqueue, 0, &srv); - if (status != PJ_SUCCESS) { - destroy_client(client); - return -20; - } - - srv_addr = pj_str("127.0.0.1"); - status = pj_stun_sock_start(client->sock, &srv_addr, - pj_ntohs(srv->addr.ipv4.sin_port), NULL); - if (status != PJ_SUCCESS) { - destroy_server(srv); - destroy_client(client); - return -30; - } - - /* Wait until on_status() callback is called with the failure */ - pj_gettimeofday(&timeout); - timeout.sec += 60; - do { - handle_events(cfg, 100); - pj_gettimeofday(&t); - } while (client->on_status_cnt==0 && PJ_TIME_VAL_LT(t, timeout)); - - /* Check that callback with correct operation is called */ - if (client->last_op != PJ_STUN_SOCK_BINDING_OP) { - PJ_LOG(3,(THIS_FILE, " error: expecting Binding operation status")); - ret = -40; - goto on_return; - } - /* .. and with the correct status */ - if (client->last_status != PJNATH_ESTUNTIMEDOUT) { - PJ_LOG(3,(THIS_FILE, " error: expecting PJNATH_ESTUNTIMEDOUT")); - ret = -50; - goto on_return; - } - /* Check that server received correct retransmissions */ - if (srv->rx_cnt != PJ_STUN_MAX_TRANSMIT_COUNT) { - PJ_LOG(3,(THIS_FILE, " error: expecting %d retransmissions, got %d", - PJ_STUN_MAX_TRANSMIT_COUNT, srv->rx_cnt)); - ret = -60; - goto on_return; - } - /* Check that client doesn't receive anything */ - if (client->on_rx_data_cnt != 0) { - PJ_LOG(3,(THIS_FILE, " error: client shouldn't have received anything")); - ret = -70; - goto on_return; - } - -on_return: - destroy_server(srv); - destroy_client(client); - return ret; -} - - -/* - * Invalid response scenario: when server returns no MAPPED-ADDRESS or - * XOR-MAPPED-ADDRESS attribute. - */ -static int missing_attr_test(pj_stun_config *cfg, pj_bool_t destroy_on_err) -{ - struct stun_srv *srv; - struct stun_client *client; - pj_str_t srv_addr; - pj_time_val timeout, t; - int ret = 0; - pj_status_t status; - - PJ_LOG(3,(THIS_FILE, " missing attribute test [%d]", destroy_on_err)); - - status = create_client(cfg, &client, destroy_on_err); - if (status != PJ_SUCCESS) - return -110; - - status = create_server(client->pool, cfg->ioqueue, RESPOND_STUN, &srv); - if (status != PJ_SUCCESS) { - destroy_client(client); - return -120; - } - - srv_addr = pj_str("127.0.0.1"); - status = pj_stun_sock_start(client->sock, &srv_addr, - pj_ntohs(srv->addr.ipv4.sin_port), NULL); - if (status != PJ_SUCCESS) { - destroy_server(srv); - destroy_client(client); - return -130; - } - - /* Wait until on_status() callback is called with the failure */ - pj_gettimeofday(&timeout); - timeout.sec += 60; - do { - handle_events(cfg, 100); - pj_gettimeofday(&t); - } while (client->on_status_cnt==0 && PJ_TIME_VAL_LT(t, timeout)); - - /* Check that callback with correct operation is called */ - if (client->last_op != PJ_STUN_SOCK_BINDING_OP) { - PJ_LOG(3,(THIS_FILE, " error: expecting Binding operation status")); - ret = -140; - goto on_return; - } - if (client->last_status != PJNATH_ESTUNNOMAPPEDADDR) { - PJ_LOG(3,(THIS_FILE, " error: expecting PJNATH_ESTUNNOMAPPEDADDR")); - ret = -150; - goto on_return; - } - /* Check that client doesn't receive anything */ - if (client->on_rx_data_cnt != 0) { - PJ_LOG(3,(THIS_FILE, " error: client shouldn't have received anything")); - ret = -170; - goto on_return; - } - -on_return: - destroy_server(srv); - destroy_client(client); - return ret; -} - -/* - * Keep-alive test. - */ -static int keep_alive_test(pj_stun_config *cfg) -{ - struct stun_srv *srv; - struct stun_client *client; - pj_sockaddr_in mapped_addr; - pj_stun_sock_info info; - pj_str_t srv_addr; - pj_time_val timeout, t; - int ret = 0; - pj_status_t status; - - PJ_LOG(3,(THIS_FILE, " normal operation")); - - status = create_client(cfg, &client, PJ_TRUE); - if (status != PJ_SUCCESS) - return -310; - - status = create_server(client->pool, cfg->ioqueue, RESPOND_STUN|WITH_XOR_MAPPED, &srv); - if (status != PJ_SUCCESS) { - destroy_client(client); - return -320; - } - - /* - * Part 1: initial Binding resolution. - */ - PJ_LOG(3,(THIS_FILE, " initial Binding request")); - srv_addr = pj_str("127.0.0.1"); - status = pj_stun_sock_start(client->sock, &srv_addr, - pj_ntohs(srv->addr.ipv4.sin_port), NULL); - if (status != PJ_SUCCESS) { - destroy_server(srv); - destroy_client(client); - return -330; - } - - /* Wait until on_status() callback is called with success status */ - pj_gettimeofday(&timeout); - timeout.sec += 60; - do { - handle_events(cfg, 100); - pj_gettimeofday(&t); - } while (client->on_status_cnt==0 && PJ_TIME_VAL_LT(t, timeout)); - - /* Check that callback with correct operation is called */ - if (client->last_op != PJ_STUN_SOCK_BINDING_OP) { - PJ_LOG(3,(THIS_FILE, " error: expecting Binding operation status")); - ret = -340; - goto on_return; - } - if (client->last_status != PJ_SUCCESS) { - PJ_LOG(3,(THIS_FILE, " error: expecting PJ_SUCCESS status")); - ret = -350; - goto on_return; - } - /* Check that client doesn't receive anything */ - if (client->on_rx_data_cnt != 0) { - PJ_LOG(3,(THIS_FILE, " error: client shouldn't have received anything")); - ret = -370; - goto on_return; - } - - /* Get info */ - pj_bzero(&info, sizeof(info)); - pj_stun_sock_get_info(client->sock, &info); - - /* Check that we have server address */ - if (!pj_sockaddr_has_addr(&info.srv_addr)) { - PJ_LOG(3,(THIS_FILE, " error: missing server address")); - ret = -380; - goto on_return; - } - /* .. and bound address port must not be zero */ - if (pj_sockaddr_get_port(&info.bound_addr)==0) { - PJ_LOG(3,(THIS_FILE, " error: bound address is zero")); - ret = -381; - goto on_return; - } - /* .. and mapped address */ - if (!pj_sockaddr_has_addr(&info.mapped_addr)) { - PJ_LOG(3,(THIS_FILE, " error: missing mapped address")); - ret = -382; - goto on_return; - } - /* verify the mapped address */ - pj_sockaddr_in_init(&mapped_addr, &srv->ip_to_send, srv->port_to_send); - if (pj_sockaddr_cmp(&info.mapped_addr, &mapped_addr) != 0) { - PJ_LOG(3,(THIS_FILE, " error: mapped address mismatched")); - ret = -383; - goto on_return; - } - - /* .. and at least one alias */ - if (info.alias_cnt == 0) { - PJ_LOG(3,(THIS_FILE, " error: must have at least one alias")); - ret = -384; - goto on_return; - } - if (!pj_sockaddr_has_addr(&info.aliases[0])) { - PJ_LOG(3,(THIS_FILE, " error: missing alias")); - ret = -386; - goto on_return; - } - - - /* - * Part 2: sending and receiving data - */ - PJ_LOG(3,(THIS_FILE, " sending/receiving data")); - - /* Change server operation mode to echo back data */ - srv->flag = ECHO; - - /* Reset server */ - srv->rx_cnt = 0; - - /* Client sending data to echo server */ - { - char txt[100]; - PJ_LOG(3,(THIS_FILE, " sending to %s", pj_sockaddr_print(&info.srv_addr, txt, sizeof(txt), 3))); - } - status = pj_stun_sock_sendto(client->sock, NULL, &ret, sizeof(ret), - 0, &info.srv_addr, - pj_sockaddr_get_len(&info.srv_addr)); - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - app_perror(" error: server sending data", status); - ret = -390; - goto on_return; - } - - /* Wait for a short period until client receives data. We can't wait for - * too long otherwise the keep-alive will kick in. - */ - pj_gettimeofday(&timeout); - timeout.sec += 1; - do { - handle_events(cfg, 100); - pj_gettimeofday(&t); - } while (client->on_rx_data_cnt==0 && PJ_TIME_VAL_LT(t, timeout)); - - /* Check that data is received in server */ - if (srv->rx_cnt == 0) { - PJ_LOG(3,(THIS_FILE, " error: server didn't receive data")); - ret = -395; - goto on_return; - } - - /* Check that status is still OK */ - if (client->last_status != PJ_SUCCESS) { - app_perror(" error: client has failed", client->last_status); - ret = -400; - goto on_return; - } - /* Check that data has been received */ - if (client->on_rx_data_cnt == 0) { - PJ_LOG(3,(THIS_FILE, " error: client doesn't receive data")); - ret = -410; - goto on_return; - } - - /* - * Part 3: Successful keep-alive, - */ - PJ_LOG(3,(THIS_FILE, " successful keep-alive scenario")); - - /* Change server operation mode to normal mode */ - srv->flag = RESPOND_STUN | WITH_XOR_MAPPED; - - /* Reset server */ - srv->rx_cnt = 0; - - /* Reset client */ - client->on_status_cnt = 0; - client->last_status = PJ_SUCCESS; - client->on_rx_data_cnt = 0; - - /* Wait for keep-alive duration to see if client actually sends the - * keep-alive. - */ - pj_gettimeofday(&timeout); - timeout.sec += (PJ_STUN_KEEP_ALIVE_SEC + 1); - do { - handle_events(cfg, 100); - pj_gettimeofday(&t); - } while (PJ_TIME_VAL_LT(t, timeout)); - - /* Check that server receives some packets */ - if (srv->rx_cnt == 0) { - PJ_LOG(3, (THIS_FILE, " error: no keep-alive was received")); - ret = -420; - goto on_return; - } - /* Check that client status is still okay and on_status() callback is NOT - * called - */ - /* No longer valid due to this ticket: - * http://trac.pjsip.org/repos/ticket/742 - - if (client->on_status_cnt != 0) { - PJ_LOG(3, (THIS_FILE, " error: on_status() must not be called on successful" - "keep-alive when mapped-address does not change")); - ret = -430; - goto on_return; - } - */ - /* Check that client doesn't receive anything */ - if (client->on_rx_data_cnt != 0) { - PJ_LOG(3,(THIS_FILE, " error: client shouldn't have received anything")); - ret = -440; - goto on_return; - } - - - /* - * Part 4: Successful keep-alive with IP address change - */ - PJ_LOG(3,(THIS_FILE, " mapped IP address change")); - - /* Change server operation mode to normal mode */ - srv->flag = RESPOND_STUN | WITH_XOR_MAPPED; - - /* Change mapped address in the response */ - srv->ip_to_send = pj_str("2.2.2.2"); - srv->port_to_send++; - - /* Reset server */ - srv->rx_cnt = 0; - - /* Reset client */ - client->on_status_cnt = 0; - client->last_status = PJ_SUCCESS; - client->on_rx_data_cnt = 0; - - /* Wait for keep-alive duration to see if client actually sends the - * keep-alive. - */ - pj_gettimeofday(&timeout); - timeout.sec += (PJ_STUN_KEEP_ALIVE_SEC + 1); - do { - handle_events(cfg, 100); - pj_gettimeofday(&t); - } while (PJ_TIME_VAL_LT(t, timeout)); - - /* Check that server receives some packets */ - if (srv->rx_cnt == 0) { - PJ_LOG(3, (THIS_FILE, " error: no keep-alive was received")); - ret = -450; - goto on_return; - } - /* Check that on_status() callback is called (because mapped address - * has changed) - */ - if (client->on_status_cnt != 1) { - PJ_LOG(3, (THIS_FILE, " error: on_status() was not called")); - ret = -460; - goto on_return; - } - /* Check that callback was called with correct operation */ - if (client->last_op != PJ_STUN_SOCK_MAPPED_ADDR_CHANGE) { - PJ_LOG(3,(THIS_FILE, " error: expecting keep-alive operation status")); - ret = -470; - goto on_return; - } - /* Check that last status is still success */ - if (client->last_status != PJ_SUCCESS) { - PJ_LOG(3, (THIS_FILE, " error: expecting successful status")); - ret = -480; - goto on_return; - } - /* Check that client doesn't receive anything */ - if (client->on_rx_data_cnt != 0) { - PJ_LOG(3,(THIS_FILE, " error: client shouldn't have received anything")); - ret = -490; - goto on_return; - } - - /* Get info */ - pj_bzero(&info, sizeof(info)); - pj_stun_sock_get_info(client->sock, &info); - - /* Check that we have server address */ - if (!pj_sockaddr_has_addr(&info.srv_addr)) { - PJ_LOG(3,(THIS_FILE, " error: missing server address")); - ret = -500; - goto on_return; - } - /* .. and mapped address */ - if (!pj_sockaddr_has_addr(&info.mapped_addr)) { - PJ_LOG(3,(THIS_FILE, " error: missing mapped address")); - ret = -510; - goto on_return; - } - /* verify the mapped address */ - pj_sockaddr_in_init(&mapped_addr, &srv->ip_to_send, srv->port_to_send); - if (pj_sockaddr_cmp(&info.mapped_addr, &mapped_addr) != 0) { - PJ_LOG(3,(THIS_FILE, " error: mapped address mismatched")); - ret = -520; - goto on_return; - } - - /* .. and at least one alias */ - if (info.alias_cnt == 0) { - PJ_LOG(3,(THIS_FILE, " error: must have at least one alias")); - ret = -530; - goto on_return; - } - if (!pj_sockaddr_has_addr(&info.aliases[0])) { - PJ_LOG(3,(THIS_FILE, " error: missing alias")); - ret = -540; - goto on_return; - } - - - /* - * Part 5: Failed keep-alive - */ - PJ_LOG(3,(THIS_FILE, " failed keep-alive scenario")); - - /* Change server operation mode to respond without attribute */ - srv->flag = RESPOND_STUN; - - /* Reset server */ - srv->rx_cnt = 0; - - /* Reset client */ - client->on_status_cnt = 0; - client->last_status = PJ_SUCCESS; - client->on_rx_data_cnt = 0; - - /* Wait until on_status() is called with failure. */ - pj_gettimeofday(&timeout); - timeout.sec += (PJ_STUN_KEEP_ALIVE_SEC + PJ_STUN_TIMEOUT_VALUE + 5); - do { - handle_events(cfg, 100); - pj_gettimeofday(&t); - } while (client->on_status_cnt==0 && PJ_TIME_VAL_LT(t, timeout)); - - /* Check that callback with correct operation is called */ - if (client->last_op != PJ_STUN_SOCK_KEEP_ALIVE_OP) { - PJ_LOG(3,(THIS_FILE, " error: expecting keep-alive operation status")); - ret = -600; - goto on_return; - } - if (client->last_status == PJ_SUCCESS) { - PJ_LOG(3,(THIS_FILE, " error: expecting failed keep-alive")); - ret = -610; - goto on_return; - } - /* Check that client doesn't receive anything */ - if (client->on_rx_data_cnt != 0) { - PJ_LOG(3,(THIS_FILE, " error: client shouldn't have received anything")); - ret = -620; - goto on_return; - } - - -on_return: - destroy_server(srv); - destroy_client(client); - return ret; -} - - -#define DO_TEST(expr) \ - capture_pjlib_state(&stun_cfg, &pjlib_state); \ - ret = expr; \ - if (ret != 0) goto on_return; \ - ret = check_pjlib_state(&stun_cfg, &pjlib_state); \ - if (ret != 0) goto on_return; - - -int stun_sock_test(void) -{ - struct pjlib_state pjlib_state; - pj_stun_config stun_cfg; - pj_ioqueue_t *ioqueue = NULL; - pj_timer_heap_t *timer_heap = NULL; - pj_pool_t *pool = NULL; - pj_status_t status; - int ret = 0; - - pool = pj_pool_create(mem, NULL, 512, 512, NULL); - - status = pj_ioqueue_create(pool, 12, &ioqueue); - if (status != PJ_SUCCESS) { - app_perror(" pj_ioqueue_create()", status); - ret = -4; - goto on_return; - } - - status = pj_timer_heap_create(pool, 100, &timer_heap); - if (status != PJ_SUCCESS) { - app_perror(" pj_timer_heap_create()", status); - ret = -8; - goto on_return; - } - - pj_stun_config_init(&stun_cfg, mem, 0, ioqueue, timer_heap); - - DO_TEST(timeout_test(&stun_cfg, PJ_FALSE)); - DO_TEST(timeout_test(&stun_cfg, PJ_TRUE)); - - DO_TEST(missing_attr_test(&stun_cfg, PJ_FALSE)); - DO_TEST(missing_attr_test(&stun_cfg, PJ_TRUE)); - - DO_TEST(keep_alive_test(&stun_cfg)); - -on_return: - if (timer_heap) pj_timer_heap_destroy(timer_heap); - if (ioqueue) pj_ioqueue_destroy(ioqueue); - if (pool) pj_pool_release(pool); - return ret; -} - - diff --git a/res/pjproject/pjnath/src/pjnath-test/test.c b/res/pjproject/pjnath/src/pjnath-test/test.c deleted file mode 100644 index 12ee0ac392..0000000000 --- a/res/pjproject/pjnath/src/pjnath-test/test.c +++ /dev/null @@ -1,212 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include - -void app_perror(const char *msg, pj_status_t rc) -{ - char errbuf[256]; - - PJ_CHECK_STACK(); - - pj_strerror(rc, errbuf, sizeof(errbuf)); - PJ_LOG(1,("test", "%s: [pj_status_t=%d] %s", msg, rc, errbuf)); -} - -pj_status_t create_stun_config(pj_pool_t *pool, pj_stun_config *stun_cfg) -{ - pj_ioqueue_t *ioqueue; - pj_timer_heap_t *timer_heap; - pj_status_t status; - - status = pj_ioqueue_create(pool, 64, &ioqueue); - if (status != PJ_SUCCESS) { - app_perror(" pj_ioqueue_create()", status); - return status; - } - - status = pj_timer_heap_create(pool, 256, &timer_heap); - if (status != PJ_SUCCESS) { - app_perror(" pj_timer_heap_create()", status); - pj_ioqueue_destroy(ioqueue); - return status; - } - - pj_stun_config_init(stun_cfg, mem, 0, ioqueue, timer_heap); - - return PJ_SUCCESS; -} - -void destroy_stun_config(pj_stun_config *stun_cfg) -{ - if (stun_cfg->timer_heap) { - pj_timer_heap_destroy(stun_cfg->timer_heap); - stun_cfg->timer_heap = NULL; - } - if (stun_cfg->ioqueue) { - pj_ioqueue_destroy(stun_cfg->ioqueue); - stun_cfg->ioqueue = NULL; - } -} - -void poll_events(pj_stun_config *stun_cfg, unsigned msec, - pj_bool_t first_event_only) -{ - pj_time_val stop_time; - int count = 0; - - pj_gettimeofday(&stop_time); - stop_time.msec += msec; - pj_time_val_normalize(&stop_time); - - /* Process all events for the specified duration. */ - for (;;) { - pj_time_val timeout = {0, 1}, now; - int c; - - c = pj_timer_heap_poll( stun_cfg->timer_heap, NULL ); - if (c > 0) - count += c; - - //timeout.sec = timeout.msec = 0; - c = pj_ioqueue_poll( stun_cfg->ioqueue, &timeout); - if (c > 0) - count += c; - - pj_gettimeofday(&now); - if (PJ_TIME_VAL_GTE(now, stop_time)) - break; - - if (first_event_only && count >= 0) - break; - } -} - -void capture_pjlib_state(pj_stun_config *cfg, struct pjlib_state *st) -{ - pj_caching_pool *cp; - - st->timer_cnt = pj_timer_heap_count(cfg->timer_heap); - - cp = (pj_caching_pool*)mem; - st->pool_used_cnt = cp->used_count; -} - -int check_pjlib_state(pj_stun_config *cfg, - const struct pjlib_state *initial_st) -{ - struct pjlib_state current_state; - int rc = 0; - - capture_pjlib_state(cfg, ¤t_state); - - if (current_state.timer_cnt > initial_st->timer_cnt) { - PJ_LOG(3,("", " error: possibly leaking timer")); - rc |= ERR_TIMER_LEAK; - } - - if (current_state.pool_used_cnt > initial_st->pool_used_cnt) { - PJ_LOG(3,("", " error: possibly leaking memory")); - PJ_LOG(3,("", " dumping memory pool:")); - pj_pool_factory_dump(mem, PJ_TRUE); - rc |= ERR_MEMORY_LEAK; - } - - return rc; -} - - -#define DO_TEST(test) do { \ - PJ_LOG(3, ("test", "Running %s...", #test)); \ - rc = test; \ - PJ_LOG(3, ("test", \ - "%s(%d)", \ - (char*)(rc ? "..ERROR" : "..success"), rc)); \ - if (rc!=0) goto on_return; \ - } while (0) - - -pj_pool_factory *mem; - -int param_log_decor = PJ_LOG_HAS_NEWLINE | PJ_LOG_HAS_TIME | - PJ_LOG_HAS_MICRO_SEC; - -static int test_inner(void) -{ - pj_caching_pool caching_pool; - int rc = 0; - - mem = &caching_pool.factory; - -#if 1 - pj_log_set_level(3); - pj_log_set_decor(param_log_decor); -#endif - - rc = pj_init(); - if (rc != 0) { - app_perror("pj_init() error!!", rc); - return rc; - } - - pj_dump_config(); - pj_caching_pool_init( &caching_pool, &pj_pool_factory_default_policy, 0 ); - - pjlib_util_init(); - pjnath_init(); - -#if INCLUDE_STUN_TEST - DO_TEST(stun_test()); - DO_TEST(sess_auth_test()); -#endif - -#if INCLUDE_ICE_TEST - DO_TEST(ice_test()); -#endif - -#if INCLUDE_STUN_SOCK_TEST - DO_TEST(stun_sock_test()); -#endif - -#if INCLUDE_TURN_SOCK_TEST - DO_TEST(turn_sock_test()); -#endif - -on_return: - return rc; -} - -int test_main(void) -{ - PJ_USE_EXCEPTION; - - PJ_TRY { - return test_inner(); - } - PJ_CATCH_ANY { - int id = PJ_GET_EXCEPTION(); - PJ_LOG(3,("test", "FATAL: unhandled exception id %d (%s)", - id, pj_exception_id_name(id))); - } - PJ_END; - - return -1; -} - diff --git a/res/pjproject/pjnath/src/pjnath-test/test.h b/res/pjproject/pjnath/src/pjnath-test/test.h deleted file mode 100644 index 28b0cd9ce7..0000000000 --- a/res/pjproject/pjnath/src/pjnath-test/test.h +++ /dev/null @@ -1,63 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - -#define INCLUDE_STUN_TEST 1 -#define INCLUDE_ICE_TEST 1 -#define INCLUDE_STUN_SOCK_TEST 1 -#define INCLUDE_TURN_SOCK_TEST 1 - -int stun_test(void); -int sess_auth_test(void); -int stun_sock_test(void); -int turn_sock_test(void); -int ice_test(void); -int test_main(void); - -extern void app_perror(const char *title, pj_status_t rc); -extern pj_pool_factory *mem; - -//////////////////////////////////// -/* - * Utilities - */ -pj_status_t create_stun_config(pj_pool_t *pool, pj_stun_config *stun_cfg); -void destroy_stun_config(pj_stun_config *stun_cfg); - -void poll_events(pj_stun_config *stun_cfg, unsigned msec, - pj_bool_t first_event_only); - -typedef struct pjlib_state -{ - unsigned timer_cnt; /* Number of timer entries */ - unsigned pool_used_cnt; /* Number of app pools */ -} pjlib_state; - - -void capture_pjlib_state(pj_stun_config *cfg, struct pjlib_state *st); -int check_pjlib_state(pj_stun_config *cfg, - const struct pjlib_state *initial_st); - - -#define ERR_MEMORY_LEAK 1 -#define ERR_TIMER_LEAK 2 - diff --git a/res/pjproject/pjnath/src/pjnath-test/turn_sock_test.c b/res/pjproject/pjnath/src/pjnath-test/turn_sock_test.c deleted file mode 100644 index c58ca2647f..0000000000 --- a/res/pjproject/pjnath/src/pjnath-test/turn_sock_test.c +++ /dev/null @@ -1,516 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include "server.h" - -#define SRV_DOMAIN "pjsip.lab.domain" -#define KA_INTERVAL 50 - -struct test_result -{ - unsigned state_called; - unsigned rx_data_cnt; -}; - -struct test_session -{ - pj_pool_t *pool; - pj_stun_config *stun_cfg; - pj_turn_sock *turn_sock; - pj_dns_resolver *resolver; - test_server *test_srv; - - pj_bool_t destroy_called; - int destroy_on_state; - struct test_result result; -}; - -struct test_session_cfg -{ - struct { - pj_bool_t enable_dns_srv; - int destroy_on_state; - } client; - - struct { - pj_uint32_t flags; - pj_bool_t respond_allocate; - pj_bool_t respond_refresh; - } srv; -}; - -static void turn_on_rx_data(pj_turn_sock *turn_sock, - void *pkt, - unsigned pkt_len, - const pj_sockaddr_t *peer_addr, - unsigned addr_len); -static void turn_on_state(pj_turn_sock *turn_sock, - pj_turn_state_t old_state, - pj_turn_state_t new_state); - -static void destroy_session(struct test_session *sess) -{ - if (sess->resolver) { - pj_dns_resolver_destroy(sess->resolver, PJ_TRUE); - sess->resolver = NULL; - } - - if (sess->turn_sock) { - if (!sess->destroy_called) { - sess->destroy_called = PJ_TRUE; - pj_turn_sock_destroy(sess->turn_sock); - } - sess->turn_sock = NULL; - } - - if (sess->test_srv) { - destroy_test_server(sess->test_srv); - sess->test_srv = NULL; - } - - if (sess->pool) { - pj_pool_release(sess->pool); - } -} - - - -static int create_test_session(pj_stun_config *stun_cfg, - const struct test_session_cfg *cfg, - struct test_session **p_sess) -{ - struct test_session *sess; - pj_pool_t *pool; - pj_turn_sock_cb turn_sock_cb; - pj_turn_alloc_param alloc_param; - pj_stun_auth_cred cred; - pj_status_t status; - - /* Create client */ - pool = pj_pool_create(mem, "turnclient", 512, 512, NULL); - sess = PJ_POOL_ZALLOC_T(pool, struct test_session); - sess->pool = pool; - sess->stun_cfg = stun_cfg; - sess->destroy_on_state = cfg->client.destroy_on_state; - - pj_bzero(&turn_sock_cb, sizeof(turn_sock_cb)); - turn_sock_cb.on_rx_data = &turn_on_rx_data; - turn_sock_cb.on_state = &turn_on_state; - status = pj_turn_sock_create(sess->stun_cfg, pj_AF_INET(), PJ_TURN_TP_UDP, - &turn_sock_cb, 0, sess, &sess->turn_sock); - if (status != PJ_SUCCESS) { - destroy_session(sess); - return -20; - } - - /* Create test server */ - status = create_test_server(sess->stun_cfg, cfg->srv.flags, - SRV_DOMAIN, &sess->test_srv); - if (status != PJ_SUCCESS) { - destroy_session(sess); - return -30; - } - - sess->test_srv->turn_respond_allocate = cfg->srv.respond_allocate; - sess->test_srv->turn_respond_refresh = cfg->srv.respond_refresh; - - /* Create client resolver */ - status = pj_dns_resolver_create(mem, "resolver", 0, sess->stun_cfg->timer_heap, - sess->stun_cfg->ioqueue, &sess->resolver); - if (status != PJ_SUCCESS) { - destroy_session(sess); - return -40; - - } else { - pj_str_t dns_srv = pj_str("127.0.0.1"); - pj_uint16_t dns_srv_port = (pj_uint16_t) DNS_SERVER_PORT; - status = pj_dns_resolver_set_ns(sess->resolver, 1, &dns_srv, &dns_srv_port); - - if (status != PJ_SUCCESS) { - destroy_session(sess); - return -50; - } - } - - /* Init TURN credential */ - pj_bzero(&cred, sizeof(cred)); - cred.type = PJ_STUN_AUTH_CRED_STATIC; - cred.data.static_cred.realm = pj_str(SRV_DOMAIN); - cred.data.static_cred.username = pj_str(TURN_USERNAME); - cred.data.static_cred.data_type = PJ_STUN_PASSWD_PLAIN; - cred.data.static_cred.data = pj_str(TURN_PASSWD); - - /* Init TURN allocate parameter */ - pj_turn_alloc_param_default(&alloc_param); - alloc_param.ka_interval = KA_INTERVAL; - - /* Start the client */ - if (cfg->client.enable_dns_srv) { - /* Use DNS SRV to resolve server, may fallback to DNS A */ - pj_str_t domain = pj_str(SRV_DOMAIN); - status = pj_turn_sock_alloc(sess->turn_sock, &domain, TURN_SERVER_PORT, - sess->resolver, &cred, &alloc_param); - - } else { - /* Explicitly specify server address */ - pj_str_t host = pj_str("127.0.0.1"); - status = pj_turn_sock_alloc(sess->turn_sock, &host, TURN_SERVER_PORT, - NULL, &cred, &alloc_param); - - } - - if (status != PJ_SUCCESS) { - if (cfg->client.destroy_on_state >= PJ_TURN_STATE_READY) { - destroy_session(sess); - return -70; - } - } - - *p_sess = sess; - return 0; -} - - -static void turn_on_rx_data(pj_turn_sock *turn_sock, - void *pkt, - unsigned pkt_len, - const pj_sockaddr_t *peer_addr, - unsigned addr_len) -{ - struct test_session *sess; - - PJ_UNUSED_ARG(pkt); - PJ_UNUSED_ARG(pkt_len); - PJ_UNUSED_ARG(peer_addr); - PJ_UNUSED_ARG(addr_len); - - sess = (struct test_session*) pj_turn_sock_get_user_data(turn_sock); - if (sess == NULL) - return; - - sess->result.rx_data_cnt++; -} - - -static void turn_on_state(pj_turn_sock *turn_sock, - pj_turn_state_t old_state, - pj_turn_state_t new_state) -{ - struct test_session *sess; - unsigned i, mask; - - PJ_UNUSED_ARG(old_state); - - sess = (struct test_session*) pj_turn_sock_get_user_data(turn_sock); - if (sess == NULL) - return; - - /* This state must not be called before */ - pj_assert((sess->result.state_called & (1< old_state); - - /* must not call any greater state before */ - mask = 0; - for (i=new_state+1; i<31; ++i) mask |= (1 << i); - - pj_assert((sess->result.state_called & mask) == 0); - - sess->result.state_called |= (1 << new_state); - - if (new_state >= sess->destroy_on_state && !sess->destroy_called) { - sess->destroy_called = PJ_TRUE; - pj_turn_sock_destroy(turn_sock); - } - - if (new_state >= PJ_TURN_STATE_DESTROYING) { - pj_turn_sock_set_user_data(sess->turn_sock, NULL); - sess->turn_sock = NULL; - } -} - - -///////////////////////////////////////////////////////////////////// - -static int state_progression_test(pj_stun_config *stun_cfg) -{ - struct test_session_cfg test_cfg = - { - { /* Client cfg */ - /* DNS SRV */ /* Destroy on state */ - PJ_TRUE, 0xFFFF - }, - { /* Server cfg */ - 0xFFFFFFFF, /* flags */ - PJ_TRUE, /* respond to allocate */ - PJ_TRUE /* respond to refresh */ - } - }; - struct test_session *sess; - unsigned i; - int rc; - - PJ_LOG(3,("", " state progression tests")); - - for (i=0; i<=1; ++i) { - enum { TIMEOUT = 60 }; - pjlib_state pjlib_state; - pj_turn_session_info info; - struct test_result result; - pj_time_val tstart; - - PJ_LOG(3,("", " %s DNS SRV resolution", - (i==0? "without" : "with"))); - - capture_pjlib_state(stun_cfg, &pjlib_state); - - test_cfg.client.enable_dns_srv = i; - - rc = create_test_session(stun_cfg, &test_cfg, &sess); - if (rc != 0) - return rc; - - pj_bzero(&info, sizeof(info)); - - /* Wait until state is READY */ - pj_gettimeofday(&tstart); - while (sess->turn_sock) { - pj_time_val now; - - poll_events(stun_cfg, 10, PJ_FALSE); - rc = pj_turn_sock_get_info(sess->turn_sock, &info); - if (rc!=PJ_SUCCESS) - break; - - if (info.state >= PJ_TURN_STATE_READY) - break; - - pj_gettimeofday(&now); - if (now.sec - tstart.sec > TIMEOUT) { - PJ_LOG(3,("", " timed-out")); - break; - } - } - - if (info.state != PJ_TURN_STATE_READY) { - PJ_LOG(3,("", " error: state is not READY")); - destroy_session(sess); - return -130; - } - - /* Deallocate */ - pj_turn_sock_destroy(sess->turn_sock); - - /* Wait for couple of seconds. - * We can't poll the session info since the session may have - * been destroyed - */ - poll_events(stun_cfg, 2000, PJ_FALSE); - sess->turn_sock = NULL; - pj_memcpy(&result, &sess->result, sizeof(result)); - destroy_session(sess); - - /* Check the result */ - if ((result.state_called & (1<turn_sock) { - pj_time_val now; - - poll_events(stun_cfg, 100, PJ_FALSE); - - pj_gettimeofday(&now); - if (now.sec - tstart.sec > TIMEOUT) { - rc = -7; - break; - } - } - - } else { - pj_gettimeofday(&tstart); - rc = 0; - while (sess->turn_sock) { - pj_time_val now; - - poll_events(stun_cfg, 1, PJ_FALSE); - - pj_turn_sock_get_info(sess->turn_sock, &info); - - if (info.state >= target_state) { - pj_turn_sock_destroy(sess->turn_sock); - break; - } - - pj_gettimeofday(&now); - if (now.sec - tstart.sec > TIMEOUT) { - rc = -8; - break; - } - } - } - - - if (rc != 0) { - PJ_LOG(3,("", " error: timeout")); - return rc; - } - - poll_events(stun_cfg, 1000, PJ_FALSE); - destroy_session(sess); - - rc = check_pjlib_state(stun_cfg, &pjlib_state); - if (rc != 0) { - PJ_LOG(3,("", " error: memory/timer-heap leak detected")); - return rc; - } - } - - return 0; -} - - -///////////////////////////////////////////////////////////////////// - -int turn_sock_test(void) -{ - pj_pool_t *pool; - pj_stun_config stun_cfg; - int i, rc = 0; - - pool = pj_pool_create(mem, "turntest", 512, 512, NULL); - rc = create_stun_config(pool, &stun_cfg); - if (rc != PJ_SUCCESS) { - pj_pool_release(pool); - return -2; - } - - rc = state_progression_test(&stun_cfg); - if (rc != 0) - goto on_return; - - for (i=0; i<=1; ++i) { - int j; - for (j=0; j<=1; ++j) { - rc = destroy_test(&stun_cfg, i, j); - if (rc != 0) - goto on_return; - } - } - -on_return: - destroy_stun_config(&stun_cfg); - pj_pool_release(pool); - return rc; -} - diff --git a/res/pjproject/pjnath/src/pjnath/errno.c b/res/pjproject/pjnath/src/pjnath/errno.c deleted file mode 100644 index df4bdcb742..0000000000 --- a/res/pjproject/pjnath/src/pjnath/errno.c +++ /dev/null @@ -1,216 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - - - -/* PJNATH's own error codes/messages - * MUST KEEP THIS ARRAY SORTED!! - * Message must be limited to 64 chars! - */ -#if defined(PJ_HAS_ERROR_STRING) && PJ_HAS_ERROR_STRING!=0 -static const struct -{ - int code; - const char *msg; -} err_str[] = -{ - /* STUN related error codes */ - PJ_BUILD_ERR( PJNATH_EINSTUNMSG, "Invalid STUN message"), - PJ_BUILD_ERR( PJNATH_EINSTUNMSGLEN, "Invalid STUN message length"), - PJ_BUILD_ERR( PJNATH_EINSTUNMSGTYPE, "Invalid or unexpected STUN message type"), - PJ_BUILD_ERR( PJNATH_ESTUNTIMEDOUT, "STUN transaction has timed out"), - - PJ_BUILD_ERR( PJNATH_ESTUNTOOMANYATTR, "Too many STUN attributes"), - PJ_BUILD_ERR( PJNATH_ESTUNINATTRLEN, "Invalid STUN attribute length"), - PJ_BUILD_ERR( PJNATH_ESTUNDUPATTR, "Found duplicate STUN attribute"), - - PJ_BUILD_ERR( PJNATH_ESTUNFINGERPRINT, "STUN FINGERPRINT verification failed"), - PJ_BUILD_ERR( PJNATH_ESTUNMSGINTPOS, "Invalid STUN attribute after MESSAGE-INTEGRITY"), - PJ_BUILD_ERR( PJNATH_ESTUNFINGERPOS, "Invalid STUN attribute after FINGERPRINT"), - - PJ_BUILD_ERR( PJNATH_ESTUNNOMAPPEDADDR, "STUN (XOR-)MAPPED-ADDRESS attribute not found"), - PJ_BUILD_ERR( PJNATH_ESTUNIPV6NOTSUPP, "STUN IPv6 attribute not supported"), - PJ_BUILD_ERR( PJNATH_EINVAF, "Invalid STUN address family value"), - PJ_BUILD_ERR( PJNATH_ESTUNINSERVER, "Invalid STUN server or server not configured"), - - PJ_BUILD_ERR( PJNATH_ESTUNDESTROYED, "STUN object has been destoyed"), - - /* ICE related errors */ - PJ_BUILD_ERR( PJNATH_ENOICE, "ICE session not available"), - PJ_BUILD_ERR( PJNATH_EICEINPROGRESS, "ICE check is in progress"), - PJ_BUILD_ERR( PJNATH_EICEFAILED, "All ICE checklists failed"), - PJ_BUILD_ERR( PJNATH_EICEMISMATCH, "Default target doesn't match any ICE candidates"), - PJ_BUILD_ERR( PJNATH_EICEINCOMPID, "Invalid ICE component ID"), - PJ_BUILD_ERR( PJNATH_EICEINCANDID, "Invalid ICE candidate ID"), - PJ_BUILD_ERR( PJNATH_EICEINSRCADDR, "Source address mismatch"), - PJ_BUILD_ERR( PJNATH_EICEMISSINGSDP, "Missing ICE SDP attribute"), - PJ_BUILD_ERR( PJNATH_EICEINCANDSDP, "Invalid SDP \"candidate\" attribute"), - PJ_BUILD_ERR( PJNATH_EICENOHOSTCAND, "No host candidate associated with srflx"), - PJ_BUILD_ERR( PJNATH_EICENOMTIMEOUT, "Controlled agent timed out waiting for nomination"), - - /* TURN related errors */ - PJ_BUILD_ERR( PJNATH_ETURNINTP, "Invalid/unsupported transport"), - -}; -#endif /* PJ_HAS_ERROR_STRING */ - - -/* - * pjnath_strerror() - */ -static pj_str_t pjnath_strerror(pj_status_t statcode, - char *buf, pj_size_t bufsize ) -{ - pj_str_t errstr; - -#if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING != 0) - - if (statcode >= PJNATH_ERRNO_START && - statcode < PJNATH_ERRNO_START + PJ_ERRNO_SPACE_SIZE) - { - /* Find the error in the table. - * Use binary search! - */ - int first = 0; - int n = PJ_ARRAY_SIZE(err_str); - - while (n > 0) { - int half = n/2; - int mid = first + half; - - if (err_str[mid].code < statcode) { - first = mid+1; - n -= (half+1); - } else if (err_str[mid].code > statcode) { - n = half; - } else { - first = mid; - break; - } - } - - - if (PJ_ARRAY_SIZE(err_str) && err_str[first].code == statcode) { - pj_str_t msg; - - msg.ptr = (char*)err_str[first].msg; - msg.slen = pj_ansi_strlen(err_str[first].msg); - - errstr.ptr = buf; - pj_strncpy_with_null(&errstr, &msg, bufsize); - return errstr; - - } - } - -#endif /* PJ_HAS_ERROR_STRING */ - - - /* Error not found. */ - errstr.ptr = buf; - errstr.slen = pj_ansi_snprintf(buf, bufsize, - "Unknown pjnath error %d", - statcode); - if (errstr.slen < 0) errstr.slen = 0; - else if (errstr.slen > (int)bufsize) errstr.slen = bufsize; - - return errstr; -} - - -static pj_str_t pjnath_strerror2(pj_status_t statcode, - char *buf, pj_size_t bufsize ) -{ - int stun_code = statcode - PJ_STATUS_FROM_STUN_CODE(0); - const pj_str_t cmsg = pj_stun_get_err_reason(stun_code); - pj_str_t errstr; - - buf[bufsize-1] = '\0'; - - if (cmsg.slen == 0) { - /* Not found */ - errstr.ptr = buf; - errstr.slen = pj_ansi_snprintf(buf, bufsize, - "Unknown STUN err-code %d", - stun_code); - } else { - errstr.ptr = buf; - pj_strncpy(&errstr, &cmsg, bufsize); - if (errstr.slen < (int)bufsize) - buf[errstr.slen] = '\0'; - else - buf[bufsize-1] = '\0'; - } - - if (errstr.slen < 0) errstr.slen = 0; - else if (errstr.slen > (int)bufsize) errstr.slen = bufsize; - - return errstr; -} - - -PJ_DEF(pj_status_t) pjnath_init(void) -{ - pj_status_t status; - - status = pj_register_strerror(PJNATH_ERRNO_START, 299, - &pjnath_strerror); - pj_assert(status == PJ_SUCCESS); - - status = pj_register_strerror(PJ_STATUS_FROM_STUN_CODE(300), - 699 - 300, - &pjnath_strerror2); - pj_assert(status == PJ_SUCCESS); - - return PJ_SUCCESS; -} - - -#if PJNATH_ERROR_LEVEL <= PJ_LOG_MAX_LEVEL - -PJ_DEF(void) pjnath_perror(const char *sender, const char *title, - pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - -#if PJNATH_ERROR_LEVEL==1 - PJ_LOG(1,(sender, "%s: %s", title, errmsg)); -#elif PJNATH_ERROR_LEVEL==2 - PJ_LOG(2,(sender, "%s: %s", title, errmsg)); -#elif PJNATH_ERROR_LEVEL==3 - PJ_LOG(3,(sender, "%s: %s", title, errmsg)); -#elif PJNATH_ERROR_LEVEL==4 - PJ_LOG(4,(sender, "%s: %s", title, errmsg)); -#elif PJNATH_ERROR_LEVEL==5 - PJ_LOG(5,(sender, "%s: %s", title, errmsg)); -#else -# error Invalid PJNATH_ERROR_LEVEL value -#endif -} - -#endif /* PJNATH_ERROR_LEVEL <= PJ_LOG_MAX_LEVEL */ - diff --git a/res/pjproject/pjnath/src/pjnath/ice_session.c b/res/pjproject/pjnath/src/pjnath/ice_session.c deleted file mode 100644 index 40e10d558b..0000000000 --- a/res/pjproject/pjnath/src/pjnath/ice_session.c +++ /dev/null @@ -1,2978 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* String names for candidate types */ -static const char *cand_type_names[] = -{ - "host", - "srflx", - "prflx", - "relay" - -}; - -/* String names for pj_ice_sess_check_state */ -#if PJ_LOG_MAX_LEVEL >= 4 -static const char *check_state_name[] = -{ - "Frozen", - "Waiting", - "In Progress", - "Succeeded", - "Failed" -}; - -static const char *clist_state_name[] = -{ - "Idle", - "Running", - "Completed" -}; -#endif /* PJ_LOG_MAX_LEVEL >= 4 */ - -static const char *role_names[] = -{ - "Unknown", - "Controlled", - "Controlling" -}; - -enum timer_type -{ - TIMER_NONE, /**< Timer not active */ - TIMER_COMPLETION_CALLBACK, /**< Call on_ice_complete() callback */ - TIMER_CONTROLLED_WAIT_NOM, /**< Controlled agent is waiting for - controlling agent to send connectivity - check with nominated flag after it has - valid check for every components. */ - TIMER_START_NOMINATED_CHECK,/**< Controlling agent start connectivity - checks with USE-CANDIDATE flag. */ - TIMER_KEEP_ALIVE /**< ICE keep-alive timer. */ - -}; - -/* Candidate type preference */ -static pj_uint8_t cand_type_prefs[4] = -{ -#if PJ_ICE_CAND_TYPE_PREF_BITS < 8 - /* Keep it to 2 bits */ - 3, /**< PJ_ICE_HOST_PREF */ - 1, /**< PJ_ICE_SRFLX_PREF. */ - 2, /**< PJ_ICE_PRFLX_PREF */ - 0 /**< PJ_ICE_RELAYED_PREF */ -#else - /* Default ICE session preferences, according to draft-ice */ - 126, /**< PJ_ICE_HOST_PREF */ - 100, /**< PJ_ICE_SRFLX_PREF. */ - 110, /**< PJ_ICE_PRFLX_PREF */ - 0 /**< PJ_ICE_RELAYED_PREF */ -#endif -}; - -#define CHECK_NAME_LEN 128 -#define LOG4(expr) PJ_LOG(4,expr) -#define LOG5(expr) PJ_LOG(4,expr) -#define GET_LCAND_ID(cand) (cand - ice->lcand) -#define GET_CHECK_ID(cl, chk) (chk - (cl)->checks) - - -/* The data that will be attached to the STUN session on each - * component. - */ -typedef struct stun_data -{ - pj_ice_sess *ice; - unsigned comp_id; - pj_ice_sess_comp *comp; -} stun_data; - - -/* The data that will be attached to the timer to perform - * periodic check. - */ -typedef struct timer_data -{ - pj_ice_sess *ice; - pj_ice_sess_checklist *clist; -} timer_data; - - -/* This is the data that will be attached as token to outgoing - * STUN messages. - */ - - -/* Forward declarations */ -static void on_timer(pj_timer_heap_t *th, pj_timer_entry *te); -static void on_ice_complete(pj_ice_sess *ice, pj_status_t status); -static void ice_keep_alive(pj_ice_sess *ice, pj_bool_t send_now); -static void destroy_ice(pj_ice_sess *ice, - pj_status_t reason); -static pj_status_t start_periodic_check(pj_timer_heap_t *th, - pj_timer_entry *te); -static void start_nominated_check(pj_ice_sess *ice); -static void periodic_timer(pj_timer_heap_t *th, - pj_timer_entry *te); -static void handle_incoming_check(pj_ice_sess *ice, - const pj_ice_rx_check *rcheck); - -/* These are the callbacks registered to the STUN sessions */ -static pj_status_t on_stun_send_msg(pj_stun_session *sess, - void *token, - const void *pkt, - pj_size_t pkt_size, - const pj_sockaddr_t *dst_addr, - unsigned addr_len); -static pj_status_t on_stun_rx_request(pj_stun_session *sess, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_stun_rx_data *rdata, - void *token, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); -static void on_stun_request_complete(pj_stun_session *stun_sess, - pj_status_t status, - void *token, - pj_stun_tx_data *tdata, - const pj_stun_msg *response, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); -static pj_status_t on_stun_rx_indication(pj_stun_session *sess, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_stun_msg *msg, - void *token, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); - -/* These are the callbacks for performing STUN authentication */ -static pj_status_t stun_auth_get_auth(void *user_data, - pj_pool_t *pool, - pj_str_t *realm, - pj_str_t *nonce); -static pj_status_t stun_auth_get_cred(const pj_stun_msg *msg, - void *user_data, - pj_pool_t *pool, - pj_str_t *realm, - pj_str_t *username, - pj_str_t *nonce, - pj_stun_passwd_type *data_type, - pj_str_t *data); -static pj_status_t stun_auth_get_password(const pj_stun_msg *msg, - void *user_data, - const pj_str_t *realm, - const pj_str_t *username, - pj_pool_t *pool, - pj_stun_passwd_type *data_type, - pj_str_t *data); - - -PJ_DEF(const char*) pj_ice_get_cand_type_name(pj_ice_cand_type type) -{ - PJ_ASSERT_RETURN(type <= PJ_ICE_CAND_TYPE_RELAYED, "???"); - return cand_type_names[type]; -} - - -PJ_DEF(const char*) pj_ice_sess_role_name(pj_ice_sess_role role) -{ - switch (role) { - case PJ_ICE_SESS_ROLE_UNKNOWN: - return "Unknown"; - case PJ_ICE_SESS_ROLE_CONTROLLED: - return "Controlled"; - case PJ_ICE_SESS_ROLE_CONTROLLING: - return "Controlling"; - default: - return "??"; - } -} - - -/* Get the prefix for the foundation */ -static int get_type_prefix(pj_ice_cand_type type) -{ - switch (type) { - case PJ_ICE_CAND_TYPE_HOST: return 'H'; - case PJ_ICE_CAND_TYPE_SRFLX: return 'S'; - case PJ_ICE_CAND_TYPE_PRFLX: return 'P'; - case PJ_ICE_CAND_TYPE_RELAYED: return 'R'; - default: - pj_assert(!"Invalid type"); - return 'U'; - } -} - -/* Calculate foundation: - * Two candidates have the same foundation when they are "similar" - of - * the same type and obtained from the same host candidate and STUN - * server using the same protocol. Otherwise, their foundation is - * different. - */ -PJ_DEF(void) pj_ice_calc_foundation(pj_pool_t *pool, - pj_str_t *foundation, - pj_ice_cand_type type, - const pj_sockaddr *base_addr) -{ -#if PJNATH_ICE_PRIO_STD - char buf[64]; - pj_uint32_t val; - - if (base_addr->addr.sa_family == pj_AF_INET()) { - val = pj_ntohl(base_addr->ipv4.sin_addr.s_addr); - } else { - val = pj_hash_calc(0, pj_sockaddr_get_addr(base_addr), - pj_sockaddr_get_addr_len(base_addr)); - } - pj_ansi_snprintf(buf, sizeof(buf), "%c%x", - get_type_prefix(type), val); - pj_strdup2(pool, foundation, buf); -#else - /* Much shorter version, valid for candidates added by - * pj_ice_strans. - */ - foundation->ptr = (char*) pj_pool_alloc(pool, 1); - *foundation->ptr = (char)get_type_prefix(type); - foundation->slen = 1; - - PJ_UNUSED_ARG(base_addr); -#endif -} - - -/* Init component */ -static pj_status_t init_comp(pj_ice_sess *ice, - unsigned comp_id, - pj_ice_sess_comp *comp) -{ - pj_stun_session_cb sess_cb; - pj_stun_auth_cred auth_cred; - stun_data *sd; - pj_status_t status; - - /* Init STUN callbacks */ - pj_bzero(&sess_cb, sizeof(sess_cb)); - sess_cb.on_request_complete = &on_stun_request_complete; - sess_cb.on_rx_indication = &on_stun_rx_indication; - sess_cb.on_rx_request = &on_stun_rx_request; - sess_cb.on_send_msg = &on_stun_send_msg; - - /* Create STUN session for this candidate */ - status = pj_stun_session_create(&ice->stun_cfg, NULL, - &sess_cb, PJ_TRUE, - &comp->stun_sess); - if (status != PJ_SUCCESS) - return status; - - /* Associate data with this STUN session */ - sd = PJ_POOL_ZALLOC_T(ice->pool, struct stun_data); - sd->ice = ice; - sd->comp_id = comp_id; - sd->comp = comp; - pj_stun_session_set_user_data(comp->stun_sess, sd); - - /* Init STUN authentication credential */ - pj_bzero(&auth_cred, sizeof(auth_cred)); - auth_cred.type = PJ_STUN_AUTH_CRED_DYNAMIC; - auth_cred.data.dyn_cred.get_auth = &stun_auth_get_auth; - auth_cred.data.dyn_cred.get_cred = &stun_auth_get_cred; - auth_cred.data.dyn_cred.get_password = &stun_auth_get_password; - auth_cred.data.dyn_cred.user_data = comp->stun_sess; - pj_stun_session_set_credential(comp->stun_sess, PJ_STUN_AUTH_SHORT_TERM, - &auth_cred); - - return PJ_SUCCESS; -} - - -/* Init options with default values */ -PJ_DEF(void) pj_ice_sess_options_default(pj_ice_sess_options *opt) -{ - opt->aggressive = PJ_TRUE; - opt->nominated_check_delay = PJ_ICE_NOMINATED_CHECK_DELAY; - opt->controlled_agent_want_nom_timeout = - ICE_CONTROLLED_AGENT_WAIT_NOMINATION_TIMEOUT; -} - -/* - * Create ICE session. - */ -PJ_DEF(pj_status_t) pj_ice_sess_create(pj_stun_config *stun_cfg, - const char *name, - pj_ice_sess_role role, - unsigned comp_cnt, - const pj_ice_sess_cb *cb, - const pj_str_t *local_ufrag, - const pj_str_t *local_passwd, - pj_ice_sess **p_ice) -{ - pj_pool_t *pool; - pj_ice_sess *ice; - unsigned i; - pj_status_t status; - - PJ_ASSERT_RETURN(stun_cfg && cb && p_ice, PJ_EINVAL); - - if (name == NULL) - name = "icess%p"; - - pool = pj_pool_create(stun_cfg->pf, name, PJNATH_POOL_LEN_ICE_SESS, - PJNATH_POOL_INC_ICE_SESS, NULL); - ice = PJ_POOL_ZALLOC_T(pool, pj_ice_sess); - ice->pool = pool; - ice->role = role; - ice->tie_breaker.u32.hi = pj_rand(); - ice->tie_breaker.u32.lo = pj_rand(); - ice->prefs = cand_type_prefs; - pj_ice_sess_options_default(&ice->opt); - - pj_timer_entry_init(&ice->timer, TIMER_NONE, (void*)ice, &on_timer); - - pj_ansi_snprintf(ice->obj_name, sizeof(ice->obj_name), - name, ice); - - status = pj_mutex_create_recursive(pool, ice->obj_name, - &ice->mutex); - if (status != PJ_SUCCESS) { - destroy_ice(ice, status); - return status; - } - - pj_memcpy(&ice->cb, cb, sizeof(*cb)); - pj_memcpy(&ice->stun_cfg, stun_cfg, sizeof(*stun_cfg)); - - ice->comp_cnt = comp_cnt; - for (i=0; icomp[i]; - comp->valid_check = NULL; - comp->nominated_check = NULL; - - status = init_comp(ice, i+1, comp); - if (status != PJ_SUCCESS) { - destroy_ice(ice, status); - return status; - } - } - - /* Initialize transport datas */ - for (i=0; itp_data); ++i) { - ice->tp_data[i].transport_id = i; - ice->tp_data[i].has_req_data = PJ_FALSE; - } - - if (local_ufrag == NULL) { - ice->rx_ufrag.ptr = (char*) pj_pool_alloc(ice->pool, PJ_ICE_UFRAG_LEN); - pj_create_random_string(ice->rx_ufrag.ptr, PJ_ICE_UFRAG_LEN); - ice->rx_ufrag.slen = PJ_ICE_UFRAG_LEN; - } else { - pj_strdup(ice->pool, &ice->rx_ufrag, local_ufrag); - } - - if (local_passwd == NULL) { - ice->rx_pass.ptr = (char*) pj_pool_alloc(ice->pool, PJ_ICE_UFRAG_LEN); - pj_create_random_string(ice->rx_pass.ptr, PJ_ICE_UFRAG_LEN); - ice->rx_pass.slen = PJ_ICE_UFRAG_LEN; - } else { - pj_strdup(ice->pool, &ice->rx_pass, local_passwd); - } - - pj_list_init(&ice->early_check); - - /* Done */ - *p_ice = ice; - - LOG4((ice->obj_name, - "ICE session created, comp_cnt=%d, role is %s agent", - comp_cnt, role_names[ice->role])); - - return PJ_SUCCESS; -} - - -/* - * Get the value of various options of the ICE session. - */ -PJ_DEF(pj_status_t) pj_ice_sess_get_options(pj_ice_sess *ice, - pj_ice_sess_options *opt) -{ - PJ_ASSERT_RETURN(ice, PJ_EINVAL); - pj_memcpy(opt, &ice->opt, sizeof(*opt)); - return PJ_SUCCESS; -} - -/* - * Specify various options for this ICE session. - */ -PJ_DEF(pj_status_t) pj_ice_sess_set_options(pj_ice_sess *ice, - const pj_ice_sess_options *opt) -{ - PJ_ASSERT_RETURN(ice && opt, PJ_EINVAL); - pj_memcpy(&ice->opt, opt, sizeof(*opt)); - LOG5((ice->obj_name, "ICE nomination type set to %s", - (ice->opt.aggressive ? "aggressive" : "regular"))); - return PJ_SUCCESS; -} - - -/* - * Destroy - */ -static void destroy_ice(pj_ice_sess *ice, - pj_status_t reason) -{ - unsigned i; - - if (reason == PJ_SUCCESS) { - LOG4((ice->obj_name, "Destroying ICE session")); - } - - ice->is_destroying = PJ_TRUE; - - /* Let other callbacks finish */ - if (ice->mutex) { - pj_mutex_lock(ice->mutex); - pj_mutex_unlock(ice->mutex); - } - - if (ice->timer.id) { - pj_timer_heap_cancel(ice->stun_cfg.timer_heap, - &ice->timer); - ice->timer.id = PJ_FALSE; - } - - for (i=0; icomp_cnt; ++i) { - if (ice->comp[i].stun_sess) { - pj_stun_session_destroy(ice->comp[i].stun_sess); - ice->comp[i].stun_sess = NULL; - } - } - - if (ice->clist.timer.id) { - pj_timer_heap_cancel(ice->stun_cfg.timer_heap, &ice->clist.timer); - ice->clist.timer.id = PJ_FALSE; - } - - if (ice->mutex) { - pj_mutex_destroy(ice->mutex); - ice->mutex = NULL; - } - - if (ice->pool) { - pj_pool_t *pool = ice->pool; - ice->pool = NULL; - pj_pool_release(pool); - } -} - - -/* - * Destroy - */ -PJ_DEF(pj_status_t) pj_ice_sess_destroy(pj_ice_sess *ice) -{ - PJ_ASSERT_RETURN(ice, PJ_EINVAL); - destroy_ice(ice, PJ_SUCCESS); - return PJ_SUCCESS; -} - - -/* - * Change session role. - */ -PJ_DEF(pj_status_t) pj_ice_sess_change_role(pj_ice_sess *ice, - pj_ice_sess_role new_role) -{ - PJ_ASSERT_RETURN(ice, PJ_EINVAL); - - if (new_role != ice->role) { - ice->role = new_role; - LOG4((ice->obj_name, "Role changed to %s", role_names[new_role])); - } - - return PJ_SUCCESS; -} - - -/* - * Change type preference - */ -PJ_DEF(pj_status_t) pj_ice_sess_set_prefs(pj_ice_sess *ice, - const pj_uint8_t prefs[4]) -{ - unsigned i; - PJ_ASSERT_RETURN(ice && prefs, PJ_EINVAL); - ice->prefs = (pj_uint8_t*) pj_pool_calloc(ice->pool, PJ_ARRAY_SIZE(prefs), - sizeof(pj_uint8_t)); - for (i=0; i<4; ++i) { -#if PJ_ICE_CAND_TYPE_PREF_BITS < 8 - pj_assert(prefs[i] < (2 << PJ_ICE_CAND_TYPE_PREF_BITS)); -#endif - ice->prefs[i] = prefs[i]; - } - return PJ_SUCCESS; -} - - -/* Find component by ID */ -static pj_ice_sess_comp *find_comp(const pj_ice_sess *ice, unsigned comp_id) -{ - pj_assert(comp_id > 0 && comp_id <= ice->comp_cnt); - return (pj_ice_sess_comp*) &ice->comp[comp_id-1]; -} - - -/* Callback by STUN authentication when it needs to send 401 */ -static pj_status_t stun_auth_get_auth(void *user_data, - pj_pool_t *pool, - pj_str_t *realm, - pj_str_t *nonce) -{ - PJ_UNUSED_ARG(user_data); - PJ_UNUSED_ARG(pool); - - realm->slen = 0; - nonce->slen = 0; - - return PJ_SUCCESS; -} - - -/* Get credential to be sent with outgoing message */ -static pj_status_t stun_auth_get_cred(const pj_stun_msg *msg, - void *user_data, - pj_pool_t *pool, - pj_str_t *realm, - pj_str_t *username, - pj_str_t *nonce, - pj_stun_passwd_type *data_type, - pj_str_t *data) -{ - pj_stun_session *sess = (pj_stun_session *)user_data; - stun_data *sd = (stun_data*) pj_stun_session_get_user_data(sess); - pj_ice_sess *ice = sd->ice; - - PJ_UNUSED_ARG(pool); - realm->slen = nonce->slen = 0; - - if (PJ_STUN_IS_RESPONSE(msg->hdr.type)) { - /* Outgoing responses need to have the same credential as - * incoming requests. - */ - *username = ice->rx_uname; - *data_type = PJ_STUN_PASSWD_PLAIN; - *data = ice->rx_pass; - } - else { - *username = ice->tx_uname; - *data_type = PJ_STUN_PASSWD_PLAIN; - *data = ice->tx_pass; - } - - return PJ_SUCCESS; -} - -/* Get password to be used to authenticate incoming message */ -static pj_status_t stun_auth_get_password(const pj_stun_msg *msg, - void *user_data, - const pj_str_t *realm, - const pj_str_t *username, - pj_pool_t *pool, - pj_stun_passwd_type *data_type, - pj_str_t *data) -{ - pj_stun_session *sess = (pj_stun_session *)user_data; - stun_data *sd = (stun_data*) pj_stun_session_get_user_data(sess); - pj_ice_sess *ice = sd->ice; - - PJ_UNUSED_ARG(realm); - PJ_UNUSED_ARG(pool); - - if (PJ_STUN_IS_SUCCESS_RESPONSE(msg->hdr.type) || - PJ_STUN_IS_ERROR_RESPONSE(msg->hdr.type)) - { - /* Incoming response is authenticated with TX credential */ - /* Verify username */ - if (pj_strcmp(username, &ice->tx_uname) != 0) - return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_UNAUTHORIZED); - *data_type = PJ_STUN_PASSWD_PLAIN; - *data = ice->tx_pass; - - } else { - /* Incoming request is authenticated with RX credential */ - /* The agent MUST accept a credential if the username consists - * of two values separated by a colon, where the first value is - * equal to the username fragment generated by the agent in an offer - * or answer for a session in-progress, and the MESSAGE-INTEGRITY - * is the output of a hash of the password and the STUN packet's - * contents. - */ - const char *pos; - pj_str_t ufrag; - - pos = (const char*)pj_memchr(username->ptr, ':', username->slen); - if (pos == NULL) - return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_UNAUTHORIZED); - - ufrag.ptr = (char*)username->ptr; - ufrag.slen = (pos - username->ptr); - - if (pj_strcmp(&ufrag, &ice->rx_ufrag) != 0) - return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_UNAUTHORIZED); - - *data_type = PJ_STUN_PASSWD_PLAIN; - *data = ice->rx_pass; - - } - - return PJ_SUCCESS; -} - - -static pj_uint32_t CALC_CAND_PRIO(pj_ice_sess *ice, - pj_ice_cand_type type, - pj_uint32_t local_pref, - pj_uint32_t comp_id) -{ -#if PJNATH_ICE_PRIO_STD - return ((ice->prefs[type] & 0xFF) << 24) + - ((local_pref & 0xFFFF) << 8) + - (((256 - comp_id) & 0xFF) << 0); -#else - enum { - type_mask = ((2 << PJ_ICE_CAND_TYPE_PREF_BITS) - 1), - local_mask = ((2 << PJ_ICE_LOCAL_PREF_BITS) - 1), - comp_mask = ((2 << PJ_ICE_COMP_BITS) - 1), - - comp_shift = 0, - local_shift = (PJ_ICE_COMP_BITS), - type_shift = (comp_shift + local_shift), - - max_comp = (2<prefs[type] & type_mask) << type_shift) + - ((local_pref & local_mask) << local_shift) + - (((max_comp - comp_id) & comp_mask) << comp_shift); -#endif -} - - -/* - * Add ICE candidate - */ -PJ_DEF(pj_status_t) pj_ice_sess_add_cand(pj_ice_sess *ice, - unsigned comp_id, - unsigned transport_id, - pj_ice_cand_type type, - pj_uint16_t local_pref, - const pj_str_t *foundation, - const pj_sockaddr_t *addr, - const pj_sockaddr_t *base_addr, - const pj_sockaddr_t *rel_addr, - int addr_len, - unsigned *p_cand_id) -{ - pj_ice_sess_cand *lcand; - pj_status_t status = PJ_SUCCESS; - - PJ_ASSERT_RETURN(ice && comp_id && - foundation && addr && base_addr && addr_len, - PJ_EINVAL); - PJ_ASSERT_RETURN(comp_id <= ice->comp_cnt, PJ_EINVAL); - - pj_mutex_lock(ice->mutex); - - if (ice->lcand_cnt >= PJ_ARRAY_SIZE(ice->lcand)) { - status = PJ_ETOOMANY; - goto on_error; - } - - lcand = &ice->lcand[ice->lcand_cnt]; - lcand->comp_id = (pj_uint8_t)comp_id; - lcand->transport_id = (pj_uint8_t)transport_id; - lcand->type = type; - pj_strdup(ice->pool, &lcand->foundation, foundation); - lcand->prio = CALC_CAND_PRIO(ice, type, local_pref, lcand->comp_id); - pj_memcpy(&lcand->addr, addr, addr_len); - pj_memcpy(&lcand->base_addr, base_addr, addr_len); - if (rel_addr == NULL) - rel_addr = base_addr; - pj_memcpy(&lcand->rel_addr, rel_addr, addr_len); - - pj_ansi_strcpy(ice->tmp.txt, pj_inet_ntoa(lcand->addr.ipv4.sin_addr)); - LOG4((ice->obj_name, - "Candidate %d added: comp_id=%d, type=%s, foundation=%.*s, " - "addr=%s:%d, base=%s:%d, prio=0x%x (%u)", - ice->lcand_cnt, - lcand->comp_id, - cand_type_names[lcand->type], - (int)lcand->foundation.slen, - lcand->foundation.ptr, - ice->tmp.txt, - (int)pj_ntohs(lcand->addr.ipv4.sin_port), - pj_inet_ntoa(lcand->base_addr.ipv4.sin_addr), - (int)pj_htons(lcand->base_addr.ipv4.sin_port), - lcand->prio, lcand->prio)); - - if (p_cand_id) - *p_cand_id = ice->lcand_cnt; - - ++ice->lcand_cnt; - -on_error: - pj_mutex_unlock(ice->mutex); - return status; -} - - -/* Find default candidate ID for the component */ -PJ_DEF(pj_status_t) pj_ice_sess_find_default_cand(pj_ice_sess *ice, - unsigned comp_id, - int *cand_id) -{ - unsigned i; - - PJ_ASSERT_RETURN(ice && comp_id && cand_id, PJ_EINVAL); - PJ_ASSERT_RETURN(comp_id <= ice->comp_cnt, PJ_EINVAL); - - *cand_id = -1; - - pj_mutex_lock(ice->mutex); - - /* First find in valid list if we have nominated pair */ - for (i=0; ivalid_list.count; ++i) { - pj_ice_sess_check *check = &ice->valid_list.checks[i]; - - if (check->lcand->comp_id == comp_id) { - *cand_id = GET_LCAND_ID(check->lcand); - pj_mutex_unlock(ice->mutex); - return PJ_SUCCESS; - } - } - - /* If there's no nominated pair, find relayed candidate */ - for (i=0; ilcand_cnt; ++i) { - pj_ice_sess_cand *lcand = &ice->lcand[i]; - if (lcand->comp_id==comp_id && - lcand->type == PJ_ICE_CAND_TYPE_RELAYED) - { - *cand_id = GET_LCAND_ID(lcand); - pj_mutex_unlock(ice->mutex); - return PJ_SUCCESS; - } - } - - /* If there's no relayed candidate, find reflexive candidate */ - for (i=0; ilcand_cnt; ++i) { - pj_ice_sess_cand *lcand = &ice->lcand[i]; - if (lcand->comp_id==comp_id && - (lcand->type == PJ_ICE_CAND_TYPE_SRFLX || - lcand->type == PJ_ICE_CAND_TYPE_PRFLX)) - { - *cand_id = GET_LCAND_ID(lcand); - pj_mutex_unlock(ice->mutex); - return PJ_SUCCESS; - } - } - - /* Otherwise return host candidate */ - for (i=0; ilcand_cnt; ++i) { - pj_ice_sess_cand *lcand = &ice->lcand[i]; - if (lcand->comp_id==comp_id && - lcand->type == PJ_ICE_CAND_TYPE_HOST) - { - *cand_id = GET_LCAND_ID(lcand); - pj_mutex_unlock(ice->mutex); - return PJ_SUCCESS; - } - } - - /* Still no candidate is found! :( */ - pj_mutex_unlock(ice->mutex); - - pj_assert(!"Should have a candidate by now"); - return PJ_EBUG; -} - - -#ifndef MIN -# define MIN(a,b) (a < b ? a : b) -#endif - -#ifndef MAX -# define MAX(a,b) (a > b ? a : b) -#endif - -static pj_timestamp CALC_CHECK_PRIO(const pj_ice_sess *ice, - const pj_ice_sess_cand *lcand, - const pj_ice_sess_cand *rcand) -{ - pj_uint32_t O, A; - pj_timestamp prio; - - /* Original formula: - * pair priority = 2^32*MIN(O,A) + 2*MAX(O,A) + (O>A?1:0) - */ - - if (ice->role == PJ_ICE_SESS_ROLE_CONTROLLING) { - O = lcand->prio; - A = rcand->prio; - } else { - O = rcand->prio; - A = lcand->prio; - } - - /* - return ((pj_uint64_t)1 << 32) * MIN(O, A) + - (pj_uint64_t)2 * MAX(O, A) + (O>A ? 1 : 0); - */ - - prio.u32.hi = MIN(O,A); - prio.u32.lo = (MAX(O, A) << 1) + (O>A ? 1 : 0); - - return prio; -} - - -PJ_INLINE(int) CMP_CHECK_PRIO(const pj_ice_sess_check *c1, - const pj_ice_sess_check *c2) -{ - return pj_cmp_timestamp(&c1->prio, &c2->prio); -} - - -#if PJ_LOG_MAX_LEVEL >= 4 -static const char *dump_check(char *buffer, unsigned bufsize, - const pj_ice_sess_checklist *clist, - const pj_ice_sess_check *check) -{ - const pj_ice_sess_cand *lcand = check->lcand; - const pj_ice_sess_cand *rcand = check->rcand; - char laddr[PJ_INET6_ADDRSTRLEN]; - int len; - - PJ_CHECK_STACK(); - - pj_ansi_strcpy(laddr, pj_inet_ntoa(lcand->addr.ipv4.sin_addr)); - - if (lcand->addr.addr.sa_family == pj_AF_INET()) { - len = pj_ansi_snprintf(buffer, bufsize, - "%d: [%d] %s:%d-->%s:%d", - (int)GET_CHECK_ID(clist, check), - check->lcand->comp_id, - laddr, (int)pj_ntohs(lcand->addr.ipv4.sin_port), - pj_inet_ntoa(rcand->addr.ipv4.sin_addr), - (int)pj_ntohs(rcand->addr.ipv4.sin_port)); - } else { - len = pj_ansi_snprintf(buffer, bufsize, "IPv6->IPv6"); - } - - - if (len < 0) - len = 0; - else if (len >= (int)bufsize) - len = bufsize - 1; - - buffer[len] = '\0'; - return buffer; -} - -static void dump_checklist(const char *title, pj_ice_sess *ice, - const pj_ice_sess_checklist *clist) -{ - unsigned i; - - LOG4((ice->obj_name, "%s", title)); - for (i=0; icount; ++i) { - const pj_ice_sess_check *c = &clist->checks[i]; - LOG4((ice->obj_name, " %s (%s, state=%s)", - dump_check(ice->tmp.txt, sizeof(ice->tmp.txt), clist, c), - (c->nominated ? "nominated" : "not nominated"), - check_state_name[c->state])); - } -} - -#else -#define dump_checklist(title, ice, clist) -#endif - -static void check_set_state(pj_ice_sess *ice, pj_ice_sess_check *check, - pj_ice_sess_check_state st, - pj_status_t err_code) -{ - pj_assert(check->state < PJ_ICE_SESS_CHECK_STATE_SUCCEEDED); - - LOG5((ice->obj_name, "Check %s: state changed from %s to %s", - dump_check(ice->tmp.txt, sizeof(ice->tmp.txt), &ice->clist, check), - check_state_name[check->state], - check_state_name[st])); - check->state = st; - check->err_code = err_code; -} - -static void clist_set_state(pj_ice_sess *ice, pj_ice_sess_checklist *clist, - pj_ice_sess_checklist_state st) -{ - if (clist->state != st) { - LOG5((ice->obj_name, "Checklist: state changed from %s to %s", - clist_state_name[clist->state], - clist_state_name[st])); - clist->state = st; - } -} - -/* Sort checklist based on priority */ -static void sort_checklist(pj_ice_sess *ice, pj_ice_sess_checklist *clist) -{ - unsigned i; - pj_ice_sess_check **check_ptr[PJ_ICE_MAX_COMP*2]; - unsigned check_ptr_cnt = 0; - - for (i=0; icomp_cnt; ++i) { - if (ice->comp[i].valid_check) { - check_ptr[check_ptr_cnt++] = &ice->comp[i].valid_check; - } - if (ice->comp[i].nominated_check) { - check_ptr[check_ptr_cnt++] = &ice->comp[i].nominated_check; - } - } - - for (i=0; icount-1; ++i) { - unsigned j, highest = i; - - for (j=i+1; jcount; ++j) { - if (CMP_CHECK_PRIO(&clist->checks[j], &clist->checks[highest]) > 0) { - highest = j; - } - } - - if (highest != i) { - pj_ice_sess_check tmp; - unsigned k; - - pj_memcpy(&tmp, &clist->checks[i], sizeof(pj_ice_sess_check)); - pj_memcpy(&clist->checks[i], &clist->checks[highest], - sizeof(pj_ice_sess_check)); - pj_memcpy(&clist->checks[highest], &tmp, - sizeof(pj_ice_sess_check)); - - /* Update valid and nominated check pointers, since we're moving - * around checks - */ - for (k=0; kchecks[highest]) - *check_ptr[k] = &clist->checks[i]; - else if (*check_ptr[k] == &clist->checks[i]) - *check_ptr[k] = &clist->checks[highest]; - } - } - } -} - -enum -{ - SOCKADDR_EQUAL = 0, - SOCKADDR_NOT_EQUAL = 1 -}; - -/* Utility: compare sockaddr. - * Returns 0 if equal. - */ -static int sockaddr_cmp(const pj_sockaddr *a1, const pj_sockaddr *a2) -{ - if (a1->addr.sa_family != a2->addr.sa_family) - return SOCKADDR_NOT_EQUAL; - - if (a1->addr.sa_family == pj_AF_INET()) { - return !(a1->ipv4.sin_addr.s_addr == a2->ipv4.sin_addr.s_addr && - a1->ipv4.sin_port == a2->ipv4.sin_port); - } else if (a1->addr.sa_family == pj_AF_INET6()) { - return pj_memcmp(&a1->ipv6, &a2->ipv6, sizeof(a1->ipv6)); - } else { - pj_assert(!"Invalid address family!"); - return SOCKADDR_NOT_EQUAL; - } -} - - -/* Prune checklist, this must have been done after the checklist - * is sorted. - */ -static pj_status_t prune_checklist(pj_ice_sess *ice, - pj_ice_sess_checklist *clist) -{ - unsigned i; - - /* Since an agent cannot send requests directly from a reflexive - * candidate, but only from its base, the agent next goes through the - * sorted list of candidate pairs. For each pair where the local - * candidate is server reflexive, the server reflexive candidate MUST be - * replaced by its base. Once this has been done, the agent MUST prune - * the list. This is done by removing a pair if its local and remote - * candidates are identical to the local and remote candidates of a pair - * higher up on the priority list. The result is a sequence of ordered - * candidate pairs, called the check list for that media stream. - */ - /* First replace SRFLX candidates with their base */ - for (i=0; icount; ++i) { - pj_ice_sess_cand *srflx = clist->checks[i].lcand; - - if (clist->checks[i].lcand->type == PJ_ICE_CAND_TYPE_SRFLX) { - /* Find the base for this candidate */ - unsigned j; - for (j=0; jlcand_cnt; ++j) { - pj_ice_sess_cand *host = &ice->lcand[j]; - - if (host->type != PJ_ICE_CAND_TYPE_HOST) - continue; - - if (sockaddr_cmp(&srflx->base_addr, &host->addr) == 0) { - /* Replace this SRFLX with its BASE */ - clist->checks[i].lcand = host; - break; - } - } - - if (j==ice->lcand_cnt) { - /* Host candidate not found this this srflx! */ - LOG4((ice->obj_name, - "Base candidate %s:%d not found for srflx candidate %d", - pj_inet_ntoa(srflx->base_addr.ipv4.sin_addr), - pj_ntohs(srflx->base_addr.ipv4.sin_port), - GET_LCAND_ID(clist->checks[i].lcand))); - return PJNATH_EICENOHOSTCAND; - } - } - } - - /* Next remove a pair if its local and remote candidates are identical - * to the local and remote candidates of a pair higher up on the priority - * list - */ - /* - * Not in ICE! - * Remove host candidates if their base are the the same! - */ - for (i=0; icount; ++i) { - pj_ice_sess_cand *licand = clist->checks[i].lcand; - pj_ice_sess_cand *ricand = clist->checks[i].rcand; - unsigned j; - - for (j=i+1; jcount;) { - pj_ice_sess_cand *ljcand = clist->checks[j].lcand; - pj_ice_sess_cand *rjcand = clist->checks[j].rcand; - const char *reason = NULL; - - if ((licand == ljcand) && (ricand == rjcand)) { - reason = "duplicate found"; - } else if ((rjcand == ricand) && - (sockaddr_cmp(&ljcand->base_addr, - &licand->base_addr)==0)) - { - reason = "equal base"; - } - - if (reason != NULL) { - /* Found duplicate, remove it */ - LOG5((ice->obj_name, "Check %s pruned (%s)", - dump_check(ice->tmp.txt, sizeof(ice->tmp.txt), - &ice->clist, &clist->checks[j]), - reason)); - - pj_array_erase(clist->checks, sizeof(clist->checks[0]), - clist->count, j); - --clist->count; - - } else { - ++j; - } - } - } - - return PJ_SUCCESS; -} - -/* Timer callback */ -static void on_timer(pj_timer_heap_t *th, pj_timer_entry *te) -{ - pj_ice_sess *ice = (pj_ice_sess*) te->user_data; - enum timer_type type = (enum timer_type)te->id; - pj_bool_t has_mutex = PJ_TRUE; - - PJ_UNUSED_ARG(th); - - pj_mutex_lock(ice->mutex); - - te->id = TIMER_NONE; - - switch (type) { - case TIMER_CONTROLLED_WAIT_NOM: - LOG4((ice->obj_name, - "Controlled agent timed-out in waiting for the controlling " - "agent to send nominated check. Setting state to fail now..")); - on_ice_complete(ice, PJNATH_EICENOMTIMEOUT); - break; - case TIMER_COMPLETION_CALLBACK: - { - void (*on_ice_complete)(pj_ice_sess *ice, pj_status_t status); - pj_status_t ice_status; - - /* Start keep-alive timer but don't send any packets yet. - * Need to do it here just in case app destroy the session - * in the callback. - */ - if (ice->ice_status == PJ_SUCCESS) - ice_keep_alive(ice, PJ_FALSE); - - /* Release mutex in case app destroy us in the callback */ - ice_status = ice->ice_status; - on_ice_complete = ice->cb.on_ice_complete; - has_mutex = PJ_FALSE; - pj_mutex_unlock(ice->mutex); - - /* Notify app about ICE completion*/ - if (on_ice_complete) - (*on_ice_complete)(ice, ice_status); - } - break; - case TIMER_START_NOMINATED_CHECK: - start_nominated_check(ice); - break; - case TIMER_KEEP_ALIVE: - ice_keep_alive(ice, PJ_TRUE); - break; - case TIMER_NONE: - /* Nothing to do, just to get rid of gcc warning */ - break; - } - - if (has_mutex) - pj_mutex_unlock(ice->mutex); -} - -/* Send keep-alive */ -static void ice_keep_alive(pj_ice_sess *ice, pj_bool_t send_now) -{ - if (send_now) { - /* Send Binding Indication for the component */ - pj_ice_sess_comp *comp = &ice->comp[ice->comp_ka]; - pj_stun_tx_data *tdata; - pj_ice_sess_check *the_check; - pj_ice_msg_data *msg_data; - int addr_len; - pj_bool_t saved; - pj_status_t status; - - /* Must have nominated check by now */ - pj_assert(comp->nominated_check != NULL); - the_check = comp->nominated_check; - - /* Create the Binding Indication */ - status = pj_stun_session_create_ind(comp->stun_sess, - PJ_STUN_BINDING_INDICATION, - &tdata); - if (status != PJ_SUCCESS) - goto done; - - /* Need the transport_id */ - msg_data = PJ_POOL_ZALLOC_T(tdata->pool, pj_ice_msg_data); - msg_data->transport_id = the_check->lcand->transport_id; - - /* Temporarily disable FINGERPRINT. The Binding Indication - * SHOULD NOT contain any attributes. - */ - saved = pj_stun_session_use_fingerprint(comp->stun_sess, PJ_FALSE); - - /* Send to session */ - addr_len = pj_sockaddr_get_len(&the_check->rcand->addr); - status = pj_stun_session_send_msg(comp->stun_sess, msg_data, - PJ_FALSE, PJ_FALSE, - &the_check->rcand->addr, - addr_len, tdata); - - /* Restore FINGERPRINT usage */ - pj_stun_session_use_fingerprint(comp->stun_sess, saved); - -done: - ice->comp_ka = (ice->comp_ka + 1) % ice->comp_cnt; - } - - if (ice->timer.id == TIMER_NONE) { - pj_time_val delay = { 0, 0 }; - - delay.msec = (PJ_ICE_SESS_KEEP_ALIVE_MIN + - (pj_rand() % PJ_ICE_SESS_KEEP_ALIVE_MAX_RAND)) * 1000 / - ice->comp_cnt; - pj_time_val_normalize(&delay); - - ice->timer.id = TIMER_KEEP_ALIVE; - pj_timer_heap_schedule(ice->stun_cfg.timer_heap, &ice->timer, &delay); - - } else { - pj_assert(!"Not expected any timer active"); - } -} - -/* This function is called when ICE processing completes */ -static void on_ice_complete(pj_ice_sess *ice, pj_status_t status) -{ - if (!ice->is_complete) { - ice->is_complete = PJ_TRUE; - ice->ice_status = status; - - if (ice->timer.id != TIMER_NONE) { - pj_timer_heap_cancel(ice->stun_cfg.timer_heap, &ice->timer); - ice->timer.id = TIMER_NONE; - } - - /* Log message */ - LOG4((ice->obj_name, "ICE process complete, status=%s", - pj_strerror(status, ice->tmp.errmsg, - sizeof(ice->tmp.errmsg)).ptr)); - - dump_checklist("Valid list", ice, &ice->valid_list); - - /* Call callback */ - if (ice->cb.on_ice_complete) { - pj_time_val delay = {0, 0}; - - ice->timer.id = TIMER_COMPLETION_CALLBACK; - pj_timer_heap_schedule(ice->stun_cfg.timer_heap, - &ice->timer, &delay); - } - } -} - -/* Update valid check and nominated check for the candidate */ -static void update_comp_check(pj_ice_sess *ice, unsigned comp_id, - pj_ice_sess_check *check) -{ - pj_ice_sess_comp *comp; - - comp = find_comp(ice, comp_id); - if (comp->valid_check == NULL) { - comp->valid_check = check; - } else { - if (CMP_CHECK_PRIO(comp->valid_check, check) < 0) - comp->valid_check = check; - } - - if (check->nominated) { - /* Update the nominated check for the component */ - if (comp->nominated_check == NULL) { - comp->nominated_check = check; - } else { - if (CMP_CHECK_PRIO(comp->nominated_check, check) < 0) - comp->nominated_check = check; - } - } -} - -/* This function is called when one check completes */ -static pj_bool_t on_check_complete(pj_ice_sess *ice, - pj_ice_sess_check *check) -{ - pj_ice_sess_comp *comp; - unsigned i; - - pj_assert(check->state >= PJ_ICE_SESS_CHECK_STATE_SUCCEEDED); - - comp = find_comp(ice, check->lcand->comp_id); - - /* 7.1.2.2.2. Updating Pair States - * - * The agent sets the state of the pair that generated the check to - * Succeeded. The success of this check might also cause the state of - * other checks to change as well. The agent MUST perform the following - * two steps: - * - * 1. The agent changes the states for all other Frozen pairs for the - * same media stream and same foundation to Waiting. Typically - * these other pairs will have different component IDs but not - * always. - */ - if (check->err_code==PJ_SUCCESS) { - - for (i=0; iclist.count; ++i) { - pj_ice_sess_check *c = &ice->clist.checks[i]; - if (pj_strcmp(&c->lcand->foundation, &check->lcand->foundation)==0 - && c->state == PJ_ICE_SESS_CHECK_STATE_FROZEN) - { - check_set_state(ice, c, PJ_ICE_SESS_CHECK_STATE_WAITING, 0); - } - } - - LOG5((ice->obj_name, "Check %d is successful%s", - GET_CHECK_ID(&ice->clist, check), - (check->nominated ? " and nominated" : ""))); - - } - - /* 8.2. Updating States - * - * For both controlling and controlled agents, the state of ICE - * processing depends on the presence of nominated candidate pairs in - * the valid list and on the state of the check list: - * - * o If there are no nominated pairs in the valid list for a media - * stream and the state of the check list is Running, ICE processing - * continues. - * - * o If there is at least one nominated pair in the valid list: - * - * - The agent MUST remove all Waiting and Frozen pairs in the check - * list for the same component as the nominated pairs for that - * media stream - * - * - If an In-Progress pair in the check list is for the same - * component as a nominated pair, the agent SHOULD cease - * retransmissions for its check if its pair priority is lower - * than the lowest priority nominated pair for that component - */ - if (check->err_code==PJ_SUCCESS && check->nominated) { - - for (i=0; iclist.count; ++i) { - - pj_ice_sess_check *c = &ice->clist.checks[i]; - - if (c->lcand->comp_id == check->lcand->comp_id) { - - if (c->state < PJ_ICE_SESS_CHECK_STATE_IN_PROGRESS) { - - /* Just fail Frozen/Waiting check */ - LOG5((ice->obj_name, - "Check %s to be failed because state is %s", - dump_check(ice->tmp.txt, sizeof(ice->tmp.txt), - &ice->clist, c), - check_state_name[c->state])); - check_set_state(ice, c, PJ_ICE_SESS_CHECK_STATE_FAILED, - PJ_ECANCELLED); - - } else if (c->state == PJ_ICE_SESS_CHECK_STATE_IN_PROGRESS - && (PJ_ICE_CANCEL_ALL || - CMP_CHECK_PRIO(c, check) < 0)) { - - /* State is IN_PROGRESS, cancel transaction */ - if (c->tdata) { - LOG5((ice->obj_name, - "Cancelling check %s (In Progress)", - dump_check(ice->tmp.txt, sizeof(ice->tmp.txt), - &ice->clist, c))); - pj_stun_session_cancel_req(comp->stun_sess, - c->tdata, PJ_FALSE, 0); - c->tdata = NULL; - check_set_state(ice, c, PJ_ICE_SESS_CHECK_STATE_FAILED, - PJ_ECANCELLED); - } - } - } - } - } - - - /* Still in 8.2. Updating States - * - * o Once there is at least one nominated pair in the valid list for - * every component of at least one media stream and the state of the - * check list is Running: - * - * * The agent MUST change the state of processing for its check - * list for that media stream to Completed. - * - * * The agent MUST continue to respond to any checks it may still - * receive for that media stream, and MUST perform triggered - * checks if required by the processing of Section 7.2. - * - * * The agent MAY begin transmitting media for this media stream as - * described in Section 11.1 - */ - - /* See if all components have nominated pair. If they do, then mark - * ICE processing as success, otherwise wait. - */ - for (i=0; icomp_cnt; ++i) { - if (ice->comp[i].nominated_check == NULL) - break; - } - if (i == ice->comp_cnt) { - /* All components have nominated pair */ - on_ice_complete(ice, PJ_SUCCESS); - return PJ_TRUE; - } - - /* Note: this is the stuffs that we don't do in 7.1.2.2.2, since our - * ICE session only supports one media stream for now: - * - * 7.1.2.2.2. Updating Pair States - * - * 2. If there is a pair in the valid list for every component of this - * media stream (where this is the actual number of components being - * used, in cases where the number of components signaled in the SDP - * differs from offerer to answerer), the success of this check may - * unfreeze checks for other media streams. - */ - - /* 7.1.2.3. Check List and Timer State Updates - * Regardless of whether the check was successful or failed, the - * completion of the transaction may require updating of check list and - * timer states. - * - * If all of the pairs in the check list are now either in the Failed or - * Succeeded state, and there is not a pair in the valid list for each - * component of the media stream, the state of the check list is set to - * Failed. - */ - - /* - * See if all checks in the checklist have completed. If we do, - * then mark ICE processing as failed. - */ - for (i=0; iclist.count; ++i) { - pj_ice_sess_check *c = &ice->clist.checks[i]; - if (c->state < PJ_ICE_SESS_CHECK_STATE_SUCCEEDED) { - break; - } - } - - if (i == ice->clist.count) { - /* All checks have completed, but we don't have nominated pair. - * If agent's role is controlled, check if all components have - * valid pair. If it does, this means the controlled agent has - * finished the check list and it's waiting for controlling - * agent to send checks with USE-CANDIDATE flag set. - */ - if (ice->role == PJ_ICE_SESS_ROLE_CONTROLLED) { - for (i=0; i < ice->comp_cnt; ++i) { - if (ice->comp[i].valid_check == NULL) - break; - } - - if (i < ice->comp_cnt) { - /* This component ID doesn't have valid pair. - * Mark ICE as failed. - */ - on_ice_complete(ice, PJNATH_EICEFAILED); - return PJ_TRUE; - } else { - /* All components have a valid pair. - * We should wait until we receive nominated checks. - */ - if (ice->timer.id == TIMER_NONE && - ice->opt.controlled_agent_want_nom_timeout >= 0) - { - pj_time_val delay; - - delay.sec = 0; - delay.msec = ice->opt.controlled_agent_want_nom_timeout; - pj_time_val_normalize(&delay); - - ice->timer.id = TIMER_CONTROLLED_WAIT_NOM; - pj_timer_heap_schedule(ice->stun_cfg.timer_heap, - &ice->timer, - &delay); - - LOG5((ice->obj_name, - "All checks have completed. Controlled agent now " - "waits for nomination from controlling agent " - "(timeout=%d msec)", - ice->opt.controlled_agent_want_nom_timeout)); - } - return PJ_FALSE; - } - - /* Unreached */ - - } else if (ice->is_nominating) { - /* We are controlling agent and all checks have completed but - * there's at least one component without nominated pair (or - * more likely we don't have any nominated pairs at all). - */ - on_ice_complete(ice, PJNATH_EICEFAILED); - return PJ_TRUE; - - } else { - /* We are controlling agent and all checks have completed. If - * we have valid list for every component, then move on to - * sending nominated check, otherwise we have failed. - */ - for (i=0; icomp_cnt; ++i) { - if (ice->comp[i].valid_check == NULL) - break; - } - - if (i < ice->comp_cnt) { - /* At least one component doesn't have a valid check. Mark - * ICE as failed. - */ - on_ice_complete(ice, PJNATH_EICEFAILED); - return PJ_TRUE; - } - - /* Now it's time to send connectivity check with nomination - * flag set. - */ - LOG4((ice->obj_name, - "All checks have completed, starting nominated checks now")); - start_nominated_check(ice); - return PJ_FALSE; - } - } - - /* If this connectivity check has been successful, scan all components - * and see if they have a valid pair, if we are controlling and we haven't - * started our nominated check yet. - */ - if (check->err_code == PJ_SUCCESS && - ice->role==PJ_ICE_SESS_ROLE_CONTROLLING && - !ice->is_nominating && - ice->timer.id == TIMER_NONE) - { - pj_time_val delay; - - for (i=0; icomp_cnt; ++i) { - if (ice->comp[i].valid_check == NULL) - break; - } - - if (i < ice->comp_cnt) { - /* Some components still don't have valid pair, continue - * processing. - */ - return PJ_FALSE; - } - - LOG4((ice->obj_name, - "Scheduling nominated check in %d ms", - ice->opt.nominated_check_delay)); - - if (ice->timer.id != TIMER_NONE) { - pj_timer_heap_cancel(ice->stun_cfg.timer_heap, &ice->timer); - ice->timer.id = TIMER_NONE; - } - - /* All components have valid pair. Let connectivity checks run for - * a little bit more time, then start our nominated check. - */ - delay.sec = 0; - delay.msec = ice->opt.nominated_check_delay; - pj_time_val_normalize(&delay); - - ice->timer.id = TIMER_START_NOMINATED_CHECK; - pj_timer_heap_schedule(ice->stun_cfg.timer_heap, &ice->timer, &delay); - return PJ_FALSE; - } - - /* We still have checks to perform */ - return PJ_FALSE; -} - - -/* Create checklist by pairing local candidates with remote candidates */ -PJ_DEF(pj_status_t) pj_ice_sess_create_check_list( - pj_ice_sess *ice, - const pj_str_t *rem_ufrag, - const pj_str_t *rem_passwd, - unsigned rcand_cnt, - const pj_ice_sess_cand rcand[]) -{ - pj_ice_sess_checklist *clist; - char buf[128]; - pj_str_t username; - timer_data *td; - unsigned i, j; - unsigned highest_comp = 0; - pj_status_t status; - - PJ_ASSERT_RETURN(ice && rem_ufrag && rem_passwd && rcand_cnt && rcand, - PJ_EINVAL); - PJ_ASSERT_RETURN(rcand_cnt + ice->rcand_cnt <= PJ_ICE_MAX_CAND, - PJ_ETOOMANY); - - pj_mutex_lock(ice->mutex); - - /* Save credentials */ - username.ptr = buf; - - pj_strcpy(&username, rem_ufrag); - pj_strcat2(&username, ":"); - pj_strcat(&username, &ice->rx_ufrag); - - pj_strdup(ice->pool, &ice->tx_uname, &username); - pj_strdup(ice->pool, &ice->tx_ufrag, rem_ufrag); - pj_strdup(ice->pool, &ice->tx_pass, rem_passwd); - - pj_strcpy(&username, &ice->rx_ufrag); - pj_strcat2(&username, ":"); - pj_strcat(&username, rem_ufrag); - - pj_strdup(ice->pool, &ice->rx_uname, &username); - - - /* Save remote candidates */ - ice->rcand_cnt = 0; - for (i=0; ircand[ice->rcand_cnt]; - - /* Ignore candidate which has no matching component ID */ - if (rcand[i].comp_id==0 || rcand[i].comp_id > ice->comp_cnt) { - continue; - } - - if (rcand[i].comp_id > highest_comp) - highest_comp = rcand[i].comp_id; - - pj_memcpy(cn, &rcand[i], sizeof(pj_ice_sess_cand)); - pj_strdup(ice->pool, &cn->foundation, &rcand[i].foundation); - ice->rcand_cnt++; - } - - /* Generate checklist */ - clist = &ice->clist; - for (i=0; ilcand_cnt; ++i) { - for (j=0; jrcand_cnt; ++j) { - - pj_ice_sess_cand *lcand = &ice->lcand[i]; - pj_ice_sess_cand *rcand = &ice->rcand[j]; - pj_ice_sess_check *chk = &clist->checks[clist->count]; - - if (clist->count >= PJ_ICE_MAX_CHECKS) { - pj_mutex_unlock(ice->mutex); - return PJ_ETOOMANY; - } - - /* A local candidate is paired with a remote candidate if - * and only if the two candidates have the same component ID - * and have the same IP address version. - */ - if ((lcand->comp_id != rcand->comp_id) || - (lcand->addr.addr.sa_family != rcand->addr.addr.sa_family)) - { - continue; - } - - - chk->lcand = lcand; - chk->rcand = rcand; - chk->state = PJ_ICE_SESS_CHECK_STATE_FROZEN; - - chk->prio = CALC_CHECK_PRIO(ice, lcand, rcand); - - clist->count++; - } - } - - /* Sort checklist based on priority */ - sort_checklist(ice, clist); - - /* Prune the checklist */ - status = prune_checklist(ice, clist); - if (status != PJ_SUCCESS) { - pj_mutex_unlock(ice->mutex); - return status; - } - - /* Disable our components which don't have matching component */ - for (i=highest_comp; icomp_cnt; ++i) { - if (ice->comp[i].stun_sess) { - pj_stun_session_destroy(ice->comp[i].stun_sess); - pj_bzero(&ice->comp[i], sizeof(ice->comp[i])); - } - } - ice->comp_cnt = highest_comp; - - /* Init timer entry in the checklist. Initially the timer ID is FALSE - * because timer is not running. - */ - clist->timer.id = PJ_FALSE; - td = PJ_POOL_ZALLOC_T(ice->pool, timer_data); - td->ice = ice; - td->clist = clist; - clist->timer.user_data = (void*)td; - clist->timer.cb = &periodic_timer; - - - /* Log checklist */ - dump_checklist("Checklist created:", ice, clist); - - pj_mutex_unlock(ice->mutex); - - return PJ_SUCCESS; -} - -/* Perform check on the specified candidate pair. */ -static pj_status_t perform_check(pj_ice_sess *ice, - pj_ice_sess_checklist *clist, - unsigned check_id, - pj_bool_t nominate) -{ - pj_ice_sess_comp *comp; - pj_ice_msg_data *msg_data; - pj_ice_sess_check *check; - const pj_ice_sess_cand *lcand; - const pj_ice_sess_cand *rcand; - pj_uint32_t prio; - pj_status_t status; - - check = &clist->checks[check_id]; - lcand = check->lcand; - rcand = check->rcand; - comp = find_comp(ice, lcand->comp_id); - - LOG5((ice->obj_name, - "Sending connectivity check for check %s", - dump_check(ice->tmp.txt, sizeof(ice->tmp.txt), clist, check))); - pj_log_push_indent(); - - /* Create request */ - status = pj_stun_session_create_req(comp->stun_sess, - PJ_STUN_BINDING_REQUEST, PJ_STUN_MAGIC, - NULL, &check->tdata); - if (status != PJ_SUCCESS) { - pjnath_perror(ice->obj_name, "Error creating STUN request", status); - pj_log_pop_indent(); - return status; - } - - /* Attach data to be retrieved later when STUN request transaction - * completes and on_stun_request_complete() callback is called. - */ - msg_data = PJ_POOL_ZALLOC_T(check->tdata->pool, pj_ice_msg_data); - msg_data->transport_id = lcand->transport_id; - msg_data->has_req_data = PJ_TRUE; - msg_data->data.req.ice = ice; - msg_data->data.req.clist = clist; - msg_data->data.req.ckid = check_id; - - /* Add PRIORITY */ -#if PJNATH_ICE_PRIO_STD - prio = CALC_CAND_PRIO(ice, PJ_ICE_CAND_TYPE_PRFLX, 65535, - lcand->comp_id); -#else - prio = CALC_CAND_PRIO(ice, PJ_ICE_CAND_TYPE_PRFLX, 0, - lcand->comp_id); -#endif - pj_stun_msg_add_uint_attr(check->tdata->pool, check->tdata->msg, - PJ_STUN_ATTR_PRIORITY, prio); - - /* Add USE-CANDIDATE and set this check to nominated. - * Also add ICE-CONTROLLING or ICE-CONTROLLED - */ - if (ice->role == PJ_ICE_SESS_ROLE_CONTROLLING) { - if (nominate) { - pj_stun_msg_add_empty_attr(check->tdata->pool, check->tdata->msg, - PJ_STUN_ATTR_USE_CANDIDATE); - check->nominated = PJ_TRUE; - } - - pj_stun_msg_add_uint64_attr(check->tdata->pool, check->tdata->msg, - PJ_STUN_ATTR_ICE_CONTROLLING, - &ice->tie_breaker); - - } else { - pj_stun_msg_add_uint64_attr(check->tdata->pool, check->tdata->msg, - PJ_STUN_ATTR_ICE_CONTROLLED, - &ice->tie_breaker); - } - - - /* Note that USERNAME and MESSAGE-INTEGRITY will be added by the - * STUN session. - */ - - /* Initiate STUN transaction to send the request */ - status = pj_stun_session_send_msg(comp->stun_sess, msg_data, PJ_FALSE, - PJ_TRUE, &rcand->addr, - sizeof(pj_sockaddr_in), check->tdata); - if (status != PJ_SUCCESS) { - check->tdata = NULL; - pjnath_perror(ice->obj_name, "Error sending STUN request", status); - pj_log_pop_indent(); - return status; - } - - check_set_state(ice, check, PJ_ICE_SESS_CHECK_STATE_IN_PROGRESS, - PJ_SUCCESS); - pj_log_pop_indent(); - return PJ_SUCCESS; -} - - -/* Start periodic check for the specified checklist. - * This callback is called by timer on every Ta (20msec by default) - */ -static pj_status_t start_periodic_check(pj_timer_heap_t *th, - pj_timer_entry *te) -{ - timer_data *td; - pj_ice_sess *ice; - pj_ice_sess_checklist *clist; - unsigned i, start_count=0; - pj_status_t status; - - td = (struct timer_data*) te->user_data; - ice = td->ice; - clist = td->clist; - - if (ice->is_destroying) - return PJ_SUCCESS; - - pj_mutex_lock(ice->mutex); - - if (ice->is_destroying) { - pj_mutex_unlock(ice->mutex); - return PJ_SUCCESS; - } - - /* Set timer ID to FALSE first */ - te->id = PJ_FALSE; - - /* Set checklist state to Running */ - clist_set_state(ice, clist, PJ_ICE_SESS_CHECKLIST_ST_RUNNING); - - LOG5((ice->obj_name, "Starting checklist periodic check")); - pj_log_push_indent(); - - /* Send STUN Binding request for check with highest priority on - * Waiting state. - */ - for (i=0; icount; ++i) { - pj_ice_sess_check *check = &clist->checks[i]; - - if (check->state == PJ_ICE_SESS_CHECK_STATE_WAITING) { - status = perform_check(ice, clist, i, ice->is_nominating); - if (status != PJ_SUCCESS) { - pj_mutex_unlock(ice->mutex); - pj_log_pop_indent(); - return status; - } - - ++start_count; - break; - } - } - - /* If we don't have anything in Waiting state, perform check to - * highest priority pair that is in Frozen state. - */ - if (start_count==0) { - for (i=0; icount; ++i) { - pj_ice_sess_check *check = &clist->checks[i]; - - if (check->state == PJ_ICE_SESS_CHECK_STATE_FROZEN) { - status = perform_check(ice, clist, i, ice->is_nominating); - if (status != PJ_SUCCESS) { - pj_mutex_unlock(ice->mutex); - pj_log_pop_indent(); - return status; - } - - ++start_count; - break; - } - } - } - - /* Cannot start check because there's no suitable candidate pair. - */ - if (start_count!=0) { - /* Schedule for next timer */ - pj_time_val timeout = {0, PJ_ICE_TA_VAL}; - - te->id = PJ_TRUE; - pj_time_val_normalize(&timeout); - pj_timer_heap_schedule(th, te, &timeout); - } - - pj_mutex_unlock(ice->mutex); - pj_log_pop_indent(); - return PJ_SUCCESS; -} - - -/* Start sending connectivity check with USE-CANDIDATE */ -static void start_nominated_check(pj_ice_sess *ice) -{ - pj_time_val delay; - unsigned i; - pj_status_t status; - - LOG4((ice->obj_name, "Starting nominated check..")); - pj_log_push_indent(); - - pj_assert(ice->is_nominating == PJ_FALSE); - - /* Stop our timer if it's active */ - if (ice->timer.id == TIMER_START_NOMINATED_CHECK) { - pj_timer_heap_cancel(ice->stun_cfg.timer_heap, &ice->timer); - ice->timer.id = TIMER_NONE; - } - - /* For each component, set the check state of valid check with - * highest priority to Waiting (it should have Success state now). - */ - for (i=0; icomp_cnt; ++i) { - unsigned j; - const pj_ice_sess_check *vc = ice->comp[i].valid_check; - - pj_assert(ice->comp[i].nominated_check == NULL); - pj_assert(vc->err_code == PJ_SUCCESS); - - for (j=0; jclist.count; ++j) { - pj_ice_sess_check *c = &ice->clist.checks[j]; - if (c->lcand->transport_id == vc->lcand->transport_id && - c->rcand == vc->rcand) - { - pj_assert(c->err_code == PJ_SUCCESS); - c->state = PJ_ICE_SESS_CHECK_STATE_FROZEN; - check_set_state(ice, c, PJ_ICE_SESS_CHECK_STATE_WAITING, - PJ_SUCCESS); - break; - } - } - } - - /* And (re)start the periodic check */ - if (ice->clist.timer.id) { - pj_timer_heap_cancel(ice->stun_cfg.timer_heap, &ice->clist.timer); - ice->clist.timer.id = PJ_FALSE; - } - - ice->clist.timer.id = PJ_TRUE; - delay.sec = delay.msec = 0; - status = pj_timer_heap_schedule(ice->stun_cfg.timer_heap, - &ice->clist.timer, &delay); - if (status != PJ_SUCCESS) { - ice->clist.timer.id = PJ_FALSE; - } else { - LOG5((ice->obj_name, "Periodic timer rescheduled..")); - } - - ice->is_nominating = PJ_TRUE; - pj_log_pop_indent(); -} - -/* Timer callback to perform periodic check */ -static void periodic_timer(pj_timer_heap_t *th, - pj_timer_entry *te) -{ - start_periodic_check(th, te); -} - - -/* Utility: find string in string array */ -const pj_str_t *find_str(const pj_str_t *strlist[], unsigned count, - const pj_str_t *str) -{ - unsigned i; - for (i=0; iclist.count > 0, PJ_EINVALIDOP); - - /* Lock session */ - pj_mutex_lock(ice->mutex); - - LOG4((ice->obj_name, "Starting ICE check..")); - pj_log_push_indent(); - - /* If we are using aggressive nomination, set the is_nominating state */ - if (ice->opt.aggressive) - ice->is_nominating = PJ_TRUE; - - /* The agent examines the check list for the first media stream (a - * media stream is the first media stream when it is described by - * the first m-line in the SDP offer and answer). For that media - * stream, it: - * - * - Groups together all of the pairs with the same foundation, - * - * - For each group, sets the state of the pair with the lowest - * component ID to Waiting. If there is more than one such pair, - * the one with the highest priority is used. - */ - - clist = &ice->clist; - - /* Pickup the first pair for component 1. */ - for (i=0; icount; ++i) { - if (clist->checks[i].lcand->comp_id == 1) - break; - } - if (i == clist->count) { - pj_assert(!"Unable to find checklist for component 1"); - pj_mutex_unlock(ice->mutex); - pj_log_pop_indent(); - return PJNATH_EICEINCOMPID; - } - - /* Set this check to WAITING only if state is frozen. It may be possible - * that this check has already been started by a trigger check - */ - if (clist->checks[i].state == PJ_ICE_SESS_CHECK_STATE_FROZEN) { - check_set_state(ice, &clist->checks[i], - PJ_ICE_SESS_CHECK_STATE_WAITING, PJ_SUCCESS); - } - - cand0 = clist->checks[i].lcand; - flist[flist_cnt++] = &clist->checks[i].lcand->foundation; - - /* Find all of the other pairs in that check list with the same - * component ID, but different foundations, and sets all of their - * states to Waiting as well. - */ - for (++i; icount; ++i) { - const pj_ice_sess_cand *cand1; - - cand1 = clist->checks[i].lcand; - - if (cand1->comp_id==cand0->comp_id && - find_str(flist, flist_cnt, &cand1->foundation)==NULL) - { - if (clist->checks[i].state == PJ_ICE_SESS_CHECK_STATE_FROZEN) { - check_set_state(ice, &clist->checks[i], - PJ_ICE_SESS_CHECK_STATE_WAITING, PJ_SUCCESS); - } - flist[flist_cnt++] = &cand1->foundation; - } - } - - /* First, perform all pending triggered checks, simultaneously. */ - rcheck = ice->early_check.next; - while (rcheck != &ice->early_check) { - LOG4((ice->obj_name, - "Performing delayed triggerred check for component %d", - rcheck->comp_id)); - pj_log_push_indent(); - handle_incoming_check(ice, rcheck); - rcheck = rcheck->next; - pj_log_pop_indent(); - } - pj_list_init(&ice->early_check); - - /* Start periodic check */ - /* We could start it immediately like below, but lets schedule timer - * instead to reduce stack usage: - * return start_periodic_check(ice->stun_cfg.timer_heap, &clist->timer); - */ - clist->timer.id = PJ_TRUE; - delay.sec = delay.msec = 0; - status = pj_timer_heap_schedule(ice->stun_cfg.timer_heap, - &clist->timer, &delay); - if (status != PJ_SUCCESS) { - clist->timer.id = PJ_FALSE; - } - - pj_mutex_unlock(ice->mutex); - pj_log_pop_indent(); - return status; -} - - -////////////////////////////////////////////////////////////////////////////// - -/* Callback called by STUN session to send the STUN message. - * STUN session also doesn't have a transport, remember?! - */ -static pj_status_t on_stun_send_msg(pj_stun_session *sess, - void *token, - const void *pkt, - pj_size_t pkt_size, - const pj_sockaddr_t *dst_addr, - unsigned addr_len) -{ - stun_data *sd = (stun_data*) pj_stun_session_get_user_data(sess); - pj_ice_sess *ice = sd->ice; - pj_ice_msg_data *msg_data = (pj_ice_msg_data*) token; - - return (*ice->cb.on_tx_pkt)(ice, sd->comp_id, msg_data->transport_id, - pkt, pkt_size, dst_addr, addr_len); -} - - -/* This callback is called when outgoing STUN request completed */ -static void on_stun_request_complete(pj_stun_session *stun_sess, - pj_status_t status, - void *token, - pj_stun_tx_data *tdata, - const pj_stun_msg *response, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - pj_ice_msg_data *msg_data = (pj_ice_msg_data*) token; - pj_ice_sess *ice; - pj_ice_sess_check *check, *new_check; - pj_ice_sess_cand *lcand; - pj_ice_sess_checklist *clist; - pj_stun_xor_mapped_addr_attr *xaddr; - unsigned i; - - PJ_UNUSED_ARG(stun_sess); - PJ_UNUSED_ARG(src_addr_len); - - pj_assert(msg_data->has_req_data); - - ice = msg_data->data.req.ice; - clist = msg_data->data.req.clist; - check = &clist->checks[msg_data->data.req.ckid]; - - - /* Mark STUN transaction as complete */ - pj_assert(tdata == check->tdata); - check->tdata = NULL; - - pj_mutex_lock(ice->mutex); - - /* Init lcand to NULL. lcand will be found from the mapped address - * found in the response. - */ - lcand = NULL; - - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - - if (status==PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_ROLE_CONFLICT)) { - - /* Role conclict response. - * - * 7.1.2.1. Failure Cases: - * - * If the request had contained the ICE-CONTROLLED attribute, - * the agent MUST switch to the controlling role if it has not - * already done so. If the request had contained the - * ICE-CONTROLLING attribute, the agent MUST switch to the - * controlled role if it has not already done so. Once it has - * switched, the agent MUST immediately retry the request with - * the ICE-CONTROLLING or ICE-CONTROLLED attribute reflecting - * its new role. - */ - pj_ice_sess_role new_role = PJ_ICE_SESS_ROLE_UNKNOWN; - pj_stun_msg *req = tdata->msg; - - if (pj_stun_msg_find_attr(req, PJ_STUN_ATTR_ICE_CONTROLLING, 0)) { - new_role = PJ_ICE_SESS_ROLE_CONTROLLED; - } else if (pj_stun_msg_find_attr(req, PJ_STUN_ATTR_ICE_CONTROLLED, - 0)) { - new_role = PJ_ICE_SESS_ROLE_CONTROLLING; - } else { - pj_assert(!"We should have put CONTROLLING/CONTROLLED attr!"); - new_role = PJ_ICE_SESS_ROLE_CONTROLLED; - } - - if (new_role != ice->role) { - LOG4((ice->obj_name, - "Changing role because of role conflict response")); - pj_ice_sess_change_role(ice, new_role); - } - - /* Resend request */ - LOG4((ice->obj_name, "Resending check because of role conflict")); - pj_log_push_indent(); - check_set_state(ice, check, PJ_ICE_SESS_CHECK_STATE_WAITING, 0); - perform_check(ice, clist, msg_data->data.req.ckid, - check->nominated || ice->is_nominating); - pj_log_pop_indent(); - pj_mutex_unlock(ice->mutex); - return; - } - - pj_strerror(status, errmsg, sizeof(errmsg)); - LOG4((ice->obj_name, - "Check %s%s: connectivity check FAILED: %s", - dump_check(ice->tmp.txt, sizeof(ice->tmp.txt), - &ice->clist, check), - (check->nominated ? " (nominated)" : " (not nominated)"), - errmsg)); - pj_log_push_indent(); - check_set_state(ice, check, PJ_ICE_SESS_CHECK_STATE_FAILED, status); - on_check_complete(ice, check); - pj_log_pop_indent(); - pj_mutex_unlock(ice->mutex); - return; - } - - - /* 7.1.2.1. Failure Cases - * - * The agent MUST check that the source IP address and port of the - * response equals the destination IP address and port that the Binding - * Request was sent to, and that the destination IP address and port of - * the response match the source IP address and port that the Binding - * Request was sent from. - */ - if (sockaddr_cmp(&check->rcand->addr, (const pj_sockaddr*)src_addr) != 0) { - status = PJNATH_EICEINSRCADDR; - LOG4((ice->obj_name, - "Check %s%s: connectivity check FAILED: source address mismatch", - dump_check(ice->tmp.txt, sizeof(ice->tmp.txt), - &ice->clist, check), - (check->nominated ? " (nominated)" : " (not nominated)"))); - pj_log_push_indent(); - check_set_state(ice, check, PJ_ICE_SESS_CHECK_STATE_FAILED, status); - on_check_complete(ice, check); - pj_log_pop_indent(); - pj_mutex_unlock(ice->mutex); - return; - } - - /* 7.1.2.2. Success Cases - * - * A check is considered to be a success if all of the following are - * true: - * - * o the STUN transaction generated a success response - * - * o the source IP address and port of the response equals the - * destination IP address and port that the Binding Request was sent - * to - * - * o the destination IP address and port of the response match the - * source IP address and port that the Binding Request was sent from - */ - - - LOG4((ice->obj_name, - "Check %s%s: connectivity check SUCCESS", - dump_check(ice->tmp.txt, sizeof(ice->tmp.txt), - &ice->clist, check), - (check->nominated ? " (nominated)" : " (not nominated)"))); - - /* Get the STUN XOR-MAPPED-ADDRESS attribute. */ - xaddr = (pj_stun_xor_mapped_addr_attr*) - pj_stun_msg_find_attr(response, PJ_STUN_ATTR_XOR_MAPPED_ADDR,0); - if (!xaddr) { - check_set_state(ice, check, PJ_ICE_SESS_CHECK_STATE_FAILED, - PJNATH_ESTUNNOMAPPEDADDR); - on_check_complete(ice, check); - pj_mutex_unlock(ice->mutex); - return; - } - - /* Find local candidate that matches the XOR-MAPPED-ADDRESS */ - pj_assert(lcand == NULL); - for (i=0; ilcand_cnt; ++i) { - if (sockaddr_cmp(&xaddr->sockaddr, &ice->lcand[i].addr) == 0) { - /* Match */ - lcand = &ice->lcand[i]; - break; - } - } - - /* 7.1.2.2.1. Discovering Peer Reflexive Candidates - * If the transport address returned in XOR-MAPPED-ADDRESS does not match - * any of the local candidates that the agent knows about, the mapped - * address represents a new candidate - a peer reflexive candidate. - */ - if (lcand == NULL) { - unsigned cand_id; - pj_str_t foundation; - - pj_ice_calc_foundation(ice->pool, &foundation, PJ_ICE_CAND_TYPE_PRFLX, - &check->lcand->base_addr); - - /* Still in 7.1.2.2.1. Discovering Peer Reflexive Candidates - * Its priority is set equal to the value of the PRIORITY attribute - * in the Binding Request. - * - * I think the priority calculated by add_cand() should be the same - * as the one calculated in perform_check(), so there's no need to - * get the priority from the PRIORITY attribute. - */ - - /* Add new peer reflexive candidate */ - status = pj_ice_sess_add_cand(ice, check->lcand->comp_id, - msg_data->transport_id, - PJ_ICE_CAND_TYPE_PRFLX, - 65535, &foundation, - &xaddr->sockaddr, - &check->lcand->base_addr, - &check->lcand->base_addr, - sizeof(pj_sockaddr_in), &cand_id); - if (status != PJ_SUCCESS) { - check_set_state(ice, check, PJ_ICE_SESS_CHECK_STATE_FAILED, - status); - on_check_complete(ice, check); - pj_mutex_unlock(ice->mutex); - return; - } - - /* Update local candidate */ - lcand = &ice->lcand[cand_id]; - - } - - /* 7.1.2.2.3. Constructing a Valid Pair - * Next, the agent constructs a candidate pair whose local candidate - * equals the mapped address of the response, and whose remote candidate - * equals the destination address to which the request was sent. - */ - - /* Add pair to valid list, if it's not there, otherwise just update - * nominated flag - */ - for (i=0; ivalid_list.count; ++i) { - if (ice->valid_list.checks[i].lcand == lcand && - ice->valid_list.checks[i].rcand == check->rcand) - break; - } - - if (i==ice->valid_list.count) { - pj_assert(ice->valid_list.count < PJ_ICE_MAX_CHECKS); - new_check = &ice->valid_list.checks[ice->valid_list.count++]; - new_check->lcand = lcand; - new_check->rcand = check->rcand; - new_check->prio = CALC_CHECK_PRIO(ice, lcand, check->rcand); - new_check->state = PJ_ICE_SESS_CHECK_STATE_SUCCEEDED; - new_check->nominated = check->nominated; - new_check->err_code = PJ_SUCCESS; - } else { - new_check = &ice->valid_list.checks[i]; - ice->valid_list.checks[i].nominated = check->nominated; - } - - /* Update valid check and nominated check for the component */ - update_comp_check(ice, new_check->lcand->comp_id, new_check); - - /* Sort valid_list (must do so after update_comp_check(), otherwise - * new_check will point to something else (#953) - */ - sort_checklist(ice, &ice->valid_list); - - /* 7.1.2.2.2. Updating Pair States - * - * The agent sets the state of the pair that generated the check to - * Succeeded. The success of this check might also cause the state of - * other checks to change as well. - */ - check_set_state(ice, check, PJ_ICE_SESS_CHECK_STATE_SUCCEEDED, - PJ_SUCCESS); - - /* Perform 7.1.2.2.2. Updating Pair States. - * This may terminate ICE processing. - */ - if (on_check_complete(ice, check)) { - /* ICE complete! */ - pj_mutex_unlock(ice->mutex); - return; - } - - pj_mutex_unlock(ice->mutex); -} - - -/* This callback is called by the STUN session associated with a candidate - * when it receives incoming request. - */ -static pj_status_t on_stun_rx_request(pj_stun_session *sess, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_stun_rx_data *rdata, - void *token, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - stun_data *sd; - const pj_stun_msg *msg = rdata->msg; - pj_ice_msg_data *msg_data; - pj_ice_sess *ice; - pj_stun_priority_attr *prio_attr; - pj_stun_use_candidate_attr *uc_attr; - pj_stun_uint64_attr *role_attr; - pj_stun_tx_data *tdata; - pj_ice_rx_check *rcheck, tmp_rcheck; - pj_status_t status; - - PJ_UNUSED_ARG(pkt); - PJ_UNUSED_ARG(pkt_len); - - /* Reject any requests except Binding request */ - if (msg->hdr.type != PJ_STUN_BINDING_REQUEST) { - pj_stun_session_respond(sess, rdata, PJ_STUN_SC_BAD_REQUEST, - NULL, token, PJ_TRUE, - src_addr, src_addr_len); - return PJ_SUCCESS; - } - - - sd = (stun_data*) pj_stun_session_get_user_data(sess); - ice = sd->ice; - - pj_mutex_lock(ice->mutex); - - /* - * Note: - * Be aware that when STUN request is received, we might not get - * SDP answer yet, so we might not have remote candidates and - * checklist yet. This case will be handled after we send - * a response. - */ - - /* Get PRIORITY attribute */ - prio_attr = (pj_stun_priority_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_PRIORITY, 0); - if (prio_attr == NULL) { - LOG5((ice->obj_name, "Received Binding request with no PRIORITY")); - pj_mutex_unlock(ice->mutex); - return PJ_SUCCESS; - } - - /* Get USE-CANDIDATE attribute */ - uc_attr = (pj_stun_use_candidate_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_USE_CANDIDATE, 0); - - - /* Get ICE-CONTROLLING or ICE-CONTROLLED */ - role_attr = (pj_stun_uint64_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_ICE_CONTROLLING, 0); - if (role_attr == NULL) { - role_attr = (pj_stun_uint64_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_ICE_CONTROLLED, 0); - } - - /* Handle the case when request comes before answer is received. - * We need to put credential in the response, and since we haven't - * got the response, copy the username from the request. - */ - if (ice->rcand_cnt == 0) { - pj_stun_string_attr *uname_attr; - - uname_attr = (pj_stun_string_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_USERNAME, 0); - pj_assert(uname_attr != NULL); - pj_strdup(ice->pool, &ice->rx_uname, &uname_attr->value); - } - - /* 7.2.1.1. Detecting and Repairing Role Conflicts - */ - if (ice->role == PJ_ICE_SESS_ROLE_CONTROLLING && - role_attr && role_attr->hdr.type == PJ_STUN_ATTR_ICE_CONTROLLING) - { - if (pj_cmp_timestamp(&ice->tie_breaker, &role_attr->value) < 0) { - /* Switch role to controlled */ - LOG4((ice->obj_name, - "Changing role because of ICE-CONTROLLING attribute")); - pj_ice_sess_change_role(ice, PJ_ICE_SESS_ROLE_CONTROLLED); - } else { - /* Generate 487 response */ - pj_stun_session_respond(sess, rdata, PJ_STUN_SC_ROLE_CONFLICT, - NULL, token, PJ_TRUE, - src_addr, src_addr_len); - pj_mutex_unlock(ice->mutex); - return PJ_SUCCESS; - } - - } else if (ice->role == PJ_ICE_SESS_ROLE_CONTROLLED && - role_attr && role_attr->hdr.type == PJ_STUN_ATTR_ICE_CONTROLLED) - { - if (pj_cmp_timestamp(&ice->tie_breaker, &role_attr->value) < 0) { - /* Generate 487 response */ - pj_stun_session_respond(sess, rdata, PJ_STUN_SC_ROLE_CONFLICT, - NULL, token, PJ_TRUE, - src_addr, src_addr_len); - pj_mutex_unlock(ice->mutex); - return PJ_SUCCESS; - } else { - /* Switch role to controlled */ - LOG4((ice->obj_name, - "Changing role because of ICE-CONTROLLED attribute")); - pj_ice_sess_change_role(ice, PJ_ICE_SESS_ROLE_CONTROLLING); - } - } - - /* - * First send response to this request - */ - status = pj_stun_session_create_res(sess, rdata, 0, NULL, &tdata); - if (status != PJ_SUCCESS) { - pj_mutex_unlock(ice->mutex); - return status; - } - - /* Add XOR-MAPPED-ADDRESS attribute */ - status = pj_stun_msg_add_sockaddr_attr(tdata->pool, tdata->msg, - PJ_STUN_ATTR_XOR_MAPPED_ADDR, - PJ_TRUE, src_addr, src_addr_len); - - /* Create a msg_data to be associated with this response */ - msg_data = PJ_POOL_ZALLOC_T(tdata->pool, pj_ice_msg_data); - msg_data->transport_id = ((pj_ice_msg_data*)token)->transport_id; - msg_data->has_req_data = PJ_FALSE; - - /* Send the response */ - status = pj_stun_session_send_msg(sess, msg_data, PJ_TRUE, PJ_TRUE, - src_addr, src_addr_len, tdata); - - - /* - * Handling early check. - * - * It's possible that we receive this request before we receive SDP - * answer. In this case, we can't perform trigger check since we - * don't have checklist yet, so just save this check in a pending - * triggered check array to be acted upon later. - */ - if (ice->rcand_cnt == 0) { - rcheck = PJ_POOL_ZALLOC_T(ice->pool, pj_ice_rx_check); - } else { - rcheck = &tmp_rcheck; - } - - /* Init rcheck */ - rcheck->comp_id = sd->comp_id; - rcheck->transport_id = ((pj_ice_msg_data*)token)->transport_id; - rcheck->src_addr_len = src_addr_len; - pj_memcpy(&rcheck->src_addr, src_addr, src_addr_len); - rcheck->use_candidate = (uc_attr != NULL); - rcheck->priority = prio_attr->value; - rcheck->role_attr = role_attr; - - if (ice->rcand_cnt == 0) { - /* We don't have answer yet, so keep this request for later */ - LOG4((ice->obj_name, "Received an early check for comp %d", - rcheck->comp_id)); - pj_list_push_back(&ice->early_check, rcheck); - } else { - /* Handle this check */ - handle_incoming_check(ice, rcheck); - } - - pj_mutex_unlock(ice->mutex); - return PJ_SUCCESS; -} - - -/* Handle incoming Binding request and perform triggered check. - * This function may be called by on_stun_rx_request(), or when - * SDP answer is received and we have received early checks. - */ -static void handle_incoming_check(pj_ice_sess *ice, - const pj_ice_rx_check *rcheck) -{ - pj_ice_sess_comp *comp; - pj_ice_sess_cand *lcand = NULL; - pj_ice_sess_cand *rcand; - unsigned i; - - comp = find_comp(ice, rcheck->comp_id); - - /* Find remote candidate based on the source transport address of - * the request. - */ - for (i=0; ircand_cnt; ++i) { - if (sockaddr_cmp(&rcheck->src_addr, &ice->rcand[i].addr)==0) - break; - } - - /* 7.2.1.3. Learning Peer Reflexive Candidates - * If the source transport address of the request does not match any - * existing remote candidates, it represents a new peer reflexive remote - * candidate. - */ - if (i == ice->rcand_cnt) { - if (ice->rcand_cnt >= PJ_ICE_MAX_CAND) { - LOG4((ice->obj_name, - "Unable to add new peer reflexive candidate: too many " - "candidates already (%d)", PJ_ICE_MAX_CAND)); - return; - } - - rcand = &ice->rcand[ice->rcand_cnt++]; - rcand->comp_id = (pj_uint8_t)rcheck->comp_id; - rcand->type = PJ_ICE_CAND_TYPE_PRFLX; - rcand->prio = rcheck->priority; - pj_memcpy(&rcand->addr, &rcheck->src_addr, rcheck->src_addr_len); - - /* Foundation is random, unique from other foundation */ - rcand->foundation.ptr = (char*) pj_pool_alloc(ice->pool, 36); - rcand->foundation.slen = pj_ansi_snprintf(rcand->foundation.ptr, 36, - "f%p", - rcand->foundation.ptr); - - LOG4((ice->obj_name, - "Added new remote candidate from the request: %s:%d", - pj_inet_ntoa(rcand->addr.ipv4.sin_addr), - (int)pj_ntohs(rcand->addr.ipv4.sin_port))); - - } else { - /* Remote candidate found */ - rcand = &ice->rcand[i]; - } - -#if 0 - /* Find again the local candidate by matching the base address - * with the local candidates in the checklist. Checks may have - * been pruned before, so it's possible that if we use the lcand - * as it is, we wouldn't be able to find the check in the checklist - * and we will end up creating a new check unnecessarily. - */ - for (i=0; iclist.count; ++i) { - pj_ice_sess_check *c = &ice->clist.checks[i]; - if (/*c->lcand == lcand ||*/ - sockaddr_cmp(&c->lcand->base_addr, &lcand->base_addr)==0) - { - lcand = c->lcand; - break; - } - } -#else - /* Just get candidate with the highest priority and same transport ID - * for the specified component ID in the checklist. - */ - for (i=0; iclist.count; ++i) { - pj_ice_sess_check *c = &ice->clist.checks[i]; - if (c->lcand->comp_id == rcheck->comp_id && - c->lcand->transport_id == rcheck->transport_id) - { - lcand = c->lcand; - break; - } - } - if (lcand == NULL) { - /* Should not happen, but just in case remote is sending a - * Binding request for a component which it doesn't have. - */ - LOG4((ice->obj_name, - "Received Binding request but no local candidate is found!")); - return; - } -#endif - - /* - * Create candidate pair for this request. - */ - - /* - * 7.2.1.4. Triggered Checks - * - * Now that we have local and remote candidate, check if we already - * have this pair in our checklist. - */ - for (i=0; iclist.count; ++i) { - pj_ice_sess_check *c = &ice->clist.checks[i]; - if (c->lcand == lcand && c->rcand == rcand) - break; - } - - /* If the pair is already on the check list: - * - If the state of that pair is Waiting or Frozen, its state is - * changed to In-Progress and a check for that pair is performed - * immediately. This is called a triggered check. - * - * - If the state of that pair is In-Progress, the agent SHOULD - * generate an immediate retransmit of the Binding Request for the - * check in progress. This is to facilitate rapid completion of - * ICE when both agents are behind NAT. - * - * - If the state of that pair is Failed or Succeeded, no triggered - * check is sent. - */ - if (i != ice->clist.count) { - pj_ice_sess_check *c = &ice->clist.checks[i]; - - /* If USE-CANDIDATE is present, set nominated flag - * Note: DO NOT overwrite nominated flag if one is already set. - */ - c->nominated = ((rcheck->use_candidate) || c->nominated); - - if (c->state == PJ_ICE_SESS_CHECK_STATE_FROZEN || - c->state == PJ_ICE_SESS_CHECK_STATE_WAITING) - { - /* See if we shall nominate this check */ - pj_bool_t nominate = (c->nominated || ice->is_nominating); - - LOG5((ice->obj_name, "Performing triggered check for check %d",i)); - pj_log_push_indent(); - perform_check(ice, &ice->clist, i, nominate); - pj_log_pop_indent(); - - } else if (c->state == PJ_ICE_SESS_CHECK_STATE_IN_PROGRESS) { - /* Should retransmit immediately - */ - LOG5((ice->obj_name, "Triggered check for check %d not performed " - "because it's in progress. Retransmitting", i)); - pj_log_push_indent(); - pj_stun_session_retransmit_req(comp->stun_sess, c->tdata); - pj_log_pop_indent(); - - } else if (c->state == PJ_ICE_SESS_CHECK_STATE_SUCCEEDED) { - /* Check complete for this component. - * Note this may end ICE process. - */ - pj_bool_t complete; - unsigned j; - - /* If this check is nominated, scan the valid_list for the - * same check and update the nominated flag. A controlled - * agent might have finished the check earlier. - */ - if (rcheck->use_candidate) { - for (j=0; jvalid_list.count; ++j) { - pj_ice_sess_check *vc = &ice->valid_list.checks[j]; - if (vc->lcand->transport_id == c->lcand->transport_id && - vc->rcand == c->rcand) - { - /* Set nominated flag */ - vc->nominated = PJ_TRUE; - - /* Update valid check and nominated check for the component */ - update_comp_check(ice, vc->lcand->comp_id, vc); - - LOG5((ice->obj_name, "Valid check %s is nominated", - dump_check(ice->tmp.txt, sizeof(ice->tmp.txt), - &ice->valid_list, vc))); - } - } - } - - LOG5((ice->obj_name, "Triggered check for check %d not performed " - "because it's completed", i)); - pj_log_push_indent(); - complete = on_check_complete(ice, c); - pj_log_pop_indent(); - if (complete) { - return; - } - } - - } - /* If the pair is not already on the check list: - * - The pair is inserted into the check list based on its priority. - * - Its state is set to In-Progress - * - A triggered check for that pair is performed immediately. - */ - /* Note: only do this if we don't have too many checks in checklist */ - else if (ice->clist.count < PJ_ICE_MAX_CHECKS) { - - pj_ice_sess_check *c = &ice->clist.checks[ice->clist.count]; - pj_bool_t nominate; - - c->lcand = lcand; - c->rcand = rcand; - c->prio = CALC_CHECK_PRIO(ice, lcand, rcand); - c->state = PJ_ICE_SESS_CHECK_STATE_WAITING; - c->nominated = rcheck->use_candidate; - c->err_code = PJ_SUCCESS; - - nominate = (c->nominated || ice->is_nominating); - - LOG4((ice->obj_name, "New triggered check added: %d", - ice->clist.count)); - pj_log_push_indent(); - perform_check(ice, &ice->clist, ice->clist.count++, nominate); - pj_log_pop_indent(); - - } else { - LOG4((ice->obj_name, "Error: unable to perform triggered check: " - "TOO MANY CHECKS IN CHECKLIST!")); - } -} - - -static pj_status_t on_stun_rx_indication(pj_stun_session *sess, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_stun_msg *msg, - void *token, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - struct stun_data *sd; - - PJ_UNUSED_ARG(sess); - PJ_UNUSED_ARG(pkt); - PJ_UNUSED_ARG(pkt_len); - PJ_UNUSED_ARG(msg); - PJ_UNUSED_ARG(token); - PJ_UNUSED_ARG(src_addr); - PJ_UNUSED_ARG(src_addr_len); - - sd = (struct stun_data*) pj_stun_session_get_user_data(sess); - - pj_log_push_indent(); - - if (msg->hdr.type == PJ_STUN_BINDING_INDICATION) { - LOG5((sd->ice->obj_name, "Received Binding Indication keep-alive " - "for component %d", sd->comp_id)); - } else { - LOG4((sd->ice->obj_name, "Received unexpected %s indication " - "for component %d", pj_stun_get_method_name(msg->hdr.type), - sd->comp_id)); - } - - pj_log_pop_indent(); - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pj_ice_sess_send_data(pj_ice_sess *ice, - unsigned comp_id, - const void *data, - pj_size_t data_len) -{ - pj_status_t status = PJ_SUCCESS; - pj_ice_sess_comp *comp; - pj_ice_sess_cand *cand; - pj_uint8_t transport_id; - pj_sockaddr addr; - - PJ_ASSERT_RETURN(ice && comp_id, PJ_EINVAL); - - /* It is possible that comp_cnt is less than comp_id, when remote - * doesn't support all the components that we have. - */ - if (comp_id > ice->comp_cnt) { - return PJNATH_EICEINCOMPID; - } - - pj_mutex_lock(ice->mutex); - - comp = find_comp(ice, comp_id); - if (comp == NULL) { - status = PJNATH_EICEINCOMPID; - pj_mutex_unlock(ice->mutex); - goto on_return; - } - - if (comp->valid_check == NULL) { - status = PJNATH_EICEINPROGRESS; - pj_mutex_unlock(ice->mutex); - goto on_return; - } - - cand = comp->valid_check->lcand; - transport_id = cand->transport_id; - pj_sockaddr_cp(&addr, &comp->valid_check->rcand->addr); - - /* Release the mutex now to avoid deadlock (see ticket #1451). */ - pj_mutex_unlock(ice->mutex); - - status = (*ice->cb.on_tx_pkt)(ice, comp_id, transport_id, - data, data_len, - &addr, - sizeof(pj_sockaddr_in)); - -on_return: - return status; -} - - -PJ_DEF(pj_status_t) pj_ice_sess_on_rx_pkt(pj_ice_sess *ice, - unsigned comp_id, - unsigned transport_id, - void *pkt, - pj_size_t pkt_size, - const pj_sockaddr_t *src_addr, - int src_addr_len) -{ - pj_status_t status = PJ_SUCCESS; - pj_ice_sess_comp *comp; - pj_ice_msg_data *msg_data = NULL; - unsigned i; - - PJ_ASSERT_RETURN(ice, PJ_EINVAL); - - pj_mutex_lock(ice->mutex); - - comp = find_comp(ice, comp_id); - if (comp == NULL) { - pj_mutex_unlock(ice->mutex); - return PJNATH_EICEINCOMPID; - } - - /* Find transport */ - for (i=0; itp_data); ++i) { - if (ice->tp_data[i].transport_id == transport_id) { - msg_data = &ice->tp_data[i]; - break; - } - } - if (msg_data == NULL) { - pj_assert(!"Invalid transport ID"); - pj_mutex_unlock(ice->mutex); - return PJ_EINVAL; - } - - /* Don't check fingerprint. We only need to distinguish STUN and non-STUN - * packets. We don't need to verify the STUN packet too rigorously, that - * will be done by the user. - */ - status = pj_stun_msg_check((const pj_uint8_t*)pkt, pkt_size, - PJ_STUN_IS_DATAGRAM | - PJ_STUN_NO_FINGERPRINT_CHECK); - if (status == PJ_SUCCESS) { - status = pj_stun_session_on_rx_pkt(comp->stun_sess, pkt, pkt_size, - PJ_STUN_IS_DATAGRAM, msg_data, - NULL, src_addr, src_addr_len); - if (status != PJ_SUCCESS) { - pj_strerror(status, ice->tmp.errmsg, sizeof(ice->tmp.errmsg)); - LOG4((ice->obj_name, "Error processing incoming message: %s", - ice->tmp.errmsg)); - } - pj_mutex_unlock(ice->mutex); - } else { - /* Not a STUN packet. Call application's callback instead, but release - * the mutex now or otherwise we may get deadlock. - */ - pj_mutex_unlock(ice->mutex); - - (*ice->cb.on_rx_data)(ice, comp_id, transport_id, pkt, pkt_size, - src_addr, src_addr_len); - status = PJ_SUCCESS; - } - - return status; -} - - diff --git a/res/pjproject/pjnath/src/pjnath/ice_strans.c b/res/pjproject/pjnath/src/pjnath/ice_strans.c deleted file mode 100644 index f5561a91ff..0000000000 --- a/res/pjproject/pjnath/src/pjnath/ice_strans.c +++ /dev/null @@ -1,1757 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#if 0 -# define TRACE_PKT(expr) PJ_LOG(5,expr) -#else -# define TRACE_PKT(expr) -#endif - - -/* Transport IDs */ -enum tp_type -{ - TP_NONE, - TP_STUN, - TP_TURN -}; - -/* Candidate's local preference values. This is mostly used to - * specify preference among candidates with the same type. Since - * we don't have the facility to specify that, we'll just set it - * all to the same value. - */ -#if PJNATH_ICE_PRIO_STD -# define SRFLX_PREF 65535 -# define HOST_PREF 65535 -# define RELAY_PREF 65535 -#else -# define SRFLX_PREF 0 -# define HOST_PREF 0 -# define RELAY_PREF 0 -#endif - - -/* The candidate type preference when STUN candidate is used */ -static pj_uint8_t srflx_pref_table[4] = -{ -#if PJNATH_ICE_PRIO_STD - 100, /**< PJ_ICE_HOST_PREF */ - 110, /**< PJ_ICE_SRFLX_PREF */ - 126, /**< PJ_ICE_PRFLX_PREF */ - 0 /**< PJ_ICE_RELAYED_PREF */ -#else - /* Keep it to 2 bits */ - 1, /**< PJ_ICE_HOST_PREF */ - 2, /**< PJ_ICE_SRFLX_PREF */ - 3, /**< PJ_ICE_PRFLX_PREF */ - 0 /**< PJ_ICE_RELAYED_PREF */ -#endif -}; - - -/* ICE callbacks */ -static void on_ice_complete(pj_ice_sess *ice, pj_status_t status); -static pj_status_t ice_tx_pkt(pj_ice_sess *ice, - unsigned comp_id, - unsigned transport_id, - const void *pkt, pj_size_t size, - const pj_sockaddr_t *dst_addr, - unsigned dst_addr_len); -static void ice_rx_data(pj_ice_sess *ice, - unsigned comp_id, - unsigned transport_id, - void *pkt, pj_size_t size, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); - - -/* STUN socket callbacks */ -/* Notification when incoming packet has been received. */ -static pj_bool_t stun_on_rx_data(pj_stun_sock *stun_sock, - void *pkt, - unsigned pkt_len, - const pj_sockaddr_t *src_addr, - unsigned addr_len); -/* Notifification when asynchronous send operation has completed. */ -static pj_bool_t stun_on_data_sent(pj_stun_sock *stun_sock, - pj_ioqueue_op_key_t *send_key, - pj_ssize_t sent); -/* Notification when the status of the STUN transport has changed. */ -static pj_bool_t stun_on_status(pj_stun_sock *stun_sock, - pj_stun_sock_op op, - pj_status_t status); - - -/* TURN callbacks */ -static void turn_on_rx_data(pj_turn_sock *turn_sock, - void *pkt, - unsigned pkt_len, - const pj_sockaddr_t *peer_addr, - unsigned addr_len); -static void turn_on_state(pj_turn_sock *turn_sock, pj_turn_state_t old_state, - pj_turn_state_t new_state); - - - -/* Forward decls */ -static void destroy_ice_st(pj_ice_strans *ice_st); -#define ice_st_perror(ice_st,msg,rc) pjnath_perror(ice_st->obj_name,msg,rc) -static void sess_init_update(pj_ice_strans *ice_st); - -static void sess_add_ref(pj_ice_strans *ice_st); -static pj_bool_t sess_dec_ref(pj_ice_strans *ice_st); - -/** - * This structure describes an ICE stream transport component. A component - * in ICE stream transport typically corresponds to a single socket created - * for this component, and bound to a specific transport address. This - * component may have multiple alias addresses, for example one alias - * address for each interfaces in multi-homed host, another for server - * reflexive alias, and another for relayed alias. For each transport - * address alias, an ICE stream transport candidate (#pj_ice_sess_cand) will - * be created, and these candidates will eventually registered to the ICE - * session. - */ -typedef struct pj_ice_strans_comp -{ - pj_ice_strans *ice_st; /**< ICE stream transport. */ - unsigned comp_id; /**< Component ID. */ - - pj_stun_sock *stun_sock; /**< STUN transport. */ - pj_turn_sock *turn_sock; /**< TURN relay transport. */ - pj_bool_t turn_log_off; /**< TURN loggin off? */ - unsigned turn_err_cnt; /**< TURN disconnected count. */ - - unsigned cand_cnt; /**< # of candidates/aliaes. */ - pj_ice_sess_cand cand_list[PJ_ICE_ST_MAX_CAND]; /**< Cand array */ - - unsigned default_cand; /**< Default candidate. */ - -} pj_ice_strans_comp; - - -/** - * This structure represents the ICE stream transport. - */ -struct pj_ice_strans -{ - char *obj_name; /**< Log ID. */ - pj_pool_t *pool; /**< Pool used by this object. */ - void *user_data; /**< Application data. */ - pj_ice_strans_cfg cfg; /**< Configuration. */ - pj_ice_strans_cb cb; /**< Application callback. */ - pj_lock_t *init_lock; /**< Initialization mutex. */ - - pj_ice_strans_state state; /**< Session state. */ - pj_ice_sess *ice; /**< ICE session. */ - pj_time_val start_time;/**< Time when ICE was started */ - - unsigned comp_cnt; /**< Number of components. */ - pj_ice_strans_comp **comp; /**< Components array. */ - - pj_timer_entry ka_timer; /**< STUN keep-alive timer. */ - - pj_atomic_t *busy_cnt; /**< To prevent destroy */ - pj_bool_t destroy_req;/**< Destroy has been called? */ - pj_bool_t cb_called; /**< Init error callback called?*/ -}; - - -/* Validate configuration */ -static pj_status_t pj_ice_strans_cfg_check_valid(const pj_ice_strans_cfg *cfg) -{ - pj_status_t status; - - status = pj_stun_config_check_valid(&cfg->stun_cfg); - if (!status) - return status; - - return PJ_SUCCESS; -} - - -/* - * Initialize ICE transport configuration with default values. - */ -PJ_DEF(void) pj_ice_strans_cfg_default(pj_ice_strans_cfg *cfg) -{ - pj_bzero(cfg, sizeof(*cfg)); - - pj_stun_config_init(&cfg->stun_cfg, NULL, 0, NULL, NULL); - pj_stun_sock_cfg_default(&cfg->stun.cfg); - pj_turn_alloc_param_default(&cfg->turn.alloc_param); - pj_turn_sock_cfg_default(&cfg->turn.cfg); - - pj_ice_sess_options_default(&cfg->opt); - - cfg->af = pj_AF_INET(); - cfg->stun.port = PJ_STUN_PORT; - cfg->turn.conn_type = PJ_TURN_TP_UDP; - - cfg->stun.max_host_cands = 64; - cfg->stun.ignore_stun_error = PJ_FALSE; -} - - -/* - * Copy configuration. - */ -PJ_DEF(void) pj_ice_strans_cfg_copy( pj_pool_t *pool, - pj_ice_strans_cfg *dst, - const pj_ice_strans_cfg *src) -{ - pj_memcpy(dst, src, sizeof(*src)); - - if (src->stun.server.slen) - pj_strdup(pool, &dst->stun.server, &src->stun.server); - if (src->turn.server.slen) - pj_strdup(pool, &dst->turn.server, &src->turn.server); - pj_stun_auth_cred_dup(pool, &dst->turn.auth_cred, - &src->turn.auth_cred); -} - - -/* - * Add or update TURN candidate. - */ -static pj_status_t add_update_turn(pj_ice_strans *ice_st, - pj_ice_strans_comp *comp) -{ - pj_turn_sock_cb turn_sock_cb; - pj_ice_sess_cand *cand = NULL; - unsigned i; - pj_status_t status; - - /* Find relayed candidate in the component */ - for (i=0; icand_cnt; ++i) { - if (comp->cand_list[i].type == PJ_ICE_CAND_TYPE_RELAYED) { - cand = &comp->cand_list[i]; - break; - } - } - - /* If candidate is found, invalidate it first */ - if (cand) { - cand->status = PJ_EPENDING; - - /* Also if this component's default candidate is set to relay, - * move it temporarily to something else. - */ - if ((int)comp->default_cand == cand - comp->cand_list) { - /* Init to something */ - comp->default_cand = 0; - /* Use srflx candidate as the default, if any */ - for (i=0; icand_cnt; ++i) { - if (comp->cand_list[i].type == PJ_ICE_CAND_TYPE_SRFLX) { - comp->default_cand = i; - break; - } - } - } - } - - /* Init TURN socket */ - pj_bzero(&turn_sock_cb, sizeof(turn_sock_cb)); - turn_sock_cb.on_rx_data = &turn_on_rx_data; - turn_sock_cb.on_state = &turn_on_state; - - /* Override with component specific QoS settings, if any */ - if (ice_st->cfg.comp[comp->comp_id-1].qos_type) { - ice_st->cfg.turn.cfg.qos_type = - ice_st->cfg.comp[comp->comp_id-1].qos_type; - } - if (ice_st->cfg.comp[comp->comp_id-1].qos_params.flags) { - pj_memcpy(&ice_st->cfg.turn.cfg.qos_params, - &ice_st->cfg.comp[comp->comp_id-1].qos_params, - sizeof(ice_st->cfg.turn.cfg.qos_params)); - } - - /* Create the TURN transport */ - status = pj_turn_sock_create(&ice_st->cfg.stun_cfg, ice_st->cfg.af, - ice_st->cfg.turn.conn_type, - &turn_sock_cb, &ice_st->cfg.turn.cfg, - comp, &comp->turn_sock); - if (status != PJ_SUCCESS) { - return status; - } - - /* Add pending job */ - ///sess_add_ref(ice_st); - - /* Start allocation */ - status=pj_turn_sock_alloc(comp->turn_sock, - &ice_st->cfg.turn.server, - ice_st->cfg.turn.port, - ice_st->cfg.resolver, - &ice_st->cfg.turn.auth_cred, - &ice_st->cfg.turn.alloc_param); - if (status != PJ_SUCCESS) { - ///sess_dec_ref(ice_st); - return status; - } - - /* Add relayed candidate with pending status if there's no existing one */ - if (cand == NULL) { - cand = &comp->cand_list[comp->cand_cnt++]; - cand->type = PJ_ICE_CAND_TYPE_RELAYED; - cand->status = PJ_EPENDING; - cand->local_pref = RELAY_PREF; - cand->transport_id = TP_TURN; - cand->comp_id = (pj_uint8_t) comp->comp_id; - } - - PJ_LOG(4,(ice_st->obj_name, - "Comp %d: TURN relay candidate waiting for allocation", - comp->comp_id)); - - return PJ_SUCCESS; -} - - -/* - * Create the component. - */ -static pj_status_t create_comp(pj_ice_strans *ice_st, unsigned comp_id) -{ - pj_ice_strans_comp *comp = NULL; - pj_status_t status; - - /* Verify arguments */ - PJ_ASSERT_RETURN(ice_st && comp_id, PJ_EINVAL); - - /* Check that component ID present */ - PJ_ASSERT_RETURN(comp_id <= ice_st->comp_cnt, PJNATH_EICEINCOMPID); - - /* Create component */ - comp = PJ_POOL_ZALLOC_T(ice_st->pool, pj_ice_strans_comp); - comp->ice_st = ice_st; - comp->comp_id = comp_id; - - ice_st->comp[comp_id-1] = comp; - - /* Initialize default candidate */ - comp->default_cand = 0; - - /* Create STUN transport if configured */ - if (ice_st->cfg.stun.server.slen || ice_st->cfg.stun.max_host_cands) { - pj_stun_sock_cb stun_sock_cb; - pj_ice_sess_cand *cand; - - pj_bzero(&stun_sock_cb, sizeof(stun_sock_cb)); - stun_sock_cb.on_rx_data = &stun_on_rx_data; - stun_sock_cb.on_status = &stun_on_status; - stun_sock_cb.on_data_sent = &stun_on_data_sent; - - /* Override component specific QoS settings, if any */ - if (ice_st->cfg.comp[comp_id-1].qos_type) { - ice_st->cfg.stun.cfg.qos_type = - ice_st->cfg.comp[comp_id-1].qos_type; - } - if (ice_st->cfg.comp[comp_id-1].qos_params.flags) { - pj_memcpy(&ice_st->cfg.stun.cfg.qos_params, - &ice_st->cfg.comp[comp_id-1].qos_params, - sizeof(ice_st->cfg.stun.cfg.qos_params)); - } - - /* Create the STUN transport */ - status = pj_stun_sock_create(&ice_st->cfg.stun_cfg, NULL, - ice_st->cfg.af, &stun_sock_cb, - &ice_st->cfg.stun.cfg, - comp, &comp->stun_sock); - if (status != PJ_SUCCESS) - return status; - - /* Start STUN Binding resolution and add srflx candidate - * only if server is set - */ - if (ice_st->cfg.stun.server.slen) { - pj_stun_sock_info stun_sock_info; - - /* Add pending job */ - ///sess_add_ref(ice_st); - - PJ_LOG(4,(ice_st->obj_name, - "Comp %d: srflx candidate starts Binding discovery", - comp_id)); - - pj_log_push_indent(); - - /* Start Binding resolution */ - status = pj_stun_sock_start(comp->stun_sock, - &ice_st->cfg.stun.server, - ice_st->cfg.stun.port, - ice_st->cfg.resolver); - if (status != PJ_SUCCESS) { - ///sess_dec_ref(ice_st); - pj_log_pop_indent(); - return status; - } - - /* Enumerate addresses */ - status = pj_stun_sock_get_info(comp->stun_sock, &stun_sock_info); - if (status != PJ_SUCCESS) { - ///sess_dec_ref(ice_st); - pj_log_pop_indent(); - return status; - } - - /* Add srflx candidate with pending status. */ - cand = &comp->cand_list[comp->cand_cnt++]; - cand->type = PJ_ICE_CAND_TYPE_SRFLX; - cand->status = PJ_EPENDING; - cand->local_pref = SRFLX_PREF; - cand->transport_id = TP_STUN; - cand->comp_id = (pj_uint8_t) comp_id; - pj_sockaddr_cp(&cand->base_addr, &stun_sock_info.aliases[0]); - pj_sockaddr_cp(&cand->rel_addr, &cand->base_addr); - pj_ice_calc_foundation(ice_st->pool, &cand->foundation, - cand->type, &cand->base_addr); - - /* Set default candidate to srflx */ - comp->default_cand = cand - comp->cand_list; - - pj_log_pop_indent(); - } - - /* Add local addresses to host candidates, unless max_host_cands - * is set to zero. - */ - if (ice_st->cfg.stun.max_host_cands) { - pj_stun_sock_info stun_sock_info; - unsigned i; - - /* Enumerate addresses */ - status = pj_stun_sock_get_info(comp->stun_sock, &stun_sock_info); - if (status != PJ_SUCCESS) - return status; - - for (i=0; icfg.stun.max_host_cands; ++i) - { - char addrinfo[PJ_INET6_ADDRSTRLEN+10]; - const pj_sockaddr *addr = &stun_sock_info.aliases[i]; - - /* Leave one candidate for relay */ - if (comp->cand_cnt >= PJ_ICE_ST_MAX_CAND-1) { - PJ_LOG(4,(ice_st->obj_name, "Too many host candidates")); - break; - } - - /* Ignore loopback addresses unless cfg->stun.loop_addr - * is set - */ - if ((pj_ntohl(addr->ipv4.sin_addr.s_addr)>>24)==127) { - if (ice_st->cfg.stun.loop_addr==PJ_FALSE) - continue; - } - - cand = &comp->cand_list[comp->cand_cnt++]; - - cand->type = PJ_ICE_CAND_TYPE_HOST; - cand->status = PJ_SUCCESS; - cand->local_pref = HOST_PREF; - cand->transport_id = TP_STUN; - cand->comp_id = (pj_uint8_t) comp_id; - pj_sockaddr_cp(&cand->addr, addr); - pj_sockaddr_cp(&cand->base_addr, addr); - pj_bzero(&cand->rel_addr, sizeof(cand->rel_addr)); - pj_ice_calc_foundation(ice_st->pool, &cand->foundation, - cand->type, &cand->base_addr); - - PJ_LOG(4,(ice_st->obj_name, - "Comp %d: host candidate %s added", - comp_id, pj_sockaddr_print(&cand->addr, addrinfo, - sizeof(addrinfo), 3))); - } - } - } - - /* Create TURN relay if configured. */ - if (ice_st->cfg.turn.server.slen) { - add_update_turn(ice_st, comp); - } - - return PJ_SUCCESS; -} - - -/* - * Create ICE stream transport - */ -PJ_DEF(pj_status_t) pj_ice_strans_create( const char *name, - const pj_ice_strans_cfg *cfg, - unsigned comp_cnt, - void *user_data, - const pj_ice_strans_cb *cb, - pj_ice_strans **p_ice_st) -{ - pj_pool_t *pool; - pj_ice_strans *ice_st; - unsigned i; - pj_status_t status; - - status = pj_ice_strans_cfg_check_valid(cfg); - if (status != PJ_SUCCESS) - return status; - - PJ_ASSERT_RETURN(comp_cnt && cb && p_ice_st && - comp_cnt <= PJ_ICE_MAX_COMP , PJ_EINVAL); - - if (name == NULL) - name = "ice%p"; - - pool = pj_pool_create(cfg->stun_cfg.pf, name, PJNATH_POOL_LEN_ICE_STRANS, - PJNATH_POOL_INC_ICE_STRANS, NULL); - ice_st = PJ_POOL_ZALLOC_T(pool, pj_ice_strans); - ice_st->pool = pool; - ice_st->obj_name = pool->obj_name; - ice_st->user_data = user_data; - - PJ_LOG(4,(ice_st->obj_name, - "Creating ICE stream transport with %d component(s)", - comp_cnt)); - pj_log_push_indent(); - - pj_ice_strans_cfg_copy(pool, &ice_st->cfg, cfg); - pj_memcpy(&ice_st->cb, cb, sizeof(*cb)); - - status = pj_atomic_create(pool, 0, &ice_st->busy_cnt); - if (status != PJ_SUCCESS) { - destroy_ice_st(ice_st); - return status; - } - - status = pj_lock_create_recursive_mutex(pool, ice_st->obj_name, - &ice_st->init_lock); - if (status != PJ_SUCCESS) { - destroy_ice_st(ice_st); - pj_log_pop_indent(); - return status; - } - - ice_st->comp_cnt = comp_cnt; - ice_st->comp = (pj_ice_strans_comp**) - pj_pool_calloc(pool, comp_cnt, sizeof(pj_ice_strans_comp*)); - - /* Move state to candidate gathering */ - ice_st->state = PJ_ICE_STRANS_STATE_INIT; - - /* Acquire initialization mutex to prevent callback to be - * called before we finish initialization. - */ - pj_lock_acquire(ice_st->init_lock); - - for (i=0; iinit_lock); - destroy_ice_st(ice_st); - pj_log_pop_indent(); - return status; - } - } - - /* Done with initialization */ - pj_lock_release(ice_st->init_lock); - - PJ_LOG(4,(ice_st->obj_name, "ICE stream transport created")); - - *p_ice_st = ice_st; - - /* Check if all candidates are ready (this may call callback) */ - sess_init_update(ice_st); - - pj_log_pop_indent(); - - return PJ_SUCCESS; -} - -/* Destroy ICE */ -static void destroy_ice_st(pj_ice_strans *ice_st) -{ - unsigned i; - - PJ_LOG(5,(ice_st->obj_name, "ICE stream transport destroying..")); - pj_log_push_indent(); - - /* Destroy ICE if we have ICE */ - if (ice_st->ice) { - pj_ice_sess_destroy(ice_st->ice); - ice_st->ice = NULL; - } - - /* Destroy all components */ - for (i=0; icomp_cnt; ++i) { - if (ice_st->comp[i]) { - if (ice_st->comp[i]->stun_sock) { - pj_stun_sock_set_user_data(ice_st->comp[i]->stun_sock, NULL); - pj_stun_sock_destroy(ice_st->comp[i]->stun_sock); - ice_st->comp[i]->stun_sock = NULL; - } - if (ice_st->comp[i]->turn_sock) { - pj_turn_sock_set_user_data(ice_st->comp[i]->turn_sock, NULL); - pj_turn_sock_destroy(ice_st->comp[i]->turn_sock); - ice_st->comp[i]->turn_sock = NULL; - } - } - } - ice_st->comp_cnt = 0; - - /* Destroy mutex */ - if (ice_st->init_lock) { - pj_lock_acquire(ice_st->init_lock); - pj_lock_release(ice_st->init_lock); - pj_lock_destroy(ice_st->init_lock); - ice_st->init_lock = NULL; - } - - /* Destroy reference counter */ - if (ice_st->busy_cnt) { - pj_assert(pj_atomic_get(ice_st->busy_cnt)==0); - pj_atomic_destroy(ice_st->busy_cnt); - ice_st->busy_cnt = NULL; - } - - PJ_LOG(4,(ice_st->obj_name, "ICE stream transport destroyed")); - - /* Done */ - pj_pool_release(ice_st->pool); - pj_log_pop_indent(); -} - -/* Get ICE session state. */ -PJ_DEF(pj_ice_strans_state) pj_ice_strans_get_state(pj_ice_strans *ice_st) -{ - return ice_st->state; -} - -/* State string */ -PJ_DEF(const char*) pj_ice_strans_state_name(pj_ice_strans_state state) -{ - const char *names[] = { - "Null", - "Candidate Gathering", - "Candidate Gathering Complete", - "Session Initialized", - "Negotiation In Progress", - "Negotiation Success", - "Negotiation Failed" - }; - - PJ_ASSERT_RETURN(state <= PJ_ICE_STRANS_STATE_FAILED, "???"); - return names[state]; -} - -/* Notification about failure */ -static void sess_fail(pj_ice_strans *ice_st, pj_ice_strans_op op, - const char *title, pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(4,(ice_st->obj_name, "%s: %s", title, errmsg)); - pj_log_push_indent(); - - if (op==PJ_ICE_STRANS_OP_INIT && ice_st->cb_called) { - pj_log_pop_indent(); - return; - } - - ice_st->cb_called = PJ_TRUE; - - if (ice_st->cb.on_ice_complete) - (*ice_st->cb.on_ice_complete)(ice_st, op, status); - - pj_log_pop_indent(); -} - -/* Update initialization status */ -static void sess_init_update(pj_ice_strans *ice_st) -{ - unsigned i; - - /* Ignore if init callback has been called */ - if (ice_st->cb_called) - return; - - /* Notify application when all candidates have been gathered */ - for (i=0; icomp_cnt; ++i) { - unsigned j; - pj_ice_strans_comp *comp = ice_st->comp[i]; - - for (j=0; jcand_cnt; ++j) { - pj_ice_sess_cand *cand = &comp->cand_list[j]; - - if (cand->status == PJ_EPENDING) - return; - } - } - - /* All candidates have been gathered */ - ice_st->cb_called = PJ_TRUE; - ice_st->state = PJ_ICE_STRANS_STATE_READY; - if (ice_st->cb.on_ice_complete) - (*ice_st->cb.on_ice_complete)(ice_st, PJ_ICE_STRANS_OP_INIT, - PJ_SUCCESS); -} - -/* - * Destroy ICE stream transport. - */ -PJ_DEF(pj_status_t) pj_ice_strans_destroy(pj_ice_strans *ice_st) -{ - PJ_ASSERT_RETURN(ice_st, PJ_EINVAL); - - ice_st->destroy_req = PJ_TRUE; - if (pj_atomic_get(ice_st->busy_cnt) > 0) { - PJ_LOG(5,(ice_st->obj_name, - "ICE strans object is busy, will destroy later")); - return PJ_EPENDING; - } - - destroy_ice_st(ice_st); - return PJ_SUCCESS; -} - - -/* - * Increment busy counter. - */ -static void sess_add_ref(pj_ice_strans *ice_st) -{ - pj_atomic_inc(ice_st->busy_cnt); -} - -/* - * Decrement busy counter. If the counter has reached zero and destroy - * has been requested, destroy the object and return FALSE. - */ -static pj_bool_t sess_dec_ref(pj_ice_strans *ice_st) -{ - int count = pj_atomic_dec_and_get(ice_st->busy_cnt); - pj_assert(count >= 0); - if (count==0 && ice_st->destroy_req) { - pj_ice_strans_destroy(ice_st); - return PJ_FALSE; - } else { - return PJ_TRUE; - } -} - -/* - * Get user data - */ -PJ_DEF(void*) pj_ice_strans_get_user_data(pj_ice_strans *ice_st) -{ - PJ_ASSERT_RETURN(ice_st, NULL); - return ice_st->user_data; -} - - -/* - * Get the value of various options of the ICE stream transport. - */ -PJ_DEF(pj_status_t) pj_ice_strans_get_options( pj_ice_strans *ice_st, - pj_ice_sess_options *opt) -{ - PJ_ASSERT_RETURN(ice_st && opt, PJ_EINVAL); - pj_memcpy(opt, &ice_st->cfg.opt, sizeof(*opt)); - return PJ_SUCCESS; -} - -/* - * Specify various options for this ICE stream transport. - */ -PJ_DEF(pj_status_t) pj_ice_strans_set_options(pj_ice_strans *ice_st, - const pj_ice_sess_options *opt) -{ - PJ_ASSERT_RETURN(ice_st && opt, PJ_EINVAL); - pj_memcpy(&ice_st->cfg.opt, opt, sizeof(*opt)); - if (ice_st->ice) - pj_ice_sess_set_options(ice_st->ice, &ice_st->cfg.opt); - return PJ_SUCCESS; -} - -/* - * Create ICE! - */ -PJ_DEF(pj_status_t) pj_ice_strans_init_ice(pj_ice_strans *ice_st, - pj_ice_sess_role role, - const pj_str_t *local_ufrag, - const pj_str_t *local_passwd) -{ - pj_status_t status; - unsigned i; - pj_ice_sess_cb ice_cb; - //const pj_uint8_t srflx_prio[4] = { 100, 126, 110, 0 }; - - /* Check arguments */ - PJ_ASSERT_RETURN(ice_st, PJ_EINVAL); - /* Must not have ICE */ - PJ_ASSERT_RETURN(ice_st->ice == NULL, PJ_EINVALIDOP); - /* Components must have been created */ - PJ_ASSERT_RETURN(ice_st->comp[0] != NULL, PJ_EINVALIDOP); - - /* Init callback */ - pj_bzero(&ice_cb, sizeof(ice_cb)); - ice_cb.on_ice_complete = &on_ice_complete; - ice_cb.on_rx_data = &ice_rx_data; - ice_cb.on_tx_pkt = &ice_tx_pkt; - - /* Create! */ - status = pj_ice_sess_create(&ice_st->cfg.stun_cfg, ice_st->obj_name, role, - ice_st->comp_cnt, &ice_cb, - local_ufrag, local_passwd, &ice_st->ice); - if (status != PJ_SUCCESS) - return status; - - /* Associate user data */ - ice_st->ice->user_data = (void*)ice_st; - - /* Set options */ - pj_ice_sess_set_options(ice_st->ice, &ice_st->cfg.opt); - - /* If default candidate for components are SRFLX one, upload a custom - * type priority to ICE session so that SRFLX candidates will get - * checked first. - */ - if (ice_st->comp[0]->default_cand >= 0 && - ice_st->comp[0]->cand_list[ice_st->comp[0]->default_cand].type - == PJ_ICE_CAND_TYPE_SRFLX) - { - pj_ice_sess_set_prefs(ice_st->ice, srflx_pref_table); - } - - /* Add components/candidates */ - for (i=0; icomp_cnt; ++i) { - unsigned j; - pj_ice_strans_comp *comp = ice_st->comp[i]; - - /* Re-enable logging for Send/Data indications */ - if (comp->turn_sock) { - PJ_LOG(5,(ice_st->obj_name, - "Disabling STUN Indication logging for " - "component %d", i+1)); - pj_turn_sock_set_log(comp->turn_sock, 0xFFFF); - comp->turn_log_off = PJ_FALSE; - } - - for (j=0; jcand_cnt; ++j) { - pj_ice_sess_cand *cand = &comp->cand_list[j]; - unsigned ice_cand_id; - - /* Skip if candidate is not ready */ - if (cand->status != PJ_SUCCESS) { - PJ_LOG(5,(ice_st->obj_name, - "Candidate %d of comp %d is not added (pending)", - j, i)); - continue; - } - - /* Must have address */ - pj_assert(pj_sockaddr_has_addr(&cand->addr)); - - /* Add the candidate */ - status = pj_ice_sess_add_cand(ice_st->ice, comp->comp_id, - cand->transport_id, cand->type, - cand->local_pref, - &cand->foundation, &cand->addr, - &cand->base_addr, &cand->rel_addr, - pj_sockaddr_get_len(&cand->addr), - (unsigned*)&ice_cand_id); - if (status != PJ_SUCCESS) - goto on_error; - } - } - - /* ICE session is ready for negotiation */ - ice_st->state = PJ_ICE_STRANS_STATE_SESS_READY; - - return PJ_SUCCESS; - -on_error: - pj_ice_strans_stop_ice(ice_st); - return status; -} - -/* - * Check if the ICE stream transport has the ICE session created. - */ -PJ_DEF(pj_bool_t) pj_ice_strans_has_sess(pj_ice_strans *ice_st) -{ - PJ_ASSERT_RETURN(ice_st, PJ_FALSE); - return ice_st->ice != NULL; -} - -/* - * Check if ICE negotiation is still running. - */ -PJ_DEF(pj_bool_t) pj_ice_strans_sess_is_running(pj_ice_strans *ice_st) -{ - return ice_st && ice_st->ice && ice_st->ice->rcand_cnt && - !pj_ice_strans_sess_is_complete(ice_st); -} - - -/* - * Check if ICE negotiation has completed. - */ -PJ_DEF(pj_bool_t) pj_ice_strans_sess_is_complete(pj_ice_strans *ice_st) -{ - return ice_st && ice_st->ice && ice_st->ice->is_complete; -} - - -/* - * Get the current/running component count. - */ -PJ_DEF(unsigned) pj_ice_strans_get_running_comp_cnt(pj_ice_strans *ice_st) -{ - PJ_ASSERT_RETURN(ice_st, PJ_EINVAL); - - if (ice_st->ice && ice_st->ice->rcand_cnt) { - return ice_st->ice->comp_cnt; - } else { - return ice_st->comp_cnt; - } -} - - -/* - * Get the ICE username fragment and password of the ICE session. - */ -PJ_DEF(pj_status_t) pj_ice_strans_get_ufrag_pwd( pj_ice_strans *ice_st, - pj_str_t *loc_ufrag, - pj_str_t *loc_pwd, - pj_str_t *rem_ufrag, - pj_str_t *rem_pwd) -{ - PJ_ASSERT_RETURN(ice_st && ice_st->ice, PJ_EINVALIDOP); - - if (loc_ufrag) *loc_ufrag = ice_st->ice->rx_ufrag; - if (loc_pwd) *loc_pwd = ice_st->ice->rx_pass; - - if (rem_ufrag || rem_pwd) { - PJ_ASSERT_RETURN(ice_st->ice->rcand_cnt != 0, PJ_EINVALIDOP); - if (rem_ufrag) *rem_ufrag = ice_st->ice->tx_ufrag; - if (rem_pwd) *rem_pwd = ice_st->ice->tx_pass; - } - - return PJ_SUCCESS; -} - -/* - * Get number of candidates - */ -PJ_DEF(unsigned) pj_ice_strans_get_cands_count(pj_ice_strans *ice_st, - unsigned comp_id) -{ - unsigned i, cnt; - - PJ_ASSERT_RETURN(ice_st && ice_st->ice && comp_id && - comp_id <= ice_st->comp_cnt, 0); - - cnt = 0; - for (i=0; iice->lcand_cnt; ++i) { - if (ice_st->ice->lcand[i].comp_id != comp_id) - continue; - ++cnt; - } - - return cnt; -} - -/* - * Enum candidates - */ -PJ_DEF(pj_status_t) pj_ice_strans_enum_cands(pj_ice_strans *ice_st, - unsigned comp_id, - unsigned *count, - pj_ice_sess_cand cand[]) -{ - unsigned i, cnt; - - PJ_ASSERT_RETURN(ice_st && ice_st->ice && comp_id && - comp_id <= ice_st->comp_cnt && count && cand, PJ_EINVAL); - - cnt = 0; - for (i=0; iice->lcand_cnt && cnt<*count; ++i) { - if (ice_st->ice->lcand[i].comp_id != comp_id) - continue; - pj_memcpy(&cand[cnt], &ice_st->ice->lcand[i], - sizeof(pj_ice_sess_cand)); - ++cnt; - } - - *count = cnt; - return PJ_SUCCESS; -} - -/* - * Get default candidate. - */ -PJ_DEF(pj_status_t) pj_ice_strans_get_def_cand( pj_ice_strans *ice_st, - unsigned comp_id, - pj_ice_sess_cand *cand) -{ - const pj_ice_sess_check *valid_pair; - - PJ_ASSERT_RETURN(ice_st && comp_id && comp_id <= ice_st->comp_cnt && - cand, PJ_EINVAL); - - valid_pair = pj_ice_strans_get_valid_pair(ice_st, comp_id); - if (valid_pair) { - pj_memcpy(cand, valid_pair->lcand, sizeof(pj_ice_sess_cand)); - } else { - pj_ice_strans_comp *comp = ice_st->comp[comp_id - 1]; - pj_assert(comp->default_cand>=0 && comp->default_candcand_cnt); - pj_memcpy(cand, &comp->cand_list[comp->default_cand], - sizeof(pj_ice_sess_cand)); - } - return PJ_SUCCESS; -} - -/* - * Get the current ICE role. - */ -PJ_DEF(pj_ice_sess_role) pj_ice_strans_get_role(pj_ice_strans *ice_st) -{ - PJ_ASSERT_RETURN(ice_st && ice_st->ice, PJ_ICE_SESS_ROLE_UNKNOWN); - return ice_st->ice->role; -} - -/* - * Change session role. - */ -PJ_DEF(pj_status_t) pj_ice_strans_change_role( pj_ice_strans *ice_st, - pj_ice_sess_role new_role) -{ - PJ_ASSERT_RETURN(ice_st && ice_st->ice, PJ_EINVALIDOP); - return pj_ice_sess_change_role(ice_st->ice, new_role); -} - -/* - * Start ICE processing ! - */ -PJ_DEF(pj_status_t) pj_ice_strans_start_ice( pj_ice_strans *ice_st, - const pj_str_t *rem_ufrag, - const pj_str_t *rem_passwd, - unsigned rem_cand_cnt, - const pj_ice_sess_cand rem_cand[]) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(ice_st && rem_ufrag && rem_passwd && - rem_cand_cnt && rem_cand, PJ_EINVAL); - - /* Mark start time */ - pj_gettimeofday(&ice_st->start_time); - - /* Build check list */ - status = pj_ice_sess_create_check_list(ice_st->ice, rem_ufrag, rem_passwd, - rem_cand_cnt, rem_cand); - if (status != PJ_SUCCESS) - return status; - - /* If we have TURN candidate, now is the time to create the permissions */ - if (ice_st->comp[0]->turn_sock) { - unsigned i; - - for (i=0; icomp_cnt; ++i) { - pj_ice_strans_comp *comp = ice_st->comp[i]; - pj_sockaddr addrs[PJ_ICE_ST_MAX_CAND]; - unsigned j, count=0; - - /* Gather remote addresses for this component */ - for (j=0; jturn_sock, count, - addrs, 0); - if (status != PJ_SUCCESS) { - pj_ice_strans_stop_ice(ice_st); - return status; - } - } - } - } - - /* Start ICE negotiation! */ - status = pj_ice_sess_start_check(ice_st->ice); - if (status != PJ_SUCCESS) { - pj_ice_strans_stop_ice(ice_st); - return status; - } - - ice_st->state = PJ_ICE_STRANS_STATE_NEGO; - return status; -} - -/* - * Get valid pair. - */ -PJ_DEF(const pj_ice_sess_check*) -pj_ice_strans_get_valid_pair(const pj_ice_strans *ice_st, - unsigned comp_id) -{ - PJ_ASSERT_RETURN(ice_st && comp_id && comp_id <= ice_st->comp_cnt, - NULL); - - if (ice_st->ice == NULL) - return NULL; - - return ice_st->ice->comp[comp_id-1].valid_check; -} - -/* - * Stop ICE! - */ -PJ_DEF(pj_status_t) pj_ice_strans_stop_ice(pj_ice_strans *ice_st) -{ - if (ice_st->ice) { - pj_ice_sess_destroy(ice_st->ice); - ice_st->ice = NULL; - } - - ice_st->state = PJ_ICE_STRANS_STATE_INIT; - return PJ_SUCCESS; -} - -/* - * Application wants to send outgoing packet. - */ -PJ_DEF(pj_status_t) pj_ice_strans_sendto( pj_ice_strans *ice_st, - unsigned comp_id, - const void *data, - pj_size_t data_len, - const pj_sockaddr_t *dst_addr, - int dst_addr_len) -{ - pj_ssize_t pkt_size; - pj_ice_strans_comp *comp; - unsigned def_cand; - pj_status_t status; - - PJ_ASSERT_RETURN(ice_st && comp_id && comp_id <= ice_st->comp_cnt && - dst_addr && dst_addr_len, PJ_EINVAL); - - comp = ice_st->comp[comp_id-1]; - - /* Check that default candidate for the component exists */ - def_cand = comp->default_cand; - if (def_cand >= comp->cand_cnt) - return PJ_EINVALIDOP; - - /* If ICE is available, send data with ICE, otherwise send with the - * default candidate selected during initialization. - * - * https://trac.pjsip.org/repos/ticket/1416: - * Once ICE has failed, also send data with the default candidate. - */ - if (ice_st->ice && ice_st->state < PJ_ICE_STRANS_STATE_FAILED) { - if (comp->turn_sock) { - pj_turn_sock_lock(comp->turn_sock); - } - status = pj_ice_sess_send_data(ice_st->ice, comp_id, data, data_len); - if (comp->turn_sock) { - pj_turn_sock_unlock(comp->turn_sock); - } - return status; - - } else if (comp->cand_list[def_cand].status == PJ_SUCCESS) { - - if (comp->cand_list[def_cand].type == PJ_ICE_CAND_TYPE_RELAYED) { - - enum { - msg_disable_ind = 0xFFFF & - ~(PJ_STUN_SESS_LOG_TX_IND| - PJ_STUN_SESS_LOG_RX_IND) - }; - - /* https://trac.pjsip.org/repos/ticket/1316 */ - if (comp->turn_sock == NULL) { - /* TURN socket error */ - return PJ_EINVALIDOP; - } - - if (!comp->turn_log_off) { - /* Disable logging for Send/Data indications */ - PJ_LOG(5,(ice_st->obj_name, - "Disabling STUN Indication logging for " - "component %d", comp->comp_id)); - pj_turn_sock_set_log(comp->turn_sock, msg_disable_ind); - comp->turn_log_off = PJ_TRUE; - } - - status = pj_turn_sock_sendto(comp->turn_sock, (const pj_uint8_t*)data, data_len, - dst_addr, dst_addr_len); - return (status==PJ_SUCCESS||status==PJ_EPENDING) ? - PJ_SUCCESS : status; - } else { - pkt_size = data_len; - status = pj_stun_sock_sendto(comp->stun_sock, NULL, data, - data_len, 0, dst_addr, dst_addr_len); - return (status==PJ_SUCCESS||status==PJ_EPENDING) ? - PJ_SUCCESS : status; - } - - } else - return PJ_EINVALIDOP; -} - -/* - * Callback called by ICE session when ICE processing is complete, either - * successfully or with failure. - */ -static void on_ice_complete(pj_ice_sess *ice, pj_status_t status) -{ - pj_ice_strans *ice_st = (pj_ice_strans*)ice->user_data; - pj_time_val t; - unsigned msec; - - sess_add_ref(ice_st); - - pj_gettimeofday(&t); - PJ_TIME_VAL_SUB(t, ice_st->start_time); - msec = PJ_TIME_VAL_MSEC(t); - - if (ice_st->cb.on_ice_complete) { - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(4,(ice_st->obj_name, - "ICE negotiation failed after %ds:%03d: %s", - msec/1000, msec%1000, errmsg)); - } else { - unsigned i; - enum { - msg_disable_ind = 0xFFFF & - ~(PJ_STUN_SESS_LOG_TX_IND| - PJ_STUN_SESS_LOG_RX_IND) - }; - - PJ_LOG(4,(ice_st->obj_name, - "ICE negotiation success after %ds:%03d", - msec/1000, msec%1000)); - - for (i=0; icomp_cnt; ++i) { - const pj_ice_sess_check *check; - - check = pj_ice_strans_get_valid_pair(ice_st, i+1); - if (check) { - char lip[PJ_INET6_ADDRSTRLEN+10]; - char rip[PJ_INET6_ADDRSTRLEN+10]; - - pj_sockaddr_print(&check->lcand->addr, lip, - sizeof(lip), 3); - pj_sockaddr_print(&check->rcand->addr, rip, - sizeof(rip), 3); - - if (check->lcand->transport_id == TP_TURN) { - /* Activate channel binding for the remote address - * for more efficient data transfer using TURN. - */ - status = pj_turn_sock_bind_channel( - ice_st->comp[i]->turn_sock, - &check->rcand->addr, - sizeof(check->rcand->addr)); - - /* Disable logging for Send/Data indications */ - PJ_LOG(5,(ice_st->obj_name, - "Disabling STUN Indication logging for " - "component %d", i+1)); - pj_turn_sock_set_log(ice_st->comp[i]->turn_sock, - msg_disable_ind); - ice_st->comp[i]->turn_log_off = PJ_TRUE; - } - - PJ_LOG(4,(ice_st->obj_name, " Comp %d: " - "sending from %s candidate %s to " - "%s candidate %s", - i+1, - pj_ice_get_cand_type_name(check->lcand->type), - lip, - pj_ice_get_cand_type_name(check->rcand->type), - rip)); - - } else { - PJ_LOG(4,(ice_st->obj_name, - "Comp %d: disabled", i+1)); - } - } - } - - ice_st->state = (status==PJ_SUCCESS) ? PJ_ICE_STRANS_STATE_RUNNING : - PJ_ICE_STRANS_STATE_FAILED; - - pj_log_push_indent(); - (*ice_st->cb.on_ice_complete)(ice_st, PJ_ICE_STRANS_OP_NEGOTIATION, - status); - pj_log_pop_indent(); - - } - - sess_dec_ref(ice_st); -} - -/* - * Callback called by ICE session when it wants to send outgoing packet. - */ -static pj_status_t ice_tx_pkt(pj_ice_sess *ice, - unsigned comp_id, - unsigned transport_id, - const void *pkt, pj_size_t size, - const pj_sockaddr_t *dst_addr, - unsigned dst_addr_len) -{ - pj_ice_strans *ice_st = (pj_ice_strans*)ice->user_data; - pj_ice_strans_comp *comp; - pj_status_t status; - - PJ_ASSERT_RETURN(comp_id && comp_id <= ice_st->comp_cnt, PJ_EINVAL); - - comp = ice_st->comp[comp_id-1]; - - TRACE_PKT((comp->ice_st->obj_name, - "Component %d TX packet to %s:%d with transport %d", - comp_id, - pj_inet_ntoa(((pj_sockaddr_in*)dst_addr)->sin_addr), - (int)pj_ntohs(((pj_sockaddr_in*)dst_addr)->sin_port), - transport_id)); - - if (transport_id == TP_TURN) { - if (comp->turn_sock) { - status = pj_turn_sock_sendto(comp->turn_sock, - (const pj_uint8_t*)pkt, size, - dst_addr, dst_addr_len); - } else { - status = PJ_EINVALIDOP; - } - } else if (transport_id == TP_STUN) { - status = pj_stun_sock_sendto(comp->stun_sock, NULL, - pkt, size, 0, - dst_addr, dst_addr_len); - } else { - pj_assert(!"Invalid transport ID"); - status = PJ_EINVALIDOP; - } - - return (status==PJ_SUCCESS||status==PJ_EPENDING) ? PJ_SUCCESS : status; -} - -/* - * Callback called by ICE session when it receives application data. - */ -static void ice_rx_data(pj_ice_sess *ice, - unsigned comp_id, - unsigned transport_id, - void *pkt, pj_size_t size, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - pj_ice_strans *ice_st = (pj_ice_strans*)ice->user_data; - - PJ_UNUSED_ARG(transport_id); - - if (ice_st->cb.on_rx_data) { - (*ice_st->cb.on_rx_data)(ice_st, comp_id, pkt, size, - src_addr, src_addr_len); - } -} - -/* Notification when incoming packet has been received from - * the STUN socket. - */ -static pj_bool_t stun_on_rx_data(pj_stun_sock *stun_sock, - void *pkt, - unsigned pkt_len, - const pj_sockaddr_t *src_addr, - unsigned addr_len) -{ - pj_ice_strans_comp *comp; - pj_ice_strans *ice_st; - pj_status_t status; - - comp = (pj_ice_strans_comp*) pj_stun_sock_get_user_data(stun_sock); - if (comp == NULL) { - /* We have disassociated ourselves from the STUN socket */ - return PJ_FALSE; - } - - ice_st = comp->ice_st; - - sess_add_ref(ice_st); - - if (ice_st->ice == NULL) { - /* The ICE session is gone, but we're still receiving packets. - * This could also happen if remote doesn't do ICE. So just - * report this to application. - */ - if (ice_st->cb.on_rx_data) { - (*ice_st->cb.on_rx_data)(ice_st, comp->comp_id, pkt, pkt_len, - src_addr, addr_len); - } - - } else { - - /* Hand over the packet to ICE session */ - status = pj_ice_sess_on_rx_pkt(comp->ice_st->ice, comp->comp_id, - TP_STUN, pkt, pkt_len, - src_addr, addr_len); - - if (status != PJ_SUCCESS) { - ice_st_perror(comp->ice_st, "Error processing packet", - status); - } - } - - return sess_dec_ref(ice_st); -} - -/* Notifification when asynchronous send operation to the STUN socket - * has completed. - */ -static pj_bool_t stun_on_data_sent(pj_stun_sock *stun_sock, - pj_ioqueue_op_key_t *send_key, - pj_ssize_t sent) -{ - PJ_UNUSED_ARG(stun_sock); - PJ_UNUSED_ARG(send_key); - PJ_UNUSED_ARG(sent); - return PJ_TRUE; -} - -/* Notification when the status of the STUN transport has changed. */ -static pj_bool_t stun_on_status(pj_stun_sock *stun_sock, - pj_stun_sock_op op, - pj_status_t status) -{ - pj_ice_strans_comp *comp; - pj_ice_strans *ice_st; - pj_ice_sess_cand *cand = NULL; - unsigned i; - - pj_assert(status != PJ_EPENDING); - - comp = (pj_ice_strans_comp*) pj_stun_sock_get_user_data(stun_sock); - ice_st = comp->ice_st; - - sess_add_ref(ice_st); - - /* Wait until initialization completes */ - pj_lock_acquire(ice_st->init_lock); - - /* Find the srflx cancidate */ - for (i=0; icand_cnt; ++i) { - if (comp->cand_list[i].type == PJ_ICE_CAND_TYPE_SRFLX) { - cand = &comp->cand_list[i]; - break; - } - } - - pj_lock_release(ice_st->init_lock); - - /* It is possible that we don't have srflx candidate even though this - * callback is called. This could happen when we cancel adding srflx - * candidate due to initialization error. - */ - if (cand == NULL) { - return sess_dec_ref(ice_st); - } - - switch (op) { - case PJ_STUN_SOCK_DNS_OP: - if (status != PJ_SUCCESS) { - /* May not have cand, e.g. when error during init */ - if (cand) - cand->status = status; - if (!ice_st->cfg.stun.ignore_stun_error) { - sess_fail(ice_st, PJ_ICE_STRANS_OP_INIT, - "DNS resolution failed", status); - } else { - PJ_LOG(4,(ice_st->obj_name, - "STUN error is ignored for comp %d", - comp->comp_id)); - } - } - break; - case PJ_STUN_SOCK_BINDING_OP: - case PJ_STUN_SOCK_MAPPED_ADDR_CHANGE: - if (status == PJ_SUCCESS) { - pj_stun_sock_info info; - - status = pj_stun_sock_get_info(stun_sock, &info); - if (status == PJ_SUCCESS) { - char ipaddr[PJ_INET6_ADDRSTRLEN+10]; - const char *op_name = (op==PJ_STUN_SOCK_BINDING_OP) ? - "Binding discovery complete" : - "srflx address changed"; - pj_bool_t dup = PJ_FALSE; - - /* Eliminate the srflx candidate if the address is - * equal to other (host) candidates. - */ - for (i=0; icand_cnt; ++i) { - if (comp->cand_list[i].type == PJ_ICE_CAND_TYPE_HOST && - pj_sockaddr_cmp(&comp->cand_list[i].addr, - &info.mapped_addr) == 0) - { - dup = PJ_TRUE; - break; - } - } - - if (dup) { - /* Duplicate found, remove the srflx candidate */ - unsigned idx = cand - comp->cand_list; - - /* Update default candidate index */ - if (comp->default_cand > idx) { - --comp->default_cand; - } else if (comp->default_cand == idx) { - comp->default_cand = !idx; - } - - /* Remove srflx candidate */ - pj_array_erase(comp->cand_list, sizeof(comp->cand_list[0]), - comp->cand_cnt, idx); - --comp->cand_cnt; - } else { - /* Otherwise update the address */ - pj_sockaddr_cp(&cand->addr, &info.mapped_addr); - cand->status = PJ_SUCCESS; - } - - PJ_LOG(4,(comp->ice_st->obj_name, - "Comp %d: %s, " - "srflx address is %s", - comp->comp_id, op_name, - pj_sockaddr_print(&info.mapped_addr, ipaddr, - sizeof(ipaddr), 3))); - - sess_init_update(ice_st); - } - } - - if (status != PJ_SUCCESS) { - /* May not have cand, e.g. when error during init */ - if (cand) - cand->status = status; - if (!ice_st->cfg.stun.ignore_stun_error) { - sess_fail(ice_st, PJ_ICE_STRANS_OP_INIT, - "STUN binding request failed", status); - } else { - PJ_LOG(4,(ice_st->obj_name, - "STUN error is ignored for comp %d", - comp->comp_id)); - - if (cand) { - unsigned idx = cand - comp->cand_list; - - /* Update default candidate index */ - if (comp->default_cand == idx) { - comp->default_cand = !idx; - } - } - - sess_init_update(ice_st); - } - } - break; - case PJ_STUN_SOCK_KEEP_ALIVE_OP: - if (status != PJ_SUCCESS) { - pj_assert(cand != NULL); - cand->status = status; - if (!ice_st->cfg.stun.ignore_stun_error) { - sess_fail(ice_st, PJ_ICE_STRANS_OP_INIT, - "STUN keep-alive failed", status); - } else { - PJ_LOG(4,(ice_st->obj_name, "STUN error is ignored")); - } - } - break; - } - - return sess_dec_ref(ice_st); -} - -/* Callback when TURN socket has received a packet */ -static void turn_on_rx_data(pj_turn_sock *turn_sock, - void *pkt, - unsigned pkt_len, - const pj_sockaddr_t *peer_addr, - unsigned addr_len) -{ - pj_ice_strans_comp *comp; - pj_status_t status; - - comp = (pj_ice_strans_comp*) pj_turn_sock_get_user_data(turn_sock); - if (comp == NULL) { - /* We have disassociated ourselves from the TURN socket */ - return; - } - - sess_add_ref(comp->ice_st); - - if (comp->ice_st->ice == NULL) { - /* The ICE session is gone, but we're still receiving packets. - * This could also happen if remote doesn't do ICE and application - * specifies TURN as the default address in SDP. - * So in this case just give the packet to application. - */ - if (comp->ice_st->cb.on_rx_data) { - (*comp->ice_st->cb.on_rx_data)(comp->ice_st, comp->comp_id, pkt, - pkt_len, peer_addr, addr_len); - } - - } else { - - /* Hand over the packet to ICE */ - status = pj_ice_sess_on_rx_pkt(comp->ice_st->ice, comp->comp_id, - TP_TURN, pkt, pkt_len, - peer_addr, addr_len); - - if (status != PJ_SUCCESS) { - ice_st_perror(comp->ice_st, - "Error processing packet from TURN relay", - status); - } - } - - sess_dec_ref(comp->ice_st); -} - - -/* Callback when TURN client state has changed */ -static void turn_on_state(pj_turn_sock *turn_sock, pj_turn_state_t old_state, - pj_turn_state_t new_state) -{ - pj_ice_strans_comp *comp; - - comp = (pj_ice_strans_comp*) pj_turn_sock_get_user_data(turn_sock); - if (comp == NULL) { - /* Not interested in further state notification once the relay is - * disconnecting. - */ - return; - } - - PJ_LOG(5,(comp->ice_st->obj_name, "TURN client state changed %s --> %s", - pj_turn_state_name(old_state), pj_turn_state_name(new_state))); - pj_log_push_indent(); - - sess_add_ref(comp->ice_st); - - if (new_state == PJ_TURN_STATE_READY) { - pj_turn_session_info rel_info; - char ipaddr[PJ_INET6_ADDRSTRLEN+8]; - pj_ice_sess_cand *cand = NULL; - unsigned i; - - comp->turn_err_cnt = 0; - - /* Get allocation info */ - pj_turn_sock_get_info(turn_sock, &rel_info); - - /* Wait until initialization completes */ - pj_lock_acquire(comp->ice_st->init_lock); - - /* Find relayed candidate in the component */ - for (i=0; icand_cnt; ++i) { - if (comp->cand_list[i].type == PJ_ICE_CAND_TYPE_RELAYED) { - cand = &comp->cand_list[i]; - break; - } - } - pj_assert(cand != NULL); - - pj_lock_release(comp->ice_st->init_lock); - - /* Update candidate */ - pj_sockaddr_cp(&cand->addr, &rel_info.relay_addr); - pj_sockaddr_cp(&cand->base_addr, &rel_info.relay_addr); - pj_sockaddr_cp(&cand->rel_addr, &rel_info.mapped_addr); - pj_ice_calc_foundation(comp->ice_st->pool, &cand->foundation, - PJ_ICE_CAND_TYPE_RELAYED, - &rel_info.relay_addr); - cand->status = PJ_SUCCESS; - - /* Set default candidate to relay */ - comp->default_cand = cand - comp->cand_list; - - PJ_LOG(4,(comp->ice_st->obj_name, - "Comp %d: TURN allocation complete, relay address is %s", - comp->comp_id, - pj_sockaddr_print(&rel_info.relay_addr, ipaddr, - sizeof(ipaddr), 3))); - - sess_init_update(comp->ice_st); - - } else if (new_state >= PJ_TURN_STATE_DEALLOCATING) { - pj_turn_session_info info; - - ++comp->turn_err_cnt; - - pj_turn_sock_get_info(turn_sock, &info); - - /* Unregister ourself from the TURN relay */ - pj_turn_sock_set_user_data(turn_sock, NULL); - comp->turn_sock = NULL; - - /* Set session to fail if we're still initializing */ - if (comp->ice_st->state < PJ_ICE_STRANS_STATE_READY) { - sess_fail(comp->ice_st, PJ_ICE_STRANS_OP_INIT, - "TURN allocation failed", info.last_status); - } else if (comp->turn_err_cnt > 1) { - sess_fail(comp->ice_st, PJ_ICE_STRANS_OP_KEEP_ALIVE, - "TURN refresh failed", info.last_status); - } else { - PJ_PERROR(4,(comp->ice_st->obj_name, info.last_status, - "Comp %d: TURN allocation failed, retrying", - comp->comp_id)); - add_update_turn(comp->ice_st, comp); - } - } - - sess_dec_ref(comp->ice_st); - - pj_log_pop_indent(); -} - diff --git a/res/pjproject/pjnath/src/pjnath/nat_detect.c b/res/pjproject/pjnath/src/pjnath/nat_detect.c deleted file mode 100644 index f9644c2b85..0000000000 --- a/res/pjproject/pjnath/src/pjnath/nat_detect.c +++ /dev/null @@ -1,911 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -static const char *nat_type_names[] = -{ - "Unknown", - "ErrUnknown", - "Open", - "Blocked", - "Symmetric UDP", - "Full Cone", - "Symmetric", - "Restricted", - "Port Restricted" -}; - - -#define CHANGE_IP_FLAG 4 -#define CHANGE_PORT_FLAG 2 -#define CHANGE_IP_PORT_FLAG (CHANGE_IP_FLAG | CHANGE_PORT_FLAG) -#define TEST_INTERVAL 50 - -enum test_type -{ - ST_TEST_1, - ST_TEST_2, - ST_TEST_3, - ST_TEST_1B, - ST_MAX -}; - -static const char *test_names[] = -{ - "Test I: Binding request", - "Test II: Binding request with change address and port request", - "Test III: Binding request with change port request", - "Test IB: Binding request to alternate address" -}; - -enum timer_type -{ - TIMER_TEST = 1, - TIMER_DESTROY = 2 -}; - -typedef struct nat_detect_session -{ - pj_pool_t *pool; - pj_mutex_t *mutex; - - pj_timer_heap_t *timer_heap; - pj_timer_entry timer; - unsigned timer_executed; - - void *user_data; - pj_stun_nat_detect_cb *cb; - pj_sock_t sock; - pj_sockaddr_in local_addr; - pj_ioqueue_key_t *key; - pj_sockaddr_in server; - pj_sockaddr_in *cur_server; - pj_stun_session *stun_sess; - - pj_ioqueue_op_key_t read_op, write_op; - pj_uint8_t rx_pkt[PJ_STUN_MAX_PKT_LEN]; - pj_ssize_t rx_pkt_len; - pj_sockaddr_in src_addr; - int src_addr_len; - - struct result - { - pj_bool_t executed; - pj_bool_t complete; - pj_status_t status; - pj_sockaddr_in ma; - pj_sockaddr_in ca; - pj_stun_tx_data *tdata; - } result[ST_MAX]; - -} nat_detect_session; - - -static void on_read_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read); -static void on_request_complete(pj_stun_session *sess, - pj_status_t status, - void *token, - pj_stun_tx_data *tdata, - const pj_stun_msg *response, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); -static pj_status_t on_send_msg(pj_stun_session *sess, - void *token, - const void *pkt, - pj_size_t pkt_size, - const pj_sockaddr_t *dst_addr, - unsigned addr_len); - -static pj_status_t send_test(nat_detect_session *sess, - enum test_type test_id, - const pj_sockaddr_in *alt_addr, - pj_uint32_t change_flag); -static void on_sess_timer(pj_timer_heap_t *th, - pj_timer_entry *te); -static void sess_destroy(nat_detect_session *sess); - - -/* - * Get the NAT name from the specified NAT type. - */ -PJ_DEF(const char*) pj_stun_get_nat_name(pj_stun_nat_type type) -{ - PJ_ASSERT_RETURN(type >= 0 && type <= PJ_STUN_NAT_TYPE_PORT_RESTRICTED, - "*Invalid*"); - - return nat_type_names[type]; -} - -static int test_executed(nat_detect_session *sess) -{ - unsigned i, count; - for (i=0, count=0; iresult); ++i) { - if (sess->result[i].executed) - ++count; - } - return count; -} - -static int test_completed(nat_detect_session *sess) -{ - unsigned i, count; - for (i=0, count=0; iresult); ++i) { - if (sess->result[i].complete) - ++count; - } - return count; -} - -static pj_status_t get_local_interface(const pj_sockaddr_in *server, - pj_in_addr *local_addr) -{ - pj_sock_t sock; - pj_sockaddr_in tmp; - int addr_len; - pj_status_t status; - - status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &sock); - if (status != PJ_SUCCESS) - return status; - - status = pj_sock_bind_in(sock, 0, 0); - if (status != PJ_SUCCESS) { - pj_sock_close(sock); - return status; - } - - status = pj_sock_connect(sock, server, sizeof(pj_sockaddr_in)); - if (status != PJ_SUCCESS) { - pj_sock_close(sock); - return status; - } - - addr_len = sizeof(pj_sockaddr_in); - status = pj_sock_getsockname(sock, &tmp, &addr_len); - if (status != PJ_SUCCESS) { - pj_sock_close(sock); - return status; - } - - local_addr->s_addr = tmp.sin_addr.s_addr; - - pj_sock_close(sock); - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pj_stun_detect_nat_type(const pj_sockaddr_in *server, - pj_stun_config *stun_cfg, - void *user_data, - pj_stun_nat_detect_cb *cb) -{ - pj_pool_t *pool; - nat_detect_session *sess; - pj_stun_session_cb sess_cb; - pj_ioqueue_callback ioqueue_cb; - int addr_len; - pj_status_t status; - - PJ_ASSERT_RETURN(server && stun_cfg, PJ_EINVAL); - PJ_ASSERT_RETURN(stun_cfg->pf && stun_cfg->ioqueue && stun_cfg->timer_heap, - PJ_EINVAL); - - /* - * Init NAT detection session. - */ - pool = pj_pool_create(stun_cfg->pf, "natck%p", PJNATH_POOL_LEN_NATCK, - PJNATH_POOL_INC_NATCK, NULL); - if (!pool) - return PJ_ENOMEM; - - sess = PJ_POOL_ZALLOC_T(pool, nat_detect_session); - sess->pool = pool; - sess->user_data = user_data; - sess->cb = cb; - - status = pj_mutex_create_recursive(pool, pool->obj_name, &sess->mutex); - if (status != PJ_SUCCESS) - goto on_error; - - pj_memcpy(&sess->server, server, sizeof(pj_sockaddr_in)); - - /* - * Init timer to self-destroy. - */ - sess->timer_heap = stun_cfg->timer_heap; - sess->timer.cb = &on_sess_timer; - sess->timer.user_data = sess; - - - /* - * Initialize socket. - */ - status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &sess->sock); - if (status != PJ_SUCCESS) - goto on_error; - - /* - * Bind to any. - */ - pj_bzero(&sess->local_addr, sizeof(pj_sockaddr_in)); - sess->local_addr.sin_family = pj_AF_INET(); - status = pj_sock_bind(sess->sock, &sess->local_addr, - sizeof(pj_sockaddr_in)); - if (status != PJ_SUCCESS) - goto on_error; - - /* - * Get local/bound address. - */ - addr_len = sizeof(sess->local_addr); - status = pj_sock_getsockname(sess->sock, &sess->local_addr, &addr_len); - if (status != PJ_SUCCESS) - goto on_error; - - /* - * Find out which interface is used to send to the server. - */ - status = get_local_interface(server, &sess->local_addr.sin_addr); - if (status != PJ_SUCCESS) - goto on_error; - - PJ_LOG(5,(sess->pool->obj_name, "Local address is %s:%d", - pj_inet_ntoa(sess->local_addr.sin_addr), - pj_ntohs(sess->local_addr.sin_port))); - - PJ_LOG(5,(sess->pool->obj_name, "Server set to %s:%d", - pj_inet_ntoa(server->sin_addr), - pj_ntohs(server->sin_port))); - - /* - * Register socket to ioqueue to receive asynchronous input - * notification. - */ - pj_bzero(&ioqueue_cb, sizeof(ioqueue_cb)); - ioqueue_cb.on_read_complete = &on_read_complete; - - status = pj_ioqueue_register_sock(sess->pool, stun_cfg->ioqueue, - sess->sock, sess, &ioqueue_cb, - &sess->key); - if (status != PJ_SUCCESS) - goto on_error; - - /* - * Create STUN session. - */ - pj_bzero(&sess_cb, sizeof(sess_cb)); - sess_cb.on_request_complete = &on_request_complete; - sess_cb.on_send_msg = &on_send_msg; - status = pj_stun_session_create(stun_cfg, pool->obj_name, &sess_cb, - PJ_FALSE, &sess->stun_sess); - if (status != PJ_SUCCESS) - goto on_error; - - pj_stun_session_set_user_data(sess->stun_sess, sess); - - /* - * Kick-off ioqueue reading. - */ - pj_ioqueue_op_key_init(&sess->read_op, sizeof(sess->read_op)); - pj_ioqueue_op_key_init(&sess->write_op, sizeof(sess->write_op)); - on_read_complete(sess->key, &sess->read_op, 0); - - /* - * Start TEST_1 - */ - sess->timer.id = TIMER_TEST; - on_sess_timer(stun_cfg->timer_heap, &sess->timer); - - return PJ_SUCCESS; - -on_error: - sess_destroy(sess); - return status; -} - - -static void sess_destroy(nat_detect_session *sess) -{ - if (sess->stun_sess) { - pj_stun_session_destroy(sess->stun_sess); - } - - if (sess->key) { - pj_ioqueue_unregister(sess->key); - } else if (sess->sock && sess->sock != PJ_INVALID_SOCKET) { - pj_sock_close(sess->sock); - } - - if (sess->mutex) { - pj_mutex_destroy(sess->mutex); - } - - if (sess->pool) { - pj_pool_release(sess->pool); - } -} - - -static void end_session(nat_detect_session *sess, - pj_status_t status, - pj_stun_nat_type nat_type) -{ - pj_stun_nat_detect_result result; - char errmsg[PJ_ERR_MSG_SIZE]; - pj_time_val delay; - - if (sess->timer.id != 0) { - pj_timer_heap_cancel(sess->timer_heap, &sess->timer); - sess->timer.id = 0; - } - - pj_bzero(&result, sizeof(result)); - errmsg[0] = '\0'; - result.status_text = errmsg; - - result.status = status; - pj_strerror(status, errmsg, sizeof(errmsg)); - result.nat_type = nat_type; - result.nat_type_name = nat_type_names[result.nat_type]; - - if (sess->cb) - (*sess->cb)(sess->user_data, &result); - - delay.sec = 0; - delay.msec = 0; - - sess->timer.id = TIMER_DESTROY; - pj_timer_heap_schedule(sess->timer_heap, &sess->timer, &delay); -} - - -/* - * Callback upon receiving packet from network. - */ -static void on_read_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read) -{ - nat_detect_session *sess; - pj_status_t status; - - sess = (nat_detect_session *) pj_ioqueue_get_user_data(key); - pj_assert(sess != NULL); - - pj_mutex_lock(sess->mutex); - - if (bytes_read < 0) { - if (-bytes_read != PJ_STATUS_FROM_OS(OSERR_EWOULDBLOCK) && - -bytes_read != PJ_STATUS_FROM_OS(OSERR_EINPROGRESS) && - -bytes_read != PJ_STATUS_FROM_OS(OSERR_ECONNRESET)) - { - /* Permanent error */ - end_session(sess, -bytes_read, PJ_STUN_NAT_TYPE_ERR_UNKNOWN); - goto on_return; - } - - } else if (bytes_read > 0) { - pj_stun_session_on_rx_pkt(sess->stun_sess, sess->rx_pkt, bytes_read, - PJ_STUN_IS_DATAGRAM|PJ_STUN_CHECK_PACKET, - NULL, NULL, - &sess->src_addr, sess->src_addr_len); - } - - - sess->rx_pkt_len = sizeof(sess->rx_pkt); - sess->src_addr_len = sizeof(sess->src_addr); - status = pj_ioqueue_recvfrom(key, op_key, sess->rx_pkt, &sess->rx_pkt_len, - PJ_IOQUEUE_ALWAYS_ASYNC, - &sess->src_addr, &sess->src_addr_len); - - if (status != PJ_EPENDING) { - pj_assert(status != PJ_SUCCESS); - end_session(sess, status, PJ_STUN_NAT_TYPE_ERR_UNKNOWN); - } - -on_return: - pj_mutex_unlock(sess->mutex); -} - - -/* - * Callback to send outgoing packet from STUN session. - */ -static pj_status_t on_send_msg(pj_stun_session *stun_sess, - void *token, - const void *pkt, - pj_size_t pkt_size, - const pj_sockaddr_t *dst_addr, - unsigned addr_len) -{ - nat_detect_session *sess; - pj_ssize_t pkt_len; - pj_status_t status; - - PJ_UNUSED_ARG(token); - - sess = (nat_detect_session*) pj_stun_session_get_user_data(stun_sess); - - pkt_len = pkt_size; - status = pj_ioqueue_sendto(sess->key, &sess->write_op, pkt, &pkt_len, 0, - dst_addr, addr_len); - - return status; - -} - -/* - * Callback upon request completion. - */ -static void on_request_complete(pj_stun_session *stun_sess, - pj_status_t status, - void *token, - pj_stun_tx_data *tdata, - const pj_stun_msg *response, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - nat_detect_session *sess; - pj_stun_sockaddr_attr *mattr = NULL; - pj_stun_changed_addr_attr *ca = NULL; - pj_uint32_t *tsx_id; - int cmp; - unsigned test_id; - - PJ_UNUSED_ARG(token); - PJ_UNUSED_ARG(tdata); - PJ_UNUSED_ARG(src_addr); - PJ_UNUSED_ARG(src_addr_len); - - sess = (nat_detect_session*) pj_stun_session_get_user_data(stun_sess); - - pj_mutex_lock(sess->mutex); - - /* Find errors in the response */ - if (status == PJ_SUCCESS) { - - /* Check error message */ - if (PJ_STUN_IS_ERROR_RESPONSE(response->hdr.type)) { - pj_stun_errcode_attr *eattr; - int err_code; - - eattr = (pj_stun_errcode_attr*) - pj_stun_msg_find_attr(response, PJ_STUN_ATTR_ERROR_CODE, 0); - - if (eattr != NULL) - err_code = eattr->err_code; - else - err_code = PJ_STUN_SC_SERVER_ERROR; - - status = PJ_STATUS_FROM_STUN_CODE(err_code); - - - } else { - - /* Get MAPPED-ADDRESS or XOR-MAPPED-ADDRESS */ - mattr = (pj_stun_sockaddr_attr*) - pj_stun_msg_find_attr(response, PJ_STUN_ATTR_XOR_MAPPED_ADDR, 0); - if (mattr == NULL) { - mattr = (pj_stun_sockaddr_attr*) - pj_stun_msg_find_attr(response, PJ_STUN_ATTR_MAPPED_ADDR, 0); - } - - if (mattr == NULL) { - status = PJNATH_ESTUNNOMAPPEDADDR; - } - - /* Get CHANGED-ADDRESS attribute */ - ca = (pj_stun_changed_addr_attr*) - pj_stun_msg_find_attr(response, PJ_STUN_ATTR_CHANGED_ADDR, 0); - - if (ca == NULL) { - status = PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_SERVER_ERROR); - } - - } - } - - /* Save the result */ - tsx_id = (pj_uint32_t*) tdata->msg->hdr.tsx_id; - test_id = tsx_id[2]; - - if (test_id >= ST_MAX) { - PJ_LOG(4,(sess->pool->obj_name, "Invalid transaction ID %u in response", - test_id)); - end_session(sess, PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_SERVER_ERROR), - PJ_STUN_NAT_TYPE_ERR_UNKNOWN); - goto on_return; - } - - PJ_LOG(5,(sess->pool->obj_name, "Completed %s, status=%d", - test_names[test_id], status)); - - sess->result[test_id].complete = PJ_TRUE; - sess->result[test_id].status = status; - if (status == PJ_SUCCESS) { - pj_memcpy(&sess->result[test_id].ma, &mattr->sockaddr.ipv4, - sizeof(pj_sockaddr_in)); - pj_memcpy(&sess->result[test_id].ca, &ca->sockaddr.ipv4, - sizeof(pj_sockaddr_in)); - } - - /* Send Test 1B only when Test 2 completes. Must not send Test 1B - * before Test 2 completes to avoid creating mapping on the NAT. - */ - if (!sess->result[ST_TEST_1B].executed && - sess->result[ST_TEST_2].complete && - sess->result[ST_TEST_2].status != PJ_SUCCESS && - sess->result[ST_TEST_1].complete && - sess->result[ST_TEST_1].status == PJ_SUCCESS) - { - cmp = pj_memcmp(&sess->local_addr, &sess->result[ST_TEST_1].ma, - sizeof(pj_sockaddr_in)); - if (cmp != 0) - send_test(sess, ST_TEST_1B, &sess->result[ST_TEST_1].ca, 0); - } - - if (test_completed(sess)<3 || test_completed(sess)!=test_executed(sess)) - goto on_return; - - /* Handle the test result according to RFC 3489 page 22: - - - +--------+ - | Test | - | 1 | - +--------+ - | - | - V - /\ /\ - N / \ Y / \ Y +--------+ - UDP <-------/Resp\--------->/ IP \------------->| Test | - Blocked \ ? / \Same/ | 2 | - \ / \? / +--------+ - \/ \/ | - | N | - | V - V /\ - +--------+ Sym. N / \ - | Test | UDP <---/Resp\ - | 2 | Firewall \ ? / - +--------+ \ / - | \/ - V |Y - /\ /\ | - Symmetric N / \ +--------+ N / \ V - NAT <--- / IP \<-----| Test |<--- /Resp\ Open - \Same/ | 1B | \ ? / Internet - \? / +--------+ \ / - \/ \/ - | |Y - | | - | V - | Full - | Cone - V /\ - +--------+ / \ Y - | Test |------>/Resp\---->Restricted - | 3 | \ ? / - +--------+ \ / - \/ - |N - | Port - +------>Restricted - - Figure 2: Flow for type discovery process - */ - - switch (sess->result[ST_TEST_1].status) { - case PJNATH_ESTUNTIMEDOUT: - /* - * Test 1 has timed-out. Conclude with NAT_TYPE_BLOCKED. - */ - end_session(sess, PJ_SUCCESS, PJ_STUN_NAT_TYPE_BLOCKED); - break; - case PJ_SUCCESS: - /* - * Test 1 is successful. Further tests are needed to detect - * NAT type. Compare the MAPPED-ADDRESS with the local address. - */ - cmp = pj_memcmp(&sess->local_addr, &sess->result[ST_TEST_1].ma, - sizeof(pj_sockaddr_in)); - if (cmp==0) { - /* - * MAPPED-ADDRESS and local address is equal. Need one more - * test to determine NAT type. - */ - switch (sess->result[ST_TEST_2].status) { - case PJ_SUCCESS: - /* - * Test 2 is also successful. We're in the open. - */ - end_session(sess, PJ_SUCCESS, PJ_STUN_NAT_TYPE_OPEN); - break; - case PJNATH_ESTUNTIMEDOUT: - /* - * Test 2 has timed out. We're behind somekind of UDP - * firewall. - */ - end_session(sess, PJ_SUCCESS, PJ_STUN_NAT_TYPE_SYMMETRIC_UDP); - break; - default: - /* - * We've got other error with Test 2. - */ - end_session(sess, sess->result[ST_TEST_2].status, - PJ_STUN_NAT_TYPE_ERR_UNKNOWN); - break; - } - } else { - /* - * MAPPED-ADDRESS is different than local address. - * We're behind NAT. - */ - switch (sess->result[ST_TEST_2].status) { - case PJ_SUCCESS: - /* - * Test 2 is successful. We're behind a full-cone NAT. - */ - end_session(sess, PJ_SUCCESS, PJ_STUN_NAT_TYPE_FULL_CONE); - break; - case PJNATH_ESTUNTIMEDOUT: - /* - * Test 2 has timed-out Check result of test 1B.. - */ - switch (sess->result[ST_TEST_1B].status) { - case PJ_SUCCESS: - /* - * Compare the MAPPED-ADDRESS of test 1B with the - * MAPPED-ADDRESS returned in test 1.. - */ - cmp = pj_memcmp(&sess->result[ST_TEST_1].ma, - &sess->result[ST_TEST_1B].ma, - sizeof(pj_sockaddr_in)); - if (cmp != 0) { - /* - * MAPPED-ADDRESS is different, we're behind a - * symmetric NAT. - */ - end_session(sess, PJ_SUCCESS, - PJ_STUN_NAT_TYPE_SYMMETRIC); - } else { - /* - * MAPPED-ADDRESS is equal. We're behind a restricted - * or port-restricted NAT, depending on the result of - * test 3. - */ - switch (sess->result[ST_TEST_3].status) { - case PJ_SUCCESS: - /* - * Test 3 is successful, we're behind a restricted - * NAT. - */ - end_session(sess, PJ_SUCCESS, - PJ_STUN_NAT_TYPE_RESTRICTED); - break; - case PJNATH_ESTUNTIMEDOUT: - /* - * Test 3 failed, we're behind a port restricted - * NAT. - */ - end_session(sess, PJ_SUCCESS, - PJ_STUN_NAT_TYPE_PORT_RESTRICTED); - break; - default: - /* - * Got other error with test 3. - */ - end_session(sess, sess->result[ST_TEST_3].status, - PJ_STUN_NAT_TYPE_ERR_UNKNOWN); - break; - } - } - break; - case PJNATH_ESTUNTIMEDOUT: - /* - * Strangely test 1B has failed. Maybe connectivity was - * lost? Or perhaps port 3489 (the usual port number in - * CHANGED-ADDRESS) is blocked? - */ - switch (sess->result[ST_TEST_3].status) { - case PJ_SUCCESS: - /* Although test 1B failed, test 3 was successful. - * It could be that port 3489 is blocked, while the - * NAT itself looks to be a Restricted one. - */ - end_session(sess, PJ_SUCCESS, - PJ_STUN_NAT_TYPE_RESTRICTED); - break; - default: - /* Can't distinguish between Symmetric and Port - * Restricted, so set the type to Unknown - */ - end_session(sess, PJ_SUCCESS, - PJ_STUN_NAT_TYPE_ERR_UNKNOWN); - break; - } - break; - default: - /* - * Got other error with test 1B. - */ - end_session(sess, sess->result[ST_TEST_1B].status, - PJ_STUN_NAT_TYPE_ERR_UNKNOWN); - break; - } - break; - default: - /* - * We've got other error with Test 2. - */ - end_session(sess, sess->result[ST_TEST_2].status, - PJ_STUN_NAT_TYPE_ERR_UNKNOWN); - break; - } - } - break; - default: - /* - * We've got other error with Test 1. - */ - end_session(sess, sess->result[ST_TEST_1].status, - PJ_STUN_NAT_TYPE_ERR_UNKNOWN); - break; - } - -on_return: - pj_mutex_unlock(sess->mutex); -} - - -/* Perform test */ -static pj_status_t send_test(nat_detect_session *sess, - enum test_type test_id, - const pj_sockaddr_in *alt_addr, - pj_uint32_t change_flag) -{ - pj_uint32_t magic, tsx_id[3]; - pj_status_t status; - - sess->result[test_id].executed = PJ_TRUE; - - /* Randomize tsx id */ - do { - magic = pj_rand(); - } while (magic == PJ_STUN_MAGIC); - - tsx_id[0] = pj_rand(); - tsx_id[1] = pj_rand(); - tsx_id[2] = test_id; - - /* Create BIND request */ - status = pj_stun_session_create_req(sess->stun_sess, - PJ_STUN_BINDING_REQUEST, magic, - (pj_uint8_t*)tsx_id, - &sess->result[test_id].tdata); - if (status != PJ_SUCCESS) - goto on_error; - - /* Add CHANGE-REQUEST attribute */ - status = pj_stun_msg_add_uint_attr(sess->pool, - sess->result[test_id].tdata->msg, - PJ_STUN_ATTR_CHANGE_REQUEST, - change_flag); - if (status != PJ_SUCCESS) - goto on_error; - - /* Configure alternate address */ - if (alt_addr) - sess->cur_server = (pj_sockaddr_in*) alt_addr; - else - sess->cur_server = &sess->server; - - PJ_LOG(5,(sess->pool->obj_name, - "Performing %s to %s:%d", - test_names[test_id], - pj_inet_ntoa(sess->cur_server->sin_addr), - pj_ntohs(sess->cur_server->sin_port))); - - /* Send the request */ - status = pj_stun_session_send_msg(sess->stun_sess, NULL, PJ_TRUE, - PJ_TRUE, sess->cur_server, - sizeof(pj_sockaddr_in), - sess->result[test_id].tdata); - if (status != PJ_SUCCESS) - goto on_error; - - return PJ_SUCCESS; - -on_error: - sess->result[test_id].complete = PJ_TRUE; - sess->result[test_id].status = status; - - return status; -} - - -/* Timer callback */ -static void on_sess_timer(pj_timer_heap_t *th, - pj_timer_entry *te) -{ - nat_detect_session *sess; - - sess = (nat_detect_session*) te->user_data; - - if (te->id == TIMER_DESTROY) { - pj_mutex_lock(sess->mutex); - pj_ioqueue_unregister(sess->key); - sess->key = NULL; - sess->sock = PJ_INVALID_SOCKET; - te->id = 0; - pj_mutex_unlock(sess->mutex); - - sess_destroy(sess); - - } else if (te->id == TIMER_TEST) { - - pj_bool_t next_timer; - - pj_mutex_lock(sess->mutex); - - next_timer = PJ_FALSE; - - if (sess->timer_executed == 0) { - send_test(sess, ST_TEST_1, NULL, 0); - next_timer = PJ_TRUE; - } else if (sess->timer_executed == 1) { - send_test(sess, ST_TEST_2, NULL, CHANGE_IP_PORT_FLAG); - next_timer = PJ_TRUE; - } else if (sess->timer_executed == 2) { - send_test(sess, ST_TEST_3, NULL, CHANGE_PORT_FLAG); - } else { - pj_assert(!"Shouldn't have timer at this state"); - } - - ++sess->timer_executed; - - if (next_timer) { - pj_time_val delay = {0, TEST_INTERVAL}; - pj_timer_heap_schedule(th, te, &delay); - } else { - te->id = 0; - } - - pj_mutex_unlock(sess->mutex); - - } else { - pj_assert(!"Invalid timer ID"); - } -} - diff --git a/res/pjproject/pjnath/src/pjnath/stun_auth.c b/res/pjproject/pjnath/src/pjnath/stun_auth.c deleted file mode 100644 index 3bafb5ce71..0000000000 --- a/res/pjproject/pjnath/src/pjnath/stun_auth.c +++ /dev/null @@ -1,631 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "stun_auth.c" - -/* Duplicate credential */ -PJ_DEF(void) pj_stun_auth_cred_dup( pj_pool_t *pool, - pj_stun_auth_cred *dst, - const pj_stun_auth_cred *src) -{ - dst->type = src->type; - - switch (src->type) { - case PJ_STUN_AUTH_CRED_STATIC: - pj_strdup(pool, &dst->data.static_cred.realm, - &src->data.static_cred.realm); - pj_strdup(pool, &dst->data.static_cred.username, - &src->data.static_cred.username); - dst->data.static_cred.data_type = src->data.static_cred.data_type; - pj_strdup(pool, &dst->data.static_cred.data, - &src->data.static_cred.data); - pj_strdup(pool, &dst->data.static_cred.nonce, - &src->data.static_cred.nonce); - break; - case PJ_STUN_AUTH_CRED_DYNAMIC: - pj_memcpy(&dst->data.dyn_cred, &src->data.dyn_cred, - sizeof(src->data.dyn_cred)); - break; - } -} - - -/* - * Duplicate request credential. - */ -PJ_DEF(void) pj_stun_req_cred_info_dup( pj_pool_t *pool, - pj_stun_req_cred_info *dst, - const pj_stun_req_cred_info *src) -{ - pj_strdup(pool, &dst->realm, &src->realm); - pj_strdup(pool, &dst->username, &src->username); - pj_strdup(pool, &dst->nonce, &src->nonce); - pj_strdup(pool, &dst->auth_key, &src->auth_key); -} - - -/* Calculate HMAC-SHA1 key for long term credential, by getting - * MD5 digest of username, realm, and password. - */ -static void calc_md5_key(pj_uint8_t digest[16], - const pj_str_t *realm, - const pj_str_t *username, - const pj_str_t *passwd) -{ - /* The 16-byte key for MESSAGE-INTEGRITY HMAC is formed by taking - * the MD5 hash of the result of concatenating the following five - * fields: (1) The username, with any quotes and trailing nulls - * removed, (2) A single colon, (3) The realm, with any quotes and - * trailing nulls removed, (4) A single colon, and (5) The - * password, with any trailing nulls removed. - */ - pj_md5_context ctx; - pj_str_t s; - - pj_md5_init(&ctx); - -#define REMOVE_QUOTE(s) if (s.slen && *s.ptr=='"') \ - s.ptr++, s.slen--; \ - if (s.slen && s.ptr[s.slen-1]=='"') \ - s.slen--; - - /* Add username */ - s = *username; - REMOVE_QUOTE(s); - pj_md5_update(&ctx, (pj_uint8_t*)s.ptr, s.slen); - - /* Add single colon */ - pj_md5_update(&ctx, (pj_uint8_t*)":", 1); - - /* Add realm */ - s = *realm; - REMOVE_QUOTE(s); - pj_md5_update(&ctx, (pj_uint8_t*)s.ptr, s.slen); - -#undef REMOVE_QUOTE - - /* Another colon */ - pj_md5_update(&ctx, (pj_uint8_t*)":", 1); - - /* Add password */ - pj_md5_update(&ctx, (pj_uint8_t*)passwd->ptr, passwd->slen); - - /* Done */ - pj_md5_final(&ctx, digest); -} - - -/* - * Create authentication key to be used for encoding the message with - * MESSAGE-INTEGRITY. - */ -PJ_DEF(void) pj_stun_create_key(pj_pool_t *pool, - pj_str_t *key, - const pj_str_t *realm, - const pj_str_t *username, - pj_stun_passwd_type data_type, - const pj_str_t *data) -{ - PJ_ASSERT_ON_FAIL(pool && key && username && data, return); - - if (realm && realm->slen) { - if (data_type == PJ_STUN_PASSWD_PLAIN) { - key->ptr = (char*) pj_pool_alloc(pool, 16); - calc_md5_key((pj_uint8_t*)key->ptr, realm, username, data); - key->slen = 16; - } else { - pj_strdup(pool, key, data); - } - } else { - pj_assert(data_type == PJ_STUN_PASSWD_PLAIN); - pj_strdup(pool, key, data); - } -} - - -PJ_INLINE(pj_uint16_t) GET_VAL16(const pj_uint8_t *pdu, unsigned pos) -{ - return (pj_uint16_t) ((pdu[pos] << 8) + pdu[pos+1]); -} - - -PJ_INLINE(void) PUT_VAL16(pj_uint8_t *buf, unsigned pos, pj_uint16_t hval) -{ - buf[pos+0] = (pj_uint8_t) ((hval & 0xFF00) >> 8); - buf[pos+1] = (pj_uint8_t) ((hval & 0x00FF) >> 0); -} - - -/* Send 401 response */ -static pj_status_t create_challenge(pj_pool_t *pool, - const pj_stun_msg *msg, - int err_code, - const char *errstr, - const pj_str_t *realm, - const pj_str_t *nonce, - pj_stun_msg **p_response) -{ - pj_stun_msg *response; - pj_str_t tmp_nonce; - pj_str_t err_msg; - pj_status_t rc; - - rc = pj_stun_msg_create_response(pool, msg, err_code, - (errstr?pj_cstr(&err_msg, errstr):NULL), - &response); - if (rc != PJ_SUCCESS) - return rc; - - /* SHOULD NOT add REALM, NONCE, USERNAME, and M-I on 400 response */ - if (err_code!=400 && realm && realm->slen) { - rc = pj_stun_msg_add_string_attr(pool, response, - PJ_STUN_ATTR_REALM, - realm); - if (rc != PJ_SUCCESS) - return rc; - - /* long term must include nonce */ - if (!nonce || nonce->slen == 0) { - tmp_nonce = pj_str("pjstun"); - nonce = &tmp_nonce; - } - } - - if (err_code!=400 && nonce && nonce->slen) { - rc = pj_stun_msg_add_string_attr(pool, response, - PJ_STUN_ATTR_NONCE, - nonce); - if (rc != PJ_SUCCESS) - return rc; - } - - *p_response = response; - - return PJ_SUCCESS; -} - - -/* Verify credential in the request */ -PJ_DEF(pj_status_t) pj_stun_authenticate_request(const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_stun_msg *msg, - pj_stun_auth_cred *cred, - pj_pool_t *pool, - pj_stun_req_cred_info *p_info, - pj_stun_msg **p_response) -{ - pj_stun_req_cred_info tmp_info; - const pj_stun_msgint_attr *amsgi; - unsigned i, amsgi_pos; - pj_bool_t has_attr_beyond_mi; - const pj_stun_username_attr *auser; - const pj_stun_realm_attr *arealm; - const pj_stun_realm_attr *anonce; - pj_hmac_sha1_context ctx; - pj_uint8_t digest[PJ_SHA1_DIGEST_SIZE]; - pj_stun_status err_code; - const char *err_text = NULL; - pj_status_t status; - - /* msg and credential MUST be specified */ - PJ_ASSERT_RETURN(pkt && pkt_len && msg && cred, PJ_EINVAL); - - /* If p_response is specified, pool MUST be specified. */ - PJ_ASSERT_RETURN(!p_response || pool, PJ_EINVAL); - - if (p_response) - *p_response = NULL; - - if (!PJ_STUN_IS_REQUEST(msg->hdr.type)) - p_response = NULL; - - if (p_info == NULL) - p_info = &tmp_info; - - pj_bzero(p_info, sizeof(pj_stun_req_cred_info)); - - /* Get realm and nonce from credential */ - p_info->realm.slen = p_info->nonce.slen = 0; - if (cred->type == PJ_STUN_AUTH_CRED_STATIC) { - p_info->realm = cred->data.static_cred.realm; - p_info->nonce = cred->data.static_cred.nonce; - } else if (cred->type == PJ_STUN_AUTH_CRED_DYNAMIC) { - status = cred->data.dyn_cred.get_auth(cred->data.dyn_cred.user_data, - pool, &p_info->realm, - &p_info->nonce); - if (status != PJ_SUCCESS) - return status; - } else { - pj_assert(!"Invalid credential type"); - return PJ_EBUG; - } - - /* Look for MESSAGE-INTEGRITY while counting the position */ - amsgi_pos = 0; - has_attr_beyond_mi = PJ_FALSE; - amsgi = NULL; - for (i=0; iattr_count; ++i) { - if (msg->attr[i]->type == PJ_STUN_ATTR_MESSAGE_INTEGRITY) { - amsgi = (const pj_stun_msgint_attr*) msg->attr[i]; - } else if (amsgi) { - has_attr_beyond_mi = PJ_TRUE; - break; - } else { - amsgi_pos += ((msg->attr[i]->length+3) & ~0x03) + 4; - } - } - - if (amsgi == NULL) { - /* According to rfc3489bis-10 Sec 10.1.2/10.2.2, we should return 400 - for short term, and 401 for long term. - The rule has been changed from rfc3489bis-06 - */ - err_code = p_info->realm.slen ? PJ_STUN_SC_UNAUTHORIZED : - PJ_STUN_SC_BAD_REQUEST; - goto on_auth_failed; - } - - /* Next check that USERNAME is present */ - auser = (const pj_stun_username_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_USERNAME, 0); - if (auser == NULL) { - /* According to rfc3489bis-10 Sec 10.1.2/10.2.2, we should return 400 - for both short and long term, since M-I is present. - The rule has been changed from rfc3489bis-06 - */ - err_code = PJ_STUN_SC_BAD_REQUEST; - err_text = "Missing USERNAME"; - goto on_auth_failed; - } - - /* Get REALM, if any */ - arealm = (const pj_stun_realm_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_REALM, 0); - - /* Reject with 400 if we have long term credential and the request - * is missing REALM attribute. - */ - if (p_info->realm.slen && arealm==NULL) { - err_code = PJ_STUN_SC_BAD_REQUEST; - err_text = "Missing REALM"; - goto on_auth_failed; - } - - /* Check if username match */ - if (cred->type == PJ_STUN_AUTH_CRED_STATIC) { - pj_bool_t username_ok; - username_ok = !pj_strcmp(&auser->value, - &cred->data.static_cred.username); - if (username_ok) { - pj_strdup(pool, &p_info->username, - &cred->data.static_cred.username); - pj_stun_create_key(pool, &p_info->auth_key, &p_info->realm, - &auser->value, cred->data.static_cred.data_type, - &cred->data.static_cred.data); - } else { - /* Username mismatch */ - /* According to rfc3489bis-10 Sec 10.1.2/10.2.2, we should - * return 401 - */ - err_code = PJ_STUN_SC_UNAUTHORIZED; - goto on_auth_failed; - } - } else if (cred->type == PJ_STUN_AUTH_CRED_DYNAMIC) { - pj_stun_passwd_type data_type = PJ_STUN_PASSWD_PLAIN; - pj_str_t password; - pj_status_t rc; - - rc = cred->data.dyn_cred.get_password(msg, - cred->data.dyn_cred.user_data, - (arealm?&arealm->value:NULL), - &auser->value, pool, - &data_type, &password); - if (rc == PJ_SUCCESS) { - pj_strdup(pool, &p_info->username, &auser->value); - pj_stun_create_key(pool, &p_info->auth_key, - (arealm?&arealm->value:NULL), &auser->value, - data_type, &password); - } else { - err_code = PJ_STUN_SC_UNAUTHORIZED; - goto on_auth_failed; - } - } else { - pj_assert(!"Invalid credential type"); - return PJ_EBUG; - } - - - - /* Get NONCE attribute */ - anonce = (pj_stun_nonce_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_NONCE, 0); - - /* Check for long term/short term requirements. */ - if (p_info->realm.slen != 0 && arealm == NULL) { - /* Long term credential is required and REALM is not present */ - err_code = PJ_STUN_SC_BAD_REQUEST; - err_text = "Missing REALM"; - goto on_auth_failed; - - } else if (p_info->realm.slen != 0 && arealm != NULL) { - /* We want long term, and REALM is present */ - - /* NONCE must be present. */ - if (anonce == NULL && p_info->nonce.slen) { - err_code = PJ_STUN_SC_BAD_REQUEST; - err_text = "Missing NONCE"; - goto on_auth_failed; - } - - /* Verify REALM matches */ - if (pj_stricmp(&arealm->value, &p_info->realm)) { - /* REALM doesn't match */ - err_code = PJ_STUN_SC_UNAUTHORIZED; - err_text = "Invalid REALM"; - goto on_auth_failed; - } - - /* Valid case, will validate the message integrity later */ - - } else if (p_info->realm.slen == 0 && arealm != NULL) { - /* We want to use short term credential, but client uses long - * term credential. The draft doesn't mention anything about - * switching between long term and short term. - */ - - /* For now just accept the credential, anyway it will probably - * cause wrong message integrity value later. - */ - } else if (p_info->realm.slen==0 && arealm == NULL) { - /* Short term authentication is wanted, and one is supplied */ - - /* Application MAY request NONCE to be supplied */ - if (p_info->nonce.slen != 0) { - err_code = PJ_STUN_SC_UNAUTHORIZED; - err_text = "NONCE required"; - goto on_auth_failed; - } - } - - /* If NONCE is present, validate it */ - if (anonce) { - pj_bool_t ok; - - if (cred->type == PJ_STUN_AUTH_CRED_DYNAMIC && - cred->data.dyn_cred.verify_nonce != NULL) - { - ok=cred->data.dyn_cred.verify_nonce(msg, - cred->data.dyn_cred.user_data, - (arealm?&arealm->value:NULL), - &auser->value, - &anonce->value); - } else if (cred->type == PJ_STUN_AUTH_CRED_DYNAMIC) { - ok = PJ_TRUE; - } else { - if (p_info->nonce.slen) { - ok = !pj_strcmp(&anonce->value, &p_info->nonce); - } else { - ok = PJ_TRUE; - } - } - - if (!ok) { - err_code = PJ_STUN_SC_STALE_NONCE; - goto on_auth_failed; - } - } - - /* Now calculate HMAC of the message. */ - pj_hmac_sha1_init(&ctx, (pj_uint8_t*)p_info->auth_key.ptr, - p_info->auth_key.slen); - -#if PJ_STUN_OLD_STYLE_MI_FINGERPRINT - /* Pre rfc3489bis-06 style of calculation */ - pj_hmac_sha1_update(&ctx, pkt, 20); -#else - /* First calculate HMAC for the header. - * The calculation is different depending on whether FINGERPRINT attribute - * is present in the message. - */ - if (has_attr_beyond_mi) { - pj_uint8_t hdr_copy[20]; - pj_memcpy(hdr_copy, pkt, 20); - PUT_VAL16(hdr_copy, 2, (pj_uint16_t)(amsgi_pos + 24)); - pj_hmac_sha1_update(&ctx, hdr_copy, 20); - } else { - pj_hmac_sha1_update(&ctx, pkt, 20); - } -#endif /* PJ_STUN_OLD_STYLE_MI_FINGERPRINT */ - - /* Now update with the message body */ - pj_hmac_sha1_update(&ctx, pkt+20, amsgi_pos); -#if PJ_STUN_OLD_STYLE_MI_FINGERPRINT - // This is no longer necessary as per rfc3489bis-08 - if ((amsgi_pos+20) & 0x3F) { - pj_uint8_t zeroes[64]; - pj_bzero(zeroes, sizeof(zeroes)); - pj_hmac_sha1_update(&ctx, zeroes, 64-((amsgi_pos+20) & 0x3F)); - } -#endif - pj_hmac_sha1_final(&ctx, digest); - - - /* Compare HMACs */ - if (pj_memcmp(amsgi->hmac, digest, 20)) { - /* HMAC value mismatch */ - /* According to rfc3489bis-10 Sec 10.1.2 we should return 401 */ - err_code = PJ_STUN_SC_UNAUTHORIZED; - err_text = "MESSAGE-INTEGRITY mismatch"; - goto on_auth_failed; - } - - /* Everything looks okay! */ - return PJ_SUCCESS; - -on_auth_failed: - if (p_response) { - create_challenge(pool, msg, err_code, err_text, - &p_info->realm, &p_info->nonce, p_response); - } - return PJ_STATUS_FROM_STUN_CODE(err_code); -} - - -/* Determine if STUN message can be authenticated */ -PJ_DEF(pj_bool_t) pj_stun_auth_valid_for_msg(const pj_stun_msg *msg) -{ - unsigned msg_type = msg->hdr.type; - const pj_stun_errcode_attr *err_attr; - - /* STUN requests and success response can be authenticated */ - if (!PJ_STUN_IS_ERROR_RESPONSE(msg_type) && - !PJ_STUN_IS_INDICATION(msg_type)) - { - return PJ_TRUE; - } - - /* STUN Indication cannot be authenticated */ - if (PJ_STUN_IS_INDICATION(msg_type)) - return PJ_FALSE; - - /* Authentication for STUN error responses depend on the error - * code. - */ - err_attr = (const pj_stun_errcode_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_ERROR_CODE, 0); - if (err_attr == NULL) { - PJ_LOG(4,(THIS_FILE, "STUN error code attribute not present in " - "error response")); - return PJ_TRUE; - } - - switch (err_attr->err_code) { - case PJ_STUN_SC_BAD_REQUEST: /* 400 (Bad Request) */ - case PJ_STUN_SC_UNAUTHORIZED: /* 401 (Unauthorized) */ - case PJ_STUN_SC_STALE_NONCE: /* 438 (Stale Nonce) */ - - /* Due to the way this response is generated here, we can't really - * authenticate 420 (Unknown Attribute) response */ - case PJ_STUN_SC_UNKNOWN_ATTRIBUTE: - return PJ_FALSE; - default: - return PJ_TRUE; - } -} - - -/* Authenticate MESSAGE-INTEGRITY in the response */ -PJ_DEF(pj_status_t) pj_stun_authenticate_response(const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_stun_msg *msg, - const pj_str_t *key) -{ - const pj_stun_msgint_attr *amsgi; - unsigned i, amsgi_pos; - pj_bool_t has_attr_beyond_mi; - pj_hmac_sha1_context ctx; - pj_uint8_t digest[PJ_SHA1_DIGEST_SIZE]; - - PJ_ASSERT_RETURN(pkt && pkt_len && msg && key, PJ_EINVAL); - - /* First check that MESSAGE-INTEGRITY is present */ - amsgi = (const pj_stun_msgint_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_MESSAGE_INTEGRITY, 0); - if (amsgi == NULL) { - return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_UNAUTHORIZED); - } - - - /* Check that message length is valid */ - if (msg->hdr.length < 24) { - return PJNATH_EINSTUNMSGLEN; - } - - /* Look for MESSAGE-INTEGRITY while counting the position */ - amsgi_pos = 0; - has_attr_beyond_mi = PJ_FALSE; - amsgi = NULL; - for (i=0; iattr_count; ++i) { - if (msg->attr[i]->type == PJ_STUN_ATTR_MESSAGE_INTEGRITY) { - amsgi = (const pj_stun_msgint_attr*) msg->attr[i]; - } else if (amsgi) { - has_attr_beyond_mi = PJ_TRUE; - break; - } else { - amsgi_pos += ((msg->attr[i]->length+3) & ~0x03) + 4; - } - } - - if (amsgi == NULL) { - return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_BAD_REQUEST); - } - - /* Now calculate HMAC of the message. */ - pj_hmac_sha1_init(&ctx, (pj_uint8_t*)key->ptr, key->slen); - -#if PJ_STUN_OLD_STYLE_MI_FINGERPRINT - /* Pre rfc3489bis-06 style of calculation */ - pj_hmac_sha1_update(&ctx, pkt, 20); -#else - /* First calculate HMAC for the header. - * The calculation is different depending on whether FINGERPRINT attribute - * is present in the message. - */ - if (has_attr_beyond_mi) { - pj_uint8_t hdr_copy[20]; - pj_memcpy(hdr_copy, pkt, 20); - PUT_VAL16(hdr_copy, 2, (pj_uint16_t)(amsgi_pos+24)); - pj_hmac_sha1_update(&ctx, hdr_copy, 20); - } else { - pj_hmac_sha1_update(&ctx, pkt, 20); - } -#endif /* PJ_STUN_OLD_STYLE_MI_FINGERPRINT */ - - /* Now update with the message body */ - pj_hmac_sha1_update(&ctx, pkt+20, amsgi_pos); -#if PJ_STUN_OLD_STYLE_MI_FINGERPRINT - // This is no longer necessary as per rfc3489bis-08 - if ((amsgi_pos+20) & 0x3F) { - pj_uint8_t zeroes[64]; - pj_bzero(zeroes, sizeof(zeroes)); - pj_hmac_sha1_update(&ctx, zeroes, 64-((amsgi_pos+20) & 0x3F)); - } -#endif - pj_hmac_sha1_final(&ctx, digest); - - /* Compare HMACs */ - if (pj_memcmp(amsgi->hmac, digest, 20)) { - /* HMAC value mismatch */ - return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_UNAUTHORIZED); - } - - /* Everything looks okay! */ - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjnath/src/pjnath/stun_msg.c b/res/pjproject/pjnath/src/pjnath/stun_msg.c deleted file mode 100644 index e6f9915992..0000000000 --- a/res/pjproject/pjnath/src/pjnath/stun_msg.c +++ /dev/null @@ -1,2827 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "stun_msg.c" -#define STUN_XOR_FINGERPRINT 0x5354554eL - -static int padding_char; - -static const char *stun_method_names[PJ_STUN_METHOD_MAX] = -{ - "Unknown", /* 0 */ - "Binding", /* 1 */ - "SharedSecret", /* 2 */ - "Allocate", /* 3 */ - "Refresh", /* 4 */ - "???", /* 5 */ - "Send", /* 6 */ - "Data", /* 7 */ - "CreatePermission", /* 8 */ - "ChannelBind", /* 9 */ -}; - -static struct -{ - int err_code; - const char *err_msg; -} stun_err_msg_map[] = -{ - { PJ_STUN_SC_TRY_ALTERNATE, "Try Alternate"}, - { PJ_STUN_SC_BAD_REQUEST, "Bad Request"}, - { PJ_STUN_SC_UNAUTHORIZED, "Unauthorized"}, - { PJ_STUN_SC_FORBIDDEN, "Forbidden"}, - { PJ_STUN_SC_UNKNOWN_ATTRIBUTE, "Unknown Attribute"}, - //{ PJ_STUN_SC_STALE_CREDENTIALS, "Stale Credentials"}, - //{ PJ_STUN_SC_INTEGRITY_CHECK_FAILURE, "Integrity Check Failure"}, - //{ PJ_STUN_SC_MISSING_USERNAME, "Missing Username"}, - //{ PJ_STUN_SC_USE_TLS, "Use TLS"}, - //{ PJ_STUN_SC_MISSING_REALM, "Missing Realm"}, - //{ PJ_STUN_SC_MISSING_NONCE, "Missing Nonce"}, - //{ PJ_STUN_SC_UNKNOWN_USERNAME, "Unknown Username"}, - { PJ_STUN_SC_ALLOCATION_MISMATCH, "Allocation Mismatch"}, - { PJ_STUN_SC_STALE_NONCE, "Stale Nonce"}, - { PJ_STUN_SC_TRANSITIONING, "Active Destination Already Set"}, - { PJ_STUN_SC_WRONG_CREDENTIALS, "Wrong Credentials"}, - { PJ_STUN_SC_UNSUPP_TRANSPORT_PROTO, "Unsupported Transport Protocol"}, - { PJ_STUN_SC_OPER_TCP_ONLY, "Operation for TCP Only"}, - { PJ_STUN_SC_CONNECTION_FAILURE, "Connection Failure"}, - { PJ_STUN_SC_CONNECTION_TIMEOUT, "Connection Timeout"}, - { PJ_STUN_SC_ALLOCATION_QUOTA_REACHED, "Allocation Quota Reached"}, - { PJ_STUN_SC_ROLE_CONFLICT, "Role Conflict"}, - { PJ_STUN_SC_SERVER_ERROR, "Server Error"}, - { PJ_STUN_SC_INSUFFICIENT_CAPACITY, "Insufficient Capacity"}, - { PJ_STUN_SC_GLOBAL_FAILURE, "Global Failure"} -}; - - - -struct attr_desc -{ - const char *name; - pj_status_t (*decode_attr)(pj_pool_t *pool, const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, void **p_attr); - pj_status_t (*encode_attr)(const void *a, pj_uint8_t *buf, - unsigned len, const pj_stun_msg_hdr *msghdr, - unsigned *printed); - void* (*clone_attr)(pj_pool_t *pool, const void *src); -}; - -static pj_status_t decode_sockaddr_attr(pj_pool_t *pool, - const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, - void **p_attr); -static pj_status_t decode_xored_sockaddr_attr(pj_pool_t *pool, - const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, - void **p_attr); -static pj_status_t encode_sockaddr_attr(const void *a, pj_uint8_t *buf, - unsigned len, - const pj_stun_msg_hdr *msghdr, - unsigned *printed); -static void* clone_sockaddr_attr(pj_pool_t *pool, const void *src); -static pj_status_t decode_string_attr(pj_pool_t *pool, - const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, - void **p_attr); -static pj_status_t encode_string_attr(const void *a, pj_uint8_t *buf, - unsigned len, - const pj_stun_msg_hdr *msghdr, - unsigned *printed); -static void* clone_string_attr(pj_pool_t *pool, const void *src); -static pj_status_t decode_msgint_attr(pj_pool_t *pool, - const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, - void **p_attr); -static pj_status_t encode_msgint_attr(const void *a, pj_uint8_t *buf, - unsigned len, - const pj_stun_msg_hdr *msghdr, - unsigned *printed); -static void* clone_msgint_attr(pj_pool_t *pool, const void *src); -static pj_status_t decode_errcode_attr(pj_pool_t *pool, - const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, - void **p_attr); -static pj_status_t encode_errcode_attr(const void *a, pj_uint8_t *buf, - unsigned len, - const pj_stun_msg_hdr *msghdr, - unsigned *printed); -static void* clone_errcode_attr(pj_pool_t *pool, const void *src); -static pj_status_t decode_unknown_attr(pj_pool_t *pool, - const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, - void **p_attr); -static pj_status_t encode_unknown_attr(const void *a, pj_uint8_t *buf, - unsigned len, - const pj_stun_msg_hdr *msghdr, - unsigned *printed); -static void* clone_unknown_attr(pj_pool_t *pool, const void *src); -static pj_status_t decode_uint_attr(pj_pool_t *pool, - const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, - void **p_attr); -static pj_status_t encode_uint_attr(const void *a, pj_uint8_t *buf, - unsigned len, - const pj_stun_msg_hdr *msghdr, - unsigned *printed); -static void* clone_uint_attr(pj_pool_t *pool, const void *src); -static pj_status_t decode_uint64_attr(pj_pool_t *pool, - const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, - void **p_attr); -static pj_status_t encode_uint64_attr(const void *a, pj_uint8_t *buf, - unsigned len, - const pj_stun_msg_hdr *msghdr, - unsigned *printed); -static void* clone_uint64_attr(pj_pool_t *pool, const void *src); -static pj_status_t decode_binary_attr(pj_pool_t *pool, - const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, - void **p_attr); -static pj_status_t encode_binary_attr(const void *a, pj_uint8_t *buf, - unsigned len, - const pj_stun_msg_hdr *msghdr, - unsigned *printed); -static void* clone_binary_attr(pj_pool_t *pool, const void *src); -static pj_status_t decode_empty_attr(pj_pool_t *pool, - const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, - void **p_attr); -static pj_status_t encode_empty_attr(const void *a, pj_uint8_t *buf, - unsigned len, - const pj_stun_msg_hdr *msghdr, - unsigned *printed); -static void* clone_empty_attr(pj_pool_t *pool, const void *src); - -static struct attr_desc mandatory_attr_desc[] = -{ - { - /* type zero */ - NULL, - NULL, - NULL, - NULL - }, - { - /* PJ_STUN_ATTR_MAPPED_ADDR, */ - "MAPPED-ADDRESS", - &decode_sockaddr_attr, - &encode_sockaddr_attr, - &clone_sockaddr_attr - }, - { - /* PJ_STUN_ATTR_RESPONSE_ADDR, */ - "RESPONSE-ADDRESS", - &decode_sockaddr_attr, - &encode_sockaddr_attr, - &clone_sockaddr_attr - }, - { - /* PJ_STUN_ATTR_CHANGE_REQUEST, */ - "CHANGE-REQUEST", - &decode_uint_attr, - &encode_uint_attr, - &clone_uint_attr - }, - { - /* PJ_STUN_ATTR_SOURCE_ADDR, */ - "SOURCE-ADDRESS", - &decode_sockaddr_attr, - &encode_sockaddr_attr, - &clone_sockaddr_attr - }, - { - /* PJ_STUN_ATTR_CHANGED_ADDR, */ - "CHANGED-ADDRESS", - &decode_sockaddr_attr, - &encode_sockaddr_attr, - &clone_sockaddr_attr - }, - { - /* PJ_STUN_ATTR_USERNAME, */ - "USERNAME", - &decode_string_attr, - &encode_string_attr, - &clone_string_attr - }, - { - /* PJ_STUN_ATTR_PASSWORD, */ - "PASSWORD", - &decode_string_attr, - &encode_string_attr, - &clone_string_attr - }, - { - /* PJ_STUN_ATTR_MESSAGE_INTEGRITY, */ - "MESSAGE-INTEGRITY", - &decode_msgint_attr, - &encode_msgint_attr, - &clone_msgint_attr - }, - { - /* PJ_STUN_ATTR_ERROR_CODE, */ - "ERROR-CODE", - &decode_errcode_attr, - &encode_errcode_attr, - &clone_errcode_attr - }, - { - /* PJ_STUN_ATTR_UNKNOWN_ATTRIBUTES, */ - "UNKNOWN-ATTRIBUTES", - &decode_unknown_attr, - &encode_unknown_attr, - &clone_unknown_attr - }, - { - /* PJ_STUN_ATTR_REFLECTED_FROM, */ - "REFLECTED-FROM", - &decode_sockaddr_attr, - &encode_sockaddr_attr, - &clone_sockaddr_attr - }, - { - /* PJ_STUN_ATTR_CHANNEL_NUMBER (0x000C) */ - "CHANNEL-NUMBER", - &decode_uint_attr, - &encode_uint_attr, - &clone_uint_attr - }, - { - /* PJ_STUN_ATTR_LIFETIME, */ - "LIFETIME", - &decode_uint_attr, - &encode_uint_attr, - &clone_uint_attr - }, - { - /* ID 0x000E is not assigned */ - NULL, - NULL, - NULL, - NULL - }, - { - /* PJ_STUN_ATTR_MAGIC_COOKIE */ - "MAGIC-COOKIE", - &decode_uint_attr, - &encode_uint_attr, - &clone_uint_attr - }, - { - /* PJ_STUN_ATTR_BANDWIDTH, */ - "BANDWIDTH", - &decode_uint_attr, - &encode_uint_attr, - &clone_uint_attr - }, - { - /* ID 0x0011 is not assigned */ - NULL, - NULL, - NULL, - NULL - }, - { - /* PJ_STUN_ATTR_XOR_PEER_ADDRESS, */ - "XOR-PEER-ADDRESS", - &decode_xored_sockaddr_attr, - &encode_sockaddr_attr, - &clone_sockaddr_attr - }, - { - /* PJ_STUN_ATTR_DATA, */ - "DATA", - &decode_binary_attr, - &encode_binary_attr, - &clone_binary_attr - }, - { - /* PJ_STUN_ATTR_REALM, */ - "REALM", - &decode_string_attr, - &encode_string_attr, - &clone_string_attr - }, - { - /* PJ_STUN_ATTR_NONCE, */ - "NONCE", - &decode_string_attr, - &encode_string_attr, - &clone_string_attr - }, - { - /* PJ_STUN_ATTR_XOR_RELAYED_ADDR, */ - "XOR-RELAYED-ADDRESS", - &decode_xored_sockaddr_attr, - &encode_sockaddr_attr, - &clone_sockaddr_attr - }, - { - /* PJ_STUN_ATTR_REQUESTED_ADDR_TYPE, */ - "REQUESTED-ADDRESS-TYPE", - &decode_uint_attr, - &encode_uint_attr, - &clone_uint_attr - }, - { - /* PJ_STUN_ATTR_EVEN_PORT, */ - "EVEN-PORT", - &decode_uint_attr, - &encode_uint_attr, - &clone_uint_attr - }, - { - /* PJ_STUN_ATTR_REQUESTED_TRANSPORT, */ - "REQUESTED-TRANSPORT", - &decode_uint_attr, - &encode_uint_attr, - &clone_uint_attr - }, - { - /* PJ_STUN_ATTR_DONT_FRAGMENT */ - "DONT-FRAGMENT", - &decode_empty_attr, - &encode_empty_attr, - &clone_empty_attr - }, - { - /* ID 0x001B is not assigned */ - NULL, - NULL, - NULL, - NULL - }, - { - /* ID 0x001C is not assigned */ - NULL, - NULL, - NULL, - NULL - }, - { - /* ID 0x001D is not assigned */ - NULL, - NULL, - NULL, - NULL - }, - { - /* ID 0x001E is not assigned */ - NULL, - NULL, - NULL, - NULL - }, - { - /* ID 0x001F is not assigned */ - NULL, - NULL, - NULL, - NULL - }, - { - /* PJ_STUN_ATTR_XOR_MAPPED_ADDRESS, */ - "XOR-MAPPED-ADDRESS", - &decode_xored_sockaddr_attr, - &encode_sockaddr_attr, - &clone_sockaddr_attr - }, - { - /* PJ_STUN_ATTR_TIMER_VAL, */ - "TIMER-VAL", - &decode_uint_attr, - &encode_uint_attr, - &clone_uint_attr - }, - { - /* PJ_STUN_ATTR_RESERVATION_TOKEN, */ - "RESERVATION-TOKEN", - &decode_uint64_attr, - &encode_uint64_attr, - &clone_uint64_attr - }, - { - /* PJ_STUN_ATTR_XOR_REFLECTED_FROM, */ - "XOR-REFLECTED-FROM", - &decode_xored_sockaddr_attr, - &encode_sockaddr_attr, - &clone_sockaddr_attr - }, - { - /* PJ_STUN_ATTR_PRIORITY, */ - "PRIORITY", - &decode_uint_attr, - &encode_uint_attr, - &clone_uint_attr - }, - { - /* PJ_STUN_ATTR_USE_CANDIDATE, */ - "USE-CANDIDATE", - &decode_empty_attr, - &encode_empty_attr, - &clone_empty_attr - }, - { - /* ID 0x0026 is not assigned */ - NULL, - NULL, - NULL, - NULL - }, - { - /* ID 0x0027 is not assigned */ - NULL, - NULL, - NULL, - NULL - }, - { - /* ID 0x0028 is not assigned */ - NULL, - NULL, - NULL, - NULL - }, - { - /* ID 0x0029 is not assigned */ - NULL, - NULL, - NULL, - NULL - }, - { - /* ID 0x002a is not assigned */ - NULL, - NULL, - NULL, - NULL - }, - { - /* ID 0x002b is not assigned */ - NULL, - NULL, - NULL, - NULL - }, - { - /* ID 0x002c is not assigned */ - NULL, - NULL, - NULL, - NULL - }, - { - /* ID 0x002d is not assigned */ - NULL, - NULL, - NULL, - NULL - }, - { - /* ID 0x002e is not assigned */ - NULL, - NULL, - NULL, - NULL - }, - { - /* ID 0x002f is not assigned */ - NULL, - NULL, - NULL, - NULL - }, - { - /* PJ_STUN_ATTR_ICMP, */ - "ICMP", - &decode_uint_attr, - &encode_uint_attr, - &clone_uint_attr - }, - - /* Sentinel */ - { - /* PJ_STUN_ATTR_END_MANDATORY_ATTR */ - NULL, - NULL, - NULL, - NULL - } -}; - -static struct attr_desc extended_attr_desc[] = -{ - { - /* ID 0x8021 is not assigned */ - NULL, - NULL, - NULL, - NULL - }, - { - /* PJ_STUN_ATTR_SOFTWARE, */ - "SOFTWARE", - &decode_string_attr, - &encode_string_attr, - &clone_string_attr - }, - { - /* PJ_STUN_ATTR_ALTERNATE_SERVER, */ - "ALTERNATE-SERVER", - &decode_sockaddr_attr, - &encode_sockaddr_attr, - &clone_sockaddr_attr - }, - { - /* PJ_STUN_ATTR_REFRESH_INTERVAL, */ - "REFRESH-INTERVAL", - &decode_uint_attr, - &encode_uint_attr, - &clone_uint_attr - }, - { - /* ID 0x8025 is not assigned*/ - NULL, - NULL, - NULL, - NULL - }, - { - /* PADDING, 0x8026 */ - NULL, - NULL, - NULL, - NULL - }, - { - /* CACHE-TIMEOUT, 0x8027 */ - NULL, - NULL, - NULL, - NULL - }, - { - /* PJ_STUN_ATTR_FINGERPRINT, */ - "FINGERPRINT", - &decode_uint_attr, - &encode_uint_attr, - &clone_uint_attr - }, - { - /* PJ_STUN_ATTR_ICE_CONTROLLED, */ - "ICE-CONTROLLED", - &decode_uint64_attr, - &encode_uint64_attr, - &clone_uint64_attr - }, - { - /* PJ_STUN_ATTR_ICE_CONTROLLING, */ - "ICE-CONTROLLING", - &decode_uint64_attr, - &encode_uint64_attr, - &clone_uint64_attr - } -}; - - - -/* - * Get STUN message type name. - */ -PJ_DEF(const char*) pj_stun_get_method_name(unsigned msg_type) -{ - unsigned method = PJ_STUN_GET_METHOD(msg_type); - - if (method >= PJ_ARRAY_SIZE(stun_method_names)) - return "???"; - - return stun_method_names[method]; -} - - -/* - * Get STUN message class name. - */ -PJ_DEF(const char*) pj_stun_get_class_name(unsigned msg_type) -{ - if (PJ_STUN_IS_REQUEST(msg_type)) - return "request"; - else if (PJ_STUN_IS_SUCCESS_RESPONSE(msg_type)) - return "success response"; - else if (PJ_STUN_IS_ERROR_RESPONSE(msg_type)) - return "error response"; - else if (PJ_STUN_IS_INDICATION(msg_type)) - return "indication"; - else - return "???"; -} - - -static const struct attr_desc *find_attr_desc(unsigned attr_type) -{ - struct attr_desc *desc; - - /* Check that attr_desc array is valid */ - pj_assert(PJ_ARRAY_SIZE(mandatory_attr_desc)== - PJ_STUN_ATTR_END_MANDATORY_ATTR+1); - pj_assert(mandatory_attr_desc[PJ_STUN_ATTR_END_MANDATORY_ATTR].decode_attr - == NULL); - pj_assert(mandatory_attr_desc[PJ_STUN_ATTR_USE_CANDIDATE].decode_attr - == &decode_empty_attr); - pj_assert(PJ_ARRAY_SIZE(extended_attr_desc) == - PJ_STUN_ATTR_END_EXTENDED_ATTR-PJ_STUN_ATTR_START_EXTENDED_ATTR); - - if (attr_type < PJ_STUN_ATTR_END_MANDATORY_ATTR) - desc = &mandatory_attr_desc[attr_type]; - else if (attr_type >= PJ_STUN_ATTR_START_EXTENDED_ATTR && - attr_type < PJ_STUN_ATTR_END_EXTENDED_ATTR) - desc = &extended_attr_desc[attr_type-PJ_STUN_ATTR_START_EXTENDED_ATTR]; - else - return NULL; - - return desc->decode_attr == NULL ? NULL : desc; -} - - -/* - * Get STUN attribute name. - */ -PJ_DEF(const char*) pj_stun_get_attr_name(unsigned attr_type) -{ - const struct attr_desc *attr_desc; - - attr_desc = find_attr_desc(attr_type); - if (!attr_desc || attr_desc->name==NULL) - return "???"; - - return attr_desc->name; -} - - -/** - * Get STUN standard reason phrase for the specified error code. - */ -PJ_DEF(pj_str_t) pj_stun_get_err_reason(int err_code) -{ -#if 0 - /* Find error using linear search */ - unsigned i; - - for (i=0; i 0) { - int half = n/2; - int mid = first + half; - - if (stun_err_msg_map[mid].err_code < err_code) { - first = mid+1; - n -= (half+1); - } else if (stun_err_msg_map[mid].err_code > err_code) { - n = half; - } else { - first = mid; - break; - } - } - - - if (stun_err_msg_map[first].err_code == err_code) { - return pj_str((char*)stun_err_msg_map[first].err_msg); - } else { - return pj_str(NULL); - } -#endif -} - - -/* - * Set padding character. - */ -PJ_DEF(int) pj_stun_set_padding_char(int chr) -{ - int old_pad = padding_char; - padding_char = chr; - return old_pad; -} - - -////////////////////////////////////////////////////////////////////////////// - - -#define INIT_ATTR(a,t,l) (a)->hdr.type=(pj_uint16_t)(t), \ - (a)->hdr.length=(pj_uint16_t)(l) -#define ATTR_HDR_LEN 4 - -static pj_uint16_t GETVAL16H(const pj_uint8_t *buf, unsigned pos) -{ - return (pj_uint16_t) ((buf[pos + 0] << 8) | \ - (buf[pos + 1] << 0)); -} - -PJ_INLINE(pj_uint16_t) GETVAL16N(const pj_uint8_t *buf, unsigned pos) -{ - return pj_htons(GETVAL16H(buf,pos)); -} - -static void PUTVAL16H(pj_uint8_t *buf, unsigned pos, pj_uint16_t hval) -{ - buf[pos+0] = (pj_uint8_t) ((hval & 0xFF00) >> 8); - buf[pos+1] = (pj_uint8_t) ((hval & 0x00FF) >> 0); -} - -PJ_INLINE(pj_uint32_t) GETVAL32H(const pj_uint8_t *buf, unsigned pos) -{ - return (pj_uint32_t) ((buf[pos + 0] << 24UL) | \ - (buf[pos + 1] << 16UL) | \ - (buf[pos + 2] << 8UL) | \ - (buf[pos + 3] << 0UL)); -} - -PJ_INLINE(pj_uint32_t) GETVAL32N(const pj_uint8_t *buf, unsigned pos) -{ - return pj_htonl(GETVAL32H(buf,pos)); -} - -static void PUTVAL32H(pj_uint8_t *buf, unsigned pos, pj_uint32_t hval) -{ - buf[pos+0] = (pj_uint8_t) ((hval & 0xFF000000UL) >> 24); - buf[pos+1] = (pj_uint8_t) ((hval & 0x00FF0000UL) >> 16); - buf[pos+2] = (pj_uint8_t) ((hval & 0x0000FF00UL) >> 8); - buf[pos+3] = (pj_uint8_t) ((hval & 0x000000FFUL) >> 0); -} - -static void GETVAL64H(const pj_uint8_t *buf, unsigned pos, pj_timestamp *ts) -{ - ts->u32.hi = GETVAL32H(buf, pos); - ts->u32.lo = GETVAL32H(buf, pos+4); -} - -static void PUTVAL64H(pj_uint8_t *buf, unsigned pos, const pj_timestamp *ts) -{ - PUTVAL32H(buf, pos, ts->u32.hi); - PUTVAL32H(buf, pos+4, ts->u32.lo); -} - - -static void GETATTRHDR(const pj_uint8_t *buf, pj_stun_attr_hdr *hdr) -{ - hdr->type = GETVAL16H(buf, 0); - hdr->length = GETVAL16H(buf, 2); -} - -////////////////////////////////////////////////////////////////////////////// -/* - * STUN generic IP address container - */ -#define STUN_GENERIC_IPV4_ADDR_LEN 8 -#define STUN_GENERIC_IPV6_ADDR_LEN 20 - -/* - * Init sockaddr attr - */ -PJ_DEF(pj_status_t) pj_stun_sockaddr_attr_init( pj_stun_sockaddr_attr *attr, - int attr_type, - pj_bool_t xor_ed, - const pj_sockaddr_t *addr, - unsigned addr_len) -{ - unsigned attr_len; - - PJ_ASSERT_RETURN(attr && addr_len && addr, PJ_EINVAL); - PJ_ASSERT_RETURN(addr_len == sizeof(pj_sockaddr_in) || - addr_len == sizeof(pj_sockaddr_in6), PJ_EINVAL); - - attr_len = pj_sockaddr_get_addr_len(addr) + 4; - INIT_ATTR(attr, attr_type, attr_len); - - pj_memcpy(&attr->sockaddr, addr, addr_len); - attr->xor_ed = xor_ed; - - return PJ_SUCCESS; -} - - -/* - * Create a generic STUN IP address attribute for IPv4 address. - */ -PJ_DEF(pj_status_t) pj_stun_sockaddr_attr_create(pj_pool_t *pool, - int attr_type, - pj_bool_t xor_ed, - const pj_sockaddr_t *addr, - unsigned addr_len, - pj_stun_sockaddr_attr **p_attr) -{ - pj_stun_sockaddr_attr *attr; - - PJ_ASSERT_RETURN(pool && p_attr, PJ_EINVAL); - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_sockaddr_attr); - *p_attr = attr; - return pj_stun_sockaddr_attr_init(attr, attr_type, xor_ed, - addr, addr_len); -} - - -/* - * Create and add generic STUN IP address attribute to a STUN message. - */ -PJ_DEF(pj_status_t) pj_stun_msg_add_sockaddr_attr(pj_pool_t *pool, - pj_stun_msg *msg, - int attr_type, - pj_bool_t xor_ed, - const pj_sockaddr_t *addr, - unsigned addr_len) -{ - pj_stun_sockaddr_attr *attr; - pj_status_t status; - - status = pj_stun_sockaddr_attr_create(pool, attr_type, xor_ed, - addr, addr_len, &attr); - if (status != PJ_SUCCESS) - return status; - - return pj_stun_msg_add_attr(msg, &attr->hdr); -} - -static pj_status_t decode_sockaddr_attr(pj_pool_t *pool, - const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, - void **p_attr) -{ - pj_stun_sockaddr_attr *attr; - int af; - unsigned addr_len; - pj_uint32_t val; - - PJ_CHECK_STACK(); - - PJ_UNUSED_ARG(msghdr); - - /* Create the attribute */ - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_sockaddr_attr); - GETATTRHDR(buf, &attr->hdr); - - /* Check that the attribute length is valid */ - if (attr->hdr.length != STUN_GENERIC_IPV4_ADDR_LEN && - attr->hdr.length != STUN_GENERIC_IPV6_ADDR_LEN) - { - return PJNATH_ESTUNINATTRLEN; - } - - /* Check address family */ - val = *(pj_uint8_t*)(buf + ATTR_HDR_LEN + 1); - - /* Check address family is valid */ - if (val == 1) { - if (attr->hdr.length != STUN_GENERIC_IPV4_ADDR_LEN) - return PJNATH_ESTUNINATTRLEN; - af = pj_AF_INET(); - addr_len = 4; - } else if (val == 2) { - if (attr->hdr.length != STUN_GENERIC_IPV6_ADDR_LEN) - return PJNATH_ESTUNINATTRLEN; - af = pj_AF_INET6(); - addr_len = 16; - } else { - /* Invalid address family */ - return PJNATH_EINVAF; - } - - /* Get port and address */ - pj_sockaddr_init(af, &attr->sockaddr, NULL, 0); - pj_sockaddr_set_port(&attr->sockaddr, - GETVAL16H(buf, ATTR_HDR_LEN+2)); - pj_memcpy(pj_sockaddr_get_addr(&attr->sockaddr), - buf+ATTR_HDR_LEN+4, - addr_len); - - /* Done */ - *p_attr = (void*)attr; - - return PJ_SUCCESS; -} - - -static pj_status_t decode_xored_sockaddr_attr(pj_pool_t *pool, - const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, - void **p_attr) -{ - pj_stun_sockaddr_attr *attr; - pj_status_t status; - - status = decode_sockaddr_attr(pool, buf, msghdr, p_attr); - if (status != PJ_SUCCESS) - return status; - - attr = *(pj_stun_sockaddr_attr**)p_attr; - - attr->xor_ed = PJ_TRUE; - - if (attr->sockaddr.addr.sa_family == pj_AF_INET()) { - attr->sockaddr.ipv4.sin_port ^= pj_htons(PJ_STUN_MAGIC >> 16); - attr->sockaddr.ipv4.sin_addr.s_addr ^= pj_htonl(PJ_STUN_MAGIC); - } else if (attr->sockaddr.addr.sa_family == pj_AF_INET6()) { - unsigned i; - pj_uint8_t *dst = (pj_uint8_t*) &attr->sockaddr.ipv6.sin6_addr; - pj_uint32_t magic = pj_htonl(PJ_STUN_MAGIC); - - attr->sockaddr.ipv6.sin6_port ^= pj_htons(PJ_STUN_MAGIC >> 16); - - /* If the IP address family is IPv6, X-Address is computed by - * taking the mapped IP address in host byte order, XOR'ing it - * with the concatenation of the magic cookie and the 96-bit - * transaction ID, and converting the result to network byte - * order. - */ - for (i=0; i<4; ++i) { - dst[i] ^= ((const pj_uint8_t*)&magic)[i]; - } - pj_assert(sizeof(msghdr->tsx_id[0]) == 1); - for (i=0; i<12; ++i) { - dst[i+4] ^= msghdr->tsx_id[i]; - } - - } else { - return PJNATH_EINVAF; - } - - /* Done */ - *p_attr = attr; - - return PJ_SUCCESS; -} - - -static pj_status_t encode_sockaddr_attr(const void *a, pj_uint8_t *buf, - unsigned len, - const pj_stun_msg_hdr *msghdr, - unsigned *printed) -{ - pj_uint8_t *start_buf = buf; - const pj_stun_sockaddr_attr *ca = - (const pj_stun_sockaddr_attr *)a; - - PJ_CHECK_STACK(); - - /* Common: attribute type */ - PUTVAL16H(buf, 0, ca->hdr.type); - - if (ca->sockaddr.addr.sa_family == pj_AF_INET()) { - enum { - ATTR_LEN = ATTR_HDR_LEN + STUN_GENERIC_IPV4_ADDR_LEN - }; - - if (len < ATTR_LEN) - return PJ_ETOOSMALL; - - /* attribute len */ - PUTVAL16H(buf, 2, STUN_GENERIC_IPV4_ADDR_LEN); - buf += ATTR_HDR_LEN; - - /* Ignored */ - *buf++ = '\0'; - - /* Address family, 1 for IPv4 */ - *buf++ = 1; - - /* IPv4 address */ - if (ca->xor_ed) { - pj_uint32_t addr; - pj_uint16_t port; - - addr = ca->sockaddr.ipv4.sin_addr.s_addr; - port = ca->sockaddr.ipv4.sin_port; - - port ^= pj_htons(PJ_STUN_MAGIC >> 16); - addr ^= pj_htonl(PJ_STUN_MAGIC); - - /* Port */ - pj_memcpy(buf, &port, 2); - buf += 2; - - /* Address */ - pj_memcpy(buf, &addr, 4); - buf += 4; - - } else { - /* Port */ - pj_memcpy(buf, &ca->sockaddr.ipv4.sin_port, 2); - buf += 2; - - /* Address */ - pj_memcpy(buf, &ca->sockaddr.ipv4.sin_addr, 4); - buf += 4; - } - - pj_assert(buf - start_buf == ATTR_LEN); - - } else if (ca->sockaddr.addr.sa_family == pj_AF_INET6()) { - /* IPv6 address */ - enum { - ATTR_LEN = ATTR_HDR_LEN + STUN_GENERIC_IPV6_ADDR_LEN - }; - - if (len < ATTR_LEN) - return PJ_ETOOSMALL; - - /* attribute len */ - PUTVAL16H(buf, 2, STUN_GENERIC_IPV6_ADDR_LEN); - buf += ATTR_HDR_LEN; - - /* Ignored */ - *buf++ = '\0'; - - /* Address family, 2 for IPv6 */ - *buf++ = 2; - - /* IPv6 address */ - if (ca->xor_ed) { - unsigned i; - pj_uint8_t *dst; - const pj_uint8_t *src; - pj_uint32_t magic = pj_htonl(PJ_STUN_MAGIC); - pj_uint16_t port = ca->sockaddr.ipv6.sin6_port; - - /* Port */ - port ^= pj_htons(PJ_STUN_MAGIC >> 16); - pj_memcpy(buf, &port, 2); - buf += 2; - - /* Address */ - dst = buf; - src = (const pj_uint8_t*) &ca->sockaddr.ipv6.sin6_addr; - for (i=0; i<4; ++i) { - dst[i] = (pj_uint8_t)(src[i] ^ ((const pj_uint8_t*)&magic)[i]); - } - pj_assert(sizeof(msghdr->tsx_id[0]) == 1); - for (i=0; i<12; ++i) { - dst[i+4] = (pj_uint8_t)(src[i+4] ^ msghdr->tsx_id[i]); - } - - buf += 16; - - } else { - /* Port */ - pj_memcpy(buf, &ca->sockaddr.ipv6.sin6_port, 2); - buf += 2; - - /* Address */ - pj_memcpy(buf, &ca->sockaddr.ipv6.sin6_addr, 16); - buf += 16; - } - - pj_assert(buf - start_buf == ATTR_LEN); - - } else { - return PJNATH_EINVAF; - } - - /* Done */ - *printed = buf - start_buf; - - return PJ_SUCCESS; -} - - -static void* clone_sockaddr_attr(pj_pool_t *pool, const void *src) -{ - pj_stun_sockaddr_attr *dst = PJ_POOL_ALLOC_T(pool, pj_stun_sockaddr_attr); - pj_memcpy(dst, src, sizeof(pj_stun_sockaddr_attr)); - return (void*)dst; -} - -////////////////////////////////////////////////////////////////////////////// -/* - * STUN generic string attribute - */ - -/* - * Initialize a STUN generic string attribute. - */ -PJ_DEF(pj_status_t) pj_stun_string_attr_init( pj_stun_string_attr *attr, - pj_pool_t *pool, - int attr_type, - const pj_str_t *value) -{ - INIT_ATTR(attr, attr_type, value->slen); - if (value && value->slen) - pj_strdup(pool, &attr->value, value); - else - attr->value.slen = 0; - return PJ_SUCCESS; -} - - -/* - * Create a STUN generic string attribute. - */ -PJ_DEF(pj_status_t) pj_stun_string_attr_create(pj_pool_t *pool, - int attr_type, - const pj_str_t *value, - pj_stun_string_attr **p_attr) -{ - pj_stun_string_attr *attr; - - PJ_ASSERT_RETURN(pool && value && p_attr, PJ_EINVAL); - - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_string_attr); - *p_attr = attr; - - return pj_stun_string_attr_init(attr, pool, attr_type, value); -} - - -/* - * Create and add STUN generic string attribute to the message. - */ -PJ_DEF(pj_status_t) pj_stun_msg_add_string_attr(pj_pool_t *pool, - pj_stun_msg *msg, - int attr_type, - const pj_str_t *value) -{ - pj_stun_string_attr *attr = NULL; - pj_status_t status; - - status = pj_stun_string_attr_create(pool, attr_type, value, - &attr); - if (status != PJ_SUCCESS) - return status; - - return pj_stun_msg_add_attr(msg, &attr->hdr); -} - - -static pj_status_t decode_string_attr(pj_pool_t *pool, - const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, - void **p_attr) -{ - pj_stun_string_attr *attr; - pj_str_t value; - - PJ_UNUSED_ARG(msghdr); - - /* Create the attribute */ - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_string_attr); - GETATTRHDR(buf, &attr->hdr); - - /* Get pointer to the string in the message */ - value.ptr = ((char*)buf + ATTR_HDR_LEN); - value.slen = attr->hdr.length; - - /* Copy the string to the attribute */ - pj_strdup(pool, &attr->value, &value); - - /* Done */ - *p_attr = attr; - - return PJ_SUCCESS; - -} - - -static pj_status_t encode_string_attr(const void *a, pj_uint8_t *buf, - unsigned len, - const pj_stun_msg_hdr *msghdr, - unsigned *printed) -{ - const pj_stun_string_attr *ca = - (const pj_stun_string_attr*)a; - - PJ_CHECK_STACK(); - - PJ_UNUSED_ARG(msghdr); - - /* Calculated total attr_len (add padding if necessary) */ - *printed = (ca->value.slen + ATTR_HDR_LEN + 3) & (~3); - if (len < *printed) { - *printed = 0; - return PJ_ETOOSMALL; - } - - PUTVAL16H(buf, 0, ca->hdr.type); - - /* Special treatment for SOFTWARE attribute: - * This attribute had caused interop problem when talking to - * legacy RFC 3489 STUN servers, due to different "length" - * rules with RFC 5389. - */ - if (msghdr->magic != PJ_STUN_MAGIC || - ca->hdr.type == PJ_STUN_ATTR_SOFTWARE) - { - /* Set the length to be 4-bytes aligned so that we can - * communicate with RFC 3489 endpoints - */ - PUTVAL16H(buf, 2, (pj_uint16_t)((ca->value.slen + 3) & (~3))); - } else { - /* Use RFC 5389 rule */ - PUTVAL16H(buf, 2, (pj_uint16_t)ca->value.slen); - } - - /* Copy the string */ - pj_memcpy(buf+ATTR_HDR_LEN, ca->value.ptr, ca->value.slen); - - /* Add padding character, if string is not 4-bytes aligned. */ - if (ca->value.slen & 0x03) { - pj_uint8_t pad[3]; - pj_memset(pad, padding_char, sizeof(pad)); - pj_memcpy(buf+ATTR_HDR_LEN+ca->value.slen, pad, - 4-(ca->value.slen & 0x03)); - } - - /* Done */ - return PJ_SUCCESS; -} - - -static void* clone_string_attr(pj_pool_t *pool, const void *src) -{ - const pj_stun_string_attr *asrc = (const pj_stun_string_attr*)src; - pj_stun_string_attr *dst = PJ_POOL_ALLOC_T(pool, pj_stun_string_attr); - - pj_memcpy(dst, src, sizeof(pj_stun_attr_hdr)); - pj_strdup(pool, &dst->value, &asrc->value); - - return (void*)dst; -} - -////////////////////////////////////////////////////////////////////////////// -/* - * STUN empty attribute (used by USE-CANDIDATE). - */ - -/* - * Create a STUN empty attribute. - */ -PJ_DEF(pj_status_t) pj_stun_empty_attr_create(pj_pool_t *pool, - int attr_type, - pj_stun_empty_attr **p_attr) -{ - pj_stun_empty_attr *attr; - - PJ_ASSERT_RETURN(pool && p_attr, PJ_EINVAL); - - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_empty_attr); - INIT_ATTR(attr, attr_type, 0); - - *p_attr = attr; - - return PJ_SUCCESS; -} - - -/* - * Create STUN empty attribute and add the attribute to the message. - */ -PJ_DEF(pj_status_t) pj_stun_msg_add_empty_attr( pj_pool_t *pool, - pj_stun_msg *msg, - int attr_type) -{ - pj_stun_empty_attr *attr = NULL; - pj_status_t status; - - status = pj_stun_empty_attr_create(pool, attr_type, &attr); - if (status != PJ_SUCCESS) - return status; - - return pj_stun_msg_add_attr(msg, &attr->hdr); -} - -static pj_status_t decode_empty_attr(pj_pool_t *pool, - const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, - void **p_attr) -{ - pj_stun_empty_attr *attr; - - PJ_UNUSED_ARG(msghdr); - - /* Check that the struct address is valid */ - pj_assert(sizeof(pj_stun_empty_attr) == ATTR_HDR_LEN); - - /* Create the attribute */ - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_empty_attr); - GETATTRHDR(buf, &attr->hdr); - - /* Check that the attribute length is valid */ - if (attr->hdr.length != 0) - return PJNATH_ESTUNINATTRLEN; - - /* Done */ - *p_attr = attr; - - return PJ_SUCCESS; -} - - -static pj_status_t encode_empty_attr(const void *a, pj_uint8_t *buf, - unsigned len, - const pj_stun_msg_hdr *msghdr, - unsigned *printed) -{ - const pj_stun_empty_attr *ca = (pj_stun_empty_attr*)a; - - PJ_UNUSED_ARG(msghdr); - - if (len < ATTR_HDR_LEN) - return PJ_ETOOSMALL; - - PUTVAL16H(buf, 0, ca->hdr.type); - PUTVAL16H(buf, 2, 0); - - /* Done */ - *printed = ATTR_HDR_LEN; - - return PJ_SUCCESS; -} - - -static void* clone_empty_attr(pj_pool_t *pool, const void *src) -{ - pj_stun_empty_attr *dst = PJ_POOL_ALLOC_T(pool, pj_stun_empty_attr); - - pj_memcpy(dst, src, sizeof(pj_stun_empty_attr)); - - return (void*) dst; -} - -////////////////////////////////////////////////////////////////////////////// -/* - * STUN generic 32bit integer attribute. - */ - -/* - * Create a STUN generic 32bit value attribute. - */ -PJ_DEF(pj_status_t) pj_stun_uint_attr_create(pj_pool_t *pool, - int attr_type, - pj_uint32_t value, - pj_stun_uint_attr **p_attr) -{ - pj_stun_uint_attr *attr; - - PJ_ASSERT_RETURN(pool && p_attr, PJ_EINVAL); - - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_uint_attr); - INIT_ATTR(attr, attr_type, 4); - attr->value = value; - - *p_attr = attr; - - return PJ_SUCCESS; -} - -/* Create and add STUN generic 32bit value attribute to the message. */ -PJ_DEF(pj_status_t) pj_stun_msg_add_uint_attr(pj_pool_t *pool, - pj_stun_msg *msg, - int attr_type, - pj_uint32_t value) -{ - pj_stun_uint_attr *attr = NULL; - pj_status_t status; - - status = pj_stun_uint_attr_create(pool, attr_type, value, &attr); - if (status != PJ_SUCCESS) - return status; - - return pj_stun_msg_add_attr(msg, &attr->hdr); -} - -static pj_status_t decode_uint_attr(pj_pool_t *pool, - const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, - void **p_attr) -{ - pj_stun_uint_attr *attr; - - PJ_UNUSED_ARG(msghdr); - - /* Create the attribute */ - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_uint_attr); - GETATTRHDR(buf, &attr->hdr); - - attr->value = GETVAL32H(buf, 4); - - /* Check that the attribute length is valid */ - if (attr->hdr.length != 4) - return PJNATH_ESTUNINATTRLEN; - - /* Done */ - *p_attr = attr; - - return PJ_SUCCESS; -} - - -static pj_status_t encode_uint_attr(const void *a, pj_uint8_t *buf, - unsigned len, - const pj_stun_msg_hdr *msghdr, - unsigned *printed) -{ - const pj_stun_uint_attr *ca = (const pj_stun_uint_attr*)a; - - PJ_CHECK_STACK(); - - PJ_UNUSED_ARG(msghdr); - - if (len < 8) - return PJ_ETOOSMALL; - - PUTVAL16H(buf, 0, ca->hdr.type); - PUTVAL16H(buf, 2, (pj_uint16_t)4); - PUTVAL32H(buf, 4, ca->value); - - /* Done */ - *printed = 8; - - return PJ_SUCCESS; -} - - -static void* clone_uint_attr(pj_pool_t *pool, const void *src) -{ - pj_stun_uint_attr *dst = PJ_POOL_ALLOC_T(pool, pj_stun_uint_attr); - - pj_memcpy(dst, src, sizeof(pj_stun_uint_attr)); - - return (void*)dst; -} - -////////////////////////////////////////////////////////////////////////////// - -/* - * Create a STUN generic 64bit value attribute. - */ -PJ_DEF(pj_status_t) pj_stun_uint64_attr_create(pj_pool_t *pool, - int attr_type, - const pj_timestamp *value, - pj_stun_uint64_attr **p_attr) -{ - pj_stun_uint64_attr *attr; - - PJ_ASSERT_RETURN(pool && p_attr, PJ_EINVAL); - - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_uint64_attr); - INIT_ATTR(attr, attr_type, 8); - - if (value) { - attr->value.u32.hi = value->u32.hi; - attr->value.u32.lo = value->u32.lo; - } - - *p_attr = attr; - - return PJ_SUCCESS; -} - -/* Create and add STUN generic 64bit value attribute to the message. */ -PJ_DEF(pj_status_t) pj_stun_msg_add_uint64_attr(pj_pool_t *pool, - pj_stun_msg *msg, - int attr_type, - const pj_timestamp *value) -{ - pj_stun_uint64_attr *attr = NULL; - pj_status_t status; - - status = pj_stun_uint64_attr_create(pool, attr_type, value, &attr); - if (status != PJ_SUCCESS) - return status; - - return pj_stun_msg_add_attr(msg, &attr->hdr); -} - -static pj_status_t decode_uint64_attr(pj_pool_t *pool, - const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, - void **p_attr) -{ - pj_stun_uint64_attr *attr; - - PJ_UNUSED_ARG(msghdr); - - /* Create the attribute */ - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_uint64_attr); - GETATTRHDR(buf, &attr->hdr); - - if (attr->hdr.length != 8) - return PJNATH_ESTUNINATTRLEN; - - GETVAL64H(buf, 4, &attr->value); - - /* Done */ - *p_attr = attr; - - return PJ_SUCCESS; -} - - -static pj_status_t encode_uint64_attr(const void *a, pj_uint8_t *buf, - unsigned len, - const pj_stun_msg_hdr *msghdr, - unsigned *printed) -{ - const pj_stun_uint64_attr *ca = (const pj_stun_uint64_attr*)a; - - PJ_CHECK_STACK(); - - PJ_UNUSED_ARG(msghdr); - - if (len < 12) - return PJ_ETOOSMALL; - - PUTVAL16H(buf, 0, ca->hdr.type); - PUTVAL16H(buf, 2, (pj_uint16_t)8); - PUTVAL64H(buf, 4, &ca->value); - - /* Done */ - *printed = 12; - - return PJ_SUCCESS; -} - - -static void* clone_uint64_attr(pj_pool_t *pool, const void *src) -{ - pj_stun_uint64_attr *dst = PJ_POOL_ALLOC_T(pool, pj_stun_uint64_attr); - - pj_memcpy(dst, src, sizeof(pj_stun_uint64_attr)); - - return (void*)dst; -} - - -////////////////////////////////////////////////////////////////////////////// -/* - * STUN MESSAGE-INTEGRITY attribute. - */ - -/* - * Create a STUN MESSAGE-INTEGRITY attribute. - */ -PJ_DEF(pj_status_t) pj_stun_msgint_attr_create(pj_pool_t *pool, - pj_stun_msgint_attr **p_attr) -{ - pj_stun_msgint_attr *attr; - - PJ_ASSERT_RETURN(pool && p_attr, PJ_EINVAL); - - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_msgint_attr); - INIT_ATTR(attr, PJ_STUN_ATTR_MESSAGE_INTEGRITY, 20); - - *p_attr = attr; - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pj_stun_msg_add_msgint_attr(pj_pool_t *pool, - pj_stun_msg *msg) -{ - pj_stun_msgint_attr *attr = NULL; - pj_status_t status; - - status = pj_stun_msgint_attr_create(pool, &attr); - if (status != PJ_SUCCESS) - return status; - - return pj_stun_msg_add_attr(msg, &attr->hdr); -} - -static pj_status_t decode_msgint_attr(pj_pool_t *pool, - const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, - void **p_attr) -{ - pj_stun_msgint_attr *attr; - - PJ_UNUSED_ARG(msghdr); - - /* Create attribute */ - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_msgint_attr); - GETATTRHDR(buf, &attr->hdr); - - /* Check that the attribute length is valid */ - if (attr->hdr.length != 20) - return PJNATH_ESTUNINATTRLEN; - - /* Copy hmac */ - pj_memcpy(attr->hmac, buf+4, 20); - - /* Done */ - *p_attr = attr; - return PJ_SUCCESS; -} - - -static pj_status_t encode_msgint_attr(const void *a, pj_uint8_t *buf, - unsigned len, - const pj_stun_msg_hdr *msghdr, - unsigned *printed) -{ - const pj_stun_msgint_attr *ca = (const pj_stun_msgint_attr*)a; - - PJ_CHECK_STACK(); - - PJ_UNUSED_ARG(msghdr); - - if (len < 24) - return PJ_ETOOSMALL; - - /* Copy and convert attribute to network byte order */ - PUTVAL16H(buf, 0, ca->hdr.type); - PUTVAL16H(buf, 2, ca->hdr.length); - - pj_memcpy(buf+4, ca->hmac, 20); - - /* Done */ - *printed = 24; - - return PJ_SUCCESS; -} - - -static void* clone_msgint_attr(pj_pool_t *pool, const void *src) -{ - pj_stun_msgint_attr *dst = PJ_POOL_ALLOC_T(pool, pj_stun_msgint_attr); - - pj_memcpy(dst, src, sizeof(pj_stun_msgint_attr)); - - return (void*) dst; -} - -////////////////////////////////////////////////////////////////////////////// -/* - * STUN ERROR-CODE - */ - -/* - * Create a STUN ERROR-CODE attribute. - */ -PJ_DEF(pj_status_t) pj_stun_errcode_attr_create(pj_pool_t *pool, - int err_code, - const pj_str_t *err_reason, - pj_stun_errcode_attr **p_attr) -{ - pj_stun_errcode_attr *attr; - char err_buf[80]; - pj_str_t str; - - PJ_ASSERT_RETURN(pool && err_code && p_attr, PJ_EINVAL); - - if (err_reason == NULL) { - str = pj_stun_get_err_reason(err_code); - if (str.slen == 0) { - str.slen = pj_ansi_snprintf(err_buf, sizeof(err_buf), - "Unknown error %d", err_code); - str.ptr = err_buf; - } - err_reason = &str; - } - - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_errcode_attr); - INIT_ATTR(attr, PJ_STUN_ATTR_ERROR_CODE, 4+err_reason->slen); - attr->err_code = err_code; - pj_strdup(pool, &attr->reason, err_reason); - - *p_attr = attr; - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pj_stun_msg_add_errcode_attr(pj_pool_t *pool, - pj_stun_msg *msg, - int err_code, - const pj_str_t *err_reason) -{ - pj_stun_errcode_attr *err_attr = NULL; - pj_status_t status; - - status = pj_stun_errcode_attr_create(pool, err_code, err_reason, - &err_attr); - if (status != PJ_SUCCESS) - return status; - - return pj_stun_msg_add_attr(msg, &err_attr->hdr); -} - -static pj_status_t decode_errcode_attr(pj_pool_t *pool, - const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, - void **p_attr) -{ - pj_stun_errcode_attr *attr; - pj_str_t value; - - PJ_UNUSED_ARG(msghdr); - - /* Create the attribute */ - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_errcode_attr); - GETATTRHDR(buf, &attr->hdr); - - attr->err_code = buf[6] * 100 + buf[7]; - - /* Get pointer to the string in the message */ - value.ptr = ((char*)buf + ATTR_HDR_LEN + 4); - value.slen = attr->hdr.length - 4; - - /* Copy the string to the attribute */ - pj_strdup(pool, &attr->reason, &value); - - /* Done */ - *p_attr = attr; - - return PJ_SUCCESS; -} - - -static pj_status_t encode_errcode_attr(const void *a, pj_uint8_t *buf, - unsigned len, - const pj_stun_msg_hdr *msghdr, - unsigned *printed) -{ - const pj_stun_errcode_attr *ca = - (const pj_stun_errcode_attr*)a; - - PJ_CHECK_STACK(); - - PJ_UNUSED_ARG(msghdr); - - if (len < ATTR_HDR_LEN + 4 + (unsigned)ca->reason.slen) - return PJ_ETOOSMALL; - - /* Copy and convert attribute to network byte order */ - PUTVAL16H(buf, 0, ca->hdr.type); - PUTVAL16H(buf, 2, (pj_uint16_t)(4 + ca->reason.slen)); - PUTVAL16H(buf, 4, 0); - buf[6] = (pj_uint8_t)(ca->err_code / 100); - buf[7] = (pj_uint8_t)(ca->err_code % 100); - - /* Copy error string */ - pj_memcpy(buf + ATTR_HDR_LEN + 4, ca->reason.ptr, ca->reason.slen); - - /* Done */ - *printed = (ATTR_HDR_LEN + 4 + ca->reason.slen + 3) & (~3); - - return PJ_SUCCESS; -} - - -static void* clone_errcode_attr(pj_pool_t *pool, const void *src) -{ - const pj_stun_errcode_attr *asrc = (const pj_stun_errcode_attr*)src; - pj_stun_errcode_attr *dst = PJ_POOL_ALLOC_T(pool, pj_stun_errcode_attr); - - pj_memcpy(dst, src, sizeof(pj_stun_errcode_attr)); - pj_strdup(pool, &dst->reason, &asrc->reason); - - return (void*)dst; -} - -////////////////////////////////////////////////////////////////////////////// -/* - * STUN UNKNOWN-ATTRIBUTES attribute - */ - -/* - * Create an empty instance of STUN UNKNOWN-ATTRIBUTES attribute. - * - * @param pool The pool to allocate memory from. - * @param p_attr Pointer to receive the attribute. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DEF(pj_status_t) pj_stun_unknown_attr_create(pj_pool_t *pool, - unsigned attr_cnt, - const pj_uint16_t attr_array[], - pj_stun_unknown_attr **p_attr) -{ - pj_stun_unknown_attr *attr; - unsigned i; - - PJ_ASSERT_RETURN(pool && attr_cnt < PJ_STUN_MAX_ATTR && p_attr, PJ_EINVAL); - - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_unknown_attr); - INIT_ATTR(attr, PJ_STUN_ATTR_UNKNOWN_ATTRIBUTES, attr_cnt * 2); - - attr->attr_count = attr_cnt; - for (i=0; iattrs[i] = attr_array[i]; - } - - /* If the number of unknown attributes is an odd number, one of the - * attributes MUST be repeated in the list. - */ - /* No longer necessary - if ((attr_cnt & 0x01)) { - attr->attrs[attr_cnt] = attr_array[attr_cnt-1]; - } - */ - - *p_attr = attr; - - return PJ_SUCCESS; -} - - -/* Create and add STUN UNKNOWN-ATTRIBUTES attribute to the message. */ -PJ_DEF(pj_status_t) pj_stun_msg_add_unknown_attr(pj_pool_t *pool, - pj_stun_msg *msg, - unsigned attr_cnt, - const pj_uint16_t attr_type[]) -{ - pj_stun_unknown_attr *attr = NULL; - pj_status_t status; - - status = pj_stun_unknown_attr_create(pool, attr_cnt, attr_type, &attr); - if (status != PJ_SUCCESS) - return status; - - return pj_stun_msg_add_attr(msg, &attr->hdr); -} - -static pj_status_t decode_unknown_attr(pj_pool_t *pool, - const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, - void **p_attr) -{ - pj_stun_unknown_attr *attr; - const pj_uint16_t *punk_attr; - unsigned i; - - PJ_UNUSED_ARG(msghdr); - - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_unknown_attr); - GETATTRHDR(buf, &attr->hdr); - - attr->attr_count = (attr->hdr.length >> 1); - if (attr->attr_count > PJ_STUN_MAX_ATTR) - return PJ_ETOOMANY; - - punk_attr = (const pj_uint16_t*)(buf + ATTR_HDR_LEN); - for (i=0; iattr_count; ++i) { - attr->attrs[i] = pj_ntohs(punk_attr[i]); - } - - /* Done */ - *p_attr = attr; - - return PJ_SUCCESS; -} - - -static pj_status_t encode_unknown_attr(const void *a, pj_uint8_t *buf, - unsigned len, - const pj_stun_msg_hdr *msghdr, - unsigned *printed) -{ - const pj_stun_unknown_attr *ca = (const pj_stun_unknown_attr*) a; - pj_uint16_t *dst_unk_attr; - unsigned i; - - PJ_CHECK_STACK(); - - PJ_UNUSED_ARG(msghdr); - - /* Check that buffer is enough */ - if (len < ATTR_HDR_LEN + (ca->attr_count << 1)) - return PJ_ETOOSMALL; - - PUTVAL16H(buf, 0, ca->hdr.type); - PUTVAL16H(buf, 2, (pj_uint16_t)(ca->attr_count << 1)); - - /* Copy individual attribute */ - dst_unk_attr = (pj_uint16_t*)(buf + ATTR_HDR_LEN); - for (i=0; i < ca->attr_count; ++i, ++dst_unk_attr) { - *dst_unk_attr = pj_htons(ca->attrs[i]); - } - - /* Done */ - *printed = (ATTR_HDR_LEN + (ca->attr_count << 1) + 3) & (~3); - - return PJ_SUCCESS; -} - - -static void* clone_unknown_attr(pj_pool_t *pool, const void *src) -{ - pj_stun_unknown_attr *dst = PJ_POOL_ALLOC_T(pool, pj_stun_unknown_attr); - - pj_memcpy(dst, src, sizeof(pj_stun_unknown_attr)); - - return (void*)dst; -} - -////////////////////////////////////////////////////////////////////////////// -/* - * STUN generic binary attribute - */ - -/* - * Initialize STUN binary attribute. - */ -PJ_DEF(pj_status_t) pj_stun_binary_attr_init( pj_stun_binary_attr *attr, - pj_pool_t *pool, - int attr_type, - const pj_uint8_t *data, - unsigned length) -{ - PJ_ASSERT_RETURN(attr_type, PJ_EINVAL); - - INIT_ATTR(attr, attr_type, length); - - attr->magic = PJ_STUN_MAGIC; - - if (data && length) { - attr->length = length; - attr->data = (pj_uint8_t*) pj_pool_alloc(pool, length); - pj_memcpy(attr->data, data, length); - } else { - attr->data = NULL; - attr->length = 0; - } - - return PJ_SUCCESS; -} - - -/* - * Create a blank binary attribute. - */ -PJ_DEF(pj_status_t) pj_stun_binary_attr_create(pj_pool_t *pool, - int attr_type, - const pj_uint8_t *data, - unsigned length, - pj_stun_binary_attr **p_attr) -{ - pj_stun_binary_attr *attr; - - PJ_ASSERT_RETURN(pool && attr_type && p_attr, PJ_EINVAL); - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_binary_attr); - *p_attr = attr; - return pj_stun_binary_attr_init(attr, pool, attr_type, data, length); -} - - -/* Create and add binary attr. */ -PJ_DEF(pj_status_t) pj_stun_msg_add_binary_attr(pj_pool_t *pool, - pj_stun_msg *msg, - int attr_type, - const pj_uint8_t *data, - unsigned length) -{ - pj_stun_binary_attr *attr = NULL; - pj_status_t status; - - status = pj_stun_binary_attr_create(pool, attr_type, - data, length, &attr); - if (status != PJ_SUCCESS) - return status; - - return pj_stun_msg_add_attr(msg, &attr->hdr); -} - - -static pj_status_t decode_binary_attr(pj_pool_t *pool, - const pj_uint8_t *buf, - const pj_stun_msg_hdr *msghdr, - void **p_attr) -{ - pj_stun_binary_attr *attr; - - PJ_UNUSED_ARG(msghdr); - - /* Create the attribute */ - attr = PJ_POOL_ZALLOC_T(pool, pj_stun_binary_attr); - GETATTRHDR(buf, &attr->hdr); - - /* Copy the data to the attribute */ - attr->length = attr->hdr.length; - attr->data = (pj_uint8_t*) pj_pool_alloc(pool, attr->length); - pj_memcpy(attr->data, buf+ATTR_HDR_LEN, attr->length); - - /* Done */ - *p_attr = attr; - - return PJ_SUCCESS; - -} - - -static pj_status_t encode_binary_attr(const void *a, pj_uint8_t *buf, - unsigned len, - const pj_stun_msg_hdr *msghdr, - unsigned *printed) -{ - const pj_stun_binary_attr *ca = (const pj_stun_binary_attr*)a; - - PJ_CHECK_STACK(); - - PJ_UNUSED_ARG(msghdr); - - /* Calculated total attr_len (add padding if necessary) */ - *printed = (ca->length + ATTR_HDR_LEN + 3) & (~3); - if (len < *printed) - return PJ_ETOOSMALL; - - PUTVAL16H(buf, 0, ca->hdr.type); - PUTVAL16H(buf, 2, (pj_uint16_t) ca->length); - - /* Copy the data */ - pj_memcpy(buf+ATTR_HDR_LEN, ca->data, ca->length); - - /* Done */ - return PJ_SUCCESS; -} - - -static void* clone_binary_attr(pj_pool_t *pool, const void *src) -{ - const pj_stun_binary_attr *asrc = (const pj_stun_binary_attr*)src; - pj_stun_binary_attr *dst = PJ_POOL_ALLOC_T(pool, pj_stun_binary_attr); - - pj_memcpy(dst, src, sizeof(pj_stun_binary_attr)); - - if (asrc->length) { - dst->data = (pj_uint8_t*) pj_pool_alloc(pool, asrc->length); - pj_memcpy(dst->data, asrc->data, asrc->length); - } - - return (void*)dst; -} - -////////////////////////////////////////////////////////////////////////////// - -/* - * Initialize a generic STUN message. - */ -PJ_DEF(pj_status_t) pj_stun_msg_init( pj_stun_msg *msg, - unsigned msg_type, - pj_uint32_t magic, - const pj_uint8_t tsx_id[12]) -{ - PJ_ASSERT_RETURN(msg && msg_type, PJ_EINVAL); - - msg->hdr.type = (pj_uint16_t) msg_type; - msg->hdr.length = 0; - msg->hdr.magic = magic; - msg->attr_count = 0; - - if (tsx_id) { - pj_memcpy(&msg->hdr.tsx_id, tsx_id, sizeof(msg->hdr.tsx_id)); - } else { - struct transaction_id - { - pj_uint32_t proc_id; - pj_uint32_t random; - pj_uint32_t counter; - } id; - static pj_uint32_t pj_stun_tsx_id_counter; - - if (!pj_stun_tsx_id_counter) - pj_stun_tsx_id_counter = pj_rand(); - - id.proc_id = pj_getpid(); - id.random = pj_rand(); - id.counter = pj_stun_tsx_id_counter++; - - pj_memcpy(&msg->hdr.tsx_id, &id, sizeof(msg->hdr.tsx_id)); - } - - return PJ_SUCCESS; -} - - -/* - * Create a blank STUN message. - */ -PJ_DEF(pj_status_t) pj_stun_msg_create( pj_pool_t *pool, - unsigned msg_type, - pj_uint32_t magic, - const pj_uint8_t tsx_id[12], - pj_stun_msg **p_msg) -{ - pj_stun_msg *msg; - - PJ_ASSERT_RETURN(pool && msg_type && p_msg, PJ_EINVAL); - - msg = PJ_POOL_ZALLOC_T(pool, pj_stun_msg); - *p_msg = msg; - return pj_stun_msg_init(msg, msg_type, magic, tsx_id); -} - - -/* - * Clone a STUN message with all of its attributes. - */ -PJ_DEF(pj_stun_msg*) pj_stun_msg_clone( pj_pool_t *pool, - const pj_stun_msg *src) -{ - pj_stun_msg *dst; - unsigned i; - - PJ_ASSERT_RETURN(pool && src, NULL); - - dst = PJ_POOL_ZALLOC_T(pool, pj_stun_msg); - pj_memcpy(dst, src, sizeof(pj_stun_msg)); - - /* Duplicate the attributes */ - for (i=0, dst->attr_count=0; iattr_count; ++i) { - dst->attr[dst->attr_count] = pj_stun_attr_clone(pool, src->attr[i]); - if (dst->attr[dst->attr_count]) - ++dst->attr_count; - } - - return dst; -} - - -/* - * Add STUN attribute to STUN message. - */ -PJ_DEF(pj_status_t) pj_stun_msg_add_attr(pj_stun_msg *msg, - pj_stun_attr_hdr *attr) -{ - PJ_ASSERT_RETURN(msg && attr, PJ_EINVAL); - PJ_ASSERT_RETURN(msg->attr_count < PJ_STUN_MAX_ATTR, PJ_ETOOMANY); - - msg->attr[msg->attr_count++] = attr; - return PJ_SUCCESS; -} - - -/* - * Check that the PDU is potentially a valid STUN message. - */ -PJ_DEF(pj_status_t) pj_stun_msg_check(const pj_uint8_t *pdu, pj_size_t pdu_len, - unsigned options) -{ - pj_size_t msg_len; - - PJ_ASSERT_RETURN(pdu, PJ_EINVAL); - - if (pdu_len < sizeof(pj_stun_msg_hdr)) - return PJNATH_EINSTUNMSGLEN; - - /* First byte of STUN message is always 0x00 or 0x01. */ - if (*pdu != 0x00 && *pdu != 0x01) - return PJNATH_EINSTUNMSGTYPE; - - /* Check the PDU length */ - msg_len = GETVAL16H(pdu, 2); - if ((msg_len + 20 > pdu_len) || - ((options & PJ_STUN_IS_DATAGRAM) && msg_len + 20 != pdu_len)) - { - return PJNATH_EINSTUNMSGLEN; - } - - /* STUN message is always padded to the nearest 4 bytes, thus - * the last two bits of the length field are always zero. - */ - if ((msg_len & 0x03) != 0) { - return PJNATH_EINSTUNMSGLEN; - } - - /* If magic is set, then there is great possibility that this is - * a STUN message. - */ - if (GETVAL32H(pdu, 4) == PJ_STUN_MAGIC) { - - /* Check if FINGERPRINT attribute is present */ - if ((options & PJ_STUN_NO_FINGERPRINT_CHECK )==0 && - GETVAL16H(pdu, msg_len + 20 - 8) == PJ_STUN_ATTR_FINGERPRINT) - { - pj_uint16_t attr_len = GETVAL16H(pdu, msg_len + 20 - 8 + 2); - pj_uint32_t fingerprint = GETVAL32H(pdu, msg_len + 20 - 8 + 4); - pj_uint32_t crc; - - if (attr_len != 4) - return PJNATH_ESTUNINATTRLEN; - - crc = pj_crc32_calc(pdu, msg_len + 20 - 8); - crc ^= STUN_XOR_FINGERPRINT; - - if (crc != fingerprint) - return PJNATH_ESTUNFINGERPRINT; - } - } - - /* Could be a STUN message */ - return PJ_SUCCESS; -} - - -/* Create error response */ -PJ_DEF(pj_status_t) pj_stun_msg_create_response(pj_pool_t *pool, - const pj_stun_msg *req_msg, - unsigned err_code, - const pj_str_t *err_msg, - pj_stun_msg **p_response) -{ - unsigned msg_type = req_msg->hdr.type; - pj_stun_msg *response = NULL; - pj_status_t status; - - PJ_ASSERT_RETURN(pool && p_response, PJ_EINVAL); - - PJ_ASSERT_RETURN(PJ_STUN_IS_REQUEST(msg_type), - PJNATH_EINSTUNMSGTYPE); - - /* Create response or error response */ - if (err_code) - msg_type |= PJ_STUN_ERROR_RESPONSE_BIT; - else - msg_type |= PJ_STUN_SUCCESS_RESPONSE_BIT; - - status = pj_stun_msg_create(pool, msg_type, req_msg->hdr.magic, - req_msg->hdr.tsx_id, &response); - if (status != PJ_SUCCESS) { - return status; - } - - /* Add error code attribute */ - if (err_code) { - status = pj_stun_msg_add_errcode_attr(pool, response, - err_code, err_msg); - if (status != PJ_SUCCESS) { - return status; - } - } - - *p_response = response; - return PJ_SUCCESS; -} - - -/* - * Parse incoming packet into STUN message. - */ -PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool, - const pj_uint8_t *pdu, - pj_size_t pdu_len, - unsigned options, - pj_stun_msg **p_msg, - pj_size_t *p_parsed_len, - pj_stun_msg **p_response) -{ - - pj_stun_msg *msg; - unsigned uattr_cnt; - const pj_uint8_t *start_pdu = pdu; - pj_bool_t has_msg_int = PJ_FALSE; - pj_bool_t has_fingerprint = PJ_FALSE; - pj_status_t status; - - PJ_UNUSED_ARG(options); - - PJ_ASSERT_RETURN(pool && pdu && pdu_len && p_msg, PJ_EINVAL); - PJ_ASSERT_RETURN(sizeof(pj_stun_msg_hdr) == 20, PJ_EBUG); - - if (p_parsed_len) - *p_parsed_len = 0; - if (p_response) - *p_response = NULL; - - /* Check if this is a STUN message, if necessary */ - if (options & PJ_STUN_CHECK_PACKET) { - status = pj_stun_msg_check(pdu, pdu_len, options); - if (status != PJ_SUCCESS) - return status; - } - - /* Create the message, copy the header, and convert to host byte order */ - msg = PJ_POOL_ZALLOC_T(pool, pj_stun_msg); - pj_memcpy(&msg->hdr, pdu, sizeof(pj_stun_msg_hdr)); - msg->hdr.type = pj_ntohs(msg->hdr.type); - msg->hdr.length = pj_ntohs(msg->hdr.length); - msg->hdr.magic = pj_ntohl(msg->hdr.magic); - - pdu += sizeof(pj_stun_msg_hdr); - /* pdu_len -= sizeof(pj_stun_msg_hdr); */ - pdu_len = msg->hdr.length; - - /* No need to create response if this is not a request */ - if (!PJ_STUN_IS_REQUEST(msg->hdr.type)) - p_response = NULL; - - /* Parse attributes */ - uattr_cnt = 0; - while (pdu_len >= 4) { - unsigned attr_type, attr_val_len; - const struct attr_desc *adesc; - - /* Get attribute type and length. If length is not aligned - * to 4 bytes boundary, add padding. - */ - attr_type = GETVAL16H(pdu, 0); - attr_val_len = GETVAL16H(pdu, 2); - attr_val_len = (attr_val_len + 3) & (~3); - - /* Check length */ - if (pdu_len < attr_val_len) { - pj_str_t err_msg; - char err_msg_buf[80]; - - err_msg.ptr = err_msg_buf; - err_msg.slen = pj_ansi_snprintf(err_msg_buf, sizeof(err_msg_buf), - "Attribute %s has invalid length", - pj_stun_get_attr_name(attr_type)); - - PJ_LOG(4,(THIS_FILE, "Error decoding message: %.*s", - (int)err_msg.slen, err_msg.ptr)); - - if (p_response) { - pj_stun_msg_create_response(pool, msg, - PJ_STUN_SC_BAD_REQUEST, - &err_msg, p_response); - } - return PJNATH_ESTUNINATTRLEN; - } - - /* Get the attribute descriptor */ - adesc = find_attr_desc(attr_type); - - if (adesc == NULL) { - /* Unrecognized attribute */ - pj_stun_binary_attr *attr = NULL; - - PJ_LOG(5,(THIS_FILE, "Unrecognized attribute type 0x%x", - attr_type)); - - /* Is this a fatal condition? */ - if (attr_type <= 0x7FFF) { - /* This is a mandatory attribute, we must return error - * if we don't understand the attribute. - */ - if (p_response) { - unsigned err_code = PJ_STUN_SC_UNKNOWN_ATTRIBUTE; - - status = pj_stun_msg_create_response(pool, msg, - err_code, NULL, - p_response); - if (status==PJ_SUCCESS) { - pj_uint16_t d = (pj_uint16_t)attr_type; - pj_stun_msg_add_unknown_attr(pool, *p_response, 1, &d); - } - } - - return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_UNKNOWN_ATTRIBUTE); - } - - /* Make sure we have rooms for the new attribute */ - if (msg->attr_count >= PJ_STUN_MAX_ATTR) { - if (p_response) { - pj_stun_msg_create_response(pool, msg, - PJ_STUN_SC_SERVER_ERROR, - NULL, p_response); - } - return PJNATH_ESTUNTOOMANYATTR; - } - - /* Create binary attribute to represent this */ - status = pj_stun_binary_attr_create(pool, attr_type, pdu+4, - GETVAL16H(pdu, 2), &attr); - if (status != PJ_SUCCESS) { - if (p_response) { - pj_stun_msg_create_response(pool, msg, - PJ_STUN_SC_SERVER_ERROR, - NULL, p_response); - } - - PJ_LOG(4,(THIS_FILE, - "Error parsing unknown STUN attribute type %d", - attr_type)); - - return status; - } - - /* Add the attribute */ - msg->attr[msg->attr_count++] = &attr->hdr; - - } else { - void *attr; - char err_msg1[PJ_ERR_MSG_SIZE], - err_msg2[PJ_ERR_MSG_SIZE]; - - /* Parse the attribute */ - status = (adesc->decode_attr)(pool, pdu, &msg->hdr, &attr); - - if (status != PJ_SUCCESS) { - pj_strerror(status, err_msg1, sizeof(err_msg1)); - - if (p_response) { - pj_str_t e; - - e.ptr = err_msg2; - e.slen= pj_ansi_snprintf(err_msg2, sizeof(err_msg2), - "%s in %s", - err_msg1, - pj_stun_get_attr_name(attr_type)); - - pj_stun_msg_create_response(pool, msg, - PJ_STUN_SC_BAD_REQUEST, - &e, p_response); - } - - PJ_LOG(4,(THIS_FILE, - "Error parsing STUN attribute %s: %s", - pj_stun_get_attr_name(attr_type), - err_msg1)); - - return status; - } - - if (attr_type == PJ_STUN_ATTR_MESSAGE_INTEGRITY && - !has_fingerprint) - { - if (has_msg_int) { - /* Already has MESSAGE-INTEGRITY */ - if (p_response) { - pj_stun_msg_create_response(pool, msg, - PJ_STUN_SC_BAD_REQUEST, - NULL, p_response); - } - return PJNATH_ESTUNDUPATTR; - } - has_msg_int = PJ_TRUE; - - } else if (attr_type == PJ_STUN_ATTR_FINGERPRINT) { - if (has_fingerprint) { - /* Already has FINGERPRINT */ - if (p_response) { - pj_stun_msg_create_response(pool, msg, - PJ_STUN_SC_BAD_REQUEST, - NULL, p_response); - } - return PJNATH_ESTUNDUPATTR; - } - has_fingerprint = PJ_TRUE; - } else { - if (has_fingerprint) { - /* Another attribute is found which is not FINGERPRINT - * after FINGERPRINT. Note that non-FINGERPRINT is - * allowed to appear after M-I - */ - if (p_response) { - pj_stun_msg_create_response(pool, msg, - PJ_STUN_SC_BAD_REQUEST, - NULL, p_response); - } - return PJNATH_ESTUNFINGERPOS; - } - } - - /* Make sure we have rooms for the new attribute */ - if (msg->attr_count >= PJ_STUN_MAX_ATTR) { - if (p_response) { - pj_stun_msg_create_response(pool, msg, - PJ_STUN_SC_SERVER_ERROR, - NULL, p_response); - } - return PJNATH_ESTUNTOOMANYATTR; - } - - /* Add the attribute */ - msg->attr[msg->attr_count++] = (pj_stun_attr_hdr*)attr; - } - - /* Next attribute */ - if (attr_val_len + 4 >= pdu_len) { - pdu += pdu_len; - pdu_len = 0; - } else { - pdu += (attr_val_len + 4); - pdu_len -= (attr_val_len + 4); - } - } - - if (pdu_len > 0) { - /* Stray trailing bytes */ - PJ_LOG(4,(THIS_FILE, - "Error decoding STUN message: unparsed trailing %d bytes", - pdu_len)); - return PJNATH_EINSTUNMSGLEN; - } - - *p_msg = msg; - - if (p_parsed_len) - *p_parsed_len = (pdu - start_pdu); - - return PJ_SUCCESS; -} - -/* -static char *print_binary(const pj_uint8_t *data, unsigned data_len) -{ - static char static_buffer[1024]; - char *buffer = static_buffer; - unsigned length=sizeof(static_buffer), i; - - if (length < data_len * 2 + 8) - return ""; - - pj_ansi_sprintf(buffer, ", data="); - buffer += 7; - - for (i=0; ihdr.type); - PUTVAL16H(buf, 2, 0); /* length will be calculated later */ - PUTVAL32H(buf, 4, msg->hdr.magic); - pj_memcpy(buf+8, msg->hdr.tsx_id, sizeof(msg->hdr.tsx_id)); - - buf += sizeof(pj_stun_msg_hdr); - buf_size -= sizeof(pj_stun_msg_hdr); - - /* Encode each attribute to the message */ - for (i=0; iattr_count; ++i) { - const struct attr_desc *adesc; - const pj_stun_attr_hdr *attr_hdr = msg->attr[i]; - - if (attr_hdr->type == PJ_STUN_ATTR_MESSAGE_INTEGRITY) { - pj_assert(amsgint == NULL); - amsgint = (pj_stun_msgint_attr*) attr_hdr; - - /* Stop when encountering MESSAGE-INTEGRITY */ - break; - - } else if (attr_hdr->type == PJ_STUN_ATTR_FINGERPRINT) { - afingerprint = (pj_stun_fingerprint_attr*) attr_hdr; - break; - } - - adesc = find_attr_desc(attr_hdr->type); - if (adesc) { - status = adesc->encode_attr(attr_hdr, buf, buf_size, &msg->hdr, - &printed); - } else { - /* This may be a generic attribute */ - const pj_stun_binary_attr *bin_attr = (const pj_stun_binary_attr*) - attr_hdr; - PJ_ASSERT_RETURN(bin_attr->magic == PJ_STUN_MAGIC, PJ_EBUG); - status = encode_binary_attr(bin_attr, buf, buf_size, &msg->hdr, - &printed); - } - - if (status != PJ_SUCCESS) - return status; - - buf += printed; - buf_size -= printed; - } - - /* We may have stopped printing attribute because we found - * MESSAGE-INTEGRITY or FINGERPRINT. Scan the rest of the - * attributes. - */ - for ( ++i; iattr_count; ++i) { - const pj_stun_attr_hdr *attr_hdr = msg->attr[i]; - - /* There mustn't any attribute after FINGERPRINT */ - PJ_ASSERT_RETURN(afingerprint == NULL, PJNATH_ESTUNFINGERPOS); - - if (attr_hdr->type == PJ_STUN_ATTR_MESSAGE_INTEGRITY) { - /* There mustn't be MESSAGE-INTEGRITY before */ - PJ_ASSERT_RETURN(amsgint == NULL, - PJNATH_ESTUNMSGINTPOS); - amsgint = (pj_stun_msgint_attr*) attr_hdr; - - } else if (attr_hdr->type == PJ_STUN_ATTR_FINGERPRINT) { - afingerprint = (pj_stun_fingerprint_attr*) attr_hdr; - } - } - -#if PJ_STUN_OLD_STYLE_MI_FINGERPRINT - /* - * This is the old style MESSAGE-INTEGRITY and FINGERPRINT - * calculation, used in rfc3489bis-06 and older. - */ - /* We MUST update the message length in the header NOW before - * calculating MESSAGE-INTEGRITY and FINGERPRINT. - * Note that length is not including the 20 bytes header. - */ - if (amsgint && afingerprint) { - body_len = (pj_uint16_t)((buf - start) - 20 + 24 + 8); - } else if (amsgint) { - body_len = (pj_uint16_t)((buf - start) - 20 + 24); - } else if (afingerprint) { - body_len = (pj_uint16_t)((buf - start) - 20 + 8); - } else { - body_len = (pj_uint16_t)((buf - start) - 20); - } -#else - /* If MESSAGE-INTEGRITY is present, include the M-I attribute - * in message length before calculating M-I - */ - if (amsgint) { - body_len = (pj_uint16_t)((buf - start) - 20 + 24); - } else { - body_len = (pj_uint16_t)((buf - start) - 20); - } -#endif /* PJ_STUN_OLD_STYLE_MI_FINGERPRINT */ - - /* hdr->length = pj_htons(length); */ - PUTVAL16H(start, 2, (pj_uint16_t)body_len); - - /* Calculate message integrity, if present */ - if (amsgint != NULL) { - pj_hmac_sha1_context ctx; - - /* Key MUST be specified */ - PJ_ASSERT_RETURN(key, PJ_EINVALIDOP); - - /* MESSAGE-INTEGRITY must be the last attribute in the message, or - * the last attribute before FINGERPRINT. - */ - if (msg->attr_count>1 && i < msg->attr_count-2) { - /* Should not happen for message generated by us */ - pj_assert(PJ_FALSE); - return PJNATH_ESTUNMSGINTPOS; - - } else if (i == msg->attr_count-2) { - if (msg->attr[i+1]->type != PJ_STUN_ATTR_FINGERPRINT) { - /* Should not happen for message generated by us */ - pj_assert(PJ_FALSE); - return PJNATH_ESTUNMSGINTPOS; - } else { - afingerprint = (pj_stun_fingerprint_attr*) msg->attr[i+1]; - } - } - - /* Calculate HMAC-SHA1 digest, add zero padding to input - * if necessary to make the input 64 bytes aligned. - */ - pj_hmac_sha1_init(&ctx, (const pj_uint8_t*)key->ptr, key->slen); - pj_hmac_sha1_update(&ctx, (const pj_uint8_t*)start, buf-start); -#if PJ_STUN_OLD_STYLE_MI_FINGERPRINT - // These are obsoleted in rfc3489bis-08 - if ((buf-start) & 0x3F) { - pj_uint8_t zeroes[64]; - pj_bzero(zeroes, sizeof(zeroes)); - pj_hmac_sha1_update(&ctx, zeroes, 64-((buf-start) & 0x3F)); - } -#endif /* PJ_STUN_OLD_STYLE_MI_FINGERPRINT */ - pj_hmac_sha1_final(&ctx, amsgint->hmac); - - /* Put this attribute in the message */ - status = encode_msgint_attr(amsgint, buf, buf_size, - &msg->hdr, &printed); - if (status != PJ_SUCCESS) - return status; - - buf += printed; - buf_size -= printed; - } - - /* Calculate FINGERPRINT if present */ - if (afingerprint != NULL) { - -#if !PJ_STUN_OLD_STYLE_MI_FINGERPRINT - /* Update message length */ - PUTVAL16H(start, 2, - (pj_uint16_t)(GETVAL16H(start, 2)+8)); -#endif - - afingerprint->value = pj_crc32_calc(start, buf-start); - afingerprint->value ^= STUN_XOR_FINGERPRINT; - - /* Put this attribute in the message */ - status = encode_uint_attr(afingerprint, buf, buf_size, - &msg->hdr, &printed); - if (status != PJ_SUCCESS) - return status; - - buf += printed; - buf_size -= printed; - } - - /* Update message length. */ - msg->hdr.length = (pj_uint16_t) ((buf - start) - 20); - - /* Return the length */ - if (p_msg_len) - *p_msg_len = (buf - start); - - return PJ_SUCCESS; -} - - -/* - * Find STUN attribute in the STUN message, starting from the specified - * index. - */ -PJ_DEF(pj_stun_attr_hdr*) pj_stun_msg_find_attr( const pj_stun_msg *msg, - int attr_type, - unsigned index) -{ - PJ_ASSERT_RETURN(msg, NULL); - - for (; index < msg->attr_count; ++index) { - if (msg->attr[index]->type == attr_type) - return (pj_stun_attr_hdr*) msg->attr[index]; - } - - return NULL; -} - - -/* - * Clone a STUN attribute. - */ -PJ_DEF(pj_stun_attr_hdr*) pj_stun_attr_clone( pj_pool_t *pool, - const pj_stun_attr_hdr *attr) -{ - const struct attr_desc *adesc; - - /* Get the attribute descriptor */ - adesc = find_attr_desc(attr->type); - if (adesc) { - return (pj_stun_attr_hdr*) (*adesc->clone_attr)(pool, attr); - } else { - /* Clone generic attribute */ - const pj_stun_binary_attr *bin_attr = (const pj_stun_binary_attr*) - attr; - PJ_ASSERT_RETURN(bin_attr->magic == PJ_STUN_MAGIC, NULL); - if (bin_attr->magic == PJ_STUN_MAGIC) { - return (pj_stun_attr_hdr*) clone_binary_attr(pool, attr); - } else { - return NULL; - } - } -} - - diff --git a/res/pjproject/pjnath/src/pjnath/stun_msg_dump.c b/res/pjproject/pjnath/src/pjnath/stun_msg_dump.c deleted file mode 100644 index ea62f73422..0000000000 --- a/res/pjproject/pjnath/src/pjnath/stun_msg_dump.c +++ /dev/null @@ -1,298 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - -#if PJ_LOG_MAX_LEVEL > 0 - - -#define APPLY() if (len < 1 || len >= (end-p)) \ - goto on_return; \ - p += len - -static int print_binary(char *buffer, unsigned length, - const pj_uint8_t *data, unsigned data_len) -{ - unsigned i; - - if (length < data_len * 2 + 8) - return -1; - - pj_ansi_sprintf(buffer, ", data="); - buffer += 7; - - for (i=0; itype); - char attr_buf[32]; - int len; - - if (*attr_name == '?') { - pj_ansi_snprintf(attr_buf, sizeof(attr_buf), "Attr 0x%x", - ahdr->type); - attr_name = attr_buf; - } - - len = pj_ansi_snprintf(p, end-p, - " %s: length=%d", - attr_name, - (int)ahdr->length); - APPLY(); - - - switch (ahdr->type) { - case PJ_STUN_ATTR_MAPPED_ADDR: - case PJ_STUN_ATTR_RESPONSE_ADDR: - case PJ_STUN_ATTR_SOURCE_ADDR: - case PJ_STUN_ATTR_CHANGED_ADDR: - case PJ_STUN_ATTR_REFLECTED_FROM: - case PJ_STUN_ATTR_XOR_PEER_ADDR: - case PJ_STUN_ATTR_XOR_RELAYED_ADDR: - case PJ_STUN_ATTR_XOR_MAPPED_ADDR: - case PJ_STUN_ATTR_XOR_REFLECTED_FROM: - case PJ_STUN_ATTR_ALTERNATE_SERVER: - { - const pj_stun_sockaddr_attr *attr; - - attr = (const pj_stun_sockaddr_attr*)ahdr; - - if (attr->sockaddr.addr.sa_family == pj_AF_INET()) { - len = pj_ansi_snprintf(p, end-p, - ", IPv4 addr=%s:%d\n", - pj_inet_ntoa(attr->sockaddr.ipv4.sin_addr), - pj_ntohs(attr->sockaddr.ipv4.sin_port)); - - } else if (attr->sockaddr.addr.sa_family == pj_AF_INET6()) { - len = pj_ansi_snprintf(p, end-p, - ", IPv6 addr present\n"); - } else { - len = pj_ansi_snprintf(p, end-p, - ", INVALID ADDRESS FAMILY!\n"); - } - APPLY(); - } - break; - - case PJ_STUN_ATTR_CHANNEL_NUMBER: - { - const pj_stun_uint_attr *attr; - - attr = (const pj_stun_uint_attr*)ahdr; - len = pj_ansi_snprintf(p, end-p, - ", chnum=%u (0x%x)\n", - (int)PJ_STUN_GET_CH_NB(attr->value), - (int)PJ_STUN_GET_CH_NB(attr->value)); - APPLY(); - } - break; - - case PJ_STUN_ATTR_CHANGE_REQUEST: - case PJ_STUN_ATTR_LIFETIME: - case PJ_STUN_ATTR_BANDWIDTH: - case PJ_STUN_ATTR_REQ_ADDR_TYPE: - case PJ_STUN_ATTR_EVEN_PORT: - case PJ_STUN_ATTR_REQ_TRANSPORT: - case PJ_STUN_ATTR_TIMER_VAL: - case PJ_STUN_ATTR_PRIORITY: - case PJ_STUN_ATTR_FINGERPRINT: - case PJ_STUN_ATTR_REFRESH_INTERVAL: - case PJ_STUN_ATTR_ICMP: - { - const pj_stun_uint_attr *attr; - - attr = (const pj_stun_uint_attr*)ahdr; - len = pj_ansi_snprintf(p, end-p, - ", value=%u (0x%x)\n", - (pj_uint32_t)attr->value, - (pj_uint32_t)attr->value); - APPLY(); - } - break; - - case PJ_STUN_ATTR_USERNAME: - case PJ_STUN_ATTR_PASSWORD: - case PJ_STUN_ATTR_REALM: - case PJ_STUN_ATTR_NONCE: - case PJ_STUN_ATTR_SOFTWARE: - { - const pj_stun_string_attr *attr; - - attr = (pj_stun_string_attr*)ahdr; - len = pj_ansi_snprintf(p, end-p, - ", value=\"%.*s\"\n", - (int)attr->value.slen, - attr->value.ptr); - APPLY(); - } - break; - - case PJ_STUN_ATTR_ERROR_CODE: - { - const pj_stun_errcode_attr *attr; - - attr = (const pj_stun_errcode_attr*) ahdr; - len = pj_ansi_snprintf(p, end-p, - ", err_code=%d, reason=\"%.*s\"\n", - attr->err_code, - (int)attr->reason.slen, - attr->reason.ptr); - APPLY(); - } - break; - - case PJ_STUN_ATTR_UNKNOWN_ATTRIBUTES: - { - const pj_stun_unknown_attr *attr; - unsigned j; - - attr = (const pj_stun_unknown_attr*) ahdr; - - len = pj_ansi_snprintf(p, end-p, - ", unknown list:"); - APPLY(); - - for (j=0; jattr_count; ++j) { - len = pj_ansi_snprintf(p, end-p, - " %d", - (int)attr->attrs[j]); - APPLY(); - } - } - break; - - case PJ_STUN_ATTR_MESSAGE_INTEGRITY: - { - const pj_stun_msgint_attr *attr; - - attr = (const pj_stun_msgint_attr*) ahdr; - len = print_binary(p, end-p, attr->hmac, 20); - APPLY(); - } - break; - - case PJ_STUN_ATTR_DATA: - { - const pj_stun_binary_attr *attr; - - attr = (const pj_stun_binary_attr*) ahdr; - len = print_binary(p, end-p, attr->data, attr->length); - APPLY(); - } - break; - case PJ_STUN_ATTR_ICE_CONTROLLED: - case PJ_STUN_ATTR_ICE_CONTROLLING: - case PJ_STUN_ATTR_RESERVATION_TOKEN: - { - const pj_stun_uint64_attr *attr; - pj_uint8_t data[8]; - int i; - - attr = (const pj_stun_uint64_attr*) ahdr; - - for (i=0; i<8; ++i) - data[i] = ((const pj_uint8_t*)&attr->value)[7-i]; - - len = print_binary(p, end-p, data, 8); - APPLY(); - } - break; - case PJ_STUN_ATTR_USE_CANDIDATE: - case PJ_STUN_ATTR_DONT_FRAGMENT: - default: - len = pj_ansi_snprintf(p, end-p, "\n"); - APPLY(); - break; - } - - return (p-buffer); - -on_return: - return len; -} - - -/* - * Dump STUN message to a printable string output. - */ -PJ_DEF(char*) pj_stun_msg_dump(const pj_stun_msg *msg, - char *buffer, - unsigned length, - unsigned *printed_len) -{ - char *p, *end; - int len; - unsigned i; - - PJ_ASSERT_RETURN(msg && buffer && length, NULL); - - PJ_CHECK_STACK(); - - p = buffer; - end = buffer + length; - - len = pj_ansi_snprintf(p, end-p, "STUN %s %s\n", - pj_stun_get_method_name(msg->hdr.type), - pj_stun_get_class_name(msg->hdr.type)); - APPLY(); - - len = pj_ansi_snprintf(p, end-p, - " Hdr: length=%d, magic=%08x, tsx_id=%08x%08x%08x\n" - " Attributes:\n", - msg->hdr.length, - msg->hdr.magic, - *(pj_uint32_t*)&msg->hdr.tsx_id[0], - *(pj_uint32_t*)&msg->hdr.tsx_id[4], - *(pj_uint32_t*)&msg->hdr.tsx_id[8]); - APPLY(); - - for (i=0; iattr_count; ++i) { - len = print_attr(p, end-p, msg->attr[i]); - APPLY(); - } - -on_return: - *p = '\0'; - if (printed_len) - *printed_len = (p-buffer); - return buffer; - -#undef APPLY -} - - -#endif /* PJ_LOG_MAX_LEVEL > 0 */ - diff --git a/res/pjproject/pjnath/src/pjnath/stun_session.c b/res/pjproject/pjnath/src/pjnath/stun_session.c deleted file mode 100644 index 4a268ea4ed..0000000000 --- a/res/pjproject/pjnath/src/pjnath/stun_session.c +++ /dev/null @@ -1,1436 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - -struct pj_stun_session -{ - pj_stun_config *cfg; - pj_pool_t *pool; - pj_lock_t *lock; - pj_bool_t delete_lock; - pj_stun_session_cb cb; - void *user_data; - - pj_atomic_t *busy; - pj_bool_t destroy_request; - - pj_bool_t use_fingerprint; - - pj_pool_t *rx_pool; - -#if PJ_LOG_MAX_LEVEL >= 5 - char dump_buf[1000]; -#endif - unsigned log_flag; - - pj_stun_auth_type auth_type; - pj_stun_auth_cred cred; - int auth_retry; - pj_str_t next_nonce; - pj_str_t server_realm; - - pj_str_t srv_name; - - pj_stun_tx_data pending_request_list; - pj_stun_tx_data cached_response_list; -}; - -#define SNAME(s_) ((s_)->pool->obj_name) - -#if PJ_LOG_MAX_LEVEL >= 5 -# define TRACE_(expr) PJ_LOG(5,expr) -#else -# define TRACE_(expr) -#endif - -#define LOG_ERR_(sess,title,rc) pjnath_perror(sess->pool->obj_name,title,rc) - -#define TDATA_POOL_SIZE PJNATH_POOL_LEN_STUN_TDATA -#define TDATA_POOL_INC PJNATH_POOL_INC_STUN_TDATA - - -static void stun_tsx_on_complete(pj_stun_client_tsx *tsx, - pj_status_t status, - const pj_stun_msg *response, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); -static pj_status_t stun_tsx_on_send_msg(pj_stun_client_tsx *tsx, - const void *stun_pkt, - pj_size_t pkt_size); -static void stun_tsx_on_destroy(pj_stun_client_tsx *tsx); - -static pj_stun_tsx_cb tsx_cb = -{ - &stun_tsx_on_complete, - &stun_tsx_on_send_msg, - &stun_tsx_on_destroy -}; - - -static pj_status_t tsx_add(pj_stun_session *sess, - pj_stun_tx_data *tdata) -{ - pj_list_push_front(&sess->pending_request_list, tdata); - return PJ_SUCCESS; -} - -static pj_status_t tsx_erase(pj_stun_session *sess, - pj_stun_tx_data *tdata) -{ - PJ_UNUSED_ARG(sess); - pj_list_erase(tdata); - return PJ_SUCCESS; -} - -static pj_stun_tx_data* tsx_lookup(pj_stun_session *sess, - const pj_stun_msg *msg) -{ - pj_stun_tx_data *tdata; - - tdata = sess->pending_request_list.next; - while (tdata != &sess->pending_request_list) { - pj_assert(sizeof(tdata->msg_key)==sizeof(msg->hdr.tsx_id)); - if (tdata->msg_magic == msg->hdr.magic && - pj_memcmp(tdata->msg_key, msg->hdr.tsx_id, - sizeof(msg->hdr.tsx_id))==0) - { - return tdata; - } - tdata = tdata->next; - } - - return NULL; -} - -static pj_status_t create_tdata(pj_stun_session *sess, - pj_stun_tx_data **p_tdata) -{ - pj_pool_t *pool; - pj_stun_tx_data *tdata; - - /* Create pool and initialize basic tdata attributes */ - pool = pj_pool_create(sess->cfg->pf, "tdata%p", - TDATA_POOL_SIZE, TDATA_POOL_INC, NULL); - PJ_ASSERT_RETURN(pool, PJ_ENOMEM); - - tdata = PJ_POOL_ZALLOC_T(pool, pj_stun_tx_data); - tdata->pool = pool; - tdata->sess = sess; - - pj_list_init(tdata); - - *p_tdata = tdata; - - return PJ_SUCCESS; -} - -static void stun_tsx_on_destroy(pj_stun_client_tsx *tsx) -{ - pj_stun_tx_data *tdata; - - tdata = (pj_stun_tx_data*) pj_stun_client_tsx_get_data(tsx); - tsx_erase(tdata->sess, tdata); - - pj_stun_client_tsx_destroy(tsx); - pj_pool_release(tdata->pool); -} - -static void destroy_tdata(pj_stun_tx_data *tdata, pj_bool_t force) -{ - if (tdata->res_timer.id != PJ_FALSE) { - pj_timer_heap_cancel(tdata->sess->cfg->timer_heap, - &tdata->res_timer); - tdata->res_timer.id = PJ_FALSE; - pj_list_erase(tdata); - } - - if (force) { - if (tdata->client_tsx) { - tsx_erase(tdata->sess, tdata); - pj_stun_client_tsx_destroy(tdata->client_tsx); - } - pj_pool_release(tdata->pool); - - } else { - if (tdata->client_tsx) { - pj_time_val delay = {2, 0}; - pj_stun_client_tsx_schedule_destroy(tdata->client_tsx, &delay); - - } else { - pj_pool_release(tdata->pool); - } - } -} - -/* - * Destroy the transmit data. - */ -PJ_DEF(void) pj_stun_msg_destroy_tdata( pj_stun_session *sess, - pj_stun_tx_data *tdata) -{ - PJ_UNUSED_ARG(sess); - destroy_tdata(tdata, PJ_FALSE); -} - - -/* Timer callback to be called when it's time to destroy response cache */ -static void on_cache_timeout(pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry) -{ - pj_stun_tx_data *tdata; - - PJ_UNUSED_ARG(timer_heap); - - entry->id = PJ_FALSE; - tdata = (pj_stun_tx_data*) entry->user_data; - - PJ_LOG(5,(SNAME(tdata->sess), "Response cache deleted")); - - pj_list_erase(tdata); - pj_stun_msg_destroy_tdata(tdata->sess, tdata); -} - -static pj_status_t apply_msg_options(pj_stun_session *sess, - pj_pool_t *pool, - const pj_stun_req_cred_info *auth_info, - pj_stun_msg *msg) -{ - pj_status_t status = 0; - pj_str_t realm, username, nonce, auth_key; - - /* If the agent is sending a request, it SHOULD add a SOFTWARE attribute - * to the request. The server SHOULD include a SOFTWARE attribute in all - * responses. - * - * If magic value is not PJ_STUN_MAGIC, only apply the attribute for - * responses. - */ - if (sess->srv_name.slen && - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_SOFTWARE, 0)==NULL && - (PJ_STUN_IS_RESPONSE(msg->hdr.type) || - (PJ_STUN_IS_REQUEST(msg->hdr.type) && msg->hdr.magic==PJ_STUN_MAGIC))) - { - pj_stun_msg_add_string_attr(pool, msg, PJ_STUN_ATTR_SOFTWARE, - &sess->srv_name); - } - - if (pj_stun_auth_valid_for_msg(msg) && auth_info) { - realm = auth_info->realm; - username = auth_info->username; - nonce = auth_info->nonce; - auth_key = auth_info->auth_key; - } else { - realm.slen = username.slen = nonce.slen = auth_key.slen = 0; - } - - /* Create and add USERNAME attribute if needed */ - if (username.slen && PJ_STUN_IS_REQUEST(msg->hdr.type)) { - status = pj_stun_msg_add_string_attr(pool, msg, - PJ_STUN_ATTR_USERNAME, - &username); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, status); - } - - /* Add REALM only when long term credential is used */ - if (realm.slen && PJ_STUN_IS_REQUEST(msg->hdr.type)) { - status = pj_stun_msg_add_string_attr(pool, msg, - PJ_STUN_ATTR_REALM, - &realm); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, status); - } - - /* Add NONCE when desired */ - if (nonce.slen && - (PJ_STUN_IS_REQUEST(msg->hdr.type) || - PJ_STUN_IS_ERROR_RESPONSE(msg->hdr.type))) - { - status = pj_stun_msg_add_string_attr(pool, msg, - PJ_STUN_ATTR_NONCE, - &nonce); - } - - /* Add MESSAGE-INTEGRITY attribute */ - if (username.slen && auth_key.slen) { - status = pj_stun_msg_add_msgint_attr(pool, msg); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, status); - } - - - /* Add FINGERPRINT attribute if necessary */ - if (sess->use_fingerprint) { - status = pj_stun_msg_add_uint_attr(pool, msg, - PJ_STUN_ATTR_FINGERPRINT, 0); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, status); - } - - return PJ_SUCCESS; -} - -static pj_status_t handle_auth_challenge(pj_stun_session *sess, - const pj_stun_tx_data *request, - const pj_stun_msg *response, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len, - pj_bool_t *notify_user) -{ - const pj_stun_errcode_attr *ea; - - *notify_user = PJ_TRUE; - - if (response==NULL) - return PJ_SUCCESS; - - if (sess->auth_type != PJ_STUN_AUTH_LONG_TERM) - return PJ_SUCCESS; - - if (!PJ_STUN_IS_ERROR_RESPONSE(response->hdr.type)) { - sess->auth_retry = 0; - return PJ_SUCCESS; - } - - ea = (const pj_stun_errcode_attr*) - pj_stun_msg_find_attr(response, PJ_STUN_ATTR_ERROR_CODE, 0); - if (!ea) { - PJ_LOG(4,(SNAME(sess), "Invalid error response: no ERROR-CODE" - " attribute")); - *notify_user = PJ_FALSE; - return PJNATH_EINSTUNMSG; - } - - if (ea->err_code == PJ_STUN_SC_UNAUTHORIZED || - ea->err_code == PJ_STUN_SC_STALE_NONCE) - { - const pj_stun_nonce_attr *anonce; - const pj_stun_realm_attr *arealm; - pj_stun_tx_data *tdata; - unsigned i; - pj_status_t status; - - anonce = (const pj_stun_nonce_attr*) - pj_stun_msg_find_attr(response, PJ_STUN_ATTR_NONCE, 0); - if (!anonce) { - PJ_LOG(4,(SNAME(sess), "Invalid response: missing NONCE")); - *notify_user = PJ_FALSE; - return PJNATH_EINSTUNMSG; - } - - /* Bail out if we've supplied the correct nonce */ - if (pj_strcmp(&anonce->value, &sess->next_nonce)==0) { - return PJ_SUCCESS; - } - - /* Bail out if we've tried too many */ - if (++sess->auth_retry > 3) { - PJ_LOG(4,(SNAME(sess), "Error: authentication failed (too " - "many retries)")); - return PJ_STATUS_FROM_STUN_CODE(401); - } - - /* Save next_nonce */ - pj_strdup(sess->pool, &sess->next_nonce, &anonce->value); - - /* Copy the realm from the response */ - arealm = (pj_stun_realm_attr*) - pj_stun_msg_find_attr(response, PJ_STUN_ATTR_REALM, 0); - if (arealm) { - pj_strdup(sess->pool, &sess->server_realm, &arealm->value); - while (sess->server_realm.slen && - !sess->server_realm.ptr[sess->server_realm.slen-1]) - { - --sess->server_realm.slen; - } - } - - /* Create new request */ - status = pj_stun_session_create_req(sess, request->msg->hdr.type, - request->msg->hdr.magic, - NULL, &tdata); - if (status != PJ_SUCCESS) - return status; - - /* Duplicate all the attributes in the old request, except - * USERNAME, REALM, M-I, and NONCE, which will be filled in - * later. - */ - for (i=0; imsg->attr_count; ++i) { - const pj_stun_attr_hdr *asrc = request->msg->attr[i]; - - if (asrc->type == PJ_STUN_ATTR_USERNAME || - asrc->type == PJ_STUN_ATTR_REALM || - asrc->type == PJ_STUN_ATTR_MESSAGE_INTEGRITY || - asrc->type == PJ_STUN_ATTR_NONCE) - { - continue; - } - - tdata->msg->attr[tdata->msg->attr_count++] = - pj_stun_attr_clone(tdata->pool, asrc); - } - - /* Will retry the request with authentication, no need to - * notify user. - */ - *notify_user = PJ_FALSE; - - PJ_LOG(4,(SNAME(sess), "Retrying request with new authentication")); - - /* Retry the request */ - status = pj_stun_session_send_msg(sess, request->token, PJ_TRUE, - request->retransmit, src_addr, - src_addr_len, tdata); - - } else { - sess->auth_retry = 0; - } - - return PJ_SUCCESS; -} - -static void stun_tsx_on_complete(pj_stun_client_tsx *tsx, - pj_status_t status, - const pj_stun_msg *response, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - pj_stun_session *sess; - pj_bool_t notify_user = PJ_TRUE; - pj_stun_tx_data *tdata; - - tdata = (pj_stun_tx_data*) pj_stun_client_tsx_get_data(tsx); - sess = tdata->sess; - - /* Lock the session and prevent user from destroying us in the callback */ - pj_atomic_inc(sess->busy); - pj_lock_acquire(sess->lock); - - /* Handle authentication challenge */ - handle_auth_challenge(sess, tdata, response, src_addr, - src_addr_len, ¬ify_user); - - if (notify_user && sess->cb.on_request_complete) { - (*sess->cb.on_request_complete)(sess, status, tdata->token, tdata, - response, src_addr, src_addr_len); - } - - /* Destroy the transmit data. This will remove the transaction - * from the pending list too. - */ - pj_stun_msg_destroy_tdata(sess, tdata); - tdata = NULL; - - pj_lock_release(sess->lock); - - if (pj_atomic_dec_and_get(sess->busy)==0 && sess->destroy_request) { - pj_stun_session_destroy(sess); - return; - } -} - -static pj_status_t stun_tsx_on_send_msg(pj_stun_client_tsx *tsx, - const void *stun_pkt, - pj_size_t pkt_size) -{ - pj_stun_tx_data *tdata; - pj_stun_session *sess; - pj_status_t status; - - tdata = (pj_stun_tx_data*) pj_stun_client_tsx_get_data(tsx); - sess = tdata->sess; - - /* Lock the session and prevent user from destroying us in the callback */ - pj_atomic_inc(sess->busy); - pj_lock_acquire(sess->lock); - - status = sess->cb.on_send_msg(tdata->sess, tdata->token, stun_pkt, - pkt_size, tdata->dst_addr, - tdata->addr_len); - pj_lock_release(sess->lock); - - if (pj_atomic_dec_and_get(sess->busy)==0 && sess->destroy_request) { - pj_stun_session_destroy(sess); - return PJNATH_ESTUNDESTROYED; - } else { - return status; - } -} - -/* **************************************************************************/ - -PJ_DEF(pj_status_t) pj_stun_session_create( pj_stun_config *cfg, - const char *name, - const pj_stun_session_cb *cb, - pj_bool_t fingerprint, - pj_stun_session **p_sess) -{ - pj_pool_t *pool; - pj_stun_session *sess; - pj_status_t status; - - PJ_ASSERT_RETURN(cfg && cb && p_sess, PJ_EINVAL); - - if (name==NULL) - name = "stuse%p"; - - pool = pj_pool_create(cfg->pf, name, PJNATH_POOL_LEN_STUN_SESS, - PJNATH_POOL_INC_STUN_SESS, NULL); - PJ_ASSERT_RETURN(pool, PJ_ENOMEM); - - sess = PJ_POOL_ZALLOC_T(pool, pj_stun_session); - sess->cfg = cfg; - sess->pool = pool; - pj_memcpy(&sess->cb, cb, sizeof(*cb)); - sess->use_fingerprint = fingerprint; - sess->log_flag = 0xFFFF; - - sess->srv_name.ptr = (char*) pj_pool_alloc(pool, 32); - sess->srv_name.slen = pj_ansi_snprintf(sess->srv_name.ptr, 32, - "pjnath-%s", pj_get_version()); - - sess->rx_pool = pj_pool_create(sess->cfg->pf, name, - PJNATH_POOL_LEN_STUN_TDATA, - PJNATH_POOL_INC_STUN_TDATA, NULL); - - pj_list_init(&sess->pending_request_list); - pj_list_init(&sess->cached_response_list); - - status = pj_lock_create_recursive_mutex(pool, name, &sess->lock); - if (status != PJ_SUCCESS) { - pj_pool_release(pool); - return status; - } - sess->delete_lock = PJ_TRUE; - - status = pj_atomic_create(pool, 0, &sess->busy); - if (status != PJ_SUCCESS) { - pj_lock_destroy(sess->lock); - pj_pool_release(pool); - return status; - } - - *p_sess = sess; - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_stun_session_destroy(pj_stun_session *sess) -{ - PJ_ASSERT_RETURN(sess, PJ_EINVAL); - - pj_lock_acquire(sess->lock); - - /* Can't destroy if we're in a callback */ - sess->destroy_request = PJ_TRUE; - if (pj_atomic_get(sess->busy)) { - pj_lock_release(sess->lock); - return PJ_EPENDING; - } - - while (!pj_list_empty(&sess->pending_request_list)) { - pj_stun_tx_data *tdata = sess->pending_request_list.next; - destroy_tdata(tdata, PJ_TRUE); - } - - while (!pj_list_empty(&sess->cached_response_list)) { - pj_stun_tx_data *tdata = sess->cached_response_list.next; - destroy_tdata(tdata, PJ_TRUE); - } - pj_lock_release(sess->lock); - - if (sess->delete_lock) { - pj_lock_destroy(sess->lock); - } - - if (sess->rx_pool) { - pj_pool_release(sess->rx_pool); - sess->rx_pool = NULL; - } - - pj_pool_release(sess->pool); - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pj_stun_session_set_user_data( pj_stun_session *sess, - void *user_data) -{ - PJ_ASSERT_RETURN(sess, PJ_EINVAL); - pj_lock_acquire(sess->lock); - sess->user_data = user_data; - pj_lock_release(sess->lock); - return PJ_SUCCESS; -} - -PJ_DEF(void*) pj_stun_session_get_user_data(pj_stun_session *sess) -{ - PJ_ASSERT_RETURN(sess, NULL); - return sess->user_data; -} - -PJ_DEF(pj_status_t) pj_stun_session_set_lock( pj_stun_session *sess, - pj_lock_t *lock, - pj_bool_t auto_del) -{ - pj_lock_t *old_lock = sess->lock; - pj_bool_t old_del; - - PJ_ASSERT_RETURN(sess && lock, PJ_EINVAL); - - pj_lock_acquire(old_lock); - sess->lock = lock; - old_del = sess->delete_lock; - sess->delete_lock = auto_del; - pj_lock_release(old_lock); - - if (old_lock) - pj_lock_destroy(old_lock); - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_stun_session_set_software_name(pj_stun_session *sess, - const pj_str_t *sw) -{ - PJ_ASSERT_RETURN(sess, PJ_EINVAL); - if (sw && sw->slen) - pj_strdup(sess->pool, &sess->srv_name, sw); - else - sess->srv_name.slen = 0; - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_stun_session_set_credential(pj_stun_session *sess, - pj_stun_auth_type auth_type, - const pj_stun_auth_cred *cred) -{ - PJ_ASSERT_RETURN(sess, PJ_EINVAL); - - sess->auth_type = auth_type; - if (cred) { - pj_stun_auth_cred_dup(sess->pool, &sess->cred, cred); - } else { - sess->auth_type = PJ_STUN_AUTH_NONE; - pj_bzero(&sess->cred, sizeof(sess->cred)); - } - - return PJ_SUCCESS; -} - -PJ_DEF(void) pj_stun_session_set_log( pj_stun_session *sess, - unsigned flags) -{ - PJ_ASSERT_ON_FAIL(sess, return); - sess->log_flag = flags; -} - -PJ_DEF(pj_bool_t) pj_stun_session_use_fingerprint(pj_stun_session *sess, - pj_bool_t use) -{ - pj_bool_t old_use; - - PJ_ASSERT_RETURN(sess, PJ_FALSE); - - old_use = sess->use_fingerprint; - sess->use_fingerprint = use; - return old_use; -} - -static pj_status_t get_auth(pj_stun_session *sess, - pj_stun_tx_data *tdata) -{ - if (sess->cred.type == PJ_STUN_AUTH_CRED_STATIC) { - //tdata->auth_info.realm = sess->cred.data.static_cred.realm; - tdata->auth_info.realm = sess->server_realm; - tdata->auth_info.username = sess->cred.data.static_cred.username; - tdata->auth_info.nonce = sess->cred.data.static_cred.nonce; - - pj_stun_create_key(tdata->pool, &tdata->auth_info.auth_key, - &tdata->auth_info.realm, - &tdata->auth_info.username, - sess->cred.data.static_cred.data_type, - &sess->cred.data.static_cred.data); - - } else if (sess->cred.type == PJ_STUN_AUTH_CRED_DYNAMIC) { - pj_str_t password; - void *user_data = sess->cred.data.dyn_cred.user_data; - pj_stun_passwd_type data_type = PJ_STUN_PASSWD_PLAIN; - pj_status_t rc; - - rc = (*sess->cred.data.dyn_cred.get_cred)(tdata->msg, user_data, - tdata->pool, - &tdata->auth_info.realm, - &tdata->auth_info.username, - &tdata->auth_info.nonce, - &data_type, &password); - if (rc != PJ_SUCCESS) - return rc; - - pj_stun_create_key(tdata->pool, &tdata->auth_info.auth_key, - &tdata->auth_info.realm, &tdata->auth_info.username, - data_type, &password); - - } else { - pj_assert(!"Unknown credential type"); - return PJ_EBUG; - } - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_stun_session_create_req(pj_stun_session *sess, - int method, - pj_uint32_t magic, - const pj_uint8_t tsx_id[12], - pj_stun_tx_data **p_tdata) -{ - pj_stun_tx_data *tdata = NULL; - pj_status_t status; - - PJ_ASSERT_RETURN(sess && p_tdata, PJ_EINVAL); - - status = create_tdata(sess, &tdata); - if (status != PJ_SUCCESS) - return status; - - /* Create STUN message */ - status = pj_stun_msg_create(tdata->pool, method, magic, - tsx_id, &tdata->msg); - if (status != PJ_SUCCESS) { - pj_pool_release(tdata->pool); - return status; - } - - /* copy the request's transaction ID as the transaction key. */ - pj_assert(sizeof(tdata->msg_key)==sizeof(tdata->msg->hdr.tsx_id)); - tdata->msg_magic = tdata->msg->hdr.magic; - pj_memcpy(tdata->msg_key, tdata->msg->hdr.tsx_id, - sizeof(tdata->msg->hdr.tsx_id)); - - - /* Get authentication information for the request */ - if (sess->auth_type == PJ_STUN_AUTH_NONE) { - /* No authentication */ - - } else if (sess->auth_type == PJ_STUN_AUTH_SHORT_TERM) { - /* MUST put authentication in request */ - status = get_auth(sess, tdata); - if (status != PJ_SUCCESS) { - pj_pool_release(tdata->pool); - return status; - } - - } else if (sess->auth_type == PJ_STUN_AUTH_LONG_TERM) { - /* Only put authentication information if we've received - * response from server. - */ - if (sess->next_nonce.slen != 0) { - status = get_auth(sess, tdata); - if (status != PJ_SUCCESS) { - pj_pool_release(tdata->pool); - return status; - } - tdata->auth_info.nonce = sess->next_nonce; - tdata->auth_info.realm = sess->server_realm; - } - - } else { - pj_assert(!"Invalid authentication type"); - pj_pool_release(tdata->pool); - return PJ_EBUG; - } - - *p_tdata = tdata; - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pj_stun_session_create_ind(pj_stun_session *sess, - int msg_type, - pj_stun_tx_data **p_tdata) -{ - pj_stun_tx_data *tdata = NULL; - pj_status_t status; - - PJ_ASSERT_RETURN(sess && p_tdata, PJ_EINVAL); - - status = create_tdata(sess, &tdata); - if (status != PJ_SUCCESS) - return status; - - /* Create STUN message */ - msg_type |= PJ_STUN_INDICATION_BIT; - status = pj_stun_msg_create(tdata->pool, msg_type, PJ_STUN_MAGIC, - NULL, &tdata->msg); - if (status != PJ_SUCCESS) { - pj_pool_release(tdata->pool); - return status; - } - - *p_tdata = tdata; - return PJ_SUCCESS; -} - -/* - * Create a STUN response message. - */ -PJ_DEF(pj_status_t) pj_stun_session_create_res( pj_stun_session *sess, - const pj_stun_rx_data *rdata, - unsigned err_code, - const pj_str_t *err_msg, - pj_stun_tx_data **p_tdata) -{ - pj_status_t status; - pj_stun_tx_data *tdata = NULL; - - status = create_tdata(sess, &tdata); - if (status != PJ_SUCCESS) - return status; - - /* Create STUN response message */ - status = pj_stun_msg_create_response(tdata->pool, rdata->msg, - err_code, err_msg, &tdata->msg); - if (status != PJ_SUCCESS) { - pj_pool_release(tdata->pool); - return status; - } - - /* copy the request's transaction ID as the transaction key. */ - pj_assert(sizeof(tdata->msg_key)==sizeof(rdata->msg->hdr.tsx_id)); - tdata->msg_magic = rdata->msg->hdr.magic; - pj_memcpy(tdata->msg_key, rdata->msg->hdr.tsx_id, - sizeof(rdata->msg->hdr.tsx_id)); - - /* copy the credential found in the request */ - pj_stun_req_cred_info_dup(tdata->pool, &tdata->auth_info, &rdata->info); - - *p_tdata = tdata; - - return PJ_SUCCESS; -} - - -/* Print outgoing message to log */ -static void dump_tx_msg(pj_stun_session *sess, const pj_stun_msg *msg, - unsigned pkt_size, const pj_sockaddr_t *addr) -{ - char dst_name[PJ_INET6_ADDRSTRLEN+10]; - - if ((PJ_STUN_IS_REQUEST(msg->hdr.type) && - (sess->log_flag & PJ_STUN_SESS_LOG_TX_REQ)==0) || - (PJ_STUN_IS_RESPONSE(msg->hdr.type) && - (sess->log_flag & PJ_STUN_SESS_LOG_TX_RES)==0) || - (PJ_STUN_IS_INDICATION(msg->hdr.type) && - (sess->log_flag & PJ_STUN_SESS_LOG_TX_IND)==0)) - { - return; - } - - pj_sockaddr_print(addr, dst_name, sizeof(dst_name), 3); - - PJ_LOG(5,(SNAME(sess), - "TX %d bytes STUN message to %s:\n" - "--- begin STUN message ---\n" - "%s" - "--- end of STUN message ---\n", - pkt_size, dst_name, - pj_stun_msg_dump(msg, sess->dump_buf, sizeof(sess->dump_buf), - NULL))); - -} - - -PJ_DEF(pj_status_t) pj_stun_session_send_msg( pj_stun_session *sess, - void *token, - pj_bool_t cache_res, - pj_bool_t retransmit, - const pj_sockaddr_t *server, - unsigned addr_len, - pj_stun_tx_data *tdata) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(sess && addr_len && server && tdata, PJ_EINVAL); - - pj_log_push_indent(); - - /* Allocate packet */ - tdata->max_len = PJ_STUN_MAX_PKT_LEN; - tdata->pkt = pj_pool_alloc(tdata->pool, tdata->max_len); - - tdata->token = token; - tdata->retransmit = retransmit; - - /* Lock the session and prevent user from destroying us in the callback */ - pj_atomic_inc(sess->busy); - pj_lock_acquire(sess->lock); - - /* Apply options */ - status = apply_msg_options(sess, tdata->pool, &tdata->auth_info, - tdata->msg); - if (status != PJ_SUCCESS) { - pj_stun_msg_destroy_tdata(sess, tdata); - LOG_ERR_(sess, "Error applying options", status); - goto on_return; - } - - /* Encode message */ - status = pj_stun_msg_encode(tdata->msg, (pj_uint8_t*)tdata->pkt, - tdata->max_len, 0, - &tdata->auth_info.auth_key, - &tdata->pkt_size); - if (status != PJ_SUCCESS) { - pj_stun_msg_destroy_tdata(sess, tdata); - LOG_ERR_(sess, "STUN encode() error", status); - goto on_return; - } - - /* Dump packet */ - dump_tx_msg(sess, tdata->msg, tdata->pkt_size, server); - - /* If this is a STUN request message, then send the request with - * a new STUN client transaction. - */ - if (PJ_STUN_IS_REQUEST(tdata->msg->hdr.type)) { - - /* Create STUN client transaction */ - status = pj_stun_client_tsx_create(sess->cfg, tdata->pool, - &tsx_cb, &tdata->client_tsx); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, status); - pj_stun_client_tsx_set_data(tdata->client_tsx, (void*)tdata); - - /* Save the remote address */ - tdata->addr_len = addr_len; - tdata->dst_addr = server; - - /* Send the request! */ - status = pj_stun_client_tsx_send_msg(tdata->client_tsx, retransmit, - tdata->pkt, tdata->pkt_size); - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - pj_stun_msg_destroy_tdata(sess, tdata); - LOG_ERR_(sess, "Error sending STUN request", status); - goto on_return; - } - - /* Add to pending request list */ - tsx_add(sess, tdata); - - } else { - if (cache_res && - (PJ_STUN_IS_SUCCESS_RESPONSE(tdata->msg->hdr.type) || - PJ_STUN_IS_ERROR_RESPONSE(tdata->msg->hdr.type))) - { - /* Requested to keep the response in the cache */ - pj_time_val timeout; - - pj_memset(&tdata->res_timer, 0, sizeof(tdata->res_timer)); - pj_timer_entry_init(&tdata->res_timer, PJ_TRUE, tdata, - &on_cache_timeout); - - timeout.sec = sess->cfg->res_cache_msec / 1000; - timeout.msec = sess->cfg->res_cache_msec % 1000; - - status = pj_timer_heap_schedule(sess->cfg->timer_heap, - &tdata->res_timer, - &timeout); - if (status != PJ_SUCCESS) { - tdata->res_timer.id = PJ_FALSE; - pj_stun_msg_destroy_tdata(sess, tdata); - LOG_ERR_(sess, "Error scheduling response timer", status); - goto on_return; - } - - pj_list_push_back(&sess->cached_response_list, tdata); - } - - /* Otherwise for non-request message, send directly to transport. */ - status = sess->cb.on_send_msg(sess, token, tdata->pkt, - tdata->pkt_size, server, addr_len); - - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - pj_stun_msg_destroy_tdata(sess, tdata); - LOG_ERR_(sess, "Error sending STUN request", status); - goto on_return; - } - - /* Destroy only when response is not cached*/ - if (tdata->res_timer.id == 0) { - pj_stun_msg_destroy_tdata(sess, tdata); - } - } - -on_return: - pj_lock_release(sess->lock); - - pj_log_pop_indent(); - - /* Check if application has called destroy() in the callback */ - if (pj_atomic_dec_and_get(sess->busy)==0 && sess->destroy_request) { - pj_stun_session_destroy(sess); - return PJNATH_ESTUNDESTROYED; - } - - return status; -} - - -/* - * Create and send STUN response message. - */ -PJ_DEF(pj_status_t) pj_stun_session_respond( pj_stun_session *sess, - const pj_stun_rx_data *rdata, - unsigned code, - const char *errmsg, - void *token, - pj_bool_t cache, - const pj_sockaddr_t *dst_addr, - unsigned addr_len) -{ - pj_status_t status; - pj_str_t reason; - pj_stun_tx_data *tdata; - - status = pj_stun_session_create_res(sess, rdata, code, - (errmsg?pj_cstr(&reason,errmsg):NULL), - &tdata); - if (status != PJ_SUCCESS) - return status; - - return pj_stun_session_send_msg(sess, token, cache, PJ_FALSE, - dst_addr, addr_len, tdata); -} - - -/* - * Cancel outgoing STUN transaction. - */ -PJ_DEF(pj_status_t) pj_stun_session_cancel_req( pj_stun_session *sess, - pj_stun_tx_data *tdata, - pj_bool_t notify, - pj_status_t notify_status) -{ - PJ_ASSERT_RETURN(sess && tdata, PJ_EINVAL); - PJ_ASSERT_RETURN(!notify || notify_status!=PJ_SUCCESS, PJ_EINVAL); - PJ_ASSERT_RETURN(PJ_STUN_IS_REQUEST(tdata->msg->hdr.type), PJ_EINVAL); - - /* Lock the session and prevent user from destroying us in the callback */ - pj_atomic_inc(sess->busy); - pj_lock_acquire(sess->lock); - - if (notify) { - (sess->cb.on_request_complete)(sess, notify_status, tdata->token, - tdata, NULL, NULL, 0); - } - - /* Just destroy tdata. This will destroy the transaction as well */ - pj_stun_msg_destroy_tdata(sess, tdata); - - pj_lock_release(sess->lock); - - if (pj_atomic_dec_and_get(sess->busy)==0 && sess->destroy_request) { - pj_stun_session_destroy(sess); - return PJNATH_ESTUNDESTROYED; - } - - return PJ_SUCCESS; -} - -/* - * Explicitly request retransmission of the request. - */ -PJ_DEF(pj_status_t) pj_stun_session_retransmit_req(pj_stun_session *sess, - pj_stun_tx_data *tdata) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(sess && tdata, PJ_EINVAL); - PJ_ASSERT_RETURN(PJ_STUN_IS_REQUEST(tdata->msg->hdr.type), PJ_EINVAL); - - /* Lock the session and prevent user from destroying us in the callback */ - pj_atomic_inc(sess->busy); - pj_lock_acquire(sess->lock); - - status = pj_stun_client_tsx_retransmit(tdata->client_tsx); - - pj_lock_release(sess->lock); - - if (pj_atomic_dec_and_get(sess->busy)==0 && sess->destroy_request) { - pj_stun_session_destroy(sess); - return PJNATH_ESTUNDESTROYED; - } - - return status; -} - - -/* Send response */ -static pj_status_t send_response(pj_stun_session *sess, void *token, - pj_pool_t *pool, pj_stun_msg *response, - const pj_stun_req_cred_info *auth_info, - pj_bool_t retransmission, - const pj_sockaddr_t *addr, unsigned addr_len) -{ - pj_uint8_t *out_pkt; - pj_size_t out_max_len, out_len; - pj_status_t status; - - /* Apply options */ - if (!retransmission) { - status = apply_msg_options(sess, pool, auth_info, response); - if (status != PJ_SUCCESS) - return status; - } - - /* Alloc packet buffer */ - out_max_len = PJ_STUN_MAX_PKT_LEN; - out_pkt = (pj_uint8_t*) pj_pool_alloc(pool, out_max_len); - - /* Encode */ - status = pj_stun_msg_encode(response, out_pkt, out_max_len, 0, - &auth_info->auth_key, &out_len); - if (status != PJ_SUCCESS) { - LOG_ERR_(sess, "Error encoding message", status); - return status; - } - - /* Print log */ - dump_tx_msg(sess, response, out_len, addr); - - /* Send packet */ - status = sess->cb.on_send_msg(sess, token, out_pkt, out_len, - addr, addr_len); - - return status; -} - -/* Authenticate incoming message */ -static pj_status_t authenticate_req(pj_stun_session *sess, - void *token, - const pj_uint8_t *pkt, - unsigned pkt_len, - pj_stun_rx_data *rdata, - pj_pool_t *tmp_pool, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - pj_stun_msg *response; - pj_status_t status; - - if (PJ_STUN_IS_ERROR_RESPONSE(rdata->msg->hdr.type) || - sess->auth_type == PJ_STUN_AUTH_NONE) - { - return PJ_SUCCESS; - } - - status = pj_stun_authenticate_request(pkt, pkt_len, rdata->msg, - &sess->cred, tmp_pool, &rdata->info, - &response); - if (status != PJ_SUCCESS && response != NULL) { - PJ_LOG(5,(SNAME(sess), "Message authentication failed")); - send_response(sess, token, tmp_pool, response, &rdata->info, - PJ_FALSE, src_addr, src_addr_len); - } - - return status; -} - - -/* Handle incoming response */ -static pj_status_t on_incoming_response(pj_stun_session *sess, - unsigned options, - const pj_uint8_t *pkt, - unsigned pkt_len, - pj_stun_msg *msg, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - pj_stun_tx_data *tdata; - pj_status_t status; - - /* Lookup pending client transaction */ - tdata = tsx_lookup(sess, msg); - if (tdata == NULL) { - PJ_LOG(5,(SNAME(sess), - "Transaction not found, response silently discarded")); - return PJ_SUCCESS; - } - - if (sess->auth_type == PJ_STUN_AUTH_NONE) - options |= PJ_STUN_NO_AUTHENTICATE; - - /* Authenticate the message, unless PJ_STUN_NO_AUTHENTICATE - * is specified in the option. - */ - if ((options & PJ_STUN_NO_AUTHENTICATE) == 0 && - tdata->auth_info.auth_key.slen != 0 && - pj_stun_auth_valid_for_msg(msg)) - { - status = pj_stun_authenticate_response(pkt, pkt_len, msg, - &tdata->auth_info.auth_key); - if (status != PJ_SUCCESS) { - PJ_LOG(5,(SNAME(sess), - "Response authentication failed")); - return status; - } - } - - /* Pass the response to the transaction. - * If the message is accepted, transaction callback will be called, - * and this will call the session callback too. - */ - status = pj_stun_client_tsx_on_rx_msg(tdata->client_tsx, msg, - src_addr, src_addr_len); - if (status != PJ_SUCCESS) { - return status; - } - - return PJ_SUCCESS; -} - - -/* For requests, check if we cache the response */ -static pj_status_t check_cached_response(pj_stun_session *sess, - pj_pool_t *tmp_pool, - const pj_stun_msg *msg, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - pj_stun_tx_data *t; - - /* First lookup response in response cache */ - t = sess->cached_response_list.next; - while (t != &sess->cached_response_list) { - if (t->msg_magic == msg->hdr.magic && - t->msg->hdr.type == msg->hdr.type && - pj_memcmp(t->msg_key, msg->hdr.tsx_id, - sizeof(msg->hdr.tsx_id))==0) - { - break; - } - t = t->next; - } - - if (t != &sess->cached_response_list) { - /* Found response in the cache */ - - PJ_LOG(5,(SNAME(sess), - "Request retransmission, sending cached response")); - - send_response(sess, t->token, tmp_pool, t->msg, &t->auth_info, - PJ_TRUE, src_addr, src_addr_len); - return PJ_SUCCESS; - } - - return PJ_ENOTFOUND; -} - -/* Handle incoming request */ -static pj_status_t on_incoming_request(pj_stun_session *sess, - unsigned options, - void *token, - pj_pool_t *tmp_pool, - const pj_uint8_t *in_pkt, - unsigned in_pkt_len, - pj_stun_msg *msg, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - pj_stun_rx_data rdata; - pj_status_t status; - - /* Init rdata */ - rdata.msg = msg; - pj_bzero(&rdata.info, sizeof(rdata.info)); - - if (sess->auth_type == PJ_STUN_AUTH_NONE) - options |= PJ_STUN_NO_AUTHENTICATE; - - /* Authenticate the message, unless PJ_STUN_NO_AUTHENTICATE - * is specified in the option. - */ - if ((options & PJ_STUN_NO_AUTHENTICATE) == 0) { - status = authenticate_req(sess, token, (const pj_uint8_t*) in_pkt, - in_pkt_len,&rdata, tmp_pool, src_addr, - src_addr_len); - if (status != PJ_SUCCESS) { - return status; - } - } - - /* Distribute to handler, or respond with Bad Request */ - if (sess->cb.on_rx_request) { - status = (*sess->cb.on_rx_request)(sess, in_pkt, in_pkt_len, &rdata, - token, src_addr, src_addr_len); - } else { - pj_str_t err_text; - pj_stun_msg *response; - - err_text = pj_str("Callback is not set to handle request"); - status = pj_stun_msg_create_response(tmp_pool, msg, - PJ_STUN_SC_BAD_REQUEST, - &err_text, &response); - if (status == PJ_SUCCESS && response) { - status = send_response(sess, token, tmp_pool, response, - NULL, PJ_FALSE, src_addr, src_addr_len); - } - } - - return status; -} - - -/* Handle incoming indication */ -static pj_status_t on_incoming_indication(pj_stun_session *sess, - void *token, - pj_pool_t *tmp_pool, - const pj_uint8_t *in_pkt, - unsigned in_pkt_len, - const pj_stun_msg *msg, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - PJ_UNUSED_ARG(tmp_pool); - - /* Distribute to handler */ - if (sess->cb.on_rx_indication) { - return (*sess->cb.on_rx_indication)(sess, in_pkt, in_pkt_len, msg, - token, src_addr, src_addr_len); - } else { - return PJ_SUCCESS; - } -} - - -/* Print outgoing message to log */ -static void dump_rx_msg(pj_stun_session *sess, const pj_stun_msg *msg, - unsigned pkt_size, const pj_sockaddr_t *addr) -{ - char src_info[PJ_INET6_ADDRSTRLEN+10]; - - if ((PJ_STUN_IS_REQUEST(msg->hdr.type) && - (sess->log_flag & PJ_STUN_SESS_LOG_RX_REQ)==0) || - (PJ_STUN_IS_RESPONSE(msg->hdr.type) && - (sess->log_flag & PJ_STUN_SESS_LOG_RX_RES)==0) || - (PJ_STUN_IS_INDICATION(msg->hdr.type) && - (sess->log_flag & PJ_STUN_SESS_LOG_RX_IND)==0)) - { - return; - } - - pj_sockaddr_print(addr, src_info, sizeof(src_info), 3); - - PJ_LOG(5,(SNAME(sess), - "RX %d bytes STUN message from %s:\n" - "--- begin STUN message ---\n" - "%s" - "--- end of STUN message ---\n", - pkt_size, src_info, - pj_stun_msg_dump(msg, sess->dump_buf, sizeof(sess->dump_buf), - NULL))); - -} - -/* Incoming packet */ -PJ_DEF(pj_status_t) pj_stun_session_on_rx_pkt(pj_stun_session *sess, - const void *packet, - pj_size_t pkt_size, - unsigned options, - void *token, - pj_size_t *parsed_len, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - pj_stun_msg *msg, *response; - pj_status_t status; - - PJ_ASSERT_RETURN(sess && packet && pkt_size, PJ_EINVAL); - - pj_log_push_indent(); - - /* Lock the session and prevent user from destroying us in the callback */ - pj_atomic_inc(sess->busy); - pj_lock_acquire(sess->lock); - - /* Reset pool */ - pj_pool_reset(sess->rx_pool); - - /* Try to parse the message */ - status = pj_stun_msg_decode(sess->rx_pool, (const pj_uint8_t*)packet, - pkt_size, options, - &msg, parsed_len, &response); - if (status != PJ_SUCCESS) { - LOG_ERR_(sess, "STUN msg_decode() error", status); - if (response) { - send_response(sess, token, sess->rx_pool, response, NULL, - PJ_FALSE, src_addr, src_addr_len); - } - goto on_return; - } - - dump_rx_msg(sess, msg, pkt_size, src_addr); - - /* For requests, check if we have cached response */ - status = check_cached_response(sess, sess->rx_pool, msg, - src_addr, src_addr_len); - if (status == PJ_SUCCESS) { - goto on_return; - } - - /* Handle message */ - if (PJ_STUN_IS_SUCCESS_RESPONSE(msg->hdr.type) || - PJ_STUN_IS_ERROR_RESPONSE(msg->hdr.type)) - { - status = on_incoming_response(sess, options, - (const pj_uint8_t*) packet, pkt_size, - msg, src_addr, src_addr_len); - - } else if (PJ_STUN_IS_REQUEST(msg->hdr.type)) { - - status = on_incoming_request(sess, options, token, sess->rx_pool, - (const pj_uint8_t*) packet, pkt_size, - msg, src_addr, src_addr_len); - - } else if (PJ_STUN_IS_INDICATION(msg->hdr.type)) { - - status = on_incoming_indication(sess, token, sess->rx_pool, - (const pj_uint8_t*) packet, pkt_size, - msg, src_addr, src_addr_len); - - } else { - pj_assert(!"Unexpected!"); - status = PJ_EBUG; - } - -on_return: - pj_lock_release(sess->lock); - - pj_log_pop_indent(); - - /* If we've received destroy request while we're on the callback, - * destroy the session now. - */ - if (pj_atomic_dec_and_get(sess->busy)==0 && sess->destroy_request) { - pj_stun_session_destroy(sess); - return PJNATH_ESTUNDESTROYED; - } - - return status; -} - diff --git a/res/pjproject/pjnath/src/pjnath/stun_sock.c b/res/pjproject/pjnath/src/pjnath/stun_sock.c deleted file mode 100644 index 75cf582282..0000000000 --- a/res/pjproject/pjnath/src/pjnath/stun_sock.c +++ /dev/null @@ -1,856 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -struct pj_stun_sock -{ - char *obj_name; /* Log identification */ - pj_pool_t *pool; /* Pool */ - void *user_data; /* Application user data */ - - int af; /* Address family */ - pj_stun_config stun_cfg; /* STUN config (ioqueue etc)*/ - pj_stun_sock_cb cb; /* Application callbacks */ - - int ka_interval; /* Keep alive interval */ - pj_timer_entry ka_timer; /* Keep alive timer. */ - - pj_sockaddr srv_addr; /* Resolved server addr */ - pj_sockaddr mapped_addr; /* Our public address */ - - pj_dns_srv_async_query *q; /* Pending DNS query */ - pj_sock_t sock_fd; /* Socket descriptor */ - pj_activesock_t *active_sock; /* Active socket object */ - pj_ioqueue_op_key_t send_key; /* Default send key for app */ - pj_ioqueue_op_key_t int_send_key; /* Send key for internal */ - - pj_uint16_t tsx_id[6]; /* .. to match STUN msg */ - pj_stun_session *stun_sess; /* STUN session */ - -}; - -/* - * Prototypes for static functions - */ - -/* This callback is called by the STUN session to send packet */ -static pj_status_t sess_on_send_msg(pj_stun_session *sess, - void *token, - const void *pkt, - pj_size_t pkt_size, - const pj_sockaddr_t *dst_addr, - unsigned addr_len); - -/* This callback is called by the STUN session when outgoing transaction - * is complete - */ -static void sess_on_request_complete(pj_stun_session *sess, - pj_status_t status, - void *token, - pj_stun_tx_data *tdata, - const pj_stun_msg *response, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); -/* DNS resolver callback */ -static void dns_srv_resolver_cb(void *user_data, - pj_status_t status, - const pj_dns_srv_record *rec); - -/* Start sending STUN Binding request */ -static pj_status_t get_mapped_addr(pj_stun_sock *stun_sock); - -/* Callback from active socket when incoming packet is received */ -static pj_bool_t on_data_recvfrom(pj_activesock_t *asock, - void *data, - pj_size_t size, - const pj_sockaddr_t *src_addr, - int addr_len, - pj_status_t status); - -/* Callback from active socket about send status */ -static pj_bool_t on_data_sent(pj_activesock_t *asock, - pj_ioqueue_op_key_t *send_key, - pj_ssize_t sent); - -/* Schedule keep-alive timer */ -static void start_ka_timer(pj_stun_sock *stun_sock); - -/* Keep-alive timer callback */ -static void ka_timer_cb(pj_timer_heap_t *th, pj_timer_entry *te); - -#define INTERNAL_MSG_TOKEN (void*)1 - - -/* - * Retrieve the name representing the specified operation. - */ -PJ_DEF(const char*) pj_stun_sock_op_name(pj_stun_sock_op op) -{ - const char *names[] = { - "?", - "DNS resolution", - "STUN Binding request", - "Keep-alive", - "Mapped addr. changed" - }; - - return op < PJ_ARRAY_SIZE(names) ? names[op] : "???"; -}; - - -/* - * Initialize the STUN transport setting with its default values. - */ -PJ_DEF(void) pj_stun_sock_cfg_default(pj_stun_sock_cfg *cfg) -{ - pj_bzero(cfg, sizeof(*cfg)); - cfg->max_pkt_size = PJ_STUN_SOCK_PKT_LEN; - cfg->async_cnt = 1; - cfg->ka_interval = PJ_STUN_KEEP_ALIVE_SEC; - cfg->qos_type = PJ_QOS_TYPE_BEST_EFFORT; - cfg->qos_ignore_error = PJ_TRUE; -} - - -/* Check that configuration setting is valid */ -static pj_bool_t pj_stun_sock_cfg_is_valid(const pj_stun_sock_cfg *cfg) -{ - return cfg->max_pkt_size > 1 && cfg->async_cnt >= 1; -} - -/* - * Create the STUN transport using the specified configuration. - */ -PJ_DEF(pj_status_t) pj_stun_sock_create( pj_stun_config *stun_cfg, - const char *name, - int af, - const pj_stun_sock_cb *cb, - const pj_stun_sock_cfg *cfg, - void *user_data, - pj_stun_sock **p_stun_sock) -{ - pj_pool_t *pool; - pj_stun_sock *stun_sock; - pj_stun_sock_cfg default_cfg; - unsigned i; - pj_status_t status; - - PJ_ASSERT_RETURN(stun_cfg && cb && p_stun_sock, PJ_EINVAL); - PJ_ASSERT_RETURN(af==pj_AF_INET()||af==pj_AF_INET6(), PJ_EAFNOTSUP); - PJ_ASSERT_RETURN(!cfg || pj_stun_sock_cfg_is_valid(cfg), PJ_EINVAL); - PJ_ASSERT_RETURN(cb->on_status, PJ_EINVAL); - - status = pj_stun_config_check_valid(stun_cfg); - if (status != PJ_SUCCESS) - return status; - - if (name == NULL) - name = "stuntp%p"; - - if (cfg == NULL) { - pj_stun_sock_cfg_default(&default_cfg); - cfg = &default_cfg; - } - - - /* Create structure */ - pool = pj_pool_create(stun_cfg->pf, name, 256, 512, NULL); - stun_sock = PJ_POOL_ZALLOC_T(pool, pj_stun_sock); - stun_sock->pool = pool; - stun_sock->obj_name = pool->obj_name; - stun_sock->user_data = user_data; - stun_sock->af = af; - stun_sock->sock_fd = PJ_INVALID_SOCKET; - pj_memcpy(&stun_sock->stun_cfg, stun_cfg, sizeof(*stun_cfg)); - pj_memcpy(&stun_sock->cb, cb, sizeof(*cb)); - - stun_sock->ka_interval = cfg->ka_interval; - if (stun_sock->ka_interval == 0) - stun_sock->ka_interval = PJ_STUN_KEEP_ALIVE_SEC; - - /* Create socket and bind socket */ - status = pj_sock_socket(af, pj_SOCK_DGRAM(), 0, &stun_sock->sock_fd); - if (status != PJ_SUCCESS) - goto on_error; - - /* Apply QoS, if specified */ - status = pj_sock_apply_qos2(stun_sock->sock_fd, cfg->qos_type, - &cfg->qos_params, 2, stun_sock->obj_name, - NULL); - if (status != PJ_SUCCESS && !cfg->qos_ignore_error) - goto on_error; - - /* Bind socket */ - if (pj_sockaddr_has_addr(&cfg->bound_addr)) { - status = pj_sock_bind(stun_sock->sock_fd, &cfg->bound_addr, - pj_sockaddr_get_len(&cfg->bound_addr)); - } else { - pj_sockaddr bound_addr; - - pj_sockaddr_init(af, &bound_addr, NULL, 0); - status = pj_sock_bind(stun_sock->sock_fd, &bound_addr, - pj_sockaddr_get_len(&bound_addr)); - } - - if (status != PJ_SUCCESS) - goto on_error; - - /* Create more useful information string about this transport */ -#if 0 - { - pj_sockaddr bound_addr; - int addr_len = sizeof(bound_addr); - - status = pj_sock_getsockname(stun_sock->sock_fd, &bound_addr, - &addr_len); - if (status != PJ_SUCCESS) - goto on_error; - - stun_sock->info = pj_pool_alloc(pool, PJ_INET6_ADDRSTRLEN+10); - pj_sockaddr_print(&bound_addr, stun_sock->info, - PJ_INET6_ADDRSTRLEN, 3); - } -#endif - - /* Init active socket configuration */ - { - pj_activesock_cfg activesock_cfg; - pj_activesock_cb activesock_cb; - - pj_activesock_cfg_default(&activesock_cfg); - activesock_cfg.async_cnt = cfg->async_cnt; - activesock_cfg.concurrency = 0; - - /* Create the active socket */ - pj_bzero(&activesock_cb, sizeof(activesock_cb)); - activesock_cb.on_data_recvfrom = &on_data_recvfrom; - activesock_cb.on_data_sent = &on_data_sent; - status = pj_activesock_create(pool, stun_sock->sock_fd, - pj_SOCK_DGRAM(), - &activesock_cfg, stun_cfg->ioqueue, - &activesock_cb, stun_sock, - &stun_sock->active_sock); - if (status != PJ_SUCCESS) - goto on_error; - - /* Start asynchronous read operations */ - status = pj_activesock_start_recvfrom(stun_sock->active_sock, pool, - cfg->max_pkt_size, 0); - if (status != PJ_SUCCESS) - goto on_error; - - /* Init send keys */ - pj_ioqueue_op_key_init(&stun_sock->send_key, - sizeof(stun_sock->send_key)); - pj_ioqueue_op_key_init(&stun_sock->int_send_key, - sizeof(stun_sock->int_send_key)); - } - - /* Create STUN session */ - { - pj_stun_session_cb sess_cb; - - pj_bzero(&sess_cb, sizeof(sess_cb)); - sess_cb.on_request_complete = &sess_on_request_complete; - sess_cb.on_send_msg = &sess_on_send_msg; - status = pj_stun_session_create(&stun_sock->stun_cfg, - stun_sock->obj_name, - &sess_cb, PJ_FALSE, - &stun_sock->stun_sess); - if (status != PJ_SUCCESS) - goto on_error; - } - - /* Associate us with the STUN session */ - pj_stun_session_set_user_data(stun_sock->stun_sess, stun_sock); - - /* Initialize random numbers to be used as STUN transaction ID for - * outgoing Binding request. We use the 80bit number to distinguish - * STUN messages we sent with STUN messages that the application sends. - * The last 16bit value in the array is a counter. - */ - for (i=0; itsx_id); ++i) { - stun_sock->tsx_id[i] = (pj_uint16_t) pj_rand(); - } - stun_sock->tsx_id[5] = 0; - - - /* Init timer entry */ - stun_sock->ka_timer.cb = &ka_timer_cb; - stun_sock->ka_timer.user_data = stun_sock; - - /* Done */ - *p_stun_sock = stun_sock; - return PJ_SUCCESS; - -on_error: - pj_stun_sock_destroy(stun_sock); - return status; -} - -/* Start socket. */ -PJ_DEF(pj_status_t) pj_stun_sock_start( pj_stun_sock *stun_sock, - const pj_str_t *domain, - pj_uint16_t default_port, - pj_dns_resolver *resolver) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(stun_sock && domain && default_port, PJ_EINVAL); - - /* Check whether the domain contains IP address */ - stun_sock->srv_addr.addr.sa_family = (pj_uint16_t)stun_sock->af; - status = pj_inet_pton(stun_sock->af, domain, - pj_sockaddr_get_addr(&stun_sock->srv_addr)); - if (status != PJ_SUCCESS) { - stun_sock->srv_addr.addr.sa_family = (pj_uint16_t)0; - } - - /* If resolver is set, try to resolve with DNS SRV first. It - * will fallback to DNS A/AAAA when no SRV record is found. - */ - if (status != PJ_SUCCESS && resolver) { - const pj_str_t res_name = pj_str("_stun._udp."); - unsigned opt; - - pj_assert(stun_sock->q == NULL); - - opt = PJ_DNS_SRV_FALLBACK_A; - if (stun_sock->af == pj_AF_INET6()) { - opt |= (PJ_DNS_SRV_RESOLVE_AAAA | PJ_DNS_SRV_FALLBACK_AAAA); - } - - status = pj_dns_srv_resolve(domain, &res_name, default_port, - stun_sock->pool, resolver, opt, - stun_sock, &dns_srv_resolver_cb, - &stun_sock->q); - - /* Processing will resume when the DNS SRV callback is called */ - return status; - - } else { - - if (status != PJ_SUCCESS) { - pj_addrinfo ai; - unsigned cnt = 1; - - status = pj_getaddrinfo(stun_sock->af, domain, &cnt, &ai); - if (status != PJ_SUCCESS) - return status; - - pj_sockaddr_cp(&stun_sock->srv_addr, &ai.ai_addr); - } - - pj_sockaddr_set_port(&stun_sock->srv_addr, (pj_uint16_t)default_port); - - /* Start sending Binding request */ - return get_mapped_addr(stun_sock); - } -} - -/* Destroy */ -PJ_DEF(pj_status_t) pj_stun_sock_destroy(pj_stun_sock *stun_sock) -{ - if (stun_sock->q) { - pj_dns_srv_cancel_query(stun_sock->q, PJ_FALSE); - stun_sock->q = NULL; - } - - /* Destroy the active socket first just in case we'll get - * stray callback. - */ - if (stun_sock->active_sock != NULL) { - pj_activesock_close(stun_sock->active_sock); - stun_sock->active_sock = NULL; - stun_sock->sock_fd = PJ_INVALID_SOCKET; - } else if (stun_sock->sock_fd != PJ_INVALID_SOCKET) { - pj_sock_close(stun_sock->sock_fd); - stun_sock->sock_fd = PJ_INVALID_SOCKET; - } - - if (stun_sock->ka_timer.id != 0) { - pj_timer_heap_cancel(stun_sock->stun_cfg.timer_heap, - &stun_sock->ka_timer); - stun_sock->ka_timer.id = 0; - } - - if (stun_sock->stun_sess) { - pj_stun_session_destroy(stun_sock->stun_sess); - stun_sock->stun_sess = NULL; - } - - if (stun_sock->pool) { - pj_pool_t *pool = stun_sock->pool; - stun_sock->pool = NULL; - pj_pool_release(pool); - } - - return PJ_SUCCESS; -} - -/* Associate user data */ -PJ_DEF(pj_status_t) pj_stun_sock_set_user_data( pj_stun_sock *stun_sock, - void *user_data) -{ - PJ_ASSERT_RETURN(stun_sock, PJ_EINVAL); - stun_sock->user_data = user_data; - return PJ_SUCCESS; -} - - -/* Get user data */ -PJ_DEF(void*) pj_stun_sock_get_user_data(pj_stun_sock *stun_sock) -{ - PJ_ASSERT_RETURN(stun_sock, NULL); - return stun_sock->user_data; -} - -/* Notify application that session has failed */ -static pj_bool_t sess_fail(pj_stun_sock *stun_sock, - pj_stun_sock_op op, - pj_status_t status) -{ - pj_bool_t ret; - - PJ_PERROR(4,(stun_sock->obj_name, status, - "Session failed because %s failed", - pj_stun_sock_op_name(op))); - - ret = (*stun_sock->cb.on_status)(stun_sock, op, status); - - return ret; -} - -/* DNS resolver callback */ -static void dns_srv_resolver_cb(void *user_data, - pj_status_t status, - const pj_dns_srv_record *rec) -{ - pj_stun_sock *stun_sock = (pj_stun_sock*) user_data; - - /* Clear query */ - stun_sock->q = NULL; - - /* Handle error */ - if (status != PJ_SUCCESS) { - sess_fail(stun_sock, PJ_STUN_SOCK_DNS_OP, status); - return; - } - - pj_assert(rec->count); - pj_assert(rec->entry[0].server.addr_count); - - PJ_TODO(SUPPORT_IPV6_IN_RESOLVER); - pj_assert(stun_sock->af == pj_AF_INET()); - - /* Set the address */ - pj_sockaddr_in_init(&stun_sock->srv_addr.ipv4, NULL, - rec->entry[0].port); - stun_sock->srv_addr.ipv4.sin_addr = rec->entry[0].server.addr[0]; - - /* Start sending Binding request */ - get_mapped_addr(stun_sock); -} - - -/* Start sending STUN Binding request */ -static pj_status_t get_mapped_addr(pj_stun_sock *stun_sock) -{ - pj_stun_tx_data *tdata; - pj_status_t status; - - /* Increment request counter and create STUN Binding request */ - ++stun_sock->tsx_id[5]; - status = pj_stun_session_create_req(stun_sock->stun_sess, - PJ_STUN_BINDING_REQUEST, - PJ_STUN_MAGIC, - (const pj_uint8_t*)stun_sock->tsx_id, - &tdata); - if (status != PJ_SUCCESS) - goto on_error; - - /* Send request */ - status=pj_stun_session_send_msg(stun_sock->stun_sess, INTERNAL_MSG_TOKEN, - PJ_FALSE, PJ_TRUE, &stun_sock->srv_addr, - pj_sockaddr_get_len(&stun_sock->srv_addr), - tdata); - if (status != PJ_SUCCESS && status != PJ_EPENDING) - goto on_error; - - return PJ_SUCCESS; - -on_error: - sess_fail(stun_sock, PJ_STUN_SOCK_BINDING_OP, status); - return status; -} - -/* Get info */ -PJ_DEF(pj_status_t) pj_stun_sock_get_info( pj_stun_sock *stun_sock, - pj_stun_sock_info *info) -{ - int addr_len; - pj_status_t status; - - PJ_ASSERT_RETURN(stun_sock && info, PJ_EINVAL); - - /* Copy STUN server address and mapped address */ - pj_memcpy(&info->srv_addr, &stun_sock->srv_addr, - sizeof(pj_sockaddr)); - pj_memcpy(&info->mapped_addr, &stun_sock->mapped_addr, - sizeof(pj_sockaddr)); - - /* Retrieve bound address */ - addr_len = sizeof(info->bound_addr); - status = pj_sock_getsockname(stun_sock->sock_fd, &info->bound_addr, - &addr_len); - if (status != PJ_SUCCESS) - return status; - - /* If socket is bound to a specific interface, then only put that - * interface in the alias list. Otherwise query all the interfaces - * in the host. - */ - if (pj_sockaddr_has_addr(&info->bound_addr)) { - info->alias_cnt = 1; - pj_sockaddr_cp(&info->aliases[0], &info->bound_addr); - } else { - pj_sockaddr def_addr; - pj_uint16_t port = pj_sockaddr_get_port(&info->bound_addr); - unsigned i; - - /* Get the default address */ - status = pj_gethostip(stun_sock->af, &def_addr); - if (status != PJ_SUCCESS) - return status; - - pj_sockaddr_set_port(&def_addr, port); - - /* Enum all IP interfaces in the host */ - info->alias_cnt = PJ_ARRAY_SIZE(info->aliases); - status = pj_enum_ip_interface(stun_sock->af, &info->alias_cnt, - info->aliases); - if (status != PJ_SUCCESS) - return status; - - /* Set the port number for each address. - */ - for (i=0; ialias_cnt; ++i) { - pj_sockaddr_set_port(&info->aliases[i], port); - } - - /* Put the default IP in the first slot */ - for (i=0; ialias_cnt; ++i) { - if (pj_sockaddr_cmp(&info->aliases[i], &def_addr)==0) { - if (i!=0) { - pj_sockaddr_cp(&info->aliases[i], &info->aliases[0]); - pj_sockaddr_cp(&info->aliases[0], &def_addr); - } - break; - } - } - } - - return PJ_SUCCESS; -} - -/* Send application data */ -PJ_DEF(pj_status_t) pj_stun_sock_sendto( pj_stun_sock *stun_sock, - pj_ioqueue_op_key_t *send_key, - const void *pkt, - unsigned pkt_len, - unsigned flag, - const pj_sockaddr_t *dst_addr, - unsigned addr_len) -{ - pj_ssize_t size; - PJ_ASSERT_RETURN(stun_sock && pkt && dst_addr && addr_len, PJ_EINVAL); - - if (send_key==NULL) - send_key = &stun_sock->send_key; - - size = pkt_len; - return pj_activesock_sendto(stun_sock->active_sock, send_key, - pkt, &size, flag, dst_addr, addr_len); -} - -/* This callback is called by the STUN session to send packet */ -static pj_status_t sess_on_send_msg(pj_stun_session *sess, - void *token, - const void *pkt, - pj_size_t pkt_size, - const pj_sockaddr_t *dst_addr, - unsigned addr_len) -{ - pj_stun_sock *stun_sock; - pj_ssize_t size; - - stun_sock = (pj_stun_sock *) pj_stun_session_get_user_data(sess); - - pj_assert(token==INTERNAL_MSG_TOKEN); - PJ_UNUSED_ARG(token); - - size = pkt_size; - return pj_activesock_sendto(stun_sock->active_sock, - &stun_sock->int_send_key, - pkt, &size, 0, dst_addr, addr_len); -} - -/* This callback is called by the STUN session when outgoing transaction - * is complete - */ -static void sess_on_request_complete(pj_stun_session *sess, - pj_status_t status, - void *token, - pj_stun_tx_data *tdata, - const pj_stun_msg *response, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - pj_stun_sock *stun_sock; - const pj_stun_sockaddr_attr *mapped_attr; - pj_stun_sock_op op; - pj_bool_t mapped_changed; - pj_bool_t resched = PJ_TRUE; - - stun_sock = (pj_stun_sock *) pj_stun_session_get_user_data(sess); - - PJ_UNUSED_ARG(tdata); - PJ_UNUSED_ARG(token); - PJ_UNUSED_ARG(src_addr); - PJ_UNUSED_ARG(src_addr_len); - - /* Check if this is a keep-alive or the first Binding request */ - if (pj_sockaddr_has_addr(&stun_sock->mapped_addr)) - op = PJ_STUN_SOCK_KEEP_ALIVE_OP; - else - op = PJ_STUN_SOCK_BINDING_OP; - - /* Handle failure */ - if (status != PJ_SUCCESS) { - resched = sess_fail(stun_sock, op, status); - goto on_return; - } - - /* Get XOR-MAPPED-ADDRESS, or MAPPED-ADDRESS when XOR-MAPPED-ADDRESS - * doesn't exist. - */ - mapped_attr = (const pj_stun_sockaddr_attr*) - pj_stun_msg_find_attr(response, PJ_STUN_ATTR_XOR_MAPPED_ADDR, - 0); - if (mapped_attr==NULL) { - mapped_attr = (const pj_stun_sockaddr_attr*) - pj_stun_msg_find_attr(response, PJ_STUN_ATTR_MAPPED_ADDR, - 0); - } - - if (mapped_attr == NULL) { - resched = sess_fail(stun_sock, op, PJNATH_ESTUNNOMAPPEDADDR); - goto on_return; - } - - /* Determine if mapped address has changed, and save the new mapped - * address and call callback if so - */ - mapped_changed = !pj_sockaddr_has_addr(&stun_sock->mapped_addr) || - pj_sockaddr_cmp(&stun_sock->mapped_addr, - &mapped_attr->sockaddr) != 0; - if (mapped_changed) { - /* Print mapped adress */ - { - char addrinfo[PJ_INET6_ADDRSTRLEN+10]; - PJ_LOG(4,(stun_sock->obj_name, - "STUN mapped address found/changed: %s", - pj_sockaddr_print(&mapped_attr->sockaddr, - addrinfo, sizeof(addrinfo), 3))); - } - - pj_sockaddr_cp(&stun_sock->mapped_addr, &mapped_attr->sockaddr); - - if (op==PJ_STUN_SOCK_KEEP_ALIVE_OP) - op = PJ_STUN_SOCK_MAPPED_ADDR_CHANGE; - } - - /* Notify user */ - resched = (*stun_sock->cb.on_status)(stun_sock, op, PJ_SUCCESS); - -on_return: - /* Start/restart keep-alive timer */ - if (resched) - start_ka_timer(stun_sock); -} - -/* Schedule keep-alive timer */ -static void start_ka_timer(pj_stun_sock *stun_sock) -{ - if (stun_sock->ka_timer.id != 0) { - pj_timer_heap_cancel(stun_sock->stun_cfg.timer_heap, - &stun_sock->ka_timer); - stun_sock->ka_timer.id = 0; - } - - pj_assert(stun_sock->ka_interval != 0); - if (stun_sock->ka_interval > 0) { - pj_time_val delay; - - delay.sec = stun_sock->ka_interval; - delay.msec = 0; - - if (pj_timer_heap_schedule(stun_sock->stun_cfg.timer_heap, - &stun_sock->ka_timer, - &delay) == PJ_SUCCESS) - { - stun_sock->ka_timer.id = PJ_TRUE; - } - } -} - -/* Keep-alive timer callback */ -static void ka_timer_cb(pj_timer_heap_t *th, pj_timer_entry *te) -{ - pj_stun_sock *stun_sock; - - stun_sock = (pj_stun_sock *) te->user_data; - - PJ_UNUSED_ARG(th); - - /* Time to send STUN Binding request */ - if (get_mapped_addr(stun_sock) != PJ_SUCCESS) - return; - - /* Next keep-alive timer will be scheduled once the request - * is complete. - */ -} - -/* Callback from active socket when incoming packet is received */ -static pj_bool_t on_data_recvfrom(pj_activesock_t *asock, - void *data, - pj_size_t size, - const pj_sockaddr_t *src_addr, - int addr_len, - pj_status_t status) -{ - pj_stun_sock *stun_sock; - pj_stun_msg_hdr *hdr; - pj_uint16_t type; - - stun_sock = (pj_stun_sock*) pj_activesock_get_user_data(asock); - - /* Log socket error */ - if (status != PJ_SUCCESS) { - PJ_PERROR(2,(stun_sock->obj_name, status, "recvfrom() error")); - return PJ_TRUE; - } - - /* Check that this is STUN message */ - status = pj_stun_msg_check((const pj_uint8_t*)data, size, - PJ_STUN_IS_DATAGRAM | PJ_STUN_CHECK_PACKET); - if (status != PJ_SUCCESS) { - /* Not STUN -- give it to application */ - goto process_app_data; - } - - /* Treat packet as STUN header and copy the STUN message type. - * We don't want to access the type directly from the header - * since it may not be properly aligned. - */ - hdr = (pj_stun_msg_hdr*) data; - pj_memcpy(&type, &hdr->type, 2); - type = pj_ntohs(type); - - /* If the packet is a STUN Binding response and part of the - * transaction ID matches our internal ID, then this is - * our internal STUN message (Binding request or keep alive). - * Give it to our STUN session. - */ - if (!PJ_STUN_IS_RESPONSE(type) || - PJ_STUN_GET_METHOD(type) != PJ_STUN_BINDING_METHOD || - pj_memcmp(hdr->tsx_id, stun_sock->tsx_id, 10) != 0) - { - /* Not STUN Binding response, or STUN transaction ID mismatch. - * This is not our message too -- give it to application. - */ - goto process_app_data; - } - - /* This is our STUN Binding response. Give it to the STUN session */ - status = pj_stun_session_on_rx_pkt(stun_sock->stun_sess, data, size, - PJ_STUN_IS_DATAGRAM, NULL, NULL, - src_addr, addr_len); - return status!=PJNATH_ESTUNDESTROYED ? PJ_TRUE : PJ_FALSE; - -process_app_data: - if (stun_sock->cb.on_rx_data) { - pj_bool_t ret; - - ret = (*stun_sock->cb.on_rx_data)(stun_sock, data, size, - src_addr, addr_len); - return ret; - } - - return PJ_TRUE; -} - -/* Callback from active socket about send status */ -static pj_bool_t on_data_sent(pj_activesock_t *asock, - pj_ioqueue_op_key_t *send_key, - pj_ssize_t sent) -{ - pj_stun_sock *stun_sock; - - stun_sock = (pj_stun_sock*) pj_activesock_get_user_data(asock); - - /* Don't report to callback if this is internal message */ - if (send_key == &stun_sock->int_send_key) { - return PJ_TRUE; - } - - /* Report to callback */ - if (stun_sock->cb.on_data_sent) { - pj_bool_t ret; - - /* If app gives NULL send_key in sendto() function, then give - * NULL in the callback too - */ - if (send_key == &stun_sock->send_key) - send_key = NULL; - - /* Call callback */ - ret = (*stun_sock->cb.on_data_sent)(stun_sock, send_key, sent); - - return ret; - } - - return PJ_TRUE; -} - diff --git a/res/pjproject/pjnath/src/pjnath/stun_transaction.c b/res/pjproject/pjnath/src/pjnath/stun_transaction.c deleted file mode 100644 index ab16b32ce5..0000000000 --- a/res/pjproject/pjnath/src/pjnath/stun_transaction.c +++ /dev/null @@ -1,448 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include - - -#define TIMER_ACTIVE 1 - - -struct pj_stun_client_tsx -{ - char obj_name[PJ_MAX_OBJ_NAME]; - pj_stun_tsx_cb cb; - void *user_data; - - pj_bool_t complete; - - pj_bool_t require_retransmit; - unsigned rto_msec; - pj_timer_entry retransmit_timer; - unsigned transmit_count; - pj_time_val retransmit_time; - pj_timer_heap_t *timer_heap; - - pj_timer_entry destroy_timer; - - void *last_pkt; - unsigned last_pkt_size; -}; - - -static void retransmit_timer_callback(pj_timer_heap_t *timer_heap, - pj_timer_entry *timer); -static void destroy_timer_callback(pj_timer_heap_t *timer_heap, - pj_timer_entry *timer); - -#define stun_perror(tsx,msg,rc) pjnath_perror(tsx->obj_name, msg, rc) - -/* - * Create a STUN client transaction. - */ -PJ_DEF(pj_status_t) pj_stun_client_tsx_create(pj_stun_config *cfg, - pj_pool_t *pool, - const pj_stun_tsx_cb *cb, - pj_stun_client_tsx **p_tsx) -{ - pj_stun_client_tsx *tsx; - - PJ_ASSERT_RETURN(cfg && cb && p_tsx, PJ_EINVAL); - PJ_ASSERT_RETURN(cb->on_send_msg, PJ_EINVAL); - - tsx = PJ_POOL_ZALLOC_T(pool, pj_stun_client_tsx); - tsx->rto_msec = cfg->rto_msec; - tsx->timer_heap = cfg->timer_heap; - pj_memcpy(&tsx->cb, cb, sizeof(*cb)); - - tsx->retransmit_timer.cb = &retransmit_timer_callback; - tsx->retransmit_timer.user_data = tsx; - - tsx->destroy_timer.cb = &destroy_timer_callback; - tsx->destroy_timer.user_data = tsx; - - pj_ansi_snprintf(tsx->obj_name, sizeof(tsx->obj_name), "stuntsx%p", tsx); - - *p_tsx = tsx; - - PJ_LOG(5,(tsx->obj_name, "STUN client transaction created")); - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pj_stun_client_tsx_schedule_destroy( - pj_stun_client_tsx *tsx, - const pj_time_val *delay) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(tsx && delay, PJ_EINVAL); - PJ_ASSERT_RETURN(tsx->cb.on_destroy, PJ_EINVAL); - - /* Cancel previously registered timer */ - if (tsx->destroy_timer.id != 0) { - pj_timer_heap_cancel(tsx->timer_heap, &tsx->destroy_timer); - tsx->destroy_timer.id = 0; - } - - /* Stop retransmission, just in case */ - if (tsx->retransmit_timer.id != 0) { - pj_timer_heap_cancel(tsx->timer_heap, &tsx->retransmit_timer); - tsx->retransmit_timer.id = 0; - } - - status = pj_timer_heap_schedule(tsx->timer_heap, - &tsx->destroy_timer, delay); - if (status != PJ_SUCCESS) - return status; - - tsx->destroy_timer.id = TIMER_ACTIVE; - tsx->cb.on_complete = NULL; - - return PJ_SUCCESS; -} - - -/* - * Destroy transaction immediately. - */ -PJ_DEF(pj_status_t) pj_stun_client_tsx_destroy(pj_stun_client_tsx *tsx) -{ - PJ_ASSERT_RETURN(tsx, PJ_EINVAL); - - if (tsx->retransmit_timer.id != 0) { - pj_timer_heap_cancel(tsx->timer_heap, &tsx->retransmit_timer); - tsx->retransmit_timer.id = 0; - } - if (tsx->destroy_timer.id != 0) { - pj_timer_heap_cancel(tsx->timer_heap, &tsx->destroy_timer); - tsx->destroy_timer.id = 0; - } - - PJ_LOG(5,(tsx->obj_name, "STUN client transaction destroyed")); - return PJ_SUCCESS; -} - - -/* - * Check if transaction has completed. - */ -PJ_DEF(pj_bool_t) pj_stun_client_tsx_is_complete(pj_stun_client_tsx *tsx) -{ - PJ_ASSERT_RETURN(tsx, PJ_FALSE); - return tsx->complete; -} - - -/* - * Set user data. - */ -PJ_DEF(pj_status_t) pj_stun_client_tsx_set_data(pj_stun_client_tsx *tsx, - void *data) -{ - PJ_ASSERT_RETURN(tsx, PJ_EINVAL); - tsx->user_data = data; - return PJ_SUCCESS; -} - - -/* - * Get the user data - */ -PJ_DEF(void*) pj_stun_client_tsx_get_data(pj_stun_client_tsx *tsx) -{ - PJ_ASSERT_RETURN(tsx, NULL); - return tsx->user_data; -} - - -/* - * Transmit message. - */ -static pj_status_t tsx_transmit_msg(pj_stun_client_tsx *tsx) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(tsx->retransmit_timer.id == 0 || - !tsx->require_retransmit, PJ_EBUSY); - - if (tsx->require_retransmit) { - /* Calculate retransmit/timeout delay */ - if (tsx->transmit_count == 0) { - tsx->retransmit_time.sec = 0; - tsx->retransmit_time.msec = tsx->rto_msec; - - } else if (tsx->transmit_count < PJ_STUN_MAX_TRANSMIT_COUNT-1) { - unsigned msec; - - msec = PJ_TIME_VAL_MSEC(tsx->retransmit_time); - msec <<= 1; - tsx->retransmit_time.sec = msec / 1000; - tsx->retransmit_time.msec = msec % 1000; - - } else { - tsx->retransmit_time.sec = PJ_STUN_TIMEOUT_VALUE / 1000; - tsx->retransmit_time.msec = PJ_STUN_TIMEOUT_VALUE % 1000; - } - - /* Schedule timer first because when send_msg() failed we can - * cancel it (as opposed to when schedule_timer() failed we cannot - * cancel transmission). - */; - status = pj_timer_heap_schedule(tsx->timer_heap, - &tsx->retransmit_timer, - &tsx->retransmit_time); - if (status != PJ_SUCCESS) { - tsx->retransmit_timer.id = 0; - return status; - } - tsx->retransmit_timer.id = TIMER_ACTIVE; - } - - - tsx->transmit_count++; - - PJ_LOG(5,(tsx->obj_name, "STUN sending message (transmit count=%d)", - tsx->transmit_count)); - pj_log_push_indent(); - - /* Send message */ - status = tsx->cb.on_send_msg(tsx, tsx->last_pkt, tsx->last_pkt_size); - - if (status == PJNATH_ESTUNDESTROYED) { - /* We've been destroyed, don't access the object. */ - } else if (status != PJ_SUCCESS) { - if (tsx->retransmit_timer.id != 0) { - pj_timer_heap_cancel(tsx->timer_heap, - &tsx->retransmit_timer); - tsx->retransmit_timer.id = 0; - } - stun_perror(tsx, "STUN error sending message", status); - } - - pj_log_pop_indent(); - return status; -} - - -/* - * Send outgoing message and start STUN transaction. - */ -PJ_DEF(pj_status_t) pj_stun_client_tsx_send_msg(pj_stun_client_tsx *tsx, - pj_bool_t retransmit, - void *pkt, - unsigned pkt_len) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(tsx && pkt && pkt_len, PJ_EINVAL); - PJ_ASSERT_RETURN(tsx->retransmit_timer.id == 0, PJ_EBUSY); - - /* Encode message */ - tsx->last_pkt = pkt; - tsx->last_pkt_size = pkt_len; - - /* Update STUN retransmit flag */ - tsx->require_retransmit = retransmit; - - /* For TCP, schedule timeout timer after PJ_STUN_TIMEOUT_VALUE. - * Since we don't have timeout timer, simulate this by using - * retransmit timer. - */ - if (!retransmit) { - unsigned timeout; - - pj_assert(tsx->retransmit_timer.id == 0); - tsx->transmit_count = PJ_STUN_MAX_TRANSMIT_COUNT; - - timeout = tsx->rto_msec * 16; - tsx->retransmit_time.sec = timeout / 1000; - tsx->retransmit_time.msec = timeout % 1000; - - /* Schedule timer first because when send_msg() failed we can - * cancel it (as opposed to when schedule_timer() failed we cannot - * cancel transmission). - */; - status = pj_timer_heap_schedule(tsx->timer_heap, - &tsx->retransmit_timer, - &tsx->retransmit_time); - if (status != PJ_SUCCESS) { - tsx->retransmit_timer.id = 0; - return status; - } - tsx->retransmit_timer.id = TIMER_ACTIVE; - } - - /* Send the message */ - status = tsx_transmit_msg(tsx); - if (status != PJ_SUCCESS) { - if (tsx->retransmit_timer.id != 0) { - pj_timer_heap_cancel(tsx->timer_heap, - &tsx->retransmit_timer); - tsx->retransmit_timer.id = 0; - } - return status; - } - - return PJ_SUCCESS; -} - - -/* Retransmit timer callback */ -static void retransmit_timer_callback(pj_timer_heap_t *timer_heap, - pj_timer_entry *timer) -{ - pj_stun_client_tsx *tsx = (pj_stun_client_tsx *) timer->user_data; - pj_status_t status; - - PJ_UNUSED_ARG(timer_heap); - - if (tsx->transmit_count >= PJ_STUN_MAX_TRANSMIT_COUNT) { - /* Retransmission count exceeded. Transaction has failed */ - tsx->retransmit_timer.id = 0; - PJ_LOG(4,(tsx->obj_name, "STUN timeout waiting for response")); - pj_log_push_indent(); - if (!tsx->complete) { - tsx->complete = PJ_TRUE; - if (tsx->cb.on_complete) { - tsx->cb.on_complete(tsx, PJNATH_ESTUNTIMEDOUT, NULL, NULL, 0); - } - } - /* We might have been destroyed, don't try to access the object */ - pj_log_pop_indent(); - return; - } - - tsx->retransmit_timer.id = 0; - status = tsx_transmit_msg(tsx); - if (status == PJNATH_ESTUNDESTROYED) { - /* We've been destroyed, don't try to access the object */ - } else if (status != PJ_SUCCESS) { - tsx->retransmit_timer.id = 0; - if (!tsx->complete) { - tsx->complete = PJ_TRUE; - if (tsx->cb.on_complete) { - tsx->cb.on_complete(tsx, status, NULL, NULL, 0); - } - } - /* We might have been destroyed, don't try to access the object */ - } -} - -/* - * Request to retransmit the request. - */ -PJ_DEF(pj_status_t) pj_stun_client_tsx_retransmit(pj_stun_client_tsx *tsx) -{ - if (tsx->destroy_timer.id != 0) { - return PJ_SUCCESS; - } - - if (tsx->retransmit_timer.id != 0) { - pj_timer_heap_cancel(tsx->timer_heap, &tsx->retransmit_timer); - tsx->retransmit_timer.id = 0; - } - - return tsx_transmit_msg(tsx); -} - -/* Timer callback to destroy transaction */ -static void destroy_timer_callback(pj_timer_heap_t *timer_heap, - pj_timer_entry *timer) -{ - pj_stun_client_tsx *tsx = (pj_stun_client_tsx *) timer->user_data; - - PJ_UNUSED_ARG(timer_heap); - - tsx->destroy_timer.id = PJ_FALSE; - tsx->cb.on_destroy(tsx); - /* Don't access transaction after this */ -} - - -/* - * Notify the STUN transaction about the arrival of STUN response. - */ -PJ_DEF(pj_status_t) pj_stun_client_tsx_on_rx_msg(pj_stun_client_tsx *tsx, - const pj_stun_msg *msg, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - pj_stun_errcode_attr *err_attr; - pj_status_t status; - - /* Must be STUN response message */ - if (!PJ_STUN_IS_SUCCESS_RESPONSE(msg->hdr.type) && - !PJ_STUN_IS_ERROR_RESPONSE(msg->hdr.type)) - { - PJ_LOG(4,(tsx->obj_name, - "STUN rx_msg() error: not response message")); - return PJNATH_EINSTUNMSGTYPE; - } - - - /* We have a response with matching transaction ID. - * We can cancel retransmit timer now. - */ - if (tsx->retransmit_timer.id) { - pj_timer_heap_cancel(tsx->timer_heap, &tsx->retransmit_timer); - tsx->retransmit_timer.id = 0; - } - - /* Find STUN error code attribute */ - err_attr = (pj_stun_errcode_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_ERROR_CODE, 0); - - if (err_attr && err_attr->err_code <= 200) { - /* draft-ietf-behave-rfc3489bis-05.txt Section 8.3.2: - * Any response between 100 and 299 MUST result in the cessation - * of request retransmissions, but otherwise is discarded. - */ - PJ_LOG(4,(tsx->obj_name, - "STUN rx_msg() error: received provisional %d code (%.*s)", - err_attr->err_code, - (int)err_attr->reason.slen, - err_attr->reason.ptr)); - return PJ_SUCCESS; - } - - if (err_attr == NULL) { - status = PJ_SUCCESS; - } else { - status = PJ_STATUS_FROM_STUN_CODE(err_attr->err_code); - } - - /* Call callback */ - if (!tsx->complete) { - tsx->complete = PJ_TRUE; - if (tsx->cb.on_complete) { - tsx->cb.on_complete(tsx, status, msg, src_addr, src_addr_len); - } - /* We might have been destroyed, don't try to access the object */ - } - - return PJ_SUCCESS; - -} - diff --git a/res/pjproject/pjnath/src/pjnath/turn_session.c b/res/pjproject/pjnath/src/pjnath/turn_session.c deleted file mode 100644 index 6d2dc15a18..0000000000 --- a/res/pjproject/pjnath/src/pjnath/turn_session.c +++ /dev/null @@ -1,2040 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define PJ_TURN_CHANNEL_MIN 0x4000 -#define PJ_TURN_CHANNEL_MAX 0x7FFF /* inclusive */ -#define PJ_TURN_CHANNEL_HTABLE_SIZE 8 -#define PJ_TURN_PERM_HTABLE_SIZE 8 - -static const char *state_names[] = -{ - "Null", - "Resolving", - "Resolved", - "Allocating", - "Ready", - "Deallocating", - "Deallocated", - "Destroying" -}; - -enum timer_id_t -{ - TIMER_NONE, - TIMER_KEEP_ALIVE, - TIMER_DESTROY -}; - -/* This structure describes a channel binding. A channel binding is index by - * the channel number or IP address and port number of the peer. - */ -struct ch_t -{ - /* The channel number */ - pj_uint16_t num; - - /* PJ_TRUE if we've received successful response to ChannelBind request - * for this channel. - */ - pj_bool_t bound; - - /* The peer IP address and port */ - pj_sockaddr addr; - - /* The channel binding expiration */ - pj_time_val expiry; -}; - - -/* This structure describes a permission. A permission is identified by the - * IP address only. - */ -struct perm_t -{ - /* Cache of hash value to speed-up lookup */ - pj_uint32_t hval; - - /* The permission IP address. The port number MUST be zero */ - pj_sockaddr addr; - - /* Number of peers that uses this permission. */ - unsigned peer_cnt; - - /* Automatically renew this permission once it expires? */ - pj_bool_t renew; - - /* The permission expiration */ - pj_time_val expiry; - - /* Arbitrary/random pointer value (token) to map this perm with the - * request to create it. It is used to invalidate this perm when the - * request fails. - */ - void *req_token; -}; - - -/* The TURN client session structure */ -struct pj_turn_session -{ - pj_pool_t *pool; - const char *obj_name; - pj_turn_session_cb cb; - void *user_data; - pj_stun_config stun_cfg; - - pj_lock_t *lock; - int busy; - - pj_turn_state_t state; - pj_status_t last_status; - pj_bool_t pending_destroy; - pj_bool_t destroy_notified; - - pj_stun_session *stun; - - unsigned lifetime; - int ka_interval; - pj_time_val expiry; - - pj_timer_heap_t *timer_heap; - pj_timer_entry timer; - - pj_dns_srv_async_query *dns_async; - pj_uint16_t default_port; - - pj_uint16_t af; - pj_turn_tp_type conn_type; - pj_uint16_t srv_addr_cnt; - pj_sockaddr *srv_addr_list; - pj_sockaddr *srv_addr; - - pj_bool_t pending_alloc; - pj_turn_alloc_param alloc_param; - - pj_sockaddr mapped_addr; - pj_sockaddr relay_addr; - - pj_hash_table_t *ch_table; - pj_hash_table_t *perm_table; - - pj_uint32_t send_ind_tsx_id[3]; - /* tx_pkt must be 16bit aligned */ - pj_uint8_t tx_pkt[PJ_TURN_MAX_PKT_LEN]; - - pj_uint16_t next_ch; -}; - - -/* - * Prototypes. - */ -static void sess_shutdown(pj_turn_session *sess, - pj_status_t status); -static void do_destroy(pj_turn_session *sess); -static void send_refresh(pj_turn_session *sess, int lifetime); -static pj_status_t stun_on_send_msg(pj_stun_session *sess, - void *token, - const void *pkt, - pj_size_t pkt_size, - const pj_sockaddr_t *dst_addr, - unsigned addr_len); -static void stun_on_request_complete(pj_stun_session *sess, - pj_status_t status, - void *token, - pj_stun_tx_data *tdata, - const pj_stun_msg *response, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); -static pj_status_t stun_on_rx_indication(pj_stun_session *sess, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_stun_msg *msg, - void *token, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); -static void dns_srv_resolver_cb(void *user_data, - pj_status_t status, - const pj_dns_srv_record *rec); -static struct ch_t *lookup_ch_by_addr(pj_turn_session *sess, - const pj_sockaddr_t *addr, - unsigned addr_len, - pj_bool_t update, - pj_bool_t bind_channel); -static struct ch_t *lookup_ch_by_chnum(pj_turn_session *sess, - pj_uint16_t chnum); -static struct perm_t *lookup_perm(pj_turn_session *sess, - const pj_sockaddr_t *addr, - unsigned addr_len, - pj_bool_t update); -static void invalidate_perm(pj_turn_session *sess, - struct perm_t *perm); -static void on_timer_event(pj_timer_heap_t *th, pj_timer_entry *e); - - -/* - * Create default pj_turn_alloc_param. - */ -PJ_DEF(void) pj_turn_alloc_param_default(pj_turn_alloc_param *prm) -{ - pj_bzero(prm, sizeof(*prm)); -} - -/* - * Duplicate pj_turn_alloc_param. - */ -PJ_DEF(void) pj_turn_alloc_param_copy( pj_pool_t *pool, - pj_turn_alloc_param *dst, - const pj_turn_alloc_param *src) -{ - PJ_UNUSED_ARG(pool); - pj_memcpy(dst, src, sizeof(*dst)); -} - -/* - * Get TURN state name. - */ -PJ_DEF(const char*) pj_turn_state_name(pj_turn_state_t state) -{ - return state_names[state]; -} - -/* - * Create TURN client session. - */ -PJ_DEF(pj_status_t) pj_turn_session_create( const pj_stun_config *cfg, - const char *name, - int af, - pj_turn_tp_type conn_type, - const pj_turn_session_cb *cb, - unsigned options, - void *user_data, - pj_turn_session **p_sess) -{ - pj_pool_t *pool; - pj_turn_session *sess; - pj_stun_session_cb stun_cb; - pj_lock_t *null_lock; - pj_status_t status; - - PJ_ASSERT_RETURN(cfg && cfg->pf && cb && p_sess, PJ_EINVAL); - PJ_ASSERT_RETURN(cb->on_send_pkt, PJ_EINVAL); - - PJ_UNUSED_ARG(options); - - if (name == NULL) - name = "turn%p"; - - /* Allocate and create TURN session */ - pool = pj_pool_create(cfg->pf, name, PJNATH_POOL_LEN_TURN_SESS, - PJNATH_POOL_INC_TURN_SESS, NULL); - sess = PJ_POOL_ZALLOC_T(pool, pj_turn_session); - sess->pool = pool; - sess->obj_name = pool->obj_name; - sess->timer_heap = cfg->timer_heap; - sess->af = (pj_uint16_t)af; - sess->conn_type = conn_type; - sess->ka_interval = PJ_TURN_KEEP_ALIVE_SEC; - sess->user_data = user_data; - sess->next_ch = PJ_TURN_CHANNEL_MIN; - - /* Copy STUN session */ - pj_memcpy(&sess->stun_cfg, cfg, sizeof(pj_stun_config)); - - /* Copy callback */ - pj_memcpy(&sess->cb, cb, sizeof(*cb)); - - /* Peer hash table */ - sess->ch_table = pj_hash_create(pool, PJ_TURN_CHANNEL_HTABLE_SIZE); - - /* Permission hash table */ - sess->perm_table = pj_hash_create(pool, PJ_TURN_PERM_HTABLE_SIZE); - - /* Session lock */ - status = pj_lock_create_recursive_mutex(pool, sess->obj_name, - &sess->lock); - if (status != PJ_SUCCESS) { - do_destroy(sess); - return status; - } - - /* Timer */ - pj_timer_entry_init(&sess->timer, TIMER_NONE, sess, &on_timer_event); - - /* Create STUN session */ - pj_bzero(&stun_cb, sizeof(stun_cb)); - stun_cb.on_send_msg = &stun_on_send_msg; - stun_cb.on_request_complete = &stun_on_request_complete; - stun_cb.on_rx_indication = &stun_on_rx_indication; - status = pj_stun_session_create(&sess->stun_cfg, sess->obj_name, &stun_cb, - PJ_FALSE, &sess->stun); - if (status != PJ_SUCCESS) { - do_destroy(sess); - return status; - } - - /* Attach ourself to STUN session */ - pj_stun_session_set_user_data(sess->stun, sess); - - /* Replace mutex in STUN session with a NULL mutex, since access to - * STUN session is serialized. - */ - status = pj_lock_create_null_mutex(pool, name, &null_lock); - if (status != PJ_SUCCESS) { - do_destroy(sess); - return status; - } - pj_stun_session_set_lock(sess->stun, null_lock, PJ_TRUE); - - /* Done */ - - PJ_LOG(4,(sess->obj_name, "TURN client session created")); - - *p_sess = sess; - return PJ_SUCCESS; -} - - -/* Destroy */ -static void do_destroy(pj_turn_session *sess) -{ - /* Lock session */ - if (sess->lock) { - pj_lock_acquire(sess->lock); - } - - /* Cancel pending timer, if any */ - if (sess->timer.id != TIMER_NONE) { - pj_timer_heap_cancel(sess->timer_heap, &sess->timer); - sess->timer.id = TIMER_NONE; - } - - /* Destroy STUN session */ - if (sess->stun) { - pj_stun_session_destroy(sess->stun); - sess->stun = NULL; - } - - /* Destroy lock */ - if (sess->lock) { - pj_lock_release(sess->lock); - pj_lock_destroy(sess->lock); - sess->lock = NULL; - } - - /* Destroy pool */ - if (sess->pool) { - pj_pool_t *pool = sess->pool; - - PJ_LOG(4,(sess->obj_name, "TURN client session destroyed")); - - sess->pool = NULL; - pj_pool_release(pool); - } -} - - -/* Set session state */ -static void set_state(pj_turn_session *sess, enum pj_turn_state_t state) -{ - pj_turn_state_t old_state = sess->state; - - if (state==sess->state) - return; - - PJ_LOG(4,(sess->obj_name, "State changed %s --> %s", - state_names[old_state], state_names[state])); - sess->state = state; - - if (sess->cb.on_state) { - (*sess->cb.on_state)(sess, old_state, state); - } -} - -/* - * Notify application and shutdown the TURN session. - */ -static void sess_shutdown(pj_turn_session *sess, - pj_status_t status) -{ - pj_bool_t can_destroy = PJ_TRUE; - - PJ_LOG(4,(sess->obj_name, "Request to shutdown in state %s, cause:%d", - state_names[sess->state], status)); - - if (sess->last_status == PJ_SUCCESS && status != PJ_SUCCESS) - sess->last_status = status; - - switch (sess->state) { - case PJ_TURN_STATE_NULL: - break; - case PJ_TURN_STATE_RESOLVING: - if (sess->dns_async != NULL) { - pj_dns_srv_cancel_query(sess->dns_async, PJ_FALSE); - sess->dns_async = NULL; - } - break; - case PJ_TURN_STATE_RESOLVED: - break; - case PJ_TURN_STATE_ALLOCATING: - /* We need to wait until allocation complete */ - sess->pending_destroy = PJ_TRUE; - can_destroy = PJ_FALSE; - break; - case PJ_TURN_STATE_READY: - /* Send REFRESH with LIFETIME=0 */ - can_destroy = PJ_FALSE; - send_refresh(sess, 0); - break; - case PJ_TURN_STATE_DEALLOCATING: - can_destroy = PJ_FALSE; - /* This may recursively call this function again with - * state==PJ_TURN_STATE_DEALLOCATED. - */ - send_refresh(sess, 0); - break; - case PJ_TURN_STATE_DEALLOCATED: - case PJ_TURN_STATE_DESTROYING: - break; - } - - if (can_destroy) { - /* Schedule destroy */ - pj_time_val delay = {0, 0}; - - set_state(sess, PJ_TURN_STATE_DESTROYING); - - if (sess->timer.id != TIMER_NONE) { - pj_timer_heap_cancel(sess->timer_heap, &sess->timer); - sess->timer.id = TIMER_NONE; - } - - sess->timer.id = TIMER_DESTROY; - pj_timer_heap_schedule(sess->timer_heap, &sess->timer, &delay); - } -} - - -/* - * Public API to destroy TURN client session. - */ -PJ_DEF(pj_status_t) pj_turn_session_shutdown(pj_turn_session *sess) -{ - PJ_ASSERT_RETURN(sess, PJ_EINVAL); - - pj_lock_acquire(sess->lock); - - sess_shutdown(sess, PJ_SUCCESS); - - pj_lock_release(sess->lock); - - return PJ_SUCCESS; -} - - -/** - * Forcefully destroy the TURN session. - */ -PJ_DEF(pj_status_t) pj_turn_session_destroy( pj_turn_session *sess, - pj_status_t last_err) -{ - PJ_ASSERT_RETURN(sess, PJ_EINVAL); - - if (last_err != PJ_SUCCESS && sess->last_status == PJ_SUCCESS) - sess->last_status = last_err; - set_state(sess, PJ_TURN_STATE_DEALLOCATED); - sess_shutdown(sess, PJ_SUCCESS); - return PJ_SUCCESS; -} - - -/* - * Get TURN session info. - */ -PJ_DEF(pj_status_t) pj_turn_session_get_info( pj_turn_session *sess, - pj_turn_session_info *info) -{ - pj_time_val now; - - PJ_ASSERT_RETURN(sess && info, PJ_EINVAL); - - pj_gettimeofday(&now); - - info->state = sess->state; - info->conn_type = sess->conn_type; - info->lifetime = sess->expiry.sec - now.sec; - info->last_status = sess->last_status; - - if (sess->srv_addr) - pj_memcpy(&info->server, sess->srv_addr, sizeof(info->server)); - else - pj_bzero(&info->server, sizeof(info->server)); - - pj_memcpy(&info->mapped_addr, &sess->mapped_addr, - sizeof(sess->mapped_addr)); - pj_memcpy(&info->relay_addr, &sess->relay_addr, - sizeof(sess->relay_addr)); - - return PJ_SUCCESS; -} - - -/* - * Re-assign user data. - */ -PJ_DEF(pj_status_t) pj_turn_session_set_user_data( pj_turn_session *sess, - void *user_data) -{ - sess->user_data = user_data; - return PJ_SUCCESS; -} - - -/** - * Retrieve user data. - */ -PJ_DEF(void*) pj_turn_session_get_user_data(pj_turn_session *sess) -{ - return sess->user_data; -} - - -/* - * Configure message logging. By default all flags are enabled. - * - * @param sess The TURN client session. - * @param flags Bitmask combination of #pj_stun_sess_msg_log_flag - */ -PJ_DEF(void) pj_turn_session_set_log( pj_turn_session *sess, - unsigned flags) -{ - pj_stun_session_set_log(sess->stun, flags); -} - - -/* - * Set software name - */ -PJ_DEF(pj_status_t) pj_turn_session_set_software_name( pj_turn_session *sess, - const pj_str_t *sw) -{ - pj_status_t status; - - pj_lock_acquire(sess->lock); - status = pj_stun_session_set_software_name(sess->stun, sw); - pj_lock_release(sess->lock); - - return status; -} - - -/** - * Set the server or domain name of the server. - */ -PJ_DEF(pj_status_t) pj_turn_session_set_server( pj_turn_session *sess, - const pj_str_t *domain, - int default_port, - pj_dns_resolver *resolver) -{ - pj_sockaddr tmp_addr; - pj_bool_t is_ip_addr; - pj_status_t status; - - PJ_ASSERT_RETURN(sess && domain, PJ_EINVAL); - PJ_ASSERT_RETURN(sess->state == PJ_TURN_STATE_NULL, PJ_EINVALIDOP); - - pj_lock_acquire(sess->lock); - - /* See if "domain" contains just IP address */ - tmp_addr.addr.sa_family = sess->af; - status = pj_inet_pton(sess->af, domain, - pj_sockaddr_get_addr(&tmp_addr)); - is_ip_addr = (status == PJ_SUCCESS); - - if (!is_ip_addr && resolver) { - /* Resolve with DNS SRV resolution, and fallback to DNS A resolution - * if default_port is specified. - */ - unsigned opt = 0; - pj_str_t res_name; - - switch (sess->conn_type) { - case PJ_TURN_TP_UDP: - res_name = pj_str("_turn._udp."); - break; - case PJ_TURN_TP_TCP: - res_name = pj_str("_turn._tcp."); - break; - case PJ_TURN_TP_TLS: - res_name = pj_str("_turns._tcp."); - break; - default: - status = PJNATH_ETURNINTP; - goto on_return; - } - - /* Fallback to DNS A only if default port is specified */ - if (default_port>0 && default_port<65536) { - opt = PJ_DNS_SRV_FALLBACK_A; - sess->default_port = (pj_uint16_t)default_port; - } - - PJ_LOG(5,(sess->obj_name, "Resolving %.*s%.*s with DNS SRV", - (int)res_name.slen, res_name.ptr, - (int)domain->slen, domain->ptr)); - set_state(sess, PJ_TURN_STATE_RESOLVING); - - /* User may have destroyed us in the callback */ - if (sess->state != PJ_TURN_STATE_RESOLVING) { - status = PJ_ECANCELLED; - goto on_return; - } - - status = pj_dns_srv_resolve(domain, &res_name, default_port, - sess->pool, resolver, opt, sess, - &dns_srv_resolver_cb, &sess->dns_async); - if (status != PJ_SUCCESS) { - set_state(sess, PJ_TURN_STATE_NULL); - goto on_return; - } - - } else { - /* Resolver is not specified, resolve with standard gethostbyname(). - * The default_port MUST be specified in this case. - */ - pj_addrinfo *ai; - unsigned i, cnt; - - /* Default port must be specified */ - PJ_ASSERT_RETURN(default_port>0 && default_port<65536, PJ_EINVAL); - sess->default_port = (pj_uint16_t)default_port; - - cnt = PJ_TURN_MAX_DNS_SRV_CNT; - ai = (pj_addrinfo*) - pj_pool_calloc(sess->pool, cnt, sizeof(pj_addrinfo)); - - PJ_LOG(5,(sess->obj_name, "Resolving %.*s with DNS A", - (int)domain->slen, domain->ptr)); - set_state(sess, PJ_TURN_STATE_RESOLVING); - - /* User may have destroyed us in the callback */ - if (sess->state != PJ_TURN_STATE_RESOLVING) { - status = PJ_ECANCELLED; - goto on_return; - } - - status = pj_getaddrinfo(sess->af, domain, &cnt, ai); - if (status != PJ_SUCCESS) - goto on_return; - - sess->srv_addr_cnt = (pj_uint16_t)cnt; - sess->srv_addr_list = (pj_sockaddr*) - pj_pool_calloc(sess->pool, cnt, - sizeof(pj_sockaddr)); - for (i=0; isrv_addr_list[i]; - pj_memcpy(addr, &ai[i].ai_addr, sizeof(pj_sockaddr)); - addr->addr.sa_family = sess->af; - addr->ipv4.sin_port = pj_htons(sess->default_port); - } - - sess->srv_addr = &sess->srv_addr_list[0]; - set_state(sess, PJ_TURN_STATE_RESOLVED); - } - -on_return: - pj_lock_release(sess->lock); - return status; -} - - -/** - * Set credential to be used by the session. - */ -PJ_DEF(pj_status_t) pj_turn_session_set_credential(pj_turn_session *sess, - const pj_stun_auth_cred *cred) -{ - PJ_ASSERT_RETURN(sess && cred, PJ_EINVAL); - PJ_ASSERT_RETURN(sess->stun, PJ_EINVALIDOP); - - pj_lock_acquire(sess->lock); - - pj_stun_session_set_credential(sess->stun, PJ_STUN_AUTH_LONG_TERM, cred); - - pj_lock_release(sess->lock); - - return PJ_SUCCESS; -} - - -/** - * Create TURN allocation. - */ -PJ_DEF(pj_status_t) pj_turn_session_alloc(pj_turn_session *sess, - const pj_turn_alloc_param *param) -{ - pj_stun_tx_data *tdata; - pj_bool_t retransmit; - pj_status_t status; - - PJ_ASSERT_RETURN(sess, PJ_EINVAL); - PJ_ASSERT_RETURN(sess->state>PJ_TURN_STATE_NULL && - sess->state<=PJ_TURN_STATE_RESOLVED, - PJ_EINVALIDOP); - - pj_lock_acquire(sess->lock); - - if (param && param != &sess->alloc_param) - pj_turn_alloc_param_copy(sess->pool, &sess->alloc_param, param); - - if (sess->state < PJ_TURN_STATE_RESOLVED) { - sess->pending_alloc = PJ_TRUE; - - PJ_LOG(4,(sess->obj_name, "Pending ALLOCATE in state %s", - state_names[sess->state])); - - pj_lock_release(sess->lock); - return PJ_SUCCESS; - - } - - /* Ready to allocate */ - pj_assert(sess->state == PJ_TURN_STATE_RESOLVED); - - /* Create a bare request */ - status = pj_stun_session_create_req(sess->stun, PJ_STUN_ALLOCATE_REQUEST, - PJ_STUN_MAGIC, NULL, &tdata); - if (status != PJ_SUCCESS) { - pj_lock_release(sess->lock); - return status; - } - - /* MUST include REQUESTED-TRANSPORT attribute */ - pj_stun_msg_add_uint_attr(tdata->pool, tdata->msg, - PJ_STUN_ATTR_REQ_TRANSPORT, - PJ_STUN_SET_RT_PROTO(PJ_TURN_TP_UDP)); - - /* Include BANDWIDTH if requested */ - if (sess->alloc_param.bandwidth > 0) { - pj_stun_msg_add_uint_attr(tdata->pool, tdata->msg, - PJ_STUN_ATTR_BANDWIDTH, - sess->alloc_param.bandwidth); - } - - /* Include LIFETIME if requested */ - if (sess->alloc_param.lifetime > 0) { - pj_stun_msg_add_uint_attr(tdata->pool, tdata->msg, - PJ_STUN_ATTR_LIFETIME, - sess->alloc_param.lifetime); - } - - /* Server address must be set */ - pj_assert(sess->srv_addr != NULL); - - /* Send request */ - set_state(sess, PJ_TURN_STATE_ALLOCATING); - retransmit = (sess->conn_type == PJ_TURN_TP_UDP); - status = pj_stun_session_send_msg(sess->stun, NULL, PJ_FALSE, - retransmit, sess->srv_addr, - pj_sockaddr_get_len(sess->srv_addr), - tdata); - if (status != PJ_SUCCESS) { - /* Set state back to RESOLVED. We don't want to destroy session now, - * let the application do it if it wants to. - */ - set_state(sess, PJ_TURN_STATE_RESOLVED); - } - - pj_lock_release(sess->lock); - return status; -} - - -/* - * Install or renew permissions - */ -PJ_DEF(pj_status_t) pj_turn_session_set_perm( pj_turn_session *sess, - unsigned addr_cnt, - const pj_sockaddr addr[], - unsigned options) -{ - pj_stun_tx_data *tdata; - pj_hash_iterator_t it_buf, *it; - void *req_token; - unsigned i, attr_added=0; - pj_status_t status; - - PJ_ASSERT_RETURN(sess && addr_cnt && addr, PJ_EINVAL); - - pj_lock_acquire(sess->lock); - - /* Create a bare CreatePermission request */ - status = pj_stun_session_create_req(sess->stun, - PJ_STUN_CREATE_PERM_REQUEST, - PJ_STUN_MAGIC, NULL, &tdata); - if (status != PJ_SUCCESS) { - pj_lock_release(sess->lock); - return status; - } - - /* Create request token to map the request to the perm structures - * which the request belongs. - */ - req_token = (void*)(long)pj_rand(); - - /* Process the addresses */ - for (i=0; irenew = (options & 0x01); - - /* Only add to the request if the request doesn't contain this - * address yet. - */ - if (perm->req_token != req_token) { - perm->req_token = req_token; - - /* Add XOR-PEER-ADDRESS */ - status = pj_stun_msg_add_sockaddr_attr(tdata->pool, tdata->msg, - PJ_STUN_ATTR_XOR_PEER_ADDR, - PJ_TRUE, - &addr[i], - sizeof(addr[i])); - if (status != PJ_SUCCESS) - goto on_error; - - ++attr_added; - } - } - - pj_assert(attr_added != 0); - - /* Send the request */ - status = pj_stun_session_send_msg(sess->stun, req_token, PJ_FALSE, - (sess->conn_type==PJ_TURN_TP_UDP), - sess->srv_addr, - pj_sockaddr_get_len(sess->srv_addr), - tdata); - if (status != PJ_SUCCESS) { - /* tdata is already destroyed */ - tdata = NULL; - goto on_error; - } - - pj_lock_release(sess->lock); - return PJ_SUCCESS; - -on_error: - /* destroy tdata */ - if (tdata) { - pj_stun_msg_destroy_tdata(sess->stun, tdata); - } - /* invalidate perm structures associated with this request */ - it = pj_hash_first(sess->perm_table, &it_buf); - while (it) { - struct perm_t *perm = (struct perm_t*) - pj_hash_this(sess->perm_table, it); - it = pj_hash_next(sess->perm_table, it); - if (perm->req_token == req_token) - invalidate_perm(sess, perm); - } - pj_lock_release(sess->lock); - return status; -} - -/* - * Send REFRESH - */ -static void send_refresh(pj_turn_session *sess, int lifetime) -{ - pj_stun_tx_data *tdata; - pj_status_t status; - - PJ_ASSERT_ON_FAIL(sess->state==PJ_TURN_STATE_READY, return); - - /* Create a bare REFRESH request */ - status = pj_stun_session_create_req(sess->stun, PJ_STUN_REFRESH_REQUEST, - PJ_STUN_MAGIC, NULL, &tdata); - if (status != PJ_SUCCESS) - goto on_error; - - /* Add LIFETIME */ - if (lifetime >= 0) { - pj_stun_msg_add_uint_attr(tdata->pool, tdata->msg, - PJ_STUN_ATTR_LIFETIME, lifetime); - } - - /* Send request */ - if (lifetime == 0) { - set_state(sess, PJ_TURN_STATE_DEALLOCATING); - } - - status = pj_stun_session_send_msg(sess->stun, NULL, PJ_FALSE, - (sess->conn_type==PJ_TURN_TP_UDP), - sess->srv_addr, - pj_sockaddr_get_len(sess->srv_addr), - tdata); - if (status != PJ_SUCCESS) - goto on_error; - - return; - -on_error: - if (lifetime == 0) { - set_state(sess, PJ_TURN_STATE_DEALLOCATED); - sess_shutdown(sess, status); - } -} - - -/** - * Relay data to the specified peer through the session. - */ -PJ_DEF(pj_status_t) pj_turn_session_sendto( pj_turn_session *sess, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_sockaddr_t *addr, - unsigned addr_len) -{ - struct ch_t *ch; - struct perm_t *perm; - pj_status_t status; - - PJ_ASSERT_RETURN(sess && pkt && pkt_len && addr && addr_len, - PJ_EINVAL); - - /* Return error if we're not ready */ - if (sess->state != PJ_TURN_STATE_READY) { - return PJ_EIGNORED; - } - - /* Lock session now */ - pj_lock_acquire(sess->lock); - - /* Lookup permission first */ - perm = lookup_perm(sess, addr, pj_sockaddr_get_len(addr), PJ_FALSE); - if (perm == NULL) { - /* Permission doesn't exist, install it first */ - char ipstr[PJ_INET6_ADDRSTRLEN+2]; - - PJ_LOG(4,(sess->obj_name, - "sendto(): IP %s has no permission, requesting it first..", - pj_sockaddr_print(addr, ipstr, sizeof(ipstr), 2))); - - status = pj_turn_session_set_perm(sess, 1, (const pj_sockaddr*)addr, - 0); - if (status != PJ_SUCCESS) { - pj_lock_release(sess->lock); - return status; - } - } - - /* See if the peer is bound to a channel number */ - ch = lookup_ch_by_addr(sess, addr, pj_sockaddr_get_len(addr), - PJ_FALSE, PJ_FALSE); - if (ch && ch->num != PJ_TURN_INVALID_CHANNEL && ch->bound) { - unsigned total_len; - - /* Peer is assigned a channel number, we can use ChannelData */ - pj_turn_channel_data *cd = (pj_turn_channel_data*)sess->tx_pkt; - - pj_assert(sizeof(*cd)==4); - - /* Calculate total length, including paddings */ - total_len = (pkt_len + sizeof(*cd) + 3) & (~3); - if (total_len > sizeof(sess->tx_pkt)) { - status = PJ_ETOOBIG; - goto on_return; - } - - cd->ch_number = pj_htons((pj_uint16_t)ch->num); - cd->length = pj_htons((pj_uint16_t)pkt_len); - pj_memcpy(cd+1, pkt, pkt_len); - - pj_assert(sess->srv_addr != NULL); - - status = sess->cb.on_send_pkt(sess, sess->tx_pkt, total_len, - sess->srv_addr, - pj_sockaddr_get_len(sess->srv_addr)); - - } else { - /* Use Send Indication. */ - pj_stun_sockaddr_attr peer_attr; - pj_stun_binary_attr data_attr; - pj_stun_msg send_ind; - pj_size_t send_ind_len; - - /* Increment counter */ - ++sess->send_ind_tsx_id[2]; - - /* Create blank SEND-INDICATION */ - status = pj_stun_msg_init(&send_ind, PJ_STUN_SEND_INDICATION, - PJ_STUN_MAGIC, - (const pj_uint8_t*)sess->send_ind_tsx_id); - if (status != PJ_SUCCESS) - goto on_return; - - /* Add XOR-PEER-ADDRESS */ - pj_stun_sockaddr_attr_init(&peer_attr, PJ_STUN_ATTR_XOR_PEER_ADDR, - PJ_TRUE, addr, addr_len); - pj_stun_msg_add_attr(&send_ind, (pj_stun_attr_hdr*)&peer_attr); - - /* Add DATA attribute */ - pj_stun_binary_attr_init(&data_attr, NULL, PJ_STUN_ATTR_DATA, NULL, 0); - data_attr.data = (pj_uint8_t*)pkt; - data_attr.length = pkt_len; - pj_stun_msg_add_attr(&send_ind, (pj_stun_attr_hdr*)&data_attr); - - /* Encode the message */ - status = pj_stun_msg_encode(&send_ind, sess->tx_pkt, - sizeof(sess->tx_pkt), 0, - NULL, &send_ind_len); - if (status != PJ_SUCCESS) - goto on_return; - - /* Send the Send Indication */ - status = sess->cb.on_send_pkt(sess, sess->tx_pkt, send_ind_len, - sess->srv_addr, - pj_sockaddr_get_len(sess->srv_addr)); - } - -on_return: - pj_lock_release(sess->lock); - return status; -} - - -/** - * Bind a peer address to a channel number. - */ -PJ_DEF(pj_status_t) pj_turn_session_bind_channel(pj_turn_session *sess, - const pj_sockaddr_t *peer_adr, - unsigned addr_len) -{ - struct ch_t *ch; - pj_stun_tx_data *tdata; - pj_uint16_t ch_num; - pj_status_t status; - - PJ_ASSERT_RETURN(sess && peer_adr && addr_len, PJ_EINVAL); - PJ_ASSERT_RETURN(sess->state == PJ_TURN_STATE_READY, PJ_EINVALIDOP); - - pj_lock_acquire(sess->lock); - - /* Create blank ChannelBind request */ - status = pj_stun_session_create_req(sess->stun, - PJ_STUN_CHANNEL_BIND_REQUEST, - PJ_STUN_MAGIC, NULL, &tdata); - if (status != PJ_SUCCESS) - goto on_return; - - /* Lookup if this peer has already been assigned a number */ - ch = lookup_ch_by_addr(sess, peer_adr, pj_sockaddr_get_len(peer_adr), - PJ_TRUE, PJ_FALSE); - pj_assert(ch); - - if (ch->num != PJ_TURN_INVALID_CHANNEL) { - /* Channel is already bound. This is a refresh request. */ - ch_num = ch->num; - } else { - PJ_ASSERT_ON_FAIL(sess->next_ch <= PJ_TURN_CHANNEL_MAX, - {status=PJ_ETOOMANY; goto on_return;}); - ch->num = ch_num = sess->next_ch++; - } - - /* Add CHANNEL-NUMBER attribute */ - pj_stun_msg_add_uint_attr(tdata->pool, tdata->msg, - PJ_STUN_ATTR_CHANNEL_NUMBER, - PJ_STUN_SET_CH_NB(ch_num)); - - /* Add XOR-PEER-ADDRESS attribute */ - pj_stun_msg_add_sockaddr_attr(tdata->pool, tdata->msg, - PJ_STUN_ATTR_XOR_PEER_ADDR, PJ_TRUE, - peer_adr, addr_len); - - /* Send the request, associate peer data structure with tdata - * for future reference when we receive the ChannelBind response. - */ - status = pj_stun_session_send_msg(sess->stun, ch, PJ_FALSE, - (sess->conn_type==PJ_TURN_TP_UDP), - sess->srv_addr, - pj_sockaddr_get_len(sess->srv_addr), - tdata); - -on_return: - pj_lock_release(sess->lock); - return status; -} - - -/** - * Notify TURN client session upon receiving a packet from server. - * The packet maybe a STUN packet or ChannelData packet. - */ -PJ_DEF(pj_status_t) pj_turn_session_on_rx_pkt(pj_turn_session *sess, - void *pkt, - pj_size_t pkt_len, - pj_size_t *parsed_len) -{ - pj_bool_t is_stun; - pj_status_t status; - pj_bool_t is_datagram; - - /* Packet could be ChannelData or STUN message (response or - * indication). - */ - - /* Start locking the session */ - pj_lock_acquire(sess->lock); - - is_datagram = (sess->conn_type==PJ_TURN_TP_UDP); - - /* Quickly check if this is STUN message */ - is_stun = ((((pj_uint8_t*)pkt)[0] & 0xC0) == 0); - - if (is_stun) { - /* This looks like STUN, give it to the STUN session */ - unsigned options; - - options = PJ_STUN_CHECK_PACKET | PJ_STUN_NO_FINGERPRINT_CHECK; - if (is_datagram) - options |= PJ_STUN_IS_DATAGRAM; - status=pj_stun_session_on_rx_pkt(sess->stun, pkt, pkt_len, - options, NULL, parsed_len, - sess->srv_addr, - pj_sockaddr_get_len(sess->srv_addr)); - - } else { - /* This must be ChannelData. */ - pj_turn_channel_data cd; - struct ch_t *ch; - - if (pkt_len < 4) { - if (parsed_len) *parsed_len = 0; - return PJ_ETOOSMALL; - } - - /* Decode ChannelData packet */ - pj_memcpy(&cd, pkt, sizeof(pj_turn_channel_data)); - cd.ch_number = pj_ntohs(cd.ch_number); - cd.length = pj_ntohs(cd.length); - - /* Check that size is sane */ - if (pkt_len < cd.length+sizeof(cd)) { - if (parsed_len) { - if (is_datagram) { - /* Discard the datagram */ - *parsed_len = pkt_len; - } else { - /* Insufficient fragment */ - *parsed_len = 0; - } - } - status = PJ_ETOOSMALL; - goto on_return; - } else { - if (parsed_len) { - /* Apply padding too */ - *parsed_len = ((cd.length + 3) & (~3)) + sizeof(cd); - } - } - - /* Lookup channel */ - ch = lookup_ch_by_chnum(sess, cd.ch_number); - if (!ch || !ch->bound) { - status = PJ_ENOTFOUND; - goto on_return; - } - - /* Notify application */ - if (sess->cb.on_rx_data) { - (*sess->cb.on_rx_data)(sess, ((pj_uint8_t*)pkt)+sizeof(cd), - cd.length, &ch->addr, - pj_sockaddr_get_len(&ch->addr)); - } - - status = PJ_SUCCESS; - } - -on_return: - pj_lock_release(sess->lock); - return status; -} - - -/* - * This is a callback from STUN session to send outgoing packet. - */ -static pj_status_t stun_on_send_msg(pj_stun_session *stun, - void *token, - const void *pkt, - pj_size_t pkt_size, - const pj_sockaddr_t *dst_addr, - unsigned addr_len) -{ - pj_turn_session *sess; - - PJ_UNUSED_ARG(token); - - sess = (pj_turn_session*) pj_stun_session_get_user_data(stun); - return (*sess->cb.on_send_pkt)(sess, (const pj_uint8_t*)pkt, pkt_size, - dst_addr, addr_len); -} - - -/* - * Handle failed ALLOCATE or REFRESH request. This may switch to alternate - * server if we have one. - */ -static void on_session_fail( pj_turn_session *sess, - enum pj_stun_method_e method, - pj_status_t status, - const pj_str_t *reason) -{ - sess->last_status = status; - - do { - pj_str_t reason1; - char err_msg[PJ_ERR_MSG_SIZE]; - - if (reason == NULL) { - pj_strerror(status, err_msg, sizeof(err_msg)); - reason1 = pj_str(err_msg); - reason = &reason1; - } - - PJ_LOG(4,(sess->obj_name, "%s error: %.*s", - pj_stun_get_method_name(method), - (int)reason->slen, reason->ptr)); - - /* If this is ALLOCATE response and we don't have more server - * addresses to try, notify application and destroy the TURN - * session. - */ - if (method==PJ_STUN_ALLOCATE_METHOD && - sess->srv_addr == &sess->srv_addr_list[sess->srv_addr_cnt-1]) - { - - set_state(sess, PJ_TURN_STATE_DEALLOCATED); - sess_shutdown(sess, status); - return; - } - - /* Otherwise if this is not ALLOCATE response, notify application - * that session has been TERMINATED. - */ - if (method!=PJ_STUN_ALLOCATE_METHOD) { - set_state(sess, PJ_TURN_STATE_DEALLOCATED); - sess_shutdown(sess, status); - return; - } - - /* Try next server */ - ++sess->srv_addr; - reason = NULL; - - PJ_LOG(4,(sess->obj_name, "Trying next server")); - set_state(sess, PJ_TURN_STATE_RESOLVED); - - } while (0); -} - - -/* - * Handle successful response to ALLOCATE or REFRESH request. - */ -static void on_allocate_success(pj_turn_session *sess, - enum pj_stun_method_e method, - const pj_stun_msg *msg) -{ - const pj_stun_lifetime_attr *lf_attr; - const pj_stun_xor_relayed_addr_attr *raddr_attr; - const pj_stun_sockaddr_attr *mapped_attr; - pj_str_t s; - pj_time_val timeout; - - /* Must have LIFETIME attribute */ - lf_attr = (const pj_stun_lifetime_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_LIFETIME, 0); - if (lf_attr == NULL) { - on_session_fail(sess, method, PJNATH_EINSTUNMSG, - pj_cstr(&s, "Error: Missing LIFETIME attribute")); - return; - } - - /* If LIFETIME is zero, this is a deallocation */ - if (lf_attr->value == 0) { - set_state(sess, PJ_TURN_STATE_DEALLOCATED); - sess_shutdown(sess, PJ_SUCCESS); - return; - } - - /* Update lifetime and keep-alive interval */ - sess->lifetime = lf_attr->value; - pj_gettimeofday(&sess->expiry); - - if (sess->lifetime < PJ_TURN_KEEP_ALIVE_SEC) { - if (sess->lifetime <= 2) { - on_session_fail(sess, method, PJ_ETOOSMALL, - pj_cstr(&s, "Error: LIFETIME too small")); - return; - } - sess->ka_interval = sess->lifetime - 2; - sess->expiry.sec += (sess->ka_interval-1); - } else { - int timeout; - - sess->ka_interval = PJ_TURN_KEEP_ALIVE_SEC; - - timeout = sess->lifetime - PJ_TURN_REFRESH_SEC_BEFORE; - if (timeout < sess->ka_interval) - timeout = sess->ka_interval - 1; - - sess->expiry.sec += timeout; - } - - /* Check that relayed transport address contains correct - * address family. - */ - raddr_attr = (const pj_stun_xor_relayed_addr_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_XOR_RELAYED_ADDR, 0); - if (raddr_attr == NULL && method==PJ_STUN_ALLOCATE_METHOD) { - on_session_fail(sess, method, PJNATH_EINSTUNMSG, - pj_cstr(&s, "Error: Received ALLOCATE without " - "RELAY-ADDRESS attribute")); - return; - } - if (raddr_attr && raddr_attr->sockaddr.addr.sa_family != sess->af) { - on_session_fail(sess, method, PJNATH_EINSTUNMSG, - pj_cstr(&s, "Error: RELAY-ADDRESS with non IPv4" - " address family is not supported " - "for now")); - return; - } - if (raddr_attr && !pj_sockaddr_has_addr(&raddr_attr->sockaddr)) { - on_session_fail(sess, method, PJNATH_EINSTUNMSG, - pj_cstr(&s, "Error: Invalid IP address in " - "RELAY-ADDRESS attribute")); - return; - } - - /* Save relayed address */ - if (raddr_attr) { - /* If we already have relay address, check if the relay address - * in the response matches our relay address. - */ - if (pj_sockaddr_has_addr(&sess->relay_addr)) { - if (pj_sockaddr_cmp(&sess->relay_addr, &raddr_attr->sockaddr)) { - on_session_fail(sess, method, PJNATH_EINSTUNMSG, - pj_cstr(&s, "Error: different RELAY-ADDRESS is" - "returned by server")); - return; - } - } else { - /* Otherwise save the relayed address */ - pj_memcpy(&sess->relay_addr, &raddr_attr->sockaddr, - sizeof(pj_sockaddr)); - } - } - - /* Get mapped address */ - mapped_attr = (const pj_stun_sockaddr_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_XOR_MAPPED_ADDR, 0); - if (mapped_attr) { - pj_memcpy(&sess->mapped_addr, &mapped_attr->sockaddr, - sizeof(mapped_attr->sockaddr)); - } - - /* Success */ - - /* Cancel existing keep-alive timer, if any */ - pj_assert(sess->timer.id != TIMER_DESTROY); - - if (sess->timer.id != TIMER_NONE) { - pj_timer_heap_cancel(sess->timer_heap, &sess->timer); - sess->timer.id = TIMER_NONE; - } - - /* Start keep-alive timer once allocation succeeds */ - timeout.sec = sess->ka_interval; - timeout.msec = 0; - - sess->timer.id = TIMER_KEEP_ALIVE; - pj_timer_heap_schedule(sess->timer_heap, &sess->timer, &timeout); - - set_state(sess, PJ_TURN_STATE_READY); -} - -/* - * Notification from STUN session on request completion. - */ -static void stun_on_request_complete(pj_stun_session *stun, - pj_status_t status, - void *token, - pj_stun_tx_data *tdata, - const pj_stun_msg *response, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - pj_turn_session *sess; - enum pj_stun_method_e method = (enum pj_stun_method_e) - PJ_STUN_GET_METHOD(tdata->msg->hdr.type); - - PJ_UNUSED_ARG(src_addr); - PJ_UNUSED_ARG(src_addr_len); - - sess = (pj_turn_session*)pj_stun_session_get_user_data(stun); - - if (method == PJ_STUN_ALLOCATE_METHOD) { - - /* Destroy if we have pending destroy request */ - if (sess->pending_destroy) { - if (status == PJ_SUCCESS) - sess->state = PJ_TURN_STATE_READY; - else - sess->state = PJ_TURN_STATE_DEALLOCATED; - sess_shutdown(sess, PJ_SUCCESS); - return; - } - - /* Handle ALLOCATE response */ - if (status==PJ_SUCCESS && - PJ_STUN_IS_SUCCESS_RESPONSE(response->hdr.type)) - { - - /* Successful Allocate response */ - on_allocate_success(sess, method, response); - - } else { - /* Failed Allocate request */ - const pj_str_t *err_msg = NULL; - - if (status == PJ_SUCCESS) { - const pj_stun_errcode_attr *err_attr; - err_attr = (const pj_stun_errcode_attr*) - pj_stun_msg_find_attr(response, - PJ_STUN_ATTR_ERROR_CODE, 0); - if (err_attr) { - status = PJ_STATUS_FROM_STUN_CODE(err_attr->err_code); - err_msg = &err_attr->reason; - } else { - status = PJNATH_EINSTUNMSG; - } - } - - on_session_fail(sess, method, status, err_msg); - } - - } else if (method == PJ_STUN_REFRESH_METHOD) { - /* Handle Refresh response */ - if (status==PJ_SUCCESS && - PJ_STUN_IS_SUCCESS_RESPONSE(response->hdr.type)) - { - /* Success, schedule next refresh. */ - on_allocate_success(sess, method, response); - - } else { - /* Failed Refresh request */ - const pj_str_t *err_msg = NULL; - - pj_assert(status != PJ_SUCCESS); - - if (response) { - const pj_stun_errcode_attr *err_attr; - err_attr = (const pj_stun_errcode_attr*) - pj_stun_msg_find_attr(response, - PJ_STUN_ATTR_ERROR_CODE, 0); - if (err_attr) { - status = PJ_STATUS_FROM_STUN_CODE(err_attr->err_code); - err_msg = &err_attr->reason; - } - } - - /* Notify and destroy */ - on_session_fail(sess, method, status, err_msg); - } - - } else if (method == PJ_STUN_CHANNEL_BIND_METHOD) { - /* Handle ChannelBind response */ - if (status==PJ_SUCCESS && - PJ_STUN_IS_SUCCESS_RESPONSE(response->hdr.type)) - { - /* Successful ChannelBind response */ - struct ch_t *ch = (struct ch_t*)token; - - pj_assert(ch->num != PJ_TURN_INVALID_CHANNEL); - ch->bound = PJ_TRUE; - - /* Update hash table */ - lookup_ch_by_addr(sess, &ch->addr, - pj_sockaddr_get_len(&ch->addr), - PJ_TRUE, PJ_TRUE); - - } else { - /* Failed ChannelBind response */ - pj_str_t reason = {"", 0}; - int err_code = 0; - char errbuf[PJ_ERR_MSG_SIZE]; - - pj_assert(status != PJ_SUCCESS); - - if (response) { - const pj_stun_errcode_attr *err_attr; - err_attr = (const pj_stun_errcode_attr*) - pj_stun_msg_find_attr(response, - PJ_STUN_ATTR_ERROR_CODE, 0); - if (err_attr) { - err_code = err_attr->err_code; - status = PJ_STATUS_FROM_STUN_CODE(err_attr->err_code); - reason = err_attr->reason; - } - } else { - err_code = status; - reason = pj_strerror(status, errbuf, sizeof(errbuf)); - } - - PJ_LOG(1,(sess->obj_name, "ChannelBind failed: %d/%.*s", - err_code, (int)reason.slen, reason.ptr)); - - if (err_code == PJ_STUN_SC_ALLOCATION_MISMATCH) { - /* Allocation mismatch means allocation no longer exists */ - on_session_fail(sess, PJ_STUN_CHANNEL_BIND_METHOD, - status, &reason); - return; - } - } - - } else if (method == PJ_STUN_CREATE_PERM_METHOD) { - /* Handle CreatePermission response */ - if (status==PJ_SUCCESS && - PJ_STUN_IS_SUCCESS_RESPONSE(response->hdr.type)) - { - /* No special handling when the request is successful. */ - } else { - /* Iterate the permission table and invalidate all permissions - * that are related to this request. - */ - pj_hash_iterator_t it_buf, *it; - char ipstr[PJ_INET6_ADDRSTRLEN+10]; - int err_code; - char errbuf[PJ_ERR_MSG_SIZE]; - pj_str_t reason; - - pj_assert(status != PJ_SUCCESS); - - if (response) { - const pj_stun_errcode_attr *eattr; - - eattr = (const pj_stun_errcode_attr*) - pj_stun_msg_find_attr(response, - PJ_STUN_ATTR_ERROR_CODE, 0); - if (eattr) { - err_code = eattr->err_code; - reason = eattr->reason; - } else { - err_code = -1; - reason = pj_str("?"); - } - } else { - err_code = status; - reason = pj_strerror(status, errbuf, sizeof(errbuf)); - } - - it = pj_hash_first(sess->perm_table, &it_buf); - while (it) { - struct perm_t *perm = (struct perm_t*) - pj_hash_this(sess->perm_table, it); - it = pj_hash_next(sess->perm_table, it); - - if (perm->req_token == token) { - PJ_LOG(1,(sess->obj_name, - "CreatePermission failed for IP %s: %d/%.*s", - pj_sockaddr_print(&perm->addr, ipstr, - sizeof(ipstr), 2), - err_code, (int)reason.slen, reason.ptr)); - - invalidate_perm(sess, perm); - } - } - - if (err_code == PJ_STUN_SC_ALLOCATION_MISMATCH) { - /* Allocation mismatch means allocation no longer exists */ - on_session_fail(sess, PJ_STUN_CREATE_PERM_METHOD, - status, &reason); - return; - } - } - - } else { - PJ_LOG(4,(sess->obj_name, "Unexpected STUN %s response", - pj_stun_get_method_name(response->hdr.type))); - } -} - - -/* - * Notification from STUN session on incoming STUN Indication - * message. - */ -static pj_status_t stun_on_rx_indication(pj_stun_session *stun, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_stun_msg *msg, - void *token, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - pj_turn_session *sess; - pj_stun_xor_peer_addr_attr *peer_attr; - pj_stun_icmp_attr *icmp; - pj_stun_data_attr *data_attr; - - PJ_UNUSED_ARG(token); - PJ_UNUSED_ARG(pkt); - PJ_UNUSED_ARG(pkt_len); - PJ_UNUSED_ARG(src_addr); - PJ_UNUSED_ARG(src_addr_len); - - sess = (pj_turn_session*)pj_stun_session_get_user_data(stun); - - /* Expecting Data Indication only */ - if (msg->hdr.type != PJ_STUN_DATA_INDICATION) { - PJ_LOG(4,(sess->obj_name, "Unexpected STUN %s indication", - pj_stun_get_method_name(msg->hdr.type))); - return PJ_EINVALIDOP; - } - - /* Check if there is ICMP attribute in the message */ - icmp = (pj_stun_icmp_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_ICMP, 0); - if (icmp != NULL) { - /* This is a forwarded ICMP packet. Ignore it for now */ - return PJ_SUCCESS; - } - - /* Get XOR-PEER-ADDRESS attribute */ - peer_attr = (pj_stun_xor_peer_addr_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_XOR_PEER_ADDR, 0); - - /* Get DATA attribute */ - data_attr = (pj_stun_data_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_DATA, 0); - - /* Must have both XOR-PEER-ADDRESS and DATA attributes */ - if (!peer_attr || !data_attr) { - PJ_LOG(4,(sess->obj_name, - "Received Data indication with missing attributes")); - return PJ_EINVALIDOP; - } - - /* Notify application */ - if (sess->cb.on_rx_data) { - (*sess->cb.on_rx_data)(sess, data_attr->data, data_attr->length, - &peer_attr->sockaddr, - pj_sockaddr_get_len(&peer_attr->sockaddr)); - } - - return PJ_SUCCESS; -} - - -/* - * Notification on completion of DNS SRV resolution. - */ -static void dns_srv_resolver_cb(void *user_data, - pj_status_t status, - const pj_dns_srv_record *rec) -{ - pj_turn_session *sess = (pj_turn_session*) user_data; - unsigned i, cnt, tot_cnt; - - /* Clear async resolver */ - sess->dns_async = NULL; - - /* Check failure */ - if (status != PJ_SUCCESS) { - sess_shutdown(sess, status); - return; - } - - /* Calculate total number of server entries in the response */ - tot_cnt = 0; - for (i=0; icount; ++i) { - tot_cnt += rec->entry[i].server.addr_count; - } - - if (tot_cnt > PJ_TURN_MAX_DNS_SRV_CNT) - tot_cnt = PJ_TURN_MAX_DNS_SRV_CNT; - - /* Allocate server entries */ - sess->srv_addr_list = (pj_sockaddr*) - pj_pool_calloc(sess->pool, tot_cnt, - sizeof(pj_sockaddr)); - - /* Copy results to server entries */ - for (i=0, cnt=0; icount && cntentry[i].server.addr_count && - cntsrv_addr_list[cnt].ipv4; - - addr->sin_family = sess->af; - addr->sin_port = pj_htons(rec->entry[i].port); - addr->sin_addr.s_addr = rec->entry[i].server.addr[j].s_addr; - - ++cnt; - } - } - sess->srv_addr_cnt = (pj_uint16_t)cnt; - - /* Set current server */ - sess->srv_addr = &sess->srv_addr_list[0]; - - /* Set state to PJ_TURN_STATE_RESOLVED */ - set_state(sess, PJ_TURN_STATE_RESOLVED); - - /* Run pending allocation */ - if (sess->pending_alloc) { - pj_turn_session_alloc(sess, NULL); - } -} - - -/* - * Lookup peer descriptor from its address. - */ -static struct ch_t *lookup_ch_by_addr(pj_turn_session *sess, - const pj_sockaddr_t *addr, - unsigned addr_len, - pj_bool_t update, - pj_bool_t bind_channel) -{ - pj_uint32_t hval = 0; - struct ch_t *ch; - - ch = (struct ch_t*) - pj_hash_get(sess->ch_table, addr, addr_len, &hval); - if (ch == NULL && update) { - ch = PJ_POOL_ZALLOC_T(sess->pool, struct ch_t); - ch->num = PJ_TURN_INVALID_CHANNEL; - pj_memcpy(&ch->addr, addr, addr_len); - - /* Register by peer address */ - pj_hash_set(sess->pool, sess->ch_table, &ch->addr, addr_len, - hval, ch); - } - - if (ch && update) { - pj_gettimeofday(&ch->expiry); - ch->expiry.sec += PJ_TURN_PERM_TIMEOUT - sess->ka_interval - 1; - - if (bind_channel) { - pj_uint32_t hval = 0; - /* Register by channel number */ - pj_assert(ch->num != PJ_TURN_INVALID_CHANNEL && ch->bound); - - if (pj_hash_get(sess->ch_table, &ch->num, - sizeof(ch->num), &hval)==0) { - pj_hash_set(sess->pool, sess->ch_table, &ch->num, - sizeof(ch->num), hval, ch); - } - } - } - - /* Also create/update permission for this destination. Ideally we - * should update this when we receive the successful response, - * but that would cause duplicate CreatePermission to be sent - * during refreshing. - */ - if (ch && update) { - lookup_perm(sess, &ch->addr, pj_sockaddr_get_len(&ch->addr), PJ_TRUE); - } - - return ch; -} - - -/* - * Lookup channel descriptor from its channel number. - */ -static struct ch_t *lookup_ch_by_chnum(pj_turn_session *sess, - pj_uint16_t chnum) -{ - return (struct ch_t*) pj_hash_get(sess->ch_table, &chnum, - sizeof(chnum), NULL); -} - - -/* - * Lookup permission and optionally create if it doesn't exist. - */ -static struct perm_t *lookup_perm(pj_turn_session *sess, - const pj_sockaddr_t *addr, - unsigned addr_len, - pj_bool_t update) -{ - pj_uint32_t hval = 0; - pj_sockaddr perm_addr; - struct perm_t *perm; - - /* make sure port number if zero */ - if (pj_sockaddr_get_port(addr) != 0) { - pj_memcpy(&perm_addr, addr, addr_len); - pj_sockaddr_set_port(&perm_addr, 0); - addr = &perm_addr; - } - - /* lookup and create if it doesn't exist and wanted */ - perm = (struct perm_t*) - pj_hash_get(sess->perm_table, addr, addr_len, &hval); - if (perm == NULL && update) { - perm = PJ_POOL_ZALLOC_T(sess->pool, struct perm_t); - pj_memcpy(&perm->addr, addr, addr_len); - perm->hval = hval; - - pj_hash_set(sess->pool, sess->perm_table, &perm->addr, addr_len, - perm->hval, perm); - } - - if (perm && update) { - pj_gettimeofday(&perm->expiry); - perm->expiry.sec += PJ_TURN_PERM_TIMEOUT - sess->ka_interval - 1; - - } - - return perm; -} - -/* - * Delete permission - */ -static void invalidate_perm(pj_turn_session *sess, - struct perm_t *perm) -{ - pj_hash_set(NULL, sess->perm_table, &perm->addr, - pj_sockaddr_get_len(&perm->addr), perm->hval, NULL); -} - -/* - * Scan permission's hash table to refresh the permission. - */ -static unsigned refresh_permissions(pj_turn_session *sess, - const pj_time_val *now) -{ - pj_stun_tx_data *tdata = NULL; - unsigned count = 0; - void *req_token = NULL; - pj_hash_iterator_t *it, itbuf; - pj_status_t status; - - it = pj_hash_first(sess->perm_table, &itbuf); - while (it) { - struct perm_t *perm = (struct perm_t*) - pj_hash_this(sess->perm_table, it); - - it = pj_hash_next(sess->perm_table, it); - - if (perm->expiry.sec-1 <= now->sec) { - if (perm->renew) { - /* Renew this permission */ - if (tdata == NULL) { - /* Create a bare CreatePermission request */ - status = pj_stun_session_create_req( - sess->stun, - PJ_STUN_CREATE_PERM_REQUEST, - PJ_STUN_MAGIC, NULL, &tdata); - if (status != PJ_SUCCESS) { - PJ_LOG(1,(sess->obj_name, - "Error creating CreatePermission request: %d", - status)); - return 0; - } - - /* Create request token to map the request to the perm - * structures which the request belongs. - */ - req_token = (void*)(long)pj_rand(); - } - - status = pj_stun_msg_add_sockaddr_attr( - tdata->pool, - tdata->msg, - PJ_STUN_ATTR_XOR_PEER_ADDR, - PJ_TRUE, - &perm->addr, - sizeof(perm->addr)); - if (status != PJ_SUCCESS) { - pj_stun_msg_destroy_tdata(sess->stun, tdata); - return 0; - } - - perm->expiry = *now; - perm->expiry.sec += PJ_TURN_PERM_TIMEOUT-sess->ka_interval-1; - perm->req_token = req_token; - ++count; - - } else { - /* This permission has expired and app doesn't want - * us to renew, so delete it from the hash table. - */ - invalidate_perm(sess, perm); - } - } - } - - if (tdata) { - status = pj_stun_session_send_msg(sess->stun, req_token, PJ_FALSE, - (sess->conn_type==PJ_TURN_TP_UDP), - sess->srv_addr, - pj_sockaddr_get_len(sess->srv_addr), - tdata); - if (status != PJ_SUCCESS) { - PJ_LOG(1,(sess->obj_name, - "Error sending CreatePermission request: %d", - status)); - count = 0; - } - - } - - return count; -} - -/* - * Timer event. - */ -static void on_timer_event(pj_timer_heap_t *th, pj_timer_entry *e) -{ - pj_turn_session *sess = (pj_turn_session*)e->user_data; - enum timer_id_t eid; - - PJ_UNUSED_ARG(th); - - pj_lock_acquire(sess->lock); - - eid = (enum timer_id_t) e->id; - e->id = TIMER_NONE; - - if (eid == TIMER_KEEP_ALIVE) { - pj_time_val now; - pj_hash_iterator_t itbuf, *it; - pj_bool_t resched = PJ_TRUE; - pj_bool_t pkt_sent = PJ_FALSE; - - pj_gettimeofday(&now); - - /* Refresh allocation if it's time to do so */ - if (PJ_TIME_VAL_LTE(sess->expiry, now)) { - int lifetime = sess->alloc_param.lifetime; - - if (lifetime == 0) - lifetime = -1; - - send_refresh(sess, lifetime); - resched = PJ_FALSE; - pkt_sent = PJ_TRUE; - } - - /* Scan hash table to refresh bound channels */ - it = pj_hash_first(sess->ch_table, &itbuf); - while (it) { - struct ch_t *ch = (struct ch_t*) - pj_hash_this(sess->ch_table, it); - if (ch->bound && PJ_TIME_VAL_LTE(ch->expiry, now)) { - - /* Send ChannelBind to refresh channel binding and - * permission. - */ - pj_turn_session_bind_channel(sess, &ch->addr, - pj_sockaddr_get_len(&ch->addr)); - pkt_sent = PJ_TRUE; - } - - it = pj_hash_next(sess->ch_table, it); - } - - /* Scan permission table to refresh permissions */ - if (refresh_permissions(sess, &now)) - pkt_sent = PJ_TRUE; - - /* If no packet is sent, send a blank Send indication to - * refresh local NAT. - */ - if (!pkt_sent && sess->alloc_param.ka_interval > 0) { - pj_stun_tx_data *tdata; - pj_status_t rc; - - /* Create blank SEND-INDICATION */ - rc = pj_stun_session_create_ind(sess->stun, - PJ_STUN_SEND_INDICATION, &tdata); - if (rc == PJ_SUCCESS) { - /* Add DATA attribute with zero length */ - pj_stun_msg_add_binary_attr(tdata->pool, tdata->msg, - PJ_STUN_ATTR_DATA, NULL, 0); - - /* Send the indication */ - pj_stun_session_send_msg(sess->stun, NULL, PJ_FALSE, - PJ_FALSE, sess->srv_addr, - pj_sockaddr_get_len(sess->srv_addr), - tdata); - } - } - - /* Reshcedule timer */ - if (resched) { - pj_time_val delay; - - delay.sec = sess->ka_interval; - delay.msec = 0; - - sess->timer.id = TIMER_KEEP_ALIVE; - pj_timer_heap_schedule(sess->timer_heap, &sess->timer, &delay); - } - - pj_lock_release(sess->lock); - - } else if (eid == TIMER_DESTROY) { - /* Time to destroy */ - pj_lock_release(sess->lock); - do_destroy(sess); - } else { - pj_assert(!"Unknown timer event"); - pj_lock_release(sess->lock); - } -} - diff --git a/res/pjproject/pjnath/src/pjnath/turn_sock.c b/res/pjproject/pjnath/src/pjnath/turn_sock.c deleted file mode 100644 index e841af2c8e..0000000000 --- a/res/pjproject/pjnath/src/pjnath/turn_sock.c +++ /dev/null @@ -1,808 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include - -enum -{ - TIMER_NONE, - TIMER_DESTROY -}; - -#define INIT 0x1FFFFFFF - -struct pj_turn_sock -{ - pj_pool_t *pool; - const char *obj_name; - pj_turn_session *sess; - pj_turn_sock_cb cb; - void *user_data; - - pj_lock_t *lock; - - pj_turn_alloc_param alloc_param; - pj_stun_config cfg; - pj_turn_sock_cfg setting; - - pj_bool_t destroy_request; - pj_timer_entry timer; - - int af; - pj_turn_tp_type conn_type; - pj_activesock_t *active_sock; - pj_ioqueue_op_key_t send_key; -}; - - -/* - * Callback prototypes. - */ -static pj_status_t turn_on_send_pkt(pj_turn_session *sess, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_sockaddr_t *dst_addr, - unsigned dst_addr_len); -static void turn_on_channel_bound(pj_turn_session *sess, - const pj_sockaddr_t *peer_addr, - unsigned addr_len, - unsigned ch_num); -static void turn_on_rx_data(pj_turn_session *sess, - void *pkt, - unsigned pkt_len, - const pj_sockaddr_t *peer_addr, - unsigned addr_len); -static void turn_on_state(pj_turn_session *sess, - pj_turn_state_t old_state, - pj_turn_state_t new_state); - -static pj_bool_t on_data_read(pj_activesock_t *asock, - void *data, - pj_size_t size, - pj_status_t status, - pj_size_t *remainder); -static pj_bool_t on_connect_complete(pj_activesock_t *asock, - pj_status_t status); - - - -static void destroy(pj_turn_sock *turn_sock); -static void timer_cb(pj_timer_heap_t *th, pj_timer_entry *e); - - -/* Init config */ -PJ_DEF(void) pj_turn_sock_cfg_default(pj_turn_sock_cfg *cfg) -{ - pj_bzero(cfg, sizeof(*cfg)); - cfg->qos_type = PJ_QOS_TYPE_BEST_EFFORT; - cfg->qos_ignore_error = PJ_TRUE; -} - -/* - * Create. - */ -PJ_DEF(pj_status_t) pj_turn_sock_create(pj_stun_config *cfg, - int af, - pj_turn_tp_type conn_type, - const pj_turn_sock_cb *cb, - const pj_turn_sock_cfg *setting, - void *user_data, - pj_turn_sock **p_turn_sock) -{ - pj_turn_sock *turn_sock; - pj_turn_session_cb sess_cb; - pj_turn_sock_cfg default_setting; - pj_pool_t *pool; - const char *name_tmpl; - pj_status_t status; - - PJ_ASSERT_RETURN(cfg && p_turn_sock, PJ_EINVAL); - PJ_ASSERT_RETURN(af==pj_AF_INET() || af==pj_AF_INET6(), PJ_EINVAL); - PJ_ASSERT_RETURN(conn_type!=PJ_TURN_TP_TCP || PJ_HAS_TCP, PJ_EINVAL); - - if (!setting) { - pj_turn_sock_cfg_default(&default_setting); - setting = &default_setting; - } - - switch (conn_type) { - case PJ_TURN_TP_UDP: - name_tmpl = "udprel%p"; - break; - case PJ_TURN_TP_TCP: - name_tmpl = "tcprel%p"; - break; - default: - PJ_ASSERT_RETURN(!"Invalid TURN conn_type", PJ_EINVAL); - name_tmpl = "tcprel%p"; - break; - } - - /* Create and init basic data structure */ - pool = pj_pool_create(cfg->pf, name_tmpl, PJNATH_POOL_LEN_TURN_SOCK, - PJNATH_POOL_INC_TURN_SOCK, NULL); - turn_sock = PJ_POOL_ZALLOC_T(pool, pj_turn_sock); - turn_sock->pool = pool; - turn_sock->obj_name = pool->obj_name; - turn_sock->user_data = user_data; - turn_sock->af = af; - turn_sock->conn_type = conn_type; - - /* Copy STUN config (this contains ioqueue, timer heap, etc.) */ - pj_memcpy(&turn_sock->cfg, cfg, sizeof(*cfg)); - - /* Copy setting (QoS parameters etc */ - pj_memcpy(&turn_sock->setting, setting, sizeof(*setting)); - - /* Set callback */ - if (cb) { - pj_memcpy(&turn_sock->cb, cb, sizeof(*cb)); - } - - /* Create lock */ - status = pj_lock_create_recursive_mutex(pool, turn_sock->obj_name, - &turn_sock->lock); - if (status != PJ_SUCCESS) { - destroy(turn_sock); - return status; - } - - /* Init timer */ - pj_timer_entry_init(&turn_sock->timer, TIMER_NONE, turn_sock, &timer_cb); - - /* Init TURN session */ - pj_bzero(&sess_cb, sizeof(sess_cb)); - sess_cb.on_send_pkt = &turn_on_send_pkt; - sess_cb.on_channel_bound = &turn_on_channel_bound; - sess_cb.on_rx_data = &turn_on_rx_data; - sess_cb.on_state = &turn_on_state; - status = pj_turn_session_create(cfg, pool->obj_name, af, conn_type, - &sess_cb, 0, turn_sock, &turn_sock->sess); - if (status != PJ_SUCCESS) { - destroy(turn_sock); - return status; - } - - /* Note: socket and ioqueue will be created later once the TURN server - * has been resolved. - */ - - *p_turn_sock = turn_sock; - return PJ_SUCCESS; -} - -/* - * Destroy. - */ -static void destroy(pj_turn_sock *turn_sock) -{ - if (turn_sock->lock) { - pj_lock_acquire(turn_sock->lock); - } - - if (turn_sock->sess) { - pj_turn_session_set_user_data(turn_sock->sess, NULL); - pj_turn_session_shutdown(turn_sock->sess); - turn_sock->sess = NULL; - } - - if (turn_sock->active_sock) { - pj_activesock_close(turn_sock->active_sock); - turn_sock->active_sock = NULL; - } - - if (turn_sock->lock) { - pj_lock_release(turn_sock->lock); - pj_lock_destroy(turn_sock->lock); - turn_sock->lock = NULL; - } - - if (turn_sock->pool) { - pj_pool_t *pool = turn_sock->pool; - turn_sock->pool = NULL; - pj_pool_release(pool); - } -} - - -PJ_DEF(void) pj_turn_sock_destroy(pj_turn_sock *turn_sock) -{ - pj_lock_acquire(turn_sock->lock); - turn_sock->destroy_request = PJ_TRUE; - - if (turn_sock->sess) { - pj_turn_session_shutdown(turn_sock->sess); - /* This will ultimately call our state callback, and when - * session state is DESTROYING we will schedule a timer to - * destroy ourselves. - */ - pj_lock_release(turn_sock->lock); - } else { - pj_lock_release(turn_sock->lock); - destroy(turn_sock); - } - -} - - -/* Timer callback */ -static void timer_cb(pj_timer_heap_t *th, pj_timer_entry *e) -{ - pj_turn_sock *turn_sock = (pj_turn_sock*)e->user_data; - int eid = e->id; - - PJ_UNUSED_ARG(th); - - e->id = TIMER_NONE; - - switch (eid) { - case TIMER_DESTROY: - PJ_LOG(5,(turn_sock->obj_name, "Destroying TURN")); - destroy(turn_sock); - break; - default: - pj_assert(!"Invalid timer id"); - break; - } -} - - -/* Display error */ -static void show_err(pj_turn_sock *turn_sock, const char *title, - pj_status_t status) -{ - PJ_PERROR(4,(turn_sock->obj_name, status, title)); -} - -/* On error, terminate session */ -static void sess_fail(pj_turn_sock *turn_sock, const char *title, - pj_status_t status) -{ - show_err(turn_sock, title, status); - if (turn_sock->sess) { - pj_turn_session_destroy(turn_sock->sess, status); - } -} - -/* - * Set user data. - */ -PJ_DEF(pj_status_t) pj_turn_sock_set_user_data( pj_turn_sock *turn_sock, - void *user_data) -{ - PJ_ASSERT_RETURN(turn_sock, PJ_EINVAL); - turn_sock->user_data = user_data; - return PJ_SUCCESS; -} - -/* - * Get user data. - */ -PJ_DEF(void*) pj_turn_sock_get_user_data(pj_turn_sock *turn_sock) -{ - PJ_ASSERT_RETURN(turn_sock, NULL); - return turn_sock->user_data; -} - -/** - * Get info. - */ -PJ_DEF(pj_status_t) pj_turn_sock_get_info(pj_turn_sock *turn_sock, - pj_turn_session_info *info) -{ - PJ_ASSERT_RETURN(turn_sock && info, PJ_EINVAL); - - if (turn_sock->sess) { - return pj_turn_session_get_info(turn_sock->sess, info); - } else { - pj_bzero(info, sizeof(*info)); - info->state = PJ_TURN_STATE_NULL; - return PJ_SUCCESS; - } -} - -/** - * Lock the TURN socket. Application may need to call this function to - * synchronize access to other objects to avoid deadlock. - */ -PJ_DEF(pj_status_t) pj_turn_sock_lock(pj_turn_sock *turn_sock) -{ - return pj_lock_acquire(turn_sock->lock); -} - -/** - * Unlock the TURN socket. - */ -PJ_DEF(pj_status_t) pj_turn_sock_unlock(pj_turn_sock *turn_sock) -{ - return pj_lock_release(turn_sock->lock); -} - -/* - * Set STUN message logging for this TURN session. - */ -PJ_DEF(void) pj_turn_sock_set_log( pj_turn_sock *turn_sock, - unsigned flags) -{ - pj_turn_session_set_log(turn_sock->sess, flags); -} - -/* - * Set software name - */ -PJ_DEF(pj_status_t) pj_turn_sock_set_software_name( pj_turn_sock *turn_sock, - const pj_str_t *sw) -{ - return pj_turn_session_set_software_name(turn_sock->sess, sw); -} - -/* - * Initialize. - */ -PJ_DEF(pj_status_t) pj_turn_sock_alloc(pj_turn_sock *turn_sock, - const pj_str_t *domain, - int default_port, - pj_dns_resolver *resolver, - const pj_stun_auth_cred *cred, - const pj_turn_alloc_param *param) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(turn_sock && domain, PJ_EINVAL); - PJ_ASSERT_RETURN(turn_sock->sess, PJ_EINVALIDOP); - - /* Copy alloc param. We will call session_alloc() only after the - * server address has been resolved. - */ - if (param) { - pj_turn_alloc_param_copy(turn_sock->pool, &turn_sock->alloc_param, param); - } else { - pj_turn_alloc_param_default(&turn_sock->alloc_param); - } - - /* Set credental */ - if (cred) { - status = pj_turn_session_set_credential(turn_sock->sess, cred); - if (status != PJ_SUCCESS) { - sess_fail(turn_sock, "Error setting credential", status); - return status; - } - } - - /* Resolve server */ - status = pj_turn_session_set_server(turn_sock->sess, domain, default_port, - resolver); - if (status != PJ_SUCCESS) { - sess_fail(turn_sock, "Error setting TURN server", status); - return status; - } - - /* Done for now. The next work will be done when session state moved - * to RESOLVED state. - */ - - return PJ_SUCCESS; -} - -/* - * Install permission - */ -PJ_DEF(pj_status_t) pj_turn_sock_set_perm( pj_turn_sock *turn_sock, - unsigned addr_cnt, - const pj_sockaddr addr[], - unsigned options) -{ - if (turn_sock->sess == NULL) - return PJ_EINVALIDOP; - - return pj_turn_session_set_perm(turn_sock->sess, addr_cnt, addr, options); -} - -/* - * Send packet. - */ -PJ_DEF(pj_status_t) pj_turn_sock_sendto( pj_turn_sock *turn_sock, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_sockaddr_t *addr, - unsigned addr_len) -{ - PJ_ASSERT_RETURN(turn_sock && addr && addr_len, PJ_EINVAL); - - if (turn_sock->sess == NULL) - return PJ_EINVALIDOP; - - return pj_turn_session_sendto(turn_sock->sess, pkt, pkt_len, - addr, addr_len); -} - -/* - * Bind a peer address to a channel number. - */ -PJ_DEF(pj_status_t) pj_turn_sock_bind_channel( pj_turn_sock *turn_sock, - const pj_sockaddr_t *peer, - unsigned addr_len) -{ - PJ_ASSERT_RETURN(turn_sock && peer && addr_len, PJ_EINVAL); - PJ_ASSERT_RETURN(turn_sock->sess != NULL, PJ_EINVALIDOP); - - return pj_turn_session_bind_channel(turn_sock->sess, peer, addr_len); -} - - -/* - * Notification when outgoing TCP socket has been connected. - */ -static pj_bool_t on_connect_complete(pj_activesock_t *asock, - pj_status_t status) -{ - pj_turn_sock *turn_sock; - - turn_sock = (pj_turn_sock*) pj_activesock_get_user_data(asock); - - if (status != PJ_SUCCESS) { - sess_fail(turn_sock, "TCP connect() error", status); - return PJ_FALSE; - } - - if (turn_sock->conn_type != PJ_TURN_TP_UDP) { - PJ_LOG(5,(turn_sock->obj_name, "TCP connected")); - } - - /* Kick start pending read operation */ - status = pj_activesock_start_read(asock, turn_sock->pool, - PJ_TURN_MAX_PKT_LEN, 0); - - /* Init send_key */ - pj_ioqueue_op_key_init(&turn_sock->send_key, sizeof(turn_sock->send_key)); - - /* Send Allocate request */ - status = pj_turn_session_alloc(turn_sock->sess, &turn_sock->alloc_param); - if (status != PJ_SUCCESS) { - sess_fail(turn_sock, "Error sending ALLOCATE", status); - return PJ_FALSE; - } - - return PJ_TRUE; -} - -static pj_uint16_t GETVAL16H(const pj_uint8_t *buf, unsigned pos) -{ - return (pj_uint16_t) ((buf[pos + 0] << 8) | \ - (buf[pos + 1] << 0)); -} - -/* Quick check to determine if there is enough packet to process in the - * incoming buffer. Return the packet length, or zero if there's no packet. - */ -static unsigned has_packet(pj_turn_sock *turn_sock, const void *buf, pj_size_t bufsize) -{ - pj_bool_t is_stun; - - if (turn_sock->conn_type == PJ_TURN_TP_UDP) - return bufsize; - - /* Quickly check if this is STUN message, by checking the first two bits and - * size field which must be multiple of 4 bytes - */ - is_stun = ((((pj_uint8_t*)buf)[0] & 0xC0) == 0) && - ((GETVAL16H((const pj_uint8_t*)buf, 2) & 0x03)==0); - - if (is_stun) { - pj_size_t msg_len = GETVAL16H((const pj_uint8_t*)buf, 2); - return (msg_len+20 <= bufsize) ? msg_len+20 : 0; - } else { - /* This must be ChannelData. */ - pj_turn_channel_data cd; - - if (bufsize < 4) - return 0; - - /* Decode ChannelData packet */ - pj_memcpy(&cd, buf, sizeof(pj_turn_channel_data)); - cd.length = pj_ntohs(cd.length); - - if (bufsize >= cd.length+sizeof(cd)) - return (cd.length+sizeof(cd)+3) & (~3); - else - return 0; - } -} - -/* - * Notification from ioqueue when incoming UDP packet is received. - */ -static pj_bool_t on_data_read(pj_activesock_t *asock, - void *data, - pj_size_t size, - pj_status_t status, - pj_size_t *remainder) -{ - pj_turn_sock *turn_sock; - pj_bool_t ret = PJ_TRUE; - - turn_sock = (pj_turn_sock*) pj_activesock_get_user_data(asock); - pj_lock_acquire(turn_sock->lock); - - if (status == PJ_SUCCESS && turn_sock->sess) { - /* Report incoming packet to TURN session, repeat while we have - * "packet" in the buffer (required for stream-oriented transports) - */ - unsigned pkt_len; - - //PJ_LOG(5,(turn_sock->pool->obj_name, - // "Incoming data, %lu bytes total buffer", size)); - - while ((pkt_len=has_packet(turn_sock, data, size)) != 0) { - pj_size_t parsed_len; - //const pj_uint8_t *pkt = (const pj_uint8_t*)data; - - //PJ_LOG(5,(turn_sock->pool->obj_name, - // "Packet start: %02X %02X %02X %02X", - // pkt[0], pkt[1], pkt[2], pkt[3])); - - //PJ_LOG(5,(turn_sock->pool->obj_name, - // "Processing %lu bytes packet of %lu bytes total buffer", - // pkt_len, size)); - - parsed_len = (unsigned)size; - pj_turn_session_on_rx_pkt(turn_sock->sess, data, size, &parsed_len); - - /* parsed_len may be zero if we have parsing error, so use our - * previous calculation to exhaust the bad packet. - */ - if (parsed_len == 0) - parsed_len = pkt_len; - - if (parsed_len < (unsigned)size) { - *remainder = size - parsed_len; - pj_memmove(data, ((char*)data)+parsed_len, *remainder); - } else { - *remainder = 0; - } - size = *remainder; - - //PJ_LOG(5,(turn_sock->pool->obj_name, - // "Buffer size now %lu bytes", size)); - } - } else if (status != PJ_SUCCESS && - turn_sock->conn_type != PJ_TURN_TP_UDP) - { - sess_fail(turn_sock, "TCP connection closed", status); - ret = PJ_FALSE; - goto on_return; - } - -on_return: - pj_lock_release(turn_sock->lock); - - return ret; -} - - -/* - * Callback from TURN session to send outgoing packet. - */ -static pj_status_t turn_on_send_pkt(pj_turn_session *sess, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_sockaddr_t *dst_addr, - unsigned dst_addr_len) -{ - pj_turn_sock *turn_sock = (pj_turn_sock*) - pj_turn_session_get_user_data(sess); - pj_ssize_t len = pkt_len; - pj_status_t status; - - if (turn_sock == NULL) { - /* We've been destroyed */ - // https://trac.pjsip.org/repos/ticket/1316 - //pj_assert(!"We should shutdown gracefully"); - return PJ_EINVALIDOP; - } - - PJ_UNUSED_ARG(dst_addr); - PJ_UNUSED_ARG(dst_addr_len); - - status = pj_activesock_send(turn_sock->active_sock, &turn_sock->send_key, - pkt, &len, 0); - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - show_err(turn_sock, "socket send()", status); - } - - return status; -} - - -/* - * Callback from TURN session when a channel is successfully bound. - */ -static void turn_on_channel_bound(pj_turn_session *sess, - const pj_sockaddr_t *peer_addr, - unsigned addr_len, - unsigned ch_num) -{ - PJ_UNUSED_ARG(sess); - PJ_UNUSED_ARG(peer_addr); - PJ_UNUSED_ARG(addr_len); - PJ_UNUSED_ARG(ch_num); -} - - -/* - * Callback from TURN session upon incoming data. - */ -static void turn_on_rx_data(pj_turn_session *sess, - void *pkt, - unsigned pkt_len, - const pj_sockaddr_t *peer_addr, - unsigned addr_len) -{ - pj_turn_sock *turn_sock = (pj_turn_sock*) - pj_turn_session_get_user_data(sess); - if (turn_sock == NULL) { - /* We've been destroyed */ - return; - } - - if (turn_sock->cb.on_rx_data) { - (*turn_sock->cb.on_rx_data)(turn_sock, pkt, pkt_len, - peer_addr, addr_len); - } -} - - -/* - * Callback from TURN session when state has changed - */ -static void turn_on_state(pj_turn_session *sess, - pj_turn_state_t old_state, - pj_turn_state_t new_state) -{ - pj_turn_sock *turn_sock = (pj_turn_sock*) - pj_turn_session_get_user_data(sess); - pj_status_t status; - - if (turn_sock == NULL) { - /* We've been destroyed */ - return; - } - - /* Notify app first */ - if (turn_sock->cb.on_state) { - (*turn_sock->cb.on_state)(turn_sock, old_state, new_state); - } - - /* Make sure user hasn't destroyed us in the callback */ - if (turn_sock->sess && new_state == PJ_TURN_STATE_RESOLVED) { - pj_turn_session_info info; - pj_turn_session_get_info(turn_sock->sess, &info); - new_state = info.state; - } - - if (turn_sock->sess && new_state == PJ_TURN_STATE_RESOLVED) { - /* - * Once server has been resolved, initiate outgoing TCP - * connection to the server. - */ - pj_turn_session_info info; - char addrtxt[PJ_INET6_ADDRSTRLEN+8]; - int sock_type; - pj_sock_t sock; - pj_activesock_cb asock_cb; - - /* Close existing connection, if any. This happens when - * we're switching to alternate TURN server when either TCP - * connection or ALLOCATE request failed. - */ - if (turn_sock->active_sock) { - pj_activesock_close(turn_sock->active_sock); - turn_sock->active_sock = NULL; - } - - /* Get server address from session info */ - pj_turn_session_get_info(sess, &info); - - if (turn_sock->conn_type == PJ_TURN_TP_UDP) - sock_type = pj_SOCK_DGRAM(); - else - sock_type = pj_SOCK_STREAM(); - - /* Init socket */ - status = pj_sock_socket(turn_sock->af, sock_type, 0, &sock); - if (status != PJ_SUCCESS) { - pj_turn_sock_destroy(turn_sock); - return; - } - - /* Apply QoS, if specified */ - status = pj_sock_apply_qos2(sock, turn_sock->setting.qos_type, - &turn_sock->setting.qos_params, - (turn_sock->setting.qos_ignore_error?2:1), - turn_sock->pool->obj_name, NULL); - if (status != PJ_SUCCESS && !turn_sock->setting.qos_ignore_error) { - pj_turn_sock_destroy(turn_sock); - return; - } - - /* Create active socket */ - pj_bzero(&asock_cb, sizeof(asock_cb)); - asock_cb.on_data_read = &on_data_read; - asock_cb.on_connect_complete = &on_connect_complete; - status = pj_activesock_create(turn_sock->pool, sock, - sock_type, NULL, - turn_sock->cfg.ioqueue, &asock_cb, - turn_sock, - &turn_sock->active_sock); - if (status != PJ_SUCCESS) { - pj_turn_sock_destroy(turn_sock); - return; - } - - PJ_LOG(5,(turn_sock->pool->obj_name, - "Connecting to %s", - pj_sockaddr_print(&info.server, addrtxt, - sizeof(addrtxt), 3))); - - /* Initiate non-blocking connect */ -#if PJ_HAS_TCP - status=pj_activesock_start_connect(turn_sock->active_sock, - turn_sock->pool, - &info.server, - pj_sockaddr_get_len(&info.server)); - if (status == PJ_SUCCESS) { - on_connect_complete(turn_sock->active_sock, PJ_SUCCESS); - } else if (status != PJ_EPENDING) { - pj_turn_sock_destroy(turn_sock); - return; - } -#else - on_connect_complete(turn_sock->active_sock, PJ_SUCCESS); -#endif - - /* Done for now. Subsequent work will be done in - * on_connect_complete() callback. - */ - } - - if (new_state >= PJ_TURN_STATE_DESTROYING && turn_sock->sess) { - pj_time_val delay = {0, 0}; - - turn_sock->sess = NULL; - pj_turn_session_set_user_data(sess, NULL); - - if (turn_sock->timer.id) { - pj_timer_heap_cancel(turn_sock->cfg.timer_heap, &turn_sock->timer); - turn_sock->timer.id = 0; - } - - turn_sock->timer.id = TIMER_DESTROY; - pj_timer_heap_schedule(turn_sock->cfg.timer_heap, &turn_sock->timer, - &delay); - } -} - - diff --git a/res/pjproject/pjnath/src/pjturn-client/client_main.c b/res/pjproject/pjnath/src/pjturn-client/client_main.c deleted file mode 100644 index 1a86672208..0000000000 --- a/res/pjproject/pjnath/src/pjturn-client/client_main.c +++ /dev/null @@ -1,631 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - - -#define THIS_FILE "client_main.c" -#define LOCAL_PORT 1998 -#define BANDWIDTH 64 /* -1 to disable */ -#define LIFETIME 600 /* -1 to disable */ -#define REQ_TRANSPORT -1 /* 0: udp, 1: tcp, -1: disable */ -#define REQ_PORT_PROPS -1 /* -1 to disable */ -#define REQ_IP 0 /* IP address string */ - -//#define OPTIONS PJ_STUN_NO_AUTHENTICATE -#define OPTIONS 0 - - -struct peer -{ - pj_stun_sock *stun_sock; - pj_sockaddr mapped_addr; -}; - - -static struct global -{ - pj_caching_pool cp; - pj_pool_t *pool; - pj_stun_config stun_config; - pj_thread_t *thread; - pj_bool_t quit; - - pj_dns_resolver *resolver; - - pj_turn_sock *relay; - pj_sockaddr relay_addr; - - struct peer peer[2]; -} g; - -static struct options -{ - pj_bool_t use_tcp; - char *srv_addr; - char *srv_port; - char *realm; - char *user_name; - char *password; - pj_bool_t use_fingerprint; - char *stun_server; - char *nameserver; -} o; - - -static int worker_thread(void *unused); -static void turn_on_rx_data(pj_turn_sock *relay, - void *pkt, - unsigned pkt_len, - const pj_sockaddr_t *peer_addr, - unsigned addr_len); -static void turn_on_state(pj_turn_sock *relay, pj_turn_state_t old_state, - pj_turn_state_t new_state); -static pj_bool_t stun_sock_on_status(pj_stun_sock *stun_sock, - pj_stun_sock_op op, - pj_status_t status); -static pj_bool_t stun_sock_on_rx_data(pj_stun_sock *stun_sock, - void *pkt, - unsigned pkt_len, - const pj_sockaddr_t *src_addr, - unsigned addr_len); - - -static void my_perror(const char *title, pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(status, errmsg, sizeof(errmsg)); - - PJ_LOG(3,(THIS_FILE, "%s: %s", title, errmsg)); -} - -#define CHECK(expr) status=expr; \ - if (status!=PJ_SUCCESS) { \ - my_perror(#expr, status); \ - return status; \ - } - -static int init() -{ - int i; - pj_status_t status; - - CHECK( pj_init() ); - CHECK( pjlib_util_init() ); - CHECK( pjnath_init() ); - - /* Check that server is specified */ - if (!o.srv_addr) { - printf("Error: server must be specified\n"); - return PJ_EINVAL; - } - - pj_caching_pool_init(&g.cp, &pj_pool_factory_default_policy, 0); - - g.pool = pj_pool_create(&g.cp.factory, "main", 1000, 1000, NULL); - - /* Init global STUN config */ - pj_stun_config_init(&g.stun_config, &g.cp.factory, 0, NULL, NULL); - - /* Create global timer heap */ - CHECK( pj_timer_heap_create(g.pool, 1000, &g.stun_config.timer_heap) ); - - /* Create global ioqueue */ - CHECK( pj_ioqueue_create(g.pool, 16, &g.stun_config.ioqueue) ); - - /* - * Create peers - */ - for (i=0; i<(int)PJ_ARRAY_SIZE(g.peer); ++i) { - pj_stun_sock_cb stun_sock_cb; - char name[] = "peer0"; - pj_uint16_t port; - pj_stun_sock_cfg ss_cfg; - pj_str_t server; - - pj_bzero(&stun_sock_cb, sizeof(stun_sock_cb)); - stun_sock_cb.on_rx_data = &stun_sock_on_rx_data; - stun_sock_cb.on_status = &stun_sock_on_status; - - g.peer[i].mapped_addr.addr.sa_family = pj_AF_INET(); - - pj_stun_sock_cfg_default(&ss_cfg); -#if 1 - /* make reading the log easier */ - ss_cfg.ka_interval = 300; -#endif - - name[strlen(name)-1] = '0'+i; - status = pj_stun_sock_create(&g.stun_config, name, pj_AF_INET(), - &stun_sock_cb, &ss_cfg, - &g.peer[i], &g.peer[i].stun_sock); - if (status != PJ_SUCCESS) { - my_perror("pj_stun_sock_create()", status); - return status; - } - - if (o.stun_server) { - server = pj_str(o.stun_server); - port = PJ_STUN_PORT; - } else { - server = pj_str(o.srv_addr); - port = (pj_uint16_t)(o.srv_port?atoi(o.srv_port):PJ_STUN_PORT); - } - status = pj_stun_sock_start(g.peer[i].stun_sock, &server, - port, NULL); - if (status != PJ_SUCCESS) { - my_perror("pj_stun_sock_start()", status); - return status; - } - } - - /* Start the worker thread */ - CHECK( pj_thread_create(g.pool, "stun", &worker_thread, NULL, 0, 0, &g.thread) ); - - - return PJ_SUCCESS; -} - - -static int client_shutdown() -{ - unsigned i; - - if (g.thread) { - g.quit = 1; - pj_thread_join(g.thread); - pj_thread_destroy(g.thread); - g.thread = NULL; - } - if (g.relay) { - pj_turn_sock_destroy(g.relay); - g.relay = NULL; - } - for (i=0; i %s", pj_turn_state_name(old_state), - pj_turn_state_name(new_state))); - - if (new_state == PJ_TURN_STATE_READY) { - pj_turn_session_info info; - pj_turn_sock_get_info(relay, &info); - pj_memcpy(&g.relay_addr, &info.relay_addr, sizeof(pj_sockaddr)); - } else if (new_state > PJ_TURN_STATE_READY && g.relay) { - PJ_LOG(3,(THIS_FILE, "Relay shutting down..")); - g.relay = NULL; - } -} - -static pj_bool_t stun_sock_on_status(pj_stun_sock *stun_sock, - pj_stun_sock_op op, - pj_status_t status) -{ - struct peer *peer = (struct peer*) pj_stun_sock_get_user_data(stun_sock); - - if (status == PJ_SUCCESS) { - PJ_LOG(4,(THIS_FILE, "peer%d: %s success", peer-g.peer, - pj_stun_sock_op_name(op))); - } else { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(1,(THIS_FILE, "peer%d: %s error: %s", peer-g.peer, - pj_stun_sock_op_name(op), errmsg)); - return PJ_FALSE; - } - - if (op==PJ_STUN_SOCK_BINDING_OP || op==PJ_STUN_SOCK_KEEP_ALIVE_OP) { - pj_stun_sock_info info; - int cmp; - - pj_stun_sock_get_info(stun_sock, &info); - cmp = pj_sockaddr_cmp(&info.mapped_addr, &peer->mapped_addr); - - if (cmp) { - char straddr[PJ_INET6_ADDRSTRLEN+10]; - - pj_sockaddr_cp(&peer->mapped_addr, &info.mapped_addr); - pj_sockaddr_print(&peer->mapped_addr, straddr, sizeof(straddr), 3); - PJ_LOG(3,(THIS_FILE, "peer%d: STUN mapped address is %s", - peer-g.peer, straddr)); - } - } - - return PJ_TRUE; -} - -static pj_bool_t stun_sock_on_rx_data(pj_stun_sock *stun_sock, - void *pkt, - unsigned pkt_len, - const pj_sockaddr_t *src_addr, - unsigned addr_len) -{ - struct peer *peer = (struct peer*) pj_stun_sock_get_user_data(stun_sock); - char straddr[PJ_INET6_ADDRSTRLEN+10]; - - ((char*)pkt)[pkt_len] = '\0'; - - pj_sockaddr_print(src_addr, straddr, sizeof(straddr), 3); - PJ_LOG(3,(THIS_FILE, "peer%d: received %d bytes data from %s: %s", - peer-g.peer, pkt_len, straddr, (char*)pkt)); - - return PJ_TRUE; -} - - -static void menu(void) -{ - pj_turn_session_info info; - char client_state[20], relay_addr[80], peer0_addr[80], peer1_addr[80]; - - if (g.relay) { - pj_turn_sock_get_info(g.relay, &info); - strcpy(client_state, pj_turn_state_name(info.state)); - if (info.state >= PJ_TURN_STATE_READY) - pj_sockaddr_print(&info.relay_addr, relay_addr, sizeof(relay_addr), 3); - else - strcpy(relay_addr, "0.0.0.0:0"); - } else { - strcpy(client_state, "NULL"); - strcpy(relay_addr, "0.0.0.0:0"); - } - - pj_sockaddr_print(&g.peer[0].mapped_addr, peer0_addr, sizeof(peer0_addr), 3); - pj_sockaddr_print(&g.peer[1].mapped_addr, peer1_addr, sizeof(peer1_addr), 3); - - - puts("\n"); - puts("+=====================================================================+"); - puts("| CLIENT | PEER-0 |"); - puts("| | |"); - printf("| State : %-12s | Address: %-21s |\n", - client_state, peer0_addr); - printf("| Relay addr: %-21s | |\n", - relay_addr); - puts("| | 0 Send data to relay address |"); - puts("| a Allocate relay | |"); - puts("| p,pp Set permission for peer 0/1 +--------------------------------+"); - puts("| s,ss Send data to peer 0/1 | PEER-1 |"); - puts("| b,bb BindChannel to peer 0/1 | |"); - printf("| x Delete allocation | Address: %-21s |\n", - peer1_addr); - puts("+------------------------------------+ |"); - puts("| q Quit d Dump | 1 Send data to relay adderss |"); - puts("+------------------------------------+--------------------------------+"); - printf(">>> "); - fflush(stdout); -} - - -static void console_main(void) -{ - while (!g.quit) { - char input[32]; - struct peer *peer; - pj_status_t status; - - menu(); - - if (fgets(input, sizeof(input), stdin) == NULL) - break; - - switch (input[0]) { - case 'a': - create_relay(); - break; - case 'd': - pj_pool_factory_dump(&g.cp.factory, PJ_TRUE); - break; - case 's': - if (g.relay == NULL) { - puts("Error: no relay"); - continue; - } - if (input[1]!='s') - peer = &g.peer[0]; - else - peer = &g.peer[1]; - - strcpy(input, "Hello from client"); - status = pj_turn_sock_sendto(g.relay, (const pj_uint8_t*)input, - strlen(input)+1, - &peer->mapped_addr, - pj_sockaddr_get_len(&peer->mapped_addr)); - if (status != PJ_SUCCESS) - my_perror("turn_udp_sendto() failed", status); - break; - case 'b': - if (g.relay == NULL) { - puts("Error: no relay"); - continue; - } - if (input[1]!='b') - peer = &g.peer[0]; - else - peer = &g.peer[1]; - - status = pj_turn_sock_bind_channel(g.relay, &peer->mapped_addr, - pj_sockaddr_get_len(&peer->mapped_addr)); - if (status != PJ_SUCCESS) - my_perror("turn_udp_bind_channel() failed", status); - break; - case 'p': - if (g.relay == NULL) { - puts("Error: no relay"); - continue; - } - if (input[1]!='p') - peer = &g.peer[0]; - else - peer = &g.peer[1]; - - status = pj_turn_sock_set_perm(g.relay, 1, &peer->mapped_addr, 1); - if (status != PJ_SUCCESS) - my_perror("pj_turn_sock_set_perm() failed", status); - break; - case 'x': - if (g.relay == NULL) { - puts("Error: no relay"); - continue; - } - destroy_relay(); - break; - case '0': - case '1': - if (g.relay == NULL) { - puts("No relay"); - break; - } - peer = &g.peer[input[0]-'0']; - sprintf(input, "Hello from peer%d", input[0]-'0'); - pj_stun_sock_sendto(peer->stun_sock, NULL, input, strlen(input)+1, 0, - &g.relay_addr, pj_sockaddr_get_len(&g.relay_addr)); - break; - case 'q': - g.quit = PJ_TRUE; - break; - } - } -} - - -static void usage(void) -{ - puts("Usage: pjturn_client TURN-SERVER [OPTIONS]"); - puts(""); - puts("where TURN-SERVER is \"host[:port]\""); - puts(""); - puts("and OPTIONS:"); - puts(" --tcp, -T Use TCP to connect to TURN server"); - puts(" --realm, -r REALM Set realm of the credential to REALM"); - puts(" --username, -u UID Set username of the credential to UID"); - puts(" --password, -p PASSWD Set password of the credential to PASSWD"); - puts(" --fingerprint, -F Use fingerprint for outgoing requests"); - puts(" --stun-srv, -S NAME Use this STUN srv instead of TURN for Binding discovery"); - puts(" --nameserver, -N IP Activate DNS SRV, use this DNS server"); - puts(" --help, -h"); -} - -int main(int argc, char *argv[]) -{ - struct pj_getopt_option long_options[] = { - { "realm", 1, 0, 'r'}, - { "username", 1, 0, 'u'}, - { "password", 1, 0, 'p'}, - { "fingerprint",0, 0, 'F'}, - { "tcp", 0, 0, 'T'}, - { "help", 0, 0, 'h'}, - { "stun-srv", 1, 0, 'S'}, - { "nameserver", 1, 0, 'N'} - }; - int c, opt_id; - char *pos; - pj_status_t status; - - while((c=pj_getopt_long(argc,argv, "r:u:p:S:N:hFT", long_options, &opt_id))!=-1) { - switch (c) { - case 'r': - o.realm = pj_optarg; - break; - case 'u': - o.user_name = pj_optarg; - break; - case 'p': - o.password = pj_optarg; - break; - case 'h': - usage(); - return 0; - case 'F': - o.use_fingerprint = PJ_TRUE; - break; - case 'T': - o.use_tcp = PJ_TRUE; - break; - case 'S': - o.stun_server = pj_optarg; - break; - case 'N': - o.nameserver = pj_optarg; - break; - default: - printf("Argument \"%s\" is not valid. Use -h to see help", - argv[pj_optind]); - return 1; - } - } - - if (pj_optind == argc) { - puts("Error: TARGET is needed"); - usage(); - return 1; - } - - if ((pos=pj_ansi_strchr(argv[pj_optind], ':')) != NULL) { - o.srv_addr = argv[pj_optind]; - *pos = '\0'; - o.srv_port = pos+1; - } else { - o.srv_addr = argv[pj_optind]; - } - - if ((status=init()) != 0) - goto on_return; - - //if ((status=create_relay()) != 0) - // goto on_return; - - console_main(); - -on_return: - client_shutdown(); - return status ? 1 : 0; -} - diff --git a/res/pjproject/pjnath/src/pjturn-srv/allocation.c b/res/pjproject/pjnath/src/pjturn-srv/allocation.c deleted file mode 100644 index 253e2f0ba5..0000000000 --- a/res/pjproject/pjnath/src/pjturn-srv/allocation.c +++ /dev/null @@ -1,1377 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "turn.h" -#include "auth.h" - - -#define THIS_FILE "allocation.c" - - -enum { - TIMER_ID_NONE, - TIMER_ID_TIMEOUT, - TIMER_ID_DESTROY -}; - -#define DESTROY_DELAY {0, 500} -#define PEER_TABLE_SIZE 32 - -#define MAX_CLIENT_BANDWIDTH 128 /* In Kbps */ -#define DEFA_CLIENT_BANDWIDTH 64 - -#define MIN_LIFETIME 30 -#define MAX_LIFETIME 600 -#define DEF_LIFETIME 300 - - -/* Parsed Allocation request. */ -typedef struct alloc_request -{ - unsigned tp_type; /* Requested transport */ - char addr[PJ_INET6_ADDRSTRLEN]; /* Requested IP */ - unsigned bandwidth; /* Requested bandwidth */ - unsigned lifetime; /* Lifetime. */ - unsigned rpp_bits; /* A bits */ - unsigned rpp_port; /* Requested port */ -} alloc_request; - - - -/* Prototypes */ -static void destroy_allocation(pj_turn_allocation *alloc); -static pj_status_t create_relay(pj_turn_srv *srv, - pj_turn_allocation *alloc, - const pj_stun_msg *msg, - const alloc_request *req, - pj_turn_relay_res *relay); -static void destroy_relay(pj_turn_relay_res *relay); -static void on_rx_from_peer(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read); -static pj_status_t stun_on_send_msg(pj_stun_session *sess, - void *token, - const void *pkt, - pj_size_t pkt_size, - const pj_sockaddr_t *dst_addr, - unsigned addr_len); -static pj_status_t stun_on_rx_request(pj_stun_session *sess, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_stun_rx_data *rdata, - void *token, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); -static pj_status_t stun_on_rx_indication(pj_stun_session *sess, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_stun_msg *msg, - void *token, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); - -/* Log allocation error */ -static void alloc_err(pj_turn_allocation *alloc, const char *title, - pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(4,(alloc->obj_name, "%s for client %s: %s", - title, alloc->info, errmsg)); -} - - -/* Parse ALLOCATE request */ -static pj_status_t parse_allocate_req(alloc_request *cfg, - pj_stun_session *sess, - const pj_stun_rx_data *rdata, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - const pj_stun_msg *req = rdata->msg; - pj_stun_bandwidth_attr *attr_bw; - pj_stun_req_transport_attr *attr_req_tp; - pj_stun_res_token_attr *attr_res_token; - pj_stun_lifetime_attr *attr_lifetime; - - pj_bzero(cfg, sizeof(*cfg)); - - /* Get BANDWIDTH attribute, if any. */ - attr_bw = (pj_stun_uint_attr*) - pj_stun_msg_find_attr(req, PJ_STUN_ATTR_BANDWIDTH, 0); - if (attr_bw) { - cfg->bandwidth = attr_bw->value; - } else { - cfg->bandwidth = DEFA_CLIENT_BANDWIDTH; - } - - /* Check if we can satisfy the bandwidth */ - if (cfg->bandwidth > MAX_CLIENT_BANDWIDTH) { - pj_stun_session_respond(sess, rdata, - PJ_STUN_SC_ALLOCATION_QUOTA_REACHED, - "Invalid bandwidth", NULL, PJ_TRUE, - src_addr, src_addr_len); - return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_ALLOCATION_QUOTA_REACHED); - } - - /* MUST have REQUESTED-TRANSPORT attribute */ - attr_req_tp = (pj_stun_uint_attr*) - pj_stun_msg_find_attr(req, PJ_STUN_ATTR_REQ_TRANSPORT, 0); - if (attr_req_tp == NULL) { - pj_stun_session_respond(sess, rdata, PJ_STUN_SC_BAD_REQUEST, - "Missing REQUESTED-TRANSPORT attribute", - NULL, PJ_TRUE, src_addr, src_addr_len); - return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_BAD_REQUEST); - } - - cfg->tp_type = PJ_STUN_GET_RT_PROTO(attr_req_tp->value); - - /* Can only support UDP for now */ - if (cfg->tp_type != PJ_TURN_TP_UDP) { - pj_stun_session_respond(sess, rdata, PJ_STUN_SC_UNSUPP_TRANSPORT_PROTO, - NULL, NULL, PJ_TRUE, src_addr, src_addr_len); - return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_UNSUPP_TRANSPORT_PROTO); - } - - /* Get RESERVATION-TOKEN attribute, if any */ - attr_res_token = (pj_stun_res_token_attr*) - pj_stun_msg_find_attr(req, PJ_STUN_ATTR_RESERVATION_TOKEN, - 0); - if (attr_res_token) { - /* We don't support RESERVATION-TOKEN for now */ - pj_stun_session_respond(sess, rdata, - PJ_STUN_SC_BAD_REQUEST, - "RESERVATION-TOKEN is not supported", NULL, - PJ_TRUE, src_addr, src_addr_len); - return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_BAD_REQUEST); - } - - /* Get LIFETIME attribute */ - attr_lifetime = (pj_stun_uint_attr*) - pj_stun_msg_find_attr(req, PJ_STUN_ATTR_LIFETIME, 0); - if (attr_lifetime) { - cfg->lifetime = attr_lifetime->value; - if (cfg->lifetime < MIN_LIFETIME) { - pj_stun_session_respond(sess, rdata, PJ_STUN_SC_BAD_REQUEST, - "LIFETIME too short", NULL, - PJ_TRUE, src_addr, src_addr_len); - return PJ_STATUS_FROM_STUN_CODE(PJ_STUN_SC_BAD_REQUEST); - } - if (cfg->lifetime > MAX_LIFETIME) - cfg->lifetime = MAX_LIFETIME; - } else { - cfg->lifetime = DEF_LIFETIME; - } - - return PJ_SUCCESS; -} - - -/* Respond to ALLOCATE request */ -static pj_status_t send_allocate_response(pj_turn_allocation *alloc, - pj_stun_session *srv_sess, - pj_turn_transport *transport, - const pj_stun_rx_data *rdata) -{ - pj_stun_tx_data *tdata; - pj_status_t status; - - /* Respond the original ALLOCATE request */ - status = pj_stun_session_create_res(srv_sess, rdata, 0, NULL, &tdata); - if (status != PJ_SUCCESS) - return status; - - /* Add XOR-RELAYED-ADDRESS attribute */ - pj_stun_msg_add_sockaddr_attr(tdata->pool, tdata->msg, - PJ_STUN_ATTR_XOR_RELAYED_ADDR, PJ_TRUE, - &alloc->relay.hkey.addr, - pj_sockaddr_get_len(&alloc->relay.hkey.addr)); - - /* Add LIFETIME. */ - pj_stun_msg_add_uint_attr(tdata->pool, tdata->msg, - PJ_STUN_ATTR_LIFETIME, - (unsigned)alloc->relay.lifetime); - - /* Add BANDWIDTH */ - pj_stun_msg_add_uint_attr(tdata->pool, tdata->msg, - PJ_STUN_ATTR_BANDWIDTH, - alloc->bandwidth); - - /* Add RESERVATION-TOKEN */ - PJ_TODO(ADD_RESERVATION_TOKEN); - - /* Add XOR-MAPPED-ADDRESS */ - pj_stun_msg_add_sockaddr_attr(tdata->pool, tdata->msg, - PJ_STUN_ATTR_XOR_MAPPED_ADDR, PJ_TRUE, - &alloc->hkey.clt_addr, - pj_sockaddr_get_len(&alloc->hkey.clt_addr)); - - /* Send the response */ - return pj_stun_session_send_msg(srv_sess, transport, PJ_TRUE, - PJ_FALSE, &alloc->hkey.clt_addr, - pj_sockaddr_get_len(&alloc->hkey.clt_addr), - tdata); -} - - -/* - * Init credential for the allocation. We use static credential, meaning that - * the user's password must not change during allocation. - */ -static pj_status_t init_cred(pj_turn_allocation *alloc, const pj_stun_msg *req) -{ - const pj_stun_username_attr *user; - const pj_stun_realm_attr *realm; - const pj_stun_nonce_attr *nonce; - pj_status_t status; - - realm = (const pj_stun_realm_attr*) - pj_stun_msg_find_attr(req, PJ_STUN_ATTR_REALM, 0); - PJ_ASSERT_RETURN(realm != NULL, PJ_EBUG); - - user = (const pj_stun_username_attr*) - pj_stun_msg_find_attr(req, PJ_STUN_ATTR_USERNAME, 0); - PJ_ASSERT_RETURN(user != NULL, PJ_EBUG); - - nonce = (const pj_stun_nonce_attr*) - pj_stun_msg_find_attr(req, PJ_STUN_ATTR_NONCE, 0); - PJ_ASSERT_RETURN(nonce != NULL, PJ_EBUG); - - /* Lookup the password */ - status = pj_turn_get_password(NULL, NULL, &realm->value, - &user->value, alloc->pool, - &alloc->cred.data.static_cred.data_type, - &alloc->cred.data.static_cred.data); - if (status != PJ_SUCCESS) - return status; - - /* Save credential */ - alloc->cred.type = PJ_STUN_AUTH_CRED_STATIC; - pj_strdup(alloc->pool, &alloc->cred.data.static_cred.realm, &realm->value); - pj_strdup(alloc->pool, &alloc->cred.data.static_cred.username, &user->value); - pj_strdup(alloc->pool, &alloc->cred.data.static_cred.nonce, &nonce->value); - - return PJ_SUCCESS; -} - - -/* - * Create new allocation. - */ -PJ_DEF(pj_status_t) pj_turn_allocation_create(pj_turn_transport *transport, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len, - const pj_stun_rx_data *rdata, - pj_stun_session *srv_sess, - pj_turn_allocation **p_alloc) -{ - pj_turn_srv *srv = transport->listener->server; - const pj_stun_msg *msg = rdata->msg; - pj_pool_t *pool; - alloc_request req; - pj_turn_allocation *alloc; - pj_stun_session_cb sess_cb; - char str_tmp[80]; - pj_status_t status; - - /* Parse ALLOCATE request */ - status = parse_allocate_req(&req, srv_sess, rdata, src_addr, src_addr_len); - if (status != PJ_SUCCESS) - return status; - - pool = pj_pool_create(srv->core.pf, "alloc%p", 1000, 1000, NULL); - - /* Init allocation structure */ - alloc = PJ_POOL_ZALLOC_T(pool, pj_turn_allocation); - alloc->pool = pool; - alloc->obj_name = pool->obj_name; - alloc->relay.tp.sock = PJ_INVALID_SOCKET; - alloc->server = transport->listener->server; - - alloc->bandwidth = req.bandwidth; - - /* Set transport */ - alloc->transport = transport; - pj_turn_transport_add_ref(transport, alloc); - - alloc->hkey.tp_type = transport->listener->tp_type; - pj_memcpy(&alloc->hkey.clt_addr, src_addr, src_addr_len); - - status = pj_lock_create_recursive_mutex(pool, alloc->obj_name, - &alloc->lock); - if (status != PJ_SUCCESS) { - goto on_error; - } - - /* Create peer hash table */ - alloc->peer_table = pj_hash_create(pool, PEER_TABLE_SIZE); - - /* Create channel hash table */ - alloc->ch_table = pj_hash_create(pool, PEER_TABLE_SIZE); - - /* Print info */ - pj_ansi_strcpy(alloc->info, - pj_turn_tp_type_name(transport->listener->tp_type)); - alloc->info[3] = ':'; - pj_sockaddr_print(src_addr, alloc->info+4, sizeof(alloc->info)-4, 3); - - /* Create STUN session to handle STUN communication with client */ - pj_bzero(&sess_cb, sizeof(sess_cb)); - sess_cb.on_send_msg = &stun_on_send_msg; - sess_cb.on_rx_request = &stun_on_rx_request; - sess_cb.on_rx_indication = &stun_on_rx_indication; - status = pj_stun_session_create(&srv->core.stun_cfg, alloc->obj_name, - &sess_cb, PJ_FALSE, &alloc->sess); - if (status != PJ_SUCCESS) { - goto on_error; - } - - /* Attach to STUN session */ - pj_stun_session_set_user_data(alloc->sess, alloc); - - /* Init authentication credential */ - status = init_cred(alloc, msg); - if (status != PJ_SUCCESS) { - goto on_error; - } - - /* Attach authentication credential to STUN session */ - pj_stun_session_set_credential(alloc->sess, PJ_STUN_AUTH_LONG_TERM, - &alloc->cred); - - /* Create the relay resource */ - status = create_relay(srv, alloc, msg, &req, &alloc->relay); - if (status != PJ_SUCCESS) { - goto on_error; - } - - /* Register this allocation */ - pj_turn_srv_register_allocation(srv, alloc); - - /* Respond to ALLOCATE request */ - status = send_allocate_response(alloc, srv_sess, transport, rdata); - if (status != PJ_SUCCESS) - goto on_error; - - /* Done */ - pj_sockaddr_print(&alloc->relay.hkey.addr, str_tmp, - sizeof(str_tmp), 3); - PJ_LOG(4,(alloc->obj_name, "Client %s created, relay addr=%s:%s", - alloc->info, pj_turn_tp_type_name(req.tp_type), str_tmp)); - - /* Success */ - *p_alloc = alloc; - return PJ_SUCCESS; - -on_error: - /* Send reply to the ALLOCATE request */ - pj_strerror(status, str_tmp, sizeof(str_tmp)); - pj_stun_session_respond(srv_sess, rdata, PJ_STUN_SC_BAD_REQUEST, str_tmp, - transport, PJ_TRUE, src_addr, src_addr_len); - - /* Cleanup */ - destroy_allocation(alloc); - return status; -} - - -/* Destroy relay resource */ -static void destroy_relay(pj_turn_relay_res *relay) -{ - if (relay->timer.id) { - pj_timer_heap_cancel(relay->allocation->server->core.timer_heap, - &relay->timer); - relay->timer.id = PJ_FALSE; - } - - if (relay->tp.key) { - pj_ioqueue_unregister(relay->tp.key); - relay->tp.key = NULL; - relay->tp.sock = PJ_INVALID_SOCKET; - } else if (relay->tp.sock != PJ_INVALID_SOCKET) { - pj_sock_close(relay->tp.sock); - relay->tp.sock = PJ_INVALID_SOCKET; - } - - /* Mark as shutdown */ - relay->lifetime = 0; -} - - -/* - * Really destroy allocation. - */ -static void destroy_allocation(pj_turn_allocation *alloc) -{ - pj_pool_t *pool; - - /* Unregister this allocation */ - pj_turn_srv_unregister_allocation(alloc->server, alloc); - - /* Destroy relay */ - destroy_relay(&alloc->relay); - - /* Must lock only after destroying relay otherwise deadlock */ - if (alloc->lock) { - pj_lock_acquire(alloc->lock); - } - - /* Unreference transport */ - if (alloc->transport) { - pj_turn_transport_dec_ref(alloc->transport, alloc); - alloc->transport = NULL; - } - - /* Destroy STUN session */ - if (alloc->sess) { - pj_stun_session_destroy(alloc->sess); - alloc->sess = NULL; - } - - /* Destroy lock */ - if (alloc->lock) { - pj_lock_release(alloc->lock); - pj_lock_destroy(alloc->lock); - alloc->lock = NULL; - } - - /* Destroy pool */ - pool = alloc->pool; - if (pool) { - alloc->pool = NULL; - pj_pool_release(pool); - } -} - - -PJ_DECL(void) pj_turn_allocation_destroy(pj_turn_allocation *alloc) -{ - destroy_allocation(alloc); -} - - -/* - * Handle transport closure. - */ -PJ_DEF(void) pj_turn_allocation_on_transport_closed( pj_turn_allocation *alloc, - pj_turn_transport *tp) -{ - PJ_LOG(5,(alloc->obj_name, "Transport %s unexpectedly closed, destroying " - "allocation %s", tp->info, alloc->info)); - pj_turn_transport_dec_ref(tp, alloc); - alloc->transport = NULL; - destroy_allocation(alloc); -} - - -/* Initiate shutdown sequence for this allocation and start destroy timer. - * Once allocation is marked as shutting down, any packets will be - * rejected/discarded - */ -static void alloc_shutdown(pj_turn_allocation *alloc) -{ - pj_time_val destroy_delay = DESTROY_DELAY; - - /* Work with existing schedule */ - if (alloc->relay.timer.id == TIMER_ID_TIMEOUT) { - /* Cancel existing shutdown timer */ - pj_timer_heap_cancel(alloc->server->core.timer_heap, - &alloc->relay.timer); - alloc->relay.timer.id = TIMER_ID_NONE; - - } else if (alloc->relay.timer.id == TIMER_ID_DESTROY) { - /* We've been scheduled to be destroyed, ignore this - * shutdown request. - */ - return; - } - - pj_assert(alloc->relay.timer.id == TIMER_ID_NONE); - - /* Shutdown relay socket */ - destroy_relay(&alloc->relay); - - /* Don't unregister from hash table because we still need to - * handle REFRESH retransmission. - */ - - /* Schedule destroy timer */ - alloc->relay.timer.id = TIMER_ID_DESTROY; - pj_timer_heap_schedule(alloc->server->core.timer_heap, - &alloc->relay.timer, &destroy_delay); -} - - -/* Reschedule timeout using current lifetime setting */ -static pj_status_t resched_timeout(pj_turn_allocation *alloc) -{ - pj_time_val delay; - pj_status_t status; - - pj_gettimeofday(&alloc->relay.expiry); - alloc->relay.expiry.sec += alloc->relay.lifetime; - - pj_assert(alloc->relay.timer.id != TIMER_ID_DESTROY); - if (alloc->relay.timer.id != 0) { - pj_timer_heap_cancel(alloc->server->core.timer_heap, - &alloc->relay.timer); - alloc->relay.timer.id = TIMER_ID_NONE; - } - - delay.sec = alloc->relay.lifetime; - delay.msec = 0; - - alloc->relay.timer.id = TIMER_ID_TIMEOUT; - status = pj_timer_heap_schedule(alloc->server->core.timer_heap, - &alloc->relay.timer, &delay); - if (status != PJ_SUCCESS) { - alloc->relay.timer.id = TIMER_ID_NONE; - return status; - } - - return PJ_SUCCESS; -} - - -/* Timer timeout callback */ -static void relay_timeout_cb(pj_timer_heap_t *heap, pj_timer_entry *e) -{ - pj_turn_relay_res *rel; - pj_turn_allocation *alloc; - - PJ_UNUSED_ARG(heap); - - rel = (pj_turn_relay_res*) e->user_data; - alloc = rel->allocation; - - if (e->id == TIMER_ID_TIMEOUT) { - - e->id = TIMER_ID_NONE; - - PJ_LOG(4,(alloc->obj_name, - "Client %s refresh timed-out, shutting down..", - alloc->info)); - - alloc_shutdown(alloc); - - } else if (e->id == TIMER_ID_DESTROY) { - e->id = TIMER_ID_NONE; - - PJ_LOG(4,(alloc->obj_name, "Client %s destroying..", - alloc->info)); - - destroy_allocation(alloc); - } -} - - -/* - * Create relay. - */ -static pj_status_t create_relay(pj_turn_srv *srv, - pj_turn_allocation *alloc, - const pj_stun_msg *msg, - const alloc_request *req, - pj_turn_relay_res *relay) -{ - enum { RETRY = 40 }; - pj_pool_t *pool = alloc->pool; - int retry, retry_max, sock_type; - pj_ioqueue_callback icb; - int af, namelen; - pj_stun_string_attr *sa; - pj_status_t status; - - pj_bzero(relay, sizeof(*relay)); - - relay->allocation = alloc; - relay->tp.sock = PJ_INVALID_SOCKET; - - /* TODO: get the requested address family from somewhere */ - af = alloc->transport->listener->addr.addr.sa_family; - - /* Save realm */ - sa = (pj_stun_string_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_REALM, 0); - PJ_ASSERT_RETURN(sa, PJ_EINVALIDOP); - pj_strdup(pool, &relay->realm, &sa->value); - - /* Save username */ - sa = (pj_stun_string_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_USERNAME, 0); - PJ_ASSERT_RETURN(sa, PJ_EINVALIDOP); - pj_strdup(pool, &relay->user, &sa->value); - - /* Lifetime and timeout */ - relay->lifetime = req->lifetime; - pj_timer_entry_init(&relay->timer, TIMER_ID_NONE, relay, - &relay_timeout_cb); - resched_timeout(alloc); - - /* Transport type */ - relay->hkey.tp_type = req->tp_type; - - /* Create the socket */ - if (req->tp_type == PJ_TURN_TP_UDP) { - sock_type = pj_SOCK_DGRAM(); - } else if (req->tp_type == PJ_TURN_TP_TCP) { - sock_type = pj_SOCK_STREAM(); - } else { - pj_assert(!"Unknown transport"); - return PJ_EINVALIDOP; - } - - status = pj_sock_socket(af, sock_type, 0, &relay->tp.sock); - if (status != PJ_SUCCESS) { - pj_bzero(relay, sizeof(*relay)); - return status; - } - - /* Find suitable port for this allocation */ - if (req->rpp_port) { - retry_max = 1; - } else { - retry_max = RETRY; - } - - for (retry=0; retrycore.lock); - - if (req->rpp_port) { - port = (pj_uint16_t) req->rpp_port; - } else if (req->tp_type == PJ_TURN_TP_UDP) { - port = (pj_uint16_t) srv->ports.next_udp++; - if (srv->ports.next_udp > srv->ports.max_udp) - srv->ports.next_udp = srv->ports.min_udp; - } else if (req->tp_type == PJ_TURN_TP_TCP) { - port = (pj_uint16_t) srv->ports.next_tcp++; - if (srv->ports.next_tcp > srv->ports.max_tcp) - srv->ports.next_tcp = srv->ports.min_tcp; - } else { - pj_assert(!"Invalid transport"); - port = 0; - } - - pj_lock_release(srv->core.lock); - - pj_sockaddr_init(af, &bound_addr, NULL, port); - - status = pj_sock_bind(relay->tp.sock, &bound_addr, - pj_sockaddr_get_len(&bound_addr)); - if (status == PJ_SUCCESS) - break; - } - - if (status != PJ_SUCCESS) { - /* Unable to allocate port */ - PJ_LOG(4,(THIS_FILE, "Unable to allocate relay, giving up: err %d", - status)); - pj_sock_close(relay->tp.sock); - relay->tp.sock = PJ_INVALID_SOCKET; - return status; - } - - /* Init relay key */ - namelen = sizeof(relay->hkey.addr); - status = pj_sock_getsockname(relay->tp.sock, &relay->hkey.addr, &namelen); - if (status != PJ_SUCCESS) { - PJ_LOG(4,(THIS_FILE, "pj_sock_getsockname() failed: err %d", - status)); - pj_sock_close(relay->tp.sock); - relay->tp.sock = PJ_INVALID_SOCKET; - return status; - } - if (!pj_sockaddr_has_addr(&relay->hkey.addr)) { - pj_sockaddr_copy_addr(&relay->hkey.addr, - &alloc->transport->listener->addr); - } - if (!pj_sockaddr_has_addr(&relay->hkey.addr)) { - pj_sockaddr tmp_addr; - pj_gethostip(af, &tmp_addr); - pj_sockaddr_copy_addr(&relay->hkey.addr, &tmp_addr); - } - - /* Init ioqueue */ - pj_bzero(&icb, sizeof(icb)); - icb.on_read_complete = &on_rx_from_peer; - - status = pj_ioqueue_register_sock(pool, srv->core.ioqueue, relay->tp.sock, - relay, &icb, &relay->tp.key); - if (status != PJ_SUCCESS) { - PJ_LOG(4,(THIS_FILE, "pj_ioqueue_register_sock() failed: err %d", - status)); - pj_sock_close(relay->tp.sock); - relay->tp.sock = PJ_INVALID_SOCKET; - return status; - } - - /* Kick off pending read operation */ - pj_ioqueue_op_key_init(&relay->tp.read_key, sizeof(relay->tp.read_key)); - on_rx_from_peer(relay->tp.key, &relay->tp.read_key, 0); - - /* Done */ - return PJ_SUCCESS; -} - -/* Create and send error response */ -static void send_reply_err(pj_turn_allocation *alloc, - const pj_stun_rx_data *rdata, - pj_bool_t cache, - int code, const char *errmsg) -{ - pj_status_t status; - - status = pj_stun_session_respond(alloc->sess, rdata, code, errmsg, NULL, - cache, &alloc->hkey.clt_addr, - pj_sockaddr_get_len(&alloc->hkey.clt_addr.addr)); - if (status != PJ_SUCCESS) { - alloc_err(alloc, "Error sending STUN error response", status); - return; - } -} - -/* Create and send successful response */ -static void send_reply_ok(pj_turn_allocation *alloc, - const pj_stun_rx_data *rdata) -{ - pj_status_t status; - unsigned interval; - pj_stun_tx_data *tdata; - - status = pj_stun_session_create_res(alloc->sess, rdata, 0, NULL, &tdata); - if (status != PJ_SUCCESS) { - alloc_err(alloc, "Error creating STUN success response", status); - return; - } - - /* Calculate time to expiration */ - if (alloc->relay.lifetime != 0) { - pj_time_val now; - pj_gettimeofday(&now); - interval = alloc->relay.expiry.sec - now.sec; - } else { - interval = 0; - } - - /* Add LIFETIME if this is not ChannelBind. */ - if (PJ_STUN_GET_METHOD(tdata->msg->hdr.type)!=PJ_STUN_CHANNEL_BIND_METHOD){ - pj_stun_msg_add_uint_attr(tdata->pool, tdata->msg, - PJ_STUN_ATTR_LIFETIME, interval); - - /* Add BANDWIDTH if lifetime is not zero */ - if (interval != 0) { - pj_stun_msg_add_uint_attr(tdata->pool, tdata->msg, - PJ_STUN_ATTR_BANDWIDTH, - alloc->bandwidth); - } - } - - status = pj_stun_session_send_msg(alloc->sess, NULL, PJ_TRUE, - PJ_FALSE, &alloc->hkey.clt_addr, - pj_sockaddr_get_len(&alloc->hkey.clt_addr), - tdata); - if (status != PJ_SUCCESS) { - alloc_err(alloc, "Error sending STUN success response", status); - return; - } -} - - -/* Create new permission */ -static pj_turn_permission *create_permission(pj_turn_allocation *alloc, - const pj_sockaddr_t *peer_addr, - unsigned addr_len) -{ - pj_turn_permission *perm; - - perm = PJ_POOL_ZALLOC_T(alloc->pool, pj_turn_permission); - pj_memcpy(&perm->hkey.peer_addr, peer_addr, addr_len); - - perm->allocation = alloc; - perm->channel = PJ_TURN_INVALID_CHANNEL; - - pj_gettimeofday(&perm->expiry); - perm->expiry.sec += PJ_TURN_PERM_TIMEOUT; - - /* Register to hash table (only the address part!) */ - pj_hash_set(alloc->pool, alloc->peer_table, - pj_sockaddr_get_addr(&perm->hkey.peer_addr), - pj_sockaddr_get_addr_len(&perm->hkey.peer_addr), 0, perm); - - return perm; -} - -/* Check if a permission isn't expired. Return NULL if expired. */ -static pj_turn_permission *check_permission_expiry(pj_turn_permission *perm) -{ - pj_turn_allocation *alloc = perm->allocation; - pj_time_val now; - - pj_gettimeofday(&now); - if (PJ_TIME_VAL_GT(perm->expiry, now)) { - /* Permission has not expired */ - return perm; - } - - /* Remove from permission hash table */ - pj_hash_set(NULL, alloc->peer_table, - pj_sockaddr_get_addr(&perm->hkey.peer_addr), - pj_sockaddr_get_addr_len(&perm->hkey.peer_addr), 0, NULL); - - /* Remove from channel hash table, if assigned a channel number */ - if (perm->channel != PJ_TURN_INVALID_CHANNEL) { - pj_hash_set(NULL, alloc->ch_table, &perm->channel, - sizeof(perm->channel), 0, NULL); - } - - return NULL; -} - -/* Lookup permission in hash table by the peer address */ -static pj_turn_permission* -lookup_permission_by_addr(pj_turn_allocation *alloc, - const pj_sockaddr_t *peer_addr, - unsigned addr_len) -{ - pj_turn_permission *perm; - - PJ_UNUSED_ARG(addr_len); - - /* Lookup in peer hash table */ - perm = (pj_turn_permission*) - pj_hash_get(alloc->peer_table, - pj_sockaddr_get_addr(peer_addr), - pj_sockaddr_get_addr_len(peer_addr), - NULL); - return perm ? check_permission_expiry(perm) : NULL; -} - -/* Lookup permission in hash table by the channel number */ -static pj_turn_permission* -lookup_permission_by_chnum(pj_turn_allocation *alloc, - unsigned chnum) -{ - pj_uint16_t chnum16 = (pj_uint16_t)chnum; - pj_turn_permission *perm; - - /* Lookup in peer hash table */ - perm = (pj_turn_permission*) pj_hash_get(alloc->ch_table, &chnum16, - sizeof(chnum16), NULL); - return perm ? check_permission_expiry(perm) : NULL; -} - -/* Update permission because of data from client to peer. - * Return PJ_TRUE is permission is found. - */ -static pj_bool_t refresh_permission(pj_turn_permission *perm) -{ - pj_gettimeofday(&perm->expiry); - if (perm->channel == PJ_TURN_INVALID_CHANNEL) - perm->expiry.sec += PJ_TURN_PERM_TIMEOUT; - else - perm->expiry.sec += PJ_TURN_CHANNEL_TIMEOUT; - return PJ_TRUE; -} - -/* - * Handle incoming packet from client. This would have been called by - * server upon receiving packet from a listener. - */ -PJ_DEF(void) pj_turn_allocation_on_rx_client_pkt(pj_turn_allocation *alloc, - pj_turn_pkt *pkt) -{ - pj_bool_t is_stun; - pj_status_t status; - - /* Lock this allocation */ - pj_lock_acquire(alloc->lock); - - /* Quickly check if this is STUN message */ - is_stun = ((*((pj_uint8_t*)pkt->pkt) & 0xC0) == 0); - - if (is_stun) { - /* - * This could be an incoming STUN requests or indications. - * Pass this through to the STUN session, which will call - * our stun_on_rx_request() or stun_on_rx_indication() - * callbacks. - * - * Note: currently it is necessary to specify the - * PJ_STUN_NO_FINGERPRINT_CHECK otherwise the FINGERPRINT - * attribute inside STUN Send Indication message will mess up - * with fingerprint checking. - */ - unsigned options = PJ_STUN_CHECK_PACKET | PJ_STUN_NO_FINGERPRINT_CHECK; - pj_size_t parsed_len = 0; - - if (pkt->transport->listener->tp_type == PJ_TURN_TP_UDP) - options |= PJ_STUN_IS_DATAGRAM; - - status = pj_stun_session_on_rx_pkt(alloc->sess, pkt->pkt, pkt->len, - options, NULL, &parsed_len, - &pkt->src.clt_addr, - pkt->src_addr_len); - - if (pkt->transport->listener->tp_type == PJ_TURN_TP_UDP) { - pkt->len = 0; - } else if (parsed_len > 0) { - if (parsed_len == pkt->len) { - pkt->len = 0; - } else { - pj_memmove(pkt->pkt, pkt->pkt+parsed_len, - pkt->len - parsed_len); - pkt->len -= parsed_len; - } - } - - if (status != PJ_SUCCESS) { - alloc_err(alloc, "Error handling STUN packet", status); - goto on_return; - } - - } else { - /* - * This is not a STUN packet, must be ChannelData packet. - */ - pj_turn_channel_data *cd = (pj_turn_channel_data*)pkt->pkt; - pj_turn_permission *perm; - pj_ssize_t len; - - pj_assert(sizeof(*cd)==4); - - /* For UDP check the packet length */ - if (alloc->transport->listener->tp_type == PJ_TURN_TP_UDP) { - if (pkt->len < pj_ntohs(cd->length)+sizeof(*cd)) { - PJ_LOG(4,(alloc->obj_name, - "ChannelData from %s discarded: UDP size error", - alloc->info)); - goto on_return; - } - } else { - pj_assert(!"Unsupported transport"); - goto on_return; - } - - perm = lookup_permission_by_chnum(alloc, pj_ntohs(cd->ch_number)); - if (!perm) { - /* Discard */ - PJ_LOG(4,(alloc->obj_name, - "ChannelData from %s discarded: ch#0x%x not found", - alloc->info, pj_ntohs(cd->ch_number))); - goto on_return; - } - - /* Relay the data */ - len = pj_ntohs(cd->length); - pj_sock_sendto(alloc->relay.tp.sock, cd+1, &len, 0, - &perm->hkey.peer_addr, - pj_sockaddr_get_len(&perm->hkey.peer_addr)); - - /* Refresh permission */ - refresh_permission(perm); - } - -on_return: - /* Release lock */ - pj_lock_release(alloc->lock); -} - - -/* - * Handle incoming packet from peer. This function is called by - * on_rx_from_peer(). - */ -static void handle_peer_pkt(pj_turn_allocation *alloc, - pj_turn_relay_res *rel, - char *pkt, pj_size_t len, - const pj_sockaddr *src_addr) -{ - pj_turn_permission *perm; - - /* Lookup permission */ - perm = lookup_permission_by_addr(alloc, src_addr, - pj_sockaddr_get_len(src_addr)); - if (perm == NULL) { - /* No permission, discard data */ - return; - } - - /* Send Data Indication or ChannelData, depends on whether - * this permission is attached to a channel number. - */ - if (perm->channel != PJ_TURN_INVALID_CHANNEL) { - /* Send ChannelData */ - pj_turn_channel_data *cd = (pj_turn_channel_data*)rel->tp.tx_pkt; - - if (len > PJ_TURN_MAX_PKT_LEN) { - char peer_addr[80]; - pj_sockaddr_print(src_addr, peer_addr, sizeof(peer_addr), 3); - PJ_LOG(4,(alloc->obj_name, "Client %s: discarded data from %s " - "because it's too long (%d bytes)", - alloc->info, peer_addr, len)); - return; - } - - /* Init header */ - cd->ch_number = pj_htons(perm->channel); - cd->length = pj_htons((pj_uint16_t)len); - - /* Copy data */ - pj_memcpy(rel->tp.tx_pkt+sizeof(pj_turn_channel_data), pkt, len); - - /* Send to client */ - alloc->transport->sendto(alloc->transport, rel->tp.tx_pkt, - len+sizeof(pj_turn_channel_data), 0, - &alloc->hkey.clt_addr, - pj_sockaddr_get_len(&alloc->hkey.clt_addr)); - } else { - /* Send Data Indication */ - pj_stun_tx_data *tdata; - pj_status_t status; - - status = pj_stun_session_create_ind(alloc->sess, - PJ_STUN_DATA_INDICATION, &tdata); - if (status != PJ_SUCCESS) { - alloc_err(alloc, "Error creating Data indication", status); - return; - } - - pj_stun_msg_add_sockaddr_attr(tdata->pool, tdata->msg, - PJ_STUN_ATTR_XOR_PEER_ADDR, PJ_TRUE, - src_addr, pj_sockaddr_get_len(src_addr)); - pj_stun_msg_add_binary_attr(tdata->pool, tdata->msg, - PJ_STUN_ATTR_DATA, - (const pj_uint8_t*)pkt, len); - - pj_stun_session_send_msg(alloc->sess, NULL, PJ_FALSE, - PJ_FALSE, &alloc->hkey.clt_addr, - pj_sockaddr_get_len(&alloc->hkey.clt_addr), - tdata); - } -} - -/* - * ioqueue notification on RX packets from the relay socket. - */ -static void on_rx_from_peer(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read) -{ - pj_turn_relay_res *rel; - pj_status_t status; - - rel = (pj_turn_relay_res*) pj_ioqueue_get_user_data(key); - - /* Lock the allocation */ - pj_lock_acquire(rel->allocation->lock); - - do { - if (bytes_read > 0) { - handle_peer_pkt(rel->allocation, rel, rel->tp.rx_pkt, - bytes_read, &rel->tp.src_addr); - } - - /* Read next packet */ - bytes_read = sizeof(rel->tp.rx_pkt); - rel->tp.src_addr_len = sizeof(rel->tp.src_addr); - status = pj_ioqueue_recvfrom(key, op_key, - rel->tp.rx_pkt, &bytes_read, 0, - &rel->tp.src_addr, - &rel->tp.src_addr_len); - - if (status != PJ_EPENDING && status != PJ_SUCCESS) - bytes_read = -status; - - } while (status != PJ_EPENDING && status != PJ_ECANCELLED); - - /* Release allocation lock */ - pj_lock_release(rel->allocation->lock); -} - -/* - * Callback notification from STUN session when it wants to send - * a STUN message towards the client. - */ -static pj_status_t stun_on_send_msg(pj_stun_session *sess, - void *token, - const void *pkt, - pj_size_t pkt_size, - const pj_sockaddr_t *dst_addr, - unsigned addr_len) -{ - pj_turn_allocation *alloc; - - PJ_UNUSED_ARG(token); - - alloc = (pj_turn_allocation*) pj_stun_session_get_user_data(sess); - - return alloc->transport->sendto(alloc->transport, pkt, pkt_size, 0, - dst_addr, addr_len); -} - -/* - * Callback notification from STUN session when it receives STUN - * requests. This callback was trigger by STUN incoming message - * processing in pj_turn_allocation_on_rx_client_pkt(). - */ -static pj_status_t stun_on_rx_request(pj_stun_session *sess, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_stun_rx_data *rdata, - void *token, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - const pj_stun_msg *msg = rdata->msg; - pj_turn_allocation *alloc; - - PJ_UNUSED_ARG(pkt); - PJ_UNUSED_ARG(pkt_len); - PJ_UNUSED_ARG(token); - PJ_UNUSED_ARG(src_addr); - PJ_UNUSED_ARG(src_addr_len); - - alloc = (pj_turn_allocation*) pj_stun_session_get_user_data(sess); - - /* Refuse to serve any request if we've been shutdown */ - if (alloc->relay.lifetime == 0) { - /* Reject with 437 if we're shutting down */ - send_reply_err(alloc, rdata, PJ_TRUE, - PJ_STUN_SC_ALLOCATION_MISMATCH, NULL); - return PJ_SUCCESS; - } - - if (msg->hdr.type == PJ_STUN_REFRESH_REQUEST) { - /* - * Handle REFRESH request - */ - pj_stun_lifetime_attr *lifetime; - pj_stun_bandwidth_attr *bandwidth; - - /* Get LIFETIME attribute */ - lifetime = (pj_stun_lifetime_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_LIFETIME, 0); - - /* Get BANDWIDTH attribute */ - bandwidth = (pj_stun_bandwidth_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_BANDWIDTH, 0); - - if (lifetime && lifetime->value==0) { - /* - * This is deallocation request. - */ - alloc->relay.lifetime = 0; - - /* Respond first */ - send_reply_ok(alloc, rdata); - - /* Shutdown allocation */ - PJ_LOG(4,(alloc->obj_name, - "Client %s request to dealloc, shutting down", - alloc->info)); - - alloc_shutdown(alloc); - - } else { - /* - * This is a refresh request. - */ - - /* Update lifetime */ - if (lifetime) { - alloc->relay.lifetime = lifetime->value; - } - - /* Update bandwidth */ - // TODO: - - /* Update expiration timer */ - resched_timeout(alloc); - - /* Send reply */ - send_reply_ok(alloc, rdata); - } - - } else if (msg->hdr.type == PJ_STUN_CHANNEL_BIND_REQUEST) { - /* - * ChannelBind request. - */ - pj_stun_channel_number_attr *ch_attr; - pj_stun_xor_peer_addr_attr *peer_attr; - pj_turn_permission *p1, *p2; - - ch_attr = (pj_stun_channel_number_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_CHANNEL_NUMBER, 0); - peer_attr = (pj_stun_xor_peer_addr_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_XOR_PEER_ADDR, 0); - - if (!ch_attr || !peer_attr) { - send_reply_err(alloc, rdata, PJ_TRUE, - PJ_STUN_SC_BAD_REQUEST, NULL); - return PJ_SUCCESS; - } - - /* Find permission with the channel number */ - p1 = lookup_permission_by_chnum(alloc, PJ_STUN_GET_CH_NB(ch_attr->value)); - - /* If permission is found, this is supposed to be a channel bind - * refresh. Make sure it's for the same peer. - */ - if (p1) { - if (pj_sockaddr_cmp(&p1->hkey.peer_addr, &peer_attr->sockaddr)) { - /* Address mismatch. Send 400 */ - send_reply_err(alloc, rdata, PJ_TRUE, - PJ_STUN_SC_BAD_REQUEST, - "Peer address mismatch"); - return PJ_SUCCESS; - } - - /* Refresh permission */ - refresh_permission(p1); - - /* Send response */ - send_reply_ok(alloc, rdata); - - /* Done */ - return PJ_SUCCESS; - } - - /* If permission is not found, create a new one. Make sure the peer - * has not alreadyy assigned with a channel number. - */ - p2 = lookup_permission_by_addr(alloc, &peer_attr->sockaddr, - pj_sockaddr_get_len(&peer_attr->sockaddr)); - if (p2 && p2->channel != PJ_TURN_INVALID_CHANNEL) { - send_reply_err(alloc, rdata, PJ_TRUE, PJ_STUN_SC_BAD_REQUEST, - "Peer address already assigned a channel number"); - return PJ_SUCCESS; - } - - /* Create permission if it doesn't exist */ - if (!p2) { - p2 = create_permission(alloc, &peer_attr->sockaddr, - pj_sockaddr_get_len(&peer_attr->sockaddr)); - if (!p2) - return PJ_SUCCESS; - } - - /* Assign channel number to permission */ - p2->channel = PJ_STUN_GET_CH_NB(ch_attr->value); - - /* Register to hash table */ - pj_assert(sizeof(p2->channel==2)); - pj_hash_set(alloc->pool, alloc->ch_table, &p2->channel, - sizeof(p2->channel), 0, p2); - - /* Update */ - refresh_permission(p2); - - /* Reply */ - send_reply_ok(alloc, rdata); - - return PJ_SUCCESS; - - } else if (msg->hdr.type == PJ_STUN_ALLOCATE_REQUEST) { - - /* Respond with 437 (section 6.3 turn-07) */ - send_reply_err(alloc, rdata, PJ_TRUE, PJ_STUN_SC_ALLOCATION_MISMATCH, - NULL); - - } else { - - /* Respond with Bad Request? */ - send_reply_err(alloc, rdata, PJ_TRUE, PJ_STUN_SC_BAD_REQUEST, NULL); - - } - - return PJ_SUCCESS; -} - -/* - * Callback notification from STUN session when it receives STUN - * indications. This callback was trigger by STUN incoming message - * processing in pj_turn_allocation_on_rx_client_pkt(). - */ -static pj_status_t stun_on_rx_indication(pj_stun_session *sess, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_stun_msg *msg, - void *token, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - pj_stun_xor_peer_addr_attr *peer_attr; - pj_stun_data_attr *data_attr; - pj_turn_allocation *alloc; - pj_turn_permission *perm; - pj_ssize_t len; - - PJ_UNUSED_ARG(pkt); - PJ_UNUSED_ARG(pkt_len); - PJ_UNUSED_ARG(token); - PJ_UNUSED_ARG(src_addr); - PJ_UNUSED_ARG(src_addr_len); - - alloc = (pj_turn_allocation*) pj_stun_session_get_user_data(sess); - - /* Only expect Send Indication */ - if (msg->hdr.type != PJ_STUN_SEND_INDICATION) { - /* Ignore */ - return PJ_SUCCESS; - } - - /* Get XOR-PEER-ADDRESS attribute */ - peer_attr = (pj_stun_xor_peer_addr_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_XOR_PEER_ADDR, 0); - - /* MUST have XOR-PEER-ADDRESS attribute */ - if (!peer_attr) - return PJ_SUCCESS; - - /* Get DATA attribute */ - data_attr = (pj_stun_data_attr*) - pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_DATA, 0); - - /* Create/update/refresh the permission */ - perm = lookup_permission_by_addr(alloc, &peer_attr->sockaddr, - pj_sockaddr_get_len(&peer_attr->sockaddr)); - if (perm == NULL) { - perm = create_permission(alloc, &peer_attr->sockaddr, - pj_sockaddr_get_len(&peer_attr->sockaddr)); - } - refresh_permission(perm); - - /* Return if we don't have data */ - if (data_attr == NULL) - return PJ_SUCCESS; - - /* Relay the data to peer */ - len = data_attr->length; - pj_sock_sendto(alloc->relay.tp.sock, data_attr->data, - &len, 0, &peer_attr->sockaddr, - pj_sockaddr_get_len(&peer_attr->sockaddr)); - - return PJ_SUCCESS; -} - - diff --git a/res/pjproject/pjnath/src/pjturn-srv/auth.c b/res/pjproject/pjnath/src/pjturn-srv/auth.c deleted file mode 100644 index 82e182d0ac..0000000000 --- a/res/pjproject/pjnath/src/pjturn-srv/auth.c +++ /dev/null @@ -1,145 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "auth.h" -#include - - -#define MAX_REALM 80 -#define MAX_USERNAME 32 -#define MAX_PASSWORD 32 -#define MAX_NONCE 32 - -static char g_realm[MAX_REALM]; - -static struct cred_t -{ - char username[MAX_USERNAME]; - char passwd[MAX_PASSWORD]; -} g_cred[] = -{ - { "100", "100" }, - { "700", "700" }, - { "701", "701" } -}; - -#define THIS_FILE "auth.c" -#define THE_NONCE "pjnath" -#define LOG(expr) PJ_LOG(3,expr) - - -/* - * Initialize TURN authentication subsystem. - */ -PJ_DEF(pj_status_t) pj_turn_auth_init(const char *realm) -{ - PJ_ASSERT_RETURN(pj_ansi_strlen(realm) < MAX_REALM, PJ_ENAMETOOLONG); - pj_ansi_strcpy(g_realm, realm); - return PJ_SUCCESS; -} - -/* - * Shutdown TURN authentication subsystem. - */ -PJ_DEF(void) pj_turn_auth_dinit(void) -{ - /* Nothing to do */ -} - - -/* - * This function is called by pj_stun_verify_credential() when - * server needs to challenge the request with 401 response. - */ -PJ_DEF(pj_status_t) pj_turn_get_auth(void *user_data, - pj_pool_t *pool, - pj_str_t *realm, - pj_str_t *nonce) -{ - PJ_UNUSED_ARG(user_data); - PJ_UNUSED_ARG(pool); - - *realm = pj_str(g_realm); - *nonce = pj_str(THE_NONCE); - - return PJ_SUCCESS; -} - -/* - * This function is called to get the password for the specified username. - * This function is also used to check whether the username is valid. - */ -PJ_DEF(pj_status_t) pj_turn_get_password(const pj_stun_msg *msg, - void *user_data, - const pj_str_t *realm, - const pj_str_t *username, - pj_pool_t *pool, - pj_stun_passwd_type *data_type, - pj_str_t *data) -{ - unsigned i; - - PJ_UNUSED_ARG(msg); - PJ_UNUSED_ARG(user_data); - PJ_UNUSED_ARG(pool); - - if (pj_stricmp2(realm, g_realm)) { - LOG((THIS_FILE, "auth error: invalid realm '%.*s'", - (int)realm->slen, realm->ptr)); - return PJ_EINVAL; - } - - for (i=0; islen, username->ptr)); - return PJ_ENOTFOUND; -} - -/* - * This function will be called to verify that the NONCE given - * in the message can be accepted. If this callback returns - * PJ_FALSE, 438 (Stale Nonce) response will be created. - */ -PJ_DEF(pj_bool_t) pj_turn_verify_nonce(const pj_stun_msg *msg, - void *user_data, - const pj_str_t *realm, - const pj_str_t *username, - const pj_str_t *nonce) -{ - PJ_UNUSED_ARG(msg); - PJ_UNUSED_ARG(user_data); - PJ_UNUSED_ARG(realm); - PJ_UNUSED_ARG(username); - - if (pj_stricmp2(nonce, THE_NONCE)) { - LOG((THIS_FILE, "auth error: invalid nonce '%.*s'", - (int)nonce->slen, nonce->ptr)); - return PJ_FALSE; - } - - return PJ_TRUE; -} - diff --git a/res/pjproject/pjnath/src/pjturn-srv/auth.h b/res/pjproject/pjnath/src/pjturn-srv/auth.h deleted file mode 100644 index c403952e5a..0000000000 --- a/res/pjproject/pjnath/src/pjturn-srv/auth.h +++ /dev/null @@ -1,116 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_TURN_SRV_AUTH_H__ -#define __PJ_TURN_SRV_AUTH_H__ - -#include - -/** - * Initialize TURN authentication subsystem. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pj_turn_auth_init(const char *realm); - -/** - * Shutdown TURN authentication subsystem. - */ -PJ_DECL(void) pj_turn_auth_dinit(void); - -/** - * This function is called by pj_stun_verify_credential() when - * server needs to challenge the request with 401 response. - * - * @param user_data Should be ignored. - * @param pool Pool to allocate memory. - * @param realm On return, the function should fill in with - * realm if application wants to use long term - * credential. Otherwise application should set - * empty string for the realm. - * @param nonce On return, if application wants to use long - * term credential, it MUST fill in the nonce - * with some value. Otherwise if short term - * credential is wanted, it MAY set this value. - * If short term credential is wanted and the - * application doesn't want to include NONCE, - * then it must set this to empty string. - * - * @return The callback should return PJ_SUCCESS, or - * otherwise response message will not be - * created. - */ -PJ_DECL(pj_status_t) pj_turn_get_auth(void *user_data, - pj_pool_t *pool, - pj_str_t *realm, - pj_str_t *nonce); - -/** - * This function is called to get the password for the specified username. - * This function is also used to check whether the username is valid. - * - * @param msg The STUN message where the password will be - * applied to. - * @param user_data Should be ignored. - * @param realm The realm as specified in the message. - * @param username The username as specified in the message. - * @param pool Pool to allocate memory when necessary. - * @param data_type On return, application should fill up this - * argument with the type of data (which should - * be zero if data is a plaintext password). - * @param data On return, application should fill up this - * argument with the password according to - * data_type. - * - * @return The callback should return PJ_SUCCESS if - * username has been successfully verified - * and password was obtained. If non-PJ_SUCCESS - * is returned, it is assumed that the - * username is not valid. - */ -PJ_DECL(pj_status_t) pj_turn_get_password(const pj_stun_msg *msg, - void *user_data, - const pj_str_t *realm, - const pj_str_t *username, - pj_pool_t *pool, - pj_stun_passwd_type *data_type, - pj_str_t *data); - -/** - * This function will be called to verify that the NONCE given - * in the message can be accepted. If this callback returns - * PJ_FALSE, 438 (Stale Nonce) response will be created. - * - * @param msg The STUN message where the nonce was received. - * @param user_data Should be ignored. - * @param realm The realm as specified in the message. - * @param username The username as specified in the message. - * @param nonce The nonce to be verified. - * - * @return The callback MUST return non-zero if the - * NONCE can be accepted. - */ -PJ_DECL(pj_bool_t) pj_turn_verify_nonce(const pj_stun_msg *msg, - void *user_data, - const pj_str_t *realm, - const pj_str_t *username, - const pj_str_t *nonce); - -#endif /* __PJ_TURN_SRV_AUTH_H__ */ - diff --git a/res/pjproject/pjnath/src/pjturn-srv/listener_tcp.c b/res/pjproject/pjnath/src/pjturn-srv/listener_tcp.c deleted file mode 100644 index 796ed471b7..0000000000 --- a/res/pjproject/pjnath/src/pjturn-srv/listener_tcp.c +++ /dev/null @@ -1,490 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "turn.h" -#include - -#if PJ_HAS_TCP - -struct accept_op -{ - pj_ioqueue_op_key_t op_key; - pj_sock_t sock; - pj_sockaddr src_addr; - int src_addr_len; -}; - -struct tcp_listener -{ - pj_turn_listener base; - pj_ioqueue_key_t *key; - unsigned accept_cnt; - struct accept_op *accept_op; /* Array of accept_op's */ -}; - - -static void lis_on_accept_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_sock_t sock, - pj_status_t status); -static pj_status_t lis_destroy(pj_turn_listener *listener); -static void transport_create(pj_sock_t sock, pj_turn_listener *lis, - pj_sockaddr_t *src_addr, int src_addr_len); - -static void show_err(const char *sender, const char *title, - pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(4,(sender, "%s: %s", title, errmsg)); -} - - -/* - * Create a new listener on the specified port. - */ -PJ_DEF(pj_status_t) pj_turn_listener_create_tcp(pj_turn_srv *srv, - int af, - const pj_str_t *bound_addr, - unsigned port, - unsigned concurrency_cnt, - unsigned flags, - pj_turn_listener **p_listener) -{ - pj_pool_t *pool; - struct tcp_listener *tcp_lis; - pj_ioqueue_callback ioqueue_cb; - unsigned i; - pj_status_t status; - - /* Create structure */ - pool = pj_pool_create(srv->core.pf, "tcpl%p", 1000, 1000, NULL); - tcp_lis = PJ_POOL_ZALLOC_T(pool, struct tcp_listener); - tcp_lis->base.pool = pool; - tcp_lis->base.obj_name = pool->obj_name; - tcp_lis->base.server = srv; - tcp_lis->base.tp_type = PJ_TURN_TP_TCP; - tcp_lis->base.sock = PJ_INVALID_SOCKET; - //tcp_lis->base.sendto = &tcp_sendto; - tcp_lis->base.destroy = &lis_destroy; - tcp_lis->accept_cnt = concurrency_cnt; - tcp_lis->base.flags = flags; - - /* Create socket */ - status = pj_sock_socket(af, pj_SOCK_STREAM(), 0, &tcp_lis->base.sock); - if (status != PJ_SUCCESS) - goto on_error; - - /* Init bind address */ - status = pj_sockaddr_init(af, &tcp_lis->base.addr, bound_addr, - (pj_uint16_t)port); - if (status != PJ_SUCCESS) - goto on_error; - - /* Create info */ - pj_ansi_strcpy(tcp_lis->base.info, "TCP:"); - pj_sockaddr_print(&tcp_lis->base.addr, tcp_lis->base.info+4, - sizeof(tcp_lis->base.info)-4, 3); - - /* Bind socket */ - status = pj_sock_bind(tcp_lis->base.sock, &tcp_lis->base.addr, - pj_sockaddr_get_len(&tcp_lis->base.addr)); - if (status != PJ_SUCCESS) - goto on_error; - - /* Listen() */ - status = pj_sock_listen(tcp_lis->base.sock, 5); - if (status != PJ_SUCCESS) - goto on_error; - - /* Register to ioqueue */ - pj_bzero(&ioqueue_cb, sizeof(ioqueue_cb)); - ioqueue_cb.on_accept_complete = &lis_on_accept_complete; - status = pj_ioqueue_register_sock(pool, srv->core.ioqueue, tcp_lis->base.sock, - tcp_lis, &ioqueue_cb, &tcp_lis->key); - - /* Create op keys */ - tcp_lis->accept_op = (struct accept_op*)pj_pool_calloc(pool, concurrency_cnt, - sizeof(struct accept_op)); - - /* Create each accept_op and kick off read operation */ - for (i=0; ikey, &tcp_lis->accept_op[i].op_key, - PJ_INVALID_SOCKET, PJ_EPENDING); - } - - /* Done */ - PJ_LOG(4,(tcp_lis->base.obj_name, "Listener %s created", - tcp_lis->base.info)); - - *p_listener = &tcp_lis->base; - return PJ_SUCCESS; - - -on_error: - lis_destroy(&tcp_lis->base); - return status; -} - - -/* - * Destroy listener. - */ -static pj_status_t lis_destroy(pj_turn_listener *listener) -{ - struct tcp_listener *tcp_lis = (struct tcp_listener *)listener; - unsigned i; - - if (tcp_lis->key) { - pj_ioqueue_unregister(tcp_lis->key); - tcp_lis->key = NULL; - tcp_lis->base.sock = PJ_INVALID_SOCKET; - } else if (tcp_lis->base.sock != PJ_INVALID_SOCKET) { - pj_sock_close(tcp_lis->base.sock); - tcp_lis->base.sock = PJ_INVALID_SOCKET; - } - - for (i=0; iaccept_cnt; ++i) { - /* Nothing to do */ - } - - if (tcp_lis->base.pool) { - pj_pool_t *pool = tcp_lis->base.pool; - - PJ_LOG(4,(tcp_lis->base.obj_name, "Listener %s destroyed", - tcp_lis->base.info)); - - tcp_lis->base.pool = NULL; - pj_pool_release(pool); - } - return PJ_SUCCESS; -} - - -/* - * Callback on new TCP connection. - */ -static void lis_on_accept_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_sock_t sock, - pj_status_t status) -{ - struct tcp_listener *tcp_lis; - struct accept_op *accept_op = (struct accept_op*) op_key; - - tcp_lis = (struct tcp_listener*) pj_ioqueue_get_user_data(key); - - PJ_UNUSED_ARG(sock); - - do { - /* Report new connection. */ - if (status == PJ_SUCCESS) { - char addr[PJ_INET6_ADDRSTRLEN+8]; - PJ_LOG(5,(tcp_lis->base.obj_name, "Incoming TCP from %s", - pj_sockaddr_print(&accept_op->src_addr, addr, - sizeof(addr), 3))); - transport_create(accept_op->sock, &tcp_lis->base, - &accept_op->src_addr, accept_op->src_addr_len); - } else if (status != PJ_EPENDING) { - show_err(tcp_lis->base.obj_name, "accept()", status); - } - - /* Prepare next accept() */ - accept_op->src_addr_len = sizeof(accept_op->src_addr); - status = pj_ioqueue_accept(key, op_key, &accept_op->sock, - NULL, - &accept_op->src_addr, - &accept_op->src_addr_len); - - } while (status != PJ_EPENDING && status != PJ_ECANCELLED && - status != PJ_STATUS_FROM_OS(PJ_BLOCKING_ERROR_VAL)); -} - - -/****************************************************************************/ -/* - * Transport - */ -enum -{ - TIMER_NONE, - TIMER_DESTROY -}; - -/* The delay in seconds to be applied before TCP transport is destroyed when - * no allocation is referencing it. This also means the initial time to wait - * after the initial TCP connection establishment to receive a valid STUN - * message in the transport. - */ -#define SHUTDOWN_DELAY 10 - -struct recv_op -{ - pj_ioqueue_op_key_t op_key; - pj_turn_pkt pkt; -}; - -struct tcp_transport -{ - pj_turn_transport base; - pj_pool_t *pool; - pj_timer_entry timer; - - pj_turn_allocation *alloc; - int ref_cnt; - - pj_sock_t sock; - pj_ioqueue_key_t *key; - struct recv_op recv_op; - pj_ioqueue_op_key_t send_op; -}; - - -static void tcp_on_read_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read); - -static pj_status_t tcp_sendto(pj_turn_transport *tp, - const void *packet, - pj_size_t size, - unsigned flag, - const pj_sockaddr_t *addr, - int addr_len); -static void tcp_destroy(struct tcp_transport *tcp); -static void tcp_add_ref(pj_turn_transport *tp, - pj_turn_allocation *alloc); -static void tcp_dec_ref(pj_turn_transport *tp, - pj_turn_allocation *alloc); -static void timer_callback(pj_timer_heap_t *timer_heap, - pj_timer_entry *entry); - -static void transport_create(pj_sock_t sock, pj_turn_listener *lis, - pj_sockaddr_t *src_addr, int src_addr_len) -{ - pj_pool_t *pool; - struct tcp_transport *tcp; - pj_ioqueue_callback cb; - pj_status_t status; - - pool = pj_pool_create(lis->server->core.pf, "tcp%p", 1000, 1000, NULL); - - tcp = PJ_POOL_ZALLOC_T(pool, struct tcp_transport); - tcp->base.obj_name = pool->obj_name; - tcp->base.listener = lis; - tcp->base.info = lis->info; - tcp->base.sendto = &tcp_sendto; - tcp->base.add_ref = &tcp_add_ref; - tcp->base.dec_ref = &tcp_dec_ref; - tcp->pool = pool; - tcp->sock = sock; - - pj_timer_entry_init(&tcp->timer, TIMER_NONE, tcp, &timer_callback); - - /* Register to ioqueue */ - pj_bzero(&cb, sizeof(cb)); - cb.on_read_complete = &tcp_on_read_complete; - status = pj_ioqueue_register_sock(pool, lis->server->core.ioqueue, sock, - tcp, &cb, &tcp->key); - if (status != PJ_SUCCESS) { - tcp_destroy(tcp); - return; - } - - /* Init pkt */ - tcp->recv_op.pkt.pool = pj_pool_create(lis->server->core.pf, "tcpkt%p", - 1000, 1000, NULL); - tcp->recv_op.pkt.transport = &tcp->base; - tcp->recv_op.pkt.src.tp_type = PJ_TURN_TP_TCP; - tcp->recv_op.pkt.src_addr_len = src_addr_len; - pj_memcpy(&tcp->recv_op.pkt.src.clt_addr, src_addr, src_addr_len); - - tcp_on_read_complete(tcp->key, &tcp->recv_op.op_key, -PJ_EPENDING); - /* Should not access transport from now, it may have been destroyed */ -} - - -static void tcp_destroy(struct tcp_transport *tcp) -{ - if (tcp->key) { - pj_ioqueue_unregister(tcp->key); - tcp->key = NULL; - tcp->sock = 0; - } else if (tcp->sock) { - pj_sock_close(tcp->sock); - tcp->sock = 0; - } - - if (tcp->pool) { - pj_pool_release(tcp->pool); - } -} - - -static void timer_callback(pj_timer_heap_t *timer_heap, - pj_timer_entry *entry) -{ - struct tcp_transport *tcp = (struct tcp_transport*) entry->user_data; - - PJ_UNUSED_ARG(timer_heap); - - tcp_destroy(tcp); -} - - -static void tcp_on_read_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read) -{ - struct tcp_transport *tcp; - struct recv_op *recv_op = (struct recv_op*) op_key; - pj_status_t status; - - tcp = (struct tcp_transport*) pj_ioqueue_get_user_data(key); - - do { - /* Report to server or allocation, if we have allocation */ - if (bytes_read > 0) { - - recv_op->pkt.len = bytes_read; - pj_gettimeofday(&recv_op->pkt.rx_time); - - tcp_add_ref(&tcp->base, NULL); - - if (tcp->alloc) { - pj_turn_allocation_on_rx_client_pkt(tcp->alloc, &recv_op->pkt); - } else { - pj_turn_srv_on_rx_pkt(tcp->base.listener->server, &recv_op->pkt); - } - - pj_assert(tcp->ref_cnt > 0); - tcp_dec_ref(&tcp->base, NULL); - - } else if (bytes_read != -PJ_EPENDING) { - /* TCP connection closed/error. Notify client and then destroy - * ourselves. - * Note: the -PJ_EPENDING is the value passed during init. - */ - ++tcp->ref_cnt; - - if (tcp->alloc) { - if (bytes_read != 0) { - show_err(tcp->base.obj_name, "TCP socket error", - -bytes_read); - } else { - PJ_LOG(5,(tcp->base.obj_name, "TCP socket closed")); - } - pj_turn_allocation_on_transport_closed(tcp->alloc, &tcp->base); - tcp->alloc = NULL; - } - - pj_assert(tcp->ref_cnt > 0); - if (--tcp->ref_cnt == 0) { - tcp_destroy(tcp); - return; - } - } - - /* Reset pool */ - pj_pool_reset(recv_op->pkt.pool); - - /* If packet is full discard it */ - if (recv_op->pkt.len == sizeof(recv_op->pkt.pkt)) { - PJ_LOG(4,(tcp->base.obj_name, "Buffer discarded")); - recv_op->pkt.len = 0; - } - - /* Read next packet */ - bytes_read = sizeof(recv_op->pkt.pkt) - recv_op->pkt.len; - status = pj_ioqueue_recv(tcp->key, op_key, - recv_op->pkt.pkt + recv_op->pkt.len, - &bytes_read, 0); - - if (status != PJ_EPENDING && status != PJ_SUCCESS) - bytes_read = -status; - - } while (status != PJ_EPENDING && status != PJ_ECANCELLED && - status != PJ_STATUS_FROM_OS(PJ_BLOCKING_ERROR_VAL)); - -} - - -static pj_status_t tcp_sendto(pj_turn_transport *tp, - const void *packet, - pj_size_t size, - unsigned flag, - const pj_sockaddr_t *addr, - int addr_len) -{ - struct tcp_transport *tcp = (struct tcp_transport*) tp; - pj_ssize_t length = size; - - PJ_UNUSED_ARG(addr); - PJ_UNUSED_ARG(addr_len); - - return pj_ioqueue_send(tcp->key, &tcp->send_op, packet, &length, flag); -} - - -static void tcp_add_ref(pj_turn_transport *tp, - pj_turn_allocation *alloc) -{ - struct tcp_transport *tcp = (struct tcp_transport*) tp; - - ++tcp->ref_cnt; - - if (tcp->alloc == NULL && alloc) { - tcp->alloc = alloc; - } - - /* Cancel shutdown timer if it's running */ - if (tcp->timer.id != TIMER_NONE) { - pj_timer_heap_cancel(tcp->base.listener->server->core.timer_heap, - &tcp->timer); - tcp->timer.id = TIMER_NONE; - } -} - - -static void tcp_dec_ref(pj_turn_transport *tp, - pj_turn_allocation *alloc) -{ - struct tcp_transport *tcp = (struct tcp_transport*) tp; - - --tcp->ref_cnt; - - if (alloc && alloc == tcp->alloc) { - tcp->alloc = NULL; - } - - if (tcp->ref_cnt == 0 && tcp->timer.id == TIMER_NONE) { - pj_time_val delay = { SHUTDOWN_DELAY, 0 }; - tcp->timer.id = TIMER_DESTROY; - pj_timer_heap_schedule(tcp->base.listener->server->core.timer_heap, - &tcp->timer, &delay); - } -} - -#else /* PJ_HAS_TCP */ - -/* To avoid empty translation unit warning */ -int listener_tcp_dummy = 0; - -#endif /* PJ_HAS_TCP */ - diff --git a/res/pjproject/pjnath/src/pjturn-srv/listener_udp.c b/res/pjproject/pjnath/src/pjturn-srv/listener_udp.c deleted file mode 100644 index 9eec80a561..0000000000 --- a/res/pjproject/pjnath/src/pjturn-srv/listener_udp.c +++ /dev/null @@ -1,266 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "turn.h" -#include - -struct read_op -{ - pj_ioqueue_op_key_t op_key; - pj_turn_pkt pkt; -}; - -struct udp_listener -{ - pj_turn_listener base; - - pj_ioqueue_key_t *key; - unsigned read_cnt; - struct read_op **read_op; /* Array of read_op's */ - - pj_turn_transport tp; /* Transport instance */ -}; - - -static pj_status_t udp_destroy(pj_turn_listener *udp); -static void on_read_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read); - -static pj_status_t udp_sendto(pj_turn_transport *tp, - const void *packet, - pj_size_t size, - unsigned flag, - const pj_sockaddr_t *addr, - int addr_len); -static void udp_add_ref(pj_turn_transport *tp, - pj_turn_allocation *alloc); -static void udp_dec_ref(pj_turn_transport *tp, - pj_turn_allocation *alloc); - - -/* - * Create a new listener on the specified port. - */ -PJ_DEF(pj_status_t) pj_turn_listener_create_udp( pj_turn_srv *srv, - int af, - const pj_str_t *bound_addr, - unsigned port, - unsigned concurrency_cnt, - unsigned flags, - pj_turn_listener **p_listener) -{ - pj_pool_t *pool; - struct udp_listener *udp; - pj_ioqueue_callback ioqueue_cb; - unsigned i; - pj_status_t status; - - /* Create structure */ - pool = pj_pool_create(srv->core.pf, "udp%p", 1000, 1000, NULL); - udp = PJ_POOL_ZALLOC_T(pool, struct udp_listener); - udp->base.pool = pool; - udp->base.obj_name = pool->obj_name; - udp->base.server = srv; - udp->base.tp_type = PJ_TURN_TP_UDP; - udp->base.sock = PJ_INVALID_SOCKET; - udp->base.destroy = &udp_destroy; - udp->read_cnt = concurrency_cnt; - udp->base.flags = flags; - - udp->tp.obj_name = udp->base.obj_name; - udp->tp.info = udp->base.info; - udp->tp.listener = &udp->base; - udp->tp.sendto = &udp_sendto; - udp->tp.add_ref = &udp_add_ref; - udp->tp.dec_ref = &udp_dec_ref; - - /* Create socket */ - status = pj_sock_socket(af, pj_SOCK_DGRAM(), 0, &udp->base.sock); - if (status != PJ_SUCCESS) - goto on_error; - - /* Init bind address */ - status = pj_sockaddr_init(af, &udp->base.addr, bound_addr, - (pj_uint16_t)port); - if (status != PJ_SUCCESS) - goto on_error; - - /* Create info */ - pj_ansi_strcpy(udp->base.info, "UDP:"); - pj_sockaddr_print(&udp->base.addr, udp->base.info+4, - sizeof(udp->base.info)-4, 3); - - /* Bind socket */ - status = pj_sock_bind(udp->base.sock, &udp->base.addr, - pj_sockaddr_get_len(&udp->base.addr)); - if (status != PJ_SUCCESS) - goto on_error; - - /* Register to ioqueue */ - pj_bzero(&ioqueue_cb, sizeof(ioqueue_cb)); - ioqueue_cb.on_read_complete = on_read_complete; - status = pj_ioqueue_register_sock(pool, srv->core.ioqueue, udp->base.sock, - udp, &ioqueue_cb, &udp->key); - - /* Create op keys */ - udp->read_op = (struct read_op**)pj_pool_calloc(pool, concurrency_cnt, - sizeof(struct read_op*)); - - /* Create each read_op and kick off read operation */ - for (i=0; icore.pf, "rop%p", - 1000, 1000, NULL); - - udp->read_op[i] = PJ_POOL_ZALLOC_T(pool, struct read_op); - udp->read_op[i]->pkt.pool = rpool; - - on_read_complete(udp->key, &udp->read_op[i]->op_key, 0); - } - - /* Done */ - PJ_LOG(4,(udp->base.obj_name, "Listener %s created", udp->base.info)); - - *p_listener = &udp->base; - return PJ_SUCCESS; - - -on_error: - udp_destroy(&udp->base); - return status; -} - - -/* - * Destroy listener. - */ -static pj_status_t udp_destroy(pj_turn_listener *listener) -{ - struct udp_listener *udp = (struct udp_listener *)listener; - unsigned i; - - if (udp->key) { - pj_ioqueue_unregister(udp->key); - udp->key = NULL; - udp->base.sock = PJ_INVALID_SOCKET; - } else if (udp->base.sock != PJ_INVALID_SOCKET) { - pj_sock_close(udp->base.sock); - udp->base.sock = PJ_INVALID_SOCKET; - } - - for (i=0; iread_cnt; ++i) { - if (udp->read_op[i]->pkt.pool) { - pj_pool_t *rpool = udp->read_op[i]->pkt.pool; - udp->read_op[i]->pkt.pool = NULL; - pj_pool_release(rpool); - } - } - - if (udp->base.pool) { - pj_pool_t *pool = udp->base.pool; - - PJ_LOG(4,(udp->base.obj_name, "Listener %s destroyed", - udp->base.info)); - - udp->base.pool = NULL; - pj_pool_release(pool); - } - return PJ_SUCCESS; -} - -/* - * Callback to send packet. - */ -static pj_status_t udp_sendto(pj_turn_transport *tp, - const void *packet, - pj_size_t size, - unsigned flag, - const pj_sockaddr_t *addr, - int addr_len) -{ - pj_ssize_t len = size; - return pj_sock_sendto(tp->listener->sock, packet, &len, flag, addr, addr_len); -} - - -static void udp_add_ref(pj_turn_transport *tp, - pj_turn_allocation *alloc) -{ - /* Do nothing */ - PJ_UNUSED_ARG(tp); - PJ_UNUSED_ARG(alloc); -} - -static void udp_dec_ref(pj_turn_transport *tp, - pj_turn_allocation *alloc) -{ - /* Do nothing */ - PJ_UNUSED_ARG(tp); - PJ_UNUSED_ARG(alloc); -} - - -/* - * Callback on received packet. - */ -static void on_read_complete(pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read) -{ - struct udp_listener *udp; - struct read_op *read_op = (struct read_op*) op_key; - pj_status_t status; - - udp = (struct udp_listener*) pj_ioqueue_get_user_data(key); - - do { - pj_pool_t *rpool; - - /* Report to server */ - if (bytes_read > 0) { - read_op->pkt.len = bytes_read; - pj_gettimeofday(&read_op->pkt.rx_time); - - pj_turn_srv_on_rx_pkt(udp->base.server, &read_op->pkt); - } - - /* Reset pool */ - rpool = read_op->pkt.pool; - pj_pool_reset(rpool); - read_op->pkt.pool = rpool; - read_op->pkt.transport = &udp->tp; - read_op->pkt.src.tp_type = udp->base.tp_type; - - /* Read next packet */ - bytes_read = sizeof(read_op->pkt.pkt); - read_op->pkt.src_addr_len = sizeof(read_op->pkt.src.clt_addr); - pj_bzero(&read_op->pkt.src.clt_addr, sizeof(read_op->pkt.src.clt_addr)); - - status = pj_ioqueue_recvfrom(udp->key, op_key, - read_op->pkt.pkt, &bytes_read, 0, - &read_op->pkt.src.clt_addr, - &read_op->pkt.src_addr_len); - - if (status != PJ_EPENDING && status != PJ_SUCCESS) - bytes_read = -status; - - } while (status != PJ_EPENDING && status != PJ_ECANCELLED && - status != PJ_STATUS_FROM_OS(PJ_BLOCKING_ERROR_VAL)); -} - diff --git a/res/pjproject/pjnath/src/pjturn-srv/main.c b/res/pjproject/pjnath/src/pjturn-srv/main.c deleted file mode 100644 index 674298de8b..0000000000 --- a/res/pjproject/pjnath/src/pjturn-srv/main.c +++ /dev/null @@ -1,174 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "turn.h" -#include "auth.h" - -#define REALM "pjsip.org" -//#define TURN_PORT PJ_STUN_TURN_PORT -#define TURN_PORT 34780 -#define LOG_LEVEL 4 - - -static pj_caching_pool g_cp; - -int err(const char *title, pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(status, errmsg, sizeof(errmsg)); - - printf("%s: %s\n", title, errmsg); - return 1; -} - -static void dump_status(pj_turn_srv *srv) -{ - char addr[80]; - pj_hash_iterator_t itbuf, *it; - pj_time_val now; - unsigned i; - - for (i=0; icore.lis_cnt; ++i) { - pj_turn_listener *lis = srv->core.listener[i]; - printf("Server address : %s\n", lis->info); - } - - printf("Worker threads : %d\n", srv->core.thread_cnt); - printf("Total mem usage: %u.%03uMB\n", (unsigned)(g_cp.used_size / 1000000), - (unsigned)((g_cp.used_size % 1000000)/1000)); - printf("UDP port range : %u %u %u (next/min/max)\n", srv->ports.next_udp, - srv->ports.min_udp, srv->ports.max_udp); - printf("TCP port range : %u %u %u (next/min/max)\n", srv->ports.next_tcp, - srv->ports.min_tcp, srv->ports.max_tcp); - printf("Clients # : %u\n", pj_hash_count(srv->tables.alloc)); - - puts(""); - - if (pj_hash_count(srv->tables.alloc)==0) { - return; - } - - puts("# Client addr. Alloc addr. Username Lftm Expy #prm #chl"); - puts("------------------------------------------------------------------------------"); - - pj_gettimeofday(&now); - - it = pj_hash_first(srv->tables.alloc, &itbuf); - i=1; - while (it) { - pj_turn_allocation *alloc = (pj_turn_allocation*) - pj_hash_this(srv->tables.alloc, it); - printf("%-3d %-22s %-22s %-8.*s %-4d %-4ld %-4d %-4d\n", - i, - alloc->info, - pj_sockaddr_print(&alloc->relay.hkey.addr, addr, sizeof(addr), 3), - (int)alloc->cred.data.static_cred.username.slen, - alloc->cred.data.static_cred.username.ptr, - alloc->relay.lifetime, - alloc->relay.expiry.sec - now.sec, - pj_hash_count(alloc->peer_table), - pj_hash_count(alloc->ch_table)); - - it = pj_hash_next(srv->tables.alloc, it); - ++i; - } -} - -static void menu(void) -{ - puts(""); - puts("Menu:"); - puts(" d Dump status"); - puts(" q Quit"); - printf(">> "); -} - -static void console_main(pj_turn_srv *srv) -{ - pj_bool_t quit = PJ_FALSE; - - while (!quit) { - char line[10]; - - menu(); - - if (fgets(line, sizeof(line), stdin) == NULL) - break; - - switch (line[0]) { - case 'd': - dump_status(srv); - break; - case 'q': - quit = PJ_TRUE; - break; - } - } -} - -int main() -{ - pj_turn_srv *srv; - pj_turn_listener *listener; - pj_status_t status; - - status = pj_init(); - if (status != PJ_SUCCESS) - return err("pj_init() error", status); - - pjlib_util_init(); - pjnath_init(); - - pj_caching_pool_init(&g_cp, NULL, 0); - - pj_turn_auth_init(REALM); - - status = pj_turn_srv_create(&g_cp.factory, &srv); - if (status != PJ_SUCCESS) - return err("Error creating server", status); - - status = pj_turn_listener_create_udp(srv, pj_AF_INET(), NULL, - TURN_PORT, 1, 0, &listener); - if (status != PJ_SUCCESS) - return err("Error creating UDP listener", status); - -#if PJ_HAS_TCP - status = pj_turn_listener_create_tcp(srv, pj_AF_INET(), NULL, - TURN_PORT, 1, 0, &listener); - if (status != PJ_SUCCESS) - return err("Error creating listener", status); -#endif - - status = pj_turn_srv_add_listener(srv, listener); - if (status != PJ_SUCCESS) - return err("Error adding listener", status); - - puts("Server is running"); - - pj_log_set_level(LOG_LEVEL); - - console_main(srv); - - pj_turn_srv_destroy(srv); - pj_caching_pool_destroy(&g_cp); - pj_shutdown(); - - return 0; -} - diff --git a/res/pjproject/pjnath/src/pjturn-srv/server.c b/res/pjproject/pjnath/src/pjturn-srv/server.c deleted file mode 100644 index da1afdce73..0000000000 --- a/res/pjproject/pjnath/src/pjturn-srv/server.c +++ /dev/null @@ -1,699 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "turn.h" -#include "auth.h" - -#define MAX_CLIENTS 32 -#define MAX_PEERS_PER_CLIENT 8 -//#define MAX_HANDLES (MAX_CLIENTS*MAX_PEERS_PER_CLIENT+MAX_LISTENERS) -#define MAX_HANDLES PJ_IOQUEUE_MAX_HANDLES -#define MAX_TIMER (MAX_HANDLES * 2) -#define MIN_PORT 49152 -#define MAX_PORT 65535 -#define MAX_LISTENERS 16 -#define MAX_THREADS 2 -#define MAX_NET_EVENTS 1000 - -/* Prototypes */ -static int server_thread_proc(void *arg); -static pj_status_t on_tx_stun_msg( pj_stun_session *sess, - void *token, - const void *pkt, - pj_size_t pkt_size, - const pj_sockaddr_t *dst_addr, - unsigned addr_len); -static pj_status_t on_rx_stun_request(pj_stun_session *sess, - const pj_uint8_t *pkt, - unsigned pkt_len, - const pj_stun_rx_data *rdata, - void *user_data, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len); - -struct saved_cred -{ - pj_str_t realm; - pj_str_t username; - pj_str_t nonce; - int data_type; - pj_str_t data; -}; - - -/* - * Get transport type name, normally for logging purpose only. - */ -PJ_DEF(const char*) pj_turn_tp_type_name(int tp_type) -{ - /* Must be 3 characters long! */ - if (tp_type == PJ_TURN_TP_UDP) { - return "UDP"; - } else if (tp_type == PJ_TURN_TP_TCP) { - return "TCP"; - } else { - pj_assert(!"Unsupported transport"); - return "???"; - } -} - -/* - * Create server. - */ -PJ_DEF(pj_status_t) pj_turn_srv_create(pj_pool_factory *pf, - pj_turn_srv **p_srv) -{ - pj_pool_t *pool; - pj_stun_session_cb sess_cb; - pj_turn_srv *srv; - unsigned i; - pj_status_t status; - - PJ_ASSERT_RETURN(pf && p_srv, PJ_EINVAL); - - /* Create server and init core settings */ - pool = pj_pool_create(pf, "srv%p", 1000, 1000, NULL); - srv = PJ_POOL_ZALLOC_T(pool, pj_turn_srv); - srv->obj_name = pool->obj_name; - srv->core.pf = pf; - srv->core.pool = pool; - srv->core.tls_key = srv->core.tls_data = -1; - - /* Create ioqueue */ - status = pj_ioqueue_create(pool, MAX_HANDLES, &srv->core.ioqueue); - if (status != PJ_SUCCESS) - goto on_error; - - /* Server mutex */ - status = pj_lock_create_recursive_mutex(pool, srv->obj_name, - &srv->core.lock); - if (status != PJ_SUCCESS) - goto on_error; - - /* Allocate TLS */ - status = pj_thread_local_alloc(&srv->core.tls_key); - if (status != PJ_SUCCESS) - goto on_error; - - status = pj_thread_local_alloc(&srv->core.tls_data); - if (status != PJ_SUCCESS) - goto on_error; - - /* Create timer heap */ - status = pj_timer_heap_create(pool, MAX_TIMER, &srv->core.timer_heap); - if (status != PJ_SUCCESS) - goto on_error; - - /* Configure lock for the timer heap */ - pj_timer_heap_set_lock(srv->core.timer_heap, srv->core.lock, PJ_FALSE); - - /* Array of listeners */ - srv->core.listener = (pj_turn_listener**) - pj_pool_calloc(pool, MAX_LISTENERS, - sizeof(srv->core.listener[0])); - - /* Create hash tables */ - srv->tables.alloc = pj_hash_create(pool, MAX_CLIENTS); - srv->tables.res = pj_hash_create(pool, MAX_CLIENTS); - - /* Init ports settings */ - srv->ports.min_udp = srv->ports.next_udp = MIN_PORT; - srv->ports.max_udp = MAX_PORT; - srv->ports.min_tcp = srv->ports.next_tcp = MIN_PORT; - srv->ports.max_tcp = MAX_PORT; - - /* Init STUN config */ - pj_stun_config_init(&srv->core.stun_cfg, pf, 0, srv->core.ioqueue, - srv->core.timer_heap); - - /* Init STUN credential */ - srv->core.cred.type = PJ_STUN_AUTH_CRED_DYNAMIC; - srv->core.cred.data.dyn_cred.user_data = srv; - srv->core.cred.data.dyn_cred.get_auth = &pj_turn_get_auth; - srv->core.cred.data.dyn_cred.get_password = &pj_turn_get_password; - srv->core.cred.data.dyn_cred.verify_nonce = &pj_turn_verify_nonce; - - /* Create STUN session to handle new allocation */ - pj_bzero(&sess_cb, sizeof(sess_cb)); - sess_cb.on_rx_request = &on_rx_stun_request; - sess_cb.on_send_msg = &on_tx_stun_msg; - - status = pj_stun_session_create(&srv->core.stun_cfg, srv->obj_name, - &sess_cb, PJ_FALSE, &srv->core.stun_sess); - if (status != PJ_SUCCESS) { - goto on_error; - } - - pj_stun_session_set_user_data(srv->core.stun_sess, srv); - pj_stun_session_set_credential(srv->core.stun_sess, PJ_STUN_AUTH_LONG_TERM, - &srv->core.cred); - - - /* Array of worker threads */ - srv->core.thread_cnt = MAX_THREADS; - srv->core.thread = (pj_thread_t**) - pj_pool_calloc(pool, srv->core.thread_cnt, - sizeof(pj_thread_t*)); - - /* Start the worker threads */ - for (i=0; icore.thread_cnt; ++i) { - status = pj_thread_create(pool, srv->obj_name, &server_thread_proc, - srv, 0, 0, &srv->core.thread[i]); - if (status != PJ_SUCCESS) - goto on_error; - } - - /* We're done. Application should add listeners now */ - PJ_LOG(4,(srv->obj_name, "TURN server v%s is running", - pj_get_version())); - - *p_srv = srv; - return PJ_SUCCESS; - -on_error: - pj_turn_srv_destroy(srv); - return status; -} - - -/* - * Handle timer and network events - */ -static void srv_handle_events(pj_turn_srv *srv, const pj_time_val *max_timeout) -{ - /* timeout is 'out' var. This just to make compiler happy. */ - pj_time_val timeout = { 0, 0}; - unsigned net_event_count = 0; - int c; - - /* Poll the timer. The timer heap has its own mutex for better - * granularity, so we don't need to lock the server. - */ - timeout.sec = timeout.msec = 0; - c = pj_timer_heap_poll( srv->core.timer_heap, &timeout ); - - /* timer_heap_poll should never ever returns negative value, or otherwise - * ioqueue_poll() will block forever! - */ - pj_assert(timeout.sec >= 0 && timeout.msec >= 0); - if (timeout.msec >= 1000) timeout.msec = 999; - - /* If caller specifies maximum time to wait, then compare the value with - * the timeout to wait from timer, and use the minimum value. - */ - if (max_timeout && PJ_TIME_VAL_GT(timeout, *max_timeout)) { - timeout = *max_timeout; - } - - /* Poll ioqueue. - * Repeat polling the ioqueue while we have immediate events, because - * timer heap may process more than one events, so if we only process - * one network events at a time (such as when IOCP backend is used), - * the ioqueue may have trouble keeping up with the request rate. - * - * For example, for each send() request, one network event will be - * reported by ioqueue for the send() completion. If we don't poll - * the ioqueue often enough, the send() completion will not be - * reported in timely manner. - */ - do { - c = pj_ioqueue_poll( srv->core.ioqueue, &timeout); - if (c < 0) { - pj_thread_sleep(PJ_TIME_VAL_MSEC(timeout)); - return; - } else if (c == 0) { - break; - } else { - net_event_count += c; - timeout.sec = timeout.msec = 0; - } - } while (c > 0 && net_event_count < MAX_NET_EVENTS); - -} - -/* - * Server worker thread proc. - */ -static int server_thread_proc(void *arg) -{ - pj_turn_srv *srv = (pj_turn_srv*)arg; - - while (!srv->core.quit) { - pj_time_val timeout_max = {0, 100}; - srv_handle_events(srv, &timeout_max); - } - - return 0; -} - -/* - * Destroy the server. - */ -PJ_DEF(pj_status_t) pj_turn_srv_destroy(pj_turn_srv *srv) -{ - pj_hash_iterator_t itbuf, *it; - unsigned i; - - /* Stop all worker threads */ - srv->core.quit = PJ_TRUE; - for (i=0; icore.thread_cnt; ++i) { - if (srv->core.thread[i]) { - pj_thread_join(srv->core.thread[i]); - pj_thread_destroy(srv->core.thread[i]); - srv->core.thread[i] = NULL; - } - } - - /* Destroy all allocations FIRST */ - if (srv->tables.alloc) { - it = pj_hash_first(srv->tables.alloc, &itbuf); - while (it != NULL) { - pj_turn_allocation *alloc = (pj_turn_allocation*) - pj_hash_this(srv->tables.alloc, it); - pj_hash_iterator_t *next = pj_hash_next(srv->tables.alloc, it); - pj_turn_allocation_destroy(alloc); - it = next; - } - } - - /* Destroy all listeners. */ - for (i=0; icore.lis_cnt; ++i) { - if (srv->core.listener[i]) { - pj_turn_listener_destroy(srv->core.listener[i]); - srv->core.listener[i] = NULL; - } - } - - /* Destroy STUN session */ - if (srv->core.stun_sess) { - pj_stun_session_destroy(srv->core.stun_sess); - srv->core.stun_sess = NULL; - } - - /* Destroy hash tables (well, sort of) */ - if (srv->tables.alloc) { - srv->tables.alloc = NULL; - srv->tables.res = NULL; - } - - /* Destroy timer heap */ - if (srv->core.timer_heap) { - pj_timer_heap_destroy(srv->core.timer_heap); - srv->core.timer_heap = NULL; - } - - /* Destroy ioqueue */ - if (srv->core.ioqueue) { - pj_ioqueue_destroy(srv->core.ioqueue); - srv->core.ioqueue = NULL; - } - - /* Destroy thread local IDs */ - if (srv->core.tls_key != -1) { - pj_thread_local_free(srv->core.tls_key); - srv->core.tls_key = -1; - } - if (srv->core.tls_data != -1) { - pj_thread_local_free(srv->core.tls_data); - srv->core.tls_data = -1; - } - - /* Destroy server lock */ - if (srv->core.lock) { - pj_lock_destroy(srv->core.lock); - srv->core.lock = NULL; - } - - /* Release pool */ - if (srv->core.pool) { - pj_pool_t *pool = srv->core.pool; - srv->core.pool = NULL; - pj_pool_release(pool); - } - - /* Done */ - return PJ_SUCCESS; -} - - -/* - * Add listener. - */ -PJ_DEF(pj_status_t) pj_turn_srv_add_listener(pj_turn_srv *srv, - pj_turn_listener *lis) -{ - unsigned index; - - PJ_ASSERT_RETURN(srv && lis, PJ_EINVAL); - PJ_ASSERT_RETURN(srv->core.lis_cnt < MAX_LISTENERS, PJ_ETOOMANY); - - /* Add to array */ - index = srv->core.lis_cnt; - srv->core.listener[index] = lis; - lis->server = srv; - lis->id = index; - srv->core.lis_cnt++; - - PJ_LOG(4,(srv->obj_name, "Listener %s/%s added at index %d", - lis->obj_name, lis->info, lis->id)); - - return PJ_SUCCESS; -} - - -/* - * Destroy listener. - */ -PJ_DEF(pj_status_t) pj_turn_listener_destroy(pj_turn_listener *listener) -{ - pj_turn_srv *srv = listener->server; - unsigned i; - - /* Remove from our listener list */ - pj_lock_acquire(srv->core.lock); - for (i=0; icore.lis_cnt; ++i) { - if (srv->core.listener[i] == listener) { - srv->core.listener[i] = NULL; - srv->core.lis_cnt--; - listener->id = PJ_TURN_INVALID_LIS_ID; - break; - } - } - pj_lock_release(srv->core.lock); - - /* Destroy */ - return listener->destroy(listener); -} - - -/** - * Add a reference to a transport. - */ -PJ_DEF(void) pj_turn_transport_add_ref( pj_turn_transport *transport, - pj_turn_allocation *alloc) -{ - transport->add_ref(transport, alloc); -} - - -/** - * Decrement transport reference counter. - */ -PJ_DEF(void) pj_turn_transport_dec_ref( pj_turn_transport *transport, - pj_turn_allocation *alloc) -{ - transport->dec_ref(transport, alloc); -} - - -/* - * Register an allocation to the hash tables. - */ -PJ_DEF(pj_status_t) pj_turn_srv_register_allocation(pj_turn_srv *srv, - pj_turn_allocation *alloc) -{ - /* Add to hash tables */ - pj_lock_acquire(srv->core.lock); - pj_hash_set(alloc->pool, srv->tables.alloc, - &alloc->hkey, sizeof(alloc->hkey), 0, alloc); - pj_hash_set(alloc->pool, srv->tables.res, - &alloc->relay.hkey, sizeof(alloc->relay.hkey), 0, - &alloc->relay); - pj_lock_release(srv->core.lock); - - return PJ_SUCCESS; -} - - -/* - * Unregister an allocation from the hash tables. - */ -PJ_DEF(pj_status_t) pj_turn_srv_unregister_allocation(pj_turn_srv *srv, - pj_turn_allocation *alloc) -{ - /* Unregister from hash tables */ - pj_lock_acquire(srv->core.lock); - pj_hash_set(alloc->pool, srv->tables.alloc, - &alloc->hkey, sizeof(alloc->hkey), 0, NULL); - pj_hash_set(alloc->pool, srv->tables.res, - &alloc->relay.hkey, sizeof(alloc->relay.hkey), 0, NULL); - pj_lock_release(srv->core.lock); - - return PJ_SUCCESS; -} - - -/* Callback from our own STUN session whenever it needs to send - * outgoing STUN packet. - */ -static pj_status_t on_tx_stun_msg( pj_stun_session *sess, - void *token, - const void *pdu, - pj_size_t pdu_size, - const pj_sockaddr_t *dst_addr, - unsigned addr_len) -{ - pj_turn_transport *transport = (pj_turn_transport*) token; - - PJ_ASSERT_RETURN(transport!=NULL, PJ_EINVALIDOP); - - PJ_UNUSED_ARG(sess); - - return transport->sendto(transport, pdu, pdu_size, 0, - dst_addr, addr_len); -} - - -/* Respond to STUN request */ -static pj_status_t stun_respond(pj_stun_session *sess, - pj_turn_transport *transport, - const pj_stun_rx_data *rdata, - unsigned code, - const char *errmsg, - pj_bool_t cache, - const pj_sockaddr_t *dst_addr, - unsigned addr_len) -{ - pj_status_t status; - pj_str_t reason; - pj_stun_tx_data *tdata; - - /* Create response */ - status = pj_stun_session_create_res(sess, rdata, code, - (errmsg?pj_cstr(&reason,errmsg):NULL), - &tdata); - if (status != PJ_SUCCESS) - return status; - - /* Send the response */ - return pj_stun_session_send_msg(sess, transport, cache, PJ_FALSE, - dst_addr, addr_len, tdata); -} - - -/* Callback from our own STUN session when incoming request arrives. - * This function is triggered by pj_stun_session_on_rx_pkt() call in - * pj_turn_srv_on_rx_pkt() function below. - */ -static pj_status_t on_rx_stun_request(pj_stun_session *sess, - const pj_uint8_t *pdu, - unsigned pdu_len, - const pj_stun_rx_data *rdata, - void *token, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - pj_turn_transport *transport; - const pj_stun_msg *msg = rdata->msg; - pj_turn_srv *srv; - pj_turn_allocation *alloc; - pj_status_t status; - - PJ_UNUSED_ARG(pdu); - PJ_UNUSED_ARG(pdu_len); - - transport = (pj_turn_transport*) token; - srv = transport->listener->server; - - /* Respond any requests other than ALLOCATE with 437 response */ - if (msg->hdr.type != PJ_STUN_ALLOCATE_REQUEST) { - stun_respond(sess, transport, rdata, PJ_STUN_SC_ALLOCATION_MISMATCH, - NULL, PJ_FALSE, src_addr, src_addr_len); - return PJ_SUCCESS; - } - - /* Create new allocation. The relay resource will be allocated - * in this function. - */ - status = pj_turn_allocation_create(transport, src_addr, src_addr_len, - rdata, sess, &alloc); - if (status != PJ_SUCCESS) { - /* STUN response has been sent, no need to reply here */ - return PJ_SUCCESS; - } - - /* Done. */ - return PJ_SUCCESS; -} - -/* Handle STUN Binding request */ -static void handle_binding_request(pj_turn_pkt *pkt, - unsigned options) -{ - pj_stun_msg *request, *response; - pj_uint8_t pdu[200]; - pj_size_t len; - pj_status_t status; - - /* Decode request */ - status = pj_stun_msg_decode(pkt->pool, pkt->pkt, pkt->len, options, - &request, NULL, NULL); - if (status != PJ_SUCCESS) - return; - - /* Create response */ - status = pj_stun_msg_create_response(pkt->pool, request, 0, NULL, - &response); - if (status != PJ_SUCCESS) - return; - - /* Add XOR-MAPPED-ADDRESS */ - pj_stun_msg_add_sockaddr_attr(pkt->pool, response, - PJ_STUN_ATTR_XOR_MAPPED_ADDR, - PJ_TRUE, - &pkt->src.clt_addr, - pkt->src_addr_len); - - /* Encode */ - status = pj_stun_msg_encode(response, pdu, sizeof(pdu), 0, NULL, &len); - if (status != PJ_SUCCESS) - return; - - /* Send response */ - pkt->transport->sendto(pkt->transport, pdu, len, 0, - &pkt->src.clt_addr, pkt->src_addr_len); -} - -/* - * This callback is called by UDP listener on incoming packet. This is - * the first entry for incoming packet (from client) to the server. From - * here, the packet may be handed over to an allocation if an allocation - * is found for the client address, or handed over to owned STUN session - * if an allocation is not found. - */ -PJ_DEF(void) pj_turn_srv_on_rx_pkt(pj_turn_srv *srv, - pj_turn_pkt *pkt) -{ - pj_turn_allocation *alloc; - - /* Get TURN allocation from the source address */ - pj_lock_acquire(srv->core.lock); - alloc = (pj_turn_allocation*) - pj_hash_get(srv->tables.alloc, &pkt->src, sizeof(pkt->src), NULL); - pj_lock_release(srv->core.lock); - - /* If allocation is found, just hand over the packet to the - * allocation. - */ - if (alloc) { - pj_turn_allocation_on_rx_client_pkt(alloc, pkt); - } else { - /* Otherwise this is a new client */ - unsigned options; - pj_size_t parsed_len; - pj_status_t status; - - /* Check that this is a STUN message */ - options = PJ_STUN_CHECK_PACKET | PJ_STUN_NO_FINGERPRINT_CHECK; - if (pkt->transport->listener->tp_type == PJ_TURN_TP_UDP) - options |= PJ_STUN_IS_DATAGRAM; - - status = pj_stun_msg_check(pkt->pkt, pkt->len, options); - if (status != PJ_SUCCESS) { - /* If the first byte are not STUN, drop the packet. First byte - * of STUN message is always 0x00 or 0x01. Otherwise wait for - * more data as the data might have come from TCP. - * - * Also drop packet if it's unreasonably too big, as this might - * indicate invalid data that's building up in the buffer. - * - * Or if packet is a datagram. - */ - if ((*pkt->pkt != 0x00 && *pkt->pkt != 0x01) || - pkt->len > 1600 || - (options & PJ_STUN_IS_DATAGRAM)) - { - char errmsg[PJ_ERR_MSG_SIZE]; - char ip[PJ_INET6_ADDRSTRLEN+10]; - - pkt->len = 0; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(5,(srv->obj_name, - "Non-STUN packet from %s is dropped: %s", - pj_sockaddr_print(&pkt->src.clt_addr, ip, sizeof(ip), 3), - errmsg)); - } - return; - } - - /* Special handling for Binding Request. We won't give it to the - * STUN session since this request is not authenticated. - */ - if (pkt->pkt[1] == 1) { - handle_binding_request(pkt, options); - return; - } - - /* Hand over processing to STUN session. This will trigger - * on_rx_stun_request() callback to be called if the STUN - * message is a request. - */ - options &= ~PJ_STUN_CHECK_PACKET; - parsed_len = 0; - status = pj_stun_session_on_rx_pkt(srv->core.stun_sess, pkt->pkt, - pkt->len, options, pkt->transport, - &parsed_len, &pkt->src.clt_addr, - pkt->src_addr_len); - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - char ip[PJ_INET6_ADDRSTRLEN+10]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(5,(srv->obj_name, - "Error processing STUN packet from %s: %s", - pj_sockaddr_print(&pkt->src.clt_addr, ip, sizeof(ip), 3), - errmsg)); - } - - if (pkt->transport->listener->tp_type == PJ_TURN_TP_UDP) { - pkt->len = 0; - } else if (parsed_len > 0) { - if (parsed_len == pkt->len) { - pkt->len = 0; - } else { - pj_memmove(pkt->pkt, pkt->pkt+parsed_len, - pkt->len - parsed_len); - pkt->len -= parsed_len; - } - } - } -} - - diff --git a/res/pjproject/pjnath/src/pjturn-srv/turn.h b/res/pjproject/pjnath/src/pjturn-srv/turn.h deleted file mode 100644 index 2267ec1f29..0000000000 --- a/res/pjproject/pjnath/src/pjturn-srv/turn.h +++ /dev/null @@ -1,508 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJ_TURN_SRV_TURN_H__ -#define __PJ_TURN_SRV_TURN_H__ - -#include -#include - -typedef struct pj_turn_relay_res pj_turn_relay_res; -typedef struct pj_turn_listener pj_turn_listener; -typedef struct pj_turn_transport pj_turn_transport; -typedef struct pj_turn_permission pj_turn_permission; -typedef struct pj_turn_allocation pj_turn_allocation; -typedef struct pj_turn_srv pj_turn_srv; -typedef struct pj_turn_pkt pj_turn_pkt; - - -#define PJ_TURN_INVALID_LIS_ID ((unsigned)-1) - -/** - * Get transport type name string. - */ -PJ_DECL(const char*) pj_turn_tp_type_name(int tp_type); - -/** - * This structure describes TURN relay resource. An allocation allocates - * one relay resource, and optionally it may reserve another resource. - */ -struct pj_turn_relay_res -{ - /** Hash table key */ - struct { - /** Transport type. */ - int tp_type; - - /** Transport/relay address */ - pj_sockaddr addr; - } hkey; - - /** Allocation who requested or reserved this resource. */ - pj_turn_allocation *allocation; - - /** Username used in credential */ - pj_str_t user; - - /** Realm used in credential. */ - pj_str_t realm; - - /** Lifetime, in seconds. */ - unsigned lifetime; - - /** Relay/allocation expiration time */ - pj_time_val expiry; - - /** Timeout timer entry */ - pj_timer_entry timer; - - /** Transport. */ - struct { - /** Transport/relay socket */ - pj_sock_t sock; - - /** Transport/relay ioqueue */ - pj_ioqueue_key_t *key; - - /** Read operation key. */ - pj_ioqueue_op_key_t read_key; - - /** The incoming packet buffer */ - char rx_pkt[PJ_TURN_MAX_PKT_LEN]; - - /** Source address of the packet. */ - pj_sockaddr src_addr; - - /** Source address length */ - int src_addr_len; - - /** The outgoing packet buffer. This must be 3wbit aligned. */ - char tx_pkt[PJ_TURN_MAX_PKT_LEN+4]; - } tp; -}; - - -/****************************************************************************/ -/* - * TURN Allocation API - */ - -/** - * This structure describes key to lookup TURN allocations in the - * allocation hash table. - */ -typedef struct pj_turn_allocation_key -{ - int tp_type; /**< Transport type. */ - pj_sockaddr clt_addr; /**< Client's address. */ -} pj_turn_allocation_key; - - -/** - * This structure describes TURN pj_turn_allocation session. - */ -struct pj_turn_allocation -{ - /** Hash table key to identify client. */ - pj_turn_allocation_key hkey; - - /** Pool for this allocation. */ - pj_pool_t *pool; - - /** Object name for logging identification */ - char *obj_name; - - /** Client info (IP address and port) */ - char info[80]; - - /** Mutex */ - pj_lock_t *lock; - - /** Server instance. */ - pj_turn_srv *server; - - /** Transport to send/receive packets to/from client. */ - pj_turn_transport *transport; - - /** The relay resource for this allocation. */ - pj_turn_relay_res relay; - - /** Relay resource reserved by this allocation, if any */ - pj_turn_relay_res *resv; - - /** Requested bandwidth */ - unsigned bandwidth; - - /** STUN session for this client */ - pj_stun_session *sess; - - /** Credential for this STUN session. */ - pj_stun_auth_cred cred; - - /** Peer hash table (keyed by peer address) */ - pj_hash_table_t *peer_table; - - /** Channel hash table (keyed by channel number) */ - pj_hash_table_t *ch_table; -}; - - -/** - * This structure describes the hash table key to lookup TURN - * permission. - */ -typedef struct pj_turn_permission_key -{ - /** Peer address. */ - pj_sockaddr peer_addr; - -} pj_turn_permission_key; - - -/** - * This structure describes TURN pj_turn_permission or channel. - */ -struct pj_turn_permission -{ - /** Hash table key */ - pj_turn_permission_key hkey; - - /** TURN allocation that owns this permission/channel */ - pj_turn_allocation *allocation; - - /** Optional channel number, or PJ_TURN_INVALID_CHANNEL if channel number - * is not requested for this permission. - */ - pj_uint16_t channel; - - /** Permission expiration time. */ - pj_time_val expiry; -}; - -/** - * Create new allocation. - */ -PJ_DECL(pj_status_t) pj_turn_allocation_create(pj_turn_transport *transport, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len, - const pj_stun_rx_data *rdata, - pj_stun_session *srv_sess, - pj_turn_allocation **p_alloc); -/** - * Destroy allocation. - */ -PJ_DECL(void) pj_turn_allocation_destroy(pj_turn_allocation *alloc); - - -/** - * Handle incoming packet from client. - */ -PJ_DECL(void) pj_turn_allocation_on_rx_client_pkt(pj_turn_allocation *alloc, - pj_turn_pkt *pkt); - -/** - * Handle transport closure. - */ -PJ_DECL(void) pj_turn_allocation_on_transport_closed(pj_turn_allocation *alloc, - pj_turn_transport *tp); - -/****************************************************************************/ -/* - * TURN Listener API - */ - -/** - * This structure describes TURN listener socket. A TURN listener socket - * listens for incoming connections from clients. - */ -struct pj_turn_listener -{ - /** Object name/identification */ - char *obj_name; - - /** Slightly longer info about this listener */ - char info[80]; - - /** TURN server instance. */ - pj_turn_srv *server; - - /** Listener index in the server */ - unsigned id; - - /** Pool for this listener. */ - pj_pool_t *pool; - - /** Transport type. */ - int tp_type; - - /** Bound address of this listener. */ - pj_sockaddr addr; - - /** Socket. */ - pj_sock_t sock; - - /** Flags. */ - unsigned flags; - - /** Destroy handler */ - pj_status_t (*destroy)(pj_turn_listener*); -}; - - -/** - * This structure describes TURN transport socket which is used to send and - * receive packets towards client. - */ -struct pj_turn_transport -{ - /** Object name/identification */ - char *obj_name; - - /** Slightly longer info about this listener */ - char *info; - - /** Listener instance */ - pj_turn_listener *listener; - - /** Sendto handler */ - pj_status_t (*sendto)(pj_turn_transport *tp, - const void *packet, - pj_size_t size, - unsigned flag, - const pj_sockaddr_t *addr, - int addr_len); - - /** Addref handler */ - void (*add_ref)(pj_turn_transport *tp, - pj_turn_allocation *alloc); - - /** Decref handler */ - void (*dec_ref)(pj_turn_transport *tp, - pj_turn_allocation *alloc); - -}; - - -/** - * An incoming packet. - */ -struct pj_turn_pkt -{ - /** Pool for this packet */ - pj_pool_t *pool; - - /** Transport where the packet was received. */ - pj_turn_transport *transport; - - /** Packet buffer (must be 32bit aligned). */ - pj_uint8_t pkt[PJ_TURN_MAX_PKT_LEN]; - - /** Size of the packet */ - pj_size_t len; - - /** Arrival time. */ - pj_time_val rx_time; - - /** Source transport type and source address. */ - pj_turn_allocation_key src; - - /** Source address length. */ - int src_addr_len; -}; - - -/** - * Create a UDP listener on the specified port. - */ -PJ_DECL(pj_status_t) pj_turn_listener_create_udp(pj_turn_srv *srv, - int af, - const pj_str_t *bound_addr, - unsigned port, - unsigned concurrency_cnt, - unsigned flags, - pj_turn_listener **p_lis); - -/** - * Create a TCP listener on the specified port. - */ -PJ_DECL(pj_status_t) pj_turn_listener_create_tcp(pj_turn_srv *srv, - int af, - const pj_str_t *bound_addr, - unsigned port, - unsigned concurrency_cnt, - unsigned flags, - pj_turn_listener **p_lis); - -/** - * Destroy listener. - */ -PJ_DECL(pj_status_t) pj_turn_listener_destroy(pj_turn_listener *listener); - - -/** - * Add a reference to a transport. - */ -PJ_DECL(void) pj_turn_transport_add_ref(pj_turn_transport *transport, - pj_turn_allocation *alloc); - - -/** - * Decrement transport reference counter. - */ -PJ_DECL(void) pj_turn_transport_dec_ref(pj_turn_transport *transport, - pj_turn_allocation *alloc); - - - -/****************************************************************************/ -/* - * TURN Server API - */ -/** - * This structure describes TURN pj_turn_srv instance. - */ -struct pj_turn_srv -{ - /** Object name */ - char *obj_name; - - /** Core settings */ - struct { - /** Pool factory */ - pj_pool_factory *pf; - - /** Pool for this server instance. */ - pj_pool_t *pool; - - /** Global Ioqueue */ - pj_ioqueue_t *ioqueue; - - /** Mutex */ - pj_lock_t *lock; - - /** Global timer heap instance. */ - pj_timer_heap_t *timer_heap; - - /** Number of listeners */ - unsigned lis_cnt; - - /** Array of listeners. */ - pj_turn_listener **listener; - - /** STUN session to handle initial Allocate request. */ - pj_stun_session *stun_sess; - - /** Number of worker threads. */ - unsigned thread_cnt; - - /** Array of worker threads. */ - pj_thread_t **thread; - - /** Thread quit signal */ - pj_bool_t quit; - - /** STUN config. */ - pj_stun_config stun_cfg; - - /** STUN auth credential. */ - pj_stun_auth_cred cred; - - /** Thread local ID for storing credential */ - long tls_key, tls_data; - - } core; - - - /** Hash tables */ - struct { - /** Allocations hash table, indexed by transport type and - * client address. - */ - pj_hash_table_t *alloc; - - /** Relay resource hash table, indexed by transport type and - * relay address. - */ - pj_hash_table_t *res; - - } tables; - - /** Ports settings */ - struct { - /** Minimum UDP port number. */ - pj_uint16_t min_udp; - - /** Maximum UDP port number. */ - pj_uint16_t max_udp; - - /** Next UDP port number. */ - pj_uint16_t next_udp; - - - /** Minimum TCP port number. */ - pj_uint16_t min_tcp; - - /** Maximum TCP port number. */ - pj_uint16_t max_tcp; - - /** Next TCP port number. */ - pj_uint16_t next_tcp; - - } ports; -}; - - -/** - * Create server. - */ -PJ_DECL(pj_status_t) pj_turn_srv_create(pj_pool_factory *pf, - pj_turn_srv **p_srv); - -/** - * Destroy server. - */ -PJ_DECL(pj_status_t) pj_turn_srv_destroy(pj_turn_srv *srv); - -/** - * Add listener. - */ -PJ_DECL(pj_status_t) pj_turn_srv_add_listener(pj_turn_srv *srv, - pj_turn_listener *lis); - -/** - * Register an allocation. - */ -PJ_DECL(pj_status_t) pj_turn_srv_register_allocation(pj_turn_srv *srv, - pj_turn_allocation *alloc); - -/** - * Unregister an allocation. - */ -PJ_DECL(pj_status_t) pj_turn_srv_unregister_allocation(pj_turn_srv *srv, - pj_turn_allocation *alloc); - -/** - * This callback is called by UDP listener on incoming packet. - */ -PJ_DECL(void) pj_turn_srv_on_rx_pkt(pj_turn_srv *srv, - pj_turn_pkt *pkt); - - -#endif /* __PJ_TURN_SRV_TURN_H__ */ - diff --git a/res/pjproject/pjproject-vs8.sln b/res/pjproject/pjproject-vs8.sln deleted file mode 100644 index a584383cb2..0000000000 --- a/res/pjproject/pjproject-vs8.sln +++ /dev/null @@ -1,3003 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pjlib", "pjlib\build\pjlib.vcproj", "{DA0E03ED-53A7-4050-8A85-90541C5509F8}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pjlib_test", "pjlib\build\pjlib_test.vcproj", "{6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}" - ProjectSection(ProjectDependencies) = postProject - {23D7679C-764C-4E02-8B29-BB882CEEEFE2} = {23D7679C-764C-4E02-8B29-BB882CEEEFE2} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pjlib_util", "pjlib-util\build\pjlib_util.vcproj", "{FE07F272-AE7F-4549-9E9F-EF9B80CB1693}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pjlib_util_test", "pjlib-util\build\pjlib_util_test.vcproj", "{ED02BE13-8297-4770-8097-27DC2CCABF9A}" - ProjectSection(ProjectDependencies) = postProject - {23D7679C-764C-4E02-8B29-BB882CEEEFE2} = {23D7679C-764C-4E02-8B29-BB882CEEEFE2} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pjmedia", "pjmedia\build\pjmedia.vcproj", "{7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pjmedia_codec", "pjmedia\build\pjmedia_codec.vcproj", "{855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pjsip_core", "pjsip\build\pjsip_core.vcproj", "{2BB84911-C1B4-4747-B93D-36AA82CC5031}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pjsip_simple", "pjsip\build\pjsip_simple.vcproj", "{4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pjsip_ua", "pjsip\build\pjsip_ua.vcproj", "{B8719FD5-E8A6-4A36-943C-891D07F5DD21}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pjsua", "pjsip-apps\build\pjsua.vcproj", "{8310649E-A25E-4AF0-91E8-9E3CC659BB89}" - ProjectSection(ProjectDependencies) = postProject - {23D7679C-764C-4E02-8B29-BB882CEEEFE2} = {23D7679C-764C-4E02-8B29-BB882CEEEFE2} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pjsua_lib", "pjsip\build\pjsua_lib.vcproj", "{9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sample_debug", "pjsip-apps\build\sample_debug.vcproj", "{A0F1AA62-0F6F-420D-B09A-AC04B6862821}" - ProjectSection(ProjectDependencies) = postProject - {23D7679C-764C-4E02-8B29-BB882CEEEFE2} = {23D7679C-764C-4E02-8B29-BB882CEEEFE2} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pjnath", "pjnath\build\pjnath.vcproj", "{A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libgsmcodec", "third_party\build\gsm\libgsmcodec.vcproj", "{E53AA5FF-B737-40AA-BD13-387EFA99023D}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libilbccodec", "third_party\build\ilbc\libilbccodec.vcproj", "{B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libportaudio", "third_party\build\portaudio\libportaudio.vcproj", "{3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libresample", "third_party\build\resample\libresample.vcproj", "{6794B975-4E84-4F49-B2DC-C31F2224E03E}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libspeex", "third_party\build\speex\libspeex.vcproj", "{4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libmilenage", "third_party\build\milenage\libmilenage.vcproj", "{4BF51C21-5A30-423B-82FE-1ED410E5769D}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libsrtp", "third_party\build\srtp\libsrtp.vcproj", "{F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pjnath_test", "pjnath\build\pjnath_test.vcproj", "{553C094C-F581-4A80-9540-D5D7B398A2C6}" - ProjectSection(ProjectDependencies) = postProject - {23D7679C-764C-4E02-8B29-BB882CEEEFE2} = {23D7679C-764C-4E02-8B29-BB882CEEEFE2} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pjmedia_test", "pjmedia\build\pjmedia_test.vcproj", "{21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}" - ProjectSection(ProjectDependencies) = postProject - {23D7679C-764C-4E02-8B29-BB882CEEEFE2} = {23D7679C-764C-4E02-8B29-BB882CEEEFE2} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pjmedia_audiodev", "pjmedia\build\pjmedia_audiodev.vcproj", "{4281CA5E-1D48-45D4-A991-2718A454B4BA}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libg7221codec", "third_party\build\g7221\libg7221codec.vcproj", "{2A3F241E-682C-47E1-9543-DC28708B406A}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{1DFF1CF3-DBD7-4DA4-A36D-663D695EB678}" - ProjectSection(SolutionItems) = preProject - build\vs\pjproject-vs8-common-defaults.vsprops = build\vs\pjproject-vs8-common-defaults.vsprops - build\vs\pjproject-vs8-debug-defaults.vsprops = build\vs\pjproject-vs8-debug-defaults.vsprops - build\vs\pjproject-vs8-debug-dynamic-defaults.vsprops = build\vs\pjproject-vs8-debug-dynamic-defaults.vsprops - build\vs\pjproject-vs8-debug-static-defaults.vsprops = build\vs\pjproject-vs8-debug-static-defaults.vsprops - build\vs\pjproject-vs8-release-defaults.vsprops = build\vs\pjproject-vs8-release-defaults.vsprops - build\vs\pjproject-vs8-release-dynamic-defaults.vsprops = build\vs\pjproject-vs8-release-dynamic-defaults.vsprops - build\vs\pjproject-vs8-release-static-defaults.vsprops = build\vs\pjproject-vs8-release-static-defaults.vsprops - build\vs\pjproject-vs8-win32-common-defaults.vsprops = build\vs\pjproject-vs8-win32-common-defaults.vsprops - build\vs\pjproject-vs8-win32-release-defaults.vsprops = build\vs\pjproject-vs8-win32-release-defaults.vsprops - build\vs\pjproject-vs8-wm2003-common-defaults.vsprops = build\vs\pjproject-vs8-wm2003-common-defaults.vsprops - build\vs\pjproject-vs8-wm2003-release-defaults.vsprops = build\vs\pjproject-vs8-wm2003-release-defaults.vsprops - build\vs\pjproject-vs8-wm5-common-defaults.vsprops = build\vs\pjproject-vs8-wm5-common-defaults.vsprops - build\vs\pjproject-vs8-wm5-release-defaults.vsprops = build\vs\pjproject-vs8-wm5-release-defaults.vsprops - build\vs\pjproject-vs8-wm6-common-defaults.vsprops = build\vs\pjproject-vs8-wm6-common-defaults.vsprops - build\vs\pjproject-vs8-wm6-release-defaults.vsprops = build\vs\pjproject-vs8-wm6-release-defaults.vsprops - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "samples", "pjsip-apps\build\samples.vcproj", "{E378A1FC-0C9C-4462-860F-7E60BC1BF84E}" - ProjectSection(ProjectDependencies) = postProject - {23D7679C-764C-4E02-8B29-BB882CEEEFE2} = {23D7679C-764C-4E02-8B29-BB882CEEEFE2} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pjsip_test", "pjsip\build\pjsip_test.vcproj", "{B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}" - ProjectSection(ProjectDependencies) = postProject - {23D7679C-764C-4E02-8B29-BB882CEEEFE2} = {23D7679C-764C-4E02-8B29-BB882CEEEFE2} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PocketPJ", "pjsip-apps\src\pocketpj\PocketPJ.vcproj", "{48450961-D0DF-4B59-BD8D-39455AA02DF8}" - ProjectSection(ProjectDependencies) = postProject - {23D7679C-764C-4E02-8B29-BB882CEEEFE2} = {23D7679C-764C-4E02-8B29-BB882CEEEFE2} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pjsua_wince", "pjsip-apps\src\pjsua_wince\pjsua_wince.vcproj", "{C014B29B-4A42-414B-B567-988469F032D8}" - ProjectSection(ProjectDependencies) = postProject - {23D7679C-764C-4E02-8B29-BB882CEEEFE2} = {23D7679C-764C-4E02-8B29-BB882CEEEFE2} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libpjproject", "pjsip-apps\build\libpjproject.vcproj", "{23D7679C-764C-4E02-8B29-BB882CEEEFE2}" - ProjectSection(ProjectDependencies) = postProject - {2BB84911-C1B4-4747-B93D-36AA82CC5031} = {2BB84911-C1B4-4747-B93D-36AA82CC5031} - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA} = {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA} - {2A3F241E-682C-47E1-9543-DC28708B406A} = {2A3F241E-682C-47E1-9543-DC28708B406A} - {4BF51C21-5A30-423B-82FE-1ED410E5769D} = {4BF51C21-5A30-423B-82FE-1ED410E5769D} - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4} = {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4} - {4281CA5E-1D48-45D4-A991-2718A454B4BA} = {4281CA5E-1D48-45D4-A991-2718A454B4BA} - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693} = {FE07F272-AE7F-4549-9E9F-EF9B80CB1693} - {6794B975-4E84-4F49-B2DC-C31F2224E03E} = {6794B975-4E84-4F49-B2DC-C31F2224E03E} - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65} = {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65} - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA} = {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA} - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9} = {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9} - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B} = {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B} - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0} = {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0} - {B8719FD5-E8A6-4A36-943C-891D07F5DD21} = {B8719FD5-E8A6-4A36-943C-891D07F5DD21} - {DA0E03ED-53A7-4050-8A85-90541C5509F8} = {DA0E03ED-53A7-4050-8A85-90541C5509F8} - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D} = {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D} - {E53AA5FF-B737-40AA-BD13-387EFA99023D} = {E53AA5FF-B737-40AA-BD13-387EFA99023D} - {A1989FF3-9894-40F4-B5A6-6EA364476E45} = {A1989FF3-9894-40F4-B5A6-6EA364476E45} - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858} = {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858} - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37} = {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "python_pjsua", "pjsip-apps\build\python_pjsua.vcproj", "{0C91838B-3372-40B4-A764-DE075A4BC94B}" - ProjectSection(ProjectDependencies) = postProject - {23D7679C-764C-4E02-8B29-BB882CEEEFE2} = {23D7679C-764C-4E02-8B29-BB882CEEEFE2} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pjsystest", "pjsip-apps\build\pjsystest.vcproj", "{5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}" - ProjectSection(ProjectDependencies) = postProject - {23D7679C-764C-4E02-8B29-BB882CEEEFE2} = {23D7679C-764C-4E02-8B29-BB882CEEEFE2} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pjmedia_videodev", "pjmedia\build\pjmedia_videodev.vcproj", "{A1989FF3-9894-40F4-B5A6-6EA364476E45}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libbaseclasses", "third_party\build\baseclasses\libbaseclasses.vcproj", "{E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Pocket PC 2003 (ARMV4) = Debug|Pocket PC 2003 (ARMV4) - Debug|Smartphone 2003 (ARMV4) = Debug|Smartphone 2003 (ARMV4) - Debug|Win32 = Debug|Win32 - Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - Debug|Windows Mobile 6 Professional SDK (ARMV4I) = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - Debug|Windows Mobile 6 Standard SDK (ARMV4I) = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - Debug-Dynamic|Pocket PC 2003 (ARMV4) = Debug-Dynamic|Pocket PC 2003 (ARMV4) - Debug-Dynamic|Smartphone 2003 (ARMV4) = Debug-Dynamic|Smartphone 2003 (ARMV4) - Debug-Dynamic|Win32 = Debug-Dynamic|Win32 - Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - Debug-Static|Pocket PC 2003 (ARMV4) = Debug-Static|Pocket PC 2003 (ARMV4) - Debug-Static|Smartphone 2003 (ARMV4) = Debug-Static|Smartphone 2003 (ARMV4) - Debug-Static|Win32 = Debug-Static|Win32 - Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - Release|Pocket PC 2003 (ARMV4) = Release|Pocket PC 2003 (ARMV4) - Release|Smartphone 2003 (ARMV4) = Release|Smartphone 2003 (ARMV4) - Release|Win32 = Release|Win32 - Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - Release|Windows Mobile 6 Professional SDK (ARMV4I) = Release|Windows Mobile 6 Professional SDK (ARMV4I) - Release|Windows Mobile 6 Standard SDK (ARMV4I) = Release|Windows Mobile 6 Standard SDK (ARMV4I) - Release-Dynamic|Pocket PC 2003 (ARMV4) = Release-Dynamic|Pocket PC 2003 (ARMV4) - Release-Dynamic|Smartphone 2003 (ARMV4) = Release-Dynamic|Smartphone 2003 (ARMV4) - Release-Dynamic|Win32 = Release-Dynamic|Win32 - Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - Release-Static|Pocket PC 2003 (ARMV4) = Release-Static|Pocket PC 2003 (ARMV4) - Release-Static|Smartphone 2003 (ARMV4) = Release-Static|Smartphone 2003 (ARMV4) - Release-Static|Win32 = Release-Static|Win32 - Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug|Win32.ActiveCfg = Debug|Win32 - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug|Win32.Build.0 = Debug|Win32 - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release|Win32.ActiveCfg = Release|Win32 - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release|Win32.Build.0 = Release|Win32 - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {DA0E03ED-53A7-4050-8A85-90541C5509F8}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Debug|Pocket PC 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug|Smartphone 2003 (ARMV4).Deploy.0 = Debug|Smartphone 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug|Win32.ActiveCfg = Debug|Win32 - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug|Win32.Build.0 = Debug|Win32 - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Deploy.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Dynamic|Smartphone 2003 (ARMV4).Deploy.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Static|Smartphone 2003 (ARMV4).Deploy.0 = Debug-Static|Smartphone 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release|Pocket PC 2003 (ARMV4).Deploy.0 = Release|Pocket PC 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release|Smartphone 2003 (ARMV4).Deploy.0 = Release|Smartphone 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release|Win32.ActiveCfg = Release|Win32 - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release|Win32.Build.0 = Release|Win32 - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Dynamic|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Dynamic|Smartphone 2003 (ARMV4).Deploy.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Static|Smartphone 2003 (ARMV4).Deploy.0 = Release-Static|Smartphone 2003 (ARMV4) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {6AC3EF61-5A9E-4F43-A809-5B2FD1A43B16}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug|Win32.ActiveCfg = Debug|Win32 - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug|Win32.Build.0 = Debug|Win32 - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release|Win32.ActiveCfg = Release|Win32 - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release|Win32.Build.0 = Release|Win32 - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {FE07F272-AE7F-4549-9E9F-EF9B80CB1693}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Debug|Pocket PC 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug|Smartphone 2003 (ARMV4).Deploy.0 = Debug|Smartphone 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug|Win32.ActiveCfg = Debug|Win32 - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug|Win32.Build.0 = Debug|Win32 - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Deploy.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Dynamic|Smartphone 2003 (ARMV4).Deploy.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Static|Smartphone 2003 (ARMV4).Deploy.0 = Debug-Static|Smartphone 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release|Pocket PC 2003 (ARMV4).Deploy.0 = Release|Pocket PC 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release|Smartphone 2003 (ARMV4).Deploy.0 = Release|Smartphone 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release|Win32.ActiveCfg = Release|Win32 - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release|Win32.Build.0 = Release|Win32 - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Dynamic|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Dynamic|Smartphone 2003 (ARMV4).Deploy.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Static|Smartphone 2003 (ARMV4).Deploy.0 = Release-Static|Smartphone 2003 (ARMV4) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {ED02BE13-8297-4770-8097-27DC2CCABF9A}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug|Win32.ActiveCfg = Debug|Win32 - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug|Win32.Build.0 = Debug|Win32 - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release|Win32.ActiveCfg = Release|Win32 - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release|Win32.Build.0 = Release|Win32 - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {7FDE3880-A4AB-49E3-B439-EBEF0A0C7A65}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug|Win32.ActiveCfg = Debug|Win32 - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug|Win32.Build.0 = Debug|Win32 - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release|Win32.ActiveCfg = Release|Win32 - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release|Win32.Build.0 = Release|Win32 - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {855DC8C0-D3E9-4A2E-AE47-116605A7BC9B}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug|Win32.ActiveCfg = Debug|Win32 - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug|Win32.Build.0 = Debug|Win32 - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release|Win32.ActiveCfg = Release|Win32 - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release|Win32.Build.0 = Release|Win32 - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {2BB84911-C1B4-4747-B93D-36AA82CC5031}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug|Win32.ActiveCfg = Debug|Win32 - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug|Win32.Build.0 = Debug|Win32 - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release|Win32.ActiveCfg = Release|Win32 - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release|Win32.Build.0 = Release|Win32 - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {4B5945CD-0CB3-49AA-A7FF-7612D93F82C0}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug|Win32.ActiveCfg = Debug|Win32 - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug|Win32.Build.0 = Debug|Win32 - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release|Win32.ActiveCfg = Release|Win32 - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release|Win32.Build.0 = Release|Win32 - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {B8719FD5-E8A6-4A36-943C-891D07F5DD21}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug|Win32.ActiveCfg = Debug|Win32 - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug|Win32.Build.0 = Debug|Win32 - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release|Win32.ActiveCfg = Release|Win32 - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release|Win32.Build.0 = Release|Win32 - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {8310649E-A25E-4AF0-91E8-9E3CC659BB89}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug|Win32.ActiveCfg = Debug|Win32 - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug|Win32.Build.0 = Debug|Win32 - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release|Win32.ActiveCfg = Release|Win32 - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release|Win32.Build.0 = Release|Win32 - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {9CA0FDFB-2172-41FC-B7F1-5CE915EDCB37}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug|Win32.ActiveCfg = Debug|Win32 - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug|Win32.Build.0 = Debug|Win32 - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release|Win32.ActiveCfg = Release|Win32 - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release|Win32.Build.0 = Release|Win32 - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {A0F1AA62-0F6F-420D-B09A-AC04B6862821}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug|Win32.ActiveCfg = Debug|Win32 - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug|Win32.Build.0 = Debug|Win32 - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release|Win32.ActiveCfg = Release|Win32 - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release|Win32.Build.0 = Release|Win32 - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {A5D9AA24-08ED-48B9-BD65-F0A25E96BFC4}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug|Win32.ActiveCfg = Debug|Win32 - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug|Win32.Build.0 = Debug|Win32 - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release|Win32.ActiveCfg = Release|Win32 - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release|Win32.Build.0 = Release|Win32 - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {E53AA5FF-B737-40AA-BD13-387EFA99023D}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug|Win32.ActiveCfg = Debug|Win32 - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug|Win32.Build.0 = Debug|Win32 - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release|Win32.ActiveCfg = Release|Win32 - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release|Win32.Build.0 = Release|Win32 - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {B5FE16F8-3EDB-4110-BD80-B4238CC01E8D}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug|Win32.ActiveCfg = Debug|Win32 - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug|Win32.Build.0 = Debug|Win32 - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release|Win32.ActiveCfg = Release|Win32 - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release|Win32.Build.0 = Release|Win32 - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {3CF9FFA9-8387-4635-9D1B-E7944CBEFEAA}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug|Win32.ActiveCfg = Debug|Win32 - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug|Win32.Build.0 = Debug|Win32 - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release|Win32.ActiveCfg = Release|Win32 - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release|Win32.Build.0 = Release|Win32 - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {6794B975-4E84-4F49-B2DC-C31F2224E03E}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug|Win32.ActiveCfg = Debug|Win32 - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug|Win32.Build.0 = Debug|Win32 - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release|Win32.ActiveCfg = Release|Win32 - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release|Win32.Build.0 = Release|Win32 - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {4B059DBA-CD9C-4D0F-BE8C-FFB4EFD498E9}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug|Win32.ActiveCfg = Debug|Win32 - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug|Win32.Build.0 = Debug|Win32 - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release|Win32.ActiveCfg = Release|Win32 - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release|Win32.Build.0 = Release|Win32 - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {4BF51C21-5A30-423B-82FE-1ED410E5769D}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug|Win32.ActiveCfg = Debug|Win32 - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug|Win32.Build.0 = Debug|Win32 - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release|Win32.ActiveCfg = Release|Win32 - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release|Win32.Build.0 = Release|Win32 - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {F0DBAA03-1BA3-4E3B-A2CA-727E3D3AB858}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Debug|Pocket PC 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug|Smartphone 2003 (ARMV4).Deploy.0 = Debug|Smartphone 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug|Win32.ActiveCfg = Debug|Win32 - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug|Win32.Build.0 = Debug|Win32 - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Deploy.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Dynamic|Smartphone 2003 (ARMV4).Deploy.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Static|Smartphone 2003 (ARMV4).Deploy.0 = Debug-Static|Smartphone 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release|Pocket PC 2003 (ARMV4).Deploy.0 = Release|Pocket PC 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release|Smartphone 2003 (ARMV4).Deploy.0 = Release|Smartphone 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release|Win32.ActiveCfg = Release|Win32 - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release|Win32.Build.0 = Release|Win32 - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Dynamic|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Dynamic|Smartphone 2003 (ARMV4).Deploy.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Static|Smartphone 2003 (ARMV4).Deploy.0 = Release-Static|Smartphone 2003 (ARMV4) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {553C094C-F581-4A80-9540-D5D7B398A2C6}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Debug|Pocket PC 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug|Smartphone 2003 (ARMV4).Deploy.0 = Debug|Smartphone 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug|Win32.ActiveCfg = Debug|Win32 - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug|Win32.Build.0 = Debug|Win32 - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Deploy.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Dynamic|Smartphone 2003 (ARMV4).Deploy.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Static|Smartphone 2003 (ARMV4).Deploy.0 = Debug-Static|Smartphone 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release|Pocket PC 2003 (ARMV4).Deploy.0 = Release|Pocket PC 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release|Smartphone 2003 (ARMV4).Deploy.0 = Release|Smartphone 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release|Win32.ActiveCfg = Release|Win32 - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release|Win32.Build.0 = Release|Win32 - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Dynamic|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Dynamic|Smartphone 2003 (ARMV4).Deploy.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Static|Smartphone 2003 (ARMV4).Deploy.0 = Release-Static|Smartphone 2003 (ARMV4) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug|Win32.ActiveCfg = Debug|Win32 - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug|Win32.Build.0 = Debug|Win32 - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release|Win32.ActiveCfg = Release|Win32 - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release|Win32.Build.0 = Release|Win32 - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {4281CA5E-1D48-45D4-A991-2718A454B4BA}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug|Win32.ActiveCfg = Debug|Win32 - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug|Win32.Build.0 = Debug|Win32 - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release|Win32.ActiveCfg = Release|Win32 - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release|Win32.Build.0 = Release|Win32 - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {2A3F241E-682C-47E1-9543-DC28708B406A}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug|Win32.ActiveCfg = Debug|Win32 - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug|Win32.Build.0 = Debug|Win32 - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release|Win32.ActiveCfg = Release|Win32 - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release|Win32.Build.0 = Release|Win32 - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {E378A1FC-0C9C-4462-860F-7E60BC1BF84E}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Debug|Pocket PC 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug|Smartphone 2003 (ARMV4).Deploy.0 = Debug|Smartphone 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug|Win32.ActiveCfg = Debug|Win32 - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug|Win32.Build.0 = Debug|Win32 - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Deploy.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Dynamic|Smartphone 2003 (ARMV4).Deploy.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Static|Smartphone 2003 (ARMV4).Deploy.0 = Debug-Static|Smartphone 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release|Pocket PC 2003 (ARMV4).Deploy.0 = Release|Pocket PC 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release|Smartphone 2003 (ARMV4).Deploy.0 = Release|Smartphone 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release|Win32.ActiveCfg = Release|Win32 - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release|Win32.Build.0 = Release|Win32 - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Dynamic|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Dynamic|Smartphone 2003 (ARMV4).Deploy.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Static|Smartphone 2003 (ARMV4).Deploy.0 = Release-Static|Smartphone 2003 (ARMV4) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Debug|Pocket PC 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug|Win32.ActiveCfg = Debug|Win32 - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Deploy.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Static|Win32.ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release|Pocket PC 2003 (ARMV4).Deploy.0 = Release|Pocket PC 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release|Win32.ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Dynamic|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Static|Win32.ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {48450961-D0DF-4B59-BD8D-39455AA02DF8}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Debug|Pocket PC 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug|Smartphone 2003 (ARMV4).Deploy.0 = Debug|Smartphone 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug|Win32.ActiveCfg = Debug|Win32 - {C014B29B-4A42-414B-B567-988469F032D8}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Deploy.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Dynamic|Smartphone 2003 (ARMV4).Deploy.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Static|Smartphone 2003 (ARMV4).Deploy.0 = Debug-Static|Smartphone 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Static|Win32.ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Release|Pocket PC 2003 (ARMV4).Deploy.0 = Release|Pocket PC 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Release|Smartphone 2003 (ARMV4).Deploy.0 = Release|Smartphone 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Release|Win32.ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Dynamic|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Dynamic|Smartphone 2003 (ARMV4).Deploy.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Static|Smartphone 2003 (ARMV4).Deploy.0 = Release-Static|Smartphone 2003 (ARMV4) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Static|Win32.ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {C014B29B-4A42-414B-B567-988469F032D8}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug|Win32.ActiveCfg = Debug|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug|Win32.Build.0 = Debug|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release|Win32.ActiveCfg = Release|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release|Win32.Build.0 = Release|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Win32 - {23D7679C-764C-4E02-8B29-BB882CEEEFE2}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug|Win32.ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug-Dynamic|Win32.ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug-Static|Win32.ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release|Win32.ActiveCfg = Release|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release-Dynamic|Win32.ActiveCfg = Release|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release-Static|Win32.ActiveCfg = Release|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Win32 - {0C91838B-3372-40B4-A764-DE075A4BC94B}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Win32 - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug|Win32.ActiveCfg = Debug|Win32 - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug|Win32.Build.0 = Debug|Win32 - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug-Dynamic|Win32.ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug-Static|Win32.ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release|Win32.ActiveCfg = Release|Win32 - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release|Win32.Build.0 = Release|Win32 - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release-Dynamic|Win32.ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release-Static|Win32.ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {5E507EA2-CB39-47CA-BD39-49EB58D7A0BB}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Debug|Pocket PC 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug|Smartphone 2003 (ARMV4).Deploy.0 = Debug|Smartphone 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug|Win32.ActiveCfg = Debug|Win32 - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug|Win32.Build.0 = Debug|Win32 - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Standard SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Dynamic|Pocket PC 2003 (ARMV4).Deploy.0 = Debug-Dynamic|Pocket PC 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Smartphone 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Dynamic|Smartphone 2003 (ARMV4).Deploy.0 = Debug-Dynamic|Smartphone 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Pocket PC 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Static|Pocket PC 2003 (ARMV4).Build.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Debug-Static|Pocket PC 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Smartphone 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Static|Smartphone 2003 (ARMV4).Build.0 = Debug-Static|Smartphone 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Static|Smartphone 2003 (ARMV4).Deploy.0 = Debug-Static|Smartphone 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release|Pocket PC 2003 (ARMV4).Deploy.0 = Release|Pocket PC 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release|Smartphone 2003 (ARMV4).Deploy.0 = Release|Smartphone 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release|Win32.ActiveCfg = Release|Win32 - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release|Win32.Build.0 = Release|Win32 - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Dynamic|Pocket PC 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Dynamic|Pocket PC 2003 (ARMV4).Build.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Dynamic|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Dynamic|Pocket PC 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release-Dynamic|Smartphone 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Dynamic|Smartphone 2003 (ARMV4).Build.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Dynamic|Smartphone 2003 (ARMV4).Deploy.0 = Release-Dynamic|Smartphone 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release-Static|Pocket PC 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Static|Pocket PC 2003 (ARMV4).Build.0 = Release-Static|Pocket PC 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Static|Pocket PC 2003 (ARMV4).Deploy.0 = Release-Static|Pocket PC 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release-Static|Smartphone 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Static|Smartphone 2003 (ARMV4).Build.0 = Release-Static|Smartphone 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Static|Smartphone 2003 (ARMV4).Deploy.0 = Release-Static|Smartphone 2003 (ARMV4) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 6 Professional SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {A1989FF3-9894-40F4-B5A6-6EA364476E45}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release-Static|Windows Mobile 6 Standard SDK (ARMV4I) - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug|Win32.ActiveCfg = Debug|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug|Win32.Build.0 = Debug|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Dynamic|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug-Dynamic|Win32.ActiveCfg = Debug-Dynamic|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug-Dynamic|Win32.Build.0 = Debug-Dynamic|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Dynamic|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Debug-Static|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug-Static|Smartphone 2003 (ARMV4).ActiveCfg = Debug-Static|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug-Static|Win32.ActiveCfg = Debug-Static|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug-Static|Win32.Build.0 = Debug-Static|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug-Static|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug-Static|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug-Static|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Debug-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug-Static|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release|Win32.ActiveCfg = Release|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release|Win32.Build.0 = Release|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release-Dynamic|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release-Dynamic|Smartphone 2003 (ARMV4).ActiveCfg = Release|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release-Dynamic|Win32.ActiveCfg = Release-Dynamic|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release-Dynamic|Win32.Build.0 = Release-Dynamic|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release-Dynamic|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release-Dynamic|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release-Dynamic|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release-Dynamic|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release-Static|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release-Static|Smartphone 2003 (ARMV4).ActiveCfg = Release|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release-Static|Win32.ActiveCfg = Release-Static|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release-Static|Win32.Build.0 = Release-Static|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release-Static|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release-Static|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release-Static|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Win32 - {E8A3F6FA-AE1C-4C8E-A0B6-9C8480324EAA}.Release-Static|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/res/pjproject/pjsip-apps/build/Footprint.mak b/res/pjproject/pjsip-apps/build/Footprint.mak deleted file mode 100644 index cc63179deb..0000000000 --- a/res/pjproject/pjsip-apps/build/Footprint.mak +++ /dev/null @@ -1,28 +0,0 @@ -# -# This file is used by get-footprint.py script to build samples/footprint.c -# to get the footprint report for PJSIP/PJMEDIA. -# -include ../../build.mak -include ../../build/common.mak - - -############################################################################### -# Gather all flags. -# -export _CFLAGS := $(APP_CFLAGS) $(CFLAGS) -export _CXXFLAGS:= $(_CFLAGS) - -export _LDFLAGS := $(APP_LDFLAGS) $(APP_LDLIBS) $(LDFLAGS) - -EXE := footprint.exe - -all: - $(APP_CC) -o $(EXE) ../src/samples/footprint.c $(FCFLAGS) $(_CFLAGS) $(_LDFLAGS) - $(CROSS_COMPILE)strip --strip-all $(EXE) - -clean: - rm -f $(EXE) - -print_name: - @echo $(MACHINE_NAME) $(OS_NAME) $(CROSS_COMPILE)$(CC_NAME) `$(CROSS_COMPILE)$(CC_NAME) -dumpversion` - diff --git a/res/pjproject/pjsip-apps/build/Makefile b/res/pjproject/pjsip-apps/build/Makefile deleted file mode 100644 index b5f4c8a63b..0000000000 --- a/res/pjproject/pjsip-apps/build/Makefile +++ /dev/null @@ -1,96 +0,0 @@ -include ../../build.mak -include $(PJDIR)/build/common.mak - - -RULES_MAK := $(PJDIR)/build/rules.mak - -PJLIB_LIB:=../../pjlib/lib/libpj-$(TARGET_NAME)$(LIBEXT) -PJLIB_UTIL_LIB:=../../pjlib-util/lib/libpjlib-util-$(TARGET_NAME)$(LIBEXT) -PJNATH_LIB:=../../pjnath/lib/libpjnath-$(TARGET_NAME)$(LIBEXT) -PJMEDIA_LIB:=../../pjmedia/lib/libpjmedia-$(TARGET_NAME)$(LIBEXT) -PJMEDIA_AUDIODEV_LIB:=../../pjmedia/lib/libpjmedia-audiodev-$(TARGET_NAME)$(LIBEXT) -PJMEDIA_CODEC_LIB:=../../pjmedia/lib/libpjmedia-codec-$(TARGET_NAME)$(LIBEXT) -PJSIP_LIB:=../../pjsip/lib/libpjsip-$(TARGET_NAME)$(LIBEXT) -PJSIP_UA_LIB:=../../pjsip/lib/libpjsip-ua-$(TARGET_NAME)$(LIBEXT) -PJSIP_SIMPLE_LIB:=../../pjsip/lib/libpjsip-simple-$(TARGET_NAME)$(LIBEXT) -PJSUA_LIB_LIB=../../pjsip/lib/libpjsua-$(TARGET_NAME)$(LIBEXT) - - -############################################################################### -# Gather all flags. -# -export _CFLAGS := $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \ - $(PJ_CFLAGS) $(CFLAGS) $(CC_INC)../../pjsip/include \ - $(CC_INC)../../pjlib/include \ - $(CC_INC)../../pjlib-util/include \ - $(CC_INC)../../pjnath/include \ - $(CC_INC)../../pjmedia/include -export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ - $(HOST_CXXFLAGS) $(CXXFLAGS) - -############################################################################### -# Defines for building PJSUA -# -export PJSUA_SRCDIR = ../src/pjsua -export PJSUA_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ - main.o pjsua_app.o -export PJSUA_CFLAGS += $(_CFLAGS) -export PJSUA_LDFLAGS += $(APP_LDFLAGS) $(APP_LDLIBS) $(LDFLAGS) -export PJSUA_EXE:=../bin/pjsua-$(TARGET_NAME)$(HOST_EXE) - - -############################################################################### -# Defines for building pjsystest -# -export PJSYSTEST_SRCDIR = ../src/pjsystest -export PJSYSTEST_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ - systest.o main_console.o -export PJSYSTEST_CFLAGS += $(_CFLAGS) -export PJSYSTEST_LDFLAGS += $(APP_LDFLAGS) $(APP_LDLIBS) $(LDFLAGS) -export PJSYSTEST_EXE:=../bin/pjsystest-$(TARGET_NAME)$(HOST_EXE) - - -export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT -############################################################################### -# Main entry -# -# -TARGETS := pjsua pjsystest samples - -all: $(TARGETS) - -doc: - -dep: depend -distclean: realclean - -.PHONY: dep depend clean realclean distclean -.PHONY: $(TARGETS) -.PHONY: $(PJSUA_EXE) $(PJSYSTEST_EXE) - -pjsua: $(PJSUA_EXE) -$(PJSUA_EXE): - $(MAKE) -f $(RULES_MAK) APP=PJSUA app=pjsua $(PJSUA_EXE) - -pjsystest: $(PJSYSTEST_EXE) -$(PJSYSTEST_EXE): - $(MAKE) -f $(RULES_MAK) APP=PJSYSTEST app=pjsystest $(PJSYSTEST_EXE) - -samples: - $(MAKE) -f Samples.mak - -.PHONY: ../lib/pjsua.ko -../lib/pjsua.ko: - $(MAKE) -f $(RULES_MAK) APP=PJSUA app=pjsua $@ - -clean depend realclean: - $(MAKE) -f $(RULES_MAK) APP=PJSUA app=pjsua $@ - $(MAKE) -f $(RULES_MAK) APP=PJSYSTEST app=pjsystest $@ - $(MAKE) -f Samples.mak $@ - @if test "$@" = "depend"; then \ - echo '$(PJSUA_EXE): $(APP_LIB_FILES)' >> .pjsua-$(TARGET_NAME).depend; \ - echo '$(PJSYSTEST_EXE): $(APP_LIB_FILES)' >> .pjsystest-$(TARGET_NAME).depend; \ - fi - - - diff --git a/res/pjproject/pjsip-apps/build/Samples-vc.mak b/res/pjproject/pjsip-apps/build/Samples-vc.mak deleted file mode 100644 index 279c78edfc..0000000000 --- a/res/pjproject/pjsip-apps/build/Samples-vc.mak +++ /dev/null @@ -1,116 +0,0 @@ - -LIBEXT = .lib - -TARGET = i386-win32-vc$(VC_VER)-$(BUILD_MODE) - -!if "$(BUILD_MODE)" == "debug" -BUILD_FLAGS = /MTd /Od /Zi /W4 -!elseif "$(BUILD_MODE)" == "debug-static" -BUILD_FLAGS = /MTd /Od /Zi /W4 -!elseif "$(BUILD_MODE)" == "debug-dynamic" -BUILD_FLAGS = /MDd /Od /Zi /W4 -!elseif "$(BUILD_MODE)" == "release-static" -BUILD_FLAGS = /Ox /MT /DNDEBUG /W4 -!else -BUILD_FLAGS = /Ox /MD /DNDEBUG /W4 -!endif - -PJLIB_LIB = ..\..\pjlib\lib\pjlib-$(TARGET)$(LIBEXT) -PJLIB_UTIL_LIB = ..\..\pjlib-util\lib\pjlib-util-$(TARGET)$(LIBEXT) -PJNATH_LIB = ..\..\pjnath\lib\pjnath-$(TARGET)$(LIBEXT) -PJMEDIA_LIB = ..\..\pjmedia\lib\pjmedia-$(TARGET)$(LIBEXT) -PJMEDIA_CODEC_LIB = ..\..\pjmedia\lib\pjmedia-codec-$(TARGET)$(LIBEXT) -PJMEDIA_AUDIODEV_LIB = ..\..\pjmedia\lib\pjmedia-audiodev-$(TARGET)$(LIBEXT) -PJMEDIA_VIDEODEV_LIB = ..\..\pjmedia\lib\pjmedia-videodev-$(TARGET)$(LIBEXT) -PJSIP_LIB = ..\..\pjsip\lib\pjsip-core-$(TARGET)$(LIBEXT) -PJSIP_UA_LIB = ..\..\pjsip\lib\pjsip-ua-$(TARGET)$(LIBEXT) -PJSIP_SIMPLE_LIB = ..\..\pjsip\lib\pjsip-simple-$(TARGET)$(LIBEXT) -PJSUA_LIB_LIB = ..\..\pjsip\lib\pjsua-lib-$(TARGET)$(LIBEXT) - -GSM_LIB = ..\..\third_party\lib\libgsmcodec-$(TARGET)$(LIBEXT) -ILBC_LIB = ..\..\third_party\lib\libilbccodec-$(TARGET)$(LIBEXT) -PORTAUDIO_LIB = ..\..\third_party\lib\libportaudio-$(TARGET)$(LIBEXT) -RESAMPLE_LIB = ..\..\third_party\lib\libresample-$(TARGET)$(LIBEXT) -SPEEX_LIB = ..\..\third_party\lib\libspeex-$(TARGET)$(LIBEXT) -SRTP_LIB = ..\..\third_party\lib\libsrtp-$(TARGET)$(LIBEXT) -G7221_LIB = ..\..\third_party\lib\libg7221codec-$(TARGET)$(LIBEXT) -BASECLASSES_LIB = ..\..\third_party\lib\libbaseclasses-$(TARGET)$(LIBEXT) - -THIRD_PARTY_LIBS = $(GSM_LIB) $(ILBC_LIB) $(PORTAUDIO_LIB) $(RESAMPLE_LIB) \ - $(SPEEX_LIB) $(SRTP_LIB) $(G7221_LIB) $(BASECLASSES_LIB) - -LIBS = $(PJSUA_LIB_LIB) $(PJSIP_UA_LIB) $(PJSIP_SIMPLE_LIB) \ - $(PJSIP_LIB) $(PJMEDIA_CODEC_LIB) $(PJMEDIA_AUDIODEV_LIB) \ - $(PJMEDIA_VIDEODEV_LIB) \ - $(PJMEDIA_LIB) $(PJNATH_LIB) $(PJLIB_UTIL_LIB) $(PJLIB_LIB) \ - $(THIRD_PARTY_LIBS) - -CFLAGS = /DPJ_WIN32=1 /DPJ_M_I386=1 \ - $(BUILD_FLAGS) \ - -I..\..\pjsip\include \ - -I..\..\pjlib\include \ - -I..\..\pjlib-util\include \ - -I..\..\pjmedia\include \ - -I..\..\pjnath/include -LDFLAGS = $(BUILD_FLAGS) $(LIBS) \ - Iphlpapi.lib ole32.lib user32.lib dsound.lib dxguid.lib netapi32.lib \ - mswsock.lib ws2_32.lib gdi32.lib advapi32.lib oleaut32.lib - -SRCDIR = ..\src\samples -OBJDIR = .\output\samples-$(TARGET) -BINDIR = ..\bin\samples\$(TARGET) - - -SAMPLES = $(BINDIR)\auddemo.exe \ - $(BINDIR)\aectest.exe \ - $(BINDIR)\aviplay.exe \ - $(BINDIR)\confsample.exe \ - $(BINDIR)\confbench.exe \ - $(BINDIR)\encdec.exe \ - $(BINDIR)\httpdemo.exe \ - $(BINDIR)\icedemo.exe \ - $(BINDIR)\jbsim.exe \ - $(BINDIR)\latency.exe \ - $(BINDIR)\level.exe \ - $(BINDIR)\mix.exe \ - $(BINDIR)\pcaputil.exe\ - $(BINDIR)\pjsip-perf.exe \ - $(BINDIR)\playfile.exe \ - $(BINDIR)\playsine.exe\ - $(BINDIR)\recfile.exe \ - $(BINDIR)\resampleplay.exe \ - $(BINDIR)\simpleua.exe \ - $(BINDIR)\simple_pjsua.exe \ - $(BINDIR)\sipecho.exe \ - $(BINDIR)\siprtp.exe \ - $(BINDIR)\sipstateless.exe \ - $(BINDIR)\stateful_proxy.exe \ - $(BINDIR)\stateless_proxy.exe \ - $(BINDIR)\stereotest.exe \ - $(BINDIR)\streamutil.exe \ - $(BINDIR)\strerror.exe \ - $(BINDIR)\tonegen.exe \ - $(BINDIR)\vid_streamutil.exe - - -all: $(BINDIR) $(OBJDIR) $(SAMPLES) - -$(SAMPLES): $(SRCDIR)\$(@B).c $(LIBS) $(SRCDIR)\util.h Samples-vc.mak - cl -nologo -c $(SRCDIR)\$(@B).c /Fo$(OBJDIR)\$(@B).obj $(CFLAGS) - cl /nologo $(OBJDIR)\$(@B).obj /Fe$@ /Fm$(OBJDIR)\$(@B).map $(LDFLAGS) - @rem the following two lines is just for cleaning up the 'bin' directory - if exist $(BINDIR)\*.ilk del /Q $(BINDIR)\*.ilk - if exist $(BINDIR)\*.pdb del /Q $(BINDIR)\*.pdb - -$(BINDIR): - if not exist $(BINDIR) mkdir $(BINDIR) - -$(OBJDIR): - if not exist $(OBJDIR) mkdir $(OBJDIR) - -clean: - echo Cleaning up samples... - if exist $(BINDIR) del /Q $(BINDIR)\* - if exist $(BINDIR) rmdir $(BINDIR) - if exist $(OBJDIR) del /Q $(OBJDIR)\*.* - diff --git a/res/pjproject/pjsip-apps/build/Samples.mak b/res/pjproject/pjsip-apps/build/Samples.mak deleted file mode 100644 index e4aca9297d..0000000000 --- a/res/pjproject/pjsip-apps/build/Samples.mak +++ /dev/null @@ -1,78 +0,0 @@ - -include ../../build/common.mak - - -############################################################################### -# Gather all flags. -# -export _CFLAGS := $(PJ_CFLAGS) $(CFLAGS) -export _CXXFLAGS:= $(PJ_CXXFLAGS) -export _LDFLAGS := $(PJ_LDFLAGS) $(PJ_LDLIBS) $(LDFLAGS) - -SRCDIR := ../src/samples -OBJDIR := ./output/samples-$(TARGET_NAME) -BINDIR := ../bin/samples/$(TARGET_NAME) - -SAMPLES := auddemo \ - aviplay \ - aectest \ - aviplay \ - confsample \ - encdec \ - httpdemo \ - icedemo \ - jbsim \ - latency \ - level \ - mix \ - pjsip-perf \ - pcaputil \ - playfile \ - playsine \ - recfile \ - resampleplay \ - simpleua \ - simple_pjsua \ - sipecho \ - siprtp \ - sipstateless \ - stateful_proxy \ - stateless_proxy \ - stereotest \ - streamutil \ - strerror \ - tonegen \ - vid_streamutil - -EXES := $(foreach file, $(SAMPLES), $(BINDIR)/$(file)$(HOST_EXE)) - -all: $(BINDIR) $(OBJDIR) $(EXES) - -$(BINDIR)/%$(HOST_EXE): $(OBJDIR)/%$(OBJEXT) $(PJ_LIB_FILES) - $(LD) $(LDOUT)$(subst /,$(HOST_PSEP),$@) \ - $(subst /,$(HOST_PSEP),$<) \ - $(_LDFLAGS) - -$(OBJDIR)/%$(OBJEXT): $(SRCDIR)/%.c - $(CC) $(_CFLAGS) \ - $(CC_OUT)$(subst /,$(HOST_PSEP),$@) \ - $(subst /,$(HOST_PSEP),$<) - -$(OBJDIR): - $(subst @@,$(subst /,$(HOST_PSEP),$@),$(HOST_MKDIR)) - -$(BINDIR): - $(subst @@,$(subst /,$(HOST_PSEP),$@),$(HOST_MKDIR)) - -depend: - -clean: - $(subst @@,$(subst /,$(HOST_PSEP),$(OBJDIR)/*),$(HOST_RMR)) - $(subst @@,$(subst /,$(HOST_PSEP),$(OBJDIR)),$(HOST_RMDIR)) - $(subst @@,$(EXES),$(HOST_RM)) - rm -rf $(BINDIR) - -distclean realclean: clean -# $(subst @@,$(subst /,$(HOST_PSEP),$(EXES)) $(subst /,$(HOST_PSEP),$(EXES)),$(HOST_RM)) -# $(subst @@,$(DEP_FILE),$(HOST_RM)) - diff --git a/res/pjproject/pjsip-apps/build/dummy.c b/res/pjproject/pjsip-apps/build/dummy.c deleted file mode 100644 index 5da5da3cba..0000000000 --- a/res/pjproject/pjsip-apps/build/dummy.c +++ /dev/null @@ -1,9 +0,0 @@ -/* $Id$ */ - -/** - * This is an empty C file for helping libpjproject so it gets built properly. - */ - -#ifdef _MSC_VER -# pragma warning(disable: 4206) // translation unit is empty -#endif diff --git a/res/pjproject/pjsip-apps/build/get-footprint.py b/res/pjproject/pjsip-apps/build/get-footprint.py deleted file mode 100644 index cb6f686884..0000000000 --- a/res/pjproject/pjsip-apps/build/get-footprint.py +++ /dev/null @@ -1,338 +0,0 @@ -# $Id$ -# -# This file is used to generate PJSIP/PJMEDIA footprint report. -# To use this file, just run it in pjsip-apps/build directory, to -# produce footprint.txt and footprint.htm report files. -# -import os -import sys -import string -import time - -compile_flags1 = [ - # Base - ['BASE', 'Empty application size'], - ['', 'Subtotal: Empty application size'], - - ['HAS_PJLIB', 'Minimum PJLIB only'], - - # Subtotal - ['', 'Subtotal'], - - # PJLIB-UTIL - ['HAS_PJLIB_STUN', 'STUN client'], - ['HAS_PJLIB_GETOPT', 'getopt() functionality'], - - # Subtotal - ['', 'TOTAL'] -] - -compile_flags = [ - # Base - ['BASE', 'Empty application size'], - ['', 'Subtotal: empty application size on this platform'], - - ['HAS_PJLIB', 'PJLIB (pool, data structures, hash tables, ioqueue, socket, timer heap, etc.). ' + - 'For targets that statically link application with LIBC, the size includes ' + - 'various LIBC functions that are used by PJLIB.'], - ['', 'Subtotal: Application linked with PJLIB'], - - # PJLIB-UTIL - ['HAS_PJLIB_STUN', 'PJLIB-UTIL STUN client'], - ['HAS_PJLIB_GETOPT', 'PJLIB-UTIL getopt() functionality'], - ['HAS_PJLIB_SCANNER', 'PJLIB-UTIL text scanner (needed by SIP parser)'], - ['HAS_PJLIB_XML', 'PJLIB-UTIL tiny XML (parsing and API) (needs text scanner)'], - ['HAS_PJLIB_DNS', 'PJLIB-UTIL DNS packet and parsing'], - ['HAS_PJLIB_RESOLVER', 'PJLIB-UTIL Asynchronous DNS resolver/caching engine'], - ['HAS_PJLIB_CRC32', 'PJLIB-UTIL CRC32 algorithm'], - ['HAS_PJLIB_HMAC_MD5', 'PJLIB-UTIL HMAC-MD5 algorithm'], - ['HAS_PJLIB_HMAC_SHA1', 'PJLIB-UTIL HMAC-SHA1 algorithm'], - - # PJSIP - ['HAS_PJSIP_CORE_MSG_ELEM', 'PJSIP Core - Messaging Elements and Parsing (message, headers, SIP URI, TEL URI/RFC 3966, etc.)'], - ['HAS_PJSIP_CORE', 'PJSIP Core - Endpoint (transport management, module management, event distribution, etc.)'], - ['HAS_PJSIP_CORE_MSG_UTIL', 'PJSIP Core - Stateless operations, SIP SRV, server resolution and fail-over'], - ['HAS_PJSIP_UDP_TRANSPORT', 'PJSIP UDP transport'], - ['', 'Subtotal: A minimalistic SIP application (parsing, UDP transport+STUN, no transaction)'], - - ['HAS_PJSIP_TCP_TRANSPORT', 'PJSIP TCP transport'], - ['HAS_PJSIP_TLS_TRANSPORT', 'PJSIP TLS transport'], - ['HAS_PJSIP_INFO', 'PJSIP INFO support (RFC 2976) (no special treatment, thus the zero size)'], - ['HAS_PJSIP_TRANSACTION', 'PJSIP transaction and stateful API'], - ['HAS_PJSIP_AUTH_CLIENT', 'PJSIP digest authentication client'], - ['HAS_PJSIP_UA_LAYER', 'PJSIP User agent layer and base dialog and usage management (draft-ietf-sipping-dialogusage-01)'], - ['HAS_PJMEDIA_SDP', 'PJMEDIA SDP Parsing and API (RFC 2327), needed by SDP negotiator'], - ['HAS_PJMEDIA_SDP_NEGOTIATOR','PJMEDIA SDP negotiator (RFC 3264), needed by INVITE session'], - ['HAS_PJSIP_INV_SESSION', 'PJSIP INVITE session API'], - ['HAS_PJSIP_REGC', 'PJSIP client registration API'], - ['', 'Subtotal: Minimal SIP application with registration (including digest authentication)'], - - ['HAS_PJSIP_EVENT_FRAMEWORK','PJSIP Event/SUBSCRIBE framework, RFC 3265 (needed by call transfer, and presence)'], - ['HAS_PJSIP_CALL_TRANSFER', 'PJSIP Call Transfer/REFER support (RFC 3515)'], - ['', 'Subtotal: Minimal SIP application with call transfer'], - - - ['HAS_PJSIP_PRESENCE', 'PJSIP Presence subscription, including PIDF/X-PIDF support (RFC 3856, RFC 3863, etc) (needs XML)'], - ['HAS_PJSIP_MESSAGE', 'PJSIP Instant Messaging/MESSAGE support (RFC 3428) (no special treatment, thus the zero size)'], - ['HAS_PJSIP_IS_COMPOSING', 'PJSIP Message Composition indication (RFC 3994)'], - - # Subtotal - ['', 'Subtotal: Complete PJSIP package (call, registration, presence, IM) +STUN +GETOPT (+PJLIB), no media'], - - # PJNATH - ['HAS_PJNATH_STUN', 'PJNATH STUN'], - ['HAS_PJNATH_ICE', 'PJNATH ICE'], - - # PJMEDIA - ['HAS_PJMEDIA_EC', 'PJMEDIA accoustic echo cancellation'], - ['HAS_PJMEDIA_SND_DEV', 'PJMEDIA sound device backend (platform specific)'], - ['HAS_PJMEDIA_SILENCE_DET', 'PJMEDIA Adaptive silence detector'], - ['HAS_PJMEDIA', 'PJMEDIA endpoint'], - ['HAS_PJMEDIA_PLC', 'PJMEDIA Packet Lost Concealment implementation (needed by G.711, GSM, and sound device port)'], - ['HAS_PJMEDIA_SND_PORT', 'PJMEDIA sound device media port'], - ['HAS_PJMEDIA_RESAMPLE', 'PJMEDIA resampling algorithm (large filter disabled)'], - ['HAS_PJMEDIA_G711_CODEC', 'PJMEDIA G.711 codec (PCMA/PCMU, including PLC) (may have already been linked by other module)'], - ['HAS_PJMEDIA_CONFERENCE', 'PJMEDIA conference bridge (needs resampling and silence detector)'], - ['HAS_PJMEDIA_MASTER_PORT', 'PJMEDIA master port'], - ['HAS_PJMEDIA_RTP', 'PJMEDIA stand-alone RTP'], - ['HAS_PJMEDIA_RTCP', 'PJMEDIA stand-alone RTCP and media quality calculation'], - ['HAS_PJMEDIA_JBUF', 'PJMEDIA stand-alone adaptive jitter buffer'], - ['HAS_PJMEDIA_STREAM', 'PJMEDIA stream for remote media communication (needs RTP, RTCP, and jitter buffer)'], - ['HAS_PJMEDIA_TONEGEN', 'PJMEDIA tone generator'], - ['HAS_PJMEDIA_UDP_TRANSPORT','PJMEDIA UDP media transport'], - ['HAS_PJMEDIA_FILE_PLAYER', 'PJMEDIA WAV file player'], - ['HAS_PJMEDIA_FILE_CAPTURE', 'PJMEDIA WAV file writer'], - ['HAS_PJMEDIA_MEM_PLAYER', 'PJMEDIA fixed buffer player'], - ['HAS_PJMEDIA_MEM_CAPTURE', 'PJMEDIA fixed buffer writer'], - ['HAS_PJMEDIA_ICE', 'PJMEDIA ICE transport'], - - # Subtotal - ['', 'Subtotal: Complete SIP and all PJMEDIA features (G.711 codec only)'], - - # Codecs - ['HAS_PJMEDIA_GSM_CODEC', 'PJMEDIA GSM codec (including PLC)'], - ['HAS_PJMEDIA_SPEEX_CODEC', 'PJMEDIA Speex codec (narrowband, wideband, ultra-wideband)'], - ['HAS_PJMEDIA_ILBC_CODEC', 'PJMEDIA iLBC codec'], - - # Total - ['', 'TOTAL: complete libraries (+all codecs)'], -] - -# Executable size report, tuple of: -# , , , , , -exe_size = [] - -# -# Write the report to text file -# -def print_text_report(filename): - output = open(filename, 'w') - - output.write('PJSIP and PJMEDIA footprint report\n') - output.write('Auto-generated by pjsip-apps/build/get-footprint.py\n') - output.write('\n') - - # Write Revision info. - f = os.popen('svn info | grep Revision') - output.write(f.readline()) - - output.write('Date: ') - output.write(time.asctime()) - output.write('\n') - output.write('\n') - - # Write individual module size - output.write('Footprint (in bytes):\n') - output.write(' .text .data .bss Module Description\n') - output.write('==========================================================\n') - - for i in range(1, len(exe_size)): - e = exe_size[i] - prev = exe_size[i-1] - - if e[1]<>'': - output.write(' ') - output.write( string.rjust(`string.atoi(e[2]) - string.atoi(prev[2])`, 8) ) - output.write( string.rjust(`string.atoi(e[3]) - string.atoi(prev[3])`, 8) ) - output.write( string.rjust(`string.atoi(e[4]) - string.atoi(prev[4])`, 8) ) - output.write(' ' + e[5] + '\n') - else: - output.write(' ------------------------\n') - output.write(' ') - output.write( string.rjust(e[2], 8) ) - output.write( string.rjust(e[3], 8) ) - output.write( string.rjust(e[4], 8) ) - output.write(' ' + e[5] + '\n') - output.write('\n') - - - # Done - output.close() - - -# -# Write the report to HTML file -# -def print_html_report(): - - # Get Revision info. - f = os.popen('svn info | grep Revision') - revision = f.readline().split()[1] - - # Get Machine, OS, and CC name - f = os.popen('make -f Footprint.mak print_name') - names = f.readline().split() - m = names[0] - o = names[1] - cc = names[2] - cc_ver = names[3] - - # Open HTML file - filename = 'footprint-' + m + '-' + o + '.htm' - output = open(filename, 'w') - - title = 'PJSIP and PJMEDIA footprint report for ' + m + '-' + o + ' target' - output.write('\n'); - output.write(' ' + title + '\n') - output.write(' \n') - output.write('\n'); - output.write('\n'); - output.write('') - - output.write('

' + title + '

\n') - output.write('Auto-generated by pjsip-apps/build/get-footprint.py script\n') - output.write('

Date: ' + time.asctime() + '
\n') - output.write('Revision: r' + revision + '

\n\n') - output.write('
\n') - output.write('\n') - - # Info - output.write('

Build Configuration

\n') - - # build.mak - output.write('\n

build.mak

\n') - output.write('\n') - f = open('../../build.mak', 'r') - s = f.readlines() - for l in s: - output.write(l + '
\n') - output.write('
\n') - output.write('

Using ' + cc + ' version ' + cc_ver +'

\n') - - # user.mak - output.write('\n

user.mak

\n') - output.write('\n') - f = open('../../user.mak', 'r') - s = f.readlines() - for l in s: - output.write(l + '
\n') - output.write('
\n') - - # config_site.h - output.write('\n

<pj/config.site.h>

\n') - output.write('\n') - f = os.popen('cpp -dM -I../../pjlib/include ../../pjlib/include/pj/config_site.h | grep PJ') - s = f.readlines() - for l in s: - output.write(l + '
\n') - output.write('
\n') - - - - # Write individual module size - output.write('

Footprint Report

\n') - output.write('

The table below shows the footprint of individual feature, in bytes.

') - output.write('\n' + - '\n' + - ' \n' + - ' \n' + - ' \n' + - ' \n' + - '\n') - - - for i in range(1, len(exe_size)): - e = exe_size[i] - prev = exe_size[i-1] - - output.write('\n') - if e[1]<>'': - output.write( ' \n') - output.write( ' \n') - output.write( ' \n' ) - output.write( ' \n') - else: - empty_size = exe_size[1] - output.write('\n') - output.write( ' \n') - output.write( ' \n') - output.write( ' \n') - output.write( ' \n') - - output.write('\n') - - output.write('
.text.data.bssFeatures/Module Description
' + `string.atoi(e[2]) - string.atoi(prev[2])` + '' + `string.atoi(e[3]) - string.atoi(prev[3])` + '' + `string.atoi(e[4]) - string.atoi(prev[4])` + '' + e[5] + '
   ' + e[5] + ': .text=' + e[2]+ ', .data=' + e[3] + ', .bss=' + e[4] ) - output.write( '\n
(Size minus empty application size: ' + \ - '.text=' + `string.atoi(e[2]) - string.atoi(empty_size[2])` + \ - ', .data=' + `string.atoi(e[3]) - string.atoi(empty_size[3])` + \ - ', .data=' + `string.atoi(e[4]) - string.atoi(empty_size[4])` + \ - ')\n' ) - output.write( '
\n') - output.write('') - output.write('\n') - output.write('\n') - - # Done - output.close() - - - - -# -# Get the size of individual feature -# -def get_size(all_flags, flags, desc): - file = 'footprint.exe' - # Remove file - rc = os.system("make -f Footprint.mak FCFLAGS='" + all_flags + "' clean") - # Make the executable - cmd = "make -f Footprint.mak FCFLAGS='" + all_flags + "' all" - #print cmd - rc = os.system(cmd) - if rc <> 0: - sys.exit(1) - - # Run 'size' against the executable - f = os.popen('size ' + file) - # Skip header of the 'size' output - f.readline() - # Get the sizes - size = f.readline() - f.close() - # Split into tokens - tokens = size.split() - # Build the size tuple and add to exe_size - elem = all_flags, flags, tokens[0], tokens[1], tokens[2], desc - exe_size.append(elem) - # Remove file - rc = os.system("make -f Footprint.mak FCFLAGS='" + all_flags + "' clean") - -# Main -elem = '', '', '0', '0', '0', '' -exe_size.append(elem) - -all_flags = '' -for elem in compile_flags: - if elem[0] <> '': - flags = '-D' + elem[0] - all_flags += flags + ' ' - get_size(all_flags, elem[0], elem[1]) - else: - e = exe_size[len(exe_size)-1] - n = all_flags, '', e[2], e[3], e[4], elem[1] - exe_size.append(n) - - -#print_text_report('footprint.txt') -print_html_report() - diff --git a/res/pjproject/pjsip-apps/build/libpjproject.vcproj b/res/pjproject/pjsip-apps/build/libpjproject.vcproj deleted file mode 100644 index 1ba5103e19..0000000000 --- a/res/pjproject/pjsip-apps/build/libpjproject.vcproj +++ /dev/null @@ -1,2772 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjsip-apps/build/os-win32.mak b/res/pjproject/pjsip-apps/build/os-win32.mak deleted file mode 100644 index 30f422e082..0000000000 --- a/res/pjproject/pjsip-apps/build/os-win32.mak +++ /dev/null @@ -1,2 +0,0 @@ - -export LDFLAGS += -lwinmm diff --git a/res/pjproject/pjsip-apps/build/pjsua.vcproj b/res/pjproject/pjsip-apps/build/pjsua.vcproj deleted file mode 100644 index 209d296667..0000000000 --- a/res/pjproject/pjsip-apps/build/pjsua.vcproj +++ /dev/null @@ -1,3636 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjsip-apps/build/pjsystest.vcproj b/res/pjproject/pjsip-apps/build/pjsystest.vcproj deleted file mode 100644 index 901875a050..0000000000 --- a/res/pjproject/pjsip-apps/build/pjsystest.vcproj +++ /dev/null @@ -1,533 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjsip-apps/build/py_pjsua.vcproj b/res/pjproject/pjsip-apps/build/py_pjsua.vcproj deleted file mode 100644 index 0487cb032b..0000000000 --- a/res/pjproject/pjsip-apps/build/py_pjsua.vcproj +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjsip-apps/build/python_pjsua.vcproj b/res/pjproject/pjsip-apps/build/python_pjsua.vcproj deleted file mode 100644 index da058e6445..0000000000 --- a/res/pjproject/pjsip-apps/build/python_pjsua.vcproj +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjsip-apps/build/sample_debug.vcproj b/res/pjproject/pjsip-apps/build/sample_debug.vcproj deleted file mode 100644 index 32c5b6b568..0000000000 --- a/res/pjproject/pjsip-apps/build/sample_debug.vcproj +++ /dev/null @@ -1,3265 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjsip-apps/build/samples.vcproj b/res/pjproject/pjsip-apps/build/samples.vcproj deleted file mode 100644 index 0f0f0b9fd0..0000000000 --- a/res/pjproject/pjsip-apps/build/samples.vcproj +++ /dev/null @@ -1,1750 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjsip-apps/build/vidgui.vcproj b/res/pjproject/pjsip-apps/build/vidgui.vcproj deleted file mode 100644 index 85cd57d352..0000000000 --- a/res/pjproject/pjsip-apps/build/vidgui.vcproj +++ /dev/null @@ -1,207 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjsip-apps/build/wince-evc4/wince_demos.vcw b/res/pjproject/pjsip-apps/build/wince-evc4/wince_demos.vcw deleted file mode 100644 index 432696b451..0000000000 --- a/res/pjproject/pjsip-apps/build/wince-evc4/wince_demos.vcw +++ /dev/null @@ -1,305 +0,0 @@ -Microsoft eMbedded Visual Tools Workspace File, Format Version 4.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "libgsmcodec"="..\..\..\THIRD_PARTY\BUILD\GSM\libgsmcodec.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "libilbccodec"="..\..\..\THIRD_PARTY\BUILD\ILBC\libilbccodec.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "libmilenage"="..\..\..\third_party\build\milenage\libmilenage.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "libportaudio"="..\..\..\THIRD_PARTY\BUILD\PORTAUDIO\libportaudio.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "libresample"="..\..\..\THIRD_PARTY\BUILD\RESAMPLE\libresample.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "libspeex"="..\..\..\THIRD_PARTY\BUILD\SPEEX\libspeex.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "libsrtp"="..\..\..\third_party\build\srtp\libsrtp.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjlib_util_wince"="..\..\..\pjlib-util\build\wince-evc4\pjlib_util_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjlib_wince"="..\..\..\pjlib\build\wince-evc4\pjlib_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjmedia_auddev_wince"="..\..\..\pjmedia\build\wince-evc4\pjmedia_auddev_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjmedia_codec_wince"="..\..\..\pjmedia\build\wince-evc4\pjmedia_codec_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjmedia_wince"="..\..\..\pjmedia\build\wince-evc4\pjmedia_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjnath_wince"="..\..\..\pjnath\build\wince-evc4\pjnath_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjsip_core_wince"="..\..\..\pjsip\build\wince-evc4\pjsip_core_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjsip_simple_wince"="..\..\..\pjsip\build\wince-evc4\pjsip_simple_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjsip_ua_wince"="..\..\..\pjsip\build\wince-evc4\pjsip_ua_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjsua_lib_wince"="..\..\..\pjsip\build\wince-evc4\pjsua_lib_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name pjlib_util_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjlib_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjmedia_codec_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjmedia_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjsip_core_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjsip_simple_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjsip_ua_wince - End Project Dependency -}}} - -############################################################################### - -Project: "pjsua_wince"="..\..\src\pjsua_wince\pjsua_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name pjlib_util_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjlib_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjmedia_codec_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjmedia_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjsip_core_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjsip_simple_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjsip_ua_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjsua_lib_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjnath_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name libgsmcodec - End Project Dependency - Begin Project Dependency - Project_Dep_Name libilbccodec - End Project Dependency - Begin Project Dependency - Project_Dep_Name libportaudio - End Project Dependency - Begin Project Dependency - Project_Dep_Name libresample - End Project Dependency - Begin Project Dependency - Project_Dep_Name libspeex - End Project Dependency - Begin Project Dependency - Project_Dep_Name libmilenage - End Project Dependency - Begin Project Dependency - Project_Dep_Name libsrtp - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjmedia_auddev_wince - End Project Dependency -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/res/pjproject/pjsip-apps/src/3rdparty_media_sample/Makefile b/res/pjproject/pjsip-apps/src/3rdparty_media_sample/Makefile deleted file mode 100644 index 78e56fd886..0000000000 --- a/res/pjproject/pjsip-apps/src/3rdparty_media_sample/Makefile +++ /dev/null @@ -1,34 +0,0 @@ - -include ../../../build.mak - - -############################################################################### -# Gather all flags. -# -export _CFLAGS := $(PJ_CFLAGS) $(CFLAGS) -export _CXXFLAGS:= $(PJ_CXXFLAGS) -export _LDFLAGS := $(PJ_LDFLAGS) $(PJ_LDLIBS) $(LDFLAGS) - -OBJS = alt_pjsua_aud.o alt_pjsua_vid.o pjsua_app.o main.o - -all: alt_pjsua - -alt_pjsua: $(OBJS) - $(PJ_CC) -o $@ $(OBJS) $(_CFLAGS) $(_LDFLAGS) - -pjsua_app.o: ../pjsua/pjsua_app.c - $(PJ_CC) $(_CFLAGS) -c -o $@ $< - -main.o: ../pjsua/main.c - $(PJ_CC) $(_CFLAGS) -c -o $@ $< - -%.o: %.c - $(PJ_CC) $(_CFLAGS) -c -o $@ $< - -depend: - -clean: - rm -f *.o alt_pjsua - -distclean realclean: clean - diff --git a/res/pjproject/pjsip-apps/src/3rdparty_media_sample/alt_pjsua_aud.c b/res/pjproject/pjsip-apps/src/3rdparty_media_sample/alt_pjsua_aud.c deleted file mode 100644 index 5bf80ae520..0000000000 --- a/res/pjproject/pjsip-apps/src/3rdparty_media_sample/alt_pjsua_aud.c +++ /dev/null @@ -1,628 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -#if defined(PJSUA_MEDIA_HAS_PJMEDIA) && PJSUA_MEDIA_HAS_PJMEDIA != 0 -# error The PJSUA_MEDIA_HAS_PJMEDIA should be declared as zero -#endif - - -#define THIS_FILE "alt_pjsua_aud.c" -#define UNIMPLEMENTED(func) PJ_LOG(2,(THIS_FILE, "*** Call to unimplemented function %s ***", #func)); - - -/***************************************************************************** - * Our dummy codecs. Since we won't use any PJMEDIA codecs, we need to declare - * our own codecs and register them to PJMEDIA's codec manager. We just need - * the info so that they can be listed in SDP. The encoding and decoding will - * happen in your third party media stream and will not use these codecs, - * hence the "dummy" name. - */ -static struct alt_codec -{ - pj_str_t encoding_name; - pj_uint8_t payload_type; - unsigned clock_rate; - unsigned channel_cnt; - unsigned frm_ptime; - unsigned avg_bps; - unsigned max_bps; -} codec_list[] = -{ - /* G.729 */ - { { "G729", 4 }, 18, 8000, 1, 10, 8000, 8000 }, - /* PCMU */ - { { "PCMU", 4 }, 0, 8000, 1, 10, 64000, 64000 }, - /* Our proprietary high end low bit rate (5kbps) codec, if you wish */ - { { "FOO", 3 }, PJMEDIA_RTP_PT_START+0, 16000, 1, 20, 5000, 5000 }, -}; - -static struct alt_codec_factory -{ - pjmedia_codec_factory base; -} alt_codec_factory; - -static pj_status_t alt_codec_test_alloc( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id ) -{ - unsigned i; - for (i=0; iencoding_name, &codec_list[i].encoding_name)==0) - return PJ_SUCCESS; - } - return PJ_ENOTSUP; -} - -static pj_status_t alt_codec_default_attr( pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec_param *attr ) -{ - struct alt_codec *ac; - unsigned i; - - PJ_UNUSED_ARG(factory); - - for (i=0; iencoding_name, &codec_list[i].encoding_name)==0) - break; - } - if (i == PJ_ARRAY_SIZE(codec_list)) - return PJ_ENOTFOUND; - - ac = &codec_list[i]; - - pj_bzero(attr, sizeof(pjmedia_codec_param)); - attr->info.clock_rate = ac->clock_rate; - attr->info.channel_cnt = ac->channel_cnt; - attr->info.avg_bps = ac->avg_bps; - attr->info.max_bps = ac->max_bps; - attr->info.pcm_bits_per_sample = 16; - attr->info.frm_ptime = ac->frm_ptime; - attr->info.pt = ac->payload_type; - - attr->setting.frm_per_pkt = 1; - attr->setting.vad = 1; - attr->setting.plc = 1; - - return PJ_SUCCESS; -} - -static pj_status_t alt_codec_enum_codecs(pjmedia_codec_factory *factory, - unsigned *count, - pjmedia_codec_info codecs[]) -{ - unsigned i; - - for (i=0; i<*count && iencoding_name; - codecs[i].pt = ac->payload_type; - codecs[i].type = PJMEDIA_TYPE_AUDIO; - codecs[i].clock_rate = ac->clock_rate; - codecs[i].channel_cnt = ac->channel_cnt; - } - - *count = i; - - return PJ_SUCCESS; -} - -static pj_status_t alt_codec_alloc_codec(pjmedia_codec_factory *factory, - const pjmedia_codec_info *id, - pjmedia_codec **p_codec) -{ - /* This will never get called since we won't be using this codec */ - UNIMPLEMENTED(alt_codec_alloc_codec) - return PJ_ENOTSUP; -} - -static pj_status_t alt_codec_dealloc_codec( pjmedia_codec_factory *factory, - pjmedia_codec *codec ) -{ - /* This will never get called */ - UNIMPLEMENTED(alt_codec_dealloc_codec) - return PJ_ENOTSUP; -} - -static pj_status_t alt_codec_deinit(void) -{ - pjmedia_codec_mgr *codec_mgr; - codec_mgr = pjmedia_endpt_get_codec_mgr(pjsua_var.med_endpt); - return pjmedia_codec_mgr_unregister_factory(codec_mgr, - &alt_codec_factory.base); - -} - -static pjmedia_codec_factory_op alt_codec_factory_op = -{ - &alt_codec_test_alloc, - &alt_codec_default_attr, - &alt_codec_enum_codecs, - &alt_codec_alloc_codec, - &alt_codec_dealloc_codec, - &alt_codec_deinit -}; - - -/***************************************************************************** - * API - */ - -/* Initialize third party media library. */ -pj_status_t pjsua_aud_subsys_init() -{ - pjmedia_codec_mgr *codec_mgr; - pj_status_t status; - - /* Register our "dummy" codecs */ - alt_codec_factory.base.op = &alt_codec_factory_op; - codec_mgr = pjmedia_endpt_get_codec_mgr(pjsua_var.med_endpt); - status = pjmedia_codec_mgr_register_factory(codec_mgr, - &alt_codec_factory.base); - if (status != PJ_SUCCESS) - return status; - - /* TODO: initialize your evil library here */ - return PJ_SUCCESS; -} - -/* Start (audio) media library. */ -pj_status_t pjsua_aud_subsys_start(void) -{ - /* TODO: */ - return PJ_SUCCESS; -} - -/* Cleanup and deinitialize third party media library. */ -pj_status_t pjsua_aud_subsys_destroy() -{ - /* TODO: */ - return PJ_SUCCESS; -} - -/* Our callback to receive incoming RTP packets */ -static void aud_rtp_cb(void *user_data, void *pkt, pj_ssize_t size) -{ - pjsua_call_media *call_med = (pjsua_call_media*) user_data; - - /* TODO: Do something with the packet */ - PJ_LOG(4,(THIS_FILE, "RX %d bytes audio RTP packet", (int)size)); -} - -/* Our callback to receive RTCP packets */ -static void aud_rtcp_cb(void *user_data, void *pkt, pj_ssize_t size) -{ - pjsua_call_media *call_med = (pjsua_call_media*) user_data; - - /* TODO: Do something with the packet here */ - PJ_LOG(4,(THIS_FILE, "RX %d bytes audio RTCP packet", (int)size)); -} - -/* A demo function to send dummy "RTP" packets periodically. You would not - * need to have this function in the real app! - */ -static void timer_to_send_aud_rtp(void *user_data) -{ - pjsua_call_media *call_med = (pjsua_call_media*) user_data; - const char *pkt = "Not RTP packet"; - - if (call_med->call->inv == NULL) { - /* Call has been disconnected. There is race condition here as - * this cb may be called sometime after call has been disconnected */ - return; - } - - pjmedia_transport_send_rtp(call_med->tp, pkt, strlen(pkt)); - - pjsua_schedule_timer2(&timer_to_send_aud_rtp, call_med, 2000); -} - -static void timer_to_send_aud_rtcp(void *user_data) -{ - pjsua_call_media *call_med = (pjsua_call_media*) user_data; - const char *pkt = "Not RTCP packet"; - - if (call_med->call->inv == NULL) { - /* Call has been disconnected. There is race condition here as - * this cb may be called sometime after call has been disconnected */ - return; - } - - pjmedia_transport_send_rtcp(call_med->tp, pkt, strlen(pkt)); - - pjsua_schedule_timer2(&timer_to_send_aud_rtcp, call_med, 5000); -} - -/* Stop the audio stream of a call. */ -void pjsua_aud_stop_stream(pjsua_call_media *call_med) -{ - /* Detach our RTP/RTCP callbacks from transport */ - pjmedia_transport_detach(call_med->tp, call_med); - - /* TODO: destroy your audio stream here */ -} - -/* - * This function is called whenever SDP negotiation has completed - * successfully. Here you'd want to start your audio stream - * based on the info in the SDPs. - */ -pj_status_t pjsua_aud_channel_update(pjsua_call_media *call_med, - pj_pool_t *tmp_pool, - pjmedia_stream_info *si, - const pjmedia_sdp_session *local_sdp, - const pjmedia_sdp_session *remote_sdp) -{ - pj_status_t status = PJ_SUCCESS; - - PJ_LOG(4,(THIS_FILE,"Alt audio channel update..")); - pj_log_push_indent(); - - /* Check if no media is active */ - if (si->dir != PJMEDIA_DIR_NONE) { - /* Attach our RTP and RTCP callbacks to the media transport */ - status = pjmedia_transport_attach(call_med->tp, call_med, - &si->rem_addr, &si->rem_rtcp, - pj_sockaddr_get_len(&si->rem_addr), - &aud_rtp_cb, &aud_rtcp_cb); - - /* For a demonstration, let's use a timer to send "RTP" packet - * periodically. - */ - pjsua_schedule_timer2(&timer_to_send_aud_rtp, call_med, 0); - pjsua_schedule_timer2(&timer_to_send_aud_rtcp, call_med, 2500); - - /* TODO: - * - Create and start your media stream based on the parameters - * in si - */ - } - -on_return: - pj_log_pop_indent(); - return status; -} - - -/***************************************************************************** - * - * Call API which MAY need to be re-implemented if different backend is used. - */ - -/* Check if call has an active media session. */ -PJ_DEF(pj_bool_t) pjsua_call_has_media(pjsua_call_id call_id) -{ - UNIMPLEMENTED(pjsua_call_has_media) - return PJ_TRUE; -} - - -/* Get the conference port identification associated with the call. */ -PJ_DEF(pjsua_conf_port_id) pjsua_call_get_conf_port(pjsua_call_id call_id) -{ - UNIMPLEMENTED(pjsua_call_get_conf_port) - return PJSUA_INVALID_ID; -} - -/* Get media stream info for the specified media index. */ -PJ_DEF(pj_status_t) pjsua_call_get_stream_info( pjsua_call_id call_id, - unsigned med_idx, - pjsua_stream_info *psi) -{ - pj_bzero(psi, sizeof(*psi)); - UNIMPLEMENTED(pjsua_call_get_stream_info) - return PJ_ENOTSUP; -} - -/* Get media stream statistic for the specified media index. */ -PJ_DEF(pj_status_t) pjsua_call_get_stream_stat( pjsua_call_id call_id, - unsigned med_idx, - pjsua_stream_stat *stat) -{ - pj_bzero(stat, sizeof(*stat)); - UNIMPLEMENTED(pjsua_call_get_stream_stat) - return PJ_ENOTSUP; -} - -/* - * Send DTMF digits to remote using RFC 2833 payload formats. - */ -PJ_DEF(pj_status_t) pjsua_call_dial_dtmf( pjsua_call_id call_id, - const pj_str_t *digits) -{ - UNIMPLEMENTED(pjsua_call_dial_dtmf) - return PJ_ENOTSUP; -} - -/***************************************************************************** - * Below are auxiliary API that we don't support (feel free to implement them - * with the other media stack) - */ - -/* Get maximum number of conference ports. */ -PJ_DEF(unsigned) pjsua_conf_get_max_ports(void) -{ - UNIMPLEMENTED(pjsua_conf_get_max_ports) - return 0xFF; -} - -/* Get current number of active ports in the bridge. */ -PJ_DEF(unsigned) pjsua_conf_get_active_ports(void) -{ - UNIMPLEMENTED(pjsua_conf_get_active_ports) - return 0; -} - -/* Enumerate all conference ports. */ -PJ_DEF(pj_status_t) pjsua_enum_conf_ports(pjsua_conf_port_id id[], - unsigned *count) -{ - *count = 0; - UNIMPLEMENTED(pjsua_enum_conf_ports) - return PJ_ENOTSUP; -} - -/* Get information about the specified conference port */ -PJ_DEF(pj_status_t) pjsua_conf_get_port_info( pjsua_conf_port_id id, - pjsua_conf_port_info *info) -{ - UNIMPLEMENTED(pjsua_conf_get_port_info) - return PJ_ENOTSUP; -} - -/* Add arbitrary media port to PJSUA's conference bridge. */ -PJ_DEF(pj_status_t) pjsua_conf_add_port( pj_pool_t *pool, - pjmedia_port *port, - pjsua_conf_port_id *p_id) -{ - *p_id = PJSUA_INVALID_ID; - UNIMPLEMENTED(pjsua_conf_add_port) - /* We should return PJ_ENOTSUP here, but this API is needed by pjsua - * application or otherwise it will refuse to start. - */ - return PJ_SUCCESS; -} - -/* Remove arbitrary slot from the conference bridge. */ -PJ_DEF(pj_status_t) pjsua_conf_remove_port(pjsua_conf_port_id id) -{ - UNIMPLEMENTED(pjsua_conf_remove_port) - return PJ_ENOTSUP; -} - -/* Establish unidirectional media flow from souce to sink. */ -PJ_DEF(pj_status_t) pjsua_conf_connect( pjsua_conf_port_id source, - pjsua_conf_port_id sink) -{ - UNIMPLEMENTED(pjsua_conf_connect) - return PJ_ENOTSUP; -} - -/* Disconnect media flow from the source to destination port. */ -PJ_DEF(pj_status_t) pjsua_conf_disconnect( pjsua_conf_port_id source, - pjsua_conf_port_id sink) -{ - UNIMPLEMENTED(pjsua_conf_disconnect) - return PJ_ENOTSUP; -} - -/* Adjust the signal level to be transmitted from the bridge to the - * specified port by making it louder or quieter. - */ -PJ_DEF(pj_status_t) pjsua_conf_adjust_tx_level(pjsua_conf_port_id slot, - float level) -{ - UNIMPLEMENTED(pjsua_conf_adjust_tx_level) - return PJ_ENOTSUP; -} - -/* Adjust the signal level to be received from the specified port (to - * the bridge) by making it louder or quieter. - */ -PJ_DEF(pj_status_t) pjsua_conf_adjust_rx_level(pjsua_conf_port_id slot, - float level) -{ - UNIMPLEMENTED(pjsua_conf_adjust_rx_level) - return PJ_ENOTSUP; -} - - -/* Get last signal level transmitted to or received from the specified port. */ -PJ_DEF(pj_status_t) pjsua_conf_get_signal_level(pjsua_conf_port_id slot, - unsigned *tx_level, - unsigned *rx_level) -{ - UNIMPLEMENTED(pjsua_conf_get_signal_level) - return PJ_ENOTSUP; -} - -/* Create a file player, and automatically connect this player to - * the conference bridge. - */ -PJ_DEF(pj_status_t) pjsua_player_create( const pj_str_t *filename, - unsigned options, - pjsua_player_id *p_id) -{ - UNIMPLEMENTED(pjsua_player_create) - return PJ_ENOTSUP; -} - -/* Create a file playlist media port, and automatically add the port - * to the conference bridge. - */ -PJ_DEF(pj_status_t) pjsua_playlist_create( const pj_str_t file_names[], - unsigned file_count, - const pj_str_t *label, - unsigned options, - pjsua_player_id *p_id) -{ - UNIMPLEMENTED(pjsua_playlist_create) - return PJ_ENOTSUP; -} - -/* Get conference port ID associated with player. */ -PJ_DEF(pjsua_conf_port_id) pjsua_player_get_conf_port(pjsua_player_id id) -{ - UNIMPLEMENTED(pjsua_player_get_conf_port) - return -1; -} - -/* Get the media port for the player. */ -PJ_DEF(pj_status_t) pjsua_player_get_port( pjsua_player_id id, - pjmedia_port **p_port) -{ - UNIMPLEMENTED(pjsua_player_get_port) - return PJ_ENOTSUP; -} - -/* Set playback position. */ -PJ_DEF(pj_status_t) pjsua_player_set_pos( pjsua_player_id id, - pj_uint32_t samples) -{ - UNIMPLEMENTED(pjsua_player_set_pos) - return PJ_ENOTSUP; -} - -/* Close the file, remove the player from the bridge, and free - * resources associated with the file player. - */ -PJ_DEF(pj_status_t) pjsua_player_destroy(pjsua_player_id id) -{ - UNIMPLEMENTED(pjsua_player_destroy) - return PJ_ENOTSUP; -} - -/* Create a file recorder, and automatically connect this recorder to - * the conference bridge. - */ -PJ_DEF(pj_status_t) pjsua_recorder_create( const pj_str_t *filename, - unsigned enc_type, - void *enc_param, - pj_ssize_t max_size, - unsigned options, - pjsua_recorder_id *p_id) -{ - UNIMPLEMENTED(pjsua_recorder_create) - return PJ_ENOTSUP; -} - - -/* Get conference port associated with recorder. */ -PJ_DEF(pjsua_conf_port_id) pjsua_recorder_get_conf_port(pjsua_recorder_id id) -{ - UNIMPLEMENTED(pjsua_recorder_get_conf_port) - return -1; -} - -/* Get the media port for the recorder. */ -PJ_DEF(pj_status_t) pjsua_recorder_get_port( pjsua_recorder_id id, - pjmedia_port **p_port) -{ - UNIMPLEMENTED(pjsua_recorder_get_port) - return PJ_ENOTSUP; -} - -/* Destroy recorder (this will complete recording). */ -PJ_DEF(pj_status_t) pjsua_recorder_destroy(pjsua_recorder_id id) -{ - UNIMPLEMENTED(pjsua_recorder_destroy) - return PJ_ENOTSUP; -} - -/* Enum sound devices. */ -PJ_DEF(pj_status_t) pjsua_enum_aud_devs( pjmedia_aud_dev_info info[], - unsigned *count) -{ - UNIMPLEMENTED(pjsua_enum_aud_devs) - return PJ_ENOTSUP; -} - -PJ_DEF(pj_status_t) pjsua_enum_snd_devs( pjmedia_snd_dev_info info[], - unsigned *count) -{ - UNIMPLEMENTED(pjsua_enum_snd_devs) - return PJ_ENOTSUP; -} - -/* Select or change sound device. */ -PJ_DEF(pj_status_t) pjsua_set_snd_dev( int capture_dev, int playback_dev) -{ - UNIMPLEMENTED(pjsua_set_snd_dev) - return PJ_SUCCESS; -} - -/* Get currently active sound devices. */ -PJ_DEF(pj_status_t) pjsua_get_snd_dev(int *capture_dev, int *playback_dev) -{ - *capture_dev = *playback_dev = PJSUA_INVALID_ID; - UNIMPLEMENTED(pjsua_get_snd_dev) - return PJ_ENOTSUP; -} - -/* Use null sound device. */ -PJ_DEF(pj_status_t) pjsua_set_null_snd_dev(void) -{ - UNIMPLEMENTED(pjsua_set_null_snd_dev) - return PJ_ENOTSUP; -} - -/* Use no device! */ -PJ_DEF(pjmedia_port*) pjsua_set_no_snd_dev(void) -{ - UNIMPLEMENTED(pjsua_set_no_snd_dev) - return NULL; -} - -/* Configure the AEC settings of the sound port. */ -PJ_DEF(pj_status_t) pjsua_set_ec(unsigned tail_ms, unsigned options) -{ - UNIMPLEMENTED(pjsua_set_ec) - return PJ_ENOTSUP; -} - -/* Get current AEC tail length. */ -PJ_DEF(pj_status_t) pjsua_get_ec_tail(unsigned *p_tail_ms) -{ - UNIMPLEMENTED(pjsua_get_ec_tail) - return PJ_ENOTSUP; -} - -/* Check whether the sound device is currently active. */ -PJ_DEF(pj_bool_t) pjsua_snd_is_active(void) -{ - UNIMPLEMENTED(pjsua_snd_is_active) - return PJ_FALSE; -} - -/* Configure sound device setting to the sound device being used. */ -PJ_DEF(pj_status_t) pjsua_snd_set_setting( pjmedia_aud_dev_cap cap, - const void *pval, pj_bool_t keep) -{ - UNIMPLEMENTED(pjsua_snd_set_setting) - return PJ_ENOTSUP; -} - -/* Retrieve a sound device setting. */ -PJ_DEF(pj_status_t) pjsua_snd_get_setting(pjmedia_aud_dev_cap cap, void *pval) -{ - UNIMPLEMENTED(pjsua_snd_get_setting) - return PJ_ENOTSUP; -} diff --git a/res/pjproject/pjsip-apps/src/3rdparty_media_sample/alt_pjsua_vid.c b/res/pjproject/pjsip-apps/src/3rdparty_media_sample/alt_pjsua_vid.c deleted file mode 100644 index e10131f50a..0000000000 --- a/res/pjproject/pjsip-apps/src/3rdparty_media_sample/alt_pjsua_vid.c +++ /dev/null @@ -1,596 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -#if defined(PJSUA_MEDIA_HAS_PJMEDIA) && PJSUA_MEDIA_HAS_PJMEDIA != 0 -# error The PJSUA_MEDIA_HAS_PJMEDIA should be declared as zero -#endif - -#if PJSUA_HAS_VIDEO - -#define THIS_FILE "alt_pjsua_vid.c" -#define UNIMPLEMENTED(func) PJ_LOG(2,(THIS_FILE, "*** Call to unimplemented function %s ***", #func)); - -/***************************************************************************** - * Our video codec descriptors - */ -struct alt_codec_desc -{ - /* Predefined info */ - pjmedia_vid_codec_info info; - pjmedia_format_id base_fmt_id; - pj_uint32_t avg_bps; - pj_uint32_t max_bps; - pjmedia_codec_fmtp dec_fmtp; -} alt_vid_codecs[] = -{ - /* H.263+ */ - { - {PJMEDIA_FORMAT_H263P, PJMEDIA_RTP_PT_H263P, {"H263-1998",9}, - {"H.263 codec", 11}, 90000, PJMEDIA_DIR_ENCODING_DECODING, - 0, {PJMEDIA_FORMAT_RGB24}, PJMEDIA_VID_PACKING_PACKETS - }, - PJMEDIA_FORMAT_H263, 256000, 512000, - {2, { {{"CIF",3}, {"1",1}}, - {{"QCIF",4}, {"1",1}}, } }, - } -}; - -static const struct alt_codec_desc* find_codec_desc_by_info(const pjmedia_vid_codec_info *info) -{ - unsigned i; - for (i=0; iinfo.fmt_id == info->fmt_id) && - ((desc->info.dir & info->dir) == info->dir) && - (desc->info.pt == info->pt) && - (desc->info.packings & info->packings)) - { - return desc; - } - } - - return NULL; -} - -static pj_status_t alt_vid_codec_test_alloc( pjmedia_vid_codec_factory *factory, - const pjmedia_vid_codec_info *id ) -{ - const struct alt_codec_desc *desc = find_codec_desc_by_info(id); - return desc? PJ_SUCCESS : PJMEDIA_CODEC_EUNSUP; -} - -static pj_status_t alt_vid_codec_default_attr( pjmedia_vid_codec_factory *factory, - const pjmedia_vid_codec_info *info, - pjmedia_vid_codec_param *attr ) -{ - const struct alt_codec_desc *desc = find_codec_desc_by_info(info); - unsigned i; - - if (!desc) - return PJMEDIA_CODEC_EUNSUP; - - pj_bzero(attr, sizeof(pjmedia_vid_codec_param)); - - /* Scan the requested packings and use the lowest number */ - attr->packing = 0; - for (i=0; i<15; ++i) { - unsigned packing = (1 << i); - if ((desc->info.packings & info->packings) & packing) { - attr->packing = (pjmedia_vid_packing)packing; - break; - } - } - if (attr->packing == 0) { - /* No supported packing in info */ - return PJMEDIA_CODEC_EUNSUP; - } - - /* Direction */ - attr->dir = desc->info.dir; - - /* Encoded format */ - pjmedia_format_init_video(&attr->enc_fmt, desc->info.fmt_id, - 720, 480, 30000, 1001); - - /* Decoded format */ - pjmedia_format_init_video(&attr->dec_fmt, desc->info.dec_fmt_id[0], - //352, 288, 30000, 1001); - 720, 576, 30000, 1001); - - /* Decoding fmtp */ - attr->dec_fmtp = desc->dec_fmtp; - - /* Bitrate */ - attr->enc_fmt.det.vid.avg_bps = desc->avg_bps; - attr->enc_fmt.det.vid.max_bps = desc->max_bps; - - /* MTU */ - attr->enc_mtu = PJMEDIA_MAX_MTU; - - return PJ_SUCCESS; -} - - -static pj_status_t alt_vid_codec_enum_codecs( pjmedia_vid_codec_factory *factory, - unsigned *count, - pjmedia_vid_codec_info codecs[]) -{ - unsigned i, max_cnt; - - PJ_ASSERT_RETURN(codecs && *count > 0, PJ_EINVAL); - - max_cnt = PJ_MIN(*count, PJ_ARRAY_SIZE(alt_vid_codecs)); - *count = 0; - - for (i=0; itp) { - pjmedia_transport_detach(call_med->tp, call_med); - } - - /* - * TODO: - * - stop your video stream here - */ - -} - -/* Our callback to receive incoming RTP packets */ -static void vid_rtp_cb(void *user_data, void *pkt, pj_ssize_t size) -{ - pjsua_call_media *call_med = (pjsua_call_media*) user_data; - - /* TODO: Do something with the packet */ - PJ_LOG(4,(THIS_FILE, "RX %d bytes video RTP packet", (int)size)); -} - -/* Our callback to receive RTCP packets */ -static void vid_rtcp_cb(void *user_data, void *pkt, pj_ssize_t size) -{ - pjsua_call_media *call_med = (pjsua_call_media*) user_data; - - /* TODO: Do something with the packet here */ - PJ_LOG(4,(THIS_FILE, "RX %d bytes video RTCP packet", (int)size)); -} - -/* A demo function to send dummy "RTP" packets periodically. You would not - * need to have this function in the real app! - */ -static void timer_to_send_vid_rtp(void *user_data) -{ - pjsua_call_media *call_med = (pjsua_call_media*) user_data; - const char *pkt = "Not RTP packet"; - - if (call_med->call->inv == NULL) { - /* Call has been disconnected. There is race condition here as - * this cb may be called sometime after call has been disconnected */ - return; - } - - pjmedia_transport_send_rtp(call_med->tp, pkt, strlen(pkt)); - - pjsua_schedule_timer2(&timer_to_send_vid_rtp, call_med, 2000); -} - -static void timer_to_send_vid_rtcp(void *user_data) -{ - pjsua_call_media *call_med = (pjsua_call_media*) user_data; - const char *pkt = "Not RTCP packet"; - - if (call_med->call->inv == NULL) { - /* Call has been disconnected. There is race condition here as - * this cb may be called sometime after call has been disconnected */ - return; - } - - pjmedia_transport_send_rtcp(call_med->tp, pkt, strlen(pkt)); - - pjsua_schedule_timer2(&timer_to_send_vid_rtcp, call_med, 5000); -} - -/* update video channel after SDP negotiation */ -pj_status_t pjsua_vid_channel_update(pjsua_call_media *call_med, - pj_pool_t *tmp_pool, - pjmedia_vid_stream_info *si, - const pjmedia_sdp_session *local_sdp, - const pjmedia_sdp_session *remote_sdp) -{ - pj_status_t status; - - PJ_LOG(4,(THIS_FILE, "Video channel update..")); - pj_log_push_indent(); - - /* Check if no media is active */ - if (si->dir != PJMEDIA_DIR_NONE) { - /* Attach our RTP and RTCP callbacks to the media transport */ - status = pjmedia_transport_attach(call_med->tp, call_med, - &si->rem_addr, &si->rem_rtcp, - pj_sockaddr_get_len(&si->rem_addr), - &vid_rtp_cb, &vid_rtcp_cb); - /* - * TODO: - * - Create and start your video stream based on the parameters - * in si - */ - - /* For a demonstration, let's use a timer to send "RTP" packet - * periodically. - */ - pjsua_schedule_timer2(&timer_to_send_vid_rtp, call_med, 1000); - pjsua_schedule_timer2(&timer_to_send_vid_rtcp, call_med, 3500); - } - - pj_log_pop_indent(); - return PJ_SUCCESS; -} - - -/***************************************************************************** - * Preview - */ - -PJ_DEF(void) -pjsua_call_vid_strm_op_param_default(pjsua_call_vid_strm_op_param *param) -{ - pj_bzero(param, sizeof(*param)); - param->med_idx = -1; - param->dir = PJMEDIA_DIR_ENCODING_DECODING; - param->cap_dev = PJMEDIA_VID_DEFAULT_CAPTURE_DEV; -} - -PJ_DEF(void) pjsua_vid_preview_param_default(pjsua_vid_preview_param *p) -{ - p->rend_id = PJMEDIA_VID_DEFAULT_RENDER_DEV; - p->show = PJ_TRUE; -} - -PJ_DEF(pjsua_vid_win_id) pjsua_vid_preview_get_win(pjmedia_vid_dev_index id) -{ - UNIMPLEMENTED(pjsua_vid_preview_get_win) - return PJSUA_INVALID_ID; -} - -/* Reset internal window structure. Not sure if this is needed?. */ -PJ_DEF(void) pjsua_vid_win_reset(pjsua_vid_win_id wid) -{ - pjsua_vid_win *w = &pjsua_var.win[wid]; - pj_pool_t *pool = w->pool; - - pj_bzero(w, sizeof(*w)); - if (pool) pj_pool_reset(pool); - w->ref_cnt = 0; - w->pool = pool; - w->preview_cap_id = PJMEDIA_VID_INVALID_DEV; -} - -/* Does it have built-in preview support. */ -PJ_DEF(pj_bool_t) pjsua_vid_preview_has_native(pjmedia_vid_dev_index id) -{ - UNIMPLEMENTED(pjsua_vid_preview_has_native) - return PJ_FALSE; -} - -/* Start video preview window for the specified capture device. */ -PJ_DEF(pj_status_t) pjsua_vid_preview_start(pjmedia_vid_dev_index id, - const pjsua_vid_preview_param *prm) -{ - UNIMPLEMENTED(pjsua_vid_preview_start) - return PJ_ENOTSUP; -} - -/* Stop video preview. */ -PJ_DEF(pj_status_t) pjsua_vid_preview_stop(pjmedia_vid_dev_index id) -{ - UNIMPLEMENTED(pjsua_vid_preview_stop) - return PJ_ENOTSUP; -} - - -/***************************************************************************** - * Devices. - */ - -/* Get the number of video devices installed in the system. */ -PJ_DEF(unsigned) pjsua_vid_dev_count(void) -{ - UNIMPLEMENTED(pjsua_vid_dev_count) - return 0; -} - -/* Retrieve the video device info for the specified device index. */ -PJ_DEF(pj_status_t) pjsua_vid_dev_get_info(pjmedia_vid_dev_index id, - pjmedia_vid_dev_info *vdi) -{ - UNIMPLEMENTED(pjsua_vid_dev_get_info) - return PJ_ENOTSUP; -} - -/* Enum all video devices installed in the system. */ -PJ_DEF(pj_status_t) pjsua_vid_enum_devs(pjmedia_vid_dev_info info[], - unsigned *count) -{ - UNIMPLEMENTED(pjsua_vid_enum_devs) - return PJ_ENOTSUP; -} - - -/***************************************************************************** - * Codecs. - */ - -/* Enum all supported video codecs in the system. */ -PJ_DEF(pj_status_t) pjsua_vid_enum_codecs( pjsua_codec_info id[], - unsigned *p_count ) -{ - pjmedia_vid_codec_info info[32]; - unsigned i, j, count, prio[32]; - pj_status_t status; - - count = PJ_ARRAY_SIZE(info); - status = pjmedia_vid_codec_mgr_enum_codecs(NULL, &count, info, prio); - if (status != PJ_SUCCESS) { - *p_count = 0; - return status; - } - for (i=0, j=0; i", ">") - body = body.replace('"', """) - body = body.replace("\n", "
\n") - self.buddy.send_pager(body, content_type=mime) - self.bot.DEBUG("..sent\n") - else: - self.bot.DEBUG("..not sent!\n") - - def on_call_state(self, call): - ci = call.info() - if ci.state==pj.CallState.DISCONNECTED: - if self.in_voice: - msg = "%(uri)s has left the voice conference (%(1)d/%(2)s)" % \ - {'uri': self.uri, '1': ci.last_code, '2': ci.last_reason} - self.bot.DEBUG(msg + "\n", INFO) - self.bot.broadcast_pager(None, msg) - self.in_voice = False - self.call = None - self.bot.on_member_left(self) - elif ci.state==pj.CallState.CONFIRMED: - msg = "%(uri)s has joined the voice conference" % \ - {'uri': self.uri} - self.bot.DEBUG(msg + "\n", INFO) - self.bot.broadcast_pager(None, msg) - - def on_call_media_state(self, call): - self.bot.DEBUG("Member.on_call_media_state\n") - ci = call.info() - if ci.conf_slot!=-1: - if not self.in_voice: - msg = self.uri + " call media is active" - self.bot.broadcast_pager(None, msg) - self.in_voice = True - self.bot.add_to_voice_conf(self) - else: - if self.in_voice: - msg = self.uri + " call media is inactive" - self.bot.broadcast_pager(None, msg) - self.in_voice = False - - def on_call_dtmf_digit(self, call, digits): - msg = "%(uri)s sent DTMF digits %(dig)s" % \ - {'uri': self.uri, 'dig': digits} - self.bot.broadcast_pager(None, msg) - - def on_call_transfer_request(self, call, dst, code): - msg = "%(uri)s is transfering the call to %(dst)s" % \ - {'uri': self.uri, 'dst': dst} - self.bot.broadcast_pager(None, msg) - return 202 - - def on_call_transfer_status(self, call, code, reason, final, cont): - msg = "%(uri)s call transfer status is %(code)d/%(res)s" % \ - {'uri': self.uri, 'code': code, 'res': reason} - self.bot.broadcast_pager(None, msg) - return True - - def on_call_replace_request(self, call, code, reason): - msg = "%(uri)s is requesting call replace" % \ - {'uri': self.uri} - self.bot.broadcast_pager(None, msg) - return (code, reason) - - def on_call_replaced(self, call, new_call): - msg = "%(uri)s call is replaced" % \ - {'uri': self.uri} - self.bot.broadcast_pager(None, msg) - - def on_pres_state(self, buddy): - old_bi = self.bi - self.bi = buddy.info() - msg = "%(uri)s status is %(st)s" % \ - {'uri': self.uri, 'st': self.bi.online_text} - self.bot.DEBUG(msg + "\n", INFO) - self.bot.broadcast_pager(self, msg) - - if self.bi.sub_state==pj.SubscriptionState.ACTIVE: - if not self.in_chat: - self.in_chat = True - buddy.send_pager("Welcome to chatroom") - self.bot.broadcast_pager(self, self.uri + " has joined the chat room") - else: - self.in_chat = True - elif self.bi.sub_state==pj.SubscriptionState.NULL or \ - self.bi.sub_state==pj.SubscriptionState.TERMINATED or \ - self.bi.sub_state==pj.SubscriptionState.UNKNOWN: - self.buddy.delete() - self.buddy = None - if self.in_chat: - self.in_chat = False - self.bot.broadcast_pager(self, self.uri + " has left the chat room") - else: - self.in_chat = False - self.bot.on_member_left(self) - - def on_typing(self, is_typing, call=None, buddy=None): - if is_typing: - msg = self.uri + " is typing..." - else: - msg = self.uri + " has stopped typing" - self.bot.broadcast_pager(self, msg) - - def on_pager(self, mime_type, body, call=None, buddy=None): - if not self.bot.handle_cmd(self, None, body): - msg = self.uri + ": " + body - self.bot.broadcast_pager(self, msg, mime_type) - - def on_pager_status(self, body, im_id, code, reason, call=None, buddy=None): - self.im_error = (code/100 != 2) - - - -############################################################################## -# -# -# The Bot instance (singleton) -# -# -class Bot(pj.AccountCallback): - def __init__(self): - pj.AccountCallback.__init__(self, None) - self.lib = pj.Lib() - self.acc = None - self.calls = [] - self.members = {} - self.cfg = None - - def DEBUG(self, msg, level=TRACE): - print msg, - - def helpstring(self): - return """ ---h[elp] Display this help screen ---j[oin] Join the chat room ---html on|off Set to receive HTML or plain text - -Participant commands: ---s[how] Show confbot settings ---leave Leave the chatroom ---l[ist] List all members - -Admin commands: ---a[dmin] Where are: - list List the admins - add Add URI as admin - del Remove URI as admin - rr Reregister account to server - call Make call to the URI and add to voice conf - dc Disconnect call to URI - hold Hold call with that URI - update Send UPDATE to call with that URI - reinvite Send re-INVITE to call with that URI -""" - - def listmembers(self): - msg = "" - for uri, m in self.members.iteritems(): - msg = msg + str(m) + "\n" - return msg - - def showsettings(self): - ai = self.acc.info() - msg = """ -ConfBot status and settings: - URI: %(uri)s - Status: %(pres)s - Reg Status: %(reg_st)d - Reg Reason: %(reg_res)s -""" % {'uri': ai.uri, 'pres': ai.online_text, \ - 'reg_st': ai.reg_status, 'reg_res': ai.reg_reason} - return msg - - def main(self, cfg_file): - try: - cfg = self.cfg = __import__(cfg_file) - - self.lib.init(ua_cfg=cfg.ua_cfg, log_cfg=cfg.log_cfg, media_cfg=cfg.media_cfg) - self.lib.set_null_snd_dev() - - transport = None - if cfg.udp_cfg: - transport = self.lib.create_transport(pj.TransportType.UDP, cfg.udp_cfg) - if cfg.tcp_cfg: - t = self.lib.create_transport(pj.TransportType.TCP, cfg.tcp_cfg) - if not transport: - transport = t - - self.lib.start() - - if cfg.acc_cfg: - self.DEBUG("Creating account %(uri)s..\n" % {'uri': cfg.acc_cfg.id}, INFO) - self.acc = self.lib.create_account(cfg.acc_cfg, cb=self) - else: - self.DEBUG("Creating account for %(t)s..\n" % \ - {'t': transport.info().description}, INFO) - self.acc = self.lib.create_account_for_transport(transport, cb=self) - - self.acc.set_basic_status(True) - - # Wait for ENTER before quitting - print "Press q to quit or --help/--h for help" - while True: - input = sys.stdin.readline().strip(" \t\r\n") - if not self.handle_cmd(None, None, input): - if input=="q": - break - - self.lib.destroy() - self.lib = None - - except pj.Error, e: - print "Exception: " + str(e) - if self.lib: - self.lib.destroy() - self.lib = None - - def broadcast_pager(self, exclude_member, body, mime_type="text/plain"): - self.DEBUG("Broadcast: " + body + "\n") - for uri, m in self.members.iteritems(): - if m != exclude_member: - m.send_pager(body, mime_type) - - def add_to_voice_conf(self, member): - if not member.call: - return - src_ci = member.call.info() - self.DEBUG("bot.add_to_voice_conf\n") - for uri, m in self.members.iteritems(): - if m==member: - continue - if not m.call: - continue - dst_ci = m.call.info() - if dst_ci.media_state==pj.MediaState.ACTIVE and dst_ci.conf_slot!=-1: - self.lib.conf_connect(src_ci.conf_slot, dst_ci.conf_slot) - self.lib.conf_connect(dst_ci.conf_slot, src_ci.conf_slot) - - def on_member_left(self, member): - if not member.call and not member.buddy: - del self.members[member.uri] - del member - - def handle_admin_cmd(self, member, body): - if member and self.cfg.admins and not member.uri in self.cfg.admins: - member.send_pager("You are not admin") - return - args = body.split() - msg = "" - - if len(args)==1: - args.append(" ") - - if args[1]=="list": - if not self.cfg.admins: - msg = "Everyone is admin!" - else: - msg = str(self.cfg.admins) - elif args[1]=="add": - if len(args)!=3: - msg = "Usage: add " - else: - self.cfg.admins.append(args[2]) - msg = args[2] + " added as admin" - elif args[1]=="del": - if len(args)!=3: - msg = "Usage: del " - elif args[2] not in self.cfg.admins: - msg = args[2] + " is not admin" - else: - self.cfg.admins.remove(args[2]) - msg = args[2] + " has been removed from admins" - elif args[1]=="rr": - msg = "Reregistering.." - self.acc.set_registration(True) - elif args[1]=="call": - if len(args)!=3: - msg = "Usage: call " - else: - uri = args[2] - try: - call = self.acc.make_call(uri) - except pj.Error, e: - msg = "Error: " + str(e) - call = None - - if call: - if not uri in self.members: - m = Member(self, uri) - self.members[m.uri] = m - else: - m = self.members[uri] - msg = "Adding " + m.uri + " to voice conference.." - m.join_call(call) - elif args[1]=="dc" or args[1]=="hold" or args[1]=="update" or args[1]=="reinvite": - if len(args)!=3: - msg = "Usage: " + args[1] + " " - else: - uri = args[2] - if not uri in self.members: - msg = "Member not found/URI doesn't match (note: case matters!)" - else: - m = self.members[uri] - if m.call: - if args[1]=="dc": - msg = "Disconnecting.." - m.call.hangup(603, "You're disconnected by admin") - elif args[1]=="hold": - msg = "Holding the call" - m.call.hold() - elif args[1]=="update": - msg = "Sending UPDATE" - m.call.update() - elif args[1]=="reinvite": - msg = "Sending re-INVITE" - m.call.reinvite() - else: - msg = "He is not in call" - else: - msg = "Unknown admin command " + body - - #print "msg is '%(msg)s'" % {'msg': msg} - - if True: - if member: - member.send_pager(msg) - else: - print msg - - def handle_cmd(self, member, from_uri, body): - body = body.strip(" \t\r\n") - msg = "" - handled = True - if body=="--l" or body=="--list": - msg = self.listmembers() - if msg=="": - msg = "Nobody is here" - elif body[0:3]=="--s": - msg = self.showsettings() - elif body[0:6]=="--html" and member: - if body[8:11]=="off": - member.html = False - else: - member.html = True - elif body=="--h" or body=="--help": - msg = self.helpstring() - elif body=="--leave": - if not member or not member.buddy: - msg = "You are not in chatroom" - else: - member.buddy.unsubscribe() - elif body[0:3]=="--j": - if not from_uri in self.members: - m = Member(self, from_uri) - self.members[m.uri] = m - self.DEBUG("Adding " + m.uri + " to chatroom\n") - m.join_chat() - else: - m = self.members[from_uri] - self.DEBUG("Adding " + m.uri + " to chatroom\n") - m.join_chat() - elif body[0:3]=="--a": - self.handle_admin_cmd(member, body) - handled = True - else: - handled = False - - if msg: - if member: - member.send_pager(msg) - elif from_uri: - self.acc.send_pager(from_uri, msg); - else: - print msg - return handled - - def on_incoming_call(self, call): - self.DEBUG("on_incoming_call from %(uri)s\n" % {'uri': call.info().remote_uri}, INFO) - ci = call.info() - if not ci.remote_uri in self.members: - m = Member(self, ci.remote_uri) - self.members[m.uri] = m - m.join_call(call) - else: - m = self.members[ci.remote_uri] - m.join_call(call) - call.answer(200) - - def on_incoming_subscribe(self, buddy, from_uri, contact_uri, pres_obj): - self.DEBUG("on_incoming_subscribe from %(uri)s\n" % from_uri, INFO) - return (200, 'OK') - - def on_reg_state(self): - ai = self.acc.info() - self.DEBUG("Registration state: %(code)d/%(reason)s\n" % \ - {'code': ai.reg_status, 'reason': ai.reg_reason}, INFO) - if ai.reg_status/100==2 and ai.reg_expires > 0: - self.acc.set_basic_status(True) - - def on_pager(self, from_uri, contact, mime_type, body): - body = body.strip(" \t\r\n") - if not self.handle_cmd(None, from_uri, body): - self.acc.send_pager(from_uri, "You have not joined the chat room. Type '--join' to join or '--help' for the help") - - def on_pager_status(self, to_uri, body, im_id, code, reason): - pass - - def on_typing(self, from_uri, contact, is_typing): - pass - - - - -############################################################################## -# -# -# main() -# -# -if __name__ == "__main__": - bot = Bot() - bot.main(CFG_FILE) - diff --git a/res/pjproject/pjsip-apps/src/confbot/config.py b/res/pjproject/pjsip-apps/src/confbot/config.py deleted file mode 100644 index 5eadcd7991..0000000000 --- a/res/pjproject/pjsip-apps/src/confbot/config.py +++ /dev/null @@ -1,41 +0,0 @@ -# $Id$ -# -# Confbot settings -# -import pjsua as pj - -# Set of admins. If empty then everyone is admin! -admins = set([]) - -# acc_cfg holds the account config (set it to None to disable account) -acc_cfg = None -acc_cfg = pj.AccountConfig() -if acc_cfg: - acc_cfg.id = "sip:bot@pjsip.org" - acc_cfg.reg_uri = "sip:pjsip.org" - acc_cfg.proxy = [ "sip:pjsip.org;lr;transport=tcp" ] - acc_cfg.auth_cred = [ pj.AuthCred("*", "bot", "secretpass") ] - acc_cfg.publish_enabled = True - #acc_cfg.require_timer = True - -# Transport configs (set them to None to disable the transport) -udp_cfg = pj.TransportConfig(5080) -tcp_cfg = pj.TransportConfig(0) -#tcp_cfg = None - -# Logging Config (you can also set it to None to use default values) -def log_cb(level, str, len): - print str, - -log_cfg = pj.LogConfig() -#log_cfg.callback = log_cb - -# UA Config (you can also set it to None to use default values) -ua_cfg = pj.UAConfig() -ua_cfg.user_agent = "PJSIP ConfBot" -ua_cfg.stun_host = "stun.pjsip.org" - -# Media config (you can also set it to None to use default values) -media_cfg = pj.MediaConfig() -media_cfg.enable_ice = True -media_cfg.max_calls = 20 diff --git a/res/pjproject/pjsip-apps/src/ipjsua/Classes/ConfigViewController.h b/res/pjproject/pjsip-apps/src/ipjsua/Classes/ConfigViewController.h deleted file mode 100644 index cfb4844dfd..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsua/Classes/ConfigViewController.h +++ /dev/null @@ -1,32 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#import - - -@interface ConfigViewController : UIViewController { - IBOutlet UITextView *textView; - IBOutlet UIButton *button1; - IBOutlet UIButton *button2; -} - -@property (nonatomic, retain) IBOutlet UITextView *textView; -@property (nonatomic, retain) IBOutlet UIButton *button1; -@property (nonatomic, retain) IBOutlet UIButton *button2; - -@end diff --git a/res/pjproject/pjsip-apps/src/ipjsua/Classes/ConfigViewController.m b/res/pjproject/pjsip-apps/src/ipjsua/Classes/ConfigViewController.m deleted file mode 100644 index df71993c02..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsua/Classes/ConfigViewController.m +++ /dev/null @@ -1,158 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#import "ConfigViewController.h" -#import "ipjsuaAppDelegate.h" - - -@implementation ConfigViewController -@synthesize textView; -@synthesize button1; -@synthesize button2; - -bool kshow = false; - -/* - // The designated initializer. Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad. -- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { - if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) { - // Custom initialization - } - return self; -} -*/ - -/* -// Implement loadView to create a view hierarchy programmatically, without using a nib. -- (void)loadView { -} -*/ - -- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event -{ - // Dismiss the keyboard when the view outside the text view is touched. - [textView resignFirstResponder]; - [super touchesBegan:touches withEvent:event]; -} - -// Implement viewDidLoad to do additional setup after loading the view, typically from a nib. -- (void)viewDidLoad { - [super viewDidLoad]; - - [textView setFont:[UIFont fontWithName:@"Courier" size:10]]; - ipjsuaAppDelegate *appd = (ipjsuaAppDelegate *)[[UIApplication sharedApplication] delegate]; - appd.cfgView = self; - - /* Load config file and display it in the text view */ - NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); - NSString *cfgPath = [[paths objectAtIndex:0] stringByAppendingPathComponent:@"/config.cfg"]; - textView.text = [NSMutableString stringWithContentsOfFile:cfgPath encoding:NSASCIIStringEncoding error:NULL]; - - /* Add keyboard show/hide notifications so that we can resize the text view */ - kshow = false; - NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; - [nc addObserver:self selector:@selector(keyboardWillShow:) name: UIKeyboardWillShowNotification object:nil]; - [nc addObserver:self selector:@selector(keyboardWillHide:) name: UIKeyboardWillHideNotification object:nil]; - - /* Add button press event-handlers */ - [self.button1 addTarget:self action:@selector(button1Pressed:) forControlEvents:(UIControlEvents)UIControlEventTouchDown]; - [self.button2 addTarget:self action:@selector(button2Pressed:) forControlEvents:(UIControlEvents)UIControlEventTouchDown]; -} - --(void) keyboardWillShow:(NSNotification *) note -{ - if (kshow) return; - - /* Shrink the text view area when the keyboard appears */ - [UIView beginAnimations:nil context:NULL]; - [UIView setAnimationDuration:0.3]; - CGRect r = self.textView.frame, t; - [[note.userInfo valueForKey:UIKeyboardBoundsUserInfoKey] getValue: &t]; - r.size.height -= t.size.height - 51; - self.textView.frame = r; - [UIView commitAnimations]; - kshow = true; - - [self.button1 setEnabled:true]; - [self.button1.titleLabel setEnabled:true]; - [self.button2 setEnabled:true]; - [self.button2.titleLabel setEnabled:true]; -} - --(void) keyboardWillHide:(NSNotification *) note -{ - CGRect r = self.textView.frame, t; - [[note.userInfo valueForKey:UIKeyboardBoundsUserInfoKey] getValue: &t]; - r.size.height += t.size.height - 51; - self.textView.frame = r; - kshow = false; -} - -- (void)button1Pressed:(id)sender { - /* Save the config file */ - NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); - NSString *cfgPath = [[paths objectAtIndex:0] stringByAppendingPathComponent:@"/config.cfg"]; - [self.textView.text writeToFile:cfgPath atomically:NO encoding:NSASCIIStringEncoding error:NULL]; - - [self.textView resignFirstResponder]; - [self.button1 setEnabled:false]; - [self.button1.titleLabel setEnabled:false]; - [self.button2 setEnabled:false]; - [self.button2.titleLabel setEnabled:false]; -} - -- (void)button2Pressed:(id)sender { - /* Reload the config file */ - NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); - NSString *cfgPath = [[paths objectAtIndex:0] stringByAppendingPathComponent:@"/config.cfg"]; - self.textView.text = [NSMutableString stringWithContentsOfFile:cfgPath encoding:NSASCIIStringEncoding error:NULL]; - - [self.textView resignFirstResponder]; - [self.button1 setEnabled:false]; - [self.button1.titleLabel setEnabled:false]; - [self.button2 setEnabled:false]; - [self.button2.titleLabel setEnabled:false]; -} - -/* -// Override to allow orientations other than the default portrait orientation. -- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { - // Return YES for supported orientations - return (interfaceOrientation == UIInterfaceOrientationPortrait); -} -*/ - -- (void)didReceiveMemoryWarning { - // Releases the view if it doesn't have a superview. - [super didReceiveMemoryWarning]; - - // Release any cached data, images, etc that aren't in use. -} - -- (void)viewDidUnload { - // Release any retained subviews of the main view. - // e.g. self.myOutlet = nil; -} - - -- (void)dealloc { - [super dealloc]; -} - - -@end diff --git a/res/pjproject/pjsip-apps/src/ipjsua/Classes/FirstViewController.h b/res/pjproject/pjsip-apps/src/ipjsua/Classes/FirstViewController.h deleted file mode 100644 index d199a31f5e..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsua/Classes/FirstViewController.h +++ /dev/null @@ -1,37 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#import - - -@interface FirstViewController : UIViewController { - IBOutlet UITextField *textField; - IBOutlet UITextView *textView; - IBOutlet UIButton *button1; - - NSString *text; - bool hasInput; -} - -@property (nonatomic, retain) IBOutlet UITextField *textField; -@property (nonatomic, retain) IBOutlet UITextView *textView; -@property (nonatomic, retain) IBOutlet UIButton *button1; -@property (nonatomic, retain) NSString *text; -@property (nonatomic) bool hasInput; - -@end diff --git a/res/pjproject/pjsip-apps/src/ipjsua/Classes/FirstViewController.m b/res/pjproject/pjsip-apps/src/ipjsua/Classes/FirstViewController.m deleted file mode 100644 index b3878ab417..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsua/Classes/FirstViewController.m +++ /dev/null @@ -1,107 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#import "FirstViewController.h" -#import "ipjsuaAppDelegate.h" - - -@implementation FirstViewController -@synthesize textField; -@synthesize textView; -@synthesize button1; -@synthesize text; -@synthesize hasInput; - -- (BOOL)textFieldShouldReturn:(UITextField *)theTextField { - // When the user presses return, take focus away from the text field so that the keyboard is dismissed. - if (theTextField == textField) { - [self.textField resignFirstResponder]; - self.hasInput = true; - self.text = [textField.text stringByAppendingString:@"\n"]; - textField.text = @""; - } - return YES; -} - - -- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event -{ - // Dismiss the keyboard when the view outside the text field is touched. - [textField resignFirstResponder]; - [super touchesBegan:touches withEvent:event]; -} - -/* -// The designated initializer. Override to perform setup that is required before the view is loaded. -- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { - if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) { - // Custom initialization - } - return self; -} -*/ - -/* -// Implement loadView to create a view hierarchy programmatically, without using a nib. -- (void)loadView { -} -*/ - -// Implement viewDidLoad to do additional setup after loading the view, typically from a nib. -- (void)viewDidLoad { - [super viewDidLoad]; - - [[UIApplication sharedApplication] beginReceivingRemoteControlEvents]; - - ipjsuaAppDelegate *appd = (ipjsuaAppDelegate *)[[UIApplication sharedApplication] delegate]; - appd.mainView = self; - textField.delegate = self; - [self.textView setFont:[UIFont fontWithName:@"Courier New" size:8.9]]; - [self.textField setEnabled: false]; - [button1 addTarget:self action:@selector(button1Pressed:) forControlEvents:(UIControlEvents)UIControlEventTouchDown]; -} - -- (void)button1Pressed:(id)sender { - /* Clear the text view */ - self.textView.text = @""; -} - -// Override to allow orientations other than the default portrait orientation. -- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { - // Return YES for supported orientations - return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); -} - -- (void)didReceiveMemoryWarning { - // Releases the view if it doesn't have a superview. - [super didReceiveMemoryWarning]; - - // Release any cached data, images, etc that aren't in use. -} - -- (void)viewDidUnload { - // Release any retained subviews of the main view. - // e.g. self.myOutlet = nil; -} - - -- (void)dealloc { - [super dealloc]; -} - -@end diff --git a/res/pjproject/pjsip-apps/src/ipjsua/Classes/TabBarController.h b/res/pjproject/pjsip-apps/src/ipjsua/Classes/TabBarController.h deleted file mode 100644 index 343bed0293..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsua/Classes/TabBarController.h +++ /dev/null @@ -1,26 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#import - - -@interface TabBarController : UITabBarController { - -} - -@end diff --git a/res/pjproject/pjsip-apps/src/ipjsua/Classes/TabBarController.m b/res/pjproject/pjsip-apps/src/ipjsua/Classes/TabBarController.m deleted file mode 100644 index f9e44c0197..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsua/Classes/TabBarController.m +++ /dev/null @@ -1,30 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#import "TabBarController.h" - - -@implementation TabBarController - -// Override to allow orientations other than the default portrait orientation. -- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { - // Return YES for supported orientations - return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); -} - -@end diff --git a/res/pjproject/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.h b/res/pjproject/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.h deleted file mode 100644 index 624f7c24ba..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.h +++ /dev/null @@ -1,37 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#import -#import "ConfigViewController.h" -#import "FirstViewController.h" -#import "TabBarController.h" - -@interface ipjsuaAppDelegate : NSObject { - UIWindow *window; - ConfigViewController *cfgView; - FirstViewController *mainView; - TabBarController *tabBarController; -} - -@property (nonatomic, retain) IBOutlet UIWindow *window; -@property (nonatomic, retain) IBOutlet TabBarController *tabBarController; -@property (nonatomic, retain) IBOutlet ConfigViewController *cfgView; -@property (nonatomic, retain) FirstViewController *mainView; - - -@end diff --git a/res/pjproject/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.m b/res/pjproject/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.m deleted file mode 100644 index d462ae4427..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.m +++ /dev/null @@ -1,252 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#import -#import -#import "ipjsuaAppDelegate.h" - -extern pj_log_func *log_cb; - -@implementation ipjsuaAppDelegate -@synthesize window; -@synthesize tabBarController; -@synthesize mainView; -@synthesize cfgView; - -/* Sleep interval duration */ -#define SLEEP_INTERVAL 0.5 -/* Determine whether we should print the messages in the debugger - * console as well - */ -#define DEBUGGER_PRINT 1 -/* Whether we should show pj log messages in the text area */ -#define SHOW_LOG 1 -#define PATH_LENGTH PJ_MAXPATH -#define KEEP_ALIVE_INTERVAL 600 - -extern pj_bool_t app_restart; - -char argv_buf[PATH_LENGTH]; -char *argv[] = {"", "--config-file", argv_buf}; - -ipjsuaAppDelegate *app; - -bool app_running; -bool thread_quit; -NSMutableString *mstr; -pj_thread_desc a_thread_desc; -pj_thread_t *a_thread; -pjsua_call_id ccall_id; - -pj_status_t app_init(int argc, char *argv[]); -pj_status_t app_main(void); -pj_status_t app_destroy(void); -void keepAliveFunction(int timeout); - -void showMsg(const char *format, ...) -{ - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - va_list arg; - - va_start(arg, format); - NSString *str = [[NSString alloc] initWithFormat:[NSString stringWithFormat:@"%s", format] arguments: arg]; -#if DEBUGGER_PRINT - NSLog(@"%@", str); -#endif - va_end(arg); - - [mstr appendString:str]; - [pool release]; -} - -char * getInput(char *s, int n, FILE *stream) -{ - if (stream != stdin) { - return fgets(s, n, stream); - } - - app.mainView.hasInput = false; - [app.mainView.textField setEnabled: true]; - [app performSelectorOnMainThread:@selector(displayMsg:) withObject:mstr waitUntilDone:YES]; - [mstr setString:@""]; - - while (!thread_quit && !app.mainView.hasInput) { - int ctr = 0; - [NSThread sleepForTimeInterval:SLEEP_INTERVAL]; - if (ctr == 4) { - [app performSelectorOnMainThread:@selector(displayMsg:) withObject:mstr waitUntilDone:YES]; - [mstr setString:@""]; - ctr = 0; - } - ctr++; - } - - [app.mainView.text getCString:s maxLength:n encoding:NSASCIIStringEncoding]; - [app.mainView.textField setEnabled: false]; - [app performSelectorOnMainThread:@selector(displayMsg:) withObject:app.mainView.text waitUntilDone:NO]; - - return s; -} - -void showLog(int level, const char *data, int len) -{ - showMsg("%s", data); -} - -pj_bool_t showNotification(pjsua_call_id call_id) -{ -#ifdef __IPHONE_4_0 - ccall_id = call_id; - - // Create a new notification - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - UILocalNotification* alert = [[[UILocalNotification alloc] init] autorelease]; - if (alert) - { - alert.repeatInterval = 0; - alert.alertBody = @"Incoming call received..."; - alert.alertAction = @"Answer"; - - [[UIApplication sharedApplication] presentLocalNotificationNow:alert]; - } - - [pool release]; - - return PJ_FALSE; -#else - return PJ_TRUE; -#endif -} - -- (void)answer_call { - if (!pj_thread_is_registered()) - { - pj_thread_register("ipjsua", a_thread_desc, &a_thread); - } - pjsua_call_answer(ccall_id, 200, NULL, NULL); -} - -#ifdef __IPHONE_4_0 -- (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification { - [app performSelectorOnMainThread:@selector(answer_call) withObject:nil waitUntilDone:YES]; -} - -- (void)keepAlive { - if (!pj_thread_is_registered()) - { - pj_thread_register("ipjsua", a_thread_desc, &a_thread); - } - keepAliveFunction(KEEP_ALIVE_INTERVAL); -} - -- (void)applicationDidEnterBackground:(UIApplication *)application -{ - [app performSelectorOnMainThread:@selector(keepAlive) withObject:nil waitUntilDone:YES]; - [application setKeepAliveTimeout:KEEP_ALIVE_INTERVAL handler: ^{ - [app performSelectorOnMainThread:@selector(keepAlive) withObject:nil waitUntilDone:YES]; - }]; -} - -#endif - -- (void)start_app { - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - /* Wait until the view is ready */ - while (self.mainView == nil) { - [NSThread sleepForTimeInterval:SLEEP_INTERVAL]; - } - - [NSThread setThreadPriority:1.0]; - mstr = [NSMutableString stringWithCapacity:4196]; -#if SHOW_LOG - pj_log_set_log_func(&showLog); - log_cb = &showLog; -#endif - - do { - app_restart = PJ_FALSE; - if (app_init(3, argv) != PJ_SUCCESS) { - NSString *str = @"Failed to initialize pjsua\n"; - [app performSelectorOnMainThread:@selector(displayMsg:) withObject:str waitUntilDone:YES]; - } else { - app_running = true; - app_main(); - - app_destroy(); - /* This is on purpose */ - app_destroy(); - } - - [app performSelectorOnMainThread:@selector(displayMsg:) withObject:mstr waitUntilDone:YES]; - [mstr setString:@""]; - } while (app_restart); - - [pool release]; -} - -- (void)displayMsg:(NSString *)str { - self.mainView.textView.text = [self.mainView.textView.text stringByAppendingString:str]; - [self.mainView.textView scrollRangeToVisible:NSMakeRange([self.mainView.textView.text length] - 1, 1)]; -} - -- (void)applicationDidFinishLaunching:(UIApplication *)application { - /* If there is no config file in the document dir, copy the default config file into the directory */ - NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); - NSString *cfgPath = [[paths objectAtIndex:0] stringByAppendingPathComponent:@"/config.cfg"]; - if (![[NSFileManager defaultManager] fileExistsAtPath:cfgPath]) { - NSString *resPath = [[NSBundle mainBundle] pathForResource:@"config" ofType:@"cfg"]; - NSString *cfg = [NSString stringWithContentsOfFile:resPath encoding:NSASCIIStringEncoding error:NULL]; - [cfg writeToFile:cfgPath atomically:NO encoding:NSASCIIStringEncoding error:NULL]; - } - [cfgPath getCString:argv[2] maxLength:PATH_LENGTH encoding:NSASCIIStringEncoding]; - - // Add the tab bar controller's current view as a subview of the window - [window addSubview:tabBarController.view]; - [window makeKeyAndVisible]; - - app = self; - app_running = false; - thread_quit = false; - /* Start pjsua thread */ - [NSThread detachNewThreadSelector:@selector(start_app) toTarget:self withObject:nil]; -} - -/* -// Optional UITabBarControllerDelegate method -- (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController { -} -*/ - -/* -// Optional UITabBarControllerDelegate method -- (void)tabBarController:(UITabBarController *)tabBarController didEndCustomizingViewControllers:(NSArray *)viewControllers changed:(BOOL)changed { -} -*/ - - -- (void)dealloc { - thread_quit = true; - [NSThread sleepForTimeInterval:SLEEP_INTERVAL]; - - [tabBarController release]; - [window release]; - [super dealloc]; -} - -@end - diff --git a/res/pjproject/pjsip-apps/src/ipjsua/MainWindow.xib b/res/pjproject/pjsip-apps/src/ipjsua/MainWindow.xib deleted file mode 100644 index dfdc90fa7d..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsua/MainWindow.xib +++ /dev/null @@ -1,780 +0,0 @@ - - - - 784 - 10C540 - 740 - 1038.25 - 458.00 - - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - 62 - - - YES - - - - YES - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - YES - - YES - - - YES - - - - YES - - IBFilesOwner - - - IBFirstResponder - - - - - 1316 - - {320, 480} - - 1 - MSAxIDEAA - - NO - NO - - YES - - - - - 2 - NO - - - 2 - - YES - - - - 274 - - YES - - - 306 - {{0, 34}, {480, 217}} - - - 1 - MC45ODE5Mjc3MTA4IDAuOTYzODU1NDIxNyAxIDAAA - - NO - YES - YES - NO - NO - 0.0 - 0.0 - NO - NO - - - - - - 292 - {{7, 0}, {323, 31}} - - NO - NO - 0 - - 3 - Insert command here - - 3 - MAA - - 2 - - - YES - 17 - - 1 - 1 - 1 - - 1 - - - - 292 - {{351, 0}, {90, 32}} - - NO - NO - 0 - 0 - - Helvetica-Bold - 15 - 16 - - 1 - Clear view - - 3 - MQA - - - 1 - MC4xOTYwNzg0MyAwLjMwOTgwMzkzIDAuNTIxNTY4NjYAA - - - 3 - MC41AA - - - - {480, 251} - - - 1 - MC42NDQxOTgyNzA4IDAuNzgwNDMyODUxOSAwLjg2NDEzMDQzNDgAA - - NO - - - ipjsua - - - - - - YES - - - - Config - - - - SecondView - - - - - 266 - {{129, 330}, {163, 49}} - - 3 - MCAwAA - - NO - - - - - - YES - - - window - - - - 9 - - - - delegate - - - - 99 - - - - tabBarController - - - - 113 - - - - textField - - - - 129 - - - - textView - - - - 135 - - - - delegate - - - - 136 - - - - button1 - - - - 140 - - - - - YES - - 0 - - - - - - 2 - - - YES - - - - - -1 - - - File's Owner - - - 3 - - - - - 106 - - - YES - - - - - - - - 107 - - - - - 108 - - - YES - - - - - - - 109 - - - YES - - - - - - 110 - - - - - 111 - - - - - -2 - - - - - 119 - - - YES - - - - - - - - 123 - - - - - 126 - - - - - 139 - - - - - - - YES - - YES - -1.CustomClassName - -2.CustomClassName - 106.CustomClassName - 106.IBEditorWindowLastContentRect - 106.IBPluginDependency - 107.IBPluginDependency - 108.CustomClassName - 108.IBPluginDependency - 109.CustomClassName - 109.IBPluginDependency - 110.IBPluginDependency - 111.IBPluginDependency - 119.IBPluginDependency - 123.IBPluginDependency - 126.IBPluginDependency - 139.IBPluginDependency - 2.IBAttributePlaceholdersKey - 2.IBEditorWindowLastContentRect - 2.IBPluginDependency - 3.CustomClassName - 3.IBPluginDependency - - - YES - UIApplication - UIResponder - TabBarController - {{702, 231}, {480, 320}} - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - FirstViewController - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - ConfigViewController - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - YES - - - YES - - - {{229, 373}, {320, 480}} - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - ipjsuaAppDelegate - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - - YES - - - YES - - - - - YES - - - YES - - - - 140 - - - - YES - - ConfigViewController - UIViewController - - YES - - YES - button1 - button2 - textView - - - YES - UIButton - UIButton - UITextView - - - - IBProjectSource - Classes/ConfigViewController.h - - - - FirstViewController - UIViewController - - YES - - YES - button1 - textField - textView - - - YES - UIButton - UITextField - UITextView - - - - IBProjectSource - Classes/FirstViewController.h - - - - TabBarController - UITabBarController - - IBProjectSource - Classes/TabBarController.h - - - - ipjsuaAppDelegate - NSObject - - YES - - YES - cfgView - tabBarController - window - - - YES - ConfigViewController - TabBarController - UIWindow - - - - IBProjectSource - Classes/ipjsuaAppDelegate.h - - - - - YES - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSNetServices.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPort.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSStream.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSXMLParser.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIAccessibility.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UINibLoading.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIResponder.h - - - - UIApplication - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIApplication.h - - - - UIBarItem - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIBarItem.h - - - - UIButton - UIControl - - IBFrameworkSource - UIKit.framework/Headers/UIButton.h - - - - UIControl - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIControl.h - - - - UIResponder - NSObject - - - - UIScrollView - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIScrollView.h - - - - UISearchBar - UIView - - IBFrameworkSource - UIKit.framework/Headers/UISearchBar.h - - - - UISearchDisplayController - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UISearchDisplayController.h - - - - UITabBar - UIView - - IBFrameworkSource - UIKit.framework/Headers/UITabBar.h - - - - UITabBarController - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UITabBarController.h - - - - UITabBarItem - UIBarItem - - IBFrameworkSource - UIKit.framework/Headers/UITabBarItem.h - - - - UITextField - UIControl - - IBFrameworkSource - UIKit.framework/Headers/UITextField.h - - - - UITextView - UIScrollView - - IBFrameworkSource - UIKit.framework/Headers/UITextView.h - - - - UIView - - - - UIView - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIView.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UINavigationController.h - - - - UIViewController - - - - UIViewController - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIViewController.h - - - - UIWindow - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIWindow.h - - - - - 0 - - com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 - - - YES - ipjsua.xcodeproj - 3 - 3.1 - - diff --git a/res/pjproject/pjsip-apps/src/ipjsua/Resources-iPad/MainWindow-iPad.xib b/res/pjproject/pjsip-apps/src/ipjsua/Resources-iPad/MainWindow-iPad.xib deleted file mode 100644 index ca7f70a78f..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsua/Resources-iPad/MainWindow-iPad.xib +++ /dev/null @@ -1,913 +0,0 @@ - - - - 800 - 10C540 - 788 - 1038.25 - 458.00 - - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - 117 - - - YES - - - - YES - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - YES - - YES - - - YES - - - - YES - - IBFilesOwner - IBIPadFramework - - - IBFirstResponder - IBIPadFramework - - - IBIPadFramework - - - - 1316 - - {768, 1024} - - 1 - MSAxIDEAA - - NO - NO - - 2 - - IBIPadFramework - YES - YES - - - - - 2 - NO - - - 2 - - - 3 - - IBIPadFramework - YES - - - Config - IBIPadFramework - - - - SecondView-iPad - - 1 - - IBIPadFramework - NO - - - YES - - - - 274 - - YES - - - 306 - {{8, 57}, {1001, 622}} - - - 1 - MC45ODE5Mjc3MTA4IDAuOTYzODU1NDIxNyAxIDAAA - - NO - YES - YES - IBIPadFramework - NO - NO - 0.0 - 0.0 - NO - NO - - - IBCocoaTouchFramework - - - - - 292 - {{8, 8}, {844, 31}} - - NO - NO - IBIPadFramework - 0 - - 3 - Insert command here - - 3 - MAA - - 2 - - - YES - 17 - - 1 - 1 - 1 - IBCocoaTouchFramework - - 1 - - - - 292 - {{882, 7}, {127, 32}} - - NO - NO - IBIPadFramework - 0 - 0 - - Helvetica-Bold - 15 - 16 - - 1 - Clear view - - 3 - MQA - - - 1 - MC4xOTYwNzg0MyAwLjMwOTgwMzkzIDAuNTIxNTY4NjYAA - - - 3 - MC41AA - - - - {1024, 699} - - 1 - MC42NDQxOTgyNzA4IDAuNzgwNDMyODUxOSAwLjg2NDEzMDQzNDgAA - - NO - IBIPadFramework - - - ipjsua - IBIPadFramework - - - - - 1 - - IBIPadFramework - NO - - - - - - 266 - {{129, 330}, {163, 49}} - - 3 - MCAwAA - - NO - {{1.38778e-17, 0}, {1, 1}} - IBIPadFramework - - - - - - YES - - - window - - - - 9 - - - - delegate - - - - 99 - - - - tabBarController - - - - 113 - - - - textView - - - - 135 - - - - delegate - - - - 136 - - - - button1 - - - - 141 - - - - textField - - - - 142 - - - - - YES - - 0 - - - - - - 2 - - - YES - - - - - -1 - - - File's Owner - - - 3 - - - - - 106 - - - YES - - - - - - - - 107 - - - - - 108 - - - YES - - - - - - - 109 - - - YES - - - - - - 110 - - - - - 111 - - - - - -2 - - - - - 119 - - - YES - - - - - - - - 123 - - - - - 126 - - - - - 139 - - - - - - - YES - - YES - -1.CustomClassName - -2.CustomClassName - 106.CustomClassName - 106.IBEditorWindowLastContentRect - 106.IBLastUsedUIStatusBarStylesToTargetRuntimesMap - 106.IBPluginDependency - 107.IBPluginDependency - 108.CustomClassName - 108.IBPluginDependency - 109.CustomClassName - 109.IBPluginDependency - 110.IBPluginDependency - 111.IBPluginDependency - 119.IBPluginDependency - 123.IBPluginDependency - 126.IBPluginDependency - 139.IBPluginDependency - 2.IBAttributePlaceholdersKey - 2.IBEditorWindowLastContentRect - 2.IBLastUsedUIStatusBarStylesToTargetRuntimesMap - 2.IBPluginDependency - 3.CustomClassName - 3.IBPluginDependency - - - YES - UIApplication - UIResponder - TabBarController - {{197, 109}, {1039, 747}} - - IBCocoaTouchFramework - - - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - FirstViewController - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - ConfigViewController - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - YES - - - YES - - - {{528, 373}, {320, 480}} - - IBCocoaTouchFramework - - - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - ipjsuaAppDelegate - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - - YES - - - YES - - - - - YES - - - YES - - - - 142 - - - - YES - - ConfigViewController - UIViewController - - YES - - YES - button1 - button2 - textView - - - YES - UIButton - UIButton - UITextView - - - - YES - - YES - button1 - button2 - textView - - - YES - - button1 - UIButton - - - button2 - UIButton - - - textView - UITextView - - - - - IBProjectSource - Classes/ConfigViewController.h - - - - FirstViewController - UIViewController - - YES - - YES - button1 - textField - textView - - - YES - UIButton - UITextField - UITextView - - - - YES - - YES - button1 - textField - textView - - - YES - - button1 - UIButton - - - textField - UITextField - - - textView - UITextView - - - - - IBProjectSource - Classes/FirstViewController.h - - - - TabBarController - UITabBarController - - IBProjectSource - Classes/TabBarController.h - - - - ipjsuaAppDelegate - NSObject - - YES - - YES - cfgView - tabBarController - window - - - YES - ConfigViewController - TabBarController - UIWindow - - - - YES - - YES - cfgView - tabBarController - window - - - YES - - cfgView - ConfigViewController - - - tabBarController - TabBarController - - - window - UIWindow - - - - - IBProjectSource - Classes/ipjsuaAppDelegate.h - - - - - YES - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSNetServices.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPort.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSStream.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSXMLParser.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIAccessibility.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UINibLoading.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIResponder.h - - - - UIApplication - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIApplication.h - - - - UIBarItem - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIBarItem.h - - - - UIButton - UIControl - - IBFrameworkSource - UIKit.framework/Headers/UIButton.h - - - - UIControl - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIControl.h - - - - UIResponder - NSObject - - - - UIScrollView - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIScrollView.h - - - - UISearchBar - UIView - - IBFrameworkSource - UIKit.framework/Headers/UISearchBar.h - - - - UISearchDisplayController - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UISearchDisplayController.h - - - - UITabBar - UIView - - IBFrameworkSource - UIKit.framework/Headers/UITabBar.h - - - - UITabBarController - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UITabBarController.h - - - - UITabBarItem - UIBarItem - - IBFrameworkSource - UIKit.framework/Headers/UITabBarItem.h - - - - UITextField - UIControl - - IBFrameworkSource - UIKit.framework/Headers/UITextField.h - - - - UITextView - UIScrollView - - IBFrameworkSource - UIKit.framework/Headers/UITextView.h - - - - UIView - - - - UIView - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIView.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UINavigationController.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UIPopoverController.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UISplitViewController.h - - - - UIViewController - - - - UIViewController - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIViewController.h - - - - UIWindow - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIWindow.h - - - - - 0 - IBIPadFramework - - com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS - - - - com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 - - - YES - ../ipjsua.xcodeproj - 3 - 117 - - diff --git a/res/pjproject/pjsip-apps/src/ipjsua/Resources-iPad/SecondView-iPad.xib b/res/pjproject/pjsip-apps/src/ipjsua/Resources-iPad/SecondView-iPad.xib deleted file mode 100644 index 9b59476d91..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsua/Resources-iPad/SecondView-iPad.xib +++ /dev/null @@ -1,561 +0,0 @@ - - - - 800 - 10C540 - 788 - 1038.25 - 458.00 - - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - 117 - - - YES - - - - YES - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - YES - - YES - - - YES - - - - YES - - IBFilesOwner - IBIPadFramework - - - IBFirstResponder - IBIPadFramework - - - - 274 - - YES - - - 306 - {{20, 15}, {825, 664}} - - - 1 - MSAwLjkzNzA0OTE0MTggMC45NDg5MTUzMDc3AA - - NO - YES - YES - IBIPadFramework - NO - NO - NO - 0.0 - 0.0 - NO - Config - - 1 - 1 - IBCocoaTouchFramework - - - - - 292 - {{853, 15}, {151, 37}} - - NO - NO - IBIPadFramework - 0 - 0 - - Helvetica-Bold - 15 - 16 - - 1 - Save - - 3 - MQA - - - 1 - MC4xOTYwNzg0MyAwLjMwOTgwMzkzIDAuNTIxNTY4NjYAA - - - 3 - MC41AA - - - - - 292 - {{853, 75}, {151, 37}} - - NO - NO - IBIPadFramework - 0 - 0 - - 1 - Revert - - - 1 - MC4xOTYwNzg0MyAwLjMwOTgwMzkzIDAuNTIxNTY4NjYAA - - - - - {1024, 699} - - - 1 - MC41NjQxMjQ1MDA4IDAuNzUyMzk5ODQ5NyAwLjg1NzE0Mjg1NzEAA - - - 2 - - - - 3 - - IBIPadFramework - - - - - YES - - - view - - - - 3 - - - - textView - - - - 8 - - - - button1 - - - - 11 - - - - button2 - - - - 12 - - - - - YES - - 0 - - - - - - 1 - - - YES - - - - - - - - -1 - - - File's Owner - - - -2 - - - - - 7 - - - - - 9 - - - - - 10 - - - - - - - YES - - YES - -1.CustomClassName - -2.CustomClassName - 1.IBEditorWindowLastContentRect - 1.IBLastUsedUIStatusBarStylesToTargetRuntimesMap - 1.IBPluginDependency - 10.IBPluginDependency - 7.IBPluginDependency - 9.IBPluginDependency - - - YES - ConfigViewController - UIResponder - {{41, 113}, {1116, 709}} - - IBCocoaTouchFramework - - - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - - YES - - - YES - - - - - YES - - - YES - - - - 12 - - - - YES - - ConfigViewController - UIViewController - - YES - - YES - button1 - button2 - textView - - - YES - UIButton - UIButton - UITextView - - - - YES - - YES - button1 - button2 - textView - - - YES - - button1 - UIButton - - - button2 - UIButton - - - textView - UITextView - - - - - IBProjectSource - Classes/ConfigViewController.h - - - - - YES - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSNetServices.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPort.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSStream.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSXMLParser.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIAccessibility.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UINibLoading.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIResponder.h - - - - UIButton - UIControl - - IBFrameworkSource - UIKit.framework/Headers/UIButton.h - - - - UIControl - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIControl.h - - - - UIResponder - NSObject - - - - UIScrollView - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIScrollView.h - - - - UISearchBar - UIView - - IBFrameworkSource - UIKit.framework/Headers/UISearchBar.h - - - - UISearchDisplayController - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UISearchDisplayController.h - - - - UITextView - UIScrollView - - IBFrameworkSource - UIKit.framework/Headers/UITextView.h - - - - UIView - - IBFrameworkSource - UIKit.framework/Headers/UITextField.h - - - - UIView - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIView.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UINavigationController.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UIPopoverController.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UISplitViewController.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UITabBarController.h - - - - UIViewController - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIViewController.h - - - - - 0 - IBIPadFramework - - com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS - - - - com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 - - - YES - ipjsua.xcodeproj - 3 - 117 - - diff --git a/res/pjproject/pjsip-apps/src/ipjsua/SecondView.xib b/res/pjproject/pjsip-apps/src/ipjsua/SecondView.xib deleted file mode 100644 index dc43b74a43..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsua/SecondView.xib +++ /dev/null @@ -1,501 +0,0 @@ - - - - 784 - 10C540 - 740 - 1038.25 - 458.00 - - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - 62 - - - YES - - - - YES - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - YES - - YES - - - YES - - - - YES - - IBFilesOwner - - - IBFirstResponder - - - - 274 - - YES - - - 306 - {375, 251} - - - 1 - MSAwLjkzNzA0OTE0MTggMC45NDg5MTUzMDc3AA - - NO - YES - YES - NO - NO - NO - 0.0 - 0.0 - NO - Config - - 1 - 1 - - - - - 292 - {{376, 6}, {104, 37}} - - NO - NO - 0 - 0 - - Helvetica-Bold - 15 - 16 - - 1 - Save - - 3 - MQA - - - 1 - MC4xOTYwNzg0MyAwLjMwOTgwMzkzIDAuNTIxNTY4NjYAA - - - 3 - MC41AA - - - - - 292 - {{376, 51}, {104, 37}} - - NO - NO - 0 - 0 - - 1 - Revert - - - 1 - MC4xOTYwNzg0MyAwLjMwOTgwMzkzIDAuNTIxNTY4NjYAA - - - - - {480, 251} - - - 1 - MC41NjQxMjQ1MDA4IDAuNzUyMzk5ODQ5NyAwLjg1NzE0Mjg1NzEAA - - - - - - - - YES - - - view - - - - 3 - - - - textView - - - - 8 - - - - button1 - - - - 11 - - - - button2 - - - - 12 - - - - - YES - - 0 - - - - - - 1 - - - YES - - - - - - - - -1 - - - File's Owner - - - -2 - - - - - 7 - - - - - 9 - - - - - 10 - - - - - - - YES - - YES - -1.CustomClassName - -2.CustomClassName - 1.IBEditorWindowLastContentRect - 1.IBPluginDependency - 10.IBPluginDependency - 7.IBPluginDependency - 9.IBPluginDependency - - - YES - ConfigViewController - UIResponder - {{530, 459}, {480, 320}} - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - - YES - - - YES - - - - - YES - - - YES - - - - 12 - - - - YES - - ConfigViewController - UIViewController - - YES - - YES - button1 - button2 - textView - - - YES - UIButton - UIButton - UITextView - - - - IBProjectSource - Classes/ConfigViewController.h - - - - - YES - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSNetServices.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPort.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSStream.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSXMLParser.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIAccessibility.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UINibLoading.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIResponder.h - - - - UIButton - UIControl - - IBFrameworkSource - UIKit.framework/Headers/UIButton.h - - - - UIControl - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIControl.h - - - - UIResponder - NSObject - - - - UIScrollView - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIScrollView.h - - - - UISearchBar - UIView - - IBFrameworkSource - UIKit.framework/Headers/UISearchBar.h - - - - UISearchDisplayController - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UISearchDisplayController.h - - - - UITextView - UIScrollView - - IBFrameworkSource - UIKit.framework/Headers/UITextView.h - - - - UIView - - IBFrameworkSource - UIKit.framework/Headers/UITextField.h - - - - UIView - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIView.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UINavigationController.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UITabBarController.h - - - - UIViewController - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIViewController.h - - - - - 0 - - com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 - - - YES - ipjsua.xcodeproj - 3 - 3.1 - - diff --git a/res/pjproject/pjsip-apps/src/ipjsua/config.cfg b/res/pjproject/pjsip-apps/src/ipjsua/config.cfg deleted file mode 100644 index acca90511d..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsua/config.cfg +++ /dev/null @@ -1,3 +0,0 @@ ---auto-answer=200 ---video ---clock-rate=8000 diff --git a/res/pjproject/pjsip-apps/src/ipjsua/ipjsua-Info.plist b/res/pjproject/pjsip-apps/src/ipjsua/ipjsua-Info.plist deleted file mode 100644 index b57ad6d67b..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsua/ipjsua-Info.plist +++ /dev/null @@ -1,39 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleDisplayName - ${PRODUCT_NAME} - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIconFile - - CFBundleIdentifier - com.teluu.${PRODUCT_NAME:rfc1034identifier} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - APPL - CFBundleSignature - ???? - CFBundleVersion - 1.0 - LSRequiresIPhoneOS - - NSMainNibFile - MainWindow - NSMainNibFile~ipad - MainWindow-iPad - UIBackgroundModes - - audio - voip - - UIInterfaceOrientation - UIInterfaceOrientationLandscapeRight - - diff --git a/res/pjproject/pjsip-apps/src/ipjsua/ipjsua.xcodeproj/project.pbxproj b/res/pjproject/pjsip-apps/src/ipjsua/ipjsua.xcodeproj/project.pbxproj deleted file mode 100644 index 603a82d748..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsua/ipjsua.xcodeproj/project.pbxproj +++ /dev/null @@ -1,524 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 45; - objects = { - -/* Begin PBXBuildFile section */ - 1D3623260D0F684500981E51 /* ipjsuaAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D3623250D0F684500981E51 /* ipjsuaAppDelegate.m */; }; - 1D60589B0D05DD56006BFB54 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; }; - 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; - 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; }; - 28216C970DB411BC00E5133A /* FirstViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 28216C960DB411BC00E5133A /* FirstViewController.m */; }; - 282CCBFE0DB6C98000C4EA27 /* SecondView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 282CCBFD0DB6C98000C4EA27 /* SecondView.xib */; }; - 288765080DF74369002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765070DF74369002DB57D /* CoreGraphics.framework */; }; - 28AD73880D9D96C1002E5188 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28AD73870D9D96C1002E5188 /* MainWindow.xib */; }; - 3A0D789F121E324E009D5030 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A0D789E121E324E009D5030 /* CFNetwork.framework */; }; - 3A0D7ECD123DD46C009D5030 /* MainWindow-iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3A0D7ECC123DD46C009D5030 /* MainWindow-iPad.xib */; }; - 3A0D7F20123F2254009D5030 /* SecondView-iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3A0D7F1F123F2254009D5030 /* SecondView-iPad.xib */; }; - 3AE06674138E6C25008EE71A /* libpjmedia-videodev-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE06673138E6C25008EE71A /* libpjmedia-videodev-arm-apple-darwin9.a */; }; - 3AE06681138E6F88008EE71A /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE06680138E6F88008EE71A /* AVFoundation.framework */; }; - 3AE06683138E6FBB008EE71A /* libSDL.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE06682138E6FBB008EE71A /* libSDL.a */; }; - 3AE06693138E7056008EE71A /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE06692138E7056008EE71A /* OpenGLES.framework */; }; - 3AE06695138E70B9008EE71A /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE06694138E70B9008EE71A /* libz.dylib */; }; - 3AE06699138E70F0008EE71A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE06696138E70F0008EE71A /* CoreGraphics.framework */; }; - 3AE0669A138E70F0008EE71A /* CoreMedia.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE06697138E70F0008EE71A /* CoreMedia.framework */; }; - 3AE0669B138E70F0008EE71A /* CoreVideo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE06698138E70F0008EE71A /* CoreVideo.framework */; }; - 3AE0669D138E710C008EE71A /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE0669C138E710C008EE71A /* QuartzCore.framework */; }; - 3AE066A5138E72A4008EE71A /* libavcodec.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE0669E138E72A4008EE71A /* libavcodec.a */; }; - 3AE066A6138E72A4008EE71A /* libavcore.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE0669F138E72A4008EE71A /* libavcore.a */; }; - 3AE066A7138E72A4008EE71A /* libavdevice.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE066A0138E72A4008EE71A /* libavdevice.a */; }; - 3AE066A8138E72A4008EE71A /* libavfilter.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE066A1138E72A4008EE71A /* libavfilter.a */; }; - 3AE066A9138E72A4008EE71A /* libavformat.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE066A2138E72A4008EE71A /* libavformat.a */; }; - 3AE066AA138E72A4008EE71A /* libavutil.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE066A3138E72A4008EE71A /* libavutil.a */; }; - 3AE066AB138E72A4008EE71A /* libswscale.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE066A4138E72A4008EE71A /* libswscale.a */; }; - 3AE9099D11587BB900FAEAA5 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE9099C11587BB900FAEAA5 /* AudioToolbox.framework */; }; - 3AE90A2D1158B52500FAEAA5 /* pjsua_app.c in Sources */ = {isa = PBXBuildFile; fileRef = 3AE90A2C1158B52500FAEAA5 /* pjsua_app.c */; }; - 3AE90A6A1158C6B400FAEAA5 /* libgsmcodec-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A691158C6B400FAEAA5 /* libgsmcodec-arm-apple-darwin9.a */; }; - 3AE90A6C1158C6B400FAEAA5 /* libpj-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A6B1158C6B400FAEAA5 /* libpj-arm-apple-darwin9.a */; }; - 3AE90A6E1158C6B400FAEAA5 /* libpjlib-util-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A6D1158C6B400FAEAA5 /* libpjlib-util-arm-apple-darwin9.a */; }; - 3AE90A701158C6B400FAEAA5 /* libpjmedia-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A6F1158C6B400FAEAA5 /* libpjmedia-arm-apple-darwin9.a */; }; - 3AE90A721158C6B400FAEAA5 /* libpjmedia-audiodev-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A711158C6B400FAEAA5 /* libpjmedia-audiodev-arm-apple-darwin9.a */; }; - 3AE90A741158C6B400FAEAA5 /* libpjmedia-codec-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A731158C6B400FAEAA5 /* libpjmedia-codec-arm-apple-darwin9.a */; }; - 3AE90A761158C6B400FAEAA5 /* libpjnath-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A751158C6B400FAEAA5 /* libpjnath-arm-apple-darwin9.a */; }; - 3AE90A781158C6B400FAEAA5 /* libpjsip-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A771158C6B400FAEAA5 /* libpjsip-arm-apple-darwin9.a */; }; - 3AE90A7A1158C6B400FAEAA5 /* libpjsip-simple-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A791158C6B400FAEAA5 /* libpjsip-simple-arm-apple-darwin9.a */; }; - 3AE90A7C1158C6B400FAEAA5 /* libpjsip-ua-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A7B1158C6B400FAEAA5 /* libpjsip-ua-arm-apple-darwin9.a */; }; - 3AE90A7E1158C6B400FAEAA5 /* libpjsua-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A7D1158C6B400FAEAA5 /* libpjsua-arm-apple-darwin9.a */; }; - 3AE90A801158C6B400FAEAA5 /* libresample-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90A7F1158C6B400FAEAA5 /* libresample-arm-apple-darwin9.a */; }; - 3AE90AC01158F0C400FAEAA5 /* config.cfg in Resources */ = {isa = PBXBuildFile; fileRef = 3AE90ABF1158F0C400FAEAA5 /* config.cfg */; }; - 3AE90C51115A35BB00FAEAA5 /* TabBarController.m in Sources */ = {isa = PBXBuildFile; fileRef = 3AE90C50115A35BB00FAEAA5 /* TabBarController.m */; }; - 3AE90DAD115BB1CF00FAEAA5 /* ConfigViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 3AE90DAC115BB1CF00FAEAA5 /* ConfigViewController.m */; }; - 3AE90EB7115F7BCE00FAEAA5 /* libg7221codec-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90EB1115F7BCE00FAEAA5 /* libg7221codec-arm-apple-darwin9.a */; }; - 3AE90EB8115F7BCE00FAEAA5 /* libilbccodec-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90EB2115F7BCE00FAEAA5 /* libilbccodec-arm-apple-darwin9.a */; }; - 3AE90EB9115F7BCE00FAEAA5 /* libmilenage-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90EB3115F7BCE00FAEAA5 /* libmilenage-arm-apple-darwin9.a */; }; - 3AE90EBA115F7BCE00FAEAA5 /* libpjsdp-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90EB4115F7BCE00FAEAA5 /* libpjsdp-arm-apple-darwin9.a */; }; - 3AE90EBB115F7BCE00FAEAA5 /* libspeex-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90EB5115F7BCE00FAEAA5 /* libspeex-arm-apple-darwin9.a */; }; - 3AE90EBC115F7BCE00FAEAA5 /* libsrtp-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90EB6115F7BCE00FAEAA5 /* libsrtp-arm-apple-darwin9.a */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; - 1D3623240D0F684500981E51 /* ipjsuaAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ipjsuaAppDelegate.h; sourceTree = ""; }; - 1D3623250D0F684500981E51 /* ipjsuaAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ipjsuaAppDelegate.m; sourceTree = ""; }; - 1D6058910D05DD3D006BFB54 /* ipjsua.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ipjsua.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; - 28216C950DB411BC00E5133A /* FirstViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FirstViewController.h; sourceTree = ""; }; - 28216C960DB411BC00E5133A /* FirstViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FirstViewController.m; sourceTree = ""; }; - 282CCBFD0DB6C98000C4EA27 /* SecondView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = SecondView.xib; sourceTree = ""; }; - 288765070DF74369002DB57D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; - 28A0AB4B0D9B1048005BE974 /* ipjsua_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ipjsua_Prefix.pch; sourceTree = ""; }; - 28AD73870D9D96C1002E5188 /* MainWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainWindow.xib; sourceTree = ""; }; - 29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - 3A0D789E121E324E009D5030 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; }; - 3A0D7ECC123DD46C009D5030 /* MainWindow-iPad.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = "MainWindow-iPad.xib"; path = "Resources-iPad/MainWindow-iPad.xib"; sourceTree = ""; }; - 3A0D7F1F123F2254009D5030 /* SecondView-iPad.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = "SecondView-iPad.xib"; path = "Resources-iPad/SecondView-iPad.xib"; sourceTree = ""; }; - 3AE06673138E6C25008EE71A /* libpjmedia-videodev-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjmedia-videodev-arm-apple-darwin9.a"; path = "../../../pjmedia/lib/libpjmedia-videodev-arm-apple-darwin9.a"; sourceTree = ""; }; - 3AE06680138E6F88008EE71A /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; }; - 3AE06682138E6FBB008EE71A /* libSDL.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libSDL.a; path = "../../../../../Library/Developer/Xcode/DerivedData/SDLiPhoneOS-fyjdxvchuwlpnghehmebkvasdrke/Build/Products/Debug-iphoneos/libSDL.a"; sourceTree = ""; }; - 3AE06692138E7056008EE71A /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; }; - 3AE06694138E70B9008EE71A /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; }; - 3AE06696138E70F0008EE71A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; - 3AE06697138E70F0008EE71A /* CoreMedia.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMedia.framework; path = System/Library/Frameworks/CoreMedia.framework; sourceTree = SDKROOT; }; - 3AE06698138E70F0008EE71A /* CoreVideo.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreVideo.framework; path = System/Library/Frameworks/CoreVideo.framework; sourceTree = SDKROOT; }; - 3AE0669C138E710C008EE71A /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; - 3AE0669E138E72A4008EE71A /* libavcodec.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libavcodec.a; path = "../../../../video/ffmpeg-iphone/lib/libavcodec.a"; sourceTree = ""; }; - 3AE0669F138E72A4008EE71A /* libavcore.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libavcore.a; path = "../../../../video/ffmpeg-iphone/lib/libavcore.a"; sourceTree = ""; }; - 3AE066A0138E72A4008EE71A /* libavdevice.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libavdevice.a; path = "../../../../video/ffmpeg-iphone/lib/libavdevice.a"; sourceTree = ""; }; - 3AE066A1138E72A4008EE71A /* libavfilter.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libavfilter.a; path = "../../../../video/ffmpeg-iphone/lib/libavfilter.a"; sourceTree = ""; }; - 3AE066A2138E72A4008EE71A /* libavformat.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libavformat.a; path = "../../../../video/ffmpeg-iphone/lib/libavformat.a"; sourceTree = ""; }; - 3AE066A3138E72A4008EE71A /* libavutil.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libavutil.a; path = "../../../../video/ffmpeg-iphone/lib/libavutil.a"; sourceTree = ""; }; - 3AE066A4138E72A4008EE71A /* libswscale.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libswscale.a; path = "../../../../video/ffmpeg-iphone/lib/libswscale.a"; sourceTree = ""; }; - 3AE9099C11587BB900FAEAA5 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; - 3AE90A2C1158B52500FAEAA5 /* pjsua_app.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pjsua_app.c; path = ../pjsua/pjsua_app.c; sourceTree = SOURCE_ROOT; }; - 3AE90A691158C6B400FAEAA5 /* libgsmcodec-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libgsmcodec-arm-apple-darwin9.a"; path = "../../../third_party/lib/libgsmcodec-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A6B1158C6B400FAEAA5 /* libpj-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpj-arm-apple-darwin9.a"; path = "../../../pjlib/lib/libpj-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A6D1158C6B400FAEAA5 /* libpjlib-util-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjlib-util-arm-apple-darwin9.a"; path = "../../../pjlib-util/lib/libpjlib-util-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A6F1158C6B400FAEAA5 /* libpjmedia-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjmedia-arm-apple-darwin9.a"; path = "../../../pjmedia/lib/libpjmedia-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A711158C6B400FAEAA5 /* libpjmedia-audiodev-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjmedia-audiodev-arm-apple-darwin9.a"; path = "../../../pjmedia/lib/libpjmedia-audiodev-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A731158C6B400FAEAA5 /* libpjmedia-codec-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjmedia-codec-arm-apple-darwin9.a"; path = "../../../pjmedia/lib/libpjmedia-codec-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A751158C6B400FAEAA5 /* libpjnath-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjnath-arm-apple-darwin9.a"; path = "../../../pjnath/lib/libpjnath-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A771158C6B400FAEAA5 /* libpjsip-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjsip-arm-apple-darwin9.a"; path = "../../../pjsip/lib/libpjsip-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A791158C6B400FAEAA5 /* libpjsip-simple-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjsip-simple-arm-apple-darwin9.a"; path = "../../../pjsip/lib/libpjsip-simple-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A7B1158C6B400FAEAA5 /* libpjsip-ua-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjsip-ua-arm-apple-darwin9.a"; path = "../../../pjsip/lib/libpjsip-ua-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A7D1158C6B400FAEAA5 /* libpjsua-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjsua-arm-apple-darwin9.a"; path = "../../../pjsip/lib/libpjsua-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90A7F1158C6B400FAEAA5 /* libresample-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libresample-arm-apple-darwin9.a"; path = "../../../third_party/lib/libresample-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90ABF1158F0C400FAEAA5 /* config.cfg */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = config.cfg; sourceTree = ""; }; - 3AE90B131159D38400FAEAA5 /* gui.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = gui.h; path = ../pjsua/gui.h; sourceTree = SOURCE_ROOT; }; - 3AE90C4F115A35BB00FAEAA5 /* TabBarController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TabBarController.h; sourceTree = ""; }; - 3AE90C50115A35BB00FAEAA5 /* TabBarController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TabBarController.m; sourceTree = ""; }; - 3AE90DAB115BB1CF00FAEAA5 /* ConfigViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ConfigViewController.h; sourceTree = ""; }; - 3AE90DAC115BB1CF00FAEAA5 /* ConfigViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ConfigViewController.m; sourceTree = ""; }; - 3AE90EB1115F7BCE00FAEAA5 /* libg7221codec-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libg7221codec-arm-apple-darwin9.a"; path = "../../../third_party/lib/libg7221codec-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90EB2115F7BCE00FAEAA5 /* libilbccodec-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libilbccodec-arm-apple-darwin9.a"; path = "../../../third_party/lib/libilbccodec-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90EB3115F7BCE00FAEAA5 /* libmilenage-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libmilenage-arm-apple-darwin9.a"; path = "../../../third_party/lib/libmilenage-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90EB4115F7BCE00FAEAA5 /* libpjsdp-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjsdp-arm-apple-darwin9.a"; path = "../../../pjmedia/lib/libpjsdp-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90EB5115F7BCE00FAEAA5 /* libspeex-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libspeex-arm-apple-darwin9.a"; path = "../../../third_party/lib/libspeex-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90EB6115F7BCE00FAEAA5 /* libsrtp-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libsrtp-arm-apple-darwin9.a"; path = "../../../third_party/lib/libsrtp-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 8D1107310486CEB800E47090 /* ipjsua-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "ipjsua-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */, - 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */, - 288765080DF74369002DB57D /* CoreGraphics.framework in Frameworks */, - 3AE9099D11587BB900FAEAA5 /* AudioToolbox.framework in Frameworks */, - 3AE90A6A1158C6B400FAEAA5 /* libgsmcodec-arm-apple-darwin9.a in Frameworks */, - 3AE90A6C1158C6B400FAEAA5 /* libpj-arm-apple-darwin9.a in Frameworks */, - 3AE90A6E1158C6B400FAEAA5 /* libpjlib-util-arm-apple-darwin9.a in Frameworks */, - 3AE90A701158C6B400FAEAA5 /* libpjmedia-arm-apple-darwin9.a in Frameworks */, - 3AE90A721158C6B400FAEAA5 /* libpjmedia-audiodev-arm-apple-darwin9.a in Frameworks */, - 3AE90A741158C6B400FAEAA5 /* libpjmedia-codec-arm-apple-darwin9.a in Frameworks */, - 3AE90A761158C6B400FAEAA5 /* libpjnath-arm-apple-darwin9.a in Frameworks */, - 3AE90A781158C6B400FAEAA5 /* libpjsip-arm-apple-darwin9.a in Frameworks */, - 3AE90A7A1158C6B400FAEAA5 /* libpjsip-simple-arm-apple-darwin9.a in Frameworks */, - 3AE90A7C1158C6B400FAEAA5 /* libpjsip-ua-arm-apple-darwin9.a in Frameworks */, - 3AE90A7E1158C6B400FAEAA5 /* libpjsua-arm-apple-darwin9.a in Frameworks */, - 3AE90A801158C6B400FAEAA5 /* libresample-arm-apple-darwin9.a in Frameworks */, - 3AE90EB7115F7BCE00FAEAA5 /* libg7221codec-arm-apple-darwin9.a in Frameworks */, - 3AE90EB8115F7BCE00FAEAA5 /* libilbccodec-arm-apple-darwin9.a in Frameworks */, - 3AE90EB9115F7BCE00FAEAA5 /* libmilenage-arm-apple-darwin9.a in Frameworks */, - 3AE90EBA115F7BCE00FAEAA5 /* libpjsdp-arm-apple-darwin9.a in Frameworks */, - 3AE90EBB115F7BCE00FAEAA5 /* libspeex-arm-apple-darwin9.a in Frameworks */, - 3AE90EBC115F7BCE00FAEAA5 /* libsrtp-arm-apple-darwin9.a in Frameworks */, - 3A0D789F121E324E009D5030 /* CFNetwork.framework in Frameworks */, - 3AE06674138E6C25008EE71A /* libpjmedia-videodev-arm-apple-darwin9.a in Frameworks */, - 3AE06681138E6F88008EE71A /* AVFoundation.framework in Frameworks */, - 3AE06683138E6FBB008EE71A /* libSDL.a in Frameworks */, - 3AE06693138E7056008EE71A /* OpenGLES.framework in Frameworks */, - 3AE06695138E70B9008EE71A /* libz.dylib in Frameworks */, - 3AE06699138E70F0008EE71A /* CoreGraphics.framework in Frameworks */, - 3AE0669A138E70F0008EE71A /* CoreMedia.framework in Frameworks */, - 3AE0669B138E70F0008EE71A /* CoreVideo.framework in Frameworks */, - 3AE0669D138E710C008EE71A /* QuartzCore.framework in Frameworks */, - 3AE066A5138E72A4008EE71A /* libavcodec.a in Frameworks */, - 3AE066A6138E72A4008EE71A /* libavcore.a in Frameworks */, - 3AE066A7138E72A4008EE71A /* libavdevice.a in Frameworks */, - 3AE066A8138E72A4008EE71A /* libavfilter.a in Frameworks */, - 3AE066A9138E72A4008EE71A /* libavformat.a in Frameworks */, - 3AE066AA138E72A4008EE71A /* libavutil.a in Frameworks */, - 3AE066AB138E72A4008EE71A /* libswscale.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 080E96DDFE201D6D7F000001 /* Classes */ = { - isa = PBXGroup; - children = ( - 3AE90DAB115BB1CF00FAEAA5 /* ConfigViewController.h */, - 3AE90DAC115BB1CF00FAEAA5 /* ConfigViewController.m */, - 28216C950DB411BC00E5133A /* FirstViewController.h */, - 28216C960DB411BC00E5133A /* FirstViewController.m */, - 3AE90C4F115A35BB00FAEAA5 /* TabBarController.h */, - 3AE90C50115A35BB00FAEAA5 /* TabBarController.m */, - 1D3623240D0F684500981E51 /* ipjsuaAppDelegate.h */, - 1D3623250D0F684500981E51 /* ipjsuaAppDelegate.m */, - ); - path = Classes; - sourceTree = ""; - }; - 19C28FACFE9D520D11CA2CBB /* Products */ = { - isa = PBXGroup; - children = ( - 1D6058910D05DD3D006BFB54 /* ipjsua.app */, - ); - name = Products; - sourceTree = ""; - }; - 29B97314FDCFA39411CA2CEA /* ipjsua */ = { - isa = PBXGroup; - children = ( - 080E96DDFE201D6D7F000001 /* Classes */, - 29B97315FDCFA39411CA2CEA /* Other Sources */, - 29B97317FDCFA39411CA2CEA /* Resources */, - 3A0D7ECB123DD46C009D5030 /* Resources-iPad */, - 29B97323FDCFA39411CA2CEA /* Frameworks */, - 3AE909B211587D2700FAEAA5 /* Libraries */, - 19C28FACFE9D520D11CA2CBB /* Products */, - ); - name = ipjsua; - sourceTree = ""; - }; - 29B97315FDCFA39411CA2CEA /* Other Sources */ = { - isa = PBXGroup; - children = ( - 3AE90B131159D38400FAEAA5 /* gui.h */, - 3AE90ABF1158F0C400FAEAA5 /* config.cfg */, - 3AE90A2C1158B52500FAEAA5 /* pjsua_app.c */, - 28A0AB4B0D9B1048005BE974 /* ipjsua_Prefix.pch */, - 29B97316FDCFA39411CA2CEA /* main.m */, - ); - name = "Other Sources"; - sourceTree = ""; - }; - 29B97317FDCFA39411CA2CEA /* Resources */ = { - isa = PBXGroup; - children = ( - 282CCBFD0DB6C98000C4EA27 /* SecondView.xib */, - 28AD73870D9D96C1002E5188 /* MainWindow.xib */, - 8D1107310486CEB800E47090 /* ipjsua-Info.plist */, - ); - name = Resources; - sourceTree = ""; - }; - 29B97323FDCFA39411CA2CEA /* Frameworks */ = { - isa = PBXGroup; - children = ( - 3AE06694138E70B9008EE71A /* libz.dylib */, - 3AE0669C138E710C008EE71A /* QuartzCore.framework */, - 3AE06696138E70F0008EE71A /* CoreGraphics.framework */, - 3AE06697138E70F0008EE71A /* CoreMedia.framework */, - 3AE06698138E70F0008EE71A /* CoreVideo.framework */, - 3AE06692138E7056008EE71A /* OpenGLES.framework */, - 3AE06680138E6F88008EE71A /* AVFoundation.framework */, - 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */, - 1D30AB110D05D00D00671497 /* Foundation.framework */, - 288765070DF74369002DB57D /* CoreGraphics.framework */, - 3AE9099C11587BB900FAEAA5 /* AudioToolbox.framework */, - 3A0D789E121E324E009D5030 /* CFNetwork.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 3A0D7ECB123DD46C009D5030 /* Resources-iPad */ = { - isa = PBXGroup; - children = ( - 3A0D7F1F123F2254009D5030 /* SecondView-iPad.xib */, - 3A0D7ECC123DD46C009D5030 /* MainWindow-iPad.xib */, - ); - name = "Resources-iPad"; - sourceTree = ""; - }; - 3AE909B211587D2700FAEAA5 /* Libraries */ = { - isa = PBXGroup; - children = ( - 3AE0669E138E72A4008EE71A /* libavcodec.a */, - 3AE0669F138E72A4008EE71A /* libavcore.a */, - 3AE066A0138E72A4008EE71A /* libavdevice.a */, - 3AE066A1138E72A4008EE71A /* libavfilter.a */, - 3AE066A2138E72A4008EE71A /* libavformat.a */, - 3AE066A3138E72A4008EE71A /* libavutil.a */, - 3AE066A4138E72A4008EE71A /* libswscale.a */, - 3AE06682138E6FBB008EE71A /* libSDL.a */, - 3AE90EB1115F7BCE00FAEAA5 /* libg7221codec-arm-apple-darwin9.a */, - 3AE90EB2115F7BCE00FAEAA5 /* libilbccodec-arm-apple-darwin9.a */, - 3AE90EB3115F7BCE00FAEAA5 /* libmilenage-arm-apple-darwin9.a */, - 3AE90EB4115F7BCE00FAEAA5 /* libpjsdp-arm-apple-darwin9.a */, - 3AE90EB5115F7BCE00FAEAA5 /* libspeex-arm-apple-darwin9.a */, - 3AE90EB6115F7BCE00FAEAA5 /* libsrtp-arm-apple-darwin9.a */, - 3AE90A691158C6B400FAEAA5 /* libgsmcodec-arm-apple-darwin9.a */, - 3AE90A6B1158C6B400FAEAA5 /* libpj-arm-apple-darwin9.a */, - 3AE90A6D1158C6B400FAEAA5 /* libpjlib-util-arm-apple-darwin9.a */, - 3AE90A6F1158C6B400FAEAA5 /* libpjmedia-arm-apple-darwin9.a */, - 3AE90A711158C6B400FAEAA5 /* libpjmedia-audiodev-arm-apple-darwin9.a */, - 3AE90A731158C6B400FAEAA5 /* libpjmedia-codec-arm-apple-darwin9.a */, - 3AE06673138E6C25008EE71A /* libpjmedia-videodev-arm-apple-darwin9.a */, - 3AE90A751158C6B400FAEAA5 /* libpjnath-arm-apple-darwin9.a */, - 3AE90A771158C6B400FAEAA5 /* libpjsip-arm-apple-darwin9.a */, - 3AE90A791158C6B400FAEAA5 /* libpjsip-simple-arm-apple-darwin9.a */, - 3AE90A7B1158C6B400FAEAA5 /* libpjsip-ua-arm-apple-darwin9.a */, - 3AE90A7D1158C6B400FAEAA5 /* libpjsua-arm-apple-darwin9.a */, - 3AE90A7F1158C6B400FAEAA5 /* libresample-arm-apple-darwin9.a */, - ); - name = Libraries; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 1D6058900D05DD3D006BFB54 /* ipjsua */ = { - isa = PBXNativeTarget; - buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "ipjsua" */; - buildPhases = ( - 1D60588D0D05DD3D006BFB54 /* Resources */, - 1D60588E0D05DD3D006BFB54 /* Sources */, - 1D60588F0D05DD3D006BFB54 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = ipjsua; - productName = ipjsua; - productReference = 1D6058910D05DD3D006BFB54 /* ipjsua.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 29B97313FDCFA39411CA2CEA /* Project object */ = { - isa = PBXProject; - attributes = { - ORGANIZATIONNAME = "Teluu Inc. (http://www.teluu.com)"; - }; - buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "ipjsua" */; - compatibilityVersion = "Xcode 3.1"; - developmentRegion = English; - hasScannedForEncodings = 1; - knownRegions = ( - en, - ); - mainGroup = 29B97314FDCFA39411CA2CEA /* ipjsua */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 1D6058900D05DD3D006BFB54 /* ipjsua */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 1D60588D0D05DD3D006BFB54 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 28AD73880D9D96C1002E5188 /* MainWindow.xib in Resources */, - 282CCBFE0DB6C98000C4EA27 /* SecondView.xib in Resources */, - 3AE90AC01158F0C400FAEAA5 /* config.cfg in Resources */, - 3A0D7ECD123DD46C009D5030 /* MainWindow-iPad.xib in Resources */, - 3A0D7F20123F2254009D5030 /* SecondView-iPad.xib in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 1D60588E0D05DD3D006BFB54 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 1D60589B0D05DD56006BFB54 /* main.m in Sources */, - 1D3623260D0F684500981E51 /* ipjsuaAppDelegate.m in Sources */, - 28216C970DB411BC00E5133A /* FirstViewController.m in Sources */, - 3AE90A2D1158B52500FAEAA5 /* pjsua_app.c in Sources */, - 3AE90C51115A35BB00FAEAA5 /* TabBarController.m in Sources */, - 3AE90DAD115BB1CF00FAEAA5 /* ConfigViewController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 1D6058940D05DD3E006BFB54 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_32_BIT)"; - COPY_PHASE_STRIP = NO; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = ipjsua_Prefix.pch; - GCC_PREPROCESSOR_DEFINITIONS = ( - "PJ_AUTOCONF=1", - USE_GUI, - ); - INFOPLIST_FILE = "ipjsua-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 3.2; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/../../../third_party/lib\"", - "\"$(SRCROOT)/../../../pjlib/lib\"", - "\"$(SRCROOT)/../../../pjlib-util/lib\"", - "\"$(SRCROOT)/../../../pjmedia/lib\"", - "\"$(SRCROOT)/../../../pjnath/lib\"", - "\"$(SRCROOT)/../../../pjsip/lib\"", - "\"$(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/AVFoundation.framework\"", - "\"$(SRCROOT)/../../../../../Library/Developer/Xcode/DerivedData/SDLiPhoneOS-fyjdxvchuwlpnghehmebkvasdrke/Build/Products/Debug-iphoneos\"", - "\"$(SRCROOT)/../../../../video/ffmpeg-iphone/lib\"", - ); - ONLY_ACTIVE_ARCH = YES; - PRODUCT_NAME = ipjsua; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 1D6058950D05DD3E006BFB54 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_32_BIT)"; - COPY_PHASE_STRIP = YES; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = ipjsua_Prefix.pch; - GCC_PREPROCESSOR_DEFINITIONS = ( - "PJ_AUTOCONF=1", - USE_GUI, - ); - INFOPLIST_FILE = "ipjsua-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 3.2; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/../../../third_party/lib\"", - "\"$(SRCROOT)/../../../pjlib/lib\"", - "\"$(SRCROOT)/../../../pjlib-util/lib\"", - "\"$(SRCROOT)/../../../pjmedia/lib\"", - "\"$(SRCROOT)/../../../pjnath/lib\"", - "\"$(SRCROOT)/../../../pjsip/lib\"", - "\"$(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/AVFoundation.framework\"", - "\"$(SRCROOT)/../../../../../Library/Developer/Xcode/DerivedData/SDLiPhoneOS-fyjdxvchuwlpnghehmebkvasdrke/Build/Products/Debug-iphoneos\"", - "\"$(SRCROOT)/../../../../video/ffmpeg-iphone/lib\"", - ); - ONLY_ACTIVE_ARCH = YES; - PRODUCT_NAME = ipjsua; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - C01FCF4F08A954540054247B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_BIT)"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - GCC_C_LANGUAGE_STANDARD = c99; - GCC_PREPROCESSOR_DEFINITIONS = USE_GUI; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ( - ../../../pjsip/include, - ../../../pjlib/include, - "../../../pjlib-util/include", - ../../../pjnath/include, - ../../../pjmedia/include, - ); - LIBRARY_SEARCH_PATHS = ( - ../../../pjlib/lib, - "../../../pjlib-util/lib", - ../../../pjnath/lib, - ../../../pjmedia/lib, - ../../../pjsip/lib, - ../../../third_party/lib, - ); - ONLY_ACTIVE_ARCH = NO; - OTHER_CFLAGS = ""; - PREBINDING = NO; - SDKROOT = iphoneos; - }; - name = Debug; - }; - C01FCF5008A954540054247B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_BIT)"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - GCC_C_LANGUAGE_STANDARD = c99; - GCC_PREPROCESSOR_DEFINITIONS = USE_GUI; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ( - ../../../pjsip/include, - ../../../pjlib/include, - "../../../pjlib-util/include", - ../../../pjnath/include, - ../../../pjmedia/include, - ); - LIBRARY_SEARCH_PATHS = ( - ../../../pjlib/lib, - "../../../pjlib-util/lib", - ../../../pjnath/lib, - ../../../pjmedia/lib, - ../../../pjsip/lib, - ../../../third_party/lib, - ); - ONLY_ACTIVE_ARCH = NO; - OTHER_CFLAGS = ""; - PREBINDING = NO; - SDKROOT = iphoneos; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "ipjsua" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 1D6058940D05DD3E006BFB54 /* Debug */, - 1D6058950D05DD3E006BFB54 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C01FCF4E08A954540054247B /* Build configuration list for PBXProject "ipjsua" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C01FCF4F08A954540054247B /* Debug */, - C01FCF5008A954540054247B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; -} diff --git a/res/pjproject/pjsip-apps/src/ipjsua/ipjsua_Prefix.pch b/res/pjproject/pjsip-apps/src/ipjsua/ipjsua_Prefix.pch deleted file mode 100644 index 2fe1856471..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsua/ipjsua_Prefix.pch +++ /dev/null @@ -1,8 +0,0 @@ -// -// Prefix header for all source files of the 'ipjsua' target in the 'ipjsua' project -// - -#ifdef __OBJC__ - #import - #import -#endif diff --git a/res/pjproject/pjsip-apps/src/ipjsua/main.m b/res/pjproject/pjsip-apps/src/ipjsua/main.m deleted file mode 100644 index 11f211e235..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsua/main.m +++ /dev/null @@ -1,27 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#import - -int main(int argc, char *argv[]) { - NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; - int retVal = UIApplicationMain(argc, argv, nil, nil); - [pool release]; - return retVal; -} - diff --git a/res/pjproject/pjsip-apps/src/ipjsystest/Classes/RootViewController.h b/res/pjproject/pjsip-apps/src/ipjsystest/Classes/RootViewController.h deleted file mode 100644 index 17942a6dcf..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsystest/Classes/RootViewController.h +++ /dev/null @@ -1,32 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#import "TestViewController.h" - -@interface RootViewController : UITableViewController { - NSMutableArray *titles; - NSMutableArray *menus; - - TestViewController *testView; -} - -@property (nonatomic, retain) NSMutableArray *titles; -@property (nonatomic, retain) NSMutableArray *menus; -@property (nonatomic, retain) TestViewController *testView; - -@end diff --git a/res/pjproject/pjsip-apps/src/ipjsystest/Classes/RootViewController.m b/res/pjproject/pjsip-apps/src/ipjsystest/Classes/RootViewController.m deleted file mode 100644 index a3be41b685..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsystest/Classes/RootViewController.m +++ /dev/null @@ -1,335 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#import "RootViewController.h" -#import "gui.h" -#import "systest.h" - -/* Sleep interval duration, change to shorter duration for better - * interaction but make sure there is enough time for the other - * thread to do what it's supposed to do - */ -#define SLEEP_INTERVAL 0.5 - -@implementation RootViewController -@synthesize titles; -@synthesize menus; -@synthesize testView; - -RootViewController *view; - -bool systest_initialized; -bool thread_quit; -gui_menu *gmenu; -int section; -int row; -const char *ctitle; -const char *cmsg; -enum gui_flag cflag; - -pj_status_t gui_init(gui_menu *menu) -{ - PJ_UNUSED_ARG(menu); - return PJ_SUCCESS; -} - -/* Run GUI main loop */ -pj_status_t gui_start(gui_menu *menu) -{ - view.titles = [NSMutableArray arrayWithCapacity:menu->submenu_cnt]; - view.menus = [NSMutableArray arrayWithCapacity:menu->submenu_cnt]; - NSMutableArray *smenu; - for (int i = 0; i < menu->submenu_cnt; i++) { - NSString *str = [NSString stringWithFormat:@"%s" , menu->submenus[i]->title]; - [view.titles addObject: str]; - smenu = [NSMutableArray arrayWithCapacity:menu->submenus[i]->submenu_cnt]; - /* We do not need the last two menus of the "Tests" menu (NULL and "Exit"), - * so subtract by 2 - */ - for (int j = 0; j < menu->submenus[i]->submenu_cnt - (i==0? 2: 0); j++) { - str = [NSString stringWithFormat:@"%s" , menu->submenus[i]->submenus[j]->title]; - [smenu addObject:str]; - } - [view.menus addObject:smenu]; - } - gmenu = menu; - - return PJ_SUCCESS; -} - -/* Signal GUI mainloop to stop */ -void gui_destroy(void) -{ -} - -/* AUX: display messagebox */ -enum gui_key gui_msgbox(const char *title, const char *message, enum gui_flag flag) -{ - ctitle = title; - cmsg = message; - cflag = flag; - [view performSelectorOnMainThread:@selector(showMsg) withObject:nil waitUntilDone:YES]; - - view.testView.key = 0; - while(view.testView.key == 0) { - /* Let the main thread do its job (refresh the view) while we wait for - * user interaction (button click) - */ - [NSThread sleepForTimeInterval:SLEEP_INTERVAL]; - } - - if (view.testView.key == 1) - return KEY_OK; - else - return (flag == WITH_YESNO? KEY_NO: KEY_CANCEL); -} - -/* AUX: sleep */ -void gui_sleep(unsigned sec) -{ - [NSThread sleepForTimeInterval:sec]; -} - -- (void)viewDidLoad { - [super viewDidLoad]; - - view = self; - - /* Get a writable path for output files */ - NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); - NSString *documentsDirectory = [paths objectAtIndex:0]; - [documentsDirectory getCString:doc_path maxLength:PATH_LENGTH encoding:NSASCIIStringEncoding]; - strncat(doc_path, "/", PATH_LENGTH); - - /* Get path for our test resources (the wav files) */ - NSString *resPath = [[NSBundle mainBundle] resourcePath]; - [resPath getCString:res_path maxLength:PATH_LENGTH encoding:NSASCIIStringEncoding]; - strncat(res_path, "/", PATH_LENGTH); - - systest_initialized = false; - thread_quit = false; - [NSThread detachNewThreadSelector:@selector(startTest) toTarget:self withObject:nil]; - /* Let our new thread initialize */ - while (!systest_initialized) { - [NSThread sleepForTimeInterval:SLEEP_INTERVAL]; - } - - // Uncomment the following line to display an Edit button in the navigation bar for this view controller. - // self.navigationItem.rightBarButtonItem = self.editButtonItem; -} - -/* - - (void)viewWillAppear:(BOOL)animated { - [super viewWillAppear:animated]; - } - */ -/* - - (void)viewDidAppear:(BOOL)animated { - [super viewDidAppear:animated]; - } - */ -/* - - (void)viewWillDisappear:(BOOL)animated { - [super viewWillDisappear:animated]; - } - */ -/* - - (void)viewDidDisappear:(BOOL)animated { - [super viewDidDisappear:animated]; - } - */ - -/* - // Override to allow orientations other than the default portrait orientation. - - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { - // Return YES for supported orientations. - return (interfaceOrientation == UIInterfaceOrientationPortrait); - } - */ - -- (void)didReceiveMemoryWarning { - // Releases the view if it doesn't have a superview. - [super didReceiveMemoryWarning]; - - // Release any cached data, images, etc that aren't in use. -} - -- (void)viewDidUnload { - // Release anything that can be recreated in viewDidLoad or on demand. - // e.g. self.myOutlet = nil; - self.titles = nil; - self.menus = nil; - - thread_quit = true; - [NSThread sleepForTimeInterval:SLEEP_INTERVAL]; -} - - -#pragma mark Table view methods - - -- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { - return [titles count]; -} - - -// Customize the number of rows in the table view. -- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { - return [[menus objectAtIndex:section] count]; -} - - -- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section { - // The header for the section is the region name -- get this from the region at the section index. - return [titles objectAtIndex:section]; -} - -// Customize the appearance of table view cells. -- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { - - static NSString *CellIdentifier = @"Cell"; - - UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; - if (cell == nil) { - cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease]; - } - - // Configure the cell. - cell.textLabel.text = [[menus objectAtIndex:indexPath.section] objectAtIndex:indexPath.row]; - - return cell; -} - -- (void)startTest { - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - if (systest_init() != PJ_SUCCESS) { - [pool release]; - return; - } - - systest_run(); - - systest_initialized = 1; - while(!thread_quit) { - section = -1; - while (section == -1) { - [NSThread sleepForTimeInterval:SLEEP_INTERVAL]; - } - (*gmenu->submenus[section]->submenus[row]->handler)(); - cmsg = NULL; - [view performSelectorOnMainThread:@selector(showMsg) withObject:nil waitUntilDone:YES]; - } - - systest_deinit(); - [pool release]; -} - -- (void)showMsg { - if (cmsg == NULL) { - self.testView.testDesc.text = [self.testView.testDesc.text stringByAppendingString: @"Finished"]; - [self.testView.testDesc scrollRangeToVisible:NSMakeRange([self.testView.testDesc.text length] - 1, 1)]; - [self.testView.button1 setHidden:true]; - [self.testView.button2 setHidden:true]; - return; - } - self.testView.title = [NSString stringWithFormat:@"%s", ctitle]; - self.testView.testDesc.text = [self.testView.testDesc.text stringByAppendingString: [NSString stringWithFormat:@"%s\n\n", cmsg]]; - [self.testView.testDesc scrollRangeToVisible:NSMakeRange([self.testView.testDesc.text length] - 1, 1)]; - - [self.testView.button1 setHidden:false]; - [self.testView.button2 setHidden:false]; - if (cflag == WITH_YESNO) { - [self.testView.button1 setTitle:@"Yes" forState:UIControlStateNormal]; - [self.testView.button2 setTitle:@"No" forState:UIControlStateNormal]; - } else if (cflag == WITH_OK) { - [self.testView.button1 setTitle:@"OK" forState:UIControlStateNormal]; - [self.testView.button2 setHidden:true]; - } else if (cflag == WITH_OKCANCEL) { - [self.testView.button1 setTitle:@"OK" forState:UIControlStateNormal]; - [self.testView.button2 setTitle:@"Cancel" forState:UIControlStateNormal]; - } -} - - -// Override to support row selection in the table view. -- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { - - // Navigation logic may go here -- for example, create and push another view controller. - // AnotherViewController *anotherViewController = [[AnotherViewController alloc] initWithNibName:@"AnotherView" bundle:nil]; - // [self.navigationController pushViewController:anotherViewController animated:YES]; - // [anotherViewController release]; - - if (self.testView == nil) { - self.testView = [[TestViewController alloc] initWithNibName:@"TestViewController" bundle:[NSBundle mainBundle]]; - } - - [self.navigationController pushViewController:self.testView animated:YES]; - self.testView.title = [[menus objectAtIndex:indexPath.section] objectAtIndex:indexPath.row]; - self.testView.testDesc.text = @""; - section = indexPath.section; - row = indexPath.row; -} - - -/* - // Override to support conditional editing of the table view. - - (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath { - // Return NO if you do not want the specified item to be editable. - return YES; - } - */ - - -/* - // Override to support editing the table view. - - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { - - if (editingStyle == UITableViewCellEditingStyleDelete) { - // Delete the row from the data source. - [tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade]; - } - else if (editingStyle == UITableViewCellEditingStyleInsert) { - // Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view. - } - } - */ - - -/* - // Override to support rearranging the table view. - - (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath { - } - */ - - -/* - // Override to support conditional rearranging of the table view. - - (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath { - // Return NO if you do not want the item to be re-orderable. - return YES; - } - */ - - -- (void)dealloc { - [super dealloc]; -} - - -@end - diff --git a/res/pjproject/pjsip-apps/src/ipjsystest/Classes/TestViewController.h b/res/pjproject/pjsip-apps/src/ipjsystest/Classes/TestViewController.h deleted file mode 100644 index 7186f28652..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsystest/Classes/TestViewController.h +++ /dev/null @@ -1,35 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#import - - -@interface TestViewController : UIViewController { - IBOutlet UITextView *testDesc; - IBOutlet UIButton *button1; - IBOutlet UIButton *button2; - - NSInteger key; -} - -@property (nonatomic, retain) IBOutlet UITextView *testDesc; -@property (nonatomic, retain) IBOutlet UIButton *button1; -@property (nonatomic, retain) IBOutlet UIButton *button2; -@property (nonatomic) NSInteger key; - -@end diff --git a/res/pjproject/pjsip-apps/src/ipjsystest/Classes/TestViewController.m b/res/pjproject/pjsip-apps/src/ipjsystest/Classes/TestViewController.m deleted file mode 100644 index ae816cccfb..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsystest/Classes/TestViewController.m +++ /dev/null @@ -1,91 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#import "TestViewController.h" - -@implementation TestViewController -@synthesize testDesc; -@synthesize button1; -@synthesize button2; -@synthesize key; - -- (void)button1Pressed:(id)sender { - self.key = 1; - [self.button1 setHidden:true]; - [self.button2 setHidden:true]; -} - -- (void)button2Pressed:(id)sender { - self.key = 2; - [self.button1 setHidden:true]; - [self.button2 setHidden:true]; -} - -/* - // The designated initializer. Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad. - - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { - if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) { - // Custom initialization - } - return self; - } - */ - -/* - // Implement loadView to create a view hierarchy programmatically, without using a nib. - - (void)loadView { - } - */ - - -// Implement viewDidLoad to do additional setup after loading the view, typically from a nib. -- (void)viewDidLoad { - [super viewDidLoad]; - - [button1 addTarget:self action:@selector(button1Pressed:) forControlEvents:(UIControlEvents)UIControlEventTouchDown]; - [button2 addTarget:self action:@selector(button2Pressed:) forControlEvents:(UIControlEvents)UIControlEventTouchDown]; - [testDesc setEditable:false]; -} - -/* - // Override to allow orientations other than the default portrait orientation. - - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { - // Return YES for supported orientations - return (interfaceOrientation == UIInterfaceOrientationPortrait); - } - */ - -- (void)didReceiveMemoryWarning { - // Releases the view if it doesn't have a superview. - [super didReceiveMemoryWarning]; - - // Release any cached data, images, etc that aren't in use. -} - -- (void)viewDidUnload { - // Release any retained subviews of the main view. - // e.g. self.myOutlet = nil; -} - - -- (void)dealloc { - [super dealloc]; -} - - -@end diff --git a/res/pjproject/pjsip-apps/src/ipjsystest/Classes/ipjsystestAppDelegate.h b/res/pjproject/pjsip-apps/src/ipjsystest/Classes/ipjsystestAppDelegate.h deleted file mode 100644 index 9e357aa431..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsystest/Classes/ipjsystestAppDelegate.h +++ /dev/null @@ -1,29 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -@interface ipjsystestAppDelegate : NSObject { - - UIWindow *window; - UINavigationController *navigationController; -} - -@property (nonatomic, retain) IBOutlet UIWindow *window; -@property (nonatomic, retain) IBOutlet UINavigationController *navigationController; - -@end - diff --git a/res/pjproject/pjsip-apps/src/ipjsystest/Classes/ipjsystestAppDelegate.m b/res/pjproject/pjsip-apps/src/ipjsystest/Classes/ipjsystestAppDelegate.m deleted file mode 100644 index 7e2f591245..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsystest/Classes/ipjsystestAppDelegate.m +++ /dev/null @@ -1,55 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#import "ipjsystestAppDelegate.h" -#import "RootViewController.h" - - -@implementation ipjsystestAppDelegate - -@synthesize window; -@synthesize navigationController; - -#pragma mark - -#pragma mark Application lifecycle - -- (void)applicationDidFinishLaunching:(UIApplication *)application { - - // Override point for customization after app launch - [window addSubview:[navigationController view]]; - [window makeKeyAndVisible]; -} - - -- (void)applicationWillTerminate:(UIApplication *)application { - // Save data if appropriate -} - - -#pragma mark - -#pragma mark Memory management - -- (void)dealloc { - [navigationController release]; - [window release]; - [super dealloc]; -} - - -@end - diff --git a/res/pjproject/pjsip-apps/src/ipjsystest/MainWindow.xib b/res/pjproject/pjsip-apps/src/ipjsystest/MainWindow.xib deleted file mode 100644 index 8b08922bde..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsystest/MainWindow.xib +++ /dev/null @@ -1,507 +0,0 @@ - - - - 784 - 10C540 - 740 - 1038.25 - 458.00 - - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - 62 - - - YES - - - - YES - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - YES - - YES - - - YES - - - - YES - - IBFilesOwner - - - IBFirstResponder - - - - - 1316 - - {320, 480} - - 1 - MSAxIDEAA - - NO - NO - - - - - - - 256 - {0, 0} - NO - YES - YES - - - YES - - - - ipjsystest - - - RootViewController - - - - - - - - YES - - - delegate - - - - 4 - - - - window - - - - 5 - - - - navigationController - - - - 15 - - - - - YES - - 0 - - - - - - 2 - - - YES - - - - - -1 - - - File's Owner - - - 3 - - - - - -2 - - - - - 9 - - - YES - - - - - - - 11 - - - - - 13 - - - YES - - - - - - 14 - - - - - - - YES - - YES - -1.CustomClassName - -2.CustomClassName - 11.IBPluginDependency - 13.CustomClassName - 13.IBPluginDependency - 2.IBAttributePlaceholdersKey - 2.IBEditorWindowLastContentRect - 2.IBPluginDependency - 3.CustomClassName - 3.IBPluginDependency - 9.IBEditorWindowLastContentRect - 9.IBPluginDependency - - - YES - UIApplication - UIResponder - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - RootViewController - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - YES - - - YES - - - {{673, 376}, {320, 480}} - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - ipjsystestAppDelegate - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - {{500, 343}, {320, 480}} - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - - YES - - - YES - - - - - YES - - - YES - - - - 20 - - - - YES - - RootViewController - UITableViewController - - IBProjectSource - Classes/RootViewController.h - - - - ipjsystestAppDelegate - NSObject - - YES - - YES - navigationController - window - - - YES - UINavigationController - UIWindow - - - - IBProjectSource - Classes/ipjsystestAppDelegate.h - - - - - YES - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSNetServices.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPort.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSStream.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSXMLParser.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIAccessibility.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UINibLoading.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIResponder.h - - - - UIApplication - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIApplication.h - - - - UIBarButtonItem - UIBarItem - - IBFrameworkSource - UIKit.framework/Headers/UIBarButtonItem.h - - - - UIBarItem - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIBarItem.h - - - - UINavigationBar - UIView - - IBFrameworkSource - UIKit.framework/Headers/UINavigationBar.h - - - - UINavigationController - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UINavigationController.h - - - - UINavigationItem - NSObject - - - - UIResponder - NSObject - - - - UISearchBar - UIView - - IBFrameworkSource - UIKit.framework/Headers/UISearchBar.h - - - - UISearchDisplayController - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UISearchDisplayController.h - - - - UITableViewController - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UITableViewController.h - - - - UIView - - IBFrameworkSource - UIKit.framework/Headers/UITextField.h - - - - UIView - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIView.h - - - - UIViewController - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UITabBarController.h - - - - UIViewController - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIViewController.h - - - - UIWindow - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIWindow.h - - - - - 0 - - com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 - - - YES - ipjsystest.xcodeproj - 3 - 3.1 - - diff --git a/res/pjproject/pjsip-apps/src/ipjsystest/RootViewController.xib b/res/pjproject/pjsip-apps/src/ipjsystest/RootViewController.xib deleted file mode 100644 index 5c44ed2e5d..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsystest/RootViewController.xib +++ /dev/null @@ -1,380 +0,0 @@ - - - - 784 - 10A405 - 732 - 1031 - 432.00 - - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - 62 - - - YES - - - - YES - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - YES - - YES - - - YES - - - - YES - - IBFilesOwner - - - IBFirstResponder - - - - 274 - {320, 247} - - - 3 - MQA - - NO - YES - NO - NO - 1 - 0 - YES - 44 - 22 - 22 - - - - - YES - - - view - - - - 3 - - - - dataSource - - - - 4 - - - - delegate - - - - 5 - - - - - YES - - 0 - - - - - - -1 - - - File's Owner - - - -2 - - - - - 2 - - - - - - - YES - - YES - -1.CustomClassName - -2.CustomClassName - 2.IBEditorWindowLastContentRect - 2.IBPluginDependency - - - YES - RootViewController - UIResponder - {{0, 598}, {320, 247}} - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - - YES - - - YES - - - - - YES - - - YES - - - - 5 - - - - YES - - RootViewController - UITableViewController - - IBProjectSource - Classes/RootViewController.h - - - - - YES - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSNetServices.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPort.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSStream.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSXMLParser.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIAccessibility.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UINibLoading.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIResponder.h - - - - UIResponder - NSObject - - - - UIScrollView - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIScrollView.h - - - - UISearchBar - UIView - - IBFrameworkSource - UIKit.framework/Headers/UISearchBar.h - - - - UISearchDisplayController - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UISearchDisplayController.h - - - - UITableView - UIScrollView - - IBFrameworkSource - UIKit.framework/Headers/UITableView.h - - - - UITableViewController - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UITableViewController.h - - - - UIView - - IBFrameworkSource - UIKit.framework/Headers/UITextField.h - - - - UIView - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIView.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UINavigationController.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UITabBarController.h - - - - UIViewController - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIViewController.h - - - - - 0 - - com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS - - - - com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 - - - YES - ipjsystest.xcodeproj - 3 - 3.1 - - diff --git a/res/pjproject/pjsip-apps/src/ipjsystest/TestViewController.xib b/res/pjproject/pjsip-apps/src/ipjsystest/TestViewController.xib deleted file mode 100644 index 3a66c09c76..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsystest/TestViewController.xib +++ /dev/null @@ -1,496 +0,0 @@ - - - - 784 - 10C540 - 740 - 1038.25 - 458.00 - - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - 62 - - - YES - - - - YES - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - YES - - YES - - - YES - - - - YES - - IBFilesOwner - - - IBFirstResponder - - - - 292 - - YES - - - 274 - {320, 358} - - NO - YES - YES - NO - NO - NO - NO - Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Nam liber te conscient to factor tum poen legum odioque civiuda. - - 2 - - - - - 292 - {{228, 366}, {72, 37}} - - NO - NO - 0 - 0 - - Helvetica-Bold - 15 - 16 - - 1 - OK - - 3 - MQA - - - 1 - MC4xOTYwNzg0MyAwLjMwOTgwMzkzIDAuNTIxNTY4NjYAA - - - 3 - MC41AA - - - - - 292 - {{141, 366}, {72, 37}} - - NO - NO - 0 - 0 - - 1 - Cancel - - - 1 - MC4xOTYwNzg0MyAwLjMwOTgwMzkzIDAuNTIxNTY4NjYAA - - - - - {320, 460} - - - 3 - MQA - - 2 - - - - - - - - YES - - - testDesc - - - - 4 - - - - view - - - - 5 - - - - button1 - - - - 8 - - - - button2 - - - - 9 - - - - - YES - - 0 - - - - - - 1 - - - YES - - - - - - - - -1 - - - File's Owner - - - -2 - - - - - 3 - - - - - 6 - - - - - 7 - - - - - - - YES - - YES - -1.CustomClassName - -2.CustomClassName - 1.IBEditorWindowLastContentRect - 1.IBPluginDependency - 3.IBPluginDependency - 6.IBPluginDependency - 7.IBPluginDependency - - - YES - TestViewController - UIResponder - {{461, 327}, {320, 480}} - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - - YES - - - YES - - - - - YES - - - YES - - - - 9 - - - - YES - - TestViewController - UIViewController - - YES - - YES - button1 - button2 - testDesc - - - YES - UIButton - UIButton - UITextView - - - - IBProjectSource - Classes/TestViewController.h - - - - - YES - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSNetServices.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPort.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSStream.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSXMLParser.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIAccessibility.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UINibLoading.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIResponder.h - - - - UIButton - UIControl - - IBFrameworkSource - UIKit.framework/Headers/UIButton.h - - - - UIControl - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIControl.h - - - - UIResponder - NSObject - - - - UIScrollView - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIScrollView.h - - - - UISearchBar - UIView - - IBFrameworkSource - UIKit.framework/Headers/UISearchBar.h - - - - UISearchDisplayController - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UISearchDisplayController.h - - - - UITextView - UIScrollView - - IBFrameworkSource - UIKit.framework/Headers/UITextView.h - - - - UIView - - IBFrameworkSource - UIKit.framework/Headers/UITextField.h - - - - UIView - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIView.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UINavigationController.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UITabBarController.h - - - - UIViewController - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIViewController.h - - - - - 0 - - com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 - - - YES - ipjsystest.xcodeproj - 3 - 3.1 - - diff --git a/res/pjproject/pjsip-apps/src/ipjsystest/ipjsystest-Info.plist b/res/pjproject/pjsip-apps/src/ipjsystest/ipjsystest-Info.plist deleted file mode 100644 index e15a90b4df..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsystest/ipjsystest-Info.plist +++ /dev/null @@ -1,34 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleDisplayName - ${PRODUCT_NAME} - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIconFile - - CFBundleIdentifier - com.teluu.${PRODUCT_NAME:rfc1034identifier} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - APPL - CFBundleSignature - ???? - CFBundleVersion - 1.0 - LSRequiresIPhoneOS - - NSMainNibFile - MainWindow - UIBackgroundModes - - audio - - - diff --git a/res/pjproject/pjsip-apps/src/ipjsystest/ipjsystest.xcodeproj/project.pbxproj b/res/pjproject/pjsip-apps/src/ipjsystest/ipjsystest.xcodeproj/project.pbxproj deleted file mode 100755 index 2709d6103b..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsystest/ipjsystest.xcodeproj/project.pbxproj +++ /dev/null @@ -1,434 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 45; - objects = { - -/* Begin PBXBuildFile section */ - 1D3623260D0F684500981E51 /* ipjsystestAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D3623250D0F684500981E51 /* ipjsystestAppDelegate.m */; }; - 1D60589B0D05DD56006BFB54 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; }; - 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; - 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; }; - 2892E4100DC94CBA00A64D0F /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2892E40F0DC94CBA00A64D0F /* CoreGraphics.framework */; }; - 28AD73600D9D9599002E5188 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28AD735F0D9D9599002E5188 /* MainWindow.xib */; }; - 28C286E10D94DF7D0034E888 /* RootViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 28C286E00D94DF7D0034E888 /* RootViewController.m */; }; - 28F335F11007B36200424DE2 /* RootViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28F335F01007B36200424DE2 /* RootViewController.xib */; }; - 3A3478AA1154BF8E00D51880 /* TestViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3A3478A91154BF8E00D51880 /* TestViewController.xib */; }; - 3A3478AF1154BFD700D51880 /* TestViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 3A3478AE1154BFD700D51880 /* TestViewController.m */; }; - 3A3479221154DB0800D51880 /* systest.c in Sources */ = {isa = PBXBuildFile; fileRef = 3A3479211154DB0800D51880 /* systest.c */; }; - 3A34794B1154E39900D51880 /* libpjmedia-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A34794A1154E39900D51880 /* libpjmedia-arm-apple-darwin9.a */; }; - 3A34794D1154E39900D51880 /* libpjmedia-audiodev-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A34794C1154E39900D51880 /* libpjmedia-audiodev-arm-apple-darwin9.a */; }; - 3A34794F1154E3F000D51880 /* libpjsip-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A34794E1154E3F000D51880 /* libpjsip-arm-apple-darwin9.a */; }; - 3A3479511154E42400D51880 /* libpjsip-simple-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A3479501154E42400D51880 /* libpjsip-simple-arm-apple-darwin9.a */; }; - 3A3479531154E42400D51880 /* libpjsip-ua-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A3479521154E42400D51880 /* libpjsip-ua-arm-apple-darwin9.a */; }; - 3A3479551154E42400D51880 /* libpjsua-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A3479541154E42400D51880 /* libpjsua-arm-apple-darwin9.a */; }; - 3A34795B1154E45A00D51880 /* libpj-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A34795A1154E45A00D51880 /* libpj-arm-apple-darwin9.a */; }; - 3A34795D1154E48700D51880 /* libpjlib-util-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A34795C1154E48700D51880 /* libpjlib-util-arm-apple-darwin9.a */; }; - 3A3479791154EBDE00D51880 /* libpjmedia-codec-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A3479781154EBDE00D51880 /* libpjmedia-codec-arm-apple-darwin9.a */; }; - 3A34797B1154EBDE00D51880 /* libpjnath-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A34797A1154EBDE00D51880 /* libpjnath-arm-apple-darwin9.a */; }; - 3A3479871154EC4E00D51880 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A3479861154EC4E00D51880 /* AudioToolbox.framework */; }; - 3A34799A1154ECA300D51880 /* libgsmcodec-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A3479991154ECA300D51880 /* libgsmcodec-arm-apple-darwin9.a */; }; - 3A34799C1154ECB100D51880 /* libresample-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A34799B1154ECB100D51880 /* libresample-arm-apple-darwin9.a */; }; - 3ABE0507147CA00B00A57A62 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3ABE0506147CA00B00A57A62 /* CFNetwork.framework */; }; - 3AC6435E1162192900B7A751 /* tock8.wav in Resources */ = {isa = PBXBuildFile; fileRef = 3AC6435D1162192900B7A751 /* tock8.wav */; }; - 3ADA4AB911572300008D95FE /* input.8.wav in Resources */ = {isa = PBXBuildFile; fileRef = 3ADA4AB811572300008D95FE /* input.8.wav */; }; - 3AE90E9B115F7A4F00FAEAA5 /* libg7221codec-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90E95115F7A4E00FAEAA5 /* libg7221codec-arm-apple-darwin9.a */; }; - 3AE90E9C115F7A4F00FAEAA5 /* libilbccodec-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90E96115F7A4F00FAEAA5 /* libilbccodec-arm-apple-darwin9.a */; }; - 3AE90E9D115F7A4F00FAEAA5 /* libmilenage-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90E97115F7A4F00FAEAA5 /* libmilenage-arm-apple-darwin9.a */; }; - 3AE90E9E115F7A4F00FAEAA5 /* libpjsdp-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90E98115F7A4F00FAEAA5 /* libpjsdp-arm-apple-darwin9.a */; }; - 3AE90E9F115F7A4F00FAEAA5 /* libspeex-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90E99115F7A4F00FAEAA5 /* libspeex-arm-apple-darwin9.a */; }; - 3AE90EA0115F7A4F00FAEAA5 /* libsrtp-arm-apple-darwin9.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE90E9A115F7A4F00FAEAA5 /* libsrtp-arm-apple-darwin9.a */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; - 1D3623240D0F684500981E51 /* ipjsystestAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ipjsystestAppDelegate.h; sourceTree = ""; }; - 1D3623250D0F684500981E51 /* ipjsystestAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ipjsystestAppDelegate.m; sourceTree = ""; }; - 1D6058910D05DD3D006BFB54 /* ipjsystest.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ipjsystest.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; - 2892E40F0DC94CBA00A64D0F /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; - 28A0AAE50D9B0CCF005BE974 /* ipjsystest_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ipjsystest_Prefix.pch; sourceTree = ""; }; - 28AD735F0D9D9599002E5188 /* MainWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainWindow.xib; sourceTree = ""; }; - 28C286DF0D94DF7D0034E888 /* RootViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RootViewController.h; sourceTree = ""; }; - 28C286E00D94DF7D0034E888 /* RootViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RootViewController.m; sourceTree = ""; }; - 28F335F01007B36200424DE2 /* RootViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = RootViewController.xib; sourceTree = ""; }; - 29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - 3A3478A91154BF8E00D51880 /* TestViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = TestViewController.xib; sourceTree = ""; }; - 3A3478AD1154BFD700D51880 /* TestViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestViewController.h; sourceTree = ""; }; - 3A3478AE1154BFD700D51880 /* TestViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TestViewController.m; sourceTree = ""; }; - 3A3479211154DB0800D51880 /* systest.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = systest.c; path = ../pjsystest/systest.c; sourceTree = SOURCE_ROOT; }; - 3A34794A1154E39900D51880 /* libpjmedia-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjmedia-arm-apple-darwin9.a"; path = "../../../pjmedia/lib/libpjmedia-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3A34794C1154E39900D51880 /* libpjmedia-audiodev-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjmedia-audiodev-arm-apple-darwin9.a"; path = "../../../pjmedia/lib/libpjmedia-audiodev-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3A34794E1154E3F000D51880 /* libpjsip-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjsip-arm-apple-darwin9.a"; path = "../../../pjsip/lib/libpjsip-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3A3479501154E42400D51880 /* libpjsip-simple-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjsip-simple-arm-apple-darwin9.a"; path = "../../../pjsip/lib/libpjsip-simple-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3A3479521154E42400D51880 /* libpjsip-ua-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjsip-ua-arm-apple-darwin9.a"; path = "../../../pjsip/lib/libpjsip-ua-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3A3479541154E42400D51880 /* libpjsua-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjsua-arm-apple-darwin9.a"; path = "../../../pjsip/lib/libpjsua-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3A34795A1154E45A00D51880 /* libpj-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpj-arm-apple-darwin9.a"; path = "../../../pjlib/lib/libpj-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3A34795C1154E48700D51880 /* libpjlib-util-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjlib-util-arm-apple-darwin9.a"; path = "../../../pjlib-util/lib/libpjlib-util-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3A3479721154EB5B00D51880 /* gui.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = gui.h; path = ../pjsystest/gui.h; sourceTree = SOURCE_ROOT; }; - 3A3479731154EB6B00D51880 /* systest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = systest.h; path = ../pjsystest/systest.h; sourceTree = SOURCE_ROOT; }; - 3A3479781154EBDE00D51880 /* libpjmedia-codec-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjmedia-codec-arm-apple-darwin9.a"; path = "../../../pjmedia/lib/libpjmedia-codec-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3A34797A1154EBDE00D51880 /* libpjnath-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjnath-arm-apple-darwin9.a"; path = "../../../pjnath/lib/libpjnath-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3A3479861154EC4E00D51880 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; - 3A3479991154ECA300D51880 /* libgsmcodec-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libgsmcodec-arm-apple-darwin9.a"; path = "../../../third_party/lib/libgsmcodec-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3A34799B1154ECB100D51880 /* libresample-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libresample-arm-apple-darwin9.a"; path = "../../../third_party/lib/libresample-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3ABE0506147CA00B00A57A62 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; }; - 3AC6435D1162192900B7A751 /* tock8.wav */ = {isa = PBXFileReference; lastKnownFileType = audio.wav; name = tock8.wav; path = ../../../tests/pjsua/wavs/tock8.wav; sourceTree = SOURCE_ROOT; }; - 3ADA4AB811572300008D95FE /* input.8.wav */ = {isa = PBXFileReference; lastKnownFileType = audio.wav; name = input.8.wav; path = "../../../../../../../../teluu/pjproject-new-iphone/tests/pjsua/wavs/input.8.wav"; sourceTree = BUILT_PRODUCTS_DIR; }; - 3AE90E95115F7A4E00FAEAA5 /* libg7221codec-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libg7221codec-arm-apple-darwin9.a"; path = "../../../third_party/lib/libg7221codec-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90E96115F7A4F00FAEAA5 /* libilbccodec-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libilbccodec-arm-apple-darwin9.a"; path = "../../../third_party/lib/libilbccodec-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90E97115F7A4F00FAEAA5 /* libmilenage-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libmilenage-arm-apple-darwin9.a"; path = "../../../third_party/lib/libmilenage-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90E98115F7A4F00FAEAA5 /* libpjsdp-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libpjsdp-arm-apple-darwin9.a"; path = "../../../pjmedia/lib/libpjsdp-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90E99115F7A4F00FAEAA5 /* libspeex-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libspeex-arm-apple-darwin9.a"; path = "../../../third_party/lib/libspeex-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 3AE90E9A115F7A4F00FAEAA5 /* libsrtp-arm-apple-darwin9.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libsrtp-arm-apple-darwin9.a"; path = "../../../third_party/lib/libsrtp-arm-apple-darwin9.a"; sourceTree = SOURCE_ROOT; }; - 8D1107310486CEB800E47090 /* ipjsystest-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "ipjsystest-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */, - 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */, - 2892E4100DC94CBA00A64D0F /* CoreGraphics.framework in Frameworks */, - 3A34794B1154E39900D51880 /* libpjmedia-arm-apple-darwin9.a in Frameworks */, - 3A34794D1154E39900D51880 /* libpjmedia-audiodev-arm-apple-darwin9.a in Frameworks */, - 3A34794F1154E3F000D51880 /* libpjsip-arm-apple-darwin9.a in Frameworks */, - 3A3479511154E42400D51880 /* libpjsip-simple-arm-apple-darwin9.a in Frameworks */, - 3A3479531154E42400D51880 /* libpjsip-ua-arm-apple-darwin9.a in Frameworks */, - 3A3479551154E42400D51880 /* libpjsua-arm-apple-darwin9.a in Frameworks */, - 3A34795B1154E45A00D51880 /* libpj-arm-apple-darwin9.a in Frameworks */, - 3A34795D1154E48700D51880 /* libpjlib-util-arm-apple-darwin9.a in Frameworks */, - 3A3479791154EBDE00D51880 /* libpjmedia-codec-arm-apple-darwin9.a in Frameworks */, - 3A34797B1154EBDE00D51880 /* libpjnath-arm-apple-darwin9.a in Frameworks */, - 3A3479871154EC4E00D51880 /* AudioToolbox.framework in Frameworks */, - 3A34799A1154ECA300D51880 /* libgsmcodec-arm-apple-darwin9.a in Frameworks */, - 3A34799C1154ECB100D51880 /* libresample-arm-apple-darwin9.a in Frameworks */, - 3AE90E9B115F7A4F00FAEAA5 /* libg7221codec-arm-apple-darwin9.a in Frameworks */, - 3AE90E9C115F7A4F00FAEAA5 /* libilbccodec-arm-apple-darwin9.a in Frameworks */, - 3AE90E9D115F7A4F00FAEAA5 /* libmilenage-arm-apple-darwin9.a in Frameworks */, - 3AE90E9E115F7A4F00FAEAA5 /* libpjsdp-arm-apple-darwin9.a in Frameworks */, - 3AE90E9F115F7A4F00FAEAA5 /* libspeex-arm-apple-darwin9.a in Frameworks */, - 3AE90EA0115F7A4F00FAEAA5 /* libsrtp-arm-apple-darwin9.a in Frameworks */, - 3ABE0507147CA00B00A57A62 /* CFNetwork.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 080E96DDFE201D6D7F000001 /* Classes */ = { - isa = PBXGroup; - children = ( - 3A3478AD1154BFD700D51880 /* TestViewController.h */, - 3A3478AE1154BFD700D51880 /* TestViewController.m */, - 28C286DF0D94DF7D0034E888 /* RootViewController.h */, - 28C286E00D94DF7D0034E888 /* RootViewController.m */, - 1D3623240D0F684500981E51 /* ipjsystestAppDelegate.h */, - 1D3623250D0F684500981E51 /* ipjsystestAppDelegate.m */, - ); - path = Classes; - sourceTree = ""; - }; - 19C28FACFE9D520D11CA2CBB /* Products */ = { - isa = PBXGroup; - children = ( - 1D6058910D05DD3D006BFB54 /* ipjsystest.app */, - ); - name = Products; - sourceTree = ""; - }; - 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { - isa = PBXGroup; - children = ( - 080E96DDFE201D6D7F000001 /* Classes */, - 29B97315FDCFA39411CA2CEA /* Other Sources */, - 29B97317FDCFA39411CA2CEA /* Resources */, - 29B97323FDCFA39411CA2CEA /* Frameworks */, - 3A3479941154EC6B00D51880 /* Libraries */, - 19C28FACFE9D520D11CA2CBB /* Products */, - ); - name = CustomTemplate; - sourceTree = ""; - }; - 29B97315FDCFA39411CA2CEA /* Other Sources */ = { - isa = PBXGroup; - children = ( - 3A3479201154DAE600D51880 /* pjsystest */, - 28A0AAE50D9B0CCF005BE974 /* ipjsystest_Prefix.pch */, - 29B97316FDCFA39411CA2CEA /* main.m */, - ); - name = "Other Sources"; - sourceTree = ""; - }; - 29B97317FDCFA39411CA2CEA /* Resources */ = { - isa = PBXGroup; - children = ( - 3AC6435D1162192900B7A751 /* tock8.wav */, - 3ADA4AB811572300008D95FE /* input.8.wav */, - 3A3478A91154BF8E00D51880 /* TestViewController.xib */, - 28F335F01007B36200424DE2 /* RootViewController.xib */, - 28AD735F0D9D9599002E5188 /* MainWindow.xib */, - 8D1107310486CEB800E47090 /* ipjsystest-Info.plist */, - ); - name = Resources; - sourceTree = ""; - }; - 29B97323FDCFA39411CA2CEA /* Frameworks */ = { - isa = PBXGroup; - children = ( - 3ABE0506147CA00B00A57A62 /* CFNetwork.framework */, - 3A3479861154EC4E00D51880 /* AudioToolbox.framework */, - 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */, - 1D30AB110D05D00D00671497 /* Foundation.framework */, - 2892E40F0DC94CBA00A64D0F /* CoreGraphics.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 3A3479201154DAE600D51880 /* pjsystest */ = { - isa = PBXGroup; - children = ( - 3A3479731154EB6B00D51880 /* systest.h */, - 3A3479721154EB5B00D51880 /* gui.h */, - 3A3479211154DB0800D51880 /* systest.c */, - ); - name = pjsystest; - sourceTree = ""; - }; - 3A3479941154EC6B00D51880 /* Libraries */ = { - isa = PBXGroup; - children = ( - 3AE90E95115F7A4E00FAEAA5 /* libg7221codec-arm-apple-darwin9.a */, - 3AE90E96115F7A4F00FAEAA5 /* libilbccodec-arm-apple-darwin9.a */, - 3AE90E97115F7A4F00FAEAA5 /* libmilenage-arm-apple-darwin9.a */, - 3AE90E98115F7A4F00FAEAA5 /* libpjsdp-arm-apple-darwin9.a */, - 3AE90E99115F7A4F00FAEAA5 /* libspeex-arm-apple-darwin9.a */, - 3AE90E9A115F7A4F00FAEAA5 /* libsrtp-arm-apple-darwin9.a */, - 3A3479991154ECA300D51880 /* libgsmcodec-arm-apple-darwin9.a */, - 3A34799B1154ECB100D51880 /* libresample-arm-apple-darwin9.a */, - 3A34794A1154E39900D51880 /* libpjmedia-arm-apple-darwin9.a */, - 3A34794C1154E39900D51880 /* libpjmedia-audiodev-arm-apple-darwin9.a */, - 3A34794E1154E3F000D51880 /* libpjsip-arm-apple-darwin9.a */, - 3A3479501154E42400D51880 /* libpjsip-simple-arm-apple-darwin9.a */, - 3A3479521154E42400D51880 /* libpjsip-ua-arm-apple-darwin9.a */, - 3A3479541154E42400D51880 /* libpjsua-arm-apple-darwin9.a */, - 3A34795A1154E45A00D51880 /* libpj-arm-apple-darwin9.a */, - 3A34795C1154E48700D51880 /* libpjlib-util-arm-apple-darwin9.a */, - 3A3479781154EBDE00D51880 /* libpjmedia-codec-arm-apple-darwin9.a */, - 3A34797A1154EBDE00D51880 /* libpjnath-arm-apple-darwin9.a */, - ); - name = Libraries; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 1D6058900D05DD3D006BFB54 /* ipjsystest */ = { - isa = PBXNativeTarget; - buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "ipjsystest" */; - buildPhases = ( - 1D60588D0D05DD3D006BFB54 /* Resources */, - 1D60588E0D05DD3D006BFB54 /* Sources */, - 1D60588F0D05DD3D006BFB54 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = ipjsystest; - productName = ipjsystest; - productReference = 1D6058910D05DD3D006BFB54 /* ipjsystest.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 29B97313FDCFA39411CA2CEA /* Project object */ = { - isa = PBXProject; - attributes = { - ORGANIZATIONNAME = Teluu; - }; - buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "ipjsystest" */; - compatibilityVersion = "Xcode 3.1"; - developmentRegion = English; - hasScannedForEncodings = 1; - knownRegions = ( - English, - Japanese, - French, - German, - en, - ); - mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 1D6058900D05DD3D006BFB54 /* ipjsystest */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 1D60588D0D05DD3D006BFB54 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 28AD73600D9D9599002E5188 /* MainWindow.xib in Resources */, - 28F335F11007B36200424DE2 /* RootViewController.xib in Resources */, - 3A3478AA1154BF8E00D51880 /* TestViewController.xib in Resources */, - 3ADA4AB911572300008D95FE /* input.8.wav in Resources */, - 3AC6435E1162192900B7A751 /* tock8.wav in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 1D60588E0D05DD3D006BFB54 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 1D60589B0D05DD56006BFB54 /* main.m in Sources */, - 1D3623260D0F684500981E51 /* ipjsystestAppDelegate.m in Sources */, - 28C286E10D94DF7D0034E888 /* RootViewController.m in Sources */, - 3A3478AF1154BFD700D51880 /* TestViewController.m in Sources */, - 3A3479221154DB0800D51880 /* systest.c in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 1D6058940D05DD3E006BFB54 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - COPY_PHASE_STRIP = NO; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = ipjsystest_Prefix.pch; - GCC_PREPROCESSOR_DEFINITIONS = "PJ_AUTOCONF=1"; - INFOPLIST_FILE = "ipjsystest-Info.plist"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/../../../pjmedia/lib\"", - "\"$(SRCROOT)/../../../pjsip/lib\"", - "\"$(SRCROOT)/../../../pjlib/lib\"", - "\"$(SRCROOT)/../../../pjlib-util/lib\"", - "\"$(SRCROOT)/../../../pjnath/lib\"", - "\"$(SRCROOT)/../../../third_party/lib\"", - ); - PRODUCT_NAME = ipjsystest; - SDKROOT = iphoneos; - }; - name = Debug; - }; - 1D6058950D05DD3E006BFB54 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - COPY_PHASE_STRIP = YES; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = ipjsystest_Prefix.pch; - GCC_PREPROCESSOR_DEFINITIONS = "PJ_AUTOCONF=1"; - INFOPLIST_FILE = "ipjsystest-Info.plist"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/../../../pjmedia/lib\"", - "\"$(SRCROOT)/../../../pjsip/lib\"", - "\"$(SRCROOT)/../../../pjlib/lib\"", - "\"$(SRCROOT)/../../../pjlib-util/lib\"", - "\"$(SRCROOT)/../../../pjnath/lib\"", - "\"$(SRCROOT)/../../../third_party/lib\"", - ); - PRODUCT_NAME = ipjsystest; - SDKROOT = iphoneos; - }; - name = Release; - }; - C01FCF4F08A954540054247B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_BIT)"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - GCC_C_LANGUAGE_STANDARD = c99; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ( - ../../../pjsip/include, - ../../../pjlib/include, - "../../../pjlib-util/include", - ../../../pjnath/include, - ../../../pjmedia/include, - ); - LIBRARY_SEARCH_PATHS = ( - ../../../pjlib/lib, - "../../../pjlib-util/lib", - ../../../pjnath/lib, - ../../../pjmedia/lib, - ../../../pjsip/lib, - ../../../third_party/lib, - ); - PREBINDING = NO; - SDKROOT = iphoneos4.0; - }; - name = Debug; - }; - C01FCF5008A954540054247B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_BIT)"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - GCC_C_LANGUAGE_STANDARD = c99; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ( - ../../../pjsip/include, - ../../../pjlib/include, - "../../../pjlib-util/include", - ../../../pjnath/include, - ../../../pjmedia/include, - ); - LIBRARY_SEARCH_PATHS = ( - ../../../pjlib/lib, - "../../../pjlib-util/lib", - ../../../pjnath/lib, - ../../../pjmedia/lib, - ../../../pjsip/lib, - ../../../third_party/lib, - ); - PREBINDING = NO; - SDKROOT = iphoneos4.0; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "ipjsystest" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 1D6058940D05DD3E006BFB54 /* Debug */, - 1D6058950D05DD3E006BFB54 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C01FCF4E08A954540054247B /* Build configuration list for PBXProject "ipjsystest" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C01FCF4F08A954540054247B /* Debug */, - C01FCF5008A954540054247B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; -} diff --git a/res/pjproject/pjsip-apps/src/ipjsystest/ipjsystest_Prefix.pch b/res/pjproject/pjsip-apps/src/ipjsystest/ipjsystest_Prefix.pch deleted file mode 100644 index 8f7b754879..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsystest/ipjsystest_Prefix.pch +++ /dev/null @@ -1,14 +0,0 @@ -// -// Prefix header for all source files of the 'ipjsystest' target in the 'ipjsystest' project -// -#import - -#ifndef __IPHONE_3_0 -#warning "This project uses features only available in iPhone SDK 3.0 and later." -#endif - - -#ifdef __OBJC__ - #import - #import -#endif diff --git a/res/pjproject/pjsip-apps/src/ipjsystest/main.m b/res/pjproject/pjsip-apps/src/ipjsystest/main.m deleted file mode 100644 index ac388411f8..0000000000 --- a/res/pjproject/pjsip-apps/src/ipjsystest/main.m +++ /dev/null @@ -1,27 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#import - -int main(int argc, char *argv[]) { - - NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; - int retVal = UIApplicationMain(argc, argv, nil, nil); - [pool release]; - return retVal; -} diff --git a/res/pjproject/pjsip-apps/src/pjsua/gui.h b/res/pjproject/pjsip-apps/src/pjsua/gui.h deleted file mode 100644 index 21ab7481e2..0000000000 --- a/res/pjproject/pjsip-apps/src/pjsua/gui.h +++ /dev/null @@ -1,39 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __GUI_H__ -#define __GUI_H__ - -PJ_BEGIN_DECL - -#ifdef USE_GUI - -#define printf showMsg -#define puts(str) showMsg("%s\n", str) -#define fgets getInput - -void showMsg(const char *format, ...); -char * getInput(char *s, int n, FILE *stream); -pj_bool_t showNotification(pjsua_call_id call_id); - -#endif - -PJ_END_DECL - - -#endif /* __GUI_H__ */ diff --git a/res/pjproject/pjsip-apps/src/pjsua/main.c b/res/pjproject/pjsip-apps/src/pjsua/main.c deleted file mode 100644 index 8469d3b73e..0000000000 --- a/res/pjproject/pjsip-apps/src/pjsua/main.c +++ /dev/null @@ -1,113 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include - - -#define THIS_FILE "main.c" - - -/* - * These are defined in pjsua_app.c. - */ -extern pj_bool_t app_restart; -pj_status_t app_init(int argc, char *argv[]); -pj_status_t app_main(void); -pj_status_t app_destroy(void); - - -#if defined(PJ_WIN32) && PJ_WIN32!=0 -#include - -static pj_thread_desc handler_desc; - -static BOOL WINAPI CtrlHandler(DWORD fdwCtrlType) -{ - pj_thread_t *thread; - - switch (fdwCtrlType) - { - // Handle the CTRL+C signal. - - case CTRL_C_EVENT: - case CTRL_CLOSE_EVENT: - case CTRL_BREAK_EVENT: - case CTRL_LOGOFF_EVENT: - case CTRL_SHUTDOWN_EVENT: - pj_thread_register("ctrlhandler", handler_desc, &thread); - PJ_LOG(3,(THIS_FILE, "Ctrl-C detected, quitting..")); - app_destroy(); - ExitProcess(1); - PJ_UNREACHED(return TRUE;) - - default: - - return FALSE; - } -} - -static void setup_signal_handler(void) -{ - SetConsoleCtrlHandler(&CtrlHandler, TRUE); -} - -static void setup_socket_signal() -{ -} - -#else -#include - -static void setup_signal_handler(void) -{ -} - -static void setup_socket_signal() -{ - signal(SIGPIPE, SIG_IGN); -} - -#endif - -static int main_func(int argc, char *argv[]) -{ - setup_socket_signal(); - - do { - app_restart = PJ_FALSE; - - if (app_init(argc, argv) != PJ_SUCCESS) - return 1; - - setup_signal_handler(); - - app_main(); - app_destroy(); - - /* This is on purpose */ - app_destroy(); - } while (app_restart); - - return 0; -} - -int main(int argc, char *argv[]) -{ - return pj_run_app(&main_func, argc, argv, 0); -} diff --git a/res/pjproject/pjsip-apps/src/pjsua/main_rtems.c b/res/pjproject/pjsip-apps/src/pjsua/main_rtems.c deleted file mode 100644 index d26605ac3b..0000000000 --- a/res/pjproject/pjsip-apps/src/pjsua/main_rtems.c +++ /dev/null @@ -1,12 +0,0 @@ - -/* - * !! OIY OIY !! - * - * The purpose of this file is only to get the executable linked. I haven't - * actually tried to run this on RTEMS!! - * - */ - -#include "../../pjlib/src/pjlib-test/main_rtems.c" - - diff --git a/res/pjproject/pjsip-apps/src/pjsua/pjsua_app.c b/res/pjproject/pjsip-apps/src/pjsua/pjsua_app.c deleted file mode 100644 index 30bd2f95db..0000000000 --- a/res/pjproject/pjsip-apps/src/pjsua/pjsua_app.c +++ /dev/null @@ -1,6312 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include "gui.h" - - -#define THIS_FILE "pjsua_app.c" -#define NO_LIMIT (int)0x7FFFFFFF - -//#define STEREO_DEMO -//#define TRANSPORT_ADAPTER_SAMPLE -//#define HAVE_MULTIPART_TEST - -/* Ringtones US UK */ -#define RINGBACK_FREQ1 440 /* 400 */ -#define RINGBACK_FREQ2 480 /* 450 */ -#define RINGBACK_ON 2000 /* 400 */ -#define RINGBACK_OFF 4000 /* 200 */ -#define RINGBACK_CNT 1 /* 2 */ -#define RINGBACK_INTERVAL 4000 /* 2000 */ - -#define RING_FREQ1 800 -#define RING_FREQ2 640 -#define RING_ON 200 -#define RING_OFF 100 -#define RING_CNT 3 -#define RING_INTERVAL 3000 - -#define MAX_AVI 4 - -/* Call specific data */ -struct call_data -{ - pj_timer_entry timer; - pj_bool_t ringback_on; - pj_bool_t ring_on; -}; - -/* Video settings */ -struct app_vid -{ - unsigned vid_cnt; - int vcapture_dev; - int vrender_dev; - pj_bool_t in_auto_show; - pj_bool_t out_auto_transmit; -}; - -/* Pjsua application data */ -static struct app_config -{ - pjsua_config cfg; - pjsua_logging_config log_cfg; - pjsua_media_config media_cfg; - pj_bool_t no_refersub; - pj_bool_t ipv6; - pj_bool_t enable_qos; - pj_bool_t no_tcp; - pj_bool_t no_udp; - pj_bool_t use_tls; - pjsua_transport_config udp_cfg; - pjsua_transport_config rtp_cfg; - pjsip_redirect_op redir_op; - - unsigned acc_cnt; - pjsua_acc_config acc_cfg[PJSUA_MAX_ACC]; - - unsigned buddy_cnt; - pjsua_buddy_config buddy_cfg[PJSUA_MAX_BUDDIES]; - - struct call_data call_data[PJSUA_MAX_CALLS]; - - pj_pool_t *pool; - /* Compatibility with older pjsua */ - - unsigned codec_cnt; - pj_str_t codec_arg[32]; - unsigned codec_dis_cnt; - pj_str_t codec_dis[32]; - pj_bool_t null_audio; - unsigned wav_count; - pj_str_t wav_files[32]; - unsigned tone_count; - pjmedia_tone_desc tones[32]; - pjsua_conf_port_id tone_slots[32]; - pjsua_player_id wav_id; - pjsua_conf_port_id wav_port; - pj_bool_t auto_play; - pj_bool_t auto_play_hangup; - pj_timer_entry auto_hangup_timer; - pj_bool_t auto_loop; - pj_bool_t auto_conf; - pj_str_t rec_file; - pj_bool_t auto_rec; - pjsua_recorder_id rec_id; - pjsua_conf_port_id rec_port; - unsigned auto_answer; - unsigned duration; - -#ifdef STEREO_DEMO - pjmedia_snd_port *snd; - pjmedia_port *sc, *sc_ch1; - pjsua_conf_port_id sc_ch1_slot; -#endif - - float mic_level, - speaker_level; - - int capture_dev, playback_dev; - unsigned capture_lat, playback_lat; - - pj_bool_t no_tones; - int ringback_slot; - int ringback_cnt; - pjmedia_port *ringback_port; - int ring_slot; - int ring_cnt; - pjmedia_port *ring_port; - - struct app_vid vid; - unsigned aud_cnt; - - /* AVI to play */ - unsigned avi_cnt; - struct { - pj_str_t path; - pjmedia_vid_dev_index dev_id; - pjsua_conf_port_id slot; - } avi[MAX_AVI]; - pj_bool_t avi_auto_play; - int avi_def_idx; - -} app_config; - - -//static pjsua_acc_id current_acc; -#define current_acc pjsua_acc_get_default() -static pjsua_call_id current_call = PJSUA_INVALID_ID; -static pj_bool_t cmd_echo; -static int stdout_refresh = -1; -static const char *stdout_refresh_text = "STDOUT_REFRESH"; -static pj_bool_t stdout_refresh_quit = PJ_FALSE; -static pj_str_t uri_arg; - -#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) -# define SOME_BUF_SIZE (1024 * 10) -#else -# define SOME_BUF_SIZE (1024 * 3) -#endif - -static char some_buf[SOME_BUF_SIZE]; - -#ifdef STEREO_DEMO -static void stereo_demo(); -#endif -static pj_status_t create_ipv6_media_transports(void); -pj_status_t app_destroy(void); - -static void ringback_start(pjsua_call_id call_id); -static void ring_start(pjsua_call_id call_id); -static void ring_stop(pjsua_call_id call_id); - -pj_bool_t app_restart; -pj_log_func *log_cb = NULL; - -/***************************************************************************** - * Configuration manipulation - */ - -#if (defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ - PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0) || \ - defined(__IPHONE_4_0) -void keepAliveFunction(int timeout) -{ - int i; - for (i=0; i<(int)pjsua_acc_get_count(); ++i) { - if (!pjsua_acc_is_valid(i)) - continue; - - if (app_config.acc_cfg[i].reg_timeout < timeout) - app_config.acc_cfg[i].reg_timeout = timeout; - pjsua_acc_set_registration(i, PJ_TRUE); - } -} -#endif - -/* Show usage */ -static void usage(void) -{ - puts ("Usage:"); - puts (" pjsua [options] [SIP URL to call]"); - puts (""); - puts ("General options:"); - puts (" --config-file=file Read the config/arguments from file."); - puts (" --help Display this help screen"); - puts (" --version Display version info"); - puts (""); - puts ("Logging options:"); - puts (" --log-file=fname Log to filename (default stderr)"); - puts (" --log-level=N Set log max level to N (0(none) to 6(trace)) (default=5)"); - puts (" --app-log-level=N Set log max level for stdout display (default=4)"); - puts (" --log-append Append instead of overwrite existing log file.\n"); - puts (" --color Use colorful logging (default yes on Win32)"); - puts (" --no-color Disable colorful logging"); - puts (" --light-bg Use dark colors for light background (default is dark bg)"); - puts (" --no-stderr Disable stderr"); - - puts (""); - puts ("SIP Account options:"); - puts (" --use-ims Enable 3GPP/IMS related settings on this account"); -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - puts (" --use-srtp=N Use SRTP? 0:disabled, 1:optional, 2:mandatory,"); - puts (" 3:optional by duplicating media offer (def:0)"); - puts (" --srtp-secure=N SRTP require secure SIP? 0:no, 1:tls, 2:sips (def:1)"); -#endif - puts (" --registrar=url Set the URL of registrar server"); - puts (" --id=url Set the URL of local ID (used in From header)"); - puts (" --contact=url Optionally override the Contact information"); - puts (" --contact-params=S Append the specified parameters S in Contact header"); - puts (" --contact-uri-params=S Append the specified parameters S in Contact URI"); - puts (" --proxy=url Optional URL of proxy server to visit"); - puts (" May be specified multiple times"); - printf(" --reg-timeout=SEC Optional registration interval (default %d)\n", - PJSUA_REG_INTERVAL); - printf(" --rereg-delay=SEC Optional auto retry registration interval (default %d)\n", - PJSUA_REG_RETRY_INTERVAL); - puts (" --reg-use-proxy=N Control the use of proxy settings in REGISTER."); - puts (" 0=no proxy, 1=outbound only, 2=acc only, 3=all (default)"); - puts (" --realm=string Set realm"); - puts (" --username=string Set authentication username"); - puts (" --password=string Set authentication password"); - puts (" --publish Send presence PUBLISH for this account"); - puts (" --mwi Subscribe to message summary/waiting indication"); - puts (" --use-100rel Require reliable provisional response (100rel)"); - puts (" --use-timer=N Use SIP session timers? (default=1)"); - puts (" 0:inactive, 1:optional, 2:mandatory, 3:always"); - printf(" --timer-se=N Session timers expiration period, in secs (def:%d)\n", - PJSIP_SESS_TIMER_DEF_SE); - puts (" --timer-min-se=N Session timers minimum expiration period, in secs (def:90)"); - puts (" --outb-rid=string Set SIP outbound reg-id (default:1)"); - puts (" --auto-update-nat=N Where N is 0 or 1 to enable/disable SIP traversal behind"); - puts (" symmetric NAT (default 1)"); - puts (" --next-cred Add another credentials"); - puts (""); - puts ("SIP Account Control:"); - puts (" --next-account Add more account"); - puts (""); - puts ("Transport Options:"); -#if defined(PJ_HAS_IPV6) && PJ_HAS_IPV6 - puts (" --ipv6 Use IPv6 instead for SIP and media."); -#endif - puts (" --set-qos Enable QoS tagging for SIP and media."); - puts (" --local-port=port Set TCP/UDP port. This implicitly enables both "); - puts (" TCP and UDP transports on the specified port, unless"); - puts (" if TCP or UDP is disabled."); - puts (" --ip-addr=IP Use the specifed address as SIP and RTP addresses."); - puts (" (Hint: the IP may be the public IP of the NAT/router)"); - puts (" --bound-addr=IP Bind transports to this IP interface"); - puts (" --no-tcp Disable TCP transport."); - puts (" --no-udp Disable UDP transport."); - puts (" --nameserver=NS Add the specified nameserver to enable SRV resolution"); - puts (" This option can be specified multiple times."); - puts (" --outbound=url Set the URL of global outbound proxy server"); - puts (" May be specified multiple times"); - puts (" --stun-srv=FORMAT Set STUN server host or domain. This option may be"); - puts (" specified more than once. FORMAT is hostdom[:PORT]"); - -#if defined(PJSIP_HAS_TLS_TRANSPORT) && (PJSIP_HAS_TLS_TRANSPORT != 0) - puts (""); - puts ("TLS Options:"); - puts (" --use-tls Enable TLS transport (default=no)"); - puts (" --tls-ca-file Specify TLS CA file (default=none)"); - puts (" --tls-cert-file Specify TLS certificate file (default=none)"); - puts (" --tls-privkey-file Specify TLS private key file (default=none)"); - puts (" --tls-password Specify TLS password to private key file (default=none)"); - puts (" --tls-verify-server Verify server's certificate (default=no)"); - puts (" --tls-verify-client Verify client's certificate (default=no)"); - puts (" --tls-neg-timeout Specify TLS negotiation timeout (default=no)"); - puts (" --tls-srv-name Specify TLS server name for multihosting server"); - puts (" --tls-cipher Specify prefered TLS cipher (optional)."); - puts (" May be specified multiple times"); -#endif - - puts (""); - puts ("Audio Options:"); - puts (" --add-codec=name Manually add codec (default is to enable all)"); - puts (" --dis-codec=name Disable codec (can be specified multiple times)"); - puts (" --clock-rate=N Override conference bridge clock rate"); - puts (" --snd-clock-rate=N Override sound device clock rate"); - puts (" --stereo Audio device and conference bridge opened in stereo mode"); - puts (" --null-audio Use NULL audio device"); - puts (" --play-file=file Register WAV file in conference bridge."); - puts (" This can be specified multiple times."); - puts (" --play-tone=FORMAT Register tone to the conference bridge."); - puts (" FORMAT is 'F1,F2,ON,OFF', where F1,F2 are"); - puts (" frequencies, and ON,OFF=on/off duration in msec."); - puts (" This can be specified multiple times."); - puts (" --auto-play Automatically play the file (to incoming calls only)"); - puts (" --auto-loop Automatically loop incoming RTP to outgoing RTP"); - puts (" --auto-conf Automatically put calls in conference with others"); - puts (" --rec-file=file Open file recorder (extension can be .wav or .mp3"); - puts (" --auto-rec Automatically record conversation"); - puts (" --quality=N Specify media quality (0-10, default=6)"); - puts (" --ptime=MSEC Override codec ptime to MSEC (default=specific)"); - puts (" --no-vad Disable VAD/silence detector (default=vad enabled)"); - puts (" --ec-tail=MSEC Set echo canceller tail length (default=256)"); - puts (" --ec-opt=OPT Select echo canceller algorithm (0=default, "); - puts (" 1=speex, 2=suppressor)"); - puts (" --ilbc-mode=MODE Set iLBC codec mode (20 or 30, default is 30)"); - puts (" --capture-dev=id Audio capture device ID (default=-1)"); - puts (" --playback-dev=id Audio playback device ID (default=-1)"); - puts (" --capture-lat=N Audio capture latency, in ms (default=100)"); - puts (" --playback-lat=N Audio playback latency, in ms (default=100)"); - puts (" --snd-auto-close=N Auto close audio device when idle for N secs (default=1)"); - puts (" Specify N=-1 to disable this feature."); - puts (" Specify N=0 for instant close when unused."); - puts (" --no-tones Disable audible tones"); - puts (" --jb-max-size Specify jitter buffer maximum size, in frames (default=-1)"); - puts (" --extra-audio Add one more audio stream"); - -#if PJSUA_HAS_VIDEO - puts (""); - puts ("Video Options:"); - puts (" --video Enable video"); - puts (" --vcapture-dev=id Video capture device ID (default=-1)"); - puts (" --vrender-dev=id Video render device ID (default=-1)"); - puts (" --play-avi=FILE Load this AVI as virtual capture device"); - puts (" --auto-play-avi Automatically play the AVI media to call"); -#endif - - puts (""); - puts ("Media Transport Options:"); - puts (" --use-ice Enable ICE (default:no)"); - puts (" --ice-regular Use ICE regular nomination (default: aggressive)"); - puts (" --ice-max-hosts=N Set maximum number of ICE host candidates"); - puts (" --ice-no-rtcp Disable RTCP component in ICE (default: no)"); - puts (" --rtp-port=N Base port to try for RTP (default=4000)"); - puts (" --rx-drop-pct=PCT Drop PCT percent of RX RTP (for pkt lost sim, default: 0)"); - puts (" --tx-drop-pct=PCT Drop PCT percent of TX RTP (for pkt lost sim, default: 0)"); - puts (" --use-turn Enable TURN relay with ICE (default:no)"); - puts (" --turn-srv Domain or host name of TURN server (\"NAME:PORT\" format)"); - puts (" --turn-tcp Use TCP connection to TURN server (default no)"); - puts (" --turn-user TURN username"); - puts (" --turn-passwd TURN password"); - - puts (""); - puts ("Buddy List (can be more than one):"); - puts (" --add-buddy url Add the specified URL to the buddy list."); - puts (""); - puts ("User Agent options:"); - puts (" --auto-answer=code Automatically answer incoming calls with code (e.g. 200)"); - puts (" --max-calls=N Maximum number of concurrent calls (default:4, max:255)"); - puts (" --thread-cnt=N Number of worker threads (default:1)"); - puts (" --duration=SEC Set maximum call duration (default:no limit)"); - puts (" --norefersub Suppress event subscription when transfering calls"); - puts (" --use-compact-form Minimize SIP message size"); - puts (" --no-force-lr Allow strict-route to be used (i.e. do not force lr)"); - puts (" --accept-redirect=N Specify how to handle call redirect (3xx) response."); - puts (" 0: reject, 1: follow automatically (default), 2: ask"); - - puts (""); - puts ("When URL is specified, pjsua will immediately initiate call to that URL"); - puts (""); - - fflush(stdout); -} - - -/* Set default config. */ -static void default_config(struct app_config *cfg) -{ - char tmp[80]; - unsigned i; - - pjsua_config_default(&cfg->cfg); - pj_ansi_sprintf(tmp, "PJSUA v%s %s", pj_get_version(), - pj_get_sys_info()->info.ptr); - pj_strdup2_with_null(app_config.pool, &cfg->cfg.user_agent, tmp); - - pjsua_logging_config_default(&cfg->log_cfg); - pjsua_media_config_default(&cfg->media_cfg); - pjsua_transport_config_default(&cfg->udp_cfg); - cfg->udp_cfg.port = 5060; - pjsua_transport_config_default(&cfg->rtp_cfg); - cfg->rtp_cfg.port = 4000; - cfg->redir_op = PJSIP_REDIRECT_ACCEPT; - cfg->duration = NO_LIMIT; - cfg->wav_id = PJSUA_INVALID_ID; - cfg->rec_id = PJSUA_INVALID_ID; - cfg->wav_port = PJSUA_INVALID_ID; - cfg->rec_port = PJSUA_INVALID_ID; - cfg->mic_level = cfg->speaker_level = 1.0; - cfg->capture_dev = PJSUA_INVALID_ID; - cfg->playback_dev = PJSUA_INVALID_ID; - cfg->capture_lat = PJMEDIA_SND_DEFAULT_REC_LATENCY; - cfg->playback_lat = PJMEDIA_SND_DEFAULT_PLAY_LATENCY; - cfg->ringback_slot = PJSUA_INVALID_ID; - cfg->ring_slot = PJSUA_INVALID_ID; - - for (i=0; iacc_cfg); ++i) - pjsua_acc_config_default(&cfg->acc_cfg[i]); - - for (i=0; ibuddy_cfg); ++i) - pjsua_buddy_config_default(&cfg->buddy_cfg[i]); - - cfg->vid.vcapture_dev = PJMEDIA_VID_DEFAULT_CAPTURE_DEV; - cfg->vid.vrender_dev = PJMEDIA_VID_DEFAULT_RENDER_DEV; - cfg->aud_cnt = 1; - - cfg->avi_def_idx = PJSUA_INVALID_ID; -} - - -/* - * Read command arguments from config file. - */ -static int read_config_file(pj_pool_t *pool, const char *filename, - int *app_argc, char ***app_argv) -{ - int i; - FILE *fhnd; - char line[200]; - int argc = 0; - char **argv; - enum { MAX_ARGS = 128 }; - - /* Allocate MAX_ARGS+1 (argv needs to be terminated with NULL argument) */ - argv = pj_pool_calloc(pool, MAX_ARGS+1, sizeof(char*)); - argv[argc++] = *app_argv[0]; - - /* Open config file. */ - fhnd = fopen(filename, "rt"); - if (!fhnd) { - PJ_LOG(1,(THIS_FILE, "Unable to open config file %s", filename)); - fflush(stdout); - return -1; - } - - /* Scan tokens in the file. */ - while (argc < MAX_ARGS && !feof(fhnd)) { - char *token; - char *p; - const char *whitespace = " \t\r\n"; - char cDelimiter; - int len, token_len; - - if (fgets(line, sizeof(line), fhnd) == NULL) break; - - // Trim ending newlines - len = strlen(line); - if (line[len-1]=='\n') - line[--len] = '\0'; - if (line[len-1]=='\r') - line[--len] = '\0'; - - if (len==0) continue; - - for (p = line; *p != '\0' && argc < MAX_ARGS; p++) { - // first, scan whitespaces - while (*p != '\0' && strchr(whitespace, *p) != NULL) p++; - - if (*p == '\0') // are we done yet? - break; - - if (*p == '"' || *p == '\'') { // is token a quoted string - cDelimiter = *p++; // save quote delimiter - token = p; - - while (*p != '\0' && *p != cDelimiter) p++; - - if (*p == '\0') // found end of the line, but, - cDelimiter = '\0'; // didn't find a matching quote - - } else { // token's not a quoted string - token = p; - - while (*p != '\0' && strchr(whitespace, *p) == NULL) p++; - - cDelimiter = *p; - } - - *p = '\0'; - token_len = p-token; - - if (token_len > 0) { - if (*token == '#') - break; // ignore remainder of line - - argv[argc] = pj_pool_alloc(pool, token_len + 1); - pj_memcpy(argv[argc], token, token_len + 1); - ++argc; - } - - *p = cDelimiter; - } - } - - /* Copy arguments from command line */ - for (i=1; i<*app_argc && argc < MAX_ARGS; ++i) - argv[argc++] = (*app_argv)[i]; - - if (argc == MAX_ARGS && (i!=*app_argc || !feof(fhnd))) { - PJ_LOG(1,(THIS_FILE, - "Too many arguments specified in cmd line/config file")); - fflush(stdout); - fclose(fhnd); - return -1; - } - - fclose(fhnd); - - /* Assign the new command line back to the original command line. */ - *app_argc = argc; - *app_argv = argv; - return 0; - -} - -static int my_atoi(const char *cs) -{ - pj_str_t s; - - pj_cstr(&s, cs); - if (cs[0] == '-') { - s.ptr++, s.slen--; - return 0 - (int)pj_strtoul(&s); - } else if (cs[0] == '+') { - s.ptr++, s.slen--; - return pj_strtoul(&s); - } else { - return pj_strtoul(&s); - } -} - - -/* Parse arguments. */ -static pj_status_t parse_args(int argc, char *argv[], - struct app_config *cfg, - pj_str_t *uri_to_call) -{ - int c; - int option_index; - enum { OPT_CONFIG_FILE=127, OPT_LOG_FILE, OPT_LOG_LEVEL, OPT_APP_LOG_LEVEL, - OPT_LOG_APPEND, OPT_COLOR, OPT_NO_COLOR, OPT_LIGHT_BG, OPT_NO_STDERR, - OPT_HELP, OPT_VERSION, OPT_NULL_AUDIO, OPT_SND_AUTO_CLOSE, - OPT_LOCAL_PORT, OPT_IP_ADDR, OPT_PROXY, OPT_OUTBOUND_PROXY, - OPT_REGISTRAR, OPT_REG_TIMEOUT, OPT_PUBLISH, OPT_ID, OPT_CONTACT, - OPT_BOUND_ADDR, OPT_CONTACT_PARAMS, OPT_CONTACT_URI_PARAMS, - OPT_100REL, OPT_USE_IMS, OPT_REALM, OPT_USERNAME, OPT_PASSWORD, - OPT_REG_RETRY_INTERVAL, OPT_REG_USE_PROXY, - OPT_MWI, OPT_NAMESERVER, OPT_STUN_SRV, OPT_OUTB_RID, - OPT_ADD_BUDDY, OPT_OFFER_X_MS_MSG, OPT_NO_PRESENCE, - OPT_AUTO_ANSWER, OPT_AUTO_PLAY, OPT_AUTO_PLAY_HANGUP, OPT_AUTO_LOOP, - OPT_AUTO_CONF, OPT_CLOCK_RATE, OPT_SND_CLOCK_RATE, OPT_STEREO, - OPT_USE_ICE, OPT_ICE_REGULAR, OPT_USE_SRTP, OPT_SRTP_SECURE, - OPT_USE_TURN, OPT_ICE_MAX_HOSTS, OPT_ICE_NO_RTCP, OPT_TURN_SRV, - OPT_TURN_TCP, OPT_TURN_USER, OPT_TURN_PASSWD, - OPT_PLAY_FILE, OPT_PLAY_TONE, OPT_RTP_PORT, OPT_ADD_CODEC, - OPT_ILBC_MODE, OPT_REC_FILE, OPT_AUTO_REC, - OPT_COMPLEXITY, OPT_QUALITY, OPT_PTIME, OPT_NO_VAD, - OPT_RX_DROP_PCT, OPT_TX_DROP_PCT, OPT_EC_TAIL, OPT_EC_OPT, - OPT_NEXT_ACCOUNT, OPT_NEXT_CRED, OPT_MAX_CALLS, - OPT_DURATION, OPT_NO_TCP, OPT_NO_UDP, OPT_THREAD_CNT, - OPT_NOREFERSUB, OPT_ACCEPT_REDIRECT, - OPT_USE_TLS, OPT_TLS_CA_FILE, OPT_TLS_CERT_FILE, OPT_TLS_PRIV_FILE, - OPT_TLS_PASSWORD, OPT_TLS_VERIFY_SERVER, OPT_TLS_VERIFY_CLIENT, - OPT_TLS_NEG_TIMEOUT, OPT_TLS_CIPHER, - OPT_CAPTURE_DEV, OPT_PLAYBACK_DEV, - OPT_CAPTURE_LAT, OPT_PLAYBACK_LAT, OPT_NO_TONES, OPT_JB_MAX_SIZE, - OPT_STDOUT_REFRESH, OPT_STDOUT_REFRESH_TEXT, OPT_IPV6, OPT_QOS, -#ifdef _IONBF - OPT_STDOUT_NO_BUF, -#endif - OPT_AUTO_UPDATE_NAT,OPT_USE_COMPACT_FORM,OPT_DIS_CODEC, - OPT_NO_FORCE_LR, - OPT_TIMER, OPT_TIMER_SE, OPT_TIMER_MIN_SE, - OPT_VIDEO, OPT_EXTRA_AUDIO, - OPT_VCAPTURE_DEV, OPT_VRENDER_DEV, OPT_PLAY_AVI, OPT_AUTO_PLAY_AVI - }; - struct pj_getopt_option long_options[] = { - { "config-file",1, 0, OPT_CONFIG_FILE}, - { "log-file", 1, 0, OPT_LOG_FILE}, - { "log-level", 1, 0, OPT_LOG_LEVEL}, - { "app-log-level",1,0,OPT_APP_LOG_LEVEL}, - { "log-append", 0, 0, OPT_LOG_APPEND}, - { "color", 0, 0, OPT_COLOR}, - { "no-color", 0, 0, OPT_NO_COLOR}, - { "light-bg", 0, 0, OPT_LIGHT_BG}, - { "no-stderr", 0, 0, OPT_NO_STDERR}, - { "help", 0, 0, OPT_HELP}, - { "version", 0, 0, OPT_VERSION}, - { "clock-rate", 1, 0, OPT_CLOCK_RATE}, - { "snd-clock-rate", 1, 0, OPT_SND_CLOCK_RATE}, - { "stereo", 0, 0, OPT_STEREO}, - { "null-audio", 0, 0, OPT_NULL_AUDIO}, - { "local-port", 1, 0, OPT_LOCAL_PORT}, - { "ip-addr", 1, 0, OPT_IP_ADDR}, - { "bound-addr", 1, 0, OPT_BOUND_ADDR}, - { "no-tcp", 0, 0, OPT_NO_TCP}, - { "no-udp", 0, 0, OPT_NO_UDP}, - { "norefersub", 0, 0, OPT_NOREFERSUB}, - { "proxy", 1, 0, OPT_PROXY}, - { "outbound", 1, 0, OPT_OUTBOUND_PROXY}, - { "registrar", 1, 0, OPT_REGISTRAR}, - { "reg-timeout",1, 0, OPT_REG_TIMEOUT}, - { "publish", 0, 0, OPT_PUBLISH}, - { "mwi", 0, 0, OPT_MWI}, - { "use-100rel", 0, 0, OPT_100REL}, - { "use-ims", 0, 0, OPT_USE_IMS}, - { "id", 1, 0, OPT_ID}, - { "contact", 1, 0, OPT_CONTACT}, - { "contact-params",1,0, OPT_CONTACT_PARAMS}, - { "contact-uri-params",1,0, OPT_CONTACT_URI_PARAMS}, - { "auto-update-nat", 1, 0, OPT_AUTO_UPDATE_NAT}, - { "use-compact-form", 0, 0, OPT_USE_COMPACT_FORM}, - { "accept-redirect", 1, 0, OPT_ACCEPT_REDIRECT}, - { "no-force-lr",0, 0, OPT_NO_FORCE_LR}, - { "realm", 1, 0, OPT_REALM}, - { "username", 1, 0, OPT_USERNAME}, - { "password", 1, 0, OPT_PASSWORD}, - { "rereg-delay",1, 0, OPT_REG_RETRY_INTERVAL}, - { "reg-use-proxy", 1, 0, OPT_REG_USE_PROXY}, - { "nameserver", 1, 0, OPT_NAMESERVER}, - { "stun-srv", 1, 0, OPT_STUN_SRV}, - { "add-buddy", 1, 0, OPT_ADD_BUDDY}, - { "offer-x-ms-msg",0,0,OPT_OFFER_X_MS_MSG}, - { "no-presence", 0, 0, OPT_NO_PRESENCE}, - { "auto-answer",1, 0, OPT_AUTO_ANSWER}, - { "auto-play", 0, 0, OPT_AUTO_PLAY}, - { "auto-play-hangup",0, 0, OPT_AUTO_PLAY_HANGUP}, - { "auto-rec", 0, 0, OPT_AUTO_REC}, - { "auto-loop", 0, 0, OPT_AUTO_LOOP}, - { "auto-conf", 0, 0, OPT_AUTO_CONF}, - { "play-file", 1, 0, OPT_PLAY_FILE}, - { "play-tone", 1, 0, OPT_PLAY_TONE}, - { "rec-file", 1, 0, OPT_REC_FILE}, - { "rtp-port", 1, 0, OPT_RTP_PORT}, - - { "use-ice", 0, 0, OPT_USE_ICE}, - { "ice-regular",0, 0, OPT_ICE_REGULAR}, - { "use-turn", 0, 0, OPT_USE_TURN}, - { "ice-max-hosts",1, 0, OPT_ICE_MAX_HOSTS}, - { "ice-no-rtcp",0, 0, OPT_ICE_NO_RTCP}, - { "turn-srv", 1, 0, OPT_TURN_SRV}, - { "turn-tcp", 0, 0, OPT_TURN_TCP}, - { "turn-user", 1, 0, OPT_TURN_USER}, - { "turn-passwd",1, 0, OPT_TURN_PASSWD}, - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - { "use-srtp", 1, 0, OPT_USE_SRTP}, - { "srtp-secure",1, 0, OPT_SRTP_SECURE}, -#endif - { "add-codec", 1, 0, OPT_ADD_CODEC}, - { "dis-codec", 1, 0, OPT_DIS_CODEC}, - { "complexity", 1, 0, OPT_COMPLEXITY}, - { "quality", 1, 0, OPT_QUALITY}, - { "ptime", 1, 0, OPT_PTIME}, - { "no-vad", 0, 0, OPT_NO_VAD}, - { "ec-tail", 1, 0, OPT_EC_TAIL}, - { "ec-opt", 1, 0, OPT_EC_OPT}, - { "ilbc-mode", 1, 0, OPT_ILBC_MODE}, - { "rx-drop-pct",1, 0, OPT_RX_DROP_PCT}, - { "tx-drop-pct",1, 0, OPT_TX_DROP_PCT}, - { "next-account",0,0, OPT_NEXT_ACCOUNT}, - { "next-cred", 0, 0, OPT_NEXT_CRED}, - { "max-calls", 1, 0, OPT_MAX_CALLS}, - { "duration", 1, 0, OPT_DURATION}, - { "thread-cnt", 1, 0, OPT_THREAD_CNT}, -#if defined(PJSIP_HAS_TLS_TRANSPORT) && (PJSIP_HAS_TLS_TRANSPORT != 0) - { "use-tls", 0, 0, OPT_USE_TLS}, - { "tls-ca-file",1, 0, OPT_TLS_CA_FILE}, - { "tls-cert-file",1,0, OPT_TLS_CERT_FILE}, - { "tls-privkey-file",1,0, OPT_TLS_PRIV_FILE}, - { "tls-password",1,0, OPT_TLS_PASSWORD}, - { "tls-verify-server", 0, 0, OPT_TLS_VERIFY_SERVER}, - { "tls-verify-client", 0, 0, OPT_TLS_VERIFY_CLIENT}, - { "tls-neg-timeout", 1, 0, OPT_TLS_NEG_TIMEOUT}, - { "tls-cipher", 1, 0, OPT_TLS_CIPHER}, -#endif - { "capture-dev", 1, 0, OPT_CAPTURE_DEV}, - { "playback-dev", 1, 0, OPT_PLAYBACK_DEV}, - { "capture-lat", 1, 0, OPT_CAPTURE_LAT}, - { "playback-lat", 1, 0, OPT_PLAYBACK_LAT}, - { "stdout-refresh", 1, 0, OPT_STDOUT_REFRESH}, - { "stdout-refresh-text", 1, 0, OPT_STDOUT_REFRESH_TEXT}, -#ifdef _IONBF - { "stdout-no-buf", 0, 0, OPT_STDOUT_NO_BUF }, -#endif - { "snd-auto-close", 1, 0, OPT_SND_AUTO_CLOSE}, - { "no-tones", 0, 0, OPT_NO_TONES}, - { "jb-max-size", 1, 0, OPT_JB_MAX_SIZE}, -#if defined(PJ_HAS_IPV6) && PJ_HAS_IPV6 - { "ipv6", 0, 0, OPT_IPV6}, -#endif - { "set-qos", 0, 0, OPT_QOS}, - { "use-timer", 1, 0, OPT_TIMER}, - { "timer-se", 1, 0, OPT_TIMER_SE}, - { "timer-min-se", 1, 0, OPT_TIMER_MIN_SE}, - { "outb-rid", 1, 0, OPT_OUTB_RID}, - { "video", 0, 0, OPT_VIDEO}, - { "extra-audio",0, 0, OPT_EXTRA_AUDIO}, - { "vcapture-dev", 1, 0, OPT_VCAPTURE_DEV}, - { "vrender-dev", 1, 0, OPT_VRENDER_DEV}, - { "play-avi", 1, 0, OPT_PLAY_AVI}, - { "auto-play-avi", 0, 0, OPT_AUTO_PLAY_AVI}, - { NULL, 0, 0, 0} - }; - pj_status_t status; - pjsua_acc_config *cur_acc; - char *config_file = NULL; - unsigned i; - - /* Run pj_getopt once to see if user specifies config file to read. */ - pj_optind = 0; - while ((c=pj_getopt_long(argc, argv, "", long_options, - &option_index)) != -1) - { - switch (c) { - case OPT_CONFIG_FILE: - config_file = pj_optarg; - break; - } - if (config_file) - break; - } - - if (config_file) { - status = read_config_file(app_config.pool, config_file, &argc, &argv); - if (status != 0) - return status; - } - - cfg->acc_cnt = 0; - cur_acc = &cfg->acc_cfg[0]; - - - /* Reinitialize and re-run pj_getopt again, possibly with new arguments - * read from config file. - */ - pj_optind = 0; - while((c=pj_getopt_long(argc,argv, "", long_options,&option_index))!=-1) { - pj_str_t tmp; - long lval; - - switch (c) { - - case OPT_CONFIG_FILE: - /* Ignore as this has been processed before */ - break; - - case OPT_LOG_FILE: - cfg->log_cfg.log_filename = pj_str(pj_optarg); - break; - - case OPT_LOG_LEVEL: - c = pj_strtoul(pj_cstr(&tmp, pj_optarg)); - if (c < 0 || c > 6) { - PJ_LOG(1,(THIS_FILE, - "Error: expecting integer value 0-6 " - "for --log-level")); - return PJ_EINVAL; - } - cfg->log_cfg.level = c; - pj_log_set_level( c ); - break; - - case OPT_APP_LOG_LEVEL: - cfg->log_cfg.console_level = pj_strtoul(pj_cstr(&tmp, pj_optarg)); - if (cfg->log_cfg.console_level < 0 || cfg->log_cfg.console_level > 6) { - PJ_LOG(1,(THIS_FILE, - "Error: expecting integer value 0-6 " - "for --app-log-level")); - return PJ_EINVAL; - } - break; - - case OPT_LOG_APPEND: - cfg->log_cfg.log_file_flags |= PJ_O_APPEND; - break; - - case OPT_COLOR: - cfg->log_cfg.decor |= PJ_LOG_HAS_COLOR; - break; - - case OPT_NO_COLOR: - cfg->log_cfg.decor &= ~PJ_LOG_HAS_COLOR; - break; - - case OPT_LIGHT_BG: - pj_log_set_color(1, PJ_TERM_COLOR_R); - pj_log_set_color(2, PJ_TERM_COLOR_R | PJ_TERM_COLOR_G); - pj_log_set_color(3, PJ_TERM_COLOR_B | PJ_TERM_COLOR_G); - pj_log_set_color(4, 0); - pj_log_set_color(5, 0); - pj_log_set_color(77, 0); - break; - - case OPT_NO_STDERR: - freopen("/dev/null", "w", stderr); - break; - - case OPT_HELP: - usage(); - return PJ_EINVAL; - - case OPT_VERSION: /* version */ - pj_dump_config(); - return PJ_EINVAL; - - case OPT_NULL_AUDIO: - cfg->null_audio = PJ_TRUE; - break; - - case OPT_CLOCK_RATE: - lval = pj_strtoul(pj_cstr(&tmp, pj_optarg)); - if (lval < 8000 || lval > 192000) { - PJ_LOG(1,(THIS_FILE, "Error: expecting value between " - "8000-192000 for conference clock rate")); - return PJ_EINVAL; - } - cfg->media_cfg.clock_rate = lval; - break; - - case OPT_SND_CLOCK_RATE: - lval = pj_strtoul(pj_cstr(&tmp, pj_optarg)); - if (lval < 8000 || lval > 192000) { - PJ_LOG(1,(THIS_FILE, "Error: expecting value between " - "8000-192000 for sound device clock rate")); - return PJ_EINVAL; - } - cfg->media_cfg.snd_clock_rate = lval; - break; - - case OPT_STEREO: - cfg->media_cfg.channel_count = 2; - break; - - case OPT_LOCAL_PORT: /* local-port */ - lval = pj_strtoul(pj_cstr(&tmp, pj_optarg)); - if (lval < 0 || lval > 65535) { - PJ_LOG(1,(THIS_FILE, - "Error: expecting integer value for " - "--local-port")); - return PJ_EINVAL; - } - cfg->udp_cfg.port = (pj_uint16_t)lval; - break; - - case OPT_IP_ADDR: /* ip-addr */ - cfg->udp_cfg.public_addr = pj_str(pj_optarg); - cfg->rtp_cfg.public_addr = pj_str(pj_optarg); - break; - - case OPT_BOUND_ADDR: /* bound-addr */ - cfg->udp_cfg.bound_addr = pj_str(pj_optarg); - cfg->rtp_cfg.bound_addr = pj_str(pj_optarg); - break; - - case OPT_NO_UDP: /* no-udp */ - if (cfg->no_tcp) { - PJ_LOG(1,(THIS_FILE,"Error: can not disable both TCP and UDP")); - return PJ_EINVAL; - } - - cfg->no_udp = PJ_TRUE; - break; - - case OPT_NOREFERSUB: /* norefersub */ - cfg->no_refersub = PJ_TRUE; - break; - - case OPT_NO_TCP: /* no-tcp */ - if (cfg->no_udp) { - PJ_LOG(1,(THIS_FILE,"Error: can not disable both TCP and UDP")); - return PJ_EINVAL; - } - - cfg->no_tcp = PJ_TRUE; - break; - - case OPT_PROXY: /* proxy */ - if (pjsua_verify_sip_url(pj_optarg) != 0) { - PJ_LOG(1,(THIS_FILE, - "Error: invalid SIP URL '%s' " - "in proxy argument", pj_optarg)); - return PJ_EINVAL; - } - cur_acc->proxy[cur_acc->proxy_cnt++] = pj_str(pj_optarg); - break; - - case OPT_OUTBOUND_PROXY: /* outbound proxy */ - if (pjsua_verify_sip_url(pj_optarg) != 0) { - PJ_LOG(1,(THIS_FILE, - "Error: invalid SIP URL '%s' " - "in outbound proxy argument", pj_optarg)); - return PJ_EINVAL; - } - cfg->cfg.outbound_proxy[cfg->cfg.outbound_proxy_cnt++] = pj_str(pj_optarg); - break; - - case OPT_REGISTRAR: /* registrar */ - if (pjsua_verify_sip_url(pj_optarg) != 0) { - PJ_LOG(1,(THIS_FILE, - "Error: invalid SIP URL '%s' in " - "registrar argument", pj_optarg)); - return PJ_EINVAL; - } - cur_acc->reg_uri = pj_str(pj_optarg); - break; - - case OPT_REG_TIMEOUT: /* reg-timeout */ - cur_acc->reg_timeout = pj_strtoul(pj_cstr(&tmp,pj_optarg)); - if (cur_acc->reg_timeout < 1 || cur_acc->reg_timeout > 3600) { - PJ_LOG(1,(THIS_FILE, - "Error: invalid value for --reg-timeout " - "(expecting 1-3600)")); - return PJ_EINVAL; - } - break; - - case OPT_PUBLISH: /* publish */ - cur_acc->publish_enabled = PJ_TRUE; - break; - - case OPT_MWI: /* mwi */ - cur_acc->mwi_enabled = PJ_TRUE; - break; - - case OPT_100REL: /** 100rel */ - cur_acc->require_100rel = PJSUA_100REL_MANDATORY; - cfg->cfg.require_100rel = PJSUA_100REL_MANDATORY; - break; - - case OPT_TIMER: /** session timer */ - lval = pj_strtoul(pj_cstr(&tmp, pj_optarg)); - if (lval < 0 || lval > 3) { - PJ_LOG(1,(THIS_FILE, - "Error: expecting integer value 0-3 for --use-timer")); - return PJ_EINVAL; - } - cur_acc->use_timer = lval; - cfg->cfg.use_timer = lval; - break; - - case OPT_TIMER_SE: /** session timer session expiration */ - cur_acc->timer_setting.sess_expires = pj_strtoul(pj_cstr(&tmp, pj_optarg)); - if (cur_acc->timer_setting.sess_expires < 90) { - PJ_LOG(1,(THIS_FILE, - "Error: invalid value for --timer-se " - "(expecting higher than 90)")); - return PJ_EINVAL; - } - cfg->cfg.timer_setting.sess_expires = cur_acc->timer_setting.sess_expires; - break; - - case OPT_TIMER_MIN_SE: /** session timer minimum session expiration */ - cur_acc->timer_setting.min_se = pj_strtoul(pj_cstr(&tmp, pj_optarg)); - if (cur_acc->timer_setting.min_se < 90) { - PJ_LOG(1,(THIS_FILE, - "Error: invalid value for --timer-min-se " - "(expecting higher than 90)")); - return PJ_EINVAL; - } - cfg->cfg.timer_setting.min_se = cur_acc->timer_setting.min_se; - break; - - case OPT_OUTB_RID: /* Outbound reg-id */ - cur_acc->rfc5626_reg_id = pj_str(pj_optarg); - break; - - case OPT_USE_IMS: /* Activate IMS settings */ - cur_acc->auth_pref.initial_auth = PJ_TRUE; - break; - - case OPT_ID: /* id */ - if (pjsua_verify_url(pj_optarg) != 0) { - PJ_LOG(1,(THIS_FILE, - "Error: invalid SIP URL '%s' " - "in local id argument", pj_optarg)); - return PJ_EINVAL; - } - cur_acc->id = pj_str(pj_optarg); - break; - - case OPT_CONTACT: /* contact */ - if (pjsua_verify_sip_url(pj_optarg) != 0) { - PJ_LOG(1,(THIS_FILE, - "Error: invalid SIP URL '%s' " - "in contact argument", pj_optarg)); - return PJ_EINVAL; - } - cur_acc->force_contact = pj_str(pj_optarg); - break; - - case OPT_CONTACT_PARAMS: - cur_acc->contact_params = pj_str(pj_optarg); - break; - - case OPT_CONTACT_URI_PARAMS: - cur_acc->contact_uri_params = pj_str(pj_optarg); - break; - - case OPT_AUTO_UPDATE_NAT: /* OPT_AUTO_UPDATE_NAT */ - cur_acc->allow_contact_rewrite = pj_strtoul(pj_cstr(&tmp, pj_optarg)); - break; - - case OPT_USE_COMPACT_FORM: - /* enable compact form - from Ticket #342 */ - { - extern pj_bool_t pjsip_use_compact_form; - extern pj_bool_t pjsip_include_allow_hdr_in_dlg; - extern pj_bool_t pjmedia_add_rtpmap_for_static_pt; - - pjsip_use_compact_form = PJ_TRUE; - /* do not transmit Allow header */ - pjsip_include_allow_hdr_in_dlg = PJ_FALSE; - /* Do not include rtpmap for static payload types (<96) */ - pjmedia_add_rtpmap_for_static_pt = PJ_FALSE; - } - break; - - case OPT_ACCEPT_REDIRECT: - cfg->redir_op = my_atoi(pj_optarg); - if (cfg->redir_op<0 || cfg->redir_op>PJSIP_REDIRECT_STOP) { - PJ_LOG(1,(THIS_FILE, - "Error: accept-redirect value '%s' ", pj_optarg)); - return PJ_EINVAL; - } - break; - - case OPT_NO_FORCE_LR: - cfg->cfg.force_lr = PJ_FALSE; - break; - - case OPT_NEXT_ACCOUNT: /* Add more account. */ - cfg->acc_cnt++; - cur_acc = &cfg->acc_cfg[cfg->acc_cnt]; - break; - - case OPT_USERNAME: /* Default authentication user */ - cur_acc->cred_info[cur_acc->cred_count].username = pj_str(pj_optarg); - cur_acc->cred_info[cur_acc->cred_count].scheme = pj_str("Digest"); - break; - - case OPT_REALM: /* Default authentication realm. */ - cur_acc->cred_info[cur_acc->cred_count].realm = pj_str(pj_optarg); - break; - - case OPT_PASSWORD: /* authentication password */ - cur_acc->cred_info[cur_acc->cred_count].data_type = PJSIP_CRED_DATA_PLAIN_PASSWD; - cur_acc->cred_info[cur_acc->cred_count].data = pj_str(pj_optarg); -#if PJSIP_HAS_DIGEST_AKA_AUTH - cur_acc->cred_info[cur_acc->cred_count].data_type |= PJSIP_CRED_DATA_EXT_AKA; - cur_acc->cred_info[cur_acc->cred_count].ext.aka.k = pj_str(pj_optarg); - cur_acc->cred_info[cur_acc->cred_count].ext.aka.cb = &pjsip_auth_create_aka_response; -#endif - break; - - case OPT_REG_RETRY_INTERVAL: - cur_acc->reg_retry_interval = pj_strtoul(pj_cstr(&tmp, pj_optarg)); - break; - - case OPT_REG_USE_PROXY: - cur_acc->reg_use_proxy = (unsigned)pj_strtoul(pj_cstr(&tmp, pj_optarg)); - if (cur_acc->reg_use_proxy > 3) { - PJ_LOG(1,(THIS_FILE, "Error: invalid --reg-use-proxy value '%s'", - pj_optarg)); - return PJ_EINVAL; - } - break; - - case OPT_NEXT_CRED: /* next credential */ - cur_acc->cred_count++; - break; - - case OPT_NAMESERVER: /* nameserver */ - cfg->cfg.nameserver[cfg->cfg.nameserver_count++] = pj_str(pj_optarg); - if (cfg->cfg.nameserver_count > PJ_ARRAY_SIZE(cfg->cfg.nameserver)) { - PJ_LOG(1,(THIS_FILE, "Error: too many nameservers")); - return PJ_ETOOMANY; - } - break; - - case OPT_STUN_SRV: /* STUN server */ - cfg->cfg.stun_host = pj_str(pj_optarg); - if (cfg->cfg.stun_srv_cnt==PJ_ARRAY_SIZE(cfg->cfg.stun_srv)) { - PJ_LOG(1,(THIS_FILE, "Error: too many STUN servers")); - return PJ_ETOOMANY; - } - cfg->cfg.stun_srv[cfg->cfg.stun_srv_cnt++] = pj_str(pj_optarg); - break; - - case OPT_ADD_BUDDY: /* Add to buddy list. */ - if (pjsua_verify_url(pj_optarg) != 0) { - PJ_LOG(1,(THIS_FILE, - "Error: invalid URL '%s' in " - "--add-buddy option", pj_optarg)); - return -1; - } - if (cfg->buddy_cnt == PJ_ARRAY_SIZE(cfg->buddy_cfg)) { - PJ_LOG(1,(THIS_FILE, - "Error: too many buddies in buddy list.")); - return -1; - } - cfg->buddy_cfg[cfg->buddy_cnt].uri = pj_str(pj_optarg); - cfg->buddy_cnt++; - break; - - case OPT_AUTO_PLAY: - cfg->auto_play = 1; - break; - - case OPT_AUTO_PLAY_HANGUP: - cfg->auto_play_hangup = 1; - break; - - case OPT_AUTO_REC: - cfg->auto_rec = 1; - break; - - case OPT_AUTO_LOOP: - cfg->auto_loop = 1; - break; - - case OPT_AUTO_CONF: - cfg->auto_conf = 1; - break; - - case OPT_PLAY_FILE: - cfg->wav_files[cfg->wav_count++] = pj_str(pj_optarg); - break; - - case OPT_PLAY_TONE: - { - int f1, f2, on, off; - int n; - - n = sscanf(pj_optarg, "%d,%d,%d,%d", &f1, &f2, &on, &off); - if (n != 4) { - puts("Expecting f1,f2,on,off in --play-tone"); - return -1; - } - - cfg->tones[cfg->tone_count].freq1 = (short)f1; - cfg->tones[cfg->tone_count].freq2 = (short)f2; - cfg->tones[cfg->tone_count].on_msec = (short)on; - cfg->tones[cfg->tone_count].off_msec = (short)off; - ++cfg->tone_count; - } - break; - - case OPT_REC_FILE: - cfg->rec_file = pj_str(pj_optarg); - break; - - case OPT_USE_ICE: - cfg->media_cfg.enable_ice = PJ_TRUE; - break; - - case OPT_ICE_REGULAR: - cfg->media_cfg.ice_opt.aggressive = PJ_FALSE; - break; - - case OPT_USE_TURN: - cfg->media_cfg.enable_turn = PJ_TRUE; - break; - - case OPT_ICE_MAX_HOSTS: - cfg->media_cfg.ice_max_host_cands = my_atoi(pj_optarg); - break; - - case OPT_ICE_NO_RTCP: - cfg->media_cfg.ice_no_rtcp = PJ_TRUE; - break; - - case OPT_TURN_SRV: - cfg->media_cfg.turn_server = pj_str(pj_optarg); - break; - - case OPT_TURN_TCP: - cfg->media_cfg.turn_conn_type = PJ_TURN_TP_TCP; - break; - - case OPT_TURN_USER: - cfg->media_cfg.turn_auth_cred.type = PJ_STUN_AUTH_CRED_STATIC; - cfg->media_cfg.turn_auth_cred.data.static_cred.realm = pj_str("*"); - cfg->media_cfg.turn_auth_cred.data.static_cred.username = pj_str(pj_optarg); - break; - - case OPT_TURN_PASSWD: - cfg->media_cfg.turn_auth_cred.data.static_cred.data_type = PJ_STUN_PASSWD_PLAIN; - cfg->media_cfg.turn_auth_cred.data.static_cred.data = pj_str(pj_optarg); - break; - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - case OPT_USE_SRTP: - app_config.cfg.use_srtp = my_atoi(pj_optarg); - if (!pj_isdigit(*pj_optarg) || app_config.cfg.use_srtp > 3) { - PJ_LOG(1,(THIS_FILE, "Invalid value for --use-srtp option")); - return -1; - } - if ((int)app_config.cfg.use_srtp == 3) { - /* SRTP optional mode with duplicated media offer */ - app_config.cfg.use_srtp = PJMEDIA_SRTP_OPTIONAL; - app_config.cfg.srtp_optional_dup_offer = PJ_TRUE; - cur_acc->srtp_optional_dup_offer = PJ_TRUE; - } - cur_acc->use_srtp = app_config.cfg.use_srtp; - break; - case OPT_SRTP_SECURE: - app_config.cfg.srtp_secure_signaling = my_atoi(pj_optarg); - if (!pj_isdigit(*pj_optarg) || - app_config.cfg.srtp_secure_signaling > 2) - { - PJ_LOG(1,(THIS_FILE, "Invalid value for --srtp-secure option")); - return -1; - } - cur_acc->srtp_secure_signaling = app_config.cfg.srtp_secure_signaling; - break; -#endif - - case OPT_RTP_PORT: - cfg->rtp_cfg.port = my_atoi(pj_optarg); - if (cfg->rtp_cfg.port == 0) { - enum { START_PORT=4000 }; - unsigned range; - - range = (65535-START_PORT-PJSUA_MAX_CALLS*2); - cfg->rtp_cfg.port = START_PORT + - ((pj_rand() % range) & 0xFFFE); - } - - if (cfg->rtp_cfg.port < 1 || cfg->rtp_cfg.port > 65535) { - PJ_LOG(1,(THIS_FILE, - "Error: rtp-port argument value " - "(expecting 1-65535")); - return -1; - } - break; - - case OPT_DIS_CODEC: - cfg->codec_dis[cfg->codec_dis_cnt++] = pj_str(pj_optarg); - break; - - case OPT_ADD_CODEC: - cfg->codec_arg[cfg->codec_cnt++] = pj_str(pj_optarg); - break; - - /* These options were no longer valid after new pjsua */ - /* - case OPT_COMPLEXITY: - cfg->complexity = my_atoi(pj_optarg); - if (cfg->complexity < 0 || cfg->complexity > 10) { - PJ_LOG(1,(THIS_FILE, - "Error: invalid --complexity (expecting 0-10")); - return -1; - } - break; - */ - - case OPT_DURATION: - cfg->duration = my_atoi(pj_optarg); - break; - - case OPT_THREAD_CNT: - cfg->cfg.thread_cnt = my_atoi(pj_optarg); - if (cfg->cfg.thread_cnt > 128) { - PJ_LOG(1,(THIS_FILE, - "Error: invalid --thread-cnt option")); - return -1; - } - break; - - case OPT_PTIME: - cfg->media_cfg.ptime = my_atoi(pj_optarg); - if (cfg->media_cfg.ptime < 10 || cfg->media_cfg.ptime > 1000) { - PJ_LOG(1,(THIS_FILE, - "Error: invalid --ptime option")); - return -1; - } - break; - - case OPT_NO_VAD: - cfg->media_cfg.no_vad = PJ_TRUE; - break; - - case OPT_EC_TAIL: - cfg->media_cfg.ec_tail_len = my_atoi(pj_optarg); - if (cfg->media_cfg.ec_tail_len > 1000) { - PJ_LOG(1,(THIS_FILE, "I think the ec-tail length setting " - "is too big")); - return -1; - } - break; - - case OPT_EC_OPT: - cfg->media_cfg.ec_options = my_atoi(pj_optarg); - break; - - case OPT_QUALITY: - cfg->media_cfg.quality = my_atoi(pj_optarg); - if (cfg->media_cfg.quality < 0 || cfg->media_cfg.quality > 10) { - PJ_LOG(1,(THIS_FILE, - "Error: invalid --quality (expecting 0-10")); - return -1; - } - break; - - case OPT_ILBC_MODE: - cfg->media_cfg.ilbc_mode = my_atoi(pj_optarg); - if (cfg->media_cfg.ilbc_mode!=20 && cfg->media_cfg.ilbc_mode!=30) { - PJ_LOG(1,(THIS_FILE, - "Error: invalid --ilbc-mode (expecting 20 or 30")); - return -1; - } - break; - - case OPT_RX_DROP_PCT: - cfg->media_cfg.rx_drop_pct = my_atoi(pj_optarg); - if (cfg->media_cfg.rx_drop_pct > 100) { - PJ_LOG(1,(THIS_FILE, - "Error: invalid --rx-drop-pct (expecting <= 100")); - return -1; - } - break; - - case OPT_TX_DROP_PCT: - cfg->media_cfg.tx_drop_pct = my_atoi(pj_optarg); - if (cfg->media_cfg.tx_drop_pct > 100) { - PJ_LOG(1,(THIS_FILE, - "Error: invalid --tx-drop-pct (expecting <= 100")); - return -1; - } - break; - - case OPT_AUTO_ANSWER: - cfg->auto_answer = my_atoi(pj_optarg); - if (cfg->auto_answer < 100 || cfg->auto_answer > 699) { - PJ_LOG(1,(THIS_FILE, - "Error: invalid code in --auto-answer " - "(expecting 100-699")); - return -1; - } - break; - - case OPT_MAX_CALLS: - cfg->cfg.max_calls = my_atoi(pj_optarg); - if (cfg->cfg.max_calls < 1 || cfg->cfg.max_calls > PJSUA_MAX_CALLS) { - PJ_LOG(1,(THIS_FILE,"Error: maximum call setting exceeds " - "compile time limit (PJSUA_MAX_CALLS=%d)", - PJSUA_MAX_CALLS)); - return -1; - } - break; - -#if defined(PJSIP_HAS_TLS_TRANSPORT) && (PJSIP_HAS_TLS_TRANSPORT != 0) - case OPT_USE_TLS: - cfg->use_tls = PJ_TRUE; - break; - - case OPT_TLS_CA_FILE: - cfg->udp_cfg.tls_setting.ca_list_file = pj_str(pj_optarg); - break; - - case OPT_TLS_CERT_FILE: - cfg->udp_cfg.tls_setting.cert_file = pj_str(pj_optarg); - break; - - case OPT_TLS_PRIV_FILE: - cfg->udp_cfg.tls_setting.privkey_file = pj_str(pj_optarg); - break; - - case OPT_TLS_PASSWORD: - cfg->udp_cfg.tls_setting.password = pj_str(pj_optarg); - break; - - case OPT_TLS_VERIFY_SERVER: - cfg->udp_cfg.tls_setting.verify_server = PJ_TRUE; - break; - - case OPT_TLS_VERIFY_CLIENT: - cfg->udp_cfg.tls_setting.verify_client = PJ_TRUE; - cfg->udp_cfg.tls_setting.require_client_cert = PJ_TRUE; - break; - - case OPT_TLS_NEG_TIMEOUT: - cfg->udp_cfg.tls_setting.timeout.sec = atoi(pj_optarg); - break; - - case OPT_TLS_CIPHER: - { - pj_ssl_cipher cipher; - - if (pj_ansi_strnicmp(pj_optarg, "0x", 2) == 0) { - pj_str_t cipher_st = pj_str(pj_optarg + 2); - cipher = pj_strtoul2(&cipher_st, NULL, 16); - } else { - cipher = atoi(pj_optarg); - } - - if (pj_ssl_cipher_is_supported(cipher)) { - static pj_ssl_cipher tls_ciphers[128]; - - tls_ciphers[cfg->udp_cfg.tls_setting.ciphers_num++] = cipher; - cfg->udp_cfg.tls_setting.ciphers = tls_ciphers; - } else { - pj_ssl_cipher ciphers[128]; - unsigned j, ciphers_cnt; - - ciphers_cnt = PJ_ARRAY_SIZE(ciphers); - pj_ssl_cipher_get_availables(ciphers, &ciphers_cnt); - - PJ_LOG(1,(THIS_FILE, "Cipher \"%s\" is not supported by " - "TLS/SSL backend.", pj_optarg)); - printf("Available TLS/SSL ciphers (%d):\n", ciphers_cnt); - for (j=0; jcapture_dev = atoi(pj_optarg); - break; - - case OPT_PLAYBACK_DEV: - cfg->playback_dev = atoi(pj_optarg); - break; - - case OPT_STDOUT_REFRESH: - stdout_refresh = atoi(pj_optarg); - break; - - case OPT_STDOUT_REFRESH_TEXT: - stdout_refresh_text = pj_optarg; - break; - -#ifdef _IONBF - case OPT_STDOUT_NO_BUF: - setvbuf(stdout, NULL, _IONBF, 0); - break; -#endif - - case OPT_CAPTURE_LAT: - cfg->capture_lat = atoi(pj_optarg); - break; - - case OPT_PLAYBACK_LAT: - cfg->playback_lat = atoi(pj_optarg); - break; - - case OPT_SND_AUTO_CLOSE: - cfg->media_cfg.snd_auto_close_time = atoi(pj_optarg); - break; - - case OPT_NO_TONES: - cfg->no_tones = PJ_TRUE; - break; - - case OPT_JB_MAX_SIZE: - cfg->media_cfg.jb_max = atoi(pj_optarg); - break; - -#if defined(PJ_HAS_IPV6) && PJ_HAS_IPV6 - case OPT_IPV6: - cfg->ipv6 = PJ_TRUE; - break; -#endif - case OPT_QOS: - cfg->enable_qos = PJ_TRUE; - /* Set RTP traffic type to Voice */ - cfg->rtp_cfg.qos_type = PJ_QOS_TYPE_VOICE; - /* Directly apply DSCP value to SIP traffic. Say lets - * set it to CS3 (DSCP 011000). Note that this will not - * work on all platforms. - */ - cfg->udp_cfg.qos_params.flags = PJ_QOS_PARAM_HAS_DSCP; - cfg->udp_cfg.qos_params.dscp_val = 0x18; - break; - case OPT_VIDEO: - cfg->vid.vid_cnt = 1; - cfg->vid.in_auto_show = PJ_TRUE; - cfg->vid.out_auto_transmit = PJ_TRUE; - break; - case OPT_EXTRA_AUDIO: - cfg->aud_cnt++; - break; - - case OPT_VCAPTURE_DEV: - cfg->vid.vcapture_dev = atoi(pj_optarg); - cur_acc->vid_cap_dev = cfg->vid.vcapture_dev; - break; - - case OPT_VRENDER_DEV: - cfg->vid.vrender_dev = atoi(pj_optarg); - cur_acc->vid_rend_dev = cfg->vid.vrender_dev; - break; - - case OPT_PLAY_AVI: - if (app_config.avi_cnt >= MAX_AVI) { - PJ_LOG(1,(THIS_FILE, "Too many AVIs")); - return -1; - } - app_config.avi[app_config.avi_cnt++].path = pj_str(pj_optarg); - break; - - case OPT_AUTO_PLAY_AVI: - app_config.avi_auto_play = PJ_TRUE; - break; - - default: - PJ_LOG(1,(THIS_FILE, - "Argument \"%s\" is not valid. Use --help to see help", - argv[pj_optind-1])); - return -1; - } - } - - if (pj_optind != argc) { - pj_str_t uri_arg; - - if (pjsua_verify_url(argv[pj_optind]) != PJ_SUCCESS) { - PJ_LOG(1,(THIS_FILE, "Invalid SIP URI %s", argv[pj_optind])); - return -1; - } - uri_arg = pj_str(argv[pj_optind]); - if (uri_to_call) - *uri_to_call = uri_arg; - pj_optind++; - - /* Add URI to call to buddy list if it's not already there */ - for (i=0; ibuddy_cnt; ++i) { - if (pj_stricmp(&cfg->buddy_cfg[i].uri, &uri_arg)==0) - break; - } - if (i == cfg->buddy_cnt && cfg->buddy_cnt < PJSUA_MAX_BUDDIES) { - cfg->buddy_cfg[cfg->buddy_cnt++].uri = uri_arg; - } - - } else { - if (uri_to_call) - uri_to_call->slen = 0; - } - - if (pj_optind != argc) { - PJ_LOG(1,(THIS_FILE, "Error: unknown options %s", argv[pj_optind])); - return PJ_EINVAL; - } - - if (cfg->acc_cfg[cfg->acc_cnt].id.slen) - cfg->acc_cnt++; - - for (i=0; iacc_cnt; ++i) { - pjsua_acc_config *acfg = &cfg->acc_cfg[i]; - - if (acfg->cred_info[acfg->cred_count].username.slen) - { - acfg->cred_count++; - } - - /* When IMS mode is enabled for the account, verify that settings - * are okay. - */ - /* For now we check if IMS mode is activated by looking if - * initial_auth is set. - */ - if (acfg->auth_pref.initial_auth && acfg->cred_count) { - /* Realm must point to the real domain */ - if (*acfg->cred_info[0].realm.ptr=='*') { - PJ_LOG(1,(THIS_FILE, - "Error: cannot use '*' as realm with IMS")); - return PJ_EINVAL; - } - - /* Username for authentication must be in a@b format */ - if (strchr(acfg->cred_info[0].username.ptr, '@')==0) { - PJ_LOG(1,(THIS_FILE, - "Error: Username for authentication must " - "be in user@domain format with IMS")); - return PJ_EINVAL; - } - } - } - - - return PJ_SUCCESS; -} - - -/* - * Save account settings - */ -static void write_account_settings(int acc_index, pj_str_t *result) -{ - unsigned i; - char line[128]; - pjsua_acc_config *acc_cfg = &app_config.acc_cfg[acc_index]; - - - pj_ansi_sprintf(line, "\n#\n# Account %d:\n#\n", acc_index); - pj_strcat2(result, line); - - - /* Identity */ - if (acc_cfg->id.slen) { - pj_ansi_sprintf(line, "--id %.*s\n", - (int)acc_cfg->id.slen, - acc_cfg->id.ptr); - pj_strcat2(result, line); - } - - /* Registrar server */ - if (acc_cfg->reg_uri.slen) { - pj_ansi_sprintf(line, "--registrar %.*s\n", - (int)acc_cfg->reg_uri.slen, - acc_cfg->reg_uri.ptr); - pj_strcat2(result, line); - - pj_ansi_sprintf(line, "--reg-timeout %u\n", - acc_cfg->reg_timeout); - pj_strcat2(result, line); - } - - /* Contact */ - if (acc_cfg->force_contact.slen) { - pj_ansi_sprintf(line, "--contact %.*s\n", - (int)acc_cfg->force_contact.slen, - acc_cfg->force_contact.ptr); - pj_strcat2(result, line); - } - - /* Contact header parameters */ - if (acc_cfg->contact_params.slen) { - pj_ansi_sprintf(line, "--contact-params %.*s\n", - (int)acc_cfg->contact_params.slen, - acc_cfg->contact_params.ptr); - pj_strcat2(result, line); - } - - /* Contact URI parameters */ - if (acc_cfg->contact_uri_params.slen) { - pj_ansi_sprintf(line, "--contact-uri-params %.*s\n", - (int)acc_cfg->contact_uri_params.slen, - acc_cfg->contact_uri_params.ptr); - pj_strcat2(result, line); - } - - /* */ - if (acc_cfg->allow_contact_rewrite!=1) - { - pj_ansi_sprintf(line, "--auto-update-nat %i\n", - (int)acc_cfg->allow_contact_rewrite); - pj_strcat2(result, line); - } - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - /* SRTP */ - if (acc_cfg->use_srtp) { - int use_srtp = (int)acc_cfg->use_srtp; - if (use_srtp == PJMEDIA_SRTP_OPTIONAL && - acc_cfg->srtp_optional_dup_offer) - { - use_srtp = 3; - } - pj_ansi_sprintf(line, "--use-srtp %i\n", use_srtp); - pj_strcat2(result, line); - } - if (acc_cfg->srtp_secure_signaling != - PJSUA_DEFAULT_SRTP_SECURE_SIGNALING) - { - pj_ansi_sprintf(line, "--srtp-secure %d\n", - acc_cfg->srtp_secure_signaling); - pj_strcat2(result, line); - } -#endif - - /* Proxy */ - for (i=0; iproxy_cnt; ++i) { - pj_ansi_sprintf(line, "--proxy %.*s\n", - (int)acc_cfg->proxy[i].slen, - acc_cfg->proxy[i].ptr); - pj_strcat2(result, line); - } - - /* Credentials */ - for (i=0; icred_count; ++i) { - if (acc_cfg->cred_info[i].realm.slen) { - pj_ansi_sprintf(line, "--realm %.*s\n", - (int)acc_cfg->cred_info[i].realm.slen, - acc_cfg->cred_info[i].realm.ptr); - pj_strcat2(result, line); - } - - if (acc_cfg->cred_info[i].username.slen) { - pj_ansi_sprintf(line, "--username %.*s\n", - (int)acc_cfg->cred_info[i].username.slen, - acc_cfg->cred_info[i].username.ptr); - pj_strcat2(result, line); - } - - if (acc_cfg->cred_info[i].data.slen) { - pj_ansi_sprintf(line, "--password %.*s\n", - (int)acc_cfg->cred_info[i].data.slen, - acc_cfg->cred_info[i].data.ptr); - pj_strcat2(result, line); - } - - if (i != acc_cfg->cred_count - 1) - pj_strcat2(result, "--next-cred\n"); - } - - /* reg-use-proxy */ - if (acc_cfg->reg_use_proxy != 3) { - pj_ansi_sprintf(line, "--reg-use-proxy %d\n", - acc_cfg->reg_use_proxy); - pj_strcat2(result, line); - } - - /* rereg-delay */ - if (acc_cfg->reg_retry_interval != PJSUA_REG_RETRY_INTERVAL) { - pj_ansi_sprintf(line, "--rereg-delay %d\n", - acc_cfg->reg_retry_interval); - pj_strcat2(result, line); - } - - /* 100rel extension */ - if (acc_cfg->require_100rel) { - pj_strcat2(result, "--use-100rel\n"); - } - - /* Session Timer extension */ - if (acc_cfg->use_timer) { - pj_ansi_sprintf(line, "--use-timer %d\n", - acc_cfg->use_timer); - pj_strcat2(result, line); - } - if (acc_cfg->timer_setting.min_se != 90) { - pj_ansi_sprintf(line, "--timer-min-se %d\n", - acc_cfg->timer_setting.min_se); - pj_strcat2(result, line); - } - if (acc_cfg->timer_setting.sess_expires != PJSIP_SESS_TIMER_DEF_SE) { - pj_ansi_sprintf(line, "--timer-se %d\n", - acc_cfg->timer_setting.sess_expires); - pj_strcat2(result, line); - } - - /* Publish */ - if (acc_cfg->publish_enabled) - pj_strcat2(result, "--publish\n"); - - /* MWI */ - if (acc_cfg->mwi_enabled) - pj_strcat2(result, "--mwi\n"); -} - - -/* - * Write settings. - */ -static int write_settings(const struct app_config *config, - char *buf, pj_size_t max) -{ - unsigned acc_index; - unsigned i; - pj_str_t cfg; - char line[128]; - extern pj_bool_t pjsip_use_compact_form; - - PJ_UNUSED_ARG(max); - - cfg.ptr = buf; - cfg.slen = 0; - - /* Logging. */ - pj_strcat2(&cfg, "#\n# Logging options:\n#\n"); - pj_ansi_sprintf(line, "--log-level %d\n", - config->log_cfg.level); - pj_strcat2(&cfg, line); - - pj_ansi_sprintf(line, "--app-log-level %d\n", - config->log_cfg.console_level); - pj_strcat2(&cfg, line); - - if (config->log_cfg.log_filename.slen) { - pj_ansi_sprintf(line, "--log-file %.*s\n", - (int)config->log_cfg.log_filename.slen, - config->log_cfg.log_filename.ptr); - pj_strcat2(&cfg, line); - } - - if (config->log_cfg.log_file_flags & PJ_O_APPEND) { - pj_strcat2(&cfg, "--log-append\n"); - } - - /* Save account settings. */ - for (acc_index=0; acc_index < config->acc_cnt; ++acc_index) { - - write_account_settings(acc_index, &cfg); - - if (acc_index < config->acc_cnt-1) - pj_strcat2(&cfg, "--next-account\n"); - } - - - pj_strcat2(&cfg, "\n#\n# Network settings:\n#\n"); - - /* Nameservers */ - for (i=0; icfg.nameserver_count; ++i) { - pj_ansi_sprintf(line, "--nameserver %.*s\n", - (int)config->cfg.nameserver[i].slen, - config->cfg.nameserver[i].ptr); - pj_strcat2(&cfg, line); - } - - /* Outbound proxy */ - for (i=0; icfg.outbound_proxy_cnt; ++i) { - pj_ansi_sprintf(line, "--outbound %.*s\n", - (int)config->cfg.outbound_proxy[i].slen, - config->cfg.outbound_proxy[i].ptr); - pj_strcat2(&cfg, line); - } - - /* Transport options */ - if (config->ipv6) { - pj_strcat2(&cfg, "--ipv6\n"); - } - if (config->enable_qos) { - pj_strcat2(&cfg, "--set-qos\n"); - } - - /* UDP Transport. */ - pj_ansi_sprintf(line, "--local-port %d\n", config->udp_cfg.port); - pj_strcat2(&cfg, line); - - /* IP address, if any. */ - if (config->udp_cfg.public_addr.slen) { - pj_ansi_sprintf(line, "--ip-addr %.*s\n", - (int)config->udp_cfg.public_addr.slen, - config->udp_cfg.public_addr.ptr); - pj_strcat2(&cfg, line); - } - - /* Bound IP address, if any. */ - if (config->udp_cfg.bound_addr.slen) { - pj_ansi_sprintf(line, "--bound-addr %.*s\n", - (int)config->udp_cfg.bound_addr.slen, - config->udp_cfg.bound_addr.ptr); - pj_strcat2(&cfg, line); - } - - /* No TCP ? */ - if (config->no_tcp) { - pj_strcat2(&cfg, "--no-tcp\n"); - } - - /* No UDP ? */ - if (config->no_udp) { - pj_strcat2(&cfg, "--no-udp\n"); - } - - /* STUN */ - for (i=0; icfg.stun_srv_cnt; ++i) { - pj_ansi_sprintf(line, "--stun-srv %.*s\n", - (int)config->cfg.stun_srv[i].slen, - config->cfg.stun_srv[i].ptr); - pj_strcat2(&cfg, line); - } - -#if defined(PJSIP_HAS_TLS_TRANSPORT) && (PJSIP_HAS_TLS_TRANSPORT != 0) - /* TLS */ - if (config->use_tls) - pj_strcat2(&cfg, "--use-tls\n"); - if (config->udp_cfg.tls_setting.ca_list_file.slen) { - pj_ansi_sprintf(line, "--tls-ca-file %.*s\n", - (int)config->udp_cfg.tls_setting.ca_list_file.slen, - config->udp_cfg.tls_setting.ca_list_file.ptr); - pj_strcat2(&cfg, line); - } - if (config->udp_cfg.tls_setting.cert_file.slen) { - pj_ansi_sprintf(line, "--tls-cert-file %.*s\n", - (int)config->udp_cfg.tls_setting.cert_file.slen, - config->udp_cfg.tls_setting.cert_file.ptr); - pj_strcat2(&cfg, line); - } - if (config->udp_cfg.tls_setting.privkey_file.slen) { - pj_ansi_sprintf(line, "--tls-privkey-file %.*s\n", - (int)config->udp_cfg.tls_setting.privkey_file.slen, - config->udp_cfg.tls_setting.privkey_file.ptr); - pj_strcat2(&cfg, line); - } - - if (config->udp_cfg.tls_setting.password.slen) { - pj_ansi_sprintf(line, "--tls-password %.*s\n", - (int)config->udp_cfg.tls_setting.password.slen, - config->udp_cfg.tls_setting.password.ptr); - pj_strcat2(&cfg, line); - } - - if (config->udp_cfg.tls_setting.verify_server) - pj_strcat2(&cfg, "--tls-verify-server\n"); - - if (config->udp_cfg.tls_setting.verify_client) - pj_strcat2(&cfg, "--tls-verify-client\n"); - - if (config->udp_cfg.tls_setting.timeout.sec) { - pj_ansi_sprintf(line, "--tls-neg-timeout %d\n", - (int)config->udp_cfg.tls_setting.timeout.sec); - pj_strcat2(&cfg, line); - } - - for (i=0; iudp_cfg.tls_setting.ciphers_num; ++i) { - pj_ansi_sprintf(line, "--tls-cipher 0x%06X # %s\n", - config->udp_cfg.tls_setting.ciphers[i], - pj_ssl_cipher_name(config->udp_cfg.tls_setting.ciphers[i])); - pj_strcat2(&cfg, line); - } -#endif - - pj_strcat2(&cfg, "\n#\n# Media settings:\n#\n"); - - /* Video & extra audio */ - for (i=0; ivid.vid_cnt; ++i) { - pj_strcat2(&cfg, "--video\n"); - } - for (i=1; iaud_cnt; ++i) { - pj_strcat2(&cfg, "--extra-audio\n"); - } - - /* SRTP */ -#if PJMEDIA_HAS_SRTP - if (app_config.cfg.use_srtp != PJSUA_DEFAULT_USE_SRTP) { - int use_srtp = (int)app_config.cfg.use_srtp; - if (use_srtp == PJMEDIA_SRTP_OPTIONAL && - app_config.cfg.srtp_optional_dup_offer) - { - use_srtp = 3; - } - pj_ansi_sprintf(line, "--use-srtp %d\n", use_srtp); - pj_strcat2(&cfg, line); - } - if (app_config.cfg.srtp_secure_signaling != - PJSUA_DEFAULT_SRTP_SECURE_SIGNALING) - { - pj_ansi_sprintf(line, "--srtp-secure %d\n", - app_config.cfg.srtp_secure_signaling); - pj_strcat2(&cfg, line); - } -#endif - - /* Media Transport*/ - if (config->media_cfg.enable_ice) - pj_strcat2(&cfg, "--use-ice\n"); - - if (config->media_cfg.ice_opt.aggressive == PJ_FALSE) - pj_strcat2(&cfg, "--ice-regular\n"); - - if (config->media_cfg.enable_turn) - pj_strcat2(&cfg, "--use-turn\n"); - - if (config->media_cfg.ice_max_host_cands >= 0) { - pj_ansi_sprintf(line, "--ice_max_host_cands %d\n", - config->media_cfg.ice_max_host_cands); - pj_strcat2(&cfg, line); - } - - if (config->media_cfg.ice_no_rtcp) - pj_strcat2(&cfg, "--ice-no-rtcp\n"); - - if (config->media_cfg.turn_server.slen) { - pj_ansi_sprintf(line, "--turn-srv %.*s\n", - (int)config->media_cfg.turn_server.slen, - config->media_cfg.turn_server.ptr); - pj_strcat2(&cfg, line); - } - - if (config->media_cfg.turn_conn_type == PJ_TURN_TP_TCP) - pj_strcat2(&cfg, "--turn-tcp\n"); - - if (config->media_cfg.turn_auth_cred.data.static_cred.username.slen) { - pj_ansi_sprintf(line, "--turn-user %.*s\n", - (int)config->media_cfg.turn_auth_cred.data.static_cred.username.slen, - config->media_cfg.turn_auth_cred.data.static_cred.username.ptr); - pj_strcat2(&cfg, line); - } - - if (config->media_cfg.turn_auth_cred.data.static_cred.data.slen) { - pj_ansi_sprintf(line, "--turn-passwd %.*s\n", - (int)config->media_cfg.turn_auth_cred.data.static_cred.data.slen, - config->media_cfg.turn_auth_cred.data.static_cred.data.ptr); - pj_strcat2(&cfg, line); - } - - /* Media */ - if (config->null_audio) - pj_strcat2(&cfg, "--null-audio\n"); - if (config->auto_play) - pj_strcat2(&cfg, "--auto-play\n"); - if (config->auto_loop) - pj_strcat2(&cfg, "--auto-loop\n"); - if (config->auto_conf) - pj_strcat2(&cfg, "--auto-conf\n"); - for (i=0; iwav_count; ++i) { - pj_ansi_sprintf(line, "--play-file %s\n", - config->wav_files[i].ptr); - pj_strcat2(&cfg, line); - } - for (i=0; itone_count; ++i) { - pj_ansi_sprintf(line, "--play-tone %d,%d,%d,%d\n", - config->tones[i].freq1, config->tones[i].freq2, - config->tones[i].on_msec, config->tones[i].off_msec); - pj_strcat2(&cfg, line); - } - if (config->rec_file.slen) { - pj_ansi_sprintf(line, "--rec-file %s\n", - config->rec_file.ptr); - pj_strcat2(&cfg, line); - } - if (config->auto_rec) - pj_strcat2(&cfg, "--auto-rec\n"); - if (config->capture_dev != PJSUA_INVALID_ID) { - pj_ansi_sprintf(line, "--capture-dev %d\n", config->capture_dev); - pj_strcat2(&cfg, line); - } - if (config->playback_dev != PJSUA_INVALID_ID) { - pj_ansi_sprintf(line, "--playback-dev %d\n", config->playback_dev); - pj_strcat2(&cfg, line); - } - if (config->media_cfg.snd_auto_close_time != -1) { - pj_ansi_sprintf(line, "--snd-auto-close %d\n", - config->media_cfg.snd_auto_close_time); - pj_strcat2(&cfg, line); - } - if (config->no_tones) { - pj_strcat2(&cfg, "--no-tones\n"); - } - if (config->media_cfg.jb_max != -1) { - pj_ansi_sprintf(line, "--jb-max-size %d\n", - config->media_cfg.jb_max); - pj_strcat2(&cfg, line); - } - - /* Sound device latency */ - if (config->capture_lat != PJMEDIA_SND_DEFAULT_REC_LATENCY) { - pj_ansi_sprintf(line, "--capture-lat %d\n", config->capture_lat); - pj_strcat2(&cfg, line); - } - if (config->playback_lat != PJMEDIA_SND_DEFAULT_PLAY_LATENCY) { - pj_ansi_sprintf(line, "--playback-lat %d\n", config->playback_lat); - pj_strcat2(&cfg, line); - } - - /* Media clock rate. */ - if (config->media_cfg.clock_rate != PJSUA_DEFAULT_CLOCK_RATE) { - pj_ansi_sprintf(line, "--clock-rate %d\n", - config->media_cfg.clock_rate); - pj_strcat2(&cfg, line); - } else { - pj_ansi_sprintf(line, "#using default --clock-rate %d\n", - config->media_cfg.clock_rate); - pj_strcat2(&cfg, line); - } - - if (config->media_cfg.snd_clock_rate && - config->media_cfg.snd_clock_rate != config->media_cfg.clock_rate) - { - pj_ansi_sprintf(line, "--snd-clock-rate %d\n", - config->media_cfg.snd_clock_rate); - pj_strcat2(&cfg, line); - } - - /* Stereo mode. */ - if (config->media_cfg.channel_count == 2) { - pj_ansi_sprintf(line, "--stereo\n"); - pj_strcat2(&cfg, line); - } - - /* quality */ - if (config->media_cfg.quality != PJSUA_DEFAULT_CODEC_QUALITY) { - pj_ansi_sprintf(line, "--quality %d\n", - config->media_cfg.quality); - pj_strcat2(&cfg, line); - } else { - pj_ansi_sprintf(line, "#using default --quality %d\n", - config->media_cfg.quality); - pj_strcat2(&cfg, line); - } - - if (config->vid.vcapture_dev != PJMEDIA_VID_DEFAULT_CAPTURE_DEV) { - pj_ansi_sprintf(line, "--vcapture-dev %d\n", config->vid.vcapture_dev); - pj_strcat2(&cfg, line); - } - if (config->vid.vrender_dev != PJMEDIA_VID_DEFAULT_RENDER_DEV) { - pj_ansi_sprintf(line, "--vrender-dev %d\n", config->vid.vrender_dev); - pj_strcat2(&cfg, line); - } - for (i=0; iavi_cnt; ++i) { - pj_ansi_sprintf(line, "--play-avi %s\n", config->avi[i].path.ptr); - pj_strcat2(&cfg, line); - } - if (config->avi_auto_play) { - pj_ansi_sprintf(line, "--auto-play-avi\n"); - pj_strcat2(&cfg, line); - } - - /* ptime */ - if (config->media_cfg.ptime) { - pj_ansi_sprintf(line, "--ptime %d\n", - config->media_cfg.ptime); - pj_strcat2(&cfg, line); - } - - /* no-vad */ - if (config->media_cfg.no_vad) { - pj_strcat2(&cfg, "--no-vad\n"); - } - - /* ec-tail */ - if (config->media_cfg.ec_tail_len != PJSUA_DEFAULT_EC_TAIL_LEN) { - pj_ansi_sprintf(line, "--ec-tail %d\n", - config->media_cfg.ec_tail_len); - pj_strcat2(&cfg, line); - } else { - pj_ansi_sprintf(line, "#using default --ec-tail %d\n", - config->media_cfg.ec_tail_len); - pj_strcat2(&cfg, line); - } - - /* ec-opt */ - if (config->media_cfg.ec_options != 0) { - pj_ansi_sprintf(line, "--ec-opt %d\n", - config->media_cfg.ec_options); - pj_strcat2(&cfg, line); - } - - /* ilbc-mode */ - if (config->media_cfg.ilbc_mode != PJSUA_DEFAULT_ILBC_MODE) { - pj_ansi_sprintf(line, "--ilbc-mode %d\n", - config->media_cfg.ilbc_mode); - pj_strcat2(&cfg, line); - } else { - pj_ansi_sprintf(line, "#using default --ilbc-mode %d\n", - config->media_cfg.ilbc_mode); - pj_strcat2(&cfg, line); - } - - /* RTP drop */ - if (config->media_cfg.tx_drop_pct) { - pj_ansi_sprintf(line, "--tx-drop-pct %d\n", - config->media_cfg.tx_drop_pct); - pj_strcat2(&cfg, line); - - } - if (config->media_cfg.rx_drop_pct) { - pj_ansi_sprintf(line, "--rx-drop-pct %d\n", - config->media_cfg.rx_drop_pct); - pj_strcat2(&cfg, line); - - } - - - /* Start RTP port. */ - pj_ansi_sprintf(line, "--rtp-port %d\n", - config->rtp_cfg.port); - pj_strcat2(&cfg, line); - - /* Disable codec */ - for (i=0; icodec_dis_cnt; ++i) { - pj_ansi_sprintf(line, "--dis-codec %s\n", - config->codec_dis[i].ptr); - pj_strcat2(&cfg, line); - } - /* Add codec. */ - for (i=0; icodec_cnt; ++i) { - pj_ansi_sprintf(line, "--add-codec %s\n", - config->codec_arg[i].ptr); - pj_strcat2(&cfg, line); - } - - pj_strcat2(&cfg, "\n#\n# User agent:\n#\n"); - - /* Auto-answer. */ - if (config->auto_answer != 0) { - pj_ansi_sprintf(line, "--auto-answer %d\n", - config->auto_answer); - pj_strcat2(&cfg, line); - } - - /* accept-redirect */ - if (config->redir_op != PJSIP_REDIRECT_ACCEPT) { - pj_ansi_sprintf(line, "--accept-redirect %d\n", - config->redir_op); - pj_strcat2(&cfg, line); - } - - /* Max calls. */ - pj_ansi_sprintf(line, "--max-calls %d\n", - config->cfg.max_calls); - pj_strcat2(&cfg, line); - - /* Uas-duration. */ - if (config->duration != NO_LIMIT) { - pj_ansi_sprintf(line, "--duration %d\n", - config->duration); - pj_strcat2(&cfg, line); - } - - /* norefersub ? */ - if (config->no_refersub) { - pj_strcat2(&cfg, "--norefersub\n"); - } - - if (pjsip_use_compact_form) - { - pj_strcat2(&cfg, "--use-compact-form\n"); - } - - if (!config->cfg.force_lr) { - pj_strcat2(&cfg, "--no-force-lr\n"); - } - - pj_strcat2(&cfg, "\n#\n# Buddies:\n#\n"); - - /* Add buddies. */ - for (i=0; ibuddy_cnt; ++i) { - pj_ansi_sprintf(line, "--add-buddy %.*s\n", - (int)config->buddy_cfg[i].uri.slen, - config->buddy_cfg[i].uri.ptr); - pj_strcat2(&cfg, line); - } - - /* SIP extensions. */ - pj_strcat2(&cfg, "\n#\n# SIP extensions:\n#\n"); - /* 100rel extension */ - if (config->cfg.require_100rel) { - pj_strcat2(&cfg, "--use-100rel\n"); - } - /* Session Timer extension */ - if (config->cfg.use_timer) { - pj_ansi_sprintf(line, "--use-timer %d\n", - config->cfg.use_timer); - pj_strcat2(&cfg, line); - } - if (config->cfg.timer_setting.min_se != 90) { - pj_ansi_sprintf(line, "--timer-min-se %d\n", - config->cfg.timer_setting.min_se); - pj_strcat2(&cfg, line); - } - if (config->cfg.timer_setting.sess_expires != PJSIP_SESS_TIMER_DEF_SE) { - pj_ansi_sprintf(line, "--timer-se %d\n", - config->cfg.timer_setting.sess_expires); - pj_strcat2(&cfg, line); - } - - *(cfg.ptr + cfg.slen) = '\0'; - return cfg.slen; -} - - -/* - * Dump application states. - */ -static void app_dump(pj_bool_t detail) -{ - pjsua_dump(detail); -} - -/* - * Print log of call states. Since call states may be too long for logger, - * printing it is a bit tricky, it should be printed part by part as long - * as the logger can accept. - */ -static void log_call_dump(int call_id) -{ - unsigned call_dump_len; - unsigned part_len; - unsigned part_idx; - unsigned log_decor; - - pjsua_call_dump(call_id, PJ_TRUE, some_buf, - sizeof(some_buf), " "); - call_dump_len = strlen(some_buf); - - log_decor = pj_log_get_decor(); - pj_log_set_decor(log_decor & ~(PJ_LOG_HAS_NEWLINE | PJ_LOG_HAS_CR)); - PJ_LOG(3,(THIS_FILE, "\n")); - pj_log_set_decor(0); - - part_idx = 0; - part_len = PJ_LOG_MAX_SIZE-80; - while (part_idx < call_dump_len) { - char p_orig, *p; - - p = &some_buf[part_idx]; - if (part_idx + part_len > call_dump_len) - part_len = call_dump_len - part_idx; - p_orig = p[part_len]; - p[part_len] = '\0'; - PJ_LOG(3,(THIS_FILE, "%s", p)); - p[part_len] = p_orig; - part_idx += part_len; - } - pj_log_set_decor(log_decor); -} - -/***************************************************************************** - * Console application - */ - -static void ringback_start(pjsua_call_id call_id) -{ - if (app_config.no_tones) - return; - - if (app_config.call_data[call_id].ringback_on) - return; - - app_config.call_data[call_id].ringback_on = PJ_TRUE; - - if (++app_config.ringback_cnt==1 && - app_config.ringback_slot!=PJSUA_INVALID_ID) - { - pjsua_conf_connect(app_config.ringback_slot, 0); - } -} - -static void ring_stop(pjsua_call_id call_id) -{ - if (app_config.no_tones) - return; - - if (app_config.call_data[call_id].ringback_on) { - app_config.call_data[call_id].ringback_on = PJ_FALSE; - - pj_assert(app_config.ringback_cnt>0); - if (--app_config.ringback_cnt == 0 && - app_config.ringback_slot!=PJSUA_INVALID_ID) - { - pjsua_conf_disconnect(app_config.ringback_slot, 0); - pjmedia_tonegen_rewind(app_config.ringback_port); - } - } - - if (app_config.call_data[call_id].ring_on) { - app_config.call_data[call_id].ring_on = PJ_FALSE; - - pj_assert(app_config.ring_cnt>0); - if (--app_config.ring_cnt == 0 && - app_config.ring_slot!=PJSUA_INVALID_ID) - { - pjsua_conf_disconnect(app_config.ring_slot, 0); - pjmedia_tonegen_rewind(app_config.ring_port); - } - } -} - -static void ring_start(pjsua_call_id call_id) -{ - if (app_config.no_tones) - return; - - if (app_config.call_data[call_id].ring_on) - return; - - app_config.call_data[call_id].ring_on = PJ_TRUE; - - if (++app_config.ring_cnt==1 && - app_config.ring_slot!=PJSUA_INVALID_ID) - { - pjsua_conf_connect(app_config.ring_slot, 0); - } -} - -#ifdef HAVE_MULTIPART_TEST - /* - * Enable multipart in msg_data and add a dummy body into the - * multipart bodies. - */ - static void add_multipart(pjsua_msg_data *msg_data) - { - static pjsip_multipart_part *alt_part; - - if (!alt_part) { - pj_str_t type, subtype, content; - - alt_part = pjsip_multipart_create_part(app_config.pool); - - type = pj_str("text"); - subtype = pj_str("plain"); - content = pj_str("Sample text body of a multipart bodies"); - alt_part->body = pjsip_msg_body_create(app_config.pool, &type, - &subtype, &content); - } - - msg_data->multipart_ctype.type = pj_str("multipart"); - msg_data->multipart_ctype.subtype = pj_str("mixed"); - pj_list_push_back(&msg_data->multipart_parts, alt_part); - } -# define TEST_MULTIPART(msg_data) add_multipart(msg_data) -#else -# define TEST_MULTIPART(msg_data) -#endif - -/* - * Find next call when current call is disconnected or when user - * press ']' - */ -static pj_bool_t find_next_call(void) -{ - int i, max; - - max = pjsua_call_get_max_count(); - for (i=current_call+1; i=0; --i) { - if (pjsua_call_is_active(i)) { - current_call = i; - return PJ_TRUE; - } - } - - for (i=max-1; i>current_call; --i) { - if (pjsua_call_is_active(i)) { - current_call = i; - return PJ_TRUE; - } - } - - current_call = PJSUA_INVALID_ID; - return PJ_FALSE; -} - - -/* Callback from timer when the maximum call duration has been - * exceeded. - */ -static void call_timeout_callback(pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry) -{ - pjsua_call_id call_id = entry->id; - pjsua_msg_data msg_data; - pjsip_generic_string_hdr warn; - pj_str_t hname = pj_str("Warning"); - pj_str_t hvalue = pj_str("399 pjsua \"Call duration exceeded\""); - - PJ_UNUSED_ARG(timer_heap); - - if (call_id == PJSUA_INVALID_ID) { - PJ_LOG(1,(THIS_FILE, "Invalid call ID in timer callback")); - return; - } - - /* Add warning header */ - pjsua_msg_data_init(&msg_data); - pjsip_generic_string_hdr_init2(&warn, &hname, &hvalue); - pj_list_push_back(&msg_data.hdr_list, &warn); - - /* Call duration has been exceeded; disconnect the call */ - PJ_LOG(3,(THIS_FILE, "Duration (%d seconds) has been exceeded " - "for call %d, disconnecting the call", - app_config.duration, call_id)); - entry->id = PJSUA_INVALID_ID; - pjsua_call_hangup(call_id, 200, NULL, &msg_data); -} - - -/* - * Handler when invite state has changed. - */ -static void on_call_state(pjsua_call_id call_id, pjsip_event *e) -{ - pjsua_call_info call_info; - - PJ_UNUSED_ARG(e); - - pjsua_call_get_info(call_id, &call_info); - - if (call_info.state == PJSIP_INV_STATE_DISCONNECTED) { - - /* Stop all ringback for this call */ - ring_stop(call_id); - - /* Cancel duration timer, if any */ - if (app_config.call_data[call_id].timer.id != PJSUA_INVALID_ID) { - struct call_data *cd = &app_config.call_data[call_id]; - pjsip_endpoint *endpt = pjsua_get_pjsip_endpt(); - - cd->timer.id = PJSUA_INVALID_ID; - pjsip_endpt_cancel_timer(endpt, &cd->timer); - } - - /* Rewind play file when hangup automatically, - * since file is not looped - */ - if (app_config.auto_play_hangup) - pjsua_player_set_pos(app_config.wav_id, 0); - - - PJ_LOG(3,(THIS_FILE, "Call %d is DISCONNECTED [reason=%d (%s)]", - call_id, - call_info.last_status, - call_info.last_status_text.ptr)); - - if (call_id == current_call) { - find_next_call(); - } - - /* Dump media state upon disconnected */ - if (1) { - PJ_LOG(5,(THIS_FILE, - "Call %d disconnected, dumping media stats..", - call_id)); - log_call_dump(call_id); - } - - } else { - - if (app_config.duration!=NO_LIMIT && - call_info.state == PJSIP_INV_STATE_CONFIRMED) - { - /* Schedule timer to hangup call after the specified duration */ - struct call_data *cd = &app_config.call_data[call_id]; - pjsip_endpoint *endpt = pjsua_get_pjsip_endpt(); - pj_time_val delay; - - cd->timer.id = call_id; - delay.sec = app_config.duration; - delay.msec = 0; - pjsip_endpt_schedule_timer(endpt, &cd->timer, &delay); - } - - if (call_info.state == PJSIP_INV_STATE_EARLY) { - int code; - pj_str_t reason; - pjsip_msg *msg; - - /* This can only occur because of TX or RX message */ - pj_assert(e->type == PJSIP_EVENT_TSX_STATE); - - if (e->body.tsx_state.type == PJSIP_EVENT_RX_MSG) { - msg = e->body.tsx_state.src.rdata->msg_info.msg; - } else { - msg = e->body.tsx_state.src.tdata->msg; - } - - code = msg->line.status.code; - reason = msg->line.status.reason; - - /* Start ringback for 180 for UAC unless there's SDP in 180 */ - if (call_info.role==PJSIP_ROLE_UAC && code==180 && - msg->body == NULL && - call_info.media_status==PJSUA_CALL_MEDIA_NONE) - { - ringback_start(call_id); - } - - PJ_LOG(3,(THIS_FILE, "Call %d state changed to %s (%d %.*s)", - call_id, call_info.state_text.ptr, - code, (int)reason.slen, reason.ptr)); - } else { - PJ_LOG(3,(THIS_FILE, "Call %d state changed to %s", - call_id, - call_info.state_text.ptr)); - } - - if (current_call==PJSUA_INVALID_ID) - current_call = call_id; - - } -} - - -/** - * Handler when there is incoming call. - */ -static void on_incoming_call(pjsua_acc_id acc_id, pjsua_call_id call_id, - pjsip_rx_data *rdata) -{ - pjsua_call_info call_info; - - PJ_UNUSED_ARG(acc_id); - PJ_UNUSED_ARG(rdata); - - pjsua_call_get_info(call_id, &call_info); - - if (current_call==PJSUA_INVALID_ID) - current_call = call_id; - -#ifdef USE_GUI - if (!showNotification(call_id)) - return; -#endif - - /* Start ringback */ - ring_start(call_id); - - if (app_config.auto_answer > 0) { - pjsua_call_setting call_opt; - - pjsua_call_setting_default(&call_opt); - call_opt.aud_cnt = app_config.aud_cnt; - call_opt.vid_cnt = app_config.vid.vid_cnt; - - pjsua_call_answer2(call_id, &call_opt, app_config.auto_answer, NULL, NULL); - } - - if (app_config.auto_answer < 200) { - char notif_st[80] = {0}; - -#if PJSUA_HAS_VIDEO - if (call_info.rem_offerer && call_info.rem_vid_cnt) { - snprintf(notif_st, sizeof(notif_st), - "To %s the video, type \"vid %s\" first, " - "before answering the call!\n", - (app_config.vid.vid_cnt? "reject":"accept"), - (app_config.vid.vid_cnt? "disable":"enable")); - } -#endif - - PJ_LOG(3,(THIS_FILE, - "Incoming call for account %d!\n" - "Media count: %d audio & %d video\n" - "%s" - "From: %s\n" - "To: %s\n" - "Press a to answer or h to reject call", - acc_id, - call_info.rem_aud_cnt, - call_info.rem_vid_cnt, - notif_st, - call_info.remote_info.ptr, - call_info.local_info.ptr)); - } -} - - -/* - * Handler when a transaction within a call has changed state. - */ -static void on_call_tsx_state(pjsua_call_id call_id, - pjsip_transaction *tsx, - pjsip_event *e) -{ - const pjsip_method info_method = - { - PJSIP_OTHER_METHOD, - { "INFO", 4 } - }; - - if (pjsip_method_cmp(&tsx->method, &info_method)==0) { - /* - * Handle INFO method. - */ - const pj_str_t STR_APPLICATION = { "application", 11}; - const pj_str_t STR_DTMF_RELAY = { "dtmf-relay", 10 }; - pjsip_msg_body *body = NULL; - pj_bool_t dtmf_info = PJ_FALSE; - - if (tsx->role == PJSIP_ROLE_UAC) { - if (e->body.tsx_state.type == PJSIP_EVENT_TX_MSG) - body = e->body.tsx_state.src.tdata->msg->body; - else - body = e->body.tsx_state.tsx->last_tx->msg->body; - } else { - if (e->body.tsx_state.type == PJSIP_EVENT_RX_MSG) - body = e->body.tsx_state.src.rdata->msg_info.msg->body; - } - - /* Check DTMF content in the INFO message */ - if (body && body->len && - pj_stricmp(&body->content_type.type, &STR_APPLICATION)==0 && - pj_stricmp(&body->content_type.subtype, &STR_DTMF_RELAY)==0) - { - dtmf_info = PJ_TRUE; - } - - if (dtmf_info && tsx->role == PJSIP_ROLE_UAC && - (tsx->state == PJSIP_TSX_STATE_COMPLETED || - (tsx->state == PJSIP_TSX_STATE_TERMINATED && - e->body.tsx_state.prev_state != PJSIP_TSX_STATE_COMPLETED))) - { - /* Status of outgoing INFO request */ - if (tsx->status_code >= 200 && tsx->status_code < 300) { - PJ_LOG(4,(THIS_FILE, - "Call %d: DTMF sent successfully with INFO", - call_id)); - } else if (tsx->status_code >= 300) { - PJ_LOG(4,(THIS_FILE, - "Call %d: Failed to send DTMF with INFO: %d/%.*s", - call_id, - tsx->status_code, - (int)tsx->status_text.slen, - tsx->status_text.ptr)); - } - } else if (dtmf_info && tsx->role == PJSIP_ROLE_UAS && - tsx->state == PJSIP_TSX_STATE_TRYING) - { - /* Answer incoming INFO with 200/OK */ - pjsip_rx_data *rdata; - pjsip_tx_data *tdata; - pj_status_t status; - - rdata = e->body.tsx_state.src.rdata; - - if (rdata->msg_info.msg->body) { - status = pjsip_endpt_create_response(tsx->endpt, rdata, - 200, NULL, &tdata); - if (status == PJ_SUCCESS) - status = pjsip_tsx_send_msg(tsx, tdata); - - PJ_LOG(3,(THIS_FILE, "Call %d: incoming INFO:\n%.*s", - call_id, - (int)rdata->msg_info.msg->body->len, - rdata->msg_info.msg->body->data)); - } else { - status = pjsip_endpt_create_response(tsx->endpt, rdata, - 400, NULL, &tdata); - if (status == PJ_SUCCESS) - status = pjsip_tsx_send_msg(tsx, tdata); - } - } - } -} - -/* General processing for media state. "mi" is the media index */ -static void on_call_generic_media_state(pjsua_call_info *ci, unsigned mi, - pj_bool_t *has_error) -{ - const char *status_name[] = { - "None", - "Active", - "Local hold", - "Remote hold", - "Error" - }; - - PJ_UNUSED_ARG(has_error); - - pj_assert(ci->media[mi].status <= PJ_ARRAY_SIZE(status_name)); - pj_assert(PJSUA_CALL_MEDIA_ERROR == 4); - - PJ_LOG(4,(THIS_FILE, "Call %d media %d [type=%s], status is %s", - ci->id, mi, pjmedia_type_name(ci->media[mi].type), - status_name[ci->media[mi].status])); -} - -/* Process audio media state. "mi" is the media index. */ -static void on_call_audio_state(pjsua_call_info *ci, unsigned mi, - pj_bool_t *has_error) -{ - PJ_UNUSED_ARG(has_error); - - /* Stop ringback */ - ring_stop(ci->id); - - /* Connect ports appropriately when media status is ACTIVE or REMOTE HOLD, - * otherwise we should NOT connect the ports. - */ - if (ci->media[mi].status == PJSUA_CALL_MEDIA_ACTIVE || - ci->media[mi].status == PJSUA_CALL_MEDIA_REMOTE_HOLD) - { - pj_bool_t connect_sound = PJ_TRUE; - pj_bool_t disconnect_mic = PJ_FALSE; - pjsua_conf_port_id call_conf_slot; - - call_conf_slot = ci->media[mi].stream.aud.conf_slot; - - /* Loopback sound, if desired */ - if (app_config.auto_loop) { - pjsua_conf_connect(call_conf_slot, call_conf_slot); - connect_sound = PJ_FALSE; - } - - /* Automatically record conversation, if desired */ - if (app_config.auto_rec && app_config.rec_port != PJSUA_INVALID_ID) { - pjsua_conf_connect(call_conf_slot, app_config.rec_port); - } - - /* Stream a file, if desired */ - if ((app_config.auto_play || app_config.auto_play_hangup) && - app_config.wav_port != PJSUA_INVALID_ID) - { - pjsua_conf_connect(app_config.wav_port, call_conf_slot); - connect_sound = PJ_FALSE; - } - - /* Stream AVI, if desired */ - if (app_config.avi_auto_play && - app_config.avi_def_idx != PJSUA_INVALID_ID && - app_config.avi[app_config.avi_def_idx].slot != PJSUA_INVALID_ID) - { - pjsua_conf_connect(app_config.avi[app_config.avi_def_idx].slot, - call_conf_slot); - disconnect_mic = PJ_TRUE; - } - - /* Put call in conference with other calls, if desired */ - if (app_config.auto_conf) { - pjsua_call_id call_ids[PJSUA_MAX_CALLS]; - unsigned call_cnt=PJ_ARRAY_SIZE(call_ids); - unsigned i; - - /* Get all calls, and establish media connection between - * this call and other calls. - */ - pjsua_enum_calls(call_ids, &call_cnt); - - for (i=0; iid) - continue; - - if (!pjsua_call_has_media(call_ids[i])) - continue; - - pjsua_conf_connect(call_conf_slot, - pjsua_call_get_conf_port(call_ids[i])); - pjsua_conf_connect(pjsua_call_get_conf_port(call_ids[i]), - call_conf_slot); - - /* Automatically record conversation, if desired */ - if (app_config.auto_rec && app_config.rec_port != PJSUA_INVALID_ID) { - pjsua_conf_connect(pjsua_call_get_conf_port(call_ids[i]), - app_config.rec_port); - } - - } - - /* Also connect call to local sound device */ - connect_sound = PJ_TRUE; - } - - /* Otherwise connect to sound device */ - if (connect_sound) { - pjsua_conf_connect(call_conf_slot, 0); - if (!disconnect_mic) - pjsua_conf_connect(0, call_conf_slot); - - /* Automatically record conversation, if desired */ - if (app_config.auto_rec && app_config.rec_port != PJSUA_INVALID_ID) { - pjsua_conf_connect(call_conf_slot, app_config.rec_port); - pjsua_conf_connect(0, app_config.rec_port); - } - } - } -} - -/* arrange windows. arg: - * -1: arrange all windows - * != -1: arrange only this window id - */ -static void arrange_window(pjsua_vid_win_id wid) -{ -#if PJSUA_HAS_VIDEO - pjmedia_coord pos; - int i, last; - - pos.x = 0; - pos.y = 10; - last = (wid == PJSUA_INVALID_ID) ? PJSUA_MAX_VID_WINS : wid; - - for (i=0; imedia_status != PJSUA_CALL_MEDIA_ACTIVE) - return; - - arrange_window(ci->media[mi].stream.vid.win_in); - - PJ_UNUSED_ARG(has_error); -} - -/* - * Callback on media state changed event. - * The action may connect the call to sound device, to file, or - * to loop the call. - */ -static void on_call_media_state(pjsua_call_id call_id) -{ - pjsua_call_info call_info; - unsigned mi; - pj_bool_t has_error = PJ_FALSE; - - pjsua_call_get_info(call_id, &call_info); - - for (mi=0; mitype == PJSIP_EVENT_TSX_STATE && - event->body.tsx_state.type == PJSIP_EVENT_RX_MSG) - { - pjsip_rx_data *rdata = event->body.tsx_state.src.rdata; - snprintf(event_info, sizeof(event_info), - " (RX %s)", - pjsip_rx_data_get_info(rdata)); - } - - PJ_LOG(4,(THIS_FILE, - "Buddy %d: subscription state: %s (event: %s%s)", - buddy_id, pjsip_evsub_get_state_name(sub), - pjsip_event_str(event->type), - event_info)); - -} - - -/** - * Incoming IM message (i.e. MESSAGE request)! - */ -static void on_pager(pjsua_call_id call_id, const pj_str_t *from, - const pj_str_t *to, const pj_str_t *contact, - const pj_str_t *mime_type, const pj_str_t *text) -{ - /* Note: call index may be -1 */ - PJ_UNUSED_ARG(call_id); - PJ_UNUSED_ARG(to); - PJ_UNUSED_ARG(contact); - PJ_UNUSED_ARG(mime_type); - - PJ_LOG(3,(THIS_FILE,"MESSAGE from %.*s: %.*s (%.*s)", - (int)from->slen, from->ptr, - (int)text->slen, text->ptr, - (int)mime_type->slen, mime_type->ptr)); -} - - -/** - * Received typing indication - */ -static void on_typing(pjsua_call_id call_id, const pj_str_t *from, - const pj_str_t *to, const pj_str_t *contact, - pj_bool_t is_typing) -{ - PJ_UNUSED_ARG(call_id); - PJ_UNUSED_ARG(to); - PJ_UNUSED_ARG(contact); - - PJ_LOG(3,(THIS_FILE, "IM indication: %.*s %s", - (int)from->slen, from->ptr, - (is_typing?"is typing..":"has stopped typing"))); -} - - -/** - * Call transfer request status. - */ -static void on_call_transfer_status(pjsua_call_id call_id, - int status_code, - const pj_str_t *status_text, - pj_bool_t final, - pj_bool_t *p_cont) -{ - PJ_LOG(3,(THIS_FILE, "Call %d: transfer status=%d (%.*s) %s", - call_id, status_code, - (int)status_text->slen, status_text->ptr, - (final ? "[final]" : ""))); - - if (status_code/100 == 2) { - PJ_LOG(3,(THIS_FILE, - "Call %d: call transfered successfully, disconnecting call", - call_id)); - pjsua_call_hangup(call_id, PJSIP_SC_GONE, NULL, NULL); - *p_cont = PJ_FALSE; - } -} - - -/* - * Notification that call is being replaced. - */ -static void on_call_replaced(pjsua_call_id old_call_id, - pjsua_call_id new_call_id) -{ - pjsua_call_info old_ci, new_ci; - - pjsua_call_get_info(old_call_id, &old_ci); - pjsua_call_get_info(new_call_id, &new_ci); - - PJ_LOG(3,(THIS_FILE, "Call %d with %.*s is being replaced by " - "call %d with %.*s", - old_call_id, - (int)old_ci.remote_info.slen, old_ci.remote_info.ptr, - new_call_id, - (int)new_ci.remote_info.slen, new_ci.remote_info.ptr)); -} - - -/* - * NAT type detection callback. - */ -static void on_nat_detect(const pj_stun_nat_detect_result *res) -{ - if (res->status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "NAT detection failed", res->status); - } else { - PJ_LOG(3, (THIS_FILE, "NAT detected as %s", res->nat_type_name)); - } -} - - -/* - * MWI indication - */ -static void on_mwi_info(pjsua_acc_id acc_id, pjsua_mwi_info *mwi_info) -{ - pj_str_t body; - - PJ_LOG(3,(THIS_FILE, "Received MWI for acc %d:", acc_id)); - - if (mwi_info->rdata->msg_info.ctype) { - const pjsip_ctype_hdr *ctype = mwi_info->rdata->msg_info.ctype; - - PJ_LOG(3,(THIS_FILE, " Content-Type: %.*s/%.*s", - (int)ctype->media.type.slen, - ctype->media.type.ptr, - (int)ctype->media.subtype.slen, - ctype->media.subtype.ptr)); - } - - if (!mwi_info->rdata->msg_info.msg->body) { - PJ_LOG(3,(THIS_FILE, " no message body")); - return; - } - - body.ptr = mwi_info->rdata->msg_info.msg->body->data; - body.slen = mwi_info->rdata->msg_info.msg->body->len; - - PJ_LOG(3,(THIS_FILE, " Body:\n%.*s", (int)body.slen, body.ptr)); -} - - -/* - * Transport status notification - */ -static void on_transport_state(pjsip_transport *tp, - pjsip_transport_state state, - const pjsip_transport_state_info *info) -{ - char host_port[128]; - - pj_ansi_snprintf(host_port, sizeof(host_port), "[%.*s:%d]", - (int)tp->remote_name.host.slen, - tp->remote_name.host.ptr, - tp->remote_name.port); - - switch (state) { - case PJSIP_TP_STATE_CONNECTED: - { - PJ_LOG(3,(THIS_FILE, "SIP %s transport is connected to %s", - tp->type_name, host_port)); - } - break; - - case PJSIP_TP_STATE_DISCONNECTED: - { - char buf[100]; - - snprintf(buf, sizeof(buf), "SIP %s transport is disconnected from %s", - tp->type_name, host_port); - pjsua_perror(THIS_FILE, buf, info->status); - } - break; - - default: - break; - } - -#if defined(PJSIP_HAS_TLS_TRANSPORT) && PJSIP_HAS_TLS_TRANSPORT!=0 - - if (!pj_ansi_stricmp(tp->type_name, "tls") && info->ext_info && - (state == PJSIP_TP_STATE_CONNECTED || - ((pjsip_tls_state_info*)info->ext_info)-> - ssl_sock_info->verify_status != PJ_SUCCESS)) - { - pjsip_tls_state_info *tls_info = (pjsip_tls_state_info*)info->ext_info; - pj_ssl_sock_info *ssl_sock_info = tls_info->ssl_sock_info; - char buf[2048]; - const char *verif_msgs[32]; - unsigned verif_msg_cnt; - - /* Dump server TLS cipher */ - PJ_LOG(4,(THIS_FILE, "TLS cipher used: 0x%06X/%s", - ssl_sock_info->cipher, - pj_ssl_cipher_name(ssl_sock_info->cipher) )); - - /* Dump server TLS certificate */ - pj_ssl_cert_info_dump(ssl_sock_info->remote_cert_info, " ", - buf, sizeof(buf)); - PJ_LOG(4,(THIS_FILE, "TLS cert info of %s:\n%s", host_port, buf)); - - /* Dump server TLS certificate verification result */ - verif_msg_cnt = PJ_ARRAY_SIZE(verif_msgs); - pj_ssl_cert_get_verify_status_strings(ssl_sock_info->verify_status, - verif_msgs, &verif_msg_cnt); - PJ_LOG(3,(THIS_FILE, "TLS cert verification result of %s : %s", - host_port, - (verif_msg_cnt == 1? verif_msgs[0]:""))); - if (verif_msg_cnt > 1) { - unsigned i; - for (i = 0; i < verif_msg_cnt; ++i) - PJ_LOG(3,(THIS_FILE, "- %s", verif_msgs[i])); - } - - if (ssl_sock_info->verify_status && - !app_config.udp_cfg.tls_setting.verify_server) - { - PJ_LOG(3,(THIS_FILE, "PJSUA is configured to ignore TLS cert " - "verification errors")); - } - } - -#endif - -} - -/* - * Notification on ICE error. - */ -static void on_ice_transport_error(int index, pj_ice_strans_op op, - pj_status_t status, void *param) -{ - PJ_UNUSED_ARG(op); - PJ_UNUSED_ARG(param); - PJ_PERROR(1,(THIS_FILE, status, - "ICE keep alive failure for transport %d", index)); -} - -/* - * Notification on sound device operation. - */ -static pj_status_t on_snd_dev_operation(int operation) -{ - PJ_LOG(3,(THIS_FILE, "Turning sound device %s", (operation? "ON":"OFF"))); - return PJ_SUCCESS; -} - -/* Callback on media events */ -static void on_call_media_event(pjsua_call_id call_id, - unsigned med_idx, - pjmedia_event *event) -{ - char event_name[5]; - - PJ_LOG(5,(THIS_FILE, "Event %s", - pjmedia_fourcc_name(event->type, event_name))); - -#if PJSUA_HAS_VIDEO - if (event->type == PJMEDIA_EVENT_FMT_CHANGED) { - /* Adjust renderer window size to original video size */ - pjsua_call_info ci; - pjsua_vid_win_id wid; - pjmedia_rect_size size; - - pjsua_call_get_info(call_id, &ci); - - if ((ci.media[med_idx].type == PJMEDIA_TYPE_VIDEO) && - (ci.media[med_idx].dir & PJMEDIA_DIR_DECODING)) - { - wid = ci.media[med_idx].stream.vid.win_in; - size = event->data.fmt_changed.new_fmt.det.vid.size; - pjsua_vid_win_set_size(wid, &size); - } - - /* Re-arrange video windows */ - arrange_window(PJSUA_INVALID_ID); - } -#else - PJ_UNUSED_ARG(call_id); - PJ_UNUSED_ARG(med_idx); - PJ_UNUSED_ARG(event); -#endif -} - -#ifdef TRANSPORT_ADAPTER_SAMPLE -/* - * This callback is called when media transport needs to be created. - */ -static pjmedia_transport* on_create_media_transport(pjsua_call_id call_id, - unsigned media_idx, - pjmedia_transport *base_tp, - unsigned flags) -{ - pjmedia_transport *adapter; - pj_status_t status; - - /* Create the adapter */ - status = pjmedia_tp_adapter_create(pjsua_get_pjmedia_endpt(), - NULL, base_tp, - (flags & PJSUA_MED_TP_CLOSE_MEMBER), - &adapter); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, "Error creating adapter")); - return NULL; - } - - PJ_LOG(3,(THIS_FILE, "Media transport is created for call %d media %d", - call_id, media_idx)); - - return adapter; -} -#endif - -/* - * Print buddy list. - */ -static void print_buddy_list(void) -{ - pjsua_buddy_id ids[64]; - int i; - unsigned count = PJ_ARRAY_SIZE(ids); - - puts("Buddy list:"); - - pjsua_enum_buddies(ids, &count); - - if (count == 0) - puts(" -none-"); - else { - for (i=0; i<(int)count; ++i) { - pjsua_buddy_info info; - - if (pjsua_buddy_get_info(ids[i], &info) != PJ_SUCCESS) - continue; - - printf(" [%2d] <%.*s> %.*s\n", - ids[i]+1, - (int)info.status_text.slen, - info.status_text.ptr, - (int)info.uri.slen, - info.uri.ptr); - } - } - puts(""); -} - - -/* - * Print account status. - */ -static void print_acc_status(int acc_id) -{ - char buf[80]; - pjsua_acc_info info; - - pjsua_acc_get_info(acc_id, &info); - - if (!info.has_registration) { - pj_ansi_snprintf(buf, sizeof(buf), "%.*s", - (int)info.status_text.slen, - info.status_text.ptr); - - } else { - pj_ansi_snprintf(buf, sizeof(buf), - "%d/%.*s (expires=%d)", - info.status, - (int)info.status_text.slen, - info.status_text.ptr, - info.expires); - - } - - printf(" %c[%2d] %.*s: %s\n", (acc_id==current_acc?'*':' '), - acc_id, (int)info.acc_uri.slen, info.acc_uri.ptr, buf); - printf(" Online status: %.*s\n", - (int)info.online_status_text.slen, - info.online_status_text.ptr); -} - -/* Playfile done notification, set timer to hangup calls */ -pj_status_t on_playfile_done(pjmedia_port *port, void *usr_data) -{ - pj_time_val delay; - - PJ_UNUSED_ARG(port); - PJ_UNUSED_ARG(usr_data); - - /* Just rewind WAV when it is played outside of call */ - if (pjsua_call_get_count() == 0) { - pjsua_player_set_pos(app_config.wav_id, 0); - return PJ_SUCCESS; - } - - /* Timer is already active */ - if (app_config.auto_hangup_timer.id == 1) - return PJ_SUCCESS; - - app_config.auto_hangup_timer.id = 1; - delay.sec = 0; - delay.msec = 200; /* Give 200 ms before hangup */ - pjsip_endpt_schedule_timer(pjsua_get_pjsip_endpt(), - &app_config.auto_hangup_timer, - &delay); - - return PJ_SUCCESS; -} - -/* Auto hangup timer callback */ -static void hangup_timeout_callback(pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry) -{ - PJ_UNUSED_ARG(timer_heap); - PJ_UNUSED_ARG(entry); - - app_config.auto_hangup_timer.id = 0; - pjsua_call_hangup_all(); -} - -/* - * Show a bit of help. - */ -static void keystroke_help(void) -{ - pjsua_acc_id acc_ids[16]; - unsigned count = PJ_ARRAY_SIZE(acc_ids); - int i; - - printf(">>>>\n"); - - pjsua_enum_accs(acc_ids, &count); - - printf("Account list:\n"); - for (i=0; i<(int)count; ++i) - print_acc_status(acc_ids[i]); - - print_buddy_list(); - - //puts("Commands:"); - puts("+=============================================================================+"); - puts("| Call Commands: | Buddy, IM & Presence: | Account: |"); - puts("| | | |"); - puts("| m Make new call | +b Add new buddy .| +a Add new accnt |"); - puts("| M Make multiple calls | -b Delete buddy | -a Delete accnt. |"); - puts("| a Answer call | i Send IM | !a Modify accnt. |"); - puts("| h Hangup call (ha=all) | s Subscribe presence | rr (Re-)register |"); - puts("| H Hold call | u Unsubscribe presence | ru Unregister |"); - puts("| v re-inVite (release hold) | t ToGgle Online status | > Cycle next ac.|"); - puts("| U send UPDATE | T Set online status | < Cycle prev ac.|"); - puts("| ],[ Select next/prev call +--------------------------+-------------------+"); - puts("| x Xfer call | Media Commands: | Status & Config: |"); - puts("| X Xfer with Replaces | | |"); - puts("| # Send RFC 2833 DTMF | cl List ports | d Dump status |"); - puts("| * Send DTMF with INFO | cc Connect port | dd Dump detailed |"); - puts("| dq Dump curr. call quality | cd Disconnect port | dc Dump config |"); - puts("| | V Adjust audio Volume | f Save config |"); - puts("| S Send arbitrary REQUEST | Cp Codec priorities | |"); - puts("+-----------------------------------------------------------------------------+"); -#if PJSUA_HAS_VIDEO - puts("| Video: \"vid help\" for more info |"); - puts("+-----------------------------------------------------------------------------+"); -#endif - puts("| q QUIT L ReLoad sleep MS echo [0|1|txt] n: detect NAT type |"); - puts("+=============================================================================+"); - - i = pjsua_call_get_count(); - printf("You have %d active call%s\n", i, (i>1?"s":"")); - - if (current_call != PJSUA_INVALID_ID) { - pjsua_call_info ci; - if (pjsua_call_get_info(current_call, &ci)==PJ_SUCCESS) - printf("Current call id=%d to %.*s [%.*s]\n", current_call, - (int)ci.remote_info.slen, ci.remote_info.ptr, - (int)ci.state_text.slen, ci.state_text.ptr); - } -} - -/* Help screen for video */ -#if PJSUA_HAS_VIDEO -static void vid_show_help(void) -{ - pj_bool_t vid_enabled = (app_config.vid.vid_cnt > 0); - - puts("+=============================================================================+"); - puts("| Video commands: |"); - puts("| |"); - puts("| vid help Show this help screen |"); - puts("| vid enable|disable Enable or disable video in next offer/answer |"); - puts("| vid acc show Show current account video settings |"); - puts("| vid acc autorx on|off Automatically show incoming video on/off |"); - puts("| vid acc autotx on|off Automatically offer video on/off |"); - puts("| vid acc cap ID Set default capture device for current acc |"); - puts("| vid acc rend ID Set default renderer device for current acc |"); - puts("| vid call rx on|off N Enable/disable video RX for stream N in curr call |"); - puts("| vid call tx on|off N Enable/disable video TX for stream N in curr call |"); - puts("| vid call add Add video stream for current call |"); - puts("| vid call enable|disable N Enable/disable stream #N in current call |"); - puts("| vid call cap N ID Set capture dev ID for stream #N in current call |"); - puts("| vid dev list List all video devices |"); - puts("| vid dev refresh Refresh video device list |"); - puts("| vid dev prev on|off ID Enable/disable preview for specified device ID |"); - puts("| vid codec list List video codecs |"); - puts("| vid codec prio ID PRIO Set codec ID priority to PRIO |"); - puts("| vid codec fps ID NUM DEN Set codec ID framerate to (NUM/DEN) fps |"); - puts("| vid codec bw ID AVG MAX Set codec ID bitrate to AVG & MAX kbps |"); - puts("| vid codec size ID W H Set codec ID size/resolution to W x H |"); - puts("| vid win list List all active video windows |"); - puts("| vid win arrange Auto arrange windows |"); - puts("| vid win show|hide ID Show/hide the specified video window ID |"); - puts("| vid win move ID X Y Move window ID to position X,Y |"); - puts("| vid win resize ID w h Resize window ID to the specified width, height |"); - puts("+=============================================================================+"); - printf("| Video will be %s in the next offer/answer %s |\n", - (vid_enabled? "enabled" : "disabled"), (vid_enabled? " " : "")); - puts("+=============================================================================+"); -} -#endif - -/* - * Input simple string - */ -static pj_bool_t simple_input(const char *title, char *buf, pj_size_t len) -{ - char *p; - - printf("%s (empty to cancel): ", title); fflush(stdout); - if (fgets(buf, len, stdin) == NULL) - return PJ_FALSE; - - /* Remove trailing newlines. */ - for (p=buf; ; ++p) { - if (*p=='\r' || *p=='\n') *p='\0'; - else if (!*p) break; - } - - if (!*buf) - return PJ_FALSE; - - return PJ_TRUE; -} - - -#define NO_NB -2 -struct input_result -{ - int nb_result; - char *uri_result; -}; - - -/* - * Input URL. - */ -static void ui_input_url(const char *title, char *buf, int len, - struct input_result *result) -{ - result->nb_result = NO_NB; - result->uri_result = NULL; - - print_buddy_list(); - - printf("Choices:\n" - " 0 For current dialog.\n" - " -1 All %d buddies in buddy list\n" - " [1 -%2d] Select from buddy list\n" - " URL An URL\n" - " Empty input (or 'q') to cancel\n" - , pjsua_get_buddy_count(), pjsua_get_buddy_count()); - printf("%s: ", title); - - fflush(stdout); - if (fgets(buf, len, stdin) == NULL) - return; - len = strlen(buf); - - /* Left trim */ - while (pj_isspace(*buf)) { - ++buf; - --len; - } - - /* Remove trailing newlines */ - while (len && (buf[len-1] == '\r' || buf[len-1] == '\n')) - buf[--len] = '\0'; - - if (len == 0 || buf[0]=='q') - return; - - if (pj_isdigit(*buf) || *buf=='-') { - - int i; - - if (*buf=='-') - i = 1; - else - i = 0; - - for (; inb_result = my_atoi(buf); - - if (result->nb_result >= 0 && - result->nb_result <= (int)pjsua_get_buddy_count()) - { - return; - } - if (result->nb_result == -1) - return; - - puts("Invalid input"); - result->nb_result = NO_NB; - return; - - } else { - pj_status_t status; - - if ((status=pjsua_verify_url(buf)) != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Invalid URL", status); - return; - } - - result->uri_result = buf; - } -} - -/* - * List the ports in conference bridge - */ -static void conf_list(void) -{ - unsigned i, count; - pjsua_conf_port_id id[PJSUA_MAX_CALLS]; - - printf("Conference ports:\n"); - - count = PJ_ARRAY_SIZE(id); - pjsua_enum_conf_ports(id, &count); - - for (i=0; i= OPT_MAX) { - puts("Invalid selection"); - return; - } - - pj_bzero(&elem, sizeof(elem)); - elem.type = PJRPID_ELEMENT_TYPE_PERSON; - - online_status = PJ_TRUE; - - switch (choice) { - case AVAILABLE: - break; - case BUSY: - elem.activity = PJRPID_ACTIVITY_BUSY; - elem.note = pj_str("Busy"); - break; - case OTP: - elem.activity = PJRPID_ACTIVITY_BUSY; - elem.note = pj_str("On the phone"); - break; - case IDLE: - elem.activity = PJRPID_ACTIVITY_UNKNOWN; - elem.note = pj_str("Idle"); - break; - case AWAY: - elem.activity = PJRPID_ACTIVITY_AWAY; - elem.note = pj_str("Away"); - break; - case BRB: - elem.activity = PJRPID_ACTIVITY_UNKNOWN; - elem.note = pj_str("Be right back"); - break; - case OFFLINE: - online_status = PJ_FALSE; - break; - } - - pjsua_acc_set_online_status2(current_acc, online_status, &elem); -} - - -/* - * Change codec priorities. - */ -static void manage_codec_prio(void) -{ - pjsua_codec_info c[32]; - unsigned i, count = PJ_ARRAY_SIZE(c); - char input[32]; - char *codec, *prio; - pj_str_t id; - int new_prio; - pj_status_t status; - - printf("List of audio codecs:\n"); - pjsua_enum_codecs(c, &count); - for (i=0; i PJMEDIA_CODEC_PRIO_HIGHEST) - new_prio = PJMEDIA_CODEC_PRIO_HIGHEST; - - status = pjsua_codec_set_priority(pj_cstr(&id, codec), - (pj_uint8_t)new_prio); -#if PJSUA_HAS_VIDEO - if (status != PJ_SUCCESS) { - status = pjsua_vid_codec_set_priority(pj_cstr(&id, codec), - (pj_uint8_t)new_prio); - } -#endif - if (status != PJ_SUCCESS) - pjsua_perror(THIS_FILE, "Error setting codec priority", status); -} - - -#if PJSUA_HAS_VIDEO -static void vid_print_dev(int id, const pjmedia_vid_dev_info *vdi, - const char *title) -{ - char capnames[120]; - char formats[120]; - const char *dirname; - unsigned i; - - if (vdi->dir == PJMEDIA_DIR_CAPTURE_RENDER) { - dirname = "capture, render"; - } else if (vdi->dir == PJMEDIA_DIR_CAPTURE) { - dirname = "capture"; - } else { - dirname = "render"; - } - - - capnames[0] = '\0'; - for (i=0; icaps & (1 << i)) { - const char *capname = pjmedia_vid_dev_cap_name(1 << i, NULL); - if (capname) { - if (*capnames) - strcat(capnames, ", "); - strncat(capnames, capname, - sizeof(capnames)-strlen(capnames)-1); - } - } - } - - formats[0] = '\0'; - for (i=0; ifmt_cnt; ++i) { - const pjmedia_video_format_info *vfi = - pjmedia_get_video_format_info(NULL, vdi->fmt[i].id); - if (vfi) { - if (*formats) - strcat(formats, ", "); - strncat(formats, vfi->name, sizeof(formats)-strlen(formats)-1); - } - } - - PJ_LOG(3,(THIS_FILE, "%3d %s [%s][%s] %s", id, vdi->name, vdi->driver, - dirname, title)); - PJ_LOG(3,(THIS_FILE, " Supported capabilities: %s", capnames)); - PJ_LOG(3,(THIS_FILE, " Supported formats: %s", formats)); -} - -static void vid_list_devs(void) -{ - unsigned i, count; - pjmedia_vid_dev_info vdi; - pj_status_t status; - - PJ_LOG(3,(THIS_FILE, "Video device list:")); - count = pjsua_vid_dev_count(); - if (count == 0) { - PJ_LOG(3,(THIS_FILE, " - no device detected -")); - return; - } else { - PJ_LOG(3,(THIS_FILE, "%d device(s) detected:", count)); - } - - status = pjsua_vid_dev_get_info(PJMEDIA_VID_DEFAULT_RENDER_DEV, &vdi); - if (status == PJ_SUCCESS) - vid_print_dev(PJMEDIA_VID_DEFAULT_RENDER_DEV, &vdi, - "(default renderer device)"); - - status = pjsua_vid_dev_get_info(PJMEDIA_VID_DEFAULT_CAPTURE_DEV, &vdi); - if (status == PJ_SUCCESS) - vid_print_dev(PJMEDIA_VID_DEFAULT_CAPTURE_DEV, &vdi, - "(default capture device)"); - - for (i=0; ivid_in_auto_show = app_config.vid.in_auto_show; - acc_cfg->vid_out_auto_transmit = app_config.vid.out_auto_transmit; - /* Note that normally GUI application will prefer a borderless - * window. - */ - acc_cfg->vid_wnd_flags = PJMEDIA_VID_DEV_WND_BORDER | - PJMEDIA_VID_DEV_WND_RESIZABLE; - acc_cfg->vid_cap_dev = app_config.vid.vcapture_dev; - acc_cfg->vid_rend_dev = app_config.vid.vrender_dev; - - if (app_config.avi_auto_play && - app_config.avi_def_idx != PJSUA_INVALID_ID && - app_config.avi[app_config.avi_def_idx].dev_id != PJMEDIA_VID_INVALID_DEV) - { - acc_cfg->vid_cap_dev = app_config.avi[app_config.avi_def_idx].dev_id; - } -} - -static void app_config_show_video(int acc_id, const pjsua_acc_config *acc_cfg) -{ - PJ_LOG(3,(THIS_FILE, - "Account %d:\n" - " RX auto show: %d\n" - " TX auto transmit: %d\n" - " Capture dev: %d\n" - " Render dev: %d", - acc_id, - acc_cfg->vid_in_auto_show, - acc_cfg->vid_out_auto_transmit, - acc_cfg->vid_cap_dev, - acc_cfg->vid_rend_dev)); -} - -static void vid_handle_menu(char *menuin) -{ - char *argv[8]; - int argc = 0; - - /* Tokenize */ - argv[argc] = strtok(menuin, " \t\r\n"); - while (argv[argc] && *argv[argc]) { - argc++; - argv[argc] = strtok(NULL, " \t\r\n"); - } - - if (argc == 1 || strcmp(argv[1], "help")==0) { - vid_show_help(); - } else if (argc == 2 && (strcmp(argv[1], "enable")==0 || - strcmp(argv[1], "disable")==0)) - { - pj_bool_t enabled = (strcmp(argv[1], "enable")==0); - app_config.vid.vid_cnt = (enabled ? 1 : 0); - PJ_LOG(3,(THIS_FILE, "Video will be %s in next offer/answer", - (enabled?"enabled":"disabled"))); - } else if (strcmp(argv[1], "acc")==0) { - pjsua_acc_config acc_cfg; - pj_bool_t changed = PJ_FALSE; - - pjsua_acc_get_config(current_acc, &acc_cfg); - - if (argc == 3 && strcmp(argv[2], "show")==0) { - app_config_show_video(current_acc, &acc_cfg); - } else if (argc == 4 && strcmp(argv[2], "autorx")==0) { - int on = (strcmp(argv[3], "on")==0); - acc_cfg.vid_in_auto_show = on; - changed = PJ_TRUE; - } else if (argc == 4 && strcmp(argv[2], "autotx")==0) { - int on = (strcmp(argv[3], "on")==0); - acc_cfg.vid_out_auto_transmit = on; - changed = PJ_TRUE; - } else if (argc == 4 && strcmp(argv[2], "cap")==0) { - int dev = atoi(argv[3]); - acc_cfg.vid_cap_dev = dev; - changed = PJ_TRUE; - } else if (argc == 4 && strcmp(argv[2], "rend")==0) { - int dev = atoi(argv[3]); - acc_cfg.vid_rend_dev = dev; - changed = PJ_TRUE; - } else { - goto on_error; - } - - if (changed) { - pj_status_t status = pjsua_acc_modify(current_acc, &acc_cfg); - if (status != PJ_SUCCESS) - PJ_PERROR(1,(THIS_FILE, status, "Error modifying account %d", - current_acc)); - } - - } else if (strcmp(argv[1], "call")==0) { - pjsua_call_vid_strm_op_param param; - pj_status_t status = PJ_SUCCESS; - - pjsua_call_vid_strm_op_param_default(¶m); - - if (argc == 5 && strcmp(argv[2], "rx")==0) { - pjsua_stream_info si; - pj_bool_t on = (strcmp(argv[3], "on") == 0); - - param.med_idx = atoi(argv[4]); - if (pjsua_call_get_stream_info(current_call, param.med_idx, &si) || - si.type != PJMEDIA_TYPE_VIDEO) - { - PJ_PERROR(1,(THIS_FILE, PJ_EINVAL, "Invalid stream")); - return; - } - - if (on) param.dir = (si.info.vid.dir | PJMEDIA_DIR_DECODING); - else param.dir = (si.info.vid.dir & PJMEDIA_DIR_ENCODING); - - status = pjsua_call_set_vid_strm(current_call, - PJSUA_CALL_VID_STRM_CHANGE_DIR, - ¶m); - } - else if (argc == 5 && strcmp(argv[2], "tx")==0) { - pj_bool_t on = (strcmp(argv[3], "on") == 0); - pjsua_call_vid_strm_op op = on? PJSUA_CALL_VID_STRM_START_TRANSMIT : - PJSUA_CALL_VID_STRM_STOP_TRANSMIT; - - param.med_idx = atoi(argv[4]); - - status = pjsua_call_set_vid_strm(current_call, op, ¶m); - } - else if (argc == 3 && strcmp(argv[2], "add")==0) { - status = pjsua_call_set_vid_strm(current_call, - PJSUA_CALL_VID_STRM_ADD, NULL); - } - else if (argc >= 3 && - (strcmp(argv[2], "disable")==0 || strcmp(argv[2], "enable")==0)) - { - pj_bool_t enable = (strcmp(argv[2], "enable") == 0); - pjsua_call_vid_strm_op op = enable? PJSUA_CALL_VID_STRM_CHANGE_DIR : - PJSUA_CALL_VID_STRM_REMOVE; - - param.med_idx = argc >= 4? atoi(argv[3]) : -1; - param.dir = PJMEDIA_DIR_ENCODING_DECODING; - status = pjsua_call_set_vid_strm(current_call, op, ¶m); - } - else if (argc >= 3 && strcmp(argv[2], "cap")==0) { - param.med_idx = argc >= 4? atoi(argv[3]) : -1; - param.cap_dev = argc >= 5? atoi(argv[4]) : PJMEDIA_VID_DEFAULT_CAPTURE_DEV; - status = pjsua_call_set_vid_strm(current_call, - PJSUA_CALL_VID_STRM_CHANGE_CAP_DEV, - ¶m); - } else - goto on_error; - - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, "Error modifying video stream")); - } - - } else if (argc >= 3 && strcmp(argv[1], "dev")==0) { - if (strcmp(argv[2], "list")==0) { - vid_list_devs(); - } else if (strcmp(argv[2], "refresh")==0) { - pjmedia_vid_dev_refresh(); - } else if (strcmp(argv[2], "prev")==0) { - if (argc != 5) { - goto on_error; - } else { - pj_bool_t on = (strcmp(argv[3], "on") == 0); - int dev_id = atoi(argv[4]); - if (on) { - pjsua_vid_preview_param param; - - pjsua_vid_preview_param_default(¶m); - param.wnd_flags = PJMEDIA_VID_DEV_WND_BORDER | - PJMEDIA_VID_DEV_WND_RESIZABLE; - pjsua_vid_preview_start(dev_id, ¶m); - arrange_window(pjsua_vid_preview_get_win(dev_id)); - } else { - pjsua_vid_win_id wid; - wid = pjsua_vid_preview_get_win(dev_id); - if (wid != PJSUA_INVALID_ID) { - /* Preview window hiding once it is stopped is - * responsibility of app */ - pjsua_vid_win_set_show(wid, PJ_FALSE); - pjsua_vid_preview_stop(dev_id); - } - } - } - } else - goto on_error; - } else if (strcmp(argv[1], "win")==0) { - pj_status_t status = PJ_SUCCESS; - - if (argc==3 && strcmp(argv[2], "list")==0) { - pjsua_vid_win_id wids[PJSUA_MAX_VID_WINS]; - unsigned i, cnt = PJ_ARRAY_SIZE(wids); - - pjsua_vid_enum_wins(wids, &cnt); - - PJ_LOG(3,(THIS_FILE, "Found %d video windows:", cnt)); - PJ_LOG(3,(THIS_FILE, "WID show pos size")); - PJ_LOG(3,(THIS_FILE, "------------------------------")); - for (i = 0; i < cnt; ++i) { - pjsua_vid_win_info wi; - pjsua_vid_win_get_info(wids[i], &wi); - PJ_LOG(3,(THIS_FILE, "%3d %c (%d,%d) %dx%d", - wids[i], (wi.show?'Y':'N'), wi.pos.x, wi.pos.y, - wi.size.w, wi.size.h)); - } - } else if (argc==4 && (strcmp(argv[2], "show")==0 || - strcmp(argv[2], "hide")==0)) - { - pj_bool_t show = (strcmp(argv[2], "show")==0); - pjsua_vid_win_id wid = atoi(argv[3]); - status = pjsua_vid_win_set_show(wid, show); - } else if (argc==6 && strcmp(argv[2], "move")==0) { - pjsua_vid_win_id wid = atoi(argv[3]); - pjmedia_coord pos; - - pos.x = atoi(argv[4]); - pos.y = atoi(argv[5]); - status = pjsua_vid_win_set_pos(wid, &pos); - } else if (argc==6 && strcmp(argv[2], "resize")==0) { - pjsua_vid_win_id wid = atoi(argv[3]); - pjmedia_rect_size size; - - size.w = atoi(argv[4]); - size.h = atoi(argv[5]); - status = pjsua_vid_win_set_size(wid, &size); - } else if (argc==3 && strcmp(argv[2], "arrange")==0) { - arrange_window(PJSUA_INVALID_ID); - } else - goto on_error; - - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, "Window operation error")); - } - - } else if (strcmp(argv[1], "codec")==0) { - pjsua_codec_info ci[PJMEDIA_CODEC_MGR_MAX_CODECS]; - unsigned count = PJ_ARRAY_SIZE(ci); - pj_status_t status; - - if (argc==3 && strcmp(argv[2], "list")==0) { - status = pjsua_vid_enum_codecs(ci, &count); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, "Error enumerating codecs")); - } else { - unsigned i; - PJ_LOG(3,(THIS_FILE, "Found %d video codecs:", count)); - PJ_LOG(3,(THIS_FILE, "codec id prio fps bw(kbps) size")); - PJ_LOG(3,(THIS_FILE, "------------------------------------------")); - for (i=0; ifps.num*1.0/vfd->fps.denum), - vfd->avg_bps/1000, vfd->max_bps/1000, - vfd->size.w, vfd->size.h)); - } - } - } else if (argc==5 && strcmp(argv[2], "prio")==0) { - pj_str_t cid; - int prio; - cid = pj_str(argv[3]); - prio = atoi(argv[4]); - status = pjsua_vid_codec_set_priority(&cid, (pj_uint8_t)prio); - if (status != PJ_SUCCESS) - PJ_PERROR(1,(THIS_FILE, status, "Set codec priority error")); - } else if (argc==6 && strcmp(argv[2], "fps")==0) { - pjmedia_vid_codec_param cp; - pj_str_t cid; - int M, N; - cid = pj_str(argv[3]); - M = atoi(argv[4]); - N = atoi(argv[5]); - status = pjsua_vid_codec_get_param(&cid, &cp); - if (status == PJ_SUCCESS) { - cp.enc_fmt.det.vid.fps.num = M; - cp.enc_fmt.det.vid.fps.denum = N; - status = pjsua_vid_codec_set_param(&cid, &cp); - } - if (status != PJ_SUCCESS) - PJ_PERROR(1,(THIS_FILE, status, "Set codec framerate error")); - } else if (argc==6 && strcmp(argv[2], "bw")==0) { - pjmedia_vid_codec_param cp; - pj_str_t cid; - int M, N; - cid = pj_str(argv[3]); - M = atoi(argv[4]); - N = atoi(argv[5]); - status = pjsua_vid_codec_get_param(&cid, &cp); - if (status == PJ_SUCCESS) { - cp.enc_fmt.det.vid.avg_bps = M * 1000; - cp.enc_fmt.det.vid.max_bps = N * 1000; - status = pjsua_vid_codec_set_param(&cid, &cp); - } - if (status != PJ_SUCCESS) - PJ_PERROR(1,(THIS_FILE, status, "Set codec bitrate error")); - } else if (argc==6 && strcmp(argv[2], "size")==0) { - pjmedia_vid_codec_param cp; - pj_str_t cid; - int M, N; - cid = pj_str(argv[3]); - M = atoi(argv[4]); - N = atoi(argv[5]); - status = pjsua_vid_codec_get_param(&cid, &cp); - if (status == PJ_SUCCESS) { - cp.enc_fmt.det.vid.size.w = M; - cp.enc_fmt.det.vid.size.h = N; - status = pjsua_vid_codec_set_param(&cid, &cp); - } - if (status != PJ_SUCCESS) - PJ_PERROR(1,(THIS_FILE, status, "Set codec bitrate error")); - } else - goto on_error; - } else - goto on_error; - - return; - -on_error: - PJ_LOG(1,(THIS_FILE, "Invalid command, use 'vid help'")); -} - -#else - -static void app_config_init_video(pjsua_acc_config *acc_cfg) -{ - PJ_UNUSED_ARG(acc_cfg); -} - -#endif /* PJSUA_HAS_VIDEO */ - - -/* - * Main "user interface" loop. - */ -void console_app_main(const pj_str_t *uri_to_call) -{ - char menuin[32]; - char buf[128]; - char text[128]; - int i, count; - char *uri; - pj_str_t tmp; - struct input_result result; - pjsua_msg_data msg_data; - pjsua_call_info call_info; - pjsua_acc_info acc_info; - pjsua_call_setting call_opt; - - pjsua_call_setting_default(&call_opt); - call_opt.aud_cnt = app_config.aud_cnt; - call_opt.vid_cnt = app_config.vid.vid_cnt; - - /* If user specifies URI to call, then call the URI */ - if (uri_to_call->slen) { - pjsua_call_make_call( current_acc, uri_to_call, &call_opt, NULL, NULL, NULL); - } - - keystroke_help(); - - for (;;) { - - printf(">>> "); - fflush(stdout); - - if (fgets(menuin, sizeof(menuin), stdin) == NULL) { - /* - * Be friendly to users who redirect commands into - * program, when file ends, resume with kbd. - * If exit is desired end script with q for quit - */ - /* Reopen stdin/stdout/stderr to /dev/console */ -#if defined(PJ_WIN32) && PJ_WIN32!=0 - if (freopen ("CONIN$", "r", stdin) == NULL) { -#else - if (1) { -#endif - puts("Cannot switch back to console from file redirection"); - menuin[0] = 'q'; - menuin[1] = '\0'; - } else { - puts("Switched back to console from file redirection"); - continue; - } - } - - if (cmd_echo) { - printf("%s", menuin); - } - - /* Update call setting */ - pjsua_call_setting_default(&call_opt); - call_opt.aud_cnt = app_config.aud_cnt; - call_opt.vid_cnt = app_config.vid.vid_cnt; - - switch (menuin[0]) { - - case 'm': - /* Make call! : */ - printf("(You currently have %d calls)\n", - pjsua_call_get_count()); - - uri = NULL; - ui_input_url("Make call", buf, sizeof(buf), &result); - if (result.nb_result != NO_NB) { - - if (result.nb_result == -1 || result.nb_result == 0) { - puts("You can't do that with make call!"); - continue; - } else { - pjsua_buddy_info binfo; - pjsua_buddy_get_info(result.nb_result-1, &binfo); - tmp.ptr = buf; - pj_strncpy(&tmp, &binfo.uri, sizeof(buf)); - } - - } else if (result.uri_result) { - tmp = pj_str(result.uri_result); - } else { - tmp.slen = 0; - } - - pjsua_msg_data_init(&msg_data); - TEST_MULTIPART(&msg_data); - pjsua_call_make_call( current_acc, &tmp, &call_opt, NULL, &msg_data, NULL); - break; - - case 'M': - /* Make multiple calls! : */ - printf("(You currently have %d calls)\n", - pjsua_call_get_count()); - - if (!simple_input("Number of calls", menuin, sizeof(menuin))) - continue; - - count = my_atoi(menuin); - if (count < 1) - continue; - - ui_input_url("Make call", buf, sizeof(buf), &result); - if (result.nb_result != NO_NB) { - pjsua_buddy_info binfo; - if (result.nb_result == -1 || result.nb_result == 0) { - puts("You can't do that with make call!"); - continue; - } - pjsua_buddy_get_info(result.nb_result-1, &binfo); - tmp.ptr = buf; - pj_strncpy(&tmp, &binfo.uri, sizeof(buf)); - } else { - tmp = pj_str(result.uri_result); - } - - for (i=0; i= PJSIP_INV_STATE_CONNECTING) - { - puts("No pending incoming call"); - fflush(stdout); - continue; - - } else { - int st_code; - char contact[120]; - pj_str_t hname = { "Contact", 7 }; - pj_str_t hvalue; - pjsip_generic_string_hdr hcontact; - - if (!simple_input("Answer with code (100-699)", buf, sizeof(buf))) - continue; - - st_code = my_atoi(buf); - if (st_code < 100) - continue; - - pjsua_msg_data_init(&msg_data); - - if (st_code/100 == 3) { - if (!simple_input("Enter URL to be put in Contact", - contact, sizeof(contact))) - continue; - hvalue = pj_str(contact); - pjsip_generic_string_hdr_init2(&hcontact, &hname, &hvalue); - - pj_list_push_back(&msg_data.hdr_list, &hcontact); - } - - /* - * Must check again! - * Call may have been disconnected while we're waiting for - * keyboard input. - */ - if (current_call == -1) { - puts("Call has been disconnected"); - fflush(stdout); - continue; - } - - pjsua_call_answer2(current_call, &call_opt, st_code, NULL, &msg_data); - } - - break; - - - case 'h': - - if (current_call == -1) { - puts("No current call"); - fflush(stdout); - continue; - - } else if (menuin[1] == 'a') { - - /* Hangup all calls */ - pjsua_call_hangup_all(); - - } else { - - /* Hangup current calls */ - pjsua_call_hangup(current_call, 0, NULL, NULL); - } - break; - - case ']': - case '[': - /* - * Cycle next/prev dialog. - */ - if (menuin[0] == ']') { - find_next_call(); - - } else { - find_prev_call(); - } - - if (current_call != -1) { - - pjsua_call_get_info(current_call, &call_info); - PJ_LOG(3,(THIS_FILE,"Current dialog: %.*s", - (int)call_info.remote_info.slen, - call_info.remote_info.ptr)); - - } else { - PJ_LOG(3,(THIS_FILE,"No current dialog")); - } - break; - - - case '>': - case '<': - if (!simple_input("Enter account ID to select", buf, sizeof(buf))) - break; - - i = my_atoi(buf); - if (pjsua_acc_is_valid(i)) { - pjsua_acc_set_default(i); - PJ_LOG(3,(THIS_FILE, "Current account changed to %d", i)); - } else { - PJ_LOG(3,(THIS_FILE, "Invalid account id %d", i)); - } - break; - - - case '+': - if (menuin[1] == 'b') { - - pjsua_buddy_config buddy_cfg; - pjsua_buddy_id buddy_id; - pj_status_t status; - - if (!simple_input("Enter buddy's URI:", buf, sizeof(buf))) - break; - - if (pjsua_verify_url(buf) != PJ_SUCCESS) { - printf("Invalid URI '%s'\n", buf); - break; - } - - pj_bzero(&buddy_cfg, sizeof(pjsua_buddy_config)); - - buddy_cfg.uri = pj_str(buf); - buddy_cfg.subscribe = PJ_TRUE; - - status = pjsua_buddy_add(&buddy_cfg, &buddy_id); - if (status == PJ_SUCCESS) { - printf("New buddy '%s' added at index %d\n", - buf, buddy_id+1); - } - - } else if (menuin[1] == 'a') { - - char id[80], registrar[80], realm[80], uname[80], passwd[30]; - pjsua_acc_config acc_cfg; - pj_status_t status; - - if (!simple_input("Your SIP URL:", id, sizeof(id))) - break; - if (!simple_input("URL of the registrar:", registrar, sizeof(registrar))) - break; - if (!simple_input("Auth Realm:", realm, sizeof(realm))) - break; - if (!simple_input("Auth Username:", uname, sizeof(uname))) - break; - if (!simple_input("Auth Password:", passwd, sizeof(passwd))) - break; - - pjsua_acc_config_default(&acc_cfg); - acc_cfg.id = pj_str(id); - acc_cfg.reg_uri = pj_str(registrar); - acc_cfg.cred_count = 1; - acc_cfg.cred_info[0].scheme = pj_str("Digest"); - acc_cfg.cred_info[0].realm = pj_str(realm); - acc_cfg.cred_info[0].username = pj_str(uname); - acc_cfg.cred_info[0].data_type = 0; - acc_cfg.cred_info[0].data = pj_str(passwd); - - acc_cfg.rtp_cfg = app_config.rtp_cfg; - app_config_init_video(&acc_cfg); - - status = pjsua_acc_add(&acc_cfg, PJ_TRUE, NULL); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error adding new account", status); - } - - } else { - printf("Invalid input %s\n", menuin); - } - break; - - case '-': - if (menuin[1] == 'b') { - if (!simple_input("Enter buddy ID to delete",buf,sizeof(buf))) - break; - - i = my_atoi(buf) - 1; - - if (!pjsua_buddy_is_valid(i)) { - printf("Invalid buddy id %d\n", i); - } else { - pjsua_buddy_del(i); - printf("Buddy %d deleted\n", i); - } - - } else if (menuin[1] == 'a') { - - if (!simple_input("Enter account ID to delete",buf,sizeof(buf))) - break; - - i = my_atoi(buf); - - if (!pjsua_acc_is_valid(i)) { - printf("Invalid account id %d\n", i); - } else { - pjsua_acc_del(i); - printf("Account %d deleted\n", i); - } - - } else { - printf("Invalid input %s\n", menuin); - } - break; - - case 'H': - /* - * Hold call. - */ - if (current_call != -1) { - - pjsua_call_set_hold(current_call, NULL); - - } else { - PJ_LOG(3,(THIS_FILE, "No current call")); - } - break; - - case 'v': -#if PJSUA_HAS_VIDEO - if (menuin[1]=='i' && menuin[2]=='d' && menuin[3]==' ') { - - vid_handle_menu(menuin); - - } else -#endif - if (current_call != -1) { - /* - * re-INVITE - */ - call_opt.flag |= PJSUA_CALL_UNHOLD; - pjsua_call_reinvite2(current_call, &call_opt, NULL); - - } else { - PJ_LOG(3,(THIS_FILE, "No current call")); - } - break; - - case 'U': - /* - * Send UPDATE - */ - if (current_call != -1) { - - pjsua_call_update2(current_call, &call_opt, NULL); - - } else { - PJ_LOG(3,(THIS_FILE, "No current call")); - } - break; - - case 'C': - if (menuin[1] == 'p') { - manage_codec_prio(); - } - break; - - case 'x': - /* - * Transfer call. - */ - if (current_call == -1) { - - PJ_LOG(3,(THIS_FILE, "No current call")); - - } else { - int call = current_call; - pjsip_generic_string_hdr refer_sub; - pj_str_t STR_REFER_SUB = { "Refer-Sub", 9 }; - pj_str_t STR_FALSE = { "false", 5 }; - pjsua_call_info ci; - - pjsua_call_get_info(current_call, &ci); - printf("Transfering current call [%d] %.*s\n", - current_call, - (int)ci.remote_info.slen, ci.remote_info.ptr); - - ui_input_url("Transfer to URL", buf, sizeof(buf), &result); - - /* Check if call is still there. */ - - if (call != current_call) { - puts("Call has been disconnected"); - continue; - } - - pjsua_msg_data_init(&msg_data); - if (app_config.no_refersub) { - /* Add Refer-Sub: false in outgoing REFER request */ - pjsip_generic_string_hdr_init2(&refer_sub, &STR_REFER_SUB, - &STR_FALSE); - pj_list_push_back(&msg_data.hdr_list, &refer_sub); - } - if (result.nb_result != NO_NB) { - if (result.nb_result == -1 || result.nb_result == 0) - puts("You can't do that with transfer call!"); - else { - pjsua_buddy_info binfo; - pjsua_buddy_get_info(result.nb_result-1, &binfo); - pjsua_call_xfer( current_call, &binfo.uri, &msg_data); - } - - } else if (result.uri_result) { - pj_str_t tmp; - tmp = pj_str(result.uri_result); - pjsua_call_xfer( current_call, &tmp, &msg_data); - } - } - break; - - case 'X': - /* - * Transfer call with replaces. - */ - if (current_call == -1) { - - PJ_LOG(3,(THIS_FILE, "No current call")); - - } else { - int call = current_call; - int dst_call; - pjsip_generic_string_hdr refer_sub; - pj_str_t STR_REFER_SUB = { "Refer-Sub", 9 }; - pj_str_t STR_FALSE = { "false", 5 }; - pjsua_call_id ids[PJSUA_MAX_CALLS]; - pjsua_call_info ci; - unsigned i, count; - - count = PJ_ARRAY_SIZE(ids); - pjsua_enum_calls(ids, &count); - - if (count <= 1) { - puts("There are no other calls"); - continue; - } - - pjsua_call_get_info(current_call, &ci); - printf("Transfer call [%d] %.*s to one of the following:\n", - current_call, - (int)ci.remote_info.slen, ci.remote_info.ptr); - - for (i=0; i= PJSUA_MAX_CALLS) { - puts("Invalid destination call number"); - continue; - } - if (!pjsua_call_is_active(dst_call)) { - puts("Invalid destination call number"); - continue; - } - - pjsua_msg_data_init(&msg_data); - if (app_config.no_refersub) { - /* Add Refer-Sub: false in outgoing REFER request */ - pjsip_generic_string_hdr_init2(&refer_sub, &STR_REFER_SUB, - &STR_FALSE); - pj_list_push_back(&msg_data.hdr_list, &refer_sub); - } - - pjsua_call_xfer_replaces(call, dst_call, - PJSUA_XFER_NO_REQUIRE_REPLACES, - &msg_data); - } - break; - - case '#': - /* - * Send DTMF strings. - */ - if (current_call == -1) { - - PJ_LOG(3,(THIS_FILE, "No current call")); - - } else if (!pjsua_call_has_media(current_call)) { - - PJ_LOG(3,(THIS_FILE, "Media is not established yet!")); - - } else { - pj_str_t digits; - int call = current_call; - pj_status_t status; - - if (!simple_input("DTMF strings to send (0-9*#A-B)", buf, - sizeof(buf))) - { - break; - } - - if (call != current_call) { - puts("Call has been disconnected"); - continue; - } - - digits = pj_str(buf); - status = pjsua_call_dial_dtmf(current_call, &digits); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to send DTMF", status); - } else { - puts("DTMF digits enqueued for transmission"); - } - } - break; - - case '*': - /* Send DTMF with INFO */ - if (current_call == -1) { - - PJ_LOG(3,(THIS_FILE, "No current call")); - - } else { - const pj_str_t SIP_INFO = pj_str("INFO"); - pj_str_t digits; - int call = current_call; - int i; - pj_status_t status; - - if (!simple_input("DTMF strings to send (0-9*#A-B)", buf, - sizeof(buf))) - { - break; - } - - if (call != current_call) { - puts("Call has been disconnected"); - continue; - } - - digits = pj_str(buf); - for (i=0; imsg_info.msg, PJSIP_H_EXPIRES, NULL); - - h = rdata->msg_info.msg->hdr.next; - while (h != &rdata->msg_info.msg->hdr) { - if (h->type == PJSIP_H_CONTACT) { - const pjsip_contact_hdr *c = (const pjsip_contact_hdr*)h; - int e = c->expires; - - if (e < 0) { - if (exp) - e = exp->ivalue; - else - e = 3600; - } - - if (e > 0) { - pjsip_contact_hdr *nc = pjsip_hdr_clone(tdata->pool, h); - nc->expires = e; - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)nc); - ++cnt; - } - } - h = h->next; - } - - srv = pjsip_generic_string_hdr_create(tdata->pool, NULL, NULL); - srv->name = pj_str("Server"); - srv->hvalue = pj_str("pjsua simple registrar"); - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)srv); - - pjsip_endpt_send_response2(pjsua_get_pjsip_endpt(), - rdata, tdata, NULL, NULL); -} - - - -/***************************************************************************** - * A simple module to handle otherwise unhandled request. We will register - * this with the lowest priority. - */ - -/* Notification on incoming request */ -static pj_bool_t default_mod_on_rx_request(pjsip_rx_data *rdata) -{ - pjsip_tx_data *tdata; - pjsip_status_code status_code; - pj_status_t status; - - /* Don't respond to ACK! */ - if (pjsip_method_cmp(&rdata->msg_info.msg->line.req.method, - &pjsip_ack_method) == 0) - return PJ_TRUE; - - /* Simple registrar */ - if (pjsip_method_cmp(&rdata->msg_info.msg->line.req.method, - &pjsip_register_method) == 0) - { - simple_registrar(rdata); - return PJ_TRUE; - } - - /* Create basic response. */ - if (pjsip_method_cmp(&rdata->msg_info.msg->line.req.method, - &pjsip_notify_method) == 0) - { - /* Unsolicited NOTIFY's, send with Bad Request */ - status_code = PJSIP_SC_BAD_REQUEST; - } else { - /* Probably unknown method */ - status_code = PJSIP_SC_METHOD_NOT_ALLOWED; - } - status = pjsip_endpt_create_response(pjsua_get_pjsip_endpt(), - rdata, status_code, - NULL, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create response", status); - return PJ_TRUE; - } - - /* Add Allow if we're responding with 405 */ - if (status_code == PJSIP_SC_METHOD_NOT_ALLOWED) { - const pjsip_hdr *cap_hdr; - cap_hdr = pjsip_endpt_get_capability(pjsua_get_pjsip_endpt(), - PJSIP_H_ALLOW, NULL); - if (cap_hdr) { - pjsip_msg_add_hdr(tdata->msg, pjsip_hdr_clone(tdata->pool, - cap_hdr)); - } - } - - /* Add User-Agent header */ - { - pj_str_t user_agent; - char tmp[80]; - const pj_str_t USER_AGENT = { "User-Agent", 10}; - pjsip_hdr *h; - - pj_ansi_snprintf(tmp, sizeof(tmp), "PJSUA v%s/%s", - pj_get_version(), PJ_OS_NAME); - pj_strdup2_with_null(tdata->pool, &user_agent, tmp); - - h = (pjsip_hdr*) pjsip_generic_string_hdr_create(tdata->pool, - &USER_AGENT, - &user_agent); - pjsip_msg_add_hdr(tdata->msg, h); - } - - pjsip_endpt_send_response2(pjsua_get_pjsip_endpt(), rdata, tdata, - NULL, NULL); - - return PJ_TRUE; -} - - -/* The module instance. */ -static pjsip_module mod_default_handler = -{ - NULL, NULL, /* prev, next. */ - { "mod-default-handler", 19 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION+99, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &default_mod_on_rx_request, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ - -}; - - - - -/***************************************************************************** - * Public API - */ - -pj_status_t app_init(int argc, char *argv[]) -{ - pjsua_transport_id transport_id = -1; - pjsua_transport_config tcp_cfg; - unsigned i; - pj_status_t status; - - app_restart = PJ_FALSE; - - /* Create pjsua */ - status = pjsua_create(); - if (status != PJ_SUCCESS) - return status; - - /* Create pool for application */ - app_config.pool = pjsua_pool_create("pjsua-app", 1000, 1000); - - /* Initialize default config */ - default_config(&app_config); - - /* Parse the arguments */ - status = parse_args(argc, argv, &app_config, &uri_arg); - if (status != PJ_SUCCESS) - return status; - - /* Initialize application callbacks */ - app_config.cfg.cb.on_call_state = &on_call_state; - app_config.cfg.cb.on_call_media_state = &on_call_media_state; - app_config.cfg.cb.on_incoming_call = &on_incoming_call; - app_config.cfg.cb.on_call_tsx_state = &on_call_tsx_state; - app_config.cfg.cb.on_dtmf_digit = &call_on_dtmf_callback; - app_config.cfg.cb.on_call_redirected = &call_on_redirected; - app_config.cfg.cb.on_reg_state = &on_reg_state; - app_config.cfg.cb.on_incoming_subscribe = &on_incoming_subscribe; - app_config.cfg.cb.on_buddy_state = &on_buddy_state; - app_config.cfg.cb.on_buddy_evsub_state = &on_buddy_evsub_state; - app_config.cfg.cb.on_pager = &on_pager; - app_config.cfg.cb.on_typing = &on_typing; - app_config.cfg.cb.on_call_transfer_status = &on_call_transfer_status; - app_config.cfg.cb.on_call_replaced = &on_call_replaced; - app_config.cfg.cb.on_nat_detect = &on_nat_detect; - app_config.cfg.cb.on_mwi_info = &on_mwi_info; - app_config.cfg.cb.on_transport_state = &on_transport_state; - app_config.cfg.cb.on_ice_transport_error = &on_ice_transport_error; - app_config.cfg.cb.on_snd_dev_operation = &on_snd_dev_operation; - app_config.cfg.cb.on_call_media_event = &on_call_media_event; -#ifdef TRANSPORT_ADAPTER_SAMPLE - app_config.cfg.cb.on_create_media_transport = &on_create_media_transport; -#endif - app_config.log_cfg.cb = log_cb; - - /* Set sound device latency */ - if (app_config.capture_lat > 0) - app_config.media_cfg.snd_rec_latency = app_config.capture_lat; - if (app_config.playback_lat) - app_config.media_cfg.snd_play_latency = app_config.playback_lat; - - /* Initialize pjsua */ - status = pjsua_init(&app_config.cfg, &app_config.log_cfg, - &app_config.media_cfg); - if (status != PJ_SUCCESS) - return status; - - /* Initialize our module to handle otherwise unhandled request */ - status = pjsip_endpt_register_module(pjsua_get_pjsip_endpt(), - &mod_default_handler); - if (status != PJ_SUCCESS) - return status; - -#ifdef STEREO_DEMO - stereo_demo(); -#endif - - /* Initialize calls data */ - for (i=0; iinfo.fmt; - - pjmedia_fourcc_name(fmt->id, fmt_name); - - if (fmt->id == PJMEDIA_FORMAT_PCM) { - status = pjsua_conf_add_port(app_config.pool, aud, - &slot); - if (status == PJ_SUCCESS) { - PJ_LOG(4,(THIS_FILE, - "AVI %.*s: audio added to slot %d", - (int)avdp.title.slen, avdp.title.ptr, - slot)); - app_config.avi[i].slot = slot; - } - } else { - PJ_LOG(4,(THIS_FILE, - "AVI %.*s: audio ignored, format=%s", - (int)avdp.title.slen, avdp.title.ptr, - fmt_name)); - } - } - } -#else - PJ_LOG(2,(THIS_FILE, - "Warning: --play-avi is ignored because AVI is disabled")); -#endif /* PJMEDIA_VIDEO_DEV_HAS_AVI */ - } - - /* Add UDP transport unless it's disabled. */ - if (!app_config.no_udp) { - pjsua_acc_id aid; - pjsip_transport_type_e type = PJSIP_TRANSPORT_UDP; - - status = pjsua_transport_create(type, - &app_config.udp_cfg, - &transport_id); - if (status != PJ_SUCCESS) - goto on_error; - - /* Add local account */ - pjsua_acc_add_local(transport_id, PJ_TRUE, &aid); - if (PJMEDIA_HAS_VIDEO) { - pjsua_acc_config acc_cfg; - pjsua_acc_get_config(aid, &acc_cfg); - app_config_init_video(&acc_cfg); - pjsua_acc_modify(aid, &acc_cfg); - } - //pjsua_acc_set_transport(aid, transport_id); - pjsua_acc_set_online_status(current_acc, PJ_TRUE); - - if (app_config.udp_cfg.port == 0) { - pjsua_transport_info ti; - pj_sockaddr_in *a; - - pjsua_transport_get_info(transport_id, &ti); - a = (pj_sockaddr_in*)&ti.local_addr; - - tcp_cfg.port = pj_ntohs(a->sin_port); - } - } - - /* Add UDP IPv6 transport unless it's disabled. */ - if (!app_config.no_udp && app_config.ipv6) { - pjsua_acc_id aid; - pjsip_transport_type_e type = PJSIP_TRANSPORT_UDP6; - pjsua_transport_config udp_cfg; - - udp_cfg = app_config.udp_cfg; - if (udp_cfg.port == 0) - udp_cfg.port = 5060; - else - udp_cfg.port += 10; - status = pjsua_transport_create(type, - &udp_cfg, - &transport_id); - if (status != PJ_SUCCESS) - goto on_error; - - /* Add local account */ - pjsua_acc_add_local(transport_id, PJ_TRUE, &aid); - if (PJMEDIA_HAS_VIDEO) { - pjsua_acc_config acc_cfg; - pjsua_acc_get_config(aid, &acc_cfg); - app_config_init_video(&acc_cfg); - pjsua_acc_modify(aid, &acc_cfg); - } - //pjsua_acc_set_transport(aid, transport_id); - pjsua_acc_set_online_status(current_acc, PJ_TRUE); - - if (app_config.udp_cfg.port == 0) { - pjsua_transport_info ti; - pj_sockaddr_in *a; - - pjsua_transport_get_info(transport_id, &ti); - a = (pj_sockaddr_in*)&ti.local_addr; - - tcp_cfg.port = pj_ntohs(a->sin_port); - } - } - - /* Add TCP transport unless it's disabled */ - if (!app_config.no_tcp) { - pjsua_acc_id aid; - - status = pjsua_transport_create(PJSIP_TRANSPORT_TCP, - &tcp_cfg, - &transport_id); - if (status != PJ_SUCCESS) - goto on_error; - - /* Add local account */ - pjsua_acc_add_local(transport_id, PJ_TRUE, &aid); - if (PJMEDIA_HAS_VIDEO) { - pjsua_acc_config acc_cfg; - pjsua_acc_get_config(aid, &acc_cfg); - app_config_init_video(&acc_cfg); - pjsua_acc_modify(aid, &acc_cfg); - } - pjsua_acc_set_online_status(current_acc, PJ_TRUE); - - } - - -#if defined(PJSIP_HAS_TLS_TRANSPORT) && PJSIP_HAS_TLS_TRANSPORT!=0 - /* Add TLS transport when application wants one */ - if (app_config.use_tls) { - - pjsua_acc_id acc_id; - - /* Copy the QoS settings */ - tcp_cfg.tls_setting.qos_type = tcp_cfg.qos_type; - pj_memcpy(&tcp_cfg.tls_setting.qos_params, &tcp_cfg.qos_params, - sizeof(tcp_cfg.qos_params)); - - /* Set TLS port as TCP port+1 */ - tcp_cfg.port++; - status = pjsua_transport_create(PJSIP_TRANSPORT_TLS, - &tcp_cfg, - &transport_id); - tcp_cfg.port--; - if (status != PJ_SUCCESS) - goto on_error; - - /* Add local account */ - pjsua_acc_add_local(transport_id, PJ_FALSE, &acc_id); - if (PJMEDIA_HAS_VIDEO) { - pjsua_acc_config acc_cfg; - pjsua_acc_get_config(acc_id, &acc_cfg); - app_config_init_video(&acc_cfg); - pjsua_acc_modify(acc_id, &acc_cfg); - } - pjsua_acc_set_online_status(acc_id, PJ_TRUE); - } -#endif - - if (transport_id == -1) { - PJ_LOG(1,(THIS_FILE, "Error: no transport is configured")); - status = -1; - goto on_error; - } - - - /* Add accounts */ - for (i=0; i 0) { - pj_thread_create(app_config.pool, "stdout", &stdout_refresh_proc, - NULL, 0, 0, &stdout_refresh_thread); - } - - console_app_main(&uri_arg); - - if (stdout_refresh_thread) { - stdout_refresh_quit = PJ_TRUE; - pj_thread_join(stdout_refresh_thread); - pj_thread_destroy(stdout_refresh_thread); - } - - return PJ_SUCCESS; -} - -pj_status_t app_destroy(void) -{ - pj_status_t status; - unsigned i; - -#ifdef STEREO_DEMO - if (app_config.snd) { - pjmedia_snd_port_destroy(app_config.snd); - app_config.snd = NULL; - } - if (app_config.sc_ch1) { - pjsua_conf_remove_port(app_config.sc_ch1_slot); - app_config.sc_ch1_slot = PJSUA_INVALID_ID; - pjmedia_port_destroy(app_config.sc_ch1); - app_config.sc_ch1 = NULL; - } - if (app_config.sc) { - pjmedia_port_destroy(app_config.sc); - app_config.sc = NULL; - } -#endif - - /* Close avi devs and ports */ - for (i=0; i| SPLITCOMB left|<------->|#0 BRIDGE | - +-----------+ | right|<------->|#1 | - +-----------------+ +-----------+ - */ -static void stereo_demo() -{ - pjmedia_port *conf; - pj_status_t status; - - /* Disable existing sound device */ - conf = pjsua_set_no_snd_dev(); - - /* Create stereo-mono splitter/combiner */ - status = pjmedia_splitcomb_create(app_config.pool, - conf->info.clock_rate /* clock rate */, - 2 /* stereo */, - 2 * conf->info.samples_per_frame, - conf->info.bits_per_sample, - 0 /* options */, - &app_config.sc); - pj_assert(status == PJ_SUCCESS); - - /* Connect channel0 (left channel?) to conference port slot0 */ - status = pjmedia_splitcomb_set_channel(app_config.sc, 0 /* ch0 */, - 0 /*options*/, - conf); - pj_assert(status == PJ_SUCCESS); - - /* Create reverse channel for channel1 (right channel?)... */ - status = pjmedia_splitcomb_create_rev_channel(app_config.pool, - app_config.sc, - 1 /* ch1 */, - 0 /* options */, - &app_config.sc_ch1); - pj_assert(status == PJ_SUCCESS); - - /* .. and register it to conference bridge (it would be slot1 - * if there's no other devices connected to the bridge) - */ - status = pjsua_conf_add_port(app_config.pool, app_config.sc_ch1, - &app_config.sc_ch1_slot); - pj_assert(status == PJ_SUCCESS); - - /* Create sound device */ - status = pjmedia_snd_port_create(app_config.pool, -1, -1, - conf->info.clock_rate, - 2 /* stereo */, - 2 * conf->info.samples_per_frame, - conf->info.bits_per_sample, - 0, &app_config.snd); - pj_assert(status == PJ_SUCCESS); - - - /* Connect the splitter to the sound device */ - status = pjmedia_snd_port_connect(app_config.snd, app_config.sc); - pj_assert(status == PJ_SUCCESS); - -} -#endif - -static pj_status_t create_ipv6_media_transports(void) -{ - pjsua_media_transport tp[PJSUA_MAX_CALLS]; - pj_status_t status; - int port = app_config.rtp_cfg.port; - unsigned i; - - for (i=0; i 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers - -// Windows Header Files: -#include - -// Local Header Files - -// TODO: reference additional headers your program requires here - -//{{AFX_INSERT_LOCATION}} -// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_) diff --git a/res/pjproject/pjsip-apps/src/pjsua_wince/newres.h b/res/pjproject/pjsip-apps/src/pjsua_wince/newres.h deleted file mode 100644 index ac5edb7bc6..0000000000 --- a/res/pjproject/pjsip-apps/src/pjsua_wince/newres.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef __NEWRES_H__ -#define __NEWRES_H__ - -#if !defined(UNDER_CE) - #define UNDER_CE _WIN32_WCE -#endif - -#if defined(_WIN32_WCE) - #if !defined(WCEOLE_ENABLE_DIALOGEX) - #define DIALOGEX DIALOG DISCARDABLE - #endif - #include - #define SHMENUBAR RCDATA - #if defined(WIN32_PLATFORM_PSPC) && (_WIN32_WCE >= 300) - #include - #else - #define I_IMAGENONE (-2) - #define NOMENU 0xFFFF - #define IDS_SHNEW 1 - - #define IDM_SHAREDNEW 10 - #define IDM_SHAREDNEWDEFAULT 11 - #endif -#endif // _WIN32_WCE - - -#ifdef RC_INVOKED -#ifndef _INC_WINDOWS -#define _INC_WINDOWS - #include "winuser.h" // extract from windows header -#endif -#endif - -#ifdef IDC_STATIC -#undef IDC_STATIC -#endif -#define IDC_STATIC (-1) - -#endif //__NEWRES_H__ diff --git a/res/pjproject/pjsip-apps/src/pjsua_wince/pjsua_wince.cpp b/res/pjproject/pjsip-apps/src/pjsua_wince/pjsua_wince.cpp deleted file mode 100644 index a10c67f887..0000000000 --- a/res/pjproject/pjsip-apps/src/pjsua_wince/pjsua_wince.cpp +++ /dev/null @@ -1,780 +0,0 @@ -// pjsua_wince.cpp : Defines the entry point for the application. -// - -#include "stdafx.h" -#include "pjsua_wince.h" -#include -#include - -#define MAX_LOADSTRING 100 - -// Global Variables: -static HINSTANCE hInst; -static HWND hMainWnd; -static HWND hwndCB; -static HWND hwndGlobalStatus, hwndURI, hwndCallStatus; -static HWND hwndActionButton, hwndExitButton; - - - -// -// Basic config. -// -#define SIP_PORT 5060 - - -// -// Destination URI (to make call, or to subscribe presence) -// -#define SIP_DST_URI "sip:192.168.0.7:5061" - -// -// Account -// -#define HAS_SIP_ACCOUNT 0 // 0 to disable registration -#define SIP_DOMAIN "server" -#define SIP_REALM "server" -#define SIP_USER "user" -#define SIP_PASSWD "secret" - -// -// Outbound proxy for all accounts -// -#define SIP_PROXY NULL -//#define SIP_PROXY "sip:192.168.0.2;lr" - - -// -// Configure nameserver if DNS SRV is to be used with both SIP -// or STUN (for STUN see other settings below) -// -#define NAMESERVER NULL -//#define NAMESERVER "62.241.163.201" - -// -// STUN server -#if 0 - // Use this to have the STUN server resolved normally -# define STUN_DOMAIN NULL -# define STUN_SERVER "stun.fwdnet.net" -#elif 0 - // Use this to have the STUN server resolved with DNS SRV -# define STUN_DOMAIN "iptel.org" -# define STUN_SERVER NULL -#else - // Use this to disable STUN -# define STUN_DOMAIN NULL -# define STUN_SERVER NULL -#endif - -// -// Use ICE? -// -#define USE_ICE 0 - - -// -// Globals -// -static pj_pool_t *g_pool; -static pj_str_t g_local_uri; -static int g_current_acc; -static int g_current_call = PJSUA_INVALID_ID; -static int g_current_action; - -enum -{ - ID_GLOBAL_STATUS = 21, - ID_URI, - ID_CALL_STATUS, - ID_POLL_TIMER, -}; - -enum -{ - ID_MENU_NONE = 64, - ID_MENU_CALL, - ID_MENU_ANSWER, - ID_MENU_DISCONNECT, - ID_BTN_ACTION, -}; - - -// Forward declarations of functions included in this code module: -static ATOM MyRegisterClass (HINSTANCE, LPTSTR); -BOOL InitInstance (HINSTANCE, int); -static void OnCreate (HWND hWnd); -static LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM); - - - -///////////////////////////////////////////////////////////////////////////// - -static void OnError(const wchar_t *title, pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - PJ_DECL_UNICODE_TEMP_BUF(werrmsg, PJ_ERR_MSG_SIZE); - - pj_strerror(status, errmsg, sizeof(errmsg)); - - MessageBox(NULL, PJ_STRING_TO_NATIVE(errmsg, werrmsg, PJ_ERR_MSG_SIZE), - title, MB_OK); -} - - -static void SetLocalURI(const char *uri, int len, bool enabled=true) -{ - wchar_t tmp[128]; - if (len==-1) len=pj_ansi_strlen(uri); - pj_ansi_to_unicode(uri, len, tmp, PJ_ARRAY_SIZE(tmp)); - SetDlgItemText(hMainWnd, ID_GLOBAL_STATUS, tmp); - EnableWindow(hwndGlobalStatus, enabled?TRUE:FALSE); -} - - - -static void SetURI(const char *uri, int len, bool enabled=true) -{ - wchar_t tmp[128]; - if (len==-1) len=pj_ansi_strlen(uri); - pj_ansi_to_unicode(uri, len, tmp, PJ_ARRAY_SIZE(tmp)); - SetDlgItemText(hMainWnd, ID_URI, tmp); - EnableWindow(hwndURI, enabled?TRUE:FALSE); -} - - -static void SetCallStatus(const char *state, int len) -{ - wchar_t tmp[128]; - if (len==-1) len=pj_ansi_strlen(state); - pj_ansi_to_unicode(state, len, tmp, PJ_ARRAY_SIZE(tmp)); - SetDlgItemText(hMainWnd, ID_CALL_STATUS, tmp); -} - -static void SetAction(int action, bool enable=true) -{ - HMENU hMenu; - - hMenu = CommandBar_GetMenu(hwndCB, 0); - - RemoveMenu(hMenu, ID_MENU_NONE, MF_BYCOMMAND); - RemoveMenu(hMenu, ID_MENU_CALL, MF_BYCOMMAND); - RemoveMenu(hMenu, ID_MENU_ANSWER, MF_BYCOMMAND); - RemoveMenu(hMenu, ID_MENU_DISCONNECT, MF_BYCOMMAND); - - switch (action) { - case ID_MENU_NONE: - InsertMenu(hMenu, ID_EXIT, MF_BYCOMMAND, action, TEXT("None")); - SetWindowText(hwndActionButton, TEXT("-")); - break; - case ID_MENU_CALL: - InsertMenu(hMenu, ID_EXIT, MF_BYCOMMAND, action, TEXT("Call")); - SetWindowText(hwndActionButton, TEXT("&Call")); - break; - case ID_MENU_ANSWER: - InsertMenu(hMenu, ID_EXIT, MF_BYCOMMAND, action, TEXT("Answer")); - SetWindowText(hwndActionButton, TEXT("&Answer")); - break; - case ID_MENU_DISCONNECT: - InsertMenu(hMenu, ID_EXIT, MF_BYCOMMAND, action, TEXT("Hangup")); - SetWindowText(hwndActionButton, TEXT("&Hangup")); - break; - } - - EnableMenuItem(hMenu, action, MF_BYCOMMAND | (enable?MF_ENABLED:MF_GRAYED)); - DrawMenuBar(hMainWnd); - - g_current_action = action; -} - - -/* - * Handler when invite state has changed. - */ -static void on_call_state(pjsua_call_id call_id, pjsip_event *e) -{ - pjsua_call_info call_info; - - PJ_UNUSED_ARG(e); - - pjsua_call_get_info(call_id, &call_info); - - if (call_info.state == PJSIP_INV_STATE_DISCONNECTED) { - - g_current_call = PJSUA_INVALID_ID; - SetURI(SIP_DST_URI, -1); - SetAction(ID_MENU_CALL); - //SetCallStatus(call_info.state_text.ptr, call_info.state_text.slen); - SetCallStatus(call_info.last_status_text.ptr, call_info.last_status_text.slen); - - } else { - //if (g_current_call == PJSUA_INVALID_ID) - // g_current_call = call_id; - - if (call_info.remote_contact.slen) - SetURI(call_info.remote_contact.ptr, call_info.remote_contact.slen, false); - else - SetURI(call_info.remote_info.ptr, call_info.remote_info.slen, false); - - if (call_info.state == PJSIP_INV_STATE_CONFIRMED) - SetAction(ID_MENU_DISCONNECT); - - SetCallStatus(call_info.state_text.ptr, call_info.state_text.slen); - } -} - - -/* - * Callback on media state changed event. - * The action may connect the call to sound device, to file, or - * to loop the call. - */ -static void on_call_media_state(pjsua_call_id call_id) -{ - pjsua_call_info call_info; - - pjsua_call_get_info(call_id, &call_info); - - if (call_info.media_status == PJSUA_CALL_MEDIA_ACTIVE) { - pjsua_conf_connect(call_info.conf_slot, 0); - pjsua_conf_connect(0, call_info.conf_slot); - } -} - - -/** - * Handler when there is incoming call. - */ -static void on_incoming_call(pjsua_acc_id acc_id, pjsua_call_id call_id, - pjsip_rx_data *rdata) -{ - pjsua_call_info call_info; - - PJ_UNUSED_ARG(acc_id); - PJ_UNUSED_ARG(rdata); - - if (g_current_call != PJSUA_INVALID_ID) { - pj_str_t reason; - reason = pj_str("Another call is in progress"); - pjsua_call_answer(call_id, PJSIP_SC_BUSY_HERE, &reason, NULL); - return; - } - - g_current_call = call_id; - - pjsua_call_get_info(call_id, &call_info); - - SetAction(ID_MENU_ANSWER); - SetURI(call_info.remote_info.ptr, call_info.remote_info.slen, false); - pjsua_call_answer(call_id, 200, NULL, NULL); -} - - -/* - * Handler registration status has changed. - */ -static void on_reg_state(pjsua_acc_id acc_id) -{ - PJ_UNUSED_ARG(acc_id); - - // Log already written. -} - - -/* - * Handler on buddy state changed. - */ -static void on_buddy_state(pjsua_buddy_id buddy_id) -{ - /* Currently this is not processed */ - PJ_UNUSED_ARG(buddy_id); -} - - -/** - * Incoming IM message (i.e. MESSAGE request)! - */ -static void on_pager(pjsua_call_id call_id, const pj_str_t *from, - const pj_str_t *to, const pj_str_t *contact, - const pj_str_t *mime_type, const pj_str_t *text) -{ - /* Currently this is not processed */ - PJ_UNUSED_ARG(call_id); - PJ_UNUSED_ARG(from); - PJ_UNUSED_ARG(to); - PJ_UNUSED_ARG(contact); - PJ_UNUSED_ARG(mime_type); - PJ_UNUSED_ARG(text); -} - - -/** - * Received typing indication - */ -static void on_typing(pjsua_call_id call_id, const pj_str_t *from, - const pj_str_t *to, const pj_str_t *contact, - pj_bool_t is_typing) -{ - /* Currently this is not processed */ - PJ_UNUSED_ARG(call_id); - PJ_UNUSED_ARG(from); - PJ_UNUSED_ARG(to); - PJ_UNUSED_ARG(contact); - PJ_UNUSED_ARG(is_typing); -} - -/** - * Callback upon NAT detection completion - */ -static void nat_detect_cb(const pj_stun_nat_detect_result *res) -{ - if (res->status != PJ_SUCCESS) { - char msg[250]; - pj_ansi_snprintf(msg, sizeof(msg), "NAT detection failed: %s", - res->status_text); - SetCallStatus(msg, pj_ansi_strlen(msg)); - } else { - char msg[250]; - pj_ansi_snprintf(msg, sizeof(msg), "NAT type is %s", - res->nat_type_name); - SetCallStatus(msg, pj_ansi_strlen(msg)); - } -} - - -static BOOL OnInitStack(void) -{ - pjsua_config cfg; - pjsua_logging_config log_cfg; - pjsua_media_config media_cfg; - pjsua_transport_config udp_cfg; - pjsua_transport_config rtp_cfg; - pjsua_transport_id transport_id; - pjsua_transport_info transport_info; - pj_str_t tmp; - pj_status_t status; - - /* Create pjsua */ - status = pjsua_create(); - if (status != PJ_SUCCESS) { - OnError(TEXT("Error creating pjsua"), status); - return FALSE; - } - - /* Create global pool for application */ - g_pool = pjsua_pool_create("pjsua", 4000, 4000); - - /* Init configs */ - pjsua_config_default(&cfg); - pjsua_media_config_default(&media_cfg); - pjsua_transport_config_default(&udp_cfg); - udp_cfg.port = SIP_PORT; - - pjsua_transport_config_default(&rtp_cfg); - rtp_cfg.port = 40000; - - pjsua_logging_config_default(&log_cfg); - log_cfg.level = 5; - log_cfg.log_filename = pj_str("\\pjsua.txt"); - log_cfg.msg_logging = 1; - log_cfg.decor = pj_log_get_decor() | PJ_LOG_HAS_CR; - - /* Setup media */ - media_cfg.clock_rate = 8000; - media_cfg.ec_options = PJMEDIA_ECHO_SIMPLE; - media_cfg.ec_tail_len = 256; - // use default quality setting - //media_cfg.quality = 1; - media_cfg.ptime = 20; - media_cfg.enable_ice = USE_ICE; - - /* Initialize application callbacks */ - cfg.cb.on_call_state = &on_call_state; - cfg.cb.on_call_media_state = &on_call_media_state; - cfg.cb.on_incoming_call = &on_incoming_call; - cfg.cb.on_reg_state = &on_reg_state; - cfg.cb.on_buddy_state = &on_buddy_state; - cfg.cb.on_pager = &on_pager; - cfg.cb.on_typing = &on_typing; - cfg.cb.on_nat_detect = &nat_detect_cb; - - if (SIP_PROXY) { - cfg.outbound_proxy_cnt = 1; - cfg.outbound_proxy[0] = pj_str(SIP_PROXY); - } - - if (NAMESERVER) { - cfg.nameserver_count = 1; - cfg.nameserver[0] = pj_str(NAMESERVER); - } - - if (NAMESERVER && STUN_DOMAIN) { - cfg.stun_domain = pj_str(STUN_DOMAIN); - } else if (STUN_SERVER) { - cfg.stun_host = pj_str(STUN_SERVER); - } - - - /* Initialize pjsua */ - status = pjsua_init(&cfg, &log_cfg, &media_cfg); - if (status != PJ_SUCCESS) { - OnError(TEXT("Initialization error"), status); - return FALSE; - } - - /* Set codec priority */ - pjsua_codec_set_priority(pj_cstr(&tmp, "pcmu"), 240); - pjsua_codec_set_priority(pj_cstr(&tmp, "pcma"), 230); - pjsua_codec_set_priority(pj_cstr(&tmp, "speex/8000"), 190); - pjsua_codec_set_priority(pj_cstr(&tmp, "ilbc"), 189); - pjsua_codec_set_priority(pj_cstr(&tmp, "speex/16000"), 180); - pjsua_codec_set_priority(pj_cstr(&tmp, "speex/32000"), 0); - pjsua_codec_set_priority(pj_cstr(&tmp, "gsm"), 100); - - - /* Add UDP transport and the corresponding PJSUA account */ - status = pjsua_transport_create(PJSIP_TRANSPORT_UDP, - &udp_cfg, &transport_id); - if (status != PJ_SUCCESS) { - OnError(TEXT("Error starting SIP transport"), status); - return FALSE; - } - - pjsua_transport_get_info(transport_id, &transport_info); - - g_local_uri.ptr = (char*)pj_pool_alloc(g_pool, 128); - g_local_uri.slen = pj_ansi_sprintf(g_local_uri.ptr, - "", - (int)transport_info.local_name.host.slen, - transport_info.local_name.host.ptr, - transport_info.local_name.port); - - - /* Add local account */ - pjsua_acc_add_local(transport_id, PJ_TRUE, &g_current_acc); - pjsua_acc_set_online_status(g_current_acc, PJ_TRUE); - - /* Add account */ - if (HAS_SIP_ACCOUNT) { - pjsua_acc_config cfg; - - pjsua_acc_config_default(&cfg); - cfg.id = pj_str("sip:" SIP_USER "@" SIP_DOMAIN); - cfg.reg_uri = pj_str("sip:" SIP_DOMAIN); - cfg.cred_count = 1; - cfg.cred_info[0].realm = pj_str(SIP_REALM); - cfg.cred_info[0].scheme = pj_str("digest"); - cfg.cred_info[0].username = pj_str(SIP_USER); - cfg.cred_info[0].data_type = PJSIP_CRED_DATA_PLAIN_PASSWD; - cfg.cred_info[0].data = pj_str(SIP_PASSWD); - - status = pjsua_acc_add(&cfg, PJ_TRUE, &g_current_acc); - if (status != PJ_SUCCESS) { - pjsua_destroy(); - return PJ_FALSE; - } - } - - /* Add buddy */ - if (SIP_DST_URI) { - pjsua_buddy_config bcfg; - - pjsua_buddy_config_default(&bcfg); - bcfg.uri = pj_str(SIP_DST_URI); - bcfg.subscribe = PJ_FALSE; - - pjsua_buddy_add(&bcfg, NULL); - } - - /* Start pjsua */ - status = pjsua_start(); - if (status != PJ_SUCCESS) { - OnError(TEXT("Error starting pjsua"), status); - return FALSE; - } - - return TRUE; -} - - -////////////////////////////////////////////////////////////////////////////// - -int WINAPI WinMain(HINSTANCE hInstance, - HINSTANCE hPrevInstance, - LPTSTR lpCmdLine, - int nCmdShow) -{ - MSG msg; - HACCEL hAccelTable; - - PJ_UNUSED_ARG(lpCmdLine); - PJ_UNUSED_ARG(hPrevInstance); - - // Perform application initialization: - if (!InitInstance (hInstance, nCmdShow)) - { - return FALSE; - } - - hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_PJSUA_WINCE); - - - // Main message loop: - while (GetMessage(&msg, NULL, 0, 0)) - { - if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - } - - return msg.wParam; -} - -static ATOM MyRegisterClass(HINSTANCE hInstance, LPTSTR szWindowClass) -{ - WNDCLASS wc; - - wc.style = CS_HREDRAW | CS_VREDRAW; - wc.lpfnWndProc = (WNDPROC) WndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_PJSUA_WINCE)); - wc.hCursor = 0; - wc.hbrBackground = (HBRUSH) GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = 0; - wc.lpszClassName = szWindowClass; - - return RegisterClass(&wc); -} - - -BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) -{ - HWND hWnd; - TCHAR szTitle[MAX_LOADSTRING]; - TCHAR szWindowClass[MAX_LOADSTRING]; - - hInst = hInstance; - - /* Init stack */ - if (OnInitStack() == FALSE) - return FALSE; - - LoadString(hInstance, IDC_PJSUA_WINCE, szWindowClass, MAX_LOADSTRING); - MyRegisterClass(hInstance, szWindowClass); - - LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING); - hWnd = CreateWindow(szWindowClass, szTitle, WS_VISIBLE, - CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, 200, - NULL, NULL, hInstance, NULL); - - if (!hWnd) - { - return FALSE; - } - - hMainWnd = hWnd; - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - if (hwndCB) - CommandBar_Show(hwndCB, TRUE); - - SetTimer(hMainWnd, ID_POLL_TIMER, 50, NULL); - - pjsua_detect_nat_type(); - return TRUE; -} - - -static void OnCreate(HWND hWnd) -{ - enum - { - X = 10, - Y = 40, - W = 220, - H = 30, - }; - - DWORD dwStyle; - - hMainWnd = hWnd; - - hwndCB = CommandBar_Create(hInst, hWnd, 1); - CommandBar_InsertMenubar(hwndCB, hInst, IDM_MENU, 0); - CommandBar_AddAdornments(hwndCB, 0, 0); - - // Create global status text - dwStyle = WS_CHILD | WS_VISIBLE | WS_DISABLED | ES_LEFT; - hwndGlobalStatus = CreateWindow( - TEXT("EDIT"), // Class name - NULL, // Window text - dwStyle, // Window style - X, // x-coordinate of the upper-left corner - Y+0, // y-coordinate of the upper-left corner - W, // Width of the window for the edit - // control - H-5, // Height of the window for the edit - // control - hWnd, // Window handle to the parent window - (HMENU) ID_GLOBAL_STATUS, // Control identifier - hInst, // Instance handle - NULL); // Specify NULL for this parameter when - // you create a control - SetLocalURI(g_local_uri.ptr, g_local_uri.slen, false); - - - // Create URI edit - dwStyle = WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_BORDER; - hwndURI = CreateWindow ( - TEXT("EDIT"), // Class name - NULL, // Window text - dwStyle, // Window style - X, // x-coordinate of the upper-left corner - Y+H, // y-coordinate of the upper-left corner - W, // Width of the window for the edit - // control - H-5, // Height of the window for the edit - // control - hWnd, // Window handle to the parent window - (HMENU) ID_URI, // Control identifier - hInst, // Instance handle - NULL); // Specify NULL for this parameter when - // you create a control - - // Create action Button - hwndActionButton = CreateWindow( L"button", L"Action", - WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON, - X, Y+2*H, - 60, H-5, hWnd, - (HMENU) ID_BTN_ACTION, - hInst, NULL ); - - // Create exit button - hwndExitButton = CreateWindow( L"button", L"E&xit", - WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON, - X+70, Y+2*H, - 60, H-5, hWnd, - (HMENU) ID_EXIT, - hInst, NULL ); - - - // Create call status edit - dwStyle = WS_CHILD | WS_VISIBLE | WS_DISABLED; - hwndCallStatus = CreateWindow ( - TEXT("EDIT"), // Class name - NULL, // Window text - dwStyle, // Window style - X, // x-coordinate of the upper-left corner - Y+3*H, // y-coordinate of the upper-left corner - W, // Width of the window for the edit - // control - H-5, // Height of the window for the edit - // control - hWnd, // Window handle to the parent window - (HMENU) ID_CALL_STATUS, // Control identifier - hInst, // Instance handle - NULL); // Specify NULL for this parameter when - // you create a control - SetCallStatus("Ready", 5); - SetAction(ID_MENU_CALL); - SetURI(SIP_DST_URI, -1); - SetFocus(hWnd); - -} - - -static void OnDestroy(void) -{ - pjsua_destroy(); -} - -static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) -{ - int wmId, wmEvent; - - switch (message) { - case WM_KEYUP: - if (wParam==114) { - wParam = ID_MENU_CALL; - } else if (wParam==115) { - if (g_current_call == PJSUA_INVALID_ID) - wParam = ID_EXIT; - else - wParam = ID_MENU_DISCONNECT; - } else - break; - - case WM_COMMAND: - wmId = LOWORD(wParam); - wmEvent = HIWORD(wParam); - if (wmId == ID_BTN_ACTION) - wmId = g_current_action; - switch (wmId) - { - case ID_MENU_CALL: - if (g_current_call != PJSUA_INVALID_ID) { - MessageBox(NULL, TEXT("Can not make call"), - TEXT("You already have one call active"), MB_OK); - } - pj_str_t dst_uri; - wchar_t text[256]; - char tmp[256]; - pj_status_t status; - - GetWindowText(hwndURI, text, PJ_ARRAY_SIZE(text)); - pj_unicode_to_ansi(text, pj_unicode_strlen(text), - tmp, sizeof(tmp)); - dst_uri.ptr = tmp; - dst_uri.slen = pj_ansi_strlen(tmp); - status = pjsua_call_make_call(g_current_acc, - &dst_uri, 0, NULL, - NULL, &g_current_call); - if (status != PJ_SUCCESS) - OnError(TEXT("Unable to make call"), status); - break; - case ID_MENU_ANSWER: - if (g_current_call == PJSUA_INVALID_ID) - MessageBox(NULL, TEXT("Can not answer"), - TEXT("There is no call!"), MB_OK); - else - pjsua_call_answer(g_current_call, 200, NULL, NULL); - break; - case ID_MENU_DISCONNECT: - if (g_current_call == PJSUA_INVALID_ID) - MessageBox(NULL, TEXT("Can not disconnect"), - TEXT("There is no call!"), MB_OK); - else - pjsua_call_hangup(g_current_call, PJSIP_SC_DECLINE, NULL, NULL); - break; - case ID_EXIT: - DestroyWindow(hWnd); - break; - default: - return DefWindowProc(hWnd, message, wParam, lParam); - } - break; - - case WM_CREATE: - OnCreate(hWnd); - break; - - case WM_DESTROY: - OnDestroy(); - CommandBar_Destroy(hwndCB); - PostQuitMessage(0); - break; - - case WM_TIMER: - pjsua_handle_events(1); - break; - - default: - return DefWindowProc(hWnd, message, wParam, lParam); - } - return 0; -} - diff --git a/res/pjproject/pjsip-apps/src/pjsua_wince/pjsua_wince.h b/res/pjproject/pjsip-apps/src/pjsua_wince/pjsua_wince.h deleted file mode 100644 index 14c13bf1cd..0000000000 --- a/res/pjproject/pjsip-apps/src/pjsua_wince/pjsua_wince.h +++ /dev/null @@ -1,12 +0,0 @@ - -#if !defined(AFX_PJSUA_WINCE_H__F6793AE3_47AC_45D8_B00D_AB766E72C6BF__INCLUDED_) -#define AFX_PJSUA_WINCE_H__F6793AE3_47AC_45D8_B00D_AB766E72C6BF__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "resource.h" - - -#endif // !defined(AFX_PJSUA_WINCE_H__F6793AE3_47AC_45D8_B00D_AB766E72C6BF__INCLUDED_) diff --git a/res/pjproject/pjsip-apps/src/pjsua_wince/pjsua_wince.ico b/res/pjproject/pjsip-apps/src/pjsua_wince/pjsua_wince.ico deleted file mode 100644 index 83b30142eb..0000000000 Binary files a/res/pjproject/pjsip-apps/src/pjsua_wince/pjsua_wince.ico and /dev/null differ diff --git a/res/pjproject/pjsip-apps/src/pjsua_wince/pjsua_wince.rc b/res/pjproject/pjsip-apps/src/pjsua_wince/pjsua_wince.rc deleted file mode 100644 index 982068ec73..0000000000 --- a/res/pjproject/pjsip-apps/src/pjsua_wince/pjsua_wince.rc +++ /dev/null @@ -1,108 +0,0 @@ -//Microsoft eMbedded Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "newres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_PJSUA_WINCE ICON DISCARDABLE "pjsua_wince.ICO" - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""newres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Menubar -// - -IDM_MENU MENU DISCARDABLE -BEGIN - MENUITEM "E&xit", ID_EXIT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Accelerator -// - -IDC_PJSUA_WINCE ACCELERATORS DISCARDABLE -BEGIN - "/", IDM_HELP_ABOUT, ASCII, ALT, NOINVERT - VK_F4, IDM_FILE_EXIT, VIRTKEY, ALT, NOINVERT -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE DISCARDABLE -BEGIN - IDS_APP_TITLE "pjsua_wince" - IDS_HELLO "Hello World!" - IDC_PJSUA_WINCE "PJSUA_WINCE" -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/res/pjproject/pjsip-apps/src/pjsua_wince/pjsua_wince.vcp b/res/pjproject/pjsip-apps/src/pjsua_wince/pjsua_wince.vcp deleted file mode 100644 index 824cbed99b..0000000000 --- a/res/pjproject/pjsip-apps/src/pjsua_wince/pjsua_wince.vcp +++ /dev/null @@ -1,1097 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="pjsua_wince" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE x86) Application" 0x8301 -# TARGTYPE "Win32 (WCE ARMV4) Application" 0xa301 -# TARGTYPE "Win32 (WCE ARMV4I) Application" 0xa501 -# TARGTYPE "Win32 (WCE emulator) Application" 0xa601 -# TARGTYPE "Win32 (WCE ARMV4T) Application" 0xa401 - -CFG=pjsua_wince - Win32 (WCE emulator) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "pjsua_wince.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "pjsua_wince.vcn" CFG="pjsua_wince - Win32 (WCE emulator) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "pjsua_wince - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Application") -!MESSAGE "pjsua_wince - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Application") -!MESSAGE "pjsua_wince - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Application") -!MESSAGE "pjsua_wince - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Application") -!MESSAGE "pjsua_wince - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Application") -!MESSAGE "pjsua_wince - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Application") -!MESSAGE "pjsua_wince - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Application") -!MESSAGE "pjsua_wince - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Application") -!MESSAGE "pjsua_wince - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Application") -!MESSAGE "pjsua_wince - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "pjsua_wince - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "../../build/wince-evc4/output/pjsua-wince-emulatorRel" -# PROP BASE Intermediate_Dir "../../build/wince-evc4/output/pjsua-wince-emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "../../build/wince-evc4/output/pjsua-wince-emulatorRel" -# PROP Intermediate_Dir "../../build/wince-evc4/output/pjsua-wince-emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /Yu"stdafx.h" /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjsip/include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /Yu"stdafx.h" /Gs8192 /GF /O2 /c -# SUBTRACT CPP /Fr -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "../../build/wince-evc4/output/pjsua-wince-emulatorDbg" -# PROP BASE Intermediate_Dir "../../build/wince-evc4/output/pjsua-wince-emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "../../build/wince-evc4/output/pjsua-wince-emulatorDbg" -# PROP Intermediate_Dir "../../build/wince-evc4/output/pjsua-wince-emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /Yu"stdafx.h" /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../../pjsip/include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /Yu"stdafx.h" /Gs8192 /GF /c -# SUBTRACT CPP /Fr -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4IRel" -# PROP BASE Intermediate_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4IRel" -# PROP Intermediate_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Yu"stdafx.h" /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjsip/include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Yu"stdafx.h" /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# SUBTRACT CPP /Fr -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4IDbg" -# PROP BASE Intermediate_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4IDbg" -# PROP Intermediate_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /Yu"stdafx.h" /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjsip/include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /Yu"stdafx.h" /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# SUBTRACT CPP /Fr -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4Rel" -# PROP BASE Intermediate_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4Rel" -# PROP Intermediate_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Yu"stdafx.h" /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjsip/include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Yu"stdafx.h" /O2 /M$(CECrtMT) /c -# SUBTRACT CPP /Fr -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4Dbg" -# PROP BASE Intermediate_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4Dbg" -# PROP Intermediate_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /Yu"stdafx.h" /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjsip/include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /Yu"stdafx.h" /M$(CECrtMTDebug) /c -# SUBTRACT CPP /Fr -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4TRel" -# PROP BASE Intermediate_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4TRel" -# PROP Intermediate_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Yu"stdafx.h" /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjsip/include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Yu"stdafx.h" /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# SUBTRACT CPP /Fr -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4TDbg" -# PROP BASE Intermediate_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4TDbg" -# PROP Intermediate_Dir "../../build/wince-evc4/output/pjsua-wince-ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /Yu"stdafx.h" /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjsip/include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /Yu"stdafx.h" /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# SUBTRACT CPP /Fr -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "../../build/wince-evc4/output/pjsua-wince-X86Rel" -# PROP BASE Intermediate_Dir "../../build/wince-evc4/output/pjsua-wince-X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "../../build/wince-evc4/output/pjsua-wince-X86Rel" -# PROP Intermediate_Dir "../../build/wince-evc4/output/pjsua-wince-X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /Yu"stdafx.h" /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjsip/include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /Yu"stdafx.h" /Gs8192 /GF /O2 /c -# SUBTRACT CPP /Fr -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "../../build/wince-evc4/output/pjsua-wince-X86Dbg" -# PROP BASE Intermediate_Dir "../../build/wince-evc4/output/pjsua-wince-X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "../../build/wince-evc4/output/pjsua-wince-X86Dbg" -# PROP Intermediate_Dir "../../build/wince-evc4/output/pjsua-wince-X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /Yu"stdafx.h" /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjsip/include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /Yu"stdafx.h" /Gs8192 /GF /c -# SUBTRACT CPP /Fr -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ENDIF - -# Begin Target - -# Name "pjsua_wince - Win32 (WCE emulator) Release" -# Name "pjsua_wince - Win32 (WCE emulator) Debug" -# Name "pjsua_wince - Win32 (WCE ARMV4I) Release" -# Name "pjsua_wince - Win32 (WCE ARMV4I) Debug" -# Name "pjsua_wince - Win32 (WCE ARMV4) Release" -# Name "pjsua_wince - Win32 (WCE ARMV4) Debug" -# Name "pjsua_wince - Win32 (WCE ARMV4T) Release" -# Name "pjsua_wince - Win32 (WCE ARMV4T) Debug" -# Name "pjsua_wince - Win32 (WCE x86) Release" -# Name "pjsua_wince - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\pjsua_wince.cpp - -!IF "$(CFG)" == "pjsua_wince - Win32 (WCE emulator) Release" - -DEP_CPP_PJSUA=\ - ".\pjsua_wince.h"\ - ".\StdAfx.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\g722.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\alaw_ulaw.h"\ - "..\..\..\pjmedia\include\pjmedia\bidirectional.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\echo.h"\ - "..\..\..\pjmedia\include\pjmedia\echo_port.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp_xr.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stereo.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\tonegen.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_ice.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_srtp.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_playlist.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\..\pjnath\include\pjnath.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\nat_detect.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_sock.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\turn_session.h"\ - "..\..\..\pjnath\include\pjnath\turn_sock.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\evsub.h"\ - "..\..\..\pjsip\include\pjsip-simple\iscomposing.h"\ - "..\..\..\pjsip\include\pjsip-simple\pidf.h"\ - "..\..\..\pjsip\include\pjsip-simple\presence.h"\ - "..\..\..\pjsip\include\pjsip-simple\publish.h"\ - "..\..\..\pjsip\include\pjsip-simple\rpid.h"\ - "..\..\..\pjsip\include\pjsip-simple\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\xpidf.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_100rel.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_inv.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_regc.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_replaces.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_xfer.h"\ - "..\..\..\pjsip\include\pjsip.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth_aka.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_config.h"\ - "..\..\..\pjsip\include\pjsip\sip_dialog.h"\ - "..\..\..\pjsip\include\pjsip\sip_endpoint.h"\ - "..\..\..\pjsip\include\pjsip\sip_errno.h"\ - "..\..\..\pjsip\include\pjsip\sip_event.h"\ - "..\..\..\pjsip\include\pjsip\sip_module.h"\ - "..\..\..\pjsip\include\pjsip\sip_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_parser.h"\ - "..\..\..\pjsip\include\pjsip\sip_resolve.h"\ - "..\..\..\pjsip\include\pjsip\sip_tel_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_transaction.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_loop.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tcp.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tls.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_udp.h"\ - "..\..\..\pjsip\include\pjsip\sip_types.h"\ - "..\..\..\pjsip\include\pjsip\sip_ua_layer.h"\ - "..\..\..\pjsip\include\pjsip\sip_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_util.h"\ - "..\..\..\pjsip\include\pjsip_simple.h"\ - "..\..\..\pjsip\include\pjsip_ua.h"\ - "..\..\..\pjsip\include\pjsua-lib\pjsua.h"\ - ".\pjsua_wince.h"\ - ".\StdAfx.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PJSUA=\ - ".\pjsua_wince.h"\ - ".\StdAfx.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PJSUA=\ - ".\pjsua_wince.h"\ - ".\StdAfx.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\..\pjsip\include\pjsip-simple\evsub.h"\ - "..\..\..\pjsip\include\pjsip-simple\iscomposing.h"\ - "..\..\..\pjsip\include\pjsip-simple\pidf.h"\ - "..\..\..\pjsip\include\pjsip-simple\presence.h"\ - "..\..\..\pjsip\include\pjsip-simple\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\xpidf.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_inv.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_regc.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_xfer.h"\ - "..\..\..\pjsip\include\pjsip.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_config.h"\ - "..\..\..\pjsip\include\pjsip\sip_dialog.h"\ - "..\..\..\pjsip\include\pjsip\sip_endpoint.h"\ - "..\..\..\pjsip\include\pjsip\sip_errno.h"\ - "..\..\..\pjsip\include\pjsip\sip_event.h"\ - "..\..\..\pjsip\include\pjsip\sip_module.h"\ - "..\..\..\pjsip\include\pjsip\sip_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_parser.h"\ - "..\..\..\pjsip\include\pjsip\sip_resolve.h"\ - "..\..\..\pjsip\include\pjsip\sip_tel_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_transaction.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_loop.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tcp.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_udp.h"\ - "..\..\..\pjsip\include\pjsip\sip_types.h"\ - "..\..\..\pjsip\include\pjsip\sip_ua_layer.h"\ - "..\..\..\pjsip\include\pjsip\sip_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_util.h"\ - "..\..\..\pjsip\include\pjsip_simple.h"\ - "..\..\..\pjsip\include\pjsip_ua.h"\ - "..\..\..\pjsip\include\pjsua-lib\pjsua.h"\ - ".\pjsua_wince.h"\ - ".\StdAfx.h"\ - -NODEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\alaw_ulaw.h"\ - "..\..\..\pjmedia\include\pjmedia\bidirectional.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\echo.h"\ - "..\..\..\pjmedia\include\pjmedia\echo_port.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\tonegen.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_ice.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_playlist.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\evsub.h"\ - "..\..\..\pjsip\include\pjsip-simple\iscomposing.h"\ - "..\..\..\pjsip\include\pjsip-simple\pidf.h"\ - "..\..\..\pjsip\include\pjsip-simple\presence.h"\ - "..\..\..\pjsip\include\pjsip-simple\publish.h"\ - "..\..\..\pjsip\include\pjsip-simple\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\xpidf.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_inv.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_regc.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_replaces.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_xfer.h"\ - "..\..\..\pjsip\include\pjsip.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_config.h"\ - "..\..\..\pjsip\include\pjsip\sip_dialog.h"\ - "..\..\..\pjsip\include\pjsip\sip_endpoint.h"\ - "..\..\..\pjsip\include\pjsip\sip_errno.h"\ - "..\..\..\pjsip\include\pjsip\sip_event.h"\ - "..\..\..\pjsip\include\pjsip\sip_module.h"\ - "..\..\..\pjsip\include\pjsip\sip_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_parser.h"\ - "..\..\..\pjsip\include\pjsip\sip_resolve.h"\ - "..\..\..\pjsip\include\pjsip\sip_tel_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_transaction.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_loop.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tcp.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tls.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_udp.h"\ - "..\..\..\pjsip\include\pjsip\sip_types.h"\ - "..\..\..\pjsip\include\pjsip\sip_ua_layer.h"\ - "..\..\..\pjsip\include\pjsip\sip_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_util.h"\ - "..\..\..\pjsip\include\pjsip_simple.h"\ - "..\..\..\pjsip\include\pjsip_ua.h"\ - "..\..\..\pjsip\include\pjsua-lib\pjsua.h"\ - ".\pjsua_wince.h"\ - ".\StdAfx.h"\ - -NODEP_CPP_PJSUA=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\mp3_port.h"\ - "..\..\..\pjsip\include\pjsip\sip_autoconf.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PJSUA=\ - ".\pjsua_wince.h"\ - ".\StdAfx.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PJSUA=\ - ".\pjsua_wince.h"\ - ".\StdAfx.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE x86) Release" - -DEP_CPP_PJSUA=\ - ".\pjsua_wince.h"\ - ".\StdAfx.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE x86) Debug" - -DEP_CPP_PJSUA=\ - ".\pjsua_wince.h"\ - ".\StdAfx.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\pjsua_wince.rc - -!IF "$(CFG)" == "pjsua_wince - Win32 (WCE emulator) Release" - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE emulator) Debug" - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4I) Release" - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4I) Debug" - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4) Release" - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4) Debug" - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4T) Release" - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4T) Debug" - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE x86) Release" - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE x86) Debug" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.cpp - -!IF "$(CFG)" == "pjsua_wince - Win32 (WCE emulator) Release" - -DEP_CPP_STDAF=\ - ".\StdAfx.h"\ - -# ADD CPP /Yc"stdafx.h" - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_STDAF=\ - ".\StdAfx.h"\ - -# ADD CPP /Yc"stdafx.h" - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_STDAF=\ - ".\StdAfx.h"\ - -# ADD CPP /Yc"stdafx.h" - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_STDAF=\ - ".\StdAfx.h"\ - -# ADD CPP /Yc"stdafx.h" - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_STDAF=\ - ".\StdAfx.h"\ - -# ADD CPP /Yc"stdafx.h" - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_STDAF=\ - ".\StdAfx.h"\ - -# ADD CPP /Yc"stdafx.h" - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_STDAF=\ - ".\StdAfx.h"\ - -# ADD CPP /Yc"stdafx.h" - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_STDAF=\ - ".\StdAfx.h"\ - -# ADD CPP /Yc"stdafx.h" - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE x86) Release" - -DEP_CPP_STDAF=\ - ".\StdAfx.h"\ - -# ADD CPP /Yc"stdafx.h" - -!ELSEIF "$(CFG)" == "pjsua_wince - Win32 (WCE x86) Debug" - -DEP_CPP_STDAF=\ - ".\StdAfx.h"\ - -# ADD CPP /Yc"stdafx.h" - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\newres.h -# End Source File -# Begin Source File - -SOURCE=.\pjsua_wince.h -# End Source File -# Begin Source File - -SOURCE=.\resource.h -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\pjsua_wince.ico -# End Source File -# End Group -# Begin Source File - -SOURCE=.\ReadMe.txt -# End Source File -# End Target -# End Project diff --git a/res/pjproject/pjsip-apps/src/pjsua_wince/pjsua_wince.vcproj b/res/pjproject/pjsip-apps/src/pjsua_wince/pjsua_wince.vcproj deleted file mode 100644 index 91580b6cb4..0000000000 --- a/res/pjproject/pjsip-apps/src/pjsua_wince/pjsua_wince.vcproj +++ /dev/null @@ -1,3627 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjsip-apps/src/pjsua_wince/resource.h b/res/pjproject/pjsip-apps/src/pjsua_wince/resource.h deleted file mode 100644 index 27ce9f8cfa..0000000000 --- a/res/pjproject/pjsip-apps/src/pjsua_wince/resource.h +++ /dev/null @@ -1,28 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft eMbedded Visual C++ generated include file. -// Used by pjsua_wince.rc -// -#define IDS_APP_TITLE 1 -#define IDS_HELLO 2 -#define IDC_PJSUA_WINCE 3 -#define IDI_PJSUA_WINCE 101 -#define IDM_MENU 102 -#define IDD_ABOUTBOX 103 -#define IDM_FILE_EXIT 40002 -#define IDM_HELP_ABOUT 40003 -#define ID_MAKECALL 40004 -#define ID_ANSWER 40005 -#define ID_DISCONNECT 40006 -#define ID_ACTION 40007 -#define ID_EXIT 65535 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 104 -#define _APS_NEXT_COMMAND_VALUE 40008 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/res/pjproject/pjsip-apps/src/pjsystest/gui.h b/res/pjproject/pjsip-apps/src/pjsystest/gui.h deleted file mode 100644 index 5d3631d882..0000000000 --- a/res/pjproject/pjsip-apps/src/pjsystest/gui.h +++ /dev/null @@ -1,72 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __GUI_H__ -#define __GUI_H__ - -#include - -PJ_BEGIN_DECL - -typedef char gui_title[32]; - -typedef void (*gui_menu_handler) (void); - -typedef struct gui_menu -{ - gui_title title; - gui_menu_handler handler; - unsigned submenu_cnt; - struct gui_menu *submenus[16]; -} gui_menu; - -enum gui_flag -{ - WITH_OK = 0, - WITH_YESNO = 1, - WITH_OKCANCEL = 2 -}; - -enum gui_key -{ - KEY_CANCEL = '9', - KEY_NO = '0', - KEY_YES = '1', - KEY_OK = '1', -}; - -/* Initialize GUI with the menus and stuff */ -pj_status_t gui_init(gui_menu *menu); - -/* Run GUI main loop */ -pj_status_t gui_start(gui_menu *menu); - -/* Signal GUI mainloop to stop */ -void gui_destroy(void); - -/* AUX: display messagebox */ -enum gui_key gui_msgbox(const char *title, const char *message, enum gui_flag flag); - -/* AUX: sleep */ -void gui_sleep(unsigned sec); - - -PJ_END_DECL - - -#endif /* __GUI_H__ */ diff --git a/res/pjproject/pjsip-apps/src/pjsystest/main_console.c b/res/pjproject/pjsip-apps/src/pjsystest/main_console.c deleted file mode 100644 index 6c1aa6e80c..0000000000 --- a/res/pjproject/pjsip-apps/src/pjsystest/main_console.c +++ /dev/null @@ -1,144 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "systest.h" -#include "gui.h" -#include -#include - -static pj_bool_t console_quit; - -enum gui_key gui_msgbox(const char *title, const char *message, enum gui_flag flag) -{ - puts(title); - puts(message); - - for (;;) { - char input[10], *ret; - - if (flag == WITH_YESNO) - printf("%c:Yes %c:No ", KEY_YES, KEY_NO); - else if (flag == WITH_OK) - printf("%c:OK ", KEY_OK); - else if (flag == WITH_OKCANCEL) - printf("%c:OK %c:Cancel ", KEY_OK, KEY_CANCEL); - puts(""); - - ret = fgets(input, sizeof(input), stdin); - if (!ret) - return KEY_CANCEL; - - if (input[0]==KEY_NO || input[0]==KEY_YES || input[0]==KEY_CANCEL) - return (enum gui_key)input[0]; - } -} - -pj_status_t gui_init(gui_menu *menu) -{ - PJ_UNUSED_ARG(menu); - return PJ_SUCCESS; -} - -static void print_menu(const char *indent, char *menu_id, gui_menu *menu) -{ - char child_indent[16]; - unsigned i; - - pj_ansi_snprintf(child_indent, sizeof(child_indent), "%s ", indent); - - printf("%s%s: %s\n", indent, menu_id, menu->title); - - for (i=0; isubmenu_cnt; ++i) { - char child_id[10]; - - pj_ansi_sprintf(child_id, "%s%u", menu_id, i); - - if (!menu->submenus[i]) - puts(""); - else - print_menu(child_indent, child_id, menu->submenus[i]); - } -} - -pj_status_t gui_start(gui_menu *menu) -{ - while (!console_quit) { - unsigned i; - char input[10], *p; - gui_menu *choice; - - puts("M E N U :"); - puts("---------"); - for (i=0; isubmenu_cnt; ++i) { - char menu_id[4]; - pj_ansi_sprintf(menu_id, "%u", i); - print_menu("", menu_id, menu->submenus[i]); - } - puts(""); - printf("Enter the menu number: "); - - if (!fgets(input, sizeof(input), stdin)) - break; - - p = input; - choice = menu; - while (*p && *p!='\r' && *p!='\n') { - unsigned d = (*p - '0'); - if (d < 0 || d >= choice->submenu_cnt) { - puts("Invalid selection"); - choice = NULL; - break; - } - - choice = choice->submenus[d]; - ++p; - } - - if (choice && *p!='\r' && *p!='\n') { - puts("Invalid characters entered"); - continue; - } - - if (choice && choice->handler) - (*choice->handler)(); - } - - return PJ_SUCCESS; -} - -void gui_destroy(void) -{ - console_quit = PJ_TRUE; -} - -void gui_sleep(unsigned sec) -{ - pj_thread_sleep(sec * 1000); -} - -int main() -{ - if (systest_init() != PJ_SUCCESS) - return 1; - - systest_run(); - systest_deinit(); - - return 0; -} - diff --git a/res/pjproject/pjsip-apps/src/pjsystest/main_wm.c b/res/pjproject/pjsip-apps/src/pjsystest/main_wm.c deleted file mode 100644 index debe8dd30c..0000000000 --- a/res/pjproject/pjsip-apps/src/pjsystest/main_wm.c +++ /dev/null @@ -1,444 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "gui.h" -#include "systest.h" -#include - - -#include "gui.h" -#include -#include -#include -#include - -#define MAINWINDOWCLASS TEXT("SysTestDlg") -#define MAINWINDOWTITLE TEXT("PJSYSTEST") - -typedef struct menu_handler_t { - UINT id; - gui_menu_handler handler; -} menu_handler_t; - -static HINSTANCE g_hInst; -static HWND g_hWndMenuBar; -static HWND g_hWndMain; -static HWND g_hWndLog; -static pj_thread_t *g_log_thread; -static gui_menu *g_menu; -static unsigned g_menu_handler_cnt; -static menu_handler_t g_menu_handlers[64]; - -static pj_log_func *g_log_writer_orig; - -static pj_status_t gui_update_menu(gui_menu *menu); - -static void log_writer(int level, const char *buffer, int len) -{ - wchar_t buf[512]; - int cur_len; - - PJ_UNUSED_ARG(level); - - pj_ansi_to_unicode(buffer, len, buf, 512); - - if (!g_hWndLog) - return; - - /* For now, ignore log messages from other thread to avoid deadlock */ - if (g_log_thread == pj_thread_this()) { - cur_len = (int)SendMessage(g_hWndLog, WM_GETTEXTLENGTH, 0, 0); - SendMessage(g_hWndLog, EM_SETSEL, (WPARAM)cur_len, (LPARAM)cur_len); - SendMessage(g_hWndLog, EM_REPLACESEL, (WPARAM)0, (LPARAM)buf); - } - - //uncomment to forward to the original log writer - if (g_log_writer_orig) - (*g_log_writer_orig)(level, buffer, len); -} - -/* execute menu handler for id menu specified, return FALSE if menu handler - * is not found. - */ -static BOOL handle_menu(UINT id) -{ - unsigned i; - - for (i = 0; i < g_menu_handler_cnt; ++i) { - if (g_menu_handlers[i].id == id) { - /* menu handler found, execute it */ - (*g_menu_handlers[i].handler)(); - return TRUE; - } - } - - return FALSE; -} - -/* generate submenu and register the menu handler, then return next menu id */ -static UINT generate_submenu(HMENU parent, UINT id_start, gui_menu *menu) -{ - unsigned i; - UINT id = id_start; - - if (!menu) - return id; - - /* generate submenu */ - for (i = 0; i < menu->submenu_cnt; ++i) { - - if (menu->submenus[i] == NULL) { - - /* add separator */ - AppendMenu(parent, MF_SEPARATOR, 0, 0); - - } else if (menu->submenus[i]->submenu_cnt != 0) { - - /* this submenu item has children, generate popup menu */ - HMENU hMenu; - wchar_t buf[64]; - - pj_ansi_to_unicode(menu->submenus[i]->title, - pj_ansi_strlen(menu->submenus[i]->title), - buf, 64); - - hMenu = CreatePopupMenu(); - AppendMenu(parent, MF_STRING|MF_ENABLED|MF_POPUP, (UINT)hMenu, buf); - id = generate_submenu(hMenu, id, menu->submenus[i]); - - } else { - - /* this submenu item is leaf, register the handler */ - wchar_t buf[64]; - - pj_ansi_to_unicode(menu->submenus[i]->title, - pj_ansi_strlen(menu->submenus[i]->title), - buf, 64); - - AppendMenu(parent, MF_STRING, id, buf); - - if (menu->submenus[i]->handler) { - g_menu_handlers[g_menu_handler_cnt].id = id; - g_menu_handlers[g_menu_handler_cnt].handler = - menu->submenus[i]->handler; - ++g_menu_handler_cnt; - } - - ++id; - } - } - - return id; -} - -BOOL InitDialog() -{ - /* update menu */ - if (gui_update_menu(g_menu) != PJ_SUCCESS) - return FALSE; - - return TRUE; -} - -LRESULT CALLBACK DialogProc(const HWND hWnd, - const UINT Msg, - const WPARAM wParam, - const LPARAM lParam) -{ - LRESULT res = 0; - - switch (Msg) { - case WM_CREATE: - g_hWndMain = hWnd; - if (FALSE == InitDialog()){ - DestroyWindow(g_hWndMain); - } - break; - - case WM_CLOSE: - DestroyWindow(g_hWndMain); - break; - - case WM_DESTROY: - if (g_hWndMenuBar) - DestroyWindow(g_hWndMenuBar); - g_hWndMenuBar = NULL; - g_hWndMain = NULL; - PostQuitMessage(0); - break; - - case WM_HOTKEY: - /* Exit app when back is pressed. */ - if (VK_TBACK == HIWORD(lParam) && (0 != (MOD_KEYUP & LOWORD(lParam)))) { - DestroyWindow(g_hWndMain); - } else { - return DefWindowProc(hWnd, Msg, wParam, lParam); - } - break; - - case WM_COMMAND: - res = handle_menu(LOWORD(wParam)); - break; - - default: - return DefWindowProc(hWnd, Msg, wParam, lParam); - } - - return res; -} - - -/* === API === */ - -pj_status_t gui_init(gui_menu *menu) -{ - WNDCLASS wc; - HWND hWnd = NULL; - RECT r; - DWORD dwStyle; - - pj_status_t status = PJ_SUCCESS; - - /* Check if app is running. If it's running then focus on the window */ - hWnd = FindWindow(MAINWINDOWCLASS, MAINWINDOWTITLE); - - if (NULL != hWnd) { - SetForegroundWindow(hWnd); - return status; - } - - g_menu = menu; - - wc.style = CS_HREDRAW | CS_VREDRAW; - wc.lpfnWndProc = (WNDPROC)DialogProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = g_hInst; - wc.hIcon = 0; - wc.hCursor = 0; - wc.hbrBackground = (HBRUSH) GetStockObject(WHITE_BRUSH); - wc.lpszMenuName = 0; - wc.lpszClassName = MAINWINDOWCLASS; - - if (!RegisterClass(&wc) != 0) { - DWORD err = GetLastError(); - return PJ_RETURN_OS_ERROR(err); - } - - /* Create the app. window */ - g_hWndMain = CreateWindow(MAINWINDOWCLASS, MAINWINDOWTITLE, - WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, - CW_USEDEFAULT, CW_USEDEFAULT, - (HWND)NULL, NULL, g_hInst, (LPSTR)NULL); - - /* Create edit control to print log */ - GetClientRect(g_hWndMain, &r); - dwStyle = WS_CHILD | WS_VISIBLE | WS_VSCROLL | - ES_MULTILINE | ES_READONLY | ES_AUTOVSCROLL | ES_LEFT; - g_hWndLog = CreateWindow( - TEXT("EDIT"), // Class name - NULL, // Window text - dwStyle, // Window style - 0, // x-coordinate of the upper-left corner - 0, // y-coordinate of the upper-left corner - r.right-r.left, // Width of the window for the edit - // control - r.bottom-r.top, // Height of the window for the edit - // control - g_hWndMain, // Window handle to the parent window - (HMENU) 0, // Control identifier - g_hInst, // Instance handle - NULL); // Specify NULL for this parameter when - // you create a control - - /* Resize the log */ - if (g_hWndMenuBar) { - RECT r_menu = {0}; - - GetWindowRect(g_hWndLog, &r); - GetWindowRect(g_hWndMenuBar, &r_menu); - if (r.bottom > r_menu.top) { - MoveWindow(g_hWndLog, 0, 0, r.right-r.left, - (r.bottom-r.top)-(r_menu.bottom-r_menu.top), TRUE); - } - } - - /* Focus it, so SP user can scroll the log */ - SetFocus(g_hWndLog); - - /* Get the log thread */ - g_log_thread = pj_thread_this(); - - /* Redirect log & update log decor setting */ - /* - log_decor = pj_log_get_decor(); - log_decor = PJ_LOG_HAS_NEWLINE | PJ_LOG_HAS_CR; - pj_log_set_decor(log_decor); - */ - g_log_writer_orig = pj_log_get_log_func(); - pj_log_set_log_func(&log_writer); - - return status; -} - -static pj_status_t gui_update_menu(gui_menu *menu) -{ - enum { MENU_ID_START = 50000 }; - UINT id_start = MENU_ID_START; - HMENU hRootMenu; - SHMENUBARINFO mbi; - - /* delete existing menu */ - if (g_hWndMenuBar) { - DestroyWindow(g_hWndMenuBar); - g_hWndMenuBar = NULL; - } - - /* delete menu handler map */ - g_menu_handler_cnt = 0; - - /* smartphone can only have two root menus */ - pj_assert(menu->submenu_cnt <= 2); - - /* generate menu tree */ - hRootMenu = CreateMenu(); - id_start = generate_submenu(hRootMenu, id_start, menu); - - /* initialize menubar */ - ZeroMemory(&mbi, sizeof(SHMENUBARINFO)); - mbi.cbSize = sizeof(SHMENUBARINFO); - mbi.hwndParent = g_hWndMain; - mbi.dwFlags = SHCMBF_HIDESIPBUTTON|SHCMBF_HMENU; - mbi.nToolBarId = (UINT)hRootMenu; - mbi.hInstRes = g_hInst; - - if (FALSE == SHCreateMenuBar(&mbi)) { - DWORD err = GetLastError(); - return PJ_RETURN_OS_ERROR(err); - } - - /* store menu window handle */ - g_hWndMenuBar = mbi.hwndMB; - - /* store current menu */ - g_menu = menu; - - /* show the menu */ - DrawMenuBar(g_hWndMain); - ShowWindow(g_hWndMenuBar, SW_SHOW); - - /* override back button */ - SendMessage(g_hWndMenuBar, SHCMBM_OVERRIDEKEY, VK_TBACK, - MAKELPARAM(SHMBOF_NODEFAULT | SHMBOF_NOTIFY, - SHMBOF_NODEFAULT | SHMBOF_NOTIFY)); - - - return PJ_SUCCESS; -} - -enum gui_key gui_msgbox(const char *title, const char *message, enum gui_flag flag) -{ - wchar_t buf_title[64]; - wchar_t buf_msg[512]; - UINT wflag = 0; - int retcode; - - pj_ansi_to_unicode(title, pj_ansi_strlen(title), buf_title, 64); - pj_ansi_to_unicode(message, pj_ansi_strlen(message), buf_msg, 512); - - switch (flag) { - case WITH_OK: - wflag = MB_OK; - break; - case WITH_YESNO: - wflag = MB_YESNO; - break; - case WITH_OKCANCEL: - wflag = MB_OKCANCEL; - break; - } - - retcode = MessageBox(g_hWndMain, buf_msg, buf_title, wflag); - - switch (retcode) { - case IDOK: - return KEY_OK; - case IDYES: - return KEY_YES; - case IDNO: - return KEY_NO; - default: - return KEY_CANCEL; - } -} - -void gui_sleep(unsigned sec) -{ - pj_thread_sleep(sec * 1000); -} - -pj_status_t gui_start(gui_menu *menu) -{ - MSG msg; - - PJ_UNUSED_ARG(menu); - - while (GetMessage(&msg, NULL, 0, 0)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - - return (msg.wParam); -} - -void gui_destroy(void) -{ - if (g_hWndMain) { - DestroyWindow(g_hWndMain); - g_hWndMain = NULL; - } -} - - -int WINAPI WinMain( - HINSTANCE hInstance, - HINSTANCE hPrevInstance, - LPWSTR lpCmdLine, - int nShowCmd -) -{ - int status; - - PJ_UNUSED_ARG(hPrevInstance); - PJ_UNUSED_ARG(lpCmdLine); - PJ_UNUSED_ARG(nShowCmd); - - // store the hInstance in global - g_hInst = hInstance; - - status = systest_init(); - if (status != 0) - goto on_return; - - status = systest_run(); - -on_return: - systest_deinit(); - - return status; -} diff --git a/res/pjproject/pjsip-apps/src/pjsystest/pjsystest_wince.rc b/res/pjproject/pjsip-apps/src/pjsystest/pjsystest_wince.rc deleted file mode 100644 index c38e55c251..0000000000 --- a/res/pjproject/pjsip-apps/src/pjsystest/pjsystest_wince.rc +++ /dev/null @@ -1,108 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "#include ""pjsystest_wince.rc2""\r\n" - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_MAIN_DIALOG DIALOG 0, 0, 82, 73 -STYLE DS_SETFONT | WS_VISIBLE | WS_VSCROLL -FONT 8, "MS Sans Serif" -BEGIN - EDITTEXT IDC_EDIT1,7,7,57,59,ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_MAIN_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 64 - TOPMARGIN, 7 - BOTTOMMARGIN, 66 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE -BEGIN - IDS_MAIN_TITLE "PJSYSTEST" -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#include "pjsystest_wince.rc2" - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/res/pjproject/pjsip-apps/src/pjsystest/pjsystest_wince.rc2 b/res/pjproject/pjsip-apps/src/pjsystest/pjsystest_wince.rc2 deleted file mode 100644 index 7529ea0361..0000000000 --- a/res/pjproject/pjsip-apps/src/pjsystest/pjsystest_wince.rc2 +++ /dev/null @@ -1,10 +0,0 @@ -#ifdef APSTUDIO_INVOKED - #error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - - -///////////////////////////////////////////////////////////////////////////// diff --git a/res/pjproject/pjsip-apps/src/pjsystest/resource.h b/res/pjproject/pjsip-apps/src/pjsystest/resource.h deleted file mode 100644 index f5208b6531..0000000000 --- a/res/pjproject/pjsip-apps/src/pjsystest/resource.h +++ /dev/null @@ -1,18 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by pjsystest_wince.rc -// -#define IDD_MAIN_DIALOG 101 -#define IDS_MAIN_TITLE 102 -#define IDC_EDIT1 1001 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 103 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1002 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/res/pjproject/pjsip-apps/src/pjsystest/systest.c b/res/pjproject/pjsip-apps/src/pjsystest/systest.c deleted file mode 100644 index 63ca849d3e..0000000000 --- a/res/pjproject/pjsip-apps/src/pjsystest/systest.c +++ /dev/null @@ -1,1369 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "systest.h" -#include "gui.h" - -#define THIS_FILE "systest.c" - -unsigned test_item_count; -test_item_t test_items[SYSTEST_MAX_TEST]; -char doc_path[PATH_LENGTH] = {0}; -char res_path[PATH_LENGTH] = {0}; -char fpath[PATH_LENGTH]; - -#define USER_ERROR "User used said not okay" - -static void systest_wizard(void); -static void systest_list_audio_devs(void); -static void systest_display_settings(void); -static void systest_play_tone(void); -static void systest_play_wav1(void); -static void systest_play_wav2(void); -static void systest_rec_audio(void); -static void systest_audio_test(void); -static void systest_latency_test(void); -static void systest_aec_test(void); -static void exit_app(void); - -/* Menus */ -static gui_menu menu_exit = { "Exit", &exit_app }; - -static gui_menu menu_wizard = { "Run test wizard", &systest_wizard }; -static gui_menu menu_playtn = { "Play Tone", &systest_play_tone }; -static gui_menu menu_playwv1 = { "Play WAV File1", &systest_play_wav1 }; -static gui_menu menu_playwv2 = { "Play WAV File2", &systest_play_wav2 }; -static gui_menu menu_recaud = { "Record Audio", &systest_rec_audio }; -static gui_menu menu_audtest = { "Device Test", &systest_audio_test }; -static gui_menu menu_calclat = { "Latency Test", &systest_latency_test }; -static gui_menu menu_sndaec = { "AEC/AES Test", &systest_aec_test }; - -static gui_menu menu_listdev = { "View Devices", &systest_list_audio_devs }; -static gui_menu menu_getsets = { "View Settings", &systest_display_settings }; - -static gui_menu menu_tests = { - "Tests", NULL, - 10, - { - &menu_wizard, - &menu_audtest, - &menu_playtn, - &menu_playwv1, - &menu_playwv2, - &menu_recaud, - &menu_calclat, - &menu_sndaec, - NULL, - &menu_exit - } -}; - -static gui_menu menu_options = { - "Options", NULL, - 2, - { - &menu_listdev, - &menu_getsets, - } -}; - -static gui_menu root_menu = { - "Root", NULL, 2, {&menu_tests, &menu_options} -}; - -/*****************************************************************/ - -#if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 -PJ_INLINE(char *) add_path(const char *path, const char *fname) -{ - strncpy(fpath, path, PATH_LENGTH); - strncat(fpath, fname, PATH_LENGTH); - return fpath; -} -#else -# define add_path(path, fname) fname -#endif - -static void exit_app(void) -{ - systest_save_result(add_path(doc_path, RESULT_OUT_PATH)); - gui_destroy(); -} - - -#include -#include - -typedef struct systest_t -{ - pjsua_config ua_cfg; - pjsua_media_config media_cfg; - pjmedia_aud_dev_index rec_id; - pjmedia_aud_dev_index play_id; -} systest_t; - -static systest_t systest; -static char textbuf[600]; - -/* Device ID to test */ -int systest_cap_dev_id = PJMEDIA_AUD_DEFAULT_CAPTURE_DEV; -int systest_play_dev_id = PJMEDIA_AUD_DEFAULT_PLAYBACK_DEV; - -static void systest_perror(const char *title, pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - char themsg[PJ_ERR_MSG_SIZE + 100]; - - if (status != PJ_SUCCESS) - pj_strerror(status, errmsg, sizeof(errmsg)); - else - errmsg[0] = '\0'; - - strcpy(themsg, title); - strncat(themsg, errmsg, sizeof(themsg)-1); - themsg[sizeof(themsg)-1] = '\0'; - - gui_msgbox("Error", themsg, WITH_OK); -} - -test_item_t *systest_alloc_test_item(const char *title) -{ - test_item_t *ti; - - if (test_item_count == SYSTEST_MAX_TEST) { - gui_msgbox("Error", "You have done too many tests", WITH_OK); - return NULL; - } - - ti = &test_items[test_item_count++]; - pj_bzero(ti, sizeof(*ti)); - pj_ansi_strcpy(ti->title, title); - - return ti; -} - -/***************************************************************************** - * test: play simple ringback tone and hear it - */ -static void systest_play_tone(void) -{ - /* Ringtones */ - #define RINGBACK_FREQ1 440 /* 400 */ - #define RINGBACK_FREQ2 480 /* 450 */ - #define RINGBACK_ON 3000 /* 400 */ - #define RINGBACK_OFF 4000 /* 200 */ - #define RINGBACK_CNT 1 /* 2 */ - #define RINGBACK_INTERVAL 4000 /* 2000 */ - - unsigned i, samples_per_frame; - pjmedia_tone_desc tone[RINGBACK_CNT]; - pj_pool_t *pool = NULL; - pjmedia_port *ringback_port = NULL; - enum gui_key key; - int ringback_slot = -1; - test_item_t *ti; - pj_str_t name; - const char *title = "Audio Tone Playback Test"; - pj_status_t status; - - ti = systest_alloc_test_item(title); - if (!ti) - return; - - key = gui_msgbox(title, - "This test will play simple ringback tone to " - "the speaker. Please listen carefully for audio " - "impairments such as stutter. You may need " - "to let this test running for a while to " - "make sure that everything is okay. Press " - "OK to start, CANCEL to skip", - WITH_OKCANCEL); - if (key != KEY_OK) { - ti->skipped = PJ_TRUE; - return; - } - - PJ_LOG(3,(THIS_FILE, "Running %s", title)); - - pool = pjsua_pool_create("ringback", 512, 512); - samples_per_frame = systest.media_cfg.audio_frame_ptime * - systest.media_cfg.clock_rate * - systest.media_cfg.channel_count / 1000; - - /* Ringback tone (call is ringing) */ - name = pj_str("ringback"); - status = pjmedia_tonegen_create2(pool, &name, - systest.media_cfg.clock_rate, - systest.media_cfg.channel_count, - samples_per_frame, - 16, PJMEDIA_TONEGEN_LOOP, - &ringback_port); - if (status != PJ_SUCCESS) - goto on_return; - - pj_bzero(&tone, sizeof(tone)); - for (i=0; isuccess = PJ_FALSE; - pj_strerror(status, ti->reason, sizeof(ti->reason)); - } else { - key = gui_msgbox(title, "Is the audio okay?", WITH_YESNO); - ti->success = (key == KEY_YES); - if (!ti->success) - pj_ansi_strcpy(ti->reason, USER_ERROR); - } - return; -} - -/* Util: create file player, each time trying different paths until we get - * the file. - */ -static pj_status_t create_player(unsigned path_cnt, const char *paths[], - pjsua_player_id *p_id) -{ - pj_str_t name; - pj_status_t status = PJ_ENOTFOUND; - unsigned i; - - for (i=0; iskipped = PJ_TRUE; - return; - } - - PJ_LOG(3,(THIS_FILE, "Running %s", title)); - - /* WAV port */ - status = create_player(path_cnt, paths, &play_id); - if (status != PJ_SUCCESS) - goto on_return; - - status = pjsua_conf_connect(pjsua_player_get_conf_port(play_id), 0); - if (status != PJ_SUCCESS) - goto on_return; - - key = gui_msgbox(title, - "WAV file should be playing now in the " - "speaker. Press OK to stop. ", WITH_OK); - - status = PJ_SUCCESS; - -on_return: - if (play_id != -1) - pjsua_player_destroy(play_id); - - if (status != PJ_SUCCESS) { - systest_perror("Sorry we've encountered error", status); - ti->success = PJ_FALSE; - pj_strerror(status, ti->reason, sizeof(ti->reason)); - } else { - key = gui_msgbox(title, "Is the audio okay?", WITH_YESNO); - ti->success = (key == KEY_YES); - if (!ti->success) - pj_ansi_strcpy(ti->reason, USER_ERROR); - } - return; -} - -static void systest_play_wav1(void) -{ - const char *paths[] = { add_path(res_path, WAV_PLAYBACK_PATH), - ALT_PATH1 WAV_PLAYBACK_PATH }; - systest_play_wav(PJ_ARRAY_SIZE(paths), paths); -} - -static void systest_play_wav2(void) -{ - const char *paths[] = { add_path(res_path, WAV_TOCK8_PATH), - ALT_PATH1 WAV_TOCK8_PATH}; - systest_play_wav(PJ_ARRAY_SIZE(paths), paths); -} - - -/***************************************************************************** - * test: record audio - */ -static void systest_rec_audio(void) -{ - const pj_str_t filename = pj_str(add_path(doc_path, WAV_REC_OUT_PATH)); - pj_pool_t *pool = NULL; - enum gui_key key; - pjsua_recorder_id rec_id = PJSUA_INVALID_ID; - pjsua_player_id play_id = PJSUA_INVALID_ID; - pjsua_conf_port_id rec_slot = PJSUA_INVALID_ID; - pjsua_conf_port_id play_slot = PJSUA_INVALID_ID; - pj_status_t status = PJ_SUCCESS; - const char *title = "Audio Recording"; - test_item_t *ti; - - ti = systest_alloc_test_item(title); - if (!ti) - return; - - key = gui_msgbox(title, - "This test will allow you to record audio " - "from the microphone, and playback the " - "audio to the speaker. Press OK to start recording, " - "CANCEL to skip.", - WITH_OKCANCEL); - if (key != KEY_OK) { - ti->skipped = PJ_TRUE; - return; - } - - PJ_LOG(3,(THIS_FILE, "Running %s", title)); - - pool = pjsua_pool_create("rectest", 512, 512); - - status = pjsua_recorder_create(&filename, 0, NULL, -1, 0, &rec_id); - if (status != PJ_SUCCESS) - goto on_return; - - rec_slot = pjsua_recorder_get_conf_port(rec_id); - - status = pjsua_conf_connect(0, rec_slot); - if (status != PJ_SUCCESS) - goto on_return; - - key = gui_msgbox(title, - "Recording is in progress now, please say " - "something in the microphone. Press OK " - "to stop recording", WITH_OK); - - pjsua_conf_disconnect(0, rec_slot); - rec_slot = PJSUA_INVALID_ID; - pjsua_recorder_destroy(rec_id); - rec_id = PJSUA_INVALID_ID; - - status = pjsua_player_create(&filename, 0, &play_id); - if (status != PJ_SUCCESS) - goto on_return; - - play_slot = pjsua_player_get_conf_port(play_id); - - status = pjsua_conf_connect(play_slot, 0); - if (status != PJ_SUCCESS) - goto on_return; - - key = gui_msgbox(title, - "Recording has been stopped. " - "The recorded audio is being played now to " - "the speaker device, in a loop. Listen for " - "any audio impairments. Press OK to stop.", - WITH_OK); - -on_return: - if (rec_slot != PJSUA_INVALID_ID) - pjsua_conf_disconnect(0, rec_slot); - if (rec_id != PJSUA_INVALID_ID) - pjsua_recorder_destroy(rec_id); - if (play_slot != PJSUA_INVALID_ID) - pjsua_conf_disconnect(play_slot, 0); - if (play_id != PJSUA_INVALID_ID) - pjsua_player_destroy(play_id); - if (pool) - pj_pool_release(pool); - - if (status != PJ_SUCCESS) { - systest_perror("Sorry we encountered an error: ", status); - ti->success = PJ_FALSE; - pj_strerror(status, ti->reason, sizeof(ti->reason)); - } else { - key = gui_msgbox(title, "Is the audio okay?", WITH_YESNO); - ti->success = (key == KEY_YES); - if (!ti->success) { - pj_ansi_snprintf(textbuf, sizeof(textbuf), - "You will probably need to copy the recorded " - "WAV file %s to a desktop computer and analyze " - "it, to find out whether it's a recording " - "or playback problem.", - WAV_REC_OUT_PATH); - gui_msgbox(title, textbuf, WITH_OK); - pj_ansi_strcpy(ti->reason, USER_ERROR); - } - } -} - - -/**************************************************************************** - * test: audio system test - */ -static void systest_audio_test(void) -{ - enum { - GOOD_MAX_INTERVAL = 5, - }; - const pjmedia_dir dir = PJMEDIA_DIR_CAPTURE_PLAYBACK; - pjmedia_aud_param param; - pjmedia_aud_test_results result; - int textbufpos; - enum gui_key key; - unsigned problem_count = 0; - const char *problems[16]; - char drifttext[120]; - test_item_t *ti; - const char *title = "Audio Device Test"; - pj_status_t status; - - ti = systest_alloc_test_item(title); - if (!ti) - return; - - key = gui_msgbox(title, - "This will run an automated test for about " - "ten seconds or so, and display some " - "statistics about your sound device. " - "Please don't do anything until the test completes. " - "Press OK to start, or CANCEL to skip this test.", - WITH_OKCANCEL); - if (key != KEY_OK) { - ti->skipped = PJ_TRUE; - return; - } - - PJ_LOG(3,(THIS_FILE, "Running %s", title)); - - /* Disable sound device in pjsua first */ - pjsua_set_no_snd_dev(); - - /* Setup parameters */ - status = pjmedia_aud_dev_default_param(systest.play_id, ¶m); - if (status != PJ_SUCCESS) { - systest_perror("Sorry we had error in pjmedia_aud_dev_default_param()", status); - pjsua_set_snd_dev(systest.rec_id, systest.play_id); - ti->success = PJ_FALSE; - pj_strerror(status, ti->reason, sizeof(ti->reason)); - ti->reason[sizeof(ti->reason)-1] = '\0'; - return; - } - - param.dir = dir; - param.rec_id = systest.rec_id; - param.play_id = systest.play_id; - param.clock_rate = systest.media_cfg.snd_clock_rate; - param.channel_count = systest.media_cfg.channel_count; - param.samples_per_frame = param.clock_rate * param.channel_count * - systest.media_cfg.audio_frame_ptime / 1000; - - /* Latency settings */ - param.flags |= (PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY | - PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY); - param.input_latency_ms = systest.media_cfg.snd_rec_latency; - param.output_latency_ms = systest.media_cfg.snd_play_latency; - - /* Run the test */ - status = pjmedia_aud_test(¶m, &result); - if (status != PJ_SUCCESS) { - systest_perror("Sorry we encountered error with the test", status); - pjsua_set_snd_dev(systest.rec_id, systest.play_id); - ti->success = PJ_FALSE; - pj_strerror(status, ti->reason, sizeof(ti->reason)); - ti->reason[sizeof(ti->reason)-1] = '\0'; - return; - } - - /* Restore pjsua sound device */ - pjsua_set_snd_dev(systest.rec_id, systest.play_id); - - /* Analyze the result! */ - strcpy(textbuf, "Here are the audio statistics:\r\n"); - textbufpos = strlen(textbuf); - - if (result.rec.frame_cnt==0) { - problems[problem_count++] = - "No audio frames were captured from the microphone. " - "This means the audio device is not working properly."; - } else { - pj_ansi_snprintf(textbuf+textbufpos, - sizeof(textbuf)-textbufpos, - "Rec : interval (min/max/avg/dev)=\r\n" - " %u/%u/%u/%u (ms)\r\n" - " max burst=%u\r\n", - result.rec.min_interval, - result.rec.max_interval, - result.rec.avg_interval, - result.rec.dev_interval, - result.rec.max_burst); - textbufpos = strlen(textbuf); - - if (result.rec.max_burst > GOOD_MAX_INTERVAL) { - problems[problem_count++] = - "Recording max burst is quite high"; - } - } - - if (result.play.frame_cnt==0) { - problems[problem_count++] = - "No audio frames were played to the speaker. " - "This means the audio device is not working properly."; - } else { - pj_ansi_snprintf(textbuf+textbufpos, - sizeof(textbuf)-textbufpos, - "Play: interval (min/max/avg/dev)=\r\n" - " %u/%u/%u/%u (ms)\r\n" - " burst=%u\r\n", - result.play.min_interval, - result.play.max_interval, - result.play.avg_interval, - result.play.dev_interval, - result.play.max_burst); - textbufpos = strlen(textbuf); - - if (result.play.max_burst > GOOD_MAX_INTERVAL) { - problems[problem_count++] = - "Playback max burst is quite high"; - } - } - - if (result.rec_drift_per_sec) { - const char *which = result.rec_drift_per_sec>=0 ? "faster" : "slower"; - unsigned drift = result.rec_drift_per_sec>=0 ? - result.rec_drift_per_sec : - -result.rec_drift_per_sec; - - pj_ansi_snprintf(drifttext, sizeof(drifttext), - "Clock drifts detected. Capture " - "is %d samples/sec %s " - "than the playback device", - drift, which); - problems[problem_count++] = drifttext; - } - - if (problem_count == 0) { - pj_ansi_snprintf(textbuf+textbufpos, - sizeof(textbuf)-textbufpos, - "\r\nThe sound device seems to be okay!"); - textbufpos = strlen(textbuf); - - key = gui_msgbox("Audio Device Test", textbuf, WITH_OK); - } else { - unsigned i; - - pj_ansi_snprintf(textbuf+textbufpos, - sizeof(textbuf)-textbufpos, - "There could be %d problem(s) with the " - "sound device:\r\n", - problem_count); - textbufpos = strlen(textbuf); - - for (i=0; isuccess = PJ_TRUE; - pj_ansi_strncpy(ti->reason, textbuf, sizeof(ti->reason)); - ti->reason[sizeof(ti->reason)-1] = '\0'; -} - - -/**************************************************************************** - * sound latency test - */ -static int calculate_latency(pj_pool_t *pool, pjmedia_port *wav, - unsigned *lat_sum, unsigned *lat_cnt, - unsigned *lat_min, unsigned *lat_max) -{ - pjmedia_frame frm; - short *buf; - unsigned i, clock_rate, samples_per_frame, read, len; - unsigned start_pos; - pj_bool_t first; - pj_status_t status; - - *lat_sum = 0; - *lat_cnt = 0; - *lat_min = 10000; - *lat_max = 0; - - samples_per_frame = PJMEDIA_PIA_SPF(&wav->info); - clock_rate = PJMEDIA_PIA_SRATE(&wav->info); - frm.buf = pj_pool_alloc(pool, samples_per_frame * 2); - frm.size = samples_per_frame * 2; - len = pjmedia_wav_player_get_len(wav); - buf = pj_pool_alloc(pool, len + samples_per_frame); - - /* Read the whole file */ - read = 0; - while (read < len/2) { - status = pjmedia_port_get_frame(wav, &frm); - if (status != PJ_SUCCESS) - break; - - pjmedia_copy_samples(buf+read, (short*)frm.buf, samples_per_frame); - read += samples_per_frame; - } - - if (read < 2 * clock_rate) { - systest_perror("The WAV file is too short", PJ_SUCCESS); - return -1; - } - - /* Zero the first 500ms to remove loud click noises - * (keypad press, etc.) - */ - pjmedia_zero_samples(buf, clock_rate / 2); - - /* Loop to calculate latency */ - start_pos = 0; - first = PJ_TRUE; - while (start_pos < len/2 - clock_rate) { - int max_signal = 0; - unsigned max_signal_pos = start_pos; - unsigned max_echo_pos = 0; - unsigned pos; - unsigned lat; - - /* Get the largest signal in the next 0.7s */ - for (i=start_pos; i max_signal) { - max_signal = abs(buf[i]); - max_signal_pos = i; - } - } - - /* Advance 10ms from max_signal_pos */ - pos = max_signal_pos + 10 * clock_rate / 1000; - - /* Get the largest signal in the next 800ms */ - max_signal = 0; - max_echo_pos = pos; - for (i=pos; i max_signal) { - max_signal = abs(buf[i]); - max_echo_pos = i; - } - } - - lat = (max_echo_pos - max_signal_pos) * 1000 / clock_rate; - -#if 0 - PJ_LOG(4,(THIS_FILE, "Signal at %dms, echo at %d ms, latency %d ms", - max_signal_pos * 1000 / clock_rate, - max_echo_pos * 1000 / clock_rate, - lat)); -#endif - - *lat_sum += lat; - (*lat_cnt)++; - if (lat < *lat_min) - *lat_min = lat; - if (lat > *lat_max) - *lat_max = lat; - - /* Advance next loop */ - if (first) { - start_pos = max_signal_pos + clock_rate * 9 / 10; - first = PJ_FALSE; - } else { - start_pos += clock_rate; - } - } - - return 0; -} - - -static void systest_latency_test(void) -{ - const char *ref_wav_paths[] = { add_path(res_path, WAV_TOCK8_PATH), ALT_PATH1 WAV_TOCK8_PATH }; - pj_str_t rec_wav_file; - pjsua_player_id play_id = PJSUA_INVALID_ID; - pjsua_conf_port_id play_slot = PJSUA_INVALID_ID; - pjsua_recorder_id rec_id = PJSUA_INVALID_ID; - pjsua_conf_port_id rec_slot = PJSUA_INVALID_ID; - pj_pool_t *pool = NULL; - pjmedia_port *wav_port = NULL; - unsigned lat_sum=0, lat_cnt=0, lat_min=0, lat_max=0; - enum gui_key key; - test_item_t *ti; - const char *title = "Audio Latency Test"; - pj_status_t status; - - ti = systest_alloc_test_item(title); - if (!ti) - return; - - key = gui_msgbox(title, - "This test will try to find the audio device's " - "latency. We will play a special WAV file to the " - "speaker for ten seconds, then at the end " - "calculate the latency. Please don't do anything " - "until the test is done.", WITH_OKCANCEL); - if (key != KEY_OK) { - ti->skipped = PJ_TRUE; - return; - } - key = gui_msgbox(title, - "For this test to work, we must be able to capture " - "the audio played in the speaker (the echo), and only" - " that audio (i.e. you must be in relatively quiet " - "place to run this test). " - "Press OK to start, or CANCEL to skip.", - WITH_OKCANCEL); - if (key != KEY_OK) { - ti->skipped = PJ_TRUE; - return; - } - - PJ_LOG(3,(THIS_FILE, "Running %s", title)); - - status = create_player(PJ_ARRAY_SIZE(ref_wav_paths), ref_wav_paths, - &play_id); - if (status != PJ_SUCCESS) - goto on_return; - - play_slot = pjsua_player_get_conf_port(play_id); - - rec_wav_file = pj_str(add_path(doc_path, WAV_LATENCY_OUT_PATH)); - status = pjsua_recorder_create(&rec_wav_file, 0, NULL, -1, 0, &rec_id); - if (status != PJ_SUCCESS) - goto on_return; - - rec_slot = pjsua_recorder_get_conf_port(rec_id); - - /* Setup the test */ - //status = pjsua_conf_connect(0, 0); - status = pjsua_conf_connect(play_slot, 0); - status = pjsua_conf_connect(0, rec_slot); - status = pjsua_conf_connect(play_slot, rec_slot); - - - /* We're running */ - PJ_LOG(3,(THIS_FILE, "Please wait while test is running (~10 sec)")); - gui_sleep(10); - - /* Done with the test */ - //status = pjsua_conf_disconnect(0, 0); - status = pjsua_conf_disconnect(play_slot, rec_slot); - status = pjsua_conf_disconnect(0, rec_slot); - status = pjsua_conf_disconnect(play_slot, 0); - - pjsua_recorder_destroy(rec_id); - rec_id = PJSUA_INVALID_ID; - - pjsua_player_destroy(play_id); - play_id = PJSUA_INVALID_ID; - - /* Confirm that echo is heard */ - gui_msgbox(title, - "Test is done. Now we need to confirm that we indeed " - "captured the echo. We will play the captured audio " - "and please confirm that you can hear the 'tock' echo.", - WITH_OK); - - status = pjsua_player_create(&rec_wav_file, 0, &play_id); - if (status != PJ_SUCCESS) - goto on_return; - - play_slot = pjsua_player_get_conf_port(play_id); - - status = pjsua_conf_connect(play_slot, 0); - if (status != PJ_SUCCESS) - goto on_return; - - key = gui_msgbox(title, - "The captured audio is being played back now. " - "Can you hear the 'tock' echo?", - WITH_YESNO); - - pjsua_player_destroy(play_id); - play_id = PJSUA_INVALID_ID; - - if (key != KEY_YES) - goto on_return; - - /* Now analyze the latency */ - pool = pjsua_pool_create("latency", 512, 512); - - status = pjmedia_wav_player_port_create(pool, rec_wav_file.ptr, 0, 0, 0, &wav_port); - if (status != PJ_SUCCESS) - goto on_return; - - status = calculate_latency(pool, wav_port, &lat_sum, &lat_cnt, - &lat_min, &lat_max); - if (status != PJ_SUCCESS) - goto on_return; - -on_return: - if (wav_port) - pjmedia_port_destroy(wav_port); - if (pool) - pj_pool_release(pool); - if (play_id != PJSUA_INVALID_ID) - pjsua_player_destroy(play_id); - if (rec_id != PJSUA_INVALID_ID) - pjsua_recorder_destroy(rec_id); - - if (status != PJ_SUCCESS) { - systest_perror("Sorry we encountered an error: ", status); - ti->success = PJ_FALSE; - pj_strerror(status, ti->reason, sizeof(ti->reason)); - } else if (key != KEY_YES) { - ti->success = PJ_FALSE; - if (!ti->success) { - pj_ansi_strcpy(ti->reason, USER_ERROR); - } - } else { - char msg[200]; - int msglen; - - pj_ansi_snprintf(msg, sizeof(msg), - "The sound device latency:\r\n" - " Min=%u, Max=%u, Avg=%u\r\n", - lat_min, lat_max, lat_sum/lat_cnt); - msglen = strlen(msg); - - if (lat_sum/lat_cnt > 500) { - pj_ansi_snprintf(msg+msglen, sizeof(msg)-msglen, - "The latency is huge!\r\n"); - msglen = strlen(msg); - } else if (lat_sum/lat_cnt > 200) { - pj_ansi_snprintf(msg+msglen, sizeof(msg)-msglen, - "The latency is quite high\r\n"); - msglen = strlen(msg); - } - - key = gui_msgbox(title, msg, WITH_OK); - - ti->success = PJ_TRUE; - pj_ansi_strncpy(ti->reason, msg, sizeof(ti->reason)); - ti->reason[sizeof(ti->reason)-1] = '\0'; - } -} - - -static void systest_aec_test(void) -{ - const char *ref_wav_paths[] = { add_path(res_path, WAV_PLAYBACK_PATH), - ALT_PATH1 WAV_PLAYBACK_PATH }; - pjsua_player_id player_id = PJSUA_INVALID_ID; - pjsua_recorder_id writer_id = PJSUA_INVALID_ID; - enum gui_key key; - test_item_t *ti; - const char *title = "AEC/AES Test"; - unsigned last_ec_tail = 0; - pj_status_t status; - pj_str_t tmp; - - ti = systest_alloc_test_item(title); - if (!ti) - return; - - key = gui_msgbox(title, - "This test will try to find whether the AEC/AES " - "works good on this system. Test will play a file " - "while recording from mic. The recording will be " - "played back later so you can check if echo is there. " - "Press OK to start.", - WITH_OKCANCEL); - if (key != KEY_OK) { - ti->skipped = PJ_TRUE; - return; - } - - /* Save current EC tail */ - status = pjsua_get_ec_tail(&last_ec_tail); - if (status != PJ_SUCCESS) - goto on_return; - - /* Set EC tail setting to default */ - status = pjsua_set_ec(PJSUA_DEFAULT_EC_TAIL_LEN, 0); - if (status != PJ_SUCCESS) - goto on_return; - - /* - * Create player and recorder - */ - status = create_player(PJ_ARRAY_SIZE(ref_wav_paths), ref_wav_paths, - &player_id); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, "Error opening WAV file %s", - WAV_PLAYBACK_PATH)); - goto on_return; - } - - status = pjsua_recorder_create( - pj_cstr(&tmp, add_path(doc_path, AEC_REC_PATH)), 0, 0, -1, - 0, &writer_id); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, "Error writing WAV file %s", - AEC_REC_PATH)); - goto on_return; - } - - /* - * Start playback and recording. - */ - pjsua_conf_connect(pjsua_player_get_conf_port(player_id), 0); - pj_thread_sleep(100); - pjsua_conf_connect(0, pjsua_recorder_get_conf_port(writer_id)); - - /* Wait user signal */ - gui_msgbox(title, "AEC/AES test is running. Press OK to stop this test.", - WITH_OK); - - /* - * Stop and close playback and recorder - */ - pjsua_conf_disconnect(0, pjsua_recorder_get_conf_port(writer_id)); - pjsua_conf_disconnect(pjsua_player_get_conf_port(player_id), 0); - pjsua_recorder_destroy(writer_id); - pjsua_player_destroy(player_id); - player_id = PJSUA_INVALID_ID; - writer_id = PJSUA_INVALID_ID; - - /* - * Play the result. - */ - status = pjsua_player_create( - pj_cstr(&tmp, add_path(doc_path, AEC_REC_PATH)), - 0, &player_id); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, "Error opening WAV file %s", AEC_REC_PATH)); - goto on_return; - } - pjsua_conf_connect(pjsua_player_get_conf_port(player_id), 0); - - /* Wait user signal */ - gui_msgbox(title, "We are now playing the captured audio from the mic. " - "Check if echo (of the audio played back previously) is " - "present in the audio. The recording is stored in " - AEC_REC_PATH " for offline analysis. " - "Press OK to stop.", - WITH_OK); - - pjsua_conf_disconnect(pjsua_player_get_conf_port(player_id), 0); - - key = gui_msgbox(title, - "Did you notice any echo in the recording?", - WITH_YESNO); - - -on_return: - if (player_id != PJSUA_INVALID_ID) - pjsua_player_destroy(player_id); - if (writer_id != PJSUA_INVALID_ID) - pjsua_recorder_destroy(writer_id); - - /* Wait until sound device closed before restoring back EC tail setting */ - while (pjsua_snd_is_active()) - pj_thread_sleep(10); - pjsua_set_ec(last_ec_tail, 0); - - - if (status != PJ_SUCCESS) { - systest_perror("Sorry we encountered an error: ", status); - ti->success = PJ_FALSE; - pj_strerror(status, ti->reason, sizeof(ti->reason)); - } else if (key == KEY_YES) { - ti->success = PJ_FALSE; - if (!ti->success) { - pj_ansi_strcpy(ti->reason, USER_ERROR); - } - } else { - char msg[200]; - - pj_ansi_snprintf(msg, sizeof(msg), "Test succeeded.\r\n"); - - ti->success = PJ_TRUE; - pj_ansi_strncpy(ti->reason, msg, sizeof(ti->reason)); - ti->reason[sizeof(ti->reason)-1] = '\0'; - } -} - - -/**************************************************************************** - * configurations - */ -static void systest_list_audio_devs() -{ - unsigned i, dev_count, len=0; - pj_status_t status; - test_item_t *ti; - enum gui_key key; - const char *title = "Audio Device List"; - - ti = systest_alloc_test_item(title); - if (!ti) - return; - - PJ_LOG(3,(THIS_FILE, "Running %s", title)); - - dev_count = pjmedia_aud_dev_count(); - if (dev_count == 0) { - key = gui_msgbox(title, - "No audio devices are found", WITH_OK); - ti->success = PJ_FALSE; - pj_ansi_strcpy(ti->reason, "No device found"); - return; - } - - pj_ansi_snprintf(ti->reason+len, sizeof(ti->reason)-len, - "Found %u devices\r\n", dev_count); - len = strlen(ti->reason); - - for (i=0; isuccess = PJ_FALSE; - pj_strerror(status, ti->reason, sizeof(ti->reason)); - return; - } - - pj_ansi_snprintf(ti->reason+len, sizeof(ti->reason)-len, - " %2d: %s [%s] (%d/%d)\r\n", - i, info.driver, info.name, - info.input_count, info.output_count); - len = strlen(ti->reason); - } - - ti->reason[len] = '\0'; - key = gui_msgbox(title, ti->reason, WITH_OK); - - ti->success = PJ_TRUE; -} - -static void systest_display_settings(void) -{ - pjmedia_aud_dev_info di; - int len = 0; - enum gui_key key; - test_item_t *ti; - const char *title = "Audio Settings"; - pj_status_t status; - - ti = systest_alloc_test_item(title); - if (!ti) - return; - - PJ_LOG(3,(THIS_FILE, "Running %s", title)); - - pj_ansi_snprintf(textbuf+len, sizeof(textbuf)-len, "Version: %s\r\n", - pj_get_version()); - len = strlen(textbuf); - - pj_ansi_snprintf(textbuf+len, sizeof(textbuf)-len, "Test clock rate: %d\r\n", - systest.media_cfg.clock_rate); - len = strlen(textbuf); - - pj_ansi_snprintf(textbuf+len, sizeof(textbuf)-len, "Device clock rate: %d\r\n", - systest.media_cfg.snd_clock_rate); - len = strlen(textbuf); - - pj_ansi_snprintf(textbuf+len, sizeof(textbuf)-len, "Aud frame ptime: %d\r\n", - systest.media_cfg.audio_frame_ptime); - len = strlen(textbuf); - - pj_ansi_snprintf(textbuf+len, sizeof(textbuf)-len, "Channel count: %d\r\n", - systest.media_cfg.channel_count); - len = strlen(textbuf); - - pj_ansi_snprintf(textbuf+len, sizeof(textbuf)-len, "Audio switching: %s\r\n", - (PJMEDIA_CONF_USE_SWITCH_BOARD ? "Switchboard" : "Conf bridge")); - len = strlen(textbuf); - - pj_ansi_snprintf(textbuf+len, sizeof(textbuf)-len, "Snd buff count: %d\r\n", - PJMEDIA_SOUND_BUFFER_COUNT); - len = strlen(textbuf); - - /* Capture device */ - status = pjmedia_aud_dev_get_info(systest.rec_id, &di); - if (status != PJ_SUCCESS) { - systest_perror("Error querying device info", status); - ti->success = PJ_FALSE; - pj_strerror(status, ti->reason, sizeof(ti->reason)); - return; - } - - pj_ansi_snprintf(textbuf+len, sizeof(textbuf)-len, - "Rec dev : %d (%s) [%s]\r\n", - systest.rec_id, - di.name, - di.driver); - len = strlen(textbuf); - - pj_ansi_snprintf(textbuf+len, sizeof(textbuf)-len, - "Rec buf : %d msec\r\n", - systest.media_cfg.snd_rec_latency); - len = strlen(textbuf); - - /* Playback device */ - status = pjmedia_aud_dev_get_info(systest.play_id, &di); - if (status != PJ_SUCCESS) { - systest_perror("Error querying device info", status); - return; - } - - pj_ansi_snprintf(textbuf+len, sizeof(textbuf)-len, - "Play dev: %d (%s) [%s]\r\n", - systest.play_id, - di.name, - di.driver); - len = strlen(textbuf); - - pj_ansi_snprintf(textbuf+len, sizeof(textbuf)-len, - "Play buf: %d msec\r\n", - systest.media_cfg.snd_play_latency); - len = strlen(textbuf); - - ti->success = PJ_TRUE; - pj_ansi_strncpy(ti->reason, textbuf, sizeof(ti->reason)); - ti->reason[sizeof(ti->reason)-1] = '\0'; - key = gui_msgbox(title, textbuf, WITH_OK); - -} - -/*****************************************************************/ - -int systest_init(void) -{ - pjsua_logging_config log_cfg; - pj_status_t status = PJ_SUCCESS; - - status = pjsua_create(); - if (status != PJ_SUCCESS) { - systest_perror("Sorry we've had error in pjsua_create(): ", status); - return status; - } - - pjsua_logging_config_default(&log_cfg); - log_cfg.log_filename = pj_str(add_path(doc_path, LOG_OUT_PATH)); - - pjsua_config_default(&systest.ua_cfg); - pjsua_media_config_default(&systest.media_cfg); - systest.media_cfg.clock_rate = TEST_CLOCK_RATE; - systest.media_cfg.snd_clock_rate = DEV_CLOCK_RATE; - if (OVERRIDE_AUD_FRAME_PTIME) - systest.media_cfg.audio_frame_ptime = OVERRIDE_AUD_FRAME_PTIME; - systest.media_cfg.channel_count = CHANNEL_COUNT; - systest.rec_id = REC_DEV_ID; - systest.play_id = PLAY_DEV_ID; - systest.media_cfg.ec_tail_len = 0; - systest.media_cfg.snd_auto_close_time = 0; - -#if defined(OVERRIDE_AUDDEV_PLAY_LAT) && OVERRIDE_AUDDEV_PLAY_LAT!=0 - systest.media_cfg.snd_play_latency = OVERRIDE_AUDDEV_PLAY_LAT; -#endif - -#if defined(OVERRIDE_AUDDEV_REC_LAT) && OVERRIDE_AUDDEV_REC_LAT!=0 - systest.media_cfg.snd_rec_latency = OVERRIDE_AUDDEV_REC_LAT; -#endif - - status = pjsua_init(&systest.ua_cfg, &log_cfg, &systest.media_cfg); - if (status != PJ_SUCCESS) { - pjsua_destroy(); - systest_perror("Sorry we've had error in pjsua_init(): ", status); - return status; - } - - status = pjsua_start(); - if (status != PJ_SUCCESS) { - pjsua_destroy(); - systest_perror("Sorry we've had error in pjsua_start(): ", status); - return status; - } - - status = gui_init(&root_menu); - if (status != 0) - goto on_return; - - return 0; - -on_return: - gui_destroy(); - return status; -} - - -int systest_set_dev(int cap_dev, int play_dev) -{ - systest.rec_id = systest_cap_dev_id = cap_dev; - systest.play_id = systest_play_dev_id = play_dev; - return pjsua_set_snd_dev(cap_dev, play_dev); -} - -static void systest_wizard(void) -{ - PJ_LOG(3,(THIS_FILE, "Running test wizard")); - systest_list_audio_devs(); - systest_display_settings(); - systest_play_tone(); - systest_play_wav1(); - systest_rec_audio(); - systest_audio_test(); - systest_latency_test(); - systest_aec_test(); - gui_msgbox("Test wizard", "Test wizard complete.", WITH_OK); -} - - -int systest_run(void) -{ - gui_start(&root_menu); - return 0; -} - -void systest_save_result(const char *filename) -{ - unsigned i; - pj_oshandle_t fd; - pj_time_val tv; - pj_parsed_time pt; - pj_ssize_t size; - const char *text; - pj_status_t status; - - status = pj_file_open(NULL, filename, PJ_O_WRONLY | PJ_O_APPEND, &fd); - if (status != PJ_SUCCESS) { - pj_ansi_snprintf(textbuf, sizeof(textbuf), - "Error opening file %s", - filename); - systest_perror(textbuf, status); - return; - } - - text = "\r\n\r\nPJSYSTEST Report\r\n"; - size = strlen(text); - pj_file_write(fd, text, &size); - - /* Put timestamp */ - pj_gettimeofday(&tv); - if (pj_time_decode(&tv, &pt) == PJ_SUCCESS) { - pj_ansi_snprintf(textbuf, sizeof(textbuf), - "Time: %04d/%02d/%02d %02d:%02d:%02d\r\n", - pt.year, pt.mon+1, pt.day, - pt.hour, pt.min, pt.sec); - size = strlen(textbuf); - pj_file_write(fd, textbuf, &size); - } - - pj_ansi_snprintf(textbuf, sizeof(textbuf), - "Tests invoked: %u\r\n" - "-----------------------------------------------\r\n", - test_item_count); - size = strlen(textbuf); - pj_file_write(fd, textbuf, &size); - - for (i=0; ititle, - (ti->skipped? "Skipped" : (ti->success ? "Success" : "Failed"))); - size = strlen(textbuf); - pj_file_write(fd, textbuf, &size); - - size = strlen(ti->reason); - pj_file_write(fd, ti->reason, &size); - - size = 2; - pj_file_write(fd, "\r\n", &size); - } - - - pj_file_close(fd); - - pj_ansi_snprintf(textbuf, sizeof(textbuf), - "Test result successfully appended to file %s", - filename); - gui_msgbox("Test result saved", textbuf, WITH_OK); -} - -void systest_deinit(void) -{ - gui_destroy(); - pjsua_destroy(); -} - diff --git a/res/pjproject/pjsip-apps/src/pjsystest/systest.h b/res/pjproject/pjsip-apps/src/pjsystest/systest.h deleted file mode 100644 index 5fe792adb6..0000000000 --- a/res/pjproject/pjsip-apps/src/pjsystest/systest.h +++ /dev/null @@ -1,106 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __SYSTEST_H__ -#define __SYSTEST_H__ - -#include - -/* - * Overrideable parameters - */ -#define REC_DEV_ID systest_cap_dev_id -#define PLAY_DEV_ID systest_play_dev_id -//#define REC_DEV_ID 5 -//#define PLAY_DEV_ID 5 -#define OVERRIDE_AUDDEV_REC_LAT 0 -#define OVERRIDE_AUDDEV_PLAY_LAT 0 -#define OVERRIDE_AUD_FRAME_PTIME 0 - -/* Don't change this */ -#define CHANNEL_COUNT 1 - -/* If you change CLOCK_RATE then the input WAV files need to be - * changed, so normally don't need to change this. - */ -#define TEST_CLOCK_RATE 8000 - -/* You may change sound device's clock rate as long as resampling - * is enabled. - */ -#define DEV_CLOCK_RATE 8000 - - -#if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE - #define LOG_OUT_PATH "\\PJSYSTEST.TXT" - #define RESULT_OUT_PATH "\\PJSYSTEST_RESULT.TXT" - #define WAV_PLAYBACK_PATH "\\Program Files\\pjsystest\\input.8.wav" - #define WAV_REC_OUT_PATH "\\PJSYSTEST_TESTREC.WAV" - #define WAV_TOCK8_PATH "\\Program Files\\pjsystest\\tock8.WAV" - #define WAV_LATENCY_OUT_PATH "\\PJSYSTEST_LATREC.WAV" - #define ALT_PATH1 "" - #define AEC_REC_PATH "\\PJSYSTEST_AECREC.WAV" -#else - #define LOG_OUT_PATH "PJSYSTEST.TXT" - #define RESULT_OUT_PATH "PJSYSTEST_RESULT.TXT" - #define WAV_PLAYBACK_PATH "input.8.wav" - #define WAV_REC_OUT_PATH "PJSYSTEST_TESTREC.WAV" - #define WAV_TOCK8_PATH "tock8.wav" - #define WAV_LATENCY_OUT_PATH "PJSYSTEST_LATREC.WAV" - #define ALT_PATH1 "../../tests/pjsua/wavs/" - #define AEC_REC_PATH "PJSYSTEST_AECREC.WAV" -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* API, to be called by main() */ -int systest_init(void); -int systest_set_dev(int cap_dev, int play_dev); -int systest_run(void); -void systest_save_result(const char *filename); -void systest_deinit(void); - -/* Device ID to test */ -extern int systest_cap_dev_id; -extern int systest_play_dev_id; - -/* Test item is used to record the test result */ -typedef struct test_item_t -{ - char title[80]; - pj_bool_t skipped; - pj_bool_t success; - char reason[1024]; -} test_item_t; - -#define SYSTEST_MAX_TEST 32 -extern unsigned test_item_count; -extern test_item_t test_items[SYSTEST_MAX_TEST]; -#define PATH_LENGTH PJ_MAXPATH -extern char doc_path[PATH_LENGTH]; -extern char res_path[PATH_LENGTH]; - -test_item_t *systest_alloc_test_item(const char *title); - -#ifdef __cplusplus -} -#endif - -#endif /* __SYSTEST_H__ */ diff --git a/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.cpp b/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.cpp deleted file mode 100644 index 2d42d96e2e..0000000000 --- a/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.cpp +++ /dev/null @@ -1,66 +0,0 @@ -// PocketPJ.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "PocketPJ.h" -#include "PocketPJDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CPocketPJApp - -BEGIN_MESSAGE_MAP(CPocketPJApp, CWinApp) - //{{AFX_MSG_MAP(CPocketPJApp) - // NOTE - the ClassWizard will add and remove mapping macros here. - // DO NOT EDIT what you see in these blocks of generated code! - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CPocketPJApp construction - -CPocketPJApp::CPocketPJApp() - : CWinApp() -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - -///////////////////////////////////////////////////////////////////////////// -// The one and only CPocketPJApp object - -CPocketPJApp theApp; - -///////////////////////////////////////////////////////////////////////////// -// CPocketPJApp initialization - -BOOL CPocketPJApp::InitInstance() -{ - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need. - - CPocketPJDlg dlg; - m_pMainWnd = &dlg; - int nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.h b/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.h deleted file mode 100644 index eb531527b3..0000000000 --- a/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.h +++ /dev/null @@ -1,49 +0,0 @@ -// PocketPJ.h : main header file for the POCKETPJ application -// - -#if !defined(AFX_POCKETPJ_H__D90320F8_01F9_4F5C_8655_13CF2FFDDF48__INCLUDED_) -#define AFX_POCKETPJ_H__D90320F8_01F9_4F5C_8655_13CF2FFDDF48__INCLUDED_ - -#if _MSC_VER >= 1000 -#pragma once -#endif // _MSC_VER >= 1000 - -#ifndef __AFXWIN_H__ - #error include 'stdafx.h' before including this file for PCH -#endif - -#include "resource.h" // main symbols - -///////////////////////////////////////////////////////////////////////////// -// CPocketPJApp: -// See PocketPJ.cpp for the implementation of this class -// - -class CPocketPJApp : public CWinApp -{ -public: - CPocketPJApp(); - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CPocketPJApp) - public: - virtual BOOL InitInstance(); - //}}AFX_VIRTUAL - -// Implementation - - //{{AFX_MSG(CPocketPJApp) - // NOTE - the ClassWizard will add and remove member functions here. - // DO NOT EDIT what you see in these blocks of generated code ! - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - - -///////////////////////////////////////////////////////////////////////////// - -//{{AFX_INSERT_LOCATION}} -// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_POCKETPJ_H__D90320F8_01F9_4F5C_8655_13CF2FFDDF48__INCLUDED_) diff --git a/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.rc b/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.rc deleted file mode 100644 index 256171d8a4..0000000000 --- a/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.rc +++ /dev/null @@ -1,316 +0,0 @@ -//Microsoft eMbedded Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" -#include "newres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""afxres.h""\r\n" - "#include ""newres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "#ifdef _WIN32\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#endif //_WIN32\r\n" - "#include ""res\\PocketPJ.rc2"" // non-Microsoft eMbedded Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#include ""wceres.rc"" // WCE-specific components\r\n" - "#endif\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON DISCARDABLE "res\\PocketPJ.ico" -IDI_ONLINE ICON DISCARDABLE "res\\online.ico" -IDI_OFFLINE ICON DISCARDABLE "res\\offline.ico" -IDI_INVISIBLE ICON DISCARDABLE "res\\invisibl.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_POCKETPJ_DIALOG DIALOGEX 0, 0, 139, 151 -STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION -EXSTYLE WS_EX_APPWINDOW | 0x80000000L -CAPTION "PocketPJ" -FONT 8, "System" -BEGIN - LTEXT "sip:user@pjsip.lab",IDC_ACC_ID,22,5,115,8 - CONTROL 135,IDC_BTN_ACC,"Static",SS_BITMAP | SS_NOTIFY | - WS_BORDER | WS_TABSTOP,7,3,12,11 - CONTROL "List1",IDC_BUDDY_LIST,"SysListView32",LVS_SMALLICON | - LVS_SINGLESEL | LVS_SORTASCENDING | WS_BORDER | - WS_TABSTOP,7,35,127,109 - LTEXT "URL:",IDC_STATIC,7,19,16,8 - EDITTEXT IDC_URL,25,16,97,12,ES_AUTOHSCROLL - CONTROL 138,IDC_BTN_ACTION,"Static",SS_BITMAP | SS_NOTIFY | - WS_BORDER,125,16,12,11 -END - -IDD_SETTING DIALOG DISCARDABLE 0, 0, 140, 143 -STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "PocketPJ Settings.." -FONT 8, "System" -BEGIN - EDITTEXT IDC_DOMAIN,38,7,78,12,ES_AUTOHSCROLL - EDITTEXT IDC_USER,38,21,78,12,ES_AUTOHSCROLL - EDITTEXT IDC_PASSWD,38,35,78,12,ES_PASSWORD | ES_AUTOHSCROLL - EDITTEXT IDC_DNS,38,49,78,12,ES_AUTOHSCROLL - EDITTEXT IDC_STUN_SRV,56,64,77,12,ES_AUTOHSCROLL - CONTROL "ICE",IDC_ICE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,79, - 24,10 - CONTROL "TCP",IDC_TCP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,33, - 79,24,10 - CONTROL "SRTP",IDC_SRTP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,61, - 79,29,10 - CONTROL "PUBLISH",IDC_PUBLISH,"Button",BS_AUTOCHECKBOX | - WS_TABSTOP,93,79,40,10 - CONTROL "EC, tail:",IDC_ECHO_SUPPRESS,"Button",BS_AUTOCHECKBOX | - WS_TABSTOP,7,92,37,10 - EDITTEXT IDC_EC_TAIL,47,91,23,12,ES_AUTOHSCROLL - CONTROL "VAD",IDC_VAD,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,93, - 92,25,10 - COMBOBOX IDC_CODECS,59,105,42,39,CBS_DROPDOWNLIST | WS_VSCROLL | - WS_TABSTOP - PUSHBUTTON "OK",IDOK,17,122,50,14 - PUSHBUTTON "Cancel",IDCANCEL,73,122,50,14 - LTEXT "Domain:",IDC_STATIC,7,8,30,9 - LTEXT "User:",IDC_STATIC,7,22,30,9 - LTEXT "Passwd:",IDC_STATIC,7,36,30,9 - CONTROL "STUN Srv:",IDC_STUN,"Button",BS_AUTOCHECKBOX | - WS_TABSTOP,7,65,47,10 - LTEXT "DNS:",IDC_STATIC,8,50,30,9 - LTEXT "ms",IDC_STATIC,75,92,13,9 - LTEXT "Codec priority:",IDC_STATIC,7,107,49,9 - CONTROL "AA",IDC_AA,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,107, - 107,25,10 -END - - -#ifndef _MAC -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904B0" - BEGIN - VALUE "CompanyName", "HP\0" - VALUE "FileDescription", "PocketPJ WCE MFC Application\0" - VALUE "FileVersion", "1, 0, 0, 1\0" - VALUE "InternalName", "PocketPJ\0" - VALUE "LegalCopyright", "Copyright © 2008\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", "PocketPJ.exe\0" - VALUE "ProductName", "PocketPJ Application\0" - VALUE "ProductVersion", "1, 0, 0, 1\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // !_MAC - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_POCKETPJ_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 137 - TOPMARGIN, 7 - BOTTOMMARGIN, 144 - HORZGUIDE, 28 - END - - IDD_SETTING, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 133 - TOPMARGIN, 7 - BOTTOMMARGIN, 136 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Bitmap -// - -IDB_ONLINE BITMAP DISCARDABLE "res\\online.bmp" -IDB_OFFLINE BITMAP DISCARDABLE "res\\offline.bmp" -IDB_INVISIBLE BITMAP DISCARDABLE "res\\invisibl.bmp" -IDB_ACTION BITMAP DISCARDABLE "res\\action.bmp" -IDB_BLANK BITMAP DISCARDABLE "res\\blank.bmp" - -///////////////////////////////////////////////////////////////////////////// -// -// Menubar -// - -IDR_ACC_MENU MENU DISCARDABLE -BEGIN - POPUP "Set Online Status:" - BEGIN - MENUITEM "&Online", IDC_ACC_ONLINE - MENUITEM "&Invisible", IDC_ACC_INVISIBLE - MENUITEM SEPARATOR - MENUITEM "&Settings...", IDC_ACC_SETTINGS - MENUITEM SEPARATOR - MENUITEM "E&xit", IDOK - END -END - -IDR_URI_MENU MENU DISCARDABLE -BEGIN - POPUP "URI Action" - BEGIN - MENUITEM "&Call...", IDC_URI_CALL - MENUITEM "Add to Buddy List", IDC_URI_ADD_BUDDY - MENUITEM "&Del Buddy", IDC_URI_DEL_BUDDY - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Data -// - -IDR_ACC_MENU SHMENUBAR DISCARDABLE -BEGIN - IDR_ACC_MENU, 1, - I_IMAGENONE, IDC_MENU1, TBSTATE_ENABLED, - TBSTYLE_DROPDOWN | TBSTYLE_AUTOSIZE, IDS_CAP_MENUITEM32786, 0, 0, -END - -IDR_URI_MENU SHMENUBAR DISCARDABLE -BEGIN - IDR_URI_MENU, 1, - I_IMAGENONE, IDC_MENU2, TBSTATE_ENABLED, - TBSTYLE_DROPDOWN | TBSTYLE_AUTOSIZE, IDS_CAP_MENUITEM32790, 0, 0, -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE DISCARDABLE -BEGIN - IDS_CAP_ONLINE "Online" - IDS_CAP_OFFLINE "Offline" - IDS_CAP_INVISIBLE "Invisible" -END - -STRINGTABLE DISCARDABLE -BEGIN - IDS_CAP_MENUITEM32786 "Set Online Status:" - IDS_CAP_MENUITEM32790 "URI Action" -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE 9, 1 -#pragma code_page(1252) -#endif //_WIN32 -#include "res\PocketPJ.rc2" // non-Microsoft eMbedded Visual C++ edited resources -#include "afxres.rc" // Standard components -// #include "wceres.rc" // WCE-specific components -#endif - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.vcc b/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.vcc deleted file mode 100644 index b42845775b..0000000000 --- a/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.vcc +++ /dev/null @@ -1,102 +0,0 @@ -; CLW file contains information for the MFC ClassWizard - -[General Info] -Version=1 -LastClass=CSettingsDlg -LastTemplate=CDialog -NewFileInclude1=#include "stdafx.h" -NewFileInclude2=#include "PocketPJ.h" - -ClassCount=3 -Class1=CPocketPJApp -Class2=CPocketPJDlg - -ResourceCount=5 -Resource2=IDR_ACC_MENU -Resource3=IDD_POCKETPJ_DIALOG -Resource4=IDD_SETTING -Resource1=IDR_MAINFRAME -Class3=CSettingsDlg -Resource5=IDR_URI_MENU - -[CLS:CPocketPJApp] -Type=0 -HeaderFile=PocketPJ.h -ImplementationFile=PocketPJ.cpp -Filter=N - -[CLS:CPocketPJDlg] -Type=0 -HeaderFile=PocketPJDlg.h -ImplementationFile=PocketPJDlg.cpp -Filter=D -BaseClass=CDialog -VirtualFilter=dWC -LastObject=CPocketPJDlg - - -[DLG:IDD_POCKETPJ_DIALOG] -Type=1 -Class=CPocketPJDlg -ControlCount=6 -Control1=IDC_ACC_ID,static,1342308352 -Control2=IDC_BTN_ACC,static,1350631694 -Control3=IDC_BUDDY_LIST,SysListView32,1350631446 -Control4=IDC_STATIC,static,1342308352 -Control5=IDC_URL,edit,1350631552 -Control6=IDC_BTN_ACTION,static,1350566158 - -[MNU:IDR_ACC_MENU] -Type=1 -Class=CPocketPJDlg -Command1=IDC_ACC_ONLINE -Command2=IDC_ACC_INVISIBLE -Command3=IDC_ACC_SETTINGS -Command4=IDOK -CommandCount=4 - -[MNU:IDR_URI_MENU] -Type=1 -Class=CPocketPJDlg -Command1=IDC_URI_CALL -Command2=IDC_URI_ADD_BUDDY -Command3=IDC_URI_DEL_BUDDY -CommandCount=3 - -[DLG:IDD_SETTING] -Type=1 -Class=CSettingsDlg -ControlCount=23 -Control1=IDC_DOMAIN,edit,1350631552 -Control2=IDC_USER,edit,1350631552 -Control3=IDC_PASSWD,edit,1350631584 -Control4=IDC_DNS,edit,1350631552 -Control5=IDC_STUN_SRV,edit,1350631552 -Control6=IDC_ICE,button,1342242819 -Control7=IDC_TCP,button,1342242819 -Control8=IDC_SRTP,button,1342242819 -Control9=IDC_PUBLISH,button,1342242819 -Control10=IDC_ECHO_SUPPRESS,button,1342242819 -Control11=IDC_EC_TAIL,edit,1350631552 -Control12=IDC_VAD,button,1342242819 -Control13=IDC_CODECS,combobox,1344339971 -Control14=IDOK,button,1342242816 -Control15=IDCANCEL,button,1342242816 -Control16=IDC_STATIC,static,1342308352 -Control17=IDC_STATIC,static,1342308352 -Control18=IDC_STATIC,static,1342308352 -Control19=IDC_STUN,button,1342242819 -Control20=IDC_STATIC,static,1342308352 -Control21=IDC_STATIC,static,1342308352 -Control22=IDC_STATIC,static,1342308352 -Control23=IDC_AA,button,1342242819 - -[CLS:CSettingsDlg] -Type=0 -HeaderFile=SettingsDlg.h -ImplementationFile=SettingsDlg.cpp -BaseClass=CDialog -Filter=D -VirtualFilter=dWC -LastObject=CSettingsDlg - diff --git a/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.vcp b/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.vcp deleted file mode 100644 index 03ac043606..0000000000 --- a/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.vcp +++ /dev/null @@ -1,1923 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="PocketPJ" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE ARMV4) Application" 0xa301 -# TARGTYPE "Win32 (WCE emulator) Application" 0xa601 - -CFG=PocketPJ - Win32 (WCE emulator) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "PocketPJ.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "PocketPJ.vcn" CFG="PocketPJ - Win32 (WCE emulator) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "PocketPJ - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Application") -!MESSAGE "PocketPJ - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Application") -!MESSAGE "PocketPJ - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Application") -!MESSAGE "PocketPJ - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "PocketPJ - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 2 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "emulatorRel" -# PROP BASE Intermediate_Dir "emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 2 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "emulatorRel" -# PROP Intermediate_Dir "emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /d "_AFXDLL" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /d "_AFXDLL" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_WIN32_WCE_CEPC" /D "_AFXDLL" /Yu"stdafx.h" /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_WIN32_WCE_CEPC" /D "_AFXDLL" /Yu"stdafx.h" /Gs8192 /GF /O2 /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"wWinMainCRTStartup" /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"wWinMainCRTStartup" /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 2 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "emulatorDbg" -# PROP BASE Intermediate_Dir "emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 2 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "emulatorDbg" -# PROP Intermediate_Dir "emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /d "_AFXDLL" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /d "_AFXDLL" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_WIN32_WCE_CEPC" /D "_AFXDLL" /Yu"stdafx.h" /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../pjmedia/include" /I "../../../pjsip/include" /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_WIN32_WCE_CEPC" /D "_AFXDLL" /FR /Yu"stdafx.h" /Gs8192 /GF /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"wWinMainCRTStartup" /debug /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"wWinMainCRTStartup" /debug /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 2 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "ARMV4Rel" -# PROP BASE Intermediate_Dir "ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 2 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "ARMV4Rel" -# PROP Intermediate_Dir "ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /d "_AFXDLL" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /d "_AFXDLL" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_AFXDLL" /Yu"stdafx.h" /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../pjmedia/include" /I "../../../pjsip/include" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_AFXDLL" /Yu"stdafx.h" /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"wWinMainCRTStartup" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"wWinMainCRTStartup" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 2 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "ARMV4Dbg" -# PROP BASE Intermediate_Dir "ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 2 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "ARMV4Dbg" -# PROP Intermediate_Dir "ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /d "_AFXDLL" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /d "_AFXDLL" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_AFXDLL" /Yu"stdafx.h" /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../../pjlib/include" /I "../../../pjlib-util/include" /I "../../../pjnath/include" /I "../../../pjmedia/include" /I "../../../pjsip/include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_AFXDLL" /FR /Yu"stdafx.h" /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"wWinMainCRTStartup" /debug /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM -# ADD LINK32 commctrl.lib coredll.lib winsock.lib ws2.lib iphlpapi.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"wWinMainCRTStartup" /debug /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM - -!ENDIF - -# Begin Target - -# Name "PocketPJ - Win32 (WCE emulator) Release" -# Name "PocketPJ - Win32 (WCE emulator) Debug" -# Name "PocketPJ - Win32 (WCE ARMV4) Release" -# Name "PocketPJ - Win32 (WCE ARMV4) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\PocketPJ.cpp - -!IF "$(CFG)" == "PocketPJ - Win32 (WCE emulator) Release" - -DEP_CPP_POCKE=\ - ".\PocketPJ.h"\ - ".\PocketPJDlg.h"\ - ".\StdAfx.h"\ - - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE emulator) Debug" - -DEP_CPP_POCKE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\alaw_ulaw.h"\ - "..\..\..\pjmedia\include\pjmedia\bidirectional.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\echo.h"\ - "..\..\..\pjmedia\include\pjmedia\echo_port.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\tonegen.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_ice.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_srtp.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_playlist.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\..\pjnath\include\pjnath.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\nat_detect.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\evsub.h"\ - "..\..\..\pjsip\include\pjsip-simple\iscomposing.h"\ - "..\..\..\pjsip\include\pjsip-simple\pidf.h"\ - "..\..\..\pjsip\include\pjsip-simple\presence.h"\ - "..\..\..\pjsip\include\pjsip-simple\publish.h"\ - "..\..\..\pjsip\include\pjsip-simple\rpid.h"\ - "..\..\..\pjsip\include\pjsip-simple\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\xpidf.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_100rel.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_inv.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_regc.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_replaces.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_xfer.h"\ - "..\..\..\pjsip\include\pjsip.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth_aka.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_autoconf.h"\ - "..\..\..\pjsip\include\pjsip\sip_config.h"\ - "..\..\..\pjsip\include\pjsip\sip_dialog.h"\ - "..\..\..\pjsip\include\pjsip\sip_endpoint.h"\ - "..\..\..\pjsip\include\pjsip\sip_errno.h"\ - "..\..\..\pjsip\include\pjsip\sip_event.h"\ - "..\..\..\pjsip\include\pjsip\sip_module.h"\ - "..\..\..\pjsip\include\pjsip\sip_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_parser.h"\ - "..\..\..\pjsip\include\pjsip\sip_resolve.h"\ - "..\..\..\pjsip\include\pjsip\sip_tel_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_transaction.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_loop.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tcp.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tls.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_udp.h"\ - "..\..\..\pjsip\include\pjsip\sip_types.h"\ - "..\..\..\pjsip\include\pjsip\sip_ua_layer.h"\ - "..\..\..\pjsip\include\pjsip\sip_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_util.h"\ - "..\..\..\pjsip\include\pjsip_simple.h"\ - "..\..\..\pjsip\include\pjsip_ua.h"\ - "..\..\..\pjsip\include\pjsua-lib\pjsua.h"\ - ".\PocketPJ.h"\ - ".\PocketPJDlg.h"\ - ".\PopUpWnd.h"\ - ".\SettingsDlg.h"\ - ".\StdAfx.h"\ - - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE ARMV4) Release" - -DEP_CPP_POCKE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\alaw_ulaw.h"\ - "..\..\..\pjmedia\include\pjmedia\bidirectional.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\echo.h"\ - "..\..\..\pjmedia\include\pjmedia\echo_port.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\tonegen.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_ice.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_srtp.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_playlist.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\..\pjnath\include\pjnath.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\nat_detect.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\evsub.h"\ - "..\..\..\pjsip\include\pjsip-simple\iscomposing.h"\ - "..\..\..\pjsip\include\pjsip-simple\pidf.h"\ - "..\..\..\pjsip\include\pjsip-simple\presence.h"\ - "..\..\..\pjsip\include\pjsip-simple\publish.h"\ - "..\..\..\pjsip\include\pjsip-simple\rpid.h"\ - "..\..\..\pjsip\include\pjsip-simple\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\xpidf.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_100rel.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_inv.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_regc.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_replaces.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_xfer.h"\ - "..\..\..\pjsip\include\pjsip.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth_aka.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_autoconf.h"\ - "..\..\..\pjsip\include\pjsip\sip_config.h"\ - "..\..\..\pjsip\include\pjsip\sip_dialog.h"\ - "..\..\..\pjsip\include\pjsip\sip_endpoint.h"\ - "..\..\..\pjsip\include\pjsip\sip_errno.h"\ - "..\..\..\pjsip\include\pjsip\sip_event.h"\ - "..\..\..\pjsip\include\pjsip\sip_module.h"\ - "..\..\..\pjsip\include\pjsip\sip_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_parser.h"\ - "..\..\..\pjsip\include\pjsip\sip_resolve.h"\ - "..\..\..\pjsip\include\pjsip\sip_tel_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_transaction.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_loop.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tcp.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tls.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_udp.h"\ - "..\..\..\pjsip\include\pjsip\sip_types.h"\ - "..\..\..\pjsip\include\pjsip\sip_ua_layer.h"\ - "..\..\..\pjsip\include\pjsip\sip_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_util.h"\ - "..\..\..\pjsip\include\pjsip_simple.h"\ - "..\..\..\pjsip\include\pjsip_ua.h"\ - "..\..\..\pjsip\include\pjsua-lib\pjsua.h"\ - ".\PocketPJ.h"\ - ".\PocketPJDlg.h"\ - ".\PopUpWnd.h"\ - ".\SettingsDlg.h"\ - ".\StdAfx.h"\ - - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE ARMV4) Debug" - -DEP_CPP_POCKE=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\alaw_ulaw.h"\ - "..\..\..\pjmedia\include\pjmedia\bidirectional.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\echo.h"\ - "..\..\..\pjmedia\include\pjmedia\echo_port.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\tonegen.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_ice.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_srtp.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_playlist.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\..\pjnath\include\pjnath.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\nat_detect.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\evsub.h"\ - "..\..\..\pjsip\include\pjsip-simple\iscomposing.h"\ - "..\..\..\pjsip\include\pjsip-simple\pidf.h"\ - "..\..\..\pjsip\include\pjsip-simple\presence.h"\ - "..\..\..\pjsip\include\pjsip-simple\publish.h"\ - "..\..\..\pjsip\include\pjsip-simple\rpid.h"\ - "..\..\..\pjsip\include\pjsip-simple\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\xpidf.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_100rel.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_inv.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_regc.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_replaces.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_xfer.h"\ - "..\..\..\pjsip\include\pjsip.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth_aka.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_autoconf.h"\ - "..\..\..\pjsip\include\pjsip\sip_config.h"\ - "..\..\..\pjsip\include\pjsip\sip_dialog.h"\ - "..\..\..\pjsip\include\pjsip\sip_endpoint.h"\ - "..\..\..\pjsip\include\pjsip\sip_errno.h"\ - "..\..\..\pjsip\include\pjsip\sip_event.h"\ - "..\..\..\pjsip\include\pjsip\sip_module.h"\ - "..\..\..\pjsip\include\pjsip\sip_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_parser.h"\ - "..\..\..\pjsip\include\pjsip\sip_resolve.h"\ - "..\..\..\pjsip\include\pjsip\sip_tel_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_transaction.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_loop.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tcp.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tls.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_udp.h"\ - "..\..\..\pjsip\include\pjsip\sip_types.h"\ - "..\..\..\pjsip\include\pjsip\sip_ua_layer.h"\ - "..\..\..\pjsip\include\pjsip\sip_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_util.h"\ - "..\..\..\pjsip\include\pjsip_simple.h"\ - "..\..\..\pjsip\include\pjsip_ua.h"\ - "..\..\..\pjsip\include\pjsua-lib\pjsua.h"\ - ".\PocketPJ.h"\ - ".\PocketPJDlg.h"\ - ".\SettingsDlg.h"\ - ".\StdAfx.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\PocketPJ.rc - -!IF "$(CFG)" == "PocketPJ - Win32 (WCE emulator) Release" - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE emulator) Debug" - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE ARMV4) Release" - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE ARMV4) Debug" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\PocketPJDlg.cpp - -!IF "$(CFG)" == "PocketPJ - Win32 (WCE emulator) Release" - -DEP_CPP_POCKET=\ - ".\PocketPJ.h"\ - ".\PocketPJDlg.h"\ - ".\StdAfx.h"\ - - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE emulator) Debug" - -DEP_CPP_POCKET=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\alaw_ulaw.h"\ - "..\..\..\pjmedia\include\pjmedia\bidirectional.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\echo.h"\ - "..\..\..\pjmedia\include\pjmedia\echo_port.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\tonegen.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_ice.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_srtp.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_playlist.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\..\pjnath\include\pjnath.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\nat_detect.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\evsub.h"\ - "..\..\..\pjsip\include\pjsip-simple\iscomposing.h"\ - "..\..\..\pjsip\include\pjsip-simple\pidf.h"\ - "..\..\..\pjsip\include\pjsip-simple\presence.h"\ - "..\..\..\pjsip\include\pjsip-simple\publish.h"\ - "..\..\..\pjsip\include\pjsip-simple\rpid.h"\ - "..\..\..\pjsip\include\pjsip-simple\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\xpidf.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_100rel.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_inv.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_regc.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_replaces.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_xfer.h"\ - "..\..\..\pjsip\include\pjsip.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth_aka.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_autoconf.h"\ - "..\..\..\pjsip\include\pjsip\sip_config.h"\ - "..\..\..\pjsip\include\pjsip\sip_dialog.h"\ - "..\..\..\pjsip\include\pjsip\sip_endpoint.h"\ - "..\..\..\pjsip\include\pjsip\sip_errno.h"\ - "..\..\..\pjsip\include\pjsip\sip_event.h"\ - "..\..\..\pjsip\include\pjsip\sip_module.h"\ - "..\..\..\pjsip\include\pjsip\sip_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_parser.h"\ - "..\..\..\pjsip\include\pjsip\sip_resolve.h"\ - "..\..\..\pjsip\include\pjsip\sip_tel_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_transaction.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_loop.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tcp.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tls.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_udp.h"\ - "..\..\..\pjsip\include\pjsip\sip_types.h"\ - "..\..\..\pjsip\include\pjsip\sip_ua_layer.h"\ - "..\..\..\pjsip\include\pjsip\sip_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_util.h"\ - "..\..\..\pjsip\include\pjsip_simple.h"\ - "..\..\..\pjsip\include\pjsip_ua.h"\ - "..\..\..\pjsip\include\pjsua-lib\pjsua.h"\ - ".\PocketPJ.h"\ - ".\PocketPJDlg.h"\ - ".\PopUpWnd.h"\ - ".\SettingsDlg.h"\ - ".\StdAfx.h"\ - {$(INCLUDE)}"ipexport.h"\ - {$(INCLUDE)}"Iphlpapi.h"\ - {$(INCLUDE)}"iptypes.h"\ - - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE ARMV4) Release" - -DEP_CPP_POCKET=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\alaw_ulaw.h"\ - "..\..\..\pjmedia\include\pjmedia\bidirectional.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\echo.h"\ - "..\..\..\pjmedia\include\pjmedia\echo_port.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\tonegen.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_ice.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_srtp.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_playlist.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\..\pjnath\include\pjnath.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\nat_detect.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\evsub.h"\ - "..\..\..\pjsip\include\pjsip-simple\iscomposing.h"\ - "..\..\..\pjsip\include\pjsip-simple\pidf.h"\ - "..\..\..\pjsip\include\pjsip-simple\presence.h"\ - "..\..\..\pjsip\include\pjsip-simple\publish.h"\ - "..\..\..\pjsip\include\pjsip-simple\rpid.h"\ - "..\..\..\pjsip\include\pjsip-simple\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\xpidf.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_100rel.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_inv.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_regc.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_replaces.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_xfer.h"\ - "..\..\..\pjsip\include\pjsip.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth_aka.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_autoconf.h"\ - "..\..\..\pjsip\include\pjsip\sip_config.h"\ - "..\..\..\pjsip\include\pjsip\sip_dialog.h"\ - "..\..\..\pjsip\include\pjsip\sip_endpoint.h"\ - "..\..\..\pjsip\include\pjsip\sip_errno.h"\ - "..\..\..\pjsip\include\pjsip\sip_event.h"\ - "..\..\..\pjsip\include\pjsip\sip_module.h"\ - "..\..\..\pjsip\include\pjsip\sip_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_parser.h"\ - "..\..\..\pjsip\include\pjsip\sip_resolve.h"\ - "..\..\..\pjsip\include\pjsip\sip_tel_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_transaction.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_loop.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tcp.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tls.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_udp.h"\ - "..\..\..\pjsip\include\pjsip\sip_types.h"\ - "..\..\..\pjsip\include\pjsip\sip_ua_layer.h"\ - "..\..\..\pjsip\include\pjsip\sip_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_util.h"\ - "..\..\..\pjsip\include\pjsip_simple.h"\ - "..\..\..\pjsip\include\pjsip_ua.h"\ - "..\..\..\pjsip\include\pjsua-lib\pjsua.h"\ - ".\PocketPJ.h"\ - ".\PocketPJDlg.h"\ - ".\PopUpWnd.h"\ - ".\SettingsDlg.h"\ - ".\StdAfx.h"\ - {$(INCLUDE)}"ipexport.h"\ - {$(INCLUDE)}"Iphlpapi.h"\ - {$(INCLUDE)}"iptypes.h"\ - - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE ARMV4) Debug" - -DEP_CPP_POCKET=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\alaw_ulaw.h"\ - "..\..\..\pjmedia\include\pjmedia\bidirectional.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\echo.h"\ - "..\..\..\pjmedia\include\pjmedia\echo_port.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\tonegen.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_ice.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_srtp.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_playlist.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\..\pjnath\include\pjnath.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\nat_detect.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\evsub.h"\ - "..\..\..\pjsip\include\pjsip-simple\iscomposing.h"\ - "..\..\..\pjsip\include\pjsip-simple\pidf.h"\ - "..\..\..\pjsip\include\pjsip-simple\presence.h"\ - "..\..\..\pjsip\include\pjsip-simple\publish.h"\ - "..\..\..\pjsip\include\pjsip-simple\rpid.h"\ - "..\..\..\pjsip\include\pjsip-simple\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\xpidf.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_100rel.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_inv.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_regc.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_replaces.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_xfer.h"\ - "..\..\..\pjsip\include\pjsip.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth_aka.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_autoconf.h"\ - "..\..\..\pjsip\include\pjsip\sip_config.h"\ - "..\..\..\pjsip\include\pjsip\sip_dialog.h"\ - "..\..\..\pjsip\include\pjsip\sip_endpoint.h"\ - "..\..\..\pjsip\include\pjsip\sip_errno.h"\ - "..\..\..\pjsip\include\pjsip\sip_event.h"\ - "..\..\..\pjsip\include\pjsip\sip_module.h"\ - "..\..\..\pjsip\include\pjsip\sip_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_parser.h"\ - "..\..\..\pjsip\include\pjsip\sip_resolve.h"\ - "..\..\..\pjsip\include\pjsip\sip_tel_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_transaction.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_loop.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tcp.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tls.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_udp.h"\ - "..\..\..\pjsip\include\pjsip\sip_types.h"\ - "..\..\..\pjsip\include\pjsip\sip_ua_layer.h"\ - "..\..\..\pjsip\include\pjsip\sip_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_util.h"\ - "..\..\..\pjsip\include\pjsip_simple.h"\ - "..\..\..\pjsip\include\pjsip_ua.h"\ - "..\..\..\pjsip\include\pjsua-lib\pjsua.h"\ - ".\PocketPJ.h"\ - ".\PocketPJDlg.h"\ - ".\PopUpDlg.h"\ - ".\SettingsDlg.h"\ - ".\StdAfx.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\PopUpWnd.cpp - -!IF "$(CFG)" == "PocketPJ - Win32 (WCE emulator) Release" - -DEP_CPP_POPUP=\ - ".\PopUpWnd.h"\ - ".\StdAfx.h"\ - - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE emulator) Debug" - -DEP_CPP_POPUP=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\alaw_ulaw.h"\ - "..\..\..\pjmedia\include\pjmedia\bidirectional.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\echo.h"\ - "..\..\..\pjmedia\include\pjmedia\echo_port.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\tonegen.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_ice.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_srtp.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_playlist.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\..\pjnath\include\pjnath.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\nat_detect.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\evsub.h"\ - "..\..\..\pjsip\include\pjsip-simple\iscomposing.h"\ - "..\..\..\pjsip\include\pjsip-simple\pidf.h"\ - "..\..\..\pjsip\include\pjsip-simple\presence.h"\ - "..\..\..\pjsip\include\pjsip-simple\publish.h"\ - "..\..\..\pjsip\include\pjsip-simple\rpid.h"\ - "..\..\..\pjsip\include\pjsip-simple\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\xpidf.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_100rel.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_inv.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_regc.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_replaces.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_xfer.h"\ - "..\..\..\pjsip\include\pjsip.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth_aka.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_autoconf.h"\ - "..\..\..\pjsip\include\pjsip\sip_config.h"\ - "..\..\..\pjsip\include\pjsip\sip_dialog.h"\ - "..\..\..\pjsip\include\pjsip\sip_endpoint.h"\ - "..\..\..\pjsip\include\pjsip\sip_errno.h"\ - "..\..\..\pjsip\include\pjsip\sip_event.h"\ - "..\..\..\pjsip\include\pjsip\sip_module.h"\ - "..\..\..\pjsip\include\pjsip\sip_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_parser.h"\ - "..\..\..\pjsip\include\pjsip\sip_resolve.h"\ - "..\..\..\pjsip\include\pjsip\sip_tel_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_transaction.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_loop.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tcp.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tls.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_udp.h"\ - "..\..\..\pjsip\include\pjsip\sip_types.h"\ - "..\..\..\pjsip\include\pjsip\sip_ua_layer.h"\ - "..\..\..\pjsip\include\pjsip\sip_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_util.h"\ - "..\..\..\pjsip\include\pjsip_simple.h"\ - "..\..\..\pjsip\include\pjsip_ua.h"\ - "..\..\..\pjsip\include\pjsua-lib\pjsua.h"\ - ".\PocketPJDlg.h"\ - ".\PopUpWnd.h"\ - ".\SettingsDlg.h"\ - ".\StdAfx.h"\ - - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE ARMV4) Release" - -DEP_CPP_POPUP=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\alaw_ulaw.h"\ - "..\..\..\pjmedia\include\pjmedia\bidirectional.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\echo.h"\ - "..\..\..\pjmedia\include\pjmedia\echo_port.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\tonegen.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_ice.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_srtp.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_playlist.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\..\pjnath\include\pjnath.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\errno.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\nat_detect.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\evsub.h"\ - "..\..\..\pjsip\include\pjsip-simple\iscomposing.h"\ - "..\..\..\pjsip\include\pjsip-simple\pidf.h"\ - "..\..\..\pjsip\include\pjsip-simple\presence.h"\ - "..\..\..\pjsip\include\pjsip-simple\publish.h"\ - "..\..\..\pjsip\include\pjsip-simple\rpid.h"\ - "..\..\..\pjsip\include\pjsip-simple\types.h"\ - "..\..\..\pjsip\include\pjsip-simple\xpidf.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_100rel.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_inv.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_regc.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_replaces.h"\ - "..\..\..\pjsip\include\pjsip-ua\sip_xfer.h"\ - "..\..\..\pjsip\include\pjsip.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth_aka.h"\ - "..\..\..\pjsip\include\pjsip\sip_auth_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_autoconf.h"\ - "..\..\..\pjsip\include\pjsip\sip_config.h"\ - "..\..\..\pjsip\include\pjsip\sip_dialog.h"\ - "..\..\..\pjsip\include\pjsip\sip_endpoint.h"\ - "..\..\..\pjsip\include\pjsip\sip_errno.h"\ - "..\..\..\pjsip\include\pjsip\sip_event.h"\ - "..\..\..\pjsip\include\pjsip\sip_module.h"\ - "..\..\..\pjsip\include\pjsip\sip_msg.h"\ - "..\..\..\pjsip\include\pjsip\sip_parser.h"\ - "..\..\..\pjsip\include\pjsip\sip_resolve.h"\ - "..\..\..\pjsip\include\pjsip\sip_tel_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_transaction.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_loop.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tcp.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_tls.h"\ - "..\..\..\pjsip\include\pjsip\sip_transport_udp.h"\ - "..\..\..\pjsip\include\pjsip\sip_types.h"\ - "..\..\..\pjsip\include\pjsip\sip_ua_layer.h"\ - "..\..\..\pjsip\include\pjsip\sip_uri.h"\ - "..\..\..\pjsip\include\pjsip\sip_util.h"\ - "..\..\..\pjsip\include\pjsip_simple.h"\ - "..\..\..\pjsip\include\pjsip_ua.h"\ - "..\..\..\pjsip\include\pjsua-lib\pjsua.h"\ - ".\PocketPJDlg.h"\ - ".\PopUpWnd.h"\ - ".\SettingsDlg.h"\ - ".\StdAfx.h"\ - - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE ARMV4) Debug" - -DEP_CPP_POPUP=\ - ".\PopUpWnd.h"\ - ".\StdAfx.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\SettingsDlg.cpp - -!IF "$(CFG)" == "PocketPJ - Win32 (WCE emulator) Release" - -DEP_CPP_SETTI=\ - ".\PocketPJ.h"\ - ".\SettingsDlg.h"\ - ".\StdAfx.h"\ - - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE emulator) Debug" - -DEP_CPP_SETTI=\ - ".\PocketPJ.h"\ - ".\SettingsDlg.h"\ - ".\StdAfx.h"\ - - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE ARMV4) Release" - -DEP_CPP_SETTI=\ - ".\PocketPJ.h"\ - ".\SettingsDlg.h"\ - ".\StdAfx.h"\ - - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SETTI=\ - ".\PocketPJ.h"\ - ".\SettingsDlg.h"\ - ".\StdAfx.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.cpp - -!IF "$(CFG)" == "PocketPJ - Win32 (WCE emulator) Release" - -DEP_CPP_STDAF=\ - ".\StdAfx.h"\ - -# ADD CPP /Yc"stdafx.h" - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE emulator) Debug" - -DEP_CPP_STDAF=\ - ".\StdAfx.h"\ - -# ADD CPP /Yc"stdafx.h" - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE ARMV4) Release" - -DEP_CPP_STDAF=\ - ".\StdAfx.h"\ - -# ADD CPP /Yc"stdafx.h" - -!ELSEIF "$(CFG)" == "PocketPJ - Win32 (WCE ARMV4) Debug" - -DEP_CPP_STDAF=\ - ".\StdAfx.h"\ - -# ADD CPP /Yc"stdafx.h" - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\newres.h -# End Source File -# Begin Source File - -SOURCE=.\PocketPJ.h -# End Source File -# Begin Source File - -SOURCE=.\PocketPJDlg.h -# End Source File -# Begin Source File - -SOURCE=.\PopUpWnd.h -# End Source File -# Begin Source File - -SOURCE=.\Resource.h -# End Source File -# Begin Source File - -SOURCE=.\SettingsDlg.h -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\res\action.bmp -# End Source File -# Begin Source File - -SOURCE=.\res\blank.bmp -# End Source File -# Begin Source File - -SOURCE=.\res\invisibl.bmp -# End Source File -# Begin Source File - -SOURCE=.\res\invisibl.ico -# End Source File -# Begin Source File - -SOURCE=.\res\offline.bmp -# End Source File -# Begin Source File - -SOURCE=.\res\offline.ico -# End Source File -# Begin Source File - -SOURCE=.\res\online.bmp -# End Source File -# Begin Source File - -SOURCE=.\res\online.ico -# End Source File -# Begin Source File - -SOURCE=.\res\PocketPJ.ico -# End Source File -# Begin Source File - -SOURCE=.\res\PocketPJ.rc2 -# PROP Exclude_From_Scan -1 -# PROP BASE Exclude_From_Build 1 -# PROP Exclude_From_Build 1 -# End Source File -# End Group -# Begin Source File - -SOURCE=.\ReadMe.txt -# End Source File -# End Target -# End Project diff --git a/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.vcproj b/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.vcproj deleted file mode 100644 index ea83363f53..0000000000 --- a/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.vcproj +++ /dev/null @@ -1,5137 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.vcw b/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.vcw deleted file mode 100644 index d1ed2e49a2..0000000000 --- a/res/pjproject/pjsip-apps/src/pocketpj/PocketPJ.vcw +++ /dev/null @@ -1,269 +0,0 @@ -Microsoft eMbedded Visual Tools Workspace File, Format Version 4.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "PocketPJ"=".\PocketPJ.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name libgsmcodec - End Project Dependency - Begin Project Dependency - Project_Dep_Name libportaudio - End Project Dependency - Begin Project Dependency - Project_Dep_Name libresample - End Project Dependency - Begin Project Dependency - Project_Dep_Name libsrtp - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjlib_util_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjlib_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjmedia_codec_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjmedia_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjnath_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjsip_core_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjsip_simple_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjsip_ua_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjsua_lib_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name libilbccodec - End Project Dependency - Begin Project Dependency - Project_Dep_Name libspeex - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjmedia_auddev_wince - End Project Dependency -}}} - -############################################################################### - -Project: "libgsmcodec"="..\..\..\third_party\build\gsm\libgsmcodec.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "libilbccodec"="..\..\..\third_party\build\ilbc\libilbccodec.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "libportaudio"="..\..\..\third_party\build\portaudio\libportaudio.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "libresample"="..\..\..\third_party\build\resample\libresample.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "libspeex"="..\..\..\third_party\build\speex\libspeex.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "libsrtp"="..\..\..\third_party\build\srtp\libsrtp.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjlib_util_wince"="..\..\..\pjlib-util\build\wince-evc4\pjlib_util_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjlib_wince"="..\..\..\pjlib\build\wince-evc4\pjlib_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjmedia_auddev_wince"="..\..\..\pjmedia\build\wince-evc4\pjmedia_auddev_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjmedia_codec_wince"="..\..\..\pjmedia\build\wince-evc4\pjmedia_codec_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjmedia_wince"="..\..\..\pjmedia\build\wince-evc4\pjmedia_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjnath_wince"="..\..\..\pjnath\build\wince-evc4\pjnath_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjsip_core_wince"="..\..\..\pjsip\build\wince-evc4\pjsip_core_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjsip_simple_wince"="..\..\..\pjsip\build\wince-evc4\pjsip_simple_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjsip_ua_wince"="..\..\..\pjsip\build\wince-evc4\pjsip_ua_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjsua_lib_wince"="..\..\..\pjsip\build\wince-evc4\pjsua_lib_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/res/pjproject/pjsip-apps/src/pocketpj/PocketPJDlg.cpp b/res/pjproject/pjsip-apps/src/pocketpj/PocketPJDlg.cpp deleted file mode 100644 index 87caf19b08..0000000000 --- a/res/pjproject/pjsip-apps/src/pocketpj/PocketPJDlg.cpp +++ /dev/null @@ -1,792 +0,0 @@ -// PocketPJDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "PocketPJ.h" -#include "PocketPJDlg.h" -#include - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -#define TIMER_ID 101 -static CPocketPJDlg *theDlg; - -///////////////////////////////////////////////////////////////////////////// -// CPocketPJDlg dialog - -CPocketPJDlg::CPocketPJDlg(CWnd* pParent /*=NULL*/) - : CDialog(CPocketPJDlg::IDD, pParent), m_PopUp(NULL) -{ - //{{AFX_DATA_INIT(CPocketPJDlg) - // NOTE: the ClassWizard will add member initialization here - //}}AFX_DATA_INIT - // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); - - theDlg = this; - - m_PopUp = new CPopUpWnd(this); - m_PopUp->Hide(); - - unsigned i; - m_PopUpCount = 0; - for (i=0; iIpAddress.String); - cfg.nameserver_count = 1; - cfg.nameserver[0] = pj_str(nameserver); - } - } - - char tmp_stun[80]; - if (m_Cfg.m_UseStun) { - pj_unicode_to_ansi((LPCTSTR)m_Cfg.m_StunSrv, m_Cfg.m_StunSrv.GetLength(), - tmp_stun, sizeof(tmp_stun)); - cfg.stun_host = pj_str(tmp_stun); - } - - pjsua_logging_config_default(&log_cfg); - log_cfg.msg_logging = PJ_TRUE; - log_cfg.log_filename = pj_str("\\PocketPJ.TXT"); - - pjsua_media_config_default(&media_cfg); - media_cfg.clock_rate = 8000; - media_cfg.audio_frame_ptime = 40; - media_cfg.ec_tail_len = 0; - media_cfg.ilbc_mode = 30; - media_cfg.max_media_ports = 8; - // use default quality setting - //media_cfg.quality = 5; - media_cfg.thread_cnt = 1; - media_cfg.enable_ice = m_Cfg.m_UseIce; - media_cfg.no_vad = !m_Cfg.m_VAD; - - if (m_Cfg.m_EchoSuppress) { - media_cfg.ec_options = PJMEDIA_ECHO_SIMPLE; - media_cfg.ec_tail_len = m_Cfg.m_EcTail; - } - - // Init - PopUp_Modify(POPUP_REGISTRATION, POPUP_EL_TITLE3, "Initializing.."); - status = pjsua_init(&cfg, &log_cfg, &media_cfg); - if (status != PJ_SUCCESS) { - Error(_T("Error initializing library"), status); - pjsua_destroy(); - PopUp_Hide(POPUP_REGISTRATION); - return FALSE; - } - - // Create one UDP transport - PopUp_Modify(POPUP_REGISTRATION, POPUP_EL_TITLE3, "Adding UDP transport.."); - pjsua_transport_id transport_id; - pjsua_transport_config udp_cfg; - - pjsua_transport_config_default(&udp_cfg); - udp_cfg.port = 0; - status = pjsua_transport_create(PJSIP_TRANSPORT_UDP, - &udp_cfg, &transport_id); - if (status != PJ_SUCCESS) { - Error(_T("Error creating UDP transport"), status); - pjsua_destroy(); - PopUp_Hide(POPUP_REGISTRATION); - return FALSE; - } - - // Always instantiate TCP to support auto-switching to TCP when - // packet is larger than 1300 bytes. If TCP is disabled when - // no auto-switching will occur - if (1) { - // Create one TCP transport - PopUp_Modify(POPUP_REGISTRATION, POPUP_EL_TITLE3, "Adding TCP transport.."); - pjsua_transport_id transport_id; - pjsua_transport_config tcp_cfg; - - pjsua_transport_config_default(&tcp_cfg); - tcp_cfg.port = 0; - status = pjsua_transport_create(PJSIP_TRANSPORT_TCP, - &tcp_cfg, &transport_id); - if (status != PJ_SUCCESS) { - Error(_T("Error creating TCP transport"), status); - pjsua_destroy(); - PopUp_Hide(POPUP_REGISTRATION); - return FALSE; - } - } - - // Adjust codecs priority - pj_str_t tmp; - pjsua_codec_set_priority(pj_cstr(&tmp, "*"), 0); - for (i=0; i<(unsigned)m_Cfg.m_Codecs.GetSize(); ++i) { - CString codec = m_Cfg.m_Codecs.GetAt(i); - char tmp_nam[80]; - - pj_unicode_to_ansi((LPCTSTR)codec, codec.GetLength(), - tmp_nam, sizeof(tmp_nam)); - pjsua_codec_set_priority(pj_cstr(&tmp, tmp_nam), (pj_uint8_t)(200-i)); - } - - // Start! - PopUp_Modify(POPUP_REGISTRATION, POPUP_EL_TITLE3, "Starting.."); - status = pjsua_start(); - if (status != PJ_SUCCESS) { - Error(_T("Error starting library"), status); - pjsua_destroy(); - PopUp_Hide(POPUP_REGISTRATION); - return FALSE; - } - - // Add account - PopUp_Modify(POPUP_REGISTRATION, POPUP_EL_TITLE3, "Adding account.."); - char domain[80], username[80], passwd[80]; - char id[80], reg_uri[80]; - pjsua_acc_config acc_cfg; - - pj_unicode_to_ansi((LPCTSTR)m_Cfg.m_Domain, m_Cfg.m_Domain.GetLength(), - domain, sizeof(domain)); - pj_unicode_to_ansi((LPCTSTR)m_Cfg.m_User, m_Cfg.m_User.GetLength(), - username, sizeof(username)); - pj_unicode_to_ansi((LPCTSTR)m_Cfg.m_Password, m_Cfg.m_Password.GetLength(), - passwd, sizeof(passwd)); - - snprintf(id, sizeof(id), "", username, domain); - snprintf(reg_uri, sizeof(reg_uri), "sip:%s", domain); - - pjsua_acc_config_default(&acc_cfg); - acc_cfg.id = pj_str(id); - acc_cfg.reg_uri = pj_str(reg_uri); - acc_cfg.cred_count = 1; - acc_cfg.cred_info[0].scheme = pj_str("Digest"); - acc_cfg.cred_info[0].realm = pj_str("*"); - acc_cfg.cred_info[0].username = pj_str(username); - acc_cfg.cred_info[0].data_type = 0; - acc_cfg.cred_info[0].data = pj_str(passwd); - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - acc_cfg.use_srtp = (m_Cfg.m_UseSrtp ? PJMEDIA_SRTP_OPTIONAL : PJMEDIA_SRTP_DISABLED); - acc_cfg.srtp_secure_signaling = 0; -#endif - - acc_cfg.publish_enabled = m_Cfg.m_UsePublish; - - char route[80]; - if (m_Cfg.m_TCP) { - snprintf(route, sizeof(route), "", domain); - acc_cfg.proxy[acc_cfg.proxy_cnt++] = pj_str(route); - } else { - snprintf(route, sizeof(route), "", domain); - acc_cfg.proxy[acc_cfg.proxy_cnt++] = pj_str(route); - } - - status = pjsua_acc_add(&acc_cfg, PJ_TRUE, &m_PjsuaAccId); - if (status != PJ_SUCCESS) { - Error(_T("Invalid account settings"), status); - pjsua_destroy(); - PopUp_Hide(POPUP_REGISTRATION); - return FALSE; - } - - CString acc_text = m_Cfg.m_User + _T("@") + m_Cfg.m_Domain; - m_AccId.SetWindowText(acc_text); - - PopUp_Modify(POPUP_REGISTRATION, POPUP_EL_TITLE1, acc_text); - PopUp_Modify(POPUP_REGISTRATION, POPUP_EL_TITLE2, "Registering.."); - PopUp_Modify(POPUP_REGISTRATION, POPUP_EL_TITLE3, ""); - - SetTimer(TIMER_ID, 100, NULL); - return TRUE; -} - - -void CPocketPJDlg::PopUp_Show( PopUpType type, - const CString& title1, - const CString& title2, - const CString& title3, - const CString& btn1, - const CString& btn2, - unsigned userData) -{ - PJ_UNUSED_ARG(userData); - - if (!m_PopUpState[type]) - ++m_PopUpCount; - - m_PopUpState[type] = TRUE; - - m_PopUpContent[type].m_Title1 = title1; - m_PopUpContent[type].m_Title2 = title2; - m_PopUpContent[type].m_Title3 = title3; - m_PopUpContent[type].m_Btn1 = btn1; - m_PopUpContent[type].m_Btn2 = btn2; - - m_PopUp->SetContent(m_PopUpContent[type]); - m_PopUp->Show(); -} - -void CPocketPJDlg::PopUp_Modify(PopUpType type, - PopUpElement el, - const CString& text) -{ - switch (el) { - case POPUP_EL_TITLE1: - m_PopUpContent[type].m_Title1 = text; - break; - case POPUP_EL_TITLE2: - m_PopUpContent[type].m_Title2 = text; - break; - case POPUP_EL_TITLE3: - m_PopUpContent[type].m_Title3 = text; - break; - case POPUP_EL_BUTTON1: - m_PopUpContent[type].m_Btn1 = text; - break; - case POPUP_EL_BUTTON2: - m_PopUpContent[type].m_Btn1 = text; - break; - } - - m_PopUp->SetContent(m_PopUpContent[type]); -} - -void CPocketPJDlg::PopUp_Hide(PopUpType type) -{ - if (m_PopUpState[type]) - --m_PopUpCount; - - m_PopUpState[type] = FALSE; - - if (m_PopUpCount == 0) { - m_PopUp->Hide(); - UpdateWindow(); - } else { - for (int i=POPUP_MAX_TYPE-1; i>=0; --i) { - if (m_PopUpState[i]) { - m_PopUp->SetContent(m_PopUpContent[i]); - break; - } - } - } -} - -void CPocketPJDlg::OnIncomingCall() -{ - pjsua_call_info ci; - - pjsua_call_get_info(0, &ci); - - PopUp_Show(POPUP_CALL, "Incoming call..", ci.remote_info.ptr, "", - "Answer", "Hangup", 0); - pjsua_call_answer(0, 180, NULL, NULL); - if (m_Cfg.m_AutoAnswer) - OnPopUpButton(1); -} - -void CPocketPJDlg::OnCallState() -{ - pjsua_call_info ci; - - pjsua_call_get_info(0, &ci); - - switch (ci.state) { - case PJSIP_INV_STATE_NULL: /**< Before INVITE is sent or received */ - break; - case PJSIP_INV_STATE_CALLING: /**< After INVITE is sent */ - PopUp_Show(POPUP_CALL, "Calling..", ci.remote_info.ptr, "", - "", "Hangup", 0); - break; - case PJSIP_INV_STATE_INCOMING: /**< After INVITE is received. */ - OnIncomingCall(); - break; - case PJSIP_INV_STATE_EARLY: /**< After response with To tag. */ - case PJSIP_INV_STATE_CONNECTING:/**< After 2xx is sent/received. */ - case PJSIP_INV_STATE_CONFIRMED: /**< After ACK is sent/received. */ - { - CString stateText = ci.state_text.ptr; - PopUp_Modify(POPUP_CALL, POPUP_EL_TITLE3, stateText); - } - break; - case PJSIP_INV_STATE_DISCONNECTED:/**< Session is terminated. */ - PopUp_Modify(POPUP_CALL, POPUP_EL_TITLE3, "Disconnected"); - PopUp_Hide(POPUP_CALL); - break; - } -} - -void CPocketPJDlg::on_call_state(pjsua_call_id call_id, pjsip_event *e) -{ - PJ_UNUSED_ARG(e); - PJ_UNUSED_ARG(call_id); - - theDlg->OnCallState(); -} - -void CPocketPJDlg::on_call_media_state(pjsua_call_id call_id) -{ - pjsua_call_info call_info; - - pjsua_call_get_info(call_id, &call_info); - if (call_info.media_status == PJSUA_CALL_MEDIA_ACTIVE) { - pjsua_conf_connect(call_info.conf_slot, 0); - pjsua_conf_connect(0, call_info.conf_slot); - } -} - -void CPocketPJDlg::on_incoming_call(pjsua_acc_id acc_id, pjsua_call_id call_id, - pjsip_rx_data *rdata) -{ - PJ_UNUSED_ARG(acc_id); - PJ_UNUSED_ARG(call_id); - PJ_UNUSED_ARG(rdata); - - theDlg->OnIncomingCall(); -} - -void CPocketPJDlg::OnRegState() -{ - pjsua_acc_info ai; - pjsua_acc_get_info(m_PjsuaAccId, &ai); - - CString acc_text = m_Cfg.m_User + _T("@") + m_Cfg.m_Domain; - - if (ai.expires>0 && ai.status/100==2) { - /* Registration success */ - HBITMAP old = m_BtnAcc.SetBitmap(::LoadBitmap(AfxGetInstanceHandle(), MAKEINTRESOURCE(IDB_ONLINE)) ); - PJ_UNUSED_ARG(old); - acc_text += " (OK)"; - m_AccId.SetWindowText(acc_text); - } else if (ai.status/100 != 2) { - acc_text += " (err)"; - Error(_T("SIP registration error"), PJSIP_ERRNO_FROM_SIP_STATUS(ai.status)); - m_AccId.SetWindowText(acc_text); - } - PopUp_Hide(POPUP_REGISTRATION); -} - -void CPocketPJDlg::on_reg_state(pjsua_acc_id acc_id) -{ - PJ_UNUSED_ARG(acc_id); - - theDlg->OnRegState(); -} - -void CPocketPJDlg::on_buddy_state(pjsua_buddy_id buddy_id) -{ - PJ_UNUSED_ARG(buddy_id); - - theDlg->RedrawBuddyList(); -} - -void CPocketPJDlg::on_pager(pjsua_call_id call_id, const pj_str_t *from, - const pj_str_t *to, const pj_str_t *contact, - const pj_str_t *mime_type, const pj_str_t *text) -{ - PJ_UNUSED_ARG(call_id); - PJ_UNUSED_ARG(from); - PJ_UNUSED_ARG(to); - PJ_UNUSED_ARG(contact); - PJ_UNUSED_ARG(mime_type); - PJ_UNUSED_ARG(text); -} - -///////////////////////////////////////////////////////////////////////////// -// CPocketPJDlg message handlers - -BOOL CPocketPJDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - CenterWindow(GetDesktopWindow()); // center to the hpc screen - - // TODO: Add extra initialization here - - m_Cfg.LoadRegistry(); - //ShowWindow(SW_SHOW); - m_AccId.SetWindowText(m_Cfg.m_User); - - CImageList *il = new CImageList; - VERIFY(il->Create(16, 16, ILC_COLOR|ILC_MASK, 2, 4)); - - CBitmap *bmp = new CBitmap; - bmp->LoadBitmap(MAKEINTRESOURCE(IDB_BLANK)); - il->Add(bmp, RGB(255,255,255)); - bmp = new CBitmap; - bmp->LoadBitmap(MAKEINTRESOURCE(IDB_ONLINE)); - il->Add(bmp, RGB(255,255,255)); - - m_BuddyList.SetImageList(il, LVSIL_SMALL); - - if (m_Cfg.m_Domain.GetLength()==0 || Restart() == FALSE) { - for (;;) { - CSettingsDlg dlg(m_Cfg); - if (dlg.DoModal() != IDOK) { - EndDialog(IDOK); - return TRUE; - } - - m_Cfg.SaveRegistry(); - - if (Restart()) - break; - } - } - - RedrawBuddyList(); - return TRUE; // return TRUE unless you set the focus to a control -} - - - -void CPocketPJDlg::OnBtnAcc() -{ - CMenu menu; - VERIFY(menu.LoadMenu(IDR_ACC_MENU)); - CMenu* pPopup = menu.GetSubMenu(0); - ASSERT(pPopup != NULL); - - RECT r; - m_BtnAcc.GetWindowRect(&r); - pPopup->TrackPopupMenu(TPM_LEFTALIGN, r.left+4, r.top+4, this); -} - -void CPocketPJDlg::OnBtnAction() -{ - CMenu menu; - VERIFY(menu.LoadMenu(IDR_URI_MENU)); - CMenu* pPopup = menu.GetSubMenu(0); - ASSERT(pPopup != NULL); - - RECT r; - this->m_BtnUrlAction.GetWindowRect(&r); - pPopup->TrackPopupMenu(TPM_LEFTALIGN, r.left+4, r.top+4, this); -} - -void CPocketPJDlg::OnSettings() -{ - for (;;) { - CSettingsDlg dlg(m_Cfg); - if (dlg.DoModal() != IDOK) { - return; - } - - m_Cfg.SaveRegistry(); - - if (Restart()) - break; - } -} - -void CPocketPJDlg::OnOK() -{ - if (AfxMessageBox(_T("Quit PocketPJ?"), MB_YESNO)==IDYES) { - KillTimer(TIMER_ID); - PopUp_Show(POPUP_REGISTRATION, "", "Shutting down..", "", "", "", 0); - pjsua_destroy(); - CDialog::OnOK(); - PopUp_Hide(POPUP_REGISTRATION); - m_Cfg.SaveRegistry(); - return; - } -} - -void CPocketPJDlg::OnTimer(UINT nIDEvent) -{ - pjsua_handle_events(10); - CDialog::OnTimer(nIDEvent); -} - -int CPocketPJDlg::FindBuddyInPjsua(const CString &Uri) -{ - char uri[80]; - pjsua_buddy_id id[128]; - unsigned i, count = PJ_ARRAY_SIZE(id); - - if (pjsua_enum_buddies(id, &count) != PJ_SUCCESS) - return PJSUA_INVALID_ID; - if (count==0) - return PJSUA_INVALID_ID; - - pj_unicode_to_ansi((LPCTSTR)Uri, Uri.GetLength(), uri, sizeof(uri)); - - for (i=0; i= 1000 -#pragma once -#endif // _MSC_VER >= 1000 - -#include "SettingsDlg.h" -#include "PopUpWnd.h" -#include - - -///////////////////////////////////////////////////////////////////////////// -// CPocketPJDlg dialog - -class CPocketPJDlg : public CDialog -{ -// Construction -public: - CPocketPJDlg(CWnd* pParent = NULL); // standard constructor - - void OnPopUpButton(int btnNo); - void OnIncomingCall(); - -// Dialog Data - //{{AFX_DATA(CPocketPJDlg) - enum { IDD = IDD_POCKETPJ_DIALOG }; - CEdit m_Url; - CListCtrl m_BuddyList; - CStatic m_BtnUrlAction; - CStatic m_BtnAcc; - CStatic m_AccId; - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CPocketPJDlg) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - - -// Implementation -protected: - HICON m_hIcon; - - // Generated message map functions - //{{AFX_MSG(CPocketPJDlg) - virtual BOOL OnInitDialog(); - afx_msg void OnBtnAcc(); - afx_msg void OnBtnAction(); - afx_msg void OnSettings(); - afx_msg void OnUriCall(); - afx_msg void OnTimer(UINT nIDEvent); - afx_msg void OnUriAddBuddy(); - afx_msg void OnUriDelBuddy(); - afx_msg void OnAccOnline(); - afx_msg void OnAccInvisible(); - afx_msg void OnClickBuddyList(NMHDR* pNMHDR, LRESULT* pResult); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() - -private: - enum PopUpType - { - POPUP_REGISTRATION, - POPUP_CALL, - - POPUP_MAX_TYPE - }; - enum PopUpElement - { - POPUP_EL_TITLE1, - POPUP_EL_TITLE2, - POPUP_EL_TITLE3, - POPUP_EL_BUTTON1, - POPUP_EL_BUTTON2, - }; - CPopUpWnd *m_PopUp; - int m_PopUpCount; - BOOL m_PopUpState[POPUP_MAX_TYPE]; - CPopUpContent m_PopUpContent[POPUP_MAX_TYPE]; - - void PopUp_Show(PopUpType type, - const CString& title1, - const CString& title2, - const CString& title3, - const CString& btn1, - const CString& btn2, - unsigned userData); - void PopUp_Modify(PopUpType type, - PopUpElement el, - const CString& text); - void PopUp_Hide(PopUpType type); - -private: - CPocketPJSettings m_Cfg; - - void Error(const CString &title, pj_status_t rc); - BOOL Restart(); - void OnOK(); - int FindBuddyInCfg(const CString &uri); - int FindBuddyInPjsua(const CString &uri); - void RedrawBuddyList(); - -private: - pjsua_acc_id m_PjsuaAccId; - - void OnRegState(); - void OnCallState(); - - // pjsua callbacks - static void on_call_state(pjsua_call_id call_id, pjsip_event *e); - static void on_call_media_state(pjsua_call_id call_id); - static void on_incoming_call(pjsua_acc_id acc_id, pjsua_call_id call_id, - pjsip_rx_data *rdata); - static void on_reg_state(pjsua_acc_id acc_id); - static void on_buddy_state(pjsua_buddy_id buddy_id); - static void on_pager(pjsua_call_id call_id, const pj_str_t *from, - const pj_str_t *to, const pj_str_t *contact, - const pj_str_t *mime_type, const pj_str_t *text); -}; - -//{{AFX_INSERT_LOCATION}} -// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_POCKETPJDLG_H__DF5F90C9_E72B_4557_9126_AFE75A3ADE9D__INCLUDED_) diff --git a/res/pjproject/pjsip-apps/src/pocketpj/PopUpWnd.cpp b/res/pjproject/pjsip-apps/src/pocketpj/PopUpWnd.cpp deleted file mode 100644 index 1f1654f062..0000000000 --- a/res/pjproject/pjsip-apps/src/pocketpj/PopUpWnd.cpp +++ /dev/null @@ -1,235 +0,0 @@ -#include "stdafx.h" -#include "PopUpWnd.h" -#include "resource.h" -#include "PocketPJDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -#define IDC_BTN1 10 -#define IDC_BTN2 11 - - -///////////////////////////////////////////////////////////////////////////// -// CPopUpWnd - -CPopUpWnd::CPopUpWnd(CPocketPJDlg* pParent) -{ - Create(pParent); -} - -CPopUpWnd::~CPopUpWnd() -{ - DestroyWindow(); -} - -BOOL CPopUpWnd::Create(CPocketPJDlg* pParent) -{ - BOOL bSuccess; - - m_ParentWnd = pParent; - - // Register window class - CString csClassName = AfxRegisterWndClass(CS_HREDRAW|CS_VREDRAW, - 0, - CBrush(::GetSysColor(COLOR_BTNFACE))); - - // Create popup window - bSuccess = CreateEx(WS_EX_DLGMODALFRAME|WS_EX_TOPMOST, // Extended style - csClassName, // Classname - _T("PocketPJ"), // Title - WS_POPUP|WS_BORDER|WS_CAPTION, // style - 0,0, // position - updated soon. - 1,1, // Size - updated soon - pParent->GetSafeHwnd(), // handle to parent - 0, // No menu - NULL); - if (!bSuccess) - return FALSE; - - ShowWindow(SW_HIDE); - - // Now create the controls - CRect TempRect(0,0,10,10); - - /* |SS_LEFTNOWORDWRAP */ - bSuccess = m_Title1.Create(_T("Title1"), WS_CHILD|WS_VISIBLE|SS_NOPREFIX, - TempRect, this, IDC_TITLE1); - if (!bSuccess) - return FALSE; - - bSuccess = m_Title2.Create(_T("Title2"), WS_CHILD|WS_VISIBLE|SS_NOPREFIX, - TempRect, this, IDC_TITLE2); - if (!bSuccess) - return FALSE; - - bSuccess = m_Title3.Create(_T("Title3"), WS_CHILD|WS_VISIBLE|SS_NOPREFIX, - TempRect, this, IDC_TITLE3); - if (!bSuccess) - return FALSE; - - bSuccess = m_Btn1.Create(_T("Button1"), - WS_CHILD|WS_VISIBLE|WS_TABSTOP| BS_PUSHBUTTON, - TempRect, this, IDC_BTN1); - if (!bSuccess) - return FALSE; - - bSuccess = m_Btn2.Create(_T("Button2"), - WS_CHILD|WS_VISIBLE|WS_TABSTOP| BS_PUSHBUTTON, - TempRect, this, IDC_BTN2); - if (!bSuccess) - return FALSE; - - CFont *ft1 = new CFont, - *ft2 = new CFont, - *ft3 = new CFont; - - - LOGFONT lf; - memset(&lf, 0, sizeof(LOGFONT)); - lf.lfHeight = 12; - lstrcpy(lf.lfFaceName, _T("Arial")); - VERIFY(ft1->CreateFontIndirect(&lf)); - VERIFY(ft3->CreateFontIndirect(&lf)); - - lf.lfHeight = 20; - VERIFY(ft2->CreateFontIndirect(&lf)); - - m_Title1.SetFont(ft1, TRUE); - m_Title2.SetFont(ft2, TRUE); - m_Title3.SetFont(ft3, TRUE); - - - SetWindowSize(); - - // Center and show window - CenterWindow(); - - Show(); - - return TRUE; -} - -void CPopUpWnd::SetContent(const CPopUpContent &content) -{ - m_Title1.SetWindowText(content.m_Title1); - m_Title2.SetWindowText(content.m_Title2); - m_Title3.SetWindowText(content.m_Title3); - - if (content.m_Btn1 != "") { - m_Btn1.SetWindowText(content.m_Btn1); - m_Btn1.ShowWindow(SW_SHOW); - } else { - m_Btn1.ShowWindow(SW_HIDE); - } - - if (content.m_Btn2 != "") { - m_Btn2.SetWindowText(content.m_Btn2); - m_Btn2.ShowWindow(SW_SHOW); - } else { - m_Btn2.ShowWindow(SW_HIDE); - } - - UpdateWindow(); - ShowWindow(SW_SHOW); -} - -void CPopUpWnd::SetWindowSize(int width, int height) -{ - enum { H1 = 16, H2 = 40, H3 = 16, S = 5, G = 10, BW=60, BH=20, BG=40}; - - CRect rootRect(0, 0, 320, 240); - int Y; - - MoveWindow((rootRect.Width() - width)/2, (rootRect.Height() - height)/2, - width, height); - - m_Title1.MoveWindow(10, Y=S, width-20, H1); - m_Title2.MoveWindow(10, Y+=H1+G, width-20, H2); - m_Title3.MoveWindow(10, Y+=H2+G, width-20, H3); - - m_Btn1.MoveWindow((width-2*BW-BG)/2, Y+=H3+G, BW, BH); - m_Btn2.MoveWindow((width-2*BW-BG)/2+BW+BG, Y, BW, BH); -} - -void CPopUpWnd::Hide() -{ - if (!::IsWindow(GetSafeHwnd())) - return; - - if (IsWindowVisible()) - { - ShowWindow(SW_HIDE); - ModifyStyle(WS_VISIBLE, 0); - } -} - -void CPopUpWnd::Show() -{ - if (!::IsWindow(GetSafeHwnd())) - return; - - ModifyStyle(0, WS_VISIBLE); - ShowWindow(SW_SHOWNA); - RedrawWindow(NULL,NULL,RDW_ERASE|RDW_INVALIDATE|RDW_UPDATENOW); -} - -BEGIN_MESSAGE_MAP(CPopUpWnd, CWnd) - //{{AFX_MSG_MAP(CPopUpWnd) - ON_WM_ERASEBKGND() - //}}AFX_MSG_MAP - ON_BN_CLICKED(IDC_BTN1, OnCancel1) - ON_BN_CLICKED(IDC_BTN2, OnCancel2) -END_MESSAGE_MAP() - - -///////////////////////////////////////////////////////////////////////////// -// CPopUpWnd message handlers - -BOOL CPopUpWnd::OnEraseBkgnd(CDC* pDC) -{ - CBrush backBrush; - backBrush.CreateSolidBrush(RGB(255,255,255)); - CBrush* pOldBrush = pDC->SelectObject(&backBrush); - - CRect rect; - pDC->GetClipBox(&rect); // Erase the area needed - pDC->PatBlt(rect.left, rect.top, rect.Width(), rect.Height(), PATCOPY); - pDC->SelectObject(pOldBrush); - - return TRUE; -} - -void CPopUpWnd::OnCancel1() -{ - m_ParentWnd->OnPopUpButton(1); -} - - -void CPopUpWnd::OnCancel2() -{ - m_ParentWnd->OnPopUpButton(2); -} - - -BOOL CPopUpWnd::DestroyWindow() -{ - return CWnd::DestroyWindow(); -} - -void CPopUpWnd::PeekAndPump() -{ - MSG msg; - while (::PeekMessage(&msg, NULL,0,0,PM_NOREMOVE)) - { - if (!AfxGetApp()->PumpMessage()) - { - ::PostQuitMessage(0); - return; - } - } -} - diff --git a/res/pjproject/pjsip-apps/src/pocketpj/PopUpWnd.h b/res/pjproject/pjsip-apps/src/pocketpj/PopUpWnd.h deleted file mode 100644 index 55c4a24b72..0000000000 --- a/res/pjproject/pjsip-apps/src/pocketpj/PopUpWnd.h +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef __POPUP_WND_H__ -#define __POPUP_WND_H__ - - -class CPocketPJDlg; - -///////////////////////////////////////////////////////////////////////////// -struct CPopUpContent -{ - CString m_Title1; - CString m_Title2; - CString m_Title3; - CString m_Btn1; - CString m_Btn2; -}; - - -///////////////////////////////////////////////////////////////////////////// -// CPopUpWnd window - -class CPopUpWnd : public CWnd -{ -public: - CPopUpWnd(CPocketPJDlg* pParent); - virtual ~CPopUpWnd(); - - void SetContent(const CPopUpContent &content); - void Hide(); - void Show(); - - void SetWindowSize(int nWindowWidth = 200, int nWindowHeight = 180); - - void PeekAndPump(); - -// Implementation -protected: - CPocketPJDlg * m_ParentWnd; - - CStatic m_Title1; - CStatic m_Title2; - CStatic m_Title3; - CButton m_Btn1; - CButton m_Btn2; - - BOOL Create(CPocketPJDlg* pParent); - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CPopUpWnd) - public: - virtual BOOL DestroyWindow(); - //}}AFX_VIRTUAL - -// Generated message map functions -protected: - //{{AFX_MSG(CPopUpWnd) - afx_msg BOOL OnEraseBkgnd(CDC* pDC); - //}}AFX_MSG - afx_msg void OnCancel1(); - afx_msg void OnCancel2(); - DECLARE_MESSAGE_MAP() -}; - - -#endif -///////////////////////////////////////////////////////////////////////////// - diff --git a/res/pjproject/pjsip-apps/src/pocketpj/ReadMe.txt b/res/pjproject/pjsip-apps/src/pocketpj/ReadMe.txt deleted file mode 100644 index a52cd9d4ef..0000000000 --- a/res/pjproject/pjsip-apps/src/pocketpj/ReadMe.txt +++ /dev/null @@ -1,81 +0,0 @@ -======================================================================== - Microsoft Foundation Class Library for Windows CE: PocketPJ -======================================================================== - - -AppWizard has created this PocketPJ application for you. This application -not only demonstrates the basics of using the Microsoft Foundation classes -but is also a starting point for writing your application. - -This file contains a summary of what you will find in each of the files that -make up your PocketPJ application. - -PocketPJ.h - This is the main header file for the application. It includes other - project specific headers (including Resource.h) and declares the - CPocketPJApp application class. - -PocketPJ.cpp - This is the main application source file that contains the application - class CPocketPJApp. - -PocketPJ.rc - This is a listing of all of the Microsoft Windows CE resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - eMbedded Visual C++. - -res\PocketPJ.ico - This is an icon file, which is used as the application's icon. This - icon is included by the main resource file PocketPJ.rc. - -res\PocketPJ.rc2 - This file contains resources that are not edited by Microsoft - eMbedded Visual C++. You should place all resources not - editable by the resource editor in this file. - -PocketPJ.vcc - This file contains information used by ClassWizard to edit existing - classes or add new classes. ClassWizard also uses this file to store - information needed to create and edit message maps and dialog data - maps and to create prototype member functions. - -///////////////////////////////////////////////////////////////////////////// - -AppWizard creates one dialog class: - -PocketPJDlg.h, PocketPJDlg.cpp - the dialog - These files contain your CPocketPJDlg class. This class defines - the behavior of your application's main dialog. The dialog's - template is in PocketPJ.rc, which can be edited in Microsoft - Developer Studio. - - - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named PocketPJ.pch and a precompiled types file named StdAfx.obj. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft eMbedded Visual C++ reads and updates this file. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" to indicate parts of the source code you -should add to or customize. - -If your application uses MFC in a shared DLL, and your application is -in a language other than the operating system's current language, you -will need to copy the corresponding localized resources MFCWCXXX.DLL from -the Microsoft eMbedded Visual C++ CD-ROM onto the system or system32 directory, -and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. -For example, MFCWCDEU.DLL contains resources translated to German.) If you -don't do this, some of the UI elements of your application will remain in the -language of the operating system. - -///////////////////////////////////////////////////////////////////////////// diff --git a/res/pjproject/pjsip-apps/src/pocketpj/SettingsDlg.cpp b/res/pjproject/pjsip-apps/src/pocketpj/SettingsDlg.cpp deleted file mode 100644 index 1357044ae2..0000000000 --- a/res/pjproject/pjsip-apps/src/pocketpj/SettingsDlg.cpp +++ /dev/null @@ -1,376 +0,0 @@ -// SettingsDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "PocketPJ.h" -#include "SettingsDlg.h" -#include -#include - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -#define REG_PATH _T("pjsip.org\\PocketPC") -#define REG_DOMAIN _T("Domain") -#define REG_USER _T("User") -#define REG_PASSWD _T("Data") -#define REG_USE_STUN _T("UseSTUN") -#define REG_STUN_SRV _T("STUNSrv") -#define REG_DNS _T("DNS") -#define REG_USE_ICE _T("UseICE") -#define REG_USE_SRTP _T("UseSRTP") -#define REG_USE_PUBLISH _T("UsePUBLISH") -#define REG_BUDDY_CNT _T("BuddyCnt") -#define REG_BUDDY_X _T("Buddy%u") -#define REG_ENABLE_EC _T("EnableEC") -#define REG_EC_TAIL _T("ECTail") -#define REG_ENABLE_VAD _T("EnableVAD") -#define REG_ENABLE_TCP _T("EnableTCP") -#define REG_CODEC_CNT _T("CodecCnt") -#define REG_CODEC_X _T("Codec%u") -#define REG_AUTO_ANSWER _T("AutoAnswer") - - -///////////////////////////////////////////////////////////////////////////// -// Settings -CPocketPJSettings::CPocketPJSettings() -: m_UseStun(FALSE), m_UseIce(FALSE), m_UseSrtp(FALSE), m_UsePublish(FALSE), - m_EchoSuppress(TRUE), m_EcTail(200), m_TCP(FALSE), m_VAD(FALSE), - m_AutoAnswer(FALSE) -{ - /* Init codec list */ -#if defined(PJMEDIA_HAS_GSM_CODEC) && PJMEDIA_HAS_GSM_CODEC - m_Codecs.Add(_T("GSM")); -#endif -#if defined(PJMEDIA_HAS_G711_CODEC) && PJMEDIA_HAS_G711_CODEC - m_Codecs.Add(_T("PCMU")); - m_Codecs.Add(_T("PCMA")); -#endif -#if defined(PJMEDIA_HAS_SPEEX_CODEC) && PJMEDIA_HAS_SPEEX_CODEC - m_Codecs.Add(_T("Speex")); -#endif -} - -// Load from registry -void CPocketPJSettings::LoadRegistry() -{ - CRegKey key; - wchar_t textVal[256]; - DWORD dwordVal; - DWORD cbData; - - - if (key.Open(HKEY_CURRENT_USER, REG_PATH) != ERROR_SUCCESS) - return; - - cbData = sizeof(textVal); - if (key.QueryValue(textVal, REG_DOMAIN, &cbData) == ERROR_SUCCESS) { - m_Domain = textVal; - } - - cbData = sizeof(textVal); - if (key.QueryValue(textVal, REG_USER, &cbData) == ERROR_SUCCESS) { - m_User = textVal; - } - - cbData = sizeof(textVal); - if (key.QueryValue(textVal, REG_PASSWD, &cbData) == ERROR_SUCCESS) { - m_Password = textVal; - } - - cbData = sizeof(textVal); - if (key.QueryValue(textVal, REG_STUN_SRV, &cbData) == ERROR_SUCCESS) { - m_StunSrv = textVal; - } - - cbData = sizeof(textVal); - if (key.QueryValue(textVal, REG_DNS, &cbData) == ERROR_SUCCESS) { - m_DNS = textVal; - } - - dwordVal = 0; - if (key.QueryValue(dwordVal, REG_USE_STUN) == ERROR_SUCCESS) { - m_UseStun = dwordVal != 0; - } - - if (key.QueryValue(dwordVal, REG_USE_ICE) == ERROR_SUCCESS) { - m_UseIce = dwordVal != 0; - } - - - if (key.QueryValue(dwordVal, REG_USE_SRTP) == ERROR_SUCCESS) { - m_UseSrtp = dwordVal != 0; - } - - - cbData = sizeof(dwordVal); - if (key.QueryValue(dwordVal, REG_USE_PUBLISH) == ERROR_SUCCESS) { - m_UsePublish = dwordVal != 0; - } - - cbData = sizeof(dwordVal); - if (key.QueryValue(dwordVal, REG_ENABLE_EC) == ERROR_SUCCESS) { - m_EchoSuppress = dwordVal != 0; - } - - cbData = sizeof(dwordVal); - if (key.QueryValue(dwordVal, REG_EC_TAIL) == ERROR_SUCCESS) { - m_EcTail = dwordVal; - } - - cbData = sizeof(dwordVal); - if (key.QueryValue(dwordVal, REG_ENABLE_TCP) == ERROR_SUCCESS) { - m_TCP = dwordVal != 0; - } - - cbData = sizeof(dwordVal); - if (key.QueryValue(dwordVal, REG_ENABLE_VAD) == ERROR_SUCCESS) { - m_VAD = dwordVal != 0; - } - - cbData = sizeof(dwordVal); - if (key.QueryValue(dwordVal, REG_AUTO_ANSWER) == ERROR_SUCCESS) { - m_AutoAnswer = dwordVal != 0; - } - - m_BuddyList.RemoveAll(); - - DWORD buddyCount = 0; - cbData = sizeof(dwordVal); - if (key.QueryValue(dwordVal, REG_BUDDY_CNT) == ERROR_SUCCESS) { - buddyCount = dwordVal; - } - - unsigned i; - for (i=0; i 1000 -#pragma once -#endif // _MSC_VER > 1000 -// SettingsDlg.h : header file -// -#include - -///////////////////////////////////////////////////////////////////////////// -// Settings -struct CPocketPJSettings -{ - CString m_Domain; - CString m_User; - CString m_Password; - bool m_UseStun; - CString m_StunSrv; - bool m_UseIce; - bool m_UseSrtp; - bool m_UsePublish; - CString m_DNS; - bool m_EchoSuppress; - DWORD m_EcTail; - bool m_TCP; - bool m_VAD; - bool m_AutoAnswer; - - CArray m_Codecs; - CArray m_BuddyList; - - CPocketPJSettings(); - - // Load from registry - void LoadRegistry(); - - // Save to registry - void SaveRegistry(); -}; - - -///////////////////////////////////////////////////////////////////////////// -// CSettingsDlg dialog - -class CSettingsDlg : public CDialog -{ -// Construction -public: - CSettingsDlg(CPocketPJSettings & cfg, CWnd* pParent = NULL); - -// Dialog Data - //{{AFX_DATA(CSettingsDlg) - enum { IDD = IDD_SETTING }; - CComboBox m_Codecs; - CString m_Domain; - BOOL m_ICE; - CString m_Passwd; - BOOL m_PUBLISH; - BOOL m_SRTP; - BOOL m_STUN; - CString m_StunSrv; - CString m_User; - CString m_Dns; - BOOL m_EchoSuppress; - CString m_EcTail; - BOOL m_TCP; - BOOL m_VAD; - BOOL m_AutoAnswer; - //}}AFX_DATA - - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CSettingsDlg) - public: - virtual int DoModal(); - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - CPocketPJSettings & m_Cfg; - - // Generated message map functions - //{{AFX_MSG(CSettingsDlg) - afx_msg void OnStun(); - afx_msg void OnEchoSuppress(); - afx_msg void OnSelchangeCodecs(); - virtual void OnOK(); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_SETTINGSDLG_H__46F18E6E_F411_4D9E_BEE9_619D80BC81DC__INCLUDED_) diff --git a/res/pjproject/pjsip-apps/src/pocketpj/StdAfx.cpp b/res/pjproject/pjsip-apps/src/pocketpj/StdAfx.cpp deleted file mode 100644 index 78794a399d..0000000000 --- a/res/pjproject/pjsip-apps/src/pocketpj/StdAfx.cpp +++ /dev/null @@ -1,6 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// PocketPJ.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - diff --git a/res/pjproject/pjsip-apps/src/pocketpj/StdAfx.h b/res/pjproject/pjsip-apps/src/pocketpj/StdAfx.h deleted file mode 100644 index 4142afee5b..0000000000 --- a/res/pjproject/pjsip-apps/src/pocketpj/StdAfx.h +++ /dev/null @@ -1,32 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__20B05C7D_B63E_4E5C_B3BB_E76C6C9E70B7__INCLUDED_) -#define AFX_STDAFX_H__20B05C7D_B63E_4E5C_B3BB_E76C6C9E70B7__INCLUDED_ - -#if _MSC_VER >= 1000 -#pragma once -#endif // _MSC_VER >= 1000 - -#pragma warning(disable:4496) - - -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers - -#include // MFC core and standard components -#include // MFC extensions - -#if defined(_AFXDLL) -#include // MFC support for Internet Explorer 4 Common Controls -#endif - -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - -//{{AFX_INSERT_LOCATION}} -// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__20B05C7D_B63E_4E5C_B3BB_E76C6C9E70B7__INCLUDED_) diff --git a/res/pjproject/pjsip-apps/src/pocketpj/newres.h b/res/pjproject/pjsip-apps/src/pocketpj/newres.h deleted file mode 100644 index 31c3a433e8..0000000000 --- a/res/pjproject/pjsip-apps/src/pocketpj/newres.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef __NEWRES_H__ -#define __NEWRES_H__ - -#define SHMENUBAR RCDATA -#if !(defined(_WIN32_WCE_PSPC) && (_WIN32_WCE >= 300)) - #undef HDS_HORZ - #undef HDS_BUTTONS - #undef HDS_HIDDEN - - #include - // for MenuBar - #define I_IMAGENONE (-2) - #define NOMENU 0xFFFF - #define IDS_SHNEW 1 - #define IDM_SHAREDNEW 10 - #define IDM_SHAREDNEWDEFAULT 11 - - // for Tab Control - #define TCS_SCROLLOPPOSITE 0x0001 // assumes multiline tab - #define TCS_BOTTOM 0x0002 - #define TCS_RIGHT 0x0002 - #define TCS_VERTICAL 0x0080 - #define TCS_MULTISELECT 0x0004 // allow multi-select in button mode - #define TCS_FLATBUTTONS 0x0008 -#endif //_WIN32_WCE_PSPC - - -#endif //__NEWRES_H__ diff --git a/res/pjproject/pjsip-apps/src/pocketpj/res/PocketPJ.ico b/res/pjproject/pjsip-apps/src/pocketpj/res/PocketPJ.ico deleted file mode 100644 index 51a182ea7c..0000000000 Binary files a/res/pjproject/pjsip-apps/src/pocketpj/res/PocketPJ.ico and /dev/null differ diff --git a/res/pjproject/pjsip-apps/src/pocketpj/res/PocketPJ.rc2 b/res/pjproject/pjsip-apps/src/pocketpj/res/PocketPJ.rc2 deleted file mode 100644 index e6755221d5..0000000000 --- a/res/pjproject/pjsip-apps/src/pocketpj/res/PocketPJ.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// -// POCKETPJ.RC2 - resources Microsoft eMbedded Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED - #error this file is not editable by Microsoft eMbedded Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/res/pjproject/pjsip-apps/src/pocketpj/res/action.bmp b/res/pjproject/pjsip-apps/src/pocketpj/res/action.bmp deleted file mode 100644 index dac70fe17f..0000000000 Binary files a/res/pjproject/pjsip-apps/src/pocketpj/res/action.bmp and /dev/null differ diff --git a/res/pjproject/pjsip-apps/src/pocketpj/res/blank.bmp b/res/pjproject/pjsip-apps/src/pocketpj/res/blank.bmp deleted file mode 100644 index d9521c452d..0000000000 Binary files a/res/pjproject/pjsip-apps/src/pocketpj/res/blank.bmp and /dev/null differ diff --git a/res/pjproject/pjsip-apps/src/pocketpj/res/invisibl.bmp b/res/pjproject/pjsip-apps/src/pocketpj/res/invisibl.bmp deleted file mode 100644 index 88194067c3..0000000000 Binary files a/res/pjproject/pjsip-apps/src/pocketpj/res/invisibl.bmp and /dev/null differ diff --git a/res/pjproject/pjsip-apps/src/pocketpj/res/invisibl.ico b/res/pjproject/pjsip-apps/src/pocketpj/res/invisibl.ico deleted file mode 100644 index 7404261920..0000000000 Binary files a/res/pjproject/pjsip-apps/src/pocketpj/res/invisibl.ico and /dev/null differ diff --git a/res/pjproject/pjsip-apps/src/pocketpj/res/offline.bmp b/res/pjproject/pjsip-apps/src/pocketpj/res/offline.bmp deleted file mode 100644 index cf18162247..0000000000 Binary files a/res/pjproject/pjsip-apps/src/pocketpj/res/offline.bmp and /dev/null differ diff --git a/res/pjproject/pjsip-apps/src/pocketpj/res/offline.ico b/res/pjproject/pjsip-apps/src/pocketpj/res/offline.ico deleted file mode 100644 index 207c666ad3..0000000000 Binary files a/res/pjproject/pjsip-apps/src/pocketpj/res/offline.ico and /dev/null differ diff --git a/res/pjproject/pjsip-apps/src/pocketpj/res/online.bmp b/res/pjproject/pjsip-apps/src/pocketpj/res/online.bmp deleted file mode 100644 index 7d87554dc2..0000000000 Binary files a/res/pjproject/pjsip-apps/src/pocketpj/res/online.bmp and /dev/null differ diff --git a/res/pjproject/pjsip-apps/src/pocketpj/res/online.ico b/res/pjproject/pjsip-apps/src/pocketpj/res/online.ico deleted file mode 100644 index c999c2bb51..0000000000 Binary files a/res/pjproject/pjsip-apps/src/pocketpj/res/online.ico and /dev/null differ diff --git a/res/pjproject/pjsip-apps/src/pocketpj/resource.h b/res/pjproject/pjsip-apps/src/pocketpj/resource.h deleted file mode 100644 index 85eefa2e15..0000000000 --- a/res/pjproject/pjsip-apps/src/pocketpj/resource.h +++ /dev/null @@ -1,71 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft eMbedded Visual C++ generated include file. -// Used by PocketPJ.rc -// -#define IDD_POCKETPJ_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDI_ONLINE 131 -#define IDI_OFFLINE 132 -#define IDI_INVISIBLE 133 -#define IDB_ONLINE 135 -#define IDB_OFFLINE 136 -#define IDB_INVISIBLE 137 -#define IDB_ACTION 138 -#define IDR_ACC_MENU 139 -#define IDR_URI_MENU 140 -#define IDD_SETTING 141 -#define IDD_POPUP 143 -#define IDB_BLANK 144 -#define IDC_BTN_ACC 1006 -#define IDC_BTN_ACTION 1007 -#define IDC_ACC_ID 1008 -#define IDC_BUDDY_LIST 1009 -#define IDC_URL 1010 -#define IDC_DOMAIN 1011 -#define IDC_USER 1012 -#define IDC_PASSWD 1013 -#define IDC_STUN 1014 -#define IDC_STUN_SRV 1015 -#define IDC_ICE 1016 -#define IDC_SRTP 1017 -#define IDC_TITLE1 1017 -#define IDC_PUBLISH 1018 -#define IDC_TITLE2 1018 -#define IDC_DNS 1019 -#define IDC_TITLE3 1020 -#define IDC_ECHO_SUPPRESS 1020 -#define IDC_BUTTON1 1021 -#define IDC_EC_TAIL 1021 -#define IDC_BUTTON2 1022 -#define IDC_VAD 1022 -#define IDC_TCP 1023 -#define IDC_CODECS 1024 -#define IDC_AA 1025 -#define IDS_CAP_ONLINE 32772 -#define IDS_CAP_OFFLINE 32774 -#define IDS_CAP_INVISIBLE 32776 -#define IDC_ONLINE 32777 -#define IDC_ACC_ONLINE 32777 -#define IDS_CAP_MENUITEM32783 32784 -#define IDC_MENU1 32785 -#define IDS_CAP_MENUITEM32786 32787 -#define IDC_SETTINGS 32788 -#define IDC_ACC_SETTINGS 32788 -#define IDC_MENU2 32789 -#define IDS_CAP_MENUITEM32790 32791 -#define IDC_URI_CALL 32792 -#define IDC_URI_ADD_BUDDY 32793 -#define ID_URI_DEL_BUDDY 32794 -#define IDC_URI_DEL_BUDDY 32794 -#define IDC_ACC_INVISIBLE 32795 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 145 -#define _APS_NEXT_COMMAND_VALUE 32796 -#define _APS_NEXT_CONTROL_VALUE 1025 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/res/pjproject/pjsip-apps/src/py_pjsua/DEPRECATED.txt b/res/pjproject/pjsip-apps/src/py_pjsua/DEPRECATED.txt deleted file mode 100644 index c5e85876ad..0000000000 --- a/res/pjproject/pjsip-apps/src/py_pjsua/DEPRECATED.txt +++ /dev/null @@ -1,2 +0,0 @@ -This Python module is now deprecated. Please use the new implementation under -pjsip-apps/python directory. diff --git a/res/pjproject/pjsip-apps/src/py_pjsua/Makefile b/res/pjproject/pjsip-apps/src/py_pjsua/Makefile deleted file mode 100644 index 10ed2fb30d..0000000000 --- a/res/pjproject/pjsip-apps/src/py_pjsua/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -all: - python setup.py install - -clean: - python setup.py clean - rm -rf ./build diff --git a/res/pjproject/pjsip-apps/src/py_pjsua/helper.mak b/res/pjproject/pjsip-apps/src/py_pjsua/helper.mak deleted file mode 100644 index b4acce615e..0000000000 --- a/res/pjproject/pjsip-apps/src/py_pjsua/helper.mak +++ /dev/null @@ -1,17 +0,0 @@ -include ../../../build.mak - -lib_dir: - @for token in `echo $(APP_LDFLAGS)`; do \ - echo $$token | grep L | sed 's/-L//'; \ - done - -inc_dir: - @for token in `echo $(APP_CFLAGS)`; do \ - echo $$token | grep I | sed 's/-I//'; \ - done - -libs: - @for token in `echo $(APP_LDLIBS)`; do \ - echo $$token | grep \\-l | sed 's/-l//'; \ - done - diff --git a/res/pjproject/pjsip-apps/src/py_pjsua/pjsua.py b/res/pjproject/pjsip-apps/src/py_pjsua/pjsua.py deleted file mode 100644 index f769ba58fb..0000000000 --- a/res/pjproject/pjsip-apps/src/py_pjsua/pjsua.py +++ /dev/null @@ -1,264 +0,0 @@ -import py_pjsua - -status = py_pjsua.create() -print "py status " + `status` - - -# -# Create configuration objects -# -ua_cfg = py_pjsua.config_default() -log_cfg = py_pjsua.logging_config_default() -media_cfg = py_pjsua.media_config_default() - -# -# Logging callback. -# -def logging_cb1(level, str, len): - print str, - - -# -# Configure logging -# -log_cfg.cb = logging_cb1 -log_cfg.console_level = 4 - -# -# Initialize pjsua! -# -status = py_pjsua.init(ua_cfg, log_cfg, media_cfg); -print "py status after initialization :" + `status` - - -# -# Start pjsua! -# -status = py_pjsua.start() -if status != 0: - exit(1) - - -message = py_pjsua.msg_data_init() - -print "identitas object message data :" + `message` - -sipaddr = 'sip:167.205.34.99' -print "checking sip address [%s] : %d" % (sipaddr, py_pjsua.verify_sip_url(sipaddr)) - -sipaddr = '167.205.34.99' -print "checking invalid sip address [%s] : %d" % (sipaddr, py_pjsua.verify_sip_url(sipaddr)) - -object = py_pjsua.get_pjsip_endpt() -print "identitas Endpoint :" + `object` + "" - -mediaend = py_pjsua.get_pjmedia_endpt() -print "identitas Media Endpoint :" + `mediaend` + "" - -pool = py_pjsua.get_pool_factory() -print "identitas pool factory :" + `pool` + "" - -status = py_pjsua.handle_events(3000) -print "py status after 3 second of blocking wait :" + `status` - - - -# end of new testrun - -# - -# lib transport -stunc = py_pjsua.stun_config_default(); - - -tc = py_pjsua.transport_config_default(); - - -py_pjsua.normalize_stun_config(stunc); - - -status, id = py_pjsua.transport_create(1, tc); -print "py transport create status " + `status` - -ti = py_pjsua.Transport_Info(); -ti = py_pjsua.transport_get_info(id) -print "py transport get info status " + `status` - -status = py_pjsua.transport_set_enable(id,1) -print "py transport set enable status " + `status` -if status != 0 : - py_pjsua.perror("py_pjsua","set enable",status) - - -status = py_pjsua.transport_close(id,1) -print "py transport close status " + `status` -if status != 0 : - py_pjsua.perror("py_pjsua","close",status) - -# end of lib transport - -# lib account - -accfg = py_pjsua.acc_config_default() -status, accid = py_pjsua.acc_add(accfg, 1) -print "py acc add status " + `status` -if status != 0 : - py_pjsua.perror("py_pjsua","add acc",status) -count = py_pjsua.acc_get_count() -print "acc count " + `count` - -accid = py_pjsua.acc_get_default() - -print "acc id default " + `accid` - -# end of lib account - -#lib buddy - -bcfg = py_pjsua.Buddy_Config() -status, id = py_pjsua.buddy_add(bcfg) -acc_id = id -print "py buddy add status " + `status` + " id " + `id` -bool = py_pjsua.buddy_is_valid(id) -print "py buddy is valid " + `bool` -count = py_pjsua.get_buddy_count() -print "buddy count " + `count` -binfo = py_pjsua.buddy_get_info(id) -ids = py_pjsua.enum_buddies() -status = py_pjsua.buddy_del(id) -print "py buddy del status " + `status` -status = py_pjsua.buddy_subscribe_pres(id, 1) -print "py buddy subscribe pres status " + `status` -py_pjsua.pres_dump(1) -status = py_pjsua.im_send(accid, "fahris@divusi.com", "", "hallo", message, 0) -print "py im send status " + `status` -status = py_pjsua.im_typing(accid, "fahris@divusi.com", 1, message) -print "py im typing status " + `status` -#print "binfo " + `binfo` - -#end of lib buddy - -#lib media -count = py_pjsua.conf_get_max_ports() -print "py media conf get max ports " + `count` -count = py_pjsua.conf_get_active_ports() -print "py media conf get active ports " + `count` -ids = py_pjsua.enum_conf_ports() -for id in ids: - print "py media conf ports " + `id` - cp_info = py_pjsua.conf_get_port_info(id) - print "port info name " + cp_info.name -pool = py_pjsua.PJ_Pool() -port = py_pjsua.PJMedia_Port() -status, id = py_pjsua.conf_add_port(pool,port) -print "py media conf add port status " + `status` + " id " + `id` -if status != 0 : - py_pjsua.perror("py_pjsua","add port",status) -status = py_pjsua.conf_remove_port(id) -print "py media conf remove port status " + `status` -if status != 0 : - py_pjsua.perror("py_pjsua","remove port",status) -status = py_pjsua.conf_connect(id, id) -print "py media conf connect status " + `status` -if status != 0 : - py_pjsua.perror("py_pjsua","connect",status) -status = py_pjsua.conf_disconnect(id, id) -print "py media conf disconnect status " + `status` -if status != 0 : - py_pjsua.perror("py_pjsua","disconnect",status) -status, id = py_pjsua.player_create("test.wav", 0) -print "py media player create status " + `status` + " id " + `id` -if status != 0 : - py_pjsua.perror("py_pjsua","player create",status) -c_id = py_pjsua.player_get_conf_port(id) -print "py media player get conf port id " + `c_id` -status = py_pjsua.player_set_pos(id, 10) -if status != 0 : - py_pjsua.perror("py_pjsua","player set pos",status) -status = py_pjsua.player_destroy(id) -if status != 0 : - py_pjsua.perror("py_pjsua","player destroy",status) -status, id = py_pjsua.recorder_create("rec.wav", 0, "None", 1000, 0) -print "py media recorder create status " + `status` + " id " + `id` -if status != 0 : - py_pjsua.perror("py_pjsua","recorder create",status) -status = py_pjsua.recorder_get_conf_port(id) -print "py media recorder get conf port status " + `status` -if status != 0 : - py_pjsua.perror("py_pjsua","recorder get conf port",status) -status = py_pjsua.recorder_destroy(id) -print "py media recorder destroy status " + `status` -if status != 0 : - py_pjsua.perror("py_pjsua","recorder destroy",status) -#cdev, pdev = py_pjsua.get_snd_dev() -#print "py media get snd dev capture dev " + `cdev` + " playback dev " + `pdev` -status = py_pjsua.set_snd_dev(0,1) -print "py media set snd dev status " + `status` -if status != 0 : - py_pjsua.perror("py_pjsua","set snd dev",status) -status = py_pjsua.set_null_snd_dev() -print "py media set null snd dev status " + `status` -if status != 0 : - py_pjsua.perror("py_pjsua","set null snd dev",status) -port = py_pjsua.set_no_snd_dev() -status = py_pjsua.set_ec(0,0) -print "py media set ec status " + `status` -if status != 0 : - py_pjsua.perror("py_pjsua","set ec",status) -tail = py_pjsua.get_ec_tail() -print "py media get ec tail " + `tail` -infos = py_pjsua.enum_codecs() -for info in infos: - print "py media enum codecs " + `info` -status = py_pjsua.codec_set_priority("coba", 0) -print "py media codec set priority " + `status` -if status != 0 : - py_pjsua.perror("py_pjsua","codec set priority",status) -c_param = py_pjsua.codec_get_param("coba") -status = py_pjsua.codec_set_param("coba", c_param) -print "py media codec set param " + `status` -if status != 0 : - py_pjsua.perror("py_pjsua","codec set param",status) - -#end of lib media - -#lib call - -count = py_pjsua.call_get_max_count() -print "py call get max count " + `count` -count = py_pjsua.call_get_count() -print "py call get count " + `count` -ids = py_pjsua.enum_calls() -for id in ids: - print "py enum calls id " + `id` -msg_data = py_pjsua.Msg_Data() -status, id = py_pjsua.call_make_call(-1, "sip:bulukucing1@iptel.org", 0, 0, msg_data) -print "py call make call " + `status` + " id " + `id` -if status != 0 : - py_pjsua.perror("py_pjsua","call make call",status) -bool = py_pjsua.call_is_active(id) -print "py call is active " + `bool` -bool = py_pjsua.call_has_media(id) -print "py call has media " + `bool` -cp_id = py_pjsua.call_get_conf_port(id) -print "py call get conf port " + `cp_id` -info = py_pjsua.call_get_info(id) -if info != None : - print "py info id " + `info.id` -status = py_pjsua.call_set_user_data(id, 0) -print "py call set user data status " + `status` -if status != 0 : - py_pjsua.perror("py_pjsua","set user data",status) -user_data = py_pjsua.call_get_user_data(id) -print "py call get user data " + `user_data` - - - -#end of lib call - -py_pjsua.perror("saya","hallo",70006) - -status = py_pjsua.destroy() -print "py status " + `status` - - diff --git a/res/pjproject/pjsip-apps/src/py_pjsua/pjsua_app.py b/res/pjproject/pjsip-apps/src/py_pjsua/pjsua_app.py deleted file mode 100644 index 093b96ea50..0000000000 --- a/res/pjproject/pjsip-apps/src/py_pjsua/pjsua_app.py +++ /dev/null @@ -1,780 +0,0 @@ -# $Id$ -# -# Sample and simple Python script to make and receive calls, and do -# presence and instant messaging/IM using PJSUA-API binding for Python. -# -# Copyright (C) 2003-2007 Benny Prijono -# -import py_pjsua -import sys -import thread - -# -# Configurations -# -THIS_FILE = "pjsua_app.py" -C_QUIT = 0 -C_LOG_LEVEL = 4 - -# STUN config. -# Set C_STUN_HOST to the address:port of the STUN server to enable STUN -# -C_STUN_HOST = "" -#C_STUN_HOST = "192.168.0.2" -#C_STUN_HOST = "stun.iptel.org:3478" - -# SIP port -C_SIP_PORT = 5060 - - -# Globals -# -g_ua_cfg = None -g_acc_id = py_pjsua.PJSUA_INVALID_ID -g_current_call = py_pjsua.PJSUA_INVALID_ID -g_wav_files = [] -g_wav_id = 0 -g_wav_port = 0 -g_rec_file = "" -g_rec_id = 0 -g_rec_port = 0 - -# Utility: display PJ error and exit -# -def err_exit(title, rc): - py_pjsua.perror(THIS_FILE, title, rc) - py_pjsua.destroy() - exit(1) - - -# Logging function (also callback, called by pjsua-lib) -# -def log_cb(level, str, len): - if level <= C_LOG_LEVEL: - print str, - -def write_log(level, str): - log_cb(level, str + "\n", 0) - - -# Utility to get call info -# -def call_name(call_id): - ci = py_pjsua.call_get_info(call_id) - return "[Call " + `call_id` + " " + ci.remote_info + "]" - -# Callback when call state has changed. -# -def on_call_state(call_id, e): - global g_current_call - ci = py_pjsua.call_get_info(call_id) - write_log(3, call_name(call_id) + " state = " + `ci.state_text`) - if ci.state == py_pjsua.PJSIP_INV_STATE_DISCONNECTED: - g_current_call = py_pjsua.PJSUA_INVALID_ID - -# Callback for incoming call -# -def on_incoming_call(acc_id, call_id, rdata): - global g_current_call - - if g_current_call != py_pjsua.PJSUA_INVALID_ID: - # There's call in progress - answer Busy - py_pjsua.call_answer(call_id, 486, None, None) - return - - g_current_call = call_id - ci = py_pjsua.call_get_info(call_id) - write_log(3, "*** Incoming call: " + call_name(call_id) + "***") - write_log(3, "*** Press a to answer or h to hangup ***") - - - -# Callback when media state has changed (e.g. established or terminated) -# -def on_call_media_state(call_id): - ci = py_pjsua.call_get_info(call_id) - if ci.media_status == py_pjsua.PJSUA_CALL_MEDIA_ACTIVE: - py_pjsua.conf_connect(ci.conf_slot, 0) - py_pjsua.conf_connect(0, ci.conf_slot) - write_log(3, call_name(call_id) + ": media is active") - else: - write_log(3, call_name(call_id) + ": media is inactive") - - -# Callback when account registration state has changed -# -def on_reg_state(acc_id): - acc_info = py_pjsua.acc_get_info(acc_id) - if acc_info.has_registration != 0: - cmd = "registration" - else: - cmd = "unregistration" - if acc_info.status != 0 and acc_info.status != 200: - write_log(3, "Account " + cmd + " failed: rc=" + `acc_info.status` + " " + acc_info.status_text) - else: - write_log(3, "Account " + cmd + " success") - - -# Callback when buddy's presence state has changed -# -def on_buddy_state(buddy_id): - write_log(3, "On Buddy state called") - buddy_info = py_pjsua.buddy_get_info(buddy_id) - if buddy_info.status != 0 and buddy_info.status != 200: - write_log(3, "Status of " + `buddy_info.uri` + " is " + `buddy_info.status_text`) - else: - write_log(3, "Status : " + `buddy_info.status`) - -# Callback on incoming pager (MESSAGE) -# -def on_pager(call_id, strfrom, strto, contact, mime_type, text): - write_log(3, "MESSAGE from " + `strfrom` + " : " + `text`) - - -# Callback on the delivery status of outgoing pager (MESSAGE) -# -def on_pager_status(call_id, strto, body, user_data, status, reason): - write_log(3, "MESSAGE to " + `strto` + " status " + `status` + " reason " + `reason`) - - -# Received typing indication -# -def on_typing(call_id, strfrom, to, contact, is_typing): - str_t = "" - if is_typing: - str_t = "is typing.." - else: - str_t = "has stopped typing" - write_log(3, "IM indication: " + strfrom + " " + str_t) - -# Received the status of previous call transfer request -# -def on_call_transfer_status(call_id,status_code,status_text,final,p_cont): - strfinal = "" - if final == 1: - strfinal = "[final]" - - write_log(3, "Call " + `call_id` + ": transfer status= " + `status_code` + " " + status_text+ " " + strfinal) - - if status_code/100 == 2: - write_log(3, "Call " + `call_id` + " : call transfered successfully, disconnecting call") - status = py_pjsua.call_hangup(call_id, 410, None, None) - p_cont = 0 - -# Callback on incoming call transfer request -# -def on_call_transfer_request(call_id, dst, code): - write_log(3, "Call transfer request from " + `call_id` + " to " + dst + " with code " + `code`) - -# -# Initialize pjsua. -# -def app_init(): - global g_acc_id, g_ua_cfg - - # Create pjsua before anything else - status = py_pjsua.create() - if status != 0: - err_exit("pjsua create() error", status) - - # Create and initialize logging config - log_cfg = py_pjsua.logging_config_default() - log_cfg.level = C_LOG_LEVEL - log_cfg.cb = log_cb - - # Create and initialize pjsua config - # Note: for this Python module, thread_cnt must be 0 since Python - # doesn't like to be called from alien thread (pjsua's thread - # in this case) - ua_cfg = py_pjsua.config_default() - ua_cfg.thread_cnt = 0 - ua_cfg.user_agent = "PJSUA/Python 0.1" - ua_cfg.cb.on_incoming_call = on_incoming_call - ua_cfg.cb.on_call_media_state = on_call_media_state - ua_cfg.cb.on_reg_state = on_reg_state - ua_cfg.cb.on_call_state = on_call_state - ua_cfg.cb.on_buddy_state = on_buddy_state - ua_cfg.cb.on_pager = on_pager - ua_cfg.cb.on_pager_status = on_pager_status - ua_cfg.cb.on_typing = on_typing - ua_cfg.cb.on_call_transfer_status = on_call_transfer_status - ua_cfg.cb.on_call_transfer_request = on_call_transfer_request - - # Configure STUN setting - if C_STUN_HOST != "": - ua_cfg.stun_host = C_STUN_HOST; - - # Create and initialize media config - med_cfg = py_pjsua.media_config_default() - med_cfg.ec_tail_len = 0 - - # - # Initialize pjsua!! - # - status = py_pjsua.init(ua_cfg, log_cfg, med_cfg) - if status != 0: - err_exit("pjsua init() error", status) - - # Configure UDP transport config - transport_cfg = py_pjsua.transport_config_default() - transport_cfg.port = C_SIP_PORT - - # Create UDP transport - status, transport_id = \ - py_pjsua.transport_create(py_pjsua.PJSIP_TRANSPORT_UDP, transport_cfg) - if status != 0: - err_exit("Error creating UDP transport", status) - - - # Create initial default account - status, acc_id = py_pjsua.acc_add_local(transport_id, 1) - if status != 0: - err_exit("Error creating account", status) - - g_acc_id = acc_id - g_ua_cfg = ua_cfg - -# Add SIP account interractively -# -def add_account(): - global g_acc_id - - acc_domain = "" - acc_username = "" - acc_passwd ="" - confirm = "" - - # Input account configs - print "Your SIP domain (e.g. myprovider.com): ", - acc_domain = sys.stdin.readline() - if acc_domain == "\n": - return - acc_domain = acc_domain.replace("\n", "") - - print "Your username (e.g. alice): ", - acc_username = sys.stdin.readline() - if acc_username == "\n": - return - acc_username = acc_username.replace("\n", "") - - print "Your password (e.g. secret): ", - acc_passwd = sys.stdin.readline() - if acc_passwd == "\n": - return - acc_passwd = acc_passwd.replace("\n", "") - - # Configure account configuration - acc_cfg = py_pjsua.acc_config_default() - acc_cfg.id = "sip:" + acc_username + "@" + acc_domain - acc_cfg.reg_uri = "sip:" + acc_domain - - cred_info = py_pjsua.Pjsip_Cred_Info() - cred_info.realm = "*" - cred_info.scheme = "digest" - cred_info.username = acc_username - cred_info.data_type = 0 - cred_info.data = acc_passwd - - acc_cfg.cred_info.append(1) - acc_cfg.cred_info[0] = cred_info - - # Add new SIP account - status, acc_id = py_pjsua.acc_add(acc_cfg, 1) - if status != 0: - py_pjsua.perror(THIS_FILE, "Error adding SIP account", status) - else: - g_acc_id = acc_id - write_log(3, "Account " + acc_cfg.id + " added") - -def add_player(): - global g_wav_files - global g_wav_id - global g_wav_port - - file_name = "" - status = -1 - wav_id = 0 - - print "Enter the path of the file player(e.g. /tmp/audio.wav): ", - file_name = sys.stdin.readline() - if file_name == "\n": - return - file_name = file_name.replace("\n", "") - status, wav_id = py_pjsua.player_create(file_name, 0) - if status != 0: - py_pjsua.perror(THIS_FILE, "Error adding file player ", status) - else: - g_wav_files.append(file_name) - if g_wav_id == 0: - g_wav_id = wav_id - g_wav_port = py_pjsua.player_get_conf_port(wav_id) - write_log(3, "File player " + file_name + " added") - -def add_recorder(): - global g_rec_file - global g_rec_id - global g_rec_port - - file_name = "" - status = -1 - rec_id = 0 - - print "Enter the path of the file recorder(e.g. /tmp/audio.wav): ", - file_name = sys.stdin.readline() - if file_name == "\n": - return - file_name = file_name.replace("\n", "") - status, rec_id = py_pjsua.recorder_create(file_name, 0, None, 0, 0) - if status != 0: - py_pjsua.perror(THIS_FILE, "Error adding file recorder ", status) - else: - g_rec_file = file_name - g_rec_id = rec_id - g_rec_port = py_pjsua.recorder_get_conf_port(rec_id) - write_log(3, "File recorder " + file_name + " added") - -def conf_list(): - ports = None - print "Conference ports : " - ports = py_pjsua.enum_conf_ports() - - for port in ports: - info = None - info = py_pjsua.conf_get_port_info(port) - txlist = "" - for listener in info.listeners: - txlist = txlist + "#" + `listener` + " " - - print "Port #" + `info.slot_id` + "[" + `(info.clock_rate/1000)` + "KHz/" + `(info.samples_per_frame * 1000 / info.clock_rate)` + "ms] " + info.name + " transmitting to: " + txlist - -def connect_port(): - src_port = 0 - dst_port = 0 - - print "Connect src port # (empty to cancel): " - src_port = sys.stdin.readline() - if src_port == "\n": - return - src_port = src_port.replace("\n", "") - src_port = int(src_port) - print "To dst port # (empty to cancel): " - dst_port = sys.stdin.readline() - if dst_port == "\n": - return - dst_port = dst_port.replace("\n", "") - dst_port = int(dst_port) - status = py_pjsua.conf_connect(src_port, dst_port) - if status != 0: - py_pjsua.perror(THIS_FILE, "Error connecting port ", status) - else: - write_log(3, "Port connected from " + `src_port` + " to " + `dst_port`) - -def disconnect_port(): - src_port = 0 - dst_port = 0 - - print "Disconnect src port # (empty to cancel): " - src_port = sys.stdin.readline() - if src_port == "\n": - return - src_port = src_port.replace("\n", "") - src_port = int(src_port) - print "From dst port # (empty to cancel): " - dst_port = sys.stdin.readline() - if dst_port == "\n": - return - dst_port = dst_port.replace("\n", "") - dst_port = int(dst_port) - status = py_pjsua.conf_disconnect(src_port, dst_port) - if status != 0: - py_pjsua.perror(THIS_FILE, "Error disconnecting port ", status) - else: - write_log(3, "Port disconnected " + `src_port` + " from " + `dst_port`) - -def dump_call_quality(): - global g_current_call - - buf = "" - if g_current_call != -1: - buf = py_pjsua.call_dump(g_current_call, 1, 1024, " ") - write_log(3, "\n" + buf) - else: - write_log(3, "No current call") - -def xfer_call(): - global g_current_call - - if g_current_call == -1: - - write_log(3, "No current call") - - else: - call = g_current_call - ci = py_pjsua.call_get_info(g_current_call) - print "Transfering current call ["+ `g_current_call` + "] " + ci.remote_info - print "Enter sip url : " - url = sys.stdin.readline() - if url == "\n": - return - url = url.replace("\n", "") - if call != g_current_call: - print "Call has been disconnected" - return - msg_data = py_pjsua.msg_data_init() - status = py_pjsua.call_xfer(g_current_call, url, msg_data); - if status != 0: - py_pjsua.perror(THIS_FILE, "Error transfering call ", status) - else: - write_log(3, "Call transfered to " + url) - -def xfer_call_replaces(): - if g_current_call == -1: - write_log(3, "No current call") - else: - call = g_current_call - - ids = py_pjsua.enum_calls() - if len(ids) <= 1: - print "There are no other calls" - return - - ci = py_pjsua.call_get_info(g_current_call) - print "Transfer call [" + `g_current_call` + "] " + ci.remote_info + " to one of the following:" - for i in range(0, len(ids)): - if ids[i] == call: - continue - call_info = py_pjsua.call_get_info(ids[i]) - print `ids[i]` + " " + call_info.remote_info + " [" + call_info.state_text + "]" - - print "Enter call number to be replaced : " - buf = sys.stdin.readline() - buf = buf.replace("\n","") - if buf == "": - return - dst_call = int(buf) - - if call != g_current_call: - print "Call has been disconnected" - return - - if dst_call == call: - print "Destination call number must not be the same as the call being transfered" - return - - if dst_call >= py_pjsua.PJSUA_MAX_CALLS: - print "Invalid destination call number" - return - - if py_pjsua.call_is_active(dst_call) == 0: - print "Invalid destination call number" - return - - py_pjsua.call_xfer_replaces(call, dst_call, 0, None) - -# -# Worker thread function. -# Python doesn't like it when it's called from an alien thread -# (pjsua's worker thread, in this case), so for Python we must -# disable worker thread in pjsua and poll pjsua from Python instead. -# -def worker_thread_main(arg): - global C_QUIT - thread_desc = 0; - status = py_pjsua.thread_register("python worker", thread_desc) - if status != 0: - py_pjsua.perror(THIS_FILE, "Error registering thread", status) - else: - while C_QUIT == 0: - py_pjsua.handle_events(50) - print "Worker thread quitting.." - C_QUIT = 2 - - -# Start pjsua -# -def app_start(): - # Done with initialization, start pjsua!! - # - status = py_pjsua.start() - if status != 0: - err_exit("Error starting pjsua!", status) - - # Start worker thread - thr = thread.start_new(worker_thread_main, (0,)) - - print "PJSUA Started!!" - - -# Print account and buddy list -def print_acc_buddy_list(): - global g_acc_id - - acc_ids = py_pjsua.enum_accs() - print "Account list:" - for acc_id in acc_ids: - acc_info = py_pjsua.acc_get_info(acc_id) - if acc_info.has_registration == 0: - acc_status = acc_info.status_text - else: - acc_status = `acc_info.status` + "/" + acc_info.status_text + " (expires=" + `acc_info.expires` + ")" - - if acc_id == g_acc_id: - print " *", - else: - print " ", - - print "[" + `acc_id` + "] " + acc_info.acc_uri + ": " + acc_status - print " Presence status: ", - if acc_info.online_status != 0: - print "Online" - else: - print "Invisible" - - if py_pjsua.get_buddy_count() > 0: - print "" - print "Buddy list:" - buddy_ids = py_pjsua.enum_buddies() - for buddy_id in buddy_ids: - bi = py_pjsua.buddy_get_info(buddy_id) - print " [" + `buddy_id` + "] " + bi.status_text + " " + bi.uri - - -# Print application menu -# -def print_menu(): - print "" - print ">>>" - print_acc_buddy_list() - print """ -+============================================================================+ -| Call Commands : | Buddy, IM & Presence: | Account: | -| | | | -| m Make call | +b Add buddy | +a Add account | -| a Answer current call | -b Delete buddy | -a Delete accnt | -| h Hangup current call | | | -| H Hold call | i Send instant message | rr register | -| v re-inVite (release Hold) | s Subscribe presence | ru Unregister | -| # Send DTMF string | u Unsubscribe presence | | -| dq Dump curr. call quality | t ToGgle Online status | | -| +--------------------------+------------------+ -| x Xfer call | Media Commands: | Status: | -| X Xfer with Replaces | | | -| | cl List ports | d Dump status | -| | cc Connect port | dd Dump detail | -| | cd Disconnect port | | -| | +p Add file player | | -|------------------------------+ +r Add file recorder | | -| q Quit application | | | -+============================================================================+""" - print "You have " + `py_pjsua.call_get_count()` + " active call(s)" - print ">>>", - -# Menu -# -def app_menu(): - global g_acc_id - global g_current_call - - quit = 0 - while quit == 0: - print_menu() - choice = sys.stdin.readline() - - if choice[0] == "q": - quit = 1 - - elif choice[0] == "i": - # Sending IM - print "Send IM to SIP URL: ", - url = sys.stdin.readline() - if url == "\n": - continue - - # Send typing indication - py_pjsua.im_typing(g_acc_id, url, 1, None) - - print "The content: ", - message = sys.stdin.readline() - if message == "\n": - py_pjsua.im_typing(g_acc_id, url, 0, None) - continue - - # Send the IM! - py_pjsua.im_send(g_acc_id, url, None, message, None, 0) - - elif choice[0] == "m": - # Make call - print "Using account ", g_acc_id - print "Make call to SIP URL: ", - url = sys.stdin.readline() - url = url.replace("\n", "") - if url == "": - continue - - # Initiate the call! - status, call_id = py_pjsua.call_make_call(g_acc_id, url, 0, 0, None) - - if status != 0: - py_pjsua.perror(THIS_FILE, "Error making call", status) - else: - g_current_call = call_id - - elif choice[0] == "+" and choice[1] == "b": - # Add new buddy - bc = py_pjsua.Buddy_Config() - print "Buddy URL: ", - bc.uri = sys.stdin.readline() - if bc.uri == "\n": - continue - - bc.uri = bc.uri.replace("\n", "") - bc.subscribe = 1 - status, buddy_id = py_pjsua.buddy_add(bc) - if status != 0: - py_pjsua.perror(THIS_FILE, "Error adding buddy", status) - elif choice[0] == "-" and choice[1] == "b": - print "Enter buddy ID to delete : " - buf = sys.stdin.readline() - buf = buf.replace("\n","") - if buf == "": - continue - i = int(buf) - if py_pjsua.buddy_is_valid(i) == 0: - print "Invalid buddy id " + `i` - else: - py_pjsua.buddy_del(i) - print "Buddy " + `i` + " deleted" - elif choice[0] == "+" and choice[1] == "a": - # Add account - add_account() - elif choice[0] == "-" and choice[1] == "a": - print "Enter account ID to delete : " - buf = sys.stdin.readline() - buf = buf.replace("\n","") - if buf == "": - continue - i = int(buf) - - if py_pjsua.acc_is_valid(i) == 0: - print "Invalid account id " + `i` - else: - py_pjsua.acc_del(i) - print "Account " + `i` + " deleted" - - elif choice[0] == "+" and choice[1] == "p": - add_player() - elif choice[0] == "+" and choice[1] == "r": - add_recorder() - elif choice[0] == "c" and choice[1] == "l": - conf_list() - elif choice[0] == "c" and choice[1] == "c": - connect_port() - elif choice[0] == "c" and choice[1] == "d": - disconnect_port() - elif choice[0] == "d" and choice[1] == "q": - dump_call_quality() - elif choice[0] == "x": - xfer_call() - elif choice[0] == "X": - xfer_call_replaces() - elif choice[0] == "h": - if g_current_call != py_pjsua.PJSUA_INVALID_ID: - py_pjsua.call_hangup(g_current_call, 603, None, None) - else: - print "No current call" - elif choice[0] == "H": - if g_current_call != py_pjsua.PJSUA_INVALID_ID: - py_pjsua.call_set_hold(g_current_call, None) - - else: - print "No current call" - elif choice[0] == "v": - if g_current_call != py_pjsua.PJSUA_INVALID_ID: - - py_pjsua.call_reinvite(g_current_call, 1, None); - - else: - print "No current call" - elif choice[0] == "#": - if g_current_call == py_pjsua.PJSUA_INVALID_ID: - print "No current call" - elif py_pjsua.call_has_media(g_current_call) == 0: - print "Media is not established yet!" - else: - call = g_current_call - print "DTMF strings to send (0-9*#A-B)" - buf = sys.stdin.readline() - buf = buf.replace("\n", "") - if buf == "": - continue - if call != g_current_call: - print "Call has been disconnected" - continue - status = py_pjsua.call_dial_dtmf(g_current_call, buf) - if status != 0: - py_pjsua.perror(THIS_FILE, "Unable to send DTMF", status); - else: - print "DTMF digits enqueued for transmission" - elif choice[0] == "s": - print "Subscribe presence of (buddy id) : " - buf = sys.stdin.readline() - buf = buf.replace("\n","") - if buf == "": - continue - i = int(buf) - py_pjsua.buddy_subscribe_pres(i, 1) - elif choice[0] == "u": - print "Unsubscribe presence of (buddy id) : " - buf = sys.stdin.readline() - buf = buf.replace("\n","") - if buf == "": - continue - i = int(buf) - py_pjsua.buddy_subscribe_pres(i, 0) - elif choice[0] == "t": - acc_info = py_pjsua.acc_get_info(g_acc_id) - if acc_info.online_status == 0: - acc_info.online_status = 1 - else: - acc_info.online_status = 0 - py_pjsua.acc_set_online_status(g_acc_id, acc_info.online_status) - st = "" - if acc_info.online_status == 0: - st = "offline" - else: - st = "online" - print "Setting " + acc_info.acc_uri + " online status to " + st - elif choice[0] == "r": - if choice[1] == "r": - py_pjsua.acc_set_registration(g_acc_id, 1) - elif choice[1] == "u": - py_pjsua.acc_set_registration(g_acc_id, 0) - elif choice[0] == "d": - py_pjsua.dump(choice[1] == "d") - elif choice[0] == "a": - if g_current_call != py_pjsua.PJSUA_INVALID_ID: - - py_pjsua.call_answer(g_current_call, 200, None, None) - else: - print "No current call" - - -# -# main -# -app_init() -app_start() -app_menu() - -# -# Done, quitting.. -# -print "PJSUA shutting down.." -C_QUIT = 1 -# Give the worker thread chance to quit itself -while C_QUIT != 2: - py_pjsua.handle_events(50) - -print "PJSUA destroying.." -py_pjsua.destroy() - diff --git a/res/pjproject/pjsip-apps/src/py_pjsua/py_pjsua.c b/res/pjproject/pjsip-apps/src/py_pjsua/py_pjsua.c deleted file mode 100644 index 2766d17a51..0000000000 --- a/res/pjproject/pjsip-apps/src/py_pjsua/py_pjsua.c +++ /dev/null @@ -1,5872 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "py_pjsua.h" - -#define THIS_FILE "main.c" -#define POOL_SIZE 4000 -#define SND_DEV_NUM 64 -#define SND_NAME_LEN 64 - -/* LIB BASE */ - -static PyObject* obj_log_cb; -static long thread_id; - -#define ENTER_PYTHON() PyGILState_STATE state = PyGILState_Ensure() -#define LEAVE_PYTHON() PyGILState_Release(state) - -/* - * cb_log_cb - * declares method for reconfiguring logging process for callback struct - */ -static void cb_log_cb(int level, const char *data, int len) -{ - - /* Ignore if this callback is called from alien thread context, - * or otherwise it will crash Python. - */ - if (pj_thread_local_get(thread_id) == 0) - return; - - if (PyCallable_Check(obj_log_cb)) - { - ENTER_PYTHON(); - - PyObject_CallFunctionObjArgs( - obj_log_cb, Py_BuildValue("i",level), - PyString_FromString(data), Py_BuildValue("i",len), NULL - ); - - LEAVE_PYTHON(); - } -} - - - -/* - * The global callback object. - */ -static PyObj_pjsua_callback * g_obj_callback; - - -/* - * cb_on_call_state - * declares method on_call_state for callback struct - */ -static void cb_on_call_state(pjsua_call_id call_id, pjsip_event *e) -{ - if (PyCallable_Check(g_obj_callback->on_call_state)) - { - PyObj_pjsip_event * obj; - - ENTER_PYTHON(); - - obj = (PyObj_pjsip_event *)PyType_GenericNew(&PyTyp_pjsip_event, - NULL, NULL); - - obj->event = e; - - PyObject_CallFunctionObjArgs( - g_obj_callback->on_call_state, - Py_BuildValue("i",call_id), - obj, - NULL - ); - - LEAVE_PYTHON(); - } -} - - -/* - * cb_on_incoming_call - * declares method on_incoming_call for callback struct - */ -static void cb_on_incoming_call(pjsua_acc_id acc_id, pjsua_call_id call_id, - pjsip_rx_data *rdata) -{ - if (PyCallable_Check(g_obj_callback->on_incoming_call)) - { - PyObj_pjsip_rx_data * obj; - - ENTER_PYTHON(); - - obj = (PyObj_pjsip_rx_data *)PyType_GenericNew(&PyTyp_pjsip_rx_data, - NULL, NULL); - obj->rdata = rdata; - - PyObject_CallFunctionObjArgs( - g_obj_callback->on_incoming_call, - Py_BuildValue("i",acc_id), - Py_BuildValue("i",call_id), - obj, - NULL - ); - - LEAVE_PYTHON(); - } -} - - -/* - * cb_on_call_media_state - * declares method on_call_media_state for callback struct - */ -static void cb_on_call_media_state(pjsua_call_id call_id) -{ - if (PyCallable_Check(g_obj_callback->on_call_media_state)) - { - ENTER_PYTHON(); - - PyObject_CallFunction( - g_obj_callback->on_call_media_state, - "i", - call_id, - NULL - ); - - LEAVE_PYTHON(); - } -} - - -/* - * cb_on_dtmf_digit() - * Callback from PJSUA-LIB on receiving DTMF digit - */ -static void cb_on_dtmf_digit(pjsua_call_id call_id, int digit) -{ - if (PyCallable_Check(g_obj_callback->on_dtmf_digit)) - { - char digit_str[10]; - - ENTER_PYTHON(); - - pj_ansi_snprintf(digit_str, sizeof(digit_str), "%c", digit); - - PyObject_CallFunctionObjArgs( - g_obj_callback->on_dtmf_digit, - Py_BuildValue("i",call_id), - PyString_FromString(digit_str), - NULL - ); - - LEAVE_PYTHON(); - } -} - - -/* - * Notify application on call being transfered. - * !modified @061206 - */ -static void cb_on_call_transfer_request(pjsua_call_id call_id, - const pj_str_t *dst, - pjsip_status_code *code) -{ - if (PyCallable_Check(g_obj_callback->on_call_transfer_request)) - { - PyObject * ret; - int cd; - - ENTER_PYTHON(); - - ret = PyObject_CallFunctionObjArgs( - g_obj_callback->on_call_transfer_request, - Py_BuildValue("i",call_id), - PyString_FromStringAndSize(dst->ptr, dst->slen), - Py_BuildValue("i",*code), - NULL - ); - if (ret != NULL) { - if (ret != Py_None) { - if (PyArg_Parse(ret,"i",&cd)) { - *code = cd; - } - } - } - - LEAVE_PYTHON(); - } -} - - -/* - * Notify application of the status of previously sent call - * transfer request. Application can monitor the status of the - * call transfer request, for example to decide whether to - * terminate existing call. - * !modified @061206 - */ -static void cb_on_call_transfer_status( pjsua_call_id call_id, - int status_code, - const pj_str_t *status_text, - pj_bool_t final, - pj_bool_t *p_cont) -{ - if (PyCallable_Check(g_obj_callback->on_call_transfer_status)) - { - PyObject * ret; - int cnt; - - ENTER_PYTHON(); - - ret = PyObject_CallFunctionObjArgs( - g_obj_callback->on_call_transfer_status, - Py_BuildValue("i",call_id), - Py_BuildValue("i",status_code), - PyString_FromStringAndSize(status_text->ptr, status_text->slen), - Py_BuildValue("i",final), - Py_BuildValue("i",*p_cont), - NULL - ); - if (ret != NULL) { - if (ret != Py_None) { - if (PyArg_Parse(ret,"i",&cnt)) { - *p_cont = cnt; - } - } - } - - LEAVE_PYTHON(); - } -} - - -/* - * Notify application about incoming INVITE with Replaces header. - * Application may reject the request by setting non-2xx code. - * !modified @061206 - */ -static void cb_on_call_replace_request( pjsua_call_id call_id, - pjsip_rx_data *rdata, - int *st_code, - pj_str_t *st_text) -{ - if (PyCallable_Check(g_obj_callback->on_call_replace_request)) - { - PyObject * ret; - PyObject * txt; - int cd; - PyObj_pjsip_rx_data * obj; - - ENTER_PYTHON(); - - obj = (PyObj_pjsip_rx_data *)PyType_GenericNew(&PyTyp_pjsip_rx_data, - NULL, NULL); - obj->rdata = rdata; - - ret = PyObject_CallFunctionObjArgs( - g_obj_callback->on_call_replace_request, - Py_BuildValue("i",call_id), - obj, - Py_BuildValue("i",*st_code), - PyString_FromStringAndSize(st_text->ptr, st_text->slen), - NULL - ); - if (ret != NULL) { - if (ret != Py_None) { - if (PyArg_ParseTuple(ret,"iO",&cd, &txt)) { - *st_code = cd; - st_text->ptr = PyString_AsString(txt); - st_text->slen = strlen(PyString_AsString(txt)); - } - } - } - - LEAVE_PYTHON(); - } -} - - -/* - * Notify application that an existing call has been replaced with - * a new call. This happens when PJSUA-API receives incoming INVITE - * request with Replaces header. - */ -static void cb_on_call_replaced(pjsua_call_id old_call_id, - pjsua_call_id new_call_id) -{ - if (PyCallable_Check(g_obj_callback->on_call_replaced)) - { - ENTER_PYTHON(); - - PyObject_CallFunctionObjArgs( - g_obj_callback->on_call_replaced, - Py_BuildValue("i",old_call_id), - Py_BuildValue("i",new_call_id), - NULL - ); - - LEAVE_PYTHON(); - } -} - - -/* - * cb_on_reg_state - * declares method on_reg_state for callback struct - */ -static void cb_on_reg_state(pjsua_acc_id acc_id) -{ - if (PyCallable_Check(g_obj_callback->on_reg_state)) - { - ENTER_PYTHON(); - - PyObject_CallFunction( - g_obj_callback->on_reg_state, - "i", - acc_id, - NULL - ); - - LEAVE_PYTHON(); - } -} - - -/* - * cb_on_buddy_state - * declares method on_buddy state for callback struct - */ -static void cb_on_buddy_state(pjsua_buddy_id buddy_id) -{ - if (PyCallable_Check(g_obj_callback->on_buddy_state)) - { - ENTER_PYTHON(); - - PyObject_CallFunction( - g_obj_callback->on_buddy_state, - "i", - buddy_id, - NULL - ); - - LEAVE_PYTHON(); - } -} - -/* - * cb_on_pager - * declares method on_pager for callback struct - */ -static void cb_on_pager(pjsua_call_id call_id, const pj_str_t *from, - const pj_str_t *to, const pj_str_t *contact, - const pj_str_t *mime_type, const pj_str_t *body) -{ - if (PyCallable_Check(g_obj_callback->on_pager)) - { - ENTER_PYTHON(); - - PyObject_CallFunctionObjArgs( - g_obj_callback->on_pager,Py_BuildValue("i",call_id), - PyString_FromStringAndSize(from->ptr, from->slen), - PyString_FromStringAndSize(to->ptr, to->slen), - PyString_FromStringAndSize(contact->ptr, contact->slen), - PyString_FromStringAndSize(mime_type->ptr, mime_type->slen), - PyString_FromStringAndSize(body->ptr, body->slen), - NULL - ); - - LEAVE_PYTHON(); - } -} - - -/* - * cb_on_pager_status - * declares method on_pager_status for callback struct - */ -static void cb_on_pager_status(pjsua_call_id call_id, const pj_str_t *to, - const pj_str_t *body, void *user_data, - pjsip_status_code status, - const pj_str_t *reason) -{ - if (PyCallable_Check(g_obj_callback->on_pager)) - { - PyObject * obj_user_data; - - ENTER_PYTHON(); - - obj_user_data = Py_BuildValue("i", user_data); - - PyObject_CallFunctionObjArgs( - g_obj_callback->on_pager_status, - Py_BuildValue("i",call_id), - PyString_FromStringAndSize(to->ptr, to->slen), - PyString_FromStringAndSize(body->ptr, body->slen), - obj_user_data, - Py_BuildValue("i",status), - PyString_FromStringAndSize(reason->ptr,reason->slen), - NULL - ); - - LEAVE_PYTHON(); - } -} - - -/* - * cb_on_typing - * declares method on_typing for callback struct - */ -static void cb_on_typing(pjsua_call_id call_id, const pj_str_t *from, - const pj_str_t *to, const pj_str_t *contact, - pj_bool_t is_typing) -{ - if (PyCallable_Check(g_obj_callback->on_typing)) - { - ENTER_PYTHON(); - - PyObject_CallFunctionObjArgs( - g_obj_callback->on_typing,Py_BuildValue("i",call_id), - PyString_FromStringAndSize(from->ptr, from->slen), - PyString_FromStringAndSize(to->ptr, to->slen), - PyString_FromStringAndSize(contact->ptr, contact->slen), - Py_BuildValue("i",is_typing), - NULL - ); - - LEAVE_PYTHON(); - } -} - - - -/* - * translate_hdr - * internal function - * translate from hdr_list to pjsip_generic_string_hdr - */ -void translate_hdr(pj_pool_t *pool, pjsip_hdr *hdr, PyObject *py_hdr_list) -{ - pj_list_init(hdr); - - if (PyList_Check(py_hdr_list)) { - int i; - - for (i = 0; i < PyList_Size(py_hdr_list); i++) - { - pj_str_t hname, hvalue; - pjsip_generic_string_hdr * new_hdr; - PyObject * tuple = PyList_GetItem(py_hdr_list, i); - - if (PyTuple_Check(tuple)) - { - hname.ptr = PyString_AsString(PyTuple_GetItem(tuple,0)); - hname.slen = strlen(PyString_AsString - (PyTuple_GetItem(tuple,0))); - hvalue.ptr = PyString_AsString(PyTuple_GetItem(tuple,1)); - hvalue.slen = strlen(PyString_AsString - (PyTuple_GetItem(tuple,1))); - } else { - hname.ptr = ""; - hname.slen = 0; - hvalue.ptr = ""; - hvalue.slen = 0; - } - new_hdr = pjsip_generic_string_hdr_create(pool, &hname, &hvalue); - pj_list_push_back((pj_list_type *)hdr, (pj_list_type *)new_hdr); - } - } -} - -/* - * translate_hdr_rev - * internal function - * translate from pjsip_generic_string_hdr to hdr_list - */ - -void translate_hdr_rev(pjsip_generic_string_hdr *hdr, PyObject *py_hdr_list) -{ - int i; - int len; - pjsip_generic_string_hdr * p_hdr; - - len = pj_list_size(hdr); - - if (len > 0) - { - p_hdr = hdr; - Py_XDECREF(py_hdr_list); - py_hdr_list = PyList_New(len); - - for (i = 0; i < len && p_hdr != NULL; i++) - { - PyObject * tuple; - PyObject * str; - - tuple = PyTuple_New(2); - - str = PyString_FromStringAndSize(p_hdr->name.ptr, p_hdr->name.slen); - PyTuple_SetItem(tuple, 0, str); - str = PyString_FromStringAndSize - (hdr->hvalue.ptr, p_hdr->hvalue.slen); - PyTuple_SetItem(tuple, 1, str); - PyList_SetItem(py_hdr_list, i, tuple); - p_hdr = p_hdr->next; - } - } - - -} - -/* - * py_pjsua_thread_register - * !added @ 061206 - */ -static PyObject *py_pjsua_thread_register(PyObject *pSelf, PyObject *pArgs) -{ - - pj_status_t status; - const char *name; - PyObject *py_desc; - pj_thread_t *thread; - void *thread_desc; -#if 0 - int size; - int i; - int *td; -#endif - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "sO", &name, &py_desc)) - { - return NULL; - } -#if 0 - size = PyList_Size(py_desc); - td = (int *)malloc(size * sizeof(int)); - for (i = 0; i < size; i++) - { - if (!PyArg_Parse(PyList_GetItem(py_desc,i),"i", td[i])) - { - return NULL; - } - } - thread_desc = td; -#else - thread_desc = malloc(sizeof(pj_thread_desc)); -#endif - status = pj_thread_register(name, thread_desc, &thread); - - if (status == PJ_SUCCESS) - status = pj_thread_local_set(thread_id, (void*)1); - return Py_BuildValue("i",status); -} - -/* - * py_pjsua_logging_config_default - * !modified @ 051206 - */ -static PyObject *py_pjsua_logging_config_default(PyObject *pSelf, - PyObject *pArgs) -{ - PyObj_pjsua_logging_config *obj; - pjsua_logging_config cfg; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - - pjsua_logging_config_default(&cfg); - obj = (PyObj_pjsua_logging_config *) PyObj_pjsua_logging_config_new - (&PyTyp_pjsua_logging_config,NULL,NULL); - PyObj_pjsua_logging_config_import(obj, &cfg); - - return (PyObject *)obj; -} - - -/* - * py_pjsua_config_default - * !modified @ 051206 - */ -static PyObject *py_pjsua_config_default(PyObject *pSelf, PyObject *pArgs) -{ - PyObj_pjsua_config *obj; - pjsua_config cfg; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - pjsua_config_default(&cfg); - obj = (PyObj_pjsua_config *) PyObj_pjsua_config_new(&PyTyp_pjsua_config, NULL, NULL); - PyObj_pjsua_config_import(obj, &cfg); - - return (PyObject *)obj; -} - - -/* - * py_pjsua_media_config_default - * !modified @ 051206 - */ -static PyObject * py_pjsua_media_config_default(PyObject *pSelf, - PyObject *pArgs) -{ - PyObj_pjsua_media_config *obj; - pjsua_media_config cfg; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - pjsua_media_config_default(&cfg); - obj = (PyObj_pjsua_media_config *) - PyType_GenericNew(&PyTyp_pjsua_media_config, NULL, NULL); - PyObj_pjsua_media_config_import(obj, &cfg); - return (PyObject *)obj; -} - - -/* - * py_pjsua_msg_data_init - * !modified @ 051206 - */ -static PyObject *py_pjsua_msg_data_init(PyObject *pSelf, PyObject *pArgs) -{ - PyObj_pjsua_msg_data *obj; - pjsua_msg_data msg; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - pjsua_msg_data_init(&msg); - obj = (PyObj_pjsua_msg_data *)PyObj_pjsua_msg_data_new(&PyTyp_pjsua_msg_data, NULL, NULL); - Py_XDECREF(obj->content_type); - obj->content_type = PyString_FromStringAndSize( - msg.content_type.ptr, msg.content_type.slen - ); - Py_XDECREF(obj->msg_body); - obj->msg_body = PyString_FromStringAndSize( - msg.msg_body.ptr, msg.msg_body.slen - ); - - translate_hdr_rev((pjsip_generic_string_hdr *)&msg.hdr_list,obj->hdr_list); - - return (PyObject *)obj; -} - - -/* - * py_pjsua_reconfigure_logging - */ -static PyObject *py_pjsua_reconfigure_logging(PyObject *pSelf, PyObject *pArgs) -{ - PyObject * logObj; - PyObj_pjsua_logging_config *log; - pjsua_logging_config cfg; - pj_status_t status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "O", &logObj)) - { - return NULL; - } - if (logObj != Py_None) - { - log = (PyObj_pjsua_logging_config *)logObj; - cfg.msg_logging = log->msg_logging; - cfg.level = log->level; - cfg.console_level = log->console_level; - cfg.decor = log->decor; - cfg.log_filename.ptr = PyString_AsString(log->log_filename); - cfg.log_filename.slen = strlen(cfg.log_filename.ptr); - Py_XDECREF(obj_log_cb); - obj_log_cb = log->cb; - Py_INCREF(obj_log_cb); - cfg.cb = &cb_log_cb; - status = pjsua_reconfigure_logging(&cfg); - } else { - status = pjsua_reconfigure_logging(NULL); - } - return Py_BuildValue("i",status); -} - - -/* - * py_pjsua_pool_create - */ -static PyObject *py_pjsua_pool_create(PyObject *pSelf, PyObject *pArgs) -{ - pj_size_t init_size; - pj_size_t increment; - const char * name; - pj_pool_t *p; - PyObj_pj_pool *pool; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "sII", &name, &init_size, &increment)) - { - return NULL; - } - - p = pjsua_pool_create(name, init_size, increment); - pool = (PyObj_pj_pool *)PyType_GenericNew(&PyTyp_pj_pool_t, NULL, NULL); - pool->pool = p; - return (PyObject *)pool; - -} - - -/* - * py_pjsua_get_pjsip_endpt - */ -static PyObject *py_pjsua_get_pjsip_endpt(PyObject *pSelf, PyObject *pArgs) -{ - PyObj_pjsip_endpoint *endpt; - pjsip_endpoint *e; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - e = pjsua_get_pjsip_endpt(); - endpt = (PyObj_pjsip_endpoint *)PyType_GenericNew( - &PyTyp_pjsip_endpoint, NULL, NULL - ); - endpt->endpt = e; - return (PyObject *)endpt; -} - - -/* - * py_pjsua_get_pjmedia_endpt - */ -static PyObject *py_pjsua_get_pjmedia_endpt(PyObject *pSelf, PyObject *pArgs) -{ - PyObj_pjmedia_endpt *endpt; - pjmedia_endpt *e; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - e = pjsua_get_pjmedia_endpt(); - endpt = (PyObj_pjmedia_endpt *)PyType_GenericNew( - &PyTyp_pjmedia_endpt, NULL, NULL - ); - endpt->endpt = e; - return (PyObject *)endpt; -} - - -/* - * py_pjsua_get_pool_factory - */ -static PyObject *py_pjsua_get_pool_factory(PyObject *pSelf, PyObject *pArgs) -{ - PyObj_pj_pool_factory *pool; - pj_pool_factory *p; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - p = pjsua_get_pool_factory(); - pool = (PyObj_pj_pool_factory *)PyType_GenericNew( - &PyTyp_pj_pool_factory, NULL, NULL - ); - pool->pool_fact = p; - return (PyObject *)pool; -} - - -/* - * py_pjsua_perror - */ -static PyObject *py_pjsua_perror(PyObject *pSelf, PyObject *pArgs) -{ - const char *sender; - const char *title; - pj_status_t status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ssi", &sender, &title, &status)) - { - return NULL; - } - - pjsua_perror(sender, title, status); - Py_INCREF(Py_None); - return Py_None; -} - - -/* - * py_pjsua_create - */ -static PyObject *py_pjsua_create(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - status = pjsua_create(); - - if (status == PJ_SUCCESS) - { - status = pj_thread_local_alloc(&thread_id); - if (status == PJ_SUCCESS) - status = pj_thread_local_set(thread_id, (void*)1); - } - - return Py_BuildValue("i",status); -} - - -/* - * py_pjsua_init - */ -static PyObject *py_pjsua_init(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - PyObject *o_ua_cfg, *o_log_cfg, *o_media_cfg; - pjsua_config cfg_ua, *p_cfg_ua; - pjsua_logging_config cfg_log, *p_cfg_log; - pjsua_media_config cfg_media, *p_cfg_media; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "OOO", &o_ua_cfg, &o_log_cfg, &o_media_cfg)) - { - return NULL; - } - - pjsua_config_default(&cfg_ua); - pjsua_logging_config_default(&cfg_log); - pjsua_media_config_default(&cfg_media); - - if (o_ua_cfg != Py_None) - { - PyObj_pjsua_config *obj_ua_cfg = (PyObj_pjsua_config*)o_ua_cfg; - - PyObj_pjsua_config_export(&cfg_ua, obj_ua_cfg); - - g_obj_callback = obj_ua_cfg->cb; - Py_INCREF(g_obj_callback); - - cfg_ua.cb.on_call_state = &cb_on_call_state; - cfg_ua.cb.on_incoming_call = &cb_on_incoming_call; - cfg_ua.cb.on_call_media_state = &cb_on_call_media_state; - cfg_ua.cb.on_dtmf_digit = &cb_on_dtmf_digit; - cfg_ua.cb.on_call_transfer_request = &cb_on_call_transfer_request; - cfg_ua.cb.on_call_transfer_status = &cb_on_call_transfer_status; - cfg_ua.cb.on_call_replace_request = &cb_on_call_replace_request; - cfg_ua.cb.on_call_replaced = &cb_on_call_replaced; - cfg_ua.cb.on_reg_state = &cb_on_reg_state; - cfg_ua.cb.on_buddy_state = &cb_on_buddy_state; - cfg_ua.cb.on_pager = &cb_on_pager; - cfg_ua.cb.on_pager_status = &cb_on_pager_status; - cfg_ua.cb.on_typing = &cb_on_typing; - - p_cfg_ua = &cfg_ua; - - } else { - p_cfg_ua = NULL; - } - - if (o_log_cfg != Py_None) - { - PyObj_pjsua_logging_config * obj_log; - - obj_log = (PyObj_pjsua_logging_config *)o_log_cfg; - - PyObj_pjsua_logging_config_export(&cfg_log, obj_log); - - Py_XDECREF(obj_log_cb); - obj_log_cb = obj_log->cb; - Py_INCREF(obj_log_cb); - - cfg_log.cb = &cb_log_cb; - p_cfg_log = &cfg_log; - - } else { - p_cfg_log = NULL; - } - - if (o_media_cfg != Py_None) - { - PyObj_pjsua_media_config_export(&cfg_media, - (PyObj_pjsua_media_config*)o_media_cfg); - p_cfg_media = &cfg_media; - - } else { - p_cfg_media = NULL; - } - - status = pjsua_init(p_cfg_ua, p_cfg_log, p_cfg_media); - return Py_BuildValue("i",status); -} - - -/* - * py_pjsua_start - */ -static PyObject *py_pjsua_start(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - status = pjsua_start(); - - return Py_BuildValue("i",status); -} - - -/* - * py_pjsua_destroy - */ -static PyObject *py_pjsua_destroy(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - status = pjsua_destroy(); - - return Py_BuildValue("i",status); -} - - -/* - * py_pjsua_handle_events - */ -static PyObject *py_pjsua_handle_events(PyObject *pSelf, PyObject *pArgs) -{ - int ret; - unsigned msec; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &msec)) - { - return NULL; - } - - /* Since handle_events() will block, we must wrap it with ALLOW_THREADS - * construct, or otherwise many Python blocking functions (such as - * time.sleep(), readline(), etc.) may hang/block indefinitely. - * See http://www.python.org/doc/current/api/threads.html for more info. - */ - Py_BEGIN_ALLOW_THREADS - ret = pjsua_handle_events(msec); - Py_END_ALLOW_THREADS - - return Py_BuildValue("i",ret); -} - - -/* - * py_pjsua_verify_sip_url - */ -static PyObject *py_pjsua_verify_sip_url(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - const char *url; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "s", &url)) - { - return NULL; - } - status = pjsua_verify_sip_url(url); - - return Py_BuildValue("i",status); -} - - -/* - * function doc - */ - -static char pjsua_thread_register_doc[] = - "int py_pjsua.thread_register(string name, int[] desc)"; -static char pjsua_perror_doc[] = - "void py_pjsua.perror (string sender, string title, int status) " - "Display error message for the specified error code. Parameters: " - "sender: The log sender field; " - "title: Message title for the error; " - "status: Status code."; - -static char pjsua_create_doc[] = - "int py_pjsua.create (void) " - "Instantiate pjsua application. Application " - "must call this function before calling any other functions, to make sure " - "that the underlying libraries are properly initialized. Once this " - "function has returned success, application must call pjsua_destroy() " - "before quitting."; - -static char pjsua_init_doc[] = - "int py_pjsua.init (py_pjsua.Config obj_ua_cfg, " - "py_pjsua.Logging_Config log_cfg, py_pjsua.Media_Config media_cfg) " - "Initialize pjsua with the specified settings. All the settings are " - "optional, and the default values will be used when the config is not " - "specified. Parameters: " - "obj_ua_cfg : User agent configuration; " - "log_cfg : Optional logging configuration; " - "media_cfg : Optional media configuration."; - -static char pjsua_start_doc[] = - "int py_pjsua.start (void) " - "Application is recommended to call this function after all " - "initialization is done, so that the library can do additional checking " - "set up additional"; - -static char pjsua_destroy_doc[] = - "int py_pjsua.destroy (void) " - "Destroy pjsua This function must be called once PJSUA is created. To " - "make it easier for application, application may call this function " - "several times with no danger."; - -static char pjsua_handle_events_doc[] = - "int py_pjsua.handle_events (int msec_timeout) " - "Poll pjsua for events, and if necessary block the caller thread for the " - "specified maximum interval (in miliseconds) Parameters: " - "msec_timeout: Maximum time to wait, in miliseconds. " - "Returns: The number of events that have been handled during the poll. " - "Negative value indicates error, and application can retrieve the error " - "as (err = -return_value)."; - -static char pjsua_verify_sip_url_doc[] = - "int py_pjsua.verify_sip_url (string c_url) " - "Verify that valid SIP url is given Parameters: " - "c_url: The URL, as NULL terminated string."; - -static char pjsua_pool_create_doc[] = - "py_pjsua.Pj_Pool py_pjsua.pool_create (string name, int init_size, " - "int increment) " - "Create memory pool Parameters: " - "name: Optional pool name; " - "init_size: Initial size of the pool; " - "increment: Increment size."; - -static char pjsua_get_pjsip_endpt_doc[] = - "py_pjsua.Pjsip_Endpoint py_pjsua.get_pjsip_endpt (void) " - "Internal function to get SIP endpoint instance of pjsua, which is needed " - "for example to register module, create transports, etc. Probably is only " - "valid after pjsua_init() is called."; - -static char pjsua_get_pjmedia_endpt_doc[] = - "py_pjsua.Pjmedia_Endpt py_pjsua.get_pjmedia_endpt (void) " - "Internal function to get media endpoint instance. Only valid after " - "pjsua_init() is called."; - -static char pjsua_get_pool_factory_doc[] = - "py_pjsua.Pj_Pool_Factory py_pjsua.get_pool_factory (void) " - "Internal function to get PJSUA pool factory. Only valid after " - "pjsua_init() is called."; - -static char pjsua_reconfigure_logging_doc[] = - "int py_pjsua.reconfigure_logging (py_pjsua.Logging_Config c) " - "Application can call this function at any time (after pjsua_create(), of " - "course) to change logging settings. Parameters: " - "c: Logging configuration."; - -static char pjsua_logging_config_default_doc[] = - "py_pjsua.Logging_Config py_pjsua.logging_config_default () " - "Use this function to initialize logging config."; - -static char pjsua_config_default_doc[] = - "py_pjsua.Config py_pjsua.config_default (). Use this function to " - "initialize pjsua config. "; - -static char pjsua_media_config_default_doc[] = - "py_pjsua.Media_Config py_pjsua.media_config_default (). " - "Use this function to initialize media config."; - -static char pjsua_msg_data_init_doc[] = - "py_pjsua.Msg_Data void py_pjsua.msg_data_init () " - "Initialize message data "; - - -/* END OF LIB BASE */ - -/* LIB TRANSPORT */ - -/* - * py_pjsua_transport_config_default - * !modified @ 051206 - */ -static PyObject *py_pjsua_transport_config_default(PyObject *pSelf, - PyObject *pArgs) -{ - PyObj_pjsua_transport_config *obj; - pjsua_transport_config cfg; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) { - return NULL; - } - - pjsua_transport_config_default(&cfg); - obj = (PyObj_pjsua_transport_config*) - PyObj_pjsua_transport_config_new(&PyTyp_pjsua_transport_config, - NULL, NULL); - PyObj_pjsua_transport_config_import(obj, &cfg); - - return (PyObject *)obj; -} - -/* - * py_pjsua_transport_create - * !modified @ 051206 - */ -static PyObject *py_pjsua_transport_create(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - int type; - PyObject * tmpObj; - pjsua_transport_config cfg; - pjsua_transport_id id; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iO", &type, &tmpObj)) { - return NULL; - } - - if (tmpObj != Py_None) { - PyObj_pjsua_transport_config *obj; - obj = (PyObj_pjsua_transport_config*)tmpObj; - PyObj_pjsua_transport_config_export(&cfg, obj); - status = pjsua_transport_create(type, &cfg, &id); - } else { - status = pjsua_transport_create(type, NULL, &id); - } - - - return Py_BuildValue("ii", status, id); -} - -/* - * py_pjsua_enum_transports - * !modified @ 261206 - */ -static PyObject *py_pjsua_enum_transports(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - PyObject *list; - - pjsua_transport_id id[PJSIP_MAX_TRANSPORTS]; - unsigned c, i; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - - c = PJ_ARRAY_SIZE(id); - status = pjsua_enum_transports(id, &c); - - list = PyList_New(c); - for (i = 0; i < c; i++) - { - int ret = PyList_SetItem(list, i, Py_BuildValue("i", id[i])); - if (ret == -1) - { - return NULL; - } - } - - return Py_BuildValue("O",list); -} - -/* - * py_pjsua_transport_get_info - * !modified @ 051206 - */ -static PyObject *py_pjsua_transport_get_info(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - int id; - pjsua_transport_info info; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &id)) { - return NULL; - } - - status = pjsua_transport_get_info(id, &info); - if (status == PJ_SUCCESS) { - PyObj_pjsua_transport_info *obj; - obj = (PyObj_pjsua_transport_info *) - PyObj_pjsua_transport_info_new(&PyTyp_pjsua_transport_info, - NULL, NULL); - PyObj_pjsua_transport_info_import(obj, &info); - return Py_BuildValue("O", obj); - } else { - Py_INCREF(Py_None); - return Py_None; - } -} - -/* - * py_pjsua_transport_set_enable - */ -static PyObject *py_pjsua_transport_set_enable -(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - int id; - int enabled; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &id, &enabled)) - { - return NULL; - } - status = pjsua_transport_set_enable(id, enabled); - - return Py_BuildValue("i",status); -} - -/* - * py_pjsua_transport_close - */ -static PyObject *py_pjsua_transport_close(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - int id; - int force; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &id, &force)) - { - return NULL; - } - status = pjsua_transport_close(id, force); - - return Py_BuildValue("i",status); -} - -static char pjsua_transport_config_default_doc[] = - "py_pjsua.Transport_Config py_pjsua.transport_config_default () " - "Call this function to initialize UDP config with default values."; -static char pjsua_transport_create_doc[] = - "int, int py_pjsua.transport_create (int type, " - "py_pjsua.Transport_Config cfg) " - "Create SIP transport."; -static char pjsua_enum_transports_doc[] = - "int[] py_pjsua.enum_transports () " - "Enumerate all transports currently created in the system."; -static char pjsua_transport_get_info_doc[] = - "void py_pjsua.transport_get_info " - "(py_pjsua.Transport_ID id, py_pjsua.Transport_Info info) " - "Get information about transports."; -static char pjsua_transport_set_enable_doc[] = - "void py_pjsua.transport_set_enable " - "(py_pjsua.Transport_ID id, int enabled) " - "Disable a transport or re-enable it. " - "By default transport is always enabled after it is created. " - "Disabling a transport does not necessarily close the socket, " - "it will only discard incoming messages and prevent the transport " - "from being used to send outgoing messages."; -static char pjsua_transport_close_doc[] = - "void py_pjsua.transport_close (py_pjsua.Transport_ID id, int force) " - "Close the transport. If transport is forcefully closed, " - "it will be immediately closed, and any pending transactions " - "that are using the transport may not terminate properly. " - "Otherwise, the system will wait until all transactions are closed " - "while preventing new users from using the transport, and will close " - "the transport when it is safe to do so."; - -/* END OF LIB TRANSPORT */ - -/* LIB ACCOUNT */ - - -/* - * py_pjsua_acc_config_default - * !modified @ 051206 - */ -static PyObject *py_pjsua_acc_config_default(PyObject *pSelf, PyObject *pArgs) -{ - PyObj_pjsua_acc_config *obj; - pjsua_acc_config cfg; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) { - return NULL; - } - - pjsua_acc_config_default(&cfg); - obj = (PyObj_pjsua_acc_config *) - PyObj_pjsua_acc_config_new(&PyTyp_pjsua_acc_config, - NULL, NULL); - PyObj_pjsua_acc_config_import(obj, &cfg); - return (PyObject *)obj; -} - -/* - * py_pjsua_acc_get_count - */ -static PyObject *py_pjsua_acc_get_count(PyObject *pSelf, PyObject *pArgs) -{ - int count; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) { - return NULL; - } - - count = pjsua_acc_get_count(); - return Py_BuildValue("i",count); -} - -/* - * py_pjsua_acc_is_valid - */ -static PyObject *py_pjsua_acc_is_valid(PyObject *pSelf, PyObject *pArgs) -{ - int id; - int is_valid; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &id)) { - return NULL; - } - - is_valid = pjsua_acc_is_valid(id); - return Py_BuildValue("i", is_valid); -} - -/* - * py_pjsua_acc_set_default - */ -static PyObject *py_pjsua_acc_set_default(PyObject *pSelf, PyObject *pArgs) -{ - int id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &id)) { - return NULL; - } - status = pjsua_acc_set_default(id); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_acc_get_default - */ -static PyObject *py_pjsua_acc_get_default(PyObject *pSelf, PyObject *pArgs) -{ - int id; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) { - return NULL; - } - - id = pjsua_acc_get_default(); - - return Py_BuildValue("i", id); -} - -/* - * py_pjsua_acc_add - * !modified @ 051206 - */ -static PyObject *py_pjsua_acc_add(PyObject *pSelf, PyObject *pArgs) -{ - int is_default; - PyObject * acObj; - PyObj_pjsua_acc_config * ac; - int acc_id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "Oi", &acObj, &is_default)) { - return NULL; - } - - if (acObj != Py_None) { - pjsua_acc_config cfg; - - pjsua_acc_config_default(&cfg); - ac = (PyObj_pjsua_acc_config *)acObj; - PyObj_pjsua_acc_config_export(&cfg, ac); - status = pjsua_acc_add(&cfg, is_default, &acc_id); - } else { - status = PJ_EINVAL; - acc_id = PJSUA_INVALID_ID; - } - - return Py_BuildValue("ii", status, acc_id); -} - -/* - * py_pjsua_acc_add_local - * !modified @ 051206 - */ -static PyObject *py_pjsua_acc_add_local(PyObject *pSelf, PyObject *pArgs) -{ - int is_default; - int tid; - int p_acc_id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &tid, &is_default)) { - return NULL; - } - - - status = pjsua_acc_add_local(tid, is_default, &p_acc_id); - - return Py_BuildValue("ii", status, p_acc_id); -} - -/* - * py_pjsua_acc_del - */ -static PyObject *py_pjsua_acc_del(PyObject *pSelf, PyObject *pArgs) -{ - int acc_id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &acc_id)) - { - return NULL; - } - - - status = pjsua_acc_del(acc_id); - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_acc_modify - */ -static PyObject *py_pjsua_acc_modify(PyObject *pSelf, PyObject *pArgs) -{ - PyObject * acObj; - PyObj_pjsua_acc_config * ac; - int acc_id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iO", &acc_id, &acObj)) { - return NULL; - } - - if (acObj != Py_None) { - pjsua_acc_config cfg; - - pjsua_acc_config_default(&cfg); - ac = (PyObj_pjsua_acc_config *)acObj; - PyObj_pjsua_acc_config_export(&cfg, ac); - - status = pjsua_acc_modify(acc_id, &cfg); - } else { - status = PJ_EINVAL; - } - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_acc_set_online_status - */ -static PyObject *py_pjsua_acc_set_online_status(PyObject *pSelf, - PyObject *pArgs) -{ - int is_online; - int acc_id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &acc_id, &is_online)) { - return NULL; - } - - status = pjsua_acc_set_online_status(acc_id, is_online); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_acc_set_online_status2 - */ -static PyObject *py_pjsua_acc_set_online_status2(PyObject *pSelf, - PyObject *pArgs) -{ - int is_online; - int acc_id; - int activity_id; - const char *activity_text; - pjrpid_element rpid; - pj_status_t status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iiis", &acc_id, &is_online, - &activity_id, &activity_text)) { - return NULL; - } - - pj_bzero(&rpid, sizeof(rpid)); - rpid.activity = activity_id; - rpid.note = pj_str((char*)activity_text); - - status = pjsua_acc_set_online_status2(acc_id, is_online, &rpid); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_acc_set_registration - */ -static PyObject *py_pjsua_acc_set_registration(PyObject *pSelf, - PyObject *pArgs) -{ - int renew; - int acc_id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &acc_id, &renew)) { - return NULL; - } - - status = pjsua_acc_set_registration(acc_id, renew); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_acc_get_info - * !modified @ 051206 - */ -static PyObject *py_pjsua_acc_get_info(PyObject *pSelf, PyObject *pArgs) -{ - int acc_id; - PyObj_pjsua_acc_info * obj; - pjsua_acc_info info; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &acc_id)) { - return NULL; - } - - status = pjsua_acc_get_info(acc_id, &info); - if (status == PJ_SUCCESS) { - obj = (PyObj_pjsua_acc_info *) - PyObj_pjsua_acc_info_new(&PyTyp_pjsua_acc_info,NULL, NULL); - PyObj_pjsua_acc_info_import(obj, &info); - return Py_BuildValue("O", obj); - } else { - Py_INCREF(Py_None); - return Py_None; - } -} - -/* - * py_pjsua_enum_accs - * !modified @ 241206 - */ -static PyObject *py_pjsua_enum_accs(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - PyObject *list; - - pjsua_acc_id id[PJSUA_MAX_ACC]; - unsigned c, i; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - c = PJ_ARRAY_SIZE(id); - - status = pjsua_enum_accs(id, &c); - - list = PyList_New(c); - for (i = 0; i < c; i++) - { - int ret = PyList_SetItem(list, i, Py_BuildValue("i", id[i])); - if (ret == -1) - { - return NULL; - } - } - - return Py_BuildValue("O",list); -} - -/* - * py_pjsua_acc_enum_info - * !modified @ 241206 - */ -static PyObject *py_pjsua_acc_enum_info(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - PyObject *list; - pjsua_acc_info info[PJSUA_MAX_ACC]; - unsigned c, i; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) { - return NULL; - } - - c = PJ_ARRAY_SIZE(info); - status = pjsua_acc_enum_info(info, &c); - - list = PyList_New(c); - for (i = 0; i < c; i++) { - PyObj_pjsua_acc_info *obj; - obj = (PyObj_pjsua_acc_info *) - PyObj_pjsua_acc_info_new(&PyTyp_pjsua_acc_info, NULL, NULL); - - PyObj_pjsua_acc_info_import(obj, &info[i]); - - PyList_SetItem(list, i, (PyObject *)obj); - } - - return Py_BuildValue("O",list); -} - -/* - * py_pjsua_acc_find_for_outgoing - */ -static PyObject *py_pjsua_acc_find_for_outgoing(PyObject *pSelf, - PyObject *pArgs) -{ - int acc_id; - PyObject * url; - pj_str_t str; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "O", &url)) - { - return NULL; - } - str.ptr = PyString_AsString(url); - str.slen = strlen(PyString_AsString(url)); - - acc_id = pjsua_acc_find_for_outgoing(&str); - - return Py_BuildValue("i", acc_id); -} - -/* - * py_pjsua_acc_find_for_incoming - */ -static PyObject *py_pjsua_acc_find_for_incoming(PyObject *pSelf, - PyObject *pArgs) -{ - int acc_id; - PyObject * tmpObj; - PyObj_pjsip_rx_data * obj; - pjsip_rx_data * rdata; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "O", &tmpObj)) - { - return NULL; - } - if (tmpObj != Py_None) - { - obj = (PyObj_pjsip_rx_data *)tmpObj; - rdata = obj->rdata; - acc_id = pjsua_acc_find_for_incoming(rdata); - } else { - acc_id = pjsua_acc_find_for_incoming(NULL); - } - return Py_BuildValue("i", acc_id); -} - -/* - * py_pjsua_acc_create_uac_contact - * !modified @ 061206 - */ -static PyObject *py_pjsua_acc_create_uac_contact(PyObject *pSelf, - PyObject *pArgs) -{ - int status; - int acc_id; - PyObject * pObj; - PyObj_pj_pool * p; - pj_pool_t * pool; - PyObject * strc; - pj_str_t contact; - PyObject * stru; - pj_str_t uri; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "OiO", &pObj, &acc_id, &stru)) - { - return NULL; - } - if (pObj != Py_None) - { - p = (PyObj_pj_pool *)pObj; - pool = p->pool; - uri.ptr = PyString_AsString(stru); - uri.slen = strlen(PyString_AsString(stru)); - status = pjsua_acc_create_uac_contact(pool, &contact, acc_id, &uri); - } else { - status = pjsua_acc_create_uac_contact(NULL, &contact, acc_id, &uri); - } - strc = PyString_FromStringAndSize(contact.ptr, contact.slen); - - return Py_BuildValue("O", strc); -} - -/* - * py_pjsua_acc_create_uas_contact - * !modified @ 061206 - */ -static PyObject *py_pjsua_acc_create_uas_contact(PyObject *pSelf, - PyObject *pArgs) -{ - int status; - int acc_id; - PyObject * pObj; - PyObj_pj_pool * p; - pj_pool_t * pool; - PyObject * strc; - pj_str_t contact; - PyObject * rObj; - PyObj_pjsip_rx_data * objr; - pjsip_rx_data * rdata; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "OiO", &pObj, &acc_id, &rObj)) - { - return NULL; - } - if (pObj != Py_None) - { - p = (PyObj_pj_pool *)pObj; - pool = p->pool; - } else { - pool = NULL; - } - if (rObj != Py_None) - { - objr = (PyObj_pjsip_rx_data *)rObj; - rdata = objr->rdata; - } else { - rdata = NULL; - } - status = pjsua_acc_create_uas_contact(pool, &contact, acc_id, rdata); - strc = PyString_FromStringAndSize(contact.ptr, contact.slen); - - return Py_BuildValue("O", strc); -} - -static char pjsua_acc_config_default_doc[] = - "py_pjsua.Acc_Config py_pjsua.acc_config_default () " - "Call this function to initialize account config with default values."; -static char pjsua_acc_get_count_doc[] = - "int py_pjsua.acc_get_count () " - "Get number of current accounts."; -static char pjsua_acc_is_valid_doc[] = - "int py_pjsua.acc_is_valid (int acc_id) " - "Check if the specified account ID is valid."; -static char pjsua_acc_set_default_doc[] = - "int py_pjsua.acc_set_default (int acc_id) " - "Set default account to be used when incoming " - "and outgoing requests doesn't match any accounts."; -static char pjsua_acc_get_default_doc[] = - "int py_pjsua.acc_get_default () " - "Get default account."; -static char pjsua_acc_add_doc[] = - "int, int py_pjsua.acc_add (py_pjsua.Acc_Config cfg, " - "int is_default) " - "Add a new account to pjsua. PJSUA must have been initialized " - "(with pjsua_init()) before calling this function."; -static char pjsua_acc_add_local_doc[] = - "int,int py_pjsua.acc_add_local (int tid, " - "int is_default) " - "Add a local account. A local account is used to identify " - "local endpoint instead of a specific user, and for this reason, " - "a transport ID is needed to obtain the local address information."; -static char pjsua_acc_del_doc[] = - "int py_pjsua.acc_del (int acc_id) " - "Delete account."; -static char pjsua_acc_modify_doc[] = - "int py_pjsua.acc_modify (int acc_id, py_pjsua.Acc_Config cfg) " - "Modify account information."; -static char pjsua_acc_set_online_status_doc[] = - "int py_pjsua.acc_set_online_status2(int acc_id, int is_online) " - "Modify account's presence status to be advertised " - "to remote/presence subscribers."; -static char pjsua_acc_set_online_status2_doc[] = - "int py_pjsua.acc_set_online_status (int acc_id, int is_online, " - "int activity_id, string activity_text) " - "Modify account's presence status to be advertised " - "to remote/presence subscribers."; -static char pjsua_acc_set_registration_doc[] = - "int py_pjsua.acc_set_registration (int acc_id, int renew) " - "Update registration or perform unregistration."; -static char pjsua_acc_get_info_doc[] = - "py_pjsua.Acc_Info py_pjsua.acc_get_info (int acc_id) " - "Get account information."; -static char pjsua_enum_accs_doc[] = - "int[] py_pjsua.enum_accs () " - "Enum accounts all account ids."; -static char pjsua_acc_enum_info_doc[] = - "py_pjsua.Acc_Info[] py_pjsua.acc_enum_info () " - "Enum accounts info."; -static char pjsua_acc_find_for_outgoing_doc[] = - "int py_pjsua.acc_find_for_outgoing (string url) " - "This is an internal function to find the most appropriate account " - "to used to reach to the specified URL."; -static char pjsua_acc_find_for_incoming_doc[] = - "int py_pjsua.acc_find_for_incoming (PyObj_pjsip_rx_data rdata) " - "This is an internal function to find the most appropriate account " - "to be used to handle incoming calls."; -static char pjsua_acc_create_uac_contact_doc[] = - "string py_pjsua.acc_create_uac_contact (PyObj_pj_pool pool, " - "int acc_id, string uri) " - "Create a suitable URI to be put as Contact based on the specified " - "target URI for the specified account."; -static char pjsua_acc_create_uas_contact_doc[] = - "string py_pjsua.acc_create_uas_contact (PyObj_pj_pool pool, " - "int acc_id, PyObj_pjsip_rx_data rdata) " - "Create a suitable URI to be put as Contact based on the information " - "in the incoming request."; - -/* END OF LIB ACCOUNT */ - -/* LIB BUDDY */ - - - -/* - * py_pjsua_buddy_config_default - */ -static PyObject *py_pjsua_buddy_config_default(PyObject *pSelf, - PyObject *pArgs) -{ - PyObj_pjsua_buddy_config *obj; - pjsua_buddy_config cfg; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) { - return NULL; - } - - pjsua_buddy_config_default(&cfg); - obj = (PyObj_pjsua_buddy_config *) - PyObj_pjsua_buddy_config_new(&PyTyp_pjsua_buddy_config, NULL, NULL); - PyObj_pjsua_buddy_config_import(obj, &cfg); - - return (PyObject *)obj; -} - -/* - * py_pjsua_get_buddy_count - */ -static PyObject *py_pjsua_get_buddy_count(PyObject *pSelf, PyObject *pArgs) -{ - int ret; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) { - return NULL; - } - ret = pjsua_get_buddy_count(); - - return Py_BuildValue("i", ret); -} - -/* - * py_pjsua_buddy_is_valid - */ -static PyObject *py_pjsua_buddy_is_valid(PyObject *pSelf, PyObject *pArgs) -{ - int id; - int is_valid; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &id)) { - return NULL; - } - is_valid = pjsua_buddy_is_valid(id); - - return Py_BuildValue("i", is_valid); -} - -/* - * py_pjsua_enum_buddies - * !modified @ 241206 - */ -static PyObject *py_pjsua_enum_buddies(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - PyObject *list; - - pjsua_buddy_id id[PJSUA_MAX_BUDDIES]; - unsigned c, i; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) { - return NULL; - } - c = PJ_ARRAY_SIZE(id); - status = pjsua_enum_buddies(id, &c); - list = PyList_New(c); - for (i = 0; i < c; i++) { - PyList_SetItem(list, i, Py_BuildValue("i", id[i])); - } - - return Py_BuildValue("O",list); -} - -/* - * py_pjsua_buddy_get_info - * !modified @ 071206 - */ -static PyObject *py_pjsua_buddy_get_info(PyObject *pSelf, PyObject *pArgs) -{ - int buddy_id; - PyObj_pjsua_buddy_info * obj; - pjsua_buddy_info info; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &buddy_id)) { - return NULL; - } - - status = pjsua_buddy_get_info(buddy_id, &info); - if (status == PJ_SUCCESS) { - obj = (PyObj_pjsua_buddy_info *) - PyObj_pjsua_buddy_config_new(&PyTyp_pjsua_buddy_info,NULL,NULL); - PyObj_pjsua_buddy_info_import(obj, &info); - return Py_BuildValue("O", obj); - } else { - Py_INCREF(Py_None); - return Py_None; - } -} - -/* - * py_pjsua_buddy_add - * !modified @ 061206 - */ -static PyObject *py_pjsua_buddy_add(PyObject *pSelf, PyObject *pArgs) -{ - PyObject * bcObj; - int buddy_id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "O", &bcObj)) { - return NULL; - } - - if (bcObj != Py_None) { - pjsua_buddy_config cfg; - PyObj_pjsua_buddy_config * bc; - - bc = (PyObj_pjsua_buddy_config *)bcObj; - - pjsua_buddy_config_default(&cfg); - PyObj_pjsua_buddy_config_export(&cfg, bc); - - status = pjsua_buddy_add(&cfg, &buddy_id); - } else { - status = PJ_EINVAL; - buddy_id = PJSUA_INVALID_ID; - } - return Py_BuildValue("ii", status, buddy_id); -} - -/* - * py_pjsua_buddy_del - */ -static PyObject *py_pjsua_buddy_del(PyObject *pSelf, PyObject *pArgs) -{ - int buddy_id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &buddy_id)) { - return NULL; - } - - - status = pjsua_buddy_del(buddy_id); - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_buddy_subscribe_pres - */ -static PyObject *py_pjsua_buddy_subscribe_pres(PyObject *pSelf, PyObject *pArgs) -{ - int buddy_id; - int status; - int subscribe; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &buddy_id, &subscribe)) { - return NULL; - } - - - status = pjsua_buddy_subscribe_pres(buddy_id, subscribe); - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_pres_dump - */ -static PyObject *py_pjsua_pres_dump(PyObject *pSelf, PyObject *pArgs) -{ - int verbose; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &verbose)) { - return NULL; - } - - - pjsua_pres_dump(verbose); - Py_INCREF(Py_None); - return Py_None; -} - -/* - * py_pjsua_im_send - * !modified @ 071206 - */ -static PyObject *py_pjsua_im_send(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int acc_id; - pj_str_t * mime_type, tmp_mime_type; - pj_str_t to, content; - PyObject * st; - PyObject * smt; - PyObject * sc; - pjsua_msg_data msg_data; - PyObject * omdObj; - PyObj_pjsua_msg_data * omd; - - int user_data; - pj_pool_t *pool; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iOOOOi", &acc_id, - &st, &smt, &sc, &omdObj, &user_data)) - { - return NULL; - } - if (smt != Py_None) { - mime_type = &tmp_mime_type; - tmp_mime_type = PyString_to_pj_str(smt); - } else { - mime_type = NULL; - } - to = PyString_to_pj_str(st); - content = PyString_to_pj_str(sc); - - if (omdObj != Py_None) { - - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type = PyString_to_pj_str(omd->content_type); - msg_data.msg_body = PyString_to_pj_str(omd->msg_body); - pool = pjsua_pool_create("pjsua", POOL_SIZE, POOL_SIZE); - - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - status = pjsua_im_send(acc_id, &to, mime_type, - &content, &msg_data, (void *)user_data); - pj_pool_release(pool); - } else { - - status = pjsua_im_send(acc_id, &to, mime_type, - &content, NULL, NULL); - } - - return Py_BuildValue("i",status); -} - -/* - * py_pjsua_im_typing - */ -static PyObject *py_pjsua_im_typing(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int acc_id; - pj_str_t to; - PyObject * st; - int is_typing; - pjsua_msg_data msg_data; - PyObject * omdObj; - PyObj_pjsua_msg_data * omd; - pj_pool_t * pool; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iOiO", &acc_id, &st, &is_typing, &omdObj)) { - return NULL; - } - - to = PyString_to_pj_str(st); - - if (omdObj != Py_None) { - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type = PyString_to_pj_str(omd->content_type); - msg_data.msg_body = PyString_to_pj_str(omd->msg_body); - pool = pjsua_pool_create("pjsua", POOL_SIZE, POOL_SIZE); - - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - status = pjsua_im_typing(acc_id, &to, is_typing, &msg_data); - pj_pool_release(pool); - } else { - status = pjsua_im_typing(acc_id, &to, is_typing, NULL); - } - return Py_BuildValue("i",status); -} - -static char pjsua_buddy_config_default_doc[] = - "py_pjsua.Buddy_Config py_pjsua.buddy_config_default () " - "Set default values to the buddy config."; -static char pjsua_get_buddy_count_doc[] = - "int py_pjsua.get_buddy_count () " - "Get total number of buddies."; -static char pjsua_buddy_is_valid_doc[] = - "int py_pjsua.buddy_is_valid (int buddy_id) " - "Check if buddy ID is valid."; -static char pjsua_enum_buddies_doc[] = - "int[] py_pjsua.enum_buddies () " - "Enum buddy IDs."; -static char pjsua_buddy_get_info_doc[] = - "py_pjsua.Buddy_Info py_pjsua.buddy_get_info (int buddy_id) " - "Get detailed buddy info."; -static char pjsua_buddy_add_doc[] = - "int,int py_pjsua.buddy_add (py_pjsua.Buddy_Config cfg) " - "Add new buddy."; -static char pjsua_buddy_del_doc[] = - "int py_pjsua.buddy_del (int buddy_id) " - "Delete buddy."; -static char pjsua_buddy_subscribe_pres_doc[] = - "int py_pjsua.buddy_subscribe_pres (int buddy_id, int subscribe) " - "Enable/disable buddy's presence monitoring."; -static char pjsua_pres_dump_doc[] = - "void py_pjsua.pres_dump (int verbose) " - "Dump presence subscriptions to log file."; -static char pjsua_im_send_doc[] = - "int py_pjsua.im_send (int acc_id, string to, string mime_type, " - "string content, py_pjsua.Msg_Data msg_data, int user_data) " - "Send instant messaging outside dialog, using the specified account " - "for route set and authentication."; -static char pjsua_im_typing_doc[] = - "int py_pjsua.im_typing (int acc_id, string to, int is_typing, " - "py_pjsua.Msg_Data msg_data) " - "Send typing indication outside dialog."; - -/* END OF LIB BUDDY */ - -/* LIB MEDIA */ - - - -/* - * PyObj_pjsua_codec_info - * Codec Info - * !modified @ 071206 - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - - PyObject * codec_id; - pj_uint8_t priority; - char buf_[32]; -} PyObj_pjsua_codec_info; - - -/* - * codec_info_dealloc - * deletes a codec_info from memory - * !modified @ 071206 - */ -static void codec_info_dealloc(PyObj_pjsua_codec_info* self) -{ - Py_XDECREF(self->codec_id); - - self->ob_type->tp_free((PyObject*)self); -} - - -/* - * codec_info_new - * constructor for codec_info object - * !modified @ 071206 - */ -static PyObject * codec_info_new(PyTypeObject *type, PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_codec_info *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_codec_info *)type->tp_alloc(type, 0); - if (self != NULL) - { - self->codec_id = PyString_FromString(""); - if (self->codec_id == NULL) - { - Py_DECREF(self); - return NULL; - } - - - } - return (PyObject *)self; -} - -/* - * codec_info_members - * !modified @ 071206 - */ -static PyMemberDef codec_info_members[] = -{ - { - "codec_id", T_OBJECT_EX, - offsetof(PyObj_pjsua_codec_info, codec_id), 0, - "Codec unique identification." - }, - - { - "priority", T_INT, - offsetof(PyObj_pjsua_codec_info, priority), 0, - "Codec priority (integer 0-255)." - }, - - - - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjsua_codec_info - */ -static PyTypeObject PyTyp_pjsua_codec_info = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Codec_Info", /*tp_name*/ - sizeof(PyObj_pjsua_codec_info), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)codec_info_dealloc,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Codec Info objects", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - codec_info_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - codec_info_new, /* tp_new */ - -}; - -/* - * PyObj_pjsua_conf_port_info - * Conf Port Info - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - - int slot_id; - PyObject * name; - unsigned clock_rate; - unsigned channel_count; - unsigned samples_per_frame; - unsigned bits_per_sample; - PyListObject * listeners; - -} PyObj_pjsua_conf_port_info; - - -/* - * conf_port_info_dealloc - * deletes a conf_port_info from memory - */ -static void conf_port_info_dealloc(PyObj_pjsua_conf_port_info* self) -{ - Py_XDECREF(self->name); - Py_XDECREF(self->listeners); - self->ob_type->tp_free((PyObject*)self); -} - - -/* - * conf_port_info_new - * constructor for conf_port_info object - */ -static PyObject * conf_port_info_new(PyTypeObject *type, PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_conf_port_info *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_conf_port_info *)type->tp_alloc(type, 0); - if (self != NULL) - { - self->name = PyString_FromString(""); - if (self->name == NULL) - { - Py_DECREF(self); - return NULL; - } - - self->listeners = (PyListObject *)PyList_New(0); - if (self->listeners == NULL) - { - Py_DECREF(self); - return NULL; - } - } - return (PyObject *)self; -} - -/* - * conf_port_info_members - */ -static PyMemberDef conf_port_info_members[] = -{ - { - "slot_id", T_INT, - offsetof(PyObj_pjsua_conf_port_info, slot_id), 0, - "Conference port number." - }, - { - "name", T_OBJECT_EX, - offsetof(PyObj_pjsua_conf_port_info, name), 0, - "Port name" - }, - { - "clock_rate", T_INT, - offsetof(PyObj_pjsua_conf_port_info, clock_rate), 0, - "Clock rate" - }, - { - "channel_count", T_INT, - offsetof(PyObj_pjsua_conf_port_info, channel_count), 0, - "Number of channels." - }, - { - "samples_per_frame", T_INT, - offsetof(PyObj_pjsua_conf_port_info, samples_per_frame), 0, - "Samples per frame " - }, - { - "bits_per_sample", T_INT, - offsetof(PyObj_pjsua_conf_port_info, bits_per_sample), 0, - "Bits per sample" - }, - { - "listeners", T_OBJECT_EX, - offsetof(PyObj_pjsua_conf_port_info, listeners), 0, - "Array of listeners (in other words, ports where this port " - "is transmitting to" - }, - - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjsua_conf_port_info - */ -static PyTypeObject PyTyp_pjsua_conf_port_info = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Conf_Port_Info", /*tp_name*/ - sizeof(PyObj_pjsua_conf_port_info), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)conf_port_info_dealloc,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Conf Port Info objects", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - conf_port_info_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - conf_port_info_new, /* tp_new */ - -}; - -/* - * PyObj_pjmedia_port - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - pjmedia_port * port; -} PyObj_pjmedia_port; - - -/* - * PyTyp_pjmedia_port - */ -static PyTypeObject PyTyp_pjmedia_port = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.PJMedia_Port", /*tp_name*/ - sizeof(PyObj_pjmedia_port), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - 0, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "pjmedia_port objects", /* tp_doc */ - -}; - -/* - * PyObj_pjmedia_snd_dev_info - * PJMedia Snd Dev Info - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - - - unsigned input_count; - unsigned output_count; - unsigned default_samples_per_sec; - PyObject * name; - -} PyObj_pjmedia_snd_dev_info; - - -/* - * pjmedia_snd_dev_info_dealloc - * deletes a pjmedia_snd_dev_info from memory - */ -static void pjmedia_snd_dev_info_dealloc(PyObj_pjmedia_snd_dev_info* self) -{ - Py_XDECREF(self->name); - self->ob_type->tp_free((PyObject*)self); -} - - -/* - * pjmedia_snd_dev_info_new - * constructor for pjmedia_snd_dev_info object - */ -static PyObject * pjmedia_snd_dev_info_new(PyTypeObject *type, PyObject *args, - PyObject *kwds) -{ - PyObj_pjmedia_snd_dev_info *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjmedia_snd_dev_info *)type->tp_alloc(type, 0); - if (self != NULL) - { - self->name = PyString_FromString(""); - if (self->name == NULL) - { - Py_DECREF(self); - return NULL; - } - - } - return (PyObject *)self; -} - -/* - * pjmedia_snd_dev_info_members - */ -static PyMemberDef pjmedia_snd_dev_info_members[] = -{ - - { - "name", T_OBJECT_EX, - offsetof(PyObj_pjmedia_snd_dev_info, name), 0, - "Device name" - }, - { - "input_count", T_INT, - offsetof(PyObj_pjmedia_snd_dev_info, input_count), 0, - "Max number of input channels" - }, - { - "output_count", T_INT, - offsetof(PyObj_pjmedia_snd_dev_info, output_count), 0, - "Max number of output channels" - }, - { - "default_samples_per_sec", T_INT, - offsetof(PyObj_pjmedia_snd_dev_info, default_samples_per_sec), 0, - "Default sampling rate." - }, - - - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjmedia_snd_dev_info - */ -static PyTypeObject PyTyp_pjmedia_snd_dev_info = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.PJMedia_Snd_Dev_Info", /*tp_name*/ - sizeof(PyObj_pjmedia_snd_dev_info), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)pjmedia_snd_dev_info_dealloc,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "PJMedia Snd Dev Info objects", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - pjmedia_snd_dev_info_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - pjmedia_snd_dev_info_new, /* tp_new */ - -}; - -/* - * PyObj_pjmedia_codec_param_info - * PJMedia Codec Param Info - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - - unsigned clock_rate; - unsigned channel_cnt; - pj_uint32_t avg_bps; - pj_uint16_t frm_ptime; - pj_uint8_t pcm_bits_per_sample; - pj_uint8_t pt; - -} PyObj_pjmedia_codec_param_info; - - - -/* - * pjmedia_codec_param_info_members - */ -static PyMemberDef pjmedia_codec_param_info_members[] = -{ - - { - "clock_rate", T_INT, - offsetof(PyObj_pjmedia_codec_param_info, clock_rate), 0, - "Sampling rate in Hz" - }, - { - "channel_cnt", T_INT, - offsetof(PyObj_pjmedia_codec_param_info, channel_cnt), 0, - "Channel count" - }, - { - "avg_bps", T_INT, - offsetof(PyObj_pjmedia_codec_param_info, avg_bps), 0, - "Average bandwidth in bits/sec" - }, - { - "frm_ptime", T_INT, - offsetof(PyObj_pjmedia_codec_param_info, frm_ptime), 0, - "Base frame ptime in msec." - }, - { - "pcm_bits_per_sample", T_INT, - offsetof(PyObj_pjmedia_codec_param_info, pcm_bits_per_sample), 0, - "Bits/sample in the PCM side" - }, - { - "pt", T_INT, - offsetof(PyObj_pjmedia_codec_param_info, pt), 0, - "Payload type" - }, - - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjmedia_codec_param_info - */ -static PyTypeObject PyTyp_pjmedia_codec_param_info = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.PJMedia_Codec_Param_Info", /*tp_name*/ - sizeof(PyObj_pjmedia_codec_param_info), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - 0,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "PJMedia Codec Param Info objects", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - pjmedia_codec_param_info_members, /* tp_members */ - - -}; - -/* - * PyObj_pjmedia_codec_param_setting - * PJMedia Codec Param Setting - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - pj_uint8_t frm_per_pkt; - unsigned vad; - unsigned cng; - unsigned penh; - unsigned plc; - unsigned reserved; - pj_uint8_t enc_fmtp_mode; - pj_uint8_t dec_fmtp_mode; - -} PyObj_pjmedia_codec_param_setting; - - - -/* - * pjmedia_codec_param_setting_members - */ -static PyMemberDef pjmedia_codec_param_setting_members[] = -{ - - { - "frm_per_pkt", T_INT, - offsetof(PyObj_pjmedia_codec_param_setting, frm_per_pkt), 0, - "Number of frames per packet" - }, - { - "vad", T_INT, - offsetof(PyObj_pjmedia_codec_param_setting, vad), 0, - "Voice Activity Detector" - }, - { - "penh", T_INT, - offsetof(PyObj_pjmedia_codec_param_setting, penh), 0, - "Perceptual Enhancement" - }, - { - "plc", T_INT, - offsetof(PyObj_pjmedia_codec_param_setting, plc), 0, - "Packet loss concealment" - }, - { - "reserved", T_INT, - offsetof(PyObj_pjmedia_codec_param_setting, reserved), 0, - "Reserved, must be zero" - }, - { - "cng", T_INT, - offsetof(PyObj_pjmedia_codec_param_setting, cng), 0, - "Comfort Noise Generator" - }, - { - "enc_fmtp_mode", T_INT, - offsetof(PyObj_pjmedia_codec_param_setting, enc_fmtp_mode), 0, - "Mode param in fmtp (def:0)" - }, - { - "dec_fmtp_mode", T_INT, - offsetof(PyObj_pjmedia_codec_param_setting, dec_fmtp_mode), 0, - "Mode param in fmtp (def:0)" - }, - - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjmedia_codec_param_setting - */ -static PyTypeObject PyTyp_pjmedia_codec_param_setting = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.PJMedia_Codec_Param_Setting", /*tp_name*/ - sizeof(PyObj_pjmedia_codec_param_setting), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - 0,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "PJMedia Codec Param Setting objects", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - pjmedia_codec_param_setting_members, /* tp_members */ - - -}; - -/* - * PyObj_pjmedia_codec_param - * PJMedia Codec Param - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - - PyObj_pjmedia_codec_param_info * info; - PyObj_pjmedia_codec_param_setting * setting; - -} PyObj_pjmedia_codec_param; - - -/* - * pjmedia_codec_param_dealloc - * deletes a pjmedia_codec_param from memory - */ -static void pjmedia_codec_param_dealloc(PyObj_pjmedia_codec_param* self) -{ - Py_XDECREF(self->info); - Py_XDECREF(self->setting); - self->ob_type->tp_free((PyObject*)self); -} - - -/* - * pjmedia_codec_param_new - * constructor for pjmedia_codec_param object - */ -static PyObject * pjmedia_codec_param_new(PyTypeObject *type, PyObject *args, - PyObject *kwds) -{ - PyObj_pjmedia_codec_param *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjmedia_codec_param *)type->tp_alloc(type, 0); - if (self != NULL) - { - self->info = (PyObj_pjmedia_codec_param_info *) - PyType_GenericNew(&PyTyp_pjmedia_codec_param_info, NULL, NULL); - if (self->info == NULL) - { - Py_DECREF(self); - return NULL; - } - self->setting = (PyObj_pjmedia_codec_param_setting *) - PyType_GenericNew(&PyTyp_pjmedia_codec_param_setting, NULL, NULL); - if (self->setting == NULL) - { - Py_DECREF(self); - return NULL; - } - } - return (PyObject *)self; -} - -/* - * pjmedia_codec_param_members - */ -static PyMemberDef pjmedia_codec_param_members[] = -{ - - { - "info", T_OBJECT_EX, - offsetof(PyObj_pjmedia_codec_param, info), 0, - "The 'info' part of codec param describes the capability of the codec," - " and the value should NOT be changed by application." - }, - { - "setting", T_OBJECT_EX, - offsetof(PyObj_pjmedia_codec_param, setting), 0, - "The 'setting' part of codec param describes various settings to be " - "applied to the codec. When the codec param is retrieved from the " - "codec or codec factory, the values of these will be filled by " - "the capability of the codec. Any features that are supported by " - "the codec (e.g. vad or plc) will be turned on, so that application " - "can query which capabilities are supported by the codec. " - "Application may change the settings here before instantiating " - "the codec/stream." - }, - - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjmedia_codec_param - */ -static PyTypeObject PyTyp_pjmedia_codec_param = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.PJMedia_Codec_Param", /*tp_name*/ - sizeof(PyObj_pjmedia_codec_param), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)pjmedia_codec_param_dealloc,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "PJMedia Codec Param objects", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - pjmedia_codec_param_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - pjmedia_codec_param_new, /* tp_new */ - -}; - -/* - * py_pjsua_conf_get_max_ports - */ -static PyObject *py_pjsua_conf_get_max_ports -(PyObject *pSelf, PyObject *pArgs) -{ - int ret; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - ret = pjsua_conf_get_max_ports(); - - return Py_BuildValue("i", ret); -} - -/* - * py_pjsua_conf_get_active_ports - */ -static PyObject *py_pjsua_conf_get_active_ports -(PyObject *pSelf, PyObject *pArgs) -{ - int ret; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - ret = pjsua_conf_get_active_ports(); - - return Py_BuildValue("i", ret); -} - -/* - * py_pjsua_enum_conf_ports - * !modified @ 241206 - */ -static PyObject *py_pjsua_enum_conf_ports(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - PyObject *list; - - pjsua_conf_port_id id[PJSUA_MAX_CONF_PORTS]; - unsigned c, i; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - - c = PJ_ARRAY_SIZE(id); - status = pjsua_enum_conf_ports(id, &c); - - list = PyList_New(c); - for (i = 0; i < c; i++) - { - int ret = PyList_SetItem(list, i, Py_BuildValue("i", id[i])); - if (ret == -1) - { - return NULL; - } - } - - return Py_BuildValue("O",list); -} - -/* - * py_pjsua_conf_get_port_info - */ -static PyObject *py_pjsua_conf_get_port_info -(PyObject *pSelf, PyObject *pArgs) -{ - int id; - PyObj_pjsua_conf_port_info * obj; - pjsua_conf_port_info info; - int status; - unsigned i; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &id)) - { - return NULL; - } - - - status = pjsua_conf_get_port_info(id, &info); - obj = (PyObj_pjsua_conf_port_info *)conf_port_info_new - (&PyTyp_pjsua_conf_port_info,NULL,NULL); - obj->bits_per_sample = info.bits_per_sample; - obj->channel_count = info.bits_per_sample; - obj->clock_rate = info.clock_rate; - obj->name = PyString_FromStringAndSize(info.name.ptr, info.name.slen); - obj->samples_per_frame = info.samples_per_frame; - obj->slot_id = info.slot_id; - - obj->listeners = (PyListObject *)PyList_New(info.listener_cnt); - for (i = 0; i < info.listener_cnt; i++) { - PyObject * item = Py_BuildValue("i",info.listeners[i]); - PyList_SetItem((PyObject *)obj->listeners, i, item); - } - return Py_BuildValue("O", obj); -} - -/* - * py_pjsua_conf_add_port - */ -static PyObject *py_pjsua_conf_add_port -(PyObject *pSelf, PyObject *pArgs) -{ - int p_id; - PyObject * oportObj; - PyObj_pjmedia_port * oport; - pjmedia_port * port; - PyObject * opoolObj; - PyObj_pj_pool * opool; - pj_pool_t * pool; - - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "OO", &opoolObj, &oportObj)) - { - return NULL; - } - if (opoolObj != Py_None) - { - opool = (PyObj_pj_pool *)opoolObj; - pool = opool->pool; - } else { - opool = NULL; - pool = NULL; - } - if (oportObj != Py_None) - { - oport = (PyObj_pjmedia_port *)oportObj; - port = oport->port; - } else { - oport = NULL; - port = NULL; - } - - status = pjsua_conf_add_port(pool, port, &p_id); - - - return Py_BuildValue("ii", status, p_id); -} - -/* - * py_pjsua_conf_remove_port - */ -static PyObject *py_pjsua_conf_remove_port -(PyObject *pSelf, PyObject *pArgs) -{ - int id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &id)) - { - return NULL; - } - - status = pjsua_conf_remove_port(id); - - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_conf_connect - */ -static PyObject *py_pjsua_conf_connect -(PyObject *pSelf, PyObject *pArgs) -{ - int source, sink; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &source, &sink)) - { - return NULL; - } - - status = pjsua_conf_connect(source, sink); - - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_conf_disconnect - */ -static PyObject *py_pjsua_conf_disconnect -(PyObject *pSelf, PyObject *pArgs) -{ - int source, sink; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &source, &sink)) - { - return NULL; - } - - status = pjsua_conf_disconnect(source, sink); - - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_player_create - */ -static PyObject *py_pjsua_player_create -(PyObject *pSelf, PyObject *pArgs) -{ - int id; - int options; - PyObject * filename; - pj_str_t str; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "Oi", &filename, &options)) - { - return NULL; - } - str.ptr = PyString_AsString(filename); - str.slen = strlen(PyString_AsString(filename)); - status = pjsua_player_create(&str, options, &id); - - return Py_BuildValue("ii", status, id); -} - -/* - * py_pjsua_player_get_conf_port - */ -static PyObject *py_pjsua_player_get_conf_port -(PyObject *pSelf, PyObject *pArgs) -{ - - int id, port_id; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &id)) - { - return NULL; - } - - port_id = pjsua_player_get_conf_port(id); - - - return Py_BuildValue("i", port_id); -} - -/* - * py_pjsua_player_set_pos - */ -static PyObject *py_pjsua_player_set_pos -(PyObject *pSelf, PyObject *pArgs) -{ - int id; - pj_uint32_t samples; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iI", &id, &samples)) - { - return NULL; - } - - status = pjsua_player_set_pos(id, samples); - - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_player_destroy - */ -static PyObject *py_pjsua_player_destroy -(PyObject *pSelf, PyObject *pArgs) -{ - int id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &id)) - { - return NULL; - } - - status = pjsua_player_destroy(id); - - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_recorder_create - * !modified @ 261206 - */ -static PyObject *py_pjsua_recorder_create -(PyObject *pSelf, PyObject *pArgs) -{ - int p_id; - int options; - int max_size; - PyObject * filename; - pj_str_t str; - PyObject * enc_param; - pj_str_t strparam; - int enc_type; - - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "OiOii", &filename, - &enc_type, &enc_param, &max_size, &options)) - { - return NULL; - } - str.ptr = PyString_AsString(filename); - str.slen = strlen(PyString_AsString(filename)); - if (enc_param != Py_None) - { - strparam.ptr = PyString_AsString(enc_param); - strparam.slen = strlen(PyString_AsString(enc_param)); - status = pjsua_recorder_create - (&str, enc_type, NULL, max_size, options, &p_id); - } else { - status = pjsua_recorder_create - (&str, enc_type, NULL, max_size, options, &p_id); - } - return Py_BuildValue("ii", status, p_id); -} - -/* - * py_pjsua_recorder_get_conf_port - */ -static PyObject *py_pjsua_recorder_get_conf_port -(PyObject *pSelf, PyObject *pArgs) -{ - - int id, port_id; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &id)) - { - return NULL; - } - - port_id = pjsua_recorder_get_conf_port(id); - - - return Py_BuildValue("i", port_id); -} - -/* - * py_pjsua_recorder_destroy - */ -static PyObject *py_pjsua_recorder_destroy -(PyObject *pSelf, PyObject *pArgs) -{ - int id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &id)) - { - return NULL; - } - - status = pjsua_recorder_destroy(id); - - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_enum_snd_devs - */ -static PyObject *py_pjsua_enum_snd_devs(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - PyObject *list; - - pjmedia_snd_dev_info info[SND_DEV_NUM]; - unsigned c, i; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - - c = PJ_ARRAY_SIZE(info); - status = pjsua_enum_snd_devs(info, &c); - - list = PyList_New(c); - for (i = 0; i < c; i++) - { - int ret; - int j; - char * str; - - PyObj_pjmedia_snd_dev_info * obj; - obj = (PyObj_pjmedia_snd_dev_info *)pjmedia_snd_dev_info_new - (&PyTyp_pjmedia_snd_dev_info, NULL, NULL); - obj->default_samples_per_sec = info[i].default_samples_per_sec; - obj->input_count = info[i].input_count; - obj->output_count = info[i].output_count; - str = (char *)malloc(SND_NAME_LEN * sizeof(char)); - memset(str, 0, SND_NAME_LEN); - for (j = 0; j < SND_NAME_LEN; j++) - { - str[j] = info[i].name[j]; - } - obj->name = PyString_FromStringAndSize(str, SND_NAME_LEN); - free(str); - ret = PyList_SetItem(list, i, (PyObject *)obj); - if (ret == -1) - { - return NULL; - } - } - - return Py_BuildValue("O",list); -} - -/* - * py_pjsua_get_snd_dev - */ -static PyObject *py_pjsua_get_snd_dev -(PyObject *pSelf, PyObject *pArgs) -{ - int capture_dev, playback_dev; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - - status = pjsua_get_snd_dev(&capture_dev, &playback_dev); - - - return Py_BuildValue("ii", capture_dev, playback_dev); -} - -/* - * py_pjsua_set_snd_dev - */ -static PyObject *py_pjsua_set_snd_dev -(PyObject *pSelf, PyObject *pArgs) -{ - int capture_dev, playback_dev; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &capture_dev, &playback_dev)) - { - return NULL; - } - - status = pjsua_set_snd_dev(capture_dev, playback_dev); - - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_set_null_snd_dev - */ -static PyObject *py_pjsua_set_null_snd_dev -(PyObject *pSelf, PyObject *pArgs) -{ - - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - - status = pjsua_set_null_snd_dev(); - - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_set_no_snd_dev - */ -static PyObject *py_pjsua_set_no_snd_dev -(PyObject *pSelf, PyObject *pArgs) -{ - - PyObj_pjmedia_port * obj; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - - obj = (PyObj_pjmedia_port *)PyType_GenericNew - (&PyTyp_pjmedia_port, NULL, NULL); - obj->port = pjsua_set_no_snd_dev(); - return Py_BuildValue("O", obj); -} - -/* - * py_pjsua_set_ec - */ -static PyObject *py_pjsua_set_ec -(PyObject *pSelf, PyObject *pArgs) -{ - int options; - int tail_ms; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &tail_ms, &options)) - { - return NULL; - } - - status = pjsua_set_ec(tail_ms, options); - - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_get_ec_tail - */ -static PyObject *py_pjsua_get_ec_tail -(PyObject *pSelf, PyObject *pArgs) -{ - - int status; - unsigned p_tail_ms; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - - status = pjsua_get_ec_tail(&p_tail_ms); - - - return Py_BuildValue("i", p_tail_ms); -} - -/* - * py_pjsua_enum_codecs - * !modified @ 261206 - */ -static PyObject *py_pjsua_enum_codecs(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - PyObject *list; - - pjsua_codec_info info[PJMEDIA_CODEC_MGR_MAX_CODECS]; - unsigned c, i; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - - c = PJ_ARRAY_SIZE(info); - status = pjsua_enum_codecs(info, &c); - - list = PyList_New(c); - for (i = 0; i < c; i++) - { - int ret; - int j; - PyObj_pjsua_codec_info * obj; - obj = (PyObj_pjsua_codec_info *)codec_info_new - (&PyTyp_pjsua_codec_info, NULL, NULL); - obj->codec_id = PyString_FromStringAndSize - (info[i].codec_id.ptr, info[i].codec_id.slen); - obj->priority = info[i].priority; - for (j = 0; j < 32; j++) - { - obj->buf_[j] = info[i].buf_[j]; - } - ret = PyList_SetItem(list, i, (PyObject *)obj); - if (ret == -1) { - return NULL; - } - } - - - return Py_BuildValue("O",list); -} - -/* - * py_pjsua_codec_set_priority - */ -static PyObject *py_pjsua_codec_set_priority -(PyObject *pSelf, PyObject *pArgs) -{ - - int status; - PyObject * id; - pj_str_t str; - pj_uint8_t priority; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "OB", &id, &priority)) - { - return NULL; - } - str.ptr = PyString_AsString(id); - str.slen = strlen(PyString_AsString(id)); - status = pjsua_codec_set_priority(&str, priority); - - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_codec_get_param - */ -static PyObject *py_pjsua_codec_get_param -(PyObject *pSelf, PyObject *pArgs) -{ - - int status; - PyObject * id; - pj_str_t str; - pjmedia_codec_param param; - PyObj_pjmedia_codec_param *obj; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "O", &id)) - { - return NULL; - } - str.ptr = PyString_AsString(id); - str.slen = strlen(PyString_AsString(id)); - status = pjsua_codec_get_param(&str, ¶m); - obj = (PyObj_pjmedia_codec_param *)pjmedia_codec_param_new - (&PyTyp_pjmedia_codec_param, NULL, NULL); - obj->info->avg_bps = param.info.avg_bps; - obj->info->channel_cnt = param.info.channel_cnt; - obj->info->clock_rate = param.info.clock_rate; - obj->info->frm_ptime = param.info.frm_ptime; - obj->info->pcm_bits_per_sample = param.info.pcm_bits_per_sample; - obj->info->pt = param.info.pt; - obj->setting->cng = param.setting.cng; - //deprecated: - //obj->setting->dec_fmtp_mode = param.setting.dec_fmtp_mode; - //obj->setting->enc_fmtp_mode = param.setting.enc_fmtp_mode; - obj->setting->frm_per_pkt = param.setting.frm_per_pkt; - obj->setting->penh = param.setting.penh; - obj->setting->plc = param.setting.plc; - obj->setting->reserved = param.setting.reserved; - obj->setting->vad = param.setting.vad; - - return Py_BuildValue("O", obj); -} -/* - * py_pjsua_codec_set_param - */ -static PyObject *py_pjsua_codec_set_param -(PyObject *pSelf, PyObject *pArgs) -{ - - int status; - PyObject * id; - pj_str_t str; - pjmedia_codec_param param; - PyObject * tmpObj; - PyObj_pjmedia_codec_param *obj; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "OO", &id, &tmpObj)) - { - return NULL; - } - - str.ptr = PyString_AsString(id); - str.slen = strlen(PyString_AsString(id)); - if (tmpObj != Py_None) - { - obj = (PyObj_pjmedia_codec_param *)tmpObj; - param.info.avg_bps = obj->info->avg_bps; - param.info.channel_cnt = obj->info->channel_cnt; - param.info.clock_rate = obj->info->clock_rate; - param.info.frm_ptime = obj->info->frm_ptime; - param.info.pcm_bits_per_sample = obj->info->pcm_bits_per_sample; - param.info.pt = obj->info->pt; - param.setting.cng = obj->setting->cng; - //Deprecated: - //param.setting.dec_fmtp_mode = obj->setting->dec_fmtp_mode; - //param.setting.enc_fmtp_mode = obj->setting->enc_fmtp_mode; - param.setting.frm_per_pkt = obj->setting->frm_per_pkt; - param.setting.penh = obj->setting->penh; - param.setting.plc = obj->setting->plc; - param.setting.reserved = obj->setting->reserved; - param.setting.vad = obj->setting->vad; - status = pjsua_codec_set_param(&str, ¶m); - } else { - status = pjsua_codec_set_param(&str, NULL); - } - return Py_BuildValue("i", status); -} - -static char pjsua_conf_get_max_ports_doc[] = - "int py_pjsua.conf_get_max_ports () " - "Get maxinum number of conference ports."; -static char pjsua_conf_get_active_ports_doc[] = - "int py_pjsua.conf_get_active_ports () " - "Get current number of active ports in the bridge."; -static char pjsua_enum_conf_ports_doc[] = - "int[] py_pjsua.enum_conf_ports () " - "Enumerate all conference ports."; -static char pjsua_conf_get_port_info_doc[] = - "py_pjsua.Conf_Port_Info py_pjsua.conf_get_port_info (int id) " - "Get information about the specified conference port"; -static char pjsua_conf_add_port_doc[] = - "int, int py_pjsua.conf_add_port " - "(py_pjsua.Pj_Pool pool, py_pjsua.PJMedia_Port port) " - "Add arbitrary media port to PJSUA's conference bridge. " - "Application can use this function to add the media port " - "that it creates. For media ports that are created by PJSUA-LIB " - "(such as calls, file player, or file recorder), PJSUA-LIB will " - "automatically add the port to the bridge."; -static char pjsua_conf_remove_port_doc[] = - "int py_pjsua.conf_remove_port (int id) " - "Remove arbitrary slot from the conference bridge. " - "Application should only call this function " - "if it registered the port manually."; -static char pjsua_conf_connect_doc[] = - "int py_pjsua.conf_connect (int source, int sink) " - "Establish unidirectional media flow from souce to sink. " - "One source may transmit to multiple destinations/sink. " - "And if multiple sources are transmitting to the same sink, " - "the media will be mixed together. Source and sink may refer " - "to the same ID, effectively looping the media. " - "If bidirectional media flow is desired, application " - "needs to call this function twice, with the second " - "one having the arguments reversed."; -static char pjsua_conf_disconnect_doc[] = - "int py_pjsua.conf_disconnect (int source, int sink) " - "Disconnect media flow from the source to destination port."; -static char pjsua_player_create_doc[] = - "int, int py_pjsua.player_create (string filename, int options) " - "Create a file player, and automatically connect " - "this player to the conference bridge."; -static char pjsua_player_get_conf_port_doc[] = - "int py_pjsua.player_get_conf_port (int) " - "Get conference port ID associated with player."; -static char pjsua_player_set_pos_doc[] = - "int py_pjsua.player_set_pos (int id, int samples) " - "Set playback position."; -static char pjsua_player_destroy_doc[] = - "int py_pjsua.player_destroy (int id) " - "Close the file, remove the player from the bridge, " - "and free resources associated with the file player."; -static char pjsua_recorder_create_doc[] = - "int, int py_pjsua.recorder_create (string filename, " - "int enc_type, int enc_param, int max_size, int options) " - "Create a file recorder, and automatically connect this recorder " - "to the conference bridge. The recorder currently supports recording " - "WAV file, and on Windows, MP3 file. The type of the recorder to use " - "is determined by the extension of the file (e.g. '.wav' or '.mp3')."; -static char pjsua_recorder_get_conf_port_doc[] = - "int py_pjsua.recorder_get_conf_port (int id) " - "Get conference port associated with recorder."; -static char pjsua_recorder_destroy_doc[] = - "int py_pjsua.recorder_destroy (int id) " - "Destroy recorder (this will complete recording)."; -static char pjsua_enum_snd_devs_doc[] = - "py_pjsua.PJMedia_Snd_Dev_Info[] py_pjsua.enum_snd_devs (int count) " - "Enum sound devices."; -static char pjsua_get_snd_dev_doc[] = - "int, int py_pjsua.get_snd_dev () " - "Get currently active sound devices. " - "If sound devices has not been created " - "(for example when pjsua_start() is not called), " - "it is possible that the function returns " - "PJ_SUCCESS with -1 as device IDs."; -static char pjsua_set_snd_dev_doc[] = - "int py_pjsua.set_snd_dev (int capture_dev, int playback_dev) " - "Select or change sound device. Application may call this function " - "at any time to replace current sound device."; -static char pjsua_set_null_snd_dev_doc[] = - "int py_pjsua.set_null_snd_dev () " - "Set pjsua to use null sound device. The null sound device only " - "provides the timing needed by the conference bridge, and will not " - "interract with any hardware."; -static char pjsua_set_no_snd_dev_doc[] = - "py_pjsua.PJMedia_Port py_pjsua.set_no_snd_dev () " - "Disconnect the main conference bridge from any sound devices, " - "and let application connect the bridge to it's " - "own sound device/master port."; -static char pjsua_set_ec_doc[] = - "int py_pjsua.set_ec (int tail_ms, int options) " - "Configure the echo canceller tail length of the sound port."; -static char pjsua_get_ec_tail_doc[] = - "int py_pjsua.get_ec_tail () " - "Get current echo canceller tail length."; -static char pjsua_enum_codecs_doc[] = - "py_pjsua.Codec_Info[] py_pjsua.enum_codecs () " - "Enum all supported codecs in the system."; -static char pjsua_codec_set_priority_doc[] = - "int py_pjsua.codec_set_priority (string id, int priority) " - "Change codec priority."; -static char pjsua_codec_get_param_doc[] = - "py_pjsua.PJMedia_Codec_Param py_pjsua.codec_get_param (string id) " - "Get codec parameters"; -static char pjsua_codec_set_param_doc[] = - "int py_pjsua.codec_set_param (string id, " - "py_pjsua.PJMedia_Codec_Param param) " - "Set codec parameters."; - -/* END OF LIB MEDIA */ - -/* LIB CALL */ - -/* - * PyObj_pj_time_val - * PJ Time Val - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - long sec; - long msec; - -} PyObj_pj_time_val; - - - -/* - * pj_time_val_members - */ -static PyMemberDef pj_time_val_members[] = -{ - - { - "sec", T_INT, - offsetof(PyObj_pj_time_val, sec), 0, - "The seconds part of the time" - }, - { - "msec", T_INT, - offsetof(PyObj_pj_time_val, sec), 0, - "The milliseconds fraction of the time" - }, - - - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pj_time_val - */ -static PyTypeObject PyTyp_pj_time_val = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.PJ_Time_Val", /*tp_name*/ - sizeof(PyObj_pj_time_val), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - 0,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "PJ Time Val objects", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - pj_time_val_members, /* tp_members */ - - -}; - -/* - * PyObj_pjsua_call_info - * Call Info - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - - int id; - int role; - int acc_id; - PyObject * local_info; - PyObject * local_contact; - PyObject * remote_info; - PyObject * remote_contact; - PyObject * call_id; - int state; - PyObject * state_text; - int last_status; - PyObject * last_status_text; - int media_status; - int media_dir; - int conf_slot; - PyObj_pj_time_val * connect_duration; - PyObj_pj_time_val * total_duration; - struct { - char local_info[128]; - char local_contact[128]; - char remote_info[128]; - char remote_contact[128]; - char call_id[128]; - char last_status_text[128]; - } buf_; - -} PyObj_pjsua_call_info; - - -/* - * call_info_dealloc - * deletes a call_info from memory - */ -static void call_info_dealloc(PyObj_pjsua_call_info* self) -{ - Py_XDECREF(self->local_info); - Py_XDECREF(self->local_contact); - Py_XDECREF(self->remote_info); - Py_XDECREF(self->remote_contact); - Py_XDECREF(self->call_id); - Py_XDECREF(self->state_text); - Py_XDECREF(self->last_status_text); - Py_XDECREF(self->connect_duration); - Py_XDECREF(self->total_duration); - self->ob_type->tp_free((PyObject*)self); -} - - -/* - * call_info_new - * constructor for call_info object - */ -static PyObject * call_info_new(PyTypeObject *type, PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_call_info *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_call_info *)type->tp_alloc(type, 0); - if (self != NULL) - { - self->local_info = PyString_FromString(""); - if (self->local_info == NULL) - { - Py_DECREF(self); - return NULL; - } - self->local_contact = PyString_FromString(""); - if (self->local_contact == NULL) - { - Py_DECREF(self); - return NULL; - } - self->remote_info = PyString_FromString(""); - if (self->remote_info == NULL) - { - Py_DECREF(self); - return NULL; - } - self->remote_contact = PyString_FromString(""); - if (self->remote_contact == NULL) - { - Py_DECREF(self); - return NULL; - } - self->call_id = PyString_FromString(""); - if (self->call_id == NULL) - { - Py_DECREF(self); - return NULL; - } - self->state_text = PyString_FromString(""); - if (self->state_text == NULL) - { - Py_DECREF(self); - return NULL; - } - self->last_status_text = PyString_FromString(""); - if (self->last_status_text == NULL) - { - Py_DECREF(self); - return NULL; - } - self->connect_duration = (PyObj_pj_time_val *)PyType_GenericNew - (&PyTyp_pj_time_val,NULL,NULL); - if (self->connect_duration == NULL) - { - Py_DECREF(self); - return NULL; - } - self->total_duration = (PyObj_pj_time_val *)PyType_GenericNew - (&PyTyp_pj_time_val,NULL,NULL); - if (self->total_duration == NULL) - { - Py_DECREF(self); - return NULL; - } - } - return (PyObject *)self; -} - -/* - * call_info_members - */ -static PyMemberDef call_info_members[] = -{ - { - "id", T_INT, - offsetof(PyObj_pjsua_call_info, id), 0, - "Call identification" - }, - { - "role", T_INT, - offsetof(PyObj_pjsua_call_info, role), 0, - "Initial call role (UAC == caller)" - }, - { - "acc_id", T_INT, - offsetof(PyObj_pjsua_call_info, acc_id), 0, - "The account ID where this call belongs." - }, - { - "local_info", T_OBJECT_EX, - offsetof(PyObj_pjsua_call_info, local_info), 0, - "Local URI" - }, - { - "local_contact", T_OBJECT_EX, - offsetof(PyObj_pjsua_call_info, local_contact), 0, - "Local Contact" - }, - { - "remote_info", T_OBJECT_EX, - offsetof(PyObj_pjsua_call_info, remote_info), 0, - "Remote URI" - }, - { - "remote_contact", T_OBJECT_EX, - offsetof(PyObj_pjsua_call_info, remote_contact), 0, - "Remote Contact" - }, - { - "call_id", T_OBJECT_EX, - offsetof(PyObj_pjsua_call_info, call_id), 0, - "Dialog Call-ID string" - }, - { - "state", T_INT, - offsetof(PyObj_pjsua_call_info, state), 0, - "Call state" - }, - { - "state_text", T_OBJECT_EX, - offsetof(PyObj_pjsua_call_info, state_text), 0, - "Text describing the state " - }, - { - "last_status", T_INT, - offsetof(PyObj_pjsua_call_info, last_status), 0, - "Last status code heard, which can be used as cause code" - }, - { - "last_status_text", T_OBJECT_EX, - offsetof(PyObj_pjsua_call_info, last_status_text), 0, - "The reason phrase describing the status." - }, - { - "media_status", T_INT, - offsetof(PyObj_pjsua_call_info, media_status), 0, - "Call media status." - }, - { - "media_dir", T_INT, - offsetof(PyObj_pjsua_call_info, media_dir), 0, - "Media direction" - }, - { - "conf_slot", T_INT, - offsetof(PyObj_pjsua_call_info, conf_slot), 0, - "The conference port number for the call" - }, - { - "connect_duration", T_OBJECT_EX, - offsetof(PyObj_pjsua_call_info, connect_duration), 0, - "Up-to-date call connected duration(zero when call is not established)" - }, - { - "total_duration", T_OBJECT_EX, - offsetof(PyObj_pjsua_call_info, total_duration), 0, - "Total call duration, including set-up time" - }, - - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjsua_call_info - */ -static PyTypeObject PyTyp_pjsua_call_info = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Call_Info", /*tp_name*/ - sizeof(PyObj_pjsua_call_info), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)call_info_dealloc,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Call Info objects", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - call_info_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - call_info_new, /* tp_new */ - -}; - -/* - * py_pjsua_call_get_max_count - */ -static PyObject *py_pjsua_call_get_max_count -(PyObject *pSelf, PyObject *pArgs) -{ - int count; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - - count = pjsua_call_get_max_count(); - - - return Py_BuildValue("i", count); -} - -/* - * py_pjsua_call_get_count - */ -static PyObject *py_pjsua_call_get_count -(PyObject *pSelf, PyObject *pArgs) -{ - - int count; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - - count = pjsua_call_get_count(); - - - return Py_BuildValue("i", count); -} - -/* - * py_pjsua_enum_calls - */ -static PyObject *py_pjsua_enum_calls(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - PyObject *list; - - pjsua_transport_id id[PJSUA_MAX_CALLS]; - unsigned c, i; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - - c = PJ_ARRAY_SIZE(id); - status = pjsua_enum_calls(id, &c); - - list = PyList_New(c); - for (i = 0; i < c; i++) - { - int ret = PyList_SetItem(list, i, Py_BuildValue("i", id[i])); - if (ret == -1) - { - return NULL; - } - } - - return Py_BuildValue("O",list); -} - -/* - * py_pjsua_call_make_call - */ -static PyObject *py_pjsua_call_make_call -(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int acc_id; - pj_str_t dst_uri; - PyObject * sd; - unsigned options; - pjsua_msg_data msg_data; - PyObject * omdObj; - PyObj_pjsua_msg_data * omd; - int user_data; - int call_id; - pj_pool_t * pool; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple - (pArgs, "iOIiO", &acc_id, &sd, &options, &user_data, &omdObj)) - { - return NULL; - } - - dst_uri.ptr = PyString_AsString(sd); - dst_uri.slen = strlen(PyString_AsString(sd)); - if (omdObj != Py_None) - { - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type.ptr = PyString_AsString(omd->content_type); - msg_data.content_type.slen = strlen - (PyString_AsString(omd->content_type)); - msg_data.msg_body.ptr = PyString_AsString(omd->msg_body); - msg_data.msg_body.slen = strlen(PyString_AsString(omd->msg_body)); - pool = pjsua_pool_create("pjsua", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - status = pjsua_call_make_call(acc_id, &dst_uri, - options, (void*)user_data, &msg_data, &call_id); - pj_pool_release(pool); - } else { - - status = pjsua_call_make_call(acc_id, &dst_uri, - options, (void*)user_data, NULL, &call_id); - } - - return Py_BuildValue("ii",status, call_id); - -} - -/* - * py_pjsua_call_is_active - */ -static PyObject *py_pjsua_call_is_active -(PyObject *pSelf, PyObject *pArgs) -{ - int call_id; - int isActive; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &call_id)) - { - return NULL; - } - - isActive = pjsua_call_is_active(call_id); - - - return Py_BuildValue("i", isActive); -} - -/* - * py_pjsua_call_has_media - */ -static PyObject *py_pjsua_call_has_media -(PyObject *pSelf, PyObject *pArgs) -{ - int call_id; - int hasMedia; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &call_id)) - { - return NULL; - } - - hasMedia = pjsua_call_has_media(call_id); - - - return Py_BuildValue("i", hasMedia); -} - -/* - * py_pjsua_call_get_conf_port - */ -static PyObject *py_pjsua_call_get_conf_port -(PyObject *pSelf, PyObject *pArgs) -{ - int call_id; - int port_id; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &call_id)) - { - return NULL; - } - - port_id = pjsua_call_get_conf_port(call_id); - - - return Py_BuildValue("i", port_id); -} - -/* - * py_pjsua_call_get_info - */ -static PyObject *py_pjsua_call_get_info -(PyObject *pSelf, PyObject *pArgs) -{ - int call_id; - int status; - PyObj_pjsua_call_info * oi; - pjsua_call_info info; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &call_id)) - { - return NULL; - } - - - status = pjsua_call_get_info(call_id, &info); - if (status == PJ_SUCCESS) - { - oi = (PyObj_pjsua_call_info *)call_info_new(&PyTyp_pjsua_call_info, NULL, NULL); - oi->acc_id = info.acc_id; - pj_ansi_snprintf(oi->buf_.call_id, sizeof(oi->buf_.call_id), - "%.*s", (int)info.call_id.slen, info.call_id.ptr); - pj_ansi_snprintf(oi->buf_.last_status_text, - sizeof(oi->buf_.last_status_text), - "%.*s", (int)info.last_status_text.slen, info.last_status_text.ptr); - pj_ansi_snprintf(oi->buf_.local_contact, sizeof(oi->buf_.local_contact), - "%.*s", (int)info.local_contact.slen, info.local_contact.ptr); - pj_ansi_snprintf(oi->buf_.local_info, sizeof(oi->buf_.local_info), - "%.*s", (int)info.local_info.slen, info.local_info.ptr); - pj_ansi_snprintf(oi->buf_.remote_contact, - sizeof(oi->buf_.remote_contact), - "%.*s", (int)info.remote_contact.slen, info.remote_contact.ptr); - pj_ansi_snprintf(oi->buf_.remote_info, sizeof(oi->buf_.remote_info), - "%.*s", (int)info.remote_info.slen, info.remote_info.ptr); - - oi->call_id = PyString_FromStringAndSize(info.call_id.ptr, - info.call_id.slen); - oi->conf_slot = info.conf_slot; - oi->connect_duration->sec = info.connect_duration.sec; - oi->connect_duration->msec = info.connect_duration.msec; - oi->total_duration->sec = info.total_duration.sec; - oi->total_duration->msec = info.total_duration.msec; - oi->id = info.id; - oi->last_status = info.last_status; - oi->last_status_text = PyString_FromStringAndSize( - info.last_status_text.ptr, info.last_status_text.slen); - oi->local_contact = PyString_FromStringAndSize( - info.local_contact.ptr, info.local_contact.slen); - oi->local_info = PyString_FromStringAndSize( - info.local_info.ptr, info.local_info.slen); - oi->remote_contact = PyString_FromStringAndSize( - info.remote_contact.ptr, info.remote_contact.slen); - oi->remote_info = PyString_FromStringAndSize( - info.remote_info.ptr, info.remote_info.slen); - oi->media_dir = info.media_dir; - oi->media_status = info.media_status; - oi->role = info.role; - oi->state = info.state; - oi->state_text = PyString_FromStringAndSize( - info.state_text.ptr, info.state_text.slen); - - return Py_BuildValue("O", oi); - } else { - Py_INCREF(Py_None); - return Py_None; - } -} - -/* - * py_pjsua_call_set_user_data - */ -static PyObject *py_pjsua_call_set_user_data -(PyObject *pSelf, PyObject *pArgs) -{ - int call_id; - int user_data; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &call_id, &user_data)) - { - return NULL; - } - - status = pjsua_call_set_user_data(call_id, (void*)user_data); - - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_call_get_user_data - */ -static PyObject *py_pjsua_call_get_user_data -(PyObject *pSelf, PyObject *pArgs) -{ - int call_id; - void * user_data; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &call_id)) - { - return NULL; - } - - user_data = pjsua_call_get_user_data(call_id); - - - return Py_BuildValue("i", (int)user_data); -} - -/* - * py_pjsua_call_answer - */ -static PyObject *py_pjsua_call_answer -(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int call_id; - pj_str_t * reason, tmp_reason; - PyObject * sr; - unsigned code; - pjsua_msg_data msg_data; - PyObject * omdObj; - PyObj_pjsua_msg_data * omd; - pj_pool_t * pool; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iIOO", &call_id, &code, &sr, &omdObj)) - { - return NULL; - } - if (sr == Py_None) - { - reason = NULL; - } else { - reason = &tmp_reason; - tmp_reason.ptr = PyString_AsString(sr); - tmp_reason.slen = strlen(PyString_AsString(sr)); - } - if (omdObj != Py_None) - { - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type.ptr = PyString_AsString(omd->content_type); - msg_data.content_type.slen = strlen - (PyString_AsString(omd->content_type)); - msg_data.msg_body.ptr = PyString_AsString(omd->msg_body); - msg_data.msg_body.slen = strlen(PyString_AsString(omd->msg_body)); - pool = pjsua_pool_create("pjsua", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - - status = pjsua_call_answer(call_id, code, reason, &msg_data); - - pj_pool_release(pool); - } else { - - status = pjsua_call_answer(call_id, code, reason, NULL); - - } - - return Py_BuildValue("i",status); -} - -/* - * py_pjsua_call_hangup - */ -static PyObject *py_pjsua_call_hangup -(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int call_id; - pj_str_t * reason, tmp_reason; - PyObject * sr; - unsigned code; - pjsua_msg_data msg_data; - PyObject * omdObj; - PyObj_pjsua_msg_data * omd; - pj_pool_t * pool = NULL; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iIOO", &call_id, &code, &sr, &omdObj)) - { - return NULL; - } - if (sr == Py_None) - { - reason = NULL; - } else { - reason = &tmp_reason; - tmp_reason.ptr = PyString_AsString(sr); - tmp_reason.slen = strlen(PyString_AsString(sr)); - } - if (omdObj != Py_None) - { - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type.ptr = PyString_AsString(omd->content_type); - msg_data.content_type.slen = strlen - (PyString_AsString(omd->content_type)); - msg_data.msg_body.ptr = PyString_AsString(omd->msg_body); - msg_data.msg_body.slen = strlen(PyString_AsString(omd->msg_body)); - pool = pjsua_pool_create("pjsua", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - status = pjsua_call_hangup(call_id, code, reason, &msg_data); - pj_pool_release(pool); - } else { - status = pjsua_call_hangup(call_id, code, reason, NULL); - } - - return Py_BuildValue("i",status); -} - -/* - * py_pjsua_call_set_hold - */ -static PyObject *py_pjsua_call_set_hold -(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int call_id; - pjsua_msg_data msg_data; - PyObject * omdObj; - PyObj_pjsua_msg_data * omd; - pj_pool_t * pool; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iO", &call_id, &omdObj)) - { - return NULL; - } - - if (omdObj != Py_None) - { - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type.ptr = PyString_AsString(omd->content_type); - msg_data.content_type.slen = strlen - (PyString_AsString(omd->content_type)); - msg_data.msg_body.ptr = PyString_AsString(omd->msg_body); - msg_data.msg_body.slen = strlen(PyString_AsString(omd->msg_body)); - pool = pjsua_pool_create("pjsua", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - status = pjsua_call_set_hold(call_id, &msg_data); - pj_pool_release(pool); - } else { - status = pjsua_call_set_hold(call_id, NULL); - } - return Py_BuildValue("i",status); -} - -/* - * py_pjsua_call_reinvite - */ -static PyObject *py_pjsua_call_reinvite -(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int call_id; - int unhold; - pjsua_msg_data msg_data; - PyObject * omdObj; - PyObj_pjsua_msg_data * omd; - pj_pool_t * pool; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iiO", &call_id, &unhold, &omdObj)) - { - return NULL; - } - - if (omdObj != Py_None) - { - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type.ptr = PyString_AsString(omd->content_type); - msg_data.content_type.slen = strlen - (PyString_AsString(omd->content_type)); - msg_data.msg_body.ptr = PyString_AsString(omd->msg_body); - msg_data.msg_body.slen = strlen(PyString_AsString(omd->msg_body)); - pool = pjsua_pool_create("pjsua", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - status = pjsua_call_reinvite(call_id, unhold, &msg_data); - pj_pool_release(pool); - } else { - status = pjsua_call_reinvite(call_id, unhold, NULL); - } - return Py_BuildValue("i",status); -} - -/* - * py_pjsua_call_xfer - */ -static PyObject *py_pjsua_call_xfer -(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int call_id; - pj_str_t dest; - PyObject * sd; - pjsua_msg_data msg_data; - PyObject * omdObj; - PyObj_pjsua_msg_data * omd; - pj_pool_t * pool; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iOO", &call_id, &sd, &omdObj)) - { - return NULL; - } - - dest.ptr = PyString_AsString(sd); - dest.slen = strlen(PyString_AsString(sd)); - - if (omdObj != Py_None) - { - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type.ptr = PyString_AsString(omd->content_type); - msg_data.content_type.slen = strlen - (PyString_AsString(omd->content_type)); - msg_data.msg_body.ptr = PyString_AsString(omd->msg_body); - msg_data.msg_body.slen = strlen(PyString_AsString(omd->msg_body)); - pool = pjsua_pool_create("pjsua", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - status = pjsua_call_xfer(call_id, &dest, &msg_data); - pj_pool_release(pool); - } else { - status = pjsua_call_xfer(call_id, &dest, NULL); - } - return Py_BuildValue("i",status); -} - -/* - * py_pjsua_call_xfer_replaces - */ -static PyObject *py_pjsua_call_xfer_replaces -(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int call_id; - int dest_call_id; - unsigned options; - pjsua_msg_data msg_data; - PyObject * omdObj; - PyObj_pjsua_msg_data * omd; - pj_pool_t * pool; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple - (pArgs, "iiIO", &call_id, &dest_call_id, &options, &omdObj)) - { - return NULL; - } - - if (omdObj != Py_None) - { - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type.ptr = PyString_AsString(omd->content_type); - msg_data.content_type.slen = strlen - (PyString_AsString(omd->content_type)); - msg_data.msg_body.ptr = PyString_AsString(omd->msg_body); - msg_data.msg_body.slen = strlen(PyString_AsString(omd->msg_body)); - pool = pjsua_pool_create("pjsua", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - status = pjsua_call_xfer_replaces - (call_id, dest_call_id, options, &msg_data); - pj_pool_release(pool); - } else { - status = pjsua_call_xfer_replaces(call_id, dest_call_id,options, NULL); - } - return Py_BuildValue("i",status); -} - -/* - * py_pjsua_call_dial_dtmf - */ -static PyObject *py_pjsua_call_dial_dtmf -(PyObject *pSelf, PyObject *pArgs) -{ - int call_id; - PyObject * sd; - pj_str_t digits; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iO", &call_id, &sd)) - { - return NULL; - } - digits.ptr = PyString_AsString(sd); - digits.slen = strlen(PyString_AsString(sd)); - status = pjsua_call_dial_dtmf(call_id, &digits); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_call_send_im - */ -static PyObject *py_pjsua_call_send_im -(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int call_id; - pj_str_t content; - pj_str_t * mime_type, tmp_mime_type; - PyObject * sm; - PyObject * sc; - pjsua_msg_data msg_data; - PyObject * omdObj; - PyObj_pjsua_msg_data * omd; - int user_data; - pj_pool_t * pool; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple - (pArgs, "iOOOi", &call_id, &sm, &sc, &omdObj, &user_data)) - { - return NULL; - } - if (sm == Py_None) - { - mime_type = NULL; - } else { - mime_type = &tmp_mime_type; - tmp_mime_type.ptr = PyString_AsString(sm); - tmp_mime_type.slen = strlen(PyString_AsString(sm)); - } - content.ptr = PyString_AsString(sc); - content.slen = strlen(PyString_AsString(sc)); - - if (omdObj != Py_None) - { - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type.ptr = PyString_AsString(omd->content_type); - msg_data.content_type.slen = strlen - (PyString_AsString(omd->content_type)); - msg_data.msg_body.ptr = PyString_AsString(omd->msg_body); - msg_data.msg_body.slen = strlen(PyString_AsString(omd->msg_body)); - pool = pjsua_pool_create("pjsua", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - status = pjsua_call_send_im - (call_id, mime_type, &content, &msg_data, (void *)user_data); - pj_pool_release(pool); - } else { - status = pjsua_call_send_im - (call_id, mime_type, &content, NULL, (void *)user_data); - } - - return Py_BuildValue("i",status); -} - -/* - * py_pjsua_call_send_typing_ind - */ -static PyObject *py_pjsua_call_send_typing_ind -(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int call_id; - int is_typing; - pjsua_msg_data msg_data; - PyObject * omdObj; - PyObj_pjsua_msg_data * omd; - pj_pool_t * pool; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iiO", &call_id, &is_typing, &omdObj)) - { - return NULL; - } - - if (omdObj != Py_None) - { - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type.ptr = PyString_AsString(omd->content_type); - msg_data.content_type.slen = strlen - (PyString_AsString(omd->content_type)); - msg_data.msg_body.ptr = PyString_AsString(omd->msg_body); - msg_data.msg_body.slen = strlen(PyString_AsString(omd->msg_body)); - pool = pjsua_pool_create("pjsua", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - status = pjsua_call_send_typing_ind(call_id, is_typing, &msg_data); - pj_pool_release(pool); - } else { - status = pjsua_call_send_typing_ind(call_id, is_typing, NULL); - } - return Py_BuildValue("i",status); -} - -/* - * py_pjsua_call_hangup_all - */ -static PyObject *py_pjsua_call_hangup_all -(PyObject *pSelf, PyObject *pArgs) -{ - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "")) - { - return NULL; - } - - pjsua_call_hangup_all(); - - Py_INCREF(Py_None); - return Py_None; -} - -/* - * py_pjsua_call_dump - */ -static PyObject *py_pjsua_call_dump -(PyObject *pSelf, PyObject *pArgs) -{ - int call_id; - int with_media; - PyObject * sb; - PyObject * si; - char * buffer; - char * indent; - unsigned maxlen; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iiIO", &call_id, &with_media, &maxlen, &si)) - { - return NULL; - } - buffer = (char *) malloc (maxlen * sizeof(char)); - indent = PyString_AsString(si); - - status = pjsua_call_dump(call_id, with_media, buffer, maxlen, indent); - sb = PyString_FromStringAndSize(buffer, maxlen); - free(buffer); - return Py_BuildValue("O", sb); -} - - -/* - * py_pjsua_dump - * Dump application states. - */ -static PyObject *py_pjsua_dump(PyObject *pSelf, PyObject *pArgs) -{ - unsigned old_decor; - char buf[1024]; - int detail; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &detail)) - { - return NULL; - } - - PJ_LOG(3,(THIS_FILE, "Start dumping application states:")); - - old_decor = pj_log_get_decor(); - pj_log_set_decor(old_decor & (PJ_LOG_HAS_NEWLINE | PJ_LOG_HAS_CR)); - - if (detail) - pj_dump_config(); - - pjsip_endpt_dump(pjsua_get_pjsip_endpt(), detail); - pjmedia_endpt_dump(pjsua_get_pjmedia_endpt()); - pjsip_tsx_layer_dump(detail); - pjsip_ua_dump(detail); - - - /* Dump all invite sessions: */ - PJ_LOG(3,(THIS_FILE, "Dumping invite sessions:")); - - if (pjsua_call_get_count() == 0) { - - PJ_LOG(3,(THIS_FILE, " - no sessions -")); - - } else { - unsigned i, max; - - max = pjsua_call_get_max_count(); - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PY_PJSUA_H__ -#define __PY_PJSUA_H__ - -#define _CRT_SECURE_NO_DEPRECATE - -#include -#include -#include - - -PJ_INLINE(pj_str_t) PyString_to_pj_str(const PyObject *obj) -{ - pj_str_t str; - - if (obj) { - str.ptr = PyString_AS_STRING(obj); - str.slen = PyString_GET_SIZE(obj); - } else { - str.ptr = NULL; - str.slen = 0; - } - - return str; -} - - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pj_pool - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - pj_pool_t * pool; -} PyObj_pj_pool; - - -/* - * PyTyp_pj_pool_t - */ -static PyTypeObject PyTyp_pj_pool_t = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Pj_Pool", /*tp_name*/ - sizeof(PyObj_pj_pool), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - 0, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "pj_pool_t objects", /* tp_doc */ - -}; - - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsip_endpoint - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - pjsip_endpoint * endpt; -} PyObj_pjsip_endpoint; - - -/* - * PyTyp_pjsip_endpoint - */ -static PyTypeObject PyTyp_pjsip_endpoint = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Pjsip_Endpoint", /*tp_name*/ - sizeof(PyObj_pjsip_endpoint),/*tp_basicsize*/ - 0, /*tp_itemsize*/ - 0, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "pjsip_endpoint objects", /* tp_doc */ -}; - - -/* - * PyObj_pjmedia_endpt - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - pjmedia_endpt * endpt; -} PyObj_pjmedia_endpt; - - -////////////////////////////////////////////////////////////////////////////// -/* - * PyTyp_pjmedia_endpt - */ -static PyTypeObject PyTyp_pjmedia_endpt = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Pjmedia_Endpt", /*tp_name*/ - sizeof(PyObj_pjmedia_endpt), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - 0, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "pjmedia_endpt objects", /* tp_doc */ - -}; - - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pj_pool_factory - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - pj_pool_factory * pool_fact; -} PyObj_pj_pool_factory; - - - -/* - * PyTyp_pj_pool_factory - */ -static PyTypeObject PyTyp_pj_pool_factory = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Pj_Pool_Factory",/*tp_name*/ - sizeof(PyObj_pj_pool_factory), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - 0, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "pj_pool_factory objects", /* tp_doc */ - -}; - - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsip_cred_info - */ -typedef struct -{ - PyObject_HEAD - - /* Type-specific fields go here. */ - PyObject *realm; - PyObject *scheme; - PyObject *username; - int data_type; - PyObject *data; - -} PyObj_pjsip_cred_info; - -/* - * cred_info_dealloc - * deletes a cred info from memory - */ -static void PyObj_pjsip_cred_info_delete(PyObj_pjsip_cred_info* self) -{ - Py_XDECREF(self->realm); - Py_XDECREF(self->scheme); - Py_XDECREF(self->username); - Py_XDECREF(self->data); - self->ob_type->tp_free((PyObject*)self); -} - - -static void PyObj_pjsip_cred_info_import(PyObj_pjsip_cred_info *obj, - const pjsip_cred_info *cfg) -{ - Py_XDECREF(obj->realm); - obj->realm = PyString_FromStringAndSize(cfg->realm.ptr, cfg->realm.slen); - Py_XDECREF(obj->scheme); - obj->scheme = PyString_FromStringAndSize(cfg->scheme.ptr, cfg->scheme.slen); - Py_XDECREF(obj->username); - obj->username = PyString_FromStringAndSize(cfg->username.ptr, cfg->username.slen); - obj->data_type = cfg->data_type; - Py_XDECREF(obj->data); - obj->data = PyString_FromStringAndSize(cfg->data.ptr, cfg->data.slen); -} - -static void PyObj_pjsip_cred_info_export(pjsip_cred_info *cfg, - PyObj_pjsip_cred_info *obj) -{ - cfg->realm = PyString_to_pj_str(obj->realm); - cfg->scheme = PyString_to_pj_str(obj->scheme); - cfg->username = PyString_to_pj_str(obj->username); - cfg->data_type = obj->data_type; - cfg->data = PyString_to_pj_str(obj->data); -} - - -/* - * cred_info_new - * constructor for cred_info object - */ -static PyObject * PyObj_pjsip_cred_info_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsip_cred_info *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsip_cred_info *)type->tp_alloc(type, 0); - if (self != NULL) - { - self->realm = PyString_FromString(""); - if (self->realm == NULL) - { - Py_DECREF(self); - return NULL; - } - self->scheme = PyString_FromString(""); - if (self->scheme == NULL) - { - Py_DECREF(self); - return NULL; - } - self->username = PyString_FromString(""); - if (self->username == NULL) - { - Py_DECREF(self); - return NULL; - } - self->data_type = PJSIP_CRED_DATA_PLAIN_PASSWD; - self->data = PyString_FromString(""); - if (self->data == NULL) - { - Py_DECREF(self); - return NULL; - } - } - - return (PyObject *)self; -} - - -/* - * PyObj_pjsip_cred_info_members - */ -static PyMemberDef PyObj_pjsip_cred_info_members[] = -{ - { - "realm", T_OBJECT_EX, - offsetof(PyObj_pjsip_cred_info, realm), 0, - "Realm" - }, - { - "scheme", T_OBJECT_EX, - offsetof(PyObj_pjsip_cred_info, scheme), 0, - "Scheme" - }, - { - "username", T_OBJECT_EX, - offsetof(PyObj_pjsip_cred_info, username), 0, - "User name" - }, - { - "data", T_OBJECT_EX, - offsetof(PyObj_pjsip_cred_info, data), 0, - "The data, which can be a plaintext password or a hashed digest, " - "depending on the value of data_type" - }, - { - "data_type", T_INT, - offsetof(PyObj_pjsip_cred_info, data_type), 0, - "Type of data" - }, - - {NULL} /* Sentinel */ -}; - -/* - * PyTyp_pjsip_cred_info - */ -static PyTypeObject PyTyp_pjsip_cred_info = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Pjsip_Cred_Info", /*tp_name*/ - sizeof(PyObj_pjsip_cred_info), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsip_cred_info_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "PJSIP credential information", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsip_cred_info_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsip_cred_info_new, /* tp_new */ - -}; - - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsip_event - * C/python typewrapper for event struct - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - pjsip_event * event; -} PyObj_pjsip_event; - - - -/* - * PyTyp_pjsip_event - * event struct signatures - */ -static PyTypeObject PyTyp_pjsip_event = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Pjsip_Event", /*tp_name*/ - sizeof(PyObj_pjsip_event), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - 0, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "pjsip_event object", /*tp_doc */ -}; - - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsip_rx_data - * C/python typewrapper for pjsip_rx_data struct - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - pjsip_rx_data * rdata; -} PyObj_pjsip_rx_data; - - -/* - * PyTyp_pjsip_rx_data - */ -static PyTypeObject PyTyp_pjsip_rx_data = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Pjsip_Rx_Data", /*tp_name*/ - sizeof(PyObj_pjsip_rx_data), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - 0, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "pjsip_rx_data object", /*tp_doc*/ -}; - - - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsua_callback - * C/python typewrapper for callback struct - */ -typedef struct PyObj_pjsua_callback -{ - PyObject_HEAD - /* Type-specific fields go here. */ - PyObject * on_call_state; - PyObject * on_incoming_call; - PyObject * on_call_media_state; - PyObject * on_dtmf_digit; - PyObject * on_call_transfer_request; - PyObject * on_call_transfer_status; - PyObject * on_call_replace_request; - PyObject * on_call_replaced; - PyObject * on_reg_state; - PyObject * on_buddy_state; - PyObject * on_pager; - PyObject * on_pager_status; - PyObject * on_typing; -} PyObj_pjsua_callback; - - -/* - * PyObj_pjsua_callback_delete - * destructor function for callback struct - */ -static void PyObj_pjsua_callback_delete(PyObj_pjsua_callback* self) -{ - Py_XDECREF(self->on_call_state); - Py_XDECREF(self->on_incoming_call); - Py_XDECREF(self->on_call_media_state); - Py_XDECREF(self->on_dtmf_digit); - Py_XDECREF(self->on_call_transfer_request); - Py_XDECREF(self->on_call_transfer_status); - Py_XDECREF(self->on_call_replace_request); - Py_XDECREF(self->on_call_replaced); - Py_XDECREF(self->on_reg_state); - Py_XDECREF(self->on_buddy_state); - Py_XDECREF(self->on_pager); - Py_XDECREF(self->on_pager_status); - Py_XDECREF(self->on_typing); - self->ob_type->tp_free((PyObject*)self); -} - - -/* - * PyObj_pjsua_callback_new - * * declares constructor for callback struct - */ -static PyObject * PyObj_pjsua_callback_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_callback *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_callback *)type->tp_alloc(type, 0); - if (self != NULL) - { - Py_INCREF(Py_None); - self->on_call_state = Py_None; - if (self->on_call_state == NULL) - { - Py_DECREF(Py_None); - return NULL; - } - Py_INCREF(Py_None); - self->on_incoming_call = Py_None; - if (self->on_incoming_call == NULL) - { - Py_DECREF(Py_None); - return NULL; - } - Py_INCREF(Py_None); - self->on_call_media_state = Py_None; - if (self->on_call_media_state == NULL) - { - Py_DECREF(Py_None); - return NULL; - } - Py_INCREF(Py_None); - self->on_dtmf_digit = Py_None; - if (self->on_dtmf_digit == NULL) - { - Py_DECREF(Py_None); - return NULL; - } - Py_INCREF(Py_None); - self->on_call_transfer_request = Py_None; - if (self->on_call_transfer_request == NULL) - { - Py_DECREF(Py_None); - return NULL; - } - Py_INCREF(Py_None); - self->on_call_transfer_status = Py_None; - if (self->on_call_transfer_status == NULL) - { - Py_DECREF(Py_None); - return NULL; - } - Py_INCREF(Py_None); - self->on_call_replace_request = Py_None; - if (self->on_call_replace_request == NULL) - { - Py_DECREF(Py_None); - return NULL; - } - Py_INCREF(Py_None); - self->on_call_replaced = Py_None; - if (self->on_call_replaced == NULL) - { - Py_DECREF(Py_None); - return NULL; - } - Py_INCREF(Py_None); - self->on_reg_state = Py_None; - if (self->on_reg_state == NULL) - { - Py_DECREF(Py_None); - return NULL; - } - Py_INCREF(Py_None); - self->on_buddy_state = Py_None; - if (self->on_buddy_state == NULL) - { - Py_DECREF(Py_None); - return NULL; - } - Py_INCREF(Py_None); - self->on_pager = Py_None; - if (self->on_pager == NULL) - { - Py_DECREF(Py_None); - return NULL; - } - Py_INCREF(Py_None); - self->on_pager_status = Py_None; - if (self->on_pager_status == NULL) - { - Py_DECREF(Py_None); - return NULL; - } - Py_INCREF(Py_None); - self->on_typing = Py_None; - if (self->on_typing == NULL) - { - Py_DECREF(Py_None); - return NULL; - } - } - - return (PyObject *)self; -} - - -/* - * PyObj_pjsua_callback_members - * declares available functions for callback object - */ -static PyMemberDef PyObj_pjsua_callback_members[] = -{ - { - "on_call_state", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_call_state), 0, - "Notify application when invite state has changed. Application may " - "then query the call info to get the detail call states." - }, - { - "on_incoming_call", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_incoming_call), 0, - "Notify application on incoming call." - }, - { - "on_call_media_state", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_call_media_state), 0, - "Notify application when media state in the call has changed. Normal " - "application would need to implement this callback, e.g. to connect " - "the call's media to sound device." - }, - { - "on_dtmf_digit", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_dtmf_digit), 0, - "Notify application upon receiving incoming DTMF digit." - }, - { - "on_call_transfer_request", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_call_transfer_request), 0, - "Notify application on call being transfered. " - "Application can decide to accept/reject transfer request " - "by setting the code (default is 200). When this callback " - "is not defined, the default behavior is to accept the " - "transfer." - }, - { - "on_call_transfer_status", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_call_transfer_status), 0, - "Notify application of the status of previously sent call " - "transfer request. Application can monitor the status of the " - "call transfer request, for example to decide whether to " - "terminate existing call." - }, - { - "on_call_replace_request", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_call_replace_request), 0, - "Notify application about incoming INVITE with Replaces header. " - "Application may reject the request by setting non-2xx code." - }, - { - "on_call_replaced", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_call_replaced), 0, - "Notify application that an existing call has been replaced with " - "a new call. This happens when PJSUA-API receives incoming INVITE " - "request with Replaces header." - " " - "After this callback is called, normally PJSUA-API will disconnect " - "old_call_id and establish new_call_id." - }, - { - "on_reg_state", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_reg_state), 0, - "Notify application when registration status has changed. Application " - "may then query the account info to get the registration details." - }, - { - "on_buddy_state", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_buddy_state), 0, - "Notify application when the buddy state has changed. Application may " - "then query the buddy into to get the details." - }, - { - "on_pager", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_pager), 0, - "Notify application on incoming pager (i.e. MESSAGE request). " - "Argument call_id will be -1 if MESSAGE request is not related to an " - "existing call." - }, - { - "on_pager_status", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_pager_status), 0, - "Notify application about the delivery status of outgoing pager " - "request." - }, - { - "on_typing", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_typing), 0, - "Notify application about typing indication." - }, - {NULL} /* Sentinel */ -}; - - -/* - * PyTyp_pjsua_callback - * callback class definition - */ -static PyTypeObject PyTyp_pjsua_callback = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Callback", /*tp_name*/ - sizeof(PyObj_pjsua_callback), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_callback_delete, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "This structure describes application callback " - "to receive various event notifications from " - "PJSUA-API", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsua_callback_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_callback_new, /* tp_new */ - -}; - - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsua_media_config - * C/Python wrapper for pjsua_media_config object - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - unsigned clock_rate; - unsigned max_media_ports; - int has_ioqueue; - unsigned thread_cnt; - unsigned quality; - unsigned ptime; - int no_vad; - unsigned ilbc_mode; - unsigned tx_drop_pct; - unsigned rx_drop_pct; - unsigned ec_options; - unsigned ec_tail_len; -} PyObj_pjsua_media_config; - - -/* - * PyObj_pjsua_media_config_members - * declares attributes accessible from both C and Python for media_config file - */ -static PyMemberDef PyObj_pjsua_media_config_members[] = -{ - { - "clock_rate", T_INT, - offsetof(PyObj_pjsua_media_config, clock_rate), 0, - "Clock rate to be applied to the conference bridge. If value is zero, " - "default clock rate will be used (16KHz)." - }, - { - "max_media_ports", T_INT, - offsetof(PyObj_pjsua_media_config, max_media_ports), 0, - "Specify maximum number of media ports to be created in the " - "conference bridge. Since all media terminate in the bridge (calls, " - "file player, file recorder, etc), the value must be large enough to " - "support all of them. However, the larger the value, the more " - "computations are performed." - }, - { - "has_ioqueue", T_INT, - offsetof(PyObj_pjsua_media_config, has_ioqueue), 0, - "Specify whether the media manager should manage its own ioqueue for " - "the RTP/RTCP sockets. If yes, ioqueue will be created and at least " - "one worker thread will be created too. If no, the RTP/RTCP sockets " - "will share the same ioqueue as SIP sockets, and no worker thread is " - "needed." - }, - { - "thread_cnt", T_INT, - offsetof(PyObj_pjsua_media_config, thread_cnt), 0, - "Specify the number of worker threads to handle incoming RTP packets. " - "A value of one is recommended for most applications." - }, - { - "quality", T_INT, - offsetof(PyObj_pjsua_media_config, quality), 0, - "The media quality also sets speex codec quality/complexity to the " - "number." - }, - { - "ptime", T_INT, - offsetof(PyObj_pjsua_media_config, ptime), 0, - "Specify default ptime." - }, - { - "no_vad", T_INT, - offsetof(PyObj_pjsua_media_config, no_vad), 0, - "Disable VAD?" - }, - { - "ilbc_mode", T_INT, - offsetof(PyObj_pjsua_media_config, ilbc_mode), 0, - "iLBC mode (20 or 30)." - }, - { - "tx_drop_pct", T_INT, - offsetof(PyObj_pjsua_media_config, tx_drop_pct), 0, - "Percentage of RTP packet to drop in TX direction (to simulate packet " - "lost)." - }, - { - "rx_drop_pct", T_INT, - offsetof(PyObj_pjsua_media_config, rx_drop_pct), 0, - "Percentage of RTP packet to drop in RX direction (to simulate packet " - "lost)."}, - { - "ec_options", T_INT, - offsetof(PyObj_pjsua_media_config, ec_options), 0, - "Echo canceller options (see pjmedia_echo_create())" - }, - { - "ec_tail_len", T_INT, - offsetof(PyObj_pjsua_media_config, ec_tail_len), 0, - "Echo canceller tail length, in miliseconds." - }, - {NULL} /* Sentinel */ -}; - - -/* - * PyTyp_pjsua_media_config - */ -static PyTypeObject PyTyp_pjsua_media_config = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Media_Config", /*tp_name*/ - sizeof(PyObj_pjsua_media_config),/*tp_basicsize*/ - 0, /*tp_itemsize*/ - 0, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Media Config objects", /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsua_media_config_members, /* tp_members */ - -}; - - -static void PyObj_pjsua_media_config_import(PyObj_pjsua_media_config *obj, - const pjsua_media_config *cfg) -{ - obj->clock_rate = cfg->clock_rate; - obj->max_media_ports = cfg->max_media_ports; - obj->has_ioqueue = cfg->has_ioqueue; - obj->thread_cnt = cfg->thread_cnt; - obj->quality = cfg->quality; - obj->ptime = cfg->ptime; - obj->no_vad = cfg->no_vad; - obj->ilbc_mode = cfg->ilbc_mode; - obj->tx_drop_pct = cfg->tx_drop_pct; - obj->rx_drop_pct = cfg->rx_drop_pct; - obj->ec_options = cfg->ec_options; - obj->ec_tail_len = cfg->ec_tail_len; -} - -static void PyObj_pjsua_media_config_export(pjsua_media_config *cfg, - const PyObj_pjsua_media_config *obj) -{ - cfg->clock_rate = obj->clock_rate; - cfg->max_media_ports = obj->max_media_ports; - cfg->has_ioqueue = obj->has_ioqueue; - cfg->thread_cnt = obj->thread_cnt; - cfg->quality = obj->quality; - cfg->ptime = obj->ptime; - cfg->no_vad = obj->no_vad; - cfg->ilbc_mode = obj->ilbc_mode; - cfg->tx_drop_pct = obj->tx_drop_pct; - cfg->rx_drop_pct = obj->rx_drop_pct; - cfg->ec_options = obj->ec_options; - cfg->ec_tail_len = obj->ec_tail_len; -} - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsua_config - * attribute list for config object - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - unsigned max_calls; - unsigned thread_cnt; - PyObject *outbound_proxy; - PyObject *stun_domain; - PyObject *stun_host; - PyObject *stun_relay_host; - PyObj_pjsua_callback *cb; - PyObject *user_agent; -} PyObj_pjsua_config; - - -static void PyObj_pjsua_config_delete(PyObj_pjsua_config* self) -{ - Py_XDECREF(self->outbound_proxy); - Py_XDECREF(self->stun_domain); - Py_XDECREF(self->stun_host); - Py_XDECREF(self->stun_relay_host); - Py_XDECREF(self->cb); - Py_XDECREF(self->user_agent); - self->ob_type->tp_free((PyObject*)self); -} - - -static void PyObj_pjsua_config_import(PyObj_pjsua_config *obj, - const pjsua_config *cfg) -{ - obj->max_calls = cfg->max_calls; - obj->thread_cnt = cfg->thread_cnt; - Py_XDECREF(obj->outbound_proxy); - obj->outbound_proxy = PyString_FromStringAndSize(cfg->outbound_proxy[0].ptr, - cfg->outbound_proxy[0].slen); - Py_XDECREF(obj->stun_domain); - obj->stun_domain = PyString_FromStringAndSize(cfg->stun_domain.ptr, - cfg->stun_domain.slen); - Py_XDECREF(obj->stun_host); - obj->stun_host = PyString_FromStringAndSize(cfg->stun_host.ptr, - cfg->stun_host.slen); - Py_XDECREF(obj->stun_relay_host); - obj->stun_relay_host= PyString_FromStringAndSize(cfg->stun_host.ptr, - cfg->stun_host.slen); - Py_XDECREF(obj->user_agent); - obj->user_agent = PyString_FromStringAndSize(cfg->user_agent.ptr, - cfg->user_agent.slen); -} - - -static void PyObj_pjsua_config_export(pjsua_config *cfg, - PyObj_pjsua_config *obj) -{ - cfg->max_calls = obj->max_calls; - cfg->thread_cnt = obj->thread_cnt; - if (PyString_Size(obj->outbound_proxy) > 0) { - cfg->outbound_proxy_cnt = 1; - cfg->outbound_proxy[0] = PyString_to_pj_str(obj->outbound_proxy); - } else { - cfg->outbound_proxy_cnt = 0; - } - cfg->stun_domain = PyString_to_pj_str(obj->stun_domain); - cfg->stun_host = PyString_to_pj_str(obj->stun_host); - //cfg->stun_relay_host= PyString_to_pj_str(obj->stun_host); - cfg->user_agent = PyString_to_pj_str(obj->user_agent); - -} - - -static PyObject *PyObj_pjsua_config_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_config *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_config *)type->tp_alloc(type, 0); - if (self != NULL) - { - self->user_agent = PyString_FromString(""); - if (self->user_agent == NULL) - { - Py_DECREF(self); - return NULL; - } - self->outbound_proxy = PyString_FromString(""); - if (self->outbound_proxy == NULL) - { - Py_DECREF(self); - return NULL; - } - self->cb = (PyObj_pjsua_callback *) - PyType_GenericNew(&PyTyp_pjsua_callback, NULL, NULL); - if (self->cb == NULL) - { - Py_DECREF(Py_None); - return NULL; - } - } - return (PyObject *)self; -} - - -/* - * PyObj_pjsua_config_members - * attribute list accessible from Python/C - */ -static PyMemberDef PyObj_pjsua_config_members[] = -{ - { - "max_calls", T_INT, - offsetof(PyObj_pjsua_config, max_calls), 0, - "Maximum calls to support (default: 4) " - }, - { - "thread_cnt", T_INT, - offsetof(PyObj_pjsua_config, thread_cnt), 0, - "Number of worker threads. Normally application will want to have at " - "least one worker thread, unless when it wants to poll the library " - "periodically, which in this case the worker thread can be set to " - "zero." - }, - { - "outbound_proxy", T_OBJECT_EX, - offsetof(PyObj_pjsua_config, outbound_proxy), 0, - "SIP URL of the outbound proxy (optional)" - }, - { - "stun_domain", T_OBJECT_EX, - offsetof(PyObj_pjsua_config, stun_domain), 0, - "Domain of the STUN server (optional). STUN server will be resolved " - "using DNS SRV resolution only when nameserver is configured. " - "Alternatively, if DNS SRV resolution for STUN is not desired, " - "application can specify the STUN server hostname or IP address " - "in stun_host attribute." - }, - { - "stun_host", T_OBJECT_EX, - offsetof(PyObj_pjsua_config, stun_host), 0, - "Hostname or IP address of the STUN server (optional)." - }, - { - "stun_relay_host", T_OBJECT_EX, - offsetof(PyObj_pjsua_config, stun_relay_host), 0, - "Hostname or IP address of the TURN server (optional)." - }, - { - "cb", T_OBJECT_EX, offsetof(PyObj_pjsua_config, cb), 0, - "Application callback." - }, - { - "user_agent", T_OBJECT_EX, offsetof(PyObj_pjsua_config, user_agent), 0, - "User agent string (default empty)" - }, - {NULL} /* Sentinel */ -}; - - -/* - * PyTyp_pjsua_config - * type wrapper for config class - */ -static PyTypeObject PyTyp_pjsua_config = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Config", /*tp_name*/ - sizeof(PyObj_pjsua_config),/*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_config_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Config object", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsua_config_members,/* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_config_new, /* tp_new */ - -}; - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsua_logging_config - * configuration class for logging_config object - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - int msg_logging; - unsigned level; - unsigned console_level; - unsigned decor; - PyObject *log_filename; - PyObject *cb; -} PyObj_pjsua_logging_config; - - -/* - * PyObj_pjsua_logging_config_delete - * deletes a logging config from memory - */ -static void PyObj_pjsua_logging_config_delete(PyObj_pjsua_logging_config* self) -{ - Py_XDECREF(self->log_filename); - Py_XDECREF(self->cb); - self->ob_type->tp_free((PyObject*)self); -} - - -static void PyObj_pjsua_logging_config_import(PyObj_pjsua_logging_config *obj, - const pjsua_logging_config *cfg) -{ - obj->msg_logging = cfg->msg_logging; - obj->level = cfg->level; - obj->console_level = cfg->console_level; - obj->decor = cfg->decor; -} - -static void PyObj_pjsua_logging_config_export(pjsua_logging_config *cfg, - PyObj_pjsua_logging_config *obj) -{ - cfg->msg_logging = obj->msg_logging; - cfg->level = obj->level; - cfg->console_level = obj->console_level; - cfg->decor = obj->decor; - cfg->log_filename = PyString_to_pj_str(obj->log_filename); -} - - -/* - * PyObj_pjsua_logging_config_new - * constructor for logging_config object - */ -static PyObject * PyObj_pjsua_logging_config_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_logging_config *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_logging_config *)type->tp_alloc(type, 0); - if (self != NULL) - { - self->log_filename = PyString_FromString(""); - if (self->log_filename == NULL) - { - Py_DECREF(self); - return NULL; - } - Py_INCREF(Py_None); - self->cb = Py_None; - if (self->cb == NULL) - { - Py_DECREF(Py_None); - return NULL; - } - } - - return (PyObject *)self; -} - - -/* - * PyObj_pjsua_logging_config_members - */ -static PyMemberDef PyObj_pjsua_logging_config_members[] = -{ - { - "msg_logging", T_INT, - offsetof(PyObj_pjsua_logging_config, msg_logging), 0, - "Log incoming and outgoing SIP message? Yes!" - }, - { - "level", T_INT, - offsetof(PyObj_pjsua_logging_config, level), 0, - "Input verbosity level. Value 5 is reasonable." - }, - { - "console_level", T_INT, - offsetof(PyObj_pjsua_logging_config, console_level), - 0, "Verbosity level for console. Value 4 is reasonable." - }, - { - "decor", T_INT, - offsetof(PyObj_pjsua_logging_config, decor), 0, - "Log decoration" - }, - { - "log_filename", T_OBJECT_EX, - offsetof(PyObj_pjsua_logging_config, log_filename), 0, - "Optional log filename" - }, - { - "cb", T_OBJECT_EX, - offsetof(PyObj_pjsua_logging_config, cb), 0, - "Optional callback function to be called to write log to application " - "specific device. This function will be called forlog messages on " - "input verbosity level." - }, - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjsua_logging_config - */ -static PyTypeObject PyTyp_pjsua_logging_config = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Logging_Config", /*tp_name*/ - sizeof(PyObj_pjsua_logging_config), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_logging_config_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Logging Config objects", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsua_logging_config_members,/* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_logging_config_new, /* tp_new */ - -}; - - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsua_msg_data - * typewrapper for MessageData class - * !modified @ 061206 - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - PyObject * hdr_list; - PyObject * content_type; - PyObject * msg_body; -} PyObj_pjsua_msg_data; - - -/* - * PyObj_pjsua_msg_data_delete - * deletes a msg_data - * !modified @ 061206 - */ -static void PyObj_pjsua_msg_data_delete(PyObj_pjsua_msg_data* self) -{ - Py_XDECREF(self->hdr_list); - Py_XDECREF(self->content_type); - Py_XDECREF(self->msg_body); - self->ob_type->tp_free((PyObject*)self); -} - - -/* - * PyObj_pjsua_msg_data_new - * constructor for msg_data object - * !modified @ 061206 - */ -static PyObject * PyObj_pjsua_msg_data_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_msg_data *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_msg_data *)type->tp_alloc(type, 0); - if (self != NULL) - { - Py_INCREF(Py_None); - self->hdr_list = Py_None; - if (self->hdr_list == NULL) { - Py_DECREF(self); - return NULL; - } - self->content_type = PyString_FromString(""); - if (self->content_type == NULL) { - Py_DECREF(self); - return NULL; - } - self->msg_body = PyString_FromString(""); - if (self->msg_body == NULL) { - Py_DECREF(self); - return NULL; - } - } - - return (PyObject *)self; -} - - -/* - * PyObj_pjsua_msg_data_members - * !modified @ 061206 - */ -static PyMemberDef PyObj_pjsua_msg_data_members[] = -{ - { - "hdr_list", T_OBJECT_EX, - offsetof(PyObj_pjsua_msg_data, hdr_list), 0, - "Additional message headers as linked list of strings." - }, - { - "content_type", T_OBJECT_EX, - offsetof(PyObj_pjsua_msg_data, content_type), 0, - "MIME type of optional message body." - }, - { - "msg_body", T_OBJECT_EX, - offsetof(PyObj_pjsua_msg_data, msg_body), 0, - "Optional message body." - }, - {NULL} /* Sentinel */ -}; - - -/* - * PyTyp_pjsua_msg_data - */ -static PyTypeObject PyTyp_pjsua_msg_data = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Msg_Data", /*tp_name*/ - sizeof(PyObj_pjsua_msg_data), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_msg_data_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "msg_data objects", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsua_msg_data_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_msg_data_new, /* tp_new */ - -}; - - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsua_transport_config - * Transport configuration for creating UDP transports for both SIP - * and media. - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - unsigned port; - PyObject *public_addr; - PyObject *bound_addr; -} PyObj_pjsua_transport_config; - - -/* - * PyObj_pjsua_transport_config_delete - * deletes a transport config from memory - */ -static void PyObj_pjsua_transport_config_delete(PyObj_pjsua_transport_config* self) -{ - Py_XDECREF(self->public_addr); - Py_XDECREF(self->bound_addr); - self->ob_type->tp_free((PyObject*)self); -} - - -static void PyObj_pjsua_transport_config_export(pjsua_transport_config *cfg, - PyObj_pjsua_transport_config *obj) -{ - cfg->public_addr = PyString_to_pj_str(obj->public_addr); - cfg->bound_addr = PyString_to_pj_str(obj->bound_addr); - cfg->port = obj->port; - -} - -static void PyObj_pjsua_transport_config_import(PyObj_pjsua_transport_config *obj, - const pjsua_transport_config *cfg) -{ - Py_XDECREF(obj->public_addr); - obj->public_addr = PyString_FromStringAndSize(cfg->public_addr.ptr, - cfg->public_addr.slen); - - Py_XDECREF(obj->bound_addr); - obj->bound_addr = PyString_FromStringAndSize(cfg->bound_addr.ptr, - cfg->bound_addr.slen); - - obj->port = cfg->port; -} - - -/* - * PyObj_pjsua_transport_config_new - * constructor for transport_config object - */ -static PyObject * PyObj_pjsua_transport_config_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_transport_config *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_transport_config *)type->tp_alloc(type, 0); - if (self != NULL) { - self->public_addr = PyString_FromString(""); - if (self->public_addr == NULL) { - Py_DECREF(self); - return NULL; - } - self->bound_addr = PyString_FromString(""); - if (self->bound_addr == NULL) { - Py_DECREF(self); - return NULL; - } - } - - return (PyObject *)self; -} - - -/* - * PyObj_pjsua_transport_config_members - */ -static PyMemberDef PyObj_pjsua_transport_config_members[] = -{ - { - "port", T_INT, - offsetof(PyObj_pjsua_transport_config, port), 0, - "UDP port number to bind locally. This setting MUST be specified " - "even when default port is desired. If the value is zero, the " - "transport will be bound to any available port, and application " - "can query the port by querying the transport info." - }, - { - "public_addr", T_OBJECT_EX, - offsetof(PyObj_pjsua_transport_config, public_addr), 0, - "Optional address to advertise as the address of this transport. " - "Application can specify any address or hostname for this field, " - "for example it can point to one of the interface address in the " - "system, or it can point to the public address of a NAT router " - "where port mappings have been configured for the application." - }, - { - "bound_addr", T_OBJECT_EX, - offsetof(PyObj_pjsua_transport_config, bound_addr), 0, - "Optional address where the socket should be bound to. This option " - "SHOULD only be used to selectively bind the socket to particular " - "interface (instead of 0.0.0.0), and SHOULD NOT be used to set the " - "published address of a transport (the public_addr field should be " - "used for that purpose)." - }, - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjsua_transport_config - */ -static PyTypeObject PyTyp_pjsua_transport_config = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Transport_Config", /*tp_name*/ - sizeof(PyObj_pjsua_transport_config), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_transport_config_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Transport setting", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsua_transport_config_members,/* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_transport_config_new,/* tp_new */ -}; - - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsua_transport_info - * Transport info - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - int id; - int type; - PyObject *type_name; - PyObject *info; - unsigned flag; - PyObject *addr; - unsigned port; - unsigned usage_count; -} PyObj_pjsua_transport_info; - - -/* - * PyObj_pjsua_transport_info_delete - * deletes a transport info from memory - */ -static void PyObj_pjsua_transport_info_delete(PyObj_pjsua_transport_info* self) -{ - Py_XDECREF(self->type_name); - Py_XDECREF(self->info); - Py_XDECREF(self->addr); - self->ob_type->tp_free((PyObject*)self); -} - - -static void PyObj_pjsua_transport_info_import(PyObj_pjsua_transport_info *obj, - const pjsua_transport_info *info) -{ - obj->id = info->id; - obj->type = info->type; - obj->type_name = PyString_FromStringAndSize(info->type_name.ptr, - info->type_name.slen); - obj->info = PyString_FromStringAndSize(info->info.ptr, - info->info.slen); - obj->flag = info->flag; - obj->addr = PyString_FromStringAndSize(info->local_name.host.ptr, - info->local_name.host.slen); - obj->port = info->local_name.port; - obj->usage_count= info->usage_count; -} - -/* - * PyObj_pjsua_transport_info_new - * constructor for transport_info object - */ -static PyObject * PyObj_pjsua_transport_info_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_transport_info *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_transport_info *)type->tp_alloc(type, 0); - if (self != NULL) - { - self->type_name = PyString_FromString(""); - if (self->type_name == NULL) { - Py_DECREF(self); - return NULL; - } - self->info = PyString_FromString(""); - if (self->info == NULL) { - Py_DECREF(self); - return NULL; - } - self->addr = PyString_FromString(""); - if (self->addr == NULL) { - Py_DECREF(self); - return NULL; - } - } - - return (PyObject *)self; -} - - -/* - * PyObj_pjsua_transport_info_members - */ -static PyMemberDef PyObj_pjsua_transport_info_members[] = -{ - { - "id", T_INT, - offsetof(PyObj_pjsua_transport_info, id), 0, - "PJSUA transport identification." - }, - { - "type", T_INT, - offsetof(PyObj_pjsua_transport_info, id), 0, - "Transport type." - }, - { - "type_name", T_OBJECT_EX, - offsetof(PyObj_pjsua_transport_info, type_name), 0, - "Transport type name." - }, - { - "info", T_OBJECT_EX, - offsetof(PyObj_pjsua_transport_info, info), 0, - "Transport string info/description." - }, - { - "flag", T_INT, - offsetof(PyObj_pjsua_transport_info, flag), 0, - "Transport flag (see ##pjsip_transport_flags_e)." - }, - { - "addr", T_OBJECT_EX, - offsetof(PyObj_pjsua_transport_info, addr), 0, - "Published address (or transport address name)." - }, - { - "port", T_INT, - offsetof(PyObj_pjsua_transport_info, port), 0, - "Published port number." - }, - { - "usage_count", T_INT, - offsetof(PyObj_pjsua_transport_info, usage_count), 0, - "Current number of objects currently referencing this transport." - }, - {NULL} /* Sentinel */ -}; - - -/* - * PyTyp_pjsua_transport_info - */ -static PyTypeObject PyTyp_pjsua_transport_info = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Transport_Info", /*tp_name*/ - sizeof(PyObj_pjsua_transport_info), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_transport_info_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Transport Info objects", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsua_transport_info_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_transport_info_new, /* tp_new */ - -}; - - -////////////////////////////////////////////////////////////////////////////// - -/* - * PyObj_pjsua_acc_config - * Acc Config - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - int priority; - PyObject *id; - PyObject *reg_uri; - int publish_enabled; - PyObject *force_contact; - /*pj_str_t proxy[8];*/ - PyListObject *proxy; - unsigned reg_timeout; - /*pjsip_cred_info cred_info[8];*/ - PyListObject *cred_info; - int transport_id; -} PyObj_pjsua_acc_config; - - -/* - * PyObj_pjsua_acc_config_delete - * deletes a acc_config from memory - */ -static void PyObj_pjsua_acc_config_delete(PyObj_pjsua_acc_config* self) -{ - Py_XDECREF(self->id); - Py_XDECREF(self->reg_uri); - Py_XDECREF(self->force_contact); - Py_XDECREF(self->proxy); - Py_XDECREF(self->cred_info); - self->ob_type->tp_free((PyObject*)self); -} - - -static void PyObj_pjsua_acc_config_import(PyObj_pjsua_acc_config *obj, - const pjsua_acc_config *cfg) -{ - unsigned i; - - obj->priority = cfg->priority; - Py_XDECREF(obj->id); - obj->id = PyString_FromStringAndSize(cfg->id.ptr, cfg->id.slen); - Py_XDECREF(obj->reg_uri); - obj->reg_uri = PyString_FromStringAndSize(cfg->reg_uri.ptr, - cfg->reg_uri.slen); - obj->publish_enabled = cfg->publish_enabled; - Py_XDECREF(obj->force_contact); - obj->force_contact = PyString_FromStringAndSize(cfg->force_contact.ptr, - cfg->force_contact.slen); - Py_XDECREF(obj->proxy); - obj->proxy = (PyListObject *)PyList_New(0); - for (i=0; iproxy_cnt; ++i) { - PyObject * str; - str = PyString_FromStringAndSize(cfg->proxy[i].ptr, - cfg->proxy[i].slen); - PyList_Append((PyObject *)obj->proxy, str); - } - - obj->reg_timeout = cfg->reg_timeout; - - Py_XDECREF(obj->cred_info); - obj->cred_info = (PyListObject *)PyList_New(0); - for (i=0; icred_count; ++i) { - PyObj_pjsip_cred_info * ci; - - ci = (PyObj_pjsip_cred_info *) - PyObj_pjsip_cred_info_new(&PyTyp_pjsip_cred_info,NULL,NULL); - PyObj_pjsip_cred_info_import(ci, &cfg->cred_info[i]); - PyList_Append((PyObject *)obj->cred_info, (PyObject *)ci); - } - - obj->transport_id = cfg->transport_id; -} - -static void PyObj_pjsua_acc_config_export(pjsua_acc_config *cfg, - PyObj_pjsua_acc_config *obj) -{ - unsigned i; - - cfg->priority = obj->priority; - cfg->id = PyString_to_pj_str(obj->id); - cfg->reg_uri = PyString_to_pj_str(obj->reg_uri); - cfg->publish_enabled = obj->publish_enabled; - cfg->force_contact = PyString_to_pj_str(obj->force_contact); - - cfg->proxy_cnt = PyList_Size((PyObject*)obj->proxy); - for (i = 0; i < cfg->proxy_cnt; i++) { - /*cfg.proxy[i] = ac->proxy[i];*/ - cfg->proxy[i] = PyString_to_pj_str(PyList_GetItem((PyObject *)obj->proxy,i)); - } - - cfg->reg_timeout = obj->reg_timeout; - - cfg->cred_count = PyList_Size((PyObject*)obj->cred_info); - for (i = 0; i < cfg->cred_count; i++) { - /*cfg.cred_info[i] = ac->cred_info[i];*/ - PyObj_pjsip_cred_info *ci; - ci = (PyObj_pjsip_cred_info*) - PyList_GetItem((PyObject *)obj->cred_info,i); - PyObj_pjsip_cred_info_export(&cfg->cred_info[i], ci); - } - - cfg->transport_id = obj->transport_id; -} - - -/* - * PyObj_pjsua_acc_config_new - * constructor for acc_config object - */ -static PyObject * PyObj_pjsua_acc_config_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_acc_config *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_acc_config *)type->tp_alloc(type, 0); - if (self != NULL) { - self->id = PyString_FromString(""); - if (self->id == NULL) { - Py_DECREF(self); - return NULL; - } - self->reg_uri = PyString_FromString(""); - if (self->reg_uri == NULL) { - Py_DECREF(self); - return NULL; - } - self->force_contact = PyString_FromString(""); - if (self->force_contact == NULL) { - Py_DECREF(self); - return NULL; - } - self->proxy = (PyListObject *)PyList_New(0); - if (self->proxy == NULL) { - Py_DECREF(self); - return NULL; - } - self->cred_info = (PyListObject *)PyList_New(0); - if (self->cred_info == NULL) { - Py_DECREF(self); - return NULL; - } - } - - return (PyObject *)self; -} - - - -/* - * PyObj_pjsua_acc_config_members - */ -static PyMemberDef PyObj_pjsua_acc_config_members[] = -{ - { - "priority", T_INT, offsetof(PyObj_pjsua_acc_config, priority), 0, - "Account priority, which is used to control the order of matching " - "incoming/outgoing requests. The higher the number means the higher " - "the priority is, and the account will be matched first. " - }, - { - "id", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_config, id), 0, - "The full SIP URL for the account. " - "The value can take name address or URL format, " - "and will look something like 'sip:account@serviceprovider'. " - "This field is mandatory." - }, - { - "reg_uri", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_config, reg_uri), 0, - "This is the URL to be put in the request URI for the registration, " - "and will look something like 'sip:serviceprovider'. " - "This field should be specified if registration is desired. " - "If the value is empty, no account registration will be performed. " - }, - { - "publish_enabled", T_INT, - offsetof(PyObj_pjsua_acc_config, publish_enabled), 0, - "Publish presence? " - }, - { - "force_contact", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_config, force_contact), 0, - "Optional URI to be put as Contact for this account. " - "It is recommended that this field is left empty, " - "so that the value will be calculated automatically " - "based on the transport address. " - }, - { - "proxy", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_config, proxy), 0, - "Optional URI of the proxies to be visited for all outgoing requests " - "that are using this account (REGISTER, INVITE, etc). Application need " - "to specify these proxies if the service provider requires " - "that requests destined towards its network should go through certain " - "proxies first (for example, border controllers)." - }, - { - "reg_timeout", T_INT, offsetof(PyObj_pjsua_acc_config, reg_timeout), 0, - "Optional interval for registration, in seconds. " - "If the value is zero, default interval will be used " - "(PJSUA_REG_INTERVAL, 55 seconds). " - }, - { - "cred_info", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_config, cred_info), 0, - "Array of credentials. If registration is desired, normally there " - "should be at least one credential specified, to successfully " - "authenticate against the service provider. More credentials can " - "be specified, for example when the requests are expected to be " - "challenged by the proxies in the route set." - }, - { - "transport_id", T_INT, - offsetof(PyObj_pjsua_acc_config, transport_id), 0, - "Optionally bind this account to specific transport. This normally is" - " not a good idea, as account should be able to send requests using" - " any available transports according to the destination. But some" - " application may want to have explicit control over the transport to" - " use, so in that case it can set this field." - }, - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjsua_acc_config - */ -static PyTypeObject PyTyp_pjsua_acc_config = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Acc_Config", /*tp_name*/ - sizeof(PyObj_pjsua_acc_config), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_acc_config_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Acc Config objects", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0/*acc_config_methods*/, /* tp_methods */ - PyObj_pjsua_acc_config_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_acc_config_new, /* tp_new */ - -}; - - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsua_acc_info - * Acc Info - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - int id; - int is_default; - PyObject *acc_uri; - int has_registration; - int expires; - int status; - PyObject *status_text; - int online_status; - PyObject *online_status_text; -} PyObj_pjsua_acc_info; - - -/* - * PyObj_pjsua_acc_info_delete - * deletes a acc_info from memory - */ -static void PyObj_pjsua_acc_info_delete(PyObj_pjsua_acc_info* self) -{ - Py_XDECREF(self->acc_uri); - Py_XDECREF(self->status_text); - Py_XDECREF(self->online_status_text); - self->ob_type->tp_free((PyObject*)self); -} - - -static void PyObj_pjsua_acc_info_import(PyObj_pjsua_acc_info *obj, - const pjsua_acc_info *info) -{ - obj->id = info->id; - obj->is_default = info->is_default; - obj->acc_uri = PyString_FromStringAndSize(info->acc_uri.ptr, - info->acc_uri.slen); - obj->has_registration = info->has_registration; - obj->expires = info->expires; - obj->status = info->status; - obj->status_text= PyString_FromStringAndSize(info->status_text.ptr, - info->status_text.slen); - obj->online_status = info->online_status; - obj->online_status_text = PyString_FromStringAndSize(info->online_status_text.ptr, - info->online_status_text.slen); -} - - -/* - * PyObj_pjsua_acc_info_new - * constructor for acc_info object - */ -static PyObject * PyObj_pjsua_acc_info_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_acc_info *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_acc_info *)type->tp_alloc(type, 0); - if (self != NULL) { - self->acc_uri = PyString_FromString(""); - if (self->acc_uri == NULL) { - Py_DECREF(self); - return NULL; - } - self->status_text = PyString_FromString(""); - if (self->status_text == NULL) { - Py_DECREF(self); - return NULL; - } - self->online_status_text = PyString_FromString(""); - if (self->online_status_text == NULL) { - Py_DECREF(self); - return NULL; - } - } - - return (PyObject *)self; -} - -/* - * acc_info_members - */ -static PyMemberDef acc_info_members[] = -{ - { - "id", T_INT, - offsetof(PyObj_pjsua_acc_info, id), 0, - "The account ID." - }, - { - "is_default", T_INT, - offsetof(PyObj_pjsua_acc_info, is_default), 0, - "Flag to indicate whether this is the default account. " - }, - { - "acc_uri", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_info, acc_uri), 0, - "Account URI" - }, - { - "has_registration", T_INT, - offsetof(PyObj_pjsua_acc_info, has_registration), 0, - "Flag to tell whether this account has registration setting " - "(reg_uri is not empty)." - }, - { - "expires", T_INT, - offsetof(PyObj_pjsua_acc_info, expires), 0, - "An up to date expiration interval for account registration session." - }, - { - "status", T_INT, - offsetof(PyObj_pjsua_acc_info, status), 0, - "Last registration status code. If status code is zero, " - "the account is currently not registered. Any other value indicates " - "the SIP status code of the registration. " - }, - { - "status_text", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_info, status_text), 0, - "String describing the registration status." - }, - { - "online_status", T_INT, - offsetof(PyObj_pjsua_acc_info, online_status), 0, - "Presence online status for this account. " - }, - { - "online_status_text", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_info, online_status_text), 0, - "Presence online status text." - }, - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjsua_acc_info - */ -static PyTypeObject PyTyp_pjsua_acc_info = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Acc_Info", /*tp_name*/ - sizeof(PyObj_pjsua_acc_info), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_acc_info_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Acc Info objects", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - NULL, /* tp_methods */ - acc_info_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_acc_info_new, /* tp_new */ - -}; - - -////////////////////////////////////////////////////////////////////////////// - -/* - * PyObj_pjsua_buddy_config - * Buddy Config - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - PyObject *uri; - int subscribe; -} PyObj_pjsua_buddy_config; - - -/* - * PyObj_pjsua_buddy_config_delete - * deletes a buddy_config from memory - */ -static void PyObj_pjsua_buddy_config_delete(PyObj_pjsua_buddy_config* self) -{ - Py_XDECREF(self->uri); - self->ob_type->tp_free((PyObject*)self); -} - - -static void PyObj_pjsua_buddy_config_import(PyObj_pjsua_buddy_config *obj, - const pjsua_buddy_config *cfg) -{ - Py_XDECREF(obj->uri); - obj->uri = PyString_FromStringAndSize(cfg->uri.ptr, cfg->uri.slen); - obj->subscribe = cfg->subscribe; -} - - -static void PyObj_pjsua_buddy_config_export(pjsua_buddy_config *cfg, - PyObj_pjsua_buddy_config *obj) -{ - cfg->uri = PyString_to_pj_str(obj->uri); - cfg->subscribe = obj->subscribe; -} - - - -/* - * PyObj_pjsua_buddy_config_new - * constructor for buddy_config object - */ -static PyObject *PyObj_pjsua_buddy_config_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_buddy_config *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_buddy_config *)type->tp_alloc(type, 0); - if (self != NULL) { - self->uri = PyString_FromString(""); - if (self->uri == NULL) { - Py_DECREF(self); - return NULL; - } - } - return (PyObject *)self; -} - -/* - * PyObj_pjsua_buddy_config_members - */ -static PyMemberDef PyObj_pjsua_buddy_config_members[] = -{ - - { - "uri", T_OBJECT_EX, - offsetof(PyObj_pjsua_buddy_config, uri), 0, - "TBuddy URL or name address." - }, - - { - "subscribe", T_INT, - offsetof(PyObj_pjsua_buddy_config, subscribe), 0, - "Specify whether presence subscription should start immediately. " - }, - - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjsua_buddy_config - */ -static PyTypeObject PyTyp_pjsua_buddy_config = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Buddy_Config", /*tp_name*/ - sizeof(PyObj_pjsua_buddy_config),/*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_buddy_config_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Buddy Config objects", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsua_buddy_config_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_buddy_config_new, /* tp_new */ - -}; - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsua_buddy_info - * Buddy Info - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - int id; - PyObject *uri; - PyObject *contact; - int status; - PyObject *status_text; - int monitor_pres; -} PyObj_pjsua_buddy_info; - - -/* - * PyObj_pjsua_buddy_info_delete - * deletes a buddy_info from memory - * !modified @ 071206 - */ -static void PyObj_pjsua_buddy_info_delete(PyObj_pjsua_buddy_info* self) -{ - Py_XDECREF(self->uri); - Py_XDECREF(self->contact); - Py_XDECREF(self->status_text); - - self->ob_type->tp_free((PyObject*)self); -} - - -static void PyObj_pjsua_buddy_info_import(PyObj_pjsua_buddy_info *obj, - const pjsua_buddy_info *info) -{ - obj->id = info->id; - Py_XDECREF(obj->uri); - obj->uri = PyString_FromStringAndSize(info->uri.ptr, info->uri.slen); - Py_XDECREF(obj->contact); - obj->contact = PyString_FromStringAndSize(info->contact.ptr, info->contact.slen); - obj->status = info->status; - Py_XDECREF(obj->status_text); - obj->status_text = PyString_FromStringAndSize(info->status_text.ptr, - info->status_text.slen); - obj->monitor_pres = info->monitor_pres; -} - - -/* - * PyObj_pjsua_buddy_info_new - * constructor for buddy_info object - * !modified @ 071206 - */ -static PyObject * PyObj_pjsua_buddy_info_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_buddy_info *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_buddy_info *)type->tp_alloc(type, 0); - if (self != NULL) { - self->uri = PyString_FromString(""); - if (self->uri == NULL) { - Py_DECREF(self); - return NULL; - } - self->contact = PyString_FromString(""); - if (self->contact == NULL) { - Py_DECREF(self); - return NULL; - } - self->status_text = PyString_FromString(""); - if (self->status_text == NULL) { - Py_DECREF(self); - return NULL; - } - - } - return (PyObject *)self; -} - -/* - * PyObj_pjsua_buddy_info_members - * !modified @ 071206 - */ -static PyMemberDef PyObj_pjsua_buddy_info_members[] = -{ - { - "id", T_INT, - offsetof(PyObj_pjsua_buddy_info, id), 0, - "The buddy ID." - }, - { - "uri", T_OBJECT_EX, - offsetof(PyObj_pjsua_buddy_info, uri), 0, - "The full URI of the buddy, as specified in the configuration. " - }, - { - "contact", T_OBJECT_EX, - offsetof(PyObj_pjsua_buddy_info, contact), 0, - "Buddy's Contact, only available when presence subscription " - "has been established to the buddy." - }, - { - "status", T_INT, - offsetof(PyObj_pjsua_buddy_info, status), 0, - "Buddy's online status. " - }, - { - "status_text", T_OBJECT_EX, - offsetof(PyObj_pjsua_buddy_info, status_text), 0, - "Text to describe buddy's online status." - }, - { - "monitor_pres", T_INT, - offsetof(PyObj_pjsua_buddy_info, monitor_pres), 0, - "Flag to indicate that we should monitor the presence information " - "for this buddy (normally yes, unless explicitly disabled). " - }, - - - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjsua_buddy_info - */ -static PyTypeObject PyTyp_pjsua_buddy_info = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "py_pjsua.Buddy_Info", /*tp_name*/ - sizeof(PyObj_pjsua_buddy_info), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_buddy_info_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Buddy Info objects", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsua_buddy_info_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_buddy_info_new, /* tp_new */ - -}; - - - - - -#endif /* __PY_PJSUA_H__ */ - diff --git a/res/pjproject/pjsip-apps/src/py_pjsua/setup.py b/res/pjproject/pjsip-apps/src/py_pjsua/setup.py deleted file mode 100644 index 2db59c2e34..0000000000 --- a/res/pjproject/pjsip-apps/src/py_pjsua/setup.py +++ /dev/null @@ -1,44 +0,0 @@ -from distutils.core import setup, Extension -import os -import sys - -# Fill in pj_inc_dirs -pj_inc_dirs = [] -f = os.popen("make -f helper.mak inc_dir") -for line in f: - pj_inc_dirs.append(line.rstrip("\r\n")) -f.close() - -# Fill in pj_lib_dirs -pj_lib_dirs = [] -f = os.popen("make -f helper.mak lib_dir") -for line in f: - pj_lib_dirs.append(line.rstrip("\r\n")) -f.close() - -# Fill in pj_libs -pj_libs = [] -f = os.popen("make -f helper.mak libs") -for line in f: - pj_libs.append(line.rstrip("\r\n")) -f.close() - -# Mac OS X depedencies -if sys.platform == 'darwin': - extra_link_args = ["-framework", "CoreFoundation", - "-framework", "AudioToolbox"] -else: - extra_link_args = [] - - -setup(name="py_pjsua", version="0.8", - ext_modules = [ - Extension("py_pjsua", - ["py_pjsua.c"], - define_macros=[('PJ_AUTOCONF', '1'),], - include_dirs=pj_inc_dirs, - library_dirs=pj_lib_dirs, - libraries=pj_libs, - extra_link_args=extra_link_args), - ]) - diff --git a/res/pjproject/pjsip-apps/src/python/Makefile b/res/pjproject/pjsip-apps/src/python/Makefile deleted file mode 100644 index 19a7e814ed..0000000000 --- a/res/pjproject/pjsip-apps/src/python/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -all: - python setup.py build - -clean distclean realclean: - python setup.py clean - rm -rf ./build - -install: - python setup.py $@ - -dep doc: - diff --git a/res/pjproject/pjsip-apps/src/python/_pjsua.c b/res/pjproject/pjsip-apps/src/python/_pjsua.c deleted file mode 100644 index bb5d91f1c5..0000000000 --- a/res/pjproject/pjsip-apps/src/python/_pjsua.c +++ /dev/null @@ -1,4605 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "_pjsua.h" - -#define THIS_FILE "main.c" -#define POOL_SIZE 512 -#define SND_DEV_NUM 64 -#define SND_NAME_LEN 64 - -/* LIB BASE */ - -static PyObject* g_obj_log_cb; -static long g_thread_id; -static struct py_thread_desc -{ - struct py_thread_desc *next; - pj_thread_desc desc; -} *py_thread_desc; - -/* - * The global callback object. - */ -static PyObj_pjsua_callback * g_obj_callback; - -/* Set this to 1 if all threads are created by Python */ -#define NO_PJSIP_THREAD 1 - -#if NO_PJSIP_THREAD -# define ENTER_PYTHON() -# define LEAVE_PYTHON() -#else -# define ENTER_PYTHON() PyGILState_STATE state = PyGILState_Ensure() -# define LEAVE_PYTHON() PyGILState_Release(state) -#endif - - -static void clear_py_thread_desc(void) -{ - while (py_thread_desc) { - struct py_thread_desc *next = py_thread_desc->next; - free(py_thread_desc); - py_thread_desc = next; - } -} - - -/* - * cb_log_cb - * declares method for reconfiguring logging process for callback struct - */ -static void cb_log_cb(int level, const char *data, int len) -{ - - /* Ignore if this callback is called from alien thread context, - * or otherwise it will crash Python. - */ - if (pj_thread_local_get(g_thread_id) == 0) - return; - - if (PyCallable_Check(g_obj_log_cb)) { - PyObject *param_data; - - ENTER_PYTHON(); - - param_data = PyString_FromStringAndSize(data, len); - - PyObject_CallFunction( - g_obj_log_cb, - "iOi", - level, - param_data, - len, - NULL - ); - - Py_DECREF(param_data); - - LEAVE_PYTHON(); - } -} - -/* - * cb_on_call_state - * declares method on_call_state for callback struct - */ -static void cb_on_call_state(pjsua_call_id call_id, pjsip_event *e) -{ - PJ_UNUSED_ARG(e); - - if (PyCallable_Check(g_obj_callback->on_call_state)) { - PyObject * obj; - - ENTER_PYTHON(); - - obj = Py_BuildValue(""); - - PyObject_CallFunction( - g_obj_callback->on_call_state, - "iO", - call_id, - obj, - NULL - ); - - Py_DECREF(obj); - - LEAVE_PYTHON(); - } -} - - -/* - * cb_on_incoming_call - * declares method on_incoming_call for callback struct - */ -static void cb_on_incoming_call(pjsua_acc_id acc_id, pjsua_call_id call_id, - pjsip_rx_data *rdata) -{ - PJ_UNUSED_ARG(rdata); - - if (PyCallable_Check(g_obj_callback->on_incoming_call)) { - PyObject *obj; - - ENTER_PYTHON(); - - obj = Py_BuildValue(""); - - PyObject_CallFunction( - g_obj_callback->on_incoming_call, - "iiO", - acc_id, - call_id, - obj, - NULL - ); - - Py_DECREF(obj); - - LEAVE_PYTHON(); - } -} - - -/* - * cb_on_call_media_state - * declares method on_call_media_state for callback struct - */ -static void cb_on_call_media_state(pjsua_call_id call_id) -{ - if (PyCallable_Check(g_obj_callback->on_call_media_state)) { - - ENTER_PYTHON(); - - PyObject_CallFunction( - g_obj_callback->on_call_media_state, - "i", - call_id, - NULL - ); - - LEAVE_PYTHON(); - } -} - - -/* - * cb_on_dtmf_digit() - * Callback from PJSUA-LIB on receiving DTMF digit - */ -static void cb_on_dtmf_digit(pjsua_call_id call_id, int digit) -{ - if (PyCallable_Check(g_obj_callback->on_dtmf_digit)) { - char digit_str[10]; - - PyGILState_STATE state = PyGILState_Ensure(); - - pj_ansi_snprintf(digit_str, sizeof(digit_str), "%c", digit); - - PyObject_CallFunction( - g_obj_callback->on_dtmf_digit, - "is", - call_id, - digit_str, - NULL - ); - - PyGILState_Release(state); - } -} - - -/* - * Notify application on call being transfered. - * !modified @061206 - */ -static void cb_on_call_transfer_request(pjsua_call_id call_id, - const pj_str_t *dst, - pjsip_status_code *code) -{ - if (PyCallable_Check(g_obj_callback->on_call_transfer_request)) { - PyObject *ret, *param_dst; - int cd; - - ENTER_PYTHON(); - - param_dst = PyString_FromPJ(dst); - - ret = PyObject_CallFunction( - g_obj_callback->on_call_transfer_request, - "iOi", - call_id, - param_dst, - *code, - NULL - ); - - Py_DECREF(param_dst); - - if (ret != NULL) { - if (ret != Py_None) { - if (PyArg_Parse(ret,"i",&cd)) { - *code = cd; - } - } - Py_DECREF(ret); - } - - LEAVE_PYTHON(); - } -} - - -/* - * Notify application of the status of previously sent call - * transfer request. Application can monitor the status of the - * call transfer request, for example to decide whether to - * terminate existing call. - * !modified @061206 - */ -static void cb_on_call_transfer_status( pjsua_call_id call_id, - int status_code, - const pj_str_t *status_text, - pj_bool_t final, - pj_bool_t *p_cont) -{ - if (PyCallable_Check(g_obj_callback->on_call_transfer_status)) { - PyObject *ret, *param_reason; - - ENTER_PYTHON(); - - param_reason = PyString_FromPJ(status_text); - - ret = PyObject_CallFunction( - g_obj_callback->on_call_transfer_status, - "iiOii", - call_id, - status_code, - param_reason, - final, - *p_cont, - NULL - ); - - Py_DECREF(param_reason); - - if (ret != NULL) { - if (ret != Py_None) { - int cnt; - if (PyArg_Parse(ret,"i",&cnt)) { - *p_cont = cnt; - } - } - Py_DECREF(ret); - } - - LEAVE_PYTHON(); - } -} - - -/* - * Notify application about incoming INVITE with Replaces header. - * Application may reject the request by setting non-2xx code. - * !modified @061206 - */ -static void cb_on_call_replace_request( pjsua_call_id call_id, - pjsip_rx_data *rdata, - int *st_code, - pj_str_t *st_text) -{ - PJ_UNUSED_ARG(rdata); - - if (PyCallable_Check(g_obj_callback->on_call_replace_request)) { - PyObject *ret, *param_reason, *param_rdata; - int cd; - - ENTER_PYTHON(); - - param_reason = PyString_FromPJ(st_text); - param_rdata = Py_BuildValue(""); - - ret = PyObject_CallFunction( - g_obj_callback->on_call_replace_request, - "iOiO", - call_id, - param_rdata, - *st_code, - param_reason, - NULL - ); - - Py_DECREF(param_rdata); - Py_DECREF(param_reason); - - if (ret != NULL) { - if (ret != Py_None) { - PyObject * txt; - if (PyArg_ParseTuple(ret,"iO",&cd, &txt)) { - *st_code = cd; - *st_text = PyString_ToPJ(txt); - } - } - Py_DECREF(ret); - } - - LEAVE_PYTHON(); - } -} - - -/* - * Notify application that an existing call has been replaced with - * a new call. This happens when PJSUA-API receives incoming INVITE - * request with Replaces header. - */ -static void cb_on_call_replaced(pjsua_call_id old_call_id, - pjsua_call_id new_call_id) -{ - if (PyCallable_Check(g_obj_callback->on_call_replaced)) { - ENTER_PYTHON(); - - PyObject_CallFunction( - g_obj_callback->on_call_replaced, - "ii", - old_call_id, - new_call_id, - NULL - ); - - LEAVE_PYTHON(); - } -} - - -/* - * cb_on_reg_state - * declares method on_reg_state for callback struct - */ -static void cb_on_reg_state(pjsua_acc_id acc_id) -{ - if (PyCallable_Check(g_obj_callback->on_reg_state)) { - ENTER_PYTHON(); - - PyObject_CallFunction( - g_obj_callback->on_reg_state, - "i", - acc_id, - NULL - ); - - LEAVE_PYTHON(); - } -} - -/* - * cb_on_incoming_subscribe - */ -static void cb_on_incoming_subscribe( pjsua_acc_id acc_id, - pjsua_srv_pres *srv_pres, - pjsua_buddy_id buddy_id, - const pj_str_t *from, - pjsip_rx_data *rdata, - pjsip_status_code *code, - pj_str_t *reason, - pjsua_msg_data *msg_data) -{ - static char reason_buf[64]; - - PJ_UNUSED_ARG(rdata); - PJ_UNUSED_ARG(msg_data); - - if (PyCallable_Check(g_obj_callback->on_incoming_subscribe)) { - PyObject *ret, *param_from, *param_contact, *param_srv_pres; - pjsip_contact_hdr *contact_hdr; - pj_pool_t *pool = NULL; - - ENTER_PYTHON(); - - param_from = PyString_FromPJ(from); - param_srv_pres = PyLong_FromLong((long)srv_pres); - - contact_hdr = (pjsip_contact_hdr*) - pjsip_msg_find_hdr(rdata->msg_info.msg, PJSIP_H_CONTACT, - NULL); - if (contact_hdr) { - char *contact; - int len; - - pool = pjsua_pool_create("pytmp", 512, 512); - contact = (char*) pj_pool_alloc(pool, PJSIP_MAX_URL_SIZE+1); - len = pjsip_uri_print(PJSIP_URI_IN_CONTACT_HDR, contact_hdr->uri, - contact, PJSIP_MAX_URL_SIZE); - if (len < 1) - len = 0; - contact[len] = '\0'; - - param_contact = PyString_FromStringAndSize(contact, len); - } else { - param_contact = Py_BuildValue(""); - } - - ret = PyObject_CallFunction( - g_obj_callback->on_incoming_subscribe, - "iiOOO", - acc_id, - buddy_id, - param_from, - param_contact, - param_srv_pres, - NULL - ); - - if (pool) - pj_pool_release(pool); - - Py_DECREF(param_from); - Py_DECREF(param_contact); - Py_DECREF(param_srv_pres); - - if (ret && PyTuple_Check(ret)) { - if (PyTuple_Size(ret) >= 1) - *code = (int)PyInt_AsLong(PyTuple_GetItem(ret, 0)); - if (PyTuple_Size(ret) >= 2) { - if (PyTuple_GetItem(ret, 1) != Py_None) { - pj_str_t tmp; - tmp = PyString_ToPJ(PyTuple_GetItem(ret, 1)); - reason->ptr = reason_buf; - pj_strncpy(reason, &tmp, sizeof(reason_buf)); - } else { - reason->slen = 0; - } - } - Py_XDECREF(ret); - } else if (ret) { - Py_XDECREF(ret); - } - - LEAVE_PYTHON(); - } -} - -/* - * cb_on_buddy_state - * declares method on_buddy state for callback struct - */ -static void cb_on_buddy_state(pjsua_buddy_id buddy_id) -{ - if (PyCallable_Check(g_obj_callback->on_buddy_state)) { - ENTER_PYTHON(); - - PyObject_CallFunction( - g_obj_callback->on_buddy_state, - "i", - buddy_id, - NULL - ); - - LEAVE_PYTHON(); - } -} - -/* - * cb_on_pager - * declares method on_pager for callback struct - */ -static void cb_on_pager(pjsua_call_id call_id, const pj_str_t *from, - const pj_str_t *to, const pj_str_t *contact, - const pj_str_t *mime_type, const pj_str_t *body, - pjsip_rx_data *rdata, pjsua_acc_id acc_id) -{ - PJ_UNUSED_ARG(rdata); - - if (PyCallable_Check(g_obj_callback->on_pager)) { - PyObject *param_from, *param_to, *param_contact, *param_mime_type, - *param_body; - - ENTER_PYTHON(); - - param_from = PyString_FromPJ(from); - param_to = PyString_FromPJ(to); - param_contact = PyString_FromPJ(contact); - param_mime_type = PyString_FromPJ(mime_type); - param_body = PyString_FromPJ(body); - - PyObject_CallFunction( - g_obj_callback->on_pager, - "iOOOOOi", - call_id, - param_from, - param_to, - param_contact, - param_mime_type, - param_body, - acc_id, - NULL - ); - - Py_DECREF(param_body); - Py_DECREF(param_mime_type); - Py_DECREF(param_contact); - Py_DECREF(param_to); - Py_DECREF(param_from); - - LEAVE_PYTHON(); - } -} - - -/* - * cb_on_pager_status - * declares method on_pager_status for callback struct - */ -static void cb_on_pager_status(pjsua_call_id call_id, const pj_str_t *to, - const pj_str_t *body, void *user_data, - pjsip_status_code status, - const pj_str_t *reason, - pjsip_tx_data *tdata, - pjsip_rx_data *rdata, - pjsua_acc_id acc_id) -{ - if (PyCallable_Check(g_obj_callback->on_pager)) { - PyObject *param_call_id, *param_to, *param_body, - *param_user_data, *param_status, *param_reason, - *param_acc_id; - - ENTER_PYTHON(); - - PJ_UNUSED_ARG(tdata); - PJ_UNUSED_ARG(rdata); - - PyObject_CallFunctionObjArgs( - g_obj_callback->on_pager_status, - param_call_id = Py_BuildValue("i",call_id), - param_to = PyString_FromPJ(to), - param_body = PyString_FromPJ(body), - param_user_data = Py_BuildValue("i", user_data), - param_status = Py_BuildValue("i",status), - param_reason = PyString_FromPJ(reason), - param_acc_id = Py_BuildValue("i",acc_id), - NULL - ); - - Py_DECREF(param_call_id); - Py_DECREF(param_to); - Py_DECREF(param_body); - Py_DECREF(param_user_data); - Py_DECREF(param_status); - Py_DECREF(param_reason); - Py_DECREF(param_acc_id); - - LEAVE_PYTHON(); - } -} - - -/* - * cb_on_typing - * declares method on_typing for callback struct - */ -static void cb_on_typing(pjsua_call_id call_id, const pj_str_t *from, - const pj_str_t *to, const pj_str_t *contact, - pj_bool_t is_typing, pjsip_rx_data *rdata, - pjsua_acc_id acc_id) -{ - if (PyCallable_Check(g_obj_callback->on_typing)) { - PyObject *param_call_id, *param_from, *param_to, *param_contact, - *param_is_typing, *param_acc_id; - - ENTER_PYTHON(); - - PJ_UNUSED_ARG(rdata); - - PyObject_CallFunctionObjArgs( - g_obj_callback->on_typing, - param_call_id = Py_BuildValue("i",call_id), - param_from = PyString_FromPJ(from), - param_to = PyString_FromPJ(to), - param_contact = PyString_FromPJ(contact), - param_is_typing = Py_BuildValue("i",is_typing), - param_acc_id = Py_BuildValue("i",acc_id), - NULL - ); - - Py_DECREF(param_call_id); - Py_DECREF(param_from); - Py_DECREF(param_to); - Py_DECREF(param_contact); - Py_DECREF(param_is_typing); - Py_DECREF(param_acc_id); - - LEAVE_PYTHON(); - } -} - - -/* - * on_mwi_info - */ -static void cb_on_mwi_info(pjsua_acc_id acc_id, pjsua_mwi_info *mwi_info) -{ - if (PyCallable_Check(g_obj_callback->on_mwi_info)) { - PyObject *param_acc_id, *param_body; - pj_str_t body; - - ENTER_PYTHON(); - - body.ptr = mwi_info->rdata->msg_info.msg->body->data; - body.slen = mwi_info->rdata->msg_info.msg->body->len; - - PyObject_CallFunctionObjArgs( - g_obj_callback->on_mwi_info, - param_acc_id = Py_BuildValue("i",acc_id), - param_body = PyString_FromPJ(&body), - NULL - ); - - Py_DECREF(param_acc_id); - Py_DECREF(param_body); - - LEAVE_PYTHON(); - } -} - -/* - * translate_hdr - * internal function - * translate from hdr_list to pjsip_generic_string_hdr - */ -void translate_hdr(pj_pool_t *pool, pjsip_hdr *hdr, PyObject *py_hdr_list) -{ - pj_list_init(hdr); - - if (PyList_Check(py_hdr_list)) { - int i; - - for (i=0; i= 1) - hname = PyString_ToPJ(PyTuple_GetItem(tuple,0)); - else - hname.slen = 0; - if (PyTuple_Size(tuple) >= 2) - hvalue = PyString_ToPJ(PyTuple_GetItem(tuple,1)); - else - hvalue.slen = 0; - } else { - hname.ptr = ""; - hname.slen = 0; - hvalue.ptr = ""; - hvalue.slen = 0; - } - new_hdr = pjsip_generic_string_hdr_create(pool, &hname, &hvalue); - pj_list_push_back((pj_list_type *)hdr, (pj_list_type *)new_hdr); - } - } -} - -/* - * py_pjsua_thread_register - */ -static PyObject *py_pjsua_thread_register(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - const char *name; - PyObject *py_desc; - pj_thread_t *thread; - struct py_thread_desc *thread_desc; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "sO", &name, &py_desc)) { - return NULL; - } - thread_desc = (struct py_thread_desc*) - malloc(sizeof(struct py_thread_desc)); - thread_desc->next = py_thread_desc; - py_thread_desc = thread_desc; - - status = pj_thread_register(name, thread_desc->desc, &thread); - - if (status == PJ_SUCCESS) - status = pj_thread_local_set(g_thread_id, (void*)1); - - return Py_BuildValue("i",status); -} - -/* - * py_pjsua_logging_config_default - */ -static PyObject *py_pjsua_logging_config_default(PyObject *pSelf, - PyObject *pArgs) -{ - PyObj_pjsua_logging_config *obj; - pjsua_logging_config cfg; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - pjsua_logging_config_default(&cfg); - obj = (PyObj_pjsua_logging_config*) - PyObj_pjsua_logging_config_new(&PyTyp_pjsua_logging_config, - NULL, NULL); - PyObj_pjsua_logging_config_import(obj, &cfg); - - return (PyObject*)obj; -} - - -/* - * py_pjsua_config_default - */ -static PyObject *py_pjsua_config_default(PyObject *pSelf, PyObject *pArgs) -{ - PyObj_pjsua_config *obj; - pjsua_config cfg; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - pjsua_config_default(&cfg); - obj = (PyObj_pjsua_config *) PyObj_pjsua_config_new(&PyTyp_pjsua_config, - NULL, NULL); - PyObj_pjsua_config_import(obj, &cfg); - - return (PyObject*)obj; -} - - -/* - * py_pjsua_media_config_default - */ -static PyObject * py_pjsua_media_config_default(PyObject *pSelf, - PyObject *pArgs) -{ - PyObj_pjsua_media_config *obj; - pjsua_media_config cfg; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - pjsua_media_config_default(&cfg); - obj = (PyObj_pjsua_media_config *) - PyType_GenericNew(&PyTyp_pjsua_media_config, NULL, NULL); - PyObj_pjsua_media_config_import(obj, &cfg); - - return (PyObject *)obj; -} - - -/* - * py_pjsua_msg_data_init - */ -static PyObject *py_pjsua_msg_data_init(PyObject *pSelf, PyObject *pArgs) -{ - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - return (PyObject *)PyObj_pjsua_msg_data_new(&PyTyp_pjsua_msg_data, - NULL, NULL); -} - - -/* - * py_pjsua_reconfigure_logging - */ -static PyObject *py_pjsua_reconfigure_logging(PyObject *pSelf, - PyObject *pArgs) -{ - PyObject *logObj; - pj_status_t status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "O", &logObj)) { - return NULL; - } - - if (logObj != Py_None) { - PyObj_pjsua_logging_config *log; - pjsua_logging_config cfg; - - log = (PyObj_pjsua_logging_config*)logObj; - cfg.msg_logging = log->msg_logging; - cfg.level = log->level; - cfg.console_level = log->console_level; - cfg.decor = log->decor; - cfg.log_filename = PyString_ToPJ(log->log_filename); - Py_XDECREF(g_obj_log_cb); - g_obj_log_cb = log->cb; - Py_INCREF(g_obj_log_cb); - cfg.cb = &cb_log_cb; - status = pjsua_reconfigure_logging(&cfg); - } else { - status = pjsua_reconfigure_logging(NULL); - } - - return Py_BuildValue("i",status); -} - - -/* - * py_pjsua_perror - */ -static PyObject *py_pjsua_perror(PyObject *pSelf, PyObject *pArgs) -{ - const char *sender; - const char *title; - pj_status_t status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ssi", &sender, &title, &status)) { - return NULL; - } - - pjsua_perror(sender, title, status); - - return Py_BuildValue(""); -} - - -/* - * py_pjsua_create - */ -static PyObject *py_pjsua_create(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - status = pjsua_create(); - - if (status == PJ_SUCCESS) { - status = pj_thread_local_alloc(&g_thread_id); - if (status == PJ_SUCCESS) - status = pj_thread_local_set(g_thread_id, (void*)1); - - pj_atexit(&clear_py_thread_desc); - } - - return Py_BuildValue("i",status); -} - - -/* - * py_pjsua_init - */ -static PyObject *py_pjsua_init(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - PyObject *o_ua_cfg, *o_log_cfg, *o_media_cfg; - pjsua_config cfg_ua, *p_cfg_ua; - pjsua_logging_config cfg_log, *p_cfg_log; - pjsua_media_config cfg_media, *p_cfg_media; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "OOO", &o_ua_cfg, &o_log_cfg, &o_media_cfg)) { - return NULL; - } - - pjsua_config_default(&cfg_ua); - pjsua_logging_config_default(&cfg_log); - pjsua_media_config_default(&cfg_media); - - if (o_ua_cfg != Py_None) { - PyObj_pjsua_config *obj_ua_cfg = (PyObj_pjsua_config*)o_ua_cfg; - - PyObj_pjsua_config_export(&cfg_ua, obj_ua_cfg); - - Py_XDECREF(g_obj_callback); - g_obj_callback = obj_ua_cfg->cb; - Py_INCREF(g_obj_callback); - - cfg_ua.cb.on_call_state = &cb_on_call_state; - cfg_ua.cb.on_incoming_call = &cb_on_incoming_call; - cfg_ua.cb.on_call_media_state = &cb_on_call_media_state; - cfg_ua.cb.on_dtmf_digit = &cb_on_dtmf_digit; - cfg_ua.cb.on_call_transfer_request = &cb_on_call_transfer_request; - cfg_ua.cb.on_call_transfer_status = &cb_on_call_transfer_status; - cfg_ua.cb.on_call_replace_request = &cb_on_call_replace_request; - cfg_ua.cb.on_call_replaced = &cb_on_call_replaced; - cfg_ua.cb.on_reg_state = &cb_on_reg_state; - cfg_ua.cb.on_incoming_subscribe = &cb_on_incoming_subscribe; - cfg_ua.cb.on_buddy_state = &cb_on_buddy_state; - cfg_ua.cb.on_pager2 = &cb_on_pager; - cfg_ua.cb.on_pager_status2 = &cb_on_pager_status; - cfg_ua.cb.on_typing2 = &cb_on_typing; - cfg_ua.cb.on_mwi_info = &cb_on_mwi_info; - - p_cfg_ua = &cfg_ua; - - } else { - p_cfg_ua = NULL; - } - - if (o_log_cfg != Py_None) { - PyObj_pjsua_logging_config * obj_log; - - obj_log = (PyObj_pjsua_logging_config *)o_log_cfg; - - PyObj_pjsua_logging_config_export(&cfg_log, obj_log); - - Py_XDECREF(g_obj_log_cb); - g_obj_log_cb = obj_log->cb; - Py_INCREF(g_obj_log_cb); - - cfg_log.cb = &cb_log_cb; - p_cfg_log = &cfg_log; - - } else { - p_cfg_log = NULL; - } - - if (o_media_cfg != Py_None) { - PyObj_pjsua_media_config_export(&cfg_media, - (PyObj_pjsua_media_config*)o_media_cfg); - p_cfg_media = &cfg_media; - - } else { - p_cfg_media = NULL; - } - - status = pjsua_init(p_cfg_ua, p_cfg_log, p_cfg_media); - - return Py_BuildValue("i", status); -} - - -/* - * py_pjsua_start - */ -static PyObject *py_pjsua_start(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - status = pjsua_start(); - - return Py_BuildValue("i", status); -} - - -/* - * py_pjsua_destroy - */ -static PyObject *py_pjsua_destroy(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - status = pjsua_destroy(); - - return Py_BuildValue("i", status); -} - - -/* - * py_pjsua_handle_events - */ -static PyObject *py_pjsua_handle_events(PyObject *pSelf, PyObject *pArgs) -{ - int ret; - int msec; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &msec)) { - return NULL; - } - - if (msec < 0) - msec = 0; - -#if !NO_PJSIP_THREAD - /* Since handle_events() will block, we must wrap it with ALLOW_THREADS - * construct, or otherwise many Python blocking functions (such as - * time.sleep(), readline(), etc.) may hang/block indefinitely. - * See http://www.python.org/doc/current/api/threads.html for more info. - */ - Py_BEGIN_ALLOW_THREADS -#endif - - ret = pjsua_handle_events(msec); - -#if !NO_PJSIP_THREAD - Py_END_ALLOW_THREADS -#endif - - return Py_BuildValue("i", ret); -} - - -/* - * py_pjsua_verify_sip_url - */ -static PyObject *py_pjsua_verify_sip_url(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - const char *url; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "s", &url)) { - return NULL; - } - - status = pjsua_verify_sip_url(url); - - return Py_BuildValue("i", status); -} - - -/* - * function doc - */ - -static char pjsua_thread_register_doc[] = - "int _pjsua.thread_register(string name, int[] desc)"; -static char pjsua_perror_doc[] = - "void _pjsua.perror (string sender, string title, int status) " - "Display error message for the specified error code. Parameters: " - "sender: The log sender field; " - "title: Message title for the error; " - "status: Status code."; - -static char pjsua_create_doc[] = - "int _pjsua.create (void) " - "Instantiate pjsua application. Application " - "must call this function before calling any other functions, to make sure " - "that the underlying libraries are properly initialized. Once this " - "function has returned success, application must call pjsua_destroy() " - "before quitting."; - -static char pjsua_init_doc[] = - "int _pjsua.init (_pjsua.Config obj_ua_cfg, " - "_pjsua.Logging_Config log_cfg, _pjsua.Media_Config media_cfg) " - "Initialize pjsua with the specified settings. All the settings are " - "optional, and the default values will be used when the config is not " - "specified. Parameters: " - "obj_ua_cfg : User agent configuration; " - "log_cfg : Optional logging configuration; " - "media_cfg : Optional media configuration."; - -static char pjsua_start_doc[] = - "int _pjsua.start (void) " - "Application is recommended to call this function after all " - "initialization is done, so that the library can do additional checking " - "set up additional"; - -static char pjsua_destroy_doc[] = - "int _pjsua.destroy (void) " - "Destroy pjsua This function must be called once PJSUA is created. To " - "make it easier for application, application may call this function " - "several times with no danger."; - -static char pjsua_handle_events_doc[] = - "int _pjsua.handle_events (int msec_timeout) " - "Poll pjsua for events, and if necessary block the caller thread for the " - "specified maximum interval (in miliseconds) Parameters: " - "msec_timeout: Maximum time to wait, in miliseconds. " - "Returns: The number of events that have been handled during the poll. " - "Negative value indicates error, and application can retrieve the error " - "as (err = -return_value)."; - -static char pjsua_verify_sip_url_doc[] = - "int _pjsua.verify_sip_url (string c_url) " - "Verify that valid SIP url is given Parameters: " - "c_url: The URL, as NULL terminated string."; - -static char pjsua_reconfigure_logging_doc[] = - "int _pjsua.reconfigure_logging (_pjsua.Logging_Config c) " - "Application can call this function at any time (after pjsua_create(), of " - "course) to change logging settings. Parameters: " - "c: Logging configuration."; - -static char pjsua_logging_config_default_doc[] = - "_pjsua.Logging_Config _pjsua.logging_config_default () " - "Use this function to initialize logging config."; - -static char pjsua_config_default_doc[] = - "_pjsua.Config _pjsua.config_default (). Use this function to " - "initialize pjsua config. "; - -static char pjsua_media_config_default_doc[] = - "_pjsua.Media_Config _pjsua.media_config_default (). " - "Use this function to initialize media config."; - -static char pjsua_msg_data_init_doc[] = - "_pjsua.Msg_Data void _pjsua.msg_data_init () " - "Initialize message data "; - - -/* END OF LIB BASE */ - -/* LIB TRANSPORT */ - -/* - * py_pjsua_transport_config_default - */ -static PyObject *py_pjsua_transport_config_default(PyObject *pSelf, - PyObject *pArgs) -{ - PyObj_pjsua_transport_config *obj; - pjsua_transport_config cfg; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - pjsua_transport_config_default(&cfg); - obj = (PyObj_pjsua_transport_config*) - PyObj_pjsua_transport_config_new(&PyTyp_pjsua_transport_config, - NULL, NULL); - PyObj_pjsua_transport_config_import(obj, &cfg); - - return (PyObject *)obj; -} - -/* - * py_pjsua_transport_create - */ -static PyObject *py_pjsua_transport_create(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - int type; - PyObject *pCfg; - pjsua_transport_config cfg; - pjsua_transport_id id; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iO", &type, &pCfg)) { - return NULL; - } - - if (pCfg != Py_None) { - PyObj_pjsua_transport_config *obj; - - obj = (PyObj_pjsua_transport_config*)pCfg; - PyObj_pjsua_transport_config_export(&cfg, obj); - status = pjsua_transport_create(type, &cfg, &id); - } else { - status = pjsua_transport_create(type, NULL, &id); - } - - - return Py_BuildValue("ii", status, id); -} - -/* - * py_pjsua_enum_transports - */ -static PyObject *py_pjsua_enum_transports(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - PyObject *list; - pjsua_transport_id id[PJSIP_MAX_TRANSPORTS]; - unsigned c, i; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - c = PJ_ARRAY_SIZE(id); - status = pjsua_enum_transports(id, &c); - - list = PyList_New(c); - for (i = 0; i < c; i++) { - PyList_SetItem(list, i, Py_BuildValue("i", id[i])); - } - - return (PyObject*)list; -} - -/* - * py_pjsua_transport_get_info - * !modified @ 051206 - */ -static PyObject *py_pjsua_transport_get_info(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - int id; - pjsua_transport_info info; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &id)) { - return NULL; - } - - status = pjsua_transport_get_info(id, &info); - if (status == PJ_SUCCESS) { - PyObj_pjsua_transport_info *obj; - obj = (PyObj_pjsua_transport_info *) - PyObj_pjsua_transport_info_new(&PyTyp_pjsua_transport_info, - NULL, NULL); - PyObj_pjsua_transport_info_import(obj, &info); - return (PyObject*)obj; - } else { - return Py_BuildValue(""); - } -} - -/* - * py_pjsua_transport_set_enable - */ -static PyObject *py_pjsua_transport_set_enable(PyObject *pSelf, - PyObject *pArgs) -{ - pj_status_t status; - int id; - int enabled; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &id, &enabled)) { - return NULL; - } - status = pjsua_transport_set_enable(id, enabled); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_transport_close - */ -static PyObject *py_pjsua_transport_close(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - int id; - int force; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &id, &force)) { - return NULL; - } - status = pjsua_transport_close(id, force); - - return Py_BuildValue("i", status); -} - -static char pjsua_transport_config_default_doc[] = - "_pjsua.Transport_Config _pjsua.transport_config_default () " - "Call this function to initialize UDP config with default values."; -static char pjsua_transport_create_doc[] = - "int, int _pjsua.transport_create (int type, " - "_pjsua.Transport_Config cfg) " - "Create SIP transport."; -static char pjsua_enum_transports_doc[] = - "int[] _pjsua.enum_transports () " - "Enumerate all transports currently created in the system."; -static char pjsua_transport_get_info_doc[] = - "void _pjsua.transport_get_info " - "(_pjsua.Transport_ID id, _pjsua.Transport_Info info) " - "Get information about transports."; -static char pjsua_transport_set_enable_doc[] = - "void _pjsua.transport_set_enable " - "(_pjsua.Transport_ID id, int enabled) " - "Disable a transport or re-enable it. " - "By default transport is always enabled after it is created. " - "Disabling a transport does not necessarily close the socket, " - "it will only discard incoming messages and prevent the transport " - "from being used to send outgoing messages."; -static char pjsua_transport_close_doc[] = - "void _pjsua.transport_close (_pjsua.Transport_ID id, int force) " - "Close the transport. If transport is forcefully closed, " - "it will be immediately closed, and any pending transactions " - "that are using the transport may not terminate properly. " - "Otherwise, the system will wait until all transactions are closed " - "while preventing new users from using the transport, and will close " - "the transport when it is safe to do so."; - -/* END OF LIB TRANSPORT */ - -/* LIB ACCOUNT */ - - -/* - * py_pjsua_acc_config_default - */ -static PyObject *py_pjsua_acc_config_default(PyObject *pSelf, PyObject *pArgs) -{ - PyObj_pjsua_acc_config *obj; - pjsua_acc_config cfg; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - if (!PyArg_ParseTuple(pArgs, "")) { - return NULL; - } - - pjsua_acc_config_default(&cfg); - obj = (PyObj_pjsua_acc_config *) - PyObj_pjsua_acc_config_new(&PyTyp_pjsua_acc_config, - NULL, NULL); - PyObj_pjsua_acc_config_import(obj, &cfg); - return (PyObject *)obj; -} - -/* - * py_pjsua_acc_get_count - */ -static PyObject *py_pjsua_acc_get_count(PyObject *pSelf, PyObject *pArgs) -{ - int count; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - count = pjsua_acc_get_count(); - return Py_BuildValue("i", count); -} - -/* - * py_pjsua_acc_is_valid - */ -static PyObject *py_pjsua_acc_is_valid(PyObject *pSelf, PyObject *pArgs) -{ - int id; - int is_valid; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &id)) { - return NULL; - } - - is_valid = pjsua_acc_is_valid(id); - return Py_BuildValue("i", is_valid); -} - -/* - * py_pjsua_acc_set_default - */ -static PyObject *py_pjsua_acc_set_default(PyObject *pSelf, PyObject *pArgs) -{ - int id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &id)) { - return NULL; - } - status = pjsua_acc_set_default(id); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_acc_get_default - */ -static PyObject *py_pjsua_acc_get_default(PyObject *pSelf, PyObject *pArgs) -{ - int id; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - id = pjsua_acc_get_default(); - - return Py_BuildValue("i", id); -} - -/* - * py_pjsua_acc_add - */ -static PyObject *py_pjsua_acc_add(PyObject *pSelf, PyObject *pArgs) -{ - int is_default; - PyObject *pCfg; - int acc_id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "Oi", &pCfg, &is_default)) { - return NULL; - } - - if (pCfg != Py_None) { - pjsua_acc_config cfg; - PyObj_pjsua_acc_config *ac; - - pjsua_acc_config_default(&cfg); - ac = (PyObj_pjsua_acc_config *)pCfg; - PyObj_pjsua_acc_config_export(&cfg, ac); - status = pjsua_acc_add(&cfg, is_default, &acc_id); - } else { - status = PJ_EINVAL; - acc_id = PJSUA_INVALID_ID; - } - - return Py_BuildValue("ii", status, acc_id); -} - -/* - * py_pjsua_acc_add_local - */ -static PyObject *py_pjsua_acc_add_local(PyObject *pSelf, PyObject *pArgs) -{ - int is_default; - int tid; - int acc_id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &tid, &is_default)) { - return NULL; - } - - status = pjsua_acc_add_local(tid, is_default, &acc_id); - - return Py_BuildValue("ii", status, acc_id); -} - -/* - * py_pjsua_acc_set_user_data - */ -static PyObject *py_pjsua_acc_set_user_data(PyObject *pSelf, PyObject *pArgs) -{ - int acc_id; - PyObject *pUserData, *old_user_data; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iO", &acc_id, &pUserData)) { - return NULL; - } - - old_user_data = (PyObject*) pjsua_acc_get_user_data(acc_id); - - status = pjsua_acc_set_user_data(acc_id, (void*)pUserData); - - if (status == PJ_SUCCESS) { - Py_XINCREF(pUserData); - Py_XDECREF(old_user_data); - } - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_acc_get_user_data - */ -static PyObject *py_pjsua_acc_get_user_data(PyObject *pSelf, PyObject *pArgs) -{ - int acc_id; - PyObject *user_data; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &acc_id)) { - return NULL; - } - - user_data = (PyObject*) pjsua_acc_get_user_data(acc_id); - - return user_data ? Py_BuildValue("O", user_data) : Py_BuildValue(""); -} - -/* - * py_pjsua_acc_del - */ -static PyObject *py_pjsua_acc_del(PyObject *pSelf, PyObject *pArgs) -{ - int acc_id; - PyObject *user_data; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &acc_id)) { - return NULL; - } - - user_data = (PyObject*) pjsua_acc_get_user_data(acc_id); - Py_XDECREF(user_data); - - status = pjsua_acc_del(acc_id); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_acc_modify - */ -static PyObject *py_pjsua_acc_modify(PyObject *pSelf, PyObject *pArgs) -{ - PyObject *pCfg; - PyObj_pjsua_acc_config * ac; - int acc_id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iO", &acc_id, &pCfg)) { - return NULL; - } - - if (pCfg != Py_None) { - pjsua_acc_config cfg; - - pjsua_acc_config_default(&cfg); - ac = (PyObj_pjsua_acc_config*)pCfg; - PyObj_pjsua_acc_config_export(&cfg, ac); - - status = pjsua_acc_modify(acc_id, &cfg); - } else { - status = PJ_EINVAL; - } - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_acc_set_online_status - */ -static PyObject *py_pjsua_acc_set_online_status(PyObject *pSelf, - PyObject *pArgs) -{ - int is_online; - int acc_id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &acc_id, &is_online)) { - return NULL; - } - - status = pjsua_acc_set_online_status(acc_id, is_online); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_acc_set_online_status2 - */ -static PyObject *py_pjsua_acc_set_online_status2(PyObject *pSelf, - PyObject *pArgs) -{ - int is_online; - int acc_id; - int activity_id; - const char *activity_text = NULL; - const char *rpid_id = NULL; - pjrpid_element rpid; - pj_status_t status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iiiss", &acc_id, &is_online, - &activity_id, &activity_text, &rpid_id)) - { - return NULL; - } - - pj_bzero(&rpid, sizeof(rpid)); - rpid.type = PJRPID_ELEMENT_TYPE_PERSON; - rpid.activity = activity_id; - if (activity_text) - rpid.note = pj_str((char*)activity_text); - - if (rpid_id) - rpid.id = pj_str((char*)rpid_id); - - status = pjsua_acc_set_online_status2(acc_id, is_online, &rpid); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_acc_set_registration - */ -static PyObject *py_pjsua_acc_set_registration(PyObject *pSelf, - PyObject *pArgs) -{ - int renew; - int acc_id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &acc_id, &renew)) { - return NULL; - } - - status = pjsua_acc_set_registration(acc_id, renew); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_acc_get_info - */ -static PyObject *py_pjsua_acc_get_info(PyObject *pSelf, PyObject *pArgs) -{ - int acc_id; - PyObj_pjsua_acc_info * obj; - pjsua_acc_info info; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &acc_id)) { - return NULL; - } - - status = pjsua_acc_get_info(acc_id, &info); - if (status == PJ_SUCCESS) { - obj = (PyObj_pjsua_acc_info*) - PyObj_pjsua_acc_info_new(&PyTyp_pjsua_acc_info, NULL, NULL); - PyObj_pjsua_acc_info_import(obj, &info); - return (PyObject*)obj; - } else { - return Py_BuildValue(""); - } -} - -/* - * py_pjsua_enum_accs - */ -static PyObject *py_pjsua_enum_accs(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - PyObject *list; - pjsua_acc_id id[PJSUA_MAX_ACC]; - unsigned c, i; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - c = PJ_ARRAY_SIZE(id); - status = pjsua_enum_accs(id, &c); - if (status != PJ_SUCCESS) - c = 0; - - list = PyList_New(c); - for (i = 0; i < c; i++) { - PyList_SetItem(list, i, Py_BuildValue("i", id[i])); - } - - return (PyObject*)list; -} - -/* - * py_pjsua_acc_enum_info - */ -static PyObject *py_pjsua_acc_enum_info(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - PyObject *list; - pjsua_acc_info info[PJSUA_MAX_ACC]; - unsigned c, i; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - if (!PyArg_ParseTuple(pArgs, "")) { - return NULL; - } - - c = PJ_ARRAY_SIZE(info); - status = pjsua_acc_enum_info(info, &c); - if (status != PJ_SUCCESS) - c = 0; - - list = PyList_New(c); - for (i = 0; i < c; i++) { - PyObj_pjsua_acc_info *obj; - obj = (PyObj_pjsua_acc_info *) - PyObj_pjsua_acc_info_new(&PyTyp_pjsua_acc_info, NULL, NULL); - - PyObj_pjsua_acc_info_import(obj, &info[i]); - - PyList_SetItem(list, i, (PyObject*)obj); - } - - return (PyObject*)list; -} - -/* - * py_pjsua_acc_set_transport - */ -static PyObject *py_pjsua_acc_set_transport(PyObject *pSelf, PyObject *pArgs) -{ - int acc_id, transport_id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &acc_id, &transport_id)) { - return NULL; - } - - status = pjsua_acc_set_transport(acc_id, transport_id); - - - return Py_BuildValue("i", status); -} - - -/* - * py_pjsua_acc_pres_notify - */ -static PyObject *py_pjsua_acc_pres_notify(PyObject *pSelf, - PyObject *pArgs) -{ - int acc_id, state; - PyObject *arg_pres, *arg_msg_data, *arg_reason; - void *srv_pres; - pjsua_msg_data msg_data; - pj_str_t reason; - pj_bool_t with_body; - pj_pool_t *pool = NULL; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iOiOO", &acc_id, &arg_pres, - &state, &arg_reason, &arg_msg_data)) - { - return NULL; - } - - srv_pres = (void*) PyLong_AsLong(arg_pres); - with_body = (state != PJSIP_EVSUB_STATE_TERMINATED); - - if (arg_reason && PyString_Check(arg_reason)) { - reason = PyString_ToPJ(arg_reason); - } else { - reason = pj_str(""); - } - - pjsua_msg_data_init(&msg_data); - if (arg_msg_data && arg_msg_data != Py_None) { - PyObj_pjsua_msg_data *omd = (PyObj_pjsua_msg_data *)arg_msg_data; - msg_data.content_type = PyString_ToPJ(omd->content_type); - msg_data.msg_body = PyString_ToPJ(omd->msg_body); - pool = pjsua_pool_create("pytmp", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - } - - status = pjsua_pres_notify(acc_id, (pjsua_srv_pres*)srv_pres, - (pjsip_evsub_state)state, NULL, - &reason, with_body, &msg_data); - - if (pool) { - pj_pool_release(pool); - } - - return Py_BuildValue("i", status); -} - -static char pjsua_acc_config_default_doc[] = - "_pjsua.Acc_Config _pjsua.acc_config_default () " - "Call this function to initialize account config with default values."; -static char pjsua_acc_get_count_doc[] = - "int _pjsua.acc_get_count () " - "Get number of current accounts."; -static char pjsua_acc_is_valid_doc[] = - "int _pjsua.acc_is_valid (int acc_id) " - "Check if the specified account ID is valid."; -static char pjsua_acc_set_default_doc[] = - "int _pjsua.acc_set_default (int acc_id) " - "Set default account to be used when incoming " - "and outgoing requests doesn't match any accounts."; -static char pjsua_acc_get_default_doc[] = - "int _pjsua.acc_get_default () " - "Get default account."; -static char pjsua_acc_add_doc[] = - "int, int _pjsua.acc_add (_pjsua.Acc_Config cfg, " - "int is_default) " - "Add a new account to pjsua. PJSUA must have been initialized " - "(with pjsua_init()) before calling this function."; -static char pjsua_acc_add_local_doc[] = - "int,int _pjsua.acc_add_local (int tid, " - "int is_default) " - "Add a local account. A local account is used to identify " - "local endpoint instead of a specific user, and for this reason, " - "a transport ID is needed to obtain the local address information."; -static char pjsua_acc_del_doc[] = - "int _pjsua.acc_del (int acc_id) " - "Delete account."; -static char pjsua_acc_modify_doc[] = - "int _pjsua.acc_modify (int acc_id, _pjsua.Acc_Config cfg) " - "Modify account information."; -static char pjsua_acc_set_online_status_doc[] = - "int _pjsua.acc_set_online_status2(int acc_id, int is_online) " - "Modify account's presence status to be advertised " - "to remote/presence subscribers."; -static char pjsua_acc_set_online_status2_doc[] = - "int _pjsua.acc_set_online_status (int acc_id, int is_online, " - "int activity_id, string activity_text) " - "Modify account's presence status to be advertised " - "to remote/presence subscribers."; -static char pjsua_acc_set_registration_doc[] = - "int _pjsua.acc_set_registration (int acc_id, int renew) " - "Update registration or perform unregistration."; -static char pjsua_acc_get_info_doc[] = - "_pjsua.Acc_Info _pjsua.acc_get_info (int acc_id) " - "Get account information."; -static char pjsua_enum_accs_doc[] = - "int[] _pjsua.enum_accs () " - "Enum accounts all account ids."; -static char pjsua_acc_enum_info_doc[] = - "_pjsua.Acc_Info[] _pjsua.acc_enum_info () " - "Enum accounts info."; - -/* END OF LIB ACCOUNT */ - -/* LIB BUDDY */ - - - -/* - * py_pjsua_buddy_config_default - */ -static PyObject *py_pjsua_buddy_config_default(PyObject *pSelf, - PyObject *pArgs) -{ - PyObj_pjsua_buddy_config *obj; - pjsua_buddy_config cfg; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - pjsua_buddy_config_default(&cfg); - obj = (PyObj_pjsua_buddy_config *) - PyObj_pjsua_buddy_config_new(&PyTyp_pjsua_buddy_config, NULL, NULL); - PyObj_pjsua_buddy_config_import(obj, &cfg); - - return (PyObject *)obj; -} - -/* - * py_pjsua_get_buddy_count - */ -static PyObject *py_pjsua_get_buddy_count(PyObject *pSelf, PyObject *pArgs) -{ - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - return Py_BuildValue("i", pjsua_get_buddy_count()); -} - -/* - * py_pjsua_buddy_is_valid - */ -static PyObject *py_pjsua_buddy_is_valid(PyObject *pSelf, PyObject *pArgs) -{ - int id; - int is_valid; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &id)) { - return NULL; - } - is_valid = pjsua_buddy_is_valid(id); - - return Py_BuildValue("i", is_valid); -} - -/* - * py_pjsua_enum_buddies - */ -static PyObject *py_pjsua_enum_buddies(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - PyObject *list; - pjsua_buddy_id id[PJSUA_MAX_BUDDIES]; - unsigned c, i; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - c = PJ_ARRAY_SIZE(id); - status = pjsua_enum_buddies(id, &c); - if (status != PJ_SUCCESS) - c = 0; - - list = PyList_New(c); - for (i = 0; i < c; i++) { - PyList_SetItem(list, i, Py_BuildValue("i", id[i])); - } - - return (PyObject*)list; -} - -/* - * py_pjsua_buddy_find - */ -static PyObject *py_pjsua_buddy_find(PyObject *pSelf, PyObject *pArgs) -{ - PyObject *pURI; - pj_str_t uri; - pjsua_buddy_id buddy_id; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "O", &pURI)) { - return NULL; - } - - if (!PyString_Check(pURI)) - return Py_BuildValue("i", PJSUA_INVALID_ID); - - uri = PyString_ToPJ(pURI); - buddy_id = pjsua_buddy_find(&uri); - - return Py_BuildValue("i", buddy_id); -} - -/* - * py_pjsua_buddy_get_info - */ -static PyObject *py_pjsua_buddy_get_info(PyObject *pSelf, PyObject *pArgs) -{ - int buddy_id; - pjsua_buddy_info info; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &buddy_id)) { - return NULL; - } - - status = pjsua_buddy_get_info(buddy_id, &info); - if (status == PJ_SUCCESS) { - PyObj_pjsua_buddy_info *obj; - - obj = (PyObj_pjsua_buddy_info *) - PyObj_pjsua_buddy_config_new(&PyTyp_pjsua_buddy_info, - NULL, NULL); - PyObj_pjsua_buddy_info_import(obj, &info); - return (PyObject*)obj; - } else { - return Py_BuildValue(""); - } -} - -/* - * py_pjsua_buddy_add - */ -static PyObject *py_pjsua_buddy_add(PyObject *pSelf, PyObject *pArgs) -{ - PyObject *pCfg; - int buddy_id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "O", &pCfg)) { - return NULL; - } - - if (pCfg != Py_None) { - pjsua_buddy_config cfg; - PyObj_pjsua_buddy_config *bc; - - bc = (PyObj_pjsua_buddy_config *)pCfg; - - pjsua_buddy_config_default(&cfg); - PyObj_pjsua_buddy_config_export(&cfg, bc); - - status = pjsua_buddy_add(&cfg, &buddy_id); - - } else { - status = PJ_EINVAL; - buddy_id = PJSUA_INVALID_ID; - } - return Py_BuildValue("ii", status, buddy_id); -} - -/* - * py_pjsua_buddy_del - */ -static PyObject *py_pjsua_buddy_del(PyObject *pSelf, PyObject *pArgs) -{ - int buddy_id; - int status; - PyObject *user_data; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &buddy_id)) { - return NULL; - } - - user_data = (PyObject*) pjsua_buddy_get_user_data(buddy_id); - Py_XDECREF(user_data); - - status = pjsua_buddy_del(buddy_id); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_buddy_set_user_data - */ -static PyObject *py_pjsua_buddy_set_user_data(PyObject *pSelf, PyObject *pArgs) -{ - int buddy_id; - int status; - PyObject *user_data, *old_user_data; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iO", &buddy_id, &user_data)) { - return NULL; - } - - if (!pjsua_buddy_is_valid(buddy_id)) { - return Py_BuildValue("i", 0); - } - - old_user_data = (PyObject*) pjsua_buddy_get_user_data(buddy_id); - - status = pjsua_buddy_set_user_data(buddy_id, (void*)user_data); - - if (status == PJ_SUCCESS) { - Py_XINCREF(user_data); - Py_XDECREF(old_user_data); - } - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_buddy_get_user_data - */ -static PyObject *py_pjsua_buddy_get_user_data(PyObject *pSelf, PyObject *pArgs) -{ - int buddy_id; - PyObject *user_data; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &buddy_id)) { - return NULL; - } - - user_data = (PyObject*) pjsua_buddy_get_user_data(buddy_id); - - return user_data? Py_BuildValue("O", user_data) : Py_BuildValue(""); -} - -/* - * py_pjsua_buddy_subscribe_pres - */ -static PyObject *py_pjsua_buddy_subscribe_pres(PyObject *pSelf, - PyObject *pArgs) -{ - int buddy_id; - int status; - int subscribe; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &buddy_id, &subscribe)) { - return NULL; - } - - status = pjsua_buddy_subscribe_pres(buddy_id, subscribe); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_pres_dump - */ -static PyObject *py_pjsua_pres_dump(PyObject *pSelf, PyObject *pArgs) -{ - int verbose; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &verbose)) { - return NULL; - } - - pjsua_pres_dump(verbose); - - return Py_BuildValue(""); -} - -/* - * py_pjsua_im_send - */ -static PyObject *py_pjsua_im_send(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int acc_id; - pj_str_t *mime_type, tmp_mime_type; - pj_str_t to, content; - PyObject *pTo; - PyObject *pMimeType; - PyObject *pContent; - pjsua_msg_data msg_data; - PyObject *pMsgData; - int user_data; - pj_pool_t *pool = NULL; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iOOOOi", &acc_id, - &pTo, &pMimeType, &pContent, &pMsgData, &user_data)) - { - return NULL; - } - - if (pMimeType != Py_None) { - mime_type = &tmp_mime_type; - tmp_mime_type = PyString_ToPJ(pMimeType); - } else { - mime_type = NULL; - } - - to = PyString_ToPJ(pTo); - content = PyString_ToPJ(pContent); - - pjsua_msg_data_init(&msg_data); - - if (pMsgData != Py_None) { - PyObj_pjsua_msg_data *omd; - - omd = (PyObj_pjsua_msg_data *)pMsgData; - msg_data.content_type = PyString_ToPJ(omd->content_type); - msg_data.msg_body = PyString_ToPJ(omd->msg_body); - pool = pjsua_pool_create("pytmp", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - } - - status = pjsua_im_send(acc_id, &to, mime_type, &content, - &msg_data, (void*)(long)user_data); - if (pool) - pj_pool_release(pool); - - return Py_BuildValue("i",status); -} - -/* - * py_pjsua_im_typing - */ -static PyObject *py_pjsua_im_typing(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int acc_id; - pj_str_t to; - PyObject *pTo; - int is_typing; - pjsua_msg_data msg_data; - PyObject *pMsgData; - pj_pool_t *pool = NULL; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iOiO", &acc_id, &pTo, &is_typing, - &pMsgData)) - { - return NULL; - } - - to = PyString_ToPJ(pTo); - - pjsua_msg_data_init(&msg_data); - - if (pMsgData != Py_None) { - PyObj_pjsua_msg_data *omd; - - omd = (PyObj_pjsua_msg_data *)pMsgData; - msg_data.content_type = PyString_ToPJ(omd->content_type); - msg_data.msg_body = PyString_ToPJ(omd->msg_body); - pool = pjsua_pool_create("pytmp", POOL_SIZE, POOL_SIZE); - - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - } - - status = pjsua_im_typing(acc_id, &to, is_typing, &msg_data); - - if (pool) - pj_pool_release(pool); - - return Py_BuildValue("i", status); -} - -static char pjsua_buddy_config_default_doc[] = - "_pjsua.Buddy_Config _pjsua.buddy_config_default () " - "Set default values to the buddy config."; -static char pjsua_get_buddy_count_doc[] = - "int _pjsua.get_buddy_count () " - "Get total number of buddies."; -static char pjsua_buddy_is_valid_doc[] = - "int _pjsua.buddy_is_valid (int buddy_id) " - "Check if buddy ID is valid."; -static char pjsua_enum_buddies_doc[] = - "int[] _pjsua.enum_buddies () " - "Enum buddy IDs."; -static char pjsua_buddy_get_info_doc[] = - "_pjsua.Buddy_Info _pjsua.buddy_get_info (int buddy_id) " - "Get detailed buddy info."; -static char pjsua_buddy_add_doc[] = - "int,int _pjsua.buddy_add (_pjsua.Buddy_Config cfg) " - "Add new buddy."; -static char pjsua_buddy_del_doc[] = - "int _pjsua.buddy_del (int buddy_id) " - "Delete buddy."; -static char pjsua_buddy_subscribe_pres_doc[] = - "int _pjsua.buddy_subscribe_pres (int buddy_id, int subscribe) " - "Enable/disable buddy's presence monitoring."; -static char pjsua_pres_dump_doc[] = - "void _pjsua.pres_dump (int verbose) " - "Dump presence subscriptions to log file."; -static char pjsua_im_send_doc[] = - "int _pjsua.im_send (int acc_id, string to, string mime_type, " - "string content, _pjsua.Msg_Data msg_data, int user_data) " - "Send instant messaging outside dialog, using the specified account " - "for route set and authentication."; -static char pjsua_im_typing_doc[] = - "int _pjsua.im_typing (int acc_id, string to, int is_typing, " - "_pjsua.Msg_Data msg_data) " - "Send typing indication outside dialog."; - -/* END OF LIB BUDDY */ - -/* LIB MEDIA */ - - -/* - * py_pjsua_conf_get_max_ports - */ -static PyObject *py_pjsua_conf_get_max_ports(PyObject *pSelf, PyObject *pArgs) -{ - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - return Py_BuildValue("i", pjsua_conf_get_max_ports()); -} - -/* - * py_pjsua_conf_get_active_ports - */ -static PyObject *py_pjsua_conf_get_active_ports(PyObject *pSelf, - PyObject *pArgs) -{ - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - return Py_BuildValue("i", pjsua_conf_get_active_ports()); -} - -/* - * py_pjsua_enum_conf_ports - */ -static PyObject *py_pjsua_enum_conf_ports(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - PyObject *list; - pjsua_conf_port_id id[PJSUA_MAX_CONF_PORTS]; - unsigned c, i; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - c = PJ_ARRAY_SIZE(id); - status = pjsua_enum_conf_ports(id, &c); - if (status != PJ_SUCCESS) - c = 0; - - list = PyList_New(c); - for (i = 0; i < c; i++) { - PyList_SetItem(list, i, Py_BuildValue("i", id[i])); - } - - return (PyObject*)list; -} - -/* - * py_pjsua_conf_get_port_info - */ -static PyObject *py_pjsua_conf_get_port_info(PyObject *pSelf, PyObject *pArgs) -{ - int id; - PyObj_pjsua_conf_port_info *ret; - pjsua_conf_port_info info; - int status; - unsigned i; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &id)) { - return NULL; - } - - status = pjsua_conf_get_port_info(id, &info); - ret = (PyObj_pjsua_conf_port_info *) - conf_port_info_new(&PyTyp_pjsua_conf_port_info, NULL, NULL); - ret->bits_per_sample = info.bits_per_sample; - ret->channel_count = info.channel_count; - ret->clock_rate = info.clock_rate; - ret->name = PyString_FromPJ(&info.name); - ret->samples_per_frame = info.samples_per_frame; - ret->slot_id = info.slot_id; - Py_XDECREF(ret->listeners); - ret->listeners = PyList_New(info.listener_cnt); - for (i = 0; i < info.listener_cnt; i++) { - PyObject *item = Py_BuildValue("i",info.listeners[i]); - PyList_SetItem(ret->listeners, i, item); - } - return (PyObject*)ret; -} - -/* - * py_pjsua_conf_remove_port - */ -static PyObject *py_pjsua_conf_remove_port(PyObject *pSelf, PyObject *pArgs) -{ - int id; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &id)) { - return NULL; - } - - status = pjsua_conf_remove_port(id); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_conf_connect - */ -static PyObject *py_pjsua_conf_connect(PyObject *pSelf, PyObject *pArgs) -{ - int source, sink; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &source, &sink)) { - return NULL; - } - - status = pjsua_conf_connect(source, sink); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_conf_disconnect - */ -static PyObject *py_pjsua_conf_disconnect(PyObject *pSelf, PyObject *pArgs) -{ - int source, sink; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &source, &sink)) { - return NULL; - } - - status = pjsua_conf_disconnect(source, sink); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_conf_set_tx_level - */ -static PyObject *py_pjsua_conf_set_tx_level(PyObject *pSelf, PyObject *pArgs) -{ - int slot; - float level; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "if", &slot, &level)) { - return NULL; - } - - status = pjsua_conf_adjust_tx_level(slot, level); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_conf_set_rx_level - */ -static PyObject *py_pjsua_conf_set_rx_level(PyObject *pSelf, PyObject *pArgs) -{ - int slot; - float level; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "if", &slot, &level)) { - return NULL; - } - - status = pjsua_conf_adjust_rx_level(slot, level); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_conf_get_signal_level - */ -static PyObject *py_pjsua_conf_get_signal_level(PyObject *pSelf, - PyObject *pArgs) -{ - int slot; - unsigned tx_level, rx_level; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &slot)) { - return NULL; - } - - status = pjsua_conf_get_signal_level(slot, &tx_level, &rx_level); - - return Py_BuildValue("iff", status, (float)(tx_level/255.0), - (float)(rx_level/255.0)); -} - -/* - * py_pjsua_player_create - */ -static PyObject *py_pjsua_player_create(PyObject *pSelf, PyObject *pArgs) -{ - int id; - int options; - PyObject *pFilename; - pj_str_t filename; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "Oi", &pFilename, &options)) { - return NULL; - } - - filename = PyString_ToPJ(pFilename); - status = pjsua_player_create(&filename, options, &id); - - return Py_BuildValue("ii", status, id); -} - -/* - * py_pjsua_playlist_create - */ -static PyObject *py_pjsua_playlist_create(PyObject *pSelf, PyObject *pArgs) -{ - int id; - int options; - PyObject *pLabel, *pFileList; - pj_str_t label; - int count; - pj_str_t files[64]; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "OOi", &pLabel, &pFileList, &options)) { - return NULL; - } - - label = PyString_ToPJ(pLabel); - if (!PyList_Check(pFileList)) - return Py_BuildValue("ii", PJ_EINVAL, PJSUA_INVALID_ID); - - count = 0; - for (count=0; countdefault_samples_per_sec = info[i].default_samples_per_sec; - obj->input_count = info[i].input_count; - obj->output_count = info[i].output_count; - obj->name = PyString_FromString(info[i].name); - - PyList_SetItem(ret, i, (PyObject *)obj); - } - - return (PyObject*)ret; -} - -/* - * py_pjsua_get_snd_dev - */ -static PyObject *py_pjsua_get_snd_dev(PyObject *pSelf, PyObject *pArgs) -{ - int capture_dev, playback_dev; - int status; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - status = pjsua_get_snd_dev(&capture_dev, &playback_dev); - - return Py_BuildValue("ii", capture_dev, playback_dev); -} - -/* - * py_pjsua_set_snd_dev - */ -static PyObject *py_pjsua_set_snd_dev(PyObject *pSelf, PyObject *pArgs) -{ - int capture_dev, playback_dev; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &capture_dev, &playback_dev)) { - return NULL; - } - - status = pjsua_set_snd_dev(capture_dev, playback_dev); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_set_null_snd_dev - */ -static PyObject *py_pjsua_set_null_snd_dev(PyObject *pSelf, PyObject *pArgs) -{ - int status; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - status = pjsua_set_null_snd_dev(); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_set_ec - */ -static PyObject *py_pjsua_set_ec(PyObject *pSelf, PyObject *pArgs) -{ - int options; - int tail_ms; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "ii", &tail_ms, &options)) { - return NULL; - } - - status = pjsua_set_ec(tail_ms, options); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_get_ec_tail - */ -static PyObject *py_pjsua_get_ec_tail(PyObject *pSelf, PyObject *pArgs) -{ - int status; - unsigned tail_ms; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - status = pjsua_get_ec_tail(&tail_ms); - if (status != PJ_SUCCESS) - tail_ms = 0; - - return Py_BuildValue("i", tail_ms); -} - -/* - * py_pjsua_enum_codecs - */ -static PyObject *py_pjsua_enum_codecs(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - PyObject *ret; - pjsua_codec_info info[PJMEDIA_CODEC_MGR_MAX_CODECS]; - unsigned c, i; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - c = PJ_ARRAY_SIZE(info); - status = pjsua_enum_codecs(info, &c); - if (status != PJ_SUCCESS) - c = 0; - - ret = PyList_New(c); - for (i = 0; i < c; i++) { - PyObj_pjsua_codec_info * obj; - obj = (PyObj_pjsua_codec_info *) - codec_info_new(&PyTyp_pjsua_codec_info, NULL, NULL); - obj->codec_id = PyString_FromPJ(&info[i].codec_id); - obj->priority = info[i].priority; - - PyList_SetItem(ret, i, (PyObject *)obj); - } - - return (PyObject*)ret; -} - -/* - * py_pjsua_codec_set_priority - */ -static PyObject *py_pjsua_codec_set_priority(PyObject *pSelf, PyObject *pArgs) -{ - int status; - PyObject *pCodecId; - pj_str_t codec_id; - int priority; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "Oi", &pCodecId, &priority)) { - return NULL; - } - - codec_id = PyString_ToPJ(pCodecId); - if (priority < 0) - priority = 0; - if (priority > 255) - priority = 255; - - status = pjsua_codec_set_priority(&codec_id, (pj_uint8_t)priority); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_codec_get_param - */ -static PyObject *py_pjsua_codec_get_param(PyObject *pSelf, PyObject *pArgs) -{ - int status; - PyObject *pCodecId; - pj_str_t codec_id; - pjmedia_codec_param param; - PyObj_pjmedia_codec_param *ret; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "O", &pCodecId)) { - return NULL; - } - - codec_id = PyString_ToPJ(pCodecId); - - status = pjsua_codec_get_param(&codec_id, ¶m); - if (status != PJ_SUCCESS) - return Py_BuildValue(""); - - ret = (PyObj_pjmedia_codec_param *) - pjmedia_codec_param_new(&PyTyp_pjmedia_codec_param, NULL, NULL); - - ret->info->avg_bps = param.info.avg_bps; - ret->info->channel_cnt = param.info.channel_cnt; - ret->info->clock_rate = param.info.clock_rate; - ret->info->frm_ptime = param.info.frm_ptime; - ret->info->pcm_bits_per_sample = param.info.pcm_bits_per_sample; - ret->info->pt = param.info.pt; - ret->setting->cng = param.setting.cng; - //ret->setting->dec_fmtp_mode = param.setting.dec_fmtp_mode; - //ret->setting->enc_fmtp_mode = param.setting.enc_fmtp_mode; - ret->setting->frm_per_pkt = param.setting.frm_per_pkt; - ret->setting->penh = param.setting.penh; - ret->setting->plc = param.setting.plc; - ret->setting->vad = param.setting.vad; - - return (PyObject*)ret; -} - - -/* - * py_pjsua_codec_set_param - */ -static PyObject *py_pjsua_codec_set_param(PyObject *pSelf, PyObject *pArgs) -{ - int status; - PyObject *pCodecId, *pCodecParam; - pj_str_t codec_id; - pjmedia_codec_param param; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "OO", &pCodecId, &pCodecParam)) { - return NULL; - } - - codec_id = PyString_ToPJ(pCodecId); - - if (pCodecParam != Py_None) { - PyObj_pjmedia_codec_param *obj; - - obj = (PyObj_pjmedia_codec_param *)pCodecParam; - - param.info.avg_bps = obj->info->avg_bps; - param.info.channel_cnt = obj->info->channel_cnt; - param.info.clock_rate = obj->info->clock_rate; - param.info.frm_ptime = obj->info->frm_ptime; - param.info.pcm_bits_per_sample = obj->info->pcm_bits_per_sample; - param.info.pt = obj->info->pt; - param.setting.cng = obj->setting->cng; - //param.setting.dec_fmtp_mode = obj->setting->dec_fmtp_mode; - //param.setting.enc_fmtp_mode = obj->setting->enc_fmtp_mode; - param.setting.frm_per_pkt = obj->setting->frm_per_pkt; - param.setting.penh = obj->setting->penh; - param.setting.plc = obj->setting->plc; - param.setting.vad = obj->setting->vad; - status = pjsua_codec_set_param(&codec_id, ¶m); - - } else { - status = pjsua_codec_set_param(&codec_id, NULL); - } - - return Py_BuildValue("i", status); -} - -static char pjsua_conf_get_max_ports_doc[] = - "int _pjsua.conf_get_max_ports () " - "Get maxinum number of conference ports."; -static char pjsua_conf_get_active_ports_doc[] = - "int _pjsua.conf_get_active_ports () " - "Get current number of active ports in the bridge."; -static char pjsua_enum_conf_ports_doc[] = - "int[] _pjsua.enum_conf_ports () " - "Enumerate all conference ports."; -static char pjsua_conf_get_port_info_doc[] = - "_pjsua.Conf_Port_Info _pjsua.conf_get_port_info (int id) " - "Get information about the specified conference port"; -static char pjsua_conf_remove_port_doc[] = - "int _pjsua.conf_remove_port (int id) " - "Remove arbitrary slot from the conference bridge. " - "Application should only call this function " - "if it registered the port manually."; -static char pjsua_conf_connect_doc[] = - "int _pjsua.conf_connect (int source, int sink) " - "Establish unidirectional media flow from souce to sink. " - "One source may transmit to multiple destinations/sink. " - "And if multiple sources are transmitting to the same sink, " - "the media will be mixed together. Source and sink may refer " - "to the same ID, effectively looping the media. " - "If bidirectional media flow is desired, application " - "needs to call this function twice, with the second " - "one having the arguments reversed."; -static char pjsua_conf_disconnect_doc[] = - "int _pjsua.conf_disconnect (int source, int sink) " - "Disconnect media flow from the source to destination port."; -static char pjsua_player_create_doc[] = - "int, int _pjsua.player_create (string filename, int options) " - "Create a file player, and automatically connect " - "this player to the conference bridge."; -static char pjsua_player_get_conf_port_doc[] = - "int _pjsua.player_get_conf_port (int) " - "Get conference port ID associated with player."; -static char pjsua_player_set_pos_doc[] = - "int _pjsua.player_set_pos (int id, int samples) " - "Set playback position."; -static char pjsua_player_destroy_doc[] = - "int _pjsua.player_destroy (int id) " - "Close the file, remove the player from the bridge, " - "and free resources associated with the file player."; -static char pjsua_recorder_create_doc[] = - "int, int _pjsua.recorder_create (string filename, " - "int enc_type, int enc_param, int max_size, int options) " - "Create a file recorder, and automatically connect this recorder " - "to the conference bridge. The recorder currently supports recording " - "WAV file, and on Windows, MP3 file. The type of the recorder to use " - "is determined by the extension of the file (e.g. '.wav' or '.mp3')."; -static char pjsua_recorder_get_conf_port_doc[] = - "int _pjsua.recorder_get_conf_port (int id) " - "Get conference port associated with recorder."; -static char pjsua_recorder_destroy_doc[] = - "int _pjsua.recorder_destroy (int id) " - "Destroy recorder (this will complete recording)."; -static char pjsua_enum_snd_devs_doc[] = - "_pjsua.PJMedia_Snd_Dev_Info[] _pjsua.enum_snd_devs (int count) " - "Enum sound devices."; -static char pjsua_get_snd_dev_doc[] = - "int, int _pjsua.get_snd_dev () " - "Get currently active sound devices. " - "If sound devices has not been created " - "(for example when pjsua_start() is not called), " - "it is possible that the function returns " - "PJ_SUCCESS with -1 as device IDs."; -static char pjsua_set_snd_dev_doc[] = - "int _pjsua.set_snd_dev (int capture_dev, int playback_dev) " - "Select or change sound device. Application may call this function " - "at any time to replace current sound device."; -static char pjsua_set_null_snd_dev_doc[] = - "int _pjsua.set_null_snd_dev () " - "Set pjsua to use null sound device. The null sound device only " - "provides the timing needed by the conference bridge, and will not " - "interract with any hardware."; -static char pjsua_set_ec_doc[] = - "int _pjsua.set_ec (int tail_ms, int options) " - "Configure the echo canceller tail length of the sound port."; -static char pjsua_get_ec_tail_doc[] = - "int _pjsua.get_ec_tail () " - "Get current echo canceller tail length."; -static char pjsua_enum_codecs_doc[] = - "_pjsua.Codec_Info[] _pjsua.enum_codecs () " - "Enum all supported codecs in the system."; -static char pjsua_codec_set_priority_doc[] = - "int _pjsua.codec_set_priority (string id, int priority) " - "Change codec priority."; -static char pjsua_codec_get_param_doc[] = - "_pjsua.PJMedia_Codec_Param _pjsua.codec_get_param (string id) " - "Get codec parameters"; -static char pjsua_codec_set_param_doc[] = - "int _pjsua.codec_set_param (string id, " - "_pjsua.PJMedia_Codec_Param param) " - "Set codec parameters."; - -/* END OF LIB MEDIA */ - -/* LIB CALL */ - -/* - * py_pjsua_call_get_max_count - */ -static PyObject *py_pjsua_call_get_max_count(PyObject *pSelf, PyObject *pArgs) -{ - int count; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - count = pjsua_call_get_max_count(); - - return Py_BuildValue("i", count); -} - -/* - * py_pjsua_call_get_count - */ -static PyObject *py_pjsua_call_get_count(PyObject *pSelf, PyObject *pArgs) -{ - int count; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - count = pjsua_call_get_count(); - - return Py_BuildValue("i", count); -} - -/* - * py_pjsua_enum_calls - */ -static PyObject *py_pjsua_enum_calls(PyObject *pSelf, PyObject *pArgs) -{ - pj_status_t status; - PyObject *ret; - pjsua_transport_id id[PJSUA_MAX_CALLS]; - unsigned c, i; - - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - c = PJ_ARRAY_SIZE(id); - status = pjsua_enum_calls(id, &c); - if (status != PJ_SUCCESS) - c = 0; - - ret = PyList_New(c); - for (i = 0; i < c; i++) { - PyList_SetItem(ret, i, Py_BuildValue("i", id[i])); - } - - return (PyObject*)ret; -} - -/* - * py_pjsua_call_make_call - */ -static PyObject *py_pjsua_call_make_call(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int acc_id; - pj_str_t dst_uri; - PyObject *pDstUri, *pMsgData, *pUserData; - unsigned options; - pjsua_msg_data msg_data; - int call_id; - pj_pool_t *pool = NULL; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iOIOO", &acc_id, &pDstUri, &options, - &pUserData, &pMsgData)) - { - return NULL; - } - - dst_uri = PyString_ToPJ(pDstUri); - pjsua_msg_data_init(&msg_data); - - if (pMsgData != Py_None) { - PyObj_pjsua_msg_data * omd; - - omd = (PyObj_pjsua_msg_data *)pMsgData; - - msg_data.content_type = PyString_ToPJ(omd->content_type); - msg_data.msg_body = PyString_ToPJ(omd->msg_body); - pool = pjsua_pool_create("pytmp", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - } - - Py_XINCREF(pUserData); - - status = pjsua_call_make_call(acc_id, &dst_uri, - options, (void*)pUserData, - &msg_data, &call_id); - if (pool != NULL) - pj_pool_release(pool); - - if (status != PJ_SUCCESS) { - Py_XDECREF(pUserData); - } - - return Py_BuildValue("ii", status, call_id); -} - -/* - * py_pjsua_call_is_active - */ -static PyObject *py_pjsua_call_is_active(PyObject *pSelf, PyObject *pArgs) -{ - int call_id; - int is_active; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &call_id)) { - return NULL; - } - - is_active = pjsua_call_is_active(call_id); - - return Py_BuildValue("i", is_active); -} - -/* - * py_pjsua_call_has_media - */ -static PyObject *py_pjsua_call_has_media(PyObject *pSelf, PyObject *pArgs) -{ - int call_id; - int has_media; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &call_id)) { - return NULL; - } - - has_media = pjsua_call_has_media(call_id); - - return Py_BuildValue("i", has_media); -} - -/* - * py_pjsua_call_get_conf_port - */ -static PyObject* py_pjsua_call_get_conf_port(PyObject *pSelf, PyObject *pArgs) -{ - int call_id; - int port_id; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &call_id)) { - return NULL; - } - - port_id = pjsua_call_get_conf_port(call_id); - - return Py_BuildValue("i", port_id); -} - -/* - * py_pjsua_call_get_info - */ -static PyObject* py_pjsua_call_get_info(PyObject *pSelf, PyObject *pArgs) -{ - int call_id; - int status; - PyObj_pjsua_call_info *ret; - pjsua_call_info info; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &call_id)) { - return NULL; - } - - status = pjsua_call_get_info(call_id, &info); - if (status != PJ_SUCCESS) - return Py_BuildValue(""); - - ret = (PyObj_pjsua_call_info *)call_info_new(&PyTyp_pjsua_call_info, - NULL, NULL); - ret->acc_id = info.acc_id; - Py_XDECREF(ret->call_id); - ret->call_id = PyString_FromPJ(&info.call_id); - ret->conf_slot = info.conf_slot; - ret->connect_duration = info.connect_duration.sec * 1000 + - info.connect_duration.msec; - ret->total_duration = info.total_duration.sec * 1000 + - info.total_duration.msec; - ret->id = info.id; - ret->last_status = info.last_status; - Py_XDECREF(ret->last_status_text); - ret->last_status_text = PyString_FromPJ(&info.last_status_text); - Py_XDECREF(ret->local_contact); - ret->local_contact = PyString_FromPJ(&info.local_contact); - Py_XDECREF(ret->local_info); - ret->local_info = PyString_FromPJ(&info.local_info); - Py_XDECREF(ret->remote_contact); - ret->remote_contact = PyString_FromPJ(&info.remote_contact); - Py_XDECREF(ret->remote_info); - ret->remote_info = PyString_FromPJ(&info.remote_info); - ret->media_dir = info.media_dir; - ret->media_status = info.media_status; - ret->role = info.role; - ret->state = info.state; - Py_XDECREF(ret->state_text); - ret->state_text = PyString_FromPJ(&info.state_text); - - return (PyObject*)ret; -} - -/* - * py_pjsua_call_set_user_data - */ -static PyObject *py_pjsua_call_set_user_data(PyObject *pSelf, PyObject *pArgs) -{ - int call_id; - PyObject *pUserData, *old_user_data; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iO", &call_id, &pUserData)) { - return NULL; - } - - old_user_data = (PyObject*) pjsua_call_get_user_data(call_id); - - if (old_user_data == pUserData) { - return Py_BuildValue("i", PJ_SUCCESS); - } - - Py_XINCREF(pUserData); - Py_XDECREF(old_user_data); - - status = pjsua_call_set_user_data(call_id, (void*)pUserData); - - if (status != PJ_SUCCESS) { - Py_XDECREF(pUserData); - } - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_call_get_user_data - */ -static PyObject *py_pjsua_call_get_user_data(PyObject *pSelf, PyObject *pArgs) -{ - int call_id; - PyObject *user_data; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &call_id)) { - return NULL; - } - - user_data = (PyObject*)pjsua_call_get_user_data(call_id); - return user_data ? Py_BuildValue("O", user_data) : Py_BuildValue(""); -} - -/* - * py_pjsua_call_answer - */ -static PyObject *py_pjsua_call_answer(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int call_id; - pj_str_t * reason, tmp_reason; - PyObject *pReason; - unsigned code; - pjsua_msg_data msg_data; - PyObject * omdObj; - pj_pool_t * pool = NULL; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iIOO", &call_id, &code, &pReason, &omdObj)) { - return NULL; - } - - if (pReason == Py_None) { - reason = NULL; - } else { - reason = &tmp_reason; - tmp_reason = PyString_ToPJ(pReason); - } - - pjsua_msg_data_init(&msg_data); - if (omdObj != Py_None) { - PyObj_pjsua_msg_data *omd; - - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type = PyString_ToPJ(omd->content_type); - msg_data.msg_body = PyString_ToPJ(omd->msg_body); - pool = pjsua_pool_create("pytmp", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - } - - status = pjsua_call_answer(call_id, code, reason, &msg_data); - - if (pool) - pj_pool_release(pool); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_call_hangup - */ -static PyObject *py_pjsua_call_hangup(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int call_id; - pj_str_t *reason, tmp_reason; - PyObject *pReason; - unsigned code; - pjsua_msg_data msg_data; - PyObject *omdObj; - pj_pool_t *pool = NULL; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iIOO", &call_id, &code, &pReason, - &omdObj)) - { - return NULL; - } - - if (pReason == Py_None) { - reason = NULL; - } else { - reason = &tmp_reason; - tmp_reason = PyString_ToPJ(pReason); - } - - pjsua_msg_data_init(&msg_data); - if (omdObj != Py_None) { - PyObj_pjsua_msg_data *omd; - - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type = PyString_ToPJ(omd->content_type); - msg_data.msg_body = PyString_ToPJ(omd->msg_body); - pool = pjsua_pool_create("pytmp", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - } - - status = pjsua_call_hangup(call_id, code, reason, &msg_data); - if (pool) - pj_pool_release(pool); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_call_set_hold - */ -static PyObject *py_pjsua_call_set_hold(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int call_id; - pjsua_msg_data msg_data; - PyObject *omdObj; - pj_pool_t *pool = NULL; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iO", &call_id, &omdObj)) { - return NULL; - } - - pjsua_msg_data_init(&msg_data); - if (omdObj != Py_None) { - PyObj_pjsua_msg_data *omd; - - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type = PyString_ToPJ(omd->content_type); - msg_data.msg_body = PyString_ToPJ(omd->msg_body); - pool = pjsua_pool_create("pytmp", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - } - - status = pjsua_call_set_hold(call_id, &msg_data); - - if (pool) - pj_pool_release(pool); - - return Py_BuildValue("i",status); -} - -/* - * py_pjsua_call_reinvite - */ -static PyObject *py_pjsua_call_reinvite(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int call_id; - int unhold; - pjsua_msg_data msg_data; - PyObject *omdObj; - pj_pool_t *pool = NULL; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iiO", &call_id, &unhold, &omdObj)) { - return NULL; - } - - pjsua_msg_data_init(&msg_data); - if (omdObj != Py_None) { - PyObj_pjsua_msg_data *omd; - - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type = PyString_ToPJ(omd->content_type); - msg_data.msg_body = PyString_ToPJ(omd->msg_body); - pool = pjsua_pool_create("pytmp", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - } - - status = pjsua_call_reinvite(call_id, unhold, &msg_data); - - if (pool) - pj_pool_release(pool); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_call_update - */ -static PyObject *py_pjsua_call_update(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int call_id; - int option; - pjsua_msg_data msg_data; - PyObject *omdObj; - pj_pool_t *pool = NULL; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iiO", &call_id, &option, &omdObj)) { - return NULL; - } - - pjsua_msg_data_init(&msg_data); - if (omdObj != Py_None) { - PyObj_pjsua_msg_data *omd; - - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type = PyString_ToPJ(omd->content_type); - msg_data.msg_body = PyString_ToPJ(omd->msg_body); - pool = pjsua_pool_create("pytmp", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - } - - status = pjsua_call_update(call_id, option, &msg_data); - - if (pool) - pj_pool_release(pool); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_call_send_request - */ -static PyObject *py_pjsua_call_send_request(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int call_id; - PyObject *pMethod; - pj_str_t method; - pjsua_msg_data msg_data; - PyObject *omdObj; - pj_pool_t *pool = NULL; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iOO", &call_id, &pMethod, &omdObj)) { - return NULL; - } - - if (!PyString_Check(pMethod)) { - return NULL; - } - - method = PyString_ToPJ(pMethod); - pjsua_msg_data_init(&msg_data); - - if (omdObj != Py_None) { - PyObj_pjsua_msg_data *omd; - - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type = PyString_ToPJ(omd->content_type); - msg_data.msg_body = PyString_ToPJ(omd->msg_body); - pool = pjsua_pool_create("pytmp", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - } - - status = pjsua_call_send_request(call_id, &method, &msg_data); - - if (pool) - pj_pool_release(pool); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_call_xfer - */ -static PyObject *py_pjsua_call_xfer(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int call_id; - pj_str_t dest; - PyObject *pDstUri; - pjsua_msg_data msg_data; - PyObject *omdObj; - pj_pool_t *pool = NULL; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iOO", &call_id, &pDstUri, &omdObj)) { - return NULL; - } - - if (!PyString_Check(pDstUri)) - return NULL; - - dest = PyString_ToPJ(pDstUri); - pjsua_msg_data_init(&msg_data); - - if (omdObj != Py_None) { - PyObj_pjsua_msg_data *omd; - - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type = PyString_ToPJ(omd->content_type); - msg_data.msg_body = PyString_ToPJ(omd->msg_body); - pool = pjsua_pool_create("pytmp", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - } - - status = pjsua_call_xfer(call_id, &dest, &msg_data); - - if (pool) - pj_pool_release(pool); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_call_xfer_replaces - */ -static PyObject *py_pjsua_call_xfer_replaces(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int call_id; - int dest_call_id; - unsigned options; - pjsua_msg_data msg_data; - PyObject *omdObj; - pj_pool_t *pool = NULL; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iiIO", &call_id, &dest_call_id, - &options, &omdObj)) - { - return NULL; - } - - pjsua_msg_data_init(&msg_data); - - if (omdObj != Py_None) { - PyObj_pjsua_msg_data *omd; - - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type = PyString_ToPJ(omd->content_type); - msg_data.msg_body = PyString_ToPJ(omd->msg_body); - pool = pjsua_pool_create("pytmp", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - } - - status = pjsua_call_xfer_replaces(call_id, dest_call_id, options, - &msg_data); - - if (pool) - pj_pool_release(pool); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_call_dial_dtmf - */ -static PyObject *py_pjsua_call_dial_dtmf(PyObject *pSelf, PyObject *pArgs) -{ - int call_id; - PyObject *pDigits; - pj_str_t digits; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iO", &call_id, &pDigits)) { - return NULL; - } - - if (!PyString_Check(pDigits)) - return Py_BuildValue("i", PJ_EINVAL); - - digits = PyString_ToPJ(pDigits); - status = pjsua_call_dial_dtmf(call_id, &digits); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_call_send_im - */ -static PyObject *py_pjsua_call_send_im(PyObject *pSelf, PyObject *pArgs) -{ - int status; - int call_id; - pj_str_t content; - pj_str_t * mime_type, tmp_mime_type; - PyObject *pMimeType, *pContent, *omdObj; - pjsua_msg_data msg_data; - int user_data; - pj_pool_t *pool = NULL; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iOOOi", &call_id, &pMimeType, &pContent, - &omdObj, &user_data)) - { - return NULL; - } - - if (!PyString_Check(pContent)) - return Py_BuildValue("i", PJ_EINVAL); - - content = PyString_ToPJ(pContent); - - if (PyString_Check(pMimeType)) { - mime_type = &tmp_mime_type; - tmp_mime_type = PyString_ToPJ(pMimeType); - } else { - mime_type = NULL; - } - - pjsua_msg_data_init(&msg_data); - if (omdObj != Py_None) { - PyObj_pjsua_msg_data * omd; - - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type = PyString_ToPJ(omd->content_type); - msg_data.msg_body = PyString_ToPJ(omd->msg_body); - pool = pjsua_pool_create("pytmp", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - } - - status = pjsua_call_send_im(call_id, mime_type, &content, - &msg_data, (void*)(long)user_data); - - if (pool) - pj_pool_release(pool); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_call_send_typing_ind - */ -static PyObject *py_pjsua_call_send_typing_ind(PyObject *pSelf, - PyObject *pArgs) -{ - int status; - int call_id; - int is_typing; - pjsua_msg_data msg_data; - PyObject *omdObj; - pj_pool_t *pool = NULL; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iiO", &call_id, &is_typing, &omdObj)) { - return NULL; - } - - pjsua_msg_data_init(&msg_data); - if (omdObj != Py_None) { - PyObj_pjsua_msg_data *omd; - - omd = (PyObj_pjsua_msg_data *)omdObj; - msg_data.content_type = PyString_ToPJ(omd->content_type); - msg_data.msg_body = PyString_ToPJ(omd->msg_body); - pool = pjsua_pool_create("pytmp", POOL_SIZE, POOL_SIZE); - translate_hdr(pool, &msg_data.hdr_list, omd->hdr_list); - } - - status = pjsua_call_send_typing_ind(call_id, is_typing, &msg_data); - - if (pool) - pj_pool_release(pool); - - return Py_BuildValue("i", status); -} - -/* - * py_pjsua_call_hangup_all - */ -static PyObject *py_pjsua_call_hangup_all(PyObject *pSelf, PyObject *pArgs) -{ - PJ_UNUSED_ARG(pSelf); - PJ_UNUSED_ARG(pArgs); - - pjsua_call_hangup_all(); - - return Py_BuildValue(""); -} - -/* - * py_pjsua_call_dump - */ -static PyObject *py_pjsua_call_dump(PyObject *pSelf, PyObject *pArgs) -{ - int call_id; - int with_media; - PyObject *ret; - PyObject *pIndent; - char *buffer; - char *indent; - unsigned maxlen; - int status; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "iiIO", &call_id, &with_media, - &maxlen, &pIndent)) - { - return NULL; - } - - buffer = (char*) malloc(maxlen * sizeof(char)); - indent = PyString_AsString(pIndent); - - status = pjsua_call_dump(call_id, with_media, buffer, maxlen, indent); - if (status != PJ_SUCCESS) { - free(buffer); - return PyString_FromString(""); - } - - ret = PyString_FromString(buffer); - free(buffer); - return (PyObject*)ret; -} - - -/* - * py_pjsua_dump - * Dump application states. - */ -static PyObject *py_pjsua_dump(PyObject *pSelf, PyObject *pArgs) -{ - int detail; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &detail)) { - return NULL; - } - - pjsua_dump(detail); - - return Py_BuildValue(""); -} - - -/* - * py_pj_strerror - */ -static PyObject *py_pj_strerror(PyObject *pSelf, PyObject *pArgs) -{ - int err; - char err_msg[PJ_ERR_MSG_SIZE]; - pj_str_t ret; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "i", &err)) { - return NULL; - } - - ret = pj_strerror(err, err_msg, sizeof(err_msg)); - - return PyString_FromStringAndSize(err_msg, ret.slen); -} - - -/* - * py_pj_parse_simple_sip - */ -static PyObject *py_pj_parse_simple_sip(PyObject *pSelf, PyObject *pArgs) -{ - const char *arg_uri; - pj_pool_t *pool; - char tmp[PJSIP_MAX_URL_SIZE]; - pjsip_uri *uri; - pjsip_sip_uri *sip_uri; - PyObject *ret, *item; - - PJ_UNUSED_ARG(pSelf); - - if (!PyArg_ParseTuple(pArgs, "s", &arg_uri)) { - return NULL; - } - - strncpy(tmp, arg_uri, sizeof(tmp)); - tmp[sizeof(tmp)-1] = '\0'; - - pool = pjsua_pool_create("py_pj_parse_simple_sip", 512, 512); - uri = pjsip_parse_uri(pool, tmp, strlen(tmp), 0); - - if (uri == NULL || (!PJSIP_URI_SCHEME_IS_SIP(uri) && - !PJSIP_URI_SCHEME_IS_SIPS(uri))) { - pj_pool_release(pool); - return Py_BuildValue(""); - } - - ret = PyTuple_New(5); - sip_uri = (pjsip_sip_uri*) pjsip_uri_get_uri(uri); - - /* Scheme */ - item = PyString_FromPJ(pjsip_uri_get_scheme(uri)); - PyTuple_SetItem(ret, 0, item); - - /* Username */ - item = PyString_FromPJ(&sip_uri->user); - PyTuple_SetItem(ret, 1, item); - - /* Host */ - item = PyString_FromPJ(&sip_uri->host); - PyTuple_SetItem(ret, 2, item); - - /* Port */ - if (sip_uri->port == 5060) { - sip_uri->port = 0; - } - item = Py_BuildValue("i", sip_uri->port); - PyTuple_SetItem(ret, 3, item); - - /* Transport */ - if (pj_stricmp2(&sip_uri->transport_param, "udp")) { - sip_uri->transport_param.ptr = ""; - sip_uri->transport_param.slen = 0; - } - item = PyString_FromPJ(&sip_uri->transport_param); - PyTuple_SetItem(ret, 4, item); - - pj_pool_release(pool); - return ret; -} - - -static char pjsua_call_get_max_count_doc[] = - "int _pjsua.call_get_max_count () " - "Get maximum number of calls configured in pjsua."; -static char pjsua_call_get_count_doc[] = - "int _pjsua.call_get_count () " - "Get number of currently active calls."; -static char pjsua_enum_calls_doc[] = - "int[] _pjsua.enum_calls () " - "Get maximum number of calls configured in pjsua."; -static char pjsua_call_make_call_doc[] = - "int,int _pjsua.call_make_call (int acc_id, string dst_uri, int options," - "int user_data, _pjsua.Msg_Data msg_data) " - "Make outgoing call to the specified URI using the specified account."; -static char pjsua_call_is_active_doc[] = - "int _pjsua.call_is_active (int call_id) " - "Check if the specified call has active INVITE session and the INVITE " - "session has not been disconnected."; -static char pjsua_call_has_media_doc[] = - "int _pjsua.call_has_media (int call_id) " - "Check if call has an active media session."; -static char pjsua_call_get_conf_port_doc[] = - "int _pjsua.call_get_conf_port (int call_id) " - "Get the conference port identification associated with the call."; -static char pjsua_call_get_info_doc[] = - "_pjsua.Call_Info _pjsua.call_get_info (int call_id) " - "Obtain detail information about the specified call."; -static char pjsua_call_set_user_data_doc[] = - "int _pjsua.call_set_user_data (int call_id, int user_data) " - "Attach application specific data to the call."; -static char pjsua_call_get_user_data_doc[] = - "int _pjsua.call_get_user_data (int call_id) " - "Get user data attached to the call."; -static char pjsua_call_answer_doc[] = - "int _pjsua.call_answer (int call_id, int code, string reason, " - "_pjsua.Msg_Data msg_data) " - "Send response to incoming INVITE request."; -static char pjsua_call_hangup_doc[] = - "int _pjsua.call_hangup (int call_id, int code, string reason, " - "_pjsua.Msg_Data msg_data) " - "Hangup call by using method that is appropriate according " - "to the call state."; -static char pjsua_call_set_hold_doc[] = - "int _pjsua.call_set_hold (int call_id, _pjsua.Msg_Data msg_data) " - "Put the specified call on hold."; -static char pjsua_call_reinvite_doc[] = - "int _pjsua.call_reinvite (int call_id, int unhold, " - "_pjsua.Msg_Data msg_data) " - "Send re-INVITE (to release hold)."; -static char pjsua_call_xfer_doc[] = - "int _pjsua.call_xfer (int call_id, string dest, " - "_pjsua.Msg_Data msg_data) " - "Initiate call transfer to the specified address. " - "This function will send REFER request to instruct remote call party " - "to initiate a new INVITE session to the specified destination/target."; -static char pjsua_call_xfer_replaces_doc[] = - "int _pjsua.call_xfer_replaces (int call_id, int dest_call_id, " - "int options, _pjsua.Msg_Data msg_data) " - "Initiate attended call transfer. This function will send REFER request " - "to instruct remote call party to initiate new INVITE session to the URL " - "of dest_call_id. The party at dest_call_id then should 'replace' the call" - "with us with the new call from the REFER recipient."; -static char pjsua_call_dial_dtmf_doc[] = - "int _pjsua.call_dial_dtmf (int call_id, string digits) " - "Send DTMF digits to remote using RFC 2833 payload formats."; -static char pjsua_call_send_im_doc[] = - "int _pjsua.call_send_im (int call_id, string mime_type, string content," - "_pjsua.Msg_Data msg_data, int user_data) " - "Send instant messaging inside INVITE session."; -static char pjsua_call_send_typing_ind_doc[] = - "int _pjsua.call_send_typing_ind (int call_id, int is_typing, " - "_pjsua.Msg_Data msg_data) " - "Send IM typing indication inside INVITE session."; -static char pjsua_call_hangup_all_doc[] = - "void _pjsua.call_hangup_all () " - "Terminate all calls."; -static char pjsua_call_dump_doc[] = - "int _pjsua.call_dump (int call_id, int with_media, int maxlen, " - "string indent) " - "Dump call and media statistics to string."; - -/* END OF LIB CALL */ - -/* - * Map of function names to functions - */ -static PyMethodDef py_pjsua_methods[] = -{ - { - "thread_register", py_pjsua_thread_register, METH_VARARGS, - pjsua_thread_register_doc - }, - { - "perror", py_pjsua_perror, METH_VARARGS, pjsua_perror_doc - }, - { - "create", py_pjsua_create, METH_VARARGS, pjsua_create_doc - }, - { - "init", py_pjsua_init, METH_VARARGS, pjsua_init_doc - }, - { - "start", py_pjsua_start, METH_VARARGS, pjsua_start_doc - }, - { - "destroy", py_pjsua_destroy, METH_VARARGS, pjsua_destroy_doc - }, - { - "handle_events", py_pjsua_handle_events, METH_VARARGS, - pjsua_handle_events_doc - }, - { - "verify_sip_url", py_pjsua_verify_sip_url, METH_VARARGS, - pjsua_verify_sip_url_doc - }, - { - "reconfigure_logging", py_pjsua_reconfigure_logging, METH_VARARGS, - pjsua_reconfigure_logging_doc - }, - { - "logging_config_default", py_pjsua_logging_config_default, - METH_VARARGS, pjsua_logging_config_default_doc - }, - { - "config_default", py_pjsua_config_default, METH_VARARGS, - pjsua_config_default_doc - }, - { - "media_config_default", py_pjsua_media_config_default, METH_VARARGS, - pjsua_media_config_default_doc - }, - - - { - "msg_data_init", py_pjsua_msg_data_init, METH_VARARGS, - pjsua_msg_data_init_doc - }, - { - "transport_config_default", py_pjsua_transport_config_default, - METH_VARARGS,pjsua_transport_config_default_doc - }, - { - "transport_create", py_pjsua_transport_create, METH_VARARGS, - pjsua_transport_create_doc - }, - { - "transport_enum_transports", py_pjsua_enum_transports, METH_VARARGS, - pjsua_enum_transports_doc - }, - { - "transport_get_info", py_pjsua_transport_get_info, METH_VARARGS, - pjsua_transport_get_info_doc - }, - { - "transport_set_enable", py_pjsua_transport_set_enable, METH_VARARGS, - pjsua_transport_set_enable_doc - }, - { - "transport_close", py_pjsua_transport_close, METH_VARARGS, - pjsua_transport_close_doc - }, - { - "acc_config_default", py_pjsua_acc_config_default, METH_VARARGS, - pjsua_acc_config_default_doc - }, - { - "acc_get_count", py_pjsua_acc_get_count, METH_VARARGS, - pjsua_acc_get_count_doc - }, - { - "acc_is_valid", py_pjsua_acc_is_valid, METH_VARARGS, - pjsua_acc_is_valid_doc - }, - { - "acc_set_default", py_pjsua_acc_set_default, METH_VARARGS, - pjsua_acc_set_default_doc - }, - { - "acc_get_default", py_pjsua_acc_get_default, METH_VARARGS, - pjsua_acc_get_default_doc - }, - { - "acc_add", py_pjsua_acc_add, METH_VARARGS, - pjsua_acc_add_doc - }, - { - "acc_add_local", py_pjsua_acc_add_local, METH_VARARGS, - pjsua_acc_add_local_doc - }, - { - "acc_del", py_pjsua_acc_del, METH_VARARGS, - pjsua_acc_del_doc - }, - { - "acc_set_user_data", py_pjsua_acc_set_user_data, METH_VARARGS, - "Accociate user data with the account" - }, - { - "acc_get_user_data", py_pjsua_acc_get_user_data, METH_VARARGS, - "Get account's user data" - }, - { - "acc_modify", py_pjsua_acc_modify, METH_VARARGS, - pjsua_acc_modify_doc - }, - { - "acc_set_online_status", py_pjsua_acc_set_online_status, METH_VARARGS, - pjsua_acc_set_online_status_doc - }, - { - "acc_set_online_status2", py_pjsua_acc_set_online_status2, METH_VARARGS, - pjsua_acc_set_online_status2_doc - }, - { - "acc_set_registration", py_pjsua_acc_set_registration, METH_VARARGS, - pjsua_acc_set_registration_doc - }, - { - "acc_get_info", py_pjsua_acc_get_info, METH_VARARGS, - pjsua_acc_get_info_doc - }, - { - "acc_pres_notify", py_pjsua_acc_pres_notify, METH_VARARGS, - "Accept or reject subscription request" - }, - { - "enum_accs", py_pjsua_enum_accs, METH_VARARGS, - pjsua_enum_accs_doc - }, - { - "acc_enum_info", py_pjsua_acc_enum_info, METH_VARARGS, - pjsua_acc_enum_info_doc - }, - { - "acc_set_transport", py_pjsua_acc_set_transport, METH_VARARGS, - "Lock transport to use the specified transport" - }, - { - "buddy_config_default", py_pjsua_buddy_config_default, METH_VARARGS, - pjsua_buddy_config_default_doc - }, - { - "get_buddy_count", py_pjsua_get_buddy_count, METH_VARARGS, - pjsua_get_buddy_count_doc - }, - { - "buddy_is_valid", py_pjsua_buddy_is_valid, METH_VARARGS, - pjsua_buddy_is_valid_doc - }, - { - "enum_buddies", py_pjsua_enum_buddies, METH_VARARGS, - pjsua_enum_buddies_doc - }, - { - "buddy_find", py_pjsua_buddy_find, METH_VARARGS, - "Find buddy with the specified URI" - }, - { - "buddy_get_info", py_pjsua_buddy_get_info, METH_VARARGS, - pjsua_buddy_get_info_doc - }, - { - "buddy_add", py_pjsua_buddy_add, METH_VARARGS, - pjsua_buddy_add_doc - }, - { - "buddy_del", py_pjsua_buddy_del, METH_VARARGS, - pjsua_buddy_del_doc - }, - { - "buddy_set_user_data", py_pjsua_buddy_set_user_data, METH_VARARGS, - "Associate user data to the buddy object" - }, - { - "buddy_get_user_data", py_pjsua_buddy_get_user_data, METH_VARARGS, - "Get buddy user data" - }, - { - "buddy_subscribe_pres", py_pjsua_buddy_subscribe_pres, METH_VARARGS, - pjsua_buddy_subscribe_pres_doc - }, - { - "pres_dump", py_pjsua_pres_dump, METH_VARARGS, - pjsua_pres_dump_doc - }, - { - "im_send", py_pjsua_im_send, METH_VARARGS, - pjsua_im_send_doc - }, - { - "im_typing", py_pjsua_im_typing, METH_VARARGS, - pjsua_im_typing_doc - }, - { - "conf_get_max_ports", py_pjsua_conf_get_max_ports, METH_VARARGS, - pjsua_conf_get_max_ports_doc - }, - { - "conf_get_active_ports", py_pjsua_conf_get_active_ports, METH_VARARGS, - pjsua_conf_get_active_ports_doc - }, - { - "enum_conf_ports", py_pjsua_enum_conf_ports, METH_VARARGS, - pjsua_enum_conf_ports_doc - }, - { - "conf_get_port_info", py_pjsua_conf_get_port_info, METH_VARARGS, - pjsua_conf_get_port_info_doc - }, - { - "conf_remove_port", py_pjsua_conf_remove_port, METH_VARARGS, - pjsua_conf_remove_port_doc - }, - { - "conf_connect", py_pjsua_conf_connect, METH_VARARGS, - pjsua_conf_connect_doc - }, - { - "conf_disconnect", py_pjsua_conf_disconnect, METH_VARARGS, - pjsua_conf_disconnect_doc - }, - { - "conf_set_tx_level", py_pjsua_conf_set_tx_level, METH_VARARGS, - "Adjust the signal level to be transmitted from the bridge to the" - " specified port by making it louder or quieter" - }, - { - "conf_set_rx_level", py_pjsua_conf_set_rx_level, METH_VARARGS, - "Adjust the signal level to be received from the specified port (to" - " the bridge) by making it louder or quieter" - }, - { - "conf_get_signal_level", py_pjsua_conf_get_signal_level, METH_VARARGS, - "Get last signal level transmitted to or received from the specified port" - }, - { - "player_create", py_pjsua_player_create, METH_VARARGS, - pjsua_player_create_doc - }, - { - "playlist_create", py_pjsua_playlist_create, METH_VARARGS, - "Create WAV playlist" - }, - { - "player_get_conf_port", py_pjsua_player_get_conf_port, METH_VARARGS, - pjsua_player_get_conf_port_doc - }, - { - "player_set_pos", py_pjsua_player_set_pos, METH_VARARGS, - pjsua_player_set_pos_doc - }, - { - "player_destroy", py_pjsua_player_destroy, METH_VARARGS, - pjsua_player_destroy_doc - }, - { - "recorder_create", py_pjsua_recorder_create, METH_VARARGS, - pjsua_recorder_create_doc - }, - { - "recorder_get_conf_port", py_pjsua_recorder_get_conf_port, METH_VARARGS, - pjsua_recorder_get_conf_port_doc - }, - { - "recorder_destroy", py_pjsua_recorder_destroy, METH_VARARGS, - pjsua_recorder_destroy_doc - }, - { - "enum_snd_devs", py_pjsua_enum_snd_devs, METH_VARARGS, - pjsua_enum_snd_devs_doc - }, - { - "get_snd_dev", py_pjsua_get_snd_dev, METH_VARARGS, - pjsua_get_snd_dev_doc - }, - { - "set_snd_dev", py_pjsua_set_snd_dev, METH_VARARGS, - pjsua_set_snd_dev_doc - }, - { - "set_null_snd_dev", py_pjsua_set_null_snd_dev, METH_VARARGS, - pjsua_set_null_snd_dev_doc - }, - { - "set_ec", py_pjsua_set_ec, METH_VARARGS, - pjsua_set_ec_doc - }, - { - "get_ec_tail", py_pjsua_get_ec_tail, METH_VARARGS, - pjsua_get_ec_tail_doc - }, - { - "enum_codecs", py_pjsua_enum_codecs, METH_VARARGS, - pjsua_enum_codecs_doc - }, - { - "codec_set_priority", py_pjsua_codec_set_priority, METH_VARARGS, - pjsua_codec_set_priority_doc - }, - { - "codec_get_param", py_pjsua_codec_get_param, METH_VARARGS, - pjsua_codec_get_param_doc - }, - { - "codec_set_param", py_pjsua_codec_set_param, METH_VARARGS, - pjsua_codec_set_param_doc - }, - { - "call_get_max_count", py_pjsua_call_get_max_count, METH_VARARGS, - pjsua_call_get_max_count_doc - }, - { - "call_get_count", py_pjsua_call_get_count, METH_VARARGS, - pjsua_call_get_count_doc - }, - { - "enum_calls", py_pjsua_enum_calls, METH_VARARGS, - pjsua_enum_calls_doc - }, - { - "call_make_call", py_pjsua_call_make_call, METH_VARARGS, - pjsua_call_make_call_doc - }, - { - "call_is_active", py_pjsua_call_is_active, METH_VARARGS, - pjsua_call_is_active_doc - }, - { - "call_has_media", py_pjsua_call_has_media, METH_VARARGS, - pjsua_call_has_media_doc - }, - { - "call_get_conf_port", py_pjsua_call_get_conf_port, METH_VARARGS, - pjsua_call_get_conf_port_doc - }, - { - "call_get_info", py_pjsua_call_get_info, METH_VARARGS, - pjsua_call_get_info_doc - }, - { - "call_set_user_data", py_pjsua_call_set_user_data, METH_VARARGS, - pjsua_call_set_user_data_doc - }, - { - "call_get_user_data", py_pjsua_call_get_user_data, METH_VARARGS, - pjsua_call_get_user_data_doc - }, - { - "call_answer", py_pjsua_call_answer, METH_VARARGS, - pjsua_call_answer_doc - }, - { - "call_hangup", py_pjsua_call_hangup, METH_VARARGS, - pjsua_call_hangup_doc - }, - { - "call_set_hold", py_pjsua_call_set_hold, METH_VARARGS, - pjsua_call_set_hold_doc - }, - { - "call_reinvite", py_pjsua_call_reinvite, METH_VARARGS, - pjsua_call_reinvite_doc - }, - { - "call_update", py_pjsua_call_update, METH_VARARGS, - "Send UPDATE" - }, - { - "call_xfer", py_pjsua_call_xfer, METH_VARARGS, - pjsua_call_xfer_doc - }, - { - "call_xfer_replaces", py_pjsua_call_xfer_replaces, METH_VARARGS, - pjsua_call_xfer_replaces_doc - }, - { - "call_dial_dtmf", py_pjsua_call_dial_dtmf, METH_VARARGS, - pjsua_call_dial_dtmf_doc - }, - { - "call_send_im", py_pjsua_call_send_im, METH_VARARGS, - pjsua_call_send_im_doc - }, - { - "call_send_typing_ind", py_pjsua_call_send_typing_ind, METH_VARARGS, - pjsua_call_send_typing_ind_doc - }, - { - "call_hangup_all", py_pjsua_call_hangup_all, METH_VARARGS, - pjsua_call_hangup_all_doc - }, - { - "call_dump", py_pjsua_call_dump, METH_VARARGS, - pjsua_call_dump_doc - }, - { - "call_send_request", py_pjsua_call_send_request, METH_VARARGS, - "Send arbitrary request" - }, - { - "dump", py_pjsua_dump, METH_VARARGS, "Dump application state" - }, - { - "strerror", py_pj_strerror, METH_VARARGS, "Get error message" - }, - { - "parse_simple_uri", py_pj_parse_simple_sip, METH_VARARGS, "Parse URI" - }, - - - {NULL, NULL} /* end of function list */ -}; - - - -/* - * Mapping C structs from and to Python objects & initializing object - */ -DL_EXPORT(void) -init_pjsua(void) -{ - PyObject* m = NULL; -#define ADD_CONSTANT(mod,name) PyModule_AddIntConstant(mod,#name,name) - - - PyEval_InitThreads(); - - if (PyType_Ready(&PyTyp_pjsua_callback) < 0) - return; - if (PyType_Ready(&PyTyp_pjsua_config) < 0) - return; - if (PyType_Ready(&PyTyp_pjsua_logging_config) < 0) - return; - if (PyType_Ready(&PyTyp_pjsua_msg_data) < 0) - return; - PyTyp_pjsua_media_config.tp_new = PyType_GenericNew; - if (PyType_Ready(&PyTyp_pjsua_media_config) < 0) - return; - PyTyp_pjsip_cred_info.tp_new = PyType_GenericNew; - if (PyType_Ready(&PyTyp_pjsip_cred_info) < 0) - return; - - /* LIB TRANSPORT */ - - if (PyType_Ready(&PyTyp_pjsua_transport_config) < 0) - return; - - if (PyType_Ready(&PyTyp_pjsua_transport_info) < 0) - return; - - /* END OF LIB TRANSPORT */ - - /* LIB ACCOUNT */ - - - if (PyType_Ready(&PyTyp_pjsua_acc_config) < 0) - return; - if (PyType_Ready(&PyTyp_pjsua_acc_info) < 0) - return; - - /* END OF LIB ACCOUNT */ - - /* LIB BUDDY */ - - if (PyType_Ready(&PyTyp_pjsua_buddy_config) < 0) - return; - if (PyType_Ready(&PyTyp_pjsua_buddy_info) < 0) - return; - - /* END OF LIB BUDDY */ - - /* LIB MEDIA */ - - if (PyType_Ready(&PyTyp_pjsua_codec_info) < 0) - return; - - if (PyType_Ready(&PyTyp_pjsua_conf_port_info) < 0) - return; - - if (PyType_Ready(&PyTyp_pjmedia_snd_dev_info) < 0) - return; - - PyTyp_pjmedia_codec_param_info.tp_new = PyType_GenericNew; - if (PyType_Ready(&PyTyp_pjmedia_codec_param_info) < 0) - return; - PyTyp_pjmedia_codec_param_setting.tp_new = PyType_GenericNew; - if (PyType_Ready(&PyTyp_pjmedia_codec_param_setting) < 0) - return; - - if (PyType_Ready(&PyTyp_pjmedia_codec_param) < 0) - return; - - /* END OF LIB MEDIA */ - - /* LIB CALL */ - - if (PyType_Ready(&PyTyp_pjsua_call_info) < 0) - return; - - /* END OF LIB CALL */ - - m = Py_InitModule3( - "_pjsua", py_pjsua_methods, "PJSUA-lib module for python" - ); - - Py_INCREF(&PyTyp_pjsua_callback); - PyModule_AddObject(m, "Callback", (PyObject *)&PyTyp_pjsua_callback); - - Py_INCREF(&PyTyp_pjsua_config); - PyModule_AddObject(m, "Config", (PyObject *)&PyTyp_pjsua_config); - - Py_INCREF(&PyTyp_pjsua_media_config); - PyModule_AddObject(m, "Media_Config", (PyObject *)&PyTyp_pjsua_media_config); - - Py_INCREF(&PyTyp_pjsua_logging_config); - PyModule_AddObject(m, "Logging_Config", (PyObject *)&PyTyp_pjsua_logging_config); - - Py_INCREF(&PyTyp_pjsua_msg_data); - PyModule_AddObject(m, "Msg_Data", (PyObject *)&PyTyp_pjsua_msg_data); - - Py_INCREF(&PyTyp_pjsip_cred_info); - PyModule_AddObject(m, "Pjsip_Cred_Info", - (PyObject *)&PyTyp_pjsip_cred_info - ); - - /* LIB TRANSPORT */ - - Py_INCREF(&PyTyp_pjsua_transport_config); - PyModule_AddObject - (m, "Transport_Config", (PyObject *)&PyTyp_pjsua_transport_config); - - Py_INCREF(&PyTyp_pjsua_transport_info); - PyModule_AddObject(m, "Transport_Info", (PyObject *)&PyTyp_pjsua_transport_info); - - - /* END OF LIB TRANSPORT */ - - /* LIB ACCOUNT */ - - - Py_INCREF(&PyTyp_pjsua_acc_config); - PyModule_AddObject(m, "Acc_Config", (PyObject *)&PyTyp_pjsua_acc_config); - Py_INCREF(&PyTyp_pjsua_acc_info); - PyModule_AddObject(m, "Acc_Info", (PyObject *)&PyTyp_pjsua_acc_info); - - /* END OF LIB ACCOUNT */ - - /* LIB BUDDY */ - - Py_INCREF(&PyTyp_pjsua_buddy_config); - PyModule_AddObject(m, "Buddy_Config", (PyObject *)&PyTyp_pjsua_buddy_config); - Py_INCREF(&PyTyp_pjsua_buddy_info); - PyModule_AddObject(m, "Buddy_Info", (PyObject *)&PyTyp_pjsua_buddy_info); - - /* END OF LIB BUDDY */ - - /* LIB MEDIA */ - - Py_INCREF(&PyTyp_pjsua_codec_info); - PyModule_AddObject(m, "Codec_Info", (PyObject *)&PyTyp_pjsua_codec_info); - Py_INCREF(&PyTyp_pjsua_conf_port_info); - PyModule_AddObject(m, "Conf_Port_Info", (PyObject *)&PyTyp_pjsua_conf_port_info); - Py_INCREF(&PyTyp_pjmedia_snd_dev_info); - PyModule_AddObject(m, "PJMedia_Snd_Dev_Info", - (PyObject *)&PyTyp_pjmedia_snd_dev_info); - Py_INCREF(&PyTyp_pjmedia_codec_param_info); - PyModule_AddObject(m, "PJMedia_Codec_Param_Info", - (PyObject *)&PyTyp_pjmedia_codec_param_info); - Py_INCREF(&PyTyp_pjmedia_codec_param_setting); - PyModule_AddObject(m, "PJMedia_Codec_Param_Setting", - (PyObject *)&PyTyp_pjmedia_codec_param_setting); - Py_INCREF(&PyTyp_pjmedia_codec_param); - PyModule_AddObject(m, "PJMedia_Codec_Param", - (PyObject *)&PyTyp_pjmedia_codec_param); - - /* END OF LIB MEDIA */ - - /* LIB CALL */ - - Py_INCREF(&PyTyp_pjsua_call_info); - PyModule_AddObject(m, "Call_Info", (PyObject *)&PyTyp_pjsua_call_info); - - /* END OF LIB CALL */ - - - /* - * Add various constants. - */ - /* Skip it.. */ - -#undef ADD_CONSTANT -} diff --git a/res/pjproject/pjsip-apps/src/python/_pjsua.def b/res/pjproject/pjsip-apps/src/python/_pjsua.def deleted file mode 100644 index 9b150a9631..0000000000 --- a/res/pjproject/pjsip-apps/src/python/_pjsua.def +++ /dev/null @@ -1,2 +0,0 @@ -EXPORTS - init_pjsua diff --git a/res/pjproject/pjsip-apps/src/python/_pjsua.h b/res/pjproject/pjsip-apps/src/python/_pjsua.h deleted file mode 100644 index dff8c983a9..0000000000 --- a/res/pjproject/pjsip-apps/src/python/_pjsua.h +++ /dev/null @@ -1,3508 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PY_PJSUA_H__ -#define __PY_PJSUA_H__ - -#define _CRT_SECURE_NO_DEPRECATE - -#include -#include -#include - - -PJ_INLINE(pj_str_t) PyString_ToPJ(const PyObject *obj) -{ - pj_str_t str; - - if (obj && PyString_Check(obj)) { - str.ptr = PyString_AS_STRING(obj); - str.slen = PyString_GET_SIZE(obj); - } else { - str.ptr = NULL; - str.slen = 0; - } - - return str; -} - -PJ_INLINE(PyObject*) PyString_FromPJ(const pj_str_t *str) -{ - return PyString_FromStringAndSize(str->ptr, str->slen); -} - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsip_cred_info - */ -typedef struct -{ - PyObject_HEAD - - /* Type-specific fields go here. */ - PyObject *realm; - PyObject *scheme; - PyObject *username; - int data_type; - PyObject *data; - -} PyObj_pjsip_cred_info; - -/* - * cred_info_dealloc - * deletes a cred info from memory - */ -static void PyObj_pjsip_cred_info_delete(PyObj_pjsip_cred_info* self) -{ - Py_XDECREF(self->realm); - Py_XDECREF(self->scheme); - Py_XDECREF(self->username); - Py_XDECREF(self->data); - self->ob_type->tp_free((PyObject*)self); -} - - -static void PyObj_pjsip_cred_info_import(PyObj_pjsip_cred_info *obj, - const pjsip_cred_info *cfg) -{ - Py_XDECREF(obj->realm); - obj->realm = PyString_FromPJ(&cfg->realm); - Py_XDECREF(obj->scheme); - obj->scheme = PyString_FromPJ(&cfg->scheme); - Py_XDECREF(obj->username); - obj->username = PyString_FromPJ(&cfg->username); - obj->data_type = cfg->data_type; - Py_XDECREF(obj->data); - obj->data = PyString_FromPJ(&cfg->data); -} - -static void PyObj_pjsip_cred_info_export(pjsip_cred_info *cfg, - PyObj_pjsip_cred_info *obj) -{ - cfg->realm = PyString_ToPJ(obj->realm); - cfg->scheme = PyString_ToPJ(obj->scheme); - cfg->username = PyString_ToPJ(obj->username); - cfg->data_type = obj->data_type; - cfg->data = PyString_ToPJ(obj->data); -} - - -/* - * cred_info_new - * constructor for cred_info object - */ -static PyObject * PyObj_pjsip_cred_info_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsip_cred_info *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsip_cred_info *)type->tp_alloc(type, 0); - if (self != NULL) { - self->realm = PyString_FromString(""); - self->scheme = PyString_FromString(""); - self->username = PyString_FromString(""); - self->data_type = PJSIP_CRED_DATA_PLAIN_PASSWD; - self->data = PyString_FromString(""); - } - - return (PyObject *)self; -} - - -/* - * PyObj_pjsip_cred_info_members - */ -static PyMemberDef PyObj_pjsip_cred_info_members[] = -{ - { - "realm", T_OBJECT_EX, - offsetof(PyObj_pjsip_cred_info, realm), 0, - "Realm" - }, - { - "scheme", T_OBJECT_EX, - offsetof(PyObj_pjsip_cred_info, scheme), 0, - "Scheme" - }, - { - "username", T_OBJECT_EX, - offsetof(PyObj_pjsip_cred_info, username), 0, - "User name" - }, - { - "data", T_OBJECT_EX, - offsetof(PyObj_pjsip_cred_info, data), 0, - "The data, which can be a plaintext password or a hashed digest, " - "depending on the value of data_type" - }, - { - "data_type", T_INT, - offsetof(PyObj_pjsip_cred_info, data_type), 0, - "Type of data" - }, - - {NULL} /* Sentinel */ -}; - -/* - * PyTyp_pjsip_cred_info - */ -static PyTypeObject PyTyp_pjsip_cred_info = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "_pjsua.Pjsip_Cred_Info", /*tp_name*/ - sizeof(PyObj_pjsip_cred_info), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsip_cred_info_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "PJSIP credential information", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsip_cred_info_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsip_cred_info_new, /* tp_new */ - -}; - - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsua_callback - * C/python typewrapper for callback struct - */ -typedef struct PyObj_pjsua_callback -{ - PyObject_HEAD - /* Type-specific fields go here. */ - PyObject * on_call_state; - PyObject * on_incoming_call; - PyObject * on_call_media_state; - PyObject * on_dtmf_digit; - PyObject * on_call_transfer_request; - PyObject * on_call_transfer_status; - PyObject * on_call_replace_request; - PyObject * on_call_replaced; - PyObject * on_reg_state; - PyObject * on_incoming_subscribe; - PyObject * on_buddy_state; - PyObject * on_pager; - PyObject * on_pager_status; - PyObject * on_typing; - PyObject * on_mwi_info; -} PyObj_pjsua_callback; - - -/* - * PyObj_pjsua_callback_delete - * destructor function for callback struct - */ -static void PyObj_pjsua_callback_delete(PyObj_pjsua_callback* self) -{ - Py_XDECREF(self->on_call_state); - Py_XDECREF(self->on_incoming_call); - Py_XDECREF(self->on_call_media_state); - Py_XDECREF(self->on_dtmf_digit); - Py_XDECREF(self->on_call_transfer_request); - Py_XDECREF(self->on_call_transfer_status); - Py_XDECREF(self->on_call_replace_request); - Py_XDECREF(self->on_call_replaced); - Py_XDECREF(self->on_reg_state); - Py_XDECREF(self->on_incoming_subscribe); - Py_XDECREF(self->on_buddy_state); - Py_XDECREF(self->on_pager); - Py_XDECREF(self->on_pager_status); - Py_XDECREF(self->on_typing); - Py_XDECREF(self->on_mwi_info); - self->ob_type->tp_free((PyObject*)self); -} - - -/* - * PyObj_pjsua_callback_new - * * declares constructor for callback struct - */ -static PyObject * PyObj_pjsua_callback_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_callback *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_callback *)type->tp_alloc(type, 0); - if (self != NULL) { - self->on_call_state = Py_BuildValue(""); - self->on_incoming_call = Py_BuildValue(""); - self->on_call_media_state = Py_BuildValue(""); - self->on_dtmf_digit = Py_BuildValue(""); - self->on_call_transfer_request = Py_BuildValue(""); - self->on_call_transfer_status = Py_BuildValue(""); - self->on_call_replace_request = Py_BuildValue(""); - self->on_call_replaced = Py_BuildValue(""); - self->on_reg_state = Py_BuildValue(""); - self->on_incoming_subscribe = Py_BuildValue(""); - self->on_buddy_state = Py_BuildValue(""); - self->on_pager = Py_BuildValue(""); - self->on_pager_status = Py_BuildValue(""); - self->on_typing = Py_BuildValue(""); - self->on_mwi_info = Py_BuildValue(""); - } - - return (PyObject *)self; -} - - -/* - * PyObj_pjsua_callback_members - * declares available functions for callback object - */ -static PyMemberDef PyObj_pjsua_callback_members[] = -{ - { - "on_call_state", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_call_state), 0, - "Notify application when invite state has changed. Application may " - "then query the call info to get the detail call states." - }, - { - "on_incoming_call", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_incoming_call), 0, - "Notify application on incoming call." - }, - { - "on_call_media_state", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_call_media_state), 0, - "Notify application when media state in the call has changed. Normal " - "application would need to implement this callback, e.g. to connect " - "the call's media to sound device." - }, - { - "on_dtmf_digit", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_dtmf_digit), 0, - "Notify application upon receiving incoming DTMF digit." - }, - { - "on_call_transfer_request", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_call_transfer_request), 0, - "Notify application on call being transfered. " - "Application can decide to accept/reject transfer request " - "by setting the code (default is 200). When this callback " - "is not defined, the default behavior is to accept the " - "transfer." - }, - { - "on_call_transfer_status", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_call_transfer_status), 0, - "Notify application of the status of previously sent call " - "transfer request. Application can monitor the status of the " - "call transfer request, for example to decide whether to " - "terminate existing call." - }, - { - "on_call_replace_request", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_call_replace_request), 0, - "Notify application about incoming INVITE with Replaces header. " - "Application may reject the request by setting non-2xx code." - }, - { - "on_call_replaced", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_call_replaced), 0, - "Notify application that an existing call has been replaced with " - "a new call. This happens when PJSUA-API receives incoming INVITE " - "request with Replaces header." - " " - "After this callback is called, normally PJSUA-API will disconnect " - "old_call_id and establish new_call_id." - }, - { - "on_reg_state", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_reg_state), 0, - "Notify application when registration status has changed. Application " - "may then query the account info to get the registration details." - }, - { - "on_incoming_subscribe", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_incoming_subscribe), 0, - "Notification when incoming SUBSCRIBE request is received." - }, - { - "on_buddy_state", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_buddy_state), 0, - "Notify application when the buddy state has changed. Application may " - "then query the buddy into to get the details." - }, - { - "on_pager", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_pager), 0, - "Notify application on incoming pager (i.e. MESSAGE request). " - "Argument call_id will be -1 if MESSAGE request is not related to an " - "existing call." - }, - { - "on_pager_status", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_pager_status), 0, - "Notify application about the delivery status of outgoing pager " - "request." - }, - { - "on_typing", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_typing), 0, - "Notify application about typing indication." - }, - { - "on_mwi_info", T_OBJECT_EX, - offsetof(PyObj_pjsua_callback, on_mwi_info), 0, - "Notify application about MWI indication." - }, - {NULL} /* Sentinel */ -}; - - -/* - * PyTyp_pjsua_callback - * callback class definition - */ -static PyTypeObject PyTyp_pjsua_callback = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "_pjsua.Callback", /*tp_name*/ - sizeof(PyObj_pjsua_callback), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_callback_delete, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "This structure describes application callback " - "to receive various event notifications from " - "PJSUA-API", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsua_callback_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_callback_new, /* tp_new */ - -}; - - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsua_media_config - * C/Python wrapper for pjsua_media_config object - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - unsigned clock_rate; - unsigned snd_clock_rate; - unsigned channel_count; - unsigned audio_frame_ptime; - int snd_auto_close_time; - unsigned max_media_ports; - int has_ioqueue; - unsigned thread_cnt; - unsigned quality; - unsigned ptime; - int no_vad; - unsigned ilbc_mode; - unsigned tx_drop_pct; - unsigned rx_drop_pct; - unsigned ec_options; - unsigned ec_tail_len; - int jb_min; - int jb_max; - int enable_ice; - int enable_turn; - PyObject *turn_server; - int turn_conn_type; - PyObject *turn_realm; - PyObject *turn_username; - int turn_passwd_type; - PyObject *turn_passwd; -} PyObj_pjsua_media_config; - - -/* - * PyObj_pjsua_media_config_members - * declares attributes accessible from both C and Python for media_config file - */ -static PyMemberDef PyObj_pjsua_media_config_members[] = -{ - { - "clock_rate", T_INT, - offsetof(PyObj_pjsua_media_config, clock_rate), 0, - "Clock rate to be applied to the conference bridge. If value is zero, " - "default clock rate will be used (16KHz)." - }, - { - "snd_clock_rate", T_INT, - offsetof(PyObj_pjsua_media_config, snd_clock_rate), 0, - "Specify different clock rate of sound device, otherwise 0." - }, - { - "channel_count", T_INT, - offsetof(PyObj_pjsua_media_config, channel_count), 0, - "Specify channel count (default 1)." - }, - { - "audio_frame_ptime", T_INT, - offsetof(PyObj_pjsua_media_config, audio_frame_ptime), 0, - "Audio frame length in milliseconds." - }, - { - "snd_auto_close_time", T_INT, - offsetof(PyObj_pjsua_media_config, snd_auto_close_time), 0, - "Sound idle time before it's closed." - }, - { - "max_media_ports", T_INT, - offsetof(PyObj_pjsua_media_config, max_media_ports), 0, - "Specify maximum number of media ports to be created in the " - "conference bridge. Since all media terminate in the bridge (calls, " - "file player, file recorder, etc), the value must be large enough to " - "support all of them. However, the larger the value, the more " - "computations are performed." - }, - { - "has_ioqueue", T_INT, - offsetof(PyObj_pjsua_media_config, has_ioqueue), 0, - "Specify whether the media manager should manage its own ioqueue for " - "the RTP/RTCP sockets. If yes, ioqueue will be created and at least " - "one worker thread will be created too. If no, the RTP/RTCP sockets " - "will share the same ioqueue as SIP sockets, and no worker thread is " - "needed." - }, - { - "thread_cnt", T_INT, - offsetof(PyObj_pjsua_media_config, thread_cnt), 0, - "Specify the number of worker threads to handle incoming RTP packets. " - "A value of one is recommended for most applications." - }, - { - "quality", T_INT, - offsetof(PyObj_pjsua_media_config, quality), 0, - "The media quality also sets speex codec quality/complexity to the " - "number." - }, - { - "ptime", T_INT, - offsetof(PyObj_pjsua_media_config, ptime), 0, - "Specify default ptime." - }, - { - "no_vad", T_INT, - offsetof(PyObj_pjsua_media_config, no_vad), 0, - "Disable VAD?" - }, - { - "ilbc_mode", T_INT, - offsetof(PyObj_pjsua_media_config, ilbc_mode), 0, - "iLBC mode (20 or 30)." - }, - { - "tx_drop_pct", T_INT, - offsetof(PyObj_pjsua_media_config, tx_drop_pct), 0, - "Percentage of RTP packet to drop in TX direction (to simulate packet " - "lost)." - }, - { - "rx_drop_pct", T_INT, - offsetof(PyObj_pjsua_media_config, rx_drop_pct), 0, - "Percentage of RTP packet to drop in RX direction (to simulate packet " - "lost)."}, - { - "ec_options", T_INT, - offsetof(PyObj_pjsua_media_config, ec_options), 0, - "Echo canceller options (see pjmedia_echo_create())" - }, - { - "ec_tail_len", T_INT, - offsetof(PyObj_pjsua_media_config, ec_tail_len), 0, - "Echo canceller tail length, in miliseconds." - }, - { - "jb_min", T_INT, - offsetof(PyObj_pjsua_media_config, jb_min), 0, - "Jitter buffer minimum size in milliseconds." - }, - { - "jb_max", T_INT, - offsetof(PyObj_pjsua_media_config, jb_max), 0, - "Jitter buffer maximum size in milliseconds." - }, - { - "enable_ice", T_INT, - offsetof(PyObj_pjsua_media_config, enable_ice), 0, - "Enable ICE." - }, - { - "enable_turn", T_INT, - offsetof(PyObj_pjsua_media_config, enable_turn), 0, - "Enable TURN." - }, - { - "turn_server", T_OBJECT_EX, - offsetof(PyObj_pjsua_media_config, turn_server), 0, - "Specify the TURN server." - }, - { - "turn_conn_type", T_INT, - offsetof(PyObj_pjsua_media_config, turn_conn_type), 0, - "Specify TURN connection type." - }, - { - "turn_realm", T_OBJECT_EX, - offsetof(PyObj_pjsua_media_config, turn_realm), 0, - "Specify the TURN realm." - }, - { - "turn_username", T_OBJECT_EX, - offsetof(PyObj_pjsua_media_config, turn_username), 0, - "Specify the TURN username." - }, - { - "turn_passwd_type", T_INT, - offsetof(PyObj_pjsua_media_config, turn_passwd_type), 0, - "Specify TURN password type." - }, - { - "turn_passwd", T_OBJECT_EX, - offsetof(PyObj_pjsua_media_config, turn_passwd), 0, - "Specify the TURN password." - }, - - {NULL} /* Sentinel */ -}; - - -static PyObject *PyObj_pjsua_media_config_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_media_config *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_media_config*)type->tp_alloc(type, 0); - if (self != NULL) { - self->turn_server = PyString_FromString(""); - self->turn_realm = PyString_FromString(""); - self->turn_username = PyString_FromString(""); - self->turn_passwd = PyString_FromString(""); - } - - return (PyObject *)self; -} - -static void PyObj_pjsua_media_config_delete(PyObj_pjsua_media_config * self) -{ - Py_XDECREF(self->turn_server); - Py_XDECREF(self->turn_realm); - Py_XDECREF(self->turn_username); - Py_XDECREF(self->turn_passwd); - self->ob_type->tp_free((PyObject*)self); -} - -static void PyObj_pjsua_media_config_import(PyObj_pjsua_media_config *obj, - const pjsua_media_config *cfg) -{ - obj->clock_rate = cfg->clock_rate; - obj->snd_clock_rate = cfg->snd_clock_rate; - obj->channel_count = cfg->channel_count; - obj->audio_frame_ptime = cfg->audio_frame_ptime; - obj->snd_auto_close_time= cfg->snd_auto_close_time; - obj->max_media_ports = cfg->max_media_ports; - obj->has_ioqueue = cfg->has_ioqueue; - obj->thread_cnt = cfg->thread_cnt; - obj->quality = cfg->quality; - obj->ptime = cfg->ptime; - obj->no_vad = cfg->no_vad; - obj->ilbc_mode = cfg->ilbc_mode; - obj->jb_min = cfg->jb_min_pre; - obj->jb_max = cfg->jb_max; - obj->tx_drop_pct = cfg->tx_drop_pct; - obj->rx_drop_pct = cfg->rx_drop_pct; - obj->ec_options = cfg->ec_options; - obj->ec_tail_len = cfg->ec_tail_len; - obj->enable_ice = cfg->enable_ice; - obj->enable_turn = cfg->enable_turn; - Py_XDECREF(obj->turn_server); - obj->turn_server = PyString_FromPJ(&cfg->turn_server); - obj->turn_conn_type = cfg->turn_conn_type; - if (cfg->turn_auth_cred.type == PJ_STUN_AUTH_CRED_STATIC) { - const pj_stun_auth_cred *cred = &cfg->turn_auth_cred; - - Py_XDECREF(obj->turn_realm); - obj->turn_realm = PyString_FromPJ(&cred->data.static_cred.realm); - Py_XDECREF(obj->turn_username); - obj->turn_username = PyString_FromPJ(&cred->data.static_cred.username); - obj->turn_passwd_type = cred->data.static_cred.data_type; - Py_XDECREF(obj->turn_passwd); - obj->turn_passwd = PyString_FromPJ(&cred->data.static_cred.data); - } else { - Py_XDECREF(obj->turn_realm); - obj->turn_realm = PyString_FromString(""); - Py_XDECREF(obj->turn_username); - obj->turn_username = PyString_FromString(""); - obj->turn_passwd_type = 0; - Py_XDECREF(obj->turn_passwd); - obj->turn_passwd = PyString_FromString(""); - } -} - -static void PyObj_pjsua_media_config_export(pjsua_media_config *cfg, - const PyObj_pjsua_media_config *obj) -{ - cfg->clock_rate = obj->clock_rate; - cfg->snd_clock_rate = obj->snd_clock_rate; - cfg->channel_count = obj->channel_count; - cfg->audio_frame_ptime = obj->audio_frame_ptime; - cfg->snd_auto_close_time=obj->snd_auto_close_time; - cfg->max_media_ports = obj->max_media_ports; - cfg->has_ioqueue = obj->has_ioqueue; - cfg->thread_cnt = obj->thread_cnt; - cfg->quality = obj->quality; - cfg->ptime = obj->ptime; - cfg->no_vad = obj->no_vad; - cfg->jb_min_pre = obj->jb_min; - cfg->jb_max = obj->jb_max; - cfg->ilbc_mode = obj->ilbc_mode; - cfg->tx_drop_pct = obj->tx_drop_pct; - cfg->rx_drop_pct = obj->rx_drop_pct; - cfg->ec_options = obj->ec_options; - cfg->ec_tail_len = obj->ec_tail_len; - cfg->enable_ice = obj->enable_ice; - cfg->enable_turn = obj->enable_turn; - - if (cfg->enable_turn) { - cfg->turn_server = PyString_ToPJ(obj->turn_server); - cfg->turn_conn_type = obj->turn_conn_type; - cfg->turn_auth_cred.type = PJ_STUN_AUTH_CRED_STATIC; - cfg->turn_auth_cred.data.static_cred.realm = PyString_ToPJ(obj->turn_realm); - cfg->turn_auth_cred.data.static_cred.username = PyString_ToPJ(obj->turn_username); - cfg->turn_auth_cred.data.static_cred.data_type= obj->turn_passwd_type; - cfg->turn_auth_cred.data.static_cred.data = PyString_ToPJ(obj->turn_passwd); - } -} - - -/* - * PyTyp_pjsua_media_config - */ -static PyTypeObject PyTyp_pjsua_media_config = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "_pjsua.Media_Config", /*tp_name*/ - sizeof(PyObj_pjsua_media_config),/*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_media_config_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Media Config objects", /*tp_doc*/ - 0, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsua_media_config_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_media_config_new, /* tp_new */ -}; - - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsua_config - * attribute list for config object - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - unsigned max_calls; - unsigned thread_cnt; - PyObject *outbound_proxy; - PyObject *stun_domain; - PyObject *stun_host; - PyListObject *nameserver; - PyObj_pjsua_callback *cb; - PyObject *user_agent; -} PyObj_pjsua_config; - - -static void PyObj_pjsua_config_delete(PyObj_pjsua_config* self) -{ - Py_XDECREF(self->outbound_proxy); - Py_XDECREF(self->stun_domain); - Py_XDECREF(self->stun_host); - Py_XDECREF(self->nameserver); - Py_XDECREF(self->cb); - Py_XDECREF(self->user_agent); - self->ob_type->tp_free((PyObject*)self); -} - - -static void PyObj_pjsua_config_import(PyObj_pjsua_config *obj, - const pjsua_config *cfg) -{ - unsigned i; - - obj->max_calls = cfg->max_calls; - obj->thread_cnt = cfg->thread_cnt; - Py_XDECREF(obj->outbound_proxy); - if (cfg->outbound_proxy_cnt) - obj->outbound_proxy = PyString_FromPJ(&cfg->outbound_proxy[0]); - else - obj->outbound_proxy = PyString_FromString(""); - - Py_XDECREF(obj->stun_domain); - obj->stun_domain = PyString_FromPJ(&cfg->stun_domain); - Py_XDECREF(obj->stun_host); - obj->stun_host = PyString_FromPJ(&cfg->stun_host); - Py_XDECREF(obj->nameserver); - obj->nameserver = (PyListObject *)PyList_New(0); - for (i=0; inameserver_count; ++i) { - PyObject * str; - str = PyString_FromPJ(&cfg->nameserver[i]); - PyList_Append((PyObject *)obj->nameserver, str); - } - Py_XDECREF(obj->user_agent); - obj->user_agent = PyString_FromPJ(&cfg->user_agent); -} - - -static void PyObj_pjsua_config_export(pjsua_config *cfg, - PyObj_pjsua_config *obj) -{ - unsigned i; - - cfg->max_calls = obj->max_calls; - cfg->thread_cnt = obj->thread_cnt; - if (PyString_Size(obj->outbound_proxy) > 0) { - cfg->outbound_proxy_cnt = 1; - cfg->outbound_proxy[0] = PyString_ToPJ(obj->outbound_proxy); - } else { - cfg->outbound_proxy_cnt = 0; - } - cfg->nameserver_count = PyList_Size((PyObject*)obj->nameserver); - if (cfg->nameserver_count > PJ_ARRAY_SIZE(cfg->nameserver)) - cfg->nameserver_count = PJ_ARRAY_SIZE(cfg->nameserver); - for (i = 0; i < cfg->nameserver_count; i++) { - PyObject *item = PyList_GetItem((PyObject *)obj->nameserver,i); - cfg->nameserver[i] = PyString_ToPJ(item); - } - cfg->stun_domain = PyString_ToPJ(obj->stun_domain); - cfg->stun_host = PyString_ToPJ(obj->stun_host); - cfg->user_agent = PyString_ToPJ(obj->user_agent); - -} - - -static PyObject *PyObj_pjsua_config_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_config *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_config *)type->tp_alloc(type, 0); - if (self != NULL) { - self->user_agent = PyString_FromString(""); - self->outbound_proxy = PyString_FromString(""); - self->stun_domain = PyString_FromString(""); - self->stun_host = PyString_FromString(""); - self->cb = (PyObj_pjsua_callback *) - PyType_GenericNew(&PyTyp_pjsua_callback, NULL, NULL); - } - return (PyObject *)self; -} - - -/* - * PyObj_pjsua_config_members - * attribute list accessible from Python/C - */ -static PyMemberDef PyObj_pjsua_config_members[] = -{ - { - "max_calls", T_INT, - offsetof(PyObj_pjsua_config, max_calls), 0, - "Maximum calls to support (default: 4) " - }, - { - "thread_cnt", T_INT, - offsetof(PyObj_pjsua_config, thread_cnt), 0, - "Number of worker threads. Normally application will want to have at " - "least one worker thread, unless when it wants to poll the library " - "periodically, which in this case the worker thread can be set to " - "zero." - }, - { - "outbound_proxy", T_OBJECT_EX, - offsetof(PyObj_pjsua_config, outbound_proxy), 0, - "SIP URL of the outbound proxy (optional)" - }, - { - "stun_domain", T_OBJECT_EX, - offsetof(PyObj_pjsua_config, stun_domain), 0, - "Domain of the STUN server (optional). STUN server will be resolved " - "using DNS SRV resolution only when nameserver is configured. " - "Alternatively, if DNS SRV resolution for STUN is not desired, " - "application can specify the STUN server hostname or IP address " - "in stun_host attribute." - }, - { - "stun_host", T_OBJECT_EX, - offsetof(PyObj_pjsua_config, stun_host), 0, - "Hostname or IP address of the STUN server (optional)." - }, - { - "nameserver", T_OBJECT_EX, - offsetof(PyObj_pjsua_config, nameserver), 0, - "IP address of the nameserver." - }, - { - "cb", T_OBJECT_EX, offsetof(PyObj_pjsua_config, cb), 0, - "Application callback." - }, - { - "user_agent", T_OBJECT_EX, offsetof(PyObj_pjsua_config, user_agent), 0, - "User agent string (default empty)" - }, - {NULL} /* Sentinel */ -}; - - -/* - * PyTyp_pjsua_config - * type wrapper for config class - */ -static PyTypeObject PyTyp_pjsua_config = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "_pjsua.Config", /*tp_name*/ - sizeof(PyObj_pjsua_config),/*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_config_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Config object", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsua_config_members,/* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_config_new, /* tp_new */ - -}; - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsua_logging_config - * configuration class for logging_config object - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - int msg_logging; - unsigned level; - unsigned console_level; - unsigned decor; - PyObject *log_filename; - PyObject *cb; -} PyObj_pjsua_logging_config; - - -/* - * PyObj_pjsua_logging_config_delete - * deletes a logging config from memory - */ -static void PyObj_pjsua_logging_config_delete(PyObj_pjsua_logging_config* self) -{ - Py_XDECREF(self->log_filename); - Py_XDECREF(self->cb); - self->ob_type->tp_free((PyObject*)self); -} - - -static void PyObj_pjsua_logging_config_import(PyObj_pjsua_logging_config *obj, - const pjsua_logging_config *cfg) -{ - obj->msg_logging = cfg->msg_logging; - obj->level = cfg->level; - obj->console_level = cfg->console_level; - obj->decor = cfg->decor; - Py_XDECREF(obj->log_filename); - obj->log_filename = PyString_FromPJ(&cfg->log_filename); -} - -static void PyObj_pjsua_logging_config_export(pjsua_logging_config *cfg, - PyObj_pjsua_logging_config *obj) -{ - cfg->msg_logging = obj->msg_logging; - cfg->level = obj->level; - cfg->console_level = obj->console_level; - cfg->decor = obj->decor; - cfg->log_filename = PyString_ToPJ(obj->log_filename); -} - - -/* - * PyObj_pjsua_logging_config_new - * constructor for logging_config object - */ -static PyObject * PyObj_pjsua_logging_config_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_logging_config *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_logging_config *)type->tp_alloc(type, 0); - if (self != NULL) { - self->log_filename = PyString_FromString(""); - self->cb = Py_BuildValue(""); - } - - return (PyObject *)self; -} - - -/* - * PyObj_pjsua_logging_config_members - */ -static PyMemberDef PyObj_pjsua_logging_config_members[] = -{ - { - "msg_logging", T_INT, - offsetof(PyObj_pjsua_logging_config, msg_logging), 0, - "Log incoming and outgoing SIP message? Yes!" - }, - { - "level", T_INT, - offsetof(PyObj_pjsua_logging_config, level), 0, - "Input verbosity level. Value 5 is reasonable." - }, - { - "console_level", T_INT, - offsetof(PyObj_pjsua_logging_config, console_level), - 0, "Verbosity level for console. Value 4 is reasonable." - }, - { - "decor", T_INT, - offsetof(PyObj_pjsua_logging_config, decor), 0, - "Log decoration" - }, - { - "log_filename", T_OBJECT_EX, - offsetof(PyObj_pjsua_logging_config, log_filename), 0, - "Optional log filename" - }, - { - "cb", T_OBJECT_EX, - offsetof(PyObj_pjsua_logging_config, cb), 0, - "Optional callback function to be called to write log to application " - "specific device. This function will be called forlog messages on " - "input verbosity level." - }, - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjsua_logging_config - */ -static PyTypeObject PyTyp_pjsua_logging_config = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "_pjsua.Logging_Config", /*tp_name*/ - sizeof(PyObj_pjsua_logging_config), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_logging_config_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Logging Config objects", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsua_logging_config_members,/* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_logging_config_new, /* tp_new */ - -}; - - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsua_msg_data - * typewrapper for MessageData class - * !modified @ 061206 - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - PyObject * hdr_list; - PyObject * content_type; - PyObject * msg_body; -} PyObj_pjsua_msg_data; - - -/* - * PyObj_pjsua_msg_data_delete - * deletes a msg_data - * !modified @ 061206 - */ -static void PyObj_pjsua_msg_data_delete(PyObj_pjsua_msg_data* self) -{ - Py_XDECREF(self->hdr_list); - Py_XDECREF(self->content_type); - Py_XDECREF(self->msg_body); - self->ob_type->tp_free((PyObject*)self); -} - - -/* - * PyObj_pjsua_msg_data_new - * constructor for msg_data object - * !modified @ 061206 - */ -static PyObject * PyObj_pjsua_msg_data_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_msg_data *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_msg_data *)type->tp_alloc(type, 0); - if (self != NULL) { - self->hdr_list = PyList_New(0); - self->content_type = PyString_FromString(""); - self->msg_body = PyString_FromString(""); - } - - return (PyObject *)self; -} - - -/* - * PyObj_pjsua_msg_data_members - * !modified @ 061206 - */ -static PyMemberDef PyObj_pjsua_msg_data_members[] = -{ - { - "hdr_list", T_OBJECT_EX, - offsetof(PyObj_pjsua_msg_data, hdr_list), 0, - "Additional message headers as linked list of strings." - }, - { - "content_type", T_OBJECT_EX, - offsetof(PyObj_pjsua_msg_data, content_type), 0, - "MIME type of optional message body." - }, - { - "msg_body", T_OBJECT_EX, - offsetof(PyObj_pjsua_msg_data, msg_body), 0, - "Optional message body." - }, - {NULL} /* Sentinel */ -}; - - -/* - * PyTyp_pjsua_msg_data - */ -static PyTypeObject PyTyp_pjsua_msg_data = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "_pjsua.Msg_Data", /*tp_name*/ - sizeof(PyObj_pjsua_msg_data), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_msg_data_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "msg_data objects", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsua_msg_data_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_msg_data_new, /* tp_new */ - -}; - - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsua_transport_config - * Transport configuration for creating UDP transports for both SIP - * and media. - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - unsigned port; - PyObject *public_addr; - PyObject *bound_addr; -} PyObj_pjsua_transport_config; - - -/* - * PyObj_pjsua_transport_config_delete - * deletes a transport config from memory - */ -static void PyObj_pjsua_transport_config_delete(PyObj_pjsua_transport_config* self) -{ - Py_XDECREF(self->public_addr); - Py_XDECREF(self->bound_addr); - self->ob_type->tp_free((PyObject*)self); -} - - -static void PyObj_pjsua_transport_config_export(pjsua_transport_config *cfg, - PyObj_pjsua_transport_config *obj) -{ - pjsua_transport_config_default(cfg); - cfg->public_addr = PyString_ToPJ(obj->public_addr); - cfg->bound_addr = PyString_ToPJ(obj->bound_addr); - cfg->port = obj->port; - -} - -static void PyObj_pjsua_transport_config_import(PyObj_pjsua_transport_config *obj, - const pjsua_transport_config *cfg) -{ - Py_XDECREF(obj->public_addr); - obj->public_addr = PyString_FromPJ(&cfg->public_addr); - - Py_XDECREF(obj->bound_addr); - obj->bound_addr = PyString_FromPJ(&cfg->bound_addr); - - obj->port = cfg->port; -} - - -/* - * PyObj_pjsua_transport_config_new - * constructor for transport_config object - */ -static PyObject * PyObj_pjsua_transport_config_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_transport_config *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_transport_config *)type->tp_alloc(type, 0); - if (self != NULL) { - self->public_addr = PyString_FromString(""); - self->bound_addr = PyString_FromString(""); - } - - return (PyObject *)self; -} - - -/* - * PyObj_pjsua_transport_config_members - */ -static PyMemberDef PyObj_pjsua_transport_config_members[] = -{ - { - "port", T_INT, - offsetof(PyObj_pjsua_transport_config, port), 0, - "UDP port number to bind locally. This setting MUST be specified " - "even when default port is desired. If the value is zero, the " - "transport will be bound to any available port, and application " - "can query the port by querying the transport info." - }, - { - "public_addr", T_OBJECT_EX, - offsetof(PyObj_pjsua_transport_config, public_addr), 0, - "Optional address to advertise as the address of this transport. " - "Application can specify any address or hostname for this field, " - "for example it can point to one of the interface address in the " - "system, or it can point to the public address of a NAT router " - "where port mappings have been configured for the application." - }, - { - "bound_addr", T_OBJECT_EX, - offsetof(PyObj_pjsua_transport_config, bound_addr), 0, - "Optional address where the socket should be bound to. This option " - "SHOULD only be used to selectively bind the socket to particular " - "interface (instead of 0.0.0.0), and SHOULD NOT be used to set the " - "published address of a transport (the public_addr field should be " - "used for that purpose)." - }, - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjsua_transport_config - */ -static PyTypeObject PyTyp_pjsua_transport_config = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "_pjsua.Transport_Config", /*tp_name*/ - sizeof(PyObj_pjsua_transport_config), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_transport_config_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Transport setting", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsua_transport_config_members,/* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_transport_config_new,/* tp_new */ -}; - - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsua_transport_info - * Transport info - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - int id; - int type; - PyObject *type_name; - PyObject *info; - unsigned flag; - PyObject *addr; - unsigned port; - unsigned usage_count; -} PyObj_pjsua_transport_info; - - -/* - * PyObj_pjsua_transport_info_delete - * deletes a transport info from memory - */ -static void PyObj_pjsua_transport_info_delete(PyObj_pjsua_transport_info* self) -{ - Py_XDECREF(self->type_name); - Py_XDECREF(self->info); - Py_XDECREF(self->addr); - self->ob_type->tp_free((PyObject*)self); -} - - -static void PyObj_pjsua_transport_info_import(PyObj_pjsua_transport_info *obj, - const pjsua_transport_info *info) -{ - obj->id = info->id; - obj->type = info->type; - obj->type_name = PyString_FromPJ(&info->type_name); - obj->info = PyString_FromPJ(&info->info); - obj->flag = info->flag; - obj->addr = PyString_FromPJ(&info->local_name.host); - obj->port = info->local_name.port; - obj->usage_count= info->usage_count; -} - -/* - * PyObj_pjsua_transport_info_new - * constructor for transport_info object - */ -static PyObject * PyObj_pjsua_transport_info_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_transport_info *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_transport_info *)type->tp_alloc(type, 0); - if (self != NULL) - { - self->type_name = PyString_FromString(""); - self->info = PyString_FromString(""); - self->addr = PyString_FromString(""); - } - - return (PyObject *)self; -} - - -/* - * PyObj_pjsua_transport_info_members - */ -static PyMemberDef PyObj_pjsua_transport_info_members[] = -{ - { - "id", T_INT, - offsetof(PyObj_pjsua_transport_info, id), 0, - "PJSUA transport identification." - }, - { - "type", T_INT, - offsetof(PyObj_pjsua_transport_info, type), 0, - "Transport type." - }, - { - "type_name", T_OBJECT_EX, - offsetof(PyObj_pjsua_transport_info, type_name), 0, - "Transport type name." - }, - { - "info", T_OBJECT_EX, - offsetof(PyObj_pjsua_transport_info, info), 0, - "Transport string info/description." - }, - { - "flag", T_INT, - offsetof(PyObj_pjsua_transport_info, flag), 0, - "Transport flag (see ##pjsip_transport_flags_e)." - }, - { - "addr", T_OBJECT_EX, - offsetof(PyObj_pjsua_transport_info, addr), 0, - "Published address (or transport address name)." - }, - { - "port", T_INT, - offsetof(PyObj_pjsua_transport_info, port), 0, - "Published port number." - }, - { - "usage_count", T_INT, - offsetof(PyObj_pjsua_transport_info, usage_count), 0, - "Current number of objects currently referencing this transport." - }, - {NULL} /* Sentinel */ -}; - - -/* - * PyTyp_pjsua_transport_info - */ -static PyTypeObject PyTyp_pjsua_transport_info = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "_pjsua.Transport_Info", /*tp_name*/ - sizeof(PyObj_pjsua_transport_info), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_transport_info_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Transport Info objects", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsua_transport_info_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_transport_info_new, /* tp_new */ - -}; - - -////////////////////////////////////////////////////////////////////////////// - -/* - * PyObj_pjsua_acc_config - * Acc Config - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - int priority; - PyObject *id; - PyObject *reg_uri; - int publish_enabled; - int mwi_enabled; - PyObject *force_contact; - PyListObject *proxy; - unsigned reg_timeout; - unsigned reg_delay_before_refresh; - PyListObject *cred_info; - int transport_id; - int auth_initial_send; - PyObject *auth_initial_algorithm; - PyObject *pidf_tuple_id; - PyObject *contact_params; - PyObject *contact_uri_params; - int require_100rel; - int use_timer; - unsigned timer_se; - unsigned timer_min_se; - int allow_contact_rewrite; - int ka_interval; - PyObject *ka_data; - unsigned use_srtp; - unsigned srtp_secure_signaling; -} PyObj_pjsua_acc_config; - - -/* - * PyObj_pjsua_acc_config_delete - * deletes a acc_config from memory - */ -static void PyObj_pjsua_acc_config_delete(PyObj_pjsua_acc_config* self) -{ - Py_XDECREF(self->id); - Py_XDECREF(self->reg_uri); - Py_XDECREF(self->force_contact); - Py_XDECREF(self->proxy); - Py_XDECREF(self->cred_info); - Py_XDECREF(self->auth_initial_algorithm); - Py_XDECREF(self->pidf_tuple_id); - Py_XDECREF(self->contact_params); - Py_XDECREF(self->contact_uri_params); - Py_XDECREF(self->ka_data); - self->ob_type->tp_free((PyObject*)self); -} - - -static void PyObj_pjsua_acc_config_import(PyObj_pjsua_acc_config *obj, - const pjsua_acc_config *cfg) -{ - unsigned i; - - obj->priority = cfg->priority; - Py_XDECREF(obj->id); - obj->id = PyString_FromPJ(&cfg->id); - Py_XDECREF(obj->reg_uri); - obj->reg_uri = PyString_FromPJ(&cfg->reg_uri); - obj->publish_enabled = cfg->publish_enabled; - obj->mwi_enabled = cfg->mwi_enabled; - Py_XDECREF(obj->force_contact); - obj->force_contact = PyString_FromPJ(&cfg->force_contact); - Py_XDECREF(obj->proxy); - obj->proxy = (PyListObject *)PyList_New(0); - for (i=0; iproxy_cnt; ++i) { - PyObject * str; - str = PyString_FromPJ(&cfg->proxy[i]); - PyList_Append((PyObject *)obj->proxy, str); - } - - obj->reg_timeout = cfg->reg_timeout; - obj->reg_delay_before_refresh = cfg->reg_delay_before_refresh; - - Py_XDECREF(obj->cred_info); - obj->cred_info = (PyListObject *)PyList_New(0); - for (i=0; icred_count; ++i) { - PyObj_pjsip_cred_info * ci; - - ci = (PyObj_pjsip_cred_info *) - PyObj_pjsip_cred_info_new(&PyTyp_pjsip_cred_info,NULL,NULL); - PyObj_pjsip_cred_info_import(ci, &cfg->cred_info[i]); - PyList_Append((PyObject *)obj->cred_info, (PyObject *)ci); - } - - obj->transport_id = cfg->transport_id; - - obj->auth_initial_send = cfg->auth_pref.initial_auth; - Py_XDECREF(obj->auth_initial_algorithm); - obj->auth_initial_algorithm = PyString_FromPJ(&cfg->auth_pref.algorithm); - Py_XDECREF(obj->pidf_tuple_id); - obj->pidf_tuple_id = PyString_FromPJ(&cfg->pidf_tuple_id); - Py_XDECREF(obj->contact_params); - obj->contact_params = PyString_FromPJ(&cfg->contact_params); - Py_XDECREF(obj->contact_uri_params); - obj->contact_uri_params = PyString_FromPJ(&cfg->contact_uri_params); - obj->require_100rel = cfg->require_100rel; - obj->use_timer = cfg->use_timer; - obj->timer_se = cfg->timer_setting.sess_expires; - obj->timer_min_se = cfg->timer_setting.min_se; - obj->allow_contact_rewrite = cfg->allow_contact_rewrite; - obj->ka_interval = cfg->ka_interval; - Py_XDECREF(obj->ka_data); - obj->ka_data = PyString_FromPJ(&cfg->ka_data); - obj->use_srtp = cfg->use_srtp; - obj->srtp_secure_signaling = cfg->srtp_secure_signaling; -} - -static void PyObj_pjsua_acc_config_export(pjsua_acc_config *cfg, - PyObj_pjsua_acc_config *obj) -{ - unsigned i; - - cfg->priority = obj->priority; - cfg->id = PyString_ToPJ(obj->id); - cfg->reg_uri = PyString_ToPJ(obj->reg_uri); - cfg->publish_enabled = obj->publish_enabled; - cfg->mwi_enabled = obj->mwi_enabled; - cfg->force_contact = PyString_ToPJ(obj->force_contact); - - cfg->proxy_cnt = PyList_Size((PyObject*)obj->proxy); - if (cfg->proxy_cnt > PJ_ARRAY_SIZE(cfg->proxy)) - cfg->proxy_cnt = PJ_ARRAY_SIZE(cfg->proxy); - for (i = 0; i < cfg->proxy_cnt; i++) { - PyObject *item = PyList_GetItem((PyObject *)obj->proxy, i); - cfg->proxy[i] = PyString_ToPJ(item); - } - - cfg->reg_timeout = obj->reg_timeout; - cfg->reg_delay_before_refresh = obj->reg_delay_before_refresh; - - cfg->cred_count = PyList_Size((PyObject*)obj->cred_info); - if (cfg->cred_count > PJ_ARRAY_SIZE(cfg->cred_info)) - cfg->cred_count = PJ_ARRAY_SIZE(cfg->cred_info); - for (i = 0; i < cfg->cred_count; i++) { - PyObj_pjsip_cred_info *ci; - ci = (PyObj_pjsip_cred_info*) - PyList_GetItem((PyObject *)obj->cred_info, i); - PyObj_pjsip_cred_info_export(&cfg->cred_info[i], ci); - } - - cfg->transport_id = obj->transport_id; - cfg->auth_pref.initial_auth = obj->auth_initial_send; - cfg->auth_pref.algorithm = PyString_ToPJ(obj->auth_initial_algorithm); - cfg->pidf_tuple_id = PyString_ToPJ(obj->pidf_tuple_id); - cfg->contact_params = PyString_ToPJ(obj->contact_params); - cfg->contact_uri_params = PyString_ToPJ(obj->contact_uri_params); - cfg->require_100rel = obj->require_100rel; - cfg->use_timer = obj->use_timer; - cfg->timer_setting.sess_expires = obj->timer_se; - cfg->timer_setting.min_se = obj->timer_min_se; - cfg->allow_contact_rewrite = obj->allow_contact_rewrite; - cfg->ka_interval = obj->ka_interval; - cfg->ka_data = PyString_ToPJ(obj->ka_data); - cfg->use_srtp = obj->use_srtp; - cfg->srtp_secure_signaling = obj->srtp_secure_signaling; -} - - -/* - * PyObj_pjsua_acc_config_new - * constructor for acc_config object - */ -static PyObject * PyObj_pjsua_acc_config_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_acc_config *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_acc_config *)type->tp_alloc(type, 0); - if (self != NULL) { - self->id = PyString_FromString(""); - self->reg_uri = PyString_FromString(""); - self->force_contact = PyString_FromString(""); - self->proxy = (PyListObject *)PyList_New(0); - self->cred_info = (PyListObject *)PyList_New(0); - self->auth_initial_algorithm = PyString_FromString(""); - self->pidf_tuple_id = PyString_FromString(""); - self->contact_params = PyString_FromString(""); - self->contact_uri_params = PyString_FromString(""); - self->ka_data = PyString_FromString(""); - } - - return (PyObject *)self; -} - - - -/* - * PyObj_pjsua_acc_config_members - */ -static PyMemberDef PyObj_pjsua_acc_config_members[] = -{ - { - "priority", T_INT, offsetof(PyObj_pjsua_acc_config, priority), 0, - "Account priority, which is used to control the order of matching " - "incoming/outgoing requests. The higher the number means the higher " - "the priority is, and the account will be matched first. " - }, - { - "id", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_config, id), 0, - "The full SIP URL for the account. " - "The value can take name address or URL format, " - "and will look something like 'sip:account@serviceprovider'. " - "This field is mandatory." - }, - { - "reg_uri", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_config, reg_uri), 0, - "This is the URL to be put in the request URI for the registration, " - "and will look something like 'sip:serviceprovider'. " - "This field should be specified if registration is desired. " - "If the value is empty, no account registration will be performed. " - }, - { - "publish_enabled", T_INT, - offsetof(PyObj_pjsua_acc_config, publish_enabled), 0, - "Publish presence? " - }, - { - "mwi_enabled", T_INT, - offsetof(PyObj_pjsua_acc_config, mwi_enabled), 0, - "Enable MWI subscription " - }, - { - "force_contact", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_config, force_contact), 0, - "Optional URI to be put as Contact for this account. " - "It is recommended that this field is left empty, " - "so that the value will be calculated automatically " - "based on the transport address. " - }, - { - "proxy", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_config, proxy), 0, - "Optional URI of the proxies to be visited for all outgoing requests " - "that are using this account (REGISTER, INVITE, etc). Application need " - "to specify these proxies if the service provider requires " - "that requests destined towards its network should go through certain " - "proxies first (for example, border controllers)." - }, - { - "reg_timeout", T_INT, - offsetof(PyObj_pjsua_acc_config, reg_timeout), 0, - "Optional interval for registration, in seconds. " - "If the value is zero, default interval will be used " - "(PJSUA_REG_INTERVAL, 55 seconds). " - }, - { - "reg_delay_before_refresh", T_INT, - offsetof(PyObj_pjsua_acc_config, reg_delay_before_refresh), 0, - "Specify the number of seconds to refresh the client registration" - "before the registration expires." - "(PJSIP_REGISTER_CLIENT_DELAY_BEFORE_REFRESH, 5 seconds). " - }, - { - "cred_info", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_config, cred_info), 0, - "Array of credentials. If registration is desired, normally there " - "should be at least one credential specified, to successfully " - "authenticate against the service provider. More credentials can " - "be specified, for example when the requests are expected to be " - "challenged by the proxies in the route set." - }, - { - "transport_id", T_INT, - offsetof(PyObj_pjsua_acc_config, transport_id), 0, - "Optionally bind this account to specific transport. This normally is" - " not a good idea, as account should be able to send requests using" - " any available transports according to the destination. But some" - " application may want to have explicit control over the transport to" - " use, so in that case it can set this field." - }, - { - "auth_initial_send", T_INT, - offsetof(PyObj_pjsua_acc_config, auth_initial_send), 0, - "Send empty initial authorization header." - }, - { - "auth_initial_algorithm", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_config, auth_initial_algorithm), 0, - "Specify algorithm in empty initial authorization header." - }, - { - "pidf_tuple_id", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_config, pidf_tuple_id), 0, - "PIDF tuple id." - }, - { - "contact_params", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_config, contact_params), 0, - "Additional parameters for Contact header." - }, - { - "contact_uri_params", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_config, contact_uri_params), 0, - "Additional parameters for Contact URI." - }, - { - "require_100rel", T_INT, - offsetof(PyObj_pjsua_acc_config, require_100rel), 0, - "Require reliable provisional response." - }, - { - "use_timer", T_INT, - offsetof(PyObj_pjsua_acc_config, use_timer), 0, - "Use SIP session timers? (default=1)" - "0:inactive, 1:optional, 2:mandatory, 3:always" - }, - { - "timer_se", T_INT, - offsetof(PyObj_pjsua_acc_config, timer_se), 0, - "Session timer expiration period, in seconds." - }, - { - "timer_min_se", T_INT, - offsetof(PyObj_pjsua_acc_config, timer_min_se), 0, - "Session timer minimum expiration period, in seconds." - }, - { - "allow_contact_rewrite", T_INT, - offsetof(PyObj_pjsua_acc_config, allow_contact_rewrite), 0, - "Re-REGISTER if behind symmetric NAT." - }, - { - "ka_interval", T_INT, - offsetof(PyObj_pjsua_acc_config, ka_interval), 0, - "Keep-alive interval." - }, - { - "ka_data", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_config, ka_data), 0, - "Keep-alive data." - }, - { - "use_srtp", T_INT, - offsetof(PyObj_pjsua_acc_config, use_srtp), 0, - "Specify SRTP usage." - }, - { - "srtp_secure_signaling", T_INT, - offsetof(PyObj_pjsua_acc_config, srtp_secure_signaling), 0, - "Specify if SRTP requires secure signaling to be used." - }, - - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjsua_acc_config - */ -static PyTypeObject PyTyp_pjsua_acc_config = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "_pjsua.Acc_Config", /*tp_name*/ - sizeof(PyObj_pjsua_acc_config), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_acc_config_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Account settings", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsua_acc_config_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_acc_config_new, /* tp_new */ - -}; - - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsua_acc_info - * Acc Info - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - int id; - int is_default; - PyObject *acc_uri; - int has_registration; - int expires; - int status; - PyObject *status_text; - int online_status; - PyObject *online_status_text; -} PyObj_pjsua_acc_info; - - -/* - * PyObj_pjsua_acc_info_delete - * deletes a acc_info from memory - */ -static void PyObj_pjsua_acc_info_delete(PyObj_pjsua_acc_info* self) -{ - Py_XDECREF(self->acc_uri); - Py_XDECREF(self->status_text); - Py_XDECREF(self->online_status_text); - self->ob_type->tp_free((PyObject*)self); -} - - -static void PyObj_pjsua_acc_info_import(PyObj_pjsua_acc_info *obj, - const pjsua_acc_info *info) -{ - obj->id = info->id; - obj->is_default = info->is_default; - Py_XDECREF(obj->acc_uri); - obj->acc_uri = PyString_FromPJ(&info->acc_uri); - obj->has_registration = info->has_registration; - obj->expires = info->expires; - obj->status = info->status; - Py_XDECREF(obj->status_text); - obj->status_text= PyString_FromPJ(&info->status_text); - obj->online_status = info->online_status; - Py_XDECREF(obj->online_status_text); - obj->online_status_text = PyString_FromPJ(&info->online_status_text); -} - - -/* - * PyObj_pjsua_acc_info_new - * constructor for acc_info object - */ -static PyObject * PyObj_pjsua_acc_info_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_acc_info *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_acc_info *)type->tp_alloc(type, 0); - if (self != NULL) { - self->acc_uri = PyString_FromString(""); - self->status_text = PyString_FromString(""); - self->online_status_text = PyString_FromString(""); - } - - return (PyObject *)self; -} - -/* - * acc_info_members - */ -static PyMemberDef acc_info_members[] = -{ - { - "id", T_INT, - offsetof(PyObj_pjsua_acc_info, id), 0, - "The account ID." - }, - { - "is_default", T_INT, - offsetof(PyObj_pjsua_acc_info, is_default), 0, - "Flag to indicate whether this is the default account. " - }, - { - "acc_uri", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_info, acc_uri), 0, - "Account URI" - }, - { - "has_registration", T_INT, - offsetof(PyObj_pjsua_acc_info, has_registration), 0, - "Flag to tell whether this account has registration setting " - "(reg_uri is not empty)." - }, - { - "expires", T_INT, - offsetof(PyObj_pjsua_acc_info, expires), 0, - "An up to date expiration interval for account registration session." - }, - { - "status", T_INT, - offsetof(PyObj_pjsua_acc_info, status), 0, - "Last registration status code. If status code is zero, " - "the account is currently not registered. Any other value indicates " - "the SIP status code of the registration. " - }, - { - "status_text", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_info, status_text), 0, - "String describing the registration status." - }, - { - "online_status", T_INT, - offsetof(PyObj_pjsua_acc_info, online_status), 0, - "Presence online status for this account. " - }, - { - "online_status_text", T_OBJECT_EX, - offsetof(PyObj_pjsua_acc_info, online_status_text), 0, - "Presence online status text." - }, - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjsua_acc_info - */ -static PyTypeObject PyTyp_pjsua_acc_info = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "_pjsua.Acc_Info", /*tp_name*/ - sizeof(PyObj_pjsua_acc_info), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_acc_info_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Account info", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - NULL, /* tp_methods */ - acc_info_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_acc_info_new, /* tp_new */ - -}; - - -////////////////////////////////////////////////////////////////////////////// - -/* - * PyObj_pjsua_buddy_config - * Buddy Config - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - PyObject *uri; - int subscribe; -} PyObj_pjsua_buddy_config; - - -/* - * PyObj_pjsua_buddy_config_delete - * deletes a buddy_config from memory - */ -static void PyObj_pjsua_buddy_config_delete(PyObj_pjsua_buddy_config* self) -{ - Py_XDECREF(self->uri); - self->ob_type->tp_free((PyObject*)self); -} - - -static void PyObj_pjsua_buddy_config_import(PyObj_pjsua_buddy_config *obj, - const pjsua_buddy_config *cfg) -{ - Py_XDECREF(obj->uri); - obj->uri = PyString_FromPJ(&cfg->uri); - obj->subscribe = cfg->subscribe; -} - - -static void PyObj_pjsua_buddy_config_export(pjsua_buddy_config *cfg, - PyObj_pjsua_buddy_config *obj) -{ - cfg->uri = PyString_ToPJ(obj->uri); - cfg->subscribe = obj->subscribe; - cfg->user_data = NULL; -} - - -/* - * PyObj_pjsua_buddy_config_new - * constructor for buddy_config object - */ -static PyObject *PyObj_pjsua_buddy_config_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_buddy_config *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_buddy_config *)type->tp_alloc(type, 0); - if (self != NULL) { - self->uri = PyString_FromString(""); - } - return (PyObject *)self; -} - -/* - * PyObj_pjsua_buddy_config_members - */ -static PyMemberDef PyObj_pjsua_buddy_config_members[] = -{ - - { - "uri", T_OBJECT_EX, - offsetof(PyObj_pjsua_buddy_config, uri), 0, - "TBuddy URL or name address." - }, - - { - "subscribe", T_INT, - offsetof(PyObj_pjsua_buddy_config, subscribe), 0, - "Specify whether presence subscription should start immediately. " - }, - - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjsua_buddy_config - */ -static PyTypeObject PyTyp_pjsua_buddy_config = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "_pjsua.Buddy_Config", /*tp_name*/ - sizeof(PyObj_pjsua_buddy_config),/*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_buddy_config_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Buddy config", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsua_buddy_config_members,/* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_buddy_config_new, /* tp_new */ - -}; - -////////////////////////////////////////////////////////////////////////////// -/* - * PyObj_pjsua_buddy_info - * Buddy Info - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - int id; - PyObject *uri; - PyObject *contact; - int status; - PyObject *status_text; - int monitor_pres; - int activity; - int sub_state; - PyObject *sub_term_reason; -} PyObj_pjsua_buddy_info; - - -/* - * PyObj_pjsua_buddy_info_delete - * deletes a buddy_info from memory - * !modified @ 071206 - */ -static void PyObj_pjsua_buddy_info_delete(PyObj_pjsua_buddy_info* self) -{ - Py_XDECREF(self->uri); - Py_XDECREF(self->contact); - Py_XDECREF(self->status_text); - Py_XDECREF(self->sub_term_reason); - - self->ob_type->tp_free((PyObject*)self); -} - - -static void PyObj_pjsua_buddy_info_import(PyObj_pjsua_buddy_info *obj, - const pjsua_buddy_info *info) -{ - obj->id = info->id; - Py_XDECREF(obj->uri); - obj->uri = PyString_FromPJ(&info->uri); - Py_XDECREF(obj->contact); - obj->contact = PyString_FromPJ(&info->contact); - obj->status = info->status; - Py_XDECREF(obj->status_text); - obj->status_text = PyString_FromPJ(&info->status_text); - obj->monitor_pres = info->monitor_pres; - obj->activity = info->rpid.activity; - obj->sub_state = info->sub_state; - Py_XDECREF(obj->sub_term_reason); - obj->sub_term_reason = PyString_FromPJ(&info->sub_term_reason); -} - - -/* - * PyObj_pjsua_buddy_info_new - * constructor for buddy_info object - * !modified @ 071206 - */ -static PyObject * PyObj_pjsua_buddy_info_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_buddy_info *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_buddy_info *)type->tp_alloc(type, 0); - if (self != NULL) { - self->uri = PyString_FromString(""); - self->contact = PyString_FromString(""); - self->status_text = PyString_FromString(""); - self->sub_term_reason = PyString_FromString(""); - } - return (PyObject *)self; -} - -/* - * PyObj_pjsua_buddy_info_members - * !modified @ 071206 - */ -static PyMemberDef PyObj_pjsua_buddy_info_members[] = -{ - { - "id", T_INT, - offsetof(PyObj_pjsua_buddy_info, id), 0, - "The buddy ID." - }, - { - "uri", T_OBJECT_EX, - offsetof(PyObj_pjsua_buddy_info, uri), 0, - "The full URI of the buddy, as specified in the configuration. " - }, - { - "contact", T_OBJECT_EX, - offsetof(PyObj_pjsua_buddy_info, contact), 0, - "Buddy's Contact, only available when presence subscription " - "has been established to the buddy." - }, - { - "status", T_INT, - offsetof(PyObj_pjsua_buddy_info, status), 0, - "Buddy's online status. " - }, - { - "status_text", T_OBJECT_EX, - offsetof(PyObj_pjsua_buddy_info, status_text), 0, - "Text to describe buddy's online status." - }, - { - "monitor_pres", T_INT, - offsetof(PyObj_pjsua_buddy_info, monitor_pres), 0, - "Flag to indicate that we should monitor the presence information " - "for this buddy (normally yes, unless explicitly disabled). " - }, - { - "activity", T_INT, - offsetof(PyObj_pjsua_buddy_info, activity), 0, - "Activity type. " - }, - { - "sub_state", T_INT, - offsetof(PyObj_pjsua_buddy_info, sub_state), 0, - "Subscription state." - }, - { - "sub_term_reason", T_INT, - offsetof(PyObj_pjsua_buddy_info, sub_term_reason), 0, - "Subscription termination reason." - }, - - - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjsua_buddy_info - */ -static PyTypeObject PyTyp_pjsua_buddy_info = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "_pjsua.Buddy_Info", /*tp_name*/ - sizeof(PyObj_pjsua_buddy_info), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)PyObj_pjsua_buddy_info_delete,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Buddy Info object", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - PyObj_pjsua_buddy_info_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - PyObj_pjsua_buddy_info_new, /* tp_new */ - -}; - - -////////////////////////////////////////////////////////////////////////////// - -/* - * PyObj_pjsua_codec_info - * Codec Info - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - - PyObject * codec_id; - pj_uint8_t priority; -} PyObj_pjsua_codec_info; - - -/* - * codec_info_dealloc - * deletes a codec_info from memory - */ -static void codec_info_dealloc(PyObj_pjsua_codec_info* self) -{ - Py_XDECREF(self->codec_id); - self->ob_type->tp_free((PyObject*)self); -} - - -/* - * codec_info_new - * constructor for codec_info object - */ -static PyObject * codec_info_new(PyTypeObject *type, PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_codec_info *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_codec_info *)type->tp_alloc(type, 0); - if (self != NULL) { - self->codec_id = PyString_FromString(""); - } - return (PyObject *)self; -} - -/* - * codec_info_members - * !modified @ 071206 - */ -static PyMemberDef codec_info_members[] = -{ - { - "codec_id", T_OBJECT_EX, - offsetof(PyObj_pjsua_codec_info, codec_id), 0, - "Codec unique identification." - }, - { - "priority", T_INT, - offsetof(PyObj_pjsua_codec_info, priority), 0, - "Codec priority (integer 0-255)." - }, - - {NULL} /* Sentinel */ -}; - -/* - * PyTyp_pjsua_codec_info - */ -static PyTypeObject PyTyp_pjsua_codec_info = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "_pjsua.Codec_Info", /*tp_name*/ - sizeof(PyObj_pjsua_codec_info), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)codec_info_dealloc, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Codec Info", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - codec_info_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - codec_info_new, /* tp_new */ - -}; - - -////////////////////////////////////////////////////////////////////////////// - -/* - * PyObj_pjsua_conf_port_info - * Conf Port Info - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - - int slot_id; - PyObject *name; - unsigned clock_rate; - unsigned channel_count; - unsigned samples_per_frame; - unsigned bits_per_sample; - PyObject *listeners; - -} PyObj_pjsua_conf_port_info; - - -/* - * conf_port_info_dealloc - * deletes a conf_port_info from memory - */ -static void conf_port_info_dealloc(PyObj_pjsua_conf_port_info* self) -{ - Py_XDECREF(self->name); - Py_XDECREF(self->listeners); - self->ob_type->tp_free((PyObject*)self); -} - - -/* - * conf_port_info_new - * constructor for conf_port_info object - */ -static PyObject * conf_port_info_new(PyTypeObject *type, PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_conf_port_info *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_conf_port_info *)type->tp_alloc(type, 0); - if (self != NULL) { - self->name = PyString_FromString(""); - self->listeners = PyList_New(0); - } - return (PyObject *)self; -} - -/* - * conf_port_info_members - */ -static PyMemberDef conf_port_info_members[] = -{ - { - "slot_id", T_INT, - offsetof(PyObj_pjsua_conf_port_info, slot_id), 0, - "Conference port number." - }, - { - "name", T_OBJECT_EX, - offsetof(PyObj_pjsua_conf_port_info, name), 0, - "Port name" - }, - { - "clock_rate", T_INT, - offsetof(PyObj_pjsua_conf_port_info, clock_rate), 0, - "Clock rate" - }, - { - "channel_count", T_INT, - offsetof(PyObj_pjsua_conf_port_info, channel_count), 0, - "Number of channels." - }, - { - "samples_per_frame", T_INT, - offsetof(PyObj_pjsua_conf_port_info, samples_per_frame), 0, - "Samples per frame " - }, - { - "bits_per_sample", T_INT, - offsetof(PyObj_pjsua_conf_port_info, bits_per_sample), 0, - "Bits per sample" - }, - { - "listeners", T_OBJECT_EX, - offsetof(PyObj_pjsua_conf_port_info, listeners), 0, - "Array of listeners (in other words, ports where this port " - "is transmitting to" - }, - - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjsua_conf_port_info - */ -static PyTypeObject PyTyp_pjsua_conf_port_info = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "_pjsua.Conf_Port_Info", /*tp_name*/ - sizeof(PyObj_pjsua_conf_port_info), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)conf_port_info_dealloc,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Conf Port Info objects", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - conf_port_info_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - conf_port_info_new, /* tp_new */ - -}; - -////////////////////////////////////////////////////////////////////////////// - -/* - * PyObj_pjmedia_snd_dev_info - * PJMedia Snd Dev Info - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - - unsigned input_count; - unsigned output_count; - unsigned default_samples_per_sec; - PyObject *name; - -} PyObj_pjmedia_snd_dev_info; - -/* - * pjmedia_snd_dev_info_dealloc - * deletes a pjmedia_snd_dev_info from memory - */ -static void pjmedia_snd_dev_info_dealloc(PyObj_pjmedia_snd_dev_info* self) -{ - Py_XDECREF(self->name); - self->ob_type->tp_free((PyObject*)self); -} - -/* - * pjmedia_snd_dev_info_new - * constructor for pjmedia_snd_dev_info object - */ -static PyObject * pjmedia_snd_dev_info_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjmedia_snd_dev_info *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjmedia_snd_dev_info *)type->tp_alloc(type, 0); - if (self != NULL) { - self->name = PyString_FromString(""); - } - return (PyObject *)self; -} - -/* - * pjmedia_snd_dev_info_members - */ -static PyMemberDef pjmedia_snd_dev_info_members[] = -{ - { - "input_count", T_INT, - offsetof(PyObj_pjmedia_snd_dev_info, input_count), 0, - "Max number of input channels" - }, - { - "output_count", T_INT, - offsetof(PyObj_pjmedia_snd_dev_info, output_count), 0, - "Max number of output channels" - }, - { - "default_samples_per_sec", T_INT, - offsetof(PyObj_pjmedia_snd_dev_info, default_samples_per_sec), 0, - "Default sampling rate." - }, - { - "name", T_OBJECT_EX, - offsetof(PyObj_pjmedia_snd_dev_info, name), 0, - "Device name" - }, - - {NULL} /* Sentinel */ -}; - - -/* - * PyTyp_pjmedia_snd_dev_info - */ -static PyTypeObject PyTyp_pjmedia_snd_dev_info = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "_pjsua.PJMedia_Snd_Dev_Info", /*tp_name*/ - sizeof(PyObj_pjmedia_snd_dev_info), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)pjmedia_snd_dev_info_dealloc,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "PJMedia Snd Dev Info object", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - pjmedia_snd_dev_info_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - pjmedia_snd_dev_info_new, /* tp_new */ - -}; - -////////////////////////////////////////////////////////////////////////////// - -/* - * PyObj_pjmedia_codec_param_info - * PJMedia Codec Param Info - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - - unsigned clock_rate; - unsigned channel_cnt; - pj_uint32_t avg_bps; - pj_uint16_t frm_ptime; - pj_uint8_t pcm_bits_per_sample; - pj_uint8_t pt; - -} PyObj_pjmedia_codec_param_info; - - - -/* - * pjmedia_codec_param_info_members - */ -static PyMemberDef pjmedia_codec_param_info_members[] = -{ - { - "clock_rate", T_INT, - offsetof(PyObj_pjmedia_codec_param_info, clock_rate), 0, - "Sampling rate in Hz" - }, - { - "channel_cnt", T_INT, - offsetof(PyObj_pjmedia_codec_param_info, channel_cnt), 0, - "Channel count" - }, - { - "avg_bps", T_INT, - offsetof(PyObj_pjmedia_codec_param_info, avg_bps), 0, - "Average bandwidth in bits/sec" - }, - { - "frm_ptime", T_INT, - offsetof(PyObj_pjmedia_codec_param_info, frm_ptime), 0, - "Base frame ptime in msec." - }, - { - "pcm_bits_per_sample", T_INT, - offsetof(PyObj_pjmedia_codec_param_info, pcm_bits_per_sample), 0, - "Bits/sample in the PCM side" - }, - { - "pt", T_INT, - offsetof(PyObj_pjmedia_codec_param_info, pt), 0, - "Payload type" - }, - - {NULL} /* Sentinel */ -}; - - -/* - * PyTyp_pjmedia_codec_param_info - */ -static PyTypeObject PyTyp_pjmedia_codec_param_info = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "_pjsua.PJMedia_Codec_Param_Info", /*tp_name*/ - sizeof(PyObj_pjmedia_codec_param_info), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - 0, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "PJMedia Codec Param Info objects",/* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - pjmedia_codec_param_info_members,/* tp_members */ -}; - - -////////////////////////////////////////////////////////////////////////////// - -/* - * PyObj_pjmedia_codec_param_setting - * PJMedia Codec Param Setting - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - pj_uint8_t frm_per_pkt; - unsigned vad; - unsigned cng; - unsigned penh; - unsigned plc; -#if 0 - pj_uint8_t enc_fmtp_mode; - pj_uint8_t dec_fmtp_mode; -#endif - -} PyObj_pjmedia_codec_param_setting; - - - -/* - * pjmedia_codec_param_setting_members - */ -static PyMemberDef pjmedia_codec_param_setting_members[] = -{ - { - "frm_per_pkt", T_INT, - offsetof(PyObj_pjmedia_codec_param_setting, frm_per_pkt), 0, - "Number of frames per packet" - }, - { - "vad", T_INT, - offsetof(PyObj_pjmedia_codec_param_setting, vad), 0, - "Voice Activity Detector" - }, - { - "cng", T_INT, - offsetof(PyObj_pjmedia_codec_param_setting, cng), 0, - "Comfort Noise Generator" - }, - { - "penh", T_INT, - offsetof(PyObj_pjmedia_codec_param_setting, penh), 0, - "Perceptual Enhancement" - }, - { - "plc", T_INT, - offsetof(PyObj_pjmedia_codec_param_setting, plc), 0, - "Packet loss concealment" - }, -#if 0 // no longer valid with latest modification in codec - { - "enc_fmtp_mode", T_INT, - offsetof(PyObj_pjmedia_codec_param_setting, enc_fmtp_mode), 0, - "Mode param in fmtp (def:0)" - }, - { - "dec_fmtp_mode", T_INT, - offsetof(PyObj_pjmedia_codec_param_setting, dec_fmtp_mode), 0, - "Mode param in fmtp (def:0)" - }, -#endif - - {NULL} /* Sentinel */ -}; - - -/* - * PyTyp_pjmedia_codec_param_setting - */ -static PyTypeObject PyTyp_pjmedia_codec_param_setting = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "_pjsua.PJMedia_Codec_Param_Setting",/*tp_name*/ - sizeof(PyObj_pjmedia_codec_param_setting), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - 0, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "PJMedia Codec Param Setting", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - pjmedia_codec_param_setting_members,/* tp_members */ -}; - -////////////////////////////////////////////////////////////////////////////// - - -/* - * PyObj_pjmedia_codec_param - * PJMedia Codec Param - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - - PyObj_pjmedia_codec_param_info * info; - PyObj_pjmedia_codec_param_setting * setting; - -} PyObj_pjmedia_codec_param; - -/* - * pjmedia_codec_param_dealloc - * deletes a pjmedia_codec_param from memory - */ -static void pjmedia_codec_param_dealloc(PyObj_pjmedia_codec_param* self) -{ - Py_XDECREF(self->info); - Py_XDECREF(self->setting); - self->ob_type->tp_free((PyObject*)self); -} - -/* - * pjmedia_codec_param_new - * constructor for pjmedia_codec_param object - */ -static PyObject * pjmedia_codec_param_new(PyTypeObject *type, - PyObject *args, - PyObject *kwds) -{ - PyObj_pjmedia_codec_param *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjmedia_codec_param *)type->tp_alloc(type, 0); - if (self != NULL) { - self->info = (PyObj_pjmedia_codec_param_info *) - PyType_GenericNew(&PyTyp_pjmedia_codec_param_info, - NULL, NULL); - self->setting = (PyObj_pjmedia_codec_param_setting *) - PyType_GenericNew(&PyTyp_pjmedia_codec_param_setting, - NULL, NULL); - } - return (PyObject *)self; -} - -/* - * pjmedia_codec_param_members - */ -static PyMemberDef pjmedia_codec_param_members[] = -{ - - { - "info", T_OBJECT_EX, - offsetof(PyObj_pjmedia_codec_param, info), 0, - "The 'info' part of codec param describes the capability of the codec," - " and the value should NOT be changed by application." - }, - { - "setting", T_OBJECT_EX, - offsetof(PyObj_pjmedia_codec_param, setting), 0, - "The 'setting' part of codec param describes various settings to be " - "applied to the codec. When the codec param is retrieved from the " - "codec or codec factory, the values of these will be filled by " - "the capability of the codec. Any features that are supported by " - "the codec (e.g. vad or plc) will be turned on, so that application " - "can query which capabilities are supported by the codec. " - "Application may change the settings here before instantiating " - "the codec/stream." - }, - - {NULL} /* Sentinel */ -}; - -/* - * PyTyp_pjmedia_codec_param - */ -static PyTypeObject PyTyp_pjmedia_codec_param = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "_pjsua.PJMedia_Codec_Param", /*tp_name*/ - sizeof(PyObj_pjmedia_codec_param),/*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)pjmedia_codec_param_dealloc,/*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "PJMedia Codec Param", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - pjmedia_codec_param_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - pjmedia_codec_param_new, /* tp_new */ - -}; - -////////////////////////////////////////////////////////////////////////////// - -/* - * PyObj_pjsua_call_info - * Call Info - */ -typedef struct -{ - PyObject_HEAD - /* Type-specific fields go here. */ - - int id; - int role; - int acc_id; - PyObject *local_info; - PyObject *local_contact; - PyObject *remote_info; - PyObject *remote_contact; - PyObject *call_id; - int state; - PyObject *state_text; - int last_status; - PyObject *last_status_text; - int media_status; - int media_dir; - int conf_slot; - int connect_duration; - int total_duration; - -} PyObj_pjsua_call_info; - - -/* - * call_info_dealloc - * deletes a call_info from memory - */ -static void call_info_dealloc(PyObj_pjsua_call_info* self) -{ - Py_XDECREF(self->local_info); - Py_XDECREF(self->local_contact); - Py_XDECREF(self->remote_info); - Py_XDECREF(self->remote_contact); - Py_XDECREF(self->call_id); - Py_XDECREF(self->state_text); - Py_XDECREF(self->last_status_text); - self->ob_type->tp_free((PyObject*)self); -} - - -/* - * call_info_new - * constructor for call_info object - */ -static PyObject * call_info_new(PyTypeObject *type, PyObject *args, - PyObject *kwds) -{ - PyObj_pjsua_call_info *self; - - PJ_UNUSED_ARG(args); - PJ_UNUSED_ARG(kwds); - - self = (PyObj_pjsua_call_info *)type->tp_alloc(type, 0); - if (self != NULL) { - self->local_info = PyString_FromString(""); - self->local_contact = PyString_FromString(""); - self->remote_info = PyString_FromString(""); - self->remote_contact = PyString_FromString(""); - self->call_id = PyString_FromString(""); - self->state_text = PyString_FromString(""); - self->last_status_text = PyString_FromString(""); - } - return (PyObject *)self; -} - -/* - * call_info_members - */ -static PyMemberDef call_info_members[] = -{ - { - "id", T_INT, - offsetof(PyObj_pjsua_call_info, id), 0, - "Call identification" - }, - { - "role", T_INT, - offsetof(PyObj_pjsua_call_info, role), 0, - "Initial call role (UAC == caller)" - }, - { - "acc_id", T_INT, - offsetof(PyObj_pjsua_call_info, acc_id), 0, - "The account ID where this call belongs." - }, - { - "local_info", T_OBJECT_EX, - offsetof(PyObj_pjsua_call_info, local_info), 0, - "Local URI" - }, - { - "local_contact", T_OBJECT_EX, - offsetof(PyObj_pjsua_call_info, local_contact), 0, - "Local Contact" - }, - { - "remote_info", T_OBJECT_EX, - offsetof(PyObj_pjsua_call_info, remote_info), 0, - "Remote URI" - }, - { - "remote_contact", T_OBJECT_EX, - offsetof(PyObj_pjsua_call_info, remote_contact), 0, - "Remote Contact" - }, - { - "call_id", T_OBJECT_EX, - offsetof(PyObj_pjsua_call_info, call_id), 0, - "Dialog Call-ID string" - }, - { - "state", T_INT, - offsetof(PyObj_pjsua_call_info, state), 0, - "Call state" - }, - { - "state_text", T_OBJECT_EX, - offsetof(PyObj_pjsua_call_info, state_text), 0, - "Text describing the state " - }, - { - "last_status", T_INT, - offsetof(PyObj_pjsua_call_info, last_status), 0, - "Last status code heard, which can be used as cause code" - }, - { - "last_status_text", T_OBJECT_EX, - offsetof(PyObj_pjsua_call_info, last_status_text), 0, - "The reason phrase describing the status." - }, - { - "media_status", T_INT, - offsetof(PyObj_pjsua_call_info, media_status), 0, - "Call media status." - }, - { - "media_dir", T_INT, - offsetof(PyObj_pjsua_call_info, media_dir), 0, - "Media direction" - }, - { - "conf_slot", T_INT, - offsetof(PyObj_pjsua_call_info, conf_slot), 0, - "The conference port number for the call" - }, - { - "connect_duration", T_INT, - offsetof(PyObj_pjsua_call_info, connect_duration), 0, - "Up-to-date call connected duration(zero when call is not established)" - }, - { - "total_duration", T_INT, - offsetof(PyObj_pjsua_call_info, total_duration), 0, - "Total call duration, including set-up time" - }, - - {NULL} /* Sentinel */ -}; - - - - -/* - * PyTyp_pjsua_call_info - */ -static PyTypeObject PyTyp_pjsua_call_info = -{ - PyObject_HEAD_INIT(NULL) - 0, /*ob_size*/ - "_pjsua.Call_Info", /*tp_name*/ - sizeof(PyObj_pjsua_call_info), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - (destructor)call_info_dealloc, /*tp_dealloc*/ - 0, /*tp_print*/ - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - 0, /*tp_compare*/ - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash */ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT, /*tp_flags*/ - "Call Info", /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0, /* tp_iter */ - 0, /* tp_iternext */ - 0, /* tp_methods */ - call_info_members, /* tp_members */ - 0, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - 0, /* tp_descr_get */ - 0, /* tp_descr_set */ - 0, /* tp_dictoffset */ - 0, /* tp_init */ - 0, /* tp_alloc */ - call_info_new, /* tp_new */ - -}; - - - -////////////////////////////////////////////////////////////////////////////// - -#endif /* __PY_PJSUA_H__ */ - diff --git a/res/pjproject/pjsip-apps/src/python/helper.mak b/res/pjproject/pjsip-apps/src/python/helper.mak deleted file mode 100644 index b4acce615e..0000000000 --- a/res/pjproject/pjsip-apps/src/python/helper.mak +++ /dev/null @@ -1,17 +0,0 @@ -include ../../../build.mak - -lib_dir: - @for token in `echo $(APP_LDFLAGS)`; do \ - echo $$token | grep L | sed 's/-L//'; \ - done - -inc_dir: - @for token in `echo $(APP_CFLAGS)`; do \ - echo $$token | grep I | sed 's/-I//'; \ - done - -libs: - @for token in `echo $(APP_LDLIBS)`; do \ - echo $$token | grep \\-l | sed 's/-l//'; \ - done - diff --git a/res/pjproject/pjsip-apps/src/python/pjsua.py b/res/pjproject/pjsip-apps/src/python/pjsua.py deleted file mode 100644 index 89809e97e4..0000000000 --- a/res/pjproject/pjsip-apps/src/python/pjsua.py +++ /dev/null @@ -1,2862 +0,0 @@ -# $Id$ -# -# Object oriented PJSUA wrapper. -# -# Copyright (C) 2003-2008 Benny Prijono -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# - -"""Multimedia communication client library based on SIP protocol. - -This implements a fully featured multimedia communication client -library based on PJSIP stack (http://www.pjsip.org) - - -1. FEATURES - - - Session Initiation Protocol (SIP) features: - - Basic registration and call - - Multiple accounts - - Call hold, attended and unattended call transfer - - Presence - - Instant messaging - - Multiple SIP accounts - - Media features: - - Audio - - Conferencing - - Narrowband and wideband - - Codecs: PCMA, PCMU, GSM, iLBC, Speex, G.722, L16 - - RTP/RTCP - - Secure RTP (SRTP) - - WAV playback, recording, and playlist - - NAT traversal features - - Symmetric RTP - - STUN - - TURN - - ICE - - -2. USING - -See http://www.pjsip.org/trac/wiki/Python_SIP_Tutorial for a more thorough -tutorial. The paragraphs below explain basic tasks on using this module. - - -""" -import _pjsua -import thread -import threading -import weakref -import time - -class Error: - """Error exception class. - - Member documentation: - - op_name -- name of the operation that generated this error. - obj -- the object that generated this error. - err_code -- the error code. - - """ - op_name = "" - obj = None - err_code = -1 - _err_msg = "" - - def __init__(self, op_name, obj, err_code, err_msg=""): - self.op_name = op_name - self.obj = obj - self.err_code = err_code - self._err_msg = err_msg - - def err_msg(self): - "Retrieve the description of the error." - if self._err_msg != "": - return self._err_msg - self._err_msg = Lib.strerror(self.err_code) - return self._err_msg - - def __str__(self): - return "Object: " + str(self.obj) + ", operation=" + self.op_name + \ - ", error=" + self.err_msg() - -# -# Constants -# - -class TransportType: - """SIP transport type constants. - - Member documentation: - UNSPECIFIED -- transport type is unknown or unspecified - UDP -- UDP transport - TCP -- TCP transport - TLS -- TLS transport - IPV6 -- this is not a transport type but rather a flag - to select the IPv6 version of a transport - UDP_IPV6 -- IPv6 UDP transport - TCP_IPV6 -- IPv6 TCP transport - """ - UNSPECIFIED = 0 - UDP = 1 - TCP = 2 - TLS = 3 - IPV6 = 128 - UDP_IPV6 = UDP + IPV6 - TCP_IPV6 = TCP + IPV6 - -class TransportFlag: - """Transport flags to indicate the characteristics of the transport. - - Member documentation: - - RELIABLE -- transport is reliable. - SECURE -- transport is secure. - DATAGRAM -- transport is datagram based. - - """ - RELIABLE = 1 - SECURE = 2 - DATAGRAM = 4 - -class CallRole: - """Call role constants. - - Member documentation: - - CALLER -- role is caller - CALLEE -- role is callee - - """ - CALLER = 0 - CALLEE = 1 - -class CallState: - """Call state constants. - - Member documentation: - - NULL -- call is not initialized. - CALLING -- initial INVITE is sent. - INCOMING -- initial INVITE is received. - EARLY -- provisional response has been sent or received. - CONNECTING -- 200/OK response has been sent or received. - CONFIRMED -- ACK has been sent or received. - DISCONNECTED -- call is disconnected. - """ - NULL = 0 - CALLING = 1 - INCOMING = 2 - EARLY = 3 - CONNECTING = 4 - CONFIRMED = 5 - DISCONNECTED = 6 - - -class MediaState: - """Call media state constants. - - Member documentation: - - NULL -- media is not available. - ACTIVE -- media is active. - LOCAL_HOLD -- media is put on-hold by local party. - REMOTE_HOLD -- media is put on-hold by remote party. - ERROR -- media error (e.g. ICE negotiation failure). - """ - NULL = 0 - ACTIVE = 1 - LOCAL_HOLD = 2 - REMOTE_HOLD = 3 - ERROR = 4 - - -class MediaDir: - """Media direction constants. - - Member documentation: - - NULL -- media is not active - ENCODING -- media is active in transmit/encoding direction only. - DECODING -- media is active in receive/decoding direction only - ENCODING_DECODING -- media is active in both directions. - """ - NULL = 0 - ENCODING = 1 - DECODING = 2 - ENCODING_DECODING = 3 - - -class PresenceActivity: - """Presence activities constants. - - Member documentation: - - UNKNOWN -- the person activity is unknown - AWAY -- the person is currently away - BUSY -- the person is currently engaging in other activity - """ - UNKNOWN = 0 - AWAY = 1 - BUSY = 2 - - -class SubscriptionState: - """Presence subscription state constants. - - """ - NULL = 0 - SENT = 1 - ACCEPTED = 2 - PENDING = 3 - ACTIVE = 4 - TERMINATED = 5 - UNKNOWN = 6 - - -class TURNConnType: - """These constants specifies the connection type to TURN server. - - Member documentation: - UDP -- use UDP transport. - TCP -- use TCP transport. - TLS -- use TLS transport. - """ - UDP = 17 - TCP = 6 - TLS = 255 - - -class UAConfig: - """User agent configuration to be specified in Lib.init(). - - Member documentation: - - max_calls -- maximum number of calls to be supported. - nameserver -- list of nameserver hostnames or IP addresses. Nameserver - must be configured if DNS SRV resolution is desired. - stun_domain -- if nameserver is configured, this can be used to query - the STUN server with DNS SRV. - stun_host -- the hostname or IP address of the STUN server. This will - also be used if DNS SRV resolution for stun_domain fails. - user_agent -- Optionally specify the user agent name. - """ - max_calls = 4 - nameserver = [] - stun_domain = "" - stun_host = "" - user_agent = "pjsip python" - - def _cvt_from_pjsua(self, cfg): - self.max_calls = cfg.max_calls - self.thread_cnt = cfg.thread_cnt - self.nameserver = cfg.nameserver - self.stun_domain = cfg.stun_domain - self.stun_host = cfg.stun_host - self.user_agent = cfg.user_agent - - def _cvt_to_pjsua(self): - cfg = _pjsua.config_default() - cfg.max_calls = self.max_calls - cfg.thread_cnt = 0 - cfg.nameserver = self.nameserver - cfg.stun_domain = self.stun_domain - cfg.stun_host = self.stun_host - cfg.user_agent = self.user_agent - return cfg - - -class LogConfig: - """Logging configuration to be specified in Lib.init(). - - Member documentation: - - msg_logging -- specify if SIP messages should be logged. Set to - True. - level -- specify the input verbosity level. - console_level -- specify the output verbosity level. - decor -- specify log decoration. - filename -- specify the log filename. - callback -- specify callback to be called to write the logging - messages. Sample function: - - def log_cb(level, str, len): - print str, - - """ - msg_logging = True - level = 5 - console_level = 5 - decor = 0 - filename = "" - callback = None - - def __init__(self, level=-1, filename="", callback=None, - console_level=-1): - self._cvt_from_pjsua(_pjsua.logging_config_default()) - if level != -1: - self.level = level - if filename != "": - self.filename = filename - if callback != None: - self.callback = callback - if console_level != -1: - self.console_level = console_level - - def _cvt_from_pjsua(self, cfg): - self.msg_logging = cfg.msg_logging - self.level = cfg.level - self.console_level = cfg.console_level - self.decor = cfg.decor - self.filename = cfg.log_filename - self.callback = cfg.cb - - def _cvt_to_pjsua(self): - cfg = _pjsua.logging_config_default() - cfg.msg_logging = self.msg_logging - cfg.level = self.level - cfg.console_level = self.console_level - cfg.decor = self.decor - cfg.log_filename = self.filename - cfg.cb = self.callback - return cfg - - -class MediaConfig: - """Media configuration to be specified in Lib.init(). - - Member documentation: - - clock_rate -- specify the core clock rate of the audio, - most notably the conference bridge. - snd_clock_rate -- optionally specify different clock rate for - the sound device. - snd_auto_close_time -- specify the duration in seconds when the - sound device should be closed after inactivity - period. - channel_count -- specify the number of channels to open the sound - device and the conference bridge. - audio_frame_ptime -- specify the length of audio frames in millisecond. - max_media_ports -- specify maximum number of audio ports to be - supported by the conference bridge. - quality -- specify the audio quality setting (1-10) - ptime -- specify the audio packet length of transmitted - RTP packet. - no_vad -- disable Voice Activity Detector (VAD) or Silence - Detector (SD) - ilbc_mode -- specify iLBC codec mode (must be 30 for now) - tx_drop_pct -- randomly drop transmitted RTP packets (for - simulation). Number is in percent. - rx_drop_pct -- randomly drop received RTP packets (for - simulation). Number is in percent. - ec_options -- Echo Canceller option (specify zero). - ec_tail_len -- specify Echo Canceller tail length in milliseconds. - Value zero will disable the echo canceller. - jb_min -- specify the minimum jitter buffer size in - milliseconds. Put -1 for default. - jb_max -- specify the maximum jitter buffer size in - milliseconds. Put -1 for default. - enable_ice -- enable Interactive Connectivity Establishment (ICE) - enable_turn -- enable TURN relay. TURN server settings must also - be configured. - turn_server -- specify the domain or hostname or IP address of - the TURN server, in "host[:port]" format. - turn_conn_type -- specify connection type to the TURN server, from - the TURNConnType constant. - turn_cred -- specify AuthCred for the TURN credential. - """ - clock_rate = 16000 - snd_clock_rate = 0 - snd_auto_close_time = 5 - channel_count = 1 - audio_frame_ptime = 20 - max_media_ports = 32 - quality = 6 - ptime = 0 - no_vad = False - ilbc_mode = 30 - tx_drop_pct = 0 - rx_drop_pct = 0 - ec_options = 0 - ec_tail_len = 256 - jb_min = -1 - jb_max = -1 - enable_ice = True - enable_turn = False - turn_server = "" - turn_conn_type = TURNConnType.UDP - turn_cred = None - - def __init__(self): - default = _pjsua.media_config_default() - self._cvt_from_pjsua(default) - - def _cvt_from_pjsua(self, cfg): - self.clock_rate = cfg.clock_rate - self.snd_clock_rate = cfg.snd_clock_rate - self.snd_auto_close_time = cfg.snd_auto_close_time - self.channel_count = cfg.channel_count - self.audio_frame_ptime = cfg.audio_frame_ptime - self.max_media_ports = cfg.max_media_ports - self.quality = cfg.quality - self.ptime = cfg.ptime - self.no_vad = cfg.no_vad - self.ilbc_mode = cfg.ilbc_mode - self.tx_drop_pct = cfg.tx_drop_pct - self.rx_drop_pct = cfg.rx_drop_pct - self.ec_options = cfg.ec_options - self.ec_tail_len = cfg.ec_tail_len - self.jb_min = cfg.jb_min - self.jb_max = cfg.jb_max - self.enable_ice = cfg.enable_ice - self.enable_turn = cfg.enable_turn - self.turn_server = cfg.turn_server - self.turn_conn_type = cfg.turn_conn_type - if cfg.turn_username: - self.turn_cred = AuthCred(cfg.turn_realm, cfg.turn_username, - cfg.turn_passwd, cfg.turn_passwd_type) - else: - self.turn_cred = None - - def _cvt_to_pjsua(self): - cfg = _pjsua.media_config_default() - cfg.clock_rate = self.clock_rate - cfg.snd_clock_rate = self.snd_clock_rate - cfg.snd_auto_close_time = self.snd_auto_close_time - cfg.channel_count = self.channel_count - cfg.audio_frame_ptime = self.audio_frame_ptime - cfg.max_media_ports = self.max_media_ports - cfg.quality = self.quality - cfg.ptime = self.ptime - cfg.no_vad = self.no_vad - cfg.ilbc_mode = self.ilbc_mode - cfg.tx_drop_pct = self.tx_drop_pct - cfg.rx_drop_pct = self.rx_drop_pct - cfg.ec_options = self.ec_options - cfg.ec_tail_len = self.ec_tail_len - cfg.jb_min = self.jb_min - cfg.jb_max = self.jb_max - cfg.enable_ice = self.enable_ice - cfg.enable_turn = self.enable_turn - cfg.turn_server = self.turn_server - cfg.turn_conn_type = self.turn_conn_type - if self.turn_cred: - cfg.turn_realm = self.turn_cred.realm - cfg.turn_username = self.turn_cred.username - cfg.turn_passwd_type = self.turn_cred.passwd_type - cfg.turn_passwd = self.turn_cred.passwd - return cfg - - -class TransportConfig: - """SIP transport configuration class. - - Member configuration: - - port -- port number. - bound_addr -- optionally specify the address to bind the socket to. - Default is empty to bind to INADDR_ANY. - public_addr -- optionally override the published address for this - transport. If empty, the default behavior is to get - the public address from STUN or from the selected - local interface. Format is "host:port". - """ - port = 0 - bound_addr = "" - public_addr = "" - - def __init__(self, port=0, - bound_addr="", public_addr=""): - self.port = port - self.bound_addr = bound_addr - self.public_addr = public_addr - - def _cvt_to_pjsua(self): - cfg = _pjsua.transport_config_default() - cfg.port = self.port - cfg.bound_addr = self.bound_addr - cfg.public_addr = self.public_addr - return cfg - - -class TransportInfo: - """SIP transport info. - - Member documentation: - - type -- transport type, from TransportType constants. - description -- longer description for this transport. - is_reliable -- True if transport is reliable. - is_secure -- True if transport is secure. - is_datagram -- True if transport is datagram based. - host -- the IP address of this transport. - port -- the port number. - ref_cnt -- number of objects referencing this transport. - """ - type = "" - description = "" - is_reliable = False - is_secure = False - is_datagram = False - host = "" - port = 0 - ref_cnt = 0 - - def __init__(self, ti): - self.type = ti.type_name - self.description = ti.info - self.is_reliable = (ti.flag & TransportFlag.RELIABLE) - self.is_secure = (ti.flag & TransportFlag.SECURE) - self.is_datagram = (ti.flag & TransportFlag.DATAGRAM) - self.host = ti.addr - self.port = ti.port - self.ref_cnt = ti.usage_count - - -class Transport: - "SIP transport class." - _id = -1 - _lib = None - _obj_name = "" - - def __init__(self, lib, id): - self._lib = weakref.proxy(lib) - self._id = id - self._obj_name = "{Transport " + self.info().description + "}" - _Trace((self, 'created')) - - def __del__(self): - _Trace((self, 'destroyed')) - - def __str__(self): - return self._obj_name - - def info(self): - """Get TransportInfo. - """ - lck = self._lib.auto_lock() - ti = _pjsua.transport_get_info(self._id) - if not ti: - self._lib._err_check("info()", self, -1, "Invalid transport") - return TransportInfo(ti) - - def enable(self): - """Enable this transport.""" - lck = self._lib.auto_lock() - err = _pjsua.transport_set_enable(self._id, True) - self._lib._err_check("enable()", self, err) - - def disable(self): - """Disable this transport.""" - lck = self._lib.auto_lock() - err = _pjsua.transport_set_enable(self._id, 0) - self._lib._err_check("disable()", self, err) - - def close(self, force=False): - """Close and destroy this transport. - - Keyword argument: - force -- force deletion of this transport (not recommended). - """ - lck = self._lib.auto_lock() - err = _pjsua.transport_close(self._id, force) - self._lib._err_check("close()", self, err) - - -class SIPUri: - """Helper class to parse the most important components of SIP URI. - - Member documentation: - - scheme -- URI scheme ("sip" or "sips") - user -- user part of the URI (may be empty) - host -- host name part - port -- optional port number (zero if port is not specified). - transport -- transport parameter, or empty if transport is not - specified. - - """ - scheme = "" - user = "" - host = "" - port = 0 - transport = "" - - def __init__(self, uri=None): - if uri: - self.decode(uri) - - def decode(self, uri): - """Parse SIP URL. - - Keyword argument: - uri -- the URI string. - - """ - self.scheme, self.user, self.host, self.port, self.transport = \ - _pjsua.parse_simple_uri(uri) - - def encode(self): - """Encode this object into SIP URI string. - - Return: - URI string. - - """ - output = self.scheme + ":" - if self.user and len(self.user): - output = output + self.user + "@" - output = output + self.host - if self.port: - output = output + ":" + output(self.port) - if self.transport: - output = output + ";transport=" + self.transport - return output - - -class AuthCred: - """Authentication credential for SIP or TURN account. - - Member documentation: - - scheme -- authentication scheme (default is "Digest") - realm -- realm - username -- username - passwd_type -- password encoding (zero for plain-text) - passwd -- the password - """ - scheme = "Digest" - realm = "*" - username = "" - passwd_type = 0 - passwd = "" - - def __init__(self, realm, username, passwd, scheme="Digest", passwd_type=0): - self.scheme = scheme - self.realm = realm - self.username = username - self.passwd_type = passwd_type - self.passwd = passwd - - -class AccountConfig: - """ This describes account configuration to create an account. - - Member documentation: - - priority -- account priority for matching incoming - messages. - id -- SIP URI of this account. This setting is - mandatory. - force_contact -- force to use this URI as Contact URI. Setting - this value is generally not recommended. - reg_uri -- specify the registrar URI. Mandatory if - registration is required. - reg_timeout -- specify the SIP registration refresh interval - in seconds. - require_100rel -- specify if reliable provisional response is - to be enforced (with Require header). - publish_enabled -- specify if PUBLISH should be used. When - enabled, the PUBLISH will be sent to the - registrar. - pidf_tuple_id -- optionally specify the tuple ID in outgoing - PIDF document. - proxy -- list of proxy URI. - auth_cred -- list of AuthCred containing credentials to - authenticate against the registrars and - the proxies. - auth_initial_send -- specify if empty Authorization header should be - sent. May be needed for IMS. - auth_initial_algorithm -- when auth_initial_send is enabled, optionally - specify the authentication algorithm to use. - Valid values are "md5", "akav1-md5", or - "akav2-md5". - transport_id -- optionally specify the transport ID to be used - by this account. Shouldn't be needed unless - for specific requirements (e.g. in multi-homed - scenario). - allow_contact_rewrite -- specify whether the account should learn its - Contact address from REGISTER response and - update the registration accordingly. Default is - True. - ka_interval -- specify the interval to send NAT keep-alive - packet. - ka_data -- specify the NAT keep-alive packet contents. - use_srtp -- specify the SRTP usage policy. Valid values - are: 0=disable, 1=optional, 2=mandatory. - Default is 0. - srtp_secure_signaling -- specify the signaling security level required - by SRTP. Valid values are: 0=no secure - transport is required, 1=hop-by-hop secure - transport such as TLS is required, 2=end-to- - end secure transport is required (i.e. "sips"). - """ - priority = 0 - id = "" - force_contact = "" - reg_uri = "" - reg_timeout = 0 - require_100rel = False - publish_enabled = False - pidf_tuple_id = "" - proxy = [] - auth_cred = [] - auth_initial_send = False - auth_initial_algorithm = "" - transport_id = -1 - allow_contact_rewrite = True - ka_interval = 15 - ka_data = "\r\n" - use_srtp = 0 - srtp_secure_signaling = 1 - - def __init__(self, domain="", username="", password="", - display="", registrar="", proxy=""): - """ - Construct account config. If domain argument is specified, - a typical configuration will be built. - - Keyword arguments: - domain -- domain name of the server. - username -- user name. - password -- plain-text password. - display -- optional display name for the user name. - registrar -- the registrar URI. If domain name is specified - and this argument is empty, the registrar URI - will be constructed from the domain name. - proxy -- the proxy URI. If domain name is specified - and this argument is empty, the proxy URI - will be constructed from the domain name. - - """ - default = _pjsua.acc_config_default() - self._cvt_from_pjsua(default) - if domain!="": - self.build_config(domain, username, password, - display, registrar, proxy) - - def build_config(self, domain, username, password, display="", - registrar="", proxy=""): - """ - Construct account config. If domain argument is specified, - a typical configuration will be built. - - Keyword arguments: - domain -- domain name of the server. - username -- user name. - password -- plain-text password. - display -- optional display name for the user name. - registrar -- the registrar URI. If domain name is specified - and this argument is empty, the registrar URI - will be constructed from the domain name. - proxy -- the proxy URI. If domain name is specified - and this argument is empty, the proxy URI - will be constructed from the domain name. - - """ - if display != "": - display = display + " " - userpart = username - if userpart != "": - userpart = userpart + "@" - self.id = display + "" - self.reg_uri = registrar - if self.reg_uri == "": - self.reg_uri = "sip:" + domain - if proxy == "": - proxy = "sip:" + domain + ";lr" - if proxy.find(";lr") == -1: - proxy = proxy + ";lr" - self.proxy.append(proxy) - if username != "": - self.auth_cred.append(AuthCred("*", username, password)) - - def _cvt_from_pjsua(self, cfg): - self.priority = cfg.priority - self.id = cfg.id - self.force_contact = cfg.force_contact - self.reg_uri = cfg.reg_uri - self.reg_timeout = cfg.reg_timeout - self.require_100rel = cfg.require_100rel - self.publish_enabled = cfg.publish_enabled - self.pidf_tuple_id = cfg.pidf_tuple_id - self.proxy = cfg.proxy - for cred in cfg.cred_info: - self.auth_cred.append(AuthCred(cred.realm, cred.username, - cred.data, cred.scheme, - cred.data_type)) - self.auth_initial_send = cfg.auth_initial_send - self.auth_initial_algorithm = cfg.auth_initial_algorithm - self.transport_id = cfg.transport_id - self.allow_contact_rewrite = cfg.allow_contact_rewrite - self.ka_interval = cfg.ka_interval - self.ka_data = cfg.ka_data - self.use_srtp = cfg.use_srtp - self.srtp_secure_signaling = cfg.srtp_secure_signaling - - def _cvt_to_pjsua(self): - cfg = _pjsua.acc_config_default() - cfg.priority = self.priority - cfg.id = self.id - cfg.force_contact = self.force_contact - cfg.reg_uri = self.reg_uri - cfg.reg_timeout = self.reg_timeout - cfg.require_100rel = self.require_100rel - cfg.publish_enabled = self.publish_enabled - cfg.pidf_tuple_id = self.pidf_tuple_id - cfg.proxy = self.proxy - for cred in self.auth_cred: - c = _pjsua.Pjsip_Cred_Info() - c.realm = cred.realm - c.scheme = cred.scheme - c.username = cred.username - c.data_type = cred.passwd_type - c.data = cred.passwd - cfg.cred_info.append(c) - cfg.auth_initial_send = self.auth_initial_send - cfg.auth_initial_algorithm = self.auth_initial_algorithm - cfg.transport_id = self.transport_id - cfg.allow_contact_rewrite = self.allow_contact_rewrite - cfg.ka_interval = self.ka_interval - cfg.ka_data = self.ka_data - cfg.use_srtp = self.use_srtp - cfg.srtp_secure_signaling = self.srtp_secure_signaling - return cfg - - -# Account information -class AccountInfo: - """This describes Account info. Application retrives account info - with Account.info(). - - Member documentation: - - is_default -- True if this is the default account. - uri -- the account URI. - reg_active -- True if registration is active for this account. - reg_expires -- contains the current registration expiration value, - in seconds. - reg_status -- the registration status. If the value is less than - 700, it specifies SIP status code. Value greater than - this specifies the error code. - reg_reason -- contains the registration status text (e.g. the - error message). - online_status -- the account's presence online status, True if it's - publishing itself as online. - online_text -- the account's presence status text. - - """ - is_default = False - uri = "" - reg_active = False - reg_expires = -1 - reg_status = 0 - reg_reason = "" - online_status = False - online_text = "" - - def __init__(self, ai): - self.is_default = ai.is_default - self.uri = ai.acc_uri - self.reg_active = ai.has_registration - self.reg_expires = ai.expires - self.reg_status = ai.status - self.reg_reason = ai.status_text - self.online_status = ai.online_status - self.online_text = ai.online_status_text - -# Account callback -class AccountCallback: - """Class to receive notifications on account's events. - - Derive a class from this class and register it to the Account object - using Account.set_callback() to start receiving events from the Account - object. - - Member documentation: - - account -- the Account object. - - """ - account = None - - def __init__(self, account=None): - self._set_account(account) - - def __del__(self): - pass - - def _set_account(self, account): - if account: - self.account = weakref.proxy(account) - else: - self.account = None - - def on_reg_state(self): - """Notification that the registration status has changed. - """ - pass - - def on_incoming_call(self, call): - """Notification about incoming call. - - Unless this callback is implemented, the default behavior is to - reject the call with default status code. - - Keyword arguments: - call -- the new incoming call - """ - call.hangup() - - def on_incoming_subscribe(self, buddy, from_uri, contact_uri, pres_obj): - """Notification when incoming SUBSCRIBE request is received. - - Application may use this callback to authorize the incoming - subscribe request (e.g. ask user permission if the request - should be granted) - - Keyword arguments: - buddy -- The buddy object, if buddy is found. Otherwise - the value is None. - from_uri -- The URI string of the sender. - pres_obj -- Opaque presence subscription object, which is - needed by Account.pres_notify() - - Return: - Tuple (code, reason), where: - code: The status code. If code is >= 300, the - request is rejected. If code is 200, the - request is accepted and NOTIFY will be sent - automatically. If code is 202, application - must accept or reject the request later with - Account.press_notify(). - reason: Optional reason phrase, or None to use the - default reasoh phrase for the status code. - """ - return (200, None) - - def on_pager(self, from_uri, contact, mime_type, body): - """ - Notification that incoming instant message is received on - this account. - - Keyword arguments: - from_uri -- sender's URI - contact -- sender's Contact URI - mime_type -- MIME type of the instant message body - body -- the instant message body - - """ - pass - - def on_pager_status(self, to_uri, body, im_id, code, reason): - """ - Notification about the delivery status of previously sent - instant message. - - Keyword arguments: - to_uri -- the destination URI of the message - body -- the message body - im_id -- message ID - code -- SIP status code - reason -- SIP reason phrase - - """ - pass - - def on_typing(self, from_uri, contact, is_typing): - """ - Notification that remote is typing or stop typing. - - Keyword arguments: - buddy -- Buddy object for the sender, if found. Otherwise - this will be None - from_uri -- sender's URI of the indication - contact -- sender's contact URI - is_typing -- boolean to indicate whether remote is currently - typing an instant message. - - """ - pass - - def on_mwi_info(self, body): - """ - Notification about change in Message Summary / Message Waiting - Indication (RFC 3842) status. MWI subscription must be enabled - in the account config to receive this notification. - - Keyword arguments: - body -- String containing message body as received in the - NOTIFY request. - - """ - pass - - - -class Account: - """This describes SIP account class. - - PJSUA accounts provide identity (or identities) of the user who is - currently using the application. In SIP terms, the identity is used - as the From header in outgoing requests. - - Account may or may not have client registration associated with it. - An account is also associated with route set and some authentication - credentials, which are used when sending SIP request messages using - the account. An account also has presence's online status, which - will be reported to remote peer when they subscribe to the account's - presence, or which is published to a presence server if presence - publication is enabled for the account. - - Account is created with Lib.create_account(). At least one account - MUST be created. If no user association is required, application can - create a userless account by calling Lib.create_account_for_transport(). - A userless account identifies local endpoint instead of a particular - user, and it correspond with a particular transport instance. - - Also one account must be set as the default account, which is used as - the account to use when PJSUA fails to match a request with any other - accounts. - - """ - _id = -1 - _lib = None - _cb = AccountCallback(None) - _obj_name = "" - - def __init__(self, lib, id, cb=None): - """Construct this class. This is normally called by Lib class and - not by application. - - Keyword arguments: - lib -- the Lib instance. - id -- the pjsua account ID. - cb -- AccountCallback instance to receive events from this Account. - If callback is not specified here, it must be set later - using set_callback(). - """ - self._id = id - self._lib = weakref.ref(lib) - self._obj_name = "{Account " + self.info().uri + "}" - self.set_callback(cb) - _pjsua.acc_set_user_data(self._id, self) - _Trace((self, 'created')) - - def __del__(self): - if self._id != -1: - _pjsua.acc_set_user_data(self._id, 0) - _Trace((self, 'destroyed')) - - def __str__(self): - return self._obj_name - - def info(self): - """Retrieve AccountInfo for this account. - """ - lck = self._lib().auto_lock() - ai = _pjsua.acc_get_info(self._id) - if ai==None: - self._lib()._err_check("info()", self, -1, "Invalid account") - return AccountInfo(ai) - - def is_valid(self): - """ - Check if this account is still valid. - - """ - lck = self._lib().auto_lock() - return _pjsua.acc_is_valid(self._id) - - def set_callback(self, cb): - """Register callback to receive notifications from this object. - - Keyword argument: - cb -- AccountCallback instance. - - """ - if cb: - self._cb = cb - else: - self._cb = AccountCallback(self) - self._cb._set_account(self) - - def set_default(self): - """ Set this account as default account to send outgoing requests - and as the account to receive incoming requests when more exact - matching criteria fails. - """ - lck = self._lib().auto_lock() - err = _pjsua.acc_set_default(self._id) - self._lib()._err_check("set_default()", self, err) - - def is_default(self): - """ Check if this account is the default account. - - """ - lck = self._lib().auto_lock() - def_id = _pjsua.acc_get_default() - return self.is_valid() and def_id==self._id - - def delete(self): - """ Delete this account. - - """ - lck = self._lib().auto_lock() - err = _pjsua.acc_set_user_data(self._id, 0) - self._lib()._err_check("delete()", self, err) - err = _pjsua.acc_del(self._id) - self._lib()._err_check("delete()", self, err) - self._id = -1 - - def set_basic_status(self, is_online): - """ Set basic presence status of this account. - - Keyword argument: - is_online -- boolean to indicate basic presence availability. - - """ - lck = self._lib().auto_lock() - err = _pjsua.acc_set_online_status(self._id, is_online) - self._lib()._err_check("set_basic_status()", self, err) - - def set_presence_status(self, is_online, - activity=PresenceActivity.UNKNOWN, - pres_text="", rpid_id=""): - """ Set presence status of this account. - - Keyword arguments: - is_online -- boolean to indicate basic presence availability - activity -- value from PresenceActivity - pres_text -- optional string to convey additional information about - the activity (such as "On the phone") - rpid_id -- optional string to be placed as RPID ID. - - """ - lck = self._lib().auto_lock() - err = _pjsua.acc_set_online_status2(self._id, is_online, activity, - pres_text, rpid_id) - self._lib()._err_check("set_presence_status()", self, err) - - def set_registration(self, renew): - """Manually renew registration or unregister from the server. - - Keyword argument: - renew -- boolean to indicate whether registration is renewed. - Setting this value for False will trigger unregistration. - - """ - lck = self._lib().auto_lock() - err = _pjsua.acc_set_registration(self._id, renew) - self._lib()._err_check("set_registration()", self, err) - - def set_transport(self, transport): - """Set this account to only use the specified transport to send - outgoing requests. - - Keyword argument: - transport -- Transport object. - - """ - lck = self._lib().auto_lock() - err = _pjsua.acc_set_transport(self._id, transport._id) - self._lib()._err_check("set_transport()", self, err) - - def make_call(self, dst_uri, cb=None, hdr_list=None): - """Make outgoing call to the specified URI. - - Keyword arguments: - dst_uri -- Destination SIP URI. - cb -- CallCallback instance to be installed to the newly - created Call object. If this CallCallback is not - specified (i.e. None is given), it must be installed - later using call.set_callback(). - hdr_list -- Optional list of headers to be sent with outgoing - INVITE - - Return: - Call instance. - """ - lck = self._lib().auto_lock() - call = Call(self._lib(), -1, cb) - err, cid = _pjsua.call_make_call(self._id, dst_uri, 0, - call, Lib._create_msg_data(hdr_list)) - self._lib()._err_check("make_call()", self, err) - call.attach_to_id(cid) - return call - - def add_buddy(self, uri, cb=None): - """Add new buddy. - - Keyword argument: - uri -- SIP URI of the buddy - cb -- BuddyCallback instance to be installed to the newly - created Buddy object. If this callback is not specified - (i.e. None is given), it must be installed later using - buddy.set_callback(). - - Return: - Buddy object - """ - lck = self._lib().auto_lock() - buddy_cfg = _pjsua.buddy_config_default() - buddy_cfg.uri = uri - buddy_cfg.subscribe = False - err, buddy_id = _pjsua.buddy_add(buddy_cfg) - self._lib()._err_check("add_buddy()", self, err) - buddy = Buddy(self._lib(), buddy_id, self, cb) - return buddy - - def pres_notify(self, pres_obj, state, reason="", hdr_list=None): - """Send NOTIFY to inform account presence status or to terminate - server side presence subscription. - - Keyword arguments: - pres_obj -- The subscription object from on_incoming_subscribe() - callback - state -- Subscription state, from SubscriptionState - reason -- Optional reason phrase. - hdr_list -- Optional header list. - """ - lck = self._lib().auto_lock() - _pjsua.acc_pres_notify(self._id, pres_obj, state, reason, - Lib._create_msg_data(hdr_list)) - - def send_pager(self, uri, text, im_id=0, content_type="text/plain", \ - hdr_list=None): - """Send instant message to arbitrary URI. - - Keyword arguments: - text -- Instant message to be sent - uri -- URI to send the Instant Message to. - im_id -- Optional instant message ID to identify this - instant message when delivery status callback - is called. - content_type -- MIME type identifying the instant message - hdr_list -- Optional list of headers to be sent with the - request. - - """ - lck = self._lib().auto_lock() - err = _pjsua.im_send(self._id, uri, \ - content_type, text, \ - Lib._create_msg_data(hdr_list), \ - im_id) - self._lib()._err_check("send_pager()", self, err) - -class CallCallback: - """Class to receive event notification from Call objects. - - Use Call.set_callback() method to install instance of this callback - class to receive event notifications from the call object. - - Member documentation: - - call -- the Call object. - - """ - call = None - - def __init__(self, call=None): - self._set_call(call) - - def __del__(self): - pass - - def _set_call(self, call): - if call: - self.call = weakref.proxy(call) - else: - self.call = None - - def on_state(self): - """Notification that the call's state has changed. - - """ - pass - - def on_media_state(self): - """Notification that the call's media state has changed. - - """ - pass - - def on_dtmf_digit(self, digits): - """Notification on incoming DTMF digits. - - Keyword argument: - digits -- string containing the received digits. - - """ - pass - - def on_transfer_request(self, dst, code): - """Notification that call is being transfered by remote party. - - Application can decide to accept/reject transfer request by returning - code greater than or equal to 500. The default behavior is to accept - the transfer by returning 202. - - Keyword arguments: - dst -- string containing the destination URI - code -- the suggested status code to return to accept the request. - - Return: - the callback should return 202 to accept the request, or 300-699 to - reject the request. - - """ - return code - - def on_transfer_status(self, code, reason, final, cont): - """ - Notification about the status of previous call transfer request. - - Keyword arguments: - code -- SIP status code to indicate completion status. - text -- SIP status reason phrase. - final -- if True then this is a final status and no further - notifications will be sent for this call transfer - status. - cont -- suggested return value. - - Return: - If the callback returns false then no further notification will - be sent for the transfer request for this call. - - """ - return cont - - def on_replace_request(self, code, reason): - """Notification when incoming INVITE with Replaces header is received. - - Application may reject the request by returning value greather than - or equal to 500. The default behavior is to accept the request. - - Keyword arguments: - code -- default status code to return - reason -- default reason phrase to return - - Return: - The callback should return (code, reason) tuple. - - """ - return code, reason - - def on_replaced(self, new_call): - """ - Notification that this call will be replaced with new_call. - After this callback is called, this call will be disconnected. - - Keyword arguments: - new_call -- the new call that will replace this call. - """ - pass - - def on_pager(self, mime_type, body): - """ - Notification that incoming instant message is received on - this call. - - Keyword arguments: - mime_type -- MIME type of the instant message body. - body -- the instant message body. - - """ - pass - - def on_pager_status(self, body, im_id, code, reason): - """ - Notification about the delivery status of previously sent - instant message. - - Keyword arguments: - body -- message body - im_id -- message ID - code -- SIP status code - reason -- SIP reason phrase - - """ - pass - - def on_typing(self, is_typing): - """ - Notification that remote is typing or stop typing. - - Keyword arguments: - is_typing -- boolean to indicate whether remote is currently - typing an instant message. - - """ - pass - - -class CallInfo: - """This structure contains various information about Call. - - Application may retrieve this information with Call.info(). - - Member documentation: - - role -- CallRole - account -- Account object. - uri -- SIP URI of local account. - contact -- local Contact URI. - remote_uri -- remote SIP URI. - remote_contact -- remote Contact URI - sip_call_id -- call's Call-ID identification - state -- CallState - state_text -- state text. - last_code -- last SIP status code - last_reason -- text phrase for last_code - media_state -- MediaState - media_dir -- MediaDir - conf_slot -- conference slot number for this call. - call_time -- call's connected duration in seconds. - total_time -- total call duration in seconds. - """ - role = CallRole.CALLER - account = None - uri = "" - contact = "" - remote_uri = "" - remote_contact = "" - sip_call_id = "" - state = CallState.NULL - state_text = "" - last_code = 0 - last_reason = "" - media_state = MediaState.NULL - media_dir = MediaDir.NULL - conf_slot = -1 - call_time = 0 - total_time = 0 - - def __init__(self, lib=None, ci=None): - if lib and ci: - self._cvt_from_pjsua(lib, ci) - - def _cvt_from_pjsua(self, lib, ci): - self.role = ci.role - self.account = lib._lookup_account(ci.acc_id) - self.uri = ci.local_info - self.contact = ci.local_contact - self.remote_uri = ci.remote_info - self.remote_contact = ci.remote_contact - self.sip_call_id = ci.call_id - self.state = ci.state - self.state_text = ci.state_text - self.last_code = ci.last_status - self.last_reason = ci.last_status_text - self.media_state = ci.media_status - self.media_dir = ci.media_dir - self.conf_slot = ci.conf_slot - self.call_time = ci.connect_duration / 1000 - self.total_time = ci.total_duration / 1000 - - -class Call: - """This class represents SIP call. - - Application initiates outgoing call with Account.make_call(), and - incoming calls are reported in AccountCallback.on_incoming_call(). - """ - _id = -1 - _cb = None - _lib = None - _obj_name = "" - - def __init__(self, lib, call_id, cb=None): - self._lib = weakref.ref(lib) - self.set_callback(cb) - self.attach_to_id(call_id) - _Trace((self, 'created')) - - def __del__(self): - if self._id != -1: - _pjsua.call_set_user_data(self._id, 0) - _Trace((self, 'destroyed')) - - def __str__(self): - return self._obj_name - - def attach_to_id(self, call_id): - lck = self._lib().auto_lock() - if self._id != -1: - _pjsua.call_set_user_data(self._id, 0) - self._id = call_id - if self._id != -1: - _pjsua.call_set_user_data(self._id, self) - self._obj_name = "{Call " + self.info().remote_uri + "}" - else: - self._obj_name = "{Call object}" - - def set_callback(self, cb): - """ - Set callback object to retrieve event notifications from this call. - - Keyword arguments: - cb -- CallCallback instance. - """ - if cb: - self._cb = cb - else: - self._cb = CallCallback(self) - self._cb._set_call(self) - - def info(self): - """ - Get the CallInfo. - """ - lck = self._lib().auto_lock() - ci = _pjsua.call_get_info(self._id) - if not ci: - self._lib()._err_check("info", self, -1, "Invalid call") - call_info = CallInfo(self._lib(), ci) - return call_info - - def is_valid(self): - """ - Check if this call is still valid. - """ - lck = self._lib().auto_lock() - return _pjsua.call_is_active(self._id) - - def dump_status(self, with_media=True, indent="", max_len=1024): - """ - Dump the call status. - """ - lck = self._lib().auto_lock() - return _pjsua.call_dump(self._id, with_media, max_len, indent) - - def answer(self, code=200, reason="", hdr_list=None): - """ - Send provisional or final response to incoming call. - - Keyword arguments: - code -- SIP status code. - reason -- Reason phrase. Put empty to send default reason - phrase for the status code. - hdr_list -- Optional list of headers to be sent with the - INVITE response. - - """ - lck = self._lib().auto_lock() - err = _pjsua.call_answer(self._id, code, reason, - Lib._create_msg_data(hdr_list)) - self._lib()._err_check("answer()", self, err) - - def hangup(self, code=603, reason="", hdr_list=None): - """ - Terminate the call. - - Keyword arguments: - code -- SIP status code. - reason -- Reason phrase. Put empty to send default reason - phrase for the status code. - hdr_list -- Optional list of headers to be sent with the - message. - - """ - lck = self._lib().auto_lock() - err = _pjsua.call_hangup(self._id, code, reason, - Lib._create_msg_data(hdr_list)) - self._lib()._err_check("hangup()", self, err) - - def hold(self, hdr_list=None): - """ - Put the call on hold. - - Keyword arguments: - hdr_list -- Optional list of headers to be sent with the - message. - """ - lck = self._lib().auto_lock() - err = _pjsua.call_set_hold(self._id, Lib._create_msg_data(hdr_list)) - self._lib()._err_check("hold()", self, err) - - def unhold(self, hdr_list=None): - """ - Release the call from hold. - - Keyword arguments: - hdr_list -- Optional list of headers to be sent with the - message. - - """ - lck = self._lib().auto_lock() - err = _pjsua.call_reinvite(self._id, True, - Lib._create_msg_data(hdr_list)) - self._lib()._err_check("unhold()", self, err) - - def reinvite(self, hdr_list=None): - """ - Send re-INVITE and optionally offer new codecs to use. - - Keyword arguments: - hdr_list -- Optional list of headers to be sent with the - message. - - """ - lck = self._lib().auto_lock() - err = _pjsua.call_reinvite(self._id, True, - Lib._create_msg_data(hdr_list)) - self._lib()._err_check("reinvite()", self, err) - - def update(self, hdr_list=None, options=0): - """ - Send UPDATE and optionally offer new codecs to use. - - Keyword arguments: - hdr_list -- Optional list of headers to be sent with the - message. - options -- Must be zero for now. - - """ - lck = self._lib().auto_lock() - err = _pjsua.call_update(self._id, options, - Lib._create_msg_data(hdr_list)) - self._lib()._err_check("update()", self, err) - - def transfer(self, dest_uri, hdr_list=None): - """ - Transfer the call to new destination. - - Keyword arguments: - dest_uri -- Specify the SIP URI to transfer the call to. - hdr_list -- Optional list of headers to be sent with the - message. - - """ - lck = self._lib().auto_lock() - err = _pjsua.call_xfer(self._id, dest_uri, - Lib._create_msg_data(hdr_list)) - self._lib()._err_check("transfer()", self, err) - - def transfer_to_call(self, call, hdr_list=None, options=0): - """ - Attended call transfer. - - Keyword arguments: - call -- The Call object to transfer call to. - hdr_list -- Optional list of headers to be sent with the - message. - options -- Must be zero for now. - - """ - lck = self._lib().auto_lock() - err = _pjsua.call_xfer_replaces(self._id, call._id, options, - Lib._create_msg_data(hdr_list)) - self._lib()._err_check("transfer_to_call()", self, err) - - def dial_dtmf(self, digits): - """ - Send DTMF digits with RTP event package. - - Keyword arguments: - digits -- DTMF digit string. - - """ - lck = self._lib().auto_lock() - err = _pjsua.call_dial_dtmf(self._id, digits) - self._lib()._err_check("dial_dtmf()", self, err) - - def send_request(self, method, hdr_list=None, content_type=None, - body=None): - """ - Send arbitrary request to remote call. - - This is useful for example to send INFO request. Note that this - function should not be used to send request that will change the - call state such as CANCEL or BYE. - - Keyword arguments: - method -- SIP method name. - hdr_list -- Optional header list to be sent with the request. - content_type -- Content type to describe the body, if the body - is present - body -- Optional SIP message body. - - """ - lck = self._lib().auto_lock() - if hdr_list or body: - msg_data = _pjsua.Msg_Data() - if hdr_list: - msg_data.hdr_list = hdr_list - if content_type: - msg_data.content_type = content_type - if body: - msg_data.msg_body = body - else: - msg_data = None - - err = _pjsua.call_send_request(self._id, method, msg_data) - self._lib()._err_check("send_request()", self, err) - - def send_pager(self, text, im_id=0, content_type="text/plain", - hdr_list=None): - """Send instant message inside a call. - - Keyword arguments: - text -- Instant message to be sent - im_id -- Optional instant message ID to identify this - instant message when delivery status callback - is called. - content_type -- MIME type identifying the instant message - hdr_list -- Optional list of headers to be sent with the - request. - - """ - lck = self._lib().auto_lock() - err = _pjsua.call_send_im(self._id, \ - content_type, text, \ - Lib._create_msg_data(hdr_list), \ - im_id) - self._lib()._err_check("send_pager()", self, err) - - -class BuddyInfo: - """This class contains information about Buddy. Application may - retrieve this information by calling Buddy.info(). - - Member documentation: - - uri -- the Buddy URI. - contact -- the Buddy Contact URI, if available. - online_status -- the presence online status. - online_text -- the presence online status text. - activity -- the PresenceActivity - subscribed -- specify whether buddy's presence status is currently - being subscribed. - sub_state -- SubscriptionState - sub_term_reason -- The termination reason string of the last presence - subscription to this buddy, if any. - """ - uri = "" - contact = "" - online_status = 0 - online_text = "" - activity = PresenceActivity.UNKNOWN - subscribed = False - sub_state = SubscriptionState.NULL - sub_term_reason = "" - - def __init__(self, pjsua_bi=None): - if pjsua_bi: - self._cvt_from_pjsua(pjsua_bi) - - def _cvt_from_pjsua(self, inf): - self.uri = inf.uri - self.contact = inf.contact - self.online_status = inf.status - self.online_text = inf.status_text - self.activity = inf.activity - self.subscribed = inf.monitor_pres - self.sub_state = inf.sub_state - self.sub_term_reason = inf.sub_term_reason - - -class BuddyCallback: - """This class can be used to receive notifications about Buddy's - presence status change. Application needs to derive a class from - this class, and register the instance with Buddy.set_callback(). - - Member documentation: - - buddy -- the Buddy object. - """ - buddy = None - - def __init__(self, buddy=None): - self._set_buddy(buddy) - - def _set_buddy(self, buddy): - if buddy: - self.buddy = weakref.proxy(buddy) - else: - self.buddy = None - - def on_state(self): - """ - Notification that buddy's presence state has changed. Application - may then retrieve the new status with Buddy.info() function. - """ - pass - - def on_pager(self, mime_type, body): - """Notification that incoming instant message is received from - this buddy. - - Keyword arguments: - mime_type -- MIME type of the instant message body - body -- the instant message body - - """ - pass - - def on_pager_status(self, body, im_id, code, reason): - """Notification about the delivery status of previously sent - instant message. - - Keyword arguments: - body -- the message body - im_id -- message ID - code -- SIP status code - reason -- SIP reason phrase - - """ - pass - - def on_typing(self, is_typing): - """Notification that remote is typing or stop typing. - - Keyword arguments: - is_typing -- boolean to indicate whether remote is currently - typing an instant message. - - """ - pass - - -class Buddy: - """A Buddy represents person or remote agent. - - This class provides functions to subscribe to buddy's presence and - to send or receive instant messages from the buddy. - """ - _id = -1 - _lib = None - _cb = None - _obj_name = "" - _acc = None - - def __init__(self, lib, id, account, cb): - self._id = id - self._lib = weakref.ref(lib) - self._acc = weakref.ref(account) - self._obj_name = "{Buddy " + self.info().uri + "}" - self.set_callback(cb) - _pjsua.buddy_set_user_data(self._id, self) - _Trace((self, 'created')) - - def __del__(self): - if self._id != -1: - _pjsua.buddy_set_user_data(self._id, 0) - _Trace((self, 'destroyed')) - - def __str__(self): - return self._obj_name - - def info(self): - """ - Get buddy info as BuddyInfo. - """ - lck = self._lib().auto_lock() - return BuddyInfo(_pjsua.buddy_get_info(self._id)) - - def set_callback(self, cb): - """Install callback to receive notifications from this object. - - Keyword argument: - cb -- BuddyCallback instance. - """ - if cb: - self._cb = cb - else: - self._cb = BuddyCallback(self) - self._cb._set_buddy(self) - - def subscribe(self): - """ - Subscribe to buddy's presence status notification. - """ - lck = self._lib().auto_lock() - err = _pjsua.buddy_subscribe_pres(self._id, True) - self._lib()._err_check("subscribe()", self, err) - - def unsubscribe(self): - """ - Unsubscribe from buddy's presence status notification. - """ - lck = self._lib().auto_lock() - err = _pjsua.buddy_subscribe_pres(self._id, False) - self._lib()._err_check("unsubscribe()", self, err) - - def delete(self): - """ - Remove this buddy from the buddy list. - """ - lck = self._lib().auto_lock() - if self._id != -1: - _pjsua.buddy_set_user_data(self._id, 0) - err = _pjsua.buddy_del(self._id) - self._lib()._err_check("delete()", self, err) - - def send_pager(self, text, im_id=0, content_type="text/plain", \ - hdr_list=None): - """Send instant message to remote buddy. - - Keyword arguments: - text -- Instant message to be sent - im_id -- Optional instant message ID to identify this - instant message when delivery status callback - is called. - content_type -- MIME type identifying the instant message - hdr_list -- Optional list of headers to be sent with the - request. - - """ - lck = self._lib().auto_lock() - err = _pjsua.im_send(self._acc()._id, self.info().uri, \ - content_type, text, \ - Lib._create_msg_data(hdr_list), \ - im_id) - self._lib()._err_check("send_pager()", self, err) - - def send_typing_ind(self, is_typing=True, hdr_list=None): - """Send typing indication to remote buddy. - - Keyword argument: - is_typing -- boolean to indicate wheter user is typing. - hdr_list -- Optional list of headers to be sent with the - request. - - """ - lck = self._lib().auto_lock() - err = _pjsua.im_typing(self._acc()._id, self.info().uri, \ - is_typing, Lib._create_msg_data(hdr_list)) - self._lib()._err_check("send_typing_ind()", self, err) - - - -# Sound device info -class SoundDeviceInfo: - """This described the sound device info. - - Member documentation: - name -- device name. - input_channels -- number of capture channels supported. - output_channels -- number of playback channels supported. - default_clock_rate -- default sampling rate. - """ - name = "" - input_channels = 0 - output_channels = 0 - default_clock_rate = 0 - - def __init__(self, sdi): - self.name = sdi.name - self.input_channels = sdi.input_count - self.output_channels = sdi.output_count - self.default_clock_rate = sdi.default_samples_per_sec - - -# Codec info -class CodecInfo: - """This describes codec info. - - Member documentation: - name -- codec name - priority -- codec priority (0-255) - clock_rate -- clock rate - channel_count -- number of channels - avg_bps -- average bandwidth in bits per second - frm_ptime -- base frame length in milliseconds - ptime -- RTP frame length in milliseconds. - pt -- payload type. - vad_enabled -- specify if Voice Activity Detection is currently - enabled. - plc_enabled -- specify if Packet Lost Concealment is currently - enabled. - """ - name = "" - priority = 0 - clock_rate = 0 - channel_count = 0 - avg_bps = 0 - frm_ptime = 0 - ptime = 0 - pt = 0 - vad_enabled = False - plc_enabled = False - - def __init__(self, codec_info, codec_param): - self.name = codec_info.codec_id - self.priority = codec_info.priority - self.clock_rate = codec_param.info.clock_rate - self.channel_count = codec_param.info.channel_cnt - self.avg_bps = codec_param.info.avg_bps - self.frm_ptime = codec_param.info.frm_ptime - self.ptime = codec_param.info.frm_ptime * \ - codec_param.setting.frm_per_pkt - self.ptime = codec_param.info.pt - self.vad_enabled = codec_param.setting.vad - self.plc_enabled = codec_param.setting.plc - - def _cvt_to_pjsua(self): - ci = _pjsua.Codec_Info() - ci.codec_id = self.name - ci.priority = self.priority - return ci - - -# Codec parameter -class CodecParameter: - """This specifies various parameters that can be configured for codec. - - Member documentation: - - ptime -- specify the outgoing RTP packet length in milliseconds. - vad_enabled -- specify if VAD should be enabled. - plc_enabled -- specify if PLC should be enabled. - """ - ptime = 0 - vad_enabled = False - plc_enabled = False - _codec_param = None - - def __init__(self, codec_param): - self.ptime = codec_param.info.frm_ptime * \ - codec_param.setting.frm_per_pkt - self.vad_enabled = codec_param.setting.vad - self.plc_enabled = codec_param.setting.plc - self._codec_param = codec_param - - def _cvt_to_pjsua(self): - self._codec_param.setting.frm_per_pkt = self.ptime / \ - self._codec_param.info.frm_ptime - self._codec_param.setting.vad = self.vad_enabled - self._codec_param.setting.plc = self.plc_enabled - return self._codec_param - - -# Library mutex -class _LibMutex: - def __init__(self, lck): - self._lck = lck - self._lck.acquire() - #_Trace(('lock acquired',)) - - def __del__(self): - try: - self._lck.release() - #_Trace(('lock released',)) - except: - #_Trace(('lock release error',)) - pass - - -# PJSUA Library -_lib = None -enable_trace = False - -class Lib: - """Library instance. - - """ - _quit = False - _has_thread = False - _lock = None - - def __init__(self): - global _lib - if _lib: - raise Error("__init()__", None, -1, - "Library instance already exist") - - self._lock = threading.RLock() - err = _pjsua.create() - self._err_check("_pjsua.create()", None, err) - _lib = self - - def __del__(self): - _pjsua.destroy() - del self._lock - _Trace(('Lib destroyed',)) - - def __str__(self): - return "Lib" - - @staticmethod - def instance(): - """Return singleton instance of Lib. - """ - return _lib - - def init(self, ua_cfg=None, log_cfg=None, media_cfg=None): - """ - Initialize pjsua with the specified configurations. - - Keyword arguments: - ua_cfg -- optional UAConfig instance - log_cfg -- optional LogConfig instance - media_cfg -- optional MediaConfig instance - - """ - if not ua_cfg: ua_cfg = UAConfig() - if not log_cfg: log_cfg = LogConfig() - if not media_cfg: media_cfg = MediaConfig() - - py_ua_cfg = ua_cfg._cvt_to_pjsua() - py_ua_cfg.cb.on_call_state = _cb_on_call_state - py_ua_cfg.cb.on_incoming_call = _cb_on_incoming_call - py_ua_cfg.cb.on_call_media_state = _cb_on_call_media_state - py_ua_cfg.cb.on_dtmf_digit = _cb_on_dtmf_digit - py_ua_cfg.cb.on_call_transfer_request = _cb_on_call_transfer_request - py_ua_cfg.cb.on_call_transfer_status = _cb_on_call_transfer_status - py_ua_cfg.cb.on_call_replace_request = _cb_on_call_replace_request - py_ua_cfg.cb.on_call_replaced = _cb_on_call_replaced - py_ua_cfg.cb.on_reg_state = _cb_on_reg_state - py_ua_cfg.cb.on_incoming_subscribe = _cb_on_incoming_subscribe - py_ua_cfg.cb.on_buddy_state = _cb_on_buddy_state - py_ua_cfg.cb.on_pager = _cb_on_pager - py_ua_cfg.cb.on_pager_status = _cb_on_pager_status - py_ua_cfg.cb.on_typing = _cb_on_typing - py_ua_cfg.cb.on_mwi_info = _cb_on_mwi_info; - - err = _pjsua.init(py_ua_cfg, log_cfg._cvt_to_pjsua(), - media_cfg._cvt_to_pjsua()) - self._err_check("init()", self, err) - - def destroy(self): - """Destroy the library, and pjsua.""" - global _lib - if self._has_thread: - self._quit = 1 - loop = 0 - while self._quit != 2 and loop < 400: - self.handle_events(5) - loop = loop + 1 - time.sleep(0.050) - _pjsua.destroy() - _lib = None - - def start(self, with_thread=True): - """Start the library. - - Keyword argument: - with_thread -- specify whether the module should create worker - thread. - - """ - lck = self.auto_lock() - err = _pjsua.start() - self._err_check("start()", self, err) - self._has_thread = with_thread - if self._has_thread: - thread.start_new(_worker_thread_main, (0,)) - - def handle_events(self, timeout=50): - """Poll the events from underlying pjsua library. - - Application must poll the stack periodically if worker thread - is disable when starting the library. - - Keyword argument: - timeout -- in milliseconds. - - """ - lck = self.auto_lock() - return _pjsua.handle_events(timeout) - - def thread_register(self, name): - """Register external threads (threads that are not created by PJSIP, - such as threads that are created by Python API) to PJSIP. - - The call must be made from the new thread before calling any pjlib - functions. - - Keyword arguments: - name -- Non descriptive name for the thread - """ - dummy = 1 - err = _pjsua.thread_register(name, dummy) - self._err_check("thread_register()", self, err) - - def verify_sip_url(self, sip_url): - """Verify that the specified string is a valid URI. - - Keyword argument: - sip_url -- the URL string. - - Return: - 0 is the the URI is valid, otherwise the appropriate error - code is returned. - - """ - lck = self.auto_lock() - return _pjsua.verify_sip_url(sip_url) - - def create_transport(self, type, cfg=None): - """Create SIP transport instance of the specified type. - - Keyword arguments: - type -- transport type from TransportType constant. - cfg -- TransportConfig instance - - Return: - Transport object - - """ - lck = self.auto_lock() - if not cfg: cfg=TransportConfig() - err, tp_id = _pjsua.transport_create(type, cfg._cvt_to_pjsua()) - self._err_check("create_transport()", self, err) - return Transport(self, tp_id) - - def create_account(self, acc_config, set_default=True, cb=None): - """ - Create a new local pjsua account using the specified configuration. - - Keyword arguments: - acc_config -- AccountConfig - set_default -- boolean to specify whether to use this as the - default account. - cb -- AccountCallback instance. - - Return: - Account instance - - """ - lck = self.auto_lock() - err, acc_id = _pjsua.acc_add(acc_config._cvt_to_pjsua(), set_default) - self._err_check("create_account()", self, err) - return Account(self, acc_id, cb) - - def create_account_for_transport(self, transport, set_default=True, - cb=None): - """Create a new local pjsua transport for the specified transport. - - Keyword arguments: - transport -- the Transport instance. - set_default -- boolean to specify whether to use this as the - default account. - cb -- AccountCallback instance. - - Return: - Account instance - - """ - lck = self.auto_lock() - err, acc_id = _pjsua.acc_add_local(transport._id, set_default) - self._err_check("create_account_for_transport()", self, err) - return Account(self, acc_id, cb) - - def hangup_all(self): - """Hangup all calls. - - """ - lck = self.auto_lock() - _pjsua.call_hangup_all() - - # Sound device API - - def enum_snd_dev(self): - """Enumerate sound devices in the system. - - Return: - list of SoundDeviceInfo. The index of the element specifies - the device ID for the device. - """ - lck = self.auto_lock() - sdi_list = _pjsua.enum_snd_devs() - info = [] - for sdi in sdi_list: - info.append(SoundDeviceInfo(sdi)) - return info - - def get_snd_dev(self): - """Get the device IDs of current sound devices used by pjsua. - - Return: - (capture_dev_id, playback_dev_id) tuple - """ - lck = self.auto_lock() - return _pjsua.get_snd_dev() - - def set_snd_dev(self, capture_dev, playback_dev): - """Change the current sound devices. - - Keyword arguments: - capture_dev -- the device ID of capture device to be used - playback_dev -- the device ID of playback device to be used. - - """ - lck = self.auto_lock() - err = _pjsua.set_snd_dev(capture_dev, playback_dev) - self._err_check("set_current_sound_devices()", self, err) - - def set_null_snd_dev(self): - """Disable the sound devices. This is useful if the system - does not have sound device installed. - - """ - lck = self.auto_lock() - err = _pjsua.set_null_snd_dev() - self._err_check("set_null_snd_dev()", self, err) - - - # Conference bridge - - def conf_get_max_ports(self): - """Get the conference bridge capacity. - - Return: - conference bridge capacity. - - """ - lck = self.auto_lock() - return _pjsua.conf_get_max_ports() - - def conf_connect(self, src_slot, dst_slot): - """Establish unidirectional media flow from souce to sink. - - One source may transmit to multiple destinations/sink. And if - multiple sources are transmitting to the same sink, the media - will be mixed together. Source and sink may refer to the same ID, - effectively looping the media. - - If bidirectional media flow is desired, application needs to call - this function twice, with the second one having the arguments - reversed. - - Keyword arguments: - src_slot -- integer to identify the conference slot number of - the source/transmitter. - dst_slot -- integer to identify the conference slot number of - the destination/receiver. - - """ - lck = self.auto_lock() - err = _pjsua.conf_connect(src_slot, dst_slot) - self._err_check("conf_connect()", self, err) - - def conf_disconnect(self, src_slot, dst_slot): - """Disconnect media flow from the source to destination port. - - Keyword arguments: - src_slot -- integer to identify the conference slot number of - the source/transmitter. - dst_slot -- integer to identify the conference slot number of - the destination/receiver. - - """ - lck = self.auto_lock() - err = _pjsua.conf_disconnect(src_slot, dst_slot) - self._err_check("conf_disconnect()", self, err) - - def conf_set_tx_level(self, slot, level): - """Adjust the signal level to be transmitted from the bridge to - the specified port by making it louder or quieter. - - Keyword arguments: - slot -- integer to identify the conference slot number. - level -- Signal level adjustment. Value 1.0 means no level - adjustment, while value 0 means to mute the port. - """ - lck = self.auto_lock() - err = _pjsua.conf_set_tx_level(slot, level) - self._err_check("conf_set_tx_level()", self, err) - - def conf_set_rx_level(self, slot, level): - """Adjust the signal level to be received from the specified port - (to the bridge) by making it louder or quieter. - - Keyword arguments: - slot -- integer to identify the conference slot number. - level -- Signal level adjustment. Value 1.0 means no level - adjustment, while value 0 means to mute the port. - """ - lck = self.auto_lock() - err = _pjsua.conf_set_rx_level(slot, level) - self._err_check("conf_set_rx_level()", self, err) - - def conf_get_signal_level(self, slot): - """Get last signal level transmitted to or received from the - specified port. The signal levels are float values from 0.0 to 1.0, - with 0.0 indicates no signal, and 1.0 indicates the loudest signal - level. - - Keyword arguments: - slot -- integer to identify the conference slot number. - - Return value: - (tx_level, rx_level) tuple. - """ - lck = self.auto_lock() - err, tx_level, rx_level = _pjsua.conf_get_signal_level(slot) - self._err_check("conf_get_signal_level()", self, err) - return (tx_level, rx_level) - - - - # Codecs API - - def enum_codecs(self): - """Return list of codecs supported by pjsua. - - Return: - list of CodecInfo - - """ - lck = self.auto_lock() - ci_list = _pjsua.enum_codecs() - codec_info = [] - for ci in ci_list: - cp = _pjsua.codec_get_param(ci.codec_id) - if cp: - codec_info.append(CodecInfo(ci, cp)) - return codec_info - - def set_codec_priority(self, name, priority): - """Change the codec priority. - - Keyword arguments: - name -- Codec name - priority -- Codec priority, which range is 0-255. - - """ - lck = self.auto_lock() - err = _pjsua.codec_set_priority(name, priority) - self._err_check("set_codec_priority()", self, err) - - def get_codec_parameter(self, name): - """Get codec parameter for the specified codec. - - Keyword arguments: - name -- codec name. - - """ - lck = self.auto_lock() - cp = _pjsua.codec_get_param(name) - if not cp: - self._err_check("get_codec_parameter()", self, -1, - "Invalid codec name") - return CodecParameter(cp) - - def set_codec_parameter(self, name, param): - """Modify codec parameter for the specified codec. - - Keyword arguments: - name -- codec name - param -- codec parameter. - - """ - lck = self.auto_lock() - err = _pjsua.codec_set_param(name, param._cvt_to_pjsua()) - self._err_check("set_codec_parameter()", self, err) - - # WAV playback and recording - - def create_player(self, filename, loop=False): - """Create WAV file player. - - Keyword arguments - filename -- WAV file name - loop -- boolean to specify whether playback should - automatically restart upon EOF - Return: - WAV player ID - - """ - lck = self.auto_lock() - opt = 0 - if not loop: - opt = opt + 1 - err, player_id = _pjsua.player_create(filename, opt) - self._err_check("create_player()", self, err) - return player_id - - def player_get_slot(self, player_id): - """Get the conference port ID for the specified player. - - Keyword arguments: - player_id -- the WAV player ID - - Return: - Conference slot number for the player - - """ - lck = self.auto_lock() - slot = _pjsua.player_get_conf_port(player_id) - if slot < 0: - self._err_check("player_get_slot()", self, -1, - "Invalid player id") - return slot - - def player_set_pos(self, player_id, pos): - """Set WAV playback position. - - Keyword arguments: - player_id -- WAV player ID - pos -- playback position, in samples - - """ - lck = self.auto_lock() - err = _pjsua.player_set_pos(player_id, pos) - self._err_check("player_set_pos()", self, err) - - def player_destroy(self, player_id): - """Destroy the WAV player. - - Keyword arguments: - player_id -- the WAV player ID. - - """ - lck = self.auto_lock() - err = _pjsua.player_destroy(player_id) - self._err_check("player_destroy()", self, err) - - def create_playlist(self, filelist, label="playlist", loop=True): - """Create WAV playlist. - - Keyword arguments: - filelist -- List of WAV file names. - label -- Optional name to be assigned to the playlist - object (useful for logging) - loop -- boolean to specify whether playback should - automatically restart upon EOF - - Return: - playlist_id - """ - lck = self.auto_lock() - opt = 0 - if not loop: - opt = opt + 1 - err, playlist_id = _pjsua.playlist_create(label, filelist, opt) - self._err_check("create_playlist()", self, err) - return playlist_id - - def playlist_get_slot(self, playlist_id): - """Get the conference port ID for the specified playlist. - - Keyword arguments: - playlist_id -- the WAV playlist ID - - Return: - Conference slot number for the playlist - - """ - lck = self.auto_lock() - slot = _pjsua.player_get_conf_port(playlist_id) - if slot < 0: - self._err_check("playlist_get_slot()", self, -1, - "Invalid playlist id") - return slot - - def playlist_destroy(self, playlist_id): - """Destroy the WAV playlist. - - Keyword arguments: - playlist_id -- the WAV playlist ID. - - """ - lck = self.auto_lock() - err = _pjsua.player_destroy(playlist_id) - self._err_check("playlist_destroy()", self, err) - - def create_recorder(self, filename): - """Create WAV file recorder. - - Keyword arguments - filename -- WAV file name - - Return: - WAV recorder ID - - """ - lck = self.auto_lock() - err, rec_id = _pjsua.recorder_create(filename, 0, None, -1, 0) - self._err_check("create_recorder()", self, err) - return rec_id - - def recorder_get_slot(self, rec_id): - """Get the conference port ID for the specified recorder. - - Keyword arguments: - rec_id -- the WAV recorder ID - - Return: - Conference slot number for the recorder - - """ - lck = self.auto_lock() - slot = _pjsua.recorder_get_conf_port(rec_id) - if slot < 1: - self._err_check("recorder_get_slot()", self, -1, - "Invalid recorder id") - return slot - - def recorder_destroy(self, rec_id): - """Destroy the WAV recorder. - - Keyword arguments: - rec_id -- the WAV recorder ID. - - """ - lck = self.auto_lock() - err = _pjsua.recorder_destroy(rec_id) - self._err_check("recorder_destroy()", self, err) - - - # Internal functions - - @staticmethod - def strerror(err): - return _pjsua.strerror(err) - - def _err_check(self, op_name, obj, err_code, err_msg=""): - if err_code != 0: - raise Error(op_name, obj, err_code, err_msg) - - @staticmethod - def _create_msg_data(hdr_list): - if not hdr_list: - return None - msg_data = _pjsua.Msg_Data() - msg_data.hdr_list = hdr_list - return msg_data - - def auto_lock(self): - return _LibMutex(self._lock) - - # Internal dictionary manipulation for calls, accounts, and buddies - - def _lookup_call(self, call_id): - return _pjsua.call_get_user_data(call_id) - - def _lookup_account(self, acc_id): - return _pjsua.acc_get_user_data(acc_id) - - def _lookup_buddy(self, buddy_id, uri=None): - if buddy_id != -1: - buddy = _pjsua.buddy_get_user_data(buddy_id) - elif uri: - buddy_id = _pjsua.buddy_find(uri) - if buddy_id != -1: - buddy = _pjsua.buddy_get_user_data(buddy_id) - else: - buddy = None - else: - buddy = None - - return buddy - - # Account allbacks - - def _cb_on_reg_state(self, acc_id): - acc = self._lookup_account(acc_id) - if acc: - acc._cb.on_reg_state() - - def _cb_on_incoming_subscribe(self, acc_id, buddy_id, from_uri, - contact_uri, pres_obj): - acc = self._lookup_account(acc_id) - if acc: - buddy = self._lookup_buddy(buddy_id) - return acc._cb.on_incoming_subscribe(buddy, from_uri, contact_uri, - pres_obj) - else: - return (404, None) - - def _cb_on_incoming_call(self, acc_id, call_id, rdata): - acc = self._lookup_account(acc_id) - if acc: - acc._cb.on_incoming_call( Call(self, call_id) ) - else: - _pjsua.call_hangup(call_id, 603, None, None) - - # Call callbacks - - def _cb_on_call_state(self, call_id): - call = self._lookup_call(call_id) - if call: - if call._id == -1: - call.attach_to_id(call_id) - done = (call.info().state == CallState.DISCONNECTED) - call._cb.on_state() - if done: - _pjsua.call_set_user_data(call_id, 0) - else: - pass - - def _cb_on_call_media_state(self, call_id): - call = self._lookup_call(call_id) - if call: - call._cb.on_media_state() - - def _cb_on_dtmf_digit(self, call_id, digits): - call = self._lookup_call(call_id) - if call: - call._cb.on_dtmf_digit(digits) - - def _cb_on_call_transfer_request(self, call_id, dst, code): - call = self._lookup_call(call_id) - if call: - return call._cb.on_transfer_request(dst, code) - else: - return 603 - - def _cb_on_call_transfer_status(self, call_id, code, text, final, cont): - call = self._lookup_call(call_id) - if call: - return call._cb.on_transfer_status(code, text, final, cont) - else: - return cont - - def _cb_on_call_replace_request(self, call_id, rdata, code, reason): - call = self._lookup_call(call_id) - if call: - return call._cb.on_replace_request(code, reason) - else: - return code, reason - - def _cb_on_call_replaced(self, old_call_id, new_call_id): - old_call = self._lookup_call(old_call_id) - new_call = self._lookup_call(new_call_id) - if old_call and new_call: - old_call._cb.on_replaced(new_call) - - def _cb_on_pager(self, call_id, from_uri, to_uri, contact, mime_type, - body, acc_id): - call = None - if call_id != -1: - call = self._lookup_call(call_id) - if call: - call._cb.on_pager(mime_type, body) - else: - acc = self._lookup_account(acc_id) - buddy = self._lookup_buddy(-1, from_uri) - if buddy: - buddy._cb.on_pager(mime_type, body) - else: - acc._cb.on_pager(from_uri, contact, mime_type, body) - - def _cb_on_pager_status(self, call_id, to_uri, body, user_data, - code, reason, acc_id): - call = None - if call_id != -1: - call = self._lookup_call(call_id) - if call: - call._cb.on_pager_status(body, user_data, code, reason) - else: - acc = self._lookup_account(acc_id) - buddy = self._lookup_buddy(-1, to_uri) - if buddy: - buddy._cb.on_pager_status(body, user_data, code, reason) - else: - acc._cb.on_pager_status(to_uri, body, user_data, code, reason) - - def _cb_on_typing(self, call_id, from_uri, to_uri, contact, is_typing, - acc_id): - call = None - if call_id != -1: - call = self._lookup_call(call_id) - if call: - call._cb.on_typing(is_typing) - else: - acc = self._lookup_account(acc_id) - buddy = self._lookup_buddy(-1, from_uri) - if buddy: - buddy._cb.on_typing(is_typing) - else: - acc._cb.on_typing(from_uri, contact, is_typing) - - def _cb_on_mwi_info(self, acc_id, body): - acc = self._lookup_account(acc_id) - if acc: - return acc._cb.on_mwi_info(body) - - def _cb_on_buddy_state(self, buddy_id): - buddy = self._lookup_buddy(buddy_id) - if buddy: - buddy._cb.on_state() - -# -# Internal -# - -def _cb_on_call_state(call_id, e): - _lib._cb_on_call_state(call_id) - -def _cb_on_incoming_call(acc_id, call_id, rdata): - _lib._cb_on_incoming_call(acc_id, call_id, rdata) - -def _cb_on_call_media_state(call_id): - _lib._cb_on_call_media_state(call_id) - -def _cb_on_dtmf_digit(call_id, digits): - _lib._cb_on_dtmf_digit(call_id, digits) - -def _cb_on_call_transfer_request(call_id, dst, code): - return _lib._cb_on_call_transfer_request(call_id, dst, code) - -def _cb_on_call_transfer_status(call_id, code, reason, final, cont): - return _lib._cb_on_call_transfer_status(call_id, code, reason, - final, cont) -def _cb_on_call_replace_request(call_id, rdata, code, reason): - return _lib._cb_on_call_replace_request(call_id, rdata, code, reason) - -def _cb_on_call_replaced(old_call_id, new_call_id): - _lib._cb_on_call_replaced(old_call_id, new_call_id) - -def _cb_on_reg_state(acc_id): - _lib._cb_on_reg_state(acc_id) - -def _cb_on_incoming_subscribe(acc_id, buddy_id, from_uri, contact_uri, pres): - return _lib._cb_on_incoming_subscribe(acc_id, buddy_id, from_uri, - contact_uri, pres) - -def _cb_on_buddy_state(buddy_id): - _lib._cb_on_buddy_state(buddy_id) - -def _cb_on_pager(call_id, from_uri, to, contact, mime_type, body, acc_id): - _lib._cb_on_pager(call_id, from_uri, to, contact, mime_type, body, acc_id) - -def _cb_on_pager_status(call_id, to, body, user_data, status, reason, acc_id): - _lib._cb_on_pager_status(call_id, to, body, user_data, - status, reason, acc_id) - -def _cb_on_typing(call_id, from_uri, to, contact, is_typing, acc_id): - _lib._cb_on_typing(call_id, from_uri, to, contact, is_typing, acc_id) - -def _cb_on_mwi_info(acc_id, body): - _lib._cb_on_mwi_info(acc_id, body) - -# Worker thread -def _worker_thread_main(arg): - global _lib - _Trace(('worker thread started..',)) - thread_desc = 0; - err = _pjsua.thread_register("python worker", thread_desc) - _lib._err_check("thread_register()", _lib, err) - while _lib and _lib._quit == 0: - _lib.handle_events(1) - time.sleep(0.050) - if _lib: - _lib._quit = 2 - _Trace(('worker thread exited..',)) - -def _Trace(args): - global enable_trace - if enable_trace: - print "** ", - for arg in args: - print arg, - print " **" - diff --git a/res/pjproject/pjsip-apps/src/python/samples/call.py b/res/pjproject/pjsip-apps/src/python/samples/call.py deleted file mode 100644 index 89cbb1c067..0000000000 --- a/res/pjproject/pjsip-apps/src/python/samples/call.py +++ /dev/null @@ -1,169 +0,0 @@ -# $Id$ -# -# SIP call sample. -# -# Copyright (C) 2003-2008 Benny Prijono -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -import sys -import pjsua as pj - -LOG_LEVEL=3 -current_call = None - -# Logging callback -def log_cb(level, str, len): - print str, - - -# Callback to receive events from account -class MyAccountCallback(pj.AccountCallback): - - def __init__(self, account=None): - pj.AccountCallback.__init__(self, account) - - # Notification on incoming call - def on_incoming_call(self, call): - global current_call - if current_call: - call.answer(486, "Busy") - return - - print "Incoming call from ", call.info().remote_uri - print "Press 'a' to answer" - - current_call = call - - call_cb = MyCallCallback(current_call) - current_call.set_callback(call_cb) - - current_call.answer(180) - - -# Callback to receive events from Call -class MyCallCallback(pj.CallCallback): - - def __init__(self, call=None): - pj.CallCallback.__init__(self, call) - - # Notification when call state has changed - def on_state(self): - global current_call - print "Call with", self.call.info().remote_uri, - print "is", self.call.info().state_text, - print "last code =", self.call.info().last_code, - print "(" + self.call.info().last_reason + ")" - - if self.call.info().state == pj.CallState.DISCONNECTED: - current_call = None - print 'Current call is', current_call - - # Notification when call's media state has changed. - def on_media_state(self): - if self.call.info().media_state == pj.MediaState.ACTIVE: - # Connect the call to sound device - call_slot = self.call.info().conf_slot - pj.Lib.instance().conf_connect(call_slot, 0) - pj.Lib.instance().conf_connect(0, call_slot) - print "Media is now active" - else: - print "Media is inactive" - -# Function to make call -def make_call(uri): - try: - print "Making call to", uri - return acc.make_call(uri, cb=MyCallCallback()) - except pj.Error, e: - print "Exception: " + str(e) - return None - - -# Create library instance -lib = pj.Lib() - -try: - # Init library with default config and some customized - # logging config. - lib.init(log_cfg = pj.LogConfig(level=LOG_LEVEL, callback=log_cb)) - - # Create UDP transport which listens to any available port - transport = lib.create_transport(pj.TransportType.UDP, - pj.TransportConfig(0)) - print "\nListening on", transport.info().host, - print "port", transport.info().port, "\n" - - # Start the library - lib.start() - - # Create local account - acc = lib.create_account_for_transport(transport, cb=MyAccountCallback()) - - # If argument is specified then make call to the URI - if len(sys.argv) > 1: - lck = lib.auto_lock() - current_call = make_call(sys.argv[1]) - print 'Current call is', current_call - del lck - - my_sip_uri = "sip:" + transport.info().host + \ - ":" + str(transport.info().port) - - # Menu loop - while True: - print "My SIP URI is", my_sip_uri - print "Menu: m=make call, h=hangup call, a=answer call, q=quit" - - input = sys.stdin.readline().rstrip("\r\n") - if input == "m": - if current_call: - print "Already have another call" - continue - print "Enter destination URI to call: ", - input = sys.stdin.readline().rstrip("\r\n") - if input == "": - continue - lck = lib.auto_lock() - current_call = make_call(input) - del lck - - elif input == "h": - if not current_call: - print "There is no call" - continue - current_call.hangup() - - elif input == "a": - if not current_call: - print "There is no call" - continue - current_call.answer(200) - - elif input == "q": - break - - # Shutdown the library - transport = None - acc.delete() - acc = None - lib.destroy() - lib = None - -except pj.Error, e: - print "Exception: " + str(e) - lib.destroy() - lib = None - diff --git a/res/pjproject/pjsip-apps/src/python/samples/presence.py b/res/pjproject/pjsip-apps/src/python/samples/presence.py deleted file mode 100644 index a9ee8dd1f3..0000000000 --- a/res/pjproject/pjsip-apps/src/python/samples/presence.py +++ /dev/null @@ -1,175 +0,0 @@ -# $Id$ -# -# Presence and instant messaging -# -# Copyright (C) 2003-2008 Benny Prijono -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -import sys -import pjsua as pj - -LOG_LEVEL = 3 -pending_pres = None -pending_uri = None - -def log_cb(level, str, len): - print str, - -class MyAccountCallback(pj.AccountCallback): - def __init__(self, account=None): - pj.AccountCallback.__init__(self, account) - - def on_incoming_subscribe(self, buddy, from_uri, contact_uri, pres): - global pending_pres, pending_uri - # Allow buddy to subscribe to our presence - if buddy: - return (200, None) - print 'Incoming SUBSCRIBE request from', from_uri - print 'Press "A" to accept and add, "R" to reject the request' - pending_pres = pres - pending_uri = from_uri - return (202, None) - - -class MyBuddyCallback(pj.BuddyCallback): - def __init__(self, buddy=None): - pj.BuddyCallback.__init__(self, buddy) - - def on_state(self): - print "Buddy", self.buddy.info().uri, "is", - print self.buddy.info().online_text - - def on_pager(self, mime_type, body): - print "Instant message from", self.buddy.info().uri, - print "(", mime_type, "):" - print body - - def on_pager_status(self, body, im_id, code, reason): - if code >= 300: - print "Message delivery failed for message", - print body, "to", self.buddy.info().uri, ":", reason - - def on_typing(self, is_typing): - if is_typing: - print self.buddy.info().uri, "is typing" - else: - print self.buddy.info().uri, "stops typing" - - -lib = pj.Lib() - -try: - # Init library with default config and some customized - # logging config. - lib.init(log_cfg = pj.LogConfig(level=LOG_LEVEL, callback=log_cb)) - - # Create UDP transport which listens to any available port - transport = lib.create_transport(pj.TransportType.UDP, - pj.TransportConfig(0)) - print "\nListening on", transport.info().host, - print "port", transport.info().port, "\n" - - # Start the library - lib.start() - - # Create local account - acc = lib.create_account_for_transport(transport, cb=MyAccountCallback()) - acc.set_basic_status(True) - - my_sip_uri = "sip:" + transport.info().host + \ - ":" + str(transport.info().port) - - buddy = None - - # Menu loop - while True: - print "My SIP URI is", my_sip_uri - print "Menu: a=add buddy, d=delete buddy, t=toggle", \ - " online status, i=send IM, q=quit" - - input = sys.stdin.readline().rstrip("\r\n") - if input == "a": - # Add buddy - print "Enter buddy URI: ", - input = sys.stdin.readline().rstrip("\r\n") - if input == "": - continue - - buddy = acc.add_buddy(input, cb=MyBuddyCallback()) - buddy.subscribe() - - elif input == "t": - acc.set_basic_status(not acc.info().online_status) - - elif input == "i": - if not buddy: - print "Add buddy first" - continue - - buddy.send_typing_ind(True) - - print "Type the message: ", - input = sys.stdin.readline().rstrip("\r\n") - if input == "": - buddy.send_typing_ind(False) - continue - - buddy.send_pager(input) - - elif input == "d": - if buddy: - buddy.delete() - buddy = None - else: - print 'No buddy was added' - - elif input == "A": - if pending_pres: - acc.pres_notify(pending_pres, pj.SubscriptionState.ACTIVE) - buddy = acc.add_buddy(pending_uri, cb=MyBuddyCallback()) - buddy.subscribe() - pending_pres = None - pending_uri = None - else: - print "No pending request" - - elif input == "R": - if pending_pres: - acc.pres_notify(pending_pres, pj.SubscriptionState.TERMINATED, - "rejected") - pending_pres = None - pending_uri = None - else: - print "No pending request" - - elif input == "q": - break - - # Shutdown the library - acc.delete() - acc = None - if pending_pres: - acc.pres_notify(pending_pres, pj.SubscriptionState.TERMINATED, - "rejected") - transport = None - lib.destroy() - lib = None - -except pj.Error, e: - print "Exception: " + str(e) - lib.destroy() - lib = None - diff --git a/res/pjproject/pjsip-apps/src/python/samples/registration.py b/res/pjproject/pjsip-apps/src/python/samples/registration.py deleted file mode 100644 index 6c07e967d3..0000000000 --- a/res/pjproject/pjsip-apps/src/python/samples/registration.py +++ /dev/null @@ -1,70 +0,0 @@ -# $Id$ -# -# SIP account and registration sample. In this sample, the program -# will block to wait until registration is complete -# -# Copyright (C) 2003-2008 Benny Prijono -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -import sys -import pjsua as pj -import threading - - -def log_cb(level, str, len): - print str, - -class MyAccountCallback(pj.AccountCallback): - sem = None - - def __init__(self, account): - pj.AccountCallback.__init__(self, account) - - def wait(self): - self.sem = threading.Semaphore(0) - self.sem.acquire() - - def on_reg_state(self): - if self.sem: - if self.account.info().reg_status >= 200: - self.sem.release() - -lib = pj.Lib() - -try: - lib.init(log_cfg = pj.LogConfig(level=4, callback=log_cb)) - lib.create_transport(pj.TransportType.UDP, pj.TransportConfig(5080)) - lib.start() - - acc = lib.create_account(pj.AccountConfig("pjsip.org", "bennylp", "***")) - - acc_cb = MyAccountCallback(acc) - acc.set_callback(acc_cb) - acc_cb.wait() - - print "\n" - print "Registration complete, status=", acc.info().reg_status, \ - "(" + acc.info().reg_reason + ")" - print "\nPress ENTER to quit" - sys.stdin.readline() - - lib.destroy() - lib = None - -except pj.Error, e: - print "Exception: " + str(e) - lib.destroy() - diff --git a/res/pjproject/pjsip-apps/src/python/samples/simplecall.py b/res/pjproject/pjsip-apps/src/python/samples/simplecall.py deleted file mode 100644 index 4b5cd71ea3..0000000000 --- a/res/pjproject/pjsip-apps/src/python/samples/simplecall.py +++ /dev/null @@ -1,88 +0,0 @@ -# $Id$ -# -# SIP account and registration sample. In this sample, the program -# will block to wait until registration is complete -# -# Copyright (C) 2003-2008 Benny Prijono -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -import sys -import pjsua as pj - -# Logging callback -def log_cb(level, str, len): - print str, - -# Callback to receive events from Call -class MyCallCallback(pj.CallCallback): - def __init__(self, call=None): - pj.CallCallback.__init__(self, call) - - # Notification when call state has changed - def on_state(self): - print "Call is ", self.call.info().state_text, - print "last code =", self.call.info().last_code, - print "(" + self.call.info().last_reason + ")" - - # Notification when call's media state has changed. - def on_media_state(self): - global lib - if self.call.info().media_state == pj.MediaState.ACTIVE: - # Connect the call to sound device - call_slot = self.call.info().conf_slot - lib.conf_connect(call_slot, 0) - lib.conf_connect(0, call_slot) - print "Hello world, I can talk!" - - -# Check command line argument -if len(sys.argv) != 2: - print "Usage: simplecall.py " - sys.exit(1) - -try: - # Create library instance - lib = pj.Lib() - - # Init library with default config - lib.init(log_cfg = pj.LogConfig(level=3, callback=log_cb)) - - # Create UDP transport which listens to any available port - transport = lib.create_transport(pj.TransportType.UDP) - - # Start the library - lib.start() - - # Create local/user-less account - acc = lib.create_account_for_transport(transport) - - # Make call - call = acc.make_call(sys.argv[1], MyCallCallback()) - - # Wait for ENTER before quitting - print "Press to quit" - input = sys.stdin.readline().rstrip("\r\n") - - # We're done, shutdown the library - lib.destroy() - lib = None - -except pj.Error, e: - print "Exception: " + str(e) - lib.destroy() - lib = None - sys.exit(1) - diff --git a/res/pjproject/pjsip-apps/src/python/setup-vc.py b/res/pjproject/pjsip-apps/src/python/setup-vc.py deleted file mode 100644 index 82c5475ad3..0000000000 --- a/res/pjproject/pjsip-apps/src/python/setup-vc.py +++ /dev/null @@ -1,80 +0,0 @@ -# $Id$ -# -# pjsua Setup script for Visual Studio -# -# Copyright (C) 2003-2008 Benny Prijono -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -from distutils.core import setup, Extension -import os -import sys - -# Find version -pj_version="" -pj_version_major="" -pj_version_minor="" -pj_version_rev="" -pj_version_suffix="" -f = open('../../../version.mak', 'r') -for line in f: - if line.find("export PJ_VERSION_MAJOR") != -1: - tokens=line.split("=") - if len(tokens)>1: - pj_version_major= tokens[1].strip() - elif line.find("export PJ_VERSION_MINOR") != -1: - tokens=line.split("=") - if len(tokens)>1: - pj_version_minor= line.split("=")[1].strip() - elif line.find("export PJ_VERSION_REV") != -1: - tokens=line.split("=") - if len(tokens)>1: - pj_version_rev= line.split("=")[1].strip() - elif line.find("export PJ_VERSION_SUFFIX") != -1: - tokens=line.split("=") - if len(tokens)>1: - pj_version_suffix= line.split("=")[1].strip() - -f.close() -if not pj_version_major: - print 'Unable to get PJ_VERSION_MAJOR' - sys.exit(1) - -pj_version = pj_version_major + "." + pj_version_minor -if pj_version_rev: - pj_version += "." + pj_version_rev -if pj_version_suffix: - pj_version += "-" + pj_version_suffix - -#print 'PJ_VERSION = "'+ pj_version + '"' - - -# Check that extension has been built -if not os.access('../../lib/_pjsua.pyd', os.R_OK): - print 'Error: file "../../lib/_pjsua.pyd" does not exist!' - print '' - print 'Please build the extension with Visual Studio first' - print 'For more info, see http://trac.pjsip.org/repos/wiki/Python_SIP_Tutorial' - sys.exit(1) - -setup(name="pjsua", - version=pj_version, - description='SIP User Agent Library based on PJSIP', - url='http://trac.pjsip.org/repos/wiki/Python_SIP_Tutorial', - data_files=[('lib/site-packages', ['../../lib/_pjsua.pyd'])], - py_modules=["pjsua"] - ) - - diff --git a/res/pjproject/pjsip-apps/src/python/setup.py b/res/pjproject/pjsip-apps/src/python/setup.py deleted file mode 100644 index 6e3618d57b..0000000000 --- a/res/pjproject/pjsip-apps/src/python/setup.py +++ /dev/null @@ -1,113 +0,0 @@ -# $Id$ -# -# pjsua Setup script. -# -# Copyright (C) 2003-2008 Benny Prijono -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -from distutils.core import setup, Extension -import os -import sys -import platform - -# find pjsip version -pj_version="" -pj_version_major="" -pj_version_minor="" -pj_version_rev="" -pj_version_suffix="" -f = open('../../../version.mak', 'r') -for line in f: - if line.find("export PJ_VERSION_MAJOR") != -1: - tokens=line.split("=") - if len(tokens)>1: - pj_version_major= tokens[1].strip() - elif line.find("export PJ_VERSION_MINOR") != -1: - tokens=line.split("=") - if len(tokens)>1: - pj_version_minor= line.split("=")[1].strip() - elif line.find("export PJ_VERSION_REV") != -1: - tokens=line.split("=") - if len(tokens)>1: - pj_version_rev= line.split("=")[1].strip() - elif line.find("export PJ_VERSION_SUFFIX") != -1: - tokens=line.split("=") - if len(tokens)>1: - pj_version_suffix= line.split("=")[1].strip() - -f.close() -if not pj_version_major: - print 'Unable to get PJ_VERSION_MAJOR' - sys.exit(1) - -pj_version = pj_version_major + "." + pj_version_minor -if pj_version_rev: - pj_version += "." + pj_version_rev -if pj_version_suffix: - pj_version += "-" + pj_version_suffix - -#print 'PJ_VERSION = "'+ pj_version + '"' - - -# Fill in pj_inc_dirs -pj_inc_dirs = [] -f = os.popen("make -f helper.mak inc_dir") -for line in f: - pj_inc_dirs.append(line.rstrip("\r\n")) -f.close() - -# Fill in pj_lib_dirs -pj_lib_dirs = [] -f = os.popen("make -f helper.mak lib_dir") -for line in f: - pj_lib_dirs.append(line.rstrip("\r\n")) -f.close() - -# Fill in pj_libs -pj_libs = [] -f = os.popen("make -f helper.mak libs") -for line in f: - pj_libs.append(line.rstrip("\r\n")) -f.close() - -# Mac OS X depedencies -if platform.system() == 'Darwin': - extra_link_args = ["-framework", "CoreFoundation", - "-framework", "AudioToolbox"] - # OS X Lion support - if platform.mac_ver()[0].startswith("10.7"): - extra_link_args += ["-framework", "AudioUnit"] -else: - extra_link_args = [] - - -setup(name="pjsua", - version=pj_version, - description='SIP User Agent Library based on PJSIP', - url='http://trac.pjsip.org/repos/wiki/Python_SIP_Tutorial', - ext_modules = [Extension("_pjsua", - ["_pjsua.c"], - define_macros=[('PJ_AUTOCONF', '1'),], - include_dirs=pj_inc_dirs, - library_dirs=pj_lib_dirs, - libraries=pj_libs, - extra_link_args=extra_link_args - ) - ], - py_modules=["pjsua"] - ) - - diff --git a/res/pjproject/pjsip-apps/src/samples/aectest.c b/res/pjproject/pjsip-apps/src/samples/aectest.c deleted file mode 100644 index 4168f69811..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/aectest.c +++ /dev/null @@ -1,304 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - - -/** - * \page page_pjmedia_samples_aectest_c Samples: AEC Test (aectest.c) - * - * Play a file to speaker, run AEC, and record the microphone input - * to see if echo is coming. - * - * This file is pjsip-apps/src/samples/aectest.c - * - * \includelineno aectest.c - */ -#include -#include /* pj_getopt */ -#include - -#define THIS_FILE "aectest.c" -#define PTIME 20 -#define TAIL_LENGTH 200 - -static const char *desc = -" FILE \n" -" \n" -" aectest.c \n" -" \n" -" PURPOSE \n" -" \n" -" Test the AEC effectiveness. \n" -" \n" -" USAGE \n" -" \n" -" aectest [options] \n" -" \n" -" is the signal played to the speaker. \n" -" is the signal captured from the microphone. \n" -" is the output file to store the test result \n" -"\n" -" options:\n" -" -d The delay between playback and capture in ms, at least 25 ms.\n" -" Default is 25 ms. See note below. \n" -" -l Set the echo tail length in ms. Default is 200 ms \n" -" -r Set repeat count (default=1) \n" -" -a Algorithm: 0=default, 1=speex, 3=echo suppress \n" -" -i Interactive \n" -"\n" -" Note that for the AEC internal buffering mechanism, it is required\n" -" that the echoed signal (in REC.WAV) is delayed from the \n" -" corresponding reference signal (in PLAY.WAV) at least as much as \n" -" frame time + PJMEDIA_WSOLA_DELAY_MSEC. In this application, frame \n" -" time is 20 ms and default PJMEDIA_WSOLA_DELAY_MSEC is 5 ms, hence \n" -" 25 ms delay is the minimum value. \n"; - -/* - * Sample session: - * - * -d 100 -a 1 ../bin/orig8.wav ../bin/echo8.wav ../bin/result8.wav - */ - -static void app_perror(const char *sender, const char *title, pj_status_t st) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(st, errmsg, sizeof(errmsg)); - PJ_LOG(3,(sender, "%s: %s", title, errmsg)); -} - - -/* - * main() - */ -int main(int argc, char *argv[]) -{ - pj_caching_pool cp; - pjmedia_endpt *med_endpt; - pj_pool_t *pool; - pjmedia_port *wav_play; - pjmedia_port *wav_rec; - pjmedia_port *wav_out; - pj_status_t status; - pjmedia_echo_state *ec; - pjmedia_frame play_frame, rec_frame; - unsigned opt = 0; - unsigned latency_ms = 25; - unsigned tail_ms = TAIL_LENGTH; - pj_timestamp t0, t1; - int i, repeat=1, interactive=0, c; - - pj_optind = 0; - while ((c=pj_getopt(argc, argv, "d:l:a:r:i")) !=-1) { - switch (c) { - case 'd': - latency_ms = atoi(pj_optarg); - if (latency_ms < 25) { - puts("Invalid delay"); - puts(desc); - } - break; - case 'l': - tail_ms = atoi(pj_optarg); - break; - case 'a': - { - int alg = atoi(pj_optarg); - switch (alg) { - case 0: - opt = 0; - case 1: - opt = PJMEDIA_ECHO_SPEEX; - break; - case 3: - opt = PJMEDIA_ECHO_SIMPLE; - break; - default: - puts("Invalid algorithm"); - puts(desc); - return 1; - } - } - break; - case 'r': - repeat = atoi(pj_optarg); - if (repeat < 1) { - puts("Invalid repeat count"); - puts(desc); - return 1; - } - break; - case 'i': - interactive = 1; - break; - } - } - - if (argc - pj_optind != 3) { - puts("Error: missing argument(s)"); - puts(desc); - return 1; - } - - /* Must init PJLIB first: */ - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&cp, &pj_pool_factory_default_policy, 0); - - /* - * Initialize media endpoint. - * This will implicitly initialize PJMEDIA too. - */ - status = pjmedia_endpt_create(&cp.factory, NULL, 1, &med_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Create memory pool for our file player */ - pool = pj_pool_create( &cp.factory, /* pool factory */ - "wav", /* pool name. */ - 4000, /* init size */ - 4000, /* increment size */ - NULL /* callback on error */ - ); - - /* Open wav_play */ - status = pjmedia_wav_player_port_create(pool, argv[pj_optind], PTIME, - PJMEDIA_FILE_NO_LOOP, 0, - &wav_play); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Error opening playback WAV file", status); - return 1; - } - - /* Open recorded wav */ - status = pjmedia_wav_player_port_create(pool, argv[pj_optind+1], PTIME, - PJMEDIA_FILE_NO_LOOP, 0, - &wav_rec); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Error opening recorded WAV file", status); - return 1; - } - - /* play and rec WAVs must have the same clock rate */ - if (PJMEDIA_PIA_SRATE(&wav_play->info) != PJMEDIA_PIA_SRATE(&wav_rec->info)) { - puts("Error: clock rate mismatch in the WAV files"); - return 1; - } - - /* .. and channel count */ - if (PJMEDIA_PIA_CCNT(&wav_play->info) != PJMEDIA_PIA_CCNT(&wav_rec->info)) { - puts("Error: clock rate mismatch in the WAV files"); - return 1; - } - - /* Create output wav */ - status = pjmedia_wav_writer_port_create(pool, argv[pj_optind+2], - PJMEDIA_PIA_SRATE(&wav_play->info), - PJMEDIA_PIA_CCNT(&wav_play->info), - PJMEDIA_PIA_SPF(&wav_play->info), - PJMEDIA_PIA_BITS(&wav_play->info), - 0, 0, &wav_out); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Error opening output WAV file", status); - return 1; - } - - /* Create echo canceller */ - status = pjmedia_echo_create2(pool, PJMEDIA_PIA_SRATE(&wav_play->info), - PJMEDIA_PIA_CCNT(&wav_play->info), - PJMEDIA_PIA_SPF(&wav_play->info), - tail_ms, latency_ms, - opt, &ec); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Error creating EC", status); - return 1; - } - - - /* Processing loop */ - play_frame.buf = pj_pool_alloc(pool, PJMEDIA_PIA_SPF(&wav_play->info)<<1); - rec_frame.buf = pj_pool_alloc(pool, PJMEDIA_PIA_SPF(&wav_play->info)<<1); - pj_get_timestamp(&t0); - for (i=0; i < repeat; ++i) { - for (;;) { - play_frame.size = PJMEDIA_PIA_SPF(&wav_play->info) << 1; - status = pjmedia_port_get_frame(wav_play, &play_frame); - if (status != PJ_SUCCESS) - break; - - status = pjmedia_echo_playback(ec, (short*)play_frame.buf); - - rec_frame.size = PJMEDIA_PIA_SPF(&wav_play->info) << 1; - status = pjmedia_port_get_frame(wav_rec, &rec_frame); - if (status != PJ_SUCCESS) - break; - - status = pjmedia_echo_capture(ec, (short*)rec_frame.buf, 0); - - //status = pjmedia_echo_cancel(ec, (short*)rec_frame.buf, - // (short*)play_frame.buf, 0, NULL); - - pjmedia_port_put_frame(wav_out, &rec_frame); - } - - pjmedia_wav_player_port_set_pos(wav_play, 0); - pjmedia_wav_player_port_set_pos(wav_rec, 0); - } - pj_get_timestamp(&t1); - - i = pjmedia_wav_writer_port_get_pos(wav_out) / sizeof(pj_int16_t) * 1000 / - (PJMEDIA_PIA_SRATE(&wav_out->info) * PJMEDIA_PIA_CCNT(&wav_out->info)); - PJ_LOG(3,(THIS_FILE, "Processed %3d.%03ds audio", - i / 1000, i % 1000)); - PJ_LOG(3,(THIS_FILE, "Completed in %u msec\n", pj_elapsed_msec(&t0, &t1))); - - /* Destroy file port(s) */ - status = pjmedia_port_destroy( wav_play ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - status = pjmedia_port_destroy( wav_rec ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - status = pjmedia_port_destroy( wav_out ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Destroy ec */ - pjmedia_echo_destroy(ec); - - /* Release application pool */ - pj_pool_release( pool ); - - /* Destroy media endpoint. */ - pjmedia_endpt_destroy( med_endpt ); - - /* Destroy pool factory */ - pj_caching_pool_destroy( &cp ); - - /* Shutdown PJLIB */ - pj_shutdown(); - - if (interactive) { - char s[10], *dummy; - puts("ENTER to quit"); - dummy = fgets(s, sizeof(s), stdin); - } - - /* Done. */ - return 0; -} - diff --git a/res/pjproject/pjsip-apps/src/samples/auddemo.c b/res/pjproject/pjsip-apps/src/samples/auddemo.c deleted file mode 100644 index 48bcad4e37..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/auddemo.c +++ /dev/null @@ -1,582 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - -#define THIS_FILE "auddemo.c" -#define MAX_DEVICES 64 -#define WAV_FILE "auddemo.wav" - - -static unsigned dev_count; -static unsigned playback_lat = PJMEDIA_SND_DEFAULT_PLAY_LATENCY; -static unsigned capture_lat = PJMEDIA_SND_DEFAULT_REC_LATENCY; - -static void app_perror(const char *title, pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - printf( "%s: %s (err=%d)\n", - title, errmsg, status); -} - -static void list_devices(void) -{ - unsigned i; - pj_status_t status; - - dev_count = pjmedia_aud_dev_count(); - if (dev_count == 0) { - PJ_LOG(3,(THIS_FILE, "No devices found")); - return; - } - - PJ_LOG(3,(THIS_FILE, "Found %d devices:", dev_count)); - - for (i=0; i= dev_count) { - PJ_LOG(1,(THIS_FILE, "Error: invalid index %u", index)); - return; - } - - status = pjmedia_aud_dev_get_info(index, &info); - if (status != PJ_SUCCESS) { - app_perror("pjmedia_aud_dev_get_info() error", status); - return; - } - - PJ_LOG(3, (THIS_FILE, "Device at index %u:", index)); - PJ_LOG(3, (THIS_FILE, "-------------------------")); - - PJ_LOG(3, (THIS_FILE, H": %u (0x%x)", "ID", index, index)); - PJ_LOG(3, (THIS_FILE, H": %s", "Name", info.name)); - PJ_LOG(3, (THIS_FILE, H": %s", "Driver", info.driver)); - PJ_LOG(3, (THIS_FILE, H": %u", "Input channels", info.input_count)); - PJ_LOG(3, (THIS_FILE, H": %u", "Output channels", info.output_count)); - PJ_LOG(3, (THIS_FILE, H": %s", "Capabilities", decode_caps(info.caps))); - - formats[0] = '\0'; - if (info.caps & PJMEDIA_AUD_DEV_CAP_EXT_FORMAT) { - unsigned i; - - for (i=0; i=0 ? "faster" : "slower"; - unsigned drift = result.rec_drift_per_sec>=0 ? - result.rec_drift_per_sec : - -result.rec_drift_per_sec; - - PJ_LOG(3,(THIS_FILE, " Clock drifts detected. Capture device " - "is running %d samples per second %s " - "than the playback device", - drift, which)); - } - } -} - - -static pj_status_t wav_rec_cb(void *user_data, pjmedia_frame *frame) -{ - return pjmedia_port_put_frame((pjmedia_port*)user_data, frame); -} - -static void record(unsigned rec_index, const char *filename) -{ - pj_pool_t *pool = NULL; - pjmedia_port *wav = NULL; - pjmedia_aud_param param; - pjmedia_aud_stream *strm = NULL; - char line[10], *dummy; - pj_status_t status; - - if (filename == NULL) - filename = WAV_FILE; - - pool = pj_pool_create(pjmedia_aud_subsys_get_pool_factory(), "wav", - 1000, 1000, NULL); - - status = pjmedia_wav_writer_port_create(pool, filename, 16000, - 1, 320, 16, 0, 0, &wav); - if (status != PJ_SUCCESS) { - app_perror("Error creating WAV file", status); - goto on_return; - } - - status = pjmedia_aud_dev_default_param(rec_index, ¶m); - if (status != PJ_SUCCESS) { - app_perror("pjmedia_aud_dev_default_param()", status); - goto on_return; - } - - param.dir = PJMEDIA_DIR_CAPTURE; - param.clock_rate = PJMEDIA_PIA_SRATE(&wav->info); - param.samples_per_frame = PJMEDIA_PIA_SPF(&wav->info); - param.channel_count = PJMEDIA_PIA_CCNT(&wav->info); - param.bits_per_sample = PJMEDIA_PIA_BITS(&wav->info); - - status = pjmedia_aud_stream_create(¶m, &wav_rec_cb, NULL, wav, - &strm); - if (status != PJ_SUCCESS) { - app_perror("Error opening the sound device", status); - goto on_return; - } - - status = pjmedia_aud_stream_start(strm); - if (status != PJ_SUCCESS) { - app_perror("Error starting the sound device", status); - goto on_return; - } - - PJ_LOG(3,(THIS_FILE, "Recording started, press ENTER to stop")); - dummy = fgets(line, sizeof(line), stdin); - -on_return: - if (strm) { - pjmedia_aud_stream_stop(strm); - pjmedia_aud_stream_destroy(strm); - } - if (wav) - pjmedia_port_destroy(wav); - if (pool) - pj_pool_release(pool); -} - - -static pj_status_t wav_play_cb(void *user_data, pjmedia_frame *frame) -{ - return pjmedia_port_get_frame((pjmedia_port*)user_data, frame); -} - - -static void play_file(unsigned play_index, const char *filename) -{ - pj_pool_t *pool = NULL; - pjmedia_port *wav = NULL; - pjmedia_aud_param param; - pjmedia_aud_stream *strm = NULL; - char line[10], *dummy; - pj_status_t status; - - if (filename == NULL) - filename = WAV_FILE; - - pool = pj_pool_create(pjmedia_aud_subsys_get_pool_factory(), "wav", - 1000, 1000, NULL); - - status = pjmedia_wav_player_port_create(pool, filename, 20, 0, 0, &wav); - if (status != PJ_SUCCESS) { - app_perror("Error opening WAV file", status); - goto on_return; - } - - status = pjmedia_aud_dev_default_param(play_index, ¶m); - if (status != PJ_SUCCESS) { - app_perror("pjmedia_aud_dev_default_param()", status); - goto on_return; - } - - param.dir = PJMEDIA_DIR_PLAYBACK; - param.clock_rate = PJMEDIA_PIA_SRATE(&wav->info); - param.samples_per_frame = PJMEDIA_PIA_SPF(&wav->info); - param.channel_count = PJMEDIA_PIA_CCNT(&wav->info); - param.bits_per_sample = PJMEDIA_PIA_BITS(&wav->info); - - status = pjmedia_aud_stream_create(¶m, NULL, &wav_play_cb, wav, - &strm); - if (status != PJ_SUCCESS) { - app_perror("Error opening the sound device", status); - goto on_return; - } - - status = pjmedia_aud_stream_start(strm); - if (status != PJ_SUCCESS) { - app_perror("Error starting the sound device", status); - goto on_return; - } - - PJ_LOG(3,(THIS_FILE, "Playback started, press ENTER to stop")); - dummy = fgets(line, sizeof(line), stdin); - -on_return: - if (strm) { - pjmedia_aud_stream_stop(strm); - pjmedia_aud_stream_destroy(strm); - } - if (wav) - pjmedia_port_destroy(wav); - if (pool) - pj_pool_release(pool); -} - - -static void print_menu(void) -{ - puts(""); - puts("Audio demo menu:"); - puts("-------------------------------"); - puts(" l List devices"); - puts(" R Refresh devices"); - puts(" i ID Show device info for device ID"); - puts(" t RID PID CR PTIM [CH] Perform test on the device:"); - puts(" RID: record device ID (-1 for no)"); - puts(" PID: playback device ID (-1 for no)"); - puts(" CR: clock rate"); - puts(" PTIM: ptime in ms"); - puts(" CH: # of channels"); - puts(" r RID [FILE] Record capture device RID to WAV file"); - puts(" p PID [FILE] Playback WAV file to device ID PID"); - puts(" d [RLAT PLAT] Get/set sound device latencies (in ms):"); - puts(" Specify no param to get current latencies setting"); - puts(" RLAT: record latency (-1 for default)"); - puts(" PLAT: playback latency (-1 for default)"); - puts(" v Toggle log verbosity"); - puts(" q Quit"); - puts(""); - printf("Enter selection: "); - fflush(stdout); -} - -int main() -{ - pj_caching_pool cp; - pj_bool_t done = PJ_FALSE; - pj_status_t status; - - /* Init pjlib */ - status = pj_init(); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, 1); - - pj_log_set_decor(PJ_LOG_HAS_NEWLINE); - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&cp, &pj_pool_factory_default_policy, 0); - - status = pjmedia_aud_subsys_init(&cp.factory); - if (status != PJ_SUCCESS) { - app_perror("pjmedia_aud_subsys_init()", status); - pj_caching_pool_destroy(&cp); - pj_shutdown(); - return 1; - } - - list_devices(); - - while (!done) { - char line[80]; - - print_menu(); - - if (fgets(line, sizeof(line), stdin)==NULL) - break; - - switch (line[0]) { - case 'l': - list_devices(); - break; - - case 'R': - pjmedia_aud_dev_refresh(); - puts("Audio device list refreshed."); - break; - - case 'i': - { - unsigned dev_index; - if (sscanf(line+2, "%u", &dev_index) != 1) { - puts("error: device ID required"); - break; - } - show_dev_info(dev_index); - } - break; - - case 't': - { - pjmedia_dir dir; - int rec_id, play_id; - unsigned clock_rate, ptime, chnum; - int cnt; - - cnt = sscanf(line+2, "%d %d %u %u %u", &rec_id, &play_id, - &clock_rate, &ptime, &chnum); - if (cnt < 4) { - puts("error: not enough parameters"); - break; - } - if (clock_rate < 8000 || clock_rate > 128000) { - puts("error: invalid clock rate"); - break; - } - if (ptime < 10 || ptime > 500) { - puts("error: invalid ptime"); - break; - } - if (cnt==5) { - if (chnum < 1 || chnum > 4) { - puts("error: invalid number of channels"); - break; - } - } else { - chnum = 1; - } - - if (rec_id >= 0 && rec_id < (int)dev_count) { - if (play_id >= 0 && play_id < (int)dev_count) - dir = PJMEDIA_DIR_CAPTURE_PLAYBACK; - else - dir = PJMEDIA_DIR_CAPTURE; - } else if (play_id >= 0 && play_id < (int)dev_count) { - dir = PJMEDIA_DIR_PLAYBACK; - } else { - puts("error: at least one valid device index required"); - break; - } - - test_device(dir, rec_id, play_id, clock_rate, ptime, chnum); - - } - break; - - case 'r': - /* record */ - { - int index; - char filename[80]; - int count; - - count = sscanf(line+2, "%d %s", &index, filename); - if (count==1) - record(index, NULL); - else if (count==2) - record(index, filename); - else - puts("error: invalid command syntax"); - } - break; - - case 'p': - /* playback */ - { - int index; - char filename[80]; - int count; - - count = sscanf(line+2, "%d %s", &index, filename); - if (count==1) - play_file(index, NULL); - else if (count==2) - play_file(index, filename); - else - puts("error: invalid command syntax"); - } - break; - - case 'd': - /* latencies */ - { - int rec_lat, play_lat; - - if (sscanf(line+2, "%d %d", &rec_lat, &play_lat) == 2) { - capture_lat = (unsigned) - (rec_lat>=0? rec_lat:PJMEDIA_SND_DEFAULT_REC_LATENCY); - playback_lat = (unsigned) - (play_lat >= 0? play_lat : PJMEDIA_SND_DEFAULT_PLAY_LATENCY); - printf("Recording latency=%ums, playback latency=%ums", - capture_lat, playback_lat); - } else { - printf("Current latencies: record=%ums, playback=%ums", - capture_lat, playback_lat); - } - puts(""); - } - break; - - case 'v': - if (pj_log_get_level() <= 3) { - pj_log_set_level(5); - puts("Logging set to detail"); - } else { - pj_log_set_level(3); - puts("Logging set to quiet"); - } - break; - - case 'q': - done = PJ_TRUE; - break; - } - } - - pj_caching_pool_destroy(&cp); - pj_shutdown(); - return 0; -} - - diff --git a/res/pjproject/pjsip-apps/src/samples/aviplay.c b/res/pjproject/pjsip-apps/src/samples/aviplay.c deleted file mode 100644 index a4d92764e8..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/aviplay.c +++ /dev/null @@ -1,560 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include -#include -#include -#include -#include -#include -#include - -#include "util.h" - -/** - * \page page_pjmedia_samples_aviplay_c Samples: Playing AVI File to - * Video and Sound Devices - * - * This is a very simple example to use the @ref PJMEDIA_FILE_PLAY, - * @ref PJMED_SND_PORT, and @ref PJMEDIA_VID_PORT. In this example, we - * open the file, video, and sound devices, then connect the file to both - * video and sound devices to play the contents of the file. - * - * - * This file is pjsip-apps/src/samples/aviplay.c - * - * \includelineno aviplay.c - */ - - -/* - * aviplay.c - * - * PURPOSE: - * Play a AVI file to video and sound devices. - * - * USAGE: - * aviplay FILE.AVI - */ - - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - - -/* For logging purpose. */ -#define THIS_FILE "aviplay.c" - -static const char *desc = -" FILE \n" -" \n" -" aviplay.c \n" -" \n" -" PURPOSE \n" -" \n" -" Demonstrate how to play a AVI file. \n" -" \n" -" USAGE \n" -" \n" -" aviplay FILE.AVI \n"; - -struct codec_fmt { - pj_uint32_t pjmedia_id; - const char *codec_id; - /* Do we need to convert the decoded frame? */ - pj_bool_t need_conversion; - /* If conversion is needed, dst_fmt indicates the destination format */ - pjmedia_format_id dst_fmt; -} codec_fmts[] = {{PJMEDIA_FORMAT_MJPEG, "mjpeg", - PJ_TRUE , PJMEDIA_FORMAT_I420}, - {PJMEDIA_FORMAT_H263 , "h263" , - PJ_FALSE, 0}, - {PJMEDIA_FORMAT_MPEG4, "mp4v"}, - {PJMEDIA_FORMAT_H264 , "h264"} - }; - -typedef struct avi_port_t -{ - pjmedia_vid_port *vid_port; - pjmedia_snd_port *snd_port; - pj_bool_t is_running; - pj_bool_t is_quitting; -} avi_port_t; - -typedef struct codec_port_data_t -{ - pjmedia_vid_codec *codec; - pjmedia_port *src_port; - pj_uint8_t *enc_buf; - pj_size_t enc_buf_size; - - pjmedia_converter *conv; -} codec_port_data_t; - -static pj_status_t avi_event_cb(pjmedia_event *event, - void *user_data) -{ - avi_port_t *ap = (avi_port_t *)user_data; - - switch (event->type) { - case PJMEDIA_EVENT_WND_CLOSED: - ap->is_quitting = PJ_TRUE; - break; - case PJMEDIA_EVENT_MOUSE_BTN_DOWN: - if (ap->is_running) { - pjmedia_vid_port_stop(ap->vid_port); - if (ap->snd_port) - pjmedia_aud_stream_stop( - pjmedia_snd_port_get_snd_stream(ap->snd_port)); - } else { - pjmedia_vid_port_start(ap->vid_port); - if (ap->snd_port) - pjmedia_aud_stream_start( - pjmedia_snd_port_get_snd_stream(ap->snd_port)); - } - ap->is_running = !ap->is_running; - break; - default: - return PJ_SUCCESS; - } - - /* We handled the event on our own, so return non-PJ_SUCCESS here */ - return -1; -} - -static pj_status_t codec_get_frame(pjmedia_port *port, - pjmedia_frame *frame) -{ - codec_port_data_t *port_data = (codec_port_data_t*)port->port_data.pdata; - pjmedia_vid_codec *codec = port_data->codec; - pjmedia_frame enc_frame; - pj_status_t status; - - enc_frame.buf = port_data->enc_buf; - enc_frame.size = port_data->enc_buf_size; - - if (port_data->conv) { - pj_size_t frame_size = frame->size; - - status = pjmedia_port_get_frame(port_data->src_port, frame); - if (status != PJ_SUCCESS) goto on_error; - - status = pjmedia_vid_codec_decode(codec, 1, frame, - frame->size, &enc_frame); - if (status != PJ_SUCCESS) goto on_error; - - frame->size = frame_size; - status = pjmedia_converter_convert(port_data->conv, &enc_frame, frame); - if (status != PJ_SUCCESS) goto on_error; - - return PJ_SUCCESS; - } - - status = pjmedia_port_get_frame(port_data->src_port, &enc_frame); - if (status != PJ_SUCCESS) goto on_error; - - status = pjmedia_vid_codec_decode(codec, 1, &enc_frame, - frame->size, frame); - if (status != PJ_SUCCESS) goto on_error; - - return PJ_SUCCESS; - -on_error: - pj_perror(3, THIS_FILE, status, "codec_get_frame() error"); - return status; -} - -static int aviplay(pj_pool_t *pool, const char *fname) -{ - pjmedia_vid_port *renderer=NULL; - pjmedia_vid_port_param param; - const pjmedia_video_format_info *vfi; - pjmedia_video_format_detail *vfd; - pjmedia_snd_port *snd_port = NULL; - pj_status_t status; - int rc = 0; - pjmedia_avi_streams *avi_streams; - pjmedia_avi_stream *vid_stream, *aud_stream; - pjmedia_port *vid_port = NULL, *aud_port = NULL; - pjmedia_vid_codec *codec=NULL; - avi_port_t avi_port; - - pj_bzero(&avi_port, sizeof(avi_port)); - - status = pjmedia_avi_player_create_streams(pool, fname, 0, &avi_streams); - if (status != PJ_SUCCESS) { - PJ_PERROR(2,("", status, " Error playing %s", fname)); - rc = 210; goto on_return; - } - - vid_stream = pjmedia_avi_streams_get_stream_by_media(avi_streams, - 0, - PJMEDIA_TYPE_VIDEO); - vid_port = pjmedia_avi_stream_get_port(vid_stream); - - if (vid_port) { - pjmedia_vid_port_param_default(¶m); - - status = pjmedia_vid_dev_default_param(pool, - PJMEDIA_VID_DEFAULT_RENDER_DEV, - ¶m.vidparam); - if (status != PJ_SUCCESS) { - rc = 220; goto on_return; - } - - /* Create renderer, set it to active */ - param.active = PJ_TRUE; - param.vidparam.dir = PJMEDIA_DIR_RENDER; - vfd = pjmedia_format_get_video_format_detail(&vid_port->info.fmt, - PJ_TRUE); - pjmedia_format_init_video(¶m.vidparam.fmt, - vid_port->info.fmt.id, - vfd->size.w, vfd->size.h, - vfd->fps.num, vfd->fps.denum); - - vfi = pjmedia_get_video_format_info( - pjmedia_video_format_mgr_instance(), - vid_port->info.fmt.id); - /* Check whether the frame is encoded */ - if (!vfi || vfi->bpp == 0) { - /* Yes, prepare codec */ - pj_str_t codec_id_st; - unsigned info_cnt = 1, i, k; - const pjmedia_vid_codec_info *codec_info; - pj_str_t port_name = {"codec", 5}; - pj_uint8_t *enc_buf = NULL; - pj_size_t enc_buf_size = 0; - pjmedia_vid_dev_info rdr_info; - pjmedia_port codec_port; - codec_port_data_t codec_port_data; - pjmedia_vid_codec_param codec_param; - struct codec_fmt *codecp = NULL; - - /* Lookup codec */ - for (i = 0; i < sizeof(codec_fmts)/sizeof(codec_fmts[0]); i++) { - if (vid_port->info.fmt.id == codec_fmts[i].pjmedia_id) { - codecp = &codec_fmts[i]; - break; - } - } - if (!codecp) { - rc = 242; goto on_return; - } - pj_cstr(&codec_id_st, codecp->codec_id); - status = pjmedia_vid_codec_mgr_find_codecs_by_id(NULL, - &codec_id_st, - &info_cnt, - &codec_info, - NULL); - if (status != PJ_SUCCESS) { - rc = 245; goto on_return; - } - status = pjmedia_vid_codec_mgr_get_default_param(NULL, codec_info, - &codec_param); - if (status != PJ_SUCCESS) { - rc = 246; goto on_return; - } - - pjmedia_format_copy(&codec_param.enc_fmt, ¶m.vidparam.fmt); - - pjmedia_vid_dev_get_info(param.vidparam.rend_id, &rdr_info); - for (i=0; idec_fmt_id_cnt; ++i) { - for (k=0; kdec_fmt_id[i]==(int)rdr_info.fmt[k].id) - { - param.vidparam.fmt.id = codec_info->dec_fmt_id[i]; - i = codec_info->dec_fmt_id_cnt; - break; - } - } - } - - /* Open codec */ - status = pjmedia_vid_codec_mgr_alloc_codec(NULL, codec_info, - &codec); - if (status != PJ_SUCCESS) { - rc = 250; goto on_return; - } - - status = pjmedia_vid_codec_init(codec, pool); - if (status != PJ_SUCCESS) { - rc = 251; goto on_return; - } - - pjmedia_format_copy(&codec_param.dec_fmt, ¶m.vidparam.fmt); - codec_param.dir = PJMEDIA_DIR_DECODING; - codec_param.packing = PJMEDIA_VID_PACKING_WHOLE; - status = pjmedia_vid_codec_open(codec, &codec_param); - if (status != PJ_SUCCESS) { - rc = 252; goto on_return; - } - - /* Alloc encoding buffer */ - enc_buf_size = codec_param.dec_fmt.det.vid.size.w * - codec_param.dec_fmt.det.vid.size.h * 4 - + 16; /*< padding, just in case */ - enc_buf = pj_pool_alloc(pool,enc_buf_size); - - /* Init codec port */ - pj_bzero(&codec_port, sizeof(codec_port)); - status = pjmedia_port_info_init2(&codec_port.info, &port_name, - 0x1234, - PJMEDIA_DIR_ENCODING, - &codec_param.dec_fmt); - if (status != PJ_SUCCESS) { - rc = 260; goto on_return; - } - pj_bzero(&codec_port_data, sizeof(codec_port_data)); - codec_port_data.codec = codec; - codec_port_data.src_port = vid_port; - codec_port_data.enc_buf = enc_buf; - codec_port_data.enc_buf_size = enc_buf_size; - - codec_port.get_frame = &codec_get_frame; - codec_port.port_data.pdata = &codec_port_data; - - /* Check whether we need to convert the decoded frame */ - if (codecp->need_conversion) { - pjmedia_conversion_param conv_param; - - pjmedia_format_copy(&conv_param.src, ¶m.vidparam.fmt); - pjmedia_format_copy(&conv_param.dst, ¶m.vidparam.fmt); - conv_param.dst.id = codecp->dst_fmt; - param.vidparam.fmt.id = conv_param.dst.id; - - status = pjmedia_converter_create(NULL, pool, &conv_param, - &codec_port_data.conv); - if (status != PJ_SUCCESS) { - rc = 270; goto on_return; - } - } - - status = pjmedia_vid_port_create(pool, ¶m, &renderer); - if (status != PJ_SUCCESS) { - rc = 230; goto on_return; - } - - status = pjmedia_vid_port_connect(renderer, &codec_port, - PJ_FALSE); - } else { - status = pjmedia_vid_port_create(pool, ¶m, &renderer); - if (status != PJ_SUCCESS) { - rc = 230; goto on_return; - } - - /* Connect avi port to renderer */ - status = pjmedia_vid_port_connect(renderer, vid_port, - PJ_FALSE); - } - - if (status != PJ_SUCCESS) { - rc = 240; goto on_return; - } - } - - aud_stream = pjmedia_avi_streams_get_stream_by_media(avi_streams, - 0, - PJMEDIA_TYPE_AUDIO); - aud_port = pjmedia_avi_stream_get_port(aud_stream); - - if (aud_port) { - /* Create sound player port. */ - status = pjmedia_snd_port_create_player( - pool, /* pool */ - -1, /* use default dev. */ - PJMEDIA_PIA_SRATE(&aud_port->info),/* clock rate. */ - PJMEDIA_PIA_CCNT(&aud_port->info), /* # of channels. */ - PJMEDIA_PIA_SPF(&aud_port->info), /* samples per frame. */ - PJMEDIA_PIA_BITS(&aud_port->info), /* bits per sample. */ - 0, /* options */ - &snd_port /* returned port */ - ); - if (status != PJ_SUCCESS) { - rc = 310; goto on_return; - } - - /* Connect file port to the sound player. - * Stream playing will commence immediately. - */ - status = pjmedia_snd_port_connect(snd_port, aud_port); - if (status != PJ_SUCCESS) { - rc = 330; goto on_return; - } - } - - if (vid_port) { - pjmedia_vid_dev_cb cb; - - pj_bzero(&cb, sizeof(cb)); - avi_port.snd_port = snd_port; - avi_port.vid_port = renderer; - avi_port.is_running = PJ_TRUE; - pjmedia_vid_port_set_cb(renderer, &cb, &avi_port); - - /* subscribe events */ - pjmedia_event_subscribe(NULL, &avi_event_cb, &avi_port, - renderer); - - if (snd_port) { - /* Synchronize video rendering and audio playback */ - pjmedia_vid_port_set_clock_src( - renderer, - pjmedia_snd_port_get_clock_src( - snd_port, PJMEDIA_DIR_PLAYBACK)); - } - - - /* Start video streaming.. */ - status = pjmedia_vid_port_start(renderer); - if (status != PJ_SUCCESS) { - rc = 270; goto on_return; - } - } - - while (!avi_port.is_quitting) { - pj_thread_sleep(100); - } - -on_return: - if (snd_port) { - pjmedia_snd_port_disconnect(snd_port); - /* Without this sleep, Windows/DirectSound will repeteadly - * play the last frame during destroy. - */ - pj_thread_sleep(100); - pjmedia_snd_port_destroy(snd_port); - } - if (renderer) { - pjmedia_event_unsubscribe(NULL, &avi_event_cb, &avi_port, - renderer); - pjmedia_vid_port_destroy(renderer); - } - if (aud_port) - pjmedia_port_destroy(aud_port); - if (vid_port) - pjmedia_port_destroy(vid_port); - if (codec) { - pjmedia_vid_codec_close(codec); - pjmedia_vid_codec_mgr_dealloc_codec(NULL, codec); - } - - return rc; -} - - -static int main_func(int argc, char *argv[]) -{ - pj_caching_pool cp; - pj_pool_t *pool; - int rc = 0; - pj_status_t status = PJ_SUCCESS; - - if (argc != 2) { - puts("Error: filename required"); - puts(desc); - return 1; - } - - - /* Must init PJLIB first: */ - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&cp, &pj_pool_factory_default_policy, 0); - - /* Create memory pool for our file player */ - pool = pj_pool_create( &cp.factory, /* pool factory */ - "AVI", /* pool name. */ - 4000, /* init size */ - 4000, /* increment size */ - NULL /* callback on error */ - ); - - pjmedia_video_format_mgr_create(pool, 64, 0, NULL); - pjmedia_converter_mgr_create(pool, NULL); - pjmedia_event_mgr_create(pool, 0, NULL); - pjmedia_vid_codec_mgr_create(pool, NULL); - - status = pjmedia_vid_dev_subsys_init(&cp.factory); - if (status != PJ_SUCCESS) - goto on_return; - - status = pjmedia_aud_subsys_init(&cp.factory); - if (status != PJ_SUCCESS) { - goto on_return; - } - -#if PJMEDIA_HAS_FFMPEG_VID_CODEC - status = pjmedia_codec_ffmpeg_vid_init(NULL, &cp.factory); - if (status != PJ_SUCCESS) - goto on_return; -#endif - - rc = aviplay(pool, argv[1]); - - /* - * File should be playing and looping now - */ - - /* Without this sleep, Windows/DirectSound will repeteadly - * play the last frame during destroy. - */ - pj_thread_sleep(100); - -on_return: -#if PJMEDIA_HAS_FFMPEG_VID_CODEC - pjmedia_codec_ffmpeg_vid_deinit(); -#endif - pjmedia_aud_subsys_shutdown(); - pjmedia_vid_dev_subsys_shutdown(); - - pjmedia_video_format_mgr_destroy(pjmedia_video_format_mgr_instance()); - pjmedia_converter_mgr_destroy(pjmedia_converter_mgr_instance()); - pjmedia_event_mgr_destroy(pjmedia_event_mgr_instance()); - pjmedia_vid_codec_mgr_destroy(pjmedia_vid_codec_mgr_instance()); - - /* Release application pool */ - pj_pool_release( pool ); - - /* Destroy pool factory */ - pj_caching_pool_destroy( &cp ); - - /* Shutdown PJLIB */ - pj_shutdown(); - - /* Done. */ - return 0; -} - -int main(int argc, char *argv[]) -{ - return pj_run_app(&main_func, argc, argv, 0); -} - -#else - -int main(int argc, char *argv[]) -{ - PJ_UNUSED_ARG(argc); - PJ_UNUSED_ARG(argv); - puts("Error: this sample requires video capability (PJMEDIA_HAS_VIDEO == 1)"); - return -1; -} - -#endif /* PJMEDIA_HAS_VIDEO */ diff --git a/res/pjproject/pjsip-apps/src/samples/confbench.c b/res/pjproject/pjsip-apps/src/samples/confbench.c deleted file mode 100644 index db9cd55f08..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/confbench.c +++ /dev/null @@ -1,347 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - - -/** - * \page page_pjmedia_samples_confbench_c Samples: Benchmarking Conference Bridge - * - * Benchmarking pjmedia (conference bridge+resample). For my use only, - * and it only works in Win32. - * - * This file is pjsip-apps/src/samples/confbench.c - * - * \includelineno confbench.c - */ - - -#include -#include /* pj_getopt */ -#include -#include /* atoi() */ -#include -#include - -/* For logging purpose. */ -#define THIS_FILE "confsample.c" - - -/* Configurable: - * LARGE_SET will create in total of about 232 ports. - * HAS_RESAMPLE will activate resampling on about half - * the port. - */ -#define TEST_SET LARGE_SET -#define HAS_RESAMPLE 0 - - -#define SMALL_SET 16 -#define LARGE_SET 100 - - -#define PORT_COUNT 254 -#define CLOCK_RATE 16000 -#define SAMPLES_PER_FRAME (CLOCK_RATE/100) -#if HAS_RESAMPLE -# define SINE_CLOCK 32000 -#else -# define SINE_CLOCK CLOCK_RATE -#endif -#define SINE_PTIME 20 -#define DURATION 10 - -#define SINE_COUNT TEST_SET -#define NULL_COUNT TEST_SET -#define IDLE_COUNT 32 - - -static void app_perror(const char *sender, const char *title, pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(1,(sender, "%s: %s", title, errmsg)); -} - - -struct Times -{ - FILETIME kernel_time; - ULARGE_INTEGER u_kernel_time; - FILETIME user_time; - ULARGE_INTEGER u_user_time; - ULARGE_INTEGER u_total; -}; - -static void process(struct Times *t) -{ - pj_memcpy(&t->u_kernel_time, &t->kernel_time, sizeof(FILETIME)); - pj_memcpy(&t->u_user_time, &t->user_time, sizeof(FILETIME)); - t->u_total.QuadPart = t->u_kernel_time.QuadPart + t->u_user_time.QuadPart; -} - -static void benchmark(void) -{ - FILETIME creation_time, exit_time; - struct Times start, end; - DWORD ts, te; - LARGE_INTEGER elapsed; - BOOL rc; - int i; - double pct; - - puts("Test started!"); fflush(stdout); - - ts = GetTickCount(); - rc = GetProcessTimes(GetCurrentProcess(), &creation_time, &exit_time, - &start.kernel_time, &start.user_time); - for (i=DURATION; i>0; --i) { - printf("\r%d ", i); fflush(stdout); - pj_thread_sleep(1000); - } - rc = GetProcessTimes(GetCurrentProcess(), &creation_time, &exit_time, - &end.kernel_time, &end.user_time); - te = GetTickCount(); - - process(&start); - process(&end); - - elapsed.QuadPart = end.u_total.QuadPart - start.u_total.QuadPart; - - pct = elapsed.QuadPart * 100.0 / ((te-ts)*10000.0); - - printf("CPU usage=%6.4f%%\n", pct); fflush(stdout); -} - - - -/* Struct attached to sine generator */ -typedef struct -{ - pj_int16_t *samples; /* Sine samples. */ -} port_data; - - -/* This callback is called to feed more samples */ -static pj_status_t sine_get_frame( pjmedia_port *port, - pjmedia_frame *frame) -{ - port_data *sine = port->port_data.pdata; - pj_int16_t *samples = frame->buf; - unsigned i, count, left, right; - - /* Get number of samples */ - count = frame->size / 2 / PJMEDIA_PIA_CCNT(&port->info); - - left = 0; - right = 0; - - for (i=0; isamples[left]; - ++left; - - if (PJMEDIA_PIA_CCNT(&port->info) == 2) { - *samples++ = sine->samples[right]; - right += 2; /* higher pitch so we can distinguish left and right. */ - if (right >= count) - right = 0; - } - } - - /* Must set frame->type correctly, otherwise the sound device - * will refuse to play. - */ - frame->type = PJMEDIA_FRAME_TYPE_AUDIO; - - return PJ_SUCCESS; -} - -#ifndef M_PI -#define M_PI (3.14159265) -#endif - -/* - * Create a media port to generate sine wave samples. - */ -static pj_status_t create_sine_port(pj_pool_t *pool, - unsigned sampling_rate, - unsigned channel_count, - pjmedia_port **p_port) -{ - pjmedia_port *port; - unsigned i; - unsigned count; - pj_str_t port_name; - port_data *sine; - - PJ_ASSERT_RETURN(pool && channel_count > 0 && channel_count <= 2, - PJ_EINVAL); - - port = pj_pool_zalloc(pool, sizeof(pjmedia_port)); - PJ_ASSERT_RETURN(port != NULL, PJ_ENOMEM); - - /* Fill in port info. */ - port_name = pj_str("sine generator"); - pjmedia_port_info_init(&port->info, &port_name, - 12345, sampling_rate, channel_count, 16, - sampling_rate * SINE_PTIME / 1000 * channel_count); - - /* Set the function to feed frame */ - port->get_frame = &sine_get_frame; - - /* Create sine port data */ - port->port_data.pdata = sine = pj_pool_zalloc(pool, sizeof(port_data)); - - /* Create samples */ - count = PJMEDIA_PIA_SPF(&port->info) / channel_count; - sine->samples = pj_pool_alloc(pool, count * sizeof(pj_int16_t)); - PJ_ASSERT_RETURN(sine->samples != NULL, PJ_ENOMEM); - - /* initialise sinusoidal wavetable */ - for( i=0; isamples[i] = (pj_int16_t) (10000.0 * - sin(((double)i/(double)count) * M_PI * 8.) ); - } - - *p_port = port; - - return PJ_SUCCESS; -} - -int main() -{ - pj_caching_pool cp; - pjmedia_endpt *med_endpt; - pj_pool_t *pool; - pjmedia_conf *conf; - int i; - pjmedia_port *sine_port[SINE_COUNT], *null_port, *conf_port; - pjmedia_port *nulls[NULL_COUNT]; - unsigned null_slots[NULL_COUNT]; - pjmedia_master_port *master_port; - pj_status_t status; - - - pj_log_set_level(3); - - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - pj_caching_pool_init(&cp, &pj_pool_factory_default_policy, 0); - pool = pj_pool_create( &cp.factory, /* pool factory */ - "wav", /* pool name. */ - 4000, /* init size */ - 4000, /* increment size */ - NULL /* callback on error */ - ); - - status = pjmedia_endpt_create(&cp.factory, NULL, 1, &med_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - - status = pjmedia_conf_create( pool, - PORT_COUNT, - CLOCK_RATE, - 1, SAMPLES_PER_FRAME, 16, - PJMEDIA_CONF_NO_DEVICE, - &conf); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to create conference bridge", status); - return 1; - } - - printf("Resampling is %s\n", (HAS_RESAMPLE?"active":"disabled")); - - /* Create Null ports */ - printf("Creating %d null ports..\n", NULL_COUNT); - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include -#include /* pj_getopt */ -#include - -#include /* atoi() */ -#include - -#include "util.h" - -/** - * \page page_pjmedia_samples_confsample_c Samples: Using Conference Bridge - * - * Sample to mix multiple files in the conference bridge and play the - * result to sound device. - * - * This file is pjsip-apps/src/samples/confsample.c - * - * \includelineno confsample.c - */ - - -/* For logging purpose. */ -#define THIS_FILE "confsample.c" - - -/* Shall we put recorder in the conference */ -#define RECORDER 1 - - -static const char *desc = - " FILE: \n" - " \n" - " confsample.c \n" - " \n" - " PURPOSE: \n" - " \n" - " Demonstrate how to use conference bridge. \n" - " \n" - " USAGE: \n" - " \n" - " confsample [options] [file1.wav] [file2.wav] ... \n" - " \n" - " options: \n" - SND_USAGE - " \n" - " fileN.wav are optional WAV files to be connected to the conference \n" - " bridge. The WAV files MUST have single channel (mono) and 16 bit PCM \n" - " samples. It can have arbitrary sampling rate. \n" - " \n" - " DESCRIPTION: \n" - " \n" - " Here we create a conference bridge, with at least one port (port zero \n" - " is always created for the sound device). \n" - " \n" - " If WAV files are specified, the WAV file player ports will be connected \n" - " to slot starting from number one in the bridge. The WAV files can have \n" - " arbitrary sampling rate; the bridge will convert it to its clock rate. \n" - " However, the files MUST have a single audio channel only (i.e. mono). \n"; - - - -/* - * Prototypes: - */ - -/* List the ports in the conference bridge */ -static void conf_list(pjmedia_conf *conf, pj_bool_t detail); - -/* Display VU meter */ -static void monitor_level(pjmedia_conf *conf, int slot, int dir, int dur); - - -/* Show usage */ -static void usage(void) -{ - puts(""); - puts(desc); -} - - - -/* Input simple string */ -static pj_bool_t input(const char *title, char *buf, pj_size_t len) -{ - char *p; - - printf("%s (empty to cancel): ", title); fflush(stdout); - if (fgets(buf, len, stdin) == NULL) - return PJ_FALSE; - - /* Remove trailing newlines. */ - for (p=buf; ; ++p) { - if (*p=='\r' || *p=='\n') *p='\0'; - else if (!*p) break; - } - - if (!*buf) - return PJ_FALSE; - - return PJ_TRUE; -} - - -/***************************************************************************** - * main() - */ -int main(int argc, char *argv[]) -{ - int dev_id = -1; - int clock_rate = CLOCK_RATE; - int channel_count = NCHANNELS; - int samples_per_frame = NSAMPLES; - int bits_per_sample = NBITS; - - pj_caching_pool cp; - pjmedia_endpt *med_endpt; - pj_pool_t *pool; - pjmedia_conf *conf; - - int i, port_count, file_count; - pjmedia_port **file_port; /* Array of file ports */ - pjmedia_port *rec_port = NULL; /* Wav writer port */ - - char tmp[10]; - pj_status_t status; - - - /* Must init PJLIB first: */ - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Get command line options. */ - if (get_snd_options(THIS_FILE, argc, argv, &dev_id, &clock_rate, - &channel_count, &samples_per_frame, &bits_per_sample)) - { - usage(); - return 1; - } - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&cp, &pj_pool_factory_default_policy, 0); - - /* - * Initialize media endpoint. - * This will implicitly initialize PJMEDIA too. - */ - status = pjmedia_endpt_create(&cp.factory, NULL, 1, &med_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Create memory pool to allocate memory */ - pool = pj_pool_create( &cp.factory, /* pool factory */ - "wav", /* pool name. */ - 4000, /* init size */ - 4000, /* increment size */ - NULL /* callback on error */ - ); - - - file_count = argc - pj_optind; - port_count = file_count + 1 + RECORDER; - - /* Create the conference bridge. - * With default options (zero), the bridge will create an instance of - * sound capture and playback device and connect them to slot zero. - */ - status = pjmedia_conf_create( pool, /* pool to use */ - port_count,/* number of ports */ - clock_rate, - channel_count, - samples_per_frame, - bits_per_sample, - 0, /* options */ - &conf /* result */ - ); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to create conference bridge", status); - return 1; - } - -#if RECORDER - status = pjmedia_wav_writer_port_create( pool, "confrecord.wav", - clock_rate, channel_count, - samples_per_frame, - bits_per_sample, 0, 0, - &rec_port); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to create WAV writer", status); - return 1; - } - - pjmedia_conf_add_port(conf, pool, rec_port, NULL, NULL); -#endif - - - /* Create file ports. */ - file_port = pj_pool_alloc(pool, file_count * sizeof(pjmedia_port*)); - - for (i=0; i= port_count) { - puts("Invalid slot number"); - continue; - } - - if (!input("Enter destination port number", tmp2, sizeof(tmp2)) ) - continue; - dst = strtol(tmp2, &err, 10); - if (*err || dst < 0 || dst >= port_count) { - puts("Invalid slot number"); - continue; - } - - status = pjmedia_conf_connect_port(conf, src, dst, 0); - if (status != PJ_SUCCESS) - app_perror(THIS_FILE, "Error connecting port", status); - - break; - - case 'd': - puts(""); - puts("Disconnect port connection"); - if (!input("Enter source port number", tmp1, sizeof(tmp1)) ) - continue; - src = strtol(tmp1, &err, 10); - if (*err || src < 0 || src >= port_count) { - puts("Invalid slot number"); - continue; - } - - if (!input("Enter destination port number", tmp2, sizeof(tmp2)) ) - continue; - dst = strtol(tmp2, &err, 10); - if (*err || dst < 0 || dst >= port_count) { - puts("Invalid slot number"); - continue; - } - - status = pjmedia_conf_disconnect_port(conf, src, dst); - if (status != PJ_SUCCESS) - app_perror(THIS_FILE, "Error connecting port", status); - - - break; - - case 't': - puts(""); - puts("Adjust transmit level of a port"); - if (!input("Enter port number", tmp1, sizeof(tmp1)) ) - continue; - src = strtol(tmp1, &err, 10); - if (*err || src < 0 || src >= port_count) { - puts("Invalid slot number"); - continue; - } - - if (!input("Enter level (-128 to >127, 0 for normal)", - tmp2, sizeof(tmp2)) ) - continue; - level = strtol(tmp2, &err, 10); - if (*err || level < -128) { - puts("Invalid level"); - continue; - } - - status = pjmedia_conf_adjust_tx_level( conf, src, level); - if (status != PJ_SUCCESS) - app_perror(THIS_FILE, "Error adjusting level", status); - break; - - - case 'r': - puts(""); - puts("Adjust receive level of a port"); - if (!input("Enter port number", tmp1, sizeof(tmp1)) ) - continue; - src = strtol(tmp1, &err, 10); - if (*err || src < 0 || src >= port_count) { - puts("Invalid slot number"); - continue; - } - - if (!input("Enter level (-128 to >127, 0 for normal)", - tmp2, sizeof(tmp2)) ) - continue; - level = strtol(tmp2, &err, 10); - if (*err || level < -128) { - puts("Invalid level"); - continue; - } - - status = pjmedia_conf_adjust_rx_level( conf, src, level); - if (status != PJ_SUCCESS) - app_perror(THIS_FILE, "Error adjusting level", status); - break; - - case 'v': - puts(""); - puts("Display VU meter"); - if (!input("Enter port number to monitor", tmp1, sizeof(tmp1)) ) - continue; - src = strtol(tmp1, &err, 10); - if (*err || src < 0 || src >= port_count) { - puts("Invalid slot number"); - continue; - } - - if (!input("Enter r for rx level or t for tx level", tmp2, sizeof(tmp2))) - continue; - if (tmp2[0] != 'r' && tmp2[0] != 't') { - puts("Invalid option"); - continue; - } - - if (!input("Duration to monitor (in seconds)", tmp1, sizeof(tmp1)) ) - continue; - dur = strtol(tmp1, &err, 10); - if (*err) { - puts("Invalid duration number"); - continue; - } - - monitor_level(conf, src, tmp2[0], dur); - break; - - case 'q': - goto on_quit; - - default: - printf("Invalid input character '%c'\n", tmp[0]); - break; - } - } - -on_quit: - - /* Start deinitialization: */ - - /* Destroy conference bridge */ - status = pjmedia_conf_destroy( conf ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* Destroy file ports */ - for (i=0; ilistener_cnt; ++j) { - char s[10]; - pj_ansi_sprintf(s, "#%d ", port_info->listener_slots[j]); - pj_ansi_strcat(txlist, s); - - } - - if (txlist[0] == '\0') { - txlist[0] = '-'; - txlist[1] = '\0'; - } - - if (!detail) { - printf("Port #%02d %-25.*s transmitting to: %s\n", - port_info->slot, - (int)port_info->name.slen, - port_info->name.ptr, - txlist); - } else { - unsigned tx_level, rx_level; - - pjmedia_conf_get_signal_level(conf, port_info->slot, - &tx_level, &rx_level); - - printf("Port #%02d:\n" - " Name : %.*s\n" - " Sampling rate : %d Hz\n" - " Samples per frame : %d\n" - " Frame time : %d ms\n" - " Signal level adjustment : tx=%d, rx=%d\n" - " Current signal level : tx=%u, rx=%u\n" - " Transmitting to ports : %s\n\n", - port_info->slot, - (int)port_info->name.slen, - port_info->name.ptr, - port_info->clock_rate, - port_info->samples_per_frame, - port_info->samples_per_frame*1000/port_info->clock_rate, - port_info->tx_adj_level, - port_info->rx_adj_level, - tx_level, - rx_level, - txlist); - } - - } - puts(""); -} - - -/* - * Display VU meter - */ -static void monitor_level(pjmedia_conf *conf, int slot, int dir, int dur) -{ - enum { SLEEP = 20, SAMP_CNT = 2}; - pj_status_t status; - int i, total_count; - unsigned level, samp_cnt; - - - puts(""); - printf("Displaying VU meter for port %d for about %d seconds\n", - slot, dur); - - total_count = dur * 1000 / SLEEP; - - level = 0; - samp_cnt = 0; - - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * PURPOSE: - * The purpose of this file is to allow debugging of a sample application - * using MSVC IDE. - */ - -/* To debug a sample application, include the source file here. - * E.g.: - * #include "playfile.c" - */ -#include "icedemo.c" - diff --git a/res/pjproject/pjsip-apps/src/samples/encdec.c b/res/pjproject/pjsip-apps/src/samples/encdec.c deleted file mode 100644 index 117497b9af..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/encdec.c +++ /dev/null @@ -1,263 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - - /** - * \page page_pjmedia_samples_encdec_c Samples: Encoding and Decoding - * - * This sample shows how to use codec. - * - * This file is pjsip-apps/src/samples/encdec.c - * - * \includelineno encdec.c - */ - -#include -#include -#include - -#define THIS_FILE "encdec.c" - -static const char *desc = - " encdec \n" - " \n" - " PURPOSE: \n" - " Encode input WAV with a codec, and decode the result to another WAV \n" - "\n" - "\n" - " USAGE: \n" - " encdec codec input.wav output.wav \n" - "\n" - "\n" - " where:\n" - " codec Set the codec name. \n" - " input.wav Set the input WAV filename. \n" - " output.wav Set the output WAV filename. \n" - - "\n" -; - -//#undef PJ_TRACE -//#define PJ_TRACE 1 - -#ifndef PJ_TRACE -# define PJ_TRACE 0 -#endif - -#if PJ_TRACE -# define TRACE_(expr) PJ_LOG(4,expr) -#else -# define TRACE_(expr) -#endif - - -static void err(const char *op, pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(3,("", "%s error: %s", op, errmsg)); -} - -#define CHECK(op) do { \ - status = op; \ - if (status != PJ_SUCCESS) { \ - err(#op, status); \ - return status; \ - } \ - } \ - while (0) - -static pjmedia_endpt *mept; -static unsigned file_msec_duration; - -static pj_status_t enc_dec_test(const char *codec_id, - const char *filein, - const char *fileout) -{ - pj_pool_t *pool; - pjmedia_codec_mgr *cm; - pjmedia_codec *codec; - const pjmedia_codec_info *pci; - pjmedia_codec_param param; - unsigned cnt, samples_per_frame; - pj_str_t tmp; - pjmedia_port *wavin, *wavout; - unsigned lost_pct; - pj_status_t status; - -#define T file_msec_duration/1000, file_msec_duration%1000 - - pool = pjmedia_endpt_create_pool(mept, "encdec", 1000, 1000); - - cm = pjmedia_endpt_get_codec_mgr(mept); - -#ifdef LOST_PCT - lost_pct = LOST_PCT; -#else - lost_pct = 0; -#endif - - cnt = 1; - CHECK( pjmedia_codec_mgr_find_codecs_by_id(cm, pj_cstr(&tmp, codec_id), - &cnt, &pci, NULL) ); - CHECK( pjmedia_codec_mgr_get_default_param(cm, pci, ¶m) ); - - samples_per_frame = param.info.clock_rate * param.info.frm_ptime / 1000; - - /* Control VAD */ - param.setting.vad = 1; - - /* Open wav for reading */ - CHECK( pjmedia_wav_player_port_create(pool, filein, - param.info.frm_ptime, - PJMEDIA_FILE_NO_LOOP, 0, &wavin) ); - - /* Open wav for writing */ - CHECK( pjmedia_wav_writer_port_create(pool, fileout, - param.info.clock_rate, - param.info.channel_cnt, - samples_per_frame, - 16, 0, 0, &wavout) ); - - /* Alloc codec */ - CHECK( pjmedia_codec_mgr_alloc_codec(cm, pci, &codec) ); - CHECK( pjmedia_codec_init(codec, pool) ); - CHECK( pjmedia_codec_open(codec, ¶m) ); - - for (;;) { - pjmedia_frame frm_pcm, frm_bit, out_frm, frames[4]; - pj_int16_t pcmbuf[320]; - pj_timestamp ts; - pj_uint8_t bitstream[160]; - - frm_pcm.buf = (char*)pcmbuf; - frm_pcm.size = samples_per_frame * 2; - - /* Read from WAV */ - if (pjmedia_port_get_frame(wavin, &frm_pcm) != PJ_SUCCESS) - break; - if (frm_pcm.type != PJMEDIA_FRAME_TYPE_AUDIO) - break;; - - /* Update duration */ - file_msec_duration += samples_per_frame * 1000 / - param.info.clock_rate; - - /* Encode */ - frm_bit.buf = bitstream; - frm_bit.size = sizeof(bitstream); - CHECK(pjmedia_codec_encode(codec, &frm_pcm, sizeof(bitstream), - &frm_bit)); - - /* On DTX, write zero frame to wavout to maintain duration */ - if (frm_bit.size == 0 || frm_bit.type != PJMEDIA_FRAME_TYPE_AUDIO) { - out_frm.buf = (char*)pcmbuf; - out_frm.size = 160; - CHECK( pjmedia_port_put_frame(wavout, &out_frm) ); - TRACE_((THIS_FILE, "%d.%03d read: %u, enc: %u", - T, frm_pcm.size, frm_bit.size)); - continue; - } - - /* Parse the bitstream (not really necessary for this case - * since we always decode 1 frame, but it's still good - * for testing) - */ - ts.u64 = 0; - cnt = PJ_ARRAY_SIZE(frames); - CHECK( pjmedia_codec_parse(codec, bitstream, frm_bit.size, &ts, &cnt, - frames) ); - CHECK( (cnt==1 ? PJ_SUCCESS : -1) ); - - /* Decode or simulate packet loss */ - out_frm.buf = (char*)pcmbuf; - out_frm.size = sizeof(pcmbuf); - - if ((pj_rand() % 100) < (int)lost_pct) { - /* Simulate loss */ - CHECK( pjmedia_codec_recover(codec, sizeof(pcmbuf), &out_frm) ); - TRACE_((THIS_FILE, "%d.%03d Packet lost", T)); - } else { - /* Decode */ - CHECK( pjmedia_codec_decode(codec, &frames[0], sizeof(pcmbuf), - &out_frm) ); - } - - /* Write to WAV */ - CHECK( pjmedia_port_put_frame(wavout, &out_frm) ); - - TRACE_((THIS_FILE, "%d.%03d read: %u, enc: %u, dec/write: %u", - T, frm_pcm.size, frm_bit.size, out_frm.size)); - } - - /* Close wavs */ - pjmedia_port_destroy(wavout); - pjmedia_port_destroy(wavin); - - /* Close codec */ - pjmedia_codec_close(codec); - pjmedia_codec_mgr_dealloc_codec(cm, codec); - - /* Release pool */ - pj_pool_release(pool); - - return PJ_SUCCESS; -} - - -int main(int argc, char *argv[]) -{ - pj_caching_pool cp; - pj_time_val t0, t1; - pj_status_t status; - - if (argc != 4) { - puts(desc); - return 1; - } - - CHECK( pj_init() ); - - pj_caching_pool_init(&cp, NULL, 0); - - CHECK( pjmedia_endpt_create(&cp.factory, NULL, 1, &mept) ); - - /* Register all codecs */ - CHECK( pjmedia_codec_register_audio_codecs(mept, NULL) ); - - pj_gettimeofday(&t0); - status = enc_dec_test(argv[1], argv[2], argv[3]); - pj_gettimeofday(&t1); - PJ_TIME_VAL_SUB(t1, t0); - - pjmedia_endpt_destroy(mept); - pj_caching_pool_destroy(&cp); - pj_shutdown(); - - if (status == PJ_SUCCESS) { - puts(""); - puts("Success"); - printf("Duration: %ds.%03d\n", file_msec_duration/1000, - file_msec_duration%1000); - printf("Time: %lds.%03ld\n", t1.sec, t1.msec); - } - - return 0; -} - diff --git a/res/pjproject/pjsip-apps/src/samples/footprint.c b/res/pjproject/pjsip-apps/src/samples/footprint.c deleted file mode 100644 index 9b66687477..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/footprint.c +++ /dev/null @@ -1,654 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/** - * The purpose of this file is to show the typical footprint of - * the application when various PJSIP/PJMEDIA components are used. - * - * This file will not be build as samples, but instead it is build - * by get-footprint.py Python script in pjsip-apps/build directory. - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* All flags: */ -#if 0 -#define HAS_PJLIB - -#define HAS_PJLIB_STUN -#define HAS_PJLIB_GETOPT -#define HAS_PJLIB_XML -#define HAS_PJLIB_SCANNER -#define HAS_PJLIB_DNS -#define HAS_PJLIB_RESOLVER -#define HAS_PJLIB_SRV_RESOLVER - -#define HAS_PJLIB_CRC32 -#define HAS_PJLIB_HMAC_MD5 -#define HAS_PJLIB_HMAC_SHA1 - -#define HAS_PJSIP_CORE_MSG_ELEM -#define HAS_PJSIP_CORE -#define HAS_PJSIP_CORE_MSG_UTIL - -#define HAS_PJSIP_UDP_TRANSPORT -#define HAS_PJSIP_TCP_TRANSPORT -#define HAS_PJSIP_TLS_TRANSPORT -#define HAS_PJSIP_TRANSACTION -#define HAS_PJSIP_UA_LAYER -#define HAS_PJMEDIA_SDP -#define HAS_PJMEDIA_SDP_NEGOTIATOR -#define HAS_PJSIP_AUTH_CLIENT -#define HAS_PJSIP_INV_SESSION -#define HAS_PJSIP_REGC -#define HAS_PJSIP_EVENT_FRAMEWORK -#define HAS_PJSIP_CALL_TRANSFER -#define HAS_PJSIP_PRESENCE -#define HAS_PJSIP_IS_COMPOSING - -#define HAS_PJNATH_STUN -#define HAS_PJNATH_ICE - -#define HAS_PJMEDIA -#define HAS_PJMEDIA_SND_DEV -#define HAS_PJMEDIA_EC -#define HAS_PJMEDIA_SND_PORT -#define HAS_PJMEDIA_RESAMPLE -#define HAS_PJMEDIA_SILENCE_DET -#define HAS_PJMEDIA_PLC -#define HAS_PJMEDIA_CONFERENCE -#define HAS_PJMEDIA_MASTER_PORT -#define HAS_PJMEDIA_RTP -#define HAS_PJMEDIA_RTCP -#define HAS_PJMEDIA_JBUF -#define HAS_PJMEDIA_STREAM -#define HAS_PJMEDIA_TONEGEN -#define HAS_PJMEDIA_UDP_TRANSPORT -#define HAS_PJMEDIA_FILE_PLAYER -#define HAS_PJMEDIA_FILE_CAPTURE -#define HAS_PJMEDIA_MEM_PLAYER -#define HAS_PJMEDIA_MEM_CAPTURE -#define HAS_PJMEDIA_ICE - -#define HAS_PJMEDIA_G711_CODEC -#define HAS_PJMEDIA_GSM_CODEC -#define HAS_PJMEDIA_SPEEX_CODEC -#define HAS_PJMEDIA_ILBC_CODEC -#endif - - -int dummy_function() -{ - pj_caching_pool cp; - - sprintf(NULL, "%d", 0); - rand(); - -#ifdef HAS_PJLIB - pj_init(); - pj_caching_pool_init(&cp, NULL, 0); - pj_array_erase(NULL, 0, 0, 0); - pj_create_unique_string(NULL, NULL); - pj_hash_create(NULL, 0); - pj_hash_get(NULL, NULL, 0, NULL); - pj_hash_set(NULL, NULL, NULL, 0, 0, NULL); - pj_ioqueue_create(NULL, 0, NULL); - pj_ioqueue_register_sock(NULL, NULL, 0, NULL, NULL, NULL); - pj_pool_alloc(NULL, 0); - pj_timer_heap_create(NULL, 0, NULL); -#endif - -#ifdef HAS_PJLIB_STUN - pjstun_get_mapped_addr(&cp.factory, 0, NULL, NULL, 80, NULL, 80, NULL); -#endif - -#ifdef HAS_PJLIB_GETOPT - pj_getopt_long(0, NULL, NULL, NULL, NULL); -#endif - -#ifdef HAS_PJLIB_XML - pj_xml_parse(NULL, NULL, 100); - pj_xml_print(NULL, NULL, 10, PJ_FALSE); - pj_xml_clone(NULL, NULL); - pj_xml_node_new(NULL, NULL); - pj_xml_attr_new(NULL, NULL, NULL); - pj_xml_add_node(NULL, NULL); - pj_xml_add_attr(NULL, NULL); - pj_xml_find_node(NULL, NULL); - pj_xml_find_next_node(NULL, NULL, NULL); - pj_xml_find_attr(NULL, NULL, NULL); - pj_xml_find(NULL, NULL, NULL, NULL); -#endif - -#ifdef HAS_PJLIB_SCANNER - pj_cis_buf_init(NULL); - pj_cis_init(NULL, NULL); - pj_cis_dup(NULL, NULL); - pj_cis_add_alpha(NULL); - pj_cis_add_str(NULL, NULL); - - pj_scan_init(NULL, NULL, 0, 0, NULL); - pj_scan_fini(NULL); - pj_scan_peek(NULL, NULL, NULL); - pj_scan_peek_n(NULL, 0, NULL); - pj_scan_peek_until(NULL, NULL, NULL); - pj_scan_get(NULL, NULL, NULL); - pj_scan_get_unescape(NULL, NULL, NULL); - pj_scan_get_quote(NULL, 0, 0, NULL); - pj_scan_get_n(NULL, 0, NULL); - pj_scan_get_char(NULL); - pj_scan_get_until(NULL, NULL, NULL); - pj_scan_strcmp(NULL, NULL, 0); - pj_scan_stricmp(NULL, NULL, 0); - pj_scan_stricmp_alnum(NULL, NULL, 0); - pj_scan_get_newline(NULL); - pj_scan_restore_state(NULL, NULL); -#endif - -#ifdef HAS_PJLIB_DNS - pj_dns_make_query(NULL, NULL, 0, 0, NULL); - pj_dns_parse_packet(NULL, NULL, 0, NULL); - pj_dns_packet_dup(NULL, NULL, 0, NULL); -#endif - -#ifdef HAS_PJLIB_RESOLVER - pj_dns_resolver_create(NULL, NULL, 0, NULL, NULL, NULL); - pj_dns_resolver_set_ns(NULL, 0, NULL, NULL); - pj_dns_resolver_handle_events(NULL, NULL); - pj_dns_resolver_destroy(NULL, 0); - pj_dns_resolver_start_query(NULL, NULL, 0, 0, NULL, NULL, NULL); - pj_dns_resolver_cancel_query(NULL, 0); - pj_dns_resolver_add_entry(NULL, NULL, 0); -#endif - -#ifdef HAS_PJLIB_SRV_RESOLVER - pj_dns_srv_resolve(NULL, NULL, 0, NULL, NULL, PJ_FALSE, NULL, NULL); -#endif - -#ifdef HAS_PJLIB_CRC32 - pj_crc32_init(NULL); - pj_crc32_update(NULL, NULL, 0); - pj_crc32_final(NULL); -#endif - -#ifdef HAS_PJLIB_HMAC_MD5 - pj_hmac_md5(NULL, 0, NULL, 0, NULL); -#endif - -#ifdef HAS_PJLIB_HMAC_SHA1 - pj_hmac_sha1(NULL, 0, NULL, 0, NULL); -#endif - -#ifdef HAS_PJNATH_STUN - pj_stun_session_create(NULL, NULL, NULL, PJ_FALSE, NULL); - pj_stun_session_destroy(NULL); - pj_stun_session_set_credential(NULL, NULL); - pj_stun_session_create_req(NULL, 0, NULL, NULL); - pj_stun_session_create_ind(NULL, 0, NULL); - pj_stun_session_create_res(NULL, NULL, 0, NULL, NULL); - pj_stun_session_send_msg(NULL, PJ_FALSE, NULL, 0, NULL); -#endif - -#ifdef HAS_PJNATH_ICE - pj_ice_strans_create(NULL, NULL, 0, NULL, NULL, NULL); - pj_ice_strans_set_stun_domain(NULL, NULL, NULL); - pj_ice_strans_create_comp(NULL, 0, 0, NULL); - pj_ice_strans_add_cand(NULL, 0, PJ_ICE_CAND_TYPE_HOST, 0, NULL, PJ_FALSE); - pj_ice_strans_init_ice(NULL, PJ_ICE_SESS_ROLE_CONTROLLED, NULL, NULL); - pj_ice_strans_start_ice(NULL, NULL, NULL, 0, NULL); - pj_ice_strans_stop_ice(NULL); - pj_ice_strans_sendto(NULL, 0, NULL, 0, NULL, 0); -#endif - -#ifdef HAS_PJSIP_CORE_MSG_ELEM - /* Parameter container */ - pjsip_param_find(NULL, NULL); - pjsip_param_print_on(NULL, NULL, 0, NULL, NULL, 0); - - /* SIP URI */ - pjsip_sip_uri_create(NULL, 0); - pjsip_name_addr_create(NULL); - - /* TEL URI */ - pjsip_tel_uri_create(NULL); - - /* Message and headers */ - pjsip_msg_create(NULL, PJSIP_REQUEST_MSG); - pjsip_msg_print(NULL, NULL, 0); - pjsip_accept_hdr_create(NULL); - pjsip_allow_hdr_create(NULL); - pjsip_cid_hdr_create(NULL); - pjsip_clen_hdr_create(NULL); - pjsip_cseq_hdr_create(NULL); - pjsip_contact_hdr_create(NULL); - pjsip_ctype_hdr_create(NULL); - pjsip_expires_hdr_create(NULL, 0); - pjsip_from_hdr_create(NULL); - pjsip_max_fwd_hdr_create(NULL, 0); - pjsip_min_expires_hdr_create(NULL, 0); - pjsip_rr_hdr_create(NULL); - pjsip_require_hdr_create(NULL); - pjsip_retry_after_hdr_create(NULL, 0); - pjsip_supported_hdr_create(NULL); - pjsip_unsupported_hdr_create(NULL); - pjsip_via_hdr_create(NULL); - pjsip_warning_hdr_create(NULL, 0, NULL, NULL); - - pjsip_parse_uri(NULL, NULL, 0, 0); - pjsip_parse_msg(NULL, NULL, 0, NULL); - pjsip_parse_rdata(NULL, 0, NULL); - pjsip_find_msg(NULL, 0, 0, NULL); -#endif - -#ifdef HAS_PJSIP_CORE - pjsip_endpt_create(NULL, NULL, NULL); - - pjsip_tpmgr_create(NULL, NULL, NULL, NULL, NULL); - pjsip_tpmgr_destroy(NULL); - pjsip_transport_send(NULL, NULL, NULL, 0, NULL, NULL); - - -#endif - -#ifdef HAS_PJSIP_CORE_MSG_UTIL - pjsip_endpt_create_request(NULL, NULL, NULL, NULL, NULL, NULL, NULL, - -1, NULL, NULL); - pjsip_endpt_create_request_from_hdr(NULL, NULL, NULL, NULL, NULL, NULL, - NULL, -1, NULL, NULL); - pjsip_endpt_create_response(NULL, NULL, -1, NULL, NULL); - pjsip_endpt_create_ack(NULL, NULL, NULL, NULL); - pjsip_endpt_create_cancel(NULL, NULL, NULL); - pjsip_get_request_dest(NULL, NULL); - pjsip_endpt_send_request_stateless(NULL, NULL, NULL, NULL); - pjsip_get_response_addr(NULL, NULL, NULL); - pjsip_endpt_send_response(NULL, NULL, NULL, NULL, NULL); - pjsip_endpt_respond_stateless(NULL, NULL, -1, NULL, NULL, NULL); -#endif - -#ifdef HAS_PJSIP_UDP_TRANSPORT - pjsip_udp_transport_start(NULL, NULL, NULL, 1, NULL); -#endif - -#ifdef HAS_PJSIP_TCP_TRANSPORT - pjsip_tcp_transport_start(NULL, NULL, 1, NULL); -#endif - -#ifdef HAS_PJSIP_TLS_TRANSPORT - pjsip_tls_transport_start(NULL, NULL, NULL, NULL, 0, NULL); -#endif - -#ifdef HAS_PJSIP_TRANSACTION - pjsip_tsx_layer_init_module(NULL); - - pjsip_tsx_layer_destroy(); - pjsip_tsx_create_uac(NULL, NULL, NULL); - pjsip_tsx_create_uas(NULL, NULL, NULL); - pjsip_tsx_recv_msg(NULL, NULL); - pjsip_tsx_send_msg(NULL, NULL); - pjsip_tsx_terminate(NULL, 200); - - pjsip_endpt_send_request(NULL, NULL, -1, NULL, NULL); - pjsip_endpt_respond(NULL, NULL, NULL, -1, NULL, NULL, NULL, NULL); -#endif - -#ifdef HAS_PJMEDIA_SDP - pjmedia_sdp_parse(NULL, NULL, 1024, NULL); - pjmedia_sdp_print(NULL, NULL, 1024); - pjmedia_sdp_validate(NULL); - pjmedia_sdp_session_clone(NULL, NULL); - pjmedia_sdp_session_cmp(NULL, NULL, 0); - pjmedia_sdp_attr_to_rtpmap(NULL, NULL, NULL); - pjmedia_sdp_attr_get_fmtp(NULL, NULL); - pjmedia_sdp_attr_get_rtcp(NULL, NULL); - pjmedia_sdp_conn_clone(NULL, NULL); - pjmedia_sdp_media_clone(NULL, NULL); - pjmedia_sdp_media_find_attr(NULL, NULL, NULL); -#endif - -#ifdef HAS_PJMEDIA_SDP_NEGOTIATOR - pjmedia_sdp_neg_create_w_local_offer(NULL, NULL, NULL); - pjmedia_sdp_neg_create_w_remote_offer(NULL, NULL, NULL, NULL); - pjmedia_sdp_neg_get_state(NULL); - pjmedia_sdp_neg_negotiate(NULL, NULL, PJ_FALSE); -#endif - -#ifdef HAS_PJSIP_UA_LAYER - pjsip_ua_init_module(NULL, NULL); - pjsip_ua_destroy(); - pjsip_dlg_create_uac(NULL, NULL, NULL, NULL, NULL, NULL); - pjsip_dlg_create_uas(NULL, NULL, NULL, NULL); - pjsip_dlg_terminate(NULL); - pjsip_dlg_set_route_set(NULL, NULL); - pjsip_dlg_create_request(NULL, NULL, -1, NULL); - pjsip_dlg_send_request(NULL, NULL, -1, NULL); - pjsip_dlg_create_response(NULL, NULL, -1, NULL, NULL); - pjsip_dlg_modify_response(NULL, NULL, -1, NULL); - pjsip_dlg_send_response(NULL, NULL, NULL); - pjsip_dlg_respond(NULL, NULL, -1, NULL, NULL, NULL); -#endif - -#ifdef HAS_PJSIP_AUTH_CLIENT - pjsip_auth_clt_init(NULL, NULL, NULL, 0); - pjsip_auth_clt_clone(NULL, NULL, NULL); - pjsip_auth_clt_set_credentials(NULL, 0, NULL); - pjsip_auth_clt_init_req(NULL, NULL); - pjsip_auth_clt_reinit_req(NULL, NULL, NULL, NULL); -#endif - -#ifdef HAS_PJSIP_INV_SESSION - pjsip_inv_usage_init(NULL, NULL); - pjsip_inv_create_uac(NULL, NULL, 0, NULL); - pjsip_inv_verify_request(NULL, NULL, NULL, NULL, NULL, NULL); - pjsip_inv_create_uas(NULL, NULL, NULL, 0, NULL); - pjsip_inv_terminate(NULL, 200, PJ_FALSE); - pjsip_inv_invite(NULL, NULL); - pjsip_inv_initial_answer(NULL, NULL, 200, NULL, NULL, NULL); - pjsip_inv_answer(NULL, 200, NULL, NULL, NULL); - pjsip_inv_end_session(NULL, 200, NULL, NULL); - pjsip_inv_reinvite(NULL, NULL, NULL, NULL); - pjsip_inv_update(NULL, NULL, NULL, NULL); - pjsip_inv_send_msg(NULL, NULL); - pjsip_dlg_get_inv_session(NULL); - //pjsip_tsx_get_inv_session(NULL); - pjsip_inv_state_name(PJSIP_INV_STATE_NULL); -#endif - -#ifdef HAS_PJSIP_REGC - //pjsip_regc_get_module(); - pjsip_regc_create(NULL, NULL, NULL, NULL); - pjsip_regc_destroy(NULL); - pjsip_regc_get_info(NULL, NULL); - pjsip_regc_get_pool(NULL); - pjsip_regc_init(NULL, NULL, NULL, NULL, 0, NULL, 600); - pjsip_regc_set_credentials(NULL, 1, NULL); - pjsip_regc_set_route_set(NULL, NULL); - pjsip_regc_register(NULL, PJ_TRUE, NULL); - pjsip_regc_unregister(NULL, NULL); - pjsip_regc_update_contact(NULL, 10, NULL); - pjsip_regc_update_expires(NULL, 600); - pjsip_regc_send(NULL, NULL); -#endif - -#ifdef HAS_PJSIP_EVENT_FRAMEWORK - pjsip_evsub_init_module(NULL); - pjsip_evsub_instance(); - pjsip_evsub_register_pkg(NULL, NULL, 30, 10, NULL); - pjsip_evsub_create_uac(NULL, NULL, NULL, 10, NULL); - pjsip_evsub_create_uas(NULL, NULL, NULL, 10, NULL); - pjsip_evsub_terminate(NULL, PJ_FALSE); - pjsip_evsub_get_state(NULL); - pjsip_evsub_get_state_name(NULL); - pjsip_evsub_initiate(NULL, NULL, -1, NULL); - pjsip_evsub_accept(NULL, NULL, 200, NULL); - pjsip_evsub_notify(NULL, PJSIP_EVSUB_STATE_ACTIVE, NULL, NULL, NULL); - pjsip_evsub_current_notify(NULL, NULL); - pjsip_evsub_send_request(NULL, NULL); - pjsip_tsx_get_evsub(NULL); - pjsip_evsub_set_mod_data(NULL, 1, NULL); - pjsip_evsub_get_mod_data(NULL, 1); -#endif - -#ifdef HAS_PJSIP_CALL_TRANSFER - pjsip_xfer_init_module(NULL); - pjsip_xfer_create_uac(NULL, NULL, NULL); - pjsip_xfer_create_uas(NULL, NULL, NULL, NULL); - pjsip_xfer_initiate(NULL, NULL, NULL); - pjsip_xfer_accept(NULL, NULL, 200, NULL); - pjsip_xfer_notify(NULL, PJSIP_EVSUB_STATE_ACTIVE, 200, NULL, NULL); - pjsip_xfer_current_notify(NULL, NULL); - pjsip_xfer_send_request(NULL, NULL); -#endif - -#ifdef HAS_PJSIP_PRESENCE - pjsip_pres_init_module(NULL, NULL); - pjsip_pres_instance(); - pjsip_pres_create_uac(NULL, NULL, 0, NULL); - pjsip_pres_create_uas(NULL, NULL, NULL, NULL); - pjsip_pres_terminate(NULL, PJ_FALSE); - pjsip_pres_initiate(NULL, 100, NULL); - pjsip_pres_accept(NULL, NULL, 200, NULL); - pjsip_pres_notify(NULL, PJSIP_EVSUB_STATE_ACTIVE, NULL, NULL, NULL); - pjsip_pres_current_notify(NULL, NULL); - pjsip_pres_send_request(NULL, NULL); - pjsip_pres_get_status(NULL, NULL); - pjsip_pres_set_status(NULL, NULL); -#endif - -#ifdef HAS_PJSIP_IS_COMPOSING - pjsip_iscomposing_create_xml(NULL, PJ_TRUE, NULL, NULL, 0); - pjsip_iscomposing_create_body(NULL, PJ_TRUE, NULL, NULL, 0); - pjsip_iscomposing_parse(NULL, NULL, 0, NULL, NULL, NULL, NULL); -#endif - -#ifdef HAS_PJMEDIA - pjmedia_endpt_create(NULL, NULL, 1, NULL); - pjmedia_endpt_destroy(NULL); - pjmedia_endpt_create_sdp(NULL, NULL, 1, NULL, NULL); -#endif - -#ifdef HAS_PJMEDIA_EC - pjmedia_echo_create(NULL, 0, 0, 0, 0, 0, NULL); - pjmedia_echo_destroy(NULL); - pjmedia_echo_playback(NULL, NULL); - pjmedia_echo_capture(NULL, NULL, 0); - pjmedia_echo_cancel(NULL, NULL, NULL, 0, NULL); -#endif - -#ifdef HAS_PJMEDIA_SND_DEV - pjmedia_snd_init(NULL); - pjmedia_snd_get_dev_count(); - pjmedia_snd_get_dev_info(0); - pjmedia_snd_open(-1, -1, 8000, 1, 80, 16, NULL, NULL, NULL, NULL); - pjmedia_snd_open_rec(-1, 8000, 1, 160, 16, NULL, NULL, NULL); - pjmedia_snd_open_player(-1, 8000, 1, 160, 16, NULL, NULL, NULL); - pjmedia_snd_stream_start(NULL); - pjmedia_snd_stream_stop(NULL); - pjmedia_snd_stream_close(NULL); - pjmedia_snd_deinit(); -#endif - -#ifdef HAS_PJMEDIA_SND_PORT - pjmedia_snd_port_create(NULL, -1, -1, 8000, 1, 180, 16, 0, NULL); - pjmedia_snd_port_create_rec(NULL, -1, 8000, 1, 160, 16, 0, NULL); - pjmedia_snd_port_create_player(NULL, -1, 8000, 1, 160, 16, 0, NULL); - pjmedia_snd_port_destroy(NULL); - pjmedia_snd_port_get_snd_stream(NULL); - pjmedia_snd_port_connect(NULL, NULL); - pjmedia_snd_port_get_port(NULL); - pjmedia_snd_port_disconnect(NULL); -#endif - -#ifdef HAS_PJMEDIA_RESAMPLE - pjmedia_resample_create(NULL, PJ_TRUE, PJ_TRUE, 0, 0, 0, 0, NULL); - pjmedia_resample_run(NULL, NULL, NULL); -#endif - -#ifdef HAS_PJMEDIA_SILENCE_DET - pjmedia_silence_det_create(NULL, 8000, 80, NULL); - pjmedia_silence_det_detect(NULL, NULL, 0, NULL); - pjmedia_silence_det_apply(NULL, 0); -#endif - -#ifdef HAS_PJMEDIA_PLC - pjmedia_plc_create(NULL, 8000, 80, 0, NULL); - pjmedia_plc_save(NULL, NULL); - pjmedia_plc_generate(NULL, NULL); -#endif - -#ifdef HAS_PJMEDIA_CONFERENCE - pjmedia_conf_create(NULL, 10, 8000, 1, 160, 16, 0, NULL); - pjmedia_conf_destroy(NULL); - pjmedia_conf_get_master_port(NULL); - pjmedia_conf_add_port(NULL, NULL, NULL, NULL, NULL); - pjmedia_conf_configure_port(NULL, 1, 0, 0); - pjmedia_conf_connect_port(NULL, 0, 0, 0); - pjmedia_conf_disconnect_port(NULL, 0, 0); - pjmedia_conf_remove_port(NULL, 0); - pjmedia_conf_enum_ports(NULL, NULL, NULL); - pjmedia_conf_get_port_info(NULL, 0, NULL); - pjmedia_conf_get_ports_info(NULL, NULL, NULL); - pjmedia_conf_get_signal_level(NULL, 0, NULL, NULL); - pjmedia_conf_adjust_rx_level(NULL, 0, 0); - pjmedia_conf_adjust_tx_level(NULL, 0, 0); -#endif - -#ifdef HAS_PJMEDIA_MASTER_PORT - pjmedia_master_port_create(NULL, NULL, NULL, 0, NULL); - pjmedia_master_port_start(NULL); - pjmedia_master_port_stop(NULL); - pjmedia_master_port_set_uport(NULL, NULL); - pjmedia_master_port_get_uport(NULL); - pjmedia_master_port_set_dport(NULL, NULL); - pjmedia_master_port_get_dport(NULL); - pjmedia_master_port_destroy(NULL, PJ_FALSE); -#endif - -#ifdef HAS_PJMEDIA_RTP - pjmedia_rtp_session_init(NULL, 0, 0); - pjmedia_rtp_encode_rtp(NULL, 0, 0, 0, 0, NULL, NULL); - pjmedia_rtp_decode_rtp(NULL, NULL, 0, NULL, NULL, NULL); - pjmedia_rtp_session_update(NULL, NULL, NULL); -#endif - -#ifdef HAS_PJMEDIA_RTCP - pjmedia_rtcp_init(NULL, NULL, 0, 0, 0); - pjmedia_rtcp_get_ntp_time(NULL, NULL); - pjmedia_rtcp_fini(NULL); - pjmedia_rtcp_rx_rtp(NULL, 0, 0, 0); - pjmedia_rtcp_tx_rtp(NULL, 0); - pjmedia_rtcp_rx_rtcp(NULL, NULL, 0); - pjmedia_rtcp_build_rtcp(NULL, NULL, NULL); -#endif - -#ifdef HAS_PJMEDIA_JBUF - pjmedia_jbuf_create(NULL, NULL, 0, 0, 0, NULL); - pjmedia_jbuf_set_fixed(NULL, 0); - pjmedia_jbuf_set_adaptive(NULL, 0, 0, 0); - pjmedia_jbuf_destroy(NULL); - pjmedia_jbuf_put_frame(NULL, NULL, 0, 0); - pjmedia_jbuf_get_frame(NULL, NULL, NULL); -#endif - -#ifdef HAS_PJMEDIA_STREAM - pjmedia_stream_create(NULL, NULL, NULL, NULL, NULL, NULL); - pjmedia_stream_destroy(NULL); - pjmedia_stream_get_port(NULL, NULL); - pjmedia_stream_get_transport(NULL); - pjmedia_stream_start(NULL); - pjmedia_stream_get_stat(NULL, NULL); - pjmedia_stream_pause(NULL, PJMEDIA_DIR_ENCODING); - pjmedia_stream_resume(NULL, PJMEDIA_DIR_ENCODING); - pjmedia_stream_dial_dtmf(NULL, NULL); - pjmedia_stream_check_dtmf(NULL); - pjmedia_stream_get_dtmf(NULL, NULL, NULL); -#endif - -#ifdef HAS_PJMEDIA_TONEGEN - pjmedia_tonegen_create(NULL, 0, 0, 0, 0, 0, NULL); - pjmedia_tonegen_is_busy(NULL); - pjmedia_tonegen_stop(NULL); - pjmedia_tonegen_play(NULL, 0, NULL, 0); - pjmedia_tonegen_play_digits(NULL, 0, NULL, 0); - pjmedia_tonegen_get_digit_map(NULL, NULL); - pjmedia_tonegen_set_digit_map(NULL, NULL); -#endif - -#ifdef HAS_PJMEDIA_UDP_TRANSPORT - pjmedia_transport_udp_create(NULL, NULL, 0, 0, NULL); - pjmedia_transport_udp_close(NULL); -#endif - -#ifdef HAS_PJMEDIA_FILE_PLAYER - pjmedia_wav_player_port_create(NULL, NULL, 0, 0, 0, NULL); - pjmedia_wav_player_port_set_pos(NULL, 0); - pjmedia_wav_player_port_get_pos(NULL); - pjmedia_wav_player_set_eof_cb(NULL, NULL, NULL); -#endif - -#ifdef HAS_PJMEDIA_FILE_CAPTURE - pjmedia_wav_writer_port_create(NULL, NULL, 8000, 1, 80, 16, 0, 0, NULL); - pjmedia_wav_writer_port_get_pos(NULL); - pjmedia_wav_writer_port_set_cb(NULL, 0, NULL, NULL); -#endif - -#ifdef HAS_PJMEDIA_MEM_PLAYER - pjmedia_mem_player_create(NULL, NULL, 1000, 8000, 1, 80, 16, 0, NULL); -#endif - -#ifdef HAS_PJMEDIA_MEM_CAPTURE - pjmedia_mem_capture_create(NULL, NULL, 1000, 8000, 1, 80, 16, 0, NULL); -#endif - -#ifdef HAS_PJMEDIA_ICE - pjmedia_ice_create(NULL, NULL, 0, NULL, NULL); - pjmedia_ice_destroy(NULL); - pjmedia_ice_start_init(NULL, 0, NULL, NULL, NULL); - pjmedia_ice_init_ice(NULL, PJ_ICE_SESS_ROLE_CONTROLLED, NULL, NULL); - pjmedia_ice_modify_sdp(NULL, NULL, NULL); - pjmedia_ice_start_ice(NULL, NULL, NULL, 0); - pjmedia_ice_stop_ice(NULL); -#endif - -#ifdef HAS_PJMEDIA_G711_CODEC - pjmedia_codec_g711_init(NULL); - pjmedia_codec_g711_deinit(); -#endif - -#ifdef HAS_PJMEDIA_GSM_CODEC - pjmedia_codec_gsm_init(NULL); - pjmedia_codec_gsm_deinit(); -#endif - -#ifdef HAS_PJMEDIA_SPEEX_CODEC - pjmedia_codec_speex_init(NULL, 0, 0, 0); - pjmedia_codec_speex_deinit(); -#endif - -#ifdef HAS_PJMEDIA_ILBC_CODEC - pjmedia_codec_ilbc_init(NULL, 0); - pjmedia_codec_ilbc_deinit(); -#endif - - return 0; -} - - -int test_main() -{ - return dummy_function(); -} - -#if defined(PJ_RTEMS) && PJ_RTEMS!=0 -# include "../../pjlib/src/pjlib-test/main_rtems.c" -#else -int main() -{ - return test_main(); -} -#endif - diff --git a/res/pjproject/pjsip-apps/src/samples/httpdemo.c b/res/pjproject/pjsip-apps/src/samples/httpdemo.c deleted file mode 100644 index a119011165..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/httpdemo.c +++ /dev/null @@ -1,183 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/** - * \page page_httpdemo_c Samples: HTTP Client demo - * - * This file is pjsip-apps/src/samples/httpdemo.c - * - * \includelineno httpdemo.c - */ - -#include -#include -#include -#include -#include -#include -#include - -static pj_timer_heap_t *timer_heap; -static pj_ioqueue_t *ioqueue; -static pj_pool_t *pool; -static pj_http_req *http_req; -static pj_pool_factory *mem; -static FILE *f = NULL; - -//#define VERBOSE -#define THIS_FILE "http_demo" - -static void on_response(pj_http_req *http_req, const pj_http_resp *resp) -{ - unsigned i; - - PJ_UNUSED_ARG(http_req); - PJ_LOG(3,(THIS_FILE, "%.*s %d %.*s", (int)resp->version.slen, resp->version.ptr, - resp->status_code, - (int)resp->reason.slen, resp->reason.ptr)); - - for (i=0; iheaders.count; ++i) { - const pj_http_header_elmt *h = &resp->headers.header[i]; - - if (!pj_stricmp2(&h->name, "Content-Length") || - !pj_stricmp2(&h->name, "Content-Type")) - { - PJ_LOG(3,(THIS_FILE, "%.*s: %.*s", - (int)h->name.slen, h->name.ptr, - (int)h->value.slen, h->value.ptr)); - } - } -} - -static void on_send_data(pj_http_req *http_req, void **data, pj_size_t *size) -{ - PJ_UNUSED_ARG(http_req); - PJ_UNUSED_ARG(size); - PJ_UNUSED_ARG(data); -} - -static void on_data_read(pj_http_req *hreq, void *data, pj_size_t size) -{ - PJ_UNUSED_ARG(hreq); - - if (size > 0) { - fwrite(data, 1, size, f); - fflush(f); -#ifdef VERBOSE - PJ_LOG(3, (THIS_FILE, "Data received: %d bytes", size)); - printf("%.*s\n", (int)size, (char *)data); -#endif - } -} - -static void on_complete(pj_http_req *hreq, pj_status_t status, - const pj_http_resp *resp) -{ - PJ_UNUSED_ARG(hreq); - - if (status != PJ_SUCCESS) { - PJ_PERROR(1, (THIS_FILE, status, "HTTP request completed with error")); - return; - } - PJ_LOG(3, (THIS_FILE, "Data completed: %d bytes", resp->size)); - if (resp->size > 0 && resp->data) { -#ifdef VERBOSE - printf("%.*s\n", (int)resp->size, (char *)resp->data); -#endif - } -} - -pj_status_t getURL(const char *curl) -{ - pj_str_t url; - pj_http_req_callback hcb; - pj_status_t status; - - pj_bzero(&hcb, sizeof(hcb)); - hcb.on_complete = &on_complete; - hcb.on_data_read = &on_data_read; - hcb.on_send_data = &on_send_data; - hcb.on_response = &on_response; - - /* Create pool, timer, and ioqueue */ - pool = pj_pool_create(mem, NULL, 8192, 4096, NULL); - if (pj_timer_heap_create(pool, 16, &timer_heap)) - return -31; - if (pj_ioqueue_create(pool, 16, &ioqueue)) - return -32; - - pj_strdup2(pool, &url, curl); - - if ((status = pj_http_req_create(pool, &url, timer_heap, ioqueue, - NULL, &hcb, &http_req)) != PJ_SUCCESS) - return status; - - if ((status = pj_http_req_start(http_req)) != PJ_SUCCESS) - return status; - - while (pj_http_req_is_running(http_req)) { - pj_time_val delay = {0, 50}; - pj_ioqueue_poll(ioqueue, &delay); - pj_timer_heap_poll(timer_heap, NULL); - } - - pj_http_req_destroy(http_req); - pj_ioqueue_destroy(ioqueue); - pj_timer_heap_destroy(timer_heap); - pj_pool_release(pool); - - return PJ_SUCCESS; -} -/* - * main() - */ -int main(int argc, char *argv[]) -{ - pj_caching_pool cp; - pj_status_t status; - - if (argc < 2 || argc > 3) { - puts("Usage: httpdemo URL [output-filename]"); - return 1; - } - - pj_log_set_level(5); - - pj_init(); - pj_caching_pool_init(&cp, NULL, 0); - mem = &cp.factory; - pjlib_util_init(); - - if (argc > 2) - f = fopen(argv[2], "wb"); - else - f = stdout; - - status = getURL(argv[1]); - if (status != PJ_SUCCESS) { - PJ_PERROR(1, (THIS_FILE, status, "Error")); - } - - if (f != stdout) - fclose(f); - - pj_caching_pool_destroy(&cp); - pj_shutdown(); - return 0; -} diff --git a/res/pjproject/pjsip-apps/src/samples/icedemo.c b/res/pjproject/pjsip-apps/src/samples/icedemo.c deleted file mode 100644 index 32d6e5db7d..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/icedemo.c +++ /dev/null @@ -1,1270 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - - -#define THIS_FILE "icedemo.c" - -/* For this demo app, configure longer STUN keep-alive time - * so that it does't clutter the screen output. - */ -#define KA_INTERVAL 300 - - -/* This is our global variables */ -static struct app_t -{ - /* Command line options are stored here */ - struct options - { - unsigned comp_cnt; - pj_str_t ns; - int max_host; - pj_bool_t regular; - pj_str_t stun_srv; - pj_str_t turn_srv; - pj_bool_t turn_tcp; - pj_str_t turn_username; - pj_str_t turn_password; - pj_bool_t turn_fingerprint; - const char *log_file; - } opt; - - /* Our global variables */ - pj_caching_pool cp; - pj_pool_t *pool; - pj_thread_t *thread; - pj_bool_t thread_quit_flag; - pj_ice_strans_cfg ice_cfg; - pj_ice_strans *icest; - FILE *log_fhnd; - - /* Variables to store parsed remote ICE info */ - struct rem_info - { - char ufrag[80]; - char pwd[80]; - unsigned comp_cnt; - pj_sockaddr def_addr[PJ_ICE_MAX_COMP]; - unsigned cand_cnt; - pj_ice_sess_cand cand[PJ_ICE_ST_MAX_CAND]; - } rem; - -} icedemo; - -/* Utility to display error messages */ -static void icedemo_perror(const char *title, pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(1,(THIS_FILE, "%s: %s", title, errmsg)); -} - -/* Utility: display error message and exit application (usually - * because of fatal error. - */ -static void err_exit(const char *title, pj_status_t status) -{ - if (status != PJ_SUCCESS) { - icedemo_perror(title, status); - } - PJ_LOG(3,(THIS_FILE, "Shutting down..")); - - if (icedemo.icest) - pj_ice_strans_destroy(icedemo.icest); - - pj_thread_sleep(500); - - icedemo.thread_quit_flag = PJ_TRUE; - if (icedemo.thread) { - pj_thread_join(icedemo.thread); - pj_thread_destroy(icedemo.thread); - } - - if (icedemo.ice_cfg.stun_cfg.ioqueue) - pj_ioqueue_destroy(icedemo.ice_cfg.stun_cfg.ioqueue); - - if (icedemo.ice_cfg.stun_cfg.timer_heap) - pj_timer_heap_destroy(icedemo.ice_cfg.stun_cfg.timer_heap); - - pj_caching_pool_destroy(&icedemo.cp); - - pj_shutdown(); - - if (icedemo.log_fhnd) { - fclose(icedemo.log_fhnd); - icedemo.log_fhnd = NULL; - } - - exit(status != PJ_SUCCESS); -} - -#define CHECK(expr) status=expr; \ - if (status!=PJ_SUCCESS) { \ - err_exit(#expr, status); \ - } - -/* - * This function checks for events from both timer and ioqueue (for - * network events). It is invoked by the worker thread. - */ -static pj_status_t handle_events(unsigned max_msec, unsigned *p_count) -{ - enum { MAX_NET_EVENTS = 1 }; - pj_time_val max_timeout = {0, 0}; - pj_time_val timeout = { 0, 0}; - unsigned count = 0, net_event_count = 0; - int c; - - max_timeout.msec = max_msec; - - /* Poll the timer to run it and also to retrieve the earliest entry. */ - timeout.sec = timeout.msec = 0; - c = pj_timer_heap_poll( icedemo.ice_cfg.stun_cfg.timer_heap, &timeout ); - if (c > 0) - count += c; - - /* timer_heap_poll should never ever returns negative value, or otherwise - * ioqueue_poll() will block forever! - */ - pj_assert(timeout.sec >= 0 && timeout.msec >= 0); - if (timeout.msec >= 1000) timeout.msec = 999; - - /* compare the value with the timeout to wait from timer, and use the - * minimum value. - */ - if (PJ_TIME_VAL_GT(timeout, max_timeout)) - timeout = max_timeout; - - /* Poll ioqueue. - * Repeat polling the ioqueue while we have immediate events, because - * timer heap may process more than one events, so if we only process - * one network events at a time (such as when IOCP backend is used), - * the ioqueue may have trouble keeping up with the request rate. - * - * For example, for each send() request, one network event will be - * reported by ioqueue for the send() completion. If we don't poll - * the ioqueue often enough, the send() completion will not be - * reported in timely manner. - */ - do { - c = pj_ioqueue_poll( icedemo.ice_cfg.stun_cfg.ioqueue, &timeout); - if (c < 0) { - pj_status_t err = pj_get_netos_error(); - pj_thread_sleep(PJ_TIME_VAL_MSEC(timeout)); - if (p_count) - *p_count = count; - return err; - } else if (c == 0) { - break; - } else { - net_event_count += c; - timeout.sec = timeout.msec = 0; - } - } while (c > 0 && net_event_count < MAX_NET_EVENTS); - - count += net_event_count; - if (p_count) - *p_count = count; - - return PJ_SUCCESS; - -} - -/* - * This is the worker thread that polls event in the background. - */ -static int icedemo_worker_thread(void *unused) -{ - PJ_UNUSED_ARG(unused); - - while (!icedemo.thread_quit_flag) { - handle_events(500, NULL); - } - - return 0; -} - -/* - * This is the callback that is registered to the ICE stream transport to - * receive notification about incoming data. By "data" it means application - * data such as RTP/RTCP, and not packets that belong to ICE signaling (such - * as STUN connectivity checks or TURN signaling). - */ -static void cb_on_rx_data(pj_ice_strans *ice_st, - unsigned comp_id, - void *pkt, pj_size_t size, - const pj_sockaddr_t *src_addr, - unsigned src_addr_len) -{ - char ipstr[PJ_INET6_ADDRSTRLEN+10]; - - PJ_UNUSED_ARG(ice_st); - PJ_UNUSED_ARG(src_addr_len); - PJ_UNUSED_ARG(pkt); - - // Don't do this! It will ruin the packet buffer in case TCP is used! - //((char*)pkt)[size] = '\0'; - - PJ_LOG(3,(THIS_FILE, "Component %d: received %d bytes data from %s: \"%.*s\"", - comp_id, size, - pj_sockaddr_print(src_addr, ipstr, sizeof(ipstr), 3), - (unsigned)size, - (char*)pkt)); -} - -/* - * This is the callback that is registered to the ICE stream transport to - * receive notification about ICE state progression. - */ -static void cb_on_ice_complete(pj_ice_strans *ice_st, - pj_ice_strans_op op, - pj_status_t status) -{ - const char *opname = - (op==PJ_ICE_STRANS_OP_INIT? "initialization" : - (op==PJ_ICE_STRANS_OP_NEGOTIATION ? "negotiation" : "unknown_op")); - - if (status == PJ_SUCCESS) { - PJ_LOG(3,(THIS_FILE, "ICE %s successful", opname)); - } else { - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(1,(THIS_FILE, "ICE %s failed: %s", opname, errmsg)); - pj_ice_strans_destroy(ice_st); - icedemo.icest = NULL; - } -} - -/* log callback to write to file */ -static void log_func(int level, const char *data, int len) -{ - pj_log_write(level, data, len); - if (icedemo.log_fhnd) { - if (fwrite(data, len, 1, icedemo.log_fhnd) != 1) - return; - } -} - -/* - * This is the main application initialization function. It is called - * once (and only once) during application initialization sequence by - * main(). - */ -static pj_status_t icedemo_init(void) -{ - pj_status_t status; - - if (icedemo.opt.log_file) { - icedemo.log_fhnd = fopen(icedemo.opt.log_file, "a"); - pj_log_set_log_func(&log_func); - } - - /* Initialize the libraries before anything else */ - CHECK( pj_init() ); - CHECK( pjlib_util_init() ); - CHECK( pjnath_init() ); - - /* Must create pool factory, where memory allocations come from */ - pj_caching_pool_init(&icedemo.cp, NULL, 0); - - /* Init our ICE settings with null values */ - pj_ice_strans_cfg_default(&icedemo.ice_cfg); - - icedemo.ice_cfg.stun_cfg.pf = &icedemo.cp.factory; - - /* Create application memory pool */ - icedemo.pool = pj_pool_create(&icedemo.cp.factory, "icedemo", - 512, 512, NULL); - - /* Create timer heap for timer stuff */ - CHECK( pj_timer_heap_create(icedemo.pool, 100, - &icedemo.ice_cfg.stun_cfg.timer_heap) ); - - /* and create ioqueue for network I/O stuff */ - CHECK( pj_ioqueue_create(icedemo.pool, 16, - &icedemo.ice_cfg.stun_cfg.ioqueue) ); - - /* something must poll the timer heap and ioqueue, - * unless we're on Symbian where the timer heap and ioqueue run - * on themselves. - */ - CHECK( pj_thread_create(icedemo.pool, "icedemo", &icedemo_worker_thread, - NULL, 0, 0, &icedemo.thread) ); - - icedemo.ice_cfg.af = pj_AF_INET(); - - /* Create DNS resolver if nameserver is set */ - if (icedemo.opt.ns.slen) { - CHECK( pj_dns_resolver_create(&icedemo.cp.factory, - "resolver", - 0, - icedemo.ice_cfg.stun_cfg.timer_heap, - icedemo.ice_cfg.stun_cfg.ioqueue, - &icedemo.ice_cfg.resolver) ); - - CHECK( pj_dns_resolver_set_ns(icedemo.ice_cfg.resolver, 1, - &icedemo.opt.ns, NULL) ); - } - - /* -= Start initializing ICE stream transport config =- */ - - /* Maximum number of host candidates */ - if (icedemo.opt.max_host != -1) - icedemo.ice_cfg.stun.max_host_cands = icedemo.opt.max_host; - - /* Nomination strategy */ - if (icedemo.opt.regular) - icedemo.ice_cfg.opt.aggressive = PJ_FALSE; - else - icedemo.ice_cfg.opt.aggressive = PJ_TRUE; - - /* Configure STUN/srflx candidate resolution */ - if (icedemo.opt.stun_srv.slen) { - char *pos; - - /* Command line option may contain port number */ - if ((pos=pj_strchr(&icedemo.opt.stun_srv, ':')) != NULL) { - icedemo.ice_cfg.stun.server.ptr = icedemo.opt.stun_srv.ptr; - icedemo.ice_cfg.stun.server.slen = (pos - icedemo.opt.stun_srv.ptr); - - icedemo.ice_cfg.stun.port = (pj_uint16_t)atoi(pos+1); - } else { - icedemo.ice_cfg.stun.server = icedemo.opt.stun_srv; - icedemo.ice_cfg.stun.port = PJ_STUN_PORT; - } - - /* For this demo app, configure longer STUN keep-alive time - * so that it does't clutter the screen output. - */ - icedemo.ice_cfg.stun.cfg.ka_interval = KA_INTERVAL; - } - - /* Configure TURN candidate */ - if (icedemo.opt.turn_srv.slen) { - char *pos; - - /* Command line option may contain port number */ - if ((pos=pj_strchr(&icedemo.opt.turn_srv, ':')) != NULL) { - icedemo.ice_cfg.turn.server.ptr = icedemo.opt.turn_srv.ptr; - icedemo.ice_cfg.turn.server.slen = (pos - icedemo.opt.turn_srv.ptr); - - icedemo.ice_cfg.turn.port = (pj_uint16_t)atoi(pos+1); - } else { - icedemo.ice_cfg.turn.server = icedemo.opt.turn_srv; - icedemo.ice_cfg.turn.port = PJ_STUN_PORT; - } - - /* TURN credential */ - icedemo.ice_cfg.turn.auth_cred.type = PJ_STUN_AUTH_CRED_STATIC; - icedemo.ice_cfg.turn.auth_cred.data.static_cred.username = icedemo.opt.turn_username; - icedemo.ice_cfg.turn.auth_cred.data.static_cred.data_type = PJ_STUN_PASSWD_PLAIN; - icedemo.ice_cfg.turn.auth_cred.data.static_cred.data = icedemo.opt.turn_password; - - /* Connection type to TURN server */ - if (icedemo.opt.turn_tcp) - icedemo.ice_cfg.turn.conn_type = PJ_TURN_TP_TCP; - else - icedemo.ice_cfg.turn.conn_type = PJ_TURN_TP_UDP; - - /* For this demo app, configure longer keep-alive time - * so that it does't clutter the screen output. - */ - icedemo.ice_cfg.turn.alloc_param.ka_interval = KA_INTERVAL; - } - - /* -= That's it for now, initialization is complete =- */ - return PJ_SUCCESS; -} - - -/* - * Create ICE stream transport instance, invoked from the menu. - */ -static void icedemo_create_instance(void) -{ - pj_ice_strans_cb icecb; - pj_status_t status; - - if (icedemo.icest != NULL) { - puts("ICE instance already created, destroy it first"); - return; - } - - /* init the callback */ - pj_bzero(&icecb, sizeof(icecb)); - icecb.on_rx_data = cb_on_rx_data; - icecb.on_ice_complete = cb_on_ice_complete; - - /* create the instance */ - status = pj_ice_strans_create("icedemo", /* object name */ - &icedemo.ice_cfg, /* settings */ - icedemo.opt.comp_cnt, /* comp_cnt */ - NULL, /* user data */ - &icecb, /* callback */ - &icedemo.icest) /* instance ptr */ - ; - if (status != PJ_SUCCESS) - icedemo_perror("error creating ice", status); - else - PJ_LOG(3,(THIS_FILE, "ICE instance successfully created")); -} - -/* Utility to nullify parsed remote info */ -static void reset_rem_info(void) -{ - pj_bzero(&icedemo.rem, sizeof(icedemo.rem)); -} - - -/* - * Destroy ICE stream transport instance, invoked from the menu. - */ -static void icedemo_destroy_instance(void) -{ - if (icedemo.icest == NULL) { - PJ_LOG(1,(THIS_FILE, "Error: No ICE instance, create it first")); - return; - } - - pj_ice_strans_destroy(icedemo.icest); - icedemo.icest = NULL; - - reset_rem_info(); - - PJ_LOG(3,(THIS_FILE, "ICE instance destroyed")); -} - - -/* - * Create ICE session, invoked from the menu. - */ -static void icedemo_init_session(unsigned rolechar) -{ - pj_ice_sess_role role = (pj_tolower((pj_uint8_t)rolechar)=='o' ? - PJ_ICE_SESS_ROLE_CONTROLLING : - PJ_ICE_SESS_ROLE_CONTROLLED); - pj_status_t status; - - if (icedemo.icest == NULL) { - PJ_LOG(1,(THIS_FILE, "Error: No ICE instance, create it first")); - return; - } - - if (pj_ice_strans_has_sess(icedemo.icest)) { - PJ_LOG(1,(THIS_FILE, "Error: Session already created")); - return; - } - - status = pj_ice_strans_init_ice(icedemo.icest, role, NULL, NULL); - if (status != PJ_SUCCESS) - icedemo_perror("error creating session", status); - else - PJ_LOG(3,(THIS_FILE, "ICE session created")); - - reset_rem_info(); -} - - -/* - * Stop/destroy ICE session, invoked from the menu. - */ -static void icedemo_stop_session(void) -{ - pj_status_t status; - - if (icedemo.icest == NULL) { - PJ_LOG(1,(THIS_FILE, "Error: No ICE instance, create it first")); - return; - } - - if (!pj_ice_strans_has_sess(icedemo.icest)) { - PJ_LOG(1,(THIS_FILE, "Error: No ICE session, initialize first")); - return; - } - - status = pj_ice_strans_stop_ice(icedemo.icest); - if (status != PJ_SUCCESS) - icedemo_perror("error stopping session", status); - else - PJ_LOG(3,(THIS_FILE, "ICE session stopped")); - - reset_rem_info(); -} - -#define PRINT(...) \ - printed = pj_ansi_snprintf(p, maxlen - (p-buffer), \ - __VA_ARGS__); \ - if (printed <= 0) return -PJ_ETOOSMALL; \ - p += printed - - -/* Utility to create a=candidate SDP attribute */ -static int print_cand(char buffer[], unsigned maxlen, - const pj_ice_sess_cand *cand) -{ - char ipaddr[PJ_INET6_ADDRSTRLEN]; - char *p = buffer; - int printed; - - PRINT("a=candidate:%.*s %u UDP %u %s %u typ ", - (int)cand->foundation.slen, - cand->foundation.ptr, - (unsigned)cand->comp_id, - cand->prio, - pj_sockaddr_print(&cand->addr, ipaddr, - sizeof(ipaddr), 0), - (unsigned)pj_sockaddr_get_port(&cand->addr)); - - PRINT("%s\n", - pj_ice_get_cand_type_name(cand->type)); - - if (p == buffer+maxlen) - return -PJ_ETOOSMALL; - - *p = '\0'; - - return p-buffer; -} - -/* - * Encode ICE information in SDP. - */ -static int encode_session(char buffer[], unsigned maxlen) -{ - char *p = buffer; - unsigned comp; - int printed; - pj_str_t local_ufrag, local_pwd; - pj_status_t status; - - /* Write "dummy" SDP v=, o=, s=, and t= lines */ - PRINT("v=0\no=- 3414953978 3414953978 IN IP4 localhost\ns=ice\nt=0 0\n"); - - /* Get ufrag and pwd from current session */ - pj_ice_strans_get_ufrag_pwd(icedemo.icest, &local_ufrag, &local_pwd, - NULL, NULL); - - /* Write the a=ice-ufrag and a=ice-pwd attributes */ - PRINT("a=ice-ufrag:%.*s\na=ice-pwd:%.*s\n", - (int)local_ufrag.slen, - local_ufrag.ptr, - (int)local_pwd.slen, - local_pwd.ptr); - - /* Write each component */ - for (comp=0; comp"); - if (stdout) fflush(stdout); - - if (fgets(linebuf, sizeof(linebuf), stdin)==NULL) - break; - - len = strlen(linebuf); - while (len && (linebuf[len-1] == '\r' || linebuf[len-1] == '\n')) - linebuf[--len] = '\0'; - - line = linebuf; - while (len && pj_isspace(*line)) - ++line, --len; - - if (len==0) - break; - - /* Ignore subsequent media descriptors */ - if (media_cnt > 1) - continue; - - switch (line[0]) { - case 'm': - { - int cnt; - char media[32], portstr[32]; - - ++media_cnt; - if (media_cnt > 1) { - puts("Media line ignored"); - break; - } - - cnt = sscanf(line+2, "%s %s RTP/", media, portstr); - if (cnt != 2) { - PJ_LOG(1,(THIS_FILE, "Error parsing media line")); - goto on_error; - } - - comp0_port = atoi(portstr); - - } - break; - case 'c': - { - int cnt; - char c[32], net[32], ip[80]; - - cnt = sscanf(line+2, "%s %s %s", c, net, ip); - if (cnt != 3) { - PJ_LOG(1,(THIS_FILE, "Error parsing connection line")); - goto on_error; - } - - strcpy(comp0_addr, ip); - } - break; - case 'a': - { - char *attr = strtok(line+2, ": \t\r\n"); - if (strcmp(attr, "ice-ufrag")==0) { - strcpy(icedemo.rem.ufrag, attr+strlen(attr)+1); - } else if (strcmp(attr, "ice-pwd")==0) { - strcpy(icedemo.rem.pwd, attr+strlen(attr)+1); - } else if (strcmp(attr, "rtcp")==0) { - char *val = attr+strlen(attr)+1; - int af, cnt; - int port; - char net[32], ip[64]; - pj_str_t tmp_addr; - pj_status_t status; - - cnt = sscanf(val, "%d IN %s %s", &port, net, ip); - if (cnt != 3) { - PJ_LOG(1,(THIS_FILE, "Error parsing rtcp attribute")); - goto on_error; - } - - if (strchr(ip, ':')) - af = pj_AF_INET6(); - else - af = pj_AF_INET(); - - pj_sockaddr_init(af, &icedemo.rem.def_addr[1], NULL, 0); - tmp_addr = pj_str(ip); - status = pj_sockaddr_set_str_addr(af, &icedemo.rem.def_addr[1], - &tmp_addr); - if (status != PJ_SUCCESS) { - PJ_LOG(1,(THIS_FILE, "Invalid IP address")); - goto on_error; - } - pj_sockaddr_set_port(&icedemo.rem.def_addr[1], (pj_uint16_t)port); - - } else if (strcmp(attr, "candidate")==0) { - char *sdpcand = attr+strlen(attr)+1; - int af, cnt; - char foundation[32], transport[12], ipaddr[80], type[32]; - pj_str_t tmpaddr; - int comp_id, prio, port; - pj_ice_sess_cand *cand; - pj_status_t status; - - cnt = sscanf(sdpcand, "%s %d %s %d %s %d typ %s", - foundation, - &comp_id, - transport, - &prio, - ipaddr, - &port, - type); - if (cnt != 7) { - PJ_LOG(1, (THIS_FILE, "error: Invalid ICE candidate line")); - goto on_error; - } - - cand = &icedemo.rem.cand[icedemo.rem.cand_cnt]; - pj_bzero(cand, sizeof(*cand)); - - if (strcmp(type, "host")==0) - cand->type = PJ_ICE_CAND_TYPE_HOST; - else if (strcmp(type, "srflx")==0) - cand->type = PJ_ICE_CAND_TYPE_SRFLX; - else if (strcmp(type, "relay")==0) - cand->type = PJ_ICE_CAND_TYPE_RELAYED; - else { - PJ_LOG(1, (THIS_FILE, "Error: invalid candidate type '%s'", - type)); - goto on_error; - } - - cand->comp_id = (pj_uint8_t)comp_id; - pj_strdup2(icedemo.pool, &cand->foundation, foundation); - cand->prio = prio; - - if (strchr(ipaddr, ':')) - af = pj_AF_INET6(); - else - af = pj_AF_INET(); - - tmpaddr = pj_str(ipaddr); - pj_sockaddr_init(af, &cand->addr, NULL, 0); - status = pj_sockaddr_set_str_addr(af, &cand->addr, &tmpaddr); - if (status != PJ_SUCCESS) { - PJ_LOG(1,(THIS_FILE, "Error: invalid IP address '%s'", - ipaddr)); - goto on_error; - } - - pj_sockaddr_set_port(&cand->addr, (pj_uint16_t)port); - - ++icedemo.rem.cand_cnt; - - if (cand->comp_id > icedemo.rem.comp_cnt) - icedemo.rem.comp_cnt = cand->comp_id; - } - } - break; - } - } - - if (icedemo.rem.cand_cnt==0 || - icedemo.rem.ufrag[0]==0 || - icedemo.rem.pwd[0]==0 || - icedemo.rem.comp_cnt == 0) - { - PJ_LOG(1, (THIS_FILE, "Error: not enough info")); - goto on_error; - } - - if (comp0_port==0 || comp0_addr[0]=='\0') { - PJ_LOG(1, (THIS_FILE, "Error: default address for component 0 not found")); - goto on_error; - } else { - int af; - pj_str_t tmp_addr; - pj_status_t status; - - if (strchr(comp0_addr, ':')) - af = pj_AF_INET6(); - else - af = pj_AF_INET(); - - pj_sockaddr_init(af, &icedemo.rem.def_addr[0], NULL, 0); - tmp_addr = pj_str(comp0_addr); - status = pj_sockaddr_set_str_addr(af, &icedemo.rem.def_addr[0], - &tmp_addr); - if (status != PJ_SUCCESS) { - PJ_LOG(1,(THIS_FILE, "Invalid IP address in c= line")); - goto on_error; - } - pj_sockaddr_set_port(&icedemo.rem.def_addr[0], (pj_uint16_t)comp0_port); - } - - PJ_LOG(3, (THIS_FILE, "Done, %d remote candidate(s) added", - icedemo.rem.cand_cnt)); - return; - -on_error: - reset_rem_info(); -} - - -/* - * Start ICE negotiation! This function is invoked from the menu. - */ -static void icedemo_start_nego(void) -{ - pj_str_t rufrag, rpwd; - pj_status_t status; - - if (icedemo.icest == NULL) { - PJ_LOG(1,(THIS_FILE, "Error: No ICE instance, create it first")); - return; - } - - if (!pj_ice_strans_has_sess(icedemo.icest)) { - PJ_LOG(1,(THIS_FILE, "Error: No ICE session, initialize first")); - return; - } - - if (icedemo.rem.cand_cnt == 0) { - PJ_LOG(1,(THIS_FILE, "Error: No remote info, input remote info first")); - return; - } - - PJ_LOG(3,(THIS_FILE, "Starting ICE negotiation..")); - - status = pj_ice_strans_start_ice(icedemo.icest, - pj_cstr(&rufrag, icedemo.rem.ufrag), - pj_cstr(&rpwd, icedemo.rem.pwd), - icedemo.rem.cand_cnt, - icedemo.rem.cand); - if (status != PJ_SUCCESS) - icedemo_perror("Error starting ICE", status); - else - PJ_LOG(3,(THIS_FILE, "ICE negotiation started")); -} - - -/* - * Send application data to remote agent. - */ -static void icedemo_send_data(unsigned comp_id, const char *data) -{ - pj_status_t status; - - if (icedemo.icest == NULL) { - PJ_LOG(1,(THIS_FILE, "Error: No ICE instance, create it first")); - return; - } - - if (!pj_ice_strans_has_sess(icedemo.icest)) { - PJ_LOG(1,(THIS_FILE, "Error: No ICE session, initialize first")); - return; - } - - /* - if (!pj_ice_strans_sess_is_complete(icedemo.icest)) { - PJ_LOG(1,(THIS_FILE, "Error: ICE negotiation has not been started or is in progress")); - return; - } - */ - - if (comp_id<1||comp_id>pj_ice_strans_get_running_comp_cnt(icedemo.icest)) { - PJ_LOG(1,(THIS_FILE, "Error: invalid component ID")); - return; - } - - status = pj_ice_strans_sendto(icedemo.icest, comp_id, data, strlen(data), - &icedemo.rem.def_addr[comp_id-1], - pj_sockaddr_get_len(&icedemo.rem.def_addr[comp_id-1])); - if (status != PJ_SUCCESS) - icedemo_perror("Error sending data", status); - else - PJ_LOG(3,(THIS_FILE, "Data sent")); -} - - -/* - * Display help for the menu. - */ -static void icedemo_help_menu(void) -{ - puts(""); - puts("-= Help on using ICE and this icedemo program =-"); - puts(""); - puts("This application demonstrates how to use ICE in pjnath without having\n" - "to use the SIP protocol. To use this application, you will need to run\n" - "two instances of this application, to simulate two ICE agents.\n"); - - puts("Basic ICE flow:\n" - " create instance [menu \"c\"]\n" - " repeat these steps as wanted:\n" - " - init session as offerer or answerer [menu \"i\"]\n" - " - display our SDP [menu \"s\"]\n" - " - \"send\" our SDP from the \"show\" output above to remote, by\n" - " copy-pasting the SDP to the other icedemo application\n" - " - parse remote SDP, by pasting SDP generated by the other icedemo\n" - " instance [menu \"r\"]\n" - " - begin ICE negotiation in our end [menu \"b\"], and \n" - " - immediately begin ICE negotiation in the other icedemo instance\n" - " - ICE negotiation will run, and result will be printed to screen\n" - " - send application data to remote [menu \"x\"]\n" - " - end/stop ICE session [menu \"e\"]\n" - " destroy instance [menu \"d\"]\n" - ""); - - puts(""); - puts("This concludes the help screen."); - puts(""); -} - - -/* - * Display console menu - */ -static void icedemo_print_menu(void) -{ - puts(""); - puts("+----------------------------------------------------------------------+"); - puts("| M E N U |"); - puts("+---+------------------------------------------------------------------+"); - puts("| c | create Create the instance |"); - puts("| d | destroy Destroy the instance |"); - puts("| i | init o|a Initialize ICE session as offerer or answerer |"); - puts("| e | stop End/stop ICE session |"); - puts("| s | show Display local ICE info |"); - puts("| r | remote Input remote ICE info |"); - puts("| b | start Begin ICE negotiation |"); - puts("| x | send .. Send data to remote |"); - puts("+---+------------------------------------------------------------------+"); - puts("| h | help * Help! * |"); - puts("| q | quit Quit |"); - puts("+----------------------------------------------------------------------+"); -} - - -/* - * Main console loop. - */ -static void icedemo_console(void) -{ - pj_bool_t app_quit = PJ_FALSE; - - while (!app_quit) { - char input[80], *cmd; - const char *SEP = " \t\r\n"; - int len; - - icedemo_print_menu(); - - printf("Input: "); - if (stdout) fflush(stdout); - - pj_bzero(input, sizeof(input)); - if (fgets(input, sizeof(input), stdin) == NULL) - break; - - len = strlen(input); - while (len && (input[len-1]=='\r' || input[len-1]=='\n')) - input[--len] = '\0'; - - cmd = strtok(input, SEP); - if (!cmd) - continue; - - if (strcmp(cmd, "create")==0 || strcmp(cmd, "c")==0) { - - icedemo_create_instance(); - - } else if (strcmp(cmd, "destroy")==0 || strcmp(cmd, "d")==0) { - - icedemo_destroy_instance(); - - } else if (strcmp(cmd, "init")==0 || strcmp(cmd, "i")==0) { - - char *role = strtok(NULL, SEP); - if (role) - icedemo_init_session(*role); - else - puts("error: Role required"); - - } else if (strcmp(cmd, "stop")==0 || strcmp(cmd, "e")==0) { - - icedemo_stop_session(); - - } else if (strcmp(cmd, "show")==0 || strcmp(cmd, "s")==0) { - - icedemo_show_ice(); - - } else if (strcmp(cmd, "remote")==0 || strcmp(cmd, "r")==0) { - - icedemo_input_remote(); - - } else if (strcmp(cmd, "start")==0 || strcmp(cmd, "b")==0) { - - icedemo_start_nego(); - - } else if (strcmp(cmd, "send")==0 || strcmp(cmd, "x")==0) { - - char *comp = strtok(NULL, SEP); - - if (!comp) { - PJ_LOG(1,(THIS_FILE, "Error: component ID required")); - } else { - char *data = comp + strlen(comp) + 1; - if (!data) - data = ""; - icedemo_send_data(atoi(comp), data); - } - - } else if (strcmp(cmd, "help")==0 || strcmp(cmd, "h")==0) { - - icedemo_help_menu(); - - } else if (strcmp(cmd, "quit")==0 || strcmp(cmd, "q")==0) { - - app_quit = PJ_TRUE; - - } else { - - printf("Invalid command '%s'\n", cmd); - - } - } -} - - -/* - * Display program usage. - */ -static void icedemo_usage() -{ - puts("Usage: icedemo [optons]"); - printf("icedemo v%s by pjsip.org\n", pj_get_version()); - puts(""); - puts("General options:"); - puts(" --comp-cnt, -c N Component count (default=1)"); - puts(" --nameserver, -n IP Configure nameserver to activate DNS SRV"); - puts(" resolution"); - puts(" --max-host, -H N Set max number of host candidates to N"); - puts(" --regular, -R Use regular nomination (default aggressive)"); - puts(" --log-file, -L FILE Save output to log FILE"); - puts(" --help, -h Display this screen."); - puts(""); - puts("STUN related options:"); - puts(" --stun-srv, -s HOSTDOM Enable srflx candidate by resolving to STUN server."); - puts(" HOSTDOM may be a \"host_or_ip[:port]\" or a domain"); - puts(" name if DNS SRV resolution is used."); - puts(""); - puts("TURN related options:"); - puts(" --turn-srv, -t HOSTDOM Enable relayed candidate by using this TURN server."); - puts(" HOSTDOM may be a \"host_or_ip[:port]\" or a domain"); - puts(" name if DNS SRV resolution is used."); - puts(" --turn-tcp, -T Use TCP to connect to TURN server"); - puts(" --turn-username, -u UID Set TURN username of the credential to UID"); - puts(" --turn-password, -p PWD Set password of the credential to WPWD"); - puts(" --turn-fingerprint, -F Use fingerprint for outgoing TURN requests"); - puts(""); -} - - -/* - * And here's the main() - */ -int main(int argc, char *argv[]) -{ - struct pj_getopt_option long_options[] = { - { "comp-cnt", 1, 0, 'c'}, - { "nameserver", 1, 0, 'n'}, - { "max-host", 1, 0, 'H'}, - { "help", 0, 0, 'h'}, - { "stun-srv", 1, 0, 's'}, - { "turn-srv", 1, 0, 't'}, - { "turn-tcp", 0, 0, 'T'}, - { "turn-username", 1, 0, 'u'}, - { "turn-password", 1, 0, 'p'}, - { "turn-fingerprint", 0, 0, 'F'}, - { "regular", 0, 0, 'R'}, - { "log-file", 1, 0, 'L'}, - }; - int c, opt_id; - pj_status_t status; - - icedemo.opt.comp_cnt = 1; - icedemo.opt.max_host = -1; - - while((c=pj_getopt_long(argc,argv, "c:n:s:t:u:p:H:L:hTFR", long_options, &opt_id))!=-1) { - switch (c) { - case 'c': - icedemo.opt.comp_cnt = atoi(pj_optarg); - if (icedemo.opt.comp_cnt < 1 || icedemo.opt.comp_cnt >= PJ_ICE_MAX_COMP) { - puts("Invalid component count value"); - return 1; - } - break; - case 'n': - icedemo.opt.ns = pj_str(pj_optarg); - break; - case 'H': - icedemo.opt.max_host = atoi(pj_optarg); - break; - case 'h': - icedemo_usage(); - return 0; - case 's': - icedemo.opt.stun_srv = pj_str(pj_optarg); - break; - case 't': - icedemo.opt.turn_srv = pj_str(pj_optarg); - break; - case 'T': - icedemo.opt.turn_tcp = PJ_TRUE; - break; - case 'u': - icedemo.opt.turn_username = pj_str(pj_optarg); - break; - case 'p': - icedemo.opt.turn_password = pj_str(pj_optarg); - break; - case 'F': - icedemo.opt.turn_fingerprint = PJ_TRUE; - break; - case 'R': - icedemo.opt.regular = PJ_TRUE; - break; - case 'L': - icedemo.opt.log_file = pj_optarg; - break; - default: - printf("Argument \"%s\" is not valid. Use -h to see help", - argv[pj_optind]); - return 1; - } - } - - status = icedemo_init(); - if (status != PJ_SUCCESS) - return 1; - - icedemo_console(); - - err_exit("Quitting..", PJ_SUCCESS); - return 0; -} diff --git a/res/pjproject/pjsip-apps/src/samples/invtester.c b/res/pjproject/pjsip-apps/src/samples/invtester.c deleted file mode 100644 index f1f5a2033e..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/invtester.c +++ /dev/null @@ -1,295 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/** - * invtester.c - * - * Send INVITE/re-INVITE without SDP. - */ - - -/* Include all headers. */ -#include -#include -#include - -#define THIS_FILE "invtester.c" - -#define PORT 50060 -#define PORT_STR ":50060" -#define SAME_BRANCH 0 -#define ACK_HAS_SDP 1 - -static pjsip_endpoint *sip_endpt; -static pj_bool_t quit_flag; -static pjsip_dialog *dlg; - - -/* Callback to handle incoming requests. */ -static void on_tsx_state(pjsip_transaction *tsx, pjsip_event *event); - -static pjsip_module mod_app = -{ - NULL, NULL, /* prev, next. */ - { "mod-app", 7 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - NULL, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - &on_tsx_state /* on_tsx_state() */ -}; - - -/* Worker thread */ -static int worker_thread(void *arg) -{ - PJ_UNUSED_ARG(arg); - - while (!quit_flag) { - pj_time_val timeout = {0, 500}; - pjsip_endpt_handle_events(sip_endpt, &timeout); - } - - return 0; -} - -/* Send request */ -static void send_request(const pjsip_method *method, - int cseq, - const pj_str_t *branch, - pj_bool_t with_offer) -{ - pjsip_tx_data *tdata; - pj_str_t dummy_sdp_str = - { - "v=0\r\n" - "o=- 3360842071 3360842071 IN IP4 192.168.0.68\r\n" - "s=pjmedia\r\n" - "c=IN IP4 192.168.0.68\r\n" - "t=0 0\r\n" - "m=audio 4000 RTP/AVP 0 101\r\n" - "a=rtcp:4001 IN IP4 192.168.0.68\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "a=sendrecv\r\n" - "a=rtpmap:101 telephone-event/8000\r\n" - "a=fmtp:101 0-15\r\n", - 0 - }; - pj_status_t status; - - status = pjsip_dlg_create_request(dlg, method, cseq, &tdata); - pj_assert(status == PJ_SUCCESS); - - if (branch) { - pjsip_via_hdr *via; - - via = (pjsip_via_hdr*) pjsip_msg_find_hdr(tdata->msg, PJSIP_H_VIA, NULL); - pj_strdup(tdata->pool, &via->branch_param, branch); - } - - if (with_offer) { - pjsip_msg_body *body; - pj_str_t mime_application = { "application", 11}; - pj_str_t mime_sdp = {"sdp", 3}; - - - dummy_sdp_str.slen = pj_ansi_strlen(dummy_sdp_str.ptr); - body = pjsip_msg_body_create(tdata->pool, - &mime_application, &mime_sdp, - &dummy_sdp_str); - tdata->msg->body = body; - } - - status = pjsip_dlg_send_request(dlg, tdata, -1, NULL); - pj_assert(status == PJ_SUCCESS); -} - -/* Callback to handle incoming requests. */ -static void on_tsx_state(pjsip_transaction *tsx, pjsip_event *event) -{ - if (tsx->role == PJSIP_ROLE_UAC) { - if (tsx->method.id == PJSIP_INVITE_METHOD && tsx->state == PJSIP_TSX_STATE_TERMINATED) { -#if SAME_BRANCH - send_request(&pjsip_ack_method, tsx->cseq, &tsx->branch, ACK_HAS_SDP); -#else - send_request(&pjsip_ack_method, tsx->cseq, NULL, ACK_HAS_SDP); -#endif - } - - } else { - if (event->type == PJSIP_EVENT_RX_MSG && tsx->state == PJSIP_TSX_STATE_TRYING) { - pjsip_tx_data *tdata; - - pjsip_dlg_create_response(dlg, event->body.tsx_state.src.rdata, - 200, NULL, &tdata); - pjsip_dlg_send_response(dlg, tsx, tdata); - } - } -} - -/* make call */ -void make_call(char *uri, pj_bool_t with_offer) -{ - pj_str_t local = pj_str("sip:localhost" PORT_STR); - pj_str_t remote = pj_str(uri); - pj_status_t status; - - status = pjsip_dlg_create_uac(pjsip_ua_instance(), - &local, &local, &remote, &remote, &dlg); - pj_assert(status == PJ_SUCCESS); - - pjsip_dlg_inc_lock(dlg); - - status = pjsip_dlg_add_usage(dlg, &mod_app, NULL); - pj_assert(status == PJ_SUCCESS); - - pjsip_dlg_inc_session(dlg, &mod_app); - - send_request(&pjsip_invite_method, -1, NULL, with_offer); - - pjsip_dlg_dec_lock(dlg); -} - -/* reinvite */ -void reinvite(pj_bool_t with_offer) -{ - send_request(&pjsip_invite_method, -1, NULL, with_offer); -} - -/* hangup call */ -void hangup(void) -{ - send_request(&pjsip_bye_method, -1, NULL, PJ_FALSE); - pjsip_dlg_dec_session(dlg, &mod_app); -} - -/* - * main() - * - */ -int main(int argc, char *argv[]) -{ - pj_caching_pool cp; - pj_thread_t *thread; - pj_pool_t *pool; - pj_status_t status; - - if (argc != 2) { - puts("Error: destination URL needed"); - return 0; - } - - /* Must init PJLIB first: */ - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* Then init PJLIB-UTIL: */ - status = pjlib_util_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&cp, &pj_pool_factory_default_policy, 0); - - - /* Create the endpoint: */ - status = pjsip_endpt_create(&cp.factory, "sipstateless", - &sip_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* - * Add UDP transport, with hard-coded port - */ - { - pj_sockaddr_in addr; - - addr.sin_family = pj_AF_INET(); - addr.sin_addr.s_addr = 0; - addr.sin_port = pj_htons(PORT); - - status = pjsip_udp_transport_start( sip_endpt, &addr, NULL, 1, NULL); - if (status != PJ_SUCCESS) { - PJ_LOG(3,(THIS_FILE, - "Error starting UDP transport (port in use?)")); - return 1; - } - } - - status = pjsip_tsx_layer_init_module(sip_endpt); - pj_assert(status == PJ_SUCCESS); - - status = pjsip_ua_init_module(sip_endpt, NULL); - pj_assert(status == PJ_SUCCESS); - - /* - * Register our module to receive incoming requests. - */ - status = pjsip_endpt_register_module( sip_endpt, &mod_app); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - pool = pjsip_endpt_create_pool(sip_endpt, "", 1000, 1000); - - status = pj_thread_create(pool, "", &worker_thread, NULL, 0, 0, &thread); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - printf("Destination URL: %s\n", argv[1]); - - for (;;) { - char line[10]; - - fgets(line, sizeof(line), stdin); - - switch (line[0]) { - case 'm': - make_call(argv[1], PJ_FALSE); - break; - case 'M': - make_call(argv[1], PJ_TRUE); - break; - case 'r': - reinvite(PJ_FALSE); - break; - case 'R': - reinvite(PJ_TRUE); - break; - case 'h': - hangup(); - break; - case 'q': - goto on_quit; - } - } - -on_quit: - quit_flag = 1; - pj_thread_join(thread); - - pjsip_endpt_destroy(sip_endpt); - pj_caching_pool_destroy(&cp); - pj_shutdown(); - return 0; -} - diff --git a/res/pjproject/pjsip-apps/src/samples/jbsim.c b/res/pjproject/pjsip-apps/src/samples/jbsim.c deleted file mode 100644 index 27b112841c..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/jbsim.c +++ /dev/null @@ -1,1141 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* jbsim: - - This program emulates various system and network impairment - conditions as well as application parameters and apply it to - an input WAV file. The output is another WAV file as well as - a detailed log file (in CSV format) for troubleshooting. - */ - - -/* Include PJMEDIA and PJLIB */ -#include -#include -#include -#include - -#define THIS_FILE "jbsim.c" - -/* Timer resolution in ms (must be NONZERO!) */ -#define WALL_CLOCK_TICK 1 - -/* Defaults settings */ -#define CODEC "PCMU" -#define LOG_FILE "jbsim.csv" -#define WAV_REF "../../tests/pjsua/wavs/input.8.wav" -#define WAV_OUT "jbsim.wav" -#define DURATION 60 -#define DTX PJ_TRUE -#define PLC PJ_TRUE -#define MIN_LOST_BURST 0 -#define MAX_LOST_BURST 20 -#define LOSS_CORR 0 -#define LOSS_EXTRA 2 -#define SILENT 1 - -/* - Test setup: - - Input WAV --> TX Stream --> Loop transport --> RX Stream --> Out WAV - */ - -/* Stream settings */ -struct stream_cfg -{ - const char *name; /* for logging purposes */ - pjmedia_dir dir; /* stream direction */ - pj_str_t codec; /* codec name */ - unsigned ptime; /* zero for default */ - pj_bool_t dtx; /* DTX enabled? */ - pj_bool_t plc; /* PLC enabled? */ -}; - -/* Stream instance. We will instantiate two streams, TX and RX */ -struct stream -{ - pj_pool_t *pool; - pjmedia_stream *strm; - pjmedia_port *port; - - /* - * Running states: - */ - union { - /* TX stream state */ - struct { - pj_time_val next_schedule; /* Time to send next packet */ - unsigned total_tx; /* # of TX packets so far */ - int total_lost; /* # of dropped pkts so far */ - unsigned cur_lost_burst; /* current # of lost bursts */ - unsigned drop_prob; /* drop probability value */ - - } tx; - - /* RX stream state */ - struct { - pj_time_val next_schedule; /* Time to fetch next pkt */ - } rx; - } state; -}; - -/* - * Logging - */ - -/* Events names */ -#define EVENT_LOG "" -#define EVENT_TX "TX/PUT" -#define EVENT_TX_DROP "*** LOSS ***" -#define EVENT_GET_PRE "GET (pre)" -#define EVENT_GET_POST "GET (post)" - - -/* Logging entry */ -struct log_entry -{ - pj_time_val wall_clock; /* Wall clock time */ - const char *event; /* Event name */ - pjmedia_jb_state *jb_state; /* JB state, optional */ - pjmedia_rtcp_stat *stat; /* Stream stat, optional */ - const char *log; /* Log message, optional */ -}; - -/* Test settings, taken from command line */ -struct test_cfg -{ - /* General options */ - pj_bool_t silent; /* Write little to stdout */ - const char *log_file; /* The output log file */ - - /* Test settings */ - pj_str_t codec; /* Codec to be used */ - unsigned duration_msec; /* Test duration */ - - /* Transmitter setting */ - const char *tx_wav_in; /* Input/reference WAV */ - unsigned tx_ptime; /* TX stream ptime */ - unsigned tx_min_jitter; /* Minimum jitter in ms */ - unsigned tx_max_jitter; /* Max jitter in ms */ - unsigned tx_dtx; /* DTX enabled? */ - unsigned tx_pct_avg_lost; /* Average loss in percent */ - unsigned tx_min_lost_burst; /* Min lost burst in #pkt */ - unsigned tx_max_lost_burst; /* Max lost burst in #pkt */ - unsigned tx_pct_loss_corr; /* Loss correlation in pct */ - - /* Receiver setting */ - const char *rx_wav_out; /* Output WAV file */ - unsigned rx_ptime; /* RX stream ptime */ - unsigned rx_snd_burst; /* RX sound burst */ - pj_bool_t rx_plc; /* RX PLC enabled? */ - int rx_jb_init; /* if > 0 will enable prefetch (ms) */ - int rx_jb_min_pre; /* JB minimum prefetch (ms) */ - int rx_jb_max_pre; /* JB maximum prefetch (ms) */ - int rx_jb_max; /* JB maximum size (ms) */ -}; - -/* - * Global var - */ -struct global_app -{ - pj_caching_pool cp; - pj_pool_t *pool; - pj_int16_t *framebuf; - pjmedia_endpt *endpt; - pjmedia_transport *loop; - - pj_oshandle_t log_fd; - - struct test_cfg cfg; - - struct stream *tx; - pjmedia_port *tx_wav; - - struct stream *rx; - pjmedia_port *rx_wav; - - pj_time_val wall_clock; -}; - -static struct global_app g_app; - - -#ifndef MAX -# define MAX(a,b) (ajb_state) { - sprintf(s_jbprefetch, "%d", entry->jb_state->prefetch); - sprintf(s_jbsize, "%d", entry->jb_state->size); - sprintf(s_jbdiscard, "%d", entry->jb_state->discard); - sprintf(s_jbempty, "%d", entry->jb_state->empty); - } else { - strcpy(s_jbprefetch, ""); - strcpy(s_jbsize, ""); - strcpy(s_jbdiscard, ""); - strcpy(s_jbempty, ""); - } - - if (entry->stat) { - sprintf(s_rxpkt, "%d", entry->stat->rx.pkt); - sprintf(s_losspkt, "%d", entry->stat->rx.loss); - } else { - strcpy(s_rxpkt, ""); - strcpy(s_losspkt, ""); - } - - if (entry->log == NULL) - entry->log = ""; - - pj_ansi_snprintf(log, sizeof(log), - "'%d.%03d;" /* time */ - "%s;" /* event */ - "%s;" /* rxpkt */ - "%s;" /* jb prefetch */ - "%s;" /* jbsize */ - "%s;" /* losspkt */ - "%s;" /* jbdiscard */ - "%s;" /* jbempty */ - "%s\n" /* logmsg */, - - (int)entry->wall_clock.sec, (int)entry->wall_clock.msec, /* time */ - entry->event, - s_rxpkt, - s_losspkt, - s_jbprefetch, - s_jbsize, - s_jbdiscard, - s_jbempty, - entry->log - ); - if (g_app.log_fd != NULL) { - pj_ssize_t size = strlen(log); - pj_file_write(g_app.log_fd, log, &size); - } - - if (to_stdout && !g_app.cfg.silent) - printf("%s", log); -} - -static void log_cb(int level, const char *data, int len) -{ - struct log_entry entry; - - /* Write to stdout */ - pj_log_write(level, data, len); - puts(""); - - /* Also add to CSV file */ - pj_bzero(&entry, sizeof(entry)); - entry.event = EVENT_LOG; - entry.log = data; - entry.wall_clock = g_app.wall_clock; - write_log(&entry, PJ_FALSE); -} - -static void jbsim_perror(const char *title, pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(1,(THIS_FILE, "%s: %s", title, errmsg)); -} - -/***************************************************************************** - * stream - */ - -static void stream_destroy(struct stream *stream) -{ - if (stream->strm) - pjmedia_stream_destroy(stream->strm); - if (stream->pool) - pj_pool_release(stream->pool); -} - -static pj_status_t stream_init(const struct stream_cfg *cfg, struct stream **p_stream) -{ - pj_pool_t *pool = NULL; - struct stream *stream = NULL; - pjmedia_codec_mgr *cm; - unsigned count; - const pjmedia_codec_info *ci; - pjmedia_stream_info si; - pj_status_t status; - - /* Create instance */ - pool = pj_pool_create(&g_app.cp.factory, cfg->name, 512, 512, NULL); - stream = PJ_POOL_ZALLOC_T(pool, struct stream); - stream->pool = pool; - - /* Create stream info */ - pj_bzero(&si, sizeof(si)); - si.type = PJMEDIA_TYPE_AUDIO; - si.proto = PJMEDIA_TP_PROTO_RTP_AVP; - si.dir = cfg->dir; - pj_sockaddr_in_init(&si.rem_addr.ipv4, NULL, 4000); /* dummy */ - pj_sockaddr_in_init(&si.rem_rtcp.ipv4, NULL, 4001); /* dummy */ - - /* Apply JB settings if this is RX direction */ - if (cfg->dir == PJMEDIA_DIR_DECODING) { - si.jb_init = g_app.cfg.rx_jb_init; - si.jb_min_pre = g_app.cfg.rx_jb_min_pre; - si.jb_max_pre = g_app.cfg.rx_jb_max_pre; - si.jb_max = g_app.cfg.rx_jb_max; - } - - /* Get the codec info and param */ - cm = pjmedia_endpt_get_codec_mgr(g_app.endpt); - count = 1; - status = pjmedia_codec_mgr_find_codecs_by_id(cm, &cfg->codec, &count, &ci, NULL); - if (status != PJ_SUCCESS) { - jbsim_perror("Unable to find codec", status); - goto on_error; - } - - pj_memcpy(&si.fmt, ci, sizeof(*ci)); - - si.param = PJ_POOL_ALLOC_T(pool, struct pjmedia_codec_param); - status = pjmedia_codec_mgr_get_default_param(cm, &si.fmt, si.param); - if (status != PJ_SUCCESS) { - jbsim_perror("Unable to get codec defaults", status); - goto on_error; - } - - si.tx_pt = si.fmt.pt; - - /* Apply ptime setting */ - if (cfg->ptime) { - si.param->setting.frm_per_pkt = (pj_uint8_t) - ((cfg->ptime + si.param->info.frm_ptime - 1) / - si.param->info.frm_ptime); - } - /* Apply DTX setting */ - si.param->setting.vad = cfg->dtx; - - /* Apply PLC setting */ - si.param->setting.plc = cfg->plc; - - /* Create stream */ - status = pjmedia_stream_create(g_app.endpt, pool, &si, g_app.loop, NULL, &stream->strm); - if (status != PJ_SUCCESS) { - jbsim_perror("Error creating stream", status); - goto on_error; - } - - status = pjmedia_stream_get_port(stream->strm, &stream->port); - if (status != PJ_SUCCESS) { - jbsim_perror("Error retrieving stream", status); - goto on_error; - } - - /* Start stream */ - status = pjmedia_stream_start(stream->strm); - if (status != PJ_SUCCESS) { - jbsim_perror("Error starting stream", status); - goto on_error; - } - - /* Done */ - *p_stream = stream; - return PJ_SUCCESS; - -on_error: - if (stream) { - stream_destroy(stream); - } else { - if (pool) - pj_pool_release(pool); - } - return status; -} - - -/***************************************************************************** - * The test session - */ -static void test_destroy(void) -{ - if (g_app.tx) - stream_destroy(g_app.tx); - if (g_app.tx_wav) - pjmedia_port_destroy(g_app.tx_wav); - if (g_app.rx) - stream_destroy(g_app.rx); - if (g_app.rx_wav) - pjmedia_port_destroy(g_app.rx_wav); - if (g_app.loop) - pjmedia_transport_close(g_app.loop); - if (g_app.endpt) - pjmedia_endpt_destroy( g_app.endpt ); - if (g_app.log_fd) { - pj_log_set_log_func(&pj_log_write); - pj_log_set_decor(pj_log_get_decor() | PJ_LOG_HAS_NEWLINE); - pj_file_close(g_app.log_fd); - g_app.log_fd = NULL; - } - if (g_app.pool) - pj_pool_release(g_app.pool); - pj_caching_pool_destroy( &g_app.cp ); - pj_shutdown(); -} - - -static pj_status_t test_init(void) -{ - struct stream_cfg strm_cfg; - pj_status_t status; - - /* Must init PJLIB first: */ - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&g_app.cp, &pj_pool_factory_default_policy, 0); - - /* Pool */ - g_app.pool = pj_pool_create(&g_app.cp.factory, "g_app", 512, 512, NULL); - - /* Log file */ - if (g_app.cfg.log_file) { - status = pj_file_open(g_app.pool, g_app.cfg.log_file, - PJ_O_WRONLY, - &g_app.log_fd); - if (status != PJ_SUCCESS) { - jbsim_perror("Error writing output file", status); - goto on_error; - } - - pj_log_set_decor(PJ_LOG_HAS_SENDER | PJ_LOG_HAS_COLOR | PJ_LOG_HAS_LEVEL_TEXT); - pj_log_set_log_func(&log_cb); - } - - /* - * Initialize media endpoint. - * This will implicitly initialize PJMEDIA too. - */ - status = pjmedia_endpt_create(&g_app.cp.factory, NULL, 0, &g_app.endpt); - if (status != PJ_SUCCESS) { - jbsim_perror("Error creating media endpoint", status); - goto on_error; - } - - /* Register codecs */ - pjmedia_codec_register_audio_codecs(g_app.endpt, NULL); - - /* Create the loop transport */ - status = pjmedia_transport_loop_create(g_app.endpt, &g_app.loop); - if (status != PJ_SUCCESS) { - jbsim_perror("Error creating loop transport", status); - goto on_error; - } - - /* Create transmitter stream */ - pj_bzero(&strm_cfg, sizeof(strm_cfg)); - strm_cfg.name = "tx"; - strm_cfg.dir = PJMEDIA_DIR_ENCODING; - strm_cfg.codec = g_app.cfg.codec; - strm_cfg.ptime = g_app.cfg.tx_ptime; - strm_cfg.dtx = g_app.cfg.tx_dtx; - strm_cfg.plc = PJ_TRUE; - status = stream_init(&strm_cfg, &g_app.tx); - if (status != PJ_SUCCESS) - goto on_error; - - /* Create transmitter WAV */ - status = pjmedia_wav_player_port_create(g_app.pool, - g_app.cfg.tx_wav_in, - g_app.cfg.tx_ptime, - 0, - 0, - &g_app.tx_wav); - if (status != PJ_SUCCESS) { - jbsim_perror("Error reading input WAV file", status); - goto on_error; - } - - /* Make sure stream and WAV parameters match */ - if (PJMEDIA_PIA_SRATE(&g_app.tx_wav->info) != PJMEDIA_PIA_SRATE(&g_app.tx->port->info) || - PJMEDIA_PIA_CCNT(&g_app.tx_wav->info) != PJMEDIA_PIA_CCNT(&g_app.tx->port->info)) - { - jbsim_perror("Error: Input WAV file has different clock rate " - "or number of channels than the codec", PJ_SUCCESS); - goto on_error; - } - - - /* Create receiver */ - pj_bzero(&strm_cfg, sizeof(strm_cfg)); - strm_cfg.name = "rx"; - strm_cfg.dir = PJMEDIA_DIR_DECODING; - strm_cfg.codec = g_app.cfg.codec; - strm_cfg.ptime = g_app.cfg.rx_ptime; - strm_cfg.dtx = PJ_TRUE; - strm_cfg.plc = g_app.cfg.rx_plc; - status = stream_init(&strm_cfg, &g_app.rx); - if (status != PJ_SUCCESS) - goto on_error; - - /* Create receiver WAV */ - status = pjmedia_wav_writer_port_create(g_app.pool, - g_app.cfg.rx_wav_out, - PJMEDIA_PIA_SRATE(&g_app.rx->port->info), - PJMEDIA_PIA_CCNT(&g_app.rx->port->info), - PJMEDIA_PIA_SPF(&g_app.rx->port->info), - PJMEDIA_PIA_BITS(&g_app.rx->port->info), - 0, - 0, - &g_app.rx_wav); - if (status != PJ_SUCCESS) { - jbsim_perror("Error creating output WAV file", status); - goto on_error; - } - - - /* Frame buffer */ - g_app.framebuf = (pj_int16_t*) - pj_pool_alloc(g_app.pool, - MAX(PJMEDIA_PIA_SPF(&g_app.rx->port->info), - PJMEDIA_PIA_SPF(&g_app.tx->port->info)) * sizeof(pj_int16_t)); - - - /* Set the receiver in the loop transport */ - pjmedia_transport_loop_disable_rx(g_app.loop, g_app.tx->strm, PJ_TRUE); - - /* Done */ - return PJ_SUCCESS; - -on_error: - test_destroy(); - return status; -} - -static void run_one_frame(pjmedia_port *src, pjmedia_port *dst, - pj_bool_t *has_frame) -{ - pjmedia_frame frame; - pj_status_t status; - - pj_bzero(&frame, sizeof(frame)); - frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - frame.buf = g_app.framebuf; - frame.size = PJMEDIA_PIA_SPF(&dst->info) * 2; - - status = pjmedia_port_get_frame(src, &frame); - pj_assert(status == PJ_SUCCESS); - - if (status!= PJ_SUCCESS || frame.type != PJMEDIA_FRAME_TYPE_AUDIO) { - frame.buf = g_app.framebuf; - pjmedia_zero_samples(g_app.framebuf, PJMEDIA_PIA_SPF(&src->info)); - frame.size = PJMEDIA_PIA_SPF(&src->info) * 2; - if (has_frame) - *has_frame = PJ_FALSE; - } else { - if (has_frame) - *has_frame = PJ_TRUE; - } - - - status = pjmedia_port_put_frame(dst, &frame); - pj_assert(status == PJ_SUCCESS); -} - - -/* This is the transmission "tick". - * This function is called periodically every "tick" milliseconds, and - * it will determine whether to transmit packet(s) (or to drop it). - */ -static void tx_tick(const pj_time_val *t) -{ - struct stream *strm = g_app.tx; - static char log_msg[120]; - pjmedia_port *port = g_app.tx->port; - long pkt_interval; - - /* packet interval, without jitter */ - pkt_interval = PJMEDIA_PIA_SPF(&port->info) * 1000 / - PJMEDIA_PIA_SRATE(&port->info); - - while (PJ_TIME_VAL_GTE(*t, strm->state.tx.next_schedule)) { - struct log_entry entry; - pj_bool_t drop_this_pkt = PJ_FALSE; - int jitter; - - /* Init log entry */ - pj_bzero(&entry, sizeof(entry)); - entry.wall_clock = *t; - - /* - * Determine whether to drop this packet - */ - if (strm->state.tx.cur_lost_burst) { - /* We are currently dropping packet */ - - /* Make it comply to minimum lost burst */ - if (strm->state.tx.cur_lost_burst < g_app.cfg.tx_min_lost_burst) { - drop_this_pkt = PJ_TRUE; - } - - /* Correlate the next packet loss */ - if (!drop_this_pkt && - strm->state.tx.cur_lost_burst < g_app.cfg.tx_max_lost_burst && - MAX(strm->state.tx.total_lost-LOSS_EXTRA,0) * 100 / MAX(strm->state.tx.total_tx,1) < g_app.cfg.tx_pct_avg_lost - ) - { - strm->state.tx.drop_prob = ((g_app.cfg.tx_pct_loss_corr * strm->state.tx.drop_prob) + - ((100-g_app.cfg.tx_pct_loss_corr) * (pj_rand()%100)) - ) / 100; - if (strm->state.tx.drop_prob >= 100) - strm->state.tx.drop_prob = 99; - - if (strm->state.tx.drop_prob >= 100 - g_app.cfg.tx_pct_avg_lost) - drop_this_pkt = PJ_TRUE; - } - } - - /* If we're not dropping packet then use randomly distributed loss */ - if (!drop_this_pkt && - MAX(strm->state.tx.total_lost-LOSS_EXTRA,0) * 100 / MAX(strm->state.tx.total_tx,1) < g_app.cfg.tx_pct_avg_lost) - { - strm->state.tx.drop_prob = pj_rand() % 100; - - if (strm->state.tx.drop_prob >= 100 - g_app.cfg.tx_pct_avg_lost) - drop_this_pkt = PJ_TRUE; - } - - if (drop_this_pkt) { - /* Drop the frame */ - pjmedia_transport_simulate_lost(g_app.loop, PJMEDIA_DIR_ENCODING, 100); - run_one_frame(g_app.tx_wav, g_app.tx->port, NULL); - pjmedia_transport_simulate_lost(g_app.loop, PJMEDIA_DIR_ENCODING, 0); - - entry.event = EVENT_TX_DROP; - entry.log = "** This packet was lost **"; - - ++strm->state.tx.total_lost; - ++strm->state.tx.cur_lost_burst; - - } else { - pjmedia_rtcp_stat stat; - pjmedia_jb_state jstate; - unsigned last_discard; - - pjmedia_stream_get_stat_jbuf(g_app.rx->strm, &jstate); - last_discard = jstate.discard; - - run_one_frame(g_app.tx_wav, g_app.tx->port, NULL); - - pjmedia_stream_get_stat(g_app.rx->strm, &stat); - pjmedia_stream_get_stat_jbuf(g_app.rx->strm, &jstate); - - entry.event = EVENT_TX; - entry.jb_state = &jstate; - entry.stat = &stat; - entry.log = log_msg; - - if (jstate.discard > last_discard) - strcat(log_msg, "** Note: packet was discarded by jitter buffer **"); - - strm->state.tx.cur_lost_burst = 0; - } - - write_log(&entry, PJ_TRUE); - - ++strm->state.tx.total_tx; - - /* Calculate next schedule */ - strm->state.tx.next_schedule.sec = 0; - strm->state.tx.next_schedule.msec = (strm->state.tx.total_tx + 1) * pkt_interval; - - /* Apply jitter */ - if (g_app.cfg.tx_max_jitter || g_app.cfg.tx_min_jitter) { - - if (g_app.cfg.tx_max_jitter == g_app.cfg.tx_min_jitter) { - /* Fixed jitter */ - switch (pj_rand() % 3) { - case 0: - jitter = 0 - g_app.cfg.tx_min_jitter; - break; - case 2: - jitter = g_app.cfg.tx_min_jitter; - break; - default: - jitter = 0; - break; - } - } else { - int jitter_range; - jitter_range = (g_app.cfg.tx_max_jitter-g_app.cfg.tx_min_jitter)*2; - jitter = pj_rand() % jitter_range; - if (jitter < jitter_range/2) { - jitter = 0 - g_app.cfg.tx_min_jitter - (jitter/2); - } else { - jitter = g_app.cfg.tx_min_jitter + (jitter/2); - } - } - - } else { - jitter = 0; - } - - pj_time_val_normalize(&strm->state.tx.next_schedule); - - sprintf(log_msg, "** Packet #%u tick is at %d.%03d, %d ms jitter applied **", - strm->state.tx.total_tx+1, - (int)strm->state.tx.next_schedule.sec, (int)strm->state.tx.next_schedule.msec, - jitter); - - strm->state.tx.next_schedule.msec += jitter; - pj_time_val_normalize(&strm->state.tx.next_schedule); - - } /* while */ -} - - -/* This is the RX "tick". - * This function is called periodically every "tick" milliseconds, and - * it will determine whether to call get_frame() from the RX stream. - */ -static void rx_tick(const pj_time_val *t) -{ - struct stream *strm = g_app.rx; - pjmedia_port *port = g_app.rx->port; - long pkt_interval; - - pkt_interval = PJMEDIA_PIA_SPF(&port->info) * 1000 / - PJMEDIA_PIA_SRATE(&port->info) * - g_app.cfg.rx_snd_burst; - - if (PJ_TIME_VAL_GTE(*t, strm->state.rx.next_schedule)) { - unsigned i; - for (i=0; istrm, &stat); - pjmedia_stream_get_stat_jbuf(g_app.rx->strm, &jstate); - last_empty = jstate.empty; - - /* Pre GET event */ - pj_bzero(&entry, sizeof(entry)); - entry.event = EVENT_GET_PRE; - entry.wall_clock = *t; - entry.stat = &stat; - entry.jb_state = &jstate; - - write_log(&entry, PJ_TRUE); - - /* GET */ - run_one_frame(g_app.rx->port, g_app.rx_wav, &has_frame); - - /* Post GET event */ - pjmedia_stream_get_stat(g_app.rx->strm, &stat); - pjmedia_stream_get_stat_jbuf(g_app.rx->strm, &jstate); - - pj_bzero(&entry, sizeof(entry)); - entry.event = EVENT_GET_POST; - entry.wall_clock = *t; - entry.stat = &stat; - entry.jb_state = &jstate; - - msg[0] = '\0'; - entry.log = msg; - - if (jstate.empty > last_empty) - strcat(msg, "** JBUF was empty **"); - if (!has_frame) - strcat(msg, "** NULL frame was returned **"); - - write_log(&entry, PJ_TRUE); - - } - - - strm->state.rx.next_schedule.msec += pkt_interval; - pj_time_val_normalize(&strm->state.rx.next_schedule); - } - -} - -static void test_loop(long duration) -{ - g_app.wall_clock.sec = 0; - g_app.wall_clock.msec = 0; - - while (PJ_TIME_VAL_MSEC(g_app.wall_clock) <= duration) { - - /* Run TX tick */ - tx_tick(&g_app.wall_clock); - - /* Run RX tick */ - rx_tick(&g_app.wall_clock); - - /* Increment tick */ - g_app.wall_clock.msec += WALL_CLOCK_TICK; - pj_time_val_normalize(&g_app.wall_clock); - } -} - - -/***************************************************************************** - * usage() - */ -enum { - OPT_CODEC = 'c', - OPT_INPUT = 'i', - OPT_OUTPUT = 'o', - OPT_DURATION = 'd', - OPT_LOG_FILE = 'l', - OPT_LOSS = 'x', - OPT_MIN_JITTER = 'j', - OPT_MAX_JITTER = 'J', - OPT_SND_BURST = 'b', - OPT_TX_PTIME = 't', - OPT_RX_PTIME = 'r', - OPT_NO_VAD = 'U', - OPT_NO_PLC = 'p', - OPT_JB_PREFETCH = 'P', - OPT_JB_MIN_PRE = 'm', - OPT_JB_MAX_PRE = 'M', - OPT_JB_MAX = 'X', - OPT_HELP = 'h', - OPT_MIN_LOST_BURST = 1, - OPT_MAX_LOST_BURST, - OPT_LOSS_CORR, -}; - - -static void usage(void) -{ - printf("jbsim - System and network impairments simulator\n"); - printf("Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)\n"); - printf("\n"); - printf("This program emulates various system and network impairment\n"); - printf("conditions as well as application parameters and apply it to\n"); - printf("an input WAV file. The output is another WAV file as well as\n"); - printf("a detailed log file (in CSV format) for troubleshooting.\n"); - printf("\n"); - printf("Usage:\n"); - printf(" jbsim [OPTIONS]\n"); - printf("\n"); - printf("General OPTIONS:\n"); - printf(" --codec, -%c NAME Set the audio codec\n", OPT_CODEC); - printf(" Default: %s\n", CODEC); - printf(" --input, -%c FILE Set WAV reference file to FILE\n", OPT_INPUT); - printf(" Default: " WAV_REF "\n"); - printf(" --output, -%c FILE Set WAV output file to FILE\n", OPT_OUTPUT); - printf(" Default: " WAV_OUT "\n"); - printf(" --duration, -%c SEC Set test duration to SEC seconds\n", OPT_DURATION); - printf(" Default: %d\n", DURATION); - printf(" --log-file, -%c FILE Save simulation log file to FILE\n", OPT_LOG_FILE); - printf(" Note: FILE will be in CSV format with semicolon separator\n"); - printf(" Default: %s\n", LOG_FILE); - printf(" --help, -h Display this screen\n"); - printf("\n"); - printf("Simulation OPTIONS:\n"); - printf(" --loss, -%c PCT Set packet average loss to PCT percent\n", OPT_LOSS); - printf(" Default: 0\n"); - printf(" --loss-corr PCT Set the loss correlation to PCT percent. Default: 0\n"); - printf(" --min-lost-burst N Set minimum packet lost burst (default:%d)\n", MIN_LOST_BURST); - printf(" --max-lost-burst N Set maximum packet lost burst (default:%d)\n", MAX_LOST_BURST); - printf(" --min-jitter, -%c MSEC Set minimum network jitter to MSEC\n", OPT_MIN_JITTER); - printf(" Default: 0\n"); - printf(" --max-jitter, -%c MSEC Set maximum network jitter to MSEC\n", OPT_MAX_JITTER); - printf(" Default: 0\n"); - printf(" --snd-burst, -%c VAL Set RX sound burst value to VAL frames.\n", OPT_SND_BURST); - printf(" Default: 1\n"); - printf(" --tx-ptime, -%c MSEC Set transmitter ptime to MSEC\n", OPT_TX_PTIME); - printf(" Default: 0 (not set, use default)\n"); - printf(" --rx-ptime, -%c MSEC Set receiver ptime to MSEC\n", OPT_RX_PTIME); - printf(" Default: 0 (not set, use default)\n"); - printf(" --no-vad, -%c Disable VAD/DTX in transmitter\n", OPT_NO_VAD); - printf(" --no-plc, -%c Disable PLC in receiver\n", OPT_NO_PLC); - printf(" --jb-prefetch, -%c Enable prefetch bufferring in jitter buffer\n", OPT_JB_PREFETCH); - printf(" --jb-min-pre, -%c MSEC Jitter buffer minimum prefetch delay in msec\n", OPT_JB_MIN_PRE); - printf(" --jb-max-pre, -%c MSEC Jitter buffer maximum prefetch delay in msec\n", OPT_JB_MAX_PRE); - printf(" --jb-max, -%c MSEC Set maximum delay that can be accomodated by the\n", OPT_JB_MAX); - printf(" jitter buffer msec.\n"); -} - - -static int init_options(int argc, char *argv[]) -{ - struct pj_getopt_option long_options[] = { - { "codec", 1, 0, OPT_CODEC }, - { "input", 1, 0, OPT_INPUT }, - { "output", 1, 0, OPT_OUTPUT }, - { "duration", 1, 0, OPT_DURATION }, - { "log-file", 1, 0, OPT_LOG_FILE}, - { "loss", 1, 0, OPT_LOSS }, - { "min-lost-burst", 1, 0, OPT_MIN_LOST_BURST}, - { "max-lost-burst", 1, 0, OPT_MAX_LOST_BURST}, - { "loss-corr", 1, 0, OPT_LOSS_CORR}, - { "min-jitter", 1, 0, OPT_MIN_JITTER }, - { "max-jitter", 1, 0, OPT_MAX_JITTER }, - { "snd-burst", 1, 0, OPT_SND_BURST }, - { "tx-ptime", 1, 0, OPT_TX_PTIME }, - { "rx-ptime", 1, 0, OPT_RX_PTIME }, - { "no-vad", 0, 0, OPT_NO_VAD }, - { "no-plc", 0, 0, OPT_NO_PLC }, - { "jb-prefetch", 0, 0, OPT_JB_PREFETCH }, - { "jb-min-pre", 1, 0, OPT_JB_MIN_PRE }, - { "jb-max-pre", 1, 0, OPT_JB_MAX_PRE }, - { "jb-max", 1, 0, OPT_JB_MAX }, - { "help", 0, 0, OPT_HELP}, - { NULL, 0, 0, 0 }, - }; - int c; - int option_index; - char format[128]; - - /* Init default config */ - g_app.cfg.codec = pj_str(CODEC); - g_app.cfg.duration_msec = DURATION * 1000; - g_app.cfg.silent = SILENT; - g_app.cfg.log_file = LOG_FILE; - g_app.cfg.tx_wav_in = WAV_REF; - g_app.cfg.tx_ptime = 0; - g_app.cfg.tx_min_jitter = 0; - g_app.cfg.tx_max_jitter = 0; - g_app.cfg.tx_dtx = DTX; - g_app.cfg.tx_pct_avg_lost = 0; - g_app.cfg.tx_min_lost_burst = MIN_LOST_BURST; - g_app.cfg.tx_max_lost_burst = MAX_LOST_BURST; - g_app.cfg.tx_pct_loss_corr = LOSS_CORR; - - g_app.cfg.rx_wav_out = WAV_OUT; - g_app.cfg.rx_ptime = 0; - g_app.cfg.rx_plc = PLC; - g_app.cfg.rx_snd_burst = 1; - g_app.cfg.rx_jb_init = -1; - g_app.cfg.rx_jb_min_pre = -1; - g_app.cfg.rx_jb_max_pre = -1; - g_app.cfg.rx_jb_max = -1; - - /* Build format */ - format[0] = '\0'; - for (c=0; c 100) { - puts("Error: Invalid loss value?"); - return 1; - } - break; - case OPT_MIN_LOST_BURST: - g_app.cfg.tx_min_lost_burst = atoi(pj_optarg); - break; - case OPT_MAX_LOST_BURST: - g_app.cfg.tx_max_lost_burst = atoi(pj_optarg); - break; - case OPT_LOSS_CORR: - g_app.cfg.tx_pct_loss_corr = atoi(pj_optarg); - if (g_app.cfg.tx_pct_avg_lost > 100) { - puts("Error: Loss correlation is in percentage, value is not valid?"); - return 1; - } - break; - case OPT_MIN_JITTER: - g_app.cfg.tx_min_jitter = atoi(pj_optarg); - break; - case OPT_MAX_JITTER: - g_app.cfg.tx_max_jitter = atoi(pj_optarg); - break; - case OPT_SND_BURST: - g_app.cfg.rx_snd_burst = atoi(pj_optarg); - break; - case OPT_TX_PTIME: - g_app.cfg.tx_ptime = atoi(pj_optarg); - break; - case OPT_RX_PTIME: - g_app.cfg.rx_ptime = atoi(pj_optarg); - break; - case OPT_NO_VAD: - g_app.cfg.tx_dtx = PJ_FALSE; - break; - case OPT_NO_PLC: - g_app.cfg.rx_plc = PJ_FALSE; - break; - case OPT_JB_PREFETCH: - g_app.cfg.rx_jb_init = 1; - break; - case OPT_JB_MIN_PRE: - g_app.cfg.rx_jb_min_pre = atoi(pj_optarg); - break; - case OPT_JB_MAX_PRE: - g_app.cfg.rx_jb_max_pre = atoi(pj_optarg); - break; - case OPT_JB_MAX: - g_app.cfg.rx_jb_max = atoi(pj_optarg); - break; - case OPT_HELP: - usage(); - return 1; - default: - usage(); - return 1; - } - } - - /* Check for orphaned params */ - if (pj_optind < argc) { - usage(); - return 1; - } - - /* Normalize options */ - if (g_app.cfg.rx_jb_init < g_app.cfg.rx_jb_min_pre) - g_app.cfg.rx_jb_init = g_app.cfg.rx_jb_min_pre; - else if (g_app.cfg.rx_jb_init > g_app.cfg.rx_jb_max_pre) - g_app.cfg.rx_jb_init = g_app.cfg.rx_jb_max_pre; - - if (g_app.cfg.tx_max_jitter < g_app.cfg.tx_min_jitter) - g_app.cfg.tx_max_jitter = g_app.cfg.tx_min_jitter; - return 0; -} - -/***************************************************************************** - * main() - */ -int main(int argc, char *argv[]) -{ - pj_status_t status; - - if (init_options(argc, argv) != 0) - return 1; - - - /* Init */ - status = test_init(); - if (status != PJ_SUCCESS) - return 1; - - /* Print parameters */ - PJ_LOG(3,(THIS_FILE, "Starting simulation. Parameters: ")); - PJ_LOG(3,(THIS_FILE, " Codec=%.*s, tx_ptime=%d, rx_ptime=%d", - (int)g_app.cfg.codec.slen, - g_app.cfg.codec.ptr, - g_app.cfg.tx_ptime, - g_app.cfg.rx_ptime)); - PJ_LOG(3,(THIS_FILE, " Loss avg=%d%%, min_burst=%d, max_burst=%d", - g_app.cfg.tx_pct_avg_lost, - g_app.cfg.tx_min_lost_burst, - g_app.cfg.tx_max_lost_burst)); - PJ_LOG(3,(THIS_FILE, " TX jitter min=%dms, max=%dms", - g_app.cfg.tx_min_jitter, - g_app.cfg.tx_max_jitter)); - PJ_LOG(3,(THIS_FILE, " RX jb init:%dms, min_pre=%dms, max_pre=%dms, max=%dms", - g_app.cfg.rx_jb_init, - g_app.cfg.rx_jb_min_pre, - g_app.cfg.rx_jb_max_pre, - g_app.cfg.rx_jb_max)); - PJ_LOG(3,(THIS_FILE, " RX sound burst:%d frames", - g_app.cfg.rx_snd_burst)); - PJ_LOG(3,(THIS_FILE, " DTX=%d, PLC=%d", - g_app.cfg.tx_dtx, g_app.cfg.rx_plc)); - - /* Run test loop */ - test_loop(g_app.cfg.duration_msec); - - /* Print statistics */ - PJ_LOG(3,(THIS_FILE, "Simulation done")); - PJ_LOG(3,(THIS_FILE, " TX packets=%u, dropped=%u/%5.1f%%", - g_app.tx->state.tx.total_tx, - g_app.tx->state.tx.total_lost, - (float)(g_app.tx->state.tx.total_lost * 100.0 / g_app.tx->state.tx.total_tx))); - - /* Done */ - test_destroy(); - - return 0; -} diff --git a/res/pjproject/pjsip-apps/src/samples/latency.c b/res/pjproject/pjsip-apps/src/samples/latency.c deleted file mode 100644 index 297b80b73d..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/latency.c +++ /dev/null @@ -1,202 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* See http://trac.pjsip.org/repos/wiki/MeasuringSoundLatency on - * how to use this program. - */ - -#include -#include - -#include - -#define THIS_FILE "lacency.c" - - -/* Util to display the error message for the specified error code */ -static int app_perror( const char *sender, const char *title, - pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - PJ_UNUSED_ARG(sender); - - pj_strerror(status, errmsg, sizeof(errmsg)); - - printf("%s: %s [code=%d]\n", title, errmsg, status); - return 1; -} - -/* - * Find out latency - */ -static int calculate_latency(pj_pool_t *pool, pjmedia_port *wav) -{ - pjmedia_frame frm; - short *buf; - unsigned i, samples_per_frame, read, len; - unsigned start_pos; - pj_status_t status; - - unsigned lat_sum = 0, - lat_cnt = 0, - lat_min = 10000, - lat_max = 0; - - samples_per_frame = PJMEDIA_PIA_SPF(&wav->info); - frm.buf = pj_pool_alloc(pool, samples_per_frame * 2); - frm.size = samples_per_frame * 2; - len = pjmedia_wav_player_get_len(wav); - buf = pj_pool_alloc(pool, len + samples_per_frame); - - read = 0; - while (read < len/2) { - status = pjmedia_port_get_frame(wav, &frm); - if (status != PJ_SUCCESS) - break; - - pjmedia_copy_samples(buf+read, (short*)frm.buf, samples_per_frame); - read += samples_per_frame; - } - - if (read < 2 * PJMEDIA_PIA_SRATE(&wav->info)) { - puts("Error: too short"); - return -1; - } - - start_pos = 0; - while (start_pos < len/2 - PJMEDIA_PIA_SRATE(&wav->info)) { - int max_signal = 0; - unsigned max_signal_pos = start_pos; - unsigned max_echo_pos = 0; - unsigned pos; - unsigned lat; - - /* Get the largest signal in the next 0.7s */ - for (i=start_pos; iinfo) * 700 / 1000; ++i) { - if (abs(buf[i]) > max_signal) { - max_signal = abs(buf[i]); - max_signal_pos = i; - } - } - - /* Advance 10ms from max_signal_pos */ - pos = max_signal_pos + 10 * PJMEDIA_PIA_SRATE(&wav->info) / 1000; - - /* Get the largest signal in the next 500ms */ - max_signal = 0; - max_echo_pos = pos; - for (i=pos; iinfo)/2; ++i) { - if (abs(buf[i]) > max_signal) { - max_signal = abs(buf[i]); - max_echo_pos = i; - } - } - - lat = (max_echo_pos - max_signal_pos) * 1000 / PJMEDIA_PIA_SRATE(&wav->info); - -#if 0 - printf("Latency = %u\n", lat); -#endif - - lat_sum += lat; - lat_cnt++; - if (lat < lat_min) - lat_min = lat; - if (lat > lat_max) - lat_max = lat; - - /* Advance next loop */ - start_pos += PJMEDIA_PIA_SRATE(&wav->info); - } - - printf("Latency average = %u\n", lat_sum / lat_cnt); - printf("Latency minimum = %u\n", lat_min); - printf("Latency maximum = %u\n", lat_max); - printf("Number of data = %u\n", lat_cnt); - return 0; -} - - -/* - * main() - */ -int main(int argc, char *argv[]) -{ - enum { NSAMPLES = 160, COUNT=100 }; - pj_caching_pool cp; - pj_pool_t *pool; - pjmedia_port *wav; - pj_status_t status; - - - /* Verify cmd line arguments. */ - if (argc != 2) { - puts("Error: missing argument(s)"); - puts("Usage: latency REV.WAV"); - return 1; - } - - pj_log_set_level(0); - - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - pj_caching_pool_init(&cp, &pj_pool_factory_default_policy, 0); - - pool = pj_pool_create( &cp.factory, /* pool factory */ - "wav", /* pool name. */ - 4000, /* init size */ - 4000, /* increment size */ - NULL /* callback on error */ - ); - - status = pj_register_strerror(PJMEDIA_ERRNO_START, PJ_ERRNO_SPACE_SIZE, - &pjmedia_strerror); - pj_assert(status == PJ_SUCCESS); - - /* Wav */ - status = pjmedia_wav_player_port_create( pool, /* memory pool */ - argv[1], /* file to play */ - 0, /* use default ptime*/ - 0, /* flags */ - 0, /* default buffer */ - &wav /* returned port */ - ); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, argv[1], status); - return 1; - } - - status = calculate_latency(pool, wav); - if (status != PJ_SUCCESS) - return 1; - - status = pjmedia_port_destroy( wav ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - pj_pool_release( pool ); - pj_caching_pool_destroy( &cp ); - pj_shutdown(); - - /* Done. */ - return 0; -} - diff --git a/res/pjproject/pjsip-apps/src/samples/level.c b/res/pjproject/pjsip-apps/src/samples/level.c deleted file mode 100644 index 6bba3fe1b8..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/level.c +++ /dev/null @@ -1,179 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - - -/** - * \page page_pjmedia_samples_level_c Samples: Reading from WAV File - * - * This is a very simple example to use the @ref PJMEDIA_FILE_PLAY, to - * directly read the samples from the file. - * - * This file is pjsip-apps/src/samples/level.c - * - * \includelineno level.c - */ - - -static const char *desc = - " FILE: \n" - " level.c \n" - " \n" - " PURPOSE: \n" - " Read PCM WAV file and display the audio level the first 100 frames. \n" - " Each frame is assumed to have 160 samples. \n" - " \n" - " USAGE: \n" - " level file.wav \n" - " \n" - " The WAV file SHOULD have a 16bit mono samples. "; - -#include -#include - -#include - -/* For logging purpose. */ -#define THIS_FILE "level.c" - - -/* Util to display the error message for the specified error code */ -static int app_perror( const char *sender, const char *title, - pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - PJ_UNUSED_ARG(sender); - - pj_strerror(status, errmsg, sizeof(errmsg)); - - printf("%s: %s [code=%d]\n", title, errmsg, status); - return 1; -} - - -/* - * main() - */ -int main(int argc, char *argv[]) -{ - enum { NSAMPLES = 640, COUNT=100 }; - pj_caching_pool cp; - pjmedia_endpt *med_endpt; - pj_pool_t *pool; - pjmedia_port *file_port; - int i; - pj_status_t status; - - - /* Verify cmd line arguments. */ - if (argc != 2) { - puts(""); - puts(desc); - return 1; - } - - /* Must init PJLIB first: */ - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&cp, &pj_pool_factory_default_policy, 0); - - /* - * Initialize media endpoint. - * This will implicitly initialize PJMEDIA too. - */ - status = pjmedia_endpt_create(&cp.factory, NULL, 1, &med_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Create memory pool for our file player */ - pool = pj_pool_create( &cp.factory, /* pool factory */ - "wav", /* pool name. */ - 4000, /* init size */ - 4000, /* increment size */ - NULL /* callback on error */ - ); - - /* Create file media port from the WAV file */ - status = pjmedia_wav_player_port_create( pool, /* memory pool */ - argv[1], /* file to play */ - 0, /* use default ptime*/ - 0, /* flags */ - 0, /* default buffer */ - &file_port/* returned port */ - ); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to use WAV file", status); - return 1; - } - - if (PJMEDIA_PIA_SPF(&file_port->info) > NSAMPLES) { - app_perror(THIS_FILE, "WAV clock rate is too big", PJ_EINVAL); - return 1; - } - - puts("Time\tPCMU\tLinear"); - puts("------------------------"); - - for (i=0; iinfo)); - level = pjmedia_linear2ulaw(level32) ^ 0xFF; - - ms = i * 1000 * PJMEDIA_PIA_SPF(&file_port->info) / - PJMEDIA_PIA_SRATE(&file_port->info); - printf("%03d.%03d\t%7d\t%7d\n", - ms/1000, ms%1000, level, level32); - } - puts(""); - - - /* Destroy file port */ - status = pjmedia_port_destroy( file_port ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Release application pool */ - pj_pool_release( pool ); - - /* Destroy media endpoint. */ - pjmedia_endpt_destroy( med_endpt ); - - /* Destroy pool factory */ - pj_caching_pool_destroy( &cp ); - - /* Shutdown PJLIB */ - pj_shutdown(); - - - /* Done. */ - return 0; -} - diff --git a/res/pjproject/pjsip-apps/src/samples/main_rtems.c b/res/pjproject/pjsip-apps/src/samples/main_rtems.c deleted file mode 100644 index d26605ac3b..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/main_rtems.c +++ /dev/null @@ -1,12 +0,0 @@ - -/* - * !! OIY OIY !! - * - * The purpose of this file is only to get the executable linked. I haven't - * actually tried to run this on RTEMS!! - * - */ - -#include "../../pjlib/src/pjlib-test/main_rtems.c" - - diff --git a/res/pjproject/pjsip-apps/src/samples/mix.c b/res/pjproject/pjsip-apps/src/samples/mix.c deleted file mode 100644 index cc139f7675..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/mix.c +++ /dev/null @@ -1,237 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - - /** - * \page page_pjmedia_samples_mix_c Samples: Mixing WAV files - * - * This file is pjsip-apps/src/samples/mix.c - * - * \includelineno mix.c - */ - -#include -#include -#include - -#define THIS_FILE "mix.c" - -static const char *desc = - " mix\n" - "\n" - " PURPOSE:\n" - " Mix input WAV files and save it to output WAV. Input WAV can have\n" - " different clock rate.\n" - "\n" - "\n" - " USAGE:\n" - " mix [options] output.wav input1.wav [input2.wav] ...\n" - "\n" - " arguments:\n" - " output.wav Set the output WAV filename.\n" - " input1.wav Set the input WAV filename.\n" - " input2.wav Set the input WAV filename.\n" - "\n" - " options:\n" - " -c N Set clock rate to N Hz (default 16000)\n" - " -f Force write (overwrite output without warning\n" -; - -#define MAX_WAV 16 -#define PTIME 20 -#define APPEND 1000 - -struct wav_input -{ - const char *fname; - pjmedia_port *port; - unsigned slot; -}; - -static int err_ret(const char *title, pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(3,(THIS_FILE, "%s error: %s", title, errmsg)); - return 1; -} - -static void usage(void) -{ - puts(desc); -} - -int main(int argc, char *argv[]) -{ - pj_caching_pool cp; - pj_pool_t *pool; - pjmedia_endpt *med_ept; - unsigned clock_rate = 16000; - int c, force=0; - const char *out_fname; - pjmedia_conf *conf; - pjmedia_port *wavout; - struct wav_input wav_input[MAX_WAV]; - pj_size_t longest = 0, processed; - unsigned i, input_cnt = 0; - pj_status_t status; - -#define CHECK(op) do { \ - status = op; \ - if (status != PJ_SUCCESS) \ - return err_ret(#op, status); \ - } while (0) - - - /* Parse arguments */ - while ((c=pj_getopt(argc, argv, "c:f")) != -1) { - switch (c) { - case 'c': - clock_rate = atoi(pj_optarg); - if (clock_rate < 1000) { - puts("Error: invalid clock rate"); - usage(); - return -1; - } - break; - case 'f': - force = 1; - break; - } - } - - /* Get output WAV name */ - if (pj_optind == argc) { - puts("Error: no WAV output is specified"); - usage(); - return 1; - } - - out_fname = argv[pj_optind++]; - if (force==0 && pj_file_exists(out_fname)) { - char in[8]; - - printf("File %s exists, overwrite? [Y/N] ", out_fname); - fflush(stdout); - if (fgets(in, sizeof(in), stdin) == NULL) - return 1; - if (pj_tolower(in[0]) != 'y') - return 1; - } - - /* Scan input file names */ - for (input_cnt=0 ; pj_optindinfo)); - if (len > (pj_ssize_t)longest) - longest = len; - - CHECK( pjmedia_conf_add_port(conf, pool, wav_input[i].port, - NULL, &wav_input[i].slot)); - - CHECK( pjmedia_conf_connect_port(conf, wav_input[i].slot, 0, 0) ); - } - - /* Loop reading frame from the bridge and write it to WAV */ - processed = 0; - while (processed < longest + clock_rate * APPEND * 2 / 1000) { - pj_int16_t framebuf[PTIME * 48000 / 1000]; - pjmedia_port *cp = pjmedia_conf_get_master_port(conf); - pjmedia_frame frame; - - frame.buf = framebuf; - frame.size = PJMEDIA_PIA_SPF(&cp->info) * 2; - pj_assert(frame.size <= sizeof(framebuf)); - - CHECK( pjmedia_port_get_frame(cp, &frame) ); - - if (frame.type != PJMEDIA_FRAME_TYPE_AUDIO) { - pj_bzero(frame.buf, frame.size); - frame.type = PJMEDIA_FRAME_TYPE_AUDIO; - } - - CHECK( pjmedia_port_put_frame(wavout, &frame)); - - processed += frame.size; - } - - PJ_LOG(3,(THIS_FILE, "Done. Output duration: %d.%03d", - (processed >> 2)/clock_rate, - ((processed >> 2)*1000/clock_rate) % 1000)); - - /* Shutdown everything */ - CHECK( pjmedia_port_destroy(wavout) ); - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -static const char *USAGE = -"pcaputil [options] INPUT OUTPUT\n" -"\n" -" Convert captured RTP packets in PCAP file to WAV file or play it\n" -" to audio device.\n" -"\n" -" INPUT is the PCAP file name/path.\n" -" OUTPUT is the WAV file name/path to store the output, or set to \"-\",\n" -" to play the output to audio device. The program will decode\n" -" the RTP contents using codec that is available in PJMEDIA,\n" -" and optionally decrypt the content using the SRTP crypto and\n" -" keys below.\n" -"\n" -"Options to filter packets from PCAP file:\n" -"(you can always select the relevant packets from Wireshark of course!)\n" -" --src-ip=IP Only include packets from this source address\n" -" --dst-ip=IP Only include packets destined to this address\n" -" --src-port=port Only include packets from this source port number\n" -" --dst-port=port Only include packets destined to this port number\n" -"\n" -"Options for RTP packet processing:\n" -"" -" --codec=codec_id The codec ID formatted \"name/clock-rate/channel-count\"\n" -" must be specified for codec with dynamic PT,\n" -" e.g: \"Speex/8000\"\n" -" --srtp-crypto=TAG, -c Set crypto to be used to decrypt SRTP packets. Valid\n" -" tags are: \n" -" AES_CM_128_HMAC_SHA1_80 \n" -" AES_CM_128_HMAC_SHA1_32\n" -" --srtp-key=KEY, -k Set the base64 key to decrypt SRTP packets.\n" -"\n" -"Options for playing to audio device:\n" -"" -" --play-dev-id=dev_id Audio device ID for playback.\n" -"\n" -" Example:\n" -" pcaputil file.pcap output.wav\n" -" pcaputil -c AES_CM_128_HMAC_SHA1_80 \\\n" -" -k VLDONbsbGl2Puqy+0PV7w/uGfpSPKFevDpxGsxN3 \\\n" -" file.pcap output.wav\n" -"\n" -; - -static struct app -{ - pj_caching_pool cp; - pj_pool_t *pool; - pjmedia_endpt *mept; - pj_pcap_file *pcap; - pjmedia_port *wav; - pjmedia_codec *codec; - pjmedia_aud_stream *aud_strm; - unsigned pt; - pjmedia_transport *srtp; - pjmedia_rtp_session rtp_sess; - pj_bool_t rtp_sess_init; -} app; - - -static void cleanup() -{ - if (app.srtp) pjmedia_transport_close(app.srtp); - if (app.wav) { - pj_ssize_t pos = pjmedia_wav_writer_port_get_pos(app.wav); - if (pos >= 0) { - unsigned msec; - msec = pos / 2 * 1000 / PJMEDIA_PIA_SRATE(&app.wav->info); - printf("Written: %dm:%02ds.%03d\n", - msec / 1000 / 60, - (msec / 1000) % 60, - msec % 1000); - } - pjmedia_port_destroy(app.wav); - } - if (app.pcap) pj_pcap_close(app.pcap); - if (app.codec) { - pjmedia_codec_mgr *cmgr; - pjmedia_codec_close(app.codec); - cmgr = pjmedia_endpt_get_codec_mgr(app.mept); - pjmedia_codec_mgr_dealloc_codec(cmgr, app.codec); - } - if (app.aud_strm) { - pjmedia_aud_stream_stop(app.aud_strm); - pjmedia_aud_stream_destroy(app.aud_strm); - } - if (app.mept) pjmedia_endpt_destroy(app.mept); - if (app.pool) pj_pool_release(app.pool); - pj_caching_pool_destroy(&app.cp); - pj_shutdown(); -} - -static void err_exit(const char *title, pj_status_t status) -{ - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(status, errmsg, sizeof(errmsg)); - printf("Error: %s: %s\n", title, errmsg); - } else { - printf("Error: %s\n", title); - } - cleanup(); - exit(1); -} - -#define T(op) do { \ - status = op; \ - if (status != PJ_SUCCESS) \ - err_exit(#op, status); \ - } while (0) - - -static void read_rtp(pj_uint8_t *buf, pj_size_t bufsize, - pjmedia_rtp_hdr **rtp, - pj_uint8_t **payload, - unsigned *payload_size, - pj_bool_t check_pt) -{ - pj_status_t status; - - /* Init RTP session */ - if (!app.rtp_sess_init) { - T(pjmedia_rtp_session_init(&app.rtp_sess, 0, 0)); - app.rtp_sess_init = PJ_TRUE; - } - - /* Loop reading until we have a good RTP packet */ - for (;;) { - pj_size_t sz = bufsize; - const pjmedia_rtp_hdr *r; - const void *p; - pjmedia_rtp_status seq_st; - - status = pj_pcap_read_udp(app.pcap, NULL, buf, &sz); - if (status != PJ_SUCCESS) - err_exit("Error reading PCAP file", status); - - /* Decode RTP packet to make sure that this is an RTP packet. - * We will decode it again to get the payload after we do - * SRTP decoding - */ - status = pjmedia_rtp_decode_rtp(&app.rtp_sess, buf, sz, &r, - &p, payload_size); - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(status, errmsg, sizeof(errmsg)); - printf("Not RTP packet, skipping packet: %s\n", errmsg); - continue; - } - - /* Decrypt SRTP */ -#if PJMEDIA_HAS_SRTP - if (app.srtp) { - int len = sz; - status = pjmedia_transport_srtp_decrypt_pkt(app.srtp, PJ_TRUE, - buf, &len); - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(status, errmsg, sizeof(errmsg)); - printf("SRTP packet decryption failed, skipping packet: %s\n", - errmsg); - continue; - } - sz = len; - - /* Decode RTP packet again */ - status = pjmedia_rtp_decode_rtp(&app.rtp_sess, buf, sz, &r, - &p, payload_size); - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(status, errmsg, sizeof(errmsg)); - printf("Not RTP packet, skipping packet: %s\n", errmsg); - continue; - } - } -#endif - - /* Update RTP session */ - pjmedia_rtp_session_update2(&app.rtp_sess, r, &seq_st, PJ_FALSE); - - /* Skip out-of-order packet */ - if (seq_st.diff == 0) { - printf("Skipping out of order packet\n"); - continue; - } - - /* Skip if payload type is different */ - if (check_pt && r->pt != app.pt) { - printf("Skipping RTP packet with bad payload type\n"); - continue; - } - - /* Skip bad packet */ - if (seq_st.status.flag.bad) { - printf("Skipping bad RTP\n"); - continue; - } - - - *rtp = (pjmedia_rtp_hdr*)r; - *payload = (pj_uint8_t*)p; - - /* We have good packet */ - break; - } -} - -pjmedia_frame play_frm; -static pj_bool_t play_frm_copied, play_frm_ready; - -static pj_status_t wait_play(pjmedia_frame *f) -{ - play_frm_copied = PJ_FALSE; - play_frm = *f; - play_frm_ready = PJ_TRUE; - while (!play_frm_copied) { - pj_thread_sleep(1); - } - play_frm_ready = PJ_FALSE; - - return PJ_SUCCESS; -} - -static pj_status_t play_cb(void *user_data, pjmedia_frame *f) -{ - PJ_UNUSED_ARG(user_data); - - if (!play_frm_ready) { - PJ_LOG(3, ("play_cb()", "Warning! Play frame not ready")); - return PJ_SUCCESS; - } - - pj_memcpy(f->buf, play_frm.buf, play_frm.size); - f->size = play_frm.size; - - play_frm_copied = PJ_TRUE; - return PJ_SUCCESS; -} - -static void pcap2wav(const pj_str_t *codec, - const pj_str_t *wav_filename, - pjmedia_aud_dev_index dev_id, - const pj_str_t *srtp_crypto, - const pj_str_t *srtp_key) -{ - const pj_str_t WAV = {".wav", 4}; - struct pkt - { - pj_uint8_t buffer[320]; - pjmedia_rtp_hdr *rtp; - pj_uint8_t *payload; - unsigned payload_len; - } pkt0; - pjmedia_codec_mgr *cmgr; - const pjmedia_codec_info *ci; - pjmedia_codec_param param; - unsigned samples_per_frame; - pj_status_t status; - - /* Initialize all codecs */ - T( pjmedia_codec_register_audio_codecs(app.mept, NULL) ); - - /* Create SRTP transport is needed */ -#if PJMEDIA_HAS_SRTP - if (srtp_crypto->slen) { - pjmedia_srtp_crypto crypto; - - pj_bzero(&crypto, sizeof(crypto)); - crypto.key = *srtp_key; - crypto.name = *srtp_crypto; - T( pjmedia_transport_srtp_create(app.mept, NULL, NULL, &app.srtp) ); - T( pjmedia_transport_srtp_start(app.srtp, &crypto, &crypto) ); - } -#else - PJ_UNUSED_ARG(srtp_crypto); - PJ_UNUSED_ARG(srtp_key); -#endif - - /* Read first packet */ - read_rtp(pkt0.buffer, sizeof(pkt0.buffer), &pkt0.rtp, - &pkt0.payload, &pkt0.payload_len, PJ_FALSE); - - cmgr = pjmedia_endpt_get_codec_mgr(app.mept); - - /* Get codec info and param for the specified payload type */ - app.pt = pkt0.rtp->pt; - if (app.pt >=0 && app.pt < 96) { - T( pjmedia_codec_mgr_get_codec_info(cmgr, pkt0.rtp->pt, &ci) ); - } else { - unsigned cnt = 2; - const pjmedia_codec_info *info[2]; - T( pjmedia_codec_mgr_find_codecs_by_id(cmgr, codec, &cnt, - info, NULL) ); - if (cnt != 1) - err_exit("Codec ID must be specified and unique!", 0); - - ci = info[0]; - } - T( pjmedia_codec_mgr_get_default_param(cmgr, ci, ¶m) ); - - /* Alloc and init codec */ - T( pjmedia_codec_mgr_alloc_codec(cmgr, ci, &app.codec) ); - T( pjmedia_codec_init(app.codec, app.pool) ); - T( pjmedia_codec_open(app.codec, ¶m) ); - - /* Init audio device or WAV file */ - samples_per_frame = ci->clock_rate * param.info.frm_ptime / 1000; - if (pj_strcmp2(wav_filename, "-") == 0) { - pjmedia_aud_param aud_param; - - /* Open audio device */ - T( pjmedia_aud_dev_default_param(dev_id, &aud_param) ); - aud_param.dir = PJMEDIA_DIR_PLAYBACK; - aud_param.channel_count = ci->channel_cnt; - aud_param.clock_rate = ci->clock_rate; - aud_param.samples_per_frame = samples_per_frame; - T( pjmedia_aud_stream_create(&aud_param, NULL, &play_cb, - NULL, &app.aud_strm) ); - T( pjmedia_aud_stream_start(app.aud_strm) ); - } else if (pj_stristr(wav_filename, &WAV)) { - /* Open WAV file */ - T( pjmedia_wav_writer_port_create(app.pool, wav_filename->ptr, - ci->clock_rate, ci->channel_cnt, - samples_per_frame, - param.info.pcm_bits_per_sample, 0, 0, - &app.wav) ); - } else { - err_exit("invalid output file", PJ_EINVAL); - } - - /* Loop reading PCAP and writing WAV file */ - for (;;) { - struct pkt pkt1; - pj_timestamp ts; - pjmedia_frame frames[16], pcm_frame; - short pcm[320]; - unsigned i, frame_cnt; - long samples_cnt, ts_gap; - - pj_assert(sizeof(pcm) >= samples_per_frame); - - /* Parse first packet */ - ts.u64 = 0; - frame_cnt = PJ_ARRAY_SIZE(frames); - T( pjmedia_codec_parse(app.codec, pkt0.payload, pkt0.payload_len, - &ts, &frame_cnt, frames) ); - - /* Decode and write to WAV file */ - samples_cnt = 0; - for (i=0; its) - pj_ntohl(pkt0.rtp->ts) - - samples_cnt; - while (ts_gap >= (long)samples_per_frame) { - - pcm_frame.buf = pcm; - pcm_frame.size = samples_per_frame * 2; - - if (app.codec->op->recover) { - T( pjmedia_codec_recover(app.codec, pcm_frame.size, - &pcm_frame) ); - } else { - pj_bzero(pcm_frame.buf, pcm_frame.size); - } - - if (app.wav) { - T( pjmedia_port_put_frame(app.wav, &pcm_frame) ); - } - if (app.aud_strm) { - T( wait_play(&pcm_frame) ); - } - ts_gap -= samples_per_frame; - } - - /* Next */ - pkt0 = pkt1; - pkt0.rtp = (pjmedia_rtp_hdr*)pkt0.buffer; - pkt0.payload = pkt0.buffer + (pkt1.payload - pkt1.buffer); - } -} - - -int main(int argc, char *argv[]) -{ - pj_str_t input, output, srtp_crypto, srtp_key, codec; - pjmedia_aud_dev_index dev_id = PJMEDIA_AUD_DEFAULT_PLAYBACK_DEV; - pj_pcap_filter filter; - pj_status_t status; - - enum { - OPT_SRC_IP = 1, OPT_DST_IP, OPT_SRC_PORT, OPT_DST_PORT, - OPT_CODEC, OPT_PLAY_DEV_ID - }; - struct pj_getopt_option long_options[] = { - { "srtp-crypto", 1, 0, 'c' }, - { "srtp-key", 1, 0, 'k' }, - { "src-ip", 1, 0, OPT_SRC_IP }, - { "dst-ip", 1, 0, OPT_DST_IP }, - { "src-port", 1, 0, OPT_SRC_PORT }, - { "dst-port", 1, 0, OPT_DST_PORT }, - { "codec", 1, 0, OPT_CODEC }, - { "play-dev-id", 1, 0, OPT_PLAY_DEV_ID }, - { NULL, 0, 0, 0} - }; - int c; - int option_index; - char key_bin[32]; - - srtp_crypto.slen = srtp_key.slen = 0; - codec.slen = 0; - - pj_pcap_filter_default(&filter); - filter.link = PJ_PCAP_LINK_TYPE_ETH; - filter.proto = PJ_PCAP_PROTO_TYPE_UDP; - - /* Parse arguments */ - pj_optind = 0; - while((c=pj_getopt_long(argc,argv, "c:k:", long_options, &option_index))!=-1) { - switch (c) { - case 'c': - srtp_crypto = pj_str(pj_optarg); - break; - case 'k': - { - int key_len = sizeof(key_bin); - srtp_key = pj_str(pj_optarg); - if (pj_base64_decode(&srtp_key, (pj_uint8_t*)key_bin, &key_len)) { - puts("Error: invalid key"); - return 1; - } - srtp_key.ptr = key_bin; - srtp_key.slen = key_len; - } - break; - case OPT_SRC_IP: - { - pj_str_t t = pj_str(pj_optarg); - pj_in_addr a = pj_inet_addr(&t); - filter.ip_src = a.s_addr; - } - break; - case OPT_DST_IP: - { - pj_str_t t = pj_str(pj_optarg); - pj_in_addr a = pj_inet_addr(&t); - filter.ip_dst = a.s_addr; - } - break; - case OPT_SRC_PORT: - filter.src_port = pj_htons((pj_uint16_t)atoi(pj_optarg)); - break; - case OPT_DST_PORT: - filter.dst_port = pj_htons((pj_uint16_t)atoi(pj_optarg)); - break; - case OPT_CODEC: - codec = pj_str(pj_optarg); - break; - case OPT_PLAY_DEV_ID: - dev_id = atoi(pj_optarg); - break; - default: - puts("Error: invalid option"); - return 1; - } - } - - if (pj_optind != argc - 2) { - puts(USAGE); - return 1; - } - - if (!(srtp_crypto.slen) != !(srtp_key.slen)) { - puts("Error: both SRTP crypto and key must be specified"); - puts(USAGE); - return 1; - } - - input = pj_str(argv[pj_optind]); - output = pj_str(argv[pj_optind+1]); - - T( pj_init() ); - - pj_caching_pool_init(&app.cp, NULL, 0); - app.pool = pj_pool_create(&app.cp.factory, "pcaputil", 1000, 1000, NULL); - - T( pjlib_util_init() ); - T( pjmedia_endpt_create(&app.cp.factory, NULL, 0, &app.mept) ); - - T( pj_pcap_open(app.pool, input.ptr, &app.pcap) ); - T( pj_pcap_set_filter(app.pcap, &filter) ); - - pcap2wav(&codec, &output, dev_id, &srtp_crypto, &srtp_key); - - cleanup(); - return 0; -} - diff --git a/res/pjproject/pjsip-apps/src/samples/pjsip-perf.c b/res/pjproject/pjsip-apps/src/samples/pjsip-perf.c deleted file mode 100644 index c462cf8450..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/pjsip-perf.c +++ /dev/null @@ -1,1853 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - - -/** - * \page page_pjsip_perf_c Samples: SIP Performance Benchmark - * - * pjsip-perf is a complete program to measure the - * performance of PJSIP or other SIP endpoints. It consists of two - * parts: - * - the server, to respond incoming requests, and - * - the client, who actively submits requests and measure the - * performance of the server. - * - * Both server and client part can run simultaneously, to measure the - * performance when both endpoints are co-located in a single program. - * - * The server accepts both INVITE and non-INVITE requests. - * The server exports several different types of URL, which would - * control how the request would be handled by the server: - * - URL with "0" as the user part will be handled statelessly. - * It should not be used with INVITE method. - * - URL with "1" as the user part will be handled statefully. - * If the request is an INVITE request, INVITE transaction will - * be created and 200/OK response will be sent, along with a valid - * SDP body. However, the SDP is just a static text body, and - * is not a proper SDP generated by PJMEDIA. - * - URL with "2" as the user part is only meaningful for INVITE - * requests, as it would be handled call-statefully by the - * server. For this URL, the server also would generate SDP dynamically - * and perform a proper SDP negotiation for the incoming call. - * Also for every call, server will limit the call duration to - * 10 seconds, on which the call will be terminated if the client - * doesn't hangup the call. - * - * - * - * This file is pjsip-apps/src/samples/pjsip-perf.c - * - * \includelineno pjsip-perf.c - */ - -/* Include all headers. */ -#include -#include -#include -#include -#include -#include -#include -#include - -#if defined(PJ_WIN32) && PJ_WIN32!=0 -# include -#endif - -#define THIS_FILE "pjsip-perf.c" -#define DEFAULT_COUNT (pjsip_cfg()->tsx.max_count/2>10000?10000:pjsip_cfg()->tsx.max_count/2) -#define JOB_WINDOW 1000 -#define TERMINATE_TSX(x,c) - - -#ifndef CACHING_POOL_SIZE -# define CACHING_POOL_SIZE (256*1024*1024) -#endif - - -/* Static message body for INVITE, when stateful processing is - * invoked (instead of call-stateful, where SDP is generated - * dynamically. - */ -static pj_str_t dummy_sdp_str = -{ - "v=0\r\n" - "o=- 3360842071 3360842071 IN IP4 192.168.0.68\r\n" - "s=pjmedia\r\n" - "c=IN IP4 192.168.0.68\r\n" - "t=0 0\r\n" - "m=audio 4000 RTP/AVP 0 8 3 103 102 101\r\n" - "a=rtcp:4001 IN IP4 192.168.0.68\r\n" - "a=rtpmap:103 speex/16000\r\n" - "a=rtpmap:102 speex/8000\r\n" - "a=rtpmap:3 GSM/8000\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "a=rtpmap:8 PCMA/8000\r\n" - "a=sendrecv\r\n" - "a=rtpmap:101 telephone-event/8000\r\n" - "a=fmtp:101 0-15\r\n", - 0 -}; - -static pj_str_t mime_application = { "application", 11}; -static pj_str_t mime_sdp = {"sdp", 3}; - - -struct srv_state -{ - unsigned stateless_cnt; - unsigned stateful_cnt; - unsigned call_cnt; -}; - - -struct app -{ - pj_caching_pool cp; - pj_pool_t *pool; - pj_bool_t use_tcp; - pj_str_t local_addr; - int local_port; - pjsip_endpoint *sip_endpt; - pjmedia_endpt *med_endpt; - pj_str_t local_uri; - pj_str_t local_contact; - unsigned skinfo_cnt; - pjmedia_sock_info skinfo[8]; - - pj_bool_t thread_quit; - unsigned thread_count; - pj_thread_t *thread[16]; - - pj_bool_t real_sdp; - pjmedia_sdp_session *dummy_sdp; - - int log_level; - - struct { - pjsip_method method; - pj_str_t dst_uri; - pj_bool_t stateless; - unsigned timeout; - unsigned job_count, - job_submitted, - job_finished, - job_window; - unsigned stat_max_window; - pj_time_val first_request; - pj_time_val requests_sent; - pj_time_val last_completion; - unsigned total_responses; - unsigned response_codes[800]; - } client; - - struct { - pj_bool_t send_trying; - pj_bool_t send_ringing; - unsigned delay; - struct srv_state prev_state; - struct srv_state cur_state; - } server; - - -} app; - -struct call -{ - pjsip_inv_session *inv; - pj_timer_entry ans_timer; -}; - - -static void app_perror(const char *sender, const char *title, - pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(1,(sender, "%s: %s [code=%d]", title, errmsg, status)); -} - - -/************************************************************************** - * STATELESS SERVER - */ -static pj_bool_t mod_stateless_on_rx_request(pjsip_rx_data *rdata); - -/* Module to handle incoming requests statelessly. - */ -static pjsip_module mod_stateless_server = -{ - NULL, NULL, /* prev, next. */ - { "mod-stateless-server", 20 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &mod_stateless_on_rx_request, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ -}; - - -static pj_bool_t mod_stateless_on_rx_request(pjsip_rx_data *rdata) -{ - const pj_str_t stateless_user = { "0", 1 }; - pjsip_uri *uri; - pjsip_sip_uri *sip_uri; - - uri = pjsip_uri_get_uri(rdata->msg_info.msg->line.req.uri); - - /* Only want to receive SIP scheme */ - if (!PJSIP_URI_SCHEME_IS_SIP(uri)) - return PJ_FALSE; - - sip_uri = (pjsip_sip_uri*) uri; - - /* Check for matching user part */ - if (pj_strcmp(&sip_uri->user, &stateless_user)!=0) - return PJ_FALSE; - - /* - * Yes, this is for us. - */ - - /* Ignore ACK request */ - if (rdata->msg_info.msg->line.req.method.id == PJSIP_ACK_METHOD) - return PJ_TRUE; - - /* - * Respond statelessly with 200/OK. - */ - pjsip_endpt_respond_stateless(app.sip_endpt, rdata, 200, NULL, - NULL, NULL); - app.server.cur_state.stateless_cnt++; - return PJ_TRUE; -} - - -/************************************************************************** - * STATEFUL SERVER - */ -static pj_bool_t mod_stateful_on_rx_request(pjsip_rx_data *rdata); - -/* Module to handle incoming requests statefully. - */ -static pjsip_module mod_stateful_server = -{ - NULL, NULL, /* prev, next. */ - { "mod-stateful-server", 19 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &mod_stateful_on_rx_request, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ -}; - - -static pj_bool_t mod_stateful_on_rx_request(pjsip_rx_data *rdata) -{ - const pj_str_t stateful_user = { "1", 1 }; - pjsip_uri *uri; - pjsip_sip_uri *sip_uri; - - uri = pjsip_uri_get_uri(rdata->msg_info.msg->line.req.uri); - - /* Only want to receive SIP scheme */ - if (!PJSIP_URI_SCHEME_IS_SIP(uri)) - return PJ_FALSE; - - sip_uri = (pjsip_sip_uri*) uri; - - /* Check for matching user part */ - if (pj_strcmp(&sip_uri->user, &stateful_user)!=0) - return PJ_FALSE; - - /* - * Yes, this is for us. - * Respond statefully with 200/OK. - */ - switch (rdata->msg_info.msg->line.req.method.id) { - case PJSIP_INVITE_METHOD: - { - pjsip_msg_body *body; - - if (dummy_sdp_str.slen == 0) - dummy_sdp_str.slen = pj_ansi_strlen(dummy_sdp_str.ptr); - - body = pjsip_msg_body_create(rdata->tp_info.pool, - &mime_application, &mime_sdp, - &dummy_sdp_str); - pjsip_endpt_respond(app.sip_endpt, &mod_stateful_server, rdata, - 200, NULL, NULL, body, NULL); - } - break; - case PJSIP_ACK_METHOD: - return PJ_TRUE; - default: - pjsip_endpt_respond(app.sip_endpt, &mod_stateful_server, rdata, - 200, NULL, NULL, NULL, NULL); - break; - } - - app.server.cur_state.stateful_cnt++; - return PJ_TRUE; -} - - -/************************************************************************** - * CALL SERVER - */ -static pj_bool_t mod_call_on_rx_request(pjsip_rx_data *rdata); - -/* Module to handle incoming requests callly. - */ -static pjsip_module mod_call_server = -{ - NULL, NULL, /* prev, next. */ - { "mod-call-server", 15 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &mod_call_on_rx_request, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ -}; - - -static pj_status_t send_response(pjsip_inv_session *inv, - pjsip_rx_data *rdata, - int code, - pj_bool_t *has_initial) -{ - pjsip_tx_data *tdata; - pj_status_t status; - - if (*has_initial) { - status = pjsip_inv_answer(inv, code, NULL, NULL, &tdata); - } else { - status = pjsip_inv_initial_answer(inv, rdata, code, - NULL, NULL, &tdata); - } - - if (status != PJ_SUCCESS) { - if (*has_initial) { - status = pjsip_inv_answer(inv, PJSIP_SC_NOT_ACCEPTABLE, - NULL, NULL, &tdata); - } else { - status = pjsip_inv_initial_answer(inv, rdata, - PJSIP_SC_NOT_ACCEPTABLE, - NULL, NULL, &tdata); - } - - if (status == PJ_SUCCESS) { - *has_initial = PJ_TRUE; - pjsip_inv_send_msg(inv, tdata); - } else { - pjsip_inv_terminate(inv, 500, PJ_FALSE); - return -1; - } - } else { - *has_initial = PJ_TRUE; - - status = pjsip_inv_send_msg(inv, tdata); - if (status != PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - return status; - } - } - - return status; -} - -static void answer_timer_cb(pj_timer_heap_t *h, pj_timer_entry *entry) -{ - struct call *call = entry->user_data; - pj_bool_t has_initial = PJ_TRUE; - - PJ_UNUSED_ARG(h); - - entry->id = 0; - send_response(call->inv, NULL, 200, &has_initial); -} - -static pj_bool_t mod_call_on_rx_request(pjsip_rx_data *rdata) -{ - const pj_str_t call_user = { "2", 1 }; - pjsip_uri *uri; - pjsip_sip_uri *sip_uri; - struct call *call; - pjsip_dialog *dlg; - pjmedia_sdp_session *sdp; - pjsip_tx_data *tdata; - pj_bool_t has_initial = PJ_FALSE; - pj_status_t status; - - uri = pjsip_uri_get_uri(rdata->msg_info.msg->line.req.uri); - - /* Only want to receive SIP scheme */ - if (!PJSIP_URI_SCHEME_IS_SIP(uri)) - return PJ_FALSE; - - sip_uri = (pjsip_sip_uri*) uri; - - /* Only want to handle INVITE requests. */ - if (rdata->msg_info.msg->line.req.method.id != PJSIP_INVITE_METHOD) { - return PJ_FALSE; - } - - - /* Check for matching user part. Incoming requests will be handled - * call-statefully if: - * - user part is "2", or - * - user part is not "0" nor "1" and method is INVITE. - */ - if (pj_strcmp(&sip_uri->user, &call_user) == 0 || - sip_uri->user.slen != 1 || - (*sip_uri->user.ptr != '0' && *sip_uri->user.ptr != '1')) - { - /* Match */ - - } else { - return PJ_FALSE; - } - - - /* Verify that we can handle the request. */ - if (app.real_sdp) { - unsigned options = 0; - status = pjsip_inv_verify_request(rdata, &options, NULL, NULL, - app.sip_endpt, &tdata); - if (status != PJ_SUCCESS) { - - /* - * No we can't handle the incoming INVITE request. - */ - - if (tdata) { - pjsip_response_addr res_addr; - - pjsip_get_response_addr(tdata->pool, rdata, &res_addr); - pjsip_endpt_send_response(app.sip_endpt, &res_addr, tdata, - NULL, NULL); - - } else { - - /* Respond with 500 (Internal Server Error) */ - pjsip_endpt_respond_stateless(app.sip_endpt, rdata, 500, NULL, - NULL, NULL); - } - - return PJ_TRUE; - } - } - - /* Create UAS dialog */ - status = pjsip_dlg_create_uas( pjsip_ua_instance(), rdata, - &app.local_contact, &dlg); - if (status != PJ_SUCCESS) { - const pj_str_t reason = pj_str("Unable to create dialog"); - pjsip_endpt_respond_stateless( app.sip_endpt, rdata, - 500, &reason, - NULL, NULL); - return PJ_TRUE; - } - - /* Alloc call structure. */ - call = pj_pool_zalloc(dlg->pool, sizeof(struct call)); - - /* Create SDP from PJMEDIA */ - if (app.real_sdp) { - status = pjmedia_endpt_create_sdp(app.med_endpt, rdata->tp_info.pool, - app.skinfo_cnt, app.skinfo, - &sdp); - } else { - sdp = app.dummy_sdp; - } - - /* Create UAS invite session */ - status = pjsip_inv_create_uas( dlg, rdata, sdp, 0, &call->inv); - if (status != PJ_SUCCESS) { - pjsip_dlg_create_response(dlg, rdata, 500, NULL, &tdata); - pjsip_dlg_send_response(dlg, pjsip_rdata_get_tsx(rdata), tdata); - return PJ_TRUE; - } - - /* Send 100/Trying if needed */ - if (app.server.send_trying) { - status = send_response(call->inv, rdata, 100, &has_initial); - if (status != PJ_SUCCESS) - return PJ_TRUE; - } - - /* Send 180/Ringing if needed */ - if (app.server.send_ringing) { - status = send_response(call->inv, rdata, 180, &has_initial); - if (status != PJ_SUCCESS) - return PJ_TRUE; - } - - /* Simulate call processing delay */ - if (app.server.delay) { - pj_time_val delay; - - call->ans_timer.id = 1; - call->ans_timer.user_data = call; - call->ans_timer.cb = &answer_timer_cb; - - delay.sec = 0; - delay.msec = app.server.delay; - pj_time_val_normalize(&delay); - - pjsip_endpt_schedule_timer(app.sip_endpt, &call->ans_timer, &delay); - - } else { - /* Send the 200 response immediately . */ - status = send_response(call->inv, rdata, 200, &has_initial); - PJ_ASSERT_ON_FAIL(status == PJ_SUCCESS, return PJ_TRUE); - } - - /* Done */ - app.server.cur_state.call_cnt++; - - return PJ_TRUE; -} - - - -/************************************************************************** - * Default handler when incoming request is not handled by any other - * modules. - */ -static pj_bool_t mod_responder_on_rx_request(pjsip_rx_data *rdata); - -/* Module to handle incoming requests statelessly. - */ -static pjsip_module mod_responder = -{ - NULL, NULL, /* prev, next. */ - { "mod-responder", 13 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION+1, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &mod_responder_on_rx_request, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ -}; - - -static pj_bool_t mod_responder_on_rx_request(pjsip_rx_data *rdata) -{ - const pj_str_t reason = pj_str("Not expecting request at this URI"); - - /* - * Respond any requests (except ACK!) with 500. - */ - if (rdata->msg_info.msg->line.req.method.id != PJSIP_ACK_METHOD) { - pjsip_endpt_respond_stateless(app.sip_endpt, rdata, 500, &reason, - NULL, NULL); - } - - return PJ_TRUE; -} - - - -/***************************************************************************** - * Below is a simple module to log all incoming and outgoing SIP messages - */ - - -/* Notification on incoming messages */ -static pj_bool_t logger_on_rx_msg(pjsip_rx_data *rdata) -{ - PJ_LOG(3,(THIS_FILE, "RX %d bytes %s from %s %s:%d:\n" - "%.*s\n" - "--end msg--", - rdata->msg_info.len, - pjsip_rx_data_get_info(rdata), - rdata->tp_info.transport->type_name, - rdata->pkt_info.src_name, - rdata->pkt_info.src_port, - (int)rdata->msg_info.len, - rdata->msg_info.msg_buf)); - - /* Always return false, otherwise messages will not get processed! */ - return PJ_FALSE; -} - -/* Notification on outgoing messages */ -static pj_status_t logger_on_tx_msg(pjsip_tx_data *tdata) -{ - - /* Important note: - * tp_info field is only valid after outgoing messages has passed - * transport layer. So don't try to access tp_info when the module - * has lower priority than transport layer. - */ - - PJ_LOG(3,(THIS_FILE, "TX %d bytes %s to %s %s:%d:\n" - "%.*s\n" - "--end msg--", - (tdata->buf.cur - tdata->buf.start), - pjsip_tx_data_get_info(tdata), - tdata->tp_info.transport->type_name, - tdata->tp_info.dst_name, - tdata->tp_info.dst_port, - (int)(tdata->buf.cur - tdata->buf.start), - tdata->buf.start)); - - /* Always return success, otherwise message will not get sent! */ - return PJ_SUCCESS; -} - -/* The module instance. */ -static pjsip_module msg_logger = -{ - NULL, NULL, /* prev, next. */ - { "mod-siprtp-log", 14 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_TRANSPORT_LAYER-1,/* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &logger_on_rx_msg, /* on_rx_request() */ - &logger_on_rx_msg, /* on_rx_response() */ - &logger_on_tx_msg, /* on_tx_request. */ - &logger_on_tx_msg, /* on_tx_response() */ - NULL, /* on_tsx_state() */ - -}; - - - -/************************************************************************** - * Test Client. - */ - -static pj_bool_t mod_test_on_rx_response(pjsip_rx_data *rdata); - -static void call_on_media_update( pjsip_inv_session *inv, - pj_status_t status); -static void call_on_state_changed( pjsip_inv_session *inv, - pjsip_event *e); -static void call_on_forked(pjsip_inv_session *inv, pjsip_event *e); - - -/* Module to handle incoming requests callly. - */ -static pjsip_module mod_test = -{ - NULL, NULL, /* prev, next. */ - { "mod-test", 8 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - NULL, /* on_rx_request() */ - &mod_test_on_rx_response, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ -}; - - -static void report_completion(int status_code) -{ - app.client.job_finished++; - if (status_code >= 200 && status_code < 800) - app.client.response_codes[status_code]++; - app.client.total_responses++; - pj_gettimeofday(&app.client.last_completion); -} - - -/* Handler when response is received. */ -static pj_bool_t mod_test_on_rx_response(pjsip_rx_data *rdata) -{ - if (pjsip_rdata_get_tsx(rdata) == NULL) { - report_completion(rdata->msg_info.msg->line.status.code); - } - - return PJ_TRUE; -} - - -/* - * Create app - */ -static pj_status_t create_app(void) -{ - pj_status_t status; - - status = pj_init(); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Error initializing pjlib", status); - return status; - } - - /* init PJLIB-UTIL: */ - status = pjlib_util_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&app.cp, &pj_pool_factory_default_policy, - CACHING_POOL_SIZE); - - /* Create application pool for misc. */ - app.pool = pj_pool_create(&app.cp.factory, "app", 1000, 1000, NULL); - - /* Create the endpoint: */ - status = pjsip_endpt_create(&app.cp.factory, pj_gethostname()->ptr, - &app.sip_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - - return status; -} - - -/* - * Init SIP stack - */ -static pj_status_t init_sip() -{ - pj_status_t status = -1; - - /* Add UDP/TCP transport. */ - { - pj_sockaddr_in addr; - pjsip_host_port addrname; - const char *transport_type = NULL; - - pj_bzero(&addr, sizeof(addr)); - addr.sin_family = pj_AF_INET(); - addr.sin_addr.s_addr = 0; - addr.sin_port = pj_htons((pj_uint16_t)app.local_port); - - if (app.local_addr.slen) { - addrname.host = app.local_addr; - addrname.port = 5060; - } - if (app.local_port != 0) - addrname.port = app.local_port; - - if (0) { -#if defined(PJ_HAS_TCP) && PJ_HAS_TCP!=0 - } else if (app.use_tcp) { - pj_sockaddr_in local_addr; - pjsip_tpfactory *tpfactory; - - transport_type = "tcp"; - pj_sockaddr_in_init(&local_addr, 0, (pj_uint16_t)app.local_port); - status = pjsip_tcp_transport_start(app.sip_endpt, &local_addr, - app.thread_count, &tpfactory); - if (status == PJ_SUCCESS) { - app.local_addr = tpfactory->addr_name.host; - app.local_port = tpfactory->addr_name.port; - } -#endif - } else { - pjsip_transport *tp; - - transport_type = "udp"; - status = pjsip_udp_transport_start(app.sip_endpt, &addr, - (app.local_addr.slen ? &addrname:NULL), - app.thread_count, &tp); - if (status == PJ_SUCCESS) { - app.local_addr = tp->local_name.host; - app.local_port = tp->local_name.port; - } - - } - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to start transport", status); - return status; - } - - app.local_uri.ptr = pj_pool_alloc(app.pool, 128); - app.local_uri.slen = pj_ansi_sprintf(app.local_uri.ptr, - "", - (int)app.local_addr.slen, - app.local_addr.ptr, - app.local_port, - transport_type); - - app.local_contact = app.local_uri; - } - - /* - * Init transaction layer. - * This will create/initialize transaction hash tables etc. - */ - status = pjsip_tsx_layer_init_module(app.sip_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Initialize UA layer. */ - status = pjsip_ua_init_module( app.sip_endpt, NULL ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Initialize 100rel support */ - status = pjsip_100rel_init_module(app.sip_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Init invite session module. */ - { - pjsip_inv_callback inv_cb; - - /* Init the callback for INVITE session: */ - pj_bzero(&inv_cb, sizeof(inv_cb)); - inv_cb.on_state_changed = &call_on_state_changed; - inv_cb.on_new_session = &call_on_forked; - inv_cb.on_media_update = &call_on_media_update; - - /* Initialize invite session module: */ - status = pjsip_inv_usage_init(app.sip_endpt, &inv_cb); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - } - - /* Register our module to receive incoming requests. */ - status = pjsip_endpt_register_module( app.sip_endpt, &mod_test); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - - /* Register stateless server module */ - status = pjsip_endpt_register_module( app.sip_endpt, &mod_stateless_server); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Register default responder module */ - status = pjsip_endpt_register_module( app.sip_endpt, &mod_responder); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Register stateless server module */ - status = pjsip_endpt_register_module( app.sip_endpt, &mod_stateful_server); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - - /* Register call server module */ - status = pjsip_endpt_register_module( app.sip_endpt, &mod_call_server); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - - /* Done */ - return PJ_SUCCESS; -} - - -/* - * Destroy SIP - */ -static void destroy_app() -{ - unsigned i; - - app.thread_quit = 1; - for (i=0; irtp_addr_name.ipv4, &app.local_addr, - (pj_uint16_t)rtp_port); - pj_sockaddr_in_init(&skinfo->rtp_addr_name.ipv4, &app.local_addr, - (pj_uint16_t)(rtp_port+1)); - app.skinfo_cnt++; - } - - /* Generate dummy SDP */ - dummy_sdp_str.slen = pj_ansi_strlen(dummy_sdp_str.ptr); - status = pjmedia_sdp_parse(app.pool, dummy_sdp_str.ptr, dummy_sdp_str.slen, - &app.dummy_sdp); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Error parsing dummy SDP", status); - return status; - } - - - /* Done */ - return PJ_SUCCESS; -} - - -/* This is notification from the call about media negotiation - * status. This is called for client calls only. - */ -static void call_on_media_update( pjsip_inv_session *inv, - pj_status_t status) -{ - if (status != PJ_SUCCESS) { - pjsip_tx_data *tdata; - pj_status_t status; - - status = pjsip_inv_end_session(inv, PJSIP_SC_UNSUPPORTED_MEDIA_TYPE, - NULL, &tdata); - if (status == PJ_SUCCESS && tdata) - status = pjsip_inv_send_msg(inv, tdata); - } -} - - -/* This is notification from the call when the call state has changed. - * This is called for client calls only. - */ -static void call_on_state_changed( pjsip_inv_session *inv, - pjsip_event *e) -{ - PJ_UNUSED_ARG(e); - - /* Bail out if the session has been counted before */ - if (inv->mod_data[mod_test.id] != NULL) - return; - - /* Bail out if this is not an outgoing call */ - if (inv->role != PJSIP_UAC_ROLE) - return; - - if (inv->state == PJSIP_INV_STATE_CONFIRMED) { - pjsip_tx_data *tdata; - pj_status_t status; - - //report_completion(200); - //inv->mod_data[mod_test.id] = (void*)1; - - status = pjsip_inv_end_session(inv, PJSIP_SC_OK, NULL, &tdata); - if (status == PJ_SUCCESS && tdata) - status = pjsip_inv_send_msg(inv, tdata); - - } else if (inv->state == PJSIP_INV_STATE_DISCONNECTED) { - report_completion(inv->cause); - inv->mod_data[mod_test.id] = (void*)1; - } -} - - -/* Not implemented for now */ -static void call_on_forked(pjsip_inv_session *inv, pjsip_event *e) -{ - /* Do nothing */ - PJ_UNUSED_ARG(inv); - PJ_UNUSED_ARG(e); -} - - -/* - * Make outgoing call. - */ -static pj_status_t make_call(const pj_str_t *dst_uri) -{ - struct call *call; - pjsip_dialog *dlg; - pjmedia_sdp_session *sdp; - pjsip_tx_data *tdata; - pj_status_t status; - - - /* Create UAC dialog */ - status = pjsip_dlg_create_uac( pjsip_ua_instance(), - &app.local_uri, /* local URI */ - &app.local_contact, /* local Contact */ - dst_uri, /* remote URI */ - dst_uri, /* remote target */ - &dlg); /* dialog */ - if (status != PJ_SUCCESS) { - return status; - } - - /* Create call */ - call = pj_pool_zalloc(dlg->pool, sizeof(struct call)); - - /* Create SDP */ - if (app.real_sdp) { - status = pjmedia_endpt_create_sdp(app.med_endpt, dlg->pool, 1, - app.skinfo, &sdp); - if (status != PJ_SUCCESS) { - pjsip_dlg_terminate(dlg); - return status; - } - } else - sdp = app.dummy_sdp; - - /* Create the INVITE session. */ - status = pjsip_inv_create_uac( dlg, sdp, 0, &call->inv); - if (status != PJ_SUCCESS) { - pjsip_dlg_terminate(dlg); - return status; - } - - - /* Create initial INVITE request. - * This INVITE request will contain a perfectly good request and - * an SDP body as well. - */ - status = pjsip_inv_invite(call->inv, &tdata); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - - /* Send initial INVITE request. - * From now on, the invite session's state will be reported to us - * via the invite session callbacks. - */ - status = pjsip_inv_send_msg(call->inv, tdata); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - - return PJ_SUCCESS; -} - - -/* - * Verify that valid SIP url is given. - */ -static pj_status_t verify_sip_url(const char *c_url) -{ - pjsip_uri *p; - pj_pool_t *pool; - char *url; - int len = (c_url ? pj_ansi_strlen(c_url) : 0); - - if (!len) return -1; - - pool = pj_pool_create(&app.cp.factory, "check%p", 1024, 0, NULL); - if (!pool) return PJ_ENOMEM; - - url = pj_pool_alloc(pool, len+1); - pj_ansi_strcpy(url, c_url); - url[len] = '\0'; - - p = pjsip_parse_uri(pool, url, len, 0); - if (!p || pj_stricmp2(pjsip_uri_get_scheme(p), "sip") != 0) - p = NULL; - - pj_pool_release(pool); - return p ? 0 : -1; -} - - -static void usage(void) -{ - printf( - "Usage:\n" - " pjsip-perf [OPTIONS] -- to start as server\n" - " pjsip-perf [OPTIONS] URL -- to call server (possibly itself)\n" - "\n" - "where:\n" - " URL The SIP URL to be contacted.\n" - "\n" - "Client options:\n" - " --method=METHOD, -m Set test method (set to INVITE for call benchmark)\n" - " [default: OPTIONS]\n" - " --count=N, -n Set total number of requests to initiate\n" - " [default=%d]\n" - " --stateless, -s Set to operate in stateless mode\n" - " [default: stateful]\n" - " --timeout=SEC, -t Set client timeout [default=60 sec]\n" - " --window=COUNT, -w Set maximum outstanding job [default: %d]\n" - "\n" - "SDP options (client and server):\n" - " --real-sdp Generate real SDP from pjmedia, and also perform\n" - " proper SDP negotiation [default: dummy]\n" - "\n" - "Client and Server options:\n" - " --local-port=PORT, -p Set local port [default: 5060]\n" - " --use-tcp, -T Use TCP instead of UDP. Note that when started as\n" - " client, you must add ;transport=tcp parameter to URL\n" - " [default: no]\n" - " --thread-count=N Set number of worker threads [default=1]\n" - " --trying Send 100/Trying response (server, default no)\n" - " --ringing Send 180/Ringing response (server, default no)\n" - " --delay=MS, -d Delay answering call by MS (server, default no)\n" - "\n" - "Misc options:\n" - " --help, -h Display this screen\n" - " --verbose, -v Verbose logging (put more than once for even more)\n" - "\n" - "When started as server, pjsip-perf can be contacted on the following URIs:\n" - " - sip:0@server-addr To handle requests statelessly.\n" - " - sip:1@server-addr To handle requests statefully.\n" - " - sip:2@server-addr To handle INVITE call.\n", - DEFAULT_COUNT, JOB_WINDOW); -} - - -static int my_atoi(const char *s) -{ - pj_str_t ss = pj_str((char*)s); - return pj_strtoul(&ss); -} - - -static pj_status_t init_options(int argc, char *argv[]) -{ - enum { OPT_THREAD_COUNT = 1, OPT_REAL_SDP, OPT_TRYING, OPT_RINGING }; - struct pj_getopt_option long_options[] = { - { "local-port", 1, 0, 'p' }, - { "count", 1, 0, 'c' }, - { "thread-count", 1, 0, OPT_THREAD_COUNT }, - { "method", 1, 0, 'm' }, - { "help", 0, 0, 'h' }, - { "stateless", 0, 0, 's' }, - { "timeout", 1, 0, 't' }, - { "real-sdp", 0, 0, OPT_REAL_SDP }, - { "verbose", 0, 0, 'v' }, - { "use-tcp", 0, 0, 'T' }, - { "window", 1, 0, 'w' }, - { "delay", 1, 0, 'd' }, - { "trying", 0, 0, OPT_TRYING}, - { "ringing", 0, 0, OPT_RINGING}, - { NULL, 0, 0, 0 }, - }; - int c; - int option_index; - - /* Init default application configs */ - app.local_port = 5060; - app.thread_count = 1; - app.client.job_count = DEFAULT_COUNT; - app.client.method = *pjsip_get_options_method(); - app.client.job_window = c = JOB_WINDOW; - app.client.timeout = 60; - app.log_level = 3; - - - /* Parse options */ - pj_optind = 0; - while((c=pj_getopt_long(argc,argv, "p:c:m:t:w:d:hsv", - long_options, &option_index))!=-1) - { - switch (c) { - case 'p': - app.local_port = my_atoi(pj_optarg); - if (app.local_port < 0 || app.local_port > 65535) { - PJ_LOG(3,(THIS_FILE, "Invalid --local-port %s", pj_optarg)); - return -1; - } - break; - - case 'c': - app.client.job_count = my_atoi(pj_optarg); - if (app.client.job_count < 0) { - PJ_LOG(3,(THIS_FILE, "Invalid --local-port %s", pj_optarg)); - return -1; - } - if (app.client.job_count > pjsip_cfg()->tsx.max_count) - PJ_LOG(3,(THIS_FILE, - "Warning: --count value (%d) exceeds maximum " - "transaction count (%d)", app.client.job_count, - pjsip_cfg()->tsx.max_count)); - break; - - case OPT_THREAD_COUNT: - app.thread_count = my_atoi(pj_optarg); - if (app.thread_count < 1 || app.thread_count > 16) { - PJ_LOG(3,(THIS_FILE, "Invalid --thread-count %s", pj_optarg)); - return -1; - } - break; - - case 'm': - { - pj_str_t temp = pj_str((char*)pj_optarg); - pjsip_method_init_np(&app.client.method, &temp); - } - break; - - case 'h': - usage(); - return -1; - - case 's': - app.client.stateless = PJ_TRUE; - break; - - case OPT_REAL_SDP: - app.real_sdp = 1; - break; - - case 'v': - app.log_level++; - break; - - case 't': - app.client.timeout = my_atoi(pj_optarg); - if (app.client.timeout < 0 || app.client.timeout > 600) { - PJ_LOG(3,(THIS_FILE, "Invalid --timeout %s", pj_optarg)); - return -1; - } - break; - - case 'w': - app.client.job_window = my_atoi(pj_optarg); - if (app.client.job_window <= 0) { - PJ_LOG(3,(THIS_FILE, "Invalid --window %s", pj_optarg)); - return -1; - } - break; - - case 'T': - app.use_tcp = PJ_TRUE; - break; - - case 'd': - app.server.delay = my_atoi(pj_optarg); - if (app.server.delay > 3600) { - PJ_LOG(3,(THIS_FILE, "I think --delay %s is too long", - pj_optarg)); - return -1; - } - break; - - case OPT_TRYING: - app.server.send_trying = 1; - break; - - case OPT_RINGING: - app.server.send_ringing = 1; - break; - - default: - PJ_LOG(1,(THIS_FILE, - "Invalid argument. Use --help to see help")); - return -1; - } - } - - if (pj_optind != argc) { - - if (verify_sip_url(argv[pj_optind]) != PJ_SUCCESS) { - PJ_LOG(1,(THIS_FILE, "Invalid SIP URI %s", argv[pj_optind])); - return -1; - } - app.client.dst_uri = pj_str(argv[pj_optind]); - - pj_optind++; - - } - - if (pj_optind != argc) { - PJ_LOG(1,(THIS_FILE, "Error: unknown options %s", argv[pj_optind])); - return -1; - } - - return 0; -} - - -/* Send one stateless request */ -static pj_status_t submit_stateless_job(void) -{ - pjsip_tx_data *tdata; - pj_status_t status; - - status = pjsip_endpt_create_request(app.sip_endpt, &app.client.method, - &app.client.dst_uri, &app.local_uri, - &app.client.dst_uri, &app.local_contact, - NULL, -1, NULL, &tdata); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Error creating request", status); - report_completion(701); - return status; - } - - status = pjsip_endpt_send_request_stateless(app.sip_endpt, tdata, NULL, - NULL); - if (status != PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - app_perror(THIS_FILE, "Error sending stateless request", status); - report_completion(701); - return status; - } - - return PJ_SUCCESS; -} - - -/* This callback is called when client transaction state has changed */ -static void tsx_completion_cb(void *token, pjsip_event *event) -{ - pjsip_transaction *tsx; - - PJ_UNUSED_ARG(token); - - if (event->type != PJSIP_EVENT_TSX_STATE) - return; - - tsx = event->body.tsx_state.tsx; - - if (tsx->mod_data[mod_test.id] != NULL) { - /* This transaction has been calculated before */ - return; - } - - if (tsx->state==PJSIP_TSX_STATE_TERMINATED) { - report_completion(tsx->status_code); - tsx->mod_data[mod_test.id] = (void*)1; - } - else if (tsx->method.id == PJSIP_INVITE_METHOD && - tsx->state == PJSIP_TSX_STATE_CONFIRMED) { - - report_completion(tsx->status_code); - tsx->mod_data[mod_test.id] = (void*)1; - - } else if (tsx->state == PJSIP_TSX_STATE_COMPLETED) { - - report_completion(tsx->status_code); - tsx->mod_data[mod_test.id] = (void*)1; - - TERMINATE_TSX(tsx, tsx->status_code); - } -} - - -/* Send one stateful request */ -static pj_status_t submit_job(void) -{ - pjsip_tx_data *tdata; - pj_status_t status; - - status = pjsip_endpt_create_request(app.sip_endpt, &app.client.method, - &app.client.dst_uri, &app.local_uri, - &app.client.dst_uri, &app.local_contact, - NULL, -1, NULL, &tdata); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Error creating request", status); - report_completion(701); - return status; - } - - status = pjsip_endpt_send_request(app.sip_endpt, tdata, -1, NULL, - &tsx_completion_cb); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Error sending stateful request", status); - //should have been reported by tsx_completion_cb(). - //report_completion(701); - //No longer necessary (r777) - //pjsip_tx_data_dec_ref(tdata); - } - return status; -} - - -/* Client worker thread */ -static int client_thread(void *arg) -{ - pj_time_val end_time, last_report, now; - unsigned thread_index = (unsigned)(long)arg; - unsigned cycle = 0, last_cycle = 0; - - pj_thread_sleep(100); - - pj_gettimeofday(&end_time); - end_time.sec += app.client.timeout; - - pj_gettimeofday(&last_report); - - if (app.client.first_request.sec == 0) { - pj_gettimeofday(&app.client.first_request); - } - - /* Submit all jobs */ - while (app.client.job_submitted < app.client.job_count && !app.thread_quit){ - pj_time_val timeout = { 0, 1 }; - unsigned i; - int outstanding; - pj_status_t status; - - /* Calculate current outstanding job */ - outstanding = app.client.job_submitted - app.client.job_finished; - - /* Update stats on max outstanding jobs */ - if (outstanding > (int)app.client.stat_max_window) - app.client.stat_max_window = outstanding; - - /* Wait if there are more pending jobs than allowed in the - * window. But spawn a new job anyway if no events are happening - * after we wait for some time. - */ - for (i=0; outstanding > (int)app.client.job_window && i<1000; ++i) { - pj_time_val wait = { 0, 500 }; - unsigned count = 0; - - pjsip_endpt_handle_events2(app.sip_endpt, &wait, &count); - outstanding = app.client.job_submitted - app.client.job_finished; - - if (count == 0) - break; - - ++cycle; - } - - - /* Submit one job */ - if (app.client.method.id == PJSIP_INVITE_METHOD) { - status = make_call(&app.client.dst_uri); - } else if (app.client.stateless) { - status = submit_stateless_job(); - } else { - status = submit_job(); - } - - ++app.client.job_submitted; - ++cycle; - - /* Handle event */ - pjsip_endpt_handle_events2(app.sip_endpt, &timeout, NULL); - - /* Check for time out, also print report */ - if (cycle - last_cycle >= 500) { - pj_gettimeofday(&now); - if (PJ_TIME_VAL_GTE(now, end_time)) { - break; - } - last_cycle = cycle; - - - if (thread_index == 0 && now.sec-last_report.sec >= 2) { - printf("\r%d jobs started, %d completed... ", - app.client.job_submitted, app.client.job_finished); - fflush(stdout); - last_report = now; - } - } - } - - if (app.client.requests_sent.sec == 0) { - pj_gettimeofday(&app.client.requests_sent); - } - - - if (thread_index == 0) { - printf("\r%d jobs started, %d completed%s\n", - app.client.job_submitted, app.client.job_finished, - (app.client.job_submitted!=app.client.job_finished ? - ", waiting..." : ".") ); - fflush(stdout); - } - - /* Wait until all jobs completes, or timed out */ - pj_gettimeofday(&now); - while (PJ_TIME_VAL_LT(now, end_time) && - app.client.job_finished < app.client.job_count && - !app.thread_quit) - { - pj_time_val timeout = { 0, 1 }; - unsigned i; - - for (i=0; i<1000; ++i) { - unsigned count; - count = 0; - pjsip_endpt_handle_events2(app.sip_endpt, &timeout, &count); - if (count == 0) - break; - } - - pj_gettimeofday(&now); - } - - /* Wait couple of seconds to let jobs completes (e.g. ACKs to be sent) */ - pj_gettimeofday(&now); - end_time = now; - end_time.sec += 2; - while (PJ_TIME_VAL_LT(now, end_time)) - { - pj_time_val timeout = { 0, 1 }; - unsigned i; - - for (i=0; i<1000; ++i) { - unsigned count; - count = 0; - pjsip_endpt_handle_events2(app.sip_endpt, &timeout, &count); - if (count == 0) - break; - } - - pj_gettimeofday(&now); - } - - return 0; -} - - -static const char *good_number(char *buf, pj_int32_t val) -{ - if (val < 1000) { - pj_ansi_sprintf(buf, "%d", val); - } else if (val < 1000000) { - pj_ansi_sprintf(buf, "%d.%dK", - val / 1000, - (val % 1000) / 100); - } else { - pj_ansi_sprintf(buf, "%d.%02dM", - val / 1000000, - (val % 1000000) / 10000); - } - - return buf; -} - - -static int server_thread(void *arg) -{ - pj_time_val timeout = { 0, 1 }; - unsigned thread_index = (unsigned)(long)arg; - pj_time_val last_report, next_report; - - pj_gettimeofday(&last_report); - next_report = last_report; - next_report.sec++; - - while (!app.thread_quit) { - pj_time_val now; - unsigned i; - - for (i=0; i<100; ++i) { - unsigned count = 0; - pjsip_endpt_handle_events2(app.sip_endpt, &timeout, &count); - if (count == 0) - break; - } - - if (thread_index == 0) { - pj_gettimeofday(&now); - - if (PJ_TIME_VAL_GTE(now, next_report)) { - pj_time_val tmp; - unsigned msec; - unsigned stateless, stateful, call; - char str_stateless[32], str_stateful[32], str_call[32]; - - tmp = now; - PJ_TIME_VAL_SUB(tmp, last_report); - msec = PJ_TIME_VAL_MSEC(tmp); - - last_report = now; - next_report = last_report; - next_report.sec++; - - stateless = app.server.cur_state.stateless_cnt - app.server.prev_state.stateless_cnt; - stateful = app.server.cur_state.stateful_cnt - app.server.prev_state.stateful_cnt; - call = app.server.cur_state.call_cnt - app.server.prev_state.call_cnt; - - good_number(str_stateless, app.server.cur_state.stateless_cnt); - good_number(str_stateful, app.server.cur_state.stateful_cnt); - good_number(str_call, app.server.cur_state.call_cnt); - - printf("Total(rate): stateless:%s (%d/s), statefull:%s (%d/s), call:%s (%d/s) \r", - str_stateless, stateless*1000/msec, - str_stateful, stateful*1000/msec, - str_call, call*1000/msec); - fflush(stdout); - - app.server.prev_state = app.server.cur_state; - } - } - } - - return 0; -} - -static void write_report(const char *msg) -{ - puts(msg); - -#if defined(PJ_WIN32) && PJ_WIN32!=0 - OutputDebugString(msg); - OutputDebugString("\n"); -#endif -} - - -int main(int argc, char *argv[]) -{ - static char report[1024]; - - printf("PJSIP Performance Measurement Tool v%s\n" - "(c)2006 pjsip.org\n\n", - PJ_VERSION); - - if (create_app() != 0) - return 1; - - if (init_options(argc, argv) != 0) - return 1; - - if (init_sip() != 0) - return 1; - - if (init_media() != 0) - return 1; - - pj_log_set_level(app.log_level); - - if (app.log_level > 4) { - pjsip_endpt_register_module(app.sip_endpt, &msg_logger); - } - - - /* Misc infos */ - if (app.client.dst_uri.slen != 0) { - if (app.client.method.id == PJSIP_INVITE_METHOD) { - if (app.client.stateless) { - PJ_LOG(3,(THIS_FILE, - "Info: --stateless option makes no sense for INVITE," - " ignored.")); - } - } - - } - - - - if (app.client.dst_uri.slen) { - /* Client mode */ - pj_status_t status; - char test_type[64]; - unsigned msec_req, msec_res; - unsigned i; - - /* Get the job name */ - if (app.client.method.id == PJSIP_INVITE_METHOD) { - pj_ansi_strcpy(test_type, "INVITE calls"); - } else if (app.client.stateless) { - pj_ansi_sprintf(test_type, "stateless %.*s requests", - (int)app.client.method.name.slen, - app.client.method.name.ptr); - } else { - pj_ansi_sprintf(test_type, "stateful %.*s requests", - (int)app.client.method.name.slen, - app.client.method.name.ptr); - } - - - printf("Sending %d %s to '%.*s' with %d maximum outstanding jobs, please wait..\n", - app.client.job_count, test_type, - (int)app.client.dst_uri.slen, app.client.dst_uri.ptr, - app.client.job_window); - - for (i=0; islen, reason->ptr); - write_report(report); - } - - /* Total responses and rate */ - pj_ansi_snprintf( report, sizeof(report), - " ------\n" - " TOTAL responses: %7d (rate=%d/sec)\n", - app.client.total_responses, - app.client.total_responses*1000/msec_res); - - write_report(report); - - pj_ansi_sprintf(report, "Maximum outstanding job: %d", - app.client.stat_max_window); - write_report(report); - - - } else { - /* Server mode */ - char s[10], *unused; - pj_status_t status; - unsigned i; - - puts("pjsip-perf started in server-mode"); - - printf("Receiving requests on the following URIs:\n" - " sip:0@%.*s:%d%s for stateless handling\n" - " sip:1@%.*s:%d%s for stateful handling\n" - " sip:2@%.*s:%d%s for call handling\n", - (int)app.local_addr.slen, - app.local_addr.ptr, - app.local_port, - (app.use_tcp ? ";transport=tcp" : ""), - (int)app.local_addr.slen, - app.local_addr.ptr, - app.local_port, - (app.use_tcp ? ";transport=tcp" : ""), - (int)app.local_addr.slen, - app.local_addr.ptr, - app.local_port, - (app.use_tcp ? ";transport=tcp" : "")); - printf("INVITE with non-matching user part will be handled call-statefully\n"); - - for (i=0; i to quit\n"); - fflush(stdout); - unused = fgets(s, sizeof(s), stdin); - PJ_UNUSED_ARG(unused); - - app.thread_quit = PJ_TRUE; - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include -#include -#include -#include -#include - -#include "util.h" - - -/** - * \page page_pjmedia_samples_playfile_c Samples: Playing WAV File to Sound Device - * - * This is a very simple example to use the @ref PJMEDIA_FILE_PLAY and - * @ref PJMED_SND_PORT. In this example, we open both the file and sound - * device, and connect the two of them, and voila! Sound will be playing - * the contents of the file. - * - * @see page_pjmedia_samples_recfile_c - * - * This file is pjsip-apps/src/samples/playfile.c - * - * \includelineno playfile.c - */ - - -/* - * playfile.c - * - * PURPOSE: - * Play a WAV file to sound player device. - * - * USAGE: - * playfile FILE.WAV - * - * The WAV file could have mono or stereo channels with arbitrary - * sampling rate, but MUST contain uncompressed (i.e. 16bit) PCM. - * - */ - - -/* For logging purpose. */ -#define THIS_FILE "playfile.c" - - -static const char *desc = -" FILE \n" -" \n" -" playfile.c \n" -" \n" -" PURPOSE \n" -" \n" -" Demonstrate how to play a WAV file. \n" -" \n" -" USAGE \n" -" \n" -" playfile FILE.WAV \n" -" \n" -" The WAV file could have mono or stereo channels with arbitrary \n" -" sampling rate, but MUST contain uncompressed (i.e. 16bit) PCM. \n"; - - -/* - * main() - */ -int main(int argc, char *argv[]) -{ - pj_caching_pool cp; - pjmedia_endpt *med_endpt; - pj_pool_t *pool; - pjmedia_port *file_port; - pjmedia_snd_port *snd_port; - char tmp[10]; - pj_status_t status; - - - if (argc != 2) { - puts("Error: filename required"); - puts(desc); - return 1; - } - - - /* Must init PJLIB first: */ - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&cp, &pj_pool_factory_default_policy, 0); - - /* - * Initialize media endpoint. - * This will implicitly initialize PJMEDIA too. - */ - status = pjmedia_endpt_create(&cp.factory, NULL, 1, &med_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Create memory pool for our file player */ - pool = pj_pool_create( &cp.factory, /* pool factory */ - "wav", /* pool name. */ - 4000, /* init size */ - 4000, /* increment size */ - NULL /* callback on error */ - ); - - /* Create file media port from the WAV file */ - status = pjmedia_wav_player_port_create( pool, /* memory pool */ - argv[1], /* file to play */ - 20, /* ptime. */ - 0, /* flags */ - 0, /* default buffer */ - &file_port/* returned port */ - ); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to use WAV file", status); - return 1; - } - - /* Create sound player port. */ - status = pjmedia_snd_port_create_player( - pool, /* pool */ - -1, /* use default dev. */ - PJMEDIA_PIA_SRATE(&file_port->info),/* clock rate. */ - PJMEDIA_PIA_CCNT(&file_port->info),/* # of channels. */ - PJMEDIA_PIA_SPF(&file_port->info), /* samples per frame. */ - PJMEDIA_PIA_BITS(&file_port->info),/* bits per sample. */ - 0, /* options */ - &snd_port /* returned port */ - ); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to open sound device", status); - return 1; - } - - /* Connect file port to the sound player. - * Stream playing will commence immediately. - */ - status = pjmedia_snd_port_connect( snd_port, file_port); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - - /* - * File should be playing and looping now, using sound device's thread. - */ - - - /* Sleep to allow log messages to flush */ - pj_thread_sleep(100); - - - printf("Playing %s..\n", argv[1]); - puts(""); - puts("Press to stop playing and quit"); - - if (fgets(tmp, sizeof(tmp), stdin) == NULL) { - puts("EOF while reading stdin, will quit now.."); - } - - - /* Start deinitialization: */ - - /* Disconnect sound port from file port */ - status = pjmedia_snd_port_disconnect(snd_port); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Without this sleep, Windows/DirectSound will repeteadly - * play the last frame during destroy. - */ - pj_thread_sleep(100); - - /* Destroy sound device */ - status = pjmedia_snd_port_destroy( snd_port ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* Destroy file port */ - status = pjmedia_port_destroy( file_port ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* Release application pool */ - pj_pool_release( pool ); - - /* Destroy media endpoint. */ - pjmedia_endpt_destroy( med_endpt ); - - /* Destroy pool factory */ - pj_caching_pool_destroy( &cp ); - - /* Shutdown PJLIB */ - pj_shutdown(); - - - /* Done. */ - return 0; -} - diff --git a/res/pjproject/pjsip-apps/src/samples/playsine.c b/res/pjproject/pjsip-apps/src/samples/playsine.c deleted file mode 100644 index 00cabe4768..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/playsine.c +++ /dev/null @@ -1,317 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - - -/** - * \page page_pjmedia_samples_playsine_c Samples: Using Custom Ports (Sine Wave Generator) - * - * This example demonstrate how to create a custom media port (in this case, a - * sine wave generator) and connect it to the sound device. - * - * This file is pjsip-apps/src/samples/playsine.c - * - * \includelineno playsine.c - */ - -/* - * playsine.c - * - * PURPOSE: - * Demonstrate how to create and use custom media port which - * simply feed a sine wav to the sound player. - * - * USAGE: - * playsine [nchannel] - * - * where: - * nchannel is 1 for mono (this is the default) or 2 for stereo. - */ - -#include -#include - -#include /* atoi() */ -#include -#include /* sin() */ - -/* For logging purpose. */ -#define THIS_FILE "playsine.c" - - -/* Util to display the error message for the specified error code */ -static int app_perror( const char *sender, const char *title, - pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - PJ_UNUSED_ARG(sender); - - pj_strerror(status, errmsg, sizeof(errmsg)); - - printf("%s: %s [code=%d]\n", title, errmsg, status); - return 1; -} - - -/* Struct attached to sine generator */ -typedef struct -{ - pj_int16_t *samples; /* Sine samples. */ -} port_data; - - -/* This callback is called to feed more samples */ -static pj_status_t sine_get_frame( pjmedia_port *port, - pjmedia_frame *frame) -{ - port_data *sine = port->port_data.pdata; - pj_int16_t *samples = frame->buf; - unsigned i, count, left, right; - - /* Get number of samples */ - count = frame->size / 2 / PJMEDIA_PIA_CCNT(&port->info); - - left = 0; - right = 0; - - for (i=0; isamples[left]; - ++left; - - if (PJMEDIA_PIA_CCNT(&port->info) == 2) { - *samples++ = sine->samples[right]; - right += 2; /* higher pitch so we can distinguish left and right. */ - if (right >= count) - right = 0; - } - } - - /* Must set frame->type correctly, otherwise the sound device - * will refuse to play. - */ - frame->type = PJMEDIA_FRAME_TYPE_AUDIO; - - return PJ_SUCCESS; -} - -#ifndef M_PI -#define M_PI (3.14159265) -#endif - -/* - * Create a media port to generate sine wave samples. - */ -static pj_status_t create_sine_port(pj_pool_t *pool, - unsigned sampling_rate, - unsigned channel_count, - pjmedia_port **p_port) -{ - pjmedia_port *port; - unsigned i; - unsigned count; - pj_str_t name; - port_data *sine; - - PJ_ASSERT_RETURN(pool && channel_count > 0 && channel_count <= 2, - PJ_EINVAL); - - port = pj_pool_zalloc(pool, sizeof(pjmedia_port)); - PJ_ASSERT_RETURN(port != NULL, PJ_ENOMEM); - - /* Fill in port info. */ - name = pj_str("sine generator"); - pjmedia_port_info_init(&port->info, &name, - PJMEDIA_SIG_CLASS_PORT_AUD('s', 'i'), - sampling_rate, - channel_count, - 16, sampling_rate * 20 / 1000 * channel_count); - - /* Set the function to feed frame */ - port->get_frame = &sine_get_frame; - - /* Create sine port data */ - port->port_data.pdata = sine = pj_pool_zalloc(pool, sizeof(port_data)); - - /* Create samples */ - count = PJMEDIA_PIA_SPF(&port->info) / channel_count; - sine->samples = pj_pool_alloc(pool, count * sizeof(pj_int16_t)); - PJ_ASSERT_RETURN(sine->samples != NULL, PJ_ENOMEM); - - /* initialise sinusoidal wavetable */ - for( i=0; isamples[i] = (pj_int16_t) (10000.0 * - sin(((double)i/(double)count) * M_PI * 8.) ); - } - - *p_port = port; - - return PJ_SUCCESS; -} - - -/* Show usage */ -static void usage(void) -{ - puts(""); - puts("Usage: playsine [nchannel]"); - puts(""); - puts("where"); - puts(" nchannel is number of audio channels (1 for mono, or 2 for stereo)."); - puts(" Default is 1 (mono)."); - puts(""); -} - - -/* - * main() - */ -int main(int argc, char *argv[]) -{ - pj_caching_pool cp; - pjmedia_endpt *med_endpt; - pj_pool_t *pool; - pjmedia_port *sine_port; - pjmedia_snd_port *snd_port; - char tmp[10]; - int channel_count = 1; - pj_status_t status; - - if (argc == 2) { - channel_count = atoi(argv[1]); - if (channel_count < 1 || channel_count > 2) { - puts("Error: invalid arguments"); - usage(); - return 1; - } - } - - /* Must init PJLIB first: */ - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&cp, &pj_pool_factory_default_policy, 0); - - /* - * Initialize media endpoint. - * This will implicitly initialize PJMEDIA too. - */ - status = pjmedia_endpt_create(&cp.factory, NULL, 1, &med_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Create memory pool for our sine generator */ - pool = pj_pool_create( &cp.factory, /* pool factory */ - "wav", /* pool name. */ - 4000, /* init size */ - 4000, /* increment size */ - NULL /* callback on error */ - ); - - /* Create a media port to generate sine wave samples. */ - status = create_sine_port( pool, /* memory pool */ - 11025, /* sampling rate */ - channel_count,/* # of channels */ - &sine_port /* returned port */ - ); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to create sine port", status); - return 1; - } - - /* Create sound player port. */ - status = pjmedia_snd_port_create_player( - pool, /* pool */ - -1, /* use default dev. */ - PJMEDIA_PIA_SRATE(&sine_port->info),/* clock rate. */ - PJMEDIA_PIA_CCNT(&sine_port->info),/* # of channels. */ - PJMEDIA_PIA_SPF(&sine_port->info), /* samples per frame. */ - PJMEDIA_PIA_BITS(&sine_port->info),/* bits per sample. */ - 0, /* options */ - &snd_port /* returned port */ - ); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to open sound device", status); - return 1; - } - - /* Connect sine generator port to the sound player - * Stream playing will commence immediately. - */ - status = pjmedia_snd_port_connect( snd_port, sine_port); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - - /* - * Audio should be playing in a loop now, using sound device's thread. - */ - - - /* Sleep to allow log messages to flush */ - pj_thread_sleep(100); - - - puts("Playing sine wave.."); - puts(""); - puts("Press to stop playing and quit"); - - if (fgets(tmp, sizeof(tmp), stdin) == NULL) { - puts("EOF while reading stdin, will quit now.."); - } - - - /* Start deinitialization: */ - - /* Disconnect sound port from file port */ - status = pjmedia_snd_port_disconnect(snd_port); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Without this sleep, Windows/DirectSound will repeteadly - * play the last frame during destroy. - */ - pj_thread_sleep(100); - - /* Destroy sound device */ - status = pjmedia_snd_port_destroy( snd_port ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* Destroy sine generator */ - status = pjmedia_port_destroy( sine_port ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* Release application pool */ - pj_pool_release( pool ); - - /* Destroy media endpoint. */ - pjmedia_endpt_destroy( med_endpt ); - - /* Destroy pool factory */ - pj_caching_pool_destroy( &cp ); - - /* Shutdown PJLIB */ - pj_shutdown(); - - - /* Done. */ - return 0; -} diff --git a/res/pjproject/pjsip-apps/src/samples/proxy.h b/res/pjproject/pjsip-apps/src/samples/proxy.h deleted file mode 100644 index 7fec1b6cdd..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/proxy.h +++ /dev/null @@ -1,585 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include - - -/* Options */ -static struct global_struct -{ - pj_caching_pool cp; - pjsip_endpoint *endpt; - int port; - pj_pool_t *pool; - - pj_thread_t *thread; - pj_bool_t quit_flag; - - pj_bool_t record_route; - - unsigned name_cnt; - pjsip_host_port name[16]; -} global; - - - -static void app_perror(const char *msg, pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(1,(THIS_FILE, "%s: %s", msg, errmsg)); -} - - -static void usage(void) -{ - puts("Options:\n" - "\n" - " -p, --port N Set local listener port to N\n" - " -R, --rr Perform record routing\n" - " -L, --log-level N Set log level to N (default: 4)\n" - " -h, --help Show this help screen\n" - ); -} - - -static pj_status_t init_options(int argc, char *argv[]) -{ - struct pj_getopt_option long_opt[] = { - { "port", 1, 0, 'p'}, - { "rr", 0, 0, 'R'}, - { "log-level", 1, 0, 'L'}, - { "help", 0, 0, 'h'}, - { NULL, 0, 0, 0} - }; - int c; - int opt_ind; - - pj_optind = 0; - while((c=pj_getopt_long(argc, argv, "p:L:Rh", long_opt, &opt_ind))!=-1) { - switch (c) { - case 'p': - global.port = atoi(pj_optarg); - printf("Port is set to %d\n", global.port); - break; - - case 'R': - global.record_route = PJ_TRUE; - printf("Using record route mode\n"); - break; - - case 'L': - pj_log_set_level(atoi(pj_optarg)); - break; - - case 'h': - usage(); - return -1; - - default: - puts("Unknown option. Run with --help for help."); - return -1; - } - } - - return PJ_SUCCESS; -} - - -/***************************************************************************** - * This is a very simple PJSIP module, whose sole purpose is to display - * incoming and outgoing messages to log. This module will have priority - * higher than transport layer, which means: - * - * - incoming messages will come to this module first before reaching - * transaction layer. - * - * - outgoing messages will come to this module last, after the message - * has been 'printed' to contiguous buffer by transport layer and - * appropriate transport instance has been decided for this message. - * - */ - -/* Notification on incoming messages */ -static pj_bool_t logging_on_rx_msg(pjsip_rx_data *rdata) -{ - PJ_LOG(5,(THIS_FILE, "RX %d bytes %s from %s %s:%d:\n" - "%.*s\n" - "--end msg--", - rdata->msg_info.len, - pjsip_rx_data_get_info(rdata), - rdata->tp_info.transport->type_name, - rdata->pkt_info.src_name, - rdata->pkt_info.src_port, - (int)rdata->msg_info.len, - rdata->msg_info.msg_buf)); - - /* Always return false, otherwise messages will not get processed! */ - return PJ_FALSE; -} - -/* Notification on outgoing messages */ -static pj_status_t logging_on_tx_msg(pjsip_tx_data *tdata) -{ - - /* Important note: - * tp_info field is only valid after outgoing messages has passed - * transport layer. So don't try to access tp_info when the module - * has lower priority than transport layer. - */ - - PJ_LOG(5,(THIS_FILE, "TX %d bytes %s to %s %s:%d:\n" - "%.*s\n" - "--end msg--", - (tdata->buf.cur - tdata->buf.start), - pjsip_tx_data_get_info(tdata), - tdata->tp_info.transport->type_name, - tdata->tp_info.dst_name, - tdata->tp_info.dst_port, - (int)(tdata->buf.cur - tdata->buf.start), - tdata->buf.start)); - - /* Always return success, otherwise message will not get sent! */ - return PJ_SUCCESS; -} - -/* The module instance. */ -static pjsip_module mod_msg_logger = -{ - NULL, NULL, /* prev, next. */ - { "mod-msg-logger", 14 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_TRANSPORT_LAYER-1,/* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &logging_on_rx_msg, /* on_rx_request() */ - &logging_on_rx_msg, /* on_rx_response() */ - &logging_on_tx_msg, /* on_tx_request. */ - &logging_on_tx_msg, /* on_tx_response() */ - NULL, /* on_tsx_state() */ - -}; - - -static pj_status_t init_stack(void) -{ - pj_status_t status; - - /* Must init PJLIB first: */ - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - - /* Then init PJLIB-UTIL: */ - status = pjlib_util_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&global.cp, &pj_pool_factory_default_policy, 0); - - /* Create the endpoint: */ - status = pjsip_endpt_create(&global.cp.factory, NULL, &global.endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Init transaction layer for stateful proxy only */ -#if STATEFUL - status = pjsip_tsx_layer_init_module(global.endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); -#endif - - /* Create listening transport */ - { - pj_sockaddr_in addr; - - addr.sin_family = pj_AF_INET(); - addr.sin_addr.s_addr = 0; - addr.sin_port = pj_htons((pj_uint16_t)global.port); - - status = pjsip_udp_transport_start( global.endpt, &addr, - NULL, 1, NULL); - if (status != PJ_SUCCESS) - return status; - } - - /* Create pool for the application */ - global.pool = pj_pool_create(&global.cp.factory, "proxyapp", - 4000, 4000, NULL); - - /* Register the logger module */ - pjsip_endpt_register_module(global.endpt, &mod_msg_logger); - - return PJ_SUCCESS; -} - - -static pj_status_t init_proxy(void) -{ - pj_sockaddr pri_addr; - pj_sockaddr addr_list[16]; - unsigned addr_cnt = PJ_ARRAY_SIZE(addr_list); - unsigned i; - - /* List all names matching local endpoint. - * Note that PJLIB version 0.6 and newer has a function to - * enumerate local IP interface (pj_enum_ip_interface()), so - * by using it would be possible to list all IP interfaces in - * this host. - */ - - /* The first address is important since this would be the one - * to be added in Record-Route. - */ - if (pj_gethostip(pj_AF_INET(), &pri_addr)==PJ_SUCCESS) { - pj_strdup2(global.pool, &global.name[global.name_cnt].host, - pj_inet_ntoa(pri_addr.ipv4.sin_addr)); - global.name[global.name_cnt].port = global.port; - global.name_cnt++; - } - - /* Get the rest of IP interfaces */ - if (pj_enum_ip_interface(pj_AF_INET(), &addr_cnt, addr_list) == PJ_SUCCESS) { - for (i=0; iport == global.name[i].port || - (uri->port==0 && global.name[i].port==5060)) && - pj_stricmp(&uri->host, &global.name[i].host)==0) - { - /* Match */ - return PJ_TRUE; - } - } - - /* Doesn't match */ - return PJ_FALSE; -} - - -/* Proxy utility to verify incoming requests. - * Return non-zero if verification failed. - */ -static pj_status_t proxy_verify_request(pjsip_rx_data *rdata) -{ - const pj_str_t STR_PROXY_REQUIRE = {"Proxy-Require", 13}; - - /* RFC 3261 Section 16.3 Request Validation */ - - /* Before an element can proxy a request, it MUST verify the message's - * validity. A valid message must pass the following checks: - * - * 1. Reasonable Syntax - * 2. URI scheme - * 3. Max-Forwards - * 4. (Optional) Loop Detection - * 5. Proxy-Require - * 6. Proxy-Authorization - */ - - /* 1. Reasonable Syntax. - * This would have been checked by transport layer. - */ - - /* 2. URI scheme. - * We only want to support "sip:" URI scheme for this simple proxy. - */ - if (!PJSIP_URI_SCHEME_IS_SIP(rdata->msg_info.msg->line.req.uri)) { - pjsip_endpt_respond_stateless(global.endpt, rdata, - PJSIP_SC_UNSUPPORTED_URI_SCHEME, NULL, - NULL, NULL); - return PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_UNSUPPORTED_URI_SCHEME); - } - - /* 3. Max-Forwards. - * Send error if Max-Forwards is 1 or lower. - */ - if (rdata->msg_info.max_fwd && rdata->msg_info.max_fwd->ivalue <= 1) { - pjsip_endpt_respond_stateless(global.endpt, rdata, - PJSIP_SC_TOO_MANY_HOPS, NULL, - NULL, NULL); - return PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_TOO_MANY_HOPS); - } - - /* 4. (Optional) Loop Detection. - * Nah, we don't do that with this simple proxy. - */ - - /* 5. Proxy-Require */ - if (pjsip_msg_find_hdr_by_name(rdata->msg_info.msg, &STR_PROXY_REQUIRE, - NULL) != NULL) - { - pjsip_endpt_respond_stateless(global.endpt, rdata, - PJSIP_SC_BAD_EXTENSION, NULL, - NULL, NULL); - return PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_BAD_EXTENSION); - } - - /* 6. Proxy-Authorization. - * Nah, we don't require any authorization with this sample. - */ - - return PJ_SUCCESS; -} - - -/* Process route information in the reqeust */ -static pj_status_t proxy_process_routing(pjsip_tx_data *tdata) -{ - pjsip_sip_uri *target; - pjsip_route_hdr *hroute; - - /* RFC 3261 Section 16.4 Route Information Preprocessing */ - - target = (pjsip_sip_uri*) tdata->msg->line.req.uri; - - /* The proxy MUST inspect the Request-URI of the request. If the - * Request-URI of the request contains a value this proxy previously - * placed into a Record-Route header field (see Section 16.6 item 4), - * the proxy MUST replace the Request-URI in the request with the last - * value from the Route header field, and remove that value from the - * Route header field. The proxy MUST then proceed as if it received - * this modified request. - */ - if (is_uri_local(target)) { - pjsip_route_hdr *r; - pjsip_sip_uri *uri; - - /* Find the first Route header */ - r = hroute = (pjsip_route_hdr*) - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_ROUTE, NULL); - if (r == NULL) { - /* No Route header. This request is destined for this proxy. */ - return PJ_SUCCESS; - } - - /* Find the last Route header */ - while ( (r=(pjsip_route_hdr*)pjsip_msg_find_hdr(tdata->msg, - PJSIP_H_ROUTE, - r->next)) != NULL ) - { - hroute = r; - } - - /* If the last Route header doesn't have ";lr" parameter, then - * this is a strict-routed request indeed, and we follow the steps - * in processing strict-route requests above. - * - * But if it does contain ";lr" parameter, skip the strict-route - * processing. - */ - uri = (pjsip_sip_uri*) - pjsip_uri_get_uri(&hroute->name_addr); - if (uri->lr_param == 0) { - /* Yes this is strict route, so: - * - replace req URI with the URI in Route header, - * - remove the Route header, - * - proceed as if it received this modified request. - */ - tdata->msg->line.req.uri = hroute->name_addr.uri; - target = (pjsip_sip_uri*) tdata->msg->line.req.uri; - pj_list_erase(hroute); - } - } - - /* If the Request-URI contains a maddr parameter, the proxy MUST check - * to see if its value is in the set of addresses or domains the proxy - * is configured to be responsible for. If the Request-URI has a maddr - * parameter with a value the proxy is responsible for, and the request - * was received using the port and transport indicated (explicitly or by - * default) in the Request-URI, the proxy MUST strip the maddr and any - * non-default port or transport parameter and continue processing as if - * those values had not been present in the request. - */ - if (target->maddr_param.slen != 0) { - pjsip_sip_uri maddr_uri; - - maddr_uri.host = target->maddr_param; - maddr_uri.port = global.port; - - if (is_uri_local(&maddr_uri)) { - target->maddr_param.slen = 0; - target->port = 0; - target->transport_param.slen = 0; - } - } - - /* If the first value in the Route header field indicates this proxy, - * the proxy MUST remove that value from the request. - */ - hroute = (pjsip_route_hdr*) - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_ROUTE, NULL); - if (hroute && is_uri_local((pjsip_sip_uri*)hroute->name_addr.uri)) { - pj_list_erase(hroute); - } - - return PJ_SUCCESS; -} - - -/* Postprocess the request before forwarding it */ -static void proxy_postprocess(pjsip_tx_data *tdata) -{ - /* Optionally record-route */ - if (global.record_route) { - char uribuf[128]; - pj_str_t uri; - const pj_str_t H_RR = { "Record-Route", 12 }; - pjsip_generic_string_hdr *rr; - - pj_ansi_snprintf(uribuf, sizeof(uribuf), "", - (int)global.name[0].host.slen, - global.name[0].host.ptr, - global.name[0].port); - uri = pj_str(uribuf); - rr = pjsip_generic_string_hdr_create(tdata->pool, - &H_RR, &uri); - pjsip_msg_insert_first_hdr(tdata->msg, (pjsip_hdr*)rr); - } -} - - -/* Calculate new target for the request */ -static pj_status_t proxy_calculate_target(pjsip_rx_data *rdata, - pjsip_tx_data *tdata) -{ - pjsip_sip_uri *target; - - /* RFC 3261 Section 16.5 Determining Request Targets */ - - target = (pjsip_sip_uri*) tdata->msg->line.req.uri; - - /* If the Request-URI of the request contains an maddr parameter, the - * Request-URI MUST be placed into the target set as the only target - * URI, and the proxy MUST proceed to Section 16.6. - */ - if (target->maddr_param.slen) { - proxy_postprocess(tdata); - return PJ_SUCCESS; - } - - - /* If the domain of the Request-URI indicates a domain this element is - * not responsible for, the Request-URI MUST be placed into the target - * set as the only target, and the element MUST proceed to the task of - * Request Forwarding (Section 16.6). - */ - if (!is_uri_local(target)) { - proxy_postprocess(tdata); - return PJ_SUCCESS; - } - - /* If the target set for the request has not been predetermined as - * described above, this implies that the element is responsible for the - * domain in the Request-URI, and the element MAY use whatever mechanism - * it desires to determine where to send the request. - */ - - /* We're not interested to receive request destined to us, so - * respond with 404/Not Found (only if request is not ACK!). - */ - if (rdata->msg_info.msg->line.req.method.id != PJSIP_ACK_METHOD) { - pjsip_endpt_respond_stateless(global.endpt, rdata, - PJSIP_SC_NOT_FOUND, NULL, - NULL, NULL); - } - - /* Delete the request since we're not forwarding it */ - pjsip_tx_data_dec_ref(tdata); - - return PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_NOT_FOUND); -} - - -/* Destroy stack */ -static void destroy_stack(void) -{ - pjsip_endpt_destroy(global.endpt); - pj_pool_release(global.pool); - pj_caching_pool_destroy(&global.cp); - - pj_shutdown(); -} - diff --git a/res/pjproject/pjsip-apps/src/samples/recfile.c b/res/pjproject/pjsip-apps/src/samples/recfile.c deleted file mode 100644 index 60ca4e4f9c..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/recfile.c +++ /dev/null @@ -1,202 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/** - * \page page_pjmedia_samples_recfile_c Samples: Capturing Audio to WAV File - * - * In this example, we capture audio from the sound device and save it to - * WAVE file. - * - * @see page_pjmedia_samples_playfile_c - * - * This file is pjsip-apps/src/samples/recfile.c - * - * \includelineno recfile.c - */ - -#include -#include - -#include - -/* For logging purpose. */ -#define THIS_FILE "recfile.c" - - -/* Configs */ -#define CLOCK_RATE 44100 -#define NCHANNELS 2 -#define SAMPLES_PER_FRAME (NCHANNELS * (CLOCK_RATE * 10 / 1000)) -#define BITS_PER_SAMPLE 16 - - -static const char *desc = - " FILE \n" - " recfile.c \n" - " \n" - " PURPOSE: \n" - " Record microphone to WAVE file. \n" - " \n" - " USAGE: \n" - " recfile FILE.WAV \n" - ""; - - -/* Util to display the error message for the specified error code */ -static int app_perror( const char *sender, const char *title, - pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - PJ_UNUSED_ARG(sender); - - pj_strerror(status, errmsg, sizeof(errmsg)); - - printf("%s: %s [code=%d]\n", title, errmsg, status); - return 1; -} - - -/* - * main() - */ -int main(int argc, char *argv[]) -{ - pj_caching_pool cp; - pjmedia_endpt *med_endpt; - pj_pool_t *pool; - pjmedia_port *file_port; - pjmedia_snd_port *snd_port; - char tmp[10]; - pj_status_t status; - - - /* Verify cmd line arguments. */ - if (argc != 2) { - puts(""); - puts(desc); - return 0; - } - - /* Must init PJLIB first: */ - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&cp, &pj_pool_factory_default_policy, 0); - - /* - * Initialize media endpoint. - * This will implicitly initialize PJMEDIA too. - */ - status = pjmedia_endpt_create(&cp.factory, NULL, 1, &med_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Create memory pool for our file player */ - pool = pj_pool_create( &cp.factory, /* pool factory */ - "app", /* pool name. */ - 4000, /* init size */ - 4000, /* increment size */ - NULL /* callback on error */ - ); - - /* Create WAVE file writer port. */ - status = pjmedia_wav_writer_port_create( pool, argv[1], - CLOCK_RATE, - NCHANNELS, - SAMPLES_PER_FRAME, - BITS_PER_SAMPLE, - 0, 0, - &file_port); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to open WAV file for writing", status); - return 1; - } - - /* Create sound player port. */ - status = pjmedia_snd_port_create_rec( - pool, /* pool */ - -1, /* use default dev. */ - PJMEDIA_PIA_SRATE(&file_port->info),/* clock rate. */ - PJMEDIA_PIA_CCNT(&file_port->info),/* # of channels. */ - PJMEDIA_PIA_SPF(&file_port->info), /* samples per frame. */ - PJMEDIA_PIA_BITS(&file_port->info),/* bits per sample. */ - 0, /* options */ - &snd_port /* returned port */ - ); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to open sound device", status); - return 1; - } - - /* Connect file port to the sound player. - * Stream playing will commence immediately. - */ - status = pjmedia_snd_port_connect( snd_port, file_port); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - - /* - * Recording should be started now. - */ - - - /* Sleep to allow log messages to flush */ - pj_thread_sleep(10); - - - printf("Recodring %s..\n", argv[1]); - puts(""); - puts("Press to stop recording and quit"); - - if (fgets(tmp, sizeof(tmp), stdin) == NULL) { - puts("EOF while reading stdin, will quit now.."); - } - - - /* Start deinitialization: */ - - /* Destroy sound device */ - status = pjmedia_snd_port_destroy( snd_port ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* Destroy file port */ - status = pjmedia_port_destroy( file_port ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* Release application pool */ - pj_pool_release( pool ); - - /* Destroy media endpoint. */ - pjmedia_endpt_destroy( med_endpt ); - - /* Destroy pool factory */ - pj_caching_pool_destroy( &cp ); - - /* Shutdown PJLIB */ - pj_shutdown(); - - - /* Done. */ - return 0; -} diff --git a/res/pjproject/pjsip-apps/src/samples/resampleplay.c b/res/pjproject/pjsip-apps/src/samples/resampleplay.c deleted file mode 100644 index 5a40e3083d..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/resampleplay.c +++ /dev/null @@ -1,232 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/** - * \page page_pjmedia_samples_resampleplay_c Samples: Using Resample Port - * - * This example demonstrates how to use @ref PJMEDIA_RESAMPLE_PORT to - * change the sampling rate of the media streams. - * - * This file is pjsip-apps/src/samples/resampleplay.c - * - * \includelineno resampleplay.c - */ - -#include -#include -#include - -#include -#include - -#include "util.h" - -/* For logging purpose. */ -#define THIS_FILE "resampleplay.c" - - -static const char *desc = -" FILE \n" -" \n" -" resampleplay.c \n" -" \n" -" PURPOSE \n" -" \n" -" Demonstrate how use resample port to play a WAV file to sound \n" -" device using different sampling rate. \n" -" \n" -" USAGE \n" -" \n" -" resampleplay [options] FILE.WAV \n" -" \n" -" where options: \n" -SND_USAGE -" \n" -" The WAV file could have mono or stereo channels with arbitrary \n" -" sampling rate, but MUST contain uncompressed (i.e. 16bit) PCM. \n"; - - -int main(int argc, char *argv[]) -{ - pj_caching_pool cp; - pjmedia_endpt *med_endpt; - pj_pool_t *pool; - pjmedia_port *file_port; - pjmedia_port *resample_port; - pjmedia_snd_port *snd_port; - char tmp[10]; - pj_status_t status; - - int dev_id = -1; - int sampling_rate = CLOCK_RATE; - int channel_count = NCHANNELS; - int samples_per_frame = NSAMPLES; - int bits_per_sample = NBITS; - //int ptime; - //int down_samples; - - /* Must init PJLIB first: */ - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* Get options */ - if (get_snd_options(THIS_FILE, argc, argv, &dev_id, &sampling_rate, - &channel_count, &samples_per_frame, &bits_per_sample)) - { - puts(""); - puts(desc); - return 1; - } - - if (!argv[pj_optind]) { - puts("Error: no file is specified"); - puts(desc); - return 1; - } - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&cp, &pj_pool_factory_default_policy, 0); - - /* - * Initialize media endpoint. - * This will implicitly initialize PJMEDIA too. - */ - status = pjmedia_endpt_create(&cp.factory, NULL, 1, &med_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Create memory pool for our file player */ - pool = pj_pool_create( &cp.factory, /* pool factory */ - "app", /* pool name. */ - 4000, /* init size */ - 4000, /* increment size */ - NULL /* callback on error */ - ); - - /* Create the file port. */ - status = pjmedia_wav_player_port_create( pool, argv[pj_optind], 0, 0, - 0, &file_port); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to open file", status); - return 1; - } - - /* File must have same number of channels. */ - if (PJMEDIA_PIA_CCNT(&file_port->info) != (unsigned)channel_count) { - PJ_LOG(3,(THIS_FILE, "Error: file has different number of channels. " - "Perhaps you'd need -c option?")); - pjmedia_port_destroy(file_port); - return 1; - } - - /* Calculate number of samples per frame to be taken from file port */ - //ptime = samples_per_frame * 1000 / sampling_rate; - - /* Create the resample port. */ - status = pjmedia_resample_port_create( pool, file_port, - sampling_rate, 0, - &resample_port); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to create resample port", status); - return 1; - } - - /* Create sound player port. */ - status = pjmedia_snd_port_create( - pool, /* pool */ - dev_id, /* device */ - dev_id, /* device */ - sampling_rate, /* clock rate. */ - channel_count, /* # of channels. */ - samples_per_frame, /* samples per frame. */ - bits_per_sample, /* bits per sample. */ - 0, /* options */ - &snd_port /* returned port */ - ); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to open sound device", status); - return 1; - } - - /* Connect resample port to sound device */ - status = pjmedia_snd_port_connect( snd_port, resample_port); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Error connecting sound ports", status); - return 1; - } - - - /* Dump memory usage */ - dump_pool_usage(THIS_FILE, &cp); - - /* - * File should be playing and looping now, using sound device's thread. - */ - - - /* Sleep to allow log messages to flush */ - pj_thread_sleep(100); - - - printf("Playing %s at sampling rate %d (original file sampling rate=%d)\n", - argv[pj_optind], sampling_rate, - PJMEDIA_PIA_SRATE(&file_port->info)); - puts(""); - puts("Press to stop playing and quit"); - - if (fgets(tmp, sizeof(tmp), stdin) == NULL) { - puts("EOF while reading stdin, will quit now.."); - } - - /* Start deinitialization: */ - - - /* Destroy sound device */ - status = pjmedia_snd_port_destroy( snd_port ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* Destroy resample port. - * This will destroy all downstream ports (e.g. the file port) - */ - status = pjmedia_port_destroy( resample_port ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* Release application pool */ - pj_pool_release( pool ); - - /* Destroy media endpoint. */ - pjmedia_endpt_destroy( med_endpt ); - - /* Destroy pool factory */ - pj_caching_pool_destroy( &cp ); - - /* Shutdown PJLIB */ - pj_shutdown(); - - - /* Done. */ - return 0; - -} - - - diff --git a/res/pjproject/pjsip-apps/src/samples/simple_pjsua.c b/res/pjproject/pjsip-apps/src/samples/simple_pjsua.c deleted file mode 100644 index 5cd0ce1f7f..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/simple_pjsua.c +++ /dev/null @@ -1,201 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/** - * simple_pjsua.c - * - * This is a very simple but fully featured SIP user agent, with the - * following capabilities: - * - SIP registration - * - Making and receiving call - * - Audio/media to sound device. - * - * Usage: - * - To make outgoing call, start simple_pjsua with the URL of remote - * destination to contact. - * E.g.: - * simpleua sip:user@remote - * - * - Incoming calls will automatically be answered with 200. - * - * This program will quit once it has completed a single call. - */ - -#include - -#define THIS_FILE "APP" - -#define SIP_DOMAIN "example.com" -#define SIP_USER "alice" -#define SIP_PASSWD "secret" - - -/* Callback called by the library upon receiving incoming call */ -static void on_incoming_call(pjsua_acc_id acc_id, pjsua_call_id call_id, - pjsip_rx_data *rdata) -{ - pjsua_call_info ci; - - PJ_UNUSED_ARG(acc_id); - PJ_UNUSED_ARG(rdata); - - pjsua_call_get_info(call_id, &ci); - - PJ_LOG(3,(THIS_FILE, "Incoming call from %.*s!!", - (int)ci.remote_info.slen, - ci.remote_info.ptr)); - - /* Automatically answer incoming calls with 200/OK */ - pjsua_call_answer(call_id, 200, NULL, NULL); -} - -/* Callback called by the library when call's state has changed */ -static void on_call_state(pjsua_call_id call_id, pjsip_event *e) -{ - pjsua_call_info ci; - - PJ_UNUSED_ARG(e); - - pjsua_call_get_info(call_id, &ci); - PJ_LOG(3,(THIS_FILE, "Call %d state=%.*s", call_id, - (int)ci.state_text.slen, - ci.state_text.ptr)); -} - -/* Callback called by the library when call's media state has changed */ -static void on_call_media_state(pjsua_call_id call_id) -{ - pjsua_call_info ci; - - pjsua_call_get_info(call_id, &ci); - - if (ci.media_status == PJSUA_CALL_MEDIA_ACTIVE) { - // When media is active, connect call to sound device. - pjsua_conf_connect(ci.conf_slot, 0); - pjsua_conf_connect(0, ci.conf_slot); - } -} - -/* Display error and exit application */ -static void error_exit(const char *title, pj_status_t status) -{ - pjsua_perror(THIS_FILE, title, status); - pjsua_destroy(); - exit(1); -} - -/* - * main() - * - * argv[1] may contain URL to call. - */ -int main(int argc, char *argv[]) -{ - pjsua_acc_id acc_id; - pj_status_t status; - - /* Create pjsua first! */ - status = pjsua_create(); - if (status != PJ_SUCCESS) error_exit("Error in pjsua_create()", status); - - /* If argument is specified, it's got to be a valid SIP URL */ - if (argc > 1) { - status = pjsua_verify_url(argv[1]); - if (status != PJ_SUCCESS) error_exit("Invalid URL in argv", status); - } - - /* Init pjsua */ - { - pjsua_config cfg; - pjsua_logging_config log_cfg; - - pjsua_config_default(&cfg); - cfg.cb.on_incoming_call = &on_incoming_call; - cfg.cb.on_call_media_state = &on_call_media_state; - cfg.cb.on_call_state = &on_call_state; - - pjsua_logging_config_default(&log_cfg); - log_cfg.console_level = 4; - - status = pjsua_init(&cfg, &log_cfg, NULL); - if (status != PJ_SUCCESS) error_exit("Error in pjsua_init()", status); - } - - /* Add UDP transport. */ - { - pjsua_transport_config cfg; - - pjsua_transport_config_default(&cfg); - cfg.port = 5060; - status = pjsua_transport_create(PJSIP_TRANSPORT_UDP, &cfg, NULL); - if (status != PJ_SUCCESS) error_exit("Error creating transport", status); - } - - /* Initialization is done, now start pjsua */ - status = pjsua_start(); - if (status != PJ_SUCCESS) error_exit("Error starting pjsua", status); - - /* Register to SIP server by creating SIP account. */ - { - pjsua_acc_config cfg; - - pjsua_acc_config_default(&cfg); - cfg.id = pj_str("sip:" SIP_USER "@" SIP_DOMAIN); - cfg.reg_uri = pj_str("sip:" SIP_DOMAIN); - cfg.cred_count = 1; - cfg.cred_info[0].realm = pj_str(SIP_DOMAIN); - cfg.cred_info[0].scheme = pj_str("digest"); - cfg.cred_info[0].username = pj_str(SIP_USER); - cfg.cred_info[0].data_type = PJSIP_CRED_DATA_PLAIN_PASSWD; - cfg.cred_info[0].data = pj_str(SIP_PASSWD); - - status = pjsua_acc_add(&cfg, PJ_TRUE, &acc_id); - if (status != PJ_SUCCESS) error_exit("Error adding account", status); - } - - /* If URL is specified, make call to the URL. */ - if (argc > 1) { - pj_str_t uri = pj_str(argv[1]); - status = pjsua_call_make_call(acc_id, &uri, 0, NULL, NULL, NULL); - if (status != PJ_SUCCESS) error_exit("Error making call", status); - } - - /* Wait until user press "q" to quit. */ - for (;;) { - char option[10]; - - puts("Press 'h' to hangup all calls, 'q' to quit"); - if (fgets(option, sizeof(option), stdin) == NULL) { - puts("EOF while reading stdin, will quit now.."); - break; - } - - if (option[0] == 'q') - break; - - if (option[0] == 'h') - pjsua_call_hangup_all(); - } - - /* Destroy pjsua */ - pjsua_destroy(); - - return 0; -} diff --git a/res/pjproject/pjsip-apps/src/samples/simpleua.c b/res/pjproject/pjsip-apps/src/samples/simpleua.c deleted file mode 100644 index 68c50b9b4d..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/simpleua.c +++ /dev/null @@ -1,1030 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - - -/** - * simpleua.c - * - * This is a very simple SIP user agent complete with media. The user - * agent should do a proper SDP negotiation and start RTP media once - * SDP negotiation has completed. - * - * This program does not register to SIP server. - * - * Capabilities to be demonstrated here: - * - Basic call - * - Should support IPv6 (not tested) - * - UDP transport at port 5060 (hard coded) - * - RTP socket at port 4000 (hard coded) - * - proper SDP negotiation - * - PCMA/PCMU codec only. - * - Audio/media to sound device. - * - * - * Usage: - * - To make outgoing call, start simpleua with the URL of remote - * destination to contact. - * E.g.: - * simpleua sip:user@remote - * - * - Incoming calls will automatically be answered with 180, then 200. - * - * This program does not disconnect call. - * - * This program will quit once it has completed a single call. - */ - -/* Include all headers. */ -#include -#include -#include -#include -#include -#include -#include - -/* For logging purpose. */ -#define THIS_FILE "simpleua.c" - -#include "util.h" - - -/* Settings */ -#define AF pj_AF_INET() /* Change to pj_AF_INET6() for IPv6. - * PJ_HAS_IPV6 must be enabled and - * your system must support IPv6. */ -#if 0 -#define SIP_PORT 5080 /* Listening SIP port */ -#define RTP_PORT 5000 /* RTP port */ -#else -#define SIP_PORT 5060 /* Listening SIP port */ -#define RTP_PORT 4000 /* RTP port */ -#endif - -#define MAX_MEDIA_CNT 2 /* Media count, set to 1 for audio - * only or 2 for audio and video */ - -/* - * Static variables. - */ - -static pj_bool_t g_complete; /* Quit flag. */ -static pjsip_endpoint *g_endpt; /* SIP endpoint. */ -static pj_caching_pool cp; /* Global pool factory. */ - -static pjmedia_endpt *g_med_endpt; /* Media endpoint. */ - -static pjmedia_transport_info g_med_tpinfo[MAX_MEDIA_CNT]; - /* Socket info for media */ -static pjmedia_transport *g_med_transport[MAX_MEDIA_CNT]; - /* Media stream transport */ -static pjmedia_sock_info g_sock_info[MAX_MEDIA_CNT]; - /* Socket info array */ - -/* Call variables: */ -static pjsip_inv_session *g_inv; /* Current invite session. */ -static pjmedia_stream *g_med_stream; /* Call's audio stream. */ -static pjmedia_snd_port *g_snd_port; /* Sound device. */ - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) -static pjmedia_vid_stream *g_med_vstream; /* Call's video stream. */ -static pjmedia_vid_port *g_vid_capturer;/* Call's video capturer. */ -static pjmedia_vid_port *g_vid_renderer;/* Call's video renderer. */ -#endif /* PJMEDIA_HAS_VIDEO */ - -/* - * Prototypes: - */ - -/* Callback to be called when SDP negotiation is done in the call: */ -static void call_on_media_update( pjsip_inv_session *inv, - pj_status_t status); - -/* Callback to be called when invite session's state has changed: */ -static void call_on_state_changed( pjsip_inv_session *inv, - pjsip_event *e); - -/* Callback to be called when dialog has forked: */ -static void call_on_forked(pjsip_inv_session *inv, pjsip_event *e); - -/* Callback to be called to handle incoming requests outside dialogs: */ -static pj_bool_t on_rx_request( pjsip_rx_data *rdata ); - - - - -/* This is a PJSIP module to be registered by application to handle - * incoming requests outside any dialogs/transactions. The main purpose - * here is to handle incoming INVITE request message, where we will - * create a dialog and INVITE session for it. - */ -static pjsip_module mod_simpleua = -{ - NULL, NULL, /* prev, next. */ - { "mod-simpleua", 12 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &on_rx_request, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ -}; - - -/* Notification on incoming messages */ -static pj_bool_t logging_on_rx_msg(pjsip_rx_data *rdata) -{ - PJ_LOG(4,(THIS_FILE, "RX %d bytes %s from %s %s:%d:\n" - "%.*s\n" - "--end msg--", - rdata->msg_info.len, - pjsip_rx_data_get_info(rdata), - rdata->tp_info.transport->type_name, - rdata->pkt_info.src_name, - rdata->pkt_info.src_port, - (int)rdata->msg_info.len, - rdata->msg_info.msg_buf)); - - /* Always return false, otherwise messages will not get processed! */ - return PJ_FALSE; -} - -/* Notification on outgoing messages */ -static pj_status_t logging_on_tx_msg(pjsip_tx_data *tdata) -{ - - /* Important note: - * tp_info field is only valid after outgoing messages has passed - * transport layer. So don't try to access tp_info when the module - * has lower priority than transport layer. - */ - - PJ_LOG(4,(THIS_FILE, "TX %d bytes %s to %s %s:%d:\n" - "%.*s\n" - "--end msg--", - (tdata->buf.cur - tdata->buf.start), - pjsip_tx_data_get_info(tdata), - tdata->tp_info.transport->type_name, - tdata->tp_info.dst_name, - tdata->tp_info.dst_port, - (int)(tdata->buf.cur - tdata->buf.start), - tdata->buf.start)); - - /* Always return success, otherwise message will not get sent! */ - return PJ_SUCCESS; -} - -/* The module instance. */ -static pjsip_module msg_logger = -{ - NULL, NULL, /* prev, next. */ - { "mod-msg-log", 13 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_TRANSPORT_LAYER-1,/* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &logging_on_rx_msg, /* on_rx_request() */ - &logging_on_rx_msg, /* on_rx_response() */ - &logging_on_tx_msg, /* on_tx_request. */ - &logging_on_tx_msg, /* on_tx_response() */ - NULL, /* on_tsx_state() */ - -}; - - -/* - * main() - * - * If called with argument, treat argument as SIP URL to be called. - * Otherwise wait for incoming calls. - */ -int main(int argc, char *argv[]) -{ - pj_pool_t *pool = NULL; - pj_status_t status; - unsigned i; - - /* Must init PJLIB first: */ - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - pj_log_set_level(5); - - /* Then init PJLIB-UTIL: */ - status = pjlib_util_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&cp, &pj_pool_factory_default_policy, 0); - - - /* Create global endpoint: */ - { - const pj_str_t *hostname; - const char *endpt_name; - - /* Endpoint MUST be assigned a globally unique name. - * The name will be used as the hostname in Warning header. - */ - - /* For this implementation, we'll use hostname for simplicity */ - hostname = pj_gethostname(); - endpt_name = hostname->ptr; - - /* Create the endpoint: */ - - status = pjsip_endpt_create(&cp.factory, endpt_name, - &g_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - } - - - /* - * Add UDP transport, with hard-coded port - * Alternatively, application can use pjsip_udp_transport_attach() to - * start UDP transport, if it already has an UDP socket (e.g. after it - * resolves the address with STUN). - */ - { - pj_sockaddr addr; - - pj_sockaddr_init(AF, &addr, NULL, (pj_uint16_t)SIP_PORT); - - if (AF == pj_AF_INET()) { - status = pjsip_udp_transport_start( g_endpt, &addr.ipv4, NULL, - 1, NULL); - } else if (AF == pj_AF_INET6()) { - status = pjsip_udp_transport_start6(g_endpt, &addr.ipv6, NULL, - 1, NULL); - } else { - status = PJ_EAFNOTSUP; - } - - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to start UDP transport", status); - return 1; - } - } - - - /* - * Init transaction layer. - * This will create/initialize transaction hash tables etc. - */ - status = pjsip_tsx_layer_init_module(g_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* - * Initialize UA layer module. - * This will create/initialize dialog hash tables etc. - */ - status = pjsip_ua_init_module( g_endpt, NULL ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* - * Init invite session module. - * The invite session module initialization takes additional argument, - * i.e. a structure containing callbacks to be called on specific - * occurence of events. - * - * The on_state_changed and on_new_session callbacks are mandatory. - * Application must supply the callback function. - * - * We use on_media_update() callback in this application to start - * media transmission. - */ - { - pjsip_inv_callback inv_cb; - - /* Init the callback for INVITE session: */ - pj_bzero(&inv_cb, sizeof(inv_cb)); - inv_cb.on_state_changed = &call_on_state_changed; - inv_cb.on_new_session = &call_on_forked; - inv_cb.on_media_update = &call_on_media_update; - - /* Initialize invite session module: */ - status = pjsip_inv_usage_init(g_endpt, &inv_cb); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - } - - /* Initialize 100rel support */ - status = pjsip_100rel_init_module(g_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* - * Register our module to receive incoming requests. - */ - status = pjsip_endpt_register_module( g_endpt, &mod_simpleua); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* - * Register message logger module. - */ - status = pjsip_endpt_register_module( g_endpt, &msg_logger); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* - * Initialize media endpoint. - * This will implicitly initialize PJMEDIA too. - */ -#if PJ_HAS_THREADS - status = pjmedia_endpt_create(&cp.factory, NULL, 1, &g_med_endpt); -#else - status = pjmedia_endpt_create(&cp.factory, - pjsip_endpt_get_ioqueue(g_endpt), - 0, &g_med_endpt); -#endif - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* - * Add PCMA/PCMU codec to the media endpoint. - */ -#if defined(PJMEDIA_HAS_G711_CODEC) && PJMEDIA_HAS_G711_CODEC!=0 - status = pjmedia_codec_g711_init(g_med_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); -#endif - - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - /* Init video subsystem */ - pool = pjmedia_endpt_create_pool(g_med_endpt, "Video subsystem", 512, 512); - status = pjmedia_video_format_mgr_create(pool, 64, 0, NULL); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - status = pjmedia_converter_mgr_create(pool, NULL); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - status = pjmedia_vid_codec_mgr_create(pool, NULL); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - status = pjmedia_vid_dev_subsys_init(&cp.factory); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - -# if defined(PJMEDIA_HAS_FFMPEG_VID_CODEC) && PJMEDIA_HAS_FFMPEG_VID_CODEC!=0 - /* Init ffmpeg video codecs */ - status = pjmedia_codec_ffmpeg_vid_init(NULL, &cp.factory); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); -# endif /* PJMEDIA_HAS_FFMPEG_VID_CODEC */ - -#endif /* PJMEDIA_HAS_VIDEO */ - - /* - * Create media transport used to send/receive RTP/RTCP socket. - * One media transport is needed for each call. Application may - * opt to re-use the same media transport for subsequent calls. - */ - for (i = 0; i < PJ_ARRAY_SIZE(g_med_transport); ++i) { - status = pjmedia_transport_udp_create3(g_med_endpt, AF, NULL, NULL, - RTP_PORT + i*2, 0, - &g_med_transport[i]); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to create media transport", status); - return 1; - } - - /* - * Get socket info (address, port) of the media transport. We will - * need this info to create SDP (i.e. the address and port info in - * the SDP). - */ - pjmedia_transport_info_init(&g_med_tpinfo[i]); - pjmedia_transport_get_info(g_med_transport[i], &g_med_tpinfo[i]); - - pj_memcpy(&g_sock_info[i], &g_med_tpinfo[i].sock_info, - sizeof(pjmedia_sock_info)); - } - - /* - * If URL is specified, then make call immediately. - */ - if (argc > 1) { - pj_sockaddr hostaddr; - char hostip[PJ_INET6_ADDRSTRLEN+2]; - char temp[80]; - pj_str_t dst_uri = pj_str(argv[1]); - pj_str_t local_uri; - pjsip_dialog *dlg; - pjmedia_sdp_session *local_sdp; - pjsip_tx_data *tdata; - - if (pj_gethostip(AF, &hostaddr) != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to retrieve local host IP", status); - return 1; - } - pj_sockaddr_print(&hostaddr, hostip, sizeof(hostip), 2); - - pj_ansi_sprintf(temp, "", - hostip, SIP_PORT); - local_uri = pj_str(temp); - - /* Create UAC dialog */ - status = pjsip_dlg_create_uac( pjsip_ua_instance(), - &local_uri, /* local URI */ - &local_uri, /* local Contact */ - &dst_uri, /* remote URI */ - &dst_uri, /* remote target */ - &dlg); /* dialog */ - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to create UAC dialog", status); - return 1; - } - - /* If we expect the outgoing INVITE to be challenged, then we should - * put the credentials in the dialog here, with something like this: - * - { - pjsip_cred_info cred[1]; - - cred[0].realm = pj_str("sip.server.realm"); - cred[0].scheme = pj_str("digest"); - cred[0].username = pj_str("theuser"); - cred[0].data_type = PJSIP_CRED_DATA_PLAIN_PASSWD; - cred[0].data = pj_str("thepassword"); - - pjsip_auth_clt_set_credentials( &dlg->auth_sess, 1, cred); - } - * - */ - - - /* Get the SDP body to be put in the outgoing INVITE, by asking - * media endpoint to create one for us. - */ - status = pjmedia_endpt_create_sdp( g_med_endpt, /* the media endpt */ - dlg->pool, /* pool. */ - MAX_MEDIA_CNT, /* # of streams */ - g_sock_info, /* RTP sock info */ - &local_sdp); /* the SDP result */ - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - - /* Create the INVITE session, and pass the SDP returned earlier - * as the session's initial capability. - */ - status = pjsip_inv_create_uac( dlg, local_sdp, 0, &g_inv); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* If we want the initial INVITE to travel to specific SIP proxies, - * then we should put the initial dialog's route set here. The final - * route set will be updated once a dialog has been established. - * To set the dialog's initial route set, we do it with something - * like this: - * - { - pjsip_route_hdr route_set; - pjsip_route_hdr *route; - const pj_str_t hname = { "Route", 5 }; - char *uri = "sip:proxy.server;lr"; - - pj_list_init(&route_set); - - route = pjsip_parse_hdr( dlg->pool, &hname, - uri, strlen(uri), - NULL); - PJ_ASSERT_RETURN(route != NULL, 1); - pj_list_push_back(&route_set, route); - - pjsip_dlg_set_route_set(dlg, &route_set); - } - * - * Note that Route URI SHOULD have an ";lr" parameter! - */ - - /* Create initial INVITE request. - * This INVITE request will contain a perfectly good request and - * an SDP body as well. - */ - status = pjsip_inv_invite(g_inv, &tdata); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - - /* Send initial INVITE request. - * From now on, the invite session's state will be reported to us - * via the invite session callbacks. - */ - status = pjsip_inv_send_msg(g_inv, tdata); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - } else { - - /* No URL to make call to */ - - PJ_LOG(3,(THIS_FILE, "Ready to accept incoming calls...")); - } - - - /* Loop until one call is completed */ - for (;!g_complete;) { - pj_time_val timeout = {0, 10}; - pjsip_endpt_handle_events(g_endpt, &timeout); - } - - /* On exit, dump current memory usage: */ - dump_pool_usage(THIS_FILE, &cp); - - /* Destroy audio ports. Destroy the audio port first - * before the stream since the audio port has threads - * that get/put frames to the stream. - */ - if (g_snd_port) - pjmedia_snd_port_destroy(g_snd_port); - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - /* Destroy video ports */ - if (g_vid_capturer) - pjmedia_vid_port_destroy(g_vid_capturer); - if (g_vid_renderer) - pjmedia_vid_port_destroy(g_vid_renderer); -#endif - - /* Destroy streams */ - if (g_med_stream) - pjmedia_stream_destroy(g_med_stream); -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - if (g_med_vstream) - pjmedia_vid_stream_destroy(g_med_vstream); - - /* Deinit ffmpeg codec */ -# if defined(PJMEDIA_HAS_FFMPEG_VID_CODEC) && PJMEDIA_HAS_FFMPEG_VID_CODEC!=0 - pjmedia_codec_ffmpeg_vid_deinit(); -# endif - -#endif - - /* Destroy media transports */ - for (i = 0; i < MAX_MEDIA_CNT; ++i) { - if (g_med_transport[i]) - pjmedia_transport_close(g_med_transport[i]); - } - - /* Deinit pjmedia endpoint */ - if (g_med_endpt) - pjmedia_endpt_destroy(g_med_endpt); - - /* Deinit pjsip endpoint */ - if (g_endpt) - pjsip_endpt_destroy(g_endpt); - - /* Release pool */ - if (pool) - pj_pool_release(pool); - - return 0; -} - - - -/* - * Callback when INVITE session state has changed. - * This callback is registered when the invite session module is initialized. - * We mostly want to know when the invite session has been disconnected, - * so that we can quit the application. - */ -static void call_on_state_changed( pjsip_inv_session *inv, - pjsip_event *e) -{ - PJ_UNUSED_ARG(e); - - if (inv->state == PJSIP_INV_STATE_DISCONNECTED) { - - PJ_LOG(3,(THIS_FILE, "Call DISCONNECTED [reason=%d (%s)]", - inv->cause, - pjsip_get_status_text(inv->cause)->ptr)); - - PJ_LOG(3,(THIS_FILE, "One call completed, application quitting...")); - g_complete = 1; - - } else { - - PJ_LOG(3,(THIS_FILE, "Call state changed to %s", - pjsip_inv_state_name(inv->state))); - - } -} - - -/* This callback is called when dialog has forked. */ -static void call_on_forked(pjsip_inv_session *inv, pjsip_event *e) -{ - /* To be done... */ - PJ_UNUSED_ARG(inv); - PJ_UNUSED_ARG(e); -} - - -/* - * Callback when incoming requests outside any transactions and any - * dialogs are received. We're only interested to hande incoming INVITE - * request, and we'll reject any other requests with 500 response. - */ -static pj_bool_t on_rx_request( pjsip_rx_data *rdata ) -{ - pj_sockaddr hostaddr; - char temp[80], hostip[PJ_INET6_ADDRSTRLEN]; - pj_str_t local_uri; - pjsip_dialog *dlg; - pjmedia_sdp_session *local_sdp; - pjsip_tx_data *tdata; - unsigned options = 0; - pj_status_t status; - - - /* - * Respond (statelessly) any non-INVITE requests with 500 - */ - if (rdata->msg_info.msg->line.req.method.id != PJSIP_INVITE_METHOD) { - - if (rdata->msg_info.msg->line.req.method.id != PJSIP_ACK_METHOD) { - pj_str_t reason = pj_str("Simple UA unable to handle " - "this request"); - - pjsip_endpt_respond_stateless( g_endpt, rdata, - 500, &reason, - NULL, NULL); - } - return PJ_TRUE; - } - - - /* - * Reject INVITE if we already have an INVITE session in progress. - */ - if (g_inv) { - - pj_str_t reason = pj_str("Another call is in progress"); - - pjsip_endpt_respond_stateless( g_endpt, rdata, - 500, &reason, - NULL, NULL); - return PJ_TRUE; - - } - - /* Verify that we can handle the request. */ - status = pjsip_inv_verify_request(rdata, &options, NULL, NULL, - g_endpt, NULL); - if (status != PJ_SUCCESS) { - - pj_str_t reason = pj_str("Sorry Simple UA can not handle this INVITE"); - - pjsip_endpt_respond_stateless( g_endpt, rdata, - 500, &reason, - NULL, NULL); - return PJ_TRUE; - } - - /* - * Generate Contact URI - */ - if (pj_gethostip(AF, &hostaddr) != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to retrieve local host IP", status); - return PJ_TRUE; - } - pj_sockaddr_print(&hostaddr, hostip, sizeof(hostip), 2); - - pj_ansi_sprintf(temp, "", - hostip, SIP_PORT); - local_uri = pj_str(temp); - - /* - * Create UAS dialog. - */ - status = pjsip_dlg_create_uas( pjsip_ua_instance(), - rdata, - &local_uri, /* contact */ - &dlg); - if (status != PJ_SUCCESS) { - pjsip_endpt_respond_stateless(g_endpt, rdata, 500, NULL, - NULL, NULL); - return PJ_TRUE; - } - - /* - * Get media capability from media endpoint: - */ - - status = pjmedia_endpt_create_sdp( g_med_endpt, rdata->tp_info.pool, - MAX_MEDIA_CNT, g_sock_info, &local_sdp); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, PJ_TRUE); - - - /* - * Create invite session, and pass both the UAS dialog and the SDP - * capability to the session. - */ - status = pjsip_inv_create_uas( dlg, rdata, local_sdp, 0, &g_inv); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, PJ_TRUE); - - - /* - * Initially send 180 response. - * - * The very first response to an INVITE must be created with - * pjsip_inv_initial_answer(). Subsequent responses to the same - * transaction MUST use pjsip_inv_answer(). - */ - status = pjsip_inv_initial_answer(g_inv, rdata, - 180, - NULL, NULL, &tdata); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, PJ_TRUE); - - - /* Send the 180 response. */ - status = pjsip_inv_send_msg(g_inv, tdata); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, PJ_TRUE); - - - /* - * Now create 200 response. - */ - status = pjsip_inv_answer( g_inv, - 200, NULL, /* st_code and st_text */ - NULL, /* SDP already specified */ - &tdata); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, PJ_TRUE); - - /* - * Send the 200 response. - */ - status = pjsip_inv_send_msg(g_inv, tdata); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, PJ_TRUE); - - - /* Done. - * When the call is disconnected, it will be reported via the callback. - */ - - return PJ_TRUE; -} - - - -/* - * Callback when SDP negotiation has completed. - * We are interested with this callback because we want to start media - * as soon as SDP negotiation is completed. - */ -static void call_on_media_update( pjsip_inv_session *inv, - pj_status_t status) -{ - pjmedia_stream_info stream_info; - const pjmedia_sdp_session *local_sdp; - const pjmedia_sdp_session *remote_sdp; - pjmedia_port *media_port; - - if (status != PJ_SUCCESS) { - - app_perror(THIS_FILE, "SDP negotiation has failed", status); - - /* Here we should disconnect call if we're not in the middle - * of initializing an UAS dialog and if this is not a re-INVITE. - */ - return; - } - - /* Get local and remote SDP. - * We need both SDPs to create a media session. - */ - status = pjmedia_sdp_neg_get_active_local(inv->neg, &local_sdp); - - status = pjmedia_sdp_neg_get_active_remote(inv->neg, &remote_sdp); - - - /* Create stream info based on the media audio SDP. */ - status = pjmedia_stream_info_from_sdp(&stream_info, inv->dlg->pool, - g_med_endpt, - local_sdp, remote_sdp, 0); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE,"Unable to create audio stream info",status); - return; - } - - /* If required, we can also change some settings in the stream info, - * (such as jitter buffer settings, codec settings, etc) before we - * create the stream. - */ - - /* Create new audio media stream, passing the stream info, and also the - * media socket that we created earlier. - */ - status = pjmedia_stream_create(g_med_endpt, inv->dlg->pool, &stream_info, - g_med_transport[0], NULL, &g_med_stream); - if (status != PJ_SUCCESS) { - app_perror( THIS_FILE, "Unable to create audio stream", status); - return; - } - - /* Start the audio stream */ - status = pjmedia_stream_start(g_med_stream); - if (status != PJ_SUCCESS) { - app_perror( THIS_FILE, "Unable to start audio stream", status); - return; - } - - /* Get the media port interface of the audio stream. - * Media port interface is basicly a struct containing get_frame() and - * put_frame() function. With this media port interface, we can attach - * the port interface to conference bridge, or directly to a sound - * player/recorder device. - */ - pjmedia_stream_get_port(g_med_stream, &media_port); - - /* Create sound port */ - pjmedia_snd_port_create(inv->pool, - PJMEDIA_AUD_DEFAULT_CAPTURE_DEV, - PJMEDIA_AUD_DEFAULT_PLAYBACK_DEV, - PJMEDIA_PIA_SRATE(&media_port->info),/* clock rate */ - PJMEDIA_PIA_CCNT(&media_port->info),/* channel count */ - PJMEDIA_PIA_SPF(&media_port->info), /* samples per frame*/ - PJMEDIA_PIA_BITS(&media_port->info),/* bits per sample */ - 0, - &g_snd_port); - - if (status != PJ_SUCCESS) { - app_perror( THIS_FILE, "Unable to create sound port", status); - PJ_LOG(3,(THIS_FILE, "%d %d %d %d", - PJMEDIA_PIA_SRATE(&media_port->info),/* clock rate */ - PJMEDIA_PIA_CCNT(&media_port->info),/* channel count */ - PJMEDIA_PIA_SPF(&media_port->info), /* samples per frame*/ - PJMEDIA_PIA_BITS(&media_port->info) /* bits per sample */ - )); - return; - } - - status = pjmedia_snd_port_connect(g_snd_port, media_port); - - - /* Get the media port interface of the second stream in the session, - * which is video stream. With this media port interface, we can attach - * the port directly to a renderer/capture video device. - */ -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - if (local_sdp->media_count > 1) { - pjmedia_vid_stream_info vstream_info; - pjmedia_vid_port_param vport_param; - - pjmedia_vid_port_param_default(&vport_param); - - /* Create stream info based on the media video SDP. */ - status = pjmedia_vid_stream_info_from_sdp(&vstream_info, - inv->dlg->pool, g_med_endpt, - local_sdp, remote_sdp, 1); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE,"Unable to create video stream info",status); - return; - } - - /* If required, we can also change some settings in the stream info, - * (such as jitter buffer settings, codec settings, etc) before we - * create the video stream. - */ - - /* Create new video media stream, passing the stream info, and also the - * media socket that we created earlier. - */ - status = pjmedia_vid_stream_create(g_med_endpt, NULL, &vstream_info, - g_med_transport[1], NULL, - &g_med_vstream); - if (status != PJ_SUCCESS) { - app_perror( THIS_FILE, "Unable to create video stream", status); - return; - } - - /* Start the video stream */ - status = pjmedia_vid_stream_start(g_med_vstream); - if (status != PJ_SUCCESS) { - app_perror( THIS_FILE, "Unable to start video stream", status); - return; - } - - if (vstream_info.dir & PJMEDIA_DIR_DECODING) { - status = pjmedia_vid_dev_default_param( - inv->pool, PJMEDIA_VID_DEFAULT_RENDER_DEV, - &vport_param.vidparam); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to get default param of video " - "renderer device", status); - return; - } - - /* Get video stream port for decoding direction */ - pjmedia_vid_stream_get_port(g_med_vstream, PJMEDIA_DIR_DECODING, - &media_port); - - /* Set format */ - pjmedia_format_copy(&vport_param.vidparam.fmt, - &media_port->info.fmt); - vport_param.vidparam.dir = PJMEDIA_DIR_RENDER; - vport_param.active = PJ_TRUE; - - /* Create renderer */ - status = pjmedia_vid_port_create(inv->pool, &vport_param, - &g_vid_renderer); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to create video renderer device", - status); - return; - } - - /* Connect renderer to media_port */ - status = pjmedia_vid_port_connect(g_vid_renderer, media_port, - PJ_FALSE); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to connect renderer to stream", - status); - return; - } - } - - /* Create capturer */ - if (vstream_info.dir & PJMEDIA_DIR_ENCODING) { - status = pjmedia_vid_dev_default_param( - inv->pool, PJMEDIA_VID_DEFAULT_CAPTURE_DEV, - &vport_param.vidparam); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to get default param of video " - "capture device", status); - return; - } - - /* Get video stream port for decoding direction */ - pjmedia_vid_stream_get_port(g_med_vstream, PJMEDIA_DIR_ENCODING, - &media_port); - - /* Get capturer format from stream info */ - pjmedia_format_copy(&vport_param.vidparam.fmt, - &media_port->info.fmt); - vport_param.vidparam.dir = PJMEDIA_DIR_CAPTURE; - vport_param.active = PJ_TRUE; - - /* Create capturer */ - status = pjmedia_vid_port_create(inv->pool, &vport_param, - &g_vid_capturer); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to create video capture device", - status); - return; - } - - /* Connect capturer to media_port */ - status = pjmedia_vid_port_connect(g_vid_capturer, media_port, - PJ_FALSE); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to connect capturer to stream", - status); - return; - } - } - - /* Start streaming */ - if (g_vid_renderer) { - status = pjmedia_vid_port_start(g_vid_renderer); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to start video renderer", - status); - return; - } - } - if (g_vid_capturer) { - status = pjmedia_vid_port_start(g_vid_capturer); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to start video capturer", - status); - return; - } - } - } -#endif /* PJMEDIA_HAS_VIDEO */ - - /* Done with media. */ -} - - diff --git a/res/pjproject/pjsip-apps/src/samples/sipecho.c b/res/pjproject/pjsip-apps/src/samples/sipecho.c deleted file mode 100644 index 2b2830ea59..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/sipecho.c +++ /dev/null @@ -1,638 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - - -/** - * sipecho.c - * - * - Accepts incoming calls and echoes back SDP and any media. - * - Specify URI in cmdline argument to make call - * - Accepts registration too! - */ - -/* Include all headers. */ -#include -#include -#include -#include -#include - -/* For logging purpose. */ -#define THIS_FILE "sipecho.c" - -#include "util.h" - - -/* Settings */ -#define AF pj_AF_INET() /* Change to pj_AF_INET6() for IPv6. - * PJ_HAS_IPV6 must be enabled and - * your system must support IPv6. */ -#define SIP_PORT 5060 /* Listening SIP port */ -#define MAX_CALLS 8 - -typedef struct call_t -{ - pjsip_inv_session *inv; -} call_t; - -static struct app_t -{ - pj_caching_pool cp; - pj_pool_t *pool; - - pjsip_endpoint *sip_endpt; - //pjmedia_endpt *med_endpt; - - call_t call[MAX_CALLS]; - - pj_bool_t quit; - pj_thread_t *worker_thread; - - pj_bool_t enable_msg_logging; -} app; - -/* - * Prototypes: - */ - -static void call_on_media_update(pjsip_inv_session *inv, pj_status_t status); -static void call_on_state_changed(pjsip_inv_session *inv, pjsip_event *e); -static void call_on_rx_offer(pjsip_inv_session *inv, const pjmedia_sdp_session *offer); -static void call_on_forked(pjsip_inv_session *inv, pjsip_event *e); -static pj_bool_t on_rx_request( pjsip_rx_data *rdata ); - - -/* This is a PJSIP module to be registered by application to handle - * incoming requests outside any dialogs/transactions. The main purpose - * here is to handle incoming INVITE request message, where we will - * create a dialog and INVITE session for it. - */ -static pjsip_module mod_sipecho = -{ - NULL, NULL, /* prev, next. */ - { "mod-sipecho", 11 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &on_rx_request, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ -}; - -/* Notification on incoming messages */ -static pj_bool_t logging_on_rx_msg(pjsip_rx_data *rdata) -{ - if (!app.enable_msg_logging) - return PJ_FALSE; - - PJ_LOG(3,(THIS_FILE, "RX %d bytes %s from %s %s:%d:\n" - "%.*s\n" - "--end msg--", - rdata->msg_info.len, - pjsip_rx_data_get_info(rdata), - rdata->tp_info.transport->type_name, - rdata->pkt_info.src_name, - rdata->pkt_info.src_port, - (int)rdata->msg_info.len, - rdata->msg_info.msg_buf)); - return PJ_FALSE; -} - -/* Notification on outgoing messages */ -static pj_status_t logging_on_tx_msg(pjsip_tx_data *tdata) -{ - if (!app.enable_msg_logging) - return PJ_SUCCESS; - - PJ_LOG(3,(THIS_FILE, "TX %d bytes %s to %s %s:%d:\n" - "%.*s\n" - "--end msg--", - (tdata->buf.cur - tdata->buf.start), - pjsip_tx_data_get_info(tdata), - tdata->tp_info.transport->type_name, - tdata->tp_info.dst_name, - tdata->tp_info.dst_port, - (int)(tdata->buf.cur - tdata->buf.start), - tdata->buf.start)); - return PJ_SUCCESS; -} - -/* The module instance. */ -static pjsip_module msg_logger = -{ - NULL, NULL, /* prev, next. */ - { "mod-msg-log", 13 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_TRANSPORT_LAYER-1,/* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &logging_on_rx_msg, /* on_rx_request() */ - &logging_on_rx_msg, /* on_rx_response() */ - &logging_on_tx_msg, /* on_tx_request. */ - &logging_on_tx_msg, /* on_tx_response() */ - NULL, /* on_tsx_state() */ - -}; - -static int worker_proc(void *arg) -{ - PJ_UNUSED_ARG(arg); - - while (!app.quit) { - pj_time_val interval = { 0, 20 }; - pjsip_endpt_handle_events(app.sip_endpt, &interval); - } - - return 0; -} - -static void hangup_all(void) -{ - unsigned i; - for (i=0; iinv && call->inv->state <= PJSIP_INV_STATE_CONFIRMED) { - pj_status_t status; - pjsip_tx_data *tdata; - - status = pjsip_inv_end_session(call->inv, PJSIP_SC_BUSY_HERE, NULL, &tdata); - if (status==PJ_SUCCESS && tdata) - pjsip_inv_send_msg(call->inv, tdata); - } - } -} - -static void destroy_stack(void) -{ - enum { WAIT_CLEAR = 5000, WAIT_INTERVAL = 500 }; - unsigned i; - - PJ_LOG(3,(THIS_FILE, "Shutting down..")); - - /* Wait until all clear */ - hangup_all(); - for (i=0; iinv && call->inv->state <= PJSIP_INV_STATE_CONFIRMED) - break; - } - - if (j==MAX_CALLS) - return; - - pj_thread_sleep(WAIT_INTERVAL); - } - - app.quit = PJ_TRUE; - if (app.worker_thread) { - pj_thread_join(app.worker_thread); - app.worker_thread = NULL; - } - - //if (app.med_endpt) - //pjmedia_endpt_destroy(app.med_endpt); - - if (app.sip_endpt) - pjsip_endpt_destroy(app.sip_endpt); - - if (app.pool) - pj_pool_release(app.pool); - - dump_pool_usage(THIS_FILE, &app.cp); - pj_caching_pool_destroy(&app.cp); -} - -#define CHECK_STATUS() do { if (status != PJ_SUCCESS) return status; } while (0) - -static pj_status_t init_stack() -{ - pj_sockaddr addr; - pjsip_inv_callback inv_cb; - pj_status_t status; - - pj_log_set_level(5); - - status = pj_init(); - CHECK_STATUS(); - - pj_log_set_level(3); - - status = pjlib_util_init(); - CHECK_STATUS(); - - pj_caching_pool_init(&app.cp, NULL, 0); - app.pool = pj_pool_create( &app.cp.factory, "sipecho", 512, 512, 0); - - status = pjsip_endpt_create(&app.cp.factory, NULL, &app.sip_endpt); - CHECK_STATUS(); - - pj_log_set_level(4); - pj_sockaddr_init(AF, &addr, NULL, (pj_uint16_t)SIP_PORT); - if (AF == pj_AF_INET()) { - status = pjsip_udp_transport_start( app.sip_endpt, &addr.ipv4, NULL, - 1, NULL); - } else if (AF == pj_AF_INET6()) { - status = pjsip_udp_transport_start6(app.sip_endpt, &addr.ipv6, NULL, - 1, NULL); - } else { - status = PJ_EAFNOTSUP; - } - - pj_log_set_level(3); - CHECK_STATUS(); - - status = pjsip_tsx_layer_init_module(app.sip_endpt) || - pjsip_ua_init_module( app.sip_endpt, NULL ); - CHECK_STATUS(); - - pj_bzero(&inv_cb, sizeof(inv_cb)); - inv_cb.on_state_changed = &call_on_state_changed; - inv_cb.on_new_session = &call_on_forked; - inv_cb.on_media_update = &call_on_media_update; - inv_cb.on_rx_offer = &call_on_rx_offer; - - status = pjsip_inv_usage_init(app.sip_endpt, &inv_cb) || - pjsip_100rel_init_module(app.sip_endpt) || - pjsip_endpt_register_module( app.sip_endpt, &mod_sipecho) || - pjsip_endpt_register_module( app.sip_endpt, &msg_logger) || - //pjmedia_endpt_create(&app.cp.factory, - // pjsip_endpt_get_ioqueue(app.sip_endpt), - // 0, &app.med_endpt) || - pj_thread_create(app.pool, "sipecho", &worker_proc, NULL, 0, 0, - &app.worker_thread); - CHECK_STATUS(); - - return PJ_SUCCESS; -} - -static void destroy_call(call_t *call) -{ - call->inv = NULL; -} - -static pjmedia_sdp_attr * find_remove_sdp_attrs(unsigned *cnt, - pjmedia_sdp_attr *attr[], - unsigned cnt_attr_to_remove, - const char* attr_to_remove[]) -{ - pjmedia_sdp_attr *found_attr = NULL; - int i; - - for (i=0; i<(int)*cnt; ++i) { - unsigned j; - for (j=0; jname, attr_to_remove[j])==0) { - if (!found_attr) found_attr = attr[i]; - pj_array_erase(attr, sizeof(attr[0]), *cnt, i); - --(*cnt); - --i; - break; - } - } - } - - return found_attr; -} - -static pjmedia_sdp_session *create_answer(int call_num, pj_pool_t *pool, - const pjmedia_sdp_session *offer) -{ - const char* dir_attrs[] = { "sendrecv", "sendonly", "recvonly", "inactive" }; - const char *ice_attrs[] = {"ice-pwd", "ice-ufrag", "candidate"}; - pjmedia_sdp_session *answer = pjmedia_sdp_session_clone(pool, offer); - pjmedia_sdp_attr *sess_dir_attr = NULL; - unsigned mi; - - PJ_LOG(3,(THIS_FILE, "Call %d: creating answer:", call_num)); - - answer->name = pj_str("sipecho"); - sess_dir_attr = find_remove_sdp_attrs(&answer->attr_count, answer->attr, - PJ_ARRAY_SIZE(dir_attrs), - dir_attrs); - - for (mi=0; mimedia_count; ++mi) { - pjmedia_sdp_media *m = answer->media[mi]; - pjmedia_sdp_attr *m_dir_attr; - pjmedia_sdp_attr *dir_attr; - const char *our_dir = NULL; - pjmedia_sdp_conn *c; - - /* Match direction */ - m_dir_attr = find_remove_sdp_attrs(&m->attr_count, m->attr, - PJ_ARRAY_SIZE(dir_attrs), - dir_attrs); - dir_attr = m_dir_attr ? m_dir_attr : sess_dir_attr; - - if (dir_attr) { - if (pj_strcmp2(&dir_attr->name, "sendonly")==0) - our_dir = "recvonly"; - else if (pj_strcmp2(&dir_attr->name, "inactive")==0) - our_dir = "inactive"; - else if (pj_strcmp2(&dir_attr->name, "recvonly")==0) - our_dir = "inactive"; - - if (our_dir) { - dir_attr = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_attr); - dir_attr->name = pj_str((char*)our_dir); - m->attr[m->attr_count++] = dir_attr; - } - } - - /* Remove ICE attributes */ - find_remove_sdp_attrs(&m->attr_count, m->attr, PJ_ARRAY_SIZE(ice_attrs), ice_attrs); - - /* Done */ - c = m->conn ? m->conn : answer->conn; - PJ_LOG(3,(THIS_FILE, " Media %d, %.*s: %s <--> %.*s:%d", - mi, (int)m->desc.media.slen, m->desc.media.ptr, - (our_dir ? our_dir : "sendrecv"), - (int)c->addr.slen, c->addr.ptr, m->desc.port)); - } - - return answer; -} - -static void call_on_state_changed( pjsip_inv_session *inv, - pjsip_event *e) -{ - call_t *call = (call_t*)inv->mod_data[mod_sipecho.id]; - if (!call) - return; - - PJ_UNUSED_ARG(e); - if (inv->state == PJSIP_INV_STATE_DISCONNECTED) { - PJ_LOG(3,(THIS_FILE, "Call %d: DISCONNECTED [reason=%d (%s)]", - call - app.call, inv->cause, - pjsip_get_status_text(inv->cause)->ptr)); - destroy_call(call); - } else { - PJ_LOG(3,(THIS_FILE, "Call %d: state changed to %s", - call - app.call, pjsip_inv_state_name(inv->state))); - } -} - -static void call_on_rx_offer(pjsip_inv_session *inv, const pjmedia_sdp_session *offer) -{ - call_t *call = (call_t*) inv->mod_data[mod_sipecho.id]; - pjsip_inv_set_sdp_answer(inv, create_answer(call - app.call, inv->pool_prov, offer)); -} - -static void call_on_forked(pjsip_inv_session *inv, pjsip_event *e) -{ - PJ_UNUSED_ARG(inv); - PJ_UNUSED_ARG(e); -} - -static pj_bool_t on_rx_request( pjsip_rx_data *rdata ) -{ - pj_sockaddr hostaddr; - char temp[80], hostip[PJ_INET6_ADDRSTRLEN]; - pj_str_t local_uri; - pjsip_dialog *dlg; - pjsip_rdata_sdp_info *sdp_info; - pjmedia_sdp_session *answer = NULL; - pjsip_tx_data *tdata = NULL; - call_t *call = NULL; - unsigned i; - pj_status_t status; - - PJ_LOG(3,(THIS_FILE, "RX %.*s from %s", - (int)rdata->msg_info.msg->line.req.method.name.slen, - rdata->msg_info.msg->line.req.method.name.ptr, - rdata->pkt_info.src_name)); - - if (rdata->msg_info.msg->line.req.method.id == PJSIP_REGISTER_METHOD) { - /* Let me be a registrar! */ - pjsip_hdr hdr_list, *h; - pjsip_msg *msg; - int expires = -1; - - pj_list_init(&hdr_list); - msg = rdata->msg_info.msg; - h = (pjsip_hdr*)pjsip_msg_find_hdr(msg, PJSIP_H_EXPIRES, NULL); - if (h) { - expires = ((pjsip_expires_hdr*)h)->ivalue; - pj_list_push_back(&hdr_list, pjsip_hdr_clone(rdata->tp_info.pool, h)); - PJ_LOG(3,(THIS_FILE, " Expires=%d", expires)); - } - if (expires != 0) { - h = (pjsip_hdr*)pjsip_msg_find_hdr(msg, PJSIP_H_CONTACT, NULL); - if (h) - pj_list_push_back(&hdr_list, pjsip_hdr_clone(rdata->tp_info.pool, h)); - } - - pjsip_endpt_respond(app.sip_endpt, &mod_sipecho, rdata, 200, NULL, - &hdr_list, NULL, NULL); - return PJ_TRUE; - } - - if (rdata->msg_info.msg->line.req.method.id != PJSIP_INVITE_METHOD) { - if (rdata->msg_info.msg->line.req.method.id != PJSIP_ACK_METHOD) { - pj_str_t reason = pj_str("Go away"); - pjsip_endpt_respond_stateless( app.sip_endpt, rdata, - 400, &reason, - NULL, NULL); - } - return PJ_TRUE; - } - - sdp_info = pjsip_rdata_get_sdp_info(rdata); - if (!sdp_info || !sdp_info->sdp) { - pj_str_t reason = pj_str("Require valid offer"); - pjsip_endpt_respond_stateless( app.sip_endpt, rdata, - 400, &reason, - NULL, NULL); - } - - for (i=0; i", hostip, SIP_PORT); - local_uri = pj_str(temp); - - status = pjsip_dlg_create_uas( pjsip_ua_instance(), rdata, - &local_uri, &dlg); - - if (status == PJ_SUCCESS) - answer = create_answer(call-app.call, dlg->pool, sdp_info->sdp); - if (status == PJ_SUCCESS) - status = pjsip_inv_create_uas( dlg, rdata, answer, 0, &call->inv); - if (status == PJ_SUCCESS) - status = pjsip_inv_initial_answer(call->inv, rdata, 100, - NULL, NULL, &tdata); - if (status == PJ_SUCCESS) - status = pjsip_inv_send_msg(call->inv, tdata); - - if (status == PJ_SUCCESS) - status = pjsip_inv_answer(call->inv, 180, NULL, - NULL, &tdata); - if (status == PJ_SUCCESS) - status = pjsip_inv_send_msg(call->inv, tdata); - - if (status == PJ_SUCCESS) - status = pjsip_inv_answer(call->inv, 200, NULL, - NULL, &tdata); - if (status == PJ_SUCCESS) - status = pjsip_inv_send_msg(call->inv, tdata); - - if (status != PJ_SUCCESS) { - pjsip_endpt_respond_stateless( app.sip_endpt, rdata, - 500, NULL, NULL, NULL); - destroy_call(call); - } else { - call->inv->mod_data[mod_sipecho.id] = call; - } - - return PJ_TRUE; -} - -static void call_on_media_update( pjsip_inv_session *inv, - pj_status_t status) -{ - PJ_UNUSED_ARG(inv); - PJ_UNUSED_ARG(status); -} - - -/* main() - * - * If called with argument, treat argument as SIP URL to be called. - * Otherwise wait for incoming calls. - */ -int main(int argc, char *argv[]) -{ - if (init_stack()) - goto on_error; - - /* If URL is specified, then make call immediately. */ - if (argc > 1) { - pj_sockaddr hostaddr; - char hostip[PJ_INET6_ADDRSTRLEN+2]; - char temp[80]; - call_t *call; - pj_str_t dst_uri = pj_str(argv[1]); - pj_str_t local_uri; - pjsip_dialog *dlg; - pj_status_t status; - pjsip_tx_data *tdata; - - if (pj_gethostip(AF, &hostaddr) != PJ_SUCCESS) { - PJ_LOG(1,(THIS_FILE, "Unable to retrieve local host IP")); - goto on_error; - } - pj_sockaddr_print(&hostaddr, hostip, sizeof(hostip), 2); - - pj_ansi_sprintf(temp, "", - hostip, SIP_PORT); - local_uri = pj_str(temp); - - call = &app.call[0]; - - status = pjsip_dlg_create_uac( pjsip_ua_instance(), - &local_uri, /* local URI */ - &local_uri, /* local Contact */ - &dst_uri, /* remote URI */ - &dst_uri, /* remote target */ - &dlg); /* dialog */ - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to create UAC dialog", status); - return 1; - } - - status = pjsip_inv_create_uac( dlg, NULL, 0, &call->inv); - if (status != PJ_SUCCESS) goto on_error; - - call->inv->mod_data[mod_sipecho.id] = call; - - status = pjsip_inv_invite(call->inv, &tdata); - if (status != PJ_SUCCESS) goto on_error; - - status = pjsip_inv_send_msg(call->inv, tdata); - if (status != PJ_SUCCESS) goto on_error; - - puts("Press ENTER to quit..."); - } else { - puts("Ready for incoming calls. Press ENTER to quit..."); - } - - for (;;) { - char s[10]; - - printf("\nMenu:\n" - " h Hangup all calls\n" - " l %s message logging\n" - " q Quit\n", - (app.enable_msg_logging? "Disable" : "Enable")); - - if (fgets(s, sizeof(s), stdin) == NULL) - continue; - - if (s[0]=='q') - break; - switch (s[0]) { - case 'l': - app.enable_msg_logging = !app.enable_msg_logging; - break; - case 'h': - hangup_all(); - break; - } - } - - destroy_stack(); - - puts("Bye bye.."); - return 0; - -on_error: - puts("An error has occurred. run a debugger.."); - return 1; -} - diff --git a/res/pjproject/pjsip-apps/src/samples/siprtp.c b/res/pjproject/pjsip-apps/src/samples/siprtp.c deleted file mode 100644 index 9d544efda5..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/siprtp.c +++ /dev/null @@ -1,2189 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - - - - - -/* Usage */ -static const char *USAGE = -" PURPOSE: \n" -" This program establishes SIP INVITE session and media, and calculate \n" -" the media quality (packet lost, jitter, rtt, etc.). Unlike normal \n" -" pjmedia applications, this program bypasses all pjmedia stream \n" -" framework and transmit encoded RTP packets manually using own thread. \n" -"\n" -" USAGE:\n" -" siprtp [options] => to start in server mode\n" -" siprtp [options] URL => to start in client mode\n" -"\n" -" Program options:\n" -" --count=N, -c Set number of calls to create (default:1) \n" -" --gap=N -g Set call gapping to N msec (default:0)\n" -" --duration=SEC, -d Set maximum call duration (default:unlimited) \n" -" --auto-quit, -q Quit when calls have been completed (default:no)\n" -" --call-report -R Display report on call termination (default:yes)\n" -"\n" -" Address and ports options:\n" -" --local-port=PORT,-p Set local SIP port (default: 5060)\n" -" --rtp-port=PORT, -r Set start of RTP port (default: 4000)\n" -" --ip-addr=IP, -i Set local IP address to use (otherwise it will\n" -" try to determine local IP address from hostname)\n" -"\n" -" Logging Options:\n" -" --log-level=N, -l Set log verbosity level (default=5)\n" -" --app-log-level=N Set app screen log verbosity (default=3)\n" -" --log-file=FILE Write log to file FILE\n" -" --report-file=FILE Write report to file FILE\n" -"\n" -/* Don't support this anymore, because codec is properly examined in - pjmedia_session_info_from_sdp() function. - -" Codec Options:\n" -" --a-pt=PT Set audio payload type to PT (default=0)\n" -" --a-name=NAME Set audio codec name to NAME (default=pcmu)\n" -" --a-clock=RATE Set audio codec rate to RATE Hz (default=8000Hz)\n" -" --a-bitrate=BPS Set audio codec bitrate to BPS (default=64000bps)\n" -" --a-ptime=MS Set audio frame time to MS msec (default=20ms)\n" -*/ -; - - -/* Include all headers. */ -#include -#include -#include -#include -#include -#include -#include - -#include - -/* Uncomment these to disable threads. - * NOTE: - * when threading is disabled, siprtp won't transmit any - * RTP packets. - */ -/* -#undef PJ_HAS_THREADS -#define PJ_HAS_THREADS 0 -*/ - - -#if PJ_HAS_HIGH_RES_TIMER==0 -# error "High resolution timer is needed for this sample" -#endif - -#define THIS_FILE "siprtp.c" -#define MAX_CALLS 1024 -#define RTP_START_PORT 4000 - - -/* Codec descriptor: */ -struct codec -{ - unsigned pt; - char* name; - unsigned clock_rate; - unsigned bit_rate; - unsigned ptime; - char* description; -}; - - -/* A bidirectional media stream created when the call is active. */ -struct media_stream -{ - /* Static: */ - unsigned call_index; /* Call owner. */ - unsigned media_index; /* Media index in call. */ - pjmedia_transport *transport; /* To send/recv RTP/RTCP */ - - /* Active? */ - pj_bool_t active; /* Non-zero if is in call. */ - - /* Current stream info: */ - pjmedia_stream_info si; /* Current stream info. */ - - /* More info: */ - unsigned clock_rate; /* clock rate */ - unsigned samples_per_frame; /* samples per frame */ - unsigned bytes_per_frame; /* frame size. */ - - /* RTP session: */ - pjmedia_rtp_session out_sess; /* outgoing RTP session */ - pjmedia_rtp_session in_sess; /* incoming RTP session */ - - /* RTCP stats: */ - pjmedia_rtcp_session rtcp; /* incoming RTCP session. */ - - /* Thread: */ - pj_bool_t thread_quit_flag; /* Stop media thread. */ - pj_thread_t *thread; /* Media thread. */ -}; - - -/* This is a call structure that is created when the application starts - * and only destroyed when the application quits. - */ -struct call -{ - unsigned index; - pjsip_inv_session *inv; - unsigned media_count; - struct media_stream media[1]; - pj_time_val start_time; - pj_time_val response_time; - pj_time_val connect_time; - - pj_timer_entry d_timer; /**< Disconnect timer. */ -}; - - -/* Application's global variables */ -static struct app -{ - unsigned max_calls; - unsigned call_gap; - pj_bool_t call_report; - unsigned uac_calls; - unsigned duration; - pj_bool_t auto_quit; - unsigned thread_count; - int sip_port; - int rtp_start_port; - pj_str_t local_addr; - pj_str_t local_uri; - pj_str_t local_contact; - - int app_log_level; - int log_level; - char *log_filename; - char *report_filename; - - struct codec audio_codec; - - pj_str_t uri_to_call; - - pj_caching_pool cp; - pj_pool_t *pool; - - pjsip_endpoint *sip_endpt; - pj_bool_t thread_quit; - pj_thread_t *sip_thread[1]; - - pjmedia_endpt *med_endpt; - struct call call[MAX_CALLS]; -} app; - - - -/* - * Prototypes: - */ - -/* Callback to be called when SDP negotiation is done in the call: */ -static void call_on_media_update( pjsip_inv_session *inv, - pj_status_t status); - -/* Callback to be called when invite session's state has changed: */ -static void call_on_state_changed( pjsip_inv_session *inv, - pjsip_event *e); - -/* Callback to be called when dialog has forked: */ -static void call_on_forked(pjsip_inv_session *inv, pjsip_event *e); - -/* Callback to be called to handle incoming requests outside dialogs: */ -static pj_bool_t on_rx_request( pjsip_rx_data *rdata ); - -/* Worker thread prototype */ -static int sip_worker_thread(void *arg); - -/* Create SDP for call */ -static pj_status_t create_sdp( pj_pool_t *pool, - struct call *call, - pjmedia_sdp_session **p_sdp); - -/* Hangup call */ -static void hangup_call(unsigned index); - -/* Destroy the call's media */ -static void destroy_call_media(unsigned call_index); - -/* Destroy media. */ -static void destroy_media(); - -/* This callback is called by media transport on receipt of RTP packet. */ -static void on_rx_rtp(void *user_data, void *pkt, pj_ssize_t size); - -/* This callback is called by media transport on receipt of RTCP packet. */ -static void on_rx_rtcp(void *user_data, void *pkt, pj_ssize_t size); - -/* Display error */ -static void app_perror(const char *sender, const char *title, - pj_status_t status); - -/* Print call */ -static void print_call(int call_index); - - -/* This is a PJSIP module to be registered by application to handle - * incoming requests outside any dialogs/transactions. The main purpose - * here is to handle incoming INVITE request message, where we will - * create a dialog and INVITE session for it. - */ -static pjsip_module mod_siprtp = -{ - NULL, NULL, /* prev, next. */ - { "mod-siprtpapp", 13 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &on_rx_request, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ -}; - - -/* Codec constants */ -struct codec audio_codecs[] = -{ - { 0, "PCMU", 8000, 64000, 20, "G.711 ULaw" }, - { 3, "GSM", 8000, 13200, 20, "GSM" }, - { 4, "G723", 8000, 6400, 30, "G.723.1" }, - { 8, "PCMA", 8000, 64000, 20, "G.711 ALaw" }, - { 18, "G729", 8000, 8000, 20, "G.729" }, -}; - - -/* - * Init SIP stack - */ -static pj_status_t init_sip() -{ - unsigned i; - pj_status_t status; - - /* init PJLIB-UTIL: */ - status = pjlib_util_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&app.cp, &pj_pool_factory_default_policy, 0); - - /* Create application pool for misc. */ - app.pool = pj_pool_create(&app.cp.factory, "app", 1000, 1000, NULL); - - /* Create the endpoint: */ - status = pjsip_endpt_create(&app.cp.factory, pj_gethostname()->ptr, - &app.sip_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - - /* Add UDP transport. */ - { - pj_sockaddr_in addr; - pjsip_host_port addrname; - pjsip_transport *tp; - - pj_bzero(&addr, sizeof(addr)); - addr.sin_family = pj_AF_INET(); - addr.sin_addr.s_addr = 0; - addr.sin_port = pj_htons((pj_uint16_t)app.sip_port); - - if (app.local_addr.slen) { - - addrname.host = app.local_addr; - addrname.port = app.sip_port; - - status = pj_sockaddr_in_init(&addr, &app.local_addr, - (pj_uint16_t)app.sip_port); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to resolve IP interface", status); - return status; - } - } - - status = pjsip_udp_transport_start( app.sip_endpt, &addr, - (app.local_addr.slen ? &addrname:NULL), - 1, &tp); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to start UDP transport", status); - return status; - } - - PJ_LOG(3,(THIS_FILE, "SIP UDP listening on %.*s:%d", - (int)tp->local_name.host.slen, tp->local_name.host.ptr, - tp->local_name.port)); - } - - /* - * Init transaction layer. - * This will create/initialize transaction hash tables etc. - */ - status = pjsip_tsx_layer_init_module(app.sip_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Initialize UA layer. */ - status = pjsip_ua_init_module( app.sip_endpt, NULL ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Initialize 100rel support */ - status = pjsip_100rel_init_module(app.sip_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Init invite session module. */ - { - pjsip_inv_callback inv_cb; - - /* Init the callback for INVITE session: */ - pj_bzero(&inv_cb, sizeof(inv_cb)); - inv_cb.on_state_changed = &call_on_state_changed; - inv_cb.on_new_session = &call_on_forked; - inv_cb.on_media_update = &call_on_media_update; - - /* Initialize invite session module: */ - status = pjsip_inv_usage_init(app.sip_endpt, &inv_cb); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - } - - /* Register our module to receive incoming requests. */ - status = pjsip_endpt_register_module( app.sip_endpt, &mod_siprtp); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Init calls */ - for (i=0; itransport); - if (status == PJ_SUCCESS) { - rtp_port += 2; - break; - } - } - } - - if (status != PJ_SUCCESS) - goto on_error; - } - - /* Done */ - return PJ_SUCCESS; - -on_error: - destroy_media(); - return status; -} - - -/* - * Destroy media. - */ -static void destroy_media() -{ - unsigned i; - - for (i=0; itransport) { - pjmedia_transport_close(m->transport); - m->transport = NULL; - } - } - } - - if (app.med_endpt) { - pjmedia_endpt_destroy(app.med_endpt); - app.med_endpt = NULL; - } -} - - -/* - * Make outgoing call. - */ -static pj_status_t make_call(const pj_str_t *dst_uri) -{ - unsigned i; - struct call *call; - pjsip_dialog *dlg; - pjmedia_sdp_session *sdp; - pjsip_tx_data *tdata; - pj_status_t status; - - - /* Find unused call slot */ - for (i=0; ipool, call, &sdp); - - /* Create the INVITE session. */ - status = pjsip_inv_create_uac( dlg, sdp, 0, &call->inv); - if (status != PJ_SUCCESS) { - pjsip_dlg_terminate(dlg); - ++app.uac_calls; - return status; - } - - - /* Attach call data to invite session */ - call->inv->mod_data[mod_siprtp.id] = call; - - /* Mark start of call */ - pj_gettimeofday(&call->start_time); - - - /* Create initial INVITE request. - * This INVITE request will contain a perfectly good request and - * an SDP body as well. - */ - status = pjsip_inv_invite(call->inv, &tdata); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - - /* Send initial INVITE request. - * From now on, the invite session's state will be reported to us - * via the invite session callbacks. - */ - status = pjsip_inv_send_msg(call->inv, tdata); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - - return PJ_SUCCESS; -} - - -/* - * Receive incoming call - */ -static void process_incoming_call(pjsip_rx_data *rdata) -{ - unsigned i, options; - struct call *call; - pjsip_dialog *dlg; - pjmedia_sdp_session *sdp; - pjsip_tx_data *tdata; - pj_status_t status; - - /* Find free call slot */ - for (i=0; ipool, rdata, &res_addr); - pjsip_endpt_send_response(app.sip_endpt, &res_addr, tdata, - NULL, NULL); - - } else { - - /* Respond with 500 (Internal Server Error) */ - pjsip_endpt_respond_stateless(app.sip_endpt, rdata, 500, NULL, - NULL, NULL); - } - - return; - } - - /* Create UAS dialog */ - status = pjsip_dlg_create_uas( pjsip_ua_instance(), rdata, - &app.local_contact, &dlg); - if (status != PJ_SUCCESS) { - const pj_str_t reason = pj_str("Unable to create dialog"); - pjsip_endpt_respond_stateless( app.sip_endpt, rdata, - 500, &reason, - NULL, NULL); - return; - } - - /* Create SDP */ - create_sdp( dlg->pool, call, &sdp); - - /* Create UAS invite session */ - status = pjsip_inv_create_uas( dlg, rdata, sdp, 0, &call->inv); - if (status != PJ_SUCCESS) { - pjsip_dlg_create_response(dlg, rdata, 500, NULL, &tdata); - pjsip_dlg_send_response(dlg, pjsip_rdata_get_tsx(rdata), tdata); - return; - } - - - /* Attach call data to invite session */ - call->inv->mod_data[mod_siprtp.id] = call; - - /* Mark start of call */ - pj_gettimeofday(&call->start_time); - - - - /* Create 200 response .*/ - status = pjsip_inv_initial_answer(call->inv, rdata, 200, - NULL, NULL, &tdata); - if (status != PJ_SUCCESS) { - status = pjsip_inv_initial_answer(call->inv, rdata, - PJSIP_SC_NOT_ACCEPTABLE, - NULL, NULL, &tdata); - if (status == PJ_SUCCESS) - pjsip_inv_send_msg(call->inv, tdata); - else - pjsip_inv_terminate(call->inv, 500, PJ_FALSE); - return; - } - - - /* Send the 200 response. */ - status = pjsip_inv_send_msg(call->inv, tdata); - PJ_ASSERT_ON_FAIL(status == PJ_SUCCESS, return); - - - /* Done */ -} - - -/* Callback to be called when dialog has forked: */ -static void call_on_forked(pjsip_inv_session *inv, pjsip_event *e) -{ - PJ_UNUSED_ARG(inv); - PJ_UNUSED_ARG(e); - - PJ_TODO( HANDLE_FORKING ); -} - - -/* Callback to be called to handle incoming requests outside dialogs: */ -static pj_bool_t on_rx_request( pjsip_rx_data *rdata ) -{ - /* Ignore strandled ACKs (must not send respone */ - if (rdata->msg_info.msg->line.req.method.id == PJSIP_ACK_METHOD) - return PJ_FALSE; - - /* Respond (statelessly) any non-INVITE requests with 500 */ - if (rdata->msg_info.msg->line.req.method.id != PJSIP_INVITE_METHOD) { - pj_str_t reason = pj_str("Unsupported Operation"); - pjsip_endpt_respond_stateless( app.sip_endpt, rdata, - 500, &reason, - NULL, NULL); - return PJ_TRUE; - } - - /* Handle incoming INVITE */ - process_incoming_call(rdata); - - /* Done */ - return PJ_TRUE; -} - - -/* Callback timer to disconnect call (limiting call duration) */ -static void timer_disconnect_call( pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry) -{ - struct call *call = entry->user_data; - - PJ_UNUSED_ARG(timer_heap); - - entry->id = 0; - hangup_call(call->index); -} - - -/* Callback to be called when invite session's state has changed: */ -static void call_on_state_changed( pjsip_inv_session *inv, - pjsip_event *e) -{ - struct call *call = inv->mod_data[mod_siprtp.id]; - - PJ_UNUSED_ARG(e); - - if (!call) - return; - - if (inv->state == PJSIP_INV_STATE_DISCONNECTED) { - - pj_time_val null_time = {0, 0}; - - if (call->d_timer.id != 0) { - pjsip_endpt_cancel_timer(app.sip_endpt, &call->d_timer); - call->d_timer.id = 0; - } - - PJ_LOG(3,(THIS_FILE, "Call #%d disconnected. Reason=%d (%.*s)", - call->index, - inv->cause, - (int)inv->cause_text.slen, - inv->cause_text.ptr)); - - if (app.call_report) { - PJ_LOG(3,(THIS_FILE, "Call #%d statistics:", call->index)); - print_call(call->index); - } - - - call->inv = NULL; - inv->mod_data[mod_siprtp.id] = NULL; - - destroy_call_media(call->index); - - call->start_time = null_time; - call->response_time = null_time; - call->connect_time = null_time; - - ++app.uac_calls; - - } else if (inv->state == PJSIP_INV_STATE_CONFIRMED) { - - pj_time_val t; - - pj_gettimeofday(&call->connect_time); - if (call->response_time.sec == 0) - call->response_time = call->connect_time; - - t = call->connect_time; - PJ_TIME_VAL_SUB(t, call->start_time); - - PJ_LOG(3,(THIS_FILE, "Call #%d connected in %d ms", call->index, - PJ_TIME_VAL_MSEC(t))); - - if (app.duration != 0) { - call->d_timer.id = 1; - call->d_timer.user_data = call; - call->d_timer.cb = &timer_disconnect_call; - - t.sec = app.duration; - t.msec = 0; - - pjsip_endpt_schedule_timer(app.sip_endpt, &call->d_timer, &t); - } - - } else if ( inv->state == PJSIP_INV_STATE_EARLY || - inv->state == PJSIP_INV_STATE_CONNECTING) { - - if (call->response_time.sec == 0) - pj_gettimeofday(&call->response_time); - - } -} - - -/* Utility */ -static void app_perror(const char *sender, const char *title, - pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(3,(sender, "%s: %s [status=%d]", title, errmsg, status)); -} - - -/* Worker thread for SIP */ -static int sip_worker_thread(void *arg) -{ - PJ_UNUSED_ARG(arg); - - while (!app.thread_quit) { - pj_time_val timeout = {0, 10}; - pjsip_endpt_handle_events(app.sip_endpt, &timeout); - } - - return 0; -} - - -/* Init application options */ -static pj_status_t init_options(int argc, char *argv[]) -{ - static char ip_addr[32]; - static char local_uri[64]; - - enum { OPT_START, - OPT_APP_LOG_LEVEL, OPT_LOG_FILE, - OPT_A_PT, OPT_A_NAME, OPT_A_CLOCK, OPT_A_BITRATE, OPT_A_PTIME, - OPT_REPORT_FILE }; - - struct pj_getopt_option long_options[] = { - { "count", 1, 0, 'c' }, - { "gap", 1, 0, 'g' }, - { "call-report", 0, 0, 'R' }, - { "duration", 1, 0, 'd' }, - { "auto-quit", 0, 0, 'q' }, - { "local-port", 1, 0, 'p' }, - { "rtp-port", 1, 0, 'r' }, - { "ip-addr", 1, 0, 'i' }, - - { "log-level", 1, 0, 'l' }, - { "app-log-level", 1, 0, OPT_APP_LOG_LEVEL }, - { "log-file", 1, 0, OPT_LOG_FILE }, - - { "report-file", 1, 0, OPT_REPORT_FILE }, - - /* Don't support this anymore, see comments in USAGE above. - { "a-pt", 1, 0, OPT_A_PT }, - { "a-name", 1, 0, OPT_A_NAME }, - { "a-clock", 1, 0, OPT_A_CLOCK }, - { "a-bitrate", 1, 0, OPT_A_BITRATE }, - { "a-ptime", 1, 0, OPT_A_PTIME }, - */ - - { NULL, 0, 0, 0 }, - }; - int c; - int option_index; - - /* Get local IP address for the default IP address */ - { - const pj_str_t *hostname; - pj_sockaddr_in tmp_addr; - char *addr; - - hostname = pj_gethostname(); - pj_sockaddr_in_init(&tmp_addr, hostname, 0); - addr = pj_inet_ntoa(tmp_addr.sin_addr); - pj_ansi_strcpy(ip_addr, addr); - } - - /* Init defaults */ - app.max_calls = 1; - app.thread_count = 1; - app.sip_port = 5060; - app.rtp_start_port = RTP_START_PORT; - app.local_addr = pj_str(ip_addr); - app.log_level = 5; - app.app_log_level = 3; - app.log_filename = NULL; - - /* Default codecs: */ - app.audio_codec = audio_codecs[0]; - - /* Parse options */ - pj_optind = 0; - while((c=pj_getopt_long(argc,argv, "c:d:p:r:i:l:g:qR", - long_options, &option_index))!=-1) - { - switch (c) { - case 'c': - app.max_calls = atoi(pj_optarg); - if (app.max_calls < 0 || app.max_calls > MAX_CALLS) { - PJ_LOG(3,(THIS_FILE, "Invalid max calls value %s", pj_optarg)); - return 1; - } - break; - case 'g': - app.call_gap = atoi(pj_optarg); - break; - case 'R': - app.call_report = PJ_TRUE; - break; - case 'd': - app.duration = atoi(pj_optarg); - break; - case 'q': - app.auto_quit = 1; - break; - - case 'p': - app.sip_port = atoi(pj_optarg); - break; - case 'r': - app.rtp_start_port = atoi(pj_optarg); - break; - case 'i': - app.local_addr = pj_str(pj_optarg); - break; - - case 'l': - app.log_level = atoi(pj_optarg); - break; - case OPT_APP_LOG_LEVEL: - app.app_log_level = atoi(pj_optarg); - break; - case OPT_LOG_FILE: - app.log_filename = pj_optarg; - break; - - case OPT_A_PT: - app.audio_codec.pt = atoi(pj_optarg); - break; - case OPT_A_NAME: - app.audio_codec.name = pj_optarg; - break; - case OPT_A_CLOCK: - app.audio_codec.clock_rate = atoi(pj_optarg); - break; - case OPT_A_BITRATE: - app.audio_codec.bit_rate = atoi(pj_optarg); - break; - case OPT_A_PTIME: - app.audio_codec.ptime = atoi(pj_optarg); - break; - case OPT_REPORT_FILE: - app.report_filename = pj_optarg; - break; - - default: - puts(USAGE); - return 1; - } - } - - /* Check if URL is specified */ - if (pj_optind < argc) - app.uri_to_call = pj_str(argv[pj_optind]); - - /* Build local URI and contact */ - pj_ansi_sprintf( local_uri, "sip:%s:%d", app.local_addr.ptr, app.sip_port); - app.local_uri = pj_str(local_uri); - app.local_contact = app.local_uri; - - - return PJ_SUCCESS; -} - - -/***************************************************************************** - * MEDIA STUFFS - */ - -/* - * Create SDP session for a call. - */ -static pj_status_t create_sdp( pj_pool_t *pool, - struct call *call, - pjmedia_sdp_session **p_sdp) -{ - pj_time_val tv; - pjmedia_sdp_session *sdp; - pjmedia_sdp_media *m; - pjmedia_sdp_attr *attr; - pjmedia_transport_info tpinfo; - struct media_stream *audio = &call->media[0]; - - PJ_ASSERT_RETURN(pool && p_sdp, PJ_EINVAL); - - - /* Get transport info */ - pjmedia_transport_info_init(&tpinfo); - pjmedia_transport_get_info(audio->transport, &tpinfo); - - /* Create and initialize basic SDP session */ - sdp = pj_pool_zalloc (pool, sizeof(pjmedia_sdp_session)); - - pj_gettimeofday(&tv); - sdp->origin.user = pj_str("pjsip-siprtp"); - sdp->origin.version = sdp->origin.id = tv.sec + 2208988800UL; - sdp->origin.net_type = pj_str("IN"); - sdp->origin.addr_type = pj_str("IP4"); - sdp->origin.addr = *pj_gethostname(); - sdp->name = pj_str("pjsip"); - - /* Since we only support one media stream at present, put the - * SDP connection line in the session level. - */ - sdp->conn = pj_pool_zalloc (pool, sizeof(pjmedia_sdp_conn)); - sdp->conn->net_type = pj_str("IN"); - sdp->conn->addr_type = pj_str("IP4"); - sdp->conn->addr = app.local_addr; - - - /* SDP time and attributes. */ - sdp->time.start = sdp->time.stop = 0; - sdp->attr_count = 0; - - /* Create media stream 0: */ - - sdp->media_count = 1; - m = pj_pool_zalloc (pool, sizeof(pjmedia_sdp_media)); - sdp->media[0] = m; - - /* Standard media info: */ - m->desc.media = pj_str("audio"); - m->desc.port = pj_ntohs(tpinfo.sock_info.rtp_addr_name.ipv4.sin_port); - m->desc.port_count = 1; - m->desc.transport = pj_str("RTP/AVP"); - - /* Add format and rtpmap for each codec. */ - m->desc.fmt_count = 1; - m->attr_count = 0; - - { - pjmedia_sdp_rtpmap rtpmap; - pjmedia_sdp_attr *attr; - char ptstr[10]; - - sprintf(ptstr, "%d", app.audio_codec.pt); - pj_strdup2(pool, &m->desc.fmt[0], ptstr); - rtpmap.pt = m->desc.fmt[0]; - rtpmap.clock_rate = app.audio_codec.clock_rate; - rtpmap.enc_name = pj_str(app.audio_codec.name); - rtpmap.param.slen = 0; - - pjmedia_sdp_rtpmap_to_attr(pool, &rtpmap, &attr); - m->attr[m->attr_count++] = attr; - } - - /* Add sendrecv attribute. */ - attr = pj_pool_zalloc(pool, sizeof(pjmedia_sdp_attr)); - attr->name = pj_str("sendrecv"); - m->attr[m->attr_count++] = attr; - -#if 1 - /* - * Add support telephony event - */ - m->desc.fmt[m->desc.fmt_count++] = pj_str("121"); - /* Add rtpmap. */ - attr = pj_pool_zalloc(pool, sizeof(pjmedia_sdp_attr)); - attr->name = pj_str("rtpmap"); - attr->value = pj_str("121 telephone-event/8000"); - m->attr[m->attr_count++] = attr; - /* Add fmtp */ - attr = pj_pool_zalloc(pool, sizeof(pjmedia_sdp_attr)); - attr->name = pj_str("fmtp"); - attr->value = pj_str("121 0-15"); - m->attr[m->attr_count++] = attr; -#endif - - /* Done */ - *p_sdp = sdp; - - return PJ_SUCCESS; -} - - -#if defined(PJ_WIN32) && PJ_WIN32 != 0 -#include -static void boost_priority(void) -{ - SetPriorityClass( GetCurrentProcess(), REALTIME_PRIORITY_CLASS); - SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_HIGHEST); -} - -#elif defined(PJ_LINUX) && PJ_LINUX != 0 -#include -static void boost_priority(void) -{ -#define POLICY SCHED_FIFO - struct sched_param tp; - int max_prio; - int policy; - int rc; - - if (sched_get_priority_min(POLICY) < sched_get_priority_max(POLICY)) - max_prio = sched_get_priority_max(POLICY)-1; - else - max_prio = sched_get_priority_max(POLICY)+1; - - /* - * Adjust process scheduling algorithm and priority - */ - rc = sched_getparam(0, &tp); - if (rc != 0) { - app_perror( THIS_FILE, "sched_getparam error", - PJ_RETURN_OS_ERROR(rc)); - return; - } - tp.__sched_priority = max_prio; - - rc = sched_setscheduler(0, POLICY, &tp); - if (rc != 0) { - app_perror( THIS_FILE, "sched_setscheduler error", - PJ_RETURN_OS_ERROR(rc)); - } - - PJ_LOG(4, (THIS_FILE, "New process policy=%d, priority=%d", - policy, tp.__sched_priority)); - - /* - * Adjust thread scheduling algorithm and priority - */ - rc = pthread_getschedparam(pthread_self(), &policy, &tp); - if (rc != 0) { - app_perror( THIS_FILE, "pthread_getschedparam error", - PJ_RETURN_OS_ERROR(rc)); - return; - } - - PJ_LOG(4, (THIS_FILE, "Old thread policy=%d, priority=%d", - policy, tp.__sched_priority)); - - policy = POLICY; - tp.__sched_priority = max_prio; - - rc = pthread_setschedparam(pthread_self(), policy, &tp); - if (rc != 0) { - app_perror( THIS_FILE, "pthread_setschedparam error", - PJ_RETURN_OS_ERROR(rc)); - return; - } - - PJ_LOG(4, (THIS_FILE, "New thread policy=%d, priority=%d", - policy, tp.__sched_priority)); -} - -#else -# define boost_priority() -#endif - - -/* - * This callback is called by media transport on receipt of RTP packet. - */ -static void on_rx_rtp(void *user_data, void *pkt, pj_ssize_t size) -{ - struct media_stream *strm; - pj_status_t status; - const pjmedia_rtp_hdr *hdr; - const void *payload; - unsigned payload_len; - - strm = user_data; - - /* Discard packet if media is inactive */ - if (!strm->active) - return; - - /* Check for errors */ - if (size < 0) { - app_perror(THIS_FILE, "RTP recv() error", -size); - return; - } - - /* Decode RTP packet. */ - status = pjmedia_rtp_decode_rtp(&strm->in_sess, - pkt, size, - &hdr, &payload, &payload_len); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "RTP decode error", status); - return; - } - - //PJ_LOG(4,(THIS_FILE, "Rx seq=%d", pj_ntohs(hdr->seq))); - - /* Update the RTCP session. */ - pjmedia_rtcp_rx_rtp(&strm->rtcp, pj_ntohs(hdr->seq), - pj_ntohl(hdr->ts), payload_len); - - /* Update RTP session */ - pjmedia_rtp_session_update(&strm->in_sess, hdr, NULL); - -} - -/* - * This callback is called by media transport on receipt of RTCP packet. - */ -static void on_rx_rtcp(void *user_data, void *pkt, pj_ssize_t size) -{ - struct media_stream *strm; - - strm = user_data; - - /* Discard packet if media is inactive */ - if (!strm->active) - return; - - /* Check for errors */ - if (size < 0) { - app_perror(THIS_FILE, "Error receiving RTCP packet", -size); - return; - } - - /* Update RTCP session */ - pjmedia_rtcp_rx_rtcp(&strm->rtcp, pkt, size); -} - - -/* - * Media thread - * - * This is the thread to send and receive both RTP and RTCP packets. - */ -static int media_thread(void *arg) -{ - enum { RTCP_INTERVAL = 5000, RTCP_RAND = 2000 }; - struct media_stream *strm = arg; - char packet[1500]; - unsigned msec_interval; - pj_timestamp freq, next_rtp, next_rtcp; - - - /* Boost thread priority if necessary */ - boost_priority(); - - /* Let things settle */ - pj_thread_sleep(100); - - msec_interval = strm->samples_per_frame * 1000 / strm->clock_rate; - pj_get_timestamp_freq(&freq); - - pj_get_timestamp(&next_rtp); - next_rtp.u64 += (freq.u64 * msec_interval / 1000); - - next_rtcp = next_rtp; - next_rtcp.u64 += (freq.u64 * (RTCP_INTERVAL+(pj_rand()%RTCP_RAND)) / 1000); - - - while (!strm->thread_quit_flag) { - pj_timestamp now, lesser; - pj_time_val timeout; - pj_bool_t send_rtp, send_rtcp; - - send_rtp = send_rtcp = PJ_FALSE; - - /* Determine how long to sleep */ - if (next_rtp.u64 < next_rtcp.u64) { - lesser = next_rtp; - send_rtp = PJ_TRUE; - } else { - lesser = next_rtcp; - send_rtcp = PJ_TRUE; - } - - pj_get_timestamp(&now); - if (lesser.u64 <= now.u64) { - timeout.sec = timeout.msec = 0; - //printf("immediate "); fflush(stdout); - } else { - pj_uint64_t tick_delay; - tick_delay = lesser.u64 - now.u64; - timeout.sec = 0; - timeout.msec = (pj_uint32_t)(tick_delay * 1000 / freq.u64); - pj_time_val_normalize(&timeout); - - //printf("%d:%03d ", timeout.sec, timeout.msec); fflush(stdout); - } - - /* Wait for next interval */ - //if (timeout.sec!=0 && timeout.msec!=0) { - pj_thread_sleep(PJ_TIME_VAL_MSEC(timeout)); - if (strm->thread_quit_flag) - break; - //} - - pj_get_timestamp(&now); - - if (send_rtp || next_rtp.u64 <= now.u64) { - /* - * Time to send RTP packet. - */ - pj_status_t status; - const void *p_hdr; - const pjmedia_rtp_hdr *hdr; - pj_ssize_t size; - int hdrlen; - - /* Format RTP header */ - status = pjmedia_rtp_encode_rtp( &strm->out_sess, strm->si.tx_pt, - 0, /* marker bit */ - strm->bytes_per_frame, - strm->samples_per_frame, - &p_hdr, &hdrlen); - if (status == PJ_SUCCESS) { - - //PJ_LOG(4,(THIS_FILE, "\t\tTx seq=%d", pj_ntohs(hdr->seq))); - - hdr = (const pjmedia_rtp_hdr*) p_hdr; - - /* Copy RTP header to packet */ - pj_memcpy(packet, hdr, hdrlen); - - /* Zero the payload */ - pj_bzero(packet+hdrlen, strm->bytes_per_frame); - - /* Send RTP packet */ - size = hdrlen + strm->bytes_per_frame; - status = pjmedia_transport_send_rtp(strm->transport, - packet, size); - if (status != PJ_SUCCESS) - app_perror(THIS_FILE, "Error sending RTP packet", status); - - } else { - pj_assert(!"RTP encode() error"); - } - - /* Update RTCP SR */ - pjmedia_rtcp_tx_rtp( &strm->rtcp, (pj_uint16_t)strm->bytes_per_frame); - - /* Schedule next send */ - next_rtp.u64 += (msec_interval * freq.u64 / 1000); - } - - - if (send_rtcp || next_rtcp.u64 <= now.u64) { - /* - * Time to send RTCP packet. - */ - void *rtcp_pkt; - int rtcp_len; - pj_ssize_t size; - pj_status_t status; - - /* Build RTCP packet */ - pjmedia_rtcp_build_rtcp(&strm->rtcp, &rtcp_pkt, &rtcp_len); - - - /* Send packet */ - size = rtcp_len; - status = pjmedia_transport_send_rtcp(strm->transport, - rtcp_pkt, size); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Error sending RTCP packet", status); - } - - /* Schedule next send */ - next_rtcp.u64 += (freq.u64 * (RTCP_INTERVAL+(pj_rand()%RTCP_RAND)) / - 1000); - } - } - - return 0; -} - - -/* Callback to be called when SDP negotiation is done in the call: */ -static void call_on_media_update( pjsip_inv_session *inv, - pj_status_t status) -{ - struct call *call; - pj_pool_t *pool; - struct media_stream *audio; - const pjmedia_sdp_session *local_sdp, *remote_sdp; - struct codec *codec_desc = NULL; - unsigned i; - - call = inv->mod_data[mod_siprtp.id]; - pool = inv->dlg->pool; - audio = &call->media[0]; - - /* If this is a mid-call media update, then destroy existing media */ - if (audio->thread != NULL) - destroy_call_media(call->index); - - - /* Do nothing if media negotiation has failed */ - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "SDP negotiation failed", status); - return; - } - - - /* Capture stream definition from the SDP */ - pjmedia_sdp_neg_get_active_local(inv->neg, &local_sdp); - pjmedia_sdp_neg_get_active_remote(inv->neg, &remote_sdp); - - status = pjmedia_stream_info_from_sdp(&audio->si, inv->pool, app.med_endpt, - local_sdp, remote_sdp, 0); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Error creating stream info from SDP", status); - return; - } - - /* Get the remainder of codec information from codec descriptor */ - if (audio->si.fmt.pt == app.audio_codec.pt) - codec_desc = &app.audio_codec; - else { - /* Find the codec description in codec array */ - for (i=0; isi.fmt.pt) { - codec_desc = &audio_codecs[i]; - break; - } - } - - if (codec_desc == NULL) { - PJ_LOG(3, (THIS_FILE, "Error: Invalid codec payload type")); - return; - } - } - - audio->clock_rate = audio->si.fmt.clock_rate; - audio->samples_per_frame = audio->clock_rate * codec_desc->ptime / 1000; - audio->bytes_per_frame = codec_desc->bit_rate * codec_desc->ptime / 1000 / 8; - - - pjmedia_rtp_session_init(&audio->out_sess, audio->si.tx_pt, - pj_rand()); - pjmedia_rtp_session_init(&audio->in_sess, audio->si.fmt.pt, 0); - pjmedia_rtcp_init(&audio->rtcp, "rtcp", audio->clock_rate, - audio->samples_per_frame, 0); - - - /* Attach media to transport */ - status = pjmedia_transport_attach(audio->transport, audio, - &audio->si.rem_addr, - &audio->si.rem_rtcp, - sizeof(pj_sockaddr_in), - &on_rx_rtp, - &on_rx_rtcp); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Error on pjmedia_transport_attach()", status); - return; - } - - /* Start media thread. */ - audio->thread_quit_flag = 0; -#if PJ_HAS_THREADS - status = pj_thread_create( inv->pool, "media", &media_thread, audio, - 0, 0, &audio->thread); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Error creating media thread", status); - return; - } -#endif - - /* Set the media as active */ - audio->active = PJ_TRUE; -} - - - -/* Destroy call's media */ -static void destroy_call_media(unsigned call_index) -{ - struct media_stream *audio = &app.call[call_index].media[0]; - - if (audio) { - audio->active = PJ_FALSE; - - if (audio->thread) { - audio->thread_quit_flag = 1; - pj_thread_join(audio->thread); - pj_thread_destroy(audio->thread); - audio->thread = NULL; - audio->thread_quit_flag = 0; - } - - pjmedia_transport_detach(audio->transport, audio); - } -} - - -/***************************************************************************** - * USER INTERFACE STUFFS - */ - -static void call_get_duration(int call_index, pj_time_val *dur) -{ - struct call *call = &app.call[call_index]; - pjsip_inv_session *inv; - - dur->sec = dur->msec = 0; - - if (!call) - return; - - inv = call->inv; - if (!inv) - return; - - if (inv->state >= PJSIP_INV_STATE_CONFIRMED && call->connect_time.sec) { - - pj_gettimeofday(dur); - PJ_TIME_VAL_SUB((*dur), call->connect_time); - } -} - - -static const char *good_number(char *buf, pj_int32_t val) -{ - if (val < 1000) { - pj_ansi_sprintf(buf, "%d", val); - } else if (val < 1000000) { - pj_ansi_sprintf(buf, "%d.%02dK", - val / 1000, - (val % 1000) / 100); - } else { - pj_ansi_sprintf(buf, "%d.%02dM", - val / 1000000, - (val % 1000000) / 10000); - } - - return buf; -} - - - -static void print_avg_stat(void) -{ -#define MIN_(var,val) if ((int)val < (int)var) var = val -#define MAX_(var,val) if ((int)val > (int)var) var = val -#define AVG_(var,val) var = ( ((var * count) + val) / (count+1) ) -#define BIGVAL 0x7FFFFFFFL - struct stat_entry - { - int min, avg, max; - }; - - struct stat_entry call_dur, call_pdd; - pjmedia_rtcp_stat min_stat, avg_stat, max_stat; - - char srx_min[16], srx_avg[16], srx_max[16]; - char brx_min[16], brx_avg[16], brx_max[16]; - char stx_min[16], stx_avg[16], stx_max[16]; - char btx_min[16], btx_avg[16], btx_max[16]; - - - unsigned i, count; - - pj_bzero(&call_dur, sizeof(call_dur)); - call_dur.min = BIGVAL; - - pj_bzero(&call_pdd, sizeof(call_pdd)); - call_pdd.min = BIGVAL; - - pj_bzero(&min_stat, sizeof(min_stat)); - min_stat.rx.pkt = min_stat.tx.pkt = BIGVAL; - min_stat.rx.bytes = min_stat.tx.bytes = BIGVAL; - min_stat.rx.loss = min_stat.tx.loss = BIGVAL; - min_stat.rx.dup = min_stat.tx.dup = BIGVAL; - min_stat.rx.reorder = min_stat.tx.reorder = BIGVAL; - min_stat.rx.jitter.min = min_stat.tx.jitter.min = BIGVAL; - min_stat.rtt.min = BIGVAL; - - pj_bzero(&avg_stat, sizeof(avg_stat)); - pj_bzero(&max_stat, sizeof(max_stat)); - - - for (i=0, count=0; imedia[0]; - pj_time_val dur; - unsigned msec_dur; - - if (call->inv == NULL || - call->inv->state < PJSIP_INV_STATE_CONFIRMED || - call->connect_time.sec == 0) - { - continue; - } - - /* Duration */ - call_get_duration(i, &dur); - msec_dur = PJ_TIME_VAL_MSEC(dur); - - MIN_(call_dur.min, msec_dur); - MAX_(call_dur.max, msec_dur); - AVG_(call_dur.avg, msec_dur); - - /* Connect delay */ - if (call->connect_time.sec) { - pj_time_val t = call->connect_time; - PJ_TIME_VAL_SUB(t, call->start_time); - msec_dur = PJ_TIME_VAL_MSEC(t); - } else { - msec_dur = 10; - } - - MIN_(call_pdd.min, msec_dur); - MAX_(call_pdd.max, msec_dur); - AVG_(call_pdd.avg, msec_dur); - - /* RX Statistisc: */ - - /* Packets */ - MIN_(min_stat.rx.pkt, audio->rtcp.stat.rx.pkt); - MAX_(max_stat.rx.pkt, audio->rtcp.stat.rx.pkt); - AVG_(avg_stat.rx.pkt, audio->rtcp.stat.rx.pkt); - - /* Bytes */ - MIN_(min_stat.rx.bytes, audio->rtcp.stat.rx.bytes); - MAX_(max_stat.rx.bytes, audio->rtcp.stat.rx.bytes); - AVG_(avg_stat.rx.bytes, audio->rtcp.stat.rx.bytes); - - - /* Packet loss */ - MIN_(min_stat.rx.loss, audio->rtcp.stat.rx.loss); - MAX_(max_stat.rx.loss, audio->rtcp.stat.rx.loss); - AVG_(avg_stat.rx.loss, audio->rtcp.stat.rx.loss); - - /* Packet dup */ - MIN_(min_stat.rx.dup, audio->rtcp.stat.rx.dup); - MAX_(max_stat.rx.dup, audio->rtcp.stat.rx.dup); - AVG_(avg_stat.rx.dup, audio->rtcp.stat.rx.dup); - - /* Packet reorder */ - MIN_(min_stat.rx.reorder, audio->rtcp.stat.rx.reorder); - MAX_(max_stat.rx.reorder, audio->rtcp.stat.rx.reorder); - AVG_(avg_stat.rx.reorder, audio->rtcp.stat.rx.reorder); - - /* Jitter */ - MIN_(min_stat.rx.jitter.min, audio->rtcp.stat.rx.jitter.min); - MAX_(max_stat.rx.jitter.max, audio->rtcp.stat.rx.jitter.max); - AVG_(avg_stat.rx.jitter.mean, audio->rtcp.stat.rx.jitter.mean); - - - /* TX Statistisc: */ - - /* Packets */ - MIN_(min_stat.tx.pkt, audio->rtcp.stat.tx.pkt); - MAX_(max_stat.tx.pkt, audio->rtcp.stat.tx.pkt); - AVG_(avg_stat.tx.pkt, audio->rtcp.stat.tx.pkt); - - /* Bytes */ - MIN_(min_stat.tx.bytes, audio->rtcp.stat.tx.bytes); - MAX_(max_stat.tx.bytes, audio->rtcp.stat.tx.bytes); - AVG_(avg_stat.tx.bytes, audio->rtcp.stat.tx.bytes); - - /* Packet loss */ - MIN_(min_stat.tx.loss, audio->rtcp.stat.tx.loss); - MAX_(max_stat.tx.loss, audio->rtcp.stat.tx.loss); - AVG_(avg_stat.tx.loss, audio->rtcp.stat.tx.loss); - - /* Packet dup */ - MIN_(min_stat.tx.dup, audio->rtcp.stat.tx.dup); - MAX_(max_stat.tx.dup, audio->rtcp.stat.tx.dup); - AVG_(avg_stat.tx.dup, audio->rtcp.stat.tx.dup); - - /* Packet reorder */ - MIN_(min_stat.tx.reorder, audio->rtcp.stat.tx.reorder); - MAX_(max_stat.tx.reorder, audio->rtcp.stat.tx.reorder); - AVG_(avg_stat.tx.reorder, audio->rtcp.stat.tx.reorder); - - /* Jitter */ - MIN_(min_stat.tx.jitter.min, audio->rtcp.stat.tx.jitter.min); - MAX_(max_stat.tx.jitter.max, audio->rtcp.stat.tx.jitter.max); - AVG_(avg_stat.tx.jitter.mean, audio->rtcp.stat.tx.jitter.mean); - - - /* RTT */ - MIN_(min_stat.rtt.min, audio->rtcp.stat.rtt.min); - MAX_(max_stat.rtt.max, audio->rtcp.stat.rtt.max); - AVG_(avg_stat.rtt.mean, audio->rtcp.stat.rtt.mean); - - ++count; - } - - if (count == 0) { - puts("No active calls"); - return; - } - - printf("Total %d call(s) active.\n" - " Average Statistics\n" - " min avg max \n" - " -----------------------\n" - " call duration: %7d %7d %7d %s\n" - " connect delay: %7d %7d %7d %s\n" - " RX stat:\n" - " packets: %7s %7s %7s %s\n" - " payload: %7s %7s %7s %s\n" - " loss: %7d %7d %7d %s\n" - " percent loss: %7.3f %7.3f %7.3f %s\n" - " dup: %7d %7d %7d %s\n" - " reorder: %7d %7d %7d %s\n" - " jitter: %7.3f %7.3f %7.3f %s\n" - " TX stat:\n" - " packets: %7s %7s %7s %s\n" - " payload: %7s %7s %7s %s\n" - " loss: %7d %7d %7d %s\n" - " percent loss: %7.3f %7.3f %7.3f %s\n" - " dup: %7d %7d %7d %s\n" - " reorder: %7d %7d %7d %s\n" - " jitter: %7.3f %7.3f %7.3f %s\n" - " RTT : %7.3f %7.3f %7.3f %s\n" - , - count, - call_dur.min/1000, call_dur.avg/1000, call_dur.max/1000, - "seconds", - - call_pdd.min, call_pdd.avg, call_pdd.max, - "ms", - - /* rx */ - - good_number(srx_min, min_stat.rx.pkt), - good_number(srx_avg, avg_stat.rx.pkt), - good_number(srx_max, max_stat.rx.pkt), - "packets", - - good_number(brx_min, min_stat.rx.bytes), - good_number(brx_avg, avg_stat.rx.bytes), - good_number(brx_max, max_stat.rx.bytes), - "bytes", - - min_stat.rx.loss, avg_stat.rx.loss, max_stat.rx.loss, - "packets", - - min_stat.rx.loss*100.0/(min_stat.rx.pkt+min_stat.rx.loss), - avg_stat.rx.loss*100.0/(avg_stat.rx.pkt+avg_stat.rx.loss), - max_stat.rx.loss*100.0/(max_stat.rx.pkt+max_stat.rx.loss), - "%", - - - min_stat.rx.dup, avg_stat.rx.dup, max_stat.rx.dup, - "packets", - - min_stat.rx.reorder, avg_stat.rx.reorder, max_stat.rx.reorder, - "packets", - - min_stat.rx.jitter.min/1000.0, - avg_stat.rx.jitter.mean/1000.0, - max_stat.rx.jitter.max/1000.0, - "ms", - - /* tx */ - - good_number(stx_min, min_stat.tx.pkt), - good_number(stx_avg, avg_stat.tx.pkt), - good_number(stx_max, max_stat.tx.pkt), - "packets", - - good_number(btx_min, min_stat.tx.bytes), - good_number(btx_avg, avg_stat.tx.bytes), - good_number(btx_max, max_stat.tx.bytes), - "bytes", - - min_stat.tx.loss, avg_stat.tx.loss, max_stat.tx.loss, - "packets", - - min_stat.tx.loss*100.0/(min_stat.tx.pkt+min_stat.tx.loss), - avg_stat.tx.loss*100.0/(avg_stat.tx.pkt+avg_stat.tx.loss), - max_stat.tx.loss*100.0/(max_stat.tx.pkt+max_stat.tx.loss), - "%", - - min_stat.tx.dup, avg_stat.tx.dup, max_stat.tx.dup, - "packets", - - min_stat.tx.reorder, avg_stat.tx.reorder, max_stat.tx.reorder, - "packets", - - min_stat.tx.jitter.min/1000.0, - avg_stat.tx.jitter.mean/1000.0, - max_stat.tx.jitter.max/1000.0, - "ms", - - /* rtt */ - min_stat.rtt.min/1000.0, - avg_stat.rtt.mean/1000.0, - max_stat.rtt.max/1000.0, - "ms" - ); - -} - - -#include "siprtp_report.c" - - -static void list_calls() -{ - unsigned i; - puts("List all calls:"); - for (i=0; i>> "); fflush(stdout); - if (fgets(input1, sizeof(input1), stdin) == NULL) { - puts("EOF while reading stdin, will quit now.."); - break; - } - - switch (input1[0]) { - - case 's': - print_avg_stat(); - break; - - case 'l': - list_calls(); - break; - - case 'h': - if (!simple_input("Call number to hangup", input1, sizeof(input1))) - break; - - i = atoi(input1); - hangup_call(i); - break; - - case 'H': - hangup_all_calls(); - break; - - case 'q': - goto on_exit; - - default: - puts("Invalid command"); - printf("%s", MENU); - break; - } - - fflush(stdout); - } - -on_exit: - hangup_all_calls(); -} - - -/***************************************************************************** - * Below is a simple module to log all incoming and outgoing SIP messages - */ - - -/* Notification on incoming messages */ -static pj_bool_t logger_on_rx_msg(pjsip_rx_data *rdata) -{ - PJ_LOG(4,(THIS_FILE, "RX %d bytes %s from %s:%d:\n" - "%s\n" - "--end msg--", - rdata->msg_info.len, - pjsip_rx_data_get_info(rdata), - rdata->pkt_info.src_name, - rdata->pkt_info.src_port, - rdata->msg_info.msg_buf)); - - /* Always return false, otherwise messages will not get processed! */ - return PJ_FALSE; -} - -/* Notification on outgoing messages */ -static pj_status_t logger_on_tx_msg(pjsip_tx_data *tdata) -{ - - /* Important note: - * tp_info field is only valid after outgoing messages has passed - * transport layer. So don't try to access tp_info when the module - * has lower priority than transport layer. - */ - - PJ_LOG(4,(THIS_FILE, "TX %d bytes %s to %s:%d:\n" - "%s\n" - "--end msg--", - (tdata->buf.cur - tdata->buf.start), - pjsip_tx_data_get_info(tdata), - tdata->tp_info.dst_name, - tdata->tp_info.dst_port, - tdata->buf.start)); - - /* Always return success, otherwise message will not get sent! */ - return PJ_SUCCESS; -} - -/* The module instance. */ -static pjsip_module msg_logger = -{ - NULL, NULL, /* prev, next. */ - { "mod-siprtp-log", 14 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_TRANSPORT_LAYER-1,/* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &logger_on_rx_msg, /* on_rx_request() */ - &logger_on_rx_msg, /* on_rx_response() */ - &logger_on_tx_msg, /* on_tx_request. */ - &logger_on_tx_msg, /* on_tx_response() */ - NULL, /* on_tsx_state() */ - -}; - - - -/***************************************************************************** - * Console application custom logging: - */ - - -static FILE *log_file; - - -static void app_log_writer(int level, const char *buffer, int len) -{ - /* Write to both stdout and file. */ - - if (level <= app.app_log_level) - pj_log_write(level, buffer, len); - - if (log_file) { - int count = fwrite(buffer, len, 1, log_file); - PJ_UNUSED_ARG(count); - fflush(log_file); - } -} - - -pj_status_t app_logging_init(void) -{ - /* Redirect log function to ours */ - - pj_log_set_log_func( &app_log_writer ); - - /* If output log file is desired, create the file: */ - - if (app.log_filename) { - log_file = fopen(app.log_filename, "wt"); - if (log_file == NULL) { - PJ_LOG(1,(THIS_FILE, "Unable to open log file %s", - app.log_filename)); - return -1; - } - } - - return PJ_SUCCESS; -} - - -void app_logging_shutdown(void) -{ - /* Close logging file, if any: */ - - if (log_file) { - fclose(log_file); - log_file = NULL; - } -} - - -/* - * main() - */ -int main(int argc, char *argv[]) -{ - unsigned i; - pj_status_t status; - - /* Must init PJLIB first */ - status = pj_init(); - if (status != PJ_SUCCESS) - return 1; - - /* Get command line options */ - status = init_options(argc, argv); - if (status != PJ_SUCCESS) - return 1; - - /* Verify options: */ - - /* Auto-quit can not be specified for UAS */ - if (app.auto_quit && app.uri_to_call.slen == 0) { - printf("Error: --auto-quit option only valid for outgoing " - "mode (UAC) only\n"); - return 1; - } - - /* Init logging */ - status = app_logging_init(); - if (status != PJ_SUCCESS) - return 1; - - /* Init SIP etc */ - status = init_sip(); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Initialization has failed", status); - destroy_sip(); - return 1; - } - - /* Register module to log incoming/outgoing messages */ - pjsip_endpt_register_module(app.sip_endpt, &msg_logger); - - /* Init media */ - status = init_media(); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Media initialization failed", status); - destroy_sip(); - return 1; - } - - /* Start worker threads */ -#if PJ_HAS_THREADS - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - - -/* - * DO NOT COMPILE THIS FILE ON ITS OWN! - * - * This file is included by siprtp.c to implement the reporting capability - * to a separate file, so that user can implement different reporting - * functionality (such as writing to XML file). - */ - - -static void print_call(int call_index) -{ - struct call *call = &app.call[call_index]; - int len; - pjsip_inv_session *inv = call->inv; - pjsip_dialog *dlg = inv->dlg; - struct media_stream *audio = &call->media[0]; - char userinfo[128]; - char duration[80], last_update[80]; - char bps[16], ipbps[16], packets[16], bytes[16], ipbytes[16]; - unsigned decor; - pj_time_val now; - - - decor = pj_log_get_decor(); - pj_log_set_decor(PJ_LOG_HAS_NEWLINE); - - pj_gettimeofday(&now); - - if (app.report_filename) - puts(app.report_filename); - - /* Print duration */ - if (inv->state >= PJSIP_INV_STATE_CONFIRMED && call->connect_time.sec) { - - PJ_TIME_VAL_SUB(now, call->connect_time); - - sprintf(duration, " [duration: %02ld:%02ld:%02ld.%03ld]", - now.sec / 3600, - (now.sec % 3600) / 60, - (now.sec % 60), - now.msec); - - } else { - duration[0] = '\0'; - } - - - - /* Call number and state */ - PJ_LOG(3, (THIS_FILE, - "Call #%d: %s%s", - call_index, pjsip_inv_state_name(inv->state), - duration)); - - - - /* Call identification */ - len = pjsip_hdr_print_on(dlg->remote.info, userinfo, sizeof(userinfo)); - if (len < 0) - pj_ansi_strcpy(userinfo, "<--uri too long-->"); - else - userinfo[len] = '\0'; - - PJ_LOG(3, (THIS_FILE, " %s", userinfo)); - - - if (call->inv == NULL || call->inv->state < PJSIP_INV_STATE_CONFIRMED || - call->connect_time.sec == 0) - { - pj_log_set_decor(decor); - return; - } - - - /* Signaling quality */ - { - char pdd[64], connectdelay[64]; - pj_time_val t; - - if (call->response_time.sec) { - t = call->response_time; - PJ_TIME_VAL_SUB(t, call->start_time); - sprintf(pdd, "got 1st response in %ld ms", PJ_TIME_VAL_MSEC(t)); - } else { - pdd[0] = '\0'; - } - - if (call->connect_time.sec) { - t = call->connect_time; - PJ_TIME_VAL_SUB(t, call->start_time); - sprintf(connectdelay, ", connected after: %ld ms", - PJ_TIME_VAL_MSEC(t)); - } else { - connectdelay[0] = '\0'; - } - - PJ_LOG(3, (THIS_FILE, - " Signaling quality: %s%s", pdd, connectdelay)); - } - - - PJ_LOG(3, (THIS_FILE, - " Stream #0: audio %.*s@%dHz, %dms/frame, %sB/s (%sB/s +IP hdr)", - (int)audio->si.fmt.encoding_name.slen, - audio->si.fmt.encoding_name.ptr, - audio->clock_rate, - audio->samples_per_frame * 1000 / audio->clock_rate, - good_number(bps, audio->bytes_per_frame * audio->clock_rate / audio->samples_per_frame), - good_number(ipbps, (audio->bytes_per_frame+32) * audio->clock_rate / audio->samples_per_frame))); - - if (audio->rtcp.stat.rx.update_cnt == 0) - strcpy(last_update, "never"); - else { - pj_gettimeofday(&now); - PJ_TIME_VAL_SUB(now, audio->rtcp.stat.rx.update); - sprintf(last_update, "%02ldh:%02ldm:%02ld.%03lds ago", - now.sec / 3600, - (now.sec % 3600) / 60, - now.sec % 60, - now.msec); - } - - PJ_LOG(3, (THIS_FILE, - " RX stat last update: %s\n" - " total %s packets %sB received (%sB +IP hdr)%s\n" - " pkt loss=%d (%3.1f%%), dup=%d (%3.1f%%), reorder=%d (%3.1f%%)%s\n" - " (msec) min avg max last\n" - " loss period: %7.3f %7.3f %7.3f %7.3f%s\n" - " jitter : %7.3f %7.3f %7.3f %7.3f%s", - last_update, - good_number(packets, audio->rtcp.stat.rx.pkt), - good_number(bytes, audio->rtcp.stat.rx.bytes), - good_number(ipbytes, audio->rtcp.stat.rx.bytes + audio->rtcp.stat.rx.pkt * 32), - "", - audio->rtcp.stat.rx.loss, - audio->rtcp.stat.rx.loss * 100.0 / (audio->rtcp.stat.rx.pkt + audio->rtcp.stat.rx.loss), - audio->rtcp.stat.rx.dup, - audio->rtcp.stat.rx.dup * 100.0 / (audio->rtcp.stat.rx.pkt + audio->rtcp.stat.rx.loss), - audio->rtcp.stat.rx.reorder, - audio->rtcp.stat.rx.reorder * 100.0 / (audio->rtcp.stat.rx.pkt + audio->rtcp.stat.rx.loss), - "", - audio->rtcp.stat.rx.loss_period.min / 1000.0, - audio->rtcp.stat.rx.loss_period.mean / 1000.0, - audio->rtcp.stat.rx.loss_period.max / 1000.0, - audio->rtcp.stat.rx.loss_period.last / 1000.0, - "", - audio->rtcp.stat.rx.jitter.min / 1000.0, - audio->rtcp.stat.rx.jitter.mean / 1000.0, - audio->rtcp.stat.rx.jitter.max / 1000.0, - audio->rtcp.stat.rx.jitter.last / 1000.0, - "" - )); - - - if (audio->rtcp.stat.tx.update_cnt == 0) - strcpy(last_update, "never"); - else { - pj_gettimeofday(&now); - PJ_TIME_VAL_SUB(now, audio->rtcp.stat.tx.update); - sprintf(last_update, "%02ldh:%02ldm:%02ld.%03lds ago", - now.sec / 3600, - (now.sec % 3600) / 60, - now.sec % 60, - now.msec); - } - - PJ_LOG(3, (THIS_FILE, - " TX stat last update: %s\n" - " total %s packets %sB sent (%sB +IP hdr)%s\n" - " pkt loss=%d (%3.1f%%), dup=%d (%3.1f%%), reorder=%d (%3.1f%%)%s\n" - " (msec) min avg max last\n" - " loss period: %7.3f %7.3f %7.3f %7.3f%s\n" - " jitter : %7.3f %7.3f %7.3f %7.3f%s", - last_update, - good_number(packets, audio->rtcp.stat.tx.pkt), - good_number(bytes, audio->rtcp.stat.tx.bytes), - good_number(ipbytes, audio->rtcp.stat.tx.bytes + audio->rtcp.stat.tx.pkt * 32), - "", - audio->rtcp.stat.tx.loss, - audio->rtcp.stat.tx.loss * 100.0 / (audio->rtcp.stat.tx.pkt + audio->rtcp.stat.tx.loss), - audio->rtcp.stat.tx.dup, - audio->rtcp.stat.tx.dup * 100.0 / (audio->rtcp.stat.tx.pkt + audio->rtcp.stat.tx.loss), - audio->rtcp.stat.tx.reorder, - audio->rtcp.stat.tx.reorder * 100.0 / (audio->rtcp.stat.tx.pkt + audio->rtcp.stat.tx.loss), - "", - audio->rtcp.stat.tx.loss_period.min / 1000.0, - audio->rtcp.stat.tx.loss_period.mean / 1000.0, - audio->rtcp.stat.tx.loss_period.max / 1000.0, - audio->rtcp.stat.tx.loss_period.last / 1000.0, - "", - audio->rtcp.stat.tx.jitter.min / 1000.0, - audio->rtcp.stat.tx.jitter.mean / 1000.0, - audio->rtcp.stat.tx.jitter.max / 1000.0, - audio->rtcp.stat.tx.jitter.last / 1000.0, - "" - )); - - - PJ_LOG(3, (THIS_FILE, - " RTT delay : %7.3f %7.3f %7.3f %7.3f%s\n", - audio->rtcp.stat.rtt.min / 1000.0, - audio->rtcp.stat.rtt.mean / 1000.0, - audio->rtcp.stat.rtt.max / 1000.0, - audio->rtcp.stat.rtt.last / 1000.0, - "" - )); - - pj_log_set_decor(decor); -} - diff --git a/res/pjproject/pjsip-apps/src/samples/sipstateless.c b/res/pjproject/pjsip-apps/src/samples/sipstateless.c deleted file mode 100644 index 5e939ab4b9..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/sipstateless.c +++ /dev/null @@ -1,243 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/** - * sipcore.c - * - * A simple program to respond any incoming requests (except ACK, of course!) - * with any status code (taken from command line argument, with the default - * is 501/Not Implemented). - */ - - -/* Include all headers. */ -#include -#include -#include - - -/* If this macro is set, UDP transport will be initialized at port 5060 */ -#define HAS_UDP_TRANSPORT - -/* If this macro is set, TCP transport will be initialized at port 5060 */ -#define HAS_TCP_TRANSPORT (1 && PJ_HAS_TCP) - -/* Log identification */ -#define THIS_FILE "sipstateless.c" - - -/* Global SIP endpoint */ -static pjsip_endpoint *sip_endpt; - -/* What response code to be sent (default is 501/Not Implemented) */ -static int code = PJSIP_SC_NOT_IMPLEMENTED; - -/* Additional header list */ -struct pjsip_hdr hdr_list; - -/* usage() */ -static void usage(void) -{ - puts("Usage:"); - puts(" sipstateless [code] [-H HDR] .."); - puts(""); - puts("Options:"); - puts(" code SIP status code to send (default: 501/Not Implemented"); - puts(" -H HDR Specify additional headers to send with response"); - puts(" This option may be specified more than once."); - puts(" Example:"); - puts(" -H 'Expires: 300' -H 'Contact: '"); -} - - -/* Callback to handle incoming requests. */ -static pj_bool_t on_rx_request( pjsip_rx_data *rdata ) -{ - /* Respond (statelessly) all incoming requests (except ACK!) - * with 501 (Not Implemented) - */ - if (rdata->msg_info.msg->line.req.method.id != PJSIP_ACK_METHOD) { - pjsip_endpt_respond_stateless( sip_endpt, rdata, - code, NULL, - &hdr_list, NULL); - } - return PJ_TRUE; -} - - - -/* - * main() - * - */ -int main(int argc, char *argv[]) -{ - pj_caching_pool cp; - pj_pool_t *pool = NULL; - pjsip_module mod_app = - { - NULL, NULL, /* prev, next. */ - { "mod-app", 7 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &on_rx_request, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ - }; - int c; - pj_status_t status; - - /* Must init PJLIB first: */ - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* Then init PJLIB-UTIL: */ - status = pjlib_util_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&cp, &pj_pool_factory_default_policy, 0); - - /* Create global endpoint: */ - { - /* Endpoint MUST be assigned a globally unique name. - * Ideally we should put hostname or public IP address, but - * we'll just use an arbitrary name here. - */ - - /* Create the endpoint: */ - status = pjsip_endpt_create(&cp.factory, "sipstateless", - &sip_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - } - - /* Parse arguments */ - pj_optind = 0; - pj_list_init(&hdr_list); - while ((c=pj_getopt(argc, argv , "H:")) != -1) { - switch (c) { - case 'H': - if (pool == NULL) { - pool = pj_pool_create(&cp.factory, "sipstateless", 1000, - 1000, NULL); - } - - if (pool) { - char *name; - name = strtok(pj_optarg, ":"); - if (name == NULL) { - puts("Error: invalid header format"); - return 1; - } else { - char *val = strtok(NULL, "\r\n"); - pjsip_generic_string_hdr *h; - pj_str_t hname, hvalue; - - hname = pj_str(name); - hvalue = pj_str(val); - - h = pjsip_generic_string_hdr_create(pool, &hname, &hvalue); - - pj_list_push_back(&hdr_list, h); - - PJ_LOG(4,(THIS_FILE, "Header %s: %s added", name, val)); - } - } - break; - default: - puts("Error: invalid argument"); - usage(); - return 1; - } - } - - if (pj_optind != argc) { - code = atoi(argv[pj_optind]); - if (code < 200 || code > 699) { - puts("Error: invalid status code"); - usage(); - return 1; - } - } - - PJ_LOG(4,(THIS_FILE, "Returning %d to incoming requests", code)); - - - /* - * Add UDP transport, with hard-coded port - */ -#ifdef HAS_UDP_TRANSPORT - { - pj_sockaddr_in addr; - - addr.sin_family = pj_AF_INET(); - addr.sin_addr.s_addr = 0; - addr.sin_port = pj_htons(5060); - - status = pjsip_udp_transport_start( sip_endpt, &addr, NULL, 1, NULL); - if (status != PJ_SUCCESS) { - PJ_LOG(3,(THIS_FILE, - "Error starting UDP transport (port in use?)")); - return 1; - } - } -#endif - -#if HAS_TCP_TRANSPORT - /* - * Add UDP transport, with hard-coded port - */ - { - pj_sockaddr_in addr; - - addr.sin_family = pj_AF_INET(); - addr.sin_addr.s_addr = 0; - addr.sin_port = pj_htons(5060); - - status = pjsip_tcp_transport_start(sip_endpt, &addr, 1, NULL); - if (status != PJ_SUCCESS) { - PJ_LOG(3,(THIS_FILE, - "Error starting TCP transport (port in use?)")); - return 1; - } - } -#endif - - /* - * Register our module to receive incoming requests. - */ - status = pjsip_endpt_register_module( sip_endpt, &mod_app); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* Done. Loop forever to handle incoming events. */ - PJ_LOG(3,(THIS_FILE, "Press Ctrl-C to quit..")); - - for (;;) { - pjsip_endpt_handle_events(sip_endpt, NULL); - } -} diff --git a/res/pjproject/pjsip-apps/src/samples/stateful_proxy.c b/res/pjproject/pjsip-apps/src/samples/stateful_proxy.c deleted file mode 100644 index 379d28af90..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/stateful_proxy.c +++ /dev/null @@ -1,587 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#define THIS_FILE "stateful_proxy.c" - -/* Common proxy functions */ -#define STATEFUL 1 -#include "proxy.h" - - -/* - * mod_stateful_proxy is the module to receive SIP request and - * response message that is outside any transaction context. - */ -static pj_bool_t proxy_on_rx_request(pjsip_rx_data *rdata ); -static pj_bool_t proxy_on_rx_response(pjsip_rx_data *rdata ); - -static pjsip_module mod_stateful_proxy = -{ - NULL, NULL, /* prev, next. */ - { "mod-stateful-proxy", 18 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_UA_PROXY_LAYER, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &proxy_on_rx_request, /* on_rx_request() */ - &proxy_on_rx_response, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ -}; - - -/* - * mod_tu (tu=Transaction User) is the module to receive notification - * from transaction when the transaction state has changed. - */ -static void tu_on_tsx_state(pjsip_transaction *tsx, pjsip_event *event); - -static pjsip_module mod_tu = -{ - NULL, NULL, /* prev, next. */ - { "mod-transaction-user", 20 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - NULL, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - &tu_on_tsx_state, /* on_tsx_state() */ -}; - - -/* This is the data that is attached to the UAC transaction */ -struct uac_data -{ - pjsip_transaction *uas_tsx; - pj_timer_entry timer; -}; - - -/* This is the data that is attached to the UAS transaction */ -struct uas_data -{ - pjsip_transaction *uac_tsx; -}; - - - -static pj_status_t init_stateful_proxy(void) -{ - pj_status_t status; - - status = pjsip_endpt_register_module( global.endpt, &mod_stateful_proxy); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - status = pjsip_endpt_register_module( global.endpt, &mod_tu); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - return PJ_SUCCESS; -} - - -/* Callback to be called to handle new incoming requests. */ -static pj_bool_t proxy_on_rx_request( pjsip_rx_data *rdata ) -{ - pjsip_transaction *uas_tsx, *uac_tsx; - struct uac_data *uac_data; - struct uas_data *uas_data; - pjsip_tx_data *tdata; - pj_status_t status; - - if (rdata->msg_info.msg->line.req.method.id != PJSIP_CANCEL_METHOD) { - - /* Verify incoming request */ - status = proxy_verify_request(rdata); - if (status != PJ_SUCCESS) { - app_perror("RX invalid request", status); - return PJ_TRUE; - } - - /* - * Request looks sane, next clone the request to create transmit data. - */ - status = pjsip_endpt_create_request_fwd(global.endpt, rdata, NULL, - NULL, 0, &tdata); - if (status != PJ_SUCCESS) { - pjsip_endpt_respond_stateless(global.endpt, rdata, - PJSIP_SC_INTERNAL_SERVER_ERROR, - NULL, NULL, NULL); - return PJ_TRUE; - } - - - /* Process routing */ - status = proxy_process_routing(tdata); - if (status != PJ_SUCCESS) { - app_perror("Error processing route", status); - return PJ_TRUE; - } - - /* Calculate target */ - status = proxy_calculate_target(rdata, tdata); - if (status != PJ_SUCCESS) { - app_perror("Error calculating target", status); - return PJ_TRUE; - } - - /* Everything is set to forward the request. */ - - /* If this is an ACK request, forward statelessly. - * This happens if the proxy records route and this ACK - * is sent for 2xx response. An ACK that is sent for non-2xx - * final response will be absorbed by transaction layer, and - * it will not be received by on_rx_request() callback. - */ - if (tdata->msg->line.req.method.id == PJSIP_ACK_METHOD) { - status = pjsip_endpt_send_request_stateless(global.endpt, tdata, - NULL, NULL); - if (status != PJ_SUCCESS) { - app_perror("Error forwarding request", status); - return PJ_TRUE; - } - - return PJ_TRUE; - } - - /* Create UAC transaction for forwarding the request. - * Set our module as the transaction user to receive further - * events from this transaction. - */ - status = pjsip_tsx_create_uac(&mod_tu, tdata, &uac_tsx); - if (status != PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - pjsip_endpt_respond_stateless(global.endpt, rdata, - PJSIP_SC_INTERNAL_SERVER_ERROR, - NULL, NULL, NULL); - return PJ_TRUE; - } - - /* Create UAS transaction to handle incoming request */ - status = pjsip_tsx_create_uas(&mod_tu, rdata, &uas_tsx); - if (status != PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - pjsip_endpt_respond_stateless(global.endpt, rdata, - PJSIP_SC_INTERNAL_SERVER_ERROR, - NULL, NULL, NULL); - pjsip_tsx_terminate(uac_tsx, PJSIP_SC_INTERNAL_SERVER_ERROR); - return PJ_TRUE; - } - - /* Feed the request to the UAS transaction to drive it's state - * out of NULL state. - */ - pjsip_tsx_recv_msg(uas_tsx, rdata); - - /* Attach a data to the UAC transaction, to be used to find the - * UAS transaction when we receive response in the UAC side. - */ - uac_data = (struct uac_data*) - pj_pool_alloc(uac_tsx->pool, sizeof(struct uac_data)); - uac_data->uas_tsx = uas_tsx; - uac_tsx->mod_data[mod_tu.id] = (void*)uac_data; - - /* Attach data to the UAS transaction, to find the UAC transaction - * when cancelling INVITE request. - */ - uas_data = (struct uas_data*) - pj_pool_alloc(uas_tsx->pool, sizeof(struct uas_data)); - uas_data->uac_tsx = uac_tsx; - uas_tsx->mod_data[mod_tu.id] = (void*)uas_data; - - /* Everything is setup, forward the request */ - status = pjsip_tsx_send_msg(uac_tsx, tdata); - if (status != PJ_SUCCESS) { - pjsip_tx_data *err_res; - - /* Fail to send request, for some reason */ - - /* Destroy transmit data */ - pjsip_tx_data_dec_ref(tdata); - - /* I think UAC transaction should have been destroyed when - * it fails to send request, so no need to destroy it. - pjsip_tsx_terminate(uac_tsx, PJSIP_SC_INTERNAL_SERVER_ERROR); - */ - - /* Send 500/Internal Server Error to UAS transaction */ - pjsip_endpt_create_response(global.endpt, rdata, - 500, NULL, &err_res); - pjsip_tsx_send_msg(uas_tsx, err_res); - - return PJ_TRUE; - } - - /* Send 100/Trying if this is an INVITE */ - if (rdata->msg_info.msg->line.req.method.id == PJSIP_INVITE_METHOD) { - pjsip_tx_data *res100; - - pjsip_endpt_create_response(global.endpt, rdata, 100, NULL, - &res100); - pjsip_tsx_send_msg(uas_tsx, res100); - } - - } else { - /* This is CANCEL request */ - pjsip_transaction *invite_uas; - struct uas_data *uas_data; - pj_str_t key; - - /* Find the UAS INVITE transaction */ - pjsip_tsx_create_key(rdata->tp_info.pool, &key, PJSIP_UAS_ROLE, - pjsip_get_invite_method(), rdata); - invite_uas = pjsip_tsx_layer_find_tsx(&key, PJ_TRUE); - if (!invite_uas) { - /* Invite transaction not found, respond CANCEL with 481 */ - pjsip_endpt_respond_stateless(global.endpt, rdata, 481, NULL, - NULL, NULL); - return PJ_TRUE; - } - - /* Respond 200 OK to CANCEL */ - pjsip_endpt_respond(global.endpt, NULL, rdata, 200, NULL, NULL, - NULL, NULL); - - /* Send CANCEL to cancel the UAC transaction. - * The UAS INVITE transaction will get final response when - * we receive final response from the UAC INVITE transaction. - */ - uas_data = (struct uas_data*) invite_uas->mod_data[mod_tu.id]; - if (uas_data->uac_tsx && uas_data->uac_tsx->status_code < 200) { - pjsip_tx_data *cancel; - - pj_mutex_lock(uas_data->uac_tsx->mutex); - - pjsip_endpt_create_cancel(global.endpt, uas_data->uac_tsx->last_tx, - &cancel); - pjsip_endpt_send_request(global.endpt, cancel, -1, NULL, NULL); - - pj_mutex_unlock(uas_data->uac_tsx->mutex); - } - - /* Unlock UAS tsx because it is locked in find_tsx() */ - pj_mutex_unlock(invite_uas->mutex); - } - - return PJ_TRUE; -} - - -/* Callback to be called to handle incoming response outside - * any transactions. This happens for example when 2xx/OK - * for INVITE is received and transaction will be destroyed - * immediately, so we need to forward the subsequent 2xx/OK - * retransmission statelessly. - */ -static pj_bool_t proxy_on_rx_response( pjsip_rx_data *rdata ) -{ - pjsip_tx_data *tdata; - pjsip_response_addr res_addr; - pjsip_via_hdr *hvia; - pj_status_t status; - - /* Create response to be forwarded upstream (Via will be stripped here) */ - status = pjsip_endpt_create_response_fwd(global.endpt, rdata, 0, &tdata); - if (status != PJ_SUCCESS) { - app_perror("Error creating response", status); - return PJ_TRUE; - } - - /* Get topmost Via header */ - hvia = (pjsip_via_hdr*) pjsip_msg_find_hdr(tdata->msg, PJSIP_H_VIA, NULL); - if (hvia == NULL) { - /* Invalid response! Just drop it */ - pjsip_tx_data_dec_ref(tdata); - return PJ_TRUE; - } - - /* Calculate the address to forward the response */ - pj_bzero(&res_addr, sizeof(res_addr)); - res_addr.dst_host.type = PJSIP_TRANSPORT_UDP; - res_addr.dst_host.flag = - pjsip_transport_get_flag_from_type(PJSIP_TRANSPORT_UDP); - - /* Destination address is Via's received param */ - res_addr.dst_host.addr.host = hvia->recvd_param; - if (res_addr.dst_host.addr.host.slen == 0) { - /* Someone has messed up our Via header! */ - res_addr.dst_host.addr.host = hvia->sent_by.host; - } - - /* Destination port is the rport */ - if (hvia->rport_param != 0 && hvia->rport_param != -1) - res_addr.dst_host.addr.port = hvia->rport_param; - - if (res_addr.dst_host.addr.port == 0) { - /* Ugh, original sender didn't put rport! - * At best, can only send the response to the port in Via. - */ - res_addr.dst_host.addr.port = hvia->sent_by.port; - } - - /* Forward response */ - status = pjsip_endpt_send_response(global.endpt, &res_addr, tdata, - NULL, NULL); - if (status != PJ_SUCCESS) { - app_perror("Error forwarding response", status); - return PJ_TRUE; - } - - return PJ_TRUE; -} - - -/* Callback to be called to handle transaction state changed. */ -static void tu_on_tsx_state(pjsip_transaction *tsx, pjsip_event *event) -{ - struct uac_data *uac_data; - pj_status_t status; - - if (tsx->role == PJSIP_ROLE_UAS) { - if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - struct uas_data *uas_data; - - uas_data = (struct uas_data*) tsx->mod_data[mod_tu.id]; - if (uas_data->uac_tsx) { - uac_data = (struct uac_data*) - uas_data->uac_tsx->mod_data[mod_tu.id]; - uac_data->uas_tsx = NULL; - } - - } - return; - } - - /* Get the data that we attached to the UAC transaction previously */ - uac_data = (struct uac_data*) tsx->mod_data[mod_tu.id]; - - - /* Handle incoming response */ - if (event->body.tsx_state.type == PJSIP_EVENT_RX_MSG) { - - pjsip_rx_data *rdata; - pjsip_response_addr res_addr; - pjsip_via_hdr *hvia; - pjsip_tx_data *tdata; - - rdata = event->body.tsx_state.src.rdata; - - /* Do not forward 100 response for INVITE (we already responded - * INVITE with 100) - */ - if (tsx->method.id == PJSIP_INVITE_METHOD && - rdata->msg_info.msg->line.status.code == 100) - { - return; - } - - /* Create response to be forwarded upstream - * (Via will be stripped here) - */ - status = pjsip_endpt_create_response_fwd(global.endpt, rdata, 0, - &tdata); - if (status != PJ_SUCCESS) { - app_perror("Error creating response", status); - return; - } - - /* Get topmost Via header of the new response */ - hvia = (pjsip_via_hdr*) pjsip_msg_find_hdr(tdata->msg, PJSIP_H_VIA, - NULL); - if (hvia == NULL) { - /* Invalid response! Just drop it */ - pjsip_tx_data_dec_ref(tdata); - return; - } - - /* Calculate the address to forward the response */ - pj_bzero(&res_addr, sizeof(res_addr)); - res_addr.dst_host.type = PJSIP_TRANSPORT_UDP; - res_addr.dst_host.flag = - pjsip_transport_get_flag_from_type(PJSIP_TRANSPORT_UDP); - - /* Destination address is Via's received param */ - res_addr.dst_host.addr.host = hvia->recvd_param; - if (res_addr.dst_host.addr.host.slen == 0) { - /* Someone has messed up our Via header! */ - res_addr.dst_host.addr.host = hvia->sent_by.host; - } - - /* Destination port is the rport */ - if (hvia->rport_param != 0 && hvia->rport_param != -1) - res_addr.dst_host.addr.port = hvia->rport_param; - - if (res_addr.dst_host.addr.port == 0) { - /* Ugh, original sender didn't put rport! - * At best, can only send the response to the port in Via. - */ - res_addr.dst_host.addr.port = hvia->sent_by.port; - } - - /* Forward response with the UAS transaction */ - pjsip_tsx_send_msg(uac_data->uas_tsx, tdata); - - } - - /* If UAC transaction is terminated, terminate the UAS as well. - * This could happen because of: - * - timeout on the UAC side - * - receipt of 2xx response to INVITE - */ - if (tsx->state == PJSIP_TSX_STATE_TERMINATED && uac_data && - uac_data->uas_tsx) - { - - pjsip_transaction *uas_tsx; - struct uas_data *uas_data; - - uas_tsx = uac_data->uas_tsx; - uas_data = (struct uas_data*) uas_tsx->mod_data[mod_tu.id]; - uas_data->uac_tsx = NULL; - - if (event->body.tsx_state.type == PJSIP_EVENT_TIMER) { - - /* Send 408/Timeout if this is an INVITE transaction, since - * we must have sent provisional response before. For non - * INVITE transaction, just destroy it. - */ - if (tsx->method.id == PJSIP_INVITE_METHOD) { - - pjsip_tx_data *tdata = uas_tsx->last_tx; - - tdata->msg->line.status.code = PJSIP_SC_REQUEST_TIMEOUT; - tdata->msg->line.status.reason = pj_str("Request timed out"); - tdata->msg->body = NULL; - - pjsip_tx_data_add_ref(tdata); - pjsip_tx_data_invalidate_msg(tdata); - - pjsip_tsx_send_msg(uas_tsx, tdata); - - } else { - /* For non-INVITE, just destroy the UAS transaction */ - pjsip_tsx_terminate(uas_tsx, PJSIP_SC_REQUEST_TIMEOUT); - } - - } else if (event->body.tsx_state.type == PJSIP_EVENT_RX_MSG) { - - if (uas_tsx->state < PJSIP_TSX_STATE_TERMINATED) { - pjsip_msg *msg; - int code; - - msg = event->body.tsx_state.src.rdata->msg_info.msg; - code = msg->line.status.code; - - uac_data->uas_tsx = NULL; - pjsip_tsx_terminate(uas_tsx, code); - } - } - } -} - - -/* - * main() - */ -int main(int argc, char *argv[]) -{ - pj_status_t status; - - global.port = 5060; - global.record_route = 0; - - pj_log_set_level(4); - - status = init_options(argc, argv); - if (status != PJ_SUCCESS) - return 1; - - status = init_stack(); - if (status != PJ_SUCCESS) { - app_perror("Error initializing stack", status); - return 1; - } - - status = init_proxy(); - if (status != PJ_SUCCESS) { - app_perror("Error initializing proxy", status); - return 1; - } - - status = init_stateful_proxy(); - if (status != PJ_SUCCESS) { - app_perror("Error initializing stateful proxy", status); - return 1; - } - -#if PJ_HAS_THREADS - status = pj_thread_create(global.pool, "sproxy", &worker_thread, - NULL, 0, 0, &global.thread); - if (status != PJ_SUCCESS) { - app_perror("Error creating thread", status); - return 1; - } - - while (!global.quit_flag) { - char line[10]; - - puts("\n" - "Menu:\n" - " q quit\n" - " d dump status\n" - " dd dump detailed status\n" - ""); - - if (fgets(line, sizeof(line), stdin) == NULL) { - puts("EOF while reading stdin, will quit now.."); - global.quit_flag = PJ_TRUE; - break; - } - - if (line[0] == 'q') { - global.quit_flag = PJ_TRUE; - } else if (line[0] == 'd') { - pj_bool_t detail = (line[1] == 'd'); - pjsip_endpt_dump(global.endpt, detail); - pjsip_tsx_layer_dump(detail); - } - } - - pj_thread_join(global.thread); - -#else - puts("\nPress Ctrl-C to quit\n"); - for (;;) { - pj_time_val delay = {0, 0}; - pjsip_endpt_handle_events(global.endpt, &delay); - } -#endif - - destroy_stack(); - - return 0; -} - diff --git a/res/pjproject/pjsip-apps/src/samples/stateless_proxy.c b/res/pjproject/pjsip-apps/src/samples/stateless_proxy.c deleted file mode 100644 index c1047c3c1c..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/stateless_proxy.c +++ /dev/null @@ -1,255 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#define THIS_FILE "stateless_proxy.c" - -/* Common proxy functions */ -#define STATEFUL 0 -#include "proxy.h" - - -/* Callback to be called to handle incoming requests. */ -static pj_bool_t on_rx_request( pjsip_rx_data *rdata ); - -/* Callback to be called to handle incoming response. */ -static pj_bool_t on_rx_response( pjsip_rx_data *rdata ); - - -static pj_status_t init_stateless_proxy(void) -{ - static pjsip_module mod_stateless_proxy = - { - NULL, NULL, /* prev, next. */ - { "mod-stateless-proxy", 19 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_UA_PROXY_LAYER, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &on_rx_request, /* on_rx_request() */ - &on_rx_response, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ - }; - - pj_status_t status; - - /* Register our module to receive incoming requests. */ - status = pjsip_endpt_register_module( global.endpt, &mod_stateless_proxy); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - return PJ_SUCCESS; -} - - -/* Callback to be called to handle incoming requests. */ -static pj_bool_t on_rx_request( pjsip_rx_data *rdata ) -{ - pjsip_tx_data *tdata; - pj_status_t status; - - - /* Verify incoming request */ - status = proxy_verify_request(rdata); - if (status != PJ_SUCCESS) { - app_perror("RX invalid request", status); - return PJ_TRUE; - } - - /* - * Request looks sane, next clone the request to create transmit data. - */ - status = pjsip_endpt_create_request_fwd(global.endpt, rdata, NULL, - NULL, 0, &tdata); - if (status != PJ_SUCCESS) { - pjsip_endpt_respond_stateless(global.endpt, rdata, - PJSIP_SC_INTERNAL_SERVER_ERROR, NULL, - NULL, NULL); - return PJ_TRUE; - } - - - /* Process routing */ - status = proxy_process_routing(tdata); - if (status != PJ_SUCCESS) { - app_perror("Error processing route", status); - return PJ_TRUE; - } - - /* Calculate target */ - status = proxy_calculate_target(rdata, tdata); - if (status != PJ_SUCCESS) { - app_perror("Error calculating target", status); - return PJ_TRUE; - } - - /* Target is set, forward the request */ - status = pjsip_endpt_send_request_stateless(global.endpt, tdata, - NULL, NULL); - if (status != PJ_SUCCESS) { - app_perror("Error forwarding request", status); - return PJ_TRUE; - } - - return PJ_TRUE; -} - - -/* Callback to be called to handle incoming response. */ -static pj_bool_t on_rx_response( pjsip_rx_data *rdata ) -{ - pjsip_tx_data *tdata; - pjsip_response_addr res_addr; - pjsip_via_hdr *hvia; - pj_status_t status; - - /* Create response to be forwarded upstream (Via will be stripped here) */ - status = pjsip_endpt_create_response_fwd(global.endpt, rdata, 0, &tdata); - if (status != PJ_SUCCESS) { - app_perror("Error creating response", status); - return PJ_TRUE; - } - - /* Get topmost Via header */ - hvia = (pjsip_via_hdr*) pjsip_msg_find_hdr(tdata->msg, PJSIP_H_VIA, NULL); - if (hvia == NULL) { - /* Invalid response! Just drop it */ - pjsip_tx_data_dec_ref(tdata); - return PJ_TRUE; - } - - /* Calculate the address to forward the response */ - pj_bzero(&res_addr, sizeof(res_addr)); - res_addr.dst_host.type = PJSIP_TRANSPORT_UDP; - res_addr.dst_host.flag = pjsip_transport_get_flag_from_type(PJSIP_TRANSPORT_UDP); - - /* Destination address is Via's received param */ - res_addr.dst_host.addr.host = hvia->recvd_param; - if (res_addr.dst_host.addr.host.slen == 0) { - /* Someone has messed up our Via header! */ - res_addr.dst_host.addr.host = hvia->sent_by.host; - } - - /* Destination port is the rpot */ - if (hvia->rport_param != 0 && hvia->rport_param != -1) - res_addr.dst_host.addr.port = hvia->rport_param; - - if (res_addr.dst_host.addr.port == 0) { - /* Ugh, original sender didn't put rport! - * At best, can only send the response to the port in Via. - */ - res_addr.dst_host.addr.port = hvia->sent_by.port; - } - - /* Forward response */ - status = pjsip_endpt_send_response(global.endpt, &res_addr, tdata, - NULL, NULL); - if (status != PJ_SUCCESS) { - app_perror("Error forwarding response", status); - return PJ_TRUE; - } - - return PJ_TRUE; -} - - -/* - * main() - */ -int main(int argc, char *argv[]) -{ - pj_status_t status; - - global.port = 5060; - pj_log_set_level(4); - - status = init_options(argc, argv); - if (status != PJ_SUCCESS) - return 1; - - status = init_stack(); - if (status != PJ_SUCCESS) { - app_perror("Error initializing stack", status); - return 1; - } - - status = init_proxy(); - if (status != PJ_SUCCESS) { - app_perror("Error initializing proxy", status); - return 1; - } - - status = init_stateless_proxy(); - if (status != PJ_SUCCESS) { - app_perror("Error initializing stateless proxy", status); - return 1; - } - -#if PJ_HAS_THREADS - status = pj_thread_create(global.pool, "sproxy", &worker_thread, - NULL, 0, 0, &global.thread); - if (status != PJ_SUCCESS) { - app_perror("Error creating thread", status); - return 1; - } - - while (!global.quit_flag) { - char line[10]; - - puts("\n" - "Menu:\n" - " q quit\n" - " d dump status\n" - " dd dump detailed status\n" - ""); - - if (fgets(line, sizeof(line), stdin) == NULL) { - puts("EOF while reading stdin, will quit now.."); - global.quit_flag = PJ_TRUE; - break; - } - - if (line[0] == 'q') { - global.quit_flag = PJ_TRUE; - } else if (line[0] == 'd') { - pj_bool_t detail = (line[1] == 'd'); - pjsip_endpt_dump(global.endpt, detail); -#if STATEFUL - pjsip_tsx_layer_dump(detail); -#endif - } - } - - pj_thread_join(global.thread); - -#else - puts("\nPress Ctrl-C to quit\n"); - for (;;) { - pj_time_val delay = {0, 0}; - pjsip_endpt_handle_events(global.endpt, &delay); - } -#endif - - destroy_stack(); - - return 0; -} - diff --git a/res/pjproject/pjsip-apps/src/samples/stereotest.c b/res/pjproject/pjsip-apps/src/samples/stereotest.c deleted file mode 100644 index ab552f9e4c..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/stereotest.c +++ /dev/null @@ -1,336 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/** - * \page page_pjmedia_samples_stereo_c Samples: Using Stereo Port - * - * This example demonstrates how to use @ref PJMEDIA_STEREO_PORT to - * change the channel count of the media streams. - * - * This file is pjsip-apps/src/samples/stereotest.c - * - * \includelineno stereotest.c - */ - -#include -#include -#include - -#include -#include - -#include "util.h" - -#define REC_CLOCK_RATE 16000 -#define PTIME 20 - -#define MODE_PLAY 1 -#define MODE_RECORD 2 - - -/* For logging purpose. */ -#define THIS_FILE "stereotest.c" - - -static const char *desc = -" FILE \n" -" \n" -" stereotest.c \n" -" \n" -" PURPOSE \n" -" \n" -" Demonstrate how use stereo port to play a WAV file to sound \n" -" device or record to a WAV file from sound device with different \n" -" channel count. \n" -" \n" -" USAGE \n" -" \n" -" stereotest [options] WAV \n" -" \n" -" Options: \n" -" -m, --mode=N Operation mode: 1 = playing, 2 = recording.\n" -" -C, --rec-ch-cnt=N Number of channel for recording file. \n" -" -c, --snd-ch-cnt=N Number of channel for opening sound device.\n" -" \n"; - -int main(int argc, char *argv[]) -{ - pj_caching_pool cp; - pjmedia_endpt *med_endpt; - pj_pool_t *pool; - - pjmedia_port *file_port = NULL; - pjmedia_port *stereo_port = NULL; - pjmedia_snd_port *snd_port = NULL; - - int dev_id = -1; - char tmp[10]; - pj_status_t status; - - char *wav_file = NULL; - unsigned mode = 0; - unsigned rec_ch_cnt = 1; - unsigned snd_ch_cnt = 2; - - enum { - OPT_MODE = 'm', - OPT_REC_CHANNEL = 'C', - OPT_SND_CHANNEL = 'c', - }; - - struct pj_getopt_option long_options[] = { - { "mode", 1, 0, OPT_MODE }, - { "rec-ch-cnt", 1, 0, OPT_REC_CHANNEL }, - { "snd-ch-cnt", 1, 0, OPT_SND_CHANNEL }, - { NULL, 0, 0, 0 }, - }; - - int c; - int option_index; - - /* Must init PJLIB first: */ - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Parse arguments */ - pj_optind = 0; - while((c=pj_getopt_long(argc,argv, "m:C:c:", long_options, &option_index))!=-1) { - - switch (c) { - case OPT_MODE: - if (mode) { - app_perror(THIS_FILE, "Cannot record and play at once!", - PJ_EINVAL); - return 1; - } - mode = atoi(pj_optarg); - break; - - case OPT_REC_CHANNEL: - rec_ch_cnt = atoi(pj_optarg); - break; - - case OPT_SND_CHANNEL: - snd_ch_cnt = atoi(pj_optarg); - break; - - default: - printf("Invalid options %s\n", argv[pj_optind]); - puts(desc); - return 1; - } - - } - - wav_file = argv[pj_optind]; - - /* Verify arguments. */ - if (!wav_file) { - app_perror(THIS_FILE, "WAV file not specified!", PJ_EINVAL); - puts(desc); - return 1; - } - if (!snd_ch_cnt || !rec_ch_cnt || rec_ch_cnt > 6) { - app_perror(THIS_FILE, "Invalid or too many channel count!", PJ_EINVAL); - puts(desc); - return 1; - } - if (mode != MODE_RECORD && mode != MODE_PLAY) { - app_perror(THIS_FILE, "Invalid operation mode!", PJ_EINVAL); - puts(desc); - return 1; - } - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&cp, &pj_pool_factory_default_policy, 0); - - /* - * Initialize media endpoint. - * This will implicitly initialize PJMEDIA too. - */ - status = pjmedia_endpt_create(&cp.factory, NULL, 1, &med_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Create memory pool for our file player */ - pool = pj_pool_create( &cp.factory, /* pool factory */ - "app", /* pool name. */ - 4000, /* init size */ - 4000, /* increment size */ - NULL /* callback on error */ - ); - - if (mode == MODE_PLAY) { - /* Create WAVE file player port. */ - status = pjmedia_wav_player_port_create( pool, wav_file, PTIME, 0, - 0, &file_port); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to open file", status); - return 1; - } - - /* Create sound player port. */ - status = pjmedia_snd_port_create_player( - pool, /* pool */ - dev_id, /* device id. */ - PJMEDIA_PIA_SRATE(&file_port->info),/* clock rate. */ - snd_ch_cnt, /* # of channels. */ - snd_ch_cnt * PTIME * /* samples per frame. */ - PJMEDIA_PIA_SRATE(&file_port->info) / 1000, - PJMEDIA_PIA_BITS(&file_port->info),/* bits per sample. */ - 0, /* options */ - &snd_port /* returned port */ - ); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to open sound device", status); - return 1; - } - - if (snd_ch_cnt != PJMEDIA_PIA_CCNT(&file_port->info)) { - status = pjmedia_stereo_port_create( pool, - file_port, - snd_ch_cnt, - 0, - &stereo_port); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to create stereo port", status); - return 1; - } - - status = pjmedia_snd_port_connect(snd_port, stereo_port); - } else { - status = pjmedia_snd_port_connect(snd_port, file_port); - } - - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to connect sound port", status); - return 1; - } - - } else { - /* Create WAVE file writer port. */ - status = pjmedia_wav_writer_port_create(pool, wav_file, - REC_CLOCK_RATE, - rec_ch_cnt, - rec_ch_cnt * PTIME * - REC_CLOCK_RATE / 1000, - NBITS, - 0, 0, - &file_port); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to open file", status); - return 1; - } - - /* Create sound player port. */ - status = pjmedia_snd_port_create_rec( - pool, /* pool */ - dev_id, /* device id. */ - REC_CLOCK_RATE, /* clock rate. */ - snd_ch_cnt, /* # of channels. */ - snd_ch_cnt * PTIME * - REC_CLOCK_RATE / 1000, /* samples per frame. */ - NBITS, /* bits per sample. */ - 0, /* options */ - &snd_port /* returned port */ - ); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to open sound device", status); - return 1; - } - - if (rec_ch_cnt != snd_ch_cnt) { - status = pjmedia_stereo_port_create( pool, - file_port, - snd_ch_cnt, - 0, - &stereo_port); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to create stereo port", status); - return 1; - } - - status = pjmedia_snd_port_connect(snd_port, stereo_port); - } else { - status = pjmedia_snd_port_connect(snd_port, file_port); - } - - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to connect sound port", status); - return 1; - } - } - - /* Dump memory usage */ - dump_pool_usage(THIS_FILE, &cp); - - /* - * File should be playing and looping now, using sound device's thread. - */ - - - /* Sleep to allow log messages to flush */ - pj_thread_sleep(100); - - printf("Mode = %s\n", (mode == MODE_PLAY? "playing" : "recording") ); - printf("File port channel count = %d\n", PJMEDIA_PIA_CCNT(&file_port->info)); - printf("Sound port channel count = %d\n", - PJMEDIA_PIA_CCNT(&pjmedia_snd_port_get_port(snd_port)->info)); - puts(""); - puts("Press to stop and quit"); - - if (fgets(tmp, sizeof(tmp), stdin) == NULL) { - puts("EOF while reading stdin, will quit now.."); - } - - /* Start deinitialization: */ - - - /* Destroy sound device */ - status = pjmedia_snd_port_destroy( snd_port ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* Destroy stereo port and file_port. - * Stereo port will destroy all downstream ports (e.g. the file port) - */ - status = pjmedia_port_destroy( stereo_port? stereo_port : file_port); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* Release application pool */ - pj_pool_release( pool ); - - /* Destroy media endpoint. */ - pjmedia_endpt_destroy( med_endpt ); - - /* Destroy pool factory */ - pj_caching_pool_destroy( &cp ); - - /* Shutdown PJLIB */ - pj_shutdown(); - - - /* Done. */ - return 0; - -} - - - diff --git a/res/pjproject/pjsip-apps/src/samples/streamutil.c b/res/pjproject/pjsip-apps/src/samples/streamutil.c deleted file mode 100644 index 7037a94e7c..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/streamutil.c +++ /dev/null @@ -1,1174 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - - -/** - * \page page_pjmedia_samples_streamutil_c Samples: Remote Streaming - * - * This example mainly demonstrates how to stream media file to remote - * peer using RTP. - * - * This file is pjsip-apps/src/samples/streamutil.c - * - * \includelineno streamutil.c - */ - -#include -#include -#include -#include -#include - -#include /* atoi() */ -#include - -#include "util.h" - - -static const char *desc = - " streamutil \n" - " \n" - " PURPOSE: \n" - " Demonstrate how to use pjmedia stream component to transmit/receive \n" - " RTP packets to/from sound device. \n" - "\n" - "\n" - " USAGE: \n" - " streamutil [options] \n" - "\n" - "\n" - " Options:\n" - " --codec=CODEC Set the codec name. \n" - " --local-port=PORT Set local RTP port (default=4000) \n" - " --remote=IP:PORT Set the remote peer. If this option is set, \n" - " the program will transmit RTP audio to the \n" - " specified address. (default: recv only) \n" - " --play-file=WAV Send audio from the WAV file instead of from \n" - " the sound device. \n" - " --record-file=WAV Record incoming audio to WAV file instead of \n" - " playing it to sound device. \n" - " --send-recv Set stream direction to bidirectional. \n" - " --send-only Set stream direction to send only \n" - " --recv-only Set stream direction to recv only (default) \n" - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - " --use-srtp[=NAME] Enable SRTP with crypto suite NAME \n" - " e.g: AES_CM_128_HMAC_SHA1_80 (default), \n" - " AES_CM_128_HMAC_SHA1_32 \n" - " Use this option along with the TX & RX keys, \n" - " formated of 60 hex digits (e.g: E148DA..) \n" - " --srtp-tx-key SRTP key for transmiting \n" - " --srtp-rx-key SRTP key for receiving \n" -#endif - - "\n" -; - - - - -#define THIS_FILE "stream.c" - - - -/* Prototype */ -static void print_stream_stat(pjmedia_stream *stream, - const pjmedia_codec_param *codec_param); - -/* Prototype for LIBSRTP utility in file datatypes.c */ -int hex_string_to_octet_string(char *raw, char *hex, int len); - -/* - * Register all codecs. - */ -static pj_status_t init_codecs(pjmedia_endpt *med_endpt) -{ - return pjmedia_codec_register_audio_codecs(med_endpt, NULL); -} - - -/* - * Create stream based on the codec, dir, remote address, etc. - */ -static pj_status_t create_stream( pj_pool_t *pool, - pjmedia_endpt *med_endpt, - const pjmedia_codec_info *codec_info, - pjmedia_dir dir, - pj_uint16_t local_port, - const pj_sockaddr_in *rem_addr, -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - pj_bool_t use_srtp, - const pj_str_t *crypto_suite, - const pj_str_t *srtp_tx_key, - const pj_str_t *srtp_rx_key, -#endif - pjmedia_stream **p_stream ) -{ - pjmedia_stream_info info; - pjmedia_transport *transport = NULL; - pj_status_t status; -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - pjmedia_transport *srtp_tp = NULL; -#endif - - - /* Reset stream info. */ - pj_bzero(&info, sizeof(info)); - - - /* Initialize stream info formats */ - info.type = PJMEDIA_TYPE_AUDIO; - info.dir = dir; - pj_memcpy(&info.fmt, codec_info, sizeof(pjmedia_codec_info)); - info.tx_pt = codec_info->pt; - info.ssrc = pj_rand(); - -#if PJMEDIA_HAS_RTCP_XR && PJMEDIA_STREAM_ENABLE_XR - /* Set default RTCP XR enabled/disabled */ - info.rtcp_xr_enabled = PJ_TRUE; -#endif - - /* Copy remote address */ - pj_memcpy(&info.rem_addr, rem_addr, sizeof(pj_sockaddr_in)); - - /* If remote address is not set, set to an arbitrary address - * (otherwise stream will assert). - */ - if (info.rem_addr.addr.sa_family == 0) { - const pj_str_t addr = pj_str("127.0.0.1"); - pj_sockaddr_in_init(&info.rem_addr.ipv4, &addr, 0); - } - - /* Create media transport */ - status = pjmedia_transport_udp_create(med_endpt, NULL, local_port, - 0, &transport); - if (status != PJ_SUCCESS) - return status; - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - /* Check if SRTP enabled */ - if (use_srtp) { - pjmedia_srtp_crypto tx_plc, rx_plc; - - status = pjmedia_transport_srtp_create(med_endpt, transport, - NULL, &srtp_tp); - if (status != PJ_SUCCESS) - return status; - - pj_bzero(&tx_plc, sizeof(pjmedia_srtp_crypto)); - pj_bzero(&rx_plc, sizeof(pjmedia_srtp_crypto)); - - tx_plc.key = *srtp_tx_key; - tx_plc.name = *crypto_suite; - rx_plc.key = *srtp_rx_key; - rx_plc.name = *crypto_suite; - - status = pjmedia_transport_srtp_start(srtp_tp, &tx_plc, &rx_plc); - if (status != PJ_SUCCESS) - return status; - - transport = srtp_tp; - } -#endif - - /* Now that the stream info is initialized, we can create the - * stream. - */ - - status = pjmedia_stream_create( med_endpt, pool, &info, - transport, - NULL, p_stream); - - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Error creating stream", status); - pjmedia_transport_close(transport); - return status; - } - - - return PJ_SUCCESS; -} - - -/* - * usage() - */ -static void usage() -{ - puts(desc); -} - -/* - * main() - */ -int main(int argc, char *argv[]) -{ - pj_caching_pool cp; - pjmedia_endpt *med_endpt; - pj_pool_t *pool; - pjmedia_port *rec_file_port = NULL, *play_file_port = NULL; - pjmedia_master_port *master_port = NULL; - pjmedia_snd_port *snd_port = NULL; - pjmedia_stream *stream = NULL; - pjmedia_port *stream_port; - char tmp[10]; - pj_status_t status; - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - /* SRTP variables */ - pj_bool_t use_srtp = PJ_FALSE; - char tmp_tx_key[64]; - char tmp_rx_key[64]; - pj_str_t srtp_tx_key = {NULL, 0}; - pj_str_t srtp_rx_key = {NULL, 0}; - pj_str_t srtp_crypto_suite = {NULL, 0}; - int tmp_key_len; -#endif - - /* Default values */ - const pjmedia_codec_info *codec_info; - pjmedia_codec_param codec_param; - pjmedia_dir dir = PJMEDIA_DIR_DECODING; - pj_sockaddr_in remote_addr; - pj_uint16_t local_port = 4000; - char *codec_id = NULL; - char *rec_file = NULL; - char *play_file = NULL; - - enum { - OPT_CODEC = 'c', - OPT_LOCAL_PORT = 'p', - OPT_REMOTE = 'r', - OPT_PLAY_FILE = 'w', - OPT_RECORD_FILE = 'R', - OPT_SEND_RECV = 'b', - OPT_SEND_ONLY = 's', - OPT_RECV_ONLY = 'i', -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - OPT_USE_SRTP = 'S', -#endif - OPT_SRTP_TX_KEY = 'x', - OPT_SRTP_RX_KEY = 'y', - OPT_HELP = 'h', - }; - - struct pj_getopt_option long_options[] = { - { "codec", 1, 0, OPT_CODEC }, - { "local-port", 1, 0, OPT_LOCAL_PORT }, - { "remote", 1, 0, OPT_REMOTE }, - { "play-file", 1, 0, OPT_PLAY_FILE }, - { "record-file", 1, 0, OPT_RECORD_FILE }, - { "send-recv", 0, 0, OPT_SEND_RECV }, - { "send-only", 0, 0, OPT_SEND_ONLY }, - { "recv-only", 0, 0, OPT_RECV_ONLY }, -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - { "use-srtp", 2, 0, OPT_USE_SRTP }, - { "srtp-tx-key", 1, 0, OPT_SRTP_TX_KEY }, - { "srtp-rx-key", 1, 0, OPT_SRTP_RX_KEY }, -#endif - { "help", 0, 0, OPT_HELP }, - { NULL, 0, 0, 0 }, - }; - - int c; - int option_index; - - - pj_bzero(&remote_addr, sizeof(remote_addr)); - - - /* init PJLIB : */ - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* Parse arguments */ - pj_optind = 0; - while((c=pj_getopt_long(argc,argv, "h", long_options, &option_index))!=-1) { - - switch (c) { - case OPT_CODEC: - codec_id = pj_optarg; - break; - - case OPT_LOCAL_PORT: - local_port = (pj_uint16_t) atoi(pj_optarg); - if (local_port < 1) { - printf("Error: invalid local port %s\n", pj_optarg); - return 1; - } - break; - - case OPT_REMOTE: - { - pj_str_t ip = pj_str(strtok(pj_optarg, ":")); - pj_uint16_t port = (pj_uint16_t) atoi(strtok(NULL, ":")); - - status = pj_sockaddr_in_init(&remote_addr, &ip, port); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Invalid remote address", status); - return 1; - } - } - break; - - case OPT_PLAY_FILE: - play_file = pj_optarg; - break; - - case OPT_RECORD_FILE: - rec_file = pj_optarg; - break; - - case OPT_SEND_RECV: - dir = PJMEDIA_DIR_ENCODING_DECODING; - break; - - case OPT_SEND_ONLY: - dir = PJMEDIA_DIR_ENCODING; - break; - - case OPT_RECV_ONLY: - dir = PJMEDIA_DIR_DECODING; - break; - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - case OPT_USE_SRTP: - use_srtp = PJ_TRUE; - if (pj_optarg) { - pj_strset(&srtp_crypto_suite, pj_optarg, strlen(pj_optarg)); - } else { - srtp_crypto_suite = pj_str("AES_CM_128_HMAC_SHA1_80"); - } - break; - - case OPT_SRTP_TX_KEY: - tmp_key_len = hex_string_to_octet_string(tmp_tx_key, pj_optarg, strlen(pj_optarg)); - pj_strset(&srtp_tx_key, tmp_tx_key, tmp_key_len/2); - break; - - case OPT_SRTP_RX_KEY: - tmp_key_len = hex_string_to_octet_string(tmp_rx_key, pj_optarg, strlen(pj_optarg)); - pj_strset(&srtp_rx_key, tmp_rx_key, tmp_key_len/2); - break; -#endif - - case OPT_HELP: - usage(); - return 1; - - default: - printf("Invalid options %s\n", argv[pj_optind]); - return 1; - } - - } - - - /* Verify arguments. */ - if (dir & PJMEDIA_DIR_ENCODING) { - if (remote_addr.sin_addr.s_addr == 0) { - printf("Error: remote address must be set\n"); - return 1; - } - } - - if (play_file != NULL && dir != PJMEDIA_DIR_ENCODING) { - printf("Direction is set to --send-only because of --play-file\n"); - dir = PJMEDIA_DIR_ENCODING; - } - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - /* SRTP validation */ - if (use_srtp) { - if (!srtp_tx_key.slen || !srtp_rx_key.slen) - { - printf("Error: Key for each SRTP stream direction must be set\n"); - return 1; - } - } -#endif - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&cp, &pj_pool_factory_default_policy, 0); - - /* - * Initialize media endpoint. - * This will implicitly initialize PJMEDIA too. - */ - status = pjmedia_endpt_create(&cp.factory, NULL, 1, &med_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Create memory pool for application purpose */ - pool = pj_pool_create( &cp.factory, /* pool factory */ - "app", /* pool name. */ - 4000, /* init size */ - 4000, /* increment size */ - NULL /* callback on error */ - ); - - - /* Register all supported codecs */ - status = init_codecs(med_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* Find which codec to use. */ - if (codec_id) { - unsigned count = 1; - pj_str_t str_codec_id = pj_str(codec_id); - pjmedia_codec_mgr *codec_mgr = pjmedia_endpt_get_codec_mgr(med_endpt); - status = pjmedia_codec_mgr_find_codecs_by_id( codec_mgr, - &str_codec_id, &count, - &codec_info, NULL); - if (status != PJ_SUCCESS) { - printf("Error: unable to find codec %s\n", codec_id); - return 1; - } - } else { - /* Default to pcmu */ - pjmedia_codec_mgr_get_codec_info( pjmedia_endpt_get_codec_mgr(med_endpt), - 0, &codec_info); - } - - /* Create stream based on program arguments */ - status = create_stream(pool, med_endpt, codec_info, dir, local_port, - &remote_addr, -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - use_srtp, &srtp_crypto_suite, - &srtp_tx_key, &srtp_rx_key, -#endif - &stream); - if (status != PJ_SUCCESS) - goto on_exit; - - /* Get codec default param for info */ - status = pjmedia_codec_mgr_get_default_param( - pjmedia_endpt_get_codec_mgr(med_endpt), - codec_info, - &codec_param); - /* Should be ok, as create_stream() above succeeded */ - pj_assert(status == PJ_SUCCESS); - - /* Get the port interface of the stream */ - status = pjmedia_stream_get_port( stream, &stream_port); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - if (play_file) { - unsigned wav_ptime; - - wav_ptime = PJMEDIA_PIA_PTIME(&stream_port->info); - status = pjmedia_wav_player_port_create(pool, play_file, wav_ptime, - 0, -1, &play_file_port); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to use file", status); - goto on_exit; - } - - status = pjmedia_master_port_create(pool, play_file_port, stream_port, - 0, &master_port); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to create master port", status); - goto on_exit; - } - - status = pjmedia_master_port_start(master_port); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Error starting master port", status); - goto on_exit; - } - - printf("Playing from WAV file %s..\n", play_file); - - } else if (rec_file) { - - status = pjmedia_wav_writer_port_create(pool, rec_file, - PJMEDIA_PIA_SRATE(&stream_port->info), - PJMEDIA_PIA_CCNT(&stream_port->info), - PJMEDIA_PIA_SPF(&stream_port->info), - PJMEDIA_PIA_BITS(&stream_port->info), - 0, 0, &rec_file_port); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to use file", status); - goto on_exit; - } - - status = pjmedia_master_port_create(pool, stream_port, rec_file_port, - 0, &master_port); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to create master port", status); - goto on_exit; - } - - status = pjmedia_master_port_start(master_port); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Error starting master port", status); - goto on_exit; - } - - printf("Recording to WAV file %s..\n", rec_file); - - } else { - - /* Create sound device port. */ - if (dir == PJMEDIA_DIR_ENCODING_DECODING) - status = pjmedia_snd_port_create(pool, -1, -1, - PJMEDIA_PIA_SRATE(&stream_port->info), - PJMEDIA_PIA_CCNT(&stream_port->info), - PJMEDIA_PIA_SPF(&stream_port->info), - PJMEDIA_PIA_BITS(&stream_port->info), - 0, &snd_port); - else if (dir == PJMEDIA_DIR_ENCODING) - status = pjmedia_snd_port_create_rec(pool, -1, - PJMEDIA_PIA_SRATE(&stream_port->info), - PJMEDIA_PIA_CCNT(&stream_port->info), - PJMEDIA_PIA_SPF(&stream_port->info), - PJMEDIA_PIA_BITS(&stream_port->info), - 0, &snd_port); - else - status = pjmedia_snd_port_create_player(pool, -1, - PJMEDIA_PIA_SRATE(&stream_port->info), - PJMEDIA_PIA_CCNT(&stream_port->info), - PJMEDIA_PIA_SPF(&stream_port->info), - PJMEDIA_PIA_BITS(&stream_port->info), - 0, &snd_port); - - - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to create sound port", status); - goto on_exit; - } - - /* Connect sound port to stream */ - status = pjmedia_snd_port_connect( snd_port, stream_port ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - } - - /* Start streaming */ - pjmedia_stream_start(stream); - - - /* Done */ - - if (dir == PJMEDIA_DIR_DECODING) - printf("Stream is active, dir is recv-only, local port is %d\n", - local_port); - else if (dir == PJMEDIA_DIR_ENCODING) - printf("Stream is active, dir is send-only, sending to %s:%d\n", - pj_inet_ntoa(remote_addr.sin_addr), - pj_ntohs(remote_addr.sin_port)); - else - printf("Stream is active, send/recv, local port is %d, " - "sending to %s:%d\n", - local_port, - pj_inet_ntoa(remote_addr.sin_addr), - pj_ntohs(remote_addr.sin_port)); - - - for (;;) { - - puts(""); - puts("Commands:"); - puts(" s Display media statistics"); - puts(" q Quit"); - puts(""); - - printf("Command: "); fflush(stdout); - - if (fgets(tmp, sizeof(tmp), stdin) == NULL) { - puts("EOF while reading stdin, will quit now.."); - break; - } - - if (tmp[0] == 's') - print_stream_stat(stream, &codec_param); - else if (tmp[0] == 'q') - break; - - } - - - - /* Start deinitialization: */ -on_exit: - - /* Destroy sound device */ - if (snd_port) { - pjmedia_snd_port_destroy( snd_port ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - } - - /* If there is master port, then we just need to destroy master port - * (it will recursively destroy upstream and downstream ports, which - * in this case are file_port and stream_port). - */ - if (master_port) { - pjmedia_master_port_destroy(master_port, PJ_TRUE); - play_file_port = NULL; - stream = NULL; - } - - /* Destroy stream */ - if (stream) { - pjmedia_transport *tp; - - tp = pjmedia_stream_get_transport(stream); - pjmedia_stream_destroy(stream); - - pjmedia_transport_close(tp); - } - - /* Destroy file ports */ - if (play_file_port) - pjmedia_port_destroy( play_file_port ); - if (rec_file_port) - pjmedia_port_destroy( rec_file_port ); - - - /* Release application pool */ - pj_pool_release( pool ); - - /* Destroy media endpoint. */ - pjmedia_endpt_destroy( med_endpt ); - - /* Destroy pool factory */ - pj_caching_pool_destroy( &cp ); - - /* Shutdown PJLIB */ - pj_shutdown(); - - - return (status == PJ_SUCCESS) ? 0 : 1; -} - - - - -static const char *good_number(char *buf, pj_int32_t val) -{ - if (val < 1000) { - pj_ansi_sprintf(buf, "%d", val); - } else if (val < 1000000) { - pj_ansi_sprintf(buf, "%d.%dK", - val / 1000, - (val % 1000) / 100); - } else { - pj_ansi_sprintf(buf, "%d.%02dM", - val / 1000000, - (val % 1000000) / 10000); - } - - return buf; -} - - -#define SAMPLES_TO_USEC(usec, samples, clock_rate) \ - do { \ - if (samples <= 4294) \ - usec = samples * 1000000 / clock_rate; \ - else { \ - usec = samples * 1000 / clock_rate; \ - usec *= 1000; \ - } \ - } while(0) - -#define PRINT_VOIP_MTC_VAL(s, v) \ - if (v == 127) \ - sprintf(s, "(na)"); \ - else \ - sprintf(s, "%d", v) - - -/* - * Print stream statistics - */ -static void print_stream_stat(pjmedia_stream *stream, - const pjmedia_codec_param *codec_param) -{ - char duration[80], last_update[80]; - char bps[16], ipbps[16], packets[16], bytes[16], ipbytes[16]; - pjmedia_port *port; - pjmedia_rtcp_stat stat; - pj_time_val now; - - - pj_gettimeofday(&now); - pjmedia_stream_get_stat(stream, &stat); - pjmedia_stream_get_port(stream, &port); - - puts("Stream statistics:"); - - /* Print duration */ - PJ_TIME_VAL_SUB(now, stat.start); - sprintf(duration, " Duration: %02ld:%02ld:%02ld.%03ld", - now.sec / 3600, - (now.sec % 3600) / 60, - (now.sec % 60), - now.msec); - - - printf(" Info: audio %dHz, %dms/frame, %sB/s (%sB/s +IP hdr)\n", - PJMEDIA_PIA_SRATE(&port->info), - PJMEDIA_PIA_PTIME(&port->info), - good_number(bps, (codec_param->info.avg_bps+7)/8), - good_number(ipbps, ((codec_param->info.avg_bps+7)/8) + - (40 * 1000 / - codec_param->setting.frm_per_pkt / - codec_param->info.frm_ptime))); - - if (stat.rx.update_cnt == 0) - strcpy(last_update, "never"); - else { - pj_gettimeofday(&now); - PJ_TIME_VAL_SUB(now, stat.rx.update); - sprintf(last_update, "%02ldh:%02ldm:%02ld.%03lds ago", - now.sec / 3600, - (now.sec % 3600) / 60, - now.sec % 60, - now.msec); - } - - printf(" RX stat last update: %s\n" - " total %s packets %sB received (%sB +IP hdr)%s\n" - " pkt loss=%d (%3.1f%%), dup=%d (%3.1f%%), reorder=%d (%3.1f%%)%s\n" - " (msec) min avg max last dev\n" - " loss period: %7.3f %7.3f %7.3f %7.3f %7.3f%s\n" - " jitter : %7.3f %7.3f %7.3f %7.3f %7.3f%s\n", - last_update, - good_number(packets, stat.rx.pkt), - good_number(bytes, stat.rx.bytes), - good_number(ipbytes, stat.rx.bytes + stat.rx.pkt * 32), - "", - stat.rx.loss, - stat.rx.loss * 100.0 / (stat.rx.pkt + stat.rx.loss), - stat.rx.dup, - stat.rx.dup * 100.0 / (stat.rx.pkt + stat.rx.loss), - stat.rx.reorder, - stat.rx.reorder * 100.0 / (stat.rx.pkt + stat.rx.loss), - "", - stat.rx.loss_period.min / 1000.0, - stat.rx.loss_period.mean / 1000.0, - stat.rx.loss_period.max / 1000.0, - stat.rx.loss_period.last / 1000.0, - pj_math_stat_get_stddev(&stat.rx.loss_period) / 1000.0, - "", - stat.rx.jitter.min / 1000.0, - stat.rx.jitter.mean / 1000.0, - stat.rx.jitter.max / 1000.0, - stat.rx.jitter.last / 1000.0, - pj_math_stat_get_stddev(&stat.rx.jitter) / 1000.0, - "" - ); - - - if (stat.tx.update_cnt == 0) - strcpy(last_update, "never"); - else { - pj_gettimeofday(&now); - PJ_TIME_VAL_SUB(now, stat.tx.update); - sprintf(last_update, "%02ldh:%02ldm:%02ld.%03lds ago", - now.sec / 3600, - (now.sec % 3600) / 60, - now.sec % 60, - now.msec); - } - - printf(" TX stat last update: %s\n" - " total %s packets %sB sent (%sB +IP hdr)%s\n" - " pkt loss=%d (%3.1f%%), dup=%d (%3.1f%%), reorder=%d (%3.1f%%)%s\n" - " (msec) min avg max last dev\n" - " loss period: %7.3f %7.3f %7.3f %7.3f %7.3f%s\n" - " jitter : %7.3f %7.3f %7.3f %7.3f %7.3f%s\n", - last_update, - good_number(packets, stat.tx.pkt), - good_number(bytes, stat.tx.bytes), - good_number(ipbytes, stat.tx.bytes + stat.tx.pkt * 32), - "", - stat.tx.loss, - stat.tx.loss * 100.0 / (stat.tx.pkt + stat.tx.loss), - stat.tx.dup, - stat.tx.dup * 100.0 / (stat.tx.pkt + stat.tx.loss), - stat.tx.reorder, - stat.tx.reorder * 100.0 / (stat.tx.pkt + stat.tx.loss), - "", - stat.tx.loss_period.min / 1000.0, - stat.tx.loss_period.mean / 1000.0, - stat.tx.loss_period.max / 1000.0, - stat.tx.loss_period.last / 1000.0, - pj_math_stat_get_stddev(&stat.tx.loss_period) / 1000.0, - "", - stat.tx.jitter.min / 1000.0, - stat.tx.jitter.mean / 1000.0, - stat.tx.jitter.max / 1000.0, - stat.tx.jitter.last / 1000.0, - pj_math_stat_get_stddev(&stat.tx.jitter) / 1000.0, - "" - ); - - - printf(" RTT delay : %7.3f %7.3f %7.3f %7.3f %7.3f%s\n", - stat.rtt.min / 1000.0, - stat.rtt.mean / 1000.0, - stat.rtt.max / 1000.0, - stat.rtt.last / 1000.0, - pj_math_stat_get_stddev(&stat.rtt) / 1000.0, - "" - ); - -#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) - /* RTCP XR Reports */ - do { - char loss[16], dup[16]; - char jitter[80]; - char toh[80]; - char plc[16], jba[16], jbr[16]; - char signal_lvl[16], noise_lvl[16], rerl[16]; - char r_factor[16], ext_r_factor[16], mos_lq[16], mos_cq[16]; - pjmedia_rtcp_xr_stat xr_stat; - - if (pjmedia_stream_get_stat_xr(stream, &xr_stat) != PJ_SUCCESS) - break; - - puts("\nExtended reports:"); - - /* Statistics Summary */ - puts(" Statistics Summary"); - - if (xr_stat.rx.stat_sum.l) - sprintf(loss, "%d", xr_stat.rx.stat_sum.lost); - else - sprintf(loss, "(na)"); - - if (xr_stat.rx.stat_sum.d) - sprintf(dup, "%d", xr_stat.rx.stat_sum.dup); - else - sprintf(dup, "(na)"); - - if (xr_stat.rx.stat_sum.j) { - unsigned jmin, jmax, jmean, jdev; - - SAMPLES_TO_USEC(jmin, xr_stat.rx.stat_sum.jitter.min, - port->info.fmt.det.aud.clock_rate); - SAMPLES_TO_USEC(jmax, xr_stat.rx.stat_sum.jitter.max, - port->info.fmt.det.aud.clock_rate); - SAMPLES_TO_USEC(jmean, xr_stat.rx.stat_sum.jitter.mean, - port->info.fmt.det.aud.clock_rate); - SAMPLES_TO_USEC(jdev, - pj_math_stat_get_stddev(&xr_stat.rx.stat_sum.jitter), - port->info.fmt.det.aud.clock_rate); - sprintf(jitter, "%7.3f %7.3f %7.3f %7.3f", - jmin/1000.0, jmean/1000.0, jmax/1000.0, jdev/1000.0); - } else - sprintf(jitter, "(report not available)"); - - if (xr_stat.rx.stat_sum.t) { - sprintf(toh, "%11d %11d %11d %11d", - xr_stat.rx.stat_sum.toh.min, - xr_stat.rx.stat_sum.toh.mean, - xr_stat.rx.stat_sum.toh.max, - pj_math_stat_get_stddev(&xr_stat.rx.stat_sum.toh)); - } else - sprintf(toh, "(report not available)"); - - if (xr_stat.rx.stat_sum.update.sec == 0) - strcpy(last_update, "never"); - else { - pj_gettimeofday(&now); - PJ_TIME_VAL_SUB(now, xr_stat.rx.stat_sum.update); - sprintf(last_update, "%02ldh:%02ldm:%02ld.%03lds ago", - now.sec / 3600, - (now.sec % 3600) / 60, - now.sec % 60, - now.msec); - } - - printf(" RX last update: %s\n" - " begin seq=%d, end seq=%d%s\n" - " pkt loss=%s, dup=%s%s\n" - " (msec) min avg max dev\n" - " jitter : %s\n" - " toh : %s\n", - last_update, - xr_stat.rx.stat_sum.begin_seq, xr_stat.rx.stat_sum.end_seq, - "", - loss, dup, - "", - jitter, - toh - ); - - if (xr_stat.tx.stat_sum.l) - sprintf(loss, "%d", xr_stat.tx.stat_sum.lost); - else - sprintf(loss, "(na)"); - - if (xr_stat.tx.stat_sum.d) - sprintf(dup, "%d", xr_stat.tx.stat_sum.dup); - else - sprintf(dup, "(na)"); - - if (xr_stat.tx.stat_sum.j) { - unsigned jmin, jmax, jmean, jdev; - - SAMPLES_TO_USEC(jmin, xr_stat.tx.stat_sum.jitter.min, - port->info.fmt.det.aud.clock_rate); - SAMPLES_TO_USEC(jmax, xr_stat.tx.stat_sum.jitter.max, - port->info.fmt.det.aud.clock_rate); - SAMPLES_TO_USEC(jmean, xr_stat.tx.stat_sum.jitter.mean, - port->info.fmt.det.aud.clock_rate); - SAMPLES_TO_USEC(jdev, - pj_math_stat_get_stddev(&xr_stat.tx.stat_sum.jitter), - port->info.fmt.det.aud.clock_rate); - sprintf(jitter, "%7.3f %7.3f %7.3f %7.3f", - jmin/1000.0, jmean/1000.0, jmax/1000.0, jdev/1000.0); - } else - sprintf(jitter, "(report not available)"); - - if (xr_stat.tx.stat_sum.t) { - sprintf(toh, "%11d %11d %11d %11d", - xr_stat.tx.stat_sum.toh.min, - xr_stat.tx.stat_sum.toh.mean, - xr_stat.tx.stat_sum.toh.max, - pj_math_stat_get_stddev(&xr_stat.rx.stat_sum.toh)); - } else - sprintf(toh, "(report not available)"); - - if (xr_stat.tx.stat_sum.update.sec == 0) - strcpy(last_update, "never"); - else { - pj_gettimeofday(&now); - PJ_TIME_VAL_SUB(now, xr_stat.tx.stat_sum.update); - sprintf(last_update, "%02ldh:%02ldm:%02ld.%03lds ago", - now.sec / 3600, - (now.sec % 3600) / 60, - now.sec % 60, - now.msec); - } - - printf(" TX last update: %s\n" - " begin seq=%d, end seq=%d%s\n" - " pkt loss=%s, dup=%s%s\n" - " (msec) min avg max dev\n" - " jitter : %s\n" - " toh : %s\n", - last_update, - xr_stat.tx.stat_sum.begin_seq, xr_stat.tx.stat_sum.end_seq, - "", - loss, dup, - "", - jitter, - toh - ); - - /* VoIP Metrics */ - puts(" VoIP Metrics"); - - PRINT_VOIP_MTC_VAL(signal_lvl, xr_stat.rx.voip_mtc.signal_lvl); - PRINT_VOIP_MTC_VAL(noise_lvl, xr_stat.rx.voip_mtc.noise_lvl); - PRINT_VOIP_MTC_VAL(rerl, xr_stat.rx.voip_mtc.rerl); - PRINT_VOIP_MTC_VAL(r_factor, xr_stat.rx.voip_mtc.r_factor); - PRINT_VOIP_MTC_VAL(ext_r_factor, xr_stat.rx.voip_mtc.ext_r_factor); - PRINT_VOIP_MTC_VAL(mos_lq, xr_stat.rx.voip_mtc.mos_lq); - PRINT_VOIP_MTC_VAL(mos_cq, xr_stat.rx.voip_mtc.mos_cq); - - switch ((xr_stat.rx.voip_mtc.rx_config>>6) & 3) { - case PJMEDIA_RTCP_XR_PLC_DIS: - sprintf(plc, "DISABLED"); - break; - case PJMEDIA_RTCP_XR_PLC_ENH: - sprintf(plc, "ENHANCED"); - break; - case PJMEDIA_RTCP_XR_PLC_STD: - sprintf(plc, "STANDARD"); - break; - case PJMEDIA_RTCP_XR_PLC_UNK: - default: - sprintf(plc, "UNKNOWN"); - break; - } - - switch ((xr_stat.rx.voip_mtc.rx_config>>4) & 3) { - case PJMEDIA_RTCP_XR_JB_FIXED: - sprintf(jba, "FIXED"); - break; - case PJMEDIA_RTCP_XR_JB_ADAPTIVE: - sprintf(jba, "ADAPTIVE"); - break; - default: - sprintf(jba, "UNKNOWN"); - break; - } - - sprintf(jbr, "%d", xr_stat.rx.voip_mtc.rx_config & 0x0F); - - if (xr_stat.rx.voip_mtc.update.sec == 0) - strcpy(last_update, "never"); - else { - pj_gettimeofday(&now); - PJ_TIME_VAL_SUB(now, xr_stat.rx.voip_mtc.update); - sprintf(last_update, "%02ldh:%02ldm:%02ld.%03lds ago", - now.sec / 3600, - (now.sec % 3600) / 60, - now.sec % 60, - now.msec); - } - - printf(" RX last update: %s\n" - " packets : loss rate=%d (%.2f%%), discard rate=%d (%.2f%%)\n" - " burst : density=%d (%.2f%%), duration=%d%s\n" - " gap : density=%d (%.2f%%), duration=%d%s\n" - " delay : round trip=%d%s, end system=%d%s\n" - " level : signal=%s%s, noise=%s%s, RERL=%s%s\n" - " quality : R factor=%s, ext R factor=%s\n" - " MOS LQ=%s, MOS CQ=%s\n" - " config : PLC=%s, JB=%s, JB rate=%s, Gmin=%d\n" - " JB delay : cur=%d%s, max=%d%s, abs max=%d%s\n", - last_update, - /* pakcets */ - xr_stat.rx.voip_mtc.loss_rate, xr_stat.rx.voip_mtc.loss_rate*100.0/256, - xr_stat.rx.voip_mtc.discard_rate, xr_stat.rx.voip_mtc.discard_rate*100.0/256, - /* burst */ - xr_stat.rx.voip_mtc.burst_den, xr_stat.rx.voip_mtc.burst_den*100.0/256, - xr_stat.rx.voip_mtc.burst_dur, "ms", - /* gap */ - xr_stat.rx.voip_mtc.gap_den, xr_stat.rx.voip_mtc.gap_den*100.0/256, - xr_stat.rx.voip_mtc.gap_dur, "ms", - /* delay */ - xr_stat.rx.voip_mtc.rnd_trip_delay, "ms", - xr_stat.rx.voip_mtc.end_sys_delay, "ms", - /* level */ - signal_lvl, "dB", - noise_lvl, "dB", - rerl, "", - /* quality */ - r_factor, ext_r_factor, mos_lq, mos_cq, - /* config */ - plc, jba, jbr, xr_stat.rx.voip_mtc.gmin, - /* JB delay */ - xr_stat.rx.voip_mtc.jb_nom, "ms", - xr_stat.rx.voip_mtc.jb_max, "ms", - xr_stat.rx.voip_mtc.jb_abs_max, "ms" - ); - - PRINT_VOIP_MTC_VAL(signal_lvl, xr_stat.tx.voip_mtc.signal_lvl); - PRINT_VOIP_MTC_VAL(noise_lvl, xr_stat.tx.voip_mtc.noise_lvl); - PRINT_VOIP_MTC_VAL(rerl, xr_stat.tx.voip_mtc.rerl); - PRINT_VOIP_MTC_VAL(r_factor, xr_stat.tx.voip_mtc.r_factor); - PRINT_VOIP_MTC_VAL(ext_r_factor, xr_stat.tx.voip_mtc.ext_r_factor); - PRINT_VOIP_MTC_VAL(mos_lq, xr_stat.tx.voip_mtc.mos_lq); - PRINT_VOIP_MTC_VAL(mos_cq, xr_stat.tx.voip_mtc.mos_cq); - - switch ((xr_stat.tx.voip_mtc.rx_config>>6) & 3) { - case PJMEDIA_RTCP_XR_PLC_DIS: - sprintf(plc, "DISABLED"); - break; - case PJMEDIA_RTCP_XR_PLC_ENH: - sprintf(plc, "ENHANCED"); - break; - case PJMEDIA_RTCP_XR_PLC_STD: - sprintf(plc, "STANDARD"); - break; - case PJMEDIA_RTCP_XR_PLC_UNK: - default: - sprintf(plc, "unknown"); - break; - } - - switch ((xr_stat.tx.voip_mtc.rx_config>>4) & 3) { - case PJMEDIA_RTCP_XR_JB_FIXED: - sprintf(jba, "FIXED"); - break; - case PJMEDIA_RTCP_XR_JB_ADAPTIVE: - sprintf(jba, "ADAPTIVE"); - break; - default: - sprintf(jba, "unknown"); - break; - } - - sprintf(jbr, "%d", xr_stat.tx.voip_mtc.rx_config & 0x0F); - - if (xr_stat.tx.voip_mtc.update.sec == 0) - strcpy(last_update, "never"); - else { - pj_gettimeofday(&now); - PJ_TIME_VAL_SUB(now, xr_stat.tx.voip_mtc.update); - sprintf(last_update, "%02ldh:%02ldm:%02ld.%03lds ago", - now.sec / 3600, - (now.sec % 3600) / 60, - now.sec % 60, - now.msec); - } - - printf(" TX last update: %s\n" - " packets : loss rate=%d (%.2f%%), discard rate=%d (%.2f%%)\n" - " burst : density=%d (%.2f%%), duration=%d%s\n" - " gap : density=%d (%.2f%%), duration=%d%s\n" - " delay : round trip=%d%s, end system=%d%s\n" - " level : signal=%s%s, noise=%s%s, RERL=%s%s\n" - " quality : R factor=%s, ext R factor=%s\n" - " MOS LQ=%s, MOS CQ=%s\n" - " config : PLC=%s, JB=%s, JB rate=%s, Gmin=%d\n" - " JB delay : cur=%d%s, max=%d%s, abs max=%d%s\n", - last_update, - /* pakcets */ - xr_stat.tx.voip_mtc.loss_rate, xr_stat.tx.voip_mtc.loss_rate*100.0/256, - xr_stat.tx.voip_mtc.discard_rate, xr_stat.tx.voip_mtc.discard_rate*100.0/256, - /* burst */ - xr_stat.tx.voip_mtc.burst_den, xr_stat.tx.voip_mtc.burst_den*100.0/256, - xr_stat.tx.voip_mtc.burst_dur, "ms", - /* gap */ - xr_stat.tx.voip_mtc.gap_den, xr_stat.tx.voip_mtc.gap_den*100.0/256, - xr_stat.tx.voip_mtc.gap_dur, "ms", - /* delay */ - xr_stat.tx.voip_mtc.rnd_trip_delay, "ms", - xr_stat.tx.voip_mtc.end_sys_delay, "ms", - /* level */ - signal_lvl, "dB", - noise_lvl, "dB", - rerl, "", - /* quality */ - r_factor, ext_r_factor, mos_lq, mos_cq, - /* config */ - plc, jba, jbr, xr_stat.tx.voip_mtc.gmin, - /* JB delay */ - xr_stat.tx.voip_mtc.jb_nom, "ms", - xr_stat.tx.voip_mtc.jb_max, "ms", - xr_stat.tx.voip_mtc.jb_abs_max, "ms" - ); - - - /* RTT delay (by receiver side) */ - printf(" (msec) min avg max last dev\n"); - printf(" RTT delay : %7.3f %7.3f %7.3f %7.3f %7.3f%s\n", - xr_stat.rtt.min / 1000.0, - xr_stat.rtt.mean / 1000.0, - xr_stat.rtt.max / 1000.0, - xr_stat.rtt.last / 1000.0, - pj_math_stat_get_stddev(&xr_stat.rtt) / 1000.0, - "" - ); - } while (0); -#endif /* PJMEDIA_HAS_RTCP_XR */ - -} - diff --git a/res/pjproject/pjsip-apps/src/samples/strerror.c b/res/pjproject/pjsip-apps/src/samples/strerror.c deleted file mode 100644 index e6d94f175a..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/strerror.c +++ /dev/null @@ -1,71 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/** - * \page page_strerror_c Samples: Print out error message - * - * This file is pjsip-apps/src/samples/strerror.c - * - * \includelineno strerror.c - */ - - -#include -#include -#include -#include -#include -#include - -/* - * main() - */ -int main(int argc, char *argv[]) -{ - pj_caching_pool cp; - pjmedia_endpt *med_ept; - pjsip_endpoint *sip_ept; - char errmsg[PJ_ERR_MSG_SIZE]; - pj_status_t code; - - if (argc != 2) { - puts("Usage: strerror ERRNUM"); - return 1; - } - - pj_log_set_level(3); - - pj_init(); - pj_caching_pool_init(&cp, NULL, 0); - pjlib_util_init(); - pjnath_init(); - pjmedia_endpt_create(&cp.factory, NULL, 0, &med_ept); - pjsip_endpt_create(&cp.factory, "localhost", &sip_ept); - pjsip_evsub_init_module(sip_ept); - - code = atoi(argv[1]); - pj_strerror(code, errmsg, sizeof(errmsg)); - - printf("Status %d: %s\n", code, errmsg); - - pj_shutdown(); - return 0; -} - diff --git a/res/pjproject/pjsip-apps/src/samples/tonegen.c b/res/pjproject/pjsip-apps/src/samples/tonegen.c deleted file mode 100644 index e3d5554c8f..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/tonegen.c +++ /dev/null @@ -1,159 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/** - * \page page_pjmedia_samples_tonegen_c Samples: Sine Wave/Dual-Tone Generation - * - * This is a simple program to generate a tone and write the samples to - * a raw PCM file. The main purpose of this file is to analyze the - * quality of the tones/sine wave generated by PJMEDIA tone/sine wave - * generator. - * - * This file is pjsip-apps/src/samples/tonegen.c - * - * \includelineno tonegen.c - */ - - -#include -#include - -#define SAMPLES_PER_FRAME 64 -#define ON_DURATION 100 -#define OFF_DURATION 100 - - -/* - * main() - */ -int main() -{ - pj_caching_pool cp; - pjmedia_endpt *med_endpt; - pj_pool_t *pool; - pjmedia_port *port; - unsigned i; - pj_status_t status; - - - /* Must init PJLIB first: */ - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&cp, &pj_pool_factory_default_policy, 0); - - /* - * Initialize media endpoint. - * This will implicitly initialize PJMEDIA too. - */ - status = pjmedia_endpt_create(&cp.factory, NULL, 1, &med_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Create memory pool for our file player */ - pool = pj_pool_create( &cp.factory, /* pool factory */ - "app", /* pool name. */ - 4000, /* init size */ - 4000, /* increment size */ - NULL /* callback on error */ - ); - - status = pjmedia_tonegen_create(pool, 8000, 1, SAMPLES_PER_FRAME, 16, 0, &port); - if (status != PJ_SUCCESS) - return 1; - - { - pjmedia_tone_desc tones[3]; - - tones[0].freq1 = 200; - tones[0].freq2 = 0; - tones[0].on_msec = ON_DURATION; - tones[0].off_msec = OFF_DURATION; - - tones[1].freq1 = 400; - tones[1].freq2 = 0; - tones[1].on_msec = ON_DURATION; - tones[1].off_msec = OFF_DURATION; - - tones[2].freq1 = 800; - tones[2].freq2 = 0; - tones[2].on_msec = ON_DURATION; - tones[2].off_msec = OFF_DURATION; - - status = pjmedia_tonegen_play(port, 3, tones, 0); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, 1); - } - - { - pjmedia_tone_digit digits[2]; - - digits[0].digit = '0'; - digits[0].on_msec = ON_DURATION; - digits[0].off_msec = OFF_DURATION; - - digits[1].digit = '0'; - digits[1].on_msec = ON_DURATION; - digits[1].off_msec = OFF_DURATION; - - status = pjmedia_tonegen_play_digits(port, 2, digits, 0); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, 1); - } - - { - pjmedia_frame frm; - FILE *f; - void *buf; - - buf = pj_pool_alloc(pool, 2*8000); - frm.buf = buf; - - f = fopen("tonegen.pcm", "wb"); - - for (i=0; i<8000/SAMPLES_PER_FRAME; ++i) { - int count; - pjmedia_port_get_frame(port, &frm); - count = fwrite(buf, SAMPLES_PER_FRAME, 2, f); - if (count != 2) - break; - } - - pj_assert(pjmedia_tonegen_is_busy(port) == 0); - fclose(f); - } - - /* Delete port */ - pjmedia_port_destroy(port); - - /* Release application pool */ - pj_pool_release( pool ); - - /* Destroy media endpoint. */ - pjmedia_endpt_destroy( med_endpt ); - - /* Destroy pool factory */ - pj_caching_pool_destroy( &cp ); - - /* Shutdown PJLIB */ - pj_shutdown(); - - - /* Done. */ - return 0; -} diff --git a/res/pjproject/pjsip-apps/src/samples/util.h b/res/pjproject/pjsip-apps/src/samples/util.h deleted file mode 100644 index c5d8fd6ca6..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/util.h +++ /dev/null @@ -1,173 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include /* strtol() */ - -/* Util to display the error message for the specified error code */ -static int app_perror( const char *sender, const char *title, - pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - - PJ_LOG(3,(sender, "%s: %s [code=%d]", title, errmsg, status)); - return 1; -} - - - -/* Constants */ -#define CLOCK_RATE 44100 -#define NSAMPLES (CLOCK_RATE * 20 / 1000) -#define NCHANNELS 1 -#define NBITS 16 - -/* - * Common sound options. - */ -#define SND_USAGE \ -" -d, --dev=NUM Sound device use device id NUM (default=-1) \n"\ -" -r, --rate=HZ Set clock rate in samples per sec (default=44100)\n"\ -" -c, --channel=NUM Set # of channels (default=1 for mono). \n"\ -" -f, --frame=NUM Set # of samples per frame (default equival 20ms)\n"\ -" -b, --bit=NUM Set # of bits per sample (default=16) \n" - - -/* - * This utility function parses the command line and look for - * common sound options. - */ -pj_status_t get_snd_options(const char *app_name, - int argc, - char *argv[], - int *dev_id, - int *clock_rate, - int *channel_count, - int *samples_per_frame, - int *bits_per_sample) -{ - struct pj_getopt_option long_options[] = { - { "dev", 1, 0, 'd' }, - { "rate", 1, 0, 'r' }, - { "channel", 1, 0, 'c' }, - { "frame", 1, 0, 'f' }, - { "bit", 1, 0, 'b' }, - { NULL, 0, 0, 0 }, - }; - int c; - int option_index; - long val; - char *err; - - *samples_per_frame = 0; - - pj_optind = 0; - while((c=pj_getopt_long(argc,argv, "d:r:c:f:b:", - long_options, &option_index))!=-1) - { - - switch (c) { - case 'd': - /* device */ - val = strtol(pj_optarg, &err, 10); - if (*err) { - PJ_LOG(3,(app_name, "Error: invalid value for device id")); - return PJ_EINVAL; - } - *dev_id = val; - break; - - case 'r': - /* rate */ - val = strtol(pj_optarg, &err, 10); - if (*err) { - PJ_LOG(3,(app_name, "Error: invalid value for clock rate")); - return PJ_EINVAL; - } - *clock_rate = val; - break; - - case 'c': - /* channel count */ - val = strtol(pj_optarg, &err, 10); - if (*err) { - PJ_LOG(3,(app_name, "Error: invalid channel count")); - return PJ_EINVAL; - } - *channel_count = val; - break; - - case 'f': - /* frame count/samples per frame */ - val = strtol(pj_optarg, &err, 10); - if (*err) { - PJ_LOG(3,(app_name, "Error: invalid samples per frame")); - return PJ_EINVAL; - } - *samples_per_frame = val; - break; - - case 'b': - /* bit per sample */ - val = strtol(pj_optarg, &err, 10); - if (*err) { - PJ_LOG(3,(app_name, "Error: invalid samples bits per sample")); - return PJ_EINVAL; - } - *bits_per_sample = val; - break; - - default: - /* Unknown options */ - PJ_LOG(3,(app_name, "Error: unknown options '%c'", pj_optopt)); - return PJ_EINVAL; - } - - } - - if (*samples_per_frame == 0) { - *samples_per_frame = *clock_rate * *channel_count * 20 / 1000; - } - - return 0; -} - - -/* Dump memory pool usage. */ -void dump_pool_usage( const char *app_name, pj_caching_pool *cp ) -{ -#if !defined(PJ_HAS_POOL_ALT_API) || PJ_HAS_POOL_ALT_API==0 - pj_pool_t *p; - unsigned total_alloc = 0; - unsigned total_used = 0; - - /* Accumulate memory usage in active list. */ - p = cp->used_list.next; - while (p != (pj_pool_t*) &cp->used_list) { - total_alloc += pj_pool_get_capacity(p); - total_used += pj_pool_get_used_size(p); - p = p->next; - } - - PJ_LOG(3, (app_name, "Total pool memory allocated=%d KB, used=%d KB", - total_alloc / 1000, - total_used / 1000)); -#endif -} diff --git a/res/pjproject/pjsip-apps/src/samples/vid_streamutil.c b/res/pjproject/pjsip-apps/src/samples/vid_streamutil.c deleted file mode 100644 index 10eb0d69f0..0000000000 --- a/res/pjproject/pjsip-apps/src/samples/vid_streamutil.c +++ /dev/null @@ -1,967 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - - -/** - * \page page_pjmedia_samples_vid_streamutil_c Samples: Video Streaming - * - * This example mainly demonstrates how to stream video to remote - * peer using RTP. - * - * This file is pjsip-apps/src/samples/vid_streamutil.c - * - * \includelineno vid_streamutil.c - */ - -#include -#include -#include -#include -#include - - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - - -#include /* atoi() */ -#include - -#include "util.h" - - -static const char *desc = - " vid_streamutil \n" - "\n" - " PURPOSE: \n" - " Demonstrate how to use pjmedia video stream component to \n" - " transmit/receive RTP packets to/from video device/file. \n" - "\n" - "\n" - " USAGE: \n" - " vid_streamutil [options] \n" - "\n" - "\n" - " Options: \n" - " --codec=CODEC Set the codec name. \n" - " --local-port=PORT Set local RTP port (default=4000) \n" - " --remote=IP:PORT Set the remote peer. If this option is set, \n" - " the program will transmit RTP audio to the \n" - " specified address. (default: recv only) \n" - " --play-file=AVI Send video from the AVI file instead of from \n" - " the video device. \n" - " --send-recv Set stream direction to bidirectional. \n" - " --send-only Set stream direction to send only \n" - " --recv-only Set stream direction to recv only (default) \n" - - " --send-width Video width to be sent \n" - " --send-height Video height to be sent \n" - " --send-width and --send-height not applicable \n" - " for file streaming (see --play-file) \n" - - " --send-pt Payload type for sending \n" - " --recv-pt Payload type for receiving \n" - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - " --use-srtp[=NAME] Enable SRTP with crypto suite NAME \n" - " e.g: AES_CM_128_HMAC_SHA1_80 (default), \n" - " AES_CM_128_HMAC_SHA1_32 \n" - " Use this option along with the TX & RX keys, \n" - " formated of 60 hex digits (e.g: E148DA..) \n" - " --srtp-tx-key SRTP key for transmiting \n" - " --srtp-rx-key SRTP key for receiving \n" -#endif - - "\n" -; - -#define THIS_FILE "vid_streamutil.c" - - -/* If set, local renderer will be created to play original file */ -#define HAS_LOCAL_RENDERER_FOR_PLAY_FILE 1 - - -/* Default width and height for the renderer, better be set to maximum - * acceptable size. - */ -#define DEF_RENDERER_WIDTH 640 -#define DEF_RENDERER_HEIGHT 480 - - -/* Prototype */ -static void print_stream_stat(pjmedia_vid_stream *stream, - const pjmedia_vid_codec_param *codec_param); - -/* Prototype for LIBSRTP utility in file datatypes.c */ -int hex_string_to_octet_string(char *raw, char *hex, int len); - -/* - * Register all codecs. - */ -static pj_status_t init_codecs(pj_pool_factory *pf) -{ - pj_status_t status; - - /* To suppress warning about unused var when all codecs are disabled */ - PJ_UNUSED_ARG(status); - -#if defined(PJMEDIA_HAS_FFMPEG_VID_CODEC) && PJMEDIA_HAS_FFMPEG_VID_CODEC != 0 - status = pjmedia_codec_ffmpeg_vid_init(NULL, pf); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); -#endif - - return PJ_SUCCESS; -} - -/* - * Register all codecs. - */ -static void deinit_codecs() -{ -#if defined(PJMEDIA_HAS_FFMPEG_VID_CODEC) && PJMEDIA_HAS_FFMPEG_VID_CODEC != 0 - pjmedia_codec_ffmpeg_vid_deinit(); -#endif -} - -static pj_status_t create_file_player( pj_pool_t *pool, - const char *file_name, - pjmedia_port **p_play_port) -{ - pjmedia_avi_streams *avi_streams; - pjmedia_avi_stream *vid_stream; - pjmedia_port *play_port; - pj_status_t status; - - status = pjmedia_avi_player_create_streams(pool, file_name, 0, &avi_streams); - if (status != PJ_SUCCESS) - return status; - - vid_stream = pjmedia_avi_streams_get_stream_by_media(avi_streams, - 0, - PJMEDIA_TYPE_VIDEO); - if (!vid_stream) - return PJ_ENOTFOUND; - - play_port = pjmedia_avi_stream_get_port(vid_stream); - pj_assert(play_port); - - *p_play_port = play_port; - - return PJ_SUCCESS; -} - -/* - * Create stream based on the codec, dir, remote address, etc. - */ -static pj_status_t create_stream( pj_pool_t *pool, - pjmedia_endpt *med_endpt, - const pjmedia_vid_codec_info *codec_info, - pjmedia_vid_codec_param *codec_param, - pjmedia_dir dir, - pj_int8_t rx_pt, - pj_int8_t tx_pt, - pj_uint16_t local_port, - const pj_sockaddr_in *rem_addr, -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - pj_bool_t use_srtp, - const pj_str_t *crypto_suite, - const pj_str_t *srtp_tx_key, - const pj_str_t *srtp_rx_key, -#endif - pjmedia_vid_stream **p_stream ) -{ - pjmedia_vid_stream_info info; - pjmedia_transport *transport = NULL; - pj_status_t status; -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - pjmedia_transport *srtp_tp = NULL; -#endif - - /* Reset stream info. */ - pj_bzero(&info, sizeof(info)); - - /* Initialize stream info formats */ - info.type = PJMEDIA_TYPE_VIDEO; - info.dir = dir; - info.codec_info = *codec_info; - info.tx_pt = (tx_pt == -1)? codec_info->pt : tx_pt; - info.rx_pt = (rx_pt == -1)? codec_info->pt : rx_pt; - info.ssrc = pj_rand(); - if (codec_param) - info.codec_param = codec_param; - - /* Copy remote address */ - pj_memcpy(&info.rem_addr, rem_addr, sizeof(pj_sockaddr_in)); - - /* If remote address is not set, set to an arbitrary address - * (otherwise stream will assert). - */ - if (info.rem_addr.addr.sa_family == 0) { - const pj_str_t addr = pj_str("127.0.0.1"); - pj_sockaddr_in_init(&info.rem_addr.ipv4, &addr, 0); - } - - /* Create media transport */ - status = pjmedia_transport_udp_create(med_endpt, NULL, local_port, - 0, &transport); - if (status != PJ_SUCCESS) - return status; - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - /* Check if SRTP enabled */ - if (use_srtp) { - pjmedia_srtp_crypto tx_plc, rx_plc; - - status = pjmedia_transport_srtp_create(med_endpt, transport, - NULL, &srtp_tp); - if (status != PJ_SUCCESS) - return status; - - pj_bzero(&tx_plc, sizeof(pjmedia_srtp_crypto)); - pj_bzero(&rx_plc, sizeof(pjmedia_srtp_crypto)); - - tx_plc.key = *srtp_tx_key; - tx_plc.name = *crypto_suite; - rx_plc.key = *srtp_rx_key; - rx_plc.name = *crypto_suite; - - status = pjmedia_transport_srtp_start(srtp_tp, &tx_plc, &rx_plc); - if (status != PJ_SUCCESS) - return status; - - transport = srtp_tp; - } -#endif - - /* Now that the stream info is initialized, we can create the - * stream. - */ - - status = pjmedia_vid_stream_create( med_endpt, pool, &info, - transport, - NULL, p_stream); - - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Error creating stream", status); - pjmedia_transport_close(transport); - return status; - } - - - return PJ_SUCCESS; -} - - -typedef struct play_file_data -{ - const char *file_name; - pjmedia_port *play_port; - pjmedia_port *stream_port; - pjmedia_vid_codec *decoder; - pjmedia_port *renderer; - void *read_buf; - pj_size_t read_buf_size; - void *dec_buf; - pj_size_t dec_buf_size; -} play_file_data; - - -static void clock_cb(const pj_timestamp *ts, void *user_data) -{ - play_file_data *play_file = (play_file_data*)user_data; - pjmedia_frame read_frame, write_frame; - pj_status_t status; - - PJ_UNUSED_ARG(ts); - - /* Read frame from file */ - read_frame.buf = play_file->read_buf; - read_frame.size = play_file->read_buf_size; - pjmedia_port_get_frame(play_file->play_port, &read_frame); - - /* Decode frame, if needed */ - if (play_file->decoder) { - pjmedia_vid_codec *decoder = play_file->decoder; - - write_frame.buf = play_file->dec_buf; - write_frame.size = play_file->dec_buf_size; - status = pjmedia_vid_codec_decode(decoder, 1, &read_frame, - write_frame.size, &write_frame); - if (status != PJ_SUCCESS) - return; - } else { - write_frame = read_frame; - } - - /* Display frame locally */ - if (play_file->renderer) - pjmedia_port_put_frame(play_file->renderer, &write_frame); - - /* Send frame */ - pjmedia_port_put_frame(play_file->stream_port, &write_frame); -} - - -/* - * usage() - */ -static void usage() -{ - puts(desc); -} - -/* - * main() - */ -int main(int argc, char *argv[]) -{ - pj_caching_pool cp; - pjmedia_endpt *med_endpt; - pj_pool_t *pool; - pjmedia_vid_stream *stream = NULL; - pjmedia_port *enc_port, *dec_port; - pj_status_t status; - - pjmedia_vid_port *capture=NULL, *renderer=NULL; - pjmedia_vid_port_param vpp; - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - /* SRTP variables */ - pj_bool_t use_srtp = PJ_FALSE; - char tmp_tx_key[64]; - char tmp_rx_key[64]; - pj_str_t srtp_tx_key = {NULL, 0}; - pj_str_t srtp_rx_key = {NULL, 0}; - pj_str_t srtp_crypto_suite = {NULL, 0}; - int tmp_key_len; -#endif - - /* Default values */ - const pjmedia_vid_codec_info *codec_info; - pjmedia_vid_codec_param codec_param; - pjmedia_dir dir = PJMEDIA_DIR_DECODING; - pj_sockaddr_in remote_addr; - pj_uint16_t local_port = 4000; - char *codec_id = NULL; - pjmedia_rect_size tx_size = {0}; - pj_int8_t rx_pt = -1, tx_pt = -1; - - play_file_data play_file = { NULL }; - pjmedia_port *play_port = NULL; - pjmedia_vid_codec *play_decoder = NULL; - pjmedia_clock *play_clock = NULL; - - enum { - OPT_CODEC = 'c', - OPT_LOCAL_PORT = 'p', - OPT_REMOTE = 'r', - OPT_PLAY_FILE = 'f', - OPT_SEND_RECV = 'b', - OPT_SEND_ONLY = 's', - OPT_RECV_ONLY = 'i', - OPT_SEND_WIDTH = 'W', - OPT_SEND_HEIGHT = 'H', - OPT_RECV_PT = 't', - OPT_SEND_PT = 'T', -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - OPT_USE_SRTP = 'S', -#endif - OPT_SRTP_TX_KEY = 'x', - OPT_SRTP_RX_KEY = 'y', - OPT_HELP = 'h', - }; - - struct pj_getopt_option long_options[] = { - { "codec", 1, 0, OPT_CODEC }, - { "local-port", 1, 0, OPT_LOCAL_PORT }, - { "remote", 1, 0, OPT_REMOTE }, - { "play-file", 1, 0, OPT_PLAY_FILE }, - { "send-recv", 0, 0, OPT_SEND_RECV }, - { "send-only", 0, 0, OPT_SEND_ONLY }, - { "recv-only", 0, 0, OPT_RECV_ONLY }, - { "send-width", 1, 0, OPT_SEND_WIDTH }, - { "send-height", 1, 0, OPT_SEND_HEIGHT }, - { "recv-pt", 1, 0, OPT_RECV_PT }, - { "send-pt", 1, 0, OPT_SEND_PT }, -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - { "use-srtp", 2, 0, OPT_USE_SRTP }, - { "srtp-tx-key", 1, 0, OPT_SRTP_TX_KEY }, - { "srtp-rx-key", 1, 0, OPT_SRTP_RX_KEY }, -#endif - { "help", 0, 0, OPT_HELP }, - { NULL, 0, 0, 0 }, - }; - - int c; - int option_index; - - - pj_bzero(&remote_addr, sizeof(remote_addr)); - - - /* init PJLIB : */ - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* Parse arguments */ - pj_optind = 0; - while((c=pj_getopt_long(argc,argv, "h", long_options, &option_index))!=-1) - { - switch (c) { - case OPT_CODEC: - codec_id = pj_optarg; - break; - - case OPT_LOCAL_PORT: - local_port = (pj_uint16_t) atoi(pj_optarg); - if (local_port < 1) { - printf("Error: invalid local port %s\n", pj_optarg); - return 1; - } - break; - - case OPT_REMOTE: - { - pj_str_t ip = pj_str(strtok(pj_optarg, ":")); - pj_uint16_t port = (pj_uint16_t) atoi(strtok(NULL, ":")); - - status = pj_sockaddr_in_init(&remote_addr, &ip, port); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Invalid remote address", status); - return 1; - } - } - break; - - case OPT_PLAY_FILE: - play_file.file_name = pj_optarg; - break; - - case OPT_SEND_RECV: - dir = PJMEDIA_DIR_ENCODING_DECODING; - break; - - case OPT_SEND_ONLY: - dir = PJMEDIA_DIR_ENCODING; - break; - - case OPT_RECV_ONLY: - dir = PJMEDIA_DIR_DECODING; - break; - - case OPT_SEND_WIDTH: - tx_size.w = (unsigned)atoi(pj_optarg); - break; - - case OPT_SEND_HEIGHT: - tx_size.h = (unsigned)atoi(pj_optarg); - break; - - case OPT_RECV_PT: - rx_pt = (pj_int8_t)atoi(pj_optarg); - break; - - case OPT_SEND_PT: - tx_pt = (pj_int8_t)atoi(pj_optarg); - break; - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - case OPT_USE_SRTP: - use_srtp = PJ_TRUE; - if (pj_optarg) { - pj_strset(&srtp_crypto_suite, pj_optarg, strlen(pj_optarg)); - } else { - srtp_crypto_suite = pj_str("AES_CM_128_HMAC_SHA1_80"); - } - break; - - case OPT_SRTP_TX_KEY: - tmp_key_len = hex_string_to_octet_string(tmp_tx_key, pj_optarg, - strlen(pj_optarg)); - pj_strset(&srtp_tx_key, tmp_tx_key, tmp_key_len/2); - break; - - case OPT_SRTP_RX_KEY: - tmp_key_len = hex_string_to_octet_string(tmp_rx_key, pj_optarg, - strlen(pj_optarg)); - pj_strset(&srtp_rx_key, tmp_rx_key, tmp_key_len/2); - break; -#endif - - case OPT_HELP: - usage(); - return 1; - - default: - printf("Invalid options %s\n", argv[pj_optind]); - return 1; - } - - } - - - /* Verify arguments. */ - if (dir & PJMEDIA_DIR_ENCODING) { - if (remote_addr.sin_addr.s_addr == 0) { - printf("Error: remote address must be set\n"); - return 1; - } - } - - if (play_file.file_name != NULL && dir != PJMEDIA_DIR_ENCODING) { - printf("Direction is set to --send-only because of --play-file\n"); - dir = PJMEDIA_DIR_ENCODING; - } - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - /* SRTP validation */ - if (use_srtp) { - if (!srtp_tx_key.slen || !srtp_rx_key.slen) - { - printf("Error: Key for each SRTP stream direction must be set\n"); - return 1; - } - } -#endif - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&cp, &pj_pool_factory_default_policy, 0); - - /* - * Initialize media endpoint. - * This will implicitly initialize PJMEDIA too. - */ - status = pjmedia_endpt_create(&cp.factory, NULL, 1, &med_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Create memory pool for application purpose */ - pool = pj_pool_create( &cp.factory, /* pool factory */ - "app", /* pool name. */ - 4000, /* init size */ - 4000, /* increment size */ - NULL /* callback on error */ - ); - - /* Init video format manager */ - pjmedia_video_format_mgr_create(pool, 64, 0, NULL); - - /* Init video converter manager */ - pjmedia_converter_mgr_create(pool, NULL); - - /* Init event manager */ - pjmedia_event_mgr_create(pool, 0, NULL); - - /* Init video codec manager */ - pjmedia_vid_codec_mgr_create(pool, NULL); - - /* Init video subsystem */ - pjmedia_vid_dev_subsys_init(&cp.factory); - - /* Register all supported codecs */ - status = init_codecs(&cp.factory); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - - /* Find which codec to use. */ - if (codec_id) { - unsigned count = 1; - pj_str_t str_codec_id = pj_str(codec_id); - - status = pjmedia_vid_codec_mgr_find_codecs_by_id(NULL, - &str_codec_id, &count, - &codec_info, NULL); - if (status != PJ_SUCCESS) { - printf("Error: unable to find codec %s\n", codec_id); - return 1; - } - } else { - static pjmedia_vid_codec_info info[1]; - unsigned count = PJ_ARRAY_SIZE(info); - - /* Default to first codec */ - pjmedia_vid_codec_mgr_enum_codecs(NULL, &count, info, NULL); - codec_info = &info[0]; - } - - /* Get codec default param for info */ - status = pjmedia_vid_codec_mgr_get_default_param(NULL, codec_info, - &codec_param); - pj_assert(status == PJ_SUCCESS); - - /* Set outgoing video size */ - if (tx_size.w && tx_size.h) - codec_param.enc_fmt.det.vid.size = tx_size; - -#if DEF_RENDERER_WIDTH && DEF_RENDERER_HEIGHT - /* Set incoming video size */ - if (DEF_RENDERER_WIDTH > codec_param.dec_fmt.det.vid.size.w) - codec_param.dec_fmt.det.vid.size.w = DEF_RENDERER_WIDTH; - if (DEF_RENDERER_HEIGHT > codec_param.dec_fmt.det.vid.size.h) - codec_param.dec_fmt.det.vid.size.h = DEF_RENDERER_HEIGHT; -#endif - - if (play_file.file_name) { - pjmedia_video_format_detail *file_vfd; - pjmedia_clock_param clock_param; - char fmt_name[5]; - - /* Create file player */ - status = create_file_player(pool, play_file.file_name, &play_port); - if (status != PJ_SUCCESS) - goto on_exit; - - /* Collect format info */ - file_vfd = pjmedia_format_get_video_format_detail(&play_port->info.fmt, - PJ_TRUE); - PJ_LOG(2, (THIS_FILE, "Reading video stream %dx%d %s @%.2ffps", - file_vfd->size.w, file_vfd->size.h, - pjmedia_fourcc_name(play_port->info.fmt.id, fmt_name), - (1.0*file_vfd->fps.num/file_vfd->fps.denum))); - - /* Allocate file read buffer */ - play_file.read_buf_size = PJMEDIA_MAX_VIDEO_ENC_FRAME_SIZE; - play_file.read_buf = pj_pool_zalloc(pool, play_file.read_buf_size); - - /* Create decoder, if the file and the stream uses different codec */ - if (codec_info->fmt_id != (pjmedia_format_id)play_port->info.fmt.id) { - const pjmedia_video_format_info *dec_vfi; - pjmedia_video_apply_fmt_param dec_vafp = {0}; - const pjmedia_vid_codec_info *codec_info2; - pjmedia_vid_codec_param codec_param2; - - /* Find decoder */ - status = pjmedia_vid_codec_mgr_get_codec_info2(NULL, - play_port->info.fmt.id, - &codec_info2); - if (status != PJ_SUCCESS) - goto on_exit; - - /* Init decoder */ - status = pjmedia_vid_codec_mgr_alloc_codec(NULL, codec_info2, - &play_decoder); - if (status != PJ_SUCCESS) - goto on_exit; - - status = play_decoder->op->init(play_decoder, pool); - if (status != PJ_SUCCESS) - goto on_exit; - - /* Open decoder */ - status = pjmedia_vid_codec_mgr_get_default_param(NULL, codec_info2, - &codec_param2); - if (status != PJ_SUCCESS) - goto on_exit; - - codec_param2.dir = PJMEDIA_DIR_DECODING; - status = play_decoder->op->open(play_decoder, &codec_param2); - if (status != PJ_SUCCESS) - goto on_exit; - - /* Get decoder format info and apply param */ - dec_vfi = pjmedia_get_video_format_info(NULL, - codec_info2->dec_fmt_id[0]); - if (!dec_vfi || !dec_vfi->apply_fmt) { - status = PJ_ENOTSUP; - goto on_exit; - } - dec_vafp.size = file_vfd->size; - (*dec_vfi->apply_fmt)(dec_vfi, &dec_vafp); - - /* Allocate buffer to receive decoder output */ - play_file.dec_buf_size = dec_vafp.framebytes; - play_file.dec_buf = pj_pool_zalloc(pool, play_file.dec_buf_size); - } - - /* Create player clock */ - clock_param.usec_interval = PJMEDIA_PTIME(&file_vfd->fps); - clock_param.clock_rate = codec_info->clock_rate; - status = pjmedia_clock_create2(pool, &clock_param, - PJMEDIA_CLOCK_NO_HIGHEST_PRIO, - &clock_cb, &play_file, &play_clock); - if (status != PJ_SUCCESS) - goto on_exit; - - /* Override stream codec param for encoding direction */ - codec_param.enc_fmt.det.vid.size = file_vfd->size; - codec_param.enc_fmt.det.vid.fps = file_vfd->fps; - - } else { - pjmedia_vid_port_param_default(&vpp); - - /* Set as active for all video devices */ - vpp.active = PJ_TRUE; - - /* Create video device port. */ - if (dir & PJMEDIA_DIR_ENCODING) { - /* Create capture */ - status = pjmedia_vid_dev_default_param( - pool, - PJMEDIA_VID_DEFAULT_CAPTURE_DEV, - &vpp.vidparam); - if (status != PJ_SUCCESS) - goto on_exit; - - pjmedia_format_copy(&vpp.vidparam.fmt, &codec_param.enc_fmt); - vpp.vidparam.fmt.id = codec_param.dec_fmt.id; - vpp.vidparam.dir = PJMEDIA_DIR_CAPTURE; - - status = pjmedia_vid_port_create(pool, &vpp, &capture); - if (status != PJ_SUCCESS) - goto on_exit; - } - - if (dir & PJMEDIA_DIR_DECODING) { - /* Create renderer */ - status = pjmedia_vid_dev_default_param( - pool, - PJMEDIA_VID_DEFAULT_RENDER_DEV, - &vpp.vidparam); - if (status != PJ_SUCCESS) - goto on_exit; - - pjmedia_format_copy(&vpp.vidparam.fmt, &codec_param.dec_fmt); - vpp.vidparam.dir = PJMEDIA_DIR_RENDER; - vpp.vidparam.disp_size = vpp.vidparam.fmt.det.vid.size; - vpp.vidparam.flags |= PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW_FLAGS; - vpp.vidparam.window_flags = PJMEDIA_VID_DEV_WND_BORDER | - PJMEDIA_VID_DEV_WND_RESIZABLE; - - status = pjmedia_vid_port_create(pool, &vpp, &renderer); - if (status != PJ_SUCCESS) - goto on_exit; - } - } - - /* Set to ignore fmtp */ - codec_param.ignore_fmtp = PJ_TRUE; - - /* Create stream based on program arguments */ - status = create_stream(pool, med_endpt, codec_info, &codec_param, - dir, rx_pt, tx_pt, local_port, &remote_addr, -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - use_srtp, &srtp_crypto_suite, - &srtp_tx_key, &srtp_rx_key, -#endif - &stream); - if (status != PJ_SUCCESS) - goto on_exit; - - /* Get the port interface of the stream */ - status = pjmedia_vid_stream_get_port(stream, PJMEDIA_DIR_ENCODING, - &enc_port); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - status = pjmedia_vid_stream_get_port(stream, PJMEDIA_DIR_DECODING, - &dec_port); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Start streaming */ - status = pjmedia_vid_stream_start(stream); - if (status != PJ_SUCCESS) - goto on_exit; - - /* Start renderer */ - if (renderer) { - status = pjmedia_vid_port_connect(renderer, dec_port, PJ_FALSE); - if (status != PJ_SUCCESS) - goto on_exit; - status = pjmedia_vid_port_start(renderer); - if (status != PJ_SUCCESS) - goto on_exit; - } - - /* Start capture */ - if (capture) { - status = pjmedia_vid_port_connect(capture, enc_port, PJ_FALSE); - if (status != PJ_SUCCESS) - goto on_exit; - status = pjmedia_vid_port_start(capture); - if (status != PJ_SUCCESS) - goto on_exit; - } - - /* Start playing file */ - if (play_file.file_name) { - -#if HAS_LOCAL_RENDERER_FOR_PLAY_FILE - /* Create local renderer */ - pjmedia_vid_port_param_default(&vpp); - vpp.active = PJ_FALSE; - status = pjmedia_vid_dev_default_param( - pool, - PJMEDIA_VID_DEFAULT_RENDER_DEV, - &vpp.vidparam); - if (status != PJ_SUCCESS) - goto on_exit; - - vpp.vidparam.dir = PJMEDIA_DIR_RENDER; - pjmedia_format_copy(&vpp.vidparam.fmt, &codec_param.dec_fmt); - vpp.vidparam.fmt.det.vid.size = play_port->info.fmt.det.vid.size; - vpp.vidparam.fmt.det.vid.fps = play_port->info.fmt.det.vid.fps; - vpp.vidparam.disp_size = vpp.vidparam.fmt.det.vid.size; - vpp.vidparam.flags |= PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW_FLAGS; - vpp.vidparam.window_flags = PJMEDIA_VID_DEV_WND_BORDER | - PJMEDIA_VID_DEV_WND_RESIZABLE; - - status = pjmedia_vid_port_create(pool, &vpp, &renderer); - if (status != PJ_SUCCESS) - goto on_exit; - status = pjmedia_vid_port_start(renderer); - if (status != PJ_SUCCESS) - goto on_exit; -#endif - - /* Init play file data */ - play_file.play_port = play_port; - play_file.stream_port = enc_port; - play_file.decoder = play_decoder; - if (renderer) { - play_file.renderer = pjmedia_vid_port_get_passive_port(renderer); - } - - status = pjmedia_clock_start(play_clock); - if (status != PJ_SUCCESS) - goto on_exit; - } - - /* Done */ - - if (dir == PJMEDIA_DIR_DECODING) - printf("Stream is active, dir is recv-only, local port is %d\n", - local_port); - else if (dir == PJMEDIA_DIR_ENCODING) - printf("Stream is active, dir is send-only, sending to %s:%d\n", - pj_inet_ntoa(remote_addr.sin_addr), - pj_ntohs(remote_addr.sin_port)); - else - printf("Stream is active, send/recv, local port is %d, " - "sending to %s:%d\n", - local_port, - pj_inet_ntoa(remote_addr.sin_addr), - pj_ntohs(remote_addr.sin_port)); - - if (dir & PJMEDIA_DIR_ENCODING) - PJ_LOG(2, (THIS_FILE, "Sending %dx%d %.*s @%.2ffps", - codec_param.enc_fmt.det.vid.size.w, - codec_param.enc_fmt.det.vid.size.h, - codec_info->encoding_name.slen, - codec_info->encoding_name.ptr, - (1.0*codec_param.enc_fmt.det.vid.fps.num/ - codec_param.enc_fmt.det.vid.fps.denum))); - - for (;;) { - char tmp[10]; - - puts(""); - puts("Commands:"); - puts(" q Quit"); - puts(""); - - printf("Command: "); fflush(stdout); - - if (fgets(tmp, sizeof(tmp), stdin) == NULL) { - puts("EOF while reading stdin, will quit now.."); - break; - } - - if (tmp[0] == 'q') - break; - - } - - - - /* Start deinitialization: */ -on_exit: - - /* Stop video devices */ - if (capture) - pjmedia_vid_port_stop(capture); - if (renderer) - pjmedia_vid_port_stop(renderer); - - /* Stop and destroy file clock */ - if (play_clock) { - pjmedia_clock_stop(play_clock); - pjmedia_clock_destroy(play_clock); - } - - /* Destroy file reader/player */ - if (play_port) - pjmedia_port_destroy(play_port); - - /* Destroy file decoder */ - if (play_decoder) { - play_decoder->op->close(play_decoder); - pjmedia_vid_codec_mgr_dealloc_codec(NULL, play_decoder); - } - - /* Destroy video devices */ - if (capture) - pjmedia_vid_port_destroy(capture); - if (renderer) - pjmedia_vid_port_destroy(renderer); - - /* Destroy stream */ - if (stream) { - pjmedia_transport *tp; - - tp = pjmedia_vid_stream_get_transport(stream); - pjmedia_vid_stream_destroy(stream); - - pjmedia_transport_close(tp); - } - - /* Deinit codecs */ - deinit_codecs(); - - /* Shutdown video subsystem */ - pjmedia_vid_dev_subsys_shutdown(); - - /* Destroy event manager */ - pjmedia_event_mgr_destroy(NULL); - - /* Release application pool */ - pj_pool_release( pool ); - - /* Destroy media endpoint. */ - pjmedia_endpt_destroy( med_endpt ); - - /* Destroy pool factory */ - pj_caching_pool_destroy( &cp ); - - /* Shutdown PJLIB */ - pj_shutdown(); - - return (status == PJ_SUCCESS) ? 0 : 1; -} - - -#else - -int main(int argc, char *argv[]) -{ - PJ_UNUSED_ARG(argc); - PJ_UNUSED_ARG(argv); - puts("Error: this sample requires video capability (PJMEDIA_HAS_VIDEO == 1)"); - return -1; -} - -#endif /* PJMEDIA_HAS_VIDEO */ diff --git a/res/pjproject/pjsip-apps/src/symbian_ua/main_symbian.cpp b/res/pjproject/pjsip-apps/src/symbian_ua/main_symbian.cpp deleted file mode 100644 index 255c0dc0a9..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua/main_symbian.cpp +++ /dev/null @@ -1,82 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "ua.h" - -#include -#include -#include -#include - - -// Global Variables -CConsoleBase* console; - -// Needed by APS -//TPtrC APP_UID = _L("200235D3"); -TPtrC APP_UID = _L("A000000D"); - - -//////////////////////////////////////////////////////////////////////////// - -LOCAL_C void DoStartL() -{ - CActiveScheduler *scheduler = new (ELeave) CActiveScheduler; - CleanupStack::PushL(scheduler); - CActiveScheduler::Install(scheduler); - - ua_main(); - - CActiveScheduler::Install(NULL); - CleanupStack::Pop(scheduler); - delete scheduler; -} - - -//////////////////////////////////////////////////////////////////////////// - -// E32Main() -GLDEF_C TInt E32Main() -{ - // Mark heap usage - __UHEAP_MARK; - - // Create cleanup stack - CTrapCleanup* cleanup = CTrapCleanup::New(); - - // Create output console - TRAPD(createError, console = Console::NewL(_L("Console"), TSize(KConsFullScreen,KConsFullScreen))); - if (createError) - return createError; - - TRAPD(startError, DoStartL()); - - console->Printf(_L("[press any key to close]\n")); - console->Getch(); - - delete console; - delete cleanup; - - CloseSTDLIB(); - - // Mark end of heap usage, detect memory leaks - __UHEAP_MARKEND; - return KErrNone; -} - diff --git a/res/pjproject/pjsip-apps/src/symbian_ua/symbian_ua_reg.rss b/res/pjproject/pjsip-apps/src/symbian_ua/symbian_ua_reg.rss deleted file mode 100644 index d79a164e98..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua/symbian_ua_reg.rss +++ /dev/null @@ -1,10 +0,0 @@ -#include - -UID2 KUidAppRegistrationResourceFile -UID3 0xA000000D - -RESOURCE APP_REGISTRATION_INFO -{ - app_file="symbian_ua"; -} - diff --git a/res/pjproject/pjsip-apps/src/symbian_ua/ua.cpp b/res/pjproject/pjsip-apps/src/symbian_ua/ua.cpp deleted file mode 100644 index 51e0c05010..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua/ua.cpp +++ /dev/null @@ -1,1186 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -//#include -#include "ua.h" - -#define THIS_FILE "symbian_ua.cpp" -#define CON_LOG_LEVEL 3 // console log level -#define FILE_LOG_LEVEL 4 // logfile log level - -// -// Basic config. -// -#define SIP_PORT 5060 - - -// -// Destination URI (to make call, or to subscribe presence) -// -#define SIP_DST_URI "" - -// -// Account -// -#define HAS_SIP_ACCOUNT 0 // 1 to enable registration -#define SIP_DOMAIN "pjsip.lab" -#define SIP_USER "400" -#define SIP_PASSWD "400" - -// -// Outbound proxy for all accounts -// -#define SIP_PROXY NULL -//#define SIP_PROXY "" - -// -// SIP transports -// -#define ENABLE_SIP_UDP 1 -#define ENABLE_SIP_TCP 0 // experimental -#define ENABLE_SIP_TLS 0 // experimental - -// -// Configure nameserver if DNS SRV is to be used with both SIP -// or STUN (for STUN see other settings below) -// -#define NAMESERVER NULL -//#define NAMESERVER "192.168.0.2" - -// -// STUN server -#if 0 - // Use this to have the STUN server resolved normally -# define STUN_DOMAIN NULL -# define STUN_SERVER "stun.pjsip.org" -#elif 0 - // Use this to have the STUN server resolved with DNS SRV -# define STUN_DOMAIN "pjsip.org" -# define STUN_SERVER NULL -#else - // Use this to disable STUN -# define STUN_DOMAIN NULL -# define STUN_SERVER NULL -#endif - -// -// Use ICE? -// -#define USE_ICE 1 - -// -// Use SRTP? -// -#define USE_SRTP PJSUA_DEFAULT_USE_SRTP - -// -// Set QoS on transports? Yes! -// As an example, we set SIP transports DSCP value to CS3 (DSCP -// value 24 or 0x18), for no reason, and tag RTP/RTCP packets -// with VOICE type. -// -#define SIP_QOS_DSCP 0x18 -#define RTP_QOS_TYPE PJ_QOS_TYPE_VOICE - - -// -// Globals -// -static pjsua_acc_id g_acc_id = PJSUA_INVALID_ID; -static pjsua_call_id g_call_id = PJSUA_INVALID_ID; -static pjsua_buddy_id g_buddy_id = PJSUA_INVALID_ID; - - -/* Callback called by the library upon receiving incoming call */ -static void on_incoming_call(pjsua_acc_id acc_id, pjsua_call_id call_id, - pjsip_rx_data *rdata) -{ - pjsua_call_info ci; - - PJ_UNUSED_ARG(acc_id); - PJ_UNUSED_ARG(rdata); - - if (g_call_id != PJSUA_INVALID_ID) { - pjsua_call_answer(call_id, PJSIP_SC_BUSY_HERE, NULL, NULL); - return; - } - - pjsua_call_get_info(call_id, &ci); - - PJ_LOG(3,(THIS_FILE, "Incoming call from %.*s!!", - (int)ci.remote_info.slen, - ci.remote_info.ptr)); - - g_call_id = call_id; - - /* Automatically answer incoming calls with 180/Ringing */ - pjsua_call_answer(call_id, 180, NULL, NULL); -} - -/* Callback called by the library when call's state has changed */ -static void on_call_state(pjsua_call_id call_id, pjsip_event *e) -{ - pjsua_call_info ci; - - PJ_UNUSED_ARG(e); - - pjsua_call_get_info(call_id, &ci); - - if (ci.state == PJSIP_INV_STATE_DISCONNECTED) { - if (call_id == g_call_id) - g_call_id = PJSUA_INVALID_ID; - } else if (ci.state != PJSIP_INV_STATE_INCOMING) { - if (g_call_id == PJSUA_INVALID_ID) - g_call_id = call_id; - } - - PJ_LOG(3,(THIS_FILE, "Call %d state=%.*s", call_id, - (int)ci.state_text.slen, - ci.state_text.ptr)); -} - -/* Callback called by the library when call's media state has changed */ -static void on_call_media_state(pjsua_call_id call_id) -{ - pjsua_call_info ci; - - pjsua_call_get_info(call_id, &ci); - - if (ci.media_status == PJSUA_CALL_MEDIA_ACTIVE) { - // When media is active, connect call to sound device. - pjsua_conf_connect(ci.conf_slot, 0); - pjsua_conf_connect(0, ci.conf_slot); - } -} - - -/* Handler on buddy state changed. */ -static void on_buddy_state(pjsua_buddy_id buddy_id) -{ - pjsua_buddy_info info; - pjsua_buddy_get_info(buddy_id, &info); - - PJ_LOG(3,(THIS_FILE, "%.*s status is %.*s", - (int)info.uri.slen, - info.uri.ptr, - (int)info.status_text.slen, - info.status_text.ptr)); -} - - -/* Incoming IM message (i.e. MESSAGE request)! */ -static void on_pager(pjsua_call_id call_id, const pj_str_t *from, - const pj_str_t *to, const pj_str_t *contact, - const pj_str_t *mime_type, const pj_str_t *text) -{ - /* Note: call index may be -1 */ - PJ_UNUSED_ARG(call_id); - PJ_UNUSED_ARG(to); - PJ_UNUSED_ARG(contact); - PJ_UNUSED_ARG(mime_type); - - PJ_LOG(3,(THIS_FILE,"MESSAGE from %.*s: %.*s", - (int)from->slen, from->ptr, - (int)text->slen, text->ptr)); -} - - -/* Received typing indication */ -static void on_typing(pjsua_call_id call_id, const pj_str_t *from, - const pj_str_t *to, const pj_str_t *contact, - pj_bool_t is_typing) -{ - PJ_UNUSED_ARG(call_id); - PJ_UNUSED_ARG(to); - PJ_UNUSED_ARG(contact); - - PJ_LOG(3,(THIS_FILE, "IM indication: %.*s %s", - (int)from->slen, from->ptr, - (is_typing?"is typing..":"has stopped typing"))); -} - - -/* Call transfer request status. */ -static void on_call_transfer_status(pjsua_call_id call_id, - int status_code, - const pj_str_t *status_text, - pj_bool_t final, - pj_bool_t *p_cont) -{ - PJ_LOG(3,(THIS_FILE, "Call %d: transfer status=%d (%.*s) %s", - call_id, status_code, - (int)status_text->slen, status_text->ptr, - (final ? "[final]" : ""))); - - if (status_code/100 == 2) { - PJ_LOG(3,(THIS_FILE, - "Call %d: call transfered successfully, disconnecting call", - call_id)); - pjsua_call_hangup(call_id, PJSIP_SC_GONE, NULL, NULL); - *p_cont = PJ_FALSE; - } -} - - -/* NAT detection result */ -static void on_nat_detect(const pj_stun_nat_detect_result *res) -{ - if (res->status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "NAT detection failed", res->status); - } else { - PJ_LOG(3, (THIS_FILE, "NAT detected as %s", res->nat_type_name)); - } -} - -/* Notification that call is being replaced. */ -static void on_call_replaced(pjsua_call_id old_call_id, - pjsua_call_id new_call_id) -{ - pjsua_call_info old_ci, new_ci; - - pjsua_call_get_info(old_call_id, &old_ci); - pjsua_call_get_info(new_call_id, &new_ci); - - PJ_LOG(3,(THIS_FILE, "Call %d with %.*s is being replaced by " - "call %d with %.*s", - old_call_id, - (int)old_ci.remote_info.slen, old_ci.remote_info.ptr, - new_call_id, - (int)new_ci.remote_info.slen, new_ci.remote_info.ptr)); -} - -/* - * Transport status notification - */ -static void on_transport_state(pjsip_transport *tp, - pjsip_transport_state state, - const pjsip_transport_state_info *info) -{ - char host_port[128]; - - pj_ansi_snprintf(host_port, sizeof(host_port), "[%.*s:%d]", - (int)tp->remote_name.host.slen, - tp->remote_name.host.ptr, - tp->remote_name.port); - - switch (state) { - case PJSIP_TP_STATE_CONNECTED: - { - PJ_LOG(3,(THIS_FILE, "SIP transport %s is connected to %s", - tp->type_name, host_port)); - } - break; - - case PJSIP_TP_STATE_DISCONNECTED: - { - char buf[100]; - - snprintf(buf, sizeof(buf), "SIP transport %s is disconnected from %s", - tp->type_name, host_port); - pjsua_perror(THIS_FILE, buf, info->status); - } - break; - - default: - break; - } - -#if defined(PJSIP_HAS_TLS_TRANSPORT) && PJSIP_HAS_TLS_TRANSPORT!=0 - - if (!pj_ansi_stricmp(tp->type_name, "tls") && info->ext_info && - state == PJSIP_TP_STATE_CONNECTED) - { - pjsip_tls_state_info *tls_info = (pjsip_tls_state_info*)info->ext_info; - pj_ssl_sock_info *ssl_sock_info = (pj_ssl_sock_info*) - tls_info->ssl_sock_info; - char buf[2048]; - - /* Dump server TLS certificate */ - pj_ssl_cert_info_dump(ssl_sock_info->remote_cert_info, " ", - buf, sizeof(buf)); - PJ_LOG(4,(THIS_FILE, "TLS cert info of %s:\n%s", host_port, buf)); - } - -#endif -} - - -//#include - -/* Logging callback */ -static void log_writer(int level, const char *buf, int len) -{ - static wchar_t buf16[PJ_LOG_MAX_SIZE]; - - PJ_UNUSED_ARG(level); - - pj_ansi_to_unicode(buf, len, buf16, PJ_ARRAY_SIZE(buf16)); - - TPtrC16 aBuf((const TUint16*)buf16, (TInt)len); - //RDebug::Print(aBuf); - console->Write(aBuf); - -} - -/* - * app_startup() - * - * url may contain URL to call. - */ -static pj_status_t app_startup() -{ - pj_status_t status; - - /* Redirect log before pjsua_init() */ - pj_log_set_log_func(&log_writer); - - /* Set log level */ - pj_log_set_level(CON_LOG_LEVEL); - - /* Create pjsua first! */ - status = pjsua_create(); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "pjsua_create() error", status); - return status; - } - - /* Init pjsua */ - pjsua_config cfg; - pjsua_logging_config log_cfg; - pjsua_media_config med_cfg; - - pjsua_config_default(&cfg); - cfg.max_calls = 2; - cfg.thread_cnt = 0; // Disable threading on Symbian - cfg.use_srtp = USE_SRTP; - cfg.srtp_secure_signaling = 0; - - cfg.cb.on_incoming_call = &on_incoming_call; - cfg.cb.on_call_media_state = &on_call_media_state; - cfg.cb.on_call_state = &on_call_state; - cfg.cb.on_buddy_state = &on_buddy_state; - cfg.cb.on_pager = &on_pager; - cfg.cb.on_typing = &on_typing; - cfg.cb.on_call_transfer_status = &on_call_transfer_status; - cfg.cb.on_call_replaced = &on_call_replaced; - cfg.cb.on_nat_detect = &on_nat_detect; - cfg.cb.on_transport_state = &on_transport_state; - - if (SIP_PROXY) { - cfg.outbound_proxy_cnt = 1; - cfg.outbound_proxy[0] = pj_str(SIP_PROXY); - } - - if (NAMESERVER) { - cfg.nameserver_count = 1; - cfg.nameserver[0] = pj_str(NAMESERVER); - } - - if (NAMESERVER && STUN_DOMAIN) { - cfg.stun_domain = pj_str(STUN_DOMAIN); - } else if (STUN_SERVER) { - cfg.stun_host = pj_str(STUN_SERVER); - } - - - pjsua_logging_config_default(&log_cfg); - log_cfg.level = FILE_LOG_LEVEL; - log_cfg.console_level = CON_LOG_LEVEL; - log_cfg.cb = &log_writer; - log_cfg.log_filename = pj_str("C:\\data\\symbian_ua.log"); - - pjsua_media_config_default(&med_cfg); - med_cfg.thread_cnt = 0; // Disable threading on Symbian - med_cfg.has_ioqueue = PJ_FALSE; - med_cfg.clock_rate = 8000; - med_cfg.audio_frame_ptime = 40; - med_cfg.ec_tail_len = 0; - med_cfg.enable_ice = USE_ICE; - med_cfg.snd_auto_close_time = 0; // wait for 0 seconds idle before sound dev get auto-closed - //med_cfg.no_vad = PJ_TRUE; - - status = pjsua_init(&cfg, &log_cfg, &med_cfg); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "pjsua_init() error", status); - pjsua_destroy(); - return status; - } - - /* Adjust Speex priority and enable only the narrowband */ - { - pj_str_t codec_id = pj_str("speex/8000"); - pjmedia_codec_mgr_set_codec_priority( - pjmedia_endpt_get_codec_mgr(pjsua_var.med_endpt), - &codec_id, PJMEDIA_CODEC_PRIO_NORMAL+1); - - codec_id = pj_str("speex/16000"); - pjmedia_codec_mgr_set_codec_priority( - pjmedia_endpt_get_codec_mgr(pjsua_var.med_endpt), - &codec_id, PJMEDIA_CODEC_PRIO_DISABLED); - - codec_id = pj_str("speex/32000"); - pjmedia_codec_mgr_set_codec_priority( - pjmedia_endpt_get_codec_mgr(pjsua_var.med_endpt), - &codec_id, PJMEDIA_CODEC_PRIO_DISABLED); - } - - - pjsua_transport_config tcfg; - pjsua_transport_id tid; - -#if ENABLE_SIP_UDP - /* Add UDP transport. */ - pjsua_transport_config_default(&tcfg); - tcfg.port = SIP_PORT; - if (SIP_QOS_DSCP) { - tcfg.qos_params.flags |= PJ_QOS_PARAM_HAS_DSCP; - tcfg.qos_params.dscp_val = SIP_QOS_DSCP; - } - status = pjsua_transport_create(PJSIP_TRANSPORT_UDP, &tcfg, &tid); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error creating UDP transport", status); - pjsua_destroy(); - return status; - } -#endif - -#if ENABLE_SIP_TCP - /* Add TCP transport */ - pjsua_transport_config_default(&tcfg); - tcfg.port = SIP_PORT; - if (SIP_QOS_DSCP) { - tcfg.qos_params.flags |= PJ_QOS_PARAM_HAS_DSCP; - tcfg.qos_params.dscp_val = SIP_QOS_DSCP; - } - status = pjsua_transport_create(PJSIP_TRANSPORT_TCP, &tcfg, &tid); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error creating TCP transport", status); - pjsua_destroy(); - return status; - } -#endif - -#if ENABLE_SIP_TLS - /* Add TLS transport */ - pjsua_transport_config_default(&tcfg); - tcfg.port = SIP_PORT + 1; - if (SIP_QOS_DSCP) { - tcfg.qos_params.flags |= PJ_QOS_PARAM_HAS_DSCP; - tcfg.qos_params.dscp_val = SIP_QOS_DSCP; - tcfg.tls_setting.qos_params = tcfg.qos_params; - } - status = pjsua_transport_create(PJSIP_TRANSPORT_TLS, &tcfg, &tid); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error creating TLS transport", status); - pjsua_destroy(); - return status; - } -#endif - - /* Add account for the transport */ - pjsua_acc_add_local(tid, PJ_TRUE, &g_acc_id); - -#if DISABLED_FOR_TICKET_1185 - /* Create media transports */ - pjsua_transport_config mtcfg; - pjsua_transport_config_default(&mtcfg); - mtcfg.port = 4000; - mtcfg.qos_type = RTP_QOS_TYPE; - status = pjsua_media_transports_create(&mtcfg); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error creating media transports", status); - pjsua_destroy(); - return status; - } -#endif - - /* Initialization is done, now start pjsua */ - status = pjsua_start(); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error starting pjsua", status); - pjsua_destroy(); - return status; - } - - /* Register to SIP server by creating SIP account. */ - if (HAS_SIP_ACCOUNT) { - pjsua_acc_config cfg; - - pjsua_acc_config_default(&cfg); - cfg.id = pj_str("sip:" SIP_USER "@" SIP_DOMAIN); - cfg.reg_uri = pj_str("sip:" SIP_DOMAIN); - cfg.cred_count = 1; - cfg.cred_info[0].realm = pj_str("*"); - cfg.cred_info[0].scheme = pj_str("digest"); - cfg.cred_info[0].username = pj_str(SIP_USER); - cfg.cred_info[0].data_type = PJSIP_CRED_DATA_PLAIN_PASSWD; - cfg.cred_info[0].data = pj_str(SIP_PASSWD); - - status = pjsua_acc_add(&cfg, PJ_TRUE, &g_acc_id); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error adding account", status); - pjsua_destroy(); - return status; - } - } - - if (SIP_DST_URI) { - pjsua_buddy_config bcfg; - - pjsua_buddy_config_default(&bcfg); - bcfg.uri = pj_str(SIP_DST_URI); - bcfg.subscribe = PJ_FALSE; - - pjsua_buddy_add(&bcfg, &g_buddy_id); - } - return PJ_SUCCESS; -} - - -//////////////////////////////////////////////////////////////////////////// -/* - * The interractive console UI - */ -#include - -class ConsoleUI : public CActive -{ -public: - ConsoleUI(CConsoleBase *con); - ~ConsoleUI(); - - // Run console UI - void Run(); - - // Stop - void Stop(); - -protected: - // Cancel asynchronous read. - void DoCancel(); - - // Implementation: called when read has completed. - void RunL(); - -private: - CConsoleBase *con_; -}; - - -ConsoleUI::ConsoleUI(CConsoleBase *con) -: CActive(EPriorityStandard), con_(con) -{ - CActiveScheduler::Add(this); -} - -ConsoleUI::~ConsoleUI() -{ - Stop(); -} - -// Run console UI -void ConsoleUI::Run() -{ - con_->Read(iStatus); - SetActive(); -} - -// Stop console UI -void ConsoleUI::Stop() -{ - Cancel(); -} - -// Cancel asynchronous read. -void ConsoleUI::DoCancel() -{ - con_->ReadCancel(); -} - -static void PrintMainMenu() -{ - const char *menu = - "\n\n" - "Main Menu:\n" - " d Enable/disable codecs\n" - " m Call " SIP_DST_URI "\n" - " a Answer call\n" - " g Hangup all calls\n" - " t Toggle audio route\n" -#if !defined(PJMEDIA_CONF_USE_SWITCH_BOARD) || PJMEDIA_CONF_USE_SWITCH_BOARD==0 - " j Toggle loopback audio\n" -#endif - "up/dn Increase/decrease output volume\n" - " s Subscribe " SIP_DST_URI "\n" - " S Unsubscribe presence\n" - " o Set account online\n" - " O Set account offline\n" - " w Quit\n"; - - PJ_LOG(3, (THIS_FILE, menu)); -} - -static void PrintCodecMenu() -{ - const char *menu = - "\n\n" - "Codec Menu:\n" - " a Enable all codecs\n" -#if PJMEDIA_HAS_PASSTHROUGH_CODECS && PJMEDIA_HAS_PASSTHROUGH_CODEC_AMR - " d Enable only AMR\n" -#endif -#if PJMEDIA_HAS_PASSTHROUGH_CODECS && PJMEDIA_HAS_PASSTHROUGH_CODEC_G729 - " g Enable only G.729\n" -#endif -#if PJMEDIA_HAS_PASSTHROUGH_CODECS && PJMEDIA_HAS_PASSTHROUGH_CODEC_ILBC - " j Enable only iLBC\n" -#endif - " m Enable only Speex\n" - " p Enable only GSM\n" - " t Enable only PCMU\n" - " w Enable only PCMA\n"; - - PJ_LOG(3, (THIS_FILE, menu)); -} - -static void HandleMainMenu(TKeyCode kc) { - switch (kc) { - - case EKeyUpArrow: - case EKeyDownArrow: - { - unsigned vol; - pj_status_t status; - - status = pjsua_snd_get_setting( - PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING, &vol); - if (status == PJ_SUCCESS) { - if (kc == EKeyUpArrow) - vol = PJ_MIN(100, vol+10); - else - vol = (vol>=10 ? vol-10 : 0); - status = pjsua_snd_set_setting( - PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING, - &vol, PJ_TRUE); - } - - if (status == PJ_SUCCESS) { - PJ_LOG(3,(THIS_FILE, "Output volume set to %d", vol)); - } else { - pjsua_perror(THIS_FILE, "Error setting volume", status); - } - } - break; - - case 't': - { - pjmedia_aud_dev_route route; - pj_status_t status; - - status = pjsua_snd_get_setting(PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE, - &route); - - if (status == PJ_SUCCESS) { - if (route == PJMEDIA_AUD_DEV_ROUTE_LOUDSPEAKER) - route = PJMEDIA_AUD_DEV_ROUTE_EARPIECE; - else - route = PJMEDIA_AUD_DEV_ROUTE_LOUDSPEAKER; - - status = pjsua_snd_set_setting( - PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE, - &route, PJ_TRUE); - } - - if (status != PJ_SUCCESS) - pjsua_perror(THIS_FILE, "Error switch audio route", status); - } - break; - - case 'j': - { - static pj_bool_t loopback_active = PJ_FALSE; - if (!loopback_active) - pjsua_conf_connect(0, 0); - else - pjsua_conf_disconnect(0, 0); - loopback_active = !loopback_active; - } - break; - - case 'm': - if (g_call_id != PJSUA_INVALID_ID) { - PJ_LOG(3,(THIS_FILE, "Another call is active")); - break; - } - - if (pjsua_verify_url(SIP_DST_URI) == PJ_SUCCESS) { - pj_str_t dst = pj_str(SIP_DST_URI); - pjsua_call_make_call(g_acc_id, &dst, 0, NULL, - NULL, &g_call_id); - } else { - PJ_LOG(3,(THIS_FILE, "Invalid SIP URI")); - } - break; - case 'a': - if (g_call_id != PJSUA_INVALID_ID) - pjsua_call_answer(g_call_id, 200, NULL, NULL); - break; - case 'g': - pjsua_call_hangup_all(); - break; - case 's': - case 'S': - if (g_buddy_id != PJSUA_INVALID_ID) - pjsua_buddy_subscribe_pres(g_buddy_id, kc=='s'); - break; - case 'o': - case 'O': - pjsua_acc_set_online_status(g_acc_id, kc=='o'); - break; - - default: - PJ_LOG(3,(THIS_FILE, "Keycode '%c' (%d) is pressed", kc, kc)); - break; - } - - PrintMainMenu(); -} - -static void HandleCodecMenu(TKeyCode kc) { - const pj_str_t ID_ALL = {"*", 1}; - pj_str_t codec = {NULL, 0}; - - if (kc == 'a') { - pjsua_codec_set_priority(&ID_ALL, PJMEDIA_CODEC_PRIO_NORMAL); - PJ_LOG(3,(THIS_FILE, "All codecs activated")); - } else { - switch (kc) { - case 'd': - codec = pj_str("AMR"); - break; - case 'g': - codec = pj_str("G729"); - break; - case 'j': - codec = pj_str("ILBC"); - break; - case 'm': - codec = pj_str("SPEEX/8000"); - break; - case 'p': - codec = pj_str("GSM"); - break; - case 't': - codec = pj_str("PCMU"); - break; - case 'w': - codec = pj_str("PCMA"); - break; - default: - PJ_LOG(3,(THIS_FILE, "Keycode '%c' (%d) is pressed", kc, kc)); - break; - } - - if (codec.slen) { - pj_status_t status; - - pjsua_codec_set_priority(&ID_ALL, PJMEDIA_CODEC_PRIO_DISABLED); - - status = pjsua_codec_set_priority(&codec, - PJMEDIA_CODEC_PRIO_NORMAL); - if (status == PJ_SUCCESS) - PJ_LOG(3,(THIS_FILE, "%s activated", codec.ptr)); - else - PJ_LOG(3,(THIS_FILE, "Failed activating %s, err=%d", - codec.ptr, status)); - } - } -} - -// Implementation: called when read has completed. -void ConsoleUI::RunL() -{ - enum { - MENU_TYPE_MAIN = 0, - MENU_TYPE_CODEC = 1 - }; - static int menu_type = MENU_TYPE_MAIN; - TKeyCode kc = con_->KeyCode(); - pj_bool_t reschedule = PJ_TRUE; - - if (menu_type == MENU_TYPE_MAIN) { - if (kc == 'w') { - CActiveScheduler::Stop(); - reschedule = PJ_FALSE; - } else if (kc == 'd') { - menu_type = MENU_TYPE_CODEC; - PrintCodecMenu(); - } else { - HandleMainMenu(kc); - } - } else { - HandleCodecMenu(kc); - - menu_type = MENU_TYPE_MAIN; - PrintMainMenu(); - } - - if (reschedule) - Run(); -} - -#if 0 -// IP networking related testing -static pj_status_t test_addr(void) -{ - int af; - unsigned i, count; - pj_addrinfo ai[8]; - pj_sockaddr ifs[8]; - const pj_str_t *hostname; - pj_hostent he; - pj_status_t status; - - pj_log_set_log_func(&log_writer); - - status = pj_init(); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "pj_init() error", status); - return status; - } - - af = pj_AF_INET(); - -#if 0 - pj_in_addr in_addr; - pj_str_t aa = pj_str("1.1.1.1"); - in_addr = pj_inet_addr(&aa); - char *the_addr = pj_inet_ntoa(in_addr); - PJ_LOG(3,(THIS_FILE, "IP addr=%s", the_addr)); - - aa = pj_str("192.168.0.15"); - in_addr = pj_inet_addr(&aa); - the_addr = pj_inet_ntoa(in_addr); - PJ_LOG(3,(THIS_FILE, "IP addr=%s", the_addr)); - - aa = pj_str("2.2.2.2"); - in_addr = pj_inet_addr(&aa); - the_addr = pj_inet_ntoa(in_addr); - PJ_LOG(3,(THIS_FILE, "IP addr=%s", the_addr)); - - return -1; -#endif - - // Hostname - hostname = pj_gethostname(); - if (hostname == NULL) { - status = PJ_ERESOLVE; - pjsua_perror(THIS_FILE, "pj_gethostname() error", status); - goto on_return; - } - - PJ_LOG(3,(THIS_FILE, "Hostname: %.*s", hostname->slen, hostname->ptr)); - - // Gethostbyname - status = pj_gethostbyname(hostname, &he); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "pj_gethostbyname() error", status); - } else { - PJ_LOG(3,(THIS_FILE, "gethostbyname: %s", - pj_inet_ntoa(*(pj_in_addr*)he.h_addr))); - } - - // Getaddrinfo - count = PJ_ARRAY_SIZE(ai); - status = pj_getaddrinfo(af, hostname, &count, ai); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "pj_getaddrinfo() error", status); - } else { - for (i=0; i - -#if 0 -// Force network connection to use the first IAP, -// this is useful for debugging on emulator without GUI. -// Include commdb.lib & apengine.lib in symbian_ua.mmp file -// if this is enabled. - -#include - -inline void ForceUseFirstIAP() -{ - TUint32 rank = 1; - TUint32 bearers; - TUint32 prompt; - TUint32 iap; - - CCommsDatabase* commDb = CCommsDatabase::NewL(EDatabaseTypeIAP); - CleanupStack::PushL(commDb); - - CApDataHandler* apDataHandler = CApDataHandler::NewLC(*commDb); - - TCommDbConnectionDirection direction = ECommDbConnectionDirectionOutgoing; - apDataHandler->GetPreferredIfDbIapTypeL(rank, direction, bearers, prompt, iap); - prompt = ECommDbDialogPrefDoNotPrompt; - apDataHandler->SetPreferredIfDbIapTypeL(rank, direction, bearers, (TCommDbDialogPref)prompt, iap, ETrue); - CleanupStack::PopAndDestroy(2); // apDataHandler, commDb -} - -static void SelectIAP() -{ - ForceUseFirstIAP(); -} - -#else - -static void SelectIAP() -{ -} - -#endif - - -// Class CConnMon to monitor network connection (RConnection). Whenever -// the connection is down, it will notify PJLIB and restart PJSUA-LIB. -class CConnMon : public CActive { -public: - static CConnMon* NewL(RConnection &conn, RSocketServ &sserver) { - CConnMon *self = new (ELeave) CConnMon(conn, sserver); - CleanupStack::PushL(self); - self->ConstructL(); - CleanupStack::Pop(self); - return self; - } - - void Start() { - conn_.ProgressNotification(nif_progress_, iStatus); - SetActive(); - } - - void Stop() { - Cancel(); - } - - ~CConnMon() { Stop(); } - -private: - CConnMon(RConnection &conn, RSocketServ &sserver) : - CActive(EPriorityHigh), - conn_(conn), - sserver_(sserver) - { - CActiveScheduler::Add(this); - } - - void ConstructL() {} - - void DoCancel() { - conn_.CancelProgressNotification(); - } - - void RunL() { - int stage = nif_progress_().iStage; - - if (stage == KLinkLayerClosed) { - pj_status_t status; - TInt err; - - // Tell pjlib that connection is down. - pj_symbianos_set_connection_status(PJ_FALSE); - - PJ_LOG(3, (THIS_FILE, "RConnection closed, restarting PJSUA..")); - - // Destroy pjsua - pjsua_destroy(); - PJ_LOG(3, (THIS_FILE, "PJSUA destroyed.")); - - // Reopen the connection - err = conn_.Open(sserver_); - if (err == KErrNone) - err = conn_.Start(); - if (err != KErrNone) { - CActiveScheduler::Stop(); - return; - } - - // Reinit Symbian OS param before pj_init() - pj_symbianos_params sym_params; - pj_bzero(&sym_params, sizeof(sym_params)); - sym_params.rsocketserv = &sserver_; - sym_params.rconnection = &conn_; - pj_symbianos_set_params(&sym_params); - - // Reinit pjsua - status = app_startup(); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "app_startup() error", status); - CActiveScheduler::Stop(); - return; - } - - PJ_LOG(3, (THIS_FILE, "PJSUA restarted.")); - PrintMainMenu(); - } - - Start(); - } - - RConnection& conn_; - RSocketServ& sserver_; - TNifProgressBuf nif_progress_; -}; - -//////////////////////////////////////////////////////////////////////////// -int ua_main() -{ - RSocketServ aSocketServer; - RConnection aConn; - TInt err; - pj_symbianos_params sym_params; - pj_status_t status; - - SelectIAP(); - - // Initialize RSocketServ - if ((err=aSocketServer.Connect(32)) != KErrNone) - return PJ_STATUS_FROM_OS(err); - - // Open up a connection - if ((err=aConn.Open(aSocketServer)) != KErrNone) { - aSocketServer.Close(); - return PJ_STATUS_FROM_OS(err); - } - - if ((err=aConn.Start()) != KErrNone) { - aSocketServer.Close(); - return PJ_STATUS_FROM_OS(err); - } - - // Set Symbian OS parameters in pjlib. - // This must be done before pj_init() is called. - pj_bzero(&sym_params, sizeof(sym_params)); - sym_params.rsocketserv = &aSocketServer; - sym_params.rconnection = &aConn; - pj_symbianos_set_params(&sym_params); - - // Initialize pjsua - status = app_startup(); - //status = test_addr(); - if (status != PJ_SUCCESS) { - aConn.Close(); - aSocketServer.Close(); - return status; - } - - - // Run the UI - ConsoleUI *con = new ConsoleUI(console); - - con->Run(); - PrintMainMenu(); - - // Init & start connection monitor - CConnMon *connmon = CConnMon::NewL(aConn, aSocketServer); - connmon->Start(); - - CActiveScheduler::Start(); - - delete connmon; - delete con; - - // Dump memory statistics - PJ_LOG(3,(THIS_FILE, "Max heap usage: %u.%03uMB", - pjsua_var.cp.peak_used_size / 1000000, - (pjsua_var.cp.peak_used_size % 1000000)/1000)); - - // check max stack usage -#if defined(PJ_OS_HAS_CHECK_STACK) && PJ_OS_HAS_CHECK_STACK!=0 - pj_thread_t* this_thread = pj_thread_this(); - if (!this_thread) - return status; - - const char* max_stack_file; - int max_stack_line; - status = pj_thread_get_stack_info(this_thread, &max_stack_file, &max_stack_line); - - PJ_LOG(3,(THIS_FILE, "Max stack usage: %u at %s:%d", - pj_thread_get_stack_max_usage(this_thread), - max_stack_file, max_stack_line)); -#endif - - // Shutdown pjsua - pjsua_destroy(); - - // Close connection and socket server - aConn.Close(); - aSocketServer.Close(); - - return status; -} - diff --git a/res/pjproject/pjsip-apps/src/symbian_ua/ua.h b/res/pjproject/pjsip-apps/src/symbian_ua/ua.h deleted file mode 100644 index 35f46e34db..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua/ua.h +++ /dev/null @@ -1,24 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include - -extern CConsoleBase* console; - -int ua_main(); diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/application.uidesign b/res/pjproject/pjsip-apps/src/symbian_ua_gui/application.uidesign deleted file mode 100644 index 3d2479b4b3..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/application.uidesign +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - data - com.nokia.series60 - 3.0.1 - com.nokia.sdt.component.symbian.Symbian-Provider - inc - symbian_ua_guiAppUi - src - loc - symbian_ua_gui - com.nokia.sdt.sourcegen.Symbian-Provider - group - - Csymbian_ua_guiApplication - symbian_ua_gui - symbian_ua_guiApplication - 0xEBD12EE4 - - Csymbian_ua_guiDocument - symbian_ua_guiDocument - - aknViewReference2 - Csymbian_ua_guiAppUi - - 52 - 45 - - symbian_ua_guiAppUi - - 240 - 320 - - - - 20 - - statusPane - - 204 - 66 - - - STR_symbian_ua_guiApplication_2 - - 56 - - STR_symbian_ua_guiApplication_1 - caption - - 148 - 43 - - - - - - 288 - - - controlPane - - 240 - 32 - - - - symbian_ua_guiContainer.uidesign - symbian_ua_guiContainer - - aknViewReference1 - - - symbian_ua_guiSettingItemList.uidesign - symbian_ua_guiSettingItemList - - aknViewReference2 - - - - 0 - 171 - - dlg_wait_init - STR_symbian_ua_guiApplication_3 - - 240 - 149 - - - - - - - - - symbian_ua_gui - symbian_ua_gui - Please wait... - - - - - - r_application_symbian_ua_gui_app_ui - r_application_status_pane - r_application_akn_view_reference2 - r_application_dlg_wait_init - r_localisable_app_info - r_application_akn_view_reference1 - - - ESymbian_ua_guiSettingItemListViewId - ESymbian_ua_guiApplicationDlg_wait_init - ESymbian_ua_guiContainerViewId - - - - - src/symbian_ua_guiAppUi.cpp - src/symbian_ua_guiDocument.cpp - inc/symbian_ua_guiApplication.h - src/symbian_ua_guiApplication.cpp - inc/symbian_ua_guiAppUi.h - inc/symbian_ua_guiDocument.h - data/symbian_ua_gui.rss - data/symbian_ua_guiContainer.rssi - inc/symbian_ua_gui.hrh - inc/symbian_ua_guiContainer.hrh - data/symbian_ua_guiSettingItemList.rssi - inc/symbian_ua_guiSettingItemList.hrh - data/symbian_ua_gui.loc - data/symbian_ua_gui.l01 - data/symbian_ua_guiContainer.loc - data/symbian_ua_guiContainer.l01 - data/symbian_ua_guiSettingItemList.loc - data/symbian_ua_guiSettingItemList.l01 - - diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_gui.l01 b/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_gui.l01 deleted file mode 100644 index c39237eaf2..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_gui.l01 +++ /dev/null @@ -1,12 +0,0 @@ -/* -======================================================================== - Name : symbian_ua_gui.l01 - Author : nanang - Copyright : (c) PJSIP 2008 - Description : -======================================================================== -*/ -// localized strings for language: UK English (01) -#define STR_symbian_ua_guiApplication_1 "symbian_ua_gui" -#define STR_symbian_ua_guiApplication_2 "symbian_ua_gui" -#define STR_symbian_ua_guiApplication_3 "Please wait..." diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_gui.loc b/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_gui.loc deleted file mode 100644 index 00c539c7ec..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_gui.loc +++ /dev/null @@ -1,11 +0,0 @@ -/* -======================================================================== - Name : symbian_ua_gui.loc - Author : nanang - Copyright : (c) PJSIP 2008 - Description : -======================================================================== -*/ -#ifdef LANGUAGE_01 -#include "symbian_ua_gui.l01" -#endif diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_gui.rss b/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_gui.rss deleted file mode 100644 index 7773f8cefc..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_gui.rss +++ /dev/null @@ -1,71 +0,0 @@ -/* -======================================================================== - Name : symbian_ua_gui.rss - Author : nanang - Copyright : (c) PJSIP 2008 - Description : -======================================================================== -*/ -NAME SYMB - -#include -#include -#include -#include -#include "symbian_ua_gui.hrh" -#include "symbian_ua_gui.loc" - -RESOURCE RSS_SIGNATURE - { - } -RESOURCE TBUF - { - buf = "symbian_ua_gui"; - } -RESOURCE EIK_APP_INFO r_application_symbian_ua_gui_app_ui - { - cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; - status_pane = r_application_status_pane; - } -RESOURCE STATUS_PANE_APP_MODEL r_application_status_pane - { - } -RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info - { - short_caption = STR_symbian_ua_guiApplication_2; - caption_and_icon = CAPTION_AND_ICON_INFO - { - caption = STR_symbian_ua_guiApplication_1; - number_of_icons = 0; - }; - } -RESOURCE TBUF r_application_akn_view_reference1 - { - } - -RESOURCE TBUF r_application_akn_view_reference2 - { - } - -RESOURCE DIALOG r_application_dlg_wait_init - { - flags = EAknWaitNoteFlags; - buttons = R_AVKON_SOFTKEYS_CANCEL; - items = - { - DLG_LINE - { - type = EAknCtNote; - id = ESymbian_ua_guiApplicationDlg_wait_init; - control = AVKON_NOTE - { - layout = EWaitLayout; - singular_label = STR_symbian_ua_guiApplication_3; - animation = R_QGN_GRAF_WAIT_BAR_ANIM; - }; - } - }; - } - -#include "symbian_ua_guiContainer.rssi" -#include "symbian_ua_guiSettingItemList.rssi" diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_guiContainer.l01 b/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_guiContainer.l01 deleted file mode 100644 index 155647fd48..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_guiContainer.l01 +++ /dev/null @@ -1,21 +0,0 @@ -/* -======================================================================== - Name : symbian_ua_guiContainer.l01 - Author : nanang - Copyright : (c) PJSIP 2008 - Description : -======================================================================== -*/ -// localized strings for language: UK English (01) -#define STR_symbian_ua_guiContainerView_1 "PJSUA for S60" -#define STR_symbian_ua_guiContainerView_7 "Options" -#define STR_symbian_ua_guiContainerView_8 "Call" -#define STR_symbian_ua_guiContainerView_2 "URL" -#define STR_symbian_ua_guiContainerView_4 "sip:" -#define STR_symbian_ua_guiContainerView_9 "Setting" -#define STR_symbian_ua_guiContainerView_10 "Exit" -#define STR_symbian_ua_guiContainerView_3 "" -#define STR_symbian_ua_guiContainerView_13 "Failed initializing PJSUA!" -#define STR_symbian_ua_guiContainerView_16 "Register Success" -#define STR_symbian_ua_guiContainerView_17 "Register Failed" -#define STR_symbian_ua_guiContainerView_18 "Accept Call" diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_guiContainer.loc b/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_guiContainer.loc deleted file mode 100644 index 7709513b95..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_guiContainer.loc +++ /dev/null @@ -1,11 +0,0 @@ -/* -======================================================================== - Name : symbian_ua_guiContainer.loc - Author : nanang - Copyright : (c) PJSIP 2008 - Description : -======================================================================== -*/ -#ifdef LANGUAGE_01 -#include "symbian_ua_guiContainer.l01" -#endif diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_guiContainer.rssi b/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_guiContainer.rssi deleted file mode 100644 index 577a99d9d3..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_guiContainer.rssi +++ /dev/null @@ -1,141 +0,0 @@ -/* -======================================================================== - Name : symbian_ua_guiContainer.rssi - Author : nanang - Copyright : (c) PJSIP 2008 - Description : -======================================================================== -*/ -#include "symbian_ua_guiContainer.hrh" -#include "symbian_ua_guiContainer.loc" - -RESOURCE AVKON_VIEW r_symbian_ua_gui_container_symbian_ua_gui_container_view - { - cba = r_symbian_ua_gui_container_control_pane; - menubar = r_symbian_ua_gui_container_options_menu; - } -RESOURCE MENU_BAR r_symbian_ua_gui_container_options_menu - {titles = - { - MENU_TITLE - { - menu_pane = r_symbian_ua_gui_container_menu_pane1_menu_pane; - } - }; - - } -RESOURCE STATUS_PANE_APP_MODEL r_symbian_ua_gui_container_status_pane - { - panes = - { - SPANE_PANE - { - id = EEikStatusPaneUidTitle; - type = EAknCtTitlePane; - resource = r_symbian_ua_gui_container_title_resource; - } - }; - } -RESOURCE TITLE_PANE r_symbian_ua_gui_container_title_resource - { - txt = STR_symbian_ua_guiContainerView_1; - } -RESOURCE CBA r_symbian_ua_gui_container_control_pane - { - buttons = - { - CBA_BUTTON - { - id = EAknSoftkeyOptions; - txt = STR_symbian_ua_guiContainerView_7; - }, - CBA_BUTTON - { - id = ESymbian_ua_guiContainerViewControlPaneRightId; - txt = STR_symbian_ua_guiContainerView_8; - } - }; - } -RESOURCE LABEL r_symbian_ua_gui_container_label1 - { - txt = STR_symbian_ua_guiContainerView_2; - horiz_align = EEikLabelAlignHCenter; - } -RESOURCE EDWIN r_symbian_ua_gui_container_ed_url - { - maxlength = 255; - default_case = EAknEditorLowerCase; - allowed_case_modes = EAknEditorAllCaseModes; - numeric_keymap = EAknEditorStandardNumberModeKeymap; - default_input_mode = EAknEditorTextInputMode; - allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode | EAknEditorSecretAlphaInputMode | EAknEditorFullWidthTextInputMode | EAknEditorFullWidthNumericInputMode | EAknEditorHalfWidthTextInputMode; - special_character_table = R_AVKON_URL_SPECIAL_CHARACTER_TABLE_DIALOG; - avkon_flags = EAknEditorFlagNoT9 | EAknEditorFlagSupressShiftMenu; - } -RESOURCE TBUF r_symbian_ua_gui_container_ed_url_2 - { - buf = STR_symbian_ua_guiContainerView_4; - } -RESOURCE MENU_PANE r_symbian_ua_gui_container_menu_pane1_menu_pane - { - items = - { - MENU_ITEM - { - command = ESymbian_ua_guiContainerViewSettingMenuItemCommand; - txt = STR_symbian_ua_guiContainerView_9; - }, - MENU_ITEM - { - command = EAknCmdExit; - txt = STR_symbian_ua_guiContainerView_10; - } - }; - } -RESOURCE EDWIN r_symbian_ua_gui_container_ed_info - { - flags = EEikEdwinReadOnly; - lines = 10; - maxlength = 2000; - default_case = EAknEditorTextCase; - allowed_case_modes = EAknEditorAllCaseModes; - numeric_keymap = EAknEditorStandardNumberModeKeymap; - default_input_mode = EAknEditorTextInputMode; - allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode | EAknEditorSecretAlphaInputMode | EAknEditorKatakanaInputMode | EAknEditorFullWidthTextInputMode | EAknEditorFullWidthNumericInputMode | EAknEditorFullWidthKatakanaInputMode | EAknEditorHiraganaKanjiInputMode | EAknEditorHalfWidthTextInputMode; - avkon_flags = EAknEditorFlagNoEditIndicators | EAknEditorFlagEnableScrollBars; - special_character_table = 0; - } -RESOURCE TBUF r_symbian_ua_gui_container_ed_info_2 - { - buf = STR_symbian_ua_guiContainerView_3; - } -RESOURCE TBUF r_symbian_ua_gui_container_note_error - { - buf = STR_symbian_ua_guiContainerView_13; - } -RESOURCE TBUF r_symbian_ua_gui_container_note_info - { - buf = STR_symbian_ua_guiContainerView_16; - } -RESOURCE TBUF r_symbian_ua_gui_container_note_warning - { - buf = STR_symbian_ua_guiContainerView_17; - } -RESOURCE DIALOG r_symbian_ua_gui_container_qry_accept_call - { - flags = EAknGeneralQueryFlags; - buttons = R_AVKON_SOFTKEYS_YES_NO; - items = - { - DLG_LINE - { - type = EAknCtQuery; - id = ESymbian_ua_guiContainerViewQry_accept_call; - control = AVKON_CONFIRMATION_QUERY - { - layout = EConfirmationQueryLayout; - label = STR_symbian_ua_guiContainerView_18; - }; - } - }; - } diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_guiSettingItemList.l01 b/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_guiSettingItemList.l01 deleted file mode 100644 index 6090e6e26b..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_guiSettingItemList.l01 +++ /dev/null @@ -1,31 +0,0 @@ -/* -======================================================================== - Name : symbian_ua_guiSettingItemList.l01 - Author : nanang - Copyright : (c) PJSIP 2008 - Description : -======================================================================== -*/ -// localized strings for language: UK English (01) -#define STR_symbian_ua_guiSettingItemListView_1 "Settings" -#define STR_symbian_ua_guiSettingItemListView_2 "Account Settings" -#define STR_symbian_ua_guiSettingItemListView_4 "Change" -#define STR_symbian_ua_guiSettingItemListView_16 "Password" -#define STR_symbian_ua_guiSettingItemListView_18 "" -#define STR_symbian_ua_guiSettingItemListView_19 "STUN Server" -#define STR_symbian_ua_guiSettingItemListView_24 "SRTP" -#define STR_symbian_ua_guiSettingItemListView_25 "On" -#define STR_symbian_ua_guiSettingItemListView_26 "Popup text for On" -#define STR_symbian_ua_guiSettingItemListView_27 "Off" -#define STR_symbian_ua_guiSettingItemListView_28 "Popup text for Off" -#define STR_symbian_ua_guiSettingItemListView_3 "" -#define STR_symbian_ua_guiSettingItemListView_5 "Registrar" -#define STR_symbian_ua_guiSettingItemListView_7 "" -#define STR_symbian_ua_guiSettingItemListView_8 "User" -#define STR_symbian_ua_guiSettingItemListView_46 "ICE" -#define STR_symbian_ua_guiSettingItemListView_47 "On" -#define STR_symbian_ua_guiSettingItemListView_48 "Popup text for On" -#define STR_symbian_ua_guiSettingItemListView_49 "Off" -#define STR_symbian_ua_guiSettingItemListView_140 "Options" -#define STR_symbian_ua_guiSettingItemListView_141 "Done" -#define STR_symbian_ua_guiSettingItemListView_50 "Popup text for Off" diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_guiSettingItemList.loc b/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_guiSettingItemList.loc deleted file mode 100644 index fe9c9ce377..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_guiSettingItemList.loc +++ /dev/null @@ -1,11 +0,0 @@ -/* -======================================================================== - Name : symbian_ua_guiSettingItemList.loc - Author : nanang - Copyright : (c) PJSIP 2008 - Description : -======================================================================== -*/ -#ifdef LANGUAGE_01 -#include "symbian_ua_guiSettingItemList.l01" -#endif diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_guiSettingItemList.rssi b/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_guiSettingItemList.rssi deleted file mode 100644 index 2c636c207d..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_guiSettingItemList.rssi +++ /dev/null @@ -1,275 +0,0 @@ -/* -======================================================================== - Name : symbian_ua_guiSettingItemList.rssi - Author : nanang - Copyright : (c) PJSIP 2008 - Description : -======================================================================== -*/ -#include "symbian_ua_guiSettingItemList.hrh" -#include "symbian_ua_guiSettingItemList.loc" - -RESOURCE AVKON_VIEW r_symbian_ua_gui_setting_item_list_symbian_ua_gui_setting_item_list_view - { - cba = r_symbian_ua_gui_setting_item_list_control_pane; - menubar = r_symbian_ua_gui_setting_item_list_options_menu; - } -RESOURCE MENU_BAR r_symbian_ua_gui_setting_item_list_options_menu - { - titles = - { - MENU_TITLE - { - menu_pane = r_symbian_ua_gui_setting_item_list_menu_pane1_menu_pane; - } - }; - } -RESOURCE MENU_PANE r_symbian_ua_gui_setting_item_list_menu_pane1_menu_pane - { - items = - { - MENU_ITEM - { - command = ESymbian_ua_guiSettingItemListViewMenuItem1Command; - txt = STR_symbian_ua_guiSettingItemListView_4; - } - }; - } -RESOURCE STATUS_PANE_APP_MODEL r_symbian_ua_gui_setting_item_list_status_pane - { - panes = - { - SPANE_PANE - { - id = EEikStatusPaneUidTitle; - type = EAknCtTitlePane; - resource = r_symbian_ua_gui_setting_item_list_title_resource; - } - }; - } -RESOURCE TITLE_PANE r_symbian_ua_gui_setting_item_list_title_resource - { - txt = STR_symbian_ua_guiSettingItemListView_2; - } -RESOURCE AVKON_SETTING_ITEM_LIST r_symbian_ua_gui_setting_item_list_symbian_ua_gui_setting_item_list - { - items = - { - AVKON_SETTING_ITEM - { - name = STR_symbian_ua_guiSettingItemListView_5; - identifier = ESymbian_ua_guiSettingItemListViewEd_registrar; - setting_page_resource = r_symbian_ua_gui_setting_item_list_ed_registrar_setting_page_resource; - }, - AVKON_SETTING_ITEM - { - name = STR_symbian_ua_guiSettingItemListView_8; - identifier = ESymbian_ua_guiSettingItemListViewEd_user; - setting_page_resource = r_symbian_ua_gui_setting_item_list_ed_user_setting_page_resource; - }, - AVKON_SETTING_ITEM - { - name = STR_symbian_ua_guiSettingItemListView_16; - identifier = ESymbian_ua_guiSettingItemListViewEd_password; - setting_page_resource = r_symbian_ua_gui_setting_item_list_ed_password_setting_page_resource; - }, - AVKON_SETTING_ITEM - { - name = STR_symbian_ua_guiSettingItemListView_24; - identifier = ESymbian_ua_guiSettingItemListViewB_srtp; - setting_page_resource = r_symbian_ua_gui_setting_item_list_b_srtp_setting_page_resource; - associated_resource = r_symbian_ua_gui_setting_item_list_b_srtp; - }, - AVKON_SETTING_ITEM - { - name = STR_symbian_ua_guiSettingItemListView_46; - identifier = ESymbian_ua_guiSettingItemListViewB_ice; - setting_page_resource = r_symbian_ua_gui_setting_item_list_b_ice_setting_page_resource; - associated_resource = r_symbian_ua_gui_setting_item_list_b_ice; - }, - AVKON_SETTING_ITEM - { - name = STR_symbian_ua_guiSettingItemListView_19; - identifier = ESymbian_ua_guiSettingItemListViewEd_stun_server; - setting_page_resource = r_symbian_ua_gui_setting_item_list_ed_stun_server_setting_page_resource; - } - }; - } -RESOURCE CBA r_symbian_ua_gui_setting_item_list_control_pane - { - buttons = - { - CBA_BUTTON - { - id = EAknSoftkeyOptions; - txt = STR_symbian_ua_guiSettingItemListView_140; - }, - CBA_BUTTON - { - id = EAknSoftkeySave; - txt = STR_symbian_ua_guiSettingItemListView_141; - } - }; - } -RESOURCE AVKON_SETTING_PAGE r_symbian_ua_gui_setting_item_list_ed_registrar_setting_page_resource - { - number = -16380; - label = STR_symbian_ua_guiSettingItemListView_5; - type = EEikCtEdwin; - editor_resource_id = r_symbian_ua_gui_setting_item_list_ed_registrar_editor_resource_id; - } -RESOURCE EDWIN r_symbian_ua_gui_setting_item_list_ed_registrar_editor_resource_id - { - maxlength = 255; - default_case = EAknEditorLowerCase; - allowed_case_modes = EAknEditorAllCaseModes; - numeric_keymap = EAknEditorStandardNumberModeKeymap; - default_input_mode = EAknEditorTextInputMode; - allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode | EAknEditorSecretAlphaInputMode | EAknEditorKatakanaInputMode | EAknEditorFullWidthTextInputMode | EAknEditorFullWidthNumericInputMode | EAknEditorFullWidthKatakanaInputMode | EAknEditorHiraganaKanjiInputMode | EAknEditorHalfWidthTextInputMode; - special_character_table = 0; - } -RESOURCE AVKON_SETTING_PAGE r_symbian_ua_gui_setting_item_list_ed_user_setting_page_resource - { - number = -16380; - label = STR_symbian_ua_guiSettingItemListView_8; - type = EEikCtEdwin; - editor_resource_id = r_symbian_ua_gui_setting_item_list_ed_user_editor_resource_id; - } -RESOURCE EDWIN r_symbian_ua_gui_setting_item_list_ed_user_editor_resource_id - { - maxlength = 255; - default_case = EAknEditorLowerCase; - allowed_case_modes = EAknEditorAllCaseModes; - numeric_keymap = EAknEditorStandardNumberModeKeymap; - default_input_mode = EAknEditorTextInputMode; - allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode | EAknEditorSecretAlphaInputMode | EAknEditorKatakanaInputMode | EAknEditorFullWidthTextInputMode | EAknEditorFullWidthNumericInputMode | EAknEditorFullWidthKatakanaInputMode | EAknEditorHiraganaKanjiInputMode | EAknEditorHalfWidthTextInputMode; - special_character_table = 0; - } -RESOURCE AVKON_SETTING_PAGE r_symbian_ua_gui_setting_item_list_ed_password_setting_page_resource - { - number = -16380; - label = STR_symbian_ua_guiSettingItemListView_16; - type = EEikCtSecretEd; - editor_resource_id = r_symbian_ua_gui_setting_item_list_ed_password_editor_resource_id; - } -RESOURCE SECRETED r_symbian_ua_gui_setting_item_list_ed_password_editor_resource_id - {num_letters = 32; - - } -RESOURCE AVKON_SETTING_PAGE r_symbian_ua_gui_setting_item_list_ed_stun_server_setting_page_resource - { - number = -16380; - label = STR_symbian_ua_guiSettingItemListView_19; - type = EEikCtEdwin; - editor_resource_id = r_symbian_ua_gui_setting_item_list_ed_stun_server_editor_resource_id; - } -RESOURCE EDWIN r_symbian_ua_gui_setting_item_list_ed_stun_server_editor_resource_id - { - maxlength = 255; - default_case = EAknEditorTextCase; - allowed_case_modes = EAknEditorAllCaseModes; - numeric_keymap = EAknEditorStandardNumberModeKeymap; - default_input_mode = EAknEditorTextInputMode; - allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode | EAknEditorSecretAlphaInputMode | EAknEditorKatakanaInputMode | EAknEditorFullWidthTextInputMode | EAknEditorFullWidthNumericInputMode | EAknEditorFullWidthKatakanaInputMode | EAknEditorHiraganaKanjiInputMode | EAknEditorHalfWidthTextInputMode; - special_character_table = 0; - } -RESOURCE AVKON_SETTING_PAGE r_symbian_ua_gui_setting_item_list_b_srtp_setting_page_resource - { - number = -16380; - label = STR_symbian_ua_guiSettingItemListView_24; - type = EAknCtPopupSettingList; - editor_resource_id = r_symbian_ua_gui_setting_item_list_b_srtp_editor_resource_id; - } -RESOURCE POPUP_SETTING_LIST r_symbian_ua_gui_setting_item_list_b_srtp_editor_resource_id - { - } -RESOURCE AVKON_POPUP_SETTING_TEXTS r_symbian_ua_gui_setting_item_list_b_srtp - { - setting_texts_resource = r_symbian_ua_gui_setting_item_list_b_srtp_setting_texts_resource; - popped_up_texts_resource = r_symbian_ua_gui_setting_item_list_b_srtp_popped_up_texts_resource; - } -RESOURCE ARRAY r_symbian_ua_gui_setting_item_list_b_srtp_setting_texts_resource - { - items = - { - AVKON_ENUMERATED_TEXT - { - text = STR_symbian_ua_guiSettingItemListView_25; - value = 1; - }, - AVKON_ENUMERATED_TEXT - { - text = STR_symbian_ua_guiSettingItemListView_27; - } - }; - } -RESOURCE ARRAY r_symbian_ua_gui_setting_item_list_b_srtp_popped_up_texts_resource - { - items = - { - LBUF - { - txt = STR_symbian_ua_guiSettingItemListView_26; - }, - LBUF - { - txt = STR_symbian_ua_guiSettingItemListView_28; - } - }; - } -RESOURCE AVKON_SETTING_PAGE r_symbian_ua_gui_setting_item_list_b_ice_setting_page_resource - { - number = -16380; - label = STR_symbian_ua_guiSettingItemListView_46; - type = EAknCtPopupSettingList; - editor_resource_id = r_symbian_ua_gui_setting_item_list_b_ice_editor_resource_id; - } -RESOURCE POPUP_SETTING_LIST r_symbian_ua_gui_setting_item_list_b_ice_editor_resource_id - { - } -RESOURCE AVKON_POPUP_SETTING_TEXTS r_symbian_ua_gui_setting_item_list_b_ice - { - setting_texts_resource = r_symbian_ua_gui_setting_item_list_b_ice_setting_texts_resource; - popped_up_texts_resource = r_symbian_ua_gui_setting_item_list_b_ice_popped_up_texts_resource; - } -RESOURCE ARRAY r_symbian_ua_gui_setting_item_list_b_ice_setting_texts_resource - { - items = - { - AVKON_ENUMERATED_TEXT - { - text = STR_symbian_ua_guiSettingItemListView_47; - value = 1; - }, - AVKON_ENUMERATED_TEXT - { - text = STR_symbian_ua_guiSettingItemListView_49; - } - }; - } -RESOURCE ARRAY r_symbian_ua_gui_setting_item_list_b_ice_popped_up_texts_resource - { - items = - { - LBUF - { - txt = STR_symbian_ua_guiSettingItemListView_48; - }, - LBUF - { - txt = STR_symbian_ua_guiSettingItemListView_50; - } - }; - } -RESOURCE TBUF r_symbian_ua_gui_setting_item_list_ed_registrar - { - buf = STR_symbian_ua_guiSettingItemListView_3; - } -RESOURCE TBUF r_symbian_ua_gui_setting_item_list_ed_user - { - buf = STR_symbian_ua_guiSettingItemListView_7; - } -RESOURCE TBUF r_symbian_ua_gui_setting_item_list_ed_stun_server - { - buf = STR_symbian_ua_guiSettingItemListView_18; - } diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_gui_reg.loc b/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_gui_reg.loc deleted file mode 100644 index d980c72f63..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_gui_reg.loc +++ /dev/null @@ -1,11 +0,0 @@ -// LOCALISATION STRINGS - -// Caption string for app. -#define qtn_caption_string "symbian_ua_gui" - -// Short caption string for app. -#define qtn_short_caption_string "HW" - -#define qtn_loc_resource_file_1 "\\resource\\apps\\symbian_ua_gui" - -// End of File diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_gui_reg.rss b/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_gui_reg.rss deleted file mode 100644 index 08ea2961f3..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/data/symbian_ua_gui_reg.rss +++ /dev/null @@ -1,21 +0,0 @@ - -#include -#include -#include -#include -#include "symbian_ua_gui_reg.loc" -#include - -UID2 KUidAppRegistrationResourceFile -UID3 0xEBD12EE4 - -RESOURCE APP_REGISTRATION_INFO - { - app_file="symbian_ua_gui"; - localisable_resource_file = qtn_loc_resource_file_1; - localisable_resource_id = R_LOCALISABLE_APP_INFO; - - embeddability=KAppNotEmbeddable; - newfile=KAppDoesNotSupportNewFile; - } - diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/gfx/list_icon.bmp b/res/pjproject/pjsip-apps/src/symbian_ua_gui/gfx/list_icon.bmp deleted file mode 100644 index a874feae5f..0000000000 Binary files a/res/pjproject/pjsip-apps/src/symbian_ua_gui/gfx/list_icon.bmp and /dev/null differ diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/gfx/list_icon_mask.bmp b/res/pjproject/pjsip-apps/src/symbian_ua_gui/gfx/list_icon_mask.bmp deleted file mode 100644 index e3205279c9..0000000000 Binary files a/res/pjproject/pjsip-apps/src/symbian_ua_gui/gfx/list_icon_mask.bmp and /dev/null differ diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/gfx/mark_icon.bmp b/res/pjproject/pjsip-apps/src/symbian_ua_gui/gfx/mark_icon.bmp deleted file mode 100644 index 35571e2c24..0000000000 Binary files a/res/pjproject/pjsip-apps/src/symbian_ua_gui/gfx/mark_icon.bmp and /dev/null differ diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/gfx/mark_icon_mask.bmp b/res/pjproject/pjsip-apps/src/symbian_ua_gui/gfx/mark_icon_mask.bmp deleted file mode 100644 index dc8744bb0d..0000000000 Binary files a/res/pjproject/pjsip-apps/src/symbian_ua_gui/gfx/mark_icon_mask.bmp and /dev/null differ diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/gfx/qgn_menu_symbian_ua_gui.svg b/res/pjproject/pjsip-apps/src/symbian_ua_gui/gfx/qgn_menu_symbian_ua_gui.svg deleted file mode 100644 index c327044d3c..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/gfx/qgn_menu_symbian_ua_gui.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/group/ABLD.BAT b/res/pjproject/pjsip-apps/src/symbian_ua_gui/group/ABLD.BAT deleted file mode 100644 index b1764c3be4..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/group/ABLD.BAT +++ /dev/null @@ -1,15 +0,0 @@ -@ECHO OFF - -REM Bldmake-generated batch file - ABLD.BAT -REM ** DO NOT EDIT ** - -perl -S ABLD.PL "\project\pjproject-trunk\pjsip-apps\src\symbian_ua_gui\group\\" %1 %2 %3 %4 %5 %6 %7 %8 %9 -if errorlevel==1 goto CheckPerl -goto End - -:CheckPerl -perl -v >NUL -if errorlevel==1 echo Is Perl, version 5.003_07 or later, installed? -goto End - -:End diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/group/Icons_aif_scalable_dc.mk b/res/pjproject/pjsip-apps/src/symbian_ua_gui/group/Icons_aif_scalable_dc.mk deleted file mode 100644 index 0efaec9e71..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/group/Icons_aif_scalable_dc.mk +++ /dev/null @@ -1,71 +0,0 @@ -# ============================================================================ -# Name : Icons_aif_scalable_dc.mk -# Part of : symbian_ua_gui -# -# Description: -# -# ============================================================================ - - -ifeq (WINS,$(findstring WINS, $(PLATFORM))) -ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\Z -else -ZDIR=$(EPOCROOT)epoc32\data\z -endif - - -# ---------------------------------------------------------------------------- -# TODO: Configure these -# ---------------------------------------------------------------------------- - -TARGETDIR=$(ZDIR)\resource\apps -ICONTARGETFILENAME=$(TARGETDIR)\symbian_ua_gui_aif.mif -HEADERDIR=$(EPOCROOT)epoc32\include -HEADERFILENAME=$(HEADERDIR)\symbian_ua_gui_aif.mbg - -ICONDIR=..\gfx - -do_nothing : - @rem do_nothing - -MAKMAKE : do_nothing - -BLD : do_nothing - -CLEAN : do_nothing - -LIB : do_nothing - -CLEANLIB : do_nothing - -# ---------------------------------------------------------------------------- -# TODO: Configure these. -# -# NOTE 1: DO NOT DEFINE MASK FILE NAMES! They are included automatically by -# MifConv if the mask detph is defined. -# -# NOTE 2: Usually, source paths should not be included in the bitmap -# definitions. MifConv searches for the icons in all icon directories in a -# predefined order, which is currently \s60\icons, \s60\bitmaps2. -# The directory \s60\icons is included in the search only if the feature flag -# __SCALABLE_ICONS is defined. -# ---------------------------------------------------------------------------- -# NOTE: if you have JUSTINTIME enabled for your S60 3rd FP1 or newer SDK -# and this command crashes, consider adding "/X" to the command line. -# See -# ---------------------------------------------------------------------------- - -RESOURCE : - mifconv $(ICONTARGETFILENAME) \ - /H$(HEADERFILENAME) \ - /c32,8 $(ICONDIR)\qgn_menu_symbian_ua_gui.svg - -FREEZE : do_nothing - -SAVESPACE : do_nothing - -RELEASABLES : - @echo $(ICONTARGETFILENAME) - -FINAL : do_nothing - diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/group/bld.inf b/res/pjproject/pjsip-apps/src/symbian_ua_gui/group/bld.inf deleted file mode 100644 index 6410d52fe3..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/group/bld.inf +++ /dev/null @@ -1,12 +0,0 @@ - -PRJ_PLATFORMS -WINSCW ARMV5 GCCE - -PRJ_EXPORTS - -PRJ_MMPFILES - -gnumakefile icons_aif_scalable_dc.mk - - -symbian_ua_gui.mmp diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/group/symbian_ua_gui.mmp b/res/pjproject/pjsip-apps/src/symbian_ua_gui/group/symbian_ua_gui.mmp deleted file mode 100644 index 08789414e4..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/group/symbian_ua_gui.mmp +++ /dev/null @@ -1,102 +0,0 @@ -// The part below will be overwritten by automated test -// =BEGIN -#define SND_HAS_APS 0 -#define SND_HAS_VAS 0 -#define SND_HAS_MDA 1 -// =END - -TARGET symbian_ua_gui.exe -UID 0x100039CE 0xEBD12EE4 -VENDORID 0 -TARGETTYPE exe -EPOCSTACKSIZE 0x8000 - -MACRO PJ_M_I386=1 -MACRO PJ_SYMBIAN=1 - -SYSTEMINCLUDE \epoc32\include -SYSTEMINCLUDE \epoc32\include\variant -SYSTEMINCLUDE \epoc32\include\ecom -SYSTEMINCLUDE \epoc32\include\libc -SYSTEMINCLUDE ..\..\..\..\pjlib\include -SYSTEMINCLUDE ..\..\..\..\pjlib-util\include -SYSTEMINCLUDE ..\..\..\..\pjnath\include -SYSTEMINCLUDE ..\..\..\..\pjmedia\include -SYSTEMINCLUDE ..\..\..\..\pjsip\include - -USERINCLUDE ..\inc -USERINCLUDE ..\data - -SOURCEPATH ..\data - -START RESOURCE symbian_ua_gui.rss -HEADER -TARGETPATH resource\apps -END //RESOURCE - -START RESOURCE symbian_ua_gui_reg.rss -TARGETPATH \private\10003a3f\apps -END //RESOURCE - -LIBRARY euser.lib apparc.lib cone.lib eikcore.lib avkon.lib -LIBRARY commonengine.lib efsrv.lib estor.lib eikcoctl.lib eikdlg.lib -LIBRARY eikctl.lib bafl.lib fbscli.lib aknnotify.lib aknicon.lib -LIBRARY etext.lib gdi.lib egul.lib insock.lib -LIBRARY ecom.lib inetprotutil.lib http.lib esock.lib -LIBRARY charconv.lib estlib.lib -LIBRARY securesocket.lib x509.lib crypto.lib x500.lib -LIBRARY hal.lib - -// Ordering static libs based on dependencies, most to least dependent, -// this could be necessary for some SDKs, e.g: S60 3rd MR -STATICLIBRARY pjsua_lib.lib -STATICLIBRARY pjsip_ua.lib pjsip_simple.lib pjsip.lib -STATICLIBRARY libgsmcodec.lib libspeexcodec.lib -STATICLIBRARY libg7221codec.lib libpassthroughcodec.lib -STATICLIBRARY pjmedia.lib -STATICLIBRARY pjmedia_audiodev.lib -STATICLIBRARY pjsdp.lib -STATICLIBRARY pjnath.lib -STATICLIBRARY pjlib_util.lib pjlib.lib -STATICLIBRARY libsrtp.lib -STATICLIBRARY libresample.lib - - -#if SND_HAS_APS - LIBRARY APSSession2.lib -#endif - -#if SND_HAS_VAS - LIBRARY VoIPAudioIntfc.lib -#endif - -#if SND_HAS_MDA - LIBRARY mediaclientaudiostream.lib - LIBRARY mediaclientaudioinputstream.lib -#endif - -#if SND_HAS_APS || SND_HAS_VAS - CAPABILITY NetworkServices LocalServices ReadUserData WriteUserData UserEnvironment MultimediaDD -#else - CAPABILITY NetworkServices LocalServices ReadUserData WriteUserData UserEnvironment -#endif - -LANG 01 - -START BITMAP symbian_ua_gui.mbm -HEADER -TARGETPATH \resource\apps -SOURCEPATH ..\gfx -SOURCE c12,1 list_icon.bmp list_icon_mask.bmp -END - -SOURCEPATH ..\src -SOURCE symbian_ua_guiContainerView.cpp -SOURCE symbian_ua_guiContainer.cpp -SOURCE symbian_ua_guiAppUi.cpp -SOURCE symbian_ua_guiDocument.cpp -SOURCE symbian_ua_guiApplication.cpp -SOURCE symbian_ua_guiSettingItemList.cpp -SOURCE Symbian_ua_guiSettingItemListSets.cpp -SOURCE symbian_ua_guiSettingItemListView.cpp -SOURCE symbian_ua.cpp diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/Symbian_ua_guiSettingItemListSettings.h b/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/Symbian_ua_guiSettingItemListSettings.h deleted file mode 100644 index 0d41e25883..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/Symbian_ua_guiSettingItemListSettings.h +++ /dev/null @@ -1,73 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef SYMBIAN_UA_GUISETTINGITEMLISTSETTINGS_H -#define SYMBIAN_UA_GUISETTINGITEMLISTSETTINGS_H - -// [[[ begin generated region: do not modify [Generated Includes] -#include -// ]]] end generated region [Generated Includes] - -// [[[ begin generated region: do not modify [Generated Constants] -const int KEd_registrarMaxLength = 255; -const int KEd_userMaxLength = 255; -const int KEd_passwordMaxLength = 32; -const int KEd_stun_serverMaxLength = 255; -// ]]] end generated region [Generated Constants] - -/** - * @class TSymbian_ua_guiSettingItemListSettings Symbian_ua_guiSettingItemListSettings.h - */ -class TSymbian_ua_guiSettingItemListSettings - { -public: - // construct and destroy - static TSymbian_ua_guiSettingItemListSettings* NewL(); - void ConstructL(); - -private: - // constructor - TSymbian_ua_guiSettingItemListSettings(); - // [[[ begin generated region: do not modify [Generated Accessors] -public: - TDes& Ed_registrar(); - void SetEd_registrar(const TDesC& aValue); - TDes& Ed_user(); - void SetEd_user(const TDesC& aValue); - TDes& Ed_password(); - void SetEd_password(const TDesC& aValue); - TBool& B_srtp(); - void SetB_srtp(const TBool& aValue); - TBool& B_ice(); - void SetB_ice(const TBool& aValue); - TDes& Ed_stun_server(); - void SetEd_stun_server(const TDesC& aValue); - // ]]] end generated region [Generated Accessors] - - // [[[ begin generated region: do not modify [Generated Members] -protected: - TBuf iEd_registrar; - TBuf iEd_user; - TBuf iEd_password; - TBool iB_srtp; - TBool iB_ice; - TBuf iEd_stun_server; - // ]]] end generated region [Generated Members] - - }; -#endif // SYMBIAN_UA_GUISETTINGITEMLISTSETTINGS_H diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua.h b/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua.h deleted file mode 100644 index fc16d7c112..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua.h +++ /dev/null @@ -1,50 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#ifndef __SYMBIAN_UA_H__ -#define __SYMBIAN_UA_H__ - -#include - -typedef struct -{ - void (*on_info)(const wchar_t* buf); - void (*on_incoming_call)(const wchar_t* caller_disp, const wchar_t* caller_uri); - void (*on_call_end)(const wchar_t* reason); - void (*on_reg_state)(bool success); - void (*on_unreg_state)(bool success); -} symbian_ua_info_cb_t; - -int symbian_ua_init(); -int symbian_ua_destroy(); - -void symbian_ua_set_info_callback(const symbian_ua_info_cb_t *cb); - -int symbian_ua_set_account(const char *domain, const char *username, - const char *password, - bool use_srtp, bool use_ice); - -bool symbian_ua_anycall(); -int symbian_ua_makecall(const char* dest_url); -int symbian_ua_endcall(); -int symbian_ua_answercall(); - -#endif - diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_gui.hrh b/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_gui.hrh deleted file mode 100644 index ebf85b0db1..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_gui.hrh +++ /dev/null @@ -1,17 +0,0 @@ -/* -======================================================================== - Name : symbian_ua_gui.hrh - Author : nanang - Copyright : (c) PJSIP 2008 - Description : -======================================================================== -*/ -enum Tsymbian_ua_guiViewUids - { - ESymbian_ua_guiContainerViewId = 1, - ESymbian_ua_guiSettingItemListViewId - }; -enum TSymbian_ua_guiApplicationControls - { - ESymbian_ua_guiApplicationDlg_wait_init = 1 - }; diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_gui.pan b/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_gui.pan deleted file mode 100644 index d07030ff71..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_gui.pan +++ /dev/null @@ -1,18 +0,0 @@ - -#ifndef SYMBIAN_UA_GUI_PAN_H -#define SYMBIAN_UA_GUI_PAN_H - -/** symbian_ua_gui application panic codes */ -enum Tsymbian_ua_guiPanics - { - Esymbian_ua_guiUi = 1 - // add further panics here - }; - -inline void Panic(Tsymbian_ua_guiPanics aReason) - { - _LIT(applicationName,"symbian_ua_gui"); - User::Panic(applicationName, aReason); - } - -#endif // SYMBIAN_UA_GUI_PAN_H diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiAppUi.h b/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiAppUi.h deleted file mode 100644 index 5ee64879ec..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiAppUi.h +++ /dev/null @@ -1,129 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef SYMBIAN_UA_GUIAPPUI_H -#define SYMBIAN_UA_GUIAPPUI_H - -// [[[ begin generated region: do not modify [Generated Includes] -#include -#include -// ]]] end generated region [Generated Includes] - -// [[[ begin generated region: do not modify [Generated Forward Declarations] -class Csymbian_ua_guiContainerView; -class Csymbian_ua_guiSettingItemListView; -// ]]] end generated region [Generated Forward Declarations] - -/** - * @class Csymbian_ua_guiAppUi symbian_ua_guiAppUi.h - * @brief The AppUi class handles application-wide aspects of the user interface, including - * view management and the default menu, control pane, and status pane. - */ -class Csymbian_ua_guiAppUi : public CAknViewAppUi, public CTimer - { -public: - // constructor and destructor - Csymbian_ua_guiAppUi(); - virtual ~Csymbian_ua_guiAppUi(); - void ConstructL(); - -public: - // from CCoeAppUi - TKeyResponse HandleKeyEventL( - const TKeyEvent& aKeyEvent, - TEventCode aType ); - - // from CEikAppUi - void HandleCommandL( TInt aCommand ); - void HandleResourceChangeL( TInt aType ); - - // from CAknAppUi - void HandleViewDeactivation( - const TVwsViewId& aViewIdToBeDeactivated, - const TVwsViewId& aNewlyActivatedViewId ); - -private: - void InitializeContainersL(); - // [[[ begin generated region: do not modify [Generated Methods] -public: - void ExecuteDlg_wait_initLD( const TDesC* aOverrideText = NULL ); - void RemoveDlg_wait_initL(); - // ]]] end generated region [Generated Methods] - - // [[[ begin generated region: do not modify [Generated Instance Variables] -private: - CAknWaitDialog* iDlg_wait_init; - class CProgressDialogCallback; - CProgressDialogCallback* iDlg_wait_initCallback; - Csymbian_ua_guiContainerView* iSymbian_ua_guiContainerView; - Csymbian_ua_guiSettingItemListView* iSymbian_ua_guiSettingItemListView; - // ]]] end generated region [Generated Instance Variables] - - - // [[[ begin [User Handlers] -protected: - void HandleSymbian_ua_guiAppUiApplicationSpecificEventL( - TInt aType, - const TWsEvent& anEvent ); - void HandleDlg_wait_initCanceledL( CAknProgressDialog* aDialog ); - // ]]] end [User Handlers] - - - // [[[ begin [Overridden Methods] -protected: - void HandleApplicationSpecificEventL( - TInt aType, - const TWsEvent& anEvent ); - // ]]] end [Overridden Methods] - - virtual void RunL(); - - // [[[ begin [MProgressDialogCallback support] -private: - typedef void ( Csymbian_ua_guiAppUi::*ProgressDialogEventHandler )( - CAknProgressDialog* aProgressDialog ); - - /** - * This is a helper class for progress/wait dialog callbacks. It routes the dialog's - * cancel notification to the handler function for the cancel event. - */ - class CProgressDialogCallback : public CBase, public MProgressDialogCallback - { - public: - CProgressDialogCallback( - Csymbian_ua_guiAppUi* aHandlerObj, - CAknProgressDialog* aDialog, - ProgressDialogEventHandler aHandler ) : - handlerObj( aHandlerObj ), dialog( aDialog ), handler( aHandler ) - {} - - void DialogDismissedL( TInt aButtonId ) - { - ( handlerObj->*handler )( dialog ); - } - private: - Csymbian_ua_guiAppUi* handlerObj; - CAknProgressDialog* dialog; - ProgressDialogEventHandler handler; - }; - - // ]]] end [MProgressDialogCallback support] - - }; - -#endif // SYMBIAN_UA_GUIAPPUI_H diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiApplication.h b/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiApplication.h deleted file mode 100644 index 9d3617a473..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiApplication.h +++ /dev/null @@ -1,45 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef SYMBIAN_UA_GUIAPPLICATION_H -#define SYMBIAN_UA_GUIAPPLICATION_H - -// [[[ begin generated region: do not modify [Generated Includes] -#include -// ]]] end generated region [Generated Includes] - -// [[[ begin generated region: do not modify [Generated Constants] -const TUid KUidsymbian_ua_guiApplication = { 0xEBD12EE4 }; -// ]]] end generated region [Generated Constants] - -/** - * - * @class Csymbian_ua_guiApplication symbian_ua_guiApplication.h - * @brief A CAknApplication-derived class is required by the S60 application - * framework. It is subclassed to create the application's document - * object. - */ -class Csymbian_ua_guiApplication : public CAknApplication - { -private: - TUid AppDllUid() const; - CApaDocument* CreateDocumentL(); - - }; - -#endif // SYMBIAN_UA_GUIAPPLICATION_H diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiContainer.h b/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiContainer.h deleted file mode 100644 index 474254fa9b..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiContainer.h +++ /dev/null @@ -1,123 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef SYMBIAN_UA_GUICONTAINER_H -#define SYMBIAN_UA_GUICONTAINER_H - -// [[[ begin generated region: do not modify [Generated Includes] -#include -// ]]] end generated region [Generated Includes] - - -// [[[ begin [Event Handler Includes] -// ]]] end [Event Handler Includes] - -// [[[ begin generated region: do not modify [Generated Forward Declarations] -class MEikCommandObserver; -class CEikLabel; -class CEikEdwin; -// ]]] end generated region [Generated Forward Declarations] - -/** - * Container class for symbian_ua_guiContainer - * - * @class CSymbian_ua_guiContainer symbian_ua_guiContainer.h - */ -class CSymbian_ua_guiContainer : public CCoeControl - { -public: - // constructors and destructor - CSymbian_ua_guiContainer(); - static CSymbian_ua_guiContainer* NewL( - const TRect& aRect, - const CCoeControl* aParent, - MEikCommandObserver* aCommandObserver ); - static CSymbian_ua_guiContainer* NewLC( - const TRect& aRect, - const CCoeControl* aParent, - MEikCommandObserver* aCommandObserver ); - void ConstructL( - const TRect& aRect, - const CCoeControl* aParent, - MEikCommandObserver* aCommandObserver ); - virtual ~CSymbian_ua_guiContainer(); - -public: - // from base class CCoeControl - TInt CountComponentControls() const; - CCoeControl* ComponentControl( TInt aIndex ) const; - TKeyResponse OfferKeyEventL( - const TKeyEvent& aKeyEvent, - TEventCode aType ); - void HandleResourceChange( TInt aType ); - -protected: - // from base class CCoeControl - void SizeChanged(); - -private: - // from base class CCoeControl - void Draw( const TRect& aRect ) const; - -private: - void InitializeControlsL(); - void LayoutControls(); - CCoeControl* iFocusControl; - MEikCommandObserver* iCommandObserver; - // [[[ begin generated region: do not modify [Generated Methods] -public: - // ]]] end generated region [Generated Methods] - - // [[[ begin generated region: do not modify [Generated Type Declarations] -public: - // ]]] end generated region [Generated Type Declarations] - - // [[[ begin generated region: do not modify [Generated Instance Variables] -private: - CEikLabel* iLabel1; - CEikEdwin* iEd_url; - CEikEdwin* iEd_info; - // ]]] end generated region [Generated Instance Variables] - - - // [[[ begin [Overridden Methods] -protected: - // ]]] end [Overridden Methods] - - - // [[[ begin [User Handlers] -protected: - // ]]] end [User Handlers] - -public: - enum TControls - { - // [[[ begin generated region: do not modify [Generated Contents] - ELabel1, - EEd_url, - EEd_info, - - // ]]] end generated region [Generated Contents] - - // add any user-defined entries here... - - ELastControl - }; - }; - -#endif // SYMBIAN_UA_GUICONTAINER_H diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiContainer.hrh b/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiContainer.hrh deleted file mode 100644 index a87eb20c3b..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiContainer.hrh +++ /dev/null @@ -1,17 +0,0 @@ -/* -======================================================================== - Name : symbian_ua_guiContainer.hrh - Author : nanang - Copyright : (c) PJSIP 2008 - Description : -======================================================================== -*/ -enum TSymbian_ua_guiContainerViewCommands - { - ESymbian_ua_guiContainerViewControlPaneRightId = 0x6000, - ESymbian_ua_guiContainerViewSettingMenuItemCommand - }; -enum TSymbian_ua_guiContainerViewControls - { - ESymbian_ua_guiContainerViewQry_accept_call = 1 - }; diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiContainerView.h b/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiContainerView.h deleted file mode 100644 index 9142f459e0..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiContainerView.h +++ /dev/null @@ -1,98 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef SYMBIAN_UA_GUICONTAINERVIEW_H -#define SYMBIAN_UA_GUICONTAINERVIEW_H - -// [[[ begin generated region: do not modify [Generated Includes] -#include -// ]]] end generated region [Generated Includes] - - -// [[[ begin [Event Handler Includes] -// ]]] end [Event Handler Includes] - -// [[[ begin generated region: do not modify [Generated Forward Declarations] -class CSymbian_ua_guiContainer; -// ]]] end generated region [Generated Forward Declarations] - -// [[[ begin generated region: do not modify [Generated Constants] -// ]]] end generated region [Generated Constants] - -/** - * Avkon view class for symbian_ua_guiContainerView. It is register with the view server - * by the AppUi. It owns the container control. - * @class Csymbian_ua_guiContainerView symbian_ua_guiContainerView.h - */ -class Csymbian_ua_guiContainerView : public CAknView - { -public: - // constructors and destructor - Csymbian_ua_guiContainerView(); - static Csymbian_ua_guiContainerView* NewL(); - static Csymbian_ua_guiContainerView* NewLC(); - void ConstructL(); - virtual ~Csymbian_ua_guiContainerView(); - -public: - // from base class CAknView - TUid Id() const; - void HandleCommandL( TInt aCommand ); - - void PutMessage(const TDesC &msg); - -protected: - // from base class CAknView - void DoActivateL( - const TVwsViewId& aPrevViewId, - TUid aCustomMessageId, - const TDesC8& aCustomMessage ); - void DoDeactivate(); - void HandleStatusPaneSizeChange(); - -private: - void SetupStatusPaneL(); - void CleanupStatusPane(); - // [[[ begin generated region: do not modify [Generated Methods] -public: - static void RunNote_errorL( const TDesC* aOverrideText = NULL ); - static void RunNote_infoL( const TDesC* aOverrideText = NULL ); - static void RunNote_warningL( const TDesC* aOverrideText = NULL ); - static TInt RunQry_accept_callL( const TDesC* aOverrideText = NULL ); - // ]]] end generated region [Generated Methods] - - - // [[[ begin [Overridden Methods] -protected: - // ]]] end [Overridden Methods] - - - // [[[ begin [User Handlers] -protected: - TBool CallSoftKeyPressedL( TInt aCommand ); - TBool HandleSettingMenuItemSelectedL( TInt aCommand ); - // ]]] end [User Handlers] - - // [[[ begin generated region: do not modify [Generated Instance Variables] -private: - CSymbian_ua_guiContainer* iSymbian_ua_guiContainer; - // ]]] end generated region [Generated Instance Variables] - - }; - -#endif // SYMBIAN_UA_GUICONTAINERVIEW_H diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiDocument.h b/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiDocument.h deleted file mode 100644 index 8962249ebb..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiDocument.h +++ /dev/null @@ -1,46 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef SYMBIAN_UA_GUIDOCUMENT_H -#define SYMBIAN_UA_GUIDOCUMENT_H - -#include - -class CEikAppUi; - -/** -* @class Csymbian_ua_guiDocument symbian_ua_guiDocument.h -* @brief A CAknDocument-derived class is required by the S60 application -* framework. It is responsible for creating the AppUi object. -*/ -class Csymbian_ua_guiDocument : public CAknDocument - { -public: - // constructor - static Csymbian_ua_guiDocument* NewL( CEikApplication& aApp ); - -private: - // constructors - Csymbian_ua_guiDocument( CEikApplication& aApp ); - void ConstructL(); - -public: - // from base class CEikDocument - CEikAppUi* CreateAppUiL(); - }; -#endif // SYMBIAN_UA_GUIDOCUMENT_H diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiSettingItemList.h b/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiSettingItemList.h deleted file mode 100644 index 0f02f32052..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiSettingItemList.h +++ /dev/null @@ -1,97 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef SYMBIAN_UA_GUISETTINGITEMLIST_H -#define SYMBIAN_UA_GUISETTINGITEMLIST_H - -// [[[ begin generated region: do not modify [Generated Includes] -#include -// ]]] end generated region [Generated Includes] - - -// [[[ begin [Event Handler Includes] -// ]]] end [Event Handler Includes] - -// [[[ begin generated region: do not modify [Generated Forward Declarations] -class MEikCommandObserver; -class TSymbian_ua_guiSettingItemListSettings; -// ]]] end generated region [Generated Forward Declarations] - -/** - * @class CSymbian_ua_guiSettingItemList symbian_ua_guiSettingItemList.h - */ -class CSymbian_ua_guiSettingItemList : public CAknSettingItemList - { -public: // constructors and destructor - - CSymbian_ua_guiSettingItemList( - TSymbian_ua_guiSettingItemListSettings& settings, - MEikCommandObserver* aCommandObserver ); - virtual ~CSymbian_ua_guiSettingItemList(); - -public: - - // from CCoeControl - void HandleResourceChange( TInt aType ); - - // overrides of CAknSettingItemList - CAknSettingItem* CreateSettingItemL( TInt id ); - void EditItemL( TInt aIndex, TBool aCalledFromMenu ); - TKeyResponse OfferKeyEventL( - const TKeyEvent& aKeyEvent, - TEventCode aType ); - -public: - // utility function for menu - void ChangeSelectedItemL(); - - void LoadSettingValuesL(); - void SaveSettingValuesL(); - -private: - // override of CAknSettingItemList - void SizeChanged(); - -private: - // current settings values - TSymbian_ua_guiSettingItemListSettings& iSettings; - MEikCommandObserver* iCommandObserver; - // [[[ begin generated region: do not modify [Generated Methods] -public: - // ]]] end generated region [Generated Methods] - - // [[[ begin generated region: do not modify [Generated Type Declarations] -public: - // ]]] end generated region [Generated Type Declarations] - - // [[[ begin generated region: do not modify [Generated Instance Variables] -private: - // ]]] end generated region [Generated Instance Variables] - - - // [[[ begin [Overridden Methods] -protected: - // ]]] end [Overridden Methods] - - - // [[[ begin [User Handlers] -protected: - // ]]] end [User Handlers] - - }; -#endif // SYMBIAN_UA_GUISETTINGITEMLIST_H diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiSettingItemList.hrh b/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiSettingItemList.hrh deleted file mode 100644 index 6234914b21..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiSettingItemList.hrh +++ /dev/null @@ -1,22 +0,0 @@ -/* -======================================================================== - Name : symbian_ua_guiSettingItemList.hrh - Author : nanang - Copyright : (c) PJSIP 2008 - Description : -======================================================================== -*/ -enum TSymbian_ua_guiSettingItemListViewCommands - { - ESymbian_ua_guiSettingItemListViewMenuItem1Command = 0x6000, - ESymbian_ua_guiSettingItemListViewSave_SettingsMenuItemCommand - }; -enum TSymbian_ua_guiSettingItemListViewSave_SettingsItems - { - ESymbian_ua_guiSettingItemListViewEd_registrar = 1, - ESymbian_ua_guiSettingItemListViewEd_user, - ESymbian_ua_guiSettingItemListViewEd_password, - ESymbian_ua_guiSettingItemListViewEd_stun_server, - ESymbian_ua_guiSettingItemListViewB_srtp, - ESymbian_ua_guiSettingItemListViewB_ice - }; diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiSettingItemListView.h b/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiSettingItemListView.h deleted file mode 100644 index 3e618682bd..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/inc/symbian_ua_guiSettingItemListView.h +++ /dev/null @@ -1,95 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef SYMBIAN_UA_GUISETTINGITEMLISTVIEW_H -#define SYMBIAN_UA_GUISETTINGITEMLISTVIEW_H - -// [[[ begin generated region: do not modify [Generated Includes] -#include -#include "Symbian_ua_guiSettingItemListSettings.h" -// ]]] end generated region [Generated Includes] - - -// [[[ begin [Event Handler Includes] -// ]]] end [Event Handler Includes] - -// [[[ begin generated region: do not modify [Generated Forward Declarations] -class CSymbian_ua_guiSettingItemList; -// ]]] end generated region [Generated Forward Declarations] - -// [[[ begin generated region: do not modify [Generated Constants] -// ]]] end generated region [Generated Constants] - -/** - * Avkon view class for symbian_ua_guiSettingItemListView. It is register with the view server - * by the AppUi. It owns the container control. - * @class Csymbian_ua_guiSettingItemListView symbian_ua_guiSettingItemListView.h - */ -class Csymbian_ua_guiSettingItemListView : public CAknView - { -public: - // constructors and destructor - Csymbian_ua_guiSettingItemListView(); - static Csymbian_ua_guiSettingItemListView* NewL(); - static Csymbian_ua_guiSettingItemListView* NewLC(); - void ConstructL(); - virtual ~Csymbian_ua_guiSettingItemListView(); - -public: - // from base class CAknView - TUid Id() const; - void HandleCommandL( TInt aCommand ); - -protected: - // from base class CAknView - void DoActivateL( - const TVwsViewId& aPrevViewId, - TUid aCustomMessageId, - const TDesC8& aCustomMessage ); - void DoDeactivate(); - void HandleStatusPaneSizeChange(); - -private: - void SetupStatusPaneL(); - void CleanupStatusPane(); - // [[[ begin generated region: do not modify [Generated Methods] -public: - // ]]] end generated region [Generated Methods] - - - // [[[ begin [Overridden Methods] -protected: - // ]]] end [Overridden Methods] - - - // [[[ begin [User Handlers] -protected: - TBool HandleChangeSelectedSettingItemL( TInt aCommand ); - TBool HandleControlPaneRightSoftKeyPressedL( TInt aCommand ); - TBool HandleCancelMenuItemSelectedL( TInt aCommand ); - // ]]] end [User Handlers] - - // [[[ begin generated region: do not modify [Generated Instance Variables] -private: - CSymbian_ua_guiSettingItemList* iSymbian_ua_guiSettingItemList; - TSymbian_ua_guiSettingItemListSettings* iSettings; - // ]]] end generated region [Generated Instance Variables] - - }; - -#endif // SYMBIAN_UA_GUISETTINGITEMLISTVIEW_H diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/sis/symbian_ua_gui.pkg b/res/pjproject/pjsip-apps/src/symbian_ua_gui/sis/symbian_ua_gui.pkg deleted file mode 100644 index beef3bf27d..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/sis/symbian_ua_gui.pkg +++ /dev/null @@ -1,36 +0,0 @@ -; symbian_ua_gui.pkg -; This is an auto-generated PKG file by Carbide. -; This file uses variables specific to Carbide builds that will not work -; on command-line builds. If you want to use this generated PKG file from the -; command-line tools you will need to modify the variables with the appropriate -; values: $(EPOCROOT), $(PLATFORM), $(TARGET) -; Also, the resource file entries should be changed to match the language -; used in the build. For example, if building for LANGUAGE_01, change the file -; extensions .rsc to .r01. -; -;Language - standard language definitions -&EN - -; standard SIS file header -#{"symbian_ua_gui"},(0xEBD12EE4),1,0,0 - -;Localised Vendor name -%{"Vendor-EN"} - -;Unique Vendor name -:"Vendor" - -;Supports Series 60 v 3.0 -[0x101F7961], 0, 0, 0, {"Series60ProductID"} - -;Files to install -;You should change the source paths to match that of your environment -; -"$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\symbian_ua_gui.exe" -"!:\sys\bin\symbian_ua_gui.exe" -"$(EPOCROOT)Epoc32\data\z\resource\apps\symbian_ua_gui.r01" -"!:\resource\apps\symbian_ua_gui.r01" -"$(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\symbian_ua_gui_reg.r01" -"!:\private\10003a3f\import\apps\symbian_ua_gui_reg.r01" -"$(EPOCROOT)epoc32\data\z\resource\apps\symbian_ua_gui_aif.mif" -"!:\resource\apps\symbian_ua_gui_aif.mif" -"$(EPOCROOT)epoc32\data\z\resource\apps\symbian_ua_gui.mbm" -"!:\resource\apps\symbian_ua_gui.mbm" -; Add any installation notes if applicable -;"symbian_ua_gui.txt" -"!:\private\0xEBD12EE4\symbian_ua_gui.txt" - diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/sis/symbian_ua_gui.txt b/res/pjproject/pjsip-apps/src/symbian_ua_gui/sis/symbian_ua_gui.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/Symbian_ua_guiSettingItemListSets.cpp b/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/Symbian_ua_guiSettingItemListSets.cpp deleted file mode 100644 index 5e1125df20..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/Symbian_ua_guiSettingItemListSets.cpp +++ /dev/null @@ -1,154 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -/** - * Generated helper class which manages the settings contained - * in 'symbian_ua_guiSettingItemList'. Each CAknSettingItem maintains - * a reference to data in this class so that changes in the setting - * item list can be synchronized with this storage. - */ - -// [[[ begin generated region: do not modify [Generated Includes] -#include -#include -#include -#include -#include "Symbian_ua_guiSettingItemListSettings.h" -// ]]] end generated region [Generated Includes] - -/** - * C/C++ constructor for settings data, cannot throw - */ -TSymbian_ua_guiSettingItemListSettings::TSymbian_ua_guiSettingItemListSettings() - { - } - -/** - * Two-phase constructor for settings data - */ -TSymbian_ua_guiSettingItemListSettings* TSymbian_ua_guiSettingItemListSettings::NewL() - { - TSymbian_ua_guiSettingItemListSettings* data = new( ELeave ) TSymbian_ua_guiSettingItemListSettings; - CleanupStack::PushL( data ); - data->ConstructL(); - CleanupStack::Pop( data ); - return data; - } - -/** - * Second phase for initializing settings data - */ -void TSymbian_ua_guiSettingItemListSettings::ConstructL() - { - // [[[ begin generated region: do not modify [Generated Initializers] - { - HBufC* text = StringLoader::LoadLC( R_SYMBIAN_UA_GUI_SETTING_ITEM_LIST_ED_REGISTRAR ); - SetEd_registrar( text->Des() ); - CleanupStack::PopAndDestroy( text ); - } - { - HBufC* text = StringLoader::LoadLC( R_SYMBIAN_UA_GUI_SETTING_ITEM_LIST_ED_USER ); - SetEd_user( text->Des() ); - CleanupStack::PopAndDestroy( text ); - } - SetB_srtp( 0 ); - SetB_ice( 0 ); - { - HBufC* text = StringLoader::LoadLC( R_SYMBIAN_UA_GUI_SETTING_ITEM_LIST_ED_STUN_SERVER ); - SetEd_stun_server( text->Des() ); - CleanupStack::PopAndDestroy( text ); - } - // ]]] end generated region [Generated Initializers] - - } - -// [[[ begin generated region: do not modify [Generated Contents] -TDes& TSymbian_ua_guiSettingItemListSettings::Ed_registrar() - { - return iEd_registrar; - } - -void TSymbian_ua_guiSettingItemListSettings::SetEd_registrar(const TDesC& aValue) - { - if ( aValue.Length() < KEd_registrarMaxLength) - iEd_registrar.Copy( aValue ); - else - iEd_registrar.Copy( aValue.Ptr(), KEd_registrarMaxLength); - } - -TDes& TSymbian_ua_guiSettingItemListSettings::Ed_user() - { - return iEd_user; - } - -void TSymbian_ua_guiSettingItemListSettings::SetEd_user(const TDesC& aValue) - { - if ( aValue.Length() < KEd_userMaxLength) - iEd_user.Copy( aValue ); - else - iEd_user.Copy( aValue.Ptr(), KEd_userMaxLength); - } - -TDes& TSymbian_ua_guiSettingItemListSettings::Ed_password() - { - return iEd_password; - } - -void TSymbian_ua_guiSettingItemListSettings::SetEd_password(const TDesC& aValue) - { - if ( aValue.Length() < KEd_passwordMaxLength) - iEd_password.Copy( aValue ); - else - iEd_password.Copy( aValue.Ptr(), KEd_passwordMaxLength); - } - -TBool& TSymbian_ua_guiSettingItemListSettings::B_srtp() - { - return iB_srtp; - } - -void TSymbian_ua_guiSettingItemListSettings::SetB_srtp(const TBool& aValue) - { - iB_srtp = aValue; - } - -TBool& TSymbian_ua_guiSettingItemListSettings::B_ice() - { - return iB_ice; - } - -void TSymbian_ua_guiSettingItemListSettings::SetB_ice(const TBool& aValue) - { - iB_ice = aValue; - } - -TDes& TSymbian_ua_guiSettingItemListSettings::Ed_stun_server() - { - return iEd_stun_server; - } - -void TSymbian_ua_guiSettingItemListSettings::SetEd_stun_server(const TDesC& aValue) - { - if ( aValue.Length() < KEd_stun_serverMaxLength) - iEd_stun_server.Copy( aValue ); - else - iEd_stun_server.Copy( aValue.Ptr(), KEd_stun_serverMaxLength); - } - -// ]]] end generated region [Generated Contents] - diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua.cpp b/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua.cpp deleted file mode 100644 index 6cae85a2a4..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua.cpp +++ /dev/null @@ -1,514 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include "symbian_ua.h" - -#define THIS_FILE "symbian_ua.cpp" -#define LOG_LEVEL 3 - -#define SIP_PORT 5060 -#define USE_ICE 0 -#define USE_SRTP PJSUA_DEFAULT_USE_SRTP - -static RSocketServ aSocketServer; -static RConnection aConn; - -static pjsua_acc_id g_acc_id = PJSUA_INVALID_ID; -static pjsua_call_id g_call_id = PJSUA_INVALID_ID; -static pjsua_buddy_id g_buddy_id = PJSUA_INVALID_ID; - -static symbian_ua_info_cb_t g_cb = {NULL, NULL, NULL, NULL, NULL}; - -static void log_writer(int level, const char *buf, int len) -{ - static wchar_t buf16[PJ_LOG_MAX_SIZE]; - - PJ_UNUSED_ARG(level); - - if (!g_cb.on_info) - return; - - pj_ansi_to_unicode(buf, len, buf16, PJ_ARRAY_SIZE(buf16)); - g_cb.on_info(buf16); -} - -static void on_reg_state(pjsua_acc_id acc_id) -{ - pjsua_acc_info acc_info; - pj_status_t status; - - status = pjsua_acc_get_info(acc_id, &acc_info); - if (status != PJ_SUCCESS) - return; - - if (acc_info.status == 200) { - if (acc_info.expires) { - PJ_LOG(3,(THIS_FILE, "Registration success!")); - if (g_cb.on_reg_state) g_cb.on_reg_state(true); - } else { - PJ_LOG(3,(THIS_FILE, "Unregistration success!")); - if (g_cb.on_unreg_state) g_cb.on_unreg_state(true); - } - } else { - if (acc_info.expires) { - PJ_LOG(3,(THIS_FILE, "Registration failed!")); - if (g_cb.on_reg_state) g_cb.on_reg_state(false); - } else { - PJ_LOG(3,(THIS_FILE, "Unregistration failed!")); - if (g_cb.on_unreg_state) g_cb.on_unreg_state(false); - } - } -} - -/* Callback called by the library upon receiving incoming call */ -static void on_incoming_call(pjsua_acc_id acc_id, pjsua_call_id call_id, - pjsip_rx_data *rdata) -{ - pjsua_call_info ci; - - PJ_UNUSED_ARG(acc_id); - PJ_UNUSED_ARG(rdata); - - if (g_call_id != PJSUA_INVALID_ID) { - pjsua_call_answer(call_id, PJSIP_SC_BUSY_HERE, NULL, NULL); - return; - } - - pjsua_call_get_info(call_id, &ci); - - PJ_LOG(3,(THIS_FILE, "Incoming call from %.*s!!", - (int)ci.remote_info.slen, - ci.remote_info.ptr)); - - g_call_id = call_id; - - /* Automatically answer incoming calls with 180/Ringing */ - pjsua_call_answer(call_id, 180, NULL, NULL); - - if (g_cb.on_incoming_call) { - static wchar_t disp[256]; - static wchar_t uri[PJSIP_MAX_URL_SIZE]; - - pj_ansi_to_unicode(ci.remote_info.ptr, ci.remote_info.slen, - disp, PJ_ARRAY_SIZE(disp)); - pj_ansi_to_unicode(ci.remote_contact.ptr, ci.remote_contact.slen, - uri, PJ_ARRAY_SIZE(uri)); - - g_cb.on_incoming_call(disp, uri); - } -} - -/* Callback called by the library when call's state has changed */ -static void on_call_state(pjsua_call_id call_id, pjsip_event *e) -{ - pjsua_call_info ci; - - PJ_UNUSED_ARG(e); - - pjsua_call_get_info(call_id, &ci); - - if (ci.state == PJSIP_INV_STATE_DISCONNECTED) { - if (call_id == g_call_id) - g_call_id = PJSUA_INVALID_ID; - if (g_cb.on_call_end) { - static wchar_t reason[256]; - pj_ansi_to_unicode(ci.last_status_text.ptr, ci.last_status_text.slen, - reason, PJ_ARRAY_SIZE(reason)); - g_cb.on_call_end(reason); - } - - } else if (ci.state != PJSIP_INV_STATE_INCOMING) { - if (g_call_id == PJSUA_INVALID_ID) - g_call_id = call_id; - } - - PJ_LOG(3,(THIS_FILE, "Call %d state=%.*s", call_id, - (int)ci.state_text.slen, - ci.state_text.ptr)); -} - -/* Callback called by the library when call's media state has changed */ -static void on_call_media_state(pjsua_call_id call_id) -{ - pjsua_call_info ci; - - pjsua_call_get_info(call_id, &ci); - - if (ci.media_status == PJSUA_CALL_MEDIA_ACTIVE) { - // When media is active, connect call to sound device. - pjsua_conf_connect(ci.conf_slot, 0); - pjsua_conf_connect(0, ci.conf_slot); - } -} - - -/* Handler on buddy state changed. */ -static void on_buddy_state(pjsua_buddy_id buddy_id) -{ - pjsua_buddy_info info; - pjsua_buddy_get_info(buddy_id, &info); - - PJ_LOG(3,(THIS_FILE, "%.*s status is %.*s", - (int)info.uri.slen, - info.uri.ptr, - (int)info.status_text.slen, - info.status_text.ptr)); -} - - -/* Incoming IM message (i.e. MESSAGE request)! */ -static void on_pager(pjsua_call_id call_id, const pj_str_t *from, - const pj_str_t *to, const pj_str_t *contact, - const pj_str_t *mime_type, const pj_str_t *text) -{ - /* Note: call index may be -1 */ - PJ_UNUSED_ARG(call_id); - PJ_UNUSED_ARG(to); - PJ_UNUSED_ARG(contact); - PJ_UNUSED_ARG(mime_type); - - PJ_LOG(3,(THIS_FILE,"MESSAGE from %.*s: %.*s", - (int)from->slen, from->ptr, - (int)text->slen, text->ptr)); -} - - -/* Received typing indication */ -static void on_typing(pjsua_call_id call_id, const pj_str_t *from, - const pj_str_t *to, const pj_str_t *contact, - pj_bool_t is_typing) -{ - PJ_UNUSED_ARG(call_id); - PJ_UNUSED_ARG(to); - PJ_UNUSED_ARG(contact); - - PJ_LOG(3,(THIS_FILE, "IM indication: %.*s %s", - (int)from->slen, from->ptr, - (is_typing?"is typing..":"has stopped typing"))); -} - - -/* Call transfer request status. */ -static void on_call_transfer_status(pjsua_call_id call_id, - int status_code, - const pj_str_t *status_text, - pj_bool_t final, - pj_bool_t *p_cont) -{ - PJ_LOG(3,(THIS_FILE, "Call %d: transfer status=%d (%.*s) %s", - call_id, status_code, - (int)status_text->slen, status_text->ptr, - (final ? "[final]" : ""))); - - if (status_code/100 == 2) { - PJ_LOG(3,(THIS_FILE, - "Call %d: call transfered successfully, disconnecting call", - call_id)); - pjsua_call_hangup(call_id, PJSIP_SC_GONE, NULL, NULL); - *p_cont = PJ_FALSE; - } -} - - -/* NAT detection result */ -static void on_nat_detect(const pj_stun_nat_detect_result *res) -{ - if (res->status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "NAT detection failed", res->status); - } else { - PJ_LOG(3, (THIS_FILE, "NAT detected as %s", res->nat_type_name)); - } -} - -/* Notification that call is being replaced. */ -static void on_call_replaced(pjsua_call_id old_call_id, - pjsua_call_id new_call_id) -{ - pjsua_call_info old_ci, new_ci; - - pjsua_call_get_info(old_call_id, &old_ci); - pjsua_call_get_info(new_call_id, &new_ci); - - PJ_LOG(3,(THIS_FILE, "Call %d with %.*s is being replaced by " - "call %d with %.*s", - old_call_id, - (int)old_ci.remote_info.slen, old_ci.remote_info.ptr, - new_call_id, - (int)new_ci.remote_info.slen, new_ci.remote_info.ptr)); -} - -int symbian_ua_init() -{ - TInt err; - pj_symbianos_params sym_params; - pj_status_t status; - - // Initialize RSocketServ - if ((err=aSocketServer.Connect(32)) != KErrNone) - return PJ_STATUS_FROM_OS(err); - - // Open up a connection - if ((err=aConn.Open(aSocketServer)) != KErrNone) { - aSocketServer.Close(); - return PJ_STATUS_FROM_OS(err); - } - - if ((err=aConn.Start()) != KErrNone) { - aConn.Close(); - aSocketServer.Close(); - return PJ_STATUS_FROM_OS(err); - } - - // Set Symbian OS parameters in pjlib. - // This must be done before pj_init() is called. - pj_bzero(&sym_params, sizeof(sym_params)); - sym_params.rsocketserv = &aSocketServer; - sym_params.rconnection = &aConn; - pj_symbianos_set_params(&sym_params); - - /* Redirect log before pjsua_init() */ - pj_log_set_log_func(&log_writer); - - /* Set log level */ - pj_log_set_level(LOG_LEVEL); - - /* Create pjsua first! */ - status = pjsua_create(); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "pjsua_create() error", status); - return status; - } - - /* Init pjsua */ - pjsua_config cfg; - - pjsua_config_default(&cfg); - cfg.max_calls = 2; - cfg.thread_cnt = 0; // Disable threading on Symbian - cfg.use_srtp = USE_SRTP; - cfg.srtp_secure_signaling = 0; - - cfg.cb.on_incoming_call = &on_incoming_call; - cfg.cb.on_call_media_state = &on_call_media_state; - cfg.cb.on_call_state = &on_call_state; - cfg.cb.on_buddy_state = &on_buddy_state; - cfg.cb.on_pager = &on_pager; - cfg.cb.on_typing = &on_typing; - cfg.cb.on_call_transfer_status = &on_call_transfer_status; - cfg.cb.on_call_replaced = &on_call_replaced; - cfg.cb.on_nat_detect = &on_nat_detect; - cfg.cb.on_reg_state = &on_reg_state; - - pjsua_media_config med_cfg; - - pjsua_media_config_default(&med_cfg); - med_cfg.thread_cnt = 0; // Disable threading on Symbian - med_cfg.has_ioqueue = PJ_FALSE; - med_cfg.clock_rate = 8000; -#if defined(PJMEDIA_SYM_SND_USE_APS) && (PJMEDIA_SYM_SND_USE_APS==1) - med_cfg.audio_frame_ptime = 20; -#else - med_cfg.audio_frame_ptime = 40; -#endif - med_cfg.ec_tail_len = 0; - med_cfg.enable_ice = USE_ICE; - med_cfg.snd_auto_close_time = 5; // wait for 5 seconds idle before sound dev get auto-closed - - pjsua_logging_config log_cfg; - - pjsua_logging_config_default(&log_cfg); - log_cfg.console_level = LOG_LEVEL; - log_cfg.cb = &log_writer; - log_cfg.decor = 0; - - status = pjsua_init(&cfg, &log_cfg, &med_cfg); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "pjsua_init() error", status); - pjsua_destroy(); - return status; - } - - /* Add UDP transport. */ - pjsua_transport_config tcfg; - pjsua_transport_id tid; - - pjsua_transport_config_default(&tcfg); - tcfg.port = SIP_PORT; - status = pjsua_transport_create(PJSIP_TRANSPORT_UDP, &tcfg, &tid); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error creating transport", status); - pjsua_destroy(); - return status; - } - - /* Add account for the transport */ - pjsua_acc_add_local(tid, PJ_TRUE, &g_acc_id); - - /* Initialization is done, now start pjsua */ - status = pjsua_start(); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error starting pjsua", status); - pjsua_destroy(); - return status; - } - - /* Adjust Speex priority and enable only the narrowband */ - { - pj_str_t codec_id = pj_str("speex/8000"); - pjmedia_codec_mgr_set_codec_priority( - pjmedia_endpt_get_codec_mgr(pjsua_var.med_endpt), - &codec_id, PJMEDIA_CODEC_PRIO_NORMAL+1); - - codec_id = pj_str("speex/16000"); - pjmedia_codec_mgr_set_codec_priority( - pjmedia_endpt_get_codec_mgr(pjsua_var.med_endpt), - &codec_id, PJMEDIA_CODEC_PRIO_DISABLED); - - codec_id = pj_str("speex/32000"); - pjmedia_codec_mgr_set_codec_priority( - pjmedia_endpt_get_codec_mgr(pjsua_var.med_endpt), - &codec_id, PJMEDIA_CODEC_PRIO_DISABLED); - } - - return PJ_SUCCESS; -} - - -int symbian_ua_destroy() -{ - // Shutdown pjsua - pjsua_destroy(); - - // Close connection and socket server - aConn.Close(); - aSocketServer.Close(); - - CloseSTDLIB(); - - return PJ_SUCCESS; -} - -void symbian_ua_set_info_callback(const symbian_ua_info_cb_t *cb) -{ - if (cb) - g_cb = *cb; - else - pj_bzero(&g_cb, sizeof(g_cb)); -} - -int symbian_ua_set_account(const char *domain, const char *username, - const char *password, - bool use_srtp, bool use_ice) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(username && password && domain, PJ_EINVAL); - PJ_UNUSED_ARG(use_srtp); - PJ_UNUSED_ARG(use_ice); - - if (domain[0] == 0) { - pjsua_acc_info acc_info; - pj_status_t status; - - status = pjsua_acc_get_info(g_acc_id, &acc_info); - if (status != PJ_SUCCESS) - return status; - - if (acc_info.status == 200) { - PJ_LOG(3,(THIS_FILE, "Unregistering..")); - pjsua_acc_set_registration(g_acc_id, PJ_FALSE); - g_acc_id = 0; - } - return PJ_SUCCESS; - } - - if (pjsua_acc_get_count() > 1) { - status = pjsua_acc_del(g_acc_id); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error removing account", status); - return status; - } - g_acc_id = 0; - } - - pjsua_acc_config cfg; - char tmp_id[PJSIP_MAX_URL_SIZE]; - char tmp_reg_uri[PJSIP_MAX_URL_SIZE]; - - if (!pj_ansi_strnicmp(domain, "sip:", 4)) { - domain += 4; - } - - pjsua_acc_config_default(&cfg); - pj_ansi_sprintf(tmp_id, "sip:%s@%s", username, domain); - cfg.id = pj_str(tmp_id); - pj_ansi_sprintf(tmp_reg_uri, "sip:%s", domain); - cfg.reg_uri = pj_str(tmp_reg_uri); - cfg.cred_count = 1; - cfg.cred_info[0].realm = pj_str("*"); - cfg.cred_info[0].scheme = pj_str("digest"); - cfg.cred_info[0].username = pj_str((char*)username); - cfg.cred_info[0].data_type = PJSIP_CRED_DATA_PLAIN_PASSWD; - cfg.cred_info[0].data = pj_str((char*)password); - - status = pjsua_acc_add(&cfg, PJ_TRUE, &g_acc_id); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error setting account", status); - pjsua_destroy(); - return status; - } - - return PJ_SUCCESS; -} - -int symbian_ua_makecall(const char* dest_url) -{ - if (pjsua_verify_url(dest_url) == PJ_SUCCESS) { - pj_str_t dst = pj_str((char*)dest_url); - pjsua_call_make_call(g_acc_id, &dst, 0, NULL, - NULL, &g_call_id); - - return PJ_SUCCESS; - } - - return PJ_EINVAL; -} - -int symbian_ua_endcall() -{ - pjsua_call_hangup_all(); - - return PJ_SUCCESS; -} - -bool symbian_ua_anycall() -{ - return (pjsua_call_get_count()>0); -} - -int symbian_ua_answercall() -{ - PJ_ASSERT_RETURN (g_call_id != PJSUA_INVALID_ID, PJ_EINVAL); - - return pjsua_call_answer(g_call_id, 200, NULL, NULL); -} - diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiAppUi.cpp b/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiAppUi.cpp deleted file mode 100644 index 9359ccc5df..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiAppUi.cpp +++ /dev/null @@ -1,257 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -// [[[ begin generated region: do not modify [Generated System Includes] -#include -#include -#include -#include -// ]]] end generated region [Generated System Includes] - -// [[[ begin generated region: do not modify [Generated User Includes] -#include "symbian_ua_guiAppUi.h" -#include "symbian_ua_gui.hrh" -#include "symbian_ua_guiContainer.hrh" -#include "symbian_ua_guiSettingItemList.hrh" -#include "symbian_ua_guiContainerView.h" -#include "symbian_ua_guiSettingItemListView.h" -// ]]] end generated region [Generated User Includes] - -// [[[ begin generated region: do not modify [Generated Constants] -// ]]] end generated region [Generated Constants] - -#include "symbian_ua.h" - -/** - * Construct the Csymbian_ua_guiAppUi instance - */ -Csymbian_ua_guiAppUi::Csymbian_ua_guiAppUi() : CTimer(0) - { - // [[[ begin generated region: do not modify [Generated Contents] - // ]]] end generated region [Generated Contents] - - } - -/** - * The appui's destructor removes the container from the control - * stack and destroys it. - */ -Csymbian_ua_guiAppUi::~Csymbian_ua_guiAppUi() - { - // [[[ begin generated region: do not modify [Generated Contents] - TRAPD( err_Dlg_wait_init, RemoveDlg_wait_initL() ); - // ]]] end generated region [Generated Contents] - } - -// [[[ begin generated function: do not modify -void Csymbian_ua_guiAppUi::InitializeContainersL() - { - iSymbian_ua_guiContainerView = Csymbian_ua_guiContainerView::NewL(); - AddViewL( iSymbian_ua_guiContainerView ); - iSymbian_ua_guiSettingItemListView = Csymbian_ua_guiSettingItemListView::NewL(); - AddViewL( iSymbian_ua_guiSettingItemListView ); - SetDefaultViewL( *iSymbian_ua_guiSettingItemListView ); - } -// ]]] end generated function - -/** - * Handle a command for this appui (override) - * @param aCommand command id to be handled - */ -void Csymbian_ua_guiAppUi::HandleCommandL( TInt aCommand ) - { - // [[[ begin generated region: do not modify [Generated Code] - TBool commandHandled = EFalse; - switch ( aCommand ) - { // code to dispatch to the AppUi's menu and CBA commands is generated here - default: - break; - } - - - if ( !commandHandled ) - { - if ( aCommand == EAknSoftkeyExit || aCommand == EEikCmdExit ) - { - symbian_ua_destroy(); - Exit(); - } - } - // ]]] end generated region [Generated Code] - - } - -/** - * Override of the HandleResourceChangeL virtual function - */ -void Csymbian_ua_guiAppUi::HandleResourceChangeL( TInt aType ) - { - CAknViewAppUi::HandleResourceChangeL( aType ); - // [[[ begin generated region: do not modify [Generated Code] - // ]]] end generated region [Generated Code] - - } - -/** - * Override of the HandleKeyEventL virtual function - * @return EKeyWasConsumed if event was handled, EKeyWasNotConsumed if not - * @param aKeyEvent - * @param aType - */ -TKeyResponse Csymbian_ua_guiAppUi::HandleKeyEventL( - const TKeyEvent& aKeyEvent, - TEventCode aType ) - { - // The inherited HandleKeyEventL is private and cannot be called - // [[[ begin generated region: do not modify [Generated Contents] - // ]]] end generated region [Generated Contents] - - return EKeyWasNotConsumed; - } - -/** - * Override of the HandleViewDeactivation virtual function - * - * @param aViewIdToBeDeactivated - * @param aNewlyActivatedViewId - */ -void Csymbian_ua_guiAppUi::HandleViewDeactivation( - const TVwsViewId& aViewIdToBeDeactivated, - const TVwsViewId& aNewlyActivatedViewId ) - { - CAknViewAppUi::HandleViewDeactivation( - aViewIdToBeDeactivated, - aNewlyActivatedViewId ); - // [[[ begin generated region: do not modify [Generated Contents] - // ]]] end generated region [Generated Contents] - - } - -/** - * @brief Completes the second phase of Symbian object construction. - * Put initialization code that could leave here. - */ -void Csymbian_ua_guiAppUi::ConstructL() - { - // [[[ begin generated region: do not modify [Generated Contents] - BaseConstructL( EAknEnableSkin ); - InitializeContainersL(); - // ]]] end generated region [Generated Contents] - - // Create private folder - RProcess process; - TFileName path; - - path.Copy( process.FileName().Left(2) ); - - if(path.Compare(_L("c")) || path.Compare(_L("C"))) - CEikonEnv::Static()->FsSession().CreatePrivatePath(EDriveC); - else if(path.Compare(_L("e")) || path.Compare(_L("E"))) - CEikonEnv::Static()->FsSession().CreatePrivatePath(EDriveE); - - // Init PJSUA - if (symbian_ua_init() != 0) { - symbian_ua_destroy(); - Exit(); - } - - ExecuteDlg_wait_initLD(); - - CTimer::ConstructL(); - CActiveScheduler::Add( this ); - After(4000000); - } - -/** - * Override of the HandleApplicationSpecificEventL virtual function - */ -void Csymbian_ua_guiAppUi::HandleApplicationSpecificEventL( - TInt aType, - const TWsEvent& anEvent ) - { - CAknViewAppUi::HandleApplicationSpecificEventL( aType, anEvent ); - // [[[ begin generated region: do not modify [Generated Code] - // ]]] end generated region [Generated Code] - - } - -/** - * Handle the applicationSpecificEvent event. - */ -void Csymbian_ua_guiAppUi::HandleSymbian_ua_guiAppUiApplicationSpecificEventL( - TInt /* aType */, - const TWsEvent& /* anEvent */ ) - { - // TODO: implement applicationSpecificEvent event handler - } - -// [[[ begin generated function: do not modify -/** - * Execute the wait dialog for dlg_wait_init. This routine returns - * while the dialog is showing. It will be closed and destroyed when - * RemoveDlg_wait_initL() or the user selects the Cancel soft key. - * @param aOverrideText optional override text. When null the text configured - * in the UI Designer is used. - */ -void Csymbian_ua_guiAppUi::ExecuteDlg_wait_initLD( const TDesC* aOverrideText ) - { - iDlg_wait_init = new ( ELeave ) CAknWaitDialog( - reinterpret_cast< CEikDialog** >( &iDlg_wait_init ), EFalse ); - if ( aOverrideText != NULL ) - { - iDlg_wait_init->SetTextL( *aOverrideText ); - } - iDlg_wait_init->ExecuteLD( R_APPLICATION_DLG_WAIT_INIT ); - iDlg_wait_initCallback = new ( ELeave ) CProgressDialogCallback( - this, iDlg_wait_init, &Csymbian_ua_guiAppUi::HandleDlg_wait_initCanceledL ); - iDlg_wait_init->SetCallback( iDlg_wait_initCallback ); - } -// ]]] end generated function - -// [[[ begin generated function: do not modify -/** - * Close and dispose of the wait dialog for dlg_wait_init - */ -void Csymbian_ua_guiAppUi::RemoveDlg_wait_initL() - { - if ( iDlg_wait_init != NULL ) - { - iDlg_wait_init->SetCallback( NULL ); - iDlg_wait_init->ProcessFinishedL(); // deletes the dialog - iDlg_wait_init = NULL; - } - delete iDlg_wait_initCallback; - iDlg_wait_initCallback = NULL; - - } -// ]]] end generated function - -/** - * Handle the canceled event. - */ -void Csymbian_ua_guiAppUi::HandleDlg_wait_initCanceledL( CAknProgressDialog* /* aDialog */ ) - { - // TODO: implement canceled event handler - - } - -void Csymbian_ua_guiAppUi::RunL() - { - RemoveDlg_wait_initL(); - iSymbian_ua_guiSettingItemListView->HandleCommandL(EAknSoftkeySave); - } diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiApplication.cpp b/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiApplication.cpp deleted file mode 100644 index c71fdaad5e..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiApplication.cpp +++ /dev/null @@ -1,96 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -// [[[ begin generated region: do not modify [Generated System Includes] -// ]]] end generated region [Generated System Includes] - -// [[[ begin generated region: do not modify [Generated Includes] -#include "symbian_ua_guiApplication.h" -#include "symbian_ua_guiDocument.h" -#ifdef EKA2 -#include -#endif -// ]]] end generated region [Generated Includes] - - -// Needed by APS -TPtrC APP_UID = _L("EBD12EE4"); - -/** - * @brief Returns the application's UID (override from CApaApplication::AppDllUid()) - * @return UID for this application (KUidsymbian_ua_guiApplication) - */ -TUid Csymbian_ua_guiApplication::AppDllUid() const - { - return KUidsymbian_ua_guiApplication; - } - -/** - * @brief Creates the application's document (override from CApaApplication::CreateDocumentL()) - * @return Pointer to the created document object (Csymbian_ua_guiDocument) - */ -CApaDocument* Csymbian_ua_guiApplication::CreateDocumentL() - { - return Csymbian_ua_guiDocument::NewL( *this ); - } - -#ifdef EKA2 - -/** - * @brief Called by the application framework to construct the application object - * @return The application (Csymbian_ua_guiApplication) - */ -LOCAL_C CApaApplication* NewApplication() - { - return new Csymbian_ua_guiApplication; - } - -/** -* @brief This standard export is the entry point for all Series 60 applications -* @return error code - */ -GLDEF_C TInt E32Main() - { - TInt err; - - err = EikStart::RunApplication( NewApplication ); - - return err; - } - -#else // Series 60 2.x main DLL program code - -/** -* @brief This standard export constructs the application object. -* @return The application (Csymbian_ua_guiApplication) -*/ -EXPORT_C CApaApplication* NewApplication() - { - return new Csymbian_ua_guiApplication; - } - -/** -* @brief This standard export is the entry point for all Series 60 applications -* @return error code -*/ -GLDEF_C TInt E32Dll(TDllReason /*reason*/) - { - return KErrNone; - } - -#endif // EKA2 diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiContainer.cpp b/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiContainer.cpp deleted file mode 100644 index c684c4e338..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiContainer.cpp +++ /dev/null @@ -1,295 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -// [[[ begin generated region: do not modify [Generated System Includes] -#include -#include -#include -#include -#include -#include -#include -#include -#include -// ]]] end generated region [Generated System Includes] - -// [[[ begin generated region: do not modify [Generated User Includes] -#include "symbian_ua_guiContainer.h" -#include "symbian_ua_guiContainerView.h" -#include "symbian_ua_gui.hrh" -#include "symbian_ua_guiContainer.hrh" -#include "symbian_ua_guiSettingItemList.hrh" -// ]]] end generated region [Generated User Includes] - -// [[[ begin generated region: do not modify [Generated Constants] -// ]]] end generated region [Generated Constants] - -/** - * First phase of Symbian two-phase construction. Should not - * contain any code that could leave. - */ -CSymbian_ua_guiContainer::CSymbian_ua_guiContainer() - { - // [[[ begin generated region: do not modify [Generated Contents] - iLabel1 = NULL; - iEd_url = NULL; - iEd_info = NULL; - // ]]] end generated region [Generated Contents] - - } -/** - * Destroy child controls. - */ -CSymbian_ua_guiContainer::~CSymbian_ua_guiContainer() - { - // [[[ begin generated region: do not modify [Generated Contents] - delete iLabel1; - iLabel1 = NULL; - delete iEd_url; - iEd_url = NULL; - delete iEd_info; - iEd_info = NULL; - // ]]] end generated region [Generated Contents] - - } - -/** - * Construct the control (first phase). - * Creates an instance and initializes it. - * Instance is not left on cleanup stack. - * @param aRect bounding rectangle - * @param aParent owning parent, or NULL - * @param aCommandObserver command observer - * @return initialized instance of CSymbian_ua_guiContainer - */ -CSymbian_ua_guiContainer* CSymbian_ua_guiContainer::NewL( - const TRect& aRect, - const CCoeControl* aParent, - MEikCommandObserver* aCommandObserver ) - { - CSymbian_ua_guiContainer* self = CSymbian_ua_guiContainer::NewLC( - aRect, - aParent, - aCommandObserver ); - CleanupStack::Pop( self ); - return self; - } - -/** - * Construct the control (first phase). - * Creates an instance and initializes it. - * Instance is left on cleanup stack. - * @param aRect The rectangle for this window - * @param aParent owning parent, or NULL - * @param aCommandObserver command observer - * @return new instance of CSymbian_ua_guiContainer - */ -CSymbian_ua_guiContainer* CSymbian_ua_guiContainer::NewLC( - const TRect& aRect, - const CCoeControl* aParent, - MEikCommandObserver* aCommandObserver ) - { - CSymbian_ua_guiContainer* self = new ( ELeave ) CSymbian_ua_guiContainer(); - CleanupStack::PushL( self ); - self->ConstructL( aRect, aParent, aCommandObserver ); - return self; - } - -/** - * Construct the control (second phase). - * Creates a window to contain the controls and activates it. - * @param aRect bounding rectangle - * @param aCommandObserver command observer - * @param aParent owning parent, or NULL - */ -void CSymbian_ua_guiContainer::ConstructL( - const TRect& aRect, - const CCoeControl* aParent, - MEikCommandObserver* aCommandObserver ) - { - if ( aParent == NULL ) - { - CreateWindowL(); - } - else - { - SetContainerWindowL( *aParent ); - } - iFocusControl = NULL; - iCommandObserver = aCommandObserver; - InitializeControlsL(); - SetRect( aRect ); - ActivateL(); - // [[[ begin generated region: do not modify [Post-ActivateL initializations] - // ]]] end generated region [Post-ActivateL initializations] - - } - -/** -* Return the number of controls in the container (override) -* @return count -*/ -TInt CSymbian_ua_guiContainer::CountComponentControls() const - { - return ( int ) ELastControl; - } - -/** -* Get the control with the given index (override) -* @param aIndex Control index [0...n) (limited by #CountComponentControls) -* @return Pointer to control -*/ -CCoeControl* CSymbian_ua_guiContainer::ComponentControl( TInt aIndex ) const - { - // [[[ begin generated region: do not modify [Generated Contents] - switch ( aIndex ) - { - case ELabel1: - return iLabel1; - case EEd_url: - return iEd_url; - case EEd_info: - return iEd_info; - } - // ]]] end generated region [Generated Contents] - - // handle any user controls here... - - return NULL; - } - -/** - * Handle resizing of the container. This implementation will lay out - * full-sized controls like list boxes for any screen size, and will layout - * labels, editors, etc. to the size they were given in the UI designer. - * This code will need to be modified to adjust arbitrary controls to - * any screen size. - */ -void CSymbian_ua_guiContainer::SizeChanged() - { - CCoeControl::SizeChanged(); - LayoutControls(); - // [[[ begin generated region: do not modify [Generated Contents] - - // ]]] end generated region [Generated Contents] - - } - -// [[[ begin generated function: do not modify -/** - * Layout components as specified in the UI Designer - */ -void CSymbian_ua_guiContainer::LayoutControls() - { - iLabel1->SetExtent( TPoint( 2, 23 ), TSize( 32, 28 ) ); - iEd_url->SetExtent( TPoint( 49, 25 ), TSize( 197, 28 ) ); - iEd_info->SetExtent( TPoint( 3, 78 ), TSize( 235, 143 ) ); - } -// ]]] end generated function - -/** - * Handle key events. - */ -TKeyResponse CSymbian_ua_guiContainer::OfferKeyEventL( - const TKeyEvent& aKeyEvent, - TEventCode aType ) - { - // [[[ begin generated region: do not modify [Generated Contents] - - // ]]] end generated region [Generated Contents] - - if ( iFocusControl != NULL - && iFocusControl->OfferKeyEventL( aKeyEvent, aType ) == EKeyWasConsumed ) - { - return EKeyWasConsumed; - } - return CCoeControl::OfferKeyEventL( aKeyEvent, aType ); - } - -// [[[ begin generated function: do not modify -/** - * Initialize each control upon creation. - */ -void CSymbian_ua_guiContainer::InitializeControlsL() - { - iLabel1 = new ( ELeave ) CEikLabel; - iLabel1->SetContainerWindowL( *this ); - { - TResourceReader reader; - iEikonEnv->CreateResourceReaderLC( reader, R_SYMBIAN_UA_GUI_CONTAINER_LABEL1 ); - iLabel1->ConstructFromResourceL( reader ); - CleanupStack::PopAndDestroy(); // reader internal state - } - iEd_url = new ( ELeave ) CEikEdwin; - iEd_url->SetContainerWindowL( *this ); - { - TResourceReader reader; - iEikonEnv->CreateResourceReaderLC( reader, R_SYMBIAN_UA_GUI_CONTAINER_ED_URL ); - iEd_url->ConstructFromResourceL( reader ); - CleanupStack::PopAndDestroy(); // reader internal state - } - { - HBufC* text = StringLoader::LoadLC( R_SYMBIAN_UA_GUI_CONTAINER_ED_URL_2 ); - iEd_url->SetTextL( text ); - CleanupStack::PopAndDestroy( text ); - } - iEd_info = new ( ELeave ) CEikEdwin; - iEd_info->SetContainerWindowL( *this ); - { - TResourceReader reader; - iEikonEnv->CreateResourceReaderLC( reader, R_SYMBIAN_UA_GUI_CONTAINER_ED_INFO ); - iEd_info->ConstructFromResourceL( reader ); - CleanupStack::PopAndDestroy(); // reader internal state - } - { - HBufC* text = StringLoader::LoadLC( R_SYMBIAN_UA_GUI_CONTAINER_ED_INFO_2 ); - iEd_info->SetTextL( text ); - CleanupStack::PopAndDestroy( text ); - } - - iEd_url->SetFocus( ETrue ); - iFocusControl = iEd_url; - - } -// ]]] end generated function - -/** - * Handle global resource changes, such as scalable UI or skin events (override) - */ -void CSymbian_ua_guiContainer::HandleResourceChange( TInt aType ) - { - CCoeControl::HandleResourceChange( aType ); - SetRect( iAvkonViewAppUi->View( TUid::Uid( ESymbian_ua_guiContainerViewId ) )->ClientRect() ); - // [[[ begin generated region: do not modify [Generated Contents] - // ]]] end generated region [Generated Contents] - - } - -/** - * Draw container contents. - */ -void CSymbian_ua_guiContainer::Draw( const TRect& aRect ) const - { - // [[[ begin generated region: do not modify [Generated Contents] - CWindowGc& gc = SystemGc(); - gc.Clear( aRect ); - - // ]]] end generated region [Generated Contents] - - } - diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiContainerView.cpp b/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiContainerView.cpp deleted file mode 100644 index df44ace1bb..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiContainerView.cpp +++ /dev/null @@ -1,488 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -// [[[ begin generated region: do not modify [Generated System Includes] -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -// ]]] end generated region [Generated System Includes] - -// [[[ begin generated region: do not modify [Generated User Includes] -#include "symbian_ua_gui.hrh" -#include "symbian_ua_guiContainerView.h" -#include "symbian_ua_guiContainer.hrh" -#include "symbian_ua_guiSettingItemList.hrh" -#include "symbian_ua_guiContainer.h" -// ]]] end generated region [Generated User Includes] - -#include -#include "symbian_ua.h" - -// [[[ begin generated region: do not modify [Generated Constants] -// ]]] end generated region [Generated Constants] - -Csymbian_ua_guiContainerView *myinstance = NULL; -_LIT(KStCall, "Call"); -_LIT(KStHangUp, "Hang Up"); - -void on_info(const wchar_t* buf) -{ - TPtrC aBuf((const TUint16*)buf); - - if (myinstance) - myinstance->PutMessage(aBuf); -} - -void on_incoming_call(const wchar_t* caller_disp, const wchar_t* caller_uri) -{ - TBuf<512> buf; - TPtrC aDisp((const TUint16*)caller_disp); - TPtrC aUri((const TUint16*)caller_uri); - _LIT(KFormat, "Incoming call from %S, accept?"); - - buf.Format(KFormat, &aDisp); - if (Csymbian_ua_guiContainerView::RunQry_accept_callL(&buf) == EAknSoftkeyYes) - { - CEikButtonGroupContainer* cba = CEikButtonGroupContainer::Current(); - if (cba != NULL) { - TRAPD(result, cba->SetCommandL(ESymbian_ua_guiContainerViewControlPaneRightId, KStHangUp)); - cba->DrawDeferred(); - } - symbian_ua_answercall(); - } else { - symbian_ua_endcall(); - } -} - -void on_call_end(const wchar_t* reason) -{ - TPtrC aReason((const TUint16*)reason); - - CEikButtonGroupContainer* cba = CEikButtonGroupContainer::Current(); - if (cba != NULL) { - TRAPD(result, cba->SetCommandL(ESymbian_ua_guiContainerViewControlPaneRightId, KStCall)); - cba->DrawDeferred(); - } - - Csymbian_ua_guiContainerView::RunNote_infoL(&aReason); -} - -void on_reg_state(bool success) -{ - if (success) - Csymbian_ua_guiContainerView::RunNote_infoL(); - else - Csymbian_ua_guiContainerView::RunNote_warningL(); -} - -void on_unreg_state(bool success) -{ - TPtrC st_success(_L("Unregistration Success!")); - TPtrC st_failed(_L("Unregistration Failed!")); - - if (success) - Csymbian_ua_guiContainerView::RunNote_infoL(&st_success); - else - Csymbian_ua_guiContainerView::RunNote_warningL(&st_failed); -} - -void Csymbian_ua_guiContainerView::PutMessage(const TDesC &msg) - { - if (!iSymbian_ua_guiContainer) - return; - - CEikEdwin *obj_info = (CEikEdwin*) iSymbian_ua_guiContainer->ComponentControl(iSymbian_ua_guiContainer->EEd_info); - - obj_info->SetTextL(&msg); - obj_info->DrawDeferred(); - } - -/** - * First phase of Symbian two-phase construction. Should not contain any - * code that could leave. - */ -Csymbian_ua_guiContainerView::Csymbian_ua_guiContainerView() - { - // [[[ begin generated region: do not modify [Generated Contents] - iSymbian_ua_guiContainer = NULL; - // ]]] end generated region [Generated Contents] - - } -/** - * The view's destructor removes the container from the control - * stack and destroys it. - */ -Csymbian_ua_guiContainerView::~Csymbian_ua_guiContainerView() - { - // [[[ begin generated region: do not modify [Generated Contents] - delete iSymbian_ua_guiContainer; - iSymbian_ua_guiContainer = NULL; - // ]]] end generated region [Generated Contents] - - symbian_ua_set_info_callback(NULL); - myinstance = NULL; - } - -/** - * Symbian two-phase constructor. - * This creates an instance then calls the second-phase constructor - * without leaving the instance on the cleanup stack. - * @return new instance of Csymbian_ua_guiContainerView - */ -Csymbian_ua_guiContainerView* Csymbian_ua_guiContainerView::NewL() - { - Csymbian_ua_guiContainerView* self = Csymbian_ua_guiContainerView::NewLC(); - CleanupStack::Pop( self ); - return self; - } - -/** - * Symbian two-phase constructor. - * This creates an instance, pushes it on the cleanup stack, - * then calls the second-phase constructor. - * @return new instance of Csymbian_ua_guiContainerView - */ -Csymbian_ua_guiContainerView* Csymbian_ua_guiContainerView::NewLC() - { - Csymbian_ua_guiContainerView* self = new ( ELeave ) Csymbian_ua_guiContainerView(); - CleanupStack::PushL( self ); - self->ConstructL(); - return self; - } - - -/** - * Second-phase constructor for view. - * Initialize contents from resource. - */ -void Csymbian_ua_guiContainerView::ConstructL() - { - // [[[ begin generated region: do not modify [Generated Code] - BaseConstructL( R_SYMBIAN_UA_GUI_CONTAINER_SYMBIAN_UA_GUI_CONTAINER_VIEW ); - // ]]] end generated region [Generated Code] - - // add your own initialization code here - symbian_ua_info_cb_t cb; - Mem::FillZ(&cb, sizeof(cb)); - - cb.on_info = &on_info; - cb.on_incoming_call = &on_incoming_call; - cb.on_reg_state = &on_reg_state; - cb.on_unreg_state = &on_unreg_state; - cb.on_call_end = &on_call_end; - - symbian_ua_set_info_callback(&cb); - myinstance = this; - } - -/** - * @return The UID for this view - */ -TUid Csymbian_ua_guiContainerView::Id() const - { - return TUid::Uid( ESymbian_ua_guiContainerViewId ); - } - -/** - * Handle a command for this view (override) - * @param aCommand command id to be handled - */ -void Csymbian_ua_guiContainerView::HandleCommandL( TInt aCommand ) - { - // [[[ begin generated region: do not modify [Generated Code] - TBool commandHandled = EFalse; - switch ( aCommand ) - { // code to dispatch to the AknView's menu and CBA commands is generated here - - case ESymbian_ua_guiContainerViewControlPaneRightId: - commandHandled = CallSoftKeyPressedL( aCommand ); - break; - case ESymbian_ua_guiContainerViewSettingMenuItemCommand: - commandHandled = HandleSettingMenuItemSelectedL( aCommand ); - break; - default: - break; - } - - - if ( !commandHandled ) - { - - if ( aCommand == ESymbian_ua_guiContainerViewControlPaneRightId ) - { - AppUi()->HandleCommandL( EEikCmdExit ); - } - - } - // ]]] end generated region [Generated Code] - - } - -/** - * Handles user actions during activation of the view, - * such as initializing the content. - */ -void Csymbian_ua_guiContainerView::DoActivateL( - const TVwsViewId& /*aPrevViewId*/, - TUid /*aCustomMessageId*/, - const TDesC8& /*aCustomMessage*/ ) - { - // [[[ begin generated region: do not modify [Generated Contents] - SetupStatusPaneL(); - - CEikButtonGroupContainer* cba = AppUi()->Cba(); - if ( cba != NULL ) - { - cba->MakeVisible( EFalse ); - } - - if ( iSymbian_ua_guiContainer == NULL ) - { - iSymbian_ua_guiContainer = CSymbian_ua_guiContainer::NewL( ClientRect(), NULL, this ); - iSymbian_ua_guiContainer->SetMopParent( this ); - AppUi()->AddToStackL( *this, iSymbian_ua_guiContainer ); - } - // ]]] end generated region [Generated Contents] - - cba = CEikButtonGroupContainer::Current(); - if (cba != NULL) { - if (symbian_ua_anycall()) - cba->SetCommandL(ESymbian_ua_guiContainerViewControlPaneRightId, KStHangUp); - else - cba->SetCommandL(ESymbian_ua_guiContainerViewControlPaneRightId, KStCall); - } - - } - -/** - */ -void Csymbian_ua_guiContainerView::DoDeactivate() - { - // [[[ begin generated region: do not modify [Generated Contents] - CleanupStatusPane(); - - CEikButtonGroupContainer* cba = AppUi()->Cba(); - if ( cba != NULL ) - { - cba->MakeVisible( ETrue ); - cba->DrawDeferred(); - } - - if ( iSymbian_ua_guiContainer != NULL ) - { - AppUi()->RemoveFromViewStack( *this, iSymbian_ua_guiContainer ); - delete iSymbian_ua_guiContainer; - iSymbian_ua_guiContainer = NULL; - } - // ]]] end generated region [Generated Contents] - - } - -// [[[ begin generated function: do not modify -void Csymbian_ua_guiContainerView::SetupStatusPaneL() - { - // reset the context pane - TUid contextPaneUid = TUid::Uid( EEikStatusPaneUidContext ); - CEikStatusPaneBase::TPaneCapabilities subPaneContext = - StatusPane()->PaneCapabilities( contextPaneUid ); - if ( subPaneContext.IsPresent() && subPaneContext.IsAppOwned() ) - { - CAknContextPane* context = static_cast< CAknContextPane* > ( - StatusPane()->ControlL( contextPaneUid ) ); - context->SetPictureToDefaultL(); - } - - // setup the title pane - TUid titlePaneUid = TUid::Uid( EEikStatusPaneUidTitle ); - CEikStatusPaneBase::TPaneCapabilities subPaneTitle = - StatusPane()->PaneCapabilities( titlePaneUid ); - if ( subPaneTitle.IsPresent() && subPaneTitle.IsAppOwned() ) - { - CAknTitlePane* title = static_cast< CAknTitlePane* >( - StatusPane()->ControlL( titlePaneUid ) ); - TResourceReader reader; - iEikonEnv->CreateResourceReaderLC( reader, R_SYMBIAN_UA_GUI_CONTAINER_TITLE_RESOURCE ); - title->SetFromResourceL( reader ); - CleanupStack::PopAndDestroy(); // reader internal state - } - - } -// ]]] end generated function - -// [[[ begin generated function: do not modify -void Csymbian_ua_guiContainerView::CleanupStatusPane() - { - } -// ]]] end generated function - -/** - * Handle status pane size change for this view (override) - */ -void Csymbian_ua_guiContainerView::HandleStatusPaneSizeChange() - { - CAknView::HandleStatusPaneSizeChange(); - - // this may fail, but we're not able to propagate exceptions here - TInt result; - TRAP( result, SetupStatusPaneL() ); - } - -/** - * Handle the rightSoftKeyPressed event. - * @return ETrue if the command was handled, EFalse if not - */ -TBool Csymbian_ua_guiContainerView::CallSoftKeyPressedL( TInt aCommand ) - { - CEikEdwin *obj_url = (CEikEdwin*) iSymbian_ua_guiContainer->ComponentControl(iSymbian_ua_guiContainer->EEd_url); - CEikButtonGroupContainer* cba = CEikButtonGroupContainer::Current(); - - if (symbian_ua_anycall()) { - symbian_ua_endcall(); - return ETrue; - } - - PutMessage(_L("Making call...")); - if ( cba != NULL ) { - cba->SetCommandL(aCommand, KStHangUp); - cba->DrawDeferred(); - } - - - TUint8 url[256]; - TPtr8 aUrl(url, 256); - - HBufC *buf = obj_url->GetTextInHBufL(); - CnvUtfConverter::ConvertFromUnicodeToUtf8(aUrl, *buf); - delete buf; - - if (symbian_ua_makecall((char *)aUrl.PtrZ()) != 0) { - PutMessage(_L("Making call failed!")); - if ( cba != NULL ) { - cba->SetCommandL(aCommand, KStCall); - cba->DrawDeferred(); - } - } - - return ETrue; - } - -/** - * Handle the selected event. - * @param aCommand the command id invoked - * @return ETrue if the command was handled, EFalse if not - */ -TBool Csymbian_ua_guiContainerView::HandleSettingMenuItemSelectedL( TInt aCommand ) - { - AppUi()->ActivateLocalViewL(TUid::Uid(ESymbian_ua_guiSettingItemListViewId)); - return ETrue; - } - -// [[[ begin generated function: do not modify -/** - * Show the popup note for note_error - * @param aOverrideText optional override text - */ -void Csymbian_ua_guiContainerView::RunNote_errorL( const TDesC* aOverrideText ) - { - CAknErrorNote* note = new ( ELeave ) CAknErrorNote(); - if ( aOverrideText == NULL ) - { - HBufC* noteText = StringLoader::LoadLC( R_SYMBIAN_UA_GUI_CONTAINER_NOTE_ERROR ); - note->ExecuteLD( *noteText ); - CleanupStack::PopAndDestroy( noteText ); - } - else - { - note->ExecuteLD( *aOverrideText ); - } - } -// ]]] end generated function - -// [[[ begin generated function: do not modify -/** - * Show the popup note for note_info - * @param aOverrideText optional override text - */ -void Csymbian_ua_guiContainerView::RunNote_infoL( const TDesC* aOverrideText ) - { - CAknInformationNote* note = new ( ELeave ) CAknInformationNote(); - if ( aOverrideText == NULL ) - { - HBufC* noteText = StringLoader::LoadLC( R_SYMBIAN_UA_GUI_CONTAINER_NOTE_INFO ); - note->ExecuteLD( *noteText ); - CleanupStack::PopAndDestroy( noteText ); - } - else - { - note->ExecuteLD( *aOverrideText ); - } - } -// ]]] end generated function - -// [[[ begin generated function: do not modify -/** - * Show the popup note for note_warning - * @param aOverrideText optional override text - */ -void Csymbian_ua_guiContainerView::RunNote_warningL( const TDesC* aOverrideText ) - { - CAknWarningNote* note = new ( ELeave ) CAknWarningNote(); - if ( aOverrideText == NULL ) - { - HBufC* noteText = StringLoader::LoadLC( R_SYMBIAN_UA_GUI_CONTAINER_NOTE_WARNING ); - note->ExecuteLD( *noteText ); - CleanupStack::PopAndDestroy( noteText ); - } - else - { - note->ExecuteLD( *aOverrideText ); - } - } -// ]]] end generated function - -// [[[ begin generated function: do not modify -/** - * Show the popup dialog for qry_accept_call - * @param aOverrideText optional override text - * @return EAknSoftkeyYes (left soft key id) or 0 - */ -TInt Csymbian_ua_guiContainerView::RunQry_accept_callL( const TDesC* aOverrideText ) - { - - CAknQueryDialog* queryDialog = CAknQueryDialog::NewL(); - - if ( aOverrideText != NULL ) - { - queryDialog->SetPromptL( *aOverrideText ); - } - return queryDialog->ExecuteLD( R_SYMBIAN_UA_GUI_CONTAINER_QRY_ACCEPT_CALL ); - } -// ]]] end generated function - diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiDocument.cpp b/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiDocument.cpp deleted file mode 100644 index 8bbba8ef52..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiDocument.cpp +++ /dev/null @@ -1,67 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -// [[[ begin generated region: do not modify [Generated User Includes] -#include "symbian_ua_guiDocument.h" -#include "symbian_ua_guiAppUi.h" -// ]]] end generated region [Generated User Includes] - -/** - * @brief Constructs the document class for the application. - * @param anApplication the application instance - */ -Csymbian_ua_guiDocument::Csymbian_ua_guiDocument( CEikApplication& anApplication ) - : CAknDocument( anApplication ) - { - } - -/** - * @brief Completes the second phase of Symbian object construction. - * Put initialization code that could leave here. - */ -void Csymbian_ua_guiDocument::ConstructL() - { - } - -/** - * Symbian OS two-phase constructor. - * - * Creates an instance of Csymbian_ua_guiDocument, constructs it, and - * returns it. - * - * @param aApp the application instance - * @return the new Csymbian_ua_guiDocument - */ -Csymbian_ua_guiDocument* Csymbian_ua_guiDocument::NewL( CEikApplication& aApp ) - { - Csymbian_ua_guiDocument* self = new ( ELeave ) Csymbian_ua_guiDocument( aApp ); - CleanupStack::PushL( self ); - self->ConstructL(); - CleanupStack::Pop( self ); - return self; - } - -/** - * @brief Creates the application UI object for this document. - * @return the new instance - */ -CEikAppUi* Csymbian_ua_guiDocument::CreateAppUiL() - { - return new ( ELeave ) Csymbian_ua_guiAppUi; - } - diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiSettingItemList.cpp b/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiSettingItemList.cpp deleted file mode 100644 index 86d4c25796..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiSettingItemList.cpp +++ /dev/null @@ -1,433 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -// [[[ begin generated region: do not modify [Generated System Includes] -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -// ]]] end generated region [Generated System Includes] - -// [[[ begin generated region: do not modify [Generated User Includes] -#include "symbian_ua_guiSettingItemList.h" -#include "Symbian_ua_guiSettingItemListSettings.h" -#include "symbian_ua_guiSettingItemList.hrh" -#include "symbian_ua_gui.hrh" -#include "symbian_ua_guiSettingItemListView.h" -// ]]] end generated region [Generated User Includes] - - -#include -#include - - -// [[[ begin generated region: do not modify [Generated Constants] -// ]]] end generated region [Generated Constants] - - -_LIT(KtxDicFileName ,"settings.ini" ); - -const TInt KRegistrar = 2; -const TInt KUsername = 3; -const TInt KPassword = 4; -const TInt KStunServer = 5; -const TInt KSrtp = 6; -const TInt KIce = 7; - -/** - * Construct the CSymbian_ua_guiSettingItemList instance - * @param aCommandObserver command observer - */ -CSymbian_ua_guiSettingItemList::CSymbian_ua_guiSettingItemList( - TSymbian_ua_guiSettingItemListSettings& aSettings, - MEikCommandObserver* aCommandObserver ) - : iSettings( aSettings ), iCommandObserver( aCommandObserver ) - { - // [[[ begin generated region: do not modify [Generated Contents] - // ]]] end generated region [Generated Contents] - - } -/** - * Destroy any instance variables - */ -CSymbian_ua_guiSettingItemList::~CSymbian_ua_guiSettingItemList() - { - // [[[ begin generated region: do not modify [Generated Contents] - // ]]] end generated region [Generated Contents] - - } - -/** - * Handle system notification that the container's size has changed. - */ -void CSymbian_ua_guiSettingItemList::SizeChanged() - { - if ( ListBox() ) - { - ListBox()->SetRect( Rect() ); - } - } - -/** - * Create one setting item at a time, identified by id. - * CAknSettingItemList calls this method and takes ownership - * of the returned value. The CAknSettingItem object owns - * a reference to the underlying data, which EditItemL() uses - * to edit and store the value. - */ -CAknSettingItem* CSymbian_ua_guiSettingItemList::CreateSettingItemL( TInt aId ) - { - switch ( aId ) - { - // [[[ begin generated region: do not modify [Initializers] - case ESymbian_ua_guiSettingItemListViewEd_registrar: - { - CAknTextSettingItem* item = new ( ELeave ) - CAknTextSettingItem( - aId, - iSettings.Ed_registrar() ); - item->SetSettingPageFlags(CAknTextSettingPage::EZeroLengthAllowed); - return item; - } - case ESymbian_ua_guiSettingItemListViewEd_user: - { - CAknTextSettingItem* item = new ( ELeave ) - CAknTextSettingItem( - aId, - iSettings.Ed_user() ); - item->SetSettingPageFlags(CAknTextSettingPage::EZeroLengthAllowed); - return item; - } - case ESymbian_ua_guiSettingItemListViewEd_password: - { - CAknPasswordSettingItem* item = new ( ELeave ) - CAknPasswordSettingItem( - aId, - CAknPasswordSettingItem::EAlpha, - iSettings.Ed_password() ); - item->SetSettingPageFlags(CAknTextSettingPage::EZeroLengthAllowed); - return item; - } - case ESymbian_ua_guiSettingItemListViewB_srtp: - { - CAknBinaryPopupSettingItem* item = new ( ELeave ) - CAknBinaryPopupSettingItem( - aId, - iSettings.B_srtp() ); - item->SetHidden( ETrue ); - return item; - } - case ESymbian_ua_guiSettingItemListViewB_ice: - { - CAknBinaryPopupSettingItem* item = new ( ELeave ) - CAknBinaryPopupSettingItem( - aId, - iSettings.B_ice() ); - item->SetHidden( ETrue ); - return item; - } - case ESymbian_ua_guiSettingItemListViewEd_stun_server: - { - CAknTextSettingItem* item = new ( ELeave ) - CAknTextSettingItem( - aId, - iSettings.Ed_stun_server() ); - item->SetHidden( ETrue ); - return item; - } - // ]]] end generated region [Initializers] - - } - - return NULL; - } - -/** - * Edit the setting item identified by the given id and store - * the changes into the store. - * @param aIndex the index of the setting item in SettingItemArray() - * @param aCalledFromMenu true: a menu item invoked editing, thus - * always show the edit page and interactively edit the item; - * false: change the item in place if possible, else show the edit page - */ -void CSymbian_ua_guiSettingItemList::EditItemL ( TInt aIndex, TBool aCalledFromMenu ) - { - CAknSettingItem* item = ( *SettingItemArray() )[aIndex]; - switch ( item->Identifier() ) - { - // [[[ begin generated region: do not modify [Editing Started Invoker] - // ]]] end generated region [Editing Started Invoker] - - } - - CAknSettingItemList::EditItemL( aIndex, aCalledFromMenu ); - - TBool storeValue = ETrue; - switch ( item->Identifier() ) - { - // [[[ begin generated region: do not modify [Editing Stopped Invoker] - // ]]] end generated region [Editing Stopped Invoker] - - } - - if ( storeValue ) - { - item->StoreL(); - SaveSettingValuesL(); - } - } -/** - * Handle the "Change" option on the Options menu. This is an - * alternative to the Selection key that forces the settings page - * to come up rather than changing the value in place (if possible). - */ -void CSymbian_ua_guiSettingItemList::ChangeSelectedItemL() - { - if ( ListBox()->CurrentItemIndex() >= 0 ) - { - EditItemL( ListBox()->CurrentItemIndex(), ETrue ); - } - } - -/** - * Load the initial contents of the setting items. By default, - * the setting items are populated with the default values from - * the design. You can override those values here. - *

- * Note: this call alone does not update the UI. - * LoadSettingsL() must be called afterwards. - */ -void CSymbian_ua_guiSettingItemList::LoadSettingValuesL() - { - // load values into iSettings - - TFileName path; - TFileName pathWithoutDrive; - CEikonEnv::Static()->FsSession().PrivatePath( pathWithoutDrive ); - - // Extract drive letter into appDrive: -#ifdef __WINS__ - path.Copy( _L("c:") ); -#else - RProcess process; - path.Copy( process.FileName().Left(2) ); -#endif - - path.Append( pathWithoutDrive ); - path.Append( KtxDicFileName ); - - TFindFile AufFolder(CCoeEnv::Static()->FsSession()); - if(KErrNone == AufFolder.FindByDir(path, KNullDesC)) - { - CDictionaryFileStore* MyDStore = CDictionaryFileStore::OpenLC(CCoeEnv::Static()->FsSession(),AufFolder.File(), TUid::Uid(1)); - TUid FileUid; - - FileUid.iUid = KRegistrar; - if(MyDStore->IsPresentL(FileUid)) - { - RDictionaryReadStream in; - in.OpenLC(*MyDStore,FileUid); - in >> iSettings.Ed_registrar(); - CleanupStack::PopAndDestroy(1);// in - } - - FileUid.iUid = KUsername; - if(MyDStore->IsPresentL(FileUid)) - { - RDictionaryReadStream in; - in.OpenLC(*MyDStore,FileUid); - in >> iSettings.Ed_user(); - CleanupStack::PopAndDestroy(1);// in - } - - FileUid.iUid = KPassword; - if(MyDStore->IsPresentL(FileUid)) - { - RDictionaryReadStream in; - in.OpenLC(*MyDStore,FileUid); - in >> iSettings.Ed_password(); - CleanupStack::PopAndDestroy(1);// in - } - - FileUid.iUid = KStunServer; - if(MyDStore->IsPresentL(FileUid)) - { - RDictionaryReadStream in; - in.OpenLC(*MyDStore,FileUid); - in >> iSettings.Ed_stun_server(); - CleanupStack::PopAndDestroy(1);// in - } - - FileUid.iUid = KSrtp; - if(MyDStore->IsPresentL(FileUid)) - { - RDictionaryReadStream in; - in.OpenLC(*MyDStore,FileUid); - iSettings.SetB_srtp((TBool)in.ReadInt32L()); - CleanupStack::PopAndDestroy(1);// in - } - - FileUid.iUid = KIce; - if(MyDStore->IsPresentL(FileUid)) - { - RDictionaryReadStream in; - in.OpenLC(*MyDStore,FileUid); - iSettings.SetB_ice((TBool)in.ReadInt32L()); - CleanupStack::PopAndDestroy(1);// in - } - - CleanupStack::PopAndDestroy(1);// Store - } - - } - -/** - * Save the contents of the setting items. Note, this is called - * whenever an item is changed and stored to the model, so it - * may be called multiple times or not at all. - */ -void CSymbian_ua_guiSettingItemList::SaveSettingValuesL() - { - // store values from iSettings - - TFileName path; - TFileName pathWithoutDrive; - CEikonEnv::Static()->FsSession().PrivatePath( pathWithoutDrive ); - - // Extract drive letter into appDrive: -#ifdef __WINS__ - path.Copy( _L("c:") ); -#else - RProcess process; - path.Copy( process.FileName().Left(2) ); - - if(path.Compare(_L("c")) || path.Compare(_L("C"))) - CEikonEnv::Static()->FsSession().CreatePrivatePath(EDriveC); - else if(path.Compare(_L("e")) || path.Compare(_L("E"))) - CEikonEnv::Static()->FsSession().CreatePrivatePath(EDriveE); -#endif - - path.Append( pathWithoutDrive ); - path.Append( KtxDicFileName ); - - TFindFile AufFolder(CCoeEnv::Static()->FsSession()); - if(KErrNone == AufFolder.FindByDir(path, KNullDesC)) - { - User::LeaveIfError(CCoeEnv::Static()->FsSession().Delete(AufFolder.File())); - } - - CDictionaryFileStore* MyDStore = CDictionaryFileStore::OpenLC(CCoeEnv::Static()->FsSession(),path, TUid::Uid(1)); - - TUid FileUid = {0x0}; - - FileUid.iUid = KRegistrar; - RDictionaryWriteStream out1; - out1.AssignLC(*MyDStore,FileUid); - out1 << iSettings.Ed_registrar(); - out1.CommitL(); - CleanupStack::PopAndDestroy(1);// out2 - - FileUid.iUid = KUsername; - RDictionaryWriteStream out2; - out2.AssignLC(*MyDStore,FileUid); - out2 << iSettings.Ed_user(); - out2.CommitL(); - CleanupStack::PopAndDestroy(1);// out2 - - FileUid.iUid = KPassword; - RDictionaryWriteStream out3; - out3.AssignLC(*MyDStore,FileUid); - out3 << iSettings.Ed_password(); - out3.CommitL(); - CleanupStack::PopAndDestroy(1);// out2 - - FileUid.iUid = KStunServer; - RDictionaryWriteStream out4; - out4.AssignLC(*MyDStore,FileUid); - out4 << iSettings.Ed_stun_server(); - out4.CommitL(); - CleanupStack::PopAndDestroy(1);// out2 - - FileUid.iUid = KSrtp; - RDictionaryWriteStream out5; - out5.AssignLC(*MyDStore,FileUid); - out5.WriteInt32L(iSettings.B_srtp()); - out5.CommitL(); - CleanupStack::PopAndDestroy(1);// out1 - - FileUid.iUid = KIce; - RDictionaryWriteStream out6; - out6.AssignLC(*MyDStore,FileUid); - out6.WriteInt32L(iSettings.B_ice()); - out6.CommitL(); - CleanupStack::PopAndDestroy(1);// out1 - - MyDStore->CommitL(); - CleanupStack::PopAndDestroy(1);// Store - - } - - -/** - * Handle global resource changes, such as scalable UI or skin events (override) - */ -void CSymbian_ua_guiSettingItemList::HandleResourceChange( TInt aType ) - { - CAknSettingItemList::HandleResourceChange( aType ); - SetRect( iAvkonViewAppUi->View( TUid::Uid( ESymbian_ua_guiSettingItemListViewId ) )->ClientRect() ); - // [[[ begin generated region: do not modify [Generated Contents] - // ]]] end generated region [Generated Contents] - - } - -/** - * Handle key event (override) - * @param aKeyEvent key event - * @param aType event code - * @return EKeyWasConsumed if the event was handled, else EKeyWasNotConsumed - */ -TKeyResponse CSymbian_ua_guiSettingItemList::OfferKeyEventL( - const TKeyEvent& aKeyEvent, - TEventCode aType ) - { - // [[[ begin generated region: do not modify [Generated Contents] - // ]]] end generated region [Generated Contents] - - if ( aKeyEvent.iCode == EKeyLeftArrow - || aKeyEvent.iCode == EKeyRightArrow ) - { - // allow the tab control to get the arrow keys - return EKeyWasNotConsumed; - } - - return CAknSettingItemList::OfferKeyEventL( aKeyEvent, aType ); - } - diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiSettingItemListView.cpp b/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiSettingItemListView.cpp deleted file mode 100644 index 18dd7a1d35..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/src/symbian_ua_guiSettingItemListView.cpp +++ /dev/null @@ -1,295 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -// [[[ begin generated region: do not modify [Generated System Includes] -#include -#include -#include -#include -#include -#include -#include -#include -#include -// ]]] end generated region [Generated System Includes] - -// [[[ begin generated region: do not modify [Generated User Includes] -#include "symbian_ua_gui.hrh" -#include "symbian_ua_guiSettingItemListView.h" -#include "symbian_ua_guiContainer.hrh" -#include "symbian_ua_guiSettingItemList.hrh" -#include "symbian_ua_guiSettingItemList.h" -// ]]] end generated region [Generated User Includes] - -#include "symbian_ua.h" - -// [[[ begin generated region: do not modify [Generated Constants] -// ]]] end generated region [Generated Constants] - -/** - * First phase of Symbian two-phase construction. Should not contain any - * code that could leave. - */ -Csymbian_ua_guiSettingItemListView::Csymbian_ua_guiSettingItemListView() - { - // [[[ begin generated region: do not modify [Generated Contents] - // ]]] end generated region [Generated Contents] - - } -/** - * The view's destructor removes the container from the control - * stack and destroys it. - */ -Csymbian_ua_guiSettingItemListView::~Csymbian_ua_guiSettingItemListView() - { - // [[[ begin generated region: do not modify [Generated Contents] - // ]]] end generated region [Generated Contents] - - } - -/** - * Symbian two-phase constructor. - * This creates an instance then calls the second-phase constructor - * without leaving the instance on the cleanup stack. - * @return new instance of Csymbian_ua_guiSettingItemListView - */ -Csymbian_ua_guiSettingItemListView* Csymbian_ua_guiSettingItemListView::NewL() - { - Csymbian_ua_guiSettingItemListView* self = Csymbian_ua_guiSettingItemListView::NewLC(); - CleanupStack::Pop( self ); - return self; - } - -/** - * Symbian two-phase constructor. - * This creates an instance, pushes it on the cleanup stack, - * then calls the second-phase constructor. - * @return new instance of Csymbian_ua_guiSettingItemListView - */ -Csymbian_ua_guiSettingItemListView* Csymbian_ua_guiSettingItemListView::NewLC() - { - Csymbian_ua_guiSettingItemListView* self = new ( ELeave ) Csymbian_ua_guiSettingItemListView(); - CleanupStack::PushL( self ); - self->ConstructL(); - return self; - } - - -/** - * Second-phase constructor for view. - * Initialize contents from resource. - */ -void Csymbian_ua_guiSettingItemListView::ConstructL() - { - // [[[ begin generated region: do not modify [Generated Code] - BaseConstructL( R_SYMBIAN_UA_GUI_SETTING_ITEM_LIST_SYMBIAN_UA_GUI_SETTING_ITEM_LIST_VIEW ); - // ]]] end generated region [Generated Code] - - // add your own initialization code here - } - -/** - * @return The UID for this view - */ -TUid Csymbian_ua_guiSettingItemListView::Id() const - { - return TUid::Uid( ESymbian_ua_guiSettingItemListViewId ); - } - -/** - * Handle a command for this view (override) - * @param aCommand command id to be handled - */ -void Csymbian_ua_guiSettingItemListView::HandleCommandL( TInt aCommand ) - { - // [[[ begin generated region: do not modify [Generated Code] - TBool commandHandled = EFalse; - switch ( aCommand ) - { // code to dispatch to the AknView's menu and CBA commands is generated here - - case EAknSoftkeySave: - commandHandled = HandleControlPaneRightSoftKeyPressedL( aCommand ); - break; - case ESymbian_ua_guiSettingItemListViewMenuItem1Command: - commandHandled = HandleChangeSelectedSettingItemL( aCommand ); - break; - default: - break; - } - - - if ( !commandHandled ) - { - - } - // ]]] end generated region [Generated Code] - - } - -/** - * Handles user actions during activation of the view, - * such as initializing the content. - */ -void Csymbian_ua_guiSettingItemListView::DoActivateL( - const TVwsViewId& /*aPrevViewId*/, - TUid /*aCustomMessageId*/, - const TDesC8& /*aCustomMessage*/ ) - { - // [[[ begin generated region: do not modify [Generated Contents] - SetupStatusPaneL(); - - CEikButtonGroupContainer* cba = AppUi()->Cba(); - if ( cba != NULL ) - { - cba->MakeVisible( EFalse ); - } - - if ( iSymbian_ua_guiSettingItemList == NULL ) - { - iSettings = TSymbian_ua_guiSettingItemListSettings::NewL(); - iSymbian_ua_guiSettingItemList = new ( ELeave ) CSymbian_ua_guiSettingItemList( *iSettings, this ); - iSymbian_ua_guiSettingItemList->SetMopParent( this ); - iSymbian_ua_guiSettingItemList->ConstructFromResourceL( R_SYMBIAN_UA_GUI_SETTING_ITEM_LIST_SYMBIAN_UA_GUI_SETTING_ITEM_LIST ); - iSymbian_ua_guiSettingItemList->ActivateL(); - iSymbian_ua_guiSettingItemList->LoadSettingValuesL(); - iSymbian_ua_guiSettingItemList->LoadSettingsL(); - AppUi()->AddToStackL( *this, iSymbian_ua_guiSettingItemList ); - } - // ]]] end generated region [Generated Contents] - - } - -/** - */ -void Csymbian_ua_guiSettingItemListView::DoDeactivate() - { - // [[[ begin generated region: do not modify [Generated Contents] - CleanupStatusPane(); - - CEikButtonGroupContainer* cba = AppUi()->Cba(); - if ( cba != NULL ) - { - cba->MakeVisible( ETrue ); - cba->DrawDeferred(); - } - - if ( iSymbian_ua_guiSettingItemList != NULL ) - { - AppUi()->RemoveFromStack( iSymbian_ua_guiSettingItemList ); - delete iSymbian_ua_guiSettingItemList; - iSymbian_ua_guiSettingItemList = NULL; - delete iSettings; - iSettings = NULL; - } - // ]]] end generated region [Generated Contents] - - } - -// [[[ begin generated function: do not modify -void Csymbian_ua_guiSettingItemListView::SetupStatusPaneL() - { - // reset the context pane - TUid contextPaneUid = TUid::Uid( EEikStatusPaneUidContext ); - CEikStatusPaneBase::TPaneCapabilities subPaneContext = - StatusPane()->PaneCapabilities( contextPaneUid ); - if ( subPaneContext.IsPresent() && subPaneContext.IsAppOwned() ) - { - CAknContextPane* context = static_cast< CAknContextPane* > ( - StatusPane()->ControlL( contextPaneUid ) ); - context->SetPictureToDefaultL(); - } - - // setup the title pane - TUid titlePaneUid = TUid::Uid( EEikStatusPaneUidTitle ); - CEikStatusPaneBase::TPaneCapabilities subPaneTitle = - StatusPane()->PaneCapabilities( titlePaneUid ); - if ( subPaneTitle.IsPresent() && subPaneTitle.IsAppOwned() ) - { - CAknTitlePane* title = static_cast< CAknTitlePane* >( - StatusPane()->ControlL( titlePaneUid ) ); - TResourceReader reader; - iEikonEnv->CreateResourceReaderLC( reader, R_SYMBIAN_UA_GUI_SETTING_ITEM_LIST_TITLE_RESOURCE ); - title->SetFromResourceL( reader ); - CleanupStack::PopAndDestroy(); // reader internal state - } - - } -// ]]] end generated function - -// [[[ begin generated function: do not modify -void Csymbian_ua_guiSettingItemListView::CleanupStatusPane() - { - } -// ]]] end generated function - -/** - * Handle status pane size change for this view (override) - */ -void Csymbian_ua_guiSettingItemListView::HandleStatusPaneSizeChange() - { - CAknView::HandleStatusPaneSizeChange(); - - // this may fail, but we're not able to propagate exceptions here - TInt result; - TRAP( result, SetupStatusPaneL() ); - } - -/** - * Handle the selected event. - * @param aCommand the command id invoked - * @return ETrue if the command was handled, EFalse if not - */ -TBool Csymbian_ua_guiSettingItemListView::HandleChangeSelectedSettingItemL( TInt aCommand ) - { - iSymbian_ua_guiSettingItemList->ChangeSelectedItemL(); - return ETrue; - } - -/** - * Handle the rightSoftKeyPressed event. - * @return ETrue if the command was handled, EFalse if not - */ -TBool Csymbian_ua_guiSettingItemListView::HandleControlPaneRightSoftKeyPressedL( TInt aCommand ) - { - TUint8 domain[256] = {0}; - TPtr8 cDomain(domain, sizeof(domain)); - TUint8 user[64] = {0}; - TPtr8 cUser(user, sizeof(user)); - TUint8 pass[64] = {0}; - TPtr8 cPass(pass, sizeof(pass)); - - cDomain.Copy(iSettings->Ed_registrar()); - cUser.Copy(iSettings->Ed_user()); - cPass.Copy(iSettings->Ed_password()); - symbian_ua_set_account((char*)domain, (char*)user, (char*)pass, false, false); - - AppUi()->ActivateLocalViewL(TUid::Uid(ESymbian_ua_guiContainerViewId)); - return ETrue; - } - -/** - * Handle the selected event. - * @param aCommand the command id invoked - * @return ETrue if the command was handled, EFalse if not - */ -TBool Csymbian_ua_guiSettingItemListView::HandleCancelMenuItemSelectedL( TInt aCommand ) - { - AppUi()->ActivateLocalViewL(TUid::Uid(ESymbian_ua_guiContainerViewId)); - return ETrue; - } - diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/symbian_ua_guiContainer.uidesign b/res/pjproject/pjsip-apps/src/symbian_ua_gui/symbian_ua_guiContainer.uidesign deleted file mode 100644 index c5912661bf..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/symbian_ua_guiContainer.uidesign +++ /dev/null @@ -1,382 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - data - com.nokia.series60 - 3.0.1 - com.nokia.sdt.component.symbian.Symbian-Provider - inc - src - com.nokia.sdt.sourcegen.Symbian-Provider - group - - Csymbian_ua_guiContainerView - - 52 - 45 - - optionsMenu - symbian_ua_guiContainerView - - 240 - 320 - - - - 20 - - statusPane - - 204 - 66 - - - - 56 - - title - STR_symbian_ua_guiContainerView_1 - - 148 - 43 - - - - - - - 288 - - - UNIQUE - STR_symbian_ua_guiContainerView_7 - STR_symbian_ua_guiContainerView_8 - - controlPane - - 240 - 32 - - - - - ed_url - - 66 - - CSymbian_ua_guiContainer - symbian_ua_guiContainer - - 240 - 222 - - - - 2 - 23 - - label1 - STR_symbian_ua_guiContainerView_2 - - 32 - 28 - - - - EAknEditorLowerCase - - 197 - 28 - - - true - false - false - false - true - false - false - false - false - false - false - false - false - - - 49 - 25 - - - - ed_url - STR_symbian_ua_guiContainerView_4 - - true - true - true - true - true - true - false - false - false - false - - R_AVKON_URL_SPECIAL_CHARACTER_TABLE_DIALOG - - - - 235 - 143 - - - true - false - false - false - false - true - false - false - false - false - false - false - false - - - 3 - 78 - - - true - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - 2000 - ed_info - STR_symbian_ua_guiContainerView_3 - - true - true - true - true - true - true - - 10 - - - - - 3 - 215 - - optionsMenu - - 73 - 237 - - - - menuPane1 - - 73 - 237 - - - - 5 - 2 - - settingMenuItem - STR_symbian_ua_guiContainerView_9 - - 222 - 33 - - - - - - 5 - 35 - - exitMenuItem - STR_symbian_ua_guiContainerView_10 - EAknCmdExit - - 222 - 33 - - - - - - CAknErrorNote - - 8 - 171 - - note_error - STR_symbian_ua_guiContainerView_13 - - 227 - 114 - - - - CAknInformationNote - - 8 - 171 - - note_info - STR_symbian_ua_guiContainerView_16 - - 227 - 114 - - - - CAknWarningNote - - 8 - 171 - - note_warning - STR_symbian_ua_guiContainerView_17 - - 227 - 114 - - - - - 0 - 171 - - qry_accept_call - STR_symbian_ua_guiContainerView_18 - - 240 - 149 - - - - - - PJSUA for S60 - URL - sip: - Options - Call - Setting - Exit - - Failed initializing PJSUA! - Register Success - Register Failed - Accept Call - - - - - - r_symbian_ua_gui_container_qry_accept_call - r_symbian_ua_gui_container_note_warning - r_symbian_ua_gui_container_ed_info_2 - r_symbian_ua_gui_container_options_menu - r_symbian_ua_gui_container_menu_pane1_menu_pane - r_symbian_ua_gui_container_title_resource - r_symbian_ua_gui_container_status_pane - r_symbian_ua_gui_container_ed_url - r_symbian_ua_gui_container_symbian_ua_gui_container_view - r_symbian_ua_gui_container_label1 - r_symbian_ua_gui_container_control_pane - r_symbian_ua_gui_container_ed_url_2 - r_symbian_ua_gui_container_note_info - r_symbian_ua_gui_container_note_error - r_symbian_ua_gui_container_ed_info - - - EAknCtTitlePane - ESymbian_ua_guiContainerViewSettingMenuItemCommand - EAknEditorStandardNumberModeKeymap - EEikLabelFontNormal - EAknEditorLowerCase - ESymbian_ua_guiContainerViewId - EEikLabelAlignHCenter - EAknSoftkeyOptions - ESymbian_ua_guiContainerViewQry_accept_call - ESymbian_ua_guiContainerViewControlPaneRightId - EAknCmdExit - EEikStatusPaneUidTitle - EAknEditorStandardNumberModeKeymap - EAknEditorTextInputMode - EAknEditorTextInputMode - EAknEditorTextCase - - - - - inc/symbian_ua_guiContainer.h - inc/symbian_ua_guiContainerView.h - src/symbian_ua_guiContainerView.cpp - src/symbian_ua_guiContainer.cpp - data/symbian_ua_gui.rss - data/symbian_ua_guiContainer.rssi - inc/symbian_ua_gui.hrh - inc/symbian_ua_guiContainer.hrh - data/symbian_ua_guiSettingItemList.rssi - inc/symbian_ua_guiSettingItemList.hrh - data/symbian_ua_gui.loc - data/symbian_ua_gui.l01 - data/symbian_ua_guiContainer.loc - data/symbian_ua_guiContainer.l01 - data/symbian_ua_guiSettingItemList.loc - data/symbian_ua_guiSettingItemList.l01 - - diff --git a/res/pjproject/pjsip-apps/src/symbian_ua_gui/symbian_ua_guiSettingItemList.uidesign b/res/pjproject/pjsip-apps/src/symbian_ua_gui/symbian_ua_guiSettingItemList.uidesign deleted file mode 100644 index a442135a9a..0000000000 --- a/res/pjproject/pjsip-apps/src/symbian_ua_gui/symbian_ua_guiSettingItemList.uidesign +++ /dev/null @@ -1,380 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - data - com.nokia.series60 - 3.0.1 - com.nokia.sdt.component.symbian.Symbian-Provider - inc - src - com.nokia.sdt.sourcegen.Symbian-Provider - group - - Csymbian_ua_guiSettingItemListView - - 52 - 45 - - optionsMenu - symbian_ua_guiSettingItemListView - - 240 - 320 - - - - 20 - - statusPane - - 204 - 66 - - - - 56 - - title - STR_symbian_ua_guiSettingItemListView_2 - - 148 - 43 - - - - - - - 288 - - - STR_symbian_ua_guiSettingItemListView_140 - STR_symbian_ua_guiSettingItemListView_141 - EAknSoftkeySave - - controlPane - - 240 - 32 - - - - - - 240 - 222 - - CSymbian_ua_guiSettingItemList - - 66 - - false - STR_symbian_ua_guiSettingItemListView_1 - symbian_ua_guiSettingItemList - false - - - 58 - 240 - - EAknEditorLowerCase - - - 0 - 0 - - STR_symbian_ua_guiSettingItemListView_5 - - - ed_registrar - STR_symbian_ua_guiSettingItemListView_3 - - true - true - true - true - true - true - - - - - 58 - 240 - - EAknEditorLowerCase - - - 0 - 58 - - STR_symbian_ua_guiSettingItemListView_8 - - - ed_user - STR_symbian_ua_guiSettingItemListView_7 - - true - true - true - true - true - true - - - - 32 - - 0 - 116 - - ed_password - STR_symbian_ua_guiSettingItemListView_16 - - 58 - 240 - - - - - - STR_symbian_ua_guiSettingItemListView_25 - STR_symbian_ua_guiSettingItemListView_26 - 1 - - - STR_symbian_ua_guiSettingItemListView_27 - STR_symbian_ua_guiSettingItemListView_28 - - - - 0 - 240 - - - 0 - 174 - - STR_symbian_ua_guiSettingItemListView_24 - 1 - b_srtp - true - - - - - STR_symbian_ua_guiSettingItemListView_47 - STR_symbian_ua_guiSettingItemListView_48 - 1 - - - STR_symbian_ua_guiSettingItemListView_49 - STR_symbian_ua_guiSettingItemListView_50 - - - - 0 - 240 - - - 0 - 174 - - STR_symbian_ua_guiSettingItemListView_46 - 1 - b_ice - true - - - - 0 - 240 - - - - 0 - 174 - - STR_symbian_ua_guiSettingItemListView_19 - - - ed_stun_server - STR_symbian_ua_guiSettingItemListView_18 - true - - true - true - true - true - true - true - - - - - - 3 - 248 - - optionsMenu - - 40 - 237 - - - - menuPane1 - - 40 - 237 - - - - 5 - 2 - - menuItem1 - STR_symbian_ua_guiSettingItemListView_4 - - 222 - 33 - - - - - - - - - Settings - Account Settings - Change - - Registrar - - User - Password - - STUN Server - SRTP - On - Popup text for On - Off - Popup text for Off - ICE - On - Popup text for On - Off - Popup text for Off - Options - Done - - - - - - r_symbian_ua_gui_setting_item_list_b_srtp_setting_page_resource - r_symbian_ua_gui_setting_item_list_ed_stun_server_editor_resource_id - r_symbian_ua_gui_setting_item_list_b_ice_setting_texts_resource - r_symbian_ua_gui_setting_item_list_ed_registrar_editor_resource_id - r_symbian_ua_gui_setting_item_list_ed_user - r_symbian_ua_gui_setting_item_list_b_srtp_popped_up_texts_resource - r_symbian_ua_gui_setting_item_list_ed_stun_server - r_symbian_ua_gui_setting_item_list_options_menu - r_symbian_ua_gui_setting_item_list_ed_password_setting_page_resource - r_symbian_ua_gui_setting_item_list_b_ice_popped_up_texts_resource - r_symbian_ua_gui_setting_item_list_symbian_ua_gui_setting_item_list_view - r_symbian_ua_gui_setting_item_list_ed_password_editor_resource_id - r_symbian_ua_gui_setting_item_list_symbian_ua_gui_setting_item_list - r_symbian_ua_gui_setting_item_list_b_ice_setting_page_resource - r_symbian_ua_gui_setting_item_list_status_pane - r_symbian_ua_gui_setting_item_list_b_ice_editor_resource_id - r_symbian_ua_gui_setting_item_list_ed_user_editor_resource_id - r_symbian_ua_gui_setting_item_list_b_srtp - r_symbian_ua_gui_setting_item_list_ed_registrar - r_symbian_ua_gui_setting_item_list_b_srtp_editor_resource_id - r_symbian_ua_gui_setting_item_list_b_srtp_setting_texts_resource - r_symbian_ua_gui_setting_item_list_ed_registrar_setting_page_resource - r_symbian_ua_gui_setting_item_list_menu_pane1_menu_pane - r_symbian_ua_gui_setting_item_list_ed_user_setting_page_resource - r_symbian_ua_gui_setting_item_list_control_pane - r_symbian_ua_gui_setting_item_list_title_resource - r_symbian_ua_gui_setting_item_list_ed_stun_server_setting_page_resource - r_symbian_ua_gui_setting_item_list_b_ice - - - ESymbian_ua_guiSettingItemListViewMenuItem1Command - ESymbian_ua_guiSettingItemListViewEd_password - EEikCtEdwin - ESymbian_ua_guiSettingItemListViewEd_stun_server - EEikStatusPaneUidTitle - EAknEditorLowerCase - ESymbian_ua_guiSettingItemListViewB_ice - EAknEditorStandardNumberModeKeymap - EEikCtEdwin - ESymbian_ua_guiSettingItemListViewB_srtp - EAknEditorTextInputMode - EAknEditorStandardNumberModeKeymap - EAknCtPopupSettingList - EAknEditorTextInputMode - EAknCtTitlePane - ESymbian_ua_guiSettingItemListViewId - EAknEditorLowerCase - EEikCtSecretEd - EAknSoftkeyOptions - ESymbian_ua_guiSettingItemListViewEd_user - EAknSoftkeySave - EAknEditorStandardNumberModeKeymap - ESymbian_ua_guiSettingItemListViewSave_SettingsMenuItemCommand - ESymbian_ua_guiSettingItemListViewEd_registrar - EAknEditorTextInputMode - EAknCtPopupSettingList - EEikCtEdwin - EAknEditorTextCase - - - - - src/symbian_ua_guiSettingItemList.cpp - src/Symbian_ua_guiSettingItemListSets.cpp - src/symbian_ua_guiSettingItemListView.cpp - inc/Symbian_ua_guiSettingItemListSettings.h - inc/symbian_ua_guiSettingItemList.h - inc/symbian_ua_guiSettingItemListView.h - data/symbian_ua_gui.rss - data/symbian_ua_guiContainer.rssi - inc/symbian_ua_gui.hrh - inc/symbian_ua_guiContainer.hrh - data/symbian_ua_guiSettingItemList.rssi - inc/symbian_ua_guiSettingItemList.hrh - data/symbian_ua_gui.loc - data/symbian_ua_gui.l01 - data/symbian_ua_guiContainer.loc - data/symbian_ua_guiContainer.l01 - data/symbian_ua_guiSettingItemList.loc - data/symbian_ua_guiSettingItemList.l01 - - diff --git a/res/pjproject/pjsip-apps/src/symsndtest/app_main.cpp b/res/pjproject/pjsip-apps/src/symsndtest/app_main.cpp deleted file mode 100644 index aaa9512b1b..0000000000 --- a/res/pjproject/pjsip-apps/src/symsndtest/app_main.cpp +++ /dev/null @@ -1,434 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "app_main.cpp" -#define CLOCK_RATE 8000 -#define CHANNEL_COUNT 1 -#define PTIME 20 -#define SAMPLES_PER_FRAME (CLOCK_RATE*PTIME/1000) -#define BITS_PER_SAMPLE 16 - -extern CConsoleBase* console; - -static pj_caching_pool cp; -static pjmedia_aud_stream *strm; -static unsigned rec_cnt, play_cnt; -static pj_time_val t_start; -static pjmedia_aud_param param; -static pj_pool_t *pool; -static pjmedia_delay_buf *delaybuf; -static char frame_buf[256]; - -static void copy_frame_ext(pjmedia_frame_ext *f_dst, - const pjmedia_frame_ext *f_src) -{ - pj_bzero(f_dst, sizeof(*f_dst)); - if (f_src->subframe_cnt) { - f_dst->base.type = PJMEDIA_FRAME_TYPE_EXTENDED; - for (unsigned i = 0; i < f_src->subframe_cnt; ++i) { - pjmedia_frame_ext_subframe *sf; - sf = pjmedia_frame_ext_get_subframe(f_src, i); - pjmedia_frame_ext_append_subframe(f_dst, sf->data, sf->bitlen, - param.samples_per_frame); - } - } else { - f_dst->base.type = PJMEDIA_FRAME_TYPE_NONE; - } -} - -/* Logging callback */ -static void log_writer(int level, const char *buf, unsigned len) -{ - static wchar_t buf16[PJ_LOG_MAX_SIZE]; - - PJ_UNUSED_ARG(level); - - pj_ansi_to_unicode(buf, len, buf16, PJ_ARRAY_SIZE(buf16)); - - TPtrC16 aBuf((const TUint16*)buf16, (TInt)len); - console->Write(aBuf); -} - -/* perror util */ -static void app_perror(const char *title, pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(1,(THIS_FILE, "Error: %s: %s", title, errmsg)); -} - -/* Application init */ -static pj_status_t app_init() -{ - unsigned i, count; - pj_status_t status; - - /* Redirect log */ - pj_log_set_log_func((void (*)(int,const char*,int)) &log_writer); - pj_log_set_decor(PJ_LOG_HAS_NEWLINE); - pj_log_set_level(3); - - /* Init pjlib */ - status = pj_init(); - if (status != PJ_SUCCESS) { - app_perror("pj_init()", status); - return status; - } - - pj_caching_pool_init(&cp, NULL, 0); - - /* Init sound subsystem */ - status = pjmedia_aud_subsys_init(&cp.factory); - if (status != PJ_SUCCESS) { - app_perror("pjmedia_snd_init()", status); - pj_caching_pool_destroy(&cp); - pj_shutdown(); - return status; - } - - count = pjmedia_aud_dev_count(); - PJ_LOG(3,(THIS_FILE, "Device count: %d", count)); - for (i=0; ibuf); - - if (frame->size != SAMPLES_PER_FRAME*2) { - PJ_LOG(3, (THIS_FILE, "Size captured = %u", - frame->size)); - } - } else { - pjmedia_frame_ext *f_src = (pjmedia_frame_ext*)frame; - pjmedia_frame_ext *f_dst = (pjmedia_frame_ext*)frame_buf; - - copy_frame_ext(f_dst, f_src); - } - - ++rec_cnt; - return PJ_SUCCESS; -} - -/* Play cb */ -static pj_status_t play_cb(void *user_data, - pjmedia_frame *frame) -{ - PJ_UNUSED_ARG(user_data); - - if (param.ext_fmt.id == PJMEDIA_FORMAT_PCM) { - pjmedia_delay_buf_get(delaybuf, (pj_int16_t*)frame->buf); - frame->size = SAMPLES_PER_FRAME*2; - frame->type = PJMEDIA_FRAME_TYPE_AUDIO; - } else { - pjmedia_frame_ext *f_src = (pjmedia_frame_ext*)frame_buf; - pjmedia_frame_ext *f_dst = (pjmedia_frame_ext*)frame; - - copy_frame_ext(f_dst, f_src); - } - - ++play_cnt; - return PJ_SUCCESS; -} - -/* Start sound */ -static pj_status_t snd_start(unsigned flag) -{ - pj_status_t status; - - if (strm != NULL) { - app_perror("snd already open", PJ_EINVALIDOP); - return PJ_EINVALIDOP; - } - - pjmedia_aud_dev_default_param(0, ¶m); - param.channel_count = CHANNEL_COUNT; - param.clock_rate = CLOCK_RATE; - param.samples_per_frame = SAMPLES_PER_FRAME; - param.dir = (pjmedia_dir) flag; - param.ext_fmt.id = PJMEDIA_FORMAT_AMR; - param.ext_fmt.bitrate = 12200; - param.output_route = PJMEDIA_AUD_DEV_ROUTE_LOUDSPEAKER; - - status = pjmedia_aud_stream_create(¶m, &rec_cb, &play_cb, NULL, &strm); - if (status != PJ_SUCCESS) { - app_perror("snd open", status); - return status; - } - - rec_cnt = play_cnt = 0; - pj_gettimeofday(&t_start); - - pjmedia_delay_buf_reset(delaybuf); - - status = pjmedia_aud_stream_start(strm); - if (status != PJ_SUCCESS) { - app_perror("snd start", status); - pjmedia_aud_stream_destroy(strm); - strm = NULL; - return status; - } - - return PJ_SUCCESS; -} - -/* Stop sound */ -static pj_status_t snd_stop() -{ - pj_time_val now; - pj_status_t status; - - if (strm == NULL) { - app_perror("snd not open", PJ_EINVALIDOP); - return PJ_EINVALIDOP; - } - - status = pjmedia_aud_stream_stop(strm); - if (status != PJ_SUCCESS) { - app_perror("snd failed to stop", status); - } - status = pjmedia_aud_stream_destroy(strm); - strm = NULL; - - pj_gettimeofday(&now); - PJ_TIME_VAL_SUB(now, t_start); - - PJ_LOG(3,(THIS_FILE, "Duration: %d.%03d", now.sec, now.msec)); - PJ_LOG(3,(THIS_FILE, "Captured: %d", rec_cnt)); - PJ_LOG(3,(THIS_FILE, "Played: %d", play_cnt)); - - return status; -} - -/* Shutdown application */ -static void app_fini() -{ - if (strm) - snd_stop(); - - pjmedia_aud_subsys_shutdown(); - pjmedia_delay_buf_destroy(delaybuf); - pj_pool_release(pool); - pj_caching_pool_destroy(&cp); - pj_shutdown(); -} - - -//////////////////////////////////////////////////////////////////////////// -/* - * The interractive console UI - */ -#include - -class ConsoleUI : public CActive -{ -public: - ConsoleUI(CConsoleBase *con); - - // Run console UI - void Run(); - - // Stop - void Stop(); - -protected: - // Cancel asynchronous read. - void DoCancel(); - - // Implementation: called when read has completed. - void RunL(); - -private: - CConsoleBase *con_; -}; - - -ConsoleUI::ConsoleUI(CConsoleBase *con) -: CActive(EPriorityUserInput), con_(con) -{ - CActiveScheduler::Add(this); -} - -// Run console UI -void ConsoleUI::Run() -{ - con_->Read(iStatus); - SetActive(); -} - -// Stop console UI -void ConsoleUI::Stop() -{ - DoCancel(); -} - -// Cancel asynchronous read. -void ConsoleUI::DoCancel() -{ - con_->ReadCancel(); -} - -static void PrintMenu() -{ - PJ_LOG(3, (THIS_FILE, "\n\n" - "Menu:\n" - " a Start bidir sound\n" - " t Start recorder\n" - " p Start player\n" - " d Stop & close sound\n" - " w Quit\n")); -} - -// Implementation: called when read has completed. -void ConsoleUI::RunL() -{ - TKeyCode kc = con_->KeyCode(); - pj_bool_t reschedule = PJ_TRUE; - - switch (kc) { - case 'w': - snd_stop(); - CActiveScheduler::Stop(); - reschedule = PJ_FALSE; - break; - case 'a': - snd_start(PJMEDIA_DIR_CAPTURE_PLAYBACK); - break; - case 't': - snd_start(PJMEDIA_DIR_CAPTURE); - break; - case 'p': - snd_start(PJMEDIA_DIR_PLAYBACK); - break; - case 'd': - snd_stop(); - break; - default: - PJ_LOG(3,(THIS_FILE, "Keycode '%c' (%d) is pressed", - kc, kc)); - break; - } - - PrintMenu(); - - if (reschedule) - Run(); -} - - -//////////////////////////////////////////////////////////////////////////// -int app_main() -{ - if (app_init() != PJ_SUCCESS) - return -1; - - // Run the UI - ConsoleUI *con = new ConsoleUI(console); - - con->Run(); - - PrintMenu(); - CActiveScheduler::Start(); - - delete con; - - app_fini(); - return 0; -} - diff --git a/res/pjproject/pjsip-apps/src/symsndtest/main_symbian.cpp b/res/pjproject/pjsip-apps/src/symsndtest/main_symbian.cpp deleted file mode 100644 index 6f29915f85..0000000000 --- a/res/pjproject/pjsip-apps/src/symsndtest/main_symbian.cpp +++ /dev/null @@ -1,83 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include -#include -#include -#include -#include - - -// Global Variables -CConsoleBase* console; - -// Needed by APS -TPtrC APP_UID = _L("A000000E"); - -int app_main(); - - -//////////////////////////////////////////////////////////////////////////// - -LOCAL_C void DoStartL() -{ - CActiveScheduler *scheduler = new (ELeave) CActiveScheduler; - CleanupStack::PushL(scheduler); - CActiveScheduler::Install(scheduler); - - app_main(); - - CActiveScheduler::Install(NULL); - CleanupStack::Pop(scheduler); - delete scheduler; -} - - -//////////////////////////////////////////////////////////////////////////// - -// E32Main() -GLDEF_C TInt E32Main() -{ - // Mark heap usage - __UHEAP_MARK; - - // Create cleanup stack - CTrapCleanup* cleanup = CTrapCleanup::New(); - - // Create output console - TRAPD(createError, console = Console::NewL(_L("Console"), TSize(KConsFullScreen,KConsFullScreen))); - if (createError) - return createError; - - TRAPD(startError, DoStartL()); - - //console->Printf(_L("[press any key to close]\n")); - //console->Getch(); - - delete console; - delete cleanup; - - CloseSTDLIB(); - - // Mark end of heap usage, detect memory leaks - __UHEAP_MARKEND; - return KErrNone; -} - diff --git a/res/pjproject/pjsip-apps/src/symsndtest/symsndtest_reg.rss b/res/pjproject/pjsip-apps/src/symsndtest/symsndtest_reg.rss deleted file mode 100644 index d017d19585..0000000000 --- a/res/pjproject/pjsip-apps/src/symsndtest/symsndtest_reg.rss +++ /dev/null @@ -1,10 +0,0 @@ -#include - -UID2 KUidAppRegistrationResourceFile -UID3 0xA000000E - -RESOURCE APP_REGISTRATION_INFO -{ - app_file="symsndtest"; -} - diff --git a/res/pjproject/pjsip-apps/src/vidgui/INSTALL.TXT b/res/pjproject/pjsip-apps/src/vidgui/INSTALL.TXT deleted file mode 100644 index 6f94c93564..0000000000 --- a/res/pjproject/pjsip-apps/src/vidgui/INSTALL.TXT +++ /dev/null @@ -1,32 +0,0 @@ - - vidgui - -This directory contains a Qt based video GUI sample. - -Requirements: -======================== - - pjsip built with video support - - Qt SDK version 4.5 or above (version <4.5 doesn't have Cocoa support) - -Build instructions: -=================== - - Build pjsip first - - Follow the instructions for the appropriate platform below: - - Visual Studio - ------------- - - Run this to generate Visual Studio project file: - c:> qmake -tp vc - - Open vidgui.vcproj and build the app - - - Mac OS X - -------- - $ qmake -spec macx-g++ - $ make - - Linux - ----- - $ qmake - $ make - diff --git a/res/pjproject/pjsip-apps/src/vidgui/pj-pkgconfig.mak b/res/pjproject/pjsip-apps/src/vidgui/pj-pkgconfig.mak deleted file mode 100644 index 9139dc16ab..0000000000 --- a/res/pjproject/pjsip-apps/src/vidgui/pj-pkgconfig.mak +++ /dev/null @@ -1,10 +0,0 @@ -include ../../../build.mak - -cflags: - @echo $(PJ_CFLAGS) $(CFLAGS) - -cxxflags: cflags - -ldflags: - @echo $(PJ_LDFLAGS) $(PJ_LDLIBS) $(LDFLAGS) - diff --git a/res/pjproject/pjsip-apps/src/vidgui/vidgui.cpp b/res/pjproject/pjsip-apps/src/vidgui/vidgui.cpp deleted file mode 100644 index 4a0b4d7dd1..0000000000 --- a/res/pjproject/pjsip-apps/src/vidgui/vidgui.cpp +++ /dev/null @@ -1,735 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "vidgui.h" -#include "vidwin.h" - -#if defined(PJ_WIN32) -# define SDL_MAIN_HANDLED -#endif - -#include -#include -#include - -#define LOG_FILE "vidgui.log" -#define THIS_FILE "vidgui.cpp" - -/////////////////////////////////////////////////////////////////////////// -// -// SETTINGS -// - -// -// These configure SIP registration -// -#define USE_REGISTRATION 0 -#define SIP_DOMAIN "pjsip.org" -#define SIP_USERNAME "vidgui" -#define SIP_PASSWORD "secret" -#define SIP_PORT 5080 -#define SIP_TCP 1 - -// -// NAT helper settings -// -#define USE_ICE 1 -#define USE_STUN 0 -#define STUN_SRV "stun.pjsip.org" - -// -// Devices settings -// -#define DEFAULT_CAP_DEV PJMEDIA_VID_DEFAULT_CAPTURE_DEV -//#define DEFAULT_CAP_DEV 1 -#define DEFAULT_REND_DEV PJMEDIA_VID_DEFAULT_RENDER_DEV - - -// -// End of Settings -/////////////////////////////////////////////////////////////////////////// - - -MainWin *MainWin::theInstance_; - -MainWin::MainWin(QWidget *parent) -: QWidget(parent), accountId_(-1), currentCall_(-1), - preview_on(false), video_(NULL), video_prev_(NULL) -{ - theInstance_ = this; - - initLayout(); - emit signalCallReleased(); -} - -MainWin::~MainWin() -{ - quit(); - theInstance_ = NULL; -} - -MainWin *MainWin::instance() -{ - return theInstance_; -} - -void MainWin::initLayout() -{ - //statusBar_ = new QStatusBar(this); - - /* main layout */ - QHBoxLayout *hbox_main = new QHBoxLayout; - //QVBoxLayout *vbox_left = new QVBoxLayout; - vbox_left = new QVBoxLayout; - QVBoxLayout *vbox_right = new QVBoxLayout; - hbox_main->addLayout(vbox_left); - hbox_main->addLayout(vbox_right); - - /* Left pane */ - QHBoxLayout *hbox_url = new QHBoxLayout; - hbox_url->addWidget(new QLabel(tr("Url:"))); - hbox_url->addWidget(url_=new QLineEdit(tr("sip:")), 1); - vbox_left->addLayout(hbox_url); - - /* Right pane */ - vbox_right->addWidget((localUri_ = new QLabel)); - vbox_right->addWidget((vidEnabled_ = new QCheckBox(tr("Enable &video")))); - vbox_right->addWidget((previewButton_=new QPushButton(tr("Start &Preview")))); - vbox_right->addWidget((callButton_=new QPushButton(tr("Call")))); - vbox_right->addWidget((hangupButton_=new QPushButton(tr("Hangup")))); - vbox_right->addWidget((quitButton_=new QPushButton(tr("Quit")))); - -#if PJMEDIA_HAS_VIDEO - vidEnabled_->setCheckState(Qt::Checked); -#else - vidEnabled_->setCheckState(Qt::Unchecked); - vidEnabled_->setEnabled(false); -#endif - - /* Outest layout */ - QVBoxLayout *vbox_outest = new QVBoxLayout; - vbox_outest->addLayout(hbox_main); - vbox_outest->addWidget((statusBar_ = new QLabel)); - - setLayout(vbox_outest); - - connect(previewButton_, SIGNAL(clicked()), this, SLOT(preview())); - connect(callButton_, SIGNAL(clicked()), this, SLOT(call())); - connect(hangupButton_, SIGNAL(clicked()), this, SLOT(hangup())); - connect(quitButton_, SIGNAL(clicked()), this, SLOT(quit())); - //connect(this, SIGNAL(close()), this, SLOT(quit())); - connect(vidEnabled_, SIGNAL(stateChanged(int)), this, SLOT(onVidEnabledChanged(int))); - - // UI updates must be done in the UI thread! - connect(this, SIGNAL(signalNewCall(int, bool)), - this, SLOT(onNewCall(int, bool))); - connect(this, SIGNAL(signalCallReleased()), - this, SLOT(onCallReleased())); - connect(this, SIGNAL(signalInitVideoWindow()), - this, SLOT(initVideoWindow())); - connect(this, SIGNAL(signalShowStatus(const QString&)), - this, SLOT(doShowStatus(const QString&))); -} - -void MainWin::quit() -{ - delete video_prev_; - video_prev_ = NULL; - delete video_; - video_ = NULL; - - pjsua_destroy(); - qApp->quit(); -} - -void MainWin::showStatus(const char *msg) -{ - PJ_LOG(3,(THIS_FILE, "%s", msg)); - - QString msg_ = QString::fromUtf8(msg); - emit signalShowStatus(msg_); -} - -void MainWin::doShowStatus(const QString& msg) -{ - //statusBar_->showMessage(msg); - statusBar_->setText(msg); -} - -void MainWin::showError(const char *title, pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - char errline[120]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - snprintf(errline, sizeof(errline), "%s error: %s", title, errmsg); - showStatus(errline); -} - -void MainWin::onVidEnabledChanged(int state) -{ - pjsua_call_setting call_setting; - - if (currentCall_ == -1) - return; - - pjsua_call_setting_default(&call_setting); - call_setting.vid_cnt = (state == Qt::Checked); - - pjsua_call_reinvite2(currentCall_, &call_setting, NULL); -} - -void MainWin::onNewCall(int cid, bool incoming) -{ - pjsua_call_info ci; - - pj_assert(currentCall_ == -1); - currentCall_ = cid; - - pjsua_call_get_info(cid, &ci); - url_->setText(ci.remote_info.ptr); - url_->setEnabled(false); - hangupButton_->setEnabled(true); - - if (incoming) { - callButton_->setText(tr("Answer")); - callButton_->setEnabled(true); - } else { - callButton_->setEnabled(false); - } - - //video_->setText(ci.remote_contact.ptr); - //video_->setWindowTitle(ci.remote_contact.ptr); -} - -void MainWin::onCallReleased() -{ - url_->setEnabled(true); - callButton_->setEnabled(true); - callButton_->setText(tr("Call")); - hangupButton_->setEnabled(false); - currentCall_ = -1; - - delete video_; - video_ = NULL; -} - -void MainWin::preview() -{ - if (preview_on) { - delete video_prev_; - video_prev_ = NULL; - - pjsua_vid_preview_stop(DEFAULT_CAP_DEV); - - showStatus("Preview stopped"); - previewButton_->setText(tr("Start &Preview")); - } else { - pjsua_vid_win_id wid; - pjsua_vid_win_info wi; - pjsua_vid_preview_param pre_param; - pj_status_t status; - - pjsua_vid_preview_param_default(&pre_param); - pre_param.rend_id = DEFAULT_REND_DEV; - pre_param.show = PJ_FALSE; - - status = pjsua_vid_preview_start(DEFAULT_CAP_DEV, &pre_param); - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(status, errmsg, sizeof(errmsg)); - QMessageBox::critical(0, "Error creating preview", errmsg); - return; - } - wid = pjsua_vid_preview_get_win(DEFAULT_CAP_DEV); - pjsua_vid_win_get_info(wid, &wi); - - video_prev_ = new VidWin(&wi.hwnd); - video_prev_->putIntoLayout(vbox_left); - //Using this will cause SDL window to display blank - //screen sometimes, probably because it's using different - //X11 Display - //status = pjsua_vid_win_set_show(wid, PJ_TRUE); - //This is handled by VidWin now - //video_prev_->show_sdl(); - showStatus("Preview started"); - - previewButton_->setText(tr("Stop &Preview")); - } - preview_on = !preview_on; -} - - -void MainWin::call() -{ - if (callButton_->text() == "Answer") { - pjsua_call_setting call_setting; - - pj_assert(currentCall_ != -1); - - pjsua_call_setting_default(&call_setting); - call_setting.vid_cnt = (vidEnabled_->checkState()==Qt::Checked); - - pjsua_call_answer2(currentCall_, &call_setting, 200, NULL, NULL); - callButton_->setEnabled(false); - } else { - pj_status_t status; - QString dst = url_->text(); - char uri[256]; - pjsua_call_setting call_setting; - - pj_ansi_strncpy(uri, dst.toAscii().data(), sizeof(uri)); - pj_str_t uri2 = pj_str((char*)uri); - - pj_assert(currentCall_ == -1); - - pjsua_call_setting_default(&call_setting); - call_setting.vid_cnt = (vidEnabled_->checkState()==Qt::Checked); - - status = pjsua_call_make_call(accountId_, &uri2, &call_setting, - NULL, NULL, ¤tCall_); - if (status != PJ_SUCCESS) { - showError("make call", status); - return; - } - } -} - -void MainWin::hangup() -{ - pj_assert(currentCall_ != -1); - //pjsua_call_hangup(currentCall_, PJSIP_SC_BUSY_HERE, NULL, NULL); - pjsua_call_hangup_all(); - emit signalCallReleased(); -} - - -void MainWin::initVideoWindow() -{ - pjsua_call_info ci; - unsigned i; - - if (currentCall_ == -1) - return; - - delete video_; - video_ = NULL; - - pjsua_call_get_info(currentCall_, &ci); - for (i = 0; i < ci.media_cnt; ++i) { - if ((ci.media[i].type == PJMEDIA_TYPE_VIDEO) && - (ci.media[i].dir & PJMEDIA_DIR_DECODING)) - { - pjsua_vid_win_info wi; - pjsua_vid_win_get_info(ci.media[i].stream.vid.win_in, &wi); - - video_= new VidWin(&wi.hwnd); - video_->putIntoLayout(vbox_left); - - break; - } - } -} - -void MainWin::on_reg_state(pjsua_acc_id acc_id) -{ - pjsua_acc_info info; - - pjsua_acc_get_info(acc_id, &info); - - char reg_status[80]; - char status[120]; - - if (!info.has_registration) { - pj_ansi_snprintf(reg_status, sizeof(reg_status), "%.*s", - (int)info.status_text.slen, - info.status_text.ptr); - - } else { - pj_ansi_snprintf(reg_status, sizeof(reg_status), - "%d/%.*s (expires=%d)", - info.status, - (int)info.status_text.slen, - info.status_text.ptr, - info.expires); - - } - - snprintf(status, sizeof(status), - "%.*s: %s\n", - (int)info.acc_uri.slen, info.acc_uri.ptr, - reg_status); - showStatus(status); -} - -void MainWin::on_call_state(pjsua_call_id call_id, pjsip_event *e) -{ - pjsua_call_info ci; - - PJ_UNUSED_ARG(e); - - pjsua_call_get_info(call_id, &ci); - - if (currentCall_ == -1 && ci.state < PJSIP_INV_STATE_DISCONNECTED && - ci.role == PJSIP_ROLE_UAC) - { - emit signalNewCall(call_id, false); - } - - char status[80]; - if (ci.state == PJSIP_INV_STATE_DISCONNECTED) { - snprintf(status, sizeof(status), "Call is %s (%s)", - ci.state_text.ptr, - ci.last_status_text.ptr); - showStatus(status); - emit signalCallReleased(); - } else { - snprintf(status, sizeof(status), "Call is %s", pjsip_inv_state_name(ci.state)); - showStatus(status); - } -} - -void MainWin::on_incoming_call(pjsua_acc_id acc_id, pjsua_call_id call_id, - pjsip_rx_data *rdata) -{ - PJ_UNUSED_ARG(acc_id); - PJ_UNUSED_ARG(rdata); - - if (currentCall_ != -1) { - pjsua_call_answer(call_id, PJSIP_SC_BUSY_HERE, NULL, NULL); - return; - } - - emit signalNewCall(call_id, true); - - pjsua_call_info ci; - char status[80]; - - pjsua_call_get_info(call_id, &ci); - snprintf(status, sizeof(status), "Incoming call from %.*s", - (int)ci.remote_info.slen, ci.remote_info.ptr); - showStatus(status); -} - -void MainWin::on_call_media_state(pjsua_call_id call_id) -{ - pjsua_call_info ci; - - pjsua_call_get_info(call_id, &ci); - - for (unsigned i=0; ion_reg_state(acc_id); -} - -static void on_call_state(pjsua_call_id call_id, pjsip_event *e) -{ - MainWin::instance()->on_call_state(call_id, e); -} - -static void on_incoming_call(pjsua_acc_id acc_id, pjsua_call_id call_id, - pjsip_rx_data *rdata) -{ - MainWin::instance()->on_incoming_call(acc_id, call_id, rdata); -} - -static void on_call_media_state(pjsua_call_id call_id) -{ - MainWin::instance()->on_call_media_state(call_id); -} - -// -// initStack() -// -bool MainWin::initStack() -{ - pj_status_t status; - - //showStatus("Creating stack.."); - status = pjsua_create(); - if (status != PJ_SUCCESS) { - showError("pjsua_create", status); - return false; - } - - showStatus("Initializing stack.."); - - pjsua_config ua_cfg; - pjsua_config_default(&ua_cfg); - pjsua_callback ua_cb; - pj_bzero(&ua_cb, sizeof(ua_cb)); - ua_cfg.cb.on_reg_state = &::on_reg_state; - ua_cfg.cb.on_call_state = &::on_call_state; - ua_cfg.cb.on_incoming_call = &::on_incoming_call; - ua_cfg.cb.on_call_media_state = &::on_call_media_state; -#if USE_STUN - ua_cfg.stun_srv_cnt = 1; - ua_cfg.stun_srv[0] = pj_str((char*)STUN_SRV); -#endif - - pjsua_logging_config log_cfg; - pjsua_logging_config_default(&log_cfg); - log_cfg.log_filename = pj_str((char*)LOG_FILE); - - pjsua_media_config med_cfg; - pjsua_media_config_default(&med_cfg); - med_cfg.enable_ice = USE_ICE; - - status = pjsua_init(&ua_cfg, &log_cfg, &med_cfg); - if (status != PJ_SUCCESS) { - showError("pjsua_init", status); - goto on_error; - } - - // - // Create UDP and TCP transports - // - pjsua_transport_config udp_cfg; - pjsua_transport_id udp_id; - pjsua_transport_config_default(&udp_cfg); - udp_cfg.port = SIP_PORT; - - status = pjsua_transport_create(PJSIP_TRANSPORT_UDP, - &udp_cfg, &udp_id); - if (status != PJ_SUCCESS) { - showError("UDP transport creation", status); - goto on_error; - } - - pjsua_transport_info udp_info; - status = pjsua_transport_get_info(udp_id, &udp_info); - if (status != PJ_SUCCESS) { - showError("UDP transport info", status); - goto on_error; - } - -#if SIP_TCP - pjsua_transport_config tcp_cfg; - pjsua_transport_config_default(&tcp_cfg); - tcp_cfg.port = 0; - - status = pjsua_transport_create(PJSIP_TRANSPORT_TCP, - &tcp_cfg, NULL); - if (status != PJ_SUCCESS) { - showError("TCP transport creation", status); - goto on_error; - } -#endif - - // - // Create account - // - pjsua_acc_config acc_cfg; - pjsua_acc_config_default(&acc_cfg); -#if USE_REGISTRATION - acc_cfg.id = pj_str( (char*)""); - acc_cfg.reg_uri = pj_str((char*) ("sip:" SIP_DOMAIN)); - acc_cfg.cred_count = 1; - acc_cfg.cred_info[0].realm = pj_str((char*)"*"); - acc_cfg.cred_info[0].scheme = pj_str((char*)"digest"); - acc_cfg.cred_info[0].username = pj_str((char*)SIP_USERNAME); - acc_cfg.cred_info[0].data = pj_str((char*)SIP_PASSWORD); - -# if SIP_TCP - acc_cfg.proxy[acc_cfg.proxy_cnt++] = pj_str((char*) ""); -# endif - -#else - char sip_id[80]; - snprintf(sip_id, sizeof(sip_id), - "sip:%s@%.*s:%u", SIP_USERNAME, - (int)udp_info.local_name.host.slen, - udp_info.local_name.host.ptr, - udp_info.local_name.port); - acc_cfg.id = pj_str(sip_id); -#endif - - acc_cfg.vid_cap_dev = DEFAULT_CAP_DEV; - acc_cfg.vid_rend_dev = DEFAULT_REND_DEV; - acc_cfg.vid_in_auto_show = PJ_TRUE; - acc_cfg.vid_out_auto_transmit = PJ_TRUE; - - status = pjsua_acc_add(&acc_cfg, PJ_TRUE, &accountId_); - if (status != PJ_SUCCESS) { - showError("Account creation", status); - goto on_error; - } - - localUri_->setText(acc_cfg.id.ptr); - - // - // Start pjsua! - // - showStatus("Starting stack.."); - status = pjsua_start(); - if (status != PJ_SUCCESS) { - showError("pjsua_start", status); - goto on_error; - } - - showStatus("Ready"); - - return true; - -on_error: - pjsua_destroy(); - return false; -} - -/* - * A simple registrar, invoked by default_mod_on_rx_request() - */ -static void simple_registrar(pjsip_rx_data *rdata) -{ - pjsip_tx_data *tdata; - const pjsip_expires_hdr *exp; - const pjsip_hdr *h; - unsigned cnt = 0; - pjsip_generic_string_hdr *srv; - pj_status_t status; - - status = pjsip_endpt_create_response(pjsua_get_pjsip_endpt(), - rdata, 200, NULL, &tdata); - if (status != PJ_SUCCESS) - return; - - exp = (pjsip_expires_hdr*) - pjsip_msg_find_hdr(rdata->msg_info.msg, PJSIP_H_EXPIRES, NULL); - - h = rdata->msg_info.msg->hdr.next; - while (h != &rdata->msg_info.msg->hdr) { - if (h->type == PJSIP_H_CONTACT) { - const pjsip_contact_hdr *c = (const pjsip_contact_hdr*)h; - int e = c->expires; - - if (e < 0) { - if (exp) - e = exp->ivalue; - else - e = 3600; - } - - if (e > 0) { - pjsip_contact_hdr *nc = (pjsip_contact_hdr*) - pjsip_hdr_clone(tdata->pool, h); - nc->expires = e; - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)nc); - ++cnt; - } - } - h = h->next; - } - - srv = pjsip_generic_string_hdr_create(tdata->pool, NULL, NULL); - srv->name = pj_str((char*)"Server"); - srv->hvalue = pj_str((char*)"pjsua simple registrar"); - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)srv); - - pjsip_endpt_send_response2(pjsua_get_pjsip_endpt(), - rdata, tdata, NULL, NULL); -} - -/* Notification on incoming request */ -static pj_bool_t default_mod_on_rx_request(pjsip_rx_data *rdata) -{ - /* Simple registrar */ - if (pjsip_method_cmp(&rdata->msg_info.msg->line.req.method, - &pjsip_register_method) == 0) - { - simple_registrar(rdata); - return PJ_TRUE; - } - - return PJ_FALSE; -} - -/* The module instance. */ -static pjsip_module mod_default_handler = -{ - NULL, NULL, /* prev, next. */ - { (char*)"mod-default-handler", 19 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION+99, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &default_mod_on_rx_request, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ - -}; - -int main(int argc, char *argv[]) -{ - /* At least on Linux, we have to initialize SDL video subsystem prior to - * creating/initializing QApplication, otherwise we'll segfault miserably - * in SDL_CreateWindow(). Here's a stack trace if you're interested: - - Thread [7] (Suspended: Signal 'SIGSEGV' received. Description: Segmentation fault.) - 13 XCreateIC() - 12 SetupWindowData() - 11 X11_CreateWindow() - 10 SDL_CreateWindow() - .. - */ - if ( SDL_InitSubSystem(SDL_INIT_VIDEO) < 0 ) { - printf("Unable to init SDL: %s\n", SDL_GetError()); - return 1; - } - - QApplication app(argc, argv); - - MainWin win; - win.show(); - - if (!win.initStack()) { - win.quit(); - return 1; - } - - /* We want to be registrar too! */ - if (pjsua_get_pjsip_endpt()) { - pjsip_endpt_register_module(pjsua_get_pjsip_endpt(), - &mod_default_handler); - } - - return app.exec(); -} - diff --git a/res/pjproject/pjsip-apps/src/vidgui/vidgui.h b/res/pjproject/pjsip-apps/src/vidgui/vidgui.h deleted file mode 100644 index 1cc27462f0..0000000000 --- a/res/pjproject/pjsip-apps/src/vidgui/vidgui.h +++ /dev/null @@ -1,102 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef VIDGUI_H_ -#define VIDGUI_H_ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -class VidWin; - -class MainWin : public QWidget -{ - Q_OBJECT - -public: - MainWin(QWidget *parent = 0); - virtual ~MainWin(); - - static MainWin *instance(); - - bool initStack(); - void showError(const char *title, pj_status_t status); - void showStatus(const char *msg); - - void on_reg_state(pjsua_acc_id acc_id); - void on_call_state(pjsua_call_id call_id, pjsip_event *e); - void on_incoming_call(pjsua_acc_id acc_id, pjsua_call_id call_id, pjsip_rx_data *rdata); - void on_call_media_state(pjsua_call_id call_id); - -signals: - void signalNewCall(int, bool); - void signalCallReleased(); - void signalInitVideoWindow(); - void signalShowStatus(const QString&); - -public slots: - void preview(); - void call(); - void hangup(); - void quit(); - void onVidEnabledChanged(int state); - - void onNewCall(int cid, bool incoming); - void onCallReleased(); - void initVideoWindow(); - void doShowStatus(const QString& msg); - -private: - static MainWin *theInstance_; - pjsua_acc_id accountId_; - pjsua_call_id currentCall_; - bool preview_on; - -private: - QPushButton *callButton_, - *hangupButton_, - *quitButton_, - *previewButton_; - QCheckBox *vidEnabled_; - QLineEdit *url_; - VidWin *video_; - VidWin *video_prev_; - //QStatusBar *statusBar_; - QLabel *statusBar_; - QLabel *localUri_; - - QVBoxLayout *vbox_left; - - void initLayout(); -}; - - - -#endif /* VIDGUI_H_ */ diff --git a/res/pjproject/pjsip-apps/src/vidgui/vidgui.pro b/res/pjproject/pjsip-apps/src/vidgui/vidgui.pro deleted file mode 100644 index 806b2b69ca..0000000000 --- a/res/pjproject/pjsip-apps/src/vidgui/vidgui.pro +++ /dev/null @@ -1,36 +0,0 @@ -win32 { - DEFINES += PJ_WIN32=1 - INCLUDEPATH += ../../../pjlib/include ../../../pjlib-util/include \ - ../../../pjnath/include ../../../pjmedia/include \ - ../../../pjsip/include - - # These to enable static linking - #CONFIG += static - #DEFINES += STATIC - - CONFIG(debug) { - LIBS += ../../../lib/libpjproject-i386-Win32-vc8-Debug.lib - } else { - LIBS += ../../../lib/libpjproject-i386-Win32-vc8-Release.lib - } - LIBS += Iphlpapi.lib dsound.lib \ - dxguid.lib netapi32.lib mswsock.lib ws2_32.lib odbc32.lib \ - odbccp32.lib ole32.lib user32.lib gdi32.lib advapi32.lib -} else { - LIBS += $$system(make -f pj-pkgconfig.mak ldflags) - QMAKE_CXXFLAGS += $$system(make --silent -f pj-pkgconfig.mak cflags) - - macx { - QMAKE_CXXFLAGS += -ObjC++ - } -} - -TEMPLATE = app -CONFIG += thread debug -TARGET = -DEPENDPATH += . - -# Input -HEADERS += vidgui.h vidwin.h -SOURCES += vidgui.cpp vidwin.cpp - diff --git a/res/pjproject/pjsip-apps/src/vidgui/vidwin.cpp b/res/pjproject/pjsip-apps/src/vidgui/vidwin.cpp deleted file mode 100644 index 3e38b6cdc5..0000000000 --- a/res/pjproject/pjsip-apps/src/vidgui/vidwin.cpp +++ /dev/null @@ -1,309 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "vidwin.h" -#include - -#define THIS_FILE "vidwin.cpp" -#define TRACE_(...) PJ_LOG(4,(THIS_FILE, __VA_ARGS__)) - -VidWin::VidWin(const pjmedia_vid_dev_hwnd *hwnd_, - QWidget* parent, - Qt::WindowFlags f) : - QWidget(parent, f), orig_parent(NULL), - size_hint(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX) -{ - setAttribute(Qt::WA_NativeWindow); - - /* Make this widget a bit "lighter" */ - setAttribute(Qt::WA_UpdatesDisabled); - setAttribute(Qt::WA_PaintOnScreen); - setAttribute(Qt::WA_NoSystemBackground); - setAttribute(Qt::WA_PaintOutsidePaintEvent); - setUpdatesEnabled(false); - - pj_bzero(&hwnd, sizeof(hwnd)); - if (hwnd_) { - hwnd = *hwnd_; - } -} - - -VidWin::~VidWin() -{ - show_sdl(false); - detach(); -} - -void VidWin::putIntoLayout(QBoxLayout *box) -{ - box->addWidget(this, 1); - show(); - activateWindow(); -} - -bool VidWin::event(QEvent *e) -{ - switch(e->type()) { - - case QEvent::Resize: - set_size(); - break; - - case QEvent::ParentChange: - get_size(); - if (0) { - QRect qr = rect(); - if (qr.width() > size_hint.width()) - size_hint.setWidth(qr.width()); - if (qr.height() > size_hint.height()) - size_hint.setWidth(qr.height()); - } - setFixedSize(size_hint); - attach(); - break; - - case QEvent::Show: - show_sdl(true); - // revert to default size hint, make it resizable - setFixedSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX); - break; - - case QEvent::Hide: - show_sdl(false); - break; - - default: - break; - } - - return QWidget::event(e); -} - -/* Platform specific code */ - -#if defined(_WIN32) && !defined(_WIN32_WINCE) - -#include - -void VidWin::attach() -{ - if (!hwnd.info.win.hwnd) return; - - HWND w = (HWND)hwnd.info.win.hwnd; - HWND new_parent = (HWND)winId(); - orig_parent = GetParent(w); - - //SetWindowLong(w, GWL_STYLE, WS_CHILD); - SetParent(w, new_parent); - TRACE_("%p new parent handle = %p", w, new_parent); -} - -void VidWin::detach() -{ - if (!hwnd.info.win.hwnd) return; - - HWND w = (HWND)hwnd.info.win.hwnd; - SetParent(w, (HWND)orig_parent); - TRACE_("%p revert parent handle to %p", w, orig_parent); -} - -void VidWin::set_size() -{ - if (!hwnd.info.win.hwnd) return; - - HWND w = (HWND)hwnd.info.win.hwnd; - QRect qr = rect(); - UINT swp_flag = SWP_NOACTIVATE; - SetWindowPos(w, HWND_TOP, 0, 0, qr.width(), qr.height(), swp_flag); - TRACE_("%p new size = %dx%d", w, qr.width(), qr.height()); -} - -void VidWin::get_size() -{ - if (!hwnd.info.win.hwnd) return; - - HWND w = (HWND)hwnd.info.win.hwnd; - RECT r; - if (GetWindowRect(w, &r)) - size_hint = QSize(r.right-r.left+1, r.bottom-r.top+1); - TRACE_("%p size = %dx%d", w, size_hint.width(), size_hint.height()); -} - -void VidWin::show_sdl(bool visible) -{ - if (!hwnd.info.win.hwnd) return; - - HWND w = (HWND)hwnd.info.win.hwnd; - ShowWindow(w, visible ? SW_SHOW : SW_HIDE); -} - -#elif defined(__APPLE__) - -#import - -void VidWin::attach() -{ - if (!hwnd.info.cocoa.window) return; - - /* Embed hwnd to widget */ - NSWindow *w = (NSWindow*)hwnd.info.cocoa.window; - NSWindow *parent = [(NSView*)winId() window]; - orig_parent = [w parentWindow]; - - //[w setStyleMask:NSBorderlessWindowMask]; - - //Can't use this, as sometime the video window may not get reparented. - //[w setParentWindow:parent]; - - [parent addChildWindow:w ordered:NSWindowAbove]; - TRACE_("%p new parent handle = %p", w, parent); -} - - -void VidWin::detach() -{ - if (!hwnd.info.cocoa.window) return; - - NSWindow *w = (NSWindow*)hwnd.info.cocoa.window; - NSWindow *parent = [(NSView*)winId() window]; - [parent removeChildWindow:w]; -} - - -void VidWin::set_size() -{ - if (!hwnd.info.cocoa.window) return; - - /* Update position and size */ - NSWindow *w = (NSWindow*)hwnd.info.cocoa.window; - NSRect r; - - NSView* v = (NSView*)winId(); - r = [v bounds]; - r = [v convertRectToBase:r]; - r.origin = [[v window] convertBaseToScreen:r.origin]; - - QRect qr = rect(); - [w setFrame:r display:NO]; - - TRACE_("%p new size = %dx%d", w, qr.width(), qr.height()); -} - -void VidWin::get_size() -{ - if (!hwnd.info.cocoa.window) return; - - NSWindow *w = (NSWindow*)hwnd.info.cocoa.window; - - size_hint = QSize(300, 200); - - TRACE_("%p size = %dx%d", 0, size_hint.width(), size_hint.height()); -} - -void VidWin::show_sdl(bool visible) -{ - if (!hwnd.info.cocoa.window) return; - - NSWindow *w = (NSWindow*)hwnd.info.cocoa.window; - - if (visible) { - [[w contentView]setHidden:NO]; - } else { - [[w contentView]setHidden:YES]; - } -} - -#elif defined(linux) || defined(__linux) - -#include -#include -#include -#include - -#define GET_DISPLAY() QX11Info::display() -//#define GET_DISPLAY() (Display*)hwnd.info.x11.display - -void VidWin::attach() -{ - if (!hwnd.info.x11.window) return; - - /* Embed hwnd to widget */ - - // Use Qt X11 display here, using window creator X11 display may cause - // the window failing to embed to this QWidget. - //Display *d = (Display*)hwnd.info.x11.display; - Display *d = GET_DISPLAY(); - Window w = (Window)hwnd.info.x11.window; - Window parent = (Window)this->winId(); - int err = XReparentWindow(d, w, parent, 0, 0); - TRACE_("%p new parent handle = %p, err = %d", - (void*)w,(void*)parent, err); -} - - -void VidWin::detach() -{ -} - - -void VidWin::set_size() -{ - if (!hwnd.info.x11.window) return; - - /* Update position and size */ - Display *d = GET_DISPLAY(); - Window w = (Window)hwnd.info.x11.window; - QRect qr = rect(); - - int err = XResizeWindow(d, w, qr.width(), qr.height()); - TRACE_("[%p,%p] new size = %dx%d, err = %d", - (void*)d, (void*)w, qr.width(), qr.height(), err); -} - -void VidWin::get_size() -{ - if (!hwnd.info.x11.window) return; - - Display *d = GET_DISPLAY(); - Window w = (Window)hwnd.info.x11.window; - - XWindowAttributes attr; - XGetWindowAttributes(d, w, &attr); - size_hint = QSize(attr.width, attr.height); - TRACE_("%p size = %dx%d", w, size_hint.width(), size_hint.height()); -} - -void VidWin::show_sdl(bool visible) -{ - if (!hwnd.info.x11.window) return; - - Display *d = GET_DISPLAY(); - Window w = (Window)hwnd.info.x11.window; - - if (visible) { - XMapRaised(d, w); - } else { - XUnmapWindow(d, w); - } - - XFlush(d); -} - -#endif - diff --git a/res/pjproject/pjsip-apps/src/vidgui/vidwin.h b/res/pjproject/pjsip-apps/src/vidgui/vidwin.h deleted file mode 100644 index 8ab4a76d09..0000000000 --- a/res/pjproject/pjsip-apps/src/vidgui/vidwin.h +++ /dev/null @@ -1,55 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef VIDWIN_H -#define VIDWIN_H - -#include -#include -#include - -class VidWin : public QWidget -{ - Q_OBJECT - -public: - VidWin(const pjmedia_vid_dev_hwnd *hwnd, - QWidget* parent = 0, - Qt::WindowFlags f = 0); - virtual ~VidWin(); - QSize sizeHint() const { return size_hint; } - - void putIntoLayout(QBoxLayout *layout); - -protected: - virtual bool event(QEvent *e); - -private: - pjmedia_vid_dev_hwnd hwnd; - void *orig_parent; - QSize size_hint; - - void attach(); - void detach(); - void set_size(); - void get_size(); - void show_sdl(bool visible=true); -}; - -#endif - diff --git a/res/pjproject/pjsip/build/Makefile b/res/pjproject/pjsip/build/Makefile deleted file mode 100644 index 41e91a1208..0000000000 --- a/res/pjproject/pjsip/build/Makefile +++ /dev/null @@ -1,196 +0,0 @@ -# For common OSes, test's main() is defined in main.c. -# OS specific configuration may want to put it in different file. -# For example, see os-rtems.mak in current directory. -export TEST_OBJS = main.o - -include ../../build.mak -include ../../version.mak -include $(PJDIR)/build/common.mak - -RULES_MAK := $(PJDIR)/build/rules.mak - -PJLIB_LIB:=../../pjlib/lib/libpj-$(TARGET_NAME)$(LIBEXT) -PJLIB_UTIL_LIB:=../../pjlib-util/lib/libpjlib-util-$(TARGET_NAME)$(LIBEXT) -PJMEDIA_LIB:=../../pjmedia/lib/libpjmedia-$(TARGET_NAME)$(LIBEXT) -PJMEDIA_CODEC_LIB:=../../pjmedia/lib/libpjmedia-codec-$(TARGET_NAME)$(LIBEXT) - -export PJSIP_LIB:=../lib/libpjsip-$(TARGET_NAME)$(LIBEXT) -export PJSIP_UA_LIB:=../lib/libpjsip-ua-$(TARGET_NAME)$(LIBEXT) -export PJSIP_SIMPLE_LIB:=../lib/libpjsip-simple-$(TARGET_NAME)$(LIBEXT) -export PJSUA_LIB_LIB=../lib/libpjsua-$(TARGET_NAME)$(LIBEXT) - - -############################################################################### -# Gather all flags. -# -export _CFLAGS := $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \ - $(CFLAGS) $(CC_INC)../include \ - $(CC_INC)../../pjlib/include \ - $(CC_INC)../../pjlib-util/include \ - $(CC_INC)../../pjnath/include \ - $(CC_INC)../../pjmedia/include -export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ - $(HOST_CXXFLAGS) $(CXXFLAGS) - -############################################################################### -# Defines for building PJSIP core library -# -export PJSIP_SRCDIR = ../src/pjsip -export PJSIP_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ - sip_config.o sip_multipart.o \ - sip_errno.o sip_msg.o sip_parser.o sip_tel_uri.o sip_uri.o \ - sip_endpoint.o sip_util.o sip_util_proxy.o \ - sip_resolve.o sip_transport.o sip_transport_loop.o \ - sip_transport_udp.o sip_transport_tcp.o \ - sip_transport_tls.o sip_auth_aka.o sip_auth_client.o \ - sip_auth_msg.o sip_auth_parser.o \ - sip_auth_server.o \ - sip_transaction.o sip_util_statefull.o \ - sip_dialog.o sip_ua_layer.o -export PJSIP_CFLAGS += $(_CFLAGS) - -############################################################################### -# Defines for building PJSIP UA library -# -export PJSIP_UA_SRCDIR = ../src/pjsip-ua -export PJSIP_UA_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ - sip_inv.o sip_reg.o sip_replaces.o sip_xfer.o \ - sip_100rel.o sip_timer.o -export PJSIP_UA_CFLAGS += $(_CFLAGS) - - -############################################################################### -# Defines for building PJSIP SIMPLE library -# -export PJSIP_SIMPLE_SRCDIR = ../src/pjsip-simple -export PJSIP_SIMPLE_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ - errno.o evsub.o evsub_msg.o iscomposing.o \ - mwi.o pidf.o presence.o presence_body.o publishc.o \ - rpid.o xpidf.o -export PJSIP_SIMPLE_CFLAGS += $(_CFLAGS) - - -############################################################################### -# Defines for building PJSUA-LIB library -# -export PJSUA_LIB_SRCDIR = ../src/pjsua-lib -export PJSUA_LIB_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ - pjsua_acc.o pjsua_call.o pjsua_core.o \ - pjsua_im.o pjsua_media.o pjsua_pres.o \ - pjsua_dump.o pjsua_aud.o pjsua_vid.o -export PJSUA_LIB_CFLAGS += $(_CFLAGS) $(PJ_VIDEO_CFLAGS) - - -export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT - -############################################################################### -# Defines for building test application -# -export TEST_SRCDIR = ../src/test -export TEST_OBJS += dlg_core_test.o dns_test.o msg_err_test.o \ - msg_logger.o msg_test.o multipart_test.o regc_test.o \ - test.o transport_loop_test.o transport_tcp_test.o \ - transport_test.o transport_udp_test.o \ - tsx_basic_test.o tsx_bench.o tsx_uac_test.o \ - tsx_uas_test.o txdata_test.o uri_test.o \ - inv_offer_answer_test.o -export TEST_CFLAGS += $(_CFLAGS) -export TEST_LDFLAGS += $(PJ_LDFLAGS) $(PJ_LDLIBS) $(LDFLAGS) -export TEST_EXE := ../bin/pjsip-test-$(TARGET_NAME)$(HOST_EXE) - - -export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT -############################################################################### -# Main entry -# -# -TARGETS := pjsip pjsip-ua pjsip-simple pjsua-lib pjsip-test - -all: $(TARGETS) - -doc: - cd .. && rm -rf docs/$(PJ_VERSION) && doxygen docs/doxygen.cfg - @if [ -n "$(WWWDIR)" ] && ! [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjsip/docs/html" ] ; then \ - echo "Creating docs/$(PJ_VERSION)/pjsip/docs/html" ; \ - mkdir -p $(WWWDIR)/docs/$(PJ_VERSION)/pjsip/docs/html ; \ - fi - @if [ -n "$(WWWDIR)" ] && [ -d "$(WWWDIR)/docs/$(PJ_VERSION)/pjsip/docs/html" ] ; then \ - echo "Copying docs/$(PJ_VERSION) to $(WWWDIR)/docs/$(PJ_VERSION)/pjsip/docs/html.." ; \ - cp -v -a ../docs/$(PJ_VERSION)/html/* $(WWWDIR)/docs/$(PJ_VERSION)/pjsip/docs/html/ ; \ - fi - -dep: depend -distclean: realclean - -.PHONY: dep depend clean realclean distclean -.PHONY: $(TARGETS) -.PHONY: $(PJSIP_LIB) $(PJSIP_UA_LIB) $(PJSIP_SIMPLE_LIB) $(PJSUA_LIB_LIB) $(TEST_EXE) - -pjsip: $(PJSIP_LIB) -$(PJSIP_LIB): - $(MAKE) -f $(RULES_MAK) APP=PJSIP app=pjsip $(PJSIP_LIB) - -pjsip-ua: $(PJSIP_UA_LIB) -$(PJSIP_UA_LIB): - $(MAKE) -f $(RULES_MAK) APP=PJSIP_UA app=pjsip-ua $(PJSIP_UA_LIB) - -pjsip-simple: $(PJSIP_SIMPLE_LIB) -$(PJSIP_SIMPLE_LIB): - $(MAKE) -f $(RULES_MAK) APP=PJSIP_SIMPLE app=pjsip-simple $(PJSIP_SIMPLE_LIB) - -pjsua-lib: $(PJSUA_LIB_LIB) -$(PJSUA_LIB_LIB): - $(MAKE) -f $(RULES_MAK) APP=PJSUA_LIB app=pjsua-lib $(PJSUA_LIB_LIB) - -pjsip-test: $(TEST_EXE) -$(TEST_EXE): $(PJSUA_LIB_LIB) $(PJSIP_SIMPLE_LIB) $(PJSIP_UA_LIB) $(PJSIP_LIB) - $(MAKE) -f $(RULES_MAK) APP=TEST app=pjsip-test $(TEST_EXE) - -.PHONY: ../lib/pjsip.ko -../lib/pjsip.ko: - echo Making $@ - $(MAKE) -f $(RULES_MAK) APP=PJSIP app=pjsip $@ - -.PHONY: ../lib/pjsip-ua.ko -../lib/pjsip-ua.ko: - echo Making $@ - $(MAKE) -f $(RULES_MAK) APP=PJSIP_UA app=pjsip-ua $@ - -.PHONY: ../lib/pjsip-simple.ko -../lib/pjsip-simple.ko: - echo Making $@ - $(MAKE) -f $(RULES_MAK) APP=PJSIP_SIMPLE app=pjsip-simple $@ - -.PHONY: ../lib/pjsua-lib.ko -../lib/pjsua-lib.ko: - echo Making $@ - $(MAKE) -f $(RULES_MAK) APP=PJSUA_LIB app=pjsua-lib $@ - -clean: - $(MAKE) -f $(RULES_MAK) APP=PJSIP app=pjsip $@ - $(MAKE) -f $(RULES_MAK) APP=PJSIP_UA app=pjsip-ua $@ - $(MAKE) -f $(RULES_MAK) APP=PJSIP_SIMPLE app=pjsip-simple $@ - $(MAKE) -f $(RULES_MAK) APP=PJSUA_LIB app=pjsua-lib $@ - $(MAKE) -f $(RULES_MAK) APP=TEST app=pjsip-test $@ - -depend: - $(MAKE) -f $(RULES_MAK) APP=PJSIP app=pjsip $@ - $(MAKE) -f $(RULES_MAK) APP=PJSIP_UA app=pjsip-ua $@ - $(MAKE) -f $(RULES_MAK) APP=PJSIP_SIMPLE app=pjsip-simple $@ - $(MAKE) -f $(RULES_MAK) APP=PJSUA_LIB app=pjsua-lib $@ - $(MAKE) -f $(RULES_MAK) APP=TEST app=pjsip-test $@ - echo '$(TEST_EXE): $(PJMEDIA_LIB) $(PJSUA_LIB_LIB) $(PJSIP_SIMPLE_LIB) $(PJSIP_UA_LIB) $(PJSIP_LIB) $(PJNATH_LIB) $(PJLIB_UTIL_LIB) $(PJLIB_LIB)' >> .pjsip-test-$(TARGET_NAME).depend - -realclean: - $(subst @@,$(subst /,$(HOST_PSEP),.pjsip-$(TARGET_NAME).depend),$(HOST_RMR)) - $(subst @@,$(subst /,$(HOST_PSEP),.pjsip-ua-$(TARGET_NAME).depend),$(HOST_RMR)) - $(subst @@,$(subst /,$(HOST_PSEP),.pjsip-simple-$(TARGET_NAME).depend),$(HOST_RMR)) - $(subst @@,$(subst /,$(HOST_PSEP),.pjsua-lib-$(TARGET_NAME).depend),$(HOST_RMR)) - $(MAKE) -f $(RULES_MAK) APP=PJSIP app=pjsip $@ - $(MAKE) -f $(RULES_MAK) APP=PJSIP_UA app=pjsip-ua $@ - $(MAKE) -f $(RULES_MAK) APP=PJSIP_SIMPLE app=pjsip-simple $@ - $(MAKE) -f $(RULES_MAK) APP=TEST app=pjsip-test $@ - $(MAKE) -f $(RULES_MAK) APP=PJSUA_LIB app=pjsua-lib $@ - - - diff --git a/res/pjproject/pjsip/build/os-auto.mak.in b/res/pjproject/pjsip/build/os-auto.mak.in deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/res/pjproject/pjsip/build/os-rtems.mak b/res/pjproject/pjsip/build/os-rtems.mak deleted file mode 100644 index 69118b41ad..0000000000 --- a/res/pjproject/pjsip/build/os-rtems.mak +++ /dev/null @@ -1,2 +0,0 @@ -export TEST_OBJS = main_rtems.o - diff --git a/res/pjproject/pjsip/build/pjsip_core.vcproj b/res/pjproject/pjsip/build/pjsip_core.vcproj deleted file mode 100644 index 65a48e66ee..0000000000 --- a/res/pjproject/pjsip/build/pjsip_core.vcproj +++ /dev/null @@ -1,4194 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjsip/build/pjsip_simple.vcproj b/res/pjproject/pjsip/build/pjsip_simple.vcproj deleted file mode 100644 index 8b3141d8a2..0000000000 --- a/res/pjproject/pjsip/build/pjsip_simple.vcproj +++ /dev/null @@ -1,3354 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjsip/build/pjsip_test.vcproj b/res/pjproject/pjsip/build/pjsip_test.vcproj deleted file mode 100644 index b41cc189c1..0000000000 --- a/res/pjproject/pjsip/build/pjsip_test.vcproj +++ /dev/null @@ -1,4183 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjsip/build/pjsip_ua.vcproj b/res/pjproject/pjsip/build/pjsip_ua.vcproj deleted file mode 100644 index 3900b1bc8a..0000000000 --- a/res/pjproject/pjsip/build/pjsip_ua.vcproj +++ /dev/null @@ -1,3044 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjsip/build/pjsua_lib.vcproj b/res/pjproject/pjsip/build/pjsua_lib.vcproj deleted file mode 100644 index e0a7fa3838..0000000000 --- a/res/pjproject/pjsip/build/pjsua_lib.vcproj +++ /dev/null @@ -1,3144 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/pjsip/build/wince-evc4/pjsip_core_wince.vcp b/res/pjproject/pjsip/build/wince-evc4/pjsip_core_wince.vcp deleted file mode 100644 index 7c2adf74c0..0000000000 --- a/res/pjproject/pjsip/build/wince-evc4/pjsip_core_wince.vcp +++ /dev/null @@ -1,16941 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="pjsip_core_wince" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE x86) Static Library" 0x8304 -# TARGTYPE "Win32 (WCE MIPSIV_FP) Static Library" 0x9204 -# TARGTYPE "Win32 (WCE ARMV4) Static Library" 0xa304 -# TARGTYPE "Win32 (WCE ARMV4I) Static Library" 0xa504 -# TARGTYPE "Win32 (WCE emulator) Static Library" 0xa604 -# TARGTYPE "Win32 (WCE ARMV4T) Static Library" 0xa404 - -CFG=pjsip_core_wince - Win32 (WCE x86) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "pjsip_core_wince.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "pjsip_core_wince.vcn" CFG="pjsip_core_wince - Win32 (WCE x86) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "pjsip_core_wince - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "pjsip_core_wince - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "pjsip_core_wince - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" (based on "Win32 (WCE MIPSIV_FP) Static Library") -!MESSAGE "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" (based on "Win32 (WCE MIPSIV_FP) Static Library") -!MESSAGE "pjsip_core_wince - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "pjsip_core_wince - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "pjsip_core_wince - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "pjsip_core_wince - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Static Library") -!MESSAGE "pjsip_core_wince - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjsip_core_emulatorRel" -# PROP BASE Intermediate_Dir "./output/pjsip_core_emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjsip_core_emulatorRel" -# PROP Intermediate_Dir "./output/pjsip_core_emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "NDEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjsip_core_emulatorDbg" -# PROP BASE Intermediate_Dir "./output/pjsip_core_emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjsip_core_emulatorDbg" -# PROP Intermediate_Dir "./output/pjsip_core_emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjsip_core_ARMV4IRel" -# PROP BASE Intermediate_Dir "./output/pjsip_core_ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjsip_core_ARMV4IRel" -# PROP Intermediate_Dir "./output/pjsip_core_ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "ARMV4I" /D "NDEBUG" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjsip_core_ARMV4IDbg" -# PROP BASE Intermediate_Dir "./output/pjsip_core_ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjsip_core_ARMV4IDbg" -# PROP Intermediate_Dir "./output/pjsip_core_ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "DEBUG" /D "ARMV4I" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjsip_core_MIPSIV_FPRel" -# PROP BASE Intermediate_Dir "./output/pjsip_core_MIPSIV_FPRel" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjsip_core_MIPSIV_FPRel" -# PROP Intermediate_Dir "./output/pjsip_core_MIPSIV_FPRel" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D "NDEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjsip_core_MIPSIV_FPDbg" -# PROP BASE Intermediate_Dir "./output/pjsip_core_MIPSIV_FPDbg" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjsip_core_MIPSIV_FPDbg" -# PROP Intermediate_Dir "./output/pjsip_core_MIPSIV_FPDbg" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjsip_core_ARMV4Rel" -# PROP BASE Intermediate_Dir "./output/pjsip_core_ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjsip_core_ARMV4Rel" -# PROP Intermediate_Dir "./output/pjsip_core_ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "NDEBUG" /D "ARMV4" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjsip_core_ARMV4Dbg" -# PROP BASE Intermediate_Dir "./output/pjsip_core_ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjsip_core_ARMV4Dbg" -# PROP Intermediate_Dir "./output/pjsip_core_ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "DEBUG" /D "ARMV4" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjsip_core_ARMV4TRel" -# PROP BASE Intermediate_Dir "./output/pjsip_core_ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjsip_core_ARMV4TRel" -# PROP Intermediate_Dir "./output/pjsip_core_ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "NDEBUG" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjsip_core_ARMV4TDbg" -# PROP BASE Intermediate_Dir "./output/pjsip_core_ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjsip_core_ARMV4TDbg" -# PROP Intermediate_Dir "./output/pjsip_core_ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "DEBUG" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjsip_core_X86Rel" -# PROP BASE Intermediate_Dir "./output/pjsip_core_X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjsip_core_X86Rel" -# PROP Intermediate_Dir "./output/pjsip_core_X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "NDEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjsip_core_X86Dbg" -# PROP BASE Intermediate_Dir "./output/pjsip_core_X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjsip_core_X86Dbg" -# PROP Intermediate_Dir "./output/pjsip_core_X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ENDIF - -# Begin Target - -# Name "pjsip_core_wince - Win32 (WCE emulator) Release" -# Name "pjsip_core_wince - Win32 (WCE emulator) Debug" -# Name "pjsip_core_wince - Win32 (WCE ARMV4I) Release" -# Name "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" -# Name "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" -# Name "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" -# Name "pjsip_core_wince - Win32 (WCE ARMV4) Release" -# Name "pjsip_core_wince - Win32 (WCE ARMV4) Debug" -# Name "pjsip_core_wince - Win32 (WCE ARMV4T) Release" -# Name "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" -# Name "pjsip_core_wince - Win32 (WCE x86) Release" -# Name "pjsip_core_wince - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_auth_aka.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_A=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\milenage\milenage.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_A=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\milenage\milenage.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_A=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\milenage\milenage.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_A=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\milenage\milenage.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_A=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\milenage\milenage.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_A=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\milenage\milenage.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_A=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\milenage\milenage.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_A=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\milenage\milenage.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_A=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\milenage\milenage.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_A=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\milenage\milenage.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_A=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\milenage\milenage.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_A=\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\third_party\milenage\milenage.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_auth_client.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_AU=\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AU=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_AU=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_AU=\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AU=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_AU=\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AU=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_AU=\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AU=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_AU=\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AU=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_AU=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_AU=\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AU=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_AU=\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AU=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_AU=\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AU=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_AU=\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AU=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_AU=\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_auth_msg.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_AUT=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUT=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_AUT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_AUT=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUT=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_AUT=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUT=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_AUT=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUT=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_AUT=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUT=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_AUT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_AUT=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUT=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_AUT=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUT=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_AUT=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUT=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_AUT=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUT=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_AUT=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_auth_parser.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_AUTH=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_auth_server.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_AUTH_=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_config.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_dialog.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_D=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_D=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_D=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_D=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_D=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_D=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_D=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_D=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_D=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_D=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_D=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_D=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_D=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_D=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_D=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_D=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_D=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_D=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_D=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_D=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_D=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_endpoint.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_E=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_E=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_E=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_E=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_E=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_E=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_E=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_E=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_E=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_E=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_E=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_E=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_E=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_E=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_E=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_E=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_E=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_E=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_E=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_errno.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_ER=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_ER=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_ER=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_ER=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_ER=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_ER=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_ER=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_ER=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_ER=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_ER=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_ER=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_ER=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_ER=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_ER=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_ER=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_ER=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_ER=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_ER=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_ER=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_ER=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_ER=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_msg.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_M=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_M=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_M=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_M=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_M=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_M=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_M=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_M=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_M=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_M=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_M=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_M=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_M=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_M=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_M=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_M=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_M=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_M=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_M=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_M=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_M=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_parser.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_P=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_P=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_P=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_P=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_P=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_P=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_P=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_P=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_P=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_P=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_P=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_P=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_P=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_P=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_P=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_P=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_P=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_P=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_P=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_P=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_P=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth_parser.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_resolve.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_R=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_R=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_R=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_R=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_R=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_R=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_R=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_R=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_R=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_tel_uri.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_T=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_T=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_T=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_T=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_T=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_T=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_T=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_T=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_T=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_T=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_T=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_T=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_T=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_T=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_T=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_T=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_T=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_T=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_T=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_transaction.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_TR=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_TR=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_TR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_TR=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_TR=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_TR=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_TR=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_TR=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_TR=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_TR=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_TR=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_TR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_TR=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_TR=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_TR=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_TR=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_TR=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_TR=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_TR=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_TR=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_TR=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_transport.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_TRA=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRA=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_TRA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_TRA=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRA=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_TRA=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRA=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_TRA=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRA=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_TRA=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRA=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_TRA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_TRA=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRA=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_TRA=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRA=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_TRA=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRA=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_TRA=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRA=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_TRA=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_private.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_transport_loop.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_TRAN=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_transport_tcp.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_transport_udp.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\socket.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_ua_layer.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_U=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_U=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_U=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_U=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_U=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_U=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_U=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_U=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_U=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_U=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_U=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_U=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_U=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_U=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_U=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_U=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_U=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_U=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_U=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_uri.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_UR=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_UR=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_UR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_UR=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_UR=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_UR=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_UR=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_UR=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_UR=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_UR=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_UR=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_UR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_UR=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_UR=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_UR=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_UR=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_UR=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_UR=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_UR=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - -NODEP_CPP_SIP_UR=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_UR=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\string.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_util.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_UT=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UT=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_UT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_UT=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UT=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_UT=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UT=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_UT=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UT=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_UT=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UT=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_UT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_UT=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UT=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_UT=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UT=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_UT=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UT=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_UT=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UT=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_UT=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_util_proxy.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_UTI=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UTI=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_UTI=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_UTI=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UTI=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_UTI=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UTI=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_UTI=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UTI=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_UTI=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UTI=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_UTI=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_UTI=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UTI=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_UTI=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UTI=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_UTI=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UTI=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_UTI=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UTI=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_UTI=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\pjsip\sip_util_statefull.c - -!IF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_core_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_UTIL=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\include\pjsip.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\print_util.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_auth.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_auth_aka.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_auth_msg.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_auth_parser.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_config.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_dialog.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_endpoint.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_errno.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_event.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_module.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_msg.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_parser.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_private.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_resolve.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_tel_uri.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_transaction.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_transport.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_transport_loop.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_transport_tcp.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_transport_udp.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_types.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_ua_layer.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_uri.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\pjsip\sip_util.h -# End Source File -# End Group -# End Target -# End Project diff --git a/res/pjproject/pjsip/build/wince-evc4/pjsip_simple_wince.vcp b/res/pjproject/pjsip/build/wince-evc4/pjsip_simple_wince.vcp deleted file mode 100644 index 1e37e1c1bd..0000000000 --- a/res/pjproject/pjsip/build/wince-evc4/pjsip_simple_wince.vcp +++ /dev/null @@ -1,6535 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="pjsip_simple_wince" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE x86) Static Library" 0x8304 -# TARGTYPE "Win32 (WCE ARMV4) Static Library" 0xa304 -# TARGTYPE "Win32 (WCE ARMV4I) Static Library" 0xa504 -# TARGTYPE "Win32 (WCE emulator) Static Library" 0xa604 -# TARGTYPE "Win32 (WCE ARMV4T) Static Library" 0xa404 - -CFG=pjsip_simple_wince - Win32 (WCE x86) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "pjsip_simple_wince.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "pjsip_simple_wince.vcn" CFG="pjsip_simple_wince - Win32 (WCE x86) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "pjsip_simple_wince - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "pjsip_simple_wince - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "pjsip_simple_wince - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "pjsip_simple_wince - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "pjsip_simple_wince - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "pjsip_simple_wince - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "pjsip_simple_wince - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "pjsip_simple_wince - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "pjsip_simple_wince - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Static Library") -!MESSAGE "pjsip_simple_wince - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjsip_simple_emulatorRel" -# PROP BASE Intermediate_Dir "output/pjsip_simple_emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjsip_simple_emulatorRel" -# PROP Intermediate_Dir "output/pjsip_simple_emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "_i386_" /D "_X86_" /D "x86" /D "NDEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjsip_simple_emulatorDbg" -# PROP BASE Intermediate_Dir "output/pjsip_simple_emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjsip_simple_emulatorDbg" -# PROP Intermediate_Dir "output/pjsip_simple_emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjsip_simple_ARMV4IRel" -# PROP BASE Intermediate_Dir "output/pjsip_simple_ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjsip_simple_ARMV4IRel" -# PROP Intermediate_Dir "output/pjsip_simple_ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "ARM" /D "_ARM_" /D "ARMV4I" /D "NDEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjsip_simple_ARMV4IDbg" -# PROP BASE Intermediate_Dir "output/pjsip_simple_ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjsip_simple_ARMV4IDbg" -# PROP Intermediate_Dir "output/pjsip_simple_ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4I" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjsip_simple_ARMV4Rel" -# PROP BASE Intermediate_Dir "output/pjsip_simple_ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjsip_simple_ARMV4Rel" -# PROP Intermediate_Dir "output/pjsip_simple_ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjsip_simple_ARMV4Dbg" -# PROP BASE Intermediate_Dir "output/pjsip_simple_ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjsip_simple_ARMV4Dbg" -# PROP Intermediate_Dir "output/pjsip_simple_ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjsip_simple_ARMV4TRel" -# PROP BASE Intermediate_Dir "output/pjsip_simple_ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjsip_simple_ARMV4TRel" -# PROP Intermediate_Dir "output/pjsip_simple_ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "ARM" /D "_ARM_" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "NDEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjsip_simple_ARMV4TDbg" -# PROP BASE Intermediate_Dir "output/pjsip_simple_ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjsip_simple_ARMV4TDbg" -# PROP Intermediate_Dir "output/pjsip_simple_ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjsip_simple_X86Rel" -# PROP BASE Intermediate_Dir "output/pjsip_simple_X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjsip_simple_X86Rel" -# PROP Intermediate_Dir "output/pjsip_simple_X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "_i386_" /D "_X86_" /D "x86" /D "NDEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjsip_simple_X86Dbg" -# PROP BASE Intermediate_Dir "output/pjsip_simple_X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjsip_simple_X86Dbg" -# PROP Intermediate_Dir "output/pjsip_simple_X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ENDIF - -# Begin Target - -# Name "pjsip_simple_wince - Win32 (WCE emulator) Release" -# Name "pjsip_simple_wince - Win32 (WCE emulator) Debug" -# Name "pjsip_simple_wince - Win32 (WCE ARMV4I) Release" -# Name "pjsip_simple_wince - Win32 (WCE ARMV4I) Debug" -# Name "pjsip_simple_wince - Win32 (WCE ARMV4) Release" -# Name "pjsip_simple_wince - Win32 (WCE ARMV4) Debug" -# Name "pjsip_simple_wince - Win32 (WCE ARMV4T) Release" -# Name "pjsip_simple_wince - Win32 (WCE ARMV4T) Debug" -# Name "pjsip_simple_wince - Win32 (WCE x86) Release" -# Name "pjsip_simple_wince - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE="..\..\src\pjsip-simple\errno.c" - -!IF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip\sip_errno.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip\sip_errno.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip\sip_errno.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip\sip_errno.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip\sip_errno.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip\sip_errno.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip\sip_errno.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip\sip_errno.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Release" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip\sip_errno.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ERRNO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip\sip_errno.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjsip-simple\evsub.c" - -!IF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Release" - -DEP_CPP_EVSUB=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_EVSUB=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_EVSUB=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_EVSUB=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_EVSUB=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_EVSUB=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_EVSUB=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_EVSUB=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Release" - -DEP_CPP_EVSUB=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Debug" - -DEP_CPP_EVSUB=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjsip-simple\evsub_msg.c" - -!IF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Release" - -DEP_CPP_EVSUB_=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_EVSUB_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_EVSUB_=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_EVSUB_=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_EVSUB_=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_EVSUB_=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_EVSUB_=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_EVSUB_=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Release" - -DEP_CPP_EVSUB_=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Debug" - -DEP_CPP_EVSUB_=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjsip-simple\iscomposing.c" - -!IF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Release" - -DEP_CPP_ISCOM=\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_ISCOM=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ISCOM=\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ISCOM=\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_ISCOM=\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ISCOM=\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ISCOM=\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ISCOM=\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Release" - -DEP_CPP_ISCOM=\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Debug" - -DEP_CPP_ISCOM=\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjsip-simple\pidf.c" - -!IF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Release" - -DEP_CPP_PIDF_=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_PIDF_=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PIDF_=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PIDF_=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_PIDF_=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PIDF_=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PIDF_=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PIDF_=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Release" - -DEP_CPP_PIDF_=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Debug" - -DEP_CPP_PIDF_=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjsip-simple\presence.c" - -!IF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Release" - -DEP_CPP_PRESE=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_PRESE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\rpid.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PRESE=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PRESE=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_PRESE=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PRESE=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PRESE=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PRESE=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Release" - -DEP_CPP_PRESE=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Debug" - -DEP_CPP_PRESE=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjsip-simple\presence_body.c" - -!IF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Release" - -DEP_CPP_PRESEN=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_PRESEN=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\rpid.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PRESEN=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PRESEN=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_PRESEN=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PRESEN=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PRESEN=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PRESEN=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Release" - -DEP_CPP_PRESEN=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Debug" - -DEP_CPP_PRESEN=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjsip-simple\publishc.c" - -!IF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Release" - -DEP_CPP_PUBLI=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\publish.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_PUBLI=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\publish.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PUBLI=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\publish.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PUBLI=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\publish.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_PUBLI=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\publish.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PUBLI=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\publish.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PUBLI=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\publish.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PUBLI=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\publish.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Release" - -DEP_CPP_PUBLI=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\publish.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Debug" - -DEP_CPP_PUBLI=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\publish.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjsip-simple\rpid.c" - -!IF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Release" - -DEP_CPP_RPID_=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\rpid.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_RPID_=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\rpid.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RPID_=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\rpid.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RPID_=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\rpid.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_RPID_=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\rpid.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RPID_=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\rpid.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RPID_=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\rpid.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RPID_=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\rpid.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Release" - -DEP_CPP_RPID_=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\rpid.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Debug" - -DEP_CPP_RPID_=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\errno.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\rpid.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjsip-simple\xpidf.c" - -!IF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Release" - -DEP_CPP_XPIDF=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_XPIDF=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_XPIDF=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_XPIDF=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_XPIDF=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_XPIDF=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_XPIDF=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_XPIDF=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Release" - -DEP_CPP_XPIDF=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_simple_wince - Win32 (WCE x86) Debug" - -DEP_CPP_XPIDF=\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_types.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE="..\..\include\pjsip-simple\errno.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjsip-simple\evsub.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjsip-simple\evsub_msg.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjsip-simple\iscomposing.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjsip-simple\pidf.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjsip-simple\presence.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjsip-simple\publish.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjsip-simple\rpid.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjsip-simple\types.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjsip-simple\xpidf.h" -# End Source File -# End Group -# End Target -# End Project diff --git a/res/pjproject/pjsip/build/wince-evc4/pjsip_ua_wince.vcp b/res/pjproject/pjsip/build/wince-evc4/pjsip_ua_wince.vcp deleted file mode 100644 index 32b792e2d8..0000000000 --- a/res/pjproject/pjsip/build/wince-evc4/pjsip_ua_wince.vcp +++ /dev/null @@ -1,4133 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="pjsip_ua_wince" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE x86) Static Library" 0x8304 -# TARGTYPE "Win32 (WCE ARMV4) Static Library" 0xa304 -# TARGTYPE "Win32 (WCE ARMV4I) Static Library" 0xa504 -# TARGTYPE "Win32 (WCE emulator) Static Library" 0xa604 -# TARGTYPE "Win32 (WCE ARMV4T) Static Library" 0xa404 - -CFG=PJSIP_UA_WINCE - WIN32 (WCE EMULATOR) DEBUG -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "pjsip_ua_wince.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "pjsip_ua_wince.vcn" CFG="PJSIP_UA_WINCE - WIN32 (WCE EMULATOR) DEBUG" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "pjsip_ua_wince - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "pjsip_ua_wince - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "pjsip_ua_wince - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "pjsip_ua_wince - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "pjsip_ua_wince - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "pjsip_ua_wince - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "pjsip_ua_wince - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "pjsip_ua_wince - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "pjsip_ua_wince - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Static Library") -!MESSAGE "pjsip_ua_wince - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjsip_ua_emulatorRel" -# PROP BASE Intermediate_Dir "./output/pjsip_ua_emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjsip_ua_emulatorRel" -# PROP Intermediate_Dir "./output/pjsip_ua_emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "NDEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjsip_ua_emulatorDbg" -# PROP BASE Intermediate_Dir "./output/pjsip_ua_emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjsip_ua_emulatorDbg" -# PROP Intermediate_Dir "./output/pjsip_ua_emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjsip_ua_ARMV4IRel" -# PROP BASE Intermediate_Dir "./output/pjsip_ua_ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjsip_ua_ARMV4IRel" -# PROP Intermediate_Dir "./output/pjsip_ua_ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "ARMV4I" /D "NDEBUG" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjsip_ua_ARMV4IDbg" -# PROP BASE Intermediate_Dir "./output/pjsip_ua_ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjsip_ua_ARMV4IDbg" -# PROP Intermediate_Dir "./output/pjsip_ua_ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "ARMV4I" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjsip_ua_ARMV4Rel" -# PROP BASE Intermediate_Dir "./output/pjsip_ua_ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjsip_ua_ARMV4Rel" -# PROP Intermediate_Dir "./output/pjsip_ua_ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "NDEBUG" /D "ARMV4" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjsip_ua_ARMV4Dbg" -# PROP BASE Intermediate_Dir "./output/pjsip_ua_ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjsip_ua_ARMV4Dbg" -# PROP Intermediate_Dir "./output/pjsip_ua_ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "ARMV4" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjsip_ua_ARMV4TRel" -# PROP BASE Intermediate_Dir "./output/pjsip_ua_ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjsip_ua_ARMV4TRel" -# PROP Intermediate_Dir "./output/pjsip_ua_ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "NDEBUG" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjsip_ua_ARMV4TDbg" -# PROP BASE Intermediate_Dir "./output/pjsip_ua_ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjsip_ua_ARMV4TDbg" -# PROP Intermediate_Dir "./output/pjsip_ua_ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "ARM" /D "_ARM_" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "./output/pjsip_ua_X86Rel" -# PROP BASE Intermediate_Dir "./output/pjsip_ua_X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/pjsip_ua_X86Rel" -# PROP Intermediate_Dir "./output/pjsip_ua_X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "NDEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "./output/pjsip_ua_X86Dbg" -# PROP BASE Intermediate_Dir "./output/pjsip_ua_X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/pjsip_ua_X86Dbg" -# PROP Intermediate_Dir "./output/pjsip_ua_X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ENDIF - -# Begin Target - -# Name "pjsip_ua_wince - Win32 (WCE emulator) Release" -# Name "pjsip_ua_wince - Win32 (WCE emulator) Debug" -# Name "pjsip_ua_wince - Win32 (WCE ARMV4I) Release" -# Name "pjsip_ua_wince - Win32 (WCE ARMV4I) Debug" -# Name "pjsip_ua_wince - Win32 (WCE ARMV4) Release" -# Name "pjsip_ua_wince - Win32 (WCE ARMV4) Debug" -# Name "pjsip_ua_wince - Win32 (WCE ARMV4T) Release" -# Name "pjsip_ua_wince - Win32 (WCE ARMV4T) Debug" -# Name "pjsip_ua_wince - Win32 (WCE x86) Release" -# Name "pjsip_ua_wince - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE="..\..\src\pjsip-ua\sip_100rel.c" - -!IF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_1=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_1=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_1=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_1=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_1=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_1=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_1=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_1=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_1=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_1=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjsip-ua\sip_inv.c" - -!IF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_I=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_I=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_I=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_I=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_I=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_I=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_I=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_I=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_I=\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_I=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_I=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_I=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_I=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_I=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_I=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_I=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_I=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_I=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjsip-ua\sip_reg.c" - -!IF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_R=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_R=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_R=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_R=\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_R=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_R=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_R=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - -NODEP_CPP_SIP_R=\ - "..\..\..\pjlib\include\pj\compat\m_arm.h"\ - "..\..\..\pjlib\include\pj\compat\sprintf.h"\ - "..\..\..\pjlib\include\pj\compat\vsprintf.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_R=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjsip-ua\sip_replaces.c" - -!IF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_RE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_RE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_RE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_RE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_RE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_RE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_RE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_RE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_RE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_RE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip\print_util.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjsip-ua\sip_xfer.c" - -!IF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE emulator) Release" - -DEP_CPP_SIP_X=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_SIP_X=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SIP_X=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SIP_X=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_SIP_X=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SIP_X=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SIP_X=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SIP_X=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE x86) Release" - -DEP_CPP_SIP_X=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ELSEIF "$(CFG)" == "pjsip_ua_wince - Win32 (WCE x86) Debug" - -DEP_CPP_SIP_X=\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\evsub_msg.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_uri.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\include\pjsip_ua.h -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjsip-ua\sip_100rel.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjsip-ua\sip_inv.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjsip-ua\sip_regc.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjsip-ua\sip_replaces.h" -# End Source File -# Begin Source File - -SOURCE="..\..\include\pjsip-ua\sip_xfer.h" -# End Source File -# End Group -# End Target -# End Project diff --git a/res/pjproject/pjsip/build/wince-evc4/pjsip_wince.vcw b/res/pjproject/pjsip/build/wince-evc4/pjsip_wince.vcw deleted file mode 100644 index 57149a183a..0000000000 --- a/res/pjproject/pjsip/build/wince-evc4/pjsip_wince.vcw +++ /dev/null @@ -1,161 +0,0 @@ -Microsoft eMbedded Visual Tools Workspace File, Format Version 4.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "pjlib_util_wince"="..\..\..\pjlib-util\build\wince-evc4\pjlib_util_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjlib_wince"="..\..\..\pjlib\build\wince-evc4\pjlib_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjmedia_codec_wince"="..\..\..\pjmedia\build\wince-evc4\pjmedia_codec_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjmedia_wince"="..\..\..\pjmedia\build\wince-evc4\pjmedia_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjnath_wince"="..\..\..\pjnath\build\wince-evc4\pjnath_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjsip_core_wince"=".\pjsip_core_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjsip_simple_wince"=".\pjsip_simple_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjsip_ua_wince"=".\pjsip_ua_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "pjsua_lib_wince"=".\pjsua_lib_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "test_pjsip_wince"=".\test_pjsip_wince.vcp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name pjlib_util_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjlib_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjsip_core_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjsip_simple_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjsip_ua_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjsua_lib_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjnath_wince - End Project Dependency - Begin Project Dependency - Project_Dep_Name pjmedia_wince - End Project Dependency -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/res/pjproject/pjsip/build/wince-evc4/pjsua_lib_wince.vcp b/res/pjproject/pjsip/build/wince-evc4/pjsua_lib_wince.vcp deleted file mode 100644 index 5b6791f082..0000000000 --- a/res/pjproject/pjsip/build/wince-evc4/pjsua_lib_wince.vcp +++ /dev/null @@ -1,9179 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="pjsua_lib_wince" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE x86) Static Library" 0x8304 -# TARGTYPE "Win32 (WCE ARMV4) Static Library" 0xa304 -# TARGTYPE "Win32 (WCE ARMV4I) Static Library" 0xa504 -# TARGTYPE "Win32 (WCE emulator) Static Library" 0xa604 -# TARGTYPE "Win32 (WCE ARMV4T) Static Library" 0xa404 - -CFG=pjsua_lib_wince - Win32 (WCE x86) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "pjsua_lib_wince.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "pjsua_lib_wince.vcn" CFG="pjsua_lib_wince - Win32 (WCE x86) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "pjsua_lib_wince - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "pjsua_lib_wince - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "pjsua_lib_wince - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "pjsua_lib_wince - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "pjsua_lib_wince - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "pjsua_lib_wince - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "pjsua_lib_wince - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "pjsua_lib_wince - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "pjsua_lib_wince - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Static Library") -!MESSAGE "pjsua_lib_wince - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjsua_lib_emulatorRel" -# PROP BASE Intermediate_Dir "output/pjsua_lib_emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjsua_lib_emulatorRel" -# PROP Intermediate_Dir "output/pjsua_lib_emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "_i386_" /D "_X86_" /D "x86" /D "NDEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjsua_lib_emulatorDbg" -# PROP BASE Intermediate_Dir "output/pjsua_lib_emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjsua_lib_emulatorDbg" -# PROP Intermediate_Dir "output/pjsua_lib_emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjsua_lib_ARMV4IRel" -# PROP BASE Intermediate_Dir "output/pjsua_lib_ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjsua_lib_ARMV4IRel" -# PROP Intermediate_Dir "output/pjsua_lib_ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "ARM" /D "_ARM_" /D "ARMV4I" /D "NDEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjsua_lib_ARMV4IDbg" -# PROP BASE Intermediate_Dir "output/pjsua_lib_ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjsua_lib_ARMV4IDbg" -# PROP Intermediate_Dir "output/pjsua_lib_ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4I" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjsua_lib_ARMV4Rel" -# PROP BASE Intermediate_Dir "output/pjsua_lib_ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjsua_lib_ARMV4Rel" -# PROP Intermediate_Dir "output/pjsua_lib_ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjsua_lib_ARMV4Dbg" -# PROP BASE Intermediate_Dir "output/pjsua_lib_ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjsua_lib_ARMV4Dbg" -# PROP Intermediate_Dir "output/pjsua_lib_ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjsua_lib_ARMV4TRel" -# PROP BASE Intermediate_Dir "output/pjsua_lib_ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjsua_lib_ARMV4TRel" -# PROP Intermediate_Dir "output/pjsua_lib_ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "ARM" /D "_ARM_" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "NDEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjsua_lib_ARMV4TDbg" -# PROP BASE Intermediate_Dir "output/pjsua_lib_ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjsua_lib_ARMV4TDbg" -# PROP Intermediate_Dir "output/pjsua_lib_ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/pjsua_lib_X86Rel" -# PROP BASE Intermediate_Dir "output/pjsua_lib_X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/pjsua_lib_X86Rel" -# PROP Intermediate_Dir "output/pjsua_lib_X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "_i386_" /D "_X86_" /D "x86" /D "NDEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/pjsua_lib_X86Dbg" -# PROP BASE Intermediate_Dir "output/pjsua_lib_X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/pjsua_lib_X86Dbg" -# PROP Intermediate_Dir "output/pjsua_lib_X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ENDIF - -# Begin Target - -# Name "pjsua_lib_wince - Win32 (WCE emulator) Release" -# Name "pjsua_lib_wince - Win32 (WCE emulator) Debug" -# Name "pjsua_lib_wince - Win32 (WCE ARMV4I) Release" -# Name "pjsua_lib_wince - Win32 (WCE ARMV4I) Debug" -# Name "pjsua_lib_wince - Win32 (WCE ARMV4) Release" -# Name "pjsua_lib_wince - Win32 (WCE ARMV4) Debug" -# Name "pjsua_lib_wince - Win32 (WCE ARMV4T) Release" -# Name "pjsua_lib_wince - Win32 (WCE ARMV4T) Debug" -# Name "pjsua_lib_wince - Win32 (WCE x86) Release" -# Name "pjsua_lib_wince - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE="..\..\src\pjsua-lib\pjsua_acc.c" - -!IF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\alaw_ulaw.h"\ - "..\..\..\pjmedia\include\pjmedia\bidirectional.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\echo.h"\ - "..\..\..\pjmedia\include\pjmedia\echo_port.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mp3_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\tonegen.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_ice.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_playlist.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\publish.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE x86) Release" - -DEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjsua-lib\pjsua_call.c" - -!IF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_PJSUA_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_PJSUA_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\alaw_ulaw.h"\ - "..\..\..\pjmedia\include\pjmedia\bidirectional.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\echo.h"\ - "..\..\..\pjmedia\include\pjmedia\echo_port.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mp3_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\tonegen.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_ice.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_playlist.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\publish.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PJSUA_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PJSUA_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_PJSUA_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PJSUA_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PJSUA_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PJSUA_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE x86) Release" - -DEP_CPP_PJSUA_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_PJSUA_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjsua-lib\pjsua_core.c" - -!IF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_PJSUA_C=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_C=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_PJSUA_C=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\alaw_ulaw.h"\ - "..\..\..\pjmedia\include\pjmedia\bidirectional.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\echo.h"\ - "..\..\..\pjmedia\include\pjmedia\echo_port.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mp3_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\tonegen.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_ice.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_playlist.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\publish.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PJSUA_C=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_C=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PJSUA_C=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_C=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_PJSUA_C=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_C=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PJSUA_C=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_C=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PJSUA_C=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_C=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PJSUA_C=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_C=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE x86) Release" - -DEP_CPP_PJSUA_C=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_C=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_PJSUA_C=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_C=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjsua-lib\pjsua_im.c" - -!IF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_PJSUA_I=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_I=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_PJSUA_I=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\alaw_ulaw.h"\ - "..\..\..\pjmedia\include\pjmedia\bidirectional.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\echo.h"\ - "..\..\..\pjmedia\include\pjmedia\echo_port.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mp3_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\tonegen.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_ice.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_playlist.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\publish.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PJSUA_I=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_I=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PJSUA_I=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_I=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_PJSUA_I=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_I=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PJSUA_I=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_I=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PJSUA_I=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_I=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PJSUA_I=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_I=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE x86) Release" - -DEP_CPP_PJSUA_I=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_I=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_PJSUA_I=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_I=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjsua-lib\pjsua_media.c" - -!IF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_PJSUA_M=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_M=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_PJSUA_M=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\alaw_ulaw.h"\ - "..\..\..\pjmedia\include\pjmedia\bidirectional.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\echo.h"\ - "..\..\..\pjmedia\include\pjmedia\echo_port.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mp3_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\tonegen.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_ice.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_playlist.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\publish.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PJSUA_M=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_M=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PJSUA_M=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_M=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_PJSUA_M=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_M=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PJSUA_M=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_M=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PJSUA_M=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_M=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PJSUA_M=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_M=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE x86) Release" - -DEP_CPP_PJSUA_M=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_M=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_PJSUA_M=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_M=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\pjsua-lib\pjsua_pres.c" - -!IF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE emulator) Release" - -DEP_CPP_PJSUA_P=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_P=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_PJSUA_P=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\alaw_ulaw.h"\ - "..\..\..\pjmedia\include\pjmedia\bidirectional.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\config_auto.h"\ - "..\..\..\pjmedia\include\pjmedia\echo.h"\ - "..\..\..\pjmedia\include\pjmedia\echo_port.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mp3_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\tonegen.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_ice.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_playlist.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\..\pjnath\include\pjnath\config.h"\ - "..\..\..\pjnath\include\pjnath\ice_session.h"\ - "..\..\..\pjnath\include\pjnath\ice_strans.h"\ - "..\..\..\pjnath\include\pjnath\stun_auth.h"\ - "..\..\..\pjnath\include\pjnath\stun_config.h"\ - "..\..\..\pjnath\include\pjnath\stun_msg.h"\ - "..\..\..\pjnath\include\pjnath\stun_session.h"\ - "..\..\..\pjnath\include\pjnath\stun_transaction.h"\ - "..\..\..\pjnath\include\pjnath\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\publish.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_autoconf.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PJSUA_P=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_P=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PJSUA_P=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_P=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_PJSUA_P=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_P=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PJSUA_P=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_P=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PJSUA_P=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_P=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PJSUA_P=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_P=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE x86) Release" - -DEP_CPP_PJSUA_P=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_P=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ELSEIF "$(CFG)" == "pjsua_lib_wince - Win32 (WCE x86) Debug" - -DEP_CPP_PJSUA_P=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\m_alpha.h"\ - "..\..\..\pjlib\include\pj\compat\m_armv4.h"\ - "..\..\..\pjlib\include\pj\compat\m_i386.h"\ - "..\..\..\pjlib\include\pj\compat\m_m68k.h"\ - "..\..\..\pjlib\include\pj\compat\m_powerpc.h"\ - "..\..\..\pjlib\include\pj\compat\m_sparc.h"\ - "..\..\..\pjlib\include\pj\compat\m_x86_64.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia-codec.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\config.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\gsm.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\ilbc.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\l16.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\speex.h"\ - "..\..\..\pjmedia\include\pjmedia-codec\types.h"\ - "..\..\..\pjmedia\include\pjmedia.h"\ - "..\..\..\pjmedia\include\pjmedia\clock.h"\ - "..\..\..\pjmedia\include\pjmedia\codec.h"\ - "..\..\..\pjmedia\include\pjmedia\conference.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\endpoint.h"\ - "..\..\..\pjmedia\include\pjmedia\errno.h"\ - "..\..\..\pjmedia\include\pjmedia\g711.h"\ - "..\..\..\pjmedia\include\pjmedia\jbuf.h"\ - "..\..\..\pjmedia\include\pjmedia\master_port.h"\ - "..\..\..\pjmedia\include\pjmedia\mem_port.h"\ - "..\..\..\pjmedia\include\pjmedia\null_port.h"\ - "..\..\..\pjmedia\include\pjmedia\plc.h"\ - "..\..\..\pjmedia\include\pjmedia\port.h"\ - "..\..\..\pjmedia\include\pjmedia\resample.h"\ - "..\..\..\pjmedia\include\pjmedia\rtcp.h"\ - "..\..\..\pjmedia\include\pjmedia\rtp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\session.h"\ - "..\..\..\pjmedia\include\pjmedia\silencedet.h"\ - "..\..\..\pjmedia\include\pjmedia\sound.h"\ - "..\..\..\pjmedia\include\pjmedia\sound_port.h"\ - "..\..\..\pjmedia\include\pjmedia\splitcomb.h"\ - "..\..\..\pjmedia\include\pjmedia\stream.h"\ - "..\..\..\pjmedia\include\pjmedia\transport.h"\ - "..\..\..\pjmedia\include\pjmedia\transport_udp.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\..\pjmedia\include\pjmedia\wav_port.h"\ - "..\..\..\pjmedia\include\pjmedia\wave.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\iscomposing.h"\ - "..\..\include\pjsip-simple\pidf.h"\ - "..\..\include\pjsip-simple\presence.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-simple\xpidf.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_simple.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\include\pjsua-lib\pjsua.h"\ - "..\..\include\pjsua-lib\pjsua_internal.h"\ - -NODEP_CPP_PJSUA_P=\ - "..\..\..\pjlib-util\include\pjlib-util\stun.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE="..\..\include\pjsua-lib\pjsua.h" -# End Source File -# End Group -# End Target -# End Project diff --git a/res/pjproject/pjsip/build/wince-evc4/test_pjsip_wince.vcp b/res/pjproject/pjsip/build/wince-evc4/test_pjsip_wince.vcp deleted file mode 100644 index b4a6a8fb3b..0000000000 --- a/res/pjproject/pjsip/build/wince-evc4/test_pjsip_wince.vcp +++ /dev/null @@ -1,45337 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="test_pjsip_wince" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE MIPSIV_FP) Application" 0x9201 -# TARGTYPE "Win32 (WCE x86) Application" 0x8301 -# TARGTYPE "Win32 (WCE ARMV4) Application" 0xa301 -# TARGTYPE "Win32 (WCE MIPS16) Application" 0x8901 -# TARGTYPE "Win32 (WCE SH3) Application" 0x8101 -# TARGTYPE "Win32 (WCE ARMV4I) Application" 0xa501 -# TARGTYPE "Win32 (WCE SH4) Application" 0x8601 -# TARGTYPE "Win32 (WCE MIPSII_FP) Application" 0xa201 -# TARGTYPE "Win32 (WCE emulator) Application" 0xa601 -# TARGTYPE "Win32 (WCE MIPSIV) Application" 0x9601 -# TARGTYPE "Win32 (WCE ARMV4T) Application" 0xa401 -# TARGTYPE "Win32 (WCE MIPSII) Application" 0xa101 - -CFG=test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "test_pjsip_wince.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "test_pjsip_wince.vcn" CFG="test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" (based on "Win32 (WCE MIPSII_FP) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" (based on "Win32 (WCE MIPSII_FP) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE MIPSII) Release" (based on "Win32 (WCE MIPSII) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE MIPSII) Debug" (based on "Win32 (WCE MIPSII) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE SH4) Release" (based on "Win32 (WCE SH4) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE SH4) Debug" (based on "Win32 (WCE SH4) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE SH3) Release" (based on "Win32 (WCE SH3) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE SH3) Debug" (based on "Win32 (WCE SH3) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE MIPSIV) Release" (based on "Win32 (WCE MIPSIV) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" (based on "Win32 (WCE MIPSIV) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" (based on "Win32 (WCE MIPSIV_FP) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" (based on "Win32 (WCE MIPSIV_FP) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE MIPS16) Release" (based on "Win32 (WCE MIPS16) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE MIPS16) Debug" (based on "Win32 (WCE MIPS16) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Application") -!MESSAGE "test_pjsip_wince - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "MIPSII_FPRel" -# PROP BASE Intermediate_Dir "MIPSII_FPRel" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/test_pjsip_MIPSII_FPRel" -# PROP Intermediate_Dir "./output/test_pjsip_MIPSII_FPRel" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "MIPSII_FPDbg" -# PROP BASE Intermediate_Dir "MIPSII_FPDbg" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/test_pjsip_MIPSII_FPDbg" -# PROP Intermediate_Dir "./output/test_pjsip_MIPSII_FPDbg" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPSII_FP" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "MIPSIIRel" -# PROP BASE Intermediate_Dir "MIPSIIRel" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/test_pjsip_MIPSIIRel" -# PROP Intermediate_Dir "./output/test_pjsip_MIPSIIRel" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "MIPSIIDbg" -# PROP BASE Intermediate_Dir "MIPSIIDbg" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/test_pjsip_MIPSIIDbg" -# PROP Intermediate_Dir "./output/test_pjsip_MIPSIIDbg" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "SH4Rel" -# PROP BASE Intermediate_Dir "SH4Rel" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/test_pjsip_SH4Rel" -# PROP Intermediate_Dir "./output/test_pjsip_SH4Rel" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Qsh4 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /Qsh4 /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "SH4Dbg" -# PROP BASE Intermediate_Dir "SH4Dbg" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/test_pjsip_SH4Dbg" -# PROP Intermediate_Dir "./output/test_pjsip_SH4Dbg" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "SHx" /d "SH4" /d "_SH4_" /r -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /Qsh4 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /Qsh4 /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH4 - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "SH3Rel" -# PROP BASE Intermediate_Dir "SH3Rel" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/test_pjsip_SH3Rel" -# PROP Intermediate_Dir "./output/test_pjsip_SH3Rel" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "SH3Dbg" -# PROP BASE Intermediate_Dir "SH3Dbg" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/test_pjsip_SH3Dbg" -# PROP Intermediate_Dir "./output/test_pjsip_SH3Dbg" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "SHx" /d "SH3" /d "_SH3_" /r -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:SH3 /align:4096 - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "MIPSIVRel" -# PROP BASE Intermediate_Dir "MIPSIVRel" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/test_pjsip_MIPSIVRel" -# PROP Intermediate_Dir "./output/test_pjsip_MIPSIVRel" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "MIPSIVDbg" -# PROP BASE Intermediate_Dir "MIPSIVDbg" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/test_pjsip_MIPSIVDbg" -# PROP Intermediate_Dir "./output/test_pjsip_MIPSIVDbg" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "emulatorRel" -# PROP BASE Intermediate_Dir "emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/test_pjsip_emulatorRel" -# PROP Intermediate_Dir "./output/test_pjsip_emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "emulatorDbg" -# PROP BASE Intermediate_Dir "emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/test_pjsip_emulatorDbg" -# PROP Intermediate_Dir "./output/test_pjsip_emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "ARMV4IRel" -# PROP BASE Intermediate_Dir "ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/test_pjsip_ARMV4IRel" -# PROP Intermediate_Dir "./output/test_pjsip_ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "ARMV4IDbg" -# PROP BASE Intermediate_Dir "ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/test_pjsip_ARMV4IDbg" -# PROP Intermediate_Dir "./output/test_pjsip_ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4I" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "MIPSIV_FPRel" -# PROP BASE Intermediate_Dir "MIPSIV_FPRel" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/test_pjsip_MIPSIV_FPRel" -# PROP Intermediate_Dir "./output/test_pjsip_MIPSIV_FPRel" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "MIPSIV_FPDbg" -# PROP BASE Intermediate_Dir "MIPSIV_FPDbg" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/test_pjsip_MIPSIV_FPDbg" -# PROP Intermediate_Dir "./output/test_pjsip_MIPSIV_FPDbg" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPSFPU - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "ARMV4Rel" -# PROP BASE Intermediate_Dir "ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/test_pjsip_ARMV4Rel" -# PROP Intermediate_Dir "./output/test_pjsip_ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "ARMV4Dbg" -# PROP BASE Intermediate_Dir "ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/test_pjsip_ARMV4Dbg" -# PROP Intermediate_Dir "./output/test_pjsip_ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "MIPS16Rel" -# PROP BASE Intermediate_Dir "MIPS16Rel" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/test_pjsip_MIPS16Rel" -# PROP Intermediate_Dir "./output/test_pjsip_MIPS16Rel" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /YX /QMmips16 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /YX /QMmips16 /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "MIPS16Dbg" -# PROP BASE Intermediate_Dir "MIPS16Dbg" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/test_pjsip_MIPS16Dbg" -# PROP Intermediate_Dir "./output/test_pjsip_MIPS16Dbg" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "MIPS16SUPPORT" /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "MIPS" /d "_MIPS_" /d "R4000" /d "MIPSII" /d "MIPS16" /r -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /YX /QMmips16 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /YX /QMmips16 /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:MIPS16 /ALIGN:4096 - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "ARMV4TRel" -# PROP BASE Intermediate_Dir "ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/test_pjsip_ARMV4TRel" -# PROP Intermediate_Dir "./output/test_pjsip_ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "ARMV4TDbg" -# PROP BASE Intermediate_Dir "ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/test_pjsip_ARMV4TDbg" -# PROP Intermediate_Dir "./output/test_pjsip_ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "$(CePlatform)" /d "THUMB" /d "_THUMB_" /d "ARM" /d "_ARM_" /d "ARMV4T" /r -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB -# ADD LINK32 winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /MACHINE:THUMB - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "X86Rel" -# PROP BASE Intermediate_Dir "X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "./output/test_pjsip_X86Rel" -# PROP Intermediate_Dir "./output/test_pjsip_X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /YX /Gs8192 /GF /O2 /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "X86Dbg" -# PROP BASE Intermediate_Dir "X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "./output/test_pjsip_X86Dbg" -# PROP Intermediate_Dir "./output/test_pjsip_X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -# ADD RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../include" /I "../../../pjlib-util/include" /I "../../../pjlib/include" /I "../../../pjmedia/include" /I "../../../pjnath/include" /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /YX /Gs8192 /GF /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 -# ADD LINK32 $(CEx86Corelibc) winsock.lib ws2.lib commctrl.lib coredll.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86 - -!ENDIF - -# Begin Target - -# Name "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" -# Name "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" -# Name "test_pjsip_wince - Win32 (WCE MIPSII) Release" -# Name "test_pjsip_wince - Win32 (WCE MIPSII) Debug" -# Name "test_pjsip_wince - Win32 (WCE SH4) Release" -# Name "test_pjsip_wince - Win32 (WCE SH4) Debug" -# Name "test_pjsip_wince - Win32 (WCE SH3) Release" -# Name "test_pjsip_wince - Win32 (WCE SH3) Debug" -# Name "test_pjsip_wince - Win32 (WCE MIPSIV) Release" -# Name "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" -# Name "test_pjsip_wince - Win32 (WCE emulator) Release" -# Name "test_pjsip_wince - Win32 (WCE emulator) Debug" -# Name "test_pjsip_wince - Win32 (WCE ARMV4I) Release" -# Name "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" -# Name "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" -# Name "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" -# Name "test_pjsip_wince - Win32 (WCE ARMV4) Release" -# Name "test_pjsip_wince - Win32 (WCE ARMV4) Debug" -# Name "test_pjsip_wince - Win32 (WCE MIPS16) Release" -# Name "test_pjsip_wince - Win32 (WCE MIPS16) Debug" -# Name "test_pjsip_wince - Win32 (WCE ARMV4T) Release" -# Name "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" -# Name "test_pjsip_wince - Win32 (WCE x86) Release" -# Name "test_pjsip_wince - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE="..\..\src\test-pjsip\dlg_core_test.c" - -!IF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Release" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Release" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Release" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Release" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Debug" - -DEP_CPP_DLG_C=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\test-pjsip\dns_test.c" - -!IF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Release" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Release" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Release" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Release" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Debug" - -DEP_CPP_DNS_T=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\test-pjsip\inv_offer_answer_test.c" - -!IF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Release" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Release" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Release" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Release" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Debug" - -DEP_CPP_INV_O=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\test-pjsip\main_win32.c" - -!IF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Release" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Debug" - -DEP_CPP_MAIN_=\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjlib\src\pjlib-test\main_win32.c"\ - "..\..\..\pjlib\src\pjlib-test\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\test-pjsip\msg_err_test.c" - -!IF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Release" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Release" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Release" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Release" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Debug" - -DEP_CPP_MSG_E=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\test-pjsip\msg_logger.c" - -!IF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Release" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Release" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Release" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Release" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Debug" - -DEP_CPP_MSG_L=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\test-pjsip\msg_test.c" - -!IF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Release" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Release" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Release" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Release" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Debug" - -DEP_CPP_MSG_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\test-pjsip\regc_test.c" - -!IF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Release" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Release" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Release" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Release" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Debug" - -DEP_CPP_REGC_=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\..\pjmedia\include\pjmedia\config.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp.h"\ - "..\..\..\pjmedia\include\pjmedia\sdp_neg.h"\ - "..\..\..\pjmedia\include\pjmedia\types.h"\ - "..\..\include\pjsip-simple\evsub.h"\ - "..\..\include\pjsip-simple\types.h"\ - "..\..\include\pjsip-ua\sip_100rel.h"\ - "..\..\include\pjsip-ua\sip_inv.h"\ - "..\..\include\pjsip-ua\sip_regc.h"\ - "..\..\include\pjsip-ua\sip_replaces.h"\ - "..\..\include\pjsip-ua\sip_xfer.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\include\pjsip_ua.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\test-pjsip\test.c" - -!IF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Release" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TEST_=\ - "..\..\..\pjlib-util\include\pjlib-util.h"\ - "..\..\..\pjlib-util\include\pjlib-util\base64.h"\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\crc32.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns_server.h"\ - "..\..\..\pjlib-util\include\pjlib-util\errno.h"\ - "..\..\..\pjlib-util\include\pjlib-util\getopt.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\hmac_sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\md5.h"\ - "..\..\..\pjlib-util\include\pjlib-util\pcap.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\sha1.h"\ - "..\..\..\pjlib-util\include\pjlib-util\srv_resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\stun_simple.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib-util\include\pjlib-util\xml.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\test-pjsip\transport_loop_test.c" - -!IF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Release" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Release" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Release" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TRANS=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\test-pjsip\transport_tcp_test.c" - -!IF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Release" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Release" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Release" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TRANSP=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\test-pjsip\transport_test.c" - -!IF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Release" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Release" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Release" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TRANSPO=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\test-pjsip\transport_udp_test.c" - -!IF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Release" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Release" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Release" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TRANSPOR=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\test-pjsip\tsx_basic_test.c" - -!IF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Release" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Release" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Release" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TSX_B=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\test-pjsip\tsx_bench.c" - -!IF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Release" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Release" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Release" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TSX_BE=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\test-pjsip\tsx_uac_test.c" - -!IF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Release" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Release" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Release" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TSX_U=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\test-pjsip\tsx_uas_test.c" - -!IF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Release" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Release" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Release" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TSX_UA=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\test-pjsip\txdata_test.c" - -!IF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Release" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Release" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Release" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Release" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Debug" - -DEP_CPP_TXDAT=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE="..\..\src\test-pjsip\uri_test.c" - -!IF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Release" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSII) Debug" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Release" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH4) Debug" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Release" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE SH3) Debug" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Release" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Release" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE emulator) Debug" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Release" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Release" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4) Debug" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Release" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE MIPS16) Debug" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Release" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Release" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ELSEIF "$(CFG)" == "test_pjsip_wince - Win32 (WCE x86) Debug" - -DEP_CPP_URI_T=\ - "..\..\..\pjlib-util\include\pjlib-util\config.h"\ - "..\..\..\pjlib-util\include\pjlib-util\dns.h"\ - "..\..\..\pjlib-util\include\pjlib-util\resolver.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_bitwise.h"\ - "..\..\..\pjlib-util\include\pjlib-util\scanner_cis_uint.h"\ - "..\..\..\pjlib-util\include\pjlib-util\types.h"\ - "..\..\..\pjlib\include\pj\activesock.h"\ - "..\..\..\pjlib\include\pj\addr_resolv.h"\ - "..\..\..\pjlib\include\pj\array.h"\ - "..\..\..\pjlib\include\pj\assert.h"\ - "..\..\..\pjlib\include\pj\compat\assert.h"\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\ctype.h"\ - "..\..\..\pjlib\include\pj\compat\errno.h"\ - "..\..\..\pjlib\include\pj\compat\high_precision.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\setjmp.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\compat\stdarg.h"\ - "..\..\..\pjlib\include\pj\compat\string.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\ctype.h"\ - "..\..\..\pjlib\include\pj\errno.h"\ - "..\..\..\pjlib\include\pj\except.h"\ - "..\..\..\pjlib\include\pj\fifobuf.h"\ - "..\..\..\pjlib\include\pj\file_access.h"\ - "..\..\..\pjlib\include\pj\file_io.h"\ - "..\..\..\pjlib\include\pj\guid.h"\ - "..\..\..\pjlib\include\pj\hash.h"\ - "..\..\..\pjlib\include\pj\ioqueue.h"\ - "..\..\..\pjlib\include\pj\ip_helper.h"\ - "..\..\..\pjlib\include\pj\list.h"\ - "..\..\..\pjlib\include\pj\list_i.h"\ - "..\..\..\pjlib\include\pj\lock.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\math.h"\ - "..\..\..\pjlib\include\pj\os.h"\ - "..\..\..\pjlib\include\pj\pool.h"\ - "..\..\..\pjlib\include\pj\pool_alt.h"\ - "..\..\..\pjlib\include\pj\pool_buf.h"\ - "..\..\..\pjlib\include\pj\pool_i.h"\ - "..\..\..\pjlib\include\pj\rand.h"\ - "..\..\..\pjlib\include\pj\rbtree.h"\ - "..\..\..\pjlib\include\pj\sock.h"\ - "..\..\..\pjlib\include\pj\sock_select.h"\ - "..\..\..\pjlib\include\pj\string.h"\ - "..\..\..\pjlib\include\pj\string_i.h"\ - "..\..\..\pjlib\include\pj\timer.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\..\pjlib\include\pj\unicode.h"\ - "..\..\..\pjlib\include\pjlib.h"\ - "..\..\include\pjsip.h"\ - "..\..\include\pjsip\sip_auth.h"\ - "..\..\include\pjsip\sip_auth_aka.h"\ - "..\..\include\pjsip\sip_auth_msg.h"\ - "..\..\include\pjsip\sip_config.h"\ - "..\..\include\pjsip\sip_dialog.h"\ - "..\..\include\pjsip\sip_endpoint.h"\ - "..\..\include\pjsip\sip_errno.h"\ - "..\..\include\pjsip\sip_event.h"\ - "..\..\include\pjsip\sip_module.h"\ - "..\..\include\pjsip\sip_msg.h"\ - "..\..\include\pjsip\sip_parser.h"\ - "..\..\include\pjsip\sip_resolve.h"\ - "..\..\include\pjsip\sip_tel_uri.h"\ - "..\..\include\pjsip\sip_transaction.h"\ - "..\..\include\pjsip\sip_transport.h"\ - "..\..\include\pjsip\sip_transport_loop.h"\ - "..\..\include\pjsip\sip_transport_tcp.h"\ - "..\..\include\pjsip\sip_transport_tls.h"\ - "..\..\include\pjsip\sip_transport_udp.h"\ - "..\..\include\pjsip\sip_types.h"\ - "..\..\include\pjsip\sip_ua_layer.h"\ - "..\..\include\pjsip\sip_uri.h"\ - "..\..\include\pjsip\sip_util.h"\ - "..\..\src\test-pjsip\test.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE="..\..\src\test-pjsip\test.h" -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project diff --git a/res/pjproject/pjsip/include/pjsip-simple/errno.h b/res/pjproject/pjsip/include/pjsip-simple/errno.h deleted file mode 100644 index 62927ca94e..0000000000 --- a/res/pjproject/pjsip/include/pjsip-simple/errno.h +++ /dev/null @@ -1,118 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIMPLE_ERRNO_H__ -#define __PJSIP_SIMPLE_ERRNO_H__ - -#include - -PJ_BEGIN_DECL - -/** - * Start of error code relative to PJ_ERRNO_START_USER. - */ -#define PJSIP_SIMPLE_ERRNO_START (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*2) - - -/************************************************************ - * EVENT PACKAGE ERRORS - ***********************************************************/ -/** - * @hideinitializer - * No event package with the specified name. - */ -#define PJSIP_SIMPLE_ENOPKG (PJSIP_SIMPLE_ERRNO_START+1) /*270001*/ -/** - * @hideinitializer - * Event package already exists. - */ -#define PJSIP_SIMPLE_EPKGEXISTS (PJSIP_SIMPLE_ERRNO_START+2) /*270002*/ - - -/************************************************************ - * PRESENCE ERROR - ***********************************************************/ -/** - * @hideinitializer - * Expecting SUBSCRIBE request - */ -#define PJSIP_SIMPLE_ENOTSUBSCRIBE (PJSIP_SIMPLE_ERRNO_START+20) /*270020*/ -/** - * @hideinitializer - * No presence associated with subscription - */ -#define PJSIP_SIMPLE_ENOPRESENCE (PJSIP_SIMPLE_ERRNO_START+21) /*270021*/ -/** - * @hideinitializer - * No presence info in server subscription - */ -#define PJSIP_SIMPLE_ENOPRESENCEINFO (PJSIP_SIMPLE_ERRNO_START+22) /*270022*/ -/** - * @hideinitializer - * Bad Content-Type - */ -#define PJSIP_SIMPLE_EBADCONTENT (PJSIP_SIMPLE_ERRNO_START+23) /*270023*/ -/** - * @hideinitializer - * Bad PIDF Message - */ -#define PJSIP_SIMPLE_EBADPIDF (PJSIP_SIMPLE_ERRNO_START+24) /*270024*/ -/** - * @hideinitializer - * Bad XPIDF Message - */ -#define PJSIP_SIMPLE_EBADXPIDF (PJSIP_SIMPLE_ERRNO_START+25) /*270025*/ -/** - * @hideinitializer - * Bad RPID Message - */ -#define PJSIP_SIMPLE_EBADRPID (PJSIP_SIMPLE_ERRNO_START+26) /*270026*/ - - -/************************************************************ - * ISCOMPOSING ERRORS - ***********************************************************/ -/** - * @hideinitializer - * Bad isComposing XML message. - */ -#define PJSIP_SIMPLE_EBADISCOMPOSE (PJSIP_SIMPLE_ERRNO_START+40) /*270040*/ - -/** - * Get error message for the specified error code. Note that this - * function is only able to decode PJSIP-SIMPLE specific error code. - * Application should use pj_strerror(), which should be able to - * decode all error codes belonging to all subsystems (e.g. pjlib, - * pjmedia, pjsip, etc). - * - * @param status The error code. - * @param buffer The buffer where to put the error message. - * @param bufsize Size of the buffer. - * - * @return The error message as NULL terminated string, - * wrapped with pj_str_t. - */ -PJ_DECL(pj_str_t) pjsipsimple_strerror(pj_status_t status, - char *buffer, pj_size_t bufsize); - - -PJ_END_DECL - -#endif /* __PJSIP_SIMPLE_ERRNO_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip-simple/evsub.h b/res/pjproject/pjsip/include/pjsip-simple/evsub.h deleted file mode 100644 index b0159bfff9..0000000000 --- a/res/pjproject/pjsip/include/pjsip-simple/evsub.h +++ /dev/null @@ -1,505 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIMPLE_EVSUB_H__ -#define __PJSIP_SIMPLE_EVSUB_H__ - -/** - * @file evsub.h - * @brief SIP Specific Event Notification Extension (RFC 3265) - */ - -#include - - -/** - * @defgroup PJSIP_EVENT_NOT SIP Event Notification (RFC 3265) Module - * @ingroup PJSIP_SIMPLE - * @brief Core Event Subscription framework, used by presence, call transfer, etc. - * @{ - * - * This module provides the implementation of SIP Extension for SIP Specific - * Event Notification (RFC 3265). It extends PJSIP by supporting SUBSCRIBE and - * NOTIFY methods. - * - * This module itself is extensible; new event packages can be registered to - * this module to handle specific extensions (such as presence). - */ - -PJ_BEGIN_DECL - - -/** - * Opaque type for event subscription session. - */ -typedef struct pjsip_evsub pjsip_evsub; - - -/** - * This enumeration describes basic subscription state as described in the - * RFC 3265. The standard specifies that extensions may define additional - * states. In the case where the state is not known, the subscription state - * will be set to PJSIP_EVSUB_STATE_UNKNOWN, and the token will be kept - * in state_str member of the susbcription structure. - */ -enum pjsip_evsub_state -{ - PJSIP_EVSUB_STATE_NULL, /**< State is NULL. */ - PJSIP_EVSUB_STATE_SENT, /**< Client has sent SUBSCRIBE request. */ - PJSIP_EVSUB_STATE_ACCEPTED, /**< 2xx response to SUBSCRIBE has been - sent/received. */ - PJSIP_EVSUB_STATE_PENDING, /**< Subscription is pending. */ - PJSIP_EVSUB_STATE_ACTIVE, /**< Subscription is active. */ - PJSIP_EVSUB_STATE_TERMINATED,/**< Subscription is terminated. */ - PJSIP_EVSUB_STATE_UNKNOWN, /**< Subscription state can not be determined. - Application can query the state by - calling #pjsip_evsub_get_state_name().*/ -}; - -/** - * @see pjsip_evsub_state - */ -typedef enum pjsip_evsub_state pjsip_evsub_state; - - -/** - * Some options for the event subscription. - */ -enum -{ - /** - * If this flag is set, then outgoing request to create subscription - * will not have id in the Event header (e.g. in REFER request). But if - * there is an id in the incoming NOTIFY, that id will be used. - */ - PJSIP_EVSUB_NO_EVENT_ID = 1, -}; - - -/** - * This structure describes callback that is registered by application or - * package to receive notifications about subscription events. - */ -struct pjsip_evsub_user -{ - /** - * This callback is called when subscription state has changed. - * Application MUST be prepared to receive NULL event and events with - * type other than PJSIP_EVENT_TSX_STATE - * - * This callback is OPTIONAL. - * - * @param sub The subscription instance. - * @param event The event that has caused the state to change, - * which may be NULL or may have type other than - * PJSIP_EVENT_TSX_STATE. - */ - void (*on_evsub_state)( pjsip_evsub *sub, pjsip_event *event); - - /** - * This callback is called when transaction state has changed. - * - * @param sub The subscription instance. - * @param tsx Transaction. - * @param event The event. - */ - void (*on_tsx_state)(pjsip_evsub *sub, pjsip_transaction *tsx, - pjsip_event *event); - - /** - * This callback is called when incoming SUBSCRIBE (or any method that - * establishes the subscription in the first place) is received. It - * allows application to specify what response should be sent to - * remote, along with additional headers and message body to be put - * in the response. - * - * This callback is OPTIONAL. - * - * However, implementation MUST send NOTIFY request upon receiving this - * callback. The suggested behavior is to call - * #pjsip_evsub_current_notify(), since this function takes care - * about unsubscription request and calculates the appropriate expiration - * interval. - */ - void (*on_rx_refresh)( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int *p_st_code, - pj_str_t **p_st_text, - pjsip_hdr *res_hdr, - pjsip_msg_body **p_body); - - /** - * This callback is called when client/subscriber received incoming - * NOTIFY request. It allows the application to specify what response - * should be sent to remote, along with additional headers and message - * body to be put in the response. - * - * This callback is OPTIONAL. When it is not implemented, the default - * behavior is to respond incoming NOTIFY request with 200 (OK). - * - * @param sub The subscription instance. - * @param rdata The received NOTIFY request. - * @param p_st_code Application MUST set the value of this argument with - * final status code (200-699) upon returning from the - * callback. - * @param p_st_text Custom status text, if any. - * @param res_hdr Upon return, application can put additional headers - * to be sent in the response in this list. - * @param p_body Application MAY specify message body to be sent in - * the response. - */ - void (*on_rx_notify)(pjsip_evsub *sub, - pjsip_rx_data *rdata, - int *p_st_code, - pj_str_t **p_st_text, - pjsip_hdr *res_hdr, - pjsip_msg_body **p_body); - - /** - * This callback is called when it is time for the client to refresh - * the subscription. - * - * This callback is OPTIONAL when PJSIP package such as presence or - * refer is used; the event package will refresh subscription by sending - * SUBSCRIBE with the interval set to current/last interval. - * - * @param sub The subscription instance. - */ - void (*on_client_refresh)(pjsip_evsub *sub); - - /** - * This callback is called when server doesn't receive subscription - * refresh after the specified subscription interval. - * - * This callback is OPTIONAL when PJSIP package such as presence or - * refer is used; the event package send NOTIFY to terminate the - * subscription. - */ - void (*on_server_timeout)(pjsip_evsub *sub); - -}; - - -/** - * @see pjsip_evsub_user - */ -typedef struct pjsip_evsub_user pjsip_evsub_user; - - -/** - * SUBSCRIBE method constant. @see pjsip_get_subscribe_method() - */ -PJ_DECL_DATA(const pjsip_method) pjsip_subscribe_method; - -/** - * NOTIFY method constant. @see pjsip_get_notify_method() - */ -PJ_DECL_DATA(const pjsip_method) pjsip_notify_method; - -/** - * SUBSCRIBE method constant. - */ -PJ_DECL(const pjsip_method*) pjsip_get_subscribe_method(void); - -/** - * NOTIFY method constant. - */ -PJ_DECL(const pjsip_method*) pjsip_get_notify_method(void); - - -/** - * Initialize the event subscription module and register the module to the - * specified endpoint. - * - * @param endpt The endpoint instance. - * - * @return PJ_SUCCESS if module can be created and registered - * successfully. - */ -PJ_DECL(pj_status_t) pjsip_evsub_init_module(pjsip_endpoint *endpt); - - -/** - * Get the event subscription module instance that was previously created - * and registered to endpoint. - * - * @return The event subscription module instance. - */ -PJ_DECL(pjsip_module*) pjsip_evsub_instance(void); - - -/** - * Register event package to the event subscription framework. - * - * @param pkg_mod The module that implements the event package being - * registered. - * @param event_name Event package identification. - * @param expires Default subscription expiration time, in seconds. - * @param accept_cnt Number of strings in Accept array. - * @param accept Array of Accept value. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_evsub_register_pkg( pjsip_module *pkg_mod, - const pj_str_t *event_name, - unsigned expires, - unsigned accept_cnt, - const pj_str_t accept[]); - -/** - * Get the Allow-Events header. This header is built based on the packages - * that are registered to the evsub module. - * - * @param m Pointer to event subscription module instance, or - * NULL to use default instance (equal to - * #pjsip_evsub_instance()). - * - * @return The Allow-Events header. - */ -PJ_DECL(const pjsip_hdr*) pjsip_evsub_get_allow_events_hdr(pjsip_module *m); - - -/** - * Create client subscription session. - * - * @param dlg The underlying dialog to use. - * @param user_cb Callback to receive event subscription notifications. - * @param event Event name. - * @param option Bitmask of options. - * @param p_evsub Pointer to receive event subscription instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_evsub_create_uac( pjsip_dialog *dlg, - const pjsip_evsub_user *user_cb, - const pj_str_t *event, - unsigned option, - pjsip_evsub **p_evsub); - -/** - * Create server subscription session. - * - * @param dlg The underlying dialog to use. - * @param user_cb Callback to receive event subscription notifications. - * @param rdata The incoming request that creates the event - * subscription, such as SUBSCRIBE or REFER. - * @param option Bitmask of options. - * @param p_evsub Pointer to receive event subscription instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_evsub_create_uas( pjsip_dialog *dlg, - const pjsip_evsub_user *user_cb, - pjsip_rx_data *rdata, - unsigned option, - pjsip_evsub **p_evsub); - -/** - * Forcefully destroy the subscription session. This function should only - * be called on special condition, such as when the subscription - * initialization has failed. For other conditions, application MUST terminate - * the subscription by sending the appropriate un(SUBSCRIBE) or NOTIFY. - * - * @param sub The event subscription. - * @param notify Specify whether the state notification callback - * should be called. - * - * @return PJ_SUCCESS if subscription session has been destroyed. - */ -PJ_DECL(pj_status_t) pjsip_evsub_terminate( pjsip_evsub *sub, - pj_bool_t notify ); - - -/** - * Get subscription state. - * - * @param sub Event subscription instance. - * - * @return Subscription state. - */ -PJ_DECL(pjsip_evsub_state) pjsip_evsub_get_state(pjsip_evsub *sub); - - -/** - * Get the string representation of the subscription state. - * - * @param sub Event subscription instance. - * - * @return NULL terminated string. - */ -PJ_DECL(const char*) pjsip_evsub_get_state_name(pjsip_evsub *sub); - - -/** - * Get subscription termination reason, if any. If remote did not - * send termination reason, this function will return empty string. - * - * @param sub Event subscription instance. - * - * @return NULL terminated string. - */ -PJ_DECL(const pj_str_t*) pjsip_evsub_get_termination_reason(pjsip_evsub *sub); - - -/** - * Call this function to create request to initiate subscription, to - * refresh subcription, or to request subscription termination. - * - * @param sub Client subscription instance. - * @param method The method that establishes the subscription, such as - * SUBSCRIBE or REFER. If this argument is NULL, then - * SUBSCRIBE will be used. - * @param expires Subscription expiration. If the value is set to zero, - * this will request unsubscription. If the value is - * negative, default expiration as defined by the package - * will be used. - * @param p_tdata Pointer to receive the request. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_evsub_initiate( pjsip_evsub *sub, - const pjsip_method *method, - pj_int32_t expires, - pjsip_tx_data **p_tdata); - - -/** - * Add a list of headers to the subscription instance. The list of headers - * will be added to outgoing presence subscription requests. - * - * @param sub Subscription instance. - * @param hdr_list List of headers to be added. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_evsub_add_header( pjsip_evsub *sub, - const pjsip_hdr *hdr_list ); - - -/** - * Accept the incoming subscription request by sending 2xx response to - * incoming SUBSCRIBE request. - * - * @param sub Server subscription instance. - * @param rdata The incoming subscription request message. - * @param st_code Status code, which MUST be final response. - * @param hdr_list Optional list of headers to be added in the response. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_evsub_accept( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int st_code, - const pjsip_hdr *hdr_list ); - - -/** - * For notifier, create NOTIFY request to subscriber, and set the state - * of the subscription. - * - * @param sub The server subscription (notifier) instance. - * @param state New state to set. - * @param state_str The state string name, if state contains value other - * than active, pending, or terminated. Otherwise this - * argument is ignored. - * @param reason Specify reason if new state is terminated, otherwise - * put NULL. - * @param p_tdata Pointer to receive request message. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_evsub_notify( pjsip_evsub *sub, - pjsip_evsub_state state, - const pj_str_t *state_str, - const pj_str_t *reason, - pjsip_tx_data **p_tdata); - - -/** - * For notifier, create a NOTIFY request that reflects current subscription - * status. - * - * @param sub The server subscription instance. - * @param p_tdata Pointer to receive the request messge. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_evsub_current_notify( pjsip_evsub *sub, - pjsip_tx_data **p_tdata ); - - - -/** - * Send request message that was previously created with initiate(), notify(), - * or current_notify(). Application may also send request created with other - * functions, e.g. authentication. But the request MUST be either request - * that creates/refresh subscription or NOTIFY request. - * - * @param sub The event subscription object. - * @param tdata Request message to be send. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_evsub_send_request( pjsip_evsub *sub, - pjsip_tx_data *tdata); - - - -/** - * Get the event subscription instance associated with the specified - * transaction. - * - * @param tsx The transaction. - * - * @return The event subscription instance registered in the - * transaction, if any. - */ -PJ_DECL(pjsip_evsub*) pjsip_tsx_get_evsub(pjsip_transaction *tsx); - - -/** - * Set event subscription's module data. - * - * @param sub The event subscription. - * @param mod_id The module id. - * @param data Arbitrary data. - */ -PJ_DECL(void) pjsip_evsub_set_mod_data( pjsip_evsub *sub, unsigned mod_id, - void *data ); - - -/** - * Get event subscription's module data. - * - * @param sub The event subscription. - * @param mod_id The module id. - * - * @return Data previously set at the specified id. - */ -PJ_DECL(void*) pjsip_evsub_get_mod_data( pjsip_evsub *sub, unsigned mod_id ); - - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJSIP_SIMPLE_EVSUB_H__ */ diff --git a/res/pjproject/pjsip/include/pjsip-simple/evsub_msg.h b/res/pjproject/pjsip/include/pjsip-simple/evsub_msg.h deleted file mode 100644 index b5016e49e7..0000000000 --- a/res/pjproject/pjsip/include/pjsip-simple/evsub_msg.h +++ /dev/null @@ -1,119 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIMPLE_EVENT_NOTIFY_MSG_H__ -#define __PJSIP_SIMPLE_EVENT_NOTIFY_MSG_H__ - -/** - * @file evsub_msg.h - * @brief SIP Event Notification Headers (RFC 3265) - */ -#include - -/** - * @defgroup PJSIP_EVENT_HDRS Additional Header Fields - * @ingroup PJSIP_EVENT_NOT - * @{ - */ - -PJ_BEGIN_DECL - - -/** Max events in Allow-Events header. */ -#define PJSIP_MAX_ALLOW_EVENTS 16 - -/** - * This structure describes Event header. - */ -typedef struct pjsip_event_hdr -{ - /** Standard header fields. */ - PJSIP_DECL_HDR_MEMBER(struct pjsip_event_hdr); - - pj_str_t event_type; /**< Event name. */ - pj_str_t id_param; /**< Optional event ID parameter. */ - pjsip_param other_param; /**< Other parameter. */ -} pjsip_event_hdr; - -/** - * Create an Event header. - * - * @param pool The pool. - * - * @return New Event header instance. - */ -PJ_DECL(pjsip_event_hdr*) pjsip_event_hdr_create(pj_pool_t *pool); - - -/** - * This structure describes Allow-Events header. - */ -typedef pjsip_generic_array_hdr pjsip_allow_events_hdr; - - -/** - * Create a new Allow-Events header. - * - * @param pool The pool. - * - * @return Allow-Events header. - */ -PJ_DECL(pjsip_allow_events_hdr*) -pjsip_allow_events_hdr_create(pj_pool_t *pool); - - -/** - * This structure describes Subscription-State header. - */ -typedef struct pjsip_sub_state_hdr -{ - /** Standard header fields. */ - PJSIP_DECL_HDR_MEMBER(struct pjsip_sub_state_hdr); - - pj_str_t sub_state; /**< Subscription state. */ - pj_str_t reason_param; /**< Optional termination reason. */ - int expires_param; /**< Expires param, or -1. */ - int retry_after; /**< Retry after param, or -1. */ - pjsip_param other_param; /**< Other parameters. */ -} pjsip_sub_state_hdr; - -/** - * Create new Subscription-State header. - * - * @param pool The pool. - * - * @return Subscription-State header. - */ -PJ_DECL(pjsip_sub_state_hdr*) pjsip_sub_state_hdr_create(pj_pool_t *pool); - -/** - * Initialize parser for event notify module. - */ -PJ_DECL(void) pjsip_evsub_init_parser(void); - - -PJ_END_DECL - - -/** - * @} - */ - -#endif /* __PJSIP_SIMPLE_EVENT_NOTIFY_MSG_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip-simple/iscomposing.h b/res/pjproject/pjsip/include/pjsip-simple/iscomposing.h deleted file mode 100644 index 9cd5e97f33..0000000000 --- a/res/pjproject/pjsip/include/pjsip-simple/iscomposing.h +++ /dev/null @@ -1,135 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIMPLE_ISCOMPOSING_H__ -#define __PJSIP_SIMPLE_ISCOMPOSING_H__ - -/** - * @file iscomposing.h - * @brief Support for Indication of Message Composition (RFC 3994) - */ -#include -#include - -/** - * @defgroup PJSIP_ISCOMPOSING Message Composition Indication (RFC 3994) - * @ingroup PJSIP_SIMPLE - * @brief Support for Indication of Message Composition (RFC 3994) - * @{ - * - * This implements message composition indication, as described in - * RFC 3994. - */ - -PJ_BEGIN_DECL - - -/** - * Create XML message with MIME type "application/im-iscomposing+xml" - * to indicate the message composition status. - * - * @param pool Pool to allocate memory. - * @param is_composing Message composition indication status. Set to - * PJ_TRUE (or non-zero) to indicate that application - * is currently composing an instant message. - * @param lst_actv Optional attribute to indicate time of last - * activity. If none is to be specified, the value - * MUST be set to NULL. - * @param content_tp Optional attribute to indicate the content type of - * message being composed. If none is to be specified, - * the value MUST be set to NULL. - * @param refresh Optional attribute to indicate the interval when - * next indication will be sent, only when - * is_composing is non-zero. If none is to be - * specified, the value MUST be set to -1. - * - * @return An XML message containing the message indication. - * NULL will be returned when there's not enough - * memory to allocate the message. - */ -PJ_DECL(pj_xml_node*) pjsip_iscomposing_create_xml(pj_pool_t *pool, - pj_bool_t is_composing, - const pj_time_val *lst_actv, - const pj_str_t *content_tp, - int refresh); - - -/** - * Create message body with Content-Type "application/im-iscomposing+xml" - * to indicate the message composition status. - * - * @param pool Pool to allocate memory. - * @param is_composing Message composition indication status. Set to - * PJ_TRUE (or non-zero) to indicate that application - * is currently composing an instant message. - * @param lst_actv Optional attribute to indicate time of last - * activity. If none is to be specified, the value - * MUST be set to NULL. - * @param content_tp Optional attribute to indicate the content type of - * message being composed. If none is to be specified, - * the value MUST be set to NULL. - * @param refresh Optional attribute to indicate the interval when - * next indication will be sent, only when - * is_composing is non-zero. If none is to be - * specified, the value MUST be set to -1. - * - * @return The SIP message body containing XML message - * indication. NULL will be returned when there's not - * enough memory to allocate the message. - */ -PJ_DECL(pjsip_msg_body*) pjsip_iscomposing_create_body( pj_pool_t *pool, - pj_bool_t is_composing, - const pj_time_val *lst_actv, - const pj_str_t *content_tp, - int refresh); - - -/** - * Parse the buffer and return message composition indication in the - * message. - * - * @param pool Pool to allocate memory for the parsing process. - * @param msg The message to be parsed. - * @param len Length of the message. - * @param p_is_composing Optional pointer to receive iscomposing status. - * @param p_last_active Optional pointer to receive last active attribute. - * @param p_content_type Optional pointer to receive content type attribute. - * @param p_refresh Optional pointer to receive refresh time. - * - * @return PJ_SUCCESS if message can be successfully parsed. - */ -PJ_DECL(pj_status_t) pjsip_iscomposing_parse( pj_pool_t *pool, - char *msg, - pj_size_t len, - pj_bool_t *p_is_composing, - pj_str_t **p_last_active, - pj_str_t **p_content_type, - int *p_refresh ); - - -/** - * @} - */ - - -PJ_END_DECL - - -#endif /* __PJSIP_SIMPLE_ISCOMPOSING_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip-simple/mwi.h b/res/pjproject/pjsip/include/pjsip-simple/mwi.h deleted file mode 100644 index 9887cfe8a6..0000000000 --- a/res/pjproject/pjsip/include/pjsip-simple/mwi.h +++ /dev/null @@ -1,208 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIMPLE_MWI_H__ -#define __PJSIP_SIMPLE_MWI_H__ - -/** - * @file mwi.h - * @brief SIP Extension for MWI (RFC 3842) - */ -#include -#include - - -PJ_BEGIN_DECL - - -/** - * @defgroup mwi SIP Message Summary and Message Waiting Indication (RFC 3842) - * @ingroup PJSIP_SIMPLE - * @brief Support for SIP MWI Extension (RFC 3842) - * @{ - * - * This module implements RFC 3842: A Message Summary and Message Waiting - * Indication Event Package for the Session Initiation Protocol (SIP). - * It uses the SIP Event Notification framework (evsub.h) and extends the - * framework by implementing "message-summary" event package. - */ - - -/** - * Initialize the MWI module and register it as endpoint module and - * package to the event subscription module. - * - * @param endpt The endpoint instance. - * @param mod_evsub The event subscription module instance. - * - * @return PJ_SUCCESS if the module is successfully - * initialized and registered to both endpoint - * and the event subscription module. - */ -PJ_DECL(pj_status_t) pjsip_mwi_init_module(pjsip_endpoint *endpt, - pjsip_module *mod_evsub); - -/** - * Get the MWI module instance. - * - * @return The MWI module instance. - */ -PJ_DECL(pjsip_module*) pjsip_mwi_instance(void); - -/** - * Create MWI client subscription session. - * - * @param dlg The underlying dialog to use. - * @param user_cb Pointer to callbacks to receive MWI subscription - * events. - * @param options Option flags. Currently only PJSIP_EVSUB_NO_EVENT_ID - * is recognized. - * @param p_evsub Pointer to receive the MWI subscription - * session. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_mwi_create_uac( pjsip_dialog *dlg, - const pjsip_evsub_user *user_cb, - unsigned options, - pjsip_evsub **p_evsub ); - -/** - * Create MWI server subscription session. - * - * @param dlg The underlying dialog to use. - * @param user_cb Pointer to callbacks to receive MWI subscription - * events. - * @param rdata The incoming SUBSCRIBE request that creates the event - * subscription. - * @param p_evsub Pointer to receive the MWI subscription - * session. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_mwi_create_uas( pjsip_dialog *dlg, - const pjsip_evsub_user *user_cb, - pjsip_rx_data *rdata, - pjsip_evsub **p_evsub ); - -/** - * Forcefully destroy the MWI subscription. This function should only - * be called on special condition, such as when the subscription - * initialization has failed. For other conditions, application MUST terminate - * the subscription by sending the appropriate un(SUBSCRIBE) or NOTIFY. - * - * @param sub The MWI subscription. - * @param notify Specify whether the state notification callback - * should be called. - * - * @return PJ_SUCCESS if subscription session has been destroyed. - */ -PJ_DECL(pj_status_t) pjsip_mwi_terminate( pjsip_evsub *sub, - pj_bool_t notify ); - -/** - * Call this function to create request to initiate MWI subscription, to - * refresh subcription, or to request subscription termination. - * - * @param sub Client subscription instance. - * @param expires Subscription expiration. If the value is set to zero, - * this will request unsubscription. - * @param p_tdata Pointer to receive the request. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_mwi_initiate( pjsip_evsub *sub, - pj_int32_t expires, - pjsip_tx_data **p_tdata); - -/** - * Accept the incoming subscription request by sending 2xx response to - * incoming SUBSCRIBE request. - * - * @param sub Server subscription instance. - * @param rdata The incoming subscription request message. - * @param st_code Status code, which MUST be final response. - * @param hdr_list Optional list of headers to be added in the response. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_mwi_accept( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int st_code, - const pjsip_hdr *hdr_list ); - -/** - * For notifier, create NOTIFY request to subscriber, and set the state - * of the subscription. - * - * @param sub The server subscription (notifier) instance. - * @param state New state to set. - * @param state_str The state string name, if state contains value other - * than active, pending, or terminated. Otherwise this - * argument is ignored. - * @param reason Specify reason if new state is terminated, otherwise - * put NULL. - * @param mime_type MIME type/content type of the message body. - * @param body Message body to be included in the NOTIFY request. - * @param p_tdata Pointer to receive the request. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_mwi_notify( pjsip_evsub *sub, - pjsip_evsub_state state, - const pj_str_t *state_str, - const pj_str_t *reason, - const pjsip_media_type *mime_type, - const pj_str_t *body, - pjsip_tx_data **p_tdata); - -/** - * Create NOTIFY request containing message body from the last NOITFY - * message created. - * - * @param sub Server subscription object. - * @param p_tdata Pointer to receive request. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_mwi_current_notify( pjsip_evsub *sub, - pjsip_tx_data **p_tdata ); - - -/** - * Send request message that was previously created with initiate(), notify(), - * or current_notify(). Application may also send request created with other - * functions, e.g. authentication. But the request MUST be either request - * that creates/refresh subscription or NOTIFY request. - * - * @param sub The subscription object. - * @param tdata Request message to be sent. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_mwi_send_request( pjsip_evsub *sub, - pjsip_tx_data *tdata ); - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJSIP_SIMPLE_MWI_H__ */ diff --git a/res/pjproject/pjsip/include/pjsip-simple/pidf.h b/res/pjproject/pjsip/include/pjsip-simple/pidf.h deleted file mode 100644 index 98828da439..0000000000 --- a/res/pjproject/pjsip/include/pjsip-simple/pidf.h +++ /dev/null @@ -1,178 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIMPLE_PIDF_H__ -#define __PJSIP_SIMPLE_PIDF_H__ - -/** - * @file pidf.h - * @brief PIDF/Presence Information Data Format (RFC 3863) - */ -#include -#include - -PJ_BEGIN_DECL - - -/** - * @defgroup PJSIP_SIMPLE_PIDF PIDF/Presence Information Data Format (RFC 3863) - * @ingroup PJSIP_SIMPLE - * @brief Support for PIDF/Presence Information Data Format (RFC 3863) - * @{ - * - * This file provides tools for manipulating Presence Information Data - * Format (PIDF) as described in RFC 3863. - */ -typedef struct pj_xml_node pjpidf_pres; -typedef struct pj_xml_node pjpidf_tuple; -typedef struct pj_xml_node pjpidf_status; -typedef struct pj_xml_node pjpidf_note; - -typedef struct pjpidf_status_op -{ - void (*construct)(pj_pool_t*, pjpidf_status*); - pj_bool_t (*is_basic_open)(const pjpidf_status*); - void (*set_basic_open)(pjpidf_status*, pj_bool_t); -} pjpidf_status_op; - -typedef struct pjpidf_tuple_op -{ - void (*construct)(pj_pool_t*, pjpidf_tuple*, const pj_str_t*); - - const pj_str_t* (*get_id)(const pjpidf_tuple* ); - void (*set_id)(pj_pool_t*, pjpidf_tuple *, const pj_str_t*); - - pjpidf_status* (*get_status)(pjpidf_tuple* ); - - const pj_str_t* (*get_contact)(const pjpidf_tuple*); - void (*set_contact)(pj_pool_t*, pjpidf_tuple*, const pj_str_t*); - void (*set_contact_prio)(pj_pool_t*, pjpidf_tuple*, const pj_str_t*); - const pj_str_t* (*get_contact_prio)(const pjpidf_tuple*); - - pjpidf_note* (*add_note)(pj_pool_t*, pjpidf_tuple*, const pj_str_t*); - pjpidf_note* (*get_first_note)(pjpidf_tuple*); - pjpidf_note* (*get_next_note)(pjpidf_tuple*, pjpidf_note*); - - const pj_str_t* (*get_timestamp)(const pjpidf_tuple*); - void (*set_timestamp)(pj_pool_t*, pjpidf_tuple*, const pj_str_t*); - void (*set_timestamp_np)(pj_pool_t*,pjpidf_tuple*, pj_str_t*); - -} pjpidf_tuple_op; - -typedef struct pjpidf_pres_op -{ - void (*construct)(pj_pool_t*, pjpidf_pres*, const pj_str_t*); - - pjpidf_tuple* (*add_tuple)(pj_pool_t*, pjpidf_pres*, const pj_str_t*); - pjpidf_tuple* (*get_first_tuple)(pjpidf_pres*); - pjpidf_tuple* (*get_next_tuple)(pjpidf_pres*, pjpidf_tuple*); - pjpidf_tuple* (*find_tuple)(pjpidf_pres*, const pj_str_t*); - void (*remove_tuple)(pjpidf_pres*, pjpidf_tuple*); - - pjpidf_note* (*add_note)(pj_pool_t*, pjpidf_pres*, const pj_str_t*); - pjpidf_note* (*get_first_note)(pjpidf_pres*); - pjpidf_note* (*get_next_note)(pjpidf_pres*, pjpidf_note*); - -} pjpidf_pres_op; - - -extern struct pjpidf_op_desc -{ - pjpidf_pres_op pres; - pjpidf_tuple_op tuple; - pjpidf_status_op status; -} pjpidf_op; - - -/****************************************************************************** - * Top level API for managing presence document. - *****************************************************************************/ -PJ_DECL(pjpidf_pres*) pjpidf_create(pj_pool_t *pool, const pj_str_t *entity); -PJ_DECL(pjpidf_pres*) pjpidf_parse(pj_pool_t *pool, char *text, int len); -PJ_DECL(int) pjpidf_print(const pjpidf_pres* pres, char *buf, int len); - - -/****************************************************************************** - * API for managing Presence node. - *****************************************************************************/ -PJ_DECL(void) pjpidf_pres_construct(pj_pool_t *pool, pjpidf_pres *pres, - const pj_str_t *entity); -PJ_DECL(pjpidf_tuple*) pjpidf_pres_add_tuple(pj_pool_t *pool, pjpidf_pres *pres, - const pj_str_t *id); -PJ_DECL(pjpidf_tuple*) pjpidf_pres_get_first_tuple(pjpidf_pres *pres); -PJ_DECL(pjpidf_tuple*) pjpidf_pres_get_next_tuple(pjpidf_pres *pres, - pjpidf_tuple *t); -PJ_DECL(pjpidf_tuple*) pjpidf_pres_find_tuple(pjpidf_pres *pres, - const pj_str_t *id); -PJ_DECL(void) pjpidf_pres_remove_tuple(pjpidf_pres *pres, - pjpidf_tuple*); - -PJ_DECL(pjpidf_note*) pjpidf_pres_add_note(pj_pool_t *pool, pjpidf_pres *pres, - const pj_str_t *text); -PJ_DECL(pjpidf_note*) pjpidf_pres_get_first_note(pjpidf_pres *pres); -PJ_DECL(pjpidf_note*) pjpidf_pres_get_next_note(pjpidf_pres*, pjpidf_note*); - - -/****************************************************************************** - * API for managing Tuple node. - *****************************************************************************/ -PJ_DECL(void) pjpidf_tuple_construct(pj_pool_t *pool, pjpidf_tuple *t, - const pj_str_t *id); -PJ_DECL(const pj_str_t*) pjpidf_tuple_get_id(const pjpidf_tuple *t ); -PJ_DECL(void) pjpidf_tuple_set_id(pj_pool_t *pool, pjpidf_tuple *t, - const pj_str_t *id); - -PJ_DECL(pjpidf_status*) pjpidf_tuple_get_status(pjpidf_tuple *t); - -PJ_DECL(const pj_str_t*) pjpidf_tuple_get_contact(const pjpidf_tuple *t); -PJ_DECL(void) pjpidf_tuple_set_contact(pj_pool_t *pool, pjpidf_tuple *t, - const pj_str_t *contact); -PJ_DECL(void) pjpidf_tuple_set_contact_prio(pj_pool_t *pool, pjpidf_tuple *t, - const pj_str_t *prio); -PJ_DECL(const pj_str_t*) pjpidf_tuple_get_contact_prio(const pjpidf_tuple *t); - -PJ_DECL(pjpidf_note*) pjpidf_tuple_add_note(pj_pool_t *pool, pjpidf_tuple *t, - const pj_str_t *text); -PJ_DECL(pjpidf_note*) pjpidf_tuple_get_first_note(pjpidf_tuple *t); -PJ_DECL(pjpidf_note*) pjpidf_tuple_get_next_note(pjpidf_tuple *t, pjpidf_note *n); - -PJ_DECL(const pj_str_t*) pjpidf_tuple_get_timestamp(const pjpidf_tuple *t); -PJ_DECL(void) pjpidf_tuple_set_timestamp(pj_pool_t *pool, pjpidf_tuple *t, - const pj_str_t *ts); -PJ_DECL(void) pjpidf_tuple_set_timestamp_np( pj_pool_t*, pjpidf_tuple *t, - pj_str_t *ts); - - -/****************************************************************************** - * API for managing Status node. - *****************************************************************************/ -PJ_DECL(void) pjpidf_status_construct(pj_pool_t*, pjpidf_status*); -PJ_DECL(pj_bool_t) pjpidf_status_is_basic_open(const pjpidf_status*); -PJ_DECL(void) pjpidf_status_set_basic_open(pjpidf_status*, pj_bool_t); - - -/** - * @} - */ - - -PJ_END_DECL - - -#endif /* __PJSIP_SIMPLE_PIDF_H__ */ diff --git a/res/pjproject/pjsip/include/pjsip-simple/presence.h b/res/pjproject/pjsip/include/pjsip-simple/presence.h deleted file mode 100644 index f29489f89e..0000000000 --- a/res/pjproject/pjsip/include/pjsip-simple/presence.h +++ /dev/null @@ -1,415 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIMPLE_PRESENCE_H__ -#define __PJSIP_SIMPLE_PRESENCE_H__ - -/** - * @file presence.h - * @brief SIP Extension for Presence (RFC 3856) - */ -#include -#include -#include -#include - - -PJ_BEGIN_DECL - - -/** - * @defgroup PJSIP_SIMPLE_PRES SIP Extension for Presence (RFC 3856) - * @ingroup PJSIP_SIMPLE - * @brief Support for SIP Extension for Presence (RFC 3856) - * @{ - * - * This module contains the implementation of SIP Presence Extension as - * described in RFC 3856. It uses the SIP Event Notification framework - * (evsub.h) and extends the framework by implementing "presence" - * event package. - */ - - - -/** - * Initialize the presence module and register it as endpoint module and - * package to the event subscription module. - * - * @param endpt The endpoint instance. - * @param mod_evsub The event subscription module instance. - * - * @return PJ_SUCCESS if the module is successfully - * initialized and registered to both endpoint - * and the event subscription module. - */ -PJ_DECL(pj_status_t) pjsip_pres_init_module(pjsip_endpoint *endpt, - pjsip_module *mod_evsub); - - -/** - * Get the presence module instance. - * - * @return The presence module instance. - */ -PJ_DECL(pjsip_module*) pjsip_pres_instance(void); - - -/** - * Maximum presence status info. - */ -#define PJSIP_PRES_STATUS_MAX_INFO 8 - - -/** - * This structure describes presence status of a presentity. - */ -struct pjsip_pres_status -{ - unsigned info_cnt; /**< Number of info in the status. */ - struct { - - pj_bool_t basic_open; /**< Basic status/availability. */ - pjrpid_element rpid; /**< Optional RPID info. */ - - pj_str_t id; /**< Tuple id. */ - pj_str_t contact; /**< Optional contact address. */ - - pj_xml_node *tuple_node; /**< Pointer to tuple XML node of - parsed PIDF body received from - remote agent. Only valid for - client subscription. If the - last received NOTIFY request - does not contain any PIDF body, - this valud will be set to NULL */ - - } info[PJSIP_PRES_STATUS_MAX_INFO]; /**< Array of info. */ - - pj_bool_t _is_valid; /**< Internal flag. */ -}; - - -/** - * @see pjsip_pres_status - */ -typedef struct pjsip_pres_status pjsip_pres_status; - - -/** - * Create presence client subscription session. - * - * @param dlg The underlying dialog to use. - * @param user_cb Pointer to callbacks to receive presence subscription - * events. - * @param options Option flags. Currently only PJSIP_EVSUB_NO_EVENT_ID - * is recognized. - * @param p_evsub Pointer to receive the presence subscription - * session. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_pres_create_uac( pjsip_dialog *dlg, - const pjsip_evsub_user *user_cb, - unsigned options, - pjsip_evsub **p_evsub ); - - -/** - * Create presence server subscription session. - * - * @param dlg The underlying dialog to use. - * @param user_cb Pointer to callbacks to receive presence subscription - * events. - * @param rdata The incoming SUBSCRIBE request that creates the event - * subscription. - * @param p_evsub Pointer to receive the presence subscription - * session. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_pres_create_uas( pjsip_dialog *dlg, - const pjsip_evsub_user *user_cb, - pjsip_rx_data *rdata, - pjsip_evsub **p_evsub ); - - -/** - * Forcefully destroy the presence subscription. This function should only - * be called on special condition, such as when the subscription - * initialization has failed. For other conditions, application MUST terminate - * the subscription by sending the appropriate un(SUBSCRIBE) or NOTIFY. - * - * @param sub The presence subscription. - * @param notify Specify whether the state notification callback - * should be called. - * - * @return PJ_SUCCESS if subscription session has been destroyed. - */ -PJ_DECL(pj_status_t) pjsip_pres_terminate( pjsip_evsub *sub, - pj_bool_t notify ); - - - -/** - * Call this function to create request to initiate presence subscription, to - * refresh subcription, or to request subscription termination. - * - * @param sub Client subscription instance. - * @param expires Subscription expiration. If the value is set to zero, - * this will request unsubscription. - * @param p_tdata Pointer to receive the request. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_pres_initiate( pjsip_evsub *sub, - pj_int32_t expires, - pjsip_tx_data **p_tdata); - - -/** - * Add a list of headers to the subscription instance. The list of headers - * will be added to outgoing presence subscription requests. - * - * @param sub Subscription instance. - * @param hdr_list List of headers to be added. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_pres_add_header( pjsip_evsub *sub, - const pjsip_hdr *hdr_list ); - - -/** - * Accept the incoming subscription request by sending 2xx response to - * incoming SUBSCRIBE request. - * - * @param sub Server subscription instance. - * @param rdata The incoming subscription request message. - * @param st_code Status code, which MUST be final response. - * @param hdr_list Optional list of headers to be added in the response. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_pres_accept( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int st_code, - const pjsip_hdr *hdr_list ); - - - - -/** - * For notifier, create NOTIFY request to subscriber, and set the state - * of the subscription. Application MUST set the presence status to the - * appropriate state (by calling #pjsip_pres_set_status()) before calling - * this function. - * - * @param sub The server subscription (notifier) instance. - * @param state New state to set. - * @param state_str The state string name, if state contains value other - * than active, pending, or terminated. Otherwise this - * argument is ignored. - * @param reason Specify reason if new state is terminated, otherwise - * put NULL. - * @param p_tdata Pointer to receive the request. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_pres_notify( pjsip_evsub *sub, - pjsip_evsub_state state, - const pj_str_t *state_str, - const pj_str_t *reason, - pjsip_tx_data **p_tdata); - - -/** - * Create NOTIFY request to reflect current subscription status. - * - * @param sub Server subscription object. - * @param p_tdata Pointer to receive request. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_pres_current_notify( pjsip_evsub *sub, - pjsip_tx_data **p_tdata ); - - - -/** - * Send request message that was previously created with initiate(), notify(), - * or current_notify(). Application may also send request created with other - * functions, e.g. authentication. But the request MUST be either request - * that creates/refresh subscription or NOTIFY request. - * - * @param sub The subscription object. - * @param tdata Request message to be sent. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_pres_send_request( pjsip_evsub *sub, - pjsip_tx_data *tdata ); - - -/** - * Get the presence status. Client normally would call this function - * after receiving NOTIFY request from server. - * - * @param sub The client or server subscription. - * @param status The structure to receive presence status. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_pres_get_status( pjsip_evsub *sub, - pjsip_pres_status *status ); - - -/** - * Set the presence status. This operation is only valid for server - * subscription. After calling this function, application would need to - * send NOTIFY request to client. - * - * @param sub The server subscription. - * @param status Status to be set. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_pres_set_status( pjsip_evsub *sub, - const pjsip_pres_status *status ); - - -/** - * This is a utility function to create PIDF message body from PJSIP - * presence status (pjsip_pres_status). - * - * @param pool The pool to allocate memory for the message body. - * @param status Presence status to be converted into PIDF message - * body. - * @param entity The entity ID, which normally is equal to the - * presentity ID publishing this presence info. - * @param p_body Pointer to receive the SIP message body. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_pres_create_pidf( pj_pool_t *pool, - const pjsip_pres_status *status, - const pj_str_t *entity, - pjsip_msg_body **p_body ); - - -/** - * This is a utility function to create X-PIDF message body from PJSIP - * presence status (pjsip_pres_status). - * - * @param pool The pool to allocate memory for the message body. - * @param status Presence status to be converted into X-PIDF message - * body. - * @param entity The entity ID, which normally is equal to the - * presentity ID publishing this presence info. - * @param p_body Pointer to receive the SIP message body. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_pres_create_xpidf(pj_pool_t *pool, - const pjsip_pres_status *status, - const pj_str_t *entity, - pjsip_msg_body **p_body ); - - - -/** - * This is a utility function to parse PIDF body into PJSIP presence status. - * - * @param rdata The incoming SIP message containing the PIDF body. - * @param pool Pool to allocate memory to copy the strings into - * the presence status structure. - * @param status The presence status to be initialized. - * - * @return PJ_SUCCESS on success. - * - * @see pjsip_pres_parse_pidf2() - */ -PJ_DECL(pj_status_t) pjsip_pres_parse_pidf(pjsip_rx_data *rdata, - pj_pool_t *pool, - pjsip_pres_status *status); - -/** - * This is a utility function to parse PIDF body into PJSIP presence status. - * - * @param body Text body, with one extra space at the end to place - * NULL character temporarily during parsing. - * @param body_len Length of the body, not including the NULL termination - * character. - * @param pool Pool to allocate memory to copy the strings into - * the presence status structure. - * @param status The presence status to be initialized. - * - * @return PJ_SUCCESS on success. - * - * @see pjsip_pres_parse_pidf() - */ -PJ_DECL(pj_status_t) pjsip_pres_parse_pidf2(char *body, unsigned body_len, - pj_pool_t *pool, - pjsip_pres_status *status); - - -/** - * This is a utility function to parse X-PIDF body into PJSIP presence status. - * - * @param rdata The incoming SIP message containing the X-PIDF body. - * @param pool Pool to allocate memory to copy the strings into - * the presence status structure. - * @param status The presence status to be initialized. - * - * @return PJ_SUCCESS on success. - * - * @see pjsip_pres_parse_xpidf2() - */ -PJ_DECL(pj_status_t) pjsip_pres_parse_xpidf(pjsip_rx_data *rdata, - pj_pool_t *pool, - pjsip_pres_status *status); - - -/** - * This is a utility function to parse X-PIDF body into PJSIP presence status. - * - * @param body Text body, with one extra space at the end to place - * NULL character temporarily during parsing. - * @param body_len Length of the body, not including the NULL termination - * character. - * @param pool Pool to allocate memory to copy the strings into - * the presence status structure. - * @param status The presence status to be initialized. - * - * @return PJ_SUCCESS on success. - * - * @see pjsip_pres_parse_xpidf() - */ -PJ_DECL(pj_status_t) pjsip_pres_parse_xpidf2(char *body, unsigned body_len, - pj_pool_t *pool, - pjsip_pres_status *status); - - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJSIP_SIMPLE_PRESENCE_H__ */ diff --git a/res/pjproject/pjsip/include/pjsip-simple/publish.h b/res/pjproject/pjsip/include/pjsip-simple/publish.h deleted file mode 100644 index c1a97fb5d8..0000000000 --- a/res/pjproject/pjsip/include/pjsip-simple/publish.h +++ /dev/null @@ -1,333 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIMPLE_PUBLISH_H__ -#define __PJSIP_SIMPLE_PUBLISH_H__ - -/** - * @file publish.h - * @brief SIP Extension for Event State Publication (PUBLISH, RFC 3903) - */ - -#include -#include - - -PJ_BEGIN_DECL - - -/** - @defgroup PJSIP_SIMPLE_PUBLISH SIP Event State Publication (PUBLISH, RFC 3903) - @ingroup PJSIP_SIMPLE - @brief Support for SIP Event State Publication (PUBLISH, RFC 3903) - @{ - - This module contains the implementation of Session Initiation Protocol (SIP) - Extension for Event State Publication (PUBLISH) as defined by RFC 3903. - */ - -/** - * The SIP PUBLISH method constant. - */ -extern const pjsip_method pjsip_publish_method; - - -/***************************************************************************** - * @defgroup PJSIP_SIMPLE_PUBLISH_CLIENT SIP Event State Publication Client - * @ingroup PJSIP_SIMPLE - * @brief Event State Publication Clien - * @{ - */ - - -/** Expiration not specified. */ -#define PJSIP_PUBC_EXPIRATION_NOT_SPECIFIED ((pj_uint32_t)0xFFFFFFFFUL) - -/** - * Opaque declaration for client side event publication session. - */ -typedef struct pjsip_publishc pjsip_publishc; - - -/** - * Client publication options. Application should initialize this structure - * with its default values by calling #pjsip_publishc_opt_default() - */ -typedef struct pjsip_publishc_opt -{ - /** - * Specify whether the client publication session should queue the - * PUBLISH request should there be another PUBLISH transaction still - * pending. If this is set to false, the client will return error - * on the PUBLISH request if there is another PUBLISH transaction still - * in progress. - * - * Default: PJSIP_PUBLISHC_QUEUE_REQUEST - */ - pj_bool_t queue_request; - -} pjsip_publishc_opt; - - -/** Structure to hold parameters when calling application's callback. - * The application's callback is called when the client publication process - * has finished. - */ -struct pjsip_publishc_cbparam -{ - pjsip_publishc *pubc; /**< Client publication structure. */ - void *token; /**< Arbitrary token. */ - pj_status_t status; /**< Error status. */ - int code; /**< SIP status code received. */ - pj_str_t reason; /**< SIP reason phrase received. */ - pjsip_rx_data *rdata; /**< The complete received response. */ - int expiration;/**< Next expiration interval. If the - value is -1, it means the session - will not renew itself. */ -}; - - -/** Type declaration for callback to receive publication result. */ -typedef void pjsip_publishc_cb(struct pjsip_publishc_cbparam *param); - - -/** - * Initialize client publication session option with default values. - * - * @param opt The option. - */ -PJ_DECL(void) pjsip_publishc_opt_default(pjsip_publishc_opt *opt); - - -/** - * Initialize client publication module. - * - * @param endpt SIP endpoint. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_publishc_init_module(pjsip_endpoint *endpt); - - -/** - * Create client publication structure. - * - * @param endpt Endpoint, used to allocate pool from. - * @param opt Options, or NULL to specify default options. - * @param token Opaque data to be associated with the client publication. - * @param cb Pointer to callback function to receive publication status. - * @param p_pubc Pointer to receive client publication structure. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_publishc_create( pjsip_endpoint *endpt, - const pjsip_publishc_opt *opt, - void *token, - pjsip_publishc_cb *cb, - pjsip_publishc **p_pubc); - - -/** - * Destroy client publication structure. If a publication transaction is - * in progress, then the structure will be deleted only after a final response - * has been received, and in this case, the callback won't be called. - * - * @param pubc The client publication structure. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_publishc_destroy(pjsip_publishc *pubc); - - - -/** - * Get the memory pool associated with a publication client session. - * - * @param pubc The client publication structure. - * @return pool handle. - */ -PJ_DECL(pj_pool_t*) pjsip_publishc_get_pool(pjsip_publishc *pubc); - - -/** - * Initialize client publication structure with various information needed to - * perform the publication. - * - * @param pubc The client publication structure. - * @param event The Event identification (e.g. "presence"). - * @param target_uri The URI of the presentity which the which the status - * is being published. - * @param from_uri The URI of the endpoint who sends the event - * publication. Normally the value would be the same as - * target_uri. - * @param to_uri The URI to be put in To header. Normally the value - * would be the same as target_uri. - * @param expires The default expiration of the event publication. - * If the value PJSIP_PUBC_EXPIRATION_NOT_SPECIFIED is - * given, then no default expiration will be applied. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_publishc_init(pjsip_publishc *pubc, - const pj_str_t *event, - const pj_str_t *target_uri, - const pj_str_t *from_uri, - const pj_str_t *to_uri, - pj_uint32_t expires); - - -/** - * Set authentication credentials to use by this publication. - * - * @param pubc The publication structure. - * @param count Number of credentials in the array. - * @param c Array of credentials. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_publishc_set_credentials(pjsip_publishc *pubc, - int count, - const pjsip_cred_info c[]); - -/** - * Set route set to be used for outgoing requests. - * - * @param pubc The client publication structure. - * @param rs List containing Route headers. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_publishc_set_route_set(pjsip_publishc *pubc, - const pjsip_route_hdr *rs); - - -/** - * Set list of headers to be added to each PUBLISH request generated by - * the client publication session. Note that application can also add - * the headers to the request after calling #pjsip_publishc_publish() - * or #pjsip_publishc_unpublish(), but the benefit of this function is - * the headers will also be added to requests generated internally by - * the session, such as during session renewal/refresh. - * - * Note that calling this function will clear the previously added list - * of headers. - * - * @param pubc The client publication structure. - * @param hdr_list The list of headers. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_publishc_set_headers(pjsip_publishc *pubc, - const pjsip_hdr *hdr_list); - -/** - * Create PUBLISH request for the specified client publication structure. - * Application can use this function to both create initial publication - * or to modify existing publication. - * - * After the PUBLISH request is created, application MUST fill in the - * body part of the request with the appropriate content for the Event - * being published. - * - * Note that publication refresh are handled automatically by the session - * (as long as auto_refresh argument below is non-zero), and application - * should not use this function to perform publication refresh. - * - * @param pubc The client publication session. - * @param auto_refresh If non zero, the library will automatically - * refresh the next publication until application - * unpublish. - * @param p_tdata Pointer to receive the PUBLISH request. Note that - * the request DOES NOT have a message body. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_publishc_publish(pjsip_publishc *pubc, - pj_bool_t auto_refresh, - pjsip_tx_data **p_tdata); - - -/** - * Create PUBLISH request to unpublish the current client publication. - * - * @param pubc The client publication structure. - * @param p_tdata Pointer to receive the PUBLISH request. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_publishc_unpublish(pjsip_publishc *pubc, - pjsip_tx_data **p_tdata); - - -/** - * Update the client publication expiration value. Note that this DOES NOT - * automatically send outgoing PUBLISH request to update the publication - * session. If application wants to do this, then it must construct a - * PUBLISH request and send it to the server. - * - * @param pubc The client publication structure. - * @param expires The new expires value. - * - * @return PU_SUCCESS on successfull. - */ -PJ_DECL(pj_status_t) pjsip_publishc_update_expires(pjsip_publishc *pubc, - pj_uint32_t expires ); - - -/** - * Sends outgoing PUBLISH request. The process will complete asynchronously, - * and application will be notified via the callback when the process - * completes. - * - * If the session has another PUBLISH request outstanding, the behavior - * depends on whether request queueing is enabled in the session (this was - * set by setting \a queue_request field of #pjsip_publishc_opt to true - * when calling #pjsip_publishc_create(). Default is true). If request - * queueing is enabled, the request will be queued and the function will - * return PJ_EPENDING. One the outstanding request is complete, the queued - * request will be sent automatically. If request queueing is disabled, the - * function will reject the request and return PJ_EBUSY. - * - * @param pubc The client publication structure. - * @param tdata Transmit data. - * - * @return - PJ_SUCCESS on success, or - * - PJ_EPENDING if request is queued, or - * - PJ_EBUSY if request is rejected because another PUBLISH - * request is in progress, or - * - other status code to indicate the error. - */ -PJ_DECL(pj_status_t) pjsip_publishc_send(pjsip_publishc *pubc, - pjsip_tx_data *tdata); - - - -/** - * @} - */ - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJSIP_SIMPLE_PUBLISH_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip-simple/rpid.h b/res/pjproject/pjsip/include/pjsip-simple/rpid.h deleted file mode 100644 index 6caf05aac1..0000000000 --- a/res/pjproject/pjsip/include/pjsip-simple/rpid.h +++ /dev/null @@ -1,149 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIMPLE_RPID_H__ -#define __PJSIP_SIMPLE_RPID_H__ - -/** - * @file rpid.h - * @brief RPID: Rich Presence Extensions to the PIDF (RFC 4480) - */ -#include -#include - -PJ_BEGIN_DECL - - -/** - * @defgroup PJSIP_SIMPLE_RPID RPID/Rich Presence Extensions to PIDF (RFC 4480) - * @ingroup PJSIP_SIMPLE - * @brief RPID/Rich Presence Extensions to PIDF (RFC 4480) - * @{ - * - * This file provides tools for managing subset of RPID elements into - * PIDF document. - */ - -/** - * This enumeration describes subset of standard activities as - * described by RFC 4880, RPID: Rich Presence Extensions to the - * Presence Information Data Format (PIDF). - */ -typedef enum pjrpid_activity -{ - /** Activity is unknown. The activity would then be conceived - * in the "note" field. - */ - PJRPID_ACTIVITY_UNKNOWN, - - /** The person is away */ - PJRPID_ACTIVITY_AWAY, - - /** The person is busy */ - PJRPID_ACTIVITY_BUSY - -} pjrpid_activity; - - -/** - * This enumeration describes types of RPID element. - */ -typedef enum pjrpid_element_type -{ - /** RPID element */ - PJRPID_ELEMENT_TYPE_PERSON - -} pjrpid_element_type; - - -/** - * This structure describes person information in RPID document. - */ -typedef struct pjrpid_element -{ - /** Element type. */ - pjrpid_element_type type; - - /** Optional id to set on the element. */ - pj_str_t id; - - /** Activity type. */ - pjrpid_activity activity; - - /** Optional text describing the person/element. */ - pj_str_t note; - -} pjrpid_element; - - -/** - * Duplicate RPID element. - * - * @param pool Pool. - * @param dst Destination structure. - * @param src Source structure. - */ -PJ_DECL(void) pjrpid_element_dup(pj_pool_t *pool, pjrpid_element *dst, - const pjrpid_element *src); - - -/** - * Add RPID element information into existing PIDF document. This will also - * add the appropriate XML namespace attributes into the presence's XML - * node, if the attributes are not already present, and also a element - * to the first element of the PIDF document. - * - * @param pres The PIDF presence document. - * @param pool Pool. - * @param options Currently unused, and must be zero. - * @param elem RPID element information to be added into the PIDF - * document. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjrpid_add_element(pjpidf_pres *pres, - pj_pool_t *pool, - unsigned options, - const pjrpid_element *elem); - -/** - * Get RPID element information from PIDF document, if any. - * - * @param pres The PIDF document containing RPID elements. - * @param pool Pool to duplicate the information. - * @param elem Structure to receive the element information. - * - * @return PJ_SUCCESS if the document does contain RPID element - * and the information has been parsed successfully. - */ -PJ_DECL(pj_status_t) pjrpid_get_element(const pjpidf_pres *pres, - pj_pool_t *pool, - pjrpid_element *elem); - - -/** - * @} - */ - - -PJ_END_DECL - - -#endif /* __PJSIP_SIMPLE_RPID_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip-simple/types.h b/res/pjproject/pjsip/include/pjsip-simple/types.h deleted file mode 100644 index f8c7f77e02..0000000000 --- a/res/pjproject/pjsip/include/pjsip-simple/types.h +++ /dev/null @@ -1,31 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIMPLE_TYPES_H__ -#define __PJSIP_SIMPLE_TYPES_H__ - -#include - - -#define PJSIP_EVSUB_POOL_LEN 4000 -#define PJSIP_EVSUB_POOL_INC 4000 - - -#endif /* __PJSIP_SIMPLE_TYPES_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip-simple/xpidf.h b/res/pjproject/pjsip/include/pjsip-simple/xpidf.h deleted file mode 100644 index bf6fbf2370..0000000000 --- a/res/pjproject/pjsip/include/pjsip-simple/xpidf.h +++ /dev/null @@ -1,135 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIMPLE_XPIDF_H__ -#define __PJSIP_SIMPLE_XPIDF_H__ - -/** - * @file xpidf.h - * @brief XPIDF/Presence Information Data Format - */ -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJSIP_SIMPLE_XPIDF XPIDF/Presence Information Data Format - * @ingroup PJSIP_SIMPLE - * @brief Support for XPIDF/Presence Information Data Format - * @{ - * - * This is an old presence data format as described in: - * draft-rosenberg-impp-pidf-00.txt. - * - * We won't support this format extensively here, as it seems there's not - * too many implementations support this anymore, as it shouldn't. - */ - -/** Type definitions for XPIDF root document. */ -typedef pj_xml_node pjxpidf_pres; - - -/** - * Create a new XPIDF document. - * - * @param pool Pool. - * @param uri URI to set in the XPIDF document. - * - * @return XPIDF document. - */ -PJ_DECL(pjxpidf_pres*) pjxpidf_create(pj_pool_t *pool, const pj_str_t *uri); - - -/** - * Parse XPIDF document. - * - * @param pool Pool. - * @param text Input text. - * @param len Length of input text. - * - * @return XPIDF document. - */ -PJ_DECL(pjxpidf_pres*) pjxpidf_parse(pj_pool_t *pool, char *text, pj_size_t len); - - -/** - * Print XPIDF document. - * - * @param pres The XPIDF document to print. - * @param text Buffer to place the output. - * @param len Length of the buffer. - * - * @return The length printed. - */ -PJ_DECL(int) pjxpidf_print( pjxpidf_pres *pres, char *text, pj_size_t len); - - -/** - * Get URI in the XPIDF document - * - * @param pres XPIDF document - * - * @return The URI, or an empty string. - */ -PJ_DECL(pj_str_t*) pjxpidf_get_uri(pjxpidf_pres *pres); - - -/** - * Set the URI of the XPIDF document. - * - * @param pool Pool. - * @param pres The XPIDF document. - * @param uri URI to set in the XPIDF document. - * - * @return Zero on success. - */ -PJ_DECL(pj_status_t) pjxpidf_set_uri(pj_pool_t *pool, pjxpidf_pres *pres, - const pj_str_t *uri); - - -/** - * Get presence status in the XPIDF document. - * - * @param pres XPIDF document. - * - * @return True to indicate the contact is online. - */ -PJ_DECL(pj_bool_t) pjxpidf_get_status(pjxpidf_pres *pres); - - -/** - * Set presence status in the XPIDF document. - * - * @param pres XPIDF document. - * @param status Status to set, True for online, False for offline. - * - * @return Zero on success. - */ -PJ_DECL(pj_status_t) pjxpidf_set_status(pjxpidf_pres *pres, pj_bool_t status); - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJSIP_SIMPLE_XPIDF_H__ */ diff --git a/res/pjproject/pjsip/include/pjsip-ua/sip_100rel.h b/res/pjproject/pjsip/include/pjsip-ua/sip_100rel.h deleted file mode 100644 index d44b0f67c3..0000000000 --- a/res/pjproject/pjsip/include/pjsip-ua/sip_100rel.h +++ /dev/null @@ -1,245 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __SIP_100REL_H__ -#define __SIP_100REL_H__ - -/** - * @file sip_100rel.h - * @brief PRACK (Reliability of Provisional Responses) - */ - - -#include - - -/** - * @defgroup PJSIP_100REL 100rel/PRACK - Reliability of Provisional Responses - * @ingroup PJSIP_HIGH_UA - * @brief PRACK - Reliability of Provisional Responses - * @{ - * - * This module provides management of Reliability of Provisional Responses - * (\a 100rel and \a PRACK), as described in RFC 3262. - * - * Other than the #pjsip_100rel_init_module() function, the 100rel API - * exported by this module are not intended to be used by application, but - * rather they will be invoked by the \ref PJSIP_INV. - * - * \section pjsip_100rel_using Using Reliable Provisional Response - * - * \subsection pjsip_100rel_init Initializing 100rel Module - * - * Application must explicitly initialize 100rel module by calling - * #pjsip_100rel_init_module() in application initialization function. - * - * Once the 100rel module is initialized, it will register \a PRACK method - * in \a Allow header, and \a 100rel tag in \a Supported header. - * - * \subsection pjsip_100rel_sess Using 100rel in a Session - * - * For UAC, \a 100rel support will be enabled in the session if \a 100rel - * support is enabled in the library (default is yes). - * Outgoing INVITE request will include \a 100rel tag in \a Supported - * header and \a PRACK method in \a Allow header. When callee endpoint - * sends reliable provisional responses, the UAC will automatically send - * \a PRACK request to acknowledge the response. If callee endpoint doesn't - * send reliable provisional response, the response will be handled using - * normal, non-100rel procedure (that is, \a PRACK will not be sent). - * - * If the UAC wants to mandate \a 100rel support, it can specify - * #PJSIP_INV_REQUIRE_100REL in the \a options argument when calling - * #pjsip_inv_create_uac(). In this case, PJSIP will add \a 100rel tag - * in the \a Require header of the outgoing INVITE request. - * - * For UAS, if it wants to support \a 100rel but not to mandate it, - * it must specify #PJSIP_INV_SUPPORT_100REL flag in the \a options - * argument when calling #pjsip_inv_verify_request(), and pass the same - * \a options variable when calling #pjsip_inv_verify_request. If UAC had - * specified \a 100rel in it's list of extensions in \a Require header, - * the UAS will send provisional responses reliably. If UAC only listed - * \a 100rel in its \a Supported header but not in \a Require header, - * or if UAC does not list \a 100rel support at all, the UAS WILL NOT - * send provisional responses reliably. - * The snippet below can be used to accomplish this task: - * - * \verbatim - unsigned options = 0; - - options |= PJSIP_INV_SUPPORT_100REL; - - status = pjsip_inv_verify_request(rdata, &options, answer, NULL, - endpt, &resp); - if (status != PJ_SUCCESS) { - // INVITE request cannot be handled. - // Reject the request with the response in resp. - ... - return; - } - - // Create UAS dialog, populate Contact header, etc. - ... - - // Create UAS invite session - status = pjsip_inv_create_uas( dlg, rdata, answer, options, &inv); - - .. - - \endverbatim - * - * For another requirement, if UAS wants to mandate \a 100rel support, - * it can specify #PJSIP_INV_REQUIRE_100REL flag when calling - * #pjsip_inv_verify_request(), and pass the \a options when calling - * #pjsip_inv_verify_request. In this case, - * \a 100rel extension will be used if UAC specifies \a 100rel in its - * \a Supported header. If UAC does not list \a 100rel in \a Supported header, - * the incoming INVITE request will be rejected with 421 (Extension Required) - * response. For the sample code, it should be identical to the snippet - * above, except that application must specify #PJSIP_INV_REQUIRE_100REL - * flag in the \a options instead of #PJSIP_INV_SUPPORT_100REL. - * - * For yet another requirement, if UAS does not want to support - * \a 100rel extension, it can reject incoming INVITE request with - * 420 (Bad Extension) response whenever incoming INVITE request has - * \a 100rel tag in its \a Require header. This can be done by specifying - * zero as the \a options when calling #pjsip_inv_verify_request(). - */ - -PJ_BEGIN_DECL - - -/** - * PRACK method constant. - * @see pjsip_get_prack_method() - */ -PJ_DECL_DATA(const pjsip_method) pjsip_prack_method; - - -/** - * Get #pjsip_invite_method constant. - */ -PJ_DECL(const pjsip_method*) pjsip_get_prack_method(void); - - -/** - * Initialize 100rel module. This function must be called once during - * application initialization, to register 100rel module to SIP endpoint. - * - * @param endpt The SIP endpoint instance. - * - * @return PJ_SUCCESS if module is successfully initialized. - */ -PJ_DECL(pj_status_t) pjsip_100rel_init_module(pjsip_endpoint *endpt); - - -/** - * Add 100rel support to the specified invite session. This function will - * be called internally by the invite session if it detects that the - * session needs 100rel support. - * - * @param inv The invite session. - * - * @return PJ_SUCCESS on successful. - */ -PJ_DECL(pj_status_t) pjsip_100rel_attach(pjsip_inv_session *inv); - - -/** - * Check if incoming response has reliable provisional response feature. - * - * @param rdata Receive data buffer containing the response. - * - * @return PJ_TRUE if the provisional response is reliable. - */ -PJ_DECL(pj_bool_t) pjsip_100rel_is_reliable(pjsip_rx_data *rdata); - - -/** - * Create PRACK request for the incoming reliable provisional response. - * Note that PRACK request MUST be sent using #pjsip_100rel_send_prack(). - * - * @param inv The invite session. - * @param rdata The incoming reliable provisional response. - * @param p_tdata Upon return, it will be initialized with the - * PRACK request. - * - * @return PJ_SUCCESS on successful. - */ -PJ_DECL(pj_status_t) pjsip_100rel_create_prack(pjsip_inv_session *inv, - pjsip_rx_data *rdata, - pjsip_tx_data **p_tdata); - -/** - * Send PRACK request. - * - * @param inv The invite session. - * @param tdata The PRACK request. - * - * @return PJ_SUCCESS on successful. - */ -PJ_DECL(pj_status_t) pjsip_100rel_send_prack(pjsip_inv_session *inv, - pjsip_tx_data *tdata); - - -/** - * Handle incoming PRACK request. - * - * @param inv The invite session. - * @param rdata Incoming PRACK request. - * - * @return PJ_SUCCESS on successful. - */ -PJ_DECL(pj_status_t) pjsip_100rel_on_rx_prack(pjsip_inv_session *inv, - pjsip_rx_data *rdata); - - -/** - * Transmit INVITE response (provisional or final) reliably according to - * 100rel specification. The 100rel module will take care of retransmitting - * or enqueueing the response according to the current state of the - * reliable response processing. This function will be called internally - * by invite session. - * - * @param inv The invite session. - * @param tdata The INVITE response. - * - * @return PJ_SUCCESS on successful. - */ -PJ_DECL(pj_status_t) pjsip_100rel_tx_response(pjsip_inv_session *inv, - pjsip_tx_data *tdata); - - -/** - * Notify 100rel module that the invite session has been disconnected. - * - * @param inv The invite session. - * - * @return PJ_SUCCESS on successful. - */ -PJ_DECL(pj_status_t) pjsip_100rel_end_session(pjsip_inv_session *inv); - - -PJ_END_DECL - -/** - * @} - */ - - -#endif /* __SIP_100REL_H__ */ diff --git a/res/pjproject/pjsip/include/pjsip-ua/sip_inv.h b/res/pjproject/pjsip/include/pjsip-ua/sip_inv.h deleted file mode 100644 index f3bceb2888..0000000000 --- a/res/pjproject/pjsip/include/pjsip-ua/sip_inv.h +++ /dev/null @@ -1,963 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __SIP_INVITE_SESSION_H__ -#define __SIP_INVITE_SESSION_H__ - -/** - * @file sip_inv.h - * @brief INVITE sessions - */ - - -#include -#include - - -/** - * @defgroup PJSIP_HIGH_UA User Agent Library - * @brief Mid-level User Agent Library. - * - * This is the high level user agent library, which consists of: - * - @ref PJSIP_INV, to encapsulate INVITE sessions and SDP - * negotiation in the session, - * - @ref PJSUA_REGC, high level client registration API, and - * - @ref PJSUA_XFER. - * - * More detailed information is explained in - * PJSIP Developer's Guide - * PDF document, and readers are encouraged to read the document to - * get the concept behind dialog, dialog usages, and INVITE sessions. - * - * The User Agent Library is implemented in pjsip-ua static - * library. - */ - -/** - * @defgroup PJSIP_INV INVITE Session - * @ingroup PJSIP_HIGH_UA - * @brief Provides INVITE session management. - * @{ - * - * The INVITE session uses the @ref PJSIP_DIALOG framework to manage - * the underlying dialog, and is one type of usages that can use - * a particular dialog instance (other usages are event subscription, - * discussed in @ref PJSIP_EVENT_NOT). The INVITE session manages - * the life-time of the session, and also manages the SDP negotiation. - * - * Application must link with pjsip-ua static library to use this API. - * - * More detailed information is explained in - * PJSIP Developer's Guide - * PDF document, and readers are encouraged to read the document to - * get the concept behind dialog, dialog usages, and INVITE sessions. - * - * The INVITE session does NOT manage media. If application wants to - * use API that encapsulates both signaling and media in a very easy - * to use API, it can use @ref PJSUA_LIB for this purpose. - */ - -PJ_BEGIN_DECL - - -/** - * @see pjsip_inv_session - */ -typedef struct pjsip_inv_session pjsip_inv_session; - - -/** - * This enumeration describes invite session state. - */ -typedef enum pjsip_inv_state -{ - PJSIP_INV_STATE_NULL, /**< Before INVITE is sent or received */ - PJSIP_INV_STATE_CALLING, /**< After INVITE is sent */ - PJSIP_INV_STATE_INCOMING, /**< After INVITE is received. */ - PJSIP_INV_STATE_EARLY, /**< After response with To tag. */ - PJSIP_INV_STATE_CONNECTING, /**< After 2xx is sent/received. */ - PJSIP_INV_STATE_CONFIRMED, /**< After ACK is sent/received. */ - PJSIP_INV_STATE_DISCONNECTED, /**< Session is terminated. */ -} pjsip_inv_state; - -/** - * This structure contains callbacks to be registered by application to - * receieve notifications from the framework about various events in - * the invite session. - */ -typedef struct pjsip_inv_callback -{ - /** - * This callback is called when the invite sesion state has changed. - * Application should inspect the session state (inv_sess->state) to get - * the current state of the session. - * - * This callback is mandatory. - * - * @param inv The invite session. - * @param e The event which has caused the invite session's - * state to change. - */ - void (*on_state_changed)(pjsip_inv_session *inv, pjsip_event *e); - - /** - * This callback is called when the invite usage module has created - * a new dialog and invite because of forked outgoing request. - * - * This callback is mandatory. - * - * @param inv The new invite session. - * @param e The event which has caused the dialog to fork. - * The type of this event can be either - * PJSIP_EVENT_RX_MSG or PJSIP_EVENT_RX_200_MSG. - */ - void (*on_new_session)(pjsip_inv_session *inv, pjsip_event *e); - - /** - * This callback is called whenever any transactions within the session - * has changed their state. Application MAY implement this callback, - * e.g. to monitor the progress of an outgoing request, or to send - * response to unhandled incoming request (such as INFO). - * - * This callback is optional. - * - * @param inv The invite session. - * @param tsx The transaction, which state has changed. - * @param e The event which has caused the transation state's - * to change. - */ - void (*on_tsx_state_changed)(pjsip_inv_session *inv, - pjsip_transaction *tsx, - pjsip_event *e); - - /** - * This callback is called when the invite session has received - * new offer from peer. Application can inspect the remote offer - * in "offer", and set the SDP answer with #pjsip_inv_set_sdp_answer(). - * When the application sends a SIP message to send the answer, - * this SDP answer will be negotiated with the offer, and the result - * will be sent with the SIP message. - * - * @param inv The invite session. - * @param offer Remote offer. - */ - void (*on_rx_offer)(pjsip_inv_session *inv, - const pjmedia_sdp_session *offer); - - /** - * This callback is optional, and it is used to ask the application - * to create a fresh offer, when the invite session has received - * re-INVITE without offer. This offer then will be sent in the - * 200/OK response to the re-INVITE request. - * - * If application doesn't implement this callback, the invite session - * will send the currently active SDP as the offer. - * - * @param inv The invite session. - * @param p_offer Pointer to receive the SDP offer created by - * application. - */ - void (*on_create_offer)(pjsip_inv_session *inv, - pjmedia_sdp_session **p_offer); - - /** - * This callback is called after SDP offer/answer session has completed. - * The status argument specifies the status of the offer/answer, - * as returned by pjmedia_sdp_neg_negotiate(). - * - * This callback is optional (from the point of view of the framework), - * but all useful applications normally need to implement this callback. - * - * @param inv The invite session. - * @param status The negotiation status. - */ - void (*on_media_update)(pjsip_inv_session *inv_ses, - pj_status_t status); - - /** - * This callback is called when the framework needs to send - * ACK request after it receives incoming 2xx response for - * INVITE. It allows application to manually handle the - * transmission of ACK request, which is required by some 3PCC - * scenarios. If this callback is not implemented, the framework - * will handle the ACK transmission automatically. - * - * When this callback is overridden, application may delay the - * sending of the ACK request (for example, when it needs to - * wait for answer from the other call leg, in 3PCC scenarios). - * - * Application creates the ACK request - * - * Once it has sent the ACK request, the framework will keep - * this ACK request in the cache. Subsequent receipt of 2xx response - * will not cause this callback to be called, and instead automatic - * retransmission of this ACK request from the cache will be done - * by the framework. - * - * This callback is optional. - */ - void (*on_send_ack)(pjsip_inv_session *inv, pjsip_rx_data *rdata); - - /** - * This callback is called when the session is about to resend the - * INVITE request to the specified target, following the previously - * received redirection response. - * - * Application may accept the redirection to the specified target - * (the default behavior if this callback is implemented), reject - * this target only and make the session continue to try the next - * target in the list if such target exists, stop the whole - * redirection process altogether and cause the session to be - * disconnected, or defer the decision to ask for user confirmation. - * - * This callback is optional. If this callback is not implemented, - * the default behavior is to NOT follow the redirection response. - * - * @param inv The invite session. - * @param target The current target to be tried. - * @param e The event that caused this callback to be called. - * This could be the receipt of 3xx response, or - * 4xx/5xx response received for the INVITE sent to - * subsequent targets, or NULL if this callback is - * called from within #pjsip_inv_process_redirect() - * context. - * - * @return Action to be performed for the target. Set this - * parameter to one of the value below: - * - PJSIP_REDIRECT_ACCEPT: immediately accept the - * redirection to this target. When set, the - * session will immediately resend INVITE request - * to the target after this callback returns. - * - PJSIP_REDIRECT_REJECT: immediately reject this - * target. The session will continue retrying with - * next target if present, or disconnect the call - * if there is no more target to try. - * - PJSIP_REDIRECT_STOP: stop the whole redirection - * process and immediately disconnect the call. The - * on_state_changed() callback will be called with - * PJSIP_INV_STATE_DISCONNECTED state immediately - * after this callback returns. - * - PJSIP_REDIRECT_PENDING: set to this value if - * no decision can be made immediately (for example - * to request confirmation from user). Application - * then MUST call #pjsip_inv_process_redirect() - * to either accept or reject the redirection upon - * getting user decision. - */ - pjsip_redirect_op (*on_redirected)(pjsip_inv_session *inv, - const pjsip_uri *target, - const pjsip_event *e); - -} pjsip_inv_callback; - - - -/** - * This enumeration shows various options that can be applied to a session. - * The bitmask combination of these options need to be specified when - * creating a session. After the dialog is established (including early), - * the options member of #pjsip_inv_session shows which capabilities are - * common in both endpoints. - */ -enum pjsip_inv_option -{ - /** - * Indicate support for reliable provisional response extension - */ - PJSIP_INV_SUPPORT_100REL = 1, - - /** - * Indicate support for session timer extension. - */ - PJSIP_INV_SUPPORT_TIMER = 2, - - /** - * Indicate support for UPDATE method. This is automatically implied - * when creating outgoing dialog. After the dialog is established, - * the options member of #pjsip_inv_session shows whether peer supports - * this method as well. - */ - PJSIP_INV_SUPPORT_UPDATE = 4, - - /** - * Indicate support for ICE - */ - PJSIP_INV_SUPPORT_ICE = 8, - - /** - * Require ICE support. - */ - PJSIP_INV_REQUIRE_ICE = 16, - - /** - * Require reliable provisional response extension. - */ - PJSIP_INV_REQUIRE_100REL = 32, - - /** - * Require session timer extension. - */ - PJSIP_INV_REQUIRE_TIMER = 64, - - /** - * Session timer extension will always be used even when peer doesn't - * support/want session timer. - */ - PJSIP_INV_ALWAYS_USE_TIMER = 128 - -}; - -/* Forward declaration of Session Timers */ -struct pjsip_timer; - -/** - * This structure describes the invite session. - * - * Note regarding the invite session's pools. The inv_sess used to have - * only one pool, which is just a pointer to the dialog's pool. Ticket - * http://trac.pjsip.org/repos/ticket/877 has found that the memory - * usage will grow considerably everytime re-INVITE or UPDATE is - * performed. - * - * Ticket #877 then created two more memory pools for the inv_sess, so - * now we have three memory pools: - * - pool: to be used to allocate long term data for the session - * - pool_prov and pool_active: this is a flip-flop pools to be used - * interchangably during re-INVITE and UPDATE. pool_prov is - * "provisional" pool, used to allocate SDP offer or answer for - * the re-INVITE and UPDATE. Once SDP negotiation is done, the - * provisional pool will be made as the active pool, then the - * existing active pool will be reset, to release the memory - * back to the OS. So these pool's lifetime is synchronized to - * the SDP offer-answer negotiation. - * - * Higher level application such as PJSUA-LIB has been modified to - * make use of these flip-flop pools, i.e. by creating media objects - * from the provisional pool rather than from the long term pool. - * - * Other applications that want to use these pools must understand - * that the flip-flop pool's lifetimes are synchronized to the - * SDP offer-answer negotiation. - */ -struct pjsip_inv_session -{ - char obj_name[PJ_MAX_OBJ_NAME]; /**< Log identification */ - pj_pool_t *pool; /**< Long term pool. */ - pj_pool_t *pool_prov; /**< Provisional pool */ - pj_pool_t *pool_active; /**< Active/current pool*/ - pjsip_inv_state state; /**< Invite sess state. */ - pj_bool_t cancelling; /**< CANCEL requested */ - pj_bool_t pending_cancel; /**< Wait to send CANCEL*/ - pjsip_status_code cause; /**< Disconnect cause. */ - pj_str_t cause_text; /**< Cause text. */ - pj_bool_t notify; /**< Internal. */ - unsigned cb_called; /**< Cb has been called */ - pjsip_dialog *dlg; /**< Underlying dialog. */ - pjsip_role_e role; /**< Invite role. */ - unsigned options; /**< Options in use. */ - pjmedia_sdp_neg *neg; /**< Negotiator. */ - pjsip_transaction *invite_tsx; /**< 1st invite tsx. */ - pjsip_tx_data *invite_req; /**< Saved invite req */ - pjsip_tx_data *last_answer; /**< Last INVITE resp. */ - pjsip_tx_data *last_ack; /**< Last ACK request */ - pj_int32_t last_ack_cseq; /**< CSeq of last ACK */ - void *mod_data[PJSIP_MAX_MODULE];/**< Modules data. */ - struct pjsip_timer *timer; /**< Session Timers. */ -}; - - -/** - * This structure represents SDP information in a pjsip_rx_data. Application - * retrieve this information by calling #pjsip_rdata_get_sdp_info(). This - * mechanism supports multipart message body. - */ -typedef struct pjsip_rdata_sdp_info -{ - /** - * Pointer and length of the text body in the incoming message. If - * the pointer is NULL, it means the message does not contain SDP - * body. - */ - pj_str_t body; - - /** - * This will contain non-zero if an invalid SDP body is found in the - * message. - */ - pj_status_t sdp_err; - - /** - * A parsed and validated SDP body. - */ - pjmedia_sdp_session *sdp; - -} pjsip_rdata_sdp_info; - - -/** - * Initialize the invite usage module and register it to the endpoint. - * The callback argument contains pointer to functions to be called on - * occurences of events in invite sessions. - * - * @param endpt The endpoint instance. - * @param cb Callback structure. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_inv_usage_init(pjsip_endpoint *endpt, - const pjsip_inv_callback *cb); - -/** - * Get the INVITE usage module instance. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pjsip_module*) pjsip_inv_usage_instance(void); - - -/** - * Dump user agent contents (e.g. all dialogs). - */ -PJ_DECL(void) pjsip_inv_usage_dump(void); - - -/** - * Create UAC invite session for the specified dialog in dlg. - * - * @param dlg The dialog which will be used by this invite session. - * @param local_sdp If application has determined its media capability, - * it can specify the SDP here. Otherwise it can leave - * this to NULL, to let remote UAS specifies an offer. - * @param options The options argument is bitmask combination of SIP - * features in pjsip_inv_options enumeration. - * @param p_inv On successful return, the invite session will be put - * in this argument. - * - * @return The function will return PJ_SUCCESS if it can create - * the session. Otherwise the appropriate error status - * will be returned on failure. - */ -PJ_DECL(pj_status_t) pjsip_inv_create_uac(pjsip_dialog *dlg, - const pjmedia_sdp_session *local_sdp, - unsigned options, - pjsip_inv_session **p_inv); - - -/** - * Application SHOULD call this function upon receiving the initial INVITE - * request in rdata before creating the invite session (or even dialog), - * to verify that the invite session can handle the INVITE request. - * This function verifies that local endpoint is capable to handle required - * SIP extensions in the request (i.e. Require header) and also the media, - * if media description is present in the request. - * - * @param rdata The incoming INVITE request. - * - * @param options Upon calling this function, the options argument - * MUST contain the desired SIP extensions to be - * applied to the session. Upon return, this argument - * will contain the SIP extension that will be applied - * to the session, after considering the Supported, - * Require, and Allow headers in the request. - * - * @param sdp If local media capability has been determined, - * and if application wishes to verify that it can - * handle the media offer in the incoming INVITE - * request, it SHOULD specify its local media capability - * in this argument. - * If it is not specified, media verification will not - * be performed by this function. - * - * @param dlg If tdata is not NULL, application needs to specify - * how to create the response. Either dlg or endpt - * argument MUST be specified, with dlg argument takes - * precedence when both are specified. - * - * If a dialog has been created prior to calling this - * function, then it MUST be specified in dlg argument. - * Otherwise application MUST specify the endpt argument - * (this is useful e.g. when application wants to send - * the response statelessly). - * - * @param endpt If tdata is not NULL, application needs to specify - * how to create the response. Either dlg or endpt - * argument MUST be specified, with dlg argument takes - * precedence when both are specified. - * - * @param tdata If this argument is not NULL, this function will - * create the appropriate non-2xx final response message - * when the verification fails. - * - * @return If everything has been negotiated successfully, - * the function will return PJ_SUCCESS. Otherwise it - * will return the reason of the failure as the return - * code. - * - * This function is capable to create the appropriate - * response message when the verification has failed. - * If tdata is specified, then a non-2xx final response - * will be created and put in this argument upon return, - * when the verification has failed. - * - * If a dialog has been created prior to calling this - * function, then it MUST be specified in dlg argument. - * Otherwise application MUST specify the endpt argument - * (this is useful e.g. when application wants to send - * the response statelessly). - * - * @see pjsip_inv_verify_request2() - */ -PJ_DECL(pj_status_t) pjsip_inv_verify_request( pjsip_rx_data *rdata, - unsigned *options, - const pjmedia_sdp_session *sdp, - pjsip_dialog *dlg, - pjsip_endpoint *endpt, - pjsip_tx_data **tdata); - -/** - * Variant of #pjsip_inv_verify_request() which allows application to specify - * the parsed SDP in the \a offer argument. This is useful to avoid having to - * re-parse the SDP in the incoming request. - * - * @see pjsip_inv_verify_request() - */ -PJ_DECL(pj_status_t) pjsip_inv_verify_request2( pjsip_rx_data *rdata, - unsigned *options, - const pjmedia_sdp_session *offer, - const pjmedia_sdp_session *answer, - pjsip_dialog *dlg, - pjsip_endpoint *endpt, - pjsip_tx_data **tdata); - -/** - * Variant of #pjsip_inv_verify_request() which allows application not to - * specify the rdata (i.e. pass NULL as the rdata parameter) and specify - * the parsed SDP in the \a offer argument and a temporary pool in the - * \a tmp_pool argument. - * This is useful if application no longer has access to the rdata. - * - * @see pjsip_inv_verify_request() - */ -PJ_DECL(pj_status_t) pjsip_inv_verify_request3( pjsip_rx_data *rdata, - pj_pool_t *tmp_pool, - unsigned *options, - const pjmedia_sdp_session *offer, - const pjmedia_sdp_session *answer, - pjsip_dialog *dlg, - pjsip_endpoint *endpt, - pjsip_tx_data **tdata); - - -/** - * Create UAS invite session for the specified dialog in dlg. Application - * SHOULD call the verification function before calling this function, - * to ensure that it can create the session successfully. - * - * @param dlg The dialog to be used. - * @param rdata Application MUST specify the received INVITE request - * in rdata. The invite session needs to inspect the - * received request to see if the request contains - * features that it supports. - * @param local_sdp If application has determined its media capability, - * it can specify this capability in this argument. - * If SDP is received in the initial INVITE, the UAS - * capability specified in this argument doesn't have to - * match the received offer; the SDP negotiator is able - * to rearrange the media lines in the answer so that it - * matches the offer. - * @param options The options argument is bitmask combination of SIP - * features in pjsip_inv_options enumeration. - * @param p_inv Pointer to receive the newly created invite session. - * - * @return On successful, the invite session will be put in - * p_inv argument and the function will return PJ_SUCCESS. - * Otherwise the appropriate error status will be returned - * on failure. - */ -PJ_DECL(pj_status_t) pjsip_inv_create_uas(pjsip_dialog *dlg, - pjsip_rx_data *rdata, - const pjmedia_sdp_session *local_sdp, - unsigned options, - pjsip_inv_session **p_inv); - - -/** - * Forcefully terminate and destroy INVITE session, regardless of - * the state of the session. Note that this function should only be used - * when there is failure in the INVITE session creation. After the - * invite session has been created and initialized, normally application - * SHOULD use #pjsip_inv_end_session() to end the INVITE session instead. - * - * Note also that this function may terminate the underlying dialog, if - * there are no other sessions in the dialog. - * - * @param inv The invite session. - * @param st_code Status code for the reason of the termination. - * @param notify If set to non-zero, then on_state_changed() - * callback will be called. - * - * @return PJ_SUCCESS if the INVITE session has been - * terminated. - */ -PJ_DECL(pj_status_t) pjsip_inv_terminate( pjsip_inv_session *inv, - int st_code, - pj_bool_t notify ); - - -/** - * Restart UAC session and prepare the session for a new initial INVITE. - * This function can be called for example when the application wants to - * follow redirection response with a new call reusing this session so - * that the new call will have the same Call-ID and From headers. After - * the session is restarted, application may create and send a new INVITE - * request. - * - * @param inv The invite session. - * @param new_offer Should be set to PJ_TRUE since the application will - * restart the session. - * - * @return PJ_SUCCESS on successful operation. - */ -PJ_DECL(pj_status_t) pjsip_inv_uac_restart(pjsip_inv_session *inv, - pj_bool_t new_offer); - - -/** - * Accept or reject redirection response. Application MUST call this function - * after it signaled PJSIP_REDIRECT_PENDING in the \a on_redirected() - * callback, to notify the invite session whether to accept or reject the - * redirection to the current target. Application can use the combination of - * PJSIP_REDIRECT_PENDING command in \a on_redirected() callback and this - * function to ask for user permission before redirecting the call. - * - * Note that if the application chooses to reject or stop redirection (by - * using PJSIP_REDIRECT_REJECT or PJSIP_REDIRECT_STOP respectively), the - * session disconnection callback will be called before this function returns. - * And if the application rejects the target, the \a on_redirected() callback - * may also be called before this function returns if there is another target - * to try. - * - * @param inv The invite session. - * @param cmd Redirection operation. The semantic of this argument - * is similar to the description in the \a on_redirected() - * callback, except that the PJSIP_REDIRECT_PENDING is - * not accepted here. - * @param e Should be set to NULL. - * - * @return PJ_SUCCESS on successful operation. - */ -PJ_DECL(pj_status_t) pjsip_inv_process_redirect(pjsip_inv_session *inv, - pjsip_redirect_op cmd, - pjsip_event *e); - - -/** - * Create the initial INVITE request for this session. This function can only - * be called for UAC session. If local media capability is specified when - * the invite session was created, then this function will put an SDP offer - * in the outgoing INVITE request. Otherwise the outgoing request will not - * contain SDP body. - * - * @param inv The UAC invite session. - * @param p_tdata The initial INVITE request will be put in this - * argument if it can be created successfully. - * - * @return PJ_SUCCESS if the INVITE request can be created. - */ -PJ_DECL(pj_status_t) pjsip_inv_invite( pjsip_inv_session *inv, - pjsip_tx_data **p_tdata ); - - -/** - * Create the initial response message for the incoming INVITE request in - * rdata with status code st_code and optional status text st_text. Use - * #pjsip_inv_answer() to create subsequent response message. - */ -PJ_DECL(pj_status_t) pjsip_inv_initial_answer( pjsip_inv_session *inv, - pjsip_rx_data *rdata, - int st_code, - const pj_str_t *st_text, - const pjmedia_sdp_session *sdp, - pjsip_tx_data **p_tdata); - -/** - * Create a response message to the initial INVITE request. This function - * can only be called for the initial INVITE request, as subsequent - * re-INVITE request will be answered automatically. - * - * @param inv The UAS invite session. - * @param st_code The st_code contains the status code to be sent, - * which may be a provisional or final response. - * @param st_text If custom status text is desired, application can - * specify the text in st_text; otherwise if this - * argument is NULL, default status text will be used. - * @param local_sdp If application has specified its media capability - * during creation of UAS invite session, the local_sdp - * argument MUST be NULL. This is because application - * can not perform more than one SDP offer/answer session - * in a single INVITE transaction. - * If application has not specified its media capability - * during creation of UAS invite session, it MAY or MUST - * specify its capability in local_sdp argument, - * depending whether st_code indicates a 2xx final - * response. - * @param p_tdata Pointer to receive the response message created by - * this function. - * - * @return PJ_SUCCESS if response message was created - * successfully. - */ -PJ_DECL(pj_status_t) pjsip_inv_answer( pjsip_inv_session *inv, - int st_code, - const pj_str_t *st_text, - const pjmedia_sdp_session *local_sdp, - pjsip_tx_data **p_tdata ); - - -/** - * Set local offer or answer depending on negotiator state (it may also - * create a negotiator if it doesn't exist yet). - * - * @param inv The invite session. - * @param sdp The SDP description which will be set as - * an offer/answer to remote. - * - * @return PJ_SUCCESS if local offer/answer can be accepted by - * SDP negotiator. - */ -PJ_DECL(pj_status_t) pjsip_inv_set_local_sdp(pjsip_inv_session *inv, - const pjmedia_sdp_session *sdp ); - - -/** - * Set local answer to respond to remote SDP offer, to be carried by - * subsequent response (or request). - * - * @param inv The invite session. - * @param sdp The SDP description which will be set as answer - * to remote. - * - * @return PJ_SUCCESS if local answer can be accepted by - * SDP negotiator. - */ -PJ_DECL(pj_status_t) pjsip_inv_set_sdp_answer(pjsip_inv_session *inv, - const pjmedia_sdp_session *sdp ); - - -/** - * Create a SIP message to initiate invite session termination. Depending on - * the state of the session, this function may return CANCEL request, - * a non-2xx final response, a BYE request, or even no request. - * - * For UAS, if the session has not answered the incoming INVITE, this function - * creates the non-2xx final response with the specified status code in - * \a st_code and optional status text in \a st_text. - * - * For UAC, if the original INVITE has not been answered with a final - * response, the behavior depends on whether provisional response has been - * received. If provisional response has been received, this function will - * create CANCEL request. If no provisional response has been received, the - * function will not create CANCEL request (the function will return - * PJ_SUCCESS but the \a p_tdata will contain NULL) because we cannot send - * CANCEL before receiving provisional response. If then a provisional - * response is received, the invite session will send CANCEL automatically. - * - * For both UAC and UAS, if the INVITE session has been answered with final - * response, a BYE request will be created. - * - * @param inv The invite session. - * @param st_code Status code to be used for terminating the session. - * @param st_text Optional status text. - * @param p_tdata Pointer to receive the message to be created. Note - * that it's possible to receive NULL here while the - * function returns PJ_SUCCESS, see the description. - * - * @return PJ_SUCCESS if termination is initiated. - */ -PJ_DECL(pj_status_t) pjsip_inv_end_session( pjsip_inv_session *inv, - int st_code, - const pj_str_t *st_text, - pjsip_tx_data **p_tdata ); - - - -/** - * Create a re-INVITE request. - * - * @param inv The invite session. - * @param new_contact If application wants to update its local contact and - * inform peer to perform target refresh with a new - * contact, it can specify the new contact in this - * argument; otherwise this argument must be NULL. - * @param new_offer Application MAY initiate a new SDP offer/answer - * session in the request when there is no pending - * answer to be sent or received. It can detect this - * condition by observing the state of the SDP - * negotiator of the invite session. If new offer - * should be sent to remote, the offer must be specified - * in this argument, otherwise it must be NULL. - * @param p_tdata Pointer to receive the re-INVITE request message to - * be created. - * - * @return PJ_SUCCESS if a re-INVITE request with the specified - * characteristics (e.g. to contain new offer) can be - * created. - */ -PJ_DECL(pj_status_t) pjsip_inv_reinvite(pjsip_inv_session *inv, - const pj_str_t *new_contact, - const pjmedia_sdp_session *new_offer, - pjsip_tx_data **p_tdata ); - - - -/** - * Create an UPDATE request to initiate new SDP offer. - * - * @param inv The invite session. - * @param new_contact If application wants to update its local contact - * and inform peer to perform target refresh with a new - * contact, it can specify the new contact in this - * argument; otherwise this argument must be NULL. - * @param offer Offer to be sent to remote. This argument is - * mandatory. - * @param p_tdata Pointer to receive the UPDATE request message to - * be created. - * - * @return PJ_SUCCESS if a UPDATE request with the specified - * characteristics (e.g. to contain new offer) can be - * created. - */ -PJ_DECL(pj_status_t) pjsip_inv_update ( pjsip_inv_session *inv, - const pj_str_t *new_contact, - const pjmedia_sdp_session *offer, - pjsip_tx_data **p_tdata ); - - -/** - * Create an ACK request. Normally ACK request transmission is handled - * by the framework. Application only needs to use this function if it - * handles the ACK transmission manually, by overriding \a on_send_ack() - * callback in #pjsip_inv_callback. - * - * Note that if the invite session has a pending offer to be answered - * (for example when the last 2xx response to INVITE contains an offer), - * application MUST have set the SDP answer with #pjsip_create_sdp_body() - * prior to creating the ACK request. In this case, the ACK request - * will be added with SDP message body. - * - * @param inv The invite session. - * @param cseq Mandatory argument to specify the CSeq of the - * ACK request. This value MUST match the value - * of the INVITE transaction to be acknowledged. - * @param p_tdata Pointer to receive the ACK request message to - * be created. - * - * @return PJ_SUCCESS if ACK request has been created. - */ -PJ_DECL(pj_status_t) pjsip_inv_create_ack(pjsip_inv_session *inv, - int cseq, - pjsip_tx_data **p_tdata); - - -/** - * Send request or response message in tdata. - * - * @param inv The invite session. - * @param tdata The message to be sent. - * - * @return PJ_SUCCESS if transaction can be initiated - * successfully to send this message. Note that the - * actual final state of the transaction itself will - * be reported later, in on_tsx_state_changed() - * callback. - */ -PJ_DECL(pj_status_t) pjsip_inv_send_msg(pjsip_inv_session *inv, - pjsip_tx_data *tdata); - - -/** - * Get the invite session for the dialog, if any. - * - * @param dlg The dialog which invite session is being queried. - * - * @return The invite session instance which has been - * associated with this dialog, or NULL. - */ -PJ_DECL(pjsip_inv_session*) pjsip_dlg_get_inv_session(pjsip_dialog *dlg); - -/** - * Get the invite session instance associated with transaction tsx, if any. - * - * @param tsx The transaction, which invite session is being - * queried. - * - * @return The invite session instance which has been - * associated with this transaction, or NULL. - */ -PJ_DECL(pjsip_inv_session*) pjsip_tsx_get_inv_session(pjsip_transaction *tsx); - - -/** - * Get state names for INVITE session state. - * - * @param state The invite state. - * - * @return String describing the state. - */ -PJ_DECL(const char *) pjsip_inv_state_name(pjsip_inv_state state); - - -/** - * This is a utility function to create SIP body for SDP content. - * - * @param pool Pool to allocate memory. - * @param sdp SDP session to be put in the SIP message body. - * @param p_body Pointer to receive SIP message body containing - * the SDP session. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_create_sdp_body(pj_pool_t *pool, - pjmedia_sdp_session *sdp, - pjsip_msg_body **p_body); - -/** - * Retrieve SDP information from an incoming message. Application should - * prefer to use this function rather than parsing the SDP manually since - * this function supports multipart message body. - * - * This function will only parse the SDP once, the first time it is called - * on the same message. Subsequent call on the same message will just pick - * up the already parsed SDP from the message. - * - * @param rdata The incoming message. - * - * @return The SDP info. - */ -PJ_DECL(pjsip_rdata_sdp_info*) pjsip_rdata_get_sdp_info(pjsip_rx_data *rdata); - - -PJ_END_DECL - -/** - * @} - */ - - -#endif /* __SIP_INVITE_SESSION_H__ */ diff --git a/res/pjproject/pjsip/include/pjsip-ua/sip_regc.h b/res/pjproject/pjsip/include/pjsip-ua/sip_regc.h deleted file mode 100644 index c2aec0c8d4..0000000000 --- a/res/pjproject/pjsip/include/pjsip-ua/sip_regc.h +++ /dev/null @@ -1,401 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIP_REG_H__ -#define __PJSIP_SIP_REG_H__ - -/** - * @file sip_regc.h - * @brief SIP Registration Client - */ - -#include -#include -#include - - -/** - * @defgroup PJSUA_REGC Client Registration - * @ingroup PJSIP_HIGH_UA - * @brief High Layer API for performing client registration. - * @{ - * - * This provides API for performing client registration. Application must - * link with pjsip-ua static library to use this API. - - */ - - -PJ_BEGIN_DECL - -/** Typedef for client registration data. */ -typedef struct pjsip_regc pjsip_regc; - -/** Maximum contacts in registration. */ -#define PJSIP_REGC_MAX_CONTACT 10 - -/** Expiration not specified. */ -#define PJSIP_REGC_EXPIRATION_NOT_SPECIFIED ((pj_uint32_t)0xFFFFFFFFUL) - -/** Buffer to hold all contacts. */ -#define PJSIP_REGC_CONTACT_BUF_SIZE 512 - -/** Structure to hold parameters when calling application's callback. - * The application's callback is called when the client registration process - * has finished. - */ -struct pjsip_regc_cbparam -{ - pjsip_regc *regc; /**< Client registration structure. */ - void *token; /**< Arbitrary token set by application */ - - /** Error status. If this value is non-PJ_SUCCESS, some error has occured. - * Note that even when this contains PJ_SUCCESS the registration might - * have failed; in this case the \a code field will contain non - * successful (non-2xx status class) code - */ - pj_status_t status; - int code; /**< SIP status code received. */ - pj_str_t reason; /**< SIP reason phrase received. */ - pjsip_rx_data *rdata; /**< The complete received response. */ - int expiration;/**< Next expiration interval. */ - int contact_cnt;/**". If no "<" and ">" are - * present, all parameters after the URI are header - * parameters, not URI parameters. The display name - * can be tokens, or a quoted string, if a larger - * character set is desired. - * @param expires Default expiration interval (in seconds) to be applied for - * contact URL that doesn't have expiration settings. If the - * value PJSIP_REGC_EXPIRATION_NOT_SPECIFIED is given, then - * no default expiration will be applied. - * @return zero on success. - */ -PJ_DECL(pj_status_t) pjsip_regc_init(pjsip_regc *regc, - const pj_str_t *srv_url, - const pj_str_t *from_url, - const pj_str_t *to_url, - int ccnt, - const pj_str_t contact[], - pj_uint32_t expires); - -/** - * Set the number of seconds to refresh the client registration before - * the registration expires. - * - * @param regc The registration structure. - * @param delay The number of seconds to refresh the client - * registration before the registration expires. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjsip_regc_set_delay_before_refresh( pjsip_regc *regc, - pj_uint32_t delay ); - - -/** - * Set authentication credentials to use by this registration. - * - * @param regc The registration structure. - * @param count Number of credentials in the array. - * @param cred Array of credentials. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_regc_set_credentials( pjsip_regc *regc, - int count, - const pjsip_cred_info cred[] ); - -/** - * Set authentication preference. - * - * @param regc The registration structure. - * @param pref Authentication preference. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_regc_set_prefs( pjsip_regc *regc, - const pjsip_auth_clt_pref *pref); - -/** - * Set route set to be used for outgoing requests. - * - * @param regc The client registration structure. - * @param route_set List containing Route headers. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_regc_set_route_set(pjsip_regc *regc, - const pjsip_route_hdr*route_set); - - -/** - * Lock/bind client registration to a specific transport/listener. - * This is optional, as normally transport will be selected automatically - * based on the destination of requests upon resolver completion. - * When the client registration is explicitly bound to the specific - * transport/listener, all UAC transactions originated by the client - * registration will use the specified transport/listener when sending - * outgoing requests. - * - * Note that this doesn't affect the Contact header set for this client - * registration. Application must manually update the Contact header if - * necessary, to adjust the address according to the transport being - * selected. - * - * @param regc The client registration instance. - * @param sel Transport selector containing the specification of - * transport or listener to be used by this session - * to send requests. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_regc_set_transport(pjsip_regc *regc, - const pjsip_tpselector *sel); - -/** - * Release the reference to current transport being used by the regc, if any. - * The regc keeps the reference to the last transport being used in order - * to prevent it from being destroyed. In some situation however, such as - * when the transport is disconnected, it is necessary to instruct the - * regc to release this reference so that the transport can be destroyed. - * See https://trac.pjsip.org/repos/ticket/1481 for background info. - * - * @param regc The client registration instance. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_regc_release_transport(pjsip_regc *regc); - -/** - * Add headers to be added to outgoing REGISTER requests. - * - * @param regc The client registration structure. - * @param hdr_list List containing SIP headers to be added for all outgoing - * REGISTER requests. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_regc_add_headers(pjsip_regc *regc, - const pjsip_hdr *hdr_list); - - -/** - * Create REGISTER request for the specified client registration structure. - * - * After successfull registration, application can inspect the contacts in - * the client registration structure to list what contacts are associaciated - * with the address of record being targeted in the registration. - * - * @param regc The client registration structure. - * @param autoreg If non zero, the library will automatically refresh the - * next registration until application unregister. - * @param p_tdata Pointer to receive the REGISTER request. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_regc_register(pjsip_regc *regc, pj_bool_t autoreg, - pjsip_tx_data **p_tdata); - - -/** - * Create REGISTER request to unregister the contacts that were previously - * registered by this client registration. - * - * @param regc The client registration structure. - * @param p_tdata Pointer to receive the REGISTER request. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_regc_unregister(pjsip_regc *regc, - pjsip_tx_data **p_tdata); - -/** - * Create REGISTER request to unregister all contacts from server records. - * Note that this will unregister all registered contact for the AOR - * including contacts registered by other user agents. To only unregister - * contact registered by this client registration instance, use - * #pjsip_regc_unregister() instead. - * - * @param regc The client registration structure. - * @param p_tdata Pointer to receive the REGISTER request. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_regc_unregister_all(pjsip_regc *regc, - pjsip_tx_data **p_tdata); - -/** - * Update Contact details in the client registration structure. For each - * contact, if the contact is not found in existing contact, it will be - * added to the Contact list. If it matches existing contact, nothing - * will be added. This function will also mark existing contacts which - * are not specified in the new contact list as to be removed, by adding - * "expires=0" parameter to these contacts. - * - * Once the contact list has been updated, application must update the - * registration by creating a new REGISTER request and send it to the - * registrar. This request will contain both old and new contacts; the - * old contacts will have it's expires parameter set to zero to instruct - * the registrar to remove the bindings. - * - * @param regc The client registration structure. - * @param ccnt Number of contacts. - * @param contact Array of contacts, each contact item must be formatted - * as described in RFC 3261 Section 20.10: - * When the header field value contains a display - * name, the URI including all URI parameters is - * enclosed in "<" and ">". If no "<" and ">" are - * present, all parameters after the URI are header - * parameters, not URI parameters. The display name - * can be tokens, or a quoted string, if a larger - * character set is desired. - * @return PJ_SUCCESS if sucessfull. - */ -PJ_DECL(pj_status_t) pjsip_regc_update_contact( pjsip_regc *regc, - int ccnt, - const pj_str_t contact[] ); - -/** - * Update the expires value. The next REGISTER request will contain - * new expires value for the registration. - * - * @param regc The client registration structure. - * @param expires The new expires value. - * @return zero on successfull. - */ -PJ_DECL(pj_status_t) pjsip_regc_update_expires( pjsip_regc *regc, - pj_uint32_t expires ); - -/** - * Sends outgoing REGISTER request. - * The process will complete asynchronously, and application - * will be notified via the callback when the process completes. - * - * @param regc The client registration structure. - * @param tdata Transmit data. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_regc_send(pjsip_regc *regc, pjsip_tx_data *tdata); - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJSIP_REG_H__ */ diff --git a/res/pjproject/pjsip/include/pjsip-ua/sip_replaces.h b/res/pjproject/pjsip/include/pjsip-ua/sip_replaces.h deleted file mode 100644 index aff4449861..0000000000 --- a/res/pjproject/pjsip/include/pjsip-ua/sip_replaces.h +++ /dev/null @@ -1,301 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_REPLACES_H__ -#define __PJSIP_REPLACES_H__ - - -/** - * @file sip_replaces.h - * @brief SIP Replaces support (RFC 3891 - SIP "Replaces" Header) - */ -#include - -/** - * @defgroup PJSIP_REPLACES SIP Replaces support (RFC 3891 - "Replaces" Header) - * @ingroup PJSIP_HIGH_UA - * @brief SIP Replaces support (RFC 3891 - "Replaces" Header) - * @{ - * - * This module implements support for Replaces header in PJSIP. The Replaces - * specification is written in RFC 3891 - The Session Initiation Protocol (SIP) - * "Replaces" Header, and can be used to enable a variety of features, - * for example: "Attended Transfer" and "Call Pickup". - * - * - * - * \section PJSIP_REPLACES_USING_SEC Using PJSIP Replaces Support - * - * \subsection PJSIP_REPLACES_INIT_SUBSEC Initialization - * - * Application needs to call #pjsip_replaces_init_module() during application - * initialization stage to register "replaces" support in PJSIP. - * - * - * - * \subsection PJSIP_REPLACES_UAC_SUBSEC UAC Behavior: Sending a Replaces Header - * - * A User Agent that wishes to replace a single existing early or - * confirmed dialog with a new dialog of its own, MAY send the target - * User Agent an INVITE request containing a Replaces header field. The - * User Agent Client (UAC) places the Call-ID, to-tag, and from-tag - * information for the target dialog in a single Replaces header field - * and sends the new INVITE to the target. - * - * To initiate outgoing INVITE request with Replaces header, application - * would create the INVITE request with #pjsip_inv_invite(), then adds - * #pjsip_replaces_hdr instance into the request, filling up the Call-ID, - * To-tag, and From-tag properties of the header with the identification - * of the dialog to be replaced. Application may also optionally - * set the \a early_only property of the header to indicate that it only - * wants to replace early dialog. - * - * Note that when the outgoing INVITE request (with Replaces) is initiated - * from an incoming REFER request (as in Attended Call Transfer case), - * this process should be done rather more automatically by PJSIP. Upon - * receiving incoming incoming REFER request, normally these processes - * will be performed: - * - Application finds \a Refer-To header, - * - Application creates outgoing dialog/invite session, specifying - * the URI in the \a Refer-To header as the initial remote target, - * - The URI in the \a Refer-To header may contain header parameters such - * as \a Replaces and \a Require headers. - * - The dialog keeps the header fields in the header parameters - * of the URI, and the invite session would add these headers into - * the outgoing INVITE request. Because of this, the outgoing - * INVITE request will contain the \a Replaces and \a Require headers. - * - * - * For more information, please see the implementation of - * #pjsua_call_xfer_replaces() in \ref PJSUA_LIB source code. - * - * - * \subsection PJSIP_REPLACES_UAS_SUBSEC UAS Behavior: Receiving a Replaces Header - * - * The Replaces header contains information used to match an existing - * SIP dialog (call-id, to-tag, and from-tag). Upon receiving an INVITE - * with a Replaces header, the User Agent (UA) attempts to match this - * information with a confirmed or early dialog. - * - * In PJSIP, if application wants to process the Replaces header in the - * incoming INVITE request, it should call #pjsip_replaces_verify_request() - * before creating the INVITE session. The #pjsip_replaces_verify_request() - * function checks and verifies the request to see if Replaces request - * can be processed. To be more specific, it performs the following - * verification: - * - checks that Replaces header is present. If not, the function will - * return PJ_SUCCESS without doing anything. - * - checks that no duplicate Replaces headers are present, or otherwise - * it will return 400 "Bad Request" response. - * - checks for matching dialog and verifies that the invite session has - * the correct state, and may return 481 "Call/Transaction Does Not Exist", - * 603 "Declined", or 486 "Busy Here" according to the processing rules - * specified in RFC 3891. - * - if matching dialog with correct state is found, it will give PJ_SUCCESS - * status and return the matching dialog back to the application. - * - * The following pseudocode illustrates how application can process the - * incoming INVITE if it wants to support Replaces extension: - * - \code - // Incoming INVITE request handler - pj_bool_t on_rx_invite(pjsip_rx_data *rdata) - { - pjsip_dialog *dlg, *replaced_dlg; - pjsip_inv_session *inv; - pjsip_tx_data *response; - pj_status_t status; - - // Check whether Replaces header is present in the request and process accordingly. - // - status = pjsip_replaces_verify_request(rdata, &replaced_dlg, PJ_FALSE, &response); - if (status != PJ_SUCCESS) { - // Something wrong with Replaces request. - // - if (response) { - pjsip_endpt_send_response(endpt, rdata, response, NULL, NULL); - } else { - // Respond with 500 (Internal Server Error) - pjsip_endpt_respond_stateless(endpt, rdata, 500, NULL, NULL, NULL); - } - } - - // Create UAS Invite session as usual. - // - status = pjsip_dlg_create_uas(.., rdata, .., &dlg); - .. - status = pjsip_inv_create_uas(dlg, .., &inv); - - // Send initial 100 "Trying" to the INVITE request - // - status = pjsip_inv_initial_answer(inv, rdata, 100, ..., &response); - if (status == PJ_SUCCESS) - pjsip_inv_send_msg(inv, response); - - - // This is where processing is different between normal call - // (without Replaces) and call with Replaces. - // - if (replaced_dlg) { - pjsip_inv_session *replaced_inv; - - // Always answer the new INVITE with 200, regardless whether - // the replaced call is in early or confirmed state. - // - status = pjsip_inv_answer(inv, 200, NULL, NULL, &response); - if (status == PJ_SUCCESS) - pjsip_inv_send_msg(inv, response); - - - // Get the INVITE session associated with the replaced dialog. - // - replaced_inv = pjsip_dlg_get_inv_session(replaced_dlg); - - - // Disconnect the "replaced" INVITE session. - // - status = pjsip_inv_end_session(replaced_inv, PJSIP_SC_GONE, NULL, &tdata); - if (status == PJ_SUCCESS && tdata) - status = pjsip_inv_send_msg(replaced_inv, tdata); - - - // It's up to application to associate the new INVITE session - // with the old (now terminated) session. For example, application - // may assign the same User Interface object for the new INVITE - // session. - - } else { - // Process normal INVITE without Replaces. - ... - } - } - - \endcode - * - * - * For a complete sample implementation, please see \a pjsua_call_on_incoming() - * function of \ref PJSUA_LIB in \a pjsua_call.c file. - * - * - * \section PJSIP_REPLACES_REFERENCE References - * - * References: - * - RFC 3891: The Session - * Initiation Protocol (SIP) "Replaces" Header - * - \ref PJSUA_XFER - */ - -PJ_BEGIN_DECL - - -/** - * Declaration of SIP Replaces header (RFC 3891). - */ -typedef struct pjsip_replaces_hdr -{ - /** Standard header field. */ - PJSIP_DECL_HDR_MEMBER(struct pjsip_replaces_hdr); - - /** Call-Id */ - pj_str_t call_id; - - /** to-tag */ - pj_str_t to_tag; - - /** from-tag */ - pj_str_t from_tag; - - /** early-only? */ - pj_bool_t early_only; - - /** Other parameters */ - pjsip_param other_param; - -} pjsip_replaces_hdr; - - - -/** - * Initialize Replaces support in PJSIP. This would, among other things, - * register the header parser for Replaces header. - * - * @param endpt The endpoint instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_replaces_init_module(pjsip_endpoint *endpt); - - -/** - * Create Replaces header. - * - * @param pool Pool to allocate the header instance from. - * - * @return An empty Replaces header instance. - */ -PJ_DECL(pjsip_replaces_hdr*) pjsip_replaces_hdr_create(pj_pool_t *pool); - - -/** - * Verify that incoming request with Replaces header can be processed. - * This function will perform all necessary checks according to RFC 3891 - * Section 3 "User Agent Server Behavior: Receiving a Replaces Header". - * - * @param rdata The incoming request to be verified. - * @param p_dlg On return, it will be filled with the matching - * dialog. - * @param lock_dlg Specifies whether this function should acquire lock - * to the matching dialog. If yes (and should be yes!), - * then application will need to release the dialog's - * lock with #pjsip_dlg_dec_lock() when the function - * returns PJ_SUCCESS and the \a p_dlg parameter is filled - * with the dialog instance. - * @param p_tdata Upon error, it will be filled with the final response - * to be sent to the request sender. - * - * @return The function returns the following: - * - If the request doesn't contain Replaces header, the - * function returns PJ_SUCCESS and \a p_dlg parameter - * will be set to NULL. - * - If the request contains Replaces header and a valid, - * matching dialog is found, the function returns - * PJ_SUCCESS and \a p_dlg parameter will be set to the - * matching dialog instance. - * - Upon error condition (as described by RFC 3891), the - * function returns non-PJ_SUCCESS, and \a p_tdata - * parameter SHOULD be set with a final response message - * to be sent to the sender of the request. - */ -PJ_DECL(pj_status_t) pjsip_replaces_verify_request(pjsip_rx_data *rdata, - pjsip_dialog **p_dlg, - pj_bool_t lock_dlg, - pjsip_tx_data **p_tdata); - - - -PJ_END_DECL - - -/** - * @} - */ - - -#endif /* __PJSIP_REPLACES_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip-ua/sip_timer.h b/res/pjproject/pjsip/include/pjsip-ua/sip_timer.h deleted file mode 100644 index aac4e68944..0000000000 --- a/res/pjproject/pjsip/include/pjsip-ua/sip_timer.h +++ /dev/null @@ -1,262 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_TIMER_H__ -#define __PJSIP_TIMER_H__ - - -/** - * @file sip_timer.h - * @brief SIP Session Timers support (RFC 4028 - Session Timer in SIP) - */ - -#include -#include - -/** - * @defgroup PJSIP_TIMER SIP Session Timers support (RFC 4028 - Session Timers in SIP) - * @ingroup PJSIP_HIGH_UA - * @brief SIP Session Timers support (RFC 4028 - Session Timers in SIP) - * @{ - * - * \section PJSIP_TIMER_REFERENCE References - * - * References: - * - RFC 4028: Session Timers - * in the Session Initiation Protocol (SIP) - */ - -PJ_BEGIN_DECL - -/** - * Opaque declaration of Session Timers. - */ -typedef struct pjsip_timer pjsip_timer; - - -/** - * This structure describes Session Timers settings in an invite session. - */ -typedef struct pjsip_timer_setting -{ - /** - * Specify minimum session expiration period, in seconds. Must not be - * lower than 90. Default is 90. - */ - unsigned min_se; - - /** - * Specify session expiration period, in seconds. Must not be lower than - * #min_se. Default is 1800. - */ - unsigned sess_expires; - -} pjsip_timer_setting; - - -/** - * SIP Session-Expires header (RFC 4028). - */ -typedef struct pjsip_sess_expires_hdr -{ - /** Standard header field. */ - PJSIP_DECL_HDR_MEMBER(struct pjsip_sess_expires_hdr); - - /** Session expiration period */ - unsigned sess_expires; - - /** Refresher */ - pj_str_t refresher; - - /** Other parameters */ - pjsip_param other_param; - -} pjsip_sess_expires_hdr; - - -/** - * SIP Min-SE header (RFC 4028). - */ -typedef struct pjsip_min_se_hdr -{ - /** Standard header field. */ - PJSIP_DECL_HDR_MEMBER(struct pjsip_min_se_hdr); - - /** Minimum session expiration period */ - unsigned min_se; - - /** Other parameters */ - pjsip_param other_param; - -} pjsip_min_se_hdr; - - - -/** - * Initialize Session Timers module. This function must be called once during - * application initialization, to register this module to SIP endpoint. - * - * @param endpt The SIP endpoint instance. - * - * @return PJ_SUCCESS if module is successfully initialized. - */ -PJ_DECL(pj_status_t) pjsip_timer_init_module(pjsip_endpoint *endpt); - - -/** - * Initialize Session Timers setting with default values. - * - * @param setting Session Timers setting to be initialized. - * - * @return PJ_SUCCESS on successful. - */ -PJ_DECL(pj_status_t) pjsip_timer_setting_default(pjsip_timer_setting *setting); - - -/** - * Initialize Session Timers for an invite session. This function should be - * called by application to apply Session Timers setting, otherwise invite - * session will apply default setting to the Session Timers. - * - * @param inv The invite session. - * @param setting Session Timers setting, see @pjsip_timer_setting. - * If setting is NULL, default setting will be applied. - * - * @return PJ_SUCCESS on successful. - */ -PJ_DECL(pj_status_t) pjsip_timer_init_session( - pjsip_inv_session *inv, - const pjsip_timer_setting *setting); - - -/** - * Create Session-Expires header. - * - * @param pool Pool to allocate the header instance from. - * - * @return An empty Session-Expires header instance. - */ -PJ_DECL(pjsip_sess_expires_hdr*) pjsip_sess_expires_hdr_create( - pj_pool_t *pool); - - -/** - * Create Min-SE header. - * - * @param pool Pool to allocate the header instance from. - * - * @return An empty Min-SE header instance. - */ -PJ_DECL(pjsip_min_se_hdr*) pjsip_min_se_hdr_create(pj_pool_t *pool); - - -/** - * Update outgoing request to insert Session Timers headers and also - * signal Session Timers capability in Supported and/or Require headers. - * - * This function will be called internally by the invite session if it - * detects that the session needs Session Timers support. - * - * @param inv The invite session. - * @param tdata Outgoing INVITE or UPDATE request. - * - * @return PJ_SUCCESS on successful. - */ -PJ_DECL(pj_status_t) pjsip_timer_update_req(pjsip_inv_session *inv, - pjsip_tx_data *tdata); - - -/** - * Process Session Timers headers in incoming response, this function - * will only process incoming response with status code 422 (Session - * Interval Too Small) or 2xx (final response). - * - * This function will be called internally by the invite session if it - * detects that the session needs Session Timers support. - * - * @param inv The invite session. - * @param rdata Incoming response data. - * @param st_code Output buffer to store corresponding SIP status code - * when function returning non-PJ_SUCCESS. - * - * @return PJ_SUCCESS on successful. - */ -PJ_DECL(pj_status_t) pjsip_timer_process_resp(pjsip_inv_session *inv, - const pjsip_rx_data *rdata, - pjsip_status_code *st_code); - - -/** - * Process Session Timers headers in incoming request, this function - * will only process incoming INVITE and UPDATE request. - * - * This function will be called internally by the invite session if it - * detects that the session needs Session Timers support. - * - * @param inv The invite session. - * @param rdata Incoming INVITE or UPDATE request. - * @param st_code Output buffer to store corresponding SIP status code - * when function returning non-PJ_SUCCESS. - * - * @return PJ_SUCCESS on successful. - */ -PJ_DECL(pj_status_t) pjsip_timer_process_req(pjsip_inv_session *inv, - const pjsip_rx_data *rdata, - pjsip_status_code *st_code); - - -/** - * Update outgoing response to insert Session Timers headers and also - * signal Session Timers capability in Supported and/or Require headers. - * This function will only update outgoing response with status code - * 422 (Session Interval Too Small) or 2xx (final response). - * - * This function will be called internally by the invite session if it - * detects that the session needs Session Timers support. - * - * @param inv The invite session. - * @param tdata Outgoing 422/2xx response. - * - * @return PJ_SUCCESS on successful. - */ -PJ_DECL(pj_status_t) pjsip_timer_update_resp(pjsip_inv_session *inv, - pjsip_tx_data *tdata); - -/** - * End Session Timers in an invite session. - * - * This function will be called internally by the invite session if it - * detects that the session needs Session Timers support. - * - * @param inv The invite session. - * - * @return PJ_SUCCESS on successful. - */ -PJ_DECL(pj_status_t) pjsip_timer_end_session(pjsip_inv_session *inv); - - - -PJ_END_DECL - - -/** - * @} - */ - - -#endif /* __PJSIP_TIMER_H__ */ diff --git a/res/pjproject/pjsip/include/pjsip-ua/sip_xfer.h b/res/pjproject/pjsip/include/pjsip-ua/sip_xfer.h deleted file mode 100644 index b8d8126383..0000000000 --- a/res/pjproject/pjsip/include/pjsip-ua/sip_xfer.h +++ /dev/null @@ -1,208 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_XFER_H__ -#define __PJSIP_XFER_H__ - - - -/** - * @file sip_xfer.h - * @brief SIP Transfer (REFER, RFC 3515) - */ -#include -#include - -/** - * @defgroup PJSUA_XFER SIP REFER (RFC 3515) for Call Transfer etc. - * @ingroup PJSIP_HIGH_UA - * @brief SIP REFER dialog usage (call transfer, etc.) - * @{ - * - * This describes a generic handling of SIP REFER request. The SIP REFER - * request is described in RFC 3515, and commonly used to perform call - * transfer functionality. Other types of SIP REFER usages are described - * in draft-worley-sip-many-refers-00 draft, for example: - * - Remote Dial: where UAC sends REFER to instruct REFER recipient to - * initiate an INVITE session to some target. - * - * A REFER request can be sent inside or outside existing dialog context, - * although for call transfer case, it is more common to send REFER inside - * existing INVITE session context. PJSIP supports both sending REFER request - * inside or outside dialog context. - * - * The REFER framework uses @ref PJSIP_EVENT_NOT to manage the event - * subscription created by the REFER request. Because of this, application - * must link with pjsip-ua AND pjsip-simple static libraries - * to use REFER functionality. - * - * Reference: - * - RFC 3515: The Session - * Initiation Protocol (SIP) Refer Method - * - @ref PJSIP_EVENT_NOT - */ - - -PJ_BEGIN_DECL - - -/** Declaration for REFER method constant. */ -PJ_DECL_DATA(const pjsip_method) pjsip_refer_method; - -/** Get REFER method constant */ -PJ_DECL(const pjsip_method*) pjsip_get_refer_method(void); - - -/** - * Initialize the REFER subsystem. - * This currently does very little (only register REFER as supported method). - */ -PJ_DECL(pj_status_t) pjsip_xfer_init_module(pjsip_endpoint *endpt); - - - -/** - * Create transferer (sender of REFER request). - * - * @param dlg The underlying dialog to use. - * @param user_cb Pointer to callbacks to receive presence subscription - * events. - * @param p_evsub Pointer to receive the presence subscription - * session. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_xfer_create_uac( pjsip_dialog *dlg, - const pjsip_evsub_user *user_cb, - pjsip_evsub **p_evsub ); - - -/** - * Create transferee (receiver of REFER request). - * - * @param dlg The underlying dialog to use. - * @param user_cb Pointer to callbacks to receive presence subscription - * events. - * @param rdata The incoming SUBSCRIBE request that creates the event - * subscription. - * @param p_evsub Pointer to receive the presence subscription - * session. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_xfer_create_uas( pjsip_dialog *dlg, - const pjsip_evsub_user *user_cb, - pjsip_rx_data *rdata, - pjsip_evsub **p_evsub ); - -/** - * Call this function to create request to initiate REFER subscription, - * to refresh subscription, or to unsubscribe. For request other than - * the initial REFER request, "refer_to_uri" argument may be NULL. - * - * @param sub Client subscription instance. - * @param refer_to_uri URI to be put to the Refer-To header. This argument - * may be NULL for subsequent REFER requests. - * @param p_tdata Pointer to receive the request. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_xfer_initiate( pjsip_evsub *sub, - const pj_str_t *refer_to_uri, - pjsip_tx_data **p_tdata); - - -/** - * Accept the incoming REFER request by sending 2xx response. - * - * @param sub Server subscription instance. - * @param rdata The incoming subscription request message. - * @param st_code Status code, which MUST be 2xx. - * @param hdr_list Optional list of headers to be added in the response. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_xfer_accept( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int st_code, - const pjsip_hdr *hdr_list ); - - -/** - * For notifier, create NOTIFY request to subscriber, and set the state - * of the subscription. - * - * @param sub The server subscription (notifier) instance. - * @param state New state to set. - * @param xfer_st_code The call status code to be reported with the NOTIFY - * request. - * @param xfer_st_text Optional call status text to be reported with the - * NOTIFY request. If the value is NULL, default - * status text will be used. - * @param p_tdata Pointer to receive the request. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_xfer_notify( pjsip_evsub *sub, - pjsip_evsub_state state, - int xfer_st_code, - const pj_str_t *xfer_st_text, - pjsip_tx_data **p_tdata); - - -/** - * Create NOTIFY request to reflect current subscription status. Application - * can only call this function after it has sent NOTIFY before. - * This will also re-send the last "message/sipfrag" body that was sent - * in the previous NOTIFY. - * - * @param sub Server subscription object. - * @param p_tdata Pointer to receive request. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_xfer_current_notify( pjsip_evsub *sub, - pjsip_tx_data **p_tdata ); - - - -/** - * Send request message that was previously created with initiate(), notify(), - * or current_notify(). Application may also send request created with other - * functions, e.g. authentication. But the request MUST be either request - * that creates/refresh subscription or NOTIFY request. - * - * - * @param sub The event subscription object. - * @param tdata Request message to be send. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_xfer_send_request( pjsip_evsub *sub, - pjsip_tx_data *tdata); - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJSIP_XFER_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip.h b/res/pjproject/pjsip/include/pjsip.h deleted file mode 100644 index 25f6bd0d86..0000000000 --- a/res/pjproject/pjsip/include/pjsip.h +++ /dev/null @@ -1,61 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_H__ -#define __PJSIP_H__ - -/* Base types. */ -#include -#include - -/* Messaging and parsing. */ -#include -#include -#include -#include -#include - -/* Core */ -#include -#include -#include -#include - -/* Transport layer */ -#include -#include -#include -#include -#include -#include - -/* Authentication. */ -#include -#include - -/* Transaction layer. */ -#include - -/* UA Layer. */ -#include -#include - - -#endif /* __PJSIP_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip/print_util.h b/res/pjproject/pjsip/include/pjsip/print_util.h deleted file mode 100644 index 6719d6c4d0..0000000000 --- a/res/pjproject/pjsip/include/pjsip/print_util.h +++ /dev/null @@ -1,141 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_PRINT_H__ -#define __PJSIP_PRINT_H__ - -#define copy_advance_check(buf,str) \ - do { \ - if ((str).slen >= (endbuf-buf)) return -1; \ - pj_memcpy(buf, (str).ptr, (str).slen); \ - buf += (str).slen; \ - } while (0) - -#define copy_advance_pair_check(buf,str1,len1,str2) \ - do { \ - if (str2.slen) { \ - printed = len1+str2.slen; \ - if (printed >= (endbuf-buf)) return -1; \ - pj_memcpy(buf,str1,len1); \ - pj_memcpy(buf+len1, str2.ptr, str2.slen); \ - buf += printed; \ - } \ - } while (0) - -#define copy_advance_pair_quote_check(buf,str1,len1,str2,quotebegin,quoteend) \ - do { \ - if (str2.slen) { \ - printed = len1+str2.slen+2; \ - if (printed >= (endbuf-buf)) return -1; \ - pj_memcpy(buf,str1,len1); \ - *(buf+len1)=quotebegin; \ - pj_memcpy(buf+len1+1, str2.ptr, str2.slen); \ - *(buf+printed-1) = quoteend; \ - buf += printed; \ - } \ - } while (0) - -#define copy_advance_pair_quote(buf,str1,len1,str2,quotebegin,quoteend) \ - do { \ - printed = len1+str2.slen+2; \ - if (printed >= (endbuf-buf)) return -1; \ - pj_memcpy(buf,str1,len1); \ - *(buf+len1)=quotebegin; \ - pj_memcpy(buf+len1+1, str2.ptr, str2.slen); \ - *(buf+printed-1) = quoteend; \ - buf += printed; \ - } while (0) - -#define copy_advance_pair_escape(buf,str1,len1,str2,unres) \ - do { \ - if (str2.slen) { \ - if (len1+str2.slen >= (endbuf-buf)) return -1; \ - pj_memcpy(buf,str1,len1); \ - printed=pj_strncpy2_escape(buf+len1,&str2,(endbuf-buf-len1),&unres);\ - if (printed < 0) return -1; \ - buf += (printed+len1); \ - } \ - } while (0) - - -#define copy_advance_no_check(buf,str) \ - do { \ - pj_memcpy(buf, (str).ptr, (str).slen); \ - buf += (str).slen; \ - } while (0) - -#define copy_advance_escape(buf,str,unres) \ - do { \ - printed = \ - pj_strncpy2_escape(buf, &(str), (endbuf-buf), &(unres)); \ - if (printed < 0) return -1; \ - buf += printed; \ - } while (0) - -#define copy_advance_pair_no_check(buf,str1,len1,str2) \ - if (str2.slen) { \ - pj_memcpy(buf,str1,len1); \ - pj_memcpy(buf+len1, str2.ptr, str2.slen); \ - buf += len1+str2.slen; \ - } - -#define copy_advance copy_advance_check -#define copy_advance_pair copy_advance_pair_check - -#define copy_advance_pair_quote_cond(buf,str1,len1,str2,quotebegin,quoteend) \ - do { \ - if (str2.slen && *str2.ptr!=quotebegin) \ - copy_advance_pair_quote(buf,str1,len1,str2,quotebegin,quoteend); \ - else \ - copy_advance_pair(buf,str1,len1,str2); \ - } while (0) - -/* - * Internal type declarations. - */ -typedef void* (*pjsip_hdr_clone_fptr)(pj_pool_t *, const void*); -typedef int (*pjsip_hdr_print_fptr)(void *hdr, char *buf, pj_size_t len); - -typedef struct pjsip_hdr_name_info_t -{ - char *name; - unsigned name_len; - char *sname; -} pjsip_hdr_name_info_t; - -extern const pjsip_hdr_name_info_t pjsip_hdr_names[]; - -PJ_INLINE(void) init_hdr(void *hptr, pjsip_hdr_e htype, void *vptr) -{ - pjsip_hdr *hdr = (pjsip_hdr*) hptr; - hdr->type = htype; - hdr->name.ptr = pjsip_hdr_names[htype].name; - hdr->name.slen = pjsip_hdr_names[htype].name_len; - if (pjsip_hdr_names[htype].sname) { - hdr->sname.ptr = pjsip_hdr_names[htype].sname; - hdr->sname.slen = 1; - } else { - hdr->sname = hdr->name; - } - hdr->vptr = (pjsip_hdr_vptr*) vptr; - pj_list_init(hdr); -} - -#endif /* __PJSIP_PRINT_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip/sip_auth.h b/res/pjproject/pjsip/include/pjsip/sip_auth.h deleted file mode 100644 index 9b5e2b9d0f..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_auth.h +++ /dev/null @@ -1,519 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_AUTH_SIP_AUTH_H__ -#define __PJSIP_AUTH_SIP_AUTH_H__ - -/** - * @file pjsip_auth.h - * @brief SIP Authorization Module. - */ - -#include -#include - -PJ_BEGIN_DECL - -/** - * @addtogroup PJSIP_AUTH - * @ingroup PJSIP_CORE - * @brief Client and server side authentication framework. - */ - -/** - * @defgroup PJSIP_AUTH_API Authentication API's - * @ingroup PJSIP_AUTH - * @brief Structures and functions to perform authentication. - * @{ - */ - -/** Length of digest string. */ -#define PJSIP_MD5STRLEN 32 - - -/** Type of data in the credential information in #pjsip_cred_info. */ -typedef enum pjsip_cred_data_type -{ - PJSIP_CRED_DATA_PLAIN_PASSWD=0, /**< Plain text password. */ - PJSIP_CRED_DATA_DIGEST =1, /**< Hashed digest. */ - - PJSIP_CRED_DATA_EXT_AKA =16 /**< Extended AKA info is available */ - -} pjsip_cred_data_type; - -/** Authentication's quality of protection (qop) type. */ -typedef enum pjsip_auth_qop_type -{ - PJSIP_AUTH_QOP_NONE, /**< No quality of protection. */ - PJSIP_AUTH_QOP_AUTH, /**< Authentication. */ - PJSIP_AUTH_QOP_AUTH_INT, /**< Authentication with integrity protection. */ - PJSIP_AUTH_QOP_UNKNOWN /**< Unknown protection. */ -} pjsip_auth_qop_type; - - -/** - * Type of callback function to create authentication response. - * Application can specify this callback in \a cb field of the credential info - * (#pjsip_cred_info) and specifying PJSIP_CRED_DATA_DIGEST_CALLBACK as - * \a data_type. When this function is called, most of the fields in the - * \a auth authentication response will have been filled by the framework. - * Application normally should just need to calculate the response digest - * of the authentication response. - * - * @param pool Pool to allocate memory from if application needs to. - * @param chal The authentication challenge sent by server in 401 - * or 401 response, in either Proxy-Authenticate or - * WWW-Authenticate header. - * @param cred The credential that has been selected by the framework - * to authenticate against the challenge. - * @param auth The authentication response which application needs to - * calculate the response digest. - * - * @return Application may return non-PJ_SUCCESS to abort the - * authentication process. When this happens, the - * framework will return failure to the original function - * that requested authentication. - */ -typedef pj_status_t (*pjsip_cred_cb)(pj_pool_t *pool, - const pjsip_digest_challenge *chal, - const pjsip_cred_info *cred, - const pj_str_t *method, - pjsip_digest_credential *auth); - - -/** - * This structure describes credential information. - * A credential information is a static, persistent information that identifies - * username and password required to authorize to a specific realm. - * - * Note that since PJSIP 0.7.0.1, it is possible to make a credential that is - * valid for any realms, by setting the realm to star/wildcard character, - * i.e. realm = pj_str("*");. - */ -struct pjsip_cred_info -{ - pj_str_t realm; /**< Realm. Use "*" to make a credential that - can be used to authenticate against any - challenges. */ - pj_str_t scheme; /**< Scheme (e.g. "digest"). */ - pj_str_t username; /**< User name. */ - int data_type; /**< Type of data (0 for plaintext passwd). */ - pj_str_t data; /**< The data, which can be a plaintext - password or a hashed digest. */ - - /** Extended data */ - union { - /** Digest AKA credential information. Note that when AKA credential - * is being used, the \a data field of this #pjsip_cred_info is - * not used, but it still must be initialized to an empty string. - * Please see \ref PJSIP_AUTH_AKA_API for more information. - */ - struct { - pj_str_t k; /**< Permanent subscriber key. */ - pj_str_t op; /**< Operator variant key. */ - pj_str_t amf; /**< Authentication Management Field */ - pjsip_cred_cb cb; /**< Callback to create AKA digest. */ - } aka; - - } ext; -}; - -/** - * This structure describes cached value of previously sent Authorization - * or Proxy-Authorization header. The authentication framework keeps a list - * of this structure and will resend the same header to the same server - * as long as the method, uri, and nonce stays the same. - */ -typedef struct pjsip_cached_auth_hdr -{ - /** Standard list member */ - PJ_DECL_LIST_MEMBER(struct pjsip_cached_auth_hdr); - - pjsip_method method; /**< To quickly see the method. */ - pjsip_authorization_hdr *hdr; /**< The cached header. */ - -} pjsip_cached_auth_hdr; - - -/** - * This structure describes authentication information for the specified - * realm. Each instance of this structure describes authentication "session" - * between this endpoint and remote server. This "session" information is - * usefull to keep information that persists for more than one challenge, - * such as nonce-count and cnonce value. - * - * Other than that, this structure also keeps the last authorization headers - * that have been sent in the cache list. - */ -typedef struct pjsip_cached_auth -{ - /** Standard list member */ - PJ_DECL_LIST_MEMBER(struct pjsip_cached_auth); - - pj_str_t realm; /**< Realm. */ - pj_bool_t is_proxy; /**< Server type (401/407) */ - pjsip_auth_qop_type qop_value; /**< qop required by server. */ - unsigned stale_cnt; /**< Number of stale retry. */ -#if PJSIP_AUTH_QOP_SUPPORT - pj_uint32_t nc; /**< Nonce count. */ - pj_str_t cnonce; /**< Cnonce value. */ -#endif - pjsip_www_authenticate_hdr *last_chal; /**< Last challenge seen. */ -#if PJSIP_AUTH_HEADER_CACHING - pjsip_cached_auth_hdr cached_hdr;/**< List of cached header for - each method. */ -#endif - -} pjsip_cached_auth; - - -/** - * This structure describes client authentication session preference. - * The preference can be set by calling #pjsip_auth_clt_set_prefs(). - */ -typedef struct pjsip_auth_clt_pref -{ - /** - * If this flag is set, the authentication client framework will - * send an empty Authorization header in each initial request. - * Default is no. - */ - pj_bool_t initial_auth; - - /** - * Specify the algorithm to use when empty Authorization header - * is to be sent for each initial request (see above) - */ - pj_str_t algorithm; - -} pjsip_auth_clt_pref; - - -/** - * Duplicate a client authentication preference setting. - * - * @param pool The memory pool. - * @param dst Destination client authentication preference. - * @param src Source client authentication preference. - */ -PJ_DECL(void) pjsip_auth_clt_pref_dup(pj_pool_t *pool, - pjsip_auth_clt_pref *dst, - const pjsip_auth_clt_pref *src); - - -/** - * This structure describes client authentication sessions. It keeps - * all the information needed to authorize the client against all downstream - * servers. - */ -typedef struct pjsip_auth_clt_sess -{ - pj_pool_t *pool; /**< Pool to use. */ - pjsip_endpoint *endpt; /**< Endpoint where this belongs. */ - pjsip_auth_clt_pref pref; /**< Preference/options. */ - unsigned cred_cnt; /**< Number of credentials. */ - pjsip_cred_info *cred_info; /**< Array of credential information*/ - pjsip_cached_auth cached_auth; /**< Cached authorization info. */ - -} pjsip_auth_clt_sess; - - -/** - * Duplicate a credential info. - * - * @param pool The memory pool. - * @param dst Destination credential. - * @param src Source credential. - */ -PJ_DECL(void) pjsip_cred_info_dup(pj_pool_t *pool, - pjsip_cred_info *dst, - const pjsip_cred_info *src); - -/** - * Compare two credential infos. - * - * @param cred1 The credential info to compare. - * @param cred2 The credential info to compare. - * - * @return 0 if both credentials are equal. - */ -PJ_DECL(int) pjsip_cred_info_cmp(const pjsip_cred_info *cred1, - const pjsip_cred_info *cred2); - - -/** - * Type of function to lookup credential for the specified name. - * - * @param pool Pool to initialize the credential info. - * @param realm Realm to find the account. - * @param acc_name Account name to look for. - * @param cred_info The structure to put the credential when it's found. - * - * @return The function MUST return PJ_SUCCESS when it found - * a correct credential for the specified account and - * realm. Otherwise it may return PJSIP_EAUTHACCNOTFOUND - * or PJSIP_EAUTHACCDISABLED. - */ -typedef pj_status_t pjsip_auth_lookup_cred( pj_pool_t *pool, - const pj_str_t *realm, - const pj_str_t *acc_name, - pjsip_cred_info *cred_info ); - -/** Flag to specify that server is a proxy. */ -#define PJSIP_AUTH_SRV_IS_PROXY 1 - -/** - * This structure describes server authentication information. - */ -typedef struct pjsip_auth_srv -{ - pj_str_t realm; /**< Realm to serve. */ - pj_bool_t is_proxy; /**< Will issue 407 instead of 401 */ - pjsip_auth_lookup_cred *lookup; /**< Lookup function. */ - -} pjsip_auth_srv; - - -/** - * Initialize client authentication session data structure, and set the - * session to use pool for its subsequent memory allocation. The argument - * options should be set to zero for this PJSIP version. - * - * @param sess The client authentication session. - * @param endpt Endpoint where this session belongs. - * @param pool Pool to use. - * @param options Must be zero. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_auth_clt_init( pjsip_auth_clt_sess *sess, - pjsip_endpoint *endpt, - pj_pool_t *pool, - unsigned options); - - -/** - * Clone client initialization session. - * - * @param pool Pool to use. - * @param sess Structure to put the duplicated session. - * @param rhs The client session to be cloned. - * - * @return PJ_SUCCESS on success; - */ -PJ_DECL(pj_status_t) pjsip_auth_clt_clone( pj_pool_t *pool, - pjsip_auth_clt_sess *sess, - const pjsip_auth_clt_sess *rhs); - -/** - * Set the credentials to be used during the session. This will duplicate - * the specified credentials using client authentication's pool. - * - * @param sess The client authentication session. - * @param cred_cnt Number of credentials. - * @param c Array of credentials. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_auth_clt_set_credentials( pjsip_auth_clt_sess *sess, - int cred_cnt, - const pjsip_cred_info *c); - - -/** - * Set the preference for the client authentication session. - * - * @param sess The client authentication session. - * @param p Preference. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_auth_clt_set_prefs(pjsip_auth_clt_sess *sess, - const pjsip_auth_clt_pref *p); - - -/** - * Get the preference for the client authentication session. - * - * @param sess The client authentication session. - * @param p Pointer to receive the preference. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_auth_clt_get_prefs(pjsip_auth_clt_sess *sess, - pjsip_auth_clt_pref *p); - -/** - * Initialize new request message with authorization headers. - * This function will put Authorization/Proxy-Authorization headers to the - * outgoing request message. If caching is enabled (PJSIP_AUTH_HEADER_CACHING) - * and the session has previously sent Authorization/Proxy-Authorization header - * with the same method, then the same Authorization/Proxy-Authorization header - * will be resent from the cache only if qop is not present. If the stack is - * configured to automatically generate next Authorization/Proxy-Authorization - * headers (PJSIP_AUTH_AUTO_SEND_NEXT flag), then new Authorization/Proxy- - * Authorization headers are calculated and generated when they are not present - * in the case or if authorization session has qop. - * - * If both PJSIP_AUTH_HEADER_CACHING flag and PJSIP_AUTH_AUTO_SEND_NEXT flag - * are not set, this function will do nothing. The stack then will only send - * Authorization/Proxy-Authorization to respond 401/407 response. - * - * @param sess The client authentication session. - * @param tdata The request message to be initialized. - * - * @return PJ_SUCCESS if successfull. - */ -PJ_DECL(pj_status_t) pjsip_auth_clt_init_req( pjsip_auth_clt_sess *sess, - pjsip_tx_data *tdata ); - - -/** - * Call this function when a transaction failed with 401 or 407 response. - * This function will reinitialize the original request message with the - * authentication challenge found in the response message, and add the - * new authorization header in the authorization cache. - * - * Note that upon return the reference counter of the new transmit data - * will be set to 1. - * - * @param sess The client authentication session. - * @param rdata The response message containing 401/407 status. - * @param old_request The original request message, which will be re- - * created with authorization info. - * @param new_request Pointer to receive new request message which - * will contain all required authorization headers. - * - * @return PJ_SUCCESS if new request can be successfully - * created to respond all the authentication - * challenges. - */ -PJ_DECL(pj_status_t) pjsip_auth_clt_reinit_req( pjsip_auth_clt_sess *sess, - const pjsip_rx_data *rdata, - pjsip_tx_data *old_request, - pjsip_tx_data **new_request ); - -/** - * Initialize server authorization session data structure to serve the - * specified realm and to use lookup_func function to look for the credential - * info. - * - * @param pool Pool used to initialize the authentication server. - * @param auth_srv The authentication server structure. - * @param realm Realm to be served by the server. - * @param lookup Account lookup function. - * @param options Options, bitmask of: - * - PJSIP_AUTH_SRV_IS_PROXY: to specify that the server - * will authorize clients as a proxy server (instead of - * as UAS), which means that Proxy-Authenticate will - * be used instead of WWW-Authenticate. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_auth_srv_init( pj_pool_t *pool, - pjsip_auth_srv *auth_srv, - const pj_str_t *realm, - pjsip_auth_lookup_cred *lookup, - unsigned options ); - - -/** - * Request the authorization server framework to verify the authorization - * information in the specified request in rdata. - * - * @param auth_srv The server authentication structure. - * @param rdata Incoming request to be authenticated. - * @param status_code When not null, it will be filled with suitable - * status code to be sent to the client. - * - * @return PJ_SUCCESS if request is successfully authenticated. - * Otherwise the function may return one of the - * following error codes: - * - PJSIP_EAUTHNOAUTH - * - PJSIP_EINVALIDAUTHSCHEME - * - PJSIP_EAUTHACCNOTFOUND - * - PJSIP_EAUTHACCDISABLED - * - PJSIP_EAUTHINVALIDREALM - * - PJSIP_EAUTHINVALIDDIGEST - */ -PJ_DECL(pj_status_t) pjsip_auth_srv_verify( pjsip_auth_srv *auth_srv, - pjsip_rx_data *rdata, - int *status_code ); - - -/** - * Add authentication challenge headers to the outgoing response in tdata. - * Application may specify its customized nonce and opaque for the challenge, - * or can leave the value to NULL to make the function fills them in with - * random characters. - * - * @param auth_srv The server authentication structure. - * @param qop Optional qop value. - * @param nonce Optional nonce value. - * @param opaque Optional opaque value. - * @param stale Stale indication. - * @param tdata The outgoing response message. The response must have - * 401 or 407 response code. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_auth_srv_challenge( pjsip_auth_srv *auth_srv, - const pj_str_t *qop, - const pj_str_t *nonce, - const pj_str_t *opaque, - pj_bool_t stale, - pjsip_tx_data *tdata); - -/** - * Helper function to create MD5 digest out of the specified - * parameters. - * - * @param result String to store the response digest. This string - * must have been preallocated by caller with the - * buffer at least PJSIP_MD5STRLEN (32 bytes) in size. - * @param nonce Optional nonce. - * @param nc Nonce count. - * @param cnonce Optional cnonce. - * @param qop Optional qop. - * @param uri URI. - * @param realm Realm. - * @param cred_info Credential info. - * @param method SIP method. - */ -PJ_DECL(void) pjsip_auth_create_digest(pj_str_t *result, - const pj_str_t *nonce, - const pj_str_t *nc, - const pj_str_t *cnonce, - const pj_str_t *qop, - const pj_str_t *uri, - const pj_str_t *realm, - const pjsip_cred_info *cred_info, - const pj_str_t *method); - -/** - * @} - */ - - - -PJ_END_DECL - - -#endif /* __PJSIP_AUTH_SIP_AUTH_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip/sip_auth_aka.h b/res/pjproject/pjsip/include/pjsip/sip_auth_aka.h deleted file mode 100644 index 291e2b07d3..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_auth_aka.h +++ /dev/null @@ -1,213 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_AUTH_SIP_AUTH_AKA_H__ -#define __PJSIP_AUTH_SIP_AUTH_AKA_H__ - -/** - * @file sip_auth_aka.h - * @brief SIP Digest AKA Authorization Module. - */ - -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJSIP_AUTH_AKA_API Digest AKAv1 and AKAv2 Authentication API - * @ingroup PJSIP_AUTH_API - * @brief Digest AKAv1 and AKAv2 Authentication API - * @{ - * - * This module implements HTTP digest authentication using Authentication - * and Key Agreement (AKA) version 1 and version 2 (AKAv1-MD5 and AKAv2-MD5), - * as specified in RFC 3310 and RFC 4169. SIP AKA authentication is used - * by 3GPP and IMS systems. - * - * @section pjsip_aka_using Using Digest AKA Authentication - * - * Support for digest AKA authentication is currently made optional, so - * application needs to declare \a PJSIP_HAS_DIGEST_AKA_AUTH to non-zero - * in config_site.h to enable AKA support: - * - @code - #define PJSIP_HAS_DIGEST_AKA_AUTH 1 - @endcode - - * - * In addition, application would need to link with libmilenage - * library from \a third_party directory. - * - * Application then specifies digest AKA credential by initializing the - * authentication credential as follows: - * - @code - - pjsip_cred_info cred; - - pj_bzero(&cred, sizeof(cred)); - - cred.scheme = pj_str("Digest"); - cred.realm = pj_str("ims-domain.test"); - cred.username = pj_str("user@ims-domain.test"); - cred.data_type = PJSIP_CRED_DATA_PLAIN_PASSWD | PJSIP_CRED_DATA_EXT_AKA; - cred.data = pj_str("password"); - - // AKA extended info - cred.ext.aka.k = pj_str("password"); - cred.ext.aka.cb = &pjsip_auth_create_aka_response - - @endcode - * - * Description: - * - To support AKA, application adds \a PJSIP_CRED_DATA_EXT_AKA flag in the - * \a data_type field. This indicates that extended information specific to - * AKA authentication is available in the credential, and that response - * digest computation will use the callback function instead of the usual MD5 - * digest computation. - * - * - The \a scheme for the credential is "Digest". - * - * - The \a realm is the expected realm in the challenge. Application may - * also specify wildcard realm ("*") if it wishes to respond to any realms - * in the challenge. - * - * - The \a data field is optional. Application may fill this with the password - * if it wants to support both MD5 and AKA MD5 in a single credential. The - * pjsip_auth_create_aka_response() function will use this field if the - * challenge indicates "MD5" as the algorithm instead of "AKAv1-MD5" or - * "AKAv2-MD5". - * - * - The \a ext.aka.k field specifies the permanent subscriber key to be used - * for AKA authentication. Application may specify binary password containing - * NULL character in this key, since the length of the key is indicated in - * the \a slen field of the string. - * - * - The \a ext.aka.cb field specifies the callback function to calculate the - * response digest. Application can specify pjsip_auth_create_aka_response() - * in this field to use PJSIP's implementation, but it's free to provide - * it's own function. - * - * - Optionally application may set \a ext.aka.op and \a ext.aka.amf in the - * credential to specify AKA Operator variant key and AKA Authentication - * Management Field information. - */ - -/** - * Length of Authentication Key (AK) in bytes. - */ -#define PJSIP_AKA_AKLEN 6 - -/** - * Length of Authentication Management Field (AMF) in bytes. - */ -#define PJSIP_AKA_AMFLEN 2 - -/** - * Length of AUTN in bytes. - */ -#define PJSIP_AKA_AUTNLEN 16 - -/** - * Length of Confidentiality Key (CK) in bytes. - */ -#define PJSIP_AKA_CKLEN 16 - -/** - * Length of Integrity Key (AK) in bytes. - */ -#define PJSIP_AKA_IKLEN 16 - -/** - * Length of permanent/subscriber Key (K) in bytes. - */ -#define PJSIP_AKA_KLEN 16 - -/** - * Length of AKA authentication code in bytes. - */ -#define PJSIP_AKA_MACLEN 8 - -/** - * Length of operator key in bytes. - */ -#define PJSIP_AKA_OPLEN 16 - -/** - * Length of random challenge (RAND) in bytes. - */ -#define PJSIP_AKA_RANDLEN 16 - -/** - * Length of response digest in bytes. - */ -#define PJSIP_AKA_RESLEN 8 - -/** - * Length of sequence number (SQN) in bytes. - */ -#define PJSIP_AKA_SQNLEN 6 - -/** - * This function creates MD5, AKAv1-MD5, or AKAv2-MD5 response for - * the specified challenge in \a chal, according to the algorithm - * specified in the challenge, and based on the information in the - * credential \a cred. - * - * Application may register this function as \a ext.aka.cb field of - * #pjsip_cred_info structure to make PJSIP automatically call this - * function to calculate the response digest. To do so, it needs to - * add \a PJSIP_CRED_DATA_EXT_AKA flag in the \a data_type field of - * the credential, and fills up other AKA specific information in - * the credential. - * - * @param pool Pool to allocate memory. - * @param chal The authentication challenge sent by server in 401 - * or 401 response, as either Proxy-Authenticate or - * WWW-Authenticate header. - * @param cred The credential to be used. - * @param method The request method. - * @param auth The digest credential where the digest response - * will be placed to. Upon calling this function, the - * nonce, nc, cnonce, qop, uri, and realm fields of - * this structure must have been set by caller. Upon - * return, the \a response field will be initialized - * by this function. - * - * @return PJ_SUCCESS if response has been created successfully. - */ -PJ_DECL(pj_status_t) pjsip_auth_create_aka_response( - pj_pool_t *pool, - const pjsip_digest_challenge*chal, - const pjsip_cred_info *cred, - const pj_str_t *method, - pjsip_digest_credential *auth); - - -/** - * @} - */ - - - -PJ_END_DECL - - -#endif /* __PJSIP_AUTH_SIP_AUTH_AKA_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip/sip_auth_msg.h b/res/pjproject/pjsip/include/pjsip/sip_auth_msg.h deleted file mode 100644 index 56dec78121..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_auth_msg.h +++ /dev/null @@ -1,252 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_AUTH_SIP_AUTH_MSG_H__ -#define __PJSIP_AUTH_SIP_AUTH_MSG_H__ - -#include - -PJ_BEGIN_DECL - -/** - * @addtogroup PJSIP_MSG_HDR - * @{ - */ - -/** - * Common credential structure represents common credential fields - * present in Authorization/Proxy-Authorization header. - */ -struct pjsip_common_credential -{ - pj_str_t realm; /**< Credential's realm. */ - pjsip_param other_param; /**< Other parameters. */ -}; - -/** - * @see pjsip_common_credential - */ -typedef struct pjsip_common_credential pjsip_common_credential; - - -/** - * This structure describe credential used in Authorization and - * Proxy-Authorization header for digest authentication scheme. - */ -struct pjsip_digest_credential -{ - pj_str_t realm; /**< Realm of the credential */ - pjsip_param other_param; /**< Other parameters. */ - pj_str_t username; /**< Username parameter. */ - pj_str_t nonce; /**< Nonce parameter. */ - pj_str_t uri; /**< URI parameter. */ - pj_str_t response; /**< Response digest. */ - pj_str_t algorithm; /**< Algorithm. */ - pj_str_t cnonce; /**< Cnonce. */ - pj_str_t opaque; /**< Opaque value. */ - pj_str_t qop; /**< Quality of protection. */ - pj_str_t nc; /**< Nonce count. */ -}; - -/** - * @see pjsip_digest_credential - */ -typedef struct pjsip_digest_credential pjsip_digest_credential; - -/** - * This structure describe credential used in Authorization and - * Proxy-Authorization header for PGP authentication scheme. - */ -struct pjsip_pgp_credential -{ - pj_str_t realm; /**< Realm. */ - pjsip_param other_param; /**< Other parameters. */ - pj_str_t version; /**< Version parameter. */ - pj_str_t signature; /**< Signature parameter. */ - pj_str_t signed_by; /**< Signed by parameter. */ - pj_str_t nonce; /**< Nonce parameter. */ -}; - -/** - * @see pjsip_pgp_credential - */ -typedef struct pjsip_pgp_credential pjsip_pgp_credential; - -/** - * This structure describes SIP Authorization header (and also SIP - * Proxy-Authorization header). - */ -struct pjsip_authorization_hdr -{ - /** Standard header fiends. */ - PJSIP_DECL_HDR_MEMBER(struct pjsip_authorization_hdr); - - /** Authorization scheme. */ - pj_str_t scheme; - - /** Type of credentials, depending on the scheme. */ - union - { - pjsip_common_credential common; /**< Common fields. */ - pjsip_digest_credential digest; /**< Digest credentials. */ - pjsip_pgp_credential pgp; /**< PGP credentials. */ - } credential; -}; - -/** - * @see pjsip_authorization_hdr. - */ -typedef struct pjsip_authorization_hdr pjsip_authorization_hdr; - -/** SIP Proxy-Authorization header shares the same structure as SIP - Authorization header. - */ -typedef struct pjsip_authorization_hdr pjsip_proxy_authorization_hdr; - -/** - * Create SIP Authorization header. - * @param pool Pool where memory will be allocated from. - * @return SIP Authorization header. - */ -PJ_DECL(pjsip_authorization_hdr*) -pjsip_authorization_hdr_create(pj_pool_t *pool); - -/** - * Create SIP Proxy-Authorization header. - * @param pool Pool where memory will be allocated from. - * @return SIP Proxy-Authorization header. - */ -PJ_DECL(pjsip_proxy_authorization_hdr*) -pjsip_proxy_authorization_hdr_create(pj_pool_t *pool); - - -/** - * This structure describes common fields in authentication challenge - * headers (WWW-Authenticate and Proxy-Authenticate). - */ -struct pjsip_common_challenge -{ - pj_str_t realm; /**< Realm for the challenge. */ - pjsip_param other_param; /**< Other parameters. */ -}; - -/** - * @see pjsip_common_challenge - */ -typedef struct pjsip_common_challenge pjsip_common_challenge; - -/** - * This structure describes authentication challenge used in Proxy-Authenticate - * or WWW-Authenticate for digest authentication scheme. - */ -struct pjsip_digest_challenge -{ - pj_str_t realm; /**< Realm for the challenge. */ - pjsip_param other_param; /**< Other parameters. */ - pj_str_t domain; /**< Domain. */ - pj_str_t nonce; /**< Nonce challenge. */ - pj_str_t opaque; /**< Opaque value. */ - int stale; /**< Stale parameter. */ - pj_str_t algorithm; /**< Algorithm parameter. */ - pj_str_t qop; /**< Quality of protection. */ -}; - -/** - * @see pjsip_digest_challenge - */ -typedef struct pjsip_digest_challenge pjsip_digest_challenge; - -/** - * This structure describes authentication challenge used in Proxy-Authenticate - * or WWW-Authenticate for PGP authentication scheme. - */ -struct pjsip_pgp_challenge -{ - pj_str_t realm; /**< Realm for the challenge. */ - pjsip_param other_param; /**< Other parameters. */ - pj_str_t version; /**< PGP version. */ - pj_str_t micalgorithm; /**< micalgorithm parameter. */ - pj_str_t pubalgorithm; /**< pubalgorithm parameter. */ - pj_str_t nonce; /**< Nonce challenge. */ -}; - -/** - * @see pjsip_pgp_challenge - */ -typedef struct pjsip_pgp_challenge pjsip_pgp_challenge; - -/** - * This structure describe SIP WWW-Authenticate header (Proxy-Authenticate - * header also uses the same structure). - */ -struct pjsip_www_authenticate_hdr -{ - /** Standard header fields. */ - PJSIP_DECL_HDR_MEMBER(struct pjsip_www_authenticate_hdr); - - /** Authentication scheme */ - pj_str_t scheme; - - /** This union contains structures that are only relevant - depending on the value of the scheme being used. - */ - union - { - pjsip_common_challenge common; /**< Common fields. */ - pjsip_digest_challenge digest; /**< Digest challenge. */ - pjsip_pgp_challenge pgp; /**< PGP challenge. */ - } challenge; -}; - -/** - * WWW-Authenticate header. - */ -typedef struct pjsip_www_authenticate_hdr pjsip_www_authenticate_hdr; - -/** - * Proxy-Authenticate header. - */ -typedef struct pjsip_www_authenticate_hdr pjsip_proxy_authenticate_hdr; - - -/** - * Create SIP WWW-Authenticate header. - * - * @param pool Pool where memory will be allocated from. - * @return SIP WWW-Authenticate header. - */ -PJ_DECL(pjsip_www_authenticate_hdr*) -pjsip_www_authenticate_hdr_create(pj_pool_t *pool); - -/** - * Create SIP Proxy-Authenticate header. - * - * @param pool Pool where memory will be allocated from. - * @return SIP Proxy-Authenticate header. - */ -PJ_DECL(pjsip_proxy_authenticate_hdr*) -pjsip_proxy_authenticate_hdr_create(pj_pool_t *pool); - -/** - * @} - */ - -PJ_END_DECL - -#endif /* __PJSIP_AUTH_SIP_AUTH_MSG_H__ */ diff --git a/res/pjproject/pjsip/include/pjsip/sip_auth_parser.h b/res/pjproject/pjsip/include/pjsip/sip_auth_parser.h deleted file mode 100644 index 9685fcdf34..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_auth_parser.h +++ /dev/null @@ -1,73 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_AUTH_SIP_AUTH_PARSER_H__ -#define __PJSIP_AUTH_SIP_AUTH_PARSER_H__ - -/** - * @file sip_auth_parser.h - * @brief SIP Authorization Parser Module. - */ - -#include - -PJ_BEGIN_DECL - -/** - * Initialize and register authorization parser module. - * This will register parser handler for various Authorization related headers - * such as Authorization, WWW-Authenticate, Proxy-Authorizization, and - * Proxy-Authenticate headers. - * - * This function is called automatically by the main SIP parser. - * - * @return PJ_SUCCESS or the appropriate status code. - */ -PJ_DECL(pj_status_t) pjsip_auth_init_parser(void); - -/** - * DeInitialize authorization parser module. - */ -PJ_DECL(void) pjsip_auth_deinit_parser(); - - - -extern const pj_str_t pjsip_USERNAME_STR, /**< "username" string const. */ - pjsip_REALM_STR, /**< "realm" string const. */ - pjsip_NONCE_STR, /**< "nonce" string const. */ - pjsip_URI_STR, /**< "uri" string const. */ - pjsip_RESPONSE_STR, /**< "response" string const. */ - pjsip_ALGORITHM_STR,/**< "algorithm" string const. */ - pjsip_DOMAIN_STR, /**< "domain" string const. */ - pjsip_STALE_STR, /**< "stale" string const. */ - pjsip_QOP_STR, /**< "qop" string const. */ - pjsip_CNONCE_STR, /**< "cnonce" string const. */ - pjsip_OPAQUE_STR, /**< "opaque" string const. */ - pjsip_NC_STR, /**< "nc" string const. */ - pjsip_TRUE_STR, /**< "true" string const. */ - pjsip_FALSE_STR, /**< "false" string const. */ - pjsip_DIGEST_STR, /**< "digest" string const. */ - pjsip_PGP_STR, /**< "pgp" string const. */ - pjsip_MD5_STR, /**< "md5" string const. */ - pjsip_AUTH_STR; /**< "auth" string const. */ - -PJ_END_DECL - -#endif /* __PJSIP_AUTH_SIP_AUTH_PARSER_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip/sip_autoconf.h.in b/res/pjproject/pjsip/include/pjsip/sip_autoconf.h.in deleted file mode 100644 index 38eda08d4d..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_autoconf.h.in +++ /dev/null @@ -1,39 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIP_AUTOCONF_H__ -#define __PJSIP_SIP_AUTOCONF_H__ - -/** - * @file sip_autoconf.h - * @brief Describes operating system specifics (automatically detected by - * autoconf) - */ - -/* - * Enable/disable TLS transport, as configured by autoconf. - * But only do this if user doesn't explicitly configure in pj/config_site.h. - */ -/* Since 1.5, the default setting will follow PJ_HAS_SSL_SOCK setting. */ -//#ifndef PJSIP_HAS_TLS_TRANSPORT -//#undef PJSIP_HAS_TLS_TRANSPORT -//#endif - -#endif /* __PJSIP_SIP_AUTOCONF_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip/sip_config.h b/res/pjproject/pjsip/include/pjsip/sip_config.h deleted file mode 100644 index 6b8b328af8..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_config.h +++ /dev/null @@ -1,1008 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIP_CONFIG_H__ -#define __PJSIP_SIP_CONFIG_H__ - -/** - * @file sip_config.h - * @brief Compile time configuration. - */ -#include - -/** - * @defgroup PJSIP_CORE Core SIP Library - * @brief The core framework from which all other SIP components depends on. - * - * The PJSIP Core library only provides transport framework, event - * dispatching/module framework, and SIP message representation and - * parsing. It doesn't do anything usefull in itself! - * - * If application wants the stack to do anything usefull at all, - * it must registers @ref PJSIP_MOD to the core library. Examples - * of modules are @ref PJSIP_TRANSACT and @ref PJSUA_UA. - */ - -/** - * @defgroup PJSIP_BASE Base Types - * @ingroup PJSIP_CORE - * @brief Basic PJSIP types and configurations. - */ - -/** - * @defgroup PJSIP_CONFIG PJSIP Configurations/Settings - * @ingroup PJSIP_BASE - * @brief PJSIP compile time configurations. - * @{ - */ - -/* - * Include sip_autoconf.h if autoconf is used (PJ_AUTOCONF is set) - */ -#if defined(PJ_AUTOCONF) -# include -#endif - -PJ_BEGIN_DECL - -/** - * This structure describes PJSIP run-time configurations/settings. - * Application may use #pjsip_cfg() function to modify the settings - * before creating the stack. - */ -typedef struct pjsip_cfg_t -{ - /** Global settings. */ - struct { - /** - * Specify port number should be allowed to appear in To and From - * header. Note that RFC 3261 disallow this, see Table 1 in section - * 19.1.1 of the RFC. Default is PJSIP_ALLOW_PORT_IN_FROMTO_HDR. - */ - pj_bool_t allow_port_in_fromto_hdr; - - /** - * Disable rport in request. - */ - pj_bool_t disable_rport; - - /** - * Disable automatic switching from UDP to TCP if outgoing request - * is greater than 1300 bytes. See PJSIP_DONT_SWITCH_TO_TCP. - */ - pj_bool_t disable_tcp_switch; - - } endpt; - - /** Transaction layer settings. */ - struct { - - /** Maximum number of transactions. The value is initialized with - * PJSIP_MAX_TSX_COUNT - */ - unsigned max_count; - - /* Timeout values: */ - - /** Transaction T1 timeout, in msec. Default value is PJSIP_T1_TIMEOUT - */ - unsigned t1; - - /** Transaction T2 timeout, in msec. Default value is PJSIP_T2_TIMEOUT - */ - unsigned t2; - - /** Transaction completed timer for non-INVITE, in msec. Default value - * is PJSIP_T4_TIMEOUT - */ - unsigned t4; - - /** Transaction completed timer for INVITE, in msec. Default value is - * PJSIP_TD_TIMEOUT. - */ - unsigned td; - - } tsx; - - /* Dialog layer settings .. TODO */ - - /** Client registration settings. */ - struct { - /** - * Specify whether client registration should check for its - * registered contact in Contact header of successful REGISTER - * response to determine whether registration has been successful. - * This setting may be disabled if non-compliant registrar is unable - * to return correct Contact header. - * - * Default is PJSIP_REGISTER_CLIENT_CHECK_CONTACT - */ - pj_bool_t check_contact; - - /** - * Specify whether client registration should add "x-uid" extension - * parameter in all Contact URIs that it registers to assist the - * matching of Contact URIs in the 200/OK REGISTER response, in - * case the registrar is unable to return exact Contact URI in the - * 200/OK response. - * - * Default is PJSIP_REGISTER_CLIENT_ADD_XUID_PARAM. - */ - pj_bool_t add_xuid_param; - - } regc; - -} pjsip_cfg_t; - - -#ifdef PJ_DLL -/** - * Get pjsip configuration instance. Application may modify the - * settings before creating the SIP endpoint and modules. - * - * @return Configuration instance. - */ -PJ_DECL(pjsip_cfg_t*) pjsip_cfg(void); - -#else /* PJ_DLL */ - -extern pjsip_cfg_t pjsip_sip_cfg_var; - -/** - * Get pjsip configuration instance. Application may modify the - * settings before creating the SIP endpoint and modules. - * - * @return Configuration instance. - */ -PJ_INLINE(pjsip_cfg_t*) pjsip_cfg(void) -{ - return &pjsip_sip_cfg_var; -} - -#endif /* PJ_DLL */ - - -/** - * Specify maximum transaction count in transaction hash table. - * For efficiency, the value should be 2^n-1 since it will be - * rounded up to 2^n. - * - * Default value is 1023 - */ -#ifndef PJSIP_MAX_TSX_COUNT -# define PJSIP_MAX_TSX_COUNT (1024-1) -#endif - -/** - * Specify maximum number of dialogs in the dialog hash table. - * For efficiency, the value should be 2^n-1 since it will be - * rounded up to 2^n. - * - * Default value is 511. - */ -#ifndef PJSIP_MAX_DIALOG_COUNT -# define PJSIP_MAX_DIALOG_COUNT (512-1) -#endif - - -/** - * Specify maximum number of transports. - * Default value is equal to maximum number of handles in ioqueue. - * See also PJSIP_TPMGR_HTABLE_SIZE. - */ -#ifndef PJSIP_MAX_TRANSPORTS -# define PJSIP_MAX_TRANSPORTS (PJ_IOQUEUE_MAX_HANDLES) -#endif - - -/** - * Transport manager hash table size (must be 2^n-1). - * See also PJSIP_MAX_TRANSPORTS - */ -#ifndef PJSIP_TPMGR_HTABLE_SIZE -# define PJSIP_TPMGR_HTABLE_SIZE 31 -#endif - - -/** - * Specify maximum URL size. - * This constant is used mainly when printing the URL for logging purpose - * only. - */ -#ifndef PJSIP_MAX_URL_SIZE -# define PJSIP_MAX_URL_SIZE 256 -#endif - - -/** - * Specify maximum number of modules. - * This mainly affects the size of mod_data array in various components. - */ -#ifndef PJSIP_MAX_MODULE -# define PJSIP_MAX_MODULE 32 -#endif - - -/** - * Maximum packet length. We set it more than MTU since a SIP PDU - * containing presence information can be quite large (>1500). - */ -#ifndef PJSIP_MAX_PKT_LEN -# define PJSIP_MAX_PKT_LEN 4000 -#endif - - -/** - * RFC 3261 section 18.1.1: - * If a request is within 200 bytes of the path MTU, or if it is larger - * than 1300 bytes and the path MTU is unknown, the request MUST be sent - * using an RFC 2914 [43] congestion controlled transport protocol, such - * as TCP. - * - * Disable the behavior of automatic switching to TCP whenever UDP packet - * size exceeds the threshold defined in PJSIP_UDP_SIZE_THRESHOLD. - * - * This option can also be controlled at run-time by the \a disable_tcp_switch - * setting in pjsip_cfg_t. - * - * Default is 0 (no). - */ -#ifndef PJSIP_DONT_SWITCH_TO_TCP -# define PJSIP_DONT_SWITCH_TO_TCP 0 -#endif - - -/** - * This setting controls the threshold of the UDP packet, which if it's - * larger than this value the request will be sent with TCP. This setting - * is useful only when PJSIP_DONT_SWITCH_TO_TCP is set to 0. - * - * Default is 1300 bytes. - */ -#ifndef PJSIP_UDP_SIZE_THRESHOLD -# define PJSIP_UDP_SIZE_THRESHOLD 1300 -#endif - - -/** - * Encode SIP headers in their short forms to reduce size. By default, - * SIP headers in outgoing messages will be encoded in their full names. - * If this option is enabled, then SIP headers for outgoing messages - * will be encoded in their short forms, to reduce message size. - * Note that this does not affect the ability of PJSIP to parse incoming - * SIP messages, as the parser always supports parsing both the long - * and short version of the headers. - * - * Note that there is also an undocumented variable defined in sip_msg.c - * to control whether compact form should be used for encoding SIP - * headers. The default value of this variable is PJSIP_ENCODE_SHORT_HNAME. - * To change PJSIP behavior during run-time, application can use the - * following construct: - * - \verbatim - extern pj_bool_t pjsip_use_compact_form; - - // enable compact form - pjsip_use_compact_form = PJ_TRUE; - \endverbatim - * - * Default is 0 (no) - */ -#ifndef PJSIP_ENCODE_SHORT_HNAME -# define PJSIP_ENCODE_SHORT_HNAME 0 -#endif - - -/** - * Send Allow header in dialog establishing requests? - * RFC 3261 Allow header SHOULD be included in dialog establishing - * requests to inform remote agent about which SIP requests are - * allowed within dialog. - * - * Note that there is also an undocumented variable defined in sip_dialog.c - * to control whether Allow header should be included. The default value - * of this variable is PJSIP_INCLUDE_ALLOW_HDR_IN_DLG. - * To change PJSIP behavior during run-time, application can use the - * following construct: - * - \verbatim - extern pj_bool_t pjsip_include_allow_hdr_in_dlg; - - // do not transmit Allow header - pjsip_include_allow_hdr_in_dlg = PJ_FALSE; - \endverbatim - * - * Default is 1 (Yes) - */ -#ifndef PJSIP_INCLUDE_ALLOW_HDR_IN_DLG -# define PJSIP_INCLUDE_ALLOW_HDR_IN_DLG 1 -#endif - - -/** - * Allow SIP modules removal or insertions during operation? - * If yes, then locking will be employed when endpoint need to - * access module. - */ -#ifndef PJSIP_SAFE_MODULE -# define PJSIP_SAFE_MODULE 1 -#endif - - -/** - * Perform Via sent-by checking as specified in RFC 3261 Section 18.1.2, - * which says that UAC MUST silently discard responses with Via sent-by - * containing values that the UAC doesn't recognize as its transport - * address. - * - * In PJSIP, this will cause response to be discarded and a message is - * written to the log, saying something like: - * "Dropping response Response msg 200/INVITE/cseq=608594373 (rdata00A99EF4) - * from 1.2.3.4:5060 because sent-by is mismatch" - * - * The default behavior is yes, but when the UA supports IP address change - * for the SIP transport, it will need to turn this checking off since - * when the transport address is changed between request is sent and - * response is received, the response will be discarded since its Via - * sent-by now contains address that is different than the transport - * address. - */ -#ifndef PJSIP_CHECK_VIA_SENT_BY -# define PJSIP_CHECK_VIA_SENT_BY 1 -#endif - - -/** - * If non-zero, SIP parser will unescape the escape characters ('%') - * in the original message, which means that it will modify the - * original message. Otherwise the parser will create a copy of - * the string and store the unescaped string to the new location. - * - * Unescaping in-place is faster, but less elegant (and it may - * break certain applications). So normally it's disabled, unless - * when benchmarking (to show off big performance). - * - * Default: 0 - */ -#ifndef PJSIP_UNESCAPE_IN_PLACE -# define PJSIP_UNESCAPE_IN_PLACE 0 -#endif - - -/** - * Specify port number should be allowed to appear in To and From - * header. Note that RFC 3261 disallow this, see Table 1 in section - * 19.1.1 of the RFC. This setting can also be altered at run-time - * via pjsip_cfg setting, see pjsip_cfg_t.allow_port_in_fromto_hdr - * field. - * - * Default: 0 - */ -#ifndef PJSIP_ALLOW_PORT_IN_FROMTO_HDR -# define PJSIP_ALLOW_PORT_IN_FROMTO_HDR 0 -#endif - -/** - * This macro controls maximum numbers of ioqueue events to be processed - * in a single pjsip_endpt_handle_events() poll. When PJSIP detects that - * there are probably more events available from the network and total - * events so far is less than this value, PJSIP will call pj_ioqueue_poll() - * again to get more events. - * - * Value 1 works best for ioqueue with select() back-end, while for IOCP it is - * probably best to set this value equal to PJSIP_MAX_TIMED_OUT_ENTRIES - * since IOCP only processes one event at a time. - * - * Default: 1 - */ -#ifndef PJSIP_MAX_NET_EVENTS -# define PJSIP_MAX_NET_EVENTS 1 -#endif - - -/** - * Max entries to process in timer heap per poll. - * - * Default: 10 - */ -#ifndef PJSIP_MAX_TIMED_OUT_ENTRIES -# define PJSIP_MAX_TIMED_OUT_ENTRIES 10 -#endif - - -/** - * Idle timeout interval to be applied to outgoing transports (i.e. client - * side) with no usage before the transport is destroyed. Value is in - * seconds. - * - * Note that if the value is put lower than 33 seconds, it may cause some - * pjsip test units to fail. See the comment on the following link: - * https://trac.pjsip.org/repos/ticket/1465#comment:4 - * - * Default: 33 - */ -#ifndef PJSIP_TRANSPORT_IDLE_TIME -# define PJSIP_TRANSPORT_IDLE_TIME 33 -#endif - - -/** - * Idle timeout interval to be applied to incoming transports (i.e. server - * side) with no usage before the transport is destroyed. Server typically - * should let client close the connection, hence set this interval to a large - * value. Value is in seconds. - * - * Default: 600 - */ -#ifndef PJSIP_TRANSPORT_SERVER_IDLE_TIME -# define PJSIP_TRANSPORT_SERVER_IDLE_TIME 600 -#endif - - -/** - * Maximum number of usages for a transport before a new transport is - * created. This only applies for ephemeral transports such as TCP. - * - * Currently this is not used. - * - * Default: -1 - */ -#ifndef PJSIP_MAX_TRANSPORT_USAGE -# define PJSIP_MAX_TRANSPORT_USAGE ((unsigned)-1) -#endif - - -/** - * The TCP incoming connection backlog number to be set in accept(). - * - * Default: 5 - * - * @see PJSIP_TLS_TRANSPORT_BACKLOG - */ -#ifndef PJSIP_TCP_TRANSPORT_BACKLOG -# define PJSIP_TCP_TRANSPORT_BACKLOG 5 -#endif - - -/** - * Set the interval to send keep-alive packet for TCP transports. - * If the value is zero, keep-alive will be disabled for TCP. - * - * Default: 90 (seconds) - * - * @see PJSIP_TCP_KEEP_ALIVE_DATA - */ -#ifndef PJSIP_TCP_KEEP_ALIVE_INTERVAL -# define PJSIP_TCP_KEEP_ALIVE_INTERVAL 90 -#endif - - -/** - * Set the payload of the TCP keep-alive packet. - * - * Default: CRLF - */ -#ifndef PJSIP_TCP_KEEP_ALIVE_DATA -# define PJSIP_TCP_KEEP_ALIVE_DATA { "\r\n\r\n", 4 } -#endif - - -/** - * Set the interval to send keep-alive packet for TLS transports. - * If the value is zero, keep-alive will be disabled for TLS. - * - * Default: 90 (seconds) - * - * @see PJSIP_TLS_KEEP_ALIVE_DATA - */ -#ifndef PJSIP_TLS_KEEP_ALIVE_INTERVAL -# define PJSIP_TLS_KEEP_ALIVE_INTERVAL 90 -#endif - - -/** - * Set the payload of the TLS keep-alive packet. - * - * Default: CRLF - */ -#ifndef PJSIP_TLS_KEEP_ALIVE_DATA -# define PJSIP_TLS_KEEP_ALIVE_DATA { "\r\n\r\n", 4 } -#endif - - -/** - * This macro specifies whether full DNS resolution should be used. - * When enabled, #pjsip_resolve() will perform asynchronous DNS SRV and - * A (or AAAA, when IPv6 is supported) resolution to resolve the SIP - * domain. - * - * Note that even when this setting is enabled, asynchronous DNS resolution - * will only be done when application calls #pjsip_endpt_create_resolver(), - * configure the nameservers with pj_dns_resolver_set_ns(), and configure - * the SIP endpoint's DNS resolver with #pjsip_endpt_set_resolver(). If - * these steps are not followed, the domain will be resolved with normal - * pj_gethostbyname() function. - * - * Turning off this setting will save the footprint by about 16KB, since - * it should also exclude dns.o and resolve.o from PJLIB-UTIL. - * - * Default: 1 (enabled) - * - * @see PJSIP_MAX_RESOLVED_ADDRESSES - */ -#ifndef PJSIP_HAS_RESOLVER -# define PJSIP_HAS_RESOLVER 1 -#endif - - -/** - * Maximum number of addresses returned by the resolver. The number here - * will slightly affect stack usage, since each entry will occupy about - * 32 bytes of stack memory. - * - * Default: 8 - * - * @see PJSIP_HAS_RESOLVER - */ -#ifndef PJSIP_MAX_RESOLVED_ADDRESSES -# define PJSIP_MAX_RESOLVED_ADDRESSES 8 -#endif - - -/** - * Enable TLS SIP transport support. For most systems this means that - * OpenSSL must be installed. - * - * Default: follow PJ_HAS_SSL_SOCK setting, which is 0 (disabled) by default. - */ -#ifndef PJSIP_HAS_TLS_TRANSPORT -# define PJSIP_HAS_TLS_TRANSPORT PJ_HAS_SSL_SOCK -#endif - - -/** - * The TLS pending incoming connection backlog number to be set in accept(). - * - * Default: 5 - * - * @see PJSIP_TCP_TRANSPORT_BACKLOG - */ -#ifndef PJSIP_TLS_TRANSPORT_BACKLOG -# define PJSIP_TLS_TRANSPORT_BACKLOG 5 -#endif - - - -/* Endpoint. */ -#define PJSIP_MAX_TIMER_COUNT (2*pjsip_cfg()->tsx.max_count + \ - 2*PJSIP_MAX_DIALOG_COUNT) - -/** - * Initial memory block for the endpoint. - */ -#ifndef PJSIP_POOL_LEN_ENDPT -# define PJSIP_POOL_LEN_ENDPT (4000) -#endif - -/** - * Memory increment for endpoint. - */ -#ifndef PJSIP_POOL_INC_ENDPT -# define PJSIP_POOL_INC_ENDPT (4000) -#endif - - -/* Transport related constants. */ - -/** - * Initial memory block for rdata. - */ -#ifndef PJSIP_POOL_RDATA_LEN -# define PJSIP_POOL_RDATA_LEN 4000 -#endif - -/** - * Memory increment for rdata. - */ -#ifndef PJSIP_POOL_RDATA_INC -# define PJSIP_POOL_RDATA_INC 4000 -#endif - -#define PJSIP_POOL_LEN_TRANSPORT 512 -#define PJSIP_POOL_INC_TRANSPORT 512 - -/** - * Initial memory block size for tdata. - */ -#ifndef PJSIP_POOL_LEN_TDATA -# define PJSIP_POOL_LEN_TDATA 4000 -#endif - -/** - * Memory increment for tdata. - */ -#ifndef PJSIP_POOL_INC_TDATA -# define PJSIP_POOL_INC_TDATA 4000 -#endif - -/** - * Initial memory size for UA layer - */ -#ifndef PJSIP_POOL_LEN_UA -# define PJSIP_POOL_LEN_UA 512 -#endif - -/** - * Memory increment for UA layer. - */ -#ifndef PJSIP_POOL_INC_UA -# define PJSIP_POOL_INC_UA 512 -#endif - -#define PJSIP_MAX_FORWARDS_VALUE 70 - -#define PJSIP_RFC3261_BRANCH_ID "z9hG4bK" -#define PJSIP_RFC3261_BRANCH_LEN 7 - -/* Transaction related constants. */ - -/** - * Initial memory size for transaction layer. The bulk of pool usage - * for transaction layer will be used to create the hash table, so - * setting this value too high will not help too much with reducing - * fragmentation and the memory will most likely be wasted. - */ -#ifndef PJSIP_POOL_TSX_LAYER_LEN -# define PJSIP_POOL_TSX_LAYER_LEN 512 -#endif - -/** - * Memory increment for transaction layer. The bulk of pool usage - * for transaction layer will be used to create the hash table, so - * setting this value too high will not help too much with reducing - * fragmentation and the memory will most likely be wasted. - */ -#ifndef PJSIP_POOL_TSX_LAYER_INC -# define PJSIP_POOL_TSX_LAYER_INC 512 -#endif - -/** - * Initial memory size for a SIP transaction object. - */ -#ifndef PJSIP_POOL_TSX_LEN -# define PJSIP_POOL_TSX_LEN 1536 /* 768 */ -#endif - -/** - * Memory increment for transaction object. - */ -#ifndef PJSIP_POOL_TSX_INC -# define PJSIP_POOL_TSX_INC 256 -#endif - -/** - * Delay for non-100 1xx retransmission, in seconds. - * Set to 0 to disable this feature. - * - * Default: 60 seconds - */ -#ifndef PJSIP_TSX_1XX_RETRANS_DELAY -# define PJSIP_TSX_1XX_RETRANS_DELAY 60 -#endif - -#define PJSIP_MAX_TSX_KEY_LEN (PJSIP_MAX_URL_SIZE*2) - -/* User agent. */ -#define PJSIP_POOL_LEN_USER_AGENT 1024 -#define PJSIP_POOL_INC_USER_AGENT 1024 - -/* Message/URL related constants. */ -#define PJSIP_MAX_CALL_ID_LEN pj_GUID_STRING_LENGTH() -#define PJSIP_MAX_TAG_LEN pj_GUID_STRING_LENGTH() -#define PJSIP_MAX_BRANCH_LEN (PJSIP_RFC3261_BRANCH_LEN + pj_GUID_STRING_LENGTH() + 2) -#define PJSIP_MAX_HNAME_LEN 64 - -/* Dialog related constants. */ -#define PJSIP_POOL_LEN_DIALOG 1200 -#define PJSIP_POOL_INC_DIALOG 512 - -/* Maximum header types. */ -#define PJSIP_MAX_HEADER_TYPES 72 - -/* Maximum URI types. */ -#define PJSIP_MAX_URI_TYPES 4 - -/***************************************************************************** - * Default timeout settings, in miliseconds. - */ - -/** Transaction T1 timeout value. */ -#if !defined(PJSIP_T1_TIMEOUT) -# define PJSIP_T1_TIMEOUT 500 -#endif - -/** Transaction T2 timeout value. */ -#if !defined(PJSIP_T2_TIMEOUT) -# define PJSIP_T2_TIMEOUT 4000 -#endif - -/** Transaction completed timer for non-INVITE */ -#if !defined(PJSIP_T4_TIMEOUT) -# define PJSIP_T4_TIMEOUT 5000 -#endif - -/** Transaction completed timer for INVITE */ -#if !defined(PJSIP_TD_TIMEOUT) -# define PJSIP_TD_TIMEOUT 32000 -#endif - - -/***************************************************************************** - * Authorization - */ - -/** - * If this flag is set, the stack will keep the Authorization/Proxy-Authorization - * headers that are sent in a cache. Future requests with the same realm and - * the same method will use the headers in the cache (as long as no qop is - * required by server). - * - * Turning on this flag will make authorization process goes faster, but - * will grow the memory usage undefinitely until the dialog/registration - * session is terminated. - * - * Default: 0 - */ -#if !defined(PJSIP_AUTH_HEADER_CACHING) -# define PJSIP_AUTH_HEADER_CACHING 0 -#endif - -/** - * If this flag is set, the stack will proactively send Authorization/Proxy- - * Authorization header for next requests. If next request has the same method - * with any of previous requests, then the last header which is saved in - * the cache will be used (if PJSIP_AUTH_CACHING is set). Otherwise a fresh - * header will be recalculated. If a particular server has requested qop, then - * a fresh header will always be calculated. - * - * If this flag is NOT set, then the stack will only send Authorization/Proxy- - * Authorization headers when it receives 401/407 response from server. - * - * Turning ON this flag will grow memory usage of a dialog/registration pool - * indefinitely until it is terminated, because the stack needs to keep the - * last WWW-Authenticate/Proxy-Authenticate challenge. - * - * Default: 0 - */ -#if !defined(PJSIP_AUTH_AUTO_SEND_NEXT) -# define PJSIP_AUTH_AUTO_SEND_NEXT 0 -#endif - -/** - * Support qop="auth" directive. - * This option also requires client to cache the last challenge offered by - * server. - * - * Default: 1 - */ -#if !defined(PJSIP_AUTH_QOP_SUPPORT) -# define PJSIP_AUTH_QOP_SUPPORT 1 -#endif - - -/** - * Maximum number of stale retries when server keeps rejecting our request - * with stale=true. - * - * Default: 3 - */ -#ifndef PJSIP_MAX_STALE_COUNT -# define PJSIP_MAX_STALE_COUNT 3 -#endif - - -/** - * Specify support for IMS/3GPP digest AKA authentication version 1 and 2 - * (AKAv1-MD5 and AKAv2-MD5 respectively). - * - * Default: 0 (for now) - */ -#ifndef PJSIP_HAS_DIGEST_AKA_AUTH -# define PJSIP_HAS_DIGEST_AKA_AUTH 0 -#endif - - -/** - * Specify the number of seconds to refresh the client registration - * before the registration expires. - * - * Default: 5 seconds - */ -#ifndef PJSIP_REGISTER_CLIENT_DELAY_BEFORE_REFRESH -# define PJSIP_REGISTER_CLIENT_DELAY_BEFORE_REFRESH 5 -#endif - - -/** - * Specify whether client registration should check for its registered - * contact in Contact header of successful REGISTE response to determine - * whether registration has been successful. This setting may be disabled - * if non-compliant registrar is unable to return correct Contact header. - * - * This setting can be changed in run-time by settting \a regc.check_contact - * field of pjsip_cfg(). - * - * Default is 1 - */ -#ifndef PJSIP_REGISTER_CLIENT_CHECK_CONTACT -# define PJSIP_REGISTER_CLIENT_CHECK_CONTACT 1 -#endif - - -/** - * Specify whether client registration should add "x-uid" extension - * parameter in all Contact URIs that it registers to assist the - * matching of Contact URIs in the 200/OK REGISTER response, in - * case the registrar is unable to return exact Contact URI in the - * 200/OK response. - * - * This setting can be changed in run-time by setting - * \a regc.add_xuid_param field of pjsip_cfg(). - * - * Default is 0. - */ -#ifndef PJSIP_REGISTER_CLIENT_ADD_XUID_PARAM -# define PJSIP_REGISTER_CLIENT_ADD_XUID_PARAM 0 -#endif - - -/***************************************************************************** - * SIP Event framework and presence settings. - */ - -/** - * Specify the time (in seconds) to send SUBSCRIBE to refresh client - * subscription before the actual interval expires. - * - * Default: 5 seconds - */ -#ifndef PJSIP_EVSUB_TIME_UAC_REFRESH -# define PJSIP_EVSUB_TIME_UAC_REFRESH 5 -#endif - - -/** - * Specify the time (in seconds) to send PUBLISH to refresh client - * publication before the actual interval expires. - * - * Default: 5 seconds - */ -#ifndef PJSIP_PUBLISHC_DELAY_BEFORE_REFRESH -# define PJSIP_PUBLISHC_DELAY_BEFORE_REFRESH 5 -#endif - - -/** - * Specify the time (in seconds) to wait for the final NOTIFY from the - * server after client has sent un-SUBSCRIBE request. - * - * Default: 5 seconds - */ -#ifndef PJSIP_EVSUB_TIME_UAC_TERMINATE -# define PJSIP_EVSUB_TIME_UAC_TERMINATE 5 -#endif - - -/** - * Specify the time (in seconds) for client subscription to wait for another - * NOTIFY from the server, if it has rejected the last NOTIFY with non-2xx - * final response (such as 401). If further NOTIFY is not received within - * this period, the client will unsubscribe. - * - * Default: 5 seconds - */ -#ifndef PJSIP_EVSUB_TIME_UAC_WAIT_NOTIFY -# define PJSIP_EVSUB_TIME_UAC_WAIT_NOTIFY 5 -#endif - - -/** - * Specify the default expiration time for presence event subscription, for - * both client and server subscription. For client subscription, application - * can override this by specifying positive non-zero value in "expires" - * parameter when calling #pjsip_pres_initiate(). For server subscription, - * we would take the expiration value from the Expires header sent by client - * in the SUBSCRIBE request if the header exists and its value is less than - * this setting, otherwise this setting will be used. - * - * Default: 600 seconds (10 minutes) - */ -#ifndef PJSIP_PRES_DEFAULT_EXPIRES -# define PJSIP_PRES_DEFAULT_EXPIRES 600 -#endif - - -/** - * Specify the status code value to respond to bad message body in NOTIFY - * request for presence. Scenarios that are considered bad include non- - * PIDF/XML and non-XPIDF/XML body, multipart message bodies without PIDF/XML - * nor XPIDF/XML part, and bad (parsing error) PIDF and X-PIDF bodies - * themselves. - * - * Default value is 488. Application may change this to 200 to ignore the - * unrecognised content (this is useful if the application wishes to handle - * the content itself). Only non-3xx final response code is allowed here. - * - * Default: 488 (Not Acceptable Here) - */ -#ifndef PJSIP_PRES_BAD_CONTENT_RESPONSE -# define PJSIP_PRES_BAD_CONTENT_RESPONSE 488 -#endif - - -/** - * Add "timestamp" information in generated PIDF document for both server - * subscription and presence publication. - * - * Default: 1 (yes) - */ -#ifndef PJSIP_PRES_PIDF_ADD_TIMESTAMP -# define PJSIP_PRES_PIDF_ADD_TIMESTAMP 1 -#endif - - -/** - * Default session interval for Session Timer (RFC 4028) extension, in - * seconds. As specified in RFC 4028 Section 4, this value must not be - * less than the absolute minimum for the Session-Expires header field - * 90 seconds, and the recommended value is 1800 seconds. - * - * Default: 1800 seconds - */ -#ifndef PJSIP_SESS_TIMER_DEF_SE -# define PJSIP_SESS_TIMER_DEF_SE 1800 -#endif - - -/** - * Specify whether the client publication session should queue the - * PUBLISH request should there be another PUBLISH transaction still - * pending. If this is set to false, the client will return error - * on the PUBLISH request if there is another PUBLISH transaction still - * in progress. - * - * Default: 1 (yes) - */ -#ifndef PJSIP_PUBLISHC_QUEUE_REQUEST -# define PJSIP_PUBLISHC_QUEUE_REQUEST 1 -#endif - - -PJ_END_DECL - -/** - * @} - */ - - -#include - - -#endif /* __PJSIP_SIP_CONFIG_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip/sip_dialog.h b/res/pjproject/pjsip/include/pjsip/sip_dialog.h deleted file mode 100644 index a9922d5708..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_dialog.h +++ /dev/null @@ -1,767 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIP_DIALOG_H__ -#define __PJSIP_SIP_DIALOG_H__ - - -/** - * @file sip_dialog.h - * @brief SIP Dialog abstraction - */ - -#include -#include -#include -#include -#include -#include -#include - - -/** - * @defgroup PJSIP_DIALOG Base Dialog - * @ingroup PJSIP_UA - * @brief The base dialog framework to support dialog usages. - * @{ - * - * The base dialog framework provides management for base dialog - * properties such as From header, To header, CSeq - * sequencing, Call-ID header, Contact header management, - * dialog route-set management, and common authentication. - * This basic dialog functionality will be shared by all dialog - * usages of a particular dialog. - * - * More detailed information is explained in - * PJSIP Developer's Guide - * PDF document, and readers are encouraged to read the document to - * get the concept behind dialog, dialog usages, and INVITE sessions. - * - * Application MUST initialize the user agent layer module by calling - * #pjsip_ua_init_module() before using any of the dialog API, and link - * the application with with pjsip-core library. - */ - -PJ_BEGIN_DECL - - -/** - * This structure is used to describe dialog's participants, which in this - * case is local party (i.e. us) and remote party. - */ -typedef struct pjsip_dlg_party -{ - pjsip_fromto_hdr *info; /**< From/To header, inc tag. */ - pj_str_t info_str; /**< String rep of info header. */ - pj_uint32_t tag_hval; /**< Hashed value of the tag. */ - pjsip_contact_hdr *contact; /**< Contact header. */ - pj_int32_t first_cseq;/**< First CSeq seen. */ - pj_int32_t cseq; /**< Next sequence number. */ -} pjsip_dlg_party; - - -/** - * Dialog state. - */ -typedef enum pjsip_dialog_state -{ - /** Dialog is not established. */ - PJSIP_DIALOG_STATE_NULL, - - /** Dialog has been established (probably early) */ - PJSIP_DIALOG_STATE_ESTABLISHED -} pjsip_dialog_state; - - -/** - * Dialog capability status. - */ -typedef enum pjsip_dialog_cap_status -{ - /** Capability is unsupported. */ - PJSIP_DIALOG_CAP_UNSUPPORTED = 0, - - /** Capability is supported */ - PJSIP_DIALOG_CAP_SUPPORTED = 1, - - /** - * Unknown capability status. This is usually because we lack the - * capability info which is retrieved from capability header specified - * in the dialog messages. - */ - PJSIP_DIALOG_CAP_UNKNOWN = 2 -} pjsip_dialog_cap_status; - - -/** - * This structure describes the dialog structure. Application MUST NOT - * try to SET the values here directly, but instead it MUST use the - * appropriate dialog API. The dialog declaration only needs to be made - * visible because other PJSIP modules need to see it (e.g. INVITE session, - * the event framework, etc.). - * - * Application MAY READ the dialog contents directly after it acquires - * dialog lock. - * - * To acquire dialog lock, use #pjsip_dlg_inc_lock(), and to release it, - * use #pjsip_dlg_dec_lock(). DO NOT USE pj_mutex_lock()/pj_mutex_unlock() - * on the dialog's mutex directly, because this will not protect against - * dialog being destroyed. - */ -struct pjsip_dialog -{ - /** The dialog set list. */ - PJ_DECL_LIST_MEMBER(pjsip_dialog); - - /* Dialog's system properties. */ - char obj_name[PJ_MAX_OBJ_NAME]; /**< Standard id. */ - pj_pool_t *pool; /**< Dialog's pool. */ - pj_mutex_t *mutex_; /**< Dialog's mutex. Do not call!! - Use pjsip_dlg_inc_lock() instead! */ - pjsip_user_agent *ua; /**< User agent instance. */ - pjsip_endpoint *endpt; /**< Endpoint instance. */ - - /** The dialog set which this dialog belongs (opaque type). */ - void *dlg_set; - - /* Dialog's session properties. */ - pjsip_dialog_state state; /**< Dialog state. */ - pjsip_uri *target; /**< Current target. */ - pjsip_target_set target_set; /**< Target set, for UAC only. */ - pjsip_hdr inv_hdr; /**< Headers from hparam in dest URL */ - pjsip_dlg_party local; /**< Local party info. */ - pjsip_dlg_party remote; /**< Remote party info. */ - pjsip_hdr rem_cap_hdr;/**< List of remote capability header. */ - pjsip_role_e role; /**< Initial role. */ - pj_bool_t uac_has_2xx;/**< UAC has received 2xx response? */ - pj_bool_t secure; /**< Use secure transport? */ - pj_bool_t add_allow; /**< Add Allow header in requests? */ - pjsip_cid_hdr *call_id; /**< Call-ID header. */ - pjsip_route_hdr route_set; /**< Route set. */ - pj_bool_t route_set_frozen; /**< Route set has been set. */ - pjsip_auth_clt_sess auth_sess; /**< Client authentication session. */ - - /** Session counter. */ - int sess_count; /**< Number of sessions. */ - - /** Transaction counter. */ - int tsx_count; /**< Number of pending transactions. */ - - /** Transport selector. */ - pjsip_tpselector tp_sel; - - /* Dialog usages. */ - unsigned usage_cnt; /**< Number of registered usages. */ - pjsip_module *usage[PJSIP_MAX_MODULE]; /**< Array of usages, - priority sorted */ - - /** Module specific data. */ - void *mod_data[PJSIP_MAX_MODULE]; /**< Module data. */ -}; - - -/** - * This utility function returns PJ_TRUE if the specified method is a - * dialog creating request. This method property is used to determine - * whether Contact header should be included in outgoing request. - * - * @param m The SIP method. - * - * @return PJ_TRUE if the method creates a dialog. - */ -PJ_DECL(pj_bool_t) pjsip_method_creates_dialog(const pjsip_method *m); - -/** - * Create a new dialog and return the instance in p_dlg parameter. - * After creating the dialog, application can add modules as dialog usages - * by calling #pjsip_dlg_add_usage(). - * - * If the request has To tag parameter, dialog's local tag will be initialized - * from this value. Otherwise a globally unique id generator will be invoked to - * create dialog's local tag. - * - * This function also initializes the dialog's route set based on the - * Record-Route headers in the request, if present. - * - * Note that initially, the session count in the dialog will be initialized - * to zero. - * - * @param ua The user agent module instance. - * @param local_uri Dialog local URI (i.e. From header). - * @param local_contact Optional dialog local Contact to be put as Contact - * header value, hence the format must follow - * RFC 3261 Section 20.10: - * When the header field value contains a display - * name, the URI including all URI parameters is - * enclosed in "<" and ">". If no "<" and ">" are - * present, all parameters after the URI are header - * parameters, not URI parameters. The display name - * can be tokens, or a quoted string, if a larger - * character set is desired. - * If this argument is NULL, the Contact will be taken - * from the local URI. - * @param remote_uri Dialog remote URI (i.e. To header). - * @param target Optional initial remote target. If this argument - * is NULL, the initial target will be set to - * remote URI. - * @param p_dlg Pointer to receive the dialog. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_dlg_create_uac( pjsip_user_agent *ua, - const pj_str_t *local_uri, - const pj_str_t *local_contact, - const pj_str_t *remote_uri, - const pj_str_t *target, - pjsip_dialog **p_dlg); - - -/** - * Initialize UAS dialog from the information found in the incoming request - * that creates a dialog (such as INVITE, REFER, or SUBSCRIBE), and set the - * local Contact to contact. If contact is not specified, the local contact - * is initialized from the URI in the To header in the request. - * - * This function will also create UAS transaction for the incoming request, - * and associate the transaction to the rdata. Application can query the - * transaction used to handle this request by calling #pjsip_rdata_get_tsx() - * after this function returns. - * - * Note that initially, the session count in the dialog will be initialized - * to zero. - * - * - * @param ua The user agent module instance. - * @param rdata The incoming request that creates the dialog, - * such as INVITE, SUBSCRIBE, or REFER. - * @param contact Optional dialog local Contact to be put as Contact - * header value, hence the format must follow - * RFC 3261 Section 20.10: - * When the header field value contains a display - * name, the URI including all URI parameters is - * enclosed in "<" and ">". If no "<" and ">" are - * present, all parameters after the URI are header - * parameters, not URI parameters. The display name - * can be tokens, or a quoted string, if a larger - * character set is desired. - * If this argument is NULL, the local contact will be - * initialized from the value of To header in the - * request. - * @param p_dlg Pointer to receive the dialog. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_dlg_create_uas( pjsip_user_agent *ua, - pjsip_rx_data *rdata, - const pj_str_t *contact, - pjsip_dialog **p_dlg); - - -/** - * Lock/bind dialog to a specific transport/listener. This is optional, - * as normally transport will be selected automatically based on the - * destination of messages upon resolver completion. When the dialog is - * explicitly bound to the specific transport/listener, all transactions - * originated by this dialog will use the specified transport/listener - * when sending outgoing requests. - * - * Note that this doesn't affect the Contact header generated by this - * dialog. Application must manually update the Contact header if - * necessary, to adjust the address according to the transport being - * selected. - * - * @param dlg The dialog instance. - * @param sel Transport selector containing the specification of - * transport or listener to be used by this dialog - * to send requests. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_dlg_set_transport(pjsip_dialog *dlg, - const pjsip_tpselector *sel); - - -/** - * Create a new (forked) dialog on receipt on forked response in rdata. - * The new dialog will be created from original_dlg, except that it will have - * new remote tag as copied from the To header in the response. Upon return, - * the new_dlg will have been registered to the user agent. Applications just - * need to add modules as dialog's usages. - * - * Note that initially, the session count in the dialog will be initialized - * to zero. - * - * @param original_dlg The original UAC dialog. - * @param rdata The incoming forked response message. - * @param new_dlg Pointer to receive the new dialog. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_dlg_fork(const pjsip_dialog *original_dlg, - const pjsip_rx_data *rdata, - pjsip_dialog **new_dlg ); - -/** - * Forcefully terminate the dialog. Application can only call this function - * when there is no session associated to the dialog. If there are sessions - * that use this dialog, this function will refuse to terminate the dialog. - * For this case, application MUST call the appropriate termination function - * for each dialog session (e.g. #pjsip_inv_terminate() to terminate INVITE - * session). - * - * @param dlg The dialog. - * - * @return PJ_SUCCESS if dialog has been terminated. - */ -PJ_DECL(pj_status_t) pjsip_dlg_terminate( pjsip_dialog *dlg ); - - -/** - * Set dialog's initial route set to route_set list. This can only be called - * for UAC dialog, before any request is sent. After dialog has been - * established, the route set can not be changed. - * - * For UAS dialog,the route set will be initialized in pjsip_dlg_create_uas() - * from the Record-Route headers in the incoming request. - * - * The route_set argument is standard list of Route headers (i.e. with - * sentinel). - * - * @param dlg The UAC dialog. - * @param route_set List of Route header. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_dlg_set_route_set( pjsip_dialog *dlg, - const pjsip_route_hdr *route_set ); - -/** - * Increment the number of sessions in the dialog. Note that initially - * (after created) the dialog has the session counter set to zero. - * - * @param dlg The dialog. - * @param mod The module that increments the session counter. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_dlg_inc_session( pjsip_dialog *dlg, - pjsip_module *mod); - - -/** - * Decrement the number of sessions in the dialog. Once the session counter - * reach zero and there is no pending transaction, the dialog will be - * destroyed. Note that this function may destroy the dialog immediately - * if there is no pending transaction when this function is called. - * - * @param dlg The dialog. - * @param mod The module that decrements the session counter. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_dlg_dec_session( pjsip_dialog *dlg, - pjsip_module *mod); - -/** - * Add a module as dialog usage, and optionally set the module specific data. - * - * @param dlg The dialog. - * @param module The module to be registered as dialog usage. - * @param mod_data Optional arbitrary data to be attached to dialog's - * mod_data array at the module's index. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_dlg_add_usage( pjsip_dialog *dlg, - pjsip_module *module, - void *mod_data ); - -/** - * Check if the specified module has been registered as usage to the dialog. - * - * @param dlg The dialog. - * @param module The module. - * - * @return PJ_TRUE if the specified module is currently - * registered as a usage to the dialog. - */ -PJ_DECL(pj_bool_t) pjsip_dlg_has_usage(pjsip_dialog *dlg, - pjsip_module *module); - -/** - * Attach module specific data to the dialog. Application can also set - * the value directly by accessing dlg->mod_data[module_id]. - * - * @param dlg The dialog - * @param mod_id The ID of the module from which the data is to be - * set to the dialog. - * @param data Arbitrary data. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_dlg_set_mod_data( pjsip_dialog *dlg, - int mod_id, - void *data ); - -/** - * Get module specific data previously attached to the dialog. Application - * can also get value directly by accessing dlg->mod_data[module_id]. - * - * @param dlg The dialog - * @param mod_id The ID of the module from which the data is to be - * retrieved from the dialog. - * - * @return The data that was previously set, or NULL. - */ -PJ_DECL(void*) pjsip_dlg_get_mod_data( pjsip_dialog *dlg, - int mod_id); - - -/** - * Lock dialog and increment session counter termporarily, to prevent it - * from being destroyed. - * - * @param dlg The dialog. - */ -PJ_DECL(void) pjsip_dlg_inc_lock( pjsip_dialog *dlg ); - -/** - * Try to acquire dialog's lock, but return immediately if lock can not - * be acquired. - * - * @param dlg The dialog. - * - * @return PJ_SUCCESS if lock has been acquired. - */ -PJ_DECL(pj_status_t) pjsip_dlg_try_inc_lock( pjsip_dialog *dlg ); - -/** - * Unlock dialog and decrement temporary session counter. After this function - * is called, dialog may be destroyed. - * - * @param dlg The dialog. - */ -PJ_DECL(void) pjsip_dlg_dec_lock( pjsip_dialog *dlg ); - - -/** - * Get the dialog instance in the incoming rdata. If an incoming message - * matches an existing dialog, the user agent must have put the matching - * dialog instance in the rdata, or otherwise this function will return - * NULL if the message didn't match any existing dialog. - * - * This function can only be called after endpoint distributes the message - * to the transaction layer or UA layer. In other words, application can - * only call this function in the context of module that runs in priority - * number higher than PJSIP_MOD_PRIORITY_UA_PROXY_LAYER. - * - * @param rdata Incoming message buffer. - * - * @return The dialog instance that "owns" the message. - */ -PJ_DECL(pjsip_dialog*) pjsip_rdata_get_dlg( pjsip_rx_data *rdata ); - -/** - * Get the associated dialog for the specified transaction, if any. - * - * @param tsx The transaction. - * - * @return The dialog instance which has been registered - * to the transaction as transaction user, or - * NULL if the transaction is outside any dialogs. - */ -PJ_DECL(pjsip_dialog*) pjsip_tsx_get_dlg( pjsip_transaction *tsx ); - - -/** - * Create a basic/generic request with the specified method and optionally - * specify the cseq. Use value -1 for cseq to have the dialog automatically - * put next cseq number for the request. Otherwise for some requests, - * e.q. CANCEL and ACK, application must put the CSeq in the original - * INVITE request as the parameter. - * - * This function will also put Contact header where appropriate. - * - * @param dlg The dialog instance. - * @param method The method of the request. - * @param cseq Optional CSeq, which only needs to be specified - * when creating ACK and CANCEL. For other requests, - * specify -1 to use dialog's internal counter. - * @param tdata Pointer to receive the request's transmit - * data buffer. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_dlg_create_request( pjsip_dialog *dlg, - const pjsip_method *method, - int cseq, - pjsip_tx_data **tdata); - - -/** - * Send request message to remote peer. If the request is not an ACK request, - * the dialog will send the request statefully, by creating an UAC transaction - * and send the request with the transaction. - * - * Also when the request is not ACK or CANCEL, the dialog will increment its - * local cseq number and update the cseq in the request according to dialog's - * cseq. - * - * If p_tsx is not null, this argument will be set with the transaction - * instance that was used to send the request. - * - * This function will decrement the transmit data's reference counter - * regardless the status of the operation. - * - * @param dlg The dialog. - * @param tdata The request message to be sent. - * @param mod_data_id Optional module data index to put an optional data - * into the transaction. If no module data is to be - * attached, this value should be -1. - * @param mod_data Optional module data to be attached to the - * transaction at mod_data_id index. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_dlg_send_request ( pjsip_dialog *dlg, - pjsip_tx_data *tdata, - int mod_data_id, - void *mod_data); - - -/** - * Create a response message for the incoming request in rdata with status - * code st_code and optional status text st_text. This function is different - * than endpoint's API #pjsip_endpt_create_response() in that the dialog - * function adds Contact header and Record-Routes headers in the response - * where appropriate. - * - * @param dlg The dialog. - * @param rdata The incoming request message for which the - * response will be created. - * @param st_code Status code. - * @param st_text Optional string for custom status reason text. - * @param tdata Pointer to receive the response message transmit - * data buffer. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_dlg_create_response( pjsip_dialog *dlg, - pjsip_rx_data *rdata, - int st_code, - const pj_str_t *st_text, - pjsip_tx_data **tdata); - - -/** - * Modify previously sent response with other status code. Contact header - * will be added when appropriate. - * - * @param dlg The dialog. - * @param tdata The transmit data buffer containing response - * message to be modified. - * @param st_code New status code to be set. - * @param st_text Optional string for custom status reason text. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_dlg_modify_response( pjsip_dialog *dlg, - pjsip_tx_data *tdata, - int st_code, - const pj_str_t *st_text); - - -/** - * Send response message statefully. The transaction instance MUST be the - * transaction that was reported on on_rx_request() callback. - * - * This function decrements the transmit data's reference counter regardless - * the status of the operation. - * - * @param dlg The dialog. - * @param tsx The UAS transaction associated with the incoming - * request. If the request is within a dialog, or - * a dialog has been created for the request that - * creates the dialog, application can get the - * transaction instance for the request by calling - * #pjsip_rdata_get_tsx(). - * @param tdata Response message to be sent. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_dlg_send_response( pjsip_dialog *dlg, - pjsip_transaction *tsx, - pjsip_tx_data *tdata); - - -/** - * This composite function sends response message statefully to an incoming - * request message inside dialog. - * - * @param dlg The endpoint instance. - * @param rdata The incoming request message. - * @param st_code Status code of the response. - * @param st_text Optional status text of the response. - * @param hdr_list Optional header list to be added to the response. - * @param body Optional message body to be added to the response. - * - * @return PJ_SUCCESS if response message has successfully been - * sent. - */ -PJ_DECL(pj_status_t) pjsip_dlg_respond( pjsip_dialog *dlg, - pjsip_rx_data *rdata, - int st_code, - const pj_str_t *st_text, - const pjsip_hdr *hdr_list, - const pjsip_msg_body *body ); - - -/** - * Check if remote peer have the specified capability as published - * in the dialog messages from remote peer. - * - * Notes: - * - The capability \a token lookup will apply exact match, but not - * case-sensitive, for example: "text/html" will not match - * "text / html" (notice the spaces). - * - * @param dlg The dialog. - * @param htype The header type to be checked, which value may be: - * - PJSIP_H_ACCEPT - * - PJSIP_H_ALLOW - * - PJSIP_H_SUPPORTED - * @param hname If htype specifies PJSIP_H_OTHER, then the header name - * must be supplied in this argument. Otherwise the value - * must be set to NULL. - * @param token The capability token to check. For example, if \a htype - * is PJSIP_H_ALLOW, then \a token specifies the method - * names; if \a htype is PJSIP_H_SUPPORTED, then \a token - * specifies the extension names such as "100rel". - * - * @return PJSIP_DIALOG_CAP_SUPPORTED if the specified capability - * is explicitly supported, see @pjsip_dialog_cap_status - * for more info. - */ -PJ_DECL(pjsip_dialog_cap_status) pjsip_dlg_remote_has_cap( - pjsip_dialog *dlg, - int htype, - const pj_str_t *hname, - const pj_str_t *token); - -/** - * Get the specified capability header from the remote capability headers - * stored in the dialog. - * - * @param dlg The dialog. - * @param htype The header type to be retrieved, which value may be: - * - PJSIP_H_ACCEPT - * - PJSIP_H_ALLOW - * - PJSIP_H_SUPPORTED - * @param hname If htype specifies PJSIP_H_OTHER, then the header name - * must be supplied in this argument. Otherwise the value - * must be set to NULL. - * - * @return The appropriate header, or NULL if the header is not - * available. - */ -PJ_DECL(const pjsip_hdr*) pjsip_dlg_get_remote_cap_hdr(pjsip_dialog *dlg, - int htype, - const pj_str_t *hname); - -/** - * Set remote capability from a SIP header containing array of capability - * tags/values. - * - * @param dlg The dialog. - * @param cap_hdr The SIP header. - * - * @return PJ_SUCCESS when successful, otherwise the appropriate - * error code will be returned. - */ -PJ_DECL(pj_status_t) pjsip_dlg_set_remote_cap_hdr( - pjsip_dialog *dlg, - const pjsip_generic_array_hdr *cap_hdr); - -/** - * Remove a remote capability header. - * - * @param dlg The dialog. - * @param htype The header type to be removed, which value may be: - * - PJSIP_H_ACCEPT - * - PJSIP_H_ALLOW - * - PJSIP_H_SUPPORTED - * @param hname If htype specifies PJSIP_H_OTHER, then the header name - * must be supplied in this argument. Otherwise the value - * must be set to NULL. - * - * @return PJ_SUCCESS when successful, otherwise the appropriate - * error code will be returned. - */ -PJ_DECL(pj_status_t) pjsip_dlg_remove_remote_cap_hdr(pjsip_dialog *dlg, - int htype, - const pj_str_t *hname); - -/** - * Update remote capabilities from a received message. The header types - * to be updated from the message will only be \a PJSIP_H_ACCEPT, - * \a PJSIP_H_ALLOW, and \a PJSIP_H_SUPPORTED. - * - * @param dlg The dialog. - * @param msg The received message. - * @param strict If this is set to PJ_TRUE, any header types missing - * from the message will cause removal of existing - * header types in the capability list. Otherwise, the - * capability list will not be modified when any header - * type is missing. - * - * @return PJ_SUCCESS when successful, otherwise the appropriate - * error code will be returned. - */ -PJ_DECL(pj_status_t) pjsip_dlg_update_remote_cap(pjsip_dialog *dlg, - const pjsip_msg *msg, - pj_bool_t strict); - - - -/** - * @} - */ - -/* - * Internal (called by sip_ua_layer.c) - */ - -/* Receives transaction event (called by user_agent module) */ -void pjsip_dlg_on_tsx_state( pjsip_dialog *dlg, - pjsip_transaction *tsx, - pjsip_event *e ); - -void pjsip_dlg_on_rx_request( pjsip_dialog *dlg, - pjsip_rx_data *rdata ); - -void pjsip_dlg_on_rx_response( pjsip_dialog *dlg, - pjsip_rx_data *rdata ); - - - -PJ_END_DECL - - -#endif /* __PJSIP_SIP_DIALOG_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip/sip_endpoint.h b/res/pjproject/pjsip/include/pjsip/sip_endpoint.h deleted file mode 100644 index c6cf6d6533..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_endpoint.h +++ /dev/null @@ -1,572 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIP_ENDPOINT_H__ -#define __PJSIP_SIP_ENDPOINT_H__ - -/** - * @file sip_endpoint.h - * @brief SIP Endpoint. - */ - -#include -#include - -/** - * @defgroup PJSIP_CORE_CORE At the Very Core - * @ingroup PJSIP_CORE - * @brief The very core of PJSIP. - */ - -PJ_BEGIN_DECL - -/** - * @defgroup PJSIP_ENDPT Endpoint - * @ingroup PJSIP_CORE_CORE - * @brief The master, owner of all objects - * - * SIP Endpoint instance (pjsip_endpoint) can be viewed as the master/owner of - * all SIP objects in an application. It performs the following roles: - * - it manages the allocation/deallocation of memory pools for all objects. - * - it manages listeners and transports, and how they are used by - * transactions. - * - it receives incoming messages from transport layer and automatically - * dispatches them to the correct transaction (or create a new one). - * - it has a single instance of timer management (timer heap). - * - it manages modules, which is the primary means of extending the library. - * - it provides single polling function for all objects and distributes - * events. - * - it automatically handles incoming requests which can not be handled by - * existing modules (such as when incoming request has unsupported method). - * - and so on.. - * - * Application should only instantiate one SIP endpoint instance for every - * process. - * - * @{ - */ - - -/** - * Type of callback to register to pjsip_endpt_atexit(). - */ -typedef void (*pjsip_endpt_exit_callback)(pjsip_endpoint *endpt); - - -/** - * Create an instance of SIP endpoint from the specified pool factory. - * The pool factory reference then will be kept by the endpoint, so that - * future memory allocations by SIP components will be taken from the same - * pool factory. - * - * @param pf Pool factory that will be used for the lifetime of - * endpoint. - * @param name Optional name to be specified for the endpoint. - * If this parameter is NULL, then the name will use - * local host name. - * @param endpt Pointer to receive endpoint instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_endpt_create(pj_pool_factory *pf, - const char *name, - pjsip_endpoint **endpt); - -/** - * Destroy endpoint instance. Application must make sure that all pending - * transactions have been terminated properly, because this function does not - * check for the presence of pending transactions. - * - * @param endpt The SIP endpoint to be destroyed. - */ -PJ_DECL(void) pjsip_endpt_destroy(pjsip_endpoint *endpt); - -/** - * Get endpoint name. - * - * @param endpt The SIP endpoint instance. - * - * @return Endpoint name, as was registered during endpoint - * creation. The string is NULL terminated. - */ -PJ_DECL(const pj_str_t*) pjsip_endpt_name(const pjsip_endpoint *endpt); - -/** - * Poll for events. Application must call this function periodically to ensure - * that all events from both transports and timer heap are handled in timely - * manner. This function, like all other endpoint functions, is thread safe, - * and application may have more than one thread concurrently calling this function. - * - * @param endpt The endpoint. - * @param max_timeout Maximum time to wait for events, or NULL to wait forever - * until event is received. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_endpt_handle_events( pjsip_endpoint *endpt, - const pj_time_val *max_timeout); - - -/** - * Handle events with additional info about number of events that - * have been handled. - * - * @param endpt The endpoint. - * @param max_timeout Maximum time to wait for events, or NULL to wait forever - * until event is received. - * @param count Optional argument to receive the number of events that - * have been handled by the function. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_endpt_handle_events2(pjsip_endpoint *endpt, - const pj_time_val *max_timeout, - unsigned *count); -/** - * Schedule timer to endpoint's timer heap. Application must poll the endpoint - * periodically (by calling #pjsip_endpt_handle_events) to ensure that the - * timer events are handled in timely manner. When the timeout for the timer - * has elapsed, the callback specified in the entry argument will be called. - * This function, like all other endpoint functions, is thread safe. - * - * @param endpt The endpoint. - * @param entry The timer entry. - * @param delay The relative delay of the timer. - * @return PJ_OK (zero) if successfull. - */ -PJ_DECL(pj_status_t) pjsip_endpt_schedule_timer( pjsip_endpoint *endpt, - pj_timer_entry *entry, - const pj_time_val *delay ); - -/** - * Cancel the previously registered timer. - * This function, like all other endpoint functions, is thread safe. - * - * @param endpt The endpoint. - * @param entry The timer entry previously registered. - */ -PJ_DECL(void) pjsip_endpt_cancel_timer( pjsip_endpoint *endpt, - pj_timer_entry *entry ); - -/** - * Get the timer heap instance of the SIP endpoint. - * - * @param endpt The endpoint. - * - * @return The timer heap instance. - */ -PJ_DECL(pj_timer_heap_t*) pjsip_endpt_get_timer_heap(pjsip_endpoint *endpt); - - -/** - * Register new module to the endpoint. - * The endpoint will then call the load and start function in the module to - * properly initialize the module, and assign a unique module ID for the - * module. - * - * @param endpt The endpoint. - * @param module The module to be registered. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_endpt_register_module( pjsip_endpoint *endpt, - pjsip_module *module ); - -/** - * Unregister a module from the endpoint. - * The endpoint will then call the stop and unload function in the module to - * properly shutdown the module. - * - * @param endpt The endpoint. - * @param module The module to be registered. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_endpt_unregister_module( pjsip_endpoint *endpt, - pjsip_module *module ); - - -/** - * Create pool from the endpoint. All SIP components should allocate their - * memory pool by calling this function, to make sure that the pools are - * allocated from the same pool factory. This function, like all other endpoint - * functions, is thread safe. - * - * @param endpt The SIP endpoint. - * @param pool_name Name to be assigned to the pool. - * @param initial The initial size of the pool. - * @param increment The resize size. - * @return Memory pool, or NULL on failure. - * - * @see pj_pool_create - */ -PJ_DECL(pj_pool_t*) pjsip_endpt_create_pool( pjsip_endpoint *endpt, - const char *pool_name, - pj_size_t initial, - pj_size_t increment ); - -/** - * Return back pool to endpoint to be released back to the pool factory. - * This function, like all other endpoint functions, is thread safe. - * - * @param endpt The endpoint. - * @param pool The pool to be destroyed. - */ -PJ_DECL(void) pjsip_endpt_release_pool( pjsip_endpoint *endpt, - pj_pool_t *pool ); - -/** - * Find transaction in endpoint's transaction table by the transaction's key. - * This function normally is only used by modules. The key for a transaction - * can be created by calling #pjsip_tsx_create_key. - * - * @param endpt The endpoint instance. - * @param key Transaction key, as created with #pjsip_tsx_create_key. - * - * @return The transaction, or NULL if it's not found. - */ -PJ_DECL(pjsip_transaction*) pjsip_endpt_find_tsx( pjsip_endpoint *endpt, - const pj_str_t *key ); - -/** - * Register the transaction to the endpoint's transaction table. - * This function should only be used internally by the stack. - * - * @param endpt The SIP endpoint. - * @param tsx The transaction. - */ -PJ_DECL(void) pjsip_endpt_register_tsx( pjsip_endpoint *endpt, - pjsip_transaction *tsx); - -/** - * Forcefull destroy the transaction. This function should only be used - * internally by the stack. - * - * @param endpt The endpoint. - * @param tsx The transaction to destroy. - */ -PJ_DECL(void) pjsip_endpt_destroy_tsx( pjsip_endpoint *endpt, - pjsip_transaction *tsx); - -/** - * Create a new transmit data buffer. - * This function, like all other endpoint functions, is thread safe. - * - * @param endpt The endpoint. - * @param p_tdata Pointer to receive transmit data buffer. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_endpt_create_tdata( pjsip_endpoint *endpt, - pjsip_tx_data **p_tdata); - -/** - * Create the DNS resolver instance. Application creates the DNS - * resolver instance, set the nameserver to be used by the DNS - * resolver, then set the DNS resolver to be used by the endpoint - * by calling #pjsip_endpt_set_resolver(). - * - * @param endpt The SIP endpoint instance. - * @param p_resv Pointer to receive the DNS resolver instance. - * - * @return PJ_SUCCESS on success, or the appropriate error - * code. - */ -PJ_DECL(pj_status_t) pjsip_endpt_create_resolver(pjsip_endpoint *endpt, - pj_dns_resolver **p_resv); - -/** - * Set DNS resolver to be used by the SIP resolver. Application can set - * the resolver instance to NULL to disable DNS resolution (perhaps - * temporarily). When DNS resolver is disabled, the endpoint will resolve - * hostnames with the normal pj_gethostbyname() function. - * - * @param endpt The SIP endpoint instance. - * @param resv The resolver instance to be used by the SIP - * endpoint. - * - * @return PJ_SUCCESS on success, or the appropriate error - * code. - */ -PJ_DECL(pj_status_t) pjsip_endpt_set_resolver(pjsip_endpoint *endpt, - pj_dns_resolver *resv); - -/** - * Get the DNS resolver being used by the SIP resolver. - * - * @param endpt The SIP endpoint instance. - * - * @return The DNS resolver instance currently being used - * by the SIP endpoint. - */ -PJ_DECL(pj_dns_resolver*) pjsip_endpt_get_resolver(pjsip_endpoint *endpt); - -/** - * Asynchronously resolve a SIP target host or domain according to rule - * specified in RFC 3263 (Locating SIP Servers). When the resolving operation - * has completed, the callback will be called. - * - * @param endpt The endpoint instance. - * @param pool The pool to allocate resolver job. - * @param target The target specification to be resolved. - * @param token A user defined token to be passed back to callback function. - * @param cb The callback function. - */ -PJ_DECL(void) pjsip_endpt_resolve( pjsip_endpoint *endpt, - pj_pool_t *pool, - pjsip_host_info *target, - void *token, - pjsip_resolver_callback *cb); - -/** - * Get transport manager instance. - * - * @param endpt The endpoint. - * - * @return Transport manager instance. - */ -PJ_DECL(pjsip_tpmgr*) pjsip_endpt_get_tpmgr(pjsip_endpoint *endpt); - -/** - * Get ioqueue instance. - * - * @param endpt The endpoint. - * - * @return The ioqueue. - */ -PJ_DECL(pj_ioqueue_t*) pjsip_endpt_get_ioqueue(pjsip_endpoint *endpt); - -/** - * Find a SIP transport suitable for sending SIP message to the specified - * address. If transport selector ("sel") is set, then the function will - * check if the transport selected is suitable to send requests to the - * specified address. - * - * @see pjsip_tpmgr_acquire_transport - * - * @param endpt The SIP endpoint instance. - * @param type The type of transport to be acquired. - * @param remote The remote address to send message to. - * @param addr_len Length of the remote address. - * @param sel Optional pointer to transport selector instance which is - * used to find explicit transport, if required. - * @param p_tp Pointer to receive the transport instance, if one is found. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) -pjsip_endpt_acquire_transport( pjsip_endpoint *endpt, - pjsip_transport_type_e type, - const pj_sockaddr_t *remote, - int addr_len, - const pjsip_tpselector *sel, - pjsip_transport **p_tp); - - -/** - * Find a SIP transport suitable for sending SIP message to the specified - * address by also considering the outgoing SIP message data. If transport - * selector ("sel") is set, then the function will check if the transport - * selected is suitable to send requests to the specified address. - * - * @see pjsip_tpmgr_acquire_transport - * - * @param endpt The SIP endpoint instance. - * @param type The type of transport to be acquired. - * @param remote The remote address to send message to. - * @param addr_len Length of the remote address. - * @param sel Optional pointer to transport selector instance which is - * used to find explicit transport, if required. - * @param tdata Optional pointer to SIP message data to be sent. - * @param p_tp Pointer to receive the transport instance, if one is found. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) -pjsip_endpt_acquire_transport2(pjsip_endpoint *endpt, - pjsip_transport_type_e type, - const pj_sockaddr_t *remote, - int addr_len, - const pjsip_tpselector *sel, - pjsip_tx_data *tdata, - pjsip_transport **p_tp); - - -/***************************************************************************** - * - * Capabilities Management - * - * Modules may implement new capabilities to the stack. These capabilities - * are indicated by the appropriate SIP header fields, such as Accept, - * Accept-Encoding, Accept-Language, Allow, Supported, etc. - * - * When a module provides new capabilities to the stack, it registers these - * capabilities to the endpoint by supplying new tags (strings) to the - * appropriate header fields. Application (or other modules) can then query - * these header fields to get the list of supported capabilities, and may - * include these headers in the outgoing message. - ***************************************************************************** - */ - -/** - * Get the value of the specified capability header field. - * - * @param endpt The endpoint. - * @param htype The header type to be retrieved, which value may be: - * - PJSIP_H_ACCEPT - * - PJSIP_H_ALLOW - * - PJSIP_H_SUPPORTED - * @param hname If htype specifies PJSIP_H_OTHER, then the header name - * must be supplied in this argument. Otherwise the value - * must be set to NULL. - * - * @return The appropriate header, or NULL if the header is not - * available. - */ -PJ_DECL(const pjsip_hdr*) pjsip_endpt_get_capability( pjsip_endpoint *endpt, - int htype, - const pj_str_t *hname); - - -/** - * Check if we have the specified capability. - * - * @param endpt The endpoint. - * @param htype The header type to be retrieved, which value may be: - * - PJSIP_H_ACCEPT - * - PJSIP_H_ALLOW - * - PJSIP_H_SUPPORTED - * @param hname If htype specifies PJSIP_H_OTHER, then the header name - * must be supplied in this argument. Otherwise the value - * must be set to NULL. - * @param token The capability token to check. For example, if \a htype - * is PJSIP_H_ALLOW, then \a token specifies the method - * names; if \a htype is PJSIP_H_SUPPORTED, then \a token - * specifies the extension names such as "100rel". - * - * @return PJ_TRUE if the specified capability is supported, - * otherwise PJ_FALSE.. - */ -PJ_DECL(pj_bool_t) pjsip_endpt_has_capability( pjsip_endpoint *endpt, - int htype, - const pj_str_t *hname, - const pj_str_t *token); - - -/** - * Add or register new capabilities as indicated by the tags to the - * appropriate header fields in the endpoint. - * - * @param endpt The endpoint. - * @param mod The module which registers the capability. - * @param htype The header type to be set, which value may be: - * - PJSIP_H_ACCEPT - * - PJSIP_H_ALLOW - * - PJSIP_H_SUPPORTED - * @param hname If htype specifies PJSIP_H_OTHER, then the header name - * must be supplied in this argument. Otherwise the value - * must be set to NULL. - * @param count The number of tags in the array. - * @param tags Array of tags describing the capabilities or extensions - * to be added to the appropriate header. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_endpt_add_capability( pjsip_endpoint *endpt, - pjsip_module *mod, - int htype, - const pj_str_t *hname, - unsigned count, - const pj_str_t tags[]); - -/** - * Get list of additional headers to be put in outgoing request message. - * Currently only Max-Forwards are defined. - * - * @param e The endpoint. - * - * @return List of headers. - */ -PJ_DECL(const pjsip_hdr*) pjsip_endpt_get_request_headers(pjsip_endpoint *e); - - -/** - * Dump endpoint status to the log. This will print the status to the log - * with log level 3. - * - * @param endpt The endpoint. - * @param detail If non zero, then it will dump a detailed output. - * BEWARE that this option may crash the system because - * it tries to access all memory pools. - */ -PJ_DECL(void) pjsip_endpt_dump( pjsip_endpoint *endpt, pj_bool_t detail ); - - -/** - * Register cleanup function to be called by SIP endpoint when - * #pjsip_endpt_destroy() is called. Note that application should not - * use or access any endpoint resource (such as pool, ioqueue, timer heap) - * from within the callback as such resource may have been released when - * the callback function is invoked. - * - * @param endpt The SIP endpoint. - * @param func The function to be registered. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_endpt_atexit(pjsip_endpoint *endpt, - pjsip_endpt_exit_callback func); - - -/** - * @} - */ - - -/** - * Log an error. - */ -PJ_DECL(void) pjsip_endpt_log_error( pjsip_endpoint *endpt, - const char *sender, - pj_status_t error_code, - const char *format, - ... ); - -#define PJSIP_ENDPT_LOG_ERROR(expr) \ - pjsip_endpt_log_error expr - -#define PJSIP_ENDPT_TRACE(tracing,expr) \ - do { \ - if ((tracing)) \ - PJ_LOG(4,expr); \ - } while (0) - -/* - * Internal functions. - */ -/* - * Receive transaction events from transactions and put in the event queue - * to be processed later. - */ -void pjsip_endpt_send_tsx_event( pjsip_endpoint *endpt, pjsip_event *evt ); - -PJ_END_DECL - -#endif /* __PJSIP_SIP_ENDPOINT_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip/sip_errno.h b/res/pjproject/pjsip/include/pjsip/sip_errno.h deleted file mode 100644 index afcecc4b05..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_errno.h +++ /dev/null @@ -1,545 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIP_ERRNO_H__ -#define __PJSIP_SIP_ERRNO_H__ - -/** - * @file sip_errno.h - * @brief PJSIP Specific Error Code - */ - -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJSIP_CORE_ERRNO PJSIP Specific Error Code - * @ingroup PJSIP_BASE - * @brief PJSIP specific error constants. - * @{ - */ - -/* - * PJSIP error codes occupies 170000 - 219000, and mapped as follows: - * - 170100 - 170799: mapped to SIP status code in response msg. - * - 171000 - 171999: mapped to errors generated from PJSIP core. - */ - -/** - * Start of error code relative to PJ_ERRNO_START_USER. - */ -#define PJSIP_ERRNO_START (PJ_ERRNO_START_USER) - -/** - * Create error value from SIP status code. - * @param code SIP status code. - * @return Error code in pj_status_t namespace. - */ -#define PJSIP_ERRNO_FROM_SIP_STATUS(code) (PJSIP_ERRNO_START+code) - -/** - * Get SIP status code from error value. - * If conversion to SIP status code is not available, a SIP status code - * 599 will be returned. - * - * @param status Error code in pj_status_t namespace. - * @return SIP status code. - */ -#define PJSIP_ERRNO_TO_SIP_STATUS(status) \ - ((status>=PJSIP_ERRNO_FROM_SIP_STATUS(100) && \ - status - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIP_EVENT_H__ -#define __PJSIP_SIP_EVENT_H__ - -/** - * @file sip_event.h - * @brief SIP Event - */ - -PJ_BEGIN_DECL - -/** - * @defgroup PJSIP_EVENT Event - * @ingroup PJSIP_CORE_CORE - * @brief Representation of events as they are distributed among modules. - * @{ - */ -#include - - -/** - * Event IDs. - */ -typedef enum pjsip_event_id_e -{ - /** Unidentified event. */ - PJSIP_EVENT_UNKNOWN, - - /** Timer event, normally only used internally in transaction. */ - PJSIP_EVENT_TIMER, - - /** Message transmission event. */ - PJSIP_EVENT_TX_MSG, - - /** Message received event. */ - PJSIP_EVENT_RX_MSG, - - /** Transport error event. */ - PJSIP_EVENT_TRANSPORT_ERROR, - - /** Transaction state changed event. */ - PJSIP_EVENT_TSX_STATE, - - /** Indicates that the event was triggered by user action. */ - PJSIP_EVENT_USER - -} pjsip_event_id_e; - - -/** - * This structure describe event descriptor to fully identify a SIP event. - * - * Events are the only way for a lower layer object to inform something - * to higher layer objects. Normally this is achieved by means of callback, - * i.e. the higher layer objects register a callback to handle the event on - * the lower layer objects. - * - * This event descriptor is used for example by transactions, to inform - * endpoint about events, and by transports, to inform endpoint about - * unexpected transport error. - */ -struct pjsip_event -{ - /** This is necessary so that we can put events as a list. */ - PJ_DECL_LIST_MEMBER(struct pjsip_event); - - /** The event type, can be any value of \b pjsip_event_id_e. - */ - pjsip_event_id_e type; - - /** - * The event body as union, which fields depends on the event type. - * By convention, the first member of each struct in the union must be - * the pointer which is relevant to the event. - */ - union - { - /** Timer event. */ - struct - { - pj_timer_entry *entry; /**< The timer entry. */ - } timer; - - /** Transaction state has changed event. */ - struct - { - union - { - pjsip_rx_data *rdata; /**< The incoming message. */ - pjsip_tx_data *tdata; /**< The outgoing message. */ - pj_timer_entry *timer; /**< The timer. */ - pj_status_t status;/**< Transport error status. */ - void *data; /**< Generic data. */ - } src; - pjsip_transaction *tsx; /**< The transaction. */ - int prev_state; /**< Previous state. */ - pjsip_event_id_e type; /**< Type of event source: - * - PJSIP_EVENT_TX_MSG - * - PJSIP_EVENT_RX_MSG, - * - PJSIP_EVENT_TRANSPORT_ERROR - * - PJSIP_EVENT_TIMER - * - PJSIP_EVENT_USER - */ - } tsx_state; - - /** Message transmission event. */ - struct - { - pjsip_tx_data *tdata; /**< The transmit data buffer. */ - - } tx_msg; - - /** Transmission error event. */ - struct - { - pjsip_tx_data *tdata; /**< The transmit data. */ - pjsip_transaction *tsx; /**< The transaction. */ - } tx_error; - - /** Message arrival event. */ - struct - { - pjsip_rx_data *rdata; /**< The receive data buffer. */ - } rx_msg; - - /** User event. */ - struct - { - void *user1; /**< User data 1. */ - void *user2; /**< User data 2. */ - void *user3; /**< User data 3. */ - void *user4; /**< User data 4. */ - } user; - - } body; -}; - -/** - * Init timer event. - */ -#define PJSIP_EVENT_INIT_TIMER(event,pentry) \ - do { \ - (event).type = PJSIP_EVENT_TIMER; \ - (event).body.timer.entry = pentry; \ - } while (0) - -/** - * Init tsx state event. - */ -#define PJSIP_EVENT_INIT_TSX_STATE(event,ptsx,ptype,pdata,prev) \ - do { \ - (event).type = PJSIP_EVENT_TSX_STATE; \ - (event).body.tsx_state.tsx = ptsx; \ - (event).body.tsx_state.type = ptype; \ - (event).body.tsx_state.src.data = pdata; \ - (event).body.tsx_state.prev_state = prev; \ - } while (0) - -/** - * Init tx msg event. - */ -#define PJSIP_EVENT_INIT_TX_MSG(event,ptdata) \ - do { \ - (event).type = PJSIP_EVENT_TX_MSG; \ - (event).body.tx_msg.tdata = ptdata; \ - } while (0) - -/** - * Init rx msg event. - */ -#define PJSIP_EVENT_INIT_RX_MSG(event,prdata) \ - do { \ - (event).type = PJSIP_EVENT_RX_MSG; \ - (event).body.rx_msg.rdata = prdata; \ - } while (0) - -/** - * Init transport error event. - */ -#define PJSIP_EVENT_INIT_TRANSPORT_ERROR(event,ptsx,ptdata) \ - do { \ - (event).type = PJSIP_EVENT_TRANSPORT_ERROR; \ - (event).body.tx_error.tsx = ptsx; \ - (event).body.tx_error.tdata = ptdata; \ - } while (0) - -/** - * Init user event. - */ -#define PJSIP_EVENT_INIT_USER(event,u1,u2,u3,u4) \ - do { \ - (event).type = PJSIP_EVENT_USER; \ - (event).body.user.user1 = (void*)u1; \ - (event).body.user.user2 = (void*)u2; \ - (event).body.user.user3 = (void*)u3; \ - (event).body.user.user4 = (void*)u4; \ - } while (0) - -/** - * Get the event string from the event ID. - * @param e the event ID. - * @note defined in sip_util.c - */ -PJ_DECL(const char *) pjsip_event_str(pjsip_event_id_e e); - -/** - * @} - */ - -PJ_END_DECL - -#endif /* __PJSIP_SIP_EVENT_H__ */ diff --git a/res/pjproject/pjsip/include/pjsip/sip_module.h b/res/pjproject/pjsip/include/pjsip/sip_module.h deleted file mode 100644 index cc44fef319..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_module.h +++ /dev/null @@ -1,222 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIP_MODULE_H__ -#define __PJSIP_SIP_MODULE_H__ - -/** - * @file sip_module.h - * @brief Module helpers - */ -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJSIP_MOD Modules - * @ingroup PJSIP_CORE_CORE - * @brief Modules are the primary means to extend PJSIP! - * @{ - * Modules are the primary means to extend PJSIP. Without modules, PJSIP - * would not know how to handle messages, and will simply discard all - * incoming messages. - * - * Modules are registered by creating and initializing #pjsip_module - * structure, and register the structure to PJSIP with - * #pjsip_endpt_register_module(). - * - * The PJSIP Developer's Guide - * has a thorough discussion on this subject, and readers are encouraged - * to read the document for more information. - */ - -/** - * The declaration for SIP module. This structure would be passed to - * #pjsip_endpt_register_module() to register the module to PJSIP. - */ -struct pjsip_module -{ - /** To allow chaining of modules in the endpoint. */ - PJ_DECL_LIST_MEMBER(struct pjsip_module); - - /** - * Module name to identify the module. - * - * This field MUST be initialized before registering the module. - */ - pj_str_t name; - - /** - * Module ID. Application must initialize this field with -1 before - * registering the module to PJSIP. After the module is registered, - * this field will contain a unique ID to identify the module. - */ - int id; - - /** - * Integer number to identify module initialization and start order with - * regard to other modules. Higher number will make the module gets - * initialized later. - * - * This field MUST be initialized before registering the module. - */ - int priority; - - /** - * Optional function to be called to initialize the module. This function - * will be called by endpoint during module registration. If the value - * is NULL, then it's equal to returning PJ_SUCCESS. - * - * @param endpt The endpoint instance. - * @return Module should return PJ_SUCCESS to indicate success. - */ - pj_status_t (*load)(pjsip_endpoint *endpt); - - /** - * Optional function to be called to start the module. This function - * will be called by endpoint during module registration. If the value - * is NULL, then it's equal to returning PJ_SUCCESS. - * - * @return Module should return zero to indicate success. - */ - pj_status_t (*start)(void); - - /** - * Optional function to be called to deinitialize the module before - * it is unloaded. This function will be called by endpoint during - * module unregistration. If the value is NULL, then it's equal to - * returning PJ_SUCCESS. - * - * @return Module should return PJ_SUCCESS to indicate success. - */ - pj_status_t (*stop)(void); - - /** - * Optional function to be called to deinitialize the module before - * it is unloaded. This function will be called by endpoint during - * module unregistration. If the value is NULL, then it's equal to - * returning PJ_SUCCESS. - * - * @param mod The module. - * - * @return Module should return PJ_SUCCESS to indicate success. - */ - pj_status_t (*unload)(void); - - /** - * Optional function to be called to process incoming request message. - * - * @param rdata The incoming message. - * - * @return Module should return PJ_TRUE if it handles the request, - * or otherwise it should return PJ_FALSE to allow other - * modules to handle the request. - */ - pj_bool_t (*on_rx_request)(pjsip_rx_data *rdata); - - /** - * Optional function to be called to process incoming response message. - * - * @param rdata The incoming message. - * - * @return Module should return PJ_TRUE if it handles the - * response, or otherwise it should return PJ_FALSE to - * allow other modules to handle the response. - */ - pj_bool_t (*on_rx_response)(pjsip_rx_data *rdata); - - /** - * Optional function to be called when transport layer is about to - * transmit outgoing request message. - * - * @param tdata The outgoing request message. - * - * @return Module should return PJ_SUCCESS in all cases. - * If non-zero (or PJ_FALSE) is returned, the message - * will not be sent. - */ - pj_status_t (*on_tx_request)(pjsip_tx_data *tdata); - - /** - * Optional function to be called when transport layer is about to - * transmit outgoing response message. - * - * @param tdata The outgoing response message. - * - * @return Module should return PJ_SUCCESS in all cases. - * If non-zero (or PJ_FALSE) is returned, the message - * will not be sent. - */ - pj_status_t (*on_tx_response)(pjsip_tx_data *tdata); - - /** - * Optional function to be called when this module is acting as - * transaction user for the specified transaction, when the - * transaction's state has changed. - * - * @param tsx The transaction. - * @param event The event which has caused the transaction state - * to change. - */ - void (*on_tsx_state)(pjsip_transaction *tsx, pjsip_event *event); - -}; - - -/** - * Module priority guidelines. - */ -enum pjsip_module_priority -{ - /** - * This is the priority used by transport layer. - */ - PJSIP_MOD_PRIORITY_TRANSPORT_LAYER = 8, - - /** - * This is the priority used by transaction layer. - */ - PJSIP_MOD_PRIORITY_TSX_LAYER = 16, - - /** - * This is the priority used by the user agent and proxy layer. - */ - PJSIP_MOD_PRIORITY_UA_PROXY_LAYER = 32, - - /** - * This is the priority used by the dialog usages. - */ - PJSIP_MOD_PRIORITY_DIALOG_USAGE = 48, - - /** - * This is the recommended priority to be used by applications. - */ - PJSIP_MOD_PRIORITY_APPLICATION = 64 -}; - - -/** - * @} - */ - -PJ_END_DECL - -#endif /* __PJSIP_SIP_MODULE_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip/sip_msg.h b/res/pjproject/pjsip/include/pjsip/sip_msg.h deleted file mode 100644 index 40fae8bc72..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_msg.h +++ /dev/null @@ -1,2048 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIP_MSG_H__ -#define __PJSIP_SIP_MSG_H__ - -/** - * @file pjsip/sip_msg.h - * @brief SIP Message Structure. - */ - -#include -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJSIP_MSG Messaging Elements - * @ingroup PJSIP_CORE - * @brief Various SIP message elements such as methods, headers, URIs, etc. - * @{ - */ - -/* **************************************************************************/ -/** - * @defgroup PJSIP_MSG_METHOD Methods - * @brief Method names and manipulation. - * @ingroup PJSIP_MSG - * @{ - */ - -/** - * This enumeration declares SIP methods as described by RFC3261. Additional - * methods do exist, and they are described by corresponding RFCs for the SIP - * extentensions. Since they won't alter the characteristic of the processing - * of the message, they don't need to be explicitly mentioned here. - */ -typedef enum pjsip_method_e -{ - PJSIP_INVITE_METHOD, /**< INVITE method, for establishing dialogs. */ - PJSIP_CANCEL_METHOD, /**< CANCEL method, for cancelling request. */ - PJSIP_ACK_METHOD, /**< ACK method. */ - PJSIP_BYE_METHOD, /**< BYE method, for terminating dialog. */ - PJSIP_REGISTER_METHOD, /**< REGISTER method. */ - PJSIP_OPTIONS_METHOD, /**< OPTIONS method. */ - - PJSIP_OTHER_METHOD /**< Other method. */ - -} pjsip_method_e; - - - -/** - * This structure represents a SIP method. - * Application must always use either #pjsip_method_init or #pjsip_method_set - * to make sure that method name is initialized correctly. This way, the name - * member will always contain a valid method string regardless whether the ID - * is recognized or not. - */ -struct pjsip_method -{ - pjsip_method_e id; /**< Method ID, from \a pjsip_method_e. */ - pj_str_t name; /**< Method name, which will always contain the - method string. */ -}; - - -/* - * For convenience, standard method structures are defined in the library. - */ -/** INVITE method constant. @see pjsip_get_invite_method() */ -PJ_DECL_DATA(const pjsip_method) pjsip_invite_method; - -/** CANCEL method constant. @see pjsip_get_cancel_method() */ -PJ_DECL_DATA(const pjsip_method) pjsip_cancel_method; - -/** ACK method constant. @see pjsip_get_ack_method() */ -PJ_DECL_DATA(const pjsip_method) pjsip_ack_method; - -/** BYE method constant. @see pjsip_get_bye_method() */ -PJ_DECL_DATA(const pjsip_method) pjsip_bye_method; - -/** REGISTER method constant. @see pjsip_get_register_method() */ -PJ_DECL_DATA(const pjsip_method) pjsip_register_method; - -/** OPTIONS method constant. @see pjsip_get_options_method() */ -PJ_DECL_DATA(const pjsip_method) pjsip_options_method; - -/* - * Accessor functions for standard SIP methods. - */ -/** Get INVITE method constant. */ -PJ_DECL(const pjsip_method*) pjsip_get_invite_method(void); -/** Get CANCEL method constant. */ -PJ_DECL(const pjsip_method*) pjsip_get_cancel_method(void); -/** Get ACK method constant. */ -PJ_DECL(const pjsip_method*) pjsip_get_ack_method(void); -/** Get BYE method constant. */ -PJ_DECL(const pjsip_method*) pjsip_get_bye_method(void); -/** Get REGISTER method constant.*/ -PJ_DECL(const pjsip_method*) pjsip_get_register_method(void); -/** Get OPTIONS method constant. */ -PJ_DECL(const pjsip_method*) pjsip_get_options_method(void); - - -/* - * Accessor functions - */ - -/** - * Initialize the method structure from a string. - * This function will check whether the method is a known method then set - * both the id and name accordingly. - * - * @param m The method to initialize. - * @param pool Pool where memory allocation will be allocated from, if required. - * @param str The method string. - */ -PJ_DECL(void) pjsip_method_init( pjsip_method *m, - pj_pool_t *pool, - const pj_str_t *str); - -/** - * Initialize the method structure from a string, without cloning the string. - * See #pjsip_method_init. - * - * @param m The method structure to be initialized. - * @param str The method string. - */ -PJ_DECL(void) pjsip_method_init_np( pjsip_method *m, - pj_str_t *str); - -/** - * Set the method with the predefined method ID. - * This function will also set the name member of the structure to the correct - * string according to the method. - * - * @param m The method structure. - * @param id The method ID. - */ -PJ_DECL(void) pjsip_method_set( pjsip_method *m, pjsip_method_e id ); - - -/** - * Copy one method structure to another. If the method is of the known methods, - * then memory allocation is not required. - * - * @param pool Pool to allocate memory from, if required. - * @param method The destination method to copy to. - * @param rhs The source method to copy from. - */ -PJ_DECL(void) pjsip_method_copy( pj_pool_t *pool, - pjsip_method *method, - const pjsip_method *rhs ); - -/** - * Compare one method with another, and conveniently determine whether the - * first method is equal, less than, or greater than the second method. - * - * @param m1 The first method. - * @param m2 The second method. - * - * @return Zero if equal, otherwise will return -1 if less or +1 if greater. - */ -PJ_DECL(int) pjsip_method_cmp( const pjsip_method *m1, const pjsip_method *m2); - -/** - * @} - */ - -/* **************************************************************************/ -/** - * @defgroup PJSIP_MSG_HDR Header Fields - * @brief Declarations for various SIP header fields. - * @ingroup PJSIP_MSG - * @{ - */ - -/** - * Header types, as defined by RFC3261. - */ -typedef enum pjsip_hdr_e -{ - /* - * These are the headers documented in RFC3261. Headers not documented - * there must have type PJSIP_H_OTHER, and the header type itself is - * recorded in the header name string. - * - * DO NOT CHANGE THE VALUE/ORDER OF THE HEADER IDs!!!. - */ - PJSIP_H_ACCEPT, - PJSIP_H_ACCEPT_ENCODING_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_ACCEPT_LANGUAGE_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_ALERT_INFO_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_ALLOW, - PJSIP_H_AUTHENTICATION_INFO_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_AUTHORIZATION, - PJSIP_H_CALL_ID, - PJSIP_H_CALL_INFO_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_CONTACT, - PJSIP_H_CONTENT_DISPOSITION_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_CONTENT_ENCODING_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_CONTENT_LANGUAGE_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_CONTENT_LENGTH, - PJSIP_H_CONTENT_TYPE, - PJSIP_H_CSEQ, - PJSIP_H_DATE_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_ERROR_INFO_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_EXPIRES, - PJSIP_H_FROM, - PJSIP_H_IN_REPLY_TO_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_MAX_FORWARDS, - PJSIP_H_MIME_VERSION_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_MIN_EXPIRES, - PJSIP_H_ORGANIZATION_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_PRIORITY_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_PROXY_AUTHENTICATE, - PJSIP_H_PROXY_AUTHORIZATION, - PJSIP_H_PROXY_REQUIRE_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_RECORD_ROUTE, - PJSIP_H_REPLY_TO_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_REQUIRE, - PJSIP_H_RETRY_AFTER, - PJSIP_H_ROUTE, - PJSIP_H_SERVER_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_SUBJECT_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_SUPPORTED, - PJSIP_H_TIMESTAMP_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_TO, - PJSIP_H_UNSUPPORTED, - PJSIP_H_USER_AGENT_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_VIA, - PJSIP_H_WARNING_UNIMP, /* N/A, use pjsip_generic_string_hdr */ - PJSIP_H_WWW_AUTHENTICATE, - - PJSIP_H_OTHER - -} pjsip_hdr_e; - -/** - * This structure provides the pointer to basic functions that are needed - * for generic header operations. All header fields will have pointer to - * this structure, so that they can be manipulated uniformly. - */ -typedef struct pjsip_hdr_vptr -{ - /** - * Function to clone the header. - * - * @param pool Memory pool to allocate the new header. - * @param hdr Header to clone. - * - * @return A new instance of the header. - */ - void *(*clone)(pj_pool_t *pool, const void *hdr); - - /** - * Pointer to function to shallow clone the header. - * Shallow cloning will just make a memory copy of the original header, - * thus all pointers in original header will be kept intact. Because the - * function does not need to perform deep copy, the operation should be - * faster, but the application must make sure that the original header - * is still valid throughout the lifetime of new header. - * - * @param pool Memory pool to allocate the new header. - * @param hdr The header to clone. - */ - void *(*shallow_clone)(pj_pool_t *pool, const void *hdr); - - /** Pointer to function to print the header to the specified buffer. - * Returns the length of string written, or -1 if the remaining buffer - * is not enough to hold the header. - * - * @param hdr The header to print. - * @param buf The buffer. - * @param len The size of the buffer. - * - * @return The size copied to buffer, or -1 if there's not enough space. - */ - int (*print_on)(void *hdr, char *buf, pj_size_t len); - -} pjsip_hdr_vptr; - - -/** - * Generic fields for all SIP headers are declared using this macro, to make - * sure that all headers will have exactly the same layout in their start of - * the storage. This behaves like C++ inheritance actually. - */ -#define PJSIP_DECL_HDR_MEMBER(hdr) \ - /** List members. */ \ - PJ_DECL_LIST_MEMBER(hdr); \ - /** Header type */ \ - pjsip_hdr_e type; \ - /** Header name. */ \ - pj_str_t name; \ - /** Header short name version. */ \ - pj_str_t sname; \ - /** Virtual function table. */ \ - pjsip_hdr_vptr *vptr - - -/** - * Generic SIP header structure, for generic manipulation for headers in the - * message. All header fields can be typecasted to this type. - */ -struct pjsip_hdr -{ - PJSIP_DECL_HDR_MEMBER(struct pjsip_hdr); -}; - - -/** - * This generic function will clone any header, by calling "clone" function - * in header's virtual function table. - * - * @param pool The pool to allocate memory from. - * @param hdr The header to clone. - * - * @return A new instance copied from the original header. - */ -PJ_DECL(void*) pjsip_hdr_clone( pj_pool_t *pool, const void *hdr ); - - -/** - * This generic function will clone any header, by calling "shallow_clone" - * function in header's virtual function table. - * - * @param pool The pool to allocate memory from. - * @param hdr The header to clone. - * - * @return A new instance copied from the original header. - */ -PJ_DECL(void*) pjsip_hdr_shallow_clone( pj_pool_t *pool, const void *hdr ); - -/** - * This generic function will print any header, by calling "print" - * function in header's virtual function table. - * - * @param hdr The header to print. - * @param buf The buffer. - * @param len The size of the buffer. - * - * @return The size copied to buffer, or -1 if there's not enough space. - */ -PJ_DECL(int) pjsip_hdr_print_on( void *hdr, char *buf, pj_size_t len); - -/** - * @} - */ - -/* **************************************************************************/ -/** - * @defgroup PJSIP_MSG_LINE Request and Status Line. - * @brief Request and status line structures and manipulation. - * @ingroup PJSIP_MSG - * @{ - */ - -/** - * This structure describes SIP request line. - */ -typedef struct pjsip_request_line -{ - pjsip_method method; /**< Method for this request line. */ - pjsip_uri *uri; /**< URI for this request line. */ -} pjsip_request_line; - - -/** - * This structure describes SIP status line. - */ -typedef struct pjsip_status_line -{ - int code; /**< Status code. */ - pj_str_t reason; /**< Reason string. */ -} pjsip_status_line; - - -/** - * This enumeration lists standard SIP status codes according to RFC 3261. - * In addition, it also declares new status class 7xx for errors generated - * by the stack. This status class however should not get transmitted on the - * wire. - */ -typedef enum pjsip_status_code -{ - PJSIP_SC_TRYING = 100, - PJSIP_SC_RINGING = 180, - PJSIP_SC_CALL_BEING_FORWARDED = 181, - PJSIP_SC_QUEUED = 182, - PJSIP_SC_PROGRESS = 183, - - PJSIP_SC_OK = 200, - PJSIP_SC_ACCEPTED = 202, - - PJSIP_SC_MULTIPLE_CHOICES = 300, - PJSIP_SC_MOVED_PERMANENTLY = 301, - PJSIP_SC_MOVED_TEMPORARILY = 302, - PJSIP_SC_USE_PROXY = 305, - PJSIP_SC_ALTERNATIVE_SERVICE = 380, - - PJSIP_SC_BAD_REQUEST = 400, - PJSIP_SC_UNAUTHORIZED = 401, - PJSIP_SC_PAYMENT_REQUIRED = 402, - PJSIP_SC_FORBIDDEN = 403, - PJSIP_SC_NOT_FOUND = 404, - PJSIP_SC_METHOD_NOT_ALLOWED = 405, - PJSIP_SC_NOT_ACCEPTABLE = 406, - PJSIP_SC_PROXY_AUTHENTICATION_REQUIRED = 407, - PJSIP_SC_REQUEST_TIMEOUT = 408, - PJSIP_SC_GONE = 410, - PJSIP_SC_REQUEST_ENTITY_TOO_LARGE = 413, - PJSIP_SC_REQUEST_URI_TOO_LONG = 414, - PJSIP_SC_UNSUPPORTED_MEDIA_TYPE = 415, - PJSIP_SC_UNSUPPORTED_URI_SCHEME = 416, - PJSIP_SC_BAD_EXTENSION = 420, - PJSIP_SC_EXTENSION_REQUIRED = 421, - PJSIP_SC_SESSION_TIMER_TOO_SMALL = 422, - PJSIP_SC_INTERVAL_TOO_BRIEF = 423, - PJSIP_SC_TEMPORARILY_UNAVAILABLE = 480, - PJSIP_SC_CALL_TSX_DOES_NOT_EXIST = 481, - PJSIP_SC_LOOP_DETECTED = 482, - PJSIP_SC_TOO_MANY_HOPS = 483, - PJSIP_SC_ADDRESS_INCOMPLETE = 484, - PJSIP_AC_AMBIGUOUS = 485, - PJSIP_SC_BUSY_HERE = 486, - PJSIP_SC_REQUEST_TERMINATED = 487, - PJSIP_SC_NOT_ACCEPTABLE_HERE = 488, - PJSIP_SC_BAD_EVENT = 489, - PJSIP_SC_REQUEST_UPDATED = 490, - PJSIP_SC_REQUEST_PENDING = 491, - PJSIP_SC_UNDECIPHERABLE = 493, - - PJSIP_SC_INTERNAL_SERVER_ERROR = 500, - PJSIP_SC_NOT_IMPLEMENTED = 501, - PJSIP_SC_BAD_GATEWAY = 502, - PJSIP_SC_SERVICE_UNAVAILABLE = 503, - PJSIP_SC_SERVER_TIMEOUT = 504, - PJSIP_SC_VERSION_NOT_SUPPORTED = 505, - PJSIP_SC_MESSAGE_TOO_LARGE = 513, - PJSIP_SC_PRECONDITION_FAILURE = 580, - - PJSIP_SC_BUSY_EVERYWHERE = 600, - PJSIP_SC_DECLINE = 603, - PJSIP_SC_DOES_NOT_EXIST_ANYWHERE = 604, - PJSIP_SC_NOT_ACCEPTABLE_ANYWHERE = 606, - - PJSIP_SC_TSX_TIMEOUT = PJSIP_SC_REQUEST_TIMEOUT, - /*PJSIP_SC_TSX_RESOLVE_ERROR = 702,*/ - PJSIP_SC_TSX_TRANSPORT_ERROR = PJSIP_SC_SERVICE_UNAVAILABLE, - - /* This is not an actual status code, but rather a constant - * to force GCC to use 32bit to represent this enum, since - * we have a code in PJSUA-LIB that assigns an integer - * to this enum (see pjsua_acc_get_info() function). - */ - PJSIP_SC__force_32bit = 0x7FFFFFFF - -} pjsip_status_code; - -/** - * Get the default status text for the status code. - * - * @param status_code SIP Status Code - * - * @return textual message for the status code. - */ -PJ_DECL(const pj_str_t*) pjsip_get_status_text(int status_code); - -/** - * This macro returns non-zero (TRUE) if the specified status_code is - * in the same class as the code_class. - * - * @param status_code The status code. - * @param code_class The status code in the class (for example 100, 200). - */ -#define PJSIP_IS_STATUS_IN_CLASS(status_code, code_class) \ - (status_code/100 == code_class/100) - -/** - * @} - */ - -/* **************************************************************************/ -/** - * @addtogroup PJSIP_MSG_MEDIA Media/MIME Type - * @brief Media/MIME type declaration and manipulations. - * @ingroup PJSIP_MSG - * @{ - */ - -/** - * This structure describes SIP media type, as used for example in - * Accept and Content-Type header.. - */ -typedef struct pjsip_media_type -{ - pj_str_t type; /**< Media type. */ - pj_str_t subtype; /**< Media subtype. */ - pjsip_param param; /**< Media type parameters */ -} pjsip_media_type; - - -/** - * Initialize the media type with the specified type and subtype string. - * - * @param mt The media type. - * @param type Optionally specify the media type. - * @param subtype Optionally specify the media subtype. - */ -PJ_DECL(void) pjsip_media_type_init(pjsip_media_type *mt, - pj_str_t *type, - pj_str_t *subtype); - -/** - * Initialize the media type with the specified type and subtype string. - * - * @param mt The media type. - * @param type Optionally specify the media type. - * @param subtype Optionally specify the media subtype. - */ -PJ_DECL(void) pjsip_media_type_init2(pjsip_media_type *mt, - char *type, - char *subtype); - -/** - * Compare two media types. - * - * @param mt1 The first media type. - * @param mt2 The second media type. - * @param cmp_param Specify how to compare the media type parameters: - * - 0: do not compare parameters - * - 1: compare parameters but ignore parameters that - * only appear in one of the media type. - * - 2: compare the parameters. - * - * @return Zero if both media types are equal, -1 if mt1 < mt2, - * 1 if mt1 > mt2. - */ -PJ_DECL(int) pjsip_media_type_cmp(const pjsip_media_type *mt1, - const pjsip_media_type *mt2, - int cmp_param); - -/** - * Copy SIP media type to another. - * - * @param pool Pool to duplicate strings. - * @param dst Destination structure. - * @param src Source structure. - */ -PJ_DECL(void) pjsip_media_type_cp(pj_pool_t *pool, - pjsip_media_type *dst, - const pjsip_media_type *src); - -/** - * Print media type to the specified buffer. - * - * @param buf Destination buffer. - * @param len Length of the buffer. - * @param mt The media type to be printed. - * - * @return The number of characters printed to the buffer, or -1 - * if there's not enough space in the buffer. - */ -PJ_DECL(int) pjsip_media_type_print(char *buf, unsigned len, - const pjsip_media_type *mt); - -/** - * @} - */ - -/* **************************************************************************/ -/** - * @addtogroup PJSIP_MSG_BODY Message Body - * @brief SIP message body structures and manipulation. - * @ingroup PJSIP_MSG - * @{ - */ - -/** - * Generic abstraction to message body. - * When an incoming message is parsed (pjsip_parse_msg()), the parser fills in - * all members with the appropriate value. The 'data' and 'len' member will - * describe portion of incoming packet which denotes the message body. - * When application needs to attach message body to outgoing SIP message, it - * must fill in all members of this structure. - */ -struct pjsip_msg_body -{ - /** MIME content type. - * For incoming messages, the parser will fill in this member with the - * content type found in Content-Type header. - * - * For outgoing messages, application may fill in this member with - * appropriate value, because the stack will generate Content-Type header - * based on the value specified here. - * - * If the content_type is empty, no Content-Type AND Content-Length header - * will be added to the message. The stack assumes that application adds - * these headers themselves. - */ - pjsip_media_type content_type; - - /** Pointer to buffer which holds the message body data. - * For incoming messages, the parser will fill in this member with the - * pointer to the body string. - * - * When sending outgoing message, this member doesn't need to point to the - * actual message body string. It can be assigned with arbitrary pointer, - * because the value will only need to be understood by the print_body() - * function. The stack itself will not try to interpret this value, but - * instead will always call the print_body() whenever it needs to get the - * actual body string. - */ - void *data; - - /** The length of the data. - * For incoming messages, the parser will fill in this member with the - * actual length of message body. - * - * When sending outgoing message, again just like the "data" member, the - * "len" member doesn't need to point to the actual length of the body - * string. - */ - unsigned len; - - /** Pointer to function to print this message body. - * Application must set a proper function here when sending outgoing - * message. - * - * @param msg_body This structure itself. - * @param buf The buffer. - * @param size The buffer size. - * - * @return The length of the string printed, or -1 if there is - * not enough space in the buffer to print the whole - * message body. - */ - int (*print_body)(struct pjsip_msg_body *msg_body, - char *buf, pj_size_t size); - - /** Clone the data part only of this message body. Note that this only - * duplicates the data part of the body instead of the whole message - * body. If application wants to duplicate the entire message body - * structure, it must call #pjsip_msg_body_clone(). - * - * @param pool Pool used to clone the data. - * @param data The data inside message body, to be cloned. - * @param len The length of the data. - * - * @return New data duplicated from the original data. - */ - void* (*clone_data)(pj_pool_t *pool, const void *data, unsigned len); - -}; - -/** - * General purpose function to textual data in a SIP body. Attach this function - * in a SIP message body only if the data in pjsip_msg_body is a textual - * message ready to be embedded in a SIP message. If the data in the message - * body is not a textual body, then application must supply a custom function - * to print that body. - * - * @param msg_body The message body. - * @param buf Buffer to copy the message body to. - * @param size The size of the buffer. - * - * @return The length copied to the buffer, or -1. - */ -PJ_DECL(int) pjsip_print_text_body( pjsip_msg_body *msg_body, - char *buf, pj_size_t size); - -/** - * General purpose function to clone textual data in a SIP body. Attach this - * function as "clone_data" member of the SIP body only if the data type - * is a text (i.e. C string, not pj_str_t), and the length indicates the - * length of the text. - * - * @param pool Pool used to clone the data. - * @param data Textual data. - * @param len The length of the string. - * - * @return New text duplicated from the original text. - */ -PJ_DECL(void*) pjsip_clone_text_data( pj_pool_t *pool, const void *data, - unsigned len); - - -/** - * Clone the message body in src_body to the dst_body. This will duplicate - * the contents of the message body using the \a clone_data member of the - * source message body. - * - * @param pool Pool to use to duplicate the message body. - * @param dst_body Destination message body. - * @param src_body Source message body to duplicate. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_msg_body_copy( pj_pool_t *pool, - pjsip_msg_body *dst_body, - const pjsip_msg_body *src_body ); - - -/** - * Create cloned message body. This will duplicate the contents of the message - * body using the \a clone_data member of the source message body. - * - * @param pool Pool to use to duplicate the message body. - * @param body Source message body to duplicate. - * - * @return The cloned message body on successfull. - */ -PJ_DECL(pjsip_msg_body*) pjsip_msg_body_clone( pj_pool_t *pool, - const pjsip_msg_body *body ); - - -/** - * Create a text message body. Use this function to create message body when - * the content is a simple text. For non-text message body (e.g. - * pjmedia_sdp_session or pj_xml_node), application must construct the message - * manually. - * - * @param pool Pool to allocate message body and its contents. - * @param type MIME type (e.g. "text"). - * @param subtype MIME subtype (e.g. "plain"). - * @param text The text content to be put in the message body. - * - * @return A new message body with the specified Content-Type and - * text. - */ -PJ_DECL(pjsip_msg_body*) pjsip_msg_body_create( pj_pool_t *pool, - const pj_str_t *type, - const pj_str_t *subtype, - const pj_str_t *text ); - -/** - * @} - */ - -/* **************************************************************************/ -/** - * @defgroup PJSIP_MSG_MSG Message Structure - * @brief SIP message (request and response) structure and operations. - * @ingroup PJSIP_MSG - * @{ - */ - -/** - * Message type (request or response). - */ -typedef enum pjsip_msg_type_e -{ - PJSIP_REQUEST_MSG, /**< Indicates request message. */ - PJSIP_RESPONSE_MSG /**< Indicates response message. */ -} pjsip_msg_type_e; - - -/** - * This structure describes a SIP message. - */ -struct pjsip_msg -{ - /** Message type (ie request or response). */ - pjsip_msg_type_e type; - - /** The first line of the message can be either request line for request - * messages, or status line for response messages. It is represented here - * as a union. - */ - union - { - /** Request Line. */ - struct pjsip_request_line req; - - /** Status Line. */ - struct pjsip_status_line status; - } line; - - /** List of message headers. */ - pjsip_hdr hdr; - - /** Pointer to message body, or NULL if no message body is attached to - * this mesage. - */ - pjsip_msg_body *body; -}; - - -/** - * Create new request or response message. - * - * @param pool The pool. - * @param type Message type. - * @return New message, or THROW exception if failed. - */ -PJ_DECL(pjsip_msg*) pjsip_msg_create( pj_pool_t *pool, pjsip_msg_type_e type); - - -/** - * Perform a deep clone of a SIP message. - * - * @param pool The pool for creating the new message. - * @param msg The message to be duplicated. - * - * @return New message, which is duplicated from the original - * message. - */ -PJ_DECL(pjsip_msg*) pjsip_msg_clone( pj_pool_t *pool, const pjsip_msg *msg); - - -/** - * Find a header in the message by the header type. - * - * @param msg The message. - * @param type The header type to find. - * @param start The first header field where the search should begin. - * If NULL is specified, then the search will begin from the - * first header, otherwise the search will begin at the - * specified header. - * - * @return The header field, or NULL if no header with the specified - * type is found. - */ -PJ_DECL(void*) pjsip_msg_find_hdr( const pjsip_msg *msg, - pjsip_hdr_e type, const void *start); - -/** - * Find a header in the message by its name. - * - * @param msg The message. - * @param name The header name to find. - * @param start The first header field where the search should begin. - * If NULL is specified, then the search will begin from the - * first header, otherwise the search will begin at the - * specified header. - * - * @return The header field, or NULL if no header with the specified - * type is found. - */ -PJ_DECL(void*) pjsip_msg_find_hdr_by_name( const pjsip_msg *msg, - const pj_str_t *name, - const void *start); - -/** - * Find a header in the message by its name and short name version. - * - * @param msg The message. - * @param name The header name to find. - * @param sname The short name version of the header name. - * @param start The first header field where the search should begin. - * If NULL is specified, then the search will begin from the - * first header, otherwise the search will begin at the - * specified header. - * - * @return The header field, or NULL if no header with the specified - * type is found. - */ -PJ_DECL(void*) pjsip_msg_find_hdr_by_names(const pjsip_msg *msg, - const pj_str_t *name, - const pj_str_t *sname, - const void *start); - -/** - * Find and remove a header in the message. - * - * @param msg The message. - * @param hdr The header type to find. - * @param start The first header field where the search should begin, - * or NULL to search from the first header in the message. - * - * @return The header field, or NULL if not found. - */ -PJ_DECL(void*) pjsip_msg_find_remove_hdr( pjsip_msg *msg, - pjsip_hdr_e hdr, void *start); - -/** - * Add a header to the message, putting it last in the header list. - * - * @param msg The message. - * @param hdr The header to add. - * - * @bug Once the header is put in a list (or message), it can not be put in - * other list (or message). Otherwise Real Bad Thing will happen. - */ -PJ_INLINE(void) pjsip_msg_add_hdr( pjsip_msg *msg, pjsip_hdr *hdr ) -{ - pj_list_insert_before(&msg->hdr, hdr); -} - -/** - * Add header field to the message, putting it in the front of the header list. - * - * @param msg The message. - * @param hdr The header to add. - * - * @bug Once the header is put in a list (or message), it can not be put in - * other list (or message). Otherwise Real Bad Thing will happen. - */ -PJ_INLINE(void) pjsip_msg_insert_first_hdr( pjsip_msg *msg, pjsip_hdr *hdr ) -{ - pj_list_insert_after(&msg->hdr, hdr); -} - -/** - * Print the message to the specified buffer. - * - * @param msg The message to print. - * @param buf The buffer - * @param size The size of the buffer. - * - * @return The length of the printed characters (in bytes), or NEGATIVE - * value if the message is too large for the specified buffer. - */ -PJ_DECL(pj_ssize_t) pjsip_msg_print(const pjsip_msg *msg, - char *buf, pj_size_t size); - - -/* - * Some usefull macros to find common headers. - */ - - -/** - * Find Call-ID header. - * - * @param msg The message. - * @return Call-ID header instance. - */ -#define PJSIP_MSG_CID_HDR(msg) \ - ((pjsip_cid_hdr*)pjsip_msg_find_hdr(msg, PJSIP_H_CALL_ID, NULL)) - -/** - * Find CSeq header. - * - * @param msg The message. - * @return CSeq header instance. - */ -#define PJSIP_MSG_CSEQ_HDR(msg) \ - ((pjsip_cseq_hdr*)pjsip_msg_find_hdr(msg, PJSIP_H_CSEQ, NULL)) - -/** - * Find From header. - * - * @param msg The message. - * @return From header instance. - */ -#define PJSIP_MSG_FROM_HDR(msg) \ - ((pjsip_from_hdr*)pjsip_msg_find_hdr(msg, PJSIP_H_FROM, NULL)) - -/** - * Find To header. - * - * @param msg The message. - * @return To header instance. - */ -#define PJSIP_MSG_TO_HDR(msg) \ - ((pjsip_to_hdr*)pjsip_msg_find_hdr(msg, PJSIP_H_TO, NULL)) - - -/** - * @} - */ - -/* **************************************************************************/ -/** - * @addtogroup PJSIP_MSG_HDR - * @{ - */ - -/** - * Generic SIP header, which contains hname and a string hvalue. - * Note that this header is not supposed to be used as 'base' class for headers. - */ -typedef struct pjsip_generic_string_hdr -{ - /** Standard header field. */ - PJSIP_DECL_HDR_MEMBER(struct pjsip_generic_string_hdr); - /** hvalue */ - pj_str_t hvalue; -} pjsip_generic_string_hdr; - - -/** - * Create a new instance of generic header. A generic header can have an - * arbitrary header name. - * - * @param pool The pool. - * @param hname The header name to be assigned to the header, or NULL to - * assign the header name with some string. - * @param hvalue Optional string to be assigned as the value. - * - * @return The header, or THROW exception. - */ -PJ_DECL(pjsip_generic_string_hdr*) -pjsip_generic_string_hdr_create( pj_pool_t *pool, - const pj_str_t *hname, - const pj_str_t *hvalue); - - -/** - * Initialize a preallocated memory with the header structure. This function - * should only be called when application uses its own memory allocation to - * allocate memory block for the specified header (e.g. in C++, when the - * header is allocated with "new" operator). - * For normal applications, they should use pjsip_xxx_hdr_create() instead, - * which allocates memory and initialize it in one go. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * @param hname The header name to be assigned to the header, or NULL to - * assign the header name with some string later. - * @param hvalue Optional string to be assigned as the value. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_generic_string_hdr*) -pjsip_generic_string_hdr_init( pj_pool_t *pool, - void *mem, - const pj_str_t *hname, - const pj_str_t *hvalue); - - -/** - * Construct a generic string header without allocating memory from the pool. - * This function is useful to create a temporary header which life-time is - * very short (for example, creating the header in the stack to be passed - * as argument to a function which will copy the header). - * - * @param h The header to be initialized. - * @param hname The header name to be assigned to the header, or NULL to - * assign the header name with some string. - * @param hvalue Optional string to be assigned as the value. - * - * @return The header, or THROW exception. - */ -PJ_DECL(void) pjsip_generic_string_hdr_init2(pjsip_generic_string_hdr *h, - pj_str_t *hname, - pj_str_t *hvalue); - - -/* **************************************************************************/ - -/** - * Generic SIP header, which contains hname and a string hvalue. - */ -typedef struct pjsip_generic_int_hdr -{ - PJSIP_DECL_HDR_MEMBER(struct pjsip_generic_int_hdr); /**< Standard header field. */ - pj_int32_t ivalue; /**< ivalue */ -} pjsip_generic_int_hdr; - - -/** - * Create a new instance of generic header. A generic header can have an - * arbitrary header name. - * - * @param pool The pool. - * @param hname The header name to be assigned to the header, or NULL to - * assign the header name with some string. - * @param hvalue The value to be assigned to the header. - * - * @return The header, or THROW exception. - */ -PJ_DECL(pjsip_generic_int_hdr*) pjsip_generic_int_hdr_create( pj_pool_t *pool, - const pj_str_t *hname, - int hvalue ); - - -/** - * Initialize a preallocated memory with the header structure. This function - * should only be called when application uses its own memory allocation to - * allocate memory block for the specified header (e.g. in C++, when the - * header is allocated with "new" operator). - * For normal applications, they should use pjsip_xxx_hdr_create() instead, - * which allocates memory and initialize it in one go. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * @param hname The header name to be assigned to the header, or NULL to - * assign the header name with some string later. - * @param value Value to be assigned to the header. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_generic_int_hdr*) pjsip_generic_int_hdr_init( pj_pool_t *pool, - void *mem, - const pj_str_t *hname, - int value ); - -/* **************************************************************************/ - -/** Maximum elements in the header array. */ -#define PJSIP_GENERIC_ARRAY_MAX_COUNT 32 - -/** - * Generic array of string header. - */ -typedef struct pjsip_generic_array_hdr -{ - /** Standard header fields. */ - PJSIP_DECL_HDR_MEMBER(struct pjsip_generic_array_hdr); - - /** Number of tags/elements. */ - unsigned count; - - /** Tags/elements. */ - pj_str_t values[PJSIP_GENERIC_ARRAY_MAX_COUNT]; - -} pjsip_generic_array_hdr; - -/** - * Create generic array header. - * - * @param pool Pool to allocate memory from. - * @param hname Header name. - * - * @return New generic array header. - */ -PJ_DECL(pjsip_generic_array_hdr*) pjsip_generic_array_hdr_create(pj_pool_t *pool, - const pj_str_t *hname); - -/** - * Initialize a preallocated memory with the header structure. This function - * should only be called when application uses its own memory allocation to - * allocate memory block for the specified header (e.g. in C++, when the - * header is allocated with "new" operator). - * For normal applications, they should use pjsip_xxx_hdr_create() instead, - * which allocates memory and initialize it in one go. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * @param hname The header name to be assigned to the header, or NULL to - * assign the header name with some string later. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_generic_array_hdr*) pjsip_generic_array_hdr_init(pj_pool_t *pool, - void *mem, - const pj_str_t *hname); - - -/* **************************************************************************/ - -/** Accept header. */ -typedef pjsip_generic_array_hdr pjsip_accept_hdr; - -/** Maximum fields in Accept header. */ -#define PJSIP_MAX_ACCEPT_COUNT PJSIP_GENERIC_ARRAY_MAX_COUNT - -/** - * Create new Accept header instance. - * - * @param pool The pool. - * - * @return New Accept header instance. - */ -PJ_DECL(pjsip_accept_hdr*) pjsip_accept_hdr_create(pj_pool_t *pool); - -/** - * Initialize a preallocated memory with the header structure. This function - * should only be called when application uses its own memory allocation to - * allocate memory block for the specified header (e.g. in C++, when the - * header is allocated with "new" operator). - * For normal applications, they should use pjsip_xxx_hdr_create() instead, - * which allocates memory and initialize it in one go. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_accept_hdr*) pjsip_accept_hdr_init( pj_pool_t *pool, - void *mem ); - - -/* **************************************************************************/ - -/** - * Allow header. - */ -typedef pjsip_generic_array_hdr pjsip_allow_hdr; - -/** - * Create new Allow header instance. - * - * @param pool The pool. - * - * @return New Allow header instance. - */ -PJ_DECL(pjsip_allow_hdr*) pjsip_allow_hdr_create(pj_pool_t *pool); - - - -/** - * Initialize a preallocated memory with the header structure. This function - * should only be called when application uses its own memory allocation to - * allocate memory block for the specified header (e.g. in C++, when the - * header is allocated with "new" operator). - * For normal applications, they should use pjsip_xxx_hdr_create() instead, - * which allocates memory and initialize it in one go. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_allow_hdr*) pjsip_allow_hdr_init( pj_pool_t *pool, - void *mem ); - -/* **************************************************************************/ - -/** - * Call-ID header. - */ -typedef struct pjsip_cid_hdr -{ - PJSIP_DECL_HDR_MEMBER(struct pjsip_cid_hdr); - pj_str_t id; /**< Call-ID string. */ -} pjsip_cid_hdr; - - -/** - * Create new Call-ID header. - * - * @param pool The pool. - * - * @return new Call-ID header. - */ -PJ_DECL(pjsip_cid_hdr*) pjsip_cid_hdr_create( pj_pool_t *pool ); - - -/** - * Initialize a preallocated memory with the header structure. This function - * should only be called when application uses its own memory allocation to - * allocate memory block for the specified header (e.g. in C++, when the - * header is allocated with "new" operator). - * For normal applications, they should use pjsip_xxx_hdr_create() instead, - * which allocates memory and initialize it in one go. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_cid_hdr*) pjsip_cid_hdr_init( pj_pool_t *pool, - void *mem ); - - - -/* **************************************************************************/ -/** - * Content-Length header. - */ -typedef struct pjsip_clen_hdr -{ - PJSIP_DECL_HDR_MEMBER(struct pjsip_clen_hdr); - int len; /**< Content length. */ -} pjsip_clen_hdr; - -/** - * Create new Content-Length header. - * - * @param pool the pool. - * @return A new Content-Length header instance. - */ -PJ_DECL(pjsip_clen_hdr*) pjsip_clen_hdr_create( pj_pool_t *pool ); - -/** - * Initialize a preallocated memory with the header structure. This function - * should only be called when application uses its own memory allocation to - * allocate memory block for the specified header (e.g. in C++, when the - * header is allocated with "new" operator). - * For normal applications, they should use pjsip_xxx_hdr_create() instead, - * which allocates memory and initialize it in one go. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_clen_hdr*) pjsip_clen_hdr_init( pj_pool_t *pool, - void *mem ); - - -/* **************************************************************************/ -/** - * CSeq header. - */ -typedef struct pjsip_cseq_hdr -{ - PJSIP_DECL_HDR_MEMBER(struct pjsip_cseq_hdr); - pj_int32_t cseq; /**< CSeq number. */ - pjsip_method method; /**< CSeq method. */ -} pjsip_cseq_hdr; - - -/** Create new CSeq header. - * - * @param pool The pool. - * @return A new CSeq header instance. - */ -PJ_DECL(pjsip_cseq_hdr*) pjsip_cseq_hdr_create( pj_pool_t *pool ); - -/** - * Initialize a preallocated memory with the header structure. This function - * should only be called when application uses its own memory allocation to - * allocate memory block for the specified header (e.g. in C++, when the - * header is allocated with "new" operator). - * For normal applications, they should use pjsip_xxx_hdr_create() instead, - * which allocates memory and initialize it in one go. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_cseq_hdr*) pjsip_cseq_hdr_init( pj_pool_t *pool, - void *mem ); - -/* **************************************************************************/ -/** - * Contact header. - * In this library, contact header only contains single URI. If a message has - * multiple URI in the Contact header, the URI will be put in separate Contact - * headers. - */ -typedef struct pjsip_contact_hdr -{ - PJSIP_DECL_HDR_MEMBER(struct pjsip_contact_hdr); - int star; /**< The contact contains only a '*' character */ - pjsip_uri *uri; /**< URI in the contact. */ - int q1000; /**< The "q" value times 1000 (to avoid float) */ - pj_int32_t expires; /**< Expires parameter, otherwise -1 if not present. */ - pjsip_param other_param; /**< Other parameters, concatenated in a single string. */ -} pjsip_contact_hdr; - - -/** - * Create a new Contact header. - * - * @param pool The pool. - * @return A new instance of Contact header. - */ -PJ_DECL(pjsip_contact_hdr*) pjsip_contact_hdr_create( pj_pool_t *pool ); - -/** - * Initialize a preallocated memory with the header structure. This function - * should only be called when application uses its own memory allocation to - * allocate memory block for the specified header (e.g. in C++, when the - * header is allocated with "new" operator). - * For normal applications, they should use pjsip_xxx_hdr_create() instead, - * which allocates memory and initialize it in one go. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_contact_hdr*) pjsip_contact_hdr_init( pj_pool_t *pool, - void *mem ); - - -/* **************************************************************************/ -/** - * Content-Type. - */ -typedef struct pjsip_ctype_hdr -{ - PJSIP_DECL_HDR_MEMBER(struct pjsip_ctype_hdr); - pjsip_media_type media; /**< Media type. */ -} pjsip_ctype_hdr; - - -/** - * Create a nwe Content Type header. - * - * @param pool The pool. - * @return A new Content-Type header. - */ -PJ_DECL(pjsip_ctype_hdr*) pjsip_ctype_hdr_create( pj_pool_t *pool ); - -/** - * Initialize a preallocated memory with the header structure. This function - * should only be called when application uses its own memory allocation to - * allocate memory block for the specified header (e.g. in C++, when the - * header is allocated with "new" operator). - * For normal applications, they should use pjsip_xxx_hdr_create() instead, - * which allocates memory and initialize it in one go. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_ctype_hdr*) pjsip_ctype_hdr_init( pj_pool_t *pool, - void *mem ); - -/* **************************************************************************/ -/** Expires header. */ -typedef pjsip_generic_int_hdr pjsip_expires_hdr; - -/** - * Create a new Expires header. - * - * @param pool The pool. - * @param value The expiration value. - * - * @return A new Expires header. - */ -PJ_DECL(pjsip_expires_hdr*) pjsip_expires_hdr_create( pj_pool_t *pool, - int value); - -/** - * Initialize a preallocated memory with the header structure. This function - * should only be called when application uses its own memory allocation to - * allocate memory block for the specified header (e.g. in C++, when the - * header is allocated with "new" operator). - * For normal applications, they should use pjsip_xxx_hdr_create() instead, - * which allocates memory and initialize it in one go. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * @param value The expiration value. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_expires_hdr*) pjsip_expires_hdr_init( pj_pool_t *pool, - void *mem, - int value ); - - - -/* **************************************************************************/ -/** - * To or From header. - */ -typedef struct pjsip_fromto_hdr -{ - PJSIP_DECL_HDR_MEMBER(struct pjsip_fromto_hdr); - pjsip_uri *uri; /**< URI in From/To header. */ - pj_str_t tag; /**< Header "tag" parameter. */ - pjsip_param other_param; /**< Other params, concatenated as a single string. */ -} pjsip_fromto_hdr; - -/** Alias for From header. */ -typedef pjsip_fromto_hdr pjsip_from_hdr; - -/** Alias for To header. */ -typedef pjsip_fromto_hdr pjsip_to_hdr; - -/** - * Create a From header. - * - * @param pool The pool. - * @return New instance of From header. - */ -PJ_DECL(pjsip_from_hdr*) pjsip_from_hdr_create( pj_pool_t *pool ); - -/** - * Initialize a preallocated memory with the header structure. This function - * should only be called when application uses its own memory allocation to - * allocate memory block for the specified header (e.g. in C++, when the - * header is allocated with "new" operator). - * For normal applications, they should use pjsip_xxx_hdr_create() instead, - * which allocates memory and initialize it in one go. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_from_hdr*) pjsip_from_hdr_init( pj_pool_t *pool, - void *mem ); - -/** - * Create a To header. - * - * @param pool The pool. - * @return New instance of To header. - */ -PJ_DECL(pjsip_to_hdr*) pjsip_to_hdr_create( pj_pool_t *pool ); - -/** - * Initialize a preallocated memory with the header structure. This function - * should only be called when application uses its own memory allocation to - * allocate memory block for the specified header (e.g. in C++, when the - * header is allocated with "new" operator). - * For normal applications, they should use pjsip_xxx_hdr_create() instead, - * which allocates memory and initialize it in one go. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_to_hdr*) pjsip_to_hdr_init( pj_pool_t *pool, - void *mem ); - -/** - * Convert the header to a From header. - * - * @param hdr The generic from/to header. - * @return "From" header. - */ -PJ_DECL(pjsip_from_hdr*) pjsip_fromto_hdr_set_from( pjsip_fromto_hdr *hdr ); - -/** - * Convert the header to a To header. - * - * @param hdr The generic from/to header. - * @return "To" header. - */ -PJ_DECL(pjsip_to_hdr*) pjsip_fromto_hdr_set_to( pjsip_fromto_hdr *hdr ); - - -/* **************************************************************************/ -/** - * Max-Forwards header. - */ -typedef pjsip_generic_int_hdr pjsip_max_fwd_hdr; - -/** - * Create new Max-Forwards header instance. - * - * @param pool The pool. - * @param value The Max-Forwards value. - * - * @return New Max-Forwards header instance. - */ -PJ_DECL(pjsip_max_fwd_hdr*) -pjsip_max_fwd_hdr_create(pj_pool_t *pool, int value); - - -/** - * Initialize a preallocated memory with the header structure. This function - * should only be called when application uses its own memory allocation to - * allocate memory block for the specified header (e.g. in C++, when the - * header is allocated with "new" operator). - * For normal applications, they should use pjsip_xxx_hdr_create() instead, - * which allocates memory and initialize it in one go. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * @param value The Max-Forwards value. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_max_fwd_hdr*) -pjsip_max_fwd_hdr_init( pj_pool_t *pool, void *mem, int value ); - - -/* **************************************************************************/ -/** - * Min-Expires header. - */ -typedef pjsip_generic_int_hdr pjsip_min_expires_hdr; - -/** - * Create new Min-Expires header instance. - * - * @param pool The pool. - * @param value The Min-Expires value. - * - * @return New Min-Expires header instance. - */ -PJ_DECL(pjsip_min_expires_hdr*) pjsip_min_expires_hdr_create(pj_pool_t *pool, - int value); - - -/** - * Initialize a preallocated memory with the header structure. This function - * should only be called when application uses its own memory allocation to - * allocate memory block for the specified header (e.g. in C++, when the - * header is allocated with "new" operator). - * For normal applications, they should use pjsip_xxx_hdr_create() instead, - * which allocates memory and initialize it in one go. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * @param value The Min-Expires value. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_min_expires_hdr*) pjsip_min_expires_hdr_init( pj_pool_t *pool, - void *mem, - int value ); - - -/* **************************************************************************/ -/** - * Record-Route and Route headers. - */ -typedef struct pjsip_routing_hdr -{ - PJSIP_DECL_HDR_MEMBER(struct pjsip_routing_hdr); /**< Generic header fields. */ - pjsip_name_addr name_addr; /**< The URL in the Route/Record-Route header. */ - pjsip_param other_param; /**< Other parameter. */ -} pjsip_routing_hdr; - -/** Alias for Record-Route header. */ -typedef pjsip_routing_hdr pjsip_rr_hdr; - -/** Alias for Route header. */ -typedef pjsip_routing_hdr pjsip_route_hdr; - - -/** - * Create new Record-Route header from the pool. - * - * @param pool The pool. - * @return A new instance of Record-Route header. - */ -PJ_DECL(pjsip_rr_hdr*) pjsip_rr_hdr_create( pj_pool_t *pool ); - -/** - * Initialize a preallocated memory with the header structure. This function - * should only be called when application uses its own memory allocation to - * allocate memory block for the specified header (e.g. in C++, when the - * header is allocated with "new" operator). - * For normal applications, they should use pjsip_xxx_hdr_create() instead, - * which allocates memory and initialize it in one go. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_rr_hdr*) pjsip_rr_hdr_init( pj_pool_t *pool, - void *mem ); - -/** - * Create new Route header from the pool. - * - * @param pool The pool. - * @return A new instance of "Route" header. - */ -PJ_DECL(pjsip_route_hdr*) pjsip_route_hdr_create( pj_pool_t *pool ); - -/** - * Initialize a preallocated memory with the header structure. This function - * should only be called when application uses its own memory allocation to - * allocate memory block for the specified header (e.g. in C++, when the - * header is allocated with "new" operator). - * For normal applications, they should use pjsip_xxx_hdr_create() instead, - * which allocates memory and initialize it in one go. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_route_hdr*) pjsip_route_hdr_init( pj_pool_t *pool, - void *mem ); - -/** - * Convert generic routing header to Record-Route header. - * - * @param r The generic routing header, or a "Routing" header. - * @return Record-Route header. - */ -PJ_DECL(pjsip_rr_hdr*) pjsip_routing_hdr_set_rr( pjsip_routing_hdr *r ); - -/** - * Convert generic routing header to "Route" header. - * - * @param r The generic routing header, or a "Record-Route" header. - * @return "Route" header. - */ -PJ_DECL(pjsip_route_hdr*) pjsip_routing_hdr_set_route( pjsip_routing_hdr *r ); - -/* **************************************************************************/ -/** - * Require header. - */ -typedef pjsip_generic_array_hdr pjsip_require_hdr; - -/** - * Create new Require header instance. - * - * @param pool The pool. - * - * @return New Require header instance. - */ -PJ_DECL(pjsip_require_hdr*) pjsip_require_hdr_create(pj_pool_t *pool); - -/** - * Initialize a preallocated memory with the header structure. This function - * should only be called when application uses its own memory allocation to - * allocate memory block for the specified header (e.g. in C++, when the - * header is allocated with "new" operator). - * For normal applications, they should use pjsip_xxx_hdr_create() instead, - * which allocates memory and initialize it in one go. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_require_hdr*) pjsip_require_hdr_init( pj_pool_t *pool, - void *mem ); - - -/* **************************************************************************/ -/** - * Retry-After header. - */ -typedef struct pjsip_retry_after_hdr -{ - /** Standard header field. */ - PJSIP_DECL_HDR_MEMBER(struct pjsip_retry_after_hdr); - pj_int32_t ivalue; /**< Retry-After value */ - pjsip_param param; /**< Optional parameters */ - pj_str_t comment; /**< Optional comments. */ -} pjsip_retry_after_hdr; - - -/** - * Create new Retry-After header instance. - * - * @param pool The pool. - * @param value The Retry-After value. - * - * @return New Retry-After header instance. - */ -PJ_DECL(pjsip_retry_after_hdr*) pjsip_retry_after_hdr_create(pj_pool_t *pool, - int value); - -/** - * Initialize a preallocated memory with the header structure. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * @param value The Retry-After value. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_retry_after_hdr*) pjsip_retry_after_hdr_init( pj_pool_t *pool, - void *mem, - int value ); - - -/* **************************************************************************/ -/** - * Supported header. - */ -typedef pjsip_generic_array_hdr pjsip_supported_hdr; - -/** - * Create new Supported header instance. - * - * @param pool The pool. - * - * @return New Supported header instance. - */ -PJ_DECL(pjsip_supported_hdr*) pjsip_supported_hdr_create(pj_pool_t *pool); - -/** - * Initialize a preallocated memory with the header structure. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_supported_hdr*) pjsip_supported_hdr_init( pj_pool_t *pool, - void *mem ); - -/* **************************************************************************/ -/** - * Unsupported header. - */ -typedef pjsip_generic_array_hdr pjsip_unsupported_hdr; - -/** - * Create new Unsupported header instance. - * - * @param pool The pool. - * - * @return New Unsupported header instance. - */ -PJ_DECL(pjsip_unsupported_hdr*) pjsip_unsupported_hdr_create(pj_pool_t *pool); - -/** - * Initialize a preallocated memory with the header structure. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_unsupported_hdr*) pjsip_unsupported_hdr_init( pj_pool_t *pool, - void *mem ); - -/* **************************************************************************/ -/** - * SIP Via header. - * In this implementation, Via header can only have one element in each header. - * If a message arrives with multiple elements in a single Via, then they will - * be split up into multiple Via headers. - */ -typedef struct pjsip_via_hdr -{ - PJSIP_DECL_HDR_MEMBER(struct pjsip_via_hdr); - pj_str_t transport; /**< Transport type. */ - pjsip_host_port sent_by; /**< Host and optional port */ - int ttl_param; /**< TTL parameter, or -1 if it's not specified. */ - int rport_param; /**< "rport" parameter, 0 to specify without - port number, -1 means doesn't exist. */ - pj_str_t maddr_param; /**< "maddr" parameter. */ - pj_str_t recvd_param; /**< "received" parameter. */ - pj_str_t branch_param; /**< "branch" parameter. */ - pjsip_param other_param; /**< Other parameters, concatenated as single string. */ - pj_str_t comment; /**< Comment. */ -} pjsip_via_hdr; - -/** - * Create a new Via header. - * - * @param pool The pool. - * @return A new "Via" header instance. - */ -PJ_DECL(pjsip_via_hdr*) pjsip_via_hdr_create( pj_pool_t *pool ); - -/** - * Initialize a preallocated memory with the header structure. - * - * @param pool Pool for additional memory allocation if required. - * @param mem Pre-allocated memory to be initialized as the header. - * - * @return The header instance, which points to the same memory - * location as the mem argument. - */ -PJ_DECL(pjsip_via_hdr*) pjsip_via_hdr_init( pj_pool_t *pool, - void *mem ); - -/* **************************************************************************/ -/** - * SIP Warning header. - * In this version, Warning header is just a typedef for generic string - * header. - */ -typedef pjsip_generic_string_hdr pjsip_warning_hdr; - -/** - * Create a warning header with the specified contents. - * - * @param pool Pool to allocate memory from. - * @param code Warning code, 300-399. - * @param host The host portion of the Warning header. - * @param text The warning text, which MUST not be quoted with - * double quote. - * - * @return The Warning header field. - */ -PJ_DECL(pjsip_warning_hdr*) pjsip_warning_hdr_create( pj_pool_t *pool, - int code, - const pj_str_t *host, - const pj_str_t *text); - -/** - * Create a warning header and initialize the contents from the error - * message for the specified status code. The warning code will be - * set to 399. - * - * @param pool Pool to allocate memory from. - * @param host The host portion of the Warning header. - * @param status The error status code, which error text will be - * put in as the Warning text. - * - * @return The Warning header field. - */ -PJ_DECL(pjsip_warning_hdr*) -pjsip_warning_hdr_create_from_status( pj_pool_t *pool, - const pj_str_t *host, - pj_status_t status); - -/* **************************************************************************/ -/** Accept-Encoding header. */ -typedef pjsip_generic_string_hdr pjsip_accept_encoding_hdr; - -/** Create Accept-Encoding header. */ -#define pjsip_accept_encoding_hdr_create pjsip_generic_string_hdr_create - -/** Accept-Language header. */ -typedef pjsip_generic_string_hdr pjsip_accept_lang_hdr; - -/** Create Accept-Language header. */ -#define pjsip_accept_lang_hdr_create pjsip_generic_string_hdr_create - -/** Alert-Info header. */ -typedef pjsip_generic_string_hdr pjsip_alert_info_hdr; - -/** Create Alert-Info header. */ -#define pjsip_alert_info_hdr_create pjsip_generic_string_hdr_create - -/** Authentication-Info header. */ -typedef pjsip_generic_string_hdr pjsip_auth_info_hdr; - -/** Create Authentication-Info header. */ -#define pjsip_auth_info_hdr_create pjsip_generic_string_hdr_create - -/** Call-Info header. */ -typedef pjsip_generic_string_hdr pjsip_call_info_hdr; - -/** Create Call-Info header. */ -#define pjsip_call_info_hdr_create pjsip_generic_string_hdr_create - -/** Content-Disposition header. */ -typedef pjsip_generic_string_hdr pjsip_content_disposition_hdr; - -/** Create Content-Disposition header. */ -#define pjsip_content_disposition_hdr_create pjsip_generic_string_hdr_create - -/** Content-Encoding header. */ -typedef pjsip_generic_string_hdr pjsip_content_encoding_hdr; - -/** Create Content-Encoding header. */ -#define pjsip_content_encoding_hdr_create pjsip_generic_string_hdr_create - -/** Content-Language header. */ -typedef pjsip_generic_string_hdr pjsip_content_lang_hdr; - -/** Create Content-Language header. */ -#define pjsip_content_lang_hdr_create pjsip_generic_string_hdr_create - -/** Date header. */ -typedef pjsip_generic_string_hdr pjsip_date_hdr; - -/** Create Date header. */ -#define pjsip_date_hdr_create pjsip_generic_string_hdr_create - -/** Error-Info header. */ -typedef pjsip_generic_string_hdr pjsip_err_info_hdr; - -/** Create Error-Info header. */ -#define pjsip_err_info_hdr_create pjsip_generic_string_hdr_create - -/** In-Reply-To header. */ -typedef pjsip_generic_string_hdr pjsip_in_reply_to_hdr; - -/** Create In-Reply-To header. */ -#define pjsip_in_reply_to_hdr_create pjsip_generic_string_hdr_create - -/** MIME-Version header. */ -typedef pjsip_generic_string_hdr pjsip_mime_version_hdr; - -/** Create MIME-Version header. */ -#define pjsip_mime_version_hdr_create pjsip_generic_string_hdr_create - -/** Organization header. */ -typedef pjsip_generic_string_hdr pjsip_organization_hdr; - -/** Create Organization header. */ -#define pjsip_organization_hdr_create pjsip_genric_string_hdr_create - -/** Priority header. */ -typedef pjsip_generic_string_hdr pjsip_priority_hdr; - -/** Create Priority header. */ -#define pjsip_priority_hdr_create pjsip_generic_string_hdr_create - -/** Proxy-Require header. */ -typedef pjsip_generic_string_hdr pjsip_proxy_require_hdr; - -/** Reply-To header. */ -typedef pjsip_generic_string_hdr pjsip_reply_to_hdr; - -/** Create Reply-To header. */ -#define pjsip_reply_to_hdr_create pjsip_generic_string_hdr_create - -/** Server header. */ -typedef pjsip_generic_string_hdr pjsip_server_hdr; - -/** Create Server header. */ -#define pjsip_server_hdr_create pjsip_generic_string_hdr_create - -/** Subject header. */ -typedef pjsip_generic_string_hdr pjsip_subject_hdr; - -/** Create Subject header. */ -#define pjsip_subject_hdr_create pjsip_generic_string_hdr_create - -/** Timestamp header. */ -typedef pjsip_generic_string_hdr pjsip_timestamp_hdr; - -/** Create Timestamp header. */ -#define pjsip_timestamp_hdr_create pjsip_generic_string_hdr_create - -/** User-Agent header. */ -typedef pjsip_generic_string_hdr pjsip_user_agent_hdr; - -/** Create User-Agent header. */ -#define pjsip_user_agent_hdr_create pjsip_generic_string_hdr_create - - -/** - * @} - */ - -/** - * @} PJSIP_MSG - */ - - -PJ_END_DECL - -#endif /* __PJSIP_SIP_MSG_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip/sip_multipart.h b/res/pjproject/pjsip/include/pjsip/sip_multipart.h deleted file mode 100644 index d04a1c7739..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_multipart.h +++ /dev/null @@ -1,179 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIP_MULTIPART_H__ -#define __PJSIP_SIP_MULTIPART_H__ - -/** - * @file pjsip/sip_multipart.h - * @brief Multipart support. - */ - -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJSIP_MULTIPART Multipart message bodies. - * @ingroup PJSIP_MSG - * @brief Support for multipart message bodies. - * @{ - */ - -/** - * This structure describes the individual body part inside a multipart - * message body. It mainly contains the message body itself and optional - * headers. - */ -typedef struct pjsip_multipart_part -{ - /** - * Standard list element. - */ - PJ_DECL_LIST_MEMBER(struct pjsip_multipart_part); - - /** - * Optional message headers. - */ - pjsip_hdr hdr; - - /** - * Pointer to the message body. - */ - pjsip_msg_body *body; - -} pjsip_multipart_part; - -/** - * Create an empty multipart body. - * - * @param pool Memory pool to allocate memory from. - * @param ctype Optional MIME media type of the multipart - * bodies. If not specified, "multipart/mixed" - * will be used. - * @param boundary Optional string to be set as part boundary. - * The boundary string excludes the leading - * hyphens. If this parameter is NULL or empty, - * a random boundary will be generated. - * - * @return Multipart body instance with no part. - */ -PJ_DECL(pjsip_msg_body*) pjsip_multipart_create(pj_pool_t *pool, - const pjsip_media_type *ctype, - const pj_str_t *boundary); - -/** - * Create an empty multipart part. - * - * @param pool The memory pool. - * - * @return The multipart part. - */ -PJ_DECL(pjsip_multipart_part*) pjsip_multipart_create_part(pj_pool_t *pool); - - -/** - * Perform a deep clone to a multipart part. - * - * @param pool The memory pool. - * @param part The part to be duplicated. - * - * @return Copy of the multipart part. - */ -PJ_DECL(pjsip_multipart_part*) -pjsip_multipart_clone_part(pj_pool_t *pool, - const pjsip_multipart_part *part); - -/** - * Add a part into multipart bodies. - * - * @param pool The memory pool. - * @param mp The multipart bodies. - * @param part The part to be added into the bodies. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_multipart_add_part(pj_pool_t *pool, - pjsip_msg_body *mp, - pjsip_multipart_part *part); - -/** - * Get the first part of multipart bodies. - * - * @param mp The multipart bodies. - * - * @return The first part, or NULL if the multipart - * bodies currently doesn't hold any elements. - */ -PJ_DECL(pjsip_multipart_part*) -pjsip_multipart_get_first_part(const pjsip_msg_body *mp); - -/** - * Get the next part after the specified part. - * - * @param mp The multipart bodies. - * @param part The part. - * - * @return The next part, or NULL if there is no other part after - * the part. - */ -PJ_DECL(pjsip_multipart_part*) -pjsip_multipart_get_next_part(const pjsip_msg_body *mp, - pjsip_multipart_part *part); - -/** - * Find a body inside multipart bodies which has the specified content type. - * - * @param mp The multipart body. - * @param content_type Content type to find. - * @param start If specified, the search will begin at - * start->next. Otherwise it will begin at - * the first part in the multipart bodies. - * - * @return The first part with the specified content type - * if found, or NULL. - */ -PJ_DECL(pjsip_multipart_part*) -pjsip_multipart_find_part( const pjsip_msg_body *mp, - const pjsip_media_type *content_type, - const pjsip_multipart_part *start); - -/** - * Parse multipart message. - * - * @param pool Memory pool. - * @param buf Input buffer. - * @param len The buffer length. - * @param ctype Content type of the multipart body. - * @param options Parsing options, must be zero for now. - * - * @return Multipart message body. - */ -PJ_DECL(pjsip_msg_body*) pjsip_multipart_parse(pj_pool_t *pool, - char *buf, pj_size_t len, - const pjsip_media_type *ctype, - unsigned options); - -/** - * @} PJSIP_MULTIPART - */ - - -PJ_END_DECL - -#endif /* __PJSIP_SIP_MULTIPART_H__ */ diff --git a/res/pjproject/pjsip/include/pjsip/sip_parser.h b/res/pjproject/pjsip/include/pjsip/sip_parser.h deleted file mode 100644 index 75c300e232..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_parser.h +++ /dev/null @@ -1,416 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIP_PARSER_H__ -#define __PJSIP_SIP_PARSER_H__ - -/** - * @file sip_parser.h - * @brief SIP Message Parser - */ - -#include -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJSIP_PARSER Parser - * @ingroup PJSIP_MSG - * @brief Message and message elements parsing. - * @{ - */ - -/** - * URI Parsing options. - */ -enum -{ - /** If this option is specified, function #pjsip_parse_uri will return - * the URI object as pjsip_name_addr instead of the corresponding - * URI object. - */ - PJSIP_PARSE_URI_AS_NAMEADDR = 1, - - /** If this option is specified, function #pjsip_parse_uri and other - * internal functions that this function calls will parse URI according - * to convention for parsing From/To/Contact header. For example, when - * the URI is not enclosed in brackets ("<" and ">"), all parameters - * are treated as header parameters (not URI parameters). - */ - PJSIP_PARSE_URI_IN_FROM_TO_HDR = 2 -}; - -/** - * Parser syntax error exception value. - */ -extern int PJSIP_SYN_ERR_EXCEPTION; - -/** - * This structure is used to get error reporting from parser. - */ -typedef struct pjsip_parser_err_report -{ - /** Standard header fields. */ - PJ_DECL_LIST_MEMBER(struct pjsip_parser_err_report); - int except_code; /**< Error exception (e.g. PJSIP_SYN_ERR_EXCEPTION) */ - int line; /**< Line number. */ - int col; /**< Column number. */ - pj_str_t hname; /**< Header name, if any. */ -} pjsip_parser_err_report; - - -/** - * Parsing context, the default argument for parsing functions. - */ -typedef struct pjsip_parse_ctx -{ - pj_scanner *scanner; /**< The scanner. */ - pj_pool_t *pool; /**< The pool. */ - pjsip_rx_data *rdata; /**< Optional rdata. */ -} pjsip_parse_ctx; - - -/** - * Type of function to parse header. The parsing function must follow these - * specification: - * - It must not modify the input text. - * - The hname and HCOLON has been parsed prior to invoking the handler. - * - It returns the header instance on success. - * - For error reporting, it must throw PJSIP_SYN_ERR_EXCEPTION exception - * instead of just returning NULL. - * When exception is thrown, the return value is ignored. - * - It must read the header separator after finished reading the header - * body. The separator types are described below, and if they don't exist, - * exception must be thrown. Header separator can be a: - * - newline, such as when the header is part of a SIP message. - * - ampersand, such as when the header is part of an URI. - * - for the last header, these separator is optional since parsing - * can be terminated when seeing EOF. - */ -typedef pjsip_hdr* (pjsip_parse_hdr_func)(pjsip_parse_ctx *context); - -/** - * Type of function to parse URI scheme. - * Most of the specification of header parser handler (pjsip_parse_hdr_func) - * also applies here (except the separator part). - */ -typedef void* (pjsip_parse_uri_func)(pj_scanner *scanner, pj_pool_t *pool, - pj_bool_t parse_params); - -/** - * Register header parser handler. The parser handler MUST follow the - * specification of header parser handler function. New registration - * overwrites previous registration with the same name. - * - * @param hname The header name. - * @param hshortname The short header name or NULL. - * @param fptr The pointer to function to parser the header. - * - * @return PJ_SUCCESS if success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_register_hdr_parser( const char *hname, - const char *hshortname, - pjsip_parse_hdr_func *fptr); - -/** - * Unregister previously registered header parser handler. - * All the arguments MUST exactly equal to the value specified upon - * registration of the handler. - * - * @param hname The header name registered. - * @param hshortname The short header name registered, or NULL. - * @param fptr Previously registered function to parse the header. - * - * @return zero if unregistration was successfull. - */ -PJ_DECL(pj_status_t) pjsip_unregister_hdr_parser( const char *hname, - const char *hshortname, - pjsip_parse_hdr_func *fptr); - -/** - * Register URI scheme parser handler. - * - * @param scheme The URI scheme registered. - * @param func The URI parser function. - * - * @return zero on success. - */ -PJ_DECL(pj_status_t) pjsip_register_uri_parser( char *scheme, - pjsip_parse_uri_func *func); - -/** - * Unregister URI scheme parser handler. - * All the arguments MUST exactly equal to the value specified upon - * registration of the handler. - * - * @param scheme The URI scheme as registered previously. - * @param func The function handler as registered previously. - * - * @return zero if the registration was successfull. - */ -PJ_DECL(pj_status_t) pjsip_unregister_uri_parser( const char *scheme, - pjsip_parse_uri_func *func); - -/** - * Parse an URI in the input and return the correct instance of URI. - * - * @param pool The pool to get memory allocations. - * @param buf The input buffer, which MUST be NULL terminated. - * @param size The length of the string (not counting NULL terminator). - * @param options If no options are given (value is zero), the object - * returned is dependent on the syntax of the URI, - * eg. basic SIP URL, TEL URL, or name address. - * If option PJSIP_PARSE_URI_AS_NAMEADDR is given, - * then the returned object is always name address object, - * with the relevant URI object contained in the name - * address object. - * @return The URI or NULL when failed. No exception is thrown by - * this function (or any public parser functions). - */ -PJ_DECL(pjsip_uri*) pjsip_parse_uri( pj_pool_t *pool, - char *buf, pj_size_t size, - unsigned options); - -/** - * Parse SIP status line. - * - * @param buf Text buffer to parse, which MUST be NULL terminated. - * @param size The size of the buffer, excluding the NULL character. - * @param status_line Structure to receive the parsed elements. - * - * @return PJ_SUCCESS if a status line is parsed successfully. - */ -PJ_DECL(pj_status_t) pjsip_parse_status_line(char *buf, pj_size_t size, - pjsip_status_line *status_line); - - -/** - * Parse a packet buffer and build a full SIP message from the packet. This - * function parses all parts of the message, including request/status line, - * all headers, and the message body. The message body however is only - * treated as a text block, ie. the function will not try to parse the content - * of the body. - * - * @param pool The pool to allocate memory. - * @param buf The input buffer, which MUST be NULL terminated. - * @param size The length of the string (not counting NULL terminator). - * @param err_list If this parameter is not NULL, then the parser will - * put error messages during parsing in this list. - * - * @return The message or NULL when failed. No exception is thrown - * by this function (or any public parser functions). - */ -PJ_DECL(pjsip_msg *) pjsip_parse_msg( pj_pool_t *pool, - char *buf, pj_size_t size, - pjsip_parser_err_report *err_list); - - -/** - * Parse a packet buffer and build a rdata. The resulting message will be - * stored in \c msg field in the \c rdata. This behaves pretty much like - * #pjsip_parse_msg(), except that it will also initialize the header fields - * in the \c rdata. - * - * This function is normally called by the transport layer. - * - * @param buf The input buffer, which MUST be NULL terminated. - * @param size The length of the string (not counting NULL terminator). - * @param rdata The receive data buffer to store the message and - * its elements. - * - * @return The message inside the rdata if successfull, or NULL. - */ -PJ_DECL(pjsip_msg *) pjsip_parse_rdata( char *buf, pj_size_t size, - pjsip_rx_data *rdata ); - -/** - * Check incoming packet to see if a (probably) valid SIP message has been - * received. - * - * @param buf The input buffer, which must be NULL terminated. - * @param size The buffer size. - * @param is_datagram Put non-zero if transport is datagram oriented. - * @param msg_size [out] If message is valid, this parameter will contain - * the size of the SIP message (including body, if any). - * - * @return PJ_SUCCESS if a message is found, or an error code. - */ -PJ_DECL(pj_status_t) pjsip_find_msg(const char *buf, - pj_size_t size, - pj_bool_t is_datagram, - pj_size_t *msg_size); - -/** - * Parse the content of a header and return the header instance. - * This function parses the content of a header (ie. part after colon) according - * to the expected name, and will return the correct instance of header. - * - * @param pool Pool to allocate memory for the header. - * @param hname Header name which is used to find the correct function - * to parse the header. - * @param line Header content, which must be NULL terminated. - * @param size The length of the string (not counting NULL terminator, - * if any). - * @param parsed_len If the value is not NULL, then upon return the function - * will fill the pointer with the length of the string - * that has been parsed. This is usefull for two purposes, - * one is when the string may contain more than one header - * lines, and two when an error happen the value can - * pinpoint the location of the error in the buffer. - * - * @return The instance of the header if parsing was successful, - * or otherwise a NULL pointer will be returned. - */ -PJ_DECL(void*) pjsip_parse_hdr( pj_pool_t *pool, const pj_str_t *hname, - char *line, pj_size_t size, - int *parsed_len); - -/** - * Parse header line(s). Multiple headers can be parsed by this function. - * When there are multiple headers, the headers MUST be separated by either - * a newline (as in SIP message) or ampersand mark (as in URI). This separator - * is optional for the last header. - * - * @param pool The pool. - * @param input The input text to parse, which must be NULL terminated. - * @param size The text length. - * @param hlist The header list to store the parsed headers. - * This list must have been initialized before calling - * this function. - * @param options Specify 1 here to make parsing stop when error is - * encountered when parsing the header. Otherwise the - * error is silently ignored and parsing resumes to the - * next line. - * @return zero if successfull, or -1 if error is encountered. - * Upon error, the \a hlist argument MAY contain - * successfully parsed headers. - */ -PJ_DECL(pj_status_t) pjsip_parse_headers( pj_pool_t *pool, char *input, - pj_size_t size, pjsip_hdr *hlist, - unsigned options); - - -/** - * @} - */ - - -#ifdef _MSC_VER -# pragma warning(push) -# pragma warning(disable:4510) // default constructor could not be generated -# pragma warning(disable:4512) // assignment operator could not be generated -# pragma warning(disable:4610) // user defined constructor required -#endif - -/** - * Parser constants. @see pjsip_parser_const() - */ -typedef struct pjsip_parser_const_t -{ - const pj_str_t pjsip_USER_STR; /**< "user" string constant. */ - const pj_str_t pjsip_METHOD_STR; /**< "method" string constant */ - const pj_str_t pjsip_TRANSPORT_STR; /**< "transport" string const. */ - const pj_str_t pjsip_MADDR_STR; /**< "maddr" string const. */ - const pj_str_t pjsip_LR_STR; /**< "lr" string const. */ - const pj_str_t pjsip_SIP_STR; /**< "sip" string constant. */ - const pj_str_t pjsip_SIPS_STR; /**< "sips" string constant. */ - const pj_str_t pjsip_TEL_STR; /**< "tel" string constant. */ - const pj_str_t pjsip_BRANCH_STR; /**< "branch" string constant. */ - const pj_str_t pjsip_TTL_STR; /**< "ttl" string constant. */ - const pj_str_t pjsip_RECEIVED_STR; /**< "received" string const. */ - const pj_str_t pjsip_Q_STR; /**< "q" string constant. */ - const pj_str_t pjsip_EXPIRES_STR; /**< "expires" string constant. */ - const pj_str_t pjsip_TAG_STR; /**< "tag" string constant. */ - const pj_str_t pjsip_RPORT_STR; /**< "rport" string const. */ - - pj_cis_t pjsip_HOST_SPEC; /**< For scanning host part. */ - pj_cis_t pjsip_DIGIT_SPEC; /**< Decimal digits */ - pj_cis_t pjsip_ALPHA_SPEC; /**< Alpha (A-Z, a-z) */ - pj_cis_t pjsip_ALNUM_SPEC; /**< Decimal + Alpha. */ - pj_cis_t pjsip_TOKEN_SPEC; /**< Token. */ - pj_cis_t pjsip_TOKEN_SPEC_ESC; /**< Token without '%' character */ - pj_cis_t pjsip_VIA_PARAM_SPEC; /**< Via param is token + ":" for - IPv6. */ - pj_cis_t pjsip_VIA_PARAM_SPEC_ESC; /**< .. as above without '%' */ - pj_cis_t pjsip_HEX_SPEC; /**< Hexadecimal digits. */ - pj_cis_t pjsip_PARAM_CHAR_SPEC; /**< For scanning pname (or pvalue - when it's not quoted.) in URI */ - pj_cis_t pjsip_PARAM_CHAR_SPEC_ESC; /**< Variant without the escape ('%') - char */ - pj_cis_t pjsip_HDR_CHAR_SPEC; /**< Chars in hname/havalue in URL. */ - pj_cis_t pjsip_HDR_CHAR_SPEC_ESC; /**< Variant without the escape ('%') - char */ - pj_cis_t pjsip_PROBE_USER_HOST_SPEC;/**< Hostname characters. */ - pj_cis_t pjsip_PASSWD_SPEC; /**< Password. */ - pj_cis_t pjsip_PASSWD_SPEC_ESC; /**< Variant without the escape ('%') - char */ - pj_cis_t pjsip_USER_SPEC; /**< User */ - pj_cis_t pjsip_USER_SPEC_ESC; /**< Variant without the escape ('%') - char */ - pj_cis_t pjsip_USER_SPEC_LENIENT; /**< User, with additional '#' char */ - pj_cis_t pjsip_USER_SPEC_LENIENT_ESC;/**< pjsip_USER_SPEC_ESC with '#' */ - pj_cis_t pjsip_NOT_NEWLINE; /**< For eating up header, basically - any chars except newlines or - zero. */ - pj_cis_t pjsip_NOT_COMMA_OR_NEWLINE;/**< Array elements. */ - pj_cis_t pjsip_DISPLAY_SPEC; /**< Used when searching for display - name. */ - pj_cis_t pjsip_OTHER_URI_CONTENT; /**< Generic URI content. */ - -} pjsip_parser_const_t; - -#ifdef _MSC_VER -# pragma warning(pop) -#endif - - -/** - * Get parser constants. - */ -PJ_DECL(const pjsip_parser_const_t*) pjsip_parser_const(void); - - -/* - * Parser utilities. - */ -enum -{ - PJSIP_PARSE_REMOVE_QUOTE = 1 -}; - -/* Parse parameter in header (matching the character as token) */ -PJ_DECL(void) pjsip_parse_param_imp(pj_scanner *scanner, pj_pool_t *pool, - pj_str_t *pname, pj_str_t *pvalue, - unsigned opt); -/* Parse parameter in URL (matching the character as paramchar) */ -PJ_DECL(void) pjsip_parse_uri_param_imp(pj_scanner *scanner, pj_pool_t *pool, - pj_str_t *pname, pj_str_t *pvalue, - unsigned opt); -PJ_DECL(void) pjsip_concat_param_imp(pj_str_t *param, pj_pool_t *pool, - const pj_str_t *pname, - const pj_str_t *pvalue, - int sepchar); -PJ_DECL(void) pjsip_parse_end_hdr_imp ( pj_scanner *scanner ); - -PJ_END_DECL - -#endif /* __PJSIP_SIP_PARSER_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip/sip_private.h b/res/pjproject/pjsip/include/pjsip/sip_private.h deleted file mode 100644 index 621ca8fcde..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_private.h +++ /dev/null @@ -1,32 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIP_PRIVATE_H__ -#define __PJSIP_SIP_PRIVATE_H__ - -/** - * @file sip_private.h - * @brief Private structures and functions for PJSIP Library. - */ - -#include - - -#endif /* __PJSIP_PRIVATE_I_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip/sip_resolve.h b/res/pjproject/pjsip/include/pjsip/sip_resolve.h deleted file mode 100644 index 5a12cf781f..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_resolve.h +++ /dev/null @@ -1,291 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIP_RESOLVE_H__ -#define __PJSIP_SIP_RESOLVE_H__ - -/** - * @file sip_resolve.h - * @brief - * This module contains the mechanism to resolve server address as specified by - * RFC 3263 - Locating SIP Servers - */ - -#include -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJSIP_RESOLVE SIP SRV Server Resolution (RFC 3263 - Locating SIP Servers) - * @ingroup PJSIP_TRANSPORT - * @brief Framework to resolve SIP servers based on RFC 3263. - * @{ - * \section PJSIP_RESOLVE_FEATURES Features - * - * This is the SIP server resolution framework, which is modelled after - * RFC 3263 - Locating SIP Servers document. The SIP server resolution - * framework is asynchronous; callback will be called once the server - * address has been resolved (successfully or with errors). - * - * \subsection PJSIP_RESOLVE_CONFORMANT Conformance to RFC 3263 - * - * The SIP server resolution framework is modelled after RFC 3263 (Locating - * SIP Servers) document, and it provides a single function (#pjsip_resolve()) - * to resolve a domain into actual IP addresses of the servers, by querying - * DNS SRV record and DNS A record where necessary. - * - * The #pjsip_resolve() function performs the server resolution according - * to RFC 3263 with some additional fallback mechanisms, as follows: - * - if the target name is an IP address, the callback will be called - * immediately with the IP address. If port number was specified, this - * port number will be used, otherwise the default port number for the - * transport will be used (5060 for TCP/UDP, 5061 for TLS) if the transport - * is specified. If the transport is not specified, UDP with port number - * 5060 will be used. - * - if target name is not an IP address but it contains port number, - * then the target name is resolved with DNS A (or AAAA, when IPv6 is - * supported in the future) query, and the port is taken from the - * port number argument. The callback will be called once the DNS A - * resolution completes. If the DNS A resolution returns multiple IP - * addresses, these IP addresses will be returned to the caller. - * - if target name is not an IP address and port number is not specified, - * DNS SRV resolution will be performed for the specified name and - * transport type (or UDP when transport is not specified), - * then followed by DNS A (or AAAA, when IPv6 is supported) - * resolution for each target in the SRV record. If DNS SRV - * resolution returns error, DNS A (or AAAA) resolution will be - * performed for the original target (it is assumed that the target domain - * does not support SRV records). Upon successful completion, - * application callback will be called with each IP address of the - * target selected based on the load-balancing and fail-over criteria - * below. - * - * The above server resolution procedure differs from RFC 3263 in these - * regards: - * - currently #pjsip_resolve() doesn't support DNS NAPTR record. - * - if transport is not specified, it is assumed to be UDP (the proper - * behavior is to query the NAPTR record, but we don't support this - * yet). - * - * - * \subsection PJSIP_SIP_RESOLVE_FAILOVER_LOADBALANCE Load-Balancing and Fail-Over - * - * When multiple targets are returned in the DNS SRV response, server entries - * are selected based on the following rule (which is described in RFC 2782): - * - targets will be sorted based on the priority first. - * - for targets with the same priority, #pjsip_resolve() will select - * only one target according to its weight. To select this one target, - * the function associates running-sum for all targets, and generates - * a random number between zero and the total running-sum (inclusive). - * The target selected is the first target with running-sum greater than - * or equal to this random number. - * - * The above procedure will select one target for each priority, allowing - * application to fail-over to the next target when the previous target fails. - * These targets are returned in the #pjsip_server_addresses structure - * argument of the callback. - * - * \subsection PJSIP_SIP_RESOLVE_SIP_FEATURES SIP SRV Resolver Features - * - * Some features of the SIP resolver: - * - DNS SRV entries are returned on sorted order based on priority - * to allow failover to the next appropriate server. - * - The procedure in RFC 2782 is used to select server with the same - * priority to load-balance the servers load. - * - A single function (#pjsip_resolve()) performs all server resolution - * works, from resolving the SRV records to getting the actual IP addresses - * of the servers with DNS A (or AAAA) resolution. - * - When multiple DNS SRV records are returned, parallel DNS A (or AAAA) - * queries will be issued simultaneously. - * - The PJLIB-UTIL DNS resolver provides additional functionality such as - * response caching, query aggregation, parallel nameservers, fallback - * nameserver, etc., which will be described below. - * - * - * \subsection PJSIP_RESOLVE_DNS_FEATURES DNS Resolver Features - * - * The PJSIP server resolution framework uses PJLIB-UTIL DNS resolver engine - * for performing the asynchronous DNS request. The PJLIB-UTIL DNS resolver - * has some useful features, such as: - * - queries are asynchronous with configurable timeout, - * - query aggregation to combine multiple pending queries to the same - * DNS target into a single DNS request (to save message round-trip and - * processing), - * - response caching with TTL negotiated between the minimum TTL found in - * the response and the maximum TTL allowed in the configuration, - * - multiple nameservers, with active nameserver is selected from nameserver - * which provides the best response time, - * - fallback nameserver, with periodic detection of which name servers are - * active or down. - * - etc. - * - * Please consult PJLIB-UTIL DNS resolver documentation for more details. - * - * - * \section PJSIP_RESOLVE_USING Using the Resolver - * - * To maintain backward compatibility, the resolver MUST be enabled manually. - * With the default settings, the resolver WILL NOT perform DNS SRV resolution, - * as it will just resolve the name with standard pj_gethostbyname() function. - * - * Application can enable the SRV resolver by creating the PJLIB-UTIL DNS - * resolver with #pjsip_endpt_create_resolver(), configure the - * nameservers of the PJLIB-UTIL DNS resolver object by calling - * pj_dns_resolver_set_ns() function, and pass the DNS resolver object to - * #pjsip_resolver_set_resolver() function. - * - * Once the resolver is set, it will be used automatically by PJSIP everytime - * PJSIP needs to send SIP request/response messages. - * - * - * \section PJSIP_RESOLVE_REFERENCE Reference - * - * Reference: - * - RFC 2782: A DNS RR for specifying the location of services (DNS SRV) - * - RFC 3263: Locating SIP Servers - */ - -/** - * The server addresses returned by the resolver. - */ -typedef struct pjsip_server_addresses -{ - /** Number of address records. */ - unsigned count; - - /** Address records. */ - struct - { - /** Preferable transport to be used to contact this address. */ - pjsip_transport_type_e type; - - /** Server priority (the lower the higher the priority). */ - unsigned priority; - - /** Server weight (the higher the more load it can handle). */ - unsigned weight; - - /** The server's address. */ - pj_sockaddr addr; - - /** Address length. */ - int addr_len; - - } entry[PJSIP_MAX_RESOLVED_ADDRESSES]; - -} pjsip_server_addresses; - - -/** - * The type of callback function to be called when resolver finishes the job. - * - * @param status The status of the operation, which is zero on success. - * @param token The token that was associated with the job when application - * call the resolve function. - * @param addr The addresses resolved by the operation. - */ -typedef void pjsip_resolver_callback(pj_status_t status, - void *token, - const struct pjsip_server_addresses *addr); - -/** - * Create SIP resolver engine. Note that this function is normally called - * internally by pjsip_endpoint instance. - * - * @param pool Pool to allocate memory from. - * @param p_res Pointer to receive SIP resolver instance. - * - * @return PJ_SUCCESS when resolver can be successfully created. - */ -PJ_DECL(pj_status_t) pjsip_resolver_create(pj_pool_t *pool, - pjsip_resolver_t **p_res); - -/** - * Set the DNS resolver instance of the SIP resolver engine. Before the - * DNS resolver is set, the SIP resolver will use standard pj_gethostbyname() - * to resolve addresses. - * - * Note that application normally will use #pjsip_endpt_set_resolver() instead - * since it does not normally have access to the SIP resolver instance. - * - * @param res The SIP resolver engine. - * @param dns_res The DNS resolver instance to be used by the SIP resolver. - * This argument can be NULL to reset the internal DNS - * instance. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_resolver_set_resolver(pjsip_resolver_t *res, - pj_dns_resolver *dns_res); - - -/** - * Get the DNS resolver instance of the SIP resolver engine. - * - * Note that application normally will use #pjsip_endpt_get_resolver() instead - * since it does not normally have access to the SIP resolver instance. - * - * @param res The SIP resolver engine. - * - * @return The DNS resolver instance (may be NULL) - */ -PJ_DECL(pj_dns_resolver*) pjsip_resolver_get_resolver(pjsip_resolver_t *res); - -/** - * Destroy resolver engine. Note that this will also destroy the internal - * DNS resolver inside the engine. If application doesn't want the internal - * DNS resolver to be destroyed, it should set the internal DNS resolver - * to NULL before calling this function. - * - * Note that this function will normally called by the SIP endpoint instance - * when the SIP endpoint instance is destroyed. - * - * @param resolver The resolver. - */ -PJ_DECL(void) pjsip_resolver_destroy(pjsip_resolver_t *resolver); - -/** - * Asynchronously resolve a SIP target host or domain according to rule - * specified in RFC 3263 (Locating SIP Servers). When the resolving operation - * has completed, the callback will be called. - * - * Note that application normally will use #pjsip_endpt_resolve() instead - * since it does not normally have access to the SIP resolver instance. - * - * @param resolver The resolver engine. - * @param pool The pool to allocate resolver job. - * @param target The target specification to be resolved. - * @param token A user defined token to be passed back to callback function. - * @param cb The callback function. - */ -PJ_DECL(void) pjsip_resolve( pjsip_resolver_t *resolver, - pj_pool_t *pool, - const pjsip_host_info *target, - void *token, - pjsip_resolver_callback *cb); - -/** - * @} - */ - -PJ_END_DECL - -#endif /* __PJSIP_SIP_RESOLVE_H__ */ diff --git a/res/pjproject/pjsip/include/pjsip/sip_tel_uri.h b/res/pjproject/pjsip/include/pjsip/sip_tel_uri.h deleted file mode 100644 index 15766e83a5..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_tel_uri.h +++ /dev/null @@ -1,84 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_TEL_URI_H__ -#define __PJSIP_TEL_URI_H__ - -/** - * @file sip_tel_uri.h - * @brief Tel: URI - */ - -#include - -/** - * @addtogroup PJSIP_TEL_URI tel URI Scheme - * @ingroup PJSIP_URI - * @brief Support for "tel:" URI scheme. - * @{ - */ - - -PJ_BEGIN_DECL - -/** - * tel: URI. - */ -typedef struct pjsip_tel_uri -{ - pjsip_uri_vptr *vptr; /**< Pointer to virtual function table. */ - pj_str_t number; /**< Global or local phone number */ - pj_str_t context; /**< Phone context (for local number). */ - pj_str_t ext_param; /**< Extension param. */ - pj_str_t isub_param; /**< ISDN sub-address param. */ - pjsip_param other_param;/**< Other parameter. */ -} pjsip_tel_uri; - - -/** - * Create a new tel: URI. - * - * @param pool The pool. - * - * @return New instance of tel: URI. - */ -PJ_DECL(pjsip_tel_uri*) pjsip_tel_uri_create(pj_pool_t *pool); - -/** - * This function compares two numbers for equality, according to rules as - * specified in RFC 3966. - * - * @param nb1 The first number. - * @param nb2 The second number. - * - * @return Zero if equal, -1 if nb1 is less than nb2, or +1 if - * nb1 is greater than nb2. - */ -PJ_DECL(int) pjsip_tel_nb_cmp(const pj_str_t *nb1, const pj_str_t *nb2); - - -PJ_END_DECL - - -/** - * @} - */ - - -#endif /* __PJSIP_TEL_URI_H__ */ diff --git a/res/pjproject/pjsip/include/pjsip/sip_transaction.h b/res/pjproject/pjsip/include/pjsip/sip_transaction.h deleted file mode 100644 index 5be37ac427..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_transaction.h +++ /dev/null @@ -1,414 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIP_TRANSACTION_H__ -#define __PJSIP_SIP_TRANSACTION_H__ - -/** - * @file sip_transaction.h - * @brief SIP Transaction - */ - -#include -#include -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJSIP_TRANSACT Transaction Layer - * @brief Provides statefull message processing. - * - * This module provides stateful processing to incoming or outgoing SIP - * messages. - * Before performing any stateful operations, application must register the - * transaction layer module by calling #pjsip_tsx_layer_init_module(). - * - * Application should link with pjsip-core library to - * use the transaction layer. - */ - -/** - * @defgroup PJSIP_TRANSACT_TRANSACTION Transaction - * @ingroup PJSIP_TRANSACT - * @brief Transaction instance for all types of SIP transactions. - * @{ - * The pjsip_transaction describes SIP transaction, and is used for - * both INVITE and non-INVITE, UAC or UAS. Application must register the - * transaction layer module with #pjsip_tsx_layer_init_module() before - * performing any stateful operations. - */ - -/** - * This enumeration represents transaction state. - */ -typedef enum pjsip_tsx_state_e -{ - PJSIP_TSX_STATE_NULL, /**< For UAC, before any message is sent. */ - PJSIP_TSX_STATE_CALLING, /**< For UAC, just after request is sent. */ - PJSIP_TSX_STATE_TRYING, /**< For UAS, just after request is received.*/ - PJSIP_TSX_STATE_PROCEEDING, /**< For UAS/UAC, after provisional response.*/ - PJSIP_TSX_STATE_COMPLETED, /**< For UAS/UAC, after final response. */ - PJSIP_TSX_STATE_CONFIRMED, /**< For UAS, after ACK is received. */ - PJSIP_TSX_STATE_TERMINATED, /**< For UAS/UAC, before it's destroyed. */ - PJSIP_TSX_STATE_DESTROYED, /**< For UAS/UAC, will be destroyed now. */ - PJSIP_TSX_STATE_MAX /**< Number of states. */ -} pjsip_tsx_state_e; - - -/** - * This structure describes SIP transaction object. The transaction object - * is used to handle both UAS and UAC transaction. - */ -struct pjsip_transaction -{ - /* - * Administrivia - */ - pj_pool_t *pool; /**< Pool owned by the tsx. */ - pjsip_module *tsx_user; /**< Transaction user. */ - pjsip_endpoint *endpt; /**< Endpoint instance. */ - pj_mutex_t *mutex; /**< Mutex for this tsx. */ - pj_mutex_t *mutex_b; /**< Second mutex to avoid - deadlock. It is used to - protect timer. */ - - /* - * Transaction identification. - */ - char obj_name[PJ_MAX_OBJ_NAME]; /**< Log info. */ - pjsip_role_e role; /**< Role (UAS or UAC) */ - pjsip_method method; /**< The method. */ - pj_int32_t cseq; /**< The CSeq */ - pj_str_t transaction_key;/**< Hash table key. */ - pj_uint32_t hashed_key; /**< Key's hashed value. */ - pj_str_t branch; /**< The branch Id. */ - - /* - * State and status. - */ - int status_code; /**< Last status code seen. */ - pj_str_t status_text; /**< Last reason phrase. */ - pjsip_tsx_state_e state; /**< State. */ - int handle_200resp; /**< UAS 200/INVITE retrsm.*/ - int tracing; /**< Tracing enabled? */ - - /** Handler according to current state. */ - pj_status_t (*state_handler)(struct pjsip_transaction *, pjsip_event *); - - /* - * Transport. - */ - pjsip_transport *transport; /**< Transport to use. */ - pj_bool_t is_reliable; /**< Transport is reliable. */ - pj_sockaddr addr; /**< Destination address. */ - int addr_len; /**< Address length. */ - pjsip_response_addr res_addr; /**< Response address. */ - unsigned transport_flag; /**< Miscelaneous flag. */ - pj_status_t transport_err; /**< Internal error code. */ - pjsip_tpselector tp_sel; /**< Transport selector. */ - pjsip_tx_data *pending_tx; /**< Tdata which caused - pending transport flag - to be set on tsx. */ - pjsip_tp_state_listener_key *tp_st_key; /**< Transport state listener - key. */ - - /* - * Messages and timer. - */ - pjsip_tx_data *last_tx; /**< Msg kept for retrans. */ - int retransmit_count;/**< Retransmission count. */ - pj_timer_entry retransmit_timer;/**< Retransmit timer. */ - pj_timer_entry timeout_timer; /**< Timeout timer. */ - - /** Module specific data. */ - void *mod_data[PJSIP_MAX_MODULE]; -}; - - -/** - * Create and register transaction layer module to the specified endpoint. - * - * @param endpt The endpoint instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_tsx_layer_init_module(pjsip_endpoint *endpt); - -/** - * Get the instance of the transaction layer module. - * - * @return The transaction layer module. - */ -PJ_DECL(pjsip_module*) pjsip_tsx_layer_instance(void); - -/** - * Unregister and destroy transaction layer module. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_tsx_layer_destroy(void); - -/** - * Retrieve the current number of transactions currently registered - * in the hash table. - * - * @return Number of transactions. - */ -PJ_DECL(unsigned) pjsip_tsx_layer_get_tsx_count(void); - -/** - * Find a transaction with the specified key. The transaction key normally - * is created by calling #pjsip_tsx_create_key() from an incoming message. - * - * @param key The key string to find the transaction. - * @param lock If non-zero, transaction will be locked before the - * function returns, to make sure that it's not deleted - * by other threads. - * - * @return The matching transaction instance, or NULL if transaction - * can not be found. - */ -PJ_DECL(pjsip_transaction*) pjsip_tsx_layer_find_tsx( const pj_str_t *key, - pj_bool_t lock ); - -/** - * Create, initialize, and register a new transaction as UAC from the - * specified transmit data (\c tdata). The transmit data must have a valid - * \c Request-Line and \c CSeq header. - * - * If \c Via header does not exist, it will be created along with a unique - * \c branch parameter. If it exists and contains branch parameter, then - * the \c branch parameter will be used as is as the transaction key. If - * it exists but branch parameter doesn't exist, a unique branch parameter - * will be created. - * - * @param tsx_user Module to be registered as transaction user of the new - * transaction, which will receive notification from the - * transaction via on_tsx_state() callback. - * @param tdata The outgoing request message. - * @param p_tsx On return will contain the new transaction instance. - * - * @return PJ_SUCCESS if successfull. - */ -PJ_DECL(pj_status_t) pjsip_tsx_create_uac( pjsip_module *tsx_user, - pjsip_tx_data *tdata, - pjsip_transaction **p_tsx); - -/** - * Create, initialize, and register a new transaction as UAS from the - * specified incoming request in \c rdata. After calling this function, - * application MUST call #pjsip_tsx_recv_msg() so that transaction - * moves from state NULL. - * - * @param tsx_user Module to be registered as transaction user of the new - * transaction, which will receive notification from the - * transaction via on_tsx_state() callback. - * @param rdata The received incoming request. - * @param p_tsx On return will contain the new transaction instance. - * - * @return PJ_SUCCESS if successfull. - */ -PJ_DECL(pj_status_t) pjsip_tsx_create_uas( pjsip_module *tsx_user, - pjsip_rx_data *rdata, - pjsip_transaction **p_tsx ); - - -/** - * Lock/bind transaction to a specific transport/listener. This is optional, - * as normally transport will be selected automatically based on the - * destination of the message upon resolver completion. - * - * @param tsx The transaction. - * @param sel Transport selector containing the specification of - * transport or listener to be used by this transaction - * to send requests. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_tsx_set_transport(pjsip_transaction *tsx, - const pjsip_tpselector *sel); - -/** - * Call this function to manually feed a message to the transaction. - * For UAS transaction, application MUST call this function after - * UAS transaction has been created. - * - * This function SHOULD only be called to pass initial request message - * to UAS transaction. Before this function returns, on_tsx_state() - * callback of the transaction user will be called. If response message - * is passed to this function, then on_rx_response() will also be called - * before on_tsx_state(). - * - * @param tsx The transaction. - * @param rdata The message. - */ -PJ_DECL(void) pjsip_tsx_recv_msg( pjsip_transaction *tsx, - pjsip_rx_data *rdata); - -/** - * Transmit message in tdata with this transaction. It is possible to - * pass NULL in tdata for UAC transaction, which in this case the last - * message transmitted, or the request message which was specified when - * calling #pjsip_tsx_create_uac(), will be sent. - * - * This function decrements the reference counter of the transmit buffer - * only when it returns PJ_SUCCESS; - * - * @param tsx The transaction. - * @param tdata The outgoing message. If NULL is specified, then the - * last message transmitted (or the message specified - * in UAC initialization) will be sent. - * - * @return PJ_SUCCESS if successfull. - */ -PJ_DECL(pj_status_t) pjsip_tsx_send_msg( pjsip_transaction *tsx, - pjsip_tx_data *tdata); - - -/** - * Manually retransmit the last message transmitted by this transaction, - * without updating the transaction state. This function is useful when - * TU wants to maintain the retransmision by itself (for example, - * retransmitting reliable provisional response). - * - * @param tsx The transaction. - * @param tdata The outgoing message. If NULL is specified, then the - * last message transmitted (or the message specified - * in UAC initialization) will be sent. - * - * - * @return PJ_SUCCESS if successful. - */ -PJ_DECL(pj_status_t) pjsip_tsx_retransmit_no_state(pjsip_transaction *tsx, - pjsip_tx_data *tdata); - - -/** - * Create transaction key, which is used to match incoming requests - * or response (retransmissions) against transactions. - * - * @param pool The pool - * @param key Output key. - * @param role The role of the transaction. - * @param method The method to be put as a key. - * @param rdata The received data to calculate. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_tsx_create_key( pj_pool_t *pool, - pj_str_t *key, - pjsip_role_e role, - const pjsip_method *method, - const pjsip_rx_data *rdata ); - -/** - * Force terminate transaction. - * - * @param tsx The transaction. - * @param code The status code to report. - */ -PJ_DECL(pj_status_t) pjsip_tsx_terminate( pjsip_transaction *tsx, - int code ); - - -/** - * Cease retransmission on the UAC transaction. The UAC transaction is - * still considered running, and it will complete when either final - * response is received or the transaction times out. - * - * This operation normally is used for INVITE transaction only, when - * the transaction is cancelled before any provisional response has been - * received. - * - * @param tsx The transaction. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_tsx_stop_retransmit(pjsip_transaction *tsx); - - -/** - * Start a timer to terminate transaction after the specified time - * has elapsed. This function is only valid for INVITE transaction, - * and only before final response is received for the INVITE transaction. - * It is normally called after the UAC has sent CANCEL for this - * INVITE transaction. - * - * The purpose of this function is to terminate the transaction if UAS - * does not send final response to this INVITE transaction even after - * it sends 200/OK to CANCEL (for example when the UAS complies to RFC - * 2543). - * - * Once this timer is set, the transaction will be terminated either when - * a final response is received or the timer expires. - * - * @param tsx The transaction. - * @param millisec Timeout value in milliseconds. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_tsx_set_timeout(pjsip_transaction *tsx, - unsigned millisec); - - -/** - * Get the transaction instance in the incoming message. If the message - * has a corresponding transaction, this function will return non NULL - * value. - * - * @param rdata The incoming message buffer. - * - * @return The transaction instance associated with this message, - * or NULL if the message doesn't match any transactions. - */ -PJ_DECL(pjsip_transaction*) pjsip_rdata_get_tsx( pjsip_rx_data *rdata ); - - -/** - * @} - */ - -/* - * Internal. - */ - -/* - * Dump transaction layer. - */ -PJ_DECL(void) pjsip_tsx_layer_dump(pj_bool_t detail); - -/** - * Get the string name for the state. - * @param state State - */ -PJ_DECL(const char *) pjsip_tsx_state_str(pjsip_tsx_state_e state); - -/** - * Get the role name. - * @param role Role. - */ -PJ_DECL(const char *) pjsip_role_name(pjsip_role_e role); - - -PJ_END_DECL - -#endif /* __PJSIP_TRANSACT_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip/sip_transport.h b/res/pjproject/pjsip/include/pjsip/sip_transport.h deleted file mode 100644 index 99f006a6a1..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_transport.h +++ /dev/null @@ -1,1398 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIP_TRANSPORT_H__ -#define __PJSIP_SIP_TRANSPORT_H__ - -/** - * @file sip_transport.h - * @brief SIP Transport - */ - -#include -#include -#include -#include -#include -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJSIP_TRANSPORT Transport - * @ingroup PJSIP_CORE - * @brief This is the transport framework. - * - * The transport framework is fully extensible. Please see - * PJSIP Developer's Guide PDF - * document for more information. - * - * Application MUST register at least one transport to PJSIP before any - * messages can be sent or received. Please see @ref PJSIP_TRANSPORT_UDP - * on how to create/register UDP transport to the transport framework. - * - * @{ - */ - -/***************************************************************************** - * - * GENERAL TRANSPORT (NAMES, TYPES, ETC.) - * - *****************************************************************************/ - -/* - * Forward declaration for transport factory (since it is referenced by - * the transport factory itself). - */ -typedef struct pjsip_tpfactory pjsip_tpfactory; - - -/** - * Flags for SIP transports. - */ -enum pjsip_transport_flags_e -{ - PJSIP_TRANSPORT_RELIABLE = 1, /**< Transport is reliable. */ - PJSIP_TRANSPORT_SECURE = 2, /**< Transport is secure. */ - PJSIP_TRANSPORT_DATAGRAM = 4 /**< Datagram based transport. - (it's also assumed to be - connectionless) */ -}; - -/** - * Check if transport tp is reliable. - */ -#define PJSIP_TRANSPORT_IS_RELIABLE(tp) \ - ((tp)->flag & PJSIP_TRANSPORT_RELIABLE) - -/** - * Check if transport tp is secure. - */ -#define PJSIP_TRANSPORT_IS_SECURE(tp) \ - ((tp)->flag & PJSIP_TRANSPORT_SECURE) - -/** - * Register new transport type to PJSIP. The PJSIP transport framework - * contains the info for some standard transports, as declared by - * #pjsip_transport_type_e. Application may use non-standard transport - * with PJSIP, but before it does so, it must register the information - * about the new transport type to PJSIP by calling this function. - * - * @param tp_flag The flags describing characteristics of this - * transport type. - * @param tp_name Transport type name. - * @param def_port Default port to be used for the transport. - * @param p_tp_type On successful registration, it will be filled with - * the registered type. This argument is optional. - * - * @return PJ_SUCCESS if registration is successful, or - * PJSIP_ETYPEEXISTS if the same transport type has - * already been registered. - */ -PJ_DECL(pj_status_t) pjsip_transport_register_type(unsigned tp_flag, - const char *tp_name, - int def_port, - int *p_tp_type); - - -/** - * Get the transport type from the transport name. - * - * @param name Transport name, such as "TCP", or "UDP". - * - * @return The transport type, or PJSIP_TRANSPORT_UNSPECIFIED if - * the name is not recognized as the name of supported - * transport. - */ -PJ_DECL(pjsip_transport_type_e) -pjsip_transport_get_type_from_name(const pj_str_t *name); - -/** - * Get the transport type for the specified flags. - * - * @param flag The transport flag. - * - * @return Transport type. - */ -PJ_DECL(pjsip_transport_type_e) -pjsip_transport_get_type_from_flag(unsigned flag); - -/** - * Get the socket address family of a given transport type. - * - * @param type Transport type. - * - * @return Transport type. - */ -PJ_DECL(int) pjsip_transport_type_get_af(pjsip_transport_type_e type); - -/** - * Get transport flag from type. - * - * @param type Transport type. - * - * @return Transport flags. - */ -PJ_DECL(unsigned) -pjsip_transport_get_flag_from_type( pjsip_transport_type_e type ); - -/** - * Get the default SIP port number for the specified type. - * - * @param type Transport type. - * - * @return The port number, which is the default SIP port number for - * the specified type. - */ -PJ_DECL(int) -pjsip_transport_get_default_port_for_type(pjsip_transport_type_e type); - -/** - * Get transport type name. - * - * @param t Transport type. - * - * @return Transport name. - */ -PJ_DECL(const char*) pjsip_transport_get_type_name(pjsip_transport_type_e t); - -/** - * Get longer description for the specified transport type. - * - * @param t Transport type. - * - * @return Transport description. - */ -PJ_DECL(const char*) pjsip_transport_get_type_desc(pjsip_transport_type_e t); - - - -/***************************************************************************** - * - * TRANSPORT SELECTOR. - * - *****************************************************************************/ - -/** - * This structure describes the type of data in pjsip_tpselector. - */ -typedef enum pjsip_tpselector_type -{ - /** Transport is not specified. */ - PJSIP_TPSELECTOR_NONE, - - /** Use the specific transport to send request. */ - PJSIP_TPSELECTOR_TRANSPORT, - - /** Use the specific listener to send request. */ - PJSIP_TPSELECTOR_LISTENER, - -} pjsip_tpselector_type; - - -/** - * This structure describes the transport/listener preference to be used - * when sending outgoing requests. - * - * Normally transport will be selected automatically according to rules about - * sending requests. But some applications (such as proxies or B2BUAs) may - * want to explicitly use specific transport to send requests, for example - * when they want to make sure that outgoing request should go from a specific - * network interface. - * - * The pjsip_tpselector structure is used for that purpose, i.e. to allow - * application specificly request that a particular transport/listener - * should be used to send request. This structure is used when calling - * pjsip_tsx_set_transport() and pjsip_dlg_set_transport(). - */ -typedef struct pjsip_tpselector -{ - /** The type of data in the union */ - pjsip_tpselector_type type; - - /** Union representing the transport/listener criteria to be used. */ - union { - pjsip_transport *transport; - pjsip_tpfactory *listener; - void *ptr; - } u; - -} pjsip_tpselector; - - -/** - * Add transport/listener reference in the selector to prevent the specified - * transport/listener from being destroyed while application still has - * reference to it. - * - * @param sel The transport selector. - */ -PJ_DECL(void) pjsip_tpselector_add_ref(pjsip_tpselector *sel); - - -/** - * Decrement transport/listener reference in the selector. - * @param sel The transport selector - */ -PJ_DECL(void) pjsip_tpselector_dec_ref(pjsip_tpselector *sel); - - -/***************************************************************************** - * - * RECEIVE DATA BUFFER. - * - *****************************************************************************/ - -/** - * A customized ioqueue async operation key which is used by transport - * to locate rdata when a pending read operation completes. - */ -typedef struct pjsip_rx_data_op_key -{ - pj_ioqueue_op_key_t op_key; /**< ioqueue op_key. */ - pjsip_rx_data *rdata; /**< rdata associated with this */ -} pjsip_rx_data_op_key; - - -/** - * Incoming message buffer. - * This structure keep all the information regarding the received message. This - * buffer lifetime is only very short, normally after the transaction has been - * called, this buffer will be deleted/recycled. So care must be taken when - * allocating storage from the pool of this buffer. - */ -struct pjsip_rx_data -{ - - /** - * tp_info is part of rdata that remains static for the duration of the - * buffer. It is initialized when the buffer was created by transport. - */ - struct - { - /** Memory pool for this buffer. */ - pj_pool_t *pool; - - /** The transport object which received this packet. */ - pjsip_transport *transport; - - /** Other transport specific data to be attached to this buffer. */ - void *tp_data; - - /** Ioqueue key. */ - pjsip_rx_data_op_key op_key; - - } tp_info; - - - /** - * pkt_info is initialized by transport when it receives an incoming - * packet. - */ - struct - { - /** Time when the message was received. */ - pj_time_val timestamp; - - /** Pointer to the original packet. */ - char packet[PJSIP_MAX_PKT_LEN]; - - /** Zero termination for the packet. */ - pj_uint32_t zero; - - /** The length of the packet received. */ - pj_ssize_t len; - - /** The source address from which the packet was received. */ - pj_sockaddr src_addr; - - /** The length of the source address. */ - int src_addr_len; - - /** The IP source address string (NULL terminated). */ - char src_name[PJ_INET6_ADDRSTRLEN]; - - /** The IP source port number. */ - int src_port; - - } pkt_info; - - - /** - * msg_info is initialized by transport mgr (tpmgr) before this buffer - * is passed to endpoint. - */ - struct - { - /** Start of msg buffer. */ - char *msg_buf; - - /** Length fo message. */ - int len; - - /** The parsed message, if any. */ - pjsip_msg *msg; - - /** Short description about the message. - * Application should use #pjsip_rx_data_get_info() instead. - */ - char *info; - - /** The Call-ID header as found in the message. */ - pjsip_cid_hdr *cid; - - /** The From header as found in the message. */ - pjsip_from_hdr *from; - - /** The To header as found in the message. */ - pjsip_to_hdr *to; - - /** The topmost Via header as found in the message. */ - pjsip_via_hdr *via; - - /** The CSeq header as found in the message. */ - pjsip_cseq_hdr *cseq; - - /** Max forwards header. */ - pjsip_max_fwd_hdr *max_fwd; - - /** The first route header. */ - pjsip_route_hdr *route; - - /** The first record-route header. */ - pjsip_rr_hdr *record_route; - - /** Content-type header. */ - pjsip_ctype_hdr *ctype; - - /** Content-length header. */ - pjsip_clen_hdr *clen; - - /** "Require" header containing aggregates of all Require - * headers found in the message, or NULL. - */ - pjsip_require_hdr *require; - - /** "Supported" header containing aggregates of all Supported - * headers found in the message, or NULL. - */ - pjsip_supported_hdr *supported; - - /** The list of error generated by the parser when parsing - this message. - */ - pjsip_parser_err_report parse_err; - - } msg_info; - - - /** - * endpt_info is initialized by endpoint after this buffer reaches - * endpoint. - */ - struct - { - /** - * Data attached by modules to this message. - */ - void *mod_data[PJSIP_MAX_MODULE]; - - } endpt_info; - -}; - -/** - * Get printable information about the message in the rdata. - * - * @param rdata The receive data buffer. - * - * @return Printable information. - */ -PJ_DECL(char*) pjsip_rx_data_get_info(pjsip_rx_data *rdata); - - -/***************************************************************************** - * - * TRANSMIT DATA BUFFER MANIPULATION. - * - *****************************************************************************/ - -/** Customized ioqueue async operation key, used by transport to keep - * callback parameters. - */ -typedef struct pjsip_tx_data_op_key -{ - /** ioqueue pending operation key. */ - pj_ioqueue_op_key_t key; - - /** Transmit data associated with this key. */ - pjsip_tx_data *tdata; - - /** Arbitrary token (attached by transport) */ - void *token; - - /** Callback to be called when pending transmit operation has - completed. - */ - void (*callback)(pjsip_transport*,void*,pj_ssize_t); -} pjsip_tx_data_op_key; - - -/** - * Data structure for sending outgoing message. Application normally creates - * this buffer by calling #pjsip_endpt_create_tdata. - * - * The lifetime of this buffer is controlled by the reference counter in this - * structure, which is manipulated by calling #pjsip_tx_data_add_ref and - * #pjsip_tx_data_dec_ref. When the reference counter has reached zero, then - * this buffer will be destroyed. - * - * A transaction object normally will add reference counter to this buffer - * when application calls #pjsip_tsx_send_msg, because it needs to keep the - * message for retransmission. The transaction will release the reference - * counter once its state has reached final state. - */ -struct pjsip_tx_data -{ - /** This is for transmission queue; it's managed by transports. */ - PJ_DECL_LIST_MEMBER(struct pjsip_tx_data); - - /** Memory pool for this buffer. */ - pj_pool_t *pool; - - /** A name to identify this buffer. */ - char obj_name[PJ_MAX_OBJ_NAME]; - - /** Short information describing this buffer and the message in it. - * Application should use #pjsip_tx_data_get_info() instead of - * directly accessing this member. - */ - char *info; - - /** For response message, this contains the reference to timestamp when - * the original request message was received. The value of this field - * is set when application creates response message to a request by - * calling #pjsip_endpt_create_response. - */ - pj_time_val rx_timestamp; - - /** The transport manager for this buffer. */ - pjsip_tpmgr *mgr; - - /** Ioqueue asynchronous operation key. */ - pjsip_tx_data_op_key op_key; - - /** Lock object. */ - pj_lock_t *lock; - - /** The message in this buffer. */ - pjsip_msg *msg; - - /** Strict route header saved by #pjsip_process_route_set(), to be - * restored by #pjsip_restore_strict_route_set(). - */ - pjsip_route_hdr *saved_strict_route; - - /** Buffer to the printed text representation of the message. When the - * content of this buffer is set, then the transport will send the content - * of this buffer instead of re-printing the message structure. If the - * message structure has changed, then application must invalidate this - * buffer by calling #pjsip_tx_data_invalidate_msg. - */ - pjsip_buffer buf; - - /** Reference counter. */ - pj_atomic_t *ref_cnt; - - /** Being processed by transport? */ - int is_pending; - - /** Transport manager internal. */ - void *token; - - /** Callback to be called when this tx_data has been transmitted. */ - void (*cb)(void*, pjsip_tx_data*, pj_ssize_t); - - /** Destination information, to be used to determine the network address - * of the message. For a request, this information is initialized when - * the request is sent with #pjsip_endpt_send_request_stateless() and - * network address is resolved. For CANCEL request, this information - * will be copied from the original INVITE to make sure that the CANCEL - * request goes to the same physical network address as the INVITE - * request. - */ - struct - { - /** Server name. - */ - pj_str_t name; - - /** Server addresses resolved. - */ - pjsip_server_addresses addr; - - /** Current server address being tried. - */ - unsigned cur_addr; - - } dest_info; - - /** Transport information, only valid during on_tx_request() and - * on_tx_response() callback. - */ - struct - { - pjsip_transport *transport; /**< Transport being used. */ - pj_sockaddr dst_addr; /**< Destination address. */ - int dst_addr_len; /**< Length of address. */ - char dst_name[PJ_INET6_ADDRSTRLEN]; /**< Destination address. */ - int dst_port; /**< Destination port. */ - } tp_info; - - /** - * Transport selector, to specify which transport to be used. - * The value here must be set with pjsip_tx_data_set_transport(), - * to allow reference counter to be set properly. - */ - pjsip_tpselector tp_sel; - - /** - * Special flag to indicate that this transmit data is a request that has - * been updated with proper authentication response and is ready to be - * sent for retry. - */ - pj_bool_t auth_retry; - - /** - * Arbitrary data attached by PJSIP modules. - */ - void *mod_data[PJSIP_MAX_MODULE]; -}; - - -/** - * Create a new, blank transmit buffer. The reference count is initialized - * to zero. - * - * @param mgr The transport manager. - * @param tdata Pointer to receive transmit data. - * - * @return PJ_SUCCESS, or the appropriate error code. - * - * @see pjsip_endpt_create_tdata - */ -PJ_DECL(pj_status_t) pjsip_tx_data_create( pjsip_tpmgr *mgr, - pjsip_tx_data **tdata ); - -/** - * Add reference counter to the transmit buffer. The reference counter controls - * the life time of the buffer, ie. when the counter reaches zero, then it - * will be destroyed. - * - * @param tdata The transmit buffer. - */ -PJ_DECL(void) pjsip_tx_data_add_ref( pjsip_tx_data *tdata ); - -/** - * Decrement reference counter of the transmit buffer. - * When the transmit buffer is no longer used, it will be destroyed and - * caller is informed with PJSIP_EBUFDESTROYED return status. - * - * @param tdata The transmit buffer data. - * @return This function will always succeeded eventhough the return - * status is non-zero. A status PJSIP_EBUFDESTROYED will be - * returned to inform that buffer is destroyed. - */ -PJ_DECL(pj_status_t) pjsip_tx_data_dec_ref( pjsip_tx_data *tdata ); - -/** - * Print the SIP message to transmit data buffer's internal buffer. This - * may allocate memory for the buffer, if the buffer has not been allocated - * yet, and encode the SIP message to that buffer. - * - * @param tdata The transmit buffer. - * - * @return PJ_SUCCESS on success of the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_tx_data_encode(pjsip_tx_data *tdata); - -/** - * Check if transmit data buffer contains a valid message. - * - * @param tdata The transmit buffer. - * @return Non-zero (PJ_TRUE) if buffer contains a valid message. - */ -PJ_DECL(pj_bool_t) pjsip_tx_data_is_valid( pjsip_tx_data *tdata ); - -/** - * Invalidate the print buffer to force message to be re-printed. Call - * when the message has changed after it has been printed to buffer. The - * message is printed to buffer normally by transport when it is about to be - * sent to the wire. Subsequent sending of the message will not cause - * the message to be re-printed, unless application invalidates the buffer - * by calling this function. - * - * @param tdata The transmit buffer. - */ -PJ_DECL(void) pjsip_tx_data_invalidate_msg( pjsip_tx_data *tdata ); - -/** - * Get short printable info about the transmit data. This will normally return - * short information about the message. - * - * @param tdata The transmit buffer. - * - * @return Null terminated info string. - */ -PJ_DECL(char*) pjsip_tx_data_get_info( pjsip_tx_data *tdata ); - -/** - * Set the explicit transport to be used when sending this transmit data. - * Application should not need to call this function, but rather use - * pjsip_tsx_set_transport() and pjsip_dlg_set_transport() instead (which - * will call this function). - * - * @param tdata The transmit buffer. - * @param sel Transport selector. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_tx_data_set_transport(pjsip_tx_data *tdata, - const pjsip_tpselector *sel); - - -/***************************************************************************** - * - * TRANSPORT - * - *****************************************************************************/ -/** - * Type of callback to receive transport operation status. - */ -typedef void (*pjsip_transport_callback)(pjsip_transport *tp, void *token, - pj_ssize_t sent_bytes); - -/** - * This structure describes transport key to be registered to hash table. - */ -typedef struct pjsip_transport_key -{ - /** - * Transport type. - */ - long type; - - /** - * Destination address. - */ - pj_sockaddr rem_addr; - -} pjsip_transport_key; - - -/** - * Enumeration of transport direction types. - */ -typedef enum pjsip_transport_dir -{ - PJSIP_TP_DIR_NONE, /**< Direction not set, normally used by - connectionless transports such as - UDP transport. */ - PJSIP_TP_DIR_OUTGOING, /**< Outgoing connection or client mode, - this is only for connection-oriented - transports. */ - PJSIP_TP_DIR_INCOMING, /**< Incoming connection or server mode, - this is only for connection-oriented - transports. */ -} pjsip_transport_dir; - - -/** - * This structure represent the "public" interface of a SIP transport. - * Applications normally extend this structure to include transport - * specific members. - */ -struct pjsip_transport -{ - char obj_name[PJ_MAX_OBJ_NAME]; /**< Name. */ - - pj_pool_t *pool; /**< Pool used by transport. */ - pj_atomic_t *ref_cnt; /**< Reference counter. */ - pj_lock_t *lock; /**< Lock object. */ - pj_bool_t tracing; /**< Tracing enabled? */ - pj_bool_t is_shutdown; /**< Being shutdown? */ - pj_bool_t is_destroying; /**< Destroy in progress? */ - - /** Key for indexing this transport in hash table. */ - pjsip_transport_key key; - - char *type_name; /**< Type name. */ - unsigned flag; /**< #pjsip_transport_flags_e */ - char *info; /**< Transport info/description.*/ - - int addr_len; /**< Length of addresses. */ - pj_sockaddr local_addr; /**< Bound address. */ - pjsip_host_port local_name; /**< Published name (eg. STUN). */ - pjsip_host_port remote_name; /**< Remote address name. */ - pjsip_transport_dir dir; /**< Connection direction. */ - - pjsip_endpoint *endpt; /**< Endpoint instance. */ - pjsip_tpmgr *tpmgr; /**< Transport manager. */ - pj_timer_entry idle_timer; /**< Timer when ref cnt is zero.*/ - - void *data; /**< Internal transport data. */ - - /** - * Function to be called by transport manager to send SIP message. - * - * @param transport The transport to send the message. - * @param packet The buffer to send. - * @param length The length of the buffer to send. - * @param op_key Completion token, which will be supplied to - * caller when pending send operation completes. - * @param rem_addr The remote destination address. - * @param addr_len Size of remote address. - * @param callback If supplied, the callback will be called - * once a pending transmission has completed. If - * the function completes immediately (i.e. return - * code is not PJ_EPENDING), the callback will not - * be called. - * - * @return Should return PJ_SUCCESS only if data has been - * succesfully queued to operating system for - * transmission. Otherwise it may return PJ_EPENDING - * if the underlying transport can not send the - * data immediately and will send it later, which in - * this case caller doesn't have to do anything - * except wait the calback to be called, if it - * supplies one. - * Other return values indicate the error code. - */ - pj_status_t (*send_msg)(pjsip_transport *transport, - pjsip_tx_data *tdata, - const pj_sockaddr_t *rem_addr, - int addr_len, - void *token, - pjsip_transport_callback callback); - - /** - * Instruct the transport to initiate graceful shutdown procedure. - * After all objects release their reference to this transport, - * the transport will be deleted. - * - * Note that application MUST use #pjsip_transport_shutdown() instead. - * - * @param transport The transport. - * - * @return PJ_SUCCESS on success. - */ - pj_status_t (*do_shutdown)(pjsip_transport *transport); - - /** - * Forcefully destroy this transport regardless whether there are - * objects that currently use this transport. This function should only - * be called by transport manager or other internal objects (such as the - * transport itself) who know what they're doing. Application should use - * #pjsip_transport_shutdown() instead. - * - * @param transport The transport. - * - * @return PJ_SUCCESS on success. - */ - pj_status_t (*destroy)(pjsip_transport *transport); - - /* - * Application may extend this structure.. - */ -}; - - -/** - * Register a transport instance to the transport manager. This function - * is normally called by the transport instance when it is created - * by application. - * - * @param mgr The transport manager. - * @param tp The new transport to be registered. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_transport_register( pjsip_tpmgr *mgr, - pjsip_transport *tp ); - - -/** - * Start graceful shutdown procedure for this transport. After graceful - * shutdown has been initiated, no new reference can be obtained for - * the transport. However, existing objects that currently uses the - * transport may still use this transport to send and receive packets. - * - * After all objects release their reference to this transport, - * the transport will be destroyed immediately. - * - * @param tp The transport. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_transport_shutdown(pjsip_transport *tp); - -/** - * Destroy a transport when there is no object currently uses the transport. - * This function is normally called internally by transport manager or the - * transport itself. Application should use #pjsip_transport_shutdown() - * instead. - * - * @param tp The transport instance. - * - * @return PJ_SUCCESS on success or the appropriate error code. - * Some of possible errors are PJSIP_EBUSY if the - * transport's reference counter is not zero. - */ -PJ_DECL(pj_status_t) pjsip_transport_destroy( pjsip_transport *tp); - -/** - * Add reference counter to the specified transport. Any objects that wishes - * to keep the reference of the transport MUST increment the transport's - * reference counter to prevent it from being destroyed. - * - * @param tp The transport instance. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_transport_add_ref( pjsip_transport *tp ); - -/** - * Decrement reference counter of the specified transport. When an object no - * longer want to keep the reference to the transport, it must decrement the - * reference counter. When the reference counter of the transport reaches - * zero, the transport manager will start the idle timer to destroy the - * transport if no objects acquire the reference counter during the idle - * interval. - * - * @param tp The transport instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_transport_dec_ref( pjsip_transport *tp ); - - -/** - * This function is called by transport instances to report an incoming - * packet to the transport manager. The transport manager then would try to - * parse all SIP messages in the packet, and for each parsed SIP message, it - * would report the message to the SIP endpoint (#pjsip_endpoint). - * - * @param mgr The transport manager instance. - * @param rdata The receive data buffer containing the packet. The - * transport MUST fully initialize tp_info and pkt_info - * member of the rdata. - * - * @return The number of bytes successfully processed from the - * packet. If the transport is datagram oriented, the - * value will be equal to the size of the packet. For - * stream oriented transport (e.g. TCP, TLS), the value - * returned may be less than the packet size, if - * partial message is received. The transport then MUST - * keep the remainder part and report it again to - * this function once more data/packet is received. - */ -PJ_DECL(pj_ssize_t) pjsip_tpmgr_receive_packet(pjsip_tpmgr *mgr, - pjsip_rx_data *rdata); - - -/***************************************************************************** - * - * TRANSPORT FACTORY - * - *****************************************************************************/ - - -/** - * A transport factory is normally used for connection oriented transports - * (such as TCP or TLS) to create instances of transports. It registers - * a new transport type to the transport manager, and the transport manager - * would ask the factory to create a transport instance when it received - * command from application to send a SIP message using the specified - * transport type. - */ -struct pjsip_tpfactory -{ - /** This list is managed by transport manager. */ - PJ_DECL_LIST_MEMBER(struct pjsip_tpfactory); - - char obj_name[PJ_MAX_OBJ_NAME]; /**< Name. */ - - pj_pool_t *pool; /**< Owned memory pool. */ - pj_lock_t *lock; /**< Lock object. */ - - pjsip_transport_type_e type; /**< Transport type. */ - char *type_name; /**< Type string name. */ - unsigned flag; /**< Transport flag. */ - - pj_sockaddr local_addr; /**< Bound address. */ - pjsip_host_port addr_name; /**< Published name. */ - - /** - * Create new outbound connection suitable for sending SIP message - * to specified remote address. - * Note that the factory is responsible for both creating the - * transport and registering it to the transport manager. - */ - pj_status_t (*create_transport)(pjsip_tpfactory *factory, - pjsip_tpmgr *mgr, - pjsip_endpoint *endpt, - const pj_sockaddr *rem_addr, - int addr_len, - pjsip_transport **transport); - - /** - * Create new outbound connection suitable for sending SIP message - * to specified remote address by also considering outgoing SIP - * message data. - * Note that the factory is responsible for both creating the - * transport and registering it to the transport manager. - */ - pj_status_t (*create_transport2)(pjsip_tpfactory *factory, - pjsip_tpmgr *mgr, - pjsip_endpoint *endpt, - const pj_sockaddr *rem_addr, - int addr_len, - pjsip_tx_data *tdata, - pjsip_transport **transport); - - /** - * Destroy the listener. - */ - pj_status_t (*destroy)(pjsip_tpfactory *factory); - - /* - * Application may extend this structure.. - */ -}; - - - -/** - * Register a transport factory. - * - * @param mgr The transport manager. - * @param tpf Transport factory. - * - * @return PJ_SUCCESS if listener was successfully created. - */ -PJ_DECL(pj_status_t) pjsip_tpmgr_register_tpfactory(pjsip_tpmgr *mgr, - pjsip_tpfactory *tpf); - -/** - * Unregister factory. - * - * @param mgr The transport manager. - * @param tpf Transport factory. - * - * @return PJ_SUCCESS is sucessfully unregistered. - */ -PJ_DECL(pj_status_t) pjsip_tpmgr_unregister_tpfactory(pjsip_tpmgr *mgr, - pjsip_tpfactory *tpf); - - -/***************************************************************************** - * - * TRANSPORT MANAGER - * - *****************************************************************************/ - -/** - * Type of callback to be called when transport manager receives incoming - * SIP message. - * - * @param ep Endpoint. - * @param status Receiption status. - * @param rd Received packet. - */ -typedef void (*pjsip_rx_callback)(pjsip_endpoint *ep, pj_status_t status, - pjsip_rx_data *rd); - -/** - * Type of callback to be called before transport manager is about - * to transmit SIP message. - * - * @param ep Endpoint. - * @param td Transmit data. - */ -typedef pj_status_t (*pjsip_tx_callback)(pjsip_endpoint *ep, pjsip_tx_data*td); - -/** - * Create a transport manager. Normally application doesn't need to call - * this function directly, since a transport manager will be created and - * destroyed automatically by the SIP endpoint. - * - * @param pool Pool. - * @param endpt Endpoint instance. - * @param rx_cb Callback to receive incoming message. - * @param tx_cb Callback to be called before transport manager is sending - * outgoing message. - * @param p_mgr Pointer to receive the new transport manager. - * - * @return PJ_SUCCESS or the appropriate error code on error. - */ -PJ_DECL(pj_status_t) pjsip_tpmgr_create( pj_pool_t *pool, - pjsip_endpoint * endpt, - pjsip_rx_callback rx_cb, - pjsip_tx_callback tx_cb, - pjsip_tpmgr **p_mgr); - - -/** - * Find out the appropriate local address info (IP address and port) to - * advertise in Contact header based on the remote address to be - * contacted. The local address info would be the address name of the - * transport or listener which will be used to send the request. - * - * In this implementation, it will only select the transport based on - * the transport type in the request. - * - * @param tpmgr The transport manager. - * @param pool Pool to allocate memory for the IP address. - * @param type Destination address to contact. - * @param sel Optional pointer to prefered transport, if any. - * @param ip_addr Pointer to receive the IP address. - * @param port Pointer to receive the port number. - * - * @return PJ_SUCCESS, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_tpmgr_find_local_addr( pjsip_tpmgr *tpmgr, - pj_pool_t *pool, - pjsip_transport_type_e type, - const pjsip_tpselector *sel, - pj_str_t *ip_addr, - int *port); - -/** - * Return number of transports currently registered to the transport - * manager. - * - * @param mgr The transport manager. - * - * @return Number of transports. - */ -PJ_DECL(unsigned) pjsip_tpmgr_get_transport_count(pjsip_tpmgr *mgr); - - -/** - * Destroy a transport manager. Normally application doesn't need to call - * this function directly, since a transport manager will be created and - * destroyed automatically by the SIP endpoint. - * - * @param mgr The transport manager. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_tpmgr_destroy(pjsip_tpmgr *mgr); - - -/** - * Dump transport info and status to log. - * - * @param mgr The transport manager. - */ -PJ_DECL(void) pjsip_tpmgr_dump_transports(pjsip_tpmgr *mgr); - - -/***************************************************************************** - * - * PUBLIC API - * - *****************************************************************************/ - - -/** - * Find transport to be used to send message to remote destination. If no - * suitable transport is found, a new one will be created. - * - * This is an internal function since normally application doesn't have access - * to transport manager. Application should use pjsip_endpt_acquire_transport() - * instead. - * - * @param mgr The transport manager instance. - * @param type The type of transport to be acquired. - * @param remote The remote address to send message to. - * @param addr_len Length of the remote address. - * @param sel Optional pointer to transport selector instance which is - * used to find explicit transport, if required. - * @param tp Pointer to receive the transport instance, if one is found. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_tpmgr_acquire_transport(pjsip_tpmgr *mgr, - pjsip_transport_type_e type, - const pj_sockaddr_t *remote, - int addr_len, - const pjsip_tpselector *sel, - pjsip_transport **tp); - -/** - * Find suitable transport for sending SIP message to specified remote - * destination by also considering the outgoing SIP message. If no suitable - * transport is found, a new one will be created. - * - * This is an internal function since normally application doesn't have access - * to transport manager. Application should use pjsip_endpt_acquire_transport2() - * instead. - * - * @param mgr The transport manager instance. - * @param type The type of transport to be acquired. - * @param remote The remote address to send message to. - * @param addr_len Length of the remote address. - * @param sel Optional pointer to transport selector instance which is - * used to find explicit transport, if required. - * @param tdata Optional pointer to data to be sent. - * @param tp Pointer to receive the transport instance, if one is found. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_tpmgr_acquire_transport2(pjsip_tpmgr *mgr, - pjsip_transport_type_e type, - const pj_sockaddr_t *remote, - int addr_len, - const pjsip_tpselector *sel, - pjsip_tx_data *tdata, - pjsip_transport **tp); - -/** - * Type of callback to receive notification when message or raw data - * has been sent. - * - * @param token The token that was given when calling the function - * to send message or raw data. - * @param tdata The transmit buffer used to send the message. - * @param bytes_sent Number of bytes sent. On success, the value will be - * positive number indicating the number of bytes sent. - * On failure, the value will be a negative number of - * the error code (i.e. bytes_sent = -status). - */ -typedef void (*pjsip_tp_send_callback)(void *token, pjsip_tx_data *tdata, - pj_ssize_t bytes_sent); - - -/** - * This is a low-level function to send a SIP message using the specified - * transport to the specified destination. - * - * @param tr The SIP transport to be used. - * @param tdata Transmit data buffer containing SIP message. - * @param addr Destination address. - * @param addr_len Length of destination address. - * @param token Arbitrary token to be returned back to callback. - * @param cb Optional callback to be called to notify caller about - * the completion status of the pending send operation. - * - * @return If the message has been sent successfully, this function - * will return PJ_SUCCESS and the callback will not be - * called. If message cannot be sent immediately, this - * function will return PJ_EPENDING, and application will - * be notified later about the completion via the callback. - * Any statuses other than PJ_SUCCESS or PJ_EPENDING - * indicates immediate failure, and in this case the - * callback will not be called. - */ -PJ_DECL(pj_status_t) pjsip_transport_send( pjsip_transport *tr, - pjsip_tx_data *tdata, - const pj_sockaddr_t *addr, - int addr_len, - void *token, - pjsip_tp_send_callback cb); - - -/** - * This is a low-level function to send raw data to a destination. - * - * See also #pjsip_endpt_send_raw() and #pjsip_endpt_send_raw_to_uri(). - * - * @param mgr Transport manager. - * @param tp_type Transport type. - * @param sel Optional pointer to transport selector instance if - * application wants to use a specific transport instance - * rather then letting transport manager finds the suitable - * transport. - * @param tdata Optional transmit data buffer to be used. If this value - * is NULL, this function will create one internally. If - * tdata is specified, this function will decrement the - * reference counter upon completion. - * @param raw_data The data to be sent. - * @param data_len The length of the data. - * @param addr Destination address. - * @param addr_len Length of destination address. - * @param token Arbitrary token to be returned back to callback. - * @param cb Optional callback to be called to notify caller about - * the completion status of the pending send operation. - * - * @return If the message has been sent successfully, this function - * will return PJ_SUCCESS and the callback will not be - * called. If message cannot be sent immediately, this - * function will return PJ_EPENDING, and application will - * be notified later about the completion via the callback. - * Any statuses other than PJ_SUCCESS or PJ_EPENDING - * indicates immediate failure, and in this case the - * callback will not be called. - */ -PJ_DECL(pj_status_t) pjsip_tpmgr_send_raw(pjsip_tpmgr *mgr, - pjsip_transport_type_e tp_type, - const pjsip_tpselector *sel, - pjsip_tx_data *tdata, - const void *raw_data, - pj_size_t data_len, - const pj_sockaddr_t *addr, - int addr_len, - void *token, - pjsip_tp_send_callback cb); - - -/** - * Enumeration of transport state types. - */ -typedef enum pjsip_transport_state -{ - PJSIP_TP_STATE_CONNECTED, /**< Transport connected, applicable only - to connection-oriented transports - such as TCP and TLS. */ - PJSIP_TP_STATE_DISCONNECTED /**< Transport disconnected, applicable - only to connection-oriented - transports such as TCP and TLS. */ -} pjsip_transport_state; - - -/** - * Definition of transport state listener key. - */ -typedef void pjsip_tp_state_listener_key; - -/** - * Structure of transport state info passed by #pjsip_tp_state_callback. - */ -typedef struct pjsip_transport_state_info { - /** - * The last error code related to the transport state. - */ - pj_status_t status; - - /** - * Optional extended info, the content is specific for each transport type. - */ - void *ext_info; - - /** - * Optional user data. In global transport state notification, this will - * always be NULL. - */ - void *user_data; - -} pjsip_transport_state_info; - - -/** - * Type of callback to receive transport state notifications, such as - * transport connected/disconnected. Application may shutdown the transport - * in this callback. - * - * @param tp The transport instance. - * @param state The transport state. - * @param info The transport state info. - */ -typedef void (*pjsip_tp_state_callback)( - pjsip_transport *tp, - pjsip_transport_state state, - const pjsip_transport_state_info *info); - - -/** - * Set callback of global transport state notification. The caller will be - * notified whenever the state of any transport is changed. The type of events - * are defined in #pjsip_transport_state. - * - * Note that this function will override the existing callback, if any, so - * application is recommended to keep the old callback and manually forward - * the notification to the old callback, otherwise other component that - * concerns about the transport state will no longer receive transport state - * events. - * - * @param mgr Transport manager. - * @param cb Callback to be called to notify caller about transport - * state changing. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_tpmgr_set_state_cb(pjsip_tpmgr *mgr, - pjsip_tp_state_callback cb); - - -/** - * Get the callback of global transport state notification. - * - * @param mgr Transport manager. - * - * @return The transport state callback or NULL if it is not set. - */ -PJ_DECL(pjsip_tp_state_callback) pjsip_tpmgr_get_state_cb( - const pjsip_tpmgr *mgr); - - -/** - * Add a listener to the specified transport for transport state notification. - * - * @param tp The transport. - * @param cb Callback to be called to notify listener about transport - * state changing. - * @param user_data The user data. - * @param key Output key, used to remove this listener. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_transport_add_state_listener ( - pjsip_transport *tp, - pjsip_tp_state_callback cb, - void *user_data, - pjsip_tp_state_listener_key **key); - - -/** - * Remove a listener from the specified transport for transport state - * notification. - * - * @param tp The transport. - * @param key The listener key. - * @param user_data The user data, for validation purpose. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_transport_remove_state_listener ( - pjsip_transport *tp, - pjsip_tp_state_listener_key *key, - const void *user_data); - - -/** - * @} - */ - - -PJ_END_DECL - -#endif /* __PJSIP_SIP_TRANSPORT_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip/sip_transport_loop.h b/res/pjproject/pjsip/include/pjsip/sip_transport_loop.h deleted file mode 100644 index 9bb760b890..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_transport_loop.h +++ /dev/null @@ -1,147 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_TRANSPORT_LOOP_H__ -#define __PJSIP_TRANSPORT_LOOP_H__ - - -/** - * @file sip_transport_loop.h - * @brief - * Loopback transport (for debugging) - */ - - -#include - -/** - * @defgroup PJSIP_TRANSPORT_LOOP Loop Transport - * @ingroup PJSIP_TRANSPORT - * @brief Loopback transport (for testing purposes). - * @{ - * The loopback transport simply bounce back outgoing messages as - * incoming messages. This feature is used mostly during automated - * testing, to provide controlled behavior. - */ - -PJ_BEGIN_DECL - -/** - * Create and start datagram loop transport. - * - * @param endpt The endpoint instance. - * @param transport Pointer to receive the transport instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_loop_start( pjsip_endpoint *endpt, - pjsip_transport **transport); - - -/** - * Enable/disable flag to discard any packets sent using the specified - * loop transport. - * - * @param tp The loop transport. - * @param discard If non-zero, any outgoing packets will be discarded. - * @param prev_value Optional argument to receive previous value of - * the discard flag. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_loop_set_discard( pjsip_transport *tp, - pj_bool_t discard, - pj_bool_t *prev_value ); - - -/** - * Enable/disable flag to simulate network error. When this flag is set, - * outgoing transmission will return either immediate error or error via - * callback. If error is to be notified via callback, then the notification - * will occur after some delay, which is controlled by #pjsip_loop_set_delay(). - * - * @param tp The loop transport. - * @param fail_flag If set to 1, the transport will return fail to deliver - * the message. If delay is zero, failure will occur - * immediately; otherwise it will be reported in callback. - * If set to zero, the transport will successfully deliver - * the packet. - * @param prev_value Optional argument to receive previous value of - * the failure flag. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_loop_set_failure( pjsip_transport *tp, - int fail_flag, - int *prev_value ); - - -/** - * Set delay (in miliseconds) before packet is received by the other end - * of the loop transport. This will also - * control the delay for error notification callback. - * - * @param tp The loop transport. - * @param delay Delay, in miliseconds. - * @param prev_value Optional argument to receive previous value of the - * delay. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_loop_set_recv_delay( pjsip_transport *tp, - unsigned delay, - unsigned *prev_value); - - -/** - * Set delay (in miliseconds) before send notification is delivered to sender. - * This will also control the delay for error notification callback. - * - * @param tp The loop transport. - * @param delay Delay, in miliseconds. - * @param prev_value Optional argument to receive previous value of the - * delay. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_loop_set_send_callback_delay( pjsip_transport *tp, - unsigned delay, - unsigned *prev_value); - - -/** - * Set both receive and send notification delay. - * - * @param tp The loop transport. - * @param delay Delay, in miliseconds. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_loop_set_delay( pjsip_transport *tp, - unsigned delay ); - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJSIP_TRANSPORT_LOOP_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip/sip_transport_tcp.h b/res/pjproject/pjsip/include/pjsip/sip_transport_tcp.h deleted file mode 100644 index fc4940e38f..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_transport_tcp.h +++ /dev/null @@ -1,210 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_TRANSPORT_TCP_H__ -#define __PJSIP_TRANSPORT_TCP_H__ - -/** - * @file sip_transport_tcp.h - * @brief SIP TCP Transport. - */ - -#include -#include - - -/* Only declare the API if PJ_HAS_TCP is true */ -#if defined(PJ_HAS_TCP) && PJ_HAS_TCP!=0 - - -PJ_BEGIN_DECL - -/** - * @defgroup PJSIP_TRANSPORT_TCP TCP Transport - * @ingroup PJSIP_TRANSPORT - * @brief API to create and register TCP transport. - * @{ - * The functions below are used to create TCP transport and register - * the transport to the framework. - */ - -/** - * Settings to be specified when creating the TCP transport. Application - * should initialize this structure with its default values by calling - * pjsip_tcp_transport_cfg_default(). - */ -typedef struct pjsip_tcp_transport_cfg -{ - /** - * Address family to use. Valid values are pj_AF_INET() and - * pj_AF_INET6(). Default is pj_AF_INET(). - */ - int af; - - /** - * Optional address to bind the socket to. Default is to bind to - * PJ_INADDR_ANY and to any available port. - */ - pj_sockaddr bind_addr; - - /** - * Optional published address, which is the address to be - * advertised as the address of this SIP transport. - * By default the bound address will be used as the published address. - */ - pjsip_host_port addr_name; - - /** - * Number of simultaneous asynchronous accept() operations to be - * supported. It is recommended that the number here corresponds to - * the number of processors in the system (or the number of SIP - * worker threads). - * - * Default: 1 - */ - unsigned async_cnt; - - /** - * QoS traffic type to be set on this transport. When application wants - * to apply QoS tagging to the transport, it's preferable to set this - * field rather than \a qos_param fields since this is more portable. - * - * Default is QoS not set. - */ - pj_qos_type qos_type; - - /** - * Set the low level QoS parameters to the transport. This is a lower - * level operation than setting the \a qos_type field and may not be - * supported on all platforms. - * - * Default is QoS not set. - */ - pj_qos_params qos_params; - -} pjsip_tcp_transport_cfg; - - -/** - * Initialize pjsip_tcp_transport_cfg structure with default values for - * the specifed address family. - * - * @param cfg The structure to initialize. - * @param af Address family to be used. - */ -PJ_DECL(void) pjsip_tcp_transport_cfg_default(pjsip_tcp_transport_cfg *cfg, - int af); - - -/** - * Register support for SIP TCP transport by creating TCP listener on - * the specified address and port. This function will create an - * instance of SIP TCP transport factory and register it to the - * transport manager. - * - * @param endpt The SIP endpoint. - * @param local Optional local address to bind, or specify the - * address to bind the server socket to. Both IP - * interface address and port fields are optional. - * If IP interface address is not specified, socket - * will be bound to PJ_INADDR_ANY. If port is not - * specified, socket will be bound to any port - * selected by the operating system. - * @param async_cnt Number of simultaneous asynchronous accept() - * operations to be supported. It is recommended that - * the number here corresponds to the number of - * processors in the system (or the number of SIP - * worker threads). - * @param p_factory Optional pointer to receive the instance of the - * SIP TCP transport factory just created. - * - * @return PJ_SUCCESS when the transport has been successfully - * started and registered to transport manager, or - * the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_tcp_transport_start(pjsip_endpoint *endpt, - const pj_sockaddr_in *local, - unsigned async_cnt, - pjsip_tpfactory **p_factory); - - - -/** - * A newer variant of #pjsip_tcp_transport_start(), which allows specifying - * the published/public address of the TCP transport. - * - * @param endpt The SIP endpoint. - * @param local Optional local address to bind, or specify the - * address to bind the server socket to. Both IP - * interface address and port fields are optional. - * If IP interface address is not specified, socket - * will be bound to PJ_INADDR_ANY. If port is not - * specified, socket will be bound to any port - * selected by the operating system. - * @param a_name Optional published address, which is the address to be - * advertised as the address of this SIP transport. - * If this argument is NULL, then the bound address - * will be used as the published address. - * @param async_cnt Number of simultaneous asynchronous accept() - * operations to be supported. It is recommended that - * the number here corresponds to the number of - * processors in the system (or the number of SIP - * worker threads). - * @param p_factory Optional pointer to receive the instance of the - * SIP TCP transport factory just created. - * - * @return PJ_SUCCESS when the transport has been successfully - * started and registered to transport manager, or - * the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_tcp_transport_start2(pjsip_endpoint *endpt, - const pj_sockaddr_in *local, - const pjsip_host_port *a_name, - unsigned async_cnt, - pjsip_tpfactory **p_factory); - -/** - * Another variant of #pjsip_tcp_transport_start(). - * - * @param endpt The SIP endpoint. - * @param cfg TCP transport settings. Application should initialize - * this setting with #pjsip_tcp_transport_cfg_default(). - * @param p_factory Optional pointer to receive the instance of the - * SIP TCP transport factory just created. - * - * @return PJ_SUCCESS when the transport has been successfully - * started and registered to transport manager, or - * the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_tcp_transport_start3( - pjsip_endpoint *endpt, - const pjsip_tcp_transport_cfg *cfg, - pjsip_tpfactory **p_factory - ); - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* PJ_HAS_TCP */ - -#endif /* __PJSIP_TRANSPORT_TCP_H__ */ diff --git a/res/pjproject/pjsip/include/pjsip/sip_transport_tls.h b/res/pjproject/pjsip/include/pjsip/sip_transport_tls.h deleted file mode 100644 index ae823f36bf..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_transport_tls.h +++ /dev/null @@ -1,305 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_TRANSPORT_TLS_H__ -#define __PJSIP_TRANSPORT_TLS_H__ - -/** - * @file sip_transport_tls.h - * @brief SIP TLS Transport. - */ - -#include -#include -#include -#include -#include - - -PJ_BEGIN_DECL - -/** - * @defgroup PJSIP_TRANSPORT_TLS TLS Transport - * @ingroup PJSIP_TRANSPORT - * @brief API to create and register TLS transport. - * @{ - * The functions below are used to create TLS transport and register - * the transport to the framework. - */ - -/** - * The default SSL method to be used by PJSIP. - * Default is PJSIP_TLSV1_METHOD - */ -#ifndef PJSIP_SSL_DEFAULT_METHOD -# define PJSIP_SSL_DEFAULT_METHOD PJSIP_TLSV1_METHOD -#endif - -/** SSL protocol method constants. */ -typedef enum pjsip_ssl_method -{ - PJSIP_SSL_UNSPECIFIED_METHOD= 0, /**< Default protocol method. */ - PJSIP_TLSV1_METHOD = 31, /**< Use SSLv1 method. */ - PJSIP_SSLV2_METHOD = 20, /**< Use SSLv2 method. */ - PJSIP_SSLV3_METHOD = 30, /**< Use SSLv3 method. */ - PJSIP_SSLV23_METHOD = 23 /**< Use SSLv23 method. */ -} pjsip_ssl_method; - - - - -/** - * TLS transport settings. - */ -typedef struct pjsip_tls_setting -{ - /** - * Certificate of Authority (CA) list file. - */ - pj_str_t ca_list_file; - - /** - * Public endpoint certificate file, which will be used as client- - * side certificate for outgoing TLS connection, and server-side - * certificate for incoming TLS connection. - */ - pj_str_t cert_file; - - /** - * Optional private key of the endpoint certificate to be used. - */ - pj_str_t privkey_file; - - /** - * Password to open private key. - */ - pj_str_t password; - - /** - * TLS protocol method from #pjsip_ssl_method, which can be: - * - PJSIP_SSL_UNSPECIFIED_METHOD(0): default (which will use - * PJSIP_SSL_DEFAULT_METHOD) - * - PJSIP_TLSV1_METHOD(1): TLSv1 - * - PJSIP_SSLV2_METHOD(2): SSLv2 - * - PJSIP_SSLV3_METHOD(3): SSL3 - * - PJSIP_SSLV23_METHOD(23): SSL23 - * - * Default is PJSIP_SSL_UNSPECIFIED_METHOD (0), which in turn will - * use PJSIP_SSL_DEFAULT_METHOD, which default value is - * PJSIP_TLSV1_METHOD. - */ - int method; - - /** - * Number of ciphers contained in the specified cipher preference. - * If this is set to zero, then default cipher list of the backend - * will be used. - * - * Default: 0 (zero). - */ - unsigned ciphers_num; - - /** - * Ciphers and order preference. The #pj_ssl_cipher_get_availables() - * can be used to check the available ciphers supported by backend. - */ - pj_ssl_cipher *ciphers; - - /** - * Specifies TLS transport behavior on the server TLS certificate - * verification result: - * - If \a verify_server is disabled (set to PJ_FALSE), TLS transport - * will just notify the application via #pjsip_tp_state_callback with - * state PJSIP_TP_STATE_CONNECTED regardless TLS verification result. - * - If \a verify_server is enabled (set to PJ_TRUE), TLS transport - * will be shutdown and application will be notified with state - * PJSIP_TP_STATE_DISCONNECTED whenever there is any TLS verification - * error, otherwise PJSIP_TP_STATE_CONNECTED will be notified. - * - * In any cases, application can inspect #pjsip_tls_state_info in the - * callback to see the verification detail. - * - * Default value is PJ_FALSE. - */ - pj_bool_t verify_server; - - /** - * Specifies TLS transport behavior on the client TLS certificate - * verification result: - * - If \a verify_client is disabled (set to PJ_FALSE), TLS transport - * will just notify the application via #pjsip_tp_state_callback with - * state PJSIP_TP_STATE_CONNECTED regardless TLS verification result. - * - If \a verify_client is enabled (set to PJ_TRUE), TLS transport - * will be shutdown and application will be notified with state - * PJSIP_TP_STATE_DISCONNECTED whenever there is any TLS verification - * error, otherwise PJSIP_TP_STATE_CONNECTED will be notified. - * - * In any cases, application can inspect #pjsip_tls_state_info in the - * callback to see the verification detail. - * - * Default value is PJ_FALSE. - */ - pj_bool_t verify_client; - - /** - * When acting as server (incoming TLS connections), reject inocming - * connection if client doesn't supply a TLS certificate. - * - * This setting corresponds to SSL_VERIFY_FAIL_IF_NO_PEER_CERT flag. - * Default value is PJ_FALSE. - */ - pj_bool_t require_client_cert; - - /** - * TLS negotiation timeout to be applied for both outgoing and - * incoming connection. If both sec and msec member is set to zero, - * the SSL negotiation doesn't have a timeout. - */ - pj_time_val timeout; - - /** - * QoS traffic type to be set on this transport. When application wants - * to apply QoS tagging to the transport, it's preferable to set this - * field rather than \a qos_param fields since this is more portable. - * - * Default value is PJ_QOS_TYPE_BEST_EFFORT. - */ - pj_qos_type qos_type; - - /** - * Set the low level QoS parameters to the transport. This is a lower - * level operation than setting the \a qos_type field and may not be - * supported on all platforms. - * - * By default all settings in this structure are disabled. - */ - pj_qos_params qos_params; - - /** - * Specify if the transport should ignore any errors when setting the QoS - * traffic type/parameters. - * - * Default: PJ_TRUE - */ - pj_bool_t qos_ignore_error; - -} pjsip_tls_setting; - - -/** - * This structure defines TLS transport extended info in ext_info - * field of #pjsip_transport_state_info for the transport state notification - * callback #pjsip_tp_state_callback. - */ -typedef struct pjsip_tls_state_info -{ - /** - * SSL socket info. - */ - pj_ssl_sock_info *ssl_sock_info; - -} pjsip_tls_state_info; - - -/** - * Initialize TLS setting with default values. - * - * @param tls_opt The TLS setting to be initialized. - */ -PJ_INLINE(void) pjsip_tls_setting_default(pjsip_tls_setting *tls_opt) -{ - pj_memset(tls_opt, 0, sizeof(*tls_opt)); - tls_opt->qos_type = PJ_QOS_TYPE_BEST_EFFORT; - tls_opt->qos_ignore_error = PJ_TRUE; -} - - -/** - * Copy TLS setting. - * - * @param pool The pool to duplicate strings etc. - * @param dst Destination structure. - * @param src Source structure. - */ -PJ_INLINE(void) pjsip_tls_setting_copy(pj_pool_t *pool, - pjsip_tls_setting *dst, - const pjsip_tls_setting *src) -{ - pj_memcpy(dst, src, sizeof(*dst)); - pj_strdup_with_null(pool, &dst->ca_list_file, &src->ca_list_file); - pj_strdup_with_null(pool, &dst->cert_file, &src->cert_file); - pj_strdup_with_null(pool, &dst->privkey_file, &src->privkey_file); - pj_strdup_with_null(pool, &dst->password, &src->password); - if (src->ciphers_num) { - unsigned i; - dst->ciphers = (pj_ssl_cipher*) pj_pool_calloc(pool, src->ciphers_num, - sizeof(pj_ssl_cipher)); - for (i=0; iciphers_num; ++i) - dst->ciphers[i] = src->ciphers[i]; - } -} - - -/** - * Register support for SIP TLS transport by creating TLS listener on - * the specified address and port. This function will create an - * instance of SIP TLS transport factory and register it to the - * transport manager. - * - * @param endpt The SIP endpoint. - * @param opt Optional TLS settings. - * @param local Optional local address to bind, or specify the - * address to bind the server socket to. Both IP - * interface address and port fields are optional. - * If IP interface address is not specified, socket - * will be bound to PJ_INADDR_ANY. If port is not - * specified, socket will be bound to any port - * selected by the operating system. - * @param a_name Optional published address, which is the address to be - * advertised as the address of this SIP transport. - * If this argument is NULL, then the bound address - * will be used as the published address. - * @param async_cnt Number of simultaneous asynchronous accept() - * operations to be supported. It is recommended that - * the number here corresponds to the number of - * processors in the system (or the number of SIP - * worker threads). - * @param p_factory Optional pointer to receive the instance of the - * SIP TLS transport factory just created. - * - * @return PJ_SUCCESS when the transport has been successfully - * started and registered to transport manager, or - * the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_tls_transport_start(pjsip_endpoint *endpt, - const pjsip_tls_setting *opt, - const pj_sockaddr_in *local, - const pjsip_host_port *a_name, - unsigned async_cnt, - pjsip_tpfactory **p_factory); - - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJSIP_TRANSPORT_TLS_H__ */ diff --git a/res/pjproject/pjsip/include/pjsip/sip_transport_udp.h b/res/pjproject/pjsip/include/pjsip/sip_transport_udp.h deleted file mode 100644 index 27c643a740..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_transport_udp.h +++ /dev/null @@ -1,235 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_TRANSPORT_UDP_H__ -#define __PJSIP_TRANSPORT_UDP_H__ - -/** - * @file sip_transport_udp.h - * @brief SIP UDP Transport. - */ - -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJSIP_TRANSPORT_UDP UDP Transport - * @ingroup PJSIP_TRANSPORT - * @brief API to create and register UDP transport. - * @{ - * The functions below are used to create UDP transport and register - * the transport to the framework. - */ - -/** - * Flag that can be specified when calling #pjsip_udp_transport_pause() or - * #pjsip_udp_transport_restart(). - */ -enum -{ - /** - * This flag tells the transport to keep the existing/internal socket - * handle. - */ - PJSIP_UDP_TRANSPORT_KEEP_SOCKET = 1, - - /** - * This flag tells the transport to destroy the existing/internal socket - * handle. Naturally this flag and PJSIP_UDP_TRANSPORT_KEEP_SOCKET are - * mutually exclusive. - */ - PJSIP_UDP_TRANSPORT_DESTROY_SOCKET = 2 -}; - - -/** - * Start UDP transport. - * - * @param endpt The SIP endpoint. - * @param local Optional local address to bind. If this argument - * is NULL, the UDP transport will be bound to arbitrary - * UDP port. - * @param a_name Published address (only the host and port portion is - * used). If this argument is NULL, then the bound address - * will be used as the published address. - * @param async_cnt Number of simultaneous async operations. - * @param p_transport Pointer to receive the transport. - * - * @return PJ_SUCCESS when the transport has been successfully - * started and registered to transport manager, or - * the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_udp_transport_start(pjsip_endpoint *endpt, - const pj_sockaddr_in *local, - const pjsip_host_port *a_name, - unsigned async_cnt, - pjsip_transport **p_transport); - -/** - * Start IPv6 UDP transport. - */ -PJ_DECL(pj_status_t) pjsip_udp_transport_start6(pjsip_endpoint *endpt, - const pj_sockaddr_in6 *local, - const pjsip_host_port *a_name, - unsigned async_cnt, - pjsip_transport **p_transport); - - -/** - * Attach IPv4 UDP socket as a new transport and start the transport. - * - * @param endpt The SIP endpoint. - * @param sock UDP socket to use. - * @param a_name Published address (only the host and port portion is - * used). - * @param async_cnt Number of simultaneous async operations. - * @param p_transport Pointer to receive the transport. - * - * @return PJ_SUCCESS when the transport has been successfully - * started and registered to transport manager, or - * the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_udp_transport_attach(pjsip_endpoint *endpt, - pj_sock_t sock, - const pjsip_host_port *a_name, - unsigned async_cnt, - pjsip_transport **p_transport); - - -/** - * Attach IPv4 or IPv6 UDP socket as a new transport and start the transport. - * - * @param endpt The SIP endpoint. - * @param type Transport type, which is PJSIP_TRANSPORT_UDP for IPv4 - * or PJSIP_TRANSPORT_UDP6 for IPv6 socket. - * @param sock UDP socket to use. - * @param a_name Published address (only the host and port portion is - * used). - * @param async_cnt Number of simultaneous async operations. - * @param p_transport Pointer to receive the transport. - * - * @return PJ_SUCCESS when the transport has been successfully - * started and registered to transport manager, or - * the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_udp_transport_attach2(pjsip_endpoint *endpt, - pjsip_transport_type_e type, - pj_sock_t sock, - const pjsip_host_port *a_name, - unsigned async_cnt, - pjsip_transport **p_transport); - -/** - * Retrieve the internal socket handle used by the UDP transport. Note - * that this socket normally is registered to ioqueue, so if application - * wants to make use of this socket, it should temporarily pause the - * transport. - * - * @param transport The UDP transport. - * - * @return The socket handle, or PJ_INVALID_SOCKET if no socket - * is currently being used (for example, when transport - * is being paused). - */ -PJ_DECL(pj_sock_t) pjsip_udp_transport_get_socket(pjsip_transport *transport); - - -/** - * Temporarily pause or shutdown the transport. When transport is being - * paused, it cannot be used by the SIP stack to send or receive SIP - * messages. - * - * Two types of operations are supported by this function: - * - to temporarily make this transport unavailable for SIP uses, but - * otherwise keep the socket handle intact. Application then can - * retrieve the socket handle with #pjsip_udp_transport_get_socket() - * and use it to send/receive application data (for example, STUN - * messages). In this case, application should specify - * PJSIP_UDP_TRANSPORT_KEEP_SOCKET when calling this function, and - * also to specify this flag when calling #pjsip_udp_transport_restart() - * later. - * - to temporarily shutdown the transport, including closing down - * the internal socket handle. This is useful for example to - * temporarily suspend the application for an indefinite period. In - * this case, application should specify PJSIP_UDP_TRANSPORT_DESTROY_SOCKET - * flag when calling this function, and specify a new socket when - * calling #pjsip_udp_transport_restart(). - * - * @param transport The UDP transport. - * @param option Pause option. - * - * @return PJ_SUCCESS if transport is paused successfully, - * or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_udp_transport_pause(pjsip_transport *transport, - unsigned option); - -/** - * Restart the transport. Several operations are supported by this function: - * - if transport was made temporarily unavailable to SIP stack with - * pjsip_udp_transport_pause() and PJSIP_UDP_TRANSPORT_KEEP_SOCKET, - * application can make the transport available to the SIP stack - * again, by specifying PJSIP_UDP_TRANSPORT_KEEP_SOCKET flag here. - * - if application wants to replace the internal socket with a new - * socket, it must specify PJSIP_UDP_TRANSPORT_DESTROY_SOCKET when - * calling this function, so that the internal socket will be destroyed - * if it hasn't been closed. In this case, application has two choices - * on how to create the new socket: 1) to let the transport create - * the new socket, in this case the \a sock option should be set - * to \a PJ_INVALID_SOCKET and optionally the \a local parameter can be - * filled with the desired address and port where the new socket - * should be bound to, or 2) to specify its own socket to be used - * by this transport, by specifying a valid socket in \a sock argument - * and set the \a local argument to NULL. In both cases, application - * may specify the published address of the socket in \a a_name - * argument. - * - * @param transport The UDP transport. - * @param option Restart option. - * @param sock Optional socket to be used by the transport. - * @param local The address where the socket should be bound to. - * If this argument is NULL, socket will be bound - * to any available port. - * @param a_name Optionally specify the published address for - * this transport. If the socket is not replaced - * (PJSIP_UDP_TRANSPORT_KEEP_SOCKET flag is - * specified), then if this argument is NULL, the - * previous value will be used. If the socket is - * replaced and this argument is NULL, the bound - * address will be used as the published address - * of the transport. - * - * @return PJ_SUCCESS if transport can be restarted, or - * the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_udp_transport_restart(pjsip_transport *transport, - unsigned option, - pj_sock_t sock, - const pj_sockaddr_in *local, - const pjsip_host_port *a_name); - - -PJ_END_DECL - -/** - * @} - */ - -#endif /* __PJSIP_TRANSPORT_UDP_H__ */ diff --git a/res/pjproject/pjsip/include/pjsip/sip_types.h b/res/pjproject/pjsip/include/pjsip/sip_types.h deleted file mode 100644 index 2d863be076..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_types.h +++ /dev/null @@ -1,257 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIP_TYPES_H__ -#define __PJSIP_SIP_TYPES_H__ - - -/* - * My note: Doxygen PJSIP and PJSIP_CORE group is declared in - * sip_config.h - */ - -/** - * @file sip_types.h - * @brief Basic PJSIP types. - */ - -#include -#include - -/** - * @addtogroup PJSIP_BASE - */ - -/* @defgroup PJSIP_TYPES Basic Data Types - * @ingroup PJSIP_BASE - * @brief Basic data types. - * @{ - */ - - - -/** - * Forward declaration for SIP transport. - */ -typedef struct pjsip_transport pjsip_transport; - -/** - * Forward declaration for transport manager. - */ -typedef struct pjsip_tpmgr pjsip_tpmgr; - -/** - * Transport types. - */ -typedef enum pjsip_transport_type_e -{ - /** Unspecified. */ - PJSIP_TRANSPORT_UNSPECIFIED, - - /** UDP. */ - PJSIP_TRANSPORT_UDP, - - /** TCP. */ - PJSIP_TRANSPORT_TCP, - - /** TLS. */ - PJSIP_TRANSPORT_TLS, - - /** SCTP. */ - PJSIP_TRANSPORT_SCTP, - - /** Loopback (stream, reliable) */ - PJSIP_TRANSPORT_LOOP, - - /** Loopback (datagram, unreliable) */ - PJSIP_TRANSPORT_LOOP_DGRAM, - - /** Start of user defined transport */ - PJSIP_TRANSPORT_START_OTHER, - - /** Start of IPv6 transports */ - PJSIP_TRANSPORT_IPV6 = 128, - - /** UDP over IPv6 */ - PJSIP_TRANSPORT_UDP6 = PJSIP_TRANSPORT_UDP + PJSIP_TRANSPORT_IPV6, - - /** TCP over IPv6 */ - PJSIP_TRANSPORT_TCP6 = PJSIP_TRANSPORT_TCP + PJSIP_TRANSPORT_IPV6 - -} pjsip_transport_type_e; - - -/** - * Forward declaration for endpoint (sip_endpoint.h). - */ -typedef struct pjsip_endpoint pjsip_endpoint; - -/** - * Forward declaration for transactions (sip_transaction.h). - */ -typedef struct pjsip_transaction pjsip_transaction; - -/** - * Forward declaration for events (sip_event.h). - */ -typedef struct pjsip_event pjsip_event; - -/** - * Forward declaration for transmit data/buffer (sip_transport.h). - */ -typedef struct pjsip_tx_data pjsip_tx_data; - -/** - * Forward declaration for receive data/buffer (sip_transport.h). - */ -typedef struct pjsip_rx_data pjsip_rx_data; - -/** - * Forward declaration for message (sip_msg.h). - */ -typedef struct pjsip_msg pjsip_msg; - -/** - * Forward declaration for message body (sip_msg.h). - */ -typedef struct pjsip_msg_body pjsip_msg_body; - -/** - * Forward declaration for header field (sip_msg.h). - */ -typedef struct pjsip_hdr pjsip_hdr; - -/** - * Forward declaration for URI (sip_uri.h). - */ -typedef struct pjsip_uri pjsip_uri; - -/** - * Forward declaration for SIP method (sip_msg.h) - */ -typedef struct pjsip_method pjsip_method; - -/** - * Opaque data type for the resolver engine (sip_resolve.h). - */ -typedef struct pjsip_resolver_t pjsip_resolver_t; - -/** - * Forward declaration for credential. - */ -typedef struct pjsip_cred_info pjsip_cred_info; - - -/** - * Forward declaration for module (sip_module.h). - */ -typedef struct pjsip_module pjsip_module; - - -/** - * Forward declaration for user agent type (sip_ua_layer.h). - */ -typedef pjsip_module pjsip_user_agent; - -/** - * Forward declaration for dialog (sip_dialog.h). - */ -typedef struct pjsip_dialog pjsip_dialog; - -/** - * Transaction role. - */ -typedef enum pjsip_role_e -{ - PJSIP_ROLE_UAC, /**< Role is UAC. */ - PJSIP_ROLE_UAS, /**< Role is UAS. */ - - /* Alias: */ - - PJSIP_UAC_ROLE = PJSIP_ROLE_UAC, /**< Role is UAC. */ - PJSIP_UAS_ROLE = PJSIP_ROLE_UAS /**< Role is UAS. */ - -} pjsip_role_e; - - -/** - * General purpose buffer. - */ -typedef struct pjsip_buffer -{ - /** The start of the buffer. */ - char *start; - - /** Pointer to current end of the buffer, which also indicates the position - of subsequent buffer write. - */ - char *cur; - - /** The absolute end of the buffer. */ - char *end; - -} pjsip_buffer; - - -/** - * General host:port pair, used for example as Via sent-by. - */ -typedef struct pjsip_host_port -{ - pj_str_t host; /**< Host part or IP address. */ - int port; /**< Port number. */ -} pjsip_host_port; - -/** - * Host information. - */ -typedef struct pjsip_host_info -{ - unsigned flag; /**< Flags of pjsip_transport_flags_e. */ - pjsip_transport_type_e type; /**< Transport type. */ - pjsip_host_port addr; /**< Address information. */ -} pjsip_host_info; - - -/** - * Convert exception ID into pj_status_t status. - * - * @param exception_id Exception Id. - * - * @return Error code for the specified exception Id. - */ -PJ_DECL(pj_status_t) pjsip_exception_to_status(int exception_id); - -/** - * Return standard pj_status_t status from current exception. - */ -#define PJSIP_RETURN_EXCEPTION() pjsip_exception_to_status(PJ_GET_EXCEPTION()) - -/** - * Attributes to inform that the function may throw exceptions. - */ -#define PJSIP_THROW_SPEC(list) - - -/** - * @} - */ - -#endif /* __PJSIP_SIP_TYPES_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip/sip_ua_layer.h b/res/pjproject/pjsip/include/pjsip/sip_ua_layer.h deleted file mode 100644 index d1df5b2562..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_ua_layer.h +++ /dev/null @@ -1,162 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIP_UA_LAYER_H__ -#define __PJSIP_SIP_UA_LAYER_H__ - -/** - * @file sip_ua_layer.h - * @brief SIP User Agent Layer Module - */ -#include - - -PJ_BEGIN_DECL - -/** - * @defgroup PJSIP_UA Base User Agent Layer/Common Dialog Layer - * @brief Dialog management. - * - * This module provides basic dialog management, which is used by higher - * layer dialog usages such as INVITE sessions and SIP Event Subscription - * framework (RFC 3265). Application should link with pjsip-core - * library to use this base UA layer. The base UA layer module is initialized - * with #pjsip_ua_init_module(). - */ - -/** - * @defgroup PJSUA_UA SIP User Agent Module - * @ingroup PJSIP_UA - * @brief Provides dialog management. - * @{ - * - * Application MUST initialize the user agent layer module by calling - * #pjsip_ua_init_module() before using any of the dialog API, and link - * the application with with pjsip-core library. - */ - -/** User agent initialization parameter. */ -typedef struct pjsip_ua_init_param -{ - /** Callback to be called when the UA layer detects that outgoing - * dialog has forked. - */ - pjsip_dialog* (*on_dlg_forked)(pjsip_dialog *first_set, pjsip_rx_data *res); -} pjsip_ua_init_param; - -/** - * Initialize user agent layer and register it to the specified endpoint. - * - * @param endpt The endpoint where the user agent will be - * registered. - * @param prm UA initialization parameter. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_ua_init_module(pjsip_endpoint *endpt, - const pjsip_ua_init_param *prm); - -/** - * Get the instance of the user agent. - * - * @return The user agent module instance. - */ -PJ_DECL(pjsip_user_agent*) pjsip_ua_instance(void); - - -/** - * Retrieve the current number of dialog-set currently registered - * in the hash table. Note that dialog-set is different than dialog - * when the request forks. In this case, all dialogs created from - * the original request will belong to the same dialog set. When - * no forking occurs, the number of dialog sets will be equal to - * the number of dialogs. - * - * @return Number of dialog sets. - */ -PJ_DECL(pj_uint32_t) pjsip_ua_get_dlg_set_count(void); - - -/** - * Find a dialog with the specified Call-ID and tags properties. This - * function may optionally lock the matching dialog instance before - * returning it back to the caller. - * - * @param call_id The call ID to be matched. - * @param local_tag The local tag to be matched. - * @param remote_tag The remote tag to be matched. - * @param lock_dialog If non-zero, instruct the function to lock the - * matching dialog with #pjsip_dlg_inc_lock(). - * Application is responsible to release the dialog's - * lock after it has finished manipulating the dialog, - * by calling #pjsip_dlg_dec_lock(). - * - * @return The matching dialog instance, or NULL if no matching - * dialog is found. - */ -PJ_DECL(pjsip_dialog*) pjsip_ua_find_dialog(const pj_str_t *call_id, - const pj_str_t *local_tag, - const pj_str_t *remote_tag, - pj_bool_t lock_dialog); - -/** - * Destroy the user agent layer. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_ua_destroy(void); - -/** - * Dump user agent contents (e.g. all dialogs). - * - * @param detail If non-zero, list of dialogs will be printed. - */ -PJ_DECL(void) pjsip_ua_dump(pj_bool_t detail); - -/** - * Get the endpoint instance of a user agent module. - * - * @param ua The user agent instance. - * - * @return The endpoint instance where the user agent is - * registered. - */ -PJ_DECL(pjsip_endpoint*) pjsip_ua_get_endpt(pjsip_user_agent *ua); - - -/** - * @} - */ - - -/* - * Internal (called by sip_dialog.c). - */ - -PJ_DECL(pj_status_t) pjsip_ua_register_dlg( pjsip_user_agent *ua, - pjsip_dialog *dlg ); -PJ_DECL(pj_status_t) pjsip_ua_unregister_dlg(pjsip_user_agent *ua, - pjsip_dialog *dlg ); - - -PJ_END_DECL - - -#endif /* __PJSIP_SIP_UA_LAYER_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip/sip_uri.h b/res/pjproject/pjsip/include/pjsip/sip_uri.h deleted file mode 100644 index 50b3991311..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_uri.h +++ /dev/null @@ -1,468 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIP_URI_H__ -#define __PJSIP_SIP_URI_H__ - -/** - * @file sip_uri.h - * @brief SIP URL Structures and Manipulations - */ - -#include -#include -#include -#include - -PJ_BEGIN_DECL - - -/** - * @defgroup PJSIP_URI URI - * @brief URI types and manipulations. - * @ingroup PJSIP_MSG - */ - -/** - * @addtogroup PJSIP_URI_PARAM URI Parameter Container - * @ingroup PJSIP_URI - * @brief Generic parameter elements container. - * @{ - */ - -/** - * Generic parameter, normally used in other_param or header_param. - */ -typedef struct pjsip_param -{ - PJ_DECL_LIST_MEMBER(struct pjsip_param); /**< Generic list member. */ - pj_str_t name; /**< Param/header name. */ - pj_str_t value; /**< Param/header value. */ -} pjsip_param; - - -/** - * Find the specified parameter name in the list. The name will be compared - * in case-insensitive comparison. - * - * @param param_list List of parameters to find. - * @param name Parameter/header name to find. - * - * @return The parameter if found, or NULL. - */ -PJ_DECL(pjsip_param*) pjsip_param_find( const pjsip_param *param_list, - const pj_str_t *name ); - - -/** - * Alias for pjsip_param_find() - */ -PJ_INLINE(pjsip_param*) pjsip_param_cfind(const pjsip_param *param_list, - const pj_str_t *name) -{ - return pjsip_param_find(param_list, name); -} - -/** - * Compare two parameter lists. - * - * @param param_list1 First parameter list. - * @param param_list2 Second parameter list. - * @param ig_nf If set to 1, do not compare parameters that only - * appear in one of the list. - * - * @return Zero if the parameter list are equal, non-zero - * otherwise. - */ -PJ_DECL(int) pjsip_param_cmp(const pjsip_param *param_list1, - const pjsip_param *param_list2, - pj_bool_t ig_nf); - -/** - * Duplicate the parameters. - * - * @param pool Pool to allocate memory from. - * @param dst_list Destination list. - * @param src_list Source list. - */ -PJ_DECL(void) pjsip_param_clone(pj_pool_t *pool, pjsip_param *dst_list, - const pjsip_param *src_list); - -/** - * Duplicate the parameters. - * - * @param pool Pool to allocate memory from. - * @param dst_list Destination list. - * @param src_list Source list. - */ -PJ_DECL(void) pjsip_param_shallow_clone(pj_pool_t *pool, - pjsip_param *dst_list, - const pjsip_param *src_list); - -/** - * Print parameters. - * - * @param param_list The parameter list. - * @param buf Buffer. - * @param size Size of buffer. - * @param pname_unres Specification of allowed characters in pname. - * @param pvalue_unres Specification of allowed characters in pvalue. - * @param sep Separator character (either ';', ',', or '?'). - * When separator is set to '?', this function will - * automatically adjust the separator character to - * '&' after the first parameter is printed. - * - * @return The number of bytes printed, or -1 on errr. - */ -PJ_DECL(pj_ssize_t) pjsip_param_print_on(const pjsip_param *param_list, - char *buf, pj_size_t size, - const pj_cis_t *pname_unres, - const pj_cis_t *pvalue_unres, - int sep); - -/** - * @} - */ - -/** - * @defgroup PJSIP_URI_GENERIC Generic URI - * @ingroup PJSIP_URI - * @brief Generic representation for all types of URI. - * @{ - */ - -/** - * URI context. - */ -typedef enum pjsip_uri_context_e -{ - PJSIP_URI_IN_REQ_URI, /**< The URI is in Request URI. */ - PJSIP_URI_IN_FROMTO_HDR, /**< The URI is in From/To header. */ - PJSIP_URI_IN_CONTACT_HDR, /**< The URI is in Contact header. */ - PJSIP_URI_IN_ROUTING_HDR, /**< The URI is in Route/Record-Route header. */ - PJSIP_URI_IN_OTHER /**< Other context (web page, business card, etc.) */ -} pjsip_uri_context_e; - -/** - * URI 'virtual' function table. - * All types of URI in this library (such as sip:, sips:, tel:, and name-addr) - * will have pointer to this table as their first struct member. This table - * provides polimorphic behaviour to the URI. - */ -typedef struct pjsip_uri_vptr -{ - /** - * Get URI scheme. - * @param uri the URI (self). - * @return the URI scheme. - */ - const pj_str_t* (*p_get_scheme)(const void *uri); - - /** - * Get the URI object contained by this URI, or the URI itself if - * it doesn't contain another URI. - * @param uri the URI (self). - */ - void* (*p_get_uri)(void *uri); - - /** - * Print URI components to the buffer, following the rule of which - * components are allowed for the context. - * @param context the context where the URI will be placed. - * @param uri the URI (self). - * @param buf the buffer. - * @param size the size of the buffer. - * @return the length printed. - */ - pj_ssize_t (*p_print)(pjsip_uri_context_e context, - const void *uri, - char *buf, pj_size_t size); - - /** - * Compare two URIs according to the context. - * @param context the context. - * @param uri1 the first URI (self). - * @param uri2 the second URI. - * @return PJ_SUCCESS if equal, or otherwise the error status which - * should point to the mismatch part. - */ - pj_status_t (*p_compare)(pjsip_uri_context_e context, - const void *uri1, const void *uri2); - - /** - * Clone URI. - * @param pool the pool. - * @param the URI to clone (self). - * @return new URI. - */ - void *(*p_clone)(pj_pool_t *pool, const void *uri); - -} pjsip_uri_vptr; - - -/** - * The declaration of 'base class' for all URI scheme. - */ -struct pjsip_uri -{ - /** All URIs must have URI virtual function table as their first member. */ - pjsip_uri_vptr *vptr; -}; - -/** - * This macro checks that the URL is a "sip:" or "sips:" URL. - * @param url The URL (pointer to) - * @return non-zero if TRUE. - */ -#define PJSIP_URI_SCHEME_IS_SIP(url) \ - (pj_strnicmp2(pjsip_uri_get_scheme(url), "sip", 3)==0) - -/** - * This macro checks that the URL is a "sips:" URL (not SIP). - * @param url The URL (pointer to) - * @return non-zero if TRUE. - */ -#define PJSIP_URI_SCHEME_IS_SIPS(url) \ - (pj_strnicmp2(pjsip_uri_get_scheme(url), "sips", 4)==0) - -/** - * This macro checks that the URL is a "tel:" URL. - * @param url The URL (pointer to) - * @return non-zero if TRUE. - */ -#define PJSIP_URI_SCHEME_IS_TEL(url) \ - (pj_strnicmp2(pjsip_uri_get_scheme(url), "tel", 3)==0) - - -/** - * Generic function to get the URI scheme. - * @param uri the URI object. - * @return the URI scheme. - */ -PJ_INLINE(const pj_str_t*) pjsip_uri_get_scheme(const void *uri) -{ - return (*((pjsip_uri*)uri)->vptr->p_get_scheme)(uri); -} - -/** - * Generic function to get the URI object contained by this URI, or the URI - * itself if it doesn't contain another URI. - * - * @param uri the URI. - * @return the URI. - */ -PJ_INLINE(void*) pjsip_uri_get_uri(const void *uri) -{ - return (*((pjsip_uri*)uri)->vptr->p_get_uri)((void*)uri); -} - -/** - * Generic function to compare two URIs. - * - * @param context Comparison context. - * @param uri1 The first URI. - * @param uri2 The second URI. - * @return PJ_SUCCESS if equal, or otherwise the error status which - * should point to the mismatch part. - */ -PJ_INLINE(pj_status_t) pjsip_uri_cmp(pjsip_uri_context_e context, - const void *uri1, const void *uri2) -{ - return (*((const pjsip_uri*)uri1)->vptr->p_compare)(context, uri1, uri2); -} - -/** - * Generic function to print an URI object. - * - * @param context Print context. - * @param uri The URI to print. - * @param buf The buffer. - * @param size Size of the buffer. - * @return Length printed. - */ -PJ_INLINE(int) pjsip_uri_print(pjsip_uri_context_e context, - const void *uri, - char *buf, pj_size_t size) -{ - return (*((const pjsip_uri*)uri)->vptr->p_print)(context, uri, buf, size); -} - -/** - * Generic function to clone an URI object. - * - * @param pool Pool. - * @param uri URI to clone. - * @return New URI. - */ -PJ_INLINE(void*) pjsip_uri_clone( pj_pool_t *pool, const void *uri ) -{ - return (*((const pjsip_uri*)uri)->vptr->p_clone)(pool, uri); -} - - - -/** - * @} - */ - -/** - * @defgroup PJSIP_SIP_URI SIP URI Scheme and Name address - * @ingroup PJSIP_URI - * @brief SIP URL structure ("sip:" and "sips:") - * @{ - */ - - -/** - * SIP and SIPS URL scheme. - */ -typedef struct pjsip_sip_uri -{ - pjsip_uri_vptr *vptr; /**< Pointer to virtual function table.*/ - pj_str_t user; /**< Optional user part. */ - pj_str_t passwd; /**< Optional password part. */ - pj_str_t host; /**< Host part, always exists. */ - int port; /**< Optional port number, or zero. */ - pj_str_t user_param; /**< Optional user parameter */ - pj_str_t method_param; /**< Optional method parameter. */ - pj_str_t transport_param; /**< Optional transport parameter. */ - int ttl_param; /**< Optional TTL param, or -1. */ - int lr_param; /**< Optional loose routing param, or zero */ - pj_str_t maddr_param; /**< Optional maddr param */ - pjsip_param other_param; /**< Other parameters grouped together. */ - pjsip_param header_param; /**< Optional header parameter. */ -} pjsip_sip_uri; - - -/** - * SIP name-addr, which typically appear in From, To, and Contact header. - * The SIP name-addr contains a generic URI and a display name. - */ -typedef struct pjsip_name_addr -{ - /** Pointer to virtual function table. */ - pjsip_uri_vptr *vptr; - - /** Optional display name. */ - pj_str_t display; - - /** URI part. */ - pjsip_uri *uri; - -} pjsip_name_addr; - - -/** - * Create new SIP URL and initialize all fields with zero or NULL. - * @param pool The pool. - * @param secure Flag to indicate whether secure transport should be used. - * @return SIP URL. - */ -PJ_DECL(pjsip_sip_uri*) pjsip_sip_uri_create( pj_pool_t *pool, - pj_bool_t secure ); - -/** - * Change the SIP URI scheme to sip or sips based on the secure flag. - * This would not change anything except the scheme. - * @param uri The URI - * @param secure Non-zero if sips is wanted. - */ -PJ_DECL(void) pjsip_sip_uri_set_secure( pjsip_sip_uri *uri, - pj_bool_t secure ); - -/** - * Initialize SIP URL (all fields are set to NULL or zero). - * @param url The URL. - * @param secure Create sips URI? - */ -PJ_DECL(void) pjsip_sip_uri_init(pjsip_sip_uri *url, pj_bool_t secure); - -/** - * Perform full assignment to the SIP URL. - * @param pool The pool. - * @param url Destination URL. - * @param rhs The source URL. - */ -PJ_DECL(void) pjsip_sip_uri_assign(pj_pool_t *pool, pjsip_sip_uri *url, - const pjsip_sip_uri *rhs); - -/** - * Create new instance of name address and initialize all fields with zero or - * NULL. - * @param pool The pool. - * @return New SIP name address. - */ -PJ_DECL(pjsip_name_addr*) pjsip_name_addr_create(pj_pool_t *pool); - -/** - * Initialize with default value. - * @param name_addr The name address. - */ -PJ_DECL(void) pjsip_name_addr_init(pjsip_name_addr *name_addr); - -/** - * Perform full assignment to the name address. - * @param pool The pool. - * @param addr The destination name address. - * @param rhs The source name address. - */ -PJ_DECL(void) pjsip_name_addr_assign(pj_pool_t *pool, - pjsip_name_addr *addr, - const pjsip_name_addr *rhs); - -/** - * @} - */ - -/** - * @defgroup PJSIP_OTHER_URI Other URI schemes - * @ingroup PJSIP_URI - * @brief Container for non SIP/tel URI scheme (e.g. "http:", "mailto:") - * @{ - */ - -/** - * Generic URI container for non SIP/tel URI scheme. - */ -typedef struct pjsip_other_uri -{ - pjsip_uri_vptr *vptr; /**< Pointer to virtual function table. */ - pj_str_t scheme; /**< The URI scheme (e.g. "mailto") */ - pj_str_t content; /**< The whole URI content */ -} pjsip_other_uri; - - -/** - * Create a generic URI object. - * - * @param pool The pool to allocate memory from. - * - * @return The URI instance. - */ -PJ_DECL(pjsip_other_uri*) pjsip_other_uri_create(pj_pool_t *pool); - - -/** - * @} - */ - -PJ_END_DECL - -#endif /* __PJSIP_URL_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip/sip_util.h b/res/pjproject/pjsip/include/pjsip/sip_util.h deleted file mode 100644 index 5be44729e6..0000000000 --- a/res/pjproject/pjsip/include/pjsip/sip_util.h +++ /dev/null @@ -1,861 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_SIP_MISC_H__ -#define __PJSIP_SIP_MISC_H__ - -#include -#include -#include - -PJ_BEGIN_DECL - -/** - * @defgroup PJSIP_ENDPT_TARGET_URI Target URI Management - * @ingroup PJSIP_CORE_CORE - * @brief Management of target URI's in case of redirection - * @{ - * This module provides utility functions to manage target set for UAC. - * The target set is provided as pjsip_target_set structure. Initially, - * the target set for UAC contains only one target, that is the target of - * the initial request. When 3xx/redirection class response is received, - * the UAC can use the functionality of this module to add the URI's listed - * in the Contact header(s) in the response to the target set, and retry - * sending the request to the next destination/target. The UAC may retry - * this sequentially until one of the target answers with succesful/2xx - * response, or one target returns global error/6xx response, or all targets - * are exhausted. - * - * This module is currently used by the \ref PJSIP_INV. - */ - -/** - * This structure describes a target, which can be chained together to form - * a target set. Each target contains an URI, priority (as q-value), and - * the last status code and reason phrase received from the target, if the - * target has been contacted. If the target has not been contacted, the - * status code field will be zero. - */ -typedef struct pjsip_target -{ - PJ_DECL_LIST_MEMBER(struct pjsip_target);/**< Standard list element */ - pjsip_uri *uri; /**< The target URI */ - int q1000; /**< q-value multiplied by 1000 */ - pjsip_status_code code; /**< Last status code received */ - pj_str_t reason; /**< Last reason phrase received */ -} pjsip_target; - - -/** - * This describes a target set. A target set contains a linked-list of - * pjsip_target. - */ -typedef struct pjsip_target_set -{ - pjsip_target head; /**< Target linked-list head */ - pjsip_target *current; /**< Current target. */ -} pjsip_target_set; - - -/** - * These enumerations specify the action to be performed to a redirect - * response. - */ -typedef enum pjsip_redirect_op -{ - /** - * Reject the redirection to the current target. The UAC will - * select the next target from the target set if exists. - */ - PJSIP_REDIRECT_REJECT, - - /** - * Accept the redirection to the current target. The INVITE request - * will be resent to the current target. - */ - PJSIP_REDIRECT_ACCEPT, - - /** - * Defer the redirection decision, for example to request permission - * from the end user. - */ - PJSIP_REDIRECT_PENDING, - - /** - * Stop the whole redirection process altogether. This will cause - * the invite session to be disconnected. - */ - PJSIP_REDIRECT_STOP - -} pjsip_redirect_op; - - -/** - * Initialize target set. This will empty the list of targets in the - * target set. - * - * @param tset The target set. - */ -PJ_INLINE(void) pjsip_target_set_init(pjsip_target_set *tset) -{ - pj_list_init(&tset->head); - tset->current = NULL; -} - - -/** - * Add an URI to the target set, if the URI is not already in the target set. - * The URI comparison rule of pjsip_uri_cmp() will be used to determine the - * equality of this URI compared to existing URI's in the target set. The - * URI will be cloned using the specified memory pool before it is added to - * the list. - * - * The first URI added to the target set will also be made current target - * by this function. - * - * @param tset The target set. - * @param pool The memory pool to be used to duplicate the URI. - * @param uri The URI to be checked and added. - * @param q1000 The q-value multiplied by 1000. - * - * @return PJ_SUCCESS if the URI was added to the target set, - * or PJ_EEXISTS if the URI already exists in the target - * set, or other error codes. - */ -PJ_DECL(pj_status_t) pjsip_target_set_add_uri(pjsip_target_set *tset, - pj_pool_t *pool, - const pjsip_uri *uri, - int q1000); - -/** - * Extract URI's in the Contact headers of the specified (response) message - * and add them to the target set. This function will also check if the - * URI's already exist in the target set before adding them to the list. - * - * @param tset The target set. - * @param pool The memory pool to be used to duplicate the URI's. - * @param msg SIP message from which the Contact headers will be - * scanned and the URI's to be extracted, checked, and - * added to the target set. - * - * @return PJ_SUCCESS if at least one URI was added to the - * target set, or PJ_EEXISTS if all URI's in the message - * already exists in the target set or if the message - * doesn't contain usable Contact headers, or other error - * codes. - */ -PJ_DECL(pj_status_t) pjsip_target_set_add_from_msg(pjsip_target_set *tset, - pj_pool_t *pool, - const pjsip_msg *msg); - -/** - * Get the next target to be retried. This function will scan the target set - * for target which hasn't been tried, and return one target with the - * highest q-value, if such target exists. This function will return NULL - * if there is one target with 2xx or 6xx code or if all targets have been - * tried. - * - * @param tset The target set. - * - * @return The next target to be tried, or NULL if all targets have - * been tried or at least one target returns 2xx or 6xx - * response. - */ -PJ_DECL(pjsip_target*) -pjsip_target_set_get_next(const pjsip_target_set *tset); - - -/** - * Set the specified target as the current target in the target set. The - * current target may be used by application to keep track on which target - * is currently being operated on. - * - * @param tset The target set. - * @param target The target to be set as current target. - * - * @return PJ_SUCCESS or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_target_set_set_current(pjsip_target_set *tset, - pjsip_target *target); - - -/** - * Set the status code and reason phrase of the specified target. - * - * @param target The target. - * @param pool The memory pool to be used to duplicate the reason phrase. - * @param code The SIP status code to be set to the target. - * @param reason The reason phrase to be set to the target. - * - * @return PJ_SUCCESS on successful operation or the appropriate - * error code. - */ -PJ_DECL(pj_status_t) pjsip_target_assign_status(pjsip_target *target, - pj_pool_t *pool, - int status_code, - const pj_str_t *reason); - -/** - * @} - */ - -/** - * @defgroup PJSIP_ENDPT_STATELESS Message Creation and Stateless Operations - * @ingroup PJSIP_CORE_CORE - * @brief Utilities to create various messages and base function to send messages. - * @{ - */ - -/** - * Create an independent request message. This can be used to build any - * request outside a dialog, such as OPTIONS, MESSAGE, etc. To create a request - * inside a dialog, application should use #pjsip_dlg_create_request. - * - * This function adds the following headers in the request: - * - From, To, Call-ID, and CSeq, - * - Contact header, if contact is specified. - * - A blank Via header. - * - Additional request headers (such as Max-Forwards) which are copied - * from endpoint configuration. - * - * In addition, the function adds a unique tag in the From header. - * - * Once a transmit data is created, the reference counter is initialized to 1. - * - * @param endpt Endpoint instance. - * @param method SIP Method. - * @param target Target URI. - * @param from URL to put in From header. - * @param to URL to put in To header. - * @param contact Contact to be put as Contact header value, hence - * the format must follow RFC 3261 Section 20.10: - * When the header field value contains a display - * name, the URI including all URI parameters is - * enclosed in "<" and ">". If no "<" and ">" are - * present, all parameters after the URI are header - * parameters, not URI parameters. The display name - * can be tokens, or a quoted string, if a larger - * character set is desired. - * @param call_id Optional Call-ID (put NULL to generate unique Call-ID). - * @param cseq Optional CSeq (put -1 to generate random CSeq). - * @param text Optional text body (put NULL to omit body). - * @param p_tdata Pointer to receive the transmit data. - * - * @return PJ_SUCCESS, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_endpt_create_request( pjsip_endpoint *endpt, - const pjsip_method *method, - const pj_str_t *target, - const pj_str_t *from, - const pj_str_t *to, - const pj_str_t *contact, - const pj_str_t *call_id, - int cseq, - const pj_str_t *text, - pjsip_tx_data **p_tdata); - -/** - * Create an independent request message from the specified headers. This - * function will clone the headers and put them in the request. - * - * This function adds the following headers in the request: - * - From, To, Call-ID, and CSeq, - * - Contact header, if contact is specified. - * - A blank Via header. - * - Additional request headers (such as Max-Forwards) which are copied - * from endpoint configuration. - * - * In addition, the function adds a unique tag in the From header. - * - * Once a transmit data is created, the reference counter is initialized to 1. - * - * @param endpt Endpoint instance. - * @param method SIP Method. - * @param target Target URI. - * @param from From header. - * @param to To header. - * @param contact Contact header. - * @param call_id Optional Call-ID (put NULL to generate unique Call-ID). - * @param cseq Optional CSeq (put -1 to generate random CSeq). - * @param text Optional text body (put NULL to omit body). - * @param p_tdata Pointer to receive the transmit data. - * - * @return PJ_SUCCESS, or the appropriate error code. - */ -PJ_DECL(pj_status_t) -pjsip_endpt_create_request_from_hdr( pjsip_endpoint *endpt, - const pjsip_method *method, - const pjsip_uri *target, - const pjsip_from_hdr *from, - const pjsip_to_hdr *to, - const pjsip_contact_hdr *contact, - const pjsip_cid_hdr *call_id, - int cseq, - const pj_str_t *text, - pjsip_tx_data **p_tdata); - -/** - * Construct a minimal response message for the received request. This function - * will construct all the Via, Record-Route, Call-ID, From, To, CSeq, and - * Call-ID headers from the request. - * - * Note: the txdata reference counter is set to ZERO!. - * - * @param endpt The endpoint. - * @param rdata The request receive data. - * @param st_code Status code to be put in the response. - * @param st_text Optional status text, or NULL to get the default text. - * @param p_tdata Pointer to receive the transmit data. - * - * @return PJ_SUCCESS, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_endpt_create_response( pjsip_endpoint *endpt, - const pjsip_rx_data *rdata, - int st_code, - const pj_str_t *st_text, - pjsip_tx_data **p_tdata); - -/** - * Construct a full ACK request for the received non-2xx final response. - * This utility function is normally called by the transaction to construct - * an ACK request to 3xx-6xx final response. - * The generation of ACK message for 2xx final response is different than - * this one. - * - * @param endpt The endpoint. - * @param tdata This contains the original INVITE request - * @param rdata The final response. - * @param ack The ACK request created. - * - * @return PJ_SUCCESS, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_endpt_create_ack( pjsip_endpoint *endpt, - const pjsip_tx_data *tdata, - const pjsip_rx_data *rdata, - pjsip_tx_data **ack); - - -/** - * Construct CANCEL request for the previously sent request. - * - * @param endpt The endpoint. - * @param tdata The transmit buffer for the request being cancelled. - * @param p_tdata Pointer to receive the transmit data. - * - * @return PJ_SUCCESS, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_endpt_create_cancel( pjsip_endpoint *endpt, - const pjsip_tx_data *tdata, - pjsip_tx_data **p_tdata); - - -/** - * Find which destination to be used to send the request message, based - * on the request URI and Route headers in the message. The procedure - * used here follows the guidelines on sending the request in RFC 3261 - * chapter 8.1.2. - * - * Note there was a change in the behavior of this function since version - * 0.5.10.2. Previously this function may modify the request when strict - * route is present (to update request URI and route-set). This is no - * longer the case now, and this process is done in separate function - * (see #pjsip_process_route_set()). - * - * @param tdata The transmit data containing the request message. - * @param dest_info On return, it contains information about destination - * host to contact, along with the preferable transport - * type, if any. Caller will then normally proceed with - * resolving this host with server resolution procedure - * described in RFC 3263. - * - * @return PJ_SUCCESS, or the appropriate error code. - * - * @see pjsip_process_route_set - */ -PJ_DECL(pj_status_t) pjsip_get_request_dest(const pjsip_tx_data *tdata, - pjsip_host_info *dest_info ); - - -/** - * Process route-set found in the request and calculate destination to be - * used to send the request message, based on the request URI and Route - * headers in the message. The procedure used here follows the guidelines - * on sending the request in RFC 3261 chapter 8.1.2. - * - * This function may modify the message (request line and Route headers), - * if the Route information specifies strict routing and the request - * URI in the message is different than the calculated target URI. In that - * case, the target URI will be put as the request URI of the request and - * current request URI will be put as the last entry of the Route headers. - * - * @param tdata The transmit data containing the request message. - * @param dest_info On return, it contains information about destination - * host to contact, along with the preferable transport - * type, if any. Caller will then normally proceed with - * resolving this host with server resolution procedure - * described in RFC 3263. - * - * @return PJ_SUCCESS, or the appropriate error code. - * - * @see pjsip_get_request_addr - */ -PJ_DECL(pj_status_t) pjsip_process_route_set(pjsip_tx_data *tdata, - pjsip_host_info *dest_info ); - - -/** - * Swap the request URI and strict route back to the original position - * before #pjsip_process_route_set() function is called. If no strict - * route URI was found by #pjsip_process_route_set(), this function will - * do nothing. - * - * This function should only used internally by PJSIP client authentication - * module. - * - * @param tdata Transmit data containing request message. - */ -PJ_DECL(void) pjsip_restore_strict_route_set(pjsip_tx_data *tdata); - - -/** - * This structure holds the state of outgoing stateless request. - */ -typedef struct pjsip_send_state -{ - /** Application token, which was specified when the function - * #pjsip_endpt_send_request_stateless() is called. - */ - void *token; - - /** Endpoint instance. - */ - pjsip_endpoint *endpt; - - /** Transmit data buffer being sent. - */ - pjsip_tx_data *tdata; - - /** Current transport being used. - */ - pjsip_transport *cur_transport; - - /** The application callback which was specified when the function - * #pjsip_endpt_send_request_stateless() was called. - */ - void (*app_cb)(struct pjsip_send_state*, - pj_ssize_t sent, - pj_bool_t *cont); -} pjsip_send_state; - - -/** - * Declaration for callback function to be specified in - * #pjsip_endpt_send_request_stateless(), #pjsip_endpt_send_response(), or - * #pjsip_endpt_send_response2(). - * - * @param st Structure to keep transmission state. - * @param sent Number of bytes sent. - * @param cont When current transmission fails, specify whether - * the function should fallback to next destination. - */ -typedef void (*pjsip_send_callback)(pjsip_send_state *st, pj_ssize_t sent, - pj_bool_t *cont); - -/** - * Send outgoing request statelessly The function will take care of which - * destination and transport to use based on the information in the message, - * taking care of URI in the request line and Route header. - * - * This function is different than #pjsip_transport_send() in that this - * function adds/modify the Via header as necessary. - * - * @param endpt The endpoint instance. - * @param tdata The transmit data to be sent. - * @param token Arbitrary token to be given back on the callback. - * @param cb Optional callback to notify transmission status (also - * gives chance for application to discontinue retrying - * sending to alternate address). - * - * @return PJ_SUCCESS, or the appropriate error code. - */ -PJ_DECL(pj_status_t) -pjsip_endpt_send_request_stateless( pjsip_endpoint *endpt, - pjsip_tx_data *tdata, - void *token, - pjsip_send_callback cb); - -/** - * This is a low-level function to send raw data to a destination. - * - * See also #pjsip_endpt_send_raw_to_uri(). - * - * @param endpt The SIP endpoint instance. - * @param tp_type Transport type. - * @param sel Optional pointer to transport selector instance if - * application wants to use a specific transport instance - * rather then letting transport manager finds the suitable - * transport.. - * @param raw_data The data to be sent. - * @param data_len The length of the data. - * @param addr Destination address. - * @param addr_len Length of destination address. - * @param token Arbitrary token to be returned back to callback. - * @param cb Optional callback to be called to notify caller about - * the completion status of the pending send operation. - * - * @return If the message has been sent successfully, this function - * will return PJ_SUCCESS and the callback will not be - * called. If message cannot be sent immediately, this - * function will return PJ_EPENDING, and application will - * be notified later about the completion via the callback. - * Any statuses other than PJ_SUCCESS or PJ_EPENDING - * indicates immediate failure, and in this case the - * callback will not be called. - */ -PJ_DECL(pj_status_t) pjsip_endpt_send_raw(pjsip_endpoint *endpt, - pjsip_transport_type_e tp_type, - const pjsip_tpselector *sel, - const void *raw_data, - pj_size_t data_len, - const pj_sockaddr_t *addr, - int addr_len, - void *token, - pjsip_tp_send_callback cb); - -/** - * Send raw data to the specified destination URI. The actual destination - * address will be calculated from the URI, using normal SIP URI to host - * resolution. - * - * See also #pjsip_endpt_send_raw(). - * - * @param endpt The SIP endpoint instance. - * @param dst_uri Destination address URI. - * @param sel Optional pointer to transport selector instance if - * application wants to use a specific transport instance - * rather then letting transport manager finds the suitable - * transport.. - * @param raw_data The data to be sent. - * @param data_len The length of the data. - * @param token Arbitrary token to be returned back to callback. - * @param cb Optional callback to be called to notify caller about - * the completion status of the pending send operation. - * - * @return If the message has been sent successfully, this function - * will return PJ_SUCCESS and the callback will not be - * called. If message cannot be sent immediately, this - * function will return PJ_EPENDING, and application will - * be notified later about the completion via the callback. - * Any statuses other than PJ_SUCCESS or PJ_EPENDING - * indicates immediate failure, and in this case the - * callback will not be called. - */ -PJ_DECL(pj_status_t) pjsip_endpt_send_raw_to_uri(pjsip_endpoint *endpt, - const pj_str_t *dst_uri, - const pjsip_tpselector *sel, - const void *raw_data, - pj_size_t data_len, - void *token, - pjsip_tp_send_callback cb); - -/** - * This structure describes destination information to send response. - * It is initialized by calling #pjsip_get_response_addr(). - * - * If the response message should be sent using transport from which - * the request was received, then transport, addr, and addr_len fields - * are initialized. - * - * The dst_host field is also initialized. It should be used when server - * fails to send the response using the transport from which the request - * was received, or when the transport is NULL, which means server - * must send the response to this address (this situation occurs when - * maddr parameter is set, or when rport param is not set in the request). - */ -typedef struct pjsip_response_addr -{ - pjsip_transport *transport; /**< Immediate transport to be used. */ - pj_sockaddr addr; /**< Immediate address to send to. */ - int addr_len; /**< Address length. */ - pjsip_host_info dst_host; /**< Destination host to contact. */ -} pjsip_response_addr; - -/** - * Determine which address (and transport) to use to send response message - * based on the received request. This function follows the specification - * in section 18.2.2 of RFC 3261 and RFC 3581 for calculating the destination - * address and transport. - * - * The information about destination to send the response will be returned - * in res_addr argument. Please see #pjsip_response_addr for more info. - * - * @param pool The pool. - * @param rdata The incoming request received by the server. - * @param res_addr On return, it will be initialized with information about - * destination address and transport to send the response. - * - * @return zero (PJ_OK) if successfull. - */ -PJ_DECL(pj_status_t) pjsip_get_response_addr(pj_pool_t *pool, - pjsip_rx_data *rdata, - pjsip_response_addr *res_addr); - -/** - * Send response in tdata statelessly. The function will take care of which - * response destination and transport to use based on the information in the - * Via header (such as the presence of rport, symmetric transport, etc.). - * - * This function will create a new ephemeral transport if no existing - * transports can be used to send the message to the destination. The ephemeral - * transport will be destroyed after some period if it is not used to send any - * more messages. - * - * The behavior of this function complies with section 18.2.2 of RFC 3261 - * and RFC 3581. - * - * @param endpt The endpoint instance. - * @param res_addr The information about the address and transport to send - * the response to. Application can get this information - * by calling #pjsip_get_response_addr(). - * @param tdata The response message to be sent. - * @param token Token to be passed back when the callback is called. - * @param cb Optional callback to notify the transmission status - * to application, and to inform whether next address or - * transport will be tried. - * - * @return PJ_SUCCESS if response has been successfully created and - * sent to transport layer, or a non-zero error code. - * However, even when it returns PJ_SUCCESS, there is no - * guarantee that the response has been successfully sent. - */ -PJ_DECL(pj_status_t) pjsip_endpt_send_response( pjsip_endpoint *endpt, - pjsip_response_addr *res_addr, - pjsip_tx_data *tdata, - void *token, - pjsip_send_callback cb); - -/** - * This is a convenient function which wraps #pjsip_get_response_addr() and - * #pjsip_endpt_send_response() in a single function. - * - * @param endpt The endpoint instance. - * @param rdata The original request to be responded. - * @param tdata The response message to be sent. - * @param token Token to be passed back when the callback is called. - * @param cb Optional callback to notify the transmission status - * to application, and to inform whether next address or - * transport will be tried. - * - * @return PJ_SUCCESS if response has been successfully created and - * sent to transport layer, or a non-zero error code. - * However, even when it returns PJ_SUCCESS, there is no - * guarantee that the response has been successfully sent. - */ -PJ_DECL(pj_status_t) pjsip_endpt_send_response2(pjsip_endpoint *endpt, - pjsip_rx_data *rdata, - pjsip_tx_data *tdata, - void *token, - pjsip_send_callback cb); - -/** - * This composite function sends response message statelessly to an incoming - * request message. Internally it calls #pjsip_endpt_create_response() and - * #pjsip_endpt_send_response(). - * - * @param endpt The endpoint instance. - * @param rdata The incoming request message. - * @param st_code Status code of the response. - * @param st_text Optional status text of the response. - * @param hdr_list Optional header list to be added to the response. - * @param body Optional message body to be added to the response. - * - * @return PJ_SUCCESS if response message has successfully been - * sent. - */ -PJ_DECL(pj_status_t) pjsip_endpt_respond_stateless(pjsip_endpoint *endpt, - pjsip_rx_data *rdata, - int st_code, - const pj_str_t *st_text, - const pjsip_hdr *hdr_list, - const pjsip_msg_body *body); - -/** - * @} - */ - -/** - * @defgroup PJSIP_TRANSACT_UTIL Stateful Operations - * @ingroup PJSIP_TRANSACT - * @brief Utility function to send requests/responses statefully. - * @{ - */ - -/** - * This composite function creates and sends response statefully for the - * incoming request. - * - * @param endpt The endpoint instance. - * @param tsx_user The module to be registered as transaction user. - * @param rdata The incoming request message. - * @param st_code Status code of the response. - * @param st_text Optional status text of the response. - * @param hdr_list Optional header list to be added to the response. - * @param body Optional message body to be added to the response. - * @param p_tsx Optional pointer to receive the transaction which was - * created to send the response. - * - * @return PJ_SUCCESS if response message has successfully been - * created. - */ -PJ_DECL(pj_status_t) pjsip_endpt_respond( pjsip_endpoint *endpt, - pjsip_module *tsx_user, - pjsip_rx_data *rdata, - int st_code, - const pj_str_t *st_text, - const pjsip_hdr *hdr_list, - const pjsip_msg_body *body, - pjsip_transaction **p_tsx ); - -/** - * Type of callback to be specified in #pjsip_endpt_send_request(). - * - * @param token The token that was given in #pjsip_endpt_send_request() - * @param e Completion event. - */ -typedef void (*pjsip_endpt_send_callback)(void *token, pjsip_event *e); - -/** - * Send outgoing request and initiate UAC transaction for the request. - * This is an auxiliary function to be used by application to send arbitrary - * requests outside a dialog. To send a request within a dialog, application - * should use #pjsip_dlg_send_request instead. - * - * @param endpt The endpoint instance. - * @param tdata The transmit data to be sent. - * @param timeout Optional timeout for final response to be received, or -1 - * if the transaction should not have a timeout restriction. - * The value is in miliseconds. - * @param token Optional token to be associated with the transaction, and - * to be passed to the callback. - * @param cb Optional callback to be called when the transaction has - * received a final response. The callback will be called with - * the previously registered token and the event that triggers - * the completion of the transaction. - * - * @return PJ_SUCCESS, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsip_endpt_send_request( pjsip_endpoint *endpt, - pjsip_tx_data *tdata, - pj_int32_t timeout, - void *token, - pjsip_endpt_send_callback cb); - -/** - * @} - */ - -/** - * @defgroup PJSIP_PROXY_CORE Core Proxy Layer - * @brief Core proxy operations - * @{ - */ - -/** - * Create new request message to be forwarded upstream to new destination URI - * in uri. The new request is a full/deep clone of the request received in - * rdata, unless if other copy mechanism is specified in the options. - * The branch parameter, if not NULL, will be used as the branch-param in - * the Via header. If it is NULL, then a unique branch parameter will be used. - * - * Note: this function DOES NOT perform Route information preprocessing as - * described in RFC 3261 Section 16.4. Application must take care of - * removing/updating the Route headers according of the rules as - * described in that section. - * - * @param endpt The endpoint instance. - * @param rdata The incoming request message. - * @param uri The URI where the request will be forwarded to. - * @param branch Optional branch parameter. Application may specify its - * own branch, for example if it wishes to perform loop - * detection. If the branch parameter is not specified, - * this function will generate its own by calling - * #pjsip_calculate_branch_id() function. - * @param options Optional option flags when duplicating the message. - * @param tdata The result. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_endpt_create_request_fwd(pjsip_endpoint *endpt, - pjsip_rx_data *rdata, - const pjsip_uri *uri, - const pj_str_t *branch, - unsigned options, - pjsip_tx_data **tdata); - - - -/** - * Create new response message to be forwarded downstream by the proxy from - * the response message found in rdata. Note that this function practically - * will clone the response as is, i.e. without checking the validity of the - * response or removing top most Via header. This function will perform - * full/deep clone of the response, unless other copy mechanism is used in - * the options. - * - * @param endpt The endpoint instance. - * @param rdata The incoming response message. - * @param options Optional option flags when duplicate the message. - * @param tdata The result - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsip_endpt_create_response_fwd( pjsip_endpoint *endpt, - pjsip_rx_data *rdata, - unsigned options, - pjsip_tx_data **tdata); - - - -/** - * Create a globally unique branch parameter based on the information in - * the incoming request message, for the purpose of creating a new request - * for forwarding. This is the default implementation used by - * #pjsip_endpt_create_request_fwd() function if the branch parameter is - * not specified. - * - * The default implementation here will just create an MD5 hash of the - * top-most Via. - * - * Note that the returned string was allocated from rdata's pool. - * - * @param rdata The incoming request message. - * - * @return Unique branch-ID string. - */ -PJ_DECL(pj_str_t) pjsip_calculate_branch_id( pjsip_rx_data *rdata ); - - -/** - * @} - */ - -PJ_END_DECL - -#endif /* __PJSIP_SIP_MISC_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip_auth.h b/res/pjproject/pjsip/include/pjsip_auth.h deleted file mode 100644 index 7adf26bb5b..0000000000 --- a/res/pjproject/pjsip/include/pjsip_auth.h +++ /dev/null @@ -1,38 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_AUTH_H__ -#define __PJSIP_AUTH_H__ - -/** - * @defgroup PJSIP_AUTH SIP Authorization module - */ - -/** - * @file pjsip_auth.h - * @brief SIP Authorization Module. - */ - - -#include -#include -#include - -#endif /* __PJSIP_AUTH_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsip_simple.h b/res/pjproject/pjsip/include/pjsip_simple.h deleted file mode 100644 index b60ce4c279..0000000000 --- a/res/pjproject/pjsip/include/pjsip_simple.h +++ /dev/null @@ -1,46 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/** - * @defgroup PJSIP_SIMPLE Event and Presence Framework - */ - -/** - * @file pjsip_simple.h - * @brief SIP SIMPLE Extension - */ - -/* - * Include this header file to get all functionalities for SIMPLE extension - * (SIP for Instant Messaging and Presence Leveraging Extension). - */ -#ifndef __PJSIP_SIMPLE_H__ -#define __PJSIP_SIMPLE_H__ - -#include -#include -#include -#include -#include -#include -#include -#include - -#endif /* __PJSIP_SIMPLE_H__ */ diff --git a/res/pjproject/pjsip/include/pjsip_ua.h b/res/pjproject/pjsip/include/pjsip_ua.h deleted file mode 100644 index 2f5da2ee25..0000000000 --- a/res/pjproject/pjsip/include/pjsip_ua.h +++ /dev/null @@ -1,32 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSIP_UA_H__ -#define __PJSIP_UA_H__ - -#include -#include -#include -#include -#include -#include - - -#endif /* __PJSIP_UA_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsua-lib/pjsua.h b/res/pjproject/pjsip/include/pjsua-lib/pjsua.h deleted file mode 100644 index 9de34cf3fc..0000000000 --- a/res/pjproject/pjsip/include/pjsua-lib/pjsua.h +++ /dev/null @@ -1,6273 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSUA_H__ -#define __PJSUA_H__ - -/** - * @file pjsua.h - * @brief PJSUA API. - */ - - -/* Include all PJSIP core headers. */ -#include - -/* Include all PJMEDIA headers. */ -#include - -/* Include all PJMEDIA-CODEC headers. */ -#include - -/* Videodev too */ -#include - -/* Include all PJSIP-UA headers */ -#include - -/* Include all PJSIP-SIMPLE headers */ -#include - -/* Include all PJNATH headers */ -#include - -/* Include all PJLIB-UTIL headers. */ -#include - -/* Include all PJLIB headers. */ -#include - - -PJ_BEGIN_DECL - - -/** - * @defgroup PJSUA_LIB PJSUA API - High Level Softphone API - * @brief Very high level API for constructing SIP UA applications. - * @{ - * - * @section pjsua_api_intro A SIP User Agent API for C/C++ - * - * PJSUA API is very high level API for constructing SIP multimedia user agent - * applications. It wraps together the signaling and media functionalities - * into an easy to use call API, provides account management, buddy - * management, presence, instant messaging, along with multimedia - * features such as conferencing, file streaming, local playback, - * voice recording, and so on. - * - * @subsection pjsua_for_c_cpp C/C++ Binding - * Application must link with pjsua-lib to use this API. In addition, - * this library depends on the following libraries: - * - pjsip-ua, - * - pjsip-simple, - * - pjsip-core, - * - pjmedia, - * - pjmedia-codec, - * - pjlib-util, and - * - pjlib, - * - * so application must also link with these libraries as well. For more - * information, please refer to - * Getting Started with PJSIP - * page. - * - * @section pjsua_samples - * - * Few samples are provided: - * - - @ref page_pjsip_sample_simple_pjsuaua_c\n - Very simple SIP User Agent with registration, call, and media, using - PJSUA-API, all in under 200 lines of code. - - - @ref page_pjsip_samples_pjsua\n - This is the reference implementation for PJSIP and PJMEDIA. - PJSUA is a console based application, designed to be simple enough - to be readble, but powerful enough to demonstrate all features - available in PJSIP and PJMEDIA.\n - - * @section root_using_pjsua_lib Using PJSUA API - * - * Please refer to @ref PJSUA_LIB_BASE on how to create and initialize the API. - * And then see the Modules on the bottom of this page for more information - * about specific subject. - */ - - - -/***************************************************************************** - * BASE API - */ - -/** - * @defgroup PJSUA_LIB_BASE PJSUA-API Basic API - * @ingroup PJSUA_LIB - * @brief Basic application creation/initialization, logging configuration, etc. - * @{ - * - * The base PJSUA API controls PJSUA creation, initialization, and startup, and - * also provides various auxiliary functions. - * - * @section using_pjsua_lib Using PJSUA Library - * - * @subsection creating_pjsua_lib Creating PJSUA - * - * Before anything else, application must create PJSUA by calling - * #pjsua_create(). - * This, among other things, will initialize PJLIB, which is crucial before - * any PJLIB functions can be called, PJLIB-UTIL, and create a SIP endpoint. - * - * After this function is called, application can create a memory pool (with - * #pjsua_pool_create()) and read configurations from command line or file to - * build the settings to initialize PJSUA below. - * - * @subsection init_pjsua_lib Initializing PJSUA - * - * After PJSUA is created, application can initialize PJSUA by calling - * #pjsua_init(). This function takes several optional configuration settings - * in the argument, if application wants to set them. - * - * @subsubsection init_pjsua_lib_c_cpp PJSUA-LIB Initialization (in C) - * Sample code to initialize PJSUA in C code: - \code - - #include - - #define THIS_FILE __FILE__ - - static pj_status_t app_init(void) - { - pjsua_config ua_cfg; - pjsua_logging_config log_cfg; - pjsua_media_config media_cfg; - pj_status_t status; - - // Must create pjsua before anything else! - status = pjsua_create(); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error initializing pjsua", status); - return status; - } - - // Initialize configs with default settings. - pjsua_config_default(&ua_cfg); - pjsua_logging_config_default(&log_cfg); - pjsua_media_config_default(&media_cfg); - - // At the very least, application would want to override - // the call callbacks in pjsua_config: - ua_cfg.cb.on_incoming_call = ... - ua_cfg.cb.on_call_state = .. - ... - - // Customize other settings (or initialize them from application specific - // configuration file): - ... - - // Initialize pjsua - status = pjsua_init(&ua_cfg, &log_cfg, &media_cfg); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error initializing pjsua", status); - return status; - } - . - ... - } - \endcode - * - * - - - * @subsection other_init_pjsua_lib Other Initialization - * - * After PJSUA is initialized with #pjsua_init(), application will normally - * need/want to perform the following tasks: - * - * - create SIP transport with #pjsua_transport_create(). Application would - * to call #pjsua_transport_create() for each transport types that it - * wants to support (for example, UDP, TCP, and TLS). Please see - * @ref PJSUA_LIB_TRANSPORT section for more info. - * - create one or more SIP accounts with #pjsua_acc_add() or - * #pjsua_acc_add_local(). The SIP account is used for registering with - * the SIP server, if any. Please see @ref PJSUA_LIB_ACC for more info. - * - add one or more buddies with #pjsua_buddy_add(). Please see - * @ref PJSUA_LIB_BUDDY section for more info. - * - optionally configure the sound device, codec settings, and other - * media settings. Please see @ref PJSUA_LIB_MEDIA for more info. - * - * - * @subsection starting_pjsua_lib Starting PJSUA - * - * After all initializations have been done, application must call - * #pjsua_start() to start PJSUA. This function will check that all settings - * have been properly configured, and apply default settings when they haven't, - * or report error status when it is unable to recover from missing settings. - * - * Most settings can be changed during run-time. For example, application - * may add, modify, or delete accounts, buddies, or change media settings - * during run-time. - * - * @subsubsection starting_pjsua_lib_c C Example for Starting PJSUA - * Sample code: - \code - static pj_status_t app_run(void) - { - pj_status_t status; - - // Start pjsua - status = pjsua_start(); - if (status != PJ_SUCCESS) { - pjsua_destroy(); - pjsua_perror(THIS_FILE, "Error starting pjsua", status); - return status; - } - - // Run application loop - while (1) { - char choice[10]; - - printf("Select menu: "); - fgets(choice, sizeof(choice), stdin); - ... - } - } - \endcode - - */ - -/** Constant to identify invalid ID for all sorts of IDs. */ -#define PJSUA_INVALID_ID (-1) - -/** Disabled features temporarily for media reorganization */ -#define DISABLED_FOR_TICKET_1185 0 - -/** Call identification */ -typedef int pjsua_call_id; - -/** Account identification */ -typedef int pjsua_acc_id; - -/** Buddy identification */ -typedef int pjsua_buddy_id; - -/** File player identification */ -typedef int pjsua_player_id; - -/** File recorder identification */ -typedef int pjsua_recorder_id; - -/** Conference port identification */ -typedef int pjsua_conf_port_id; - -/** Opaque declaration for server side presence subscription */ -typedef struct pjsua_srv_pres pjsua_srv_pres; - -/** Forward declaration for pjsua_msg_data */ -typedef struct pjsua_msg_data pjsua_msg_data; - - -/** - * Maximum proxies in account. - */ -#ifndef PJSUA_ACC_MAX_PROXIES -# define PJSUA_ACC_MAX_PROXIES 8 -#endif - -/** - * Default value of SRTP mode usage. Valid values are PJMEDIA_SRTP_DISABLED, - * PJMEDIA_SRTP_OPTIONAL, and PJMEDIA_SRTP_MANDATORY. - */ -#ifndef PJSUA_DEFAULT_USE_SRTP - #define PJSUA_DEFAULT_USE_SRTP PJMEDIA_SRTP_DISABLED -#endif - -/** - * Default value of secure signaling requirement for SRTP. - * Valid values are: - * 0: SRTP does not require secure signaling - * 1: SRTP requires secure transport such as TLS - * 2: SRTP requires secure end-to-end transport (SIPS) - */ -#ifndef PJSUA_DEFAULT_SRTP_SECURE_SIGNALING - #define PJSUA_DEFAULT_SRTP_SECURE_SIGNALING 1 -#endif - -/** - * Controls whether PJSUA-LIB should add ICE media feature tag - * parameter (the ";+sip.ice" parameter) to Contact header if ICE - * is enabled in the config. - * - * Default: 1 - */ -#ifndef PJSUA_ADD_ICE_TAGS -# define PJSUA_ADD_ICE_TAGS 1 -#endif - -/** - * Timeout value used to acquire mutex lock on a particular call. - * - * Default: 2000 ms - */ -#ifndef PJSUA_ACQUIRE_CALL_TIMEOUT -# define PJSUA_ACQUIRE_CALL_TIMEOUT 2000 -#endif - -/** - * Is video enabled. - */ -#ifndef PJSUA_HAS_VIDEO -# define PJSUA_HAS_VIDEO PJMEDIA_HAS_VIDEO -#endif - - -/** - * Interval between two keyframe requests, in milliseconds. - * - * Default: 3000 ms - */ -#ifndef PJSUA_VID_REQ_KEYFRAME_INTERVAL -# define PJSUA_VID_REQ_KEYFRAME_INTERVAL 3000 -#endif - - -/** - * This enumeration represents pjsua state. - */ -typedef enum pjsua_state -{ - /** - * The library has not been initialized. - */ - PJSUA_STATE_NULL, - - /** - * After pjsua_create() is called but before pjsua_init() is called. - */ - PJSUA_STATE_CREATED, - - /** - * After pjsua_init() is called but before pjsua_start() is called. - */ - PJSUA_STATE_INIT, - - /** - * After pjsua_start() is called but before everything is running. - */ - PJSUA_STATE_STARTING, - - /** - * After pjsua_start() is called and before pjsua_destroy() is called. - */ - PJSUA_STATE_RUNNING, - - /** - * After pjsua_destroy() is called but before the function returns. - */ - PJSUA_STATE_CLOSING - -} pjsua_state; - - -/** - * Logging configuration, which can be (optionally) specified when calling - * #pjsua_init(). Application must call #pjsua_logging_config_default() to - * initialize this structure with the default values. - */ -typedef struct pjsua_logging_config -{ - /** - * Log incoming and outgoing SIP message? Yes! - */ - pj_bool_t msg_logging; - - /** - * Input verbosity level. Value 5 is reasonable. - */ - unsigned level; - - /** - * Verbosity level for console. Value 4 is reasonable. - */ - unsigned console_level; - - /** - * Log decoration. - */ - unsigned decor; - - /** - * Optional log filename. - */ - pj_str_t log_filename; - - /** - * Additional flags to be given to #pj_file_open() when opening - * the log file. By default, the flag is PJ_O_WRONLY. Application - * may set PJ_O_APPEND here so that logs are appended to existing - * file instead of overwriting it. - * - * Default is 0. - */ - unsigned log_file_flags; - - /** - * Optional callback function to be called to write log to - * application specific device. This function will be called for - * log messages on input verbosity level. - */ - void (*cb)(int level, const char *data, int len); - - -} pjsua_logging_config; - - -/** - * Use this function to initialize logging config. - * - * @param cfg The logging config to be initialized. - */ -PJ_DECL(void) pjsua_logging_config_default(pjsua_logging_config *cfg); - - -/** - * Use this function to duplicate logging config. - * - * @param pool Pool to use. - * @param dst Destination config. - * @param src Source config. - */ -PJ_DECL(void) pjsua_logging_config_dup(pj_pool_t *pool, - pjsua_logging_config *dst, - const pjsua_logging_config *src); - - -/** - * Structure to be passed on MWI callback. - */ -typedef struct pjsua_mwi_info -{ - pjsip_evsub *evsub; /**< Event subscription session, for - reference. */ - pjsip_rx_data *rdata; /**< The received NOTIFY request. */ -} pjsua_mwi_info; - - -/** - * Structure to be passed on registration callback. - */ -typedef struct pjsua_reg_info -{ - struct pjsip_regc_cbparam *cbparam; /**< Parameters returned by - registration callback. */ -} pjsua_reg_info; - - -/** - * Enumeration of media transport state types. - */ -typedef enum pjsua_med_tp_st -{ - /** Null, this is the state before media transport is created. */ - PJSUA_MED_TP_NULL, - - /** - * Just before media transport is created, which can finish - * asynchronously later. - */ - PJSUA_MED_TP_CREATING, - - /** Media transport creation is completed, but not initialized yet. */ - PJSUA_MED_TP_IDLE, - - /** Initialized (media_create() has been called). */ - PJSUA_MED_TP_INIT, - - /** Running (media_start() has been called). */ - PJSUA_MED_TP_RUNNING, - - /** Disabled (transport is initialized, but media is being disabled). */ - PJSUA_MED_TP_DISABLED - -} pjsua_med_tp_st; - - -/** - * Structure to be passed on media transport state callback. - */ -typedef struct pjsua_med_tp_state_info -{ - /** - * The media index. - */ - unsigned med_idx; - - /** - * The media transport state - */ - pjsua_med_tp_st state; - - /** - * The last error code related to the media transport state. - */ - pj_status_t status; - - /** - * Optional SIP error code. - */ - int sip_err_code; - - /** - * Optional extended info, the content is specific for each transport type. - */ - void *ext_info; - -} pjsua_med_tp_state_info; - - -/** - * Type of callback to be called when media transport state is changed. - * - * @param call_id The call ID. - * @param info The media transport state info. - * - * @return The callback must return PJ_SUCCESS at the moment. - */ -typedef pj_status_t -(*pjsua_med_tp_state_cb)(pjsua_call_id call_id, - const pjsua_med_tp_state_info *info); - - -/** - * This enumeration specifies the options for custom media transport creation. - */ -typedef enum pjsua_create_media_transport_flag -{ - /** - * This flag indicates that the media transport must also close its - * "member" or "child" transport when pjmedia_transport_close() is - * called. If this flag is not specified, then the media transport - * must not call pjmedia_transport_close() of its member transport. - */ - PJSUA_MED_TP_CLOSE_MEMBER = 1 - -} pjsua_create_media_transport_flag; - - -/** - * Call settings. - */ -typedef struct pjsua_call_setting -{ - /** - * Bitmask of #pjsua_call_flag constants. - * - * Default: 0 - */ - unsigned flag; - - /** - * This flag controls what methods to request keyframe are allowed on - * the call. Value is bitmask of #pjsua_vid_req_keyframe_method. - */ - unsigned req_keyframe_method; - - /** - * Number of simultaneous active audio streams for this call. Setting - * this to zero will disable audio in this call. - * - * Default: 1 - */ - unsigned aud_cnt; - - /** - * Number of simultaneous active video streams for this call. Setting - * this to zero will disable video in this call. - * - * Default: 1 (if video feature is enabled, otherwise it is zero) - */ - unsigned vid_cnt; - -} pjsua_call_setting; - - -/** - * This structure describes application callback to receive various event - * notification from PJSUA-API. All of these callbacks are OPTIONAL, - * although definitely application would want to implement some of - * the important callbacks (such as \a on_incoming_call). - */ -typedef struct pjsua_callback -{ - /** - * Notify application when call state has changed. - * Application may then query the call info to get the - * detail call states by calling pjsua_call_get_info() function. - * - * @param call_id The call index. - * @param e Event which causes the call state to change. - */ - void (*on_call_state)(pjsua_call_id call_id, pjsip_event *e); - - /** - * Notify application on incoming call. - * - * @param acc_id The account which match the incoming call. - * @param call_id The call id that has just been created for - * the call. - * @param rdata The incoming INVITE request. - */ - void (*on_incoming_call)(pjsua_acc_id acc_id, pjsua_call_id call_id, - pjsip_rx_data *rdata); - - /** - * This is a general notification callback which is called whenever - * a transaction within the call has changed state. Application can - * implement this callback for example to monitor the state of - * outgoing requests, or to answer unhandled incoming requests - * (such as INFO) with a final response. - * - * @param call_id Call identification. - * @param tsx The transaction which has changed state. - * @param e Transaction event that caused the state change. - */ - void (*on_call_tsx_state)(pjsua_call_id call_id, - pjsip_transaction *tsx, - pjsip_event *e); - - /** - * Notify application when media state in the call has changed. - * Normal application would need to implement this callback, e.g. - * to connect the call's media to sound device. When ICE is used, - * this callback will also be called to report ICE negotiation - * failure. - * - * @param call_id The call index. - */ - void (*on_call_media_state)(pjsua_call_id call_id); - - - /** - * Notify application when a call has just created a local SDP (for - * initial or subsequent SDP offer/answer). Application can implement - * this callback to modify the SDP, before it is being sent and/or - * negotiated with remote SDP, for example to apply per account/call - * basis codecs priority or to add custom/proprietary SDP attributes. - * - * @param call_id The call index. - * @param sdp The SDP has just been created. - * @param pool The pool instance, application should use this pool - * to modify the SDP. - * @param rem_sdp The remote SDP, will be NULL if local is SDP offerer. - */ - void (*on_call_sdp_created)(pjsua_call_id call_id, - pjmedia_sdp_session *sdp, - pj_pool_t *pool, - const pjmedia_sdp_session *rem_sdp); - - - /** - * Notify application when media session is created and before it is - * registered to the conference bridge. Application may return different - * media port if it has added media processing port to the stream. This - * media port then will be added to the conference bridge instead. - * - * @param call_id Call identification. - * @param strm Media stream. - * @param stream_idx Stream index in the media session. - * @param p_port On input, it specifies the media port of the - * stream. Application may modify this pointer to - * point to different media port to be registered - * to the conference bridge. - */ - void (*on_stream_created)(pjsua_call_id call_id, - pjmedia_stream *strm, - unsigned stream_idx, - pjmedia_port **p_port); - - /** - * Notify application when media session has been unregistered from the - * conference bridge and about to be destroyed. - * - * @param call_id Call identification. - * @param strm Media stream. - * @param stream_idx Stream index in the media session. - */ - void (*on_stream_destroyed)(pjsua_call_id call_id, - pjmedia_stream *strm, - unsigned stream_idx); - - /** - * Notify application upon incoming DTMF digits. - * - * @param call_id The call index. - * @param digit DTMF ASCII digit. - */ - void (*on_dtmf_digit)(pjsua_call_id call_id, int digit); - - /** - * Notify application on call being transfered (i.e. REFER is received). - * Application can decide to accept/reject transfer request - * by setting the code (default is 202). When this callback - * is not defined, the default behavior is to accept the - * transfer. See also on_call_transfer_request2() callback for - * the version with \a pjsua_call_setting in the argument list. - * - * @param call_id The call index. - * @param dst The destination where the call will be - * transfered to. - * @param code Status code to be returned for the call transfer - * request. On input, it contains status code 200. - */ - void (*on_call_transfer_request)(pjsua_call_id call_id, - const pj_str_t *dst, - pjsip_status_code *code); - - /** - * Notify application on call being transfered (i.e. REFER is received). - * Application can decide to accept/reject transfer request - * by setting the code (default is 202). When this callback - * is not defined, the default behavior is to accept the - * transfer. - * - * @param call_id The call index. - * @param dst The destination where the call will be - * transfered to. - * @param code Status code to be returned for the call transfer - * request. On input, it contains status code 200. - * @param opt The current call setting, application can update - * this setting for the call being transfered. - */ - void (*on_call_transfer_request2)(pjsua_call_id call_id, - const pj_str_t *dst, - pjsip_status_code *code, - pjsua_call_setting *opt); - - /** - * Notify application of the status of previously sent call - * transfer request. Application can monitor the status of the - * call transfer request, for example to decide whether to - * terminate existing call. - * - * @param call_id Call ID. - * @param st_code Status progress of the transfer request. - * @param st_text Status progress text. - * @param final If non-zero, no further notification will - * be reported. The st_code specified in - * this callback is the final status. - * @param p_cont Initially will be set to non-zero, application - * can set this to FALSE if it no longer wants - * to receie further notification (for example, - * after it hangs up the call). - */ - void (*on_call_transfer_status)(pjsua_call_id call_id, - int st_code, - const pj_str_t *st_text, - pj_bool_t final, - pj_bool_t *p_cont); - - /** - * Notify application about incoming INVITE with Replaces header. - * Application may reject the request by setting non-2xx code. - * See also on_call_replace_request2() callback for the version - * with \a pjsua_call_setting in the argument list. - * - * @param call_id The call ID to be replaced. - * @param rdata The incoming INVITE request to replace the call. - * @param st_code Status code to be set by application. Application - * should only return a final status (200-699). - * @param st_text Optional status text to be set by application. - */ - void (*on_call_replace_request)(pjsua_call_id call_id, - pjsip_rx_data *rdata, - int *st_code, - pj_str_t *st_text); - - /** - * Notify application about incoming INVITE with Replaces header. - * Application may reject the request by setting non-2xx code. - * - * @param call_id The call ID to be replaced. - * @param rdata The incoming INVITE request to replace the call. - * @param st_code Status code to be set by application. Application - * should only return a final status (200-699). - * @param st_text Optional status text to be set by application. - * @param opt The current call setting, application can update - * this setting for the call being replaced. - */ - void (*on_call_replace_request2)(pjsua_call_id call_id, - pjsip_rx_data *rdata, - int *st_code, - pj_str_t *st_text, - pjsua_call_setting *opt); - - /** - * Notify application that an existing call has been replaced with - * a new call. This happens when PJSUA-API receives incoming INVITE - * request with Replaces header. - * - * After this callback is called, normally PJSUA-API will disconnect - * \a old_call_id and establish \a new_call_id. - * - * @param old_call_id Existing call which to be replaced with the - * new call. - * @param new_call_id The new call. - * @param rdata The incoming INVITE with Replaces request. - */ - void (*on_call_replaced)(pjsua_call_id old_call_id, - pjsua_call_id new_call_id); - - - /** - * Notify application when call has received new offer from remote - * (i.e. re-INVITE/UPDATE with SDP is received). Application can - * decide to accept/reject the offer by setting the code (default - * is 200). If the offer is accepted, application can update the - * call setting to be applied in the answer. When this callback is - * not defined, the default behavior is to accept the offer using - * current call setting. - * - * @param call_id The call index. - * @param offer The new offer received. - * @param reserved Reserved param, currently not used. - * @param code Status code to be returned for answering the - * offer. On input, it contains status code 200. - * Currently, valid values are only 200 and 488. - * @param opt The current call setting, application can update - * this setting for answering the offer. - */ - void (*on_call_rx_offer)(pjsua_call_id call_id, - const pjmedia_sdp_session *offer, - void *reserved, - pjsip_status_code *code, - pjsua_call_setting *opt); - - /** - * Notify application when registration or unregistration has been - * initiated. Note that this only notifies the initial registration - * and unregistration. Once registration session is active, subsequent - * refresh will not cause this callback to be called. - * - * @param acc_id The account ID. - * @param renew Non-zero for registration and zero for - * unregistration. - */ - void (*on_reg_started)(pjsua_acc_id acc_id, pj_bool_t renew); - - /** - * Notify application when registration status has changed. - * Application may then query the account info to get the - * registration details. - * - * @param acc_id The account ID. - */ - void (*on_reg_state)(pjsua_acc_id acc_id); - - /** - * Notify application when registration status has changed. - * Application may inspect the registration info to get the - * registration status details. - * - * @param acc_id The account ID. - * @param info The registration info. - */ - void (*on_reg_state2)(pjsua_acc_id acc_id, pjsua_reg_info *info); - - /** - * Notification when incoming SUBSCRIBE request is received. Application - * may use this callback to authorize the incoming subscribe request - * (e.g. ask user permission if the request should be granted). - * - * If this callback is not implemented, all incoming presence subscription - * requests will be accepted. - * - * If this callback is implemented, application has several choices on - * what to do with the incoming request: - * - it may reject the request immediately by specifying non-200 class - * final response in the \a code argument. - * - it may immediately accept the request by specifying 200 as the - * \a code argument. This is the default value if application doesn't - * set any value to the \a code argument. In this case, the library - * will automatically send NOTIFY request upon returning from this - * callback. - * - it may delay the processing of the request, for example to request - * user permission whether to accept or reject the request. In this - * case, the application MUST set the \a code argument to 202, and - * later calls #pjsua_pres_notify() to accept or reject the - * subscription request. - * - * Any \a code other than 200 and 202 will be treated as 200. - * - * Application MUST return from this callback immediately (e.g. it must - * not block in this callback while waiting for user confirmation). - * - * @param srv_pres Server presence subscription instance. If - * application delays the acceptance of the request, - * it will need to specify this object when calling - * #pjsua_pres_notify(). - * @param acc_id Account ID most appropriate for this request. - * @param buddy_id ID of the buddy matching the sender of the - * request, if any, or PJSUA_INVALID_ID if no - * matching buddy is found. - * @param from The From URI of the request. - * @param rdata The incoming request. - * @param code The status code to respond to the request. The - * default value is 200. Application may set this - * to other final status code to accept or reject - * the request. - * @param reason The reason phrase to respond to the request. - * @param msg_data If the application wants to send additional - * headers in the response, it can put it in this - * parameter. - */ - void (*on_incoming_subscribe)(pjsua_acc_id acc_id, - pjsua_srv_pres *srv_pres, - pjsua_buddy_id buddy_id, - const pj_str_t *from, - pjsip_rx_data *rdata, - pjsip_status_code *code, - pj_str_t *reason, - pjsua_msg_data *msg_data); - - /** - * Notification when server side subscription state has changed. - * This callback is optional as application normally does not need - * to do anything to maintain server side presence subscription. - * - * @param acc_id The account ID. - * @param srv_pres Server presence subscription object. - * @param remote_uri Remote URI string. - * @param state New subscription state. - * @param event PJSIP event that triggers the state change. - */ - void (*on_srv_subscribe_state)(pjsua_acc_id acc_id, - pjsua_srv_pres *srv_pres, - const pj_str_t *remote_uri, - pjsip_evsub_state state, - pjsip_event *event); - - /** - * Notify application when the buddy state has changed. - * Application may then query the buddy into to get the details. - * - * @param buddy_id The buddy id. - */ - void (*on_buddy_state)(pjsua_buddy_id buddy_id); - - - /** - * Notify application when the state of client subscription session - * associated with a buddy has changed. Application may use this - * callback to retrieve more detailed information about the state - * changed event. - * - * @param buddy_id The buddy id. - * @param sub Event subscription session. - * @param event The event which triggers state change event. - */ - void (*on_buddy_evsub_state)(pjsua_buddy_id buddy_id, - pjsip_evsub *sub, - pjsip_event *event); - - /** - * Notify application on incoming pager (i.e. MESSAGE request). - * Argument call_id will be -1 if MESSAGE request is not related to an - * existing call. - * - * See also \a on_pager2() callback for the version with \a pjsip_rx_data - * passed as one of the argument. - * - * @param call_id Containts the ID of the call where the IM was - * sent, or PJSUA_INVALID_ID if the IM was sent - * outside call context. - * @param from URI of the sender. - * @param to URI of the destination message. - * @param contact The Contact URI of the sender, if present. - * @param mime_type MIME type of the message. - * @param body The message content. - */ - void (*on_pager)(pjsua_call_id call_id, const pj_str_t *from, - const pj_str_t *to, const pj_str_t *contact, - const pj_str_t *mime_type, const pj_str_t *body); - - /** - * This is the alternative version of the \a on_pager() callback with - * \a pjsip_rx_data argument. - * - * @param call_id Containts the ID of the call where the IM was - * sent, or PJSUA_INVALID_ID if the IM was sent - * outside call context. - * @param from URI of the sender. - * @param to URI of the destination message. - * @param contact The Contact URI of the sender, if present. - * @param mime_type MIME type of the message. - * @param body The message content. - * @param rdata The incoming MESSAGE request. - * @param acc_id Account ID most suitable for this message. - */ - void (*on_pager2)(pjsua_call_id call_id, const pj_str_t *from, - const pj_str_t *to, const pj_str_t *contact, - const pj_str_t *mime_type, const pj_str_t *body, - pjsip_rx_data *rdata, pjsua_acc_id acc_id); - - /** - * Notify application about the delivery status of outgoing pager - * request. See also on_pager_status2() callback for the version with - * \a pjsip_rx_data in the argument list. - * - * @param call_id Containts the ID of the call where the IM was - * sent, or PJSUA_INVALID_ID if the IM was sent - * outside call context. - * @param to Destination URI. - * @param body Message body. - * @param user_data Arbitrary data that was specified when sending - * IM message. - * @param status Delivery status. - * @param reason Delivery status reason. - */ - void (*on_pager_status)(pjsua_call_id call_id, - const pj_str_t *to, - const pj_str_t *body, - void *user_data, - pjsip_status_code status, - const pj_str_t *reason); - - /** - * Notify application about the delivery status of outgoing pager - * request. - * - * @param call_id Containts the ID of the call where the IM was - * sent, or PJSUA_INVALID_ID if the IM was sent - * outside call context. - * @param to Destination URI. - * @param body Message body. - * @param user_data Arbitrary data that was specified when sending - * IM message. - * @param status Delivery status. - * @param reason Delivery status reason. - * @param tdata The original MESSAGE request. - * @param rdata The incoming MESSAGE response, or NULL if the - * message transaction fails because of time out - * or transport error. - * @param acc_id Account ID from this the instant message was - * send. - */ - void (*on_pager_status2)(pjsua_call_id call_id, - const pj_str_t *to, - const pj_str_t *body, - void *user_data, - pjsip_status_code status, - const pj_str_t *reason, - pjsip_tx_data *tdata, - pjsip_rx_data *rdata, - pjsua_acc_id acc_id); - - /** - * Notify application about typing indication. - * - * @param call_id Containts the ID of the call where the IM was - * sent, or PJSUA_INVALID_ID if the IM was sent - * outside call context. - * @param from URI of the sender. - * @param to URI of the destination message. - * @param contact The Contact URI of the sender, if present. - * @param is_typing Non-zero if peer is typing, or zero if peer - * has stopped typing a message. - */ - void (*on_typing)(pjsua_call_id call_id, const pj_str_t *from, - const pj_str_t *to, const pj_str_t *contact, - pj_bool_t is_typing); - - /** - * Notify application about typing indication. - * - * @param call_id Containts the ID of the call where the IM was - * sent, or PJSUA_INVALID_ID if the IM was sent - * outside call context. - * @param from URI of the sender. - * @param to URI of the destination message. - * @param contact The Contact URI of the sender, if present. - * @param is_typing Non-zero if peer is typing, or zero if peer - * has stopped typing a message. - * @param rdata The received request. - * @param acc_id Account ID most suitable for this message. - */ - void (*on_typing2)(pjsua_call_id call_id, const pj_str_t *from, - const pj_str_t *to, const pj_str_t *contact, - pj_bool_t is_typing, pjsip_rx_data *rdata, - pjsua_acc_id acc_id); - - /** - * Callback when the library has finished performing NAT type - * detection. - * - * @param res NAT detection result. - */ - void (*on_nat_detect)(const pj_stun_nat_detect_result *res); - - /** - * This callback is called when the call is about to resend the - * INVITE request to the specified target, following the previously - * received redirection response. - * - * Application may accept the redirection to the specified target - * (the default behavior if this callback is implemented), reject - * this target only and make the session continue to try the next - * target in the list if such target exists, stop the whole - * redirection process altogether and cause the session to be - * disconnected, or defer the decision to ask for user confirmation. - * - * This callback is optional. If this callback is not implemented, - * the default behavior is to NOT follow the redirection response. - * - * @param call_id The call ID. - * @param target The current target to be tried. - * @param e The event that caused this callback to be called. - * This could be the receipt of 3xx response, or - * 4xx/5xx response received for the INVITE sent to - * subsequent targets, or NULL if this callback is - * called from within #pjsua_call_process_redirect() - * context. - * - * @return Action to be performed for the target. Set this - * parameter to one of the value below: - * - PJSIP_REDIRECT_ACCEPT: immediately accept the - * redirection (default value). When set, the - * call will immediately resend INVITE request - * to the target. - * - PJSIP_REDIRECT_REJECT: immediately reject this - * target. The call will continue retrying with - * next target if present, or disconnect the call - * if there is no more target to try. - * - PJSIP_REDIRECT_STOP: stop the whole redirection - * process and immediately disconnect the call. The - * on_call_state() callback will be called with - * PJSIP_INV_STATE_DISCONNECTED state immediately - * after this callback returns. - * - PJSIP_REDIRECT_PENDING: set to this value if - * no decision can be made immediately (for example - * to request confirmation from user). Application - * then MUST call #pjsua_call_process_redirect() - * to either accept or reject the redirection upon - * getting user decision. - */ - pjsip_redirect_op (*on_call_redirected)(pjsua_call_id call_id, - const pjsip_uri *target, - const pjsip_event *e); - - /** - * This callback is called when a NOTIFY request for message summary / - * message waiting indication is received. - * - * @param acc_id The account ID. - * @param mwi_info Structure containing details of the event, - * including the received NOTIFY request in the - * \a rdata field. - */ - void (*on_mwi_info)(pjsua_acc_id acc_id, pjsua_mwi_info *mwi_info); - - /** - * This callback is called when transport state is changed. See also - * #pjsip_tp_state_callback. - */ - pjsip_tp_state_callback on_transport_state; - - /** - * This callback is called when media transport state is changed. See - * also #pjsua_med_tp_state_cb. - */ - pjsua_med_tp_state_cb on_call_media_transport_state; - - /** - * This callback is called to report error in ICE media transport. - * Currently it is used to report TURN Refresh error. - * - * @param index Transport index. - * @param op Operation which trigger the failure. - * @param status Error status. - * @param param Additional info about the event. Currently this will - * always be set to NULL. - */ - void (*on_ice_transport_error)(int index, pj_ice_strans_op op, - pj_status_t status, void *param); - - /** - * Callback when the sound device is about to be opened or closed. - * This callback will be called even when null sound device or no - * sound device is configured by the application (i.e. the - * #pjsua_set_null_snd_dev() and #pjsua_set_no_snd_dev() APIs). - * This API is mostly useful when the application wants to manage - * the sound device by itself (i.e. with #pjsua_set_no_snd_dev()), - * to get notified when it should open or close the sound device. - * - * @param operation The value will be set to 0 to signal that sound - * device is about to be closed, and 1 to be opened. - * - * @return The callback must return PJ_SUCCESS at the moment. - */ - pj_status_t (*on_snd_dev_operation)(int operation); - - /** - * Notification about media events such as video notifications. This - * callback will most likely be called from media threads, thus - * application must not perform heavy processing in this callback. - * Especially, application must not destroy the call or media in this - * callback. If application needs to perform more complex tasks to - * handle the event, it should post the task to another thread. - * - * @param call_id The call id. - * @param med_idx The media stream index. - * @param event The media event. - */ - void (*on_call_media_event)(pjsua_call_id call_id, - unsigned med_idx, - pjmedia_event *event); - - /** - * This callback can be used by application to implement custom media - * transport adapter for the call, or to replace the media transport - * with something completely new altogether. - * - * This callback is called when a new call is created. The library has - * created a media transport for the call, and it is provided as the - * \a base_tp argument of this callback. Upon returning, the callback - * must return an instance of media transport to be used by the call. - * - * @param call_id Call ID - * @param media_idx The media index in the SDP for which this media - * transport will be used. - * @param base_tp The media transport which otherwise will be - * used by the call has this callback not been - * implemented. - * @param flags Bitmask from pjsua_create_media_transport_flag. - * - * @return The callback must return an instance of media - * transport to be used by the call. - */ - pjmedia_transport* (*on_create_media_transport)(pjsua_call_id call_id, - unsigned media_idx, - pjmedia_transport *base_tp, - unsigned flags); - -} pjsua_callback; - - -/** - * This enumeration specifies the usage of SIP Session Timers extension. - */ -typedef enum pjsua_sip_timer_use -{ - /** - * When this flag is specified, Session Timers will not be used in any - * session, except it is explicitly required in the remote request. - */ - PJSUA_SIP_TIMER_INACTIVE, - - /** - * When this flag is specified, Session Timers will be used in all - * sessions whenever remote supports and uses it. - */ - PJSUA_SIP_TIMER_OPTIONAL, - - /** - * When this flag is specified, Session Timers support will be - * a requirement for the remote to be able to establish a session. - */ - PJSUA_SIP_TIMER_REQUIRED, - - /** - * When this flag is specified, Session Timers will always be used - * in all sessions, regardless whether remote supports/uses it or not. - */ - PJSUA_SIP_TIMER_ALWAYS - -} pjsua_sip_timer_use; - - -/** - * This constants controls the use of 100rel extension. - */ -typedef enum pjsua_100rel_use -{ - /** - * Not used. For UAC, support for 100rel will be indicated in Supported - * header so that peer can opt to use it if it wants to. As UAS, this - * option will NOT cause 100rel to be used even if UAC indicates that - * it supports this feature. - */ - PJSUA_100REL_NOT_USED, - - /** - * Mandatory. UAC will place 100rel in Require header, and UAS will - * reject incoming calls unless it has 100rel in Supported header. - */ - PJSUA_100REL_MANDATORY, - - /** - * Optional. Similar to PJSUA_100REL_NOT_USED, except that as UAS, this - * option will cause 100rel to be used if UAC indicates that it supports it. - */ - PJSUA_100REL_OPTIONAL - -} pjsua_100rel_use; - - -/** - * This structure describes the settings to control the API and - * user agent behavior, and can be specified when calling #pjsua_init(). - * Before setting the values, application must call #pjsua_config_default() - * to initialize this structure with the default values. - */ -typedef struct pjsua_config -{ - - /** - * Maximum calls to support (default: 4). The value specified here - * must be smaller than the compile time maximum settings - * PJSUA_MAX_CALLS, which by default is 32. To increase this - * limit, the library must be recompiled with new PJSUA_MAX_CALLS - * value. - */ - unsigned max_calls; - - /** - * Number of worker threads. Normally application will want to have at - * least one worker thread, unless when it wants to poll the library - * periodically, which in this case the worker thread can be set to - * zero. - */ - unsigned thread_cnt; - - /** - * Number of nameservers. If no name server is configured, the SIP SRV - * resolution would be disabled, and domain will be resolved with - * standard pj_gethostbyname() function. - */ - unsigned nameserver_count; - - /** - * Array of nameservers to be used by the SIP resolver subsystem. - * The order of the name server specifies the priority (first name - * server will be used first, unless it is not reachable). - */ - pj_str_t nameserver[4]; - - /** - * Force loose-route to be used in all route/proxy URIs (outbound_proxy - * and account's proxy settings). When this setting is enabled, the - * library will check all the route/proxy URIs specified in the settings - * and append ";lr" parameter to the URI if the parameter is not present. - * - * Default: 1 - */ - pj_bool_t force_lr; - - /** - * Number of outbound proxies in the \a outbound_proxy array. - */ - unsigned outbound_proxy_cnt; - - /** - * Specify the URL of outbound proxies to visit for all outgoing requests. - * The outbound proxies will be used for all accounts, and it will - * be used to build the route set for outgoing requests. The final - * route set for outgoing requests will consists of the outbound proxies - * and the proxy configured in the account. - */ - pj_str_t outbound_proxy[4]; - - /** - * Warning: deprecated, please use \a stun_srv field instead. To maintain - * backward compatibility, if \a stun_srv_cnt is zero then the value of - * this field will be copied to \a stun_srv field, if present. - * - * Specify domain name to be resolved with DNS SRV resolution to get the - * address of the STUN server. Alternatively application may specify - * \a stun_host instead. - * - * If DNS SRV resolution failed for this domain, then DNS A resolution - * will be performed only if \a stun_host is specified. - */ - pj_str_t stun_domain; - - /** - * Warning: deprecated, please use \a stun_srv field instead. To maintain - * backward compatibility, if \a stun_srv_cnt is zero then the value of - * this field will be copied to \a stun_srv field, if present. - * - * Specify STUN server to be used, in "HOST[:PORT]" format. If port is - * not specified, default port 3478 will be used. - */ - pj_str_t stun_host; - - /** - * Number of STUN server entries in \a stun_srv array. - */ - unsigned stun_srv_cnt; - - /** - * Array of STUN servers to try. The library will try to resolve and - * contact each of the STUN server entry until it finds one that is - * usable. Each entry may be a domain name, host name, IP address, and - * it may contain an optional port number. For example: - * - "pjsip.org" (domain name) - * - "sip.pjsip.org" (host name) - * - "pjsip.org:33478" (domain name and a non-standard port number) - * - "10.0.0.1:3478" (IP address and port number) - * - * When nameserver is configured in the \a pjsua_config.nameserver field, - * if entry is not an IP address, it will be resolved with DNS SRV - * resolution first, and it will fallback to use DNS A resolution if this - * fails. Port number may be specified even if the entry is a domain name, - * in case the DNS SRV resolution should fallback to a non-standard port. - * - * When nameserver is not configured, entries will be resolved with - * #pj_gethostbyname() if it's not an IP address. Port number may be - * specified if the server is not listening in standard STUN port. - */ - pj_str_t stun_srv[8]; - - /** - * This specifies if the library startup should ignore failure with the - * STUN servers. If this is set to PJ_FALSE, the library will refuse to - * start if it fails to resolve or contact any of the STUN servers. - * - * Default: PJ_TRUE - */ - pj_bool_t stun_ignore_failure; - - /** - * Support for adding and parsing NAT type in the SDP to assist - * troubleshooting. The valid values are: - * - 0: no information will be added in SDP, and parsing is disabled. - * - 1: only the NAT type number is added. - * - 2: add both NAT type number and name. - * - * Default: 1 - */ - int nat_type_in_sdp; - - /** - * Specify how the support for reliable provisional response (100rel/ - * PRACK) should be used by default. Note that this setting can be - * further customized in account configuration (#pjsua_acc_config). - * - * Default: PJSUA_100REL_NOT_USED - */ - pjsua_100rel_use require_100rel; - - /** - * Specify the usage of Session Timers for all sessions. See the - * #pjsua_sip_timer_use for possible values. Note that this setting can be - * further customized in account configuration (#pjsua_acc_config). - * - * Default: PJSUA_SIP_TIMER_OPTIONAL - */ - pjsua_sip_timer_use use_timer; - - /** - * Handle unsolicited NOTIFY requests containing message waiting - * indication (MWI) info. Unsolicited MWI is incoming NOTIFY requests - * which are not requested by client with SUBSCRIBE request. - * - * If this is enabled, the library will respond 200/OK to the NOTIFY - * request and forward the request to \a on_mwi_info() callback. - * - * See also \a mwi_enabled field #on pjsua_acc_config. - * - * Default: PJ_TRUE - * - */ - pj_bool_t enable_unsolicited_mwi; - - /** - * Specify Session Timer settings, see #pjsip_timer_setting. - * Note that this setting can be further customized in account - * configuration (#pjsua_acc_config). - */ - pjsip_timer_setting timer_setting; - - /** - * Number of credentials in the credential array. - */ - unsigned cred_count; - - /** - * Array of credentials. These credentials will be used by all accounts, - * and can be used to authenticate against outbound proxies. If the - * credential is specific to the account, then application should set - * the credential in the pjsua_acc_config rather than the credential - * here. - */ - pjsip_cred_info cred_info[PJSUA_ACC_MAX_PROXIES]; - - /** - * Application callback to receive various event notifications from - * the library. - */ - pjsua_callback cb; - - /** - * Optional user agent string (default empty). If it's empty, no - * User-Agent header will be sent with outgoing requests. - */ - pj_str_t user_agent; - - /** - * Specify default value of secure media transport usage. - * Valid values are PJMEDIA_SRTP_DISABLED, PJMEDIA_SRTP_OPTIONAL, and - * PJMEDIA_SRTP_MANDATORY. - * - * Note that this setting can be further customized in account - * configuration (#pjsua_acc_config). - * - * Default: #PJSUA_DEFAULT_USE_SRTP - */ - pjmedia_srtp_use use_srtp; - - /** - * Specify whether SRTP requires secure signaling to be used. This option - * is only used when \a use_srtp option above is non-zero. - * - * Valid values are: - * 0: SRTP does not require secure signaling - * 1: SRTP requires secure transport such as TLS - * 2: SRTP requires secure end-to-end transport (SIPS) - * - * Note that this setting can be further customized in account - * configuration (#pjsua_acc_config). - * - * Default: #PJSUA_DEFAULT_SRTP_SECURE_SIGNALING - */ - int srtp_secure_signaling; - - /** - * This setting has been deprecated and will be ignored. - */ - pj_bool_t srtp_optional_dup_offer; - - /** - * Disconnect other call legs when more than one 2xx responses for - * outgoing INVITE are received due to forking. Currently the library - * is not able to handle simultaneous forked media, so disconnecting - * the other call legs is necessary. - * - * With this setting enabled, the library will handle only one of the - * connected call leg, and the other connected call legs will be - * disconnected. - * - * Default: PJ_TRUE (only disable this setting for testing purposes). - */ - pj_bool_t hangup_forked_call; - -} pjsua_config; - - -/** - * Flags to be given to pjsua_destroy2() - */ -typedef enum pjsua_destroy_flag -{ - /** - * Allow sending outgoing messages (such as unregistration, event - * unpublication, BYEs, unsubscription, etc.), but do not wait for - * responses. This is useful to perform "best effort" clean up - * without delaying the shutdown process waiting for responses. - */ - PJSUA_DESTROY_NO_RX_MSG = 1, - - /** - * If this flag is set, do not send any outgoing messages at all. - * This flag is useful if application knows that the network which - * the messages are to be sent on is currently down. - */ - PJSUA_DESTROY_NO_TX_MSG = 2, - - /** - * Do not send or receive messages during destroy. This flag is - * shorthand for PJSUA_DESTROY_NO_RX_MSG + PJSUA_DESTROY_NO_TX_MSG. - */ - PJSUA_DESTROY_NO_NETWORK = PJSUA_DESTROY_NO_RX_MSG | - PJSUA_DESTROY_NO_TX_MSG - -} pjsua_destroy_flag; - -/** - * Use this function to initialize pjsua config. - * - * @param cfg pjsua config to be initialized. - */ -PJ_DECL(void) pjsua_config_default(pjsua_config *cfg); - - -/** The implementation has been moved to sip_auth.h */ -#define pjsip_cred_dup pjsip_cred_info_dup - - -/** - * Duplicate pjsua_config. - * - * @param pool The pool to get memory from. - * @param dst Destination config. - * @param src Source config. - */ -PJ_DECL(void) pjsua_config_dup(pj_pool_t *pool, - pjsua_config *dst, - const pjsua_config *src); - - -/** - * This structure describes additional information to be sent with - * outgoing SIP message. It can (optionally) be specified for example - * with #pjsua_call_make_call(), #pjsua_call_answer(), #pjsua_call_hangup(), - * #pjsua_call_set_hold(), #pjsua_call_send_im(), and many more. - * - * Application MUST call #pjsua_msg_data_init() to initialize this - * structure before setting its values. - */ -struct pjsua_msg_data -{ - /** - * Additional message headers as linked list. Application can add - * headers to the list by creating the header, either from the heap/pool - * or from temporary local variable, and add the header using - * linked list operation. See pjsua_app.c for some sample codes. - */ - pjsip_hdr hdr_list; - - /** - * MIME type of optional message body. - */ - pj_str_t content_type; - - /** - * Optional message body to be added to the message, only when the - * message doesn't have a body. - */ - pj_str_t msg_body; - - /** - * Content type of the multipart body. If application wants to send - * multipart message bodies, it puts the parts in \a parts and set - * the content type in \a multipart_ctype. If the message already - * contains a body, the body will be added to the multipart bodies. - */ - pjsip_media_type multipart_ctype; - - /** - * List of multipart parts. If application wants to send multipart - * message bodies, it puts the parts in \a parts and set the content - * type in \a multipart_ctype. If the message already contains a body, - * the body will be added to the multipart bodies. - */ - pjsip_multipart_part multipart_parts; -}; - - -/** - * Initialize message data. - * - * @param msg_data Message data to be initialized. - */ -PJ_DECL(void) pjsua_msg_data_init(pjsua_msg_data *msg_data); - - -/** - * Clone message data. - * - * @param pool Pool to allocate memory for the new message data. - * @param rhs Message data to be cloned. - * - * @return The new message data. - */ -PJ_DECL(pjsua_msg_data*) pjsua_msg_data_clone(pj_pool_t *pool, - const pjsua_msg_data *rhs); - - -/** - * Instantiate pjsua application. Application must call this function before - * calling any other functions, to make sure that the underlying libraries - * are properly initialized. Once this function has returned success, - * application must call pjsua_destroy() before quitting. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_create(void); - - -/** Forward declaration */ -typedef struct pjsua_media_config pjsua_media_config; - - -/** - * Initialize pjsua with the specified settings. All the settings are - * optional, and the default values will be used when the config is not - * specified. - * - * Note that #pjsua_create() MUST be called before calling this function. - * - * @param ua_cfg User agent configuration. - * @param log_cfg Optional logging configuration. - * @param media_cfg Optional media configuration. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_init(const pjsua_config *ua_cfg, - const pjsua_logging_config *log_cfg, - const pjsua_media_config *media_cfg); - - -/** - * Application is recommended to call this function after all initialization - * is done, so that the library can do additional checking set up - * additional - * - * Application may call this function anytime after #pjsua_init(). - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_start(void); - - -/** - * Destroy pjsua. Application is recommended to perform graceful shutdown - * before calling this function (such as unregister the account from the SIP - * server, terminate presense subscription, and hangup active calls), however, - * this function will do all of these if it finds there are active sessions - * that need to be terminated. This function will approximately block for - * one second to wait for replies from remote. - * - * Application.may safely call this function more than once if it doesn't - * keep track of it's state. - * - * @see pjsua_destroy2() - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_destroy(void); - - -/** - * Retrieve pjsua state. - * - * @return pjsua state. - */ -PJ_DECL(pjsua_state) pjsua_get_state(void); - - -/** - * Variant of destroy with additional flags. - * - * @param flags Combination of pjsua_destroy_flag enumeration. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_destroy2(unsigned flags); - - -/** - * Poll pjsua for events, and if necessary block the caller thread for - * the specified maximum interval (in miliseconds). - * - * Application doesn't normally need to call this function if it has - * configured worker thread (\a thread_cnt field) in pjsua_config structure, - * because polling then will be done by these worker threads instead. - * - * @param msec_timeout Maximum time to wait, in miliseconds. - * - * @return The number of events that have been handled during the - * poll. Negative value indicates error, and application - * can retrieve the error as (status = -return_value). - */ -PJ_DECL(int) pjsua_handle_events(unsigned msec_timeout); - - -/** - * Create memory pool to be used by the application. Once application - * finished using the pool, it must be released with pj_pool_release(). - * - * @param name Optional pool name. - * @param init_size Initial size of the pool. - * @param increment Increment size. - * - * @return The pool, or NULL when there's no memory. - */ -PJ_DECL(pj_pool_t*) pjsua_pool_create(const char *name, pj_size_t init_size, - pj_size_t increment); - - -/** - * Application can call this function at any time (after pjsua_create(), of - * course) to change logging settings. - * - * @param c Logging configuration. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_reconfigure_logging(const pjsua_logging_config *c); - - -/** - * Internal function to get SIP endpoint instance of pjsua, which is - * needed for example to register module, create transports, etc. - * Only valid after #pjsua_init() is called. - * - * @return SIP endpoint instance. - */ -PJ_DECL(pjsip_endpoint*) pjsua_get_pjsip_endpt(void); - -/** - * Internal function to get media endpoint instance. - * Only valid after #pjsua_init() is called. - * - * @return Media endpoint instance. - */ -PJ_DECL(pjmedia_endpt*) pjsua_get_pjmedia_endpt(void); - -/** - * Internal function to get PJSUA pool factory. - * Only valid after #pjsua_create() is called. - * - * @return Pool factory currently used by PJSUA. - */ -PJ_DECL(pj_pool_factory*) pjsua_get_pool_factory(void); - - - -/***************************************************************************** - * Utilities. - * - */ - -/** - * This structure is used to represent the result of the STUN server - * resolution and testing, the #pjsua_resolve_stun_servers() function. - * This structure will be passed in #pj_stun_resolve_cb callback. - */ -typedef struct pj_stun_resolve_result -{ - /** - * Arbitrary data that was passed to #pjsua_resolve_stun_servers() - * function. - */ - void *token; - - /** - * This will contain PJ_SUCCESS if at least one usable STUN server - * is found, otherwise it will contain the last error code during - * the operation. - */ - pj_status_t status; - - /** - * The server name that yields successful result. This will only - * contain value if status is successful. - */ - pj_str_t name; - - /** - * The server IP address. This will only contain value if status - * is successful. - */ - pj_sockaddr addr; - -} pj_stun_resolve_result; - - -/** - * Typedef of callback to be registered to #pjsua_resolve_stun_servers(). - */ -typedef void (*pj_stun_resolve_cb)(const pj_stun_resolve_result *result); - -/** - * This is a utility function to detect NAT type in front of this - * endpoint. Once invoked successfully, this function will complete - * asynchronously and report the result in \a on_nat_detect() callback - * of pjsua_callback. - * - * After NAT has been detected and the callback is called, application can - * get the detected NAT type by calling #pjsua_get_nat_type(). Application - * can also perform NAT detection by calling #pjsua_detect_nat_type() - * again at later time. - * - * Note that STUN must be enabled to run this function successfully. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_detect_nat_type(void); - - -/** - * Get the NAT type as detected by #pjsua_detect_nat_type() function. - * This function will only return useful NAT type after #pjsua_detect_nat_type() - * has completed successfully and \a on_nat_detect() callback has been called. - * - * @param type NAT type. - * - * @return When detection is in progress, this function will - * return PJ_EPENDING and \a type will be set to - * PJ_STUN_NAT_TYPE_UNKNOWN. After NAT type has been - * detected successfully, this function will return - * PJ_SUCCESS and \a type will be set to the correct - * value. Other return values indicate error and - * \a type will be set to PJ_STUN_NAT_TYPE_ERR_UNKNOWN. - * - * @see pjsua_call_get_rem_nat_type() - */ -PJ_DECL(pj_status_t) pjsua_get_nat_type(pj_stun_nat_type *type); - - -/** - * Auxiliary function to resolve and contact each of the STUN server - * entries (sequentially) to find which is usable. The #pjsua_init() must - * have been called before calling this function. - * - * @param count Number of STUN server entries to try. - * @param srv Array of STUN server entries to try. Please see - * the \a stun_srv field in the #pjsua_config - * documentation about the format of this entry. - * @param wait Specify non-zero to make the function block until - * it gets the result. In this case, the function - * will block while the resolution is being done, - * and the callback will be called before this function - * returns. - * @param token Arbitrary token to be passed back to application - * in the callback. - * @param cb Callback to be called to notify the result of - * the function. - * - * @return If \a wait parameter is non-zero, this will return - * PJ_SUCCESS if one usable STUN server is found. - * Otherwise it will always return PJ_SUCCESS, and - * application will be notified about the result in - * the callback. - */ -PJ_DECL(pj_status_t) pjsua_resolve_stun_servers(unsigned count, - pj_str_t srv[], - pj_bool_t wait, - void *token, - pj_stun_resolve_cb cb); - -/** - * Cancel pending STUN resolution which match the specified token. - * - * @param token The token to match. This token was given to - * #pjsua_resolve_stun_servers() - * @param notify_cb Boolean to control whether the callback should - * be called for cancelled resolutions. When the - * callback is called, the status in the result - * will be set as PJ_ECANCELLED. - * - * @return PJ_SUCCESS if there is at least one pending STUN - * resolution cancelled, or PJ_ENOTFOUND if there is - * no matching one, or other error. - */ -PJ_DECL(pj_status_t) pjsua_cancel_stun_resolution(void *token, - pj_bool_t notify_cb); - - -/** - * This is a utility function to verify that valid SIP url is given. If the - * URL is a valid SIP/SIPS scheme, PJ_SUCCESS will be returned. - * - * @param url The URL, as NULL terminated string. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - * - * @see pjsua_verify_url() - */ -PJ_DECL(pj_status_t) pjsua_verify_sip_url(const char *url); - - -/** - * This is a utility function to verify that valid URI is given. Unlike - * pjsua_verify_sip_url(), this function will return PJ_SUCCESS if tel: URI - * is given. - * - * @param url The URL, as NULL terminated string. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - * - * @see pjsua_verify_sip_url() - */ -PJ_DECL(pj_status_t) pjsua_verify_url(const char *url); - - -/** - * Schedule a timer entry. Note that the timer callback may be executed - * by different thread, depending on whether worker thread is enabled or - * not. - * - * @param entry Timer heap entry. - * @param delay The interval to expire. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - * - * @see pjsip_endpt_schedule_timer() - */ -PJ_DECL(pj_status_t) pjsua_schedule_timer(pj_timer_entry *entry, - const pj_time_val *delay); - -/** - * Schedule a callback function to be called after a specified time interval. - * Note that the callback may be executed by different thread, depending on - * whether worker thread is enabled or not. - * - * @param cb The callback function. - * @param user_data The user data. - * @param msec_delay The time interval in msec. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_schedule_timer2(void (*cb)(void *user_data), - void *user_data, - unsigned msec_delay); - -/** - * Cancel the previously scheduled timer. - * - * @param entry Timer heap entry. - * - * @see pjsip_endpt_cancel_timer() - */ -PJ_DECL(void) pjsua_cancel_timer(pj_timer_entry *entry); - - -/** - * This is a utility function to display error message for the specified - * error code. The error message will be sent to the log. - * - * @param sender The log sender field. - * @param title Message title for the error. - * @param status Status code. - */ -PJ_DECL(void) pjsua_perror(const char *sender, const char *title, - pj_status_t status); - - -/** - * This is a utility function to dump the stack states to log, using - * verbosity level 3. - * - * @param detail Will print detailed output (such as list of - * SIP transactions) when non-zero. - */ -PJ_DECL(void) pjsua_dump(pj_bool_t detail); - -/** - * @} - */ - - - -/***************************************************************************** - * TRANSPORT API - */ - -/** - * @defgroup PJSUA_LIB_TRANSPORT PJSUA-API Signaling Transport - * @ingroup PJSUA_LIB - * @brief API for managing SIP transports - * @{ - * - * PJSUA-API supports creating multiple transport instances, for example UDP, - * TCP, and TLS transport. SIP transport must be created before adding an - * account. - */ - - -/** SIP transport identification. - */ -typedef int pjsua_transport_id; - - -/** - * Transport configuration for creating transports for both SIP - * and media. Before setting some values to this structure, application - * MUST call #pjsua_transport_config_default() to initialize its - * values with default settings. - */ -typedef struct pjsua_transport_config -{ - /** - * UDP port number to bind locally. This setting MUST be specified - * even when default port is desired. If the value is zero, the - * transport will be bound to any available port, and application - * can query the port by querying the transport info. - */ - unsigned port; - - /** - * Optional address to advertise as the address of this transport. - * Application can specify any address or hostname for this field, - * for example it can point to one of the interface address in the - * system, or it can point to the public address of a NAT router - * where port mappings have been configured for the application. - * - * Note: this option can be used for both UDP and TCP as well! - */ - pj_str_t public_addr; - - /** - * Optional address where the socket should be bound to. This option - * SHOULD only be used to selectively bind the socket to particular - * interface (instead of 0.0.0.0), and SHOULD NOT be used to set the - * published address of a transport (the public_addr field should be - * used for that purpose). - * - * Note that unlike public_addr field, the address (or hostname) here - * MUST correspond to the actual interface address in the host, since - * this address will be specified as bind() argument. - */ - pj_str_t bound_addr; - - /** - * This specifies TLS settings for TLS transport. It is only be used - * when this transport config is being used to create a SIP TLS - * transport. - */ - pjsip_tls_setting tls_setting; - - /** - * QoS traffic type to be set on this transport. When application wants - * to apply QoS tagging to the transport, it's preferable to set this - * field rather than \a qos_param fields since this is more portable. - * - * Default is QoS not set. - */ - pj_qos_type qos_type; - - /** - * Set the low level QoS parameters to the transport. This is a lower - * level operation than setting the \a qos_type field and may not be - * supported on all platforms. - * - * Default is QoS not set. - */ - pj_qos_params qos_params; - -} pjsua_transport_config; - - -/** - * Call this function to initialize UDP config with default values. - * - * @param cfg The UDP config to be initialized. - */ -PJ_DECL(void) pjsua_transport_config_default(pjsua_transport_config *cfg); - - -/** - * Duplicate transport config. - * - * @param pool The pool. - * @param dst The destination config. - * @param src The source config. - */ -PJ_DECL(void) pjsua_transport_config_dup(pj_pool_t *pool, - pjsua_transport_config *dst, - const pjsua_transport_config *src); - - -/** - * This structure describes transport information returned by - * #pjsua_transport_get_info() function. - */ -typedef struct pjsua_transport_info -{ - /** - * PJSUA transport identification. - */ - pjsua_transport_id id; - - /** - * Transport type. - */ - pjsip_transport_type_e type; - - /** - * Transport type name. - */ - pj_str_t type_name; - - /** - * Transport string info/description. - */ - pj_str_t info; - - /** - * Transport flag (see ##pjsip_transport_flags_e). - */ - unsigned flag; - - /** - * Local address length. - */ - unsigned addr_len; - - /** - * Local/bound address. - */ - pj_sockaddr local_addr; - - /** - * Published address (or transport address name). - */ - pjsip_host_port local_name; - - /** - * Current number of objects currently referencing this transport. - */ - unsigned usage_count; - - -} pjsua_transport_info; - - -/** - * Create and start a new SIP transport according to the specified - * settings. - * - * @param type Transport type. - * @param cfg Transport configuration. - * @param p_id Optional pointer to receive transport ID. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_transport_create(pjsip_transport_type_e type, - const pjsua_transport_config *cfg, - pjsua_transport_id *p_id); - -/** - * Register transport that has been created by application. This function - * is useful if application wants to implement custom SIP transport and use - * it with pjsua. - * - * @param tp Transport instance. - * @param p_id Optional pointer to receive transport ID. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_transport_register(pjsip_transport *tp, - pjsua_transport_id *p_id); - - -/** - * Enumerate all transports currently created in the system. This function - * will return all transport IDs, and application may then call - * #pjsua_transport_get_info() function to retrieve detailed information - * about the transport. - * - * @param id Array to receive transport ids. - * @param count In input, specifies the maximum number of elements. - * On return, it contains the actual number of elements. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_enum_transports( pjsua_transport_id id[], - unsigned *count ); - - -/** - * Get information about transports. - * - * @param id Transport ID. - * @param info Pointer to receive transport info. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_transport_get_info(pjsua_transport_id id, - pjsua_transport_info *info); - - -/** - * Disable a transport or re-enable it. By default transport is always - * enabled after it is created. Disabling a transport does not necessarily - * close the socket, it will only discard incoming messages and prevent - * the transport from being used to send outgoing messages. - * - * @param id Transport ID. - * @param enabled Non-zero to enable, zero to disable. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_transport_set_enable(pjsua_transport_id id, - pj_bool_t enabled); - - -/** - * Close the transport. If transport is forcefully closed, it will be - * immediately closed, and any pending transactions that are using the - * transport may not terminate properly (it may even crash). Otherwise, - * the system will wait until all transactions are closed while preventing - * new users from using the transport, and will close the transport when - * it is safe to do so. - * - * @param id Transport ID. - * @param force Non-zero to immediately close the transport. This - * is not recommended! - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_transport_close( pjsua_transport_id id, - pj_bool_t force ); - -/** - * @} - */ - - - - -/***************************************************************************** - * ACCOUNT API - */ - - -/** - * @defgroup PJSUA_LIB_ACC PJSUA-API Accounts Management - * @ingroup PJSUA_LIB - * @brief PJSUA Accounts management - * @{ - * - * PJSUA accounts provide identity (or identities) of the user who is currently - * using the application. In SIP terms, the identity is used as the From - * header in outgoing requests. - * - * PJSUA-API supports creating and managing multiple accounts. The maximum - * number of accounts is limited by a compile time constant - * PJSUA_MAX_ACC. - * - * Account may or may not have client registration associated with it. - * An account is also associated with route set and some authentication - * credentials, which are used when sending SIP request messages using the - * account. An account also has presence's online status, which - * will be reported to remote peer when they subscribe to the account's - * presence, or which is published to a presence server if presence - * publication is enabled for the account. - * - * At least one account MUST be created in the application. If no user - * association is required, application can create a userless account by - * calling #pjsua_acc_add_local(). A userless account identifies local endpoint - * instead of a particular user, and it correspond with a particular - * transport instance. - * - * Also one account must be set as the default account, which is used as - * the account to use when PJSUA fails to match a request with any other - * accounts. - * - * When sending outgoing SIP requests (such as making calls or sending - * instant messages), normally PJSUA requires the application to specify - * which account to use for the request. If no account is specified, - * PJSUA may be able to select the account by matching the destination - * domain name, and fall back to default account when no match is found. - */ - -/** - * Maximum accounts. - */ -#ifndef PJSUA_MAX_ACC -# define PJSUA_MAX_ACC 8 -#endif - - -/** - * Default registration interval. - */ -#ifndef PJSUA_REG_INTERVAL -# define PJSUA_REG_INTERVAL 300 -#endif - - -/** - * Default maximum time to wait for account unregistration transactions to - * complete during library shutdown sequence. - * - * Default: 4000 (4 seconds) - */ -#ifndef PJSUA_UNREG_TIMEOUT -# define PJSUA_UNREG_TIMEOUT 4000 -#endif - - -/** - * Default PUBLISH expiration - */ -#ifndef PJSUA_PUBLISH_EXPIRATION -# define PJSUA_PUBLISH_EXPIRATION PJSIP_PUBC_EXPIRATION_NOT_SPECIFIED -#endif - - -/** - * Default account priority. - */ -#ifndef PJSUA_DEFAULT_ACC_PRIORITY -# define PJSUA_DEFAULT_ACC_PRIORITY 0 -#endif - - -/** - * This macro specifies the URI scheme to use in Contact header - * when secure transport such as TLS is used. Application can specify - * either "sip" or "sips". - */ -#ifndef PJSUA_SECURE_SCHEME -# define PJSUA_SECURE_SCHEME "sip" -#endif - - -/** - * Maximum time to wait for unpublication transaction(s) to complete - * during shutdown process, before sending unregistration. The library - * tries to wait for the unpublication (un-PUBLISH) to complete before - * sending REGISTER request to unregister the account, during library - * shutdown process. If the value is set too short, it is possible that - * the unregistration is sent before unpublication completes, causing - * unpublication request to fail. - * - * Default: 2000 (2 seconds) - */ -#ifndef PJSUA_UNPUBLISH_MAX_WAIT_TIME_MSEC -# define PJSUA_UNPUBLISH_MAX_WAIT_TIME_MSEC 2000 -#endif - - -/** - * Default auto retry re-registration interval, in seconds. Set to 0 - * to disable this. Application can set the timer on per account basis - * by setting the pjsua_acc_config.reg_retry_interval field instead. - * - * Default: 300 (5 minutes) - */ -#ifndef PJSUA_REG_RETRY_INTERVAL -# define PJSUA_REG_RETRY_INTERVAL 300 -#endif - - -/** - * This macro specifies the default value for \a contact_rewrite_method - * field in pjsua_acc_config. I specifies how Contact update will be - * done with the registration, if \a allow_contact_rewrite is enabled in - * the account config. - * - * If set to 1, the Contact update will be done by sending unregistration - * to the currently registered Contact, while simultaneously sending new - * registration (with different Call-ID) for the updated Contact. - * - * If set to 2, the Contact update will be done in a single, current - * registration session, by removing the current binding (by setting its - * Contact's expires parameter to zero) and adding a new Contact binding, - * all done in a single request. - * - * Value 1 is the legacy behavior. - * - * Default value: 2 - */ -#ifndef PJSUA_CONTACT_REWRITE_METHOD -# define PJSUA_CONTACT_REWRITE_METHOD 2 -#endif - - -/** - * Bit value used in pjsua_acc_config.reg_use_proxy field to indicate that - * the global outbound proxy list should be added to the REGISTER request. - */ -#define PJSUA_REG_USE_OUTBOUND_PROXY 1 - - -/** - * Bit value used in pjsua_acc_config.reg_use_proxy field to indicate that - * the account proxy list should be added to the REGISTER request. - */ -#define PJSUA_REG_USE_ACC_PROXY 2 - - -/** - * This enumeration specifies how we should offer call hold request to - * remote peer. The default value is set by compile time constant - * PJSUA_CALL_HOLD_TYPE_DEFAULT, and application may control the setting - * on per-account basis by manipulating \a call_hold_type field in - * #pjsua_acc_config. - */ -typedef enum pjsua_call_hold_type -{ - /** - * This will follow RFC 3264 recommendation to use a=sendonly, - * a=recvonly, and a=inactive attribute as means to signal call - * hold status. This is the correct value to use. - */ - PJSUA_CALL_HOLD_TYPE_RFC3264, - - /** - * This will use the old and deprecated method as specified in RFC 2543, - * and will offer c=0.0.0.0 in the SDP instead. Using this has many - * drawbacks such as inability to keep the media transport alive while - * the call is being put on hold, and should only be used if remote - * does not understand RFC 3264 style call hold offer. - */ - PJSUA_CALL_HOLD_TYPE_RFC2543 - -} pjsua_call_hold_type; - - -/** - * Specify the default call hold type to be used in #pjsua_acc_config. - * - * Default is PJSUA_CALL_HOLD_TYPE_RFC3264, and there's no reason to change - * this except if you're communicating with an old/non-standard peer. - */ -#ifndef PJSUA_CALL_HOLD_TYPE_DEFAULT -# define PJSUA_CALL_HOLD_TYPE_DEFAULT PJSUA_CALL_HOLD_TYPE_RFC3264 -#endif - -/** - * This structure describes account configuration to be specified when - * adding a new account with #pjsua_acc_add(). Application MUST initialize - * this structure first by calling #pjsua_acc_config_default(). - */ -typedef struct pjsua_acc_config -{ - /** - * Arbitrary user data to be associated with the newly created account. - * Application may set this later with #pjsua_acc_set_user_data() and - * retrieve it with #pjsua_acc_get_user_data(). - */ - void *user_data; - - /** - * Account priority, which is used to control the order of matching - * incoming/outgoing requests. The higher the number means the higher - * the priority is, and the account will be matched first. - */ - int priority; - - /** - * The full SIP URL for the account. The value can take name address or - * URL format, and will look something like "sip:account@serviceprovider". - * - * This field is mandatory. - */ - pj_str_t id; - - /** - * This is the URL to be put in the request URI for the registration, - * and will look something like "sip:serviceprovider". - * - * This field should be specified if registration is desired. If the - * value is empty, no account registration will be performed. - */ - pj_str_t reg_uri; - - /** - * The optional custom SIP headers to be put in the registration - * request. - */ - pjsip_hdr reg_hdr_list; - - /** - * The optional custom SIP headers to be put in the presence - * subscription request. - */ - pjsip_hdr sub_hdr_list; - - /** - * Subscribe to message waiting indication events (RFC 3842). - * - * See also \a enable_unsolicited_mwi field on #pjsua_config. - * - * Default: no - */ - pj_bool_t mwi_enabled; - - /** - * If this flag is set, the presence information of this account will - * be PUBLISH-ed to the server where the account belongs. - * - * Default: PJ_FALSE - */ - pj_bool_t publish_enabled; - - /** - * Event publication options. - */ - pjsip_publishc_opt publish_opt; - - /** - * Maximum time to wait for unpublication transaction(s) to complete - * during shutdown process, before sending unregistration. The library - * tries to wait for the unpublication (un-PUBLISH) to complete before - * sending REGISTER request to unregister the account, during library - * shutdown process. If the value is set too short, it is possible that - * the unregistration is sent before unpublication completes, causing - * unpublication request to fail. - * - * Default: PJSUA_UNPUBLISH_MAX_WAIT_TIME_MSEC - */ - unsigned unpublish_max_wait_time_msec; - - /** - * Authentication preference. - */ - pjsip_auth_clt_pref auth_pref; - - /** - * Optional PIDF tuple ID for outgoing PUBLISH and NOTIFY. If this value - * is not specified, a random string will be used. - */ - pj_str_t pidf_tuple_id; - - /** - * Optional URI to be put as Contact for this account. It is recommended - * that this field is left empty, so that the value will be calculated - * automatically based on the transport address. - */ - pj_str_t force_contact; - - /** - * Additional parameters that will be appended in the Contact header - * for this account. This will affect the Contact header in all SIP - * messages sent on behalf of this account, including but not limited to - * REGISTER, INVITE, and SUBCRIBE requests or responses. - * - * The parameters should be preceeded by semicolon, and all strings must - * be properly escaped. Example: - * ";my-param=X;another-param=Hi%20there" - */ - pj_str_t contact_params; - - /** - * Additional URI parameters that will be appended in the Contact URI - * for this account. This will affect the Contact URI in all SIP - * messages sent on behalf of this account, including but not limited to - * REGISTER, INVITE, and SUBCRIBE requests or responses. - * - * The parameters should be preceeded by semicolon, and all strings must - * be properly escaped. Example: - * ";my-param=X;another-param=Hi%20there" - */ - pj_str_t contact_uri_params; - - /** - * Specify how support for reliable provisional response (100rel/ - * PRACK) should be used for all sessions in this account. See the - * documentation of pjsua_100rel_use enumeration for more info. - * - * Default: The default value is taken from the value of - * require_100rel in pjsua_config. - */ - pjsua_100rel_use require_100rel; - - /** - * Specify the usage of Session Timers for all sessions. See the - * #pjsua_sip_timer_use for possible values. - * - * Default: PJSUA_SIP_TIMER_OPTIONAL - */ - pjsua_sip_timer_use use_timer; - - /** - * Specify Session Timer settings, see #pjsip_timer_setting. - */ - pjsip_timer_setting timer_setting; - - /** - * Number of proxies in the proxy array below. - */ - unsigned proxy_cnt; - - /** - * Optional URI of the proxies to be visited for all outgoing requests - * that are using this account (REGISTER, INVITE, etc). Application need - * to specify these proxies if the service provider requires that requests - * destined towards its network should go through certain proxies first - * (for example, border controllers). - * - * These proxies will be put in the route set for this account, with - * maintaining the orders (the first proxy in the array will be visited - * first). If global outbound proxies are configured in pjsua_config, - * then these account proxies will be placed after the global outbound - * proxies in the routeset. - */ - pj_str_t proxy[PJSUA_ACC_MAX_PROXIES]; - - /** - * Optional interval for registration, in seconds. If the value is zero, - * default interval will be used (PJSUA_REG_INTERVAL, 300 seconds). - */ - unsigned reg_timeout; - - /** - * Specify the number of seconds to refresh the client registration - * before the registration expires. - * - * Default: PJSIP_REGISTER_CLIENT_DELAY_BEFORE_REFRESH, 5 seconds - */ - unsigned reg_delay_before_refresh; - - /** - * Specify the maximum time to wait for unregistration requests to - * complete during library shutdown sequence. - * - * Default: PJSUA_UNREG_TIMEOUT - */ - unsigned unreg_timeout; - - /** - * Number of credentials in the credential array. - */ - unsigned cred_count; - - /** - * Array of credentials. If registration is desired, normally there should - * be at least one credential specified, to successfully authenticate - * against the service provider. More credentials can be specified, for - * example when the requests are expected to be challenged by the - * proxies in the route set. - */ - pjsip_cred_info cred_info[PJSUA_ACC_MAX_PROXIES]; - - /** - * Optionally bind this account to specific transport. This normally is - * not a good idea, as account should be able to send requests using - * any available transports according to the destination. But some - * application may want to have explicit control over the transport to - * use, so in that case it can set this field. - * - * Default: -1 (PJSUA_INVALID_ID) - * - * @see pjsua_acc_set_transport() - */ - pjsua_transport_id transport_id; - - /** - * This option is used to update the transport address and the Contact - * header of REGISTER request. When this option is enabled, the library - * will keep track of the public IP address from the response of REGISTER - * request. Once it detects that the address has changed, it will - * unregister current Contact, update the Contact with transport address - * learned from Via header, and register a new Contact to the registrar. - * This will also update the public name of UDP transport if STUN is - * configured. - * - * See also contact_rewrite_method field. - * - * Default: 1 (yes) - */ - pj_bool_t allow_contact_rewrite; - - /** - * Specify how Contact update will be done with the registration, if - * \a allow_contact_rewrite is enabled. - * - * If set to 1, the Contact update will be done by sending unregistration - * to the currently registered Contact, while simultaneously sending new - * registration (with different Call-ID) for the updated Contact. - * - * If set to 2, the Contact update will be done in a single, current - * registration session, by removing the current binding (by setting its - * Contact's expires parameter to zero) and adding a new Contact binding, - * all done in a single request. - * - * Value 1 is the legacy behavior. - * - * Default value: PJSUA_CONTACT_REWRITE_METHOD (2) - */ - int contact_rewrite_method; - - /** - * Control the use of SIP outbound feature. SIP outbound is described in - * RFC 5626 to enable proxies or registrar to send inbound requests back - * to UA using the same connection initiated by the UA for its - * registration. This feature is highly useful in NAT-ed deployemtns, - * hence it is enabled by default. - * - * Note: currently SIP outbound can only be used with TCP and TLS - * transports. If UDP is used for the registration, the SIP outbound - * feature will be silently ignored for the account. - * - * Default: PJ_TRUE - */ - unsigned use_rfc5626; - - /** - * Specify SIP outbound (RFC 5626) instance ID to be used by this - * application. If empty, an instance ID will be generated based on - * the hostname of this agent. If application specifies this parameter, the - * value will look like "" - * without the doublequote. - * - * Default: empty - */ - pj_str_t rfc5626_instance_id; - - /** - * Specify SIP outbound (RFC 5626) registration ID. The default value - * is empty, which would cause the library to automatically generate - * a suitable value. - * - * Default: empty - */ - pj_str_t rfc5626_reg_id; - - /** - * Set the interval for periodic keep-alive transmission for this account. - * If this value is zero, keep-alive will be disabled for this account. - * The keep-alive transmission will be sent to the registrar's address, - * after successful registration. - * - * Default: 15 (seconds) - */ - unsigned ka_interval; - - /** - * Specify the data to be transmitted as keep-alive packets. - * - * Default: CR-LF - */ - pj_str_t ka_data; - - /** - * Specify whether incoming video should be shown to screen by default. - * This applies to incoming call (INVITE), incoming re-INVITE, and - * incoming UPDATE requests. - * - * Regardless of this setting, application can detect incoming video - * by implementing \a on_call_media_state() callback and enumerating - * the media stream(s) with #pjsua_call_get_info(). Once incoming - * video is recognised, application may retrieve the window associated - * with the incoming video and show or hide it with - * #pjsua_vid_win_set_show(). - * - * Default: PJ_FALSE - */ - pj_bool_t vid_in_auto_show; - - /** - * Specify whether outgoing video should be activated by default when - * making outgoing calls and/or when incoming video is detected. This - * applies to incoming and outgoing calls, incoming re-INVITE, and - * incoming UPDATE. If the setting is non-zero, outgoing video - * transmission will be started as soon as response to these requests - * is sent (or received). - * - * Regardless of the value of this setting, application can start and - * stop outgoing video transmission with #pjsua_call_set_vid_strm(). - * - * Default: PJ_FALSE - */ - pj_bool_t vid_out_auto_transmit; - - /** - * Specify video window's flags. The value is a bitmask combination of - * #pjmedia_vid_dev_wnd_flag. - * - * Default: 0 - */ - unsigned vid_wnd_flags; - - /** - * Specify the default capture device to be used by this account. If - * \a vid_out_auto_transmit is enabled, this device will be used for - * capturing video. - * - * Default: PJMEDIA_VID_DEFAULT_CAPTURE_DEV - */ - pjmedia_vid_dev_index vid_cap_dev; - - /** - * Specify the default rendering device to be used by this account. - * - * Default: PJMEDIA_VID_DEFAULT_RENDER_DEV - */ - pjmedia_vid_dev_index vid_rend_dev; - - /** - * Specify the send rate control for video stream. - * - * Default: see #pjmedia_vid_stream_rc_config - */ - pjmedia_vid_stream_rc_config vid_stream_rc_cfg; - - /** - * Media transport config. - */ - pjsua_transport_config rtp_cfg; - - /** - * Specify whether secure media transport should be used for this account. - * Valid values are PJMEDIA_SRTP_DISABLED, PJMEDIA_SRTP_OPTIONAL, and - * PJMEDIA_SRTP_MANDATORY. - * - * Default: #PJSUA_DEFAULT_USE_SRTP - */ - pjmedia_srtp_use use_srtp; - - /** - * Specify whether SRTP requires secure signaling to be used. This option - * is only used when \a use_srtp option above is non-zero. - * - * Valid values are: - * 0: SRTP does not require secure signaling - * 1: SRTP requires secure transport such as TLS - * 2: SRTP requires secure end-to-end transport (SIPS) - * - * Default: #PJSUA_DEFAULT_SRTP_SECURE_SIGNALING - */ - int srtp_secure_signaling; - - /** - * This setting has been deprecated and will be ignored. - */ - pj_bool_t srtp_optional_dup_offer; - - /** - * Specify interval of auto registration retry upon registration failure - * (including caused by transport problem), in second. Set to 0 to - * disable auto re-registration. Note that if the registration retry - * occurs because of transport failure, the first retry will be done - * after \a reg_first_retry_interval seconds instead. Also note that - * the interval will be randomized slightly by approximately +/- ten - * seconds to avoid all clients re-registering at the same time. - * - * See also \a reg_first_retry_interval setting. - * - * Default: #PJSUA_REG_RETRY_INTERVAL - */ - unsigned reg_retry_interval; - - /** - * This specifies the interval for the first registration retry. The - * registration retry is explained in \a reg_retry_interval. Note that - * the value here will also be randomized by +/- ten seconds. - * - * Default: 0 - */ - unsigned reg_first_retry_interval; - - /** - * Specify whether calls of the configured account should be dropped - * after registration failure and an attempt of re-registration has - * also failed. - * - * Default: PJ_FALSE (disabled) - */ - pj_bool_t drop_calls_on_reg_fail; - - /** - * Specify how the registration uses the outbound and account proxy - * settings. This controls if and what Route headers will appear in - * the REGISTER request of this account. The value is bitmask combination - * of PJSUA_REG_USE_OUTBOUND_PROXY and PJSUA_REG_USE_ACC_PROXY bits. - * If the value is set to 0, the REGISTER request will not use any proxy - * (i.e. it will not have any Route headers). - * - * Default: 3 (PJSUA_REG_USE_OUTBOUND_PROXY | PJSUA_REG_USE_ACC_PROXY) - */ - unsigned reg_use_proxy; - -#if defined(PJMEDIA_STREAM_ENABLE_KA) && (PJMEDIA_STREAM_ENABLE_KA != 0) - /** - * Specify whether stream keep-alive and NAT hole punching with - * non-codec-VAD mechanism (see @ref PJMEDIA_STREAM_ENABLE_KA) is enabled - * for this account. - * - * Default: PJ_FALSE (disabled) - */ - pj_bool_t use_stream_ka; -#endif - - /** - * Specify how to offer call hold to remote peer. Please see the - * documentation on #pjsua_call_hold_type for more info. - * - * Default: PJSUA_CALL_HOLD_TYPE_DEFAULT - */ - pjsua_call_hold_type call_hold_type; - - - /** - * Specify whether the account should register as soon as it is - * added to the UA. Application can set this to PJ_FALSE and control - * the registration manually with pjsua_acc_set_registration(). - * - * Default: PJ_TRUE - */ - pj_bool_t register_on_acc_add; - -} pjsua_acc_config; - - -/** - * Call this function to initialize account config with default values. - * - * @param cfg The account config to be initialized. - */ -PJ_DECL(void) pjsua_acc_config_default(pjsua_acc_config *cfg); - - -/** - * Duplicate account config. - * - * @param pool Pool to be used for duplicating the config. - * @param dst Destination configuration. - * @param src Source configuration. - */ -PJ_DECL(void) pjsua_acc_config_dup(pj_pool_t *pool, - pjsua_acc_config *dst, - const pjsua_acc_config *src); - - -/** - * Account info. Application can query account info by calling - * #pjsua_acc_get_info(). - */ -typedef struct pjsua_acc_info -{ - /** - * The account ID. - */ - pjsua_acc_id id; - - /** - * Flag to indicate whether this is the default account. - */ - pj_bool_t is_default; - - /** - * Account URI - */ - pj_str_t acc_uri; - - /** - * Flag to tell whether this account has registration setting - * (reg_uri is not empty). - */ - pj_bool_t has_registration; - - /** - * An up to date expiration interval for account registration session. - */ - int expires; - - /** - * Last registration status code. If status code is zero, the account - * is currently not registered. Any other value indicates the SIP - * status code of the registration. - */ - pjsip_status_code status; - - /** - * Last registration error code. When the status field contains a SIP - * status code that indicates a registration failure, last registration - * error code contains the error code that causes the failure. In any - * other case, its value is zero. - */ - pj_status_t reg_last_err; - - /** - * String describing the registration status. - */ - pj_str_t status_text; - - /** - * Presence online status for this account. - */ - pj_bool_t online_status; - - /** - * Presence online status text. - */ - pj_str_t online_status_text; - - /** - * Extended RPID online status information. - */ - pjrpid_element rpid; - - /** - * Buffer that is used internally to store the status text. - */ - char buf_[PJ_ERR_MSG_SIZE]; - -} pjsua_acc_info; - - - -/** - * Get number of current accounts. - * - * @return Current number of accounts. - */ -PJ_DECL(unsigned) pjsua_acc_get_count(void); - - -/** - * Check if the specified account ID is valid. - * - * @param acc_id Account ID to check. - * - * @return Non-zero if account ID is valid. - */ -PJ_DECL(pj_bool_t) pjsua_acc_is_valid(pjsua_acc_id acc_id); - - -/** - * Set default account to be used when incoming and outgoing - * requests doesn't match any accounts. - * - * @param acc_id The account ID to be used as default. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsua_acc_set_default(pjsua_acc_id acc_id); - - -/** - * Get default account to be used when receiving incoming requests (calls), - * when the destination of the incoming call doesn't match any other - * accounts. - * - * @return The default account ID, or PJSUA_INVALID_ID if no - * default account is configured. - */ -PJ_DECL(pjsua_acc_id) pjsua_acc_get_default(void); - - -/** - * Add a new account to pjsua. PJSUA must have been initialized (with - * #pjsua_init()) before calling this function. If registration is configured - * for this account, this function would also start the SIP registration - * session with the SIP registrar server. This SIP registration session - * will be maintained internally by the library, and application doesn't - * need to do anything to maintain the registration session. - * - * - * @param acc_cfg Account configuration. - * @param is_default If non-zero, this account will be set as the default - * account. The default account will be used when sending - * outgoing requests (e.g. making call) when no account is - * specified, and when receiving incoming requests when the - * request does not match any accounts. It is recommended - * that default account is set to local/LAN account. - * @param p_acc_id Pointer to receive account ID of the new account. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_acc_add(const pjsua_acc_config *acc_cfg, - pj_bool_t is_default, - pjsua_acc_id *p_acc_id); - - -/** - * Add a local account. A local account is used to identify local endpoint - * instead of a specific user, and for this reason, a transport ID is needed - * to obtain the local address information. - * - * @param tid Transport ID to generate account address. - * @param is_default If non-zero, this account will be set as the default - * account. The default account will be used when sending - * outgoing requests (e.g. making call) when no account is - * specified, and when receiving incoming requests when the - * request does not match any accounts. It is recommended - * that default account is set to local/LAN account. - * @param p_acc_id Pointer to receive account ID of the new account. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_acc_add_local(pjsua_transport_id tid, - pj_bool_t is_default, - pjsua_acc_id *p_acc_id); - -/** - * Set arbitrary data to be associated with the account. - * - * @param acc_id The account ID. - * @param user_data User/application data. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_acc_set_user_data(pjsua_acc_id acc_id, - void *user_data); - - -/** - * Retrieve arbitrary data associated with the account. - * - * @param acc_id The account ID. - * - * @return The user data. In the case where the account ID is - * not valid, NULL is returned. - */ -PJ_DECL(void*) pjsua_acc_get_user_data(pjsua_acc_id acc_id); - - -/** - * Delete an account. This will unregister the account from the SIP server, - * if necessary, and terminate server side presence subscriptions associated - * with this account. - * - * @param acc_id Id of the account to be deleted. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_acc_del(pjsua_acc_id acc_id); - - -/** - * Get current config for the account. This will copy current account setting - * to the specified parameter. Note that all pointers in the settings will - * point to the original settings in the account and application must not - * modify the values in any way. Application must also take care that these - * data is only valid until the account is destroyed. - * - * @param acc_id The account ID. - * @param acc_cfg Structure to receive the settings. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_acc_get_config(pjsua_acc_id acc_id, - pjsua_acc_config *acc_cfg); - - -/** - * Modify account information. - * - * @param acc_id Id of the account to be modified. - * @param acc_cfg New account configuration. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_acc_modify(pjsua_acc_id acc_id, - const pjsua_acc_config *acc_cfg); - - -/** - * Modify account's presence status to be advertised to remote/presence - * subscribers. This would trigger the sending of outgoing NOTIFY request - * if there are server side presence subscription for this account, and/or - * outgoing PUBLISH if presence publication is enabled for this account. - * - * @see pjsua_acc_set_online_status2() - * - * @param acc_id The account ID. - * @param is_online True of false. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_acc_set_online_status(pjsua_acc_id acc_id, - pj_bool_t is_online); - -/** - * Modify account's presence status to be advertised to remote/presence - * subscribers. This would trigger the sending of outgoing NOTIFY request - * if there are server side presence subscription for this account, and/or - * outgoing PUBLISH if presence publication is enabled for this account. - * - * @see pjsua_acc_set_online_status() - * - * @param acc_id The account ID. - * @param is_online True of false. - * @param pr Extended information in subset of RPID format - * which allows setting custom presence text. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_acc_set_online_status2(pjsua_acc_id acc_id, - pj_bool_t is_online, - const pjrpid_element *pr); - -/** - * Update registration or perform unregistration. If registration is - * configured for this account, then initial SIP REGISTER will be sent - * when the account is added with #pjsua_acc_add(). Application normally - * only need to call this function if it wants to manually update the - * registration or to unregister from the server. - * - * @param acc_id The account ID. - * @param renew If renew argument is zero, this will start - * unregistration process. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_acc_set_registration(pjsua_acc_id acc_id, - pj_bool_t renew); - -/** - * Get information about the specified account. - * - * @param acc_id Account identification. - * @param info Pointer to receive account information. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_acc_get_info(pjsua_acc_id acc_id, - pjsua_acc_info *info); - - -/** - * Enumerate all account currently active in the library. This will fill - * the array with the account Ids, and application can then query the - * account information for each id with #pjsua_acc_get_info(). - * - * @see pjsua_acc_enum_info(). - * - * @param ids Array of account IDs to be initialized. - * @param count In input, specifies the maximum number of elements. - * On return, it contains the actual number of elements. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_enum_accs(pjsua_acc_id ids[], - unsigned *count ); - - -/** - * Enumerate account informations. - * - * @param info Array of account infos to be initialized. - * @param count In input, specifies the maximum number of elements. - * On return, it contains the actual number of elements. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_acc_enum_info( pjsua_acc_info info[], - unsigned *count ); - - -/** - * This is an internal function to find the most appropriate account to - * used to reach to the specified URL. - * - * @param url The remote URL to reach. - * - * @return Account id. - */ -PJ_DECL(pjsua_acc_id) pjsua_acc_find_for_outgoing(const pj_str_t *url); - - -/** - * This is an internal function to find the most appropriate account to be - * used to handle incoming calls. - * - * @param rdata The incoming request message. - * - * @return Account id. - */ -PJ_DECL(pjsua_acc_id) pjsua_acc_find_for_incoming(pjsip_rx_data *rdata); - - -/** - * Create arbitrary requests using the account. Application should only use - * this function to create auxiliary requests outside dialog, such as - * OPTIONS, and use the call or presence API to create dialog related - * requests. - * - * @param acc_id The account ID. - * @param method The SIP method of the request. - * @param target Target URI. - * @param p_tdata Pointer to receive the request. - * - * @return PJ_SUCCESS or the error code. - */ -PJ_DECL(pj_status_t) pjsua_acc_create_request(pjsua_acc_id acc_id, - const pjsip_method *method, - const pj_str_t *target, - pjsip_tx_data **p_tdata); - - -/** - * Create a suitable Contact header value, based on the specified target URI - * for the specified account. - * - * @param pool Pool to allocate memory for the string. - * @param contact The string where the Contact will be stored. - * @param acc_id Account ID. - * @param uri Destination URI of the request. - * - * @return PJ_SUCCESS on success, other on error. - */ -PJ_DECL(pj_status_t) pjsua_acc_create_uac_contact( pj_pool_t *pool, - pj_str_t *contact, - pjsua_acc_id acc_id, - const pj_str_t *uri); - - - -/** - * Create a suitable Contact header value, based on the information in the - * incoming request. - * - * @param pool Pool to allocate memory for the string. - * @param contact The string where the Contact will be stored. - * @param acc_id Account ID. - * @param rdata Incoming request. - * - * @return PJ_SUCCESS on success, other on error. - */ -PJ_DECL(pj_status_t) pjsua_acc_create_uas_contact( pj_pool_t *pool, - pj_str_t *contact, - pjsua_acc_id acc_id, - pjsip_rx_data *rdata ); - - -/** - * Lock/bind this account to a specific transport/listener. Normally - * application shouldn't need to do this, as transports will be selected - * automatically by the stack according to the destination. - * - * When account is locked/bound to a specific transport, all outgoing - * requests from this account will use the specified transport (this - * includes SIP registration, dialog (call and event subscription), and - * out-of-dialog requests such as MESSAGE). - * - * Note that transport_id may be specified in pjsua_acc_config too. - * - * @param acc_id The account ID. - * @param tp_id The transport ID. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsua_acc_set_transport(pjsua_acc_id acc_id, - pjsua_transport_id tp_id); - - -/** - * @} - */ - - -/***************************************************************************** - * CALLS API - */ - - -/** - * @defgroup PJSUA_LIB_CALL PJSUA-API Calls Management - * @ingroup PJSUA_LIB - * @brief Call manipulation. - * @{ - */ - -/** - * Maximum simultaneous calls. - */ -#ifndef PJSUA_MAX_CALLS -# define PJSUA_MAX_CALLS 32 -#endif - -/** - * Maximum active video windows - */ -#ifndef PJSUA_MAX_VID_WINS -# define PJSUA_MAX_VID_WINS 16 -#endif - -/** - * Video window ID. - */ -typedef int pjsua_vid_win_id; - - -/** - * This enumeration specifies the media status of a call, and it's part - * of pjsua_call_info structure. - */ -typedef enum pjsua_call_media_status -{ - /** - * Call currently has no media, or the media is not used. - */ - PJSUA_CALL_MEDIA_NONE, - - /** - * The media is active - */ - PJSUA_CALL_MEDIA_ACTIVE, - - /** - * The media is currently put on hold by local endpoint - */ - PJSUA_CALL_MEDIA_LOCAL_HOLD, - - /** - * The media is currently put on hold by remote endpoint - */ - PJSUA_CALL_MEDIA_REMOTE_HOLD, - - /** - * The media has reported error (e.g. ICE negotiation) - */ - PJSUA_CALL_MEDIA_ERROR - -} pjsua_call_media_status; - - -/** - * Enumeration of video keyframe request methods. Keyframe request is - * triggered by decoder, usually when the incoming video stream cannot - * be decoded properly due to missing video keyframe. - */ -typedef enum pjsua_vid_req_keyframe_method -{ - /** - * Requesting keyframe via SIP INFO message. Note that incoming keyframe - * request via SIP INFO will always be handled even if this flag is unset. - */ - PJSUA_VID_REQ_KEYFRAME_SIP_INFO = 1, - - /** - * Requesting keyframe via Picture Loss Indication of RTCP feedback. - * This is currently not supported. - */ - PJSUA_VID_REQ_KEYFRAME_RTCP_PLI = 2 - -} pjsua_vid_req_keyframe_method; - - -/** - * This structure describes the information and current status of a call. - */ -typedef struct pjsua_call_info -{ - /** Call identification. */ - pjsua_call_id id; - - /** Initial call role (UAC == caller) */ - pjsip_role_e role; - - /** The account ID where this call belongs. */ - pjsua_acc_id acc_id; - - /** Local URI */ - pj_str_t local_info; - - /** Local Contact */ - pj_str_t local_contact; - - /** Remote URI */ - pj_str_t remote_info; - - /** Remote contact */ - pj_str_t remote_contact; - - /** Dialog Call-ID string. */ - pj_str_t call_id; - - /** Call setting */ - pjsua_call_setting setting; - - /** Call state */ - pjsip_inv_state state; - - /** Text describing the state */ - pj_str_t state_text; - - /** Last status code heard, which can be used as cause code */ - pjsip_status_code last_status; - - /** The reason phrase describing the status. */ - pj_str_t last_status_text; - - /** Media status of the first audio stream. */ - pjsua_call_media_status media_status; - - /** Media direction of the first audio stream. */ - pjmedia_dir media_dir; - - /** The conference port number for the first audio stream. */ - pjsua_conf_port_id conf_slot; - - /** Number of media streams in this call */ - unsigned media_cnt; - - /** Array of media stream information */ - struct - { - /** Media index in SDP. */ - unsigned index; - - /** Media type. */ - pjmedia_type type; - - /** Media direction. */ - pjmedia_dir dir; - - /** Call media status. */ - pjsua_call_media_status status; - - /** The specific media stream info. */ - union { - /** Audio stream */ - struct { - /** The conference port number for the call. */ - pjsua_conf_port_id conf_slot; - } aud; - - /** Video stream */ - struct { - /** - * The window id for incoming video, if any, or - * PJSUA_INVALID_ID. - */ - pjsua_vid_win_id win_in; - - /** The video capture device for outgoing transmission, - * if any, or PJMEDIA_VID_INVALID_DEV - */ - pjmedia_vid_dev_index cap_dev; - - } vid; - } stream; - - } media[PJMEDIA_MAX_SDP_MEDIA]; - - /** Up-to-date call connected duration (zero when call is not - * established) - */ - pj_time_val connect_duration; - - /** Total call duration, including set-up time */ - pj_time_val total_duration; - - /** Flag if remote was SDP offerer */ - pj_bool_t rem_offerer; - - /** Number of audio streams offered by remote */ - unsigned rem_aud_cnt; - - /** Number of video streams offered by remote */ - unsigned rem_vid_cnt; - - /** Internal */ - struct { - char local_info[128]; - char local_contact[128]; - char remote_info[128]; - char remote_contact[128]; - char call_id[128]; - char last_status_text[128]; - } buf_; - -} pjsua_call_info; - -/** - * Flags to be given to various call APIs. More than one flags may be - * specified by bitmasking them. - */ -typedef enum pjsua_call_flag -{ - /** - * When the call is being put on hold, specify this flag to unhold it. - * This flag is only valid for #pjsua_call_reinvite(). Note: for - * compatibility reason, this flag must have value of 1 because - * previously the unhold option is specified as boolean value. - */ - PJSUA_CALL_UNHOLD = 1, - - /** - * Update the local invite session's contact with the contact URI from - * the account. This flag is only valid for #pjsua_call_reinvite() and - * #pjsua_call_update(). This flag is useful in IP address change - * situation, after the local account's Contact has been updated - * (typically with re-registration) use this flag to update the invite - * session with the new Contact and to inform this new Contact to the - * remote peer with the outgoing re-INVITE or UPDATE - */ - PJSUA_CALL_UPDATE_CONTACT = 2, - - /** - * Include SDP "m=" line with port set to zero for each disabled media - * (i.e when aud_cnt or vid_cnt is set to zero). This flag is only valid - * for #pjsua_call_make_call(). - */ - PJSUA_CALL_INCLUDE_DISABLED_MEDIA = 4 - -} pjsua_call_flag; - - -/** - * Media stream info. - */ -typedef struct pjsua_stream_info -{ - /** Media type of this stream. */ - pjmedia_type type; - - /** Stream info (union). */ - union { - /** Audio stream info */ - pjmedia_stream_info aud; - - /** Video stream info */ - pjmedia_vid_stream_info vid; - } info; - -} pjsua_stream_info; - - -/** - * Media stream statistic. - */ -typedef struct pjsua_stream_stat -{ - /** RTCP statistic. */ - pjmedia_rtcp_stat rtcp; - - /** Jitter buffer statistic. */ - pjmedia_jb_state jbuf; - -} pjsua_stream_stat; - -/** - * This enumeration represents video stream operation on a call. - * See also #pjsua_call_vid_strm_op_param for further info. - */ -typedef enum pjsua_call_vid_strm_op -{ - /** - * No operation - */ - PJSUA_CALL_VID_STRM_NO_OP, - - /** - * Add a new video stream. This will add a new m=video line to - * the media, regardless of whether existing video is/are present - * or not. This will cause re-INVITE or UPDATE to be sent to remote - * party. - */ - PJSUA_CALL_VID_STRM_ADD, - - /** - * Remove/disable an existing video stream. This will - * cause re-INVITE or UPDATE to be sent to remote party. - */ - PJSUA_CALL_VID_STRM_REMOVE, - - /** - * Change direction of a video stream. This operation can be used - * to activate or deactivate an existing video media. This will - * cause re-INVITE or UPDATE to be sent to remote party. - */ - PJSUA_CALL_VID_STRM_CHANGE_DIR, - - /** - * Change capture device of a video stream. This will not send - * re-INVITE or UPDATE to remote party. - */ - PJSUA_CALL_VID_STRM_CHANGE_CAP_DEV, - - /** - * Start transmitting video stream. This will cause previously - * stopped stream to start transmitting again. Note that no - * re-INVITE/UPDATE is to be transmitted to remote since this - * operation only operates on local stream. - */ - PJSUA_CALL_VID_STRM_START_TRANSMIT, - - /** - * Stop transmitting video stream. This will cause the stream to - * be paused in TX direction, causing it to stop sending any video - * packets. No re-INVITE/UPDATE is to be transmitted to remote - * with this operation. - */ - PJSUA_CALL_VID_STRM_STOP_TRANSMIT, - - /** - * Send keyframe in the video stream. This will force the stream to - * generate and send video keyframe as soon as possible. No - * re-INVITE/UPDATE is to be transmitted to remote with this operation. - */ - PJSUA_CALL_VID_STRM_SEND_KEYFRAME - -} pjsua_call_vid_strm_op; - - -/** - * Parameters for video stream operation on a call. Application should - * use #pjsua_call_vid_strm_op_param_default() to initialize this structure - * with its default values. - */ -typedef struct pjsua_call_vid_strm_op_param -{ - /** - * Specify the media stream index. This can be set to -1 to denote - * the default video stream in the call, which is the first active - * video stream or any first video stream if none is active. - * - * This field is valid for all video stream operations, except - * PJSUA_CALL_VID_STRM_ADD. - * - * Default: -1 (first active video stream, or any first video stream - * if none is active) - */ - int med_idx; - - /** - * Specify the media stream direction. - * - * This field is valid for the following video stream operations: - * PJSUA_CALL_VID_STRM_ADD and PJSUA_CALL_VID_STRM_CHANGE_DIR. - * - * Default: PJMEDIA_DIR_ENCODING_DECODING - */ - pjmedia_dir dir; - - /** - * Specify the video capture device ID. This can be set to - * PJMEDIA_VID_DEFAULT_CAPTURE_DEV to specify the default capture - * device as configured in the account. - * - * This field is valid for the following video stream operations: - * PJSUA_CALL_VID_STRM_ADD and PJSUA_CALL_VID_STRM_CHANGE_CAP_DEV. - * - * Default: PJMEDIA_VID_DEFAULT_CAPTURE_DEV. - */ - pjmedia_vid_dev_index cap_dev; - -} pjsua_call_vid_strm_op_param; - - -/** - * Initialize call settings. - * - * @param opt The call setting to be initialized. - */ -PJ_DECL(void) pjsua_call_setting_default(pjsua_call_setting *opt); - - -/** - * Initialize video stream operation param with default values. - * - * @param param The video stream operation param to be initialized. - */ -PJ_DECL(void) -pjsua_call_vid_strm_op_param_default(pjsua_call_vid_strm_op_param *param); - - -/** - * Get maximum number of calls configured in pjsua. - * - * @return Maximum number of calls configured. - */ -PJ_DECL(unsigned) pjsua_call_get_max_count(void); - -/** - * Get number of currently active calls. - * - * @return Number of currently active calls. - */ -PJ_DECL(unsigned) pjsua_call_get_count(void); - -/** - * Enumerate all active calls. Application may then query the information and - * state of each call by calling #pjsua_call_get_info(). - * - * @param ids Array of account IDs to be initialized. - * @param count In input, specifies the maximum number of elements. - * On return, it contains the actual number of elements. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_enum_calls(pjsua_call_id ids[], - unsigned *count); - - -/** - * Make outgoing call to the specified URI using the specified account. - * - * @param acc_id The account to be used. - * @param dst_uri URI to be put in the To header (normally is the same - * as the target URI). - * @param opt Optional call setting. This should be initialized - * using #pjsua_call_setting_default(). - * @param user_data Arbitrary user data to be attached to the call, and - * can be retrieved later. - * @param msg_data Optional headers etc to be added to outgoing INVITE - * request, or NULL if no custom header is desired. - * @param p_call_id Pointer to receive call identification. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_call_make_call(pjsua_acc_id acc_id, - const pj_str_t *dst_uri, - const pjsua_call_setting *opt, - void *user_data, - const pjsua_msg_data *msg_data, - pjsua_call_id *p_call_id); - - -/** - * Check if the specified call has active INVITE session and the INVITE - * session has not been disconnected. - * - * @param call_id Call identification. - * - * @return Non-zero if call is active. - */ -PJ_DECL(pj_bool_t) pjsua_call_is_active(pjsua_call_id call_id); - - -/** - * Check if call has an active media session. - * - * @param call_id Call identification. - * - * @return Non-zero if yes. - */ -PJ_DECL(pj_bool_t) pjsua_call_has_media(pjsua_call_id call_id); - - -/** - * Get the conference port identification associated with the call. - * - * @param call_id Call identification. - * - * @return Conference port ID, or PJSUA_INVALID_ID when the - * media has not been established or is not active. - */ -PJ_DECL(pjsua_conf_port_id) pjsua_call_get_conf_port(pjsua_call_id call_id); - -/** - * Obtain detail information about the specified call. - * - * @param call_id Call identification. - * @param info Call info to be initialized. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_call_get_info(pjsua_call_id call_id, - pjsua_call_info *info); - -/** - * Check if remote peer support the specified capability. - * - * @param call_id Call identification. - * @param htype The header type to be checked, which value may be: - * - PJSIP_H_ACCEPT - * - PJSIP_H_ALLOW - * - PJSIP_H_SUPPORTED - * @param hname If htype specifies PJSIP_H_OTHER, then the header - * name must be supplied in this argument. Otherwise the - * value must be set to NULL. - * @param token The capability token to check. For example, if \a - * htype is PJSIP_H_ALLOW, then \a token specifies the - * method names; if \a htype is PJSIP_H_SUPPORTED, then - * \a token specifies the extension names such as - * "100rel". - * - * @return PJSIP_DIALOG_CAP_SUPPORTED if the specified capability - * is explicitly supported, see @pjsip_dialog_cap_status - * for more info. - */ -PJ_DECL(pjsip_dialog_cap_status) pjsua_call_remote_has_cap( - pjsua_call_id call_id, - int htype, - const pj_str_t *hname, - const pj_str_t *token); - -/** - * Attach application specific data to the call. Application can then - * inspect this data by calling #pjsua_call_get_user_data(). - * - * @param call_id Call identification. - * @param user_data Arbitrary data to be attached to the call. - * - * @return The user data. - */ -PJ_DECL(pj_status_t) pjsua_call_set_user_data(pjsua_call_id call_id, - void *user_data); - - -/** - * Get user data attached to the call, which has been previously set with - * #pjsua_call_set_user_data(). - * - * @param call_id Call identification. - * - * @return The user data. - */ -PJ_DECL(void*) pjsua_call_get_user_data(pjsua_call_id call_id); - - -/** - * Get the NAT type of remote's endpoint. This is a proprietary feature - * of PJSUA-LIB which sends its NAT type in the SDP when \a nat_type_in_sdp - * is set in #pjsua_config. - * - * This function can only be called after SDP has been received from remote, - * which means for incoming call, this function can be called as soon as - * call is received as long as incoming call contains SDP, and for outgoing - * call, this function can be called only after SDP is received (normally in - * 200/OK response to INVITE). As a general case, application should call - * this function after or in \a on_call_media_state() callback. - * - * @param call_id Call identification. - * @param p_type Pointer to store the NAT type. Application can then - * retrieve the string description of the NAT type - * by calling pj_stun_get_nat_name(). - * - * @return PJ_SUCCESS on success. - * - * @see pjsua_get_nat_type(), nat_type_in_sdp - */ -PJ_DECL(pj_status_t) pjsua_call_get_rem_nat_type(pjsua_call_id call_id, - pj_stun_nat_type *p_type); - -/** - * Send response to incoming INVITE request. Depending on the status - * code specified as parameter, this function may send provisional - * response, establish the call, or terminate the call. - * - * @param call_id Incoming call identification. - * @param code Status code, (100-699). - * @param reason Optional reason phrase. If NULL, default text - * will be used. - * @param msg_data Optional list of headers etc to be added to outgoing - * response message. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_call_answer(pjsua_call_id call_id, - unsigned code, - const pj_str_t *reason, - const pjsua_msg_data *msg_data); - - -/** - * Send response to incoming INVITE request. Depending on the status - * code specified as parameter, this function may send provisional - * response, establish the call, or terminate the call. - * - * @param call_id Incoming call identification. - * @param opt Optional call setting. - * @param code Status code, (100-699). - * @param reason Optional reason phrase. If NULL, default text - * will be used. - * @param msg_data Optional list of headers etc to be added to outgoing - * response message. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_call_answer2(pjsua_call_id call_id, - const pjsua_call_setting *opt, - unsigned code, - const pj_str_t *reason, - const pjsua_msg_data *msg_data); - - -/** - * Hangup call by using method that is appropriate according to the - * call state. This function is different than answering the call with - * 3xx-6xx response (with #pjsua_call_answer()), in that this function - * will hangup the call regardless of the state and role of the call, - * while #pjsua_call_answer() only works with incoming calls on EARLY - * state. - * - * @param call_id Call identification. - * @param code Optional status code to be sent when we're rejecting - * incoming call. If the value is zero, "603/Decline" - * will be sent. - * @param reason Optional reason phrase to be sent when we're rejecting - * incoming call. If NULL, default text will be used. - * @param msg_data Optional list of headers etc to be added to outgoing - * request/response message. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_call_hangup(pjsua_call_id call_id, - unsigned code, - const pj_str_t *reason, - const pjsua_msg_data *msg_data); - -/** - * Accept or reject redirection response. Application MUST call this function - * after it signaled PJSIP_REDIRECT_PENDING in the \a on_call_redirected() - * callback, to notify the call whether to accept or reject the redirection - * to the current target. Application can use the combination of - * PJSIP_REDIRECT_PENDING command in \a on_call_redirected() callback and - * this function to ask for user permission before redirecting the call. - * - * Note that if the application chooses to reject or stop redirection (by - * using PJSIP_REDIRECT_REJECT or PJSIP_REDIRECT_STOP respectively), the - * call disconnection callback will be called before this function returns. - * And if the application rejects the target, the \a on_call_redirected() - * callback may also be called before this function returns if there is - * another target to try. - * - * @param call_id The call ID. - * @param cmd Redirection operation to be applied to the current - * target. The semantic of this argument is similar - * to the description in the \a on_call_redirected() - * callback, except that the PJSIP_REDIRECT_PENDING is - * not accepted here. - * - * @return PJ_SUCCESS on successful operation. - */ -PJ_DECL(pj_status_t) pjsua_call_process_redirect(pjsua_call_id call_id, - pjsip_redirect_op cmd); - -/** - * Put the specified call on hold. This will send re-INVITE with the - * appropriate SDP to inform remote that the call is being put on hold. - * The final status of the request itself will be reported on the - * \a on_call_media_state() callback, which inform the application that - * the media state of the call has changed. - * - * @param call_id Call identification. - * @param msg_data Optional message components to be sent with - * the request. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_call_set_hold(pjsua_call_id call_id, - const pjsua_msg_data *msg_data); - - -/** - * Send re-INVITE to release hold. - * The final status of the request itself will be reported on the - * \a on_call_media_state() callback, which inform the application that - * the media state of the call has changed. - * - * @param call_id Call identification. - * @param options Bitmask of pjsua_call_flag constants. Note that - * for compatibility, specifying PJ_TRUE here is - * equal to specifying PJSUA_CALL_UNHOLD flag. - * @param msg_data Optional message components to be sent with - * the request. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_call_reinvite(pjsua_call_id call_id, - unsigned options, - const pjsua_msg_data *msg_data); - - -/** - * Send re-INVITE to release hold. - * The final status of the request itself will be reported on the - * \a on_call_media_state() callback, which inform the application that - * the media state of the call has changed. - * - * @param call_id Call identification. - * @param opt Optional call setting, if NULL, the current call - * setting will remain unchanged. - * @param msg_data Optional message components to be sent with - * the request. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_call_reinvite2(pjsua_call_id call_id, - const pjsua_call_setting *opt, - const pjsua_msg_data *msg_data); - - -/** - * Send UPDATE request. - * - * @param call_id Call identification. - * @param options Bitmask of pjsua_call_flag constants. - * @param msg_data Optional message components to be sent with - * the request. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_call_update(pjsua_call_id call_id, - unsigned options, - const pjsua_msg_data *msg_data); - - -/** - * Send UPDATE request. - * - * @param call_id Call identification. - * @param opt Optional call setting, if NULL, the current call - * setting will remain unchanged. - * @param msg_data Optional message components to be sent with - * the request. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_call_update2(pjsua_call_id call_id, - const pjsua_call_setting *opt, - const pjsua_msg_data *msg_data); - - -/** - * Initiate call transfer to the specified address. This function will send - * REFER request to instruct remote call party to initiate a new INVITE - * session to the specified destination/target. - * - * If application is interested to monitor the successfulness and - * the progress of the transfer request, it can implement - * \a on_call_transfer_status() callback which will report the progress - * of the call transfer request. - * - * @param call_id The call id to be transfered. - * @param dest Address of new target to be contacted. - * @param msg_data Optional message components to be sent with - * the request. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_call_xfer(pjsua_call_id call_id, - const pj_str_t *dest, - const pjsua_msg_data *msg_data); - -/** - * Flag to indicate that "Require: replaces" should not be put in the - * outgoing INVITE request caused by REFER request created by - * #pjsua_call_xfer_replaces(). - */ -#define PJSUA_XFER_NO_REQUIRE_REPLACES 1 - -/** - * Initiate attended call transfer. This function will send REFER request - * to instruct remote call party to initiate new INVITE session to the URL - * of \a dest_call_id. The party at \a dest_call_id then should "replace" - * the call with us with the new call from the REFER recipient. - * - * @param call_id The call id to be transfered. - * @param dest_call_id The call id to be replaced. - * @param options Application may specify PJSUA_XFER_NO_REQUIRE_REPLACES - * to suppress the inclusion of "Require: replaces" in - * the outgoing INVITE request created by the REFER - * request. - * @param msg_data Optional message components to be sent with - * the request. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_call_xfer_replaces(pjsua_call_id call_id, - pjsua_call_id dest_call_id, - unsigned options, - const pjsua_msg_data *msg_data); - -/** - * Send DTMF digits to remote using RFC 2833 payload formats. - * - * @param call_id Call identification. - * @param digits DTMF string digits to be sent. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_call_dial_dtmf(pjsua_call_id call_id, - const pj_str_t *digits); - -/** - * Send instant messaging inside INVITE session. - * - * @param call_id Call identification. - * @param mime_type Optional MIME type. If NULL, then "text/plain" is - * assumed. - * @param content The message content. - * @param msg_data Optional list of headers etc to be included in outgoing - * request. The body descriptor in the msg_data is - * ignored. - * @param user_data Optional user data, which will be given back when - * the IM callback is called. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_call_send_im( pjsua_call_id call_id, - const pj_str_t *mime_type, - const pj_str_t *content, - const pjsua_msg_data *msg_data, - void *user_data); - - -/** - * Send IM typing indication inside INVITE session. - * - * @param call_id Call identification. - * @param is_typing Non-zero to indicate to remote that local person is - * currently typing an IM. - * @param msg_data Optional list of headers etc to be included in outgoing - * request. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_call_send_typing_ind(pjsua_call_id call_id, - pj_bool_t is_typing, - const pjsua_msg_data*msg_data); - -/** - * Send arbitrary request with the call. This is useful for example to send - * INFO request. Note that application should not use this function to send - * requests which would change the invite session's state, such as re-INVITE, - * UPDATE, PRACK, and BYE. - * - * @param call_id Call identification. - * @param method SIP method of the request. - * @param msg_data Optional message body and/or list of headers to be - * included in outgoing request. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_call_send_request(pjsua_call_id call_id, - const pj_str_t *method, - const pjsua_msg_data *msg_data); - - -/** - * Terminate all calls. This will initiate #pjsua_call_hangup() for all - * currently active calls. - */ -PJ_DECL(void) pjsua_call_hangup_all(void); - - -/** - * Dump call and media statistics to string. - * - * @param call_id Call identification. - * @param with_media Non-zero to include media information too. - * @param buffer Buffer where the statistics are to be written to. - * @param maxlen Maximum length of buffer. - * @param indent Spaces for left indentation. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsua_call_dump(pjsua_call_id call_id, - pj_bool_t with_media, - char *buffer, - unsigned maxlen, - const char *indent); - -/** - * Get the media stream index of the default video stream in the call. - * Typically this will just retrieve the stream index of the first - * activated video stream in the call. If none is active, it will return - * the first inactive video stream. - * - * @param call_id Call identification. - * - * @return The media stream index or -1 if no video stream - * is present in the call. - */ -PJ_DECL(int) pjsua_call_get_vid_stream_idx(pjsua_call_id call_id); - - -/** - * Determine if video stream for the specified call is currently running - * (i.e. has been created, started, and not being paused) for the specified - * direction. - * - * @param call_id Call identification. - * @param med_idx Media stream index, or -1 to specify default video - * media. - * @param dir The direction to be checked. - * - * @return PJ_TRUE if stream is currently running for the - * specified direction. - */ -PJ_DECL(pj_bool_t) pjsua_call_vid_stream_is_running(pjsua_call_id call_id, - int med_idx, - pjmedia_dir dir); - -/** - * Add, remove, modify, and/or manipulate video media stream for the - * specified call. This may trigger a re-INVITE or UPDATE to be sent - * for the call. - * - * @param call_id Call identification. - * @param op The video stream operation to be performed, - * possible values are #pjsua_call_vid_strm_op. - * @param param The parameters for the video stream operation, - * or NULL for the default parameter values - * (see #pjsua_call_vid_strm_op_param). - * - * @return PJ_SUCCESS on success or the appropriate error. - */ -PJ_DECL(pj_status_t) pjsua_call_set_vid_strm ( - pjsua_call_id call_id, - pjsua_call_vid_strm_op op, - const pjsua_call_vid_strm_op_param *param); - - -/** - * Get media stream info for the specified media index. - * - * @param call_id The call identification. - * @param med_idx Media stream index. - * @param psi To be filled with the stream info. - * - * @return PJ_SUCCESS on success or the appropriate error. - */ -PJ_DECL(pj_status_t) pjsua_call_get_stream_info(pjsua_call_id call_id, - unsigned med_idx, - pjsua_stream_info *psi); - -/** - * Get media stream statistic for the specified media index. - * - * @param call_id The call identification. - * @param med_idx Media stream index. - * @param psi To be filled with the stream statistic. - * - * @return PJ_SUCCESS on success or the appropriate error. - */ -PJ_DECL(pj_status_t) pjsua_call_get_stream_stat(pjsua_call_id call_id, - unsigned med_idx, - pjsua_stream_stat *stat); - -/** - * Get media transport info for the specified media index. - * - * @param call_id The call identification. - * @param med_idx Media stream index. - * @param t To be filled with the transport info. - * - * @return PJ_SUCCESS on success or the appropriate error. - */ -PJ_DECL(pj_status_t) -pjsua_call_get_med_transport_info(pjsua_call_id call_id, - unsigned med_idx, - pjmedia_transport_info *t); - - - -/** - * @} - */ - - -/***************************************************************************** - * BUDDY API - */ - - -/** - * @defgroup PJSUA_LIB_BUDDY PJSUA-API Buddy, Presence, and Instant Messaging - * @ingroup PJSUA_LIB - * @brief Buddy management, buddy's presence, and instant messaging. - * @{ - * - * This section describes PJSUA-APIs related to buddies management, - * presence management, and instant messaging. - */ - -/** - * Max buddies in buddy list. - */ -#ifndef PJSUA_MAX_BUDDIES -# define PJSUA_MAX_BUDDIES 256 -#endif - - -/** - * This specifies how long the library should wait before retrying failed - * SUBSCRIBE request, and there is no rule to automatically resubscribe - * (for example, no "retry-after" parameter in Subscription-State header). - * - * This also controls the duration before failed PUBLISH request will be - * retried. - * - * Default: 300 seconds - */ -#ifndef PJSUA_PRES_TIMER -# define PJSUA_PRES_TIMER 300 -#endif - - -/** - * This structure describes buddy configuration when adding a buddy to - * the buddy list with #pjsua_buddy_add(). Application MUST initialize - * the structure with #pjsua_buddy_config_default() to initialize this - * structure with default configuration. - */ -typedef struct pjsua_buddy_config -{ - /** - * Buddy URL or name address. - */ - pj_str_t uri; - - /** - * Specify whether presence subscription should start immediately. - */ - pj_bool_t subscribe; - - /** - * Specify arbitrary application data to be associated with with - * the buddy object. - */ - void *user_data; - -} pjsua_buddy_config; - - -/** - * This enumeration describes basic buddy's online status. - */ -typedef enum pjsua_buddy_status -{ - /** - * Online status is unknown (possibly because no presence subscription - * has been established). - */ - PJSUA_BUDDY_STATUS_UNKNOWN, - - /** - * Buddy is known to be online. - */ - PJSUA_BUDDY_STATUS_ONLINE, - - /** - * Buddy is offline. - */ - PJSUA_BUDDY_STATUS_OFFLINE, - -} pjsua_buddy_status; - - - -/** - * This structure describes buddy info, which can be retrieved by calling - * #pjsua_buddy_get_info(). - */ -typedef struct pjsua_buddy_info -{ - /** - * The buddy ID. - */ - pjsua_buddy_id id; - - /** - * The full URI of the buddy, as specified in the configuration. - */ - pj_str_t uri; - - /** - * Buddy's Contact, only available when presence subscription has - * been established to the buddy. - */ - pj_str_t contact; - - /** - * Buddy's online status. - */ - pjsua_buddy_status status; - - /** - * Text to describe buddy's online status. - */ - pj_str_t status_text; - - /** - * Flag to indicate that we should monitor the presence information for - * this buddy (normally yes, unless explicitly disabled). - */ - pj_bool_t monitor_pres; - - /** - * If \a monitor_pres is enabled, this specifies the last state of the - * presence subscription. If presence subscription session is currently - * active, the value will be PJSIP_EVSUB_STATE_ACTIVE. If presence - * subscription request has been rejected, the value will be - * PJSIP_EVSUB_STATE_TERMINATED, and the termination reason will be - * specified in \a sub_term_reason. - */ - pjsip_evsub_state sub_state; - - /** - * String representation of subscription state. - */ - const char *sub_state_name; - - /** - * Specifies the last presence subscription termination code. This would - * return the last status of the SUBSCRIBE request. If the subscription - * is terminated with NOTIFY by the server, this value will be set to - * 200, and subscription termination reason will be given in the - * \a sub_term_reason field. - */ - unsigned sub_term_code; - - /** - * Specifies the last presence subscription termination reason. If - * presence subscription is currently active, the value will be empty. - */ - pj_str_t sub_term_reason; - - /** - * Extended RPID information about the person. - */ - pjrpid_element rpid; - - /** - * Extended presence info. - */ - pjsip_pres_status pres_status; - - /** - * Internal buffer. - */ - char buf_[512]; - -} pjsua_buddy_info; - - -/** - * Set default values to the buddy config. - */ -PJ_DECL(void) pjsua_buddy_config_default(pjsua_buddy_config *cfg); - - -/** - * Get total number of buddies. - * - * @return Number of buddies. - */ -PJ_DECL(unsigned) pjsua_get_buddy_count(void); - - -/** - * Check if buddy ID is valid. - * - * @param buddy_id Buddy ID to check. - * - * @return Non-zero if buddy ID is valid. - */ -PJ_DECL(pj_bool_t) pjsua_buddy_is_valid(pjsua_buddy_id buddy_id); - - -/** - * Enumerate all buddy IDs in the buddy list. Application then can use - * #pjsua_buddy_get_info() to get the detail information for each buddy - * id. - * - * @param ids Array of ids to be initialized. - * @param count On input, specifies max elements in the array. - * On return, it contains actual number of elements - * that have been initialized. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_enum_buddies(pjsua_buddy_id ids[], - unsigned *count); - -/** - * Find the buddy ID with the specified URI. - * - * @param uri The buddy URI. - * - * @return The buddy ID, or PJSUA_INVALID_ID if not found. - */ -PJ_DECL(pjsua_buddy_id) pjsua_buddy_find(const pj_str_t *uri); - - -/** - * Get detailed buddy info. - * - * @param buddy_id The buddy identification. - * @param info Pointer to receive information about buddy. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_buddy_get_info(pjsua_buddy_id buddy_id, - pjsua_buddy_info *info); - -/** - * Set the user data associated with the buddy object. - * - * @param buddy_id The buddy identification. - * @param user_data Arbitrary application data to be associated with - * the buddy object. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_buddy_set_user_data(pjsua_buddy_id buddy_id, - void *user_data); - - -/** - * Get the user data associated with the budy object. - * - * @param buddy_id The buddy identification. - * - * @return The application data. - */ -PJ_DECL(void*) pjsua_buddy_get_user_data(pjsua_buddy_id buddy_id); - - -/** - * Add new buddy to the buddy list. If presence subscription is enabled - * for this buddy, this function will also start the presence subscription - * session immediately. - * - * @param buddy_cfg Buddy configuration. - * @param p_buddy_id Pointer to receive buddy ID. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_buddy_add(const pjsua_buddy_config *buddy_cfg, - pjsua_buddy_id *p_buddy_id); - - -/** - * Delete the specified buddy from the buddy list. Any presence subscription - * to this buddy will be terminated. - * - * @param buddy_id Buddy identification. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_buddy_del(pjsua_buddy_id buddy_id); - - -/** - * Enable/disable buddy's presence monitoring. Once buddy's presence is - * subscribed, application will be informed about buddy's presence status - * changed via \a on_buddy_state() callback. - * - * @param buddy_id Buddy identification. - * @param subscribe Specify non-zero to activate presence subscription to - * the specified buddy. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_buddy_subscribe_pres(pjsua_buddy_id buddy_id, - pj_bool_t subscribe); - - -/** - * Update the presence information for the buddy. Although the library - * periodically refreshes the presence subscription for all buddies, some - * application may want to refresh the buddy's presence subscription - * immediately, and in this case it can use this function to accomplish - * this. - * - * Note that the buddy's presence subscription will only be initiated - * if presence monitoring is enabled for the buddy. See - * #pjsua_buddy_subscribe_pres() for more info. Also if presence subscription - * for the buddy is already active, this function will not do anything. - * - * Once the presence subscription is activated successfully for the buddy, - * application will be notified about the buddy's presence status in the - * on_buddy_state() callback. - * - * @param buddy_id Buddy identification. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_buddy_update_pres(pjsua_buddy_id buddy_id); - - -/** - * Send NOTIFY to inform account presence status or to terminate server - * side presence subscription. If application wants to reject the incoming - * request, it should set the \a state to PJSIP_EVSUB_STATE_TERMINATED. - * - * @param acc_id Account ID. - * @param srv_pres Server presence subscription instance. - * @param state New state to set. - * @param state_str Optionally specify the state string name, if state - * is not "active", "pending", or "terminated". - * @param reason If the new state is PJSIP_EVSUB_STATE_TERMINATED, - * optionally specify the termination reason. - * @param with_body If the new state is PJSIP_EVSUB_STATE_TERMINATED, - * this specifies whether the NOTIFY request should - * contain message body containing account's presence - * information. - * @param msg_data Optional list of headers to be sent with the NOTIFY - * request. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsua_pres_notify(pjsua_acc_id acc_id, - pjsua_srv_pres *srv_pres, - pjsip_evsub_state state, - const pj_str_t *state_str, - const pj_str_t *reason, - pj_bool_t with_body, - const pjsua_msg_data *msg_data); - -/** - * Dump presence subscriptions to log. - * - * @param verbose Yes or no. - */ -PJ_DECL(void) pjsua_pres_dump(pj_bool_t verbose); - - -/** - * The MESSAGE method (defined in pjsua_im.c) - */ -extern const pjsip_method pjsip_message_method; - - -/** - * The INFO method (defined in pjsua_call.c) - */ -extern const pjsip_method pjsip_info_method; - - -/** - * Send instant messaging outside dialog, using the specified account for - * route set and authentication. - * - * @param acc_id Account ID to be used to send the request. - * @param to Remote URI. - * @param mime_type Optional MIME type. If NULL, then "text/plain" is - * assumed. - * @param content The message content. - * @param msg_data Optional list of headers etc to be included in outgoing - * request. The body descriptor in the msg_data is - * ignored. - * @param user_data Optional user data, which will be given back when - * the IM callback is called. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_im_send(pjsua_acc_id acc_id, - const pj_str_t *to, - const pj_str_t *mime_type, - const pj_str_t *content, - const pjsua_msg_data *msg_data, - void *user_data); - - -/** - * Send typing indication outside dialog. - * - * @param acc_id Account ID to be used to send the request. - * @param to Remote URI. - * @param is_typing If non-zero, it tells remote person that local person - * is currently composing an IM. - * @param msg_data Optional list of headers etc to be added to outgoing - * request. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_im_typing(pjsua_acc_id acc_id, - const pj_str_t *to, - pj_bool_t is_typing, - const pjsua_msg_data *msg_data); - - - -/** - * @} - */ - - -/***************************************************************************** - * MEDIA API - */ - - -/** - * @defgroup PJSUA_LIB_MEDIA PJSUA-API Media Manipulation - * @ingroup PJSUA_LIB - * @brief Media manipulation. - * @{ - * - * PJSUA has rather powerful media features, which are built around the - * PJMEDIA conference bridge. Basically, all media "ports" (such as calls, WAV - * players, WAV playlist, file recorders, sound device, tone generators, etc) - * are terminated in the conference bridge, and application can manipulate - * the interconnection between these terminations freely. - * - * The conference bridge provides powerful switching and mixing functionality - * for application. With the conference bridge, each conference slot (e.g. - * a call) can transmit to multiple destinations, and one destination can - * receive from multiple sources. If more than one media terminations are - * terminated in the same slot, the conference bridge will mix the signal - * automatically. - * - * Application connects one media termination/slot to another by calling - * #pjsua_conf_connect() function. This will establish unidirectional - * media flow from the source termination to the sink termination. To - * establish bidirectional media flow, application wound need to make another - * call to #pjsua_conf_connect(), this time inverting the source and - * destination slots in the parameter. - * - * For example, to stream a WAV file to remote call, application may use - * the following steps: - * - \code - - pj_status_t stream_to_call( pjsua_call_id call_id ) - { - pjsua_player_id player_id; - - status = pjsua_player_create("mysong.wav", 0, &player_id); - if (status != PJ_SUCCESS) - return status; - - status = pjsua_conf_connect( pjsua_player_get_conf_port(), - pjsua_call_get_conf_port() ); - } - \endcode - * - * - * Other features of PJSUA media: - * - efficient N to M interconnections between media terminations. - * - media termination can be connected to itself to create loopback - * media. - * - the media termination may have different clock rates, and resampling - * will be done automatically by conference bridge. - * - media terminations may also have different frame time; the - * conference bridge will perform the necessary bufferring to adjust - * the difference between terminations. - * - interconnections are removed automatically when media termination - * is removed from the bridge. - * - sound device may be changed even when there are active media - * interconnections. - * - correctly report call's media quality (in #pjsua_call_dump()) from - * RTCP packet exchange. - */ - -/** - * Use PJMEDIA for media? Set this to zero when using third party media - * stack. - */ -#ifndef PJSUA_MEDIA_HAS_PJMEDIA -# define PJSUA_MEDIA_HAS_PJMEDIA 1 -#endif /* PJSUA_MEDIA_HAS_PJMEDIA */ - - -/** - * Max ports in the conference bridge. This setting is the default value - * for pjsua_media_config.max_media_ports. - */ -#ifndef PJSUA_MAX_CONF_PORTS -# define PJSUA_MAX_CONF_PORTS 254 -#endif - -/** - * The default clock rate to be used by the conference bridge. This setting - * is the default value for pjsua_media_config.clock_rate. - */ -#ifndef PJSUA_DEFAULT_CLOCK_RATE -# define PJSUA_DEFAULT_CLOCK_RATE 16000 -#endif - -/** - * Default frame length in the conference bridge. This setting - * is the default value for pjsua_media_config.audio_frame_ptime. - */ -#ifndef PJSUA_DEFAULT_AUDIO_FRAME_PTIME -# define PJSUA_DEFAULT_AUDIO_FRAME_PTIME 20 -#endif - - -/** - * Default codec quality settings. This setting is the default value - * for pjsua_media_config.quality. - */ -#ifndef PJSUA_DEFAULT_CODEC_QUALITY -# define PJSUA_DEFAULT_CODEC_QUALITY 8 -#endif - -/** - * Default iLBC mode. This setting is the default value for - * pjsua_media_config.ilbc_mode. - */ -#ifndef PJSUA_DEFAULT_ILBC_MODE -# define PJSUA_DEFAULT_ILBC_MODE 30 -#endif - -/** - * The default echo canceller tail length. This setting - * is the default value for pjsua_media_config.ec_tail_len. - */ -#ifndef PJSUA_DEFAULT_EC_TAIL_LEN -# define PJSUA_DEFAULT_EC_TAIL_LEN 200 -#endif - - -/** - * The maximum file player. - */ -#ifndef PJSUA_MAX_PLAYERS -# define PJSUA_MAX_PLAYERS 32 -#endif - - -/** - * The maximum file player. - */ -#ifndef PJSUA_MAX_RECORDERS -# define PJSUA_MAX_RECORDERS 32 -#endif - - -/** - * This structure describes media configuration, which will be specified - * when calling #pjsua_init(). Application MUST initialize this structure - * by calling #pjsua_media_config_default(). - */ -struct pjsua_media_config -{ - /** - * Clock rate to be applied to the conference bridge. - * If value is zero, default clock rate will be used - * (PJSUA_DEFAULT_CLOCK_RATE, which by default is 16KHz). - */ - unsigned clock_rate; - - /** - * Clock rate to be applied when opening the sound device. - * If value is zero, conference bridge clock rate will be used. - */ - unsigned snd_clock_rate; - - /** - * Channel count be applied when opening the sound device and - * conference bridge. - */ - unsigned channel_count; - - /** - * Specify audio frame ptime. The value here will affect the - * samples per frame of both the sound device and the conference - * bridge. Specifying lower ptime will normally reduce the - * latency. - * - * Default value: PJSUA_DEFAULT_AUDIO_FRAME_PTIME - */ - unsigned audio_frame_ptime; - - /** - * Specify maximum number of media ports to be created in the - * conference bridge. Since all media terminate in the bridge - * (calls, file player, file recorder, etc), the value must be - * large enough to support all of them. However, the larger - * the value, the more computations are performed. - * - * Default value: PJSUA_MAX_CONF_PORTS - */ - unsigned max_media_ports; - - /** - * Specify whether the media manager should manage its own - * ioqueue for the RTP/RTCP sockets. If yes, ioqueue will be created - * and at least one worker thread will be created too. If no, - * the RTP/RTCP sockets will share the same ioqueue as SIP sockets, - * and no worker thread is needed. - * - * Normally application would say yes here, unless it wants to - * run everything from a single thread. - */ - pj_bool_t has_ioqueue; - - /** - * Specify the number of worker threads to handle incoming RTP - * packets. A value of one is recommended for most applications. - */ - unsigned thread_cnt; - - /** - * Media quality, 0-10, according to this table: - * 5-10: resampling use large filter, - * 3-4: resampling use small filter, - * 1-2: resampling use linear. - * The media quality also sets speex codec quality/complexity to the - * number. - * - * Default: 5 (PJSUA_DEFAULT_CODEC_QUALITY). - */ - unsigned quality; - - /** - * Specify default codec ptime. - * - * Default: 0 (codec specific) - */ - unsigned ptime; - - /** - * Disable VAD? - * - * Default: 0 (no (meaning VAD is enabled)) - */ - pj_bool_t no_vad; - - /** - * iLBC mode (20 or 30). - * - * Default: 30 (PJSUA_DEFAULT_ILBC_MODE) - */ - unsigned ilbc_mode; - - /** - * Percentage of RTP packet to drop in TX direction - * (to simulate packet lost). - * - * Default: 0 - */ - unsigned tx_drop_pct; - - /** - * Percentage of RTP packet to drop in RX direction - * (to simulate packet lost). - * - * Default: 0 - */ - unsigned rx_drop_pct; - - /** - * Echo canceller options (see #pjmedia_echo_create()) - * - * Default: 0. - */ - unsigned ec_options; - - /** - * Echo canceller tail length, in miliseconds. - * - * Default: PJSUA_DEFAULT_EC_TAIL_LEN - */ - unsigned ec_tail_len; - - /** - * Audio capture buffer length, in milliseconds. - * - * Default: PJMEDIA_SND_DEFAULT_REC_LATENCY - */ - unsigned snd_rec_latency; - - /** - * Audio playback buffer length, in milliseconds. - * - * Default: PJMEDIA_SND_DEFAULT_PLAY_LATENCY - */ - unsigned snd_play_latency; - - /** - * Jitter buffer initial prefetch delay in msec. The value must be - * between jb_min_pre and jb_max_pre below. - * - * Default: -1 (to use default stream settings, currently 150 msec) - */ - int jb_init; - - /** - * Jitter buffer minimum prefetch delay in msec. - * - * Default: -1 (to use default stream settings, currently 60 msec) - */ - int jb_min_pre; - - /** - * Jitter buffer maximum prefetch delay in msec. - * - * Default: -1 (to use default stream settings, currently 240 msec) - */ - int jb_max_pre; - - /** - * Set maximum delay that can be accomodated by the jitter buffer msec. - * - * Default: -1 (to use default stream settings, currently 360 msec) - */ - int jb_max; - - /** - * Enable ICE - */ - pj_bool_t enable_ice; - - /** - * Set the maximum number of host candidates. - * - * Default: -1 (maximum not set) - */ - int ice_max_host_cands; - - /** - * ICE session options. - */ - pj_ice_sess_options ice_opt; - - /** - * Disable RTCP component. - * - * Default: no - */ - pj_bool_t ice_no_rtcp; - - /** - * Enable TURN relay candidate in ICE. - */ - pj_bool_t enable_turn; - - /** - * Specify TURN domain name or host name, in in "DOMAIN:PORT" or - * "HOST:PORT" format. - */ - pj_str_t turn_server; - - /** - * Specify the connection type to be used to the TURN server. Valid - * values are PJ_TURN_TP_UDP or PJ_TURN_TP_TCP. - * - * Default: PJ_TURN_TP_UDP - */ - pj_turn_tp_type turn_conn_type; - - /** - * Specify the credential to authenticate with the TURN server. - */ - pj_stun_auth_cred turn_auth_cred; - - /** - * Specify idle time of sound device before it is automatically closed, - * in seconds. Use value -1 to disable the auto-close feature of sound - * device - * - * Default : 1 - */ - int snd_auto_close_time; - - /** - * Specify whether built-in/native preview should be used if available. - * In some systems, video input devices have built-in capability to show - * preview window of the device. Using this built-in preview is preferable - * as it consumes less CPU power. If built-in preview is not available, - * the library will perform software rendering of the input. If this - * field is set to PJ_FALSE, software preview will always be used. - * - * Default: PJ_TRUE - */ - pj_bool_t vid_preview_enable_native; -}; - - -/** - * Use this function to initialize media config. - * - * @param cfg The media config to be initialized. - */ -PJ_DECL(void) pjsua_media_config_default(pjsua_media_config *cfg); - - -/** - * This structure describes codec information, which can be retrieved by - * calling #pjsua_enum_codecs(). - */ -typedef struct pjsua_codec_info -{ - /** - * Codec unique identification. - */ - pj_str_t codec_id; - - /** - * Codec priority (integer 0-255). - */ - pj_uint8_t priority; - - /** - * Codec description. - */ - pj_str_t desc; - - /** - * Internal buffer. - */ - char buf_[64]; - -} pjsua_codec_info; - - -/** - * This structure descibes information about a particular media port that - * has been registered into the conference bridge. Application can query - * this info by calling #pjsua_conf_get_port_info(). - */ -typedef struct pjsua_conf_port_info -{ - /** Conference port number. */ - pjsua_conf_port_id slot_id; - - /** Port name. */ - pj_str_t name; - - /** Clock rate. */ - unsigned clock_rate; - - /** Number of channels. */ - unsigned channel_count; - - /** Samples per frame */ - unsigned samples_per_frame; - - /** Bits per sample */ - unsigned bits_per_sample; - - /** Number of listeners in the array. */ - unsigned listener_cnt; - - /** Array of listeners (in other words, ports where this port is - * transmitting to. - */ - pjsua_conf_port_id listeners[PJSUA_MAX_CONF_PORTS]; - -} pjsua_conf_port_info; - - -/** - * This structure holds information about custom media transport to - * be registered to pjsua. - */ -typedef struct pjsua_media_transport -{ - /** - * Media socket information containing the address information - * of the RTP and RTCP socket. - */ - pjmedia_sock_info skinfo; - - /** - * The media transport instance. - */ - pjmedia_transport *transport; - -} pjsua_media_transport; - - -/** - * Get maxinum number of conference ports. - * - * @return Maximum number of ports in the conference bridge. - */ -PJ_DECL(unsigned) pjsua_conf_get_max_ports(void); - - -/** - * Get current number of active ports in the bridge. - * - * @return The number. - */ -PJ_DECL(unsigned) pjsua_conf_get_active_ports(void); - - -/** - * Enumerate all conference ports. - * - * @param id Array of conference port ID to be initialized. - * @param count On input, specifies max elements in the array. - * On return, it contains actual number of elements - * that have been initialized. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_enum_conf_ports(pjsua_conf_port_id id[], - unsigned *count); - - -/** - * Get information about the specified conference port - * - * @param port_id Port identification. - * @param info Pointer to store the port info. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_conf_get_port_info( pjsua_conf_port_id port_id, - pjsua_conf_port_info *info); - - -/** - * Add arbitrary media port to PJSUA's conference bridge. Application - * can use this function to add the media port that it creates. For - * media ports that are created by PJSUA-LIB (such as calls, file player, - * or file recorder), PJSUA-LIB will automatically add the port to - * the bridge. - * - * @param pool Pool to use. - * @param port Media port to be added to the bridge. - * @param p_id Optional pointer to receive the conference - * slot id. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_conf_add_port(pj_pool_t *pool, - pjmedia_port *port, - pjsua_conf_port_id *p_id); - - -/** - * Remove arbitrary slot from the conference bridge. Application should only - * call this function if it registered the port manually with previous call - * to #pjsua_conf_add_port(). - * - * @param port_id The slot id of the port to be removed. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_conf_remove_port(pjsua_conf_port_id port_id); - - -/** - * Establish unidirectional media flow from souce to sink. One source - * may transmit to multiple destinations/sink. And if multiple - * sources are transmitting to the same sink, the media will be mixed - * together. Source and sink may refer to the same ID, effectively - * looping the media. - * - * If bidirectional media flow is desired, application needs to call - * this function twice, with the second one having the arguments - * reversed. - * - * @param source Port ID of the source media/transmitter. - * @param sink Port ID of the destination media/received. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_conf_connect(pjsua_conf_port_id source, - pjsua_conf_port_id sink); - - -/** - * Disconnect media flow from the source to destination port. - * - * @param source Port ID of the source media/transmitter. - * @param sink Port ID of the destination media/received. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_conf_disconnect(pjsua_conf_port_id source, - pjsua_conf_port_id sink); - - -/** - * Adjust the signal level to be transmitted from the bridge to the - * specified port by making it louder or quieter. - * - * @param slot The conference bridge slot number. - * @param level Signal level adjustment. Value 1.0 means no level - * adjustment, while value 0 means to mute the port. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_conf_adjust_tx_level(pjsua_conf_port_id slot, - float level); - -/** - * Adjust the signal level to be received from the specified port (to - * the bridge) by making it louder or quieter. - * - * @param slot The conference bridge slot number. - * @param level Signal level adjustment. Value 1.0 means no level - * adjustment, while value 0 means to mute the port. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_conf_adjust_rx_level(pjsua_conf_port_id slot, - float level); - -/** - * Get last signal level transmitted to or received from the specified port. - * The signal level is an integer value in zero to 255, with zero indicates - * no signal, and 255 indicates the loudest signal level. - * - * @param slot The conference bridge slot number. - * @param tx_level Optional argument to receive the level of signal - * transmitted to the specified port (i.e. the direction - * is from the bridge to the port). - * @param rx_level Optional argument to receive the level of signal - * received from the port (i.e. the direction is from the - * port to the bridge). - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsua_conf_get_signal_level(pjsua_conf_port_id slot, - unsigned *tx_level, - unsigned *rx_level); - - -/***************************************************************************** - * File player and playlist. - */ - -/** - * Create a file player, and automatically add this player to - * the conference bridge. - * - * @param filename The filename to be played. Currently only - * WAV files are supported, and the WAV file MUST be - * formatted as 16bit PCM mono/single channel (any - * clock rate is supported). - * @param options Optional option flag. Application may specify - * PJMEDIA_FILE_NO_LOOP to prevent playback loop. - * @param p_id Pointer to receive player ID. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_player_create(const pj_str_t *filename, - unsigned options, - pjsua_player_id *p_id); - - -/** - * Create a file playlist media port, and automatically add the port - * to the conference bridge. - * - * @param file_names Array of file names to be added to the play list. - * Note that the files must have the same clock rate, - * number of channels, and number of bits per sample. - * @param file_count Number of files in the array. - * @param label Optional label to be set for the media port. - * @param options Optional option flag. Application may specify - * PJMEDIA_FILE_NO_LOOP to prevent looping. - * @param p_id Optional pointer to receive player ID. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_playlist_create(const pj_str_t file_names[], - unsigned file_count, - const pj_str_t *label, - unsigned options, - pjsua_player_id *p_id); - -/** - * Get conference port ID associated with player or playlist. - * - * @param id The file player ID. - * - * @return Conference port ID associated with this player. - */ -PJ_DECL(pjsua_conf_port_id) pjsua_player_get_conf_port(pjsua_player_id id); - - -/** - * Get the media port for the player or playlist. - * - * @param id The player ID. - * @param p_port The media port associated with the player. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsua_player_get_port(pjsua_player_id id, - pjmedia_port **p_port); - -/** - * Set playback position. This operation is not valid for playlist. - * - * @param id The file player ID. - * @param samples The playback position, in samples. Application can - * specify zero to re-start the playback. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_player_set_pos(pjsua_player_id id, - pj_uint32_t samples); - - -/** - * Close the file of playlist, remove the player from the bridge, and free - * resources associated with the file player or playlist. - * - * @param id The file player ID. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_player_destroy(pjsua_player_id id); - - -/***************************************************************************** - * File recorder. - */ - -/** - * Create a file recorder, and automatically connect this recorder to - * the conference bridge. The recorder currently supports recording WAV file. - * The type of the recorder to use is determined by the extension of the file - * (e.g. ".wav"). - * - * @param filename Output file name. The function will determine the - * default format to be used based on the file extension. - * Currently ".wav" is supported on all platforms. - * @param enc_type Optionally specify the type of encoder to be used to - * compress the media, if the file can support different - * encodings. This value must be zero for now. - * @param enc_param Optionally specify codec specific parameter to be - * passed to the file writer. - * For .WAV recorder, this value must be NULL. - * @param max_size Maximum file size. Specify zero or -1 to remove size - * limitation. This value must be zero or -1 for now. - * @param options Optional options. - * @param p_id Pointer to receive the recorder instance. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_recorder_create(const pj_str_t *filename, - unsigned enc_type, - void *enc_param, - pj_ssize_t max_size, - unsigned options, - pjsua_recorder_id *p_id); - - -/** - * Get conference port associated with recorder. - * - * @param id The recorder ID. - * - * @return Conference port ID associated with this recorder. - */ -PJ_DECL(pjsua_conf_port_id) pjsua_recorder_get_conf_port(pjsua_recorder_id id); - - -/** - * Get the media port for the recorder. - * - * @param id The recorder ID. - * @param p_port The media port associated with the recorder. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsua_recorder_get_port(pjsua_recorder_id id, - pjmedia_port **p_port); - - -/** - * Destroy recorder (this will complete recording). - * - * @param id The recorder ID. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_recorder_destroy(pjsua_recorder_id id); - - -/***************************************************************************** - * Sound devices. - */ - -/** - * Enum all audio devices installed in the system. - * - * @param info Array of info to be initialized. - * @param count On input, specifies max elements in the array. - * On return, it contains actual number of elements - * that have been initialized. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_enum_aud_devs(pjmedia_aud_dev_info info[], - unsigned *count); - -/** - * Enum all sound devices installed in the system (old API). - * - * @param info Array of info to be initialized. - * @param count On input, specifies max elements in the array. - * On return, it contains actual number of elements - * that have been initialized. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_enum_snd_devs(pjmedia_snd_dev_info info[], - unsigned *count); - -/** - * Get currently active sound devices. If sound devices has not been created - * (for example when pjsua_start() is not called), it is possible that - * the function returns PJ_SUCCESS with -1 as device IDs. - * - * @param capture_dev On return it will be filled with device ID of the - * capture device. - * @param playback_dev On return it will be filled with device ID of the - * device ID of the playback device. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_get_snd_dev(int *capture_dev, - int *playback_dev); - - -/** - * Select or change sound device. Application may call this function at - * any time to replace current sound device. - * - * @param capture_dev Device ID of the capture device. - * @param playback_dev Device ID of the playback device. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_set_snd_dev(int capture_dev, - int playback_dev); - - -/** - * Set pjsua to use null sound device. The null sound device only provides - * the timing needed by the conference bridge, and will not interract with - * any hardware. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_set_null_snd_dev(void); - - -/** - * Disconnect the main conference bridge from any sound devices, and let - * application connect the bridge to it's own sound device/master port. - * - * @return The port interface of the conference bridge, - * so that application can connect this to it's own - * sound device or master port. - */ -PJ_DECL(pjmedia_port*) pjsua_set_no_snd_dev(void); - - -/** - * Change the echo cancellation settings. - * - * The behavior of this function depends on whether the sound device is - * currently active, and if it is, whether device or software AEC is - * being used. - * - * If the sound device is currently active, and if the device supports AEC, - * this function will forward the change request to the device and it will - * be up to the device on whether support the request. If software AEC is - * being used (the software EC will be used if the device does not support - * AEC), this function will change the software EC settings. In all cases, - * the setting will be saved for future opening of the sound device. - * - * If the sound device is not currently active, this will only change the - * default AEC settings and the setting will be applied next time the - * sound device is opened. - * - * @param tail_ms The tail length, in miliseconds. Set to zero to - * disable AEC. - * @param options Options to be passed to pjmedia_echo_create(). - * Normally the value should be zero. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsua_set_ec(unsigned tail_ms, unsigned options); - - -/** - * Get current echo canceller tail length. - * - * @param p_tail_ms Pointer to receive the tail length, in miliseconds. - * If AEC is disabled, the value will be zero. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) pjsua_get_ec_tail(unsigned *p_tail_ms); - - -/** - * Check whether the sound device is currently active. The sound device - * may be inactive if the application has set the auto close feature to - * non-zero (the snd_auto_close_time setting in #pjsua_media_config), or - * if null sound device or no sound device has been configured via the - * #pjsua_set_no_snd_dev() function. - */ -PJ_DECL(pj_bool_t) pjsua_snd_is_active(void); - - -/** - * Configure sound device setting to the sound device being used. If sound - * device is currently active, the function will forward the setting to the - * sound device instance to be applied immediately, if it supports it. - * - * The setting will be saved for future opening of the sound device, if the - * "keep" argument is set to non-zero. If the sound device is currently - * inactive, and the "keep" argument is false, this function will return - * error. - * - * Note that in case the setting is kept for future use, it will be applied - * to any devices, even when application has changed the sound device to be - * used. - * - * Note also that the echo cancellation setting should be set with - * #pjsua_set_ec() API instead. - * - * See also #pjmedia_aud_stream_set_cap() for more information about setting - * an audio device capability. - * - * @param cap The sound device setting to change. - * @param pval Pointer to value. Please see #pjmedia_aud_dev_cap - * documentation about the type of value to be - * supplied for each setting. - * @param keep Specify whether the setting is to be kept for future - * use. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_snd_set_setting(pjmedia_aud_dev_cap cap, - const void *pval, - pj_bool_t keep); - -/** - * Retrieve a sound device setting. If sound device is currently active, - * the function will forward the request to the sound device. If sound device - * is currently inactive, and if application had previously set the setting - * and mark the setting as kept, then that setting will be returned. - * Otherwise, this function will return error. - * - * Note that echo cancellation settings should be retrieved with - * #pjsua_get_ec_tail() API instead. - * - * @param cap The sound device setting to retrieve. - * @param pval Pointer to receive the value. - * Please see #pjmedia_aud_dev_cap documentation about - * the type of value to be supplied for each setting. - * - * @return PJ_SUCCESS on success or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_snd_get_setting(pjmedia_aud_dev_cap cap, - void *pval); - - -/***************************************************************************** - * Codecs. - */ - -/** - * Enum all supported codecs in the system. - * - * @param id Array of ID to be initialized. - * @param count On input, specifies max elements in the array. - * On return, it contains actual number of elements - * that have been initialized. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_enum_codecs( pjsua_codec_info id[], - unsigned *count ); - - -/** - * Change codec priority. - * - * @param codec_id Codec ID, which is a string that uniquely identify - * the codec (such as "speex/8000"). Please see pjsua - * manual or pjmedia codec reference for details. - * @param priority Codec priority, 0-255, where zero means to disable - * the codec. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_codec_set_priority( const pj_str_t *codec_id, - pj_uint8_t priority ); - - -/** - * Get codec parameters. - * - * @param codec_id Codec ID. - * @param param Structure to receive codec parameters. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_codec_get_param( const pj_str_t *codec_id, - pjmedia_codec_param *param ); - - -/** - * Set codec parameters. - * - * @param codec_id Codec ID. - * @param param Codec parameter to set. Set to NULL to reset - * codec parameter to library default settings. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_codec_set_param( const pj_str_t *codec_id, - const pjmedia_codec_param *param); - - -#if DISABLED_FOR_TICKET_1185 -/** - * Create UDP media transports for all the calls. This function creates - * one UDP media transport for each call. - * - * @param cfg Media transport configuration. The "port" field in the - * configuration is used as the start port to bind the - * sockets. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) -pjsua_media_transports_create(const pjsua_transport_config *cfg); - - -/** - * Register custom media transports to be used by calls. There must - * enough media transports for all calls. - * - * @param tp The media transport array. - * @param count Number of elements in the array. This number MUST - * match the number of maximum calls configured when - * pjsua is created. - * @param auto_delete Flag to indicate whether the transports should be - * destroyed when pjsua is shutdown. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) -pjsua_media_transports_attach( pjsua_media_transport tp[], - unsigned count, - pj_bool_t auto_delete); -#endif - - -/* end of MEDIA API */ -/** - * @} - */ - - -/***************************************************************************** - * VIDEO API - */ - - -/** - * @defgroup PJSUA_LIB_VIDEO PJSUA-API Video - * @ingroup PJSUA_LIB - * @brief Video support - * @{ - */ - -/* - * Video devices API - */ - -/** - * Get the number of video devices installed in the system. - * - * @return The number of devices. - */ -PJ_DECL(unsigned) pjsua_vid_dev_count(void); - -/** - * Retrieve the video device info for the specified device index. - * - * @param id The device index. - * @param vdi Device info to be initialized. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_vid_dev_get_info(pjmedia_vid_dev_index id, - pjmedia_vid_dev_info *vdi); - -/** - * Enum all video devices installed in the system. - * - * @param info Array of info to be initialized. - * @param count On input, specifies max elements in the array. - * On return, it contains actual number of elements - * that have been initialized. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_vid_enum_devs(pjmedia_vid_dev_info info[], - unsigned *count); - - -/* - * Video preview API - */ - -/** - * Parameters for starting video preview with pjsua_vid_preview_start(). - * Application should initialize this structure with - * pjsua_vid_preview_param_default(). - */ -typedef struct pjsua_vid_preview_param -{ - /** - * Device ID for the video renderer to be used for rendering the - * capture stream for preview. This parameter is ignored if native - * preview is being used. - * - * Default: PJMEDIA_VID_DEFAULT_RENDER_DEV - */ - pjmedia_vid_dev_index rend_id; - - /** - * Show window initially. - * - * Default: PJ_TRUE. - */ - pj_bool_t show; - - /** - * Window flags. The value is a bitmask combination of - * #pjmedia_vid_dev_wnd_flag. - * - * Default: 0. - */ - unsigned wnd_flags; - -} pjsua_vid_preview_param; - - -/** - * Initialize pjsua_vid_preview_param - * - * @param p The parameter to be initialized. - */ -PJ_DECL(void) pjsua_vid_preview_param_default(pjsua_vid_preview_param *p); - -/** - * Determine if the specified video input device has built-in native - * preview capability. This is a convenience function that is equal to - * querying device's capability for PJMEDIA_VID_DEV_CAP_INPUT_PREVIEW - * capability. - * - * @param id The capture device ID. - * - * @return PJ_TRUE if it has. - */ -PJ_DECL(pj_bool_t) pjsua_vid_preview_has_native(pjmedia_vid_dev_index id); - -/** - * Start video preview window for the specified capture device. - * - * @param id The capture device ID where its preview will be - * started. - * @param p Optional video preview parameters. Specify NULL - * to use default values. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_vid_preview_start(pjmedia_vid_dev_index id, - const pjsua_vid_preview_param *p); - -/** - * Get the preview window handle associated with the capture device, if any. - * - * @param id The capture device ID. - * - * @return The window ID of the preview window for the - * specified capture device ID, or PJSUA_INVALID_ID if - * preview has not been started for the device. - */ -PJ_DECL(pjsua_vid_win_id) pjsua_vid_preview_get_win(pjmedia_vid_dev_index id); - -/** - * Stop video preview. - * - * @param id The capture device ID. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_vid_preview_stop(pjmedia_vid_dev_index id); - - -/* - * Video window manipulation API. - */ - -/** - * This structure describes video window info. - */ -typedef struct pjsua_vid_win_info -{ - /** - * Flag to indicate whether this window is a native window, - * such as created by built-in preview device. If this field is - * PJ_TRUE, only the native window handle field of this - * structure is valid. - */ - pj_bool_t is_native; - - /** - * Native window handle. - */ - pjmedia_vid_dev_hwnd hwnd; - - /** - * Renderer device ID. - */ - pjmedia_vid_dev_index rdr_dev; - - /** - * Window show status. The window is hidden if false. - */ - pj_bool_t show; - - /** - * Window position. - */ - pjmedia_coord pos; - - /** - * Window size. - */ - pjmedia_rect_size size; - -} pjsua_vid_win_info; - - -/** - * Enumerates all video windows. - * - * @param id Array of window ID to be initialized. - * @param count On input, specifies max elements in the array. - * On return, it contains actual number of elements - * that have been initialized. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_vid_enum_wins(pjsua_vid_win_id wids[], - unsigned *count); - - -/** - * Get window info. - * - * @param wid The video window ID. - * @param wi The video window info to be initialized. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_vid_win_get_info(pjsua_vid_win_id wid, - pjsua_vid_win_info *wi); - -/** - * Show or hide window. This operation is not valid for native windows - * (pjsua_vid_win_info.is_native=PJ_TRUE), on which native windowing API - * must be used instead. - * - * @param wid The video window ID. - * @param show Set to PJ_TRUE to show the window, PJ_FALSE to - * hide the window. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_vid_win_set_show(pjsua_vid_win_id wid, - pj_bool_t show); - -/** - * Set video window position. This operation is not valid for native windows - * (pjsua_vid_win_info.is_native=PJ_TRUE), on which native windowing API - * must be used instead. - * - * @param wid The video window ID. - * @param pos The window position. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_vid_win_set_pos(pjsua_vid_win_id wid, - const pjmedia_coord *pos); - -/** - * Resize window. This operation is not valid for native windows - * (pjsua_vid_win_info.is_native=PJ_TRUE), on which native windowing API - * must be used instead. - * - * @param wid The video window ID. - * @param size The new window size. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_vid_win_set_size(pjsua_vid_win_id wid, - const pjmedia_rect_size *size); - -/** - * Rotate the video window. This function will change the video orientation - * and also possibly the video window size (width and height get swapped). - * This operation is not valid for native windows (pjsua_vid_win_info.is_native - * =PJ_TRUE), on which native windowing API must be used instead. - * - * @param wid The video window ID. - * @param angle The rotation angle in degrees, must be multiple of 90. - * Specify positive value for clockwise rotation or - * negative value for counter-clockwise rotation. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_vid_win_rotate(pjsua_vid_win_id wid, - int angle); - - -/* - * Video codecs API - */ - -/** - * Enum all supported video codecs in the system. - * - * @param id Array of ID to be initialized. - * @param count On input, specifies max elements in the array. - * On return, it contains actual number of elements - * that have been initialized. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_vid_enum_codecs( pjsua_codec_info id[], - unsigned *count ); - - -/** - * Change video codec priority. - * - * @param codec_id Codec ID, which is a string that uniquely identify - * the codec (such as "H263/90000"). Please see pjsua - * manual or pjmedia codec reference for details. - * @param priority Codec priority, 0-255, where zero means to disable - * the codec. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_vid_codec_set_priority( const pj_str_t *codec_id, - pj_uint8_t priority ); - - -/** - * Get video codec parameters. - * - * @param codec_id Codec ID. - * @param param Structure to receive video codec parameters. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_vid_codec_get_param( - const pj_str_t *codec_id, - pjmedia_vid_codec_param *param); - - -/** - * Set video codec parameters. - * - * @param codec_id Codec ID. - * @param param Codec parameter to set. Set to NULL to reset - * codec parameter to library default settings. - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DECL(pj_status_t) pjsua_vid_codec_set_param( - const pj_str_t *codec_id, - const pjmedia_vid_codec_param *param); - - - -/* end of VIDEO API */ -/** - * @} - */ - - -/** - * @} - */ - -PJ_END_DECL - - -#endif /* __PJSUA_H__ */ diff --git a/res/pjproject/pjsip/include/pjsua-lib/pjsua_internal.h b/res/pjproject/pjsip/include/pjsua-lib/pjsua_internal.h deleted file mode 100644 index ac4ab31f4c..0000000000 --- a/res/pjproject/pjsip/include/pjsua-lib/pjsua_internal.h +++ /dev/null @@ -1,797 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __PJSUA_INTERNAL_H__ -#define __PJSUA_INTERNAL_H__ - -/** - * This is the private header used by pjsua library implementation. - * Applications should not include this file. - */ - -PJ_BEGIN_DECL - -/** Forward decl of pjsua call */ -typedef struct pjsua_call pjsua_call; - -/** Forward decl of pjsua call media */ -typedef struct pjsua_call_media pjsua_call_media; - - -/** - * Call's media stream. - */ -struct pjsua_call_media -{ - pjsua_call *call; /**< Parent call. */ - pjmedia_type type; /**< Media type. */ - unsigned idx; /**< This media index in parent call. */ - pjsua_call_media_status state; /**< Media state. */ - pjsua_call_media_status prev_state;/**< Previous media state. */ - pjmedia_dir dir; /**< Media direction. */ - - /** The stream */ - struct { - /** Audio stream */ - struct { - pjmedia_stream *stream; /**< The audio stream. */ - int conf_slot; /**< Slot # in conference bridge. */ - } a; - - /** Video stream */ - struct { - pjmedia_vid_stream *stream; /**< The video stream. */ - pjsua_vid_win_id cap_win_id;/**< The video capture window */ - pjsua_vid_win_id rdr_win_id;/**< The video render window */ - pjmedia_vid_dev_index cap_dev; /**< The video capture device */ - pjmedia_vid_dev_index rdr_dev; /**< The video-in render device */ - } v; - - } strm; - - pj_uint32_t ssrc; /**< RTP SSRC */ - pj_uint32_t rtp_tx_ts; /**< Initial RTP timestamp for sender. */ - pj_uint16_t rtp_tx_seq;/**< Initial RTP sequence for sender. */ - pj_uint8_t rtp_tx_seq_ts_set; - /**< Bitmask flags if initial RTP sequence - and/or timestamp for sender are set. - bit 0/LSB : sequence flag - bit 1 : timestamp flag */ - - pjmedia_transport *tp; /**< Current media transport (can be 0) */ - pj_status_t tp_ready; /**< Media transport status. */ - pj_status_t tp_result; /**< Media transport creation result. */ - pjmedia_transport *tp_orig; /**< Original media transport */ - pj_bool_t tp_auto_del; /**< May delete media transport */ - pjsua_med_tp_st tp_st; /**< Media transport state */ - pj_bool_t use_custom_med_tp;/**< Use custom media transport? */ - pj_sockaddr rtp_addr; /**< Current RTP source address - (used to update ICE default - address) */ - pjmedia_srtp_use rem_srtp_use; /**< Remote's SRTP usage policy. */ - pj_timestamp last_req_keyframe;/**< Last TX keyframe request. */ - - pjsua_med_tp_state_cb med_init_cb;/**< Media transport - initialization callback. */ - - /** Media transport creation callback. */ - pj_status_t (*med_create_cb)(pjsua_call_media *call_med, - pj_status_t status, int security_level, - int *sip_err_code); -}; - -/** - * Maximum number of SDP "m=" lines to be supported. - */ -#define PJSUA_MAX_CALL_MEDIA PJMEDIA_MAX_SDP_MEDIA - -/* Call answer's list. */ -typedef struct call_answer -{ - PJ_DECL_LIST_MEMBER(struct call_answer); - pjsua_msg_data *msg_data; /**< Answer's headers list. */ - pj_str_t *reason; /**< Answer's reason phrase. */ - unsigned code; /**< Answer's status code. */ -} call_answer; - - -/** - * Structure to be attached to invite dialog. - * Given a dialog "dlg", application can retrieve this structure - * by accessing dlg->mod_data[pjsua.mod.id]. - */ -struct pjsua_call -{ - unsigned index; /**< Index in pjsua array. */ - pjsua_call_setting opt; /**< Call setting. */ - pjsip_inv_session *inv; /**< The invite session. */ - void *user_data; /**< User/application data. */ - pjsip_status_code last_code; /**< Last status code seen. */ - pj_str_t last_text; /**< Last status text seen. */ - pj_time_val start_time;/**< First INVITE sent/received. */ - pj_time_val res_time; /**< First response sent/received. */ - pj_time_val conn_time; /**< Connected/confirmed time. */ - pj_time_val dis_time; /**< Disconnect time. */ - pjsua_acc_id acc_id; /**< Account index being used. */ - int secure_level;/**< Signaling security level. */ - pjsua_call_hold_type call_hold_type; /**< How to do call hold. */ - pj_bool_t local_hold;/**< Flag for call-hold by local. */ - void *hold_msg; /**< Outgoing hold tx_data. */ - - unsigned med_cnt; /**< Number of media in SDP. */ - pjsua_call_media media[PJSUA_MAX_CALL_MEDIA]; /**< Array of media */ - unsigned med_prov_cnt;/**< Number of provisional media. */ - pjsua_call_media media_prov[PJSUA_MAX_CALL_MEDIA]; - /**< Array of provisional media. */ - - int audio_idx; /**< First active audio media. */ - pj_mutex_t *med_ch_mutex;/**< Media channel callback's mutex. */ - pjsua_med_tp_state_cb med_ch_cb;/**< Media channel callback. */ - pjsua_med_tp_state_info med_ch_info;/**< Media channel info. */ - - pjsip_evsub *xfer_sub; /**< Xfer server subscription, if this - call was triggered by xfer. */ - pj_stun_nat_type rem_nat_type; /**< NAT type of remote endpoint. */ - - char last_text_buf_[128]; /**< Buffer for last_text. */ - - struct { - pj_timer_entry reinv_timer;/**< Reinvite retry timer. */ - pj_uint32_t sdp_ver; /**< SDP version of the bad answer */ - int retry_cnt; /**< Retry count. */ - pj_bool_t pending; /**< Pending until CONFIRMED state */ - } lock_codec; /**< Data for codec locking when answer - contains multiple codecs. */ - - struct { - pjsip_dialog *dlg; /**< Call dialog. */ - pjmedia_sdp_session *rem_sdp;/**< Remote SDP. */ - pj_pool_t *pool_prov;/**< Provisional pool. */ - pj_bool_t med_ch_deinit;/**< Media channel de-init-ed? */ - union { - struct { - pjsua_msg_data *msg_data;/**< Headers for outgoing INVITE. */ - } out_call; - struct { - call_answer answers;/**< A list of call answers. */ - } inc_call; - } call_var; - } async_call; /**< Temporary storage for async - outgoing/incoming call. */ - - pj_bool_t rem_offerer; /**< Was remote SDP offerer? */ - unsigned rem_aud_cnt; /**< No of active audio in last remote - offer. */ - unsigned rem_vid_cnt; /**< No of active video in last remote - offer. */ -}; - - -/** - * Server presence subscription list head. - */ -struct pjsua_srv_pres -{ - PJ_DECL_LIST_MEMBER(struct pjsua_srv_pres); - pjsip_evsub *sub; /**< The evsub. */ - char *remote; /**< Remote URI. */ - int acc_id; /**< Account ID. */ - pjsip_dialog *dlg; /**< Dialog. */ - int expires; /**< "expires" value in the request. */ -}; - -/** - * Account - */ -typedef struct pjsua_acc -{ - pj_pool_t *pool; /**< Pool for this account. */ - pjsua_acc_config cfg; /**< Account configuration. */ - pj_bool_t valid; /**< Is this account valid? */ - - int index; /**< Index in accounts array. */ - pj_str_t display; /**< Display name, if any. */ - pj_str_t user_part; /**< User part of local URI. */ - pj_str_t contact; /**< Our Contact header. */ - pj_str_t reg_contact; /**< Contact header for REGISTER. - It may be different than acc - contact if outbound is used */ - - pj_str_t srv_domain; /**< Host part of reg server. */ - int srv_port; /**< Port number of reg server. */ - - pjsip_regc *regc; /**< Client registration session. */ - pj_status_t reg_last_err; /**< Last registration error. */ - int reg_last_code; /**< Last status last register. */ - - struct { - pj_bool_t active; /**< Flag of reregister status. */ - pj_timer_entry timer; /**< Timer for reregistration. */ - void *reg_tp; /**< Transport for registration. */ - unsigned attempt_cnt; /**< Attempt counter. */ - } auto_rereg; /**< Reregister/reconnect data. */ - - pj_timer_entry ka_timer; /**< Keep-alive timer for UDP. */ - pjsip_transport *ka_transport; /**< Transport for keep-alive. */ - pj_sockaddr ka_target; /**< Destination address for K-A */ - unsigned ka_target_len; /**< Length of ka_target. */ - - pjsip_route_hdr route_set; /**< Complete route set inc. outbnd.*/ - pj_uint32_t global_route_crc; /** CRC of global route setting. */ - pj_uint32_t local_route_crc; /** CRC of account route setting.*/ - - unsigned rfc5626_status;/**< SIP outbound status: - 0: not used - 1: requested - 2: acknowledged by servers */ - pj_str_t rfc5626_instprm;/**< SIP outbound instance param. */ - pj_str_t rfc5626_regprm;/**< SIP outbound reg param. */ - - unsigned cred_cnt; /**< Number of credentials. */ - pjsip_cred_info cred[PJSUA_ACC_MAX_PROXIES]; /**< Complete creds. */ - - pj_bool_t online_status; /**< Our online status. */ - pjrpid_element rpid; /**< RPID element information. */ - pjsua_srv_pres pres_srv_list; /**< Server subscription list. */ - pjsip_publishc *publish_sess; /**< Client publication session. */ - pj_bool_t publish_state; /**< Last published online status */ - - pjsip_evsub *mwi_sub; /**< MWI client subscription */ - pjsip_dialog *mwi_dlg; /**< Dialog for MWI sub. */ -} pjsua_acc; - - -/** - *Transport. - */ -typedef struct pjsua_transport_data -{ - int index; - pjsip_transport_type_e type; - pjsip_host_port local_name; - - union { - pjsip_transport *tp; - pjsip_tpfactory *factory; - void *ptr; - } data; - -} pjsua_transport_data; - - -/** Maximum length of subscription termination reason. */ -#define PJSUA_BUDDY_SUB_TERM_REASON_LEN 32 - -/** - * Buddy data. - */ -typedef struct pjsua_buddy -{ - pj_pool_t *pool; /**< Pool for this buddy. */ - unsigned index; /**< Buddy index. */ - void *user_data; /**< Application data. */ - pj_str_t uri; /**< Buddy URI. */ - pj_str_t contact; /**< Contact learned from subscrp. */ - pj_str_t name; /**< Buddy name. */ - pj_str_t display; /**< Buddy display name. */ - pj_str_t host; /**< Buddy host. */ - unsigned port; /**< Buddy port. */ - pj_bool_t monitor; /**< Should we monitor? */ - pjsip_dialog *dlg; /**< The underlying dialog. */ - pjsip_evsub *sub; /**< Buddy presence subscription */ - unsigned term_code; /**< Subscription termination code */ - pj_str_t term_reason;/**< Subscription termination reason */ - pjsip_pres_status status; /**< Buddy presence status. */ - pj_timer_entry timer; /**< Resubscription timer */ -} pjsua_buddy; - - -/** - * File player/recorder data. - */ -typedef struct pjsua_file_data -{ - pj_bool_t type; /* 0=player, 1=playlist */ - pjmedia_port *port; - pj_pool_t *pool; - unsigned slot; -} pjsua_file_data; - - -/** - * Additional parameters for conference bridge. - */ -typedef struct pjsua_conf_setting -{ - unsigned channel_count; - unsigned samples_per_frame; - unsigned bits_per_sample; -} pjsua_conf_setting; - -typedef struct pjsua_stun_resolve -{ - PJ_DECL_LIST_MEMBER(struct pjsua_stun_resolve); - - pj_pool_t *pool; /**< Pool */ - unsigned count; /**< # of entries */ - pj_str_t *srv; /**< Array of entries */ - unsigned idx; /**< Current index */ - void *token; /**< App token */ - pj_stun_resolve_cb cb; /**< App callback */ - pj_bool_t blocking; /**< Blocking? */ - pj_status_t status; /**< Session status */ - pj_sockaddr addr; /**< Result */ - pj_stun_sock *stun_sock; /**< Testing STUN sock */ -} pjsua_stun_resolve; - -/* See also pjsua_vid_win_type_name() */ -typedef enum pjsua_vid_win_type -{ - PJSUA_WND_TYPE_NONE, - PJSUA_WND_TYPE_PREVIEW, - PJSUA_WND_TYPE_STREAM -} pjsua_vid_win_type; - -typedef struct pjsua_vid_win -{ - pjsua_vid_win_type type; /**< Type. */ - pj_pool_t *pool; /**< Own pool. */ - unsigned ref_cnt; /**< Reference counter. */ - pjmedia_vid_port *vp_cap; /**< Capture vidport. */ - pjmedia_vid_port *vp_rend; /**< Renderer vidport */ - pjmedia_port *tee; /**< Video tee */ - pjmedia_vid_dev_index preview_cap_id;/**< Capture dev id */ - pj_bool_t preview_running;/**< Preview is started*/ - pj_bool_t is_native; /**< Preview is by dev */ -} pjsua_vid_win; - - -typedef struct pjsua_timer_list -{ - PJ_DECL_LIST_MEMBER(struct pjsua_timer_list); - pj_timer_entry entry; - void (*cb)(void *user_data); - void *user_data; -} pjsua_timer_list; - - -/** - * Global pjsua application data. - */ -struct pjsua_data -{ - - /* Control: */ - pj_caching_pool cp; /**< Global pool factory. */ - pj_pool_t *pool; /**< pjsua's private pool. */ - pj_mutex_t *mutex; /**< Mutex protection for this data */ - unsigned mutex_nesting_level; /**< Mutex nesting level. */ - pj_thread_t *mutex_owner; /**< Mutex owner. */ - pjsua_state state; /**< Library state. */ - - /* Logging: */ - pjsua_logging_config log_cfg; /**< Current logging config. */ - pj_oshandle_t log_file; /**acc_id = src->acc_id; - dst->call_id = src->call_id; - pj_strdup_with_null(pool, &dst->to, &src->to); - dst->user_data = src->user_data; - pj_strdup_with_null(pool, &dst->body, &src->body); - - return dst; -} - - -#if 1 - -PJ_INLINE(void) PJSUA_LOCK() -{ - pj_mutex_lock(pjsua_var.mutex); - pjsua_var.mutex_owner = pj_thread_this(); - ++pjsua_var.mutex_nesting_level; -} - -PJ_INLINE(void) PJSUA_UNLOCK() -{ - if (--pjsua_var.mutex_nesting_level == 0) - pjsua_var.mutex_owner = NULL; - pj_mutex_unlock(pjsua_var.mutex); -} - -PJ_INLINE(pj_status_t) PJSUA_TRY_LOCK() -{ - pj_status_t status; - status = pj_mutex_trylock(pjsua_var.mutex); - if (status == PJ_SUCCESS) { - pjsua_var.mutex_owner = pj_thread_this(); - ++pjsua_var.mutex_nesting_level; - } - return status; -} - -PJ_INLINE(pj_bool_t) PJSUA_LOCK_IS_LOCKED() -{ - return pjsua_var.mutex_owner == pj_thread_this(); -} - -#else -#define PJSUA_LOCK() -#define PJSUA_TRY_LOCK() PJ_SUCCESS -#define PJSUA_UNLOCK() -#define PJSUA_LOCK_IS_LOCKED() PJ_TRUE -#endif - -/* Core */ -void pjsua_set_state(pjsua_state new_state); - -/****** - * STUN resolution - */ -/* Resolve the STUN server */ -pj_status_t resolve_stun_server(pj_bool_t wait); - -/** - * Normalize route URI (check for ";lr" and append one if it doesn't - * exist and pjsua_config.force_lr is set. - */ -pj_status_t normalize_route_uri(pj_pool_t *pool, pj_str_t *uri); - -/** - * Handle incoming invite request. - */ -pj_bool_t pjsua_call_on_incoming(pjsip_rx_data *rdata); - -/* - * Media channel. - */ -pj_status_t pjsua_media_channel_init(pjsua_call_id call_id, - pjsip_role_e role, - int security_level, - pj_pool_t *tmp_pool, - const pjmedia_sdp_session *rem_sdp, - int *sip_err_code, - pj_bool_t async, - pjsua_med_tp_state_cb cb); -pj_status_t pjsua_media_channel_create_sdp(pjsua_call_id call_id, - pj_pool_t *pool, - const pjmedia_sdp_session *rem_sdp, - pjmedia_sdp_session **p_sdp, - int *sip_err_code); -pj_status_t pjsua_media_channel_update(pjsua_call_id call_id, - const pjmedia_sdp_session *local_sdp, - const pjmedia_sdp_session *remote_sdp); -pj_status_t pjsua_media_channel_deinit(pjsua_call_id call_id); - -pj_status_t pjsua_call_media_init(pjsua_call_media *call_med, - pjmedia_type type, - const pjsua_transport_config *tcfg, - int security_level, - int *sip_err_code, - pj_bool_t async, - pjsua_med_tp_state_cb cb); -void pjsua_set_media_tp_state(pjsua_call_media *call_med, pjsua_med_tp_st tp_st); - -void pjsua_media_prov_clean_up(pjsua_call_id call_id); - -/* Callback to receive media events */ -pj_status_t call_media_on_event(pjmedia_event *event, - void *user_data); - -/** - * Init presence. - */ -pj_status_t pjsua_pres_init(); - -/* - * Start presence subsystem. - */ -pj_status_t pjsua_pres_start(void); - -/** - * Refresh presence subscriptions - */ -void pjsua_pres_refresh(void); - -/* - * Update server subscription (e.g. when our online status has changed) - */ -void pjsua_pres_update_acc(int acc_id, pj_bool_t force); - -/* - * Shutdown presence. - */ -void pjsua_pres_shutdown(unsigned flags); - -/** - * Init presence for aoocunt. - */ -pj_status_t pjsua_pres_init_acc(int acc_id); - -/** - * Send PUBLISH - */ -pj_status_t pjsua_pres_init_publish_acc(int acc_id); - -/** - * Send un-PUBLISH - */ -void pjsua_pres_unpublish(pjsua_acc *acc, unsigned flags); - -/** - * Terminate server subscription for the account - */ -void pjsua_pres_delete_acc(int acc_id, unsigned flags); - -/** - * Init IM module handler to handle incoming MESSAGE outside dialog. - */ -pj_status_t pjsua_im_init(void); - -/** - * Start MWI subscription - */ -void pjsua_start_mwi(pjsua_acc *acc); - -/** - * Init call subsystem. - */ -pj_status_t pjsua_call_subsys_init(const pjsua_config *cfg); - -/** - * Start call subsystem. - */ -pj_status_t pjsua_call_subsys_start(void); - -/** - * Init media subsystems. - */ -pj_status_t pjsua_media_subsys_init(const pjsua_media_config *cfg); - -/** - * Start pjsua media subsystem. - */ -pj_status_t pjsua_media_subsys_start(void); - -/** - * Destroy pjsua media subsystem. - */ -pj_status_t pjsua_media_subsys_destroy(unsigned flags); - -/** - * Private: check if we can accept the message. - * If not, then p_accept header will be filled with a valid - * Accept header. - */ -pj_bool_t pjsua_im_accept_pager(pjsip_rx_data *rdata, - pjsip_accept_hdr **p_accept_hdr); - -/** - * Private: process pager message. - * This may trigger pjsua_ui_on_pager() or pjsua_ui_on_typing(). - */ -void pjsua_im_process_pager(int call_id, const pj_str_t *from, - const pj_str_t *to, pjsip_rx_data *rdata); - - -/** - * Create Accept header for MESSAGE. - */ -pjsip_accept_hdr* pjsua_im_create_accept(pj_pool_t *pool); - -/* - * Add additional headers etc in msg_data specified by application - * when sending requests. - */ -void pjsua_process_msg_data(pjsip_tx_data *tdata, - const pjsua_msg_data *msg_data); - - -/* - * Add route_set to outgoing requests - */ -void pjsua_set_msg_route_set( pjsip_tx_data *tdata, - const pjsip_route_hdr *route_set ); - - -/* - * Simple version of MIME type parsing (it doesn't support parameters) - */ -void pjsua_parse_media_type( pj_pool_t *pool, - const pj_str_t *mime, - pjsip_media_type *media_type); - - -/* - * Internal function to init transport selector from transport id. - */ -void pjsua_init_tpselector(pjsua_transport_id tp_id, - pjsip_tpselector *sel); - -pjsip_dialog* on_dlg_forked(pjsip_dialog *first_set, pjsip_rx_data *res); -pj_status_t acquire_call(const char *title, - pjsua_call_id call_id, - pjsua_call **p_call, - pjsip_dialog **p_dlg); -const char *good_number(char *buf, pj_int32_t val); -void print_call(const char *title, - int call_id, - char *buf, pj_size_t size); - -/* - * Audio - */ -pj_status_t pjsua_aud_subsys_init(void); -pj_status_t pjsua_aud_subsys_start(void); -pj_status_t pjsua_aud_subsys_destroy(void); -void pjsua_aud_stop_stream(pjsua_call_media *call_med); -pj_status_t pjsua_aud_channel_update(pjsua_call_media *call_med, - pj_pool_t *tmp_pool, - pjmedia_stream_info *si, - const pjmedia_sdp_session *local_sdp, - const pjmedia_sdp_session *remote_sdp); - -/* - * Video - */ -pj_status_t pjsua_vid_subsys_init(void); -pj_status_t pjsua_vid_subsys_start(void); -pj_status_t pjsua_vid_subsys_destroy(void); -void pjsua_vid_stop_stream(pjsua_call_media *call_med); -pj_status_t pjsua_vid_channel_init(pjsua_call_media *call_med); -pj_status_t pjsua_vid_channel_update(pjsua_call_media *call_med, - pj_pool_t *tmp_pool, - pjmedia_vid_stream_info *si, - const pjmedia_sdp_session *local_sdp, - const pjmedia_sdp_session *remote_sdp); - -#if PJSUA_HAS_VIDEO -PJ_DECL(void) pjsua_vid_win_reset(pjsua_vid_win_id wid); -#else -# define pjsua_vid_win_reset(wid) -#endif - - -PJ_END_DECL - -#endif /* __PJSUA_INTERNAL_H__ */ - diff --git a/res/pjproject/pjsip/include/pjsua.h b/res/pjproject/pjsip/include/pjsua.h deleted file mode 100644 index 9614367475..0000000000 --- a/res/pjproject/pjsip/include/pjsua.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/res/pjproject/pjsip/src/pjsip-simple/errno.c b/res/pjproject/pjsip/src/pjsip-simple/errno.c deleted file mode 100644 index 91a066d345..0000000000 --- a/res/pjproject/pjsip/src/pjsip-simple/errno.c +++ /dev/null @@ -1,116 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -/* PJSIP-SIMPLE's own error codes/messages - * MUST KEEP THIS ARRAY SORTED!! - * Message must be limited to 64 chars! - */ - -#if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING != 0) - -static const struct -{ - int code; - const char *msg; -} err_str[] = -{ - /* Event errors */ - { PJSIP_SIMPLE_ENOPKG, "No SIP event package with the specified name" }, - { PJSIP_SIMPLE_EPKGEXISTS, "SIP event package already exist" }, - - /* Presence errors */ - { PJSIP_SIMPLE_ENOTSUBSCRIBE, "Expecting SUBSCRIBE request" }, - { PJSIP_SIMPLE_ENOPRESENCE, "No presence associated with the subscription" }, - { PJSIP_SIMPLE_ENOPRESENCEINFO, "No presence info in the server subscription" }, - { PJSIP_SIMPLE_EBADCONTENT, "Bad Content-Type for presence" }, - { PJSIP_SIMPLE_EBADPIDF, "Bad PIDF content for presence" }, - { PJSIP_SIMPLE_EBADXPIDF, "Bad XPIDF content for presence" }, - { PJSIP_SIMPLE_EBADRPID, "Invalid or bad RPID document"}, - - /* isComposing errors. */ - { PJSIP_SIMPLE_EBADISCOMPOSE, "Bad isComposing indication/XML message" }, -}; - - -#endif /* PJ_HAS_ERROR_STRING */ - - -/* - * pjsipsimple_strerror() - */ -PJ_DEF(pj_str_t) pjsipsimple_strerror( pj_status_t statcode, - char *buf, pj_size_t bufsize ) -{ - pj_str_t errstr; - -#if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING != 0) - - if (statcode >= PJSIP_SIMPLE_ERRNO_START && - statcode < PJSIP_SIMPLE_ERRNO_START + PJ_ERRNO_SPACE_SIZE) - { - /* Find the error in the table. - * Use binary search! - */ - int first = 0; - int n = PJ_ARRAY_SIZE(err_str); - - while (n > 0) { - int half = n/2; - int mid = first + half; - - if (err_str[mid].code < statcode) { - first = mid+1; - n -= (half+1); - } else if (err_str[mid].code > statcode) { - n = half; - } else { - first = mid; - break; - } - } - - - if (PJ_ARRAY_SIZE(err_str) && err_str[first].code == statcode) { - pj_str_t msg; - - msg.ptr = (char*)err_str[first].msg; - msg.slen = pj_ansi_strlen(err_str[first].msg); - - errstr.ptr = buf; - pj_strncpy_with_null(&errstr, &msg, bufsize); - return errstr; - - } - } - -#endif /* PJ_HAS_ERROR_STRING */ - - - /* Error not found. */ - errstr.ptr = buf; - errstr.slen = pj_ansi_snprintf(buf, bufsize, - "Unknown pjsip-simple error %d", - statcode); - - return errstr; -} - diff --git a/res/pjproject/pjsip/src/pjsip-simple/evsub.c b/res/pjproject/pjsip/src/pjsip-simple/evsub.c deleted file mode 100644 index 372c5151bf..0000000000 --- a/res/pjproject/pjsip/src/pjsip-simple/evsub.c +++ /dev/null @@ -1,2169 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#define THIS_FILE "evsub.c" - -/* - * Global constant - */ - -/* Let's define this enum, so that it'll trigger compilation error - * when somebody define the same enum in sip_msg.h - */ -enum -{ - PJSIP_SUBSCRIBE_METHOD = PJSIP_OTHER_METHOD, - PJSIP_NOTIFY_METHOD = PJSIP_OTHER_METHOD -}; - -PJ_DEF_DATA(const pjsip_method) pjsip_subscribe_method = -{ - (pjsip_method_e) PJSIP_SUBSCRIBE_METHOD, - { "SUBSCRIBE", 9 } -}; - -PJ_DEF_DATA(const pjsip_method) pjsip_notify_method = -{ - (pjsip_method_e) PJSIP_NOTIFY_METHOD, - { "NOTIFY", 6 } -}; - -/** - * SUBSCRIBE method constant. - */ -PJ_DEF(const pjsip_method*) pjsip_get_subscribe_method() -{ - return &pjsip_subscribe_method; -} - -/** - * NOTIFY method constant. - */ -PJ_DEF(const pjsip_method*) pjsip_get_notify_method() -{ - return &pjsip_notify_method; -} - - -/* - * Static prototypes. - */ -static void mod_evsub_on_tsx_state(pjsip_transaction*, pjsip_event*); -static pj_status_t mod_evsub_unload(void); - - -/* - * State names. - */ -static pj_str_t evsub_state_names[] = -{ - { "NULL", 4}, - { "SENT", 4}, - { "ACCEPTED", 8}, - { "PENDING", 7}, - { "ACTIVE", 6}, - { "TERMINATED", 10}, - { "UNKNOWN", 7} -}; - -/* - * Timer constants. - */ - -/* Number of seconds to send SUBSCRIBE before the actual expiration */ -#define TIME_UAC_REFRESH PJSIP_EVSUB_TIME_UAC_REFRESH - -/* Time to wait for the final NOTIFY after sending unsubscription */ -#define TIME_UAC_TERMINATE PJSIP_EVSUB_TIME_UAC_TERMINATE - -/* If client responds NOTIFY with non-2xx final response (such as 401), - * wait for this seconds for further NOTIFY, otherwise client will - * unsubscribe - */ -#define TIME_UAC_WAIT_NOTIFY PJSIP_EVSUB_TIME_UAC_WAIT_NOTIFY - - -/* - * Timer id - */ -enum timer_id -{ - /* No timer. */ - TIMER_TYPE_NONE, - - /* Time to refresh client subscription. - * The action is to call on_client_refresh() callback. - */ - TIMER_TYPE_UAC_REFRESH, - - /* UAS timeout after to subscription refresh. - * The action is to call on_server_timeout() callback. - */ - TIMER_TYPE_UAS_TIMEOUT, - - /* UAC waiting for final NOTIFY after unsubscribing - * The action is to terminate. - */ - TIMER_TYPE_UAC_TERMINATE, - - /* UAC waiting for further NOTIFY after sending non-2xx response to - * NOTIFY. The action is to unsubscribe. - */ - TIMER_TYPE_UAC_WAIT_NOTIFY, - - /* Max nb of timer types. */ - TIMER_TYPE_MAX -}; - -static const char *timer_names[] = -{ - "None", - "UAC_REFRESH", - "UAS_TIMEOUT" - "UAC_TERMINATE", - "UAC_WAIT_NOTIFY", - "INVALID_TIMER" -}; - -/* - * Definition of event package. - */ -struct evpkg -{ - PJ_DECL_LIST_MEMBER(struct evpkg); - - pj_str_t pkg_name; - pjsip_module *pkg_mod; - unsigned pkg_expires; - pjsip_accept_hdr *pkg_accept; -}; - - -/* - * Event subscription module (mod-evsub). - */ -static struct mod_evsub -{ - pjsip_module mod; - pj_pool_t *pool; - pjsip_endpoint *endpt; - struct evpkg pkg_list; - pjsip_allow_events_hdr *allow_events_hdr; - -} mod_evsub = -{ - { - NULL, NULL, /* prev, next. */ - { "mod-evsub", 9 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_DIALOG_USAGE, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - &mod_evsub_unload, /* unload() */ - NULL, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - &mod_evsub_on_tsx_state, /* on_tsx_state() */ - } -}; - - -/* - * Event subscription session. - */ -struct pjsip_evsub -{ - char obj_name[PJ_MAX_OBJ_NAME]; /**< Name. */ - pj_pool_t *pool; /**< Pool. */ - pjsip_endpoint *endpt; /**< Endpoint instance. */ - pjsip_dialog *dlg; /**< Underlying dialog. */ - struct evpkg *pkg; /**< The event package. */ - unsigned option; /**< Options. */ - pjsip_evsub_user user; /**< Callback. */ - pj_bool_t call_cb; /**< Notify callback? */ - pjsip_role_e role; /**< UAC=subscriber, UAS=notifier */ - pjsip_evsub_state state; /**< Subscription state. */ - pj_str_t state_str; /**< String describing the state. */ - pjsip_evsub_state dst_state; /**< Pending state to be set. */ - pj_str_t dst_state_str;/**< Pending state to be set. */ - pj_str_t term_reason; /**< Termination reason. */ - pjsip_method method; /**< Method that established subscr.*/ - pjsip_event_hdr *event; /**< Event description. */ - pjsip_expires_hdr *expires; /**< Expires header */ - pjsip_accept_hdr *accept; /**< Local Accept header. */ - pjsip_hdr sub_hdr_list; /**< User-defined header. */ - - pj_time_val refresh_time; /**< Time to refresh. */ - pj_timer_entry timer; /**< Internal timer. */ - int pending_tsx; /**< Number of pending transactions.*/ - pjsip_transaction *pending_sub; /**< Pending UAC SUBSCRIBE tsx. */ - - void *mod_data[PJSIP_MAX_MODULE]; /**< Module data. */ -}; - - -/* - * This is the structure that will be "attached" to dialog. - * The purpose is to allow multiple subscriptions inside a dialog. - */ -struct dlgsub -{ - PJ_DECL_LIST_MEMBER(struct dlgsub); - pjsip_evsub *sub; -}; - - -/* Static vars. */ -static const pj_str_t STR_EVENT = { "Event", 5 }; -static const pj_str_t STR_EVENT_S = { "Event", 5 }; -static const pj_str_t STR_SUB_STATE = { "Subscription-State", 18 }; -static const pj_str_t STR_TERMINATED = { "terminated", 10 }; -static const pj_str_t STR_ACTIVE = { "active", 6 }; -static const pj_str_t STR_PENDING = { "pending", 7 }; -static const pj_str_t STR_TIMEOUT = { "timeout", 7}; - - -/* - * On unload module. - */ -static pj_status_t mod_evsub_unload(void) -{ - pjsip_endpt_release_pool(mod_evsub.endpt, mod_evsub.pool); - mod_evsub.pool = NULL; - - return PJ_SUCCESS; -} - -/* Proto for pjsipsimple_strerror(). - * Defined in errno.c - */ -PJ_DECL(pj_str_t) pjsipsimple_strerror( pj_status_t statcode, - char *buf, pj_size_t bufsize ); - -/* - * Init and register module. - */ -PJ_DEF(pj_status_t) pjsip_evsub_init_module(pjsip_endpoint *endpt) -{ - pj_status_t status; - pj_str_t method_tags[] = { - { "SUBSCRIBE", 9}, - { "NOTIFY", 6} - }; - - status = pj_register_strerror(PJSIP_SIMPLE_ERRNO_START, - PJ_ERRNO_SPACE_SIZE, - &pjsipsimple_strerror); - pj_assert(status == PJ_SUCCESS); - - PJ_ASSERT_RETURN(endpt != NULL, PJ_EINVAL); - PJ_ASSERT_RETURN(mod_evsub.mod.id == -1, PJ_EINVALIDOP); - - /* Keep endpoint for future reference: */ - mod_evsub.endpt = endpt; - - /* Init event package list: */ - pj_list_init(&mod_evsub.pkg_list); - - /* Create pool: */ - mod_evsub.pool = pjsip_endpt_create_pool(endpt, "evsub", 512, 512); - if (!mod_evsub.pool) - return PJ_ENOMEM; - - /* Register module: */ - status = pjsip_endpt_register_module(endpt, &mod_evsub.mod); - if (status != PJ_SUCCESS) - goto on_error; - - /* Create Allow-Events header: */ - mod_evsub.allow_events_hdr = pjsip_allow_events_hdr_create(mod_evsub.pool); - - /* Register SIP-event specific headers parser: */ - pjsip_evsub_init_parser(); - - /* Register new methods SUBSCRIBE and NOTIFY in Allow-ed header */ - pjsip_endpt_add_capability(endpt, &mod_evsub.mod, PJSIP_H_ALLOW, NULL, - 2, method_tags); - - /* Done. */ - return PJ_SUCCESS; - -on_error: - if (mod_evsub.pool) { - pjsip_endpt_release_pool(endpt, mod_evsub.pool); - mod_evsub.pool = NULL; - } - mod_evsub.endpt = NULL; - return status; -} - - -/* - * Get the instance of the module. - */ -PJ_DEF(pjsip_module*) pjsip_evsub_instance(void) -{ - PJ_ASSERT_RETURN(mod_evsub.mod.id != -1, NULL); - - return &mod_evsub.mod; -} - - -/* - * Get the event subscription instance in the transaction. - */ -PJ_DEF(pjsip_evsub*) pjsip_tsx_get_evsub(pjsip_transaction *tsx) -{ - return (pjsip_evsub*) tsx->mod_data[mod_evsub.mod.id]; -} - - -/* - * Set event subscription's module data. - */ -PJ_DEF(void) pjsip_evsub_set_mod_data( pjsip_evsub *sub, unsigned mod_id, - void *data ) -{ - PJ_ASSERT_ON_FAIL(mod_id < PJSIP_MAX_MODULE, return); - sub->mod_data[mod_id] = data; -} - - -/* - * Get event subscription's module data. - */ -PJ_DEF(void*) pjsip_evsub_get_mod_data( pjsip_evsub *sub, unsigned mod_id ) -{ - PJ_ASSERT_RETURN(mod_id < PJSIP_MAX_MODULE, NULL); - return sub->mod_data[mod_id]; -} - - -/* - * Find registered event package with matching name. - */ -static struct evpkg* find_pkg(const pj_str_t *event_name) -{ - struct evpkg *pkg; - - pkg = mod_evsub.pkg_list.next; - while (pkg != &mod_evsub.pkg_list) { - - if (pj_stricmp(&pkg->pkg_name, event_name) == 0) { - return pkg; - } - - pkg = pkg->next; - } - - return NULL; -} - -/* - * Register an event package - */ -PJ_DEF(pj_status_t) pjsip_evsub_register_pkg( pjsip_module *pkg_mod, - const pj_str_t *event_name, - unsigned expires, - unsigned accept_cnt, - const pj_str_t accept[]) -{ - struct evpkg *pkg; - unsigned i; - - PJ_ASSERT_RETURN(pkg_mod && event_name, PJ_EINVAL); - PJ_ASSERT_RETURN(accept_cnt < PJ_ARRAY_SIZE(pkg->pkg_accept->values), - PJ_ETOOMANY); - - /* Make sure evsub module has been initialized */ - PJ_ASSERT_RETURN(mod_evsub.mod.id != -1, PJ_EINVALIDOP); - - /* Make sure no module with the specified name already registered: */ - - PJ_ASSERT_RETURN(find_pkg(event_name) == NULL, PJSIP_SIMPLE_EPKGEXISTS); - - - /* Create new event package: */ - - pkg = PJ_POOL_ALLOC_T(mod_evsub.pool, struct evpkg); - pkg->pkg_mod = pkg_mod; - pkg->pkg_expires = expires; - pj_strdup(mod_evsub.pool, &pkg->pkg_name, event_name); - - pkg->pkg_accept = pjsip_accept_hdr_create(mod_evsub.pool); - pkg->pkg_accept->count = accept_cnt; - for (i=0; ipkg_accept->values[i], &accept[i]); - } - - /* Add to package list: */ - - pj_list_push_back(&mod_evsub.pkg_list, pkg); - - /* Add to Allow-Events header: */ - - if (mod_evsub.allow_events_hdr->count != - PJ_ARRAY_SIZE(mod_evsub.allow_events_hdr->values)) - { - mod_evsub.allow_events_hdr->values[mod_evsub.allow_events_hdr->count] = - pkg->pkg_name; - ++mod_evsub.allow_events_hdr->count; - } - - /* Add to endpoint's Accept header */ - pjsip_endpt_add_capability(mod_evsub.endpt, &mod_evsub.mod, - PJSIP_H_ACCEPT, NULL, - pkg->pkg_accept->count, - pkg->pkg_accept->values); - - - /* Done */ - - PJ_LOG(5,(THIS_FILE, "Event pkg \"%.*s\" registered by %.*s", - (int)event_name->slen, event_name->ptr, - (int)pkg_mod->name.slen, pkg_mod->name.ptr)); - - return PJ_SUCCESS; -} - - -/* - * Retrieve Allow-Events header - */ -PJ_DEF(const pjsip_hdr*) pjsip_evsub_get_allow_events_hdr(pjsip_module *m) -{ - struct mod_evsub *mod; - - if (m == NULL) - m = pjsip_evsub_instance(); - - mod = (struct mod_evsub*)m; - - return (pjsip_hdr*) mod->allow_events_hdr; -} - - -/* - * Update expiration time. - */ -static void update_expires( pjsip_evsub *sub, pj_uint32_t interval ) -{ - pj_gettimeofday(&sub->refresh_time); - sub->refresh_time.sec += interval; -} - - -/* - * Schedule timer. - */ -static void set_timer( pjsip_evsub *sub, int timer_id, - pj_int32_t seconds) -{ - if (sub->timer.id != TIMER_TYPE_NONE) { - PJ_LOG(5,(sub->obj_name, "%s %s timer", - (timer_id==sub->timer.id ? "Updating" : "Cancelling"), - timer_names[sub->timer.id])); - pjsip_endpt_cancel_timer(sub->endpt, &sub->timer); - sub->timer.id = TIMER_TYPE_NONE; - } - - if (timer_id != TIMER_TYPE_NONE) { - pj_time_val timeout; - - PJ_ASSERT_ON_FAIL(seconds > 0, return); - PJ_ASSERT_ON_FAIL(timer_id>TIMER_TYPE_NONE && timer_idtimer.id = timer_id; - - pjsip_endpt_schedule_timer(sub->endpt, &sub->timer, &timeout); - - PJ_LOG(5,(sub->obj_name, "Timer %s scheduled in %d seconds", - timer_names[sub->timer.id], timeout.sec)); - } -} - - -/* - * Destroy session. - */ -static void evsub_destroy( pjsip_evsub *sub ) -{ - struct dlgsub *dlgsub_head, *dlgsub; - - PJ_LOG(4,(sub->obj_name, "Subscription destroyed")); - - /* Kill timer */ - set_timer(sub, TIMER_TYPE_NONE, 0); - - /* Remove this session from dialog's list of subscription */ - dlgsub_head = (struct dlgsub *) sub->dlg->mod_data[mod_evsub.mod.id]; - dlgsub = dlgsub_head->next; - while (dlgsub != dlgsub_head) { - - if (dlgsub->sub == sub) { - pj_list_erase(dlgsub); - break; - } - - dlgsub = dlgsub->next; - } - - /* Decrement dialog's session */ - pjsip_dlg_dec_session(sub->dlg, &mod_evsub.mod); -} - -/* - * Set subscription session state. - */ -static void set_state( pjsip_evsub *sub, pjsip_evsub_state state, - const pj_str_t *state_str, pjsip_event *event, - const pj_str_t *reason) -{ - pjsip_evsub_state prev_state = sub->state; - pj_str_t old_state_str = sub->state_str; - pjsip_event dummy_event; - - sub->state = state; - - if (state_str && state_str->slen) - pj_strdup_with_null(sub->pool, &sub->state_str, state_str); - else - sub->state_str = evsub_state_names[state]; - - if (reason && sub->term_reason.slen==0) - pj_strdup(sub->pool, &sub->term_reason, reason); - - PJ_LOG(4,(sub->obj_name, - "Subscription state changed %.*s --> %.*s", - (int)old_state_str.slen, - old_state_str.ptr, - (int)sub->state_str.slen, - sub->state_str.ptr)); - pj_log_push_indent(); - - /* don't call the callback with NULL event, it may crash the app! */ - if (!event) { - PJSIP_EVENT_INIT_USER(dummy_event, 0, 0, 0, 0); - event = &dummy_event; - } - - if (sub->user.on_evsub_state && sub->call_cb) - (*sub->user.on_evsub_state)(sub, event); - - if (state == PJSIP_EVSUB_STATE_TERMINATED && - prev_state != PJSIP_EVSUB_STATE_TERMINATED) - { - if (sub->pending_tsx == 0) { - evsub_destroy(sub); - } - } - - pj_log_pop_indent(); -} - - -/* - * Timer callback. - */ -static void on_timer( pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry) -{ - pjsip_evsub *sub; - int timer_id; - - PJ_UNUSED_ARG(timer_heap); - - sub = (pjsip_evsub*) entry->user_data; - - pjsip_dlg_inc_lock(sub->dlg); - - timer_id = entry->id; - entry->id = TIMER_TYPE_NONE; - - switch (timer_id) { - - case TIMER_TYPE_UAC_REFRESH: - /* Time for UAC to refresh subscription */ - if (sub->user.on_client_refresh && sub->call_cb) { - (*sub->user.on_client_refresh)(sub); - } else { - pjsip_tx_data *tdata; - pj_status_t status; - - PJ_LOG(5,(sub->obj_name, "Refreshing subscription.")); - pj_log_push_indent(); - status = pjsip_evsub_initiate(sub, NULL, - sub->expires->ivalue, - &tdata); - if (status == PJ_SUCCESS) - pjsip_evsub_send_request(sub, tdata); - - pj_log_pop_indent(); - } - break; - - case TIMER_TYPE_UAS_TIMEOUT: - /* Refresh from UAC has not been received */ - if (sub->user.on_server_timeout && sub->call_cb) { - (*sub->user.on_server_timeout)(sub); - } else { - pjsip_tx_data *tdata; - pj_status_t status; - - PJ_LOG(5,(sub->obj_name, "Timeout waiting for refresh. " - "Sending NOTIFY to terminate.")); - pj_log_push_indent(); - status = pjsip_evsub_notify( sub, PJSIP_EVSUB_STATE_TERMINATED, - NULL, &STR_TIMEOUT, &tdata); - if (status == PJ_SUCCESS) - pjsip_evsub_send_request(sub, tdata); - - pj_log_pop_indent(); - } - break; - - case TIMER_TYPE_UAC_TERMINATE: - { - pj_str_t timeout = {"timeout", 7}; - - PJ_LOG(5,(sub->obj_name, "Timeout waiting for final NOTIFY. " - "Terminating..")); - pj_log_push_indent(); - set_state(sub, PJSIP_EVSUB_STATE_TERMINATED, NULL, NULL, - &timeout); - pj_log_pop_indent(); - } - break; - - case TIMER_TYPE_UAC_WAIT_NOTIFY: - { - pjsip_tx_data *tdata; - pj_status_t status; - - PJ_LOG(5,(sub->obj_name, - "Timeout waiting for subsequent NOTIFY (we did " - "send non-2xx response for previous NOTIFY). " - "Unsubscribing..")); - pj_log_push_indent(); - status = pjsip_evsub_initiate( sub, NULL, 0, &tdata); - if (status == PJ_SUCCESS) - pjsip_evsub_send_request(sub, tdata); - - pj_log_pop_indent(); - } - break; - - default: - pj_assert(!"Invalid timer id"); - } - - pjsip_dlg_dec_lock(sub->dlg); -} - - -/* - * Create subscription session, used for both client and notifier. - */ -static pj_status_t evsub_create( pjsip_dialog *dlg, - pjsip_role_e role, - const pjsip_evsub_user *user_cb, - const pj_str_t *event, - unsigned option, - pjsip_evsub **p_evsub ) -{ - pjsip_evsub *sub; - struct evpkg *pkg; - struct dlgsub *dlgsub_head, *dlgsub; - pj_status_t status; - - /* Make sure there's package register for the event name: */ - - pkg = find_pkg(event); - if (pkg == NULL) - return PJSIP_SIMPLE_ENOPKG; - - - /* Must lock dialog before using pool etc. */ - pjsip_dlg_inc_lock(dlg); - - /* Init attributes: */ - - sub = PJ_POOL_ZALLOC_T(dlg->pool, struct pjsip_evsub); - sub->pool = dlg->pool; - sub->endpt = dlg->endpt; - sub->dlg = dlg; - sub->pkg = pkg; - sub->role = role; - sub->call_cb = PJ_TRUE; - sub->option = option; - sub->state = PJSIP_EVSUB_STATE_NULL; - sub->state_str = evsub_state_names[sub->state]; - sub->expires = pjsip_expires_hdr_create(sub->pool, pkg->pkg_expires); - sub->accept = (pjsip_accept_hdr*) - pjsip_hdr_clone(sub->pool, pkg->pkg_accept); - pj_list_init(&sub->sub_hdr_list); - - sub->timer.user_data = sub; - sub->timer.cb = &on_timer; - - /* Set name. */ - pj_ansi_snprintf(sub->obj_name, PJ_ARRAY_SIZE(sub->obj_name), - "evsub%p", sub); - - - /* Copy callback, if any: */ - if (user_cb) - pj_memcpy(&sub->user, user_cb, sizeof(pjsip_evsub_user)); - - - /* Create Event header: */ - sub->event = pjsip_event_hdr_create(sub->pool); - pj_strdup(sub->pool, &sub->event->event_type, event); - - - /* Check if another subscription has been registered to the dialog. In - * that case, just add ourselves to the subscription list, otherwise - * create and register a new subscription list. - */ - if (pjsip_dlg_has_usage(dlg, &mod_evsub.mod)) { - dlgsub_head = (struct dlgsub*) dlg->mod_data[mod_evsub.mod.id]; - dlgsub = PJ_POOL_ALLOC_T(sub->pool, struct dlgsub); - dlgsub->sub = sub; - pj_list_push_back(dlgsub_head, dlgsub); - } else { - dlgsub_head = PJ_POOL_ALLOC_T(sub->pool, struct dlgsub); - dlgsub = PJ_POOL_ALLOC_T(sub->pool, struct dlgsub); - dlgsub->sub = sub; - - pj_list_init(dlgsub_head); - pj_list_push_back(dlgsub_head, dlgsub); - - - /* Register as dialog usage: */ - - status = pjsip_dlg_add_usage(dlg, &mod_evsub.mod, dlgsub_head); - if (status != PJ_SUCCESS) { - pjsip_dlg_dec_lock(dlg); - return status; - } - } - - PJ_LOG(5,(sub->obj_name, "%s subscription created, using dialog %s", - (role==PJSIP_ROLE_UAC ? "UAC" : "UAS"), - dlg->obj_name)); - - *p_evsub = sub; - pjsip_dlg_dec_lock(dlg); - - return PJ_SUCCESS; -} - - - -/* - * Create client subscription session. - */ -PJ_DEF(pj_status_t) pjsip_evsub_create_uac( pjsip_dialog *dlg, - const pjsip_evsub_user *user_cb, - const pj_str_t *event, - unsigned option, - pjsip_evsub **p_evsub) -{ - pjsip_evsub *sub; - pj_status_t status; - - PJ_ASSERT_RETURN(dlg && event && p_evsub, PJ_EINVAL); - - pjsip_dlg_inc_lock(dlg); - status = evsub_create(dlg, PJSIP_UAC_ROLE, user_cb, event, option, &sub); - if (status != PJ_SUCCESS) - goto on_return; - - /* Add unique Id to Event header, only when PJSIP_EVSUB_NO_EVENT_ID - * is not specified. - */ - if ((option & PJSIP_EVSUB_NO_EVENT_ID) == 0) { - pj_create_unique_string(sub->pool, &sub->event->id_param); - } - - /* Increment dlg session. */ - pjsip_dlg_inc_session(sub->dlg, &mod_evsub.mod); - - /* Done */ - *p_evsub = sub; - -on_return: - pjsip_dlg_dec_lock(dlg); - return status; -} - - -/* - * Create server subscription session from incoming request. - */ -PJ_DEF(pj_status_t) pjsip_evsub_create_uas( pjsip_dialog *dlg, - const pjsip_evsub_user *user_cb, - pjsip_rx_data *rdata, - unsigned option, - pjsip_evsub **p_evsub) -{ - pjsip_evsub *sub; - pjsip_transaction *tsx; - pjsip_accept_hdr *accept_hdr; - pjsip_event_hdr *event_hdr; - pjsip_expires_hdr *expires_hdr; - pj_status_t status; - - /* Check arguments: */ - PJ_ASSERT_RETURN(dlg && rdata && p_evsub, PJ_EINVAL); - - /* MUST be request message: */ - PJ_ASSERT_RETURN(rdata->msg_info.msg->type == PJSIP_REQUEST_MSG, - PJSIP_ENOTREQUESTMSG); - - /* Transaction MUST have been created (in the dialog) */ - tsx = pjsip_rdata_get_tsx(rdata); - PJ_ASSERT_RETURN(tsx != NULL, PJSIP_ENOTSX); - - /* No subscription must have been attached to transaction */ - PJ_ASSERT_RETURN(tsx->mod_data[mod_evsub.mod.id] == NULL, - PJSIP_ETYPEEXISTS); - - /* Package MUST implement on_rx_refresh */ - PJ_ASSERT_RETURN(user_cb->on_rx_refresh, PJ_EINVALIDOP); - - /* Request MUST have "Event" header. We need the Event header to get - * the package name (don't want to add more arguments in the function). - */ - event_hdr = (pjsip_event_hdr*) - pjsip_msg_find_hdr_by_names(rdata->msg_info.msg, &STR_EVENT, - &STR_EVENT_S, NULL); - if (event_hdr == NULL) { - return PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_BAD_REQUEST); - } - - /* Start locking the mutex: */ - - pjsip_dlg_inc_lock(dlg); - - /* Create the session: */ - - status = evsub_create(dlg, PJSIP_UAS_ROLE, user_cb, - &event_hdr->event_type, option, &sub); - if (status != PJ_SUCCESS) - goto on_return; - - /* Just duplicate Event header from the request */ - sub->event = (pjsip_event_hdr*) pjsip_hdr_clone(sub->pool, event_hdr); - - /* Set the method: */ - pjsip_method_copy(sub->pool, &sub->method, - &rdata->msg_info.msg->line.req.method); - - /* Update expiration time according to client request: */ - - expires_hdr = (pjsip_expires_hdr*) - pjsip_msg_find_hdr(rdata->msg_info.msg, PJSIP_H_EXPIRES, NULL); - if (expires_hdr) { - sub->expires->ivalue = expires_hdr->ivalue; - } - - /* Update time. */ - update_expires(sub, sub->expires->ivalue); - - /* Update Accept header: */ - - accept_hdr = (pjsip_accept_hdr*) - pjsip_msg_find_hdr(rdata->msg_info.msg, PJSIP_H_ACCEPT, NULL); - if (accept_hdr) - sub->accept = (pjsip_accept_hdr*)pjsip_hdr_clone(sub->pool,accept_hdr); - - /* We can start the session: */ - - pjsip_dlg_inc_session(dlg, &mod_evsub.mod); - sub->pending_tsx++; - tsx->mod_data[mod_evsub.mod.id] = sub; - - - /* Done. */ - *p_evsub = sub; - - -on_return: - pjsip_dlg_dec_lock(dlg); - return status; -} - - -/* - * Forcefully destroy subscription. - */ -PJ_DEF(pj_status_t) pjsip_evsub_terminate( pjsip_evsub *sub, - pj_bool_t notify ) -{ - PJ_ASSERT_RETURN(sub, PJ_EINVAL); - - pjsip_dlg_inc_lock(sub->dlg); - - /* I think it's pretty safe to disable this check. - - if (sub->pending_tsx) { - pj_assert(!"Unable to terminate when there's pending tsx"); - pjsip_dlg_dec_lock(sub->dlg); - return PJ_EINVALIDOP; - } - */ - - sub->call_cb = notify; - set_state(sub, PJSIP_EVSUB_STATE_TERMINATED, NULL, NULL, NULL); - - pjsip_dlg_dec_lock(sub->dlg); - return PJ_SUCCESS; -} - -/* - * Get subscription state. - */ -PJ_DEF(pjsip_evsub_state) pjsip_evsub_get_state(pjsip_evsub *sub) -{ - return sub->state; -} - -/* - * Get state name. - */ -PJ_DEF(const char*) pjsip_evsub_get_state_name(pjsip_evsub *sub) -{ - return sub->state_str.ptr; -} - -/* - * Get termination reason. - */ -PJ_DEF(const pj_str_t*) pjsip_evsub_get_termination_reason(pjsip_evsub *sub) -{ - return &sub->term_reason; -} - -/* - * Initiate client subscription - */ -PJ_DEF(pj_status_t) pjsip_evsub_initiate( pjsip_evsub *sub, - const pjsip_method *method, - pj_int32_t expires, - pjsip_tx_data **p_tdata) -{ - pjsip_tx_data *tdata; - pj_status_t status; - - PJ_ASSERT_RETURN(sub!=NULL && p_tdata!=NULL, PJ_EINVAL); - - /* Use SUBSCRIBE if method is not specified */ - if (method == NULL) - method = &pjsip_subscribe_method; - - pjsip_dlg_inc_lock(sub->dlg); - - /* Update method: */ - if (sub->state == PJSIP_EVSUB_STATE_NULL) - pjsip_method_copy(sub->pool, &sub->method, method); - - status = pjsip_dlg_create_request( sub->dlg, method, -1, &tdata); - if (status != PJ_SUCCESS) - goto on_return; - - - /* Add Event header: */ - pjsip_msg_add_hdr( tdata->msg, (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, sub->event)); - - /* Update and add expires header: */ - if (expires >= 0) - sub->expires->ivalue = expires; - pjsip_msg_add_hdr( tdata->msg, (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, sub->expires)); - - /* Add Supported header (it's optional in RFC 3265, but some event package - * RFC may bring this requirement to SHOULD strength - e.g. RFC 5373) - */ - { - const pjsip_hdr *hdr = pjsip_endpt_get_capability(sub->endpt, - PJSIP_H_SUPPORTED, - NULL); - if (hdr) { - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, hdr)); - } - } - - /* Add Accept header: */ - pjsip_msg_add_hdr( tdata->msg, (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, sub->accept)); - - - /* Add Allow-Events header: */ - pjsip_msg_add_hdr( tdata->msg, (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, - mod_evsub.allow_events_hdr)); - - - /* Add custom headers */ - { - const pjsip_hdr *hdr = sub->sub_hdr_list.next; - while (hdr != &sub->sub_hdr_list) { - pjsip_msg_add_hdr( tdata->msg, (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, hdr)); - hdr = hdr->next; - } - } - - - *p_tdata = tdata; - - -on_return: - - pjsip_dlg_dec_lock(sub->dlg); - return status; -} - - -/* - * Add custom headers. - */ -PJ_DEF(pj_status_t) pjsip_evsub_add_header( pjsip_evsub *sub, - const pjsip_hdr *hdr_list ) -{ - const pjsip_hdr *hdr; - - PJ_ASSERT_RETURN(sub && hdr_list, PJ_EINVAL); - - hdr = hdr_list->next; - while (hdr != hdr_list) { - pj_list_push_back(&sub->sub_hdr_list, (pjsip_hdr*) - pjsip_hdr_clone(sub->pool, hdr)); - hdr = hdr->next; - } - - return PJ_SUCCESS; -} - - -/* - * Accept incoming subscription request. - */ -PJ_DEF(pj_status_t) pjsip_evsub_accept( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int st_code, - const pjsip_hdr *hdr_list ) -{ - pjsip_tx_data *tdata; - pjsip_transaction *tsx; - pj_status_t status; - - /* Check arguments */ - PJ_ASSERT_RETURN(sub && rdata, PJ_EINVAL); - - /* Can only be for server subscription: */ - PJ_ASSERT_RETURN(sub->role == PJSIP_ROLE_UAS, PJ_EINVALIDOP); - - /* Only expect 2xx status code (for now) */ - PJ_ASSERT_RETURN(st_code/100 == 2, PJ_EINVALIDOP); - - /* Subscription MUST have been attached to the transaction. - * Initial subscription request will be attached on evsub_create_uas(), - * while subsequent requests will be attached in tsx_state() - */ - tsx = pjsip_rdata_get_tsx(rdata); - PJ_ASSERT_RETURN(tsx->mod_data[mod_evsub.mod.id] != NULL, - PJ_EINVALIDOP); - - /* Lock dialog */ - pjsip_dlg_inc_lock(sub->dlg); - - /* Create response: */ - status = pjsip_dlg_create_response( sub->dlg, rdata, st_code, NULL, - &tdata); - if (status != PJ_SUCCESS) - goto on_return; - - - /* Add expires header: */ - pjsip_msg_add_hdr( tdata->msg, (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, sub->expires)); - - /* Add additional header, if any. */ - if (hdr_list) { - const pjsip_hdr *hdr = hdr_list->next; - while (hdr != hdr_list) { - pjsip_msg_add_hdr( tdata->msg, (pjsip_hdr*) - pjsip_hdr_clone(tdata->pool, hdr)); - hdr = hdr->next; - } - } - - /* Send the response: */ - status = pjsip_dlg_send_response( sub->dlg, tsx, tdata ); - if (status != PJ_SUCCESS) - goto on_return; - - -on_return: - - pjsip_dlg_dec_lock(sub->dlg); - return status; -} - - -/* - * Create Subscription-State header based on current server subscription - * state. - */ -static pjsip_sub_state_hdr* sub_state_create( pj_pool_t *pool, - pjsip_evsub *sub, - pjsip_evsub_state state, - const pj_str_t *state_str, - const pj_str_t *reason ) -{ - pjsip_sub_state_hdr *sub_state; - pj_time_val now, delay; - - /* Get the remaining time before refresh is required */ - pj_gettimeofday(&now); - delay = sub->refresh_time; - PJ_TIME_VAL_SUB(delay, now); - - /* Create the Subscription-State header */ - sub_state = pjsip_sub_state_hdr_create(pool); - - /* Fill up the header */ - switch (state) { - case PJSIP_EVSUB_STATE_NULL: - case PJSIP_EVSUB_STATE_SENT: - pj_assert(!"Invalid state!"); - /* Treat as pending */ - - case PJSIP_EVSUB_STATE_ACCEPTED: - case PJSIP_EVSUB_STATE_PENDING: - sub_state->sub_state = STR_PENDING; - sub_state->expires_param = delay.sec; - break; - - case PJSIP_EVSUB_STATE_ACTIVE: - sub_state->sub_state = STR_ACTIVE; - sub_state->expires_param = delay.sec; - break; - - case PJSIP_EVSUB_STATE_TERMINATED: - sub_state->sub_state = STR_TERMINATED; - if (reason != NULL) - pj_strdup(pool, &sub_state->reason_param, reason); - break; - - case PJSIP_EVSUB_STATE_UNKNOWN: - pj_assert(state_str != NULL); - pj_strdup(pool, &sub_state->sub_state, state_str); - break; - } - - return sub_state; -} - -/* - * Create and send NOTIFY request. - */ -PJ_DEF(pj_status_t) pjsip_evsub_notify( pjsip_evsub *sub, - pjsip_evsub_state state, - const pj_str_t *state_str, - const pj_str_t *reason, - pjsip_tx_data **p_tdata) -{ - pjsip_tx_data *tdata; - pjsip_sub_state_hdr *sub_state; - pj_status_t status; - - /* Check arguments. */ - PJ_ASSERT_RETURN(sub!=NULL && p_tdata!=NULL, PJ_EINVAL); - - /* Lock dialog. */ - pjsip_dlg_inc_lock(sub->dlg); - - /* Create NOTIFY request */ - status = pjsip_dlg_create_request( sub->dlg, pjsip_get_notify_method(), - -1, &tdata); - if (status != PJ_SUCCESS) - goto on_return; - - /* Add Event header */ - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, sub->event)); - - /* Add Subscription-State header */ - sub_state = sub_state_create(tdata->pool, sub, state, state_str, - reason); - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)sub_state); - - /* Add Allow-Events header */ - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, mod_evsub.allow_events_hdr)); - - /* Add Authentication headers. */ - pjsip_auth_clt_init_req( &sub->dlg->auth_sess, tdata ); - - /* Update reason */ - if (reason) - pj_strdup(sub->dlg->pool, &sub->term_reason, reason); - - /* Save destination state. */ - sub->dst_state = state; - if (state_str) - pj_strdup(sub->pool, &sub->dst_state_str, state_str); - else - sub->dst_state_str.slen = 0; - - - *p_tdata = tdata; - -on_return: - /* Unlock dialog */ - pjsip_dlg_dec_lock(sub->dlg); - return status; -} - - -/* - * Create NOTIFY to reflect current status. - */ -PJ_DEF(pj_status_t) pjsip_evsub_current_notify( pjsip_evsub *sub, - pjsip_tx_data **p_tdata ) -{ - return pjsip_evsub_notify( sub, sub->state, &sub->state_str, - NULL, p_tdata ); -} - - -/* - * Send request. - */ -PJ_DEF(pj_status_t) pjsip_evsub_send_request( pjsip_evsub *sub, - pjsip_tx_data *tdata) -{ - pj_status_t status; - - /* Must be request message. */ - PJ_ASSERT_RETURN(tdata->msg->type == PJSIP_REQUEST_MSG, - PJSIP_ENOTREQUESTMSG); - - /* Lock */ - pjsip_dlg_inc_lock(sub->dlg); - - /* Send the request. */ - status = pjsip_dlg_send_request(sub->dlg, tdata, -1, NULL); - if (status != PJ_SUCCESS) - goto on_return; - - - /* Special case for NOTIFY: - * The new state was set in pjsip_evsub_notify(), but we apply the - * new state now, when the request was actually sent. - */ - if (pjsip_method_cmp(&tdata->msg->line.req.method, - &pjsip_notify_method)==0) - { - PJ_ASSERT_ON_FAIL( sub->dst_state!=PJSIP_EVSUB_STATE_NULL, - {goto on_return;}); - - set_state(sub, sub->dst_state, - (sub->dst_state_str.slen ? &sub->dst_state_str : NULL), - NULL, NULL); - - sub->dst_state = PJSIP_EVSUB_STATE_NULL; - sub->dst_state_str.slen = 0; - - } - - -on_return: - pjsip_dlg_dec_lock(sub->dlg); - return status; -} - - -/* Callback to be called to terminate transaction. */ -static void terminate_timer_cb(pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry) -{ - pj_str_t *key; - pjsip_transaction *tsx; - - PJ_UNUSED_ARG(timer_heap); - - key = (pj_str_t*)entry->user_data; - tsx = pjsip_tsx_layer_find_tsx(key, PJ_FALSE); - /* Chance of race condition here */ - if (tsx) { - pjsip_tsx_terminate(tsx, PJSIP_SC_REQUEST_UPDATED); - } -} - - -/* - * Attach subscription session to newly created transaction, if appropriate. - */ -static pjsip_evsub *on_new_transaction( pjsip_transaction *tsx, - pjsip_event *event) -{ - /* - * Newly created transaction will not have subscription session - * attached to it. Find the subscription session from the dialog, - * by matching the Event header. - */ - pjsip_dialog *dlg; - pjsip_event_hdr *event_hdr; - pjsip_msg *msg; - struct dlgsub *dlgsub_head, *dlgsub; - pjsip_evsub *sub; - - dlg = pjsip_tsx_get_dlg(tsx); - if (!dlg) { - pj_assert(!"Transaction should have a dialog instance!"); - return NULL; - } - - - switch (event->body.tsx_state.type) { - case PJSIP_EVENT_RX_MSG: - msg = event->body.tsx_state.src.rdata->msg_info.msg; - break; - case PJSIP_EVENT_TX_MSG: - msg = event->body.tsx_state.src.tdata->msg; - break; - default: - if (tsx->role == PJSIP_ROLE_UAC) - msg = tsx->last_tx->msg; - else - msg = NULL; - break; - } - - if (!msg) { - //Note: - // this transaction can be other transaction in the dialog. - // The assertion below probably only valid for dialog that - // only has one event subscription usage. - //pj_assert(!"First transaction event is not TX or RX!"); - return NULL; - } - - event_hdr = (pjsip_event_hdr*) - pjsip_msg_find_hdr_by_names(msg, &STR_EVENT, - &STR_EVENT_S, NULL); - if (!event_hdr) { - /* Not subscription related message */ - return NULL; - } - - /* Find the subscription in the dialog, based on the content - * of Event header: - */ - - dlgsub_head = (struct dlgsub*) dlg->mod_data[mod_evsub.mod.id]; - if (dlgsub_head == NULL) { - dlgsub_head = PJ_POOL_ALLOC_T(dlg->pool, struct dlgsub); - pj_list_init(dlgsub_head); - dlg->mod_data[mod_evsub.mod.id] = dlgsub_head; - } - dlgsub = dlgsub_head->next; - - while (dlgsub != dlgsub_head) { - - if (pj_stricmp(&dlgsub->sub->event->event_type, - &event_hdr->event_type)==0) - { - /* Event type matched. - * Check if event ID matched too. - */ - if (pj_strcmp(&dlgsub->sub->event->id_param, - &event_hdr->id_param)==0) - { - - break; - - } - /* - * Otherwise if it is an UAC subscription, AND - * PJSIP_EVSUB_NO_EVENT_ID flag is set, AND - * the session's event id is NULL, AND - * the incoming request is NOTIFY with event ID, then - * we consider it as a match, and update the - * session's event id. - */ - else if (dlgsub->sub->role == PJSIP_ROLE_UAC && - (dlgsub->sub->option & PJSIP_EVSUB_NO_EVENT_ID)!=0 && - dlgsub->sub->event->id_param.slen==0 && - !pjsip_method_cmp(&tsx->method, &pjsip_notify_method)) - { - /* Update session's event id. */ - pj_strdup(dlgsub->sub->pool, - &dlgsub->sub->event->id_param, - &event_hdr->id_param); - - break; - } - } - - - - dlgsub = dlgsub->next; - } - - /* Note: - * the second condition is for http://trac.pjsip.org/repos/ticket/911 - */ - if (dlgsub == dlgsub_head || - (dlgsub->sub && - pjsip_evsub_get_state(dlgsub->sub)==PJSIP_EVSUB_STATE_TERMINATED)) - { - const char *reason_msg = - (dlgsub == dlgsub_head ? "Subscription Does Not Exist" : - "Subscription already terminated"); - - /* This could be incoming request to create new subscription */ - PJ_LOG(4,(THIS_FILE, - "%s for %.*s, event=%.*s;id=%.*s", - reason_msg, - (int)tsx->method.name.slen, - tsx->method.name.ptr, - (int)event_hdr->event_type.slen, - event_hdr->event_type.ptr, - (int)event_hdr->id_param.slen, - event_hdr->id_param.ptr)); - - /* If this is an incoming NOTIFY, reject with 481 */ - if (tsx->state == PJSIP_TSX_STATE_TRYING && - pjsip_method_cmp(&tsx->method, &pjsip_notify_method)==0) - { - pj_str_t reason; - pjsip_tx_data *tdata; - pj_status_t status; - - pj_cstr(&reason, reason_msg); - status = pjsip_dlg_create_response(dlg, - event->body.tsx_state.src.rdata, - 481, &reason, - &tdata); - if (status == PJ_SUCCESS) { - status = pjsip_dlg_send_response(dlg, tsx, tdata); - } - } - return NULL; - } - - /* Found! */ - sub = dlgsub->sub; - - /* Attach session to the transaction */ - tsx->mod_data[mod_evsub.mod.id] = sub; - sub->pending_tsx++; - - /* Special case for outgoing/UAC SUBSCRIBE/REFER transaction. - * We can only have one pending UAC SUBSCRIBE/REFER, so if another - * transaction is started while previous one still alive, terminate - * the older one. - * - * Sample scenario: - * - subscribe sent to destination that doesn't exist, transaction - * is still retransmitting request, then unsubscribe is sent. - */ - if (tsx->role == PJSIP_ROLE_UAC && - tsx->state == PJSIP_TSX_STATE_CALLING && - (pjsip_method_cmp(&tsx->method, &sub->method) == 0 || - pjsip_method_cmp(&tsx->method, &pjsip_subscribe_method) == 0)) - { - - if (sub->pending_sub && - sub->pending_sub->state < PJSIP_TSX_STATE_COMPLETED) - { - pj_timer_entry *timer; - pj_str_t *key; - pj_time_val timeout = {0, 0}; - - PJ_LOG(4,(sub->obj_name, - "Cancelling pending subscription request")); - - /* By convention, we use 490 (Request Updated) status code. - * When transaction handler (below) see this status code, it - * will ignore the transaction. - */ - /* This unfortunately may cause deadlock, because at the moment - * we are holding dialog's mutex. If a response to this - * transaction is in progress in another thread, that thread - * will deadlock when trying to acquire dialog mutex, because - * it is holding the transaction mutex. - * - * So the solution is to register timer to kill this transaction. - */ - //pjsip_tsx_terminate(sub->pending_sub, PJSIP_SC_REQUEST_UPDATED); - timer = PJ_POOL_ZALLOC_T(dlg->pool, pj_timer_entry); - key = PJ_POOL_ALLOC_T(dlg->pool, pj_str_t); - pj_strdup(dlg->pool, key, &sub->pending_sub->transaction_key); - timer->cb = &terminate_timer_cb; - timer->user_data = key; - - pjsip_endpt_schedule_timer(dlg->endpt, timer, &timeout); - } - - sub->pending_sub = tsx; - - } - - return sub; -} - - -/* - * Create response, adding custome headers and msg body. - */ -static pj_status_t create_response( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int st_code, - const pj_str_t *st_text, - const pjsip_hdr *res_hdr, - const pjsip_msg_body *body, - pjsip_tx_data **p_tdata) -{ - pjsip_tx_data *tdata; - pjsip_hdr *hdr; - pj_status_t status; - - status = pjsip_dlg_create_response(sub->dlg, rdata, - st_code, st_text, &tdata); - if (status != PJ_SUCCESS) - return status; - - *p_tdata = tdata; - - /* Add response headers. */ - hdr = res_hdr->next; - while (hdr != res_hdr) { - pjsip_msg_add_hdr( tdata->msg, (pjsip_hdr*) - pjsip_hdr_clone(tdata->pool, hdr)); - hdr = hdr->next; - } - - /* Add msg body, if any */ - if (body) { - tdata->msg->body = pjsip_msg_body_clone(tdata->pool, body); - if (tdata->msg->body == NULL) { - - PJ_LOG(4,(THIS_FILE, "Error: unable to clone msg body")); - - /* Ignore */ - return PJ_SUCCESS; - } - } - - return PJ_SUCCESS; -} - -/* - * Get subscription state from the value of Subscription-State header. - */ -static void get_hdr_state( pjsip_sub_state_hdr *sub_state, - pjsip_evsub_state *state, - pj_str_t **state_str ) -{ - if (pj_stricmp(&sub_state->sub_state, &STR_TERMINATED)==0) { - - *state = PJSIP_EVSUB_STATE_TERMINATED; - *state_str = NULL; - - } else if (pj_stricmp(&sub_state->sub_state, &STR_ACTIVE)==0) { - - *state = PJSIP_EVSUB_STATE_ACTIVE; - *state_str = NULL; - - } else if (pj_stricmp(&sub_state->sub_state, &STR_PENDING)==0) { - - *state = PJSIP_EVSUB_STATE_PENDING; - *state_str = NULL; - - } else { - - *state = PJSIP_EVSUB_STATE_UNKNOWN; - *state_str = &sub_state->sub_state; - - } -} - -/* - * Transaction event processing by UAC, after subscription is sent. - */ -static void on_tsx_state_uac( pjsip_evsub *sub, pjsip_transaction *tsx, - pjsip_event *event ) -{ - - if (pjsip_method_cmp(&tsx->method, &sub->method)==0 || - pjsip_method_cmp(&tsx->method, &pjsip_subscribe_method)==0) - { - - /* Received response to outgoing request that establishes/refresh - * subscription. - */ - - /* First time initial request is sent. */ - if (sub->state == PJSIP_EVSUB_STATE_NULL && - tsx->state == PJSIP_TSX_STATE_CALLING) - { - set_state(sub, PJSIP_EVSUB_STATE_SENT, NULL, event, NULL); - return; - } - - /* Only interested in final response */ - if (tsx->state != PJSIP_TSX_STATE_COMPLETED && - tsx->state != PJSIP_TSX_STATE_TERMINATED) - { - return; - } - - /* Clear pending subscription */ - if (tsx == sub->pending_sub) { - sub->pending_sub = NULL; - } else if (sub->pending_sub != NULL) { - /* This SUBSCRIBE transaction has been "renewed" with another - * SUBSCRIBE, so we can just ignore this. For example, user - * sent SUBSCRIBE followed immediately with UN-SUBSCRIBE. - */ - return; - } - - /* Handle authentication. */ - if (tsx->status_code==401 || tsx->status_code==407) { - pjsip_tx_data *tdata; - pj_status_t status; - - if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - /* Previously failed transaction has terminated */ - return; - } - - status = pjsip_auth_clt_reinit_req(&sub->dlg->auth_sess, - event->body.tsx_state.src.rdata, - tsx->last_tx, &tdata); - if (status == PJ_SUCCESS) - status = pjsip_dlg_send_request(sub->dlg, tdata, -1, NULL); - - if (status != PJ_SUCCESS) { - /* Authentication failed! */ - set_state(sub, PJSIP_EVSUB_STATE_TERMINATED, - NULL, event, &tsx->status_text); - return; - } - - return; - } - - if (tsx->status_code/100 == 2) { - - /* Successfull SUBSCRIBE request! - * This could be: - * - response to initial SUBSCRIBE request - * - response to subsequent refresh - * - response to unsubscription - */ - - if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - /* Ignore; this transaction has been processed before */ - return; - } - - /* Update UAC refresh time, if response contains Expires header, - * only when we're not unsubscribing. - */ - if (sub->expires->ivalue != 0) { - pjsip_msg *msg; - pjsip_expires_hdr *expires; - - msg = event->body.tsx_state.src.rdata->msg_info.msg; - expires = (pjsip_expires_hdr*) - pjsip_msg_find_hdr(msg, PJSIP_H_EXPIRES, NULL); - if (expires) { - sub->expires->ivalue = expires->ivalue; - } - } - - /* Update time */ - update_expires(sub, sub->expires->ivalue); - - /* Start UAC refresh timer, only when we're not unsubscribing */ - if (sub->expires->ivalue != 0) { - unsigned timeout = (sub->expires->ivalue > TIME_UAC_REFRESH) ? - sub->expires->ivalue - TIME_UAC_REFRESH : sub->expires->ivalue; - - PJ_LOG(5,(sub->obj_name, "Will refresh in %d seconds", - timeout)); - set_timer(sub, TIMER_TYPE_UAC_REFRESH, timeout); - - } else { - /* Otherwise set timer to terminate client subscription when - * NOTIFY to end subscription is not received. - */ - set_timer(sub, TIMER_TYPE_UAC_TERMINATE, TIME_UAC_TERMINATE); - } - - /* Set state, if necessary */ - pj_assert(sub->state != PJSIP_EVSUB_STATE_NULL); - if (sub->state == PJSIP_EVSUB_STATE_SENT) { - set_state(sub, PJSIP_EVSUB_STATE_ACCEPTED, NULL, event, NULL); - } - - } else { - - /* Failed SUBSCRIBE request! - * - * The RFC 3265 says that if outgoing SUBSCRIBE fails with status - * other than 481, the subscription is still considered valid for - * the duration of the last Expires. - * - * Since we send refresh about 5 seconds (TIME_UAC_REFRESH) before - * expiration, theoritically the expiration is still valid for the - * next 5 seconds even when we receive non-481 failed response. - * - * Ah, what the heck! - * - * Just terminate now! - * - */ - - if (sub->state == PJSIP_EVSUB_STATE_TERMINATED) { - /* Ignore, has been handled before */ - return; - } - - /* Ignore 490 (Request Updated) status. - * This happens when application sends SUBSCRIBE/REFER while - * another one is still in progress. - */ - if (tsx->status_code == PJSIP_SC_REQUEST_UPDATED) { - return; - } - - /* Kill any timer. */ - set_timer(sub, TIMER_TYPE_NONE, 0); - - /* Set state to TERMINATED */ - set_state(sub, PJSIP_EVSUB_STATE_TERMINATED, - NULL, event, &tsx->status_text); - - } - - } else if (pjsip_method_cmp(&tsx->method, &pjsip_notify_method) == 0) { - - /* Incoming NOTIFY. - * This can be the result of: - * - Initial subscription response - * - UAS updating the resource info. - * - Unsubscription response. - */ - int st_code = 200; - pj_str_t *st_text = NULL; - pjsip_hdr res_hdr; - pjsip_msg_body *body = NULL; - - pjsip_rx_data *rdata; - pjsip_msg *msg; - pjsip_sub_state_hdr *sub_state; - - pjsip_evsub_state new_state; - pj_str_t *new_state_str; - - pjsip_tx_data *tdata; - pj_status_t status; - - /* Only want to handle initial NOTIFY receive event. */ - if (tsx->state != PJSIP_TSX_STATE_TRYING) - return; - - - rdata = event->body.tsx_state.src.rdata; - msg = rdata->msg_info.msg; - - pj_list_init(&res_hdr); - - /* Get subscription state header. */ - sub_state = (pjsip_sub_state_hdr*) - pjsip_msg_find_hdr_by_name(msg, &STR_SUB_STATE, NULL); - if (sub_state == NULL) { - - pjsip_warning_hdr *warn_hdr; - pj_str_t warn_text = { "Missing Subscription-State header", 33}; - - /* Bad request! Add warning header. */ - st_code = PJSIP_SC_BAD_REQUEST; - warn_hdr = pjsip_warning_hdr_create(rdata->tp_info.pool, 399, - pjsip_endpt_name(sub->endpt), - &warn_text); - pj_list_push_back(&res_hdr, warn_hdr); - } - - /* Call application registered callback to handle incoming NOTIFY, - * if any. - */ - if (st_code==200 && sub->user.on_rx_notify && sub->call_cb) { - (*sub->user.on_rx_notify)(sub, rdata, &st_code, &st_text, - &res_hdr, &body); - - /* Application MUST specify final response! */ - PJ_ASSERT_ON_FAIL(st_code >= 200, {st_code=200; }); - - /* Must be a valid status code */ - PJ_ASSERT_ON_FAIL(st_code <= 699, {st_code=500; }); - } - - - /* If non-2xx should be returned, then send the response. - * No need to update server subscription state. - */ - if (st_code >= 300) { - status = create_response(sub, rdata, st_code, st_text, &res_hdr, - body, &tdata); - if (status == PJ_SUCCESS) { - status = pjsip_dlg_send_response(sub->dlg, tsx, tdata); - } - - /* Start timer to terminate subscription, just in case server - * is not able to generate NOTIFY to our response. - */ - if (status == PJ_SUCCESS) { - unsigned timeout = TIME_UAC_WAIT_NOTIFY; - set_timer(sub, TIMER_TYPE_UAC_WAIT_NOTIFY, timeout); - } else { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_str_t reason; - - reason = pj_strerror(status, errmsg, sizeof(errmsg)); - set_state(sub, PJSIP_EVSUB_STATE_TERMINATED, NULL, NULL, - &reason); - } - - return; - } - - /* Update expiration from the value of expires param in - * Subscription-State header, but ONLY when subscription state - * is "active" or "pending", AND the header contains expires param. - */ - if (sub->expires->ivalue != 0 && - sub_state->expires_param >= 0 && - (pj_stricmp(&sub_state->sub_state, &STR_ACTIVE)==0 || - pj_stricmp(&sub_state->sub_state, &STR_PENDING)==0)) - { - int next_refresh = sub_state->expires_param; - unsigned timeout; - - update_expires(sub, next_refresh); - - /* Start UAC refresh timer, only when we're not unsubscribing */ - timeout = (next_refresh > TIME_UAC_REFRESH) ? - next_refresh - TIME_UAC_REFRESH : next_refresh; - - PJ_LOG(5,(sub->obj_name, "Will refresh in %d seconds", timeout)); - set_timer(sub, TIMER_TYPE_UAC_REFRESH, timeout); - } - - /* Find out the state */ - get_hdr_state(sub_state, &new_state, &new_state_str); - - /* Send response. */ - status = create_response(sub, rdata, st_code, st_text, &res_hdr, - body, &tdata); - if (status == PJ_SUCCESS) - status = pjsip_dlg_send_response(sub->dlg, tsx, tdata); - - /* Set the state */ - if (status == PJ_SUCCESS) { - set_state(sub, new_state, new_state_str, event, - &sub_state->reason_param); - } else { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_str_t reason; - - reason = pj_strerror(status, errmsg, sizeof(errmsg)); - set_state(sub, PJSIP_EVSUB_STATE_TERMINATED, NULL, event, - &reason); - } - - - } else { - - /* - * Unexpected method! - */ - PJ_LOG(4,(sub->obj_name, "Unexpected transaction method %.*s", - (int)tsx->method.name.slen, tsx->method.name.ptr)); - } -} - - -/* - * Transaction event processing by UAS, after subscription is accepted. - */ -static void on_tsx_state_uas( pjsip_evsub *sub, pjsip_transaction *tsx, - pjsip_event *event) -{ - - if (pjsip_method_cmp(&tsx->method, &sub->method) == 0 || - pjsip_method_cmp(&tsx->method, &pjsip_subscribe_method) == 0) - { - - /* - * Incoming request (e.g. SUBSCRIBE or REFER) to refresh subsciption. - * - */ - pjsip_rx_data *rdata; - pjsip_event_hdr *event_hdr; - pjsip_expires_hdr *expires; - pjsip_msg *msg; - pjsip_tx_data *tdata; - int st_code = 200; - pj_str_t *st_text = NULL; - pjsip_hdr res_hdr; - pjsip_msg_body *body = NULL; - pjsip_evsub_state old_state; - pj_str_t old_state_str; - pj_str_t reason = { NULL, 0 }; - pj_status_t status; - - - /* Only wants to handle the first event when the request is - * received. - */ - if (tsx->state != PJSIP_TSX_STATE_TRYING) - return; - - rdata = event->body.tsx_state.src.rdata; - msg = rdata->msg_info.msg; - - /* Set expiration time based on client request (in Expires header), - * or package default expiration time. - */ - event_hdr = (pjsip_event_hdr*) - pjsip_msg_find_hdr_by_names(msg, &STR_EVENT, - &STR_EVENT, NULL); - expires = (pjsip_expires_hdr*) - pjsip_msg_find_hdr(msg, PJSIP_H_EXPIRES, NULL); - if (event_hdr && expires) { - struct evpkg *evpkg; - - evpkg = find_pkg(&event_hdr->event_type); - if (evpkg) { - if (expires->ivalue < (pj_int32_t)evpkg->pkg_expires) - sub->expires->ivalue = expires->ivalue; - else - sub->expires->ivalue = evpkg->pkg_expires; - } - } - - /* Update time (before calling on_rx_refresh, since application - * will send NOTIFY. - */ - update_expires(sub, sub->expires->ivalue); - - - /* Save old state. - * If application respond with non-2xx, revert to old state. - */ - old_state = sub->state; - old_state_str = sub->state_str; - - if (sub->expires->ivalue == 0) { - sub->state = PJSIP_EVSUB_STATE_TERMINATED; - sub->state_str = evsub_state_names[sub->state]; - } else if (sub->state == PJSIP_EVSUB_STATE_NULL) { - sub->state = PJSIP_EVSUB_STATE_ACCEPTED; - sub->state_str = evsub_state_names[sub->state]; - } - - /* Call application's on_rx_refresh, just in case it wants to send - * response other than 200 (OK) - */ - pj_list_init(&res_hdr); - - if (sub->user.on_rx_refresh && sub->call_cb) { - (*sub->user.on_rx_refresh)(sub, rdata, &st_code, &st_text, - &res_hdr, &body); - } - - /* Application MUST specify final response! */ - PJ_ASSERT_ON_FAIL(st_code >= 200, {st_code=200; }); - - /* Must be a valid status code */ - PJ_ASSERT_ON_FAIL(st_code <= 699, {st_code=500; }); - - - /* Create and send response */ - status = create_response(sub, rdata, st_code, st_text, &res_hdr, - body, &tdata); - if (status == PJ_SUCCESS) { - /* Add expires header: */ - pjsip_msg_add_hdr( tdata->msg, (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, - sub->expires)); - - /* Send */ - status = pjsip_dlg_send_response(sub->dlg, tsx, tdata); - } - - /* Update state or revert state */ - if (st_code/100==2) { - - if (sub->expires->ivalue == 0) { - set_state(sub, sub->state, NULL, event, &reason); - } else if (sub->state == PJSIP_EVSUB_STATE_NULL) { - set_state(sub, sub->state, NULL, event, &reason); - } - - /* Set UAS timeout timer, when state is not terminated. */ - if (sub->state != PJSIP_EVSUB_STATE_TERMINATED) { - PJ_LOG(5,(sub->obj_name, "UAS timeout in %d seconds", - sub->expires->ivalue)); - set_timer(sub, TIMER_TYPE_UAS_TIMEOUT, - sub->expires->ivalue); - } - - } else { - sub->state = old_state; - sub->state_str = old_state_str; - } - - - } else if (pjsip_method_cmp(&tsx->method, &pjsip_notify_method)==0) { - - /* Handle authentication */ - if (tsx->state == PJSIP_TSX_STATE_COMPLETED && - (tsx->status_code==401 || tsx->status_code==407)) - { - pjsip_rx_data *rdata = event->body.tsx_state.src.rdata; - pjsip_tx_data *tdata; - pj_status_t status; - - status = pjsip_auth_clt_reinit_req( &sub->dlg->auth_sess, rdata, - tsx->last_tx, &tdata); - if (status == PJ_SUCCESS) - status = pjsip_dlg_send_request( sub->dlg, tdata, -1, NULL ); - - if (status != PJ_SUCCESS) { - /* Can't authenticate. Terminate session (?) */ - set_state(sub, PJSIP_EVSUB_STATE_TERMINATED, NULL, NULL, - &tsx->status_text); - return; - } - - } - /* - * Terminate event usage if we receive 481, 408, and 7 class - * responses. - */ - if (sub->state != PJSIP_EVSUB_STATE_TERMINATED && - (tsx->status_code==481 || tsx->status_code==408 || - tsx->status_code/100 == 7)) - { - set_state(sub, PJSIP_EVSUB_STATE_TERMINATED, NULL, event, - &tsx->status_text); - return; - } - - } else { - - /* - * Unexpected method! - */ - PJ_LOG(4,(sub->obj_name, "Unexpected transaction method %.*s", - (int)tsx->method.name.slen, tsx->method.name.ptr)); - - } -} - - -/* - * Notification when transaction state has changed! - */ -static void mod_evsub_on_tsx_state(pjsip_transaction *tsx, pjsip_event *event) -{ - pjsip_evsub *sub = pjsip_tsx_get_evsub(tsx); - - if (sub == NULL) { - sub = on_new_transaction(tsx, event); - if (sub == NULL) - return; - } - - - /* Call on_tsx_state callback, if any. */ - if (sub->user.on_tsx_state && sub->call_cb) - (*sub->user.on_tsx_state)(sub, tsx, event); - - - /* Process the event: */ - - if (sub->role == PJSIP_ROLE_UAC) { - on_tsx_state_uac(sub, tsx, event); - } else { - on_tsx_state_uas(sub, tsx, event); - } - - - /* Check transaction TERMINATE event */ - if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - - --sub->pending_tsx; - - if (sub->state == PJSIP_EVSUB_STATE_TERMINATED && - sub->pending_tsx == 0) - { - evsub_destroy(sub); - } - - } -} - - diff --git a/res/pjproject/pjsip/src/pjsip-simple/evsub_msg.c b/res/pjproject/pjsip/src/pjsip-simple/evsub_msg.c deleted file mode 100644 index df2dd55028..0000000000 --- a/res/pjproject/pjsip/src/pjsip-simple/evsub_msg.c +++ /dev/null @@ -1,304 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include - -/* - * Event header. - */ -static int pjsip_event_hdr_print( pjsip_event_hdr *hdr, - char *buf, pj_size_t size); -static pjsip_event_hdr* pjsip_event_hdr_clone( pj_pool_t *pool, - const pjsip_event_hdr *hdr); -static pjsip_event_hdr* pjsip_event_hdr_shallow_clone( pj_pool_t *pool, - const pjsip_event_hdr*); - -static pjsip_hdr_vptr event_hdr_vptr = -{ - (pjsip_hdr_clone_fptr) &pjsip_event_hdr_clone, - (pjsip_hdr_clone_fptr) &pjsip_event_hdr_shallow_clone, - (pjsip_hdr_print_fptr) &pjsip_event_hdr_print, -}; - - -PJ_DEF(pjsip_event_hdr*) pjsip_event_hdr_create(pj_pool_t *pool) -{ - pjsip_event_hdr *hdr = PJ_POOL_ZALLOC_T(pool, pjsip_event_hdr); - hdr->type = PJSIP_H_OTHER; - hdr->name.ptr = "Event"; - hdr->name.slen = 5; - hdr->sname.ptr = "o"; - hdr->sname.slen = 1; - hdr->vptr = &event_hdr_vptr; - pj_list_init(hdr); - pj_list_init(&hdr->other_param); - return hdr; -} - -static int pjsip_event_hdr_print( pjsip_event_hdr *hdr, - char *buf, pj_size_t size) -{ - char *p = buf; - char *endbuf = buf+size; - int printed; - const pjsip_parser_const_t *pc = pjsip_parser_const(); - - copy_advance(p, hdr->name); - *p++ = ':'; - *p++ = ' '; - - copy_advance(p, hdr->event_type); - copy_advance_pair(p, ";id=", 4, hdr->id_param); - - printed = pjsip_param_print_on(&hdr->other_param, p, endbuf-p, - &pc->pjsip_TOKEN_SPEC, - &pc->pjsip_TOKEN_SPEC, ';'); - if (printed < 0) - return printed; - - p += printed; - return p - buf; -} - -static pjsip_event_hdr* pjsip_event_hdr_clone( pj_pool_t *pool, - const pjsip_event_hdr *rhs) -{ - pjsip_event_hdr *hdr = pjsip_event_hdr_create(pool); - pj_strdup(pool, &hdr->event_type, &rhs->event_type); - pj_strdup(pool, &hdr->id_param, &rhs->id_param); - pjsip_param_clone(pool, &hdr->other_param, &rhs->other_param); - return hdr; -} - -static pjsip_event_hdr* -pjsip_event_hdr_shallow_clone( pj_pool_t *pool, - const pjsip_event_hdr *rhs ) -{ - pjsip_event_hdr *hdr = PJ_POOL_ALLOC_T(pool, pjsip_event_hdr); - pj_memcpy(hdr, rhs, sizeof(*hdr)); - pjsip_param_shallow_clone(pool, &hdr->other_param, &rhs->other_param); - return hdr; -} - - -/* - * Allow-Events header. - */ -PJ_DEF(pjsip_allow_events_hdr*) pjsip_allow_events_hdr_create(pj_pool_t *pool) -{ - const pj_str_t STR_ALLOW_EVENTS = { "Allow-Events", 12}; - pjsip_allow_events_hdr *hdr; - - hdr = pjsip_generic_array_hdr_create(pool, &STR_ALLOW_EVENTS); - - if (hdr) { - hdr->sname.ptr = "u"; - hdr->sname.slen = 1; - } - - return hdr; -} - - -/* - * Subscription-State header. - */ -static int pjsip_sub_state_hdr_print(pjsip_sub_state_hdr *hdr, - char *buf, pj_size_t size); -static pjsip_sub_state_hdr* -pjsip_sub_state_hdr_clone(pj_pool_t *pool, - const pjsip_sub_state_hdr *hdr); -static pjsip_sub_state_hdr* -pjsip_sub_state_hdr_shallow_clone(pj_pool_t *pool, - const pjsip_sub_state_hdr*); - -static pjsip_hdr_vptr sub_state_hdr_vptr = -{ - (pjsip_hdr_clone_fptr) &pjsip_sub_state_hdr_clone, - (pjsip_hdr_clone_fptr) &pjsip_sub_state_hdr_shallow_clone, - (pjsip_hdr_print_fptr) &pjsip_sub_state_hdr_print, -}; - - -PJ_DEF(pjsip_sub_state_hdr*) pjsip_sub_state_hdr_create(pj_pool_t *pool) -{ - pj_str_t sub_state = { "Subscription-State", 18 }; - pjsip_sub_state_hdr *hdr = PJ_POOL_ZALLOC_T(pool, pjsip_sub_state_hdr); - hdr->type = PJSIP_H_OTHER; - hdr->name = hdr->sname = sub_state; - hdr->vptr = &sub_state_hdr_vptr; - hdr->expires_param = -1; - hdr->retry_after = -1; - pj_list_init(hdr); - pj_list_init(&hdr->other_param); - return hdr; -} - -static int pjsip_sub_state_hdr_print(pjsip_sub_state_hdr *hdr, - char *buf, pj_size_t size) -{ - char *p = buf; - char *endbuf = buf+size; - int printed; - const pjsip_parser_const_t *pc = pjsip_parser_const(); - - copy_advance(p, hdr->name); - *p++ = ':'; - *p++ = ' '; - - copy_advance_escape(p, hdr->sub_state, pc->pjsip_TOKEN_SPEC); - copy_advance_pair_escape(p, ";reason=", 8, hdr->reason_param, - pc->pjsip_TOKEN_SPEC); - if (hdr->expires_param >= 0) { - pj_memcpy(p, ";expires=", 9); - p += 9; - printed = pj_utoa(hdr->expires_param, p); - p += printed; - } - if (hdr->retry_after >= 0) { - pj_memcpy(p, ";retry-after=", 13); - p += 9; - printed = pj_utoa(hdr->retry_after, p); - p += printed; - } - - printed = pjsip_param_print_on( &hdr->other_param, p, endbuf-p, - &pc->pjsip_TOKEN_SPEC, - &pc->pjsip_TOKEN_SPEC, - ';'); - if (printed < 0) - return printed; - - p += printed; - - return p - buf; -} - -static pjsip_sub_state_hdr* -pjsip_sub_state_hdr_clone(pj_pool_t *pool, - const pjsip_sub_state_hdr *rhs) -{ - pjsip_sub_state_hdr *hdr = pjsip_sub_state_hdr_create(pool); - pj_strdup(pool, &hdr->sub_state, &rhs->sub_state); - pj_strdup(pool, &hdr->reason_param, &rhs->reason_param); - hdr->retry_after = rhs->retry_after; - hdr->expires_param = rhs->expires_param; - pjsip_param_clone(pool, &hdr->other_param, &rhs->other_param); - return hdr; -} - -static pjsip_sub_state_hdr* -pjsip_sub_state_hdr_shallow_clone(pj_pool_t *pool, - const pjsip_sub_state_hdr *rhs) -{ - pjsip_sub_state_hdr *hdr = PJ_POOL_ALLOC_T(pool, pjsip_sub_state_hdr); - pj_memcpy(hdr, rhs, sizeof(*hdr)); - pjsip_param_shallow_clone(pool, &hdr->other_param, &rhs->other_param); - return hdr; -} - - -/* - * Parse Event header. - */ -static pjsip_hdr *parse_hdr_event(pjsip_parse_ctx *ctx) -{ - pjsip_event_hdr *hdr = pjsip_event_hdr_create(ctx->pool); - const pj_str_t id_param = { "id", 2 }; - const pjsip_parser_const_t *pc = pjsip_parser_const(); - - pj_scan_get(ctx->scanner, &pc->pjsip_TOKEN_SPEC, &hdr->event_type); - - while (*ctx->scanner->curptr == ';') { - pj_str_t pname, pvalue; - - pj_scan_get_char(ctx->scanner); - pjsip_parse_param_imp(ctx->scanner, ctx->pool, &pname, &pvalue, 0); - - if (pj_stricmp(&pname, &id_param)==0) { - hdr->id_param = pvalue; - } else { - pjsip_param *param = PJ_POOL_ALLOC_T(ctx->pool, pjsip_param); - param->name = pname; - param->value = pvalue; - pj_list_push_back(&hdr->other_param, param); - } - } - pjsip_parse_end_hdr_imp( ctx->scanner ); - return (pjsip_hdr*)hdr; -} - -/* - * Parse Subscription-State header. - */ -static pjsip_hdr* parse_hdr_sub_state( pjsip_parse_ctx *ctx ) -{ - pjsip_sub_state_hdr *hdr = pjsip_sub_state_hdr_create(ctx->pool); - const pj_str_t reason = { "reason", 6 }, - expires = { "expires", 7 }, - retry_after = { "retry-after", 11 }; - const pjsip_parser_const_t *pc = pjsip_parser_const(); - - pj_scan_get(ctx->scanner, &pc->pjsip_TOKEN_SPEC, &hdr->sub_state); - - while (*ctx->scanner->curptr == ';') { - pj_str_t pname, pvalue; - - pj_scan_get_char(ctx->scanner); - pjsip_parse_param_imp(ctx->scanner, ctx->pool, &pname, &pvalue, 0); - - if (pj_stricmp(&pname, &reason) == 0) { - hdr->reason_param = pvalue; - - } else if (pj_stricmp(&pname, &expires) == 0) { - hdr->expires_param = pj_strtoul(&pvalue); - - } else if (pj_stricmp(&pname, &retry_after) == 0) { - hdr->retry_after = pj_strtoul(&pvalue); - - } else { - pjsip_param *param = PJ_POOL_ALLOC_T(ctx->pool, pjsip_param); - param->name = pname; - param->value = pvalue; - pj_list_push_back(&hdr->other_param, param); - } - } - - pjsip_parse_end_hdr_imp( ctx->scanner ); - return (pjsip_hdr*)hdr; -} - -/* - * Register header parsers. - */ -PJ_DEF(void) pjsip_evsub_init_parser(void) -{ - pjsip_register_hdr_parser( "Event", "o", - &parse_hdr_event); - - pjsip_register_hdr_parser( "Subscription-State", NULL, - &parse_hdr_sub_state); -} - diff --git a/res/pjproject/pjsip/src/pjsip-simple/iscomposing.c b/res/pjproject/pjsip/src/pjsip-simple/iscomposing.c deleted file mode 100644 index 18fd1f5c0c..0000000000 --- a/res/pjproject/pjsip/src/pjsip-simple/iscomposing.c +++ /dev/null @@ -1,218 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - - -/* MIME */ -static const pj_str_t STR_MIME_TYPE = { "application", 11 }; -static const pj_str_t STR_MIME_SUBTYPE = { "im-iscomposing+xml", 18 }; - - -/* XML node constants. */ -static const pj_str_t STR_ISCOMPOSING = { "isComposing", 11 }; -static const pj_str_t STR_STATE = { "state", 5 }; -static const pj_str_t STR_ACTIVE = { "active", 6 }; -static const pj_str_t STR_IDLE = { "idle", 4 }; -static const pj_str_t STR_LASTACTIVE = { "lastactive", 10 }; -static const pj_str_t STR_CONTENTTYPE = { "contenttype", 11 }; -static const pj_str_t STR_REFRESH = { "refresh", 7 }; - - -/* XML attributes constants */ -static const pj_str_t STR_XMLNS_NAME = { "xmlns", 5 }; -static const pj_str_t STR_XMLNS_VAL = { "urn:ietf:params:xml:ns:im-iscomposing", 37 }; -static const pj_str_t STR_XMLNS_XSI_NAME = { "xmlns:xsi", 9 }; -static const pj_str_t STR_XMLNS_XSI_VAL = { "http://www.w3.org/2001/XMLSchema-instance", 41 }; -static const pj_str_t STR_XSI_SLOC_NAME = { "xsi:schemaLocation", 18 }; -static const pj_str_t STR_XSI_SLOC_VAL = { "urn:ietf:params:xml:ns:im-composing iscomposing.xsd", 51 }; - - -PJ_DEF(pj_xml_node*) pjsip_iscomposing_create_xml( pj_pool_t *pool, - pj_bool_t is_composing, - const pj_time_val *lst_actv, - const pj_str_t *content_tp, - int refresh) -{ - pj_xml_node *doc, *node; - pj_xml_attr *attr; - - /* Root document. */ - doc = pj_xml_node_new(pool, &STR_ISCOMPOSING); - - /* Add attributes */ - attr = pj_xml_attr_new(pool, &STR_XMLNS_NAME, &STR_XMLNS_VAL); - pj_xml_add_attr(doc, attr); - - attr = pj_xml_attr_new(pool, &STR_XMLNS_XSI_NAME, &STR_XMLNS_XSI_VAL); - pj_xml_add_attr(doc, attr); - - attr = pj_xml_attr_new(pool, &STR_XSI_SLOC_NAME, &STR_XSI_SLOC_VAL); - pj_xml_add_attr(doc, attr); - - - /* Add state. */ - node = pj_xml_node_new(pool, &STR_STATE); - if (is_composing) - node->content = STR_ACTIVE; - else - node->content = STR_IDLE; - pj_xml_add_node(doc, node); - - /* Add lastactive, if any. */ - PJ_UNUSED_ARG(lst_actv); - //if (!is_composing && lst_actv) { - // PJ_TODO(IMPLEMENT_LAST_ACTIVE_ATTRIBUTE); - //} - - /* Add contenttype, if any. */ - if (content_tp) { - node = pj_xml_node_new(pool, &STR_CONTENTTYPE); - pj_strdup(pool, &node->content, content_tp); - pj_xml_add_node(doc, node); - } - - /* Add refresh, if any. */ - if (is_composing && refresh > 1 && refresh < 3601) { - node = pj_xml_node_new(pool, &STR_REFRESH); - node->content.ptr = (char*) pj_pool_alloc(pool, 10); - node->content.slen = pj_utoa(refresh, node->content.ptr); - pj_xml_add_node(doc, node); - } - - /* Done! */ - - return doc; -} - - - -/* - * Function to print XML message body. - */ -static int xml_print_body( struct pjsip_msg_body *msg_body, - char *buf, pj_size_t size) -{ - return pj_xml_print((const pj_xml_node*)msg_body->data, buf, size, - PJ_TRUE); -} - - -/* - * Function to clone XML document. - */ -static void* xml_clone_data(pj_pool_t *pool, const void *data, unsigned len) -{ - PJ_UNUSED_ARG(len); - return pj_xml_clone( pool, (const pj_xml_node*)data); -} - - - -PJ_DEF(pjsip_msg_body*) pjsip_iscomposing_create_body( pj_pool_t *pool, - pj_bool_t is_composing, - const pj_time_val *lst_actv, - const pj_str_t *content_tp, - int refresh) -{ - pj_xml_node *doc; - pjsip_msg_body *body; - - doc = pjsip_iscomposing_create_xml( pool, is_composing, lst_actv, - content_tp, refresh); - if (doc == NULL) - return NULL; - - - body = PJ_POOL_ZALLOC_T(pool, pjsip_msg_body); - body->content_type.type = STR_MIME_TYPE; - body->content_type.subtype = STR_MIME_SUBTYPE; - - body->data = doc; - body->len = 0; - - body->print_body = &xml_print_body; - body->clone_data = &xml_clone_data; - - return body; -} - - -PJ_DEF(pj_status_t) pjsip_iscomposing_parse( pj_pool_t *pool, - char *msg, - pj_size_t len, - pj_bool_t *p_is_composing, - pj_str_t **p_last_active, - pj_str_t **p_content_type, - int *p_refresh ) -{ - pj_xml_node *doc, *node; - - /* Set defaults: */ - if (p_is_composing) *p_is_composing = PJ_FALSE; - if (p_last_active) *p_last_active = NULL; - if (p_content_type) *p_content_type = NULL; - - /* Parse XML */ - doc = pj_xml_parse( pool, msg, len); - if (!doc) - return PJLIB_UTIL_EINXML; - - /* Root document must be "isComposing" */ - if (pj_stricmp(&doc->name, &STR_ISCOMPOSING) != 0) - return PJSIP_SIMPLE_EBADISCOMPOSE; - - /* Get the status. */ - if (p_is_composing) { - node = pj_xml_find_node(doc, &STR_STATE); - if (node == NULL) - return PJSIP_SIMPLE_EBADISCOMPOSE; - *p_is_composing = (pj_stricmp(&node->content, &STR_ACTIVE)==0); - } - - /* Get last active. */ - if (p_last_active) { - node = pj_xml_find_node(doc, &STR_LASTACTIVE); - if (node) - *p_last_active = &node->content; - } - - /* Get content type */ - if (p_content_type) { - node = pj_xml_find_node(doc, &STR_CONTENTTYPE); - if (node) - *p_content_type = &node->content; - } - - /* Get refresh */ - if (p_refresh) { - node = pj_xml_find_node(doc, &STR_REFRESH); - if (node) - *p_refresh = pj_strtoul(&node->content); - } - - return PJ_SUCCESS; -} - - diff --git a/res/pjproject/pjsip/src/pjsip-simple/mwi.c b/res/pjproject/pjsip/src/pjsip-simple/mwi.c deleted file mode 100644 index 5d4451108c..0000000000 --- a/res/pjproject/pjsip/src/pjsip-simple/mwi.c +++ /dev/null @@ -1,599 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#define THIS_FILE "mwi.c" -#define MWI_DEFAULT_EXPIRES 3600 - - /* - * MWI module (mod-mdi) - */ -static struct pjsip_module mod_mwi = -{ - NULL, NULL, /* prev, next. */ - { "mod-mwi", 7 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_DIALOG_USAGE,/* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - NULL, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ -}; - - -/* - * This structure describe an mwi agent (both client and server) - */ -typedef struct pjsip_mwi -{ - pjsip_evsub *sub; /**< Event subscribtion record. */ - pjsip_dialog *dlg; /**< The dialog. */ - pjsip_evsub_user user_cb; /**< The user callback. */ - - /* These are for server subscriptions */ - pj_pool_t *body_pool; /**< Pool to save message body */ - pjsip_media_type mime_type; /**< MIME type of last msg body */ - pj_str_t body; /**< Last sent message body */ -} pjsip_mwi; - - -/* - * Forward decl for evsub callbacks. - */ -static void mwi_on_evsub_state( pjsip_evsub *sub, pjsip_event *event); -static void mwi_on_evsub_tsx_state( pjsip_evsub *sub, pjsip_transaction *tsx, - pjsip_event *event); -static void mwi_on_evsub_rx_refresh( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int *p_st_code, - pj_str_t **p_st_text, - pjsip_hdr *res_hdr, - pjsip_msg_body **p_body); -static void mwi_on_evsub_rx_notify( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int *p_st_code, - pj_str_t **p_st_text, - pjsip_hdr *res_hdr, - pjsip_msg_body **p_body); -static void mwi_on_evsub_client_refresh(pjsip_evsub *sub); -static void mwi_on_evsub_server_timeout(pjsip_evsub *sub); - - -/* - * Event subscription callback for mwi. - */ -static pjsip_evsub_user mwi_user = -{ - &mwi_on_evsub_state, - &mwi_on_evsub_tsx_state, - &mwi_on_evsub_rx_refresh, - &mwi_on_evsub_rx_notify, - &mwi_on_evsub_client_refresh, - &mwi_on_evsub_server_timeout, -}; - - -/* - * Some static constants. - */ -static const pj_str_t STR_EVENT = { "Event", 5 }; -static const pj_str_t STR_MWI = { "message-summary", 15 }; -static const pj_str_t STR_APP_SIMPLE_SMS = { "application/simple-message-summary", 34}; - -/* - * Init mwi module. - */ -PJ_DEF(pj_status_t) pjsip_mwi_init_module( pjsip_endpoint *endpt, - pjsip_module *mod_evsub) -{ - pj_status_t status; - pj_str_t accept[1]; - - /* Check arguments. */ - PJ_ASSERT_RETURN(endpt && mod_evsub, PJ_EINVAL); - - /* Must have not been registered */ - PJ_ASSERT_RETURN(mod_mwi.id == -1, PJ_EINVALIDOP); - - /* Register to endpoint */ - status = pjsip_endpt_register_module(endpt, &mod_mwi); - if (status != PJ_SUCCESS) - return status; - - accept[0] = STR_APP_SIMPLE_SMS; - - /* Register event package to event module. */ - status = pjsip_evsub_register_pkg( &mod_mwi, &STR_MWI, - MWI_DEFAULT_EXPIRES, - PJ_ARRAY_SIZE(accept), accept); - if (status != PJ_SUCCESS) { - pjsip_endpt_unregister_module(endpt, &mod_mwi); - return status; - } - - return PJ_SUCCESS; -} - - -/* - * Get mwi module instance. - */ -PJ_DEF(pjsip_module*) pjsip_mwi_instance(void) -{ - return &mod_mwi; -} - - -/* - * Create client subscription. - */ -PJ_DEF(pj_status_t) pjsip_mwi_create_uac( pjsip_dialog *dlg, - const pjsip_evsub_user *user_cb, - unsigned options, - pjsip_evsub **p_evsub ) -{ - pj_status_t status; - pjsip_mwi *mwi; - pjsip_evsub *sub; - - PJ_ASSERT_RETURN(dlg && p_evsub, PJ_EINVAL); - - PJ_UNUSED_ARG(options); - - pjsip_dlg_inc_lock(dlg); - - /* Create event subscription */ - status = pjsip_evsub_create_uac( dlg, &mwi_user, &STR_MWI, - options, &sub); - if (status != PJ_SUCCESS) - goto on_return; - - /* Create mwi */ - mwi = PJ_POOL_ZALLOC_T(dlg->pool, pjsip_mwi); - mwi->dlg = dlg; - mwi->sub = sub; - if (user_cb) - pj_memcpy(&mwi->user_cb, user_cb, sizeof(pjsip_evsub_user)); - - /* Attach to evsub */ - pjsip_evsub_set_mod_data(sub, mod_mwi.id, mwi); - - *p_evsub = sub; - -on_return: - pjsip_dlg_dec_lock(dlg); - return status; -} - - -/* - * Create server subscription. - */ -PJ_DEF(pj_status_t) pjsip_mwi_create_uas( pjsip_dialog *dlg, - const pjsip_evsub_user *user_cb, - pjsip_rx_data *rdata, - pjsip_evsub **p_evsub ) -{ - pjsip_accept_hdr *accept; - pjsip_event_hdr *event; - pjsip_evsub *sub; - pjsip_mwi *mwi; - char obj_name[PJ_MAX_OBJ_NAME]; - pj_status_t status; - - /* Check arguments */ - PJ_ASSERT_RETURN(dlg && rdata && p_evsub, PJ_EINVAL); - - /* Must be request message */ - PJ_ASSERT_RETURN(rdata->msg_info.msg->type == PJSIP_REQUEST_MSG, - PJSIP_ENOTREQUESTMSG); - - /* Check that request is SUBSCRIBE */ - PJ_ASSERT_RETURN(pjsip_method_cmp(&rdata->msg_info.msg->line.req.method, - &pjsip_subscribe_method)==0, - PJSIP_SIMPLE_ENOTSUBSCRIBE); - - /* Check that Event header contains "mwi" */ - event = (pjsip_event_hdr*) - pjsip_msg_find_hdr_by_name(rdata->msg_info.msg, &STR_EVENT, NULL); - if (!event) { - return PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_BAD_REQUEST); - } - if (pj_stricmp(&event->event_type, &STR_MWI) != 0) { - return PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_BAD_EVENT); - } - - /* Check that request contains compatible Accept header. */ - accept = (pjsip_accept_hdr*) - pjsip_msg_find_hdr(rdata->msg_info.msg, PJSIP_H_ACCEPT, NULL); - if (accept) { - unsigned i; - for (i=0; icount; ++i) { - if (pj_stricmp(&accept->values[i], &STR_APP_SIMPLE_SMS)==0) { - break; - } - } - - if (i==accept->count) { - /* Nothing is acceptable */ - return PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_NOT_ACCEPTABLE); - } - - } else { - /* No Accept header. - * Assume client supports "application/simple-message-summary" - */ - } - - /* Lock dialog */ - pjsip_dlg_inc_lock(dlg); - - - /* Create server subscription */ - status = pjsip_evsub_create_uas( dlg, &mwi_user, rdata, 0, &sub); - if (status != PJ_SUCCESS) - goto on_return; - - /* Create server mwi subscription */ - mwi = PJ_POOL_ZALLOC_T(dlg->pool, pjsip_mwi); - mwi->dlg = dlg; - mwi->sub = sub; - if (user_cb) - pj_memcpy(&mwi->user_cb, user_cb, sizeof(pjsip_evsub_user)); - - pj_ansi_snprintf(obj_name, PJ_MAX_OBJ_NAME, "mwibd%p", dlg->pool); - mwi->body_pool = pj_pool_create(dlg->pool->factory, obj_name, - 512, 512, NULL); - - /* Attach to evsub */ - pjsip_evsub_set_mod_data(sub, mod_mwi.id, mwi); - - /* Done: */ - *p_evsub = sub; - -on_return: - pjsip_dlg_dec_lock(dlg); - return status; -} - - -/* - * Forcefully terminate mwi. - */ -PJ_DEF(pj_status_t) pjsip_mwi_terminate( pjsip_evsub *sub, - pj_bool_t notify ) -{ - return pjsip_evsub_terminate(sub, notify); -} - -/* - * Create SUBSCRIBE - */ -PJ_DEF(pj_status_t) pjsip_mwi_initiate( pjsip_evsub *sub, - pj_int32_t expires, - pjsip_tx_data **p_tdata) -{ - return pjsip_evsub_initiate(sub, &pjsip_subscribe_method, expires, - p_tdata); -} - - -/* - * Accept incoming subscription. - */ -PJ_DEF(pj_status_t) pjsip_mwi_accept( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int st_code, - const pjsip_hdr *hdr_list ) -{ - return pjsip_evsub_accept( sub, rdata, st_code, hdr_list ); -} - -/* - * Create message body and attach it to the (NOTIFY) request. - */ -static pj_status_t mwi_create_msg_body( pjsip_mwi *mwi, - pjsip_tx_data *tdata) -{ - pjsip_msg_body *body; - pj_str_t dup_text; - - PJ_ASSERT_RETURN(mwi->mime_type.type.slen && mwi->body.slen, PJ_EINVALIDOP); - - /* Clone the message body and mime type */ - pj_strdup(tdata->pool, &dup_text, &mwi->body); - - /* Create the message body */ - body = PJ_POOL_ZALLOC_T(tdata->pool, pjsip_msg_body); - pjsip_media_type_cp(tdata->pool, &body->content_type, &mwi->mime_type); - body->data = dup_text.ptr; - body->len = (unsigned)dup_text.slen; - body->print_body = &pjsip_print_text_body; - body->clone_data = &pjsip_clone_text_data; - - /* Attach to tdata */ - tdata->msg->body = body; - - return PJ_SUCCESS; -} - - -/* - * Create NOTIFY - */ -PJ_DEF(pj_status_t) pjsip_mwi_notify( pjsip_evsub *sub, - pjsip_evsub_state state, - const pj_str_t *state_str, - const pj_str_t *reason, - const pjsip_media_type *mime_type, - const pj_str_t *body, - pjsip_tx_data **p_tdata) -{ - pjsip_mwi *mwi; - pjsip_tx_data *tdata; - pj_status_t status; - - /* Check arguments. */ - PJ_ASSERT_RETURN(sub && mime_type && body && p_tdata, PJ_EINVAL); - - /* Get the mwi object. */ - mwi = (pjsip_mwi*) pjsip_evsub_get_mod_data(sub, mod_mwi.id); - PJ_ASSERT_RETURN(mwi != NULL, PJ_EINVALIDOP); - - /* Lock object. */ - pjsip_dlg_inc_lock(mwi->dlg); - - /* Create the NOTIFY request. */ - status = pjsip_evsub_notify( sub, state, state_str, reason, &tdata); - if (status != PJ_SUCCESS) - goto on_return; - - /* Update the cached message body */ - if (mime_type || body) - pj_pool_reset(mwi->body_pool); - if (mime_type) - pjsip_media_type_cp(mwi->body_pool, &mwi->mime_type, mime_type); - if (body) - pj_strdup(mwi->body_pool, &mwi->body, body); - - /* Create message body */ - status = mwi_create_msg_body( mwi, tdata ); - if (status != PJ_SUCCESS) - goto on_return; - - /* Done. */ - *p_tdata = tdata; - -on_return: - pjsip_dlg_dec_lock(mwi->dlg); - return status; -} - - -/* - * Create NOTIFY that reflect current state. - */ -PJ_DEF(pj_status_t) pjsip_mwi_current_notify( pjsip_evsub *sub, - pjsip_tx_data **p_tdata ) -{ - pjsip_mwi *mwi; - pjsip_tx_data *tdata; - pj_status_t status; - - /* Check arguments. */ - PJ_ASSERT_RETURN(sub && p_tdata, PJ_EINVAL); - - /* Get the mwi object. */ - mwi = (pjsip_mwi*) pjsip_evsub_get_mod_data(sub, mod_mwi.id); - PJ_ASSERT_RETURN(mwi != NULL, PJ_EINVALIDOP); - - /* Lock object. */ - pjsip_dlg_inc_lock(mwi->dlg); - - /* Create the NOTIFY request. */ - status = pjsip_evsub_current_notify( sub, &tdata); - if (status != PJ_SUCCESS) - goto on_return; - - - /* Create message body to reflect the mwi status. */ - status = mwi_create_msg_body( mwi, tdata ); - if (status != PJ_SUCCESS) - goto on_return; - - /* Done. */ - *p_tdata = tdata; - -on_return: - pjsip_dlg_dec_lock(mwi->dlg); - return status; -} - - -/* - * Send request. - */ -PJ_DEF(pj_status_t) pjsip_mwi_send_request( pjsip_evsub *sub, - pjsip_tx_data *tdata ) -{ - return pjsip_evsub_send_request(sub, tdata); -} - -/* - * This callback is called by event subscription when subscription - * state has changed. - */ -static void mwi_on_evsub_state( pjsip_evsub *sub, pjsip_event *event) -{ - pjsip_mwi *mwi; - - mwi = (pjsip_mwi*) pjsip_evsub_get_mod_data(sub, mod_mwi.id); - PJ_ASSERT_ON_FAIL(mwi!=NULL, {return;}); - - if (mwi->user_cb.on_evsub_state) - (*mwi->user_cb.on_evsub_state)(sub, event); - - if (pjsip_evsub_get_state(sub) == PJSIP_EVSUB_STATE_TERMINATED) { - if (mwi->body_pool) { - pj_pool_release(mwi->body_pool); - mwi->body_pool = NULL; - } - } -} - -/* - * Called when transaction state has changed. - */ -static void mwi_on_evsub_tsx_state( pjsip_evsub *sub, pjsip_transaction *tsx, - pjsip_event *event) -{ - pjsip_mwi *mwi; - - mwi = (pjsip_mwi*) pjsip_evsub_get_mod_data(sub, mod_mwi.id); - PJ_ASSERT_ON_FAIL(mwi!=NULL, {return;}); - - if (mwi->user_cb.on_tsx_state) - (*mwi->user_cb.on_tsx_state)(sub, tsx, event); -} - - -/* - * Called when SUBSCRIBE is received. - */ -static void mwi_on_evsub_rx_refresh( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int *p_st_code, - pj_str_t **p_st_text, - pjsip_hdr *res_hdr, - pjsip_msg_body **p_body) -{ - pjsip_mwi *mwi; - - mwi = (pjsip_mwi*) pjsip_evsub_get_mod_data(sub, mod_mwi.id); - PJ_ASSERT_ON_FAIL(mwi!=NULL, {return;}); - - if (mwi->user_cb.on_rx_refresh) { - (*mwi->user_cb.on_rx_refresh)(sub, rdata, p_st_code, p_st_text, - res_hdr, p_body); - - } else { - /* Implementors MUST send NOTIFY if it implements on_rx_refresh */ - pjsip_tx_data *tdata; - pj_str_t timeout = { "timeout", 7}; - pj_status_t status; - - if (pjsip_evsub_get_state(sub)==PJSIP_EVSUB_STATE_TERMINATED) { - status = pjsip_mwi_notify( sub, PJSIP_EVSUB_STATE_TERMINATED, - NULL, &timeout, NULL, NULL, &tdata); - } else { - status = pjsip_mwi_current_notify(sub, &tdata); - } - - if (status == PJ_SUCCESS) - pjsip_mwi_send_request(sub, tdata); - } -} - - -/* - * Called when NOTIFY is received. - */ -static void mwi_on_evsub_rx_notify( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int *p_st_code, - pj_str_t **p_st_text, - pjsip_hdr *res_hdr, - pjsip_msg_body **p_body) -{ - pjsip_mwi *mwi; - - mwi = (pjsip_mwi*) pjsip_evsub_get_mod_data(sub, mod_mwi.id); - PJ_ASSERT_ON_FAIL(mwi!=NULL, {return;}); - - /* Just notify application. */ - if (mwi->user_cb.on_rx_notify) { - (*mwi->user_cb.on_rx_notify)(sub, rdata, p_st_code, p_st_text, - res_hdr, p_body); - } -} - -/* - * Called when it's time to send SUBSCRIBE. - */ -static void mwi_on_evsub_client_refresh(pjsip_evsub *sub) -{ - pjsip_mwi *mwi; - - mwi = (pjsip_mwi*) pjsip_evsub_get_mod_data(sub, mod_mwi.id); - PJ_ASSERT_ON_FAIL(mwi!=NULL, {return;}); - - if (mwi->user_cb.on_client_refresh) { - (*mwi->user_cb.on_client_refresh)(sub); - } else { - pj_status_t status; - pjsip_tx_data *tdata; - - status = pjsip_mwi_initiate(sub, -1, &tdata); - if (status == PJ_SUCCESS) - pjsip_mwi_send_request(sub, tdata); - } -} - -/* - * Called when no refresh is received after the interval. - */ -static void mwi_on_evsub_server_timeout(pjsip_evsub *sub) -{ - pjsip_mwi *mwi; - - mwi = (pjsip_mwi*) pjsip_evsub_get_mod_data(sub, mod_mwi.id); - PJ_ASSERT_ON_FAIL(mwi!=NULL, {return;}); - - if (mwi->user_cb.on_server_timeout) { - (*mwi->user_cb.on_server_timeout)(sub); - } else { - pj_status_t status; - pjsip_tx_data *tdata; - pj_str_t reason = { "timeout", 7 }; - - status = pjsip_mwi_notify(sub, PJSIP_EVSUB_STATE_TERMINATED, - NULL, &reason, NULL, NULL, &tdata); - if (status == PJ_SUCCESS) - pjsip_mwi_send_request(sub, tdata); - } -} - diff --git a/res/pjproject/pjsip/src/pjsip-simple/pidf.c b/res/pjproject/pjsip/src/pjsip-simple/pidf.c deleted file mode 100644 index b90725d4e4..0000000000 --- a/res/pjproject/pjsip/src/pjsip-simple/pidf.c +++ /dev/null @@ -1,365 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - - -struct pjpidf_op_desc pjpidf_op = -{ - { - &pjpidf_pres_construct, - &pjpidf_pres_add_tuple, - &pjpidf_pres_get_first_tuple, - &pjpidf_pres_get_next_tuple, - &pjpidf_pres_find_tuple, - &pjpidf_pres_remove_tuple, - &pjpidf_pres_add_note, - &pjpidf_pres_get_first_note, - &pjpidf_pres_get_next_note - }, - { - &pjpidf_tuple_construct, - &pjpidf_tuple_get_id, - &pjpidf_tuple_set_id, - &pjpidf_tuple_get_status, - &pjpidf_tuple_get_contact, - &pjpidf_tuple_set_contact, - &pjpidf_tuple_set_contact_prio, - &pjpidf_tuple_get_contact_prio, - &pjpidf_tuple_add_note, - &pjpidf_tuple_get_first_note, - &pjpidf_tuple_get_next_note, - &pjpidf_tuple_get_timestamp, - &pjpidf_tuple_set_timestamp, - &pjpidf_tuple_set_timestamp_np - }, - { - &pjpidf_status_construct, - &pjpidf_status_is_basic_open, - &pjpidf_status_set_basic_open - } -}; - -static pj_str_t PRESENCE = { "presence", 8 }; -static pj_str_t ENTITY = { "entity", 6}; -static pj_str_t TUPLE = { "tuple", 5 }; -static pj_str_t ID = { "id", 2 }; -static pj_str_t NOTE = { "note", 4 }; -static pj_str_t STATUS = { "status", 6 }; -static pj_str_t CONTACT = { "contact", 7 }; -static pj_str_t PRIORITY = { "priority", 8 }; -static pj_str_t TIMESTAMP = { "timestamp", 9 }; -static pj_str_t BASIC = { "basic", 5 }; -static pj_str_t OPEN = { "open", 4 }; -static pj_str_t CLOSED = { "closed", 6 }; -static pj_str_t EMPTY_STRING = { NULL, 0 }; - -static pj_str_t XMLNS = { "xmlns", 5 }; -static pj_str_t PIDF_XMLNS = { "urn:ietf:params:xml:ns:pidf", 27 }; - -static void xml_init_node(pj_pool_t *pool, pj_xml_node *node, - pj_str_t *name, const pj_str_t *value) -{ - pj_list_init(&node->attr_head); - pj_list_init(&node->node_head); - node->name = *name; - if (value) pj_strdup(pool, &node->content, value); - else node->content.ptr=NULL, node->content.slen=0; -} - -static pj_xml_attr* xml_create_attr(pj_pool_t *pool, pj_str_t *name, - const pj_str_t *value) -{ - pj_xml_attr *attr = PJ_POOL_ALLOC_T(pool, pj_xml_attr); - attr->name = *name; - pj_strdup(pool, &attr->value, value); - return attr; -} - -/* Presence */ -PJ_DEF(void) pjpidf_pres_construct(pj_pool_t *pool, pjpidf_pres *pres, - const pj_str_t *entity) -{ - pj_xml_attr *attr; - - xml_init_node(pool, pres, &PRESENCE, NULL); - attr = xml_create_attr(pool, &ENTITY, entity); - pj_xml_add_attr(pres, attr); - attr = xml_create_attr(pool, &XMLNS, &PIDF_XMLNS); - pj_xml_add_attr(pres, attr); -} - -PJ_DEF(pjpidf_tuple*) pjpidf_pres_add_tuple(pj_pool_t *pool, pjpidf_pres *pres, - const pj_str_t *id) -{ - pjpidf_tuple *t = PJ_POOL_ALLOC_T(pool, pjpidf_tuple); - pjpidf_tuple_construct(pool, t, id); - pj_xml_add_node(pres, t); - return t; -} - -PJ_DEF(pjpidf_tuple*) pjpidf_pres_get_first_tuple(pjpidf_pres *pres) -{ - return pj_xml_find_node(pres, &TUPLE); -} - -PJ_DEF(pjpidf_tuple*) pjpidf_pres_get_next_tuple(pjpidf_pres *pres, - pjpidf_tuple *tuple) -{ - return pj_xml_find_next_node(pres, tuple, &TUPLE); -} - -static pj_bool_t find_tuple_by_id(const pj_xml_node *node, const void *id) -{ - return pj_xml_find_attr(node, &ID, (const pj_str_t*)id) != NULL; -} - -PJ_DEF(pjpidf_tuple*) pjpidf_pres_find_tuple(pjpidf_pres *pres, const pj_str_t *id) -{ - return pj_xml_find(pres, &TUPLE, id, &find_tuple_by_id); -} - -PJ_DEF(void) pjpidf_pres_remove_tuple(pjpidf_pres *pres, pjpidf_tuple *t) -{ - PJ_UNUSED_ARG(pres); - pj_list_erase(t); -} - -PJ_DEF(pjpidf_note*) pjpidf_pres_add_note(pj_pool_t *pool, pjpidf_pres *pres, - const pj_str_t *text) -{ - pjpidf_note *note = PJ_POOL_ALLOC_T(pool, pjpidf_note); - xml_init_node(pool, note, &NOTE, text); - pj_xml_add_node(pres, note); - return note; -} - -PJ_DEF(pjpidf_note*) pjpidf_pres_get_first_note(pjpidf_pres *pres) -{ - return pj_xml_find_node( pres, &NOTE); -} - -PJ_DEF(pjpidf_note*) pjpidf_pres_get_next_note(pjpidf_pres *t, pjpidf_note *note) -{ - return pj_xml_find_next_node(t, note, &NOTE); -} - - -/* Tuple */ -PJ_DEF(void) pjpidf_tuple_construct(pj_pool_t *pool, pjpidf_tuple *t, - const pj_str_t *id) -{ - pj_xml_attr *attr; - pjpidf_status *st; - - xml_init_node(pool, t, &TUPLE, NULL); - attr = xml_create_attr(pool, &ID, id); - pj_xml_add_attr(t, attr); - st = PJ_POOL_ALLOC_T(pool, pjpidf_status); - pjpidf_status_construct(pool, st); - pj_xml_add_node(t, st); -} - -PJ_DEF(const pj_str_t*) pjpidf_tuple_get_id(const pjpidf_tuple *t) -{ - const pj_xml_attr *attr = pj_xml_find_attr((pj_xml_node*)t, &ID, NULL); - pj_assert(attr); - return &attr->value; -} - -PJ_DEF(void) pjpidf_tuple_set_id(pj_pool_t *pool, pjpidf_tuple *t, const pj_str_t *id) -{ - pj_xml_attr *attr = pj_xml_find_attr(t, &ID, NULL); - pj_assert(attr); - pj_strdup(pool, &attr->value, id); -} - - -PJ_DEF(pjpidf_status*) pjpidf_tuple_get_status(pjpidf_tuple *t) -{ - pjpidf_status *st = (pjpidf_status*)pj_xml_find_node(t, &STATUS); - pj_assert(st); - return st; -} - - -PJ_DEF(const pj_str_t*) pjpidf_tuple_get_contact(const pjpidf_tuple *t) -{ - pj_xml_node *node = pj_xml_find_node((pj_xml_node*)t, &CONTACT); - if (!node) - return &EMPTY_STRING; - return &node->content; -} - -PJ_DEF(void) pjpidf_tuple_set_contact(pj_pool_t *pool, pjpidf_tuple *t, - const pj_str_t *contact) -{ - pj_xml_node *node = pj_xml_find_node(t, &CONTACT); - if (!node) { - node = PJ_POOL_ALLOC_T(pool, pj_xml_node); - xml_init_node(pool, node, &CONTACT, contact); - pj_xml_add_node(t, node); - } else { - pj_strdup(pool, &node->content, contact); - } -} - -PJ_DEF(void) pjpidf_tuple_set_contact_prio(pj_pool_t *pool, pjpidf_tuple *t, - const pj_str_t *prio) -{ - pj_xml_node *node = pj_xml_find_node(t, &CONTACT); - pj_xml_attr *attr; - - if (!node) { - node = PJ_POOL_ALLOC_T(pool, pj_xml_node); - xml_init_node(pool, node, &CONTACT, NULL); - pj_xml_add_node(t, node); - } - attr = pj_xml_find_attr(node, &PRIORITY, NULL); - if (!attr) { - attr = xml_create_attr(pool, &PRIORITY, prio); - pj_xml_add_attr(node, attr); - } else { - pj_strdup(pool, &attr->value, prio); - } -} - -PJ_DEF(const pj_str_t*) pjpidf_tuple_get_contact_prio(const pjpidf_tuple *t) -{ - pj_xml_node *node = pj_xml_find_node((pj_xml_node*)t, &CONTACT); - pj_xml_attr *attr; - - if (!node) - return &EMPTY_STRING; - attr = pj_xml_find_attr(node, &PRIORITY, NULL); - if (!attr) - return &EMPTY_STRING; - return &attr->value; -} - - -PJ_DEF(pjpidf_note*) pjpidf_tuple_add_note(pj_pool_t *pool, pjpidf_tuple *t, - const pj_str_t *text) -{ - pjpidf_note *note = PJ_POOL_ALLOC_T(pool, pjpidf_note); - xml_init_node(pool, note, &NOTE, text); - pj_xml_add_node(t, note); - return note; -} - -PJ_DEF(pjpidf_note*) pjpidf_tuple_get_first_note(pjpidf_tuple *t) -{ - return pj_xml_find_node(t, &NOTE); -} - -PJ_DEF(pjpidf_note*) pjpidf_tuple_get_next_note(pjpidf_tuple *t, pjpidf_note *n) -{ - return pj_xml_find_next_node(t, n, &NOTE); -} - - -PJ_DEF(const pj_str_t*) pjpidf_tuple_get_timestamp(const pjpidf_tuple *t) -{ - pj_xml_node *node = pj_xml_find_node((pj_xml_node*)t, &TIMESTAMP); - return node ? &node->content : &EMPTY_STRING; -} - -PJ_DEF(void) pjpidf_tuple_set_timestamp(pj_pool_t *pool, pjpidf_tuple *t, - const pj_str_t *ts) -{ - pj_xml_node *node = pj_xml_find_node(t, &TIMESTAMP); - if (!node) { - node = PJ_POOL_ALLOC_T(pool, pj_xml_node); - xml_init_node(pool, node, &TIMESTAMP, ts); - pj_xml_add_node(t, node); - } else { - pj_strdup(pool, &node->content, ts); - } -} - - -PJ_DEF(void) pjpidf_tuple_set_timestamp_np(pj_pool_t *pool, pjpidf_tuple *t, - pj_str_t *ts) -{ - pj_xml_node *node = pj_xml_find_node(t, &TIMESTAMP); - if (!node) { - node = PJ_POOL_ALLOC_T(pool, pj_xml_node); - xml_init_node(pool, node, &TIMESTAMP, ts); - } else { - node->content = *ts; - } -} - - -/* Status */ -PJ_DEF(void) pjpidf_status_construct(pj_pool_t *pool, pjpidf_status *st) -{ - pj_xml_node *node; - - xml_init_node(pool, st, &STATUS, NULL); - node = PJ_POOL_ALLOC_T(pool, pj_xml_node); - xml_init_node(pool, node, &BASIC, &CLOSED); - pj_xml_add_node(st, node); -} - -PJ_DEF(pj_bool_t) pjpidf_status_is_basic_open(const pjpidf_status *st) -{ - pj_xml_node *node = pj_xml_find_node((pj_xml_node*)st, &BASIC); - if (!node) - return PJ_FALSE; - return pj_stricmp(&node->content, &OPEN)==0; -} - -PJ_DEF(void) pjpidf_status_set_basic_open(pjpidf_status *st, pj_bool_t open) -{ - pj_xml_node *node = pj_xml_find_node(st, &BASIC); - if (node) - node->content = open ? OPEN : CLOSED; -} - -PJ_DEF(pjpidf_pres*) pjpidf_create(pj_pool_t *pool, const pj_str_t *entity) -{ - pjpidf_pres *pres = PJ_POOL_ALLOC_T(pool, pjpidf_pres); - pjpidf_pres_construct(pool, pres, entity); - return pres; -} - -PJ_DEF(pjpidf_pres*) pjpidf_parse(pj_pool_t *pool, char *text, int len) -{ - pjpidf_pres *pres = pj_xml_parse(pool, text, len); - if (pres && pres->name.slen >= 8) { - pj_str_t name; - - name.ptr = pres->name.ptr + (pres->name.slen - 8); - name.slen = 8; - - if (pj_stricmp(&name, &PRESENCE) == 0) - return pres; - } - return NULL; -} - -PJ_DEF(int) pjpidf_print(const pjpidf_pres* pres, char *buf, int len) -{ - return pj_xml_print(pres, buf, len, PJ_TRUE); -} - diff --git a/res/pjproject/pjsip/src/pjsip-simple/presence.c b/res/pjproject/pjsip/src/pjsip-simple/presence.c deleted file mode 100644 index 2e94e935fa..0000000000 --- a/res/pjproject/pjsip/src/pjsip-simple/presence.c +++ /dev/null @@ -1,941 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#define THIS_FILE "presence.c" -#define PRES_DEFAULT_EXPIRES PJSIP_PRES_DEFAULT_EXPIRES - -#if PJSIP_PRES_BAD_CONTENT_RESPONSE < 200 || \ - PJSIP_PRES_BAD_CONTENT_RESPONSE > 699 || \ - PJSIP_PRES_BAD_CONTENT_RESPONSE/100 == 3 -# error Invalid PJSIP_PRES_BAD_CONTENT_RESPONSE value -#endif - -/* - * Presence module (mod-presence) - */ -static struct pjsip_module mod_presence = -{ - NULL, NULL, /* prev, next. */ - { "mod-presence", 12 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_DIALOG_USAGE,/* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - NULL, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ -}; - - -/* - * Presence message body type. - */ -typedef enum content_type_e -{ - CONTENT_TYPE_NONE, - CONTENT_TYPE_PIDF, - CONTENT_TYPE_XPIDF, -} content_type_e; - -/* - * This structure describe a presentity, for both subscriber and notifier. - */ -struct pjsip_pres -{ - pjsip_evsub *sub; /**< Event subscribtion record. */ - pjsip_dialog *dlg; /**< The dialog. */ - content_type_e content_type; /**< Content-Type. */ - pj_pool_t *status_pool; /**< Pool for pres_status */ - pjsip_pres_status status; /**< Presence status. */ - pj_pool_t *tmp_pool; /**< Pool for tmp_status */ - pjsip_pres_status tmp_status; /**< Temp, before NOTIFY is answred.*/ - pjsip_evsub_user user_cb; /**< The user callback. */ -}; - - -typedef struct pjsip_pres pjsip_pres; - - -/* - * Forward decl for evsub callback. - */ -static void pres_on_evsub_state( pjsip_evsub *sub, pjsip_event *event); -static void pres_on_evsub_tsx_state( pjsip_evsub *sub, pjsip_transaction *tsx, - pjsip_event *event); -static void pres_on_evsub_rx_refresh( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int *p_st_code, - pj_str_t **p_st_text, - pjsip_hdr *res_hdr, - pjsip_msg_body **p_body); -static void pres_on_evsub_rx_notify( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int *p_st_code, - pj_str_t **p_st_text, - pjsip_hdr *res_hdr, - pjsip_msg_body **p_body); -static void pres_on_evsub_client_refresh(pjsip_evsub *sub); -static void pres_on_evsub_server_timeout(pjsip_evsub *sub); - - -/* - * Event subscription callback for presence. - */ -static pjsip_evsub_user pres_user = -{ - &pres_on_evsub_state, - &pres_on_evsub_tsx_state, - &pres_on_evsub_rx_refresh, - &pres_on_evsub_rx_notify, - &pres_on_evsub_client_refresh, - &pres_on_evsub_server_timeout, -}; - - -/* - * Some static constants. - */ -const pj_str_t STR_EVENT = { "Event", 5 }; -const pj_str_t STR_PRESENCE = { "presence", 8 }; -const pj_str_t STR_APPLICATION = { "application", 11 }; -const pj_str_t STR_PIDF_XML = { "pidf+xml", 8}; -const pj_str_t STR_XPIDF_XML = { "xpidf+xml", 9}; -const pj_str_t STR_APP_PIDF_XML = { "application/pidf+xml", 20 }; -const pj_str_t STR_APP_XPIDF_XML = { "application/xpidf+xml", 21 }; - - -/* - * Init presence module. - */ -PJ_DEF(pj_status_t) pjsip_pres_init_module( pjsip_endpoint *endpt, - pjsip_module *mod_evsub) -{ - pj_status_t status; - pj_str_t accept[2]; - - /* Check arguments. */ - PJ_ASSERT_RETURN(endpt && mod_evsub, PJ_EINVAL); - - /* Must have not been registered */ - PJ_ASSERT_RETURN(mod_presence.id == -1, PJ_EINVALIDOP); - - /* Register to endpoint */ - status = pjsip_endpt_register_module(endpt, &mod_presence); - if (status != PJ_SUCCESS) - return status; - - accept[0] = STR_APP_PIDF_XML; - accept[1] = STR_APP_XPIDF_XML; - - /* Register event package to event module. */ - status = pjsip_evsub_register_pkg( &mod_presence, &STR_PRESENCE, - PRES_DEFAULT_EXPIRES, - PJ_ARRAY_SIZE(accept), accept); - if (status != PJ_SUCCESS) { - pjsip_endpt_unregister_module(endpt, &mod_presence); - return status; - } - - return PJ_SUCCESS; -} - - -/* - * Get presence module instance. - */ -PJ_DEF(pjsip_module*) pjsip_pres_instance(void) -{ - return &mod_presence; -} - - -/* - * Create client subscription. - */ -PJ_DEF(pj_status_t) pjsip_pres_create_uac( pjsip_dialog *dlg, - const pjsip_evsub_user *user_cb, - unsigned options, - pjsip_evsub **p_evsub ) -{ - pj_status_t status; - pjsip_pres *pres; - char obj_name[PJ_MAX_OBJ_NAME]; - pjsip_evsub *sub; - - PJ_ASSERT_RETURN(dlg && p_evsub, PJ_EINVAL); - - pjsip_dlg_inc_lock(dlg); - - /* Create event subscription */ - status = pjsip_evsub_create_uac( dlg, &pres_user, &STR_PRESENCE, - options, &sub); - if (status != PJ_SUCCESS) - goto on_return; - - /* Create presence */ - pres = PJ_POOL_ZALLOC_T(dlg->pool, pjsip_pres); - pres->dlg = dlg; - pres->sub = sub; - if (user_cb) - pj_memcpy(&pres->user_cb, user_cb, sizeof(pjsip_evsub_user)); - - pj_ansi_snprintf(obj_name, PJ_MAX_OBJ_NAME, "pres%p", dlg->pool); - pres->status_pool = pj_pool_create(dlg->pool->factory, obj_name, - 512, 512, NULL); - pj_ansi_snprintf(obj_name, PJ_MAX_OBJ_NAME, "tmpres%p", dlg->pool); - pres->tmp_pool = pj_pool_create(dlg->pool->factory, obj_name, - 512, 512, NULL); - - /* Attach to evsub */ - pjsip_evsub_set_mod_data(sub, mod_presence.id, pres); - - *p_evsub = sub; - -on_return: - pjsip_dlg_dec_lock(dlg); - return status; -} - - -/* - * Create server subscription. - */ -PJ_DEF(pj_status_t) pjsip_pres_create_uas( pjsip_dialog *dlg, - const pjsip_evsub_user *user_cb, - pjsip_rx_data *rdata, - pjsip_evsub **p_evsub ) -{ - pjsip_accept_hdr *accept; - pjsip_event_hdr *event; - content_type_e content_type = CONTENT_TYPE_NONE; - pjsip_evsub *sub; - pjsip_pres *pres; - char obj_name[PJ_MAX_OBJ_NAME]; - pj_status_t status; - - /* Check arguments */ - PJ_ASSERT_RETURN(dlg && rdata && p_evsub, PJ_EINVAL); - - /* Must be request message */ - PJ_ASSERT_RETURN(rdata->msg_info.msg->type == PJSIP_REQUEST_MSG, - PJSIP_ENOTREQUESTMSG); - - /* Check that request is SUBSCRIBE */ - PJ_ASSERT_RETURN(pjsip_method_cmp(&rdata->msg_info.msg->line.req.method, - &pjsip_subscribe_method)==0, - PJSIP_SIMPLE_ENOTSUBSCRIBE); - - /* Check that Event header contains "presence" */ - event = (pjsip_event_hdr*) - pjsip_msg_find_hdr_by_name(rdata->msg_info.msg, &STR_EVENT, NULL); - if (!event) { - return PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_BAD_REQUEST); - } - if (pj_stricmp(&event->event_type, &STR_PRESENCE) != 0) { - return PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_BAD_EVENT); - } - - /* Check that request contains compatible Accept header. */ - accept = (pjsip_accept_hdr*) - pjsip_msg_find_hdr(rdata->msg_info.msg, PJSIP_H_ACCEPT, NULL); - if (accept) { - unsigned i; - for (i=0; icount; ++i) { - if (pj_stricmp(&accept->values[i], &STR_APP_PIDF_XML)==0) { - content_type = CONTENT_TYPE_PIDF; - break; - } else - if (pj_stricmp(&accept->values[i], &STR_APP_XPIDF_XML)==0) { - content_type = CONTENT_TYPE_XPIDF; - break; - } - } - - if (i==accept->count) { - /* Nothing is acceptable */ - return PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_NOT_ACCEPTABLE); - } - - } else { - /* No Accept header. - * Treat as "application/pidf+xml" - */ - content_type = CONTENT_TYPE_PIDF; - } - - /* Lock dialog */ - pjsip_dlg_inc_lock(dlg); - - - /* Create server subscription */ - status = pjsip_evsub_create_uas( dlg, &pres_user, rdata, 0, &sub); - if (status != PJ_SUCCESS) - goto on_return; - - /* Create server presence subscription */ - pres = PJ_POOL_ZALLOC_T(dlg->pool, pjsip_pres); - pres->dlg = dlg; - pres->sub = sub; - pres->content_type = content_type; - if (user_cb) - pj_memcpy(&pres->user_cb, user_cb, sizeof(pjsip_evsub_user)); - - pj_ansi_snprintf(obj_name, PJ_MAX_OBJ_NAME, "pres%p", dlg->pool); - pres->status_pool = pj_pool_create(dlg->pool->factory, obj_name, - 512, 512, NULL); - pj_ansi_snprintf(obj_name, PJ_MAX_OBJ_NAME, "tmpres%p", dlg->pool); - pres->tmp_pool = pj_pool_create(dlg->pool->factory, obj_name, - 512, 512, NULL); - - /* Attach to evsub */ - pjsip_evsub_set_mod_data(sub, mod_presence.id, pres); - - /* Done: */ - *p_evsub = sub; - -on_return: - pjsip_dlg_dec_lock(dlg); - return status; -} - - -/* - * Forcefully terminate presence. - */ -PJ_DEF(pj_status_t) pjsip_pres_terminate( pjsip_evsub *sub, - pj_bool_t notify ) -{ - return pjsip_evsub_terminate(sub, notify); -} - -/* - * Create SUBSCRIBE - */ -PJ_DEF(pj_status_t) pjsip_pres_initiate( pjsip_evsub *sub, - pj_int32_t expires, - pjsip_tx_data **p_tdata) -{ - return pjsip_evsub_initiate(sub, &pjsip_subscribe_method, expires, - p_tdata); -} - - -/* - * Add custom headers. - */ -PJ_DEF(pj_status_t) pjsip_pres_add_header( pjsip_evsub *sub, - const pjsip_hdr *hdr_list ) -{ - return pjsip_evsub_add_header( sub, hdr_list ); -} - - -/* - * Accept incoming subscription. - */ -PJ_DEF(pj_status_t) pjsip_pres_accept( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int st_code, - const pjsip_hdr *hdr_list ) -{ - return pjsip_evsub_accept( sub, rdata, st_code, hdr_list ); -} - - -/* - * Get presence status. - */ -PJ_DEF(pj_status_t) pjsip_pres_get_status( pjsip_evsub *sub, - pjsip_pres_status *status ) -{ - pjsip_pres *pres; - - PJ_ASSERT_RETURN(sub && status, PJ_EINVAL); - - pres = (pjsip_pres*) pjsip_evsub_get_mod_data(sub, mod_presence.id); - PJ_ASSERT_RETURN(pres!=NULL, PJSIP_SIMPLE_ENOPRESENCE); - - if (pres->tmp_status._is_valid) { - PJ_ASSERT_RETURN(pres->tmp_pool!=NULL, PJSIP_SIMPLE_ENOPRESENCE); - pj_memcpy(status, &pres->tmp_status, sizeof(pjsip_pres_status)); - } else { - PJ_ASSERT_RETURN(pres->status_pool!=NULL, PJSIP_SIMPLE_ENOPRESENCE); - pj_memcpy(status, &pres->status, sizeof(pjsip_pres_status)); - } - - return PJ_SUCCESS; -} - - -/* - * Set presence status. - */ -PJ_DEF(pj_status_t) pjsip_pres_set_status( pjsip_evsub *sub, - const pjsip_pres_status *status ) -{ - unsigned i; - pj_pool_t *tmp; - pjsip_pres *pres; - - PJ_ASSERT_RETURN(sub && status, PJ_EINVAL); - - pres = (pjsip_pres*) pjsip_evsub_get_mod_data(sub, mod_presence.id); - PJ_ASSERT_RETURN(pres!=NULL, PJSIP_SIMPLE_ENOPRESENCE); - - for (i=0; iinfo_cnt; ++i) { - pres->status.info[i].basic_open = status->info[i].basic_open; - if (pres->status.info[i].id.slen) { - /* Id already set */ - } else if (status->info[i].id.slen == 0) { - pj_create_unique_string(pres->dlg->pool, - &pres->status.info[i].id); - } else { - pj_strdup(pres->dlg->pool, - &pres->status.info[i].id, - &status->info[i].id); - } - pj_strdup(pres->tmp_pool, - &pres->status.info[i].contact, - &status->info[i].contact); - - /* Duplicate */ - pres->status.info[i].rpid.activity = - status->info[i].rpid.activity; - pj_strdup(pres->tmp_pool, - &pres->status.info[i].rpid.id, - &status->info[i].rpid.id); - pj_strdup(pres->tmp_pool, - &pres->status.info[i].rpid.note, - &status->info[i].rpid.note); - - } - - pres->status.info_cnt = status->info_cnt; - - /* Swap pools */ - tmp = pres->tmp_pool; - pres->tmp_pool = pres->status_pool; - pres->status_pool = tmp; - pj_pool_reset(pres->tmp_pool); - - return PJ_SUCCESS; -} - - -/* - * Create message body. - */ -static pj_status_t pres_create_msg_body( pjsip_pres *pres, - pjsip_tx_data *tdata) -{ - pj_str_t entity; - - /* Get publisher URI */ - entity.ptr = (char*) pj_pool_alloc(tdata->pool, PJSIP_MAX_URL_SIZE); - entity.slen = pjsip_uri_print(PJSIP_URI_IN_REQ_URI, - pres->dlg->local.info->uri, - entity.ptr, PJSIP_MAX_URL_SIZE); - if (entity.slen < 1) - return PJ_ENOMEM; - - if (pres->content_type == CONTENT_TYPE_PIDF) { - - return pjsip_pres_create_pidf(tdata->pool, &pres->status, - &entity, &tdata->msg->body); - - } else if (pres->content_type == CONTENT_TYPE_XPIDF) { - - return pjsip_pres_create_xpidf(tdata->pool, &pres->status, - &entity, &tdata->msg->body); - - } else { - return PJSIP_SIMPLE_EBADCONTENT; - } -} - - -/* - * Create NOTIFY - */ -PJ_DEF(pj_status_t) pjsip_pres_notify( pjsip_evsub *sub, - pjsip_evsub_state state, - const pj_str_t *state_str, - const pj_str_t *reason, - pjsip_tx_data **p_tdata) -{ - pjsip_pres *pres; - pjsip_tx_data *tdata; - pj_status_t status; - - /* Check arguments. */ - PJ_ASSERT_RETURN(sub, PJ_EINVAL); - - /* Get the presence object. */ - pres = (pjsip_pres*) pjsip_evsub_get_mod_data(sub, mod_presence.id); - PJ_ASSERT_RETURN(pres != NULL, PJSIP_SIMPLE_ENOPRESENCE); - - /* Must have at least one presence info, unless state is - * PJSIP_EVSUB_STATE_TERMINATED. This could happen if subscription - * has not been active (e.g. we're waiting for user authorization) - * and remote cancels the subscription. - */ - PJ_ASSERT_RETURN(state==PJSIP_EVSUB_STATE_TERMINATED || - pres->status.info_cnt > 0, PJSIP_SIMPLE_ENOPRESENCEINFO); - - - /* Lock object. */ - pjsip_dlg_inc_lock(pres->dlg); - - /* Create the NOTIFY request. */ - status = pjsip_evsub_notify( sub, state, state_str, reason, &tdata); - if (status != PJ_SUCCESS) - goto on_return; - - - /* Create message body to reflect the presence status. - * Only do this if we have presence status info to send (see above). - */ - if (pres->status.info_cnt > 0) { - status = pres_create_msg_body( pres, tdata ); - if (status != PJ_SUCCESS) - goto on_return; - } - - /* Done. */ - *p_tdata = tdata; - - -on_return: - pjsip_dlg_dec_lock(pres->dlg); - return status; -} - - -/* - * Create NOTIFY that reflect current state. - */ -PJ_DEF(pj_status_t) pjsip_pres_current_notify( pjsip_evsub *sub, - pjsip_tx_data **p_tdata ) -{ - pjsip_pres *pres; - pjsip_tx_data *tdata; - pj_status_t status; - - /* Check arguments. */ - PJ_ASSERT_RETURN(sub, PJ_EINVAL); - - /* Get the presence object. */ - pres = (pjsip_pres*) pjsip_evsub_get_mod_data(sub, mod_presence.id); - PJ_ASSERT_RETURN(pres != NULL, PJSIP_SIMPLE_ENOPRESENCE); - - /* We may not have a presence info yet, e.g. when we receive SUBSCRIBE - * to refresh subscription while we're waiting for user authorization. - */ - //PJ_ASSERT_RETURN(pres->status.info_cnt > 0, - // PJSIP_SIMPLE_ENOPRESENCEINFO); - - - /* Lock object. */ - pjsip_dlg_inc_lock(pres->dlg); - - /* Create the NOTIFY request. */ - status = pjsip_evsub_current_notify( sub, &tdata); - if (status != PJ_SUCCESS) - goto on_return; - - - /* Create message body to reflect the presence status. */ - if (pres->status.info_cnt > 0) { - status = pres_create_msg_body( pres, tdata ); - if (status != PJ_SUCCESS) - goto on_return; - } - - /* Done. */ - *p_tdata = tdata; - - -on_return: - pjsip_dlg_dec_lock(pres->dlg); - return status; -} - - -/* - * Send request. - */ -PJ_DEF(pj_status_t) pjsip_pres_send_request( pjsip_evsub *sub, - pjsip_tx_data *tdata ) -{ - return pjsip_evsub_send_request(sub, tdata); -} - - -/* - * This callback is called by event subscription when subscription - * state has changed. - */ -static void pres_on_evsub_state( pjsip_evsub *sub, pjsip_event *event) -{ - pjsip_pres *pres; - - pres = (pjsip_pres*) pjsip_evsub_get_mod_data(sub, mod_presence.id); - PJ_ASSERT_ON_FAIL(pres!=NULL, {return;}); - - if (pres->user_cb.on_evsub_state) - (*pres->user_cb.on_evsub_state)(sub, event); - - if (pjsip_evsub_get_state(sub) == PJSIP_EVSUB_STATE_TERMINATED) { - if (pres->status_pool) { - pj_pool_release(pres->status_pool); - pres->status_pool = NULL; - } - if (pres->tmp_pool) { - pj_pool_release(pres->tmp_pool); - pres->tmp_pool = NULL; - } - } -} - -/* - * Called when transaction state has changed. - */ -static void pres_on_evsub_tsx_state( pjsip_evsub *sub, pjsip_transaction *tsx, - pjsip_event *event) -{ - pjsip_pres *pres; - - pres = (pjsip_pres*) pjsip_evsub_get_mod_data(sub, mod_presence.id); - PJ_ASSERT_ON_FAIL(pres!=NULL, {return;}); - - if (pres->user_cb.on_tsx_state) - (*pres->user_cb.on_tsx_state)(sub, tsx, event); -} - - -/* - * Called when SUBSCRIBE is received. - */ -static void pres_on_evsub_rx_refresh( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int *p_st_code, - pj_str_t **p_st_text, - pjsip_hdr *res_hdr, - pjsip_msg_body **p_body) -{ - pjsip_pres *pres; - - pres = (pjsip_pres*) pjsip_evsub_get_mod_data(sub, mod_presence.id); - PJ_ASSERT_ON_FAIL(pres!=NULL, {return;}); - - if (pres->user_cb.on_rx_refresh) { - (*pres->user_cb.on_rx_refresh)(sub, rdata, p_st_code, p_st_text, - res_hdr, p_body); - - } else { - /* Implementors MUST send NOTIFY if it implements on_rx_refresh */ - pjsip_tx_data *tdata; - pj_str_t timeout = { "timeout", 7}; - pj_status_t status; - - if (pjsip_evsub_get_state(sub)==PJSIP_EVSUB_STATE_TERMINATED) { - status = pjsip_pres_notify( sub, PJSIP_EVSUB_STATE_TERMINATED, - NULL, &timeout, &tdata); - } else { - status = pjsip_pres_current_notify(sub, &tdata); - } - - if (status == PJ_SUCCESS) - pjsip_pres_send_request(sub, tdata); - } -} - - -/* - * Process the content of incoming NOTIFY request and update temporary - * status. - * - * return PJ_SUCCESS if incoming request is acceptable. If return value - * is not PJ_SUCCESS, res_hdr may be added with Warning header. - */ -static pj_status_t pres_process_rx_notify( pjsip_pres *pres, - pjsip_rx_data *rdata, - int *p_st_code, - pj_str_t **p_st_text, - pjsip_hdr *res_hdr) -{ - const pj_str_t STR_MULTIPART = { "multipart", 9 }; - pjsip_ctype_hdr *ctype_hdr; - pj_status_t status = PJ_SUCCESS; - - *p_st_text = NULL; - - /* Check Content-Type and msg body are present. */ - ctype_hdr = rdata->msg_info.ctype; - - if (ctype_hdr==NULL || rdata->msg_info.msg->body==NULL) { - - pjsip_warning_hdr *warn_hdr; - pj_str_t warn_text; - - *p_st_code = PJSIP_SC_BAD_REQUEST; - - warn_text = pj_str("Message body is not present"); - warn_hdr = pjsip_warning_hdr_create(rdata->tp_info.pool, 399, - pjsip_endpt_name(pres->dlg->endpt), - &warn_text); - pj_list_push_back(res_hdr, warn_hdr); - - return PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_BAD_REQUEST); - } - - /* Parse content. */ - if (pj_stricmp(&ctype_hdr->media.type, &STR_MULTIPART)==0) { - pjsip_multipart_part *mpart; - pjsip_media_type ctype; - - pjsip_media_type_init(&ctype, (pj_str_t*)&STR_APPLICATION, - (pj_str_t*)&STR_PIDF_XML); - mpart = pjsip_multipart_find_part(rdata->msg_info.msg->body, - &ctype, NULL); - if (mpart) { - status = pjsip_pres_parse_pidf2((char*)mpart->body->data, - mpart->body->len, pres->tmp_pool, - &pres->tmp_status); - } - - if (mpart==NULL) { - pjsip_media_type_init(&ctype, (pj_str_t*)&STR_APPLICATION, - (pj_str_t*)&STR_XPIDF_XML); - mpart = pjsip_multipart_find_part(rdata->msg_info.msg->body, - &ctype, NULL); - if (mpart) { - status = pjsip_pres_parse_xpidf2((char*)mpart->body->data, - mpart->body->len, - pres->tmp_pool, - &pres->tmp_status); - } else { - status = PJSIP_SIMPLE_EBADCONTENT; - } - } - } - else - if (pj_stricmp(&ctype_hdr->media.type, &STR_APPLICATION)==0 && - pj_stricmp(&ctype_hdr->media.subtype, &STR_PIDF_XML)==0) - { - status = pjsip_pres_parse_pidf( rdata, pres->tmp_pool, - &pres->tmp_status); - } - else - if (pj_stricmp(&ctype_hdr->media.type, &STR_APPLICATION)==0 && - pj_stricmp(&ctype_hdr->media.subtype, &STR_XPIDF_XML)==0) - { - status = pjsip_pres_parse_xpidf( rdata, pres->tmp_pool, - &pres->tmp_status); - } - else - { - status = PJSIP_SIMPLE_EBADCONTENT; - } - - if (status != PJ_SUCCESS) { - /* Unsupported or bad Content-Type */ - if (PJSIP_PRES_BAD_CONTENT_RESPONSE >= 300) { - pjsip_accept_hdr *accept_hdr; - pjsip_warning_hdr *warn_hdr; - - *p_st_code = PJSIP_PRES_BAD_CONTENT_RESPONSE; - - /* Add Accept header */ - accept_hdr = pjsip_accept_hdr_create(rdata->tp_info.pool); - accept_hdr->values[accept_hdr->count++] = STR_APP_PIDF_XML; - accept_hdr->values[accept_hdr->count++] = STR_APP_XPIDF_XML; - pj_list_push_back(res_hdr, accept_hdr); - - /* Add Warning header */ - warn_hdr = pjsip_warning_hdr_create_from_status( - rdata->tp_info.pool, - pjsip_endpt_name(pres->dlg->endpt), - status); - pj_list_push_back(res_hdr, warn_hdr); - - return status; - } else { - pj_assert(PJSIP_PRES_BAD_CONTENT_RESPONSE/100 == 2); - PJ_PERROR(4,(THIS_FILE, status, - "Ignoring presence error due to " - "PJSIP_PRES_BAD_CONTENT_RESPONSE setting [%d]", - PJSIP_PRES_BAD_CONTENT_RESPONSE)); - *p_st_code = PJSIP_PRES_BAD_CONTENT_RESPONSE; - status = PJ_SUCCESS; - } - } - - /* If application calls pres_get_status(), redirect the call to - * retrieve the temporary status. - */ - pres->tmp_status._is_valid = PJ_TRUE; - - return PJ_SUCCESS; -} - - -/* - * Called when NOTIFY is received. - */ -static void pres_on_evsub_rx_notify( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int *p_st_code, - pj_str_t **p_st_text, - pjsip_hdr *res_hdr, - pjsip_msg_body **p_body) -{ - pjsip_pres *pres; - pj_status_t status; - - pres = (pjsip_pres*) pjsip_evsub_get_mod_data(sub, mod_presence.id); - PJ_ASSERT_ON_FAIL(pres!=NULL, {return;}); - - if (rdata->msg_info.msg->body) { - status = pres_process_rx_notify( pres, rdata, p_st_code, p_st_text, - res_hdr ); - if (status != PJ_SUCCESS) - return; - - } else { -#if 1 - /* This is the newest change, http://trac.pjsip.org/repos/ticket/873 - * Some app want to be notified about the empty NOTIFY, e.g. to - * decide whether it should consider the buddy as offline. - * In this case, leave the buddy state unchanged, but set the - * "tuple_node" in pjsip_pres_status to NULL. - */ - unsigned i; - for (i=0; istatus.info_cnt; ++i) { - pres->status.info[i].tuple_node = NULL; - } - -#elif 0 - /* This has just been changed. Previously, we treat incoming NOTIFY - * with no message body as having the presence subscription closed. - * Now we treat it as no change in presence status (ref: EyeBeam). - */ - *p_st_code = 200; - return; -#else - unsigned i; - /* Subscription is terminated. Consider contact is offline */ - pres->tmp_status._is_valid = PJ_TRUE; - for (i=0; itmp_status.info_cnt; ++i) - pres->tmp_status.info[i].basic_open = PJ_FALSE; -#endif - } - - /* Notify application. */ - if (pres->user_cb.on_rx_notify) { - (*pres->user_cb.on_rx_notify)(sub, rdata, p_st_code, p_st_text, - res_hdr, p_body); - } - - - /* If application responded NOTIFY with 2xx, copy temporary status - * to main status, and mark the temporary status as invalid. - */ - if ((*p_st_code)/100 == 2) { - pj_pool_t *tmp; - - pj_memcpy(&pres->status, &pres->tmp_status, sizeof(pjsip_pres_status)); - - /* Swap the pool */ - tmp = pres->tmp_pool; - pres->tmp_pool = pres->status_pool; - pres->status_pool = tmp; - } - - pres->tmp_status._is_valid = PJ_FALSE; - pj_pool_reset(pres->tmp_pool); - - /* Done */ -} - -/* - * Called when it's time to send SUBSCRIBE. - */ -static void pres_on_evsub_client_refresh(pjsip_evsub *sub) -{ - pjsip_pres *pres; - - pres = (pjsip_pres*) pjsip_evsub_get_mod_data(sub, mod_presence.id); - PJ_ASSERT_ON_FAIL(pres!=NULL, {return;}); - - if (pres->user_cb.on_client_refresh) { - (*pres->user_cb.on_client_refresh)(sub); - } else { - pj_status_t status; - pjsip_tx_data *tdata; - - status = pjsip_pres_initiate(sub, -1, &tdata); - if (status == PJ_SUCCESS) - pjsip_pres_send_request(sub, tdata); - } -} - -/* - * Called when no refresh is received after the interval. - */ -static void pres_on_evsub_server_timeout(pjsip_evsub *sub) -{ - pjsip_pres *pres; - - pres = (pjsip_pres*) pjsip_evsub_get_mod_data(sub, mod_presence.id); - PJ_ASSERT_ON_FAIL(pres!=NULL, {return;}); - - if (pres->user_cb.on_server_timeout) { - (*pres->user_cb.on_server_timeout)(sub); - } else { - pj_status_t status; - pjsip_tx_data *tdata; - pj_str_t reason = { "timeout", 7 }; - - status = pjsip_pres_notify(sub, PJSIP_EVSUB_STATE_TERMINATED, - NULL, &reason, &tdata); - if (status == PJ_SUCCESS) - pjsip_pres_send_request(sub, tdata); - } -} - diff --git a/res/pjproject/pjsip/src/pjsip-simple/presence_body.c b/res/pjproject/pjsip/src/pjsip-simple/presence_body.c deleted file mode 100644 index 221228ef42..0000000000 --- a/res/pjproject/pjsip/src/pjsip-simple/presence_body.c +++ /dev/null @@ -1,288 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#define THIS_FILE "presence_body.c" - - -static const pj_str_t STR_APPLICATION = { "application", 11 }; -static const pj_str_t STR_PIDF_XML = { "pidf+xml", 8 }; -static const pj_str_t STR_XPIDF_XML = { "xpidf+xml", 9 }; - - - - -/* - * Function to print XML message body. - */ -static int pres_print_body(struct pjsip_msg_body *msg_body, - char *buf, pj_size_t size) -{ - return pj_xml_print((const pj_xml_node*)msg_body->data, buf, size, - PJ_TRUE); -} - - -/* - * Function to clone XML document. - */ -static void* xml_clone_data(pj_pool_t *pool, const void *data, unsigned len) -{ - PJ_UNUSED_ARG(len); - return pj_xml_clone( pool, (const pj_xml_node*) data); -} - - -/* - * This is a utility function to create PIDF message body from PJSIP - * presence status (pjsip_pres_status). - */ -PJ_DEF(pj_status_t) pjsip_pres_create_pidf( pj_pool_t *pool, - const pjsip_pres_status *status, - const pj_str_t *entity, - pjsip_msg_body **p_body ) -{ - pjpidf_pres *pidf; - pjsip_msg_body *body; - unsigned i; - - /* Create . */ - pidf = pjpidf_create(pool, entity); - - /* Create */ - for (i=0; iinfo_cnt; ++i) { - - pjpidf_tuple *pidf_tuple; - pjpidf_status *pidf_status; - pj_str_t id; - - /* Add tuple id. */ - if (status->info[i].id.slen == 0) { - /* xs:ID must start with letter */ - //pj_create_unique_string(pool, &id); - id.ptr = (char*)pj_pool_alloc(pool, PJ_GUID_STRING_LENGTH+2); - id.ptr += 2; - pj_generate_unique_string(&id); - id.ptr -= 2; - id.ptr[0] = 'p'; - id.ptr[1] = 'j'; - id.slen += 2; - } else { - id = status->info[i].id; - } - - pidf_tuple = pjpidf_pres_add_tuple(pool, pidf, &id); - - /* Set */ - if (status->info[i].contact.slen) - pjpidf_tuple_set_contact(pool, pidf_tuple, - &status->info[i].contact); - - - /* Set basic status */ - pidf_status = pjpidf_tuple_get_status(pidf_tuple); - pjpidf_status_set_basic_open(pidf_status, - status->info[i].basic_open); - - /* Add if configured */ -#if defined(PJSIP_PRES_PIDF_ADD_TIMESTAMP) && PJSIP_PRES_PIDF_ADD_TIMESTAMP - if (PJSIP_PRES_PIDF_ADD_TIMESTAMP) { - char buf[50]; - int tslen = 0; - pj_time_val tv; - pj_parsed_time pt; - - pj_gettimeofday(&tv); - /* TODO: convert time to GMT! (unsupported by pjlib) */ - pj_time_decode( &tv, &pt); - - tslen = pj_ansi_snprintf(buf, sizeof(buf), - "%04d-%02d-%02dT%02d:%02d:%02d.%03dZ", - pt.year, pt.mon+1, pt.day, - pt.hour, pt.min, pt.sec, pt.msec); - if (tslen > 0 && tslen < (int)sizeof(buf)) { - pj_str_t time = pj_str(buf); - pjpidf_tuple_set_timestamp(pool, pidf_tuple, &time); - } - } -#endif - } - - /* Create (RPID) */ - if (status->info_cnt) { - pjrpid_add_element(pidf, pool, 0, &status->info[0].rpid); - } - - body = PJ_POOL_ZALLOC_T(pool, pjsip_msg_body); - body->data = pidf; - body->content_type.type = STR_APPLICATION; - body->content_type.subtype = STR_PIDF_XML; - body->print_body = &pres_print_body; - body->clone_data = &xml_clone_data; - - *p_body = body; - - return PJ_SUCCESS; -} - - -/* - * This is a utility function to create X-PIDF message body from PJSIP - * presence status (pjsip_pres_status). - */ -PJ_DEF(pj_status_t) pjsip_pres_create_xpidf( pj_pool_t *pool, - const pjsip_pres_status *status, - const pj_str_t *entity, - pjsip_msg_body **p_body ) -{ - /* Note: PJSIP implementation of XPIDF is not complete! - */ - pjxpidf_pres *xpidf; - pjsip_msg_body *body; - - PJ_LOG(4,(THIS_FILE, "Warning: XPIDF format is not fully supported " - "by PJSIP")); - - /* Create XPIDF document. */ - xpidf = pjxpidf_create(pool, entity); - - /* Set basic status. */ - if (status->info_cnt > 0) - pjxpidf_set_status( xpidf, status->info[0].basic_open); - else - pjxpidf_set_status( xpidf, PJ_FALSE); - - body = PJ_POOL_ZALLOC_T(pool, pjsip_msg_body); - body->data = xpidf; - body->content_type.type = STR_APPLICATION; - body->content_type.subtype = STR_XPIDF_XML; - body->print_body = &pres_print_body; - body->clone_data = &xml_clone_data; - - *p_body = body; - - return PJ_SUCCESS; -} - - - -/* - * This is a utility function to parse PIDF body into PJSIP presence status. - */ -PJ_DEF(pj_status_t) pjsip_pres_parse_pidf( pjsip_rx_data *rdata, - pj_pool_t *pool, - pjsip_pres_status *pres_status) -{ - return pjsip_pres_parse_pidf2((char*)rdata->msg_info.msg->body->data, - rdata->msg_info.msg->body->len, - pool, pres_status); -} - -PJ_DEF(pj_status_t) pjsip_pres_parse_pidf2(char *body, unsigned body_len, - pj_pool_t *pool, - pjsip_pres_status *pres_status) -{ - pjpidf_pres *pidf; - pjpidf_tuple *pidf_tuple; - - pidf = pjpidf_parse(pool, body, body_len); - if (pidf == NULL) - return PJSIP_SIMPLE_EBADPIDF; - - pres_status->info_cnt = 0; - - pidf_tuple = pjpidf_pres_get_first_tuple(pidf); - while (pidf_tuple && pres_status->info_cnt < PJSIP_PRES_STATUS_MAX_INFO) { - pjpidf_status *pidf_status; - - pres_status->info[pres_status->info_cnt].tuple_node = - pj_xml_clone(pool, pidf_tuple); - - pj_strdup(pool, - &pres_status->info[pres_status->info_cnt].id, - pjpidf_tuple_get_id(pidf_tuple)); - - pj_strdup(pool, - &pres_status->info[pres_status->info_cnt].contact, - pjpidf_tuple_get_contact(pidf_tuple)); - - pidf_status = pjpidf_tuple_get_status(pidf_tuple); - if (pidf_status) { - pres_status->info[pres_status->info_cnt].basic_open = - pjpidf_status_is_basic_open(pidf_status); - } else { - pres_status->info[pres_status->info_cnt].basic_open = PJ_FALSE; - } - - pidf_tuple = pjpidf_pres_get_next_tuple( pidf, pidf_tuple ); - pres_status->info_cnt++; - } - - /* Parse (RPID) */ - pjrpid_get_element(pidf, pool, &pres_status->info[0].rpid); - - return PJ_SUCCESS; -} - - -/* - * This is a utility function to parse X-PIDF body into PJSIP presence status. - */ -PJ_DEF(pj_status_t) pjsip_pres_parse_xpidf(pjsip_rx_data *rdata, - pj_pool_t *pool, - pjsip_pres_status *pres_status) -{ - return pjsip_pres_parse_xpidf2((char*)rdata->msg_info.msg->body->data, - rdata->msg_info.msg->body->len, - pool, pres_status); -} - -PJ_DEF(pj_status_t) pjsip_pres_parse_xpidf2(char *body, unsigned body_len, - pj_pool_t *pool, - pjsip_pres_status *pres_status) -{ - pjxpidf_pres *xpidf; - - xpidf = pjxpidf_parse(pool, body, body_len); - if (xpidf == NULL) - return PJSIP_SIMPLE_EBADXPIDF; - - pres_status->info_cnt = 1; - - pj_strdup(pool, - &pres_status->info[0].contact, - pjxpidf_get_uri(xpidf)); - pres_status->info[0].basic_open = pjxpidf_get_status(xpidf); - pres_status->info[0].id.slen = 0; - pres_status->info[0].tuple_node = NULL; - - return PJ_SUCCESS; -} - - diff --git a/res/pjproject/pjsip/src/pjsip-simple/publishc.c b/res/pjproject/pjsip/src/pjsip-simple/publishc.c deleted file mode 100644 index d70442bbf8..0000000000 --- a/res/pjproject/pjsip/src/pjsip-simple/publishc.c +++ /dev/null @@ -1,767 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#define REFRESH_TIMER 1 -#define DELAY_BEFORE_REFRESH PJSIP_PUBLISHC_DELAY_BEFORE_REFRESH -#define THIS_FILE "publishc.c" - - -/* Let's define this enum, so that it'll trigger compilation error - * when somebody define the same enum in sip_msg.h - */ -enum -{ - PJSIP_PUBLISH_METHOD = PJSIP_OTHER_METHOD, -}; - -const pjsip_method pjsip_publish_method = -{ - (pjsip_method_e)PJSIP_PUBLISH_METHOD, - { "PUBLISH", 7 } -}; - - -/** - * Pending request list. - */ -typedef struct pending_publish -{ - PJ_DECL_LIST_MEMBER(pjsip_tx_data); -} pending_publish; - - -/** - * SIP client publication structure. - */ -struct pjsip_publishc -{ - pj_pool_t *pool; - pjsip_endpoint *endpt; - pj_bool_t _delete_flag; - int pending_tsx; - pj_bool_t in_callback; - pj_mutex_t *mutex; - - pjsip_publishc_opt opt; - void *token; - pjsip_publishc_cb *cb; - - pj_str_t event; - pj_str_t str_target_uri; - pjsip_uri *target_uri; - pjsip_cid_hdr *cid_hdr; - pjsip_cseq_hdr *cseq_hdr; - pj_str_t from_uri; - pjsip_from_hdr *from_hdr; - pjsip_to_hdr *to_hdr; - pj_str_t etag; - pjsip_expires_hdr *expires_hdr; - pj_uint32_t expires; - pjsip_route_hdr route_set; - pjsip_hdr usr_hdr; - - /* Authorization sessions. */ - pjsip_auth_clt_sess auth_sess; - - /* Auto refresh publication. */ - pj_bool_t auto_refresh; - pj_time_val last_refresh; - pj_time_val next_refresh; - pj_timer_entry timer; - - /* Pending PUBLISH request */ - pending_publish pending_reqs; -}; - - -PJ_DEF(void) pjsip_publishc_opt_default(pjsip_publishc_opt *opt) -{ - pj_bzero(opt, sizeof(*opt)); - opt->queue_request = PJSIP_PUBLISHC_QUEUE_REQUEST; -} - - -/* - * Initialize client publication module. - */ -PJ_DEF(pj_status_t) pjsip_publishc_init_module(pjsip_endpoint *endpt) -{ - /* Note: - Commented out the capability registration below, since it's - wrong to include PUBLISH in Allow header of INVITE requests/ - responses. - - 13.2.1 Creating the Initial INVITE - An Allow header field (Section 20.5) SHOULD be present in the - INVITE. It indicates what methods can be invoked within a dialog - - 20.5 Allow - The Allow header field lists the set of methods supported by the - UA generating the message. - - While the semantic of Allow header in non-dialog requests is unclear, - it's probably best not to include PUBLISH in Allow header for now - until we can find out how to customize the inclusion of methods in - Allow header for in-dialog vs out-dialog requests. - - return pjsip_endpt_add_capability( endpt, NULL, PJSIP_H_ALLOW, NULL, - 1, &pjsip_publish_method.name); - */ - PJ_UNUSED_ARG(endpt); - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjsip_publishc_create( pjsip_endpoint *endpt, - const pjsip_publishc_opt *opt, - void *token, - pjsip_publishc_cb *cb, - pjsip_publishc **p_pubc) -{ - pj_pool_t *pool; - pjsip_publishc *pubc; - pjsip_publishc_opt default_opt; - pj_status_t status; - - /* Verify arguments. */ - PJ_ASSERT_RETURN(endpt && cb && p_pubc, PJ_EINVAL); - - pool = pjsip_endpt_create_pool(endpt, "pubc%p", 1024, 1024); - PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); - - pubc = PJ_POOL_ZALLOC_T(pool, pjsip_publishc); - - pubc->pool = pool; - pubc->endpt = endpt; - pubc->token = token; - pubc->cb = cb; - pubc->expires = PJSIP_PUBC_EXPIRATION_NOT_SPECIFIED; - - if (!opt) { - pjsip_publishc_opt_default(&default_opt); - opt = &default_opt; - } - pj_memcpy(&pubc->opt, opt, sizeof(*opt)); - pj_list_init(&pubc->pending_reqs); - - status = pj_mutex_create_recursive(pubc->pool, "pubc%p", &pubc->mutex); - if (status != PJ_SUCCESS) { - pj_pool_release(pool); - return status; - } - - status = pjsip_auth_clt_init(&pubc->auth_sess, endpt, pubc->pool, 0); - if (status != PJ_SUCCESS) { - pj_mutex_destroy(pubc->mutex); - pj_pool_release(pool); - return status; - } - - pj_list_init(&pubc->route_set); - pj_list_init(&pubc->usr_hdr); - - /* Done */ - *p_pubc = pubc; - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjsip_publishc_destroy(pjsip_publishc *pubc) -{ - PJ_ASSERT_RETURN(pubc, PJ_EINVAL); - - if (pubc->pending_tsx || pubc->in_callback) { - pubc->_delete_flag = 1; - pubc->cb = NULL; - } else { - /* Cancel existing timer, if any */ - if (pubc->timer.id != 0) { - pjsip_endpt_cancel_timer(pubc->endpt, &pubc->timer); - pubc->timer.id = 0; - } - - if (pubc->mutex) - pj_mutex_destroy(pubc->mutex); - pjsip_endpt_release_pool(pubc->endpt, pubc->pool); - } - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_pool_t*) pjsip_publishc_get_pool(pjsip_publishc *pubc) -{ - return pubc->pool; -} - -static void set_expires( pjsip_publishc *pubc, pj_uint32_t expires) -{ - if (expires != pubc->expires && - expires != PJSIP_PUBC_EXPIRATION_NOT_SPECIFIED) - { - pubc->expires_hdr = pjsip_expires_hdr_create(pubc->pool, expires); - } else { - pubc->expires_hdr = NULL; - } -} - - -PJ_DEF(pj_status_t) pjsip_publishc_init(pjsip_publishc *pubc, - const pj_str_t *event, - const pj_str_t *target_uri, - const pj_str_t *from_uri, - const pj_str_t *to_uri, - pj_uint32_t expires) -{ - pj_str_t tmp; - - PJ_ASSERT_RETURN(pubc && event && target_uri && from_uri && to_uri && - expires, PJ_EINVAL); - - /* Copy event type */ - pj_strdup_with_null(pubc->pool, &pubc->event, event); - - /* Copy server URL. */ - pj_strdup_with_null(pubc->pool, &pubc->str_target_uri, target_uri); - - /* Set server URL. */ - tmp = pubc->str_target_uri; - pubc->target_uri = pjsip_parse_uri( pubc->pool, tmp.ptr, tmp.slen, 0); - if (pubc->target_uri == NULL) { - return PJSIP_EINVALIDURI; - } - - /* Set "From" header. */ - pj_strdup_with_null(pubc->pool, &pubc->from_uri, from_uri); - tmp = pubc->from_uri; - pubc->from_hdr = pjsip_from_hdr_create(pubc->pool); - pubc->from_hdr->uri = pjsip_parse_uri(pubc->pool, tmp.ptr, tmp.slen, - PJSIP_PARSE_URI_AS_NAMEADDR); - if (!pubc->from_hdr->uri) { - return PJSIP_EINVALIDURI; - } - - /* Set "To" header. */ - pj_strdup_with_null(pubc->pool, &tmp, to_uri); - pubc->to_hdr = pjsip_to_hdr_create(pubc->pool); - pubc->to_hdr->uri = pjsip_parse_uri(pubc->pool, tmp.ptr, tmp.slen, - PJSIP_PARSE_URI_AS_NAMEADDR); - if (!pubc->to_hdr->uri) { - return PJSIP_EINVALIDURI; - } - - - /* Set "Expires" header, if required. */ - set_expires( pubc, expires); - - /* Set "Call-ID" header. */ - pubc->cid_hdr = pjsip_cid_hdr_create(pubc->pool); - pj_create_unique_string(pubc->pool, &pubc->cid_hdr->id); - - /* Set "CSeq" header. */ - pubc->cseq_hdr = pjsip_cseq_hdr_create(pubc->pool); - pubc->cseq_hdr->cseq = pj_rand() % 0xFFFF; - pjsip_method_set( &pubc->cseq_hdr->method, PJSIP_REGISTER_METHOD); - - /* Done. */ - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjsip_publishc_set_credentials( pjsip_publishc *pubc, - int count, - const pjsip_cred_info cred[] ) -{ - PJ_ASSERT_RETURN(pubc && count && cred, PJ_EINVAL); - return pjsip_auth_clt_set_credentials(&pubc->auth_sess, count, cred); -} - -PJ_DEF(pj_status_t) pjsip_publishc_set_route_set( pjsip_publishc *pubc, - const pjsip_route_hdr *route_set) -{ - const pjsip_route_hdr *chdr; - - PJ_ASSERT_RETURN(pubc && route_set, PJ_EINVAL); - - pj_list_init(&pubc->route_set); - - chdr = route_set->next; - while (chdr != route_set) { - pj_list_push_back(&pubc->route_set, pjsip_hdr_clone(pubc->pool, chdr)); - chdr = chdr->next; - } - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjsip_publishc_set_headers( pjsip_publishc *pubc, - const pjsip_hdr *hdr_list) -{ - const pjsip_hdr *h; - - PJ_ASSERT_RETURN(pubc && hdr_list, PJ_EINVAL); - - pj_list_init(&pubc->usr_hdr); - h = hdr_list->next; - while (h != hdr_list) { - pj_list_push_back(&pubc->usr_hdr, pjsip_hdr_clone(pubc->pool, h)); - h = h->next; - } - - return PJ_SUCCESS; -} - -static pj_status_t create_request(pjsip_publishc *pubc, - pjsip_tx_data **p_tdata) -{ - const pj_str_t STR_EVENT = { "Event", 5 }; - pj_status_t status; - pjsip_generic_string_hdr *hdr; - pjsip_tx_data *tdata; - - PJ_ASSERT_RETURN(pubc && p_tdata, PJ_EINVAL); - - /* Create the request. */ - status = pjsip_endpt_create_request_from_hdr( pubc->endpt, - &pjsip_publish_method, - pubc->target_uri, - pubc->from_hdr, - pubc->to_hdr, - NULL, - pubc->cid_hdr, - pubc->cseq_hdr->cseq, - NULL, - &tdata); - if (status != PJ_SUCCESS) - return status; - - /* Add cached authorization headers. */ - pjsip_auth_clt_init_req( &pubc->auth_sess, tdata ); - - /* Add Route headers from route set, ideally after Via header */ - if (!pj_list_empty(&pubc->route_set)) { - pjsip_hdr *route_pos; - const pjsip_route_hdr *route; - - route_pos = (pjsip_hdr*) - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_VIA, NULL); - if (!route_pos) - route_pos = &tdata->msg->hdr; - - route = pubc->route_set.next; - while (route != &pubc->route_set) { - pjsip_hdr *new_hdr = (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, route); - pj_list_insert_after(route_pos, new_hdr); - route_pos = new_hdr; - route = route->next; - } - } - - /* Add Event header */ - hdr = pjsip_generic_string_hdr_create(tdata->pool, &STR_EVENT, - &pubc->event); - if (hdr) - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)hdr); - - - /* Add SIP-If-Match if we have etag */ - if (pubc->etag.slen) { - const pj_str_t STR_HNAME = { "SIP-If-Match", 12 }; - - hdr = pjsip_generic_string_hdr_create(tdata->pool, &STR_HNAME, - &pubc->etag); - if (hdr) - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)hdr); - } - - /* Add user headers */ - if (!pj_list_empty(&pubc->usr_hdr)) { - const pjsip_hdr *hdr; - - hdr = pubc->usr_hdr.next; - while (hdr != &pubc->usr_hdr) { - pjsip_hdr *new_hdr = (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, hdr); - pjsip_msg_add_hdr(tdata->msg, new_hdr); - hdr = hdr->next; - } - } - - - /* Done. */ - *p_tdata = tdata; - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjsip_publishc_publish(pjsip_publishc *pubc, - pj_bool_t auto_refresh, - pjsip_tx_data **p_tdata) -{ - pj_status_t status; - pjsip_tx_data *tdata; - - PJ_ASSERT_RETURN(pubc && p_tdata, PJ_EINVAL); - - status = create_request(pubc, &tdata); - if (status != PJ_SUCCESS) - return status; - - /* Add Expires header */ - if (pubc->expires_hdr) { - pjsip_hdr *dup; - - dup = (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, pubc->expires_hdr); - if (dup) - pjsip_msg_add_hdr(tdata->msg, dup); - } - - /* Cancel existing timer */ - if (pubc->timer.id != 0) { - pjsip_endpt_cancel_timer(pubc->endpt, &pubc->timer); - pubc->timer.id = 0; - } - - pubc->auto_refresh = auto_refresh; - - /* Done */ - *p_tdata = tdata; - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjsip_publishc_unpublish(pjsip_publishc *pubc, - pjsip_tx_data **p_tdata) -{ - pjsip_tx_data *tdata; - pjsip_msg *msg; - pjsip_expires_hdr *expires; - pj_status_t status; - - PJ_ASSERT_RETURN(pubc && p_tdata, PJ_EINVAL); - - if (pubc->timer.id != 0) { - pjsip_endpt_cancel_timer(pubc->endpt, &pubc->timer); - pubc->timer.id = 0; - } - - status = create_request(pubc, &tdata); - if (status != PJ_SUCCESS) - return status; - - msg = tdata->msg; - - /* Add Expires:0 header */ - expires = pjsip_expires_hdr_create(tdata->pool, 0); - pjsip_msg_add_hdr( msg, (pjsip_hdr*)expires); - - *p_tdata = tdata; - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjsip_publishc_update_expires( pjsip_publishc *pubc, - pj_uint32_t expires ) -{ - PJ_ASSERT_RETURN(pubc, PJ_EINVAL); - set_expires( pubc, expires ); - return PJ_SUCCESS; -} - - -static void call_callback(pjsip_publishc *pubc, pj_status_t status, - int st_code, const pj_str_t *reason, - pjsip_rx_data *rdata, pj_int32_t expiration) -{ - struct pjsip_publishc_cbparam cbparam; - - - cbparam.pubc = pubc; - cbparam.token = pubc->token; - cbparam.status = status; - cbparam.code = st_code; - cbparam.reason = *reason; - cbparam.rdata = rdata; - cbparam.expiration = expiration; - - (*pubc->cb)(&cbparam); -} - -static void pubc_refresh_timer_cb( pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry) -{ - pjsip_publishc *pubc = (pjsip_publishc*) entry->user_data; - pjsip_tx_data *tdata; - pj_status_t status; - - PJ_UNUSED_ARG(timer_heap); - - entry->id = 0; - status = pjsip_publishc_publish(pubc, 1, &tdata); - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_str_t reason = pj_strerror(status, errmsg, sizeof(errmsg)); - call_callback(pubc, status, 400, &reason, NULL, -1); - return; - } - - status = pjsip_publishc_send(pubc, tdata); - /* No need to call callback as it should have been called */ -} - -static void tsx_callback(void *token, pjsip_event *event) -{ - pj_status_t status; - pjsip_publishc *pubc = (pjsip_publishc*) token; - pjsip_transaction *tsx = event->body.tsx_state.tsx; - - /* Decrement pending transaction counter. */ - pj_assert(pubc->pending_tsx > 0); - --pubc->pending_tsx; - - /* Mark that we're in callback to prevent deletion (#1164) */ - ++pubc->in_callback; - - /* If publication data has been deleted by user then remove publication - * data from transaction's callback, and don't call callback. - */ - if (pubc->_delete_flag) { - - /* Nothing to do */ - ; - - } else if (tsx->status_code == PJSIP_SC_PROXY_AUTHENTICATION_REQUIRED || - tsx->status_code == PJSIP_SC_UNAUTHORIZED) - { - pjsip_rx_data *rdata = event->body.tsx_state.src.rdata; - pjsip_tx_data *tdata; - - status = pjsip_auth_clt_reinit_req( &pubc->auth_sess, - rdata, - tsx->last_tx, - &tdata); - if (status != PJ_SUCCESS) { - call_callback(pubc, status, tsx->status_code, - &rdata->msg_info.msg->line.status.reason, - rdata, -1); - } else { - status = pjsip_publishc_send(pubc, tdata); - } - - } else { - pjsip_rx_data *rdata; - pj_int32_t expiration = 0xFFFF; - - if (tsx->status_code/100 == 2) { - pjsip_msg *msg; - pjsip_expires_hdr *expires; - pjsip_generic_string_hdr *etag_hdr; - const pj_str_t STR_ETAG = { "SIP-ETag", 8 }; - - rdata = event->body.tsx_state.src.rdata; - msg = rdata->msg_info.msg; - - /* Save ETag value */ - etag_hdr = (pjsip_generic_string_hdr*) - pjsip_msg_find_hdr_by_name(msg, &STR_ETAG, NULL); - if (etag_hdr) { - pj_strdup(pubc->pool, &pubc->etag, &etag_hdr->hvalue); - } else { - pubc->etag.slen = 0; - } - - /* Update expires value */ - expires = (pjsip_expires_hdr*) - pjsip_msg_find_hdr(msg, PJSIP_H_EXPIRES, NULL); - - if (pubc->auto_refresh && expires) - expiration = expires->ivalue; - - if (pubc->auto_refresh && expiration!=0 && expiration!=0xFFFF) { - pj_time_val delay = { 0, 0}; - - /* Cancel existing timer, if any */ - if (pubc->timer.id != 0) { - pjsip_endpt_cancel_timer(pubc->endpt, &pubc->timer); - pubc->timer.id = 0; - } - - delay.sec = expiration - DELAY_BEFORE_REFRESH; - if (pubc->expires != PJSIP_PUBC_EXPIRATION_NOT_SPECIFIED && - delay.sec > (pj_int32_t)pubc->expires) - { - delay.sec = pubc->expires; - } - if (delay.sec < DELAY_BEFORE_REFRESH) - delay.sec = DELAY_BEFORE_REFRESH; - pubc->timer.cb = &pubc_refresh_timer_cb; - pubc->timer.id = REFRESH_TIMER; - pubc->timer.user_data = pubc; - pjsip_endpt_schedule_timer( pubc->endpt, &pubc->timer, &delay); - pj_gettimeofday(&pubc->last_refresh); - pubc->next_refresh = pubc->last_refresh; - pubc->next_refresh.sec += delay.sec; - } - - } else { - rdata = (event->body.tsx_state.type==PJSIP_EVENT_RX_MSG) ? - event->body.tsx_state.src.rdata : NULL; - } - - - /* Call callback. */ - if (expiration == 0xFFFF) expiration = -1; - - /* Temporarily increment pending_tsx to prevent callback from - * destroying pubc. - */ - ++pubc->pending_tsx; - - call_callback(pubc, PJ_SUCCESS, tsx->status_code, - (rdata ? &rdata->msg_info.msg->line.status.reason - : pjsip_get_status_text(tsx->status_code)), - rdata, expiration); - - --pubc->pending_tsx; - - /* If we have pending request(s), send them now */ - pj_mutex_lock(pubc->mutex); - while (!pj_list_empty(&pubc->pending_reqs)) { - pjsip_tx_data *tdata = pubc->pending_reqs.next; - pj_list_erase(tdata); - - /* Add SIP-If-Match if we have etag and the request doesn't have - * one (http://trac.pjsip.org/repos/ticket/996) - */ - if (pubc->etag.slen) { - const pj_str_t STR_HNAME = { "SIP-If-Match", 12 }; - pjsip_generic_string_hdr *sim_hdr; - - sim_hdr = (pjsip_generic_string_hdr*) - pjsip_msg_find_hdr_by_name(tdata->msg, &STR_HNAME, NULL); - if (!sim_hdr) { - /* Create the header */ - sim_hdr = pjsip_generic_string_hdr_create(tdata->pool, - &STR_HNAME, - &pubc->etag); - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)sim_hdr); - - } else { - /* Update */ - if (pj_strcmp(&pubc->etag, &sim_hdr->hvalue)) - pj_strdup(tdata->pool, &sim_hdr->hvalue, &pubc->etag); - } - } - - status = pjsip_publishc_send(pubc, tdata); - if (status == PJ_EPENDING) { - pj_assert(!"Not expected"); - pj_list_erase(tdata); - pjsip_tx_data_dec_ref(tdata); - } else if (status == PJ_SUCCESS) { - break; - } - } - pj_mutex_unlock(pubc->mutex); - } - - /* No longer in callback. */ - --pubc->in_callback; - - /* Delete the record if user destroy pubc during the callback. */ - if (pubc->_delete_flag && pubc->pending_tsx==0) { - pjsip_publishc_destroy(pubc); - } -} - - -PJ_DEF(pj_status_t) pjsip_publishc_send(pjsip_publishc *pubc, - pjsip_tx_data *tdata) -{ - pj_status_t status; - pjsip_cseq_hdr *cseq_hdr; - pj_uint32_t cseq; - - PJ_ASSERT_RETURN(pubc && tdata, PJ_EINVAL); - - /* Make sure we don't have pending transaction. */ - pj_mutex_lock(pubc->mutex); - if (pubc->pending_tsx) { - if (pubc->opt.queue_request) { - pj_list_push_back(&pubc->pending_reqs, tdata); - pj_mutex_unlock(pubc->mutex); - PJ_LOG(4,(THIS_FILE, "Request is queued, pubc has another " - "transaction pending")); - return PJ_EPENDING; - } else { - pjsip_tx_data_dec_ref(tdata); - pj_mutex_unlock(pubc->mutex); - PJ_LOG(4,(THIS_FILE, "Unable to send request, pubc has another " - "transaction pending")); - return PJ_EBUSY; - } - } - pj_mutex_unlock(pubc->mutex); - - /* Invalidate message buffer. */ - pjsip_tx_data_invalidate_msg(tdata); - - /* Increment CSeq */ - cseq = ++pubc->cseq_hdr->cseq; - cseq_hdr = (pjsip_cseq_hdr*) - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_CSEQ, NULL); - cseq_hdr->cseq = cseq; - - /* Increment pending transaction first, since transaction callback - * may be called even before send_request() returns! - */ - ++pubc->pending_tsx; - status = pjsip_endpt_send_request(pubc->endpt, tdata, -1, pubc, - &tsx_callback); - if (status!=PJ_SUCCESS) { - // no need to decrement, callback has been called and it should - // already decremented pending_tsx. Decrementing this here may - // cause accessing freed memory location. - //--pubc->pending_tsx; - PJ_LOG(4,(THIS_FILE, "Error sending request, status=%d", status)); - } - - return status; -} - diff --git a/res/pjproject/pjsip/src/pjsip-simple/rpid.c b/res/pjproject/pjsip/src/pjsip-simple/rpid.c deleted file mode 100644 index 08218fd08c..0000000000 --- a/res/pjproject/pjsip/src/pjsip-simple/rpid.c +++ /dev/null @@ -1,279 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include - - -static const pj_str_t DM_NAME = {"xmlns:dm", 8}; -static const pj_str_t DM_VAL = {"urn:ietf:params:xml:ns:pidf:data-model", 38}; -static const pj_str_t RPID_NAME = {"xmlns:rpid", 10}; -static const pj_str_t RPID_VAL = {"urn:ietf:params:xml:ns:pidf:rpid", 32}; - -static const pj_str_t DM_NOTE = {"dm:note", 7}; -static const pj_str_t DM_PERSON = {"dm:person", 9}; -static const pj_str_t ID = {"id", 2}; -static const pj_str_t NOTE = {"note", 4}; -static const pj_str_t RPID_ACTIVITIES = {"rpid:activities", 15}; -static const pj_str_t RPID_AWAY = {"rpid:away", 9}; -static const pj_str_t RPID_BUSY = {"rpid:busy", 9}; -static const pj_str_t RPID_UNKNOWN = {"rpid:unknown", 12}; - - -/* Duplicate RPID element */ -PJ_DEF(void) pjrpid_element_dup(pj_pool_t *pool, pjrpid_element *dst, - const pjrpid_element *src) -{ - pj_memcpy(dst, src, sizeof(pjrpid_element)); - pj_strdup(pool, &dst->id, &src->id); - pj_strdup(pool, &dst->note, &src->note); -} - - -/* Update RPID namespaces. */ -static void update_namespaces(pjpidf_pres *pres, - pj_pool_t *pool) -{ - /* Check if namespace is already present. */ - if (pj_xml_find_attr(pres, &DM_NAME, NULL) != NULL) - return; - - pj_xml_add_attr(pres, pj_xml_attr_new(pool, &DM_NAME, &DM_VAL)); - pj_xml_add_attr(pres, pj_xml_attr_new(pool, &RPID_NAME, &RPID_VAL)); -} - - -/* Comparison function to find node name substring */ -static pj_bool_t substring_match(const pj_xml_node *node, - const char *part_name, - int part_len) -{ - pj_str_t end_name; - - if (part_len < 1) - part_len = pj_ansi_strlen(part_name); - - if (node->name.slen < part_len) - return PJ_FALSE; - - end_name.ptr = node->name.ptr + (node->name.slen - part_len); - end_name.slen = part_len; - - return pj_strnicmp2(&end_name, part_name, part_len)==0; -} - -/* Util to find child node with the specified substring */ -static pj_xml_node *find_node(const pj_xml_node *parent, - const char *part_name) -{ - const pj_xml_node *node = parent->node_head.next, - *head = (pj_xml_node*) &parent->node_head; - int part_len = pj_ansi_strlen(part_name); - - while (node != head) { - if (substring_match(node, part_name, part_len)) - return (pj_xml_node*) node; - - node = node->next; - } - - return NULL; -} - -/* - * Add RPID element into existing PIDF document. - */ -PJ_DEF(pj_status_t) pjrpid_add_element(pjpidf_pres *pres, - pj_pool_t *pool, - unsigned options, - const pjrpid_element *elem) -{ - pj_xml_node *nd_person, *nd_activities, *nd_activity, *nd_note; - pj_xml_attr *attr; - - PJ_ASSERT_RETURN(pres && pool && options==0 && elem, PJ_EINVAL); - - PJ_UNUSED_ARG(options); - - /* Check if we need to add RPID information into the PIDF document. */ - if (elem->id.slen==0 && - elem->activity==PJRPID_ACTIVITY_UNKNOWN && - elem->note.slen==0) - { - /* No RPID information to be added. */ - return PJ_SUCCESS; - } - - /* Add to */ - if (elem->note.slen != 0) { - pj_xml_node *nd_tuple; - - nd_tuple = find_node(pres, "tuple"); - - if (nd_tuple) { - nd_note = pj_xml_node_new(pool, &NOTE); - pj_strdup(pool, &nd_note->content, &elem->note); - pj_xml_add_node(nd_tuple, nd_note); - nd_note = NULL; - } - } - - /* Update namespace */ - update_namespaces(pres, pool); - - /* Add */ - nd_person = pj_xml_node_new(pool, &DM_PERSON); - if (elem->id.slen != 0) { - attr = pj_xml_attr_new(pool, &ID, &elem->id); - } else { - pj_str_t person_id; - /* xs:ID must start with letter */ - //pj_create_unique_string(pool, &person_id); - person_id.ptr = (char*)pj_pool_alloc(pool, PJ_GUID_STRING_LENGTH+2); - person_id.ptr += 2; - pj_generate_unique_string(&person_id); - person_id.ptr -= 2; - person_id.ptr[0] = 'p'; - person_id.ptr[1] = 'j'; - person_id.slen += 2; - - attr = pj_xml_attr_new(pool, &ID, &person_id); - } - pj_xml_add_attr(nd_person, attr); - pj_xml_add_node(pres, nd_person); - - /* Add */ - nd_activities = pj_xml_node_new(pool, &RPID_ACTIVITIES); - pj_xml_add_node(nd_person, nd_activities); - - /* Add the activity */ - switch (elem->activity) { - case PJRPID_ACTIVITY_AWAY: - nd_activity = pj_xml_node_new(pool, &RPID_AWAY); - break; - case PJRPID_ACTIVITY_BUSY: - nd_activity = pj_xml_node_new(pool, &RPID_BUSY); - break; - case PJRPID_ACTIVITY_UNKNOWN: - default: - nd_activity = pj_xml_node_new(pool, &RPID_UNKNOWN); - break; - } - pj_xml_add_node(nd_activities, nd_activity); - - /* Add custom text if required. */ - if (elem->note.slen != 0) { - nd_note = pj_xml_node_new(pool, &DM_NOTE); - pj_strdup(pool, &nd_note->content, &elem->note); - pj_xml_add_node(nd_person, nd_note); - } - - /* Done */ - return PJ_SUCCESS; -} - - -/* Get element from PIDF element */ -static pj_status_t get_tuple_note(const pjpidf_pres *pres, - pj_pool_t *pool, - pjrpid_element *elem) -{ - const pj_xml_node *nd_tuple, *nd_note; - - nd_tuple = find_node(pres, "tuple"); - if (!nd_tuple) - return PJSIP_SIMPLE_EBADRPID; - - nd_note = find_node(pres, "note"); - if (nd_note) { - pj_strdup(pool, &elem->note, &nd_note->content); - return PJ_SUCCESS; - } - - return PJSIP_SIMPLE_EBADRPID; -} - -/* - * Get RPID element from PIDF document, if any. - */ -PJ_DEF(pj_status_t) pjrpid_get_element(const pjpidf_pres *pres, - pj_pool_t *pool, - pjrpid_element *elem) -{ - const pj_xml_node *nd_person, *nd_activities, *nd_note = NULL; - const pj_xml_attr *attr; - - /* Reset */ - pj_bzero(elem, sizeof(*elem)); - elem->activity = PJRPID_ACTIVITY_UNKNOWN; - - /* Find */ - nd_person = find_node(pres, "person"); - if (!nd_person) { - /* not found, try to get from */ - return get_tuple_note(pres, pool, elem); - } - - /* Get element id attribute */ - attr = pj_xml_find_attr((pj_xml_node*)nd_person, &ID, NULL); - if (attr) - pj_strdup(pool, &elem->id, &attr->value); - - /* Get */ - nd_activities = find_node(nd_person, "activities"); - if (nd_activities) { - const pj_xml_node *nd_activity; - - /* Try to get from */ - nd_note = find_node(nd_activities, "note"); - - /* Get the activity */ - nd_activity = nd_activities->node_head.next; - if (nd_activity == nd_note) - nd_activity = nd_activity->next; - - if (nd_activity != (pj_xml_node*) &nd_activities->node_head) { - if (substring_match(nd_activity, "busy", -1)) - elem->activity = PJRPID_ACTIVITY_BUSY; - else if (substring_match(nd_activity, "away", -1)) - elem->activity = PJRPID_ACTIVITY_AWAY; - else - elem->activity = PJRPID_ACTIVITY_UNKNOWN; - - } - } - - /* If is not found, get from */ - if (nd_note == NULL) - nd_note = find_node(nd_person, "note"); - - if (nd_note) { - pj_strdup(pool, &elem->note, &nd_note->content); - } else { - get_tuple_note(pres, pool, elem); - } - - return PJ_SUCCESS; -} - - diff --git a/res/pjproject/pjsip/src/pjsip-simple/xpidf.c b/res/pjproject/pjsip/src/pjsip-simple/xpidf.c deleted file mode 100644 index 4ca4b29165..0000000000 --- a/res/pjproject/pjsip/src/pjsip-simple/xpidf.c +++ /dev/null @@ -1,301 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - -static pj_str_t STR_PRESENCE = { "presence", 8 }; -static pj_str_t STR_STATUS = { "status", 6 }; -static pj_str_t STR_OPEN = { "open", 4 }; -static pj_str_t STR_CLOSED = { "closed", 6 }; -static pj_str_t STR_URI = { "uri", 3 }; -static pj_str_t STR_ATOM = { "atom", 4 }; -static pj_str_t STR_ATOMID = { "atomid", 6 }; -static pj_str_t STR_ID = { "id", 2 }; -static pj_str_t STR_ADDRESS = { "address", 7 }; -static pj_str_t STR_SUBSCRIBE_PARAM = { ";method=SUBSCRIBE", 17 }; -static pj_str_t STR_PRESENTITY = { "presentity", 10 }; -static pj_str_t STR_EMPTY_STRING = { NULL, 0 }; - -static pj_xml_node* xml_create_node(pj_pool_t *pool, - pj_str_t *name, const pj_str_t *value) -{ - pj_xml_node *node; - - node = PJ_POOL_ALLOC_T(pool, pj_xml_node); - pj_list_init(&node->attr_head); - pj_list_init(&node->node_head); - node->name = *name; - if (value) pj_strdup(pool, &node->content, value); - else node->content.ptr=NULL, node->content.slen=0; - - return node; -} - -static pj_xml_attr* xml_create_attr(pj_pool_t *pool, pj_str_t *name, - const pj_str_t *value) -{ - pj_xml_attr *attr = PJ_POOL_ALLOC_T(pool, pj_xml_attr); - attr->name = *name; - pj_strdup(pool, &attr->value, value); - return attr; -} - - -PJ_DEF(pjxpidf_pres*) pjxpidf_create(pj_pool_t *pool, const pj_str_t *uri_cstr) -{ - pjxpidf_pres *pres; - pj_xml_node *presentity; - pj_xml_node *atom; - pj_xml_node *addr; - pj_xml_node *status; - pj_xml_attr *attr; - pj_str_t uri; - pj_str_t tmp; - - /* */ - pres = xml_create_node(pool, &STR_PRESENCE, NULL); - - /* */ - presentity = xml_create_node(pool, &STR_PRESENTITY, NULL); - pj_xml_add_node(pres, presentity); - - /* uri attribute */ - uri.ptr = (char*) pj_pool_alloc(pool, uri_cstr->slen + - STR_SUBSCRIBE_PARAM.slen); - pj_strcpy( &uri, uri_cstr); - pj_strcat( &uri, &STR_SUBSCRIBE_PARAM); - attr = xml_create_attr(pool, &STR_URI, &uri); - pj_xml_add_attr(presentity, attr); - - /* */ - atom = xml_create_node(pool, &STR_ATOM, NULL); - pj_xml_add_node(pres, atom); - - /* atom id */ - pj_create_unique_string(pool, &tmp); - attr = xml_create_attr(pool, &STR_ATOMID, &tmp); - pj_xml_add_attr(atom, attr); - - /* address */ - addr = xml_create_node(pool, &STR_ADDRESS, NULL); - pj_xml_add_node(atom, addr); - - /* address'es uri */ - attr = xml_create_attr(pool, &STR_URI, uri_cstr); - pj_xml_add_attr(addr, attr); - - /* status */ - status = xml_create_node(pool, &STR_STATUS, NULL); - pj_xml_add_node(addr, status); - - /* status attr */ - attr = xml_create_attr(pool, &STR_STATUS, &STR_OPEN); - pj_xml_add_attr(status, attr); - - return pres; -} - - - -PJ_DEF(pjxpidf_pres*) pjxpidf_parse(pj_pool_t *pool, char *text, pj_size_t len) -{ - pjxpidf_pres *pres; - pj_xml_node *node; - - pres = pj_xml_parse(pool, text, len); - if (!pres) - return NULL; - - /* Validate */ - if (pj_stricmp(&pres->name, &STR_PRESENCE) != 0) - return NULL; - - /* Validate */ - node = pj_xml_find_node(pres, &STR_PRESENTITY); - if (node == NULL) - return NULL; - if (pj_xml_find_attr(node, &STR_URI, NULL) == NULL) - return NULL; - - /* Validate */ - node = pj_xml_find_node(pres, &STR_ATOM); - if (node == NULL) - return NULL; - if (pj_xml_find_attr(node, &STR_ATOMID, NULL) == NULL && - pj_xml_find_attr(node, &STR_ID, NULL) == NULL) - { - return NULL; - } - - /* Address */ - node = pj_xml_find_node(node, &STR_ADDRESS); - if (node == NULL) - return NULL; - if (pj_xml_find_attr(node, &STR_URI, NULL) == NULL) - return NULL; - - - /* Status */ - node = pj_xml_find_node(node, &STR_STATUS); - if (node == NULL) - return NULL; - if (pj_xml_find_attr(node, &STR_STATUS, NULL) == NULL) - return NULL; - - return pres; -} - - -PJ_DEF(int) pjxpidf_print( pjxpidf_pres *pres, char *text, pj_size_t len) -{ - return pj_xml_print(pres, text, len, PJ_TRUE); -} - - -PJ_DEF(pj_str_t*) pjxpidf_get_uri(pjxpidf_pres *pres) -{ - pj_xml_node *presentity; - pj_xml_attr *attr; - - presentity = pj_xml_find_node(pres, &STR_PRESENTITY); - if (!presentity) - return &STR_EMPTY_STRING; - - attr = pj_xml_find_attr(presentity, &STR_URI, NULL); - if (!attr) - return &STR_EMPTY_STRING; - - return &attr->value; -} - - -PJ_DEF(pj_status_t) pjxpidf_set_uri(pj_pool_t *pool, pjxpidf_pres *pres, - const pj_str_t *uri) -{ - pj_xml_node *presentity; - pj_xml_node *atom; - pj_xml_node *addr; - pj_xml_attr *attr; - pj_str_t dup_uri; - - presentity = pj_xml_find_node(pres, &STR_PRESENTITY); - if (!presentity) { - pj_assert(0); - return -1; - } - atom = pj_xml_find_node(pres, &STR_ATOM); - if (!atom) { - pj_assert(0); - return -1; - } - addr = pj_xml_find_node(atom, &STR_ADDRESS); - if (!addr) { - pj_assert(0); - return -1; - } - - /* Set uri in presentity */ - attr = pj_xml_find_attr(presentity, &STR_URI, NULL); - if (!attr) { - pj_assert(0); - return -1; - } - pj_strdup(pool, &dup_uri, uri); - attr->value = dup_uri; - - /* Set uri in address. */ - attr = pj_xml_find_attr(addr, &STR_URI, NULL); - if (!attr) { - pj_assert(0); - return -1; - } - attr->value = dup_uri; - - return 0; -} - - -PJ_DEF(pj_bool_t) pjxpidf_get_status(pjxpidf_pres *pres) -{ - pj_xml_node *atom; - pj_xml_node *addr; - pj_xml_node *status; - pj_xml_attr *attr; - - atom = pj_xml_find_node(pres, &STR_ATOM); - if (!atom) { - pj_assert(0); - return PJ_FALSE; - } - addr = pj_xml_find_node(atom, &STR_ADDRESS); - if (!addr) { - pj_assert(0); - return PJ_FALSE; - } - status = pj_xml_find_node(addr, &STR_STATUS); - if (!status) { - pj_assert(0); - return PJ_FALSE; - } - attr = pj_xml_find_attr(status, &STR_STATUS, NULL); - if (!attr) { - pj_assert(0); - return PJ_FALSE; - } - - return pj_stricmp(&attr->value, &STR_OPEN)==0 ? PJ_TRUE : PJ_FALSE; -} - - -PJ_DEF(pj_status_t) pjxpidf_set_status(pjxpidf_pres *pres, pj_bool_t online_status) -{ - pj_xml_node *atom; - pj_xml_node *addr; - pj_xml_node *status; - pj_xml_attr *attr; - - atom = pj_xml_find_node(pres, &STR_ATOM); - if (!atom) { - pj_assert(0); - return -1; - } - addr = pj_xml_find_node(atom, &STR_ADDRESS); - if (!addr) { - pj_assert(0); - return -1; - } - status = pj_xml_find_node(addr, &STR_STATUS); - if (!status) { - pj_assert(0); - return -1; - } - attr = pj_xml_find_attr(status, &STR_STATUS, NULL); - if (!attr) { - pj_assert(0); - return -1; - } - - attr->value = ( online_status ? STR_OPEN : STR_CLOSED ); - return 0; -} - diff --git a/res/pjproject/pjsip/src/pjsip-ua/sip_100rel.c b/res/pjproject/pjsip/src/pjsip-ua/sip_100rel.c deleted file mode 100644 index d2bb1d4263..0000000000 --- a/res/pjproject/pjsip/src/pjsip-ua/sip_100rel.c +++ /dev/null @@ -1,905 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "sip_100rel.c" - -/* PRACK method */ -PJ_DEF_DATA(const pjsip_method) pjsip_prack_method = -{ - PJSIP_OTHER_METHOD, - { "PRACK", 5 } -}; - -typedef struct dlg_data dlg_data; - -/* - * Static prototypes. - */ -static pj_status_t mod_100rel_load(pjsip_endpoint *endpt); - -static void on_retransmit(pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry); - - -const pj_str_t tag_100rel = { "100rel", 6 }; -const pj_str_t RSEQ = { "RSeq", 4 }; -const pj_str_t RACK = { "RAck", 4 }; - - -/* 100rel module */ -static struct mod_100rel -{ - pjsip_module mod; - pjsip_endpoint *endpt; -} mod_100rel = -{ - { - NULL, NULL, /* prev, next. */ - { "mod-100rel", 10 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_DIALOG_USAGE, /* Priority */ - &mod_100rel_load, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - NULL, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ - } - -}; - -/* List of pending transmission (may include the final response as well) */ -typedef struct tx_data_list_t -{ - PJ_DECL_LIST_MEMBER(struct tx_data_list_t); - pj_uint32_t rseq; - pjsip_tx_data *tdata; -} tx_data_list_t; - - -/* Below, UAS and UAC roles are of the INVITE transaction */ - -/* UAS state. */ -typedef struct uas_state_t -{ - pj_int32_t cseq; - pj_uint32_t rseq; /* Initialized to -1 */ - tx_data_list_t tx_data_list; - unsigned retransmit_count; - pj_timer_entry retransmit_timer; -} uas_state_t; - - -/* UAC state */ -typedef struct uac_state_t -{ - pj_str_t tag; /* To tag */ - pj_int32_t cseq; - pj_uint32_t rseq; /* Initialized to -1 */ - struct uac_state_t *next; /* next call leg */ -} uac_state_t; - - -/* State attached to each dialog. */ -struct dlg_data -{ - pjsip_inv_session *inv; - uas_state_t *uas_state; - uac_state_t *uac_state_list; -}; - - -/***************************************************************************** - ** - ** Module - ** - ***************************************************************************** - */ -static pj_status_t mod_100rel_load(pjsip_endpoint *endpt) -{ - mod_100rel.endpt = endpt; - pjsip_endpt_add_capability(endpt, &mod_100rel.mod, - PJSIP_H_ALLOW, NULL, - 1, &pjsip_prack_method.name); - pjsip_endpt_add_capability(endpt, &mod_100rel.mod, - PJSIP_H_SUPPORTED, NULL, - 1, &tag_100rel); - - return PJ_SUCCESS; -} - -static pjsip_require_hdr *find_req_hdr(pjsip_msg *msg) -{ - pjsip_require_hdr *hreq; - - hreq = (pjsip_require_hdr*) - pjsip_msg_find_hdr(msg, PJSIP_H_REQUIRE, NULL); - - while (hreq) { - unsigned i; - for (i=0; icount; ++i) { - if (!pj_stricmp(&hreq->values[i], &tag_100rel)) { - return hreq; - } - } - - if ((void*)hreq->next == (void*)&msg->hdr) - return NULL; - - hreq = (pjsip_require_hdr*) - pjsip_msg_find_hdr(msg, PJSIP_H_REQUIRE, hreq->next); - - } - - return NULL; -} - - -/* - * Get PRACK method constant. - */ -PJ_DEF(const pjsip_method*) pjsip_get_prack_method(void) -{ - return &pjsip_prack_method; -} - - -/* - * init module - */ -PJ_DEF(pj_status_t) pjsip_100rel_init_module(pjsip_endpoint *endpt) -{ - if (mod_100rel.mod.id != -1) - return PJ_SUCCESS; - - return pjsip_endpt_register_module(endpt, &mod_100rel.mod); -} - - -/* - * API: attach 100rel support in invite session. Called by - * sip_inv.c - */ -PJ_DEF(pj_status_t) pjsip_100rel_attach(pjsip_inv_session *inv) -{ - dlg_data *dd; - - /* Check that 100rel module has been initialized */ - PJ_ASSERT_RETURN(mod_100rel.mod.id >= 0, PJ_EINVALIDOP); - - /* Create and attach as dialog usage */ - dd = PJ_POOL_ZALLOC_T(inv->dlg->pool, dlg_data); - dd->inv = inv; - pjsip_dlg_add_usage(inv->dlg, &mod_100rel.mod, (void*)dd); - - PJ_LOG(5,(dd->inv->dlg->obj_name, "100rel module attached")); - - return PJ_SUCCESS; -} - - -/* - * Check if incoming response has reliable provisional response feature. - */ -PJ_DEF(pj_bool_t) pjsip_100rel_is_reliable(pjsip_rx_data *rdata) -{ - pjsip_msg *msg = rdata->msg_info.msg; - - PJ_ASSERT_RETURN(msg->type == PJSIP_RESPONSE_MSG, PJ_FALSE); - - return msg->line.status.code > 100 && msg->line.status.code < 200 && - rdata->msg_info.require != NULL && - find_req_hdr(msg) != NULL; -} - - -/* - * Create PRACK request for the incoming reliable provisional response. - */ -PJ_DEF(pj_status_t) pjsip_100rel_create_prack( pjsip_inv_session *inv, - pjsip_rx_data *rdata, - pjsip_tx_data **p_tdata) -{ - dlg_data *dd; - uac_state_t *uac_state = NULL; - const pj_str_t *to_tag = &rdata->msg_info.to->tag; - pjsip_transaction *tsx; - pjsip_msg *msg; - pjsip_generic_string_hdr *rseq_hdr; - pjsip_generic_string_hdr *rack_hdr; - unsigned rseq; - pj_str_t rack; - char rack_buf[80]; - pjsip_tx_data *tdata; - pj_status_t status; - - *p_tdata = NULL; - - dd = (dlg_data*) inv->dlg->mod_data[mod_100rel.mod.id]; - PJ_ASSERT_RETURN(dd != NULL, PJSIP_ENOTINITIALIZED); - - tsx = pjsip_rdata_get_tsx(rdata); - msg = rdata->msg_info.msg; - - /* Check our assumptions */ - pj_assert( tsx->role == PJSIP_ROLE_UAC && - tsx->method.id == PJSIP_INVITE_METHOD && - msg->line.status.code > 100 && - msg->line.status.code < 200); - - - /* Get the RSeq header */ - rseq_hdr = (pjsip_generic_string_hdr*) - pjsip_msg_find_hdr_by_name(msg, &RSEQ, NULL); - if (rseq_hdr == NULL) { - PJ_LOG(4,(dd->inv->dlg->obj_name, - "Ignoring 100rel response with no RSeq header")); - return PJSIP_EMISSINGHDR; - } - rseq = (pj_uint32_t) pj_strtoul(&rseq_hdr->hvalue); - - /* Find UAC state for the specified call leg */ - uac_state = dd->uac_state_list; - while (uac_state) { - if (pj_strcmp(&uac_state->tag, to_tag)==0) - break; - uac_state = uac_state->next; - } - - /* Create new UAC state if we don't have one */ - if (uac_state == NULL) { - uac_state = PJ_POOL_ZALLOC_T(dd->inv->dlg->pool, uac_state_t); - uac_state->cseq = rdata->msg_info.cseq->cseq; - uac_state->rseq = rseq - 1; - pj_strdup(dd->inv->dlg->pool, &uac_state->tag, to_tag); - uac_state->next = dd->uac_state_list; - dd->uac_state_list = uac_state; - } - - /* If this is from new INVITE transaction, reset UAC state. */ - if (rdata->msg_info.cseq->cseq != uac_state->cseq) { - uac_state->cseq = rdata->msg_info.cseq->cseq; - uac_state->rseq = rseq - 1; - } - - /* Ignore provisional response retransmission */ - if (rseq <= uac_state->rseq) { - /* This should have been handled before */ - return PJ_EIGNORED; - - /* Ignore provisional response with out-of-order RSeq */ - } else if (rseq != uac_state->rseq + 1) { - PJ_LOG(4,(dd->inv->dlg->obj_name, - "Ignoring 100rel response because RSeq jump " - "(expecting %u, got %u)", - uac_state->rseq+1, rseq)); - return PJ_EIGNORED; - } - - /* Update our RSeq */ - uac_state->rseq = rseq; - - /* Create PRACK */ - status = pjsip_dlg_create_request(dd->inv->dlg, &pjsip_prack_method, - -1, &tdata); - if (status != PJ_SUCCESS) - return status; - - /* If this response is a forked response from a different call-leg, - * update the req URI (https://trac.pjsip.org/repos/ticket/1364) - */ - if (pj_strcmp(&uac_state->tag, &dd->inv->dlg->remote.info->tag)) { - const pjsip_contact_hdr *mhdr; - - mhdr = (const pjsip_contact_hdr*) - pjsip_msg_find_hdr(rdata->msg_info.msg, - PJSIP_H_CONTACT, NULL); - if (!mhdr || !mhdr->uri) { - PJ_LOG(4,(dd->inv->dlg->obj_name, - "Ignoring 100rel response with no or " - "invalid Contact header")); - pjsip_tx_data_dec_ref(tdata); - return PJ_EIGNORED; - } - tdata->msg->line.req.uri = (pjsip_uri*) - pjsip_uri_clone(tdata->pool, mhdr->uri); - } - - /* Create RAck header */ - rack.ptr = rack_buf; - rack.slen = pj_ansi_snprintf(rack.ptr, sizeof(rack_buf), - "%u %u %.*s", - rseq, rdata->msg_info.cseq->cseq, - (int)tsx->method.name.slen, - tsx->method.name.ptr); - rack_hdr = pjsip_generic_string_hdr_create(tdata->pool, &RACK, &rack); - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*) rack_hdr); - - /* Done */ - *p_tdata = tdata; - - return PJ_SUCCESS; -} - - -/* - * Send PRACK request. - */ -PJ_DEF(pj_status_t) pjsip_100rel_send_prack( pjsip_inv_session *inv, - pjsip_tx_data *tdata) -{ - dlg_data *dd; - - dd = (dlg_data*) inv->dlg->mod_data[mod_100rel.mod.id]; - PJ_ASSERT_ON_FAIL(dd != NULL, - {pjsip_tx_data_dec_ref(tdata); return PJSIP_ENOTINITIALIZED; }); - - return pjsip_dlg_send_request(inv->dlg, tdata, - mod_100rel.mod.id, (void*) dd); - -} - - -/* - * Notify 100rel module that the invite session has been disconnected. - */ -PJ_DEF(pj_status_t) pjsip_100rel_end_session(pjsip_inv_session *inv) -{ - dlg_data *dd; - - dd = (dlg_data*) inv->dlg->mod_data[mod_100rel.mod.id]; - if (!dd) - return PJ_SUCCESS; - - /* Make sure we don't have pending transmission */ - if (dd->uas_state) { - pj_assert(!dd->uas_state->retransmit_timer.id); - pj_assert(pj_list_empty(&dd->uas_state->tx_data_list)); - } - - return PJ_SUCCESS; -} - - -static void parse_rack(const pj_str_t *rack, - pj_uint32_t *p_rseq, pj_int32_t *p_seq, - pj_str_t *p_method) -{ - const char *p = rack->ptr, *end = p + rack->slen; - pj_str_t token; - - token.ptr = (char*)p; - while (p < end && pj_isdigit(*p)) - ++p; - token.slen = p - token.ptr; - *p_rseq = pj_strtoul(&token); - - ++p; - token.ptr = (char*)p; - while (p < end && pj_isdigit(*p)) - ++p; - token.slen = p - token.ptr; - *p_seq = pj_strtoul(&token); - - ++p; - if (p < end) { - p_method->ptr = (char*)p; - p_method->slen = end - p; - } else { - p_method->ptr = NULL; - p_method->slen = 0; - } -} - -/* Clear all responses in the transmission list */ -static void clear_all_responses(dlg_data *dd) -{ - tx_data_list_t *tl; - - tl = dd->uas_state->tx_data_list.next; - while (tl != &dd->uas_state->tx_data_list) { - pjsip_tx_data_dec_ref(tl->tdata); - tl = tl->next; - } - pj_list_init(&dd->uas_state->tx_data_list); -} - - -/* - * Handle incoming PRACK request. - */ -PJ_DEF(pj_status_t) pjsip_100rel_on_rx_prack( pjsip_inv_session *inv, - pjsip_rx_data *rdata) -{ - dlg_data *dd; - pjsip_transaction *tsx; - pjsip_msg *msg; - pjsip_generic_string_hdr *rack_hdr; - pjsip_tx_data *tdata; - pj_uint32_t rseq; - pj_int32_t cseq; - pj_str_t method; - pj_status_t status; - - tsx = pjsip_rdata_get_tsx(rdata); - pj_assert(tsx != NULL); - - msg = rdata->msg_info.msg; - - dd = (dlg_data*) inv->dlg->mod_data[mod_100rel.mod.id]; - if (dd == NULL) { - /* UAC sends us PRACK while we didn't send reliable provisional - * response. Respond with 400 (?) - */ - const pj_str_t reason = pj_str("Unexpected PRACK"); - - status = pjsip_dlg_create_response(inv->dlg, rdata, 400, - &reason, &tdata); - if (status == PJ_SUCCESS) { - status = pjsip_dlg_send_response(inv->dlg, tsx, tdata); - } - return PJSIP_ENOTINITIALIZED; - } - - /* Always reply with 200/OK for PRACK */ - status = pjsip_dlg_create_response(inv->dlg, rdata, 200, NULL, &tdata); - if (status == PJ_SUCCESS) { - status = pjsip_dlg_send_response(inv->dlg, tsx, tdata); - } - - /* Ignore if we don't have pending transmission */ - if (dd->uas_state == NULL || pj_list_empty(&dd->uas_state->tx_data_list)) { - PJ_LOG(4,(dd->inv->dlg->obj_name, - "PRACK ignored - no pending response")); - return PJ_EIGNORED; - } - - /* Find RAck header */ - rack_hdr = (pjsip_generic_string_hdr*) - pjsip_msg_find_hdr_by_name(msg, &RACK, NULL); - if (!rack_hdr) { - /* RAck header not found */ - PJ_LOG(4,(dd->inv->dlg->obj_name, "No RAck header")); - return PJSIP_EMISSINGHDR; - } - - /* Parse RAck header */ - parse_rack(&rack_hdr->hvalue, &rseq, &cseq, &method); - - - /* Match RAck against outgoing transmission */ - if (rseq == dd->uas_state->tx_data_list.next->rseq && - cseq == dd->uas_state->cseq) - { - /* - * Yes this PRACK matches outgoing transmission. - */ - tx_data_list_t *tl = dd->uas_state->tx_data_list.next; - - if (dd->uas_state->retransmit_timer.id) { - pjsip_endpt_cancel_timer(dd->inv->dlg->endpt, - &dd->uas_state->retransmit_timer); - dd->uas_state->retransmit_timer.id = PJ_FALSE; - } - - /* Remove from the list */ - if (tl != &dd->uas_state->tx_data_list) { - pj_list_erase(tl); - - /* Destroy the response */ - pjsip_tx_data_dec_ref(tl->tdata); - } - - /* Schedule next packet */ - dd->uas_state->retransmit_count = 0; - if (!pj_list_empty(&dd->uas_state->tx_data_list)) { - on_retransmit(NULL, &dd->uas_state->retransmit_timer); - } - - } else { - /* No it doesn't match */ - PJ_LOG(4,(dd->inv->dlg->obj_name, - "Rx PRACK with no matching reliable response")); - return PJ_EIGNORED; - } - - return PJ_SUCCESS; -} - - -/* - * This is retransmit timer callback, called initially to send the response, - * and subsequently when the retransmission time elapses. - */ -static void on_retransmit(pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry) -{ - dlg_data *dd; - tx_data_list_t *tl; - pjsip_tx_data *tdata; - pj_bool_t final; - pj_time_val delay; - - PJ_UNUSED_ARG(timer_heap); - - dd = (dlg_data*) entry->user_data; - - entry->id = PJ_FALSE; - - ++dd->uas_state->retransmit_count; - if (dd->uas_state->retransmit_count >= 7) { - /* If a reliable provisional response is retransmitted for - 64*T1 seconds without reception of a corresponding PRACK, - the UAS SHOULD reject the original request with a 5xx - response. - */ - pj_str_t reason = pj_str("Reliable response timed out"); - pj_status_t status; - - /* Clear all pending responses */ - clear_all_responses(dd); - - /* Send 500 response */ - status = pjsip_inv_end_session(dd->inv, 500, &reason, &tdata); - if (status == PJ_SUCCESS) { - pjsip_dlg_send_response(dd->inv->dlg, - dd->inv->invite_tsx, - tdata); - } - return; - } - - pj_assert(!pj_list_empty(&dd->uas_state->tx_data_list)); - tl = dd->uas_state->tx_data_list.next; - tdata = tl->tdata; - - pjsip_tx_data_add_ref(tdata); - final = tdata->msg->line.status.code >= 200; - - if (dd->uas_state->retransmit_count == 1) { - pjsip_tsx_send_msg(dd->inv->invite_tsx, tdata); - } else { - pjsip_tsx_retransmit_no_state(dd->inv->invite_tsx, tdata); - } - - if (final) { - /* This is final response, which will be retransmitted by - * UA layer. There's no more task to do, so clear the - * transmission list and bail out. - */ - clear_all_responses(dd); - return; - } - - /* Schedule next retransmission */ - if (dd->uas_state->retransmit_count < 6) { - delay.sec = 0; - delay.msec = (1 << dd->uas_state->retransmit_count) * - pjsip_cfg()->tsx.t1; - pj_time_val_normalize(&delay); - } else { - delay.sec = 1; - delay.msec = 500; - } - - - pjsip_endpt_schedule_timer(dd->inv->dlg->endpt, - &dd->uas_state->retransmit_timer, - &delay); - - entry->id = PJ_TRUE; -} - - -/* Clone response. */ -static pjsip_tx_data *clone_tdata(dlg_data *dd, - const pjsip_tx_data *src) -{ - pjsip_tx_data *dst; - const pjsip_hdr *hsrc; - pjsip_msg *msg; - pj_status_t status; - - status = pjsip_endpt_create_tdata(dd->inv->dlg->endpt, &dst); - if (status != PJ_SUCCESS) - return NULL; - - msg = pjsip_msg_create(dst->pool, PJSIP_RESPONSE_MSG); - dst->msg = msg; - pjsip_tx_data_add_ref(dst); - - /* Duplicate status line */ - msg->line.status.code = src->msg->line.status.code; - pj_strdup(dst->pool, &msg->line.status.reason, - &src->msg->line.status.reason); - - /* Duplicate all headers */ - hsrc = src->msg->hdr.next; - while (hsrc != &src->msg->hdr) { - pjsip_hdr *h = (pjsip_hdr*) pjsip_hdr_clone(dst->pool, hsrc); - pjsip_msg_add_hdr(msg, h); - hsrc = hsrc->next; - } - - /* Duplicate message body */ - if (src->msg->body) - msg->body = pjsip_msg_body_clone(dst->pool, src->msg->body); - - PJ_LOG(5,(dd->inv->dlg->obj_name, - "Reliable response %s created", - pjsip_tx_data_get_info(dst))); - - return dst; -} - - -/* Check if any pending response in transmission list has SDP */ -static pj_bool_t has_sdp(dlg_data *dd) -{ - tx_data_list_t *tl; - - tl = dd->uas_state->tx_data_list.next; - while (tl != &dd->uas_state->tx_data_list) { - if (tl->tdata->msg->body) - return PJ_TRUE; - tl = tl->next; - } - - return PJ_FALSE; -} - - -/* Send response reliably */ -PJ_DEF(pj_status_t) pjsip_100rel_tx_response(pjsip_inv_session *inv, - pjsip_tx_data *tdata) -{ - pjsip_cseq_hdr *cseq_hdr; - pjsip_generic_string_hdr *rseq_hdr; - pjsip_require_hdr *req_hdr; - int status_code; - dlg_data *dd; - pjsip_tx_data *old_tdata; - pj_status_t status; - - PJ_ASSERT_RETURN(tdata->msg->type == PJSIP_RESPONSE_MSG, - PJSIP_ENOTRESPONSEMSG); - - status_code = tdata->msg->line.status.code; - - /* 100 response doesn't need PRACK */ - if (status_code == 100) - return pjsip_dlg_send_response(inv->dlg, inv->invite_tsx, tdata); - - - /* Get the 100rel data attached to this dialog */ - dd = (dlg_data*) inv->dlg->mod_data[mod_100rel.mod.id]; - PJ_ASSERT_RETURN(dd != NULL, PJ_EINVALIDOP); - - - /* Clone tdata. - * We need to clone tdata because we may need to keep it in our - * retransmission list, while the original dialog may modify it - * if it wants to send another response. - */ - old_tdata = tdata; - tdata = clone_tdata(dd, old_tdata); - pjsip_tx_data_dec_ref(old_tdata); - - - /* Get CSeq header, and make sure this is INVITE response */ - cseq_hdr = (pjsip_cseq_hdr*) - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_CSEQ, NULL); - PJ_ASSERT_RETURN(cseq_hdr != NULL, PJ_EBUG); - PJ_ASSERT_RETURN(cseq_hdr->method.id == PJSIP_INVITE_METHOD, - PJ_EINVALIDOP); - - /* Remove existing Require header */ - req_hdr = find_req_hdr(tdata->msg); - if (req_hdr) { - pj_list_erase(req_hdr); - } - - /* Remove existing RSeq header */ - rseq_hdr = (pjsip_generic_string_hdr*) - pjsip_msg_find_hdr_by_name(tdata->msg, &RSEQ, NULL); - if (rseq_hdr) - pj_list_erase(rseq_hdr); - - /* Different treatment for provisional and final response */ - if (status_code/100 == 2) { - - /* RFC 3262 Section 3: UAS Behavior: - - The UAS MAY send a final response to the initial request - before having received PRACKs for all unacknowledged - reliable provisional responses, unless the final response - is 2xx and any of the unacknowledged reliable provisional - responses contained a session description. In that case, - it MUST NOT send a final response until those provisional - responses are acknowledged. - */ - - if (dd->uas_state && has_sdp(dd)) { - /* Yes we have transmitted 1xx with SDP reliably. - * In this case, must queue the 2xx response. - */ - tx_data_list_t *tl; - - tl = PJ_POOL_ZALLOC_T(tdata->pool, tx_data_list_t); - tl->tdata = tdata; - tl->rseq = (pj_uint32_t)-1; - pj_list_push_back(&dd->uas_state->tx_data_list, tl); - - /* Will send later */ - status = PJ_SUCCESS; - - PJ_LOG(4,(dd->inv->dlg->obj_name, - "2xx response will be sent after PRACK")); - - } else if (dd->uas_state) { - /* - RFC 3262 Section 3: UAS Behavior: - - If the UAS does send a final response when reliable - responses are still unacknowledged, it SHOULD NOT - continue to retransmit the unacknowledged reliable - provisional responses, but it MUST be prepared to - process PRACK requests for those outstanding - responses. - */ - - PJ_LOG(4,(dd->inv->dlg->obj_name, - "No SDP sent so far, sending 2xx now")); - - /* Cancel the retransmit timer */ - if (dd->uas_state->retransmit_timer.id) { - pjsip_endpt_cancel_timer(dd->inv->dlg->endpt, - &dd->uas_state->retransmit_timer); - dd->uas_state->retransmit_timer.id = PJ_FALSE; - } - - /* Clear all pending responses (drop 'em) */ - clear_all_responses(dd); - - /* And transmit the 2xx response */ - status=pjsip_dlg_send_response(inv->dlg, - inv->invite_tsx, tdata); - - } else { - /* We didn't send any reliable provisional response */ - - /* Transmit the 2xx response */ - status=pjsip_dlg_send_response(inv->dlg, - inv->invite_tsx, tdata); - } - - } else if (status_code >= 300) { - - /* - RFC 3262 Section 3: UAS Behavior: - - If the UAS does send a final response when reliable - responses are still unacknowledged, it SHOULD NOT - continue to retransmit the unacknowledged reliable - provisional responses, but it MUST be prepared to - process PRACK requests for those outstanding - responses. - */ - - /* Cancel the retransmit timer */ - if (dd->uas_state && dd->uas_state->retransmit_timer.id) { - pjsip_endpt_cancel_timer(dd->inv->dlg->endpt, - &dd->uas_state->retransmit_timer); - dd->uas_state->retransmit_timer.id = PJ_FALSE; - - /* Clear all pending responses (drop 'em) */ - clear_all_responses(dd); - } - - /* And transmit the 2xx response */ - status=pjsip_dlg_send_response(inv->dlg, - inv->invite_tsx, tdata); - - } else { - /* - * This is provisional response. - */ - char rseq_str[32]; - pj_str_t rseq; - tx_data_list_t *tl; - - /* Create UAS state if we don't have one */ - if (dd->uas_state == NULL) { - dd->uas_state = PJ_POOL_ZALLOC_T(inv->dlg->pool, - uas_state_t); - dd->uas_state->cseq = cseq_hdr->cseq; - dd->uas_state->rseq = pj_rand() % 0x7FFF; - pj_list_init(&dd->uas_state->tx_data_list); - dd->uas_state->retransmit_timer.user_data = dd; - dd->uas_state->retransmit_timer.cb = &on_retransmit; - } - - /* Check that CSeq match */ - PJ_ASSERT_RETURN(cseq_hdr->cseq == dd->uas_state->cseq, - PJ_EINVALIDOP); - - /* Add Require header */ - req_hdr = pjsip_require_hdr_create(tdata->pool); - req_hdr->count = 1; - req_hdr->values[0] = tag_100rel; - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)req_hdr); - - /* Add RSeq header */ - pj_ansi_snprintf(rseq_str, sizeof(rseq_str), "%u", - dd->uas_state->rseq); - rseq = pj_str(rseq_str); - rseq_hdr = pjsip_generic_string_hdr_create(tdata->pool, - &RSEQ, &rseq); - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)rseq_hdr); - - /* Create list entry for this response */ - tl = PJ_POOL_ZALLOC_T(tdata->pool, tx_data_list_t); - tl->tdata = tdata; - tl->rseq = dd->uas_state->rseq++; - - /* Add to queue if there's pending response, otherwise - * transmit immediately. - */ - if (!pj_list_empty(&dd->uas_state->tx_data_list)) { - - int code = tdata->msg->line.status.code; - - /* Will send later */ - pj_list_push_back(&dd->uas_state->tx_data_list, tl); - status = PJ_SUCCESS; - - PJ_LOG(4,(dd->inv->dlg->obj_name, - "Reliable %d response enqueued (%d pending)", - code, pj_list_size(&dd->uas_state->tx_data_list))); - - } else { - pj_list_push_back(&dd->uas_state->tx_data_list, tl); - - dd->uas_state->retransmit_count = 0; - on_retransmit(NULL, &dd->uas_state->retransmit_timer); - status = PJ_SUCCESS; - } - - } - - return status; -} - - diff --git a/res/pjproject/pjsip/src/pjsip-ua/sip_inv.c b/res/pjproject/pjsip/src/pjsip-ua/sip_inv.c deleted file mode 100644 index 41e3291fef..0000000000 --- a/res/pjproject/pjsip/src/pjsip-ua/sip_inv.c +++ /dev/null @@ -1,4486 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Note on offer/answer: - * - * The offer/answer framework in this implementation assumes the occurence - * of SDP in a particular request/response according to this table: - - offer answer Note: - ======================================================================== - INVITE X INVITE may contain offer - 18x/INVITE X X Response may contain offer or answer - 2xx/INVITE X X Response may contain offer or answer - ACK X ACK may contain answer - - PRACK X PRACK can only contain answer - 2xx/PRACK Response may not have offer nor answer - - UPDATE X UPDATE may only contain offer - 2xx/UPDATE X Response may only contain answer - ======================================================================== - - * - */ - -#define THIS_FILE "sip_inv.c" - -static const char *inv_state_names[] = -{ - "NULL", - "CALLING", - "INCOMING", - "EARLY", - "CONNECTING", - "CONFIRMED", - "DISCONNCTD", - "TERMINATED", -}; - -/* UPDATE method */ -static const pjsip_method pjsip_update_method = -{ - PJSIP_OTHER_METHOD, - { "UPDATE", 6 } -}; - -#define POOL_INIT_SIZE 256 -#define POOL_INC_SIZE 256 - -/* - * Static prototypes. - */ -static pj_status_t mod_inv_load(pjsip_endpoint *endpt); -static pj_status_t mod_inv_unload(void); -static pj_bool_t mod_inv_on_rx_request(pjsip_rx_data *rdata); -static pj_bool_t mod_inv_on_rx_response(pjsip_rx_data *rdata); -static void mod_inv_on_tsx_state(pjsip_transaction*, pjsip_event*); - -static void inv_on_state_null( pjsip_inv_session *inv, pjsip_event *e); -static void inv_on_state_calling( pjsip_inv_session *inv, pjsip_event *e); -static void inv_on_state_incoming( pjsip_inv_session *inv, pjsip_event *e); -static void inv_on_state_early( pjsip_inv_session *inv, pjsip_event *e); -static void inv_on_state_connecting( pjsip_inv_session *inv, pjsip_event *e); -static void inv_on_state_confirmed( pjsip_inv_session *inv, pjsip_event *e); -static void inv_on_state_disconnected( pjsip_inv_session *inv, pjsip_event *e); - -static pj_status_t inv_check_sdp_in_incoming_msg( pjsip_inv_session *inv, - pjsip_transaction *tsx, - pjsip_rx_data *rdata); -static pj_status_t inv_negotiate_sdp( pjsip_inv_session *inv ); -static pjsip_msg_body *create_sdp_body(pj_pool_t *pool, - const pjmedia_sdp_session *c_sdp); -static pj_status_t process_answer( pjsip_inv_session *inv, - int st_code, - pjsip_tx_data *tdata, - const pjmedia_sdp_session *local_sdp); - -static pj_status_t handle_timer_response(pjsip_inv_session *inv, - const pjsip_rx_data *rdata, - pj_bool_t end_sess_on_failure); - -static void (*inv_state_handler[])( pjsip_inv_session *inv, pjsip_event *e) = -{ - &inv_on_state_null, - &inv_on_state_calling, - &inv_on_state_incoming, - &inv_on_state_early, - &inv_on_state_connecting, - &inv_on_state_confirmed, - &inv_on_state_disconnected, -}; - -static struct mod_inv -{ - pjsip_module mod; - pjsip_endpoint *endpt; - pjsip_inv_callback cb; -} mod_inv = -{ - { - NULL, NULL, /* prev, next. */ - { "mod-invite", 10 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_DIALOG_USAGE, /* Priority */ - &mod_inv_load, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - &mod_inv_unload, /* unload() */ - &mod_inv_on_rx_request, /* on_rx_request() */ - &mod_inv_on_rx_response, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - &mod_inv_on_tsx_state, /* on_tsx_state() */ - } -}; - - -/* Invite session data to be attached to transaction. */ -struct tsx_inv_data -{ - pjsip_inv_session *inv; /* The invite session */ - pj_bool_t sdp_done; /* SDP negotiation done for this tsx? */ - pj_bool_t retrying; /* Resend (e.g. due to 401/407) */ - pj_str_t done_tag; /* To tag in RX response with answer */ - pj_bool_t done_early;/* Negotiation was done for early med? */ -}; - -/* - * Module load() - */ -static pj_status_t mod_inv_load(pjsip_endpoint *endpt) -{ - pj_str_t allowed[] = {{"INVITE", 6}, {"ACK",3}, {"BYE",3}, {"CANCEL",6}, - { "UPDATE", 6}}; - pj_str_t accepted = { "application/sdp", 15 }; - - /* Register supported methods: INVITE, ACK, BYE, CANCEL, UPDATE */ - pjsip_endpt_add_capability(endpt, &mod_inv.mod, PJSIP_H_ALLOW, NULL, - PJ_ARRAY_SIZE(allowed), allowed); - - /* Register "application/sdp" in Accept header */ - pjsip_endpt_add_capability(endpt, &mod_inv.mod, PJSIP_H_ACCEPT, NULL, - 1, &accepted); - - return PJ_SUCCESS; -} - -/* - * Module unload() - */ -static pj_status_t mod_inv_unload(void) -{ - /* Should remove capability here */ - return PJ_SUCCESS; -} - -/* - * Set session state. - */ -void inv_set_state(pjsip_inv_session *inv, pjsip_inv_state state, - pjsip_event *e) -{ - pjsip_inv_state prev_state = inv->state; - pj_bool_t dont_notify = PJ_FALSE; - pj_status_t status; - - /* Prevent STATE_CALLING from being reported more than once because - * of authentication - * https://trac.pjsip.org/repos/ticket/1318 - */ - if (state==PJSIP_INV_STATE_CALLING && - (inv->cb_called & (1 << PJSIP_INV_STATE_CALLING)) != 0) - { - dont_notify = PJ_TRUE; - } - - /* If state is confirmed, check that SDP negotiation is done, - * otherwise disconnect the session. - */ - if (state == PJSIP_INV_STATE_CONFIRMED) { - struct tsx_inv_data *tsx_inv_data = NULL; - - if (inv->invite_tsx) { - tsx_inv_data = (struct tsx_inv_data*) - inv->invite_tsx->mod_data[mod_inv.mod.id]; - } - - if (pjmedia_sdp_neg_get_state(inv->neg)!=PJMEDIA_SDP_NEG_STATE_DONE && - (tsx_inv_data && !tsx_inv_data->sdp_done) ) - { - pjsip_tx_data *bye; - - PJ_LOG(4,(inv->obj_name, "SDP offer/answer incomplete, ending the " - "session")); - - status = pjsip_inv_end_session(inv, PJSIP_SC_NOT_ACCEPTABLE, - NULL, &bye); - if (status == PJ_SUCCESS && bye) - status = pjsip_inv_send_msg(inv, bye); - - return; - } - } - - /* Set state. */ - inv->state = state; - - /* If state is DISCONNECTED, cause code MUST have been set. */ - pj_assert(inv->state != PJSIP_INV_STATE_DISCONNECTED || - inv->cause != 0); - - /* Mark the callback as called for this state */ - inv->cb_called |= (1 << state); - - /* Call on_state_changed() callback. */ - if (mod_inv.cb.on_state_changed && inv->notify && !dont_notify) - (*mod_inv.cb.on_state_changed)(inv, e); - - /* Only decrement when previous state is not already DISCONNECTED */ - if (inv->state == PJSIP_INV_STATE_DISCONNECTED && - prev_state != PJSIP_INV_STATE_DISCONNECTED) - { - if (inv->last_ack) { - pjsip_tx_data_dec_ref(inv->last_ack); - inv->last_ack = NULL; - } - if (inv->invite_req) { - pjsip_tx_data_dec_ref(inv->invite_req); - inv->invite_req = NULL; - } - pjsip_100rel_end_session(inv); - pjsip_timer_end_session(inv); - pjsip_dlg_dec_session(inv->dlg, &mod_inv.mod); - - /* Release the flip-flop pools */ - pj_pool_release(inv->pool_prov); - inv->pool_prov = NULL; - pj_pool_release(inv->pool_active); - inv->pool_active = NULL; - } -} - - -/* - * Set cause code. - */ -void inv_set_cause(pjsip_inv_session *inv, int cause_code, - const pj_str_t *cause_text) -{ - if (cause_code > inv->cause) { - inv->cause = (pjsip_status_code) cause_code; - if (cause_text) - pj_strdup(inv->pool, &inv->cause_text, cause_text); - else if (cause_code/100 == 2) - inv->cause_text = pj_str("Normal call clearing"); - else - inv->cause_text = *pjsip_get_status_text(cause_code); - } -} - - -/* - * Check if outgoing request needs to have SDP answer. - * This applies for both ACK and PRACK requests. - */ -static const pjmedia_sdp_session *inv_has_pending_answer(pjsip_inv_session *inv, - pjsip_transaction *tsx) -{ - pjmedia_sdp_neg_state neg_state; - const pjmedia_sdp_session *sdp = NULL; - pj_status_t status; - - /* If SDP negotiator is ready, start negotiation. */ - - /* Start nego when appropriate. */ - neg_state = inv->neg ? pjmedia_sdp_neg_get_state(inv->neg) : - PJMEDIA_SDP_NEG_STATE_NULL; - - if (neg_state == PJMEDIA_SDP_NEG_STATE_DONE) { - - /* Nothing to do */ - - } else if (neg_state == PJMEDIA_SDP_NEG_STATE_WAIT_NEGO && - pjmedia_sdp_neg_has_local_answer(inv->neg) ) - { - struct tsx_inv_data *tsx_inv_data; - struct tsx_inv_data dummy; - - /* Get invite session's transaction data. - * Note that tsx may be NULL, for example when application sends - * delayed ACK request (at this time, the original INVITE - * transaction may have been destroyed. - */ - if (tsx) { - tsx_inv_data = (struct tsx_inv_data*)tsx->mod_data[mod_inv.mod.id]; - } else { - tsx_inv_data = &dummy; - pj_bzero(&dummy, sizeof(dummy)); - dummy.inv = inv; - } - - status = inv_negotiate_sdp(inv); - if (status != PJ_SUCCESS) - return NULL; - - /* Mark this transaction has having SDP offer/answer done. */ - tsx_inv_data->sdp_done = 1; - - status = pjmedia_sdp_neg_get_active_local(inv->neg, &sdp); - - } else { - /* This remark is only valid for ACK. - PJ_LOG(4,(inv->dlg->obj_name, - "FYI, the SDP negotiator state (%s) is in a mess " - "when sending this ACK/PRACK request", - pjmedia_sdp_neg_state_str(neg_state))); - */ - } - - return sdp; -} - - -/* - * Send ACK for 2xx response. - */ -static pj_status_t inv_send_ack(pjsip_inv_session *inv, pjsip_event *e) -{ - pjsip_rx_data *rdata; - pj_status_t status; - - if (e->type == PJSIP_EVENT_TSX_STATE) - rdata = e->body.tsx_state.src.rdata; - else if (e->type == PJSIP_EVENT_RX_MSG) - rdata = e->body.rx_msg.rdata; - else { - pj_assert(!"Unsupported event type"); - return PJ_EBUG; - } - - PJ_LOG(5,(inv->obj_name, "Received %s, sending ACK", - pjsip_rx_data_get_info(rdata))); - - /* Check if we have cached ACK request. Must not use the cached ACK - * if it's still marked as pending by transport (#1011) - */ - if (inv->last_ack && rdata->msg_info.cseq->cseq == inv->last_ack_cseq && - !inv->last_ack->is_pending) - { - pjsip_tx_data_add_ref(inv->last_ack); - - } else if (mod_inv.cb.on_send_ack) { - /* If application handles ACK transmission manually, just notify the - * callback - */ - PJ_LOG(5,(inv->obj_name, "Received %s, notifying application callback", - pjsip_rx_data_get_info(rdata))); - - (*mod_inv.cb.on_send_ack)(inv, rdata); - return PJ_SUCCESS; - - } else { - status = pjsip_inv_create_ack(inv, rdata->msg_info.cseq->cseq, - &inv->last_ack); - } - - /* Send ACK */ - status = pjsip_dlg_send_request(inv->dlg, inv->last_ack, -1, NULL); - if (status != PJ_SUCCESS) { - /* Better luck next time */ - pj_assert(!"Unable to send ACK!"); - return status; - } - - - /* Set state to CONFIRMED (if we're not in CONFIRMED yet). - * But don't set it to CONFIRMED if we're already DISCONNECTED - * (this may have been a late 200/OK response. - */ - if (inv->state < PJSIP_INV_STATE_CONFIRMED) { - inv_set_state(inv, PJSIP_INV_STATE_CONFIRMED, e); - } - - return PJ_SUCCESS; -} - -/* - * Module on_rx_request() - * - * This callback is called for these events: - * - endpoint receives request which was unhandled by higher priority - * modules (e.g. transaction layer, dialog layer). - * - dialog distributes incoming request to its usages. - */ -static pj_bool_t mod_inv_on_rx_request(pjsip_rx_data *rdata) -{ - pjsip_method *method; - pjsip_dialog *dlg; - pjsip_inv_session *inv; - - /* Only wants to receive request from a dialog. */ - dlg = pjsip_rdata_get_dlg(rdata); - if (dlg == NULL) - return PJ_FALSE; - - inv = (pjsip_inv_session*) dlg->mod_data[mod_inv.mod.id]; - - /* Report to dialog that we handle INVITE, CANCEL, BYE, ACK. - * If we need to send response, it will be sent in the state - * handlers. - */ - method = &rdata->msg_info.msg->line.req.method; - - if (method->id == PJSIP_INVITE_METHOD) { - return PJ_TRUE; - } - - /* BYE and CANCEL must have existing invite session */ - if (method->id == PJSIP_BYE_METHOD || - method->id == PJSIP_CANCEL_METHOD) - { - if (inv == NULL) - return PJ_FALSE; - - return PJ_TRUE; - } - - /* On receipt ACK request, when state is CONNECTING, - * move state to CONFIRMED. - */ - if (method->id == PJSIP_ACK_METHOD && inv) { - - /* Ignore if we don't have INVITE in progress */ - if (!inv->invite_tsx) { - return PJ_TRUE; - } - - /* Ignore ACK if pending INVITE transaction has not finished. */ - if (inv->invite_tsx->state < PJSIP_TSX_STATE_COMPLETED) { - return PJ_TRUE; - } - - /* Ignore ACK with different CSeq - * https://trac.pjsip.org/repos/ticket/1391 - */ - if (rdata->msg_info.cseq->cseq != inv->invite_tsx->cseq) { - return PJ_TRUE; - } - - /* Terminate INVITE transaction, if it's still present. */ - if (inv->invite_tsx->state <= PJSIP_TSX_STATE_COMPLETED) { - /* Before we terminate INVITE transaction, process the SDP - * in the ACK request, if any. - * Only do this when invite state is not already disconnected - * (http://trac.pjsip.org/repos/ticket/640). - */ - if (inv->state < PJSIP_INV_STATE_DISCONNECTED) { - inv_check_sdp_in_incoming_msg(inv, inv->invite_tsx, rdata); - - /* Check if local offer got no SDP answer and INVITE session - * is in CONFIRMED state. - */ - if (pjmedia_sdp_neg_get_state(inv->neg)== - PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER && - inv->state==PJSIP_INV_STATE_CONFIRMED) - { - pjmedia_sdp_neg_cancel_offer(inv->neg); - } - } - - /* Now we can terminate the INVITE transaction */ - pj_assert(inv->invite_tsx->status_code >= 200); - pjsip_tsx_terminate(inv->invite_tsx, - inv->invite_tsx->status_code); - inv->invite_tsx = NULL; - if (inv->last_answer) { - pjsip_tx_data_dec_ref(inv->last_answer); - inv->last_answer = NULL; - } - } - - /* On receipt of ACK, only set state to confirmed when state - * is CONNECTING (e.g. we don't want to set the state to confirmed - * when we receive ACK retransmission after sending non-2xx!) - */ - if (inv->state == PJSIP_INV_STATE_CONNECTING) { - pjsip_event event; - - PJSIP_EVENT_INIT_RX_MSG(event, rdata); - inv_set_state(inv, PJSIP_INV_STATE_CONFIRMED, &event); - } - } - - return PJ_FALSE; -} - -/* This function will process Session Timer headers in received - * 2xx or 422 response of INVITE/UPDATE request. - */ -static pj_status_t handle_timer_response(pjsip_inv_session *inv, - const pjsip_rx_data *rdata, - pj_bool_t end_sess_on_failure) -{ - pjsip_status_code st_code; - pj_status_t status; - - status = pjsip_timer_process_resp(inv, rdata, &st_code); - if (status != PJ_SUCCESS && end_sess_on_failure) { - pjsip_tx_data *tdata; - pj_status_t status2; - - status2 = pjsip_inv_end_session(inv, st_code, NULL, &tdata); - if (tdata && status2 == PJ_SUCCESS) - pjsip_inv_send_msg(inv, tdata); - } - - return status; -} - -/* - * Module on_rx_response(). - * - * This callback is called for these events: - * - dialog distributes incoming 2xx response to INVITE (outside - * transaction) to its usages. - * - endpoint distributes strayed responses. - */ -static pj_bool_t mod_inv_on_rx_response(pjsip_rx_data *rdata) -{ - pjsip_dialog *dlg; - pjsip_inv_session *inv; - pjsip_msg *msg = rdata->msg_info.msg; - - dlg = pjsip_rdata_get_dlg(rdata); - - /* Ignore responses outside dialog */ - if (dlg == NULL) - return PJ_FALSE; - - /* Ignore responses not belonging to invite session */ - inv = pjsip_dlg_get_inv_session(dlg); - if (inv == NULL) - return PJ_FALSE; - - /* This MAY be retransmission of 2xx response to INVITE. - * If it is, we need to send ACK. - */ - if (msg->type == PJSIP_RESPONSE_MSG && msg->line.status.code/100==2 && - rdata->msg_info.cseq->method.id == PJSIP_INVITE_METHOD && - inv->invite_tsx == NULL) - { - pjsip_event e; - - PJSIP_EVENT_INIT_RX_MSG(e, rdata); - inv_send_ack(inv, &e); - return PJ_TRUE; - - } - - /* No other processing needs to be done here. */ - return PJ_FALSE; -} - -/* - * Module on_tsx_state() - * - * This callback is called by dialog framework for all transactions - * inside the dialog for all its dialog usages. - */ -static void mod_inv_on_tsx_state(pjsip_transaction *tsx, pjsip_event *e) -{ - pjsip_dialog *dlg; - pjsip_inv_session *inv; - - dlg = pjsip_tsx_get_dlg(tsx); - if (dlg == NULL) - return; - - inv = pjsip_dlg_get_inv_session(dlg); - if (inv == NULL) - return; - - /* Call state handler for the invite session. */ - (*inv_state_handler[inv->state])(inv, e); - - /* Call on_tsx_state */ - if (mod_inv.cb.on_tsx_state_changed && inv->notify) - (*mod_inv.cb.on_tsx_state_changed)(inv, tsx, e); - - /* Clear invite transaction when tsx is confirmed. - * Previously we set invite_tsx to NULL only when transaction has - * terminated, but this didn't work when ACK has the same Via branch - * value as the INVITE (see http://www.pjsip.org/trac/ticket/113) - */ - if (tsx->state>=PJSIP_TSX_STATE_CONFIRMED && tsx == inv->invite_tsx) { - inv->invite_tsx = NULL; - if (inv->last_answer) { - pjsip_tx_data_dec_ref(inv->last_answer); - inv->last_answer = NULL; - } - } -} - - -/* - * Initialize the invite module. - */ -PJ_DEF(pj_status_t) pjsip_inv_usage_init( pjsip_endpoint *endpt, - const pjsip_inv_callback *cb) -{ - pj_status_t status; - - /* Check arguments. */ - PJ_ASSERT_RETURN(endpt && cb, PJ_EINVAL); - - /* Some callbacks are mandatory */ - PJ_ASSERT_RETURN(cb->on_state_changed && cb->on_new_session, PJ_EINVAL); - - /* Check if module already registered. */ - PJ_ASSERT_RETURN(mod_inv.mod.id == -1, PJ_EINVALIDOP); - - /* Copy param. */ - pj_memcpy(&mod_inv.cb, cb, sizeof(pjsip_inv_callback)); - - mod_inv.endpt = endpt; - - /* Register the module. */ - status = pjsip_endpt_register_module(endpt, &mod_inv.mod); - if (status != PJ_SUCCESS) - return status; - - return PJ_SUCCESS; -} - -/* - * Get the instance of invite module. - */ -PJ_DEF(pjsip_module*) pjsip_inv_usage_instance(void) -{ - return &mod_inv.mod; -} - - - -/* - * Return the invite session for the specified dialog. - */ -PJ_DEF(pjsip_inv_session*) pjsip_dlg_get_inv_session(pjsip_dialog *dlg) -{ - return (pjsip_inv_session*) dlg->mod_data[mod_inv.mod.id]; -} - - -/* - * Get INVITE state name. - */ -PJ_DEF(const char *) pjsip_inv_state_name(pjsip_inv_state state) -{ - PJ_ASSERT_RETURN(state >= PJSIP_INV_STATE_NULL && - state <= PJSIP_INV_STATE_DISCONNECTED, - "??"); - - return inv_state_names[state]; -} - -/* - * Create UAC invite session. - */ -PJ_DEF(pj_status_t) pjsip_inv_create_uac( pjsip_dialog *dlg, - const pjmedia_sdp_session *local_sdp, - unsigned options, - pjsip_inv_session **p_inv) -{ - pjsip_inv_session *inv; - pj_status_t status; - - /* Verify arguments. */ - PJ_ASSERT_RETURN(dlg && p_inv, PJ_EINVAL); - - /* Must lock dialog first */ - pjsip_dlg_inc_lock(dlg); - - /* Normalize options */ - if (options & PJSIP_INV_REQUIRE_100REL) - options |= PJSIP_INV_SUPPORT_100REL; - if (options & PJSIP_INV_REQUIRE_TIMER) - options |= PJSIP_INV_SUPPORT_TIMER; - - /* Create the session */ - inv = PJ_POOL_ZALLOC_T(dlg->pool, pjsip_inv_session); - pj_assert(inv != NULL); - - inv->pool = dlg->pool; - inv->role = PJSIP_ROLE_UAC; - inv->state = PJSIP_INV_STATE_NULL; - inv->dlg = dlg; - inv->options = options; - inv->notify = PJ_TRUE; - inv->cause = (pjsip_status_code) 0; - - /* Create flip-flop pool (see ticket #877) */ - /* (using inv->obj_name as temporary variable for pool names */ - pj_ansi_snprintf(inv->obj_name, PJ_MAX_OBJ_NAME, "inv%p", dlg->pool); - inv->pool_prov = pjsip_endpt_create_pool(dlg->endpt, inv->obj_name, - POOL_INIT_SIZE, POOL_INC_SIZE); - inv->pool_active = pjsip_endpt_create_pool(dlg->endpt, inv->obj_name, - POOL_INIT_SIZE, POOL_INC_SIZE); - - /* Object name will use the same dialog pointer. */ - pj_ansi_snprintf(inv->obj_name, PJ_MAX_OBJ_NAME, "inv%p", dlg); - - /* Create negotiator if local_sdp is specified. */ - if (local_sdp) { - status = pjmedia_sdp_neg_create_w_local_offer(inv->pool, - local_sdp, &inv->neg); - if (status != PJ_SUCCESS) { - pjsip_dlg_dec_lock(dlg); - return status; - } - } - - /* Register invite as dialog usage. */ - status = pjsip_dlg_add_usage(dlg, &mod_inv.mod, inv); - if (status != PJ_SUCCESS) { - pjsip_dlg_dec_lock(dlg); - return status; - } - - /* Increment dialog session */ - pjsip_dlg_inc_session(dlg, &mod_inv.mod); - - /* Create 100rel handler */ - pjsip_100rel_attach(inv); - - /* Done */ - *p_inv = inv; - - pjsip_dlg_dec_lock(dlg); - - PJ_LOG(5,(inv->obj_name, "UAC invite session created for dialog %s", - dlg->obj_name)); - - return PJ_SUCCESS; -} - -PJ_DEF(pjsip_rdata_sdp_info*) pjsip_rdata_get_sdp_info(pjsip_rx_data *rdata) -{ - pjsip_rdata_sdp_info *sdp_info; - pjsip_msg_body *body = rdata->msg_info.msg->body; - pjsip_ctype_hdr *ctype_hdr = rdata->msg_info.ctype; - pjsip_media_type app_sdp; - - sdp_info = (pjsip_rdata_sdp_info*) - rdata->endpt_info.mod_data[mod_inv.mod.id]; - if (sdp_info) - return sdp_info; - - sdp_info = PJ_POOL_ZALLOC_T(rdata->tp_info.pool, - pjsip_rdata_sdp_info); - PJ_ASSERT_RETURN(mod_inv.mod.id >= 0, sdp_info); - rdata->endpt_info.mod_data[mod_inv.mod.id] = sdp_info; - - pjsip_media_type_init2(&app_sdp, "application", "sdp"); - - if (body && ctype_hdr && - pj_stricmp(&ctype_hdr->media.type, &app_sdp.type)==0 && - pj_stricmp(&ctype_hdr->media.subtype, &app_sdp.subtype)==0) - { - sdp_info->body.ptr = (char*)body->data; - sdp_info->body.slen = body->len; - } else if (body && ctype_hdr && - pj_stricmp2(&ctype_hdr->media.type, "multipart")==0 && - (pj_stricmp2(&ctype_hdr->media.subtype, "mixed")==0 || - pj_stricmp2(&ctype_hdr->media.subtype, "alternative")==0)) - { - pjsip_multipart_part *part; - - part = pjsip_multipart_find_part(body, &app_sdp, NULL); - if (part) { - sdp_info->body.ptr = (char*)part->body->data; - sdp_info->body.slen = part->body->len; - } - } - - if (sdp_info->body.ptr) { - pj_status_t status; - status = pjmedia_sdp_parse(rdata->tp_info.pool, - sdp_info->body.ptr, - sdp_info->body.slen, - &sdp_info->sdp); - if (status == PJ_SUCCESS) - status = pjmedia_sdp_validate(sdp_info->sdp); - - if (status != PJ_SUCCESS) { - sdp_info->sdp = NULL; - PJ_PERROR(1,(THIS_FILE, status, - "Error parsing/validating SDP body")); - } - - sdp_info->sdp_err = status; - } - - return sdp_info; -} - - -/* - * Verify incoming INVITE request. - */ -PJ_DEF(pj_status_t) pjsip_inv_verify_request3(pjsip_rx_data *rdata, - pj_pool_t *tmp_pool, - unsigned *options, - const pjmedia_sdp_session *r_sdp, - const pjmedia_sdp_session *l_sdp, - pjsip_dialog *dlg, - pjsip_endpoint *endpt, - pjsip_tx_data **p_tdata) -{ - pjsip_msg *msg = NULL; - pjsip_allow_hdr *allow = NULL; - pjsip_supported_hdr *sup_hdr = NULL; - pjsip_require_hdr *req_hdr = NULL; - pjsip_contact_hdr *c_hdr = NULL; - int code = 200; - unsigned rem_option = 0; - pj_status_t status = PJ_SUCCESS; - pjsip_hdr res_hdr_list; - pjsip_rdata_sdp_info *sdp_info; - - /* Init return arguments. */ - if (p_tdata) *p_tdata = NULL; - - /* Verify arguments. */ - PJ_ASSERT_RETURN(tmp_pool != NULL && options != NULL, PJ_EINVAL); - - /* Normalize options */ - if (*options & PJSIP_INV_REQUIRE_100REL) - *options |= PJSIP_INV_SUPPORT_100REL; - if (*options & PJSIP_INV_REQUIRE_TIMER) - *options |= PJSIP_INV_SUPPORT_TIMER; - if (*options & PJSIP_INV_REQUIRE_ICE) - *options |= PJSIP_INV_SUPPORT_ICE; - - if (rdata) { - /* Get the message in rdata */ - msg = rdata->msg_info.msg; - - /* Must be INVITE request. */ - PJ_ASSERT_RETURN(msg && msg->type == PJSIP_REQUEST_MSG && - msg->line.req.method.id == PJSIP_INVITE_METHOD, - PJ_EINVAL); - } - - /* If tdata is specified, then either dlg or endpt must be specified */ - PJ_ASSERT_RETURN((!p_tdata) || (endpt || dlg), PJ_EINVAL); - - /* Get the endpoint */ - endpt = endpt ? endpt : dlg->endpt; - - /* Init response header list */ - pj_list_init(&res_hdr_list); - - /* Check the Contact header */ - if (msg) { - c_hdr = (pjsip_contact_hdr*) - pjsip_msg_find_hdr(msg, PJSIP_H_CONTACT, NULL); - } - if (msg && (!c_hdr || !c_hdr->uri)) { - /* Missing Contact header or Contact contains "*" */ - pjsip_warning_hdr *w; - pj_str_t warn_text; - - warn_text = pj_str("Bad/missing Contact header"); - w = pjsip_warning_hdr_create(tmp_pool, 399, - pjsip_endpt_name(endpt), - &warn_text); - if (w) { - pj_list_push_back(&res_hdr_list, w); - } - - code = PJSIP_SC_BAD_REQUEST; - status = PJSIP_ERRNO_FROM_SIP_STATUS(code); - goto on_return; - } - - /* Check the request body, see if it's something that we support, - * only when the body hasn't been parsed before. - */ - if (r_sdp == NULL && rdata) { - sdp_info = pjsip_rdata_get_sdp_info(rdata); - } else { - sdp_info = NULL; - } - - if (r_sdp==NULL && msg && msg->body) { - - /* Check if body really contains SDP. */ - if (sdp_info->body.ptr == NULL) { - /* Couldn't find "application/sdp" */ - code = PJSIP_SC_UNSUPPORTED_MEDIA_TYPE; - status = PJSIP_ERRNO_FROM_SIP_STATUS(code); - - if (p_tdata) { - /* Add Accept header to response */ - pjsip_accept_hdr *acc; - - acc = pjsip_accept_hdr_create(tmp_pool); - PJ_ASSERT_RETURN(acc, PJ_ENOMEM); - acc->values[acc->count++] = pj_str("application/sdp"); - pj_list_push_back(&res_hdr_list, acc); - } - - goto on_return; - } - - if (sdp_info->sdp_err != PJ_SUCCESS) { - /* Unparseable or invalid SDP */ - code = PJSIP_SC_BAD_REQUEST; - - if (p_tdata) { - /* Add Warning header. */ - pjsip_warning_hdr *w; - - w = pjsip_warning_hdr_create_from_status(tmp_pool, - pjsip_endpt_name(endpt), - sdp_info->sdp_err); - PJ_ASSERT_RETURN(w, PJ_ENOMEM); - - pj_list_push_back(&res_hdr_list, w); - } - - goto on_return; - } - - r_sdp = sdp_info->sdp; - } - - if (r_sdp) { - /* Negotiate with local SDP */ - if (l_sdp) { - pjmedia_sdp_neg *neg; - - /* Local SDP must be valid! */ - PJ_ASSERT_RETURN((status=pjmedia_sdp_validate(l_sdp))==PJ_SUCCESS, - status); - - /* Create SDP negotiator */ - status = pjmedia_sdp_neg_create_w_remote_offer( - tmp_pool, l_sdp, r_sdp, &neg); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Negotiate SDP */ - status = pjmedia_sdp_neg_negotiate(tmp_pool, neg, 0); - if (status != PJ_SUCCESS) { - - /* Incompatible media */ - code = PJSIP_SC_NOT_ACCEPTABLE_HERE; - - if (p_tdata) { - pjsip_accept_hdr *acc; - pjsip_warning_hdr *w; - - /* Add Warning header. */ - w = pjsip_warning_hdr_create_from_status( - tmp_pool, - pjsip_endpt_name(endpt), status); - PJ_ASSERT_RETURN(w, PJ_ENOMEM); - - pj_list_push_back(&res_hdr_list, w); - - /* Add Accept header to response */ - acc = pjsip_accept_hdr_create(tmp_pool); - PJ_ASSERT_RETURN(acc, PJ_ENOMEM); - acc->values[acc->count++] = pj_str("application/sdp"); - pj_list_push_back(&res_hdr_list, acc); - - } - - goto on_return; - } - } - } - - /* Check supported methods, see if peer supports UPDATE. - * We just assume that peer supports standard INVITE, ACK, CANCEL, and BYE - * implicitly by sending this INVITE. - */ - if (msg) { - allow = (pjsip_allow_hdr*) pjsip_msg_find_hdr(msg, PJSIP_H_ALLOW, - NULL); - } - if (allow) { - unsigned i; - const pj_str_t STR_UPDATE = { "UPDATE", 6 }; - - for (i=0; icount; ++i) { - if (pj_stricmp(&allow->values[i], &STR_UPDATE)==0) - break; - } - - if (i != allow->count) { - /* UPDATE is present in Allow */ - rem_option |= PJSIP_INV_SUPPORT_UPDATE; - } - - } - - /* Check Supported header */ - if (msg) { - sup_hdr = (pjsip_supported_hdr*) - pjsip_msg_find_hdr(msg, PJSIP_H_SUPPORTED, NULL); - } - if (sup_hdr) { - unsigned i; - const pj_str_t STR_100REL = { "100rel", 6}; - const pj_str_t STR_TIMER = { "timer", 5}; - const pj_str_t STR_ICE = { "ice", 3 }; - - for (i=0; icount; ++i) { - if (pj_stricmp(&sup_hdr->values[i], &STR_100REL)==0) - rem_option |= PJSIP_INV_SUPPORT_100REL; - else if (pj_stricmp(&sup_hdr->values[i], &STR_TIMER)==0) - rem_option |= PJSIP_INV_SUPPORT_TIMER; - else if (pj_stricmp(&sup_hdr->values[i], &STR_ICE)==0) - rem_option |= PJSIP_INV_SUPPORT_ICE; - } - } - - /* Check Require header */ - if (msg) { - req_hdr = (pjsip_require_hdr*) - pjsip_msg_find_hdr(msg, PJSIP_H_REQUIRE, NULL); - } - if (req_hdr) { - unsigned i; - const pj_str_t STR_100REL = { "100rel", 6}; - const pj_str_t STR_REPLACES = { "replaces", 8 }; - const pj_str_t STR_TIMER = { "timer", 5 }; - const pj_str_t STR_ICE = { "ice", 3 }; - unsigned unsupp_cnt = 0; - pj_str_t unsupp_tags[PJSIP_GENERIC_ARRAY_MAX_COUNT]; - - for (i=0; icount; ++i) { - if ((*options & PJSIP_INV_SUPPORT_100REL) && - pj_stricmp(&req_hdr->values[i], &STR_100REL)==0) - { - rem_option |= PJSIP_INV_REQUIRE_100REL; - - } else if ((*options & PJSIP_INV_SUPPORT_TIMER) && - pj_stricmp(&req_hdr->values[i], &STR_TIMER)==0) - { - rem_option |= PJSIP_INV_REQUIRE_TIMER; - - } else if (pj_stricmp(&req_hdr->values[i], &STR_REPLACES)==0) { - pj_bool_t supp; - - supp = pjsip_endpt_has_capability(endpt, PJSIP_H_SUPPORTED, - NULL, &STR_REPLACES); - if (!supp) - unsupp_tags[unsupp_cnt++] = req_hdr->values[i]; - } else if ((*options & PJSIP_INV_SUPPORT_ICE) && - pj_stricmp(&req_hdr->values[i], &STR_ICE)==0) - { - rem_option |= PJSIP_INV_REQUIRE_ICE; - - } else if (!pjsip_endpt_has_capability(endpt, PJSIP_H_SUPPORTED, - NULL, &req_hdr->values[i])) - { - /* Unknown/unsupported extension tag! */ - unsupp_tags[unsupp_cnt++] = req_hdr->values[i]; - } - } - - /* Check if there are required tags that we don't support */ - if (unsupp_cnt) { - - code = PJSIP_SC_BAD_EXTENSION; - status = PJSIP_ERRNO_FROM_SIP_STATUS(code); - - if (p_tdata) { - pjsip_unsupported_hdr *unsupp_hdr; - const pjsip_hdr *h; - - /* Add Unsupported header. */ - unsupp_hdr = pjsip_unsupported_hdr_create(tmp_pool); - PJ_ASSERT_RETURN(unsupp_hdr != NULL, PJ_ENOMEM); - - unsupp_hdr->count = unsupp_cnt; - for (i=0; ivalues[i] = unsupp_tags[i]; - - pj_list_push_back(&res_hdr_list, unsupp_hdr); - - /* Add Supported header. */ - h = pjsip_endpt_get_capability(endpt, PJSIP_H_SUPPORTED, - NULL); - pj_assert(h); - if (h) { - sup_hdr = (pjsip_supported_hdr*) - pjsip_hdr_clone(tmp_pool, h); - pj_list_push_back(&res_hdr_list, sup_hdr); - } - } - - goto on_return; - } - } - - /* Check if there are local requirements that are not supported - * by peer. - */ - if ( msg && (((*options & PJSIP_INV_REQUIRE_100REL)!=0 && - (rem_option & PJSIP_INV_SUPPORT_100REL)==0) || - ((*options & PJSIP_INV_REQUIRE_TIMER)!=0 && - (rem_option & PJSIP_INV_SUPPORT_TIMER)==0))) - { - code = PJSIP_SC_EXTENSION_REQUIRED; - status = PJSIP_ERRNO_FROM_SIP_STATUS(code); - - if (p_tdata) { - const pjsip_hdr *h; - - /* Add Require header. */ - req_hdr = pjsip_require_hdr_create(tmp_pool); - PJ_ASSERT_RETURN(req_hdr != NULL, PJ_ENOMEM); - - if (*options & PJSIP_INV_REQUIRE_100REL) - req_hdr->values[req_hdr->count++] = pj_str("100rel"); - if (*options & PJSIP_INV_REQUIRE_TIMER) - req_hdr->values[req_hdr->count++] = pj_str("timer"); - - pj_list_push_back(&res_hdr_list, req_hdr); - - /* Add Supported header. */ - h = pjsip_endpt_get_capability(endpt, PJSIP_H_SUPPORTED, - NULL); - pj_assert(h); - if (h) { - sup_hdr = (pjsip_supported_hdr*) - pjsip_hdr_clone(tmp_pool, h); - pj_list_push_back(&res_hdr_list, sup_hdr); - } - - } - - goto on_return; - } - - /* If remote Require something that we support, make us Require - * that feature too. - */ - if (rem_option & PJSIP_INV_REQUIRE_100REL) { - pj_assert(*options & PJSIP_INV_SUPPORT_100REL); - *options |= PJSIP_INV_REQUIRE_100REL; - } - if (rem_option & PJSIP_INV_REQUIRE_TIMER) { - pj_assert(*options & PJSIP_INV_SUPPORT_TIMER); - *options |= PJSIP_INV_REQUIRE_TIMER; - } - -on_return: - - /* Create response if necessary */ - if (code != 200 && p_tdata) { - pjsip_tx_data *tdata; - const pjsip_hdr *h; - - if (!rdata) { - return PJSIP_ERRNO_FROM_SIP_STATUS(code); - } - - if (dlg) { - status = pjsip_dlg_create_response(dlg, rdata, code, NULL, - &tdata); - } else { - status = pjsip_endpt_create_response(endpt, rdata, code, NULL, - &tdata); - } - - if (status != PJ_SUCCESS) - return status; - - /* Add response headers. */ - h = res_hdr_list.next; - while (h != &res_hdr_list) { - pjsip_hdr *cloned; - - cloned = (pjsip_hdr*) pjsip_hdr_clone(tdata->pool, h); - PJ_ASSERT_RETURN(cloned, PJ_ENOMEM); - - pjsip_msg_add_hdr(tdata->msg, cloned); - - h = h->next; - } - - *p_tdata = tdata; - - /* Can not return PJ_SUCCESS when response message is produced. - * Ref: PROTOS test ~#2490 - */ - if (status == PJ_SUCCESS) - status = PJSIP_ERRNO_FROM_SIP_STATUS(code); - - } - - return status; -} - - -/* - * Verify incoming INVITE request. - */ -PJ_DEF(pj_status_t) pjsip_inv_verify_request2(pjsip_rx_data *rdata, - unsigned *options, - const pjmedia_sdp_session *r_sdp, - const pjmedia_sdp_session *l_sdp, - pjsip_dialog *dlg, - pjsip_endpoint *endpt, - pjsip_tx_data **p_tdata) -{ - return pjsip_inv_verify_request3(rdata, rdata->tp_info.pool, - options, r_sdp, l_sdp, dlg, - endpt, p_tdata); -} - - -/* - * Verify incoming INVITE request. - */ -PJ_DEF(pj_status_t) pjsip_inv_verify_request( pjsip_rx_data *rdata, - unsigned *options, - const pjmedia_sdp_session *l_sdp, - pjsip_dialog *dlg, - pjsip_endpoint *endpt, - pjsip_tx_data **p_tdata) -{ - return pjsip_inv_verify_request3(rdata, rdata->tp_info.pool, - options, NULL, l_sdp, dlg, - endpt, p_tdata); -} - -/* - * Create UAS invite session. - */ -PJ_DEF(pj_status_t) pjsip_inv_create_uas( pjsip_dialog *dlg, - pjsip_rx_data *rdata, - const pjmedia_sdp_session *local_sdp, - unsigned options, - pjsip_inv_session **p_inv) -{ - pjsip_inv_session *inv; - struct tsx_inv_data *tsx_inv_data; - pjsip_msg *msg; - pjsip_rdata_sdp_info *sdp_info; - pj_status_t status; - - /* Verify arguments. */ - PJ_ASSERT_RETURN(dlg && rdata && p_inv, PJ_EINVAL); - - /* Dialog MUST have been initialised. */ - PJ_ASSERT_RETURN(pjsip_rdata_get_tsx(rdata) != NULL, PJ_EINVALIDOP); - - msg = rdata->msg_info.msg; - - /* rdata MUST contain INVITE request */ - PJ_ASSERT_RETURN(msg->type == PJSIP_REQUEST_MSG && - msg->line.req.method.id == PJSIP_INVITE_METHOD, - PJ_EINVALIDOP); - - /* Lock dialog */ - pjsip_dlg_inc_lock(dlg); - - /* Normalize options */ - if (options & PJSIP_INV_REQUIRE_100REL) - options |= PJSIP_INV_SUPPORT_100REL; - if (options & PJSIP_INV_REQUIRE_TIMER) - options |= PJSIP_INV_SUPPORT_TIMER; - - /* Create the session */ - inv = PJ_POOL_ZALLOC_T(dlg->pool, pjsip_inv_session); - pj_assert(inv != NULL); - - inv->pool = dlg->pool; - inv->role = PJSIP_ROLE_UAS; - inv->state = PJSIP_INV_STATE_NULL; - inv->dlg = dlg; - inv->options = options; - inv->notify = PJ_TRUE; - inv->cause = (pjsip_status_code) 0; - - /* Create flip-flop pool (see ticket #877) */ - /* (using inv->obj_name as temporary variable for pool names */ - pj_ansi_snprintf(inv->obj_name, PJ_MAX_OBJ_NAME, "inv%p", dlg->pool); - inv->pool_prov = pjsip_endpt_create_pool(dlg->endpt, inv->obj_name, - POOL_INIT_SIZE, POOL_INC_SIZE); - inv->pool_active = pjsip_endpt_create_pool(dlg->endpt, inv->obj_name, - POOL_INIT_SIZE, POOL_INC_SIZE); - - /* Object name will use the same dialog pointer. */ - pj_ansi_snprintf(inv->obj_name, PJ_MAX_OBJ_NAME, "inv%p", dlg); - - /* Process SDP in message body, if present. */ - sdp_info = pjsip_rdata_get_sdp_info(rdata); - if (sdp_info->sdp_err) { - pjsip_dlg_dec_lock(dlg); - return sdp_info->sdp_err; - } - - /* Create negotiator. */ - if (sdp_info->sdp) { - status = pjmedia_sdp_neg_create_w_remote_offer(inv->pool, local_sdp, - sdp_info->sdp, - &inv->neg); - - } else if (local_sdp) { - status = pjmedia_sdp_neg_create_w_local_offer(inv->pool, - local_sdp, &inv->neg); - } else { - status = PJ_SUCCESS; - } - - if (status != PJ_SUCCESS) { - pjsip_dlg_dec_lock(dlg); - return status; - } - - /* Register invite as dialog usage. */ - status = pjsip_dlg_add_usage(dlg, &mod_inv.mod, inv); - if (status != PJ_SUCCESS) { - pjsip_dlg_dec_lock(dlg); - return status; - } - - /* Increment session in the dialog. */ - pjsip_dlg_inc_session(dlg, &mod_inv.mod); - - /* Save the invite transaction. */ - inv->invite_tsx = pjsip_rdata_get_tsx(rdata); - - /* Attach our data to the transaction. */ - tsx_inv_data = PJ_POOL_ZALLOC_T(inv->invite_tsx->pool, struct tsx_inv_data); - tsx_inv_data->inv = inv; - inv->invite_tsx->mod_data[mod_inv.mod.id] = tsx_inv_data; - - /* Create 100rel handler */ - if (inv->options & PJSIP_INV_REQUIRE_100REL) { - pjsip_100rel_attach(inv); - } - - /* Done */ - pjsip_dlg_dec_lock(dlg); - *p_inv = inv; - - PJ_LOG(5,(inv->obj_name, "UAS invite session created for dialog %s", - dlg->obj_name)); - - return PJ_SUCCESS; -} - -/* - * Forcefully terminate the session. - */ -PJ_DEF(pj_status_t) pjsip_inv_terminate( pjsip_inv_session *inv, - int st_code, - pj_bool_t notify) -{ - PJ_ASSERT_RETURN(inv, PJ_EINVAL); - - /* Lock dialog. */ - pjsip_dlg_inc_lock(inv->dlg); - - /* Set callback notify flag. */ - inv->notify = notify; - - /* If there's pending transaction, terminate the transaction. - * This may subsequently set the INVITE session state to - * disconnected. - */ - if (inv->invite_tsx && - inv->invite_tsx->state <= PJSIP_TSX_STATE_COMPLETED) - { - pjsip_tsx_terminate(inv->invite_tsx, st_code); - - } - - /* Set cause. */ - inv_set_cause(inv, st_code, NULL); - - /* Forcefully terminate the session if state is not DISCONNECTED */ - if (inv->state != PJSIP_INV_STATE_DISCONNECTED) { - inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, NULL); - } - - /* Done. - * The dec_lock() below will actually destroys the dialog if it - * has no other session. - */ - pjsip_dlg_dec_lock(inv->dlg); - - return PJ_SUCCESS; -} - - -/* - * Restart UAC session, possibly because app or us wants to re-send the - * INVITE request due to 401/407 challenge or 3xx response. - */ -PJ_DEF(pj_status_t) pjsip_inv_uac_restart(pjsip_inv_session *inv, - pj_bool_t new_offer) -{ - PJ_ASSERT_RETURN(inv, PJ_EINVAL); - - inv->state = PJSIP_INV_STATE_NULL; - inv->invite_tsx = NULL; - if (inv->last_answer) { - pjsip_tx_data_dec_ref(inv->last_answer); - inv->last_answer = NULL; - } - - if (new_offer && inv->neg) { - pjmedia_sdp_neg_state neg_state; - - neg_state = pjmedia_sdp_neg_get_state(inv->neg); - if (neg_state == PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER) { - pjmedia_sdp_neg_cancel_offer(inv->neg); - } - } - - return PJ_SUCCESS; -} - - -static void *clone_sdp(pj_pool_t *pool, const void *data, unsigned len) -{ - PJ_UNUSED_ARG(len); - return pjmedia_sdp_session_clone(pool, (const pjmedia_sdp_session*)data); -} - -static int print_sdp(pjsip_msg_body *body, char *buf, pj_size_t len) -{ - return pjmedia_sdp_print((const pjmedia_sdp_session*)body->data, buf, len); -} - - -PJ_DEF(pj_status_t) pjsip_create_sdp_body( pj_pool_t *pool, - pjmedia_sdp_session *sdp, - pjsip_msg_body **p_body) -{ - const pj_str_t STR_APPLICATION = { "application", 11}; - const pj_str_t STR_SDP = { "sdp", 3 }; - pjsip_msg_body *body; - - body = PJ_POOL_ZALLOC_T(pool, pjsip_msg_body); - PJ_ASSERT_RETURN(body != NULL, PJ_ENOMEM); - - pjsip_media_type_init(&body->content_type, (pj_str_t*)&STR_APPLICATION, - (pj_str_t*)&STR_SDP); - body->data = sdp; - body->len = 0; - body->clone_data = &clone_sdp; - body->print_body = &print_sdp; - - *p_body = body; - - return PJ_SUCCESS; -} - -static pjsip_msg_body *create_sdp_body(pj_pool_t *pool, - const pjmedia_sdp_session *c_sdp) -{ - pjsip_msg_body *body; - pj_status_t status; - - status = pjsip_create_sdp_body(pool, - pjmedia_sdp_session_clone(pool, c_sdp), - &body); - - if (status != PJ_SUCCESS) - return NULL; - - return body; -} - -/* - * Create initial INVITE request. - */ -PJ_DEF(pj_status_t) pjsip_inv_invite( pjsip_inv_session *inv, - pjsip_tx_data **p_tdata ) -{ - pjsip_tx_data *tdata; - const pjsip_hdr *hdr; - pj_bool_t has_sdp; - pj_status_t status; - - /* Verify arguments. */ - PJ_ASSERT_RETURN(inv && p_tdata, PJ_EINVAL); - - /* State MUST be NULL or CONFIRMED. */ - PJ_ASSERT_RETURN(inv->state == PJSIP_INV_STATE_NULL || - inv->state == PJSIP_INV_STATE_CONFIRMED, - PJ_EINVALIDOP); - - /* Lock dialog. */ - pjsip_dlg_inc_lock(inv->dlg); - - /* Create the INVITE request. */ - status = pjsip_dlg_create_request(inv->dlg, pjsip_get_invite_method(), -1, - &tdata); - if (status != PJ_SUCCESS) - goto on_return; - - - /* If this is the first INVITE, then copy the headers from inv_hdr. - * These are the headers parsed from the request URI when the - * dialog was created. - */ - if (inv->state == PJSIP_INV_STATE_NULL) { - hdr = inv->dlg->inv_hdr.next; - - while (hdr != &inv->dlg->inv_hdr) { - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, hdr)); - hdr = hdr->next; - } - } - - /* See if we have SDP to send. */ - if (inv->neg) { - pjmedia_sdp_neg_state neg_state; - - neg_state = pjmedia_sdp_neg_get_state(inv->neg); - - has_sdp = (neg_state == PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER || - (neg_state == PJMEDIA_SDP_NEG_STATE_WAIT_NEGO && - pjmedia_sdp_neg_has_local_answer(inv->neg))); - - - } else { - has_sdp = PJ_FALSE; - } - - /* Add SDP, if any. */ - if (has_sdp) { - const pjmedia_sdp_session *offer; - - status = pjmedia_sdp_neg_get_neg_local(inv->neg, &offer); - if (status != PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - goto on_return; - } - - tdata->msg->body = create_sdp_body(tdata->pool, offer); - } - - /* Add Allow header. */ - if (inv->dlg->add_allow) { - hdr = pjsip_endpt_get_capability(inv->dlg->endpt, PJSIP_H_ALLOW, NULL); - if (hdr) { - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, hdr)); - } - } - - /* Add Supported header */ - hdr = pjsip_endpt_get_capability(inv->dlg->endpt, PJSIP_H_SUPPORTED, NULL); - if (hdr) { - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, hdr)); - } - - /* Add Require header. */ - if ((inv->options & PJSIP_INV_REQUIRE_100REL) || - (inv->options & PJSIP_INV_REQUIRE_TIMER)) - { - pjsip_require_hdr *hreq; - - hreq = pjsip_require_hdr_create(tdata->pool); - - if (inv->options & PJSIP_INV_REQUIRE_100REL) - hreq->values[hreq->count++] = pj_str("100rel"); - if (inv->options & PJSIP_INV_REQUIRE_TIMER) - hreq->values[hreq->count++] = pj_str("timer"); - - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*) hreq); - } - - status = pjsip_timer_update_req(inv, tdata); - if (status != PJ_SUCCESS) - goto on_return; - - /* Done. */ - *p_tdata = tdata; - - -on_return: - pjsip_dlg_dec_lock(inv->dlg); - return status; -} - - -/* Util: swap pool */ -static void swap_pool(pj_pool_t **p1, pj_pool_t **p2) -{ - pj_pool_t *tmp = *p1; - *p1 = *p2; - *p2 = tmp; -} - - -/* - * Initiate SDP negotiation in the SDP negotiator. - */ -static pj_status_t inv_negotiate_sdp( pjsip_inv_session *inv ) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(pjmedia_sdp_neg_get_state(inv->neg) == - PJMEDIA_SDP_NEG_STATE_WAIT_NEGO, - PJMEDIA_SDPNEG_EINSTATE); - - status = pjmedia_sdp_neg_negotiate(inv->pool_prov, inv->neg, 0); - - PJ_LOG(5,(inv->obj_name, "SDP negotiation done, status=%d", status)); - - if (mod_inv.cb.on_media_update && inv->notify) - (*mod_inv.cb.on_media_update)(inv, status); - - /* Invite session may have been terminated by the application even - * after a successful SDP negotiation, for example when no audio - * codec is present in the offer (see ticket #1034). - */ - if (inv->state != PJSIP_INV_STATE_DISCONNECTED) { - - /* Swap the flip-flop pool when SDP negotiation success. */ - if (status == PJ_SUCCESS) { - swap_pool(&inv->pool_prov, &inv->pool_active); - } - - /* Reset the provisional pool regardless SDP negotiation result. */ - pj_pool_reset(inv->pool_prov); - - } else { - - status = PJSIP_ERRNO_FROM_SIP_STATUS(inv->cause); - } - - return status; -} - -/* - * Check in incoming message for SDP offer/answer. - */ -static pj_status_t inv_check_sdp_in_incoming_msg( pjsip_inv_session *inv, - pjsip_transaction *tsx, - pjsip_rx_data *rdata) -{ - struct tsx_inv_data *tsx_inv_data; - pj_status_t status; - pjsip_msg *msg; - pjsip_rdata_sdp_info *sdp_info; - - /* Check if SDP is present in the message. */ - - msg = rdata->msg_info.msg; - if (msg->body == NULL) { - /* Message doesn't have body. */ - return PJ_SUCCESS; - } - - sdp_info = pjsip_rdata_get_sdp_info(rdata); - if (sdp_info->body.ptr == NULL) { - /* Message body is not "application/sdp" */ - return PJMEDIA_SDP_EINSDP; - } - - /* Get/attach invite session's transaction data */ - tsx_inv_data = (struct tsx_inv_data*) tsx->mod_data[mod_inv.mod.id]; - if (tsx_inv_data == NULL) { - tsx_inv_data = PJ_POOL_ZALLOC_T(tsx->pool, struct tsx_inv_data); - tsx_inv_data->inv = inv; - tsx->mod_data[mod_inv.mod.id] = tsx_inv_data; - } - - /* MUST NOT do multiple SDP offer/answer in a single transaction, - * EXCEPT if: - * - this is an initial UAC INVITE transaction (i.e. not re-INVITE), and - * - the previous negotiation was done on an early media (18x) and - * this response is a final/2xx response, and - * - the 2xx response has different To tag than the 18x response - * (i.e. the request has forked). - * - * The exception above is to add a rudimentary support for early media - * forking (sample case: custom ringback). See this ticket for more - * info: http://trac.pjsip.org/repos/ticket/657 - */ - if (tsx_inv_data->sdp_done) { - pj_str_t res_tag; - - res_tag = rdata->msg_info.to->tag; - - /* Allow final response after SDP has been negotiated in early - * media, IF this response is a final response with different - * tag. - */ - if (tsx->role == PJSIP_ROLE_UAC && - rdata->msg_info.msg->line.status.code/100 == 2 && - tsx_inv_data->done_early && - pj_strcmp(&tsx_inv_data->done_tag, &res_tag)) - { - const pjmedia_sdp_session *reoffer_sdp = NULL; - - PJ_LOG(4,(inv->obj_name, "Received forked final response " - "after SDP negotiation has been done in early " - "media. Renegotiating SDP..")); - - /* Retrieve original SDP offer from INVITE request */ - reoffer_sdp = (const pjmedia_sdp_session*) - tsx->last_tx->msg->body->data; - - /* Feed the original offer to negotiator */ - status = pjmedia_sdp_neg_modify_local_offer(inv->pool_prov, - inv->neg, - reoffer_sdp); - if (status != PJ_SUCCESS) { - PJ_LOG(1,(inv->obj_name, "Error updating local offer for " - "forked 2xx response (err=%d)", status)); - return status; - } - - } else { - - if (rdata->msg_info.msg->body) { - PJ_LOG(4,(inv->obj_name, "SDP negotiation done, message " - "body is ignored")); - } - return PJ_SUCCESS; - } - } - - /* Process the SDP body. */ - if (sdp_info->sdp_err) { - PJ_PERROR(4,(THIS_FILE, sdp_info->sdp_err, - "Error parsing SDP in %s", - pjsip_rx_data_get_info(rdata))); - return PJMEDIA_SDP_EINSDP; - } - - pj_assert(sdp_info->sdp != NULL); - - /* The SDP can be an offer or answer, depending on negotiator's state */ - - if (inv->neg == NULL || - pjmedia_sdp_neg_get_state(inv->neg) == PJMEDIA_SDP_NEG_STATE_DONE) - { - - /* This is an offer. */ - - PJ_LOG(5,(inv->obj_name, "Got SDP offer in %s", - pjsip_rx_data_get_info(rdata))); - - if (inv->neg == NULL) { - status=pjmedia_sdp_neg_create_w_remote_offer(inv->pool, NULL, - sdp_info->sdp, - &inv->neg); - } else { - status=pjmedia_sdp_neg_set_remote_offer(inv->pool_prov, inv->neg, - sdp_info->sdp); - } - - if (status != PJ_SUCCESS) { - PJ_PERROR(4,(THIS_FILE, status, "Error processing SDP offer in %", - pjsip_rx_data_get_info(rdata))); - return PJMEDIA_SDP_EINSDP; - } - - /* Inform application about remote offer. */ - if (mod_inv.cb.on_rx_offer && inv->notify) { - - (*mod_inv.cb.on_rx_offer)(inv, sdp_info->sdp); - - } - - /* application must have supplied an answer at this point. */ - if (pjmedia_sdp_neg_get_state(inv->neg) != - PJMEDIA_SDP_NEG_STATE_WAIT_NEGO) - { - return PJ_EINVALIDOP; - } - - } else if (pjmedia_sdp_neg_get_state(inv->neg) == - PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER) - { - int status_code; - - /* This is an answer. - * Process and negotiate remote answer. - */ - - PJ_LOG(5,(inv->obj_name, "Got SDP answer in %s", - pjsip_rx_data_get_info(rdata))); - - status = pjmedia_sdp_neg_set_remote_answer(inv->pool_prov, inv->neg, - sdp_info->sdp); - - if (status != PJ_SUCCESS) { - PJ_PERROR(4,(THIS_FILE, status, "Error processing SDP answer in %s", - pjsip_rx_data_get_info(rdata))); - return PJMEDIA_SDP_EINSDP; - } - - /* Negotiate SDP */ - - inv_negotiate_sdp(inv); - - /* Mark this transaction has having SDP offer/answer done, and - * save the reference to the To tag - */ - - tsx_inv_data->sdp_done = 1; - status_code = rdata->msg_info.msg->line.status.code; - tsx_inv_data->done_early = (status_code/100==1); - pj_strdup(tsx->pool, &tsx_inv_data->done_tag, - &rdata->msg_info.to->tag); - - } else { - - PJ_LOG(5,(THIS_FILE, "Ignored SDP in %s: negotiator state is %s", - pjsip_rx_data_get_info(rdata), - pjmedia_sdp_neg_state_str(pjmedia_sdp_neg_get_state(inv->neg)))); - } - - return PJ_SUCCESS; -} - - -/* - * Process INVITE answer, for both initial and subsequent re-INVITE - */ -static pj_status_t process_answer( pjsip_inv_session *inv, - int st_code, - pjsip_tx_data *tdata, - const pjmedia_sdp_session *local_sdp) -{ - pj_status_t status; - const pjmedia_sdp_session *sdp = NULL; - - /* If local_sdp is specified, then we MUST NOT have answered the - * offer before. - */ - if (local_sdp && (st_code/100==1 || st_code/100==2)) { - - if (inv->neg == NULL) { - status = pjmedia_sdp_neg_create_w_local_offer(inv->pool, - local_sdp, - &inv->neg); - } else if (pjmedia_sdp_neg_get_state(inv->neg)== - PJMEDIA_SDP_NEG_STATE_REMOTE_OFFER) - { - status = pjmedia_sdp_neg_set_local_answer(inv->pool_prov, inv->neg, - local_sdp); - } else { - - /* Can not specify local SDP at this state. */ - pj_assert(0); - status = PJMEDIA_SDPNEG_EINSTATE; - } - - if (status != PJ_SUCCESS) - return status; - - } - - - /* If SDP negotiator is ready, start negotiation. */ - if (st_code/100==2 || (st_code/10==18 && st_code!=180)) { - - pjmedia_sdp_neg_state neg_state; - - /* Start nego when appropriate. */ - neg_state = inv->neg ? pjmedia_sdp_neg_get_state(inv->neg) : - PJMEDIA_SDP_NEG_STATE_NULL; - - if (neg_state == PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER) { - - status = pjmedia_sdp_neg_get_neg_local(inv->neg, &sdp); - - } else if (neg_state == PJMEDIA_SDP_NEG_STATE_WAIT_NEGO && - pjmedia_sdp_neg_has_local_answer(inv->neg) ) - { - struct tsx_inv_data *tsx_inv_data; - - /* Get invite session's transaction data */ - tsx_inv_data = (struct tsx_inv_data*) - inv->invite_tsx->mod_data[mod_inv.mod.id]; - - status = inv_negotiate_sdp(inv); - if (status != PJ_SUCCESS) - return status; - - /* Mark this transaction has having SDP offer/answer done. */ - tsx_inv_data->sdp_done = 1; - - status = pjmedia_sdp_neg_get_active_local(inv->neg, &sdp); - } - } - - /* Include SDP when it's available for 2xx and 18x (but not 180) response. - * Subsequent response will include this SDP. - * - * Note note: - * - When offer/answer has been completed in reliable 183, we MUST NOT - * send SDP in 2xx response. So if we don't have SDP to send, clear - * the SDP in the message body ONLY if 100rel is active in this - * session. - */ - if (sdp) { - tdata->msg->body = create_sdp_body(tdata->pool, sdp); - } else { - if (inv->options & PJSIP_INV_REQUIRE_100REL) { - tdata->msg->body = NULL; - } - } - - - return PJ_SUCCESS; -} - - -/* - * Create first response to INVITE - */ -PJ_DEF(pj_status_t) pjsip_inv_initial_answer( pjsip_inv_session *inv, - pjsip_rx_data *rdata, - int st_code, - const pj_str_t *st_text, - const pjmedia_sdp_session *sdp, - pjsip_tx_data **p_tdata) -{ - pjsip_tx_data *tdata; - pj_status_t status; - pjsip_status_code st_code2; - - /* Verify arguments. */ - PJ_ASSERT_RETURN(inv && p_tdata, PJ_EINVAL); - - /* Must have INVITE transaction. */ - PJ_ASSERT_RETURN(inv->invite_tsx, PJ_EBUG); - - pj_log_push_indent(); - - pjsip_dlg_inc_lock(inv->dlg); - - /* Create response */ - status = pjsip_dlg_create_response(inv->dlg, rdata, st_code, st_text, - &tdata); - if (status != PJ_SUCCESS) - goto on_return; - - /* Invoke Session Timers module */ - status = pjsip_timer_process_req(inv, rdata, &st_code2); - if (status != PJ_SUCCESS) { - pj_status_t status2; - - status2 = pjsip_dlg_modify_response(inv->dlg, tdata, st_code2, NULL); - if (status2 != PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - goto on_return; - } - status2 = pjsip_timer_update_resp(inv, tdata); - if (status2 == PJ_SUCCESS) - *p_tdata = tdata; - else - pjsip_tx_data_dec_ref(tdata); - - goto on_return; - } - - /* Process SDP in answer */ - status = process_answer(inv, st_code, tdata, sdp); - if (status != PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - goto on_return; - } - - /* Save this answer */ - inv->last_answer = tdata; - pjsip_tx_data_add_ref(inv->last_answer); - PJ_LOG(5,(inv->dlg->obj_name, "Initial answer %s", - pjsip_tx_data_get_info(inv->last_answer))); - - /* Invoke Session Timers */ - pjsip_timer_update_resp(inv, tdata); - - *p_tdata = tdata; - -on_return: - pjsip_dlg_dec_lock(inv->dlg); - pj_log_pop_indent(); - return status; -} - - -/* - * Answer initial INVITE - * Re-INVITE will be answered automatically, and will not use this function. - */ -PJ_DEF(pj_status_t) pjsip_inv_answer( pjsip_inv_session *inv, - int st_code, - const pj_str_t *st_text, - const pjmedia_sdp_session *local_sdp, - pjsip_tx_data **p_tdata ) -{ - pjsip_tx_data *last_res; - pj_status_t status; - - /* Verify arguments. */ - PJ_ASSERT_RETURN(inv && p_tdata, PJ_EINVAL); - - /* Must have INVITE transaction. */ - PJ_ASSERT_RETURN(inv->invite_tsx, PJ_EBUG); - - /* Must have created an answer before */ - PJ_ASSERT_RETURN(inv->last_answer, PJ_EINVALIDOP); - - pj_log_push_indent(); - - pjsip_dlg_inc_lock(inv->dlg); - - /* Modify last response. */ - last_res = inv->last_answer; - status = pjsip_dlg_modify_response(inv->dlg, last_res, st_code, st_text); - if (status != PJ_SUCCESS) - goto on_return; - - /* For non-2xx final response, strip message body */ - if (st_code >= 300) { - last_res->msg->body = NULL; - } - - /* Process SDP in answer */ - status = process_answer(inv, st_code, last_res, local_sdp); - if (status != PJ_SUCCESS) { - pjsip_tx_data_dec_ref(last_res); - goto on_return; - } - - /* Invoke Session Timers */ - pjsip_timer_update_resp(inv, last_res); - - *p_tdata = last_res; - -on_return: - pjsip_dlg_dec_lock(inv->dlg); - pj_log_pop_indent(); - return status; -} - - -/* - * Set local SDP offer/answer. - */ -PJ_DEF(pj_status_t) pjsip_inv_set_local_sdp(pjsip_inv_session *inv, - const pjmedia_sdp_session *sdp ) -{ - const pjmedia_sdp_session *offer; - pj_status_t status; - - PJ_ASSERT_RETURN(inv && sdp, PJ_EINVAL); - - /* If we have remote SDP offer, set local answer to respond to the offer, - * otherwise we set/modify our local offer (and create an SDP negotiator - * if we don't have one yet). - */ - if (inv->neg) { - pjmedia_sdp_neg_state neg_state = pjmedia_sdp_neg_get_state(inv->neg); - - if ((neg_state == PJMEDIA_SDP_NEG_STATE_REMOTE_OFFER || - neg_state == PJMEDIA_SDP_NEG_STATE_WAIT_NEGO) && - pjmedia_sdp_neg_get_neg_remote(inv->neg, &offer) == PJ_SUCCESS) - { - status = pjsip_inv_set_sdp_answer(inv, sdp); - } else if (neg_state == PJMEDIA_SDP_NEG_STATE_DONE) { - status = pjmedia_sdp_neg_modify_local_offer(inv->pool, - inv->neg, sdp); - } else - return PJMEDIA_SDPNEG_EINSTATE; - } else { - status = pjmedia_sdp_neg_create_w_local_offer(inv->pool, - sdp, &inv->neg); - } - - return status; -} - - -/* - * Set SDP answer. - */ -PJ_DEF(pj_status_t) pjsip_inv_set_sdp_answer( pjsip_inv_session *inv, - const pjmedia_sdp_session *sdp ) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(inv && sdp, PJ_EINVAL); - - pjsip_dlg_inc_lock(inv->dlg); - status = pjmedia_sdp_neg_set_local_answer( inv->pool_prov, inv->neg, sdp); - pjsip_dlg_dec_lock(inv->dlg); - - return status; -} - - -/* - * End session. - */ -PJ_DEF(pj_status_t) pjsip_inv_end_session( pjsip_inv_session *inv, - int st_code, - const pj_str_t *st_text, - pjsip_tx_data **p_tdata ) -{ - pjsip_tx_data *tdata; - pj_status_t status; - - /* Verify arguments. */ - PJ_ASSERT_RETURN(inv && p_tdata, PJ_EINVAL); - - pj_log_push_indent(); - - /* Set cause code. */ - inv_set_cause(inv, st_code, st_text); - - /* Create appropriate message. */ - switch (inv->state) { - case PJSIP_INV_STATE_CALLING: - case PJSIP_INV_STATE_EARLY: - case PJSIP_INV_STATE_INCOMING: - - if (inv->role == PJSIP_ROLE_UAC) { - - /* For UAC when session has not been confirmed, create CANCEL. */ - - /* MUST have the original UAC INVITE transaction. */ - PJ_ASSERT_RETURN(inv->invite_tsx != NULL, PJ_EBUG); - - /* But CANCEL should only be called when we have received a - * provisional response. If we haven't received any responses, - * just destroy the transaction. - */ - if (inv->invite_tsx->status_code < 100) { - - /* Do not stop INVITE retransmission, see ticket #506 */ - //pjsip_tsx_stop_retransmit(inv->invite_tsx); - inv->cancelling = PJ_TRUE; - inv->pending_cancel = PJ_TRUE; - *p_tdata = NULL; - PJ_LOG(4, (inv->obj_name, "Delaying CANCEL since no " - "provisional response is received yet")); - pj_log_pop_indent(); - return PJ_SUCCESS; - } - - /* The CSeq here assumes that the dialog is started with an - * INVITE session. This may not be correct; dialog can be - * started as SUBSCRIBE session. - * So fix this! - */ - status = pjsip_endpt_create_cancel(inv->dlg->endpt, - inv->invite_tsx->last_tx, - &tdata); - if (status != PJ_SUCCESS) { - pj_log_pop_indent(); - return status; - } - - /* Set timeout for the INVITE transaction, in case UAS is not - * able to respond the INVITE with 487 final response. The - * timeout value is 64*T1. - */ - pjsip_tsx_set_timeout(inv->invite_tsx, 64 * pjsip_cfg()->tsx.t1); - - } else { - - /* For UAS, send a final response. */ - tdata = inv->invite_tsx->last_tx; - PJ_ASSERT_RETURN(tdata != NULL, PJ_EINVALIDOP); - - //status = pjsip_dlg_modify_response(inv->dlg, tdata, st_code, - // st_text); - status = pjsip_inv_answer(inv, st_code, st_text, NULL, &tdata); - } - break; - - case PJSIP_INV_STATE_CONNECTING: - case PJSIP_INV_STATE_CONFIRMED: - /* End Session Timer */ - pjsip_timer_end_session(inv); - - /* For established dialog, send BYE */ - status = pjsip_dlg_create_request(inv->dlg, pjsip_get_bye_method(), - -1, &tdata); - break; - - case PJSIP_INV_STATE_DISCONNECTED: - /* No need to do anything. */ - pj_log_pop_indent(); - return PJSIP_ESESSIONTERMINATED; - - default: - pj_assert(!"Invalid operation!"); - pj_log_pop_indent(); - return PJ_EINVALIDOP; - } - - if (status != PJ_SUCCESS) { - pj_log_pop_indent(); - return status; - } - - - /* Done */ - - inv->cancelling = PJ_TRUE; - *p_tdata = tdata; - - pj_log_pop_indent(); - return PJ_SUCCESS; -} - -/* Following redirection recursion, get next target from the target set and - * notify user. - * - * Returns PJ_FALSE if recursion fails (either because there's no more target - * or user rejects the recursion). If we return PJ_FALSE, caller should - * disconnect the session. - * - * Note: - * the event 'e' argument may be NULL. - */ -static pj_bool_t inv_uac_recurse(pjsip_inv_session *inv, int code, - const pj_str_t *reason, pjsip_event *e) -{ - pjsip_redirect_op op; - pjsip_target *target; - - /* Won't redirect if the callback is not implemented. */ - if (mod_inv.cb.on_redirected == NULL) - return PJ_FALSE; - - if (reason == NULL) - reason = pjsip_get_status_text(code); - - /* Set status of current target */ - pjsip_target_assign_status(inv->dlg->target_set.current, inv->dlg->pool, - code, reason); - - /* Fetch next target from the target set. We only want to - * process SIP/SIPS URI for now. - */ - for (;;) { - target = pjsip_target_set_get_next(&inv->dlg->target_set); - if (target == NULL) { - /* No more target. */ - return PJ_FALSE; - } - - if (!PJSIP_URI_SCHEME_IS_SIP(target->uri) && - !PJSIP_URI_SCHEME_IS_SIPS(target->uri)) - { - code = PJSIP_SC_UNSUPPORTED_URI_SCHEME; - reason = pjsip_get_status_text(code); - - /* Mark this target as unusable and fetch next target. */ - pjsip_target_assign_status(target, inv->dlg->pool, code, reason); - } else { - /* Found a target */ - break; - } - } - - /* We have target in 'target'. Set this target as current target - * and notify callback. - */ - pjsip_target_set_set_current(&inv->dlg->target_set, target); - - op = (*mod_inv.cb.on_redirected)(inv, target->uri, e); - - - /* Check what the application wants to do now */ - switch (op) { - case PJSIP_REDIRECT_ACCEPT: - case PJSIP_REDIRECT_STOP: - /* Must increment session counter, that's the convention of the - * pjsip_inv_process_redirect(). - */ - pjsip_dlg_inc_session(inv->dlg, &mod_inv.mod); - - /* Act on the recursion */ - pjsip_inv_process_redirect(inv, op, e); - return PJ_TRUE; - - case PJSIP_REDIRECT_PENDING: - /* Increment session so that the dialog/session is not destroyed - * while we're waiting for user confirmation. - */ - pjsip_dlg_inc_session(inv->dlg, &mod_inv.mod); - - /* Also clear the invite_tsx variable, otherwise when this tsx is - * terminated, it will also terminate the session. - */ - inv->invite_tsx = NULL; - - /* Done. The processing will continue once the application calls - * pjsip_inv_process_redirect(). - */ - return PJ_TRUE; - - case PJSIP_REDIRECT_REJECT: - /* Recursively call this function again to fetch next target, if any. - */ - return inv_uac_recurse(inv, PJSIP_SC_REQUEST_TERMINATED, NULL, e); - - } - - pj_assert(!"Should not reach here"); - return PJ_FALSE; -} - - -/* Process redirection/recursion */ -PJ_DEF(pj_status_t) pjsip_inv_process_redirect( pjsip_inv_session *inv, - pjsip_redirect_op op, - pjsip_event *e) -{ - const pjsip_status_code cancel_code = PJSIP_SC_REQUEST_TERMINATED; - pjsip_event usr_event; - pj_status_t status = PJ_SUCCESS; - - PJ_ASSERT_RETURN(inv && op != PJSIP_REDIRECT_PENDING, PJ_EINVAL); - - if (e == NULL) { - PJSIP_EVENT_INIT_USER(usr_event, NULL, NULL, NULL, NULL); - e = &usr_event; - } - - pjsip_dlg_inc_lock(inv->dlg); - - /* Decrement session. That's the convention here to prevent the dialog - * or session from being destroyed while we're waiting for user - * confirmation. - */ - pjsip_dlg_dec_session(inv->dlg, &mod_inv.mod); - - /* See what the application wants to do now */ - switch (op) { - case PJSIP_REDIRECT_ACCEPT: - /* User accept the redirection. Reset the session and resend the - * INVITE request. - */ - { - pjsip_tx_data *tdata; - pjsip_via_hdr *via; - - /* Get the original INVITE request. */ - tdata = inv->invite_req; - pjsip_tx_data_add_ref(tdata); - - /* Restore strict route set. - * See http://trac.pjsip.org/repos/ticket/492 - */ - pjsip_restore_strict_route_set(tdata); - - /* Set target */ - tdata->msg->line.req.uri = (pjsip_uri*) - pjsip_uri_clone(tdata->pool, inv->dlg->target_set.current->uri); - - /* Remove branch param in Via header. */ - via = (pjsip_via_hdr*) - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_VIA, NULL); - via->branch_param.slen = 0; - - /* Reset message destination info (see #1248). */ - pj_bzero(&tdata->dest_info, sizeof(tdata->dest_info)); - - /* Must invalidate the message! */ - pjsip_tx_data_invalidate_msg(tdata); - - /* Reset the session */ - pjsip_inv_uac_restart(inv, PJ_FALSE); - - /* (re)Send the INVITE request */ - status = pjsip_inv_send_msg(inv, tdata); - } - break; - - case PJSIP_REDIRECT_STOP: - /* User doesn't want the redirection. Disconnect the session now. */ - inv_set_cause(inv, cancel_code, pjsip_get_status_text(cancel_code)); - inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); - - /* Caller should expect that the invite session is gone now, so - * we don't need to set status to PJSIP_ESESSIONTERMINATED here. - */ - break; - - case PJSIP_REDIRECT_REJECT: - /* Current target is rejected. Fetch next target if any. */ - if (inv_uac_recurse(inv, cancel_code, NULL, NULL) == PJ_FALSE) { - inv_set_cause(inv, cancel_code, - pjsip_get_status_text(cancel_code)); - inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); - - /* Tell caller that the invite session is gone now */ - status = PJSIP_ESESSIONTERMINATED; - } - break; - - - case PJSIP_REDIRECT_PENDING: - pj_assert(!"Should not happen"); - break; - } - - - pjsip_dlg_dec_lock(inv->dlg); - - return status; -} - - -/* - * Create re-INVITE. - */ -PJ_DEF(pj_status_t) pjsip_inv_reinvite( pjsip_inv_session *inv, - const pj_str_t *new_contact, - const pjmedia_sdp_session *new_offer, - pjsip_tx_data **p_tdata ) -{ - pj_status_t status; - pjsip_contact_hdr *contact_hdr = NULL; - - /* Check arguments. */ - PJ_ASSERT_RETURN(inv && p_tdata, PJ_EINVAL); - - /* Must NOT have a pending INVITE transaction */ - if (inv->invite_tsx!=NULL) - return PJ_EINVALIDOP; - - pj_log_push_indent(); - - pjsip_dlg_inc_lock(inv->dlg); - - if (new_contact) { - pj_str_t tmp; - const pj_str_t STR_CONTACT = { "Contact", 7 }; - - pj_strdup_with_null(inv->dlg->pool, &tmp, new_contact); - contact_hdr = (pjsip_contact_hdr*) - pjsip_parse_hdr(inv->dlg->pool, &STR_CONTACT, - tmp.ptr, tmp.slen, NULL); - if (!contact_hdr) { - status = PJSIP_EINVALIDURI; - goto on_return; - } - } - - - if (new_offer) { - if (!inv->neg) { - status = pjmedia_sdp_neg_create_w_local_offer(inv->pool, - new_offer, - &inv->neg); - if (status != PJ_SUCCESS) - goto on_return; - - } else switch (pjmedia_sdp_neg_get_state(inv->neg)) { - - case PJMEDIA_SDP_NEG_STATE_NULL: - pj_assert(!"Unexpected SDP neg state NULL"); - status = PJ_EBUG; - goto on_return; - - case PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER: - PJ_LOG(4,(inv->obj_name, - "pjsip_inv_reinvite: already have an offer, new " - "offer is ignored")); - break; - - case PJMEDIA_SDP_NEG_STATE_REMOTE_OFFER: - status = pjmedia_sdp_neg_set_local_answer(inv->pool_prov, - inv->neg, - new_offer); - if (status != PJ_SUCCESS) - goto on_return; - break; - - case PJMEDIA_SDP_NEG_STATE_WAIT_NEGO: - PJ_LOG(4,(inv->obj_name, - "pjsip_inv_reinvite: SDP in WAIT_NEGO state, new " - "offer is ignored")); - break; - - case PJMEDIA_SDP_NEG_STATE_DONE: - status = pjmedia_sdp_neg_modify_local_offer(inv->pool_prov, - inv->neg, - new_offer); - if (status != PJ_SUCCESS) - goto on_return; - break; - } - } - - if (contact_hdr) - inv->dlg->local.contact = contact_hdr; - - status = pjsip_inv_invite(inv, p_tdata); - -on_return: - pjsip_dlg_dec_lock(inv->dlg); - pj_log_pop_indent(); - return status; -} - -/* - * Create UPDATE. - */ -PJ_DEF(pj_status_t) pjsip_inv_update ( pjsip_inv_session *inv, - const pj_str_t *new_contact, - const pjmedia_sdp_session *offer, - pjsip_tx_data **p_tdata ) -{ - pjsip_contact_hdr *contact_hdr = NULL; - pjsip_tx_data *tdata = NULL; - pjmedia_sdp_session *sdp_copy; - pj_status_t status = PJ_SUCCESS; - - /* Verify arguments. */ - PJ_ASSERT_RETURN(inv && p_tdata, PJ_EINVAL); - - /* Dialog must have been established */ - PJ_ASSERT_RETURN(inv->dlg->state == PJSIP_DIALOG_STATE_ESTABLISHED, - PJ_EINVALIDOP); - - /* Invite session must not have been disconnected */ - PJ_ASSERT_RETURN(inv->state < PJSIP_INV_STATE_DISCONNECTED, - PJ_EINVALIDOP); - - pj_log_push_indent(); - - /* Lock dialog. */ - pjsip_dlg_inc_lock(inv->dlg); - - /* Process offer, if any */ - if (offer) { - if (pjmedia_sdp_neg_get_state(inv->neg)!=PJMEDIA_SDP_NEG_STATE_DONE) { - PJ_LOG(4,(inv->dlg->obj_name, - "Invalid SDP offer/answer state for UPDATE")); - status = PJ_EINVALIDOP; - goto on_error; - } - - /* Notify negotiator about the new offer. This will fix the offer - * with correct SDP origin. - */ - status = pjmedia_sdp_neg_modify_local_offer(inv->pool_prov, inv->neg, - offer); - if (status != PJ_SUCCESS) - goto on_error; - - /* Retrieve the "fixed" offer from negotiator */ - pjmedia_sdp_neg_get_neg_local(inv->neg, &offer); - } - - /* Update Contact if required */ - if (new_contact) { - pj_str_t tmp; - const pj_str_t STR_CONTACT = { "Contact", 7 }; - - pj_strdup_with_null(inv->dlg->pool, &tmp, new_contact); - contact_hdr = (pjsip_contact_hdr*) - pjsip_parse_hdr(inv->dlg->pool, &STR_CONTACT, - tmp.ptr, tmp.slen, NULL); - if (!contact_hdr) { - status = PJSIP_EINVALIDURI; - goto on_error; - } - - inv->dlg->local.contact = contact_hdr; - } - - /* Create request */ - status = pjsip_dlg_create_request(inv->dlg, &pjsip_update_method, - -1, &tdata); - if (status != PJ_SUCCESS) - goto on_error; - - /* Attach SDP body */ - if (offer) { - sdp_copy = pjmedia_sdp_session_clone(tdata->pool, offer); - pjsip_create_sdp_body(tdata->pool, sdp_copy, &tdata->msg->body); - } - - /* Unlock dialog. */ - pjsip_dlg_dec_lock(inv->dlg); - - status = pjsip_timer_update_req(inv, tdata); - if (status != PJ_SUCCESS) - goto on_error; - - *p_tdata = tdata; - - pj_log_pop_indent(); - return PJ_SUCCESS; - -on_error: - if (tdata) - pjsip_tx_data_dec_ref(tdata); - - /* Unlock dialog. */ - pjsip_dlg_dec_lock(inv->dlg); - - pj_log_pop_indent(); - return status; -} - -/* - * Create an ACK request. - */ -PJ_DEF(pj_status_t) pjsip_inv_create_ack(pjsip_inv_session *inv, - int cseq, - pjsip_tx_data **p_tdata) -{ - const pjmedia_sdp_session *sdp = NULL; - pj_status_t status; - - PJ_ASSERT_RETURN(inv && p_tdata, PJ_EINVAL); - - /* Lock dialog. */ - pjsip_dlg_inc_lock(inv->dlg); - - /* Destroy last_ack */ - if (inv->last_ack) { - pjsip_tx_data_dec_ref(inv->last_ack); - inv->last_ack = NULL; - } - - /* Create new ACK request */ - status = pjsip_dlg_create_request(inv->dlg, pjsip_get_ack_method(), - cseq, &inv->last_ack); - if (status != PJ_SUCCESS) { - pjsip_dlg_dec_lock(inv->dlg); - return status; - } - - /* See if we have pending SDP answer to send */ - sdp = inv_has_pending_answer(inv, inv->invite_tsx); - if (sdp) { - inv->last_ack->msg->body = create_sdp_body(inv->last_ack->pool, sdp); - } - - /* Keep this for subsequent response retransmission */ - inv->last_ack_cseq = cseq; - pjsip_tx_data_add_ref(inv->last_ack); - - /* Done */ - *p_tdata = inv->last_ack; - - /* Unlock dialog. */ - pjsip_dlg_dec_lock(inv->dlg); - - return PJ_SUCCESS; -} - -/* - * Send a request or response message. - */ -PJ_DEF(pj_status_t) pjsip_inv_send_msg( pjsip_inv_session *inv, - pjsip_tx_data *tdata) -{ - pj_status_t status; - - /* Verify arguments. */ - PJ_ASSERT_RETURN(inv && tdata, PJ_EINVAL); - - pj_log_push_indent(); - - PJ_LOG(5,(inv->obj_name, "Sending %s", - pjsip_tx_data_get_info(tdata))); - - if (tdata->msg->type == PJSIP_REQUEST_MSG) { - struct tsx_inv_data *tsx_inv_data; - - pjsip_dlg_inc_lock(inv->dlg); - - /* Check again that we didn't receive incoming re-INVITE */ - if (tdata->msg->line.req.method.id==PJSIP_INVITE_METHOD && - inv->invite_tsx) - { - pjsip_tx_data_dec_ref(tdata); - pjsip_dlg_dec_lock(inv->dlg); - status = PJ_EINVALIDOP; - goto on_error; - } - - /* Associate our data in outgoing invite transaction */ - tsx_inv_data = PJ_POOL_ZALLOC_T(inv->pool, struct tsx_inv_data); - tsx_inv_data->inv = inv; - - pjsip_dlg_dec_lock(inv->dlg); - - status = pjsip_dlg_send_request(inv->dlg, tdata, mod_inv.mod.id, - tsx_inv_data); - if (status != PJ_SUCCESS) { - goto on_error; - } - - } else { - pjsip_cseq_hdr *cseq; - - /* Can only do this to send response to original INVITE - * request. - */ - PJ_ASSERT_RETURN((cseq=(pjsip_cseq_hdr*)pjsip_msg_find_hdr(tdata->msg, PJSIP_H_CSEQ, NULL))!=NULL - && (cseq->cseq == inv->invite_tsx->cseq), - PJ_EINVALIDOP); - - if (inv->options & PJSIP_INV_REQUIRE_100REL) { - status = pjsip_100rel_tx_response(inv, tdata); - } else - { - status = pjsip_dlg_send_response(inv->dlg, inv->invite_tsx, tdata); - } - - if (status != PJ_SUCCESS) { - goto on_error; - } - } - - /* Done */ - pj_log_pop_indent(); - return PJ_SUCCESS; - -on_error: - pj_log_pop_indent(); - return status; -} - - -/* - * Respond to incoming CANCEL request. - */ -static void inv_respond_incoming_cancel(pjsip_inv_session *inv, - pjsip_transaction *cancel_tsx, - pjsip_rx_data *rdata) -{ - pjsip_tx_data *tdata; - pjsip_transaction *invite_tsx; - pj_str_t key; - pj_status_t status; - - /* See if we have matching INVITE server transaction: */ - - pjsip_tsx_create_key(rdata->tp_info.pool, &key, PJSIP_ROLE_UAS, - pjsip_get_invite_method(), rdata); - invite_tsx = pjsip_tsx_layer_find_tsx(&key, PJ_TRUE); - - if (invite_tsx == NULL) { - - /* Invite transaction not found! - * Respond CANCEL with 481 (RFC 3261 Section 9.2 page 55) - */ - status = pjsip_dlg_create_response( inv->dlg, rdata, 481, NULL, - &tdata); - - } else { - /* Always answer CANCEL will 200 (OK) regardless of - * the state of the INVITE transaction. - */ - status = pjsip_dlg_create_response( inv->dlg, rdata, 200, NULL, - &tdata); - } - - /* See if we have created the response successfully. */ - if (status != PJ_SUCCESS) return; - - /* Send the CANCEL response */ - status = pjsip_dlg_send_response(inv->dlg, cancel_tsx, tdata); - if (status != PJ_SUCCESS) return; - - - /* See if we need to terminate the UAS INVITE transaction - * with 487 (Request Terminated) response. - */ - if (invite_tsx && invite_tsx->status_code < 200) { - - pj_assert(invite_tsx->last_tx != NULL); - - tdata = invite_tsx->last_tx; - - status = pjsip_dlg_modify_response(inv->dlg, tdata, 487, NULL); - if (status == PJ_SUCCESS) { - /* Remove the message body */ - tdata->msg->body = NULL; - if (inv->options & PJSIP_INV_REQUIRE_100REL) { - status = pjsip_100rel_tx_response(inv, tdata); - } else { - status = pjsip_dlg_send_response(inv->dlg, invite_tsx, - tdata); - } - } - } - - if (invite_tsx) - pj_mutex_unlock(invite_tsx->mutex); -} - - -/* - * Respond to incoming BYE request. - */ -static void inv_respond_incoming_bye( pjsip_inv_session *inv, - pjsip_transaction *bye_tsx, - pjsip_rx_data *rdata, - pjsip_event *e ) -{ - pj_status_t status; - pjsip_tx_data *tdata; - - /* Respond BYE with 200: */ - - status = pjsip_dlg_create_response(inv->dlg, rdata, 200, NULL, &tdata); - if (status != PJ_SUCCESS) return; - - status = pjsip_dlg_send_response(inv->dlg, bye_tsx, tdata); - if (status != PJ_SUCCESS) return; - - /* Terminate session: */ - - if (inv->state != PJSIP_INV_STATE_DISCONNECTED) { - inv_set_cause(inv, PJSIP_SC_OK, NULL); - inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); - } -} - -/* - * Respond to BYE request. - */ -static void inv_handle_bye_response( pjsip_inv_session *inv, - pjsip_transaction *tsx, - pjsip_rx_data *rdata, - pjsip_event *e ) -{ - pj_status_t status; - - if (e->body.tsx_state.type != PJSIP_EVENT_RX_MSG) { - inv_set_cause(inv, PJSIP_SC_OK, NULL); - inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); - return; - } - - /* Handle 401/407 challenge. */ - if (tsx->status_code == 401 || tsx->status_code == 407) { - - pjsip_tx_data *tdata; - - status = pjsip_auth_clt_reinit_req( &inv->dlg->auth_sess, - rdata, - tsx->last_tx, - &tdata); - - if (status != PJ_SUCCESS) { - - /* Does not have proper credentials. - * End the session anyway. - */ - inv_set_cause(inv, PJSIP_SC_OK, NULL); - inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); - - } else { - struct tsx_inv_data *tsx_inv_data; - - tsx_inv_data = (struct tsx_inv_data*)tsx->mod_data[mod_inv.mod.id]; - if (tsx_inv_data) - tsx_inv_data->retrying = PJ_TRUE; - - /* Re-send BYE. */ - status = pjsip_inv_send_msg(inv, tdata); - } - - } else { - - /* End the session. */ - inv_set_cause(inv, PJSIP_SC_OK, NULL); - inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); - } - -} - -/* - * Respond to incoming UPDATE request. - */ -static void inv_respond_incoming_update(pjsip_inv_session *inv, - pjsip_rx_data *rdata) -{ - pjmedia_sdp_neg_state neg_state; - pj_status_t status; - pjsip_tx_data *tdata = NULL; - pjsip_status_code st_code; - - /* Invoke Session Timers module */ - status = pjsip_timer_process_req(inv, rdata, &st_code); - if (status != PJ_SUCCESS) { - status = pjsip_dlg_create_response(inv->dlg, rdata, st_code, - NULL, &tdata); - goto on_return; - } - - neg_state = pjmedia_sdp_neg_get_state(inv->neg); - - /* Send 491 if we receive UPDATE while we're waiting for an answer */ - if (neg_state == PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER) { - status = pjsip_dlg_create_response(inv->dlg, rdata, - PJSIP_SC_REQUEST_PENDING, NULL, - &tdata); - } - /* Send 500 with Retry-After header set randomly between 0 and 10 if we - * receive UPDATE while we haven't sent answer. - */ - else if (neg_state == PJMEDIA_SDP_NEG_STATE_REMOTE_OFFER || - neg_state == PJMEDIA_SDP_NEG_STATE_WAIT_NEGO) { - status = pjsip_dlg_create_response(inv->dlg, rdata, - PJSIP_SC_INTERNAL_SERVER_ERROR, - NULL, &tdata); - - /* If UPDATE doesn't contain SDP, just respond with 200/OK. - * This is a valid scenario according to session-timer draft. - */ - } else if (rdata->msg_info.msg->body == NULL) { - - status = pjsip_dlg_create_response(inv->dlg, rdata, - 200, NULL, &tdata); - - } else { - /* We receive new offer from remote */ - inv_check_sdp_in_incoming_msg(inv, pjsip_rdata_get_tsx(rdata), rdata); - - /* Application MUST have supplied the answer by now. - * If so, negotiate the SDP. - */ - neg_state = pjmedia_sdp_neg_get_state(inv->neg); - if (neg_state != PJMEDIA_SDP_NEG_STATE_WAIT_NEGO || - (status=inv_negotiate_sdp(inv)) != PJ_SUCCESS) - { - /* Negotiation has failed. If negotiator is still - * stuck at non-DONE state, cancel any ongoing offer. - */ - neg_state = pjmedia_sdp_neg_get_state(inv->neg); - if (neg_state != PJMEDIA_SDP_NEG_STATE_DONE) { - pjmedia_sdp_neg_cancel_offer(inv->neg); - } - - status = pjsip_dlg_create_response(inv->dlg, rdata, - PJSIP_SC_NOT_ACCEPTABLE_HERE, - NULL, &tdata); - } else { - /* New media has been negotiated successfully, send 200/OK */ - status = pjsip_dlg_create_response(inv->dlg, rdata, - PJSIP_SC_OK, NULL, &tdata); - if (status == PJ_SUCCESS) { - const pjmedia_sdp_session *sdp; - status = pjmedia_sdp_neg_get_active_local(inv->neg, &sdp); - if (status == PJ_SUCCESS) - tdata->msg->body = create_sdp_body(tdata->pool, sdp); - } - } - } - -on_return: - /* Invoke Session Timers */ - if (status == PJ_SUCCESS) - status = pjsip_timer_update_resp(inv, tdata); - - if (status != PJ_SUCCESS) { - if (tdata != NULL) { - pjsip_tx_data_dec_ref(tdata); - tdata = NULL; - } - return; - } - - pjsip_dlg_send_response(inv->dlg, pjsip_rdata_get_tsx(rdata), tdata); -} - - -/* - * Handle incoming response to UAC UPDATE request. - */ -static pj_bool_t inv_handle_update_response( pjsip_inv_session *inv, - pjsip_event *e) -{ - pjsip_transaction *tsx = e->body.tsx_state.tsx; - struct tsx_inv_data *tsx_inv_data; - pj_bool_t handled = PJ_FALSE; - pj_status_t status = -1; - - tsx_inv_data = (struct tsx_inv_data*)tsx->mod_data[mod_inv.mod.id]; - pj_assert(tsx_inv_data); - - /* Handle 401/407 challenge. */ - if (tsx->state == PJSIP_TSX_STATE_COMPLETED && - (tsx->status_code == 401 || tsx->status_code == 407)) - { - pjsip_tx_data *tdata; - - status = pjsip_auth_clt_reinit_req( &inv->dlg->auth_sess, - e->body.tsx_state.src.rdata, - tsx->last_tx, - &tdata); - - if (status != PJ_SUCCESS) { - - /* Somehow failed. Probably it's not a good idea to terminate - * the session since this is just a request within dialog. And - * even if we terminate we should send BYE. - */ - /* - inv_set_cause(inv, PJSIP_SC_OK, NULL); - inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); - */ - - } else { - if (tsx_inv_data) - tsx_inv_data->retrying = PJ_TRUE; - - /* Re-send request. */ - status = pjsip_inv_send_msg(inv, tdata); - } - - handled = PJ_TRUE; - } - - /* Process 422 response */ - else if (tsx->state == PJSIP_TSX_STATE_COMPLETED && - tsx->status_code == 422) - { - status = handle_timer_response(inv, e->body.tsx_state.src.rdata, - PJ_FALSE); - handled = PJ_TRUE; - } - - /* Process 2xx response */ - else if (tsx->state == PJSIP_TSX_STATE_COMPLETED && - tsx->status_code/100 == 2 && - e->body.tsx_state.src.rdata->msg_info.msg->body) - { - status = handle_timer_response(inv, e->body.tsx_state.src.rdata, - PJ_FALSE); - status = inv_check_sdp_in_incoming_msg(inv, tsx, - e->body.tsx_state.src.rdata); - handled = PJ_TRUE; - } - - /* Get/attach invite session's transaction data */ - else - { - /* Session-Timer needs to see any error responses, to determine - * whether peer supports UPDATE with empty body. - */ - if (tsx->state == PJSIP_TSX_STATE_COMPLETED && - tsx->role == PJSIP_ROLE_UAC) - { - status = handle_timer_response(inv, e->body.tsx_state.src.rdata, - PJ_FALSE); - handled = PJ_TRUE; - } - } - - /* Cancel the negotiation if we don't get successful negotiation by now, - * unless it's authentication challenge and the request is being retried. - */ - if (pjmedia_sdp_neg_get_state(inv->neg) == - PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER && - tsx_inv_data && tsx_inv_data->sdp_done == PJ_FALSE && - !tsx_inv_data->retrying) - { - pjmedia_sdp_neg_cancel_offer(inv->neg); - - /* Prevent from us cancelling different offer! */ - tsx_inv_data->sdp_done = PJ_TRUE; - } - - return handled; -} - - -/* - * Handle incoming reliable response. - */ -static void inv_handle_incoming_reliable_response(pjsip_inv_session *inv, - pjsip_rx_data *rdata) -{ - pjsip_tx_data *tdata; - const pjmedia_sdp_session *sdp; - pj_status_t status; - - /* Create PRACK */ - status = pjsip_100rel_create_prack(inv, rdata, &tdata); - if (status != PJ_SUCCESS) - return; - - /* See if we need to attach SDP answer on the PRACK request */ - sdp = inv_has_pending_answer(inv, pjsip_rdata_get_tsx(rdata)); - if (sdp) { - tdata->msg->body = create_sdp_body(tdata->pool, sdp); - } - - /* Send PRACK (must be using 100rel module!) */ - pjsip_100rel_send_prack(inv, tdata); -} - - -/* - * Handle incoming PRACK. - */ -static void inv_respond_incoming_prack(pjsip_inv_session *inv, - pjsip_rx_data *rdata) -{ - pj_status_t status; - - /* Run through 100rel module to see if we can accept this - * PRACK request. The 100rel will send 200/OK to PRACK request. - */ - status = pjsip_100rel_on_rx_prack(inv, rdata); - if (status != PJ_SUCCESS) - return; - - /* Now check for SDP answer in the PRACK request */ - if (rdata->msg_info.msg->body) { - status = inv_check_sdp_in_incoming_msg(inv, - pjsip_rdata_get_tsx(rdata), rdata); - } else { - /* No SDP body */ - status = -1; - } - - /* If SDP negotiation has been successful, also mark the - * SDP negotiation flag in the invite transaction to be - * done too. - */ - if (status == PJ_SUCCESS && inv->invite_tsx) { - struct tsx_inv_data *tsx_inv_data; - - /* Get/attach invite session's transaction data */ - tsx_inv_data = (struct tsx_inv_data*) - inv->invite_tsx->mod_data[mod_inv.mod.id]; - if (tsx_inv_data == NULL) { - tsx_inv_data = PJ_POOL_ZALLOC_T(inv->invite_tsx->pool, - struct tsx_inv_data); - tsx_inv_data->inv = inv; - inv->invite_tsx->mod_data[mod_inv.mod.id] = tsx_inv_data; - } - - tsx_inv_data->sdp_done = PJ_TRUE; - } -} - - -/* - * State NULL is before anything is sent/received. - */ -static void inv_on_state_null( pjsip_inv_session *inv, pjsip_event *e) -{ - pjsip_transaction *tsx = e->body.tsx_state.tsx; - pjsip_dialog *dlg = pjsip_tsx_get_dlg(tsx); - - PJ_ASSERT_ON_FAIL(tsx && dlg, return); - - if (tsx->method.id == PJSIP_INVITE_METHOD) { - - /* Keep the initial INVITE transaction. */ - if (inv->invite_tsx == NULL) - inv->invite_tsx = tsx; - - if (dlg->role == PJSIP_ROLE_UAC) { - - /* Save the original INVITE request, if on_redirected() callback - * is implemented. We may need to resend the INVITE if we receive - * redirection response. - */ - if (mod_inv.cb.on_redirected) { - if (inv->invite_req) { - pjsip_tx_data_dec_ref(inv->invite_req); - inv->invite_req = NULL; - } - inv->invite_req = tsx->last_tx; - pjsip_tx_data_add_ref(inv->invite_req); - } - - switch (tsx->state) { - case PJSIP_TSX_STATE_CALLING: - inv_set_state(inv, PJSIP_INV_STATE_CALLING, e); - break; - default: - inv_on_state_calling(inv, e); - break; - } - - } else { - switch (tsx->state) { - case PJSIP_TSX_STATE_TRYING: - inv_set_state(inv, PJSIP_INV_STATE_INCOMING, e); - break; - case PJSIP_TSX_STATE_PROCEEDING: - inv_set_state(inv, PJSIP_INV_STATE_INCOMING, e); - if (tsx->status_code > 100) - inv_set_state(inv, PJSIP_INV_STATE_EARLY, e); - break; - case PJSIP_TSX_STATE_TERMINATED: - /* there is a failure in sending response. */ - inv_set_cause(inv, tsx->status_code, &tsx->status_text); - inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); - break; - default: - inv_on_state_incoming(inv, e); - break; - } - } - - } else { - pj_assert(!"Unexpected transaction type"); - } -} - -/* - * Generic UAC transaction handler: - * - resend request on 401 or 407 response. - * - terminate dialog on 408 and 481 response. - * - resend request on 422 response. - */ -static pj_bool_t handle_uac_tsx_response(pjsip_inv_session *inv, - pjsip_event *e) -{ - /* RFC 3261 Section 12.2.1.2: - * If the response for a request within a dialog is a 481 - * (Call/Transaction Does Not Exist) or a 408 (Request Timeout), the UAC - * SHOULD terminate the dialog. A UAC SHOULD also terminate a dialog if - * no response at all is received for the request (the client - * transaction would inform the TU about the timeout.) - * - * For INVITE initiated dialogs, terminating the dialog consists of - * sending a BYE. - * - * Note: - * according to X, this should terminate dialog usage only, not the - * dialog. - */ - pjsip_transaction *tsx = e->body.tsx_state.tsx; - - pj_assert(tsx->role == PJSIP_UAC_ROLE); - - /* Note that 481 response to CANCEL does not terminate dialog usage, - * but only the transaction. - */ - if (inv->state != PJSIP_INV_STATE_DISCONNECTED && - ((tsx->status_code == PJSIP_SC_CALL_TSX_DOES_NOT_EXIST && - tsx->method.id != PJSIP_CANCEL_METHOD) || - tsx->status_code == PJSIP_SC_REQUEST_TIMEOUT || - tsx->status_code == PJSIP_SC_TSX_TIMEOUT || - tsx->status_code == PJSIP_SC_TSX_TRANSPORT_ERROR)) - { - pjsip_tx_data *bye; - pj_status_t status; - - inv_set_cause(inv, tsx->status_code, &tsx->status_text); - inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); - - /* Send BYE */ - status = pjsip_dlg_create_request(inv->dlg, pjsip_get_bye_method(), - -1, &bye); - if (status == PJ_SUCCESS) { - pjsip_inv_send_msg(inv, bye); - } - - return PJ_TRUE; /* Handled */ - - } - /* Handle 401/407 challenge. */ - else if (tsx->state == PJSIP_TSX_STATE_COMPLETED && - (tsx->status_code == PJSIP_SC_UNAUTHORIZED || - tsx->status_code == PJSIP_SC_PROXY_AUTHENTICATION_REQUIRED)) - { - pjsip_tx_data *tdata; - pj_status_t status; - - if (tsx->method.id == PJSIP_INVITE_METHOD) - inv->invite_tsx = NULL; - - status = pjsip_auth_clt_reinit_req( &inv->dlg->auth_sess, - e->body.tsx_state.src.rdata, - tsx->last_tx, &tdata); - - if (status != PJ_SUCCESS) { - /* Somehow failed. Probably it's not a good idea to terminate - * the session since this is just a request within dialog. And - * even if we terminate we should send BYE. - */ - /* - inv_set_cause(inv, PJSIP_SC_OK, NULL); - inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); - */ - - } else { - struct tsx_inv_data *tsx_inv_data; - - tsx_inv_data = (struct tsx_inv_data*)tsx->mod_data[mod_inv.mod.id]; - if (tsx_inv_data) - tsx_inv_data->retrying = PJ_TRUE; - - /* Re-send request. */ - status = pjsip_inv_send_msg(inv, tdata); - } - - return PJ_TRUE; /* Handled */ - } - - /* Handle session timer 422 response. */ - else if (tsx->state == PJSIP_TSX_STATE_COMPLETED && - tsx->status_code == PJSIP_SC_SESSION_TIMER_TOO_SMALL) - { - handle_timer_response(inv, e->body.tsx_state.src.rdata, - PJ_FALSE); - - return PJ_TRUE; /* Handled */ - - } else { - return PJ_FALSE; /* Unhandled */ - } -} - - -/* Handle call rejection, especially with regard to processing call - * redirection. We need to handle the following scenarios: - * - 3xx response is received -- see if on_redirected() callback is - * implemented. If so, add the Contact URIs in the response to the - * target set and notify user. - * - 4xx - 6xx resposne is received -- see if we're currently recursing, - * if so fetch the next target if any and notify the on_redirected() - * callback. - * - for other cases -- disconnect the session. - */ -static void handle_uac_call_rejection(pjsip_inv_session *inv, pjsip_event *e) -{ - pjsip_transaction *tsx = e->body.tsx_state.tsx; - pj_status_t status; - - if (PJSIP_IS_STATUS_IN_CLASS(tsx->status_code, 300)) { - - if (mod_inv.cb.on_redirected == NULL) { - - /* Redirection callback is not implemented, disconnect the - * call. - */ - goto terminate_session; - - } else { - const pjsip_msg *res_msg; - - res_msg = e->body.tsx_state.src.rdata->msg_info.msg; - - /* Gather all Contact URI's in the response and add them - * to target set. The function will take care of removing - * duplicate URI's. - */ - pjsip_target_set_add_from_msg(&inv->dlg->target_set, - inv->dlg->pool, res_msg); - - /* Recurse to alternate targets if application allows us */ - if (!inv_uac_recurse(inv, tsx->status_code, &tsx->status_text, e)) - { - /* Recursion fails, terminate session now */ - goto terminate_session; - } - - /* Done */ - } - - } else if ((tsx->status_code==401 || tsx->status_code==407) && - !inv->cancelling) - { - - /* Handle authentication failure: - * Resend the request with Authorization header. - */ - pjsip_tx_data *tdata; - - status = pjsip_auth_clt_reinit_req(&inv->dlg->auth_sess, - e->body.tsx_state.src.rdata, - tsx->last_tx, - &tdata); - - if (status != PJ_SUCCESS) { - - /* Does not have proper credentials. If we are currently - * recursing, try the next target. Otherwise end the session. - */ - if (!inv_uac_recurse(inv, tsx->status_code, &tsx->status_text, e)) - { - /* Recursion fails, terminate session now */ - goto terminate_session; - } - - } else { - - /* Restart session. */ - pjsip_inv_uac_restart(inv, PJ_FALSE); - - /* Send the request. */ - status = pjsip_inv_send_msg(inv, tdata); - } - - } else if (tsx->state == PJSIP_TSX_STATE_COMPLETED && - tsx->status_code == PJSIP_SC_SESSION_TIMER_TOO_SMALL) - { - /* Handle session timer 422 response: - * Resend the request with requested session timer setting. - */ - status = handle_timer_response(inv, e->body.tsx_state.src.rdata, - PJ_TRUE); - - } else if (PJSIP_IS_STATUS_IN_CLASS(tsx->status_code, 600)) { - /* Global error */ - goto terminate_session; - - } else { - /* See if we have alternate target to try */ - if (!inv_uac_recurse(inv, tsx->status_code, &tsx->status_text, e)) { - /* Recursion fails, terminate session now */ - goto terminate_session; - } - } - return; - -terminate_session: - inv_set_cause(inv, tsx->status_code, &tsx->status_text); - inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); -} - - -/* - * State CALLING is after sending initial INVITE request but before - * any response (with tag) is received. - */ -static void inv_on_state_calling( pjsip_inv_session *inv, pjsip_event *e) -{ - pjsip_transaction *tsx = e->body.tsx_state.tsx; - pjsip_dialog *dlg = pjsip_tsx_get_dlg(tsx); - pj_status_t status; - - PJ_ASSERT_ON_FAIL(tsx && dlg, return); - - if (tsx == inv->invite_tsx) { - - switch (tsx->state) { - - case PJSIP_TSX_STATE_CALLING: - inv_set_state(inv, PJSIP_INV_STATE_CALLING, e); - break; - - case PJSIP_TSX_STATE_PROCEEDING: - if (inv->pending_cancel) { - pjsip_tx_data *cancel; - - inv->pending_cancel = PJ_FALSE; - - status = pjsip_inv_end_session(inv, 487, NULL, &cancel); - if (status == PJ_SUCCESS && cancel) - status = pjsip_inv_send_msg(inv, cancel); - } - - if (dlg->remote.info->tag.slen) { - - inv_set_state(inv, PJSIP_INV_STATE_EARLY, e); - - inv_check_sdp_in_incoming_msg(inv, tsx, - e->body.tsx_state.src.rdata); - - if (pjsip_100rel_is_reliable(e->body.tsx_state.src.rdata)) { - inv_handle_incoming_reliable_response( - inv, e->body.tsx_state.src.rdata); - } - - } else { - /* Ignore 100 (Trying) response, as it doesn't change - * session state. It only ceases retransmissions. - */ - } - break; - - case PJSIP_TSX_STATE_COMPLETED: - if (tsx->status_code/100 == 2) { - - /* This should not happen. - * When transaction receives 2xx, it should be terminated - */ - pj_assert(0); - - /* Process session timer response. */ - status = handle_timer_response(inv, - e->body.tsx_state.src.rdata, - PJ_TRUE); - if (status != PJ_SUCCESS) - break; - - inv_set_state(inv, PJSIP_INV_STATE_CONNECTING, e); - - inv_check_sdp_in_incoming_msg(inv, tsx, - e->body.tsx_state.src.rdata); - - } else { - handle_uac_call_rejection(inv, e); - } - break; - - case PJSIP_TSX_STATE_TERMINATED: - /* INVITE transaction can be terminated either because UAC - * transaction received 2xx response or because of transport - * error. - */ - if (tsx->status_code/100 == 2) { - /* This must be receipt of 2xx response */ - - /* Process session timer response. */ - status = handle_timer_response(inv, - e->body.tsx_state.src.rdata, - PJ_TRUE); - if (status != PJ_SUCCESS) - break; - - /* Set state to CONNECTING */ - inv_set_state(inv, PJSIP_INV_STATE_CONNECTING, e); - - inv_check_sdp_in_incoming_msg(inv, tsx, - e->body.tsx_state.src.rdata); - - /* Send ACK */ - pj_assert(e->body.tsx_state.type == PJSIP_EVENT_RX_MSG); - - inv_send_ack(inv, e); - - } else { - inv_set_cause(inv, tsx->status_code, &tsx->status_text); - inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); - } - break; - - default: - break; - } - - } else if (tsx->role == PJSIP_ROLE_UAC) { - /* - * Handle case when outgoing request is answered with 481 (Call/ - * Transaction Does Not Exist), 408, or when it's timed out. In these - * cases, disconnect session (i.e. dialog usage only). - * Note that 481 response to CANCEL does not terminate dialog usage, - * but only the transaction. - */ - if ((tsx->status_code == PJSIP_SC_CALL_TSX_DOES_NOT_EXIST && - tsx->method.id != PJSIP_CANCEL_METHOD) || - tsx->status_code == PJSIP_SC_REQUEST_TIMEOUT || - tsx->status_code == PJSIP_SC_TSX_TIMEOUT || - tsx->status_code == PJSIP_SC_TSX_TRANSPORT_ERROR) - { - inv_set_cause(inv, tsx->status_code, &tsx->status_text); - inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); - } - } -} - -/* - * State INCOMING is after we received the request, but before - * responses with tag are sent. - */ -static void inv_on_state_incoming( pjsip_inv_session *inv, pjsip_event *e) -{ - pjsip_transaction *tsx = e->body.tsx_state.tsx; - pjsip_dialog *dlg = pjsip_tsx_get_dlg(tsx); - - PJ_ASSERT_ON_FAIL(tsx && dlg, return); - - if (tsx == inv->invite_tsx) { - - /* - * Handle the INVITE state transition. - */ - - switch (tsx->state) { - - case PJSIP_TSX_STATE_TRYING: - inv_set_state(inv, PJSIP_INV_STATE_INCOMING, e); - break; - - case PJSIP_TSX_STATE_PROCEEDING: - /* - * Transaction sent provisional response. - */ - if (tsx->status_code > 100) - inv_set_state(inv, PJSIP_INV_STATE_EARLY, e); - break; - - case PJSIP_TSX_STATE_COMPLETED: - /* - * Transaction sent final response. - */ - if (tsx->status_code/100 == 2) { - inv_set_state(inv, PJSIP_INV_STATE_CONNECTING, e); - } else { - inv_set_cause(inv, tsx->status_code, &tsx->status_text); - inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); - } - break; - - case PJSIP_TSX_STATE_TERMINATED: - /* - * This happens on transport error (e.g. failed to send - * response) - */ - inv_set_cause(inv, tsx->status_code, &tsx->status_text); - inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); - break; - - default: - pj_assert(!"Unexpected INVITE state"); - break; - } - - } else if (tsx->method.id == PJSIP_CANCEL_METHOD && - tsx->role == PJSIP_ROLE_UAS && - tsx->state < PJSIP_TSX_STATE_COMPLETED && - e->body.tsx_state.type == PJSIP_EVENT_RX_MSG ) - { - - /* - * Handle incoming CANCEL request. - */ - - inv_respond_incoming_cancel(inv, tsx, e->body.tsx_state.src.rdata); - - } -} - -/* - * State EARLY is for both UAS and UAC, after response with To tag - * is sent/received. - */ -static void inv_on_state_early( pjsip_inv_session *inv, pjsip_event *e) -{ - pjsip_transaction *tsx = e->body.tsx_state.tsx; - pjsip_dialog *dlg = pjsip_tsx_get_dlg(tsx); - - PJ_ASSERT_ON_FAIL(tsx && dlg, return); - - if (tsx == inv->invite_tsx) { - - /* - * Handle the INVITE state progress. - */ - - switch (tsx->state) { - - case PJSIP_TSX_STATE_PROCEEDING: - /* Send/received another provisional response. */ - inv_set_state(inv, PJSIP_INV_STATE_EARLY, e); - - if (e->body.tsx_state.type == PJSIP_EVENT_RX_MSG) { - inv_check_sdp_in_incoming_msg(inv, tsx, - e->body.tsx_state.src.rdata); - - if (pjsip_100rel_is_reliable(e->body.tsx_state.src.rdata)) { - inv_handle_incoming_reliable_response( - inv, e->body.tsx_state.src.rdata); - } - } - break; - - case PJSIP_TSX_STATE_COMPLETED: - if (tsx->status_code/100 == 2) { - inv_set_state(inv, PJSIP_INV_STATE_CONNECTING, e); - if (e->body.tsx_state.type == PJSIP_EVENT_RX_MSG) { - pj_status_t status; - - /* Process session timer response. */ - status = handle_timer_response(inv, - e->body.tsx_state.src.rdata, - PJ_TRUE); - if (status != PJ_SUCCESS) - break; - - inv_check_sdp_in_incoming_msg(inv, tsx, - e->body.tsx_state.src.rdata); - } - - } else if (tsx->role == PJSIP_ROLE_UAC) { - - handle_uac_call_rejection(inv, e); - - } else { - inv_set_cause(inv, tsx->status_code, &tsx->status_text); - inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); - } - break; - - case PJSIP_TSX_STATE_CONFIRMED: - /* For some reason can go here (maybe when ACK for 2xx has - * the same branch value as the INVITE transaction) */ - - case PJSIP_TSX_STATE_TERMINATED: - /* INVITE transaction can be terminated either because UAC - * transaction received 2xx response or because of transport - * error. - */ - if (tsx->status_code/100 == 2) { - - /* This must be receipt of 2xx response */ - - /* Set state to CONNECTING */ - inv_set_state(inv, PJSIP_INV_STATE_CONNECTING, e); - - if (e->body.tsx_state.type == PJSIP_EVENT_RX_MSG) { - pj_status_t status; - - /* Process session timer response. */ - status = handle_timer_response(inv, - e->body.tsx_state.src.rdata, - PJ_TRUE); - if (status != PJ_SUCCESS) - break; - - inv_check_sdp_in_incoming_msg(inv, tsx, - e->body.tsx_state.src.rdata); - } - - /* if UAC, send ACK and move state to confirmed. */ - if (tsx->role == PJSIP_ROLE_UAC) { - pj_assert(e->body.tsx_state.type == PJSIP_EVENT_RX_MSG); - - inv_send_ack(inv, e); - } - - } else { - inv_set_cause(inv, tsx->status_code, &tsx->status_text); - inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); - } - break; - - default: - pj_assert(!"Unexpected INVITE tsx state"); - } - - } else if (inv->role == PJSIP_ROLE_UAS && - tsx->role == PJSIP_ROLE_UAS && - tsx->method.id == PJSIP_CANCEL_METHOD && - tsx->state < PJSIP_TSX_STATE_COMPLETED && - e->body.tsx_state.type == PJSIP_EVENT_RX_MSG ) - { - - /* - * Handle incoming CANCEL request. - */ - - inv_respond_incoming_cancel(inv, tsx, e->body.tsx_state.src.rdata); - - } else if (tsx->role == PJSIP_ROLE_UAS && - tsx->state == PJSIP_TSX_STATE_TRYING && - pjsip_method_cmp(&tsx->method, &pjsip_update_method)==0) - { - /* - * Handle incoming UPDATE - */ - inv_respond_incoming_update(inv, e->body.tsx_state.src.rdata); - - - } else if (tsx->role == PJSIP_ROLE_UAC && - (tsx->state == PJSIP_TSX_STATE_COMPLETED || - tsx->state == PJSIP_TSX_STATE_TERMINATED) && - pjsip_method_cmp(&tsx->method, &pjsip_update_method)==0) - { - /* - * Handle response to outgoing UPDATE request. - */ - inv_handle_update_response(inv, e); - - } else if (tsx->role == PJSIP_ROLE_UAS && - tsx->state == PJSIP_TSX_STATE_TRYING && - pjsip_method_cmp(&tsx->method, &pjsip_prack_method)==0) - { - /* - * Handle incoming PRACK - */ - inv_respond_incoming_prack(inv, e->body.tsx_state.src.rdata); - - } else if (tsx->role == PJSIP_ROLE_UAC) { - - /* Generic handling for UAC tsx completion */ - handle_uac_tsx_response(inv, e); - - } else if (tsx->role == PJSIP_ROLE_UAS && - tsx->method.id == PJSIP_BYE_METHOD && - tsx->status_code < 200 && - e->body.tsx_state.type == PJSIP_EVENT_RX_MSG) - { - /* Received BYE before the 2xx/OK response to INVITE. - * Assume that the 2xx/OK response is lost and the BYE - * arrives earlier. - */ - inv_respond_incoming_bye(inv, tsx, e->body.tsx_state.src.rdata, e); - - if (inv->invite_tsx->role == PJSIP_ROLE_UAC) { - /* Set timer just in case we will never get the final response - * for INVITE. - */ - pjsip_tsx_set_timeout(inv->invite_tsx, 64*pjsip_cfg()->tsx.t1); - } else if (inv->invite_tsx->status_code < 200) { - pjsip_tx_data *tdata; - pjsip_msg *msg; - - /* For UAS, send a final response. */ - tdata = inv->invite_tsx->last_tx; - PJ_ASSERT_ON_FAIL(tdata != NULL, return); - - msg = tdata->msg; - msg->line.status.code = PJSIP_SC_REQUEST_TERMINATED; - msg->line.status.reason = - *pjsip_get_status_text(PJSIP_SC_REQUEST_TERMINATED); - msg->body = NULL; - - pjsip_tx_data_invalidate_msg(tdata); - pjsip_tx_data_add_ref(tdata); - - pjsip_dlg_send_response(inv->dlg, inv->invite_tsx, tdata); - } - } -} - -/* - * State CONNECTING is after 2xx response to INVITE is sent/received. - */ -static void inv_on_state_connecting( pjsip_inv_session *inv, pjsip_event *e) -{ - pjsip_transaction *tsx = e->body.tsx_state.tsx; - pjsip_dialog *dlg = pjsip_tsx_get_dlg(tsx); - - PJ_ASSERT_ON_FAIL(tsx && dlg, return); - - if (tsx == inv->invite_tsx) { - - /* - * Handle INVITE state progression. - */ - switch (tsx->state) { - - case PJSIP_TSX_STATE_CONFIRMED: - /* It can only go here if incoming ACK request has the same Via - * branch parameter as the INVITE transaction. - */ - if (tsx->status_code/100 == 2) { - if (e->body.tsx_state.type == PJSIP_EVENT_RX_MSG) { - inv_check_sdp_in_incoming_msg(inv, tsx, - e->body.tsx_state.src.rdata); - } - - inv_set_state(inv, PJSIP_INV_STATE_CONFIRMED, e); - } - break; - - case PJSIP_TSX_STATE_TERMINATED: - /* INVITE transaction can be terminated either because UAC - * transaction received 2xx response or because of transport - * error. - */ - if (tsx->status_code/100 != 2) { - if (tsx->role == PJSIP_ROLE_UAC) { - inv_set_cause(inv, tsx->status_code, &tsx->status_text); - inv_set_state(inv, PJSIP_INV_STATE_DISCONNECTED, e); - } else { - pjsip_tx_data *bye; - pj_status_t status; - - /* Send BYE */ - status = pjsip_dlg_create_request(inv->dlg, - pjsip_get_bye_method(), - -1, &bye); - if (status == PJ_SUCCESS) { - pjsip_inv_send_msg(inv, bye); - } - } - } - break; - - case PJSIP_TSX_STATE_DESTROYED: - /* Do nothing. */ - break; - - default: - pj_assert(!"Unexpected state"); - } - - } else if (tsx->role == PJSIP_ROLE_UAS && - tsx->method.id == PJSIP_BYE_METHOD && - tsx->status_code < 200 && - e->body.tsx_state.type == PJSIP_EVENT_RX_MSG) - { - - /* - * Handle incoming BYE. - */ - - inv_respond_incoming_bye( inv, tsx, e->body.tsx_state.src.rdata, e ); - - } else if (tsx->method.id == PJSIP_BYE_METHOD && - tsx->role == PJSIP_ROLE_UAC && - (tsx->state == PJSIP_TSX_STATE_COMPLETED || - tsx->state == PJSIP_TSX_STATE_TERMINATED)) - { - - /* - * Outgoing BYE - */ - inv_handle_bye_response( inv, tsx, e->body.tsx_state.src.rdata, e); - - } - else if (tsx->method.id == PJSIP_CANCEL_METHOD && - tsx->role == PJSIP_ROLE_UAS && - tsx->status_code < 200 && - e->body.tsx_state.type == PJSIP_EVENT_RX_MSG) - { - - /* - * Handle strandled incoming CANCEL. - */ - pjsip_rx_data *rdata = e->body.tsx_state.src.rdata; - pjsip_tx_data *tdata; - pj_status_t status; - - status = pjsip_dlg_create_response(dlg, rdata, 200, NULL, &tdata); - if (status != PJ_SUCCESS) return; - - status = pjsip_dlg_send_response(dlg, tsx, tdata); - if (status != PJ_SUCCESS) return; - - } else if (tsx->role == PJSIP_ROLE_UAS && - tsx->state == PJSIP_TSX_STATE_TRYING && - pjsip_method_cmp(&tsx->method, &pjsip_invite_method)==0) - { - pjsip_rx_data *rdata = e->body.tsx_state.src.rdata; - pjsip_tx_data *tdata; - pj_status_t status; - - /* See https://trac.pjsip.org/repos/ticket/1455 - * Handle incoming re-INVITE before current INVITE is confirmed. - * According to RFC 5407: - * - answer with 200 if we don't have pending offer-answer - * - answer with 491 if we *have* pending offer-answer - * - * But unfortunately accepting the re-INVITE would mean we have - * two outstanding INVITEs, and we don't support that because - * we will get confused when we handle the ACK. - */ - status = pjsip_dlg_create_response(inv->dlg, rdata, - PJSIP_SC_REQUEST_PENDING, - NULL, &tdata); - if (status != PJ_SUCCESS) - return; - pjsip_timer_update_resp(inv, tdata); - status = pjsip_dlg_send_response(dlg, tsx, tdata); - - } else if (tsx->role == PJSIP_ROLE_UAS && - tsx->state == PJSIP_TSX_STATE_TRYING && - pjsip_method_cmp(&tsx->method, &pjsip_update_method)==0) - { - /* - * Handle incoming UPDATE - */ - inv_respond_incoming_update(inv, e->body.tsx_state.src.rdata); - - - } else if (tsx->role == PJSIP_ROLE_UAC && - (tsx->state == PJSIP_TSX_STATE_COMPLETED || - tsx->state == PJSIP_TSX_STATE_TERMINATED) && - pjsip_method_cmp(&tsx->method, &pjsip_update_method)==0) - { - /* - * Handle response to outgoing UPDATE request. - */ - if (inv_handle_update_response(inv, e) == PJ_FALSE) - handle_uac_tsx_response(inv, e); - - } else if (tsx->role == PJSIP_ROLE_UAS && - tsx->state == PJSIP_TSX_STATE_TRYING && - pjsip_method_cmp(&tsx->method, &pjsip_prack_method)==0) - { - /* - * Handle incoming PRACK - */ - inv_respond_incoming_prack(inv, e->body.tsx_state.src.rdata); - - } else if (tsx->role == PJSIP_ROLE_UAC) { - - /* Generic handling for UAC tsx completion */ - handle_uac_tsx_response(inv, e); - - } - -} - -/* - * State CONFIRMED is after ACK is sent/received. - */ -static void inv_on_state_confirmed( pjsip_inv_session *inv, pjsip_event *e) -{ - pjsip_transaction *tsx = e->body.tsx_state.tsx; - pjsip_dialog *dlg = pjsip_tsx_get_dlg(tsx); - - PJ_ASSERT_ON_FAIL(tsx && dlg, return); - - - if (tsx->method.id == PJSIP_BYE_METHOD && - tsx->role == PJSIP_ROLE_UAC && - (tsx->state == PJSIP_TSX_STATE_COMPLETED || - tsx->state == PJSIP_TSX_STATE_TERMINATED)) - { - - /* - * Outgoing BYE - */ - - inv_handle_bye_response( inv, tsx, e->body.tsx_state.src.rdata, e); - - } - else if (tsx->method.id == PJSIP_BYE_METHOD && - tsx->role == PJSIP_ROLE_UAS && - tsx->status_code < 200 && - e->body.tsx_state.type == PJSIP_EVENT_RX_MSG) - { - - /* - * Handle incoming BYE. - */ - - inv_respond_incoming_bye( inv, tsx, e->body.tsx_state.src.rdata, e ); - - } - else if (tsx->method.id == PJSIP_CANCEL_METHOD && - tsx->role == PJSIP_ROLE_UAS && - tsx->status_code < 200 && - e->body.tsx_state.type == PJSIP_EVENT_RX_MSG) - { - - /* - * Handle strandled incoming CANCEL. - */ - pjsip_rx_data *rdata = e->body.tsx_state.src.rdata; - pjsip_tx_data *tdata; - pj_status_t status; - - status = pjsip_dlg_create_response(dlg, rdata, 200, NULL, &tdata); - if (status != PJ_SUCCESS) return; - - status = pjsip_dlg_send_response(dlg, tsx, tdata); - if (status != PJ_SUCCESS) return; - - } - else if (tsx->method.id == PJSIP_INVITE_METHOD && - tsx->role == PJSIP_ROLE_UAS) - { - - /* - * Handle incoming re-INVITE - */ - if (tsx->state == PJSIP_TSX_STATE_TRYING) { - - pjsip_rx_data *rdata = e->body.tsx_state.src.rdata; - pjsip_tx_data *tdata; - pj_status_t status; - pjsip_rdata_sdp_info *sdp_info; - pjsip_status_code st_code; - - /* Check if we have INVITE pending. */ - if (inv->invite_tsx && inv->invite_tsx!=tsx) { - int code; - pj_str_t reason; - - reason = pj_str("Another INVITE transaction in progress"); - - if (inv->invite_tsx->role == PJSIP_ROLE_UAC) - code = 491; - else - code = 500; - - /* Can not receive re-INVITE while another one is pending. */ - status = pjsip_dlg_create_response( inv->dlg, rdata, code, - &reason, &tdata); - if (status != PJ_SUCCESS) - return; - - if (code == 500) { - /* MUST include Retry-After header with random value - * between 0-10. - */ - pjsip_retry_after_hdr *ra_hdr; - int val = (pj_rand() % 10); - - ra_hdr = pjsip_retry_after_hdr_create(tdata->pool, val); - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)ra_hdr); - } - - status = pjsip_dlg_send_response( inv->dlg, tsx, tdata); - - - return; - } - - /* Save the invite transaction. */ - inv->invite_tsx = tsx; - - /* Process session timers headers in the re-INVITE */ - status = pjsip_timer_process_req(inv, rdata, &st_code); - if (status != PJ_SUCCESS) { - status = pjsip_dlg_create_response(inv->dlg, rdata, st_code, - NULL, &tdata); - if (status != PJ_SUCCESS) - return; - - pjsip_timer_update_resp(inv, tdata); - status = pjsip_dlg_send_response(dlg, tsx, tdata); - return; - } - - /* Send 491 if we receive re-INVITE while another offer/answer - * negotiation is in progress - */ - if (pjmedia_sdp_neg_get_state(inv->neg) != - PJMEDIA_SDP_NEG_STATE_DONE) - { - status = pjsip_dlg_create_response(inv->dlg, rdata, - PJSIP_SC_REQUEST_PENDING, - NULL, &tdata); - if (status != PJ_SUCCESS) - return; - pjsip_timer_update_resp(inv, tdata); - status = pjsip_dlg_send_response(dlg, tsx, tdata); - return; - } - - /* Process SDP in incoming message. */ - status = inv_check_sdp_in_incoming_msg(inv, tsx, rdata); - - if (status != PJ_SUCCESS) { - - /* Not Acceptable */ - const pjsip_hdr *accept; - - /* The incoming SDP is unacceptable. If the SDP negotiator - * state has just been changed, i.e: DONE -> REMOTE_OFFER, - * revert it back. - */ - if (pjmedia_sdp_neg_get_state(inv->neg) == - PJMEDIA_SDP_NEG_STATE_REMOTE_OFFER) - { - pjmedia_sdp_neg_cancel_offer(inv->neg); - } - - status = pjsip_dlg_create_response(inv->dlg, rdata, - 488, NULL, &tdata); - if (status != PJ_SUCCESS) - return; - - - accept = pjsip_endpt_get_capability(dlg->endpt, PJSIP_H_ACCEPT, - NULL); - if (accept) { - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*) - pjsip_hdr_clone(tdata->pool, accept)); - } - - status = pjsip_dlg_send_response(dlg, tsx, tdata); - - return; - } - - /* Create 2xx ANSWER */ - status = pjsip_dlg_create_response(dlg, rdata, 200, NULL, &tdata); - if (status != PJ_SUCCESS) - return; - - /* If the INVITE request has SDP body, send answer. - * Otherwise generate offer from local active SDP. - */ - sdp_info = pjsip_rdata_get_sdp_info(rdata); - if (sdp_info->sdp != NULL) { - status = process_answer(inv, 200, tdata, NULL); - } else { - /* INVITE does not have SDP. - * If on_create_offer() callback is implemented, ask app. - * to generate an offer, otherwise just send active local - * SDP to signal that nothing gets modified. - */ - pjmedia_sdp_session *sdp = NULL; - - if (mod_inv.cb.on_create_offer) { - (*mod_inv.cb.on_create_offer)(inv, &sdp); - if (sdp) { - /* Notify negotiator about the new offer. This will - * fix the offer with correct SDP origin. - */ - status = - pjmedia_sdp_neg_modify_local_offer(inv->pool_prov, - inv->neg, - sdp); - - /* Retrieve the "fixed" offer from negotiator */ - if (status==PJ_SUCCESS) { - const pjmedia_sdp_session *lsdp = NULL; - pjmedia_sdp_neg_get_neg_local(inv->neg, &lsdp); - sdp = (pjmedia_sdp_session*)lsdp; - } - } - } - - if (sdp == NULL) { - const pjmedia_sdp_session *active_sdp = NULL; - status = pjmedia_sdp_neg_send_local_offer(inv->pool_prov, - inv->neg, - &active_sdp); - if (status == PJ_SUCCESS) - sdp = (pjmedia_sdp_session*) active_sdp; - } - - if (sdp) { - tdata->msg->body = create_sdp_body(tdata->pool, sdp); - } - } - - if (status != PJ_SUCCESS) { - /* - * SDP negotiation has failed. - */ - pj_status_t rc; - pj_str_t reason; - - /* Delete the 2xx answer */ - pjsip_tx_data_dec_ref(tdata); - - /* Create 500 response */ - reason = pj_str("SDP negotiation failed"); - rc = pjsip_dlg_create_response(dlg, rdata, 500, &reason, - &tdata); - if (rc == PJ_SUCCESS) { - pjsip_warning_hdr *w; - const pj_str_t *endpt_name; - - endpt_name = pjsip_endpt_name(dlg->endpt); - w = pjsip_warning_hdr_create_from_status(tdata->pool, - endpt_name, - status); - if (w) - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)w); - - pjsip_inv_send_msg(inv, tdata); - } - return; - } - - /* Invoke Session Timers */ - pjsip_timer_update_resp(inv, tdata); - - /* Send 2xx regardless of the status of negotiation */ - status = pjsip_inv_send_msg(inv, tdata); - - } else if (tsx->state == PJSIP_TSX_STATE_CONFIRMED) { - /* This is the case where ACK has the same branch as - * the INVITE request. - */ - if (tsx->status_code/100 == 2 && - e->body.tsx_state.type == PJSIP_EVENT_RX_MSG) - { - inv_check_sdp_in_incoming_msg(inv, tsx, - e->body.tsx_state.src.rdata); - - /* Check if local offer got no SDP answer */ - if (pjmedia_sdp_neg_get_state(inv->neg)== - PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER) - { - pjmedia_sdp_neg_cancel_offer(inv->neg); - } - } - - } - - } - else if (tsx->method.id == PJSIP_INVITE_METHOD && - tsx->role == PJSIP_ROLE_UAC) - { - - /* - * Handle outgoing re-INVITE - */ - if (tsx->state == PJSIP_TSX_STATE_CALLING) { - - /* Must not have other pending INVITE transaction */ - pj_assert(inv->invite_tsx==NULL || tsx==inv->invite_tsx); - - /* Save pending invite transaction */ - inv->invite_tsx = tsx; - - } else if (tsx->state == PJSIP_TSX_STATE_TERMINATED && - tsx->status_code/100 == 2) - { - pj_status_t status; - - /* Re-INVITE was accepted. */ - - /* Process session timer response. */ - status = handle_timer_response(inv, - e->body.tsx_state.src.rdata, - PJ_TRUE); - if (status != PJ_SUCCESS) - return; - - /* Process SDP */ - inv_check_sdp_in_incoming_msg(inv, tsx, - e->body.tsx_state.src.rdata); - - /* Check if local offer got no SDP answer */ - if (pjmedia_sdp_neg_get_state(inv->neg)== - PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER) - { - pjmedia_sdp_neg_cancel_offer(inv->neg); - } - - /* Send ACK */ - inv_send_ack(inv, e); - - } else if (handle_uac_tsx_response(inv, e)) { - - /* Handle response that terminates dialog */ - /* Nothing to do (already handled) */ - - } else if (tsx->status_code >= 300 && tsx->status_code < 700) { - - pjmedia_sdp_neg_state neg_state; - struct tsx_inv_data *tsx_inv_data; - - tsx_inv_data = (struct tsx_inv_data*)tsx->mod_data[mod_inv.mod.id]; - - /* Outgoing INVITE transaction has failed, cancel SDP nego */ - neg_state = pjmedia_sdp_neg_get_state(inv->neg); - if (neg_state == PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER && - tsx_inv_data->retrying == PJ_FALSE) - { - pjmedia_sdp_neg_cancel_offer(inv->neg); - } - - if (tsx == inv->invite_tsx) - inv->invite_tsx = NULL; - } - - } else if (tsx->role == PJSIP_ROLE_UAS && - tsx->state == PJSIP_TSX_STATE_TRYING && - pjsip_method_cmp(&tsx->method, &pjsip_update_method)==0) - { - /* - * Handle incoming UPDATE - */ - inv_respond_incoming_update(inv, e->body.tsx_state.src.rdata); - - } else if (tsx->role == PJSIP_ROLE_UAC && - (tsx->state == PJSIP_TSX_STATE_COMPLETED || - tsx->state == PJSIP_TSX_STATE_TERMINATED) && - pjsip_method_cmp(&tsx->method, &pjsip_update_method)==0) - { - /* - * Handle response to outgoing UPDATE request. - */ - if (inv_handle_update_response(inv, e) == PJ_FALSE) - handle_uac_tsx_response(inv, e); - - } else if (tsx->role == PJSIP_ROLE_UAS && - tsx->state == PJSIP_TSX_STATE_TRYING && - pjsip_method_cmp(&tsx->method, &pjsip_prack_method)==0) - { - /* - * Handle strandled incoming PRACK - */ - inv_respond_incoming_prack(inv, e->body.tsx_state.src.rdata); - - } else if (tsx->role == PJSIP_ROLE_UAC) { - /* - * Handle 401/407/408/481/422 response - */ - handle_uac_tsx_response(inv, e); - } - -} - -/* - * After session has been terminated, but before dialog is destroyed - * (because dialog has other usages, or because dialog is waiting for - * the last transaction to terminate). - */ -static void inv_on_state_disconnected( pjsip_inv_session *inv, pjsip_event *e) -{ - pjsip_transaction *tsx = e->body.tsx_state.tsx; - pjsip_dialog *dlg = pjsip_tsx_get_dlg(tsx); - - PJ_ASSERT_ON_FAIL(tsx && dlg, return); - - if (tsx->role == PJSIP_ROLE_UAS && - tsx->status_code < 200 && - e->body.tsx_state.type == PJSIP_EVENT_RX_MSG) - { - pjsip_rx_data *rdata = e->body.tsx_state.src.rdata; - - /* - * Respond BYE with 200/OK - */ - if (tsx->method.id == PJSIP_BYE_METHOD) { - inv_respond_incoming_bye( inv, tsx, rdata, e ); - } else if (tsx->method.id == PJSIP_CANCEL_METHOD) { - /* - * Respond CANCEL with 200/OK too. - */ - pjsip_tx_data *tdata; - pj_status_t status; - - status = pjsip_dlg_create_response(dlg, rdata, 200, NULL, &tdata); - if (status != PJ_SUCCESS) return; - - status = pjsip_dlg_send_response(dlg, tsx, tdata); - if (status != PJ_SUCCESS) return; - - } - - } else if (tsx->role == PJSIP_ROLE_UAC) { - /* - * Handle 401/407/408/481/422 response - */ - handle_uac_tsx_response(inv, e); - } -} - diff --git a/res/pjproject/pjsip/src/pjsip-ua/sip_reg.c b/res/pjproject/pjsip/src/pjsip-ua/sip_reg.c deleted file mode 100644 index c02c17bbf5..0000000000 --- a/res/pjproject/pjsip/src/pjsip-ua/sip_reg.c +++ /dev/null @@ -1,1310 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#define REFRESH_TIMER 1 -#define DELAY_BEFORE_REFRESH PJSIP_REGISTER_CLIENT_DELAY_BEFORE_REFRESH -#define THIS_FILE "sip_reg.c" - -/* Outgoing transaction timeout when server sends 100 but never replies - * with final response. Value is in MILISECONDS! - */ -#define REGC_TSX_TIMEOUT 33000 - -enum { NOEXP = 0x1FFFFFFF }; - -static const pj_str_t XUID_PARAM_NAME = { "x-uid", 5 }; - - -/* Current/pending operation */ -enum regc_op -{ - REGC_IDLE, - REGC_REGISTERING, - REGC_UNREGISTERING -}; - -/** - * SIP client registration structure. - */ -struct pjsip_regc -{ - pj_pool_t *pool; - pjsip_endpoint *endpt; - pj_lock_t *lock; - pj_bool_t _delete_flag; - pj_bool_t has_tsx; - pj_atomic_t *busy_ctr; - enum regc_op current_op; - - pj_bool_t add_xuid_param; - - void *token; - pjsip_regc_cb *cb; - - pj_str_t str_srv_url; - pjsip_uri *srv_url; - pjsip_cid_hdr *cid_hdr; - pjsip_cseq_hdr *cseq_hdr; - pj_str_t from_uri; - pjsip_from_hdr *from_hdr; - pjsip_to_hdr *to_hdr; - pjsip_contact_hdr contact_hdr_list; - pjsip_contact_hdr removed_contact_hdr_list; - pjsip_expires_hdr *expires_hdr; - pj_uint32_t expires; - pj_uint32_t delay_before_refresh; - pjsip_route_hdr route_set; - pjsip_hdr hdr_list; - - /* Authorization sessions. */ - pjsip_auth_clt_sess auth_sess; - - /* Auto refresh registration. */ - pj_bool_t auto_reg; - pj_time_val last_reg; - pj_time_val next_reg; - pj_timer_entry timer; - - /* Transport selector */ - pjsip_tpselector tp_sel; - - /* Last transport used. We acquire the transport to keep - * it open. - */ - pjsip_transport *last_transport; -}; - - -PJ_DEF(pj_status_t) pjsip_regc_create( pjsip_endpoint *endpt, void *token, - pjsip_regc_cb *cb, - pjsip_regc **p_regc) -{ - pj_pool_t *pool; - pjsip_regc *regc; - pj_status_t status; - - /* Verify arguments. */ - PJ_ASSERT_RETURN(endpt && cb && p_regc, PJ_EINVAL); - - pool = pjsip_endpt_create_pool(endpt, "regc%p", 1024, 1024); - PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); - - regc = PJ_POOL_ZALLOC_T(pool, pjsip_regc); - - regc->pool = pool; - regc->endpt = endpt; - regc->token = token; - regc->cb = cb; - regc->expires = PJSIP_REGC_EXPIRATION_NOT_SPECIFIED; - regc->add_xuid_param = pjsip_cfg()->regc.add_xuid_param; - - status = pj_lock_create_recursive_mutex(pool, pool->obj_name, - ®c->lock); - if (status != PJ_SUCCESS) { - pj_pool_release(pool); - return status; - } - - status = pj_atomic_create(pool, 0, ®c->busy_ctr); - if (status != PJ_SUCCESS) { - pj_lock_destroy(regc->lock); - pj_pool_release(pool); - return status; - } - - status = pjsip_auth_clt_init(®c->auth_sess, endpt, regc->pool, 0); - if (status != PJ_SUCCESS) - return status; - - pj_list_init(®c->route_set); - pj_list_init(®c->hdr_list); - pj_list_init(®c->contact_hdr_list); - pj_list_init(®c->removed_contact_hdr_list); - - /* Done */ - *p_regc = regc; - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjsip_regc_destroy(pjsip_regc *regc) -{ - PJ_ASSERT_RETURN(regc, PJ_EINVAL); - - pj_lock_acquire(regc->lock); - if (regc->has_tsx || pj_atomic_get(regc->busy_ctr) != 0) { - regc->_delete_flag = 1; - regc->cb = NULL; - pj_lock_release(regc->lock); - } else { - pjsip_tpselector_dec_ref(®c->tp_sel); - if (regc->last_transport) { - pjsip_transport_dec_ref(regc->last_transport); - regc->last_transport = NULL; - } - if (regc->timer.id != 0) { - pjsip_endpt_cancel_timer(regc->endpt, ®c->timer); - regc->timer.id = 0; - } - pj_atomic_destroy(regc->busy_ctr); - pj_lock_release(regc->lock); - pj_lock_destroy(regc->lock); - regc->lock = NULL; - pjsip_endpt_release_pool(regc->endpt, regc->pool); - } - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjsip_regc_get_info( pjsip_regc *regc, - pjsip_regc_info *info ) -{ - PJ_ASSERT_RETURN(regc && info, PJ_EINVAL); - - pj_lock_acquire(regc->lock); - - info->server_uri = regc->str_srv_url; - info->client_uri = regc->from_uri; - info->is_busy = (pj_atomic_get(regc->busy_ctr) || regc->has_tsx); - info->auto_reg = regc->auto_reg; - info->interval = regc->expires; - info->transport = regc->last_transport; - - if (regc->has_tsx) - info->next_reg = 0; - else if (regc->auto_reg == 0) - info->next_reg = 0; - else if (regc->expires < 0) - info->next_reg = regc->expires; - else { - pj_time_val now, next_reg; - - next_reg = regc->next_reg; - pj_gettimeofday(&now); - PJ_TIME_VAL_SUB(next_reg, now); - info->next_reg = next_reg.sec; - } - - pj_lock_release(regc->lock); - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_pool_t*) pjsip_regc_get_pool(pjsip_regc *regc) -{ - return regc->pool; -} - -static void set_expires( pjsip_regc *regc, pj_uint32_t expires) -{ - if (expires != regc->expires) { - regc->expires_hdr = pjsip_expires_hdr_create(regc->pool, expires); - } else { - regc->expires_hdr = NULL; - } -} - - -static pj_status_t set_contact( pjsip_regc *regc, - int contact_cnt, - const pj_str_t contact[] ) -{ - const pj_str_t CONTACT = { "Contact", 7 }; - pjsip_contact_hdr *h; - int i; - - /* Save existing contact list to removed_contact_hdr_list and - * clear contact_hdr_list. - */ - pj_list_merge_last(®c->removed_contact_hdr_list, - ®c->contact_hdr_list); - - /* Set the expiration of Contacts in to removed_contact_hdr_list - * zero. - */ - h = regc->removed_contact_hdr_list.next; - while (h != ®c->removed_contact_hdr_list) { - h->expires = 0; - h = h->next; - } - - /* Process new contacts */ - for (i=0; ipool, &tmp, &contact[i]); - hdr = (pjsip_contact_hdr*) - pjsip_parse_hdr(regc->pool, &CONTACT, tmp.ptr, tmp.slen, NULL); - if (hdr == NULL) { - PJ_LOG(4,(THIS_FILE, "Invalid Contact: \"%.*s\"", - (int)tmp.slen, tmp.ptr)); - return PJSIP_EINVALIDURI; - } - - /* Find the new contact in old contact list. If found, remove - * the old header from the old header list. - */ - h = regc->removed_contact_hdr_list.next; - while (h != ®c->removed_contact_hdr_list) { - int rc; - - rc = pjsip_uri_cmp(PJSIP_URI_IN_CONTACT_HDR, - h->uri, hdr->uri); - if (rc == 0) { - /* Match */ - pj_list_erase(h); - break; - } - - h = h->next; - } - - /* If add_xuid_param option is enabled and Contact URI is sip/sips, - * add xuid parameter to assist matching the Contact URI in the - * REGISTER response later. - */ - if (regc->add_xuid_param && (PJSIP_URI_SCHEME_IS_SIP(hdr->uri) || - PJSIP_URI_SCHEME_IS_SIPS(hdr->uri))) - { - pjsip_param *xuid_param; - pjsip_sip_uri *sip_uri; - - xuid_param = PJ_POOL_ZALLOC_T(regc->pool, pjsip_param); - xuid_param->name = XUID_PARAM_NAME; - pj_create_unique_string(regc->pool, &xuid_param->value); - - sip_uri = (pjsip_sip_uri*) pjsip_uri_get_uri(hdr->uri); - pj_list_push_back(&sip_uri->other_param, xuid_param); - } - - pj_list_push_back(®c->contact_hdr_list, hdr); - } - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjsip_regc_init( pjsip_regc *regc, - const pj_str_t *srv_url, - const pj_str_t *from_url, - const pj_str_t *to_url, - int contact_cnt, - const pj_str_t contact[], - pj_uint32_t expires) -{ - pj_str_t tmp; - pj_status_t status; - - PJ_ASSERT_RETURN(regc && srv_url && from_url && to_url && - contact_cnt && contact && expires, PJ_EINVAL); - - /* Copy server URL. */ - pj_strdup_with_null(regc->pool, ®c->str_srv_url, srv_url); - - /* Set server URL. */ - tmp = regc->str_srv_url; - regc->srv_url = pjsip_parse_uri( regc->pool, tmp.ptr, tmp.slen, 0); - if (regc->srv_url == NULL) { - return PJSIP_EINVALIDURI; - } - - /* Set "From" header. */ - pj_strdup_with_null(regc->pool, ®c->from_uri, from_url); - tmp = regc->from_uri; - regc->from_hdr = pjsip_from_hdr_create(regc->pool); - regc->from_hdr->uri = pjsip_parse_uri(regc->pool, tmp.ptr, tmp.slen, - PJSIP_PARSE_URI_AS_NAMEADDR); - if (!regc->from_hdr->uri) { - PJ_LOG(4,(THIS_FILE, "regc: invalid source URI %.*s", - from_url->slen, from_url->ptr)); - return PJSIP_EINVALIDURI; - } - - /* Set "To" header. */ - pj_strdup_with_null(regc->pool, &tmp, to_url); - regc->to_hdr = pjsip_to_hdr_create(regc->pool); - regc->to_hdr->uri = pjsip_parse_uri(regc->pool, tmp.ptr, tmp.slen, - PJSIP_PARSE_URI_AS_NAMEADDR); - if (!regc->to_hdr->uri) { - PJ_LOG(4,(THIS_FILE, "regc: invalid target URI %.*s", to_url->slen, to_url->ptr)); - return PJSIP_EINVALIDURI; - } - - - /* Set "Contact" header. */ - status = set_contact( regc, contact_cnt, contact); - if (status != PJ_SUCCESS) - return status; - - /* Set "Expires" header, if required. */ - set_expires( regc, expires); - regc->delay_before_refresh = DELAY_BEFORE_REFRESH; - - /* Set "Call-ID" header. */ - regc->cid_hdr = pjsip_cid_hdr_create(regc->pool); - pj_create_unique_string(regc->pool, ®c->cid_hdr->id); - - /* Set "CSeq" header. */ - regc->cseq_hdr = pjsip_cseq_hdr_create(regc->pool); - regc->cseq_hdr->cseq = pj_rand() % 0xFFFF; - pjsip_method_set( ®c->cseq_hdr->method, PJSIP_REGISTER_METHOD); - - /* Done. */ - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjsip_regc_set_credentials( pjsip_regc *regc, - int count, - const pjsip_cred_info cred[] ) -{ - PJ_ASSERT_RETURN(regc && count && cred, PJ_EINVAL); - return pjsip_auth_clt_set_credentials(®c->auth_sess, count, cred); -} - -PJ_DEF(pj_status_t) pjsip_regc_set_prefs( pjsip_regc *regc, - const pjsip_auth_clt_pref *pref) -{ - PJ_ASSERT_RETURN(regc && pref, PJ_EINVAL); - return pjsip_auth_clt_set_prefs(®c->auth_sess, pref); -} - -PJ_DEF(pj_status_t) pjsip_regc_set_route_set( pjsip_regc *regc, - const pjsip_route_hdr *route_set) -{ - const pjsip_route_hdr *chdr; - - PJ_ASSERT_RETURN(regc && route_set, PJ_EINVAL); - - pj_list_init(®c->route_set); - - chdr = route_set->next; - while (chdr != route_set) { - pj_list_push_back(®c->route_set, pjsip_hdr_clone(regc->pool, chdr)); - chdr = chdr->next; - } - - return PJ_SUCCESS; -} - - -/* - * Bind client registration to a specific transport/listener. - */ -PJ_DEF(pj_status_t) pjsip_regc_set_transport( pjsip_regc *regc, - const pjsip_tpselector *sel) -{ - PJ_ASSERT_RETURN(regc && sel, PJ_EINVAL); - - pjsip_tpselector_dec_ref(®c->tp_sel); - pj_memcpy(®c->tp_sel, sel, sizeof(*sel)); - pjsip_tpselector_add_ref(®c->tp_sel); - - return PJ_SUCCESS; -} - -/* Release transport */ -PJ_DEF(pj_status_t) pjsip_regc_release_transport(pjsip_regc *regc) -{ - PJ_ASSERT_RETURN(regc, PJ_EINVAL); - if (regc->last_transport) { - pjsip_transport_dec_ref(regc->last_transport); - regc->last_transport = NULL; - } - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjsip_regc_add_headers( pjsip_regc *regc, - const pjsip_hdr *hdr_list) -{ - const pjsip_hdr *hdr; - - PJ_ASSERT_RETURN(regc && hdr_list, PJ_EINVAL); - - //This is "add" operation, so don't remove headers. - //pj_list_init(®c->hdr_list); - - hdr = hdr_list->next; - while (hdr != hdr_list) { - pj_list_push_back(®c->hdr_list, pjsip_hdr_clone(regc->pool, hdr)); - hdr = hdr->next; - } - - return PJ_SUCCESS; -} - -static pj_status_t create_request(pjsip_regc *regc, - pjsip_tx_data **p_tdata) -{ - pj_status_t status; - pjsip_tx_data *tdata; - - PJ_ASSERT_RETURN(regc && p_tdata, PJ_EINVAL); - - /* Create the request. */ - status = pjsip_endpt_create_request_from_hdr( regc->endpt, - pjsip_get_register_method(), - regc->srv_url, - regc->from_hdr, - regc->to_hdr, - NULL, - regc->cid_hdr, - regc->cseq_hdr->cseq, - NULL, - &tdata); - if (status != PJ_SUCCESS) - return status; - - /* Add cached authorization headers. */ - pjsip_auth_clt_init_req( ®c->auth_sess, tdata ); - - /* Add Route headers from route set, ideally after Via header */ - if (!pj_list_empty(®c->route_set)) { - pjsip_hdr *route_pos; - const pjsip_route_hdr *route; - - route_pos = (pjsip_hdr*) - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_VIA, NULL); - if (!route_pos) - route_pos = &tdata->msg->hdr; - - route = regc->route_set.next; - while (route != ®c->route_set) { - pjsip_hdr *new_hdr = (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, route); - pj_list_insert_after(route_pos, new_hdr); - route_pos = new_hdr; - route = route->next; - } - } - - /* Add additional request headers */ - if (!pj_list_empty(®c->hdr_list)) { - const pjsip_hdr *hdr; - - hdr = regc->hdr_list.next; - while (hdr != ®c->hdr_list) { - pjsip_hdr *new_hdr = (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, hdr); - pjsip_msg_add_hdr(tdata->msg, new_hdr); - hdr = hdr->next; - } - } - - /* Done. */ - *p_tdata = tdata; - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjsip_regc_register(pjsip_regc *regc, pj_bool_t autoreg, - pjsip_tx_data **p_tdata) -{ - pjsip_msg *msg; - pjsip_contact_hdr *hdr; - const pjsip_hdr *h_allow; - pj_status_t status; - pjsip_tx_data *tdata; - - PJ_ASSERT_RETURN(regc && p_tdata, PJ_EINVAL); - - pj_lock_acquire(regc->lock); - - status = create_request(regc, &tdata); - if (status != PJ_SUCCESS) { - pj_lock_release(regc->lock); - return status; - } - - msg = tdata->msg; - - /* Add Contact headers. */ - hdr = regc->contact_hdr_list.next; - while (hdr != ®c->contact_hdr_list) { - pjsip_msg_add_hdr(msg, (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, hdr)); - hdr = hdr->next; - } - - /* Also add bindings which are to be removed */ - while (!pj_list_empty(®c->removed_contact_hdr_list)) { - hdr = regc->removed_contact_hdr_list.next; - pjsip_msg_add_hdr(msg, (pjsip_hdr*) - pjsip_hdr_clone(tdata->pool, hdr)); - pj_list_erase(hdr); - } - - - if (regc->expires_hdr) - pjsip_msg_add_hdr(msg, (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, - regc->expires_hdr)); - - if (regc->timer.id != 0) { - pjsip_endpt_cancel_timer(regc->endpt, ®c->timer); - regc->timer.id = 0; - } - - /* Add Allow header (http://trac.pjsip.org/repos/ticket/1039) */ - h_allow = pjsip_endpt_get_capability(regc->endpt, PJSIP_H_ALLOW, NULL); - if (h_allow) { - pjsip_msg_add_hdr(msg, (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, h_allow)); - - } - - regc->auto_reg = autoreg; - - pj_lock_release(regc->lock); - - /* Done */ - *p_tdata = tdata; - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjsip_regc_unregister(pjsip_regc *regc, - pjsip_tx_data **p_tdata) -{ - pjsip_tx_data *tdata; - pjsip_msg *msg; - pjsip_hdr *hdr; - pj_status_t status; - - PJ_ASSERT_RETURN(regc && p_tdata, PJ_EINVAL); - - pj_lock_acquire(regc->lock); - - if (regc->timer.id != 0) { - pjsip_endpt_cancel_timer(regc->endpt, ®c->timer); - regc->timer.id = 0; - } - - status = create_request(regc, &tdata); - if (status != PJ_SUCCESS) { - pj_lock_release(regc->lock); - return status; - } - - msg = tdata->msg; - - /* Add Contact headers. */ - hdr = (pjsip_hdr*)regc->contact_hdr_list.next; - while ((void*)hdr != (void*)®c->contact_hdr_list) { - pjsip_msg_add_hdr(msg, (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, hdr)); - hdr = hdr->next; - } - - /* Also add bindings which are to be removed */ - while (!pj_list_empty(®c->removed_contact_hdr_list)) { - hdr = (pjsip_hdr*)regc->removed_contact_hdr_list.next; - pjsip_msg_add_hdr(msg, (pjsip_hdr*) - pjsip_hdr_clone(tdata->pool, hdr)); - pj_list_erase(hdr); - } - - /* Add Expires:0 header */ - hdr = (pjsip_hdr*) pjsip_expires_hdr_create(tdata->pool, 0); - pjsip_msg_add_hdr(msg, hdr); - - pj_lock_release(regc->lock); - - *p_tdata = tdata; - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjsip_regc_unregister_all(pjsip_regc *regc, - pjsip_tx_data **p_tdata) -{ - pjsip_tx_data *tdata; - pjsip_contact_hdr *hcontact; - pjsip_hdr *hdr; - pjsip_msg *msg; - pj_status_t status; - - PJ_ASSERT_RETURN(regc && p_tdata, PJ_EINVAL); - - pj_lock_acquire(regc->lock); - - if (regc->timer.id != 0) { - pjsip_endpt_cancel_timer(regc->endpt, ®c->timer); - regc->timer.id = 0; - } - - status = create_request(regc, &tdata); - if (status != PJ_SUCCESS) { - pj_lock_release(regc->lock); - return status; - } - - msg = tdata->msg; - - /* Clear removed_contact_hdr_list */ - pj_list_init(®c->removed_contact_hdr_list); - - /* Add Contact:* header */ - hcontact = pjsip_contact_hdr_create(tdata->pool); - hcontact->star = 1; - pjsip_msg_add_hdr(msg, (pjsip_hdr*)hcontact); - - /* Add Expires:0 header */ - hdr = (pjsip_hdr*) pjsip_expires_hdr_create(tdata->pool, 0); - pjsip_msg_add_hdr(msg, hdr); - - pj_lock_release(regc->lock); - - *p_tdata = tdata; - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjsip_regc_update_contact( pjsip_regc *regc, - int contact_cnt, - const pj_str_t contact[] ) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(regc, PJ_EINVAL); - - pj_lock_acquire(regc->lock); - status = set_contact( regc, contact_cnt, contact ); - pj_lock_release(regc->lock); - - return status; -} - - -PJ_DEF(pj_status_t) pjsip_regc_update_expires( pjsip_regc *regc, - pj_uint32_t expires ) -{ - PJ_ASSERT_RETURN(regc, PJ_EINVAL); - - pj_lock_acquire(regc->lock); - set_expires( regc, expires ); - pj_lock_release(regc->lock); - - return PJ_SUCCESS; -} - - -static void call_callback(pjsip_regc *regc, pj_status_t status, int st_code, - const pj_str_t *reason, - pjsip_rx_data *rdata, pj_int32_t expiration, - int contact_cnt, pjsip_contact_hdr *contact[]) -{ - struct pjsip_regc_cbparam cbparam; - - - if (!regc->cb) - return; - - cbparam.regc = regc; - cbparam.token = regc->token; - cbparam.status = status; - cbparam.code = st_code; - cbparam.reason = *reason; - cbparam.rdata = rdata; - cbparam.contact_cnt = contact_cnt; - cbparam.expiration = expiration; - if (contact_cnt) { - pj_memcpy( cbparam.contact, contact, - contact_cnt*sizeof(pjsip_contact_hdr*)); - } - - (*regc->cb)(&cbparam); -} - -static void regc_refresh_timer_cb( pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry) -{ - pjsip_regc *regc = (pjsip_regc*) entry->user_data; - pjsip_tx_data *tdata; - pj_status_t status; - - PJ_UNUSED_ARG(timer_heap); - - /* Temporarily increase busy flag to prevent regc from being deleted - * in pjsip_regc_send() or in the callback - */ - pj_atomic_inc(regc->busy_ctr); - - entry->id = 0; - status = pjsip_regc_register(regc, 1, &tdata); - if (status == PJ_SUCCESS) { - status = pjsip_regc_send(regc, tdata); - } - - if (status != PJ_SUCCESS && regc->cb) { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_str_t reason = pj_strerror(status, errmsg, sizeof(errmsg)); - call_callback(regc, status, 400, &reason, NULL, -1, 0, NULL); - } - - /* Delete the record if user destroy regc during the callback. */ - if (pj_atomic_dec_and_get(regc->busy_ctr)==0 && regc->_delete_flag) { - pjsip_regc_destroy(regc); - } -} - -static void schedule_registration ( pjsip_regc *regc, pj_int32_t expiration ) -{ - if (regc->auto_reg && expiration > 0) { - pj_time_val delay = { 0, 0}; - - delay.sec = expiration - regc->delay_before_refresh; - if (regc->expires != PJSIP_REGC_EXPIRATION_NOT_SPECIFIED && - delay.sec > (pj_int32_t)regc->expires) - { - delay.sec = regc->expires; - } - if (delay.sec < DELAY_BEFORE_REFRESH) - delay.sec = DELAY_BEFORE_REFRESH; - regc->timer.cb = ®c_refresh_timer_cb; - regc->timer.id = REFRESH_TIMER; - regc->timer.user_data = regc; - pjsip_endpt_schedule_timer( regc->endpt, ®c->timer, &delay); - pj_gettimeofday(®c->last_reg); - regc->next_reg = regc->last_reg; - regc->next_reg.sec += delay.sec; - } -} - -PJ_DEF(pj_status_t) -pjsip_regc_set_delay_before_refresh( pjsip_regc *regc, - pj_uint32_t delay ) -{ - PJ_ASSERT_RETURN(regc, PJ_EINVAL); - - if (delay > regc->expires) - return PJ_ETOOBIG; - - if (regc->delay_before_refresh != delay) - { - regc->delay_before_refresh = delay; - - if (regc->timer.id != 0) { - /* Cancel registration timer */ - pjsip_endpt_cancel_timer(regc->endpt, ®c->timer); - regc->timer.id = 0; - - /* Schedule next registration */ - schedule_registration(regc, regc->expires); - } - } - - return PJ_SUCCESS; -} - - -static pj_int32_t calculate_response_expiration(const pjsip_regc *regc, - const pjsip_rx_data *rdata, - unsigned *contact_cnt, - unsigned max_contact, - pjsip_contact_hdr *contacts[]) -{ - pj_int32_t expiration = NOEXP; - const pjsip_msg *msg = rdata->msg_info.msg; - const pjsip_hdr *hdr; - - /* Enumerate all Contact headers in the response */ - *contact_cnt = 0; - for (hdr=msg->hdr.next; hdr!=&msg->hdr; hdr=hdr->next) { - if (hdr->type == PJSIP_H_CONTACT && - *contact_cnt < max_contact) - { - contacts[*contact_cnt] = (pjsip_contact_hdr*)hdr; - ++(*contact_cnt); - } - } - - if (regc->current_op == REGC_REGISTERING) { - pj_bool_t has_our_contact = PJ_FALSE; - const pjsip_expires_hdr *expires; - - /* Get Expires header */ - expires = (const pjsip_expires_hdr*) - pjsip_msg_find_hdr(msg, PJSIP_H_EXPIRES, NULL); - - /* Try to find the Contact URIs that we register, in the response - * to get the expires value. We'll try both with comparing the URI - * and comparing the extension param only. - */ - if (pjsip_cfg()->regc.check_contact || regc->add_xuid_param) { - unsigned i; - for (i=0; i<*contact_cnt; ++i) { - const pjsip_contact_hdr *our_hdr; - - our_hdr = (const pjsip_contact_hdr*) - regc->contact_hdr_list.next; - - /* Match with our Contact header(s) */ - while ((void*)our_hdr != (void*)®c->contact_hdr_list) { - - const pjsip_uri *uri1, *uri2; - pj_bool_t matched = PJ_FALSE; - - /* Exclude the display name when comparing the URI - * since server may not return it. - */ - uri1 = (const pjsip_uri*) - pjsip_uri_get_uri(contacts[i]->uri); - uri2 = (const pjsip_uri*) - pjsip_uri_get_uri(our_hdr->uri); - - /* First try with exact matching, according to RFC 3261 - * Section 19.1.4 URI Comparison - */ - if (pjsip_cfg()->regc.check_contact) { - matched = pjsip_uri_cmp(PJSIP_URI_IN_CONTACT_HDR, - uri1, uri2)==0; - } - - /* If no match is found, try with matching the extension - * parameter only if extension parameter was added. - */ - if (!matched && regc->add_xuid_param && - (PJSIP_URI_SCHEME_IS_SIP(uri1) || - PJSIP_URI_SCHEME_IS_SIPS(uri1)) && - (PJSIP_URI_SCHEME_IS_SIP(uri2) || - PJSIP_URI_SCHEME_IS_SIPS(uri2))) - { - const pjsip_sip_uri *sip_uri1, *sip_uri2; - const pjsip_param *p1, *p2; - - sip_uri1 = (const pjsip_sip_uri*)uri1; - sip_uri2 = (const pjsip_sip_uri*)uri2; - - p1 = pjsip_param_cfind(&sip_uri1->other_param, - &XUID_PARAM_NAME); - p2 = pjsip_param_cfind(&sip_uri2->other_param, - &XUID_PARAM_NAME); - matched = p1 && p2 && - pj_strcmp(&p1->value, &p2->value)==0; - - } - - if (matched) { - has_our_contact = PJ_TRUE; - - if (contacts[i]->expires >= 0 && - contacts[i]->expires < expiration) - { - /* Get the lowest expiration time. */ - expiration = contacts[i]->expires; - } - - break; - } - - our_hdr = our_hdr->next; - - } /* while ((void.. */ - - } /* for (i=.. */ - - /* If matching Contact header(s) are found but the - * header doesn't contain expires parameter, get the - * expiration value from the Expires header. And - * if Expires header is not present, get the expiration - * value from the request. - */ - if (has_our_contact && expiration == NOEXP) { - if (expires) { - expiration = expires->ivalue; - } else if (regc->expires_hdr) { - expiration = regc->expires_hdr->ivalue; - } else { - /* We didn't request explicit expiration value, - * and server doesn't specify it either. This - * shouldn't happen unless we have a broken - * registrar. - */ - expiration = 3600; - } - } - - } - - /* If we still couldn't get matching Contact header(s), it means - * there must be something wrong with the registrar (e.g. it may - * have modified the URI's in the response, which is prohibited). - */ - if (expiration==NOEXP) { - /* If the number of Contact headers in the response matches - * ours, they're all probably ours. Get the expiration - * from there if this is the case, or from Expires header - * if we don't have exact Contact header count, or - * from the request as the last resort. - */ - unsigned our_contact_cnt; - - our_contact_cnt = pj_list_size(®c->contact_hdr_list); - - if (*contact_cnt == our_contact_cnt && *contact_cnt && - contacts[0]->expires >= 0) - { - expiration = contacts[0]->expires; - } else if (expires) - expiration = expires->ivalue; - else if (regc->expires_hdr) - expiration = regc->expires_hdr->ivalue; - else - expiration = 3600; - } - - } else { - /* Just assume that the unregistration has been successful. */ - expiration = 0; - } - - /* Must have expiration value by now */ - pj_assert(expiration != NOEXP); - - return expiration; -} - -static void regc_tsx_callback(void *token, pjsip_event *event) -{ - pj_status_t status; - pjsip_regc *regc = (pjsip_regc*) token; - pjsip_transaction *tsx = event->body.tsx_state.tsx; - pj_bool_t handled = PJ_TRUE; - - pj_atomic_inc(regc->busy_ctr); - pj_lock_acquire(regc->lock); - - /* Decrement pending transaction counter. */ - pj_assert(regc->has_tsx); - regc->has_tsx = PJ_FALSE; - - /* Add reference to the transport */ - if (tsx->transport != regc->last_transport) { - if (regc->last_transport) { - pjsip_transport_dec_ref(regc->last_transport); - regc->last_transport = NULL; - } - - if (tsx->transport) { - regc->last_transport = tsx->transport; - pjsip_transport_add_ref(regc->last_transport); - } - } - - /* Handle 401/407 challenge (even when _delete_flag is set) */ - if (tsx->status_code == PJSIP_SC_PROXY_AUTHENTICATION_REQUIRED || - tsx->status_code == PJSIP_SC_UNAUTHORIZED) - { - pjsip_rx_data *rdata = event->body.tsx_state.src.rdata; - pjsip_tx_data *tdata; - - /* reset current op */ - regc->current_op = REGC_IDLE; - - status = pjsip_auth_clt_reinit_req( ®c->auth_sess, - rdata, - tsx->last_tx, - &tdata); - - if (status == PJ_SUCCESS) { - status = pjsip_regc_send(regc, tdata); - } - - if (status != PJ_SUCCESS) { - - /* Only call callback if application is still interested - * in it. - */ - if (regc->_delete_flag == 0) { - /* Should be safe to release the lock temporarily. - * We do this to avoid deadlock. - */ - pj_lock_release(regc->lock); - call_callback(regc, status, tsx->status_code, - &rdata->msg_info.msg->line.status.reason, - rdata, -1, 0, NULL); - pj_lock_acquire(regc->lock); - } - } - - } else if (regc->_delete_flag) { - - /* User has called pjsip_regc_destroy(), so don't call callback. - * This regc will be destroyed later in this function. - */ - - /* Just reset current op */ - regc->current_op = REGC_IDLE; - - } else if (tsx->status_code == PJSIP_SC_INTERVAL_TOO_BRIEF && - regc->current_op == REGC_REGISTERING) - { - /* Handle 423 response automatically: - * - set requested expiration to Min-Expires header, ONLY IF - * the original request is a registration (as opposed to - * unregistration) and the requested expiration was indeed - * lower than Min-Expires) - * - resend the request - */ - pjsip_rx_data *rdata = event->body.tsx_state.src.rdata; - pjsip_min_expires_hdr *me_hdr; - pjsip_tx_data *tdata; - pj_int32_t min_exp; - - /* reset current op */ - regc->current_op = REGC_IDLE; - - /* Update requested expiration */ - me_hdr = (pjsip_min_expires_hdr*) - pjsip_msg_find_hdr(rdata->msg_info.msg, - PJSIP_H_MIN_EXPIRES, NULL); - if (me_hdr) { - min_exp = me_hdr->ivalue; - } else { - /* Broken server, Min-Expires doesn't exist. - * Just guestimate then, BUT ONLY if if this is the - * first time we received such response. - */ - enum { - /* Note: changing this value would require changing couple of - * Python test scripts. - */ - UNSPECIFIED_MIN_EXPIRES = 3601 - }; - if (!regc->expires_hdr || - regc->expires_hdr->ivalue != UNSPECIFIED_MIN_EXPIRES) - { - min_exp = UNSPECIFIED_MIN_EXPIRES; - } else { - handled = PJ_FALSE; - PJ_LOG(4,(THIS_FILE, "Registration failed: 423 response " - "without Min-Expires header is invalid")); - goto handle_err; - } - } - - if (regc->expires_hdr && regc->expires_hdr->ivalue >= min_exp) { - /* But we already send with greater expiration time, why does - * the server send us with 423? Oh well, just fail the request. - */ - handled = PJ_FALSE; - PJ_LOG(4,(THIS_FILE, "Registration failed: invalid " - "Min-Expires header value in response")); - goto handle_err; - } - - set_expires(regc, min_exp); - - status = pjsip_regc_register(regc, regc->auto_reg, &tdata); - if (status == PJ_SUCCESS) { - status = pjsip_regc_send(regc, tdata); - } - - if (status != PJ_SUCCESS) { - /* Only call callback if application is still interested - * in it. - */ - if (!regc->_delete_flag) { - /* Should be safe to release the lock temporarily. - * We do this to avoid deadlock. - */ - pj_lock_release(regc->lock); - call_callback(regc, status, tsx->status_code, - &rdata->msg_info.msg->line.status.reason, - rdata, -1, 0, NULL); - pj_lock_acquire(regc->lock); - } - } - - } else { - handled = PJ_FALSE; - } - -handle_err: - if (!handled) { - pjsip_rx_data *rdata; - pj_int32_t expiration = NOEXP; - unsigned contact_cnt = 0; - pjsip_contact_hdr *contact[PJSIP_REGC_MAX_CONTACT]; - - if (tsx->status_code/100 == 2) { - - rdata = event->body.tsx_state.src.rdata; - - /* Calculate expiration */ - expiration = calculate_response_expiration(regc, rdata, - &contact_cnt, - PJSIP_REGC_MAX_CONTACT, - contact); - - /* Schedule next registration */ - schedule_registration(regc, expiration); - - } else { - rdata = (event->body.tsx_state.type==PJSIP_EVENT_RX_MSG) ? - event->body.tsx_state.src.rdata : NULL; - } - - /* Update registration */ - if (expiration==NOEXP) expiration=-1; - regc->expires = expiration; - - /* Mark operation as complete */ - regc->current_op = REGC_IDLE; - - /* Call callback. */ - /* Should be safe to release the lock temporarily. - * We do this to avoid deadlock. - */ - pj_lock_release(regc->lock); - call_callback(regc, PJ_SUCCESS, tsx->status_code, - (rdata ? &rdata->msg_info.msg->line.status.reason - : &tsx->status_text), - rdata, expiration, - contact_cnt, contact); - pj_lock_acquire(regc->lock); - } - - pj_lock_release(regc->lock); - - /* Delete the record if user destroy regc during the callback. */ - if (pj_atomic_dec_and_get(regc->busy_ctr)==0 && regc->_delete_flag) { - pjsip_regc_destroy(regc); - } -} - -PJ_DEF(pj_status_t) pjsip_regc_send(pjsip_regc *regc, pjsip_tx_data *tdata) -{ - pj_status_t status; - pjsip_cseq_hdr *cseq_hdr; - pjsip_expires_hdr *expires_hdr; - pj_uint32_t cseq; - - pj_atomic_inc(regc->busy_ctr); - pj_lock_acquire(regc->lock); - - /* Make sure we don't have pending transaction. */ - if (regc->has_tsx) { - PJ_LOG(4,(THIS_FILE, "Unable to send request, regc has another " - "transaction pending")); - pjsip_tx_data_dec_ref( tdata ); - pj_lock_release(regc->lock); - pj_atomic_dec(regc->busy_ctr); - return PJSIP_EBUSY; - } - - pj_assert(regc->current_op == REGC_IDLE); - - /* Invalidate message buffer. */ - pjsip_tx_data_invalidate_msg(tdata); - - /* Increment CSeq */ - cseq = ++regc->cseq_hdr->cseq; - cseq_hdr = (pjsip_cseq_hdr*) - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_CSEQ, NULL); - cseq_hdr->cseq = cseq; - - /* Find Expires header */ - expires_hdr = (pjsip_expires_hdr*) - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_EXPIRES, NULL); - - /* Bind to transport selector */ - pjsip_tx_data_set_transport(tdata, ®c->tp_sel); - - regc->has_tsx = PJ_TRUE; - - /* Set current operation based on the value of Expires header */ - if (expires_hdr && expires_hdr->ivalue==0) - regc->current_op = REGC_UNREGISTERING; - else - regc->current_op = REGC_REGISTERING; - - /* Prevent deletion of tdata, e.g: when something wrong in sending, - * we need tdata to retrieve the transport. - */ - pjsip_tx_data_add_ref(tdata); - - /* Need to unlock the regc temporarily while sending the message to - * prevent deadlock (https://trac.pjsip.org/repos/ticket/1247). - * It should be safe to do this since the regc's refcount has been - * incremented. - */ - pj_lock_release(regc->lock); - - /* Now send the message */ - status = pjsip_endpt_send_request(regc->endpt, tdata, REGC_TSX_TIMEOUT, - regc, ®c_tsx_callback); - if (status!=PJ_SUCCESS) { - PJ_LOG(4,(THIS_FILE, "Error sending request, status=%d", status)); - } - - /* Reacquire the lock */ - pj_lock_acquire(regc->lock); - - /* Get last transport used and add reference to it */ - if (tdata->tp_info.transport != regc->last_transport && - status==PJ_SUCCESS) - { - if (regc->last_transport) { - pjsip_transport_dec_ref(regc->last_transport); - regc->last_transport = NULL; - } - - if (tdata->tp_info.transport) { - regc->last_transport = tdata->tp_info.transport; - pjsip_transport_add_ref(regc->last_transport); - } - } - - /* Release tdata */ - pjsip_tx_data_dec_ref(tdata); - - pj_lock_release(regc->lock); - - /* Delete the record if user destroy regc during the callback. */ - if (pj_atomic_dec_and_get(regc->busy_ctr)==0 && regc->_delete_flag) { - pjsip_regc_destroy(regc); - } - - return status; -} - - diff --git a/res/pjproject/pjsip/src/pjsip-ua/sip_replaces.c b/res/pjproject/pjsip/src/pjsip-ua/sip_replaces.c deleted file mode 100644 index 70329f97ae..0000000000 --- a/res/pjproject/pjsip/src/pjsip-ua/sip_replaces.c +++ /dev/null @@ -1,384 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "sip_replaces.c" - - -/* - * Replaces header vptr. - */ -static int replaces_hdr_print( pjsip_replaces_hdr *hdr, - char *buf, pj_size_t size); -static pjsip_replaces_hdr* replaces_hdr_clone( pj_pool_t *pool, - const pjsip_replaces_hdr *hdr); -static pjsip_replaces_hdr* replaces_hdr_shallow_clone( pj_pool_t *pool, - const pjsip_replaces_hdr*); - -static pjsip_hdr_vptr replaces_hdr_vptr = -{ - (pjsip_hdr_clone_fptr) &replaces_hdr_clone, - (pjsip_hdr_clone_fptr) &replaces_hdr_shallow_clone, - (pjsip_hdr_print_fptr) &replaces_hdr_print, -}; - -/* Globals */ -static pjsip_endpoint *the_endpt; -static pj_bool_t is_initialized; - -PJ_DEF(pjsip_replaces_hdr*) pjsip_replaces_hdr_create(pj_pool_t *pool) -{ - pjsip_replaces_hdr *hdr = PJ_POOL_ZALLOC_T(pool, pjsip_replaces_hdr); - hdr->type = PJSIP_H_OTHER; - hdr->name.ptr = "Replaces"; - hdr->name.slen = 8; - hdr->vptr = &replaces_hdr_vptr; - pj_list_init(hdr); - pj_list_init(&hdr->other_param); - return hdr; -} - -static int replaces_hdr_print( pjsip_replaces_hdr *hdr, - char *buf, pj_size_t size) -{ - char *p = buf; - char *endbuf = buf+size; - int printed; - const pjsip_parser_const_t *pc = pjsip_parser_const(); - - copy_advance(p, hdr->name); - *p++ = ':'; - *p++ = ' '; - - copy_advance(p, hdr->call_id); - copy_advance_pair(p, ";to-tag=", 8, hdr->to_tag); - copy_advance_pair(p, ";from-tag=", 10, hdr->from_tag); - - if (hdr->early_only) { - const pj_str_t str_early_only = { ";early-only", 11 }; - copy_advance(p, str_early_only); - } - - printed = pjsip_param_print_on(&hdr->other_param, p, endbuf-p, - &pc->pjsip_TOKEN_SPEC, - &pc->pjsip_TOKEN_SPEC, ';'); - if (printed < 0) - return printed; - - p += printed; - return p - buf; -} - -static pjsip_replaces_hdr* replaces_hdr_clone( pj_pool_t *pool, - const pjsip_replaces_hdr *rhs) -{ - pjsip_replaces_hdr *hdr = pjsip_replaces_hdr_create(pool); - pj_strdup(pool, &hdr->call_id, &rhs->call_id); - pj_strdup(pool, &hdr->to_tag, &rhs->to_tag); - pj_strdup(pool, &hdr->from_tag, &rhs->from_tag); - hdr->early_only = rhs->early_only; - pjsip_param_clone(pool, &hdr->other_param, &rhs->other_param); - return hdr; -} - -static pjsip_replaces_hdr* -replaces_hdr_shallow_clone( pj_pool_t *pool, - const pjsip_replaces_hdr *rhs ) -{ - pjsip_replaces_hdr *hdr = PJ_POOL_ALLOC_T(pool, pjsip_replaces_hdr); - pj_memcpy(hdr, rhs, sizeof(*hdr)); - pjsip_param_shallow_clone(pool, &hdr->other_param, &rhs->other_param); - return hdr; -} - - -/* - * Parse Replaces header. - */ -static pjsip_hdr *parse_hdr_replaces(pjsip_parse_ctx *ctx) -{ - pjsip_replaces_hdr *hdr = pjsip_replaces_hdr_create(ctx->pool); - const pj_str_t to_tag = { "to-tag", 6 }; - const pj_str_t from_tag = { "from-tag", 8 }; - const pj_str_t early_only_tag = { "early-only", 10 }; - - /*pj_scan_get(ctx->scanner, &pjsip_TOKEN_SPEC, &hdr->call_id);*/ - /* Get Call-ID (until ';' is found). using pjsip_TOKEN_SPEC doesn't work - * because it stops parsing when '@' character is found. - */ - pj_scan_get_until_ch(ctx->scanner, ';', &hdr->call_id); - - while (*ctx->scanner->curptr == ';') { - pj_str_t pname, pvalue; - - pj_scan_get_char(ctx->scanner); - pjsip_parse_param_imp(ctx->scanner, ctx->pool, &pname, &pvalue, 0); - - if (pj_stricmp(&pname, &to_tag)==0) { - hdr->to_tag = pvalue; - } else if (pj_stricmp(&pname, &from_tag)==0) { - hdr->from_tag = pvalue; - } else if (pj_stricmp(&pname, &early_only_tag)==0) { - hdr->early_only = PJ_TRUE; - } else { - pjsip_param *param = PJ_POOL_ALLOC_T(ctx->pool, pjsip_param); - param->name = pname; - param->value = pvalue; - pj_list_push_back(&hdr->other_param, param); - } - } - pjsip_parse_end_hdr_imp( ctx->scanner ); - return (pjsip_hdr*)hdr; -} - - -/* Deinitialize Replaces */ -static void pjsip_replaces_deinit_module(pjsip_endpoint *endpt) -{ - PJ_TODO(provide_initialized_flag_for_each_endpoint); - PJ_UNUSED_ARG(endpt); - is_initialized = PJ_FALSE; -} - -/* - * Initialize Replaces support in PJSIP. - */ -PJ_DEF(pj_status_t) pjsip_replaces_init_module(pjsip_endpoint *endpt) -{ - pj_status_t status; - const pj_str_t STR_REPLACES = { "replaces", 8 }; - - the_endpt = endpt; - - if (is_initialized) - return PJ_SUCCESS; - - /* Register Replaces header parser */ - status = pjsip_register_hdr_parser( "Replaces", NULL, - &parse_hdr_replaces); - if (status != PJ_SUCCESS) - return status; - - /* Register "replaces" capability */ - status = pjsip_endpt_add_capability(endpt, NULL, PJSIP_H_SUPPORTED, NULL, - 1, &STR_REPLACES); - - /* Register deinit module to be executed when PJLIB shutdown */ - if (pjsip_endpt_atexit(endpt, &pjsip_replaces_deinit_module) != PJ_SUCCESS) - { - /* Failure to register this function may cause this module won't - * work properly when the stack is restarted (without quitting - * application). - */ - pj_assert(!"Failed to register Replaces deinit."); - PJ_LOG(1, (THIS_FILE, "Failed to register Replaces deinit.")); - } - - is_initialized = PJ_TRUE; - return PJ_SUCCESS; -} - - -/* - * Verify that incoming request with Replaces header can be processed. - */ -PJ_DEF(pj_status_t) pjsip_replaces_verify_request( pjsip_rx_data *rdata, - pjsip_dialog **p_dlg, - pj_bool_t lock_dlg, - pjsip_tx_data **p_tdata) -{ - const pj_str_t STR_REPLACES = { "Replaces", 8 }; - pjsip_replaces_hdr *rep_hdr; - int code = 200; - const char *warn_text = NULL; - pjsip_hdr res_hdr_list; - pjsip_dialog *dlg = NULL; - pjsip_inv_session *inv; - pj_status_t status = PJ_SUCCESS; - - PJ_ASSERT_RETURN(rdata && p_dlg, PJ_EINVAL); - - /* Check that pjsip_replaces_init_module() has been called. */ - PJ_ASSERT_RETURN(the_endpt != NULL, PJ_EINVALIDOP); - - - /* Init output arguments */ - *p_dlg = NULL; - if (p_tdata) *p_tdata = NULL; - - pj_list_init(&res_hdr_list); - - /* Find Replaces header */ - rep_hdr = (pjsip_replaces_hdr*) - pjsip_msg_find_hdr_by_name(rdata->msg_info.msg, &STR_REPLACES, - NULL); - if (!rep_hdr) { - /* No Replaces header. No further processing is necessary. */ - return PJ_SUCCESS; - } - - - /* Check that there's no other Replaces header and return 400 Bad Request - * if not. - */ - if (pjsip_msg_find_hdr_by_name(rdata->msg_info.msg, &STR_REPLACES, - rep_hdr->next)) { - code = PJSIP_SC_BAD_REQUEST; - warn_text = "Found multiple Replaces headers"; - goto on_return; - } - - /* Find the dialog identified by Replaces header (and always lock the - * dialog no matter what application wants). - */ - dlg = pjsip_ua_find_dialog(&rep_hdr->call_id, &rep_hdr->to_tag, - &rep_hdr->from_tag, PJ_TRUE); - - /* Respond with 481 "Call/Transaction Does Not Exist" response if - * no dialog is found. - */ - if (dlg == NULL) { - code = PJSIP_SC_CALL_TSX_DOES_NOT_EXIST; - warn_text = "No dialog found for Replaces request"; - goto on_return; - } - - /* Get the invite session within the dialog */ - inv = pjsip_dlg_get_inv_session(dlg); - - /* Return 481 if no invite session is present. */ - if (inv == NULL) { - code = PJSIP_SC_CALL_TSX_DOES_NOT_EXIST; - warn_text = "No INVITE session found for Replaces request"; - goto on_return; - } - - /* Return 603 Declined response if invite session has already - * terminated - */ - if (inv->state >= PJSIP_INV_STATE_DISCONNECTED) { - code = PJSIP_SC_DECLINE; - warn_text = "INVITE session already terminated"; - goto on_return; - } - - /* If "early-only" flag is present, check that the invite session - * has not been confirmed yet. If the session has been confirmed, - * return 486 "Busy Here" response. - */ - if (rep_hdr->early_only && inv->state >= PJSIP_INV_STATE_CONNECTING) { - code = PJSIP_SC_BUSY_HERE; - warn_text = "INVITE session already established"; - goto on_return; - } - - /* If the Replaces header field matches an early dialog that was not - * initiated by this UA, it returns a 481 (Call/Transaction Does Not - * Exist) response to the new INVITE. - */ - if (inv->state <= PJSIP_INV_STATE_EARLY && inv->role != PJSIP_ROLE_UAC) { - code = PJSIP_SC_CALL_TSX_DOES_NOT_EXIST; - warn_text = "Found early INVITE session but not initiated by this UA"; - goto on_return; - } - - - /* - * Looks like everything is okay!! - */ - *p_dlg = dlg; - status = PJ_SUCCESS; - code = 200; - -on_return: - - /* Create response if necessary */ - if (code != 200) { - /* If we have dialog we must unlock it */ - if (dlg) - pjsip_dlg_dec_lock(dlg); - - /* Create response */ - if (p_tdata) { - pjsip_tx_data *tdata; - const pjsip_hdr *h; - - status = pjsip_endpt_create_response(the_endpt, rdata, code, - NULL, &tdata); - - if (status != PJ_SUCCESS) - return status; - - /* Add response headers. */ - h = res_hdr_list.next; - while (h != &res_hdr_list) { - pjsip_hdr *cloned; - - cloned = (pjsip_hdr*) pjsip_hdr_clone(tdata->pool, h); - PJ_ASSERT_RETURN(cloned, PJ_ENOMEM); - - pjsip_msg_add_hdr(tdata->msg, cloned); - - h = h->next; - } - - /* Add warn text, if any */ - if (warn_text) { - pjsip_warning_hdr *warn_hdr; - pj_str_t warn_value = pj_str((char*)warn_text); - - warn_hdr=pjsip_warning_hdr_create(tdata->pool, 399, - pjsip_endpt_name(the_endpt), - &warn_value); - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)warn_hdr); - } - - *p_tdata = tdata; - } - - /* Can not return PJ_SUCCESS when response message is produced. - * Ref: PROTOS test ~#2490 - */ - if (status == PJ_SUCCESS) - status = PJSIP_ERRNO_FROM_SIP_STATUS(code); - - } else { - /* If application doesn't want to lock the dialog, unlock it */ - if (!lock_dlg) - pjsip_dlg_dec_lock(dlg); - } - - return status; -} - - - diff --git a/res/pjproject/pjsip/src/pjsip-ua/sip_timer.c b/res/pjproject/pjsip/src/pjsip-ua/sip_timer.c deleted file mode 100644 index 17c83c24fc..0000000000 --- a/res/pjproject/pjsip/src/pjsip-ua/sip_timer.c +++ /dev/null @@ -1,1062 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "sip_timer.c" - - -/* Constant of Session Timers */ -#define ABS_MIN_SE 90 /* Absolute Min-SE, in seconds */ - - -/* String definitions */ -static const pj_str_t STR_SE = {"Session-Expires", 15}; -static const pj_str_t STR_SHORT_SE = {"x", 1}; -static const pj_str_t STR_MIN_SE = {"Min-SE", 6}; -static const pj_str_t STR_REFRESHER = {"refresher", 9}; -static const pj_str_t STR_UAC = {"uac", 3}; -static const pj_str_t STR_UAS = {"uas", 3}; -static const pj_str_t STR_TIMER = {"timer", 5}; - - -/* Enumeration of refresher */ -enum timer_refresher { - TR_UNKNOWN, - TR_UAC, - TR_UAS -}; - -/* Structure definition of Session Timers */ -struct pjsip_timer -{ - pj_bool_t active; /**< Active/inactive flag */ - pjsip_timer_setting setting; /**< Session Timers setting */ - enum timer_refresher refresher; /**< Session refresher */ - pj_time_val last_refresh; /**< Timestamp of last - refresh */ - pj_timer_entry timer; /**< Timer entry */ - pj_bool_t use_update; /**< Use UPDATE method to - refresh the session */ - pj_bool_t with_sdp; /**< SDP in UPDATE? */ - pjsip_role_e role; /**< Role in last INVITE/ - UPDATE transaction. */ - -}; - -/* External global vars */ -extern pj_bool_t pjsip_use_compact_form; - -/* Local functions & vars */ -static void stop_timer(pjsip_inv_session *inv); -static void start_timer(pjsip_inv_session *inv); -static pj_bool_t is_initialized; -const pjsip_method pjsip_update_method = { PJSIP_OTHER_METHOD, {"UPDATE", 6}}; -/* - * Session-Expires header vptr. - */ -static int se_hdr_print(pjsip_sess_expires_hdr *hdr, - char *buf, pj_size_t size); -static pjsip_sess_expires_hdr* se_hdr_clone(pj_pool_t *pool, - const pjsip_sess_expires_hdr *hdr); -static pjsip_sess_expires_hdr* se_hdr_shallow_clone( - pj_pool_t *pool, - const pjsip_sess_expires_hdr* hdr); - -static pjsip_hdr_vptr se_hdr_vptr = -{ - (pjsip_hdr_clone_fptr) &se_hdr_clone, - (pjsip_hdr_clone_fptr) &se_hdr_shallow_clone, - (pjsip_hdr_print_fptr) &se_hdr_print, -}; - -/* - * Min-SE header vptr. - */ -static int min_se_hdr_print(pjsip_min_se_hdr *hdr, - char *buf, pj_size_t size); -static pjsip_min_se_hdr* min_se_hdr_clone(pj_pool_t *pool, - const pjsip_min_se_hdr *hdr); -static pjsip_min_se_hdr* min_se_hdr_shallow_clone( - pj_pool_t *pool, - const pjsip_min_se_hdr* hdr); - -static pjsip_hdr_vptr min_se_hdr_vptr = -{ - (pjsip_hdr_clone_fptr) &min_se_hdr_clone, - (pjsip_hdr_clone_fptr) &min_se_hdr_shallow_clone, - (pjsip_hdr_print_fptr) &min_se_hdr_print, -}; - -/* - * Session-Expires header vptr. - */ -static int se_hdr_print(pjsip_sess_expires_hdr *hdr, - char *buf, pj_size_t size) -{ - char *p = buf; - char *endbuf = buf+size; - int printed; - const pjsip_parser_const_t *pc = pjsip_parser_const(); - const pj_str_t *hname = pjsip_use_compact_form? &hdr->sname : &hdr->name; - - /* Print header name and value */ - if ((endbuf - p) < (hname->slen + 16)) - return -1; - - copy_advance(p, (*hname)); - *p++ = ':'; - *p++ = ' '; - - printed = pj_utoa(hdr->sess_expires, p); - p += printed; - - /* Print 'refresher' param */ - if (hdr->refresher.slen) - { - if ((endbuf - p) < (STR_REFRESHER.slen + 2 + hdr->refresher.slen)) - return -1; - - *p++ = ';'; - copy_advance(p, STR_REFRESHER); - *p++ = '='; - copy_advance(p, hdr->refresher); - } - - /* Print generic params */ - printed = pjsip_param_print_on(&hdr->other_param, p, endbuf-p, - &pc->pjsip_TOKEN_SPEC, - &pc->pjsip_TOKEN_SPEC, ';'); - if (printed < 0) - return printed; - - p += printed; - return p - buf; -} - -static pjsip_sess_expires_hdr* se_hdr_clone(pj_pool_t *pool, - const pjsip_sess_expires_hdr *hsrc) -{ - pjsip_sess_expires_hdr *hdr = pjsip_sess_expires_hdr_create(pool); - hdr->sess_expires = hsrc->sess_expires; - pj_strdup(pool, &hdr->refresher, &hsrc->refresher); - pjsip_param_clone(pool, &hdr->other_param, &hsrc->other_param); - return hdr; -} - -static pjsip_sess_expires_hdr* se_hdr_shallow_clone( - pj_pool_t *pool, - const pjsip_sess_expires_hdr* hsrc) -{ - pjsip_sess_expires_hdr *hdr = PJ_POOL_ALLOC_T(pool,pjsip_sess_expires_hdr); - pj_memcpy(hdr, hsrc, sizeof(*hdr)); - pjsip_param_shallow_clone(pool, &hdr->other_param, &hsrc->other_param); - return hdr; -} - -/* - * Min-SE header vptr. - */ -static int min_se_hdr_print(pjsip_min_se_hdr *hdr, - char *buf, pj_size_t size) -{ - char *p = buf; - char *endbuf = buf+size; - int printed; - const pjsip_parser_const_t *pc = pjsip_parser_const(); - - /* Print header name and value */ - if ((endbuf - p) < (hdr->name.slen + 16)) - return -1; - - copy_advance(p, hdr->name); - *p++ = ':'; - *p++ = ' '; - - printed = pj_utoa(hdr->min_se, p); - p += printed; - - /* Print generic params */ - printed = pjsip_param_print_on(&hdr->other_param, p, endbuf-p, - &pc->pjsip_TOKEN_SPEC, - &pc->pjsip_TOKEN_SPEC, ';'); - if (printed < 0) - return printed; - - p += printed; - return p - buf; -} - -static pjsip_min_se_hdr* min_se_hdr_clone(pj_pool_t *pool, - const pjsip_min_se_hdr *hsrc) -{ - pjsip_min_se_hdr *hdr = pjsip_min_se_hdr_create(pool); - hdr->min_se = hsrc->min_se; - pjsip_param_clone(pool, &hdr->other_param, &hsrc->other_param); - return hdr; -} - -static pjsip_min_se_hdr* min_se_hdr_shallow_clone( - pj_pool_t *pool, - const pjsip_min_se_hdr* hsrc) -{ - pjsip_min_se_hdr *hdr = PJ_POOL_ALLOC_T(pool, pjsip_min_se_hdr); - pj_memcpy(hdr, hsrc, sizeof(*hdr)); - pjsip_param_shallow_clone(pool, &hdr->other_param, &hsrc->other_param); - return hdr; -} - - -/* - * Parse Session-Expires header. - */ -static pjsip_hdr *parse_hdr_se(pjsip_parse_ctx *ctx) -{ - pjsip_sess_expires_hdr *hdr = pjsip_sess_expires_hdr_create(ctx->pool); - const pjsip_parser_const_t *pc = pjsip_parser_const(); - pj_str_t token; - - pj_scan_get(ctx->scanner, &pc->pjsip_DIGIT_SPEC, &token); - hdr->sess_expires = pj_strtoul(&token); - - while (*ctx->scanner->curptr == ';') { - pj_str_t pname, pvalue; - - pj_scan_get_char(ctx->scanner); - pjsip_parse_param_imp(ctx->scanner, ctx->pool, &pname, &pvalue, 0); - - if (pj_stricmp(&pname, &STR_REFRESHER)==0) { - hdr->refresher = pvalue; - } else { - pjsip_param *param = PJ_POOL_ALLOC_T(ctx->pool, pjsip_param); - param->name = pname; - param->value = pvalue; - pj_list_push_back(&hdr->other_param, param); - } - } - pjsip_parse_end_hdr_imp( ctx->scanner ); - return (pjsip_hdr*)hdr; -} - -/* - * Parse Min-SE header. - */ -static pjsip_hdr *parse_hdr_min_se(pjsip_parse_ctx *ctx) -{ - pjsip_min_se_hdr *hdr = pjsip_min_se_hdr_create(ctx->pool); - const pjsip_parser_const_t *pc = pjsip_parser_const(); - pj_str_t token; - - pj_scan_get(ctx->scanner, &pc->pjsip_DIGIT_SPEC, &token); - hdr->min_se = pj_strtoul(&token); - - while (*ctx->scanner->curptr == ';') { - pj_str_t pname, pvalue; - pjsip_param *param = PJ_POOL_ALLOC_T(ctx->pool, pjsip_param); - - pj_scan_get_char(ctx->scanner); - pjsip_parse_param_imp(ctx->scanner, ctx->pool, &pname, &pvalue, 0); - - param->name = pname; - param->value = pvalue; - pj_list_push_back(&hdr->other_param, param); - } - pjsip_parse_end_hdr_imp( ctx->scanner ); - return (pjsip_hdr*)hdr; -} - - -/* Add "Session-Expires" and "Min-SE" headers. Note that "Min-SE" header - * can only be added to INVITE/UPDATE request and 422 response. - */ -static void add_timer_headers(pjsip_inv_session *inv, pjsip_tx_data *tdata, - pj_bool_t add_se, pj_bool_t add_min_se) -{ - pjsip_timer *timer = inv->timer; - - /* Add Session-Expires header */ - if (add_se) { - pjsip_sess_expires_hdr *hdr; - - hdr = pjsip_sess_expires_hdr_create(tdata->pool); - hdr->sess_expires = timer->setting.sess_expires; - if (timer->refresher != TR_UNKNOWN) - hdr->refresher = (timer->refresher == TR_UAC? STR_UAC : STR_UAS); - - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*) hdr); - } - - /* Add Min-SE header */ - if (add_min_se) { - pjsip_min_se_hdr *hdr; - - hdr = pjsip_min_se_hdr_create(tdata->pool); - hdr->min_se = timer->setting.min_se; - - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*) hdr); - } -} - -/* Timer callback. When the timer is fired, it can be time to refresh - * the session if UA is the refresher, otherwise it is time to end - * the session. - */ -static void timer_cb(pj_timer_heap_t *timer_heap, struct pj_timer_entry *entry) -{ - pjsip_inv_session *inv = (pjsip_inv_session*) entry->user_data; - pjsip_tx_data *tdata = NULL; - pj_status_t status; - pj_bool_t as_refresher; - - pj_assert(inv); - - inv->timer->timer.id = 0; - - PJ_UNUSED_ARG(timer_heap); - - /* Lock dialog. */ - pjsip_dlg_inc_lock(inv->dlg); - - /* Check our role */ - as_refresher = - (inv->timer->refresher == TR_UAC && inv->timer->role == PJSIP_ROLE_UAC) || - (inv->timer->refresher == TR_UAS && inv->timer->role == PJSIP_ROLE_UAS); - - /* Do action based on role, refresher or refreshee */ - if (as_refresher) { - pj_time_val now; - - /* As refresher, reshedule the refresh request on the following: - * - msut not send re-INVITE if another INVITE or SDP negotiation - * is in progress. - * - must not send UPDATE with SDP if SDP negotiation is in progress - */ - pjmedia_sdp_neg_state neg_state = pjmedia_sdp_neg_get_state(inv->neg); - if ( (!inv->timer->use_update && ( - inv->invite_tsx != NULL || - neg_state != PJMEDIA_SDP_NEG_STATE_DONE) - ) - || - (inv->timer->use_update && inv->timer->with_sdp && - neg_state != PJMEDIA_SDP_NEG_STATE_DONE - ) - ) - { - pj_time_val delay = {1, 0}; - - inv->timer->timer.id = 1; - pjsip_endpt_schedule_timer(inv->dlg->endpt, &inv->timer->timer, - &delay); - pjsip_dlg_dec_lock(inv->dlg); - return; - } - - /* Refresher, refresh the session */ - if (inv->timer->use_update) { - const pjmedia_sdp_session *offer = NULL; - - if (inv->timer->with_sdp) { - pjmedia_sdp_neg_get_active_local(inv->neg, &offer); - } - status = pjsip_inv_update(inv, NULL, offer, &tdata); - } else { - /* Create re-INVITE without modifying session */ - pjsip_msg_body *body; - const pjmedia_sdp_session *offer = NULL; - - pj_assert(pjmedia_sdp_neg_get_state(inv->neg) == - PJMEDIA_SDP_NEG_STATE_DONE); - - status = pjsip_inv_invite(inv, &tdata); - if (status == PJ_SUCCESS) - status = pjmedia_sdp_neg_send_local_offer(inv->pool_prov, - inv->neg, &offer); - if (status == PJ_SUCCESS) - status = pjmedia_sdp_neg_get_neg_local(inv->neg, &offer); - if (status == PJ_SUCCESS) { - status = pjsip_create_sdp_body(tdata->pool, - (pjmedia_sdp_session*)offer, &body); - tdata->msg->body = body; - } - } - - pj_gettimeofday(&now); - PJ_LOG(4, (inv->pool->obj_name, - "Refreshing session after %ds (expiration period=%ds)", - (now.sec-inv->timer->last_refresh.sec), - inv->timer->setting.sess_expires)); - } else { - - pj_time_val now; - - /* Refreshee, terminate the session */ - status = pjsip_inv_end_session(inv, PJSIP_SC_REQUEST_TIMEOUT, - NULL, &tdata); - - pj_gettimeofday(&now); - PJ_LOG(3, (inv->pool->obj_name, - "No session refresh received after %ds " - "(expiration period=%ds), stopping session now!", - (now.sec-inv->timer->last_refresh.sec), - inv->timer->setting.sess_expires)); - } - - /* Unlock dialog. */ - pjsip_dlg_dec_lock(inv->dlg); - - /* Send message, if any */ - if (tdata && status == PJ_SUCCESS) { - status = pjsip_inv_send_msg(inv, tdata); - } - - /* Print error message, if any */ - if (status != PJ_SUCCESS) { - PJ_PERROR(2, (inv->pool->obj_name, status, - "Error in %s session timer", - (as_refresher? "refreshing" : "terminating"))); - } -} - -/* Start Session Timers */ -static void start_timer(pjsip_inv_session *inv) -{ - const pj_str_t UPDATE = { "UPDATE", 6 }; - pjsip_timer *timer = inv->timer; - pj_time_val delay = {0}; - - pj_assert(inv->timer->active == PJ_TRUE); - - stop_timer(inv); - - inv->timer->use_update = - (pjsip_dlg_remote_has_cap(inv->dlg, PJSIP_H_ALLOW, NULL, - &UPDATE) == PJSIP_DIALOG_CAP_SUPPORTED); - if (!inv->timer->use_update) { - /* INVITE always needs SDP */ - inv->timer->with_sdp = PJ_TRUE; - } - - pj_timer_entry_init(&timer->timer, - 1, /* id */ - inv, /* user data */ - timer_cb); /* callback */ - - /* Set delay based on role, refresher or refreshee */ - if ((timer->refresher == TR_UAC && inv->timer->role == PJSIP_ROLE_UAC) || - (timer->refresher == TR_UAS && inv->timer->role == PJSIP_ROLE_UAS)) - { - /* Next refresh, the delay is half of session expire */ - delay.sec = timer->setting.sess_expires / 2; - } else { - /* Send BYE if no refresh received until this timer fired, delay - * is the minimum of 32 seconds and one third of the session interval - * before session expiration. - */ - delay.sec = timer->setting.sess_expires - - timer->setting.sess_expires/3; - delay.sec = PJ_MAX((long)timer->setting.sess_expires-32, delay.sec); - } - - /* Schedule the timer */ - pjsip_endpt_schedule_timer(inv->dlg->endpt, &timer->timer, &delay); - - /* Update last refresh time */ - pj_gettimeofday(&timer->last_refresh); -} - -/* Stop Session Timers */ -static void stop_timer(pjsip_inv_session *inv) -{ - if (inv->timer->timer.id != 0) { - pjsip_endpt_cancel_timer(inv->dlg->endpt, &inv->timer->timer); - inv->timer->timer.id = 0; - } -} - -/* Deinitialize Session Timers */ -static void pjsip_timer_deinit_module(pjsip_endpoint *endpt) -{ - PJ_TODO(provide_initialized_flag_for_each_endpoint); - PJ_UNUSED_ARG(endpt); - is_initialized = PJ_FALSE; -} - -/* - * Initialize Session Timers support in PJSIP. - */ -PJ_DEF(pj_status_t) pjsip_timer_init_module(pjsip_endpoint *endpt) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(endpt, PJ_EINVAL); - - if (is_initialized) - return PJ_SUCCESS; - - /* Register Session-Expires header parser */ - status = pjsip_register_hdr_parser( STR_SE.ptr, STR_SHORT_SE.ptr, - &parse_hdr_se); - if (status != PJ_SUCCESS) - return status; - - /* Register Min-SE header parser */ - status = pjsip_register_hdr_parser( STR_MIN_SE.ptr, NULL, - &parse_hdr_min_se); - if (status != PJ_SUCCESS) - return status; - - /* Register 'timer' capability to endpoint */ - status = pjsip_endpt_add_capability(endpt, NULL, PJSIP_H_SUPPORTED, - NULL, 1, &STR_TIMER); - if (status != PJ_SUCCESS) - return status; - - /* Register deinit module to be executed when PJLIB shutdown */ - if (pjsip_endpt_atexit(endpt, &pjsip_timer_deinit_module) != PJ_SUCCESS) { - /* Failure to register this function may cause this module won't - * work properly when the stack is restarted (without quitting - * application). - */ - pj_assert(!"Failed to register Session Timer deinit."); - PJ_LOG(1, (THIS_FILE, "Failed to register Session Timer deinit.")); - } - - is_initialized = PJ_TRUE; - - return PJ_SUCCESS; -} - - -/* - * Initialize Session Timers setting with default values. - */ -PJ_DEF(pj_status_t) pjsip_timer_setting_default(pjsip_timer_setting *setting) -{ - pj_bzero(setting, sizeof(pjsip_timer_setting)); - - setting->sess_expires = PJSIP_SESS_TIMER_DEF_SE; - setting->min_se = ABS_MIN_SE; - - return PJ_SUCCESS; -} - -/* - * Initialize Session Timers in an INVITE session. - */ -PJ_DEF(pj_status_t) pjsip_timer_init_session( - pjsip_inv_session *inv, - const pjsip_timer_setting *setting) -{ - pjsip_timer_setting *s; - - pj_assert(is_initialized); - PJ_ASSERT_RETURN(inv, PJ_EINVAL); - - /* Allocate and/or reset Session Timers structure */ - if (!inv->timer) - inv->timer = PJ_POOL_ZALLOC_T(inv->pool, pjsip_timer); - else - pj_bzero(inv->timer, sizeof(pjsip_timer)); - - s = &inv->timer->setting; - - /* Init Session Timers setting */ - if (setting) { - PJ_ASSERT_RETURN(setting->min_se >= ABS_MIN_SE, - PJ_ETOOSMALL); - PJ_ASSERT_RETURN(setting->sess_expires >= setting->min_se, - PJ_EINVAL); - - pj_memcpy(s, setting, sizeof(*s)); - } else { - pjsip_timer_setting_default(s); - } - - return PJ_SUCCESS; -} - - -/* - * Create Session-Expires header. - */ -PJ_DEF(pjsip_sess_expires_hdr*) pjsip_sess_expires_hdr_create( - pj_pool_t *pool) -{ - pjsip_sess_expires_hdr *hdr = PJ_POOL_ZALLOC_T(pool, - pjsip_sess_expires_hdr); - - pj_assert(is_initialized); - - hdr->type = PJSIP_H_OTHER; - hdr->name = STR_SE; - hdr->sname = STR_SHORT_SE; - hdr->vptr = &se_hdr_vptr; - pj_list_init(hdr); - pj_list_init(&hdr->other_param); - return hdr; -} - - -/* - * Create Min-SE header. - */ -PJ_DEF(pjsip_min_se_hdr*) pjsip_min_se_hdr_create(pj_pool_t *pool) -{ - pjsip_min_se_hdr *hdr = PJ_POOL_ZALLOC_T(pool, pjsip_min_se_hdr); - - pj_assert(is_initialized); - - hdr->type = PJSIP_H_OTHER; - hdr->name = STR_MIN_SE; - hdr->vptr = &min_se_hdr_vptr; - pj_list_init(hdr); - pj_list_init(&hdr->other_param); - return hdr; -} - - -/* - * This function generates headers for Session Timers for intial and - * refresh INVITE or UPDATE. - */ -PJ_DEF(pj_status_t) pjsip_timer_update_req(pjsip_inv_session *inv, - pjsip_tx_data *tdata) -{ - PJ_ASSERT_RETURN(inv && tdata, PJ_EINVAL); - - /* Check if Session Timers is supported */ - if ((inv->options & PJSIP_INV_SUPPORT_TIMER) == 0) - return PJ_SUCCESS; - - pj_assert(is_initialized); - - /* Make sure Session Timers is initialized */ - if (inv->timer == NULL) - pjsip_timer_init_session(inv, NULL); - - /* If refresher role (i.e: ours or peer) has been set/negotiated, - * better to keep it. - */ - if (inv->timer->refresher != TR_UNKNOWN) { - pj_bool_t as_refresher; - - /* Check our refresher role */ - as_refresher = - (inv->timer->refresher==TR_UAC && inv->timer->role==PJSIP_ROLE_UAC) || - (inv->timer->refresher==TR_UAS && inv->timer->role==PJSIP_ROLE_UAS); - - /* Update transaction role */ - inv->timer->role = PJSIP_ROLE_UAC; - - /* Update refresher role */ - inv->timer->refresher = as_refresher? TR_UAC : TR_UAS; - } - - /* Add Session Timers headers */ - add_timer_headers(inv, tdata, PJ_TRUE, PJ_TRUE); - - return PJ_SUCCESS; -} - -/* - * This function will handle Session Timers part of INVITE/UPDATE - * responses with code: - * - 422 (Session Interval Too Small) - * - 2xx final response - */ -PJ_DEF(pj_status_t) pjsip_timer_process_resp(pjsip_inv_session *inv, - const pjsip_rx_data *rdata, - pjsip_status_code *st_code) -{ - const pjsip_msg *msg; - - PJ_ASSERT_ON_FAIL(inv && rdata, - {if(st_code)*st_code=PJSIP_SC_INTERNAL_SERVER_ERROR;return PJ_EINVAL;}); - - /* Check if Session Timers is supported */ - if ((inv->options & PJSIP_INV_SUPPORT_TIMER) == 0) - return PJ_SUCCESS; - - pj_assert(is_initialized); - - msg = rdata->msg_info.msg; - pj_assert(msg->type == PJSIP_RESPONSE_MSG); - - /* Only process response of INVITE or UPDATE */ - if (rdata->msg_info.cseq->method.id != PJSIP_INVITE_METHOD && - pjsip_method_cmp(&rdata->msg_info.cseq->method, &pjsip_update_method)) - { - return PJ_SUCCESS; - } - - if (msg->line.status.code == PJSIP_SC_SESSION_TIMER_TOO_SMALL) { - /* Our Session-Expires is too small, let's update it based on - * Min-SE header in the response. - */ - pjsip_tx_data *tdata; - pjsip_min_se_hdr *min_se_hdr; - pjsip_hdr *hdr; - pjsip_via_hdr *via; - - /* Get Min-SE value from response */ - min_se_hdr = (pjsip_min_se_hdr*) - pjsip_msg_find_hdr_by_name(msg, &STR_MIN_SE, NULL); - if (min_se_hdr == NULL) { - /* Response 422 should contain Min-SE header */ - return PJ_SUCCESS; - } - - /* Session Timers should have been initialized here */ - pj_assert(inv->timer); - - /* Update Min-SE */ - inv->timer->setting.min_se = PJ_MAX(min_se_hdr->min_se, - inv->timer->setting.min_se); - - /* Update Session Timers setting */ - if (inv->timer->setting.sess_expires < inv->timer->setting.min_se) - inv->timer->setting.sess_expires = inv->timer->setting.min_se; - - /* Prepare to restart the request */ - - /* Get the original INVITE request. */ - tdata = inv->invite_req; - - /* Remove branch param in Via header. */ - via = (pjsip_via_hdr*) pjsip_msg_find_hdr(tdata->msg, PJSIP_H_VIA, NULL); - pj_assert(via); - via->branch_param.slen = 0; - - /* Restore strict route set. - * See http://trac.pjsip.org/repos/ticket/492 - */ - pjsip_restore_strict_route_set(tdata); - - /* Must invalidate the message! */ - pjsip_tx_data_invalidate_msg(tdata); - - pjsip_tx_data_add_ref(tdata); - - /* Update Session Timers headers */ - hdr = (pjsip_hdr*) pjsip_msg_find_hdr_by_name(tdata->msg, - &STR_MIN_SE, NULL); - if (hdr != NULL) pj_list_erase(hdr); - - hdr = (pjsip_hdr*) pjsip_msg_find_hdr_by_names(tdata->msg, &STR_SE, - &STR_SHORT_SE, NULL); - if (hdr != NULL) pj_list_erase(hdr); - - add_timer_headers(inv, tdata, PJ_TRUE, PJ_TRUE); - - /* Restart UAC */ - pjsip_inv_uac_restart(inv, PJ_FALSE); - pjsip_inv_send_msg(inv, tdata); - - return PJ_SUCCESS; - - } else if (msg->line.status.code/100 == 2) { - - pjsip_sess_expires_hdr *se_hdr; - - /* Find Session-Expires header */ - se_hdr = (pjsip_sess_expires_hdr*) pjsip_msg_find_hdr_by_names( - msg, &STR_SE, - &STR_SHORT_SE, NULL); - if (se_hdr == NULL) { - /* Remote doesn't support/want Session Timers, check if local - * require or force to use Session Timers. - */ - if (inv->options & PJSIP_INV_REQUIRE_TIMER) { - if (st_code) - *st_code = PJSIP_SC_EXTENSION_REQUIRED; - pjsip_timer_end_session(inv); - return PJSIP_ERRNO_FROM_SIP_STATUS( - PJSIP_SC_EXTENSION_REQUIRED); - } - - if ((inv->options & PJSIP_INV_ALWAYS_USE_TIMER) == 0) { - /* Session Timers not forced */ - pjsip_timer_end_session(inv); - return PJ_SUCCESS; - } - } - - /* Make sure Session Timers is initialized */ - if (inv->timer == NULL) - pjsip_timer_init_session(inv, NULL); - - /* Session expiration period specified by remote is lower than our - * Min-SE. - */ - if (se_hdr && - se_hdr->sess_expires < inv->timer->setting.min_se) - { - /* See ticket #954, instead of returning non-PJ_SUCCESS (which - * may cause disconnecting call/dialog), let's just accept the - * SE and update our local SE, as long as it isn't less than 90s. - */ - if (se_hdr->sess_expires >= ABS_MIN_SE) { - PJ_LOG(3, (inv->pool->obj_name, - "Peer responds with bad Session-Expires, %ds, " - "which is less than Min-SE specified in request, " - "%ds. Well, let's just accept and use it.", - se_hdr->sess_expires, inv->timer->setting.min_se)); - - inv->timer->setting.sess_expires = se_hdr->sess_expires; - inv->timer->setting.min_se = se_hdr->sess_expires; - } - - //if (st_code) - // *st_code = PJSIP_SC_SESSION_TIMER_TOO_SMALL; - //pjsip_timer_end_session(inv); - //return PJSIP_ERRNO_FROM_SIP_STATUS( - // PJSIP_SC_SESSION_TIMER_TOO_SMALL); - } - - /* Update SE. Session-Expires in response cannot be lower than Min-SE. - * Session-Expires in response can only be equal or lower than in - * request. - */ - if (se_hdr && - se_hdr->sess_expires <= inv->timer->setting.sess_expires && - se_hdr->sess_expires >= inv->timer->setting.min_se) - { - /* Good SE from remote, update local SE */ - inv->timer->setting.sess_expires = se_hdr->sess_expires; - } - - /* Set the refresher */ - if (se_hdr && pj_stricmp(&se_hdr->refresher, &STR_UAC) == 0) - inv->timer->refresher = TR_UAC; - else if (se_hdr && pj_stricmp(&se_hdr->refresher, &STR_UAS) == 0) - inv->timer->refresher = TR_UAS; - else - /* UAS should set the refresher, however, there is a case that - * UAS doesn't support/want Session Timers but the UAC insists - * to use Session Timers. - */ - inv->timer->refresher = TR_UAC; - - /* Remember our role in this transaction */ - inv->timer->role = PJSIP_ROLE_UAC; - - /* Finally, set active flag and start the Session Timers */ - inv->timer->active = PJ_TRUE; - start_timer(inv); - - } else if (pjsip_method_cmp(&rdata->msg_info.cseq->method, - &pjsip_update_method) == 0 && - msg->line.status.code >= 400 && msg->line.status.code < 600) - { - /* This is to handle error response to previous UPDATE that was - * sent without SDP. In this case, retry sending UPDATE but - * with SDP this time. - * Note: the additional expressions are to check that the - * UPDATE was really the one sent by us, not by other - * call components (e.g. to change codec) - */ - if (inv->timer->timer.id == 0 && inv->timer->use_update && - inv->timer->with_sdp == PJ_FALSE) - { - inv->timer->with_sdp = PJ_TRUE; - timer_cb(NULL, &inv->timer->timer); - } - } - - return PJ_SUCCESS; -} - -/* - * Handle incoming INVITE or UPDATE request. - */ -PJ_DEF(pj_status_t) pjsip_timer_process_req(pjsip_inv_session *inv, - const pjsip_rx_data *rdata, - pjsip_status_code *st_code) -{ - pjsip_min_se_hdr *min_se_hdr; - pjsip_sess_expires_hdr *se_hdr; - const pjsip_msg *msg; - unsigned min_se; - - PJ_ASSERT_ON_FAIL(inv && rdata, - {if(st_code)*st_code=PJSIP_SC_INTERNAL_SERVER_ERROR;return PJ_EINVAL;}); - - /* Check if Session Timers is supported */ - if ((inv->options & PJSIP_INV_SUPPORT_TIMER) == 0) - return PJ_SUCCESS; - - pj_assert(is_initialized); - - msg = rdata->msg_info.msg; - pj_assert(msg->type == PJSIP_REQUEST_MSG); - - /* Only process INVITE or UPDATE request */ - if (msg->line.req.method.id != PJSIP_INVITE_METHOD && - pjsip_method_cmp(&rdata->msg_info.cseq->method, &pjsip_update_method)) - { - return PJ_SUCCESS; - } - - /* Find Session-Expires header */ - se_hdr = (pjsip_sess_expires_hdr*) pjsip_msg_find_hdr_by_names( - msg, &STR_SE, &STR_SHORT_SE, NULL); - if (se_hdr == NULL) { - /* Remote doesn't support/want Session Timers, check if local - * require or force to use Session Timers. Note that Supported and - * Require headers negotiation should have been verified by invite - * session. - */ - if ((inv->options & - (PJSIP_INV_REQUIRE_TIMER | PJSIP_INV_ALWAYS_USE_TIMER)) == 0) - { - /* Session Timers not forced/required */ - pjsip_timer_end_session(inv); - return PJ_SUCCESS; - } - } - - /* Make sure Session Timers is initialized */ - if (inv->timer == NULL) - pjsip_timer_init_session(inv, NULL); - - /* Find Min-SE header */ - min_se_hdr = (pjsip_min_se_hdr*) pjsip_msg_find_hdr_by_name(msg, - &STR_MIN_SE, NULL); - /* Update Min-SE */ - min_se = inv->timer->setting.min_se; - if (min_se_hdr) - min_se = PJ_MAX(min_se_hdr->min_se, min_se); - - /* Validate SE. Session-Expires cannot be lower than Min-SE - * (or 90 seconds if Min-SE is not set). - */ - if (se_hdr && se_hdr->sess_expires < min_se) { - if (st_code) - *st_code = PJSIP_SC_SESSION_TIMER_TOO_SMALL; - return PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_SESSION_TIMER_TOO_SMALL); - } - - /* Update SE. Note that there is a case that SE is not available in the - * request (which means remote doesn't want/support it), but local insists - * to use Session Timers. - */ - if (se_hdr) { - /* Update SE as specified by peer. */ - inv->timer->setting.sess_expires = se_hdr->sess_expires; - } else if (inv->timer->setting.sess_expires < min_se) { - /* There is no SE in the request (remote support Session Timers but - * doesn't want to use it, it just specify Min-SE) and local SE is - * lower than Min-SE specified by remote. - */ - inv->timer->setting.sess_expires = min_se; - } - - /* Set the refresher */ - if (se_hdr && pj_stricmp(&se_hdr->refresher, &STR_UAC) == 0) - inv->timer->refresher = TR_UAC; - else if (se_hdr && pj_stricmp(&se_hdr->refresher, &STR_UAS) == 0) - inv->timer->refresher = TR_UAS; - else { - /* If refresher role (i.e: ours or peer) has been set/negotiated, - * better to keep it. - */ - if (inv->timer->refresher != TR_UNKNOWN) { - pj_bool_t as_refresher; - - /* Check our refresher role */ - as_refresher = - (inv->timer->refresher==TR_UAC && inv->timer->role==PJSIP_ROLE_UAC) || - (inv->timer->refresher==TR_UAS && inv->timer->role==PJSIP_ROLE_UAS); - - /* Update refresher role */ - inv->timer->refresher = as_refresher? TR_UAS : TR_UAC; - } else { - /* If UAC support timer (currently check the existance of - * Session-Expires header in the request), set UAC as refresher. - */ - inv->timer->refresher = se_hdr? TR_UAC : TR_UAS; - } - } - - /* Remember our role in this transaction */ - inv->timer->role = PJSIP_ROLE_UAS; - - /* Set active flag */ - inv->timer->active = PJ_TRUE; - - return PJ_SUCCESS; -} - -/* - * Handle outgoing response with status code 2xx & 422. - */ -PJ_DEF(pj_status_t) pjsip_timer_update_resp(pjsip_inv_session *inv, - pjsip_tx_data *tdata) -{ - pjsip_msg *msg; - - /* Check if Session Timers is supported */ - if ((inv->options & PJSIP_INV_SUPPORT_TIMER) == 0) - return PJ_SUCCESS; - - pj_assert(is_initialized); - PJ_ASSERT_RETURN(inv && tdata, PJ_EINVAL); - - msg = tdata->msg; - - if (msg->line.status.code/100 == 2) - { - if (inv->timer && inv->timer->active) { - /* Add Session-Expires header and start the timer */ - add_timer_headers(inv, tdata, PJ_TRUE, PJ_FALSE); - start_timer(inv); - } - } - else if (msg->line.status.code == PJSIP_SC_SESSION_TIMER_TOO_SMALL) - { - /* Add Min-SE header */ - add_timer_headers(inv, tdata, PJ_FALSE, PJ_TRUE); - } - - return PJ_SUCCESS; -} - - -/* - * End the Session Timers. - */ -PJ_DEF(pj_status_t) pjsip_timer_end_session(pjsip_inv_session *inv) -{ - PJ_ASSERT_RETURN(inv, PJ_EINVAL); - - if (inv->timer) { - /* Reset active flag */ - inv->timer->active = PJ_FALSE; - - /* Stop Session Timers */ - stop_timer(inv); - } - - return PJ_SUCCESS; -} diff --git a/res/pjproject/pjsip/src/pjsip-ua/sip_xfer.c b/res/pjproject/pjsip/src/pjsip-ua/sip_xfer.c deleted file mode 100644 index 571b807bb2..0000000000 --- a/res/pjproject/pjsip/src/pjsip-ua/sip_xfer.c +++ /dev/null @@ -1,630 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* Subscription expiration */ -#ifndef PJSIP_XFER_EXPIRES -# define PJSIP_XFER_EXPIRES 600 -#endif - - -/* - * Refer module (mod-refer) - */ -static struct pjsip_module mod_xfer = -{ - NULL, NULL, /* prev, next. */ - { "mod-refer", 9 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_DIALOG_USAGE, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - NULL, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ -}; - - -/* Declare PJSIP_REFER_METHOD, so that if somebody declares this in - * sip_msg.h we can catch the error here. - */ -enum -{ - PJSIP_REFER_METHOD = PJSIP_OTHER_METHOD -}; - -PJ_DEF_DATA(const pjsip_method) pjsip_refer_method = { - (pjsip_method_e) PJSIP_REFER_METHOD, - { "REFER", 5} -}; - -PJ_DEF(const pjsip_method*) pjsip_get_refer_method() -{ - return &pjsip_refer_method; -} - -/* - * String constants - */ -const pj_str_t STR_REFER = { "refer", 5 }; -const pj_str_t STR_MESSAGE = { "message", 7 }; -const pj_str_t STR_SIPFRAG = { "sipfrag", 7 }; -const pj_str_t STR_SIPFRAG_VERSION = {";version=2.0", 12 }; - - -/* - * Transfer struct. - */ -struct pjsip_xfer -{ - pjsip_evsub *sub; /**< Event subscribtion record. */ - pjsip_dialog *dlg; /**< The dialog. */ - pjsip_evsub_user user_cb; /**< The user callback. */ - pj_str_t refer_to_uri; /**< The full Refer-To URI. */ - int last_st_code; /**< st_code sent in last NOTIFY */ - pj_str_t last_st_text; /**< st_text sent in last NOTIFY */ -}; - - -typedef struct pjsip_xfer pjsip_xfer; - - - -/* - * Forward decl for evsub callback. - */ -static void xfer_on_evsub_state( pjsip_evsub *sub, pjsip_event *event); -static void xfer_on_evsub_tsx_state( pjsip_evsub *sub, pjsip_transaction *tsx, - pjsip_event *event); -static void xfer_on_evsub_rx_refresh( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int *p_st_code, - pj_str_t **p_st_text, - pjsip_hdr *res_hdr, - pjsip_msg_body **p_body); -static void xfer_on_evsub_rx_notify( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int *p_st_code, - pj_str_t **p_st_text, - pjsip_hdr *res_hdr, - pjsip_msg_body **p_body); -static void xfer_on_evsub_client_refresh(pjsip_evsub *sub); -static void xfer_on_evsub_server_timeout(pjsip_evsub *sub); - - -/* - * Event subscription callback for xference. - */ -static pjsip_evsub_user xfer_user = -{ - &xfer_on_evsub_state, - &xfer_on_evsub_tsx_state, - &xfer_on_evsub_rx_refresh, - &xfer_on_evsub_rx_notify, - &xfer_on_evsub_client_refresh, - &xfer_on_evsub_server_timeout, -}; - - - - -/* - * Initialize the REFER subsystem. - */ -PJ_DEF(pj_status_t) pjsip_xfer_init_module(pjsip_endpoint *endpt) -{ - const pj_str_t accept = { "message/sipfrag;version=2.0", 27 }; - pj_status_t status; - - PJ_ASSERT_RETURN(endpt != NULL, PJ_EINVAL); - PJ_ASSERT_RETURN(mod_xfer.id == -1, PJ_EINVALIDOP); - - status = pjsip_endpt_register_module(endpt, &mod_xfer); - if (status != PJ_SUCCESS) - return status; - - status = pjsip_endpt_add_capability( endpt, &mod_xfer, PJSIP_H_ALLOW, - NULL, 1, - &pjsip_get_refer_method()->name); - if (status != PJ_SUCCESS) - return status; - - status = pjsip_evsub_register_pkg(&mod_xfer, &STR_REFER, - PJSIP_XFER_EXPIRES, 1, &accept); - if (status != PJ_SUCCESS) - return status; - - return PJ_SUCCESS; -} - - -/* - * Create transferer (sender of REFER request). - * - */ -PJ_DEF(pj_status_t) pjsip_xfer_create_uac( pjsip_dialog *dlg, - const pjsip_evsub_user *user_cb, - pjsip_evsub **p_evsub ) -{ - pj_status_t status; - pjsip_xfer *xfer; - pjsip_evsub *sub; - - PJ_ASSERT_RETURN(dlg && p_evsub, PJ_EINVAL); - - pjsip_dlg_inc_lock(dlg); - - /* Create event subscription */ - status = pjsip_evsub_create_uac( dlg, &xfer_user, &STR_REFER, - PJSIP_EVSUB_NO_EVENT_ID, &sub); - if (status != PJ_SUCCESS) - goto on_return; - - /* Create xfer session */ - xfer = PJ_POOL_ZALLOC_T(dlg->pool, pjsip_xfer); - xfer->dlg = dlg; - xfer->sub = sub; - if (user_cb) - pj_memcpy(&xfer->user_cb, user_cb, sizeof(pjsip_evsub_user)); - - /* Attach to evsub */ - pjsip_evsub_set_mod_data(sub, mod_xfer.id, xfer); - - *p_evsub = sub; - -on_return: - pjsip_dlg_dec_lock(dlg); - return status; - -} - - - - -/* - * Create transferee (receiver of REFER request). - * - */ -PJ_DEF(pj_status_t) pjsip_xfer_create_uas( pjsip_dialog *dlg, - const pjsip_evsub_user *user_cb, - pjsip_rx_data *rdata, - pjsip_evsub **p_evsub ) -{ - pjsip_evsub *sub; - pjsip_xfer *xfer; - const pj_str_t STR_EVENT = {"Event", 5 }; - pjsip_event_hdr *event_hdr; - pj_status_t status; - - /* Check arguments */ - PJ_ASSERT_RETURN(dlg && rdata && p_evsub, PJ_EINVAL); - - /* Must be request message */ - PJ_ASSERT_RETURN(rdata->msg_info.msg->type == PJSIP_REQUEST_MSG, - PJSIP_ENOTREQUESTMSG); - - /* Check that request is REFER */ - PJ_ASSERT_RETURN(pjsip_method_cmp(&rdata->msg_info.msg->line.req.method, - pjsip_get_refer_method())==0, - PJSIP_ENOTREFER); - - /* Lock dialog */ - pjsip_dlg_inc_lock(dlg); - - /* The evsub framework expects an Event header in the request, - * while a REFER request conveniently doesn't have one (pun intended!). - * So create a dummy Event header. - */ - if (pjsip_msg_find_hdr_by_name(rdata->msg_info.msg, - &STR_EVENT, NULL)==NULL) - { - event_hdr = pjsip_event_hdr_create(rdata->tp_info.pool); - event_hdr->event_type = STR_REFER; - pjsip_msg_add_hdr(rdata->msg_info.msg, (pjsip_hdr*)event_hdr); - } - - /* Create server subscription */ - status = pjsip_evsub_create_uas( dlg, &xfer_user, rdata, - PJSIP_EVSUB_NO_EVENT_ID, &sub); - if (status != PJ_SUCCESS) - goto on_return; - - /* Create server xfer subscription */ - xfer = PJ_POOL_ZALLOC_T(dlg->pool, pjsip_xfer); - xfer->dlg = dlg; - xfer->sub = sub; - if (user_cb) - pj_memcpy(&xfer->user_cb, user_cb, sizeof(pjsip_evsub_user)); - - /* Attach to evsub */ - pjsip_evsub_set_mod_data(sub, mod_xfer.id, xfer); - - /* Done: */ - *p_evsub = sub; - -on_return: - pjsip_dlg_dec_lock(dlg); - return status; -} - - - -/* - * Call this function to create request to initiate REFER subscription. - * - */ -PJ_DEF(pj_status_t) pjsip_xfer_initiate( pjsip_evsub *sub, - const pj_str_t *refer_to_uri, - pjsip_tx_data **p_tdata) -{ - pjsip_xfer *xfer; - const pj_str_t refer_to = { "Refer-To", 8}; - pjsip_tx_data *tdata; - pjsip_generic_string_hdr *hdr; - pj_status_t status; - - /* sub and p_tdata argument must be valid. */ - PJ_ASSERT_RETURN(sub && p_tdata, PJ_EINVAL); - - - /* Get the xfer object. */ - xfer = (pjsip_xfer*) pjsip_evsub_get_mod_data(sub, mod_xfer.id); - PJ_ASSERT_RETURN(xfer != NULL, PJSIP_ENOREFERSESSION); - - /* refer_to_uri argument MAY be NULL for subsequent REFER requests, - * but it MUST be specified in the first REFER. - */ - PJ_ASSERT_RETURN((refer_to_uri || xfer->refer_to_uri.slen), PJ_EINVAL); - - /* Lock dialog. */ - pjsip_dlg_inc_lock(xfer->dlg); - - /* Create basic REFER request */ - status = pjsip_evsub_initiate(sub, pjsip_get_refer_method(), -1, - &tdata); - if (status != PJ_SUCCESS) - goto on_return; - - /* Save Refer-To URI. */ - if (refer_to_uri == NULL) { - refer_to_uri = &xfer->refer_to_uri; - } else { - pj_strdup(xfer->dlg->pool, &xfer->refer_to_uri, refer_to_uri); - } - - /* Create and add Refer-To header. */ - hdr = pjsip_generic_string_hdr_create(tdata->pool, &refer_to, - refer_to_uri); - if (!hdr) { - pjsip_tx_data_dec_ref(tdata); - status = PJ_ENOMEM; - goto on_return; - } - - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)hdr); - - - /* Done. */ - *p_tdata = tdata; - - status = PJ_SUCCESS; - -on_return: - pjsip_dlg_dec_lock(xfer->dlg); - return status; -} - - -/* - * Accept the incoming REFER request by sending 2xx response. - * - */ -PJ_DEF(pj_status_t) pjsip_xfer_accept( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int st_code, - const pjsip_hdr *hdr_list ) -{ - /* - * Don't need to add custom headers, so just call basic - * evsub response. - */ - return pjsip_evsub_accept( sub, rdata, st_code, hdr_list ); -} - - -/* - * For notifier, create NOTIFY request to subscriber, and set the state - * of the subscription. - */ -PJ_DEF(pj_status_t) pjsip_xfer_notify( pjsip_evsub *sub, - pjsip_evsub_state state, - int xfer_st_code, - const pj_str_t *xfer_st_text, - pjsip_tx_data **p_tdata) -{ - pjsip_tx_data *tdata; - pjsip_xfer *xfer; - pjsip_param *param; - const pj_str_t reason = { "noresource", 10 }; - char *body; - int bodylen; - pjsip_msg_body *msg_body; - pj_status_t status; - - - /* Check arguments. */ - PJ_ASSERT_RETURN(sub, PJ_EINVAL); - - /* Get the xfer object. */ - xfer = (pjsip_xfer*) pjsip_evsub_get_mod_data(sub, mod_xfer.id); - PJ_ASSERT_RETURN(xfer != NULL, PJSIP_ENOREFERSESSION); - - - /* Lock object. */ - pjsip_dlg_inc_lock(xfer->dlg); - - /* Create the NOTIFY request. - * Note that reason is only used when state is TERMINATED, and - * the defined termination reason for REFER is "noresource". - */ - status = pjsip_evsub_notify( sub, state, NULL, &reason, &tdata); - if (status != PJ_SUCCESS) - goto on_return; - - - /* Check status text */ - if (xfer_st_text==NULL || xfer_st_text->slen==0) - xfer_st_text = pjsip_get_status_text(xfer_st_code); - - /* Save st_code and st_text, for current_notify() */ - xfer->last_st_code = xfer_st_code; - pj_strdup(xfer->dlg->pool, &xfer->last_st_text, xfer_st_text); - - /* Create sipfrag content. */ - body = (char*) pj_pool_alloc(tdata->pool, 128); - bodylen = pj_ansi_snprintf(body, 128, "SIP/2.0 %u %.*s\r\n", - xfer_st_code, - (int)xfer_st_text->slen, - xfer_st_text->ptr); - PJ_ASSERT_ON_FAIL(bodylen > 0 && bodylen < 128, - {status=PJ_EBUG; pjsip_tx_data_dec_ref(tdata); - goto on_return; }); - - - /* Create SIP message body. */ - msg_body = PJ_POOL_ZALLOC_T(tdata->pool, pjsip_msg_body); - pjsip_media_type_init(&msg_body->content_type, (pj_str_t*)&STR_MESSAGE, - (pj_str_t*)&STR_SIPFRAG); - msg_body->data = body; - msg_body->len = bodylen; - msg_body->print_body = &pjsip_print_text_body; - msg_body->clone_data = &pjsip_clone_text_data; - - param = PJ_POOL_ALLOC_T(tdata->pool, pjsip_param); - param->name = pj_str("version"); - param->value = pj_str("2.0"); - pj_list_push_back(&msg_body->content_type.param, param); - - /* Attach sipfrag body. */ - tdata->msg->body = msg_body; - - - /* Done. */ - *p_tdata = tdata; - - -on_return: - pjsip_dlg_dec_lock(xfer->dlg); - return status; - -} - - -/* - * Send current state and the last sipfrag body. - */ -PJ_DEF(pj_status_t) pjsip_xfer_current_notify( pjsip_evsub *sub, - pjsip_tx_data **p_tdata ) -{ - pjsip_xfer *xfer; - pj_status_t status; - - - /* Check arguments. */ - PJ_ASSERT_RETURN(sub, PJ_EINVAL); - - /* Get the xfer object. */ - xfer = (pjsip_xfer*) pjsip_evsub_get_mod_data(sub, mod_xfer.id); - PJ_ASSERT_RETURN(xfer != NULL, PJSIP_ENOREFERSESSION); - - pjsip_dlg_inc_lock(xfer->dlg); - - status = pjsip_xfer_notify(sub, pjsip_evsub_get_state(sub), - xfer->last_st_code, &xfer->last_st_text, - p_tdata); - - pjsip_dlg_dec_lock(xfer->dlg); - - return status; -} - - -/* - * Send request message. - */ -PJ_DEF(pj_status_t) pjsip_xfer_send_request( pjsip_evsub *sub, - pjsip_tx_data *tdata) -{ - return pjsip_evsub_send_request(sub, tdata); -} - - -/* - * This callback is called by event subscription when subscription - * state has changed. - */ -static void xfer_on_evsub_state( pjsip_evsub *sub, pjsip_event *event) -{ - pjsip_xfer *xfer; - - xfer = (pjsip_xfer*) pjsip_evsub_get_mod_data(sub, mod_xfer.id); - PJ_ASSERT_ON_FAIL(xfer!=NULL, {return;}); - - if (xfer->user_cb.on_evsub_state) - (*xfer->user_cb.on_evsub_state)(sub, event); - -} - -/* - * Called when transaction state has changed. - */ -static void xfer_on_evsub_tsx_state( pjsip_evsub *sub, pjsip_transaction *tsx, - pjsip_event *event) -{ - pjsip_xfer *xfer; - - xfer = (pjsip_xfer*) pjsip_evsub_get_mod_data(sub, mod_xfer.id); - PJ_ASSERT_ON_FAIL(xfer!=NULL, {return;}); - - if (xfer->user_cb.on_tsx_state) - (*xfer->user_cb.on_tsx_state)(sub, tsx, event); -} - -/* - * Called when REFER is received to refresh subscription. - */ -static void xfer_on_evsub_rx_refresh( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int *p_st_code, - pj_str_t **p_st_text, - pjsip_hdr *res_hdr, - pjsip_msg_body **p_body) -{ - pjsip_xfer *xfer; - - xfer = (pjsip_xfer*) pjsip_evsub_get_mod_data(sub, mod_xfer.id); - PJ_ASSERT_ON_FAIL(xfer!=NULL, {return;}); - - if (xfer->user_cb.on_rx_refresh) { - (*xfer->user_cb.on_rx_refresh)(sub, rdata, p_st_code, p_st_text, - res_hdr, p_body); - - } else { - /* Implementors MUST send NOTIFY if it implements on_rx_refresh - * (implementor == "us" from evsub point of view. - */ - pjsip_tx_data *tdata; - pj_status_t status; - - if (pjsip_evsub_get_state(sub)==PJSIP_EVSUB_STATE_TERMINATED) { - status = pjsip_xfer_notify( sub, PJSIP_EVSUB_STATE_TERMINATED, - xfer->last_st_code, - &xfer->last_st_text, - &tdata); - } else { - status = pjsip_xfer_current_notify(sub, &tdata); - } - - if (status == PJ_SUCCESS) - pjsip_xfer_send_request(sub, tdata); - } -} - - -/* - * Called when NOTIFY is received. - */ -static void xfer_on_evsub_rx_notify( pjsip_evsub *sub, - pjsip_rx_data *rdata, - int *p_st_code, - pj_str_t **p_st_text, - pjsip_hdr *res_hdr, - pjsip_msg_body **p_body) -{ - pjsip_xfer *xfer; - - xfer = (pjsip_xfer*) pjsip_evsub_get_mod_data(sub, mod_xfer.id); - PJ_ASSERT_ON_FAIL(xfer!=NULL, {return;}); - - if (xfer->user_cb.on_rx_notify) - (*xfer->user_cb.on_rx_notify)(sub, rdata, p_st_code, p_st_text, - res_hdr, p_body); -} - -/* - * Called when it's time to send SUBSCRIBE. - */ -static void xfer_on_evsub_client_refresh(pjsip_evsub *sub) -{ - pjsip_xfer *xfer; - - xfer = (pjsip_xfer*) pjsip_evsub_get_mod_data(sub, mod_xfer.id); - PJ_ASSERT_ON_FAIL(xfer!=NULL, {return;}); - - if (xfer->user_cb.on_client_refresh) { - (*xfer->user_cb.on_client_refresh)(sub); - } else { - pj_status_t status; - pjsip_tx_data *tdata; - - status = pjsip_evsub_initiate(sub, NULL, PJSIP_XFER_EXPIRES, &tdata); - if (status == PJ_SUCCESS) - pjsip_xfer_send_request(sub, tdata); - } -} - - -/* - * Called when no refresh is received after the interval. - */ -static void xfer_on_evsub_server_timeout(pjsip_evsub *sub) -{ - pjsip_xfer *xfer; - - xfer = (pjsip_xfer*) pjsip_evsub_get_mod_data(sub, mod_xfer.id); - PJ_ASSERT_ON_FAIL(xfer!=NULL, {return;}); - - if (xfer->user_cb.on_server_timeout) { - (*xfer->user_cb.on_server_timeout)(sub); - } else { - pj_status_t status; - pjsip_tx_data *tdata; - - status = pjsip_xfer_notify(sub, PJSIP_EVSUB_STATE_TERMINATED, - xfer->last_st_code, - &xfer->last_st_text, &tdata); - if (status == PJ_SUCCESS) - pjsip_xfer_send_request(sub, tdata); - } -} - diff --git a/res/pjproject/pjsip/src/pjsip/sip_auth_aka.c b/res/pjproject/pjsip/src/pjsip/sip_auth_aka.c deleted file mode 100644 index 82efbaf925..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_auth_aka.c +++ /dev/null @@ -1,204 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#if PJSIP_HAS_DIGEST_AKA_AUTH - -#include "../../third_party/milenage/milenage.h" - -/* - * Create MD5-AKA1 digest response. - */ -PJ_DEF(pj_status_t) pjsip_auth_create_aka_response( - pj_pool_t *pool, - const pjsip_digest_challenge*chal, - const pjsip_cred_info *cred, - const pj_str_t *method, - pjsip_digest_credential *auth) -{ - pj_str_t nonce_bin; - int aka_version; - const pj_str_t pjsip_AKAv1_MD5 = { "AKAv1-MD5", 9 }; - const pj_str_t pjsip_AKAv2_MD5 = { "AKAv2-MD5", 9 }; - pj_uint8_t *chal_rand, *chal_sqnxoraka, *chal_mac; - pj_uint8_t k[PJSIP_AKA_KLEN]; - pj_uint8_t op[PJSIP_AKA_OPLEN]; - pj_uint8_t amf[PJSIP_AKA_AMFLEN]; - pj_uint8_t res[PJSIP_AKA_RESLEN]; - pj_uint8_t ck[PJSIP_AKA_CKLEN]; - pj_uint8_t ik[PJSIP_AKA_IKLEN]; - pj_uint8_t ak[PJSIP_AKA_AKLEN]; - pj_uint8_t sqn[PJSIP_AKA_SQNLEN]; - pj_uint8_t xmac[PJSIP_AKA_MACLEN]; - pjsip_cred_info aka_cred; - int i, len; - pj_status_t status; - - /* Check the algorithm is supported. */ - if (chal->algorithm.slen==0 || pj_stricmp2(&chal->algorithm, "md5") == 0) { - /* - * A normal MD5 authentication is requested. Fallbackt to the usual - * MD5 digest creation. - */ - pjsip_auth_create_digest(&auth->response, &auth->nonce, &auth->nc, - &auth->cnonce, &auth->qop, &auth->uri, - &auth->realm, cred, method); - return PJ_SUCCESS; - - } else if (pj_stricmp(&chal->algorithm, &pjsip_AKAv1_MD5) == 0) { - /* - * AKA version 1 is requested. - */ - aka_version = 1; - - } else if (pj_stricmp(&chal->algorithm, &pjsip_AKAv2_MD5) == 0) { - /* - * AKA version 2 is requested. - */ - aka_version = 2; - - } else { - /* Unsupported algorithm */ - return PJSIP_EINVALIDALGORITHM; - } - - /* Decode nonce */ - nonce_bin.slen = len = PJ_BASE64_TO_BASE256_LEN(chal->nonce.slen); - nonce_bin.ptr = pj_pool_alloc(pool, nonce_bin.slen + 1); - status = pj_base64_decode(&chal->nonce, (pj_uint8_t*)nonce_bin.ptr, &len); - nonce_bin.slen = len; - if (status != PJ_SUCCESS) - return PJSIP_EAUTHINNONCE; - - if (nonce_bin.slen < PJSIP_AKA_RANDLEN + PJSIP_AKA_AUTNLEN) - return PJSIP_EAUTHINNONCE; - - /* Get RAND, AUTN, and MAC */ - chal_rand = (pj_uint8_t*)(nonce_bin.ptr + 0); - chal_sqnxoraka = (pj_uint8_t*) (nonce_bin.ptr + PJSIP_AKA_RANDLEN); - chal_mac = (pj_uint8_t*) (nonce_bin.ptr + PJSIP_AKA_RANDLEN + - PJSIP_AKA_SQNLEN + PJSIP_AKA_AMFLEN); - - /* Copy k. op, and amf */ - pj_bzero(k, sizeof(k)); - pj_bzero(op, sizeof(op)); - pj_bzero(amf, sizeof(amf)); - - if (cred->ext.aka.k.slen) - pj_memcpy(k, cred->ext.aka.k.ptr, cred->ext.aka.k.slen); - if (cred->ext.aka.op.slen) - pj_memcpy(op, cred->ext.aka.op.ptr, cred->ext.aka.op.slen); - if (cred->ext.aka.amf.slen) - pj_memcpy(amf, cred->ext.aka.amf.ptr, cred->ext.aka.amf.slen); - - /* Given key K and random challenge RAND, compute response RES, - * confidentiality key CK, integrity key IK and anonymity key AK. - */ - f2345(k, chal_rand, res, ck, ik, ak, op); - - /* Compute sequence number SQN */ - for (i=0; iresponse, &chal->nonce, - &auth->nc, &auth->cnonce, &auth->qop, - &auth->uri, &chal->realm, &aka_cred, method); - - } else if (aka_version == 2) { - - /* - * For AKAv2, password is base64 encoded [1] parameters: - * PRF(RES||IK||CK,"http-digest-akav2-password") - * - * The pseudo-random function (PRF) is HMAC-MD5 in this case. - */ - - pj_str_t resikck; - const pj_str_t AKAv2_Passwd = { "http-digest-akav2-password", 26 }; - pj_uint8_t hmac_digest[16]; - char tmp_buf[48]; - int hmac64_len; - - resikck.slen = PJSIP_AKA_RESLEN + PJSIP_AKA_IKLEN + PJSIP_AKA_CKLEN; - pj_assert(resikck.slen <= PJ_ARRAY_SIZE(tmp_buf)); - resikck.ptr = tmp_buf; - pj_memcpy(resikck.ptr + 0, res, PJSIP_AKA_RESLEN); - pj_memcpy(resikck.ptr + PJSIP_AKA_RESLEN, ik, PJSIP_AKA_IKLEN); - pj_memcpy(resikck.ptr + PJSIP_AKA_RESLEN + PJSIP_AKA_IKLEN, - ck, PJSIP_AKA_CKLEN); - - pj_hmac_md5((const pj_uint8_t*)AKAv2_Passwd.ptr, AKAv2_Passwd.slen, - (const pj_uint8_t*)resikck.ptr, resikck.slen, - hmac_digest); - - aka_cred.data.slen = hmac64_len = - PJ_BASE256_TO_BASE64_LEN(PJ_ARRAY_SIZE(hmac_digest)); - pj_assert(aka_cred.data.slen+1 <= PJ_ARRAY_SIZE(tmp_buf)); - aka_cred.data.ptr = tmp_buf; - pj_base64_encode(hmac_digest, PJ_ARRAY_SIZE(hmac_digest), - aka_cred.data.ptr, &len); - aka_cred.data.slen = hmac64_len; - - pjsip_auth_create_digest(&auth->response, &chal->nonce, - &auth->nc, &auth->cnonce, &auth->qop, - &auth->uri, &chal->realm, &aka_cred, method); - - } else { - pj_assert(!"Bug!"); - return PJ_EBUG; - } - - /* Done */ - return PJ_SUCCESS; -} - - -#endif /* PJSIP_HAS_DIGEST_AKA_AUTH */ - diff --git a/res/pjproject/pjsip/src/pjsip/sip_auth_client.c b/res/pjproject/pjsip/src/pjsip/sip_auth_client.c deleted file mode 100644 index 4bde853952..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_auth_client.c +++ /dev/null @@ -1,1189 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include -#include /* just to get pjsip_DIGEST_STR */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - - -/* A macro just to get rid of type mismatch between char and unsigned char */ -#define MD5_APPEND(pms,buf,len) pj_md5_update(pms, (const pj_uint8_t*)buf, len) - -/* Logging. */ -#define THIS_FILE "sip_auth_client.c" -#if 0 -# define AUTH_TRACE_(expr) PJ_LOG(3, expr) -#else -# define AUTH_TRACE_(expr) -#endif - -#define PASSWD_MASK 0x000F -#define EXT_MASK 0x00F0 - - -static void dup_bin(pj_pool_t *pool, pj_str_t *dst, const pj_str_t *src) -{ - dst->slen = src->slen; - - if (dst->slen) { - dst->ptr = (char*) pj_pool_alloc(pool, src->slen); - pj_memcpy(dst->ptr, src->ptr, src->slen); - } else { - dst->ptr = NULL; - } -} - -PJ_DEF(void) pjsip_cred_info_dup(pj_pool_t *pool, - pjsip_cred_info *dst, - const pjsip_cred_info *src) -{ - pj_memcpy(dst, src, sizeof(pjsip_cred_info)); - - pj_strdup_with_null(pool, &dst->realm, &src->realm); - pj_strdup_with_null(pool, &dst->scheme, &src->scheme); - pj_strdup_with_null(pool, &dst->username, &src->username); - pj_strdup_with_null(pool, &dst->data, &src->data); - - if ((dst->data_type & EXT_MASK) == PJSIP_CRED_DATA_EXT_AKA) { - dup_bin(pool, &dst->ext.aka.k, &src->ext.aka.k); - dup_bin(pool, &dst->ext.aka.op, &src->ext.aka.op); - dup_bin(pool, &dst->ext.aka.amf, &src->ext.aka.amf); - } -} - - -PJ_DEF(int) pjsip_cred_info_cmp(const pjsip_cred_info *cred1, - const pjsip_cred_info *cred2) -{ - int result; - - result = pj_strcmp(&cred1->realm, &cred2->realm); - if (result) goto on_return; - result = pj_strcmp(&cred1->scheme, &cred2->scheme); - if (result) goto on_return; - result = pj_strcmp(&cred1->username, &cred2->username); - if (result) goto on_return; - result = pj_strcmp(&cred1->data, &cred2->data); - if (result) goto on_return; - result = (cred1->data_type != cred2->data_type); - if (result) goto on_return; - - if ((cred1->data_type & EXT_MASK) == PJSIP_CRED_DATA_EXT_AKA) { - result = pj_strcmp(&cred1->ext.aka.k, &cred2->ext.aka.k); - if (result) goto on_return; - result = pj_strcmp(&cred1->ext.aka.op, &cred2->ext.aka.op); - if (result) goto on_return; - result = pj_strcmp(&cred1->ext.aka.amf, &cred2->ext.aka.amf); - if (result) goto on_return; - } - -on_return: - return result; -} - -PJ_DEF(void) pjsip_auth_clt_pref_dup( pj_pool_t *pool, - pjsip_auth_clt_pref *dst, - const pjsip_auth_clt_pref *src) -{ - pj_memcpy(dst, src, sizeof(pjsip_auth_clt_pref)); - pj_strdup_with_null(pool, &dst->algorithm, &src->algorithm); -} - - -/* Transform digest to string. - * output must be at least PJSIP_MD5STRLEN+1 bytes. - * - * NOTE: THE OUTPUT STRING IS NOT NULL TERMINATED! - */ -static void digest2str(const unsigned char digest[], char *output) -{ - int i; - for (i = 0; i<16; ++i) { - pj_val_to_hex_digit(digest[i], output); - output += 2; - } -} - - -/* - * Create response digest based on the parameters and store the - * digest ASCII in 'result'. - */ -PJ_DEF(void) pjsip_auth_create_digest( pj_str_t *result, - const pj_str_t *nonce, - const pj_str_t *nc, - const pj_str_t *cnonce, - const pj_str_t *qop, - const pj_str_t *uri, - const pj_str_t *realm, - const pjsip_cred_info *cred_info, - const pj_str_t *method) -{ - char ha1[PJSIP_MD5STRLEN]; - char ha2[PJSIP_MD5STRLEN]; - unsigned char digest[16]; - pj_md5_context pms; - - pj_assert(result->slen >= PJSIP_MD5STRLEN); - - AUTH_TRACE_((THIS_FILE, "Begin creating digest")); - - if ((cred_info->data_type & PASSWD_MASK) == PJSIP_CRED_DATA_PLAIN_PASSWD) { - /*** - *** ha1 = MD5(username ":" realm ":" password) - ***/ - pj_md5_init(&pms); - MD5_APPEND( &pms, cred_info->username.ptr, cred_info->username.slen); - MD5_APPEND( &pms, ":", 1); - MD5_APPEND( &pms, realm->ptr, realm->slen); - MD5_APPEND( &pms, ":", 1); - MD5_APPEND( &pms, cred_info->data.ptr, cred_info->data.slen); - pj_md5_final(&pms, digest); - - digest2str(digest, ha1); - - } else if ((cred_info->data_type & PASSWD_MASK) == PJSIP_CRED_DATA_DIGEST) { - pj_assert(cred_info->data.slen == 32); - pj_memcpy( ha1, cred_info->data.ptr, cred_info->data.slen ); - } else { - pj_assert(!"Invalid data_type"); - } - - AUTH_TRACE_((THIS_FILE, " ha1=%.32s", ha1)); - - /*** - *** ha2 = MD5(method ":" req_uri) - ***/ - pj_md5_init(&pms); - MD5_APPEND( &pms, method->ptr, method->slen); - MD5_APPEND( &pms, ":", 1); - MD5_APPEND( &pms, uri->ptr, uri->slen); - pj_md5_final(&pms, digest); - digest2str(digest, ha2); - - AUTH_TRACE_((THIS_FILE, " ha2=%.32s", ha2)); - - /*** - *** When qop is not used: - *** response = MD5(ha1 ":" nonce ":" ha2) - *** - *** When qop=auth is used: - *** response = MD5(ha1 ":" nonce ":" nc ":" cnonce ":" qop ":" ha2) - ***/ - pj_md5_init(&pms); - MD5_APPEND( &pms, ha1, PJSIP_MD5STRLEN); - MD5_APPEND( &pms, ":", 1); - MD5_APPEND( &pms, nonce->ptr, nonce->slen); - if (qop && qop->slen != 0) { - MD5_APPEND( &pms, ":", 1); - MD5_APPEND( &pms, nc->ptr, nc->slen); - MD5_APPEND( &pms, ":", 1); - MD5_APPEND( &pms, cnonce->ptr, cnonce->slen); - MD5_APPEND( &pms, ":", 1); - MD5_APPEND( &pms, qop->ptr, qop->slen); - } - MD5_APPEND( &pms, ":", 1); - MD5_APPEND( &pms, ha2, PJSIP_MD5STRLEN); - - /* This is the final response digest. */ - pj_md5_final(&pms, digest); - - /* Convert digest to string and store in chal->response. */ - result->slen = PJSIP_MD5STRLEN; - digest2str(digest, result->ptr); - - AUTH_TRACE_((THIS_FILE, " digest=%.32s", result->ptr)); - AUTH_TRACE_((THIS_FILE, "Digest created")); -} - -/* - * Finds out if qop offer contains "auth" token. - */ -static pj_bool_t has_auth_qop( pj_pool_t *pool, const pj_str_t *qop_offer) -{ - pj_str_t qop; - char *p; - - pj_strdup_with_null( pool, &qop, qop_offer); - p = qop.ptr; - while (*p) { - *p = (char)pj_tolower(*p); - ++p; - } - - p = qop.ptr; - while (*p) { - if (*p=='a' && *(p+1)=='u' && *(p+2)=='t' && *(p+3)=='h') { - int e = *(p+4); - if (e=='"' || e==',' || e==0) - return PJ_TRUE; - else - p += 4; - } else { - ++p; - } - } - - return PJ_FALSE; -} - -/* - * Generate response digest. - * Most of the parameters to generate the digest (i.e. username, realm, uri, - * and nonce) are expected to be in the credential. Additional parameters (i.e. - * password and method param) should be supplied in the argument. - * - * The resulting digest will be stored in cred->response. - * The pool is used to allocate 32 bytes to store the digest in cred->response. - */ -static pj_status_t respond_digest( pj_pool_t *pool, - pjsip_digest_credential *cred, - const pjsip_digest_challenge *chal, - const pj_str_t *uri, - const pjsip_cred_info *cred_info, - const pj_str_t *cnonce, - pj_uint32_t nc, - const pj_str_t *method) -{ - const pj_str_t pjsip_AKAv1_MD5_STR = { "AKAv1-MD5", 9 }; - - /* Check algorithm is supported. We support MD5 and AKAv1-MD5. */ - if (chal->algorithm.slen==0 || - (pj_stricmp(&chal->algorithm, &pjsip_MD5_STR)==0 || - pj_stricmp(&chal->algorithm, &pjsip_AKAv1_MD5_STR)==0)) - { - ; - } - else { - PJ_LOG(4,(THIS_FILE, "Unsupported digest algorithm \"%.*s\"", - chal->algorithm.slen, chal->algorithm.ptr)); - return PJSIP_EINVALIDALGORITHM; - } - - /* Build digest credential from arguments. */ - pj_strdup(pool, &cred->username, &cred_info->username); - pj_strdup(pool, &cred->realm, &chal->realm); - pj_strdup(pool, &cred->nonce, &chal->nonce); - pj_strdup(pool, &cred->uri, uri); - pj_strdup(pool, &cred->algorithm, &chal->algorithm); - pj_strdup(pool, &cred->opaque, &chal->opaque); - - /* Allocate memory. */ - cred->response.ptr = (char*) pj_pool_alloc(pool, PJSIP_MD5STRLEN); - cred->response.slen = PJSIP_MD5STRLEN; - - if (chal->qop.slen == 0) { - /* Server doesn't require quality of protection. */ - - if ((cred_info->data_type & EXT_MASK) == PJSIP_CRED_DATA_EXT_AKA) { - /* Call application callback to create the response digest */ - return (*cred_info->ext.aka.cb)(pool, chal, cred_info, - method, cred); - } - else { - /* Convert digest to string and store in chal->response. */ - pjsip_auth_create_digest( &cred->response, &cred->nonce, NULL, - NULL, NULL, uri, &chal->realm, - cred_info, method); - } - - } else if (has_auth_qop(pool, &chal->qop)) { - /* Server requires quality of protection. - * We respond with selecting "qop=auth" protection. - */ - cred->qop = pjsip_AUTH_STR; - cred->nc.ptr = (char*) pj_pool_alloc(pool, 16); - cred->nc.slen = pj_ansi_snprintf(cred->nc.ptr, 16, "%08u", nc); - - if (cnonce && cnonce->slen) { - pj_strdup(pool, &cred->cnonce, cnonce); - } else { - pj_str_t dummy_cnonce = { "b39971", 6}; - pj_strdup(pool, &cred->cnonce, &dummy_cnonce); - } - - if ((cred_info->data_type & EXT_MASK) == PJSIP_CRED_DATA_EXT_AKA) { - /* Call application callback to create the response digest */ - return (*cred_info->ext.aka.cb)(pool, chal, cred_info, - method, cred); - } - else { - pjsip_auth_create_digest( &cred->response, &cred->nonce, - &cred->nc, cnonce, &pjsip_AUTH_STR, - uri, &chal->realm, cred_info, method ); - } - - } else { - /* Server requires quality protection that we don't support. */ - PJ_LOG(4,(THIS_FILE, "Unsupported qop offer %.*s", - chal->qop.slen, chal->qop.ptr)); - return PJSIP_EINVALIDQOP; - } - - return PJ_SUCCESS; -} - -#if defined(PJSIP_AUTH_QOP_SUPPORT) && PJSIP_AUTH_QOP_SUPPORT!=0 -/* - * Update authentication session with a challenge. - */ -static void update_digest_session( pj_pool_t *ses_pool, - pjsip_cached_auth *cached_auth, - const pjsip_www_authenticate_hdr *hdr ) -{ - if (hdr->challenge.digest.qop.slen == 0) { -#if PJSIP_AUTH_AUTO_SEND_NEXT!=0 - if (!cached_auth->last_chal || pj_stricmp2(&hdr->scheme, "digest")) { - cached_auth->last_chal = (pjsip_www_authenticate_hdr*) - pjsip_hdr_clone(ses_pool, hdr); - } else { - /* Only update if the new challenge is "significantly different" - * than the one in the cache, to reduce memory usage. - */ - const pjsip_digest_challenge *d1 = - &cached_auth->last_chal->challenge.digest; - const pjsip_digest_challenge *d2 = &hdr->challenge.digest; - - if (pj_strcmp(&d1->domain, &d2->domain) || - pj_strcmp(&d1->realm, &d2->realm) || - pj_strcmp(&d1->nonce, &d2->nonce) || - pj_strcmp(&d1->opaque, &d2->opaque) || - pj_strcmp(&d1->algorithm, &d2->algorithm) || - pj_strcmp(&d1->qop, &d2->qop)) - { - cached_auth->last_chal = (pjsip_www_authenticate_hdr*) - pjsip_hdr_clone(ses_pool, hdr); - } - } -#endif - return; - } - - /* Initialize cnonce and qop if not present. */ - if (cached_auth->cnonce.slen == 0) { - /* Save the whole challenge */ - cached_auth->last_chal = (pjsip_www_authenticate_hdr*) - pjsip_hdr_clone(ses_pool, hdr); - - /* Create cnonce */ - pj_create_unique_string( ses_pool, &cached_auth->cnonce ); - - /* Initialize nonce-count */ - cached_auth->nc = 1; - - /* Save realm. */ - /* Note: allow empty realm (http://trac.pjsip.org/repos/ticket/1061) - pj_assert(cached_auth->realm.slen != 0); - */ - if (cached_auth->realm.slen == 0) { - pj_strdup(ses_pool, &cached_auth->realm, - &hdr->challenge.digest.realm); - } - - } else { - /* Update last_nonce and nonce-count */ - if (!pj_strcmp(&hdr->challenge.digest.nonce, - &cached_auth->last_chal->challenge.digest.nonce)) - { - /* Same nonce, increment nonce-count */ - ++cached_auth->nc; - } else { - /* Server gives new nonce. */ - pj_strdup(ses_pool, &cached_auth->last_chal->challenge.digest.nonce, - &hdr->challenge.digest.nonce); - /* Has the opaque changed? */ - if (pj_strcmp(&cached_auth->last_chal->challenge.digest.opaque, - &hdr->challenge.digest.opaque)) - { - pj_strdup(ses_pool, - &cached_auth->last_chal->challenge.digest.opaque, - &hdr->challenge.digest.opaque); - } - cached_auth->nc = 1; - } - } -} -#endif /* PJSIP_AUTH_QOP_SUPPORT */ - - -/* Find cached authentication in the list for the specified realm. */ -static pjsip_cached_auth *find_cached_auth( pjsip_auth_clt_sess *sess, - const pj_str_t *realm ) -{ - pjsip_cached_auth *auth = sess->cached_auth.next; - while (auth != &sess->cached_auth) { - if (pj_stricmp(&auth->realm, realm) == 0) - return auth; - auth = auth->next; - } - - return NULL; -} - -/* Find credential to use for the specified realm and auth scheme. */ -static const pjsip_cred_info* auth_find_cred( const pjsip_auth_clt_sess *sess, - const pj_str_t *realm, - const pj_str_t *auth_scheme) -{ - unsigned i; - int wildcard = -1; - - PJ_UNUSED_ARG(auth_scheme); - - for (i=0; icred_cnt; ++i) { - if (pj_stricmp(&sess->cred_info[i].realm, realm) == 0) - return &sess->cred_info[i]; - else if (sess->cred_info[i].realm.slen == 1 && - sess->cred_info[i].realm.ptr[0] == '*') - { - wildcard = i; - } - } - - /* No matching realm. See if we have credential with wildcard ('*') - * as the realm. - */ - if (wildcard != -1) - return &sess->cred_info[wildcard]; - - /* Nothing is suitable */ - return NULL; -} - - -/* Init client session. */ -PJ_DEF(pj_status_t) pjsip_auth_clt_init( pjsip_auth_clt_sess *sess, - pjsip_endpoint *endpt, - pj_pool_t *pool, - unsigned options) -{ - PJ_ASSERT_RETURN(sess && endpt && pool && (options==0), PJ_EINVAL); - - sess->pool = pool; - sess->endpt = endpt; - sess->cred_cnt = 0; - sess->cred_info = NULL; - pj_list_init(&sess->cached_auth); - - return PJ_SUCCESS; -} - - -/* Clone session. */ -PJ_DEF(pj_status_t) pjsip_auth_clt_clone( pj_pool_t *pool, - pjsip_auth_clt_sess *sess, - const pjsip_auth_clt_sess *rhs ) -{ - unsigned i; - - PJ_ASSERT_RETURN(pool && sess && rhs, PJ_EINVAL); - - pjsip_auth_clt_init(sess, (pjsip_endpoint*)rhs->endpt, pool, 0); - - sess->cred_cnt = rhs->cred_cnt; - sess->cred_info = (pjsip_cred_info*) - pj_pool_alloc(pool, - sess->cred_cnt*sizeof(pjsip_cred_info)); - for (i=0; icred_cnt; ++i) { - pj_strdup(pool, &sess->cred_info[i].realm, &rhs->cred_info[i].realm); - pj_strdup(pool, &sess->cred_info[i].scheme, &rhs->cred_info[i].scheme); - pj_strdup(pool, &sess->cred_info[i].username, - &rhs->cred_info[i].username); - sess->cred_info[i].data_type = rhs->cred_info[i].data_type; - pj_strdup(pool, &sess->cred_info[i].data, &rhs->cred_info[i].data); - } - - /* TODO note: - * Cloning the full authentication client is quite a big task. - * We do only the necessary bits here, i.e. cloning the credentials. - * The drawback of this basic approach is, a forked dialog will have to - * re-authenticate itself on the next request because it has lost the - * cached authentication headers. - */ - PJ_TODO(FULL_CLONE_OF_AUTH_CLIENT_SESSION); - - return PJ_SUCCESS; -} - - -/* Set client credentials. */ -PJ_DEF(pj_status_t) pjsip_auth_clt_set_credentials( pjsip_auth_clt_sess *sess, - int cred_cnt, - const pjsip_cred_info *c) -{ - PJ_ASSERT_RETURN(sess && c, PJ_EINVAL); - - if (cred_cnt == 0) { - sess->cred_cnt = 0; - } else { - int i; - sess->cred_info = (pjsip_cred_info*) - pj_pool_alloc(sess->pool, cred_cnt * sizeof(*c)); - for (i=0; icred_info[i].data_type = c[i].data_type; - - /* When data_type is PJSIP_CRED_DATA_EXT_AKA, - * callback must be specified. - */ - if ((c[i].data_type & EXT_MASK) == PJSIP_CRED_DATA_EXT_AKA) { - -#if !PJSIP_HAS_DIGEST_AKA_AUTH - if (!PJSIP_HAS_DIGEST_AKA_AUTH) { - pj_assert(!"PJSIP_HAS_DIGEST_AKA_AUTH is not enabled"); - return PJSIP_EAUTHINAKACRED; - } -#endif - - /* Callback must be specified */ - PJ_ASSERT_RETURN(c[i].ext.aka.cb != NULL, PJ_EINVAL); - - /* Verify K len */ - PJ_ASSERT_RETURN(c[i].ext.aka.k.slen <= PJSIP_AKA_KLEN, - PJSIP_EAUTHINAKACRED); - - /* Verify OP len */ - PJ_ASSERT_RETURN(c[i].ext.aka.op.slen <= PJSIP_AKA_OPLEN, - PJSIP_EAUTHINAKACRED); - - /* Verify AMF len */ - PJ_ASSERT_RETURN(c[i].ext.aka.amf.slen <= PJSIP_AKA_AMFLEN, - PJSIP_EAUTHINAKACRED); - - sess->cred_info[i].ext.aka.cb = c[i].ext.aka.cb; - pj_strdup(sess->pool, &sess->cred_info[i].ext.aka.k, - &c[i].ext.aka.k); - pj_strdup(sess->pool, &sess->cred_info[i].ext.aka.op, - &c[i].ext.aka.op); - pj_strdup(sess->pool, &sess->cred_info[i].ext.aka.amf, - &c[i].ext.aka.amf); - } - - pj_strdup(sess->pool, &sess->cred_info[i].scheme, &c[i].scheme); - pj_strdup(sess->pool, &sess->cred_info[i].realm, &c[i].realm); - pj_strdup(sess->pool, &sess->cred_info[i].username, &c[i].username); - pj_strdup(sess->pool, &sess->cred_info[i].data, &c[i].data); - } - sess->cred_cnt = cred_cnt; - } - - return PJ_SUCCESS; -} - - -/* - * Set the preference for the client authentication session. - */ -PJ_DEF(pj_status_t) pjsip_auth_clt_set_prefs(pjsip_auth_clt_sess *sess, - const pjsip_auth_clt_pref *p) -{ - PJ_ASSERT_RETURN(sess && p, PJ_EINVAL); - - pj_memcpy(&sess->pref, p, sizeof(*p)); - pj_strdup(sess->pool, &sess->pref.algorithm, &p->algorithm); - //if (sess->pref.algorithm.slen == 0) - // sess->pref.algorithm = pj_str("md5"); - - return PJ_SUCCESS; -} - - -/* - * Get the preference for the client authentication session. - */ -PJ_DEF(pj_status_t) pjsip_auth_clt_get_prefs(pjsip_auth_clt_sess *sess, - pjsip_auth_clt_pref *p) -{ - PJ_ASSERT_RETURN(sess && p, PJ_EINVAL); - - pj_memcpy(p, &sess->pref, sizeof(pjsip_auth_clt_pref)); - return PJ_SUCCESS; -} - - -/* - * Create Authorization/Proxy-Authorization response header based on the challege - * in WWW-Authenticate/Proxy-Authenticate header. - */ -static pj_status_t auth_respond( pj_pool_t *req_pool, - const pjsip_www_authenticate_hdr *hdr, - const pjsip_uri *uri, - const pjsip_cred_info *cred_info, - const pjsip_method *method, - pj_pool_t *sess_pool, - pjsip_cached_auth *cached_auth, - pjsip_authorization_hdr **p_h_auth) -{ - pjsip_authorization_hdr *hauth; - char tmp[PJSIP_MAX_URL_SIZE]; - pj_str_t uri_str; - pj_pool_t *pool; - pj_status_t status; - - /* Verify arguments. */ - PJ_ASSERT_RETURN(req_pool && hdr && uri && cred_info && method && - sess_pool && cached_auth && p_h_auth, PJ_EINVAL); - - /* Print URL in the original request. */ - uri_str.ptr = tmp; - uri_str.slen = pjsip_uri_print(PJSIP_URI_IN_REQ_URI, uri, tmp,sizeof(tmp)); - if (uri_str.slen < 1) { - pj_assert(!"URL is too long!"); - return PJSIP_EURITOOLONG; - } - -# if (PJSIP_AUTH_HEADER_CACHING) - { - pool = sess_pool; - PJ_UNUSED_ARG(req_pool); - } -# else - { - pool = req_pool; - PJ_UNUSED_ARG(sess_pool); - } -# endif - - if (hdr->type == PJSIP_H_WWW_AUTHENTICATE) - hauth = pjsip_authorization_hdr_create(pool); - else if (hdr->type == PJSIP_H_PROXY_AUTHENTICATE) - hauth = pjsip_proxy_authorization_hdr_create(pool); - else { - pj_assert(!"Invalid response header!"); - return PJSIP_EINVALIDHDR; - } - - /* Only support digest scheme at the moment. */ - if (!pj_stricmp(&hdr->scheme, &pjsip_DIGEST_STR)) { - pj_str_t *cnonce = NULL; - pj_uint32_t nc = 1; - - /* Update the session (nonce-count etc) if required. */ -# if PJSIP_AUTH_QOP_SUPPORT - { - if (cached_auth) { - update_digest_session( sess_pool, cached_auth, hdr ); - - cnonce = &cached_auth->cnonce; - nc = cached_auth->nc; - } - } -# endif /* PJSIP_AUTH_QOP_SUPPORT */ - - hauth->scheme = pjsip_DIGEST_STR; - status = respond_digest( pool, &hauth->credential.digest, - &hdr->challenge.digest, &uri_str, cred_info, - cnonce, nc, &method->name); - if (status != PJ_SUCCESS) - return status; - - /* Set qop type in auth session the first time only. */ - if (hdr->challenge.digest.qop.slen != 0 && cached_auth) { - if (cached_auth->qop_value == PJSIP_AUTH_QOP_NONE) { - pj_str_t *qop_val = &hauth->credential.digest.qop; - if (!pj_strcmp(qop_val, &pjsip_AUTH_STR)) { - cached_auth->qop_value = PJSIP_AUTH_QOP_AUTH; - } else { - cached_auth->qop_value = PJSIP_AUTH_QOP_UNKNOWN; - } - } - } - } else { - return PJSIP_EINVALIDAUTHSCHEME; - } - - /* Keep the new authorization header in the cache, only - * if no qop is not present. - */ -# if PJSIP_AUTH_HEADER_CACHING - { - if (hauth && cached_auth && cached_auth->qop_value == PJSIP_AUTH_QOP_NONE) { - pjsip_cached_auth_hdr *cached_hdr; - - /* Delete old header with the same method. */ - cached_hdr = cached_auth->cached_hdr.next; - while (cached_hdr != &cached_auth->cached_hdr) { - if (pjsip_method_cmp(method, &cached_hdr->method)==0) - break; - cached_hdr = cached_hdr->next; - } - - /* Save the header to the list. */ - if (cached_hdr != &cached_auth->cached_hdr) { - cached_hdr->hdr = hauth; - } else { - cached_hdr = pj_pool_alloc(pool, sizeof(*cached_hdr)); - pjsip_method_copy( pool, &cached_hdr->method, method); - cached_hdr->hdr = hauth; - pj_list_insert_before( &cached_auth->cached_hdr, cached_hdr ); - } - } - -# if defined(PJSIP_AUTH_AUTO_SEND_NEXT) && PJSIP_AUTH_AUTO_SEND_NEXT!=0 - if (hdr != cached_auth->last_chal) { - cached_auth->last_chal = pjsip_hdr_clone(sess_pool, hdr); - } -# endif - } -# endif - - *p_h_auth = hauth; - return PJ_SUCCESS; - -} - - -#if defined(PJSIP_AUTH_AUTO_SEND_NEXT) && PJSIP_AUTH_AUTO_SEND_NEXT!=0 -static pj_status_t new_auth_for_req( pjsip_tx_data *tdata, - pjsip_auth_clt_sess *sess, - pjsip_cached_auth *auth, - pjsip_authorization_hdr **p_h_auth) -{ - const pjsip_cred_info *cred; - pjsip_authorization_hdr *hauth; - pj_status_t status; - - PJ_ASSERT_RETURN(tdata && sess && auth, PJ_EINVAL); - PJ_ASSERT_RETURN(auth->last_chal != NULL, PJSIP_EAUTHNOPREVCHAL); - - cred = auth_find_cred( sess, &auth->realm, &auth->last_chal->scheme ); - if (!cred) - return PJSIP_ENOCREDENTIAL; - - status = auth_respond( tdata->pool, auth->last_chal, - tdata->msg->line.req.uri, - cred, &tdata->msg->line.req.method, - sess->pool, auth, &hauth); - if (status != PJ_SUCCESS) - return status; - - pjsip_msg_add_hdr( tdata->msg, (pjsip_hdr*)hauth); - - if (p_h_auth) - *p_h_auth = hauth; - - return PJ_SUCCESS; -} -#endif - - -/* Find credential in list of (Proxy-)Authorization headers */ -static pjsip_authorization_hdr* get_header_for_realm(const pjsip_hdr *hdr_list, - const pj_str_t *realm) -{ - pjsip_authorization_hdr *h; - - h = (pjsip_authorization_hdr*)hdr_list->next; - while (h != (pjsip_authorization_hdr*)hdr_list) { - if (pj_stricmp(&h->credential.digest.realm, realm)==0) - return h; - h = h->next; - } - - return NULL; -} - - -/* Initialize outgoing request. */ -PJ_DEF(pj_status_t) pjsip_auth_clt_init_req( pjsip_auth_clt_sess *sess, - pjsip_tx_data *tdata ) -{ - const pjsip_method *method; - pjsip_cached_auth *auth; - pjsip_hdr added; - - PJ_ASSERT_RETURN(sess && tdata, PJ_EINVAL); - PJ_ASSERT_RETURN(sess->pool, PJSIP_ENOTINITIALIZED); - PJ_ASSERT_RETURN(tdata->msg->type==PJSIP_REQUEST_MSG, - PJSIP_ENOTREQUESTMSG); - - /* Init list */ - pj_list_init(&added); - - /* Get the method. */ - method = &tdata->msg->line.req.method; - - auth = sess->cached_auth.next; - while (auth != &sess->cached_auth) { - /* Reset stale counter */ - auth->stale_cnt = 0; - - if (auth->qop_value == PJSIP_AUTH_QOP_NONE) { -# if defined(PJSIP_AUTH_HEADER_CACHING) && \ - PJSIP_AUTH_HEADER_CACHING!=0 - { - pjsip_cached_auth_hdr *entry = auth->cached_hdr.next; - while (entry != &auth->cached_hdr) { - if (pjsip_method_cmp(&entry->method, method)==0) { - pjsip_authorization_hdr *hauth; - hauth = pjsip_hdr_shallow_clone(tdata->pool, entry->hdr); - //pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)hauth); - pj_list_push_back(&added, hauth); - break; - } - entry = entry->next; - } - -# if defined(PJSIP_AUTH_AUTO_SEND_NEXT) && \ - PJSIP_AUTH_AUTO_SEND_NEXT!=0 - { - if (entry == &auth->cached_hdr) - new_auth_for_req( tdata, sess, auth, NULL); - } -# endif - - } -# elif defined(PJSIP_AUTH_AUTO_SEND_NEXT) && \ - PJSIP_AUTH_AUTO_SEND_NEXT!=0 - { - new_auth_for_req( tdata, sess, auth, NULL); - } -# endif - - } -# if defined(PJSIP_AUTH_QOP_SUPPORT) && \ - defined(PJSIP_AUTH_AUTO_SEND_NEXT) && \ - (PJSIP_AUTH_QOP_SUPPORT && PJSIP_AUTH_AUTO_SEND_NEXT) - else if (auth->qop_value == PJSIP_AUTH_QOP_AUTH) { - /* For qop="auth", we have to re-create the authorization header. - */ - const pjsip_cred_info *cred; - pjsip_authorization_hdr *hauth; - pj_status_t status; - - cred = auth_find_cred(sess, &auth->realm, - &auth->last_chal->scheme); - if (!cred) { - auth = auth->next; - continue; - } - - status = auth_respond( tdata->pool, auth->last_chal, - tdata->msg->line.req.uri, - cred, - &tdata->msg->line.req.method, - sess->pool, auth, &hauth); - if (status != PJ_SUCCESS) - return status; - - //pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)hauth); - pj_list_push_back(&added, hauth); - } -# endif /* PJSIP_AUTH_QOP_SUPPORT && PJSIP_AUTH_AUTO_SEND_NEXT */ - - auth = auth->next; - } - - if (sess->pref.initial_auth == PJ_FALSE) { - pjsip_hdr *h; - - /* Don't want to send initial empty Authorization header, so - * just send whatever available in the list (maybe empty). - */ - - h = added.next; - while (h != &added) { - pjsip_hdr *next = h->next; - pjsip_msg_add_hdr(tdata->msg, h); - h = next; - } - } else { - /* For each realm, add either the cached authorization header - * or add an empty authorization header. - */ - unsigned i; - char *uri_str; - int len; - - uri_str = (char*)pj_pool_alloc(tdata->pool, PJSIP_MAX_URL_SIZE); - len = pjsip_uri_print(PJSIP_URI_IN_REQ_URI, tdata->msg->line.req.uri, - uri_str, PJSIP_MAX_URL_SIZE); - if (len < 1 || len >= PJSIP_MAX_URL_SIZE) - return PJSIP_EURITOOLONG; - - for (i=0; icred_cnt; ++i) { - pjsip_cred_info *c = &sess->cred_info[i]; - pjsip_authorization_hdr *h; - - h = get_header_for_realm(&added, &c->realm); - if (h) { - pj_list_erase(h); - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)h); - } else { - pjsip_authorization_hdr *hs; - - hs = pjsip_authorization_hdr_create(tdata->pool); - pj_strdup(tdata->pool, &hs->scheme, &c->scheme); - pj_strdup(tdata->pool, &hs->credential.digest.username, - &c->username); - pj_strdup(tdata->pool, &hs->credential.digest.realm, - &c->realm); - pj_strdup2(tdata->pool, &hs->credential.digest.uri, - uri_str); - pj_strdup(tdata->pool, &hs->credential.digest.algorithm, - &sess->pref.algorithm); - - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)hs); - } - } - } - - return PJ_SUCCESS; -} - - -/* Process authorization challenge */ -static pj_status_t process_auth( pj_pool_t *req_pool, - const pjsip_www_authenticate_hdr *hchal, - const pjsip_uri *uri, - pjsip_tx_data *tdata, - pjsip_auth_clt_sess *sess, - pjsip_cached_auth *cached_auth, - pjsip_authorization_hdr **h_auth) -{ - const pjsip_cred_info *cred; - pjsip_authorization_hdr *sent_auth = NULL; - pjsip_hdr *hdr; - pj_status_t status; - - /* See if we have sent authorization header for this realm */ - hdr = tdata->msg->hdr.next; - while (hdr != &tdata->msg->hdr) { - if ((hchal->type == PJSIP_H_WWW_AUTHENTICATE && - hdr->type == PJSIP_H_AUTHORIZATION) || - (hchal->type == PJSIP_H_PROXY_AUTHENTICATE && - hdr->type == PJSIP_H_PROXY_AUTHORIZATION)) - { - sent_auth = (pjsip_authorization_hdr*) hdr; - if (pj_stricmp(&hchal->challenge.common.realm, - &sent_auth->credential.common.realm )==0) - { - /* If this authorization has empty response, remove it. */ - if (pj_stricmp(&sent_auth->scheme, &pjsip_DIGEST_STR)==0 && - sent_auth->credential.digest.response.slen == 0) - { - /* This is empty authorization, remove it. */ - hdr = hdr->next; - pj_list_erase(sent_auth); - continue; - } else { - /* Found previous authorization attempt */ - break; - } - } - } - hdr = hdr->next; - } - - /* If we have sent, see if server rejected because of stale nonce or - * other causes. - */ - if (hdr != &tdata->msg->hdr) { - pj_bool_t stale; - - /* Detect "stale" state */ - stale = hchal->challenge.digest.stale; - if (!stale) { - /* If stale is false, check is nonce has changed. Some servers - * (broken ones!) want to change nonce but they fail to set - * stale to true. - */ - stale = pj_strcmp(&hchal->challenge.digest.nonce, - &sent_auth->credential.digest.nonce); - } - - if (stale == PJ_FALSE) { - /* Our credential is rejected. No point in trying to re-supply - * the same credential. - */ - PJ_LOG(4, (THIS_FILE, "Authorization failed for %.*s@%.*s: " - "server rejected with stale=false", - sent_auth->credential.digest.username.slen, - sent_auth->credential.digest.username.ptr, - sent_auth->credential.digest.realm.slen, - sent_auth->credential.digest.realm.ptr)); - return PJSIP_EFAILEDCREDENTIAL; - } - - cached_auth->stale_cnt++; - if (cached_auth->stale_cnt >= PJSIP_MAX_STALE_COUNT) { - /* Our credential is rejected. No point in trying to re-supply - * the same credential. - */ - PJ_LOG(4, (THIS_FILE, "Authorization failed for %.*s@%.*s: " - "maximum number of stale retries exceeded", - sent_auth->credential.digest.username.slen, - sent_auth->credential.digest.username.ptr, - sent_auth->credential.digest.realm.slen, - sent_auth->credential.digest.realm.ptr)); - return PJSIP_EAUTHSTALECOUNT; - } - - /* Otherwise remove old, stale authorization header from the mesasge. - * We will supply a new one. - */ - pj_list_erase(sent_auth); - } - - /* Find credential to be used for the challenge. */ - cred = auth_find_cred( sess, &hchal->challenge.common.realm, - &hchal->scheme); - if (!cred) { - const pj_str_t *realm = &hchal->challenge.common.realm; - PJ_LOG(4,(THIS_FILE, - "Unable to set auth for %s: can not find credential for %.*s/%.*s", - tdata->obj_name, - realm->slen, realm->ptr, - hchal->scheme.slen, hchal->scheme.ptr)); - return PJSIP_ENOCREDENTIAL; - } - - /* Respond to authorization challenge. */ - status = auth_respond( req_pool, hchal, uri, cred, - &tdata->msg->line.req.method, - sess->pool, cached_auth, h_auth); - return status; -} - - -/* Reinitialize outgoing request after 401/407 response is received. - * The purpose of this function is: - * - to add a Authorization/Proxy-Authorization header. - * - to put the newly created Authorization/Proxy-Authorization header - * in cached_list. - */ -PJ_DEF(pj_status_t) pjsip_auth_clt_reinit_req( pjsip_auth_clt_sess *sess, - const pjsip_rx_data *rdata, - pjsip_tx_data *old_request, - pjsip_tx_data **new_request ) -{ - pjsip_tx_data *tdata; - const pjsip_hdr *hdr; - unsigned chal_cnt; - pjsip_via_hdr *via; - pj_status_t status; - - PJ_ASSERT_RETURN(sess && rdata && old_request && new_request, - PJ_EINVAL); - PJ_ASSERT_RETURN(sess->pool, PJSIP_ENOTINITIALIZED); - PJ_ASSERT_RETURN(rdata->msg_info.msg->type == PJSIP_RESPONSE_MSG, - PJSIP_ENOTRESPONSEMSG); - PJ_ASSERT_RETURN(old_request->msg->type == PJSIP_REQUEST_MSG, - PJSIP_ENOTREQUESTMSG); - PJ_ASSERT_RETURN(rdata->msg_info.msg->line.status.code == 401 || - rdata->msg_info.msg->line.status.code == 407, - PJSIP_EINVALIDSTATUS); - - tdata = old_request; - tdata->auth_retry = PJ_FALSE; - - /* - * Respond to each authentication challenge. - */ - hdr = rdata->msg_info.msg->hdr.next; - chal_cnt = 0; - while (hdr != &rdata->msg_info.msg->hdr) { - pjsip_cached_auth *cached_auth; - const pjsip_www_authenticate_hdr *hchal; - pjsip_authorization_hdr *hauth; - - /* Find WWW-Authenticate or Proxy-Authenticate header. */ - while (hdr != &rdata->msg_info.msg->hdr && - hdr->type != PJSIP_H_WWW_AUTHENTICATE && - hdr->type != PJSIP_H_PROXY_AUTHENTICATE) - { - hdr = hdr->next; - } - if (hdr == &rdata->msg_info.msg->hdr) - break; - - hchal = (const pjsip_www_authenticate_hdr*) hdr; - ++chal_cnt; - - /* Find authentication session for this realm, create a new one - * if not present. - */ - cached_auth = find_cached_auth(sess, &hchal->challenge.common.realm ); - if (!cached_auth) { - cached_auth = PJ_POOL_ZALLOC_T( sess->pool, pjsip_cached_auth); - pj_strdup( sess->pool, &cached_auth->realm, &hchal->challenge.common.realm); - cached_auth->is_proxy = (hchal->type == PJSIP_H_PROXY_AUTHENTICATE); -# if (PJSIP_AUTH_HEADER_CACHING) - { - pj_list_init(&cached_auth->cached_hdr); - } -# endif - pj_list_insert_before( &sess->cached_auth, cached_auth ); - } - - /* Create authorization header for this challenge, and update - * authorization session. - */ - status = process_auth( tdata->pool, hchal, tdata->msg->line.req.uri, - tdata, sess, cached_auth, &hauth); - if (status != PJ_SUCCESS) - return status; - - /* Add to the message. */ - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)hauth); - - /* Process next header. */ - hdr = hdr->next; - } - - /* Check if challenge is present */ - if (chal_cnt == 0) - return PJSIP_EAUTHNOCHAL; - - /* Remove branch param in Via header. */ - via = (pjsip_via_hdr*) pjsip_msg_find_hdr(tdata->msg, PJSIP_H_VIA, NULL); - via->branch_param.slen = 0; - - /* Restore strict route set. - * See http://trac.pjsip.org/repos/ticket/492 - */ - pjsip_restore_strict_route_set(tdata); - - /* Must invalidate the message! */ - pjsip_tx_data_invalidate_msg(tdata); - - /* Retrying.. */ - tdata->auth_retry = PJ_TRUE; - - /* Increment reference counter. */ - pjsip_tx_data_add_ref(tdata); - - /* Done. */ - *new_request = tdata; - return PJ_SUCCESS; - -} - diff --git a/res/pjproject/pjsip/src/pjsip/sip_auth_msg.c b/res/pjproject/pjsip/src/pjsip/sip_auth_msg.c deleted file mode 100644 index 349947bfe1..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_auth_msg.c +++ /dev/null @@ -1,343 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include - -/////////////////////////////////////////////////////////////////////////////// -/* - * Authorization and Proxy-Authorization header. - */ -static pjsip_authorization_hdr* pjsip_authorization_hdr_clone( pj_pool_t *pool, - const pjsip_authorization_hdr *hdr); -static pjsip_authorization_hdr* pjsip_authorization_hdr_shallow_clone( pj_pool_t *pool, - const pjsip_authorization_hdr *hdr); -static int pjsip_authorization_hdr_print( pjsip_authorization_hdr *hdr, - char *buf, pj_size_t size); - -static pjsip_hdr_vptr authorization_hdr_vptr = -{ - (pjsip_hdr_clone_fptr) &pjsip_authorization_hdr_clone, - (pjsip_hdr_clone_fptr) &pjsip_authorization_hdr_shallow_clone, - (pjsip_hdr_print_fptr) &pjsip_authorization_hdr_print, -}; - - -PJ_DEF(pjsip_authorization_hdr*) pjsip_authorization_hdr_create(pj_pool_t *pool) -{ - pjsip_authorization_hdr *hdr; - hdr = PJ_POOL_ZALLOC_T(pool, pjsip_authorization_hdr); - init_hdr(hdr, PJSIP_H_AUTHORIZATION, &authorization_hdr_vptr); - pj_list_init(&hdr->credential.common.other_param); - return hdr; -} - -PJ_DEF(pjsip_proxy_authorization_hdr*) pjsip_proxy_authorization_hdr_create(pj_pool_t *pool) -{ - pjsip_proxy_authorization_hdr *hdr; - hdr = PJ_POOL_ZALLOC_T(pool, pjsip_proxy_authorization_hdr); - init_hdr(hdr, PJSIP_H_PROXY_AUTHORIZATION, &authorization_hdr_vptr); - pj_list_init(&hdr->credential.common.other_param); - return hdr; -} - -static int print_digest_credential(pjsip_digest_credential *cred, char *buf, pj_size_t size) -{ - int printed; - char *startbuf = buf; - char *endbuf = buf + size; - const pjsip_parser_const_t *pc = pjsip_parser_const(); - - copy_advance_pair_quote_cond(buf, "username=", 9, cred->username, '"', '"'); - copy_advance_pair_quote_cond(buf, ", realm=", 8, cred->realm, '"', '"'); - copy_advance_pair_quote(buf, ", nonce=", 8, cred->nonce, '"', '"'); - copy_advance_pair_quote_cond(buf, ", uri=", 6, cred->uri, '"', '"'); - copy_advance_pair_quote(buf, ", response=", 11, cred->response, '"', '"'); - copy_advance_pair(buf, ", algorithm=", 12, cred->algorithm); - copy_advance_pair_quote_cond(buf, ", cnonce=", 9, cred->cnonce, '"', '"'); - copy_advance_pair_quote_cond(buf, ", opaque=", 9, cred->opaque, '"', '"'); - //Note: there's no dbl-quote in qop in Authorization header - // (unlike WWW-Authenticate) - //copy_advance_pair_quote_cond(buf, ", qop=", 6, cred->qop, '"', '"'); - copy_advance_pair(buf, ", qop=", 6, cred->qop); - copy_advance_pair(buf, ", nc=", 5, cred->nc); - - printed = pjsip_param_print_on(&cred->other_param, buf, endbuf-buf, - &pc->pjsip_TOKEN_SPEC, - &pc->pjsip_TOKEN_SPEC, ','); - if (printed < 0) - return -1; - buf += printed; - - return (int) (buf-startbuf); -} - -static int print_pgp_credential(pjsip_pgp_credential *cred, char *buf, pj_size_t size) -{ - PJ_UNUSED_ARG(cred); - PJ_UNUSED_ARG(buf); - PJ_UNUSED_ARG(size); - return -1; -} - -static int pjsip_authorization_hdr_print( pjsip_authorization_hdr *hdr, - char *buf, pj_size_t size) -{ - int printed; - char *startbuf = buf; - char *endbuf = buf + size; - - copy_advance(buf, hdr->name); - *buf++ = ':'; - *buf++ = ' '; - - copy_advance(buf, hdr->scheme); - *buf++ = ' '; - - if (pj_stricmp(&hdr->scheme, &pjsip_DIGEST_STR) == 0) - { - printed = print_digest_credential(&hdr->credential.digest, buf, endbuf - buf); - } - else if (pj_stricmp(&hdr->scheme, &pjsip_PGP_STR) == 0) - { - printed = print_pgp_credential(&hdr->credential.pgp, buf, endbuf - buf); - } - else { - pj_assert(0); - return -1; - } - - if (printed == -1) - return -1; - - buf += printed; - *buf = '\0'; - return (int)(buf-startbuf); -} - -static pjsip_authorization_hdr* pjsip_authorization_hdr_clone( pj_pool_t *pool, - const pjsip_authorization_hdr *rhs) -{ - /* This function also serves Proxy-Authorization header. */ - pjsip_authorization_hdr *hdr; - if (rhs->type == PJSIP_H_AUTHORIZATION) - hdr = pjsip_authorization_hdr_create(pool); - else - hdr = pjsip_proxy_authorization_hdr_create(pool); - - pj_strdup(pool, &hdr->scheme, &rhs->scheme); - - if (pj_stricmp2(&hdr->scheme, "digest") == 0) { - pj_strdup(pool, &hdr->credential.digest.username, &rhs->credential.digest.username); - pj_strdup(pool, &hdr->credential.digest.realm, &rhs->credential.digest.realm); - pj_strdup(pool, &hdr->credential.digest.nonce, &rhs->credential.digest.nonce); - pj_strdup(pool, &hdr->credential.digest.uri, &rhs->credential.digest.uri); - pj_strdup(pool, &hdr->credential.digest.response, &rhs->credential.digest.response); - pj_strdup(pool, &hdr->credential.digest.algorithm, &rhs->credential.digest.algorithm); - pj_strdup(pool, &hdr->credential.digest.cnonce, &rhs->credential.digest.cnonce); - pj_strdup(pool, &hdr->credential.digest.opaque, &rhs->credential.digest.opaque); - pj_strdup(pool, &hdr->credential.digest.qop, &rhs->credential.digest.qop); - pj_strdup(pool, &hdr->credential.digest.nc, &rhs->credential.digest.nc); - pjsip_param_clone(pool, &hdr->credential.digest.other_param, &rhs->credential.digest.other_param); - } else if (pj_stricmp2(&hdr->scheme, "pgp") == 0) { - pj_assert(0); - return NULL; - } else { - pj_assert(0); - return NULL; - } - - return hdr; -} - -static pjsip_authorization_hdr* -pjsip_authorization_hdr_shallow_clone( pj_pool_t *pool, - const pjsip_authorization_hdr *rhs) -{ - /* This function also serves Proxy-Authorization header. */ - pjsip_authorization_hdr *hdr; - hdr = PJ_POOL_ALLOC_T(pool, pjsip_authorization_hdr); - pj_memcpy(hdr, rhs, sizeof(*hdr)); - pjsip_param_shallow_clone(pool, &hdr->credential.common.other_param, - &rhs->credential.common.other_param); - return hdr; -} - - -/////////////////////////////////////////////////////////////////////////////// -/* - * Proxy-Authenticate and WWW-Authenticate header. - */ -static int pjsip_www_authenticate_hdr_print( pjsip_www_authenticate_hdr *hdr, - char *buf, pj_size_t size); -static pjsip_www_authenticate_hdr* pjsip_www_authenticate_hdr_clone( pj_pool_t *pool, - const pjsip_www_authenticate_hdr *hdr); -static pjsip_www_authenticate_hdr* pjsip_www_authenticate_hdr_shallow_clone( pj_pool_t *pool, - const pjsip_www_authenticate_hdr *hdr); - -static pjsip_hdr_vptr www_authenticate_hdr_vptr = -{ - (pjsip_hdr_clone_fptr) &pjsip_www_authenticate_hdr_clone, - (pjsip_hdr_clone_fptr) &pjsip_www_authenticate_hdr_shallow_clone, - (pjsip_hdr_print_fptr) &pjsip_www_authenticate_hdr_print, -}; - - -PJ_DEF(pjsip_www_authenticate_hdr*) pjsip_www_authenticate_hdr_create(pj_pool_t *pool) -{ - pjsip_www_authenticate_hdr *hdr; - hdr = PJ_POOL_ZALLOC_T(pool, pjsip_www_authenticate_hdr); - init_hdr(hdr, PJSIP_H_WWW_AUTHENTICATE, &www_authenticate_hdr_vptr); - pj_list_init(&hdr->challenge.common.other_param); - return hdr; -} - - -PJ_DEF(pjsip_proxy_authenticate_hdr*) pjsip_proxy_authenticate_hdr_create(pj_pool_t *pool) -{ - pjsip_proxy_authenticate_hdr *hdr; - hdr = PJ_POOL_ZALLOC_T(pool, pjsip_proxy_authenticate_hdr); - init_hdr(hdr, PJSIP_H_PROXY_AUTHENTICATE, &www_authenticate_hdr_vptr); - pj_list_init(&hdr->challenge.common.other_param); - return hdr; -} - -static int print_digest_challenge( pjsip_digest_challenge *chal, - char *buf, pj_size_t size) -{ - int printed; - char *startbuf = buf; - char *endbuf = buf + size; - const pjsip_parser_const_t *pc = pjsip_parser_const(); - - /* Allow empty realm, see http://trac.pjsip.org/repos/ticket/1061 */ - copy_advance_pair_quote(buf, " realm=", 7, chal->realm, '"', '"'); - copy_advance_pair_quote_cond(buf, ",domain=", 8, chal->domain, '"', '"'); - copy_advance_pair_quote_cond(buf, ",nonce=", 7, chal->nonce, '"', '"'); - copy_advance_pair_quote_cond(buf, ",opaque=", 8, chal->opaque, '"', '"'); - if (chal->stale) { - pj_str_t true_str = { "true", 4 }; - copy_advance_pair(buf, ",stale=", 7, true_str); - } - copy_advance_pair(buf, ",algorithm=", 11, chal->algorithm); - copy_advance_pair_quote_cond(buf, ",qop=", 5, chal->qop, '"', '"'); - - printed = pjsip_param_print_on(&chal->other_param, buf, endbuf-buf, - &pc->pjsip_TOKEN_SPEC, - &pc->pjsip_TOKEN_SPEC, ','); - if (printed < 0) - return -1; - buf += printed; - - return (int)(buf-startbuf); -} - -static int print_pgp_challenge( pjsip_pgp_challenge *chal, - char *buf, pj_size_t size) -{ - PJ_UNUSED_ARG(chal); - PJ_UNUSED_ARG(buf); - PJ_UNUSED_ARG(size); - return -1; -} - -static int pjsip_www_authenticate_hdr_print( pjsip_www_authenticate_hdr *hdr, - char *buf, pj_size_t size) -{ - int printed; - char *startbuf = buf; - char *endbuf = buf + size; - - copy_advance(buf, hdr->name); - *buf++ = ':'; - *buf++ = ' '; - - copy_advance(buf, hdr->scheme); - *buf++ = ' '; - - if (pj_stricmp2(&hdr->scheme, "digest") == 0) - printed = print_digest_challenge(&hdr->challenge.digest, buf, endbuf - buf); - else if (pj_stricmp2(&hdr->scheme, "pgp") == 0) - printed = print_pgp_challenge(&hdr->challenge.pgp, buf, endbuf - buf); - else { - pj_assert(0); - return -1; - } - - if (printed == -1) - return -1; - - buf += printed; - *buf = '\0'; - return (int)(buf-startbuf); -} - -static pjsip_www_authenticate_hdr* pjsip_www_authenticate_hdr_clone( pj_pool_t *pool, - const pjsip_www_authenticate_hdr *rhs) -{ - /* This function also serves Proxy-Authenticate header. */ - pjsip_www_authenticate_hdr *hdr; - if (rhs->type == PJSIP_H_WWW_AUTHENTICATE) - hdr = pjsip_www_authenticate_hdr_create(pool); - else - hdr = pjsip_proxy_authenticate_hdr_create(pool); - - pj_strdup(pool, &hdr->scheme, &rhs->scheme); - - if (pj_stricmp2(&hdr->scheme, "digest") == 0) { - pj_strdup(pool, &hdr->challenge.digest.realm, &rhs->challenge.digest.realm); - pj_strdup(pool, &hdr->challenge.digest.domain, &rhs->challenge.digest.domain); - pj_strdup(pool, &hdr->challenge.digest.nonce, &rhs->challenge.digest.nonce); - pj_strdup(pool, &hdr->challenge.digest.opaque, &rhs->challenge.digest.opaque); - hdr->challenge.digest.stale = rhs->challenge.digest.stale; - pj_strdup(pool, &hdr->challenge.digest.algorithm, &rhs->challenge.digest.algorithm); - pj_strdup(pool, &hdr->challenge.digest.qop, &rhs->challenge.digest.qop); - pjsip_param_clone(pool, &hdr->challenge.digest.other_param, - &rhs->challenge.digest.other_param); - } else if (pj_stricmp2(&hdr->scheme, "pgp") == 0) { - pj_assert(0); - return NULL; - } else { - pj_assert(0); - return NULL; - } - - return hdr; - -} - -static pjsip_www_authenticate_hdr* pjsip_www_authenticate_hdr_shallow_clone( pj_pool_t *pool, - const pjsip_www_authenticate_hdr *rhs) -{ - /* This function also serves Proxy-Authenticate header. */ - pjsip_www_authenticate_hdr *hdr; - hdr = PJ_POOL_ALLOC_T(pool, pjsip_www_authenticate_hdr); - pj_memcpy(hdr, rhs, sizeof(*hdr)); - pjsip_param_shallow_clone(pool, &hdr->challenge.common.other_param, - &rhs->challenge.common.other_param); - return hdr; -} - - diff --git a/res/pjproject/pjsip/src/pjsip/sip_auth_parser.c b/res/pjproject/pjsip/src/pjsip/sip_auth_parser.c deleted file mode 100644 index 4708dc6354..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_auth_parser.c +++ /dev/null @@ -1,308 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include - -static pjsip_hdr* parse_hdr_authorization ( pjsip_parse_ctx *ctx ); -static pjsip_hdr* parse_hdr_proxy_authorization ( pjsip_parse_ctx *ctx ); -static pjsip_hdr* parse_hdr_www_authenticate ( pjsip_parse_ctx *ctx ); -static pjsip_hdr* parse_hdr_proxy_authenticate ( pjsip_parse_ctx *ctx ); - -static void parse_digest_credential ( pj_scanner *scanner, pj_pool_t *pool, - pjsip_digest_credential *cred); -static void parse_pgp_credential ( pj_scanner *scanner, pj_pool_t *pool, - pjsip_pgp_credential *cred); -static void parse_digest_challenge ( pj_scanner *scanner, pj_pool_t *pool, - pjsip_digest_challenge *chal); -static void parse_pgp_challenge ( pj_scanner *scanner, pj_pool_t *pool, - pjsip_pgp_challenge *chal); - -const pj_str_t pjsip_USERNAME_STR = { "username", 8 }, - pjsip_REALM_STR = { "realm", 5}, - pjsip_NONCE_STR = { "nonce", 5}, - pjsip_URI_STR = { "uri", 3 }, - pjsip_RESPONSE_STR = { "response", 8 }, - pjsip_ALGORITHM_STR = { "algorithm", 9 }, - pjsip_DOMAIN_STR = { "domain", 6 }, - pjsip_STALE_STR = { "stale", 5}, - pjsip_QOP_STR = { "qop", 3}, - pjsip_CNONCE_STR = { "cnonce", 6}, - pjsip_OPAQUE_STR = { "opaque", 6}, - pjsip_NC_STR = { "nc", 2}, - pjsip_TRUE_STR = { "true", 4}, - pjsip_QUOTED_TRUE_STR = { "\"true\"", 6}, - pjsip_FALSE_STR = { "false", 5}, - pjsip_QUOTED_FALSE_STR = { "\"false\"", 7}, - pjsip_DIGEST_STR = { "Digest", 6}, - pjsip_QUOTED_DIGEST_STR = { "\"Digest\"", 8}, - pjsip_PGP_STR = { "PGP", 3 }, - pjsip_QUOTED_PGP_STR = { "\"PGP\"", 5 }, - pjsip_MD5_STR = { "md5", 3 }, - pjsip_QUOTED_MD5_STR = { "\"md5\"", 5}, - pjsip_AUTH_STR = { "auth", 4}, - pjsip_QUOTED_AUTH_STR = { "\"auth\"", 6 }; - - -static void parse_digest_credential( pj_scanner *scanner, pj_pool_t *pool, - pjsip_digest_credential *cred) -{ - pj_list_init(&cred->other_param); - - for (;;) { - pj_str_t name, value; - - pjsip_parse_param_imp(scanner, pool, &name, &value, - PJSIP_PARSE_REMOVE_QUOTE); - - if (!pj_stricmp(&name, &pjsip_USERNAME_STR)) { - cred->username = value; - - } else if (!pj_stricmp(&name, &pjsip_REALM_STR)) { - cred->realm = value; - - } else if (!pj_stricmp(&name, &pjsip_NONCE_STR)) { - cred->nonce = value; - - } else if (!pj_stricmp(&name, &pjsip_URI_STR)) { - cred->uri = value; - - } else if (!pj_stricmp(&name, &pjsip_RESPONSE_STR)) { - cred->response = value; - - } else if (!pj_stricmp(&name, &pjsip_ALGORITHM_STR)) { - cred->algorithm = value; - - } else if (!pj_stricmp(&name, &pjsip_CNONCE_STR)) { - cred->cnonce = value; - - } else if (!pj_stricmp(&name, &pjsip_OPAQUE_STR)) { - cred->opaque = value; - - } else if (!pj_stricmp(&name, &pjsip_QOP_STR)) { - cred->qop = value; - - } else if (!pj_stricmp(&name, &pjsip_NC_STR)) { - cred->nc = value; - - } else { - pjsip_param *p = PJ_POOL_ALLOC_T(pool, pjsip_param); - p->name = name; - p->value = value; - pj_list_insert_before(&cred->other_param, p); - } - - /* Eat comma */ - if (!pj_scan_is_eof(scanner) && *scanner->curptr == ',') - pj_scan_get_char(scanner); - else - break; - } -} - -static void parse_pgp_credential( pj_scanner *scanner, pj_pool_t *pool, - pjsip_pgp_credential *cred) -{ - PJ_UNUSED_ARG(scanner); - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(cred); - - PJ_THROW(PJSIP_SYN_ERR_EXCEPTION); -} - -static void parse_digest_challenge( pj_scanner *scanner, pj_pool_t *pool, - pjsip_digest_challenge *chal) -{ - pj_list_init(&chal->other_param); - - for (;;) { - pj_str_t name, value; - - pjsip_parse_param_imp(scanner, pool, &name, &value, - PJSIP_PARSE_REMOVE_QUOTE); - - if (!pj_stricmp(&name, &pjsip_REALM_STR)) { - chal->realm = value; - - } else if (!pj_stricmp(&name, &pjsip_DOMAIN_STR)) { - chal->domain = value; - - } else if (!pj_stricmp(&name, &pjsip_NONCE_STR)) { - chal->nonce = value; - - } else if (!pj_stricmp(&name, &pjsip_OPAQUE_STR)) { - chal->opaque = value; - - } else if (!pj_stricmp(&name, &pjsip_STALE_STR)) { - if (!pj_stricmp(&value, &pjsip_TRUE_STR) || - !pj_stricmp(&value, &pjsip_QUOTED_TRUE_STR)) - { - chal->stale = 1; - } - - } else if (!pj_stricmp(&name, &pjsip_ALGORITHM_STR)) { - chal->algorithm = value; - - - } else if (!pj_stricmp(&name, &pjsip_QOP_STR)) { - chal->qop = value; - - } else { - pjsip_param *p = PJ_POOL_ALLOC_T(pool, pjsip_param); - p->name = name; - p->value = value; - pj_list_insert_before(&chal->other_param, p); - } - - /* Eat comma */ - if (!pj_scan_is_eof(scanner) && *scanner->curptr == ',') - pj_scan_get_char(scanner); - else - break; - } -} - -static void parse_pgp_challenge( pj_scanner *scanner, pj_pool_t *pool, - pjsip_pgp_challenge *chal) -{ - PJ_UNUSED_ARG(scanner); - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(chal); - - PJ_THROW(PJSIP_SYN_ERR_EXCEPTION); -} - -static void int_parse_hdr_authorization( pj_scanner *scanner, pj_pool_t *pool, - pjsip_authorization_hdr *hdr) -{ - const pjsip_parser_const_t *pc = pjsip_parser_const(); - - if (*scanner->curptr == '"') { - pj_scan_get_quote(scanner, '"', '"', &hdr->scheme); - hdr->scheme.ptr++; - hdr->scheme.slen -= 2; - } else { - pj_scan_get(scanner, &pc->pjsip_TOKEN_SPEC, &hdr->scheme); - } - - if (!pj_stricmp(&hdr->scheme, &pjsip_DIGEST_STR)) { - - parse_digest_credential(scanner, pool, &hdr->credential.digest); - - } else if (!pj_stricmp(&hdr->scheme, &pjsip_PGP_STR)) { - - parse_pgp_credential( scanner, pool, &hdr->credential.pgp); - - } else { - PJ_THROW(PJSIP_SYN_ERR_EXCEPTION); - } - - pjsip_parse_end_hdr_imp( scanner ); -} - -static void int_parse_hdr_authenticate( pj_scanner *scanner, pj_pool_t *pool, - pjsip_www_authenticate_hdr *hdr) -{ - const pjsip_parser_const_t *pc = pjsip_parser_const(); - - if (*scanner->curptr == '"') { - pj_scan_get_quote(scanner, '"', '"', &hdr->scheme); - hdr->scheme.ptr++; - hdr->scheme.slen -= 2; - } else { - pj_scan_get(scanner, &pc->pjsip_TOKEN_SPEC, &hdr->scheme); - } - - if (!pj_stricmp(&hdr->scheme, &pjsip_DIGEST_STR)) { - - parse_digest_challenge(scanner, pool, &hdr->challenge.digest); - - } else if (!pj_stricmp(&hdr->scheme, &pjsip_PGP_STR)) { - - parse_pgp_challenge(scanner, pool, &hdr->challenge.pgp); - - } else { - PJ_THROW(PJSIP_SYN_ERR_EXCEPTION); - } - - pjsip_parse_end_hdr_imp( scanner ); -} - - -static pjsip_hdr* parse_hdr_authorization( pjsip_parse_ctx *ctx ) -{ - pjsip_authorization_hdr *hdr = pjsip_authorization_hdr_create(ctx->pool); - int_parse_hdr_authorization(ctx->scanner, ctx->pool, hdr); - return (pjsip_hdr*)hdr; -} - -static pjsip_hdr* parse_hdr_proxy_authorization( pjsip_parse_ctx *ctx ) -{ - pjsip_proxy_authorization_hdr *hdr = - pjsip_proxy_authorization_hdr_create(ctx->pool); - int_parse_hdr_authorization(ctx->scanner, ctx->pool, hdr); - return (pjsip_hdr*)hdr; -} - -static pjsip_hdr* parse_hdr_www_authenticate( pjsip_parse_ctx *ctx ) -{ - pjsip_www_authenticate_hdr *hdr = - pjsip_www_authenticate_hdr_create(ctx->pool); - int_parse_hdr_authenticate(ctx->scanner, ctx->pool, hdr); - return (pjsip_hdr*)hdr; -} - -static pjsip_hdr* parse_hdr_proxy_authenticate( pjsip_parse_ctx *ctx ) -{ - pjsip_proxy_authenticate_hdr *hdr = - pjsip_proxy_authenticate_hdr_create(ctx->pool); - int_parse_hdr_authenticate(ctx->scanner, ctx->pool, hdr); - return (pjsip_hdr*)hdr; -} - - -PJ_DEF(pj_status_t) pjsip_auth_init_parser() -{ - pj_status_t status; - - status = pjsip_register_hdr_parser( "Authorization", NULL, - &parse_hdr_authorization); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, status); - status = pjsip_register_hdr_parser( "Proxy-Authorization", NULL, - &parse_hdr_proxy_authorization); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, status); - status = pjsip_register_hdr_parser( "WWW-Authenticate", NULL, - &parse_hdr_www_authenticate); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, status); - status = pjsip_register_hdr_parser( "Proxy-Authenticate", NULL, - &parse_hdr_proxy_authenticate); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, status); - - return PJ_SUCCESS; -} - -PJ_DEF(void) pjsip_auth_deinit_parser() -{ -} - diff --git a/res/pjproject/pjsip/src/pjsip/sip_auth_parser_wrap.cpp b/res/pjproject/pjsip/src/pjsip/sip_auth_parser_wrap.cpp deleted file mode 100644 index a0c083f5b8..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_auth_parser_wrap.cpp +++ /dev/null @@ -1,24 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * This file is a C++ wrapper, see ticket #886 for details. - */ - -#include "sip_auth_parser.c" diff --git a/res/pjproject/pjsip/src/pjsip/sip_auth_server.c b/res/pjproject/pjsip/src/pjsip/sip_auth_server.c deleted file mode 100644 index 683a78d935..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_auth_server.c +++ /dev/null @@ -1,225 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include -#include /* just to get pjsip_DIGEST_STR */ -#include -#include -#include -#include -#include - - -/* - * Initialize server authorization session data structure to serve the - * specified realm and to use lookup_func function to look for the credential - * info. - */ -PJ_DEF(pj_status_t) pjsip_auth_srv_init( pj_pool_t *pool, - pjsip_auth_srv *auth_srv, - const pj_str_t *realm, - pjsip_auth_lookup_cred *lookup, - unsigned options ) -{ - PJ_ASSERT_RETURN(pool && auth_srv && realm && lookup, PJ_EINVAL); - - pj_strdup( pool, &auth_srv->realm, realm); - auth_srv->lookup = lookup; - auth_srv->is_proxy = (options & PJSIP_AUTH_SRV_IS_PROXY); - - return PJ_SUCCESS; -} - - -/* Verify incoming Authorization/Proxy-Authorization header against the - * specified credential. - */ -static pj_status_t pjsip_auth_verify( const pjsip_authorization_hdr *hdr, - const pj_str_t *method, - const pjsip_cred_info *cred_info ) -{ - if (pj_stricmp(&hdr->scheme, &pjsip_DIGEST_STR) == 0) { - char digest_buf[PJSIP_MD5STRLEN]; - pj_str_t digest; - const pjsip_digest_credential *dig = &hdr->credential.digest; - - /* Check that username and realm match. - * These checks should have been performed before entering this - * function. - */ - PJ_ASSERT_RETURN(pj_strcmp(&dig->username, &cred_info->username) == 0, - PJ_EINVALIDOP); - PJ_ASSERT_RETURN(pj_strcmp(&dig->realm, &cred_info->realm) == 0, - PJ_EINVALIDOP); - - /* Prepare for our digest calculation. */ - digest.ptr = digest_buf; - digest.slen = PJSIP_MD5STRLEN; - - /* Create digest for comparison. */ - pjsip_auth_create_digest(&digest, - &hdr->credential.digest.nonce, - &hdr->credential.digest.nc, - &hdr->credential.digest.cnonce, - &hdr->credential.digest.qop, - &hdr->credential.digest.uri, - &cred_info->realm, - cred_info, - method ); - - /* Compare digest. */ - return (pj_stricmp(&digest, &hdr->credential.digest.response) == 0) ? - PJ_SUCCESS : PJSIP_EAUTHINVALIDDIGEST; - - } else { - pj_assert(!"Unsupported authentication scheme"); - return PJSIP_EINVALIDAUTHSCHEME; - } -} - - -/* - * Request the authorization server framework to verify the authorization - * information in the specified request in rdata. - */ -PJ_DEF(pj_status_t) pjsip_auth_srv_verify( pjsip_auth_srv *auth_srv, - pjsip_rx_data *rdata, - int *status_code) -{ - pjsip_authorization_hdr *h_auth; - pjsip_msg *msg = rdata->msg_info.msg; - pjsip_hdr_e htype; - pj_str_t acc_name; - pjsip_cred_info cred_info; - pj_status_t status; - - PJ_ASSERT_RETURN(auth_srv && rdata, PJ_EINVAL); - PJ_ASSERT_RETURN(msg->type == PJSIP_REQUEST_MSG, PJSIP_ENOTREQUESTMSG); - - htype = auth_srv->is_proxy ? PJSIP_H_PROXY_AUTHORIZATION : - PJSIP_H_AUTHORIZATION; - - /* Initialize status with 200. */ - *status_code = 200; - - /* Find authorization header for our realm. */ - h_auth = (pjsip_authorization_hdr*) pjsip_msg_find_hdr(msg, htype, NULL); - while (h_auth) { - if (!pj_stricmp(&h_auth->credential.common.realm, &auth_srv->realm)) - break; - - h_auth = h_auth->next; - if (h_auth == (void*) &msg->hdr) { - h_auth = NULL; - break; - } - - h_auth=(pjsip_authorization_hdr*)pjsip_msg_find_hdr(msg,htype,h_auth); - } - - if (!h_auth) { - *status_code = auth_srv->is_proxy ? 407 : 401; - return PJSIP_EAUTHNOAUTH; - } - - /* Check authorization scheme. */ - if (pj_stricmp(&h_auth->scheme, &pjsip_DIGEST_STR) == 0) - acc_name = h_auth->credential.digest.username; - else { - *status_code = auth_srv->is_proxy ? 407 : 401; - return PJSIP_EINVALIDAUTHSCHEME; - } - - /* Find the credential information for the account. */ - status = (*auth_srv->lookup)(rdata->tp_info.pool, &auth_srv->realm, - &acc_name, &cred_info); - if (status != PJ_SUCCESS) { - *status_code = PJSIP_SC_FORBIDDEN; - return status; - } - - /* Authenticate with the specified credential. */ - status = pjsip_auth_verify(h_auth, &msg->line.req.method.name, - &cred_info); - if (status != PJ_SUCCESS) { - *status_code = PJSIP_SC_FORBIDDEN; - } - return status; -} - - -/* - * Add authentication challenge headers to the outgoing response in tdata. - * Application may specify its customized nonce and opaque for the challenge, - * or can leave the value to NULL to make the function fills them in with - * random characters. - */ -PJ_DEF(pj_status_t) pjsip_auth_srv_challenge( pjsip_auth_srv *auth_srv, - const pj_str_t *qop, - const pj_str_t *nonce, - const pj_str_t *opaque, - pj_bool_t stale, - pjsip_tx_data *tdata) -{ - pjsip_www_authenticate_hdr *hdr; - char nonce_buf[16]; - pj_str_t random; - - PJ_ASSERT_RETURN( auth_srv && tdata, PJ_EINVAL ); - - random.ptr = nonce_buf; - random.slen = sizeof(nonce_buf); - - /* Create the header. */ - if (auth_srv->is_proxy) - hdr = pjsip_proxy_authenticate_hdr_create(tdata->pool); - else - hdr = pjsip_www_authenticate_hdr_create(tdata->pool); - - /* Initialize header. - * Note: only support digest authentication now. - */ - hdr->scheme = pjsip_DIGEST_STR; - hdr->challenge.digest.algorithm = pjsip_MD5_STR; - if (nonce) { - pj_strdup(tdata->pool, &hdr->challenge.digest.nonce, nonce); - } else { - pj_create_random_string(nonce_buf, sizeof(nonce_buf)); - pj_strdup(tdata->pool, &hdr->challenge.digest.nonce, &random); - } - if (opaque) { - pj_strdup(tdata->pool, &hdr->challenge.digest.opaque, opaque); - } else { - pj_create_random_string(nonce_buf, sizeof(nonce_buf)); - pj_strdup(tdata->pool, &hdr->challenge.digest.opaque, &random); - } - if (qop) { - pj_strdup(tdata->pool, &hdr->challenge.digest.qop, qop); - } else { - hdr->challenge.digest.qop.slen = 0; - } - pj_strdup(tdata->pool, &hdr->challenge.digest.realm, &auth_srv->realm); - hdr->challenge.digest.stale = stale; - - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)hdr); - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjsip/src/pjsip/sip_config.c b/res/pjproject/pjsip/src/pjsip/sip_config.c deleted file mode 100644 index ce970e8a4b..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_config.c +++ /dev/null @@ -1,54 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include - -/* pjsip configuration instance, initialized with default values */ -pjsip_cfg_t pjsip_sip_cfg_var = -{ - /* Global settings */ - { - PJSIP_ALLOW_PORT_IN_FROMTO_HDR, - 0, - PJSIP_DONT_SWITCH_TO_TCP - }, - - /* Transaction settings */ - { - PJSIP_MAX_TSX_COUNT, - PJSIP_T1_TIMEOUT, - PJSIP_T2_TIMEOUT, - PJSIP_T4_TIMEOUT, - PJSIP_TD_TIMEOUT - }, - - /* Client registration client */ - { - PJSIP_REGISTER_CLIENT_CHECK_CONTACT - } -}; - - -#ifdef PJ_DLL -PJ_DEF(pjsip_cfg_t*) pjsip_cfg(void) -{ - return &pjsip_sip_cfg_var; -} -#endif diff --git a/res/pjproject/pjsip/src/pjsip/sip_dialog.c b/res/pjproject/pjsip/src/pjsip/sip_dialog.c deleted file mode 100644 index 2b6bb89886..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_dialog.c +++ /dev/null @@ -1,2217 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "sip_dialog.c" - -long pjsip_dlg_lock_tls_id; - -/* Config */ -pj_bool_t pjsip_include_allow_hdr_in_dlg = PJSIP_INCLUDE_ALLOW_HDR_IN_DLG; - -/* Contact header string */ -static const pj_str_t HCONTACT = { "Contact", 7 }; - - -PJ_DEF(pj_bool_t) pjsip_method_creates_dialog(const pjsip_method *m) -{ - const pjsip_method subscribe = { PJSIP_OTHER_METHOD, {"SUBSCRIBE", 9}}; - const pjsip_method refer = { PJSIP_OTHER_METHOD, {"REFER", 5}}; - const pjsip_method notify = { PJSIP_OTHER_METHOD, {"NOTIFY", 6}}; - const pjsip_method update = { PJSIP_OTHER_METHOD, {"UPDATE", 6}}; - - return m->id == PJSIP_INVITE_METHOD || - (pjsip_method_cmp(m, &subscribe)==0) || - (pjsip_method_cmp(m, &refer)==0) || - (pjsip_method_cmp(m, ¬ify)==0) || - (pjsip_method_cmp(m, &update)==0); -} - -static pj_status_t create_dialog( pjsip_user_agent *ua, - pjsip_dialog **p_dlg) -{ - pjsip_endpoint *endpt; - pj_pool_t *pool; - pjsip_dialog *dlg; - pj_status_t status; - - endpt = pjsip_ua_get_endpt(ua); - if (!endpt) - return PJ_EINVALIDOP; - - pool = pjsip_endpt_create_pool(endpt, "dlg%p", - PJSIP_POOL_LEN_DIALOG, - PJSIP_POOL_INC_DIALOG); - if (!pool) - return PJ_ENOMEM; - - dlg = PJ_POOL_ZALLOC_T(pool, pjsip_dialog); - PJ_ASSERT_RETURN(dlg != NULL, PJ_ENOMEM); - - dlg->pool = pool; - pj_ansi_snprintf(dlg->obj_name, sizeof(dlg->obj_name), "dlg%p", dlg); - dlg->ua = ua; - dlg->endpt = endpt; - dlg->state = PJSIP_DIALOG_STATE_NULL; - dlg->add_allow = pjsip_include_allow_hdr_in_dlg; - - pj_list_init(&dlg->inv_hdr); - pj_list_init(&dlg->rem_cap_hdr); - - status = pj_mutex_create_recursive(pool, dlg->obj_name, &dlg->mutex_); - if (status != PJ_SUCCESS) - goto on_error; - - pjsip_target_set_init(&dlg->target_set); - - *p_dlg = dlg; - return PJ_SUCCESS; - -on_error: - if (dlg->mutex_) - pj_mutex_destroy(dlg->mutex_); - pjsip_endpt_release_pool(endpt, pool); - return status; -} - -static void destroy_dialog( pjsip_dialog *dlg ) -{ - if (dlg->mutex_) { - pj_mutex_destroy(dlg->mutex_); - dlg->mutex_ = NULL; - } - if (dlg->tp_sel.type != PJSIP_TPSELECTOR_NONE) { - pjsip_tpselector_dec_ref(&dlg->tp_sel); - pj_bzero(&dlg->tp_sel, sizeof(pjsip_tpselector)); - } - pjsip_endpt_release_pool(dlg->endpt, dlg->pool); -} - - -/* - * Create an UAC dialog. - */ -PJ_DEF(pj_status_t) pjsip_dlg_create_uac( pjsip_user_agent *ua, - const pj_str_t *local_uri, - const pj_str_t *local_contact, - const pj_str_t *remote_uri, - const pj_str_t *target, - pjsip_dialog **p_dlg) -{ - pj_status_t status; - pj_str_t tmp; - pjsip_dialog *dlg; - - /* Check arguments. */ - PJ_ASSERT_RETURN(ua && local_uri && remote_uri && p_dlg, PJ_EINVAL); - - /* Create dialog instance. */ - status = create_dialog(ua, &dlg); - if (status != PJ_SUCCESS) - return status; - - /* Parse target. */ - pj_strdup_with_null(dlg->pool, &tmp, target ? target : remote_uri); - dlg->target = pjsip_parse_uri(dlg->pool, tmp.ptr, tmp.slen, 0); - if (!dlg->target) { - status = PJSIP_EINVALIDURI; - goto on_error; - } - - /* Put any header param in the target URI into INVITE header list. */ - if (PJSIP_URI_SCHEME_IS_SIP(dlg->target) || - PJSIP_URI_SCHEME_IS_SIPS(dlg->target)) - { - pjsip_param *param; - pjsip_sip_uri *uri = (pjsip_sip_uri*)pjsip_uri_get_uri(dlg->target); - - param = uri->header_param.next; - while (param != &uri->header_param) { - pjsip_hdr *hdr; - int c; - - c = param->value.ptr[param->value.slen]; - param->value.ptr[param->value.slen] = '\0'; - - hdr = (pjsip_hdr*) - pjsip_parse_hdr(dlg->pool, ¶m->name, param->value.ptr, - param->value.slen, NULL); - - param->value.ptr[param->value.slen] = (char)c; - - if (hdr == NULL) { - status = PJSIP_EINVALIDURI; - goto on_error; - } - pj_list_push_back(&dlg->inv_hdr, hdr); - - param = param->next; - } - - /* Now must remove any header params from URL, since that would - * create another header in pjsip_endpt_create_request(). - */ - pj_list_init(&uri->header_param); - } - - /* Add target to the target set */ - pjsip_target_set_add_uri(&dlg->target_set, dlg->pool, dlg->target, 0); - - /* Init local info. */ - dlg->local.info = pjsip_from_hdr_create(dlg->pool); - pj_strdup_with_null(dlg->pool, &dlg->local.info_str, local_uri); - dlg->local.info->uri = pjsip_parse_uri(dlg->pool, - dlg->local.info_str.ptr, - dlg->local.info_str.slen, 0); - if (!dlg->local.info->uri) { - status = PJSIP_EINVALIDURI; - goto on_error; - } - - /* Generate local tag. */ - pj_create_unique_string(dlg->pool, &dlg->local.info->tag); - - /* Calculate hash value of local tag. */ - dlg->local.tag_hval = pj_hash_calc(0, dlg->local.info->tag.ptr, - dlg->local.info->tag.slen); - - /* Randomize local CSeq. */ - dlg->local.first_cseq = pj_rand() & 0x7FFF; - dlg->local.cseq = dlg->local.first_cseq; - - /* Init local contact. */ - pj_strdup_with_null(dlg->pool, &tmp, - local_contact ? local_contact : local_uri); - dlg->local.contact = (pjsip_contact_hdr*) - pjsip_parse_hdr(dlg->pool, &HCONTACT, tmp.ptr, - tmp.slen, NULL); - if (!dlg->local.contact) { - status = PJSIP_EINVALIDURI; - goto on_error; - } - - /* Init remote info. */ - dlg->remote.info = pjsip_to_hdr_create(dlg->pool); - pj_strdup_with_null(dlg->pool, &dlg->remote.info_str, remote_uri); - dlg->remote.info->uri = pjsip_parse_uri(dlg->pool, - dlg->remote.info_str.ptr, - dlg->remote.info_str.slen, 0); - if (!dlg->remote.info->uri) { - status = PJSIP_EINVALIDURI; - goto on_error; - } - - /* Remove header param from remote.info_str, if any */ - if (PJSIP_URI_SCHEME_IS_SIP(dlg->remote.info->uri) || - PJSIP_URI_SCHEME_IS_SIPS(dlg->remote.info->uri)) - { - pjsip_sip_uri *sip_uri = (pjsip_sip_uri *) - pjsip_uri_get_uri(dlg->remote.info->uri); - if (!pj_list_empty(&sip_uri->header_param)) { - pj_str_t tmp; - - /* Remove all header param */ - pj_list_init(&sip_uri->header_param); - - /* Print URI */ - tmp.ptr = (char*) pj_pool_alloc(dlg->pool, - dlg->remote.info_str.slen); - tmp.slen = pjsip_uri_print(PJSIP_URI_IN_FROMTO_HDR, - sip_uri, tmp.ptr, - dlg->remote.info_str.slen); - - if (tmp.slen < 1) { - status = PJSIP_EURITOOLONG; - goto on_error; - } - - /* Assign remote.info_str */ - dlg->remote.info_str = tmp; - } - } - - - /* Initialize remote's CSeq to -1. */ - dlg->remote.cseq = dlg->remote.first_cseq = -1; - - /* Initial role is UAC. */ - dlg->role = PJSIP_ROLE_UAC; - - /* Secure? */ - dlg->secure = PJSIP_URI_SCHEME_IS_SIPS(dlg->target); - - /* Generate Call-ID header. */ - dlg->call_id = pjsip_cid_hdr_create(dlg->pool); - pj_create_unique_string(dlg->pool, &dlg->call_id->id); - - /* Initial route set is empty. */ - pj_list_init(&dlg->route_set); - - /* Init client authentication session. */ - status = pjsip_auth_clt_init(&dlg->auth_sess, dlg->endpt, - dlg->pool, 0); - if (status != PJ_SUCCESS) - goto on_error; - - /* Register this dialog to user agent. */ - status = pjsip_ua_register_dlg( ua, dlg ); - if (status != PJ_SUCCESS) - goto on_error; - - - /* Done! */ - *p_dlg = dlg; - - - PJ_LOG(5,(dlg->obj_name, "UAC dialog created")); - - return PJ_SUCCESS; - -on_error: - destroy_dialog(dlg); - return status; -} - - -/* - * Create UAS dialog. - */ -PJ_DEF(pj_status_t) pjsip_dlg_create_uas( pjsip_user_agent *ua, - pjsip_rx_data *rdata, - const pj_str_t *contact, - pjsip_dialog **p_dlg) -{ - pj_status_t status; - pjsip_hdr *pos = NULL; - pjsip_contact_hdr *contact_hdr; - pjsip_rr_hdr *rr; - pjsip_transaction *tsx = NULL; - pj_str_t tmp; - enum { TMP_LEN=128}; - pj_ssize_t len; - pjsip_dialog *dlg; - - /* Check arguments. */ - PJ_ASSERT_RETURN(ua && rdata && p_dlg, PJ_EINVAL); - - /* rdata must have request message. */ - PJ_ASSERT_RETURN(rdata->msg_info.msg->type == PJSIP_REQUEST_MSG, - PJSIP_ENOTREQUESTMSG); - - /* Request must not have To tag. - * This should have been checked in the user agent (or application?). - */ - PJ_ASSERT_RETURN(rdata->msg_info.to->tag.slen == 0, PJ_EINVALIDOP); - - /* The request must be a dialog establishing request. */ - PJ_ASSERT_RETURN( - pjsip_method_creates_dialog(&rdata->msg_info.msg->line.req.method), - PJ_EINVALIDOP); - - /* Create dialog instance. */ - status = create_dialog(ua, &dlg); - if (status != PJ_SUCCESS) - return status; - - /* Temprary string for getting the string representation of - * both local and remote URI. - */ - tmp.ptr = (char*) pj_pool_alloc(rdata->tp_info.pool, TMP_LEN); - - /* Init local info from the To header. */ - dlg->local.info = (pjsip_fromto_hdr*) - pjsip_hdr_clone(dlg->pool, rdata->msg_info.to); - pjsip_fromto_hdr_set_from(dlg->local.info); - - /* Generate local tag. */ - pj_create_unique_string(dlg->pool, &dlg->local.info->tag); - - - /* Print the local info. */ - len = pjsip_uri_print(PJSIP_URI_IN_FROMTO_HDR, - dlg->local.info->uri, tmp.ptr, TMP_LEN); - if (len < 1) { - pj_ansi_strcpy(tmp.ptr, "<-error: uri too long->"); - tmp.slen = pj_ansi_strlen(tmp.ptr); - } else - tmp.slen = len; - - /* Save the local info. */ - pj_strdup(dlg->pool, &dlg->local.info_str, &tmp); - - /* Calculate hash value of local tag. */ - dlg->local.tag_hval = pj_hash_calc(0, dlg->local.info->tag.ptr, - dlg->local.info->tag.slen); - - - /* Randomize local cseq */ - dlg->local.first_cseq = pj_rand() & 0x7FFF; - dlg->local.cseq = dlg->local.first_cseq; - - /* Init local contact. */ - /* TODO: - * Section 12.1.1, paragraph about using SIPS URI in Contact. - * If the request that initiated the dialog contained a SIPS URI - * in the Request-URI or in the top Record-Route header field value, - * if there was any, or the Contact header field if there was no - * Record-Route header field, the Contact header field in the response - * MUST be a SIPS URI. - */ - if (contact) { - pj_str_t tmp; - - pj_strdup_with_null(dlg->pool, &tmp, contact); - dlg->local.contact = (pjsip_contact_hdr*) - pjsip_parse_hdr(dlg->pool, &HCONTACT, tmp.ptr, - tmp.slen, NULL); - if (!dlg->local.contact) { - status = PJSIP_EINVALIDURI; - goto on_error; - } - - } else { - dlg->local.contact = pjsip_contact_hdr_create(dlg->pool); - dlg->local.contact->uri = dlg->local.info->uri; - } - - /* Init remote info from the From header. */ - dlg->remote.info = (pjsip_fromto_hdr*) - pjsip_hdr_clone(dlg->pool, rdata->msg_info.from); - pjsip_fromto_hdr_set_to(dlg->remote.info); - - /* Print the remote info. */ - len = pjsip_uri_print(PJSIP_URI_IN_FROMTO_HDR, - dlg->remote.info->uri, tmp.ptr, TMP_LEN); - if (len < 1) { - pj_ansi_strcpy(tmp.ptr, "<-error: uri too long->"); - tmp.slen = pj_ansi_strlen(tmp.ptr); - } else - tmp.slen = len; - - /* Save the remote info. */ - pj_strdup(dlg->pool, &dlg->remote.info_str, &tmp); - - - /* Init remote's contact from Contact header. - * Iterate the Contact URI until we find sip: or sips: scheme. - */ - do { - contact_hdr = (pjsip_contact_hdr*) - pjsip_msg_find_hdr(rdata->msg_info.msg, PJSIP_H_CONTACT, - pos); - if (contact_hdr) { - if (!contact_hdr->uri || - (!PJSIP_URI_SCHEME_IS_SIP(contact_hdr->uri) && - !PJSIP_URI_SCHEME_IS_SIPS(contact_hdr->uri))) - { - pos = (pjsip_hdr*)contact_hdr->next; - if (pos == &rdata->msg_info.msg->hdr) - contact_hdr = NULL; - } else { - break; - } - } - } while (contact_hdr); - - if (!contact_hdr) { - status = PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_BAD_REQUEST); - goto on_error; - } - - dlg->remote.contact = (pjsip_contact_hdr*) - pjsip_hdr_clone(dlg->pool, (pjsip_hdr*)contact_hdr); - - /* Init remote's CSeq from CSeq header */ - dlg->remote.cseq = dlg->remote.first_cseq = rdata->msg_info.cseq->cseq; - - /* Set initial target to remote's Contact. */ - dlg->target = dlg->remote.contact->uri; - - /* Initial role is UAS */ - dlg->role = PJSIP_ROLE_UAS; - - /* Secure? - * RFC 3261 Section 12.1.1: - * If the request arrived over TLS, and the Request-URI contained a - * SIPS URI, the 'secure' flag is set to TRUE. - */ - dlg->secure = PJSIP_TRANSPORT_IS_SECURE(rdata->tp_info.transport) && - PJSIP_URI_SCHEME_IS_SIPS(rdata->msg_info.msg->line.req.uri); - - /* Call-ID */ - dlg->call_id = (pjsip_cid_hdr*) - pjsip_hdr_clone(dlg->pool, rdata->msg_info.cid); - - /* Route set. - * RFC 3261 Section 12.1.1: - * The route set MUST be set to the list of URIs in the Record-Route - * header field from the request, taken in order and preserving all URI - * parameters. If no Record-Route header field is present in the request, - * the route set MUST be set to the empty set. - */ - pj_list_init(&dlg->route_set); - rr = rdata->msg_info.record_route; - while (rr != NULL) { - pjsip_route_hdr *route; - - /* Clone the Record-Route, change the type to Route header. */ - route = (pjsip_route_hdr*) pjsip_hdr_clone(dlg->pool, rr); - pjsip_routing_hdr_set_route(route); - - /* Add to route set. */ - pj_list_push_back(&dlg->route_set, route); - - /* Find next Record-Route header. */ - rr = rr->next; - if (rr == (void*)&rdata->msg_info.msg->hdr) - break; - rr = (pjsip_route_hdr*) pjsip_msg_find_hdr(rdata->msg_info.msg, - PJSIP_H_RECORD_ROUTE, rr); - } - dlg->route_set_frozen = PJ_TRUE; - - /* Init client authentication session. */ - status = pjsip_auth_clt_init(&dlg->auth_sess, dlg->endpt, - dlg->pool, 0); - if (status != PJ_SUCCESS) - goto on_error; - - /* Create UAS transaction for this request. */ - status = pjsip_tsx_create_uas(dlg->ua, rdata, &tsx); - if (status != PJ_SUCCESS) - goto on_error; - - /* Associate this dialog to the transaction. */ - tsx->mod_data[dlg->ua->id] = dlg; - - /* Increment tsx counter */ - ++dlg->tsx_count; - - /* Calculate hash value of remote tag. */ - dlg->remote.tag_hval = pj_hash_calc(0, dlg->remote.info->tag.ptr, - dlg->remote.info->tag.slen); - - /* Update remote capabilities info */ - pjsip_dlg_update_remote_cap(dlg, rdata->msg_info.msg, PJ_TRUE); - - /* Register this dialog to user agent. */ - status = pjsip_ua_register_dlg( ua, dlg ); - if (status != PJ_SUCCESS) - goto on_error; - - /* Put this dialog in rdata's mod_data */ - rdata->endpt_info.mod_data[ua->id] = dlg; - - PJ_TODO(DIALOG_APP_TIMER); - - /* Feed the first request to the transaction. */ - pjsip_tsx_recv_msg(tsx, rdata); - - /* Done. */ - *p_dlg = dlg; - PJ_LOG(5,(dlg->obj_name, "UAS dialog created")); - return PJ_SUCCESS; - -on_error: - if (tsx) { - pjsip_tsx_terminate(tsx, 500); - pj_assert(dlg->tsx_count>0); - --dlg->tsx_count; - } - - destroy_dialog(dlg); - return status; -} - - -/* - * Bind dialog to a specific transport/listener. - */ -PJ_DEF(pj_status_t) pjsip_dlg_set_transport( pjsip_dialog *dlg, - const pjsip_tpselector *sel) -{ - /* Validate */ - PJ_ASSERT_RETURN(dlg && sel, PJ_EINVAL); - - /* Start locking the dialog. */ - pjsip_dlg_inc_lock(dlg); - - /* Decrement reference counter of previous transport selector */ - pjsip_tpselector_dec_ref(&dlg->tp_sel); - - /* Copy transport selector structure .*/ - pj_memcpy(&dlg->tp_sel, sel, sizeof(*sel)); - - /* Increment reference counter */ - pjsip_tpselector_add_ref(&dlg->tp_sel); - - /* Unlock dialog. */ - pjsip_dlg_dec_lock(dlg); - - return PJ_SUCCESS; -} - - -/* - * Create forked dialog from a response. - */ -PJ_DEF(pj_status_t) pjsip_dlg_fork( const pjsip_dialog *first_dlg, - const pjsip_rx_data *rdata, - pjsip_dialog **new_dlg ) -{ - pjsip_dialog *dlg; - const pjsip_msg *msg = rdata->msg_info.msg; - const pjsip_hdr *end_hdr, *hdr; - const pjsip_contact_hdr *contact; - pj_status_t status; - - /* Check arguments. */ - PJ_ASSERT_RETURN(first_dlg && rdata && new_dlg, PJ_EINVAL); - - /* rdata must be response message. */ - PJ_ASSERT_RETURN(msg->type == PJSIP_RESPONSE_MSG, - PJSIP_ENOTRESPONSEMSG); - - /* Status code MUST be 1xx (but not 100), or 2xx */ - status = msg->line.status.code; - PJ_ASSERT_RETURN( (status/100==1 && status!=100) || - (status/100==2), PJ_EBUG); - - /* To tag must present in the response. */ - PJ_ASSERT_RETURN(rdata->msg_info.to->tag.slen != 0, PJSIP_EMISSINGTAG); - - /* Find Contact header in the response */ - contact = (const pjsip_contact_hdr*) - pjsip_msg_find_hdr(msg, PJSIP_H_CONTACT, NULL); - if (contact == NULL || contact->uri == NULL) - return PJSIP_EMISSINGHDR; - - /* Create the dialog. */ - status = create_dialog((pjsip_user_agent*)first_dlg->ua, &dlg); - if (status != PJ_SUCCESS) - return status; - - /* Set remote target from the response. */ - dlg->target = (pjsip_uri*) pjsip_uri_clone(dlg->pool, contact->uri); - - /* Clone local info. */ - dlg->local.info = (pjsip_fromto_hdr*) - pjsip_hdr_clone(dlg->pool, first_dlg->local.info); - - /* Clone local tag. */ - pj_strdup(dlg->pool, &dlg->local.info->tag, &first_dlg->local.info->tag); - dlg->local.tag_hval = first_dlg->local.tag_hval; - - /* Clone local CSeq. */ - dlg->local.first_cseq = first_dlg->local.first_cseq; - dlg->local.cseq = first_dlg->local.cseq; - - /* Clone local Contact. */ - dlg->local.contact = (pjsip_contact_hdr*) - pjsip_hdr_clone(dlg->pool, first_dlg->local.contact); - - /* Clone remote info. */ - dlg->remote.info = (pjsip_fromto_hdr*) - pjsip_hdr_clone(dlg->pool, first_dlg->remote.info); - - /* Set remote tag from the response. */ - pj_strdup(dlg->pool, &dlg->remote.info->tag, &rdata->msg_info.to->tag); - - /* Initialize remote's CSeq to -1. */ - dlg->remote.cseq = dlg->remote.first_cseq = -1; - - /* Initial role is UAC. */ - dlg->role = PJSIP_ROLE_UAC; - - /* Dialog state depends on the response. */ - status = msg->line.status.code/100; - if (status == 1 || status == 2) - dlg->state = PJSIP_DIALOG_STATE_ESTABLISHED; - else { - pj_assert(!"Invalid status code"); - dlg->state = PJSIP_DIALOG_STATE_NULL; - } - - /* Secure? */ - dlg->secure = PJSIP_URI_SCHEME_IS_SIPS(dlg->target); - - /* Clone Call-ID header. */ - dlg->call_id = (pjsip_cid_hdr*) - pjsip_hdr_clone(dlg->pool, first_dlg->call_id); - - /* Get route-set from the response. */ - pj_list_init(&dlg->route_set); - end_hdr = &msg->hdr; - for (hdr=msg->hdr.prev; hdr!=end_hdr; hdr=hdr->prev) { - if (hdr->type == PJSIP_H_RECORD_ROUTE) { - pjsip_route_hdr *r; - r = (pjsip_route_hdr*) pjsip_hdr_clone(dlg->pool, hdr); - pjsip_routing_hdr_set_route(r); - pj_list_push_back(&dlg->route_set, r); - } - } - - //dlg->route_set_frozen = PJ_TRUE; - - /* Clone client authentication session. */ - status = pjsip_auth_clt_clone(dlg->pool, &dlg->auth_sess, - &first_dlg->auth_sess); - if (status != PJ_SUCCESS) - goto on_error; - - /* Register this dialog to user agent. */ - status = pjsip_ua_register_dlg(dlg->ua, dlg ); - if (status != PJ_SUCCESS) - goto on_error; - - - /* Done! */ - *new_dlg = dlg; - - PJ_LOG(5,(dlg->obj_name, "Forked dialog created")); - return PJ_SUCCESS; - -on_error: - destroy_dialog(dlg); - return status; -} - - -/* - * Destroy dialog. - */ -static pj_status_t unregister_and_destroy_dialog( pjsip_dialog *dlg ) -{ - pj_status_t status; - - /* Lock must have been held. */ - - /* Check dialog state. */ - /* Number of sessions must be zero. */ - PJ_ASSERT_RETURN(dlg->sess_count==0, PJ_EINVALIDOP); - - /* MUST not have pending transactions. */ - PJ_ASSERT_RETURN(dlg->tsx_count==0, PJ_EINVALIDOP); - - /* Unregister from user agent. */ - status = pjsip_ua_unregister_dlg(dlg->ua, dlg); - if (status != PJ_SUCCESS) { - pj_assert(!"Unexpected failed unregistration!"); - return status; - } - - /* Log */ - PJ_LOG(5,(dlg->obj_name, "Dialog destroyed")); - - /* Destroy this dialog. */ - destroy_dialog(dlg); - - return PJ_SUCCESS; -} - - -/* - * Forcefully terminate dialog. - */ -PJ_DEF(pj_status_t) pjsip_dlg_terminate( pjsip_dialog *dlg ) -{ - /* Number of sessions must be zero. */ - PJ_ASSERT_RETURN(dlg->sess_count==0, PJ_EINVALIDOP); - - /* MUST not have pending transactions. */ - PJ_ASSERT_RETURN(dlg->tsx_count==0, PJ_EINVALIDOP); - - return unregister_and_destroy_dialog(dlg); -} - - -/* - * Set route_set - */ -PJ_DEF(pj_status_t) pjsip_dlg_set_route_set( pjsip_dialog *dlg, - const pjsip_route_hdr *route_set ) -{ - pjsip_route_hdr *r; - - PJ_ASSERT_RETURN(dlg, PJ_EINVAL); - - pjsip_dlg_inc_lock(dlg); - - /* Clear route set. */ - pj_list_init(&dlg->route_set); - - if (!route_set) { - pjsip_dlg_dec_lock(dlg); - return PJ_SUCCESS; - } - - r = route_set->next; - while (r != route_set) { - pjsip_route_hdr *new_r; - - new_r = (pjsip_route_hdr*) pjsip_hdr_clone(dlg->pool, r); - pj_list_push_back(&dlg->route_set, new_r); - - r = r->next; - } - - pjsip_dlg_dec_lock(dlg); - return PJ_SUCCESS; -} - - -/* - * Increment session counter. - */ -PJ_DEF(pj_status_t) pjsip_dlg_inc_session( pjsip_dialog *dlg, - pjsip_module *mod ) -{ - PJ_ASSERT_RETURN(dlg && mod, PJ_EINVAL); - - pj_log_push_indent(); - - pjsip_dlg_inc_lock(dlg); - ++dlg->sess_count; - pjsip_dlg_dec_lock(dlg); - - PJ_LOG(5,(dlg->obj_name, "Session count inc to %d by %.*s", - dlg->sess_count, (int)mod->name.slen, mod->name.ptr)); - - pj_log_pop_indent(); - return PJ_SUCCESS; -} - -/* - * Lock dialog and increment session counter temporarily - * to prevent it from being deleted. In addition, it must lock - * the user agent's dialog table first, to prevent deadlock. - */ -PJ_DEF(void) pjsip_dlg_inc_lock(pjsip_dialog *dlg) -{ - PJ_LOG(6,(dlg->obj_name, "Entering pjsip_dlg_inc_lock(), sess_count=%d", - dlg->sess_count)); - - pj_mutex_lock(dlg->mutex_); - dlg->sess_count++; - - PJ_LOG(6,(dlg->obj_name, "Leaving pjsip_dlg_inc_lock(), sess_count=%d", - dlg->sess_count)); -} - -/* Try to acquire dialog's mutex, but bail out if mutex can not be - * acquired immediately. - */ -PJ_DEF(pj_status_t) pjsip_dlg_try_inc_lock(pjsip_dialog *dlg) -{ - pj_status_t status; - - PJ_LOG(6,(dlg->obj_name,"Entering pjsip_dlg_try_inc_lock(), sess_count=%d", - dlg->sess_count)); - - status = pj_mutex_trylock(dlg->mutex_); - if (status != PJ_SUCCESS) { - PJ_LOG(6,(dlg->obj_name, "pjsip_dlg_try_inc_lock() failed")); - return status; - } - - dlg->sess_count++; - - PJ_LOG(6,(dlg->obj_name, "Leaving pjsip_dlg_try_inc_lock(), sess_count=%d", - dlg->sess_count)); - - return PJ_SUCCESS; -} - - -/* - * Unlock dialog and decrement session counter. - * It may delete the dialog! - */ -PJ_DEF(void) pjsip_dlg_dec_lock(pjsip_dialog *dlg) -{ - PJ_ASSERT_ON_FAIL(dlg!=NULL, return); - - PJ_LOG(6,(dlg->obj_name, "Entering pjsip_dlg_dec_lock(), sess_count=%d", - dlg->sess_count)); - - pj_assert(dlg->sess_count > 0); - --dlg->sess_count; - - if (dlg->sess_count==0 && dlg->tsx_count==0) { - pj_mutex_unlock(dlg->mutex_); - pj_mutex_lock(dlg->mutex_); - unregister_and_destroy_dialog(dlg); - } else { - pj_mutex_unlock(dlg->mutex_); - } - - PJ_LOG(6,(THIS_FILE, "Leaving pjsip_dlg_dec_lock() (dlg=%p)", dlg)); -} - - - -/* - * Decrement session counter. - */ -PJ_DEF(pj_status_t) pjsip_dlg_dec_session( pjsip_dialog *dlg, - pjsip_module *mod) -{ - PJ_ASSERT_RETURN(dlg, PJ_EINVAL); - - pj_log_push_indent(); - - PJ_LOG(5,(dlg->obj_name, "Session count dec to %d by %.*s", - dlg->sess_count-1, (int)mod->name.slen, mod->name.ptr)); - - pjsip_dlg_inc_lock(dlg); - --dlg->sess_count; - pjsip_dlg_dec_lock(dlg); - - pj_log_pop_indent(); - return PJ_SUCCESS; -} - -/* - * Check if the module is registered as a usage - */ -PJ_DEF(pj_bool_t) pjsip_dlg_has_usage( pjsip_dialog *dlg, - pjsip_module *mod) -{ - unsigned index; - pj_bool_t found = PJ_FALSE; - - pjsip_dlg_inc_lock(dlg); - for (index=0; indexusage_cnt; ++index) { - if (dlg->usage[index] == mod) { - found = PJ_TRUE; - break; - } - } - pjsip_dlg_dec_lock(dlg); - - return found; -} - -/* - * Add usage. - */ -PJ_DEF(pj_status_t) pjsip_dlg_add_usage( pjsip_dialog *dlg, - pjsip_module *mod, - void *mod_data ) -{ - unsigned index; - - PJ_ASSERT_RETURN(dlg && mod, PJ_EINVAL); - PJ_ASSERT_RETURN(mod->id >= 0 && mod->id < PJSIP_MAX_MODULE, - PJ_EINVAL); - PJ_ASSERT_RETURN(dlg->usage_cnt < PJSIP_MAX_MODULE, PJ_EBUG); - - PJ_LOG(5,(dlg->obj_name, - "Module %.*s added as dialog usage, data=%p", - (int)mod->name.slen, mod->name.ptr, mod_data)); - - pjsip_dlg_inc_lock(dlg); - - /* Usages are sorted on priority, lowest number first. - * Find position to put the new module, also makes sure that - * this module has not been registered before. - */ - for (index=0; indexusage_cnt; ++index) { - if (dlg->usage[index] == mod) { - /* Module may be registered more than once in the same dialog. - * For example, when call transfer fails, application may retry - * call transfer on the same dialog. - * So return PJ_SUCCESS here. - */ - PJ_LOG(4,(dlg->obj_name, - "Module %.*s already registered as dialog usage, " - "updating the data %p", - (int)mod->name.slen, mod->name.ptr, mod_data)); - dlg->mod_data[mod->id] = mod_data; - - pjsip_dlg_dec_lock(dlg); - return PJ_SUCCESS; - - //pj_assert(!"This module is already registered"); - //pjsip_dlg_dec_lock(dlg); - //return PJSIP_ETYPEEXISTS; - } - - if (dlg->usage[index]->priority > mod->priority) - break; - } - - /* index holds position to put the module. - * Insert module at this index. - */ - pj_array_insert(dlg->usage, sizeof(dlg->usage[0]), dlg->usage_cnt, - index, &mod); - - /* Set module data. */ - dlg->mod_data[mod->id] = mod_data; - - /* Increment count. */ - ++dlg->usage_cnt; - - pjsip_dlg_dec_lock(dlg); - - return PJ_SUCCESS; -} - - -/* - * Attach module specific data to the dialog. Application can also set - * the value directly by accessing dlg->mod_data[module_id]. - */ -PJ_DEF(pj_status_t) pjsip_dlg_set_mod_data( pjsip_dialog *dlg, - int mod_id, - void *data ) -{ - PJ_ASSERT_RETURN(dlg, PJ_EINVAL); - PJ_ASSERT_RETURN(mod_id >= 0 && mod_id < PJSIP_MAX_MODULE, - PJ_EINVAL); - dlg->mod_data[mod_id] = data; - return PJ_SUCCESS; -} - -/** - * Get module specific data previously attached to the dialog. Application - * can also get value directly by accessing dlg->mod_data[module_id]. - */ -PJ_DEF(void*) pjsip_dlg_get_mod_data( pjsip_dialog *dlg, - int mod_id) -{ - PJ_ASSERT_RETURN(dlg, NULL); - PJ_ASSERT_RETURN(mod_id >= 0 && mod_id < PJSIP_MAX_MODULE, - NULL); - return dlg->mod_data[mod_id]; -} - - -/* - * Create a new request within dialog (i.e. after the dialog session has been - * established). The construction of such requests follows the rule in - * RFC3261 section 12.2.1. - */ -static pj_status_t dlg_create_request_throw( pjsip_dialog *dlg, - const pjsip_method *method, - int cseq, - pjsip_tx_data **p_tdata ) -{ - pjsip_tx_data *tdata; - pjsip_contact_hdr *contact; - pjsip_route_hdr *route, *end_list; - pj_status_t status; - - /* Contact Header field. - * Contact can only be present in requests that establish dialog (in the - * core SIP spec, only INVITE). - */ - if (pjsip_method_creates_dialog(method)) - contact = dlg->local.contact; - else - contact = NULL; - - /* - * Create the request by cloning from the headers in the - * dialog. - */ - status = pjsip_endpt_create_request_from_hdr(dlg->endpt, - method, - dlg->target, - dlg->local.info, - dlg->remote.info, - contact, - dlg->call_id, - cseq, - NULL, - &tdata); - if (status != PJ_SUCCESS) - return status; - - /* Just copy dialog route-set to Route header. - * The transaction will do the processing as specified in Section 12.2.1 - * of RFC 3261 in function tsx_process_route() in sip_transaction.c. - */ - route = dlg->route_set.next; - end_list = &dlg->route_set; - for (; route != end_list; route = route->next ) { - pjsip_route_hdr *r; - r = (pjsip_route_hdr*) pjsip_hdr_shallow_clone( tdata->pool, route ); - pjsip_routing_hdr_set_route(r); - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)r); - } - - /* Copy authorization headers, if request is not ACK or CANCEL. */ - if (method->id != PJSIP_ACK_METHOD && method->id != PJSIP_CANCEL_METHOD) { - status = pjsip_auth_clt_init_req( &dlg->auth_sess, tdata ); - if (status != PJ_SUCCESS) - return status; - } - - /* Done. */ - *p_tdata = tdata; - - return PJ_SUCCESS; -} - - - -/* - * Create outgoing request. - */ -PJ_DEF(pj_status_t) pjsip_dlg_create_request( pjsip_dialog *dlg, - const pjsip_method *method, - int cseq, - pjsip_tx_data **p_tdata) -{ - pj_status_t status; - pjsip_tx_data *tdata = NULL; - PJ_USE_EXCEPTION; - - PJ_ASSERT_RETURN(dlg && method && p_tdata, PJ_EINVAL); - - /* Lock dialog. */ - pjsip_dlg_inc_lock(dlg); - - /* Use outgoing CSeq and increment it by one. */ - if (cseq < 0) - cseq = dlg->local.cseq + 1; - - /* Keep compiler happy */ - status = PJ_EBUG; - - /* Create the request. */ - PJ_TRY { - status = dlg_create_request_throw(dlg, method, cseq, &tdata); - } - PJ_CATCH_ANY { - status = PJ_ENOMEM; - } - PJ_END; - - /* Failed! Delete transmit data. */ - if (status != PJ_SUCCESS && tdata) { - pjsip_tx_data_dec_ref( tdata ); - tdata = NULL; - } - - /* Unlock dialog. */ - pjsip_dlg_dec_lock(dlg); - - *p_tdata = tdata; - - return status; -} - - -/* - * Send request statefully, and update dialog'c CSeq. - */ -PJ_DEF(pj_status_t) pjsip_dlg_send_request( pjsip_dialog *dlg, - pjsip_tx_data *tdata, - int mod_data_id, - void *mod_data) -{ - pjsip_transaction *tsx; - pjsip_msg *msg = tdata->msg; - pj_status_t status; - - /* Check arguments. */ - PJ_ASSERT_RETURN(dlg && tdata && tdata->msg, PJ_EINVAL); - PJ_ASSERT_RETURN(tdata->msg->type == PJSIP_REQUEST_MSG, - PJSIP_ENOTREQUESTMSG); - - pj_log_push_indent(); - PJ_LOG(5,(dlg->obj_name, "Sending %s", - pjsip_tx_data_get_info(tdata))); - - /* Lock and increment session */ - pjsip_dlg_inc_lock(dlg); - - /* Update dialog's CSeq and message's CSeq if request is not - * ACK nor CANCEL. - */ - if (msg->line.req.method.id != PJSIP_CANCEL_METHOD && - msg->line.req.method.id != PJSIP_ACK_METHOD) - { - pjsip_cseq_hdr *ch; - - ch = PJSIP_MSG_CSEQ_HDR(msg); - PJ_ASSERT_RETURN(ch!=NULL, PJ_EBUG); - - ch->cseq = dlg->local.cseq++; - - /* Force the whole message to be re-printed. */ - pjsip_tx_data_invalidate_msg( tdata ); - } - - /* Create a new transaction if method is not ACK. - * The transaction user is the user agent module. - */ - if (msg->line.req.method.id != PJSIP_ACK_METHOD) { - int tsx_count; - - status = pjsip_tsx_create_uac(dlg->ua, tdata, &tsx); - if (status != PJ_SUCCESS) - goto on_error; - - /* Set transport selector */ - status = pjsip_tsx_set_transport(tsx, &dlg->tp_sel); - pj_assert(status == PJ_SUCCESS); - - /* Attach this dialog to the transaction, so that user agent - * will dispatch events to this dialog. - */ - tsx->mod_data[dlg->ua->id] = dlg; - - /* Copy optional caller's mod_data, if present */ - if (mod_data_id >= 0 && mod_data_id < PJSIP_MAX_MODULE) - tsx->mod_data[mod_data_id] = mod_data; - - /* Increment transaction counter. */ - tsx_count = ++dlg->tsx_count; - - /* Send the message. */ - status = pjsip_tsx_send_msg(tsx, tdata); - if (status != PJ_SUCCESS) { - if (dlg->tsx_count == tsx_count) - pjsip_tsx_terminate(tsx, tsx->status_code); - goto on_error; - } - - } else { - /* Set transport selector */ - pjsip_tx_data_set_transport(tdata, &dlg->tp_sel); - - /* Send request */ - status = pjsip_endpt_send_request_stateless(dlg->endpt, tdata, - NULL, NULL); - if (status != PJ_SUCCESS) - goto on_error; - - } - - /* Unlock dialog, may destroy dialog. */ - pjsip_dlg_dec_lock(dlg); - pj_log_pop_indent(); - return PJ_SUCCESS; - -on_error: - /* Unlock dialog, may destroy dialog. */ - pjsip_dlg_dec_lock(dlg); - - /* Whatever happen delete the message. */ - pjsip_tx_data_dec_ref( tdata ); - pj_log_pop_indent(); - return status; -} - -/* Add standard headers for certain types of response */ -static void dlg_beautify_response(pjsip_dialog *dlg, - pj_bool_t add_headers, - int st_code, - pjsip_tx_data *tdata) -{ - pjsip_cseq_hdr *cseq; - int st_class; - const pjsip_hdr *c_hdr; - pjsip_hdr *hdr; - - cseq = PJSIP_MSG_CSEQ_HDR(tdata->msg); - pj_assert(cseq != NULL); - - st_class = st_code / 100; - - /* Contact, Allow, Supported header. */ - if (add_headers && pjsip_method_creates_dialog(&cseq->method)) { - /* Add Contact header for 1xx, 2xx, 3xx and 485 response. */ - if (st_class==2 || st_class==3 || (st_class==1 && st_code != 100) || - st_code==485) - { - /* Add contact header only if one is not present. */ - if (pjsip_msg_find_hdr(tdata->msg, PJSIP_H_CONTACT, NULL) == 0 && - pjsip_msg_find_hdr_by_name(tdata->msg, &HCONTACT, NULL) == 0) - { - hdr = (pjsip_hdr*) pjsip_hdr_clone(tdata->pool, - dlg->local.contact); - pjsip_msg_add_hdr(tdata->msg, hdr); - } - } - - /* Add Allow header in 18x, 2xx and 405 response. */ - if ((((st_code/10==18 || st_class==2) && dlg->add_allow) - || st_code==405) && - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_ALLOW, NULL)==NULL) - { - c_hdr = pjsip_endpt_get_capability(dlg->endpt, - PJSIP_H_ALLOW, NULL); - if (c_hdr) { - hdr = (pjsip_hdr*) pjsip_hdr_clone(tdata->pool, c_hdr); - pjsip_msg_add_hdr(tdata->msg, hdr); - } - } - - /* Add Supported header in 2xx response. */ - if (st_class==2 && - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_SUPPORTED, NULL)==NULL) - { - c_hdr = pjsip_endpt_get_capability(dlg->endpt, - PJSIP_H_SUPPORTED, NULL); - if (c_hdr) { - hdr = (pjsip_hdr*) pjsip_hdr_clone(tdata->pool, c_hdr); - pjsip_msg_add_hdr(tdata->msg, hdr); - } - } - - } - - /* Add To tag in all responses except 100 */ - if (st_code != 100) { - pjsip_to_hdr *to; - - to = PJSIP_MSG_TO_HDR(tdata->msg); - pj_assert(to != NULL); - - to->tag = dlg->local.info->tag; - - if (dlg->state == PJSIP_DIALOG_STATE_NULL) - dlg->state = PJSIP_DIALOG_STATE_ESTABLISHED; - } -} - - -/* - * Create response. - */ -PJ_DEF(pj_status_t) pjsip_dlg_create_response( pjsip_dialog *dlg, - pjsip_rx_data *rdata, - int st_code, - const pj_str_t *st_text, - pjsip_tx_data **p_tdata) -{ - pj_status_t status; - pjsip_tx_data *tdata; - - /* Create generic response. - * This will initialize response's Via, To, From, Call-ID, CSeq - * and Record-Route headers from the request. - */ - status = pjsip_endpt_create_response(dlg->endpt, - rdata, st_code, st_text, &tdata); - if (status != PJ_SUCCESS) - return status; - - /* Lock the dialog. */ - pjsip_dlg_inc_lock(dlg); - - dlg_beautify_response(dlg, PJ_FALSE, st_code, tdata); - - /* Unlock the dialog. */ - pjsip_dlg_dec_lock(dlg); - - /* Done. */ - *p_tdata = tdata; - return PJ_SUCCESS; -} - -/* - * Modify response. - */ -PJ_DEF(pj_status_t) pjsip_dlg_modify_response( pjsip_dialog *dlg, - pjsip_tx_data *tdata, - int st_code, - const pj_str_t *st_text) -{ - pjsip_hdr *hdr; - - PJ_ASSERT_RETURN(dlg && tdata && tdata->msg, PJ_EINVAL); - PJ_ASSERT_RETURN(tdata->msg->type == PJSIP_RESPONSE_MSG, - PJSIP_ENOTRESPONSEMSG); - PJ_ASSERT_RETURN(st_code >= 100 && st_code <= 699, PJ_EINVAL); - - /* Lock and increment session */ - pjsip_dlg_inc_lock(dlg); - - /* Replace status code and reason */ - tdata->msg->line.status.code = st_code; - if (st_text) { - pj_strdup(tdata->pool, &tdata->msg->line.status.reason, st_text); - } else { - tdata->msg->line.status.reason = *pjsip_get_status_text(st_code); - } - - /* Remove existing Contact header (without this, when dialog sent - * 180 and then 302, the Contact in 302 will not get updated). - */ - hdr = (pjsip_hdr*) pjsip_msg_find_hdr(tdata->msg, PJSIP_H_CONTACT, NULL); - if (hdr) - pj_list_erase(hdr); - - /* Add tag etc. if necessary */ - dlg_beautify_response(dlg, st_code/100 <= 2, st_code, tdata); - - - /* Must add reference counter, since tsx_send_msg() will decrement it */ - pjsip_tx_data_add_ref(tdata); - - /* Force to re-print message. */ - pjsip_tx_data_invalidate_msg(tdata); - - /* Unlock dialog and dec session, may destroy dialog. */ - pjsip_dlg_dec_lock(dlg); - - return PJ_SUCCESS; -} - -/* - * Send response statefully. - */ -PJ_DEF(pj_status_t) pjsip_dlg_send_response( pjsip_dialog *dlg, - pjsip_transaction *tsx, - pjsip_tx_data *tdata) -{ - pj_status_t status; - - /* Sanity check. */ - PJ_ASSERT_RETURN(dlg && tsx && tdata && tdata->msg, PJ_EINVAL); - PJ_ASSERT_RETURN(tdata->msg->type == PJSIP_RESPONSE_MSG, - PJSIP_ENOTRESPONSEMSG); - - /* The transaction must belong to this dialog. */ - PJ_ASSERT_RETURN(tsx->mod_data[dlg->ua->id] == dlg, PJ_EINVALIDOP); - - pj_log_push_indent(); - - PJ_LOG(5,(dlg->obj_name, "Sending %s", - pjsip_tx_data_get_info(tdata))); - - /* Check that transaction method and cseq match the response. - * This operation is sloooww (search CSeq header twice), that's why - * we only do it in debug mode. - */ -#if defined(PJ_DEBUG) && PJ_DEBUG!=0 - PJ_ASSERT_RETURN( PJSIP_MSG_CSEQ_HDR(tdata->msg)->cseq == tsx->cseq && - pjsip_method_cmp(&PJSIP_MSG_CSEQ_HDR(tdata->msg)->method, - &tsx->method)==0, - PJ_EINVALIDOP); -#endif - - /* Must acquire dialog first, to prevent deadlock */ - pjsip_dlg_inc_lock(dlg); - - /* Last chance to add mandatory headers before the response is - * sent. - */ - dlg_beautify_response(dlg, PJ_TRUE, tdata->msg->line.status.code, tdata); - - /* If the dialog is locked to transport, make sure that transaction - * is locked to the same transport too. - */ - if (dlg->tp_sel.type != tsx->tp_sel.type || - dlg->tp_sel.u.ptr != tsx->tp_sel.u.ptr) - { - status = pjsip_tsx_set_transport(tsx, &dlg->tp_sel); - pj_assert(status == PJ_SUCCESS); - } - - /* Ask transaction to send the response */ - status = pjsip_tsx_send_msg(tsx, tdata); - - /* This function must decrement transmit data request counter - * regardless of the operation status. The transaction only - * decrements the counter if the operation is successful. - */ - if (status != PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - } - - pjsip_dlg_dec_lock(dlg); - pj_log_pop_indent(); - - return status; -} - - -/* - * Combo function to create and send response statefully. - */ -PJ_DEF(pj_status_t) pjsip_dlg_respond( pjsip_dialog *dlg, - pjsip_rx_data *rdata, - int st_code, - const pj_str_t *st_text, - const pjsip_hdr *hdr_list, - const pjsip_msg_body *body ) -{ - pj_status_t status; - pjsip_tx_data *tdata; - - /* Sanity check. */ - PJ_ASSERT_RETURN(dlg && rdata && rdata->msg_info.msg, PJ_EINVAL); - PJ_ASSERT_RETURN(rdata->msg_info.msg->type == PJSIP_REQUEST_MSG, - PJSIP_ENOTREQUESTMSG); - - /* The transaction must belong to this dialog. */ - PJ_ASSERT_RETURN(pjsip_rdata_get_tsx(rdata) && - pjsip_rdata_get_tsx(rdata)->mod_data[dlg->ua->id] == dlg, - PJ_EINVALIDOP); - - /* Create the response. */ - status = pjsip_dlg_create_response(dlg, rdata, st_code, st_text, &tdata); - if (status != PJ_SUCCESS) - return status; - - /* Add additional header, if any */ - if (hdr_list) { - const pjsip_hdr *hdr; - - hdr = hdr_list->next; - while (hdr != hdr_list) { - pjsip_msg_add_hdr(tdata->msg, - (pjsip_hdr*)pjsip_hdr_clone(tdata->pool, hdr)); - hdr = hdr->next; - } - } - - /* Add the message body, if any. */ - if (body) { - tdata->msg->body = pjsip_msg_body_clone( tdata->pool, body); - } - - /* Send the response. */ - return pjsip_dlg_send_response(dlg, pjsip_rdata_get_tsx(rdata), tdata); -} - - -/* This function is called by user agent upon receiving incoming request - * message. - */ -void pjsip_dlg_on_rx_request( pjsip_dialog *dlg, pjsip_rx_data *rdata ) -{ - pj_status_t status; - pjsip_transaction *tsx = NULL; - pj_bool_t processed = PJ_FALSE; - unsigned i; - - PJ_LOG(5,(dlg->obj_name, "Received %s", - pjsip_rx_data_get_info(rdata))); - pj_log_push_indent(); - - /* Lock dialog and increment session. */ - pjsip_dlg_inc_lock(dlg); - - /* Check CSeq */ - if (rdata->msg_info.cseq->cseq <= dlg->remote.cseq && - rdata->msg_info.msg->line.req.method.id != PJSIP_ACK_METHOD && - rdata->msg_info.msg->line.req.method.id != PJSIP_CANCEL_METHOD) - { - /* Invalid CSeq. - * Respond statelessly with 500 (Internal Server Error) - */ - pj_str_t warn_text; - - /* Unlock dialog and dec session, may destroy dialog. */ - pjsip_dlg_dec_lock(dlg); - - pj_assert(pjsip_rdata_get_tsx(rdata) == NULL); - warn_text = pj_str("Invalid CSeq"); - pjsip_endpt_respond_stateless(dlg->endpt, - rdata, 500, &warn_text, NULL, NULL); - pj_log_pop_indent(); - return; - } - - /* Update CSeq. */ - dlg->remote.cseq = rdata->msg_info.cseq->cseq; - - /* Update To tag if necessary. - * This only happens if UAS sends a new request before answering - * our request (e.g. UAS sends NOTIFY before answering our - * SUBSCRIBE request). - */ - if (dlg->remote.info->tag.slen == 0) { - pj_strdup(dlg->pool, &dlg->remote.info->tag, - &rdata->msg_info.from->tag); - } - - /* Create UAS transaction for this request. */ - if (pjsip_rdata_get_tsx(rdata) == NULL && - rdata->msg_info.msg->line.req.method.id != PJSIP_ACK_METHOD) - { - status = pjsip_tsx_create_uas(dlg->ua, rdata, &tsx); - if (status != PJ_SUCCESS) { - /* Once case for this is when re-INVITE contains same - * Via branch value as previous INVITE (ticket #965). - */ - char errmsg[PJ_ERR_MSG_SIZE]; - pj_str_t reason; - - reason = pj_strerror(status, errmsg, sizeof(errmsg)); - pjsip_endpt_respond_stateless(dlg->endpt, rdata, 500, &reason, - NULL, NULL); - goto on_return; - } - - /* Put this dialog in the transaction data. */ - tsx->mod_data[dlg->ua->id] = dlg; - - /* Add transaction count. */ - ++dlg->tsx_count; - } - - /* Update the target URI if this is a target refresh request. - * We have passed the basic checking for the request, I think we - * should update the target URI regardless of whether the request - * is accepted or not (e.g. when re-INVITE is answered with 488, - * we would still need to update the target URI, otherwise our - * target URI would be wrong, wouldn't it). - */ - if (pjsip_method_creates_dialog(&rdata->msg_info.cseq->method)) { - pjsip_contact_hdr *contact; - - contact = (pjsip_contact_hdr*) - pjsip_msg_find_hdr(rdata->msg_info.msg, PJSIP_H_CONTACT, - NULL); - if (contact && contact->uri && - (dlg->remote.contact==NULL || - pjsip_uri_cmp(PJSIP_URI_IN_REQ_URI, - dlg->remote.contact->uri, - contact->uri))) - { - dlg->remote.contact = (pjsip_contact_hdr*) - pjsip_hdr_clone(dlg->pool, contact); - dlg->target = dlg->remote.contact->uri; - } - } - - /* Report the request to dialog usages. */ - for (i=0; iusage_cnt; ++i) { - - if (!dlg->usage[i]->on_rx_request) - continue; - - processed = (*dlg->usage[i]->on_rx_request)(rdata); - - if (processed) - break; - } - - /* Feed the first request to the transaction. */ - if (tsx) - pjsip_tsx_recv_msg(tsx, rdata); - - /* If no dialog usages has claimed the processing of the transaction, - * and if transaction has not sent final response, respond with - * 500/Internal Server Error. - */ - if (!processed && tsx && tsx->status_code < 200) { - pjsip_tx_data *tdata; - const pj_str_t reason = { "Unhandled by dialog usages", 26}; - - PJ_LOG(4,(tsx->obj_name, "%s was unhandled by " - "dialog usages, sending 500 response", - pjsip_rx_data_get_info(rdata))); - - status = pjsip_dlg_create_response(dlg, rdata, 500, &reason, &tdata); - if (status == PJ_SUCCESS) { - status = pjsip_dlg_send_response(dlg, tsx, tdata); - } - } - -on_return: - /* Unlock dialog and dec session, may destroy dialog. */ - pjsip_dlg_dec_lock(dlg); - pj_log_pop_indent(); -} - -/* Update route-set from incoming message */ -static void dlg_update_routeset(pjsip_dialog *dlg, const pjsip_rx_data *rdata) -{ - const pjsip_hdr *hdr, *end_hdr; - pj_int32_t msg_cseq; - const pjsip_msg *msg; - - msg = rdata->msg_info.msg; - msg_cseq = rdata->msg_info.cseq->cseq; - - /* Ignore if route set has been frozen */ - if (dlg->route_set_frozen) - return; - - /* Only update route set if this message belongs to the same - * transaction as the initial transaction that establishes dialog. - */ - if (dlg->role == PJSIP_ROLE_UAC) { - - /* Ignore subsequent request from remote */ - if (msg->type != PJSIP_RESPONSE_MSG) - return; - - /* Ignore subsequent responses with higher CSeq than initial CSeq. - * Unfortunately this would be broken when the first request is - * challenged! - */ - //if (msg_cseq != dlg->local.first_cseq) - // return; - - } else { - - /* For callee dialog, route set should have been set by initial - * request and it will have been rejected by dlg->route_set_frozen - * check above. - */ - pj_assert(!"Should not happen"); - - } - - /* Based on the checks above, we should only get response message here */ - pj_assert(msg->type == PJSIP_RESPONSE_MSG); - - /* Ignore if this is not 1xx or 2xx response */ - if (msg->line.status.code >= 300) - return; - - /* Reset route set */ - pj_list_init(&dlg->route_set); - - /* Update route set */ - end_hdr = &msg->hdr; - for (hdr=msg->hdr.prev; hdr!=end_hdr; hdr=hdr->prev) { - if (hdr->type == PJSIP_H_RECORD_ROUTE) { - pjsip_route_hdr *r; - r = (pjsip_route_hdr*) pjsip_hdr_clone(dlg->pool, hdr); - pjsip_routing_hdr_set_route(r); - pj_list_push_back(&dlg->route_set, r); - } - } - - PJ_LOG(5,(dlg->obj_name, "Route-set updated")); - - /* Freeze the route set only when the route set comes in 2xx response. - * If it is in 1xx response, prepare to recompute the route set when - * the 2xx response comes in. - * - * There is a debate whether route set should be frozen when the dialog - * is established with reliable provisional response, but I think - * it is safer to not freeze the route set (thus recompute the route set - * upon receiving 2xx response). Also RFC 3261 says so in 13.2.2.4. - * - * The pjsip_method_creates_dialog() check protects from wrongly - * freezing the route set upon receiving 200/OK response for PRACK. - */ - if (pjsip_method_creates_dialog(&rdata->msg_info.cseq->method) && - PJSIP_IS_STATUS_IN_CLASS(msg->line.status.code, 200)) - { - dlg->route_set_frozen = PJ_TRUE; - PJ_LOG(5,(dlg->obj_name, "Route-set frozen")); - } -} - - -/* This function is called by user agent upon receiving incoming response - * message. - */ -void pjsip_dlg_on_rx_response( pjsip_dialog *dlg, pjsip_rx_data *rdata ) -{ - unsigned i; - int res_code; - - PJ_LOG(5,(dlg->obj_name, "Received %s", - pjsip_rx_data_get_info(rdata))); - pj_log_push_indent(); - - /* Lock the dialog and inc session. */ - pjsip_dlg_inc_lock(dlg); - - /* Check that rdata already has dialog in mod_data. */ - pj_assert(pjsip_rdata_get_dlg(rdata) == dlg); - - /* Keep the response's status code */ - res_code = rdata->msg_info.msg->line.status.code; - - /* When we receive response that establishes dialog, update To tag, - * route set and dialog target. - * - * The second condition of the "if" is a workaround for forking. - * Originally, the dialog takes the first To tag seen and set it as - * the remote tag. If the tag in 2xx response is different than this - * tag, ACK will be sent with wrong To tag and incoming request with - * this tag will be rejected with 481. - * - * The workaround for this is to take the To tag received in the - * 2xx response and set it as remote tag. - * - * New update: - * We also need to update the dialog for 1xx responses, to handle the - * case when 100rel is used, otherwise PRACK will be sent to the - * wrong target. - */ - if ((dlg->state == PJSIP_DIALOG_STATE_NULL && - pjsip_method_creates_dialog(&rdata->msg_info.cseq->method) && - (res_code > 100 && res_code < 300) && - rdata->msg_info.to->tag.slen) - || - (dlg->role==PJSIP_ROLE_UAC && - !dlg->uac_has_2xx && - res_code > 100 && - res_code/100 <= 2 && - pjsip_method_creates_dialog(&rdata->msg_info.cseq->method) && - pj_strcmp(&dlg->remote.info->tag, &rdata->msg_info.to->tag))) - { - pjsip_contact_hdr *contact; - - /* Update remote capability info, when To tags in the dialog remote - * info and the incoming response are different, e.g: first response - * with To-tag or forking, apply strict update. - */ - pjsip_dlg_update_remote_cap(dlg, rdata->msg_info.msg, - pj_strcmp(&dlg->remote.info->tag, - &rdata->msg_info.to->tag)); - - /* Update To tag. */ - pj_strdup(dlg->pool, &dlg->remote.info->tag, &rdata->msg_info.to->tag); - /* No need to update remote's tag_hval since its never used. */ - - /* RFC 3271 Section 12.1.2: - * The route set MUST be set to the list of URIs in the Record-Route - * header field from the response, taken in reverse order and - * preserving all URI parameters. If no Record-Route header field - * is present in the response, the route set MUST be set to the - * empty set. This route set, even if empty, overrides any pre-existing - * route set for future requests in this dialog. - */ - dlg_update_routeset(dlg, rdata); - - /* The remote target MUST be set to the URI from the Contact header - * field of the response. - */ - contact = (pjsip_contact_hdr*) - pjsip_msg_find_hdr(rdata->msg_info.msg, PJSIP_H_CONTACT, - NULL); - if (contact && contact->uri && - (dlg->remote.contact==NULL || - pjsip_uri_cmp(PJSIP_URI_IN_REQ_URI, - dlg->remote.contact->uri, - contact->uri))) - { - dlg->remote.contact = (pjsip_contact_hdr*) - pjsip_hdr_clone(dlg->pool, contact); - dlg->target = dlg->remote.contact->uri; - } - - dlg->state = PJSIP_DIALOG_STATE_ESTABLISHED; - - /* Prevent dialog from being updated just in case more 2xx - * gets through this dialog (it shouldn't happen). - */ - if (dlg->role==PJSIP_ROLE_UAC && !dlg->uac_has_2xx && - res_code/100==2) - { - dlg->uac_has_2xx = PJ_TRUE; - } - } - - /* Update remote target (again) when receiving 2xx response messages - * that's defined as target refresh. - * - * Also upon receiving 2xx response, recheck again the route set. - * This is for compatibility with RFC 2543, as described in Section - * 13.2.2.4 of RFC 3261: - - If the dialog identifier in the 2xx response matches the dialog - identifier of an existing dialog, the dialog MUST be transitioned to - the "confirmed" state, and the route set for the dialog MUST be - recomputed based on the 2xx response using the procedures of Section - 12.2.1.2. - - Note that the only piece of state that is recomputed is the route - set. Other pieces of state such as the highest sequence numbers - (remote and local) sent within the dialog are not recomputed. The - route set only is recomputed for backwards compatibility. RFC - 2543 did not mandate mirroring of the Record-Route header field in - a 1xx, only 2xx. - */ - if (pjsip_method_creates_dialog(&rdata->msg_info.cseq->method) && - res_code/100 == 2) - { - pjsip_contact_hdr *contact; - - contact = (pjsip_contact_hdr*) pjsip_msg_find_hdr(rdata->msg_info.msg, - PJSIP_H_CONTACT, - NULL); - if (contact && contact->uri && - (dlg->remote.contact==NULL || - pjsip_uri_cmp(PJSIP_URI_IN_REQ_URI, - dlg->remote.contact->uri, - contact->uri))) - { - dlg->remote.contact = (pjsip_contact_hdr*) - pjsip_hdr_clone(dlg->pool, contact); - dlg->target = dlg->remote.contact->uri; - } - - dlg_update_routeset(dlg, rdata); - } - - /* Pass to dialog usages. */ - for (i=0; iusage_cnt; ++i) { - pj_bool_t processed; - - if (!dlg->usage[i]->on_rx_response) - continue; - - processed = (*dlg->usage[i]->on_rx_response)(rdata); - - if (processed) - break; - } - - /* Handle the case of forked response, when the application creates - * the forked dialog but not the invite session. In this case, the - * forked 200/OK response will be unhandled, and we must send ACK - * here. - */ - if (dlg->usage_cnt==0) { - pj_status_t status; - - if (rdata->msg_info.cseq->method.id==PJSIP_INVITE_METHOD && - rdata->msg_info.msg->line.status.code/100 == 2) - { - pjsip_tx_data *ack; - - status = pjsip_dlg_create_request(dlg, &pjsip_ack_method, - rdata->msg_info.cseq->cseq, - &ack); - if (status == PJ_SUCCESS) - status = pjsip_dlg_send_request(dlg, ack, -1, NULL); - } else if (rdata->msg_info.msg->line.status.code==401 || - rdata->msg_info.msg->line.status.code==407) - { - pjsip_transaction *tsx = pjsip_rdata_get_tsx(rdata); - pjsip_tx_data *tdata; - - status = pjsip_auth_clt_reinit_req( &dlg->auth_sess, - rdata, tsx->last_tx, - &tdata); - - if (status == PJ_SUCCESS) { - /* Re-send request. */ - status = pjsip_dlg_send_request(dlg, tdata, -1, NULL); - } - } - } - - /* Unhandled response does not necessarily mean error because - dialog usages may choose to process the transaction state instead. - if (i==dlg->usage_cnt) { - PJ_LOG(4,(dlg->obj_name, "%s was not claimed by any dialog usages", - pjsip_rx_data_get_info(rdata))); - } - */ - - /* Unlock dialog and dec session, may destroy dialog. */ - pjsip_dlg_dec_lock(dlg); - - pj_log_pop_indent(); -} - -/* This function is called by user agent upon receiving transaction - * state notification. - */ -void pjsip_dlg_on_tsx_state( pjsip_dialog *dlg, - pjsip_transaction *tsx, - pjsip_event *e ) -{ - unsigned i; - - PJ_LOG(5,(dlg->obj_name, "Transaction %s state changed to %s", - tsx->obj_name, pjsip_tsx_state_str(tsx->state))); - pj_log_push_indent(); - - /* Lock the dialog and increment session. */ - pjsip_dlg_inc_lock(dlg); - - /* Pass to dialog usages. */ - for (i=0; iusage_cnt; ++i) { - - if (!dlg->usage[i]->on_tsx_state) - continue; - - (*dlg->usage[i]->on_tsx_state)(tsx, e); - } - - - /* It is possible that the transaction is terminated and this function - * is called while we're calling on_tsx_state(). So only decrement - * the tsx_count if we're still attached to the transaction. - */ - if (tsx->state == PJSIP_TSX_STATE_TERMINATED && - tsx->mod_data[dlg->ua->id] == dlg) - { - pj_assert(dlg->tsx_count>0); - --dlg->tsx_count; - tsx->mod_data[dlg->ua->id] = NULL; - } - - /* Unlock dialog and dec session, may destroy dialog. */ - pjsip_dlg_dec_lock(dlg); - pj_log_pop_indent(); -} - - -/* - * Check if the specified capability is supported by remote. - */ -PJ_DEF(pjsip_dialog_cap_status) pjsip_dlg_remote_has_cap( - pjsip_dialog *dlg, - int htype, - const pj_str_t *hname, - const pj_str_t *token) -{ - const pjsip_generic_array_hdr *hdr; - pjsip_dialog_cap_status cap_status = PJSIP_DIALOG_CAP_UNSUPPORTED; - unsigned i; - - PJ_ASSERT_RETURN(dlg && token, PJSIP_DIALOG_CAP_UNKNOWN); - - pjsip_dlg_inc_lock(dlg); - - hdr = (const pjsip_generic_array_hdr*) - pjsip_dlg_get_remote_cap_hdr(dlg, htype, hname); - if (!hdr) { - cap_status = PJSIP_DIALOG_CAP_UNKNOWN; - } else { - for (i=0; icount; ++i) { - if (!pj_stricmp(&hdr->values[i], token)) { - cap_status = PJSIP_DIALOG_CAP_SUPPORTED; - break; - } - } - } - - pjsip_dlg_dec_lock(dlg); - - return cap_status; -} - - -/* - * Update remote capability of ACCEPT, ALLOW, and SUPPORTED from - * the received message. - */ -PJ_DEF(pj_status_t) pjsip_dlg_update_remote_cap(pjsip_dialog *dlg, - const pjsip_msg *msg, - pj_bool_t strict) -{ - pjsip_hdr_e htypes[] = - { PJSIP_H_ACCEPT, PJSIP_H_ALLOW, PJSIP_H_SUPPORTED }; - unsigned i; - - PJ_ASSERT_RETURN(dlg && msg, PJ_EINVAL); - - pjsip_dlg_inc_lock(dlg); - - /* Retrieve all specified capability header types */ - for (i = 0; i < PJ_ARRAY_SIZE(htypes); ++i) { - const pjsip_generic_array_hdr *hdr; - pj_status_t status; - - /* Find this capability type in the message */ - hdr = (const pjsip_generic_array_hdr*) - pjsip_msg_find_hdr(msg, htypes[i], NULL); - if (!hdr) { - /* Not found. - * If strict update is specified, remote this capability type - * from the capability list. - */ - if (strict) - pjsip_dlg_remove_remote_cap_hdr(dlg, htypes[i], NULL); - } else { - /* Found, a capability type may be specified in multiple headers, - * so combine all the capability tags/values into a temporary - * header. - */ - pjsip_generic_array_hdr tmp_hdr; - - /* Init temporary header */ - pjsip_generic_array_hdr_init(dlg->pool, &tmp_hdr, NULL); - pj_memcpy(&tmp_hdr, hdr, sizeof(pjsip_hdr)); - - while (hdr) { - unsigned j; - - /* Append the header content to temporary header */ - for(j=0; jcount && - tmp_hdr.countvalues[j]; - } - - /* Get the next header for this capability */ - hdr = (const pjsip_generic_array_hdr*) - pjsip_msg_find_hdr(msg, htypes[i], hdr->next); - } - - /* Save this capability */ - status = pjsip_dlg_set_remote_cap_hdr(dlg, &tmp_hdr); - if (status != PJ_SUCCESS) { - pjsip_dlg_dec_lock(dlg); - return status; - } - } - } - - pjsip_dlg_dec_lock(dlg); - - return PJ_SUCCESS; -} - - -/* - * Get the value of the specified capability header field of remote. - */ -PJ_DEF(const pjsip_hdr*) pjsip_dlg_get_remote_cap_hdr(pjsip_dialog *dlg, - int htype, - const pj_str_t *hname) -{ - pjsip_hdr *hdr; - - /* Check arguments. */ - PJ_ASSERT_RETURN(dlg, NULL); - PJ_ASSERT_RETURN((htype != PJSIP_H_OTHER) || (hname && hname->slen), - NULL); - - pjsip_dlg_inc_lock(dlg); - - hdr = dlg->rem_cap_hdr.next; - while (hdr != &dlg->rem_cap_hdr) { - if ((htype != PJSIP_H_OTHER && htype == hdr->type) || - (htype == PJSIP_H_OTHER && pj_stricmp(&hdr->name, hname) == 0)) - { - pjsip_dlg_dec_lock(dlg); - return hdr; - } - hdr = hdr->next; - } - - pjsip_dlg_dec_lock(dlg); - - return NULL; -} - - -/* - * Set remote capability header from a SIP header containing array - * of capability tags/values. - */ -PJ_DEF(pj_status_t) pjsip_dlg_set_remote_cap_hdr( - pjsip_dialog *dlg, - const pjsip_generic_array_hdr *cap_hdr) -{ - pjsip_generic_array_hdr *hdr; - - /* Check arguments. */ - PJ_ASSERT_RETURN(dlg && cap_hdr, PJ_EINVAL); - - pjsip_dlg_inc_lock(dlg); - - /* Find the header. */ - hdr = (pjsip_generic_array_hdr*) - pjsip_dlg_get_remote_cap_hdr(dlg, cap_hdr->type, &cap_hdr->name); - - /* Quick compare if the capability is up to date */ - if (hdr && hdr->count == cap_hdr->count) { - unsigned i; - pj_bool_t uptodate = PJ_TRUE; - - for (i=0; icount; ++i) { - if (pj_stricmp(&hdr->values[i], &cap_hdr->values[i])) - uptodate = PJ_FALSE; - } - - /* Capability is up to date, just return PJ_SUCCESS */ - if (uptodate) { - pjsip_dlg_dec_lock(dlg); - return PJ_SUCCESS; - } - } - - /* Remove existing capability header if any */ - if (hdr) - pj_list_erase(hdr); - - /* Add the new capability header */ - hdr = (pjsip_generic_array_hdr*) pjsip_hdr_clone(dlg->pool, cap_hdr); - hdr->type = cap_hdr->type; - pj_strdup(dlg->pool, &hdr->name, &cap_hdr->name); - pj_list_push_back(&dlg->rem_cap_hdr, hdr); - - pjsip_dlg_dec_lock(dlg); - - /* Done. */ - return PJ_SUCCESS; -} - -/* - * Remove a remote capability header. - */ -PJ_DEF(pj_status_t) pjsip_dlg_remove_remote_cap_hdr(pjsip_dialog *dlg, - int htype, - const pj_str_t *hname) -{ - pjsip_generic_array_hdr *hdr; - - /* Check arguments. */ - PJ_ASSERT_RETURN(dlg, PJ_EINVAL); - PJ_ASSERT_RETURN((htype != PJSIP_H_OTHER) || (hname && hname->slen), - PJ_EINVAL); - - pjsip_dlg_inc_lock(dlg); - - hdr = (pjsip_generic_array_hdr*) - pjsip_dlg_get_remote_cap_hdr(dlg, htype, hname); - if (!hdr) { - pjsip_dlg_dec_lock(dlg); - return PJ_ENOTFOUND; - } - - pj_list_erase(hdr); - - pjsip_dlg_dec_lock(dlg); - - return PJ_SUCCESS; -} diff --git a/res/pjproject/pjsip/src/pjsip/sip_dialog_wrap.cpp b/res/pjproject/pjsip/src/pjsip/sip_dialog_wrap.cpp deleted file mode 100644 index 8c76562a11..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_dialog_wrap.cpp +++ /dev/null @@ -1,24 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * This file is a C++ wrapper, see ticket #886 for details. - */ - -#include "sip_dialog.c" diff --git a/res/pjproject/pjsip/src/pjsip/sip_endpoint.c b/res/pjproject/pjsip/src/pjsip/sip_endpoint.c deleted file mode 100644 index 3eb865b13a..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_endpoint.c +++ /dev/null @@ -1,1224 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define PJSIP_EX_NO_MEMORY pj_NO_MEMORY_EXCEPTION() -#define THIS_FILE "sip_endpoint.c" - -#define MAX_METHODS 32 - - -/* List of SIP endpoint exit callback. */ -typedef struct exit_cb -{ - PJ_DECL_LIST_MEMBER (struct exit_cb); - pjsip_endpt_exit_callback func; -} exit_cb; - - -/** - * The SIP endpoint. - */ -struct pjsip_endpoint -{ - /** Pool to allocate memory for the endpoint. */ - pj_pool_t *pool; - - /** Mutex for the pool, hash table, and event list/queue. */ - pj_mutex_t *mutex; - - /** Pool factory. */ - pj_pool_factory *pf; - - /** Name. */ - pj_str_t name; - - /** Timer heap. */ - pj_timer_heap_t *timer_heap; - - /** Transport manager. */ - pjsip_tpmgr *transport_mgr; - - /** Ioqueue. */ - pj_ioqueue_t *ioqueue; - - /** Last ioqueue err */ - pj_status_t ioq_last_err; - - /** DNS Resolver. */ - pjsip_resolver_t *resolver; - - /** Modules lock. */ - pj_rwmutex_t *mod_mutex; - - /** Modules. */ - pjsip_module *modules[PJSIP_MAX_MODULE]; - - /** Module list, sorted by priority. */ - pjsip_module module_list; - - /** Capability header list. */ - pjsip_hdr cap_hdr; - - /** Additional request headers. */ - pjsip_hdr req_hdr; - - /** List of exit callback. */ - exit_cb exit_cb_list; -}; - - -#if defined(PJSIP_SAFE_MODULE) && PJSIP_SAFE_MODULE!=0 -# define LOCK_MODULE_ACCESS(ept) pj_rwmutex_lock_read(ept->mod_mutex) -# define UNLOCK_MODULE_ACCESS(ept) pj_rwmutex_unlock_read(ept->mod_mutex) -#else -# define LOCK_MODULE_ACCESS(endpt) -# define UNLOCK_MODULE_ACCESS(endpt) -#endif - - - -/* - * Prototypes. - */ -static void endpt_on_rx_msg( pjsip_endpoint*, - pj_status_t, pjsip_rx_data*); -static pj_status_t endpt_on_tx_msg( pjsip_endpoint *endpt, - pjsip_tx_data *tdata ); -static pj_status_t unload_module(pjsip_endpoint *endpt, - pjsip_module *mod); - -/* Defined in sip_parser.c */ -void init_sip_parser(void); -void deinit_sip_parser(void); - -/* Defined in sip_tel_uri.c */ -pj_status_t pjsip_tel_uri_subsys_init(void); - - -/* - * This is the global handler for memory allocation failure, for pools that - * are created by the endpoint (by default, all pools ARE allocated by - * endpoint). The error is handled by throwing exception, and hopefully, - * the exception will be handled by the application (or this library). - */ -static void pool_callback( pj_pool_t *pool, pj_size_t size ) -{ - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(size); - - PJ_THROW(PJSIP_EX_NO_MEMORY); -} - - -/* Compare module name, used for searching module based on name. */ -static int cmp_mod_name(void *name, const void *mod) -{ - return pj_stricmp((const pj_str_t*)name, &((pjsip_module*)mod)->name); -} - -/* - * Register new module to the endpoint. - * The endpoint will then call the load and start function in the module to - * properly initialize the module, and assign a unique module ID for the - * module. - */ -PJ_DEF(pj_status_t) pjsip_endpt_register_module( pjsip_endpoint *endpt, - pjsip_module *mod ) -{ - pj_status_t status = PJ_SUCCESS; - pjsip_module *m; - unsigned i; - - pj_rwmutex_lock_write(endpt->mod_mutex); - - /* Make sure that this module has not been registered. */ - PJ_ASSERT_ON_FAIL( pj_list_find_node(&endpt->module_list, mod) == NULL, - {status = PJ_EEXISTS; goto on_return;}); - - /* Make sure that no module with the same name has been registered. */ - PJ_ASSERT_ON_FAIL( pj_list_search(&endpt->module_list, &mod->name, - &cmp_mod_name)==NULL, - {status = PJ_EEXISTS; goto on_return; }); - - /* Find unused ID for this module. */ - for (i=0; imodules); ++i) { - if (endpt->modules[i] == NULL) - break; - } - if (i == PJ_ARRAY_SIZE(endpt->modules)) { - pj_assert(!"Too many modules registered!"); - status = PJ_ETOOMANY; - goto on_return; - } - - /* Assign the ID. */ - mod->id = i; - - /* Try to load the module. */ - if (mod->load) { - status = (*mod->load)(endpt); - if (status != PJ_SUCCESS) - goto on_return; - } - - /* Try to start the module. */ - if (mod->start) { - status = (*mod->start)(); - if (status != PJ_SUCCESS) - goto on_return; - } - - /* Save the module. */ - endpt->modules[i] = mod; - - /* Put in the module list, sorted by priority. */ - m = endpt->module_list.next; - while (m != &endpt->module_list) { - if (m->priority > mod->priority) - break; - m = m->next; - } - pj_list_insert_before(m, mod); - - /* Done. */ - - PJ_LOG(4,(THIS_FILE, "Module \"%.*s\" registered", - (int)mod->name.slen, mod->name.ptr)); - -on_return: - pj_rwmutex_unlock_write(endpt->mod_mutex); - return status; -} - -/* - * Unregister a module from the endpoint. - * The endpoint will then call the stop and unload function in the module to - * properly shutdown the module. - */ -PJ_DEF(pj_status_t) pjsip_endpt_unregister_module( pjsip_endpoint *endpt, - pjsip_module *mod ) -{ - pj_status_t status; - - pj_rwmutex_lock_write(endpt->mod_mutex); - - /* Make sure the module exists in the list. */ - PJ_ASSERT_ON_FAIL( pj_list_find_node(&endpt->module_list, mod) == mod, - {status = PJ_ENOTFOUND;goto on_return;} ); - - /* Make sure the module exists in the array. */ - PJ_ASSERT_ON_FAIL( mod->id>=0 && - mod->id<(int)PJ_ARRAY_SIZE(endpt->modules) && - endpt->modules[mod->id] == mod, - {status = PJ_ENOTFOUND; goto on_return;}); - - /* Try to stop the module. */ - if (mod->stop) { - status = (*mod->stop)(); - if (status != PJ_SUCCESS) goto on_return; - } - - /* Unload module */ - status = unload_module(endpt, mod); - -on_return: - pj_rwmutex_unlock_write(endpt->mod_mutex); - - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(3,(THIS_FILE, "Module \"%.*s\" can not be unregistered: %s", - (int)mod->name.slen, mod->name.ptr, errmsg)); - } - - return status; -} - -static pj_status_t unload_module(pjsip_endpoint *endpt, - pjsip_module *mod) -{ - pj_status_t status; - - /* Try to unload the module. */ - if (mod->unload) { - status = (*mod->unload)(); - if (status != PJ_SUCCESS) - return status; - } - - /* Module MUST NOT set module ID to -1. */ - pj_assert(mod->id >= 0); - - /* Remove module from array. */ - endpt->modules[mod->id] = NULL; - - /* Remove module from list. */ - pj_list_erase(mod); - - /* Set module Id to -1. */ - mod->id = -1; - - /* Done. */ - status = PJ_SUCCESS; - - PJ_LOG(4,(THIS_FILE, "Module \"%.*s\" unregistered", - (int)mod->name.slen, mod->name.ptr)); - - return status; -} - - -/* - * Get the value of the specified capability header field. - */ -PJ_DEF(const pjsip_hdr*) pjsip_endpt_get_capability( pjsip_endpoint *endpt, - int htype, - const pj_str_t *hname) -{ - pjsip_hdr *hdr = endpt->cap_hdr.next; - - /* Check arguments. */ - PJ_ASSERT_RETURN(endpt != NULL, NULL); - PJ_ASSERT_RETURN(htype != PJSIP_H_OTHER || hname, NULL); - - if (htype != PJSIP_H_OTHER) { - while (hdr != &endpt->cap_hdr) { - if (hdr->type == htype) - return hdr; - hdr = hdr->next; - } - } - return NULL; -} - - -/* - * Check if the specified capability is supported. - */ -PJ_DEF(pj_bool_t) pjsip_endpt_has_capability( pjsip_endpoint *endpt, - int htype, - const pj_str_t *hname, - const pj_str_t *token) -{ - const pjsip_generic_array_hdr *hdr; - unsigned i; - - hdr = (const pjsip_generic_array_hdr*) - pjsip_endpt_get_capability(endpt, htype, hname); - if (!hdr) - return PJ_FALSE; - - PJ_ASSERT_RETURN(token != NULL, PJ_FALSE); - - for (i=0; icount; ++i) { - if (!pj_stricmp(&hdr->values[i], token)) - return PJ_TRUE; - } - - return PJ_FALSE; -} - -/* - * Add or register new capabilities as indicated by the tags to the - * appropriate header fields in the endpoint. - */ -PJ_DEF(pj_status_t) pjsip_endpt_add_capability( pjsip_endpoint *endpt, - pjsip_module *mod, - int htype, - const pj_str_t *hname, - unsigned count, - const pj_str_t tags[]) -{ - pjsip_generic_array_hdr *hdr; - unsigned i; - - PJ_UNUSED_ARG(mod); - - /* Check arguments. */ - PJ_ASSERT_RETURN(endpt!=NULL && count>0 && tags, PJ_EINVAL); - PJ_ASSERT_RETURN(htype==PJSIP_H_ACCEPT || - htype==PJSIP_H_ALLOW || - htype==PJSIP_H_SUPPORTED, - PJ_EINVAL); - - /* Find the header. */ - hdr = (pjsip_generic_array_hdr*) pjsip_endpt_get_capability(endpt, - htype, hname); - - /* Create the header when it's not present */ - if (hdr == NULL) { - switch (htype) { - case PJSIP_H_ACCEPT: - hdr = pjsip_accept_hdr_create(endpt->pool); - break; - case PJSIP_H_ALLOW: - hdr = pjsip_allow_hdr_create(endpt->pool); - break; - case PJSIP_H_SUPPORTED: - hdr = pjsip_supported_hdr_create(endpt->pool); - break; - default: - return PJ_EINVAL; - } - - if (hdr) { - pj_list_push_back(&endpt->cap_hdr, hdr); - } - } - - /* Add the tags to the header. */ - for (i=0; ipool, &hdr->values[hdr->count], &tags[i]); - ++hdr->count; - } - - /* Done. */ - return PJ_SUCCESS; -} - -/* - * Get additional headers to be put in outgoing request message. - */ -PJ_DEF(const pjsip_hdr*) pjsip_endpt_get_request_headers(pjsip_endpoint *endpt) -{ - return &endpt->req_hdr; -} - - -/* - * Initialize endpoint. - */ -PJ_DEF(pj_status_t) pjsip_endpt_create(pj_pool_factory *pf, - const char *name, - pjsip_endpoint **p_endpt) -{ - pj_status_t status; - pj_pool_t *pool; - pjsip_endpoint *endpt; - pjsip_max_fwd_hdr *mf_hdr; - pj_lock_t *lock = NULL; - - - status = pj_register_strerror(PJSIP_ERRNO_START, PJ_ERRNO_SPACE_SIZE, - &pjsip_strerror); - pj_assert(status == PJ_SUCCESS); - - PJ_LOG(5, (THIS_FILE, "Creating endpoint instance...")); - - *p_endpt = NULL; - - /* Create pool */ - pool = pj_pool_create(pf, "pept%p", - PJSIP_POOL_LEN_ENDPT, PJSIP_POOL_INC_ENDPT, - &pool_callback); - if (!pool) - return PJ_ENOMEM; - - /* Create endpoint. */ - endpt = PJ_POOL_ZALLOC_T(pool, pjsip_endpoint); - endpt->pool = pool; - endpt->pf = pf; - - /* Init modules list. */ - pj_list_init(&endpt->module_list); - - /* Initialize exit callback list. */ - pj_list_init(&endpt->exit_cb_list); - - /* Create R/W mutex for module manipulation. */ - status = pj_rwmutex_create(endpt->pool, "ept%p", &endpt->mod_mutex); - if (status != PJ_SUCCESS) - goto on_error; - - /* Init parser. */ - init_sip_parser(); - - /* Init tel: uri */ - pjsip_tel_uri_subsys_init(); - - /* Get name. */ - if (name != NULL) { - pj_str_t temp; - pj_strdup_with_null(endpt->pool, &endpt->name, pj_cstr(&temp, name)); - } else { - pj_strdup_with_null(endpt->pool, &endpt->name, pj_gethostname()); - } - - /* Create mutex for the events, etc. */ - status = pj_mutex_create_recursive( endpt->pool, "ept%p", &endpt->mutex ); - if (status != PJ_SUCCESS) { - goto on_error; - } - - /* Create timer heap to manage all timers within this endpoint. */ - status = pj_timer_heap_create( endpt->pool, PJSIP_MAX_TIMER_COUNT, - &endpt->timer_heap); - if (status != PJ_SUCCESS) { - goto on_error; - } - - /* Set recursive lock for the timer heap. */ - status = pj_lock_create_recursive_mutex( endpt->pool, "edpt%p", &lock); - if (status != PJ_SUCCESS) { - goto on_error; - } - pj_timer_heap_set_lock(endpt->timer_heap, lock, PJ_TRUE); - - /* Set maximum timed out entries to process in a single poll. */ - pj_timer_heap_set_max_timed_out_per_poll(endpt->timer_heap, - PJSIP_MAX_TIMED_OUT_ENTRIES); - - /* Create ioqueue. */ - status = pj_ioqueue_create( endpt->pool, PJSIP_MAX_TRANSPORTS, &endpt->ioqueue); - if (status != PJ_SUCCESS) { - goto on_error; - } - - /* Create transport manager. */ - status = pjsip_tpmgr_create( endpt->pool, endpt, - &endpt_on_rx_msg, - &endpt_on_tx_msg, - &endpt->transport_mgr); - if (status != PJ_SUCCESS) { - goto on_error; - } - - /* Create asynchronous DNS resolver. */ - status = pjsip_resolver_create(endpt->pool, &endpt->resolver); - if (status != PJ_SUCCESS) { - PJ_LOG(4, (THIS_FILE, "Error creating resolver instance")); - goto on_error; - } - - /* Initialize request headers. */ - pj_list_init(&endpt->req_hdr); - - /* Add "Max-Forwards" for request header. */ - mf_hdr = pjsip_max_fwd_hdr_create(endpt->pool, - PJSIP_MAX_FORWARDS_VALUE); - pj_list_insert_before( &endpt->req_hdr, mf_hdr); - - /* Initialize capability header list. */ - pj_list_init(&endpt->cap_hdr); - - - /* Done. */ - *p_endpt = endpt; - return status; - -on_error: - if (endpt->transport_mgr) { - pjsip_tpmgr_destroy(endpt->transport_mgr); - endpt->transport_mgr = NULL; - } - if (endpt->ioqueue) { - pj_ioqueue_destroy(endpt->ioqueue); - endpt->ioqueue = NULL; - } - if (endpt->timer_heap) { - pj_timer_heap_destroy(endpt->timer_heap); - endpt->timer_heap = NULL; - } - if (endpt->mutex) { - pj_mutex_destroy(endpt->mutex); - endpt->mutex = NULL; - } - if (endpt->mod_mutex) { - pj_rwmutex_destroy(endpt->mod_mutex); - endpt->mod_mutex = NULL; - } - pj_pool_release( endpt->pool ); - - PJ_LOG(4, (THIS_FILE, "Error creating endpoint")); - return status; -} - -/* - * Destroy endpoint. - */ -PJ_DEF(void) pjsip_endpt_destroy(pjsip_endpoint *endpt) -{ - pjsip_module *mod; - exit_cb *ecb; - - PJ_LOG(5, (THIS_FILE, "Destroying endpoing instance..")); - - /* Phase 1: stop all modules */ - mod = endpt->module_list.prev; - while (mod != &endpt->module_list) { - pjsip_module *prev = mod->prev; - if (mod->stop) { - (*mod->stop)(); - } - mod = prev; - } - - /* Phase 2: unload modules. */ - mod = endpt->module_list.prev; - while (mod != &endpt->module_list) { - pjsip_module *prev = mod->prev; - unload_module(endpt, mod); - mod = prev; - } - - /* Destroy resolver */ - pjsip_resolver_destroy(endpt->resolver); - - /* Shutdown and destroy all transports. */ - pjsip_tpmgr_destroy(endpt->transport_mgr); - - /* Destroy ioqueue */ - pj_ioqueue_destroy(endpt->ioqueue); - - /* Destroy timer heap */ - pj_timer_heap_destroy(endpt->timer_heap); - - /* Call all registered exit callbacks */ - ecb = endpt->exit_cb_list.next; - while (ecb != &endpt->exit_cb_list) { - (*ecb->func)(endpt); - ecb = ecb->next; - } - - /* Delete endpoint mutex. */ - pj_mutex_destroy(endpt->mutex); - - /* Deinit parser */ - deinit_sip_parser(); - - /* Delete module's mutex */ - pj_rwmutex_destroy(endpt->mod_mutex); - - /* Finally destroy pool. */ - pj_pool_release(endpt->pool); - - PJ_LOG(4, (THIS_FILE, "Endpoint %p destroyed", endpt)); -} - -/* - * Get endpoint name. - */ -PJ_DEF(const pj_str_t*) pjsip_endpt_name(const pjsip_endpoint *endpt) -{ - return &endpt->name; -} - - -/* - * Create new pool. - */ -PJ_DEF(pj_pool_t*) pjsip_endpt_create_pool( pjsip_endpoint *endpt, - const char *pool_name, - pj_size_t initial, - pj_size_t increment ) -{ - pj_pool_t *pool; - - /* Lock endpoint mutex. */ - /* No need to lock mutex. Factory is thread safe. - pj_mutex_lock(endpt->mutex); - */ - - /* Create pool */ - pool = pj_pool_create( endpt->pf, pool_name, - initial, increment, &pool_callback); - - /* Unlock mutex. */ - /* No need to lock mutex. Factory is thread safe. - pj_mutex_unlock(endpt->mutex); - */ - - if (!pool) { - PJ_LOG(4, (THIS_FILE, "Unable to create pool %s!", pool_name)); - } - - return pool; -} - -/* - * Return back pool to endpoint's pool manager to be either destroyed or - * recycled. - */ -PJ_DEF(void) pjsip_endpt_release_pool( pjsip_endpoint *endpt, pj_pool_t *pool ) -{ - PJ_LOG(6, (THIS_FILE, "Releasing pool %s", pj_pool_getobjname(pool))); - - /* Don't need to acquire mutex since pool factory is thread safe - pj_mutex_lock(endpt->mutex); - */ - pj_pool_release( pool ); - - PJ_UNUSED_ARG(endpt); - /* - pj_mutex_unlock(endpt->mutex); - */ -} - - -PJ_DEF(pj_status_t) pjsip_endpt_handle_events2(pjsip_endpoint *endpt, - const pj_time_val *max_timeout, - unsigned *p_count) -{ - /* timeout is 'out' var. This just to make compiler happy. */ - pj_time_val timeout = { 0, 0}; - unsigned count = 0, net_event_count = 0; - int c; - - PJ_LOG(6, (THIS_FILE, "pjsip_endpt_handle_events()")); - - /* Poll the timer. The timer heap has its own mutex for better - * granularity, so we don't need to lock end endpoint. - */ - timeout.sec = timeout.msec = 0; - c = pj_timer_heap_poll( endpt->timer_heap, &timeout ); - if (c > 0) - count += c; - - /* timer_heap_poll should never ever returns negative value, or otherwise - * ioqueue_poll() will block forever! - */ - pj_assert(timeout.sec >= 0 && timeout.msec >= 0); - if (timeout.msec >= 1000) timeout.msec = 999; - - /* If caller specifies maximum time to wait, then compare the value with - * the timeout to wait from timer, and use the minimum value. - */ - if (max_timeout && PJ_TIME_VAL_GT(timeout, *max_timeout)) { - timeout = *max_timeout; - } - - /* Poll ioqueue. - * Repeat polling the ioqueue while we have immediate events, because - * timer heap may process more than one events, so if we only process - * one network events at a time (such as when IOCP backend is used), - * the ioqueue may have trouble keeping up with the request rate. - * - * For example, for each send() request, one network event will be - * reported by ioqueue for the send() completion. If we don't poll - * the ioqueue often enough, the send() completion will not be - * reported in timely manner. - */ - do { - c = pj_ioqueue_poll( endpt->ioqueue, &timeout); - if (c < 0) { - pj_status_t err = pj_get_netos_error(); - pj_thread_sleep(PJ_TIME_VAL_MSEC(timeout)); - if (p_count) - *p_count = count; - return err; - } else if (c == 0) { - break; - } else { - net_event_count += c; - timeout.sec = timeout.msec = 0; - } - } while (c > 0 && net_event_count < PJSIP_MAX_NET_EVENTS); - - count += net_event_count; - if (p_count) - *p_count = count; - - return PJ_SUCCESS; -} - -/* - * Handle events. - */ -PJ_DEF(pj_status_t) pjsip_endpt_handle_events(pjsip_endpoint *endpt, - const pj_time_val *max_timeout) -{ - return pjsip_endpt_handle_events2(endpt, max_timeout, NULL); -} - -/* - * Schedule timer. - */ -PJ_DEF(pj_status_t) pjsip_endpt_schedule_timer( pjsip_endpoint *endpt, - pj_timer_entry *entry, - const pj_time_val *delay ) -{ - PJ_LOG(6, (THIS_FILE, "pjsip_endpt_schedule_timer(entry=%p, delay=%u.%u)", - entry, delay->sec, delay->msec)); - return pj_timer_heap_schedule( endpt->timer_heap, entry, delay ); -} - -/* - * Cancel the previously registered timer. - */ -PJ_DEF(void) pjsip_endpt_cancel_timer( pjsip_endpoint *endpt, - pj_timer_entry *entry ) -{ - PJ_LOG(6, (THIS_FILE, "pjsip_endpt_cancel_timer(entry=%p)", entry)); - pj_timer_heap_cancel( endpt->timer_heap, entry ); -} - -/* - * Get the timer heap instance of the SIP endpoint. - */ -PJ_DEF(pj_timer_heap_t*) pjsip_endpt_get_timer_heap(pjsip_endpoint *endpt) -{ - return endpt->timer_heap; -} - -/* - * This is the callback that is called by the transport manager when it - * receives a message from the network. - */ -static void endpt_on_rx_msg( pjsip_endpoint *endpt, - pj_status_t status, - pjsip_rx_data *rdata ) -{ - pjsip_msg *msg = rdata->msg_info.msg; - - if (status != PJ_SUCCESS) { - char info[30]; - char errmsg[PJ_ERR_MSG_SIZE]; - - info[0] = '\0'; - - if (status == PJSIP_EMISSINGHDR) { - pj_str_t p; - - p.ptr = info; p.slen = 0; - - if (rdata->msg_info.cid == NULL || rdata->msg_info.cid->id.slen) - pj_strcpy2(&p, "Call-ID"); - if (rdata->msg_info.from == NULL) - pj_strcpy2(&p, " From"); - if (rdata->msg_info.to == NULL) - pj_strcpy2(&p, " To"); - if (rdata->msg_info.via == NULL) - pj_strcpy2(&p, " Via"); - if (rdata->msg_info.cseq == NULL) - pj_strcpy2(&p, " CSeq"); - - p.ptr[p.slen] = '\0'; - } - - pj_strerror(status, errmsg, sizeof(errmsg)); - - PJ_LOG(1, (THIS_FILE, - "Error processing packet from %s:%d: %s %s [code %d]:\n" - "%.*s\n" - "-- end of packet.", - rdata->pkt_info.src_name, - rdata->pkt_info.src_port, - errmsg, - info, - status, - (int)rdata->msg_info.len, - rdata->msg_info.msg_buf)); - return; - } - - PJ_LOG(5, (THIS_FILE, "Processing incoming message: %s", - pjsip_rx_data_get_info(rdata))); - pj_log_push_indent(); - -#if defined(PJSIP_CHECK_VIA_SENT_BY) && PJSIP_CHECK_VIA_SENT_BY != 0 - /* For response, check that the value in Via sent-by match the transport. - * If not matched, silently drop the response. - * Ref: RFC3261 Section 18.1.2 Receiving Response - */ - if (msg->type == PJSIP_RESPONSE_MSG) { - const pj_str_t *local_addr; - int port = rdata->msg_info.via->sent_by.port; - pj_bool_t mismatch = PJ_FALSE; - if (port == 0) { - pjsip_transport_type_e type; - type = (pjsip_transport_type_e)rdata->tp_info.transport->key.type; - port = pjsip_transport_get_default_port_for_type(type); - } - local_addr = &rdata->tp_info.transport->local_name.host; - - if (pj_strcmp(&rdata->msg_info.via->sent_by.host, local_addr) != 0) { - - /* The RFC says that we should drop response when sent-by - * address mismatch. But it could happen (e.g. with SER) when - * endpoint with private IP is sending request to public - * server. - - mismatch = PJ_TRUE; - - */ - - } else if (port != rdata->tp_info.transport->local_name.port) { - /* Port or address mismatch, we should discard response */ - /* But we saw one implementation (we don't want to name it to - * protect the innocence) which put wrong sent-by port although - * the "rport" parameter is correct. - * So we discard the response only if the port doesn't match - * both the port in sent-by and rport. We try to be lenient here! - */ - if (rdata->msg_info.via->rport_param != - rdata->tp_info.transport->local_name.port) - mismatch = PJ_TRUE; - else { - PJ_LOG(4,(THIS_FILE, "Message %s from %s has mismatch port in " - "sent-by but the rport parameter is " - "correct", - pjsip_rx_data_get_info(rdata), - rdata->pkt_info.src_name)); - } - } - - if (mismatch) { - PJ_TODO(ENDPT_REPORT_WHEN_DROPPING_MESSAGE); - PJ_LOG(4,(THIS_FILE, "Dropping response %s from %s:%d because " - "sent-by is mismatch", - pjsip_rx_data_get_info(rdata), - rdata->pkt_info.src_name, - rdata->pkt_info.src_port)); - pj_log_pop_indent(); - return; - } - } -#endif - - - /* Distribute to modules, starting from modules with highest priority */ - LOCK_MODULE_ACCESS(endpt); - - if (msg->type == PJSIP_REQUEST_MSG) { - pjsip_module *mod; - pj_bool_t handled = PJ_FALSE; - - mod = endpt->module_list.next; - while (mod != &endpt->module_list) { - if (mod->on_rx_request) - handled = (*mod->on_rx_request)(rdata); - if (handled) - break; - mod = mod->next; - } - - /* No module is able to handle the request. */ - if (!handled) { - PJ_TODO(ENDPT_RESPOND_UNHANDLED_REQUEST); - PJ_LOG(4,(THIS_FILE, "Message %s from %s:%d was dropped/unhandled by" - " any modules", - pjsip_rx_data_get_info(rdata), - rdata->pkt_info.src_name, - rdata->pkt_info.src_port)); - } - - } else { - pjsip_module *mod; - pj_bool_t handled = PJ_FALSE; - - mod = endpt->module_list.next; - while (mod != &endpt->module_list) { - if (mod->on_rx_response) - handled = (*mod->on_rx_response)(rdata); - if (handled) - break; - mod = mod->next; - } - - if (!handled) { - PJ_LOG(4,(THIS_FILE, "Message %s from %s:%d was dropped/unhandled" - " by any modules", - pjsip_rx_data_get_info(rdata), - rdata->pkt_info.src_name, - rdata->pkt_info.src_port)); - } - } - - UNLOCK_MODULE_ACCESS(endpt); - - /* Must clear mod_data before returning rdata to transport, since - * rdata may be reused. - */ - pj_bzero(&rdata->endpt_info, sizeof(rdata->endpt_info)); - - pj_log_pop_indent(); -} - -/* - * This callback is called by transport manager before message is sent. - * Modules may inspect the message before it's actually sent. - */ -static pj_status_t endpt_on_tx_msg( pjsip_endpoint *endpt, - pjsip_tx_data *tdata ) -{ - pj_status_t status = PJ_SUCCESS; - pjsip_module *mod; - - /* Distribute to modules, starting from modules with LOWEST priority */ - LOCK_MODULE_ACCESS(endpt); - - mod = endpt->module_list.prev; - if (tdata->msg->type == PJSIP_REQUEST_MSG) { - while (mod != &endpt->module_list) { - if (mod->on_tx_request) - status = (*mod->on_tx_request)(tdata); - if (status != PJ_SUCCESS) - break; - mod = mod->prev; - } - - } else { - while (mod != &endpt->module_list) { - if (mod->on_tx_response) - status = (*mod->on_tx_response)(tdata); - if (status != PJ_SUCCESS) - break; - mod = mod->prev; - } - } - - UNLOCK_MODULE_ACCESS(endpt); - - return status; -} - - -/* - * Create transmit data buffer. - */ -PJ_DEF(pj_status_t) pjsip_endpt_create_tdata( pjsip_endpoint *endpt, - pjsip_tx_data **p_tdata) -{ - return pjsip_tx_data_create(endpt->transport_mgr, p_tdata); -} - -/* - * Create the DNS resolver instance. - */ -PJ_DEF(pj_status_t) pjsip_endpt_create_resolver(pjsip_endpoint *endpt, - pj_dns_resolver **p_resv) -{ -#if PJSIP_HAS_RESOLVER - PJ_ASSERT_RETURN(endpt && p_resv, PJ_EINVAL); - return pj_dns_resolver_create( endpt->pf, NULL, 0, endpt->timer_heap, - endpt->ioqueue, p_resv); -#else - PJ_UNUSED_ARG(endpt); - PJ_UNUSED_ARG(p_resv); - pj_assert(!"Resolver is disabled (PJSIP_HAS_RESOLVER==0)"); - return PJ_EINVALIDOP; -#endif -} - -/* - * Set DNS resolver to be used by the SIP resolver. - */ -PJ_DEF(pj_status_t) pjsip_endpt_set_resolver( pjsip_endpoint *endpt, - pj_dns_resolver *resv) -{ - return pjsip_resolver_set_resolver(endpt->resolver, resv); -} - -/* - * Get the DNS resolver being used by the SIP resolver. - */ -PJ_DEF(pj_dns_resolver*) pjsip_endpt_get_resolver(pjsip_endpoint *endpt) -{ - PJ_ASSERT_RETURN(endpt, NULL); - return pjsip_resolver_get_resolver(endpt->resolver); -} - -/* - * Resolve - */ -PJ_DEF(void) pjsip_endpt_resolve( pjsip_endpoint *endpt, - pj_pool_t *pool, - pjsip_host_info *target, - void *token, - pjsip_resolver_callback *cb) -{ - pjsip_resolve( endpt->resolver, pool, target, token, cb); -} - -/* - * Get transport manager. - */ -PJ_DEF(pjsip_tpmgr*) pjsip_endpt_get_tpmgr(pjsip_endpoint *endpt) -{ - return endpt->transport_mgr; -} - -/* - * Get ioqueue instance. - */ -PJ_DEF(pj_ioqueue_t*) pjsip_endpt_get_ioqueue(pjsip_endpoint *endpt) -{ - return endpt->ioqueue; -} - -/* - * Find/create transport. - */ -PJ_DEF(pj_status_t) pjsip_endpt_acquire_transport(pjsip_endpoint *endpt, - pjsip_transport_type_e type, - const pj_sockaddr_t *remote, - int addr_len, - const pjsip_tpselector *sel, - pjsip_transport **transport) -{ - return pjsip_tpmgr_acquire_transport(endpt->transport_mgr, type, - remote, addr_len, sel, transport); -} - - -/* - * Find/create transport. - */ -PJ_DEF(pj_status_t) pjsip_endpt_acquire_transport2(pjsip_endpoint *endpt, - pjsip_transport_type_e type, - const pj_sockaddr_t *remote, - int addr_len, - const pjsip_tpselector *sel, - pjsip_tx_data *tdata, - pjsip_transport **transport) -{ - return pjsip_tpmgr_acquire_transport2(endpt->transport_mgr, type, remote, - addr_len, sel, tdata, transport); -} - - -/* - * Report error. - */ -PJ_DEF(void) pjsip_endpt_log_error( pjsip_endpoint *endpt, - const char *sender, - pj_status_t error_code, - const char *format, - ... ) -{ -#if PJ_LOG_MAX_LEVEL > 0 - char newformat[256]; - int len; - va_list marker; - - va_start(marker, format); - - PJ_UNUSED_ARG(endpt); - - len = pj_ansi_strlen(format); - if (len < (int)sizeof(newformat)-30) { - pj_str_t errstr; - - pj_ansi_strcpy(newformat, format); - pj_ansi_snprintf(newformat+len, sizeof(newformat)-len-1, - ": [err %d] ", error_code); - len += pj_ansi_strlen(newformat+len); - - errstr = pj_strerror( error_code, newformat+len, - sizeof(newformat)-len-1); - - len += errstr.slen; - newformat[len] = '\0'; - - pj_log(sender, 1, newformat, marker); - } else { - pj_log(sender, 1, format, marker); - } - - va_end(marker); -#else - PJ_UNUSED_ARG(format); - PJ_UNUSED_ARG(error_code); - PJ_UNUSED_ARG(sender); - PJ_UNUSED_ARG(endpt); -#endif -} - - -/* - * Dump endpoint. - */ -PJ_DEF(void) pjsip_endpt_dump( pjsip_endpoint *endpt, pj_bool_t detail ) -{ -#if PJ_LOG_MAX_LEVEL >= 3 - PJ_LOG(5, (THIS_FILE, "pjsip_endpt_dump()")); - - /* Lock mutex. */ - pj_mutex_lock(endpt->mutex); - - PJ_LOG(3, (THIS_FILE, "Dumping endpoint %p:", endpt)); - - /* Dumping pool factory. */ - pj_pool_factory_dump(endpt->pf, detail); - - /* Pool health. */ - PJ_LOG(3, (THIS_FILE," Endpoint pool capacity=%u, used_size=%u", - pj_pool_get_capacity(endpt->pool), - pj_pool_get_used_size(endpt->pool))); - - /* Resolver */ -#if PJSIP_HAS_RESOLVER - if (pjsip_endpt_get_resolver(endpt)) { - pj_dns_resolver_dump(pjsip_endpt_get_resolver(endpt), detail); - } -#endif - - /* Transports. - */ - pjsip_tpmgr_dump_transports( endpt->transport_mgr ); - - /* Timer. */ - PJ_LOG(3,(THIS_FILE, " Timer heap has %u entries", - pj_timer_heap_count(endpt->timer_heap))); - - /* Unlock mutex. */ - pj_mutex_unlock(endpt->mutex); -#else - PJ_UNUSED_ARG(endpt); - PJ_UNUSED_ARG(detail); - PJ_LOG(3,(THIS_FILE, "pjsip_end_dump: can't dump because it's disabled.")); -#endif -} - - -PJ_DEF(pj_status_t) pjsip_endpt_atexit( pjsip_endpoint *endpt, - pjsip_endpt_exit_callback func) -{ - exit_cb *new_cb; - - PJ_ASSERT_RETURN(endpt && func, PJ_EINVAL); - - new_cb = PJ_POOL_ZALLOC_T(endpt->pool, exit_cb); - new_cb->func = func; - - pj_mutex_lock(endpt->mutex); - pj_list_push_back(&endpt->exit_cb_list, new_cb); - pj_mutex_unlock(endpt->mutex); - - return PJ_SUCCESS; -} diff --git a/res/pjproject/pjsip/src/pjsip/sip_endpoint_wrap.cpp b/res/pjproject/pjsip/src/pjsip/sip_endpoint_wrap.cpp deleted file mode 100644 index 0170f6f3df..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_endpoint_wrap.cpp +++ /dev/null @@ -1,24 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * This file is a C++ wrapper, see ticket #886 for details. - */ - -#include "sip_endpoint.c" diff --git a/res/pjproject/pjsip/src/pjsip/sip_errno.c b/res/pjproject/pjsip/src/pjsip/sip_errno.c deleted file mode 100644 index 806733f19e..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_errno.c +++ /dev/null @@ -1,211 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include - -/* PJSIP's own error codes/messages - * MUST KEEP THIS ARRAY SORTED!! - */ - -#if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING != 0) - -static const struct -{ - int code; - const char *msg; -} err_str[] = -{ - /* Generic SIP errors */ - PJ_BUILD_ERR( PJSIP_EBUSY, "Object is busy" ), - PJ_BUILD_ERR( PJSIP_ETYPEEXISTS , "Object with the same type exists" ), - PJ_BUILD_ERR( PJSIP_ESHUTDOWN, "SIP stack shutting down" ), - PJ_BUILD_ERR( PJSIP_ENOTINITIALIZED,"SIP object is not initialized." ), - PJ_BUILD_ERR( PJSIP_ENOROUTESET, "Missing route set (for tel: URI)" ), - - /* Messaging errors */ - PJ_BUILD_ERR( PJSIP_EINVALIDMSG, "Invalid message/syntax error" ), - PJ_BUILD_ERR( PJSIP_ENOTREQUESTMSG, "Expecting request message"), - PJ_BUILD_ERR( PJSIP_ENOTRESPONSEMSG,"Expecting response message"), - PJ_BUILD_ERR( PJSIP_EMSGTOOLONG, "Message too long" ), - PJ_BUILD_ERR( PJSIP_EPARTIALMSG, "Partial message" ), - - PJ_BUILD_ERR( PJSIP_EINVALIDSTATUS, "Invalid/unexpected SIP status code"), - - PJ_BUILD_ERR( PJSIP_EINVALIDURI, "Invalid URI" ), - PJ_BUILD_ERR( PJSIP_EINVALIDSCHEME, "Invalid URI scheme" ), - PJ_BUILD_ERR( PJSIP_EMISSINGREQURI, "Missing Request-URI" ), - PJ_BUILD_ERR( PJSIP_EINVALIDREQURI, "Invalid Request URI" ), - PJ_BUILD_ERR( PJSIP_EURITOOLONG, "URI is too long" ), - - PJ_BUILD_ERR( PJSIP_EMISSINGHDR, "Missing required header(s)" ), - PJ_BUILD_ERR( PJSIP_EINVALIDHDR, "Invalid header field"), - PJ_BUILD_ERR( PJSIP_EINVALIDVIA, "Invalid Via header" ), - PJ_BUILD_ERR( PJSIP_EMULTIPLEVIA, "Multiple Via headers in response" ), - - PJ_BUILD_ERR( PJSIP_EMISSINGBODY, "Missing message body" ), - PJ_BUILD_ERR( PJSIP_EINVALIDMETHOD, "Invalid/unexpected method" ), - - /* Transport errors */ - PJ_BUILD_ERR( PJSIP_EUNSUPTRANSPORT,"Unsupported transport"), - PJ_BUILD_ERR( PJSIP_EPENDINGTX, "Transmit buffer already pending"), - PJ_BUILD_ERR( PJSIP_ERXOVERFLOW, "Rx buffer overflow"), - PJ_BUILD_ERR( PJSIP_EBUFDESTROYED, "Buffer destroyed"), - PJ_BUILD_ERR( PJSIP_ETPNOTSUITABLE, "Unsuitable transport selected"), - PJ_BUILD_ERR( PJSIP_ETPNOTAVAIL, "Transport not available for use"), - - /* Transaction errors */ - PJ_BUILD_ERR( PJSIP_ETSXDESTROYED, "Transaction has been destroyed"), - PJ_BUILD_ERR( PJSIP_ENOTSX, "No transaction is associated with the object " - "(expecting stateful processing)" ), - - /* URI comparison status */ - PJ_BUILD_ERR( PJSIP_ECMPSCHEME, "URI scheme mismatch" ), - PJ_BUILD_ERR( PJSIP_ECMPUSER, "URI user part mismatch" ), - PJ_BUILD_ERR( PJSIP_ECMPPASSWD, "URI password part mismatch" ), - PJ_BUILD_ERR( PJSIP_ECMPHOST, "URI host part mismatch" ), - PJ_BUILD_ERR( PJSIP_ECMPPORT, "URI port mismatch" ), - PJ_BUILD_ERR( PJSIP_ECMPTRANSPORTPRM,"URI transport param mismatch" ), - PJ_BUILD_ERR( PJSIP_ECMPTTLPARAM, "URI ttl param mismatch" ), - PJ_BUILD_ERR( PJSIP_ECMPUSERPARAM, "URI user param mismatch" ), - PJ_BUILD_ERR( PJSIP_ECMPMETHODPARAM,"URI method param mismatch" ), - PJ_BUILD_ERR( PJSIP_ECMPMADDRPARAM, "URI maddr param mismatch" ), - PJ_BUILD_ERR( PJSIP_ECMPOTHERPARAM, "URI other param mismatch" ), - PJ_BUILD_ERR( PJSIP_ECMPHEADERPARAM,"URI header parameter mismatch" ), - - /* Authentication. */ - PJ_BUILD_ERR( PJSIP_EFAILEDCREDENTIAL, "Credential failed to authenticate"), - PJ_BUILD_ERR( PJSIP_ENOCREDENTIAL, "No suitable credential"), - PJ_BUILD_ERR( PJSIP_EINVALIDALGORITHM, "Invalid/unsupported digest algorithm" ), - PJ_BUILD_ERR( PJSIP_EINVALIDQOP, "Invalid/unsupported digest qop" ), - PJ_BUILD_ERR( PJSIP_EINVALIDAUTHSCHEME,"Unsupported authentication scheme" ), - PJ_BUILD_ERR( PJSIP_EAUTHNOPREVCHAL, "No previous challenge" ), - PJ_BUILD_ERR( PJSIP_EAUTHNOAUTH, "No suitable authorization header" ), - PJ_BUILD_ERR( PJSIP_EAUTHACCNOTFOUND, "Account or credential not found" ), - PJ_BUILD_ERR( PJSIP_EAUTHACCDISABLED, "Account or credential is disabled" ), - PJ_BUILD_ERR( PJSIP_EAUTHINVALIDREALM, "Invalid authorization realm"), - PJ_BUILD_ERR( PJSIP_EAUTHINVALIDDIGEST,"Invalid authorization digest" ), - PJ_BUILD_ERR( PJSIP_EAUTHSTALECOUNT, "Maximum number of stale retries exceeded"), - PJ_BUILD_ERR( PJSIP_EAUTHINNONCE, "Invalid nonce value in authentication challenge"), - PJ_BUILD_ERR( PJSIP_EAUTHINAKACRED, "Invalid AKA credential"), - PJ_BUILD_ERR( PJSIP_EAUTHNOCHAL, "No challenge is found"), - - /* UA/dialog layer. */ - PJ_BUILD_ERR( PJSIP_EMISSINGTAG, "Missing From/To tag parameter" ), - PJ_BUILD_ERR( PJSIP_ENOTREFER, "Expecting REFER request") , - PJ_BUILD_ERR( PJSIP_ENOREFERSESSION,"Not associated with REFER subscription"), - - /* Invite session. */ - PJ_BUILD_ERR( PJSIP_ESESSIONTERMINATED, "INVITE session already terminated" ), - PJ_BUILD_ERR( PJSIP_ESESSIONSTATE, "Invalid INVITE session state" ), - PJ_BUILD_ERR( PJSIP_ESESSIONINSECURE, "Require secure session/transport"), - - /* SSL errors */ - PJ_BUILD_ERR( PJSIP_TLS_EUNKNOWN, "Unknown TLS error" ), - PJ_BUILD_ERR( PJSIP_TLS_EINVMETHOD, "Invalid SSL protocol method" ), - PJ_BUILD_ERR( PJSIP_TLS_ECACERT, "Error loading/verifying SSL CA list file"), - PJ_BUILD_ERR( PJSIP_TLS_ECERTFILE, "Error loading SSL certificate chain file"), - PJ_BUILD_ERR( PJSIP_TLS_EKEYFILE, "Error adding private key from SSL certificate file"), - PJ_BUILD_ERR( PJSIP_TLS_ECIPHER, "Error setting SSL cipher list"), - PJ_BUILD_ERR( PJSIP_TLS_ECTX, "Error creating SSL context"), - PJ_BUILD_ERR( PJSIP_TLS_ESSLCONN, "Error creating SSL connection object"), - PJ_BUILD_ERR( PJSIP_TLS_ECONNECT, "Unknown error when performing SSL connect()"), - PJ_BUILD_ERR( PJSIP_TLS_EACCEPT, "Unknown error when performing SSL accept()"), - PJ_BUILD_ERR( PJSIP_TLS_ESEND, "Unknown error when sending SSL data"), - PJ_BUILD_ERR( PJSIP_TLS_EREAD, "Unknown error when reading SSL data"), - PJ_BUILD_ERR( PJSIP_TLS_ETIMEDOUT, "SSL negotiation has timed out"), - PJ_BUILD_ERR( PJSIP_TLS_ECERTVERIF, "SSL certificate verification error"), -}; - - -#endif /* PJ_HAS_ERROR_STRING */ - - -/* - * pjsip_strerror() - */ -PJ_DEF(pj_str_t) pjsip_strerror( pj_status_t statcode, - char *buf, pj_size_t bufsize ) -{ - pj_str_t errstr; - -#if defined(PJ_HAS_ERROR_STRING) && (PJ_HAS_ERROR_STRING != 0) - - if (statcode >= PJSIP_ERRNO_START && statcode < PJSIP_ERRNO_START+800) - { - /* Status code. */ - const pj_str_t *status_text = - pjsip_get_status_text(PJSIP_ERRNO_TO_SIP_STATUS(statcode)); - - errstr.ptr = buf; - pj_strncpy_with_null(&errstr, status_text, bufsize); - return errstr; - } - else if (statcode >= PJSIP_ERRNO_START_PJSIP && - statcode < PJSIP_ERRNO_START_PJSIP + 1000) - { - /* Find the error in the table. - * Use binary search! - */ - int first = 0; - int n = PJ_ARRAY_SIZE(err_str); - - while (n > 0) { - int half = n/2; - int mid = first + half; - - if (err_str[mid].code < statcode) { - first = mid+1; - n -= (half+1); - } else if (err_str[mid].code > statcode) { - n = half; - } else { - first = mid; - break; - } - } - - - if (PJ_ARRAY_SIZE(err_str) && err_str[first].code == statcode) { - pj_str_t msg; - - msg.ptr = (char*)err_str[first].msg; - msg.slen = pj_ansi_strlen(err_str[first].msg); - - errstr.ptr = buf; - pj_strncpy_with_null(&errstr, &msg, bufsize); - return errstr; - - } - } - -#endif /* PJ_HAS_ERROR_STRING */ - - /* Error not found. */ - errstr.ptr = buf; - errstr.slen = pj_ansi_snprintf(buf, bufsize, - "Unknown pjsip error %d", - statcode); - - return errstr; - -} - diff --git a/res/pjproject/pjsip/src/pjsip/sip_msg.c b/res/pjproject/pjsip/src/pjsip/sip_msg.c deleted file mode 100644 index 0625cf8d68..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_msg.c +++ /dev/null @@ -1,2218 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -PJ_DEF_DATA(const pjsip_method) pjsip_invite_method = - { PJSIP_INVITE_METHOD, { "INVITE",6 }}; - -PJ_DEF_DATA(const pjsip_method) pjsip_cancel_method = - { PJSIP_CANCEL_METHOD, { "CANCEL",6 }}; - -PJ_DEF_DATA(const pjsip_method) pjsip_ack_method = - { PJSIP_ACK_METHOD, { "ACK",3}}; - -PJ_DEF_DATA(const pjsip_method) pjsip_bye_method = - { PJSIP_BYE_METHOD, { "BYE",3}}; - -PJ_DEF_DATA(const pjsip_method) pjsip_register_method = - { PJSIP_REGISTER_METHOD, { "REGISTER", 8}}; - -PJ_DEF_DATA(const pjsip_method) pjsip_options_method = - { PJSIP_OPTIONS_METHOD, { "OPTIONS",7}}; - - -/** INVITE method constant. */ -PJ_DEF(const pjsip_method*) pjsip_get_invite_method(void) -{ - return &pjsip_invite_method; -} - -/** CANCEL method constant. */ -PJ_DEF(const pjsip_method*) pjsip_get_cancel_method(void) -{ - return &pjsip_cancel_method; -} - -/** ACK method constant. */ -PJ_DEF(const pjsip_method*) pjsip_get_ack_method(void) -{ - return &pjsip_ack_method; -} - -/** BYE method constant. */ -PJ_DEF(const pjsip_method*) pjsip_get_bye_method(void) -{ - return &pjsip_bye_method; -} - -/** REGISTER method constant.*/ -PJ_DEF(const pjsip_method*) pjsip_get_register_method(void) -{ - return &pjsip_register_method; -} - -/** OPTIONS method constant. */ -PJ_DEF(const pjsip_method*) pjsip_get_options_method(void) -{ - return &pjsip_options_method; -} - - -static const pj_str_t *method_names[] = -{ - &pjsip_invite_method.name, - &pjsip_cancel_method.name, - &pjsip_ack_method.name, - &pjsip_bye_method.name, - &pjsip_register_method.name, - &pjsip_options_method.name -}; - -const pjsip_hdr_name_info_t pjsip_hdr_names[] = -{ - { "Accept", 6, NULL }, // PJSIP_H_ACCEPT, - { "Accept-Encoding", 15, NULL }, // PJSIP_H_ACCEPT_ENCODING, - { "Accept-Language", 15, NULL }, // PJSIP_H_ACCEPT_LANGUAGE, - { "Alert-Info", 10, NULL }, // PJSIP_H_ALERT_INFO, - { "Allow", 5, NULL }, // PJSIP_H_ALLOW, - { "Authentication-Info",19, NULL }, // PJSIP_H_AUTHENTICATION_INFO, - { "Authorization", 13, NULL }, // PJSIP_H_AUTHORIZATION, - { "Call-ID", 7, "i" }, // PJSIP_H_CALL_ID, - { "Call-Info", 9, NULL }, // PJSIP_H_CALL_INFO, - { "Contact", 7, "m" }, // PJSIP_H_CONTACT, - { "Content-Disposition",19, NULL }, // PJSIP_H_CONTENT_DISPOSITION, - { "Content-Encoding", 16, "e" }, // PJSIP_H_CONTENT_ENCODING, - { "Content-Language", 16, NULL }, // PJSIP_H_CONTENT_LANGUAGE, - { "Content-Length", 14, "l" }, // PJSIP_H_CONTENT_LENGTH, - { "Content-Type", 12, "c" }, // PJSIP_H_CONTENT_TYPE, - { "CSeq", 4, NULL }, // PJSIP_H_CSEQ, - { "Date", 4, NULL }, // PJSIP_H_DATE, - { "Error-Info", 10, NULL }, // PJSIP_H_ERROR_INFO, - { "Expires", 7, NULL }, // PJSIP_H_EXPIRES, - { "From", 4, "f" }, // PJSIP_H_FROM, - { "In-Reply-To", 11, NULL }, // PJSIP_H_IN_REPLY_TO, - { "Max-Forwards", 12, NULL }, // PJSIP_H_MAX_FORWARDS, - { "MIME-Version", 12, NULL }, // PJSIP_H_MIME_VERSION, - { "Min-Expires", 11, NULL }, // PJSIP_H_MIN_EXPIRES, - { "Organization", 12, NULL }, // PJSIP_H_ORGANIZATION, - { "Priority", 8, NULL }, // PJSIP_H_PRIORITY, - { "Proxy-Authenticate", 18, NULL }, // PJSIP_H_PROXY_AUTHENTICATE, - { "Proxy-Authorization",19, NULL }, // PJSIP_H_PROXY_AUTHORIZATION, - { "Proxy-Require", 13, NULL }, // PJSIP_H_PROXY_REQUIRE, - { "Record-Route", 12, NULL }, // PJSIP_H_RECORD_ROUTE, - { "Reply-To", 8, NULL }, // PJSIP_H_REPLY_TO, - { "Require", 7, NULL }, // PJSIP_H_REQUIRE, - { "Retry-After", 11, NULL }, // PJSIP_H_RETRY_AFTER, - { "Route", 5, NULL }, // PJSIP_H_ROUTE, - { "Server", 6, NULL }, // PJSIP_H_SERVER, - { "Subject", 7, "s" }, // PJSIP_H_SUBJECT, - { "Supported", 9, "k" }, // PJSIP_H_SUPPORTED, - { "Timestamp", 9, NULL }, // PJSIP_H_TIMESTAMP, - { "To", 2, "t" }, // PJSIP_H_TO, - { "Unsupported", 11, NULL }, // PJSIP_H_UNSUPPORTED, - { "User-Agent", 10, NULL }, // PJSIP_H_USER_AGENT, - { "Via", 3, "v" }, // PJSIP_H_VIA, - { "Warning", 7, NULL }, // PJSIP_H_WARNING, - { "WWW-Authenticate", 16, NULL }, // PJSIP_H_WWW_AUTHENTICATE, - - { "_Unknown-Header", 15, NULL }, // PJSIP_H_OTHER, -}; - -pj_bool_t pjsip_use_compact_form = PJSIP_ENCODE_SHORT_HNAME; - -static pj_str_t status_phrase[710]; -static int print_media_type(char *buf, unsigned len, - const pjsip_media_type *media); - -static int init_status_phrase() -{ - unsigned i; - pj_str_t default_reason_phrase = { "Default status message", 22}; - - for (i=0; iid = me; - m->name = *method_names[me]; -} - -PJ_DEF(void) pjsip_method_init_np(pjsip_method *m, - pj_str_t *str) -{ - unsigned i; - for (i=0; iptr, method_names[i]->ptr, str->slen)==0 || - pj_stricmp(str, method_names[i])==0) - { - m->id = (pjsip_method_e)i; - m->name = *method_names[i]; - return; - } - } - m->id = PJSIP_OTHER_METHOD; - m->name = *str; -} - -PJ_DEF(void) pjsip_method_copy( pj_pool_t *pool, - pjsip_method *method, - const pjsip_method *rhs ) -{ - method->id = rhs->id; - if (rhs->id != PJSIP_OTHER_METHOD) { - method->name = rhs->name; - } else { - pj_strdup(pool, &method->name, &rhs->name); - } -} - - -PJ_DEF(int) pjsip_method_cmp( const pjsip_method *m1, const pjsip_method *m2) -{ - if (m1->id == m2->id) { - if (m1->id != PJSIP_OTHER_METHOD) - return 0; - /* Method comparison is case sensitive! */ - return pj_strcmp(&m1->name, &m2->name); - } - - return ( m1->id < m2->id ) ? -1 : 1; -} - -/////////////////////////////////////////////////////////////////////////////// -/* - * Message. - */ - -PJ_DEF(pjsip_msg*) pjsip_msg_create( pj_pool_t *pool, pjsip_msg_type_e type) -{ - pjsip_msg *msg = PJ_POOL_ALLOC_T(pool, pjsip_msg); - pj_list_init(&msg->hdr); - msg->type = type; - msg->body = NULL; - return msg; -} - -PJ_DEF(pjsip_msg*) pjsip_msg_clone( pj_pool_t *pool, const pjsip_msg *src) -{ - pjsip_msg *dst; - const pjsip_hdr *sh; - - dst = pjsip_msg_create(pool, src->type); - - /* Clone request/status line */ - if (src->type == PJSIP_REQUEST_MSG) { - pjsip_method_copy(pool, &dst->line.req.method, &src->line.req.method); - dst->line.req.uri = (pjsip_uri*) pjsip_uri_clone(pool, - src->line.req.uri); - } else { - dst->line.status.code = src->line.status.code; - pj_strdup(pool, &dst->line.status.reason, &src->line.status.reason); - } - - /* Clone headers */ - sh = src->hdr.next; - while (sh != &src->hdr) { - pjsip_hdr *dh = (pjsip_hdr*) pjsip_hdr_clone(pool, sh); - pjsip_msg_add_hdr(dst, dh); - sh = sh->next; - } - - /* Clone message body */ - if (src->body) { - dst->body = pjsip_msg_body_clone(pool, src->body); - } - - return dst; -} - -PJ_DEF(void*) pjsip_msg_find_hdr( const pjsip_msg *msg, - pjsip_hdr_e hdr_type, const void *start) -{ - const pjsip_hdr *hdr=(const pjsip_hdr*) start, *end=&msg->hdr; - - if (hdr == NULL) { - hdr = msg->hdr.next; - } - for (; hdr!=end; hdr = hdr->next) { - if (hdr->type == hdr_type) - return (void*)hdr; - } - return NULL; -} - -PJ_DEF(void*) pjsip_msg_find_hdr_by_name( const pjsip_msg *msg, - const pj_str_t *name, - const void *start) -{ - const pjsip_hdr *hdr=(const pjsip_hdr*)start, *end=&msg->hdr; - - if (hdr == NULL) { - hdr = msg->hdr.next; - } - for (; hdr!=end; hdr = hdr->next) { - if (pj_stricmp(&hdr->name, name) == 0) - return (void*)hdr; - } - return NULL; -} - -PJ_DEF(void*) pjsip_msg_find_hdr_by_names( const pjsip_msg *msg, - const pj_str_t *name, - const pj_str_t *sname, - const void *start) -{ - const pjsip_hdr *hdr=(const pjsip_hdr*)start, *end=&msg->hdr; - - if (hdr == NULL) { - hdr = msg->hdr.next; - } - for (; hdr!=end; hdr = hdr->next) { - if (pj_stricmp(&hdr->name, name) == 0) - return (void*)hdr; - if (pj_stricmp(&hdr->name, sname) == 0) - return (void*)hdr; - } - return NULL; -} - -PJ_DEF(void*) pjsip_msg_find_remove_hdr( pjsip_msg *msg, - pjsip_hdr_e hdr_type, void *start) -{ - pjsip_hdr *hdr = (pjsip_hdr*) pjsip_msg_find_hdr(msg, hdr_type, start); - if (hdr) { - pj_list_erase(hdr); - } - return hdr; -} - -PJ_DEF(pj_ssize_t) pjsip_msg_print( const pjsip_msg *msg, - char *buf, pj_size_t size) -{ - char *p=buf, *end=buf+size; - int len; - pjsip_hdr *hdr; - pj_str_t clen_hdr = { "Content-Length: ", 16}; - - if (pjsip_use_compact_form) { - clen_hdr.ptr = "l: "; - clen_hdr.slen = 3; - } - - /* Get a wild guess on how many bytes are typically needed. - * We'll check this later in detail, but this serves as a quick check. - */ - if (size < 256) - return -1; - - /* Print request line or status line depending on message type */ - if (msg->type == PJSIP_REQUEST_MSG) { - pjsip_uri *uri; - - /* Add method. */ - len = msg->line.req.method.name.slen; - pj_memcpy(p, msg->line.req.method.name.ptr, len); - p += len; - *p++ = ' '; - - /* Add URI */ - uri = (pjsip_uri*) pjsip_uri_get_uri(msg->line.req.uri); - len = pjsip_uri_print( PJSIP_URI_IN_REQ_URI, uri, p, end-p); - if (len < 1) - return -1; - p += len; - - /* Add ' SIP/2.0' */ - if (end-p < 16) - return -1; - pj_memcpy(p, " SIP/2.0\r\n", 10); - p += 10; - - } else { - - /* Add 'SIP/2.0 ' */ - pj_memcpy(p, "SIP/2.0 ", 8); - p += 8; - - /* Add status code. */ - len = pj_utoa(msg->line.status.code, p); - p += len; - *p++ = ' '; - - /* Add reason text. */ - len = msg->line.status.reason.slen; - pj_memcpy(p, msg->line.status.reason.ptr, len ); - p += len; - - /* Add newline. */ - *p++ = '\r'; - *p++ = '\n'; - } - - /* Print each of the headers. */ - for (hdr=msg->hdr.next; hdr!=&msg->hdr; hdr=hdr->next) { - len = pjsip_hdr_print_on(hdr, p, end-p); - if (len < 0) - return -1; - - if (len > 0) { - p += len; - if (p+3 >= end) - return -1; - - *p++ = '\r'; - *p++ = '\n'; - } - } - - /* Process message body. */ - if (msg->body) { - enum { CLEN_SPACE = 5 }; - char *clen_pos = NULL; - - /* Automaticly adds Content-Type and Content-Length headers, only - * if content_type is set in the message body. - */ - if (msg->body->content_type.type.slen) { - pj_str_t ctype_hdr = { "Content-Type: ", 14}; - const pjsip_media_type *media = &msg->body->content_type; - - if (pjsip_use_compact_form) { - ctype_hdr.ptr = "c: "; - ctype_hdr.slen = 3; - } - - /* Add Content-Type header. */ - if ( (end-p) < 24 + media->type.slen + media->subtype.slen) { - return -1; - } - pj_memcpy(p, ctype_hdr.ptr, ctype_hdr.slen); - p += ctype_hdr.slen; - p += print_media_type(p, end-p, media); - *p++ = '\r'; - *p++ = '\n'; - - /* Add Content-Length header. */ - if ((end-p) < clen_hdr.slen + 12 + 2) { - return -1; - } - pj_memcpy(p, clen_hdr.ptr, clen_hdr.slen); - p += clen_hdr.slen; - - /* Print blanks after "Content-Length:", this is where we'll put - * the content length value after we know the length of the - * body. - */ - pj_memset(p, ' ', CLEN_SPACE); - clen_pos = p; - p += CLEN_SPACE; - *p++ = '\r'; - *p++ = '\n'; - } - - /* Add blank newline. */ - *p++ = '\r'; - *p++ = '\n'; - - /* Print the message body itself. */ - len = (*msg->body->print_body)(msg->body, p, end-p); - if (len < 0) { - return -1; - } - p += len; - - /* Now that we have the length of the body, print this to the - * Content-Length header. - */ - if (clen_pos) { - char tmp[16]; - len = pj_utoa(len, tmp); - if (len > CLEN_SPACE) len = CLEN_SPACE; - pj_memcpy(clen_pos+CLEN_SPACE-len, tmp, len); - } - - } else { - /* There's no message body. - * Add Content-Length with zero value. - */ - if ((end-p) < clen_hdr.slen+8) { - return -1; - } - pj_memcpy(p, clen_hdr.ptr, clen_hdr.slen); - p += clen_hdr.slen; - *p++ = ' '; - *p++ = '0'; - *p++ = '\r'; - *p++ = '\n'; - *p++ = '\r'; - *p++ = '\n'; - } - - *p = '\0'; - return p-buf; -} - -/////////////////////////////////////////////////////////////////////////////// -PJ_DEF(void*) pjsip_hdr_clone( pj_pool_t *pool, const void *hdr_ptr ) -{ - const pjsip_hdr *hdr = (const pjsip_hdr*) hdr_ptr; - return (*hdr->vptr->clone)(pool, hdr_ptr); -} - - -PJ_DEF(void*) pjsip_hdr_shallow_clone( pj_pool_t *pool, const void *hdr_ptr ) -{ - const pjsip_hdr *hdr = (const pjsip_hdr*) hdr_ptr; - return (*hdr->vptr->shallow_clone)(pool, hdr_ptr); -} - -PJ_DEF(int) pjsip_hdr_print_on( void *hdr_ptr, char *buf, pj_size_t len) -{ - pjsip_hdr *hdr = (pjsip_hdr*) hdr_ptr; - return (*hdr->vptr->print_on)(hdr_ptr, buf, len); -} - -/////////////////////////////////////////////////////////////////////////////// -/* - * Status/Reason Phrase - */ - -PJ_DEF(const pj_str_t*) pjsip_get_status_text(int code) -{ - static int is_initialized; - if (is_initialized == 0) { - is_initialized = 1; - init_status_phrase(); - } - - return (code>=100 && - code<(int)(sizeof(status_phrase)/sizeof(status_phrase[0]))) ? - &status_phrase[code] : &status_phrase[0]; -} - -/////////////////////////////////////////////////////////////////////////////// -/* - * Media type - */ -/* - * Init media type. - */ -PJ_DEF(void) pjsip_media_type_init( pjsip_media_type *mt, - pj_str_t *type, - pj_str_t *subtype) -{ - pj_bzero(mt, sizeof(*mt)); - pj_list_init(&mt->param); - if (type) - mt->type = *type; - if (subtype) - mt->subtype = *subtype; -} - -PJ_DEF(void) pjsip_media_type_init2( pjsip_media_type *mt, - char *type, - char *subtype) -{ - pj_str_t s_type, s_subtype; - - if (type) { - s_type = pj_str(type); - } else { - s_type.ptr = NULL; - s_type.slen = 0; - } - - if (subtype) { - s_subtype = pj_str(subtype); - } else { - s_subtype.ptr = NULL; - s_subtype.slen = 0; - } - - pjsip_media_type_init(mt, &s_type, &s_subtype); -} - -/* - * Compare two media types. - */ -PJ_DEF(int) pjsip_media_type_cmp( const pjsip_media_type *mt1, - const pjsip_media_type *mt2, - pj_bool_t cmp_param) -{ - int rc; - - PJ_ASSERT_RETURN(mt1 && mt2, 1); - - rc = pj_stricmp(&mt1->type, &mt2->type); - if (rc) return rc; - - rc = pj_stricmp(&mt1->subtype, &mt2->subtype); - if (rc) return rc; - - if (cmp_param) { - rc = pjsip_param_cmp(&mt1->param, &mt2->param, (cmp_param==1)); - } - - return rc; -} - -PJ_DEF(void) pjsip_media_type_cp( pj_pool_t *pool, - pjsip_media_type *dst, - const pjsip_media_type *src) -{ - PJ_ASSERT_ON_FAIL(pool && dst && src, return); - pj_strdup(pool, &dst->type, &src->type); - pj_strdup(pool, &dst->subtype, &src->subtype); - pjsip_param_clone(pool, &dst->param, &src->param); -} - -/////////////////////////////////////////////////////////////////////////////// -/* - * Generic pjsip_hdr_names/hvalue header. - */ - -static int pjsip_generic_string_hdr_print( pjsip_generic_string_hdr *hdr, - char *buf, pj_size_t size); -static pjsip_generic_string_hdr* pjsip_generic_string_hdr_clone( pj_pool_t *pool, - const pjsip_generic_string_hdr *hdr); -static pjsip_generic_string_hdr* pjsip_generic_string_hdr_shallow_clone( pj_pool_t *pool, - const pjsip_generic_string_hdr *hdr ); - -static pjsip_hdr_vptr generic_hdr_vptr = -{ - (pjsip_hdr_clone_fptr) &pjsip_generic_string_hdr_clone, - (pjsip_hdr_clone_fptr) &pjsip_generic_string_hdr_shallow_clone, - (pjsip_hdr_print_fptr) &pjsip_generic_string_hdr_print, -}; - - -PJ_DEF(void) pjsip_generic_string_hdr_init2(pjsip_generic_string_hdr *hdr, - pj_str_t *hname, - pj_str_t *hvalue) -{ - init_hdr(hdr, PJSIP_H_OTHER, &generic_hdr_vptr); - if (hname) { - hdr->name = *hname; - hdr->sname = *hname; - } - if (hvalue) { - hdr->hvalue = *hvalue; - } else { - hdr->hvalue.ptr = NULL; - hdr->hvalue.slen = 0; - } -} - - -PJ_DEF(pjsip_generic_string_hdr*) pjsip_generic_string_hdr_init(pj_pool_t *pool, - void *mem, - const pj_str_t *hnames, - const pj_str_t *hvalue) -{ - pjsip_generic_string_hdr *hdr = (pjsip_generic_string_hdr*) mem; - pj_str_t dup_hname, dup_hval; - - if (hnames) { - pj_strdup(pool, &dup_hname, hnames); - } else { - dup_hname.slen = 0; - } - - if (hvalue) { - pj_strdup(pool, &dup_hval, hvalue); - } else { - dup_hval.slen = 0; - } - - pjsip_generic_string_hdr_init2(hdr, &dup_hname, &dup_hval); - return hdr; -} - -PJ_DEF(pjsip_generic_string_hdr*) pjsip_generic_string_hdr_create(pj_pool_t *pool, - const pj_str_t *hnames, - const pj_str_t *hvalue) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_generic_string_hdr)); - return pjsip_generic_string_hdr_init(pool, mem, hnames, hvalue); -} - -static int pjsip_generic_string_hdr_print( pjsip_generic_string_hdr *hdr, - char *buf, pj_size_t size) -{ - char *p = buf; - const pj_str_t *hname = pjsip_use_compact_form? &hdr->sname : &hdr->name; - - if ((pj_ssize_t)size < hname->slen + hdr->hvalue.slen + 5) - return -1; - - pj_memcpy(p, hname->ptr, hname->slen); - p += hname->slen; - *p++ = ':'; - *p++ = ' '; - pj_memcpy(p, hdr->hvalue.ptr, hdr->hvalue.slen); - p += hdr->hvalue.slen; - *p = '\0'; - - return p - buf; -} - -static pjsip_generic_string_hdr* pjsip_generic_string_hdr_clone( pj_pool_t *pool, - const pjsip_generic_string_hdr *rhs) -{ - pjsip_generic_string_hdr *hdr; - - hdr = pjsip_generic_string_hdr_create(pool, &rhs->name, &rhs->hvalue); - - hdr->type = rhs->type; - pj_strdup(pool, &hdr->sname, &rhs->sname); - return hdr; -} - -static pjsip_generic_string_hdr* pjsip_generic_string_hdr_shallow_clone( pj_pool_t *pool, - const pjsip_generic_string_hdr *rhs ) -{ - pjsip_generic_string_hdr *hdr = PJ_POOL_ALLOC_T(pool, pjsip_generic_string_hdr); - pj_memcpy(hdr, rhs, sizeof(*hdr)); - return hdr; -} - -/////////////////////////////////////////////////////////////////////////////// -/* - * Generic pjsip_hdr_names/integer value header. - */ - -static int pjsip_generic_int_hdr_print( pjsip_generic_int_hdr *hdr, - char *buf, pj_size_t size); -static pjsip_generic_int_hdr* pjsip_generic_int_hdr_clone( pj_pool_t *pool, - const pjsip_generic_int_hdr *hdr); -static pjsip_generic_int_hdr* pjsip_generic_int_hdr_shallow_clone( pj_pool_t *pool, - const pjsip_generic_int_hdr *hdr ); - -static pjsip_hdr_vptr generic_int_hdr_vptr = -{ - (pjsip_hdr_clone_fptr) &pjsip_generic_int_hdr_clone, - (pjsip_hdr_clone_fptr) &pjsip_generic_int_hdr_shallow_clone, - (pjsip_hdr_print_fptr) &pjsip_generic_int_hdr_print, -}; - -PJ_DEF(pjsip_generic_int_hdr*) pjsip_generic_int_hdr_init( pj_pool_t *pool, - void *mem, - const pj_str_t *hnames, - int value) -{ - pjsip_generic_int_hdr *hdr = (pjsip_generic_int_hdr*) mem; - - init_hdr(hdr, PJSIP_H_OTHER, &generic_int_hdr_vptr); - if (hnames) { - pj_strdup(pool, &hdr->name, hnames); - hdr->sname = hdr->name; - } - hdr->ivalue = value; - return hdr; -} - -PJ_DEF(pjsip_generic_int_hdr*) pjsip_generic_int_hdr_create( pj_pool_t *pool, - const pj_str_t *hnames, - int value) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_generic_int_hdr)); - return pjsip_generic_int_hdr_init(pool, mem, hnames, value); -} - -static int pjsip_generic_int_hdr_print( pjsip_generic_int_hdr *hdr, - char *buf, pj_size_t size) -{ - char *p = buf; - const pj_str_t *hname = pjsip_use_compact_form? &hdr->sname : &hdr->name; - - if ((pj_ssize_t)size < hname->slen + 15) - return -1; - - pj_memcpy(p, hname->ptr, hname->slen); - p += hname->slen; - *p++ = ':'; - *p++ = ' '; - - p += pj_utoa(hdr->ivalue, p); - - return p - buf; -} - -static pjsip_generic_int_hdr* pjsip_generic_int_hdr_clone( pj_pool_t *pool, - const pjsip_generic_int_hdr *rhs) -{ - pjsip_generic_int_hdr *hdr = PJ_POOL_ALLOC_T(pool, pjsip_generic_int_hdr); - pj_memcpy(hdr, rhs, sizeof(*hdr)); - return hdr; -} - -static pjsip_generic_int_hdr* pjsip_generic_int_hdr_shallow_clone( pj_pool_t *pool, - const pjsip_generic_int_hdr *rhs ) -{ - pjsip_generic_int_hdr *hdr = PJ_POOL_ALLOC_T(pool, pjsip_generic_int_hdr); - pj_memcpy(hdr, rhs, sizeof(*hdr)); - return hdr; -} - -/////////////////////////////////////////////////////////////////////////////// -/* - * Generic array header. - */ -static int pjsip_generic_array_hdr_print( pjsip_generic_array_hdr *hdr, char *buf, pj_size_t size); -static pjsip_generic_array_hdr* pjsip_generic_array_hdr_clone( pj_pool_t *pool, - const pjsip_generic_array_hdr *hdr); -static pjsip_generic_array_hdr* pjsip_generic_array_hdr_shallow_clone( pj_pool_t *pool, - const pjsip_generic_array_hdr *hdr); - -static pjsip_hdr_vptr generic_array_hdr_vptr = -{ - (pjsip_hdr_clone_fptr) &pjsip_generic_array_hdr_clone, - (pjsip_hdr_clone_fptr) &pjsip_generic_array_hdr_shallow_clone, - (pjsip_hdr_print_fptr) &pjsip_generic_array_hdr_print, -}; - - -PJ_DEF(pjsip_generic_array_hdr*) pjsip_generic_array_hdr_init( pj_pool_t *pool, - void *mem, - const pj_str_t *hnames) -{ - pjsip_generic_array_hdr *hdr = (pjsip_generic_array_hdr*) mem; - - init_hdr(hdr, PJSIP_H_OTHER, &generic_array_hdr_vptr); - if (hnames) { - pj_strdup(pool, &hdr->name, hnames); - hdr->sname = hdr->name; - } - hdr->count = 0; - return hdr; -} - -PJ_DEF(pjsip_generic_array_hdr*) pjsip_generic_array_hdr_create( pj_pool_t *pool, - const pj_str_t *hnames) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_generic_array_hdr)); - return pjsip_generic_array_hdr_init(pool, mem, hnames); - -} - -static int pjsip_generic_array_hdr_print( pjsip_generic_array_hdr *hdr, - char *buf, pj_size_t size) -{ - char *p = buf, *endbuf = buf+size; - const pj_str_t *hname = pjsip_use_compact_form? &hdr->sname : &hdr->name; - - copy_advance(p, (*hname)); - *p++ = ':'; - *p++ = ' '; - - if (hdr->count > 0) { - unsigned i; - int printed; - copy_advance(p, hdr->values[0]); - for (i=1; icount; ++i) { - copy_advance_pair(p, ", ", 2, hdr->values[i]); - } - } - - return p - buf; -} - -static pjsip_generic_array_hdr* pjsip_generic_array_hdr_clone( pj_pool_t *pool, - const pjsip_generic_array_hdr *rhs) -{ - unsigned i; - pjsip_generic_array_hdr *hdr = PJ_POOL_ALLOC_T(pool, pjsip_generic_array_hdr); - - pj_memcpy(hdr, rhs, sizeof(*hdr)); - for (i=0; icount; ++i) { - pj_strdup(pool, &hdr->values[i], &rhs->values[i]); - } - - return hdr; -} - - -static pjsip_generic_array_hdr* pjsip_generic_array_hdr_shallow_clone( pj_pool_t *pool, - const pjsip_generic_array_hdr *rhs) -{ - pjsip_generic_array_hdr *hdr = PJ_POOL_ALLOC_T(pool, pjsip_generic_array_hdr); - pj_memcpy(hdr, rhs, sizeof(*hdr)); - return hdr; -} - -/////////////////////////////////////////////////////////////////////////////// -/* - * Accept header. - */ -PJ_DEF(pjsip_accept_hdr*) pjsip_accept_hdr_init( pj_pool_t *pool, - void *mem ) -{ - pjsip_accept_hdr *hdr = (pjsip_accept_hdr*) mem; - - PJ_UNUSED_ARG(pool); - - init_hdr(hdr, PJSIP_H_ACCEPT, &generic_array_hdr_vptr); - hdr->count = 0; - return hdr; -} - -PJ_DEF(pjsip_accept_hdr*) pjsip_accept_hdr_create(pj_pool_t *pool) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_accept_hdr)); - return pjsip_accept_hdr_init(pool, mem); -} - - -/////////////////////////////////////////////////////////////////////////////// -/* - * Allow header. - */ - -PJ_DEF(pjsip_allow_hdr*) pjsip_allow_hdr_init( pj_pool_t *pool, - void *mem ) -{ - pjsip_allow_hdr *hdr = (pjsip_allow_hdr*) mem; - - PJ_UNUSED_ARG(pool); - - init_hdr(hdr, PJSIP_H_ALLOW, &generic_array_hdr_vptr); - hdr->count = 0; - return hdr; -} - -PJ_DEF(pjsip_allow_hdr*) pjsip_allow_hdr_create(pj_pool_t *pool) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_allow_hdr)); - return pjsip_allow_hdr_init(pool, mem); -} - -/////////////////////////////////////////////////////////////////////////////// -/* - * Call-ID header. - */ - -PJ_DEF(pjsip_cid_hdr*) pjsip_cid_hdr_init( pj_pool_t *pool, - void *mem ) -{ - pjsip_cid_hdr *hdr = (pjsip_cid_hdr*) mem; - - PJ_UNUSED_ARG(pool); - - init_hdr(hdr, PJSIP_H_CALL_ID, &generic_hdr_vptr); - return hdr; - -} - -PJ_DEF(pjsip_cid_hdr*) pjsip_cid_hdr_create( pj_pool_t *pool ) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_cid_hdr)); - return pjsip_cid_hdr_init(pool, mem); -} - - -/////////////////////////////////////////////////////////////////////////////// -/* - * Content-Length header. - */ -static int pjsip_clen_hdr_print( pjsip_clen_hdr *hdr, char *buf, pj_size_t size); -static pjsip_clen_hdr* pjsip_clen_hdr_clone( pj_pool_t *pool, const pjsip_clen_hdr *hdr); -#define pjsip_clen_hdr_shallow_clone pjsip_clen_hdr_clone - -static pjsip_hdr_vptr clen_hdr_vptr = -{ - (pjsip_hdr_clone_fptr) &pjsip_clen_hdr_clone, - (pjsip_hdr_clone_fptr) &pjsip_clen_hdr_shallow_clone, - (pjsip_hdr_print_fptr) &pjsip_clen_hdr_print, -}; - -PJ_DEF(pjsip_clen_hdr*) pjsip_clen_hdr_init( pj_pool_t *pool, - void *mem ) -{ - pjsip_clen_hdr *hdr = (pjsip_clen_hdr*) mem; - - PJ_UNUSED_ARG(pool); - - init_hdr(hdr, PJSIP_H_CONTENT_LENGTH, &clen_hdr_vptr); - hdr->len = 0; - return hdr; -} - -PJ_DEF(pjsip_clen_hdr*) pjsip_clen_hdr_create( pj_pool_t *pool ) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_clen_hdr)); - return pjsip_clen_hdr_init(pool, mem); -} - -static int pjsip_clen_hdr_print( pjsip_clen_hdr *hdr, - char *buf, pj_size_t size) -{ - char *p = buf; - int len; - const pj_str_t *hname = pjsip_use_compact_form? &hdr->sname : &hdr->name; - - if ((pj_ssize_t)size < hname->slen + 14) - return -1; - - pj_memcpy(p, hname->ptr, hname->slen); - p += hname->slen; - *p++ = ':'; - *p++ = ' '; - - len = pj_utoa(hdr->len, p); - p += len; - *p = '\0'; - - return p-buf; -} - -static pjsip_clen_hdr* pjsip_clen_hdr_clone( pj_pool_t *pool, const pjsip_clen_hdr *rhs) -{ - pjsip_clen_hdr *hdr = pjsip_clen_hdr_create(pool); - hdr->len = rhs->len; - return hdr; -} - - -/////////////////////////////////////////////////////////////////////////////// -/* - * CSeq header. - */ -static int pjsip_cseq_hdr_print( pjsip_cseq_hdr *hdr, char *buf, pj_size_t size); -static pjsip_cseq_hdr* pjsip_cseq_hdr_clone( pj_pool_t *pool, const pjsip_cseq_hdr *hdr); -static pjsip_cseq_hdr* pjsip_cseq_hdr_shallow_clone( pj_pool_t *pool, const pjsip_cseq_hdr *hdr ); - -static pjsip_hdr_vptr cseq_hdr_vptr = -{ - (pjsip_hdr_clone_fptr) &pjsip_cseq_hdr_clone, - (pjsip_hdr_clone_fptr) &pjsip_cseq_hdr_shallow_clone, - (pjsip_hdr_print_fptr) &pjsip_cseq_hdr_print, -}; - -PJ_DEF(pjsip_cseq_hdr*) pjsip_cseq_hdr_init( pj_pool_t *pool, - void *mem ) -{ - pjsip_cseq_hdr *hdr = (pjsip_cseq_hdr*) mem; - - PJ_UNUSED_ARG(pool); - - init_hdr(hdr, PJSIP_H_CSEQ, &cseq_hdr_vptr); - hdr->cseq = 0; - hdr->method.id = PJSIP_OTHER_METHOD; - hdr->method.name.ptr = NULL; - hdr->method.name.slen = 0; - return hdr; -} - -PJ_DEF(pjsip_cseq_hdr*) pjsip_cseq_hdr_create( pj_pool_t *pool ) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_cseq_hdr)); - return pjsip_cseq_hdr_init(pool, mem); -} - -static int pjsip_cseq_hdr_print( pjsip_cseq_hdr *hdr, char *buf, pj_size_t size) -{ - char *p = buf; - int len; - /* CSeq doesn't have compact form */ - - if ((pj_ssize_t)size < hdr->name.slen + hdr->method.name.slen + 15) - return -1; - - pj_memcpy(p, hdr->name.ptr, hdr->name.slen); - p += hdr->name.slen; - *p++ = ':'; - *p++ = ' '; - - len = pj_utoa(hdr->cseq, p); - p += len; - *p++ = ' '; - - pj_memcpy(p, hdr->method.name.ptr, hdr->method.name.slen); - p += hdr->method.name.slen; - - *p = '\0'; - - return p-buf; -} - -static pjsip_cseq_hdr* pjsip_cseq_hdr_clone( pj_pool_t *pool, - const pjsip_cseq_hdr *rhs) -{ - pjsip_cseq_hdr *hdr = pjsip_cseq_hdr_create(pool); - hdr->cseq = rhs->cseq; - pjsip_method_copy(pool, &hdr->method, &rhs->method); - return hdr; -} - -static pjsip_cseq_hdr* pjsip_cseq_hdr_shallow_clone( pj_pool_t *pool, - const pjsip_cseq_hdr *rhs ) -{ - pjsip_cseq_hdr *hdr = PJ_POOL_ALLOC_T(pool, pjsip_cseq_hdr); - pj_memcpy(hdr, rhs, sizeof(*hdr)); - return hdr; -} - - -/////////////////////////////////////////////////////////////////////////////// -/* - * Contact header. - */ -static int pjsip_contact_hdr_print( pjsip_contact_hdr *hdr, char *buf, pj_size_t size); -static pjsip_contact_hdr* pjsip_contact_hdr_clone( pj_pool_t *pool, const pjsip_contact_hdr *hdr); -static pjsip_contact_hdr* pjsip_contact_hdr_shallow_clone( pj_pool_t *pool, const pjsip_contact_hdr *); - -static pjsip_hdr_vptr contact_hdr_vptr = -{ - (pjsip_hdr_clone_fptr) &pjsip_contact_hdr_clone, - (pjsip_hdr_clone_fptr) &pjsip_contact_hdr_shallow_clone, - (pjsip_hdr_print_fptr) &pjsip_contact_hdr_print, -}; - -PJ_DEF(pjsip_contact_hdr*) pjsip_contact_hdr_init( pj_pool_t *pool, - void *mem ) -{ - pjsip_contact_hdr *hdr = (pjsip_contact_hdr*) mem; - - PJ_UNUSED_ARG(pool); - - pj_bzero(mem, sizeof(pjsip_contact_hdr)); - init_hdr(hdr, PJSIP_H_CONTACT, &contact_hdr_vptr); - hdr->expires = -1; - pj_list_init(&hdr->other_param); - return hdr; -} - -PJ_DEF(pjsip_contact_hdr*) pjsip_contact_hdr_create( pj_pool_t *pool ) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_contact_hdr)); - return pjsip_contact_hdr_init(pool, mem); -} - -static int pjsip_contact_hdr_print( pjsip_contact_hdr *hdr, char *buf, - pj_size_t size) -{ - const pj_str_t *hname = pjsip_use_compact_form? &hdr->sname : &hdr->name; - const pjsip_parser_const_t *pc = pjsip_parser_const(); - - if (hdr->star) { - char *p = buf; - if ((pj_ssize_t)size < hname->slen + 6) - return -1; - pj_memcpy(p, hname->ptr, hname->slen); - p += hname->slen; - *p++ = ':'; - *p++ = ' '; - *p++ = '*'; - return p - buf; - - } else { - int printed; - char *startbuf = buf; - char *endbuf = buf + size; - - copy_advance(buf, (*hname)); - *buf++ = ':'; - *buf++ = ' '; - - printed = pjsip_uri_print(PJSIP_URI_IN_CONTACT_HDR, hdr->uri, - buf, endbuf-buf); - if (printed < 1) - return -1; - - buf += printed; - - if (hdr->q1000) { - unsigned frac; - - if (buf+19 >= endbuf) - return -1; - - /* - printed = sprintf(buf, ";q=%u.%03u", - hdr->q1000/1000, hdr->q1000 % 1000); - */ - pj_memcpy(buf, ";q=", 3); - printed = pj_utoa(hdr->q1000/1000, buf+3); - buf += printed + 3; - frac = hdr->q1000 % 1000; - if (frac != 0) { - *buf++ = '.'; - if ((frac % 100)==0) frac /= 100; - if ((frac % 10)==0) frac /= 10; - printed = pj_utoa(frac, buf); - buf += printed; - } - } - - if (hdr->expires >= 0) { - if (buf+23 >= endbuf) - return -1; - - pj_memcpy(buf, ";expires=", 9); - printed = pj_utoa(hdr->expires, buf+9); - buf += printed + 9; - } - - printed = pjsip_param_print_on(&hdr->other_param, buf, endbuf-buf, - &pc->pjsip_TOKEN_SPEC, - &pc->pjsip_TOKEN_SPEC, - ';'); - if (printed < 0) - return printed; - buf += printed; - - return buf-startbuf; - } -} - -static pjsip_contact_hdr* pjsip_contact_hdr_clone(pj_pool_t *pool, - const pjsip_contact_hdr *rhs) -{ - pjsip_contact_hdr *hdr = pjsip_contact_hdr_create(pool); - - hdr->star = rhs->star; - if (hdr->star) - return hdr; - - hdr->uri = (pjsip_uri*) pjsip_uri_clone(pool, rhs->uri); - hdr->q1000 = rhs->q1000; - hdr->expires = rhs->expires; - pjsip_param_clone(pool, &hdr->other_param, &rhs->other_param); - return hdr; -} - -static pjsip_contact_hdr* -pjsip_contact_hdr_shallow_clone( pj_pool_t *pool, - const pjsip_contact_hdr *rhs) -{ - pjsip_contact_hdr *hdr = PJ_POOL_ALLOC_T(pool, pjsip_contact_hdr); - pj_memcpy(hdr, rhs, sizeof(*hdr)); - pjsip_param_shallow_clone(pool, &hdr->other_param, &rhs->other_param); - return hdr; -} - -/////////////////////////////////////////////////////////////////////////////// -/* - * Content-Type header.. - */ -static int pjsip_ctype_hdr_print( pjsip_ctype_hdr *hdr, char *buf, - pj_size_t size); -static pjsip_ctype_hdr* pjsip_ctype_hdr_clone(pj_pool_t *pool, - const pjsip_ctype_hdr *hdr); -#define pjsip_ctype_hdr_shallow_clone pjsip_ctype_hdr_clone - -static pjsip_hdr_vptr ctype_hdr_vptr = -{ - (pjsip_hdr_clone_fptr) &pjsip_ctype_hdr_clone, - (pjsip_hdr_clone_fptr) &pjsip_ctype_hdr_shallow_clone, - (pjsip_hdr_print_fptr) &pjsip_ctype_hdr_print, -}; - -PJ_DEF(pjsip_ctype_hdr*) pjsip_ctype_hdr_init( pj_pool_t *pool, - void *mem ) -{ - pjsip_ctype_hdr *hdr = (pjsip_ctype_hdr*) mem; - - PJ_UNUSED_ARG(pool); - - pj_bzero(mem, sizeof(pjsip_ctype_hdr)); - init_hdr(hdr, PJSIP_H_CONTENT_TYPE, &ctype_hdr_vptr); - pj_list_init(&hdr->media.param); - return hdr; - -} - -PJ_DEF(pjsip_ctype_hdr*) pjsip_ctype_hdr_create( pj_pool_t *pool ) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_ctype_hdr)); - return pjsip_ctype_hdr_init(pool, mem); -} - -static int print_media_type(char *buf, unsigned len, - const pjsip_media_type *media) -{ - char *p = buf; - pj_ssize_t printed; - const pjsip_parser_const_t *pc; - - pj_memcpy(p, media->type.ptr, media->type.slen); - p += media->type.slen; - *p++ = '/'; - pj_memcpy(p, media->subtype.ptr, media->subtype.slen); - p += media->subtype.slen; - - pc = pjsip_parser_const(); - printed = pjsip_param_print_on(&media->param, p, buf+len-p, - &pc->pjsip_TOKEN_SPEC, - &pc->pjsip_TOKEN_SPEC, ';'); - if (printed < 0) - return -1; - - p += printed; - - return p-buf; -} - - -PJ_DEF(int) pjsip_media_type_print(char *buf, unsigned len, - const pjsip_media_type *media) -{ - return print_media_type(buf, len, media); -} - -static int pjsip_ctype_hdr_print( pjsip_ctype_hdr *hdr, - char *buf, pj_size_t size) -{ - char *p = buf; - int len; - const pj_str_t *hname = pjsip_use_compact_form? &hdr->sname : &hdr->name; - - if ((pj_ssize_t)size < hname->slen + - hdr->media.type.slen + hdr->media.subtype.slen + 8) - { - return -1; - } - - pj_memcpy(p, hname->ptr, hname->slen); - p += hname->slen; - *p++ = ':'; - *p++ = ' '; - - len = print_media_type(p, buf+size-p, &hdr->media); - p += len; - - *p = '\0'; - return p-buf; -} - -static pjsip_ctype_hdr* pjsip_ctype_hdr_clone( pj_pool_t *pool, - const pjsip_ctype_hdr *rhs) -{ - pjsip_ctype_hdr *hdr = pjsip_ctype_hdr_create(pool); - pj_strdup(pool, &hdr->media.type, &rhs->media.type); - pj_strdup(pool, &hdr->media.subtype, &rhs->media.subtype); - pjsip_param_clone(pool, &hdr->media.param, &rhs->media.param); - return hdr; -} - - -/////////////////////////////////////////////////////////////////////////////// -/* - * Expires header. - */ -PJ_DEF(pjsip_expires_hdr*) pjsip_expires_hdr_init( pj_pool_t *pool, - void *mem, - int value) -{ - pjsip_expires_hdr *hdr = (pjsip_expires_hdr*) mem; - - PJ_UNUSED_ARG(pool); - - init_hdr(hdr, PJSIP_H_EXPIRES, &generic_int_hdr_vptr); - hdr->ivalue = value; - return hdr; - -} - -PJ_DEF(pjsip_expires_hdr*) pjsip_expires_hdr_create( pj_pool_t *pool, - int value ) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_expires_hdr)); - return pjsip_expires_hdr_init(pool, mem, value); -} - -/////////////////////////////////////////////////////////////////////////////// -/* - * To or From header. - */ -static int pjsip_fromto_hdr_print( pjsip_fromto_hdr *hdr, - char *buf, pj_size_t size); -static pjsip_fromto_hdr* pjsip_fromto_hdr_clone( pj_pool_t *pool, - const pjsip_fromto_hdr *hdr); -static pjsip_fromto_hdr* pjsip_fromto_hdr_shallow_clone( pj_pool_t *pool, - const pjsip_fromto_hdr *hdr); - - -static pjsip_hdr_vptr fromto_hdr_vptr = -{ - (pjsip_hdr_clone_fptr) &pjsip_fromto_hdr_clone, - (pjsip_hdr_clone_fptr) &pjsip_fromto_hdr_shallow_clone, - (pjsip_hdr_print_fptr) &pjsip_fromto_hdr_print, -}; - -PJ_DEF(pjsip_from_hdr*) pjsip_from_hdr_init( pj_pool_t *pool, - void *mem ) -{ - pjsip_from_hdr *hdr = (pjsip_from_hdr*) mem; - - PJ_UNUSED_ARG(pool); - - pj_bzero(mem, sizeof(pjsip_from_hdr)); - init_hdr(hdr, PJSIP_H_FROM, &fromto_hdr_vptr); - pj_list_init(&hdr->other_param); - return hdr; -} - -PJ_DEF(pjsip_from_hdr*) pjsip_from_hdr_create( pj_pool_t *pool ) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_from_hdr)); - return pjsip_from_hdr_init(pool, mem); -} - -PJ_DEF(pjsip_to_hdr*) pjsip_to_hdr_init( pj_pool_t *pool, - void *mem ) -{ - pjsip_to_hdr *hdr = (pjsip_to_hdr*) mem; - - PJ_UNUSED_ARG(pool); - - pj_bzero(mem, sizeof(pjsip_to_hdr)); - init_hdr(hdr, PJSIP_H_TO, &fromto_hdr_vptr); - pj_list_init(&hdr->other_param); - return hdr; - -} - -PJ_DEF(pjsip_to_hdr*) pjsip_to_hdr_create( pj_pool_t *pool ) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_to_hdr)); - return pjsip_to_hdr_init(pool, mem); -} - -PJ_DEF(pjsip_from_hdr*) pjsip_fromto_hdr_set_from( pjsip_fromto_hdr *hdr ) -{ - hdr->type = PJSIP_H_FROM; - hdr->name.ptr = pjsip_hdr_names[PJSIP_H_FROM].name; - hdr->name.slen = pjsip_hdr_names[PJSIP_H_FROM].name_len; - hdr->sname.ptr = pjsip_hdr_names[PJSIP_H_FROM].sname; - hdr->sname.slen = 1; - return hdr; -} - -PJ_DEF(pjsip_to_hdr*) pjsip_fromto_hdr_set_to( pjsip_fromto_hdr *hdr ) -{ - hdr->type = PJSIP_H_TO; - hdr->name.ptr = pjsip_hdr_names[PJSIP_H_TO].name; - hdr->name.slen = pjsip_hdr_names[PJSIP_H_TO].name_len; - hdr->sname.ptr = pjsip_hdr_names[PJSIP_H_TO].sname; - hdr->sname.slen = 1; - return hdr; -} - -static int pjsip_fromto_hdr_print( pjsip_fromto_hdr *hdr, - char *buf, pj_size_t size) -{ - int printed; - char *startbuf = buf; - char *endbuf = buf + size; - const pj_str_t *hname = pjsip_use_compact_form? &hdr->sname : &hdr->name; - const pjsip_parser_const_t *pc = pjsip_parser_const(); - - copy_advance(buf, (*hname)); - *buf++ = ':'; - *buf++ = ' '; - - printed = pjsip_uri_print(PJSIP_URI_IN_FROMTO_HDR, hdr->uri, - buf, endbuf-buf); - if (printed < 1) - return -1; - - buf += printed; - - copy_advance_pair_escape(buf, ";tag=", 5, hdr->tag, - pc->pjsip_TOKEN_SPEC); - - printed = pjsip_param_print_on(&hdr->other_param, buf, endbuf-buf, - &pc->pjsip_TOKEN_SPEC, - &pc->pjsip_TOKEN_SPEC, ';'); - if (printed < 0) - return -1; - buf += printed; - - return buf-startbuf; -} - -static pjsip_fromto_hdr* pjsip_fromto_hdr_clone( pj_pool_t *pool, - const pjsip_fromto_hdr *rhs) -{ - pjsip_fromto_hdr *hdr = pjsip_from_hdr_create(pool); - - hdr->type = rhs->type; - hdr->name = rhs->name; - hdr->sname = rhs->sname; - hdr->uri = (pjsip_uri*) pjsip_uri_clone(pool, rhs->uri); - pj_strdup( pool, &hdr->tag, &rhs->tag); - pjsip_param_clone( pool, &hdr->other_param, &rhs->other_param); - - return hdr; -} - -static pjsip_fromto_hdr* -pjsip_fromto_hdr_shallow_clone( pj_pool_t *pool, - const pjsip_fromto_hdr *rhs) -{ - pjsip_fromto_hdr *hdr = PJ_POOL_ALLOC_T(pool, pjsip_fromto_hdr); - pj_memcpy(hdr, rhs, sizeof(*hdr)); - pjsip_param_shallow_clone( pool, &hdr->other_param, &rhs->other_param); - return hdr; -} - - -/////////////////////////////////////////////////////////////////////////////// -/* - * Max-Forwards header. - */ -PJ_DEF(pjsip_max_fwd_hdr*) pjsip_max_fwd_hdr_init( pj_pool_t *pool, - void *mem, - int value) -{ - pjsip_max_fwd_hdr *hdr = (pjsip_max_fwd_hdr*) mem; - - PJ_UNUSED_ARG(pool); - - init_hdr(hdr, PJSIP_H_MAX_FORWARDS, &generic_int_hdr_vptr); - hdr->ivalue = value; - return hdr; - -} - -PJ_DEF(pjsip_max_fwd_hdr*) pjsip_max_fwd_hdr_create(pj_pool_t *pool, - int value) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_max_fwd_hdr)); - return pjsip_max_fwd_hdr_init(pool, mem, value); -} - - -/////////////////////////////////////////////////////////////////////////////// -/* - * Min-Expires header. - */ -PJ_DEF(pjsip_min_expires_hdr*) pjsip_min_expires_hdr_init( pj_pool_t *pool, - void *mem, - int value ) -{ - pjsip_min_expires_hdr *hdr = (pjsip_min_expires_hdr*) mem; - - PJ_UNUSED_ARG(pool); - - init_hdr(hdr, PJSIP_H_MIN_EXPIRES, &generic_int_hdr_vptr); - hdr->ivalue = value; - return hdr; -} - -PJ_DEF(pjsip_min_expires_hdr*) pjsip_min_expires_hdr_create(pj_pool_t *pool, - int value ) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_min_expires_hdr)); - return pjsip_min_expires_hdr_init(pool, mem, value ); -} - -/////////////////////////////////////////////////////////////////////////////// -/* - * Record-Route and Route header. - */ -static int pjsip_routing_hdr_print( pjsip_routing_hdr *r, char *buf, pj_size_t size ); -static pjsip_routing_hdr* pjsip_routing_hdr_clone( pj_pool_t *pool, const pjsip_routing_hdr *r ); -static pjsip_routing_hdr* pjsip_routing_hdr_shallow_clone( pj_pool_t *pool, const pjsip_routing_hdr *r ); - -static pjsip_hdr_vptr routing_hdr_vptr = -{ - (pjsip_hdr_clone_fptr) &pjsip_routing_hdr_clone, - (pjsip_hdr_clone_fptr) &pjsip_routing_hdr_shallow_clone, - (pjsip_hdr_print_fptr) &pjsip_routing_hdr_print, -}; - -PJ_DEF(pjsip_rr_hdr*) pjsip_rr_hdr_init( pj_pool_t *pool, - void *mem ) -{ - pjsip_rr_hdr *hdr = (pjsip_rr_hdr*) mem; - - PJ_UNUSED_ARG(pool); - - init_hdr(hdr, PJSIP_H_RECORD_ROUTE, &routing_hdr_vptr); - pjsip_name_addr_init(&hdr->name_addr); - pj_list_init(&hdr->other_param); - return hdr; - -} - -PJ_DEF(pjsip_rr_hdr*) pjsip_rr_hdr_create( pj_pool_t *pool ) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_rr_hdr)); - return pjsip_rr_hdr_init(pool, mem); -} - -PJ_DEF(pjsip_route_hdr*) pjsip_route_hdr_init( pj_pool_t *pool, - void *mem ) -{ - pjsip_route_hdr *hdr = (pjsip_route_hdr*) mem; - - PJ_UNUSED_ARG(pool); - - init_hdr(hdr, PJSIP_H_ROUTE, &routing_hdr_vptr); - pjsip_name_addr_init(&hdr->name_addr); - pj_list_init(&hdr->other_param); - return hdr; -} - -PJ_DEF(pjsip_route_hdr*) pjsip_route_hdr_create( pj_pool_t *pool ) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_route_hdr)); - return pjsip_route_hdr_init(pool, mem); -} - -PJ_DEF(pjsip_rr_hdr*) pjsip_routing_hdr_set_rr( pjsip_routing_hdr *hdr ) -{ - hdr->type = PJSIP_H_RECORD_ROUTE; - hdr->name.ptr = pjsip_hdr_names[PJSIP_H_RECORD_ROUTE].name; - hdr->name.slen = pjsip_hdr_names[PJSIP_H_RECORD_ROUTE].name_len; - hdr->sname = hdr->name; - return hdr; -} - -PJ_DEF(pjsip_route_hdr*) pjsip_routing_hdr_set_route( pjsip_routing_hdr *hdr ) -{ - hdr->type = PJSIP_H_ROUTE; - hdr->name.ptr = pjsip_hdr_names[PJSIP_H_ROUTE].name; - hdr->name.slen = pjsip_hdr_names[PJSIP_H_ROUTE].name_len; - hdr->sname = hdr->name; - return hdr; -} - -static int pjsip_routing_hdr_print( pjsip_routing_hdr *hdr, - char *buf, pj_size_t size ) -{ - int printed; - char *startbuf = buf; - char *endbuf = buf + size; - const pjsip_parser_const_t *pc = pjsip_parser_const(); - pjsip_sip_uri *sip_uri; - pjsip_param *p; - - /* Check the proprietary param 'hide', don't print this header - * if it exists in the route URI. - */ - sip_uri = (pjsip_sip_uri*) pjsip_uri_get_uri(hdr->name_addr.uri); - p = sip_uri->other_param.next; - while (p != &sip_uri->other_param) { - const pj_str_t st_hide = {"hide", 4}; - - if (pj_stricmp(&p->name, &st_hide) == 0) { - /* Check if param 'hide' is specified without 'lr'. */ - pj_assert(sip_uri->lr_param != 0); - return 0; - } - p = p->next; - } - - /* Route and Record-Route don't compact forms */ - - copy_advance(buf, hdr->name); - *buf++ = ':'; - *buf++ = ' '; - - printed = pjsip_uri_print(PJSIP_URI_IN_ROUTING_HDR, &hdr->name_addr, buf, - endbuf-buf); - if (printed < 1) - return -1; - buf += printed; - - printed = pjsip_param_print_on(&hdr->other_param, buf, endbuf-buf, - &pc->pjsip_TOKEN_SPEC, - &pc->pjsip_TOKEN_SPEC, ';'); - if (printed < 0) - return -1; - buf += printed; - - return buf-startbuf; -} - -static pjsip_routing_hdr* pjsip_routing_hdr_clone( pj_pool_t *pool, - const pjsip_routing_hdr *rhs ) -{ - pjsip_routing_hdr *hdr = PJ_POOL_ALLOC_T(pool, pjsip_routing_hdr); - - init_hdr(hdr, rhs->type, rhs->vptr); - pjsip_name_addr_init(&hdr->name_addr); - pjsip_name_addr_assign(pool, &hdr->name_addr, &rhs->name_addr); - pjsip_param_clone( pool, &hdr->other_param, &rhs->other_param); - return hdr; -} - -static pjsip_routing_hdr* pjsip_routing_hdr_shallow_clone( pj_pool_t *pool, - const pjsip_routing_hdr *rhs ) -{ - pjsip_routing_hdr *hdr = PJ_POOL_ALLOC_T(pool, pjsip_routing_hdr); - pj_memcpy(hdr, rhs, sizeof(*hdr)); - pjsip_param_shallow_clone( pool, &hdr->other_param, &rhs->other_param); - return hdr; -} - - -/////////////////////////////////////////////////////////////////////////////// -/* - * Require header. - */ -PJ_DEF(pjsip_require_hdr*) pjsip_require_hdr_init( pj_pool_t *pool, - void *mem ) -{ - pjsip_require_hdr *hdr = (pjsip_require_hdr*) mem; - - PJ_UNUSED_ARG(pool); - - init_hdr(hdr, PJSIP_H_REQUIRE, &generic_array_hdr_vptr); - hdr->count = 0; - return hdr; -} - -PJ_DEF(pjsip_require_hdr*) pjsip_require_hdr_create(pj_pool_t *pool) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_require_hdr)); - return pjsip_require_hdr_init(pool, mem); -} - -/////////////////////////////////////////////////////////////////////////////// -/* - * Retry-After header. - */ -static int pjsip_retry_after_hdr_print(pjsip_retry_after_hdr *r, - char *buf, pj_size_t size ); -static pjsip_retry_after_hdr* pjsip_retry_after_hdr_clone(pj_pool_t *pool, - const pjsip_retry_after_hdr *r); -static pjsip_retry_after_hdr* -pjsip_retry_after_hdr_shallow_clone(pj_pool_t *pool, - const pjsip_retry_after_hdr *r ); - -static pjsip_hdr_vptr retry_after_hdr_vptr = -{ - (pjsip_hdr_clone_fptr) &pjsip_retry_after_hdr_clone, - (pjsip_hdr_clone_fptr) &pjsip_retry_after_hdr_shallow_clone, - (pjsip_hdr_print_fptr) &pjsip_retry_after_hdr_print, -}; - - -PJ_DEF(pjsip_retry_after_hdr*) pjsip_retry_after_hdr_init( pj_pool_t *pool, - void *mem, - int value ) -{ - pjsip_retry_after_hdr *hdr = (pjsip_retry_after_hdr*) mem; - - PJ_UNUSED_ARG(pool); - - init_hdr(hdr, PJSIP_H_RETRY_AFTER, &retry_after_hdr_vptr); - hdr->ivalue = value; - hdr->comment.slen = 0; - pj_list_init(&hdr->param); - return hdr; -} - -PJ_DEF(pjsip_retry_after_hdr*) pjsip_retry_after_hdr_create(pj_pool_t *pool, - int value ) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_retry_after_hdr)); - return pjsip_retry_after_hdr_init(pool, mem, value ); -} - - -static int pjsip_retry_after_hdr_print(pjsip_retry_after_hdr *hdr, - char *buf, pj_size_t size) -{ - char *p = buf; - char *endbuf = buf + size; - const pj_str_t *hname = &hdr->name; - const pjsip_parser_const_t *pc = pjsip_parser_const(); - int printed; - - if ((pj_ssize_t)size < hdr->name.slen + 2+11) - return -1; - - pj_memcpy(p, hdr->name.ptr, hdr->name.slen); - p += hname->slen; - *p++ = ':'; - *p++ = ' '; - - p += pj_utoa(hdr->ivalue, p); - - if (hdr->comment.slen) { - pj_bool_t enclosed; - - if (endbuf-p < hdr->comment.slen + 3) - return -1; - - enclosed = (*hdr->comment.ptr == '('); - if (!enclosed) - *p++ = '('; - pj_memcpy(p, hdr->comment.ptr, hdr->comment.slen); - p += hdr->comment.slen; - if (!enclosed) - *p++ = ')'; - - if (!pj_list_empty(&hdr->param)) - *p++ = ' '; - } - - printed = pjsip_param_print_on(&hdr->param, p, endbuf-p, - &pc->pjsip_TOKEN_SPEC, - &pc->pjsip_TOKEN_SPEC, - ';'); - if (printed < 0) - return printed; - - p += printed; - - return p - buf; -} - -static pjsip_retry_after_hdr* pjsip_retry_after_hdr_clone(pj_pool_t *pool, - const pjsip_retry_after_hdr *rhs) -{ - pjsip_retry_after_hdr *hdr = pjsip_retry_after_hdr_create(pool, rhs->ivalue); - pj_strdup(pool, &hdr->comment, &rhs->comment); - pjsip_param_clone(pool, &hdr->param, &rhs->param); - return hdr; -} - -static pjsip_retry_after_hdr* -pjsip_retry_after_hdr_shallow_clone(pj_pool_t *pool, - const pjsip_retry_after_hdr *rhs) -{ - pjsip_retry_after_hdr *hdr = PJ_POOL_ALLOC_T(pool, pjsip_retry_after_hdr); - pj_memcpy(hdr, rhs, sizeof(*hdr)); - pjsip_param_shallow_clone(pool, &hdr->param, &rhs->param); - return hdr; -} - -/////////////////////////////////////////////////////////////////////////////// -/* - * Supported header. - */ -PJ_DEF(pjsip_supported_hdr*) pjsip_supported_hdr_init( pj_pool_t *pool, - void *mem ) -{ - pjsip_supported_hdr *hdr = (pjsip_supported_hdr*) mem; - - PJ_UNUSED_ARG(pool); - init_hdr(hdr, PJSIP_H_SUPPORTED, &generic_array_hdr_vptr); - hdr->count = 0; - return hdr; -} - -PJ_DEF(pjsip_supported_hdr*) pjsip_supported_hdr_create(pj_pool_t *pool) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_supported_hdr)); - return pjsip_supported_hdr_init(pool, mem); -} - - -/////////////////////////////////////////////////////////////////////////////// -/* - * Unsupported header. - */ -PJ_DEF(pjsip_unsupported_hdr*) pjsip_unsupported_hdr_init( pj_pool_t *pool, - void *mem ) -{ - pjsip_unsupported_hdr *hdr = (pjsip_unsupported_hdr*) mem; - - PJ_UNUSED_ARG(pool); - - init_hdr(hdr, PJSIP_H_UNSUPPORTED, &generic_array_hdr_vptr); - hdr->count = 0; - return hdr; -} - -PJ_DEF(pjsip_unsupported_hdr*) pjsip_unsupported_hdr_create(pj_pool_t *pool) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_unsupported_hdr)); - return pjsip_unsupported_hdr_init(pool, mem); -} - -/////////////////////////////////////////////////////////////////////////////// -/* - * Via header. - */ -static int pjsip_via_hdr_print( pjsip_via_hdr *hdr, char *buf, pj_size_t size); -static pjsip_via_hdr* pjsip_via_hdr_clone( pj_pool_t *pool, const pjsip_via_hdr *hdr); -static pjsip_via_hdr* pjsip_via_hdr_shallow_clone( pj_pool_t *pool, const pjsip_via_hdr *hdr ); - -static pjsip_hdr_vptr via_hdr_vptr = -{ - (pjsip_hdr_clone_fptr) &pjsip_via_hdr_clone, - (pjsip_hdr_clone_fptr) &pjsip_via_hdr_shallow_clone, - (pjsip_hdr_print_fptr) &pjsip_via_hdr_print, -}; - -PJ_DEF(pjsip_via_hdr*) pjsip_via_hdr_init( pj_pool_t *pool, - void *mem ) -{ - pjsip_via_hdr *hdr = (pjsip_via_hdr*) mem; - - PJ_UNUSED_ARG(pool); - - pj_bzero(mem, sizeof(pjsip_via_hdr)); - init_hdr(hdr, PJSIP_H_VIA, &via_hdr_vptr); - hdr->ttl_param = -1; - hdr->rport_param = -1; - pj_list_init(&hdr->other_param); - return hdr; - -} - -PJ_DEF(pjsip_via_hdr*) pjsip_via_hdr_create( pj_pool_t *pool ) -{ - void *mem = pj_pool_alloc(pool, sizeof(pjsip_via_hdr)); - return pjsip_via_hdr_init(pool, mem); -} - -static int pjsip_via_hdr_print( pjsip_via_hdr *hdr, - char *buf, pj_size_t size) -{ - int printed; - char *startbuf = buf; - char *endbuf = buf + size; - pj_str_t sip_ver = { "SIP/2.0/", 8 }; - const pj_str_t *hname = pjsip_use_compact_form? &hdr->sname : &hdr->name; - const pjsip_parser_const_t *pc = pjsip_parser_const(); - - if ((pj_ssize_t)size < hname->slen + sip_ver.slen + - hdr->transport.slen + hdr->sent_by.host.slen + 12) - { - return -1; - } - - /* pjsip_hdr_names */ - copy_advance(buf, (*hname)); - *buf++ = ':'; - *buf++ = ' '; - - /* SIP/2.0/transport host:port */ - pj_memcpy(buf, sip_ver.ptr, sip_ver.slen); - buf += sip_ver.slen; - //pj_memcpy(buf, hdr->transport.ptr, hdr->transport.slen); - /* Convert transport type to UPPERCASE (some endpoints want that) */ - { - int i; - for (i=0; itransport.slen; ++i) { - buf[i] = (char)pj_toupper(hdr->transport.ptr[i]); - } - } - buf += hdr->transport.slen; - *buf++ = ' '; - - /* Check if host contains IPv6 */ - if (pj_memchr(hdr->sent_by.host.ptr, ':', hdr->sent_by.host.slen)) { - copy_advance_pair_quote_cond(buf, "", 0, hdr->sent_by.host, '[', ']'); - } else { - copy_advance_check(buf, hdr->sent_by.host); - } - - if (hdr->sent_by.port != 0) { - *buf++ = ':'; - printed = pj_utoa(hdr->sent_by.port, buf); - buf += printed; - } - - if (hdr->ttl_param >= 0) { - size = endbuf-buf; - if (size < 14) - return -1; - pj_memcpy(buf, ";ttl=", 5); - printed = pj_utoa(hdr->ttl_param, buf+5); - buf += printed + 5; - } - - if (hdr->rport_param >= 0) { - size = endbuf-buf; - if (size < 14) - return -1; - pj_memcpy(buf, ";rport", 6); - buf += 6; - if (hdr->rport_param > 0) { - *buf++ = '='; - buf += pj_utoa(hdr->rport_param, buf); - } - } - - - if (hdr->maddr_param.slen) { - /* Detect IPv6 IP address */ - if (pj_memchr(hdr->maddr_param.ptr, ':', hdr->maddr_param.slen)) { - copy_advance_pair_quote_cond(buf, ";maddr=", 7, hdr->maddr_param, - '[', ']'); - } else { - copy_advance_pair(buf, ";maddr=", 7, hdr->maddr_param); - } - } - - copy_advance_pair(buf, ";received=", 10, hdr->recvd_param); - copy_advance_pair_escape(buf, ";branch=", 8, hdr->branch_param, - pc->pjsip_TOKEN_SPEC); - - printed = pjsip_param_print_on(&hdr->other_param, buf, endbuf-buf, - &pc->pjsip_TOKEN_SPEC, - &pc->pjsip_TOKEN_SPEC, ';'); - if (printed < 0) - return -1; - buf += printed; - - return buf-startbuf; -} - -static pjsip_via_hdr* pjsip_via_hdr_clone( pj_pool_t *pool, - const pjsip_via_hdr *rhs) -{ - pjsip_via_hdr *hdr = pjsip_via_hdr_create(pool); - pj_strdup(pool, &hdr->transport, &rhs->transport); - pj_strdup(pool, &hdr->sent_by.host, &rhs->sent_by.host); - hdr->sent_by.port = rhs->sent_by.port; - hdr->ttl_param = rhs->ttl_param; - hdr->rport_param = rhs->rport_param; - pj_strdup(pool, &hdr->maddr_param, &rhs->maddr_param); - pj_strdup(pool, &hdr->recvd_param, &rhs->recvd_param); - pj_strdup(pool, &hdr->branch_param, &rhs->branch_param); - pjsip_param_clone(pool, &hdr->other_param, &rhs->other_param); - return hdr; -} - -static pjsip_via_hdr* pjsip_via_hdr_shallow_clone( pj_pool_t *pool, - const pjsip_via_hdr *rhs ) -{ - pjsip_via_hdr *hdr = PJ_POOL_ALLOC_T(pool, pjsip_via_hdr); - pj_memcpy(hdr, rhs, sizeof(*hdr)); - pjsip_param_shallow_clone(pool, &hdr->other_param, &rhs->other_param); - return hdr; -} - -/////////////////////////////////////////////////////////////////////////////// -/* - * Warning header. - */ -PJ_DEF(pjsip_warning_hdr*) pjsip_warning_hdr_create( pj_pool_t *pool, - int code, - const pj_str_t *host, - const pj_str_t *text) -{ - const pj_str_t str_warning = { "Warning", 7 }; - pj_str_t hvalue; - - hvalue.ptr = (char*) pj_pool_alloc(pool, 10 + /* code */ - host->slen + 2 + /* host */ - text->slen + 2); /* text */ - hvalue.slen = pj_ansi_sprintf(hvalue.ptr, "%u %.*s \"%.*s\"", - code, (int)host->slen, host->ptr, - (int)text->slen, text->ptr); - - return pjsip_generic_string_hdr_create(pool, &str_warning, &hvalue); -} - -PJ_DEF(pjsip_warning_hdr*) pjsip_warning_hdr_create_from_status(pj_pool_t *pool, - const pj_str_t *host, - pj_status_t status) -{ - char errbuf[PJ_ERR_MSG_SIZE]; - pj_str_t text; - - text = pj_strerror(status, errbuf, sizeof(errbuf)); - return pjsip_warning_hdr_create(pool, 399, host, &text); -} - -/////////////////////////////////////////////////////////////////////////////// -/* - * Message body manipulations. - */ -PJ_DEF(int) pjsip_print_text_body(pjsip_msg_body *msg_body, char *buf, pj_size_t size) -{ - if (size < msg_body->len) - return -1; - pj_memcpy(buf, msg_body->data, msg_body->len); - return msg_body->len; -} - -PJ_DEF(void*) pjsip_clone_text_data( pj_pool_t *pool, const void *data, - unsigned len) -{ - char *newdata = ""; - - if (len) { - newdata = (char*) pj_pool_alloc(pool, len); - pj_memcpy(newdata, data, len); - } - return newdata; -} - -PJ_DEF(pj_status_t) pjsip_msg_body_copy( pj_pool_t *pool, - pjsip_msg_body *dst_body, - const pjsip_msg_body *src_body ) -{ - /* First check if clone_data field is initialized. */ - PJ_ASSERT_RETURN( src_body->clone_data!=NULL, PJ_EINVAL ); - - /* Duplicate content-type */ - pjsip_media_type_cp(pool, &dst_body->content_type, - &src_body->content_type); - - /* Duplicate data. */ - dst_body->data = (*src_body->clone_data)(pool, src_body->data, - src_body->len ); - - /* Length. */ - dst_body->len = src_body->len; - - /* Function pointers. */ - dst_body->print_body = src_body->print_body; - dst_body->clone_data = src_body->clone_data; - - return PJ_SUCCESS; -} - - -PJ_DEF(pjsip_msg_body*) pjsip_msg_body_clone( pj_pool_t *pool, - const pjsip_msg_body *body ) -{ - pjsip_msg_body *new_body; - pj_status_t status; - - new_body = PJ_POOL_ALLOC_T(pool, pjsip_msg_body); - PJ_ASSERT_RETURN(new_body, NULL); - - status = pjsip_msg_body_copy(pool, new_body, body); - - return (status==PJ_SUCCESS) ? new_body : NULL; -} - - -PJ_DEF(pjsip_msg_body*) pjsip_msg_body_create( pj_pool_t *pool, - const pj_str_t *type, - const pj_str_t *subtype, - const pj_str_t *text ) -{ - pjsip_msg_body *body; - - PJ_ASSERT_RETURN(pool && type && subtype && text, NULL); - - body = PJ_POOL_ZALLOC_T(pool, pjsip_msg_body); - PJ_ASSERT_RETURN(body != NULL, NULL); - - pj_strdup(pool, &body->content_type.type, type); - pj_strdup(pool, &body->content_type.subtype, subtype); - pj_list_init(&body->content_type.param); - - body->data = pj_pool_alloc(pool, text->slen); - pj_memcpy(body->data, text->ptr, text->slen); - body->len = text->slen; - - body->clone_data = &pjsip_clone_text_data; - body->print_body = &pjsip_print_text_body; - - return body; -} - diff --git a/res/pjproject/pjsip/src/pjsip/sip_multipart.c b/res/pjproject/pjsip/src/pjsip/sip_multipart.c deleted file mode 100644 index 45c7fcaaaa..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_multipart.c +++ /dev/null @@ -1,658 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "sip_multipart.c" - -#define IS_SPACE(c) ((c)==' ' || (c)=='\t') - -#if 0 -# define TRACE_(x) PJ_LOG(4,x) -#else -# define TRACE_(x) -#endif - -extern pj_bool_t pjsip_use_compact_form; - -/* Type of "data" in multipart pjsip_msg_body */ -struct multipart_data -{ - pj_str_t boundary; - pjsip_multipart_part part_head; -}; - - -static int multipart_print_body(struct pjsip_msg_body *msg_body, - char *buf, pj_size_t size) -{ - const struct multipart_data *m_data; - pj_str_t clen_hdr = { "Content-Length: ", 16}; - pjsip_multipart_part *part; - char *p = buf, *end = buf+size; - -#define SIZE_LEFT() (end-p) - - m_data = (const struct multipart_data*)msg_body->data; - - PJ_ASSERT_RETURN(m_data && !pj_list_empty(&m_data->part_head), PJ_EINVAL); - - part = m_data->part_head.next; - while (part != &m_data->part_head) { - enum { CLEN_SPACE = 5 }; - char *clen_pos; - const pjsip_hdr *hdr; - - clen_pos = NULL; - - /* Print delimiter */ - if (SIZE_LEFT() <= (m_data->boundary.slen+8) << 1) - return -1; - *p++ = 13; *p++ = 10; *p++ = '-'; *p++ = '-'; - pj_memcpy(p, m_data->boundary.ptr, m_data->boundary.slen); - p += m_data->boundary.slen; - *p++ = 13; *p++ = 10; - - /* Print optional headers */ - hdr = part->hdr.next; - while (hdr != &part->hdr) { - int printed = pjsip_hdr_print_on((pjsip_hdr*)hdr, p, - SIZE_LEFT()-2); - if (printed < 0) - return -1; - p += printed; - *p++ = '\r'; - *p++ = '\n'; - hdr = hdr->next; - } - - /* Automaticly adds Content-Type and Content-Length headers, only - * if content_type is set in the message body. - */ - if (part->body && part->body->content_type.type.slen) { - pj_str_t ctype_hdr = { "Content-Type: ", 14}; - const pjsip_media_type *media = &part->body->content_type; - - if (pjsip_use_compact_form) { - ctype_hdr.ptr = "c: "; - ctype_hdr.slen = 3; - } - - /* Add Content-Type header. */ - if ( (end-p) < 24 + media->type.slen + media->subtype.slen) { - return -1; - } - pj_memcpy(p, ctype_hdr.ptr, ctype_hdr.slen); - p += ctype_hdr.slen; - p += pjsip_media_type_print(p, end-p, media); - *p++ = '\r'; - *p++ = '\n'; - - /* Add Content-Length header. */ - if ((end-p) < clen_hdr.slen + 12 + 2) { - return -1; - } - pj_memcpy(p, clen_hdr.ptr, clen_hdr.slen); - p += clen_hdr.slen; - - /* Print blanks after "Content-Length:", this is where we'll put - * the content length value after we know the length of the - * body. - */ - pj_memset(p, ' ', CLEN_SPACE); - clen_pos = p; - p += CLEN_SPACE; - *p++ = '\r'; - *p++ = '\n'; - } - - /* Empty newline */ - *p++ = 13; *p++ = 10; - - /* Print the body */ - pj_assert(part->body != NULL); - if (part->body) { - int printed = part->body->print_body(part->body, p, SIZE_LEFT()); - if (printed < 0) - return -1; - p += printed; - - /* Now that we have the length of the body, print this to the - * Content-Length header. - */ - if (clen_pos) { - char tmp[16]; - int len; - - len = pj_utoa(printed, tmp); - if (len > CLEN_SPACE) len = CLEN_SPACE; - pj_memcpy(clen_pos+CLEN_SPACE-len, tmp, len); - } - } - - part = part->next; - } - - /* Print closing delimiter */ - if (SIZE_LEFT() < m_data->boundary.slen+8) - return -1; - *p++ = 13; *p++ = 10; *p++ = '-'; *p++ = '-'; - pj_memcpy(p, m_data->boundary.ptr, m_data->boundary.slen); - p += m_data->boundary.slen; - *p++ = '-'; *p++ = '-'; *p++ = 13; *p++ = 10; - -#undef SIZE_LEFT - - return p - buf; -} - -static void* multipart_clone_data(pj_pool_t *pool, const void *data, - unsigned len) -{ - const struct multipart_data *src; - struct multipart_data *dst; - const pjsip_multipart_part *src_part; - - PJ_UNUSED_ARG(len); - - src = (const struct multipart_data*) data; - dst = PJ_POOL_ALLOC_T(pool, struct multipart_data); - - pj_strdup(pool, &dst->boundary, &src->boundary); - - src_part = src->part_head.next; - while (src_part != &src->part_head) { - pjsip_multipart_part *dst_part; - const pjsip_hdr *src_hdr; - - dst_part = pjsip_multipart_create_part(pool); - - src_hdr = src_part->hdr.next; - while (src_hdr != &src_part->hdr) { - pjsip_hdr *dst_hdr = (pjsip_hdr*)pjsip_hdr_clone(pool, src_hdr); - pj_list_push_back(&dst_part->hdr, dst_hdr); - src_hdr = src_hdr->next; - } - - dst_part->body = pjsip_msg_body_clone(pool, src_part->body); - - pj_list_push_back(&dst->part_head, dst_part); - - src_part = src_part->next; - } - - return (void*)dst; -} - -/* - * Create an empty multipart body. - */ -PJ_DEF(pjsip_msg_body*) pjsip_multipart_create( pj_pool_t *pool, - const pjsip_media_type *ctype, - const pj_str_t *boundary) -{ - pjsip_msg_body *body; - pjsip_param *ctype_param; - struct multipart_data *mp_data; - pj_str_t STR_BOUNDARY = { "boundary", 8 }; - - PJ_ASSERT_RETURN(pool, NULL); - - body = PJ_POOL_ZALLOC_T(pool, pjsip_msg_body); - - /* content-type */ - if (ctype && ctype->type.slen) { - pjsip_media_type_cp(pool, &body->content_type, ctype); - } else { - pj_str_t STR_MULTIPART = {"multipart", 9}; - pj_str_t STR_MIXED = { "mixed", 5 }; - - pjsip_media_type_init(&body->content_type, - &STR_MULTIPART, &STR_MIXED); - } - - /* multipart data */ - mp_data = PJ_POOL_ZALLOC_T(pool, struct multipart_data); - pj_list_init(&mp_data->part_head); - if (boundary) { - pj_strdup(pool, &mp_data->boundary, boundary); - } else { - pj_create_unique_string(pool, &mp_data->boundary); - } - body->data = mp_data; - - /* Add ";boundary" parameter to content_type parameter. */ - ctype_param = pjsip_param_find(&body->content_type.param, &STR_BOUNDARY); - if (!ctype_param) { - ctype_param = PJ_POOL_ALLOC_T(pool, pjsip_param); - ctype_param->name = STR_BOUNDARY; - pj_list_push_back(&body->content_type.param, ctype_param); - } - ctype_param->value = mp_data->boundary; - - /* function pointers */ - body->print_body = &multipart_print_body; - body->clone_data = &multipart_clone_data; - - return body; -} - -/* - * Create an empty multipart part. - */ -PJ_DEF(pjsip_multipart_part*) pjsip_multipart_create_part(pj_pool_t *pool) -{ - pjsip_multipart_part *mp; - - mp = PJ_POOL_ZALLOC_T(pool, pjsip_multipart_part); - pj_list_init(&mp->hdr); - - return mp; -} - - -/* - * Deep clone. - */ -PJ_DEF(pjsip_multipart_part*) -pjsip_multipart_clone_part(pj_pool_t *pool, - const pjsip_multipart_part *src) -{ - pjsip_multipart_part *dst; - const pjsip_hdr *hdr; - - dst = pjsip_multipart_create_part(pool); - - hdr = src->hdr.next; - while (hdr != &src->hdr) { - pj_list_push_back(&dst->hdr, pjsip_hdr_clone(pool, hdr)); - hdr = hdr->next; - } - - dst->body = pjsip_msg_body_clone(pool, src->body); - - return dst; -} - - -/* - * Add a part into multipart bodies. - */ -PJ_DEF(pj_status_t) pjsip_multipart_add_part( pj_pool_t *pool, - pjsip_msg_body *mp, - pjsip_multipart_part *part) -{ - struct multipart_data *m_data; - - /* All params must be specified */ - PJ_ASSERT_RETURN(pool && mp && part, PJ_EINVAL); - - /* mp must really point to an actual multipart msg body */ - PJ_ASSERT_RETURN(mp->print_body==&multipart_print_body, PJ_EINVAL); - - /* The multipart part must contain a valid message body */ - PJ_ASSERT_RETURN(part->body && part->body->print_body, PJ_EINVAL); - - m_data = (struct multipart_data*)mp->data; - pj_list_push_back(&m_data->part_head, part); - - PJ_UNUSED_ARG(pool); - - return PJ_SUCCESS; -} - -/* - * Get the first part of multipart bodies. - */ -PJ_DEF(pjsip_multipart_part*) -pjsip_multipart_get_first_part(const pjsip_msg_body *mp) -{ - struct multipart_data *m_data; - - /* Must specify mandatory params */ - PJ_ASSERT_RETURN(mp, NULL); - - /* mp must really point to an actual multipart msg body */ - PJ_ASSERT_RETURN(mp->print_body==&multipart_print_body, NULL); - - m_data = (struct multipart_data*)mp->data; - if (pj_list_empty(&m_data->part_head)) - return NULL; - - return m_data->part_head.next; -} - -/* - * Get the next part after the specified part. - */ -PJ_DEF(pjsip_multipart_part*) -pjsip_multipart_get_next_part(const pjsip_msg_body *mp, - pjsip_multipart_part *part) -{ - struct multipart_data *m_data; - - /* Must specify mandatory params */ - PJ_ASSERT_RETURN(mp && part, NULL); - - /* mp must really point to an actual multipart msg body */ - PJ_ASSERT_RETURN(mp->print_body==&multipart_print_body, NULL); - - m_data = (struct multipart_data*)mp->data; - - /* the part parameter must be really member of the list */ - PJ_ASSERT_RETURN(pj_list_find_node(&m_data->part_head, part) != NULL, - NULL); - - if (part->next == &m_data->part_head) - return NULL; - - return part->next; -} - -/* - * Find a body inside multipart bodies which has the specified content type. - */ -PJ_DEF(pjsip_multipart_part*) -pjsip_multipart_find_part( const pjsip_msg_body *mp, - const pjsip_media_type *content_type, - const pjsip_multipart_part *start) -{ - struct multipart_data *m_data; - pjsip_multipart_part *part; - - /* Must specify mandatory params */ - PJ_ASSERT_RETURN(mp && content_type, NULL); - - /* mp must really point to an actual multipart msg body */ - PJ_ASSERT_RETURN(mp->print_body==&multipart_print_body, NULL); - - m_data = (struct multipart_data*)mp->data; - - if (start) - part = start->next; - else - part = m_data->part_head.next; - - while (part != &m_data->part_head) { - if (pjsip_media_type_cmp(&part->body->content_type, - content_type, 0)==0) - { - return part; - } - part = part->next; - } - - return NULL; -} - -/* Parse a multipart part. "pct" is parent content-type */ -static pjsip_multipart_part *parse_multipart_part(pj_pool_t *pool, - char *start, - pj_size_t len, - const pjsip_media_type *pct) -{ - pjsip_multipart_part *part = pjsip_multipart_create_part(pool); - char *p = start, *end = start+len, *end_hdr = NULL, *start_body = NULL; - pjsip_ctype_hdr *ctype_hdr = NULL; - - TRACE_((THIS_FILE, "Parsing part: begin--\n%.*s\n--end", - (int)len, start)); - - /* Find the end of header area, by looking at an empty line */ - for (;;) { - while (p!=end && *p!='\n') ++p; - if (p==end) { - start_body = end; - break; - } - if ((p==start) || (p==start+1 && *(p-1)=='\r')) { - /* Empty header section */ - end_hdr = start; - start_body = ++p; - break; - } else if (p==end-1) { - /* Empty body section */ - end_hdr = end; - start_body = ++p; - } else if ((p>=start+1 && *(p-1)=='\n') || - (p>=start+2 && *(p-1)=='\r' && *(p-2)=='\n')) - { - /* Found it */ - end_hdr = (*(p-1)=='\r') ? (p-1) : p; - start_body = ++p; - break; - } else { - ++p; - } - } - - /* Parse the headers */ - if (end_hdr-start > 0) { - pjsip_hdr *hdr; - pj_status_t status; - - status = pjsip_parse_headers(pool, start, end_hdr-start, - &part->hdr, 0); - if (status != PJ_SUCCESS) { - PJ_PERROR(2,(THIS_FILE, status, "Warning: error parsing multipart" - " header")); - } - - /* Find Content-Type header */ - hdr = part->hdr.next; - while (hdr != &part->hdr) { - TRACE_((THIS_FILE, "Header parsed: %.*s", (int)hdr->name.slen, - hdr->name.ptr)); - if (hdr->type == PJSIP_H_CONTENT_TYPE) { - ctype_hdr = (pjsip_ctype_hdr*)hdr; - } - hdr = hdr->next; - } - } - - /* Assign the body */ - part->body = PJ_POOL_ZALLOC_T(pool, pjsip_msg_body); - if (ctype_hdr) { - pjsip_media_type_cp(pool, &part->body->content_type, &ctype_hdr->media); - } else if (pct && pj_stricmp2(&pct->subtype, "digest")==0) { - part->body->content_type.type = pj_str("message"); - part->body->content_type.subtype = pj_str("rfc822"); - } else { - part->body->content_type.type = pj_str("text"); - part->body->content_type.subtype = pj_str("plain"); - } - - if (start_body < end) { - part->body->data = start_body; - part->body->len = end - start_body; - } else { - part->body->data = (void*)""; - part->body->len = 0; - } - TRACE_((THIS_FILE, "Body parsed: \"%.*s\"", (int)part->body->len, - part->body->data)); - part->body->print_body = &pjsip_print_text_body; - part->body->clone_data = &pjsip_clone_text_data; - - return part; -} - -/* Public function to parse multipart message bodies into its parts */ -PJ_DEF(pjsip_msg_body*) pjsip_multipart_parse(pj_pool_t *pool, - char *buf, pj_size_t len, - const pjsip_media_type *ctype, - unsigned options) -{ - pj_str_t boundary, delim; - char *curptr, *endptr; - const pjsip_param *ctype_param; - const pj_str_t STR_BOUNDARY = { "boundary", 8 }; - pjsip_msg_body *body = NULL; - - PJ_ASSERT_RETURN(pool && buf && len && ctype && !options, NULL); - - TRACE_((THIS_FILE, "Started parsing multipart body")); - - /* Get the boundary value in the ctype */ - boundary.ptr = NULL; - boundary.slen = 0; - ctype_param = pjsip_param_find(&ctype->param, &STR_BOUNDARY); - if (ctype_param) { - boundary = ctype_param->value; - if (boundary.slen>2 && *boundary.ptr=='"') { - /* Remove quote */ - boundary.ptr++; - boundary.slen -= 2; - } - TRACE_((THIS_FILE, "Boundary is specified: '%.*s'", (int)boundary.slen, - boundary.ptr)); - } - - if (!boundary.slen) { - /* Boundary not found or not specified. Try to be clever, get - * the boundary from the body. - */ - char *p=buf, *end=buf+len; - - PJ_LOG(4,(THIS_FILE, "Warning: boundary parameter not found or " - "not specified when parsing multipart body")); - - /* Find the first "--". This "--" must be right after a CRLF, unless - * it really appears at the start of the buffer. - */ - for (;;) { - while (p!=end && *p!='-') ++p; - if (p!=end && *(p+1)=='-' && - ((p>buf && *(p-1)=='\n') || (p==buf))) - { - p+=2; - break; - } else { - ++p; - } - } - - if (p==end) { - /* Unable to determine boundary. Maybe this is not a multipart - * message? - */ - PJ_LOG(4,(THIS_FILE, "Error: multipart boundary not specified and" - " unable to calculate from the body")); - return NULL; - } - - boundary.ptr = p; - while (p!=end && !pj_isspace(*p)) ++p; - boundary.slen = p - boundary.ptr; - - TRACE_((THIS_FILE, "Boundary is calculated: '%.*s'", - (int)boundary.slen, boundary.ptr)); - } - - /* Build the delimiter: - * delimiter = "--" boundary - */ - delim.slen = boundary.slen+2; - delim.ptr = (char*)pj_pool_alloc(pool, (int)delim.slen); - delim.ptr[0] = '-'; - delim.ptr[1] = '-'; - pj_memcpy(delim.ptr+2, boundary.ptr, boundary.slen); - - /* Start parsing the body, skip until the first delimiter. */ - curptr = buf; - endptr = buf + len; - { - pj_str_t body; - - body.ptr = buf; body.slen = len; - curptr = pj_strstr(&body, &delim); - if (!curptr) - return NULL; - } - - body = pjsip_multipart_create(pool, ctype, &boundary); - - for (;;) { - char *start_body, *end_body; - pjsip_multipart_part *part; - - /* Eat the boundary */ - curptr += delim.slen; - if (*curptr=='-' && curptr - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include /* rdata structure */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "sip_parser.c" - -#define ALNUM -#define RESERVED ";/?:@&=+$," -#define MARK "-_.!~*'()" -#define UNRESERVED ALNUM MARK -#define ESCAPED "%" -#define USER_UNRESERVED "&=+$,;?/" -#define PASS "&=+$," -#define TOKEN "-.!%*_`'~+" /* '=' was removed for parsing - * param */ -#define HOST "_-." -#define HEX_DIGIT "abcdefABCDEF" -#define PARAM_CHAR "[]/:&+$" UNRESERVED ESCAPED -#define HNV_UNRESERVED "[]/?:+$" -#define HDR_CHAR HNV_UNRESERVED UNRESERVED ESCAPED - -/* A generic URI can consist of (For a complete BNF see RFC 2396): - #?;:@&=+-_.!~*'()%$,/ - */ -#define GENERIC_URI_CHARS "#?;:@&=+-_.!~*'()%$,/" "%" - -#define UNREACHED(expr) - -#define IS_NEWLINE(c) ((c)=='\r' || (c)=='\n') -#define IS_SPACE(c) ((c)==' ' || (c)=='\t') - -/* - * Header parser records. - */ -typedef struct handler_rec -{ - char hname[PJSIP_MAX_HNAME_LEN+1]; - pj_size_t hname_len; - pj_uint32_t hname_hash; - pjsip_parse_hdr_func *handler; -} handler_rec; - -static handler_rec handler[PJSIP_MAX_HEADER_TYPES]; -static unsigned handler_count; -static int parser_is_initialized; - -/* - * URI parser records. - */ -typedef struct uri_parser_rec -{ - pj_str_t scheme; - pjsip_parse_uri_func *parse; -} uri_parser_rec; - -static uri_parser_rec uri_handler[PJSIP_MAX_URI_TYPES]; -static unsigned uri_handler_count; - -/* - * Global vars (also extern). - */ -int PJSIP_SYN_ERR_EXCEPTION = -1; - -/* Parser constants */ -static pjsip_parser_const_t pconst = -{ - { "user", 4}, /* pjsip_USER_STR */ - { "method", 6}, /* pjsip_METHOD_STR */ - { "transport", 9}, /* pjsip_TRANSPORT_STR */ - { "maddr", 5 }, /* pjsip_MADDR_STR */ - { "lr", 2 }, /* pjsip_LR_STR */ - { "sip", 3 }, /* pjsip_SIP_STR */ - { "sips", 4 }, /* pjsip_SIPS_STR */ - { "tel", 3 }, /* pjsip_TEL_STR */ - { "branch", 6 }, /* pjsip_BRANCH_STR */ - { "ttl", 3 }, /* pjsip_TTL_STR */ - { "received", 8 }, /* pjsip_RECEIVED_STR */ - { "q", 1 }, /* pjsip_Q_STR */ - { "expires", 7 }, /* pjsip_EXPIRES_STR */ - { "tag", 3 }, /* pjsip_TAG_STR */ - { "rport", 5} /* pjsip_RPORT_STR */ -}; - -/* Character Input Specification buffer. */ -static pj_cis_buf_t cis_buf; - - -/* - * Forward decl. - */ -static pjsip_msg * int_parse_msg( pjsip_parse_ctx *ctx, - pjsip_parser_err_report *err_list); -static void int_parse_param( pj_scanner *scanner, - pj_pool_t *pool, - pj_str_t *pname, - pj_str_t *pvalue, - unsigned option); -static void int_parse_uri_param( pj_scanner *scanner, - pj_pool_t *pool, - pj_str_t *pname, - pj_str_t *pvalue, - unsigned option); -static void int_parse_hparam( pj_scanner *scanner, - pj_pool_t *pool, - pj_str_t *hname, - pj_str_t *hvalue ); -static void int_parse_req_line( pj_scanner *scanner, - pj_pool_t *pool, - pjsip_request_line *req_line); -static int int_is_next_user( pj_scanner *scanner); -static void int_parse_status_line( pj_scanner *scanner, - pjsip_status_line *line); -static void int_parse_user_pass( pj_scanner *scanner, - pj_pool_t *pool, - pj_str_t *user, - pj_str_t *pass); -static void int_parse_uri_host_port( pj_scanner *scanner, - pj_str_t *p_host, - int *p_port); -static pjsip_uri * int_parse_uri_or_name_addr( pj_scanner *scanner, - pj_pool_t *pool, - unsigned option); -static void* int_parse_sip_url( pj_scanner *scanner, - pj_pool_t *pool, - pj_bool_t parse_params); -static pjsip_name_addr * - int_parse_name_addr( pj_scanner *scanner, - pj_pool_t *pool ); -static void* int_parse_other_uri(pj_scanner *scanner, - pj_pool_t *pool, - pj_bool_t parse_params); -static void parse_hdr_end( pj_scanner *scanner ); - -static pjsip_hdr* parse_hdr_accept( pjsip_parse_ctx *ctx ); -static pjsip_hdr* parse_hdr_allow( pjsip_parse_ctx *ctx ); -static pjsip_hdr* parse_hdr_call_id( pjsip_parse_ctx *ctx); -static pjsip_hdr* parse_hdr_contact( pjsip_parse_ctx *ctx); -static pjsip_hdr* parse_hdr_content_len( pjsip_parse_ctx *ctx ); -static pjsip_hdr* parse_hdr_content_type( pjsip_parse_ctx *ctx ); -static pjsip_hdr* parse_hdr_cseq( pjsip_parse_ctx *ctx ); -static pjsip_hdr* parse_hdr_expires( pjsip_parse_ctx *ctx ); -static pjsip_hdr* parse_hdr_from( pjsip_parse_ctx *ctx ); -static pjsip_hdr* parse_hdr_max_forwards( pjsip_parse_ctx *ctx); -static pjsip_hdr* parse_hdr_min_expires( pjsip_parse_ctx *ctx ); -static pjsip_hdr* parse_hdr_rr( pjsip_parse_ctx *ctx ); -static pjsip_hdr* parse_hdr_route( pjsip_parse_ctx *ctx ); -static pjsip_hdr* parse_hdr_require( pjsip_parse_ctx *ctx ); -static pjsip_hdr* parse_hdr_retry_after( pjsip_parse_ctx *ctx ); -static pjsip_hdr* parse_hdr_supported( pjsip_parse_ctx *ctx ); -static pjsip_hdr* parse_hdr_to( pjsip_parse_ctx *ctx ); -static pjsip_hdr* parse_hdr_unsupported( pjsip_parse_ctx *ctx ); -static pjsip_hdr* parse_hdr_via( pjsip_parse_ctx *ctx ); -static pjsip_hdr* parse_hdr_generic_string( pjsip_parse_ctx *ctx); - -/* Convert non NULL terminated string to integer. */ -static unsigned long pj_strtoul_mindigit(const pj_str_t *str, - unsigned mindig) -{ - unsigned long value; - unsigned i; - - value = 0; - for (i=0; i<(unsigned)str->slen; ++i) { - value = value * 10 + (str->ptr[i] - '0'); - } - for (; islen + pname->slen + pvalue->slen + 3; - p = new_param = (char*) pj_pool_alloc(pool, len); - - if (param->slen) { - int old_len = param->slen; - pj_memcpy(p, param->ptr, old_len); - p += old_len; - } - *p++ = (char)sepchar; - pj_memcpy(p, pname->ptr, pname->slen); - p += pname->slen; - - if (pvalue->slen) { - *p++ = '='; - pj_memcpy(p, pvalue->ptr, pvalue->slen); - p += pvalue->slen; - } - - *p = '\0'; - - param->ptr = new_param; - param->slen = p - new_param; -} - -/* Initialize static properties of the parser. */ -static pj_status_t init_parser() -{ - pj_status_t status; - - /* - * Syntax error exception number. - */ - pj_assert (PJSIP_SYN_ERR_EXCEPTION == -1); - status = pj_exception_id_alloc("PJSIP syntax error", - &PJSIP_SYN_ERR_EXCEPTION); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* - * Init character input spec (cis) - */ - - pj_cis_buf_init(&cis_buf); - - status = pj_cis_init(&cis_buf, &pconst.pjsip_DIGIT_SPEC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_add_num(&pconst.pjsip_DIGIT_SPEC); - - status = pj_cis_init(&cis_buf, &pconst.pjsip_ALPHA_SPEC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_add_alpha( &pconst.pjsip_ALPHA_SPEC ); - - status = pj_cis_init(&cis_buf, &pconst.pjsip_ALNUM_SPEC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_add_alpha( &pconst.pjsip_ALNUM_SPEC ); - pj_cis_add_num( &pconst.pjsip_ALNUM_SPEC ); - - status = pj_cis_init(&cis_buf, &pconst.pjsip_NOT_NEWLINE); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_add_str(&pconst.pjsip_NOT_NEWLINE, "\r\n"); - pj_cis_invert(&pconst.pjsip_NOT_NEWLINE); - - status = pj_cis_init(&cis_buf, &pconst.pjsip_NOT_COMMA_OR_NEWLINE); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_add_str( &pconst.pjsip_NOT_COMMA_OR_NEWLINE, ",\r\n"); - pj_cis_invert(&pconst.pjsip_NOT_COMMA_OR_NEWLINE); - - status = pj_cis_dup(&pconst.pjsip_TOKEN_SPEC, &pconst.pjsip_ALNUM_SPEC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_add_str( &pconst.pjsip_TOKEN_SPEC, TOKEN); - - status = pj_cis_dup(&pconst.pjsip_TOKEN_SPEC_ESC, &pconst.pjsip_TOKEN_SPEC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_del_str(&pconst.pjsip_TOKEN_SPEC_ESC, "%"); - - status = pj_cis_dup(&pconst.pjsip_VIA_PARAM_SPEC, &pconst.pjsip_TOKEN_SPEC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_add_str(&pconst.pjsip_VIA_PARAM_SPEC, ":"); - - status = pj_cis_dup(&pconst.pjsip_VIA_PARAM_SPEC_ESC, &pconst.pjsip_TOKEN_SPEC_ESC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_add_str(&pconst.pjsip_VIA_PARAM_SPEC, ":"); - - status = pj_cis_dup(&pconst.pjsip_HOST_SPEC, &pconst.pjsip_ALNUM_SPEC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_add_str( &pconst.pjsip_HOST_SPEC, HOST); - - status = pj_cis_dup(&pconst.pjsip_HEX_SPEC, &pconst.pjsip_DIGIT_SPEC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_add_str( &pconst.pjsip_HEX_SPEC, HEX_DIGIT); - - status = pj_cis_dup(&pconst.pjsip_PARAM_CHAR_SPEC, &pconst.pjsip_ALNUM_SPEC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_add_str(&pconst.pjsip_PARAM_CHAR_SPEC, PARAM_CHAR); - - status = pj_cis_dup(&pconst.pjsip_PARAM_CHAR_SPEC_ESC, &pconst.pjsip_PARAM_CHAR_SPEC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_del_str(&pconst.pjsip_PARAM_CHAR_SPEC_ESC, ESCAPED); - - status = pj_cis_dup(&pconst.pjsip_HDR_CHAR_SPEC, &pconst.pjsip_ALNUM_SPEC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_add_str(&pconst.pjsip_HDR_CHAR_SPEC, HDR_CHAR); - - status = pj_cis_dup(&pconst.pjsip_HDR_CHAR_SPEC_ESC, &pconst.pjsip_HDR_CHAR_SPEC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_del_str(&pconst.pjsip_HDR_CHAR_SPEC_ESC, ESCAPED); - - status = pj_cis_dup(&pconst.pjsip_USER_SPEC, &pconst.pjsip_ALNUM_SPEC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_add_str( &pconst.pjsip_USER_SPEC, UNRESERVED ESCAPED USER_UNRESERVED ); - - status = pj_cis_dup(&pconst.pjsip_USER_SPEC_ESC, &pconst.pjsip_USER_SPEC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_del_str( &pconst.pjsip_USER_SPEC_ESC, ESCAPED); - - status = pj_cis_dup(&pconst.pjsip_USER_SPEC_LENIENT, &pconst.pjsip_USER_SPEC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_add_str(&pconst.pjsip_USER_SPEC_LENIENT, "#"); - - status = pj_cis_dup(&pconst.pjsip_USER_SPEC_LENIENT_ESC, &pconst.pjsip_USER_SPEC_ESC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_add_str(&pconst.pjsip_USER_SPEC_LENIENT_ESC, "#"); - - status = pj_cis_dup(&pconst.pjsip_PASSWD_SPEC, &pconst.pjsip_ALNUM_SPEC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_add_str( &pconst.pjsip_PASSWD_SPEC, UNRESERVED ESCAPED PASS); - - status = pj_cis_dup(&pconst.pjsip_PASSWD_SPEC_ESC, &pconst.pjsip_PASSWD_SPEC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_del_str( &pconst.pjsip_PASSWD_SPEC_ESC, ESCAPED); - - status = pj_cis_init(&cis_buf, &pconst.pjsip_PROBE_USER_HOST_SPEC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_add_str( &pconst.pjsip_PROBE_USER_HOST_SPEC, "@ \n>"); - pj_cis_invert( &pconst.pjsip_PROBE_USER_HOST_SPEC ); - - status = pj_cis_init(&cis_buf, &pconst.pjsip_DISPLAY_SPEC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_add_str( &pconst.pjsip_DISPLAY_SPEC, ":\r\n<"); - pj_cis_invert(&pconst.pjsip_DISPLAY_SPEC); - - status = pj_cis_dup(&pconst.pjsip_OTHER_URI_CONTENT, &pconst.pjsip_ALNUM_SPEC); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - pj_cis_add_str( &pconst.pjsip_OTHER_URI_CONTENT, GENERIC_URI_CHARS); - - /* - * Register URI parsers. - */ - - status = pjsip_register_uri_parser("sip", &int_parse_sip_url); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - status = pjsip_register_uri_parser("sips", &int_parse_sip_url); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* - * Register header parsers. - */ - - status = pjsip_register_hdr_parser( "Accept", NULL, &parse_hdr_accept); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - status = pjsip_register_hdr_parser( "Allow", NULL, &parse_hdr_allow); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - status = pjsip_register_hdr_parser( "Call-ID", "i", &parse_hdr_call_id); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - status = pjsip_register_hdr_parser( "Contact", "m", &parse_hdr_contact); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - status = pjsip_register_hdr_parser( "Content-Length", "l", - &parse_hdr_content_len); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - status = pjsip_register_hdr_parser( "Content-Type", "c", - &parse_hdr_content_type); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - status = pjsip_register_hdr_parser( "CSeq", NULL, &parse_hdr_cseq); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - status = pjsip_register_hdr_parser( "Expires", NULL, &parse_hdr_expires); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - status = pjsip_register_hdr_parser( "From", "f", &parse_hdr_from); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - status = pjsip_register_hdr_parser( "Max-Forwards", NULL, - &parse_hdr_max_forwards); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - status = pjsip_register_hdr_parser( "Min-Expires", NULL, - &parse_hdr_min_expires); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - status = pjsip_register_hdr_parser( "Record-Route", NULL, &parse_hdr_rr); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - status = pjsip_register_hdr_parser( "Route", NULL, &parse_hdr_route); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - status = pjsip_register_hdr_parser( "Require", NULL, &parse_hdr_require); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - status = pjsip_register_hdr_parser( "Retry-After", NULL, - &parse_hdr_retry_after); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - status = pjsip_register_hdr_parser( "Supported", "k", - &parse_hdr_supported); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - status = pjsip_register_hdr_parser( "To", "t", &parse_hdr_to); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - status = pjsip_register_hdr_parser( "Unsupported", NULL, - &parse_hdr_unsupported); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - status = pjsip_register_hdr_parser( "Via", "v", &parse_hdr_via); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* - * Register auth parser. - */ - - status = pjsip_auth_init_parser(); - - return status; -} - -void init_sip_parser(void) -{ - pj_enter_critical_section(); - if (++parser_is_initialized == 1) { - init_parser(); - } - pj_leave_critical_section(); -} - -void deinit_sip_parser(void) -{ - pj_enter_critical_section(); - if (--parser_is_initialized == 0) { - /* Clear header handlers */ - pj_bzero(handler, sizeof(handler)); - handler_count = 0; - - /* Clear URI handlers */ - pj_bzero(uri_handler, sizeof(uri_handler)); - uri_handler_count = 0; - - /* Deregister exception ID */ - pj_exception_id_free(PJSIP_SYN_ERR_EXCEPTION); - PJSIP_SYN_ERR_EXCEPTION = -1; - } - pj_leave_critical_section(); -} - -/* Compare the handler record with header name, and return: - * - 0 if handler match. - * - <0 if handler is 'less' than the header name. - * - >0 if handler is 'greater' than header name. - */ -PJ_INLINE(int) compare_handler( const handler_rec *r1, - const char *name, - pj_size_t name_len, - pj_uint32_t hash ) -{ - PJ_UNUSED_ARG(name_len); - - /* Compare hashed value. */ - if (r1->hname_hash < hash) - return -1; - if (r1->hname_hash > hash) - return 1; - - /* Compare length. */ - /* - if (r1->hname_len < name_len) - return -1; - if (r1->hname_len > name_len) - return 1; - */ - - /* Equal length and equal hash. compare the strings. */ - return pj_memcmp(r1->hname, name, name_len); -} - -/* Register one handler for one header name. */ -static pj_status_t int_register_parser( const char *name, - pjsip_parse_hdr_func *fptr ) -{ - unsigned pos; - handler_rec rec; - - if (handler_count >= PJ_ARRAY_SIZE(handler)) { - pj_assert(!"Too many handlers!"); - return PJ_ETOOMANY; - } - - /* Initialize temporary handler. */ - rec.handler = fptr; - rec.hname_len = strlen(name); - if (rec.hname_len >= sizeof(rec.hname)) { - pj_assert(!"Header name is too long!"); - return PJ_ENAMETOOLONG; - } - /* Copy name. */ - pj_memcpy(rec.hname, name, rec.hname_len); - rec.hname[rec.hname_len] = '\0'; - - /* Calculate hash value. */ - rec.hname_hash = pj_hash_calc(0, rec.hname, rec.hname_len); - - /* Get the pos to insert the new handler. */ - for (pos=0; pos < handler_count; ++pos) { - int d; - d = compare_handler(&handler[pos], rec.hname, rec.hname_len, - rec.hname_hash); - if (d == 0) { - pj_assert(0); - return PJ_EEXISTS; - } - if (d > 0) { - break; - } - } - - /* Shift handlers. */ - if (pos != handler_count) { - pj_memmove( &handler[pos+1], &handler[pos], - (handler_count-pos)*sizeof(handler_rec)); - } - /* Add new handler. */ - pj_memcpy( &handler[pos], &rec, sizeof(handler_rec)); - ++handler_count; - - return PJ_SUCCESS; -} - -/* Register parser handler. If both header name and short name are valid, - * then two instances of handler will be registered. - */ -PJ_DEF(pj_status_t) pjsip_register_hdr_parser( const char *hname, - const char *hshortname, - pjsip_parse_hdr_func *fptr) -{ - unsigned i, len; - char hname_lcase[PJSIP_MAX_HNAME_LEN+1]; - pj_status_t status; - - /* Check that name is not too long */ - len = pj_ansi_strlen(hname); - if (len > PJSIP_MAX_HNAME_LEN) { - pj_assert(!"Header name is too long!"); - return PJ_ENAMETOOLONG; - } - - /* Register the normal Mixed-Case name */ - status = int_register_parser(hname, fptr); - if (status != PJ_SUCCESS) { - return status; - } - - /* Get the lower-case name */ - for (i=0; i 0; ) { - unsigned half = n / 2; - handler_rec *mid = first + half; - - comp = compare_handler(mid, hname->ptr, hname->slen, hash); - if (comp < 0) { - first = ++mid; - n -= half + 1; - } else if (comp==0) { - first = mid; - break; - } else { - n = half; - } - } - - return comp==0 ? first->handler : NULL; -} - - -/* Find handler to parse the header name. */ -static pjsip_parse_hdr_func* find_handler(const pj_str_t *hname) -{ - pj_uint32_t hash; - char hname_copy[PJSIP_MAX_HNAME_LEN]; - pj_str_t tmp; - pjsip_parse_hdr_func *handler; - - if (hname->slen >= PJSIP_MAX_HNAME_LEN) { - /* Guaranteed not to be able to find handler. */ - return NULL; - } - - /* First, common case, try to find handler with exact name */ - hash = pj_hash_calc(0, hname->ptr, hname->slen); - handler = find_handler_imp(hash, hname); - if (handler) - return handler; - - - /* If not found, try converting the header name to lowercase and - * search again. - */ - hash = pj_hash_calc_tolower(0, hname_copy, hname); - tmp.ptr = hname_copy; - tmp.slen = hname->slen; - return find_handler_imp(hash, &tmp); -} - - -/* Find URI handler. */ -static pjsip_parse_uri_func* find_uri_handler(const pj_str_t *scheme) -{ - unsigned i; - for (i=0; i= PJ_ARRAY_SIZE(uri_handler)) - return PJ_ETOOMANY; - - uri_handler[uri_handler_count].scheme = pj_str((char*)scheme); - uri_handler[uri_handler_count].parse = func; - ++uri_handler_count; - - return PJ_SUCCESS; -} - -/* Public function to parse SIP message. */ -PJ_DEF(pjsip_msg*) pjsip_parse_msg( pj_pool_t *pool, - char *buf, pj_size_t size, - pjsip_parser_err_report *err_list) -{ - pjsip_msg *msg = NULL; - pj_scanner scanner; - pjsip_parse_ctx context; - - pj_scan_init(&scanner, buf, size, PJ_SCAN_AUTOSKIP_WS_HEADER, - &on_syntax_error); - - context.scanner = &scanner; - context.pool = pool; - context.rdata = NULL; - - msg = int_parse_msg(&context, err_list); - - pj_scan_fini(&scanner); - return msg; -} - -/* Public function to parse as rdata.*/ -PJ_DEF(pjsip_msg *) pjsip_parse_rdata( char *buf, pj_size_t size, - pjsip_rx_data *rdata ) -{ - pj_scanner scanner; - pjsip_parse_ctx context; - - pj_scan_init(&scanner, buf, size, PJ_SCAN_AUTOSKIP_WS_HEADER, - &on_syntax_error); - - context.scanner = &scanner; - context.pool = rdata->tp_info.pool; - context.rdata = rdata; - - rdata->msg_info.msg = int_parse_msg(&context, &rdata->msg_info.parse_err); - - pj_scan_fini(&scanner); - return rdata->msg_info.msg; -} - -/* Determine if a message has been received. */ -PJ_DEF(pj_bool_t) pjsip_find_msg( const char *buf, pj_size_t size, - pj_bool_t is_datagram, pj_size_t *msg_size) -{ -#if PJ_HAS_TCP - const char *hdr_end; - const char *body_start; - const char *pos; - const char *line; - int content_length = -1; - pj_str_t cur_msg; - const pj_str_t end_hdr = { "\n\r\n", 3}; - - *msg_size = size; - - /* For datagram, the whole datagram IS the message. */ - if (is_datagram) { - return PJ_SUCCESS; - } - - - /* Find the end of header area by finding an empty line. - * Don't use plain strstr() since we want to be able to handle - * NULL character in the message - */ - cur_msg.ptr = (char*)buf; cur_msg.slen = size; - pos = pj_strstr(&cur_msg, &end_hdr); - if (pos == NULL) { - return PJSIP_EPARTIALMSG; - } - - hdr_end = pos+1; - body_start = pos+3; - - /* Find "Content-Length" header the hard way. */ - line = pj_strchr(&cur_msg, '\n'); - while (line && line < hdr_end) { - ++line; - if ( ((*line=='C' || *line=='c') && - strnicmp_alnum(line, "Content-Length", 14) == 0) || - ((*line=='l' || *line=='L') && - (*(line+1)==' ' || *(line+1)=='\t' || *(line+1)==':'))) - { - /* Try to parse the header. */ - pj_scanner scanner; - PJ_USE_EXCEPTION; - - pj_scan_init(&scanner, (char*)line, hdr_end-line, - PJ_SCAN_AUTOSKIP_WS_HEADER, &on_syntax_error); - - PJ_TRY { - pj_str_t str_clen; - - /* Get "Content-Length" or "L" name */ - if (*line=='C' || *line=='c') - pj_scan_advance_n(&scanner, 14, PJ_TRUE); - else if (*line=='l' || *line=='L') - pj_scan_advance_n(&scanner, 1, PJ_TRUE); - - /* Get colon */ - if (pj_scan_get_char(&scanner) != ':') { - PJ_THROW(PJSIP_SYN_ERR_EXCEPTION); - } - - /* Get number */ - pj_scan_get(&scanner, &pconst.pjsip_DIGIT_SPEC, &str_clen); - - /* Get newline. */ - pj_scan_get_newline(&scanner); - - /* Found a valid Content-Length header. */ - content_length = pj_strtoul(&str_clen); - } - PJ_CATCH_ANY { - content_length = -1; - } - PJ_END - - pj_scan_fini(&scanner); - } - - /* Found valid Content-Length? */ - if (content_length != -1) - break; - - /* Go to next line. */ - cur_msg.slen -= (line - cur_msg.ptr); - cur_msg.ptr = (char*)line; - line = pj_strchr(&cur_msg, '\n'); - } - - /* Found Content-Length? */ - if (content_length == -1) { - return PJSIP_EMISSINGHDR; - } - - /* Enough packet received? */ - *msg_size = (body_start - buf) + content_length; - return (*msg_size) <= size ? PJ_SUCCESS : PJSIP_EPARTIALMSG; -#else - PJ_UNUSED_ARG(buf); - PJ_UNUSED_ARG(is_datagram); - *msg_size = size; - return PJ_SUCCESS; -#endif -} - -/* Public function to parse URI */ -PJ_DEF(pjsip_uri*) pjsip_parse_uri( pj_pool_t *pool, - char *buf, pj_size_t size, - unsigned option) -{ - pj_scanner scanner; - pjsip_uri *uri = NULL; - PJ_USE_EXCEPTION; - - pj_scan_init(&scanner, buf, size, 0, &on_syntax_error); - - - PJ_TRY { - uri = int_parse_uri_or_name_addr(&scanner, pool, option); - } - PJ_CATCH_ANY { - uri = NULL; - } - PJ_END; - - /* Must have exhausted all inputs. */ - if (pj_scan_is_eof(&scanner) || IS_NEWLINE(*scanner.curptr)) { - /* Success. */ - pj_scan_fini(&scanner); - return uri; - } - - /* Still have some characters unparsed. */ - pj_scan_fini(&scanner); - return NULL; -} - -/* SIP version */ -static void parse_sip_version(pj_scanner *scanner) -{ - pj_str_t SIP = { "SIP", 3 }; - pj_str_t V2 = { "2.0", 3 }; - pj_str_t sip, version; - - pj_scan_get( scanner, &pconst.pjsip_ALPHA_SPEC, &sip); - if (pj_scan_get_char(scanner) != '/') - on_syntax_error(scanner); - pj_scan_get_n( scanner, 3, &version); - if (pj_stricmp(&sip, &SIP) || pj_stricmp(&version, &V2)) - on_syntax_error(scanner); -} - -static pj_bool_t is_next_sip_version(pj_scanner *scanner) -{ - pj_str_t SIP = { "SIP", 3 }; - pj_str_t sip; - int c; - - c = pj_scan_peek(scanner, &pconst.pjsip_ALPHA_SPEC, &sip); - /* return TRUE if it is "SIP" followed by "/" or space. - * we include space since the "/" may be separated by space, - * although this would mean it would return TRUE if it is a - * request and the method is "SIP"! - */ - return c && (c=='/' || c==' ' || c=='\t') && pj_stricmp(&sip, &SIP)==0; -} - -/* Internal function to parse SIP message */ -static pjsip_msg *int_parse_msg( pjsip_parse_ctx *ctx, - pjsip_parser_err_report *err_list) -{ - pj_bool_t parsing_headers; - pjsip_msg *msg = NULL; - pj_str_t hname; - pjsip_ctype_hdr *ctype_hdr = NULL; - pj_scanner *scanner = ctx->scanner; - pj_pool_t *pool = ctx->pool; - PJ_USE_EXCEPTION; - - parsing_headers = PJ_FALSE; - -retry_parse: - PJ_TRY - { - if (parsing_headers) - goto parse_headers; - - /* Skip leading newlines. */ - while (IS_NEWLINE(*scanner->curptr)) { - pj_scan_get_newline(scanner); - } - - /* Check if we still have valid packet. - * Sometimes endpoints just send blank (CRLF) packets just to keep - * NAT bindings open. - */ - if (pj_scan_is_eof(scanner)) - return NULL; - - /* Parse request or status line */ - if (is_next_sip_version(scanner)) { - msg = pjsip_msg_create(pool, PJSIP_RESPONSE_MSG); - int_parse_status_line( scanner, &msg->line.status ); - } else { - msg = pjsip_msg_create(pool, PJSIP_REQUEST_MSG); - int_parse_req_line(scanner, pool, &msg->line.req ); - } - - parsing_headers = PJ_TRUE; - -parse_headers: - /* Parse headers. */ - do { - pjsip_parse_hdr_func * handler; - pjsip_hdr *hdr = NULL; - - /* Init hname just in case parsing fails. - * Ref: PROTOS #2412 - */ - hname.slen = 0; - - /* Get hname. */ - pj_scan_get( scanner, &pconst.pjsip_TOKEN_SPEC, &hname); - if (pj_scan_get_char( scanner ) != ':') { - PJ_THROW(PJSIP_SYN_ERR_EXCEPTION); - } - - /* Find handler. */ - handler = find_handler(&hname); - - /* Call the handler if found. - * If no handler is found, then treat the header as generic - * hname/hvalue pair. - */ - if (handler) { - hdr = (*handler)(ctx); - - /* Note: - * hdr MAY BE NULL, if parsing does not yield a new header - * instance, e.g. the values have been added to existing - * header. See http://trac.pjsip.org/repos/ticket/940 - */ - - /* Check if we've just parsed a Content-Type header. - * We will check for a message body if we've got Content-Type - * header. - */ - if (hdr && hdr->type == PJSIP_H_CONTENT_TYPE) { - ctype_hdr = (pjsip_ctype_hdr*)hdr; - } - - } else { - hdr = parse_hdr_generic_string(ctx); - hdr->name = hdr->sname = hname; - } - - - /* Single parse of header line can produce multiple headers. - * For example, if one Contact: header contains Contact list - * separated by comma, then these Contacts will be split into - * different Contact headers. - * So here we must insert list instead of just insert one header. - */ - if (hdr) - pj_list_insert_nodes_before(&msg->hdr, hdr); - - /* Parse until EOF or an empty line is found. */ - } while (!pj_scan_is_eof(scanner) && !IS_NEWLINE(*scanner->curptr)); - - parsing_headers = PJ_FALSE; - - /* If empty line is found, eat it. */ - if (!pj_scan_is_eof(scanner)) { - if (IS_NEWLINE(*scanner->curptr)) { - pj_scan_get_newline(scanner); - } - } - - /* If we have Content-Type header, treat the rest of the message - * as body. - */ - if (ctype_hdr && scanner->curptr!=scanner->end) { - /* New: if Content-Type indicates that this is a multipart - * message body, parse it. - */ - const pj_str_t STR_MULTIPART = { "multipart", 9 }; - pjsip_msg_body *body; - - if (pj_stricmp(&ctype_hdr->media.type, &STR_MULTIPART)==0) { - body = pjsip_multipart_parse(pool, scanner->curptr, - scanner->end - scanner->curptr, - &ctype_hdr->media, 0); - } else { - body = PJ_POOL_ALLOC_T(pool, pjsip_msg_body); - pjsip_media_type_cp(pool, &body->content_type, - &ctype_hdr->media); - - body->data = scanner->curptr; - body->len = scanner->end - scanner->curptr; - body->print_body = &pjsip_print_text_body; - body->clone_data = &pjsip_clone_text_data; - } - - msg->body = body; - } - } - PJ_CATCH_ANY - { - /* Exception was thrown during parsing. - * Skip until newline, and parse next header. - */ - if (err_list) { - pjsip_parser_err_report *err_info; - - err_info = PJ_POOL_ALLOC_T(pool, pjsip_parser_err_report); - err_info->except_code = PJ_GET_EXCEPTION(); - err_info->line = scanner->line; - /* Scanner's column is zero based, so add 1 */ - err_info->col = pj_scan_get_col(scanner) + 1; - if (parsing_headers) - err_info->hname = hname; - else if (msg && msg->type == PJSIP_REQUEST_MSG) - err_info->hname = pj_str("Request Line"); - else if (msg && msg->type == PJSIP_RESPONSE_MSG) - err_info->hname = pj_str("Status Line"); - else - err_info->hname.slen = 0; - - pj_list_insert_before(err_list, err_info); - } - - if (parsing_headers) { - if (!pj_scan_is_eof(scanner)) { - /* Skip until next line. - * Watch for header continuation. - */ - do { - pj_scan_skip_line(scanner); - } while (IS_SPACE(*scanner->curptr)); - } - - /* Restore flag. Flag may be set in int_parse_sip_url() */ - scanner->skip_ws = PJ_SCAN_AUTOSKIP_WS_HEADER; - - /* Continue parse next header, if any. */ - if (!pj_scan_is_eof(scanner) && !IS_NEWLINE(*scanner->curptr)) { - goto retry_parse; - } - } - - msg = NULL; - } - PJ_END; - - return msg; -} - - -/* Parse parameter (pname ["=" pvalue]). */ -static void parse_param_imp( pj_scanner *scanner, pj_pool_t *pool, - pj_str_t *pname, pj_str_t *pvalue, - const pj_cis_t *spec, const pj_cis_t *esc_spec, - unsigned option) -{ - /* pname */ - parser_get_and_unescape(scanner, pool, spec, esc_spec, pname); - - /* init pvalue */ - pvalue->ptr = NULL; - pvalue->slen = 0; - - /* pvalue, if any */ - if (*scanner->curptr == '=') { - pj_scan_get_char(scanner); - if (!pj_scan_is_eof(scanner)) { - /* pvalue can be a quoted string. */ - if (*scanner->curptr == '"') { - pj_scan_get_quote( scanner, '"', '"', pvalue); - if (option & PJSIP_PARSE_REMOVE_QUOTE) { - pvalue->ptr++; - pvalue->slen -= 2; - } - } else if (*scanner->curptr == '[') { - /* pvalue can be a quoted IPv6; in this case, the - * '[' and ']' quote characters are to be removed - * from the pvalue. - */ - pj_scan_get_char(scanner); - pj_scan_get_until_ch(scanner, ']', pvalue); - pj_scan_get_char(scanner); - } else if(pj_cis_match(spec, *scanner->curptr)) { - parser_get_and_unescape(scanner, pool, spec, esc_spec, pvalue); - } - } - } -} - -/* Parse parameter (pname ["=" pvalue]) using token. */ -PJ_DEF(void) pjsip_parse_param_imp(pj_scanner *scanner, pj_pool_t *pool, - pj_str_t *pname, pj_str_t *pvalue, - unsigned option) -{ - parse_param_imp(scanner, pool, pname, pvalue, &pconst.pjsip_TOKEN_SPEC, - &pconst.pjsip_TOKEN_SPEC_ESC, option); -} - - -/* Parse parameter (pname ["=" pvalue]) using paramchar. */ -PJ_DEF(void) pjsip_parse_uri_param_imp( pj_scanner *scanner, pj_pool_t *pool, - pj_str_t *pname, pj_str_t *pvalue, - unsigned option) -{ - parse_param_imp(scanner,pool, pname, pvalue, &pconst.pjsip_PARAM_CHAR_SPEC, - &pconst.pjsip_PARAM_CHAR_SPEC_ESC, option); -} - - -/* Parse parameter (";" pname ["=" pvalue]) in SIP header. */ -static void int_parse_param( pj_scanner *scanner, pj_pool_t *pool, - pj_str_t *pname, pj_str_t *pvalue, - unsigned option) -{ - /* Get ';' character */ - pj_scan_get_char(scanner); - - /* Get pname and optionally pvalue */ - pjsip_parse_param_imp(scanner, pool, pname, pvalue, option); -} - -/* Parse parameter (";" pname ["=" pvalue]) in URI. */ -static void int_parse_uri_param( pj_scanner *scanner, pj_pool_t *pool, - pj_str_t *pname, pj_str_t *pvalue, - unsigned option) -{ - /* Get ';' character */ - pj_scan_get_char(scanner); - - /* Get pname and optionally pvalue */ - pjsip_parse_uri_param_imp(scanner, pool, pname, pvalue, - option); -} - - -/* Parse header parameter. */ -static void int_parse_hparam( pj_scanner *scanner, pj_pool_t *pool, - pj_str_t *hname, pj_str_t *hvalue ) -{ - /* Get '?' or '&' character. */ - pj_scan_get_char(scanner); - - /* hname */ - parser_get_and_unescape(scanner, pool, &pconst.pjsip_HDR_CHAR_SPEC, - &pconst.pjsip_HDR_CHAR_SPEC_ESC, hname); - - /* Init hvalue */ - hvalue->ptr = NULL; - hvalue->slen = 0; - - /* pvalue, if any */ - if (*scanner->curptr == '=') { - pj_scan_get_char(scanner); - if (!pj_scan_is_eof(scanner) && - pj_cis_match(&pconst.pjsip_HDR_CHAR_SPEC, *scanner->curptr)) - { - parser_get_and_unescape(scanner, pool, &pconst.pjsip_HDR_CHAR_SPEC, - &pconst.pjsip_HDR_CHAR_SPEC_ESC, hvalue); - } - } -} - -/* Parse host part: - * host = hostname / IPv4address / IPv6reference - */ -static void int_parse_host(pj_scanner *scanner, pj_str_t *host) -{ - if (*scanner->curptr == '[') { - /* Note: the '[' and ']' characters are removed from the host */ - pj_scan_get_char(scanner); - pj_scan_get_until_ch(scanner, ']', host); - pj_scan_get_char(scanner); - } else { - pj_scan_get( scanner, &pconst.pjsip_HOST_SPEC, host); - } -} - -/* Parse host:port in URI. */ -static void int_parse_uri_host_port( pj_scanner *scanner, - pj_str_t *host, int *p_port) -{ - int_parse_host(scanner, host); - - /* RFC3261 section 19.1.2: host don't need to be unescaped */ - if (*scanner->curptr == ':') { - pj_str_t port; - pj_scan_get_char(scanner); - pj_scan_get(scanner, &pconst.pjsip_DIGIT_SPEC, &port); - *p_port = pj_strtoul(&port); - } else { - *p_port = 0; - } -} - -/* Determine if the next token in an URI is a user specification. */ -static int int_is_next_user(pj_scanner *scanner) -{ - pj_str_t dummy; - int is_user; - - /* Find character '@'. If this character exist, then the token - * must be a username. - */ - if (pj_scan_peek( scanner, &pconst.pjsip_PROBE_USER_HOST_SPEC, &dummy) == '@') - is_user = 1; - else - is_user = 0; - - return is_user; -} - -/* Parse user:pass tokens in an URI. */ -static void int_parse_user_pass( pj_scanner *scanner, pj_pool_t *pool, - pj_str_t *user, pj_str_t *pass) -{ - parser_get_and_unescape(scanner, pool, &pconst.pjsip_USER_SPEC_LENIENT, - &pconst.pjsip_USER_SPEC_LENIENT_ESC, user); - - if ( *scanner->curptr == ':') { - pj_scan_get_char( scanner ); - parser_get_and_unescape(scanner, pool, &pconst.pjsip_PASSWD_SPEC, - &pconst.pjsip_PASSWD_SPEC_ESC, pass); - } else { - pass->ptr = NULL; - pass->slen = 0; - } - - /* Get the '@' */ - pj_scan_get_char( scanner ); -} - -/* Parse all types of URI. */ -static pjsip_uri *int_parse_uri_or_name_addr( pj_scanner *scanner, pj_pool_t *pool, - unsigned opt) -{ - pjsip_uri *uri; - int is_name_addr = 0; - - /* Exhaust any whitespaces. */ - pj_scan_skip_whitespace(scanner); - - if (*scanner->curptr=='"' || *scanner->curptr=='<') { - uri = (pjsip_uri*)int_parse_name_addr( scanner, pool ); - is_name_addr = 1; - } else { - pj_str_t scheme; - int next_ch; - - next_ch = pj_scan_peek( scanner, &pconst.pjsip_DISPLAY_SPEC, &scheme); - - if (next_ch==':') { - pjsip_parse_uri_func *func = find_uri_handler(&scheme); - - if (func == NULL) { - /* Unsupported URI scheme */ - PJ_THROW(PJSIP_SYN_ERR_EXCEPTION); - } - - uri = (pjsip_uri*) - (*func)(scanner, pool, - (opt & PJSIP_PARSE_URI_IN_FROM_TO_HDR)==0); - - - } else { - uri = (pjsip_uri*)int_parse_name_addr( scanner, pool ); - is_name_addr = 1; - } - } - - /* Should we return the URI object as name address? */ - if (opt & PJSIP_PARSE_URI_AS_NAMEADDR) { - if (is_name_addr == 0) { - pjsip_name_addr *name_addr; - - name_addr = pjsip_name_addr_create(pool); - name_addr->uri = uri; - - uri = (pjsip_uri*)name_addr; - } - } - - return uri; -} - -/* Parse URI. */ -static pjsip_uri *int_parse_uri(pj_scanner *scanner, pj_pool_t *pool, - pj_bool_t parse_params) -{ - /* Bug: - * This function should not call back int_parse_name_addr() because - * it is called by that function. This would cause stack overflow - * with PROTOS test #1223. - if (*scanner->curptr=='"' || *scanner->curptr=='<') { - return (pjsip_uri*)int_parse_name_addr( scanner, pool ); - } else { - */ - pj_str_t scheme; - int colon; - pjsip_parse_uri_func *func; - - /* Get scheme. */ - colon = pj_scan_peek(scanner, &pconst.pjsip_TOKEN_SPEC, &scheme); - if (colon != ':') { - PJ_THROW(PJSIP_SYN_ERR_EXCEPTION); - } - - func = find_uri_handler(&scheme); - if (func) { - return (pjsip_uri*)(*func)(scanner, pool, parse_params); - - } else { - /* Unsupported URI scheme */ - PJ_THROW(PJSIP_SYN_ERR_EXCEPTION); - UNREACHED({ return NULL; /* Not reached. */ }) - } - - /* - } - */ -} - -/* Parse "sip:" and "sips:" URI. - * This actually returns (pjsip_sip_uri*) type, - */ -static void* int_parse_sip_url( pj_scanner *scanner, - pj_pool_t *pool, - pj_bool_t parse_params) -{ - pj_str_t scheme; - pjsip_sip_uri *url = NULL; - int colon; - int skip_ws = scanner->skip_ws; - scanner->skip_ws = 0; - - pj_scan_get(scanner, &pconst.pjsip_TOKEN_SPEC, &scheme); - colon = pj_scan_get_char(scanner); - if (colon != ':') { - PJ_THROW(PJSIP_SYN_ERR_EXCEPTION); - } - - if (parser_stricmp(scheme, pconst.pjsip_SIP_STR)==0) { - url = pjsip_sip_uri_create(pool, 0); - - } else if (parser_stricmp(scheme, pconst.pjsip_SIPS_STR)==0) { - url = pjsip_sip_uri_create(pool, 1); - - } else { - PJ_THROW(PJSIP_SYN_ERR_EXCEPTION); - /* should not reach here */ - UNREACHED({ - pj_assert(0); - return 0; - }) - } - - if (int_is_next_user(scanner)) { - int_parse_user_pass(scanner, pool, &url->user, &url->passwd); - } - - /* Get host:port */ - int_parse_uri_host_port(scanner, &url->host, &url->port); - - /* Get URL parameters. */ - if (parse_params) { - while (*scanner->curptr == ';' ) { - pj_str_t pname, pvalue; - - int_parse_uri_param( scanner, pool, &pname, &pvalue, 0); - - if (!parser_stricmp(pname, pconst.pjsip_USER_STR) && pvalue.slen) { - url->user_param = pvalue; - - } else if (!parser_stricmp(pname, pconst.pjsip_METHOD_STR) && pvalue.slen) { - url->method_param = pvalue; - - } else if (!parser_stricmp(pname, pconst.pjsip_TRANSPORT_STR) && pvalue.slen) { - url->transport_param = pvalue; - - } else if (!parser_stricmp(pname, pconst.pjsip_TTL_STR) && pvalue.slen) { - url->ttl_param = pj_strtoul(&pvalue); - - } else if (!parser_stricmp(pname, pconst.pjsip_MADDR_STR) && pvalue.slen) { - url->maddr_param = pvalue; - - } else if (!parser_stricmp(pname, pconst.pjsip_LR_STR)) { - url->lr_param = 1; - - } else { - pjsip_param *p = PJ_POOL_ALLOC_T(pool, pjsip_param); - p->name = pname; - p->value = pvalue; - pj_list_insert_before(&url->other_param, p); - } - } - } - - /* Get header params. */ - if (parse_params && *scanner->curptr == '?') { - do { - pjsip_param *param; - param = PJ_POOL_ALLOC_T(pool, pjsip_param); - int_parse_hparam(scanner, pool, ¶m->name, ¶m->value); - pj_list_insert_before(&url->header_param, param); - } while (*scanner->curptr == '&'); - } - - scanner->skip_ws = skip_ws; - pj_scan_skip_whitespace(scanner); - return url; -} - -/* Parse nameaddr. */ -static pjsip_name_addr *int_parse_name_addr( pj_scanner *scanner, - pj_pool_t *pool ) -{ - int has_bracket; - pjsip_name_addr *name_addr; - - name_addr = pjsip_name_addr_create(pool); - - if (*scanner->curptr == '"') { - pj_scan_get_quote( scanner, '"', '"', &name_addr->display); - /* Trim the leading and ending quote */ - name_addr->display.ptr++; - name_addr->display.slen -= 2; - - } else if (*scanner->curptr != '<') { - int next; - pj_str_t dummy; - - /* This can be either the start of display name, - * the start of URL ("sip:", "sips:", "tel:", etc.), or '<' char. - * We're only interested in display name, because SIP URL - * will be parser later. - */ - next = pj_scan_peek(scanner, &pconst.pjsip_DISPLAY_SPEC, &dummy); - if (next == '<') { - /* Ok, this is what we're looking for, a display name. */ - pj_scan_get_until_ch( scanner, '<', &name_addr->display); - pj_strtrim(&name_addr->display); - } - } - - /* Manually skip whitespace. */ - pj_scan_skip_whitespace(scanner); - - /* Get the SIP-URL */ - has_bracket = (*scanner->curptr == '<'); - if (has_bracket) - pj_scan_get_char(scanner); - name_addr->uri = int_parse_uri( scanner, pool, PJ_TRUE ); - if (has_bracket) { - if (pj_scan_get_char(scanner) != '>') - PJ_THROW( PJSIP_SYN_ERR_EXCEPTION); - } - - return name_addr; -} - - -/* Parse other URI */ -static void* int_parse_other_uri(pj_scanner *scanner, - pj_pool_t *pool, - pj_bool_t parse_params) -{ - pjsip_other_uri *uri = 0; - const pjsip_parser_const_t *pc = pjsip_parser_const(); - int skip_ws = scanner->skip_ws; - - PJ_UNUSED_ARG(parse_params); - - scanner->skip_ws = 0; - - uri = pjsip_other_uri_create(pool); - - pj_scan_get(scanner, &pc->pjsip_TOKEN_SPEC, &uri->scheme); - if (pj_scan_get_char(scanner) != ':') { - PJ_THROW(PJSIP_SYN_ERR_EXCEPTION); - } - - pj_scan_get(scanner, &pc->pjsip_OTHER_URI_CONTENT, &uri->content); - scanner->skip_ws = skip_ws; - - return uri; -} - - -/* Parse SIP request line. */ -static void int_parse_req_line( pj_scanner *scanner, pj_pool_t *pool, - pjsip_request_line *req_line) -{ - pj_str_t token; - - pj_scan_get( scanner, &pconst.pjsip_TOKEN_SPEC, &token); - pjsip_method_init_np( &req_line->method, &token); - - req_line->uri = int_parse_uri(scanner, pool, PJ_TRUE); - parse_sip_version(scanner); - pj_scan_get_newline( scanner ); -} - -/* Parse status line. */ -static void int_parse_status_line( pj_scanner *scanner, - pjsip_status_line *status_line) -{ - pj_str_t token; - - parse_sip_version(scanner); - pj_scan_get( scanner, &pconst.pjsip_DIGIT_SPEC, &token); - status_line->code = pj_strtoul(&token); - if (*scanner->curptr != '\r' && *scanner->curptr != '\n') - pj_scan_get( scanner, &pconst.pjsip_NOT_NEWLINE, &status_line->reason); - else - status_line->reason.slen=0, status_line->reason.ptr=NULL; - pj_scan_get_newline( scanner ); -} - - -/* - * Public API to parse SIP status line. - */ -PJ_DEF(pj_status_t) pjsip_parse_status_line( char *buf, pj_size_t size, - pjsip_status_line *status_line) -{ - pj_scanner scanner; - PJ_USE_EXCEPTION; - - pj_bzero(status_line, sizeof(*status_line)); - pj_scan_init(&scanner, buf, size, PJ_SCAN_AUTOSKIP_WS_HEADER, - &on_syntax_error); - - PJ_TRY { - int_parse_status_line(&scanner, status_line); - } - PJ_CATCH_ANY { - /* Tolerate the error if it is caused only by missing newline */ - if (status_line->code == 0 && status_line->reason.slen == 0) { - pj_scan_fini(&scanner); - return PJSIP_EINVALIDMSG; - } - } - PJ_END; - - pj_scan_fini(&scanner); - return PJ_SUCCESS; -} - - -/* Parse ending of header. */ -static void parse_hdr_end( pj_scanner *scanner ) -{ - if (pj_scan_is_eof(scanner)) { - ; /* Do nothing. */ - } else if (*scanner->curptr == '&') { - pj_scan_get_char(scanner); - } else { - pj_scan_get_newline(scanner); - } -} - -/* Parse ending of header. */ -PJ_DEF(void) pjsip_parse_end_hdr_imp( pj_scanner *scanner ) -{ - parse_hdr_end(scanner); -} - -/* Parse generic array header. */ -static void parse_generic_array_hdr( pjsip_generic_array_hdr *hdr, - pj_scanner *scanner) -{ - /* Some header fields allow empty elements in the value: - * Accept, Allow, Supported - */ - if (pj_scan_is_eof(scanner) || - *scanner->curptr == '\r' || *scanner->curptr == '\n') - { - goto end; - } - - if (hdr->count >= PJ_ARRAY_SIZE(hdr->values)) { - /* Too many elements */ - on_syntax_error(scanner); - return; - } - - pj_scan_get( scanner, &pconst.pjsip_NOT_COMMA_OR_NEWLINE, - &hdr->values[hdr->count]); - hdr->count++; - - while (*scanner->curptr == ',') { - pj_scan_get_char(scanner); - pj_scan_get( scanner, &pconst.pjsip_NOT_COMMA_OR_NEWLINE, - &hdr->values[hdr->count]); - hdr->count++; - - if (hdr->count >= PJSIP_GENERIC_ARRAY_MAX_COUNT) - break; - } - -end: - parse_hdr_end(scanner); -} - -/* Parse generic string header. */ -static void parse_generic_string_hdr( pjsip_generic_string_hdr *hdr, - pjsip_parse_ctx *ctx) -{ - pj_scanner *scanner = ctx->scanner; - - hdr->hvalue.slen = 0; - - /* header may be mangled hence the loop */ - while (pj_cis_match(&pconst.pjsip_NOT_NEWLINE, *scanner->curptr)) { - pj_str_t next, tmp; - - pj_scan_get( scanner, &pconst.pjsip_NOT_NEWLINE, &hdr->hvalue); - if (pj_scan_is_eof(scanner) || IS_NEWLINE(*scanner->curptr)) - break; - /* mangled, get next fraction */ - pj_scan_get( scanner, &pconst.pjsip_NOT_NEWLINE, &next); - /* concatenate */ - tmp.ptr = (char*)pj_pool_alloc(ctx->pool, - hdr->hvalue.slen + next.slen + 2); - tmp.slen = 0; - pj_strcpy(&tmp, &hdr->hvalue); - pj_strcat2(&tmp, " "); - pj_strcat(&tmp, &next); - tmp.ptr[tmp.slen] = '\0'; - - hdr->hvalue = tmp; - } - - parse_hdr_end(scanner); -} - -/* Parse generic integer header. */ -static void parse_generic_int_hdr( pjsip_generic_int_hdr *hdr, - pj_scanner *scanner ) -{ - pj_str_t tmp; - pj_scan_get( scanner, &pconst.pjsip_DIGIT_SPEC, &tmp); - hdr->ivalue = pj_strtoul(&tmp); - parse_hdr_end(scanner); -} - - -/* Parse Accept header. */ -static pjsip_hdr* parse_hdr_accept(pjsip_parse_ctx *ctx) -{ - pjsip_accept_hdr *accept = pjsip_accept_hdr_create(ctx->pool); - parse_generic_array_hdr(accept, ctx->scanner); - return (pjsip_hdr*)accept; -} - -/* Parse Allow header. */ -static pjsip_hdr* parse_hdr_allow(pjsip_parse_ctx *ctx) -{ - pjsip_allow_hdr *allow = pjsip_allow_hdr_create(ctx->pool); - parse_generic_array_hdr(allow, ctx->scanner); - return (pjsip_hdr*)allow; -} - -/* Parse Call-ID header. */ -static pjsip_hdr* parse_hdr_call_id(pjsip_parse_ctx *ctx) -{ - pjsip_cid_hdr *hdr = pjsip_cid_hdr_create(ctx->pool); - pj_scan_get( ctx->scanner, &pconst.pjsip_NOT_NEWLINE, &hdr->id); - parse_hdr_end(ctx->scanner); - - if (ctx->rdata) - ctx->rdata->msg_info.cid = hdr; - - return (pjsip_hdr*)hdr; -} - -/* Parse and interpret Contact param. */ -static void int_parse_contact_param( pjsip_contact_hdr *hdr, - pj_scanner *scanner, - pj_pool_t *pool) -{ - while ( *scanner->curptr == ';' ) { - pj_str_t pname, pvalue; - - int_parse_param( scanner, pool, &pname, &pvalue, 0); - if (!parser_stricmp(pname, pconst.pjsip_Q_STR) && pvalue.slen) { - char *dot_pos = (char*) pj_memchr(pvalue.ptr, '.', pvalue.slen); - if (!dot_pos) { - hdr->q1000 = pj_strtoul(&pvalue) * 1000; - } else { - pj_str_t tmp = pvalue; - - tmp.slen = dot_pos - pvalue.ptr; - hdr->q1000 = pj_strtoul(&tmp) * 1000; - - pvalue.slen = (pvalue.ptr+pvalue.slen) - (dot_pos+1); - pvalue.ptr = dot_pos + 1; - hdr->q1000 += pj_strtoul_mindigit(&pvalue, 3); - } - } else if (!parser_stricmp(pname, pconst.pjsip_EXPIRES_STR) && pvalue.slen) { - hdr->expires = pj_strtoul(&pvalue); - - } else { - pjsip_param *p = PJ_POOL_ALLOC_T(pool, pjsip_param); - p->name = pname; - p->value = pvalue; - pj_list_insert_before(&hdr->other_param, p); - } - } -} - -/* Parse Contact header. */ -static pjsip_hdr* parse_hdr_contact( pjsip_parse_ctx *ctx ) -{ - pjsip_contact_hdr *first = NULL; - pj_scanner *scanner = ctx->scanner; - - do { - pjsip_contact_hdr *hdr = pjsip_contact_hdr_create(ctx->pool); - if (first == NULL) - first = hdr; - else - pj_list_insert_before(first, hdr); - - if (*scanner->curptr == '*') { - pj_scan_get_char(scanner); - hdr->star = 1; - - } else { - hdr->star = 0; - hdr->uri = int_parse_uri_or_name_addr(scanner, ctx->pool, - PJSIP_PARSE_URI_AS_NAMEADDR | - PJSIP_PARSE_URI_IN_FROM_TO_HDR); - - int_parse_contact_param(hdr, scanner, ctx->pool); - } - - if (*scanner->curptr != ',') - break; - - pj_scan_get_char(scanner); - - } while (1); - - parse_hdr_end(scanner); - - return (pjsip_hdr*)first; -} - -/* Parse Content-Length header. */ -static pjsip_hdr* parse_hdr_content_len( pjsip_parse_ctx *ctx ) -{ - pj_str_t digit; - pjsip_clen_hdr *hdr; - - hdr = pjsip_clen_hdr_create(ctx->pool); - pj_scan_get(ctx->scanner, &pconst.pjsip_DIGIT_SPEC, &digit); - hdr->len = pj_strtoul(&digit); - parse_hdr_end(ctx->scanner); - - if (ctx->rdata) - ctx->rdata->msg_info.clen = hdr; - - return (pjsip_hdr*)hdr; -} - -/* Parse Content-Type header. */ -static pjsip_hdr* parse_hdr_content_type( pjsip_parse_ctx *ctx ) -{ - pjsip_ctype_hdr *hdr; - pj_scanner *scanner = ctx->scanner; - - hdr = pjsip_ctype_hdr_create(ctx->pool); - - /* Parse media type and subtype. */ - pj_scan_get(scanner, &pconst.pjsip_TOKEN_SPEC, &hdr->media.type); - pj_scan_get_char(scanner); - pj_scan_get(scanner, &pconst.pjsip_TOKEN_SPEC, &hdr->media.subtype); - - /* Parse media parameters */ - while (*scanner->curptr == ';') { - pjsip_param *param = PJ_POOL_ALLOC_T(ctx->pool, pjsip_param); - int_parse_param(scanner, ctx->pool, ¶m->name, ¶m->value, 0); - pj_list_push_back(&hdr->media.param, param); - } - - parse_hdr_end(ctx->scanner); - - if (ctx->rdata) - ctx->rdata->msg_info.ctype = hdr; - - return (pjsip_hdr*)hdr; -} - -/* Parse CSeq header. */ -static pjsip_hdr* parse_hdr_cseq( pjsip_parse_ctx *ctx ) -{ - pj_str_t cseq, method; - pjsip_cseq_hdr *hdr; - - hdr = pjsip_cseq_hdr_create(ctx->pool); - pj_scan_get( ctx->scanner, &pconst.pjsip_DIGIT_SPEC, &cseq); - hdr->cseq = pj_strtoul(&cseq); - - pj_scan_get( ctx->scanner, &pconst.pjsip_TOKEN_SPEC, &method); - pjsip_method_init_np(&hdr->method, &method); - - parse_hdr_end( ctx->scanner ); - - if (ctx->rdata) - ctx->rdata->msg_info.cseq = hdr; - - return (pjsip_hdr*)hdr; -} - -/* Parse Expires header. */ -static pjsip_hdr* parse_hdr_expires(pjsip_parse_ctx *ctx) -{ - pjsip_expires_hdr *hdr = pjsip_expires_hdr_create(ctx->pool, 0); - parse_generic_int_hdr(hdr, ctx->scanner); - return (pjsip_hdr*)hdr; -} - -/* Parse From: or To: header. */ -static void parse_hdr_fromto( pj_scanner *scanner, - pj_pool_t *pool, - pjsip_from_hdr *hdr) -{ - hdr->uri = int_parse_uri_or_name_addr(scanner, pool, - PJSIP_PARSE_URI_AS_NAMEADDR | - PJSIP_PARSE_URI_IN_FROM_TO_HDR); - - while ( *scanner->curptr == ';' ) { - pj_str_t pname, pvalue; - - int_parse_param( scanner, pool, &pname, &pvalue, 0); - - if (!parser_stricmp(pname, pconst.pjsip_TAG_STR)) { - hdr->tag = pvalue; - - } else { - pjsip_param *p = PJ_POOL_ALLOC_T(pool, pjsip_param); - p->name = pname; - p->value = pvalue; - pj_list_insert_before(&hdr->other_param, p); - } - } - - parse_hdr_end(scanner); -} - -/* Parse From: header. */ -static pjsip_hdr* parse_hdr_from( pjsip_parse_ctx *ctx ) -{ - pjsip_from_hdr *hdr = pjsip_from_hdr_create(ctx->pool); - parse_hdr_fromto(ctx->scanner, ctx->pool, hdr); - if (ctx->rdata) - ctx->rdata->msg_info.from = hdr; - - return (pjsip_hdr*)hdr; -} - -/* Parse Require: header. */ -static pjsip_hdr* parse_hdr_require( pjsip_parse_ctx *ctx ) -{ - pjsip_require_hdr *hdr; - pj_bool_t new_hdr = (ctx->rdata==NULL || - ctx->rdata->msg_info.require == NULL); - - if (ctx->rdata && ctx->rdata->msg_info.require) { - hdr = ctx->rdata->msg_info.require; - } else { - hdr = pjsip_require_hdr_create(ctx->pool); - if (ctx->rdata) - ctx->rdata->msg_info.require = hdr; - } - - parse_generic_array_hdr(hdr, ctx->scanner); - - return new_hdr ? (pjsip_hdr*)hdr : NULL; -} - -/* Parse Retry-After: header. */ -static pjsip_hdr* parse_hdr_retry_after(pjsip_parse_ctx *ctx) -{ - pjsip_retry_after_hdr *hdr; - pj_scanner *scanner = ctx->scanner; - pj_str_t tmp; - - hdr = pjsip_retry_after_hdr_create(ctx->pool, 0); - - pj_scan_get(scanner, &pconst.pjsip_DIGIT_SPEC, &tmp); - hdr->ivalue = pj_strtoul(&tmp); - - while (!pj_scan_is_eof(scanner) && *scanner->curptr!='\r' && - *scanner->curptr!='\n') - { - if (*scanner->curptr=='(') { - pj_scan_get_quote(scanner, '(', ')', &hdr->comment); - /* Trim the leading and ending parens */ - hdr->comment.ptr++; - hdr->comment.slen -= 2; - } else if (*scanner->curptr==';') { - pjsip_param *prm = PJ_POOL_ALLOC_T(ctx->pool, pjsip_param); - int_parse_param(scanner, ctx->pool, &prm->name, &prm->value, 0); - pj_list_push_back(&hdr->param, prm); - } - } - - parse_hdr_end(scanner); - return (pjsip_hdr*)hdr; -} - -/* Parse Supported: header. */ -static pjsip_hdr* parse_hdr_supported(pjsip_parse_ctx *ctx) -{ - pjsip_supported_hdr *hdr; - pj_bool_t new_hdr = (ctx->rdata==NULL || - ctx->rdata->msg_info.supported == NULL); - - if (ctx->rdata && ctx->rdata->msg_info.supported) { - hdr = ctx->rdata->msg_info.supported; - } else { - hdr = pjsip_supported_hdr_create(ctx->pool); - if (ctx->rdata) - ctx->rdata->msg_info.supported = hdr; - } - - parse_generic_array_hdr(hdr, ctx->scanner); - return new_hdr ? (pjsip_hdr*)hdr : NULL; -} - -/* Parse To: header. */ -static pjsip_hdr* parse_hdr_to( pjsip_parse_ctx *ctx ) -{ - pjsip_to_hdr *hdr = pjsip_to_hdr_create(ctx->pool); - parse_hdr_fromto(ctx->scanner, ctx->pool, hdr); - - if (ctx->rdata) - ctx->rdata->msg_info.to = hdr; - - return (pjsip_hdr*)hdr; -} - -/* Parse Unsupported: header. */ -static pjsip_hdr* parse_hdr_unsupported(pjsip_parse_ctx *ctx) -{ - pjsip_unsupported_hdr *hdr = pjsip_unsupported_hdr_create(ctx->pool); - parse_generic_array_hdr(hdr, ctx->scanner); - return (pjsip_hdr*)hdr; -} - -/* Parse and interpret Via parameters. */ -static void int_parse_via_param( pjsip_via_hdr *hdr, pj_scanner *scanner, - pj_pool_t *pool) -{ - while ( *scanner->curptr == ';' ) { - pj_str_t pname, pvalue; - - //Parse with PARAM_CHAR instead, to allow IPv6 - //No, back to using int_parse_param() for the "`" character! - //int_parse_param( scanner, pool, &pname, &pvalue, 0); - //parse_param_imp(scanner, pool, &pname, &pvalue, - // &pconst.pjsip_TOKEN_SPEC, - // &pconst.pjsip_TOKEN_SPEC_ESC, 0); - //int_parse_param(scanner, pool, &pname, &pvalue, 0); - // This should be the correct one: - // added special spec for Via parameter, basically token plus - // ":" to allow IPv6 address in the received param. - pj_scan_get_char(scanner); - parse_param_imp(scanner, pool, &pname, &pvalue, - &pconst.pjsip_VIA_PARAM_SPEC, - &pconst.pjsip_VIA_PARAM_SPEC_ESC, - 0); - - if (!parser_stricmp(pname, pconst.pjsip_BRANCH_STR) && pvalue.slen) { - hdr->branch_param = pvalue; - - } else if (!parser_stricmp(pname, pconst.pjsip_TTL_STR) && pvalue.slen) { - hdr->ttl_param = pj_strtoul(&pvalue); - - } else if (!parser_stricmp(pname, pconst.pjsip_MADDR_STR) && pvalue.slen) { - hdr->maddr_param = pvalue; - - } else if (!parser_stricmp(pname, pconst.pjsip_RECEIVED_STR) && pvalue.slen) { - hdr->recvd_param = pvalue; - - } else if (!parser_stricmp(pname, pconst.pjsip_RPORT_STR)) { - if (pvalue.slen) - hdr->rport_param = pj_strtoul(&pvalue); - else - hdr->rport_param = 0; - } else { - pjsip_param *p = PJ_POOL_ALLOC_T(pool, pjsip_param); - p->name = pname; - p->value = pvalue; - pj_list_insert_before(&hdr->other_param, p); - } - } -} - -/* Parse Max-Forwards header. */ -static pjsip_hdr* parse_hdr_max_forwards( pjsip_parse_ctx *ctx ) -{ - pjsip_max_fwd_hdr *hdr; - hdr = pjsip_max_fwd_hdr_create(ctx->pool, 0); - parse_generic_int_hdr(hdr, ctx->scanner); - - if (ctx->rdata) - ctx->rdata->msg_info.max_fwd = hdr; - - return (pjsip_hdr*)hdr; -} - -/* Parse Min-Expires header. */ -static pjsip_hdr* parse_hdr_min_expires(pjsip_parse_ctx *ctx) -{ - pjsip_min_expires_hdr *hdr; - hdr = pjsip_min_expires_hdr_create(ctx->pool, 0); - parse_generic_int_hdr(hdr, ctx->scanner); - return (pjsip_hdr*)hdr; -} - - -/* Parse Route: or Record-Route: header. */ -static void parse_hdr_rr_route( pj_scanner *scanner, pj_pool_t *pool, - pjsip_routing_hdr *hdr ) -{ - pjsip_name_addr *temp=int_parse_name_addr(scanner, pool); - - pj_memcpy(&hdr->name_addr, temp, sizeof(*temp)); - - while (*scanner->curptr == ';') { - pjsip_param *p = PJ_POOL_ALLOC_T(pool, pjsip_param); - int_parse_param(scanner, pool, &p->name, &p->value, 0); - pj_list_insert_before(&hdr->other_param, p); - } -} - -/* Parse Record-Route header. */ -static pjsip_hdr* parse_hdr_rr( pjsip_parse_ctx *ctx) -{ - pjsip_rr_hdr *first = NULL; - pj_scanner *scanner = ctx->scanner; - - do { - pjsip_rr_hdr *hdr = pjsip_rr_hdr_create(ctx->pool); - if (!first) { - first = hdr; - } else { - pj_list_insert_before(first, hdr); - } - parse_hdr_rr_route(scanner, ctx->pool, hdr); - if (*scanner->curptr == ',') { - pj_scan_get_char(scanner); - } else { - break; - } - } while (1); - parse_hdr_end(scanner); - - if (ctx->rdata && ctx->rdata->msg_info.record_route==NULL) - ctx->rdata->msg_info.record_route = first; - - return (pjsip_hdr*)first; -} - -/* Parse Route: header. */ -static pjsip_hdr* parse_hdr_route( pjsip_parse_ctx *ctx ) -{ - pjsip_route_hdr *first = NULL; - pj_scanner *scanner = ctx->scanner; - - do { - pjsip_route_hdr *hdr = pjsip_route_hdr_create(ctx->pool); - if (!first) { - first = hdr; - } else { - pj_list_insert_before(first, hdr); - } - parse_hdr_rr_route(scanner, ctx->pool, hdr); - if (*scanner->curptr == ',') { - pj_scan_get_char(scanner); - } else { - break; - } - } while (1); - parse_hdr_end(scanner); - - if (ctx->rdata && ctx->rdata->msg_info.route==NULL) - ctx->rdata->msg_info.route = first; - - return (pjsip_hdr*)first; -} - -/* Parse Via: header. */ -static pjsip_hdr* parse_hdr_via( pjsip_parse_ctx *ctx ) -{ - pjsip_via_hdr *first = NULL; - pj_scanner *scanner = ctx->scanner; - - do { - pjsip_via_hdr *hdr = pjsip_via_hdr_create(ctx->pool); - if (!first) - first = hdr; - else - pj_list_insert_before(first, hdr); - - parse_sip_version(scanner); - if (pj_scan_get_char(scanner) != '/') - on_syntax_error(scanner); - - pj_scan_get( scanner, &pconst.pjsip_TOKEN_SPEC, &hdr->transport); - int_parse_host(scanner, &hdr->sent_by.host); - - if (*scanner->curptr==':') { - pj_str_t digit; - pj_scan_get_char(scanner); - pj_scan_get(scanner, &pconst.pjsip_DIGIT_SPEC, &digit); - hdr->sent_by.port = pj_strtoul(&digit); - } - - int_parse_via_param(hdr, scanner, ctx->pool); - - if (*scanner->curptr == '(') { - pj_scan_get_char(scanner); - pj_scan_get_until_ch( scanner, ')', &hdr->comment); - pj_scan_get_char( scanner ); - } - - if (*scanner->curptr != ',') - break; - - pj_scan_get_char(scanner); - - } while (1); - - parse_hdr_end(scanner); - - if (ctx->rdata && ctx->rdata->msg_info.via == NULL) - ctx->rdata->msg_info.via = first; - - return (pjsip_hdr*)first; -} - -/* Parse generic header. */ -static pjsip_hdr* parse_hdr_generic_string( pjsip_parse_ctx *ctx ) -{ - pjsip_generic_string_hdr *hdr; - - hdr = pjsip_generic_string_hdr_create(ctx->pool, NULL, NULL); - parse_generic_string_hdr(hdr, ctx); - return (pjsip_hdr*)hdr; - -} - -/* Public function to parse a header value. */ -PJ_DEF(void*) pjsip_parse_hdr( pj_pool_t *pool, const pj_str_t *hname, - char *buf, pj_size_t size, int *parsed_len ) -{ - pj_scanner scanner; - pjsip_hdr *hdr = NULL; - pjsip_parse_ctx context; - PJ_USE_EXCEPTION; - - pj_scan_init(&scanner, buf, size, PJ_SCAN_AUTOSKIP_WS_HEADER, - &on_syntax_error); - - context.scanner = &scanner; - context.pool = pool; - context.rdata = NULL; - - PJ_TRY { - pjsip_parse_hdr_func *handler = find_handler(hname); - if (handler) { - hdr = (*handler)(&context); - } else { - hdr = parse_hdr_generic_string(&context); - hdr->type = PJSIP_H_OTHER; - pj_strdup(pool, &hdr->name, hname); - hdr->sname = hdr->name; - } - - } - PJ_CATCH_ANY { - hdr = NULL; - } - PJ_END - - if (parsed_len) { - *parsed_len = (scanner.curptr - scanner.begin); - } - - pj_scan_fini(&scanner); - - return hdr; -} - -/* Parse multiple header lines */ -PJ_DEF(pj_status_t) pjsip_parse_headers( pj_pool_t *pool, char *input, - pj_size_t size, pjsip_hdr *hlist, - unsigned options) -{ - enum { STOP_ON_ERROR = 1 }; - pj_scanner scanner; - pjsip_parse_ctx ctx; - pj_str_t hname; - PJ_USE_EXCEPTION; - - pj_scan_init(&scanner, input, size, PJ_SCAN_AUTOSKIP_WS_HEADER, - &on_syntax_error); - - pj_bzero(&ctx, sizeof(ctx)); - ctx.scanner = &scanner; - ctx.pool = pool; - -retry_parse: - PJ_TRY - { - /* Parse headers. */ - do { - pjsip_parse_hdr_func * handler; - pjsip_hdr *hdr = NULL; - - /* Init hname just in case parsing fails. - * Ref: PROTOS #2412 - */ - hname.slen = 0; - - /* Get hname. */ - pj_scan_get( &scanner, &pconst.pjsip_TOKEN_SPEC, &hname); - if (pj_scan_get_char( &scanner ) != ':') { - PJ_THROW(PJSIP_SYN_ERR_EXCEPTION); - } - - /* Find handler. */ - handler = find_handler(&hname); - - /* Call the handler if found. - * If no handler is found, then treat the header as generic - * hname/hvalue pair. - */ - if (handler) { - hdr = (*handler)(&ctx); - } else { - hdr = parse_hdr_generic_string(&ctx); - hdr->name = hdr->sname = hname; - } - - /* Single parse of header line can produce multiple headers. - * For example, if one Contact: header contains Contact list - * separated by comma, then these Contacts will be split into - * different Contact headers. - * So here we must insert list instead of just insert one header. - */ - if (hdr) - pj_list_insert_nodes_before(hlist, hdr); - - /* Parse until EOF or an empty line is found. */ - } while (!pj_scan_is_eof(&scanner) && !IS_NEWLINE(*scanner.curptr)); - - /* If empty line is found, eat it. */ - if (!pj_scan_is_eof(&scanner)) { - if (IS_NEWLINE(*scanner.curptr)) { - pj_scan_get_newline(&scanner); - } - } - } - PJ_CATCH_ANY - { - PJ_LOG(4,(THIS_FILE, "Error parsing header: '%.*s' line %d col %d", - (int)hname.slen, hname.ptr, scanner.line, - pj_scan_get_col(&scanner))); - - /* Exception was thrown during parsing. */ - if ((options & STOP_ON_ERROR) == STOP_ON_ERROR) { - pj_scan_fini(&scanner); - return PJSIP_EINVALIDHDR; - } - - /* Skip until newline, and parse next header. */ - if (!pj_scan_is_eof(&scanner)) { - /* Skip until next line. - * Watch for header continuation. - */ - do { - pj_scan_skip_line(&scanner); - } while (IS_SPACE(*scanner.curptr)); - } - - /* Restore flag. Flag may be set in int_parse_sip_url() */ - scanner.skip_ws = PJ_SCAN_AUTOSKIP_WS_HEADER; - - /* Continue parse next header, if any. */ - if (!pj_scan_is_eof(&scanner) && !IS_NEWLINE(*scanner.curptr)) { - goto retry_parse; - } - - } - PJ_END; - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjsip/src/pjsip/sip_parser_wrap.cpp b/res/pjproject/pjsip/src/pjsip/sip_parser_wrap.cpp deleted file mode 100644 index e74d27c2e4..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_parser_wrap.cpp +++ /dev/null @@ -1,24 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * This file is a C++ wrapper, see ticket #886 for details. - */ - -#include "sip_parser.c" diff --git a/res/pjproject/pjsip/src/pjsip/sip_resolve.c b/res/pjproject/pjsip/src/pjsip/sip_resolve.c deleted file mode 100644 index fb23b538e7..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_resolve.c +++ /dev/null @@ -1,520 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#define THIS_FILE "sip_resolve.c" - -#define ADDR_MAX_COUNT 8 - -struct naptr_target -{ - pj_str_t res_type; /**< e.g. "_sip._udp" */ - pj_str_t name; /**< Domain name. */ - pjsip_transport_type_e type; /**< Transport type. */ - unsigned order; /**< Order */ - unsigned pref; /**< Preference. */ -}; - -struct query -{ - char *objname; - - pj_dns_type query_type; - void *token; - pjsip_resolver_callback *cb; - pj_dns_async_query *object; - pj_status_t last_error; - - /* Original request: */ - struct { - pjsip_host_info target; - unsigned def_port; - } req; - - /* NAPTR records: */ - unsigned naptr_cnt; - struct naptr_target naptr[8]; -}; - - -struct pjsip_resolver_t -{ - pj_dns_resolver *res; -}; - - -static void srv_resolver_cb(void *user_data, - pj_status_t status, - const pj_dns_srv_record *rec); -static void dns_a_callback(void *user_data, - pj_status_t status, - pj_dns_parsed_packet *response); - - -/* - * Public API to create the resolver. - */ -PJ_DEF(pj_status_t) pjsip_resolver_create( pj_pool_t *pool, - pjsip_resolver_t **p_res) -{ - pjsip_resolver_t *resolver; - - PJ_ASSERT_RETURN(pool && p_res, PJ_EINVAL); - resolver = PJ_POOL_ZALLOC_T(pool, pjsip_resolver_t); - *p_res = resolver; - - return PJ_SUCCESS; -} - - -/* - * Public API to set the DNS resolver instance for the SIP resolver. - */ -PJ_DEF(pj_status_t) pjsip_resolver_set_resolver(pjsip_resolver_t *res, - pj_dns_resolver *dns_res) -{ -#if PJSIP_HAS_RESOLVER - res->res = dns_res; - return PJ_SUCCESS; -#else - PJ_UNUSED_ARG(res); - PJ_UNUSED_ARG(dns_res); - pj_assert(!"Resolver is disabled (PJSIP_HAS_RESOLVER==0)"); - return PJ_EINVALIDOP; -#endif -} - - -/* - * Public API to get the internal DNS resolver. - */ -PJ_DEF(pj_dns_resolver*) pjsip_resolver_get_resolver(pjsip_resolver_t *res) -{ - return res->res; -} - - -/* - * Public API to create destroy the resolver - */ -PJ_DEF(void) pjsip_resolver_destroy(pjsip_resolver_t *resolver) -{ - if (resolver->res) { -#if PJSIP_HAS_RESOLVER - pj_dns_resolver_destroy(resolver->res, PJ_FALSE); -#endif - resolver->res = NULL; - } -} - -/* - * Internal: - * determine if an address is a valid IP address, and if it is, - * return the IP version (4 or 6). - */ -static int get_ip_addr_ver(const pj_str_t *host) -{ - pj_in_addr dummy; - pj_in6_addr dummy6; - - /* First check with inet_aton() */ - if (pj_inet_aton(host, &dummy) > 0) - return 4; - - /* Then check if this is an IPv6 address */ - if (pj_inet_pton(pj_AF_INET6(), host, &dummy6) == PJ_SUCCESS) - return 6; - - /* Not an IP address */ - return 0; -} - - -/* - * This is the main function for performing server resolution. - */ -PJ_DEF(void) pjsip_resolve( pjsip_resolver_t *resolver, - pj_pool_t *pool, - const pjsip_host_info *target, - void *token, - pjsip_resolver_callback *cb) -{ - pjsip_server_addresses svr_addr; - pj_status_t status = PJ_SUCCESS; - int ip_addr_ver; - struct query *query; - pjsip_transport_type_e type = target->type; - - /* Is it IP address or hostname? And if it's an IP, which version? */ - ip_addr_ver = get_ip_addr_ver(&target->addr.host); - - /* Set the transport type if not explicitly specified. - * RFC 3263 section 4.1 specify rules to set up this. - */ - if (type == PJSIP_TRANSPORT_UNSPECIFIED) { - if (ip_addr_ver || (target->addr.port != 0)) { -#if PJ_HAS_TCP - if (target->flag & PJSIP_TRANSPORT_SECURE) - { - type = PJSIP_TRANSPORT_TLS; - } else if (target->flag & PJSIP_TRANSPORT_RELIABLE) - { - type = PJSIP_TRANSPORT_TCP; - } else -#endif - { - type = PJSIP_TRANSPORT_UDP; - } - } else { - /* No type or explicit port is specified, and the address is - * not IP address. - * In this case, full NAPTR resolution must be performed. - * But we don't support it (yet). - */ -#if PJ_HAS_TCP - if (target->flag & PJSIP_TRANSPORT_SECURE) - { - type = PJSIP_TRANSPORT_TLS; - } else if (target->flag & PJSIP_TRANSPORT_RELIABLE) - { - type = PJSIP_TRANSPORT_TCP; - } else -#endif - { - type = PJSIP_TRANSPORT_UDP; - } - } - - /* Add IPv6 flag for IPv6 address */ - if (ip_addr_ver == 6) - type = (pjsip_transport_type_e)((int)type + PJSIP_TRANSPORT_IPV6); - } - - - /* If target is an IP address, or if resolver is not configured, - * we can just finish the resolution now using pj_gethostbyname() - */ - if (ip_addr_ver || resolver->res == NULL) { - char addr_str[PJ_INET6_ADDRSTRLEN+10]; - pj_uint16_t srv_port; - - if (ip_addr_ver != 0) { - /* Target is an IP address, no need to resolve */ - if (ip_addr_ver == 4) { - pj_sockaddr_init(pj_AF_INET(), &svr_addr.entry[0].addr, - NULL, 0); - pj_inet_aton(&target->addr.host, - &svr_addr.entry[0].addr.ipv4.sin_addr); - } else { - pj_sockaddr_init(pj_AF_INET6(), &svr_addr.entry[0].addr, - NULL, 0); - pj_inet_pton(pj_AF_INET6(), &target->addr.host, - &svr_addr.entry[0].addr.ipv6.sin6_addr); - } - } else { - pj_addrinfo ai; - unsigned count; - int af; - - PJ_LOG(5,(THIS_FILE, - "DNS resolver not available, target '%.*s:%d' type=%s " - "will be resolved with getaddrinfo()", - target->addr.host.slen, - target->addr.host.ptr, - target->addr.port, - pjsip_transport_get_type_name(target->type))); - - if (type & PJSIP_TRANSPORT_IPV6) { - af = pj_AF_INET6(); - } else { - af = pj_AF_INET(); - } - - /* Resolve */ - count = 1; - status = pj_getaddrinfo(af, &target->addr.host, &count, &ai); - if (status != PJ_SUCCESS) { - /* "Normalize" error to PJ_ERESOLVE. This is a special error - * because it will be translated to SIP status 502 by - * sip_transaction.c - */ - status = PJ_ERESOLVE; - goto on_error; - } - - svr_addr.entry[0].addr.addr.sa_family = (pj_uint16_t)af; - pj_memcpy(&svr_addr.entry[0].addr, &ai.ai_addr, - sizeof(pj_sockaddr)); - } - - /* Set the port number */ - if (target->addr.port == 0) { - srv_port = (pj_uint16_t) - pjsip_transport_get_default_port_for_type(type); - } else { - srv_port = (pj_uint16_t)target->addr.port; - } - pj_sockaddr_set_port(&svr_addr.entry[0].addr, srv_port); - - /* Call the callback. */ - PJ_LOG(5,(THIS_FILE, - "Target '%.*s:%d' type=%s resolved to " - "'%s' type=%s (%s)", - (int)target->addr.host.slen, - target->addr.host.ptr, - target->addr.port, - pjsip_transport_get_type_name(target->type), - pj_sockaddr_print(&svr_addr.entry[0].addr, addr_str, - sizeof(addr_str), 3), - pjsip_transport_get_type_name(type), - pjsip_transport_get_type_desc(type))); - svr_addr.count = 1; - svr_addr.entry[0].priority = 0; - svr_addr.entry[0].weight = 0; - svr_addr.entry[0].type = type; - svr_addr.entry[0].addr_len = pj_sockaddr_get_len(&svr_addr.entry[0].addr); - (*cb)(status, token, &svr_addr); - - /* Done. */ - return; - } - - /* Target is not an IP address so we need to resolve it. */ -#if PJSIP_HAS_RESOLVER - - /* Build the query state */ - query = PJ_POOL_ZALLOC_T(pool, struct query); - query->objname = THIS_FILE; - query->token = token; - query->cb = cb; - query->req.target = *target; - pj_strdup(pool, &query->req.target.addr.host, &target->addr.host); - - /* If port is not specified, start with SRV resolution - * (should be with NAPTR, but we'll do that later) - */ - PJ_TODO(SUPPORT_DNS_NAPTR); - - /* Build dummy NAPTR entry */ - query->naptr_cnt = 1; - pj_bzero(&query->naptr[0], sizeof(query->naptr[0])); - query->naptr[0].order = 0; - query->naptr[0].pref = 0; - query->naptr[0].type = type; - pj_strdup(pool, &query->naptr[0].name, &target->addr.host); - - - /* Start DNS SRV or A resolution, depending on whether port is specified */ - if (target->addr.port == 0) { - query->query_type = PJ_DNS_TYPE_SRV; - - query->req.def_port = 5060; - - if (type == PJSIP_TRANSPORT_TLS) { - query->naptr[0].res_type = pj_str("_sips._tcp."); - query->req.def_port = 5061; - } else if (type == PJSIP_TRANSPORT_TCP) - query->naptr[0].res_type = pj_str("_sip._tcp."); - else if (type == PJSIP_TRANSPORT_UDP) - query->naptr[0].res_type = pj_str("_sip._udp."); - else { - pj_assert(!"Unknown transport type"); - query->naptr[0].res_type = pj_str("_sip._udp."); - - } - - } else { - /* Otherwise if port is specified, start with A (or AAAA) host - * resolution - */ - query->query_type = PJ_DNS_TYPE_A; - query->naptr[0].res_type.slen = 0; - query->req.def_port = target->addr.port; - } - - /* Start the asynchronous query */ - PJ_LOG(5, (query->objname, - "Starting async DNS %s query: target=%.*s%.*s, transport=%s, " - "port=%d", - pj_dns_get_type_name(query->query_type), - (int)query->naptr[0].res_type.slen, - query->naptr[0].res_type.ptr, - (int)query->naptr[0].name.slen, query->naptr[0].name.ptr, - pjsip_transport_get_type_name(target->type), - target->addr.port)); - - if (query->query_type == PJ_DNS_TYPE_SRV) { - - status = pj_dns_srv_resolve(&query->naptr[0].name, - &query->naptr[0].res_type, - query->req.def_port, pool, resolver->res, - PJ_TRUE, query, &srv_resolver_cb, NULL); - - } else if (query->query_type == PJ_DNS_TYPE_A) { - - status = pj_dns_resolver_start_query(resolver->res, - &query->naptr[0].name, - PJ_DNS_TYPE_A, 0, - &dns_a_callback, - query, &query->object); - - } else { - pj_assert(!"Unexpected"); - status = PJ_EBUG; - } - - if (status != PJ_SUCCESS) - goto on_error; - - return; - -#else /* PJSIP_HAS_RESOLVER */ - PJ_UNUSED_ARG(pool); - PJ_UNUSED_ARG(query); - PJ_UNUSED_ARG(srv_name); -#endif /* PJSIP_HAS_RESOLVER */ - -on_error: - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - PJ_LOG(4,(THIS_FILE, "Failed to resolve '%.*s'. Err=%d (%s)", - (int)target->addr.host.slen, - target->addr.host.ptr, - status, - pj_strerror(status,errmsg,sizeof(errmsg)).ptr)); - (*cb)(status, token, NULL); - return; - } -} - -#if PJSIP_HAS_RESOLVER - -/* - * This callback is called when target is resolved with DNS A query. - */ -static void dns_a_callback(void *user_data, - pj_status_t status, - pj_dns_parsed_packet *pkt) -{ - struct query *query = (struct query*) user_data; - pjsip_server_addresses srv; - pj_dns_a_record rec; - unsigned i; - - rec.addr_count = 0; - - /* Parse the response */ - if (status == PJ_SUCCESS) { - status = pj_dns_parse_a_response(pkt, &rec); - } - - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - - /* Log error */ - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(4,(query->objname, "DNS A record resolution failed: %s", - errmsg)); - - /* Call the callback */ - (*query->cb)(status, query->token, NULL); - return; - } - - /* Build server addresses and call callback */ - srv.count = 0; - for (i=0; inaptr[0].type; - srv.entry[srv.count].priority = 0; - srv.entry[srv.count].weight = 0; - srv.entry[srv.count].addr_len = sizeof(pj_sockaddr_in); - pj_sockaddr_in_init(&srv.entry[srv.count].addr.ipv4, - 0, (pj_uint16_t)query->req.def_port); - srv.entry[srv.count].addr.ipv4.sin_addr.s_addr = - rec.addr[i].s_addr; - - ++srv.count; - } - - /* Call the callback */ - (*query->cb)(PJ_SUCCESS, query->token, &srv); -} - - -/* Callback to be called by DNS SRV resolution */ -static void srv_resolver_cb(void *user_data, - pj_status_t status, - const pj_dns_srv_record *rec) -{ - struct query *query = (struct query*) user_data; - pjsip_server_addresses srv; - unsigned i; - - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - - /* Log error */ - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(4,(query->objname, "DNS A record resolution failed: %s", - errmsg)); - - /* Call the callback */ - (*query->cb)(status, query->token, NULL); - return; - } - - /* Build server addresses and call callback */ - srv.count = 0; - for (i=0; icount; ++i) { - unsigned j; - - for (j=0; jentry[i].server.addr_count; ++j) { - srv.entry[srv.count].type = query->naptr[0].type; - srv.entry[srv.count].priority = rec->entry[i].priority; - srv.entry[srv.count].weight = rec->entry[i].weight; - srv.entry[srv.count].addr_len = sizeof(pj_sockaddr_in); - pj_sockaddr_in_init(&srv.entry[srv.count].addr.ipv4, - 0, (pj_uint16_t)rec->entry[i].port); - srv.entry[srv.count].addr.ipv4.sin_addr.s_addr = - rec->entry[i].server.addr[j].s_addr; - - ++srv.count; - } - } - - /* Call the callback */ - (*query->cb)(PJ_SUCCESS, query->token, &srv); -} - -#endif /* PJSIP_HAS_RESOLVER */ - diff --git a/res/pjproject/pjsip/src/pjsip/sip_tel_uri.c b/res/pjproject/pjsip/src/pjsip/sip_tel_uri.c deleted file mode 100644 index c6bb5ba292..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_tel_uri.c +++ /dev/null @@ -1,448 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define ALPHA -#define DIGITS "0123456789" -#define HEX "aAbBcCdDeEfF" -#define HEX_DIGITS DIGITS HEX -#define VISUAL_SEP "-.()" -#define PHONE_DIGITS DIGITS VISUAL_SEP -#define GLOBAL_DIGITS "+" PHONE_DIGITS -#define LOCAL_DIGITS HEX_DIGITS "*#" VISUAL_SEP -#define NUMBER_SPEC LOCAL_DIGITS GLOBAL_DIGITS -#define PHONE_CONTEXT ALPHA GLOBAL_DIGITS -//#define RESERVED ";/?:@&=+$," -#define RESERVED "/:@&$,+" -#define MARK "-_.!~*'()" -#define UNRESERVED ALPHA DIGITS MARK -#define ESCAPED "%" -#define URIC RESERVED UNRESERVED ESCAPED "[]+" -#define PARAM_UNRESERVED "[]/:&+$" -#define PARAM_CHAR PARAM_UNRESERVED UNRESERVED ESCAPED - -static pj_cis_buf_t cis_buf; -static pj_cis_t pjsip_TEL_NUMBER_SPEC; -static pj_cis_t pjsip_TEL_EXT_VALUE_SPEC; -static pj_cis_t pjsip_TEL_PHONE_CONTEXT_SPEC; -static pj_cis_t pjsip_TEL_URIC_SPEC; -static pj_cis_t pjsip_TEL_VISUAL_SEP_SPEC; -static pj_cis_t pjsip_TEL_PNAME_SPEC; -static pj_cis_t pjsip_TEL_PVALUE_SPEC; -static pj_cis_t pjsip_TEL_PVALUE_SPEC_ESC; -static pj_cis_t pjsip_TEL_PARSING_PVALUE_SPEC; -static pj_cis_t pjsip_TEL_PARSING_PVALUE_SPEC_ESC; - -static pj_str_t pjsip_ISUB_STR = { "isub", 4 }; -static pj_str_t pjsip_EXT_STR = { "ext", 3 }; -static pj_str_t pjsip_PH_CTX_STR = { "phone-context", 13 }; - - -static const pj_str_t *tel_uri_get_scheme( const pjsip_tel_uri* ); -static void *tel_uri_get_uri( pjsip_tel_uri* ); -static pj_ssize_t tel_uri_print( pjsip_uri_context_e context, - const pjsip_tel_uri *url, - char *buf, pj_size_t size); -static int tel_uri_cmp( pjsip_uri_context_e context, - const pjsip_tel_uri *url1, const pjsip_tel_uri *url2); -static pjsip_tel_uri* tel_uri_clone(pj_pool_t *pool, const pjsip_tel_uri *rhs); -static void* tel_uri_parse( pj_scanner *scanner, pj_pool_t *pool, - pj_bool_t parse_params); - -typedef const pj_str_t* (*P_GET_SCHEME)(const void*); -typedef void* (*P_GET_URI)(void*); -typedef pj_ssize_t (*P_PRINT_URI)(pjsip_uri_context_e,const void *, - char*,pj_size_t); -typedef int (*P_CMP_URI)(pjsip_uri_context_e, const void*, - const void*); -typedef void* (*P_CLONE)(pj_pool_t*, const void*); - -static pjsip_uri_vptr tel_uri_vptr = -{ - (P_GET_SCHEME) &tel_uri_get_scheme, - (P_GET_URI) &tel_uri_get_uri, - (P_PRINT_URI) &tel_uri_print, - (P_CMP_URI) &tel_uri_cmp, - (P_CLONE) &tel_uri_clone -}; - - -PJ_DEF(pjsip_tel_uri*) pjsip_tel_uri_create(pj_pool_t *pool) -{ - pjsip_tel_uri *uri = PJ_POOL_ZALLOC_T(pool, pjsip_tel_uri); - uri->vptr = &tel_uri_vptr; - pj_list_init(&uri->other_param); - return uri; -} - - -static const pj_str_t *tel_uri_get_scheme( const pjsip_tel_uri *uri ) -{ - PJ_UNUSED_ARG(uri); - return &pjsip_parser_const()->pjsip_TEL_STR; -} - -static void *tel_uri_get_uri( pjsip_tel_uri *uri ) -{ - return uri; -} - - -pj_status_t pjsip_tel_uri_subsys_init(void) -{ - pj_status_t status; - - pj_cis_buf_init(&cis_buf); - - status = pj_cis_init(&cis_buf, &pjsip_TEL_EXT_VALUE_SPEC); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, status); - pj_cis_add_str(&pjsip_TEL_EXT_VALUE_SPEC, PHONE_DIGITS); - - status = pj_cis_init(&cis_buf, &pjsip_TEL_NUMBER_SPEC); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, status); - pj_cis_add_str(&pjsip_TEL_NUMBER_SPEC, NUMBER_SPEC); - - status = pj_cis_init(&cis_buf, &pjsip_TEL_VISUAL_SEP_SPEC); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, status); - pj_cis_add_str(&pjsip_TEL_VISUAL_SEP_SPEC, VISUAL_SEP); - - status = pj_cis_init(&cis_buf, &pjsip_TEL_PHONE_CONTEXT_SPEC); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, status); - pj_cis_add_alpha(&pjsip_TEL_PHONE_CONTEXT_SPEC); - pj_cis_add_num(&pjsip_TEL_PHONE_CONTEXT_SPEC); - pj_cis_add_str(&pjsip_TEL_PHONE_CONTEXT_SPEC, PHONE_CONTEXT); - - status = pj_cis_init(&cis_buf, &pjsip_TEL_URIC_SPEC); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, status); - pj_cis_add_alpha(&pjsip_TEL_URIC_SPEC); - pj_cis_add_num(&pjsip_TEL_URIC_SPEC); - pj_cis_add_str(&pjsip_TEL_URIC_SPEC, URIC); - - status = pj_cis_init(&cis_buf, &pjsip_TEL_PNAME_SPEC); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, status); - pj_cis_add_alpha(&pjsip_TEL_PNAME_SPEC); - pj_cis_add_num(&pjsip_TEL_PNAME_SPEC); - pj_cis_add_str(&pjsip_TEL_PNAME_SPEC, "-"); - - status = pj_cis_init(&cis_buf, &pjsip_TEL_PVALUE_SPEC); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, status); - pj_cis_add_alpha(&pjsip_TEL_PVALUE_SPEC); - pj_cis_add_num(&pjsip_TEL_PVALUE_SPEC); - pj_cis_add_str(&pjsip_TEL_PVALUE_SPEC, PARAM_CHAR); - - status = pj_cis_dup(&pjsip_TEL_PVALUE_SPEC_ESC, &pjsip_TEL_PVALUE_SPEC); - pj_cis_del_str(&pjsip_TEL_PVALUE_SPEC_ESC, "%"); - - status = pj_cis_dup(&pjsip_TEL_PARSING_PVALUE_SPEC, &pjsip_TEL_URIC_SPEC); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, status); - pj_cis_add_cis(&pjsip_TEL_PARSING_PVALUE_SPEC, &pjsip_TEL_PVALUE_SPEC); - pj_cis_add_str(&pjsip_TEL_PARSING_PVALUE_SPEC, "="); - - status = pj_cis_dup(&pjsip_TEL_PARSING_PVALUE_SPEC_ESC, - &pjsip_TEL_PARSING_PVALUE_SPEC); - pj_cis_del_str(&pjsip_TEL_PARSING_PVALUE_SPEC_ESC, "%"); - - status = pjsip_register_uri_parser("tel", &tel_uri_parse); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, status); - - return PJ_SUCCESS; -} - -/* Print tel: URI */ -static pj_ssize_t tel_uri_print( pjsip_uri_context_e context, - const pjsip_tel_uri *uri, - char *buf, pj_size_t size) -{ - int printed; - char *startbuf = buf; - char *endbuf = buf+size; - const pjsip_parser_const_t *pc = pjsip_parser_const(); - - PJ_UNUSED_ARG(context); - - /* Print scheme. */ - copy_advance(buf, pc->pjsip_TEL_STR); - *buf++ = ':'; - - /* Print number. */ - copy_advance_escape(buf, uri->number, pjsip_TEL_NUMBER_SPEC); - - /* ISDN sub-address or extension must appear first. */ - - /* Extension param. */ - copy_advance_pair_escape(buf, ";ext=", 5, uri->ext_param, - pjsip_TEL_EXT_VALUE_SPEC); - - /* ISDN sub-address. */ - copy_advance_pair_escape(buf, ";isub=", 6, uri->isub_param, - pjsip_TEL_URIC_SPEC); - - /* Followed by phone context, if present. */ - copy_advance_pair_escape(buf, ";phone-context=", 15, uri->context, - pjsip_TEL_PHONE_CONTEXT_SPEC); - - - /* Print other parameters. */ - printed = pjsip_param_print_on(&uri->other_param, buf, (endbuf-buf), - &pjsip_TEL_PNAME_SPEC, - &pjsip_TEL_PVALUE_SPEC, ';'); - if (printed < 0) - return -1; - buf += printed; - - return (buf-startbuf); -} - -/* Compare two numbers, according to RFC 3966: - * - both must be either local or global numbers. - * - The 'global-number-digits' and the 'local-number-digits' must be - * equal, after removing all visual separators. - */ -PJ_DEF(int) pjsip_tel_nb_cmp(const pj_str_t *number1, const pj_str_t *number2) -{ - const char *s1 = number1->ptr, - *e1 = number1->ptr + number1->slen, - *s2 = number2->ptr, - *e2 = number2->ptr + number2->slen; - - /* Compare each number, ignoreing visual separators. */ - while (s1!=e1 && s2!=e2) { - int diff; - - if (pj_cis_match(&pjsip_TEL_VISUAL_SEP_SPEC, *s1)) { - ++s1; - continue; - } - if (pj_cis_match(&pjsip_TEL_VISUAL_SEP_SPEC, *s2)) { - ++s2; - continue; - } - - diff = pj_tolower(*s1) - pj_tolower(*s2); - if (!diff) { - ++s1, ++s2; - continue; - } else - return diff; - } - - /* Exhaust remaining visual separators. */ - while (s1!=e1 && pj_cis_match(&pjsip_TEL_VISUAL_SEP_SPEC, *s1)) - ++s1; - while (s2!=e2 && pj_cis_match(&pjsip_TEL_VISUAL_SEP_SPEC, *s2)) - ++s2; - - if (s1==e1 && s2==e2) - return 0; - else if (s1==e1) - return -1; - else - return 1; -} - -/* Compare two tel: URI */ -static int tel_uri_cmp( pjsip_uri_context_e context, - const pjsip_tel_uri *url1, const pjsip_tel_uri *url2) -{ - int result; - - PJ_UNUSED_ARG(context); - - /* Scheme must match. */ - if (url1->vptr != url2->vptr) - return -1; - - /* Compare number. */ - result = pjsip_tel_nb_cmp(&url1->number, &url2->number); - if (result != 0) - return result; - - /* Compare phone-context as hostname or as as global nb. */ - if (url1->context.slen) { - if (*url1->context.ptr != '+') - result = pj_stricmp(&url1->context, &url2->context); - else - result = pjsip_tel_nb_cmp(&url1->context, &url2->context); - - if (result != 0) - return result; - - } else if (url2->context.slen) - return -1; - - /* Compare extension. */ - if (url1->ext_param.slen) { - result = pjsip_tel_nb_cmp(&url1->ext_param, &url2->ext_param); - if (result != 0) - return result; - } - - /* Compare isub bytes by bytes. */ - if (url1->isub_param.slen) { - result = pj_stricmp(&url1->isub_param, &url2->isub_param); - if (result != 0) - return result; - } - - /* Other parameters are compared regardless of the order. - * If one URI has parameter not found in the other URI, the URIs are - * not equal. - */ - if (url1->other_param.next != &url1->other_param) { - const pjsip_param *p1, *p2; - int cnt1 = 0, cnt2 = 0; - - p1 = url1->other_param.next; - while (p1 != &url1->other_param) { - p2 = pjsip_param_cfind(&url2->other_param, &p1->name); - if (!p2 ) - return 1; - - result = pj_stricmp(&p1->value, &p2->value); - if (result != 0) - return result; - - p1 = p1->next; - ++cnt1; - } - - p2 = url2->other_param.next; - while (p2 != &url2->other_param) - ++cnt2, p2 = p2->next; - - if (cnt1 < cnt2) - return -1; - else if (cnt1 > cnt2) - return 1; - - } else if (url2->other_param.next != &url2->other_param) - return -1; - - /* Equal. */ - return 0; -} - -/* Clone tel: URI */ -static pjsip_tel_uri* tel_uri_clone(pj_pool_t *pool, const pjsip_tel_uri *rhs) -{ - pjsip_tel_uri *uri = pjsip_tel_uri_create(pool); - - pj_strdup(pool, &uri->number, &rhs->number); - pj_strdup(pool, &uri->context, &rhs->context); - pj_strdup(pool, &uri->ext_param, &rhs->ext_param); - pj_strdup(pool, &uri->isub_param, &rhs->isub_param); - pjsip_param_clone(pool, &uri->other_param, &rhs->other_param); - - return uri; -} - -/* Parse tel: URI - * THis actually returns (pjsip_tel_uri *) type. - */ -static void* tel_uri_parse( pj_scanner *scanner, pj_pool_t *pool, - pj_bool_t parse_params) -{ - pjsip_tel_uri *uri; - pj_str_t token; - int skip_ws = scanner->skip_ws; - const pjsip_parser_const_t *pc = pjsip_parser_const(); - - scanner->skip_ws = 0; - - /* Parse scheme. */ - pj_scan_get(scanner, &pc->pjsip_TOKEN_SPEC, &token); - if (pj_scan_get_char(scanner) != ':') - PJ_THROW(PJSIP_SYN_ERR_EXCEPTION); - if (pj_stricmp_alnum(&token, &pc->pjsip_TEL_STR) != 0) - PJ_THROW(PJSIP_SYN_ERR_EXCEPTION); - - /* Create URI */ - uri = pjsip_tel_uri_create(pool); - - /* Get the phone number. */ -#if defined(PJSIP_UNESCAPE_IN_PLACE) && PJSIP_UNESCAPE_IN_PLACE!=0 - pj_scan_get_unescape(scanner, &pjsip_TEL_NUMBER_SPEC, &uri->number); -#else - pj_scan_get(scanner, &pjsip_TEL_NUMBER_SPEC, &uri->number); - uri->number = pj_str_unescape(pool, &uri->number); -#endif - - /* Get all parameters. */ - if (parse_params && *scanner->curptr==';') { - pj_str_t pname, pvalue; - const pjsip_parser_const_t *pc = pjsip_parser_const(); - - do { - /* Eat the ';' separator. */ - pj_scan_get_char(scanner); - - /* Get pname. */ - pj_scan_get(scanner, &pc->pjsip_PARAM_CHAR_SPEC, &pname); - - if (*scanner->curptr == '=') { - pj_scan_get_char(scanner); - -# if defined(PJSIP_UNESCAPE_IN_PLACE) && PJSIP_UNESCAPE_IN_PLACE!=0 - pj_scan_get_unescape(scanner, - &pjsip_TEL_PARSING_PVALUE_SPEC_ESC, - &pvalue); -# else - pj_scan_get(scanner, &pjsip_TEL_PARSING_PVALUE_SPEC, - &pvalue); - pvalue = pj_str_unescape(pool, &pvalue); -# endif - - } else { - pvalue.slen = 0; - pvalue.ptr = NULL; - } - - /* Save the parameters. */ - if (pj_stricmp_alnum(&pname, &pjsip_ISUB_STR)==0) { - uri->isub_param = pvalue; - } else if (pj_stricmp_alnum(&pname, &pjsip_EXT_STR)==0) { - uri->ext_param = pvalue; - } else if (pj_stricmp_alnum(&pname, &pjsip_PH_CTX_STR)==0) { - uri->context = pvalue; - } else { - pjsip_param *param = PJ_POOL_ALLOC_T(pool, pjsip_param); - param->name = pname; - param->value = pvalue; - pj_list_insert_before(&uri->other_param, param); - } - - } while (*scanner->curptr==';'); - } - - scanner->skip_ws = skip_ws; - pj_scan_skip_whitespace(scanner); - return uri; -} - diff --git a/res/pjproject/pjsip/src/pjsip/sip_tel_uri_wrap.cpp b/res/pjproject/pjsip/src/pjsip/sip_tel_uri_wrap.cpp deleted file mode 100644 index fc00ccfbf7..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_tel_uri_wrap.cpp +++ /dev/null @@ -1,24 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * This file is a C++ wrapper, see ticket #886 for details. - */ - -#include "sip_tel_uri.c" diff --git a/res/pjproject/pjsip/src/pjsip/sip_transaction.c b/res/pjproject/pjsip/src/pjsip/sip_transaction.c deleted file mode 100644 index 0ef1f4d2d7..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_transaction.c +++ /dev/null @@ -1,3273 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "sip_transaction.c" - -#if 0 -#define TSX_TRACE_(expr) PJ_LOG(3,expr) -#else -#define TSX_TRACE_(expr) -#endif - -/* When this macro is set, transaction will keep the hashed value - * so that future lookup (to unregister transaction) does not need - * to recalculate the hash again. It should gains a little bit of - * performance, so generally we'd want this. - */ -#define PRECALC_HASH - - -/* Defined in sip_util_statefull.c */ -extern pjsip_module mod_stateful_util; - - -/***************************************************************************** - ** - ** Declarations and static variable definitions section. - ** - ***************************************************************************** - **/ -/* Prototypes. */ -static pj_status_t mod_tsx_layer_load(pjsip_endpoint *endpt); -static pj_status_t mod_tsx_layer_start(void); -static pj_status_t mod_tsx_layer_stop(void); -static pj_status_t mod_tsx_layer_unload(void); -static pj_bool_t mod_tsx_layer_on_rx_request(pjsip_rx_data *rdata); -static pj_bool_t mod_tsx_layer_on_rx_response(pjsip_rx_data *rdata); - -/* Transaction layer module definition. */ -static struct mod_tsx_layer -{ - struct pjsip_module mod; - pj_pool_t *pool; - pjsip_endpoint *endpt; - pj_mutex_t *mutex; - pj_hash_table_t *htable; -} mod_tsx_layer = -{ { - NULL, NULL, /* List's prev and next. */ - { "mod-tsx-layer", 13 }, /* Module name. */ - -1, /* Module ID */ - PJSIP_MOD_PRIORITY_TSX_LAYER, /* Priority. */ - mod_tsx_layer_load, /* load(). */ - mod_tsx_layer_start, /* start() */ - mod_tsx_layer_stop, /* stop() */ - mod_tsx_layer_unload, /* unload() */ - mod_tsx_layer_on_rx_request, /* on_rx_request() */ - mod_tsx_layer_on_rx_response, /* on_rx_response() */ - NULL - } -}; - -/* Thread Local Storage ID for transaction lock */ -static long pjsip_tsx_lock_tls_id; - -/* Transaction state names */ -static const char *state_str[] = -{ - "Null", - "Calling", - "Trying", - "Proceeding", - "Completed", - "Confirmed", - "Terminated", - "Destroyed", -}; - -/* Role names */ -static const char *role_name[] = -{ - "UAC", - "UAS" -}; - -/* Transport flag. */ -enum -{ - TSX_HAS_PENDING_TRANSPORT = 1, - TSX_HAS_PENDING_RESCHED = 2, - TSX_HAS_PENDING_SEND = 4, - TSX_HAS_PENDING_DESTROY = 8, - TSX_HAS_RESOLVED_SERVER = 16, -}; - -/* Transaction lock. */ -typedef struct tsx_lock_data { - struct tsx_lock_data *prev; - pjsip_transaction *tsx; - int is_alive; -} tsx_lock_data; - - -/* Timer timeout value constants */ -static pj_time_val t1_timer_val = { PJSIP_T1_TIMEOUT/1000, - PJSIP_T1_TIMEOUT%1000 }; -static pj_time_val t2_timer_val = { PJSIP_T2_TIMEOUT/1000, - PJSIP_T2_TIMEOUT%1000 }; -static pj_time_val t4_timer_val = { PJSIP_T4_TIMEOUT/1000, - PJSIP_T4_TIMEOUT%1000 }; -static pj_time_val td_timer_val = { PJSIP_TD_TIMEOUT/1000, - PJSIP_TD_TIMEOUT%1000 }; -static pj_time_val timeout_timer_val = { (64*PJSIP_T1_TIMEOUT)/1000, - (64*PJSIP_T1_TIMEOUT)%1000 }; - -#define TIMER_INACTIVE 0 -#define TIMER_ACTIVE 1 - - -/* Prototypes. */ -static void lock_tsx(pjsip_transaction *tsx, struct tsx_lock_data *lck); -static pj_status_t unlock_tsx( pjsip_transaction *tsx, - struct tsx_lock_data *lck); -static pj_status_t tsx_on_state_null( pjsip_transaction *tsx, - pjsip_event *event); -static pj_status_t tsx_on_state_calling( pjsip_transaction *tsx, - pjsip_event *event); -static pj_status_t tsx_on_state_trying( pjsip_transaction *tsx, - pjsip_event *event); -static pj_status_t tsx_on_state_proceeding_uas( pjsip_transaction *tsx, - pjsip_event *event); -static pj_status_t tsx_on_state_proceeding_uac( pjsip_transaction *tsx, - pjsip_event *event); -static pj_status_t tsx_on_state_completed_uas( pjsip_transaction *tsx, - pjsip_event *event); -static pj_status_t tsx_on_state_completed_uac( pjsip_transaction *tsx, - pjsip_event *event); -static pj_status_t tsx_on_state_confirmed( pjsip_transaction *tsx, - pjsip_event *event); -static pj_status_t tsx_on_state_terminated( pjsip_transaction *tsx, - pjsip_event *event); -static pj_status_t tsx_on_state_destroyed( pjsip_transaction *tsx, - pjsip_event *event); -static void tsx_timer_callback( pj_timer_heap_t *theap, - pj_timer_entry *entry); -static void tsx_tp_state_callback( - pjsip_transport *tp, - pjsip_transport_state state, - const pjsip_transport_state_info *info); -static pj_status_t tsx_create( pjsip_module *tsx_user, - pjsip_transaction **p_tsx); -static pj_status_t tsx_destroy( pjsip_transaction *tsx ); -static void tsx_resched_retransmission( pjsip_transaction *tsx ); -static pj_status_t tsx_retransmit( pjsip_transaction *tsx, int resched); -static int tsx_send_msg( pjsip_transaction *tsx, - pjsip_tx_data *tdata); -static void tsx_update_transport( pjsip_transaction *tsx, - pjsip_transport *tp); - - -/* State handlers for UAC, indexed by state */ -static int (*tsx_state_handler_uac[PJSIP_TSX_STATE_MAX])(pjsip_transaction *, - pjsip_event *) = -{ - &tsx_on_state_null, - &tsx_on_state_calling, - NULL, - &tsx_on_state_proceeding_uac, - &tsx_on_state_completed_uac, - &tsx_on_state_confirmed, - &tsx_on_state_terminated, - &tsx_on_state_destroyed, -}; - -/* State handlers for UAS */ -static int (*tsx_state_handler_uas[PJSIP_TSX_STATE_MAX])(pjsip_transaction *, - pjsip_event *) = -{ - &tsx_on_state_null, - NULL, - &tsx_on_state_trying, - &tsx_on_state_proceeding_uas, - &tsx_on_state_completed_uas, - &tsx_on_state_confirmed, - &tsx_on_state_terminated, - &tsx_on_state_destroyed, -}; - -/***************************************************************************** - ** - ** Utilities - ** - ***************************************************************************** - */ -/* - * Get transaction state name. - */ -PJ_DEF(const char *) pjsip_tsx_state_str(pjsip_tsx_state_e state) -{ - return state_str[state]; -} - -/* - * Get the role name. - */ -PJ_DEF(const char *) pjsip_role_name(pjsip_role_e role) -{ - return role_name[role]; -} - - -/* - * Create transaction key for RFC2543 compliant messages, which don't have - * unique branch parameter in the top most Via header. - * - * INVITE requests matches a transaction if the following attributes - * match the original request: - * - Request-URI - * - To tag - * - From tag - * - Call-ID - * - CSeq - * - top Via header - * - * CANCEL matching is done similarly as INVITE, except: - * - CSeq method will differ - * - To tag is not matched. - * - * ACK matching is done similarly, except that: - * - method of the CSeq will differ, - * - To tag is matched to the response sent by the server transaction. - * - * The transaction key is constructed from the common components of above - * components. Additional comparison is needed to fully match a transaction. - */ -static pj_status_t create_tsx_key_2543( pj_pool_t *pool, - pj_str_t *str, - pjsip_role_e role, - const pjsip_method *method, - const pjsip_rx_data *rdata ) -{ -#define SEPARATOR '$' - char *key, *p, *end; - int len; - pj_size_t len_required; - pjsip_uri *req_uri; - pj_str_t *host; - - PJ_ASSERT_RETURN(pool && str && method && rdata, PJ_EINVAL); - PJ_ASSERT_RETURN(rdata->msg_info.msg, PJ_EINVAL); - PJ_ASSERT_RETURN(rdata->msg_info.via, PJSIP_EMISSINGHDR); - PJ_ASSERT_RETURN(rdata->msg_info.cseq, PJSIP_EMISSINGHDR); - PJ_ASSERT_RETURN(rdata->msg_info.from, PJSIP_EMISSINGHDR); - - host = &rdata->msg_info.via->sent_by.host; - req_uri = (pjsip_uri*)rdata->msg_info.msg->line.req.uri; - - /* Calculate length required. */ - len_required = 9 + /* CSeq number */ - rdata->msg_info.from->tag.slen + /* From tag. */ - rdata->msg_info.cid->id.slen + /* Call-ID */ - host->slen + /* Via host. */ - 9 + /* Via port. */ - 16; /* Separator+Allowance. */ - key = p = (char*) pj_pool_alloc(pool, len_required); - end = p + len_required; - - /* Add role. */ - *p++ = (char)(role==PJSIP_ROLE_UAC ? 'c' : 's'); - *p++ = SEPARATOR; - - /* Add method, except when method is INVITE or ACK. */ - if (method->id != PJSIP_INVITE_METHOD && method->id != PJSIP_ACK_METHOD) { - pj_memcpy(p, method->name.ptr, method->name.slen); - p += method->name.slen; - *p++ = '$'; - } - - /* Add CSeq (only the number). */ - len = pj_utoa(rdata->msg_info.cseq->cseq, p); - p += len; - *p++ = SEPARATOR; - - /* Add From tag. */ - len = rdata->msg_info.from->tag.slen; - pj_memcpy( p, rdata->msg_info.from->tag.ptr, len); - p += len; - *p++ = SEPARATOR; - - /* Add Call-ID. */ - len = rdata->msg_info.cid->id.slen; - pj_memcpy( p, rdata->msg_info.cid->id.ptr, len ); - p += len; - *p++ = SEPARATOR; - - /* Add top Via header. - * We don't really care whether the port contains the real port (because - * it can be omited if default port is used). Anyway this function is - * only used to match request retransmission, and we expect that the - * request retransmissions will contain the same port. - */ - pj_memcpy(p, host->ptr, host->slen); - p += host->slen; - *p++ = ':'; - - len = pj_utoa(rdata->msg_info.via->sent_by.port, p); - p += len; - *p++ = SEPARATOR; - - *p++ = '\0'; - - /* Done. */ - str->ptr = key; - str->slen = p-key; - - return PJ_SUCCESS; -} - -/* - * Create transaction key for RFC3161 compliant system. - */ -static pj_status_t create_tsx_key_3261( pj_pool_t *pool, - pj_str_t *key, - pjsip_role_e role, - const pjsip_method *method, - const pj_str_t *branch) -{ - char *p; - - PJ_ASSERT_RETURN(pool && key && method && branch, PJ_EINVAL); - - p = key->ptr = (char*) - pj_pool_alloc(pool, branch->slen + method->name.slen + 4 ); - - /* Add role. */ - *p++ = (char)(role==PJSIP_ROLE_UAC ? 'c' : 's'); - *p++ = SEPARATOR; - - /* Add method, except when method is INVITE or ACK. */ - if (method->id != PJSIP_INVITE_METHOD && method->id != PJSIP_ACK_METHOD) { - pj_memcpy(p, method->name.ptr, method->name.slen); - p += method->name.slen; - *p++ = '$'; - } - - /* Add branch ID. */ - pj_memcpy(p, branch->ptr, branch->slen); - p += branch->slen; - - /* Set length */ - key->slen = p - key->ptr; - - return PJ_SUCCESS; -} - -/* - * Create key from the incoming data, to be used to search the transaction - * in the transaction hash table. - */ -PJ_DEF(pj_status_t) pjsip_tsx_create_key( pj_pool_t *pool, pj_str_t *key, - pjsip_role_e role, - const pjsip_method *method, - const pjsip_rx_data *rdata) -{ - pj_str_t rfc3261_branch = {PJSIP_RFC3261_BRANCH_ID, - PJSIP_RFC3261_BRANCH_LEN}; - - - /* Get the branch parameter in the top-most Via. - * If branch parameter is started with "z9hG4bK", then the message was - * generated by agent compliant with RFC3261. Otherwise, it will be - * handled as RFC2543. - */ - const pj_str_t *branch = &rdata->msg_info.via->branch_param; - - if (pj_strncmp(branch,&rfc3261_branch,PJSIP_RFC3261_BRANCH_LEN)==0) { - - /* Create transaction key. */ - return create_tsx_key_3261(pool, key, role, method, branch); - - } else { - /* Create the key for the message. This key will be matched up - * with the transaction key. For RFC2563 transactions, the - * transaction key was created by the same function, so it will - * match the message. - */ - return create_tsx_key_2543( pool, key, role, method, rdata ); - } -} - -/***************************************************************************** - ** - ** Transaction layer module - ** - ***************************************************************************** - **/ -/* - * Create transaction layer module and registers it to the endpoint. - */ -PJ_DEF(pj_status_t) pjsip_tsx_layer_init_module(pjsip_endpoint *endpt) -{ - pj_pool_t *pool; - pj_status_t status; - - - PJ_ASSERT_RETURN(mod_tsx_layer.endpt==NULL, PJ_EINVALIDOP); - - /* Initialize timer values */ - t1_timer_val.sec = pjsip_cfg()->tsx.t1 / 1000; - t1_timer_val.msec = pjsip_cfg()->tsx.t1 % 1000; - t2_timer_val.sec = pjsip_cfg()->tsx.t2 / 1000; - t2_timer_val.msec = pjsip_cfg()->tsx.t2 % 1000; - t4_timer_val.sec = pjsip_cfg()->tsx.t4 / 1000; - t4_timer_val.msec = pjsip_cfg()->tsx.t4 % 1000; - td_timer_val.sec = pjsip_cfg()->tsx.td / 1000; - td_timer_val.msec = pjsip_cfg()->tsx.td % 1000; - /* Changed the initialization below to use td_timer_val instead, to enable - * customization to the timeout value. - */ - //timeout_timer_val.sec = (64 * pjsip_cfg()->tsx.t1) / 1000; - //timeout_timer_val.msec = (64 * pjsip_cfg()->tsx.t1) % 1000; - timeout_timer_val = td_timer_val; - - /* Initialize TLS ID for transaction lock. */ - status = pj_thread_local_alloc(&pjsip_tsx_lock_tls_id); - if (status != PJ_SUCCESS) - return status; - - pj_thread_local_set(pjsip_tsx_lock_tls_id, NULL); - - /* - * Initialize transaction layer structure. - */ - - /* Create pool for the module. */ - pool = pjsip_endpt_create_pool(endpt, "tsxlayer", - PJSIP_POOL_TSX_LAYER_LEN, - PJSIP_POOL_TSX_LAYER_INC ); - if (!pool) - return PJ_ENOMEM; - - - /* Initialize some attributes. */ - mod_tsx_layer.pool = pool; - mod_tsx_layer.endpt = endpt; - - - /* Create hash table. */ - mod_tsx_layer.htable = pj_hash_create( pool, pjsip_cfg()->tsx.max_count ); - if (!mod_tsx_layer.htable) { - pjsip_endpt_release_pool(endpt, pool); - return PJ_ENOMEM; - } - - /* Create mutex. */ - status = pj_mutex_create_recursive(pool, "tsxlayer", &mod_tsx_layer.mutex); - if (status != PJ_SUCCESS) { - pjsip_endpt_release_pool(endpt, pool); - return status; - } - - /* - * Register transaction layer module to endpoint. - */ - status = pjsip_endpt_register_module( endpt, &mod_tsx_layer.mod ); - if (status != PJ_SUCCESS) { - pj_mutex_destroy(mod_tsx_layer.mutex); - pjsip_endpt_release_pool(endpt, pool); - return status; - } - - /* Register mod_stateful_util module (sip_util_statefull.c) */ - status = pjsip_endpt_register_module(endpt, &mod_stateful_util); - if (status != PJ_SUCCESS) { - return status; - } - - return PJ_SUCCESS; -} - - -/* - * Get the instance of transaction layer module. - */ -PJ_DEF(pjsip_module*) pjsip_tsx_layer_instance(void) -{ - return &mod_tsx_layer.mod; -} - - -/* - * Unregister and destroy transaction layer module. - */ -PJ_DEF(pj_status_t) pjsip_tsx_layer_destroy(void) -{ - /* Are we registered? */ - PJ_ASSERT_RETURN(mod_tsx_layer.endpt!=NULL, PJ_EINVALIDOP); - - /* Unregister from endpoint. - * Clean-ups will be done in the unload() module callback. - */ - return pjsip_endpt_unregister_module( mod_tsx_layer.endpt, - &mod_tsx_layer.mod); -} - - -/* - * Register the transaction to the hash table. - */ -static pj_status_t mod_tsx_layer_register_tsx( pjsip_transaction *tsx) -{ - pj_assert(tsx->transaction_key.slen != 0); - - /* Lock hash table mutex. */ - pj_mutex_lock(mod_tsx_layer.mutex); - - /* Check if no transaction with the same key exists. - * Do not use PJ_ASSERT_RETURN since it evaluates the expression - * twice! - */ - if(pj_hash_get(mod_tsx_layer.htable, - tsx->transaction_key.ptr, - tsx->transaction_key.slen, - NULL)) - { - pj_mutex_unlock(mod_tsx_layer.mutex); - PJ_LOG(2,(THIS_FILE, - "Unable to register %.*s transaction (key exists)", - (int)tsx->method.name.slen, - tsx->method.name.ptr)); - return PJ_EEXISTS; - } - - TSX_TRACE_((THIS_FILE, - "Transaction %p registered with hkey=0x%p and key=%.*s", - tsx, tsx->hashed_key, tsx->transaction_key.slen, - tsx->transaction_key.ptr)); - - /* Register the transaction to the hash table. */ -#ifdef PRECALC_HASH - pj_hash_set( tsx->pool, mod_tsx_layer.htable, tsx->transaction_key.ptr, - tsx->transaction_key.slen, tsx->hashed_key, tsx); -#else - pj_hash_set( tsx->pool, mod_tsx_layer.htable, tsx->transaction_key.ptr, - tsx->transaction_key.slen, 0, tsx); -#endif - - /* Unlock mutex. */ - pj_mutex_unlock(mod_tsx_layer.mutex); - - return PJ_SUCCESS; -} - - -/* - * Unregister the transaction from the hash table. - */ -static void mod_tsx_layer_unregister_tsx( pjsip_transaction *tsx) -{ - if (mod_tsx_layer.mod.id == -1) { - /* The transaction layer has been unregistered. This could happen - * if the transaction was pending on transport and the application - * is shutdown. See http://trac.pjsip.org/repos/ticket/1033. In - * this case just do nothing. - */ - return; - } - - pj_assert(tsx->transaction_key.slen != 0); - //pj_assert(tsx->state != PJSIP_TSX_STATE_NULL); - - /* Lock hash table mutex. */ - pj_mutex_lock(mod_tsx_layer.mutex); - - /* Register the transaction to the hash table. */ -#ifdef PRECALC_HASH - pj_hash_set( NULL, mod_tsx_layer.htable, tsx->transaction_key.ptr, - tsx->transaction_key.slen, tsx->hashed_key, NULL); -#else - pj_hash_set( NULL, mod_tsx_layer.htable, tsx->transaction_key.ptr, - tsx->transaction_key.slen, 0, NULL); -#endif - - TSX_TRACE_((THIS_FILE, - "Transaction %p unregistered, hkey=0x%p and key=%.*s", - tsx, tsx->hashed_key, tsx->transaction_key.slen, - tsx->transaction_key.ptr)); - - /* Unlock mutex. */ - pj_mutex_unlock(mod_tsx_layer.mutex); -} - - -/* - * Retrieve the current number of transactions currently registered in - * the hash table. - */ -PJ_DEF(unsigned) pjsip_tsx_layer_get_tsx_count(void) -{ - unsigned count; - - /* Are we registered? */ - PJ_ASSERT_RETURN(mod_tsx_layer.endpt!=NULL, 0); - - pj_mutex_lock(mod_tsx_layer.mutex); - count = pj_hash_count(mod_tsx_layer.htable); - pj_mutex_unlock(mod_tsx_layer.mutex); - - return count; -} - - -/* - * Find a transaction. - */ -PJ_DEF(pjsip_transaction*) pjsip_tsx_layer_find_tsx( const pj_str_t *key, - pj_bool_t lock ) -{ - pjsip_transaction *tsx; - pj_uint32_t hval = 0; - - pj_mutex_lock(mod_tsx_layer.mutex); - tsx = (pjsip_transaction*) - pj_hash_get( mod_tsx_layer.htable, key->ptr, key->slen, &hval ); - pj_mutex_unlock(mod_tsx_layer.mutex); - - TSX_TRACE_((THIS_FILE, - "Finding tsx with hkey=0x%p and key=%.*s: found %p", - hval, key->slen, key->ptr, tsx)); - - /* Race condition! - * Transaction may gets deleted before we have chance to lock it. - */ - PJ_TODO(FIX_RACE_CONDITION_HERE); - if (tsx && lock) - pj_mutex_lock(tsx->mutex); - - return tsx; -} - - -/* This module callback is called when module is being loaded by - * endpoint. It does nothing for this module. - */ -static pj_status_t mod_tsx_layer_load(pjsip_endpoint *endpt) -{ - PJ_UNUSED_ARG(endpt); - return PJ_SUCCESS; -} - - -/* This module callback is called when module is being started by - * endpoint. It does nothing for this module. - */ -static pj_status_t mod_tsx_layer_start(void) -{ - return PJ_SUCCESS; -} - - -/* This module callback is called when module is being stopped by - * endpoint. - */ -static pj_status_t mod_tsx_layer_stop(void) -{ - pj_hash_iterator_t it_buf, *it; - - PJ_LOG(4,(THIS_FILE, "Stopping transaction layer module")); - - pj_mutex_lock(mod_tsx_layer.mutex); - - /* Destroy all transactions. */ - it = pj_hash_first(mod_tsx_layer.htable, &it_buf); - while (it) { - pjsip_transaction *tsx = (pjsip_transaction*) - pj_hash_this(mod_tsx_layer.htable, it); - pj_hash_iterator_t *next = pj_hash_next(mod_tsx_layer.htable, it); - if (tsx) { - pjsip_tsx_terminate(tsx, PJSIP_SC_SERVICE_UNAVAILABLE); - mod_tsx_layer_unregister_tsx(tsx); - tsx_destroy(tsx); - } - it = next; - } - - pj_mutex_unlock(mod_tsx_layer.mutex); - - PJ_LOG(4,(THIS_FILE, "Stopped transaction layer module")); - - return PJ_SUCCESS; -} - - -/* Destroy this module */ -static void tsx_layer_destroy(pjsip_endpoint *endpt) -{ - PJ_UNUSED_ARG(endpt); - - /* Destroy mutex. */ - pj_mutex_destroy(mod_tsx_layer.mutex); - - /* Release pool. */ - pjsip_endpt_release_pool(mod_tsx_layer.endpt, mod_tsx_layer.pool); - - /* Free TLS */ - pj_thread_local_free(pjsip_tsx_lock_tls_id); - - /* Mark as unregistered. */ - mod_tsx_layer.endpt = NULL; - - PJ_LOG(4,(THIS_FILE, "Transaction layer module destroyed")); -} - - -/* This module callback is called when module is being unloaded by - * endpoint. - */ -static pj_status_t mod_tsx_layer_unload(void) -{ - /* Only self destroy when there's no transaction in the table. - * Transaction may refuse to destroy when it has pending - * transmission. If we destroy the module now, application will - * crash when the pending transaction finally got error response - * from transport and when it tries to unregister itself. - */ - if (pj_hash_count(mod_tsx_layer.htable) != 0) { - if (pjsip_endpt_atexit(mod_tsx_layer.endpt, &tsx_layer_destroy) != - PJ_SUCCESS) - { - PJ_LOG(3,(THIS_FILE, "Failed to register transaction layer " - "module destroy.")); - } - return PJ_EBUSY; - } - - tsx_layer_destroy(mod_tsx_layer.endpt); - - return PJ_SUCCESS; -} - - -/* This module callback is called when endpoint has received an - * incoming request message. - */ -static pj_bool_t mod_tsx_layer_on_rx_request(pjsip_rx_data *rdata) -{ - pj_str_t key; - pj_uint32_t hval = 0; - pjsip_transaction *tsx; - - pjsip_tsx_create_key(rdata->tp_info.pool, &key, PJSIP_ROLE_UAS, - &rdata->msg_info.cseq->method, rdata); - - /* Find transaction. */ - pj_mutex_lock( mod_tsx_layer.mutex ); - - tsx = (pjsip_transaction*) - pj_hash_get( mod_tsx_layer.htable, key.ptr, key.slen, &hval ); - - - TSX_TRACE_((THIS_FILE, - "Finding tsx for request, hkey=0x%p and key=%.*s, found %p", - hval, key.slen, key.ptr, tsx)); - - - if (tsx == NULL || tsx->state == PJSIP_TSX_STATE_TERMINATED) { - /* Transaction not found. - * Reject the request so that endpoint passes the request to - * upper layer modules. - */ - pj_mutex_unlock( mod_tsx_layer.mutex); - return PJ_FALSE; - } - - /* Unlock hash table. */ - pj_mutex_unlock( mod_tsx_layer.mutex ); - - /* Race condition! - * Transaction may gets deleted before we have chance to lock it - * in pjsip_tsx_recv_msg(). - */ - PJ_TODO(FIX_RACE_CONDITION_HERE); - - /* Pass the message to the transaction. */ - pjsip_tsx_recv_msg(tsx, rdata ); - - return PJ_TRUE; -} - - -/* This module callback is called when endpoint has received an - * incoming response message. - */ -static pj_bool_t mod_tsx_layer_on_rx_response(pjsip_rx_data *rdata) -{ - pj_str_t key; - pj_uint32_t hval = 0; - pjsip_transaction *tsx; - - pjsip_tsx_create_key(rdata->tp_info.pool, &key, PJSIP_ROLE_UAC, - &rdata->msg_info.cseq->method, rdata); - - /* Find transaction. */ - pj_mutex_lock( mod_tsx_layer.mutex ); - - tsx = (pjsip_transaction*) - pj_hash_get( mod_tsx_layer.htable, key.ptr, key.slen, &hval ); - - - TSX_TRACE_((THIS_FILE, - "Finding tsx for response, hkey=0x%p and key=%.*s, found %p", - hval, key.slen, key.ptr, tsx)); - - - if (tsx == NULL || tsx->state == PJSIP_TSX_STATE_TERMINATED) { - /* Transaction not found. - * Reject the request so that endpoint passes the request to - * upper layer modules. - */ - pj_mutex_unlock( mod_tsx_layer.mutex); - return PJ_FALSE; - } - - /* Unlock hash table. */ - pj_mutex_unlock( mod_tsx_layer.mutex ); - - /* Race condition! - * Transaction may gets deleted before we have chance to lock it - * in pjsip_tsx_recv_msg(). - */ - PJ_TODO(FIX_RACE_CONDITION_HERE); - - /* Pass the message to the transaction. */ - pjsip_tsx_recv_msg(tsx, rdata ); - - return PJ_TRUE; -} - - -/* - * Get transaction instance in the rdata. - */ -PJ_DEF(pjsip_transaction*) pjsip_rdata_get_tsx( pjsip_rx_data *rdata ) -{ - return (pjsip_transaction*) - rdata->endpt_info.mod_data[mod_tsx_layer.mod.id]; -} - - -/* - * Dump transaction layer. - */ -PJ_DEF(void) pjsip_tsx_layer_dump(pj_bool_t detail) -{ -#if PJ_LOG_MAX_LEVEL >= 3 - pj_hash_iterator_t itbuf, *it; - - /* Lock mutex. */ - pj_mutex_lock(mod_tsx_layer.mutex); - - PJ_LOG(3, (THIS_FILE, "Dumping transaction table:")); - PJ_LOG(3, (THIS_FILE, " Total %d transactions", - pj_hash_count(mod_tsx_layer.htable))); - - if (detail) { - it = pj_hash_first(mod_tsx_layer.htable, &itbuf); - if (it == NULL) { - PJ_LOG(3, (THIS_FILE, " - none - ")); - } else { - while (it != NULL) { - pjsip_transaction *tsx = (pjsip_transaction*) - pj_hash_this(mod_tsx_layer.htable,it); - - PJ_LOG(3, (THIS_FILE, " %s %s|%d|%s", - tsx->obj_name, - (tsx->last_tx? - pjsip_tx_data_get_info(tsx->last_tx): - "none"), - tsx->status_code, - pjsip_tsx_state_str(tsx->state))); - - it = pj_hash_next(mod_tsx_layer.htable, it); - } - } - } - - /* Unlock mutex. */ - pj_mutex_unlock(mod_tsx_layer.mutex); -#endif -} - -/***************************************************************************** - ** - ** Transaction - ** - ***************************************************************************** - **/ -/* - * Lock transaction and set the value of Thread Local Storage. - */ -static void lock_tsx(pjsip_transaction *tsx, struct tsx_lock_data *lck) -{ - struct tsx_lock_data *prev_data; - - pj_mutex_lock(tsx->mutex); - prev_data = (struct tsx_lock_data *) - pj_thread_local_get(pjsip_tsx_lock_tls_id); - lck->prev = prev_data; - lck->tsx = tsx; - lck->is_alive = 1; - pj_thread_local_set(pjsip_tsx_lock_tls_id, lck); -} - - -/* - * Unlock transaction. - * This will selectively unlock the mutex ONLY IF the transaction has not been - * destroyed. The function knows whether the transaction has been destroyed - * because when transaction is destroyed the is_alive flag for the transaction - * will be set to zero. - */ -static pj_status_t unlock_tsx( pjsip_transaction *tsx, - struct tsx_lock_data *lck) -{ - pj_assert( (void*)pj_thread_local_get(pjsip_tsx_lock_tls_id) == lck); - pj_assert( lck->tsx == tsx ); - pj_thread_local_set(pjsip_tsx_lock_tls_id, lck->prev); - if (lck->is_alive) - pj_mutex_unlock(tsx->mutex); - - return lck->is_alive ? PJ_SUCCESS : PJSIP_ETSXDESTROYED; -} - - -/* Lock transaction for accessing the timeout timer only. */ -static void lock_timer(pjsip_transaction *tsx) -{ - pj_mutex_lock(tsx->mutex_b); -} - -/* Unlock timer */ -static void unlock_timer(pjsip_transaction *tsx) -{ - pj_mutex_unlock(tsx->mutex_b); -} - -/* Create and initialize basic transaction structure. - * This function is called by both UAC and UAS creation. - */ -static pj_status_t tsx_create( pjsip_module *tsx_user, - pjsip_transaction **p_tsx) -{ - pj_pool_t *pool; - pjsip_transaction *tsx; - pj_status_t status; - - pool = pjsip_endpt_create_pool( mod_tsx_layer.endpt, "tsx", - PJSIP_POOL_TSX_LEN, PJSIP_POOL_TSX_INC ); - if (!pool) - return PJ_ENOMEM; - - tsx = PJ_POOL_ZALLOC_T(pool, pjsip_transaction); - tsx->pool = pool; - tsx->tsx_user = tsx_user; - tsx->endpt = mod_tsx_layer.endpt; - - pj_ansi_snprintf(tsx->obj_name, sizeof(tsx->obj_name), - "tsx%p", tsx); - pj_memcpy(pool->obj_name, tsx->obj_name, sizeof(pool->obj_name)); - - tsx->handle_200resp = 1; - tsx->retransmit_timer.id = 0; - tsx->retransmit_timer.user_data = tsx; - tsx->retransmit_timer.cb = &tsx_timer_callback; - tsx->timeout_timer.id = 0; - tsx->timeout_timer.user_data = tsx; - tsx->timeout_timer.cb = &tsx_timer_callback; - - status = pj_mutex_create_recursive(pool, tsx->obj_name, &tsx->mutex); - if (status != PJ_SUCCESS) { - pjsip_endpt_release_pool(mod_tsx_layer.endpt, pool); - return status; - } - - status = pj_mutex_create_simple(pool, tsx->obj_name, &tsx->mutex_b); - if (status != PJ_SUCCESS) { - pj_mutex_destroy(tsx->mutex); - pjsip_endpt_release_pool(mod_tsx_layer.endpt, pool); - return status; - } - - *p_tsx = tsx; - return PJ_SUCCESS; -} - - -/* Destroy transaction. */ -static pj_status_t tsx_destroy( pjsip_transaction *tsx ) -{ - struct tsx_lock_data *lck; - - /* Release the transport */ - tsx_update_transport(tsx, NULL); - - /* Decrement reference counter in transport selector */ - pjsip_tpselector_dec_ref(&tsx->tp_sel); - - /* Free last transmitted message. */ - if (tsx->last_tx) { - pjsip_tx_data_dec_ref( tsx->last_tx ); - tsx->last_tx = NULL; - } - /* Cancel timeout timer. */ - if (tsx->timeout_timer.id != 0) { - pjsip_endpt_cancel_timer(tsx->endpt, &tsx->timeout_timer); - tsx->timeout_timer.id = 0; - } - /* Cancel retransmission timer. */ - if (tsx->retransmit_timer.id != 0) { - pjsip_endpt_cancel_timer(tsx->endpt, &tsx->retransmit_timer); - tsx->retransmit_timer.id = 0; - } - - /* Clear some pending flags. */ - tsx->transport_flag &= ~(TSX_HAS_PENDING_RESCHED | TSX_HAS_PENDING_SEND); - - /* Refuse to destroy transaction if it has pending resolving. */ - if (tsx->transport_flag & TSX_HAS_PENDING_TRANSPORT) { - tsx->transport_flag |= TSX_HAS_PENDING_DESTROY; - tsx->tsx_user = NULL; - PJ_LOG(4,(tsx->obj_name, "Will destroy later because transport is " - "in progress")); - return PJ_EBUSY; - } - - /* Clear TLS, so that mutex will not be unlocked */ - lck = (struct tsx_lock_data*) pj_thread_local_get(pjsip_tsx_lock_tls_id); - while (lck) { - if (lck->tsx == tsx) { - lck->is_alive = 0; - } - lck = lck->prev; - } - - pj_mutex_destroy(tsx->mutex_b); - pj_mutex_destroy(tsx->mutex); - - PJ_LOG(5,(tsx->obj_name, "Transaction destroyed!")); - - pjsip_endpt_release_pool(tsx->endpt, tsx->pool); - - return PJ_SUCCESS; -} - - -/* - * Callback when timer expires. - */ -static void tsx_timer_callback( pj_timer_heap_t *theap, pj_timer_entry *entry) -{ - pjsip_event event; - pjsip_transaction *tsx = (pjsip_transaction*) entry->user_data; - struct tsx_lock_data lck; - - PJ_UNUSED_ARG(theap); - - entry->id = 0; - - PJ_LOG(5,(tsx->obj_name, "%s timer event", - (entry==&tsx->retransmit_timer ? "Retransmit":"Timeout"))); - pj_log_push_indent(); - - - PJSIP_EVENT_INIT_TIMER(event, entry); - - /* Dispatch event to transaction. */ - lock_tsx(tsx, &lck); - (*tsx->state_handler)(tsx, &event); - unlock_tsx(tsx, &lck); - - pj_log_pop_indent(); -} - - -/* - * Set transaction state, and inform TU about the transaction state change. - */ -static void tsx_set_state( pjsip_transaction *tsx, - pjsip_tsx_state_e state, - pjsip_event_id_e event_src_type, - void *event_src ) -{ - pjsip_tsx_state_e prev_state = tsx->state; - - /* New state must be greater than previous state */ - pj_assert(state >= tsx->state); - - PJ_LOG(5, (tsx->obj_name, "State changed from %s to %s, event=%s", - state_str[tsx->state], state_str[state], - pjsip_event_str(event_src_type))); - pj_log_push_indent(); - - /* Change state. */ - tsx->state = state; - - /* Update the state handlers. */ - if (tsx->role == PJSIP_ROLE_UAC) { - tsx->state_handler = tsx_state_handler_uac[state]; - } else { - tsx->state_handler = tsx_state_handler_uas[state]; - } - - /* Before informing TU about state changed, inform TU about - * rx event. - */ - if (event_src_type==PJSIP_EVENT_RX_MSG && tsx->tsx_user) { - pjsip_rx_data *rdata = (pjsip_rx_data*) event_src; - - pj_assert(rdata != NULL); - - if (rdata->msg_info.msg->type == PJSIP_RESPONSE_MSG && - tsx->tsx_user->on_rx_response) - { - (*tsx->tsx_user->on_rx_response)(rdata); - } - - } - - /* Inform TU about state changed. */ - if (tsx->tsx_user && tsx->tsx_user->on_tsx_state) { - pjsip_event e; - PJSIP_EVENT_INIT_TSX_STATE(e, tsx, event_src_type, event_src, - prev_state); - (*tsx->tsx_user->on_tsx_state)(tsx, &e); - } - - - /* When the transaction is terminated, release transport, and free the - * saved last transmitted message. - */ - if (state == PJSIP_TSX_STATE_TERMINATED) { - pj_time_val timeout = {0, 0}; - - /* If we're still waiting for a message to be sent.. */ - if (tsx->transport_flag & TSX_HAS_PENDING_TRANSPORT) { - /* Disassociate ourselves from the outstanding transmit data - * so that when the send callback is called we will be able - * to ignore that (otherwise we'll get assertion, see - * http://trac.pjsip.org/repos/ticket/1033) - */ - if (tsx->pending_tx) { - tsx->pending_tx->mod_data[mod_tsx_layer.mod.id] = NULL; - tsx->pending_tx = NULL; - } - tsx->transport_flag &= ~(TSX_HAS_PENDING_TRANSPORT); - } - - lock_timer(tsx); - - /* Cancel timeout timer. */ - if (tsx->timeout_timer.id != 0) { - pjsip_endpt_cancel_timer(tsx->endpt, &tsx->timeout_timer); - tsx->timeout_timer.id = 0; - } - - tsx->timeout_timer.id = TIMER_ACTIVE; - pjsip_endpt_schedule_timer( tsx->endpt, &tsx->timeout_timer, - &timeout); - - unlock_timer(tsx); - - } else if (state == PJSIP_TSX_STATE_DESTROYED) { - - /* Unregister transaction. */ - mod_tsx_layer_unregister_tsx(tsx); - - /* Destroy transaction. */ - tsx_destroy(tsx); - } - - pj_log_pop_indent(); -} - - -/* - * Create, initialize, and register UAC transaction. - */ -PJ_DEF(pj_status_t) pjsip_tsx_create_uac( pjsip_module *tsx_user, - pjsip_tx_data *tdata, - pjsip_transaction **p_tsx) -{ - pjsip_transaction *tsx; - pjsip_msg *msg; - pjsip_cseq_hdr *cseq; - pjsip_via_hdr *via; - pjsip_host_info dst_info; - struct tsx_lock_data lck; - pj_status_t status; - - /* Validate arguments. */ - PJ_ASSERT_RETURN(tdata && tdata->msg && p_tsx, PJ_EINVAL); - PJ_ASSERT_RETURN(tdata->msg->type == PJSIP_REQUEST_MSG, - PJSIP_ENOTREQUESTMSG); - - /* Method MUST NOT be ACK! */ - PJ_ASSERT_RETURN(tdata->msg->line.req.method.id != PJSIP_ACK_METHOD, - PJ_EINVALIDOP); - - /* Keep shortcut */ - msg = tdata->msg; - - /* Make sure CSeq header is present. */ - cseq = (pjsip_cseq_hdr*) pjsip_msg_find_hdr(msg, PJSIP_H_CSEQ, NULL); - if (!cseq) { - pj_assert(!"CSeq header not present in outgoing message!"); - return PJSIP_EMISSINGHDR; - } - - - /* Create transaction instance. */ - status = tsx_create( tsx_user, &tsx); - if (status != PJ_SUCCESS) - return status; - - - /* Lock transaction. */ - lock_tsx(tsx, &lck); - - /* Role is UAC. */ - tsx->role = PJSIP_ROLE_UAC; - - /* Save method. */ - pjsip_method_copy( tsx->pool, &tsx->method, &msg->line.req.method); - - /* Save CSeq. */ - tsx->cseq = cseq->cseq; - - /* Generate Via header if it doesn't exist. */ - via = (pjsip_via_hdr*) pjsip_msg_find_hdr(msg, PJSIP_H_VIA, NULL); - if (via == NULL) { - via = pjsip_via_hdr_create(tdata->pool); - pjsip_msg_insert_first_hdr(msg, (pjsip_hdr*) via); - } - - /* Generate branch parameter if it doesn't exist. */ - if (via->branch_param.slen == 0) { - pj_str_t tmp; - via->branch_param.ptr = (char*) - pj_pool_alloc(tsx->pool, PJSIP_MAX_BRANCH_LEN); - via->branch_param.slen = PJSIP_MAX_BRANCH_LEN; - pj_memcpy(via->branch_param.ptr, PJSIP_RFC3261_BRANCH_ID, - PJSIP_RFC3261_BRANCH_LEN); - tmp.ptr = via->branch_param.ptr + PJSIP_RFC3261_BRANCH_LEN + 2; - *(tmp.ptr-2) = 80; *(tmp.ptr-1) = 106; - pj_generate_unique_string( &tmp ); - - /* Save branch parameter. */ - tsx->branch = via->branch_param; - - } else { - /* Copy branch parameter. */ - pj_strdup(tsx->pool, &tsx->branch, &via->branch_param); - } - - /* Generate transaction key. */ - create_tsx_key_3261( tsx->pool, &tsx->transaction_key, - PJSIP_ROLE_UAC, &tsx->method, - &via->branch_param); - - /* Calculate hashed key value. */ -#ifdef PRECALC_HASH - tsx->hashed_key = pj_hash_calc(0, tsx->transaction_key.ptr, - tsx->transaction_key.slen); -#endif - - PJ_LOG(6, (tsx->obj_name, "tsx_key=%.*s", tsx->transaction_key.slen, - tsx->transaction_key.ptr)); - - /* Begin with State_Null. - * Manually set-up the state becase we don't want to call the callback. - */ - tsx->state = PJSIP_TSX_STATE_NULL; - tsx->state_handler = &tsx_on_state_null; - - /* Save the message. */ - tsx->last_tx = tdata; - pjsip_tx_data_add_ref(tsx->last_tx); - - /* Determine whether reliable transport should be used initially. - * This will be updated whenever transport has changed. - */ - status = pjsip_get_request_dest(tdata, &dst_info); - if (status != PJ_SUCCESS) { - unlock_tsx(tsx, &lck); - tsx_destroy(tsx); - return status; - } - tsx->is_reliable = (dst_info.flag & PJSIP_TRANSPORT_RELIABLE); - - /* Register transaction to hash table. */ - status = mod_tsx_layer_register_tsx(tsx); - if (status != PJ_SUCCESS) { - /* The assertion is removed by #1090: - pj_assert(!"Bug in branch_param generator (i.e. not unique)"); - */ - unlock_tsx(tsx, &lck); - tsx_destroy(tsx); - return status; - } - - - /* Unlock transaction and return. */ - unlock_tsx(tsx, &lck); - - pj_log_push_indent(); - PJ_LOG(5,(tsx->obj_name, "Transaction created for %s", - pjsip_tx_data_get_info(tdata))); - pj_log_pop_indent(); - - *p_tsx = tsx; - return PJ_SUCCESS; -} - - -/* - * Create, initialize, and register UAS transaction. - */ -PJ_DEF(pj_status_t) pjsip_tsx_create_uas( pjsip_module *tsx_user, - pjsip_rx_data *rdata, - pjsip_transaction **p_tsx) -{ - pjsip_transaction *tsx; - pjsip_msg *msg; - pj_str_t *branch; - pjsip_cseq_hdr *cseq; - pj_status_t status; - struct tsx_lock_data lck; - - /* Validate arguments. */ - PJ_ASSERT_RETURN(rdata && rdata->msg_info.msg && p_tsx, PJ_EINVAL); - - /* Keep shortcut to message */ - msg = rdata->msg_info.msg; - - /* Make sure this is a request message. */ - PJ_ASSERT_RETURN(msg->type == PJSIP_REQUEST_MSG, PJSIP_ENOTREQUESTMSG); - - /* Make sure method is not ACK */ - PJ_ASSERT_RETURN(msg->line.req.method.id != PJSIP_ACK_METHOD, - PJ_EINVALIDOP); - - /* Make sure CSeq header is present. */ - cseq = rdata->msg_info.cseq; - if (!cseq) - return PJSIP_EMISSINGHDR; - - /* Make sure Via header is present. */ - if (rdata->msg_info.via == NULL) - return PJSIP_EMISSINGHDR; - - /* Check that method in CSeq header match request method. - * Reference: PROTOS #1922 - */ - if (pjsip_method_cmp(&msg->line.req.method, - &rdata->msg_info.cseq->method) != 0) - { - PJ_LOG(4,(THIS_FILE, "Error: CSeq header contains different " - "method than the request line")); - return PJSIP_EINVALIDHDR; - } - - /* - * Create transaction instance. - */ - status = tsx_create( tsx_user, &tsx); - if (status != PJ_SUCCESS) - return status; - - - /* Lock transaction. */ - lock_tsx(tsx, &lck); - - /* Role is UAS */ - tsx->role = PJSIP_ROLE_UAS; - - /* Save method. */ - pjsip_method_copy( tsx->pool, &tsx->method, &msg->line.req.method); - - /* Save CSeq */ - tsx->cseq = cseq->cseq; - - /* Get transaction key either from branch for RFC3261 message, or - * create transaction key. - */ - status = pjsip_tsx_create_key(tsx->pool, &tsx->transaction_key, - PJSIP_ROLE_UAS, &tsx->method, rdata); - if (status != PJ_SUCCESS) { - unlock_tsx(tsx, &lck); - tsx_destroy(tsx); - return status; - } - - /* Calculate hashed key value. */ -#ifdef PRECALC_HASH - tsx->hashed_key = pj_hash_calc(0, tsx->transaction_key.ptr, - tsx->transaction_key.slen); -#endif - - /* Duplicate branch parameter for transaction. */ - branch = &rdata->msg_info.via->branch_param; - pj_strdup(tsx->pool, &tsx->branch, branch); - - PJ_LOG(6, (tsx->obj_name, "tsx_key=%.*s", tsx->transaction_key.slen, - tsx->transaction_key.ptr)); - - - /* Begin with state NULL. - * Manually set-up the state becase we don't want to call the callback. - */ - tsx->state = PJSIP_TSX_STATE_NULL; - tsx->state_handler = &tsx_on_state_null; - - /* Get response address. */ - status = pjsip_get_response_addr( tsx->pool, rdata, &tsx->res_addr ); - if (status != PJ_SUCCESS) { - unlock_tsx(tsx, &lck); - tsx_destroy(tsx); - return status; - } - - /* If it's decided that we should use current transport, keep the - * transport. - */ - if (tsx->res_addr.transport) { - tsx_update_transport(tsx, tsx->res_addr.transport); - pj_memcpy(&tsx->addr, &tsx->res_addr.addr, tsx->res_addr.addr_len); - tsx->addr_len = tsx->res_addr.addr_len; - tsx->is_reliable = PJSIP_TRANSPORT_IS_RELIABLE(tsx->transport); - } else { - tsx->is_reliable = - (tsx->res_addr.dst_host.flag & PJSIP_TRANSPORT_RELIABLE); - } - - - /* Register the transaction. */ - status = mod_tsx_layer_register_tsx(tsx); - if (status != PJ_SUCCESS) { - unlock_tsx(tsx, &lck); - tsx_destroy(tsx); - return status; - } - - /* Put this transaction in rdata's mod_data. */ - rdata->endpt_info.mod_data[mod_tsx_layer.mod.id] = tsx; - - /* Unlock transaction and return. */ - unlock_tsx(tsx, &lck); - - pj_log_push_indent(); - PJ_LOG(5,(tsx->obj_name, "Transaction created for %s", - pjsip_rx_data_get_info(rdata))); - pj_log_pop_indent(); - - - *p_tsx = tsx; - return PJ_SUCCESS; -} - - -/* - * Bind transaction to a specific transport/listener. - */ -PJ_DEF(pj_status_t) pjsip_tsx_set_transport(pjsip_transaction *tsx, - const pjsip_tpselector *sel) -{ - struct tsx_lock_data lck; - - /* Must be UAC transaction */ - PJ_ASSERT_RETURN(tsx && sel, PJ_EINVAL); - - /* Start locking the transaction. */ - lock_tsx(tsx, &lck); - - /* Decrement reference counter of previous transport selector */ - pjsip_tpselector_dec_ref(&tsx->tp_sel); - - /* Copy transport selector structure .*/ - pj_memcpy(&tsx->tp_sel, sel, sizeof(*sel)); - - /* Increment reference counter */ - pjsip_tpselector_add_ref(&tsx->tp_sel); - - /* Unlock transaction. */ - unlock_tsx(tsx, &lck); - - return PJ_SUCCESS; -} - - -/* - * Set transaction status code and reason. - */ -static void tsx_set_status_code(pjsip_transaction *tsx, - int code, const pj_str_t *reason) -{ - tsx->status_code = code; - if (reason) - pj_strdup(tsx->pool, &tsx->status_text, reason); - else - tsx->status_text = *pjsip_get_status_text(code); -} - - -/* - * Forcely terminate transaction. - */ -PJ_DEF(pj_status_t) pjsip_tsx_terminate( pjsip_transaction *tsx, int code ) -{ - struct tsx_lock_data lck; - - PJ_ASSERT_RETURN(tsx != NULL, PJ_EINVAL); - - PJ_LOG(5,(tsx->obj_name, "Request to terminate transaction")); - - PJ_ASSERT_RETURN(code >= 200, PJ_EINVAL); - - if (tsx->state >= PJSIP_TSX_STATE_TERMINATED) - return PJ_SUCCESS; - - pj_log_push_indent(); - - lock_tsx(tsx, &lck); - tsx_set_status_code(tsx, code, NULL); - tsx_set_state( tsx, PJSIP_TSX_STATE_TERMINATED, PJSIP_EVENT_USER, NULL); - unlock_tsx(tsx, &lck); - - pj_log_pop_indent(); - - return PJ_SUCCESS; -} - - -/* - * Cease retransmission on the UAC transaction. The UAC transaction is - * still considered running, and it will complete when either final - * response is received or the transaction times out. - */ -PJ_DEF(pj_status_t) pjsip_tsx_stop_retransmit(pjsip_transaction *tsx) -{ - struct tsx_lock_data lck; - - PJ_ASSERT_RETURN(tsx != NULL, PJ_EINVAL); - PJ_ASSERT_RETURN(tsx->role == PJSIP_ROLE_UAC && - tsx->method.id == PJSIP_INVITE_METHOD, - PJ_EINVALIDOP); - - PJ_LOG(5,(tsx->obj_name, "Request to stop retransmission")); - - pj_log_push_indent(); - - lock_tsx(tsx, &lck); - /* Cancel retransmission timer. */ - if (tsx->retransmit_timer.id != 0) { - pjsip_endpt_cancel_timer(tsx->endpt, &tsx->retransmit_timer); - tsx->retransmit_timer.id = 0; - } - unlock_tsx(tsx, &lck); - - pj_log_pop_indent(); - - return PJ_SUCCESS; -} - - -/* - * Start a timer to terminate transaction after the specified time - * has elapsed. - */ -PJ_DEF(pj_status_t) pjsip_tsx_set_timeout( pjsip_transaction *tsx, - unsigned millisec) -{ - pj_time_val timeout; - - PJ_ASSERT_RETURN(tsx != NULL, PJ_EINVAL); - PJ_ASSERT_RETURN(tsx->role == PJSIP_ROLE_UAC && - tsx->method.id == PJSIP_INVITE_METHOD, - PJ_EINVALIDOP); - - /* Note: must not call lock_tsx() as that would introduce deadlock. - * See #1121. - */ - lock_timer(tsx); - - /* Transaction should normally not have final response, but as - * #1121 says there is a (tolerable) window of race condition - * where this might happen. - */ - if (tsx->status_code >= 200 && tsx->timeout_timer.id != 0) { - /* Timeout is already set */ - unlock_timer(tsx); - return PJ_EEXISTS; - } - - if (tsx->timeout_timer.id != 0) { - pjsip_endpt_cancel_timer(tsx->endpt, &tsx->timeout_timer); - tsx->timeout_timer.id = 0; - } - - timeout.sec = 0; - timeout.msec = millisec; - pj_time_val_normalize(&timeout); - - tsx->timeout_timer.id = TIMER_ACTIVE; - pjsip_endpt_schedule_timer(tsx->endpt, &tsx->timeout_timer, - &timeout); - - - unlock_timer(tsx); - - return PJ_SUCCESS; -} - - -/* - * This function is called by TU to send a message. - */ -PJ_DEF(pj_status_t) pjsip_tsx_send_msg( pjsip_transaction *tsx, - pjsip_tx_data *tdata ) -{ - pjsip_event event; - struct tsx_lock_data lck; - pj_status_t status; - - if (tdata == NULL) - tdata = tsx->last_tx; - - PJ_ASSERT_RETURN(tdata != NULL, PJ_EINVALIDOP); - - PJ_LOG(5,(tsx->obj_name, "Sending %s in state %s", - pjsip_tx_data_get_info(tdata), - state_str[tsx->state])); - pj_log_push_indent(); - - PJSIP_EVENT_INIT_TX_MSG(event, tdata); - - /* Dispatch to transaction. */ - lock_tsx(tsx, &lck); - - /* Set transport selector to tdata */ - pjsip_tx_data_set_transport(tdata, &tsx->tp_sel); - - /* Dispatch to state handler */ - status = (*tsx->state_handler)(tsx, &event); - - unlock_tsx(tsx, &lck); - - /* Only decrement reference counter when it returns success. - * (This is the specification from the .PDF design document). - */ - if (status == PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - } - - pj_log_pop_indent(); - - return status; -} - - -/* - * This function is called by endpoint when incoming message for the - * transaction is received. - */ -PJ_DEF(void) pjsip_tsx_recv_msg( pjsip_transaction *tsx, - pjsip_rx_data *rdata) -{ - pjsip_event event; - struct tsx_lock_data lck; - pj_status_t status; - - PJ_LOG(5,(tsx->obj_name, "Incoming %s in state %s", - pjsip_rx_data_get_info(rdata), state_str[tsx->state])); - pj_log_push_indent(); - - /* Put the transaction in the rdata's mod_data. */ - rdata->endpt_info.mod_data[mod_tsx_layer.mod.id] = tsx; - - /* Init event. */ - PJSIP_EVENT_INIT_RX_MSG(event, rdata); - - /* Dispatch to transaction. */ - lock_tsx(tsx, &lck); - status = (*tsx->state_handler)(tsx, &event); - unlock_tsx(tsx, &lck); - - pj_log_pop_indent(); -} - - -/* Callback called by send message framework */ -static void send_msg_callback( pjsip_send_state *send_state, - pj_ssize_t sent, pj_bool_t *cont ) -{ - pjsip_transaction *tsx = (pjsip_transaction*) send_state->token; - pjsip_tx_data *tdata = send_state->tdata; - struct tsx_lock_data lck; - - /* Check if transaction has cancelled itself from this transmit - * notification (https://trac.pjsip.org/repos/ticket/1033). - */ - if (tdata->mod_data[mod_tsx_layer.mod.id] == NULL) { - *cont = PJ_FALSE; - return; - } - - /* Reset */ - tdata->mod_data[mod_tsx_layer.mod.id] = NULL; - tsx->pending_tx = NULL; - - lock_tsx(tsx, &lck); - - if (sent > 0) { - /* Successfully sent! */ - pj_assert(send_state->cur_transport != NULL); - - if (tsx->transport != send_state->cur_transport) { - /* Update transport. */ - tsx_update_transport(tsx, send_state->cur_transport); - - /* Update remote address. */ - tsx->addr_len = tdata->dest_info.addr.entry[tdata->dest_info.cur_addr].addr_len; - pj_memcpy(&tsx->addr, - &tdata->dest_info.addr.entry[tdata->dest_info.cur_addr].addr, - tsx->addr_len); - - /* Update is_reliable flag. */ - tsx->is_reliable = PJSIP_TRANSPORT_IS_RELIABLE(tsx->transport); - } - - /* Clear pending transport flag. */ - tsx->transport_flag &= ~(TSX_HAS_PENDING_TRANSPORT); - - /* Mark that we have resolved the addresses. */ - tsx->transport_flag |= TSX_HAS_RESOLVED_SERVER; - - /* Pending destroy? */ - if (tsx->transport_flag & TSX_HAS_PENDING_DESTROY) { - tsx_set_state( tsx, PJSIP_TSX_STATE_DESTROYED, - PJSIP_EVENT_UNKNOWN, NULL ); - unlock_tsx(tsx, &lck); - return; - } - - /* Need to transmit a message? */ - if (tsx->transport_flag & TSX_HAS_PENDING_SEND) { - tsx->transport_flag &= ~(TSX_HAS_PENDING_SEND); - tsx_send_msg(tsx, tsx->last_tx); - } - - /* Need to reschedule retransmission? */ - if (tsx->transport_flag & TSX_HAS_PENDING_RESCHED) { - tsx->transport_flag &= ~(TSX_HAS_PENDING_RESCHED); - - /* Only update when transport turns out to be unreliable. */ - if (!tsx->is_reliable) { - tsx_resched_retransmission(tsx); - } - } - - } else { - /* Failed to send! */ - pj_assert(sent != 0); - - /* If transaction is using the same transport as the failed one, - * release the transport. - */ - if (send_state->cur_transport==tsx->transport) - tsx_update_transport(tsx, NULL); - - /* Also stop processing if transaction has been flagged with - * pending destroy (http://trac.pjsip.org/repos/ticket/906) - */ - if ((!*cont) || (tsx->transport_flag & TSX_HAS_PENDING_DESTROY)) { - char errmsg[PJ_ERR_MSG_SIZE]; - pjsip_status_code sc; - pj_str_t err; - - tsx->transport_err = -sent; - - err =pj_strerror(-sent, errmsg, sizeof(errmsg)); - - PJ_LOG(2,(tsx->obj_name, - "Failed to send %s! err=%d (%s)", - pjsip_tx_data_get_info(send_state->tdata), -sent, - errmsg)); - - /* Clear pending transport flag. */ - tsx->transport_flag &= ~(TSX_HAS_PENDING_TRANSPORT); - - /* Mark that we have resolved the addresses. */ - tsx->transport_flag |= TSX_HAS_RESOLVED_SERVER; - - /* Server resolution error is now mapped to 502 instead of 503, - * since with 503 normally client should try again. - * See http://trac.pjsip.org/repos/ticket/870 - */ - if (-sent==PJ_ERESOLVE || -sent==PJLIB_UTIL_EDNS_NXDOMAIN) - sc = PJSIP_SC_BAD_GATEWAY; - else - sc = PJSIP_SC_TSX_TRANSPORT_ERROR; - - /* Terminate transaction, if it's not already terminated. */ - tsx_set_status_code(tsx, sc, &err); - if (tsx->state != PJSIP_TSX_STATE_TERMINATED && - tsx->state != PJSIP_TSX_STATE_DESTROYED) - { - tsx_set_state( tsx, PJSIP_TSX_STATE_TERMINATED, - PJSIP_EVENT_TRANSPORT_ERROR, send_state->tdata); - } - /* Don't forget to destroy if we have pending destroy flag - * (http://trac.pjsip.org/repos/ticket/906) - */ - else if (tsx->transport_flag & TSX_HAS_PENDING_DESTROY) - { - tsx_set_state( tsx, PJSIP_TSX_STATE_DESTROYED, - PJSIP_EVENT_TRANSPORT_ERROR, send_state->tdata); - } - - } else { - char errmsg[PJ_ERR_MSG_SIZE]; - - PJ_LOG(2,(tsx->obj_name, - "Temporary failure in sending %s, " - "will try next server. Err=%d (%s)", - pjsip_tx_data_get_info(send_state->tdata), -sent, - pj_strerror(-sent, errmsg, sizeof(errmsg)).ptr)); - - /* Reset retransmission count */ - tsx->retransmit_count = 0; - - /* And reset timeout timer */ - if (tsx->timeout_timer.id) { - lock_timer(tsx); - - pjsip_endpt_cancel_timer(tsx->endpt, &tsx->timeout_timer); - tsx->timeout_timer.id = TIMER_INACTIVE; - - tsx->timeout_timer.id = TIMER_ACTIVE; - pjsip_endpt_schedule_timer( tsx->endpt, &tsx->timeout_timer, - &timeout_timer_val); - - unlock_timer(tsx); - } - - /* Put again pending tdata */ - tdata->mod_data[mod_tsx_layer.mod.id] = tsx; - tsx->pending_tx = tdata; - } - } - - unlock_tsx(tsx, &lck); -} - - -/* Transport callback. */ -static void transport_callback(void *token, pjsip_tx_data *tdata, - pj_ssize_t sent) -{ - if (sent < 0) { - pjsip_transaction *tsx = (pjsip_transaction*) token; - struct tsx_lock_data lck; - char errmsg[PJ_ERR_MSG_SIZE]; - pj_str_t err; - - tsx->transport_err = -sent; - - err = pj_strerror(-sent, errmsg, sizeof(errmsg)); - - PJ_LOG(2,(tsx->obj_name, "Transport failed to send %s! Err=%d (%s)", - pjsip_tx_data_get_info(tdata), -sent, errmsg)); - - lock_tsx(tsx, &lck); - - /* Release transport. */ - tsx_update_transport(tsx, NULL); - - /* Terminate transaction. */ - tsx_set_status_code(tsx, PJSIP_SC_TSX_TRANSPORT_ERROR, &err); - tsx_set_state( tsx, PJSIP_TSX_STATE_TERMINATED, - PJSIP_EVENT_TRANSPORT_ERROR, tdata ); - - unlock_tsx(tsx, &lck); - } -} - - -/* - * Callback when transport state changes. - */ -static void tsx_tp_state_callback( pjsip_transport *tp, - pjsip_transport_state state, - const pjsip_transport_state_info *info) -{ - PJ_UNUSED_ARG(tp); - - if (state == PJSIP_TP_STATE_DISCONNECTED) { - pjsip_transaction *tsx; - struct tsx_lock_data lck; - - pj_assert(tp && info && info->user_data); - - tsx = (pjsip_transaction*)info->user_data; - - lock_tsx(tsx, &lck); - - /* Terminate transaction when transport disconnected */ - if (tsx->state < PJSIP_TSX_STATE_TERMINATED) { - pj_str_t err; - char errmsg[PJ_ERR_MSG_SIZE]; - - err = pj_strerror(info->status, errmsg, sizeof(errmsg)); - tsx_set_status_code(tsx, PJSIP_SC_TSX_TRANSPORT_ERROR, &err); - tsx_set_state( tsx, PJSIP_TSX_STATE_TERMINATED, - PJSIP_EVENT_TRANSPORT_ERROR, NULL); - } - - unlock_tsx(tsx, &lck); - } -} - - -/* - * Send message to the transport. - */ -static pj_status_t tsx_send_msg( pjsip_transaction *tsx, - pjsip_tx_data *tdata) -{ - pj_status_t status = PJ_SUCCESS; - - PJ_ASSERT_RETURN(tsx && tdata, PJ_EINVAL); - - /* Send later if transport is still pending. */ - if (tsx->transport_flag & TSX_HAS_PENDING_TRANSPORT) { - tsx->transport_flag |= TSX_HAS_PENDING_SEND; - return PJ_SUCCESS; - } - - /* If we have the transport, send the message using that transport. - * Otherwise perform full transport resolution. - */ - if (tsx->transport) { - status = pjsip_transport_send( tsx->transport, tdata, &tsx->addr, - tsx->addr_len, tsx, - &transport_callback); - if (status == PJ_EPENDING) - status = PJ_SUCCESS; - - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - - PJ_LOG(2,(tsx->obj_name, - "Error sending %s: Err=%d (%s)", - pjsip_tx_data_get_info(tdata), status, - pj_strerror(status, errmsg, sizeof(errmsg)).ptr)); - - /* On error, release transport to force using full transport - * resolution procedure. - */ - tsx_update_transport(tsx, NULL); - - tsx->addr_len = 0; - tsx->res_addr.transport = NULL; - tsx->res_addr.addr_len = 0; - } else { - return PJ_SUCCESS; - } - } - - /* We are here because we don't have transport, or we failed to send - * the message using existing transport. If we haven't resolved the - * server before, then begin the long process of resolving the server - * and send the message with possibly new server. - */ - pj_assert(status != PJ_SUCCESS || tsx->transport == NULL); - - /* If we have resolved the server, we treat the error as permanent error. - * Terminate transaction with transport error failure. - */ - if (tsx->transport_flag & TSX_HAS_RESOLVED_SERVER) { - - char errmsg[PJ_ERR_MSG_SIZE]; - pj_str_t err; - - if (status == PJ_SUCCESS) { - pj_assert(!"Unexpected status!"); - status = PJ_EUNKNOWN; - } - - /* We have resolved the server!. - * Treat this as permanent transport error. - */ - err = pj_strerror(status, errmsg, sizeof(errmsg)); - - PJ_LOG(2,(tsx->obj_name, - "Transport error, terminating transaction. " - "Err=%d (%s)", - status, errmsg)); - - tsx_set_status_code(tsx, PJSIP_SC_TSX_TRANSPORT_ERROR, &err); - tsx_set_state( tsx, PJSIP_TSX_STATE_TERMINATED, - PJSIP_EVENT_TRANSPORT_ERROR, NULL ); - - return status; - } - - /* Must add reference counter because the send request functions - * decrement the reference counter. - */ - pjsip_tx_data_add_ref(tdata); - - /* Also attach ourselves to the transmit data so that we'll be able - * to unregister ourselves from the send notification of this - * transmit data. - */ - tdata->mod_data[mod_tsx_layer.mod.id] = tsx; - tsx->pending_tx = tdata; - - /* Begin resolving destination etc to send the message. */ - if (tdata->msg->type == PJSIP_REQUEST_MSG) { - - tsx->transport_flag |= TSX_HAS_PENDING_TRANSPORT; - status = pjsip_endpt_send_request_stateless(tsx->endpt, tdata, tsx, - &send_msg_callback); - if (status == PJ_EPENDING) - status = PJ_SUCCESS; - if (status != PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - tdata->mod_data[mod_tsx_layer.mod.id] = NULL; - tsx->pending_tx = NULL; - } - - /* Check if transaction is terminated. */ - if (status==PJ_SUCCESS && tsx->state == PJSIP_TSX_STATE_TERMINATED) - status = tsx->transport_err; - - } else { - - tsx->transport_flag |= TSX_HAS_PENDING_TRANSPORT; - status = pjsip_endpt_send_response( tsx->endpt, &tsx->res_addr, - tdata, tsx, - &send_msg_callback); - if (status == PJ_EPENDING) - status = PJ_SUCCESS; - if (status != PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - tdata->mod_data[mod_tsx_layer.mod.id] = NULL; - tsx->pending_tx = NULL; - } - - /* Check if transaction is terminated. */ - if (status==PJ_SUCCESS && tsx->state == PJSIP_TSX_STATE_TERMINATED) - status = tsx->transport_err; - - } - - - return status; -} - - -/* - * Manually retransmit the last messagewithout updating the transaction state. - */ -PJ_DEF(pj_status_t) pjsip_tsx_retransmit_no_state(pjsip_transaction *tsx, - pjsip_tx_data *tdata) -{ - struct tsx_lock_data lck; - pj_status_t status; - - lock_tsx(tsx, &lck); - if (tdata == NULL) { - tdata = tsx->last_tx; - } - status = tsx_send_msg(tsx, tdata); - unlock_tsx(tsx, &lck); - - /* Only decrement reference counter when it returns success. - * (This is the specification from the .PDF design document). - */ - if (status == PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - } - - return status; -} - - -/* - * Retransmit last message sent. - */ -static void tsx_resched_retransmission( pjsip_transaction *tsx ) -{ - pj_uint32_t msec_time; - - pj_assert((tsx->transport_flag & TSX_HAS_PENDING_TRANSPORT) == 0); - - if (tsx->role==PJSIP_ROLE_UAC && tsx->status_code >= 100) - msec_time = pjsip_cfg()->tsx.t2; - else - msec_time = (1 << (tsx->retransmit_count)) * pjsip_cfg()->tsx.t1; - - if (tsx->role == PJSIP_ROLE_UAC) { - pj_assert(tsx->status_code < 200); - /* Retransmission for non-INVITE transaction caps-off at T2 */ - if (msec_time > pjsip_cfg()->tsx.t2 && - tsx->method.id != PJSIP_INVITE_METHOD) - { - msec_time = pjsip_cfg()->tsx.t2; - } - } else { - /* For UAS, this can be retransmission of 2xx response for INVITE - * or non-100 1xx response. - */ - if (tsx->status_code < 200) { - /* non-100 1xx retransmission is at 60 seconds */ - msec_time = PJSIP_TSX_1XX_RETRANS_DELAY * 1000; - } else { - /* Retransmission of INVITE final response also caps-off at T2 */ - pj_assert(tsx->status_code >= 200); - if (msec_time > pjsip_cfg()->tsx.t2) - msec_time = pjsip_cfg()->tsx.t2; - } - } - - if (msec_time != 0) { - pj_time_val timeout; - - timeout.sec = msec_time / 1000; - timeout.msec = msec_time % 1000; - tsx->retransmit_timer.id = TIMER_ACTIVE; - pjsip_endpt_schedule_timer( tsx->endpt, &tsx->retransmit_timer, - &timeout); - } -} - -/* - * Retransmit last message sent. - */ -static pj_status_t tsx_retransmit( pjsip_transaction *tsx, int resched) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(tsx->last_tx!=NULL, PJ_EBUG); - - PJ_LOG(5,(tsx->obj_name, "Retransmiting %s, count=%d, restart?=%d", - pjsip_tx_data_get_info(tsx->last_tx), - tsx->retransmit_count, resched)); - - ++tsx->retransmit_count; - - /* Restart timer T1 first before sending the message to ensure that - * retransmission timer is not engaged when loop transport is used. - */ - if (resched) { - pj_assert(tsx->state != PJSIP_TSX_STATE_CONFIRMED); - if (tsx->transport_flag & TSX_HAS_PENDING_TRANSPORT) { - tsx->transport_flag |= TSX_HAS_PENDING_RESCHED; - } else { - tsx_resched_retransmission(tsx); - } - } - - status = tsx_send_msg( tsx, tsx->last_tx); - if (status != PJ_SUCCESS) { - return status; - } - - return PJ_SUCCESS; -} - -static void tsx_update_transport( pjsip_transaction *tsx, - pjsip_transport *tp) -{ - pj_assert(tsx); - - if (tsx->transport) { - pjsip_transport_remove_state_listener(tsx->transport, - tsx->tp_st_key, tsx); - pjsip_transport_dec_ref( tsx->transport ); - tsx->transport = NULL; - } - - if (tp) { - tsx->transport = tp; - pjsip_transport_add_ref(tp); - pjsip_transport_add_state_listener(tp, &tsx_tp_state_callback, tsx, - &tsx->tp_st_key); - } -} - - -/* - * Handler for events in state Null. - */ -static pj_status_t tsx_on_state_null( pjsip_transaction *tsx, - pjsip_event *event ) -{ - pj_status_t status; - - pj_assert(tsx->state == PJSIP_TSX_STATE_NULL); - - if (tsx->role == PJSIP_ROLE_UAS) { - - /* Set state to Trying. */ - pj_assert(event->type == PJSIP_EVENT_RX_MSG && - event->body.rx_msg.rdata->msg_info.msg->type == - PJSIP_REQUEST_MSG); - tsx_set_state( tsx, PJSIP_TSX_STATE_TRYING, PJSIP_EVENT_RX_MSG, - event->body.rx_msg.rdata); - - } else { - pjsip_tx_data *tdata; - - /* Must be transmit event. - * You may got this assertion when using loop transport with delay - * set to zero. That would cause on_rx_response() callback to be - * called before tsx_send_msg() has completed. - */ - PJ_ASSERT_RETURN(event->type == PJSIP_EVENT_TX_MSG, PJ_EBUG); - - /* Get the txdata */ - tdata = event->body.tx_msg.tdata; - - /* Save the message for retransmission. */ - if (tsx->last_tx && tsx->last_tx != tdata) { - pjsip_tx_data_dec_ref(tsx->last_tx); - tsx->last_tx = NULL; - } - if (tsx->last_tx != tdata) { - tsx->last_tx = tdata; - pjsip_tx_data_add_ref(tdata); - } - - /* Send the message. */ - status = tsx_send_msg( tsx, tdata); - if (status != PJ_SUCCESS) { - return status; - } - - /* Start Timer B (or called timer F for non-INVITE) for transaction - * timeout. - */ - lock_timer(tsx); - tsx->timeout_timer.id = TIMER_ACTIVE; - pjsip_endpt_schedule_timer( tsx->endpt, &tsx->timeout_timer, - &timeout_timer_val); - unlock_timer(tsx); - - /* Start Timer A (or timer E) for retransmission only if unreliable - * transport is being used. - */ - if (!tsx->is_reliable) { - tsx->retransmit_count = 0; - if (tsx->transport_flag & TSX_HAS_PENDING_TRANSPORT) { - tsx->transport_flag |= TSX_HAS_PENDING_RESCHED; - } else { - tsx->retransmit_timer.id = TIMER_ACTIVE; - pjsip_endpt_schedule_timer(tsx->endpt, &tsx->retransmit_timer, - &t1_timer_val); - } - } - - /* Move state. */ - tsx_set_state( tsx, PJSIP_TSX_STATE_CALLING, - PJSIP_EVENT_TX_MSG, tdata); - } - - return PJ_SUCCESS; -} - - -/* - * State Calling is for UAC after it sends request but before any responses - * is received. - */ -static pj_status_t tsx_on_state_calling( pjsip_transaction *tsx, - pjsip_event *event ) -{ - pj_assert(tsx->state == PJSIP_TSX_STATE_CALLING); - pj_assert(tsx->role == PJSIP_ROLE_UAC); - - if (event->type == PJSIP_EVENT_TIMER && - event->body.timer.entry == &tsx->retransmit_timer) - { - pj_status_t status; - - /* Retransmit the request. */ - status = tsx_retransmit( tsx, 1 ); - if (status != PJ_SUCCESS) { - return status; - } - - } else if (event->type == PJSIP_EVENT_TIMER && - event->body.timer.entry == &tsx->timeout_timer) - { - - /* Cancel retransmission timer. */ - if (tsx->retransmit_timer.id != 0) { - pjsip_endpt_cancel_timer(tsx->endpt, &tsx->retransmit_timer); - tsx->retransmit_timer.id = 0; - } - tsx->transport_flag &= ~(TSX_HAS_PENDING_RESCHED); - - /* Set status code */ - tsx_set_status_code(tsx, PJSIP_SC_TSX_TIMEOUT, NULL); - - /* Inform TU. */ - tsx_set_state( tsx, PJSIP_TSX_STATE_TERMINATED, - PJSIP_EVENT_TIMER, &tsx->timeout_timer); - - /* Transaction is destroyed */ - //return PJSIP_ETSXDESTROYED; - - } else if (event->type == PJSIP_EVENT_RX_MSG) { - pjsip_msg *msg; - int code; - - /* Get message instance */ - msg = event->body.rx_msg.rdata->msg_info.msg; - - /* Better be a response message. */ - if (msg->type != PJSIP_RESPONSE_MSG) - return PJSIP_ENOTRESPONSEMSG; - - code = msg->line.status.code; - - /* If the response is final, cancel both retransmission and timeout - * timer. - */ - if (code >= 200) { - if (tsx->retransmit_timer.id != 0) { - pjsip_endpt_cancel_timer(tsx->endpt, &tsx->retransmit_timer); - tsx->retransmit_timer.id = 0; - } - - if (tsx->timeout_timer.id != 0) { - lock_timer(tsx); - pjsip_endpt_cancel_timer(tsx->endpt, &tsx->timeout_timer); - tsx->timeout_timer.id = 0; - unlock_timer(tsx); - } - - } else { - /* Cancel retransmit timer (for non-INVITE transaction, the - * retransmit timer will be rescheduled at T2. - */ - if (tsx->retransmit_timer.id != 0) { - pjsip_endpt_cancel_timer(tsx->endpt, &tsx->retransmit_timer); - tsx->retransmit_timer.id = 0; - } - - /* For provisional response, only cancel retransmit when this - * is an INVITE transaction. For non-INVITE, section 17.1.2.1 - * of RFC 3261 says that: - * - retransmit timer is set to T2 - * - timeout timer F is not deleted. - */ - if (tsx->method.id == PJSIP_INVITE_METHOD) { - - /* Cancel timeout timer */ - lock_timer(tsx); - pjsip_endpt_cancel_timer(tsx->endpt, &tsx->timeout_timer); - unlock_timer(tsx); - - } else { - if (!tsx->is_reliable) { - tsx->retransmit_timer.id = TIMER_ACTIVE; - pjsip_endpt_schedule_timer(tsx->endpt, - &tsx->retransmit_timer, - &t2_timer_val); - } - } - } - - tsx->transport_flag &= ~(TSX_HAS_PENDING_RESCHED); - - - /* Discard retransmission message if it is not INVITE. - * The INVITE tdata is needed in case we have to generate ACK for - * the final response. - */ - /* Keep last_tx for authorization. */ - //blp: always keep last_tx until transaction is destroyed - //code = msg->line.status.code; - //if (tsx->method.id != PJSIP_INVITE_METHOD && code!=401 && code!=407) { - // pjsip_tx_data_dec_ref(tsx->last_tx); - // tsx->last_tx = NULL; - //} - - /* Processing is similar to state Proceeding. */ - tsx_on_state_proceeding_uac( tsx, event); - - } else { - pj_assert(!"Unexpected event"); - return PJ_EBUG; - } - - return PJ_SUCCESS; -} - - -/* - * State Trying is for UAS after it received request but before any responses - * is sent. - * Note: this is different than RFC3261, which can use Trying state for - * non-INVITE client transaction (bug in RFC?). - */ -static pj_status_t tsx_on_state_trying( pjsip_transaction *tsx, - pjsip_event *event) -{ - pj_status_t status; - - pj_assert(tsx->state == PJSIP_TSX_STATE_TRYING); - - /* This state is only for UAS */ - pj_assert(tsx->role == PJSIP_ROLE_UAS); - - /* Better be transmission of response message. - * If we've got request retransmission, this means that the TU hasn't - * transmitted any responses within 500 ms, which is not allowed. If - * this happens, just ignore the event (we couldn't retransmit last - * response because we haven't sent any!). - */ - if (event->type != PJSIP_EVENT_TX_MSG) { - return PJ_SUCCESS; - } - - /* The rest of the processing of the event is exactly the same as in - * "Proceeding" state. - */ - status = tsx_on_state_proceeding_uas( tsx, event); - - /* Inform the TU of the state transision if state is still State_Trying */ - if (status==PJ_SUCCESS && tsx->state == PJSIP_TSX_STATE_TRYING) { - - tsx_set_state( tsx, PJSIP_TSX_STATE_PROCEEDING, - PJSIP_EVENT_TX_MSG, event->body.tx_msg.tdata); - - } - - return status; -} - - -/* - * Handler for events in Proceeding for UAS - * This state happens after the TU sends provisional response. - */ -static pj_status_t tsx_on_state_proceeding_uas( pjsip_transaction *tsx, - pjsip_event *event) -{ - pj_assert(tsx->state == PJSIP_TSX_STATE_PROCEEDING || - tsx->state == PJSIP_TSX_STATE_TRYING); - - /* This state is only for UAS. */ - pj_assert(tsx->role == PJSIP_ROLE_UAS); - - /* Receive request retransmission. */ - if (event->type == PJSIP_EVENT_RX_MSG) { - - pj_status_t status; - - /* Must have last response sent. */ - PJ_ASSERT_RETURN(tsx->last_tx != NULL, PJ_EBUG); - - /* Send last response */ - if (tsx->transport_flag & TSX_HAS_PENDING_TRANSPORT) { - tsx->transport_flag |= TSX_HAS_PENDING_SEND; - } else { - status = tsx_send_msg(tsx, tsx->last_tx); - if (status != PJ_SUCCESS) - return status; - } - - } else if (event->type == PJSIP_EVENT_TX_MSG ) { - pjsip_tx_data *tdata = event->body.tx_msg.tdata; - pj_status_t status; - - /* The TU sends response message to the request. Save this message so - * that we can retransmit the last response in case we receive request - * retransmission. - */ - pjsip_msg *msg = tdata->msg; - - /* This can only be a response message. */ - PJ_ASSERT_RETURN(msg->type==PJSIP_RESPONSE_MSG, PJSIP_ENOTRESPONSEMSG); - - /* Update last status */ - tsx_set_status_code(tsx, msg->line.status.code, - &msg->line.status.reason); - - /* Discard the saved last response (it will be updated later as - * necessary). - */ - if (tsx->last_tx && tsx->last_tx != tdata) { - pjsip_tx_data_dec_ref( tsx->last_tx ); - tsx->last_tx = NULL; - } - - /* Send the message. */ - status = tsx_send_msg(tsx, tdata); - if (status != PJ_SUCCESS) { - return status; - } - - // Update To tag header for RFC2543 transaction. - // TODO: - - /* Update transaction state */ - if (PJSIP_IS_STATUS_IN_CLASS(tsx->status_code, 100)) { - - if (tsx->last_tx != tdata) { - tsx->last_tx = tdata; - pjsip_tx_data_add_ref( tdata ); - } - - tsx_set_state( tsx, PJSIP_TSX_STATE_PROCEEDING, - PJSIP_EVENT_TX_MSG, tdata ); - - /* Retransmit provisional response every 1 minute if this is - * an INVITE provisional response greater than 100. - */ - if (PJSIP_TSX_1XX_RETRANS_DELAY > 0 && - tsx->method.id==PJSIP_INVITE_METHOD && tsx->status_code>100) - { - - /* Stop 1xx retransmission timer, if any */ - if (tsx->retransmit_timer.id) { - pjsip_endpt_cancel_timer(tsx->endpt, - &tsx->retransmit_timer); - tsx->retransmit_timer.id = 0; - } - - /* Schedule retransmission */ - tsx->retransmit_count = 0; - if (tsx->transport_flag & TSX_HAS_PENDING_TRANSPORT) { - tsx->transport_flag |= TSX_HAS_PENDING_RESCHED; - } else { - pj_time_val delay = {PJSIP_TSX_1XX_RETRANS_DELAY, 0}; - - tsx->retransmit_timer.id = TIMER_ACTIVE; - pjsip_endpt_schedule_timer( tsx->endpt, - &tsx->retransmit_timer, - &delay); - } - } - - } else if (PJSIP_IS_STATUS_IN_CLASS(tsx->status_code, 200)) { - - /* Stop 1xx retransmission timer, if any */ - if (tsx->retransmit_timer.id) { - pjsip_endpt_cancel_timer(tsx->endpt, &tsx->retransmit_timer); - tsx->retransmit_timer.id = 0; - } - - if (tsx->method.id == PJSIP_INVITE_METHOD && tsx->handle_200resp==0) { - - /* 2xx class message is not saved, because retransmission - * is handled by TU. - */ - tsx_set_state( tsx, PJSIP_TSX_STATE_TERMINATED, - PJSIP_EVENT_TX_MSG, tdata ); - - /* Transaction is destroyed. */ - //return PJSIP_ETSXDESTROYED; - - } else { - pj_time_val timeout; - - if (tsx->method.id == PJSIP_INVITE_METHOD) { - tsx->retransmit_count = 0; - if (tsx->transport_flag & TSX_HAS_PENDING_TRANSPORT) { - tsx->transport_flag |= TSX_HAS_PENDING_RESCHED; - } else { - tsx->retransmit_timer.id = TIMER_ACTIVE; - pjsip_endpt_schedule_timer( tsx->endpt, - &tsx->retransmit_timer, - &t1_timer_val); - } - } - - /* Save last response sent for retransmission when request - * retransmission is received. - */ - if (tsx->last_tx != tdata) { - tsx->last_tx = tdata; - pjsip_tx_data_add_ref(tdata); - } - - /* Setup timeout timer: */ - - if (tsx->method.id == PJSIP_INVITE_METHOD) { - - /* Start Timer H at 64*T1 for INVITE server transaction, - * regardless of transport. - */ - timeout = timeout_timer_val; - - } else if (!tsx->is_reliable) { - - /* For non-INVITE, start timer J at 64*T1 for unreliable - * transport. - */ - timeout = timeout_timer_val; - - } else { - - /* Transaction terminates immediately for non-INVITE when - * reliable transport is used. - */ - timeout.sec = timeout.msec = 0; - } - - lock_timer(tsx); - tsx->timeout_timer.id = TIMER_ACTIVE; - pjsip_endpt_schedule_timer( tsx->endpt, &tsx->timeout_timer, - &timeout); - unlock_timer(tsx); - - /* Set state to "Completed" */ - tsx_set_state( tsx, PJSIP_TSX_STATE_COMPLETED, - PJSIP_EVENT_TX_MSG, tdata ); - } - - } else if (tsx->status_code >= 300) { - - /* Stop 1xx retransmission timer, if any */ - if (tsx->retransmit_timer.id) { - pjsip_endpt_cancel_timer(tsx->endpt, &tsx->retransmit_timer); - tsx->retransmit_timer.id = 0; - } - - /* 3xx-6xx class message causes transaction to move to - * "Completed" state. - */ - if (tsx->last_tx != tdata) { - tsx->last_tx = tdata; - pjsip_tx_data_add_ref( tdata ); - } - - /* For INVITE, start timer H for transaction termination - * regardless whether transport is reliable or not. - * For non-INVITE, start timer J with the value of 64*T1 for - * non-reliable transports, and zero for reliable transports. - */ - lock_timer(tsx); - if (tsx->method.id == PJSIP_INVITE_METHOD) { - /* Start timer H for INVITE */ - tsx->timeout_timer.id = TIMER_ACTIVE; - pjsip_endpt_schedule_timer(tsx->endpt,&tsx->timeout_timer, - &timeout_timer_val); - } else if (!tsx->is_reliable) { - /* Start timer J on 64*T1 seconds for non-INVITE */ - tsx->timeout_timer.id = TIMER_ACTIVE; - pjsip_endpt_schedule_timer(tsx->endpt,&tsx->timeout_timer, - &timeout_timer_val); - } else { - /* Start timer J on zero seconds for non-INVITE */ - pj_time_val zero_time = { 0, 0 }; - tsx->timeout_timer.id = TIMER_ACTIVE; - pjsip_endpt_schedule_timer(tsx->endpt,&tsx->timeout_timer, - &zero_time); - } - unlock_timer(tsx); - - /* For INVITE, if unreliable transport is used, retransmission - * timer G will be scheduled (retransmission). - */ - if (!tsx->is_reliable) { - pjsip_cseq_hdr *cseq = (pjsip_cseq_hdr*) - pjsip_msg_find_hdr( msg, PJSIP_H_CSEQ, - NULL); - if (cseq->method.id == PJSIP_INVITE_METHOD) { - tsx->retransmit_count = 0; - if (tsx->transport_flag & TSX_HAS_PENDING_TRANSPORT) { - tsx->transport_flag |= TSX_HAS_PENDING_RESCHED; - } else { - tsx->retransmit_timer.id = TIMER_ACTIVE; - pjsip_endpt_schedule_timer(tsx->endpt, - &tsx->retransmit_timer, - &t1_timer_val); - } - } - } - - /* Inform TU */ - tsx_set_state( tsx, PJSIP_TSX_STATE_COMPLETED, - PJSIP_EVENT_TX_MSG, tdata ); - - } else { - pj_assert(0); - } - - - } else if (event->type == PJSIP_EVENT_TIMER && - event->body.timer.entry == &tsx->retransmit_timer) { - - /* Retransmission timer elapsed. */ - pj_status_t status; - - /* Must not be triggered while transport is pending. */ - pj_assert((tsx->transport_flag & TSX_HAS_PENDING_TRANSPORT) == 0); - - /* Must have last response to retransmit. */ - pj_assert(tsx->last_tx != NULL); - - /* Retransmit the last response. */ - status = tsx_retransmit( tsx, 1 ); - if (status != PJ_SUCCESS) { - return status; - } - - } else if (event->type == PJSIP_EVENT_TIMER && - event->body.timer.entry == &tsx->timeout_timer) { - - /* Timeout timer. should not happen? */ - pj_assert(!"Should not happen(?)"); - - tsx_set_status_code(tsx, PJSIP_SC_TSX_TIMEOUT, NULL); - - tsx_set_state( tsx, PJSIP_TSX_STATE_TERMINATED, - PJSIP_EVENT_TIMER, &tsx->timeout_timer); - - return PJ_EBUG; - - } else { - pj_assert(!"Unexpected event"); - return PJ_EBUG; - } - - return PJ_SUCCESS; -} - - -/* - * Handler for events in Proceeding for UAC - * This state happens after provisional response(s) has been received from - * UAS. - */ -static pj_status_t tsx_on_state_proceeding_uac(pjsip_transaction *tsx, - pjsip_event *event) -{ - - pj_assert(tsx->state == PJSIP_TSX_STATE_PROCEEDING || - tsx->state == PJSIP_TSX_STATE_CALLING); - - if (event->type != PJSIP_EVENT_TIMER) { - pjsip_msg *msg; - - /* Must be incoming response, because we should not retransmit - * request once response has been received. - */ - pj_assert(event->type == PJSIP_EVENT_RX_MSG); - if (event->type != PJSIP_EVENT_RX_MSG) { - return PJ_EINVALIDOP; - } - - msg = event->body.rx_msg.rdata->msg_info.msg; - - /* Must be a response message. */ - if (msg->type != PJSIP_RESPONSE_MSG) { - pj_assert(!"Expecting response message!"); - return PJSIP_ENOTRESPONSEMSG; - } - - tsx_set_status_code(tsx, msg->line.status.code, - &msg->line.status.reason); - - } else { - if (event->body.timer.entry == &tsx->retransmit_timer) { - /* Retransmit message. */ - pj_status_t status; - - status = tsx_retransmit( tsx, 1 ); - - return status; - - } else { - tsx_set_status_code(tsx, PJSIP_SC_TSX_TIMEOUT, NULL); - } - } - - if (PJSIP_IS_STATUS_IN_CLASS(tsx->status_code, 100)) { - - /* Inform the message to TU. */ - tsx_set_state( tsx, PJSIP_TSX_STATE_PROCEEDING, - PJSIP_EVENT_RX_MSG, event->body.rx_msg.rdata ); - - } else if (PJSIP_IS_STATUS_IN_CLASS(tsx->status_code,200)) { - - /* Stop timeout timer B/F. */ - lock_timer(tsx); - pjsip_endpt_cancel_timer( tsx->endpt, &tsx->timeout_timer ); - unlock_timer(tsx); - - /* For INVITE, the state moves to Terminated state (because ACK is - * handled in TU). For non-INVITE, state moves to Completed. - */ - if (tsx->method.id == PJSIP_INVITE_METHOD) { - tsx_set_state( tsx, PJSIP_TSX_STATE_TERMINATED, - PJSIP_EVENT_RX_MSG, event->body.rx_msg.rdata ); - //return PJSIP_ETSXDESTROYED; - - } else { - pj_time_val timeout; - - /* For unreliable transport, start timer D (for INVITE) or - * timer K for non-INVITE. */ - if (!tsx->is_reliable) { - if (tsx->method.id == PJSIP_INVITE_METHOD) { - timeout = td_timer_val; - } else { - timeout = t4_timer_val; - } - } else { - timeout.sec = timeout.msec = 0; - } - lock_timer(tsx); - tsx->timeout_timer.id = TIMER_ACTIVE; - pjsip_endpt_schedule_timer( tsx->endpt, &tsx->timeout_timer, - &timeout); - unlock_timer(tsx); - - /* Cancel retransmission timer */ - if (tsx->retransmit_timer.id != 0) { - pjsip_endpt_cancel_timer(tsx->endpt, &tsx->retransmit_timer); - tsx->retransmit_timer.id = 0; - } - - /* Move state to Completed, inform TU. */ - tsx_set_state( tsx, PJSIP_TSX_STATE_COMPLETED, - PJSIP_EVENT_RX_MSG, event->body.rx_msg.rdata ); - } - - } else if (event->type == PJSIP_EVENT_TIMER && - event->body.timer.entry == &tsx->timeout_timer) { - - /* Inform TU. */ - tsx_set_state( tsx, PJSIP_TSX_STATE_TERMINATED, - PJSIP_EVENT_TIMER, &tsx->timeout_timer); - - - } else if (tsx->status_code >= 300 && tsx->status_code <= 699) { - - -#if 0 - /* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */ - /* - * This is the old code; it's broken for authentication. - */ - pj_time_val timeout; - pj_status_t status; - - /* Stop timer B. */ - pjsip_endpt_cancel_timer( tsx->endpt, &tsx->timeout_timer ); - - /* Generate and send ACK for INVITE. */ - if (tsx->method.id == PJSIP_INVITE_METHOD) { - pjsip_tx_data *ack; - - status = pjsip_endpt_create_ack( tsx->endpt, tsx->last_tx, - event->body.rx_msg.rdata, - &ack); - if (status != PJ_SUCCESS) - return status; - - if (ack != tsx->last_tx) { - pjsip_tx_data_dec_ref(tsx->last_tx); - tsx->last_tx = ack; - } - - status = tsx_send_msg( tsx, tsx->last_tx); - if (status != PJ_SUCCESS) { - return status; - } - } - - /* Start Timer D with TD/T4 timer if unreliable transport is used. */ - if (!tsx->is_reliable) { - if (tsx->method.id == PJSIP_INVITE_METHOD) { - timeout = td_timer_val; - } else { - timeout = t4_timer_val; - } - } else { - timeout.sec = timeout.msec = 0; - } - tsx->timeout->timer.id = TSX_TIMER_TIMEOUT; - pjsip_endpt_schedule_timer( tsx->endpt, &tsx->timeout_timer, &timeout); - - /* Inform TU. - * blp: You might be tempted to move this notification before - * sending ACK, but I think you shouldn't. Better set-up - * everything before calling tsx_user's callback to avoid - * mess up. - */ - tsx_set_state( tsx, PJSIP_TSX_STATE_COMPLETED, - PJSIP_EVENT_RX_MSG, event->body.rx_msg.rdata ); - - /* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */ -#endif - - /* New code, taken from 0.2.9.x branch */ - pj_time_val timeout; - pjsip_tx_data *ack_tdata = NULL; - - /* Cancel retransmission timer */ - if (tsx->retransmit_timer.id != 0) { - pjsip_endpt_cancel_timer(tsx->endpt, &tsx->retransmit_timer); - tsx->retransmit_timer.id = 0; - } - - /* Stop timer B. */ - lock_timer(tsx); - tsx->timeout_timer.id = 0; - pjsip_endpt_cancel_timer( tsx->endpt, &tsx->timeout_timer ); - unlock_timer(tsx); - - /* Generate and send ACK (for INVITE) */ - if (tsx->method.id == PJSIP_INVITE_METHOD) { - pj_status_t status; - - status = pjsip_endpt_create_ack( tsx->endpt, tsx->last_tx, - event->body.rx_msg.rdata, - &ack_tdata); - if (status != PJ_SUCCESS) - return status; - - status = tsx_send_msg( tsx, ack_tdata); - if (status != PJ_SUCCESS) - return status; - } - - /* Inform TU. */ - tsx_set_state( tsx, PJSIP_TSX_STATE_COMPLETED, - PJSIP_EVENT_RX_MSG, event->body.rx_msg.rdata); - - /* Generate and send ACK for INVITE. */ - if (tsx->method.id == PJSIP_INVITE_METHOD) { - if (ack_tdata != tsx->last_tx) { - pjsip_tx_data_dec_ref(tsx->last_tx); - tsx->last_tx = ack_tdata; - - /* This is a bug. - tsx_send_msg() does NOT decrement tdata's reference counter, - so if we add the reference counter here, tdata will have - reference counter 2, causing it to leak. - pjsip_tx_data_add_ref(ack_tdata); - */ - } - } - - /* Start Timer D with TD/T4 timer if unreliable transport is used. */ - /* Note: tsx->transport may be NULL! */ - if (!tsx->is_reliable) { - if (tsx->method.id == PJSIP_INVITE_METHOD) { - timeout = td_timer_val; - } else { - timeout = t4_timer_val; - } - } else { - timeout.sec = timeout.msec = 0; - } - lock_timer(tsx); - /* In the short period above timer may have been inserted - * by set_timeout() (by CANCEL). Cancel it if necessary. See: - * https://trac.pjsip.org/repos/ticket/1374 - */ - if (tsx->timeout_timer.id) - pjsip_endpt_cancel_timer( tsx->endpt, &tsx->timeout_timer ); - tsx->timeout_timer.id = TIMER_ACTIVE; - pjsip_endpt_schedule_timer( tsx->endpt, &tsx->timeout_timer, &timeout); - unlock_timer(tsx); - - } else { - // Shouldn't happen because there's no timer for this state. - pj_assert(!"Unexpected event"); - return PJ_EBUG; - } - - return PJ_SUCCESS; -} - - -/* - * Handler for events in Completed state for UAS - */ -static pj_status_t tsx_on_state_completed_uas( pjsip_transaction *tsx, - pjsip_event *event) -{ - pj_assert(tsx->state == PJSIP_TSX_STATE_COMPLETED); - - if (event->type == PJSIP_EVENT_RX_MSG) { - pjsip_msg *msg = event->body.rx_msg.rdata->msg_info.msg; - - /* This must be a request message retransmission. */ - if (msg->type != PJSIP_REQUEST_MSG) - return PJSIP_ENOTREQUESTMSG; - - /* On receive request retransmission, retransmit last response. */ - if (msg->line.req.method.id != PJSIP_ACK_METHOD) { - pj_status_t status; - - status = tsx_retransmit( tsx, 0 ); - if (status != PJ_SUCCESS) { - return status; - } - - } else { - pj_time_val timeout; - - /* Process incoming ACK request. */ - - /* Verify that this is an INVITE transaction */ - if (tsx->method.id != PJSIP_INVITE_METHOD) { - PJ_LOG(2, (tsx->obj_name, - "Received illegal ACK for %.*s transaction", - (int)tsx->method.name.slen, - tsx->method.name.ptr)); - return PJSIP_EINVALIDMETHOD; - } - - /* Cease retransmission. */ - if (tsx->retransmit_timer.id != 0) { - pjsip_endpt_cancel_timer(tsx->endpt, &tsx->retransmit_timer); - tsx->retransmit_timer.id = 0; - } - tsx->transport_flag &= ~(TSX_HAS_PENDING_RESCHED); - - /* Reschedule timeout timer. */ - lock_timer(tsx); - pjsip_endpt_cancel_timer( tsx->endpt, &tsx->timeout_timer ); - tsx->timeout_timer.id = TIMER_ACTIVE; - - /* Timer I is T4 timer for unreliable transports, and - * zero seconds for reliable transports. - */ - if (!tsx->is_reliable) { - timeout.sec = 0; - timeout.msec = 0; - } else { - timeout.sec = t4_timer_val.sec; - timeout.msec = t4_timer_val.msec; - } - pjsip_endpt_schedule_timer( tsx->endpt, &tsx->timeout_timer, - &timeout); - unlock_timer(tsx); - - /* Move state to "Confirmed" */ - tsx_set_state( tsx, PJSIP_TSX_STATE_CONFIRMED, - PJSIP_EVENT_RX_MSG, event->body.rx_msg.rdata ); - } - - } else if (event->type == PJSIP_EVENT_TIMER) { - - if (event->body.timer.entry == &tsx->retransmit_timer) { - /* Retransmit message. */ - pj_status_t status; - - status = tsx_retransmit( tsx, 1 ); - if (status != PJ_SUCCESS) { - return status; - } - - } else { - if (tsx->method.id == PJSIP_INVITE_METHOD) { - - /* For INVITE, this means that ACK was never received. - * Set state to Terminated, and inform TU. - */ - - tsx_set_status_code(tsx, PJSIP_SC_TSX_TIMEOUT, NULL); - - tsx_set_state( tsx, PJSIP_TSX_STATE_TERMINATED, - PJSIP_EVENT_TIMER, &tsx->timeout_timer ); - - //return PJSIP_ETSXDESTROYED; - - } else { - /* Transaction terminated, it can now be deleted. */ - tsx_set_state( tsx, PJSIP_TSX_STATE_TERMINATED, - PJSIP_EVENT_TIMER, &tsx->timeout_timer ); - //return PJSIP_ETSXDESTROYED; - } - } - - } else { - /* Ignore request to transmit. */ - PJ_ASSERT_RETURN(event->type == PJSIP_EVENT_TX_MSG && - event->body.tx_msg.tdata == tsx->last_tx, - PJ_EINVALIDOP); - } - - return PJ_SUCCESS; -} - - -/* - * Handler for events in Completed state for UAC transaction. - */ -static pj_status_t tsx_on_state_completed_uac( pjsip_transaction *tsx, - pjsip_event *event) -{ - pj_assert(tsx->state == PJSIP_TSX_STATE_COMPLETED); - - if (event->type == PJSIP_EVENT_TIMER) { - /* Must be the timeout timer. */ - pj_assert(event->body.timer.entry == &tsx->timeout_timer); - - /* Move to Terminated state. */ - tsx_set_state( tsx, PJSIP_TSX_STATE_TERMINATED, - PJSIP_EVENT_TIMER, event->body.timer.entry ); - - /* Transaction has been destroyed. */ - //return PJSIP_ETSXDESTROYED; - - } else if (event->type == PJSIP_EVENT_RX_MSG) { - if (tsx->method.id == PJSIP_INVITE_METHOD) { - /* On received of final response retransmission, retransmit the ACK. - * TU doesn't need to be informed. - */ - pjsip_msg *msg = event->body.rx_msg.rdata->msg_info.msg; - pj_assert(msg->type == PJSIP_RESPONSE_MSG); - if (msg->type==PJSIP_RESPONSE_MSG && - msg->line.status.code >= 200) - { - pj_status_t status; - - status = tsx_retransmit( tsx, 0 ); - if (status != PJ_SUCCESS) { - return status; - } - } else { - /* Very late retransmission of privisional response. */ - pj_assert( msg->type == PJSIP_RESPONSE_MSG ); - } - } else { - /* Just drop the response. */ - } - - } else { - pj_assert(!"Unexpected event"); - return PJ_EINVALIDOP; - } - - return PJ_SUCCESS; -} - - -/* - * Handler for events in state Confirmed. - */ -static pj_status_t tsx_on_state_confirmed( pjsip_transaction *tsx, - pjsip_event *event) -{ - pj_assert(tsx->state == PJSIP_TSX_STATE_CONFIRMED); - - /* This state is only for UAS for INVITE. */ - pj_assert(tsx->role == PJSIP_ROLE_UAS); - pj_assert(tsx->method.id == PJSIP_INVITE_METHOD); - - /* Absorb any ACK received. */ - if (event->type == PJSIP_EVENT_RX_MSG) { - - pjsip_msg *msg = event->body.rx_msg.rdata->msg_info.msg; - - /* Only expecting request message. */ - if (msg->type != PJSIP_REQUEST_MSG) - return PJSIP_ENOTREQUESTMSG; - - /* Must be an ACK request or a late INVITE retransmission. */ - pj_assert(msg->line.req.method.id == PJSIP_ACK_METHOD || - msg->line.req.method.id == PJSIP_INVITE_METHOD); - - } else if (event->type == PJSIP_EVENT_TIMER) { - /* Must be from timeout_timer_. */ - pj_assert(event->body.timer.entry == &tsx->timeout_timer); - - /* Move to Terminated state. */ - tsx_set_state( tsx, PJSIP_TSX_STATE_TERMINATED, - PJSIP_EVENT_TIMER, &tsx->timeout_timer ); - - /* Transaction has been destroyed. */ - //return PJSIP_ETSXDESTROYED; - - } else { - pj_assert(!"Unexpected event"); - return PJ_EBUG; - } - - return PJ_SUCCESS; -} - - -/* - * Handler for events in state Terminated. - */ -static pj_status_t tsx_on_state_terminated( pjsip_transaction *tsx, - pjsip_event *event) -{ - pj_assert(tsx->state == PJSIP_TSX_STATE_TERMINATED); - - /* Ignore events other than timer. This used to be an assertion but - * events may genuinely arrive at this state. - */ - if (event->type != PJSIP_EVENT_TIMER) { - return PJ_EIGNORED; - } - - /* Destroy this transaction */ - tsx_set_state(tsx, PJSIP_TSX_STATE_DESTROYED, - event->type, event->body.user.user1 ); - - return PJ_SUCCESS; -} - - -/* - * Handler for events in state Destroyed. - * Shouldn't happen! - */ -static pj_status_t tsx_on_state_destroyed(pjsip_transaction *tsx, - pjsip_event *event) -{ - PJ_UNUSED_ARG(tsx); - PJ_UNUSED_ARG(event); - - // See https://trac.pjsip.org/repos/ticket/1432 - //pj_assert(!"Not expecting any events!!"); - - return PJ_EIGNORED; -} - diff --git a/res/pjproject/pjsip/src/pjsip/sip_transport.c b/res/pjproject/pjsip/src/pjsip/sip_transport.c deleted file mode 100644 index 2f3ceeba7e..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_transport.c +++ /dev/null @@ -1,1942 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#define THIS_FILE "sip_transport.c" - -#if 0 -# define TRACE_(x) PJ_LOG(5,x) - -static const char *addr_string(const pj_sockaddr_t *addr) -{ - static char str[PJ_INET6_ADDRSTRLEN]; - pj_inet_ntop(((const pj_sockaddr*)addr)->addr.sa_family, - pj_sockaddr_get_addr(addr), - str, sizeof(str)); - return str; -} -#else -# define TRACE_(x) -#endif - -/* Prototype. */ -static pj_status_t mod_on_tx_msg(pjsip_tx_data *tdata); - -/* This module has sole purpose to print transmit data to contigous buffer - * before actually transmitted to the wire. - */ -static pjsip_module mod_msg_print = -{ - NULL, NULL, /* prev and next */ - { "mod-msg-print", 13}, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_TRANSPORT_LAYER, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - NULL, /* on_rx_request() */ - NULL, /* on_rx_response() */ - &mod_on_tx_msg, /* on_tx_request() */ - &mod_on_tx_msg, /* on_tx_response() */ - NULL, /* on_tsx_state() */ -}; - -/* - * Transport manager. - */ -struct pjsip_tpmgr -{ - pj_hash_table_t *table; - pj_lock_t *lock; - pjsip_endpoint *endpt; - pjsip_tpfactory factory_list; -#if defined(PJ_DEBUG) && PJ_DEBUG!=0 - pj_atomic_t *tdata_counter; -#endif - void (*on_rx_msg)(pjsip_endpoint*, pj_status_t, pjsip_rx_data*); - pj_status_t (*on_tx_msg)(pjsip_endpoint*, pjsip_tx_data*); - pjsip_tp_state_callback tp_state_cb; -}; - - -/* Transport state listener list type */ -typedef struct tp_state_listener -{ - PJ_DECL_LIST_MEMBER(struct tp_state_listener); - - pjsip_tp_state_callback cb; - void *user_data; -} tp_state_listener; - - -/* - * Transport data. - */ -typedef struct transport_data -{ - /* Transport listeners */ - tp_state_listener st_listeners; - tp_state_listener st_listeners_empty; -} transport_data; - - -/***************************************************************************** - * - * GENERAL TRANSPORT (NAMES, TYPES, ETC.) - * - *****************************************************************************/ - -/* - * Transport names. - */ -struct transport_names_t -{ - pjsip_transport_type_e type; /* Transport type */ - pj_uint16_t port; /* Default port number */ - pj_str_t name; /* Id tag */ - const char *description; /* Longer description */ - unsigned flag; /* Flags */ - char name_buf[16]; /* For user's transport */ -} transport_names[16] = -{ - { - PJSIP_TRANSPORT_UNSPECIFIED, - 0, - {"Unspecified", 11}, - "Unspecified", - 0 - }, - { - PJSIP_TRANSPORT_UDP, - 5060, - {"UDP", 3}, - "UDP transport", - PJSIP_TRANSPORT_DATAGRAM - }, - { - PJSIP_TRANSPORT_TCP, - 5060, - {"TCP", 3}, - "TCP transport", - PJSIP_TRANSPORT_RELIABLE - }, - { - PJSIP_TRANSPORT_TLS, - 5061, - {"TLS", 3}, - "TLS transport", - PJSIP_TRANSPORT_RELIABLE | PJSIP_TRANSPORT_SECURE - }, - { - PJSIP_TRANSPORT_SCTP, - 5060, - {"SCTP", 4}, - "SCTP transport", - PJSIP_TRANSPORT_RELIABLE - }, - { - PJSIP_TRANSPORT_LOOP, - 15060, - {"LOOP", 4}, - "Loopback transport", - PJSIP_TRANSPORT_RELIABLE - }, - { - PJSIP_TRANSPORT_LOOP_DGRAM, - 15060, - {"LOOP-DGRAM", 10}, - "Loopback datagram transport", - PJSIP_TRANSPORT_DATAGRAM - }, - { - PJSIP_TRANSPORT_UDP6, - 5060, - {"UDP", 3}, - "UDP IPv6 transport", - PJSIP_TRANSPORT_DATAGRAM - }, - { - PJSIP_TRANSPORT_TCP6, - 5060, - {"TCP", 3}, - "TCP IPv6 transport", - PJSIP_TRANSPORT_RELIABLE - }, -}; - -static void tp_state_callback(pjsip_transport *tp, - pjsip_transport_state state, - const pjsip_transport_state_info *info); - - -struct transport_names_t *get_tpname(pjsip_transport_type_e type) -{ - unsigned i; - for (i=0; islen == 0) - return PJSIP_TRANSPORT_UNSPECIFIED; - - /* Get transport type from name. */ - for (i=0; iflag; -} - -/* - * Get the default SIP port number for the specified type. - */ -PJ_DEF(int) pjsip_transport_get_default_port_for_type(pjsip_transport_type_e type) -{ - /* Return the port. */ - return get_tpname(type)->port; -} - -/* - * Get transport name. - */ -PJ_DEF(const char*) pjsip_transport_get_type_name(pjsip_transport_type_e type) -{ - /* Return the name. */ - return get_tpname(type)->name.ptr; -} - -/* - * Get transport description. - */ -PJ_DEF(const char*) pjsip_transport_get_type_desc(pjsip_transport_type_e type) -{ - /* Return the description. */ - return get_tpname(type)->description; -} - - -/***************************************************************************** - * - * TRANSPORT SELECTOR - * - *****************************************************************************/ - -/* - * Add transport/listener reference in the selector. - */ -PJ_DEF(void) pjsip_tpselector_add_ref(pjsip_tpselector *sel) -{ - if (sel->type == PJSIP_TPSELECTOR_TRANSPORT && sel->u.transport != NULL) - pjsip_transport_add_ref(sel->u.transport); - else if (sel->type == PJSIP_TPSELECTOR_LISTENER && sel->u.listener != NULL) - ; /* Hmm.. looks like we don't have reference counter for listener */ -} - - -/* - * Decrement transport/listener reference in the selector. - */ -PJ_DEF(void) pjsip_tpselector_dec_ref(pjsip_tpselector *sel) -{ - if (sel->type == PJSIP_TPSELECTOR_TRANSPORT && sel->u.transport != NULL) - pjsip_transport_dec_ref(sel->u.transport); - else if (sel->type == PJSIP_TPSELECTOR_LISTENER && sel->u.listener != NULL) - ; /* Hmm.. looks like we don't have reference counter for listener */ -} - - -/***************************************************************************** - * - * TRANSMIT DATA BUFFER MANIPULATION. - * - *****************************************************************************/ - -/* - * Create new transmit buffer. - */ -PJ_DEF(pj_status_t) pjsip_tx_data_create( pjsip_tpmgr *mgr, - pjsip_tx_data **p_tdata ) -{ - pj_pool_t *pool; - pjsip_tx_data *tdata; - pj_status_t status; - - PJ_ASSERT_RETURN(mgr && p_tdata, PJ_EINVAL); - - pool = pjsip_endpt_create_pool( mgr->endpt, "tdta%p", - PJSIP_POOL_LEN_TDATA, - PJSIP_POOL_INC_TDATA ); - if (!pool) - return PJ_ENOMEM; - - tdata = PJ_POOL_ZALLOC_T(pool, pjsip_tx_data); - tdata->pool = pool; - tdata->mgr = mgr; - pj_memcpy(tdata->obj_name, pool->obj_name, PJ_MAX_OBJ_NAME); - - status = pj_atomic_create(tdata->pool, 0, &tdata->ref_cnt); - if (status != PJ_SUCCESS) { - pjsip_endpt_release_pool( mgr->endpt, tdata->pool ); - return status; - } - - //status = pj_lock_create_simple_mutex(pool, "tdta%p", &tdata->lock); - status = pj_lock_create_null_mutex(pool, "tdta%p", &tdata->lock); - if (status != PJ_SUCCESS) { - pjsip_endpt_release_pool( mgr->endpt, tdata->pool ); - return status; - } - - pj_ioqueue_op_key_init(&tdata->op_key.key, sizeof(tdata->op_key.key)); - -#if defined(PJ_DEBUG) && PJ_DEBUG!=0 - pj_atomic_inc( tdata->mgr->tdata_counter ); -#endif - - *p_tdata = tdata; - return PJ_SUCCESS; -} - - -/* - * Add reference to tx buffer. - */ -PJ_DEF(void) pjsip_tx_data_add_ref( pjsip_tx_data *tdata ) -{ - pj_atomic_inc(tdata->ref_cnt); -} - -/* - * Decrease transport data reference, destroy it when the reference count - * reaches zero. - */ -PJ_DEF(pj_status_t) pjsip_tx_data_dec_ref( pjsip_tx_data *tdata ) -{ - pj_assert( pj_atomic_get(tdata->ref_cnt) > 0); - if (pj_atomic_dec_and_get(tdata->ref_cnt) <= 0) { - PJ_LOG(5,(tdata->obj_name, "Destroying txdata %s", - pjsip_tx_data_get_info(tdata))); - pjsip_tpselector_dec_ref(&tdata->tp_sel); -#if defined(PJ_DEBUG) && PJ_DEBUG!=0 - pj_atomic_dec( tdata->mgr->tdata_counter ); -#endif - pj_atomic_destroy( tdata->ref_cnt ); - pj_lock_destroy( tdata->lock ); - pjsip_endpt_release_pool( tdata->mgr->endpt, tdata->pool ); - return PJSIP_EBUFDESTROYED; - } else { - return PJ_SUCCESS; - } -} - -/* - * Invalidate the content of the print buffer to force the message to be - * re-printed when sent. - */ -PJ_DEF(void) pjsip_tx_data_invalidate_msg( pjsip_tx_data *tdata ) -{ - tdata->buf.cur = tdata->buf.start; - tdata->info = NULL; -} - -/* - * Print the SIP message to transmit data buffer's internal buffer. - */ -PJ_DEF(pj_status_t) pjsip_tx_data_encode(pjsip_tx_data *tdata) -{ - /* Allocate buffer if necessary. */ - if (tdata->buf.start == NULL) { - PJ_USE_EXCEPTION; - - PJ_TRY { - tdata->buf.start = (char*) - pj_pool_alloc(tdata->pool, PJSIP_MAX_PKT_LEN); - } - PJ_CATCH_ANY { - return PJ_ENOMEM; - } - PJ_END - - tdata->buf.cur = tdata->buf.start; - tdata->buf.end = tdata->buf.start + PJSIP_MAX_PKT_LEN; - } - - /* Do we need to reprint? */ - if (!pjsip_tx_data_is_valid(tdata)) { - pj_ssize_t size; - - size = pjsip_msg_print( tdata->msg, tdata->buf.start, - tdata->buf.end - tdata->buf.start); - if (size < 0) { - return PJSIP_EMSGTOOLONG; - } - pj_assert(size != 0); - tdata->buf.cur[size] = '\0'; - tdata->buf.cur += size; - } - - return PJ_SUCCESS; -} - -PJ_DEF(pj_bool_t) pjsip_tx_data_is_valid( pjsip_tx_data *tdata ) -{ - return tdata->buf.cur != tdata->buf.start; -} - -static char *get_msg_info(pj_pool_t *pool, const char *obj_name, - const pjsip_msg *msg) -{ - char info_buf[128], *info; - const pjsip_cseq_hdr *cseq; - int len; - - cseq = (const pjsip_cseq_hdr*) pjsip_msg_find_hdr(msg, PJSIP_H_CSEQ, NULL); - PJ_ASSERT_RETURN(cseq != NULL, "INVALID MSG"); - - if (msg->type == PJSIP_REQUEST_MSG) { - len = pj_ansi_snprintf(info_buf, sizeof(info_buf), - "Request msg %.*s/cseq=%d (%s)", - (int)msg->line.req.method.name.slen, - msg->line.req.method.name.ptr, - cseq->cseq, obj_name); - } else { - len = pj_ansi_snprintf(info_buf, sizeof(info_buf), - "Response msg %d/%.*s/cseq=%d (%s)", - msg->line.status.code, - (int)cseq->method.name.slen, - cseq->method.name.ptr, - cseq->cseq, obj_name); - } - - if (len < 1 || len >= (int)sizeof(info_buf)) { - return (char*)obj_name; - } - - info = (char*) pj_pool_alloc(pool, len+1); - pj_memcpy(info, info_buf, len+1); - - return info; -} - -PJ_DEF(char*) pjsip_tx_data_get_info( pjsip_tx_data *tdata ) -{ - /* tdata->info may be assigned by application so if it exists - * just return it. - */ - if (tdata->info) - return tdata->info; - - if (tdata==NULL || tdata->msg==NULL) - return "NULL"; - - pj_lock_acquire(tdata->lock); - tdata->info = get_msg_info(tdata->pool, tdata->obj_name, tdata->msg); - pj_lock_release(tdata->lock); - - return tdata->info; -} - -PJ_DEF(pj_status_t) pjsip_tx_data_set_transport(pjsip_tx_data *tdata, - const pjsip_tpselector *sel) -{ - PJ_ASSERT_RETURN(tdata && sel, PJ_EINVAL); - - pj_lock_acquire(tdata->lock); - - pjsip_tpselector_dec_ref(&tdata->tp_sel); - - pj_memcpy(&tdata->tp_sel, sel, sizeof(*sel)); - pjsip_tpselector_add_ref(&tdata->tp_sel); - - pj_lock_release(tdata->lock); - - return PJ_SUCCESS; -} - - -PJ_DEF(char*) pjsip_rx_data_get_info(pjsip_rx_data *rdata) -{ - char obj_name[PJ_MAX_OBJ_NAME]; - - PJ_ASSERT_RETURN(rdata->msg_info.msg, "INVALID MSG"); - - if (rdata->msg_info.info) - return rdata->msg_info.info; - - pj_ansi_strcpy(obj_name, "rdata"); - pj_ansi_snprintf(obj_name+5, sizeof(obj_name)-5, "%p", rdata); - - rdata->msg_info.info = get_msg_info(rdata->tp_info.pool, obj_name, - rdata->msg_info.msg); - return rdata->msg_info.info; -} - -/***************************************************************************** - * - * TRANSPORT KEY - * - *****************************************************************************/ - - -/***************************************************************************** - * - * TRANSPORT - * - *****************************************************************************/ - -static void transport_send_callback(pjsip_transport *transport, - void *token, - pj_ssize_t size) -{ - pjsip_tx_data *tdata = (pjsip_tx_data*) token; - - PJ_UNUSED_ARG(transport); - - /* Mark pending off so that app can resend/reuse txdata from inside - * the callback. - */ - tdata->is_pending = 0; - - /* Call callback, if any. */ - if (tdata->cb) { - (*tdata->cb)(tdata->token, tdata, size); - } - - /* Decrement reference count. */ - pjsip_tx_data_dec_ref(tdata); -} - -/* This function is called by endpoint for on_tx_request() and on_tx_response() - * notification. - */ -static pj_status_t mod_on_tx_msg(pjsip_tx_data *tdata) -{ - return pjsip_tx_data_encode(tdata); -} - -/* - * Send a SIP message using the specified transport. - */ -PJ_DEF(pj_status_t) pjsip_transport_send( pjsip_transport *tr, - pjsip_tx_data *tdata, - const pj_sockaddr_t *addr, - int addr_len, - void *token, - pjsip_tp_send_callback cb) -{ - pj_status_t status; - - PJ_ASSERT_RETURN(tr && tdata && addr, PJ_EINVAL); - - /* Is it currently being sent? */ - if (tdata->is_pending) { - pj_assert(!"Invalid operation step!"); - PJ_LOG(2,(THIS_FILE, "Unable to send %s: message is pending", - pjsip_tx_data_get_info(tdata))); - return PJSIP_EPENDINGTX; - } - - /* Add reference to prevent deletion, and to cancel idle timer if - * it's running. - */ - pjsip_transport_add_ref(tr); - - /* Fill in tp_info. */ - tdata->tp_info.transport = tr; - pj_memcpy(&tdata->tp_info.dst_addr, addr, addr_len); - tdata->tp_info.dst_addr_len = addr_len; - - pj_inet_ntop(((pj_sockaddr*)addr)->addr.sa_family, - pj_sockaddr_get_addr(addr), - tdata->tp_info.dst_name, - sizeof(tdata->tp_info.dst_name)); - tdata->tp_info.dst_port = pj_sockaddr_get_port(addr); - - /* Distribute to modules. - * When the message reach mod_msg_print, the contents of the message will - * be "printed" to contiguous buffer. - */ - if (tr->tpmgr->on_tx_msg) { - status = (*tr->tpmgr->on_tx_msg)(tr->endpt, tdata); - if (status != PJ_SUCCESS) { - pjsip_transport_dec_ref(tr); - return status; - } - } - - /* Save callback data. */ - tdata->token = token; - tdata->cb = cb; - - /* Add reference counter. */ - pjsip_tx_data_add_ref(tdata); - - /* Mark as pending. */ - tdata->is_pending = 1; - - /* Send to transport. */ - status = (*tr->send_msg)(tr, tdata, addr, addr_len, (void*)tdata, - &transport_send_callback); - - if (status != PJ_EPENDING) { - tdata->is_pending = 0; - pjsip_tx_data_dec_ref(tdata); - } - - pjsip_transport_dec_ref(tr); - return status; -} - - -/* send_raw() callback */ -static void send_raw_callback(pjsip_transport *transport, - void *token, - pj_ssize_t size) -{ - pjsip_tx_data *tdata = (pjsip_tx_data*) token; - - /* Mark pending off so that app can resend/reuse txdata from inside - * the callback. - */ - tdata->is_pending = 0; - - /* Call callback, if any. */ - if (tdata->cb) { - (*tdata->cb)(tdata->token, tdata, size); - } - - /* Decrement tdata reference count. */ - pjsip_tx_data_dec_ref(tdata); - - /* Decrement transport reference count */ - pjsip_transport_dec_ref(transport); -} - - -/* Send raw data */ -PJ_DEF(pj_status_t) pjsip_tpmgr_send_raw(pjsip_tpmgr *mgr, - pjsip_transport_type_e tp_type, - const pjsip_tpselector *sel, - pjsip_tx_data *tdata, - const void *raw_data, - pj_size_t data_len, - const pj_sockaddr_t *addr, - int addr_len, - void *token, - pjsip_tp_send_callback cb) -{ - pjsip_transport *tr; - pj_status_t status; - - /* Acquire the transport */ - status = pjsip_tpmgr_acquire_transport(mgr, tp_type, addr, addr_len, - sel, &tr); - if (status != PJ_SUCCESS) - return status; - - /* Create transmit data buffer if one is not specified */ - if (tdata == NULL) { - status = pjsip_endpt_create_tdata(tr->endpt, &tdata); - if (status != PJ_SUCCESS) { - pjsip_transport_dec_ref(tr); - return status; - } - - tdata->info = "raw"; - - /* Add reference counter. */ - pjsip_tx_data_add_ref(tdata); - } - - /* Allocate buffer */ - if (tdata->buf.start == NULL || - (tdata->buf.end - tdata->buf.start) < (int)data_len) - { - /* Note: data_len may be zero, so allocate +1 */ - tdata->buf.start = (char*) pj_pool_alloc(tdata->pool, data_len+1); - tdata->buf.end = tdata->buf.start + data_len + 1; - } - - /* Copy data, if any! (application may send zero len packet) */ - if (data_len) { - pj_memcpy(tdata->buf.start, raw_data, data_len); - } - tdata->buf.cur = tdata->buf.start + data_len; - - /* Save callback data. */ - tdata->token = token; - tdata->cb = cb; - - /* Mark as pending. */ - tdata->is_pending = 1; - - /* Send to transport */ - status = tr->send_msg(tr, tdata, addr, addr_len, - tdata, &send_raw_callback); - - if (status != PJ_EPENDING) { - /* callback will not be called, so destroy tdata now. */ - pjsip_tx_data_dec_ref(tdata); - pjsip_transport_dec_ref(tr); - } - - return status; -} - - -static void transport_idle_callback(pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry) -{ - pjsip_transport *tp = (pjsip_transport*) entry->user_data; - pj_assert(tp != NULL); - - PJ_UNUSED_ARG(timer_heap); - - entry->id = PJ_FALSE; - pjsip_transport_destroy(tp); -} - -/* - * Add ref. - */ -PJ_DEF(pj_status_t) pjsip_transport_add_ref( pjsip_transport *tp ) -{ - PJ_ASSERT_RETURN(tp != NULL, PJ_EINVAL); - - if (pj_atomic_inc_and_get(tp->ref_cnt) == 1) { - pj_lock_acquire(tp->tpmgr->lock); - /* Verify again. */ - if (pj_atomic_get(tp->ref_cnt) == 1) { - if (tp->idle_timer.id != PJ_FALSE) { - pjsip_endpt_cancel_timer(tp->tpmgr->endpt, &tp->idle_timer); - tp->idle_timer.id = PJ_FALSE; - } - } - pj_lock_release(tp->tpmgr->lock); - } - - return PJ_SUCCESS; -} - -/* - * Dec ref. - */ -PJ_DEF(pj_status_t) pjsip_transport_dec_ref( pjsip_transport *tp ) -{ - PJ_ASSERT_RETURN(tp != NULL, PJ_EINVAL); - - pj_assert(pj_atomic_get(tp->ref_cnt) > 0); - - if (pj_atomic_dec_and_get(tp->ref_cnt) == 0) { - pj_lock_acquire(tp->tpmgr->lock); - /* Verify again. Do not register timer if the transport is - * being destroyed. - */ - if (pj_atomic_get(tp->ref_cnt) == 0 && !tp->is_destroying) { - pj_time_val delay; - - /* If transport is in graceful shutdown, then this is the - * last user who uses the transport. Schedule to destroy the - * transport immediately. Otherwise schedule idle timer. - */ - if (tp->is_shutdown) { - delay.sec = delay.msec = 0; - } else { - delay.sec = (tp->dir==PJSIP_TP_DIR_OUTGOING) ? - PJSIP_TRANSPORT_IDLE_TIME : - PJSIP_TRANSPORT_SERVER_IDLE_TIME; - delay.msec = 0; - } - - pj_assert(tp->idle_timer.id == 0); - tp->idle_timer.id = PJ_TRUE; - pjsip_endpt_schedule_timer(tp->tpmgr->endpt, &tp->idle_timer, - &delay); - } - pj_lock_release(tp->tpmgr->lock); - } - - return PJ_SUCCESS; -} - - -/** - * Register a transport. - */ -PJ_DEF(pj_status_t) pjsip_transport_register( pjsip_tpmgr *mgr, - pjsip_transport *tp ) -{ - int key_len; - pj_uint32_t hval; - void *entry; - - /* Init. */ - tp->tpmgr = mgr; - pj_bzero(&tp->idle_timer, sizeof(tp->idle_timer)); - tp->idle_timer.user_data = tp; - tp->idle_timer.cb = &transport_idle_callback; - - /* - * Register to hash table (see Trac ticket #42). - */ - key_len = sizeof(tp->key.type) + tp->addr_len; - pj_lock_acquire(mgr->lock); - - /* If entry already occupied, unregister previous entry */ - hval = 0; - entry = pj_hash_get(mgr->table, &tp->key, key_len, &hval); - if (entry != NULL) - pj_hash_set(NULL, mgr->table, &tp->key, key_len, hval, NULL); - - /* Register new entry */ - pj_hash_set(tp->pool, mgr->table, &tp->key, key_len, hval, tp); - - pj_lock_release(mgr->lock); - - TRACE_((THIS_FILE,"Transport %s registered: type=%s, remote=%s:%d", - tp->obj_name, - pjsip_transport_get_type_name(tp->key.type), - addr_string(&tp->key.rem_addr), - pj_sockaddr_get_port(&tp->key.rem_addr))); - - return PJ_SUCCESS; -} - -/* Force destroy transport (e.g. during transport manager shutdown. */ -static pj_status_t destroy_transport( pjsip_tpmgr *mgr, - pjsip_transport *tp ) -{ - int key_len; - pj_uint32_t hval; - void *entry; - - TRACE_((THIS_FILE, "Transport %s is being destroyed", tp->obj_name)); - - pj_lock_acquire(tp->lock); - pj_lock_acquire(mgr->lock); - - tp->is_destroying = PJ_TRUE; - - /* - * Unregister timer, if any. - */ - //pj_assert(tp->idle_timer.id == PJ_FALSE); - if (tp->idle_timer.id != PJ_FALSE) { - pjsip_endpt_cancel_timer(mgr->endpt, &tp->idle_timer); - tp->idle_timer.id = PJ_FALSE; - } - - /* - * Unregister from hash table (see Trac ticket #42). - */ - key_len = sizeof(tp->key.type) + tp->addr_len; - hval = 0; - entry = pj_hash_get(mgr->table, &tp->key, key_len, &hval); - if (entry == (void*)tp) - pj_hash_set(NULL, mgr->table, &tp->key, key_len, hval, NULL); - - pj_lock_release(mgr->lock); - - /* Destroy. */ - return tp->destroy(tp); -} - - -/* - * Start graceful shutdown procedure for this transport. - */ -PJ_DEF(pj_status_t) pjsip_transport_shutdown(pjsip_transport *tp) -{ - pjsip_tpmgr *mgr; - pj_status_t status; - - TRACE_((THIS_FILE, "Transport %s shutting down", tp->obj_name)); - - pj_lock_acquire(tp->lock); - - mgr = tp->tpmgr; - pj_lock_acquire(mgr->lock); - - /* Do nothing if transport is being shutdown already */ - if (tp->is_shutdown) { - pj_lock_release(tp->lock); - pj_lock_release(mgr->lock); - return PJ_SUCCESS; - } - - status = PJ_SUCCESS; - - /* Instruct transport to shutdown itself */ - if (tp->do_shutdown) - status = tp->do_shutdown(tp); - - if (status == PJ_SUCCESS) - tp->is_shutdown = PJ_TRUE; - - /* If transport reference count is zero, start timer count-down */ - if (pj_atomic_get(tp->ref_cnt) == 0) { - pjsip_transport_add_ref(tp); - pjsip_transport_dec_ref(tp); - } - - pj_lock_release(tp->lock); - pj_lock_release(mgr->lock); - - return status; -} - - -/** - * Unregister transport. - */ -PJ_DEF(pj_status_t) pjsip_transport_destroy( pjsip_transport *tp) -{ - /* Must have no user. */ - PJ_ASSERT_RETURN(pj_atomic_get(tp->ref_cnt) == 0, PJSIP_EBUSY); - - /* Destroy. */ - return destroy_transport(tp->tpmgr, tp); -} - - - -/***************************************************************************** - * - * TRANSPORT FACTORY - * - *****************************************************************************/ - - -PJ_DEF(pj_status_t) pjsip_tpmgr_register_tpfactory( pjsip_tpmgr *mgr, - pjsip_tpfactory *tpf) -{ - pjsip_tpfactory *p; - pj_status_t status; - - pj_lock_acquire(mgr->lock); - - /* Check that no factory with the same type has been registered. */ - status = PJ_SUCCESS; - for (p=mgr->factory_list.next; p!=&mgr->factory_list; p=p->next) { - if (p->type == tpf->type) { - status = PJSIP_ETYPEEXISTS; - break; - } - if (p == tpf) { - status = PJ_EEXISTS; - break; - } - } - - if (status != PJ_SUCCESS) { - pj_lock_release(mgr->lock); - return status; - } - - pj_list_insert_before(&mgr->factory_list, tpf); - - pj_lock_release(mgr->lock); - - return PJ_SUCCESS; -} - - -/** - * Unregister factory. - */ -PJ_DEF(pj_status_t) pjsip_tpmgr_unregister_tpfactory( pjsip_tpmgr *mgr, - pjsip_tpfactory *tpf) -{ - pj_lock_acquire(mgr->lock); - - pj_assert(pj_list_find_node(&mgr->factory_list, tpf) == tpf); - pj_list_erase(tpf); - - pj_lock_release(mgr->lock); - - return PJ_SUCCESS; -} - - -/***************************************************************************** - * - * TRANSPORT MANAGER - * - *****************************************************************************/ - -/* - * Create a new transport manager. - */ -PJ_DEF(pj_status_t) pjsip_tpmgr_create( pj_pool_t *pool, - pjsip_endpoint *endpt, - pjsip_rx_callback rx_cb, - pjsip_tx_callback tx_cb, - pjsip_tpmgr **p_mgr) -{ - pjsip_tpmgr *mgr; - pj_status_t status; - - PJ_ASSERT_RETURN(pool && endpt && rx_cb && p_mgr, PJ_EINVAL); - - /* Register mod_msg_print module. */ - status = pjsip_endpt_register_module(endpt, &mod_msg_print); - if (status != PJ_SUCCESS) - return status; - - /* Create and initialize transport manager. */ - mgr = PJ_POOL_ZALLOC_T(pool, pjsip_tpmgr); - mgr->endpt = endpt; - mgr->on_rx_msg = rx_cb; - mgr->on_tx_msg = tx_cb; - pj_list_init(&mgr->factory_list); - - mgr->table = pj_hash_create(pool, PJSIP_TPMGR_HTABLE_SIZE); - if (!mgr->table) - return PJ_ENOMEM; - - status = pj_lock_create_recursive_mutex(pool, "tmgr%p", &mgr->lock); - if (status != PJ_SUCCESS) - return status; - -#if defined(PJ_DEBUG) && PJ_DEBUG!=0 - status = pj_atomic_create(pool, 0, &mgr->tdata_counter); - if (status != PJ_SUCCESS) - return status; -#endif - - /* Set transport state callback */ - status = pjsip_tpmgr_set_state_cb(mgr, &tp_state_callback); - if (status != PJ_SUCCESS) - return status; - - PJ_LOG(5, (THIS_FILE, "Transport manager created.")); - - *p_mgr = mgr; - return PJ_SUCCESS; -} - - - -/* - * Find out the appropriate local address info (IP address and port) to - * advertise in Contact header based on the remote address to be - * contacted. The local address info would be the address name of the - * transport or listener which will be used to send the request. - * - * In this implementation, it will only select the transport based on - * the transport type in the request. - */ -PJ_DEF(pj_status_t) pjsip_tpmgr_find_local_addr( pjsip_tpmgr *tpmgr, - pj_pool_t *pool, - pjsip_transport_type_e type, - const pjsip_tpselector *sel, - pj_str_t *ip_addr, - int *port) -{ - pj_status_t status = PJSIP_EUNSUPTRANSPORT; - unsigned flag; - - /* Sanity checks */ - PJ_ASSERT_RETURN(tpmgr && pool && ip_addr && port, PJ_EINVAL); - - ip_addr->slen = 0; - *port = 0; - - flag = pjsip_transport_get_flag_from_type(type); - - if (sel && sel->type == PJSIP_TPSELECTOR_TRANSPORT && - sel->u.transport) - { - pj_strdup(pool, ip_addr, &sel->u.transport->local_name.host); - *port = sel->u.transport->local_name.port; - status = PJ_SUCCESS; - - } else if (sel && sel->type == PJSIP_TPSELECTOR_LISTENER && - sel->u.listener) - { - pj_strdup(pool, ip_addr, &sel->u.listener->addr_name.host); - *port = sel->u.listener->addr_name.port; - status = PJ_SUCCESS; - - } else if ((flag & PJSIP_TRANSPORT_DATAGRAM) != 0) { - - pj_sockaddr remote; - int addr_len; - pjsip_transport *tp; - - pj_bzero(&remote, sizeof(remote)); - if (type & PJSIP_TRANSPORT_IPV6) { - addr_len = sizeof(pj_sockaddr_in6); - remote.addr.sa_family = pj_AF_INET6(); - } else { - addr_len = sizeof(pj_sockaddr_in); - remote.addr.sa_family = pj_AF_INET(); - } - - status = pjsip_tpmgr_acquire_transport(tpmgr, type, &remote, - addr_len, NULL, &tp); - - if (status == PJ_SUCCESS) { - pj_strdup(pool, ip_addr, &tp->local_name.host); - *port = tp->local_name.port; - status = PJ_SUCCESS; - - pjsip_transport_dec_ref(tp); - } - - } else { - /* For connection oriented transport, enum the factories */ - pjsip_tpfactory *f; - - pj_lock_acquire(tpmgr->lock); - - f = tpmgr->factory_list.next; - while (f != &tpmgr->factory_list) { - if (f->type == type) - break; - f = f->next; - } - - if (f != &tpmgr->factory_list) { - pj_strdup(pool, ip_addr, &f->addr_name.host); - *port = f->addr_name.port; - status = PJ_SUCCESS; - } - pj_lock_release(tpmgr->lock); - } - - return status; -} - -/* - * Return number of transports currently registered to the transport - * manager. - */ -PJ_DEF(unsigned) pjsip_tpmgr_get_transport_count(pjsip_tpmgr *mgr) -{ - pj_hash_iterator_t itr_val; - pj_hash_iterator_t *itr; - int nr_of_transports = 0; - - pj_lock_acquire(mgr->lock); - - itr = pj_hash_first(mgr->table, &itr_val); - while (itr) { - nr_of_transports++; - itr = pj_hash_next(mgr->table, itr); - } - - pj_lock_release(mgr->lock); - - return nr_of_transports; -} - -/* - * pjsip_tpmgr_destroy() - * - * Destroy transport manager. - */ -PJ_DEF(pj_status_t) pjsip_tpmgr_destroy( pjsip_tpmgr *mgr ) -{ - pj_hash_iterator_t itr_val; - pj_hash_iterator_t *itr; - pjsip_tpfactory *factory; - pjsip_endpoint *endpt = mgr->endpt; - - PJ_LOG(5, (THIS_FILE, "Destroying transport manager")); - - pj_lock_acquire(mgr->lock); - - /* - * Destroy all transports. - */ - itr = pj_hash_first(mgr->table, &itr_val); - while (itr != NULL) { - pj_hash_iterator_t *next; - pjsip_transport *transport; - - transport = (pjsip_transport*) pj_hash_this(mgr->table, itr); - - next = pj_hash_next(mgr->table, itr); - - destroy_transport(mgr, transport); - - itr = next; - } - - /* - * Destroy all factories/listeners. - */ - factory = mgr->factory_list.next; - while (factory != &mgr->factory_list) { - pjsip_tpfactory *next = factory->next; - - factory->destroy(factory); - - factory = next; - } - - pj_lock_release(mgr->lock); - pj_lock_destroy(mgr->lock); - - /* Unregister mod_msg_print. */ - if (mod_msg_print.id != -1) { - pjsip_endpt_unregister_module(endpt, &mod_msg_print); - } - -#if defined(PJ_DEBUG) && PJ_DEBUG!=0 - /* If you encounter assert error on this line, it means there are - * leakings in transmit data (i.e. some transmit data have not been - * destroyed). - */ - //pj_assert(pj_atomic_get(mgr->tdata_counter) == 0); - if (pj_atomic_get(mgr->tdata_counter) != 0) { - PJ_LOG(3,(THIS_FILE, "Warning: %d transmit buffer(s) not freed!", - pj_atomic_get(mgr->tdata_counter))); - } -#endif - - return PJ_SUCCESS; -} - - -/* - * pjsip_tpmgr_receive_packet() - * - * Called by tranports when they receive a new packet. - */ -PJ_DEF(pj_ssize_t) pjsip_tpmgr_receive_packet( pjsip_tpmgr *mgr, - pjsip_rx_data *rdata) -{ - pjsip_transport *tr = rdata->tp_info.transport; - - char *current_pkt; - pj_size_t remaining_len; - pj_size_t total_processed = 0; - - /* Check size. */ - pj_assert(rdata->pkt_info.len > 0); - if (rdata->pkt_info.len <= 0) - return -1; - - current_pkt = rdata->pkt_info.packet; - remaining_len = rdata->pkt_info.len; - - /* Must NULL terminate buffer. This is the requirement of the - * parser etc. - */ - current_pkt[remaining_len] = '\0'; - - /* Process all message fragments. */ - while (remaining_len > 0) { - - pjsip_msg *msg; - char *p, *end; - char saved; - pj_size_t msg_fragment_size; - - /* Skip leading newlines as pjsip_find_msg() currently can't - * handle leading newlines. - */ - for (p=current_pkt, end=p+remaining_len; p!=end; ++p) { - if (*p != '\r' && *p != '\n') - break; - } - if (p!=current_pkt) { - remaining_len -= (p - current_pkt); - total_processed += (p - current_pkt); - current_pkt = p; - if (remaining_len == 0) { - return total_processed; - } - } - - /* Initialize default fragment size. */ - msg_fragment_size = remaining_len; - - /* Clear and init msg_info in rdata. - * Endpoint might inspect the values there when we call the callback - * to report some errors. - */ - pj_bzero(&rdata->msg_info, sizeof(rdata->msg_info)); - pj_list_init(&rdata->msg_info.parse_err); - rdata->msg_info.msg_buf = current_pkt; - rdata->msg_info.len = remaining_len; - - /* For TCP transport, check if the whole message has been received. */ - if ((tr->flag & PJSIP_TRANSPORT_DATAGRAM) == 0) { - pj_status_t msg_status; - msg_status = pjsip_find_msg(current_pkt, remaining_len, PJ_FALSE, - &msg_fragment_size); - if (msg_status != PJ_SUCCESS) { - if (remaining_len == PJSIP_MAX_PKT_LEN) { - mgr->on_rx_msg(mgr->endpt, PJSIP_ERXOVERFLOW, rdata); - /* Exhaust all data. */ - return rdata->pkt_info.len; - } else { - /* Not enough data in packet. */ - return total_processed; - } - } - } - - /* Update msg_info. */ - rdata->msg_info.len = msg_fragment_size; - - /* Null terminate packet */ - saved = current_pkt[msg_fragment_size]; - current_pkt[msg_fragment_size] = '\0'; - - /* Parse the message. */ - rdata->msg_info.msg = msg = - pjsip_parse_rdata( current_pkt, msg_fragment_size, rdata); - - /* Restore null termination */ - current_pkt[msg_fragment_size] = saved; - - /* Check for parsing syntax error */ - if (msg==NULL || !pj_list_empty(&rdata->msg_info.parse_err)) { - pjsip_parser_err_report *err; - char buf[128]; - pj_str_t tmp; - - /* Gather syntax error information */ - tmp.ptr = buf; tmp.slen = 0; - err = rdata->msg_info.parse_err.next; - while (err != &rdata->msg_info.parse_err) { - int len; - len = pj_ansi_snprintf(tmp.ptr+tmp.slen, sizeof(buf)-tmp.slen, - ": %s exception when parsing '%.*s' " - "header on line %d col %d", - pj_exception_id_name(err->except_code), - (int)err->hname.slen, err->hname.ptr, - err->line, err->col); - if (len > 0 && len < (int) (sizeof(buf)-tmp.slen)) { - tmp.slen += len; - } - err = err->next; - } - - /* Only print error message if there's error. - * Sometimes we receive blank packets (packets with only CRLF) - * which were sent to keep NAT bindings. - */ - if (tmp.slen) { - PJ_LOG(1, (THIS_FILE, - "Error processing %d bytes packet from %s %s:%d %.*s:\n" - "%.*s\n" - "-- end of packet.", - msg_fragment_size, - rdata->tp_info.transport->type_name, - rdata->pkt_info.src_name, - rdata->pkt_info.src_port, - (int)tmp.slen, tmp.ptr, - (int)msg_fragment_size, - rdata->msg_info.msg_buf)); - } - - goto finish_process_fragment; - } - - /* Perform basic header checking. */ - if (rdata->msg_info.cid == NULL || - rdata->msg_info.cid->id.slen == 0 || - rdata->msg_info.from == NULL || - rdata->msg_info.to == NULL || - rdata->msg_info.via == NULL || - rdata->msg_info.cseq == NULL) - { - mgr->on_rx_msg(mgr->endpt, PJSIP_EMISSINGHDR, rdata); - goto finish_process_fragment; - } - - /* For request: */ - if (rdata->msg_info.msg->type == PJSIP_REQUEST_MSG) { - /* always add received parameter to the via. */ - pj_strdup2(rdata->tp_info.pool, - &rdata->msg_info.via->recvd_param, - rdata->pkt_info.src_name); - - /* RFC 3581: - * If message contains "rport" param, put the received port there. - */ - if (rdata->msg_info.via->rport_param == 0) { - rdata->msg_info.via->rport_param = rdata->pkt_info.src_port; - } - } else { - /* Drop malformed responses */ - if (rdata->msg_info.msg->line.status.code < 100 || - rdata->msg_info.msg->line.status.code >= 700) - { - mgr->on_rx_msg(mgr->endpt, PJSIP_EINVALIDSTATUS, rdata); - goto finish_process_fragment; - } - } - - /* Drop response message if it has more than one Via. - */ - /* This is wrong. Proxy DOES receive responses with multiple - * Via headers! Thanks Aldo for pointing - * this out. - - if (msg->type == PJSIP_RESPONSE_MSG) { - pjsip_hdr *hdr; - hdr = (pjsip_hdr*)rdata->msg_info.via->next; - if (hdr != &msg->hdr) { - hdr = pjsip_msg_find_hdr(msg, PJSIP_H_VIA, hdr); - if (hdr) { - mgr->on_rx_msg(mgr->endpt, PJSIP_EMULTIPLEVIA, rdata); - goto finish_process_fragment; - } - } - } - */ - - /* Call the transport manager's upstream message callback. - */ - mgr->on_rx_msg(mgr->endpt, PJ_SUCCESS, rdata); - - -finish_process_fragment: - total_processed += msg_fragment_size; - current_pkt += msg_fragment_size; - remaining_len -= msg_fragment_size; - - } /* while (rdata->pkt_info.len > 0) */ - - - return total_processed; -} - - -/* - * pjsip_tpmgr_acquire_transport() - * - * Get transport suitable to communicate to remote. Create a new one - * if necessary. - */ -PJ_DEF(pj_status_t) pjsip_tpmgr_acquire_transport(pjsip_tpmgr *mgr, - pjsip_transport_type_e type, - const pj_sockaddr_t *remote, - int addr_len, - const pjsip_tpselector *sel, - pjsip_transport **tp) -{ - return pjsip_tpmgr_acquire_transport2(mgr, type, remote, addr_len, sel, - NULL, tp); -} - -/* - * pjsip_tpmgr_acquire_transport2() - * - * Get transport suitable to communicate to remote. Create a new one - * if necessary. - */ -PJ_DEF(pj_status_t) pjsip_tpmgr_acquire_transport2(pjsip_tpmgr *mgr, - pjsip_transport_type_e type, - const pj_sockaddr_t *remote, - int addr_len, - const pjsip_tpselector *sel, - pjsip_tx_data *tdata, - pjsip_transport **tp) -{ - pjsip_tpfactory *factory; - pj_status_t status; - - TRACE_((THIS_FILE,"Acquiring transport type=%s, remote=%s:%d", - pjsip_transport_get_type_name(type), - addr_string(remote), - pj_sockaddr_get_port(remote))); - - pj_lock_acquire(mgr->lock); - - /* If transport is specified, then just use it if it is suitable - * for the destination. - */ - if (sel && sel->type == PJSIP_TPSELECTOR_TRANSPORT && - sel->u.transport) - { - pjsip_transport *seltp = sel->u.transport; - - /* See if the transport is (not) suitable */ - if (seltp->key.type != type) { - pj_lock_release(mgr->lock); - return PJSIP_ETPNOTSUITABLE; - } - - /* We could also verify that the destination address is reachable - * from this transport (i.e. both are equal), but if application - * has requested a specific transport to be used, assume that - * it knows what to do. - * - * In other words, I don't think destination verification is a good - * idea for now. - */ - - /* Transport looks to be suitable to use, so just use it. */ - pjsip_transport_add_ref(seltp); - pj_lock_release(mgr->lock); - *tp = seltp; - - TRACE_((THIS_FILE, "Transport %s acquired", seltp->obj_name)); - return PJ_SUCCESS; - - - } else if (sel && sel->type == PJSIP_TPSELECTOR_LISTENER && - sel->u.listener) - { - /* Application has requested that a specific listener is to - * be used. In this case, skip transport hash table lookup. - */ - - /* Verify that the listener type matches the destination type */ - if (sel->u.listener->type != type) { - pj_lock_release(mgr->lock); - return PJSIP_ETPNOTSUITABLE; - } - - /* We'll use this listener to create transport */ - factory = sel->u.listener; - - } else { - - /* - * This is the "normal" flow, where application doesn't specify - * specific transport/listener to be used to send message to. - * In this case, lookup the transport from the hash table. - */ - pjsip_transport_key key; - int key_len; - pjsip_transport *transport; - - pj_bzero(&key, sizeof(key)); - key_len = sizeof(key.type) + addr_len; - - /* First try to get exact destination. */ - key.type = type; - pj_memcpy(&key.rem_addr, remote, addr_len); - - transport = (pjsip_transport*) - pj_hash_get(mgr->table, &key, key_len, NULL); - - if (transport == NULL) { - unsigned flag = pjsip_transport_get_flag_from_type(type); - const pj_sockaddr *remote_addr = (const pj_sockaddr*)remote; - - - /* Ignore address for loop transports. */ - if (type == PJSIP_TRANSPORT_LOOP || - type == PJSIP_TRANSPORT_LOOP_DGRAM) - { - pj_sockaddr *addr = &key.rem_addr; - - pj_bzero(addr, addr_len); - key_len = sizeof(key.type) + addr_len; - transport = (pjsip_transport*) - pj_hash_get(mgr->table, &key, key_len, NULL); - } - /* For datagram transports, try lookup with zero address. - */ - else if (flag & PJSIP_TRANSPORT_DATAGRAM) - { - pj_sockaddr *addr = &key.rem_addr; - - pj_bzero(addr, addr_len); - addr->addr.sa_family = remote_addr->addr.sa_family; - - key_len = sizeof(key.type) + addr_len; - transport = (pjsip_transport*) - pj_hash_get(mgr->table, &key, key_len, NULL); - } - } - - if (transport!=NULL && !transport->is_shutdown) { - /* - * Transport found! - */ - pjsip_transport_add_ref(transport); - pj_lock_release(mgr->lock); - *tp = transport; - - TRACE_((THIS_FILE, "Transport %s acquired", transport->obj_name)); - return PJ_SUCCESS; - } - - /* - * Transport not found! - * Find factory that can create such transport. - */ - factory = mgr->factory_list.next; - while (factory != &mgr->factory_list) { - if (factory->type == type) - break; - factory = factory->next; - } - - if (factory == &mgr->factory_list) { - /* No factory can create the transport! */ - pj_lock_release(mgr->lock); - TRACE_((THIS_FILE, "No suitable factory was found either")); - return PJSIP_EUNSUPTRANSPORT; - } - } - - TRACE_((THIS_FILE, "Creating new transport from factory")); - - /* Request factory to create transport. */ - if (factory->create_transport2) { - status = factory->create_transport2(factory, mgr, mgr->endpt, - (const pj_sockaddr*) remote, - addr_len, tdata, tp); - } else { - status = factory->create_transport(factory, mgr, mgr->endpt, - (const pj_sockaddr*) remote, - addr_len, tp); - } - if (status == PJ_SUCCESS) { - PJ_ASSERT_ON_FAIL(tp!=NULL, - {pj_lock_release(mgr->lock); return PJ_EBUG;}); - pjsip_transport_add_ref(*tp); - } - pj_lock_release(mgr->lock); - return status; -} - -/** - * Dump transport info. - */ -PJ_DEF(void) pjsip_tpmgr_dump_transports(pjsip_tpmgr *mgr) -{ -#if PJ_LOG_MAX_LEVEL >= 3 - pj_hash_iterator_t itr_val; - pj_hash_iterator_t *itr; - pjsip_tpfactory *factory; - - pj_lock_acquire(mgr->lock); - -#if defined(PJ_DEBUG) && PJ_DEBUG!=0 - PJ_LOG(3,(THIS_FILE, " Outstanding transmit buffers: %d", - pj_atomic_get(mgr->tdata_counter))); -#endif - - PJ_LOG(3, (THIS_FILE, " Dumping listeners:")); - factory = mgr->factory_list.next; - while (factory != &mgr->factory_list) { - PJ_LOG(3, (THIS_FILE, " %s %s:%.*s:%d", - factory->obj_name, - factory->type_name, - (int)factory->addr_name.host.slen, - factory->addr_name.host.ptr, - (int)factory->addr_name.port)); - factory = factory->next; - } - - itr = pj_hash_first(mgr->table, &itr_val); - if (itr) { - PJ_LOG(3, (THIS_FILE, " Dumping transports:")); - - do { - pjsip_transport *t = (pjsip_transport*) - pj_hash_this(mgr->table, itr); - - PJ_LOG(3, (THIS_FILE, " %s %s (refcnt=%d%s)", - t->obj_name, - t->info, - pj_atomic_get(t->ref_cnt), - (t->idle_timer.id ? " [idle]" : ""))); - - itr = pj_hash_next(mgr->table, itr); - } while (itr); - } - - pj_lock_release(mgr->lock); -#else - PJ_UNUSED_ARG(mgr); -#endif -} - -/** - * Set callback of global transport state notification. - */ -PJ_DEF(pj_status_t) pjsip_tpmgr_set_state_cb(pjsip_tpmgr *mgr, - pjsip_tp_state_callback cb) -{ - PJ_ASSERT_RETURN(mgr, PJ_EINVAL); - - mgr->tp_state_cb = cb; - - return PJ_SUCCESS; -} - -/** - * Get callback of global transport state notification. - */ -PJ_DEF(pjsip_tp_state_callback) pjsip_tpmgr_get_state_cb( - const pjsip_tpmgr *mgr) -{ - PJ_ASSERT_RETURN(mgr, NULL); - - return mgr->tp_state_cb; -} - - -/** - * Allocate and init transport data. - */ -static void init_tp_data(pjsip_transport *tp) -{ - transport_data *tp_data; - - pj_assert(tp && !tp->data); - - tp_data = PJ_POOL_ZALLOC_T(tp->pool, transport_data); - pj_list_init(&tp_data->st_listeners); - pj_list_init(&tp_data->st_listeners_empty); - tp->data = tp_data; -} - - -static void tp_state_callback(pjsip_transport *tp, - pjsip_transport_state state, - const pjsip_transport_state_info *info) -{ - transport_data *tp_data; - - pj_lock_acquire(tp->lock); - - tp_data = (transport_data*)tp->data; - - /* Notify the transport state listeners, if any. */ - if (!tp_data || pj_list_empty(&tp_data->st_listeners)) { - goto on_return; - } else { - pjsip_transport_state_info st_info; - tp_state_listener *st_listener = tp_data->st_listeners.next; - - /* As we need to put the user data into the transport state info, - * let's use a copy of transport state info. - */ - pj_memcpy(&st_info, info, sizeof(st_info)); - while (st_listener != &tp_data->st_listeners) { - st_info.user_data = st_listener->user_data; - (*st_listener->cb)(tp, state, &st_info); - - st_listener = st_listener->next; - } - } - -on_return: - pj_lock_release(tp->lock); -} - - -/** - * Add a listener to the specified transport for transport state notification. - */ -PJ_DEF(pj_status_t) pjsip_transport_add_state_listener ( - pjsip_transport *tp, - pjsip_tp_state_callback cb, - void *user_data, - pjsip_tp_state_listener_key **key) -{ - transport_data *tp_data; - tp_state_listener *entry; - - PJ_ASSERT_RETURN(tp && cb && key, PJ_EINVAL); - - pj_lock_acquire(tp->lock); - - /* Init transport data, if it hasn't */ - if (!tp->data) - init_tp_data(tp); - - tp_data = (transport_data*)tp->data; - - /* Init the new listener entry. Use available empty slot, if any, - * otherwise allocate it using the transport pool. - */ - if (!pj_list_empty(&tp_data->st_listeners_empty)) { - entry = tp_data->st_listeners_empty.next; - pj_list_erase(entry); - } else { - entry = PJ_POOL_ZALLOC_T(tp->pool, tp_state_listener); - } - entry->cb = cb; - entry->user_data = user_data; - - /* Add the new listener entry to the listeners list */ - pj_list_push_back(&tp_data->st_listeners, entry); - - *key = entry; - - pj_lock_release(tp->lock); - - return PJ_SUCCESS; -} - -/** - * Remove a listener from the specified transport for transport state - * notification. - */ -PJ_DEF(pj_status_t) pjsip_transport_remove_state_listener ( - pjsip_transport *tp, - pjsip_tp_state_listener_key *key, - const void *user_data) -{ - transport_data *tp_data; - tp_state_listener *entry; - - PJ_ASSERT_RETURN(tp && key, PJ_EINVAL); - - pj_lock_acquire(tp->lock); - - tp_data = (transport_data*)tp->data; - - /* Transport data is NULL or no registered listener? */ - if (!tp_data || pj_list_empty(&tp_data->st_listeners)) { - pj_lock_release(tp->lock); - return PJ_ENOTFOUND; - } - - entry = (tp_state_listener*)key; - - /* Validate the user data */ - if (entry->user_data != user_data) { - pj_assert(!"Invalid transport state listener key"); - pj_lock_release(tp->lock); - return PJ_EBUG; - } - - /* Reset the entry and move it to the empty list */ - entry->cb = NULL; - entry->user_data = NULL; - pj_list_erase(entry); - pj_list_push_back(&tp_data->st_listeners_empty, entry); - - pj_lock_release(tp->lock); - - return PJ_SUCCESS; -} diff --git a/res/pjproject/pjsip/src/pjsip/sip_transport_loop.c b/res/pjproject/pjsip/src/pjsip/sip_transport_loop.c deleted file mode 100644 index a3347d650e..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_transport_loop.c +++ /dev/null @@ -1,509 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#define ADDR_LOOP "128.0.0.1" -#define ADDR_LOOP_DGRAM "129.0.0.1" - - -/** This structure describes incoming packet. */ -struct recv_list -{ - PJ_DECL_LIST_MEMBER(struct recv_list); - pjsip_rx_data rdata; -}; - -/** This structure is used to keep delayed send failure. */ -struct send_list -{ - PJ_DECL_LIST_MEMBER(struct send_list); - pj_time_val sent_time; - pj_ssize_t sent; - pjsip_tx_data *tdata; - void *token; - void (*callback)(pjsip_transport*, void*, pj_ssize_t); -}; - -/** This structure describes the loop transport. */ -struct loop_transport -{ - pjsip_transport base; - pj_pool_t *pool; - pj_thread_t *thread; - pj_bool_t thread_quit_flag; - pj_bool_t discard; - int fail_mode; - unsigned recv_delay; - unsigned send_delay; - struct recv_list recv_list; - struct send_list send_list; -}; - - -/* Helper function to create "incoming" packet */ -struct recv_list *create_incoming_packet( struct loop_transport *loop, - pjsip_tx_data *tdata ) -{ - pj_pool_t *pool; - struct recv_list *pkt; - - pool = pjsip_endpt_create_pool(loop->base.endpt, "rdata", - PJSIP_POOL_RDATA_LEN, - PJSIP_POOL_RDATA_INC+5); - if (!pool) - return NULL; - - pkt = PJ_POOL_ZALLOC_T(pool, struct recv_list); - - /* Initialize rdata. */ - pkt->rdata.tp_info.pool = pool; - pkt->rdata.tp_info.transport = &loop->base; - - /* Copy the packet. */ - pj_memcpy(pkt->rdata.pkt_info.packet, tdata->buf.start, - tdata->buf.cur - tdata->buf.start); - pkt->rdata.pkt_info.len = tdata->buf.cur - tdata->buf.start; - - /* the source address */ - pkt->rdata.pkt_info.src_addr.addr.sa_family = pj_AF_INET(); - - /* "Source address" info. */ - pkt->rdata.pkt_info.src_addr_len = sizeof(pj_sockaddr_in); - if (loop->base.key.type == PJSIP_TRANSPORT_LOOP) { - pj_ansi_strcpy(pkt->rdata.pkt_info.src_name, ADDR_LOOP); - } else { - pj_ansi_strcpy(pkt->rdata.pkt_info.src_name, ADDR_LOOP_DGRAM); - } - pkt->rdata.pkt_info.src_port = loop->base.local_name.port; - - /* When do we need to "deliver" this packet. */ - pj_gettimeofday(&pkt->rdata.pkt_info.timestamp); - pkt->rdata.pkt_info.timestamp.msec += loop->recv_delay; - pj_time_val_normalize(&pkt->rdata.pkt_info.timestamp); - - /* Done. */ - - return pkt; -} - - -/* Helper function to add pending notification callback. */ -static pj_status_t add_notification( struct loop_transport *loop, - pjsip_tx_data *tdata, - pj_ssize_t sent, - void *token, - void (*callback)(pjsip_transport*, - void*, pj_ssize_t)) -{ - struct send_list *sent_status; - - pjsip_tx_data_add_ref(tdata); - pj_lock_acquire(tdata->lock); - sent_status = PJ_POOL_ALLOC_T(tdata->pool, struct send_list); - pj_lock_release(tdata->lock); - - sent_status->sent = sent; - sent_status->tdata = tdata; - sent_status->token = token; - sent_status->callback = callback; - - pj_gettimeofday(&sent_status->sent_time); - sent_status->sent_time.msec += loop->send_delay; - pj_time_val_normalize(&sent_status->sent_time); - - pj_lock_acquire(loop->base.lock); - pj_list_push_back(&loop->send_list, sent_status); - pj_lock_release(loop->base.lock); - - return PJ_SUCCESS; -} - -/* Handler for sending outgoing message; called by transport manager. */ -static pj_status_t loop_send_msg( pjsip_transport *tp, - pjsip_tx_data *tdata, - const pj_sockaddr_t *rem_addr, - int addr_len, - void *token, - pjsip_transport_callback cb) -{ - struct loop_transport *loop = (struct loop_transport*)tp; - struct recv_list *recv_pkt; - - PJ_ASSERT_RETURN(tp && (tp->key.type == PJSIP_TRANSPORT_LOOP || - tp->key.type == PJSIP_TRANSPORT_LOOP_DGRAM), PJ_EINVAL); - - PJ_UNUSED_ARG(rem_addr); - PJ_UNUSED_ARG(addr_len); - - - /* Need to send failure? */ - if (loop->fail_mode) { - if (loop->send_delay == 0) { - return PJ_STATUS_FROM_OS(OSERR_ECONNRESET); - } else { - add_notification(loop, tdata, -PJ_STATUS_FROM_OS(OSERR_ECONNRESET), - token, cb); - - return PJ_EPENDING; - } - } - - /* Discard any packets? */ - if (loop->discard) - return PJ_SUCCESS; - - /* Create rdata for the "incoming" packet. */ - recv_pkt = create_incoming_packet(loop, tdata); - if (!recv_pkt) - return PJ_ENOMEM; - - /* If delay is not configured, deliver this packet now! */ - if (loop->recv_delay == 0) { - pj_ssize_t size_eaten; - - size_eaten = pjsip_tpmgr_receive_packet( loop->base.tpmgr, - &recv_pkt->rdata); - pj_assert(size_eaten == recv_pkt->rdata.pkt_info.len); - - pjsip_endpt_release_pool(loop->base.endpt, - recv_pkt->rdata.tp_info.pool); - - } else { - /* Otherwise if delay is configured, add the "packet" to the - * receive list to be processed by worker thread. - */ - pj_lock_acquire(loop->base.lock); - pj_list_push_back(&loop->recv_list, recv_pkt); - pj_lock_release(loop->base.lock); - } - - if (loop->send_delay != 0) { - add_notification(loop, tdata, tdata->buf.cur - tdata->buf.start, - token, cb); - return PJ_EPENDING; - } else { - return PJ_SUCCESS; - } -} - -/* Handler to destroy the transport; called by transport manager */ -static pj_status_t loop_destroy(pjsip_transport *tp) -{ - struct loop_transport *loop = (struct loop_transport*)tp; - - PJ_ASSERT_RETURN(tp && (tp->key.type == PJSIP_TRANSPORT_LOOP || - tp->key.type == PJSIP_TRANSPORT_LOOP_DGRAM), PJ_EINVAL); - - loop->thread_quit_flag = 1; - /* Unlock transport mutex before joining thread. */ - pj_lock_release(tp->lock); - pj_thread_join(loop->thread); - pj_thread_destroy(loop->thread); - - /* Clear pending send notifications. */ - while (!pj_list_empty(&loop->send_list)) { - struct send_list *node = loop->send_list.next; - /* Notify callback. */ - if (node->callback) { - (*node->callback)(&loop->base, node->token, -PJSIP_ESHUTDOWN); - } - pj_list_erase(node); - pjsip_tx_data_dec_ref(node->tdata); - } - - /* Clear "incoming" packets in the queue. */ - while (!pj_list_empty(&loop->recv_list)) { - struct recv_list *node = loop->recv_list.next; - pj_list_erase(node); - pjsip_endpt_release_pool(loop->base.endpt, - node->rdata.tp_info.pool); - } - - /* Self destruct.. heheh.. */ - pj_lock_destroy(loop->base.lock); - pj_atomic_destroy(loop->base.ref_cnt); - pjsip_endpt_release_pool(loop->base.endpt, loop->base.pool); - - return PJ_SUCCESS; -} - -/* Worker thread for loop transport. */ -static int loop_transport_worker_thread(void *arg) -{ - struct loop_transport *loop = (struct loop_transport*) arg; - struct recv_list r; - struct send_list s; - - pj_list_init(&r); - pj_list_init(&s); - - while (!loop->thread_quit_flag) { - pj_time_val now; - - pj_thread_sleep(1); - pj_gettimeofday(&now); - - pj_lock_acquire(loop->base.lock); - - /* Move expired send notification to local list. */ - while (!pj_list_empty(&loop->send_list)) { - struct send_list *node = loop->send_list.next; - - /* Break when next node time is greater than now. */ - if (PJ_TIME_VAL_GTE(node->sent_time, now)) - break; - - /* Delete this from the list. */ - pj_list_erase(node); - - /* Add to local list. */ - pj_list_push_back(&s, node); - } - - /* Move expired "incoming" packet to local list. */ - while (!pj_list_empty(&loop->recv_list)) { - struct recv_list *node = loop->recv_list.next; - - /* Break when next node time is greater than now. */ - if (PJ_TIME_VAL_GTE(node->rdata.pkt_info.timestamp, now)) - break; - - /* Delete this from the list. */ - pj_list_erase(node); - - /* Add to local list. */ - pj_list_push_back(&r, node); - - } - - pj_lock_release(loop->base.lock); - - /* Process send notification and incoming packet notification - * without holding down the loop's mutex. - */ - while (!pj_list_empty(&s)) { - struct send_list *node = s.next; - - pj_list_erase(node); - - /* Notify callback. */ - if (node->callback) { - (*node->callback)(&loop->base, node->token, node->sent); - } - - /* Decrement tdata reference counter. */ - pjsip_tx_data_dec_ref(node->tdata); - } - - /* Process "incoming" packet. */ - while (!pj_list_empty(&r)) { - struct recv_list *node = r.next; - pj_ssize_t size_eaten; - - pj_list_erase(node); - - /* Notify transport manager about the "incoming packet" */ - size_eaten = pjsip_tpmgr_receive_packet(loop->base.tpmgr, - &node->rdata); - - /* Must "eat" all the packets. */ - pj_assert(size_eaten == node->rdata.pkt_info.len); - - /* Done. */ - pjsip_endpt_release_pool(loop->base.endpt, - node->rdata.tp_info.pool); - } - } - - return 0; -} - - -/* Start loop transport. */ -PJ_DEF(pj_status_t) pjsip_loop_start( pjsip_endpoint *endpt, - pjsip_transport **transport) -{ - pj_pool_t *pool; - struct loop_transport *loop; - pj_status_t status; - - /* Create pool. */ - pool = pjsip_endpt_create_pool(endpt, "loop", 4000, 4000); - if (!pool) - return PJ_ENOMEM; - - /* Create the loop structure. */ - loop = PJ_POOL_ZALLOC_T(pool, struct loop_transport); - - /* Initialize transport properties. */ - pj_ansi_snprintf(loop->base.obj_name, sizeof(loop->base.obj_name), - "loop%p", loop); - loop->base.pool = pool; - status = pj_atomic_create(pool, 0, &loop->base.ref_cnt); - if (status != PJ_SUCCESS) - goto on_error; - status = pj_lock_create_recursive_mutex(pool, "loop", &loop->base.lock); - if (status != PJ_SUCCESS) - goto on_error; - loop->base.key.type = PJSIP_TRANSPORT_LOOP_DGRAM; - //loop->base.key.rem_addr.sa_family = pj_AF_INET(); - loop->base.type_name = "LOOP-DGRAM"; - loop->base.info = "LOOP-DGRAM"; - loop->base.flag = PJSIP_TRANSPORT_DATAGRAM; - loop->base.local_name.host = pj_str(ADDR_LOOP_DGRAM); - loop->base.local_name.port = - pjsip_transport_get_default_port_for_type((pjsip_transport_type_e) - loop->base.key.type); - loop->base.addr_len = sizeof(pj_sockaddr_in); - loop->base.dir = PJSIP_TP_DIR_NONE; - loop->base.endpt = endpt; - loop->base.tpmgr = pjsip_endpt_get_tpmgr(endpt); - loop->base.send_msg = &loop_send_msg; - loop->base.destroy = &loop_destroy; - - pj_list_init(&loop->recv_list); - pj_list_init(&loop->send_list); - - /* Create worker thread. */ - status = pj_thread_create(pool, "loop", - &loop_transport_worker_thread, loop, 0, - PJ_THREAD_SUSPENDED, &loop->thread); - if (status != PJ_SUCCESS) - goto on_error; - - /* Register to transport manager. */ - status = pjsip_transport_register( loop->base.tpmgr, &loop->base); - if (status != PJ_SUCCESS) - goto on_error; - - /* Start the thread. */ - status = pj_thread_resume(loop->thread); - if (status != PJ_SUCCESS) - goto on_error; - - /* - * Done. - */ - - if (transport) - *transport = &loop->base; - - return PJ_SUCCESS; - -on_error: - if (loop->base.lock) - pj_lock_destroy(loop->base.lock); - if (loop->thread) - pj_thread_destroy(loop->thread); - if (loop->base.ref_cnt) - pj_atomic_destroy(loop->base.ref_cnt); - pjsip_endpt_release_pool(endpt, loop->pool); - return status; -} - - -PJ_DEF(pj_status_t) pjsip_loop_set_discard( pjsip_transport *tp, - pj_bool_t discard, - pj_bool_t *prev_value ) -{ - struct loop_transport *loop = (struct loop_transport*)tp; - - PJ_ASSERT_RETURN(tp && (tp->key.type == PJSIP_TRANSPORT_LOOP || - tp->key.type == PJSIP_TRANSPORT_LOOP_DGRAM), PJ_EINVAL); - - if (prev_value) - *prev_value = loop->discard; - loop->discard = discard; - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjsip_loop_set_failure( pjsip_transport *tp, - int fail_flag, - int *prev_value ) -{ - struct loop_transport *loop = (struct loop_transport*)tp; - - PJ_ASSERT_RETURN(tp && (tp->key.type == PJSIP_TRANSPORT_LOOP || - tp->key.type == PJSIP_TRANSPORT_LOOP_DGRAM), PJ_EINVAL); - - if (prev_value) - *prev_value = loop->fail_mode; - loop->fail_mode = fail_flag; - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjsip_loop_set_recv_delay( pjsip_transport *tp, - unsigned delay, - unsigned *prev_value) -{ - struct loop_transport *loop = (struct loop_transport*)tp; - - PJ_ASSERT_RETURN(tp && (tp->key.type == PJSIP_TRANSPORT_LOOP || - tp->key.type == PJSIP_TRANSPORT_LOOP_DGRAM), PJ_EINVAL); - - if (prev_value) - *prev_value = loop->recv_delay; - loop->recv_delay = delay; - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjsip_loop_set_send_callback_delay( pjsip_transport *tp, - unsigned delay, - unsigned *prev_value) -{ - struct loop_transport *loop = (struct loop_transport*)tp; - - PJ_ASSERT_RETURN(tp && (tp->key.type == PJSIP_TRANSPORT_LOOP || - tp->key.type == PJSIP_TRANSPORT_LOOP_DGRAM), PJ_EINVAL); - - if (prev_value) - *prev_value = loop->send_delay; - loop->send_delay = delay; - - return PJ_SUCCESS; -} - -PJ_DEF(pj_status_t) pjsip_loop_set_delay( pjsip_transport *tp, unsigned delay ) -{ - struct loop_transport *loop = (struct loop_transport*)tp; - - PJ_ASSERT_RETURN(tp && (tp->key.type == PJSIP_TRANSPORT_LOOP || - tp->key.type == PJSIP_TRANSPORT_LOOP_DGRAM), PJ_EINVAL); - - loop->recv_delay = delay; - loop->send_delay = delay; - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjsip/src/pjsip/sip_transport_tcp.c b/res/pjproject/pjsip/src/pjsip/sip_transport_tcp.c deleted file mode 100644 index 7c17742841..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_transport_tcp.c +++ /dev/null @@ -1,1417 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* Only declare the API if PJ_HAS_TCP is true */ -#if defined(PJ_HAS_TCP) && PJ_HAS_TCP!=0 - - -#define THIS_FILE "sip_transport_tcp.c" - -#define MAX_ASYNC_CNT 16 -#define POOL_LIS_INIT 512 -#define POOL_LIS_INC 512 -#define POOL_TP_INIT 512 -#define POOL_TP_INC 512 - -struct tcp_listener; -struct tcp_transport; - - -/* - * This is the TCP listener, which is a "descendant" of pjsip_tpfactory (the - * SIP transport factory). - */ -struct tcp_listener -{ - pjsip_tpfactory factory; - pj_bool_t is_registered; - pjsip_endpoint *endpt; - pjsip_tpmgr *tpmgr; - pj_activesock_t *asock; - pj_qos_type qos_type; - pj_qos_params qos_params; -}; - - -/* - * This structure is used to keep delayed transmit operation in a list. - * A delayed transmission occurs when application sends tx_data when - * the TCP connect/establishment is still in progress. These delayed - * transmission will be "flushed" once the socket is connected (either - * successfully or with errors). - */ -struct delayed_tdata -{ - PJ_DECL_LIST_MEMBER(struct delayed_tdata); - pjsip_tx_data_op_key *tdata_op_key; -}; - - -/* - * This structure describes the TCP transport, and it's descendant of - * pjsip_transport. - */ -struct tcp_transport -{ - pjsip_transport base; - pj_bool_t is_server; - - /* Do not save listener instance in the transport, because - * listener might be destroyed during transport's lifetime. - * See http://trac.pjsip.org/repos/ticket/491 - struct tcp_listener *listener; - */ - - pj_bool_t is_registered; - pj_bool_t is_closing; - pj_status_t close_reason; - pj_sock_t sock; - pj_activesock_t *asock; - pj_bool_t has_pending_connect; - - /* Keep-alive timer. */ - pj_timer_entry ka_timer; - pj_time_val last_activity; - pjsip_tx_data_op_key ka_op_key; - pj_str_t ka_pkt; - - /* TCP transport can only have one rdata! - * Otherwise chunks of incoming PDU may be received on different - * buffer. - */ - pjsip_rx_data rdata; - - /* Pending transmission list. */ - struct delayed_tdata delayed_list; -}; - - -/**************************************************************************** - * PROTOTYPES - */ - -/* This callback is called when pending accept() operation completes. */ -static pj_bool_t on_accept_complete(pj_activesock_t *asock, - pj_sock_t newsock, - const pj_sockaddr_t *src_addr, - int src_addr_len); - -/* This callback is called by transport manager to destroy listener */ -static pj_status_t lis_destroy(pjsip_tpfactory *factory); - -/* This callback is called by transport manager to create transport */ -static pj_status_t lis_create_transport(pjsip_tpfactory *factory, - pjsip_tpmgr *mgr, - pjsip_endpoint *endpt, - const pj_sockaddr *rem_addr, - int addr_len, - pjsip_transport **transport); - -/* Common function to create and initialize transport */ -static pj_status_t tcp_create(struct tcp_listener *listener, - pj_pool_t *pool, - pj_sock_t sock, pj_bool_t is_server, - const pj_sockaddr_in *local, - const pj_sockaddr_in *remote, - struct tcp_transport **p_tcp); - - -static void tcp_perror(const char *sender, const char *title, - pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - - PJ_LOG(1,(sender, "%s: %s [code=%d]", title, errmsg, status)); -} - - -static void sockaddr_to_host_port( pj_pool_t *pool, - pjsip_host_port *host_port, - const pj_sockaddr_in *addr ) -{ - host_port->host.ptr = (char*) pj_pool_alloc(pool, PJ_INET6_ADDRSTRLEN+4); - pj_sockaddr_print(addr, host_port->host.ptr, PJ_INET6_ADDRSTRLEN+4, 2); - host_port->host.slen = pj_ansi_strlen(host_port->host.ptr); - host_port->port = pj_sockaddr_get_port(addr); -} - - -static void tcp_init_shutdown(struct tcp_transport *tcp, pj_status_t status) -{ - pjsip_tp_state_callback state_cb; - - if (tcp->close_reason == PJ_SUCCESS) - tcp->close_reason = status; - - if (tcp->base.is_shutdown) - return; - - /* Prevent immediate transport destroy by application, as transport - * state notification callback may be stacked and transport instance - * must remain valid at any point in the callback. - */ - pjsip_transport_add_ref(&tcp->base); - - /* Notify application of transport disconnected state */ - state_cb = pjsip_tpmgr_get_state_cb(tcp->base.tpmgr); - if (state_cb) { - pjsip_transport_state_info state_info; - - pj_bzero(&state_info, sizeof(state_info)); - state_info.status = tcp->close_reason; - (*state_cb)(&tcp->base, PJSIP_TP_STATE_DISCONNECTED, &state_info); - } - - /* We can not destroy the transport since high level objects may - * still keep reference to this transport. So we can only - * instruct transport manager to gracefully start the shutdown - * procedure for this transport. - */ - pjsip_transport_shutdown(&tcp->base); - - /* Now, it is ok to destroy the transport. */ - pjsip_transport_dec_ref(&tcp->base); -} - - -/* - * Initialize pjsip_tcp_transport_cfg structure with default values. - */ -PJ_DEF(void) pjsip_tcp_transport_cfg_default(pjsip_tcp_transport_cfg *cfg, - int af) -{ - pj_bzero(cfg, sizeof(*cfg)); - cfg->af = af; - pj_sockaddr_init(cfg->af, &cfg->bind_addr, NULL, 0); - cfg->async_cnt = 1; -} - - -/**************************************************************************** - * The TCP listener/transport factory. - */ - -/* - * This is the public API to create, initialize, register, and start the - * TCP listener. - */ -PJ_DEF(pj_status_t) pjsip_tcp_transport_start3( - pjsip_endpoint *endpt, - const pjsip_tcp_transport_cfg *cfg, - pjsip_tpfactory **p_factory - ) -{ - pj_pool_t *pool; - pj_sock_t sock = PJ_INVALID_SOCKET; - struct tcp_listener *listener; - pj_activesock_cfg asock_cfg; - pj_activesock_cb listener_cb; - pj_sockaddr *listener_addr; - int addr_len; - pj_status_t status; - - /* Sanity check */ - PJ_ASSERT_RETURN(endpt && cfg->async_cnt, PJ_EINVAL); - - /* Verify that address given in a_name (if any) is valid */ - if (cfg->addr_name.host.slen) { - pj_sockaddr tmp; - - status = pj_sockaddr_init(cfg->af, &tmp, &cfg->addr_name.host, - (pj_uint16_t)cfg->addr_name.port); - if (status != PJ_SUCCESS || !pj_sockaddr_has_addr(&tmp) || - (cfg->af==pj_AF_INET() && - tmp.ipv4.sin_addr.s_addr==PJ_INADDR_NONE)) - { - /* Invalid address */ - return PJ_EINVAL; - } - } - - pool = pjsip_endpt_create_pool(endpt, "tcplis", POOL_LIS_INIT, - POOL_LIS_INC); - PJ_ASSERT_RETURN(pool, PJ_ENOMEM); - - - listener = PJ_POOL_ZALLOC_T(pool, struct tcp_listener); - listener->factory.pool = pool; - listener->factory.type = PJSIP_TRANSPORT_TCP; - listener->factory.type_name = "tcp"; - listener->factory.flag = - pjsip_transport_get_flag_from_type(PJSIP_TRANSPORT_TCP); - listener->qos_type = cfg->qos_type; - pj_memcpy(&listener->qos_params, &cfg->qos_params, - sizeof(cfg->qos_params)); - - pj_ansi_strcpy(listener->factory.obj_name, "tcplis"); - - status = pj_lock_create_recursive_mutex(pool, "tcplis", - &listener->factory.lock); - if (status != PJ_SUCCESS) - goto on_error; - - - /* Create socket */ - status = pj_sock_socket(cfg->af, pj_SOCK_STREAM(), 0, &sock); - if (status != PJ_SUCCESS) - goto on_error; - - /* Apply QoS, if specified */ - status = pj_sock_apply_qos2(sock, cfg->qos_type, &cfg->qos_params, - 2, listener->factory.obj_name, - "SIP TCP listener socket"); - - /* Bind socket */ - listener_addr = &listener->factory.local_addr; - pj_sockaddr_cp(listener_addr, &cfg->bind_addr); - - status = pj_sock_bind(sock, listener_addr, - pj_sockaddr_get_len(listener_addr)); - if (status != PJ_SUCCESS) - goto on_error; - - /* Retrieve the bound address */ - addr_len = pj_sockaddr_get_len(listener_addr); - status = pj_sock_getsockname(sock, listener_addr, &addr_len); - if (status != PJ_SUCCESS) - goto on_error; - - /* If published host/IP is specified, then use that address as the - * listener advertised address. - */ - if (cfg->addr_name.host.slen) { - /* Copy the address */ - listener->factory.addr_name = cfg->addr_name; - pj_strdup(listener->factory.pool, &listener->factory.addr_name.host, - &cfg->addr_name.host); - listener->factory.addr_name.port = cfg->addr_name.port; - - } else { - /* No published address is given, use the bound address */ - - /* If the address returns 0.0.0.0, use the default - * interface address as the transport's address. - */ - if (!pj_sockaddr_has_addr(listener_addr)) { - pj_sockaddr hostip; - - status = pj_gethostip(pj_AF_INET(), &hostip); - if (status != PJ_SUCCESS) - goto on_error; - - pj_memcpy(pj_sockaddr_get_addr(listener_addr), - pj_sockaddr_get_addr(&hostip), - pj_sockaddr_get_addr_len(&hostip)); - } - - /* Save the address name */ - sockaddr_to_host_port(listener->factory.pool, - &listener->factory.addr_name, - (pj_sockaddr_in*)listener_addr); - } - - /* If port is zero, get the bound port */ - if (listener->factory.addr_name.port == 0) { - listener->factory.addr_name.port = pj_sockaddr_get_port(listener_addr); - } - - pj_ansi_snprintf(listener->factory.obj_name, - sizeof(listener->factory.obj_name), - "tcplis:%d", listener->factory.addr_name.port); - - - /* Start listening to the address */ - status = pj_sock_listen(sock, PJSIP_TCP_TRANSPORT_BACKLOG); - if (status != PJ_SUCCESS) - goto on_error; - - - /* Create active socket */ - pj_activesock_cfg_default(&asock_cfg); - if (cfg->async_cnt > MAX_ASYNC_CNT) - asock_cfg.async_cnt = MAX_ASYNC_CNT; - else - asock_cfg.async_cnt = cfg->async_cnt; - - pj_bzero(&listener_cb, sizeof(listener_cb)); - listener_cb.on_accept_complete = &on_accept_complete; - status = pj_activesock_create(pool, sock, pj_SOCK_STREAM(), &asock_cfg, - pjsip_endpt_get_ioqueue(endpt), - &listener_cb, listener, - &listener->asock); - - /* Register to transport manager */ - listener->endpt = endpt; - listener->tpmgr = pjsip_endpt_get_tpmgr(endpt); - listener->factory.create_transport = lis_create_transport; - listener->factory.destroy = lis_destroy; - listener->is_registered = PJ_TRUE; - status = pjsip_tpmgr_register_tpfactory(listener->tpmgr, - &listener->factory); - if (status != PJ_SUCCESS) { - listener->is_registered = PJ_FALSE; - goto on_error; - } - - /* Start pending accept() operations */ - status = pj_activesock_start_accept(listener->asock, pool); - if (status != PJ_SUCCESS) - goto on_error; - - PJ_LOG(4,(listener->factory.obj_name, - "SIP TCP listener ready for incoming connections at %.*s:%d", - (int)listener->factory.addr_name.host.slen, - listener->factory.addr_name.host.ptr, - listener->factory.addr_name.port)); - - /* Return the pointer to user */ - if (p_factory) *p_factory = &listener->factory; - - return PJ_SUCCESS; - -on_error: - if (listener->asock==NULL && sock!=PJ_INVALID_SOCKET) - pj_sock_close(sock); - lis_destroy(&listener->factory); - return status; -} - - -/* - * This is the public API to create, initialize, register, and start the - * TCP listener. - */ -PJ_DEF(pj_status_t) pjsip_tcp_transport_start2(pjsip_endpoint *endpt, - const pj_sockaddr_in *local, - const pjsip_host_port *a_name, - unsigned async_cnt, - pjsip_tpfactory **p_factory) -{ - pjsip_tcp_transport_cfg cfg; - - pjsip_tcp_transport_cfg_default(&cfg, pj_AF_INET()); - - if (local) - pj_sockaddr_cp(&cfg.bind_addr, local); - else - pj_sockaddr_init(cfg.af, &cfg.bind_addr, NULL, 0); - - if (a_name) - pj_memcpy(&cfg.addr_name, a_name, sizeof(*a_name)); - - if (async_cnt) - cfg.async_cnt = async_cnt; - - return pjsip_tcp_transport_start3(endpt, &cfg, p_factory); -} - - -/* - * This is the public API to create, initialize, register, and start the - * TCP listener. - */ -PJ_DEF(pj_status_t) pjsip_tcp_transport_start( pjsip_endpoint *endpt, - const pj_sockaddr_in *local, - unsigned async_cnt, - pjsip_tpfactory **p_factory) -{ - return pjsip_tcp_transport_start2(endpt, local, NULL, async_cnt, p_factory); -} - - -/* This callback is called by transport manager to destroy listener */ -static pj_status_t lis_destroy(pjsip_tpfactory *factory) -{ - struct tcp_listener *listener = (struct tcp_listener *)factory; - - if (listener->is_registered) { - pjsip_tpmgr_unregister_tpfactory(listener->tpmgr, &listener->factory); - listener->is_registered = PJ_FALSE; - } - - if (listener->asock) { - pj_activesock_close(listener->asock); - listener->asock = NULL; - } - - if (listener->factory.lock) { - pj_lock_destroy(listener->factory.lock); - listener->factory.lock = NULL; - } - - if (listener->factory.pool) { - pj_pool_t *pool = listener->factory.pool; - - PJ_LOG(4,(listener->factory.obj_name, "SIP TCP listener destroyed")); - - listener->factory.pool = NULL; - pj_pool_release(pool); - } - - return PJ_SUCCESS; -} - - -/***************************************************************************/ -/* - * TCP Transport - */ - -/* - * Prototypes. - */ -/* Called by transport manager to send message */ -static pj_status_t tcp_send_msg(pjsip_transport *transport, - pjsip_tx_data *tdata, - const pj_sockaddr_t *rem_addr, - int addr_len, - void *token, - pjsip_transport_callback callback); - -/* Called by transport manager to shutdown */ -static pj_status_t tcp_shutdown(pjsip_transport *transport); - -/* Called by transport manager to destroy transport */ -static pj_status_t tcp_destroy_transport(pjsip_transport *transport); - -/* Utility to destroy transport */ -static pj_status_t tcp_destroy(pjsip_transport *transport, - pj_status_t reason); - -/* Callback on incoming data */ -static pj_bool_t on_data_read(pj_activesock_t *asock, - void *data, - pj_size_t size, - pj_status_t status, - pj_size_t *remainder); - -/* Callback when packet is sent */ -static pj_bool_t on_data_sent(pj_activesock_t *asock, - pj_ioqueue_op_key_t *send_key, - pj_ssize_t sent); - -/* Callback when connect completes */ -static pj_bool_t on_connect_complete(pj_activesock_t *asock, - pj_status_t status); - -/* TCP keep-alive timer callback */ -static void tcp_keep_alive_timer(pj_timer_heap_t *th, pj_timer_entry *e); - -/* - * Common function to create TCP transport, called when pending accept() and - * pending connect() complete. - */ -static pj_status_t tcp_create( struct tcp_listener *listener, - pj_pool_t *pool, - pj_sock_t sock, pj_bool_t is_server, - const pj_sockaddr_in *local, - const pj_sockaddr_in *remote, - struct tcp_transport **p_tcp) -{ - struct tcp_transport *tcp; - pj_ioqueue_t *ioqueue; - pj_activesock_cfg asock_cfg; - pj_activesock_cb tcp_callback; - const pj_str_t ka_pkt = PJSIP_TCP_KEEP_ALIVE_DATA; - pj_status_t status; - - - PJ_ASSERT_RETURN(sock != PJ_INVALID_SOCKET, PJ_EINVAL); - - - if (pool == NULL) { - pool = pjsip_endpt_create_pool(listener->endpt, "tcp", - POOL_TP_INIT, POOL_TP_INC); - PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); - } - - /* - * Create and initialize basic transport structure. - */ - tcp = PJ_POOL_ZALLOC_T(pool, struct tcp_transport); - tcp->is_server = is_server; - tcp->sock = sock; - /*tcp->listener = listener;*/ - pj_list_init(&tcp->delayed_list); - tcp->base.pool = pool; - - pj_ansi_snprintf(tcp->base.obj_name, PJ_MAX_OBJ_NAME, - (is_server ? "tcps%p" :"tcpc%p"), tcp); - - status = pj_atomic_create(pool, 0, &tcp->base.ref_cnt); - if (status != PJ_SUCCESS) { - goto on_error; - } - - status = pj_lock_create_recursive_mutex(pool, "tcp", &tcp->base.lock); - if (status != PJ_SUCCESS) { - goto on_error; - } - - tcp->base.key.type = PJSIP_TRANSPORT_TCP; - pj_memcpy(&tcp->base.key.rem_addr, remote, sizeof(pj_sockaddr_in)); - tcp->base.type_name = "tcp"; - tcp->base.flag = pjsip_transport_get_flag_from_type(PJSIP_TRANSPORT_TCP); - - tcp->base.info = (char*) pj_pool_alloc(pool, 64); - pj_ansi_snprintf(tcp->base.info, 64, "TCP to %s:%d", - pj_inet_ntoa(remote->sin_addr), - (int)pj_ntohs(remote->sin_port)); - - tcp->base.addr_len = sizeof(pj_sockaddr_in); - pj_memcpy(&tcp->base.local_addr, local, sizeof(pj_sockaddr_in)); - sockaddr_to_host_port(pool, &tcp->base.local_name, local); - sockaddr_to_host_port(pool, &tcp->base.remote_name, remote); - tcp->base.dir = is_server? PJSIP_TP_DIR_INCOMING : PJSIP_TP_DIR_OUTGOING; - - tcp->base.endpt = listener->endpt; - tcp->base.tpmgr = listener->tpmgr; - tcp->base.send_msg = &tcp_send_msg; - tcp->base.do_shutdown = &tcp_shutdown; - tcp->base.destroy = &tcp_destroy_transport; - - - /* Create active socket */ - pj_activesock_cfg_default(&asock_cfg); - asock_cfg.async_cnt = 1; - - pj_bzero(&tcp_callback, sizeof(tcp_callback)); - tcp_callback.on_data_read = &on_data_read; - tcp_callback.on_data_sent = &on_data_sent; - tcp_callback.on_connect_complete = &on_connect_complete; - - ioqueue = pjsip_endpt_get_ioqueue(listener->endpt); - status = pj_activesock_create(pool, sock, pj_SOCK_STREAM(), &asock_cfg, - ioqueue, &tcp_callback, tcp, &tcp->asock); - if (status != PJ_SUCCESS) { - goto on_error; - } - - /* Register transport to transport manager */ - status = pjsip_transport_register(listener->tpmgr, &tcp->base); - if (status != PJ_SUCCESS) { - goto on_error; - } - - tcp->is_registered = PJ_TRUE; - - /* Initialize keep-alive timer */ - tcp->ka_timer.user_data = (void*)tcp; - tcp->ka_timer.cb = &tcp_keep_alive_timer; - pj_ioqueue_op_key_init(&tcp->ka_op_key.key, sizeof(pj_ioqueue_op_key_t)); - pj_strdup(tcp->base.pool, &tcp->ka_pkt, &ka_pkt); - - /* Done setting up basic transport. */ - *p_tcp = tcp; - - PJ_LOG(4,(tcp->base.obj_name, "TCP %s transport created", - (tcp->is_server ? "server" : "client"))); - - return PJ_SUCCESS; - -on_error: - tcp_destroy(&tcp->base, status); - return status; -} - - -/* Flush all delayed transmision once the socket is connected. */ -static void tcp_flush_pending_tx(struct tcp_transport *tcp) -{ - pj_lock_acquire(tcp->base.lock); - while (!pj_list_empty(&tcp->delayed_list)) { - struct delayed_tdata *pending_tx; - pjsip_tx_data *tdata; - pj_ioqueue_op_key_t *op_key; - pj_ssize_t size; - pj_status_t status; - - pending_tx = tcp->delayed_list.next; - pj_list_erase(pending_tx); - - tdata = pending_tx->tdata_op_key->tdata; - op_key = (pj_ioqueue_op_key_t*)pending_tx->tdata_op_key; - - /* send! */ - size = tdata->buf.cur - tdata->buf.start; - status = pj_activesock_send(tcp->asock, op_key, tdata->buf.start, - &size, 0); - if (status != PJ_EPENDING) { - on_data_sent(tcp->asock, op_key, size); - } - - } - pj_lock_release(tcp->base.lock); -} - - -/* Called by transport manager to destroy transport */ -static pj_status_t tcp_destroy_transport(pjsip_transport *transport) -{ - struct tcp_transport *tcp = (struct tcp_transport*)transport; - - /* Transport would have been unregistered by now since this callback - * is called by transport manager. - */ - tcp->is_registered = PJ_FALSE; - - return tcp_destroy(transport, tcp->close_reason); -} - - -/* Destroy TCP transport */ -static pj_status_t tcp_destroy(pjsip_transport *transport, - pj_status_t reason) -{ - struct tcp_transport *tcp = (struct tcp_transport*)transport; - - if (tcp->close_reason == 0) - tcp->close_reason = reason; - - if (tcp->is_registered) { - tcp->is_registered = PJ_FALSE; - pjsip_transport_destroy(transport); - - /* pjsip_transport_destroy will recursively call this function - * again. - */ - return PJ_SUCCESS; - } - - /* Mark transport as closing */ - tcp->is_closing = PJ_TRUE; - - /* Stop keep-alive timer. */ - if (tcp->ka_timer.id) { - pjsip_endpt_cancel_timer(tcp->base.endpt, &tcp->ka_timer); - tcp->ka_timer.id = PJ_FALSE; - } - - /* Cancel all delayed transmits */ - while (!pj_list_empty(&tcp->delayed_list)) { - struct delayed_tdata *pending_tx; - pj_ioqueue_op_key_t *op_key; - - pending_tx = tcp->delayed_list.next; - pj_list_erase(pending_tx); - - op_key = (pj_ioqueue_op_key_t*)pending_tx->tdata_op_key; - - on_data_sent(tcp->asock, op_key, -reason); - } - - if (tcp->rdata.tp_info.pool) { - pj_pool_release(tcp->rdata.tp_info.pool); - tcp->rdata.tp_info.pool = NULL; - } - - if (tcp->asock) { - pj_activesock_close(tcp->asock); - tcp->asock = NULL; - tcp->sock = PJ_INVALID_SOCKET; - } else if (tcp->sock != PJ_INVALID_SOCKET) { - pj_sock_close(tcp->sock); - tcp->sock = PJ_INVALID_SOCKET; - } - - if (tcp->base.lock) { - pj_lock_destroy(tcp->base.lock); - tcp->base.lock = NULL; - } - - if (tcp->base.ref_cnt) { - pj_atomic_destroy(tcp->base.ref_cnt); - tcp->base.ref_cnt = NULL; - } - - if (tcp->base.pool) { - pj_pool_t *pool; - - if (reason != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(reason, errmsg, sizeof(errmsg)); - PJ_LOG(4,(tcp->base.obj_name, - "TCP transport destroyed with reason %d: %s", - reason, errmsg)); - - } else { - - PJ_LOG(4,(tcp->base.obj_name, - "TCP transport destroyed normally")); - - } - - pool = tcp->base.pool; - tcp->base.pool = NULL; - pj_pool_release(pool); - } - - return PJ_SUCCESS; -} - - -/* - * This utility function creates receive data buffers and start - * asynchronous recv() operations from the socket. It is called after - * accept() or connect() operation complete. - */ -static pj_status_t tcp_start_read(struct tcp_transport *tcp) -{ - pj_pool_t *pool; - pj_ssize_t size; - pj_sockaddr_in *rem_addr; - void *readbuf[1]; - pj_status_t status; - - /* Init rdata */ - pool = pjsip_endpt_create_pool(tcp->base.endpt, - "rtd%p", - PJSIP_POOL_RDATA_LEN, - PJSIP_POOL_RDATA_INC); - if (!pool) { - tcp_perror(tcp->base.obj_name, "Unable to create pool", PJ_ENOMEM); - return PJ_ENOMEM; - } - - tcp->rdata.tp_info.pool = pool; - - tcp->rdata.tp_info.transport = &tcp->base; - tcp->rdata.tp_info.tp_data = tcp; - tcp->rdata.tp_info.op_key.rdata = &tcp->rdata; - pj_ioqueue_op_key_init(&tcp->rdata.tp_info.op_key.op_key, - sizeof(pj_ioqueue_op_key_t)); - - tcp->rdata.pkt_info.src_addr = tcp->base.key.rem_addr; - tcp->rdata.pkt_info.src_addr_len = sizeof(pj_sockaddr_in); - rem_addr = (pj_sockaddr_in*) &tcp->base.key.rem_addr; - pj_ansi_strcpy(tcp->rdata.pkt_info.src_name, - pj_inet_ntoa(rem_addr->sin_addr)); - tcp->rdata.pkt_info.src_port = pj_ntohs(rem_addr->sin_port); - - size = sizeof(tcp->rdata.pkt_info.packet); - readbuf[0] = tcp->rdata.pkt_info.packet; - status = pj_activesock_start_read2(tcp->asock, tcp->base.pool, size, - readbuf, 0); - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - PJ_LOG(4, (tcp->base.obj_name, - "pj_activesock_start_read() error, status=%d", - status)); - return status; - } - - return PJ_SUCCESS; -} - - -/* This callback is called by transport manager for the TCP factory - * to create outgoing transport to the specified destination. - */ -static pj_status_t lis_create_transport(pjsip_tpfactory *factory, - pjsip_tpmgr *mgr, - pjsip_endpoint *endpt, - const pj_sockaddr *rem_addr, - int addr_len, - pjsip_transport **p_transport) -{ - struct tcp_listener *listener; - struct tcp_transport *tcp; - pj_sock_t sock; - pj_sockaddr_in local_addr; - pj_status_t status; - - /* Sanity checks */ - PJ_ASSERT_RETURN(factory && mgr && endpt && rem_addr && - addr_len && p_transport, PJ_EINVAL); - - /* Check that address is a sockaddr_in */ - PJ_ASSERT_RETURN(rem_addr->addr.sa_family == pj_AF_INET() && - addr_len == sizeof(pj_sockaddr_in), PJ_EINVAL); - - - listener = (struct tcp_listener*)factory; - - - /* Create socket */ - status = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, &sock); - if (status != PJ_SUCCESS) - return status; - - /* Apply QoS, if specified */ - status = pj_sock_apply_qos2(sock, listener->qos_type, - &listener->qos_params, - 2, listener->factory.obj_name, - "outgoing SIP TCP socket"); - - /* Bind to any port */ - status = pj_sock_bind_in(sock, 0, 0); - if (status != PJ_SUCCESS) { - pj_sock_close(sock); - return status; - } - - /* Get the local port */ - addr_len = sizeof(pj_sockaddr_in); - status = pj_sock_getsockname(sock, &local_addr, &addr_len); - if (status != PJ_SUCCESS) { - pj_sock_close(sock); - return status; - } - - /* Initially set the address from the listener's address */ - local_addr.sin_addr.s_addr = - ((pj_sockaddr_in*)&listener->factory.local_addr)->sin_addr.s_addr; - - /* Create the transport descriptor */ - status = tcp_create(listener, NULL, sock, PJ_FALSE, &local_addr, - (pj_sockaddr_in*)rem_addr, &tcp); - if (status != PJ_SUCCESS) - return status; - - - /* Start asynchronous connect() operation */ - tcp->has_pending_connect = PJ_TRUE; - status = pj_activesock_start_connect(tcp->asock, tcp->base.pool, rem_addr, - sizeof(pj_sockaddr_in)); - if (status == PJ_SUCCESS) { - on_connect_complete(tcp->asock, PJ_SUCCESS); - } else if (status != PJ_EPENDING) { - tcp_destroy(&tcp->base, status); - return status; - } - - if (tcp->has_pending_connect) { - /* Update (again) local address, just in case local address currently - * set is different now that asynchronous connect() is started. - */ - addr_len = sizeof(pj_sockaddr_in); - if (pj_sock_getsockname(sock, &local_addr, &addr_len)==PJ_SUCCESS) { - pj_sockaddr_in *tp_addr = (pj_sockaddr_in*)&tcp->base.local_addr; - - /* Some systems (like old Win32 perhaps) may not set local address - * properly before socket is fully connected. - */ - if (tp_addr->sin_addr.s_addr != local_addr.sin_addr.s_addr && - local_addr.sin_addr.s_addr != 0) - { - tp_addr->sin_addr.s_addr = local_addr.sin_addr.s_addr; - tp_addr->sin_port = local_addr.sin_port; - sockaddr_to_host_port(tcp->base.pool, &tcp->base.local_name, - &local_addr); - } - } - - PJ_LOG(4,(tcp->base.obj_name, - "TCP transport %.*s:%d is connecting to %.*s:%d...", - (int)tcp->base.local_name.host.slen, - tcp->base.local_name.host.ptr, - tcp->base.local_name.port, - (int)tcp->base.remote_name.host.slen, - tcp->base.remote_name.host.ptr, - tcp->base.remote_name.port)); - } - - /* Done */ - *p_transport = &tcp->base; - - return PJ_SUCCESS; -} - - -/* - * This callback is called by active socket when pending accept() operation - * has completed. - */ -static pj_bool_t on_accept_complete(pj_activesock_t *asock, - pj_sock_t sock, - const pj_sockaddr_t *src_addr, - int src_addr_len) -{ - struct tcp_listener *listener; - struct tcp_transport *tcp; - char addr[PJ_INET6_ADDRSTRLEN+10]; - pjsip_tp_state_callback state_cb; - pj_status_t status; - - PJ_UNUSED_ARG(src_addr_len); - - listener = (struct tcp_listener*) pj_activesock_get_user_data(asock); - - PJ_ASSERT_RETURN(sock != PJ_INVALID_SOCKET, PJ_TRUE); - - PJ_LOG(4,(listener->factory.obj_name, - "TCP listener %.*s:%d: got incoming TCP connection " - "from %s, sock=%d", - (int)listener->factory.addr_name.host.slen, - listener->factory.addr_name.host.ptr, - listener->factory.addr_name.port, - pj_sockaddr_print(src_addr, addr, sizeof(addr), 3), - sock)); - - /* Apply QoS, if specified */ - status = pj_sock_apply_qos2(sock, listener->qos_type, - &listener->qos_params, - 2, listener->factory.obj_name, - "incoming SIP TCP socket"); - - /* - * Incoming connection! - * Create TCP transport for the new socket. - */ - status = tcp_create( listener, NULL, sock, PJ_TRUE, - (const pj_sockaddr_in*)&listener->factory.local_addr, - (const pj_sockaddr_in*)src_addr, &tcp); - if (status == PJ_SUCCESS) { - status = tcp_start_read(tcp); - if (status != PJ_SUCCESS) { - PJ_LOG(3,(tcp->base.obj_name, "New transport cancelled")); - tcp_destroy(&tcp->base, status); - } else { - /* Start keep-alive timer */ - if (PJSIP_TCP_KEEP_ALIVE_INTERVAL) { - pj_time_val delay = {PJSIP_TCP_KEEP_ALIVE_INTERVAL, 0}; - pjsip_endpt_schedule_timer(listener->endpt, - &tcp->ka_timer, - &delay); - tcp->ka_timer.id = PJ_TRUE; - pj_gettimeofday(&tcp->last_activity); - } - - /* Notify application of transport state accepted */ - state_cb = pjsip_tpmgr_get_state_cb(tcp->base.tpmgr); - if (state_cb) { - pjsip_transport_state_info state_info; - - pj_bzero(&state_info, sizeof(state_info)); - (*state_cb)(&tcp->base, PJSIP_TP_STATE_CONNECTED, &state_info); - } - } - } - - return PJ_TRUE; -} - - -/* - * Callback from ioqueue when packet is sent. - */ -static pj_bool_t on_data_sent(pj_activesock_t *asock, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_sent) -{ - struct tcp_transport *tcp = (struct tcp_transport*) - pj_activesock_get_user_data(asock); - pjsip_tx_data_op_key *tdata_op_key = (pjsip_tx_data_op_key*)op_key; - - /* Note that op_key may be the op_key from keep-alive, thus - * it will not have tdata etc. - */ - - tdata_op_key->tdata = NULL; - - if (tdata_op_key->callback) { - /* - * Notify sip_transport.c that packet has been sent. - */ - if (bytes_sent == 0) - bytes_sent = -PJ_RETURN_OS_ERROR(OSERR_ENOTCONN); - - tdata_op_key->callback(&tcp->base, tdata_op_key->token, bytes_sent); - - /* Mark last activity time */ - pj_gettimeofday(&tcp->last_activity); - - } - - /* Check for error/closure */ - if (bytes_sent <= 0) { - pj_status_t status; - - PJ_LOG(5,(tcp->base.obj_name, "TCP send() error, sent=%d", - bytes_sent)); - - status = (bytes_sent == 0) ? PJ_RETURN_OS_ERROR(OSERR_ENOTCONN) : - -bytes_sent; - - tcp_init_shutdown(tcp, status); - - return PJ_FALSE; - } - - return PJ_TRUE; -} - - -/* - * This callback is called by transport manager to send SIP message - */ -static pj_status_t tcp_send_msg(pjsip_transport *transport, - pjsip_tx_data *tdata, - const pj_sockaddr_t *rem_addr, - int addr_len, - void *token, - pjsip_transport_callback callback) -{ - struct tcp_transport *tcp = (struct tcp_transport*)transport; - pj_ssize_t size; - pj_bool_t delayed = PJ_FALSE; - pj_status_t status = PJ_SUCCESS; - - /* Sanity check */ - PJ_ASSERT_RETURN(transport && tdata, PJ_EINVAL); - - /* Check that there's no pending operation associated with the tdata */ - PJ_ASSERT_RETURN(tdata->op_key.tdata == NULL, PJSIP_EPENDINGTX); - - /* Check the address is supported */ - PJ_ASSERT_RETURN(rem_addr && addr_len==sizeof(pj_sockaddr_in), PJ_EINVAL); - - - - /* Init op key. */ - tdata->op_key.tdata = tdata; - tdata->op_key.token = token; - tdata->op_key.callback = callback; - - /* If asynchronous connect() has not completed yet, just put the - * transmit data in the pending transmission list since we can not - * use the socket yet. - */ - if (tcp->has_pending_connect) { - - /* - * Looks like connect() is still in progress. Check again (this time - * with holding the lock) to be sure. - */ - pj_lock_acquire(tcp->base.lock); - - if (tcp->has_pending_connect) { - struct delayed_tdata *delayed_tdata; - - /* - * connect() is still in progress. Put the transmit data to - * the delayed list. - */ - delayed_tdata = PJ_POOL_ALLOC_T(tdata->pool, - struct delayed_tdata); - delayed_tdata->tdata_op_key = &tdata->op_key; - - pj_list_push_back(&tcp->delayed_list, delayed_tdata); - status = PJ_EPENDING; - - /* Prevent pj_ioqueue_send() to be called below */ - delayed = PJ_TRUE; - } - - pj_lock_release(tcp->base.lock); - } - - if (!delayed) { - /* - * Transport is ready to go. Send the packet to ioqueue to be - * sent asynchronously. - */ - size = tdata->buf.cur - tdata->buf.start; - status = pj_activesock_send(tcp->asock, - (pj_ioqueue_op_key_t*)&tdata->op_key, - tdata->buf.start, &size, 0); - - if (status != PJ_EPENDING) { - /* Not pending (could be immediate success or error) */ - tdata->op_key.tdata = NULL; - - /* Shutdown transport on closure/errors */ - if (size <= 0) { - - PJ_LOG(5,(tcp->base.obj_name, "TCP send() error, sent=%d", - size)); - - if (status == PJ_SUCCESS) - status = PJ_RETURN_OS_ERROR(OSERR_ENOTCONN); - - tcp_init_shutdown(tcp, status); - } - } - } - - return status; -} - - -/* - * This callback is called by transport manager to shutdown transport. - */ -static pj_status_t tcp_shutdown(pjsip_transport *transport) -{ - struct tcp_transport *tcp = (struct tcp_transport*)transport; - - /* Stop keep-alive timer. */ - if (tcp->ka_timer.id) { - pjsip_endpt_cancel_timer(tcp->base.endpt, &tcp->ka_timer); - tcp->ka_timer.id = PJ_FALSE; - } - - return PJ_SUCCESS; -} - - -/* - * Callback from ioqueue that an incoming data is received from the socket. - */ -static pj_bool_t on_data_read(pj_activesock_t *asock, - void *data, - pj_size_t size, - pj_status_t status, - pj_size_t *remainder) -{ - enum { MAX_IMMEDIATE_PACKET = 10 }; - struct tcp_transport *tcp; - pjsip_rx_data *rdata; - - PJ_UNUSED_ARG(data); - - tcp = (struct tcp_transport*) pj_activesock_get_user_data(asock); - rdata = &tcp->rdata; - - /* Don't do anything if transport is closing. */ - if (tcp->is_closing) { - tcp->is_closing++; - return PJ_FALSE; - } - - /* Houston, we have packet! Report the packet to transport manager - * to be parsed. - */ - if (status == PJ_SUCCESS) { - pj_size_t size_eaten; - - /* Mark this as an activity */ - pj_gettimeofday(&tcp->last_activity); - - pj_assert((void*)rdata->pkt_info.packet == data); - - /* Init pkt_info part. */ - rdata->pkt_info.len = size; - rdata->pkt_info.zero = 0; - pj_gettimeofday(&rdata->pkt_info.timestamp); - - /* Report to transport manager. - * The transport manager will tell us how many bytes of the packet - * have been processed (as valid SIP message). - */ - size_eaten = - pjsip_tpmgr_receive_packet(rdata->tp_info.transport->tpmgr, - rdata); - - pj_assert(size_eaten <= (pj_size_t)rdata->pkt_info.len); - - /* Move unprocessed data to the front of the buffer */ - *remainder = size - size_eaten; - if (*remainder > 0 && *remainder != size) { - pj_memmove(rdata->pkt_info.packet, - rdata->pkt_info.packet + size_eaten, - *remainder); - } - - } else { - - /* Transport is closed */ - PJ_LOG(4,(tcp->base.obj_name, "TCP connection closed")); - - tcp_init_shutdown(tcp, status); - - return PJ_FALSE; - - } - - /* Reset pool. */ - pj_pool_reset(rdata->tp_info.pool); - - return PJ_TRUE; -} - - -/* - * Callback from ioqueue when asynchronous connect() operation completes. - */ -static pj_bool_t on_connect_complete(pj_activesock_t *asock, - pj_status_t status) -{ - struct tcp_transport *tcp; - pj_sockaddr_in addr; - int addrlen; - pjsip_tp_state_callback state_cb; - - tcp = (struct tcp_transport*) pj_activesock_get_user_data(asock); - - /* Mark that pending connect() operation has completed. */ - tcp->has_pending_connect = PJ_FALSE; - - /* Check connect() status */ - if (status != PJ_SUCCESS) { - - tcp_perror(tcp->base.obj_name, "TCP connect() error", status); - - /* Cancel all delayed transmits */ - while (!pj_list_empty(&tcp->delayed_list)) { - struct delayed_tdata *pending_tx; - pj_ioqueue_op_key_t *op_key; - - pending_tx = tcp->delayed_list.next; - pj_list_erase(pending_tx); - - op_key = (pj_ioqueue_op_key_t*)pending_tx->tdata_op_key; - - on_data_sent(tcp->asock, op_key, -status); - } - - tcp_init_shutdown(tcp, status); - return PJ_FALSE; - } - - PJ_LOG(4,(tcp->base.obj_name, - "TCP transport %.*s:%d is connected to %.*s:%d", - (int)tcp->base.local_name.host.slen, - tcp->base.local_name.host.ptr, - tcp->base.local_name.port, - (int)tcp->base.remote_name.host.slen, - tcp->base.remote_name.host.ptr, - tcp->base.remote_name.port)); - - - /* Update (again) local address, just in case local address currently - * set is different now that the socket is connected (could happen - * on some systems, like old Win32 probably?). - */ - addrlen = sizeof(pj_sockaddr_in); - if (pj_sock_getsockname(tcp->sock, &addr, &addrlen)==PJ_SUCCESS) { - pj_sockaddr_in *tp_addr = (pj_sockaddr_in*)&tcp->base.local_addr; - - if (pj_sockaddr_has_addr(&addr) && - tp_addr->sin_addr.s_addr != addr.sin_addr.s_addr) - { - tp_addr->sin_addr.s_addr = addr.sin_addr.s_addr; - tp_addr->sin_port = addr.sin_port; - sockaddr_to_host_port(tcp->base.pool, &tcp->base.local_name, - tp_addr); - } - } - - /* Start pending read */ - status = tcp_start_read(tcp); - if (status != PJ_SUCCESS) { - tcp_init_shutdown(tcp, status); - return PJ_FALSE; - } - - /* Notify application of transport state connected */ - state_cb = pjsip_tpmgr_get_state_cb(tcp->base.tpmgr); - if (state_cb) { - pjsip_transport_state_info state_info; - - pj_bzero(&state_info, sizeof(state_info)); - (*state_cb)(&tcp->base, PJSIP_TP_STATE_CONNECTED, &state_info); - } - - /* Flush all pending send operations */ - tcp_flush_pending_tx(tcp); - - /* Start keep-alive timer */ - if (PJSIP_TCP_KEEP_ALIVE_INTERVAL) { - pj_time_val delay = { PJSIP_TCP_KEEP_ALIVE_INTERVAL, 0 }; - pjsip_endpt_schedule_timer(tcp->base.endpt, &tcp->ka_timer, - &delay); - tcp->ka_timer.id = PJ_TRUE; - pj_gettimeofday(&tcp->last_activity); - } - - return PJ_TRUE; -} - -/* Transport keep-alive timer callback */ -static void tcp_keep_alive_timer(pj_timer_heap_t *th, pj_timer_entry *e) -{ - struct tcp_transport *tcp = (struct tcp_transport*) e->user_data; - pj_time_val delay; - pj_time_val now; - pj_ssize_t size; - pj_status_t status; - - PJ_UNUSED_ARG(th); - - tcp->ka_timer.id = PJ_TRUE; - - pj_gettimeofday(&now); - PJ_TIME_VAL_SUB(now, tcp->last_activity); - - if (now.sec > 0 && now.sec < PJSIP_TCP_KEEP_ALIVE_INTERVAL) { - /* There has been activity, so don't send keep-alive */ - delay.sec = PJSIP_TCP_KEEP_ALIVE_INTERVAL - now.sec; - delay.msec = 0; - - pjsip_endpt_schedule_timer(tcp->base.endpt, &tcp->ka_timer, - &delay); - tcp->ka_timer.id = PJ_TRUE; - return; - } - - PJ_LOG(5,(tcp->base.obj_name, "Sending %d byte(s) keep-alive to %.*s:%d", - (int)tcp->ka_pkt.slen, (int)tcp->base.remote_name.host.slen, - tcp->base.remote_name.host.ptr, - tcp->base.remote_name.port)); - - /* Send the data */ - size = tcp->ka_pkt.slen; - status = pj_activesock_send(tcp->asock, &tcp->ka_op_key.key, - tcp->ka_pkt.ptr, &size, 0); - - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - tcp_perror(tcp->base.obj_name, - "Error sending keep-alive packet", status); - tcp_init_shutdown(tcp, status); - return; - } - - /* Register next keep-alive */ - delay.sec = PJSIP_TCP_KEEP_ALIVE_INTERVAL; - delay.msec = 0; - - pjsip_endpt_schedule_timer(tcp->base.endpt, &tcp->ka_timer, - &delay); - tcp->ka_timer.id = PJ_TRUE; -} - - -#endif /* PJ_HAS_TCP */ - diff --git a/res/pjproject/pjsip/src/pjsip/sip_transport_tls.c b/res/pjproject/pjsip/src/pjsip/sip_transport_tls.c deleted file mode 100644 index bae3ffd1b0..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_transport_tls.c +++ /dev/null @@ -1,1598 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#if defined(PJSIP_HAS_TLS_TRANSPORT) && PJSIP_HAS_TLS_TRANSPORT!=0 - -#define THIS_FILE "sip_transport_tls.c" - -#define MAX_ASYNC_CNT 16 -#define POOL_LIS_INIT 512 -#define POOL_LIS_INC 512 -#define POOL_TP_INIT 512 -#define POOL_TP_INC 512 - -struct tls_listener; -struct tls_transport; - -/* - * Definition of TLS/SSL transport listener, and it's descendant of - * pjsip_tpfactory. - */ -struct tls_listener -{ - pjsip_tpfactory factory; - pj_bool_t is_registered; - pjsip_endpoint *endpt; - pjsip_tpmgr *tpmgr; - pj_ssl_sock_t *ssock; - pj_ssl_cert_t *cert; - pjsip_tls_setting tls_setting; -}; - - -/* - * This structure is used to keep delayed transmit operation in a list. - * A delayed transmission occurs when application sends tx_data when - * the TLS connect/establishment is still in progress. These delayed - * transmission will be "flushed" once the socket is connected (either - * successfully or with errors). - */ -struct delayed_tdata -{ - PJ_DECL_LIST_MEMBER(struct delayed_tdata); - pjsip_tx_data_op_key *tdata_op_key; -}; - - -/* - * TLS/SSL transport, and it's descendant of pjsip_transport. - */ -struct tls_transport -{ - pjsip_transport base; - pj_bool_t is_server; - pj_str_t remote_name; - - pj_bool_t is_registered; - pj_bool_t is_closing; - pj_status_t close_reason; - pj_ssl_sock_t *ssock; - pj_bool_t has_pending_connect; - pj_bool_t verify_server; - - /* Keep-alive timer. */ - pj_timer_entry ka_timer; - pj_time_val last_activity; - pjsip_tx_data_op_key ka_op_key; - pj_str_t ka_pkt; - - /* TLS transport can only have one rdata! - * Otherwise chunks of incoming PDU may be received on different - * buffer. - */ - pjsip_rx_data rdata; - - /* Pending transmission list. */ - struct delayed_tdata delayed_list; -}; - - -/**************************************************************************** - * PROTOTYPES - */ - -/* This callback is called when pending accept() operation completes. */ -static pj_bool_t on_accept_complete(pj_ssl_sock_t *ssock, - pj_ssl_sock_t *new_ssock, - const pj_sockaddr_t *src_addr, - int src_addr_len); - -/* Callback on incoming data */ -static pj_bool_t on_data_read(pj_ssl_sock_t *ssock, - void *data, - pj_size_t size, - pj_status_t status, - pj_size_t *remainder); - -/* Callback when packet is sent */ -static pj_bool_t on_data_sent(pj_ssl_sock_t *ssock, - pj_ioqueue_op_key_t *send_key, - pj_ssize_t sent); - -/* This callback is called by transport manager to destroy listener */ -static pj_status_t lis_destroy(pjsip_tpfactory *factory); - -/* This callback is called by transport manager to create transport */ -static pj_status_t lis_create_transport(pjsip_tpfactory *factory, - pjsip_tpmgr *mgr, - pjsip_endpoint *endpt, - const pj_sockaddr *rem_addr, - int addr_len, - pjsip_tx_data *tdata, - pjsip_transport **transport); - -/* Common function to create and initialize transport */ -static pj_status_t tls_create(struct tls_listener *listener, - pj_pool_t *pool, - pj_ssl_sock_t *ssock, - pj_bool_t is_server, - const pj_sockaddr_in *local, - const pj_sockaddr_in *remote, - const pj_str_t *remote_name, - struct tls_transport **p_tls); - - -static void tls_perror(const char *sender, const char *title, - pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - - PJ_LOG(1,(sender, "%s: %s [code=%d]", title, errmsg, status)); -} - - -static void sockaddr_to_host_port( pj_pool_t *pool, - pjsip_host_port *host_port, - const pj_sockaddr_in *addr ) -{ - host_port->host.ptr = (char*) pj_pool_alloc(pool, PJ_INET6_ADDRSTRLEN+4); - pj_sockaddr_print(addr, host_port->host.ptr, PJ_INET6_ADDRSTRLEN+4, 2); - host_port->host.slen = pj_ansi_strlen(host_port->host.ptr); - host_port->port = pj_sockaddr_get_port(addr); -} - - -static void tls_init_shutdown(struct tls_transport *tls, pj_status_t status) -{ - pjsip_tp_state_callback state_cb; - - if (tls->close_reason == PJ_SUCCESS) - tls->close_reason = status; - - if (tls->base.is_shutdown) - return; - - /* Prevent immediate transport destroy by application, as transport - * state notification callback may be stacked and transport instance - * must remain valid at any point in the callback. - */ - pjsip_transport_add_ref(&tls->base); - - /* Notify application of transport disconnected state */ - state_cb = pjsip_tpmgr_get_state_cb(tls->base.tpmgr); - if (state_cb) { - pjsip_transport_state_info state_info; - - pj_bzero(&state_info, sizeof(state_info)); - state_info.status = tls->close_reason; - (*state_cb)(&tls->base, PJSIP_TP_STATE_DISCONNECTED, &state_info); - } - - /* We can not destroy the transport since high level objects may - * still keep reference to this transport. So we can only - * instruct transport manager to gracefully start the shutdown - * procedure for this transport. - */ - pjsip_transport_shutdown(&tls->base); - - /* Now, it is ok to destroy the transport. */ - pjsip_transport_dec_ref(&tls->base); -} - - -/**************************************************************************** - * The TLS listener/transport factory. - */ - -/* - * This is the public API to create, initialize, register, and start the - * TLS listener. - */ -PJ_DEF(pj_status_t) pjsip_tls_transport_start (pjsip_endpoint *endpt, - const pjsip_tls_setting *opt, - const pj_sockaddr_in *local, - const pjsip_host_port *a_name, - unsigned async_cnt, - pjsip_tpfactory **p_factory) -{ - pj_pool_t *pool; - struct tls_listener *listener; - pj_ssl_sock_param ssock_param; - pj_sockaddr_in *listener_addr; - pj_bool_t has_listener; - pj_status_t status; - - /* Sanity check */ - PJ_ASSERT_RETURN(endpt && async_cnt, PJ_EINVAL); - - /* Verify that address given in a_name (if any) is valid */ - if (a_name && a_name->host.slen) { - pj_sockaddr_in tmp; - - status = pj_sockaddr_in_init(&tmp, &a_name->host, - (pj_uint16_t)a_name->port); - if (status != PJ_SUCCESS || tmp.sin_addr.s_addr == PJ_INADDR_ANY || - tmp.sin_addr.s_addr == PJ_INADDR_NONE) - { - /* Invalid address */ - return PJ_EINVAL; - } - } - - pool = pjsip_endpt_create_pool(endpt, "tlslis", POOL_LIS_INIT, - POOL_LIS_INC); - PJ_ASSERT_RETURN(pool, PJ_ENOMEM); - - listener = PJ_POOL_ZALLOC_T(pool, struct tls_listener); - listener->factory.pool = pool; - listener->factory.type = PJSIP_TRANSPORT_TLS; - listener->factory.type_name = "tls"; - listener->factory.flag = - pjsip_transport_get_flag_from_type(PJSIP_TRANSPORT_TLS); - - pj_ansi_strcpy(listener->factory.obj_name, "tlslis"); - - if (opt) - pjsip_tls_setting_copy(pool, &listener->tls_setting, opt); - else - pjsip_tls_setting_default(&listener->tls_setting); - - status = pj_lock_create_recursive_mutex(pool, "tlslis", - &listener->factory.lock); - if (status != PJ_SUCCESS) - goto on_error; - - if (async_cnt > MAX_ASYNC_CNT) - async_cnt = MAX_ASYNC_CNT; - - /* Build SSL socket param */ - pj_ssl_sock_param_default(&ssock_param); - ssock_param.cb.on_accept_complete = &on_accept_complete; - ssock_param.cb.on_data_read = &on_data_read; - ssock_param.cb.on_data_sent = &on_data_sent; - ssock_param.async_cnt = async_cnt; - ssock_param.ioqueue = pjsip_endpt_get_ioqueue(endpt); - ssock_param.require_client_cert = listener->tls_setting.require_client_cert; - ssock_param.timeout = listener->tls_setting.timeout; - ssock_param.user_data = listener; - ssock_param.verify_peer = PJ_FALSE; /* avoid SSL socket closing the socket - * due to verification error */ - if (ssock_param.send_buffer_size < PJSIP_MAX_PKT_LEN) - ssock_param.send_buffer_size = PJSIP_MAX_PKT_LEN; - if (ssock_param.read_buffer_size < PJSIP_MAX_PKT_LEN) - ssock_param.read_buffer_size = PJSIP_MAX_PKT_LEN; - ssock_param.ciphers_num = listener->tls_setting.ciphers_num; - ssock_param.ciphers = listener->tls_setting.ciphers; - ssock_param.qos_type = listener->tls_setting.qos_type; - ssock_param.qos_ignore_error = listener->tls_setting.qos_ignore_error; - pj_memcpy(&ssock_param.qos_params, &listener->tls_setting.qos_params, - sizeof(ssock_param.qos_params)); - - has_listener = PJ_FALSE; - - switch(listener->tls_setting.method) { - case PJSIP_TLSV1_METHOD: - ssock_param.proto = PJ_SSL_SOCK_PROTO_TLS1; - break; - case PJSIP_SSLV2_METHOD: - ssock_param.proto = PJ_SSL_SOCK_PROTO_SSL2; - break; - case PJSIP_SSLV3_METHOD: - ssock_param.proto = PJ_SSL_SOCK_PROTO_SSL3; - break; - case PJSIP_SSLV23_METHOD: - ssock_param.proto = PJ_SSL_SOCK_PROTO_SSL23; - break; - default: - ssock_param.proto = PJ_SSL_SOCK_PROTO_DEFAULT; - break; - } - - /* Create SSL socket */ - status = pj_ssl_sock_create(pool, &ssock_param, &listener->ssock); - if (status != PJ_SUCCESS) - goto on_error; - - listener_addr = (pj_sockaddr_in*)&listener->factory.local_addr; - if (local) { - pj_sockaddr_cp((pj_sockaddr_t*)listener_addr, - (const pj_sockaddr_t*)local); - } else { - pj_sockaddr_in_init(listener_addr, NULL, 0); - } - - /* Check if certificate/CA list for SSL socket is set */ - if (listener->tls_setting.cert_file.slen || - listener->tls_setting.ca_list_file.slen) - { - status = pj_ssl_cert_load_from_files(pool, - &listener->tls_setting.ca_list_file, - &listener->tls_setting.cert_file, - &listener->tls_setting.privkey_file, - &listener->tls_setting.password, - &listener->cert); - if (status != PJ_SUCCESS) - goto on_error; - - status = pj_ssl_sock_set_certificate(listener->ssock, pool, - listener->cert); - if (status != PJ_SUCCESS) - goto on_error; - } - - /* Start accepting incoming connections. Note that some TLS/SSL backends - * may not support for SSL socket server. - */ - has_listener = PJ_FALSE; - - status = pj_ssl_sock_start_accept(listener->ssock, pool, - (pj_sockaddr_t*)listener_addr, - pj_sockaddr_get_len((pj_sockaddr_t*)listener_addr)); - if (status == PJ_SUCCESS || status == PJ_EPENDING) { - pj_ssl_sock_info info; - has_listener = PJ_TRUE; - - /* Retrieve the bound address */ - status = pj_ssl_sock_get_info(listener->ssock, &info); - if (status == PJ_SUCCESS) - pj_sockaddr_cp(listener_addr, (pj_sockaddr_t*)&info.local_addr); - } else if (status != PJ_ENOTSUP) { - goto on_error; - } - - /* If published host/IP is specified, then use that address as the - * listener advertised address. - */ - if (a_name && a_name->host.slen) { - /* Copy the address */ - listener->factory.addr_name = *a_name; - pj_strdup(listener->factory.pool, &listener->factory.addr_name.host, - &a_name->host); - listener->factory.addr_name.port = a_name->port; - - } else { - /* No published address is given, use the bound address */ - - /* If the address returns 0.0.0.0, use the default - * interface address as the transport's address. - */ - if (listener_addr->sin_addr.s_addr == 0) { - pj_sockaddr hostip; - - status = pj_gethostip(pj_AF_INET(), &hostip); - if (status != PJ_SUCCESS) - goto on_error; - - listener_addr->sin_addr.s_addr = hostip.ipv4.sin_addr.s_addr; - } - - /* Save the address name */ - sockaddr_to_host_port(listener->factory.pool, - &listener->factory.addr_name, listener_addr); - } - - /* If port is zero, get the bound port */ - if (listener->factory.addr_name.port == 0) { - listener->factory.addr_name.port = pj_ntohs(listener_addr->sin_port); - } - - pj_ansi_snprintf(listener->factory.obj_name, - sizeof(listener->factory.obj_name), - "tlslis:%d", listener->factory.addr_name.port); - - /* Register to transport manager */ - listener->endpt = endpt; - listener->tpmgr = pjsip_endpt_get_tpmgr(endpt); - listener->factory.create_transport2 = lis_create_transport; - listener->factory.destroy = lis_destroy; - listener->is_registered = PJ_TRUE; - status = pjsip_tpmgr_register_tpfactory(listener->tpmgr, - &listener->factory); - if (status != PJ_SUCCESS) { - listener->is_registered = PJ_FALSE; - goto on_error; - } - - if (has_listener) { - PJ_LOG(4,(listener->factory.obj_name, - "SIP TLS listener is ready for incoming connections " - "at %.*s:%d", - (int)listener->factory.addr_name.host.slen, - listener->factory.addr_name.host.ptr, - listener->factory.addr_name.port)); - } else { - PJ_LOG(4,(listener->factory.obj_name, "SIP TLS is ready " - "(client only)")); - } - - /* Return the pointer to user */ - if (p_factory) *p_factory = &listener->factory; - - return PJ_SUCCESS; - -on_error: - lis_destroy(&listener->factory); - return status; -} - - -/* This callback is called by transport manager to destroy listener */ -static pj_status_t lis_destroy(pjsip_tpfactory *factory) -{ - struct tls_listener *listener = (struct tls_listener *)factory; - - if (listener->is_registered) { - pjsip_tpmgr_unregister_tpfactory(listener->tpmgr, &listener->factory); - listener->is_registered = PJ_FALSE; - } - - if (listener->ssock) { - pj_ssl_sock_close(listener->ssock); - listener->ssock = NULL; - } - - if (listener->factory.lock) { - pj_lock_destroy(listener->factory.lock); - listener->factory.lock = NULL; - } - - if (listener->factory.pool) { - pj_pool_t *pool = listener->factory.pool; - - PJ_LOG(4,(listener->factory.obj_name, "SIP TLS listener destroyed")); - - listener->factory.pool = NULL; - pj_pool_release(pool); - } - - return PJ_SUCCESS; -} - - -/***************************************************************************/ -/* - * TLS Transport - */ - -/* - * Prototypes. - */ -/* Called by transport manager to send message */ -static pj_status_t tls_send_msg(pjsip_transport *transport, - pjsip_tx_data *tdata, - const pj_sockaddr_t *rem_addr, - int addr_len, - void *token, - pjsip_transport_callback callback); - -/* Called by transport manager to shutdown */ -static pj_status_t tls_shutdown(pjsip_transport *transport); - -/* Called by transport manager to destroy transport */ -static pj_status_t tls_destroy_transport(pjsip_transport *transport); - -/* Utility to destroy transport */ -static pj_status_t tls_destroy(pjsip_transport *transport, - pj_status_t reason); - -/* Callback when connect completes */ -static pj_bool_t on_connect_complete(pj_ssl_sock_t *ssock, - pj_status_t status); - -/* TLS keep-alive timer callback */ -static void tls_keep_alive_timer(pj_timer_heap_t *th, pj_timer_entry *e); - -/* - * Common function to create TLS transport, called when pending accept() and - * pending connect() complete. - */ -static pj_status_t tls_create( struct tls_listener *listener, - pj_pool_t *pool, - pj_ssl_sock_t *ssock, - pj_bool_t is_server, - const pj_sockaddr_in *local, - const pj_sockaddr_in *remote, - const pj_str_t *remote_name, - struct tls_transport **p_tls) -{ - struct tls_transport *tls; - const pj_str_t ka_pkt = PJSIP_TLS_KEEP_ALIVE_DATA; - pj_status_t status; - - - PJ_ASSERT_RETURN(listener && ssock && local && remote && p_tls, PJ_EINVAL); - - - if (pool == NULL) { - pool = pjsip_endpt_create_pool(listener->endpt, "tls", - POOL_TP_INIT, POOL_TP_INC); - PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); - } - - /* - * Create and initialize basic transport structure. - */ - tls = PJ_POOL_ZALLOC_T(pool, struct tls_transport); - tls->is_server = is_server; - tls->verify_server = listener->tls_setting.verify_server; - pj_list_init(&tls->delayed_list); - tls->base.pool = pool; - - pj_ansi_snprintf(tls->base.obj_name, PJ_MAX_OBJ_NAME, - (is_server ? "tlss%p" :"tlsc%p"), tls); - - status = pj_atomic_create(pool, 0, &tls->base.ref_cnt); - if (status != PJ_SUCCESS) { - goto on_error; - } - - status = pj_lock_create_recursive_mutex(pool, "tls", &tls->base.lock); - if (status != PJ_SUCCESS) { - goto on_error; - } - - if (remote_name) - pj_strdup(pool, &tls->remote_name, remote_name); - - tls->base.key.type = PJSIP_TRANSPORT_TLS; - pj_memcpy(&tls->base.key.rem_addr, remote, sizeof(pj_sockaddr_in)); - tls->base.type_name = "tls"; - tls->base.flag = pjsip_transport_get_flag_from_type(PJSIP_TRANSPORT_TLS); - - tls->base.info = (char*) pj_pool_alloc(pool, 64); - pj_ansi_snprintf(tls->base.info, 64, "TLS to %s:%d", - pj_inet_ntoa(remote->sin_addr), - (int)pj_ntohs(remote->sin_port)); - - tls->base.addr_len = sizeof(pj_sockaddr_in); - tls->base.dir = is_server? PJSIP_TP_DIR_INCOMING : PJSIP_TP_DIR_OUTGOING; - - /* Set initial local address */ - if (!pj_sockaddr_has_addr(local)) { - pj_sockaddr_cp(&tls->base.local_addr, - &listener->factory.local_addr); - } else { - pj_sockaddr_cp(&tls->base.local_addr, local); - } - - sockaddr_to_host_port(pool, &tls->base.local_name, - (pj_sockaddr_in*)&tls->base.local_addr); - if (tls->remote_name.slen) { - tls->base.remote_name.host = tls->remote_name; - tls->base.remote_name.port = pj_sockaddr_in_get_port(remote); - } else { - sockaddr_to_host_port(pool, &tls->base.remote_name, remote); - } - - tls->base.endpt = listener->endpt; - tls->base.tpmgr = listener->tpmgr; - tls->base.send_msg = &tls_send_msg; - tls->base.do_shutdown = &tls_shutdown; - tls->base.destroy = &tls_destroy_transport; - - tls->ssock = ssock; - - /* Register transport to transport manager */ - status = pjsip_transport_register(listener->tpmgr, &tls->base); - if (status != PJ_SUCCESS) { - goto on_error; - } - - tls->is_registered = PJ_TRUE; - - /* Initialize keep-alive timer */ - tls->ka_timer.user_data = (void*)tls; - tls->ka_timer.cb = &tls_keep_alive_timer; - pj_ioqueue_op_key_init(&tls->ka_op_key.key, sizeof(pj_ioqueue_op_key_t)); - pj_strdup(tls->base.pool, &tls->ka_pkt, &ka_pkt); - - /* Done setting up basic transport. */ - *p_tls = tls; - - PJ_LOG(4,(tls->base.obj_name, "TLS %s transport created", - (tls->is_server ? "server" : "client"))); - - return PJ_SUCCESS; - -on_error: - tls_destroy(&tls->base, status); - return status; -} - - -/* Flush all delayed transmision once the socket is connected. */ -static void tls_flush_pending_tx(struct tls_transport *tls) -{ - pj_lock_acquire(tls->base.lock); - while (!pj_list_empty(&tls->delayed_list)) { - struct delayed_tdata *pending_tx; - pjsip_tx_data *tdata; - pj_ioqueue_op_key_t *op_key; - pj_ssize_t size; - pj_status_t status; - - pending_tx = tls->delayed_list.next; - pj_list_erase(pending_tx); - - tdata = pending_tx->tdata_op_key->tdata; - op_key = (pj_ioqueue_op_key_t*)pending_tx->tdata_op_key; - - /* send! */ - size = tdata->buf.cur - tdata->buf.start; - status = pj_ssl_sock_send(tls->ssock, op_key, tdata->buf.start, - &size, 0); - - if (status != PJ_EPENDING) { - on_data_sent(tls->ssock, op_key, size); - } - } - pj_lock_release(tls->base.lock); -} - - -/* Called by transport manager to destroy transport */ -static pj_status_t tls_destroy_transport(pjsip_transport *transport) -{ - struct tls_transport *tls = (struct tls_transport*)transport; - - /* Transport would have been unregistered by now since this callback - * is called by transport manager. - */ - tls->is_registered = PJ_FALSE; - - return tls_destroy(transport, tls->close_reason); -} - - -/* Destroy TLS transport */ -static pj_status_t tls_destroy(pjsip_transport *transport, - pj_status_t reason) -{ - struct tls_transport *tls = (struct tls_transport*)transport; - - if (tls->close_reason == 0) - tls->close_reason = reason; - - if (tls->is_registered) { - tls->is_registered = PJ_FALSE; - pjsip_transport_destroy(transport); - - /* pjsip_transport_destroy will recursively call this function - * again. - */ - return PJ_SUCCESS; - } - - /* Mark transport as closing */ - tls->is_closing = PJ_TRUE; - - /* Stop keep-alive timer. */ - if (tls->ka_timer.id) { - pjsip_endpt_cancel_timer(tls->base.endpt, &tls->ka_timer); - tls->ka_timer.id = PJ_FALSE; - } - - /* Cancel all delayed transmits */ - while (!pj_list_empty(&tls->delayed_list)) { - struct delayed_tdata *pending_tx; - pj_ioqueue_op_key_t *op_key; - - pending_tx = tls->delayed_list.next; - pj_list_erase(pending_tx); - - op_key = (pj_ioqueue_op_key_t*)pending_tx->tdata_op_key; - - on_data_sent(tls->ssock, op_key, -reason); - } - - if (tls->rdata.tp_info.pool) { - pj_pool_release(tls->rdata.tp_info.pool); - tls->rdata.tp_info.pool = NULL; - } - - if (tls->ssock) { - pj_ssl_sock_close(tls->ssock); - tls->ssock = NULL; - } - if (tls->base.lock) { - pj_lock_destroy(tls->base.lock); - tls->base.lock = NULL; - } - - if (tls->base.ref_cnt) { - pj_atomic_destroy(tls->base.ref_cnt); - tls->base.ref_cnt = NULL; - } - - if (tls->base.pool) { - pj_pool_t *pool; - - if (reason != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(reason, errmsg, sizeof(errmsg)); - PJ_LOG(4,(tls->base.obj_name, - "TLS transport destroyed with reason %d: %s", - reason, errmsg)); - - } else { - - PJ_LOG(4,(tls->base.obj_name, - "TLS transport destroyed normally")); - - } - - pool = tls->base.pool; - tls->base.pool = NULL; - pj_pool_release(pool); - } - - return PJ_SUCCESS; -} - - -/* - * This utility function creates receive data buffers and start - * asynchronous recv() operations from the socket. It is called after - * accept() or connect() operation complete. - */ -static pj_status_t tls_start_read(struct tls_transport *tls) -{ - pj_pool_t *pool; - pj_ssize_t size; - pj_sockaddr_in *rem_addr; - void *readbuf[1]; - pj_status_t status; - - /* Init rdata */ - pool = pjsip_endpt_create_pool(tls->base.endpt, - "rtd%p", - PJSIP_POOL_RDATA_LEN, - PJSIP_POOL_RDATA_INC); - if (!pool) { - tls_perror(tls->base.obj_name, "Unable to create pool", PJ_ENOMEM); - return PJ_ENOMEM; - } - - tls->rdata.tp_info.pool = pool; - - tls->rdata.tp_info.transport = &tls->base; - tls->rdata.tp_info.tp_data = tls; - tls->rdata.tp_info.op_key.rdata = &tls->rdata; - pj_ioqueue_op_key_init(&tls->rdata.tp_info.op_key.op_key, - sizeof(pj_ioqueue_op_key_t)); - - tls->rdata.pkt_info.src_addr = tls->base.key.rem_addr; - tls->rdata.pkt_info.src_addr_len = sizeof(pj_sockaddr_in); - rem_addr = (pj_sockaddr_in*) &tls->base.key.rem_addr; - pj_ansi_strcpy(tls->rdata.pkt_info.src_name, - pj_inet_ntoa(rem_addr->sin_addr)); - tls->rdata.pkt_info.src_port = pj_ntohs(rem_addr->sin_port); - - size = sizeof(tls->rdata.pkt_info.packet); - readbuf[0] = tls->rdata.pkt_info.packet; - status = pj_ssl_sock_start_read2(tls->ssock, tls->base.pool, size, - readbuf, 0); - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - PJ_LOG(4, (tls->base.obj_name, - "pj_ssl_sock_start_read() error, status=%d", - status)); - return status; - } - - return PJ_SUCCESS; -} - - -/* This callback is called by transport manager for the TLS factory - * to create outgoing transport to the specified destination. - */ -static pj_status_t lis_create_transport(pjsip_tpfactory *factory, - pjsip_tpmgr *mgr, - pjsip_endpoint *endpt, - const pj_sockaddr *rem_addr, - int addr_len, - pjsip_tx_data *tdata, - pjsip_transport **p_transport) -{ - struct tls_listener *listener; - struct tls_transport *tls; - pj_pool_t *pool; - pj_ssl_sock_t *ssock; - pj_ssl_sock_param ssock_param; - pj_sockaddr_in local_addr; - pj_str_t remote_name; - pj_status_t status; - - /* Sanity checks */ - PJ_ASSERT_RETURN(factory && mgr && endpt && rem_addr && - addr_len && p_transport, PJ_EINVAL); - - /* Check that address is a sockaddr_in */ - PJ_ASSERT_RETURN(rem_addr->addr.sa_family == pj_AF_INET() && - addr_len == sizeof(pj_sockaddr_in), PJ_EINVAL); - - - listener = (struct tls_listener*)factory; - - pool = pjsip_endpt_create_pool(listener->endpt, "tls", - POOL_TP_INIT, POOL_TP_INC); - PJ_ASSERT_RETURN(pool != NULL, PJ_ENOMEM); - - /* Get remote host name from tdata */ - if (tdata) - remote_name = tdata->dest_info.name; - else - pj_bzero(&remote_name, sizeof(remote_name)); - - /* Build SSL socket param */ - pj_ssl_sock_param_default(&ssock_param); - ssock_param.cb.on_connect_complete = &on_connect_complete; - ssock_param.cb.on_data_read = &on_data_read; - ssock_param.cb.on_data_sent = &on_data_sent; - ssock_param.async_cnt = 1; - ssock_param.ioqueue = pjsip_endpt_get_ioqueue(listener->endpt); - ssock_param.server_name = remote_name; - ssock_param.timeout = listener->tls_setting.timeout; - ssock_param.user_data = NULL; /* pending, must be set later */ - ssock_param.verify_peer = PJ_FALSE; /* avoid SSL socket closing the socket - * due to verification error */ - if (ssock_param.send_buffer_size < PJSIP_MAX_PKT_LEN) - ssock_param.send_buffer_size = PJSIP_MAX_PKT_LEN; - if (ssock_param.read_buffer_size < PJSIP_MAX_PKT_LEN) - ssock_param.read_buffer_size = PJSIP_MAX_PKT_LEN; - ssock_param.ciphers_num = listener->tls_setting.ciphers_num; - ssock_param.ciphers = listener->tls_setting.ciphers; - ssock_param.qos_type = listener->tls_setting.qos_type; - ssock_param.qos_ignore_error = listener->tls_setting.qos_ignore_error; - pj_memcpy(&ssock_param.qos_params, &listener->tls_setting.qos_params, - sizeof(ssock_param.qos_params)); - - switch(listener->tls_setting.method) { - case PJSIP_TLSV1_METHOD: - ssock_param.proto = PJ_SSL_SOCK_PROTO_TLS1; - break; - case PJSIP_SSLV2_METHOD: - ssock_param.proto = PJ_SSL_SOCK_PROTO_SSL2; - break; - case PJSIP_SSLV3_METHOD: - ssock_param.proto = PJ_SSL_SOCK_PROTO_SSL3; - break; - case PJSIP_SSLV23_METHOD: - ssock_param.proto = PJ_SSL_SOCK_PROTO_SSL23; - break; - default: - ssock_param.proto = PJ_SSL_SOCK_PROTO_DEFAULT; - break; - } - - status = pj_ssl_sock_create(pool, &ssock_param, &ssock); - if (status != PJ_SUCCESS) - return status; - - /* Apply SSL certificate */ - if (listener->cert) { - status = pj_ssl_sock_set_certificate(ssock, pool, listener->cert); - if (status != PJ_SUCCESS) - return status; - } - - /* Initially set bind address to PJ_INADDR_ANY port 0 */ - pj_sockaddr_in_init(&local_addr, NULL, 0); - - /* Create the transport descriptor */ - status = tls_create(listener, pool, ssock, PJ_FALSE, &local_addr, - (pj_sockaddr_in*)rem_addr, &remote_name, &tls); - if (status != PJ_SUCCESS) - return status; - - /* Set the "pending" SSL socket user data */ - pj_ssl_sock_set_user_data(tls->ssock, tls); - - /* Start asynchronous connect() operation */ - tls->has_pending_connect = PJ_TRUE; - status = pj_ssl_sock_start_connect(tls->ssock, tls->base.pool, - (pj_sockaddr_t*)&local_addr, - (pj_sockaddr_t*)rem_addr, - addr_len); - if (status == PJ_SUCCESS) { - on_connect_complete(tls->ssock, PJ_SUCCESS); - } else if (status != PJ_EPENDING) { - tls_destroy(&tls->base, status); - return status; - } - - if (tls->has_pending_connect) { - pj_ssl_sock_info info; - - /* Update local address, just in case local address currently set is - * different now that asynchronous connect() is started. - */ - - /* Retrieve the bound address */ - status = pj_ssl_sock_get_info(tls->ssock, &info); - if (status == PJ_SUCCESS) { - pj_uint16_t new_port; - - new_port = pj_sockaddr_get_port((pj_sockaddr_t*)&info.local_addr); - - if (pj_sockaddr_has_addr((pj_sockaddr_t*)&info.local_addr)) { - /* Update sockaddr */ - pj_sockaddr_cp((pj_sockaddr_t*)&tls->base.local_addr, - (pj_sockaddr_t*)&info.local_addr); - } else if (new_port && new_port != pj_sockaddr_get_port( - (pj_sockaddr_t*)&tls->base.local_addr)) - { - /* Update port only */ - pj_sockaddr_set_port(&tls->base.local_addr, - new_port); - } - - sockaddr_to_host_port(tls->base.pool, &tls->base.local_name, - (pj_sockaddr_in*)&tls->base.local_addr); - } - - PJ_LOG(4,(tls->base.obj_name, - "TLS transport %.*s:%d is connecting to %.*s:%d...", - (int)tls->base.local_name.host.slen, - tls->base.local_name.host.ptr, - tls->base.local_name.port, - (int)tls->base.remote_name.host.slen, - tls->base.remote_name.host.ptr, - tls->base.remote_name.port)); - } - - /* Done */ - *p_transport = &tls->base; - - return PJ_SUCCESS; -} - - -/* - * This callback is called by SSL socket when pending accept() operation - * has completed. - */ -static pj_bool_t on_accept_complete(pj_ssl_sock_t *ssock, - pj_ssl_sock_t *new_ssock, - const pj_sockaddr_t *src_addr, - int src_addr_len) -{ - struct tls_listener *listener; - struct tls_transport *tls; - pj_ssl_sock_info ssl_info; - char addr[PJ_INET6_ADDRSTRLEN+10]; - pjsip_tp_state_callback state_cb; - pj_bool_t is_shutdown; - pj_status_t status; - - PJ_UNUSED_ARG(src_addr_len); - - listener = (struct tls_listener*) pj_ssl_sock_get_user_data(ssock); - - PJ_ASSERT_RETURN(new_ssock, PJ_TRUE); - - PJ_LOG(4,(listener->factory.obj_name, - "TLS listener %.*s:%d: got incoming TLS connection " - "from %s, sock=%d", - (int)listener->factory.addr_name.host.slen, - listener->factory.addr_name.host.ptr, - listener->factory.addr_name.port, - pj_sockaddr_print(src_addr, addr, sizeof(addr), 3), - new_ssock)); - - /* Retrieve SSL socket info, close the socket if this is failed - * as the SSL socket info availability is rather critical here. - */ - status = pj_ssl_sock_get_info(new_ssock, &ssl_info); - if (status != PJ_SUCCESS) { - pj_ssl_sock_close(new_ssock); - return PJ_TRUE; - } - - /* - * Incoming connection! - * Create TLS transport for the new socket. - */ - status = tls_create( listener, NULL, new_ssock, PJ_TRUE, - (const pj_sockaddr_in*)&listener->factory.local_addr, - (const pj_sockaddr_in*)src_addr, NULL, &tls); - - if (status != PJ_SUCCESS) - return PJ_TRUE; - - /* Set the "pending" SSL socket user data */ - pj_ssl_sock_set_user_data(new_ssock, tls); - - /* Prevent immediate transport destroy as application may access it - * (getting info, etc) in transport state notification callback. - */ - pjsip_transport_add_ref(&tls->base); - - /* If there is verification error and verification is mandatory, shutdown - * and destroy the transport. - */ - if (ssl_info.verify_status && listener->tls_setting.verify_client) { - if (tls->close_reason == PJ_SUCCESS) - tls->close_reason = PJSIP_TLS_ECERTVERIF; - pjsip_transport_shutdown(&tls->base); - } - - /* Notify transport state to application */ - state_cb = pjsip_tpmgr_get_state_cb(tls->base.tpmgr); - if (state_cb) { - pjsip_transport_state_info state_info; - pjsip_tls_state_info tls_info; - pjsip_transport_state tp_state; - - /* Init transport state info */ - pj_bzero(&tls_info, sizeof(tls_info)); - pj_bzero(&state_info, sizeof(state_info)); - tls_info.ssl_sock_info = &ssl_info; - state_info.ext_info = &tls_info; - - /* Set transport state based on verification status */ - if (ssl_info.verify_status && listener->tls_setting.verify_client) - { - tp_state = PJSIP_TP_STATE_DISCONNECTED; - state_info.status = PJSIP_TLS_ECERTVERIF; - } else { - tp_state = PJSIP_TP_STATE_CONNECTED; - state_info.status = PJ_SUCCESS; - } - - (*state_cb)(&tls->base, tp_state, &state_info); - } - - /* Release transport reference. If transport is shutting down, it may - * get destroyed here. - */ - is_shutdown = tls->base.is_shutdown; - pjsip_transport_dec_ref(&tls->base); - if (is_shutdown) - return PJ_TRUE; - - - status = tls_start_read(tls); - if (status != PJ_SUCCESS) { - PJ_LOG(3,(tls->base.obj_name, "New transport cancelled")); - tls_init_shutdown(tls, status); - tls_destroy(&tls->base, status); - } else { - /* Start keep-alive timer */ - if (PJSIP_TLS_KEEP_ALIVE_INTERVAL) { - pj_time_val delay = {PJSIP_TLS_KEEP_ALIVE_INTERVAL, 0}; - pjsip_endpt_schedule_timer(listener->endpt, - &tls->ka_timer, - &delay); - tls->ka_timer.id = PJ_TRUE; - pj_gettimeofday(&tls->last_activity); - } - } - - return PJ_TRUE; -} - - -/* - * Callback from ioqueue when packet is sent. - */ -static pj_bool_t on_data_sent(pj_ssl_sock_t *ssock, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_sent) -{ - struct tls_transport *tls = (struct tls_transport*) - pj_ssl_sock_get_user_data(ssock); - pjsip_tx_data_op_key *tdata_op_key = (pjsip_tx_data_op_key*)op_key; - - /* Note that op_key may be the op_key from keep-alive, thus - * it will not have tdata etc. - */ - - tdata_op_key->tdata = NULL; - - if (tdata_op_key->callback) { - /* - * Notify sip_transport.c that packet has been sent. - */ - if (bytes_sent == 0) - bytes_sent = -PJ_RETURN_OS_ERROR(OSERR_ENOTCONN); - - tdata_op_key->callback(&tls->base, tdata_op_key->token, bytes_sent); - - /* Mark last activity time */ - pj_gettimeofday(&tls->last_activity); - - } - - /* Check for error/closure */ - if (bytes_sent <= 0) { - pj_status_t status; - - PJ_LOG(5,(tls->base.obj_name, "TLS send() error, sent=%d", - bytes_sent)); - - status = (bytes_sent == 0) ? PJ_RETURN_OS_ERROR(OSERR_ENOTCONN) : - -bytes_sent; - - tls_init_shutdown(tls, status); - - return PJ_FALSE; - } - - return PJ_TRUE; -} - - -/* - * This callback is called by transport manager to send SIP message - */ -static pj_status_t tls_send_msg(pjsip_transport *transport, - pjsip_tx_data *tdata, - const pj_sockaddr_t *rem_addr, - int addr_len, - void *token, - pjsip_transport_callback callback) -{ - struct tls_transport *tls = (struct tls_transport*)transport; - pj_ssize_t size; - pj_bool_t delayed = PJ_FALSE; - pj_status_t status = PJ_SUCCESS; - - /* Sanity check */ - PJ_ASSERT_RETURN(transport && tdata, PJ_EINVAL); - - /* Check that there's no pending operation associated with the tdata */ - PJ_ASSERT_RETURN(tdata->op_key.tdata == NULL, PJSIP_EPENDINGTX); - - /* Check the address is supported */ - PJ_ASSERT_RETURN(rem_addr && addr_len==sizeof(pj_sockaddr_in), PJ_EINVAL); - - - - /* Init op key. */ - tdata->op_key.tdata = tdata; - tdata->op_key.token = token; - tdata->op_key.callback = callback; - - /* If asynchronous connect() has not completed yet, just put the - * transmit data in the pending transmission list since we can not - * use the socket yet. - */ - if (tls->has_pending_connect) { - - /* - * Looks like connect() is still in progress. Check again (this time - * with holding the lock) to be sure. - */ - pj_lock_acquire(tls->base.lock); - - if (tls->has_pending_connect) { - struct delayed_tdata *delayed_tdata; - - /* - * connect() is still in progress. Put the transmit data to - * the delayed list. - */ - delayed_tdata = PJ_POOL_ALLOC_T(tdata->pool, - struct delayed_tdata); - delayed_tdata->tdata_op_key = &tdata->op_key; - - pj_list_push_back(&tls->delayed_list, delayed_tdata); - status = PJ_EPENDING; - - /* Prevent pj_ioqueue_send() to be called below */ - delayed = PJ_TRUE; - } - - pj_lock_release(tls->base.lock); - } - - if (!delayed) { - /* - * Transport is ready to go. Send the packet to ioqueue to be - * sent asynchronously. - */ - size = tdata->buf.cur - tdata->buf.start; - status = pj_ssl_sock_send(tls->ssock, - (pj_ioqueue_op_key_t*)&tdata->op_key, - tdata->buf.start, &size, 0); - - if (status != PJ_EPENDING) { - /* Not pending (could be immediate success or error) */ - tdata->op_key.tdata = NULL; - - /* Shutdown transport on closure/errors */ - if (size <= 0) { - - PJ_LOG(5,(tls->base.obj_name, "TLS send() error, sent=%d", - size)); - - if (status == PJ_SUCCESS) - status = PJ_RETURN_OS_ERROR(OSERR_ENOTCONN); - - tls_init_shutdown(tls, status); - } - } - } - - return status; -} - - -/* - * This callback is called by transport manager to shutdown transport. - */ -static pj_status_t tls_shutdown(pjsip_transport *transport) -{ - struct tls_transport *tls = (struct tls_transport*)transport; - - /* Stop keep-alive timer. */ - if (tls->ka_timer.id) { - pjsip_endpt_cancel_timer(tls->base.endpt, &tls->ka_timer); - tls->ka_timer.id = PJ_FALSE; - } - - return PJ_SUCCESS; -} - - -/* - * Callback from ioqueue that an incoming data is received from the socket. - */ -static pj_bool_t on_data_read(pj_ssl_sock_t *ssock, - void *data, - pj_size_t size, - pj_status_t status, - pj_size_t *remainder) -{ - enum { MAX_IMMEDIATE_PACKET = 10 }; - struct tls_transport *tls; - pjsip_rx_data *rdata; - - PJ_UNUSED_ARG(data); - - tls = (struct tls_transport*) pj_ssl_sock_get_user_data(ssock); - rdata = &tls->rdata; - - /* Don't do anything if transport is closing. */ - if (tls->is_closing) { - tls->is_closing++; - return PJ_FALSE; - } - - /* Houston, we have packet! Report the packet to transport manager - * to be parsed. - */ - if (status == PJ_SUCCESS) { - pj_size_t size_eaten; - - /* Mark this as an activity */ - pj_gettimeofday(&tls->last_activity); - - pj_assert((void*)rdata->pkt_info.packet == data); - - /* Init pkt_info part. */ - rdata->pkt_info.len = size; - rdata->pkt_info.zero = 0; - pj_gettimeofday(&rdata->pkt_info.timestamp); - - /* Report to transport manager. - * The transport manager will tell us how many bytes of the packet - * have been processed (as valid SIP message). - */ - size_eaten = - pjsip_tpmgr_receive_packet(rdata->tp_info.transport->tpmgr, - rdata); - - pj_assert(size_eaten <= (pj_size_t)rdata->pkt_info.len); - - /* Move unprocessed data to the front of the buffer */ - *remainder = size - size_eaten; - if (*remainder > 0 && *remainder != size) { - pj_memmove(rdata->pkt_info.packet, - rdata->pkt_info.packet + size_eaten, - *remainder); - } - - } else { - - /* Transport is closed */ - PJ_LOG(4,(tls->base.obj_name, "TLS connection closed")); - - tls_init_shutdown(tls, status); - - return PJ_FALSE; - - } - - /* Reset pool. */ - pj_pool_reset(rdata->tp_info.pool); - - return PJ_TRUE; -} - - -/* - * Callback from ioqueue when asynchronous connect() operation completes. - */ -static pj_bool_t on_connect_complete(pj_ssl_sock_t *ssock, - pj_status_t status) -{ - struct tls_transport *tls; - pj_ssl_sock_info ssl_info; - pj_sockaddr_in addr, *tp_addr; - pjsip_tp_state_callback state_cb; - pj_bool_t is_shutdown; - - tls = (struct tls_transport*) pj_ssl_sock_get_user_data(ssock); - - /* Check connect() status */ - if (status != PJ_SUCCESS) { - - tls_perror(tls->base.obj_name, "TLS connect() error", status); - - /* Cancel all delayed transmits */ - while (!pj_list_empty(&tls->delayed_list)) { - struct delayed_tdata *pending_tx; - pj_ioqueue_op_key_t *op_key; - - pending_tx = tls->delayed_list.next; - pj_list_erase(pending_tx); - - op_key = (pj_ioqueue_op_key_t*)pending_tx->tdata_op_key; - - on_data_sent(tls->ssock, op_key, -status); - } - - goto on_error; - } - - /* Retrieve SSL socket info, shutdown the transport if this is failed - * as the SSL socket info availability is rather critical here. - */ - status = pj_ssl_sock_get_info(tls->ssock, &ssl_info); - if (status != PJ_SUCCESS) - goto on_error; - - /* Update (again) local address, just in case local address currently - * set is different now that the socket is connected (could happen - * on some systems, like old Win32 probably?). - */ - tp_addr = (pj_sockaddr_in*)&tls->base.local_addr; - pj_sockaddr_cp((pj_sockaddr_t*)&addr, - (pj_sockaddr_t*)&ssl_info.local_addr); - if (tp_addr->sin_addr.s_addr != addr.sin_addr.s_addr) { - tp_addr->sin_addr.s_addr = addr.sin_addr.s_addr; - tp_addr->sin_port = addr.sin_port; - sockaddr_to_host_port(tls->base.pool, &tls->base.local_name, - tp_addr); - } - - /* Server identity verification based on server certificate. */ - if (ssl_info.remote_cert_info->version) { - pj_str_t *remote_name; - pj_ssl_cert_info *serv_cert = ssl_info.remote_cert_info; - pj_bool_t matched = PJ_FALSE; - unsigned i; - - /* Remote name may be hostname or IP address */ - if (tls->remote_name.slen) - remote_name = &tls->remote_name; - else - remote_name = &tls->base.remote_name.host; - - /* Start matching remote name with SubjectAltName fields of - * server certificate. - */ - for (i = 0; i < serv_cert->subj_alt_name.cnt && !matched; ++i) { - pj_str_t *cert_name = &serv_cert->subj_alt_name.entry[i].name; - - switch (serv_cert->subj_alt_name.entry[i].type) { - case PJ_SSL_CERT_NAME_DNS: - case PJ_SSL_CERT_NAME_IP: - matched = !pj_stricmp(remote_name, cert_name); - break; - case PJ_SSL_CERT_NAME_URI: - if (pj_strnicmp2(cert_name, "sip:", 4) == 0 || - pj_strnicmp2(cert_name, "sips:", 5) == 0) - { - pj_str_t host_part; - char *p; - - p = pj_strchr(cert_name, ':') + 1; - pj_strset(&host_part, p, cert_name->slen - - (p - cert_name->ptr)); - matched = !pj_stricmp(remote_name, &host_part); - } - break; - default: - break; - } - } - - /* When still not matched or no SubjectAltName fields in server - * certificate, try with Common Name of Subject field. - */ - if (!matched) { - matched = !pj_stricmp(remote_name, &serv_cert->subject.cn); - } - - if (!matched) - ssl_info.verify_status |= PJ_SSL_CERT_EIDENTITY_NOT_MATCH; - } - - /* Prevent immediate transport destroy as application may access it - * (getting info, etc) in transport state notification callback. - */ - pjsip_transport_add_ref(&tls->base); - - /* If there is verification error and verification is mandatory, shutdown - * and destroy the transport. - */ - if (ssl_info.verify_status && tls->verify_server) { - if (tls->close_reason == PJ_SUCCESS) - tls->close_reason = PJSIP_TLS_ECERTVERIF; - pjsip_transport_shutdown(&tls->base); - } - - /* Notify transport state to application */ - state_cb = pjsip_tpmgr_get_state_cb(tls->base.tpmgr); - if (state_cb) { - pjsip_transport_state_info state_info; - pjsip_tls_state_info tls_info; - pjsip_transport_state tp_state; - - /* Init transport state info */ - pj_bzero(&state_info, sizeof(state_info)); - pj_bzero(&tls_info, sizeof(tls_info)); - state_info.ext_info = &tls_info; - tls_info.ssl_sock_info = &ssl_info; - - /* Set transport state based on verification status */ - if (ssl_info.verify_status && tls->verify_server) - { - tp_state = PJSIP_TP_STATE_DISCONNECTED; - state_info.status = PJSIP_TLS_ECERTVERIF; - } else { - tp_state = PJSIP_TP_STATE_CONNECTED; - state_info.status = PJ_SUCCESS; - } - - (*state_cb)(&tls->base, tp_state, &state_info); - } - - /* Release transport reference. If transport is shutting down, it may - * get destroyed here. - */ - is_shutdown = tls->base.is_shutdown; - pjsip_transport_dec_ref(&tls->base); - if (is_shutdown) - return PJ_FALSE; - - - /* Mark that pending connect() operation has completed. */ - tls->has_pending_connect = PJ_FALSE; - - PJ_LOG(4,(tls->base.obj_name, - "TLS transport %.*s:%d is connected to %.*s:%d", - (int)tls->base.local_name.host.slen, - tls->base.local_name.host.ptr, - tls->base.local_name.port, - (int)tls->base.remote_name.host.slen, - tls->base.remote_name.host.ptr, - tls->base.remote_name.port)); - - /* Start pending read */ - status = tls_start_read(tls); - if (status != PJ_SUCCESS) - goto on_error; - - /* Flush all pending send operations */ - tls_flush_pending_tx(tls); - - /* Start keep-alive timer */ - if (PJSIP_TLS_KEEP_ALIVE_INTERVAL) { - pj_time_val delay = { PJSIP_TLS_KEEP_ALIVE_INTERVAL, 0 }; - pjsip_endpt_schedule_timer(tls->base.endpt, &tls->ka_timer, - &delay); - tls->ka_timer.id = PJ_TRUE; - pj_gettimeofday(&tls->last_activity); - } - - return PJ_TRUE; - -on_error: - tls_init_shutdown(tls, status); - - return PJ_FALSE; -} - - -/* Transport keep-alive timer callback */ -static void tls_keep_alive_timer(pj_timer_heap_t *th, pj_timer_entry *e) -{ - struct tls_transport *tls = (struct tls_transport*) e->user_data; - pj_time_val delay; - pj_time_val now; - pj_ssize_t size; - pj_status_t status; - - PJ_UNUSED_ARG(th); - - tls->ka_timer.id = PJ_TRUE; - - pj_gettimeofday(&now); - PJ_TIME_VAL_SUB(now, tls->last_activity); - - if (now.sec > 0 && now.sec < PJSIP_TLS_KEEP_ALIVE_INTERVAL) { - /* There has been activity, so don't send keep-alive */ - delay.sec = PJSIP_TLS_KEEP_ALIVE_INTERVAL - now.sec; - delay.msec = 0; - - pjsip_endpt_schedule_timer(tls->base.endpt, &tls->ka_timer, - &delay); - tls->ka_timer.id = PJ_TRUE; - return; - } - - PJ_LOG(5,(tls->base.obj_name, "Sending %d byte(s) keep-alive to %.*s:%d", - (int)tls->ka_pkt.slen, (int)tls->base.remote_name.host.slen, - tls->base.remote_name.host.ptr, - tls->base.remote_name.port)); - - /* Send the data */ - size = tls->ka_pkt.slen; - status = pj_ssl_sock_send(tls->ssock, &tls->ka_op_key.key, - tls->ka_pkt.ptr, &size, 0); - - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - tls_perror(tls->base.obj_name, - "Error sending keep-alive packet", status); - - tls_init_shutdown(tls, status); - return; - } - - /* Register next keep-alive */ - delay.sec = PJSIP_TLS_KEEP_ALIVE_INTERVAL; - delay.msec = 0; - - pjsip_endpt_schedule_timer(tls->base.endpt, &tls->ka_timer, - &delay); - tls->ka_timer.id = PJ_TRUE; -} - -#endif /* PJSIP_HAS_TLS_TRANSPORT */ diff --git a/res/pjproject/pjsip/src/pjsip/sip_transport_udp.c b/res/pjproject/pjsip/src/pjsip/sip_transport_udp.c deleted file mode 100644 index 9256a25b22..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_transport_udp.c +++ /dev/null @@ -1,1095 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#define THIS_FILE "sip_transport_udp.c" - -/** - * These are the target values for socket send and receive buffer sizes, - * respectively. They will be applied to UDP socket with setsockopt(). - * When transport failed to set these size, it will decrease it until - * sufficiently large number has been successfully set. - * - * The buffer size is important, especially in WinXP/2000 machines. - * Basicly the lower the size, the more packets will be lost (dropped?) - * when we're sending (receiving?) packets in large volumes. - * - * The figure here is taken based on my experiment on WinXP/2000 machine, - * and with this value, the rate of dropped packet is about 8% when - * sending 1800 requests simultaneously (percentage taken as average - * after 50K requests or so). - * - * More experiments are needed probably. - */ -/* 2010/01/14 - * Too many people complained about seeing "Error setting SNDBUF" log, - * so lets just remove this. People who want to have SNDBUF set can - * still do so by declaring these two macros in config_site.h - */ -#ifndef PJSIP_UDP_SO_SNDBUF_SIZE -/*# define PJSIP_UDP_SO_SNDBUF_SIZE (24*1024*1024)*/ -# define PJSIP_UDP_SO_SNDBUF_SIZE 0 -#endif - -#ifndef PJSIP_UDP_SO_RCVBUF_SIZE -/*# define PJSIP_UDP_SO_RCVBUF_SIZE (24*1024*1024)*/ -# define PJSIP_UDP_SO_RCVBUF_SIZE 0 -#endif - - -/* Struct udp_transport "inherits" struct pjsip_transport */ -struct udp_transport -{ - pjsip_transport base; - pj_sock_t sock; - pj_ioqueue_key_t *key; - int rdata_cnt; - pjsip_rx_data **rdata; - int is_closing; - pj_bool_t is_paused; -}; - - -/* - * Initialize transport's receive buffer from the specified pool. - */ -static void init_rdata(struct udp_transport *tp, unsigned rdata_index, - pj_pool_t *pool, pjsip_rx_data **p_rdata) -{ - pjsip_rx_data *rdata; - - /* Reset pool. */ - //note: already done by caller - //pj_pool_reset(pool); - - rdata = PJ_POOL_ZALLOC_T(pool, pjsip_rx_data); - - /* Init tp_info part. */ - rdata->tp_info.pool = pool; - rdata->tp_info.transport = &tp->base; - rdata->tp_info.tp_data = (void*)(long)rdata_index; - rdata->tp_info.op_key.rdata = rdata; - pj_ioqueue_op_key_init(&rdata->tp_info.op_key.op_key, - sizeof(pj_ioqueue_op_key_t)); - - tp->rdata[rdata_index] = rdata; - - if (p_rdata) - *p_rdata = rdata; -} - - -/* - * udp_on_read_complete() - * - * This is callback notification from ioqueue that a pending recvfrom() - * operation has completed. - */ -static void udp_on_read_complete( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_read) -{ - /* See https://trac.pjsip.org/repos/ticket/1197 */ - enum { MAX_IMMEDIATE_PACKET = 50 }; - pjsip_rx_data_op_key *rdata_op_key = (pjsip_rx_data_op_key*) op_key; - pjsip_rx_data *rdata = rdata_op_key->rdata; - struct udp_transport *tp = (struct udp_transport*)rdata->tp_info.transport; - int i; - pj_status_t status; - - /* Don't do anything if transport is closing. */ - if (tp->is_closing) { - tp->is_closing++; - return; - } - - /* Don't do anything if transport is being paused. */ - if (tp->is_paused) - return; - - /* - * The idea of the loop is to process immediate data received by - * pj_ioqueue_recvfrom(), as long as i < MAX_IMMEDIATE_PACKET. When - * i is >= MAX_IMMEDIATE_PACKET, we force the recvfrom() operation to - * complete asynchronously, to allow other sockets to get their data. - */ - for (i=0;; ++i) { - enum { MIN_SIZE = 32 }; - pj_uint32_t flags; - - /* Report the packet to transport manager. Only do so if packet size - * is relatively big enough for a SIP packet. - */ - if (bytes_read > MIN_SIZE) { - pj_size_t size_eaten; - const pj_sockaddr *src_addr = &rdata->pkt_info.src_addr; - - /* Init pkt_info part. */ - rdata->pkt_info.len = bytes_read; - rdata->pkt_info.zero = 0; - pj_gettimeofday(&rdata->pkt_info.timestamp); - if (src_addr->addr.sa_family == pj_AF_INET()) { - pj_ansi_strcpy(rdata->pkt_info.src_name, - pj_inet_ntoa(src_addr->ipv4.sin_addr)); - rdata->pkt_info.src_port = pj_ntohs(src_addr->ipv4.sin_port); - } else { - pj_inet_ntop(pj_AF_INET6(), - pj_sockaddr_get_addr(&rdata->pkt_info.src_addr), - rdata->pkt_info.src_name, - sizeof(rdata->pkt_info.src_name)); - rdata->pkt_info.src_port = pj_ntohs(src_addr->ipv6.sin6_port); - } - - size_eaten = - pjsip_tpmgr_receive_packet(rdata->tp_info.transport->tpmgr, - rdata); - - if (size_eaten < 0) { - pj_assert(!"It shouldn't happen!"); - size_eaten = rdata->pkt_info.len; - } - - /* Since this is UDP, the whole buffer is the message. */ - rdata->pkt_info.len = 0; - - } else if (bytes_read <= MIN_SIZE) { - - /* TODO: */ - - } else if (-bytes_read != PJ_STATUS_FROM_OS(OSERR_EWOULDBLOCK) && - -bytes_read != PJ_STATUS_FROM_OS(OSERR_EINPROGRESS) && - -bytes_read != PJ_STATUS_FROM_OS(OSERR_ECONNRESET)) - { - - /* Report error to endpoint. */ - PJSIP_ENDPT_LOG_ERROR((rdata->tp_info.transport->endpt, - rdata->tp_info.transport->obj_name, - -bytes_read, - "Warning: pj_ioqueue_recvfrom()" - " callback error")); - } - - if (i >= MAX_IMMEDIATE_PACKET) { - /* Force ioqueue_recvfrom() to return PJ_EPENDING */ - flags = PJ_IOQUEUE_ALWAYS_ASYNC; - } else { - flags = 0; - } - - /* Reset pool. - * Need to copy rdata fields to temp variable because they will - * be invalid after pj_pool_reset(). - */ - { - pj_pool_t *rdata_pool = rdata->tp_info.pool; - struct udp_transport *rdata_tp ; - unsigned rdata_index; - - rdata_tp = (struct udp_transport*)rdata->tp_info.transport; - rdata_index = (unsigned)(unsigned long)rdata->tp_info.tp_data; - - pj_pool_reset(rdata_pool); - init_rdata(rdata_tp, rdata_index, rdata_pool, &rdata); - - /* Change some vars to point to new location after - * pool reset. - */ - op_key = &rdata->tp_info.op_key.op_key; - } - - /* Only read next packet if transport is not being paused. This - * check handles the case where transport is paused while endpoint - * is still processing a SIP message. - */ - if (tp->is_paused) - return; - - /* Read next packet. */ - bytes_read = sizeof(rdata->pkt_info.packet); - rdata->pkt_info.src_addr_len = sizeof(rdata->pkt_info.src_addr); - status = pj_ioqueue_recvfrom(key, op_key, - rdata->pkt_info.packet, - &bytes_read, flags, - &rdata->pkt_info.src_addr, - &rdata->pkt_info.src_addr_len); - - if (status == PJ_SUCCESS) { - /* Continue loop. */ - pj_assert(i < MAX_IMMEDIATE_PACKET); - - } else if (status == PJ_EPENDING) { - break; - - } else { - - if (i < MAX_IMMEDIATE_PACKET) { - - /* Report error to endpoint if this is not EWOULDBLOCK error.*/ - if (status != PJ_STATUS_FROM_OS(OSERR_EWOULDBLOCK) && - status != PJ_STATUS_FROM_OS(OSERR_EINPROGRESS) && - status != PJ_STATUS_FROM_OS(OSERR_ECONNRESET)) - { - - PJSIP_ENDPT_LOG_ERROR((rdata->tp_info.transport->endpt, - rdata->tp_info.transport->obj_name, - status, - "Warning: pj_ioqueue_recvfrom")); - } - - /* Continue loop. */ - bytes_read = 0; - } else { - /* This is fatal error. - * Ioqueue operation will stop for this transport! - */ - PJSIP_ENDPT_LOG_ERROR((rdata->tp_info.transport->endpt, - rdata->tp_info.transport->obj_name, - status, - "FATAL: pj_ioqueue_recvfrom() error, " - "UDP transport stopping! Error")); - break; - } - } - } -} - -/* - * udp_on_write_complete() - * - * This is callback notification from ioqueue that a pending sendto() - * operation has completed. - */ -static void udp_on_write_complete( pj_ioqueue_key_t *key, - pj_ioqueue_op_key_t *op_key, - pj_ssize_t bytes_sent) -{ - struct udp_transport *tp = (struct udp_transport*) - pj_ioqueue_get_user_data(key); - pjsip_tx_data_op_key *tdata_op_key = (pjsip_tx_data_op_key*)op_key; - - tdata_op_key->tdata = NULL; - - if (tdata_op_key->callback) { - tdata_op_key->callback(&tp->base, tdata_op_key->token, bytes_sent); - } -} - -/* - * udp_send_msg() - * - * This function is called by transport manager (by transport->send_msg()) - * to send outgoing message. - */ -static pj_status_t udp_send_msg( pjsip_transport *transport, - pjsip_tx_data *tdata, - const pj_sockaddr_t *rem_addr, - int addr_len, - void *token, - pjsip_transport_callback callback) -{ - struct udp_transport *tp = (struct udp_transport*)transport; - pj_ssize_t size; - pj_status_t status; - - PJ_ASSERT_RETURN(transport && tdata, PJ_EINVAL); - PJ_ASSERT_RETURN(tdata->op_key.tdata == NULL, PJSIP_EPENDINGTX); - - /* Return error if transport is paused */ - if (tp->is_paused) - return PJSIP_ETPNOTAVAIL; - - /* Init op key. */ - tdata->op_key.tdata = tdata; - tdata->op_key.token = token; - tdata->op_key.callback = callback; - - /* Send to ioqueue! */ - size = tdata->buf.cur - tdata->buf.start; - status = pj_ioqueue_sendto(tp->key, (pj_ioqueue_op_key_t*)&tdata->op_key, - tdata->buf.start, &size, 0, - rem_addr, addr_len); - - if (status != PJ_EPENDING) - tdata->op_key.tdata = NULL; - - return status; -} - -/* - * udp_destroy() - * - * This function is called by transport manager (by transport->destroy()). - */ -static pj_status_t udp_destroy( pjsip_transport *transport ) -{ - struct udp_transport *tp = (struct udp_transport*)transport; - int i; - - /* Mark this transport as closing. */ - tp->is_closing = 1; - - /* Cancel all pending operations. */ - /* blp: NO NO NO... - * No need to post queued completion as we poll the ioqueue until - * we've got events anyway. Posting completion will only cause - * callback to be called twice with IOCP: one for the post completion - * and another one for closing the socket. - * - for (i=0; irdata_cnt; ++i) { - pj_ioqueue_post_completion(tp->key, - &tp->rdata[i]->tp_info.op_key.op_key, -1); - } - */ - - /* Unregister from ioqueue. */ - if (tp->key) { - pj_ioqueue_unregister(tp->key); - tp->key = NULL; - } else { - /* Close socket. */ - if (tp->sock && tp->sock != PJ_INVALID_SOCKET) { - pj_sock_close(tp->sock); - tp->sock = PJ_INVALID_SOCKET; - } - } - - /* Must poll ioqueue because IOCP calls the callback when socket - * is closed. We poll the ioqueue until all pending callbacks - * have been called. - */ - for (i=0; i<50 && tp->is_closing < 1+tp->rdata_cnt; ++i) { - int cnt; - pj_time_val timeout = {0, 1}; - - cnt = pj_ioqueue_poll(pjsip_endpt_get_ioqueue(transport->endpt), - &timeout); - if (cnt == 0) - break; - } - - /* Destroy rdata */ - for (i=0; irdata_cnt; ++i) { - pj_pool_release(tp->rdata[i]->tp_info.pool); - } - - /* Destroy reference counter. */ - if (tp->base.ref_cnt) - pj_atomic_destroy(tp->base.ref_cnt); - - /* Destroy lock */ - if (tp->base.lock) - pj_lock_destroy(tp->base.lock); - - /* Destroy pool. */ - pjsip_endpt_release_pool(tp->base.endpt, tp->base.pool); - - return PJ_SUCCESS; -} - - -/* - * udp_shutdown() - * - * Start graceful UDP shutdown. - */ -static pj_status_t udp_shutdown(pjsip_transport *transport) -{ - return pjsip_transport_dec_ref(transport); -} - - -/* Create socket */ -static pj_status_t create_socket(int af, const pj_sockaddr_t *local_a, - int addr_len, pj_sock_t *p_sock) -{ - pj_sock_t sock; - pj_sockaddr_in tmp_addr; - pj_sockaddr_in6 tmp_addr6; - pj_status_t status; - - status = pj_sock_socket(af, pj_SOCK_DGRAM(), 0, &sock); - if (status != PJ_SUCCESS) - return status; - - if (local_a == NULL) { - if (af == pj_AF_INET6()) { - pj_bzero(&tmp_addr6, sizeof(tmp_addr6)); - tmp_addr6.sin6_family = (pj_uint16_t)af; - local_a = &tmp_addr6; - addr_len = sizeof(tmp_addr6); - } else { - pj_sockaddr_in_init(&tmp_addr, NULL, 0); - local_a = &tmp_addr; - addr_len = sizeof(tmp_addr); - } - } - - status = pj_sock_bind(sock, local_a, addr_len); - if (status != PJ_SUCCESS) { - pj_sock_close(sock); - return status; - } - - *p_sock = sock; - return PJ_SUCCESS; -} - - -/* Generate transport's published address */ -static pj_status_t get_published_name(pj_sock_t sock, - char hostbuf[], - int hostbufsz, - pjsip_host_port *bound_name) -{ - pj_sockaddr tmp_addr; - int addr_len; - pj_status_t status; - - addr_len = sizeof(tmp_addr); - status = pj_sock_getsockname(sock, &tmp_addr, &addr_len); - if (status != PJ_SUCCESS) - return status; - - bound_name->host.ptr = hostbuf; - if (tmp_addr.addr.sa_family == pj_AF_INET()) { - bound_name->port = pj_ntohs(tmp_addr.ipv4.sin_port); - - /* If bound address specifies "0.0.0.0", get the IP address - * of local hostname. - */ - if (tmp_addr.ipv4.sin_addr.s_addr == PJ_INADDR_ANY) { - pj_sockaddr hostip; - - status = pj_gethostip(pj_AF_INET(), &hostip); - if (status != PJ_SUCCESS) - return status; - - pj_strcpy2(&bound_name->host, pj_inet_ntoa(hostip.ipv4.sin_addr)); - } else { - /* Otherwise use bound address. */ - pj_strcpy2(&bound_name->host, - pj_inet_ntoa(tmp_addr.ipv4.sin_addr)); - status = PJ_SUCCESS; - } - - } else { - /* If bound address specifies "INADDR_ANY" (IPv6), get the - * IP address of local hostname - */ - pj_uint32_t loop6[4] = { 0, 0, 0, 0}; - - bound_name->port = pj_ntohs(tmp_addr.ipv6.sin6_port); - - if (pj_memcmp(&tmp_addr.ipv6.sin6_addr, loop6, sizeof(loop6))==0) { - status = pj_gethostip(tmp_addr.addr.sa_family, &tmp_addr); - if (status != PJ_SUCCESS) - return status; - } - - status = pj_inet_ntop(tmp_addr.addr.sa_family, - pj_sockaddr_get_addr(&tmp_addr), - hostbuf, hostbufsz); - if (status == PJ_SUCCESS) { - bound_name->host.slen = pj_ansi_strlen(hostbuf); - } - } - - - return status; -} - -/* Set the published address of the transport */ -static void udp_set_pub_name(struct udp_transport *tp, - const pjsip_host_port *a_name) -{ - enum { INFO_LEN = 80 }; - char local_addr[PJ_INET6_ADDRSTRLEN+10]; - - pj_assert(a_name->host.slen != 0); - pj_strdup_with_null(tp->base.pool, &tp->base.local_name.host, - &a_name->host); - tp->base.local_name.port = a_name->port; - - /* Update transport info. */ - if (tp->base.info == NULL) { - tp->base.info = (char*) pj_pool_alloc(tp->base.pool, INFO_LEN); - } - - pj_sockaddr_print(&tp->base.local_addr, local_addr, sizeof(local_addr), 3); - - pj_ansi_snprintf( - tp->base.info, INFO_LEN, "udp %s [published as %s:%d]", - local_addr, - tp->base.local_name.host.ptr, - tp->base.local_name.port); -} - -/* Set the socket handle of the transport */ -static void udp_set_socket(struct udp_transport *tp, - pj_sock_t sock, - const pjsip_host_port *a_name) -{ -#if PJSIP_UDP_SO_RCVBUF_SIZE || PJSIP_UDP_SO_SNDBUF_SIZE - long sobuf_size; - pj_status_t status; -#endif - - /* Adjust socket rcvbuf size */ -#if PJSIP_UDP_SO_RCVBUF_SIZE - sobuf_size = PJSIP_UDP_SO_RCVBUF_SIZE; - status = pj_sock_setsockopt(sock, pj_SOL_SOCKET(), pj_SO_RCVBUF(), - &sobuf_size, sizeof(sobuf_size)); - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(4,(THIS_FILE, "Error setting SO_RCVBUF: %s [%d]", errmsg, - status)); - } -#endif - - /* Adjust socket sndbuf size */ -#if PJSIP_UDP_SO_SNDBUF_SIZE - sobuf_size = PJSIP_UDP_SO_SNDBUF_SIZE; - status = pj_sock_setsockopt(sock, pj_SOL_SOCKET(), pj_SO_SNDBUF(), - &sobuf_size, sizeof(sobuf_size)); - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(4,(THIS_FILE, "Error setting SO_SNDBUF: %s [%d]", errmsg, - status)); - } -#endif - - /* Set the socket. */ - tp->sock = sock; - - /* Init address name (published address) */ - udp_set_pub_name(tp, a_name); -} - -/* Register socket to ioqueue */ -static pj_status_t register_to_ioqueue(struct udp_transport *tp) -{ - pj_ioqueue_t *ioqueue; - pj_ioqueue_callback ioqueue_cb; - - /* Ignore if already registered */ - if (tp->key != NULL) - return PJ_SUCCESS; - - /* Register to ioqueue. */ - ioqueue = pjsip_endpt_get_ioqueue(tp->base.endpt); - pj_memset(&ioqueue_cb, 0, sizeof(ioqueue_cb)); - ioqueue_cb.on_read_complete = &udp_on_read_complete; - ioqueue_cb.on_write_complete = &udp_on_write_complete; - - return pj_ioqueue_register_sock(tp->base.pool, ioqueue, tp->sock, tp, - &ioqueue_cb, &tp->key); -} - -/* Start ioqueue asynchronous reading to all rdata */ -static pj_status_t start_async_read(struct udp_transport *tp) -{ - pj_ioqueue_t *ioqueue; - int i; - pj_status_t status; - - ioqueue = pjsip_endpt_get_ioqueue(tp->base.endpt); - - /* Start reading the ioqueue. */ - for (i=0; irdata_cnt; ++i) { - pj_ssize_t size; - - size = sizeof(tp->rdata[i]->pkt_info.packet); - tp->rdata[i]->pkt_info.src_addr_len = sizeof(tp->rdata[i]->pkt_info.src_addr); - status = pj_ioqueue_recvfrom(tp->key, - &tp->rdata[i]->tp_info.op_key.op_key, - tp->rdata[i]->pkt_info.packet, - &size, PJ_IOQUEUE_ALWAYS_ASYNC, - &tp->rdata[i]->pkt_info.src_addr, - &tp->rdata[i]->pkt_info.src_addr_len); - if (status == PJ_SUCCESS) { - pj_assert(!"Shouldn't happen because PJ_IOQUEUE_ALWAYS_ASYNC!"); - udp_on_read_complete(tp->key, &tp->rdata[i]->tp_info.op_key.op_key, - size); - } else if (status != PJ_EPENDING) { - /* Error! */ - return status; - } - } - - return PJ_SUCCESS; -} - - -/* - * pjsip_udp_transport_attach() - * - * Attach UDP socket and start transport. - */ -static pj_status_t transport_attach( pjsip_endpoint *endpt, - pjsip_transport_type_e type, - pj_sock_t sock, - const pjsip_host_port *a_name, - unsigned async_cnt, - pjsip_transport **p_transport) -{ - pj_pool_t *pool; - struct udp_transport *tp; - const char *format, *ipv6_quoteb, *ipv6_quotee; - unsigned i; - pj_status_t status; - - PJ_ASSERT_RETURN(endpt && sock!=PJ_INVALID_SOCKET && a_name && async_cnt>0, - PJ_EINVAL); - - /* Object name. */ - if (type & PJSIP_TRANSPORT_IPV6) { - format = "udpv6%p"; - ipv6_quoteb = "["; - ipv6_quotee = "]"; - } else { - format = "udp%p"; - ipv6_quoteb = ipv6_quotee = ""; - } - - /* Create pool. */ - pool = pjsip_endpt_create_pool(endpt, format, PJSIP_POOL_LEN_TRANSPORT, - PJSIP_POOL_INC_TRANSPORT); - if (!pool) - return PJ_ENOMEM; - - /* Create the UDP transport object. */ - tp = PJ_POOL_ZALLOC_T(pool, struct udp_transport); - - /* Save pool. */ - tp->base.pool = pool; - - pj_memcpy(tp->base.obj_name, pool->obj_name, PJ_MAX_OBJ_NAME); - - /* Init reference counter. */ - status = pj_atomic_create(pool, 0, &tp->base.ref_cnt); - if (status != PJ_SUCCESS) - goto on_error; - - /* Init lock. */ - status = pj_lock_create_recursive_mutex(pool, pool->obj_name, - &tp->base.lock); - if (status != PJ_SUCCESS) - goto on_error; - - /* Set type. */ - tp->base.key.type = type; - - /* Remote address is left zero (except the family) */ - tp->base.key.rem_addr.addr.sa_family = (pj_uint16_t) - ((type & PJSIP_TRANSPORT_IPV6) ? pj_AF_INET6() : pj_AF_INET()); - - /* Type name. */ - tp->base.type_name = "UDP"; - - /* Transport flag */ - tp->base.flag = pjsip_transport_get_flag_from_type(type); - - - /* Length of addressess. */ - tp->base.addr_len = sizeof(tp->base.local_addr); - - /* Init local address. */ - status = pj_sock_getsockname(sock, &tp->base.local_addr, - &tp->base.addr_len); - if (status != PJ_SUCCESS) - goto on_error; - - /* Init remote name. */ - if (type == PJSIP_TRANSPORT_UDP) - tp->base.remote_name.host = pj_str("0.0.0.0"); - else - tp->base.remote_name.host = pj_str("::0"); - tp->base.remote_name.port = 0; - - /* Init direction */ - tp->base.dir = PJSIP_TP_DIR_NONE; - - /* Set endpoint. */ - tp->base.endpt = endpt; - - /* Transport manager and timer will be initialized by tpmgr */ - - /* Attach socket and assign name. */ - udp_set_socket(tp, sock, a_name); - - /* Register to ioqueue */ - status = register_to_ioqueue(tp); - if (status != PJ_SUCCESS) - goto on_error; - - /* Set functions. */ - tp->base.send_msg = &udp_send_msg; - tp->base.do_shutdown = &udp_shutdown; - tp->base.destroy = &udp_destroy; - - /* This is a permanent transport, so we initialize the ref count - * to one so that transport manager don't destroy this transport - * when there's no user! - */ - pj_atomic_inc(tp->base.ref_cnt); - - /* Register to transport manager. */ - tp->base.tpmgr = pjsip_endpt_get_tpmgr(endpt); - status = pjsip_transport_register( tp->base.tpmgr, (pjsip_transport*)tp); - if (status != PJ_SUCCESS) - goto on_error; - - - /* Create rdata and put it in the array. */ - tp->rdata_cnt = 0; - tp->rdata = (pjsip_rx_data**) - pj_pool_calloc(tp->base.pool, async_cnt, - sizeof(pjsip_rx_data*)); - for (i=0; ibase.ref_cnt, 0); - pjsip_transport_destroy(&tp->base); - return PJ_ENOMEM; - } - - init_rdata(tp, i, rdata_pool, NULL); - tp->rdata_cnt++; - } - - /* Start reading the ioqueue. */ - status = start_async_read(tp); - if (status != PJ_SUCCESS) { - pjsip_transport_destroy(&tp->base); - return status; - } - - /* Done. */ - if (p_transport) - *p_transport = &tp->base; - - PJ_LOG(4,(tp->base.obj_name, - "SIP %s started, published address is %s%.*s%s:%d", - pjsip_transport_get_type_desc((pjsip_transport_type_e)tp->base.key.type), - ipv6_quoteb, - (int)tp->base.local_name.host.slen, - tp->base.local_name.host.ptr, - ipv6_quotee, - tp->base.local_name.port)); - - return PJ_SUCCESS; - -on_error: - udp_destroy((pjsip_transport*)tp); - return status; -} - - -PJ_DEF(pj_status_t) pjsip_udp_transport_attach( pjsip_endpoint *endpt, - pj_sock_t sock, - const pjsip_host_port *a_name, - unsigned async_cnt, - pjsip_transport **p_transport) -{ - return transport_attach(endpt, PJSIP_TRANSPORT_UDP, sock, a_name, - async_cnt, p_transport); -} - -PJ_DEF(pj_status_t) pjsip_udp_transport_attach2( pjsip_endpoint *endpt, - pjsip_transport_type_e type, - pj_sock_t sock, - const pjsip_host_port *a_name, - unsigned async_cnt, - pjsip_transport **p_transport) -{ - return transport_attach(endpt, type, sock, a_name, - async_cnt, p_transport); -} - -/* - * pjsip_udp_transport_start() - * - * Create a UDP socket in the specified address and start a transport. - */ -PJ_DEF(pj_status_t) pjsip_udp_transport_start( pjsip_endpoint *endpt, - const pj_sockaddr_in *local_a, - const pjsip_host_port *a_name, - unsigned async_cnt, - pjsip_transport **p_transport) -{ - pj_sock_t sock; - pj_status_t status; - char addr_buf[PJ_INET6_ADDRSTRLEN]; - pjsip_host_port bound_name; - - PJ_ASSERT_RETURN(endpt && async_cnt, PJ_EINVAL); - - status = create_socket(pj_AF_INET(), local_a, sizeof(pj_sockaddr_in), - &sock); - if (status != PJ_SUCCESS) - return status; - - if (a_name == NULL) { - /* Address name is not specified. - * Build a name based on bound address. - */ - status = get_published_name(sock, addr_buf, sizeof(addr_buf), - &bound_name); - if (status != PJ_SUCCESS) { - pj_sock_close(sock); - return status; - } - - a_name = &bound_name; - } - - return pjsip_udp_transport_attach( endpt, sock, a_name, async_cnt, - p_transport ); -} - - -/* - * pjsip_udp_transport_start() - * - * Create a UDP socket in the specified address and start a transport. - */ -PJ_DEF(pj_status_t) pjsip_udp_transport_start6(pjsip_endpoint *endpt, - const pj_sockaddr_in6 *local_a, - const pjsip_host_port *a_name, - unsigned async_cnt, - pjsip_transport **p_transport) -{ - pj_sock_t sock; - pj_status_t status; - char addr_buf[PJ_INET6_ADDRSTRLEN]; - pjsip_host_port bound_name; - - PJ_ASSERT_RETURN(endpt && async_cnt, PJ_EINVAL); - - status = create_socket(pj_AF_INET6(), local_a, sizeof(pj_sockaddr_in6), - &sock); - if (status != PJ_SUCCESS) - return status; - - if (a_name == NULL) { - /* Address name is not specified. - * Build a name based on bound address. - */ - status = get_published_name(sock, addr_buf, sizeof(addr_buf), - &bound_name); - if (status != PJ_SUCCESS) { - pj_sock_close(sock); - return status; - } - - a_name = &bound_name; - } - - return pjsip_udp_transport_attach2(endpt, PJSIP_TRANSPORT_UDP6, - sock, a_name, async_cnt, p_transport); -} - -/* - * Retrieve the internal socket handle used by the UDP transport. - */ -PJ_DEF(pj_sock_t) pjsip_udp_transport_get_socket(pjsip_transport *transport) -{ - struct udp_transport *tp; - - PJ_ASSERT_RETURN(transport != NULL, PJ_INVALID_SOCKET); - - tp = (struct udp_transport*) transport; - - return tp->sock; -} - - -/* - * Temporarily pause or shutdown the transport. - */ -PJ_DEF(pj_status_t) pjsip_udp_transport_pause(pjsip_transport *transport, - unsigned option) -{ - struct udp_transport *tp; - unsigned i; - - PJ_ASSERT_RETURN(transport != NULL, PJ_EINVAL); - - /* Flag must be specified */ - PJ_ASSERT_RETURN((option & 0x03) != 0, PJ_EINVAL); - - tp = (struct udp_transport*) transport; - - /* Transport must not have been paused */ - PJ_ASSERT_RETURN(tp->is_paused==0, PJ_EINVALIDOP); - - /* Set transport to paused first, so that when the read callback is - * called by pj_ioqueue_post_completion() it will not try to - * re-register the rdata. - */ - tp->is_paused = PJ_TRUE; - - /* Cancel the ioqueue operation. */ - for (i=0; i<(unsigned)tp->rdata_cnt; ++i) { - pj_ioqueue_post_completion(tp->key, - &tp->rdata[i]->tp_info.op_key.op_key, -1); - } - - /* Destroy the socket? */ - if (option & PJSIP_UDP_TRANSPORT_DESTROY_SOCKET) { - if (tp->key) { - /* This implicitly closes the socket */ - pj_ioqueue_unregister(tp->key); - tp->key = NULL; - } else { - /* Close socket. */ - if (tp->sock && tp->sock != PJ_INVALID_SOCKET) { - pj_sock_close(tp->sock); - tp->sock = PJ_INVALID_SOCKET; - } - } - tp->sock = PJ_INVALID_SOCKET; - - } - - PJ_LOG(4,(tp->base.obj_name, "SIP UDP transport paused")); - - return PJ_SUCCESS; -} - - -/* - * Restart transport. - * - * If option is KEEP_SOCKET, just re-activate ioqueue operation. - * - * If option is DESTROY_SOCKET: - * - if socket is specified, replace. - * - if socket is not specified, create and replace. - */ -PJ_DEF(pj_status_t) pjsip_udp_transport_restart(pjsip_transport *transport, - unsigned option, - pj_sock_t sock, - const pj_sockaddr_in *local, - const pjsip_host_port *a_name) -{ - struct udp_transport *tp; - pj_status_t status; - - PJ_ASSERT_RETURN(transport != NULL, PJ_EINVAL); - /* Flag must be specified */ - PJ_ASSERT_RETURN((option & 0x03) != 0, PJ_EINVAL); - - tp = (struct udp_transport*) transport; - - if (option & PJSIP_UDP_TRANSPORT_DESTROY_SOCKET) { - char addr_buf[PJ_INET6_ADDRSTRLEN]; - pjsip_host_port bound_name; - - /* Request to recreate transport */ - - /* Destroy existing socket, if any. */ - if (tp->key) { - /* This implicitly closes the socket */ - pj_ioqueue_unregister(tp->key); - tp->key = NULL; - } else { - /* Close socket. */ - if (tp->sock && tp->sock != PJ_INVALID_SOCKET) { - pj_sock_close(tp->sock); - tp->sock = PJ_INVALID_SOCKET; - } - } - tp->sock = PJ_INVALID_SOCKET; - - /* Create the socket if it's not specified */ - if (sock == PJ_INVALID_SOCKET) { - status = create_socket(pj_AF_INET(), local, - sizeof(pj_sockaddr_in), &sock); - if (status != PJ_SUCCESS) - return status; - } - - /* If transport published name is not specified, calculate it - * from the bound address. - */ - if (a_name == NULL) { - status = get_published_name(sock, addr_buf, sizeof(addr_buf), - &bound_name); - if (status != PJ_SUCCESS) { - pj_sock_close(sock); - return status; - } - - a_name = &bound_name; - } - - /* Assign the socket and published address to transport. */ - udp_set_socket(tp, sock, a_name); - - } else { - - /* For KEEP_SOCKET, transport must have been paused before */ - PJ_ASSERT_RETURN(tp->is_paused, PJ_EINVALIDOP); - - /* If address name is specified, update it */ - if (a_name != NULL) - udp_set_pub_name(tp, a_name); - } - - /* Re-register new or existing socket to ioqueue. */ - status = register_to_ioqueue(tp); - if (status != PJ_SUCCESS) { - return status; - } - - /* Restart async read operation. */ - status = start_async_read(tp); - if (status != PJ_SUCCESS) - return status; - - /* Everything has been set up */ - tp->is_paused = PJ_FALSE; - - PJ_LOG(4,(tp->base.obj_name, - "SIP UDP transport restarted, published address is %.*s:%d", - (int)tp->base.local_name.host.slen, - tp->base.local_name.host.ptr, - tp->base.local_name.port)); - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjsip/src/pjsip/sip_transport_wrap.cpp b/res/pjproject/pjsip/src/pjsip/sip_transport_wrap.cpp deleted file mode 100644 index 3faad08873..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_transport_wrap.cpp +++ /dev/null @@ -1,24 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * This file is a C++ wrapper, see ticket #886 for details. - */ - -#include "sip_transport.c" diff --git a/res/pjproject/pjsip/src/pjsip/sip_ua_layer.c b/res/pjproject/pjsip/src/pjsip/sip_ua_layer.c deleted file mode 100644 index e305d61042..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_ua_layer.c +++ /dev/null @@ -1,978 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#define THIS_FILE "sip_ua_layer.c" - -/* - * Static prototypes. - */ -static pj_status_t mod_ua_load(pjsip_endpoint *endpt); -static pj_status_t mod_ua_unload(void); -static pj_bool_t mod_ua_on_rx_request(pjsip_rx_data *rdata); -static pj_bool_t mod_ua_on_rx_response(pjsip_rx_data *rdata); -static void mod_ua_on_tsx_state(pjsip_transaction*, pjsip_event*); - - -extern long pjsip_dlg_lock_tls_id; /* defined in sip_dialog.c */ - -/* This struct is used to represent list of dialog inside a dialog set. - * We don't want to use pjsip_dialog for this purpose, to save some - * memory (about 100 bytes per dialog set). - */ -struct dlg_set_head -{ - PJ_DECL_LIST_MEMBER(pjsip_dialog); -}; - -/* This struct represents a dialog set. - * This is the value that will be put in the UA's hash table. - */ -struct dlg_set -{ - /* To put this node in free dlg_set nodes in UA. */ - PJ_DECL_LIST_MEMBER(struct dlg_set); - - /* This is the buffer to store this entry in the hash table. */ - pj_hash_entry_buf ht_entry; - - /* List of dialog in this dialog set. */ - struct dlg_set_head dlg_list; -}; - - -/* - * Module interface. - */ -static struct user_agent -{ - pjsip_module mod; - pj_pool_t *pool; - pjsip_endpoint *endpt; - pj_mutex_t *mutex; - pj_hash_table_t *dlg_table; - pjsip_ua_init_param param; - struct dlg_set free_dlgset_nodes; - -} mod_ua = -{ - { - NULL, NULL, /* prev, next. */ - { "mod-ua", 6 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_UA_PROXY_LAYER, /* Priority */ - &mod_ua_load, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - &mod_ua_unload, /* unload() */ - &mod_ua_on_rx_request, /* on_rx_request() */ - &mod_ua_on_rx_response, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - &mod_ua_on_tsx_state, /* on_tsx_state() */ - } -}; - -/* - * mod_ua_load() - * - * Called when module is being loaded by endpoint. - */ -static pj_status_t mod_ua_load(pjsip_endpoint *endpt) -{ - pj_status_t status; - - /* Initialize the user agent. */ - mod_ua.endpt = endpt; - mod_ua.pool = pjsip_endpt_create_pool( endpt, "ua%p", PJSIP_POOL_LEN_UA, - PJSIP_POOL_INC_UA); - if (mod_ua.pool == NULL) - return PJ_ENOMEM; - - status = pj_mutex_create_recursive(mod_ua.pool, " ua%p", &mod_ua.mutex); - if (status != PJ_SUCCESS) - return status; - - mod_ua.dlg_table = pj_hash_create(mod_ua.pool, PJSIP_MAX_DIALOG_COUNT); - if (mod_ua.dlg_table == NULL) - return PJ_ENOMEM; - - pj_list_init(&mod_ua.free_dlgset_nodes); - - /* Initialize dialog lock. */ - status = pj_thread_local_alloc(&pjsip_dlg_lock_tls_id); - if (status != PJ_SUCCESS) - return status; - - pj_thread_local_set(pjsip_dlg_lock_tls_id, NULL); - - return PJ_SUCCESS; - -} - -/* - * mod_ua_unload() - * - * Called when module is being unloaded. - */ -static pj_status_t mod_ua_unload(void) -{ - pj_thread_local_free(pjsip_dlg_lock_tls_id); - pj_mutex_destroy(mod_ua.mutex); - - /* Release pool */ - if (mod_ua.pool) { - pjsip_endpt_release_pool( mod_ua.endpt, mod_ua.pool ); - } - return PJ_SUCCESS; -} - -/* - * mod_ua_on_tsx_stats() - * - * Called on changed on transaction state. - */ -static void mod_ua_on_tsx_state( pjsip_transaction *tsx, pjsip_event *e) -{ - pjsip_dialog *dlg; - - /* Get the dialog where this transaction belongs. */ - dlg = (pjsip_dialog*) tsx->mod_data[mod_ua.mod.id]; - - /* If dialog instance has gone, it could mean that the dialog - * may has been destroyed. - */ - if (dlg == NULL) - return; - - /* Hand over the event to the dialog. */ - pjsip_dlg_on_tsx_state(dlg, tsx, e); -} - - -/* - * Init user agent module and register it to the endpoint. - */ -PJ_DEF(pj_status_t) pjsip_ua_init_module( pjsip_endpoint *endpt, - const pjsip_ua_init_param *prm) -{ - pj_status_t status; - - /* Check if module already registered. */ - PJ_ASSERT_RETURN(mod_ua.mod.id == -1, PJ_EINVALIDOP); - - /* Copy param, if exists. */ - if (prm) - pj_memcpy(&mod_ua.param, prm, sizeof(pjsip_ua_init_param)); - - /* Register the module. */ - status = pjsip_endpt_register_module(endpt, &mod_ua.mod); - - return status; -} - -/* - * Get the instance of the user agent. - * - */ -PJ_DEF(pjsip_user_agent*) pjsip_ua_instance(void) -{ - return &mod_ua.mod; -} - - -/* - * Get the endpoint where this UA is currently registered. - */ -PJ_DEF(pjsip_endpoint*) pjsip_ua_get_endpt(pjsip_user_agent *ua) -{ - PJ_UNUSED_ARG(ua); - pj_assert(ua == &mod_ua.mod); - return mod_ua.endpt; -} - - -/* - * Destroy the user agent layer. - */ -PJ_DEF(pj_status_t) pjsip_ua_destroy(void) -{ - /* Check if module already destroyed. */ - PJ_ASSERT_RETURN(mod_ua.mod.id != -1, PJ_EINVALIDOP); - - return pjsip_endpt_unregister_module(mod_ua.endpt, &mod_ua.mod); -} - - - -/* - * Create key to identify dialog set. - */ -/* -PJ_DEF(void) pjsip_ua_create_dlg_set_key( pj_pool_t *pool, - pj_str_t *set_key, - const pj_str_t *call_id, - const pj_str_t *local_tag) -{ - PJ_ASSERT_ON_FAIL(pool && set_key && call_id && local_tag, return;); - - set_key->slen = call_id->slen + local_tag->slen + 1; - set_key->ptr = (char*) pj_pool_alloc(pool, set_key->slen); - pj_assert(set_key->ptr != NULL); - - pj_memcpy(set_key->ptr, call_id->ptr, call_id->slen); - set_key->ptr[call_id->slen] = '$'; - pj_memcpy(set_key->ptr + call_id->slen + 1, - local_tag->ptr, local_tag->slen); -} -*/ - -/* - * Acquire one dlg_set node to be put in the hash table. - * This will first look in the free nodes list, then allocate - * a new one from UA's pool when one is not available. - */ -static struct dlg_set *alloc_dlgset_node(void) -{ - struct dlg_set *set; - - if (!pj_list_empty(&mod_ua.free_dlgset_nodes)) { - set = mod_ua.free_dlgset_nodes.next; - pj_list_erase(set); - return set; - } else { - set = PJ_POOL_ALLOC_T(mod_ua.pool, struct dlg_set); - return set; - } -} - -/* - * Register new dialog. Called by pjsip_dlg_create_uac() and - * pjsip_dlg_create_uas(); - */ -PJ_DEF(pj_status_t) pjsip_ua_register_dlg( pjsip_user_agent *ua, - pjsip_dialog *dlg ) -{ - /* Sanity check. */ - PJ_ASSERT_RETURN(ua && dlg, PJ_EINVAL); - - /* For all dialogs, local tag (inc hash) must has been initialized. */ - PJ_ASSERT_RETURN(dlg->local.info && dlg->local.info->tag.slen && - dlg->local.tag_hval != 0, PJ_EBUG); - - /* For UAS dialog, remote tag (inc hash) must have been initialized. */ - //PJ_ASSERT_RETURN(dlg->role==PJSIP_ROLE_UAC || - // (dlg->role==PJSIP_ROLE_UAS && dlg->remote.info->tag.slen - // && dlg->remote.tag_hval != 0), PJ_EBUG); - - /* Lock the user agent. */ - pj_mutex_lock(mod_ua.mutex); - - /* For UAC, check if there is existing dialog in the same set. */ - if (dlg->role == PJSIP_ROLE_UAC) { - struct dlg_set *dlg_set; - - dlg_set = (struct dlg_set*) - pj_hash_get( mod_ua.dlg_table, dlg->local.info->tag.ptr, - dlg->local.info->tag.slen, - &dlg->local.tag_hval); - - if (dlg_set) { - /* This is NOT the first dialog in the dialog set. - * Just add this dialog in the list. - */ - pj_assert(dlg_set->dlg_list.next != (void*)&dlg_set->dlg_list); - pj_list_push_back(&dlg_set->dlg_list, dlg); - - dlg->dlg_set = dlg_set; - - } else { - /* This is the first dialog in the dialog set. - * Create the dialog set and add this dialog to it. - */ - dlg_set = alloc_dlgset_node(); - pj_list_init(&dlg_set->dlg_list); - pj_list_push_back(&dlg_set->dlg_list, dlg); - - dlg->dlg_set = dlg_set; - - /* Register the dialog set in the hash table. */ - pj_hash_set_np(mod_ua.dlg_table, - dlg->local.info->tag.ptr, dlg->local.info->tag.slen, - dlg->local.tag_hval, dlg_set->ht_entry, dlg_set); - } - - } else { - /* For UAS, create the dialog set with a single dialog as member. */ - struct dlg_set *dlg_set; - - dlg_set = alloc_dlgset_node(); - pj_list_init(&dlg_set->dlg_list); - pj_list_push_back(&dlg_set->dlg_list, dlg); - - dlg->dlg_set = dlg_set; - - pj_hash_set_np(mod_ua.dlg_table, - dlg->local.info->tag.ptr, dlg->local.info->tag.slen, - dlg->local.tag_hval, dlg_set->ht_entry, dlg_set); - } - - /* Unlock user agent. */ - pj_mutex_unlock(mod_ua.mutex); - - /* Done. */ - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjsip_ua_unregister_dlg( pjsip_user_agent *ua, - pjsip_dialog *dlg ) -{ - struct dlg_set *dlg_set; - pjsip_dialog *d; - - /* Sanity-check arguments. */ - PJ_ASSERT_RETURN(ua && dlg, PJ_EINVAL); - - /* Check that dialog has been registered. */ - PJ_ASSERT_RETURN(dlg->dlg_set, PJ_EINVALIDOP); - - /* Lock user agent. */ - pj_mutex_lock(mod_ua.mutex); - - /* Find this dialog from the dialog set. */ - dlg_set = (struct dlg_set*) dlg->dlg_set; - d = dlg_set->dlg_list.next; - while (d != (pjsip_dialog*)&dlg_set->dlg_list && d != dlg) { - d = d->next; - } - - if (d != dlg) { - pj_assert(!"Dialog is not registered!"); - pj_mutex_unlock(mod_ua.mutex); - return PJ_EINVALIDOP; - } - - /* Remove this dialog from the list. */ - pj_list_erase(dlg); - - /* If dialog list is empty, remove the dialog set from the hash table. */ - if (pj_list_empty(&dlg_set->dlg_list)) { - pj_hash_set(NULL, mod_ua.dlg_table, dlg->local.info->tag.ptr, - dlg->local.info->tag.slen, dlg->local.tag_hval, NULL); - - /* Return dlg_set to free nodes. */ - pj_list_push_back(&mod_ua.free_dlgset_nodes, dlg_set); - } - - /* Unlock user agent. */ - pj_mutex_unlock(mod_ua.mutex); - - /* Done. */ - return PJ_SUCCESS; -} - - -PJ_DEF(pjsip_dialog*) pjsip_rdata_get_dlg( pjsip_rx_data *rdata ) -{ - return (pjsip_dialog*) rdata->endpt_info.mod_data[mod_ua.mod.id]; -} - -PJ_DEF(pjsip_dialog*) pjsip_tsx_get_dlg( pjsip_transaction *tsx ) -{ - return (pjsip_dialog*) tsx->mod_data[mod_ua.mod.id]; -} - - -/* - * Retrieve the current number of dialog-set currently registered - * in the hash table. - */ -PJ_DEF(unsigned) pjsip_ua_get_dlg_set_count(void) -{ - unsigned count; - - PJ_ASSERT_RETURN(mod_ua.endpt, 0); - - pj_mutex_lock(mod_ua.mutex); - count = pj_hash_count(mod_ua.dlg_table); - pj_mutex_unlock(mod_ua.mutex); - - return count; -} - - -/* - * Find a dialog. - */ -PJ_DEF(pjsip_dialog*) pjsip_ua_find_dialog(const pj_str_t *call_id, - const pj_str_t *local_tag, - const pj_str_t *remote_tag, - pj_bool_t lock_dialog) -{ - struct dlg_set *dlg_set; - pjsip_dialog *dlg; - - PJ_ASSERT_RETURN(call_id && local_tag && remote_tag, NULL); - - /* Lock user agent. */ - pj_mutex_lock(mod_ua.mutex); - - /* Lookup the dialog set. */ - dlg_set = (struct dlg_set*) - pj_hash_get(mod_ua.dlg_table, local_tag->ptr, local_tag->slen, - NULL); - if (dlg_set == NULL) { - /* Not found */ - pj_mutex_unlock(mod_ua.mutex); - return NULL; - } - - /* Dialog set is found, now find the matching dialog based on the - * remote tag. - */ - dlg = dlg_set->dlg_list.next; - while (dlg != (pjsip_dialog*)&dlg_set->dlg_list) { - if (pj_strcmp(&dlg->remote.info->tag, remote_tag) == 0) - break; - dlg = dlg->next; - } - - if (dlg == (pjsip_dialog*)&dlg_set->dlg_list) { - /* Not found */ - pj_mutex_unlock(mod_ua.mutex); - return NULL; - } - - /* Dialog has been found. It SHOULD have the right Call-ID!! */ - PJ_ASSERT_ON_FAIL(pj_strcmp(&dlg->call_id->id, call_id)==0, - {pj_mutex_unlock(mod_ua.mutex); return NULL;}); - - if (lock_dialog) { - if (pjsip_dlg_try_inc_lock(dlg) != PJ_SUCCESS) { - - /* - * Unable to acquire dialog's lock while holding the user - * agent's mutex. Release the UA mutex before retrying once - * more. - * - * THIS MAY CAUSE RACE CONDITION! - */ - - /* Unlock user agent. */ - pj_mutex_unlock(mod_ua.mutex); - /* Lock dialog */ - pjsip_dlg_inc_lock(dlg); - - } else { - /* Unlock user agent. */ - pj_mutex_unlock(mod_ua.mutex); - } - - } else { - /* Unlock user agent. */ - pj_mutex_unlock(mod_ua.mutex); - } - - return dlg; -} - - -/* - * Find the first dialog in dialog set in hash table for an incoming message. - */ -static struct dlg_set *find_dlg_set_for_msg( pjsip_rx_data *rdata ) -{ - /* CANCEL message doesn't have To tag, so we must lookup the dialog - * by finding the INVITE UAS transaction being cancelled. - */ - if (rdata->msg_info.cseq->method.id == PJSIP_CANCEL_METHOD) { - - pjsip_dialog *dlg; - - /* Create key for the rdata, but this time, use INVITE as the - * method. - */ - pj_str_t key; - pjsip_role_e role; - pjsip_transaction *tsx; - - if (rdata->msg_info.msg->type == PJSIP_REQUEST_MSG) - role = PJSIP_ROLE_UAS; - else - role = PJSIP_ROLE_UAC; - - pjsip_tsx_create_key(rdata->tp_info.pool, &key, role, - pjsip_get_invite_method(), rdata); - - /* Lookup the INVITE transaction */ - tsx = pjsip_tsx_layer_find_tsx(&key, PJ_TRUE); - - /* We should find the dialog attached to the INVITE transaction */ - if (tsx) { - dlg = (pjsip_dialog*) tsx->mod_data[mod_ua.mod.id]; - pj_mutex_unlock(tsx->mutex); - - /* Dlg may be NULL on some extreme condition - * (e.g. during debugging where initially there is a dialog) - */ - return dlg ? (struct dlg_set*) dlg->dlg_set : NULL; - - } else { - return NULL; - } - - - } else { - pj_str_t *tag; - struct dlg_set *dlg_set; - - if (rdata->msg_info.msg->type == PJSIP_REQUEST_MSG) - tag = &rdata->msg_info.to->tag; - else - tag = &rdata->msg_info.from->tag; - - /* Lookup the dialog set. */ - dlg_set = (struct dlg_set*) - pj_hash_get(mod_ua.dlg_table, tag->ptr, tag->slen, NULL); - return dlg_set; - } -} - -/* On received requests. */ -static pj_bool_t mod_ua_on_rx_request(pjsip_rx_data *rdata) -{ - struct dlg_set *dlg_set; - pj_str_t *from_tag; - pjsip_dialog *dlg; - pj_status_t status; - - /* Optimized path: bail out early if request is not CANCEL and it doesn't - * have To tag - */ - if (rdata->msg_info.to->tag.slen == 0 && - rdata->msg_info.msg->line.req.method.id != PJSIP_CANCEL_METHOD) - { - return PJ_FALSE; - } - - /* Incoming REGISTER may have tags in it */ - if (rdata->msg_info.msg->line.req.method.id == PJSIP_REGISTER_METHOD) - return PJ_FALSE; - -retry_on_deadlock: - - /* Lock user agent before looking up the dialog hash table. */ - pj_mutex_lock(mod_ua.mutex); - - /* Lookup the dialog set, based on the To tag header. */ - dlg_set = find_dlg_set_for_msg(rdata); - - /* If dialog is not found, respond with 481 (Call/Transaction - * Does Not Exist). - */ - if (dlg_set == NULL) { - /* Unable to find dialog. */ - pj_mutex_unlock(mod_ua.mutex); - - if (rdata->msg_info.msg->line.req.method.id != PJSIP_ACK_METHOD) { - PJ_LOG(5,(THIS_FILE, - "Unable to find dialogset for %s, answering with 481", - pjsip_rx_data_get_info(rdata))); - - /* Respond with 481 . */ - pjsip_endpt_respond_stateless( mod_ua.endpt, rdata, 481, NULL, - NULL, NULL ); - } - return PJ_TRUE; - } - - /* Dialog set has been found. - * Find the dialog in the dialog set based on the content of the remote - * tag. - */ - from_tag = &rdata->msg_info.from->tag; - dlg = dlg_set->dlg_list.next; - while (dlg != (pjsip_dialog*)&dlg_set->dlg_list) { - - if (pj_strcmp(&dlg->remote.info->tag, from_tag) == 0) - break; - - dlg = dlg->next; - } - - /* Dialog may not be found, e.g. in this case: - * - UAC sends SUBSCRIBE, then UAS sends NOTIFY before answering - * SUBSCRIBE request with 2xx. - * - * In this case, we can accept the request ONLY when the original - * dialog still has empty To tag. - */ - if (dlg == (pjsip_dialog*)&dlg_set->dlg_list) { - - pjsip_dialog *first_dlg = dlg_set->dlg_list.next; - - if (first_dlg->remote.info->tag.slen != 0) { - /* Not found. Mulfunction UAC? */ - pj_mutex_unlock(mod_ua.mutex); - - if (rdata->msg_info.msg->line.req.method.id != PJSIP_ACK_METHOD) { - PJ_LOG(5,(THIS_FILE, - "Unable to find dialog for %s, answering with 481", - pjsip_rx_data_get_info(rdata))); - - pjsip_endpt_respond_stateless(mod_ua.endpt, rdata, - PJSIP_SC_CALL_TSX_DOES_NOT_EXIST, - NULL, NULL, NULL); - } else { - PJ_LOG(5,(THIS_FILE, - "Unable to find dialog for %s", - pjsip_rx_data_get_info(rdata))); - } - return PJ_TRUE; - } - - dlg = first_dlg; - } - - /* Mark the dialog id of the request. */ - rdata->endpt_info.mod_data[mod_ua.mod.id] = dlg; - - /* Try to lock the dialog */ - PJ_LOG(6,(dlg->obj_name, "UA layer acquiring dialog lock for request")); - status = pjsip_dlg_try_inc_lock(dlg); - if (status != PJ_SUCCESS) { - /* Failed to acquire dialog mutex immediately, this could be - * because of deadlock. Release UA mutex, yield, and retry - * the whole thing once again. - */ - pj_mutex_unlock(mod_ua.mutex); - pj_thread_sleep(0); - goto retry_on_deadlock; - } - - /* Done with processing in UA layer, release lock */ - pj_mutex_unlock(mod_ua.mutex); - - /* Pass to dialog. */ - pjsip_dlg_on_rx_request(dlg, rdata); - - /* Unlock the dialog. This may destroy the dialog */ - pjsip_dlg_dec_lock(dlg); - - /* Report as handled. */ - return PJ_TRUE; -} - - -/* On rx response notification. - */ -static pj_bool_t mod_ua_on_rx_response(pjsip_rx_data *rdata) -{ - pjsip_transaction *tsx; - struct dlg_set *dlg_set; - pjsip_dialog *dlg; - pj_status_t status; - - /* - * Find the dialog instance for the response. - * All outgoing dialog requests are sent statefully, which means - * there will be an UAC transaction associated with this response, - * and the dialog instance will be recorded in that transaction. - * - * But even when transaction is found, there is possibility that - * the response is a forked response. - */ - -retry_on_deadlock: - - dlg = NULL; - - /* Lock user agent dlg table before we're doing anything. */ - pj_mutex_lock(mod_ua.mutex); - - /* Check if transaction is present. */ - tsx = pjsip_rdata_get_tsx(rdata); - if (tsx) { - /* Check if dialog is present in the transaction. */ - dlg = pjsip_tsx_get_dlg(tsx); - if (!dlg) { - /* Unlock dialog hash table. */ - pj_mutex_unlock(mod_ua.mutex); - return PJ_FALSE; - } - - /* Get the dialog set. */ - dlg_set = (struct dlg_set*) dlg->dlg_set; - - /* Even if transaction is found and (candidate) dialog has been - * identified, it's possible that the request has forked. - */ - - } else { - /* Transaction is not present. - * Check if this is a 2xx/OK response to INVITE, which in this - * case the response will be handled directly by the - * dialog. - */ - pjsip_cseq_hdr *cseq_hdr = rdata->msg_info.cseq; - - if (cseq_hdr->method.id != PJSIP_INVITE_METHOD || - rdata->msg_info.msg->line.status.code / 100 != 2) - { - /* Not a 2xx response to INVITE. - * This must be some stateless response sent by other modules, - * or a very late response. - */ - /* Unlock dialog hash table. */ - pj_mutex_unlock(mod_ua.mutex); - return PJ_FALSE; - } - - - /* Get the dialog set. */ - dlg_set = (struct dlg_set*) - pj_hash_get(mod_ua.dlg_table, - rdata->msg_info.from->tag.ptr, - rdata->msg_info.from->tag.slen, - NULL); - - if (!dlg_set) { - /* Unlock dialog hash table. */ - pj_mutex_unlock(mod_ua.mutex); - - /* Strayed 2xx response!! */ - PJ_LOG(4,(THIS_FILE, - "Received strayed 2xx response (no dialog is found)" - " from %s:%d: %s", - rdata->pkt_info.src_name, rdata->pkt_info.src_port, - pjsip_rx_data_get_info(rdata))); - - return PJ_TRUE; - } - } - - /* At this point, we must have the dialog set, and the dialog set - * must have a dialog in the list. - */ - pj_assert(dlg_set && !pj_list_empty(&dlg_set->dlg_list)); - - /* Check for forked response. - * Request will fork only for the initial INVITE request. - */ - - //This doesn't work when there is authentication challenge, since - //first_cseq evaluation will yield false. - //if (rdata->msg_info.cseq->method.id == PJSIP_INVITE_METHOD && - // rdata->msg_info.cseq->cseq == dlg_set->dlg_list.next->local.first_cseq) - - if (rdata->msg_info.cseq->method.id == PJSIP_INVITE_METHOD) { - - int st_code = rdata->msg_info.msg->line.status.code; - pj_str_t *to_tag = &rdata->msg_info.to->tag; - - dlg = dlg_set->dlg_list.next; - - while (dlg != (pjsip_dialog*)&dlg_set->dlg_list) { - - /* If there is dialog with no remote tag (i.e. dialog has not - * been established yet), then send this response to that - * dialog. - */ - if (dlg->remote.info->tag.slen == 0) - break; - - /* Otherwise find the one with matching To tag. */ - if (pj_strcmp(to_tag, &dlg->remote.info->tag) == 0) - break; - - dlg = dlg->next; - } - - /* If no dialog with matching remote tag is found, this must be - * a forked response. Respond to this ONLY when response is non-100 - * provisional response OR a 2xx response. - */ - if (dlg == (pjsip_dialog*)&dlg_set->dlg_list && - ((st_code/100==1 && st_code!=100) || st_code/100==2)) - { - - PJ_LOG(5,(THIS_FILE, - "Received forked %s for existing dialog %s", - pjsip_rx_data_get_info(rdata), - dlg_set->dlg_list.next->obj_name)); - - /* Report to application about forked condition. - * Application can either create a dialog or ignore the response. - */ - if (mod_ua.param.on_dlg_forked) { - dlg = (*mod_ua.param.on_dlg_forked)(dlg_set->dlg_list.next, - rdata); - if (dlg == NULL) { - pj_mutex_unlock(mod_ua.mutex); - return PJ_TRUE; - } - } else { - dlg = dlg_set->dlg_list.next; - - PJ_LOG(4,(THIS_FILE, - "Unhandled forked %s from %s:%d, response will be " - "handed over to the first dialog", - pjsip_rx_data_get_info(rdata), - rdata->pkt_info.src_name, rdata->pkt_info.src_port)); - } - - } else if (dlg == (pjsip_dialog*)&dlg_set->dlg_list) { - - /* For 100 or non-2xx response which has different To tag, - * pass the response to the first dialog. - */ - - dlg = dlg_set->dlg_list.next; - - } - - } else { - /* Either this is a non-INVITE response, or subsequent INVITE - * within dialog. The dialog should have been identified when - * the transaction was found. - */ - pj_assert(tsx != NULL); - pj_assert(dlg != NULL); - } - - /* The dialog must have been found. */ - pj_assert(dlg != NULL); - - /* Put the dialog instance in the rdata. */ - rdata->endpt_info.mod_data[mod_ua.mod.id] = dlg; - - /* Attempt to acquire lock to the dialog. */ - PJ_LOG(6,(dlg->obj_name, "UA layer acquiring dialog lock for response")); - status = pjsip_dlg_try_inc_lock(dlg); - if (status != PJ_SUCCESS) { - /* Failed to acquire dialog mutex. This could indicate a deadlock - * situation, and for safety, try to avoid deadlock by releasing - * UA mutex, yield, and retry the whole processing once again. - */ - pj_mutex_unlock(mod_ua.mutex); - pj_thread_sleep(0); - goto retry_on_deadlock; - } - - /* We're done with processing in the UA layer, we can release the mutex */ - pj_mutex_unlock(mod_ua.mutex); - - /* Pass the response to the dialog. */ - pjsip_dlg_on_rx_response(dlg, rdata); - - /* Unlock the dialog. This may destroy the dialog. */ - pjsip_dlg_dec_lock(dlg); - - /* Done. */ - return PJ_TRUE; -} - - -#if PJ_LOG_MAX_LEVEL >= 3 -static void print_dialog( const char *title, - pjsip_dialog *dlg, char *buf, pj_size_t size) -{ - int len; - char userinfo[128]; - - len = pjsip_hdr_print_on(dlg->remote.info, userinfo, sizeof(userinfo)); - if (len < 0) - pj_ansi_strcpy(userinfo, "<--uri too long-->"); - else - userinfo[len] = '\0'; - - len = pj_ansi_snprintf(buf, size, "%s[%s] %s", - title, - (dlg->state==PJSIP_DIALOG_STATE_NULL ? " - " : - "est"), - userinfo); - if (len < 1 || len >= (int)size) { - pj_ansi_strcpy(buf, "<--uri too long-->"); - } else - buf[len] = '\0'; -} -#endif - -/* - * Dump user agent contents (e.g. all dialogs). - */ -PJ_DEF(void) pjsip_ua_dump(pj_bool_t detail) -{ -#if PJ_LOG_MAX_LEVEL >= 3 - pj_hash_iterator_t itbuf, *it; - char dlginfo[128]; - - pj_mutex_lock(mod_ua.mutex); - - PJ_LOG(3, (THIS_FILE, "Number of dialog sets: %u", - pj_hash_count(mod_ua.dlg_table))); - - if (detail && pj_hash_count(mod_ua.dlg_table)) { - PJ_LOG(3, (THIS_FILE, "Dumping dialog sets:")); - it = pj_hash_first(mod_ua.dlg_table, &itbuf); - for (; it != NULL; it = pj_hash_next(mod_ua.dlg_table, it)) { - struct dlg_set *dlg_set; - pjsip_dialog *dlg; - const char *title; - - dlg_set = (struct dlg_set*) pj_hash_this(mod_ua.dlg_table, it); - if (!dlg_set || pj_list_empty(&dlg_set->dlg_list)) continue; - - /* First dialog in dialog set. */ - dlg = dlg_set->dlg_list.next; - if (dlg->role == PJSIP_ROLE_UAC) - title = " [out] "; - else - title = " [in] "; - - print_dialog(title, dlg, dlginfo, sizeof(dlginfo)); - PJ_LOG(3,(THIS_FILE, "%s", dlginfo)); - - /* Next dialog in dialog set (forked) */ - dlg = dlg->next; - while (dlg != (pjsip_dialog*) &dlg_set->dlg_list) { - print_dialog(" [forked] ", dlg, dlginfo, sizeof(dlginfo)); - dlg = dlg->next; - } - } - } - - pj_mutex_unlock(mod_ua.mutex); -#endif -} - diff --git a/res/pjproject/pjsip/src/pjsip/sip_uri.c b/res/pjproject/pjsip/src/pjsip/sip_uri.c deleted file mode 100644 index 4bd17f6848..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_uri.c +++ /dev/null @@ -1,729 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Generic parameter manipulation. - */ -PJ_DEF(pjsip_param*) pjsip_param_find( const pjsip_param *param_list, - const pj_str_t *name ) -{ - pjsip_param *p = (pjsip_param*)param_list->next; - while (p != param_list) { - if (pj_stricmp(&p->name, name)==0) - return p; - p = p->next; - } - return NULL; -} - -PJ_DEF(int) pjsip_param_cmp( const pjsip_param *param_list1, - const pjsip_param *param_list2, - pj_bool_t ig_nf) -{ - const pjsip_param *p1; - - if ((ig_nf & 1)==0 && pj_list_size(param_list1)!=pj_list_size(param_list2)) - return 1; - - p1 = param_list1->next; - while (p1 != param_list1) { - const pjsip_param *p2; - p2 = pjsip_param_find(param_list2, &p1->name); - if (p2 ) { - int rc = pj_stricmp(&p1->value, &p2->value); - if (rc != 0) - return rc; - } else if ((ig_nf & 1)==0) - return 1; - - p1 = p1->next; - } - - return 0; -} - -PJ_DEF(void) pjsip_param_clone( pj_pool_t *pool, pjsip_param *dst_list, - const pjsip_param *src_list) -{ - const pjsip_param *p = src_list->next; - - pj_list_init(dst_list); - while (p && p != src_list) { - pjsip_param *new_param = PJ_POOL_ALLOC_T(pool, pjsip_param); - pj_strdup(pool, &new_param->name, &p->name); - pj_strdup(pool, &new_param->value, &p->value); - pj_list_insert_before(dst_list, new_param); - p = p->next; - } -} - - -PJ_DEF(void) pjsip_param_shallow_clone( pj_pool_t *pool, - pjsip_param *dst_list, - const pjsip_param *src_list) -{ - const pjsip_param *p = src_list->next; - - pj_list_init(dst_list); - while (p != src_list) { - pjsip_param *new_param = PJ_POOL_ALLOC_T(pool, pjsip_param); - new_param->name = p->name; - new_param->value = p->value; - pj_list_insert_before(dst_list, new_param); - p = p->next; - } -} - -PJ_DEF(pj_ssize_t) pjsip_param_print_on( const pjsip_param *param_list, - char *buf, pj_size_t size, - const pj_cis_t *pname_spec, - const pj_cis_t *pvalue_spec, - int sep) -{ - const pjsip_param *p; - char *startbuf; - char *endbuf; - int printed; - - p = param_list->next; - if (p == NULL || p == param_list) - return 0; - - startbuf = buf; - endbuf = buf + size; - - PJ_UNUSED_ARG(pname_spec); - - do { - *buf++ = (char)sep; - copy_advance_escape(buf, p->name, (*pname_spec)); - if (p->value.slen) { - *buf++ = '='; - if (*p->value.ptr == '"') - copy_advance(buf, p->value); - else - copy_advance_escape(buf, p->value, (*pvalue_spec)); - } - p = p->next; - if (sep == '?') sep = '&'; - } while (p != param_list); - - return buf-startbuf; -} - - -/* - * URI stuffs - */ -#define IS_SIPS(url) ((url)->vptr==&sips_url_vptr) - -static const pj_str_t *pjsip_url_get_scheme( const pjsip_sip_uri* ); -static const pj_str_t *pjsips_url_get_scheme( const pjsip_sip_uri* ); -static const pj_str_t *pjsip_name_addr_get_scheme( const pjsip_name_addr * ); -static void *pjsip_get_uri( pjsip_uri *uri ); -static void *pjsip_name_addr_get_uri( pjsip_name_addr *name ); - -static pj_str_t sip_str = { "sip", 3 }; -static pj_str_t sips_str = { "sips", 4 }; - -static pjsip_name_addr* pjsip_name_addr_clone( pj_pool_t *pool, - const pjsip_name_addr *rhs); -static pj_ssize_t pjsip_name_addr_print(pjsip_uri_context_e context, - const pjsip_name_addr *name, - char *buf, pj_size_t size); -static int pjsip_name_addr_compare( pjsip_uri_context_e context, - const pjsip_name_addr *naddr1, - const pjsip_name_addr *naddr2); -static pj_ssize_t pjsip_url_print( pjsip_uri_context_e context, - const pjsip_sip_uri *url, - char *buf, pj_size_t size); -static int pjsip_url_compare( pjsip_uri_context_e context, - const pjsip_sip_uri *url1, - const pjsip_sip_uri *url2); -static pjsip_sip_uri* pjsip_url_clone(pj_pool_t *pool, - const pjsip_sip_uri *rhs); - -typedef const pj_str_t* (*P_GET_SCHEME)(const void*); -typedef void* (*P_GET_URI)(void*); -typedef pj_ssize_t (*P_PRINT_URI)(pjsip_uri_context_e,const void *, - char*,pj_size_t); -typedef int (*P_CMP_URI)(pjsip_uri_context_e, const void*, - const void*); -typedef void* (*P_CLONE)(pj_pool_t*, const void*); - - -static pjsip_uri_vptr sip_url_vptr = -{ - (P_GET_SCHEME) &pjsip_url_get_scheme, - (P_GET_URI) &pjsip_get_uri, - (P_PRINT_URI) &pjsip_url_print, - (P_CMP_URI) &pjsip_url_compare, - (P_CLONE) &pjsip_url_clone -}; - -static pjsip_uri_vptr sips_url_vptr = -{ - (P_GET_SCHEME) &pjsips_url_get_scheme, - (P_GET_URI) &pjsip_get_uri, - (P_PRINT_URI) &pjsip_url_print, - (P_CMP_URI) &pjsip_url_compare, - (P_CLONE) &pjsip_url_clone -}; - -static pjsip_uri_vptr name_addr_vptr = -{ - (P_GET_SCHEME) &pjsip_name_addr_get_scheme, - (P_GET_URI) &pjsip_name_addr_get_uri, - (P_PRINT_URI) &pjsip_name_addr_print, - (P_CMP_URI) &pjsip_name_addr_compare, - (P_CLONE) &pjsip_name_addr_clone -}; - -static const pj_str_t *pjsip_url_get_scheme(const pjsip_sip_uri *url) -{ - PJ_UNUSED_ARG(url); - return &sip_str; -} - -static const pj_str_t *pjsips_url_get_scheme(const pjsip_sip_uri *url) -{ - PJ_UNUSED_ARG(url); - return &sips_str; -} - -static void *pjsip_get_uri( pjsip_uri *uri ) -{ - return uri; -} - -static void *pjsip_name_addr_get_uri( pjsip_name_addr *name ) -{ - return pjsip_uri_get_uri(name->uri); -} - -PJ_DEF(void) pjsip_sip_uri_set_secure( pjsip_sip_uri *url, - pj_bool_t secure ) -{ - url->vptr = secure ? &sips_url_vptr : &sip_url_vptr; -} - -PJ_DEF(void) pjsip_sip_uri_init(pjsip_sip_uri *url, pj_bool_t secure) -{ - pj_bzero(url, sizeof(*url)); - url->ttl_param = -1; - pjsip_sip_uri_set_secure(url, secure); - pj_list_init(&url->other_param); - pj_list_init(&url->header_param); -} - -PJ_DEF(pjsip_sip_uri*) pjsip_sip_uri_create( pj_pool_t *pool, - pj_bool_t secure ) -{ - pjsip_sip_uri *url = PJ_POOL_ALLOC_T(pool, pjsip_sip_uri); - pjsip_sip_uri_init(url, secure); - return url; -} - -static pj_ssize_t pjsip_url_print( pjsip_uri_context_e context, - const pjsip_sip_uri *url, - char *buf, pj_size_t size) -{ - int printed; - char *startbuf = buf; - char *endbuf = buf+size; - const pj_str_t *scheme; - const pjsip_parser_const_t *pc = pjsip_parser_const(); - - *buf = '\0'; - - /* Print scheme ("sip:" or "sips:") */ - scheme = pjsip_uri_get_scheme(url); - copy_advance_check(buf, *scheme); - *buf++ = ':'; - - /* Print "user:password@", if any. */ - if (url->user.slen) { - copy_advance_escape(buf, url->user, pc->pjsip_USER_SPEC); - if (url->passwd.slen) { - *buf++ = ':'; - copy_advance_escape(buf, url->passwd, pc->pjsip_PASSWD_SPEC); - } - - *buf++ = '@'; - } - - /* Print host. */ - pj_assert(url->host.slen != 0); - /* Detect IPv6 IP address */ - if (pj_memchr(url->host.ptr, ':', url->host.slen)) { - copy_advance_pair_quote_cond(buf, "", 0, url->host, '[', ']'); - } else { - copy_advance_check(buf, url->host); - } - - /* Only print port if it is explicitly specified. - * Port is not allowed in To and From header, see Table 1 in - * RFC 3261 Section 19.1.1 - */ - /* Note: ticket #1141 adds run-time setting to allow port number to - * appear in From/To header. Default is still false. - */ - if (url->port && - (context != PJSIP_URI_IN_FROMTO_HDR || - pjsip_cfg()->endpt.allow_port_in_fromto_hdr)) - { - if (endbuf - buf < 10) - return -1; - - *buf++ = ':'; - printed = pj_utoa(url->port, buf); - buf += printed; - } - - /* User param is allowed in all contexes */ - copy_advance_pair_check(buf, ";user=", 6, url->user_param); - - /* Method param is only allowed in external/other context. */ - if (context == PJSIP_URI_IN_OTHER) { - copy_advance_pair_escape(buf, ";method=", 8, url->method_param, - pc->pjsip_PARAM_CHAR_SPEC); - } - - /* Transport is not allowed in From/To header. */ - if (context != PJSIP_URI_IN_FROMTO_HDR) { - copy_advance_pair_escape(buf, ";transport=", 11, url->transport_param, - pc->pjsip_PARAM_CHAR_SPEC); - } - - /* TTL param is not allowed in From, To, Route, and Record-Route header. */ - if (url->ttl_param >= 0 && context != PJSIP_URI_IN_FROMTO_HDR && - context != PJSIP_URI_IN_ROUTING_HDR) - { - if (endbuf - buf < 15) - return -1; - pj_memcpy(buf, ";ttl=", 5); - printed = pj_utoa(url->ttl_param, buf+5); - buf += printed + 5; - } - - /* maddr param is not allowed in From and To header. */ - if (context != PJSIP_URI_IN_FROMTO_HDR && url->maddr_param.slen) { - /* Detect IPv6 IP address */ - if (pj_memchr(url->maddr_param.ptr, ':', url->maddr_param.slen)) { - copy_advance_pair_quote_cond(buf, ";maddr=", 7, url->maddr_param, - '[', ']'); - } else { - copy_advance_pair_escape(buf, ";maddr=", 7, url->maddr_param, - pc->pjsip_PARAM_CHAR_SPEC); - } - } - - /* lr param is not allowed in From, To, and Contact header. */ - if (url->lr_param && context != PJSIP_URI_IN_FROMTO_HDR && - context != PJSIP_URI_IN_CONTACT_HDR) - { - pj_str_t lr = { ";lr", 3 }; - if (endbuf - buf < 3) - return -1; - copy_advance_check(buf, lr); - } - - /* Other param. */ - printed = pjsip_param_print_on(&url->other_param, buf, endbuf-buf, - &pc->pjsip_PARAM_CHAR_SPEC, - &pc->pjsip_PARAM_CHAR_SPEC, ';'); - if (printed < 0) - return -1; - buf += printed; - - /* Header param. - * Header param is only allowed in these contexts: - * - PJSIP_URI_IN_CONTACT_HDR - * - PJSIP_URI_IN_OTHER - */ - if (context == PJSIP_URI_IN_CONTACT_HDR || context == PJSIP_URI_IN_OTHER) { - printed = pjsip_param_print_on(&url->header_param, buf, endbuf-buf, - &pc->pjsip_HDR_CHAR_SPEC, - &pc->pjsip_HDR_CHAR_SPEC, '?'); - if (printed < 0) - return -1; - buf += printed; - } - - *buf = '\0'; - return buf-startbuf; -} - -static pj_status_t pjsip_url_compare( pjsip_uri_context_e context, - const pjsip_sip_uri *url1, - const pjsip_sip_uri *url2) -{ - const pjsip_param *p1; - - /* - * Compare two SIP URL's according to Section 19.1.4 of RFC 3261. - */ - - /* SIP and SIPS URI are never equivalent. - * Note: just compare the vptr to avoid string comparison. - * Pretty neat huh!! - */ - if (url1->vptr != url2->vptr) - return PJSIP_ECMPSCHEME; - - /* Comparison of the userinfo of SIP and SIPS URIs is case-sensitive. - * This includes userinfo containing passwords or formatted as - * telephone-subscribers. - */ - if (pj_strcmp(&url1->user, &url2->user) != 0) - return PJSIP_ECMPUSER; - if (pj_strcmp(&url1->passwd, &url2->passwd) != 0) - return PJSIP_ECMPPASSWD; - - /* Comparison of all other components of the URI is - * case-insensitive unless explicitly defined otherwise. - */ - - /* The ordering of parameters and header fields is not significant - * in comparing SIP and SIPS URIs. - */ - - /* Characters other than those in the reserved set (see RFC 2396 [5]) - * are equivalent to their encoding. - */ - - /* An IP address that is the result of a DNS lookup of a host name - * does not match that host name. - */ - if (pj_stricmp(&url1->host, &url2->host) != 0) - return PJSIP_ECMPHOST; - - /* A URI omitting any component with a default value will not match a URI - * explicitly containing that component with its default value. - * For instance, a URI omitting the optional port component will not match - * a URI explicitly declaring port 5060. - * The same is true for the transport-parameter, ttl-parameter, - * user-parameter, and method components. - */ - - /* Port is not allowed in To and From header. - */ - if (context != PJSIP_URI_IN_FROMTO_HDR) { - if (url1->port != url2->port) - return PJSIP_ECMPPORT; - } - /* Transport is not allowed in From/To header. */ - if (context != PJSIP_URI_IN_FROMTO_HDR) { - if (pj_stricmp(&url1->transport_param, &url2->transport_param) != 0) - return PJSIP_ECMPTRANSPORTPRM; - } - /* TTL param is not allowed in From, To, Route, and Record-Route header. */ - if (context != PJSIP_URI_IN_FROMTO_HDR && - context != PJSIP_URI_IN_ROUTING_HDR) - { - if (url1->ttl_param != url2->ttl_param) - return PJSIP_ECMPTTLPARAM; - } - /* User param is allowed in all contexes */ - if (pj_stricmp(&url1->user_param, &url2->user_param) != 0) - return PJSIP_ECMPUSERPARAM; - /* Method param is only allowed in external/other context. */ - if (context == PJSIP_URI_IN_OTHER) { - if (pj_stricmp(&url1->method_param, &url2->method_param) != 0) - return PJSIP_ECMPMETHODPARAM; - } - /* maddr param is not allowed in From and To header. */ - if (context != PJSIP_URI_IN_FROMTO_HDR) { - if (pj_stricmp(&url1->maddr_param, &url2->maddr_param) != 0) - return PJSIP_ECMPMADDRPARAM; - } - - /* lr parameter is ignored (?) */ - /* lr param is not allowed in From, To, and Contact header. */ - - - /* All other uri-parameters appearing in only one URI are ignored when - * comparing the URIs. - */ - if (pjsip_param_cmp(&url1->other_param, &url2->other_param, 1)!=0) - return PJSIP_ECMPOTHERPARAM; - - /* URI header components are never ignored. Any present header component - * MUST be present in both URIs and match for the URIs to match. - * The matching rules are defined for each header field in Section 20. - */ - p1 = url1->header_param.next; - while (p1 != &url1->header_param) { - const pjsip_param *p2; - p2 = pjsip_param_find(&url2->header_param, &p1->name); - if (p2) { - /* It seems too much to compare two header params according to - * the rule of each header. We'll just compare them string to - * string.. - */ - if (pj_stricmp(&p1->value, &p2->value) != 0) - return PJSIP_ECMPHEADERPARAM; - } else { - return PJSIP_ECMPHEADERPARAM; - } - p1 = p1->next; - } - - /* Equal!! Pheuww.. */ - return PJ_SUCCESS; -} - - -PJ_DEF(void) pjsip_sip_uri_assign(pj_pool_t *pool, pjsip_sip_uri *url, - const pjsip_sip_uri *rhs) -{ - pj_strdup( pool, &url->user, &rhs->user); - pj_strdup( pool, &url->passwd, &rhs->passwd); - pj_strdup( pool, &url->host, &rhs->host); - url->port = rhs->port; - pj_strdup( pool, &url->user_param, &rhs->user_param); - pj_strdup( pool, &url->method_param, &rhs->method_param); - pj_strdup( pool, &url->transport_param, &rhs->transport_param); - url->ttl_param = rhs->ttl_param; - pj_strdup( pool, &url->maddr_param, &rhs->maddr_param); - pjsip_param_clone(pool, &url->other_param, &rhs->other_param); - pjsip_param_clone(pool, &url->header_param, &rhs->header_param); - url->lr_param = rhs->lr_param; -} - -static pjsip_sip_uri* pjsip_url_clone(pj_pool_t *pool, const pjsip_sip_uri *rhs) -{ - pjsip_sip_uri *url = PJ_POOL_ALLOC_T(pool, pjsip_sip_uri); - if (!url) - return NULL; - - pjsip_sip_uri_init(url, IS_SIPS(rhs)); - pjsip_sip_uri_assign(pool, url, rhs); - return url; -} - -static const pj_str_t *pjsip_name_addr_get_scheme(const pjsip_name_addr *name) -{ - pj_assert(name->uri != NULL); - return pjsip_uri_get_scheme(name->uri); -} - -PJ_DEF(void) pjsip_name_addr_init(pjsip_name_addr *name) -{ - name->vptr = &name_addr_vptr; - name->uri = NULL; - name->display.slen = 0; - name->display.ptr = NULL; -} - -PJ_DEF(pjsip_name_addr*) pjsip_name_addr_create(pj_pool_t *pool) -{ - pjsip_name_addr *name_addr = PJ_POOL_ALLOC_T(pool, pjsip_name_addr); - pjsip_name_addr_init(name_addr); - return name_addr; -} - -static pj_ssize_t pjsip_name_addr_print(pjsip_uri_context_e context, - const pjsip_name_addr *name, - char *buf, pj_size_t size) -{ - int printed; - char *startbuf = buf; - char *endbuf = buf + size; - pjsip_uri *uri; - - uri = (pjsip_uri*) pjsip_uri_get_uri(name->uri); - pj_assert(uri != NULL); - - if (context != PJSIP_URI_IN_REQ_URI) { - if (name->display.slen) { - if (endbuf-buf < 8) return -1; - *buf++ = '"'; - copy_advance(buf, name->display); - *buf++ = '"'; - *buf++ = ' '; - } - *buf++ = '<'; - } - - printed = pjsip_uri_print(context,uri, buf, size-(buf-startbuf)); - if (printed < 1) - return -1; - buf += printed; - - if (context != PJSIP_URI_IN_REQ_URI) { - *buf++ = '>'; - } - - *buf = '\0'; - return buf-startbuf; -} - -PJ_DEF(void) pjsip_name_addr_assign(pj_pool_t *pool, pjsip_name_addr *dst, - const pjsip_name_addr *src) -{ - pj_strdup( pool, &dst->display, &src->display); - dst->uri = (pjsip_uri*) pjsip_uri_clone(pool, src->uri); -} - -static pjsip_name_addr* pjsip_name_addr_clone( pj_pool_t *pool, - const pjsip_name_addr *rhs) -{ - pjsip_name_addr *addr = PJ_POOL_ALLOC_T(pool, pjsip_name_addr); - if (!addr) - return NULL; - - pjsip_name_addr_init(addr); - pjsip_name_addr_assign(pool, addr, rhs); - return addr; -} - -static int pjsip_name_addr_compare( pjsip_uri_context_e context, - const pjsip_name_addr *naddr1, - const pjsip_name_addr *naddr2) -{ - int d; - - /* Check that naddr2 is also a name_addr */ - if (naddr1->vptr != naddr2->vptr) - return -1; - - /* I'm not sure whether display name is included in the comparison. */ - if (pj_strcmp(&naddr1->display, &naddr2->display) != 0) { - return -1; - } - - pj_assert( naddr1->uri != NULL ); - pj_assert( naddr2->uri != NULL ); - - /* Compare name-addr as URL */ - d = pjsip_uri_cmp( context, naddr1->uri, naddr2->uri); - if (d) - return d; - - return 0; -} - -/////////////////////////////////////////////////////////////////////////////// - -static const pj_str_t *other_uri_get_scheme( const pjsip_other_uri*); -static void *other_uri_get_uri( pjsip_other_uri*); -static pj_ssize_t other_uri_print( pjsip_uri_context_e context, - const pjsip_other_uri *url, - char *buf, pj_size_t size); -static int other_uri_cmp( pjsip_uri_context_e context, - const pjsip_other_uri *url1, - const pjsip_other_uri *url2); -static pjsip_other_uri* other_uri_clone( pj_pool_t *pool, - const pjsip_other_uri *rhs); - -static pjsip_uri_vptr other_uri_vptr = -{ - (P_GET_SCHEME) &other_uri_get_scheme, - (P_GET_URI) &other_uri_get_uri, - (P_PRINT_URI) &other_uri_print, - (P_CMP_URI) &other_uri_cmp, - (P_CLONE) &other_uri_clone -}; - - -PJ_DEF(pjsip_other_uri*) pjsip_other_uri_create(pj_pool_t *pool) -{ - pjsip_other_uri *uri = PJ_POOL_ZALLOC_T(pool, pjsip_other_uri); - uri->vptr = &other_uri_vptr; - return uri; -} - -static const pj_str_t *other_uri_get_scheme( const pjsip_other_uri *uri ) -{ - return &uri->scheme; -} - -static void *other_uri_get_uri( pjsip_other_uri *uri ) -{ - return uri; -} - -static pj_ssize_t other_uri_print(pjsip_uri_context_e context, - const pjsip_other_uri *uri, - char *buf, pj_size_t size) -{ - char *startbuf = buf; - char *endbuf = buf + size; - - PJ_UNUSED_ARG(context); - - if (uri->scheme.slen + uri->content.slen + 1 > (int)size) - return -1; - - /* Print scheme. */ - copy_advance(buf, uri->scheme); - *buf++ = ':'; - - /* Print content. */ - copy_advance(buf, uri->content); - - return (buf - startbuf); -} - -static int other_uri_cmp(pjsip_uri_context_e context, - const pjsip_other_uri *uri1, - const pjsip_other_uri *uri2) -{ - PJ_UNUSED_ARG(context); - - /* Check that uri2 is also an other_uri */ - if (uri1->vptr != uri2->vptr) - return -1; - - /* Scheme must match. */ - if (pj_stricmp(&uri1->scheme, &uri2->scheme) != 0) { - return PJSIP_ECMPSCHEME; - } - - /* Content must match. */ - if(pj_stricmp(&uri1->content, &uri2->content) != 0) { - return -1; - } - - /* Equal. */ - return 0; -} - -/* Clone *: URI */ -static pjsip_other_uri* other_uri_clone(pj_pool_t *pool, - const pjsip_other_uri *rhs) -{ - pjsip_other_uri *uri = pjsip_other_uri_create(pool); - pj_strdup(pool, &uri->scheme, &rhs->scheme); - pj_strdup(pool, &uri->content, &rhs->content); - - return uri; -} - diff --git a/res/pjproject/pjsip/src/pjsip/sip_util.c b/res/pjproject/pjsip/src/pjsip/sip_util.c deleted file mode 100644 index f238f524cd..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_util.c +++ /dev/null @@ -1,1844 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define THIS_FILE "endpoint" - -static const char *event_str[] = -{ - "UNIDENTIFIED", - "TIMER", - "TX_MSG", - "RX_MSG", - "TRANSPORT_ERROR", - "TSX_STATE", - "USER", -}; - -static pj_str_t str_TEXT = { "text", 4}, - str_PLAIN = { "plain", 5 }; - -/* Add URI to target-set */ -PJ_DEF(pj_status_t) pjsip_target_set_add_uri( pjsip_target_set *tset, - pj_pool_t *pool, - const pjsip_uri *uri, - int q1000) -{ - pjsip_target *t, *pos = NULL; - - PJ_ASSERT_RETURN(tset && pool && uri, PJ_EINVAL); - - /* Set q-value to 1 if it is not set */ - if (q1000 <= 0) - q1000 = 1000; - - /* Scan all the elements to see for duplicates, and at the same time - * get the position where the new element should be inserted to - * based on the q-value. - */ - t = tset->head.next; - while (t != &tset->head) { - if (pjsip_uri_cmp(PJSIP_URI_IN_REQ_URI, t->uri, uri)==PJ_SUCCESS) - return PJ_EEXISTS; - if (pos==NULL && t->q1000 < q1000) - pos = t; - t = t->next; - } - - /* Create new element */ - t = PJ_POOL_ZALLOC_T(pool, pjsip_target); - t->uri = (pjsip_uri*)pjsip_uri_clone(pool, uri); - t->q1000 = q1000; - - /* Insert */ - if (pos == NULL) - pj_list_push_back(&tset->head, t); - else - pj_list_insert_before(pos, t); - - /* Set current target if this is the first URI */ - if (tset->current == NULL) - tset->current = t; - - return PJ_SUCCESS; -} - -/* Add URI's in the Contact header in the message to target-set */ -PJ_DEF(pj_status_t) pjsip_target_set_add_from_msg( pjsip_target_set *tset, - pj_pool_t *pool, - const pjsip_msg *msg) -{ - const pjsip_hdr *hdr; - unsigned added = 0; - - PJ_ASSERT_RETURN(tset && pool && msg, PJ_EINVAL); - - /* Scan for Contact headers and add the URI */ - hdr = msg->hdr.next; - while (hdr != &msg->hdr) { - if (hdr->type == PJSIP_H_CONTACT) { - const pjsip_contact_hdr *cn_hdr = (const pjsip_contact_hdr*)hdr; - - if (!cn_hdr->star) { - pj_status_t rc; - rc = pjsip_target_set_add_uri(tset, pool, cn_hdr->uri, - cn_hdr->q1000); - if (rc == PJ_SUCCESS) - ++added; - } - } - hdr = hdr->next; - } - - return added ? PJ_SUCCESS : PJ_EEXISTS; -} - - -/* Get next target, if any */ -PJ_DEF(pjsip_target*) pjsip_target_set_get_next(const pjsip_target_set *tset) -{ - const pjsip_target *t, *next = NULL; - - t = tset->head.next; - while (t != &tset->head) { - if (PJSIP_IS_STATUS_IN_CLASS(t->code, 200)) { - /* No more target since one target has been successful */ - return NULL; - } - if (PJSIP_IS_STATUS_IN_CLASS(t->code, 600)) { - /* No more target since one target returned global error */ - return NULL; - } - if (t->code==0 && next==NULL) { - /* This would be the next target as long as we don't find - * targets with 2xx or 6xx status after this. - */ - next = t; - } - t = t->next; - } - - return (pjsip_target*)next; -} - - -/* Set current target */ -PJ_DEF(pj_status_t) pjsip_target_set_set_current( pjsip_target_set *tset, - pjsip_target *target) -{ - PJ_ASSERT_RETURN(tset && target, PJ_EINVAL); - PJ_ASSERT_RETURN(pj_list_find_node(tset, target) != NULL, PJ_ENOTFOUND); - - tset->current = target; - - return PJ_SUCCESS; -} - - -/* Assign status to a target */ -PJ_DEF(pj_status_t) pjsip_target_assign_status( pjsip_target *target, - pj_pool_t *pool, - int status_code, - const pj_str_t *reason) -{ - PJ_ASSERT_RETURN(target && pool && status_code && reason, PJ_EINVAL); - - target->code = (pjsip_status_code)status_code; - pj_strdup(pool, &target->reason, reason); - - return PJ_SUCCESS; -} - - - -/* - * Initialize transmit data (msg) with the headers and optional body. - * This will just put the headers in the message as it is. Be carefull - * when calling this function because once a header is put in a message, - * it CAN NOT be put in other message until the first message is deleted, - * because the way the header is put in the list. - * That's why the session will shallow_clone it's headers before calling - * this function. - */ -static void init_request_throw( pjsip_endpoint *endpt, - pjsip_tx_data *tdata, - pjsip_method *method, - pjsip_uri *param_target, - pjsip_from_hdr *param_from, - pjsip_to_hdr *param_to, - pjsip_contact_hdr *param_contact, - pjsip_cid_hdr *param_call_id, - pjsip_cseq_hdr *param_cseq, - const pj_str_t *param_text) -{ - pjsip_msg *msg; - pjsip_msg_body *body; - pjsip_via_hdr *via; - const pjsip_hdr *endpt_hdr; - - /* Create the message. */ - msg = tdata->msg = pjsip_msg_create(tdata->pool, PJSIP_REQUEST_MSG); - - /* Init request URI. */ - pj_memcpy(&msg->line.req.method, method, sizeof(*method)); - msg->line.req.uri = param_target; - - /* Add additional request headers from endpoint. */ - endpt_hdr = pjsip_endpt_get_request_headers(endpt)->next; - while (endpt_hdr != pjsip_endpt_get_request_headers(endpt)) { - pjsip_hdr *hdr = (pjsip_hdr*) - pjsip_hdr_shallow_clone(tdata->pool, endpt_hdr); - pjsip_msg_add_hdr( tdata->msg, hdr ); - endpt_hdr = endpt_hdr->next; - } - - /* Add From header. */ - if (param_from->tag.slen == 0) - pj_create_unique_string(tdata->pool, ¶m_from->tag); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)param_from); - - /* Add To header. */ - pjsip_msg_add_hdr(msg, (pjsip_hdr*)param_to); - - /* Add Contact header. */ - if (param_contact) { - pjsip_msg_add_hdr(msg, (pjsip_hdr*)param_contact); - } - - /* Add Call-ID header. */ - pjsip_msg_add_hdr(msg, (pjsip_hdr*)param_call_id); - - /* Add CSeq header. */ - pjsip_msg_add_hdr(msg, (pjsip_hdr*)param_cseq); - - /* Add a blank Via header in the front of the message. */ - via = pjsip_via_hdr_create(tdata->pool); - via->rport_param = pjsip_cfg()->endpt.disable_rport ? -1 : 0; - pjsip_msg_insert_first_hdr(msg, (pjsip_hdr*)via); - - /* Add header params as request headers */ - if (PJSIP_URI_SCHEME_IS_SIP(param_target) || - PJSIP_URI_SCHEME_IS_SIPS(param_target)) - { - pjsip_sip_uri *uri = (pjsip_sip_uri*) pjsip_uri_get_uri(param_target); - pjsip_param *hparam; - - hparam = uri->header_param.next; - while (hparam != &uri->header_param) { - pjsip_generic_string_hdr *hdr; - - hdr = pjsip_generic_string_hdr_create(tdata->pool, - &hparam->name, - &hparam->value); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)hdr); - hparam = hparam->next; - } - } - - /* Create message body. */ - if (param_text) { - body = PJ_POOL_ZALLOC_T(tdata->pool, pjsip_msg_body); - body->content_type.type = str_TEXT; - body->content_type.subtype = str_PLAIN; - body->data = pj_pool_alloc(tdata->pool, param_text->slen ); - pj_memcpy(body->data, param_text->ptr, param_text->slen); - body->len = param_text->slen; - body->print_body = &pjsip_print_text_body; - msg->body = body; - } - - PJ_LOG(5,(THIS_FILE, "%s created.", - pjsip_tx_data_get_info(tdata))); - -} - -/* - * Create arbitrary request. - */ -PJ_DEF(pj_status_t) pjsip_endpt_create_request( pjsip_endpoint *endpt, - const pjsip_method *method, - const pj_str_t *param_target, - const pj_str_t *param_from, - const pj_str_t *param_to, - const pj_str_t *param_contact, - const pj_str_t *param_call_id, - int param_cseq, - const pj_str_t *param_text, - pjsip_tx_data **p_tdata) -{ - pjsip_uri *target; - pjsip_tx_data *tdata; - pjsip_from_hdr *from; - pjsip_to_hdr *to; - pjsip_contact_hdr *contact; - pjsip_cseq_hdr *cseq = NULL; /* = NULL, warning in VC6 */ - pjsip_cid_hdr *call_id; - pj_str_t tmp; - pj_status_t status; - const pj_str_t STR_CONTACT = { "Contact", 7 }; - PJ_USE_EXCEPTION; - - status = pjsip_endpt_create_tdata(endpt, &tdata); - if (status != PJ_SUCCESS) - return status; - - /* Init reference counter to 1. */ - pjsip_tx_data_add_ref(tdata); - - PJ_TRY { - /* Request target. */ - pj_strdup_with_null(tdata->pool, &tmp, param_target); - target = pjsip_parse_uri( tdata->pool, tmp.ptr, tmp.slen, 0); - if (target == NULL) { - status = PJSIP_EINVALIDREQURI; - goto on_error; - } - - /* From */ - from = pjsip_from_hdr_create(tdata->pool); - pj_strdup_with_null(tdata->pool, &tmp, param_from); - from->uri = pjsip_parse_uri( tdata->pool, tmp.ptr, tmp.slen, - PJSIP_PARSE_URI_AS_NAMEADDR); - if (from->uri == NULL) { - status = PJSIP_EINVALIDHDR; - goto on_error; - } - pj_create_unique_string(tdata->pool, &from->tag); - - /* To */ - to = pjsip_to_hdr_create(tdata->pool); - pj_strdup_with_null(tdata->pool, &tmp, param_to); - to->uri = pjsip_parse_uri( tdata->pool, tmp.ptr, tmp.slen, - PJSIP_PARSE_URI_AS_NAMEADDR); - if (to->uri == NULL) { - status = PJSIP_EINVALIDHDR; - goto on_error; - } - - /* Contact. */ - if (param_contact) { - pj_strdup_with_null(tdata->pool, &tmp, param_contact); - contact = (pjsip_contact_hdr*) - pjsip_parse_hdr(tdata->pool, &STR_CONTACT, tmp.ptr, - tmp.slen, NULL); - if (contact == NULL) { - status = PJSIP_EINVALIDHDR; - goto on_error; - } - } else { - contact = NULL; - } - - /* Call-ID */ - call_id = pjsip_cid_hdr_create(tdata->pool); - if (param_call_id != NULL && param_call_id->slen) - pj_strdup(tdata->pool, &call_id->id, param_call_id); - else - pj_create_unique_string(tdata->pool, &call_id->id); - - /* CSeq */ - cseq = pjsip_cseq_hdr_create(tdata->pool); - if (param_cseq >= 0) - cseq->cseq = param_cseq; - else - cseq->cseq = pj_rand() & 0xFFFF; - - /* Method */ - pjsip_method_copy(tdata->pool, &cseq->method, method); - - /* Create the request. */ - init_request_throw( endpt, tdata, &cseq->method, target, from, to, - contact, call_id, cseq, param_text); - } - PJ_CATCH_ANY { - status = PJ_ENOMEM; - goto on_error; - } - PJ_END - - *p_tdata = tdata; - return PJ_SUCCESS; - -on_error: - pjsip_tx_data_dec_ref(tdata); - return status; -} - -PJ_DEF(pj_status_t) pjsip_endpt_create_request_from_hdr( pjsip_endpoint *endpt, - const pjsip_method *method, - const pjsip_uri *param_target, - const pjsip_from_hdr *param_from, - const pjsip_to_hdr *param_to, - const pjsip_contact_hdr *param_contact, - const pjsip_cid_hdr *param_call_id, - int param_cseq, - const pj_str_t *param_text, - pjsip_tx_data **p_tdata) -{ - pjsip_uri *target; - pjsip_tx_data *tdata; - pjsip_from_hdr *from; - pjsip_to_hdr *to; - pjsip_contact_hdr *contact; - pjsip_cid_hdr *call_id; - pjsip_cseq_hdr *cseq = NULL; /* The NULL because warning in VC6 */ - pj_status_t status; - PJ_USE_EXCEPTION; - - /* Check arguments. */ - PJ_ASSERT_RETURN(endpt && method && param_target && param_from && - param_to && p_tdata, PJ_EINVAL); - - /* Create new transmit data. */ - status = pjsip_endpt_create_tdata(endpt, &tdata); - if (status != PJ_SUCCESS) - return status; - - /* Set initial reference counter to 1. */ - pjsip_tx_data_add_ref(tdata); - - PJ_TRY { - /* Duplicate target URI and headers. */ - target = (pjsip_uri*) pjsip_uri_clone(tdata->pool, param_target); - from = (pjsip_from_hdr*) pjsip_hdr_clone(tdata->pool, param_from); - pjsip_fromto_hdr_set_from(from); - to = (pjsip_to_hdr*) pjsip_hdr_clone(tdata->pool, param_to); - pjsip_fromto_hdr_set_to(to); - if (param_contact) { - contact = (pjsip_contact_hdr*) - pjsip_hdr_clone(tdata->pool, param_contact); - } else { - contact = NULL; - } - call_id = pjsip_cid_hdr_create(tdata->pool); - if (param_call_id != NULL && param_call_id->id.slen) - pj_strdup(tdata->pool, &call_id->id, ¶m_call_id->id); - else - pj_create_unique_string(tdata->pool, &call_id->id); - - cseq = pjsip_cseq_hdr_create(tdata->pool); - if (param_cseq >= 0) - cseq->cseq = param_cseq; - else - cseq->cseq = pj_rand() % 0xFFFF; - pjsip_method_copy(tdata->pool, &cseq->method, method); - - /* Copy headers to the request. */ - init_request_throw(endpt, tdata, &cseq->method, target, from, to, - contact, call_id, cseq, param_text); - } - PJ_CATCH_ANY { - status = PJ_ENOMEM; - goto on_error; - } - PJ_END; - - *p_tdata = tdata; - return PJ_SUCCESS; - -on_error: - pjsip_tx_data_dec_ref(tdata); - return status; -} - -/* - * Construct a minimal response message for the received request. - */ -PJ_DEF(pj_status_t) pjsip_endpt_create_response( pjsip_endpoint *endpt, - const pjsip_rx_data *rdata, - int st_code, - const pj_str_t *st_text, - pjsip_tx_data **p_tdata) -{ - pjsip_tx_data *tdata; - pjsip_msg *msg, *req_msg; - pjsip_hdr *hdr; - pjsip_to_hdr *to_hdr; - pjsip_via_hdr *top_via = NULL, *via; - pjsip_rr_hdr *rr; - pj_status_t status; - - /* Check arguments. */ - PJ_ASSERT_RETURN(endpt && rdata && p_tdata, PJ_EINVAL); - - /* Check status code. */ - PJ_ASSERT_RETURN(st_code >= 100 && st_code <= 699, PJ_EINVAL); - - /* rdata must be a request message. */ - req_msg = rdata->msg_info.msg; - pj_assert(req_msg->type == PJSIP_REQUEST_MSG); - - /* Request MUST NOT be ACK request! */ - PJ_ASSERT_RETURN(req_msg->line.req.method.id != PJSIP_ACK_METHOD, - PJ_EINVALIDOP); - - /* Create a new transmit buffer. */ - status = pjsip_endpt_create_tdata( endpt, &tdata); - if (status != PJ_SUCCESS) - return status; - - /* Set initial reference count to 1. */ - pjsip_tx_data_add_ref(tdata); - - /* Create new response message. */ - tdata->msg = msg = pjsip_msg_create(tdata->pool, PJSIP_RESPONSE_MSG); - - /* Set status code and reason text. */ - msg->line.status.code = st_code; - if (st_text) - pj_strdup(tdata->pool, &msg->line.status.reason, st_text); - else - msg->line.status.reason = *pjsip_get_status_text(st_code); - - /* Set TX data attributes. */ - tdata->rx_timestamp = rdata->pkt_info.timestamp; - - /* Copy all the via headers, in order. */ - via = rdata->msg_info.via; - while (via) { - pjsip_via_hdr *new_via; - - new_via = (pjsip_via_hdr*)pjsip_hdr_clone(tdata->pool, via); - if (top_via == NULL) - top_via = new_via; - - pjsip_msg_add_hdr( msg, (pjsip_hdr*)new_via); - via = via->next; - if (via != (void*)&req_msg->hdr) - via = (pjsip_via_hdr*) - pjsip_msg_find_hdr(req_msg, PJSIP_H_VIA, via); - else - break; - } - - /* Copy all Record-Route headers, in order. */ - rr = (pjsip_rr_hdr*) - pjsip_msg_find_hdr(req_msg, PJSIP_H_RECORD_ROUTE, NULL); - while (rr) { - pjsip_msg_add_hdr(msg, (pjsip_hdr*) pjsip_hdr_clone(tdata->pool, rr)); - rr = rr->next; - if (rr != (void*)&req_msg->hdr) - rr = (pjsip_rr_hdr*) pjsip_msg_find_hdr(req_msg, - PJSIP_H_RECORD_ROUTE, rr); - else - break; - } - - /* Copy Call-ID header. */ - hdr = (pjsip_hdr*) pjsip_msg_find_hdr( req_msg, PJSIP_H_CALL_ID, NULL); - pjsip_msg_add_hdr(msg, (pjsip_hdr*) pjsip_hdr_clone(tdata->pool, hdr)); - - /* Copy From header. */ - hdr = (pjsip_hdr*) pjsip_hdr_clone(tdata->pool, rdata->msg_info.from); - pjsip_msg_add_hdr( msg, hdr); - - /* Copy To header. */ - to_hdr = (pjsip_to_hdr*) pjsip_hdr_clone(tdata->pool, rdata->msg_info.to); - pjsip_msg_add_hdr( msg, (pjsip_hdr*)to_hdr); - - /* Must add To tag in the response (Section 8.2.6.2), except if this is - * 100 (Trying) response. Same tag must be created for the same request - * (e.g. same tag in provisional and final response). The easiest way - * to do this is to derive the tag from Via branch parameter (or to - * use it directly). - */ - if (to_hdr->tag.slen==0 && st_code > 100 && top_via) { - to_hdr->tag = top_via->branch_param; - } - - /* Copy CSeq header. */ - hdr = (pjsip_hdr*) pjsip_hdr_clone(tdata->pool, rdata->msg_info.cseq); - pjsip_msg_add_hdr( msg, hdr); - - /* All done. */ - *p_tdata = tdata; - - PJ_LOG(5,(THIS_FILE, "%s created", pjsip_tx_data_get_info(tdata))); - return PJ_SUCCESS; -} - - -/* - * Construct ACK for 3xx-6xx final response (according to chapter 17.1.1 of - * RFC3261). Note that the generation of ACK for 2xx response is different, - * and one must not use this function to generate such ACK. - */ -PJ_DEF(pj_status_t) pjsip_endpt_create_ack( pjsip_endpoint *endpt, - const pjsip_tx_data *tdata, - const pjsip_rx_data *rdata, - pjsip_tx_data **ack_tdata) -{ - pjsip_tx_data *ack = NULL; - const pjsip_msg *invite_msg; - const pjsip_from_hdr *from_hdr; - const pjsip_to_hdr *to_hdr; - const pjsip_cid_hdr *cid_hdr; - const pjsip_cseq_hdr *cseq_hdr; - const pjsip_hdr *hdr; - pjsip_hdr *via; - pjsip_to_hdr *to; - pj_status_t status; - - /* rdata must be a non-2xx final response. */ - pj_assert(rdata->msg_info.msg->type==PJSIP_RESPONSE_MSG && - rdata->msg_info.msg->line.status.code >= 300); - - /* Initialize return value to NULL. */ - *ack_tdata = NULL; - - /* The original INVITE message. */ - invite_msg = tdata->msg; - - /* Get the headers from original INVITE request. */ -# define FIND_HDR(m,HNAME) pjsip_msg_find_hdr(m, PJSIP_H_##HNAME, NULL) - - from_hdr = (const pjsip_from_hdr*) FIND_HDR(invite_msg, FROM); - PJ_ASSERT_ON_FAIL(from_hdr != NULL, goto on_missing_hdr); - - to_hdr = (const pjsip_to_hdr*) FIND_HDR(invite_msg, TO); - PJ_ASSERT_ON_FAIL(to_hdr != NULL, goto on_missing_hdr); - - cid_hdr = (const pjsip_cid_hdr*) FIND_HDR(invite_msg, CALL_ID); - PJ_ASSERT_ON_FAIL(to_hdr != NULL, goto on_missing_hdr); - - cseq_hdr = (const pjsip_cseq_hdr*) FIND_HDR(invite_msg, CSEQ); - PJ_ASSERT_ON_FAIL(to_hdr != NULL, goto on_missing_hdr); - -# undef FIND_HDR - - /* Create new request message from the headers. */ - status = pjsip_endpt_create_request_from_hdr(endpt, - pjsip_get_ack_method(), - tdata->msg->line.req.uri, - from_hdr, to_hdr, - NULL, cid_hdr, - cseq_hdr->cseq, NULL, - &ack); - - if (status != PJ_SUCCESS) - return status; - - /* Update tag in To header with the one from the response (if any). */ - to = (pjsip_to_hdr*) pjsip_msg_find_hdr(ack->msg, PJSIP_H_TO, NULL); - pj_strdup(ack->pool, &to->tag, &rdata->msg_info.to->tag); - - - /* Clear Via headers in the new request. */ - while ((via=(pjsip_hdr*)pjsip_msg_find_hdr(ack->msg, PJSIP_H_VIA, NULL)) != NULL) - pj_list_erase(via); - - /* Must contain single Via, just as the original INVITE. */ - hdr = (pjsip_hdr*) pjsip_msg_find_hdr( invite_msg, PJSIP_H_VIA, NULL); - pjsip_msg_insert_first_hdr( ack->msg, - (pjsip_hdr*) pjsip_hdr_clone(ack->pool,hdr) ); - - /* If the original INVITE has Route headers, those header fields MUST - * appear in the ACK. - */ - hdr = (pjsip_hdr*) pjsip_msg_find_hdr( invite_msg, PJSIP_H_ROUTE, NULL); - while (hdr != NULL) { - pjsip_msg_add_hdr( ack->msg, - (pjsip_hdr*) pjsip_hdr_clone(ack->pool, hdr) ); - hdr = hdr->next; - if (hdr == &invite_msg->hdr) - break; - hdr = (pjsip_hdr*) pjsip_msg_find_hdr( invite_msg, PJSIP_H_ROUTE, hdr); - } - - /* We're done. - * "tdata" parameter now contains the ACK message. - */ - *ack_tdata = ack; - return PJ_SUCCESS; - -on_missing_hdr: - if (ack) - pjsip_tx_data_dec_ref(ack); - return PJSIP_EMISSINGHDR; -} - - -/* - * Construct CANCEL request for the previously sent request, according to - * chapter 9.1 of RFC3261. - */ -PJ_DEF(pj_status_t) pjsip_endpt_create_cancel( pjsip_endpoint *endpt, - const pjsip_tx_data *req_tdata, - pjsip_tx_data **p_tdata) -{ - pjsip_tx_data *cancel_tdata = NULL; - const pjsip_from_hdr *from_hdr; - const pjsip_to_hdr *to_hdr; - const pjsip_cid_hdr *cid_hdr; - const pjsip_cseq_hdr *cseq_hdr; - const pjsip_hdr *hdr; - pjsip_hdr *via; - pj_status_t status; - - /* The transmit buffer must INVITE request. */ - PJ_ASSERT_RETURN(req_tdata->msg->type == PJSIP_REQUEST_MSG && - req_tdata->msg->line.req.method.id == PJSIP_INVITE_METHOD, - PJ_EINVAL); - - /* Get the headers from original INVITE request. */ -# define FIND_HDR(m,HNAME) pjsip_msg_find_hdr(m, PJSIP_H_##HNAME, NULL) - - from_hdr = (const pjsip_from_hdr*) FIND_HDR(req_tdata->msg, FROM); - PJ_ASSERT_ON_FAIL(from_hdr != NULL, goto on_missing_hdr); - - to_hdr = (const pjsip_to_hdr*) FIND_HDR(req_tdata->msg, TO); - PJ_ASSERT_ON_FAIL(to_hdr != NULL, goto on_missing_hdr); - - cid_hdr = (const pjsip_cid_hdr*) FIND_HDR(req_tdata->msg, CALL_ID); - PJ_ASSERT_ON_FAIL(to_hdr != NULL, goto on_missing_hdr); - - cseq_hdr = (const pjsip_cseq_hdr*) FIND_HDR(req_tdata->msg, CSEQ); - PJ_ASSERT_ON_FAIL(to_hdr != NULL, goto on_missing_hdr); - -# undef FIND_HDR - - /* Create new request message from the headers. */ - status = pjsip_endpt_create_request_from_hdr(endpt, - pjsip_get_cancel_method(), - req_tdata->msg->line.req.uri, - from_hdr, to_hdr, - NULL, cid_hdr, - cseq_hdr->cseq, NULL, - &cancel_tdata); - - if (status != PJ_SUCCESS) - return status; - - /* Clear Via headers in the new request. */ - while ((via=(pjsip_hdr*)pjsip_msg_find_hdr(cancel_tdata->msg, PJSIP_H_VIA, NULL)) != NULL) - pj_list_erase(via); - - - /* Must only have single Via which matches the top-most Via in the - * request being cancelled. - */ - hdr = (pjsip_hdr*) pjsip_msg_find_hdr(req_tdata->msg, PJSIP_H_VIA, NULL); - if (hdr) { - pjsip_msg_insert_first_hdr(cancel_tdata->msg, - (pjsip_hdr*)pjsip_hdr_clone(cancel_tdata->pool, hdr)); - } - - /* If the original request has Route header, the CANCEL request must also - * has exactly the same. - * Copy "Route" header from the request. - */ - hdr = (pjsip_hdr*) pjsip_msg_find_hdr(req_tdata->msg, PJSIP_H_ROUTE, NULL); - while (hdr != NULL) { - pjsip_msg_add_hdr(cancel_tdata->msg, - (pjsip_hdr*) pjsip_hdr_clone(cancel_tdata->pool, hdr)); - hdr = hdr->next; - if (hdr != &req_tdata->msg->hdr) - hdr = (pjsip_hdr*) pjsip_msg_find_hdr(req_tdata->msg, - PJSIP_H_ROUTE, hdr); - else - break; - } - - /* Must also copy the saved strict route header, otherwise CANCEL will be - * sent with swapped Route and request URI! - */ - if (req_tdata->saved_strict_route) { - cancel_tdata->saved_strict_route = (pjsip_route_hdr*) - pjsip_hdr_clone(cancel_tdata->pool, req_tdata->saved_strict_route); - } - - /* Copy the destination host name from the original request */ - pj_strdup(cancel_tdata->pool, &cancel_tdata->dest_info.name, - &req_tdata->dest_info.name); - - /* Finally copy the destination info from the original request */ - pj_memcpy(&cancel_tdata->dest_info, &req_tdata->dest_info, - sizeof(req_tdata->dest_info)); - - /* Done. - * Return the transmit buffer containing the CANCEL request. - */ - *p_tdata = cancel_tdata; - return PJ_SUCCESS; - -on_missing_hdr: - if (cancel_tdata) - pjsip_tx_data_dec_ref(cancel_tdata); - return PJSIP_EMISSINGHDR; -} - - -/* Fill-up destination information from a target URI */ -static pj_status_t get_dest_info(const pjsip_uri *target_uri, - pj_pool_t *pool, - pjsip_host_info *dest_info) -{ - /* The target URI must be a SIP/SIPS URL so we can resolve it's address. - * Otherwise we're in trouble (i.e. there's no host part in tel: URL). - */ - pj_bzero(dest_info, sizeof(*dest_info)); - - if (PJSIP_URI_SCHEME_IS_SIPS(target_uri)) { - pjsip_uri *uri = (pjsip_uri*) target_uri; - const pjsip_sip_uri *url=(const pjsip_sip_uri*)pjsip_uri_get_uri(uri); - unsigned flag; - - dest_info->flag |= (PJSIP_TRANSPORT_SECURE | PJSIP_TRANSPORT_RELIABLE); - if (url->maddr_param.slen) - pj_strdup(pool, &dest_info->addr.host, &url->maddr_param); - else - pj_strdup(pool, &dest_info->addr.host, &url->host); - dest_info->addr.port = url->port; - dest_info->type = - pjsip_transport_get_type_from_name(&url->transport_param); - /* Double-check that the transport parameter match. - * Sample case: sips:host;transport=tcp - * See https://trac.pjsip.org/repos/ticket/1319 - */ - flag = pjsip_transport_get_flag_from_type(dest_info->type); - if ((flag & dest_info->flag) != dest_info->flag) { - pjsip_transport_type_e t; - - t = pjsip_transport_get_type_from_flag(dest_info->flag); - if (t != PJSIP_TRANSPORT_UNSPECIFIED) - dest_info->type = t; - } - - } else if (PJSIP_URI_SCHEME_IS_SIP(target_uri)) { - pjsip_uri *uri = (pjsip_uri*) target_uri; - const pjsip_sip_uri *url=(const pjsip_sip_uri*)pjsip_uri_get_uri(uri); - if (url->maddr_param.slen) - pj_strdup(pool, &dest_info->addr.host, &url->maddr_param); - else - pj_strdup(pool, &dest_info->addr.host, &url->host); - dest_info->addr.port = url->port; - dest_info->type = - pjsip_transport_get_type_from_name(&url->transport_param); - dest_info->flag = - pjsip_transport_get_flag_from_type(dest_info->type); - } else { - /* Should have never reached here; app should have configured route - * set when sending to tel: URI - pj_assert(!"Unsupported URI scheme!"); - */ - PJ_TODO(SUPPORT_REQUEST_ADDR_RESOLUTION_FOR_TEL_URI); - return PJSIP_ENOROUTESET; - } - - /* Handle IPv6 (http://trac.pjsip.org/repos/ticket/861) */ - if (dest_info->type != PJSIP_TRANSPORT_UNSPECIFIED && - pj_strchr(&dest_info->addr.host, ':')) - { - dest_info->type = (pjsip_transport_type_e) - ((int)dest_info->type | PJSIP_TRANSPORT_IPV6); - } - - return PJ_SUCCESS; -} - - -/* - * Find which destination to be used to send the request message, based - * on the request URI and Route headers in the message. The procedure - * used here follows the guidelines on sending the request in RFC 3261 - * chapter 8.1.2. - */ -PJ_DEF(pj_status_t) pjsip_get_request_dest(const pjsip_tx_data *tdata, - pjsip_host_info *dest_info ) -{ - const pjsip_uri *target_uri; - const pjsip_route_hdr *first_route_hdr; - - PJ_ASSERT_RETURN(tdata->msg->type == PJSIP_REQUEST_MSG, - PJSIP_ENOTREQUESTMSG); - PJ_ASSERT_RETURN(dest_info != NULL, PJ_EINVAL); - - /* Get the first "Route" header from the message. - */ - first_route_hdr = (const pjsip_route_hdr*) - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_ROUTE, NULL); - if (first_route_hdr) { - target_uri = first_route_hdr->name_addr.uri; - } else { - target_uri = tdata->msg->line.req.uri; - } - - return get_dest_info(target_uri, (pj_pool_t*)tdata->pool, dest_info); -} - - -/* - * Process route-set found in the request and calculate - * the destination to be used to send the request message, based - * on the request URI and Route headers in the message. The procedure - * used here follows the guidelines on sending the request in RFC 3261 - * chapter 8.1.2. - */ -PJ_DEF(pj_status_t) pjsip_process_route_set(pjsip_tx_data *tdata, - pjsip_host_info *dest_info ) -{ - const pjsip_uri *new_request_uri, *target_uri; - const pjsip_name_addr *topmost_route_uri; - pjsip_route_hdr *first_route_hdr, *last_route_hdr; - pj_status_t status; - - PJ_ASSERT_RETURN(tdata->msg->type == PJSIP_REQUEST_MSG, - PJSIP_ENOTREQUESTMSG); - PJ_ASSERT_RETURN(dest_info != NULL, PJ_EINVAL); - - /* If the request contains strict route, check that the strict route - * has been restored to its original values before processing the - * route set. The strict route is restored to the original values - * with pjsip_restore_strict_route_set(). If caller did not restore - * the strict route before calling this function, we need to call it - * here, or otherwise the strict-route and Request-URI will be swapped - * twice! - */ - if (tdata->saved_strict_route != NULL) { - pjsip_restore_strict_route_set(tdata); - } - PJ_ASSERT_RETURN(tdata->saved_strict_route==NULL, PJ_EBUG); - - /* Find the first and last "Route" headers from the message. */ - last_route_hdr = first_route_hdr = (pjsip_route_hdr*) - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_ROUTE, NULL); - if (first_route_hdr) { - topmost_route_uri = &first_route_hdr->name_addr; - while (last_route_hdr->next != (void*)&tdata->msg->hdr) { - pjsip_route_hdr *hdr; - hdr = (pjsip_route_hdr*) - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_ROUTE, - last_route_hdr->next); - if (!hdr) - break; - last_route_hdr = hdr; - } - } else { - topmost_route_uri = NULL; - } - - /* If Route headers exist, and the first element indicates loose-route, - * the URI is taken from the Request-URI, and we keep all existing Route - * headers intact. - * If Route headers exist, and the first element DOESN'T indicate loose - * route, the URI is taken from the first Route header, and remove the - * first Route header from the message. - * Otherwise if there's no Route headers, the URI is taken from the - * Request-URI. - */ - if (topmost_route_uri) { - pj_bool_t has_lr_param; - - if (PJSIP_URI_SCHEME_IS_SIP(topmost_route_uri) || - PJSIP_URI_SCHEME_IS_SIPS(topmost_route_uri)) - { - const pjsip_sip_uri *url = (const pjsip_sip_uri*) - pjsip_uri_get_uri((const void*)topmost_route_uri); - has_lr_param = url->lr_param; - } else { - has_lr_param = 0; - } - - if (has_lr_param) { - new_request_uri = tdata->msg->line.req.uri; - /* We shouldn't need to delete topmost Route if it has lr param. - * But seems like it breaks some proxy implementation, so we - * delete it anyway. - */ - /* - pj_list_erase(first_route_hdr); - if (first_route_hdr == last_route_hdr) - last_route_hdr = NULL; - */ - } else { - new_request_uri = (const pjsip_uri*) - pjsip_uri_get_uri((pjsip_uri*)topmost_route_uri); - pj_list_erase(first_route_hdr); - tdata->saved_strict_route = first_route_hdr; - if (first_route_hdr == last_route_hdr) - first_route_hdr = last_route_hdr = NULL; - } - - target_uri = (pjsip_uri*)topmost_route_uri; - - } else { - target_uri = new_request_uri = tdata->msg->line.req.uri; - } - - /* Fill up the destination host/port from the URI. */ - status = get_dest_info(target_uri, tdata->pool, dest_info); - if (status != PJ_SUCCESS) - return status; - - /* If target URI is different than request URI, replace - * request URI add put the original URI in the last Route header. - */ - if (new_request_uri && new_request_uri!=tdata->msg->line.req.uri) { - pjsip_route_hdr *route = pjsip_route_hdr_create(tdata->pool); - route->name_addr.uri = (pjsip_uri*) - pjsip_uri_get_uri(tdata->msg->line.req.uri); - if (last_route_hdr) - pj_list_insert_after(last_route_hdr, route); - else - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)route); - tdata->msg->line.req.uri = (pjsip_uri*)new_request_uri; - } - - /* Success. */ - return PJ_SUCCESS; -} - - -/* - * Swap the request URI and strict route back to the original position - * before #pjsip_process_route_set() function is called. This function - * should only used internally by PJSIP client authentication module. - */ -PJ_DEF(void) pjsip_restore_strict_route_set(pjsip_tx_data *tdata) -{ - pjsip_route_hdr *first_route_hdr, *last_route_hdr; - - /* Check if we have found strict route before */ - if (tdata->saved_strict_route == NULL) { - /* This request doesn't contain strict route */ - return; - } - - /* Find the first "Route" headers from the message. */ - first_route_hdr = (pjsip_route_hdr*) - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_ROUTE, NULL); - - if (first_route_hdr == NULL) { - /* User has modified message route? We don't expect this! */ - pj_assert(!"Message route was modified?"); - tdata->saved_strict_route = NULL; - return; - } - - /* Find last Route header */ - last_route_hdr = first_route_hdr; - while (last_route_hdr->next != (void*)&tdata->msg->hdr) { - pjsip_route_hdr *hdr; - hdr = (pjsip_route_hdr*) - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_ROUTE, - last_route_hdr->next); - if (!hdr) - break; - last_route_hdr = hdr; - } - - /* Put the last Route header as request URI, delete last Route - * header, and insert the saved strict route as the first Route. - */ - tdata->msg->line.req.uri = last_route_hdr->name_addr.uri; - pj_list_insert_before(first_route_hdr, tdata->saved_strict_route); - pj_list_erase(last_route_hdr); - - /* Reset */ - tdata->saved_strict_route = NULL; -} - - -/* Transport callback for sending stateless request. - * This is one of the most bizzare function in pjsip, so - * good luck if you happen to debug this function!! - */ -static void stateless_send_transport_cb( void *token, - pjsip_tx_data *tdata, - pj_ssize_t sent ) -{ - pjsip_send_state *stateless_data = (pjsip_send_state*) token; - - PJ_UNUSED_ARG(tdata); - pj_assert(tdata == stateless_data->tdata); - - for (;;) { - pj_status_t status; - pj_bool_t cont; - - pj_sockaddr_t *cur_addr; - pjsip_transport_type_e cur_addr_type; - int cur_addr_len; - - pjsip_via_hdr *via; - - if (sent == -PJ_EPENDING) { - /* This is the initial process. - * When the process started, this function will be called by - * stateless_send_resolver_callback() with sent argument set to - * -PJ_EPENDING. - */ - cont = PJ_TRUE; - } else { - /* There are two conditions here: - * (1) Message is sent (i.e. sent > 0), - * (2) Failure (i.e. sent <= 0) - */ - cont = (sent > 0) ? PJ_FALSE : - (tdata->dest_info.cur_addrdest_info.addr.count-1); - if (stateless_data->app_cb) { - (*stateless_data->app_cb)(stateless_data, sent, &cont); - } else { - /* Doesn't have application callback. - * Terminate the process. - */ - cont = PJ_FALSE; - } - } - - /* Finished with this transport. */ - if (stateless_data->cur_transport) { - pjsip_transport_dec_ref(stateless_data->cur_transport); - stateless_data->cur_transport = NULL; - } - - /* Done if application doesn't want to continue. */ - if (sent > 0 || !cont) { - pjsip_tx_data_dec_ref(tdata); - return; - } - - /* Try next address, if any, and only when this is not the - * first invocation. - */ - if (sent != -PJ_EPENDING) { - tdata->dest_info.cur_addr++; - } - - /* Have next address? */ - if (tdata->dest_info.cur_addr >= tdata->dest_info.addr.count) { - /* This only happens when a rather buggy application has - * sent 'cont' to PJ_TRUE when the initial value was PJ_FALSE. - * In this case just stop the processing; we don't need to - * call the callback again as application has been informed - * before. - */ - pjsip_tx_data_dec_ref(tdata); - return; - } - - /* Keep current server address information handy. */ - cur_addr = &tdata->dest_info.addr.entry[tdata->dest_info.cur_addr].addr; - cur_addr_type = tdata->dest_info.addr.entry[tdata->dest_info.cur_addr].type; - cur_addr_len = tdata->dest_info.addr.entry[tdata->dest_info.cur_addr].addr_len; - - /* Acquire transport. */ - status = pjsip_endpt_acquire_transport2(stateless_data->endpt, - cur_addr_type, - cur_addr, - cur_addr_len, - &tdata->tp_sel, - tdata, - &stateless_data->cur_transport); - if (status != PJ_SUCCESS) { - sent = -status; - continue; - } - - /* Modify Via header. */ - via = (pjsip_via_hdr*) pjsip_msg_find_hdr( tdata->msg, - PJSIP_H_VIA, NULL); - if (!via) { - /* Shouldn't happen if request was created with PJSIP API! - * But we handle the case anyway for robustness. - */ - pj_assert(!"Via header not found!"); - via = pjsip_via_hdr_create(tdata->pool); - pjsip_msg_insert_first_hdr(tdata->msg, (pjsip_hdr*)via); - } - - if (via->branch_param.slen == 0) { - pj_str_t tmp; - via->branch_param.ptr = (char*)pj_pool_alloc(tdata->pool, - PJSIP_MAX_BRANCH_LEN); - via->branch_param.slen = PJSIP_MAX_BRANCH_LEN; - pj_memcpy(via->branch_param.ptr, PJSIP_RFC3261_BRANCH_ID, - PJSIP_RFC3261_BRANCH_LEN); - tmp.ptr = via->branch_param.ptr + PJSIP_RFC3261_BRANCH_LEN + 2; - *(tmp.ptr-2) = 80; *(tmp.ptr-1) = 106; - pj_generate_unique_string(&tmp); - } - - via->transport = pj_str(stateless_data->cur_transport->type_name); - via->sent_by = stateless_data->cur_transport->local_name; - via->rport_param = pjsip_cfg()->endpt.disable_rport ? -1 : 0; - - pjsip_tx_data_invalidate_msg(tdata); - - /* Send message using this transport. */ - status = pjsip_transport_send( stateless_data->cur_transport, - tdata, - cur_addr, - cur_addr_len, - stateless_data, - &stateless_send_transport_cb); - if (status == PJ_SUCCESS) { - /* Recursively call this function. */ - sent = tdata->buf.cur - tdata->buf.start; - stateless_send_transport_cb( stateless_data, tdata, sent ); - return; - } else if (status == PJ_EPENDING) { - /* This callback will be called later. */ - return; - } else { - /* Recursively call this function. */ - sent = -status; - stateless_send_transport_cb( stateless_data, tdata, sent ); - return; - } - } - -} - -/* Resolver callback for sending stateless request. */ -static void -stateless_send_resolver_callback( pj_status_t status, - void *token, - const struct pjsip_server_addresses *addr) -{ - pjsip_send_state *stateless_data = (pjsip_send_state*) token; - pjsip_tx_data *tdata = stateless_data->tdata; - - /* Fail on server resolution. */ - if (status != PJ_SUCCESS) { - if (stateless_data->app_cb) { - pj_bool_t cont = PJ_FALSE; - (*stateless_data->app_cb)(stateless_data, -status, &cont); - } - pjsip_tx_data_dec_ref(tdata); - return; - } - - /* Copy server addresses */ - if (addr && addr != &tdata->dest_info.addr) { - pj_memcpy( &tdata->dest_info.addr, addr, - sizeof(pjsip_server_addresses)); - } - pj_assert(tdata->dest_info.addr.count != 0); - - /* RFC 3261 section 18.1.1: - * If a request is within 200 bytes of the path MTU, or if it is larger - * than 1300 bytes and the path MTU is unknown, the request MUST be sent - * using an RFC 2914 [43] congestion controlled transport protocol, such - * as TCP. - */ - if (pjsip_cfg()->endpt.disable_tcp_switch==0 && - tdata->msg->type == PJSIP_REQUEST_MSG && - tdata->dest_info.addr.count > 0 && - tdata->dest_info.addr.entry[0].type == PJSIP_TRANSPORT_UDP) - { - int len; - - /* Encode the request */ - status = pjsip_tx_data_encode(tdata); - if (status != PJ_SUCCESS) { - if (stateless_data->app_cb) { - pj_bool_t cont = PJ_FALSE; - (*stateless_data->app_cb)(stateless_data, -status, &cont); - } - pjsip_tx_data_dec_ref(tdata); - return; - } - - /* Check if request message is larger than 1300 bytes. */ - len = tdata->buf.cur - tdata->buf.start; - if (len >= PJSIP_UDP_SIZE_THRESHOLD) { - int i; - int count = tdata->dest_info.addr.count; - - PJ_LOG(5,(THIS_FILE, "%s exceeds UDP size threshold (%u), " - "sending with TCP", - pjsip_tx_data_get_info(tdata), - PJSIP_UDP_SIZE_THRESHOLD)); - - /* Insert "TCP version" of resolved UDP addresses at the - * beginning. - */ - if (count * 2 > PJSIP_MAX_RESOLVED_ADDRESSES) - count = PJSIP_MAX_RESOLVED_ADDRESSES / 2; - for (i = 0; i < count; ++i) { - pj_memcpy(&tdata->dest_info.addr.entry[i+count], - &tdata->dest_info.addr.entry[i], - sizeof(tdata->dest_info.addr.entry[0])); - tdata->dest_info.addr.entry[i].type = PJSIP_TRANSPORT_TCP; - } - tdata->dest_info.addr.count = count * 2; - } - } - - /* Process the addresses. */ - stateless_send_transport_cb( stateless_data, tdata, -PJ_EPENDING); -} - -/* - * Send stateless request. - * The sending process consists of several stages: - * - determine which host to contact (#pjsip_get_request_addr). - * - resolve the host (#pjsip_endpt_resolve) - * - establish transport (#pjsip_endpt_acquire_transport) - * - send the message (#pjsip_transport_send) - */ -PJ_DEF(pj_status_t) pjsip_endpt_send_request_stateless(pjsip_endpoint *endpt, - pjsip_tx_data *tdata, - void *token, - pjsip_send_callback cb) -{ - pjsip_host_info dest_info; - pjsip_send_state *stateless_data; - pj_status_t status; - - PJ_ASSERT_RETURN(endpt && tdata, PJ_EINVAL); - - /* Get destination name to contact. */ - status = pjsip_process_route_set(tdata, &dest_info); - if (status != PJ_SUCCESS) - return status; - - /* Keep stateless data. */ - stateless_data = PJ_POOL_ZALLOC_T(tdata->pool, pjsip_send_state); - stateless_data->token = token; - stateless_data->endpt = endpt; - stateless_data->tdata = tdata; - stateless_data->app_cb = cb; - - /* If destination info has not been initialized (this applies for most - * all requests except CANCEL), resolve destination host. The processing - * then resumed when the resolving callback is called. For CANCEL, the - * destination info must have been copied from the original INVITE so - * proceed to sending the request directly. - */ - if (tdata->dest_info.addr.count == 0) { - /* Copy the destination host name to TX data */ - pj_strdup(tdata->pool, &tdata->dest_info.name, &dest_info.addr.host); - - pjsip_endpt_resolve( endpt, tdata->pool, &dest_info, stateless_data, - &stateless_send_resolver_callback); - } else { - PJ_LOG(5,(THIS_FILE, "%s: skipping target resolution because " - "address is already set", - pjsip_tx_data_get_info(tdata))); - stateless_send_resolver_callback(PJ_SUCCESS, stateless_data, - &tdata->dest_info.addr); - } - return PJ_SUCCESS; -} - - -/* - * Send raw data to a destination. - */ -PJ_DEF(pj_status_t) pjsip_endpt_send_raw( pjsip_endpoint *endpt, - pjsip_transport_type_e tp_type, - const pjsip_tpselector *sel, - const void *raw_data, - pj_size_t data_len, - const pj_sockaddr_t *addr, - int addr_len, - void *token, - pjsip_tp_send_callback cb) -{ - return pjsip_tpmgr_send_raw(pjsip_endpt_get_tpmgr(endpt), tp_type, sel, - NULL, raw_data, data_len, addr, addr_len, - token, cb); -} - - -/* Callback data for sending raw data */ -struct send_raw_data -{ - pjsip_endpoint *endpt; - pjsip_tx_data *tdata; - pjsip_tpselector *sel; - void *app_token; - pjsip_tp_send_callback app_cb; -}; - - -/* Resolver callback for sending raw data. */ -static void send_raw_resolver_callback( pj_status_t status, - void *token, - const pjsip_server_addresses *addr) -{ - struct send_raw_data *sraw_data = (struct send_raw_data*) token; - - if (status != PJ_SUCCESS) { - if (sraw_data->app_cb) { - (*sraw_data->app_cb)(sraw_data->app_token, sraw_data->tdata, - -status); - } - } else { - pj_size_t data_len; - - pj_assert(addr->count != 0); - - /* Avoid tdata destroyed by pjsip_tpmgr_send_raw(). */ - pjsip_tx_data_add_ref(sraw_data->tdata); - - data_len = sraw_data->tdata->buf.cur - sraw_data->tdata->buf.start; - status = pjsip_tpmgr_send_raw(pjsip_endpt_get_tpmgr(sraw_data->endpt), - addr->entry[0].type, - sraw_data->sel, sraw_data->tdata, - sraw_data->tdata->buf.start, data_len, - &addr->entry[0].addr, - addr->entry[0].addr_len, - sraw_data->app_token, - sraw_data->app_cb); - if (status == PJ_SUCCESS) { - (*sraw_data->app_cb)(sraw_data->app_token, sraw_data->tdata, - data_len); - } else if (status != PJ_EPENDING) { - (*sraw_data->app_cb)(sraw_data->app_token, sraw_data->tdata, - -status); - } - } - - if (sraw_data->sel) { - pjsip_tpselector_dec_ref(sraw_data->sel); - } - pjsip_tx_data_dec_ref(sraw_data->tdata); -} - - -/* - * Send raw data to the specified destination URI. - */ -PJ_DEF(pj_status_t) pjsip_endpt_send_raw_to_uri(pjsip_endpoint *endpt, - const pj_str_t *p_dst_uri, - const pjsip_tpselector *sel, - const void *raw_data, - pj_size_t data_len, - void *token, - pjsip_tp_send_callback cb) -{ - pjsip_tx_data *tdata; - struct send_raw_data *sraw_data; - pj_str_t dst_uri; - pjsip_uri *uri; - pjsip_host_info dest_info; - pj_status_t status; - - /* Allocate buffer */ - status = pjsip_endpt_create_tdata(endpt, &tdata); - if (status != PJ_SUCCESS) - return status; - - pjsip_tx_data_add_ref(tdata); - - /* Duplicate URI since parser requires URI to be NULL terminated */ - pj_strdup_with_null(tdata->pool, &dst_uri, p_dst_uri); - - /* Parse URI */ - uri = pjsip_parse_uri(tdata->pool, dst_uri.ptr, dst_uri.slen, 0); - if (uri == NULL) { - pjsip_tx_data_dec_ref(tdata); - return PJSIP_EINVALIDURI; - } - - /* Build destination info. */ - status = get_dest_info(uri, tdata->pool, &dest_info); - if (status != PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - return status; - } - - /* Copy data (note: data_len may be zero!) */ - tdata->buf.start = (char*) pj_pool_alloc(tdata->pool, data_len+1); - tdata->buf.end = tdata->buf.start + data_len + 1; - if (data_len) - pj_memcpy(tdata->buf.start, raw_data, data_len); - tdata->buf.cur = tdata->buf.start + data_len; - - /* Init send_raw_data */ - sraw_data = PJ_POOL_ZALLOC_T(tdata->pool, struct send_raw_data); - sraw_data->endpt = endpt; - sraw_data->tdata = tdata; - sraw_data->app_token = token; - sraw_data->app_cb = cb; - - if (sel) { - sraw_data->sel = PJ_POOL_ALLOC_T(tdata->pool, pjsip_tpselector); - pj_memcpy(sraw_data->sel, sel, sizeof(pjsip_tpselector)); - pjsip_tpselector_add_ref(sraw_data->sel); - } - - /* Copy the destination host name to TX data */ - pj_strdup(tdata->pool, &tdata->dest_info.name, &dest_info.addr.host); - - /* Resolve destination host. - * The processing then resumed when the resolving callback is called. - */ - pjsip_endpt_resolve( endpt, tdata->pool, &dest_info, sraw_data, - &send_raw_resolver_callback); - return PJ_SUCCESS; -} - - -/* - * Determine which address (and transport) to use to send response message - * based on the received request. This function follows the specification - * in section 18.2.2 of RFC 3261 and RFC 3581 for calculating the destination - * address and transport. - */ -PJ_DEF(pj_status_t) pjsip_get_response_addr( pj_pool_t *pool, - pjsip_rx_data *rdata, - pjsip_response_addr *res_addr ) -{ - pjsip_transport *src_transport = rdata->tp_info.transport; - - /* Check arguments. */ - PJ_ASSERT_RETURN(pool && rdata && res_addr, PJ_EINVAL); - - /* rdata must be a request message! */ - PJ_ASSERT_RETURN(rdata->msg_info.msg->type == PJSIP_REQUEST_MSG, - PJ_EINVAL); - - /* All requests must have "received" parameter. - * This must always be done in transport layer. - */ - pj_assert(rdata->msg_info.via->recvd_param.slen != 0); - - /* Do the calculation based on RFC 3261 Section 18.2.2 and RFC 3581 */ - - if (PJSIP_TRANSPORT_IS_RELIABLE(src_transport)) { - /* For reliable protocol such as TCP or SCTP, or TLS over those, the - * response MUST be sent using the existing connection to the source - * of the original request that created the transaction, if that - * connection is still open. - * If that connection is no longer open, the server SHOULD open a - * connection to the IP address in the received parameter, if present, - * using the port in the sent-by value, or the default port for that - * transport, if no port is specified. - * If that connection attempt fails, the server SHOULD use the - * procedures in [4] for servers in order to determine the IP address - * and port to open the connection and send the response to. - */ - res_addr->transport = rdata->tp_info.transport; - pj_memcpy(&res_addr->addr, &rdata->pkt_info.src_addr, - rdata->pkt_info.src_addr_len); - res_addr->addr_len = rdata->pkt_info.src_addr_len; - res_addr->dst_host.type=(pjsip_transport_type_e)src_transport->key.type; - res_addr->dst_host.flag = src_transport->flag; - pj_strdup( pool, &res_addr->dst_host.addr.host, - &rdata->msg_info.via->recvd_param); - res_addr->dst_host.addr.port = rdata->msg_info.via->sent_by.port; - if (res_addr->dst_host.addr.port == 0) { - res_addr->dst_host.addr.port = - pjsip_transport_get_default_port_for_type(res_addr->dst_host.type); - } - - } else if (rdata->msg_info.via->maddr_param.slen) { - /* Otherwise, if the Via header field value contains a maddr parameter, - * the response MUST be forwarded to the address listed there, using - * the port indicated in sent-by, or port 5060 if none is present. - * If the address is a multicast address, the response SHOULD be sent - * using the TTL indicated in the ttl parameter, or with a TTL of 1 if - * that parameter is not present. - */ - res_addr->transport = NULL; - res_addr->dst_host.type=(pjsip_transport_type_e)src_transport->key.type; - res_addr->dst_host.flag = src_transport->flag; - pj_strdup( pool, &res_addr->dst_host.addr.host, - &rdata->msg_info.via->maddr_param); - res_addr->dst_host.addr.port = rdata->msg_info.via->sent_by.port; - if (res_addr->dst_host.addr.port == 0) - res_addr->dst_host.addr.port = 5060; - - } else if (rdata->msg_info.via->rport_param >= 0) { - /* There is both a "received" parameter and an "rport" parameter, - * the response MUST be sent to the IP address listed in the "received" - * parameter, and the port in the "rport" parameter. - * The response MUST be sent from the same address and port that the - * corresponding request was received on. - */ - res_addr->transport = rdata->tp_info.transport; - pj_memcpy(&res_addr->addr, &rdata->pkt_info.src_addr, - rdata->pkt_info.src_addr_len); - res_addr->addr_len = rdata->pkt_info.src_addr_len; - res_addr->dst_host.type=(pjsip_transport_type_e)src_transport->key.type; - res_addr->dst_host.flag = src_transport->flag; - pj_strdup( pool, &res_addr->dst_host.addr.host, - &rdata->msg_info.via->recvd_param); - res_addr->dst_host.addr.port = rdata->msg_info.via->sent_by.port; - if (res_addr->dst_host.addr.port == 0) { - res_addr->dst_host.addr.port = - pjsip_transport_get_default_port_for_type(res_addr->dst_host.type); - } - - } else { - res_addr->transport = NULL; - res_addr->dst_host.type=(pjsip_transport_type_e)src_transport->key.type; - res_addr->dst_host.flag = src_transport->flag; - pj_strdup( pool, &res_addr->dst_host.addr.host, - &rdata->msg_info.via->recvd_param); - res_addr->dst_host.addr.port = rdata->msg_info.via->sent_by.port; - if (res_addr->dst_host.addr.port == 0) { - res_addr->dst_host.addr.port = - pjsip_transport_get_default_port_for_type(res_addr->dst_host.type); - } - } - - return PJ_SUCCESS; -} - -/* - * Callback called by transport during send_response. - */ -static void send_response_transport_cb(void *token, pjsip_tx_data *tdata, - pj_ssize_t sent) -{ - pjsip_send_state *send_state = (pjsip_send_state*) token; - pj_bool_t cont = PJ_FALSE; - - /* Call callback, if any. */ - if (send_state->app_cb) - (*send_state->app_cb)(send_state, sent, &cont); - - /* Decrement transport reference counter. */ - pjsip_transport_dec_ref(send_state->cur_transport); - - /* Decrement transmit data ref counter. */ - pjsip_tx_data_dec_ref(tdata); -} - -/* - * Resolver calback during send_response. - */ -static void send_response_resolver_cb( pj_status_t status, void *token, - const pjsip_server_addresses *addr ) -{ - pjsip_send_state *send_state = (pjsip_send_state*) token; - - if (status != PJ_SUCCESS) { - if (send_state->app_cb) { - pj_bool_t cont = PJ_FALSE; - (*send_state->app_cb)(send_state, -status, &cont); - } - pjsip_tx_data_dec_ref(send_state->tdata); - return; - } - - /* Only handle the first address resolved. */ - - /* Acquire transport. */ - status = pjsip_endpt_acquire_transport2(send_state->endpt, - addr->entry[0].type, - &addr->entry[0].addr, - addr->entry[0].addr_len, - &send_state->tdata->tp_sel, - send_state->tdata, - &send_state->cur_transport); - if (status != PJ_SUCCESS) { - if (send_state->app_cb) { - pj_bool_t cont = PJ_FALSE; - (*send_state->app_cb)(send_state, -status, &cont); - } - pjsip_tx_data_dec_ref(send_state->tdata); - return; - } - - /* Update address in send_state. */ - pj_memcpy(&send_state->tdata->dest_info.addr, addr, sizeof(*addr)); - - /* Send response using the transoprt. */ - status = pjsip_transport_send( send_state->cur_transport, - send_state->tdata, - &addr->entry[0].addr, - addr->entry[0].addr_len, - send_state, - &send_response_transport_cb); - if (status == PJ_SUCCESS) { - pj_ssize_t sent = send_state->tdata->buf.cur - - send_state->tdata->buf.start; - send_response_transport_cb(send_state, send_state->tdata, sent); - - } else if (status == PJ_EPENDING) { - /* Transport callback will be called later. */ - } else { - send_response_transport_cb(send_state, send_state->tdata, -status); - } -} - -/* - * Send response. - */ -PJ_DEF(pj_status_t) pjsip_endpt_send_response( pjsip_endpoint *endpt, - pjsip_response_addr *res_addr, - pjsip_tx_data *tdata, - void *token, - pjsip_send_callback cb) -{ - /* Determine which transports and addresses to send the response, - * based on Section 18.2.2 of RFC 3261. - */ - pjsip_send_state *send_state; - pj_status_t status; - - /* Create structure to keep the sending state. */ - send_state = PJ_POOL_ZALLOC_T(tdata->pool, pjsip_send_state); - send_state->endpt = endpt; - send_state->tdata = tdata; - send_state->token = token; - send_state->app_cb = cb; - - if (res_addr->transport != NULL) { - send_state->cur_transport = res_addr->transport; - pjsip_transport_add_ref(send_state->cur_transport); - - status = pjsip_transport_send( send_state->cur_transport, tdata, - &res_addr->addr, - res_addr->addr_len, - send_state, - &send_response_transport_cb ); - if (status == PJ_SUCCESS) { - pj_ssize_t sent = tdata->buf.cur - tdata->buf.start; - send_response_transport_cb(send_state, tdata, sent); - return PJ_SUCCESS; - } else if (status == PJ_EPENDING) { - /* Callback will be called later. */ - return PJ_SUCCESS; - } else { - pjsip_transport_dec_ref(send_state->cur_transport); - return status; - } - } else { - /* Copy the destination host name to TX data */ - pj_strdup(tdata->pool, &tdata->dest_info.name, - &res_addr->dst_host.addr.host); - - pjsip_endpt_resolve(endpt, tdata->pool, &res_addr->dst_host, - send_state, &send_response_resolver_cb); - return PJ_SUCCESS; - } -} - -/* - * Send response combo - */ -PJ_DEF(pj_status_t) pjsip_endpt_send_response2( pjsip_endpoint *endpt, - pjsip_rx_data *rdata, - pjsip_tx_data *tdata, - void *token, - pjsip_send_callback cb) -{ - pjsip_response_addr res_addr; - pj_status_t status; - - status = pjsip_get_response_addr(tdata->pool, rdata, &res_addr); - if (status != PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - return PJ_SUCCESS; - } - - status = pjsip_endpt_send_response(endpt, &res_addr, tdata, token, cb); - return status; -} - - -/* - * Send response - */ -PJ_DEF(pj_status_t) pjsip_endpt_respond_stateless( pjsip_endpoint *endpt, - pjsip_rx_data *rdata, - int st_code, - const pj_str_t *st_text, - const pjsip_hdr *hdr_list, - const pjsip_msg_body *body) -{ - pj_status_t status; - pjsip_response_addr res_addr; - pjsip_tx_data *tdata; - - /* Verify arguments. */ - PJ_ASSERT_RETURN(endpt && rdata, PJ_EINVAL); - PJ_ASSERT_RETURN(rdata->msg_info.msg->type == PJSIP_REQUEST_MSG, - PJSIP_ENOTREQUESTMSG); - - /* Check that no UAS transaction has been created for this request. - * If UAS transaction has been created for this request, application - * MUST send the response statefully using that transaction. - */ - PJ_ASSERT_RETURN(pjsip_rdata_get_tsx(rdata)==NULL, PJ_EINVALIDOP); - - /* Create response message */ - status = pjsip_endpt_create_response( endpt, rdata, st_code, st_text, - &tdata); - if (status != PJ_SUCCESS) - return status; - - /* Add the message headers, if any */ - if (hdr_list) { - const pjsip_hdr *hdr = hdr_list->next; - while (hdr != hdr_list) { - pjsip_msg_add_hdr(tdata->msg, - (pjsip_hdr*) pjsip_hdr_clone(tdata->pool, hdr) ); - hdr = hdr->next; - } - } - - /* Add the message body, if any. */ - if (body) { - tdata->msg->body = pjsip_msg_body_clone( tdata->pool, body ); - if (tdata->msg->body == NULL) { - pjsip_tx_data_dec_ref(tdata); - return status; - } - } - - /* Get where to send request. */ - status = pjsip_get_response_addr( tdata->pool, rdata, &res_addr ); - if (status != PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - return status; - } - - /* Send! */ - status = pjsip_endpt_send_response( endpt, &res_addr, tdata, NULL, NULL ); - if (status != PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - return status; - } - - return PJ_SUCCESS; -} - - -/* - * Get the event string from the event ID. - */ -PJ_DEF(const char *) pjsip_event_str(pjsip_event_id_e e) -{ - return event_str[e]; -} - diff --git a/res/pjproject/pjsip/src/pjsip/sip_util_proxy.c b/res/pjproject/pjsip/src/pjsip/sip_util_proxy.c deleted file mode 100644 index 7666118f3a..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_util_proxy.c +++ /dev/null @@ -1,389 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -/** - * Clone the incoming SIP request or response message. A forwarding proxy - * typically would need to clone the incoming SIP message before processing - * the message. - * - * Once a transmit data is created, the reference counter is initialized to 1. - * - * @param endpt The endpoint instance. - * @param rdata The incoming SIP message. - * @param p_tdata Pointer to receive the transmit data containing - * the duplicated message. - * - * @return PJ_SUCCESS on success. - */ -/* -PJ_DEF(pj_status_t) pjsip_endpt_clone_msg( pjsip_endpoint *endpt, - const pjsip_rx_data *rdata, - pjsip_tx_data **p_tdata) -{ - pjsip_tx_data *tdata; - pj_status_t status; - - status = pjsip_endpt_create_tdata(endpt, &tdata); - if (status != PJ_SUCCESS) - return status; - - tdata->msg = pjsip_msg_clone(tdata->pool, rdata->msg_info.msg); - - pjsip_tx_data_add_ref(tdata); - - *p_tdata = tdata; - - return PJ_SUCCESS; -} -*/ - - -/* - * Create new request message to be forwarded upstream to new destination URI - * in uri. - */ -PJ_DEF(pj_status_t) pjsip_endpt_create_request_fwd(pjsip_endpoint *endpt, - pjsip_rx_data *rdata, - const pjsip_uri *uri, - const pj_str_t *branch, - unsigned options, - pjsip_tx_data **p_tdata) -{ - pjsip_tx_data *tdata; - pj_status_t status; - PJ_USE_EXCEPTION; - - - PJ_ASSERT_RETURN(endpt && rdata && p_tdata, PJ_EINVAL); - PJ_ASSERT_RETURN(rdata->msg_info.msg->type == PJSIP_REQUEST_MSG, - PJSIP_ENOTREQUESTMSG); - - PJ_UNUSED_ARG(options); - - - /* Request forwarding rule in RFC 3261 section 16.6: - * - * For each target, the proxy forwards the request following these - * steps: - * - * 1. Make a copy of the received request - * 2. Update the Request-URI - * 3. Update the Max-Forwards header field - * 4. Optionally add a Record-route header field value - * 5. Optionally add additional header fields - * 6. Postprocess routing information - * 7. Determine the next-hop address, port, and transport - * 8. Add a Via header field value - * 9. Add a Content-Length header field if necessary - * 10. Forward the new request - * - * Of these steps, we only do step 1-3, since the later will be - * done by application. - */ - - status = pjsip_endpt_create_tdata(endpt, &tdata); - if (status != PJ_SUCCESS) - return status; - - /* Always increment ref counter to 1 */ - pjsip_tx_data_add_ref(tdata); - - /* Duplicate the request */ - PJ_TRY { - pjsip_msg *dst; - const pjsip_msg *src = rdata->msg_info.msg; - const pjsip_hdr *hsrc; - - /* Create the request */ - tdata->msg = dst = pjsip_msg_create(tdata->pool, PJSIP_REQUEST_MSG); - - /* Duplicate request method */ - pjsip_method_copy(tdata->pool, &tdata->msg->line.req.method, - &src->line.req.method); - - /* Set request URI */ - if (uri) { - dst->line.req.uri = (pjsip_uri*) - pjsip_uri_clone(tdata->pool, uri); - } else { - dst->line.req.uri= (pjsip_uri*) - pjsip_uri_clone(tdata->pool, src->line.req.uri); - } - - /* Clone ALL headers */ - hsrc = src->hdr.next; - while (hsrc != &src->hdr) { - - pjsip_hdr *hdst; - - /* If this is the top-most Via header, insert our own before - * cloning the header. - */ - if (hsrc == (pjsip_hdr*)rdata->msg_info.via) { - pjsip_via_hdr *hvia; - hvia = pjsip_via_hdr_create(tdata->pool); - if (branch) - pj_strdup(tdata->pool, &hvia->branch_param, branch); - else { - pj_str_t new_branch = pjsip_calculate_branch_id(rdata); - pj_strdup(tdata->pool, &hvia->branch_param, &new_branch); - } - pjsip_msg_add_hdr(dst, (pjsip_hdr*)hvia); - - } - /* Skip Content-Type and Content-Length as these would be - * generated when the the message is printed. - */ - else if (hsrc->type == PJSIP_H_CONTENT_LENGTH || - hsrc->type == PJSIP_H_CONTENT_TYPE) { - - hsrc = hsrc->next; - continue; - - } -#if 0 - /* If this is the top-most Route header and it indicates loose - * route, remove the header. - */ - else if (hsrc == (pjsip_hdr*)rdata->msg_info.route) { - - const pjsip_route_hdr *hroute = (const pjsip_route_hdr*) hsrc; - const pjsip_sip_uri *sip_uri; - - if (!PJSIP_URI_SCHEME_IS_SIP(hroute->name_addr.uri) && - !PJSIP_URI_SCHEME_IS_SIPS(hroute->name_addr.uri)) - { - /* This is a bad request! */ - status = PJSIP_EINVALIDHDR; - goto on_error; - } - - sip_uri = (pjsip_sip_uri*) hroute->name_addr.uri; - - if (sip_uri->lr_param) { - /* Yes lr param is present, skip this Route header */ - hsrc = hsrc->next; - continue; - } - } -#endif - - /* Clone the header */ - hdst = (pjsip_hdr*) pjsip_hdr_clone(tdata->pool, hsrc); - - /* If this is Max-Forward header, decrement the value */ - if (hdst->type == PJSIP_H_MAX_FORWARDS) { - pjsip_max_fwd_hdr *hmaxfwd = (pjsip_max_fwd_hdr*)hdst; - --hmaxfwd->ivalue; - } - - /* Append header to new request */ - pjsip_msg_add_hdr(dst, hdst); - - - hsrc = hsrc->next; - } - - /* 16.6.3: - * If the copy does not contain a Max-Forwards header field, the - * proxy MUST add one with a field value, which SHOULD be 70. - */ - if (rdata->msg_info.max_fwd == NULL) { - pjsip_max_fwd_hdr *hmaxfwd = - pjsip_max_fwd_hdr_create(tdata->pool, 70); - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)hmaxfwd); - } - - /* Clone request body */ - if (src->body) { - dst->body = pjsip_msg_body_clone(tdata->pool, src->body); - } - - } - PJ_CATCH_ANY { - status = PJ_ENOMEM; - goto on_error; - } - PJ_END - - - /* Done */ - *p_tdata = tdata; - return PJ_SUCCESS; - -on_error: - pjsip_tx_data_dec_ref(tdata); - return status; -} - - -PJ_DEF(pj_status_t) pjsip_endpt_create_response_fwd( pjsip_endpoint *endpt, - pjsip_rx_data *rdata, - unsigned options, - pjsip_tx_data **p_tdata) -{ - pjsip_tx_data *tdata; - pj_status_t status; - PJ_USE_EXCEPTION; - - PJ_UNUSED_ARG(options); - - status = pjsip_endpt_create_tdata(endpt, &tdata); - if (status != PJ_SUCCESS) - return status; - - pjsip_tx_data_add_ref(tdata); - - PJ_TRY { - pjsip_msg *dst; - const pjsip_msg *src = rdata->msg_info.msg; - const pjsip_hdr *hsrc; - - /* Create the request */ - tdata->msg = dst = pjsip_msg_create(tdata->pool, PJSIP_RESPONSE_MSG); - - /* Clone the status line */ - dst->line.status.code = src->line.status.code; - pj_strdup(tdata->pool, &dst->line.status.reason, - &src->line.status.reason); - - /* Duplicate all headers */ - hsrc = src->hdr.next; - while (hsrc != &src->hdr) { - - /* Skip Content-Type and Content-Length as these would be - * generated when the the message is printed. - */ - if (hsrc->type == PJSIP_H_CONTENT_LENGTH || - hsrc->type == PJSIP_H_CONTENT_TYPE) { - - hsrc = hsrc->next; - continue; - - } - /* Remove the first Via header */ - else if (hsrc == (pjsip_hdr*) rdata->msg_info.via) { - - hsrc = hsrc->next; - continue; - } - - pjsip_msg_add_hdr(dst, - (pjsip_hdr*)pjsip_hdr_clone(tdata->pool, hsrc)); - - hsrc = hsrc->next; - } - - /* Clone message body */ - if (src->body) - dst->body = pjsip_msg_body_clone(tdata->pool, src->body); - - - } - PJ_CATCH_ANY { - status = PJ_ENOMEM; - goto on_error; - } - PJ_END; - - *p_tdata = tdata; - return PJ_SUCCESS; - -on_error: - pjsip_tx_data_dec_ref(tdata); - return status; -} - - -static void digest2str(const unsigned char digest[], char *output) -{ - int i; - for (i = 0; i<16; ++i) { - pj_val_to_hex_digit(digest[i], output); - output += 2; - } -} - - -PJ_DEF(pj_str_t) pjsip_calculate_branch_id( pjsip_rx_data *rdata ) -{ - pj_md5_context ctx; - pj_uint8_t digest[16]; - pj_str_t branch; - pj_str_t rfc3261_branch = {PJSIP_RFC3261_BRANCH_ID, - PJSIP_RFC3261_BRANCH_LEN}; - - /* If incoming request does not have RFC 3261 branch value, create - * a branch value from GUID . - */ - if (pj_strncmp(&rdata->msg_info.via->branch_param, - &rfc3261_branch, PJSIP_RFC3261_BRANCH_LEN) != 0 ) - { - pj_str_t tmp; - - branch.ptr = (char*) - pj_pool_alloc(rdata->tp_info.pool, PJSIP_MAX_BRANCH_LEN); - branch.slen = PJSIP_RFC3261_BRANCH_LEN; - pj_memcpy(branch.ptr, PJSIP_RFC3261_BRANCH_ID, - PJSIP_RFC3261_BRANCH_LEN); - - tmp.ptr = branch.ptr + PJSIP_RFC3261_BRANCH_LEN + 2; - *(tmp.ptr-2) = (pj_int8_t)(branch.slen+73); - *(tmp.ptr-1) = (pj_int8_t)(branch.slen+99); - pj_generate_unique_string( &tmp ); - - branch.slen = PJSIP_MAX_BRANCH_LEN; - return branch; - } - - /* Create branch ID for new request by calculating MD5 hash - * of the branch parameter in top-most Via header. - */ - pj_md5_init(&ctx); - pj_md5_update(&ctx, (pj_uint8_t*)rdata->msg_info.via->branch_param.ptr, - rdata->msg_info.via->branch_param.slen); - pj_md5_final(&ctx, digest); - - branch.ptr = (char*) - pj_pool_alloc(rdata->tp_info.pool, - 34 + PJSIP_RFC3261_BRANCH_LEN); - pj_memcpy(branch.ptr, PJSIP_RFC3261_BRANCH_ID, PJSIP_RFC3261_BRANCH_LEN); - branch.slen = PJSIP_RFC3261_BRANCH_LEN; - *(branch.ptr+PJSIP_RFC3261_BRANCH_LEN) = (pj_int8_t)(branch.slen+73); - *(branch.ptr+PJSIP_RFC3261_BRANCH_LEN+1) = (pj_int8_t)(branch.slen+99); - digest2str(digest, branch.ptr+PJSIP_RFC3261_BRANCH_LEN+2); - branch.slen = 34 + PJSIP_RFC3261_BRANCH_LEN; - - return branch; -} - - diff --git a/res/pjproject/pjsip/src/pjsip/sip_util_proxy_wrap.cpp b/res/pjproject/pjsip/src/pjsip/sip_util_proxy_wrap.cpp deleted file mode 100644 index 3cbd3bd75f..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_util_proxy_wrap.cpp +++ /dev/null @@ -1,24 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * This file is a C++ wrapper, see ticket #886 for details. - */ - -#include "sip_util_proxy.c" diff --git a/res/pjproject/pjsip/src/pjsip/sip_util_statefull.c b/res/pjproject/pjsip/src/pjsip/sip_util_statefull.c deleted file mode 100644 index 375fb74ad8..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_util_statefull.c +++ /dev/null @@ -1,189 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -struct tsx_data -{ - void *token; - void (*cb)(void*, pjsip_event*); -}; - -static void mod_util_on_tsx_state(pjsip_transaction*, pjsip_event*); - -/* This module will be registered in pjsip_endpt.c */ - -pjsip_module mod_stateful_util = -{ - NULL, NULL, /* prev, next. */ - { "mod-stateful-util", 17 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - NULL, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - &mod_util_on_tsx_state, /* on_tsx_state() */ -}; - -static void mod_util_on_tsx_state(pjsip_transaction *tsx, pjsip_event *event) -{ - struct tsx_data *tsx_data; - - if (event->type != PJSIP_EVENT_TSX_STATE) - return; - - tsx_data = (struct tsx_data*) tsx->mod_data[mod_stateful_util.id]; - if (tsx_data == NULL) - return; - - if (tsx->status_code < 200) - return; - - /* Call the callback, if any, and prevent the callback to be called again - * by clearing the transaction's module_data. - */ - tsx->mod_data[mod_stateful_util.id] = NULL; - - if (tsx_data->cb) { - (*tsx_data->cb)(tsx_data->token, event); - } -} - - -PJ_DEF(pj_status_t) pjsip_endpt_send_request( pjsip_endpoint *endpt, - pjsip_tx_data *tdata, - pj_int32_t timeout, - void *token, - pjsip_endpt_send_callback cb) -{ - pjsip_transaction *tsx; - struct tsx_data *tsx_data; - pj_status_t status; - - PJ_ASSERT_RETURN(endpt && tdata && (timeout==-1 || timeout>0), PJ_EINVAL); - - /* Check that transaction layer module is registered to endpoint */ - PJ_ASSERT_RETURN(mod_stateful_util.id != -1, PJ_EINVALIDOP); - - PJ_UNUSED_ARG(timeout); - - status = pjsip_tsx_create_uac(&mod_stateful_util, tdata, &tsx); - if (status != PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - return status; - } - - pjsip_tsx_set_transport(tsx, &tdata->tp_sel); - - tsx_data = PJ_POOL_ALLOC_T(tsx->pool, struct tsx_data); - tsx_data->token = token; - tsx_data->cb = cb; - - tsx->mod_data[mod_stateful_util.id] = tsx_data; - - status = pjsip_tsx_send_msg(tsx, NULL); - if (status != PJ_SUCCESS) - pjsip_tx_data_dec_ref(tdata); - - return status; -} - - -/* - * Send response statefully. - */ -PJ_DEF(pj_status_t) pjsip_endpt_respond( pjsip_endpoint *endpt, - pjsip_module *tsx_user, - pjsip_rx_data *rdata, - int st_code, - const pj_str_t *st_text, - const pjsip_hdr *hdr_list, - const pjsip_msg_body *body, - pjsip_transaction **p_tsx ) -{ - pj_status_t status; - pjsip_tx_data *tdata; - pjsip_transaction *tsx; - - /* Validate arguments. */ - PJ_ASSERT_RETURN(endpt && rdata, PJ_EINVAL); - - if (p_tsx) *p_tsx = NULL; - - /* Create response message */ - status = pjsip_endpt_create_response( endpt, rdata, st_code, st_text, - &tdata); - if (status != PJ_SUCCESS) - return status; - - /* Add the message headers, if any */ - if (hdr_list) { - const pjsip_hdr *hdr = hdr_list->next; - while (hdr != hdr_list) { - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*) - pjsip_hdr_clone(tdata->pool, hdr) ); - hdr = hdr->next; - } - } - - /* Add the message body, if any. */ - if (body) { - tdata->msg->body = pjsip_msg_body_clone( tdata->pool, body ); - if (tdata->msg->body == NULL) { - pjsip_tx_data_dec_ref(tdata); - return status; - } - } - - /* Create UAS transaction. */ - status = pjsip_tsx_create_uas(tsx_user, rdata, &tsx); - if (status != PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - return status; - } - - /* Feed the request to the transaction. */ - pjsip_tsx_recv_msg(tsx, rdata); - - /* Send the message. */ - status = pjsip_tsx_send_msg(tsx, tdata); - if (status != PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - } else if (p_tsx) { - *p_tsx = tsx; - } - - return status; -} - - diff --git a/res/pjproject/pjsip/src/pjsip/sip_util_wrap.cpp b/res/pjproject/pjsip/src/pjsip/sip_util_wrap.cpp deleted file mode 100644 index a6878a0205..0000000000 --- a/res/pjproject/pjsip/src/pjsip/sip_util_wrap.cpp +++ /dev/null @@ -1,24 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * This file is a C++ wrapper, see ticket #886 for details. - */ - -#include "sip_util.c" diff --git a/res/pjproject/pjsip/src/pjsua-lib/pjsua_acc.c b/res/pjproject/pjsip/src/pjsua-lib/pjsua_acc.c deleted file mode 100644 index 9cdbe953b2..0000000000 --- a/res/pjproject/pjsip/src/pjsua-lib/pjsua_acc.c +++ /dev/null @@ -1,2993 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - - -#define THIS_FILE "pjsua_acc.c" - -enum -{ - OUTBOUND_UNKNOWN, // status unknown - OUTBOUND_WANTED, // initiated in registration - OUTBOUND_ACTIVE, // got positive response from server - OUTBOUND_NA // not wanted or got negative response from server -}; - - -static void schedule_reregistration(pjsua_acc *acc); -static void keep_alive_timer_cb(pj_timer_heap_t *th, pj_timer_entry *te); - -/* - * Get number of current accounts. - */ -PJ_DEF(unsigned) pjsua_acc_get_count(void) -{ - return pjsua_var.acc_cnt; -} - - -/* - * Check if the specified account ID is valid. - */ -PJ_DEF(pj_bool_t) pjsua_acc_is_valid(pjsua_acc_id acc_id) -{ - return acc_id>=0 && acc_id<(int)PJ_ARRAY_SIZE(pjsua_var.acc) && - pjsua_var.acc[acc_id].valid; -} - - -/* - * Set default account - */ -PJ_DEF(pj_status_t) pjsua_acc_set_default(pjsua_acc_id acc_id) -{ - pjsua_var.default_acc = acc_id; - return PJ_SUCCESS; -} - - -/* - * Get default account. - */ -PJ_DEF(pjsua_acc_id) pjsua_acc_get_default(void) -{ - return pjsua_var.default_acc; -} - - -/* - * Copy account configuration. - */ -PJ_DEF(void) pjsua_acc_config_dup( pj_pool_t *pool, - pjsua_acc_config *dst, - const pjsua_acc_config *src) -{ - unsigned i; - - pj_memcpy(dst, src, sizeof(pjsua_acc_config)); - - pj_strdup_with_null(pool, &dst->id, &src->id); - pj_strdup_with_null(pool, &dst->reg_uri, &src->reg_uri); - pj_strdup_with_null(pool, &dst->force_contact, &src->force_contact); - pj_strdup_with_null(pool, &dst->contact_params, &src->contact_params); - pj_strdup_with_null(pool, &dst->contact_uri_params, - &src->contact_uri_params); - pj_strdup_with_null(pool, &dst->pidf_tuple_id, &src->pidf_tuple_id); - pj_strdup_with_null(pool, &dst->rfc5626_instance_id, - &src->rfc5626_instance_id); - pj_strdup_with_null(pool, &dst->rfc5626_reg_id, &src->rfc5626_reg_id); - - dst->proxy_cnt = src->proxy_cnt; - for (i=0; iproxy_cnt; ++i) - pj_strdup_with_null(pool, &dst->proxy[i], &src->proxy[i]); - - dst->reg_timeout = src->reg_timeout; - dst->reg_delay_before_refresh = src->reg_delay_before_refresh; - dst->cred_count = src->cred_count; - - for (i=0; icred_count; ++i) { - pjsip_cred_dup(pool, &dst->cred_info[i], &src->cred_info[i]); - } - - pj_list_init(&dst->reg_hdr_list); - if (!pj_list_empty(&src->reg_hdr_list)) { - const pjsip_hdr *hdr; - - hdr = src->reg_hdr_list.next; - while (hdr != &src->reg_hdr_list) { - pj_list_push_back(&dst->reg_hdr_list, pjsip_hdr_clone(pool, hdr)); - hdr = hdr->next; - } - } - - pj_list_init(&dst->sub_hdr_list); - if (!pj_list_empty(&src->sub_hdr_list)) { - const pjsip_hdr *hdr; - - hdr = src->sub_hdr_list.next; - while (hdr != &src->sub_hdr_list) { - pj_list_push_back(&dst->sub_hdr_list, pjsip_hdr_clone(pool, hdr)); - hdr = hdr->next; - } - } - - pjsip_auth_clt_pref_dup(pool, &dst->auth_pref, &src->auth_pref); - - pjsua_transport_config_dup(pool, &dst->rtp_cfg, &src->rtp_cfg); - - pj_strdup(pool, &dst->ka_data, &src->ka_data); -} - -/* - * Calculate CRC of proxy list. - */ -static pj_uint32_t calc_proxy_crc(const pj_str_t proxy[], pj_size_t cnt) -{ - pj_crc32_context ctx; - unsigned i; - - pj_crc32_init(&ctx); - for (i=0; ipool, acc_cfg->id.ptr, - acc_cfg->id.slen, - PJSIP_PARSE_URI_AS_NAMEADDR); - if (name_addr == NULL) { - pjsua_perror(THIS_FILE, "Invalid local URI", - PJSIP_EINVALIDURI); - return PJSIP_EINVALIDURI; - } - - /* Local URI MUST be a SIP or SIPS: */ - if (!PJSIP_URI_SCHEME_IS_SIP(name_addr) && - !PJSIP_URI_SCHEME_IS_SIPS(name_addr)) - { - acc->display = name_addr->display; - acc->user_part = name_addr->display; - acc->srv_domain = pj_str(""); - acc->srv_port = 0; - } else { - pjsip_sip_uri *sip_uri; - - /* Get the SIP URI object: */ - sip_uri = (pjsip_sip_uri*) pjsip_uri_get_uri(name_addr); - - /* Save the user and domain part. These will be used when finding an - * account for incoming requests. - */ - acc->display = name_addr->display; - acc->user_part = sip_uri->user; - acc->srv_domain = sip_uri->host; - acc->srv_port = 0; - } - - - /* Parse registrar URI, if any */ - if (acc_cfg->reg_uri.slen) { - pjsip_uri *reg_uri; - - reg_uri = pjsip_parse_uri(acc->pool, acc_cfg->reg_uri.ptr, - acc_cfg->reg_uri.slen, 0); - if (reg_uri == NULL) { - pjsua_perror(THIS_FILE, "Invalid registrar URI", - PJSIP_EINVALIDURI); - return PJSIP_EINVALIDURI; - } - - /* Registrar URI MUST be a SIP or SIPS: */ - if (!PJSIP_URI_SCHEME_IS_SIP(reg_uri) && - !PJSIP_URI_SCHEME_IS_SIPS(reg_uri)) - { - pjsua_perror(THIS_FILE, "Invalid registar URI", - PJSIP_EINVALIDSCHEME); - return PJSIP_EINVALIDSCHEME; - } - - sip_reg_uri = (pjsip_sip_uri*) pjsip_uri_get_uri(reg_uri); - - } else { - sip_reg_uri = NULL; - } - - if (sip_reg_uri) { - acc->srv_port = sip_reg_uri->port; - } - - /* Create Contact header if not present. */ - //if (acc_cfg->contact.slen == 0) { - // acc_cfg->contact = acc_cfg->id; - //} - - /* Build account route-set from outbound proxies and route set from - * account configuration. - */ - pj_list_init(&acc->route_set); - - if (!pj_list_empty(&pjsua_var.outbound_proxy)) { - pjsip_route_hdr *r; - - r = pjsua_var.outbound_proxy.next; - while (r != &pjsua_var.outbound_proxy) { - pj_list_push_back(&acc->route_set, - pjsip_hdr_shallow_clone(acc->pool, r)); - r = r->next; - } - } - - for (i=0; iproxy_cnt; ++i) { - pj_str_t hname = { "Route", 5}; - pjsip_route_hdr *r; - pj_str_t tmp; - - pj_strdup_with_null(acc->pool, &tmp, &acc_cfg->proxy[i]); - r = (pjsip_route_hdr*) - pjsip_parse_hdr(acc->pool, &hname, tmp.ptr, tmp.slen, NULL); - if (r == NULL) { - pjsua_perror(THIS_FILE, "Invalid URI in account route set", - PJ_EINVAL); - return PJ_EINVAL; - } - pj_list_push_back(&acc->route_set, r); - } - - /* Concatenate credentials from account config and global config */ - acc->cred_cnt = 0; - for (i=0; icred_count; ++i) { - acc->cred[acc->cred_cnt++] = acc_cfg->cred_info[i]; - } - for (i=0; icred_cnt < PJ_ARRAY_SIZE(acc->cred); ++i) - { - acc->cred[acc->cred_cnt++] = pjsua_var.ua_cfg.cred_info[i]; - } - - /* If ICE is enabled, add "+sip.ice" media feature tag in account's - * contact params. - */ -#if PJSUA_ADD_ICE_TAGS - if (pjsua_var.media_cfg.enable_ice) { - unsigned new_len; - pj_str_t new_prm; - - new_len = acc_cfg->contact_params.slen + 10; - new_prm.ptr = (char*)pj_pool_alloc(acc->pool, new_len); - pj_strcpy(&new_prm, &acc_cfg->contact_params); - pj_strcat2(&new_prm, ";+sip.ice"); - acc_cfg->contact_params = new_prm; - } -#endif - - status = pjsua_pres_init_acc(acc_id); - if (status != PJ_SUCCESS) - return status; - - /* If SIP outbound is enabled, generate instance and reg ID if they are - * not specified - */ - if (acc_cfg->use_rfc5626) { - if (acc_cfg->rfc5626_instance_id.slen==0) { - const pj_str_t *hostname; - pj_uint32_t hval, pos; - char instprm[] = ";+sip.instance=\"\""; - - hostname = pj_gethostname(); - pos = pj_ansi_strlen(instprm) - 10; - hval = pj_hash_calc(0, hostname->ptr, hostname->slen); - pj_val_to_hex_digit( ((char*)&hval)[0], instprm+pos+0); - pj_val_to_hex_digit( ((char*)&hval)[1], instprm+pos+2); - pj_val_to_hex_digit( ((char*)&hval)[2], instprm+pos+4); - pj_val_to_hex_digit( ((char*)&hval)[3], instprm+pos+6); - - pj_strdup2(acc->pool, &acc->rfc5626_instprm, instprm); - } else { - const char *prmname = ";+sip.instance=\""; - unsigned len; - - len = pj_ansi_strlen(prmname) + acc_cfg->rfc5626_instance_id.slen + 1; - acc->rfc5626_instprm.ptr = (char*)pj_pool_alloc(acc->pool, len+1); - pj_ansi_snprintf(acc->rfc5626_instprm.ptr, len+1, - "%s%.*s\"", - prmname, - (int)acc_cfg->rfc5626_instance_id.slen, - acc_cfg->rfc5626_instance_id.ptr); - acc->rfc5626_instprm.slen = len; - } - - if (acc_cfg->rfc5626_reg_id.slen==0) { - acc->rfc5626_regprm = pj_str(";reg-id=1"); - } else { - const char *prmname = ";reg-id="; - unsigned len; - - len = pj_ansi_strlen(prmname) + acc_cfg->rfc5626_reg_id.slen; - acc->rfc5626_regprm.ptr = (char*)pj_pool_alloc(acc->pool, len+1); - pj_ansi_snprintf(acc->rfc5626_regprm.ptr, len+1, - "%s%.*s\"", - prmname, - (int)acc_cfg->rfc5626_reg_id.slen, - acc_cfg->rfc5626_reg_id.ptr); - acc->rfc5626_regprm.slen = len; - } - } - - /* Mark account as valid */ - pjsua_var.acc[acc_id].valid = PJ_TRUE; - - /* Insert account ID into account ID array, sorted by priority */ - for (i=0; iid.slen, cfg->id.ptr)); - pj_log_push_indent(); - - PJSUA_LOCK(); - - /* Find empty account id. */ - for (id=0; id < PJ_ARRAY_SIZE(pjsua_var.acc); ++id) { - if (pjsua_var.acc[id].valid == PJ_FALSE) - break; - } - - /* Expect to find a slot */ - PJ_ASSERT_ON_FAIL( id < PJ_ARRAY_SIZE(pjsua_var.acc), - {PJSUA_UNLOCK(); return PJ_EBUG;}); - - acc = &pjsua_var.acc[id]; - - /* Create pool for this account. */ - if (acc->pool) - pj_pool_reset(acc->pool); - else - acc->pool = pjsua_pool_create("acc%p", 512, 256); - - /* Copy config */ - pjsua_acc_config_dup(acc->pool, &pjsua_var.acc[id].cfg, cfg); - - /* Normalize registration timeout and refresh delay */ - if (pjsua_var.acc[id].cfg.reg_uri.slen) { - if (pjsua_var.acc[id].cfg.reg_timeout == 0) { - pjsua_var.acc[id].cfg.reg_timeout = PJSUA_REG_INTERVAL; - } - if (pjsua_var.acc[id].cfg.reg_delay_before_refresh == 0) { - pjsua_var.acc[id].cfg.reg_delay_before_refresh = - PJSIP_REGISTER_CLIENT_DELAY_BEFORE_REFRESH; - } - } - - /* Check the route URI's and force loose route if required */ - for (i=0; icfg.proxy_cnt; ++i) { - status = normalize_route_uri(acc->pool, &acc->cfg.proxy[i]); - if (status != PJ_SUCCESS) { - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return status; - } - } - - /* Get CRC of account proxy setting */ - acc->local_route_crc = calc_proxy_crc(acc->cfg.proxy, acc->cfg.proxy_cnt); - - /* Get CRC of global outbound proxy setting */ - acc->global_route_crc=calc_proxy_crc(pjsua_var.ua_cfg.outbound_proxy, - pjsua_var.ua_cfg.outbound_proxy_cnt); - - status = initialize_acc(id); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error adding account", status); - pj_pool_release(acc->pool); - acc->pool = NULL; - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return status; - } - - if (is_default) - pjsua_var.default_acc = id; - - if (p_acc_id) - *p_acc_id = id; - - pjsua_var.acc_cnt++; - - PJSUA_UNLOCK(); - - PJ_LOG(4,(THIS_FILE, "Account %.*s added with id %d", - (int)cfg->id.slen, cfg->id.ptr, id)); - - /* If accounts has registration enabled, start registration */ - if (pjsua_var.acc[id].cfg.reg_uri.slen) { - if (pjsua_var.acc[id].cfg.register_on_acc_add) - pjsua_acc_set_registration(id, PJ_TRUE); - } else { - /* Otherwise subscribe to MWI, if it's enabled */ - if (pjsua_var.acc[id].cfg.mwi_enabled) - pjsua_start_mwi(&pjsua_var.acc[id]); - } - - pj_log_pop_indent(); - return PJ_SUCCESS; -} - - -/* - * Add local account - */ -PJ_DEF(pj_status_t) pjsua_acc_add_local( pjsua_transport_id tid, - pj_bool_t is_default, - pjsua_acc_id *p_acc_id) -{ - pjsua_acc_config cfg; - pjsua_transport_data *t = &pjsua_var.tpdata[tid]; - const char *beginquote, *endquote; - char transport_param[32]; - char uri[PJSIP_MAX_URL_SIZE]; - - /* ID must be valid */ - PJ_ASSERT_RETURN(tid>=0 && tid<(int)PJ_ARRAY_SIZE(pjsua_var.tpdata), - PJ_EINVAL); - - /* Transport must be valid */ - PJ_ASSERT_RETURN(t->data.ptr != NULL, PJ_EINVAL); - - pjsua_acc_config_default(&cfg); - - /* Lower the priority of local account */ - --cfg.priority; - - /* Enclose IPv6 address in square brackets */ - if (t->type & PJSIP_TRANSPORT_IPV6) { - beginquote = "["; - endquote = "]"; - } else { - beginquote = endquote = ""; - } - - /* Don't add transport parameter if it's UDP */ - if (t->type!=PJSIP_TRANSPORT_UDP && t->type!=PJSIP_TRANSPORT_UDP6) { - pj_ansi_snprintf(transport_param, sizeof(transport_param), - ";transport=%s", - pjsip_transport_get_type_name(t->type)); - } else { - transport_param[0] = '\0'; - } - - /* Build URI for the account */ - pj_ansi_snprintf(uri, PJSIP_MAX_URL_SIZE, - "", - beginquote, - (int)t->local_name.host.slen, - t->local_name.host.ptr, - endquote, - t->local_name.port, - transport_param); - - cfg.id = pj_str(uri); - - return pjsua_acc_add(&cfg, is_default, p_acc_id); -} - - -/* - * Set arbitrary data to be associated with the account. - */ -PJ_DEF(pj_status_t) pjsua_acc_set_user_data(pjsua_acc_id acc_id, - void *user_data) -{ - PJ_ASSERT_RETURN(acc_id>=0 && acc_id<(int)PJ_ARRAY_SIZE(pjsua_var.acc), - PJ_EINVAL); - PJ_ASSERT_RETURN(pjsua_var.acc[acc_id].valid, PJ_EINVALIDOP); - - PJSUA_LOCK(); - - pjsua_var.acc[acc_id].cfg.user_data = user_data; - - PJSUA_UNLOCK(); - - return PJ_SUCCESS; -} - - -/* - * Retrieve arbitrary data associated with the account. - */ -PJ_DEF(void*) pjsua_acc_get_user_data(pjsua_acc_id acc_id) -{ - PJ_ASSERT_RETURN(acc_id>=0 && acc_id<(int)PJ_ARRAY_SIZE(pjsua_var.acc), - NULL); - PJ_ASSERT_RETURN(pjsua_var.acc[acc_id].valid, NULL); - - return pjsua_var.acc[acc_id].cfg.user_data; -} - - -/* - * Delete account. - */ -PJ_DEF(pj_status_t) pjsua_acc_del(pjsua_acc_id acc_id) -{ - pjsua_acc *acc; - unsigned i; - - PJ_ASSERT_RETURN(acc_id>=0 && acc_id<(int)PJ_ARRAY_SIZE(pjsua_var.acc), - PJ_EINVAL); - PJ_ASSERT_RETURN(pjsua_var.acc[acc_id].valid, PJ_EINVALIDOP); - - PJ_LOG(4,(THIS_FILE, "Deleting account %d..", acc_id)); - pj_log_push_indent(); - - PJSUA_LOCK(); - - acc = &pjsua_var.acc[acc_id]; - - /* Cancel keep-alive timer, if any */ - if (acc->ka_timer.id) { - pjsip_endpt_cancel_timer(pjsua_var.endpt, &acc->ka_timer); - acc->ka_timer.id = PJ_FALSE; - } - if (acc->ka_transport) { - pjsip_transport_dec_ref(acc->ka_transport); - acc->ka_transport = NULL; - } - - /* Cancel any re-registration timer */ - pjsua_cancel_timer(&acc->auto_rereg.timer); - - /* Delete registration */ - if (acc->regc != NULL) { - pjsua_acc_set_registration(acc_id, PJ_FALSE); - if (acc->regc) { - pjsip_regc_destroy(acc->regc); - } - acc->regc = NULL; - } - - /* Delete server presence subscription */ - pjsua_pres_delete_acc(acc_id, 0); - - /* Release account pool */ - if (acc->pool) { - pj_pool_release(acc->pool); - acc->pool = NULL; - } - - /* Invalidate */ - acc->valid = PJ_FALSE; - acc->contact.slen = 0; - - /* Remove from array */ - for (i=0; i=0 && acc_id<(int)PJ_ARRAY_SIZE(pjsua_var.acc) - && pjsua_var.acc[acc_id].valid, PJ_EINVAL); - pj_memcpy(acc_cfg, &pjsua_var.acc[acc_id].cfg, sizeof(*acc_cfg)); - return PJ_SUCCESS; -} - -/* - * Modify account information. - */ -PJ_DEF(pj_status_t) pjsua_acc_modify( pjsua_acc_id acc_id, - const pjsua_acc_config *cfg) -{ - pjsua_acc *acc; - pjsip_name_addr *id_name_addr = NULL; - pjsip_sip_uri *id_sip_uri = NULL; - pjsip_sip_uri *reg_sip_uri = NULL; - pj_uint32_t local_route_crc, global_route_crc; - pjsip_route_hdr global_route; - pjsip_route_hdr local_route; - pj_str_t acc_proxy[PJSUA_ACC_MAX_PROXIES]; - pj_bool_t update_reg = PJ_FALSE; - pj_bool_t unreg_first = PJ_FALSE; - pj_status_t status = PJ_SUCCESS; - - PJ_ASSERT_RETURN(acc_id>=0 && acc_id<(int)PJ_ARRAY_SIZE(pjsua_var.acc), - PJ_EINVAL); - - PJ_LOG(4,(THIS_FILE, "Modifying accunt %d", acc_id)); - pj_log_push_indent(); - - PJSUA_LOCK(); - - acc = &pjsua_var.acc[acc_id]; - if (!acc->valid) { - status = PJ_EINVAL; - goto on_return; - } - - /* == Validate first == */ - - /* Account id */ - if (pj_strcmp(&acc->cfg.id, &cfg->id)) { - /* Need to parse id to get the elements: */ - id_name_addr = (pjsip_name_addr*) - pjsip_parse_uri(acc->pool, cfg->id.ptr, cfg->id.slen, - PJSIP_PARSE_URI_AS_NAMEADDR); - if (id_name_addr == NULL) { - status = PJSIP_EINVALIDURI; - pjsua_perror(THIS_FILE, "Invalid local URI", status); - goto on_return; - } - - /* URI MUST be a SIP or SIPS: */ - if (!PJSIP_URI_SCHEME_IS_SIP(id_name_addr) && - !PJSIP_URI_SCHEME_IS_SIPS(id_name_addr)) - { - status = PJSIP_EINVALIDSCHEME; - pjsua_perror(THIS_FILE, "Invalid local URI", status); - goto on_return; - } - - /* Get the SIP URI object: */ - id_sip_uri = (pjsip_sip_uri*) pjsip_uri_get_uri(id_name_addr); - } - - /* Registrar URI */ - if (pj_strcmp(&acc->cfg.reg_uri, &cfg->reg_uri) && cfg->reg_uri.slen) { - pjsip_uri *reg_uri; - - /* Need to parse reg_uri to get the elements: */ - reg_uri = pjsip_parse_uri(acc->pool, cfg->reg_uri.ptr, - cfg->reg_uri.slen, 0); - if (reg_uri == NULL) { - status = PJSIP_EINVALIDURI; - pjsua_perror(THIS_FILE, "Invalid registrar URI", status); - goto on_return; - } - - /* Registrar URI MUST be a SIP or SIPS: */ - if (!PJSIP_URI_SCHEME_IS_SIP(reg_uri) && - !PJSIP_URI_SCHEME_IS_SIPS(reg_uri)) - { - status = PJSIP_EINVALIDSCHEME; - pjsua_perror(THIS_FILE, "Invalid registar URI", status); - goto on_return; - } - - reg_sip_uri = (pjsip_sip_uri*) pjsip_uri_get_uri(reg_uri); - } - - /* Global outbound proxy */ - global_route_crc = calc_proxy_crc(pjsua_var.ua_cfg.outbound_proxy, - pjsua_var.ua_cfg.outbound_proxy_cnt); - if (global_route_crc != acc->global_route_crc) { - pjsip_route_hdr *r; - - /* Copy from global outbound proxies */ - pj_list_init(&global_route); - r = pjsua_var.outbound_proxy.next; - while (r != &pjsua_var.outbound_proxy) { - pj_list_push_back(&global_route, - pjsip_hdr_shallow_clone(acc->pool, r)); - r = r->next; - } - } - - /* Account proxy */ - local_route_crc = calc_proxy_crc(cfg->proxy, cfg->proxy_cnt); - if (local_route_crc != acc->local_route_crc) { - pjsip_route_hdr *r; - unsigned i; - - /* Validate the local route and save it to temporary var */ - pj_list_init(&local_route); - for (i=0; iproxy_cnt; ++i) { - pj_str_t hname = { "Route", 5}; - - pj_strdup_with_null(acc->pool, &acc_proxy[i], &cfg->proxy[i]); - status = normalize_route_uri(acc->pool, &acc_proxy[i]); - if (status != PJ_SUCCESS) - goto on_return; - r = (pjsip_route_hdr*) - pjsip_parse_hdr(acc->pool, &hname, acc_proxy[i].ptr, - acc_proxy[i].slen, NULL); - if (r == NULL) { - status = PJSIP_EINVALIDURI; - pjsua_perror(THIS_FILE, "Invalid URI in account route set", - status); - goto on_return; - } - - pj_list_push_back(&local_route, r); - } - - /* Recalculate the CRC again after route URI normalization */ - local_route_crc = calc_proxy_crc(acc_proxy, cfg->proxy_cnt); - } - - - /* == Apply the new config == */ - - /* Account ID. */ - if (id_name_addr && id_sip_uri) { - pj_strdup_with_null(acc->pool, &acc->cfg.id, &cfg->id); - pj_strdup_with_null(acc->pool, &acc->display, &id_name_addr->display); - pj_strdup_with_null(acc->pool, &acc->user_part, &id_sip_uri->user); - pj_strdup_with_null(acc->pool, &acc->srv_domain, &id_sip_uri->host); - acc->srv_port = 0; - update_reg = PJ_TRUE; - unreg_first = PJ_TRUE; - } - - /* User data */ - acc->cfg.user_data = cfg->user_data; - - /* Priority */ - if (acc->cfg.priority != cfg->priority) { - unsigned i; - - acc->cfg.priority = cfg->priority; - - /* Resort accounts priority */ - for (i=0; icfg.priority) - { - break; - } - } - pj_array_insert(pjsua_var.acc_ids, sizeof(acc_id), - pjsua_var.acc_cnt, i, &acc_id); - } - - /* MWI */ - acc->cfg.mwi_enabled = cfg->mwi_enabled; - - /* PIDF tuple ID */ - if (pj_strcmp(&acc->cfg.pidf_tuple_id, &cfg->pidf_tuple_id)) - pj_strdup_with_null(acc->pool, &acc->cfg.pidf_tuple_id, - &cfg->pidf_tuple_id); - - /* Publish */ - acc->cfg.publish_opt = cfg->publish_opt; - acc->cfg.unpublish_max_wait_time_msec = cfg->unpublish_max_wait_time_msec; - if (acc->cfg.publish_enabled != cfg->publish_enabled) { - acc->cfg.publish_enabled = cfg->publish_enabled; - if (!acc->cfg.publish_enabled) - pjsua_pres_unpublish(acc, 0); - else - update_reg = PJ_TRUE; - } - - /* Force contact URI */ - if (pj_strcmp(&acc->cfg.force_contact, &cfg->force_contact)) { - pj_strdup_with_null(acc->pool, &acc->cfg.force_contact, - &cfg->force_contact); - update_reg = PJ_TRUE; - unreg_first = PJ_TRUE; - } - - /* Contact param */ - if (pj_strcmp(&acc->cfg.contact_params, &cfg->contact_params)) { - pj_strdup_with_null(acc->pool, &acc->cfg.contact_params, - &cfg->contact_params); - update_reg = PJ_TRUE; - } - - /* Contact URI params */ - if (pj_strcmp(&acc->cfg.contact_uri_params, &cfg->contact_uri_params)) { - pj_strdup_with_null(acc->pool, &acc->cfg.contact_uri_params, - &cfg->contact_uri_params); - update_reg = PJ_TRUE; - } - - /* Reliable provisional response */ - acc->cfg.require_100rel = cfg->require_100rel; - - /* Session timer */ - acc->cfg.use_timer = cfg->use_timer; - acc->cfg.timer_setting = cfg->timer_setting; - - /* Transport */ - if (acc->cfg.transport_id != cfg->transport_id) { - acc->cfg.transport_id = cfg->transport_id; - update_reg = PJ_TRUE; - } - - /* Update keep-alive */ - if (acc->cfg.ka_interval != cfg->ka_interval || - pj_strcmp(&acc->cfg.ka_data, &cfg->ka_data)) - { - pjsip_transport *ka_transport = acc->ka_transport; - - if (acc->ka_timer.id) { - pjsip_endpt_cancel_timer(pjsua_var.endpt, &acc->ka_timer); - acc->ka_timer.id = PJ_FALSE; - } - if (acc->ka_transport) { - pjsip_transport_dec_ref(acc->ka_transport); - acc->ka_transport = NULL; - } - - acc->cfg.ka_interval = cfg->ka_interval; - - if (cfg->ka_interval) { - if (ka_transport) { - /* Keep-alive has been running so we can just restart it */ - pj_time_val delay; - - pjsip_transport_add_ref(ka_transport); - acc->ka_transport = ka_transport; - - acc->ka_timer.cb = &keep_alive_timer_cb; - acc->ka_timer.user_data = (void*)acc; - - delay.sec = acc->cfg.ka_interval; - delay.msec = 0; - status = pjsua_schedule_timer(&acc->ka_timer, &delay); - if (status == PJ_SUCCESS) { - acc->ka_timer.id = PJ_TRUE; - } else { - pjsip_transport_dec_ref(ka_transport); - acc->ka_transport = NULL; - pjsua_perror(THIS_FILE, "Error starting keep-alive timer", - status); - } - - } else { - /* Keep-alive has not been running, we need to (re)register - * first. - */ - update_reg = PJ_TRUE; - } - } - } - - if (pj_strcmp(&acc->cfg.ka_data, &cfg->ka_data)) - pj_strdup(acc->pool, &acc->cfg.ka_data, &cfg->ka_data); -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - acc->cfg.use_srtp = cfg->use_srtp; - acc->cfg.srtp_secure_signaling = cfg->srtp_secure_signaling; - acc->cfg.srtp_optional_dup_offer = cfg->srtp_optional_dup_offer; -#endif - -#if defined(PJMEDIA_STREAM_ENABLE_KA) && (PJMEDIA_STREAM_ENABLE_KA != 0) - acc->cfg.use_stream_ka = cfg->use_stream_ka; -#endif - - /* Use of proxy */ - if (acc->cfg.reg_use_proxy != cfg->reg_use_proxy) { - acc->cfg.reg_use_proxy = cfg->reg_use_proxy; - update_reg = PJ_TRUE; - } - - /* Global outbound proxy */ - if (global_route_crc != acc->global_route_crc) { - unsigned i, rcnt; - - /* Remove the outbound proxies from the route set */ - rcnt = pj_list_size(&acc->route_set); - for (i=0; i < rcnt - acc->cfg.proxy_cnt; ++i) { - pjsip_route_hdr *r = acc->route_set.next; - pj_list_erase(r); - } - - /* Insert the outbound proxies to the beginning of route set */ - pj_list_merge_first(&acc->route_set, &global_route); - - /* Update global route CRC */ - acc->global_route_crc = global_route_crc; - - update_reg = PJ_TRUE; - } - - /* Account proxy */ - if (local_route_crc != acc->local_route_crc) { - unsigned i; - - /* Remove the current account proxies from the route set */ - for (i=0; i < acc->cfg.proxy_cnt; ++i) { - pjsip_route_hdr *r = acc->route_set.prev; - pj_list_erase(r); - } - - /* Insert new proxy setting to the route set */ - pj_list_merge_last(&acc->route_set, &local_route); - - /* Update the proxy setting */ - acc->cfg.proxy_cnt = cfg->proxy_cnt; - for (i = 0; i < cfg->proxy_cnt; ++i) - acc->cfg.proxy[i] = acc_proxy[i]; - - /* Update local route CRC */ - acc->local_route_crc = local_route_crc; - - update_reg = PJ_TRUE; - } - - /* Credential info */ - { - unsigned i; - - /* Selective update credential info. */ - for (i = 0; i < cfg->cred_count; ++i) { - unsigned j; - pjsip_cred_info ci; - - /* Find if this credential is already listed */ - for (j = i; j < acc->cfg.cred_count; ++j) { - if (pjsip_cred_info_cmp(&acc->cfg.cred_info[j], - &cfg->cred_info[i]) == 0) - { - /* Found, but different index/position, swap */ - if (j != i) { - ci = acc->cfg.cred_info[i]; - acc->cfg.cred_info[i] = acc->cfg.cred_info[j]; - acc->cfg.cred_info[j] = ci; - } - break; - } - } - - /* Not found, insert this */ - if (j == acc->cfg.cred_count) { - /* If account credential is full, discard the last one. */ - if (acc->cfg.cred_count == PJ_ARRAY_SIZE(acc->cfg.cred_info)) { - pj_array_erase(acc->cfg.cred_info, sizeof(pjsip_cred_info), - acc->cfg.cred_count, acc->cfg.cred_count-1); - acc->cfg.cred_count--; - } - - /* Insert this */ - pjsip_cred_info_dup(acc->pool, &ci, &cfg->cred_info[i]); - pj_array_insert(acc->cfg.cred_info, sizeof(pjsip_cred_info), - acc->cfg.cred_count, i, &ci); - } - } - acc->cfg.cred_count = cfg->cred_count; - - /* Concatenate credentials from account config and global config */ - acc->cred_cnt = 0; - for (i=0; icfg.cred_count; ++i) { - acc->cred[acc->cred_cnt++] = acc->cfg.cred_info[i]; - } - for (i=0; icred_cnt < PJ_ARRAY_SIZE(acc->cred); ++i) - { - acc->cred[acc->cred_cnt++] = pjsua_var.ua_cfg.cred_info[i]; - } - } - - /* Authentication preference */ - acc->cfg.auth_pref.initial_auth = cfg->auth_pref.initial_auth; - if (pj_strcmp(&acc->cfg.auth_pref.algorithm, &cfg->auth_pref.algorithm)) - pj_strdup_with_null(acc->pool, &acc->cfg.auth_pref.algorithm, - &cfg->auth_pref.algorithm); - - /* Registration */ - if (acc->cfg.reg_timeout != cfg->reg_timeout) { - acc->cfg.reg_timeout = cfg->reg_timeout; - if (acc->regc != NULL) - pjsip_regc_update_expires(acc->regc, acc->cfg.reg_timeout); - - update_reg = PJ_TRUE; - } - acc->cfg.unreg_timeout = cfg->unreg_timeout; - acc->cfg.allow_contact_rewrite = cfg->allow_contact_rewrite; - acc->cfg.reg_retry_interval = cfg->reg_retry_interval; - acc->cfg.reg_first_retry_interval = cfg->reg_first_retry_interval; - acc->cfg.drop_calls_on_reg_fail = cfg->drop_calls_on_reg_fail; - acc->cfg.register_on_acc_add = cfg->register_on_acc_add; - if (acc->cfg.reg_delay_before_refresh != cfg->reg_delay_before_refresh) { - acc->cfg.reg_delay_before_refresh = cfg->reg_delay_before_refresh; - if (acc->regc != NULL) - pjsip_regc_set_delay_before_refresh(acc->regc, - cfg->reg_delay_before_refresh); - } - - /* Normalize registration timeout and refresh delay */ - if (acc->cfg.reg_uri.slen ) { - if (acc->cfg.reg_timeout == 0) { - acc->cfg.reg_timeout = PJSUA_REG_INTERVAL; - } - if (acc->cfg.reg_delay_before_refresh == 0) { - acc->cfg.reg_delay_before_refresh = - PJSIP_REGISTER_CLIENT_DELAY_BEFORE_REFRESH; - } - } - - /* Registrar URI */ - if (pj_strcmp(&acc->cfg.reg_uri, &cfg->reg_uri)) { - if (cfg->reg_uri.slen) { - pj_strdup_with_null(acc->pool, &acc->cfg.reg_uri, &cfg->reg_uri); - if (reg_sip_uri) - acc->srv_port = reg_sip_uri->port; - } else { - /* Unregister if registration was set */ - if (acc->cfg.reg_uri.slen) - pjsua_acc_set_registration(acc->index, PJ_FALSE); - pj_bzero(&acc->cfg.reg_uri, sizeof(acc->cfg.reg_uri)); - } - update_reg = PJ_TRUE; - unreg_first = PJ_TRUE; - } - - /* SIP outbound setting */ - if (acc->cfg.use_rfc5626 != cfg->use_rfc5626 || - pj_strcmp(&acc->cfg.rfc5626_instance_id, &cfg->rfc5626_instance_id) || - pj_strcmp(&acc->cfg.rfc5626_reg_id, &cfg->rfc5626_reg_id)) - { - update_reg = PJ_TRUE; - } - - /* Unregister first */ - if (unreg_first) { - pjsua_acc_set_registration(acc->index, PJ_FALSE); - if (acc->regc != NULL) { - pjsip_regc_destroy(acc->regc); - acc->regc = NULL; - acc->contact.slen = 0; - } - } - - /* Update registration */ - if (update_reg) { - /* If accounts has registration enabled, start registration */ - if (acc->cfg.reg_uri.slen) - pjsua_acc_set_registration(acc->index, PJ_TRUE); - else { - /* Otherwise subscribe to MWI, if it's enabled */ - if (acc->cfg.mwi_enabled) - pjsua_start_mwi(acc); - } - } - - /* Video settings */ - acc->cfg.vid_in_auto_show = cfg->vid_in_auto_show; - acc->cfg.vid_out_auto_transmit = cfg->vid_out_auto_transmit; - acc->cfg.vid_wnd_flags = cfg->vid_wnd_flags; - acc->cfg.vid_cap_dev = cfg->vid_cap_dev; - acc->cfg.vid_rend_dev = cfg->vid_rend_dev; - - /* Call hold type */ - acc->cfg.call_hold_type = cfg->call_hold_type; - -on_return: - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return status; -} - - -/* - * Modify account's presence status to be advertised to remote/presence - * subscribers. - */ -PJ_DEF(pj_status_t) pjsua_acc_set_online_status( pjsua_acc_id acc_id, - pj_bool_t is_online) -{ - PJ_ASSERT_RETURN(acc_id>=0 && acc_id<(int)PJ_ARRAY_SIZE(pjsua_var.acc), - PJ_EINVAL); - PJ_ASSERT_RETURN(pjsua_var.acc[acc_id].valid, PJ_EINVALIDOP); - - PJ_LOG(4,(THIS_FILE, "Acc %d: setting online status to %d..", - acc_id, is_online)); - pj_log_push_indent(); - - pjsua_var.acc[acc_id].online_status = is_online; - pj_bzero(&pjsua_var.acc[acc_id].rpid, sizeof(pjrpid_element)); - pjsua_pres_update_acc(acc_id, PJ_FALSE); - - pj_log_pop_indent(); - return PJ_SUCCESS; -} - - -/* - * Set online status with extended information - */ -PJ_DEF(pj_status_t) pjsua_acc_set_online_status2( pjsua_acc_id acc_id, - pj_bool_t is_online, - const pjrpid_element *pr) -{ - PJ_ASSERT_RETURN(acc_id>=0 && acc_id<(int)PJ_ARRAY_SIZE(pjsua_var.acc), - PJ_EINVAL); - PJ_ASSERT_RETURN(pjsua_var.acc[acc_id].valid, PJ_EINVALIDOP); - - PJ_LOG(4,(THIS_FILE, "Acc %d: setting online status to %d..", - acc_id, is_online)); - pj_log_push_indent(); - - PJSUA_LOCK(); - pjsua_var.acc[acc_id].online_status = is_online; - pjrpid_element_dup(pjsua_var.acc[acc_id].pool, &pjsua_var.acc[acc_id].rpid, pr); - PJSUA_UNLOCK(); - - pjsua_pres_update_acc(acc_id, PJ_TRUE); - pj_log_pop_indent(); - - return PJ_SUCCESS; -} - -/* Create reg_contact, mainly for SIP outbound */ -static void update_regc_contact(pjsua_acc *acc) -{ - pjsua_acc_config *acc_cfg = &acc->cfg; - pj_bool_t need_outbound = PJ_FALSE; - const pj_str_t tcp_param = pj_str(";transport=tcp"); - const pj_str_t tls_param = pj_str(";transport=tls"); - - if (!acc_cfg->use_rfc5626) - goto done; - - /* Check if outbound has been requested and rejected */ - if (acc->rfc5626_status == OUTBOUND_NA) - goto done; - - if (pj_stristr(&acc->contact, &tcp_param)==NULL && - pj_stristr(&acc->contact, &tls_param)==NULL) - { - /* Currently we can only do SIP outbound for TCP - * and TLS. - */ - goto done; - } - - /* looks like we can use outbound */ - need_outbound = PJ_TRUE; - -done: - if (!need_outbound) { - /* Outbound is not needed/wanted for the account. acc->reg_contact - * is set to the same as acc->contact. - */ - acc->reg_contact = acc->contact; - acc->rfc5626_status = OUTBOUND_NA; - } else { - /* Need to use outbound, append the contact with +sip.instance and - * reg-id parameters. - */ - unsigned len; - pj_str_t reg_contact; - - acc->rfc5626_status = OUTBOUND_WANTED; - len = acc->contact.slen + acc->rfc5626_instprm.slen + - acc->rfc5626_regprm.slen; - reg_contact.ptr = (char*) pj_pool_alloc(acc->pool, len); - - pj_strcpy(®_contact, &acc->contact); - pj_strcat(®_contact, &acc->rfc5626_regprm); - pj_strcat(®_contact, &acc->rfc5626_instprm); - - acc->reg_contact = reg_contact; - - PJ_LOG(4,(THIS_FILE, - "Contact for acc %d updated for SIP outbound: %.*s", - acc->index, - (int)acc->reg_contact.slen, - acc->reg_contact.ptr)); - } -} - -/* Check if IP is private IP address */ -static pj_bool_t is_private_ip(const pj_str_t *addr) -{ - const pj_str_t private_net[] = - { - { "10.", 3 }, - { "127.", 4 }, - { "172.16.", 7 }, - { "192.168.", 8 } - }; - unsigned i; - - for (i=0; irdata->tp_info.transport; - - /* Only update if account is configured to auto-update */ - if (acc->cfg.allow_contact_rewrite == PJ_FALSE) - return PJ_FALSE; - - /* If SIP outbound is active, no need to update */ - if (acc->rfc5626_status == OUTBOUND_ACTIVE) { - PJ_LOG(4,(THIS_FILE, "Acc %d has SIP outbound active, no need to " - "update registration Contact", acc->index)); - return PJ_FALSE; - } - -#if 0 - // Always update - // See http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2008-March/002178.html - - /* For UDP, only update if STUN is enabled (for now). - * For TCP/TLS, always check. - */ - if ((tp->key.type == PJSIP_TRANSPORT_UDP && - (pjsua_var.ua_cfg.stun_domain.slen != 0 || - (pjsua_var.ua_cfg.stun_host.slen != 0)) || - (tp->key.type == PJSIP_TRANSPORT_TCP) || - (tp->key.type == PJSIP_TRANSPORT_TLS)) - { - /* Yes we will check */ - } else { - return PJ_FALSE; - } -#endif - - /* Get the received and rport info */ - via = param->rdata->msg_info.via; - if (via->rport_param < 1) { - /* Remote doesn't support rport */ - rport = via->sent_by.port; - if (rport==0) { - pjsip_transport_type_e tp_type; - tp_type = (pjsip_transport_type_e) tp->key.type; - rport = pjsip_transport_get_default_port_for_type(tp_type); - } - } else - rport = via->rport_param; - - if (via->recvd_param.slen != 0) - via_addr = &via->recvd_param; - else - via_addr = &via->sent_by.host; - - /* Compare received and rport with the URI in our registration */ - pool = pjsua_pool_create("tmp", 512, 512); - contact_hdr = (pjsip_contact_hdr*) - pjsip_parse_hdr(pool, &STR_CONTACT, acc->contact.ptr, - acc->contact.slen, NULL); - pj_assert(contact_hdr != NULL); - uri = (pjsip_sip_uri*) contact_hdr->uri; - pj_assert(uri != NULL); - uri = (pjsip_sip_uri*) pjsip_uri_get_uri(uri); - - if (uri->port == 0) { - pjsip_transport_type_e tp_type; - tp_type = (pjsip_transport_type_e) tp->key.type; - uri->port = pjsip_transport_get_default_port_for_type(tp_type); - } - - /* Convert IP address strings into sockaddr for comparison. - * (http://trac.pjsip.org/repos/ticket/863) - */ - status = pj_sockaddr_parse(pj_AF_UNSPEC(), 0, &uri->host, - &contact_addr); - if (status == PJ_SUCCESS) - status = pj_sockaddr_parse(pj_AF_UNSPEC(), 0, via_addr, - &recv_addr); - if (status == PJ_SUCCESS) { - /* Compare the addresses as sockaddr according to the ticket above */ - matched = (uri->port == rport && - pj_sockaddr_cmp(&contact_addr, &recv_addr)==0); - } else { - /* Compare the addresses as string, as before */ - matched = (uri->port == rport && - pj_stricmp(&uri->host, via_addr)==0); - } - - if (matched) { - /* Address doesn't change */ - pj_pool_release(pool); - return PJ_FALSE; - } - - /* Get server IP */ - srv_ip = pj_str(param->rdata->pkt_info.src_name); - - /* At this point we've detected that the address as seen by registrar. - * has changed. - */ - - /* Do not switch if both Contact and server's IP address are - * public but response contains private IP. A NAT in the middle - * might have messed up with the SIP packets. See: - * http://trac.pjsip.org/repos/ticket/643 - * - * This exception can be disabled by setting allow_contact_rewrite - * to 2. In this case, the switch will always be done whenever there - * is difference in the IP address in the response. - */ - if (acc->cfg.allow_contact_rewrite != 2 && !is_private_ip(&uri->host) && - !is_private_ip(&srv_ip) && is_private_ip(via_addr)) - { - /* Don't switch */ - pj_pool_release(pool); - return PJ_FALSE; - } - - /* Also don't switch if only the port number part is different, and - * the Via received address is private. - * See http://trac.pjsip.org/repos/ticket/864 - */ - if (acc->cfg.allow_contact_rewrite != 2 && - pj_sockaddr_cmp(&contact_addr, &recv_addr)==0 && - is_private_ip(via_addr)) - { - /* Don't switch */ - pj_pool_release(pool); - return PJ_FALSE; - } - - PJ_LOG(3,(THIS_FILE, "IP address change detected for account %d " - "(%.*s:%d --> %.*s:%d). Updating registration " - "(using method %d)", - acc->index, - (int)uri->host.slen, - uri->host.ptr, - uri->port, - (int)via_addr->slen, - via_addr->ptr, - rport, - acc->cfg.contact_rewrite_method)); - - pj_assert(acc->cfg.contact_rewrite_method == 1 || - acc->cfg.contact_rewrite_method == 2); - - if (acc->cfg.contact_rewrite_method == 1) { - /* Unregister current contact */ - pjsua_acc_set_registration(acc->index, PJ_FALSE); - if (acc->regc != NULL) { - pjsip_regc_destroy(acc->regc); - acc->regc = NULL; - acc->contact.slen = 0; - } - } - - /* - * Build new Contact header - */ - { - const char *ob = ";ob"; - char *tmp; - const char *beginquote, *endquote; - int len; - - /* Enclose IPv6 address in square brackets */ - if (tp->key.type & PJSIP_TRANSPORT_IPV6) { - beginquote = "["; - endquote = "]"; - } else { - beginquote = endquote = ""; - } - - tmp = (char*) pj_pool_alloc(pool, PJSIP_MAX_URL_SIZE); - len = pj_ansi_snprintf(tmp, PJSIP_MAX_URL_SIZE, - "%.*s", - (int)acc->user_part.slen, - acc->user_part.ptr, - (acc->user_part.slen? "@" : ""), - beginquote, - (int)via_addr->slen, - via_addr->ptr, - endquote, - rport, - tp->type_name, - (int)acc->cfg.contact_uri_params.slen, - acc->cfg.contact_uri_params.ptr, - (acc->cfg.use_rfc5626? ob: ""), - (int)acc->cfg.contact_params.slen, - acc->cfg.contact_params.ptr); - if (len < 1) { - PJ_LOG(1,(THIS_FILE, "URI too long")); - pj_pool_release(pool); - return PJ_FALSE; - } - pj_strdup2_with_null(acc->pool, &acc->contact, tmp); - - update_regc_contact(acc); - - /* Always update, by http://trac.pjsip.org/repos/ticket/864. */ - pj_strdup_with_null(tp->pool, &tp->local_name.host, via_addr); - tp->local_name.port = rport; - - } - - if (acc->cfg.contact_rewrite_method == 2 && acc->regc != NULL) { - pjsip_regc_update_contact(acc->regc, 1, &acc->reg_contact); - } - - /* Perform new registration */ - pjsua_acc_set_registration(acc->index, PJ_TRUE); - - pj_pool_release(pool); - - return PJ_TRUE; -} - -/* Check and update Service-Route header */ -void update_service_route(pjsua_acc *acc, pjsip_rx_data *rdata) -{ - pjsip_generic_string_hdr *hsr = NULL; - pjsip_route_hdr *hr, *h; - const pj_str_t HNAME = { "Service-Route", 13 }; - const pj_str_t HROUTE = { "Route", 5 }; - pjsip_uri *uri[PJSUA_ACC_MAX_PROXIES]; - unsigned i, uri_cnt = 0, rcnt; - - /* Find and parse Service-Route headers */ - for (;;) { - char saved; - int parsed_len; - - /* Find Service-Route header */ - hsr = (pjsip_generic_string_hdr*) - pjsip_msg_find_hdr_by_name(rdata->msg_info.msg, &HNAME, hsr); - if (!hsr) - break; - - /* Parse as Route header since the syntax is similar. This may - * return more than one headers. - */ - saved = hsr->hvalue.ptr[hsr->hvalue.slen]; - hsr->hvalue.ptr[hsr->hvalue.slen] = '\0'; - hr = (pjsip_route_hdr*) - pjsip_parse_hdr(rdata->tp_info.pool, &HROUTE, hsr->hvalue.ptr, - hsr->hvalue.slen, &parsed_len); - hsr->hvalue.ptr[hsr->hvalue.slen] = saved; - - if (hr == NULL) { - /* Error */ - PJ_LOG(1,(THIS_FILE, "Error parsing Service-Route header")); - return; - } - - /* Save each URI in the result */ - h = hr; - do { - if (!PJSIP_URI_SCHEME_IS_SIP(h->name_addr.uri) && - !PJSIP_URI_SCHEME_IS_SIPS(h->name_addr.uri)) - { - PJ_LOG(1,(THIS_FILE,"Error: non SIP URI in Service-Route: %.*s", - (int)hsr->hvalue.slen, hsr->hvalue.ptr)); - return; - } - - uri[uri_cnt++] = h->name_addr.uri; - h = h->next; - } while (h != hr && uri_cnt != PJ_ARRAY_SIZE(uri)); - - if (h != hr) { - PJ_LOG(1,(THIS_FILE, "Error: too many Service-Route headers")); - return; - } - - /* Prepare to find next Service-Route header */ - hsr = hsr->next; - if ((void*)hsr == (void*)&rdata->msg_info.msg->hdr) - break; - } - - if (uri_cnt == 0) - return; - - /* - * Update account's route set - */ - - /* First remove all routes which are not the outbound proxies */ - rcnt = pj_list_size(&acc->route_set); - if (rcnt != pjsua_var.ua_cfg.outbound_proxy_cnt + acc->cfg.proxy_cnt) { - for (i=pjsua_var.ua_cfg.outbound_proxy_cnt + acc->cfg.proxy_cnt, - hr=acc->route_set.prev; - iprev; - pj_list_erase(hr); - hr = prev; - } - } - - /* Then append the Service-Route URIs */ - for (i=0; ipool); - hr->name_addr.uri = (pjsip_uri*)pjsip_uri_clone(acc->pool, uri[i]); - pj_list_push_back(&acc->route_set, hr); - } - - /* Done */ - - PJ_LOG(4,(THIS_FILE, "Service-Route updated for acc %d with %d URI(s)", - acc->index, uri_cnt)); -} - - -/* Keep alive timer callback */ -static void keep_alive_timer_cb(pj_timer_heap_t *th, pj_timer_entry *te) -{ - pjsua_acc *acc; - pjsip_tpselector tp_sel; - pj_time_val delay; - char addrtxt[PJ_INET6_ADDRSTRLEN]; - pj_status_t status; - - PJ_UNUSED_ARG(th); - - PJSUA_LOCK(); - - te->id = PJ_FALSE; - - acc = (pjsua_acc*) te->user_data; - - /* Select the transport to send the packet */ - pj_bzero(&tp_sel, sizeof(tp_sel)); - tp_sel.type = PJSIP_TPSELECTOR_TRANSPORT; - tp_sel.u.transport = acc->ka_transport; - - PJ_LOG(5,(THIS_FILE, - "Sending %d bytes keep-alive packet for acc %d to %s", - acc->cfg.ka_data.slen, acc->index, - pj_sockaddr_print(&acc->ka_target, addrtxt, sizeof(addrtxt),3))); - - /* Send raw packet */ - status = pjsip_tpmgr_send_raw(pjsip_endpt_get_tpmgr(pjsua_var.endpt), - PJSIP_TRANSPORT_UDP, &tp_sel, - NULL, acc->cfg.ka_data.ptr, - acc->cfg.ka_data.slen, - &acc->ka_target, acc->ka_target_len, - NULL, NULL); - - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - pjsua_perror(THIS_FILE, "Error sending keep-alive packet", status); - } - - /* Check just in case keep-alive has been disabled. This shouldn't happen - * though as when ka_interval is changed this timer should have been - * cancelled. - */ - if (acc->cfg.ka_interval == 0) - goto on_return; - - /* Reschedule next timer */ - delay.sec = acc->cfg.ka_interval; - delay.msec = 0; - status = pjsip_endpt_schedule_timer(pjsua_var.endpt, te, &delay); - if (status == PJ_SUCCESS) { - te->id = PJ_TRUE; - } else { - pjsua_perror(THIS_FILE, "Error starting keep-alive timer", status); - } - -on_return: - PJSUA_UNLOCK(); -} - - -/* Update keep-alive for the account */ -static void update_keep_alive(pjsua_acc *acc, pj_bool_t start, - struct pjsip_regc_cbparam *param) -{ - /* In all cases, stop keep-alive timer if it's running. */ - if (acc->ka_timer.id) { - pjsip_endpt_cancel_timer(pjsua_var.endpt, &acc->ka_timer); - acc->ka_timer.id = PJ_FALSE; - - pjsip_transport_dec_ref(acc->ka_transport); - acc->ka_transport = NULL; - } - - if (start) { - pj_time_val delay; - pj_status_t status; - - /* Only do keep-alive if: - * - ka_interval is not zero in the account, and - * - transport is UDP. - * - * Previously we only enabled keep-alive when STUN is enabled, since - * we thought that keep-alive is only needed in Internet situation. - * But it has been discovered that Windows Firewall on WinXP also - * needs to be kept-alive, otherwise incoming packets will be dropped. - * So because of this, now keep-alive is always enabled for UDP, - * regardless of whether STUN is enabled or not. - * - * Note that this applies only for UDP. For TCP/TLS, the keep-alive - * is done by the transport layer. - */ - if (/*pjsua_var.stun_srv.ipv4.sin_family == 0 ||*/ - acc->cfg.ka_interval == 0 || - param->rdata->tp_info.transport->key.type != PJSIP_TRANSPORT_UDP) - { - /* Keep alive is not necessary */ - return; - } - - /* Save transport and destination address. */ - acc->ka_transport = param->rdata->tp_info.transport; - pjsip_transport_add_ref(acc->ka_transport); - pj_memcpy(&acc->ka_target, ¶m->rdata->pkt_info.src_addr, - param->rdata->pkt_info.src_addr_len); - acc->ka_target_len = param->rdata->pkt_info.src_addr_len; - - /* Setup and start the timer */ - acc->ka_timer.cb = &keep_alive_timer_cb; - acc->ka_timer.user_data = (void*)acc; - - delay.sec = acc->cfg.ka_interval; - delay.msec = 0; - status = pjsip_endpt_schedule_timer(pjsua_var.endpt, &acc->ka_timer, - &delay); - if (status == PJ_SUCCESS) { - acc->ka_timer.id = PJ_TRUE; - PJ_LOG(4,(THIS_FILE, "Keep-alive timer started for acc %d, " - "destination:%s:%d, interval:%ds", - acc->index, - param->rdata->pkt_info.src_name, - param->rdata->pkt_info.src_port, - acc->cfg.ka_interval)); - } else { - acc->ka_timer.id = PJ_FALSE; - pjsip_transport_dec_ref(acc->ka_transport); - acc->ka_transport = NULL; - pjsua_perror(THIS_FILE, "Error starting keep-alive timer", status); - } - } -} - - -/* Update the status of SIP outbound registration request */ -static void update_rfc5626_status(pjsua_acc *acc, pjsip_rx_data *rdata) -{ - pjsip_require_hdr *hreq; - const pj_str_t STR_OUTBOUND = {"outbound", 8}; - unsigned i; - - if (acc->rfc5626_status == OUTBOUND_UNKNOWN) { - goto on_return; - } - - hreq = rdata->msg_info.require; - if (!hreq) { - acc->rfc5626_status = OUTBOUND_NA; - goto on_return; - } - - for (i=0; icount; ++i) { - if (pj_stricmp(&hreq->values[i], &STR_OUTBOUND)==0) { - acc->rfc5626_status = OUTBOUND_ACTIVE; - goto on_return; - } - } - - /* Server does not support outbound */ - acc->rfc5626_status = OUTBOUND_NA; - -on_return: - if (acc->rfc5626_status != OUTBOUND_ACTIVE) { - acc->reg_contact = acc->contact; - } - PJ_LOG(4,(THIS_FILE, "SIP outbound status for acc %d is %s", - acc->index, (acc->rfc5626_status==OUTBOUND_ACTIVE? - "active": "not active"))); -} - -/* - * This callback is called by pjsip_regc when outgoing register - * request has completed. - */ -static void regc_cb(struct pjsip_regc_cbparam *param) -{ - - pjsua_acc *acc = (pjsua_acc*) param->token; - - PJSUA_LOCK(); - - if (param->regc != acc->regc) { - PJSUA_UNLOCK(); - return; - } - - pj_log_push_indent(); - - /* - * Print registration status. - */ - if (param->status!=PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "SIP registration error", - param->status); - pjsip_regc_destroy(acc->regc); - acc->regc = NULL; - acc->contact.slen = 0; - - /* Stop keep-alive timer if any. */ - update_keep_alive(acc, PJ_FALSE, NULL); - - } else if (param->code < 0 || param->code >= 300) { - PJ_LOG(2, (THIS_FILE, "SIP registration failed, status=%d (%.*s)", - param->code, - (int)param->reason.slen, param->reason.ptr)); - pjsip_regc_destroy(acc->regc); - acc->regc = NULL; - acc->contact.slen = 0; - - /* Stop keep-alive timer if any. */ - update_keep_alive(acc, PJ_FALSE, NULL); - - } else if (PJSIP_IS_STATUS_IN_CLASS(param->code, 200)) { - - /* Update auto registration flag */ - acc->auto_rereg.active = PJ_FALSE; - acc->auto_rereg.attempt_cnt = 0; - - if (param->expiration < 1) { - pjsip_regc_destroy(acc->regc); - acc->regc = NULL; - acc->contact.slen = 0; - - /* Stop keep-alive timer if any. */ - update_keep_alive(acc, PJ_FALSE, NULL); - - PJ_LOG(3,(THIS_FILE, "%s: unregistration success", - pjsua_var.acc[acc->index].cfg.id.ptr)); - } else { - /* Check and update SIP outbound status first, since the result - * will determine if we should update re-registration - */ - update_rfc5626_status(acc, param->rdata); - - /* Check NAT bound address */ - if (acc_check_nat_addr(acc, param)) { - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return; - } - - /* Check and update Service-Route header */ - update_service_route(acc, param->rdata); - - PJ_LOG(3, (THIS_FILE, - "%s: registration success, status=%d (%.*s), " - "will re-register in %d seconds", - pjsua_var.acc[acc->index].cfg.id.ptr, - param->code, - (int)param->reason.slen, param->reason.ptr, - param->expiration)); - - /* Start keep-alive timer if necessary. */ - update_keep_alive(acc, PJ_TRUE, param); - - /* Send initial PUBLISH if it is enabled */ - if (acc->cfg.publish_enabled && acc->publish_sess==NULL) - pjsua_pres_init_publish_acc(acc->index); - - /* Subscribe to MWI, if it's enabled */ - if (acc->cfg.mwi_enabled) - pjsua_start_mwi(acc); - } - - } else { - PJ_LOG(4, (THIS_FILE, "SIP registration updated status=%d", param->code)); - } - - acc->reg_last_err = param->status; - acc->reg_last_code = param->code; - - /* Check if we need to auto retry registration. Basically, registration - * failure codes triggering auto-retry are those of temporal failures - * considered to be recoverable in relatively short term. - */ - if (acc->cfg.reg_retry_interval && - (param->code == PJSIP_SC_REQUEST_TIMEOUT || - param->code == PJSIP_SC_INTERNAL_SERVER_ERROR || - param->code == PJSIP_SC_BAD_GATEWAY || - param->code == PJSIP_SC_SERVICE_UNAVAILABLE || - param->code == PJSIP_SC_SERVER_TIMEOUT || - PJSIP_IS_STATUS_IN_CLASS(param->code, 600))) /* Global failure */ - { - schedule_reregistration(acc); - } - - /* Call the registration status callback */ - - if (pjsua_var.ua_cfg.cb.on_reg_state) { - (*pjsua_var.ua_cfg.cb.on_reg_state)(acc->index); - } - - if (pjsua_var.ua_cfg.cb.on_reg_state2) { - pjsua_reg_info reg_info; - - reg_info.cbparam = param; - (*pjsua_var.ua_cfg.cb.on_reg_state2)(acc->index, ®_info); - } - - PJSUA_UNLOCK(); - pj_log_pop_indent(); -} - - -/* - * Initialize client registration. - */ -static pj_status_t pjsua_regc_init(int acc_id) -{ - pjsua_acc *acc; - pj_pool_t *pool; - pj_status_t status; - - PJ_ASSERT_RETURN(pjsua_acc_is_valid(acc_id), PJ_EINVAL); - acc = &pjsua_var.acc[acc_id]; - - if (acc->cfg.reg_uri.slen == 0) { - PJ_LOG(3,(THIS_FILE, "Registrar URI is not specified")); - return PJ_SUCCESS; - } - - /* Destroy existing session, if any */ - if (acc->regc) { - pjsip_regc_destroy(acc->regc); - acc->regc = NULL; - acc->contact.slen = 0; - } - - /* initialize SIP registration if registrar is configured */ - - status = pjsip_regc_create( pjsua_var.endpt, - acc, ®c_cb, &acc->regc); - - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create client registration", - status); - return status; - } - - pool = pjsua_pool_create("tmpregc", 512, 512); - - if (acc->contact.slen == 0) { - pj_str_t tmp_contact; - - status = pjsua_acc_create_uac_contact( pool, &tmp_contact, - acc_id, &acc->cfg.reg_uri); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to generate suitable Contact header" - " for registration", - status); - pjsip_regc_destroy(acc->regc); - pj_pool_release(pool); - acc->regc = NULL; - return status; - } - - pj_strdup_with_null(acc->pool, &acc->contact, &tmp_contact); - update_regc_contact(acc); - } - - status = pjsip_regc_init( acc->regc, - &acc->cfg.reg_uri, - &acc->cfg.id, - &acc->cfg.id, - 1, &acc->reg_contact, - acc->cfg.reg_timeout); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, - "Client registration initialization error", - status); - pjsip_regc_destroy(acc->regc); - pj_pool_release(pool); - acc->regc = NULL; - acc->contact.slen = 0; - return status; - } - - /* If account is locked to specific transport, then set transport to - * the client registration. - */ - if (pjsua_var.acc[acc_id].cfg.transport_id != PJSUA_INVALID_ID) { - pjsip_tpselector tp_sel; - - pjsua_init_tpselector(pjsua_var.acc[acc_id].cfg.transport_id, &tp_sel); - pjsip_regc_set_transport(acc->regc, &tp_sel); - } - - - /* Set credentials - */ - if (acc->cred_cnt) { - pjsip_regc_set_credentials( acc->regc, acc->cred_cnt, acc->cred); - } - - /* Set delay before registration refresh */ - pjsip_regc_set_delay_before_refresh(acc->regc, - acc->cfg.reg_delay_before_refresh); - - /* Set authentication preference */ - pjsip_regc_set_prefs(acc->regc, &acc->cfg.auth_pref); - - /* Set route-set - */ - if (acc->cfg.reg_use_proxy) { - pjsip_route_hdr route_set; - const pjsip_route_hdr *r; - - pj_list_init(&route_set); - - if (acc->cfg.reg_use_proxy & PJSUA_REG_USE_OUTBOUND_PROXY) { - r = pjsua_var.outbound_proxy.next; - while (r != &pjsua_var.outbound_proxy) { - pj_list_push_back(&route_set, pjsip_hdr_shallow_clone(pool, r)); - r = r->next; - } - } - - if (acc->cfg.reg_use_proxy & PJSUA_REG_USE_ACC_PROXY && - acc->cfg.proxy_cnt) - { - int cnt = acc->cfg.proxy_cnt; - pjsip_route_hdr *pos = route_set.prev; - int i; - - r = acc->route_set.prev; - for (i=0; iprev; - } - } - - if (!pj_list_empty(&route_set)) - pjsip_regc_set_route_set( acc->regc, &route_set ); - } - - /* Add custom request headers specified in the account config */ - pjsip_regc_add_headers(acc->regc, &acc->cfg.reg_hdr_list); - - /* Add other request headers. */ - if (pjsua_var.ua_cfg.user_agent.slen) { - pjsip_hdr hdr_list; - const pj_str_t STR_USER_AGENT = { "User-Agent", 10 }; - pjsip_generic_string_hdr *h; - - pj_list_init(&hdr_list); - - h = pjsip_generic_string_hdr_create(pool, &STR_USER_AGENT, - &pjsua_var.ua_cfg.user_agent); - pj_list_push_back(&hdr_list, (pjsip_hdr*)h); - - pjsip_regc_add_headers(acc->regc, &hdr_list); - } - - /* If SIP outbound is used, add "Supported: outbound, path header" */ - if (acc->rfc5626_status == OUTBOUND_WANTED) { - pjsip_hdr hdr_list; - pjsip_supported_hdr *hsup; - - pj_list_init(&hdr_list); - hsup = pjsip_supported_hdr_create(pool); - pj_list_push_back(&hdr_list, hsup); - - hsup->count = 2; - hsup->values[0] = pj_str("outbound"); - hsup->values[1] = pj_str("path"); - - pjsip_regc_add_headers(acc->regc, &hdr_list); - } - - pj_pool_release(pool); - - return PJ_SUCCESS; -} - - -/* - * Update registration or perform unregistration. - */ -PJ_DEF(pj_status_t) pjsua_acc_set_registration( pjsua_acc_id acc_id, - pj_bool_t renew) -{ - pj_status_t status = 0; - pjsip_tx_data *tdata = 0; - - PJ_ASSERT_RETURN(acc_id>=0 && acc_id<(int)PJ_ARRAY_SIZE(pjsua_var.acc), - PJ_EINVAL); - PJ_ASSERT_RETURN(pjsua_var.acc[acc_id].valid, PJ_EINVALIDOP); - - PJ_LOG(4,(THIS_FILE, "Acc %d: setting %sregistration..", - acc_id, (renew? "" : "un"))); - pj_log_push_indent(); - - PJSUA_LOCK(); - - /* Cancel any re-registration timer */ - pjsua_cancel_timer(&pjsua_var.acc[acc_id].auto_rereg.timer); - - /* Reset pointer to registration transport */ - pjsua_var.acc[acc_id].auto_rereg.reg_tp = NULL; - - if (renew) { - if (pjsua_var.acc[acc_id].regc == NULL) { - status = pjsua_regc_init(acc_id); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create registration", - status); - goto on_return; - } - } - if (!pjsua_var.acc[acc_id].regc) { - status = PJ_EINVALIDOP; - goto on_return; - } - - status = pjsip_regc_register(pjsua_var.acc[acc_id].regc, 1, - &tdata); - - if (0 && status == PJ_SUCCESS && pjsua_var.acc[acc_id].cred_cnt) { - pjsua_acc *acc = &pjsua_var.acc[acc_id]; - pjsip_authorization_hdr *h; - char *uri; - int d; - - uri = (char*) pj_pool_alloc(tdata->pool, acc->cfg.reg_uri.slen+10); - d = pjsip_uri_print(PJSIP_URI_IN_REQ_URI, tdata->msg->line.req.uri, - uri, acc->cfg.reg_uri.slen+10); - pj_assert(d > 0); - - h = pjsip_authorization_hdr_create(tdata->pool); - h->scheme = pj_str("Digest"); - h->credential.digest.username = acc->cred[0].username; - h->credential.digest.realm = acc->srv_domain; - h->credential.digest.uri = pj_str(uri); - h->credential.digest.algorithm = pj_str("md5"); - - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)h); - } - - } else { - if (pjsua_var.acc[acc_id].regc == NULL) { - PJ_LOG(3,(THIS_FILE, "Currently not registered")); - status = PJ_EINVALIDOP; - goto on_return; - } - - pjsua_pres_unpublish(&pjsua_var.acc[acc_id], 0); - - status = pjsip_regc_unregister(pjsua_var.acc[acc_id].regc, &tdata); - } - - if (status == PJ_SUCCESS) { - //pjsua_process_msg_data(tdata, NULL); - status = pjsip_regc_send( pjsua_var.acc[acc_id].regc, tdata ); - } - - /* Update pointer to registration transport */ - if (status == PJ_SUCCESS) { - pjsip_regc_info reg_info; - - pjsip_regc_get_info(pjsua_var.acc[acc_id].regc, ®_info); - pjsua_var.acc[acc_id].auto_rereg.reg_tp = reg_info.transport; - - if (pjsua_var.ua_cfg.cb.on_reg_started) { - (*pjsua_var.ua_cfg.cb.on_reg_started)(acc_id, renew); - } - } - - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create/send REGISTER", - status); - } else { - PJ_LOG(4,(THIS_FILE, "Acc %d: %s sent", acc_id, - (renew? "Registration" : "Unregistration"))); - } - -on_return: - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return status; -} - - -/* - * Get account information. - */ -PJ_DEF(pj_status_t) pjsua_acc_get_info( pjsua_acc_id acc_id, - pjsua_acc_info *info) -{ - pjsua_acc *acc = &pjsua_var.acc[acc_id]; - pjsua_acc_config *acc_cfg = &pjsua_var.acc[acc_id].cfg; - - PJ_ASSERT_RETURN(info != NULL, PJ_EINVAL); - PJ_ASSERT_RETURN(pjsua_acc_is_valid(acc_id), PJ_EINVAL); - - pj_bzero(info, sizeof(pjsua_acc_info)); - - PJ_ASSERT_RETURN(acc_id>=0 && acc_id<(int)PJ_ARRAY_SIZE(pjsua_var.acc), - PJ_EINVAL); - PJ_ASSERT_RETURN(pjsua_var.acc[acc_id].valid, PJ_EINVALIDOP); - - PJSUA_LOCK(); - - if (pjsua_var.acc[acc_id].valid == PJ_FALSE) { - PJSUA_UNLOCK(); - return PJ_EINVALIDOP; - } - - info->id = acc_id; - info->is_default = (pjsua_var.default_acc == acc_id); - info->acc_uri = acc_cfg->id; - info->has_registration = (acc->cfg.reg_uri.slen > 0); - info->online_status = acc->online_status; - pj_memcpy(&info->rpid, &acc->rpid, sizeof(pjrpid_element)); - if (info->rpid.note.slen) - info->online_status_text = info->rpid.note; - else if (info->online_status) - info->online_status_text = pj_str("Online"); - else - info->online_status_text = pj_str("Offline"); - - if (acc->reg_last_code) { - if (info->has_registration) { - info->status = (pjsip_status_code) acc->reg_last_code; - info->status_text = *pjsip_get_status_text(acc->reg_last_code); - if (acc->reg_last_err) - info->reg_last_err = acc->reg_last_err; - } else { - info->status = (pjsip_status_code) 0; - info->status_text = pj_str("not registered"); - } - } else if (acc->cfg.reg_uri.slen) { - info->status = PJSIP_SC_TRYING; - info->status_text = pj_str("In Progress"); - } else { - info->status = (pjsip_status_code) 0; - info->status_text = pj_str("does not register"); - } - - if (acc->regc) { - pjsip_regc_info regc_info; - pjsip_regc_get_info(acc->regc, ®c_info); - info->expires = regc_info.next_reg; - } else { - info->expires = -1; - } - - PJSUA_UNLOCK(); - - return PJ_SUCCESS; - -} - - -/* - * Enum accounts all account ids. - */ -PJ_DEF(pj_status_t) pjsua_enum_accs(pjsua_acc_id ids[], - unsigned *count ) -{ - unsigned i, c; - - PJ_ASSERT_RETURN(ids && *count, PJ_EINVAL); - - PJSUA_LOCK(); - - for (i=0, c=0; c<*count && ihost)==0 && - pjsua_var.acc[acc_id].srv_port == sip_uri->port) - { - pj_pool_release(tmp_pool); - PJSUA_UNLOCK(); - return acc_id; - } - } - - /* If no match, try to match the domain part only */ - for (i=0; ihost)==0) - { - pj_pool_release(tmp_pool); - PJSUA_UNLOCK(); - return acc_id; - } - } - - - /* Still no match, just use default account */ - pj_pool_release(tmp_pool); - PJSUA_UNLOCK(); - return pjsua_var.default_acc; -} - - -/* - * This is an internal function to find the most appropriate account to be - * used to handle incoming calls. - */ -PJ_DEF(pjsua_acc_id) pjsua_acc_find_for_incoming(pjsip_rx_data *rdata) -{ - pjsip_uri *uri; - pjsip_sip_uri *sip_uri; - unsigned i; - - /* Check that there's at least one account configured */ - PJ_ASSERT_RETURN(pjsua_var.acc_cnt!=0, pjsua_var.default_acc); - - uri = rdata->msg_info.to->uri; - - /* Just return default account if To URI is not SIP: */ - if (!PJSIP_URI_SCHEME_IS_SIP(uri) && - !PJSIP_URI_SCHEME_IS_SIPS(uri)) - { - return pjsua_var.default_acc; - } - - - PJSUA_LOCK(); - - sip_uri = (pjsip_sip_uri*)pjsip_uri_get_uri(uri); - - /* Find account which has matching username and domain. */ - for (i=0; i < pjsua_var.acc_cnt; ++i) { - unsigned acc_id = pjsua_var.acc_ids[i]; - pjsua_acc *acc = &pjsua_var.acc[acc_id]; - - if (acc->valid && pj_stricmp(&acc->user_part, &sip_uri->user)==0 && - pj_stricmp(&acc->srv_domain, &sip_uri->host)==0) - { - /* Match ! */ - PJSUA_UNLOCK(); - return acc_id; - } - } - - /* No matching account, try match domain part only. */ - for (i=0; i < pjsua_var.acc_cnt; ++i) { - unsigned acc_id = pjsua_var.acc_ids[i]; - pjsua_acc *acc = &pjsua_var.acc[acc_id]; - - if (acc->valid && pj_stricmp(&acc->srv_domain, &sip_uri->host)==0) { - /* Match ! */ - PJSUA_UNLOCK(); - return acc_id; - } - } - - /* No matching account, try match user part (and transport type) only. */ - for (i=0; i < pjsua_var.acc_cnt; ++i) { - unsigned acc_id = pjsua_var.acc_ids[i]; - pjsua_acc *acc = &pjsua_var.acc[acc_id]; - - if (acc->valid && pj_stricmp(&acc->user_part, &sip_uri->user)==0) { - - if (acc->cfg.transport_id != PJSUA_INVALID_ID) { - pjsip_transport_type_e type; - type = pjsip_transport_get_type_from_name(&sip_uri->transport_param); - if (type == PJSIP_TRANSPORT_UNSPECIFIED) - type = PJSIP_TRANSPORT_UDP; - - if (pjsua_var.tpdata[acc->cfg.transport_id].type != type) - continue; - } - - /* Match ! */ - PJSUA_UNLOCK(); - return acc_id; - } - } - - /* Still no match, use default account */ - PJSUA_UNLOCK(); - return pjsua_var.default_acc; -} - - -/* - * Create arbitrary requests for this account. - */ -PJ_DEF(pj_status_t) pjsua_acc_create_request(pjsua_acc_id acc_id, - const pjsip_method *method, - const pj_str_t *target, - pjsip_tx_data **p_tdata) -{ - pjsip_tx_data *tdata; - pjsua_acc *acc; - pjsip_route_hdr *r; - pj_status_t status; - - PJ_ASSERT_RETURN(method && target && p_tdata, PJ_EINVAL); - PJ_ASSERT_RETURN(pjsua_acc_is_valid(acc_id), PJ_EINVAL); - - acc = &pjsua_var.acc[acc_id]; - - status = pjsip_endpt_create_request(pjsua_var.endpt, method, target, - &acc->cfg.id, target, - NULL, NULL, -1, NULL, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create request", status); - return status; - } - - /* Copy routeset */ - r = acc->route_set.next; - while (r != &acc->route_set) { - pjsip_msg_add_hdr(tdata->msg, - (pjsip_hdr*)pjsip_hdr_clone(tdata->pool, r)); - r = r->next; - } - - /* If account is locked to specific transport, then set that transport to - * the transmit data. - */ - if (pjsua_var.acc[acc_id].cfg.transport_id != PJSUA_INVALID_ID) { - pjsip_tpselector tp_sel; - - pjsua_init_tpselector(acc->cfg.transport_id, &tp_sel); - pjsip_tx_data_set_transport(tdata, &tp_sel); - } - - /* Done */ - *p_tdata = tdata; - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjsua_acc_create_uac_contact( pj_pool_t *pool, - pj_str_t *contact, - pjsua_acc_id acc_id, - const pj_str_t *suri) -{ - pjsua_acc *acc; - pjsip_sip_uri *sip_uri; - pj_status_t status; - pjsip_transport_type_e tp_type = PJSIP_TRANSPORT_UNSPECIFIED; - pj_str_t local_addr; - pjsip_tpselector tp_sel; - unsigned flag; - int secure; - int local_port; - const char *beginquote, *endquote; - char transport_param[32]; - const char *ob = ";ob"; - - - PJ_ASSERT_RETURN(pjsua_acc_is_valid(acc_id), PJ_EINVAL); - acc = &pjsua_var.acc[acc_id]; - - /* If force_contact is configured, then use use it */ - if (acc->cfg.force_contact.slen) { - *contact = acc->cfg.force_contact; - return PJ_SUCCESS; - } - - /* If route-set is configured for the account, then URI is the - * first entry of the route-set. - */ - if (!pj_list_empty(&acc->route_set)) { - sip_uri = (pjsip_sip_uri*) - pjsip_uri_get_uri(acc->route_set.next->name_addr.uri); - } else { - pj_str_t tmp; - pjsip_uri *uri; - - pj_strdup_with_null(pool, &tmp, suri); - - uri = pjsip_parse_uri(pool, tmp.ptr, tmp.slen, 0); - if (uri == NULL) - return PJSIP_EINVALIDURI; - - /* For non-SIP scheme, route set should be configured */ - if (!PJSIP_URI_SCHEME_IS_SIP(uri) && !PJSIP_URI_SCHEME_IS_SIPS(uri)) - return PJSIP_ENOROUTESET; - - sip_uri = (pjsip_sip_uri*)pjsip_uri_get_uri(uri); - } - - /* Get transport type of the URI */ - if (PJSIP_URI_SCHEME_IS_SIPS(sip_uri)) - tp_type = PJSIP_TRANSPORT_TLS; - else if (sip_uri->transport_param.slen == 0) { - tp_type = PJSIP_TRANSPORT_UDP; - } else - tp_type = pjsip_transport_get_type_from_name(&sip_uri->transport_param); - - if (tp_type == PJSIP_TRANSPORT_UNSPECIFIED) - return PJSIP_EUNSUPTRANSPORT; - - /* If destination URI specifies IPv6, then set transport type - * to use IPv6 as well. - */ - if (pj_strchr(&sip_uri->host, ':')) - tp_type = (pjsip_transport_type_e)(((int)tp_type) + PJSIP_TRANSPORT_IPV6); - - flag = pjsip_transport_get_flag_from_type(tp_type); - secure = (flag & PJSIP_TRANSPORT_SECURE) != 0; - - /* Init transport selector. */ - pjsua_init_tpselector(pjsua_var.acc[acc_id].cfg.transport_id, &tp_sel); - - /* Get local address suitable to send request from */ - status = pjsip_tpmgr_find_local_addr(pjsip_endpt_get_tpmgr(pjsua_var.endpt), - pool, tp_type, &tp_sel, - &local_addr, &local_port); - if (status != PJ_SUCCESS) - return status; - - /* Enclose IPv6 address in square brackets */ - if (tp_type & PJSIP_TRANSPORT_IPV6) { - beginquote = "["; - endquote = "]"; - } else { - beginquote = endquote = ""; - } - - /* Don't add transport parameter if it's UDP */ - if (tp_type!=PJSIP_TRANSPORT_UDP && tp_type!=PJSIP_TRANSPORT_UDP6) { - pj_ansi_snprintf(transport_param, sizeof(transport_param), - ";transport=%s", - pjsip_transport_get_type_name(tp_type)); - } else { - transport_param[0] = '\0'; - } - - - /* Create the contact header */ - contact->ptr = (char*)pj_pool_alloc(pool, PJSIP_MAX_URL_SIZE); - contact->slen = pj_ansi_snprintf(contact->ptr, PJSIP_MAX_URL_SIZE, - "%s%.*s%s<%s:%.*s%s%s%.*s%s:%d%s%.*s%s>%.*s", - (acc->display.slen?"\"" : ""), - (int)acc->display.slen, - acc->display.ptr, - (acc->display.slen?"\" " : ""), - (secure ? PJSUA_SECURE_SCHEME : "sip"), - (int)acc->user_part.slen, - acc->user_part.ptr, - (acc->user_part.slen?"@":""), - beginquote, - (int)local_addr.slen, - local_addr.ptr, - endquote, - local_port, - transport_param, - (int)acc->cfg.contact_uri_params.slen, - acc->cfg.contact_uri_params.ptr, - (acc->cfg.use_rfc5626? ob: ""), - (int)acc->cfg.contact_params.slen, - acc->cfg.contact_params.ptr); - - return PJ_SUCCESS; -} - - - -PJ_DEF(pj_status_t) pjsua_acc_create_uas_contact( pj_pool_t *pool, - pj_str_t *contact, - pjsua_acc_id acc_id, - pjsip_rx_data *rdata ) -{ - /* - * Section 12.1.1, paragraph about using SIPS URI in Contact. - * If the request that initiated the dialog contained a SIPS URI - * in the Request-URI or in the top Record-Route header field value, - * if there was any, or the Contact header field if there was no - * Record-Route header field, the Contact header field in the response - * MUST be a SIPS URI. - */ - pjsua_acc *acc; - pjsip_sip_uri *sip_uri; - pj_status_t status; - pjsip_transport_type_e tp_type = PJSIP_TRANSPORT_UNSPECIFIED; - pj_str_t local_addr; - pjsip_tpselector tp_sel; - unsigned flag; - int secure; - int local_port; - const char *beginquote, *endquote; - char transport_param[32]; - - PJ_ASSERT_RETURN(pjsua_acc_is_valid(acc_id), PJ_EINVAL); - acc = &pjsua_var.acc[acc_id]; - - /* If force_contact is configured, then use use it */ - if (acc->cfg.force_contact.slen) { - *contact = acc->cfg.force_contact; - return PJ_SUCCESS; - } - - /* If Record-Route is present, then URI is the top Record-Route. */ - if (rdata->msg_info.record_route) { - sip_uri = (pjsip_sip_uri*) - pjsip_uri_get_uri(rdata->msg_info.record_route->name_addr.uri); - } else { - pjsip_hdr *pos = NULL; - pjsip_contact_hdr *h_contact; - pjsip_uri *uri = NULL; - - /* Otherwise URI is Contact URI. - * Iterate the Contact URI until we find sip: or sips: scheme. - */ - do { - h_contact = (pjsip_contact_hdr*) - pjsip_msg_find_hdr(rdata->msg_info.msg, PJSIP_H_CONTACT, - pos); - if (h_contact) { - if (h_contact->uri) - uri = (pjsip_uri*) pjsip_uri_get_uri(h_contact->uri); - else - uri = NULL; - if (!uri || (!PJSIP_URI_SCHEME_IS_SIP(uri) && - !PJSIP_URI_SCHEME_IS_SIPS(uri))) - { - pos = (pjsip_hdr*)h_contact->next; - if (pos == &rdata->msg_info.msg->hdr) - h_contact = NULL; - } else { - break; - } - } - } while (h_contact); - - - /* Or if Contact URI is not present, take the remote URI from - * the From URI. - */ - if (uri == NULL) - uri = (pjsip_uri*) pjsip_uri_get_uri(rdata->msg_info.from->uri); - - - /* Can only do sip/sips scheme at present. */ - if (!PJSIP_URI_SCHEME_IS_SIP(uri) && !PJSIP_URI_SCHEME_IS_SIPS(uri)) - return PJSIP_EINVALIDREQURI; - - sip_uri = (pjsip_sip_uri*)pjsip_uri_get_uri(uri); - } - - /* Get transport type of the URI */ - if (PJSIP_URI_SCHEME_IS_SIPS(sip_uri)) - tp_type = PJSIP_TRANSPORT_TLS; - else if (sip_uri->transport_param.slen == 0) { - tp_type = PJSIP_TRANSPORT_UDP; - } else - tp_type = pjsip_transport_get_type_from_name(&sip_uri->transport_param); - - if (tp_type == PJSIP_TRANSPORT_UNSPECIFIED) - return PJSIP_EUNSUPTRANSPORT; - - /* If destination URI specifies IPv6, then set transport type - * to use IPv6 as well. - */ - if (pj_strchr(&sip_uri->host, ':')) - tp_type = (pjsip_transport_type_e)(((int)tp_type) + PJSIP_TRANSPORT_IPV6); - - flag = pjsip_transport_get_flag_from_type(tp_type); - secure = (flag & PJSIP_TRANSPORT_SECURE) != 0; - - /* Init transport selector. */ - pjsua_init_tpselector(pjsua_var.acc[acc_id].cfg.transport_id, &tp_sel); - - /* Get local address suitable to send request from */ - status = pjsip_tpmgr_find_local_addr(pjsip_endpt_get_tpmgr(pjsua_var.endpt), - pool, tp_type, &tp_sel, - &local_addr, &local_port); - if (status != PJ_SUCCESS) - return status; - - /* Enclose IPv6 address in square brackets */ - if (tp_type & PJSIP_TRANSPORT_IPV6) { - beginquote = "["; - endquote = "]"; - } else { - beginquote = endquote = ""; - } - - /* Don't add transport parameter if it's UDP */ - if (tp_type!=PJSIP_TRANSPORT_UDP && tp_type!=PJSIP_TRANSPORT_UDP6) { - pj_ansi_snprintf(transport_param, sizeof(transport_param), - ";transport=%s", - pjsip_transport_get_type_name(tp_type)); - } else { - transport_param[0] = '\0'; - } - - - /* Create the contact header */ - contact->ptr = (char*) pj_pool_alloc(pool, PJSIP_MAX_URL_SIZE); - contact->slen = pj_ansi_snprintf(contact->ptr, PJSIP_MAX_URL_SIZE, - "%s%.*s%s<%s:%.*s%s%s%.*s%s:%d%s%.*s>%.*s", - (acc->display.slen?"\"" : ""), - (int)acc->display.slen, - acc->display.ptr, - (acc->display.slen?"\" " : ""), - (secure ? PJSUA_SECURE_SCHEME : "sip"), - (int)acc->user_part.slen, - acc->user_part.ptr, - (acc->user_part.slen?"@":""), - beginquote, - (int)local_addr.slen, - local_addr.ptr, - endquote, - local_port, - transport_param, - (int)acc->cfg.contact_uri_params.slen, - acc->cfg.contact_uri_params.ptr, - (int)acc->cfg.contact_params.slen, - acc->cfg.contact_params.ptr); - - return PJ_SUCCESS; -} - - -PJ_DEF(pj_status_t) pjsua_acc_set_transport( pjsua_acc_id acc_id, - pjsua_transport_id tp_id) -{ - pjsua_acc *acc; - - PJ_ASSERT_RETURN(pjsua_acc_is_valid(acc_id), PJ_EINVAL); - acc = &pjsua_var.acc[acc_id]; - - PJ_ASSERT_RETURN(tp_id >= 0 && tp_id < (int)PJ_ARRAY_SIZE(pjsua_var.tpdata), - PJ_EINVAL); - - acc->cfg.transport_id = tp_id; - - return PJ_SUCCESS; -} - - -/* Auto re-registration timeout callback */ -static void auto_rereg_timer_cb(pj_timer_heap_t *th, pj_timer_entry *te) -{ - pjsua_acc *acc; - pj_status_t status; - - PJ_UNUSED_ARG(th); - acc = (pjsua_acc*) te->user_data; - pj_assert(acc); - - PJSUA_LOCK(); - - /* Check if the reregistration timer is still valid, e.g: while waiting - * timeout timer application might have deleted the account or disabled - * the auto-reregistration. - */ - if (!acc->valid || !acc->auto_rereg.active || - acc->cfg.reg_retry_interval == 0) - { - goto on_return; - } - - /* Start re-registration */ - acc->auto_rereg.attempt_cnt++; - status = pjsua_acc_set_registration(acc->index, PJ_TRUE); - if (status != PJ_SUCCESS) - schedule_reregistration(acc); - -on_return: - PJSUA_UNLOCK(); -} - - -/* Schedule reregistration for specified account. Note that the first - * re-registration after a registration failure will be done immediately. - * Also note that this function should be called within PJSUA mutex. - */ -static void schedule_reregistration(pjsua_acc *acc) -{ - pj_time_val delay; - - pj_assert(acc); - - /* Validate the account and re-registration feature status */ - if (!acc->valid || acc->cfg.reg_retry_interval == 0) { - return; - } - - /* If configured, disconnect calls of this account after the first - * reregistration attempt failed. - */ - if (acc->cfg.drop_calls_on_reg_fail && acc->auto_rereg.attempt_cnt >= 1) - { - unsigned i, cnt; - - for (i = 0, cnt = 0; i < pjsua_var.ua_cfg.max_calls; ++i) { - if (pjsua_var.calls[i].acc_id == acc->index) { - pjsua_call_hangup(i, 0, NULL, NULL); - ++cnt; - } - } - - if (cnt) { - PJ_LOG(3, (THIS_FILE, "Disconnecting %d call(s) of account #%d " - "after reregistration attempt failed", - cnt, acc->index)); - } - } - - /* Cancel any re-registration timer */ - pjsua_cancel_timer(&acc->auto_rereg.timer); - - /* Update re-registration flag */ - acc->auto_rereg.active = PJ_TRUE; - - /* Set up timer for reregistration */ - acc->auto_rereg.timer.cb = &auto_rereg_timer_cb; - acc->auto_rereg.timer.user_data = acc; - - /* Reregistration attempt. The first attempt will be done immediately. */ - delay.sec = acc->auto_rereg.attempt_cnt? acc->cfg.reg_retry_interval : - acc->cfg.reg_first_retry_interval; - delay.msec = 0; - - /* Randomize interval by +/- 10 secs */ - if (delay.sec >= 10) { - delay.msec = -10000 + (pj_rand() % 20000); - } else { - delay.sec = 0; - delay.msec = (pj_rand() % 10000); - } - pj_time_val_normalize(&delay); - - PJ_LOG(4,(THIS_FILE, - "Scheduling re-registration retry for acc %d in %u seconds..", - acc->index, delay.sec)); - - pjsua_schedule_timer(&acc->auto_rereg.timer, &delay); -} - - -/* Internal function to perform auto-reregistration on transport - * connection/disconnection events. - */ -void pjsua_acc_on_tp_state_changed(pjsip_transport *tp, - pjsip_transport_state state, - const pjsip_transport_state_info *info) -{ - unsigned i; - - PJ_UNUSED_ARG(info); - - /* Only care for transport disconnection events */ - if (state != PJSIP_TP_STATE_DISCONNECTED) - return; - - PJ_LOG(4,(THIS_FILE, "Disconnected notification for transport %s", - tp->obj_name)); - pj_log_push_indent(); - - /* Shutdown this transport, to make sure that the transport manager - * will create a new transport for reconnection. - */ - pjsip_transport_shutdown(tp); - - PJSUA_LOCK(); - - /* Enumerate accounts using this transport and perform actions - * based on the transport state. - */ - for (i = 0; i < PJ_ARRAY_SIZE(pjsua_var.acc); ++i) { - pjsua_acc *acc = &pjsua_var.acc[i]; - - /* Skip if this account is not valid OR auto re-registration - * feature is disabled OR this transport is not used by this account. - */ - if (!acc->valid || !acc->cfg.reg_retry_interval || - tp != acc->auto_rereg.reg_tp) - { - continue; - } - - /* Release regc transport immediately - * See https://trac.pjsip.org/repos/ticket/1481 - */ - if (pjsua_var.acc[i].regc) { - pjsip_regc_release_transport(pjsua_var.acc[i].regc); - } - - /* Schedule reregistration for this account */ - schedule_reregistration(acc); - } - - PJSUA_UNLOCK(); - pj_log_pop_indent(); -} diff --git a/res/pjproject/pjsip/src/pjsua-lib/pjsua_aud.c b/res/pjproject/pjsip/src/pjsua-lib/pjsua_aud.c deleted file mode 100644 index 7588266d03..0000000000 --- a/res/pjproject/pjsip/src/pjsua-lib/pjsua_aud.c +++ /dev/null @@ -1,2148 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -#if defined(PJSUA_MEDIA_HAS_PJMEDIA) && PJSUA_MEDIA_HAS_PJMEDIA != 0 - -#define THIS_FILE "pjsua_aud.c" -#define NULL_SND_DEV_ID -99 - -/***************************************************************************** - * - * Prototypes - */ -/* Open sound dev */ -static pj_status_t open_snd_dev(pjmedia_snd_port_param *param); -/* Close existing sound device */ -static void close_snd_dev(void); -/* Create audio device param */ -static pj_status_t create_aud_param(pjmedia_aud_param *param, - pjmedia_aud_dev_index capture_dev, - pjmedia_aud_dev_index playback_dev, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample); - -/***************************************************************************** - * - * Call API that are closely tied to PJMEDIA - */ -/* - * Check if call has an active media session. - */ -PJ_DEF(pj_bool_t) pjsua_call_has_media(pjsua_call_id call_id) -{ - pjsua_call *call = &pjsua_var.calls[call_id]; - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - return call->audio_idx >= 0 && call->media[call->audio_idx].strm.a.stream; -} - - -/* - * Get the conference port identification associated with the call. - */ -PJ_DEF(pjsua_conf_port_id) pjsua_call_get_conf_port(pjsua_call_id call_id) -{ - pjsua_call *call; - pjsua_conf_port_id port_id = PJSUA_INVALID_ID; - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - - /* Use PJSUA_LOCK() instead of acquire_call(): - * https://trac.pjsip.org/repos/ticket/1371 - */ - PJSUA_LOCK(); - - if (!pjsua_call_is_active(call_id)) - goto on_return; - - call = &pjsua_var.calls[call_id]; - port_id = call->media[call->audio_idx].strm.a.conf_slot; - -on_return: - PJSUA_UNLOCK(); - - return port_id; -} - - -/* - * Get media stream info for the specified media index. - */ -PJ_DEF(pj_status_t) pjsua_call_get_stream_info( pjsua_call_id call_id, - unsigned med_idx, - pjsua_stream_info *psi) -{ - pjsua_call *call; - pjsua_call_media *call_med; - pj_status_t status; - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - PJ_ASSERT_RETURN(psi, PJ_EINVAL); - - PJSUA_LOCK(); - - call = &pjsua_var.calls[call_id]; - - if (med_idx >= call->med_cnt) { - PJSUA_UNLOCK(); - return PJ_EINVAL; - } - - call_med = &call->media[med_idx]; - psi->type = call_med->type; - switch (call_med->type) { - case PJMEDIA_TYPE_AUDIO: - status = pjmedia_stream_get_info(call_med->strm.a.stream, - &psi->info.aud); - break; -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - case PJMEDIA_TYPE_VIDEO: - status = pjmedia_vid_stream_get_info(call_med->strm.v.stream, - &psi->info.vid); - break; -#endif - default: - status = PJMEDIA_EINVALIMEDIATYPE; - break; - } - - PJSUA_UNLOCK(); - return status; -} - - -/* - * Get media stream statistic for the specified media index. - */ -PJ_DEF(pj_status_t) pjsua_call_get_stream_stat( pjsua_call_id call_id, - unsigned med_idx, - pjsua_stream_stat *stat) -{ - pjsua_call *call; - pjsua_call_media *call_med; - pj_status_t status; - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - PJ_ASSERT_RETURN(stat, PJ_EINVAL); - - PJSUA_LOCK(); - - call = &pjsua_var.calls[call_id]; - - if (med_idx >= call->med_cnt) { - PJSUA_UNLOCK(); - return PJ_EINVAL; - } - - call_med = &call->media[med_idx]; - switch (call_med->type) { - case PJMEDIA_TYPE_AUDIO: - status = pjmedia_stream_get_stat(call_med->strm.a.stream, - &stat->rtcp); - if (status == PJ_SUCCESS) - status = pjmedia_stream_get_stat_jbuf(call_med->strm.a.stream, - &stat->jbuf); - break; -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - case PJMEDIA_TYPE_VIDEO: - status = pjmedia_vid_stream_get_stat(call_med->strm.v.stream, - &stat->rtcp); - if (status == PJ_SUCCESS) - status = pjmedia_vid_stream_get_stat_jbuf(call_med->strm.v.stream, - &stat->jbuf); - break; -#endif - default: - status = PJMEDIA_EINVALIMEDIATYPE; - break; - } - - PJSUA_UNLOCK(); - return status; -} - -/* - * Send DTMF digits to remote using RFC 2833 payload formats. - */ -PJ_DEF(pj_status_t) pjsua_call_dial_dtmf( pjsua_call_id call_id, - const pj_str_t *digits) -{ - pjsua_call *call; - pjsip_dialog *dlg = NULL; - pj_status_t status; - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - - PJ_LOG(4,(THIS_FILE, "Call %d dialing DTMF %.*s", - call_id, (int)digits->slen, digits->ptr)); - pj_log_push_indent(); - - status = acquire_call("pjsua_call_dial_dtmf()", call_id, &call, &dlg); - if (status != PJ_SUCCESS) - goto on_return; - - if (!pjsua_call_has_media(call_id)) { - PJ_LOG(3,(THIS_FILE, "Media is not established yet!")); - status = PJ_EINVALIDOP; - goto on_return; - } - - status = pjmedia_stream_dial_dtmf( - call->media[call->audio_idx].strm.a.stream, digits); - -on_return: - if (dlg) pjsip_dlg_dec_lock(dlg); - pj_log_pop_indent(); - return status; -} - - -/***************************************************************************** - * - * Audio media with PJMEDIA backend - */ - -/* Init pjmedia audio subsystem */ -pj_status_t pjsua_aud_subsys_init() -{ - pj_str_t codec_id = {NULL, 0}; - unsigned opt; - pjmedia_audio_codec_config codec_cfg; - pj_status_t status; - - /* To suppress warning about unused var when all codecs are disabled */ - PJ_UNUSED_ARG(codec_id); - - /* - * Register all codecs - */ - pjmedia_audio_codec_config_default(&codec_cfg); - codec_cfg.speex.quality = pjsua_var.media_cfg.quality; - codec_cfg.speex.complexity = -1; - codec_cfg.ilbc.mode = pjsua_var.media_cfg.ilbc_mode; - -#if PJMEDIA_HAS_PASSTHROUGH_CODECS - /* Register passthrough codecs */ - { - unsigned aud_idx; - unsigned ext_fmt_cnt = 0; - pjmedia_format ext_fmts[32]; - - /* List extended formats supported by audio devices */ - for (aud_idx = 0; aud_idx < pjmedia_aud_dev_count(); ++aud_idx) { - pjmedia_aud_dev_info aud_info; - unsigned i; - - status = pjmedia_aud_dev_get_info(aud_idx, &aud_info); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error querying audio device info", - status); - goto on_error; - } - - /* Collect extended formats supported by this audio device */ - for (i = 0; i < aud_info.ext_fmt_cnt; ++i) { - unsigned j; - pj_bool_t is_listed = PJ_FALSE; - - /* See if this extended format is already in the list */ - for (j = 0; j < ext_fmt_cnt && !is_listed; ++j) { - if (ext_fmts[j].id == aud_info.ext_fmt[i].id && - ext_fmts[j].det.aud.avg_bps == - aud_info.ext_fmt[i].det.aud.avg_bps) - { - is_listed = PJ_TRUE; - } - } - - /* Put this format into the list, if it is not in the list */ - if (!is_listed) - ext_fmts[ext_fmt_cnt++] = aud_info.ext_fmt[i]; - - pj_assert(ext_fmt_cnt <= PJ_ARRAY_SIZE(ext_fmts)); - } - } - - /* Init the passthrough codec with supported formats only */ - codec_cfg.passthrough.setting.fmt_cnt = ext_fmt_cnt; - codec_cfg.passthrough.setting.fmts = ext_fmts; - codec_cfg.passthrough.setting.ilbc_mode = cfg->ilbc_mode; - } -#endif /* PJMEDIA_HAS_PASSTHROUGH_CODECS */ - - /* Register all codecs */ - status = pjmedia_codec_register_audio_codecs(pjsua_var.med_endpt, - &codec_cfg); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, "Error registering codecs")); - goto on_error; - } - - /* Set speex/16000 to higher priority*/ - codec_id = pj_str("speex/16000"); - pjmedia_codec_mgr_set_codec_priority( - pjmedia_endpt_get_codec_mgr(pjsua_var.med_endpt), - &codec_id, PJMEDIA_CODEC_PRIO_NORMAL+2); - - /* Set speex/8000 to next higher priority*/ - codec_id = pj_str("speex/8000"); - pjmedia_codec_mgr_set_codec_priority( - pjmedia_endpt_get_codec_mgr(pjsua_var.med_endpt), - &codec_id, PJMEDIA_CODEC_PRIO_NORMAL+1); - - /* Disable ALL L16 codecs */ - codec_id = pj_str("L16"); - pjmedia_codec_mgr_set_codec_priority( - pjmedia_endpt_get_codec_mgr(pjsua_var.med_endpt), - &codec_id, PJMEDIA_CODEC_PRIO_DISABLED); - - - /* Save additional conference bridge parameters for future - * reference. - */ - pjsua_var.mconf_cfg.channel_count = pjsua_var.media_cfg.channel_count; - pjsua_var.mconf_cfg.bits_per_sample = 16; - pjsua_var.mconf_cfg.samples_per_frame = pjsua_var.media_cfg.clock_rate * - pjsua_var.mconf_cfg.channel_count * - pjsua_var.media_cfg.audio_frame_ptime / - 1000; - - /* Init options for conference bridge. */ - opt = PJMEDIA_CONF_NO_DEVICE; - if (pjsua_var.media_cfg.quality >= 3 && - pjsua_var.media_cfg.quality <= 4) - { - opt |= PJMEDIA_CONF_SMALL_FILTER; - } - else if (pjsua_var.media_cfg.quality < 3) { - opt |= PJMEDIA_CONF_USE_LINEAR; - } - - /* Init conference bridge. */ - status = pjmedia_conf_create(pjsua_var.pool, - pjsua_var.media_cfg.max_media_ports, - pjsua_var.media_cfg.clock_rate, - pjsua_var.mconf_cfg.channel_count, - pjsua_var.mconf_cfg.samples_per_frame, - pjsua_var.mconf_cfg.bits_per_sample, - opt, &pjsua_var.mconf); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error creating conference bridge", - status); - goto on_error; - } - - /* Are we using the audio switchboard (a.k.a APS-Direct)? */ - pjsua_var.is_mswitch = pjmedia_conf_get_master_port(pjsua_var.mconf) - ->info.signature == PJMEDIA_CONF_SWITCH_SIGNATURE; - - /* Create null port just in case user wants to use null sound. */ - status = pjmedia_null_port_create(pjsua_var.pool, - pjsua_var.media_cfg.clock_rate, - pjsua_var.mconf_cfg.channel_count, - pjsua_var.mconf_cfg.samples_per_frame, - pjsua_var.mconf_cfg.bits_per_sample, - &pjsua_var.null_port); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - return status; - -on_error: - return status; -} - -/* Check if sound device is idle. */ -static void check_snd_dev_idle() -{ - unsigned call_cnt; - - /* Check if the sound device auto-close feature is disabled. */ - if (pjsua_var.media_cfg.snd_auto_close_time < 0) - return; - - /* Check if the sound device is currently closed. */ - if (!pjsua_var.snd_is_on) - return; - - /* Get the call count, we shouldn't close the sound device when there is - * any calls active. - */ - call_cnt = pjsua_call_get_count(); - - /* When this function is called from pjsua_media_channel_deinit() upon - * disconnecting call, actually the call count hasn't been updated/ - * decreased. So we put additional check here, if there is only one - * call and it's in DISCONNECTED state, there is actually no active - * call. - */ - if (call_cnt == 1) { - pjsua_call_id call_id; - pj_status_t status; - - status = pjsua_enum_calls(&call_id, &call_cnt); - if (status == PJ_SUCCESS && call_cnt > 0 && - !pjsua_call_is_active(call_id)) - { - call_cnt = 0; - } - } - - /* Activate sound device auto-close timer if sound device is idle. - * It is idle when there is no port connection in the bridge and - * there is no active call. - */ - if (pjsua_var.snd_idle_timer.id == PJ_FALSE && - call_cnt == 0 && - pjmedia_conf_get_connect_count(pjsua_var.mconf) == 0) - { - pj_time_val delay; - - delay.msec = 0; - delay.sec = pjsua_var.media_cfg.snd_auto_close_time; - - pjsua_var.snd_idle_timer.id = PJ_TRUE; - pjsip_endpt_schedule_timer(pjsua_var.endpt, &pjsua_var.snd_idle_timer, - &delay); - } -} - -/* Timer callback to close sound device */ -static void close_snd_timer_cb( pj_timer_heap_t *th, - pj_timer_entry *entry) -{ - PJ_UNUSED_ARG(th); - - PJSUA_LOCK(); - if (entry->id) { - PJ_LOG(4,(THIS_FILE,"Closing sound device after idle for %d seconds", - pjsua_var.media_cfg.snd_auto_close_time)); - - entry->id = PJ_FALSE; - - close_snd_dev(); - } - PJSUA_UNLOCK(); -} - -pj_status_t pjsua_aud_subsys_start(void) -{ - pj_status_t status = PJ_SUCCESS; - - pj_timer_entry_init(&pjsua_var.snd_idle_timer, PJ_FALSE, NULL, - &close_snd_timer_cb); - - return status; -} - -pj_status_t pjsua_aud_subsys_destroy() -{ - unsigned i; - - close_snd_dev(); - - if (pjsua_var.mconf) { - pjmedia_conf_destroy(pjsua_var.mconf); - pjsua_var.mconf = NULL; - } - - if (pjsua_var.null_port) { - pjmedia_port_destroy(pjsua_var.null_port); - pjsua_var.null_port = NULL; - } - - /* Destroy file players */ - for (i=0; istrm.a.stream; - pjmedia_rtcp_stat stat; - - if (strm) { - pjmedia_stream_send_rtcp_bye(strm); - - if (call_med->strm.a.conf_slot != PJSUA_INVALID_ID) { - if (pjsua_var.mconf) { - pjsua_conf_remove_port(call_med->strm.a.conf_slot); - } - call_med->strm.a.conf_slot = PJSUA_INVALID_ID; - } - - if ((call_med->dir & PJMEDIA_DIR_ENCODING) && - (pjmedia_stream_get_stat(strm, &stat) == PJ_SUCCESS)) - { - /* Save RTP timestamp & sequence, so when media session is - * restarted, those values will be restored as the initial - * RTP timestamp & sequence of the new media session. So in - * the same call session, RTP timestamp and sequence are - * guaranteed to be contigue. - */ - call_med->rtp_tx_seq_ts_set = 1 | (1 << 1); - call_med->rtp_tx_seq = stat.rtp_tx_last_seq; - call_med->rtp_tx_ts = stat.rtp_tx_last_ts; - } - - if (pjsua_var.ua_cfg.cb.on_stream_destroyed) { - pjsua_var.ua_cfg.cb.on_stream_destroyed(call_med->call->index, - strm, call_med->idx); - } - - pjmedia_stream_destroy(strm); - call_med->strm.a.stream = NULL; - } - - check_snd_dev_idle(); -} - -/* - * DTMF callback from the stream. - */ -static void dtmf_callback(pjmedia_stream *strm, void *user_data, - int digit) -{ - PJ_UNUSED_ARG(strm); - - pj_log_push_indent(); - - /* For discussions about call mutex protection related to this - * callback, please see ticket #460: - * http://trac.pjsip.org/repos/ticket/460#comment:4 - */ - if (pjsua_var.ua_cfg.cb.on_dtmf_digit) { - pjsua_call_id call_id; - - call_id = (pjsua_call_id)(long)user_data; - pjsua_var.ua_cfg.cb.on_dtmf_digit(call_id, digit); - } - - pj_log_pop_indent(); -} - - -pj_status_t pjsua_aud_channel_update(pjsua_call_media *call_med, - pj_pool_t *tmp_pool, - pjmedia_stream_info *si, - const pjmedia_sdp_session *local_sdp, - const pjmedia_sdp_session *remote_sdp) -{ - pjsua_call *call = call_med->call; - pjmedia_port *media_port; - unsigned strm_idx = call_med->idx; - pj_status_t status = PJ_SUCCESS; - - PJ_UNUSED_ARG(tmp_pool); - PJ_UNUSED_ARG(local_sdp); - PJ_UNUSED_ARG(remote_sdp); - - PJ_LOG(4,(THIS_FILE,"Audio channel update..")); - pj_log_push_indent(); - - si->rtcp_sdes_bye_disabled = PJ_TRUE; - - /* Check if no media is active */ - if (si->dir != PJMEDIA_DIR_NONE) { - - /* Override ptime, if this option is specified. */ - if (pjsua_var.media_cfg.ptime != 0) { - si->param->setting.frm_per_pkt = (pj_uint8_t) - (pjsua_var.media_cfg.ptime / si->param->info.frm_ptime); - if (si->param->setting.frm_per_pkt == 0) - si->param->setting.frm_per_pkt = 1; - } - - /* Disable VAD, if this option is specified. */ - if (pjsua_var.media_cfg.no_vad) { - si->param->setting.vad = 0; - } - - - /* Optionally, application may modify other stream settings here - * (such as jitter buffer parameters, codec ptime, etc.) - */ - si->jb_init = pjsua_var.media_cfg.jb_init; - si->jb_min_pre = pjsua_var.media_cfg.jb_min_pre; - si->jb_max_pre = pjsua_var.media_cfg.jb_max_pre; - si->jb_max = pjsua_var.media_cfg.jb_max; - - /* Set SSRC */ - si->ssrc = call_med->ssrc; - - /* Set RTP timestamp & sequence, normally these value are intialized - * automatically when stream session created, but for some cases (e.g: - * call reinvite, call update) timestamp and sequence need to be kept - * contigue. - */ - si->rtp_ts = call_med->rtp_tx_ts; - si->rtp_seq = call_med->rtp_tx_seq; - si->rtp_seq_ts_set = call_med->rtp_tx_seq_ts_set; - -#if defined(PJMEDIA_STREAM_ENABLE_KA) && PJMEDIA_STREAM_ENABLE_KA!=0 - /* Enable/disable stream keep-alive and NAT hole punch. */ - si->use_ka = pjsua_var.acc[call->acc_id].cfg.use_stream_ka; -#endif - - /* Create session based on session info. */ - status = pjmedia_stream_create(pjsua_var.med_endpt, NULL, si, - call_med->tp, NULL, - &call_med->strm.a.stream); - if (status != PJ_SUCCESS) { - goto on_return; - } - - /* Start stream */ - status = pjmedia_stream_start(call_med->strm.a.stream); - if (status != PJ_SUCCESS) { - goto on_return; - } - - if (call_med->prev_state == PJSUA_CALL_MEDIA_NONE) - pjmedia_stream_send_rtcp_sdes(call_med->strm.a.stream); - - /* If DTMF callback is installed by application, install our - * callback to the session. - */ - if (pjsua_var.ua_cfg.cb.on_dtmf_digit) { - pjmedia_stream_set_dtmf_callback(call_med->strm.a.stream, - &dtmf_callback, - (void*)(long)(call->index)); - } - - /* Get the port interface of the first stream in the session. - * We need the port interface to add to the conference bridge. - */ - pjmedia_stream_get_port(call_med->strm.a.stream, &media_port); - - /* Notify application about stream creation. - * Note: application may modify media_port to point to different - * media port - */ - if (pjsua_var.ua_cfg.cb.on_stream_created) { - pjsua_var.ua_cfg.cb.on_stream_created(call->index, - call_med->strm.a.stream, - strm_idx, &media_port); - } - - /* - * Add the call to conference bridge. - */ - { - char tmp[PJSIP_MAX_URL_SIZE]; - pj_str_t port_name; - - port_name.ptr = tmp; - port_name.slen = pjsip_uri_print(PJSIP_URI_IN_REQ_URI, - call->inv->dlg->remote.info->uri, - tmp, sizeof(tmp)); - if (port_name.slen < 1) { - port_name = pj_str("call"); - } - status = pjmedia_conf_add_port( pjsua_var.mconf, - call->inv->pool_prov, - media_port, - &port_name, - (unsigned*) - &call_med->strm.a.conf_slot); - if (status != PJ_SUCCESS) { - goto on_return; - } - } - } - -on_return: - pj_log_pop_indent(); - return status; -} - - -/* - * Get maxinum number of conference ports. - */ -PJ_DEF(unsigned) pjsua_conf_get_max_ports(void) -{ - return pjsua_var.media_cfg.max_media_ports; -} - - -/* - * Get current number of active ports in the bridge. - */ -PJ_DEF(unsigned) pjsua_conf_get_active_ports(void) -{ - unsigned ports[PJSUA_MAX_CONF_PORTS]; - unsigned count = PJ_ARRAY_SIZE(ports); - pj_status_t status; - - status = pjmedia_conf_enum_ports(pjsua_var.mconf, ports, &count); - if (status != PJ_SUCCESS) - count = 0; - - return count; -} - - -/* - * Enumerate all conference ports. - */ -PJ_DEF(pj_status_t) pjsua_enum_conf_ports(pjsua_conf_port_id id[], - unsigned *count) -{ - return pjmedia_conf_enum_ports(pjsua_var.mconf, (unsigned*)id, count); -} - - -/* - * Get information about the specified conference port - */ -PJ_DEF(pj_status_t) pjsua_conf_get_port_info( pjsua_conf_port_id id, - pjsua_conf_port_info *info) -{ - pjmedia_conf_port_info cinfo; - unsigned i; - pj_status_t status; - - status = pjmedia_conf_get_port_info( pjsua_var.mconf, id, &cinfo); - if (status != PJ_SUCCESS) - return status; - - pj_bzero(info, sizeof(*info)); - info->slot_id = id; - info->name = cinfo.name; - info->clock_rate = cinfo.clock_rate; - info->channel_count = cinfo.channel_count; - info->samples_per_frame = cinfo.samples_per_frame; - info->bits_per_sample = cinfo.bits_per_sample; - - /* Build array of listeners */ - info->listener_cnt = cinfo.listener_cnt; - for (i=0; ilisteners[i] = cinfo.listener_slots[i]; - } - - return PJ_SUCCESS; -} - - -/* - * Add arbitrary media port to PJSUA's conference bridge. - */ -PJ_DEF(pj_status_t) pjsua_conf_add_port( pj_pool_t *pool, - pjmedia_port *port, - pjsua_conf_port_id *p_id) -{ - pj_status_t status; - - status = pjmedia_conf_add_port(pjsua_var.mconf, pool, - port, NULL, (unsigned*)p_id); - if (status != PJ_SUCCESS) { - if (p_id) - *p_id = PJSUA_INVALID_ID; - } - - return status; -} - - -/* - * Remove arbitrary slot from the conference bridge. - */ -PJ_DEF(pj_status_t) pjsua_conf_remove_port(pjsua_conf_port_id id) -{ - pj_status_t status; - - status = pjmedia_conf_remove_port(pjsua_var.mconf, (unsigned)id); - check_snd_dev_idle(); - - return status; -} - - -/* - * Establish unidirectional media flow from souce to sink. - */ -PJ_DEF(pj_status_t) pjsua_conf_connect( pjsua_conf_port_id source, - pjsua_conf_port_id sink) -{ - pj_status_t status = PJ_SUCCESS; - - PJ_LOG(4,(THIS_FILE, "%s connect: %d --> %d", - (pjsua_var.is_mswitch ? "Switch" : "Conf"), - source, sink)); - pj_log_push_indent(); - - PJSUA_LOCK(); - - /* If sound device idle timer is active, cancel it first. */ - if (pjsua_var.snd_idle_timer.id) { - pjsip_endpt_cancel_timer(pjsua_var.endpt, &pjsua_var.snd_idle_timer); - pjsua_var.snd_idle_timer.id = PJ_FALSE; - } - - - /* For audio switchboard (i.e. APS-Direct): - * Check if sound device need to be reopened, i.e: its attributes - * (format, clock rate, channel count) must match to peer's. - * Note that sound device can be reopened only if it doesn't have - * any connection. - */ - if (pjsua_var.is_mswitch) { - pjmedia_conf_port_info port0_info; - pjmedia_conf_port_info peer_info; - unsigned peer_id; - pj_bool_t need_reopen = PJ_FALSE; - - peer_id = (source!=0)? source : sink; - status = pjmedia_conf_get_port_info(pjsua_var.mconf, peer_id, - &peer_info); - pj_assert(status == PJ_SUCCESS); - - status = pjmedia_conf_get_port_info(pjsua_var.mconf, 0, &port0_info); - pj_assert(status == PJ_SUCCESS); - - /* Check if sound device is instantiated. */ - need_reopen = (pjsua_var.snd_port==NULL && pjsua_var.null_snd==NULL && - !pjsua_var.no_snd); - - /* Check if sound device need to reopen because it needs to modify - * settings to match its peer. Sound device must be idle in this case - * though. - */ - if (!need_reopen && - port0_info.listener_cnt==0 && port0_info.transmitter_cnt==0) - { - need_reopen = (peer_info.format.id != port0_info.format.id || - peer_info.format.det.aud.avg_bps != - port0_info.format.det.aud.avg_bps || - peer_info.clock_rate != port0_info.clock_rate || - peer_info.channel_count!=port0_info.channel_count); - } - - if (need_reopen) { - if (pjsua_var.cap_dev != NULL_SND_DEV_ID) { - pjmedia_snd_port_param param; - - pjmedia_snd_port_param_default(¶m); - param.ec_options = pjsua_var.media_cfg.ec_options; - - /* Create parameter based on peer info */ - status = create_aud_param(¶m.base, pjsua_var.cap_dev, - pjsua_var.play_dev, - peer_info.clock_rate, - peer_info.channel_count, - peer_info.samples_per_frame, - peer_info.bits_per_sample); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error opening sound device", - status); - goto on_return; - } - - /* And peer format */ - if (peer_info.format.id != PJMEDIA_FORMAT_PCM) { - param.base.flags |= PJMEDIA_AUD_DEV_CAP_EXT_FORMAT; - param.base.ext_fmt = peer_info.format; - } - - param.options = 0; - status = open_snd_dev(¶m); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error opening sound device", - status); - goto on_return; - } - } else { - /* Null-audio */ - status = pjsua_set_snd_dev(pjsua_var.cap_dev, - pjsua_var.play_dev); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error opening sound device", - status); - goto on_return; - } - } - } else if (pjsua_var.no_snd) { - if (!pjsua_var.snd_is_on) { - pjsua_var.snd_is_on = PJ_TRUE; - /* Notify app */ - if (pjsua_var.ua_cfg.cb.on_snd_dev_operation) { - (*pjsua_var.ua_cfg.cb.on_snd_dev_operation)(1); - } - } - } - - } else { - /* The bridge version */ - - /* Create sound port if none is instantiated */ - if (pjsua_var.snd_port==NULL && pjsua_var.null_snd==NULL && - !pjsua_var.no_snd) - { - status = pjsua_set_snd_dev(pjsua_var.cap_dev, pjsua_var.play_dev); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error opening sound device", status); - goto on_return; - } - } else if (pjsua_var.no_snd && !pjsua_var.snd_is_on) { - pjsua_var.snd_is_on = PJ_TRUE; - /* Notify app */ - if (pjsua_var.ua_cfg.cb.on_snd_dev_operation) { - (*pjsua_var.ua_cfg.cb.on_snd_dev_operation)(1); - } - } - } - -on_return: - PJSUA_UNLOCK(); - - if (status == PJ_SUCCESS) { - status = pjmedia_conf_connect_port(pjsua_var.mconf, source, sink, 0); - } - - pj_log_pop_indent(); - return status; -} - - -/* - * Disconnect media flow from the source to destination port. - */ -PJ_DEF(pj_status_t) pjsua_conf_disconnect( pjsua_conf_port_id source, - pjsua_conf_port_id sink) -{ - pj_status_t status; - - PJ_LOG(4,(THIS_FILE, "%s disconnect: %d -x- %d", - (pjsua_var.is_mswitch ? "Switch" : "Conf"), - source, sink)); - pj_log_push_indent(); - - status = pjmedia_conf_disconnect_port(pjsua_var.mconf, source, sink); - check_snd_dev_idle(); - - pj_log_pop_indent(); - return status; -} - - -/* - * Adjust the signal level to be transmitted from the bridge to the - * specified port by making it louder or quieter. - */ -PJ_DEF(pj_status_t) pjsua_conf_adjust_tx_level(pjsua_conf_port_id slot, - float level) -{ - return pjmedia_conf_adjust_tx_level(pjsua_var.mconf, slot, - (int)((level-1) * 128)); -} - -/* - * Adjust the signal level to be received from the specified port (to - * the bridge) by making it louder or quieter. - */ -PJ_DEF(pj_status_t) pjsua_conf_adjust_rx_level(pjsua_conf_port_id slot, - float level) -{ - return pjmedia_conf_adjust_rx_level(pjsua_var.mconf, slot, - (int)((level-1) * 128)); -} - - -/* - * Get last signal level transmitted to or received from the specified port. - */ -PJ_DEF(pj_status_t) pjsua_conf_get_signal_level(pjsua_conf_port_id slot, - unsigned *tx_level, - unsigned *rx_level) -{ - return pjmedia_conf_get_signal_level(pjsua_var.mconf, slot, - tx_level, rx_level); -} - -/***************************************************************************** - * File player. - */ - -static char* get_basename(const char *path, unsigned len) -{ - char *p = ((char*)path) + len; - - if (len==0) - return p; - - for (--p; p!=path && *p!='/' && *p!='\\'; ) --p; - - return (p==path) ? p : p+1; -} - - -/* - * Create a file player, and automatically connect this player to - * the conference bridge. - */ -PJ_DEF(pj_status_t) pjsua_player_create( const pj_str_t *filename, - unsigned options, - pjsua_player_id *p_id) -{ - unsigned slot, file_id; - char path[PJ_MAXPATH]; - pj_pool_t *pool = NULL; - pjmedia_port *port; - pj_status_t status = PJ_SUCCESS; - - if (pjsua_var.player_cnt >= PJ_ARRAY_SIZE(pjsua_var.player)) - return PJ_ETOOMANY; - - PJ_LOG(4,(THIS_FILE, "Creating file player: %.*s..", - (int)filename->slen, filename->ptr)); - pj_log_push_indent(); - - PJSUA_LOCK(); - - for (file_id=0; file_idptr, filename->slen); - path[filename->slen] = '\0'; - - pool = pjsua_pool_create(get_basename(path, filename->slen), 1000, 1000); - if (!pool) { - status = PJ_ENOMEM; - goto on_error; - } - - status = pjmedia_wav_player_port_create( - pool, path, - pjsua_var.mconf_cfg.samples_per_frame * - 1000 / pjsua_var.media_cfg.channel_count / - pjsua_var.media_cfg.clock_rate, - options, 0, &port); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to open file for playback", status); - goto on_error; - } - - status = pjmedia_conf_add_port(pjsua_var.mconf, pool, - port, filename, &slot); - if (status != PJ_SUCCESS) { - pjmedia_port_destroy(port); - pjsua_perror(THIS_FILE, "Unable to add file to conference bridge", - status); - goto on_error; - } - - pjsua_var.player[file_id].type = 0; - pjsua_var.player[file_id].pool = pool; - pjsua_var.player[file_id].port = port; - pjsua_var.player[file_id].slot = slot; - - if (p_id) *p_id = file_id; - - ++pjsua_var.player_cnt; - - PJSUA_UNLOCK(); - - PJ_LOG(4,(THIS_FILE, "Player created, id=%d, slot=%d", file_id, slot)); - - pj_log_pop_indent(); - return PJ_SUCCESS; - -on_error: - PJSUA_UNLOCK(); - if (pool) pj_pool_release(pool); - pj_log_pop_indent(); - return status; -} - - -/* - * Create a file playlist media port, and automatically add the port - * to the conference bridge. - */ -PJ_DEF(pj_status_t) pjsua_playlist_create( const pj_str_t file_names[], - unsigned file_count, - const pj_str_t *label, - unsigned options, - pjsua_player_id *p_id) -{ - unsigned slot, file_id, ptime; - pj_pool_t *pool = NULL; - pjmedia_port *port; - pj_status_t status = PJ_SUCCESS; - - if (pjsua_var.player_cnt >= PJ_ARRAY_SIZE(pjsua_var.player)) - return PJ_ETOOMANY; - - PJ_LOG(4,(THIS_FILE, "Creating playlist with %d file(s)..", file_count)); - pj_log_push_indent(); - - PJSUA_LOCK(); - - for (file_id=0; file_idinfo.name, &slot); - if (status != PJ_SUCCESS) { - pjmedia_port_destroy(port); - pjsua_perror(THIS_FILE, "Unable to add port", status); - goto on_error; - } - - pjsua_var.player[file_id].type = 1; - pjsua_var.player[file_id].pool = pool; - pjsua_var.player[file_id].port = port; - pjsua_var.player[file_id].slot = slot; - - if (p_id) *p_id = file_id; - - ++pjsua_var.player_cnt; - - PJSUA_UNLOCK(); - - PJ_LOG(4,(THIS_FILE, "Playlist created, id=%d, slot=%d", file_id, slot)); - - pj_log_pop_indent(); - - return PJ_SUCCESS; - -on_error: - PJSUA_UNLOCK(); - if (pool) pj_pool_release(pool); - pj_log_pop_indent(); - - return status; -} - - -/* - * Get conference port ID associated with player. - */ -PJ_DEF(pjsua_conf_port_id) pjsua_player_get_conf_port(pjsua_player_id id) -{ - PJ_ASSERT_RETURN(id>=0&&id<(int)PJ_ARRAY_SIZE(pjsua_var.player), PJ_EINVAL); - PJ_ASSERT_RETURN(pjsua_var.player[id].port != NULL, PJ_EINVAL); - - return pjsua_var.player[id].slot; -} - -/* - * Get the media port for the player. - */ -PJ_DEF(pj_status_t) pjsua_player_get_port( pjsua_player_id id, - pjmedia_port **p_port) -{ - PJ_ASSERT_RETURN(id>=0&&id<(int)PJ_ARRAY_SIZE(pjsua_var.player), PJ_EINVAL); - PJ_ASSERT_RETURN(pjsua_var.player[id].port != NULL, PJ_EINVAL); - PJ_ASSERT_RETURN(p_port != NULL, PJ_EINVAL); - - *p_port = pjsua_var.player[id].port; - - return PJ_SUCCESS; -} - -/* - * Set playback position. - */ -PJ_DEF(pj_status_t) pjsua_player_set_pos( pjsua_player_id id, - pj_uint32_t samples) -{ - PJ_ASSERT_RETURN(id>=0&&id<(int)PJ_ARRAY_SIZE(pjsua_var.player), PJ_EINVAL); - PJ_ASSERT_RETURN(pjsua_var.player[id].port != NULL, PJ_EINVAL); - PJ_ASSERT_RETURN(pjsua_var.player[id].type == 0, PJ_EINVAL); - - return pjmedia_wav_player_port_set_pos(pjsua_var.player[id].port, samples); -} - - -/* - * Close the file, remove the player from the bridge, and free - * resources associated with the file player. - */ -PJ_DEF(pj_status_t) pjsua_player_destroy(pjsua_player_id id) -{ - PJ_ASSERT_RETURN(id>=0&&id<(int)PJ_ARRAY_SIZE(pjsua_var.player), PJ_EINVAL); - PJ_ASSERT_RETURN(pjsua_var.player[id].port != NULL, PJ_EINVAL); - - PJ_LOG(4,(THIS_FILE, "Destroying player %d..", id)); - pj_log_push_indent(); - - PJSUA_LOCK(); - - if (pjsua_var.player[id].port) { - pjsua_conf_remove_port(pjsua_var.player[id].slot); - pjmedia_port_destroy(pjsua_var.player[id].port); - pjsua_var.player[id].port = NULL; - pjsua_var.player[id].slot = 0xFFFF; - pj_pool_release(pjsua_var.player[id].pool); - pjsua_var.player[id].pool = NULL; - pjsua_var.player_cnt--; - } - - PJSUA_UNLOCK(); - pj_log_pop_indent(); - - return PJ_SUCCESS; -} - - -/***************************************************************************** - * File recorder. - */ - -/* - * Create a file recorder, and automatically connect this recorder to - * the conference bridge. - */ -PJ_DEF(pj_status_t) pjsua_recorder_create( const pj_str_t *filename, - unsigned enc_type, - void *enc_param, - pj_ssize_t max_size, - unsigned options, - pjsua_recorder_id *p_id) -{ - enum Format - { - FMT_UNKNOWN, - FMT_WAV, - FMT_MP3, - }; - unsigned slot, file_id; - char path[PJ_MAXPATH]; - pj_str_t ext; - int file_format; - pj_pool_t *pool = NULL; - pjmedia_port *port; - pj_status_t status = PJ_SUCCESS; - - /* Filename must present */ - PJ_ASSERT_RETURN(filename != NULL, PJ_EINVAL); - - /* Don't support max_size at present */ - PJ_ASSERT_RETURN(max_size == 0 || max_size == -1, PJ_EINVAL); - - /* Don't support encoding type at present */ - PJ_ASSERT_RETURN(enc_type == 0, PJ_EINVAL); - - PJ_LOG(4,(THIS_FILE, "Creating recorder %.*s..", - (int)filename->slen, filename->ptr)); - pj_log_push_indent(); - - if (pjsua_var.rec_cnt >= PJ_ARRAY_SIZE(pjsua_var.recorder)) { - pj_log_pop_indent(); - return PJ_ETOOMANY; - } - - /* Determine the file format */ - ext.ptr = filename->ptr + filename->slen - 4; - ext.slen = 4; - - if (pj_stricmp2(&ext, ".wav") == 0) - file_format = FMT_WAV; - else if (pj_stricmp2(&ext, ".mp3") == 0) - file_format = FMT_MP3; - else { - PJ_LOG(1,(THIS_FILE, "pjsua_recorder_create() error: unable to " - "determine file format for %.*s", - (int)filename->slen, filename->ptr)); - pj_log_pop_indent(); - return PJ_ENOTSUP; - } - - PJSUA_LOCK(); - - for (file_id=0; file_idptr, filename->slen); - path[filename->slen] = '\0'; - - pool = pjsua_pool_create(get_basename(path, filename->slen), 1000, 1000); - if (!pool) { - status = PJ_ENOMEM; - goto on_return; - } - - if (file_format == FMT_WAV) { - status = pjmedia_wav_writer_port_create(pool, path, - pjsua_var.media_cfg.clock_rate, - pjsua_var.mconf_cfg.channel_count, - pjsua_var.mconf_cfg.samples_per_frame, - pjsua_var.mconf_cfg.bits_per_sample, - options, 0, &port); - } else { - PJ_UNUSED_ARG(enc_param); - port = NULL; - status = PJ_ENOTSUP; - } - - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to open file for recording", status); - goto on_return; - } - - status = pjmedia_conf_add_port(pjsua_var.mconf, pool, - port, filename, &slot); - if (status != PJ_SUCCESS) { - pjmedia_port_destroy(port); - goto on_return; - } - - pjsua_var.recorder[file_id].port = port; - pjsua_var.recorder[file_id].slot = slot; - pjsua_var.recorder[file_id].pool = pool; - - if (p_id) *p_id = file_id; - - ++pjsua_var.rec_cnt; - - PJSUA_UNLOCK(); - - PJ_LOG(4,(THIS_FILE, "Recorder created, id=%d, slot=%d", file_id, slot)); - - pj_log_pop_indent(); - return PJ_SUCCESS; - -on_return: - PJSUA_UNLOCK(); - if (pool) pj_pool_release(pool); - pj_log_pop_indent(); - return status; -} - - -/* - * Get conference port associated with recorder. - */ -PJ_DEF(pjsua_conf_port_id) pjsua_recorder_get_conf_port(pjsua_recorder_id id) -{ - PJ_ASSERT_RETURN(id>=0 && id<(int)PJ_ARRAY_SIZE(pjsua_var.recorder), - PJ_EINVAL); - PJ_ASSERT_RETURN(pjsua_var.recorder[id].port != NULL, PJ_EINVAL); - - return pjsua_var.recorder[id].slot; -} - -/* - * Get the media port for the recorder. - */ -PJ_DEF(pj_status_t) pjsua_recorder_get_port( pjsua_recorder_id id, - pjmedia_port **p_port) -{ - PJ_ASSERT_RETURN(id>=0 && id<(int)PJ_ARRAY_SIZE(pjsua_var.recorder), - PJ_EINVAL); - PJ_ASSERT_RETURN(pjsua_var.recorder[id].port != NULL, PJ_EINVAL); - PJ_ASSERT_RETURN(p_port != NULL, PJ_EINVAL); - - *p_port = pjsua_var.recorder[id].port; - return PJ_SUCCESS; -} - -/* - * Destroy recorder (this will complete recording). - */ -PJ_DEF(pj_status_t) pjsua_recorder_destroy(pjsua_recorder_id id) -{ - PJ_ASSERT_RETURN(id>=0 && id<(int)PJ_ARRAY_SIZE(pjsua_var.recorder), - PJ_EINVAL); - PJ_ASSERT_RETURN(pjsua_var.recorder[id].port != NULL, PJ_EINVAL); - - PJ_LOG(4,(THIS_FILE, "Destroying recorder %d..", id)); - pj_log_push_indent(); - - PJSUA_LOCK(); - - if (pjsua_var.recorder[id].port) { - pjsua_conf_remove_port(pjsua_var.recorder[id].slot); - pjmedia_port_destroy(pjsua_var.recorder[id].port); - pjsua_var.recorder[id].port = NULL; - pjsua_var.recorder[id].slot = 0xFFFF; - pj_pool_release(pjsua_var.recorder[id].pool); - pjsua_var.recorder[id].pool = NULL; - pjsua_var.rec_cnt--; - } - - PJSUA_UNLOCK(); - pj_log_pop_indent(); - - return PJ_SUCCESS; -} - - -/***************************************************************************** - * Sound devices. - */ - -/* - * Enum sound devices. - */ - -PJ_DEF(pj_status_t) pjsua_enum_aud_devs( pjmedia_aud_dev_info info[], - unsigned *count) -{ - unsigned i, dev_count; - - dev_count = pjmedia_aud_dev_count(); - - if (dev_count > *count) dev_count = *count; - - for (i=0; i *count) dev_count = *count; - pj_bzero(info, dev_count * sizeof(pjmedia_snd_dev_info)); - - for (i=0; idir = PJMEDIA_DIR_CAPTURE_PLAYBACK; - param->rec_id = capture_dev; - param->play_id = playback_dev; - param->clock_rate = clock_rate; - param->channel_count = channel_count; - param->samples_per_frame = samples_per_frame; - param->bits_per_sample = bits_per_sample; - - /* Update the setting with user preference */ -#define update_param(cap, field) \ - if (pjsua_var.aud_param.flags & cap) { \ - param->flags |= cap; \ - param->field = pjsua_var.aud_param.field; \ - } - update_param( PJMEDIA_AUD_DEV_CAP_INPUT_VOLUME_SETTING, input_vol); - update_param( PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING, output_vol); - update_param( PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE, input_route); - update_param( PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE, output_route); -#undef update_param - - /* Latency settings */ - param->flags |= (PJMEDIA_AUD_DEV_CAP_INPUT_LATENCY | - PJMEDIA_AUD_DEV_CAP_OUTPUT_LATENCY); - param->input_latency_ms = pjsua_var.media_cfg.snd_rec_latency; - param->output_latency_ms = pjsua_var.media_cfg.snd_play_latency; - - /* EC settings */ - if (pjsua_var.media_cfg.ec_tail_len) { - param->flags |= (PJMEDIA_AUD_DEV_CAP_EC | PJMEDIA_AUD_DEV_CAP_EC_TAIL); - param->ec_enabled = PJ_TRUE; - param->ec_tail_ms = pjsua_var.media_cfg.ec_tail_len; - } else { - param->flags &= ~(PJMEDIA_AUD_DEV_CAP_EC|PJMEDIA_AUD_DEV_CAP_EC_TAIL); - } - - return PJ_SUCCESS; -} - -/* Internal: the first time the audio device is opened (during app - * startup), retrieve the audio settings such as volume level - * so that aud_get_settings() will work. - */ -static pj_status_t update_initial_aud_param() -{ - pjmedia_aud_stream *strm; - pjmedia_aud_param param; - pj_status_t status; - - PJ_ASSERT_RETURN(pjsua_var.snd_port != NULL, PJ_EBUG); - - strm = pjmedia_snd_port_get_snd_stream(pjsua_var.snd_port); - - status = pjmedia_aud_stream_get_param(strm, ¶m); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error audio stream " - "device parameters", status); - return status; - } - -#define update_saved_param(cap, field) \ - if (param.flags & cap) { \ - pjsua_var.aud_param.flags |= cap; \ - pjsua_var.aud_param.field = param.field; \ - } - - update_saved_param(PJMEDIA_AUD_DEV_CAP_INPUT_VOLUME_SETTING, input_vol); - update_saved_param(PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING, output_vol); - update_saved_param(PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE, input_route); - update_saved_param(PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE, output_route); -#undef update_saved_param - - return PJ_SUCCESS; -} - -/* Get format name */ -static const char *get_fmt_name(pj_uint32_t id) -{ - static char name[8]; - - if (id == PJMEDIA_FORMAT_L16) - return "PCM"; - pj_memcpy(name, &id, 4); - name[4] = '\0'; - return name; -} - -/* Open sound device with the setting. */ -static pj_status_t open_snd_dev(pjmedia_snd_port_param *param) -{ - pjmedia_port *conf_port; - pj_status_t status; - - PJ_ASSERT_RETURN(param, PJ_EINVAL); - - /* Check if NULL sound device is used */ - if (NULL_SND_DEV_ID==param->base.rec_id || - NULL_SND_DEV_ID==param->base.play_id) - { - return pjsua_set_null_snd_dev(); - } - - /* Close existing sound port */ - close_snd_dev(); - - /* Notify app */ - if (pjsua_var.ua_cfg.cb.on_snd_dev_operation) { - (*pjsua_var.ua_cfg.cb.on_snd_dev_operation)(1); - } - - /* Create memory pool for sound device. */ - pjsua_var.snd_pool = pjsua_pool_create("pjsua_snd", 4000, 4000); - PJ_ASSERT_RETURN(pjsua_var.snd_pool, PJ_ENOMEM); - - - PJ_LOG(4,(THIS_FILE, "Opening sound device %s@%d/%d/%dms", - get_fmt_name(param->base.ext_fmt.id), - param->base.clock_rate, param->base.channel_count, - param->base.samples_per_frame / param->base.channel_count * - 1000 / param->base.clock_rate)); - pj_log_push_indent(); - - status = pjmedia_snd_port_create2( pjsua_var.snd_pool, - param, &pjsua_var.snd_port); - if (status != PJ_SUCCESS) - goto on_error; - - /* Get the port0 of the conference bridge. */ - conf_port = pjmedia_conf_get_master_port(pjsua_var.mconf); - pj_assert(conf_port != NULL); - - /* For conference bridge, resample if necessary if the bridge's - * clock rate is different than the sound device's clock rate. - */ - if (!pjsua_var.is_mswitch && - param->base.ext_fmt.id == PJMEDIA_FORMAT_PCM && - PJMEDIA_PIA_SRATE(&conf_port->info) != param->base.clock_rate) - { - pjmedia_port *resample_port; - unsigned resample_opt = 0; - - if (pjsua_var.media_cfg.quality >= 3 && - pjsua_var.media_cfg.quality <= 4) - { - resample_opt |= PJMEDIA_RESAMPLE_USE_SMALL_FILTER; - } - else if (pjsua_var.media_cfg.quality < 3) { - resample_opt |= PJMEDIA_RESAMPLE_USE_LINEAR; - } - - status = pjmedia_resample_port_create(pjsua_var.snd_pool, - conf_port, - param->base.clock_rate, - resample_opt, - &resample_port); - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(4, (THIS_FILE, - "Error creating resample port: %s", - errmsg)); - close_snd_dev(); - goto on_error; - } - - conf_port = resample_port; - } - - /* Otherwise for audio switchboard, the switch's port0 setting is - * derived from the sound device setting, so update the setting. - */ - if (pjsua_var.is_mswitch) { - if (param->base.flags & PJMEDIA_AUD_DEV_CAP_EXT_FORMAT) { - conf_port->info.fmt = param->base.ext_fmt; - } else { - unsigned bps, ptime_usec; - bps = param->base.clock_rate * param->base.bits_per_sample; - ptime_usec = param->base.samples_per_frame / - param->base.channel_count * 1000000 / - param->base.clock_rate; - pjmedia_format_init_audio(&conf_port->info.fmt, - PJMEDIA_FORMAT_PCM, - param->base.clock_rate, - param->base.channel_count, - param->base.bits_per_sample, - ptime_usec, - bps, bps); - } - } - - - /* Connect sound port to the bridge */ - status = pjmedia_snd_port_connect(pjsua_var.snd_port, - conf_port ); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to connect conference port to " - "sound device", status); - pjmedia_snd_port_destroy(pjsua_var.snd_port); - pjsua_var.snd_port = NULL; - goto on_error; - } - - /* Save the device IDs */ - pjsua_var.cap_dev = param->base.rec_id; - pjsua_var.play_dev = param->base.play_id; - - /* Update sound device name. */ - { - pjmedia_aud_dev_info rec_info; - pjmedia_aud_stream *strm; - pjmedia_aud_param si; - pj_str_t tmp; - - strm = pjmedia_snd_port_get_snd_stream(pjsua_var.snd_port); - status = pjmedia_aud_stream_get_param(strm, &si); - if (status == PJ_SUCCESS) - status = pjmedia_aud_dev_get_info(si.rec_id, &rec_info); - - if (status==PJ_SUCCESS) { - if (param->base.clock_rate != pjsua_var.media_cfg.clock_rate) { - char tmp_buf[128]; - int tmp_buf_len = sizeof(tmp_buf); - - tmp_buf_len = pj_ansi_snprintf(tmp_buf, sizeof(tmp_buf)-1, - "%s (%dKHz)", - rec_info.name, - param->base.clock_rate/1000); - pj_strset(&tmp, tmp_buf, tmp_buf_len); - pjmedia_conf_set_port0_name(pjsua_var.mconf, &tmp); - } else { - pjmedia_conf_set_port0_name(pjsua_var.mconf, - pj_cstr(&tmp, rec_info.name)); - } - } - - /* Any error is not major, let it through */ - status = PJ_SUCCESS; - } - - /* If this is the first time the audio device is open, retrieve some - * settings from the device (such as volume settings) so that the - * pjsua_snd_get_setting() work. - */ - if (pjsua_var.aud_open_cnt == 0) { - update_initial_aud_param(); - ++pjsua_var.aud_open_cnt; - } - - pjsua_var.snd_is_on = PJ_TRUE; - - pj_log_pop_indent(); - return PJ_SUCCESS; - -on_error: - pj_log_pop_indent(); - return status; -} - - -/* Close existing sound device */ -static void close_snd_dev(void) -{ - pj_log_push_indent(); - - /* Notify app */ - if (pjsua_var.snd_is_on && pjsua_var.ua_cfg.cb.on_snd_dev_operation) { - (*pjsua_var.ua_cfg.cb.on_snd_dev_operation)(0); - } - - /* Close sound device */ - if (pjsua_var.snd_port) { - pjmedia_aud_dev_info cap_info, play_info; - pjmedia_aud_stream *strm; - pjmedia_aud_param param; - - strm = pjmedia_snd_port_get_snd_stream(pjsua_var.snd_port); - pjmedia_aud_stream_get_param(strm, ¶m); - - if (pjmedia_aud_dev_get_info(param.rec_id, &cap_info) != PJ_SUCCESS) - cap_info.name[0] = '\0'; - if (pjmedia_aud_dev_get_info(param.play_id, &play_info) != PJ_SUCCESS) - play_info.name[0] = '\0'; - - PJ_LOG(4,(THIS_FILE, "Closing %s sound playback device and " - "%s sound capture device", - play_info.name, cap_info.name)); - - pjmedia_snd_port_disconnect(pjsua_var.snd_port); - pjmedia_snd_port_destroy(pjsua_var.snd_port); - pjsua_var.snd_port = NULL; - } - - /* Close null sound device */ - if (pjsua_var.null_snd) { - PJ_LOG(4,(THIS_FILE, "Closing null sound device..")); - pjmedia_master_port_destroy(pjsua_var.null_snd, PJ_FALSE); - pjsua_var.null_snd = NULL; - } - - if (pjsua_var.snd_pool) - pj_pool_release(pjsua_var.snd_pool); - - pjsua_var.snd_pool = NULL; - pjsua_var.snd_is_on = PJ_FALSE; - - pj_log_pop_indent(); -} - - -/* - * Select or change sound device. Application may call this function at - * any time to replace current sound device. - */ -PJ_DEF(pj_status_t) pjsua_set_snd_dev( int capture_dev, - int playback_dev) -{ - unsigned alt_cr_cnt = 1; - unsigned alt_cr[] = {0, 44100, 48000, 32000, 16000, 8000}; - unsigned i; - pj_status_t status = -1; - - PJ_LOG(4,(THIS_FILE, "Set sound device: capture=%d, playback=%d", - capture_dev, playback_dev)); - pj_log_push_indent(); - - PJSUA_LOCK(); - - /* Null-sound */ - if (capture_dev==NULL_SND_DEV_ID && playback_dev==NULL_SND_DEV_ID) { - PJSUA_UNLOCK(); - status = pjsua_set_null_snd_dev(); - pj_log_pop_indent(); - return status; - } - - /* Set default clock rate */ - alt_cr[0] = pjsua_var.media_cfg.snd_clock_rate; - if (alt_cr[0] == 0) - alt_cr[0] = pjsua_var.media_cfg.clock_rate; - - /* Allow retrying of different clock rate if we're using conference - * bridge (meaning audio format is always PCM), otherwise lock on - * to one clock rate. - */ - if (pjsua_var.is_mswitch) { - alt_cr_cnt = 1; - } else { - alt_cr_cnt = PJ_ARRAY_SIZE(alt_cr); - } - - /* Attempts to open the sound device with different clock rates */ - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - - -#define THIS_FILE "pjsua_call.c" - - -/* Retry interval of sending re-INVITE for locking a codec when remote - * SDP answer contains multiple codec, in milliseconds. - */ -#define LOCK_CODEC_RETRY_INTERVAL 200 - -/* - * Max UPDATE/re-INVITE retry to lock codec - */ -#define LOCK_CODEC_MAX_RETRY 5 - - -/* - * The INFO method. - */ -const pjsip_method pjsip_info_method = -{ - PJSIP_OTHER_METHOD, - { "INFO", 4 } -}; - - -/* This callback receives notification from invite session when the - * session state has changed. - */ -static void pjsua_call_on_state_changed(pjsip_inv_session *inv, - pjsip_event *e); - -/* This callback is called by invite session framework when UAC session - * has forked. - */ -static void pjsua_call_on_forked( pjsip_inv_session *inv, - pjsip_event *e); - -/* - * Callback to be called when SDP offer/answer negotiation has just completed - * in the session. This function will start/update media if negotiation - * has succeeded. - */ -static void pjsua_call_on_media_update(pjsip_inv_session *inv, - pj_status_t status); - -/* - * Called when session received new offer. - */ -static void pjsua_call_on_rx_offer(pjsip_inv_session *inv, - const pjmedia_sdp_session *offer); - -/* - * Called to generate new offer. - */ -static void pjsua_call_on_create_offer(pjsip_inv_session *inv, - pjmedia_sdp_session **offer); - -/* - * This callback is called when transaction state has changed in INVITE - * session. We use this to trap: - * - incoming REFER request. - * - incoming MESSAGE request. - */ -static void pjsua_call_on_tsx_state_changed(pjsip_inv_session *inv, - pjsip_transaction *tsx, - pjsip_event *e); - -/* - * Redirection handler. - */ -static pjsip_redirect_op pjsua_call_on_redirected(pjsip_inv_session *inv, - const pjsip_uri *target, - const pjsip_event *e); - - -/* Create SDP for call hold. */ -static pj_status_t create_sdp_of_call_hold(pjsua_call *call, - pjmedia_sdp_session **p_sdp); - -/* - * Callback called by event framework when the xfer subscription state - * has changed. - */ -static void xfer_client_on_evsub_state( pjsip_evsub *sub, pjsip_event *event); -static void xfer_server_on_evsub_state( pjsip_evsub *sub, pjsip_event *event); - -/* - * Reset call descriptor. - */ -static void reset_call(pjsua_call_id id) -{ - pjsua_call *call = &pjsua_var.calls[id]; - unsigned i; - - pj_bzero(call, sizeof(*call)); - call->index = id; - call->last_text.ptr = call->last_text_buf_; - for (i=0; imedia); ++i) { - pjsua_call_media *call_med = &call->media[i]; - call_med->ssrc = pj_rand(); - call_med->strm.a.conf_slot = PJSUA_INVALID_ID; - call_med->strm.v.cap_win_id = PJSUA_INVALID_ID; - call_med->strm.v.rdr_win_id = PJSUA_INVALID_ID; - call_med->call = call; - call_med->idx = i; - call_med->tp_auto_del = PJ_TRUE; - } - pjsua_call_setting_default(&call->opt); -} - - -/* - * Init call subsystem. - */ -pj_status_t pjsua_call_subsys_init(const pjsua_config *cfg) -{ - pjsip_inv_callback inv_cb; - unsigned i; - const pj_str_t str_norefersub = { "norefersub", 10 }; - pj_status_t status; - - /* Init calls array. */ - for (i=0; i= PJSUA_MAX_CALLS) { - pjsua_var.ua_cfg.max_calls = PJSUA_MAX_CALLS; - } - - /* Check the route URI's and force loose route if required */ - for (i=0; i= (int)pjsua_var.ua_cfg.max_calls || - pjsua_var.next_call_id < 0) - { - pjsua_var.next_call_id = 0; - } - - for (cid=pjsua_var.next_call_id; - cid<(int)pjsua_var.ua_cfg.max_calls; - ++cid) - { - if (pjsua_var.calls[cid].inv == NULL && - pjsua_var.calls[cid].async_call.dlg == NULL) - { - ++pjsua_var.next_call_id; - return cid; - } - } - - for (cid=0; cid < pjsua_var.next_call_id; ++cid) { - if (pjsua_var.calls[cid].inv == NULL && - pjsua_var.calls[cid].async_call.dlg == NULL) - { - ++pjsua_var.next_call_id; - return cid; - } - } - -#else - /* Old algorithm */ - for (cid=0; cid<(int)pjsua_var.ua_cfg.max_calls; ++cid) { - if (pjsua_var.calls[cid].inv == NULL) - return cid; - } -#endif - - return PJSUA_INVALID_ID; -} - -/* Get signaling secure level. - * Return: - * 0: if signaling is not secure - * 1: if TLS transport is used for immediate hop - * 2: if end-to-end signaling is secure. - */ -static int get_secure_level(pjsua_acc_id acc_id, const pj_str_t *dst_uri) -{ - const pj_str_t tls = pj_str(";transport=tls"); - const pj_str_t sips = pj_str("sips:"); - pjsua_acc *acc = &pjsua_var.acc[acc_id]; - - if (pj_stristr(dst_uri, &sips)) - return 2; - - if (!pj_list_empty(&acc->route_set)) { - pjsip_route_hdr *r = acc->route_set.next; - pjsip_uri *uri = r->name_addr.uri; - pjsip_sip_uri *sip_uri; - - sip_uri = (pjsip_sip_uri*)pjsip_uri_get_uri(uri); - if (pj_stricmp2(&sip_uri->transport_param, "tls")==0) - return 1; - - } else { - if (pj_stristr(dst_uri, &tls)) - return 1; - } - - return 0; -} - -/* -static int call_get_secure_level(pjsua_call *call) -{ - if (call->inv->dlg->secure) - return 2; - - if (!pj_list_empty(&call->inv->dlg->route_set)) { - pjsip_route_hdr *r = call->inv->dlg->route_set.next; - pjsip_uri *uri = r->name_addr.uri; - pjsip_sip_uri *sip_uri; - - sip_uri = (pjsip_sip_uri*)pjsip_uri_get_uri(uri); - if (pj_stricmp2(&sip_uri->transport_param, "tls")==0) - return 1; - - } else { - pjsip_sip_uri *sip_uri; - - if (PJSIP_URI_SCHEME_IS_SIPS(call->inv->dlg->target)) - return 2; - if (!PJSIP_URI_SCHEME_IS_SIP(call->inv->dlg->target)) - return 0; - - sip_uri = (pjsip_sip_uri*) pjsip_uri_get_uri(call->inv->dlg->target); - if (pj_stricmp2(&sip_uri->transport_param, "tls")==0) - return 1; - } - - return 0; -} -*/ - -/* Outgoing call callback when media transport creation is completed. */ -static pj_status_t -on_make_call_med_tp_complete(pjsua_call_id call_id, - const pjsua_med_tp_state_info *info) -{ - pjmedia_sdp_session *offer; - pjsip_inv_session *inv = NULL; - pjsua_call *call = &pjsua_var.calls[call_id]; - pjsua_acc *acc = &pjsua_var.acc[call->acc_id]; - pjsip_dialog *dlg = call->async_call.dlg; - unsigned options = 0; - pjsip_tx_data *tdata; - pj_status_t status = (info? info->status: PJ_SUCCESS); - - PJSUA_LOCK(); - - /* Increment the dialog's lock otherwise when invite session creation - * fails the dialog will be destroyed prematurely. - */ - pjsip_dlg_inc_lock(dlg); - - /* Decrement dialog session. */ - pjsip_dlg_dec_session(dlg, &pjsua_var.mod); - - if (status != PJ_SUCCESS) { - pj_str_t err_str; - int title_len; - - call->last_code = PJSIP_SC_TEMPORARILY_UNAVAILABLE; - pj_strcpy2(&call->last_text, "Media init error: "); - - title_len = call->last_text.slen; - err_str = pj_strerror(status, call->last_text_buf_ + title_len, - sizeof(call->last_text_buf_) - title_len); - call->last_text.slen += err_str.slen; - - pjsua_perror(THIS_FILE, "Error initializing media channel", status); - goto on_error; - } - - /* pjsua_media_channel_deinit() has been called. */ - if (call->async_call.med_ch_deinit) - goto on_error; - - /* Create offer */ - status = pjsua_media_channel_create_sdp(call->index, dlg->pool, NULL, - &offer, NULL); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error initializing media channel", status); - goto on_error; - } - - /* Create the INVITE session: */ - options |= PJSIP_INV_SUPPORT_100REL; - if (acc->cfg.require_100rel) - options |= PJSIP_INV_REQUIRE_100REL; - if (acc->cfg.use_timer != PJSUA_SIP_TIMER_INACTIVE) { - options |= PJSIP_INV_SUPPORT_TIMER; - if (acc->cfg.use_timer == PJSUA_SIP_TIMER_REQUIRED) - options |= PJSIP_INV_REQUIRE_TIMER; - else if (acc->cfg.use_timer == PJSUA_SIP_TIMER_ALWAYS) - options |= PJSIP_INV_ALWAYS_USE_TIMER; - } - - status = pjsip_inv_create_uac( dlg, offer, options, &inv); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Invite session creation failed", status); - goto on_error; - } - - /* Init Session Timers */ - status = pjsip_timer_init_session(inv, &acc->cfg.timer_setting); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Session Timer init failed", status); - goto on_error; - } - - /* Create and associate our data in the session. */ - call->inv = inv; - - dlg->mod_data[pjsua_var.mod.id] = call; - inv->mod_data[pjsua_var.mod.id] = call; - - /* If account is locked to specific transport, then lock dialog - * to this transport too. - */ - if (acc->cfg.transport_id != PJSUA_INVALID_ID) { - pjsip_tpselector tp_sel; - - pjsua_init_tpselector(acc->cfg.transport_id, &tp_sel); - pjsip_dlg_set_transport(dlg, &tp_sel); - } - - /* Set dialog Route-Set: */ - if (!pj_list_empty(&acc->route_set)) - pjsip_dlg_set_route_set(dlg, &acc->route_set); - - - /* Set credentials: */ - if (acc->cred_cnt) { - pjsip_auth_clt_set_credentials( &dlg->auth_sess, - acc->cred_cnt, acc->cred); - } - - /* Set authentication preference */ - pjsip_auth_clt_set_prefs(&dlg->auth_sess, &acc->cfg.auth_pref); - - /* Create initial INVITE: */ - - status = pjsip_inv_invite(inv, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create initial INVITE request", - status); - goto on_error; - } - - - /* Add additional headers etc */ - - pjsua_process_msg_data( tdata, - call->async_call.call_var.out_call.msg_data); - - /* Must increment call counter now */ - ++pjsua_var.call_cnt; - - /* Send initial INVITE: */ - - status = pjsip_inv_send_msg(inv, tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to send initial INVITE request", - status); - - /* Upon failure to send first request, the invite - * session would have been cleared. - */ - inv = NULL; - goto on_error; - } - - /* Done. */ - - pjsip_dlg_dec_lock(dlg); - PJSUA_UNLOCK(); - - return PJ_SUCCESS; - -on_error: - if (inv == NULL && call_id != -1 && pjsua_var.ua_cfg.cb.on_call_state) - (*pjsua_var.ua_cfg.cb.on_call_state)(call_id, NULL); - - if (dlg) { - /* This may destroy the dialog */ - pjsip_dlg_dec_lock(dlg); - } - - if (inv != NULL) { - pjsip_inv_terminate(inv, PJSIP_SC_OK, PJ_FALSE); - } - - if (call_id != -1) { - reset_call(call_id); - pjsua_media_channel_deinit(call_id); - } - - PJSUA_UNLOCK(); - return status; -} - - -/* - * Initialize call settings based on account ID. - */ -PJ_DEF(void) pjsua_call_setting_default(pjsua_call_setting *opt) -{ - pj_assert(opt); - - pj_bzero(opt, sizeof(*opt)); - opt->flag = PJSUA_CALL_INCLUDE_DISABLED_MEDIA; - opt->aud_cnt = 1; - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - opt->vid_cnt = 1; - opt->req_keyframe_method = PJSUA_VID_REQ_KEYFRAME_SIP_INFO | - PJSUA_VID_REQ_KEYFRAME_RTCP_PLI; -#endif -} - -static pj_status_t apply_call_setting(pjsua_call *call, - const pjsua_call_setting *opt, - const pjmedia_sdp_session *rem_sdp) -{ - pj_assert(call); - - if (!opt) - return PJ_SUCCESS; - -#if !PJMEDIA_HAS_VIDEO - pj_assert(opt->vid_cnt == 0); -#endif - - /* If call is established, reinit media channel */ - if (call->inv && call->inv->state == PJSIP_INV_STATE_CONFIRMED) { - pjsua_call_setting old_opt; - pj_status_t status; - - old_opt = call->opt; - call->opt = *opt; - - /* Reinit media channel when media count is changed or we are the - * answerer (as remote offer may 'extremely' modify the existing - * media session, e.g: media type order). - */ - if (rem_sdp || - opt->aud_cnt!=old_opt.aud_cnt || opt->vid_cnt!=old_opt.vid_cnt) - { - pjsip_role_e role = rem_sdp? PJSIP_ROLE_UAS : PJSIP_ROLE_UAC; - status = pjsua_media_channel_init(call->index, role, - call->secure_level, - call->inv->pool_prov, - rem_sdp, NULL, - PJ_FALSE, NULL); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error re-initializing media channel", - status); - return status; - } - } - } else { - call->opt = *opt; - } - - return PJ_SUCCESS; -} - -/* - * Make outgoing call to the specified URI using the specified account. - */ -PJ_DEF(pj_status_t) pjsua_call_make_call(pjsua_acc_id acc_id, - const pj_str_t *dest_uri, - const pjsua_call_setting *opt, - void *user_data, - const pjsua_msg_data *msg_data, - pjsua_call_id *p_call_id) -{ - pj_pool_t *tmp_pool = NULL; - pjsip_dialog *dlg = NULL; - pjsua_acc *acc; - pjsua_call *call; - int call_id = -1; - pj_str_t contact; - pj_status_t status; - - - /* Check that account is valid */ - PJ_ASSERT_RETURN(acc_id>=0 || acc_id<(int)PJ_ARRAY_SIZE(pjsua_var.acc), - PJ_EINVAL); - - /* Check arguments */ - PJ_ASSERT_RETURN(dest_uri, PJ_EINVAL); - - PJ_LOG(4,(THIS_FILE, "Making call with acc #%d to %.*s", acc_id, - (int)dest_uri->slen, dest_uri->ptr)); - - pj_log_push_indent(); - - PJSUA_LOCK(); - - /* Create sound port if none is instantiated, to check if sound device - * can be used. But only do this with the conference bridge, as with - * audio switchboard (i.e. APS-Direct), we can only open the sound - * device once the correct format has been known - */ - if (!pjsua_var.is_mswitch && pjsua_var.snd_port==NULL && - pjsua_var.null_snd==NULL && !pjsua_var.no_snd) - { - status = pjsua_set_snd_dev(pjsua_var.cap_dev, pjsua_var.play_dev); - if (status != PJ_SUCCESS) - goto on_error; - } - - acc = &pjsua_var.acc[acc_id]; - if (!acc->valid) { - pjsua_perror(THIS_FILE, "Unable to make call because account " - "is not valid", PJ_EINVALIDOP); - status = PJ_EINVALIDOP; - goto on_error; - } - - /* Find free call slot. */ - call_id = alloc_call_id(); - - if (call_id == PJSUA_INVALID_ID) { - pjsua_perror(THIS_FILE, "Error making call", PJ_ETOOMANY); - status = PJ_ETOOMANY; - goto on_error; - } - - call = &pjsua_var.calls[call_id]; - - /* Associate session with account */ - call->acc_id = acc_id; - call->call_hold_type = acc->cfg.call_hold_type; - - /* Apply call setting */ - status = apply_call_setting(call, opt, NULL); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Failed to apply call setting", status); - goto on_error; - } - - /* Create temporary pool */ - tmp_pool = pjsua_pool_create("tmpcall10", 512, 256); - - /* Verify that destination URI is valid before calling - * pjsua_acc_create_uac_contact, or otherwise there - * a misleading "Invalid Contact URI" error will be printed - * when pjsua_acc_create_uac_contact() fails. - */ - if (1) { - pjsip_uri *uri; - pj_str_t dup; - - pj_strdup_with_null(tmp_pool, &dup, dest_uri); - uri = pjsip_parse_uri(tmp_pool, dup.ptr, dup.slen, 0); - - if (uri == NULL) { - pjsua_perror(THIS_FILE, "Unable to make call", - PJSIP_EINVALIDREQURI); - status = PJSIP_EINVALIDREQURI; - goto on_error; - } - } - - /* Mark call start time. */ - pj_gettimeofday(&call->start_time); - - /* Reset first response time */ - call->res_time.sec = 0; - - /* Create suitable Contact header unless a Contact header has been - * set in the account. - */ - if (acc->contact.slen) { - contact = acc->contact; - } else { - status = pjsua_acc_create_uac_contact(tmp_pool, &contact, - acc_id, dest_uri); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to generate Contact header", - status); - goto on_error; - } - } - - /* Create outgoing dialog: */ - status = pjsip_dlg_create_uac( pjsip_ua_instance(), - &acc->cfg.id, &contact, - dest_uri, dest_uri, &dlg); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Dialog creation failed", status); - goto on_error; - } - - /* Increment the dialog's lock otherwise when invite session creation - * fails the dialog will be destroyed prematurely. - */ - pjsip_dlg_inc_lock(dlg); - - /* Calculate call's secure level */ - call->secure_level = get_secure_level(acc_id, dest_uri); - - /* Attach user data */ - call->user_data = user_data; - - /* Store variables required for the callback after the async - * media transport creation is completed. - */ - if (msg_data) { - call->async_call.call_var.out_call.msg_data = pjsua_msg_data_clone( - dlg->pool, msg_data); - } - call->async_call.dlg = dlg; - - /* Temporarily increment dialog session. Without this, dialog will be - * prematurely destroyed if dec_lock() is called on the dialog before - * the invite session is created. - */ - pjsip_dlg_inc_session(dlg, &pjsua_var.mod); - - /* Init media channel */ - status = pjsua_media_channel_init(call->index, PJSIP_ROLE_UAC, - call->secure_level, dlg->pool, - NULL, NULL, PJ_TRUE, - &on_make_call_med_tp_complete); - if (status == PJ_SUCCESS) { - status = on_make_call_med_tp_complete(call->index, NULL); - if (status != PJ_SUCCESS) - goto on_error; - } else if (status != PJ_EPENDING) { - pjsua_perror(THIS_FILE, "Error initializing media channel", status); - pjsip_dlg_dec_session(dlg, &pjsua_var.mod); - goto on_error; - } - - /* Done. */ - - if (p_call_id) - *p_call_id = call_id; - - pjsip_dlg_dec_lock(dlg); - pj_pool_release(tmp_pool); - PJSUA_UNLOCK(); - - pj_log_pop_indent(); - - return PJ_SUCCESS; - - -on_error: - if (dlg) { - /* This may destroy the dialog */ - pjsip_dlg_dec_lock(dlg); - } - - if (call_id != -1) { - reset_call(call_id); - pjsua_media_channel_deinit(call_id); - } - - if (tmp_pool) - pj_pool_release(tmp_pool); - PJSUA_UNLOCK(); - - pj_log_pop_indent(); - return status; -} - - -/* Get the NAT type information in remote's SDP */ -static void update_remote_nat_type(pjsua_call *call, - const pjmedia_sdp_session *sdp) -{ - const pjmedia_sdp_attr *xnat; - - xnat = pjmedia_sdp_attr_find2(sdp->attr_count, sdp->attr, "X-nat", NULL); - if (xnat) { - call->rem_nat_type = (pj_stun_nat_type) (xnat->value.ptr[0] - '0'); - } else { - call->rem_nat_type = PJ_STUN_NAT_TYPE_UNKNOWN; - } - - PJ_LOG(5,(THIS_FILE, "Call %d: remote NAT type is %d (%s)", call->index, - call->rem_nat_type, pj_stun_get_nat_name(call->rem_nat_type))); -} - - -/* Incoming call callback when media transport creation is completed. */ -static pj_status_t -on_incoming_call_med_tp_complete(pjsua_call_id call_id, - const pjsua_med_tp_state_info *info) -{ - pjsua_call *call = &pjsua_var.calls[call_id]; - const pjmedia_sdp_session *offer=NULL; - pjmedia_sdp_session *answer; - pjsip_tx_data *response = NULL; - unsigned options = 0; - int sip_err_code = (info? info->sip_err_code: 0); - pj_status_t status = (info? info->status: PJ_SUCCESS); - - PJSUA_LOCK(); - - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error initializing media channel", status); - goto on_return; - } - - /* pjsua_media_channel_deinit() has been called. */ - if (call->async_call.med_ch_deinit) { - pjsua_media_channel_deinit(call->index); - call->med_ch_cb = NULL; - PJSUA_UNLOCK(); - return PJ_SUCCESS; - } - - /* Get remote SDP offer (if any). */ - if (call->inv->neg) - pjmedia_sdp_neg_get_neg_remote(call->inv->neg, &offer); - - status = pjsua_media_channel_create_sdp(call_id, - call->async_call.dlg->pool, - offer, &answer, &sip_err_code); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error creating SDP answer", status); - goto on_return; - } - - status = pjsip_inv_set_local_sdp(call->inv, answer); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error setting local SDP", status); - sip_err_code = PJSIP_SC_NOT_ACCEPTABLE_HERE; - goto on_return; - } - - /* Verify that we can handle the request. */ - status = pjsip_inv_verify_request3(NULL, - call->inv->pool_prov, &options, offer, - answer, NULL, pjsua_var.endpt, &response); - if (status != PJ_SUCCESS) { - /* - * No we can't handle the incoming INVITE request. - */ - sip_err_code = PJSIP_ERRNO_TO_SIP_STATUS(status); - goto on_return; - } - -on_return: - if (status != PJ_SUCCESS) { - /* If the callback is called from pjsua_call_on_incoming(), the - * invite's state is PJSIP_INV_STATE_NULL, so the invite session - * will be terminated later, otherwise we end the session here. - */ - if (call->inv->state > PJSIP_INV_STATE_NULL) { - pjsip_tx_data *tdata; - pj_status_t status_; - - status_ = pjsip_inv_end_session(call->inv, sip_err_code, NULL, - &tdata); - if (status_ == PJ_SUCCESS && tdata) - status_ = pjsip_inv_send_msg(call->inv, tdata); - } - - pjsua_media_channel_deinit(call->index); - } - - /* Set the callback to NULL to indicate that the async operation - * has completed. - */ - call->med_ch_cb = NULL; - - if (status == PJ_SUCCESS && - !pj_list_empty(&call->async_call.call_var.inc_call.answers)) - { - struct call_answer *answer, *next; - - answer = call->async_call.call_var.inc_call.answers.next; - while (answer != &call->async_call.call_var.inc_call.answers) { - next = answer->next; - pjsua_call_answer(call_id, answer->code, answer->reason, - answer->msg_data); - - /* Call might have been disconnected if application is answering - * with 200/OK and the media failed to start. - * See pjsua_call_answer() below. - */ - if (!call->inv || !call->inv->pool_prov) - break; - - pj_list_erase(answer); - answer = next; - } - } - - PJSUA_UNLOCK(); - return status; -} - - -/** - * Handle incoming INVITE request. - * Called by pjsua_core.c - */ -pj_bool_t pjsua_call_on_incoming(pjsip_rx_data *rdata) -{ - pj_str_t contact; - pjsip_dialog *dlg = pjsip_rdata_get_dlg(rdata); - pjsip_dialog *replaced_dlg = NULL; - pjsip_transaction *tsx = pjsip_rdata_get_tsx(rdata); - pjsip_msg *msg = rdata->msg_info.msg; - pjsip_tx_data *response = NULL; - unsigned options = 0; - pjsip_inv_session *inv = NULL; - int acc_id; - pjsua_call *call; - int call_id = -1; - int sip_err_code; - pjmedia_sdp_session *offer=NULL; - pj_status_t status; - - /* Don't want to handle anything but INVITE */ - if (msg->line.req.method.id != PJSIP_INVITE_METHOD) - return PJ_FALSE; - - /* Don't want to handle anything that's already associated with - * existing dialog or transaction. - */ - if (dlg || tsx) - return PJ_FALSE; - - /* Don't want to accept the call if shutdown is in progress */ - if (pjsua_var.thread_quit_flag) { - pjsip_endpt_respond_stateless(pjsua_var.endpt, rdata, - PJSIP_SC_TEMPORARILY_UNAVAILABLE, NULL, - NULL, NULL); - return PJ_TRUE; - } - - PJ_LOG(4,(THIS_FILE, "Incoming %s", rdata->msg_info.info)); - pj_log_push_indent(); - - PJSUA_LOCK(); - - /* Find free call slot. */ - call_id = alloc_call_id(); - - if (call_id == PJSUA_INVALID_ID) { - pjsip_endpt_respond_stateless(pjsua_var.endpt, rdata, - PJSIP_SC_BUSY_HERE, NULL, - NULL, NULL); - PJ_LOG(2,(THIS_FILE, - "Unable to accept incoming call (too many calls)")); - goto on_return; - } - - /* Clear call descriptor */ - reset_call(call_id); - - call = &pjsua_var.calls[call_id]; - - /* Mark call start time. */ - pj_gettimeofday(&call->start_time); - - /* Check INVITE request for Replaces header. If Replaces header is - * present, the function will make sure that we can handle the request. - */ - status = pjsip_replaces_verify_request(rdata, &replaced_dlg, PJ_FALSE, - &response); - if (status != PJ_SUCCESS) { - /* - * Something wrong with the Replaces header. - */ - if (response) { - pjsip_response_addr res_addr; - - pjsip_get_response_addr(response->pool, rdata, &res_addr); - pjsip_endpt_send_response(pjsua_var.endpt, &res_addr, response, - NULL, NULL); - - } else { - - /* Respond with 500 (Internal Server Error) */ - pjsip_endpt_respond_stateless(pjsua_var.endpt, rdata, 500, NULL, - NULL, NULL); - } - - goto on_return; - } - - /* If this INVITE request contains Replaces header, notify application - * about the request so that application can do subsequent checking - * if it wants to. - */ - if (replaced_dlg != NULL && - (pjsua_var.ua_cfg.cb.on_call_replace_request || - pjsua_var.ua_cfg.cb.on_call_replace_request2)) - { - pjsua_call *replaced_call; - int st_code = 200; - pj_str_t st_text = { "OK", 2 }; - - /* Get the replaced call instance */ - replaced_call = (pjsua_call*) replaced_dlg->mod_data[pjsua_var.mod.id]; - - /* Copy call setting from the replaced call */ - call->opt = replaced_call->opt; - - /* Notify application */ - if (pjsua_var.ua_cfg.cb.on_call_replace_request) { - pjsua_var.ua_cfg.cb.on_call_replace_request(replaced_call->index, - rdata, - &st_code, &st_text); - } - - if (pjsua_var.ua_cfg.cb.on_call_replace_request2) { - pjsua_var.ua_cfg.cb.on_call_replace_request2(replaced_call->index, - rdata, - &st_code, &st_text, - &call->opt); - } - - /* Must specify final response */ - PJ_ASSERT_ON_FAIL(st_code >= 200, st_code = 200); - - /* Check if application rejects this request. */ - if (st_code >= 300) { - - if (st_text.slen == 2) - st_text = *pjsip_get_status_text(st_code); - - pjsip_endpt_respond(pjsua_var.endpt, NULL, rdata, - st_code, &st_text, NULL, NULL, NULL); - goto on_return; - } - } - - /* - * Get which account is most likely to be associated with this incoming - * call. We need the account to find which contact URI to put for - * the call. - */ - acc_id = call->acc_id = pjsua_acc_find_for_incoming(rdata); - call->call_hold_type = pjsua_var.acc[acc_id].cfg.call_hold_type; - - /* Get call's secure level */ - if (PJSIP_URI_SCHEME_IS_SIPS(rdata->msg_info.msg->line.req.uri)) - call->secure_level = 2; - else if (PJSIP_TRANSPORT_IS_SECURE(rdata->tp_info.transport)) - call->secure_level = 1; - else - call->secure_level = 0; - - /* Parse SDP from incoming request */ - if (rdata->msg_info.msg->body) { - pjsip_rdata_sdp_info *sdp_info; - - sdp_info = pjsip_rdata_get_sdp_info(rdata); - offer = sdp_info->sdp; - - status = sdp_info->sdp_err; - if (status==PJ_SUCCESS && sdp_info->sdp==NULL) - status = PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_NOT_ACCEPTABLE); - - if (status != PJ_SUCCESS) { - const pj_str_t reason = pj_str("Bad SDP"); - pjsip_hdr hdr_list; - pjsip_warning_hdr *w; - - pjsua_perror(THIS_FILE, "Bad SDP in incoming INVITE", - status); - - w = pjsip_warning_hdr_create_from_status(rdata->tp_info.pool, - pjsip_endpt_name(pjsua_var.endpt), - status); - pj_list_init(&hdr_list); - pj_list_push_back(&hdr_list, w); - - pjsip_endpt_respond(pjsua_var.endpt, NULL, rdata, 400, - &reason, &hdr_list, NULL, NULL); - goto on_return; - } - - /* Do quick checks on SDP before passing it to transports. More elabore - * checks will be done in pjsip_inv_verify_request2() below. - */ - if (offer->media_count==0) { - const pj_str_t reason = pj_str("Missing media in SDP"); - pjsip_endpt_respond(pjsua_var.endpt, NULL, rdata, 400, &reason, - NULL, NULL, NULL); - goto on_return; - } - - } else { - offer = NULL; - } - - /* Verify that we can handle the request. */ - options |= PJSIP_INV_SUPPORT_100REL; - options |= PJSIP_INV_SUPPORT_TIMER; - if (pjsua_var.acc[acc_id].cfg.require_100rel == PJSUA_100REL_MANDATORY) - options |= PJSIP_INV_REQUIRE_100REL; - if (pjsua_var.media_cfg.enable_ice) - options |= PJSIP_INV_SUPPORT_ICE; - if (pjsua_var.acc[acc_id].cfg.use_timer == PJSUA_SIP_TIMER_REQUIRED) - options |= PJSIP_INV_REQUIRE_TIMER; - else if (pjsua_var.acc[acc_id].cfg.use_timer == PJSUA_SIP_TIMER_ALWAYS) - options |= PJSIP_INV_ALWAYS_USE_TIMER; - - status = pjsip_inv_verify_request2(rdata, &options, offer, NULL, NULL, - pjsua_var.endpt, &response); - if (status != PJ_SUCCESS) { - - /* - * No we can't handle the incoming INVITE request. - */ - if (response) { - pjsip_response_addr res_addr; - - pjsip_get_response_addr(response->pool, rdata, &res_addr); - pjsip_endpt_send_response(pjsua_var.endpt, &res_addr, response, - NULL, NULL); - - } else { - /* Respond with 500 (Internal Server Error) */ - pjsip_endpt_respond(pjsua_var.endpt, NULL, rdata, 500, NULL, - NULL, NULL, NULL); - } - - goto on_return; - } - - /* Get suitable Contact header */ - if (pjsua_var.acc[acc_id].contact.slen) { - contact = pjsua_var.acc[acc_id].contact; - } else { - status = pjsua_acc_create_uas_contact(rdata->tp_info.pool, &contact, - acc_id, rdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to generate Contact header", - status); - pjsip_endpt_respond_stateless(pjsua_var.endpt, rdata, 500, NULL, - NULL, NULL); - goto on_return; - } - } - - /* Create dialog: */ - status = pjsip_dlg_create_uas( pjsip_ua_instance(), rdata, - &contact, &dlg); - if (status != PJ_SUCCESS) { - pjsip_endpt_respond_stateless(pjsua_var.endpt, rdata, 500, NULL, - NULL, NULL); - goto on_return; - } - - /* Set credentials */ - if (pjsua_var.acc[acc_id].cred_cnt) { - pjsip_auth_clt_set_credentials(&dlg->auth_sess, - pjsua_var.acc[acc_id].cred_cnt, - pjsua_var.acc[acc_id].cred); - } - - /* Set preference */ - pjsip_auth_clt_set_prefs(&dlg->auth_sess, - &pjsua_var.acc[acc_id].cfg.auth_pref); - - /* Disable Session Timers if not prefered and the incoming INVITE request - * did not require it. - */ - if (pjsua_var.acc[acc_id].cfg.use_timer == PJSUA_SIP_TIMER_INACTIVE && - (options & PJSIP_INV_REQUIRE_TIMER) == 0) - { - options &= ~(PJSIP_INV_SUPPORT_TIMER); - } - - /* If 100rel is optional and UAC supports it, use it. */ - if ((options & PJSIP_INV_REQUIRE_100REL)==0 && - pjsua_var.acc[acc_id].cfg.require_100rel == PJSUA_100REL_OPTIONAL) - { - const pj_str_t token = { "100rel", 6}; - pjsip_dialog_cap_status cap_status; - - cap_status = pjsip_dlg_remote_has_cap(dlg, PJSIP_H_SUPPORTED, NULL, - &token); - if (cap_status == PJSIP_DIALOG_CAP_SUPPORTED) - options |= PJSIP_INV_REQUIRE_100REL; - } - - /* Create invite session: */ - status = pjsip_inv_create_uas( dlg, rdata, NULL, options, &inv); - if (status != PJ_SUCCESS) { - pjsip_hdr hdr_list; - pjsip_warning_hdr *w; - - w = pjsip_warning_hdr_create_from_status(dlg->pool, - pjsip_endpt_name(pjsua_var.endpt), - status); - pj_list_init(&hdr_list); - pj_list_push_back(&hdr_list, w); - - pjsip_dlg_respond(dlg, rdata, 500, NULL, &hdr_list, NULL); - - /* Can't terminate dialog because transaction is in progress. - pjsip_dlg_terminate(dlg); - */ - goto on_return; - } - - /* If account is locked to specific transport, then lock dialog - * to this transport too. - */ - if (pjsua_var.acc[acc_id].cfg.transport_id != PJSUA_INVALID_ID) { - pjsip_tpselector tp_sel; - - pjsua_init_tpselector(pjsua_var.acc[acc_id].cfg.transport_id, &tp_sel); - pjsip_dlg_set_transport(dlg, &tp_sel); - } - - /* Create and attach pjsua_var data to the dialog */ - call->inv = inv; - - /* Store variables required for the callback after the async - * media transport creation is completed. - */ - call->async_call.dlg = dlg; - pj_list_init(&call->async_call.call_var.inc_call.answers); - - /* Init media channel */ - status = pjsua_media_channel_init(call->index, PJSIP_ROLE_UAS, - call->secure_level, - rdata->tp_info.pool, - offer, - &sip_err_code, PJ_TRUE, - &on_incoming_call_med_tp_complete); - if (status == PJ_SUCCESS) { - status = on_incoming_call_med_tp_complete(call_id, NULL); - if (status != PJ_SUCCESS) { - sip_err_code = PJSIP_SC_NOT_ACCEPTABLE; - /* Since the call invite's state is still PJSIP_INV_STATE_NULL, - * the invite session was not ended in - * on_incoming_call_med_tp_complete(), so we need to send - * a response message and terminate the invite here. - */ - pjsip_dlg_respond(dlg, rdata, sip_err_code, NULL, NULL, NULL); - pjsip_inv_terminate(call->inv, sip_err_code, PJ_FALSE); - call->inv = NULL; - goto on_return; - } - } else if (status != PJ_EPENDING) { - pjsua_perror(THIS_FILE, "Error initializing media channel", status); - pjsip_dlg_respond(dlg, rdata, sip_err_code, NULL, NULL, NULL); - pjsip_inv_terminate(call->inv, sip_err_code, PJ_FALSE); - call->inv = NULL; - goto on_return; - } - - /* Create answer */ -/* - status = pjsua_media_channel_create_sdp(call->index, rdata->tp_info.pool, - offer, &answer, &sip_err_code); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error creating SDP answer", status); - pjsip_endpt_respond(pjsua_var.endpt, NULL, rdata, - sip_err_code, NULL, NULL, NULL, NULL); - goto on_return; - } -*/ - - /* Init Session Timers */ - status = pjsip_timer_init_session(inv, - &pjsua_var.acc[acc_id].cfg.timer_setting); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Session Timer init failed", status); - pjsip_dlg_respond(dlg, rdata, PJSIP_SC_INTERNAL_SERVER_ERROR, NULL, NULL, NULL); - pjsip_inv_terminate(inv, PJSIP_SC_INTERNAL_SERVER_ERROR, PJ_FALSE); - - pjsua_media_channel_deinit(call->index); - call->inv = NULL; - - goto on_return; - } - - /* Update NAT type of remote endpoint, only when there is SDP in - * incoming INVITE! - */ - if (pjsua_var.ua_cfg.nat_type_in_sdp && inv->neg && - pjmedia_sdp_neg_get_state(inv->neg) > PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER) - { - const pjmedia_sdp_session *remote_sdp; - - if (pjmedia_sdp_neg_get_neg_remote(inv->neg, &remote_sdp)==PJ_SUCCESS) - update_remote_nat_type(call, remote_sdp); - } - - /* Must answer with some response to initial INVITE. We'll do this before - * attaching the call to the invite session/dialog, so that the application - * will not get notification about this event (on another scenario, it is - * also possible that inv_send_msg() fails and causes the invite session to - * be disconnected. If we have the call attached at this time, this will - * cause the disconnection callback to be called before on_incoming_call() - * callback is called, which is not right). - */ - status = pjsip_inv_initial_answer(inv, rdata, - 100, NULL, NULL, &response); - if (status != PJ_SUCCESS) { - if (response == NULL) { - pjsua_perror(THIS_FILE, "Unable to send answer to incoming INVITE", - status); - pjsip_dlg_respond(dlg, rdata, 500, NULL, NULL, NULL); - pjsip_inv_terminate(inv, 500, PJ_FALSE); - } else { - pjsip_inv_send_msg(inv, response); - pjsip_inv_terminate(inv, response->msg->line.status.code, - PJ_FALSE); - } - pjsua_media_channel_deinit(call->index); - call->inv = NULL; - goto on_return; - - } else { - status = pjsip_inv_send_msg(inv, response); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to send 100 response", status); - pjsua_media_channel_deinit(call->index); - call->inv = NULL; - goto on_return; - } - } - - /* Only do this after sending 100/Trying (really! see the long comment - * above) - */ - dlg->mod_data[pjsua_var.mod.id] = call; - inv->mod_data[pjsua_var.mod.id] = call; - - ++pjsua_var.call_cnt; - - /* Check if this request should replace existing call */ - if (replaced_dlg) { - pjsip_inv_session *replaced_inv; - struct pjsua_call *replaced_call; - pjsip_tx_data *tdata; - - /* Get the invite session in the dialog */ - replaced_inv = pjsip_dlg_get_inv_session(replaced_dlg); - - /* Get the replaced call instance */ - replaced_call = (pjsua_call*) replaced_dlg->mod_data[pjsua_var.mod.id]; - - /* Notify application */ - if (pjsua_var.ua_cfg.cb.on_call_replaced) - pjsua_var.ua_cfg.cb.on_call_replaced(replaced_call->index, - call_id); - - PJ_LOG(4,(THIS_FILE, "Answering replacement call %d with 200/OK", - call_id)); - - /* Answer the new call with 200 response */ - status = pjsip_inv_answer(inv, 200, NULL, NULL, &tdata); - if (status == PJ_SUCCESS) - status = pjsip_inv_send_msg(inv, tdata); - - if (status != PJ_SUCCESS) - pjsua_perror(THIS_FILE, "Error answering session", status); - - /* Note that inv may be invalid if 200/OK has caused error in - * starting the media. - */ - - PJ_LOG(4,(THIS_FILE, "Disconnecting replaced call %d", - replaced_call->index)); - - /* Disconnect replaced invite session */ - status = pjsip_inv_end_session(replaced_inv, PJSIP_SC_GONE, NULL, - &tdata); - if (status == PJ_SUCCESS && tdata) - status = pjsip_inv_send_msg(replaced_inv, tdata); - - if (status != PJ_SUCCESS) - pjsua_perror(THIS_FILE, "Error terminating session", status); - - - } else { - - /* Notify application if on_incoming_call() is overriden, - * otherwise hangup the call with 480 - */ - if (pjsua_var.ua_cfg.cb.on_incoming_call) { - pjsua_var.ua_cfg.cb.on_incoming_call(acc_id, call_id, rdata); - } else { - pjsua_call_hangup(call_id, PJSIP_SC_TEMPORARILY_UNAVAILABLE, - NULL, NULL); - } - } - - - /* This INVITE request has been handled. */ -on_return: - pj_log_pop_indent(); - PJSUA_UNLOCK(); - return PJ_TRUE; -} - - - -/* - * Check if the specified call has active INVITE session and the INVITE - * session has not been disconnected. - */ -PJ_DEF(pj_bool_t) pjsua_call_is_active(pjsua_call_id call_id) -{ - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - return pjsua_var.calls[call_id].inv != NULL && - pjsua_var.calls[call_id].inv->state != PJSIP_INV_STATE_DISCONNECTED; -} - - -/* Acquire lock to the specified call_id */ -pj_status_t acquire_call(const char *title, - pjsua_call_id call_id, - pjsua_call **p_call, - pjsip_dialog **p_dlg) -{ - unsigned retry; - pjsua_call *call = NULL; - pj_bool_t has_pjsua_lock = PJ_FALSE; - pj_status_t status = PJ_SUCCESS; - pj_time_val time_start, timeout; - - pj_gettimeofday(&time_start); - timeout.sec = 0; - timeout.msec = PJSUA_ACQUIRE_CALL_TIMEOUT; - pj_time_val_normalize(&timeout); - - for (retry=0; ; ++retry) { - - if (retry % 10 == 9) { - pj_time_val dtime; - - pj_gettimeofday(&dtime); - PJ_TIME_VAL_SUB(dtime, time_start); - if (!PJ_TIME_VAL_LT(dtime, timeout)) - break; - } - - has_pjsua_lock = PJ_FALSE; - - status = PJSUA_TRY_LOCK(); - if (status != PJ_SUCCESS) { - pj_thread_sleep(retry/10); - continue; - } - - has_pjsua_lock = PJ_TRUE; - call = &pjsua_var.calls[call_id]; - - if (call->inv == NULL) { - PJSUA_UNLOCK(); - PJ_LOG(3,(THIS_FILE, "Invalid call_id %d in %s", call_id, title)); - return PJSIP_ESESSIONTERMINATED; - } - - status = pjsip_dlg_try_inc_lock(call->inv->dlg); - if (status != PJ_SUCCESS) { - PJSUA_UNLOCK(); - pj_thread_sleep(retry/10); - continue; - } - - PJSUA_UNLOCK(); - - break; - } - - if (status != PJ_SUCCESS) { - if (has_pjsua_lock == PJ_FALSE) - PJ_LOG(1,(THIS_FILE, "Timed-out trying to acquire PJSUA mutex " - "(possibly system has deadlocked) in %s", - title)); - else - PJ_LOG(1,(THIS_FILE, "Timed-out trying to acquire dialog mutex " - "(possibly system has deadlocked) in %s", - title)); - return PJ_ETIMEDOUT; - } - - *p_call = call; - *p_dlg = call->inv->dlg; - - return PJ_SUCCESS; -} - - -/* - * Obtain detail information about the specified call. - */ -PJ_DEF(pj_status_t) pjsua_call_get_info( pjsua_call_id call_id, - pjsua_call_info *info) -{ - pjsua_call *call; - pjsip_dialog *dlg; - unsigned mi; - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - - pj_bzero(info, sizeof(*info)); - - /* Use PJSUA_LOCK() instead of acquire_call(): - * https://trac.pjsip.org/repos/ticket/1371 - */ - PJSUA_LOCK(); - - call = &pjsua_var.calls[call_id]; - dlg = (call->inv ? call->inv->dlg : call->async_call.dlg); - if (!dlg) { - PJSUA_UNLOCK(); - return PJSIP_ESESSIONTERMINATED; - } - - /* id and role */ - info->id = call_id; - info->role = dlg->role; - info->acc_id = call->acc_id; - - /* local info */ - info->local_info.ptr = info->buf_.local_info; - pj_strncpy(&info->local_info, &dlg->local.info_str, - sizeof(info->buf_.local_info)); - - /* local contact */ - info->local_contact.ptr = info->buf_.local_contact; - info->local_contact.slen = pjsip_uri_print(PJSIP_URI_IN_CONTACT_HDR, - dlg->local.contact->uri, - info->local_contact.ptr, - sizeof(info->buf_.local_contact)); - - /* remote info */ - info->remote_info.ptr = info->buf_.remote_info; - pj_strncpy(&info->remote_info, &dlg->remote.info_str, - sizeof(info->buf_.remote_info)); - - /* remote contact */ - if (dlg->remote.contact) { - int len; - info->remote_contact.ptr = info->buf_.remote_contact; - len = pjsip_uri_print(PJSIP_URI_IN_CONTACT_HDR, - dlg->remote.contact->uri, - info->remote_contact.ptr, - sizeof(info->buf_.remote_contact)); - if (len < 0) len = 0; - info->remote_contact.slen = len; - } else { - info->remote_contact.slen = 0; - } - - /* call id */ - info->call_id.ptr = info->buf_.call_id; - pj_strncpy(&info->call_id, &dlg->call_id->id, - sizeof(info->buf_.call_id)); - - /* call setting */ - pj_memcpy(&info->setting, &call->opt, sizeof(call->opt)); - - /* state, state_text */ - if (call->inv) { - info->state = call->inv->state; - } else if (call->async_call.dlg && call->last_code==0) { - info->state = PJSIP_INV_STATE_NULL; - } else { - info->state = PJSIP_INV_STATE_DISCONNECTED; - } - info->state_text = pj_str((char*)pjsip_inv_state_name(info->state)); - - /* If call is disconnected, set the last_status from the cause code */ - if (call->inv && call->inv->state >= PJSIP_INV_STATE_DISCONNECTED) { - /* last_status, last_status_text */ - info->last_status = call->inv->cause; - - info->last_status_text.ptr = info->buf_.last_status_text; - pj_strncpy(&info->last_status_text, &call->inv->cause_text, - sizeof(info->buf_.last_status_text)); - } else { - /* last_status, last_status_text */ - info->last_status = call->last_code; - - info->last_status_text.ptr = info->buf_.last_status_text; - pj_strncpy(&info->last_status_text, &call->last_text, - sizeof(info->buf_.last_status_text)); - } - - /* Audio & video count offered by remote */ - info->rem_offerer = call->rem_offerer; - if (call->rem_offerer) { - info->rem_aud_cnt = call->rem_aud_cnt; - info->rem_vid_cnt = call->rem_vid_cnt; - } - - /* Build array of media status and dir */ - info->media_cnt = 0; - for (mi=0; mi < call->med_cnt && - info->media_cnt < PJ_ARRAY_SIZE(info->media); ++mi) - { - pjsua_call_media *call_med = &call->media[mi]; - - info->media[info->media_cnt].index = mi; - info->media[info->media_cnt].status = call_med->state; - info->media[info->media_cnt].dir = call_med->dir; - info->media[info->media_cnt].type = call_med->type; - - if (call_med->type == PJMEDIA_TYPE_AUDIO) { - info->media[info->media_cnt].stream.aud.conf_slot = - call_med->strm.a.conf_slot; - } else if (call_med->type == PJMEDIA_TYPE_VIDEO) { - pjmedia_vid_dev_index cap_dev = PJMEDIA_VID_INVALID_DEV; - - info->media[info->media_cnt].stream.vid.win_in = - call_med->strm.v.rdr_win_id; - - if (call_med->strm.v.cap_win_id != PJSUA_INVALID_ID) { - cap_dev = call_med->strm.v.cap_dev; - } - info->media[info->media_cnt].stream.vid.cap_dev = cap_dev; - } else { - continue; - } - ++info->media_cnt; - } - - if (call->audio_idx != -1) { - info->media_status = call->media[call->audio_idx].state; - info->media_dir = call->media[call->audio_idx].dir; - info->conf_slot = call->media[call->audio_idx].strm.a.conf_slot; - } - - /* calculate duration */ - if (info->state >= PJSIP_INV_STATE_DISCONNECTED) { - - info->total_duration = call->dis_time; - PJ_TIME_VAL_SUB(info->total_duration, call->start_time); - - if (call->conn_time.sec) { - info->connect_duration = call->dis_time; - PJ_TIME_VAL_SUB(info->connect_duration, call->conn_time); - } - - } else if (info->state == PJSIP_INV_STATE_CONFIRMED) { - - pj_gettimeofday(&info->total_duration); - PJ_TIME_VAL_SUB(info->total_duration, call->start_time); - - pj_gettimeofday(&info->connect_duration); - PJ_TIME_VAL_SUB(info->connect_duration, call->conn_time); - - } else { - pj_gettimeofday(&info->total_duration); - PJ_TIME_VAL_SUB(info->total_duration, call->start_time); - } - - PJSUA_UNLOCK(); - - return PJ_SUCCESS; -} - -/* - * Check if call remote peer support the specified capability. - */ -PJ_DEF(pjsip_dialog_cap_status) pjsua_call_remote_has_cap( - pjsua_call_id call_id, - int htype, - const pj_str_t *hname, - const pj_str_t *token) -{ - pjsua_call *call; - pjsip_dialog *dlg; - pj_status_t status; - pjsip_dialog_cap_status cap_status; - - status = acquire_call("pjsua_call_peer_has_cap()", call_id, &call, &dlg); - if (status != PJ_SUCCESS) - return PJSIP_DIALOG_CAP_UNKNOWN; - - cap_status = pjsip_dlg_remote_has_cap(dlg, htype, hname, token); - - pjsip_dlg_dec_lock(dlg); - - return cap_status; -} - - -/* - * Attach application specific data to the call. - */ -PJ_DEF(pj_status_t) pjsua_call_set_user_data( pjsua_call_id call_id, - void *user_data) -{ - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - pjsua_var.calls[call_id].user_data = user_data; - - return PJ_SUCCESS; -} - - -/* - * Get user data attached to the call. - */ -PJ_DEF(void*) pjsua_call_get_user_data(pjsua_call_id call_id) -{ - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - NULL); - return pjsua_var.calls[call_id].user_data; -} - - -/* - * Get remote's NAT type. - */ -PJ_DEF(pj_status_t) pjsua_call_get_rem_nat_type(pjsua_call_id call_id, - pj_stun_nat_type *p_type) -{ - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - PJ_ASSERT_RETURN(p_type != NULL, PJ_EINVAL); - - *p_type = pjsua_var.calls[call_id].rem_nat_type; - return PJ_SUCCESS; -} - - -/* - * Get media transport info for the specified media index. - */ -PJ_DEF(pj_status_t) -pjsua_call_get_med_transport_info(pjsua_call_id call_id, - unsigned med_idx, - pjmedia_transport_info *t) -{ - pjsua_call *call; - pjsua_call_media *call_med; - pj_status_t status; - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - PJ_ASSERT_RETURN(t, PJ_EINVAL); - - PJSUA_LOCK(); - - call = &pjsua_var.calls[call_id]; - - if (med_idx >= call->med_cnt) { - PJSUA_UNLOCK(); - return PJ_EINVAL; - } - - call_med = &call->media[med_idx]; - - pjmedia_transport_info_init(t); - status = pjmedia_transport_get_info(call_med->tp, t); - - PJSUA_UNLOCK(); - return status; -} - - -/* - * Send response to incoming INVITE request. - */ -PJ_DEF(pj_status_t) pjsua_call_answer( pjsua_call_id call_id, - unsigned code, - const pj_str_t *reason, - const pjsua_msg_data *msg_data) -{ - return pjsua_call_answer2(call_id, NULL, code, reason, msg_data); -} - - -/* - * Send response to incoming INVITE request. - */ -PJ_DEF(pj_status_t) pjsua_call_answer2(pjsua_call_id call_id, - const pjsua_call_setting *opt, - unsigned code, - const pj_str_t *reason, - const pjsua_msg_data *msg_data) -{ - pjsua_call *call; - pjsip_dialog *dlg = NULL; - pjsip_tx_data *tdata; - pj_status_t status; - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - - PJ_LOG(4,(THIS_FILE, "Answering call %d: code=%d", call_id, code)); - pj_log_push_indent(); - - status = acquire_call("pjsua_call_answer()", call_id, &call, &dlg); - if (status != PJ_SUCCESS) - goto on_return; - - /* Apply call setting */ - status = apply_call_setting(call, opt, NULL); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Failed to apply call setting", status); - goto on_return; - } - - PJSUA_LOCK(); - /* If media transport creation is not yet completed, we will answer - * the call in the media transport creation callback instead. - */ - if (call->med_ch_cb) { - struct call_answer *answer; - - PJ_LOG(4,(THIS_FILE, "Pending answering call %d upon completion " - "of media transport", call_id)); - - answer = PJ_POOL_ZALLOC_T(call->inv->pool_prov, struct call_answer); - answer->code = code; - if (reason) { - pj_strdup(call->inv->pool_prov, answer->reason, reason); - } - if (msg_data) { - answer->msg_data = pjsua_msg_data_clone(call->inv->pool_prov, - msg_data); - } - pj_list_push_back(&call->async_call.call_var.inc_call.answers, - answer); - - PJSUA_UNLOCK(); - if (dlg) pjsip_dlg_dec_lock(dlg); - pj_log_pop_indent(); - return status; - } - PJSUA_UNLOCK(); - - if (call->res_time.sec == 0) - pj_gettimeofday(&call->res_time); - - if (reason && reason->slen == 0) - reason = NULL; - - /* Create response message */ - status = pjsip_inv_answer(call->inv, code, reason, NULL, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error creating response", - status); - goto on_return; - } - - /* Call might have been disconnected if application is answering with - * 200/OK and the media failed to start. - */ - if (call->inv == NULL) - goto on_return; - - /* Add additional headers etc */ - pjsua_process_msg_data( tdata, msg_data); - - /* Send the message */ - status = pjsip_inv_send_msg(call->inv, tdata); - if (status != PJ_SUCCESS) - pjsua_perror(THIS_FILE, "Error sending response", - status); - -on_return: - if (dlg) pjsip_dlg_dec_lock(dlg); - pj_log_pop_indent(); - return status; -} - - -/* - * Hangup call by using method that is appropriate according to the - * call state. - */ -PJ_DEF(pj_status_t) pjsua_call_hangup(pjsua_call_id call_id, - unsigned code, - const pj_str_t *reason, - const pjsua_msg_data *msg_data) -{ - pjsua_call *call; - pjsip_dialog *dlg = NULL; - pj_status_t status; - pjsip_tx_data *tdata; - - - if (call_id<0 || call_id>=(int)pjsua_var.ua_cfg.max_calls) { - PJ_LOG(1,(THIS_FILE, "pjsua_call_hangup(): invalid call id %d", - call_id)); - } - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - - PJ_LOG(4,(THIS_FILE, "Call %d hanging up: code=%d..", call_id, code)); - pj_log_push_indent(); - - status = acquire_call("pjsua_call_hangup()", call_id, &call, &dlg); - if (status != PJ_SUCCESS) - goto on_return; - - if (code==0) { - if (call->inv->state == PJSIP_INV_STATE_CONFIRMED) - code = PJSIP_SC_OK; - else if (call->inv->role == PJSIP_ROLE_UAS) - code = PJSIP_SC_DECLINE; - else - code = PJSIP_SC_REQUEST_TERMINATED; - } - - status = pjsip_inv_end_session(call->inv, code, reason, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, - "Failed to create end session message", - status); - goto on_return; - } - - /* pjsip_inv_end_session may return PJ_SUCCESS with NULL - * as p_tdata when INVITE transaction has not been answered - * with any provisional responses. - */ - if (tdata == NULL) - goto on_return; - - /* Add additional headers etc */ - pjsua_process_msg_data( tdata, msg_data); - - /* Send the message */ - status = pjsip_inv_send_msg(call->inv, tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, - "Failed to send end session message", - status); - goto on_return; - } - - /* Stop lock codec timer, if it is active */ - if (call->lock_codec.reinv_timer.id) { - pjsip_endpt_cancel_timer(pjsua_var.endpt, - &call->lock_codec.reinv_timer); - call->lock_codec.reinv_timer.id = PJ_FALSE; - } - -on_return: - if (dlg) pjsip_dlg_dec_lock(dlg); - pj_log_pop_indent(); - return status; -} - - -/* - * Accept or reject redirection. - */ -PJ_DEF(pj_status_t) pjsua_call_process_redirect( pjsua_call_id call_id, - pjsip_redirect_op cmd) -{ - pjsua_call *call; - pjsip_dialog *dlg; - pj_status_t status; - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - - status = acquire_call("pjsua_call_process_redirect()", call_id, - &call, &dlg); - if (status != PJ_SUCCESS) - return status; - - status = pjsip_inv_process_redirect(call->inv, cmd, NULL); - - pjsip_dlg_dec_lock(dlg); - - return status; -} - - -/* - * Put the specified call on hold. - */ -PJ_DEF(pj_status_t) pjsua_call_set_hold(pjsua_call_id call_id, - const pjsua_msg_data *msg_data) -{ - pjmedia_sdp_session *sdp; - pjsua_call *call; - pjsip_dialog *dlg = NULL; - pjsip_tx_data *tdata; - pj_status_t status; - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - - PJ_LOG(4,(THIS_FILE, "Putting call %d on hold", call_id)); - pj_log_push_indent(); - - status = acquire_call("pjsua_call_set_hold()", call_id, &call, &dlg); - if (status != PJ_SUCCESS) - goto on_return; - - if (call->inv->state != PJSIP_INV_STATE_CONFIRMED) { - PJ_LOG(3,(THIS_FILE, "Can not hold call that is not confirmed")); - status = PJSIP_ESESSIONSTATE; - goto on_return; - } - - status = create_sdp_of_call_hold(call, &sdp); - if (status != PJ_SUCCESS) - goto on_return; - - /* Create re-INVITE with new offer */ - status = pjsip_inv_reinvite( call->inv, NULL, sdp, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create re-INVITE", status); - goto on_return; - } - - /* Add additional headers etc */ - pjsua_process_msg_data( tdata, msg_data); - - /* Record the tx_data to keep track the operation */ - call->hold_msg = (void*) tdata; - - /* Send the request */ - status = pjsip_inv_send_msg( call->inv, tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to send re-INVITE", status); - call->hold_msg = NULL; - goto on_return; - } - - /* Set flag that local put the call on hold */ - call->local_hold = PJ_TRUE; - -on_return: - if (dlg) pjsip_dlg_dec_lock(dlg); - pj_log_pop_indent(); - return status; -} - - -/* - * Send re-INVITE (to release hold). - */ -PJ_DEF(pj_status_t) pjsua_call_reinvite( pjsua_call_id call_id, - unsigned options, - const pjsua_msg_data *msg_data) -{ - pjsua_call *call; - pjsip_dialog *dlg = NULL; - pj_status_t status; - - status = acquire_call("pjsua_call_reinvite()", call_id, &call, &dlg); - if (status != PJ_SUCCESS) - goto on_return; - - if (options != call->opt.flag) - call->opt.flag = options; - - status = pjsua_call_reinvite2(call_id, NULL, msg_data); - -on_return: - if (dlg) pjsip_dlg_dec_lock(dlg); - return status; -} - - -/* - * Send re-INVITE (to release hold). - */ -PJ_DEF(pj_status_t) pjsua_call_reinvite2(pjsua_call_id call_id, - const pjsua_call_setting *opt, - const pjsua_msg_data *msg_data) -{ - pjmedia_sdp_session *sdp; - pj_str_t *new_contact = NULL; - pjsip_tx_data *tdata; - pjsua_call *call; - pjsip_dialog *dlg = NULL; - pj_status_t status; - - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - - PJ_LOG(4,(THIS_FILE, "Sending re-INVITE on call %d", call_id)); - pj_log_push_indent(); - - status = acquire_call("pjsua_call_reinvite2()", call_id, &call, &dlg); - if (status != PJ_SUCCESS) - goto on_return; - - if (call->inv->state != PJSIP_INV_STATE_CONFIRMED) { - PJ_LOG(3,(THIS_FILE, "Can not re-INVITE call that is not confirmed")); - status = PJSIP_ESESSIONSTATE; - goto on_return; - } - - status = apply_call_setting(call, opt, NULL); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Failed to apply call setting", status); - goto on_return; - } - - /* Create SDP */ - if (call->local_hold && (call->opt.flag & PJSUA_CALL_UNHOLD)==0) { - status = create_sdp_of_call_hold(call, &sdp); - } else { - status = pjsua_media_channel_create_sdp(call->index, - call->inv->pool_prov, - NULL, &sdp, NULL); - call->local_hold = PJ_FALSE; - } - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to get SDP from media endpoint", - status); - goto on_return; - } - - if ((call->opt.flag & PJSUA_CALL_UPDATE_CONTACT) & - pjsua_acc_is_valid(call->acc_id)) - { - new_contact = &pjsua_var.acc[call->acc_id].contact; - } - - /* Create re-INVITE with new offer */ - status = pjsip_inv_reinvite( call->inv, new_contact, sdp, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create re-INVITE", status); - goto on_return; - } - - /* Add additional headers etc */ - pjsua_process_msg_data( tdata, msg_data); - - /* Send the request */ - status = pjsip_inv_send_msg( call->inv, tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to send re-INVITE", status); - goto on_return; - } - -on_return: - if (dlg) pjsip_dlg_dec_lock(dlg); - pj_log_pop_indent(); - return status; -} - - -/* - * Send UPDATE request. - */ -PJ_DEF(pj_status_t) pjsua_call_update( pjsua_call_id call_id, - unsigned options, - const pjsua_msg_data *msg_data) -{ - pjsua_call *call; - pjsip_dialog *dlg = NULL; - pj_status_t status; - - status = acquire_call("pjsua_call_update()", call_id, &call, &dlg); - if (status != PJ_SUCCESS) - goto on_return; - - if (options != call->opt.flag) - call->opt.flag = options; - - status = pjsua_call_update2(call_id, NULL, msg_data); - -on_return: - if (dlg) pjsip_dlg_dec_lock(dlg); - return status; -} - - -/* - * Send UPDATE request. - */ -PJ_DEF(pj_status_t) pjsua_call_update2(pjsua_call_id call_id, - const pjsua_call_setting *opt, - const pjsua_msg_data *msg_data) -{ - pjmedia_sdp_session *sdp; - pj_str_t *new_contact = NULL; - pjsip_tx_data *tdata; - pjsua_call *call; - pjsip_dialog *dlg = NULL; - pj_status_t status; - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - - PJ_LOG(4,(THIS_FILE, "Sending UPDATE on call %d", call_id)); - pj_log_push_indent(); - - status = acquire_call("pjsua_call_update2()", call_id, &call, &dlg); - if (status != PJ_SUCCESS) - goto on_return; - - status = apply_call_setting(call, opt, NULL); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Failed to apply call setting", status); - goto on_return; - } - - /* Create SDP */ - status = pjsua_media_channel_create_sdp(call->index, - call->inv->pool_prov, - NULL, &sdp, NULL); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to get SDP from media endpoint", - status); - goto on_return; - } - - if ((call->opt.flag & PJSUA_CALL_UPDATE_CONTACT) & - pjsua_acc_is_valid(call->acc_id)) - { - new_contact = &pjsua_var.acc[call->acc_id].contact; - } - - /* Create UPDATE with new offer */ - status = pjsip_inv_update(call->inv, new_contact, sdp, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create UPDATE request", status); - goto on_return; - } - - /* Add additional headers etc */ - pjsua_process_msg_data( tdata, msg_data); - - /* Send the request */ - status = pjsip_inv_send_msg( call->inv, tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to send UPDATE request", status); - goto on_return; - } - - call->local_hold = PJ_FALSE; - -on_return: - if (dlg) pjsip_dlg_dec_lock(dlg); - pj_log_pop_indent(); - return status; -} - - -/* - * Initiate call transfer to the specified address. - */ -PJ_DEF(pj_status_t) pjsua_call_xfer( pjsua_call_id call_id, - const pj_str_t *dest, - const pjsua_msg_data *msg_data) -{ - pjsip_evsub *sub; - pjsip_tx_data *tdata; - pjsua_call *call; - pjsip_dialog *dlg = NULL; - pjsip_generic_string_hdr *gs_hdr; - const pj_str_t str_ref_by = { "Referred-By", 11 }; - struct pjsip_evsub_user xfer_cb; - pj_status_t status; - - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls && - dest, PJ_EINVAL); - - PJ_LOG(4,(THIS_FILE, "Transfering call %d to %.*s", call_id, - (int)dest->slen, dest->ptr)); - pj_log_push_indent(); - - status = acquire_call("pjsua_call_xfer()", call_id, &call, &dlg); - if (status != PJ_SUCCESS) - goto on_return; - - /* Create xfer client subscription. */ - pj_bzero(&xfer_cb, sizeof(xfer_cb)); - xfer_cb.on_evsub_state = &xfer_client_on_evsub_state; - - status = pjsip_xfer_create_uac(call->inv->dlg, &xfer_cb, &sub); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create xfer", status); - goto on_return; - } - - /* Associate this call with the client subscription */ - pjsip_evsub_set_mod_data(sub, pjsua_var.mod.id, call); - - /* - * Create REFER request. - */ - status = pjsip_xfer_initiate(sub, dest, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create REFER request", status); - goto on_return; - } - - /* Add Referred-By header */ - gs_hdr = pjsip_generic_string_hdr_create(tdata->pool, &str_ref_by, - &dlg->local.info_str); - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)gs_hdr); - - - /* Add additional headers etc */ - pjsua_process_msg_data( tdata, msg_data); - - /* Send. */ - status = pjsip_xfer_send_request(sub, tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to send REFER request", status); - goto on_return; - } - - /* For simplicity (that's what this program is intended to be!), - * leave the original invite session as it is. More advanced application - * may want to hold the INVITE, or terminate the invite, or whatever. - */ -on_return: - if (dlg) pjsip_dlg_dec_lock(dlg); - pj_log_pop_indent(); - return status; - -} - - -/* - * Initiate attended call transfer to the specified address. - */ -PJ_DEF(pj_status_t) pjsua_call_xfer_replaces( pjsua_call_id call_id, - pjsua_call_id dest_call_id, - unsigned options, - const pjsua_msg_data *msg_data) -{ - pjsua_call *dest_call; - pjsip_dialog *dest_dlg; - char str_dest_buf[PJSIP_MAX_URL_SIZE*2]; - pj_str_t str_dest; - int len; - pjsip_uri *uri; - pj_status_t status; - - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - PJ_ASSERT_RETURN(dest_call_id>=0 && - dest_call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - - PJ_LOG(4,(THIS_FILE, "Transfering call %d replacing with call %d", - call_id, dest_call_id)); - pj_log_push_indent(); - - status = acquire_call("pjsua_call_xfer_replaces()", dest_call_id, - &dest_call, &dest_dlg); - if (status != PJ_SUCCESS) { - pj_log_pop_indent(); - return status; - } - - /* - * Create REFER destination URI with Replaces field. - */ - - /* Make sure we have sufficient buffer's length */ - PJ_ASSERT_ON_FAIL(dest_dlg->remote.info_str.slen + - dest_dlg->call_id->id.slen + - dest_dlg->remote.info->tag.slen + - dest_dlg->local.info->tag.slen + 32 - < (long)sizeof(str_dest_buf), - { status=PJSIP_EURITOOLONG; goto on_error; }); - - /* Print URI */ - str_dest_buf[0] = '<'; - str_dest.slen = 1; - - uri = (pjsip_uri*) pjsip_uri_get_uri(dest_dlg->remote.info->uri); - len = pjsip_uri_print(PJSIP_URI_IN_REQ_URI, uri, - str_dest_buf+1, sizeof(str_dest_buf)-1); - if (len < 0) { - status = PJSIP_EURITOOLONG; - goto on_error; - } - - str_dest.slen += len; - - - /* Build the URI */ - len = pj_ansi_snprintf(str_dest_buf + str_dest.slen, - sizeof(str_dest_buf) - str_dest.slen, - "?%s" - "Replaces=%.*s" - "%%3Bto-tag%%3D%.*s" - "%%3Bfrom-tag%%3D%.*s>", - ((options&PJSUA_XFER_NO_REQUIRE_REPLACES) ? - "" : "Require=replaces&"), - (int)dest_dlg->call_id->id.slen, - dest_dlg->call_id->id.ptr, - (int)dest_dlg->remote.info->tag.slen, - dest_dlg->remote.info->tag.ptr, - (int)dest_dlg->local.info->tag.slen, - dest_dlg->local.info->tag.ptr); - - PJ_ASSERT_ON_FAIL(len > 0 && len <= (int)sizeof(str_dest_buf)-str_dest.slen, - { status=PJSIP_EURITOOLONG; goto on_error; }); - - str_dest.ptr = str_dest_buf; - str_dest.slen += len; - - pjsip_dlg_dec_lock(dest_dlg); - - status = pjsua_call_xfer(call_id, &str_dest, msg_data); - - pj_log_pop_indent(); - return status; - -on_error: - if (dest_dlg) pjsip_dlg_dec_lock(dest_dlg); - pj_log_pop_indent(); - return status; -} - - -/** - * Send instant messaging inside INVITE session. - */ -PJ_DEF(pj_status_t) pjsua_call_send_im( pjsua_call_id call_id, - const pj_str_t *mime_type, - const pj_str_t *content, - const pjsua_msg_data *msg_data, - void *user_data) -{ - pjsua_call *call; - pjsip_dialog *dlg = NULL; - const pj_str_t mime_text_plain = pj_str("text/plain"); - pjsip_media_type ctype; - pjsua_im_data *im_data; - pjsip_tx_data *tdata; - pj_status_t status; - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - - PJ_LOG(4,(THIS_FILE, "Call %d sending %d bytes MESSAGE..", - call_id, (int)content->slen)); - pj_log_push_indent(); - - status = acquire_call("pjsua_call_send_im()", call_id, &call, &dlg); - if (status != PJ_SUCCESS) - goto on_return; - - /* Set default media type if none is specified */ - if (mime_type == NULL) { - mime_type = &mime_text_plain; - } - - /* Create request message. */ - status = pjsip_dlg_create_request( call->inv->dlg, &pjsip_message_method, - -1, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create MESSAGE request", status); - goto on_return; - } - - /* Add accept header. */ - pjsip_msg_add_hdr( tdata->msg, - (pjsip_hdr*)pjsua_im_create_accept(tdata->pool)); - - /* Parse MIME type */ - pjsua_parse_media_type(tdata->pool, mime_type, &ctype); - - /* Create "text/plain" message body. */ - tdata->msg->body = pjsip_msg_body_create( tdata->pool, &ctype.type, - &ctype.subtype, content); - if (tdata->msg->body == NULL) { - pjsua_perror(THIS_FILE, "Unable to create msg body", PJ_ENOMEM); - pjsip_tx_data_dec_ref(tdata); - goto on_return; - } - - /* Add additional headers etc */ - pjsua_process_msg_data( tdata, msg_data); - - /* Create IM data and attach to the request. */ - im_data = PJ_POOL_ZALLOC_T(tdata->pool, pjsua_im_data); - im_data->acc_id = call->acc_id; - im_data->call_id = call_id; - im_data->to = call->inv->dlg->remote.info_str; - pj_strdup_with_null(tdata->pool, &im_data->body, content); - im_data->user_data = user_data; - - - /* Send the request. */ - status = pjsip_dlg_send_request( call->inv->dlg, tdata, - pjsua_var.mod.id, im_data); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to send MESSAGE request", status); - goto on_return; - } - -on_return: - if (dlg) pjsip_dlg_dec_lock(dlg); - pj_log_pop_indent(); - return status; -} - - -/* - * Send IM typing indication inside INVITE session. - */ -PJ_DEF(pj_status_t) pjsua_call_send_typing_ind( pjsua_call_id call_id, - pj_bool_t is_typing, - const pjsua_msg_data*msg_data) -{ - pjsua_call *call; - pjsip_dialog *dlg = NULL; - pjsip_tx_data *tdata; - pj_status_t status; - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - - PJ_LOG(4,(THIS_FILE, "Call %d sending typing indication..", - call_id)); - pj_log_push_indent(); - - status = acquire_call("pjsua_call_send_typing_ind", call_id, &call, &dlg); - if (status != PJ_SUCCESS) - goto on_return; - - /* Create request message. */ - status = pjsip_dlg_create_request( call->inv->dlg, &pjsip_message_method, - -1, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create MESSAGE request", status); - goto on_return; - } - - /* Create "application/im-iscomposing+xml" msg body. */ - tdata->msg->body = pjsip_iscomposing_create_body(tdata->pool, is_typing, - NULL, NULL, -1); - - /* Add additional headers etc */ - pjsua_process_msg_data( tdata, msg_data); - - /* Send the request. */ - status = pjsip_dlg_send_request( call->inv->dlg, tdata, -1, NULL); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to send MESSAGE request", status); - goto on_return; - } - -on_return: - if (dlg) pjsip_dlg_dec_lock(dlg); - pj_log_pop_indent(); - return status; -} - - -/* - * Send arbitrary request. - */ -PJ_DEF(pj_status_t) pjsua_call_send_request(pjsua_call_id call_id, - const pj_str_t *method_str, - const pjsua_msg_data *msg_data) -{ - pjsua_call *call; - pjsip_dialog *dlg = NULL; - pjsip_method method; - pjsip_tx_data *tdata; - pj_status_t status; - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - - PJ_LOG(4,(THIS_FILE, "Call %d sending %.*s request..", - call_id, (int)method_str->slen, method_str->ptr)); - pj_log_push_indent(); - - status = acquire_call("pjsua_call_send_request", call_id, &call, &dlg); - if (status != PJ_SUCCESS) - goto on_return; - - /* Init method */ - pjsip_method_init_np(&method, (pj_str_t*)method_str); - - /* Create request message. */ - status = pjsip_dlg_create_request( call->inv->dlg, &method, -1, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create request", status); - goto on_return; - } - - /* Add additional headers etc */ - pjsua_process_msg_data( tdata, msg_data); - - /* Send the request. */ - status = pjsip_dlg_send_request( call->inv->dlg, tdata, -1, NULL); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to send request", status); - goto on_return; - } - -on_return: - if (dlg) pjsip_dlg_dec_lock(dlg); - pj_log_pop_indent(); - return status; -} - - -/* - * Terminate all calls. - */ -PJ_DEF(void) pjsua_call_hangup_all(void) -{ - unsigned i; - - PJ_LOG(4,(THIS_FILE, "Hangup all calls..")); - pj_log_push_indent(); - - // This may deadlock, see https://trac.pjsip.org/repos/ticket/1305 - //PJSUA_LOCK(); - - for (i=0; iuser_data; - pjsip_dialog *dlg; - pjsua_call *call; - pj_status_t status; - - PJ_UNUSED_ARG(th); - - pjsua_var.calls[call_id].lock_codec.reinv_timer.id = PJ_FALSE; - - status = acquire_call("reinv_timer_cb()", call_id, &call, &dlg); - if (status != PJ_SUCCESS) - return; - - status = perform_lock_codec(call); - - pjsip_dlg_dec_lock(dlg); -} - - -/* Check if the specified format can be skipped in counting codecs */ -static pj_bool_t is_non_av_fmt(const pjmedia_sdp_media *m, - const pj_str_t *fmt) -{ - const pj_str_t STR_TEL = {"telephone-event", 15}; - unsigned pt; - - pt = pj_strtoul(fmt); - - /* Check for comfort noise */ - if (pt == PJMEDIA_RTP_PT_CN) - return PJ_TRUE; - - /* Dynamic PT, check the format name */ - if (pt >= 96) { - pjmedia_sdp_attr *a; - pjmedia_sdp_rtpmap rtpmap; - - /* Get the format name */ - a = pjmedia_sdp_attr_find2(m->attr_count, m->attr, "rtpmap", fmt); - if (a && pjmedia_sdp_attr_get_rtpmap(a, &rtpmap)==PJ_SUCCESS) { - /* Check for telephone-event */ - if (pj_stricmp(&rtpmap.enc_name, &STR_TEL)==0) - return PJ_TRUE; - } else { - /* Invalid SDP, should not reach here */ - pj_assert(!"SDP should have been validated!"); - return PJ_TRUE; - } - } - - return PJ_FALSE; -} - - -/* Send re-INVITE or UPDATE with new SDP offer to select only one codec - * out of several codecs presented by callee in his answer. - */ -static pj_status_t perform_lock_codec(pjsua_call *call) -{ - const pj_str_t STR_UPDATE = {"UPDATE", 6}; - const pjmedia_sdp_session *local_sdp = NULL, *new_sdp; - unsigned i; - pj_bool_t rem_can_update; - pj_bool_t need_lock_codec = PJ_FALSE; - pjsip_tx_data *tdata; - pj_status_t status; - - PJ_ASSERT_RETURN(call->lock_codec.reinv_timer.id==PJ_FALSE, - PJ_EINVALIDOP); - - /* Verify if another SDP negotiation is in progress, e.g: session timer - * or another re-INVITE. - */ - if (call->inv==NULL || call->inv->neg==NULL || - pjmedia_sdp_neg_get_state(call->inv->neg)!=PJMEDIA_SDP_NEG_STATE_DONE) - { - return PJMEDIA_SDPNEG_EINSTATE; - } - - /* Don't do this if call is disconnecting! */ - if (call->inv->state > PJSIP_INV_STATE_CONFIRMED || - call->inv->cause >= 200) - { - return PJ_EINVALIDOP; - } - - /* Verify if another SDP negotiation has been completed by comparing - * the SDP version. - */ - status = pjmedia_sdp_neg_get_active_local(call->inv->neg, &local_sdp); - if (status != PJ_SUCCESS) - return status; - if (local_sdp->origin.version > call->lock_codec.sdp_ver) - return PJMEDIA_SDP_EINVER; - - PJ_LOG(3, (THIS_FILE, "Updating media session to use only one codec..")); - - /* Update the new offer so it contains only a codec. Note that formats - * order in the offer should have been matched to the answer, so we can - * just directly update the offer without looking-up the answer. - */ - new_sdp = pjmedia_sdp_session_clone(call->inv->pool_prov, local_sdp); - - for (i = 0; i < call->med_cnt; ++i) { - unsigned j = 0, codec_cnt = 0; - const pjmedia_sdp_media *ref_m; - pjmedia_sdp_media *m; - pjsua_call_media *call_med = &call->media[i]; - - /* Verify if media is deactivated */ - if (call_med->state == PJSUA_CALL_MEDIA_NONE || - call_med->state == PJSUA_CALL_MEDIA_ERROR || - call_med->dir == PJMEDIA_DIR_NONE) - { - continue; - } - - ref_m = local_sdp->media[i]; - m = new_sdp->media[i]; - - /* Verify that media must be active. */ - pj_assert(ref_m->desc.port); - - while (j < m->desc.fmt_count) { - pjmedia_sdp_attr *a; - pj_str_t *fmt = &m->desc.fmt[j]; - - if (is_non_av_fmt(m, fmt) || (++codec_cnt == 1)) { - ++j; - continue; - } - - /* Remove format */ - a = pjmedia_sdp_attr_find2(m->attr_count, m->attr, "rtpmap", fmt); - if (a) pjmedia_sdp_attr_remove(&m->attr_count, m->attr, a); - a = pjmedia_sdp_attr_find2(m->attr_count, m->attr, "fmtp", fmt); - if (a) pjmedia_sdp_attr_remove(&m->attr_count, m->attr, a); - pj_array_erase(m->desc.fmt, sizeof(m->desc.fmt[0]), - m->desc.fmt_count, j); - --m->desc.fmt_count; - } - - need_lock_codec |= (ref_m->desc.fmt_count > m->desc.fmt_count); - } - - /* Last check if SDP trully needs to be updated. It is possible that OA - * negotiations have completed and SDP has changed but we didn't - * increase the SDP version (should not happen!). - */ - if (!need_lock_codec) - return PJ_SUCCESS; - - /* Send UPDATE or re-INVITE */ - rem_can_update = pjsip_dlg_remote_has_cap(call->inv->dlg, - PJSIP_H_ALLOW, - NULL, &STR_UPDATE) == - PJSIP_DIALOG_CAP_SUPPORTED; - if (rem_can_update) { - status = pjsip_inv_update(call->inv, NULL, new_sdp, &tdata); - } else { - status = pjsip_inv_reinvite(call->inv, NULL, new_sdp, &tdata); - } - - if (status==PJ_EINVALIDOP && - ++call->lock_codec.retry_cnt <= LOCK_CODEC_MAX_RETRY) - { - /* Ups, let's reschedule again */ - pj_time_val delay = {0, LOCK_CODEC_RETRY_INTERVAL}; - pj_time_val_normalize(&delay); - call->lock_codec.reinv_timer.id = PJ_TRUE; - pjsip_endpt_schedule_timer(pjsua_var.endpt, - &call->lock_codec.reinv_timer, &delay); - return status; - } else if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error creating UPDATE/re-INVITE to lock codec", - status); - return status; - } - - /* Send the UPDATE/re-INVITE request */ - status = pjsip_inv_send_msg(call->inv, tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error sending UPDATE/re-INVITE in lock codec", - status); - return status; - } - - return status; -} - -/* Check if remote answerer has given us more than one codecs. If so, - * create another offer with one codec only to lock down the codec. - */ -static pj_status_t lock_codec(pjsua_call *call) -{ - pjsip_inv_session *inv = call->inv; - const pjmedia_sdp_session *local_sdp, *remote_sdp; - pj_time_val delay = {0, 0}; - const pj_str_t st_update = {"UPDATE", 6}; - unsigned i; - pj_bool_t has_mult_fmt = PJ_FALSE; - pj_status_t status; - - /* Stop lock codec timer, if it is active */ - if (call->lock_codec.reinv_timer.id) { - pjsip_endpt_cancel_timer(pjsua_var.endpt, - &call->lock_codec.reinv_timer); - call->lock_codec.reinv_timer.id = PJ_FALSE; - } - - /* Skip this if we are the answerer */ - if (!inv->neg || !pjmedia_sdp_neg_was_answer_remote(inv->neg)) { - return PJ_SUCCESS; - } - - /* Delay this when the SDP negotiation done in call state EARLY and - * remote does not support UPDATE method. - */ - if (inv->state == PJSIP_INV_STATE_EARLY && - pjsip_dlg_remote_has_cap(inv->dlg, PJSIP_H_ALLOW, NULL, &st_update)!= - PJSIP_DIALOG_CAP_SUPPORTED) - { - call->lock_codec.pending = PJ_TRUE; - return PJ_SUCCESS; - } - - status = pjmedia_sdp_neg_get_active_local(inv->neg, &local_sdp); - if (status != PJ_SUCCESS) - return status; - status = pjmedia_sdp_neg_get_active_remote(inv->neg, &remote_sdp); - if (status != PJ_SUCCESS) - return status; - - /* Find multiple codecs answer in all media */ - for (i = 0; i < call->med_cnt; ++i) { - pjsua_call_media *call_med = &call->media[i]; - const pjmedia_sdp_media *rem_m, *loc_m; - unsigned codec_cnt = 0; - - /* Skip this if the media is inactive or error */ - if (call_med->state == PJSUA_CALL_MEDIA_NONE || - call_med->state == PJSUA_CALL_MEDIA_ERROR || - call_med->dir == PJMEDIA_DIR_NONE) - { - continue; - } - - /* Remote may answer with less media lines. */ - if (i >= remote_sdp->media_count) - continue; - - rem_m = remote_sdp->media[i]; - loc_m = local_sdp->media[i]; - - /* Verify that media must be active. */ - pj_assert(loc_m->desc.port && rem_m->desc.port); - - /* Count the formats in the answer. */ - if (rem_m->desc.fmt_count==1) { - codec_cnt = 1; - } else { - unsigned j; - for (j=0; jdesc.fmt_count && codec_cnt <= 1; ++j) { - if (!is_non_av_fmt(rem_m, &rem_m->desc.fmt[j])) - ++codec_cnt; - } - } - - if (codec_cnt > 1) { - has_mult_fmt = PJ_TRUE; - break; - } - } - - /* Each media in the answer already contains single codec. */ - if (!has_mult_fmt) { - call->lock_codec.retry_cnt = 0; - return PJ_SUCCESS; - } - - /* Remote keeps answering with multiple codecs, let's just give up - * locking codec to avoid infinite retry loop. - */ - if (++call->lock_codec.retry_cnt > LOCK_CODEC_MAX_RETRY) - return PJ_SUCCESS; - - PJ_LOG(4, (THIS_FILE, "Got answer with multiple codecs, scheduling " - "updating media session to use only one codec..")); - - call->lock_codec.sdp_ver = local_sdp->origin.version; - - /* Can't send UPDATE or re-INVITE now, so just schedule it immediately. - * See: https://trac.pjsip.org/repos/ticket/1149 - */ - pj_timer_entry_init(&call->lock_codec.reinv_timer, PJ_TRUE, - (void*)(pj_size_t)call->index, - &reinv_timer_cb); - pjsip_endpt_schedule_timer(pjsua_var.endpt, - &call->lock_codec.reinv_timer, &delay); - - return PJ_SUCCESS; -} - -/* - * This callback receives notification from invite session when the - * session state has changed. - */ -static void pjsua_call_on_state_changed(pjsip_inv_session *inv, - pjsip_event *e) -{ - pjsua_call *call; - - pj_log_push_indent(); - - call = (pjsua_call*) inv->dlg->mod_data[pjsua_var.mod.id]; - - if (!call) { - pj_log_pop_indent(); - return; - } - - - /* Get call times */ - switch (inv->state) { - case PJSIP_INV_STATE_EARLY: - case PJSIP_INV_STATE_CONNECTING: - if (call->res_time.sec == 0) - pj_gettimeofday(&call->res_time); - call->last_code = (pjsip_status_code) - e->body.tsx_state.tsx->status_code; - pj_strncpy(&call->last_text, - &e->body.tsx_state.tsx->status_text, - sizeof(call->last_text_buf_)); - break; - case PJSIP_INV_STATE_CONFIRMED: - pj_gettimeofday(&call->conn_time); - - /* See if lock codec was pended as media update was done in the - * EARLY state and remote does not support UPDATE. - */ - if (call->lock_codec.pending) { - pj_status_t status; - status = lock_codec(call); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to lock codec", status); - } - call->lock_codec.pending = PJ_FALSE; - } - break; - case PJSIP_INV_STATE_DISCONNECTED: - pj_gettimeofday(&call->dis_time); - if (call->res_time.sec == 0) - pj_gettimeofday(&call->res_time); - if (e->type == PJSIP_EVENT_TSX_STATE && - e->body.tsx_state.tsx->status_code > call->last_code) - { - call->last_code = (pjsip_status_code) - e->body.tsx_state.tsx->status_code; - pj_strncpy(&call->last_text, - &e->body.tsx_state.tsx->status_text, - sizeof(call->last_text_buf_)); - } else { - call->last_code = PJSIP_SC_REQUEST_TERMINATED; - pj_strncpy(&call->last_text, - pjsip_get_status_text(call->last_code), - sizeof(call->last_text_buf_)); - } - - /* Stop lock codec timer, if it is active */ - if (call->lock_codec.reinv_timer.id) { - pjsip_endpt_cancel_timer(pjsua_var.endpt, - &call->lock_codec.reinv_timer); - call->lock_codec.reinv_timer.id = PJ_FALSE; - } - break; - default: - call->last_code = (pjsip_status_code) - e->body.tsx_state.tsx->status_code; - pj_strncpy(&call->last_text, - &e->body.tsx_state.tsx->status_text, - sizeof(call->last_text_buf_)); - break; - } - - /* If this is an outgoing INVITE that was created because of - * REFER/transfer, send NOTIFY to transferer. - */ - if (call->xfer_sub && e->type==PJSIP_EVENT_TSX_STATE) { - int st_code = -1; - pjsip_evsub_state ev_state = PJSIP_EVSUB_STATE_ACTIVE; - - - switch (call->inv->state) { - case PJSIP_INV_STATE_NULL: - case PJSIP_INV_STATE_CALLING: - /* Do nothing */ - break; - - case PJSIP_INV_STATE_EARLY: - case PJSIP_INV_STATE_CONNECTING: - st_code = e->body.tsx_state.tsx->status_code; - if (call->inv->state == PJSIP_INV_STATE_CONNECTING) - ev_state = PJSIP_EVSUB_STATE_TERMINATED; - else - ev_state = PJSIP_EVSUB_STATE_ACTIVE; - break; - - case PJSIP_INV_STATE_CONFIRMED: -#if 0 -/* We don't need this, as we've terminated the subscription in - * CONNECTING state. - */ - /* When state is confirmed, send the final 200/OK and terminate - * subscription. - */ - st_code = e->body.tsx_state.tsx->status_code; - ev_state = PJSIP_EVSUB_STATE_TERMINATED; -#endif - break; - - case PJSIP_INV_STATE_DISCONNECTED: - st_code = e->body.tsx_state.tsx->status_code; - ev_state = PJSIP_EVSUB_STATE_TERMINATED; - break; - - case PJSIP_INV_STATE_INCOMING: - /* Nothing to do. Just to keep gcc from complaining about - * unused enums. - */ - break; - } - - if (st_code != -1) { - pjsip_tx_data *tdata; - pj_status_t status; - - status = pjsip_xfer_notify( call->xfer_sub, - ev_state, st_code, - NULL, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create NOTIFY", status); - } else { - status = pjsip_xfer_send_request(call->xfer_sub, tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to send NOTIFY", status); - } - } - } - } - - - if (pjsua_var.ua_cfg.cb.on_call_state) - (*pjsua_var.ua_cfg.cb.on_call_state)(call->index, e); - - /* call->inv may be NULL now */ - - /* Destroy media session when invite session is disconnected. */ - if (inv->state == PJSIP_INV_STATE_DISCONNECTED) { - - PJSUA_LOCK(); - - pjsua_media_channel_deinit(call->index); - - /* Free call */ - call->inv = NULL; - - pj_assert(pjsua_var.call_cnt > 0); - --pjsua_var.call_cnt; - - /* Reset call */ - reset_call(call->index); - - PJSUA_UNLOCK(); - } - pj_log_pop_indent(); -} - -/* - * This callback is called by invite session framework when UAC session - * has forked. - */ -static void pjsua_call_on_forked( pjsip_inv_session *inv, - pjsip_event *e) -{ - PJ_UNUSED_ARG(inv); - PJ_UNUSED_ARG(e); - - PJ_TODO(HANDLE_FORKED_DIALOG); -} - - -/* - * Callback from UA layer when forked dialog response is received. - */ -pjsip_dialog* on_dlg_forked(pjsip_dialog *dlg, pjsip_rx_data *res) -{ - if (dlg->uac_has_2xx && - res->msg_info.cseq->method.id == PJSIP_INVITE_METHOD && - pjsip_rdata_get_tsx(res) == NULL && - res->msg_info.msg->line.status.code/100 == 2) - { - pjsip_dialog *forked_dlg; - pjsip_tx_data *bye; - pj_status_t status; - - /* Create forked dialog */ - status = pjsip_dlg_fork(dlg, res, &forked_dlg); - if (status != PJ_SUCCESS) - return NULL; - - pjsip_dlg_inc_lock(forked_dlg); - - /* Disconnect the call */ - status = pjsip_dlg_create_request(forked_dlg, &pjsip_bye_method, - -1, &bye); - if (status == PJ_SUCCESS) { - status = pjsip_dlg_send_request(forked_dlg, bye, -1, NULL); - } - - pjsip_dlg_dec_lock(forked_dlg); - - if (status != PJ_SUCCESS) { - return NULL; - } - - return forked_dlg; - - } else { - return dlg; - } -} - -/* - * Disconnect call upon error. - */ -static void call_disconnect( pjsip_inv_session *inv, - int code ) -{ - pjsua_call *call; - pjsip_tx_data *tdata; - pj_status_t status; - - call = (pjsua_call*) inv->dlg->mod_data[pjsua_var.mod.id]; - - status = pjsip_inv_end_session(inv, code, NULL, &tdata); - if (status != PJ_SUCCESS) - return; - - /* Add SDP in 488 status */ -#if DISABLED_FOR_TICKET_1185 - if (call && call->tp && tdata->msg->type==PJSIP_RESPONSE_MSG && - code==PJSIP_SC_NOT_ACCEPTABLE_HERE) - { - pjmedia_sdp_session *local_sdp; - pjmedia_transport_info ti; - - pjmedia_transport_info_init(&ti); - pjmedia_transport_get_info(call->med_tp, &ti); - status = pjmedia_endpt_create_sdp(pjsua_var.med_endpt, tdata->pool, - 1, &ti.sock_info, &local_sdp); - if (status == PJ_SUCCESS) { - pjsip_create_sdp_body(tdata->pool, local_sdp, - &tdata->msg->body); - } - } -#endif - - pjsip_inv_send_msg(inv, tdata); -} - -/* - * Callback to be called when SDP offer/answer negotiation has just completed - * in the session. This function will start/update media if negotiation - * has succeeded. - */ -static void pjsua_call_on_media_update(pjsip_inv_session *inv, - pj_status_t status) -{ - pjsua_call *call; - const pjmedia_sdp_session *local_sdp; - const pjmedia_sdp_session *remote_sdp; - //const pj_str_t st_update = {"UPDATE", 6}; - - pj_log_push_indent(); - - call = (pjsua_call*) inv->dlg->mod_data[pjsua_var.mod.id]; - - if (status != PJ_SUCCESS) { - - pjsua_perror(THIS_FILE, "SDP negotiation has failed", status); - - /* Clean up provisional media */ - pjsua_media_prov_clean_up(call->index); - - /* Do not deinitialize media since this may be a re-INVITE or - * UPDATE (which in this case the media should not get affected - * by the failed re-INVITE/UPDATE). The media will be shutdown - * when call is disconnected anyway. - */ - /* Stop/destroy media, if any */ - /*pjsua_media_channel_deinit(call->index);*/ - - /* Disconnect call if we're not in the middle of initializing an - * UAS dialog and if this is not a re-INVITE - */ - if (inv->state != PJSIP_INV_STATE_NULL && - inv->state != PJSIP_INV_STATE_CONFIRMED) - { - call_disconnect(inv, PJSIP_SC_UNSUPPORTED_MEDIA_TYPE); - } - - goto on_return; - } - - - /* Get local and remote SDP */ - status = pjmedia_sdp_neg_get_active_local(call->inv->neg, &local_sdp); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, - "Unable to retrieve currently active local SDP", - status); - //call_disconnect(inv, PJSIP_SC_UNSUPPORTED_MEDIA_TYPE); - goto on_return; - } - - status = pjmedia_sdp_neg_get_active_remote(call->inv->neg, &remote_sdp); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, - "Unable to retrieve currently active remote SDP", - status); - //call_disconnect(inv, PJSIP_SC_UNSUPPORTED_MEDIA_TYPE); - goto on_return; - } - - /* Update remote's NAT type */ - if (pjsua_var.ua_cfg.nat_type_in_sdp) { - update_remote_nat_type(call, remote_sdp); - } - - /* Update media channel with the new SDP */ - status = pjsua_media_channel_update(call->index, local_sdp, remote_sdp); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create media session", - status); - call_disconnect(inv, PJSIP_SC_NOT_ACCEPTABLE_HERE); - /* No need to deinitialize; media will be shutdown when call - * state is disconnected anyway. - */ - /*pjsua_media_channel_deinit(call->index);*/ - goto on_return; - } - - /* Ticket #476: make sure only one codec is specified in the answer. */ - status = lock_codec(call); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to lock codec", status); - } - - /* Call application callback, if any */ - if (pjsua_var.ua_cfg.cb.on_call_media_state) - pjsua_var.ua_cfg.cb.on_call_media_state(call->index); - -on_return: - pj_log_pop_indent(); -} - - -/* Modify SDP for call hold. */ -static pj_status_t modify_sdp_of_call_hold(pjsua_call *call, - pj_pool_t *pool, - pjmedia_sdp_session *sdp) -{ - unsigned mi; - - /* Call-hold is done by set the media direction to 'sendonly' - * (PJMEDIA_DIR_ENCODING), except when current media direction is - * 'inactive' (PJMEDIA_DIR_NONE). - * (See RFC 3264 Section 8.4 and RFC 4317 Section 3.1) - */ - /* http://trac.pjsip.org/repos/ticket/880 - if (call->dir != PJMEDIA_DIR_ENCODING) { - */ - /* https://trac.pjsip.org/repos/ticket/1142: - * configuration to use c=0.0.0.0 for call hold. - */ - - for (mi=0; mimedia_count; ++mi) { - pjmedia_sdp_media *m = sdp->media[mi]; - - if (call->call_hold_type == PJSUA_CALL_HOLD_TYPE_RFC2543) { - pjmedia_sdp_conn *conn; - pjmedia_sdp_attr *attr; - - /* Get SDP media connection line */ - conn = m->conn; - if (!conn) - conn = sdp->conn; - - /* Modify address */ - conn->addr = pj_str("0.0.0.0"); - - /* Remove existing directions attributes */ - pjmedia_sdp_media_remove_all_attr(m, "sendrecv"); - pjmedia_sdp_media_remove_all_attr(m, "sendonly"); - pjmedia_sdp_media_remove_all_attr(m, "recvonly"); - pjmedia_sdp_media_remove_all_attr(m, "inactive"); - - /* Add inactive attribute */ - attr = pjmedia_sdp_attr_create(pool, "inactive", NULL); - pjmedia_sdp_media_add_attr(m, attr); - - - } else { - pjmedia_sdp_attr *attr; - - /* Remove existing directions attributes */ - pjmedia_sdp_media_remove_all_attr(m, "sendrecv"); - pjmedia_sdp_media_remove_all_attr(m, "sendonly"); - pjmedia_sdp_media_remove_all_attr(m, "recvonly"); - pjmedia_sdp_media_remove_all_attr(m, "inactive"); - - if (call->media[mi].dir & PJMEDIA_DIR_ENCODING) { - /* Add sendonly attribute */ - attr = pjmedia_sdp_attr_create(pool, "sendonly", NULL); - pjmedia_sdp_media_add_attr(m, attr); - } else { - /* Add inactive attribute */ - attr = pjmedia_sdp_attr_create(pool, "inactive", NULL); - pjmedia_sdp_media_add_attr(m, attr); - } - } - } - - return PJ_SUCCESS; -} - -/* Create SDP for call hold. */ -static pj_status_t create_sdp_of_call_hold(pjsua_call *call, - pjmedia_sdp_session **p_sdp) -{ - pj_status_t status; - pj_pool_t *pool; - pjmedia_sdp_session *sdp; - - /* Use call's provisional pool */ - pool = call->inv->pool_prov; - - /* Create new offer */ - status = pjsua_media_channel_create_sdp(call->index, pool, NULL, &sdp, - NULL); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create local SDP", status); - return status; - } - - status = modify_sdp_of_call_hold(call, pool, sdp); - if (status != PJ_SUCCESS) - return status; - - *p_sdp = sdp; - - return PJ_SUCCESS; -} - -/* - * Called when session received new offer. - */ -static void pjsua_call_on_rx_offer(pjsip_inv_session *inv, - const pjmedia_sdp_session *offer) -{ - pjsua_call *call; - pjmedia_sdp_session *answer; - unsigned i; - pj_status_t status; - - call = (pjsua_call*) inv->dlg->mod_data[pjsua_var.mod.id]; - - /* Supply candidate answer */ - PJ_LOG(4,(THIS_FILE, "Call %d: received updated media offer", - call->index)); - pj_log_push_indent(); - - if (pjsua_var.ua_cfg.cb.on_call_rx_offer) { - pjsip_status_code code = PJSIP_SC_OK; - pjsua_call_setting opt = call->opt; - - (*pjsua_var.ua_cfg.cb.on_call_rx_offer)(call->index, offer, NULL, - &code, &opt); - - if (code != PJSIP_SC_OK) { - PJ_LOG(4,(THIS_FILE, "Rejecting updated media offer on call %d", - call->index)); - goto on_return; - } - - call->opt = opt; - } - - /* Re-init media for the new remote offer before creating SDP */ - status = apply_call_setting(call, &call->opt, offer); - if (status != PJ_SUCCESS) - goto on_return; - - status = pjsua_media_channel_create_sdp(call->index, - call->inv->pool_prov, - offer, &answer, NULL); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create local SDP", status); - goto on_return; - } - - /* Validate media count in the generated answer */ - pj_assert(answer->media_count == offer->media_count); - - /* Check if offer's conn address is zero */ - for (i = 0; i < answer->media_count; ++i) { - pjmedia_sdp_conn *conn; - - conn = offer->media[i]->conn; - if (!conn) - conn = offer->conn; - - if (pj_strcmp2(&conn->addr, "0.0.0.0")==0 || - pj_strcmp2(&conn->addr, "0")==0) - { - pjmedia_sdp_conn *a_conn = answer->media[i]->conn; - - /* Modify answer address */ - if (a_conn) { - a_conn->addr = pj_str("0.0.0.0"); - } else if (answer->conn == NULL || - pj_strcmp2(&answer->conn->addr, "0.0.0.0") != 0) - { - a_conn = PJ_POOL_ZALLOC_T(call->inv->pool_prov, - pjmedia_sdp_conn); - a_conn->net_type = pj_str("IN"); - a_conn->addr_type = pj_str("IP4"); - a_conn->addr = pj_str("0.0.0.0"); - answer->media[i]->conn = a_conn; - } - } - } - - /* Check if call is on-hold */ - if (call->local_hold) { - modify_sdp_of_call_hold(call, call->inv->pool_prov, answer); - } - - status = pjsip_inv_set_sdp_answer(call->inv, answer); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to set answer", status); - goto on_return; - } - -on_return: - pj_log_pop_indent(); -} - - -/* - * Called to generate new offer. - */ -static void pjsua_call_on_create_offer(pjsip_inv_session *inv, - pjmedia_sdp_session **offer) -{ - pjsua_call *call; - pj_status_t status; - - pj_log_push_indent(); - - call = (pjsua_call*) inv->dlg->mod_data[pjsua_var.mod.id]; - - /* See if we've put call on hold. */ - if (call->local_hold) { - PJ_LOG(4,(THIS_FILE, - "Call %d: call is on-hold locally, creating call-hold SDP ", - call->index)); - status = create_sdp_of_call_hold( call, offer ); - } else { - PJ_LOG(4,(THIS_FILE, "Call %d: asked to send a new offer", - call->index)); - - status = pjsua_media_channel_create_sdp(call->index, - call->inv->pool_prov, - NULL, offer, NULL); - } - - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create local SDP", status); - goto on_return; - } - -on_return: - pj_log_pop_indent(); -} - - -/* - * Callback called by event framework when the xfer subscription state - * has changed. - */ -static void xfer_client_on_evsub_state( pjsip_evsub *sub, pjsip_event *event) -{ - - PJ_UNUSED_ARG(event); - - pj_log_push_indent(); - - /* - * When subscription is accepted (got 200/OK to REFER), check if - * subscription suppressed. - */ - if (pjsip_evsub_get_state(sub) == PJSIP_EVSUB_STATE_ACCEPTED) { - - pjsip_rx_data *rdata; - pjsip_generic_string_hdr *refer_sub; - const pj_str_t REFER_SUB = { "Refer-Sub", 9 }; - pjsua_call *call; - - call = (pjsua_call*) pjsip_evsub_get_mod_data(sub, pjsua_var.mod.id); - - /* Must be receipt of response message */ - pj_assert(event->type == PJSIP_EVENT_TSX_STATE && - event->body.tsx_state.type == PJSIP_EVENT_RX_MSG); - rdata = event->body.tsx_state.src.rdata; - - /* Find Refer-Sub header */ - refer_sub = (pjsip_generic_string_hdr*) - pjsip_msg_find_hdr_by_name(rdata->msg_info.msg, - &REFER_SUB, NULL); - - /* Check if subscription is suppressed */ - if (refer_sub && pj_stricmp2(&refer_sub->hvalue, "false")==0) { - /* Since no subscription is desired, assume that call has been - * transfered successfully. - */ - if (call && pjsua_var.ua_cfg.cb.on_call_transfer_status) { - const pj_str_t ACCEPTED = { "Accepted", 8 }; - pj_bool_t cont = PJ_FALSE; - (*pjsua_var.ua_cfg.cb.on_call_transfer_status)(call->index, - 200, - &ACCEPTED, - PJ_TRUE, - &cont); - } - - /* Yes, subscription is suppressed. - * Terminate our subscription now. - */ - PJ_LOG(4,(THIS_FILE, "Xfer subscription suppressed, terminating " - "event subcription...")); - pjsip_evsub_terminate(sub, PJ_TRUE); - - } else { - /* Notify application about call transfer progress. - * Initially notify with 100/Accepted status. - */ - if (call && pjsua_var.ua_cfg.cb.on_call_transfer_status) { - const pj_str_t ACCEPTED = { "Accepted", 8 }; - pj_bool_t cont = PJ_FALSE; - (*pjsua_var.ua_cfg.cb.on_call_transfer_status)(call->index, - 100, - &ACCEPTED, - PJ_FALSE, - &cont); - } - } - } - /* - * On incoming NOTIFY, notify application about call transfer progress. - */ - else if (pjsip_evsub_get_state(sub) == PJSIP_EVSUB_STATE_ACTIVE || - pjsip_evsub_get_state(sub) == PJSIP_EVSUB_STATE_TERMINATED) - { - pjsua_call *call; - pjsip_msg *msg; - pjsip_msg_body *body; - pjsip_status_line status_line; - pj_bool_t is_last; - pj_bool_t cont; - pj_status_t status; - - call = (pjsua_call*) pjsip_evsub_get_mod_data(sub, pjsua_var.mod.id); - - /* When subscription is terminated, clear the xfer_sub member of - * the inv_data. - */ - if (pjsip_evsub_get_state(sub) == PJSIP_EVSUB_STATE_TERMINATED) { - pjsip_evsub_set_mod_data(sub, pjsua_var.mod.id, NULL); - PJ_LOG(4,(THIS_FILE, "Xfer client subscription terminated")); - - } - - if (!call || !event || !pjsua_var.ua_cfg.cb.on_call_transfer_status) { - /* Application is not interested with call progress status */ - goto on_return; - } - - /* This better be a NOTIFY request */ - if (event->type == PJSIP_EVENT_TSX_STATE && - event->body.tsx_state.type == PJSIP_EVENT_RX_MSG) - { - pjsip_rx_data *rdata; - - rdata = event->body.tsx_state.src.rdata; - - /* Check if there's body */ - msg = rdata->msg_info.msg; - body = msg->body; - if (!body) { - PJ_LOG(2,(THIS_FILE, - "Warning: received NOTIFY without message body")); - goto on_return; - } - - /* Check for appropriate content */ - if (pj_stricmp2(&body->content_type.type, "message") != 0 || - pj_stricmp2(&body->content_type.subtype, "sipfrag") != 0) - { - PJ_LOG(2,(THIS_FILE, - "Warning: received NOTIFY with non message/sipfrag " - "content")); - goto on_return; - } - - /* Try to parse the content */ - status = pjsip_parse_status_line((char*)body->data, body->len, - &status_line); - if (status != PJ_SUCCESS) { - PJ_LOG(2,(THIS_FILE, - "Warning: received NOTIFY with invalid " - "message/sipfrag content")); - goto on_return; - } - - } else { - status_line.code = 500; - status_line.reason = *pjsip_get_status_text(500); - } - - /* Notify application */ - is_last = (pjsip_evsub_get_state(sub)==PJSIP_EVSUB_STATE_TERMINATED); - cont = !is_last; - (*pjsua_var.ua_cfg.cb.on_call_transfer_status)(call->index, - status_line.code, - &status_line.reason, - is_last, &cont); - - if (!cont) { - pjsip_evsub_set_mod_data(sub, pjsua_var.mod.id, NULL); - } - - /* If the call transfer has completed but the subscription is - * not terminated, terminate it now. - */ - if (status_line.code/100 == 2 && !is_last) { - pjsip_tx_data *tdata; - - status = pjsip_evsub_initiate(sub, &pjsip_subscribe_method, - 0, &tdata); - if (status == PJ_SUCCESS) - status = pjsip_evsub_send_request(sub, tdata); - } - } - -on_return: - pj_log_pop_indent(); -} - - -/* - * Callback called by event framework when the xfer subscription state - * has changed. - */ -static void xfer_server_on_evsub_state( pjsip_evsub *sub, pjsip_event *event) -{ - PJ_UNUSED_ARG(event); - - pj_log_push_indent(); - - /* - * When subscription is terminated, clear the xfer_sub member of - * the inv_data. - */ - if (pjsip_evsub_get_state(sub) == PJSIP_EVSUB_STATE_TERMINATED) { - pjsua_call *call; - - call = (pjsua_call*) pjsip_evsub_get_mod_data(sub, pjsua_var.mod.id); - if (!call) - goto on_return; - - pjsip_evsub_set_mod_data(sub, pjsua_var.mod.id, NULL); - call->xfer_sub = NULL; - - PJ_LOG(4,(THIS_FILE, "Xfer server subscription terminated")); - } - -on_return: - pj_log_pop_indent(); -} - - -/* - * Follow transfer (REFER) request. - */ -static void on_call_transfered( pjsip_inv_session *inv, - pjsip_rx_data *rdata ) -{ - pj_status_t status; - pjsip_tx_data *tdata; - pjsua_call *existing_call; - int new_call; - const pj_str_t str_refer_to = { "Refer-To", 8}; - const pj_str_t str_refer_sub = { "Refer-Sub", 9 }; - const pj_str_t str_ref_by = { "Referred-By", 11 }; - pjsip_generic_string_hdr *refer_to; - pjsip_generic_string_hdr *refer_sub; - pjsip_hdr *ref_by_hdr; - pj_bool_t no_refer_sub = PJ_FALSE; - char *uri; - pjsua_msg_data msg_data; - pj_str_t tmp; - pjsip_status_code code; - pjsip_evsub *sub; - pjsua_call_setting call_opt; - - pj_log_push_indent(); - - existing_call = (pjsua_call*) inv->dlg->mod_data[pjsua_var.mod.id]; - - /* Find the Refer-To header */ - refer_to = (pjsip_generic_string_hdr*) - pjsip_msg_find_hdr_by_name(rdata->msg_info.msg, &str_refer_to, NULL); - - if (refer_to == NULL) { - /* Invalid Request. - * No Refer-To header! - */ - PJ_LOG(4,(THIS_FILE, "Received REFER without Refer-To header!")); - pjsip_dlg_respond( inv->dlg, rdata, 400, NULL, NULL, NULL); - goto on_return; - } - - /* Find optional Refer-Sub header */ - refer_sub = (pjsip_generic_string_hdr*) - pjsip_msg_find_hdr_by_name(rdata->msg_info.msg, &str_refer_sub, NULL); - - if (refer_sub) { - if (!pj_strnicmp2(&refer_sub->hvalue, "true", 4)==0) - no_refer_sub = PJ_TRUE; - } - - /* Find optional Referred-By header (to be copied onto outgoing INVITE - * request. - */ - ref_by_hdr = (pjsip_hdr*) - pjsip_msg_find_hdr_by_name(rdata->msg_info.msg, &str_ref_by, - NULL); - - /* Notify callback */ - code = PJSIP_SC_ACCEPTED; - if (pjsua_var.ua_cfg.cb.on_call_transfer_request) { - (*pjsua_var.ua_cfg.cb.on_call_transfer_request)(existing_call->index, - &refer_to->hvalue, - &code); - } - - call_opt = existing_call->opt; - if (pjsua_var.ua_cfg.cb.on_call_transfer_request2) { - (*pjsua_var.ua_cfg.cb.on_call_transfer_request2)(existing_call->index, - &refer_to->hvalue, - &code, - &call_opt); - } - - if (code < 200) - code = PJSIP_SC_ACCEPTED; - if (code >= 300) { - /* Application rejects call transfer request */ - pjsip_dlg_respond( inv->dlg, rdata, code, NULL, NULL, NULL); - goto on_return; - } - - PJ_LOG(3,(THIS_FILE, "Call to %.*s is being transfered to %.*s", - (int)inv->dlg->remote.info_str.slen, - inv->dlg->remote.info_str.ptr, - (int)refer_to->hvalue.slen, - refer_to->hvalue.ptr)); - - if (no_refer_sub) { - /* - * Always answer with 2xx. - */ - pjsip_tx_data *tdata; - const pj_str_t str_false = { "false", 5}; - pjsip_hdr *hdr; - - status = pjsip_dlg_create_response(inv->dlg, rdata, code, NULL, - &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create 2xx response to REFER", - status); - goto on_return; - } - - /* Add Refer-Sub header */ - hdr = (pjsip_hdr*) - pjsip_generic_string_hdr_create(tdata->pool, &str_refer_sub, - &str_false); - pjsip_msg_add_hdr(tdata->msg, hdr); - - - /* Send answer */ - status = pjsip_dlg_send_response(inv->dlg, pjsip_rdata_get_tsx(rdata), - tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create 2xx response to REFER", - status); - goto on_return; - } - - /* Don't have subscription */ - sub = NULL; - - } else { - struct pjsip_evsub_user xfer_cb; - pjsip_hdr hdr_list; - - /* Init callback */ - pj_bzero(&xfer_cb, sizeof(xfer_cb)); - xfer_cb.on_evsub_state = &xfer_server_on_evsub_state; - - /* Init additional header list to be sent with REFER response */ - pj_list_init(&hdr_list); - - /* Create transferee event subscription */ - status = pjsip_xfer_create_uas( inv->dlg, &xfer_cb, rdata, &sub); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create xfer uas", status); - pjsip_dlg_respond( inv->dlg, rdata, 500, NULL, NULL, NULL); - goto on_return; - } - - /* If there's Refer-Sub header and the value is "true", send back - * Refer-Sub in the response with value "true" too. - */ - if (refer_sub) { - const pj_str_t str_true = { "true", 4 }; - pjsip_hdr *hdr; - - hdr = (pjsip_hdr*) - pjsip_generic_string_hdr_create(inv->dlg->pool, - &str_refer_sub, - &str_true); - pj_list_push_back(&hdr_list, hdr); - - } - - /* Accept the REFER request, send 2xx. */ - pjsip_xfer_accept(sub, rdata, code, &hdr_list); - - /* Create initial NOTIFY request */ - status = pjsip_xfer_notify( sub, PJSIP_EVSUB_STATE_ACTIVE, - 100, NULL, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create NOTIFY to REFER", - status); - goto on_return; - } - - /* Send initial NOTIFY request */ - status = pjsip_xfer_send_request( sub, tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to send NOTIFY to REFER", status); - goto on_return; - } - } - - /* We're cheating here. - * We need to get a null terminated string from a pj_str_t. - * So grab the pointer from the hvalue and NULL terminate it, knowing - * that the NULL position will be occupied by a newline. - */ - uri = refer_to->hvalue.ptr; - uri[refer_to->hvalue.slen] = '\0'; - - /* Init msg_data */ - pjsua_msg_data_init(&msg_data); - - /* If Referred-By header is present in the REFER request, copy this - * to the outgoing INVITE request. - */ - if (ref_by_hdr != NULL) { - pjsip_hdr *dup = (pjsip_hdr*) - pjsip_hdr_clone(rdata->tp_info.pool, ref_by_hdr); - pj_list_push_back(&msg_data.hdr_list, dup); - } - - /* Now make the outgoing call. */ - tmp = pj_str(uri); - status = pjsua_call_make_call(existing_call->acc_id, &tmp, &call_opt, - existing_call->user_data, &msg_data, - &new_call); - if (status != PJ_SUCCESS) { - - /* Notify xferer about the error (if we have subscription) */ - if (sub) { - status = pjsip_xfer_notify(sub, PJSIP_EVSUB_STATE_TERMINATED, - 500, NULL, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create NOTIFY to REFER", - status); - goto on_return; - } - status = pjsip_xfer_send_request(sub, tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to send NOTIFY to REFER", - status); - goto on_return; - } - } - goto on_return; - } - - if (sub) { - /* Put the server subscription in inv_data. - * Subsequent state changed in pjsua_inv_on_state_changed() will be - * reported back to the server subscription. - */ - pjsua_var.calls[new_call].xfer_sub = sub; - - /* Put the invite_data in the subscription. */ - pjsip_evsub_set_mod_data(sub, pjsua_var.mod.id, - &pjsua_var.calls[new_call]); - } - -on_return: - pj_log_pop_indent(); -} - - - -/* - * This callback is called when transaction state has changed in INVITE - * session. We use this to trap: - * - incoming REFER request. - * - incoming MESSAGE request. - */ -static void pjsua_call_on_tsx_state_changed(pjsip_inv_session *inv, - pjsip_transaction *tsx, - pjsip_event *e) -{ - pjsua_call *call; - - pj_log_push_indent(); - - call = (pjsua_call*) inv->dlg->mod_data[pjsua_var.mod.id]; - - if (call == NULL) - goto on_return; - - if (call->inv == NULL) { - /* Shouldn't happen. It happens only when we don't terminate the - * server subscription caused by REFER after the call has been - * transfered (and this call has been disconnected), and we - * receive another REFER for this call. - */ - goto on_return; - } - - /* https://trac.pjsip.org/repos/ticket/1452: - * If a request is retried due to 401/407 challenge, don't process the - * transaction first but wait until we've retried it. - */ - if (tsx->role == PJSIP_ROLE_UAC && - (tsx->status_code==401 || tsx->status_code==407) && - tsx->last_tx && tsx->last_tx->auth_retry) - { - goto on_return; - } - - /* Notify application callback first */ - if (pjsua_var.ua_cfg.cb.on_call_tsx_state) { - (*pjsua_var.ua_cfg.cb.on_call_tsx_state)(call->index, tsx, e); - } - - if (tsx->role==PJSIP_ROLE_UAS && - tsx->state==PJSIP_TSX_STATE_TRYING && - pjsip_method_cmp(&tsx->method, pjsip_get_refer_method())==0) - { - /* - * Incoming REFER request. - */ - on_call_transfered(call->inv, e->body.tsx_state.src.rdata); - - } - else if (tsx->role==PJSIP_ROLE_UAS && - tsx->state==PJSIP_TSX_STATE_TRYING && - pjsip_method_cmp(&tsx->method, &pjsip_message_method)==0) - { - /* - * Incoming MESSAGE request! - */ - pjsip_rx_data *rdata; - pjsip_msg *msg; - pjsip_accept_hdr *accept_hdr; - pj_status_t status; - - rdata = e->body.tsx_state.src.rdata; - msg = rdata->msg_info.msg; - - /* Request MUST have message body, with Content-Type equal to - * "text/plain". - */ - if (pjsua_im_accept_pager(rdata, &accept_hdr) == PJ_FALSE) { - - pjsip_hdr hdr_list; - - pj_list_init(&hdr_list); - pj_list_push_back(&hdr_list, accept_hdr); - - pjsip_dlg_respond( inv->dlg, rdata, PJSIP_SC_NOT_ACCEPTABLE_HERE, - NULL, &hdr_list, NULL ); - goto on_return; - } - - /* Respond with 200 first, so that remote doesn't retransmit in case - * the UI takes too long to process the message. - */ - status = pjsip_dlg_respond( inv->dlg, rdata, 200, NULL, NULL, NULL); - - /* Process MESSAGE request */ - pjsua_im_process_pager(call->index, &inv->dlg->remote.info_str, - &inv->dlg->local.info_str, rdata); - - } - else if (tsx->role == PJSIP_ROLE_UAC && - pjsip_method_cmp(&tsx->method, &pjsip_message_method)==0) - { - /* Handle outgoing pager status */ - if (tsx->status_code >= 200) { - pjsua_im_data *im_data; - - im_data = (pjsua_im_data*) tsx->mod_data[pjsua_var.mod.id]; - /* im_data can be NULL if this is typing indication */ - - if (im_data && pjsua_var.ua_cfg.cb.on_pager_status) { - pjsua_var.ua_cfg.cb.on_pager_status(im_data->call_id, - &im_data->to, - &im_data->body, - im_data->user_data, - (pjsip_status_code) - tsx->status_code, - &tsx->status_text); - } - } - } else if (tsx->role == PJSIP_ROLE_UAC && - tsx->last_tx == (pjsip_tx_data*)call->hold_msg && - tsx->state >= PJSIP_TSX_STATE_COMPLETED) - { - /* Monitor the status of call hold request */ - call->hold_msg = NULL; - if (tsx->status_code/100 != 2) { - /* Outgoing call hold failed */ - call->local_hold = PJ_FALSE; - PJ_LOG(3,(THIS_FILE, "Error putting call %d on hold (reason=%d)", - call->index, tsx->status_code)); - } - } else if (tsx->role==PJSIP_ROLE_UAS && - tsx->state==PJSIP_TSX_STATE_TRYING && - pjsip_method_cmp(&tsx->method, &pjsip_info_method)==0) - { - /* - * Incoming INFO request for media control. - */ - const pj_str_t STR_APPLICATION = { "application", 11}; - const pj_str_t STR_MEDIA_CONTROL_XML = { "media_control+xml", 17 }; - pjsip_rx_data *rdata = e->body.tsx_state.src.rdata; - pjsip_msg_body *body = rdata->msg_info.msg->body; - - if (body && body->len && - pj_stricmp(&body->content_type.type, &STR_APPLICATION)==0 && - pj_stricmp(&body->content_type.subtype, &STR_MEDIA_CONTROL_XML)==0) - { - pjsip_tx_data *tdata; - pj_str_t control_st; - pj_status_t status; - - /* Apply and answer the INFO request */ - pj_strset(&control_st, (char*)body->data, body->len); - status = pjsua_media_apply_xml_control(call->index, &control_st); - if (status == PJ_SUCCESS) { - status = pjsip_endpt_create_response(tsx->endpt, rdata, - 200, NULL, &tdata); - if (status == PJ_SUCCESS) - status = pjsip_tsx_send_msg(tsx, tdata); - } else { - status = pjsip_endpt_create_response(tsx->endpt, rdata, - 400, NULL, &tdata); - if (status == PJ_SUCCESS) - status = pjsip_tsx_send_msg(tsx, tdata); - } - } - } - -on_return: - pj_log_pop_indent(); -} - - -/* Redirection handler */ -static pjsip_redirect_op pjsua_call_on_redirected(pjsip_inv_session *inv, - const pjsip_uri *target, - const pjsip_event *e) -{ - pjsua_call *call = (pjsua_call*) inv->dlg->mod_data[pjsua_var.mod.id]; - pjsip_redirect_op op; - - pj_log_push_indent(); - - if (pjsua_var.ua_cfg.cb.on_call_redirected) { - op = (*pjsua_var.ua_cfg.cb.on_call_redirected)(call->index, - target, e); - } else { - PJ_LOG(4,(THIS_FILE, "Unhandled redirection for call %d " - "(callback not implemented by application). Disconnecting " - "call.", - call->index)); - op = PJSIP_REDIRECT_STOP; - } - - pj_log_pop_indent(); - - return op; -} - diff --git a/res/pjproject/pjsip/src/pjsua-lib/pjsua_core.c b/res/pjproject/pjsip/src/pjsua-lib/pjsua_core.c deleted file mode 100644 index 1e4bc7ff55..0000000000 --- a/res/pjproject/pjsip/src/pjsua-lib/pjsua_core.c +++ /dev/null @@ -1,2883 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - - -#define THIS_FILE "pjsua_core.c" - - -/* Internal prototypes */ -static void resolve_stun_entry(pjsua_stun_resolve *sess); - - -/* PJSUA application instance. */ -struct pjsua_data pjsua_var; - - -PJ_DEF(struct pjsua_data*) pjsua_get_var(void) -{ - return &pjsua_var; -} - - -/* Display error */ -PJ_DEF(void) pjsua_perror( const char *sender, const char *title, - pj_status_t status) -{ - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(1,(sender, "%s: %s [status=%d]", title, errmsg, status)); -} - - -static void init_data() -{ - unsigned i; - - pj_bzero(&pjsua_var, sizeof(pjsua_var)); - - for (i=0; imsg_logging = PJ_TRUE; - cfg->level = 5; - cfg->console_level = 4; - cfg->decor = PJ_LOG_HAS_SENDER | PJ_LOG_HAS_TIME | - PJ_LOG_HAS_MICRO_SEC | PJ_LOG_HAS_NEWLINE | - PJ_LOG_HAS_SPACE | PJ_LOG_HAS_THREAD_SWC | - PJ_LOG_HAS_INDENT; -#if defined(PJ_WIN32) && PJ_WIN32 != 0 - cfg->decor |= PJ_LOG_HAS_COLOR; -#endif -} - -PJ_DEF(void) pjsua_logging_config_dup(pj_pool_t *pool, - pjsua_logging_config *dst, - const pjsua_logging_config *src) -{ - pj_memcpy(dst, src, sizeof(*src)); - pj_strdup_with_null(pool, &dst->log_filename, &src->log_filename); -} - -PJ_DEF(void) pjsua_config_default(pjsua_config *cfg) -{ - pj_bzero(cfg, sizeof(*cfg)); - - cfg->max_calls = ((PJSUA_MAX_CALLS) < 4) ? (PJSUA_MAX_CALLS) : 4; - cfg->thread_cnt = 1; - cfg->nat_type_in_sdp = 1; - cfg->stun_ignore_failure = PJ_TRUE; - cfg->force_lr = PJ_TRUE; - cfg->enable_unsolicited_mwi = PJ_TRUE; - cfg->use_srtp = PJSUA_DEFAULT_USE_SRTP; - cfg->srtp_secure_signaling = PJSUA_DEFAULT_SRTP_SECURE_SIGNALING; - cfg->hangup_forked_call = PJ_TRUE; - - cfg->use_timer = PJSUA_SIP_TIMER_OPTIONAL; - pjsip_timer_setting_default(&cfg->timer_setting); -} - -PJ_DEF(void) pjsua_config_dup(pj_pool_t *pool, - pjsua_config *dst, - const pjsua_config *src) -{ - unsigned i; - - pj_memcpy(dst, src, sizeof(*src)); - - for (i=0; ioutbound_proxy_cnt; ++i) { - pj_strdup_with_null(pool, &dst->outbound_proxy[i], - &src->outbound_proxy[i]); - } - - for (i=0; icred_count; ++i) { - pjsip_cred_dup(pool, &dst->cred_info[i], &src->cred_info[i]); - } - - pj_strdup_with_null(pool, &dst->user_agent, &src->user_agent); - pj_strdup_with_null(pool, &dst->stun_domain, &src->stun_domain); - pj_strdup_with_null(pool, &dst->stun_host, &src->stun_host); - - for (i=0; istun_srv_cnt; ++i) { - pj_strdup_with_null(pool, &dst->stun_srv[i], &src->stun_srv[i]); - } -} - -PJ_DEF(void) pjsua_msg_data_init(pjsua_msg_data *msg_data) -{ - pj_bzero(msg_data, sizeof(*msg_data)); - pj_list_init(&msg_data->hdr_list); - pjsip_media_type_init(&msg_data->multipart_ctype, NULL, NULL); - pj_list_init(&msg_data->multipart_parts); -} - -PJ_DEF(pjsua_msg_data*) pjsua_msg_data_clone(pj_pool_t *pool, - const pjsua_msg_data *rhs) -{ - pjsua_msg_data *msg_data; - const pjsip_hdr *hdr; - const pjsip_multipart_part *mpart; - - PJ_ASSERT_RETURN(pool && rhs, NULL); - - msg_data = PJ_POOL_ZALLOC_T(pool, pjsua_msg_data); - PJ_ASSERT_RETURN(msg_data != NULL, NULL); - - pj_list_init(&msg_data->hdr_list); - hdr = rhs->hdr_list.next; - while (hdr != &rhs->hdr_list) { - pj_list_push_back(&msg_data->hdr_list, pjsip_hdr_clone(pool, hdr)); - hdr = hdr->next; - } - - pj_strdup(pool, &msg_data->content_type, &rhs->content_type); - pj_strdup(pool, &msg_data->msg_body, &rhs->msg_body); - - pjsip_media_type_cp(pool, &msg_data->multipart_ctype, - &rhs->multipart_ctype); - - pj_list_init(&msg_data->multipart_parts); - mpart = rhs->multipart_parts.next; - while (mpart != &rhs->multipart_parts) { - pj_list_push_back(&msg_data->multipart_parts, - pjsip_multipart_clone_part(pool, mpart)); - mpart = mpart->next; - } - - return msg_data; -} - -PJ_DEF(void) pjsua_transport_config_default(pjsua_transport_config *cfg) -{ - pj_bzero(cfg, sizeof(*cfg)); - pjsip_tls_setting_default(&cfg->tls_setting); -} - -PJ_DEF(void) pjsua_transport_config_dup(pj_pool_t *pool, - pjsua_transport_config *dst, - const pjsua_transport_config *src) -{ - PJ_UNUSED_ARG(pool); - pj_memcpy(dst, src, sizeof(*src)); -} - -PJ_DEF(void) pjsua_acc_config_default(pjsua_acc_config *cfg) -{ - pj_bzero(cfg, sizeof(*cfg)); - - cfg->reg_timeout = PJSUA_REG_INTERVAL; - cfg->reg_delay_before_refresh = PJSIP_REGISTER_CLIENT_DELAY_BEFORE_REFRESH; - cfg->unreg_timeout = PJSUA_UNREG_TIMEOUT; - pjsip_publishc_opt_default(&cfg->publish_opt); - cfg->unpublish_max_wait_time_msec = PJSUA_UNPUBLISH_MAX_WAIT_TIME_MSEC; - cfg->transport_id = PJSUA_INVALID_ID; - cfg->allow_contact_rewrite = PJ_TRUE; - cfg->require_100rel = pjsua_var.ua_cfg.require_100rel; - cfg->use_timer = pjsua_var.ua_cfg.use_timer; - cfg->timer_setting = pjsua_var.ua_cfg.timer_setting; - cfg->ka_interval = 15; - cfg->ka_data = pj_str("\r\n"); - cfg->vid_cap_dev = PJMEDIA_VID_DEFAULT_CAPTURE_DEV; - cfg->vid_rend_dev = PJMEDIA_VID_DEFAULT_RENDER_DEV; -#if PJMEDIA_HAS_VIDEO - pjmedia_vid_stream_rc_config_default(&cfg->vid_stream_rc_cfg); -#endif - pjsua_transport_config_default(&cfg->rtp_cfg); - cfg->use_srtp = pjsua_var.ua_cfg.use_srtp; - cfg->srtp_secure_signaling = pjsua_var.ua_cfg.srtp_secure_signaling; - cfg->srtp_optional_dup_offer = pjsua_var.ua_cfg.srtp_optional_dup_offer; - cfg->reg_retry_interval = PJSUA_REG_RETRY_INTERVAL; - cfg->contact_rewrite_method = PJSUA_CONTACT_REWRITE_METHOD; - cfg->use_rfc5626 = PJ_TRUE; - cfg->reg_use_proxy = PJSUA_REG_USE_OUTBOUND_PROXY | - PJSUA_REG_USE_ACC_PROXY; -#if defined(PJMEDIA_STREAM_ENABLE_KA) && PJMEDIA_STREAM_ENABLE_KA!=0 - cfg->use_stream_ka = (PJMEDIA_STREAM_ENABLE_KA != 0); -#endif - pj_list_init(&cfg->reg_hdr_list); - pj_list_init(&cfg->sub_hdr_list); - cfg->call_hold_type = PJSUA_CALL_HOLD_TYPE_DEFAULT; - cfg->register_on_acc_add = PJ_TRUE; -} - -PJ_DEF(void) pjsua_buddy_config_default(pjsua_buddy_config *cfg) -{ - pj_bzero(cfg, sizeof(*cfg)); -} - -PJ_DEF(void) pjsua_media_config_default(pjsua_media_config *cfg) -{ - pj_bzero(cfg, sizeof(*cfg)); - - cfg->clock_rate = PJSUA_DEFAULT_CLOCK_RATE; - cfg->snd_clock_rate = 0; - cfg->channel_count = 1; - cfg->audio_frame_ptime = PJSUA_DEFAULT_AUDIO_FRAME_PTIME; - cfg->max_media_ports = PJSUA_MAX_CONF_PORTS; - cfg->has_ioqueue = PJ_TRUE; - cfg->thread_cnt = 1; - cfg->quality = PJSUA_DEFAULT_CODEC_QUALITY; - cfg->ilbc_mode = PJSUA_DEFAULT_ILBC_MODE; - cfg->ec_tail_len = PJSUA_DEFAULT_EC_TAIL_LEN; - cfg->snd_rec_latency = PJMEDIA_SND_DEFAULT_REC_LATENCY; - cfg->snd_play_latency = PJMEDIA_SND_DEFAULT_PLAY_LATENCY; - cfg->jb_init = cfg->jb_min_pre = cfg->jb_max_pre = cfg->jb_max = -1; - cfg->snd_auto_close_time = 1; - - cfg->ice_max_host_cands = -1; - pj_ice_sess_options_default(&cfg->ice_opt); - - cfg->turn_conn_type = PJ_TURN_TP_UDP; - cfg->vid_preview_enable_native = PJ_TRUE; -} - -/***************************************************************************** - * This is a very simple PJSIP module, whose sole purpose is to display - * incoming and outgoing messages to log. This module will have priority - * higher than transport layer, which means: - * - * - incoming messages will come to this module first before reaching - * transaction layer. - * - * - outgoing messages will come to this module last, after the message - * has been 'printed' to contiguous buffer by transport layer and - * appropriate transport instance has been decided for this message. - * - */ - -/* Notification on incoming messages */ -static pj_bool_t logging_on_rx_msg(pjsip_rx_data *rdata) -{ - PJ_LOG(4,(THIS_FILE, "RX %d bytes %s from %s %s:%d:\n" - "%.*s\n" - "--end msg--", - rdata->msg_info.len, - pjsip_rx_data_get_info(rdata), - rdata->tp_info.transport->type_name, - rdata->pkt_info.src_name, - rdata->pkt_info.src_port, - (int)rdata->msg_info.len, - rdata->msg_info.msg_buf)); - - /* Always return false, otherwise messages will not get processed! */ - return PJ_FALSE; -} - -/* Notification on outgoing messages */ -static pj_status_t logging_on_tx_msg(pjsip_tx_data *tdata) -{ - - /* Important note: - * tp_info field is only valid after outgoing messages has passed - * transport layer. So don't try to access tp_info when the module - * has lower priority than transport layer. - */ - - PJ_LOG(4,(THIS_FILE, "TX %d bytes %s to %s %s:%d:\n" - "%.*s\n" - "--end msg--", - (tdata->buf.cur - tdata->buf.start), - pjsip_tx_data_get_info(tdata), - tdata->tp_info.transport->type_name, - tdata->tp_info.dst_name, - tdata->tp_info.dst_port, - (int)(tdata->buf.cur - tdata->buf.start), - tdata->buf.start)); - - /* Always return success, otherwise message will not get sent! */ - return PJ_SUCCESS; -} - -/* The module instance. */ -static pjsip_module pjsua_msg_logger = -{ - NULL, NULL, /* prev, next. */ - { "mod-pjsua-log", 13 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_TRANSPORT_LAYER-1,/* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &logging_on_rx_msg, /* on_rx_request() */ - &logging_on_rx_msg, /* on_rx_response() */ - &logging_on_tx_msg, /* on_tx_request. */ - &logging_on_tx_msg, /* on_tx_response() */ - NULL, /* on_tsx_state() */ - -}; - - -/***************************************************************************** - * Another simple module to handle incoming OPTIONS request - */ - -/* Notification on incoming request */ -static pj_bool_t options_on_rx_request(pjsip_rx_data *rdata) -{ - pjsip_tx_data *tdata; - pjsip_response_addr res_addr; - const pjsip_hdr *cap_hdr; - pj_status_t status; - - /* Only want to handle OPTIONS requests */ - if (pjsip_method_cmp(&rdata->msg_info.msg->line.req.method, - pjsip_get_options_method()) != 0) - { - return PJ_FALSE; - } - - /* Don't want to handle if shutdown is in progress */ - if (pjsua_var.thread_quit_flag) { - pjsip_endpt_respond_stateless(pjsua_var.endpt, rdata, - PJSIP_SC_TEMPORARILY_UNAVAILABLE, NULL, - NULL, NULL); - return PJ_TRUE; - } - - /* Create basic response. */ - status = pjsip_endpt_create_response(pjsua_var.endpt, rdata, 200, NULL, - &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create OPTIONS response", status); - return PJ_TRUE; - } - - /* Add Allow header */ - cap_hdr = pjsip_endpt_get_capability(pjsua_var.endpt, PJSIP_H_ALLOW, NULL); - if (cap_hdr) { - pjsip_msg_add_hdr(tdata->msg, - (pjsip_hdr*) pjsip_hdr_clone(tdata->pool, cap_hdr)); - } - - /* Add Accept header */ - cap_hdr = pjsip_endpt_get_capability(pjsua_var.endpt, PJSIP_H_ACCEPT, NULL); - if (cap_hdr) { - pjsip_msg_add_hdr(tdata->msg, - (pjsip_hdr*) pjsip_hdr_clone(tdata->pool, cap_hdr)); - } - - /* Add Supported header */ - cap_hdr = pjsip_endpt_get_capability(pjsua_var.endpt, PJSIP_H_SUPPORTED, NULL); - if (cap_hdr) { - pjsip_msg_add_hdr(tdata->msg, - (pjsip_hdr*) pjsip_hdr_clone(tdata->pool, cap_hdr)); - } - - /* Add Allow-Events header from the evsub module */ - cap_hdr = pjsip_evsub_get_allow_events_hdr(NULL); - if (cap_hdr) { - pjsip_msg_add_hdr(tdata->msg, - (pjsip_hdr*) pjsip_hdr_clone(tdata->pool, cap_hdr)); - } - - /* Add User-Agent header */ - if (pjsua_var.ua_cfg.user_agent.slen) { - const pj_str_t USER_AGENT = { "User-Agent", 10}; - pjsip_hdr *h; - - h = (pjsip_hdr*) pjsip_generic_string_hdr_create(tdata->pool, - &USER_AGENT, - &pjsua_var.ua_cfg.user_agent); - pjsip_msg_add_hdr(tdata->msg, h); - } - - /* Get media socket info, make sure transport is ready */ -#if DISABLED_FOR_TICKET_1185 - if (pjsua_var.calls[0].med_tp) { - pjmedia_transport_info tpinfo; - pjmedia_sdp_session *sdp; - - pjmedia_transport_info_init(&tpinfo); - pjmedia_transport_get_info(pjsua_var.calls[0].med_tp, &tpinfo); - - /* Add SDP body, using call0's RTP address */ - status = pjmedia_endpt_create_sdp(pjsua_var.med_endpt, tdata->pool, 1, - &tpinfo.sock_info, &sdp); - if (status == PJ_SUCCESS) { - pjsip_create_sdp_body(tdata->pool, sdp, &tdata->msg->body); - } - } -#endif - - /* Send response */ - pjsip_get_response_addr(tdata->pool, rdata, &res_addr); - status = pjsip_endpt_send_response(pjsua_var.endpt, &res_addr, tdata, NULL, NULL); - if (status != PJ_SUCCESS) - pjsip_tx_data_dec_ref(tdata); - - return PJ_TRUE; -} - - -/* The module instance. */ -static pjsip_module pjsua_options_handler = -{ - NULL, NULL, /* prev, next. */ - { "mod-pjsua-options", 17 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &options_on_rx_request, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ - -}; - - -/***************************************************************************** - * These two functions are the main callbacks registered to PJSIP stack - * to receive SIP request and response messages that are outside any - * dialogs and any transactions. - */ - -/* - * Handler for receiving incoming requests. - * - * This handler serves multiple purposes: - * - it receives requests outside dialogs. - * - it receives requests inside dialogs, when the requests are - * unhandled by other dialog usages. Example of these - * requests are: MESSAGE. - */ -static pj_bool_t mod_pjsua_on_rx_request(pjsip_rx_data *rdata) -{ - pj_bool_t processed = PJ_FALSE; - - PJSUA_LOCK(); - - if (rdata->msg_info.msg->line.req.method.id == PJSIP_INVITE_METHOD) { - - processed = pjsua_call_on_incoming(rdata); - } - - PJSUA_UNLOCK(); - - return processed; -} - - -/* - * Handler for receiving incoming responses. - * - * This handler serves multiple purposes: - * - it receives strayed responses (i.e. outside any dialog and - * outside any transactions). - * - it receives responses coming to a transaction, when pjsua - * module is set as transaction user for the transaction. - * - it receives responses inside a dialog, when these responses - * are unhandled by other dialog usages. - */ -static pj_bool_t mod_pjsua_on_rx_response(pjsip_rx_data *rdata) -{ - PJ_UNUSED_ARG(rdata); - return PJ_FALSE; -} - - -/***************************************************************************** - * Logging. - */ - -/* Log callback */ -static void log_writer(int level, const char *buffer, int len) -{ - /* Write to file, stdout or application callback. */ - - if (pjsua_var.log_file) { - pj_ssize_t size = len; - pj_file_write(pjsua_var.log_file, buffer, &size); - /* This will slow things down considerably! Don't do it! - pj_file_flush(pjsua_var.log_file); - */ - } - - if (level <= (int)pjsua_var.log_cfg.console_level) { - if (pjsua_var.log_cfg.cb) - (*pjsua_var.log_cfg.cb)(level, buffer, len); - else - pj_log_write(level, buffer, len); - } -} - - -/* - * Application can call this function at any time (after pjsua_create(), of - * course) to change logging settings. - */ -PJ_DEF(pj_status_t) pjsua_reconfigure_logging(const pjsua_logging_config *cfg) -{ - pj_status_t status; - - /* Save config. */ - pjsua_logging_config_dup(pjsua_var.pool, &pjsua_var.log_cfg, cfg); - - /* Redirect log function to ours */ - pj_log_set_log_func( &log_writer ); - - /* Set decor */ - pj_log_set_decor(pjsua_var.log_cfg.decor); - - /* Set log level */ - pj_log_set_level(pjsua_var.log_cfg.level); - - /* Close existing file, if any */ - if (pjsua_var.log_file) { - pj_file_close(pjsua_var.log_file); - pjsua_var.log_file = NULL; - } - - /* If output log file is desired, create the file: */ - if (pjsua_var.log_cfg.log_filename.slen) { - unsigned flags = PJ_O_WRONLY; - flags |= pjsua_var.log_cfg.log_file_flags; - status = pj_file_open(pjsua_var.pool, - pjsua_var.log_cfg.log_filename.ptr, - flags, - &pjsua_var.log_file); - - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error creating log file", status); - return status; - } - } - - /* Unregister msg logging if it's previously registered */ - if (pjsua_msg_logger.id >= 0) { - pjsip_endpt_unregister_module(pjsua_var.endpt, &pjsua_msg_logger); - pjsua_msg_logger.id = -1; - } - - /* Enable SIP message logging */ - if (pjsua_var.log_cfg.msg_logging) - pjsip_endpt_register_module(pjsua_var.endpt, &pjsua_msg_logger); - - return PJ_SUCCESS; -} - - -/***************************************************************************** - * PJSUA Base API. - */ - -/* Worker thread function. */ -static int worker_thread(void *arg) -{ - enum { TIMEOUT = 10 }; - - PJ_UNUSED_ARG(arg); - - while (!pjsua_var.thread_quit_flag) { - int count; - - count = pjsua_handle_events(TIMEOUT); - if (count < 0) - pj_thread_sleep(TIMEOUT); - } - - return 0; -} - - -/* Init random seed */ -static void init_random_seed(void) -{ - pj_sockaddr addr; - const pj_str_t *hostname; - pj_uint32_t pid; - pj_time_val t; - unsigned seed=0; - - /* Add hostname */ - hostname = pj_gethostname(); - seed = pj_hash_calc(seed, hostname->ptr, (int)hostname->slen); - - /* Add primary IP address */ - if (pj_gethostip(pj_AF_INET(), &addr)==PJ_SUCCESS) - seed = pj_hash_calc(seed, &addr.ipv4.sin_addr, 4); - - /* Get timeofday */ - pj_gettimeofday(&t); - seed = pj_hash_calc(seed, &t, sizeof(t)); - - /* Add PID */ - pid = pj_getpid(); - seed = pj_hash_calc(seed, &pid, sizeof(pid)); - - /* Init random seed */ - pj_srand(seed); -} - -/* - * Instantiate pjsua application. - */ -PJ_DEF(pj_status_t) pjsua_create(void) -{ - pj_status_t status; - - /* Init pjsua data */ - init_data(); - - /* Set default logging settings */ - pjsua_logging_config_default(&pjsua_var.log_cfg); - - /* Init PJLIB: */ - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - pj_log_push_indent(); - - /* Init random seed */ - init_random_seed(); - - /* Init PJLIB-UTIL: */ - status = pjlib_util_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Init PJNATH */ - status = pjnath_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Set default sound device ID */ - pjsua_var.cap_dev = PJMEDIA_AUD_DEFAULT_CAPTURE_DEV; - pjsua_var.play_dev = PJMEDIA_AUD_DEFAULT_PLAYBACK_DEV; - - /* Set default video device ID */ - pjsua_var.vcap_dev = PJMEDIA_VID_DEFAULT_CAPTURE_DEV; - pjsua_var.vrdr_dev = PJMEDIA_VID_DEFAULT_RENDER_DEV; - - /* Init caching pool. */ - pj_caching_pool_init(&pjsua_var.cp, NULL, 0); - - /* Create memory pool for application. */ - pjsua_var.pool = pjsua_pool_create("pjsua", 1000, 1000); - - PJ_ASSERT_RETURN(pjsua_var.pool, PJ_ENOMEM); - - /* Create mutex */ - status = pj_mutex_create_recursive(pjsua_var.pool, "pjsua", - &pjsua_var.mutex); - if (status != PJ_SUCCESS) { - pj_log_pop_indent(); - pjsua_perror(THIS_FILE, "Unable to create mutex", status); - return status; - } - - /* Must create SIP endpoint to initialize SIP parser. The parser - * is needed for example when application needs to call pjsua_verify_url(). - */ - status = pjsip_endpt_create(&pjsua_var.cp.factory, - pj_gethostname()->ptr, - &pjsua_var.endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Init timer entry list */ - pj_list_init(&pjsua_var.timer_list); - - /* Create timer mutex */ - status = pj_mutex_create_recursive(pjsua_var.pool, "pjsua_timer", - &pjsua_var.timer_mutex); - if (status != PJ_SUCCESS) { - pj_log_pop_indent(); - pjsua_perror(THIS_FILE, "Unable to create mutex", status); - return status; - } - - pjsua_set_state(PJSUA_STATE_CREATED); - pj_log_pop_indent(); - return PJ_SUCCESS; -} - - -/* - * Initialize pjsua with the specified settings. All the settings are - * optional, and the default values will be used when the config is not - * specified. - */ -PJ_DEF(pj_status_t) pjsua_init( const pjsua_config *ua_cfg, - const pjsua_logging_config *log_cfg, - const pjsua_media_config *media_cfg) -{ - pjsua_config default_cfg; - pjsua_media_config default_media_cfg; - const pj_str_t STR_OPTIONS = { "OPTIONS", 7 }; - pjsip_ua_init_param ua_init_param; - unsigned i; - pj_status_t status; - - pj_log_push_indent(); - - /* Create default configurations when the config is not supplied */ - - if (ua_cfg == NULL) { - pjsua_config_default(&default_cfg); - ua_cfg = &default_cfg; - } - - if (media_cfg == NULL) { - pjsua_media_config_default(&default_media_cfg); - media_cfg = &default_media_cfg; - } - - /* Initialize logging first so that info/errors can be captured */ - if (log_cfg) { - status = pjsua_reconfigure_logging(log_cfg); - if (status != PJ_SUCCESS) - goto on_error; - } - -#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ - PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT != 0 - if (!(pj_get_sys_info()->flags & PJ_SYS_HAS_IOS_BG)) { - PJ_LOG(5, (THIS_FILE, "Device does not support " - "background mode")); - pj_activesock_enable_iphone_os_bg(PJ_FALSE); - } -#endif - - /* If nameserver is configured, create DNS resolver instance and - * set it to be used by SIP resolver. - */ - if (ua_cfg->nameserver_count) { -#if PJSIP_HAS_RESOLVER - unsigned i; - - /* Create DNS resolver */ - status = pjsip_endpt_create_resolver(pjsua_var.endpt, - &pjsua_var.resolver); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error creating resolver", status); - goto on_error; - } - - /* Configure nameserver for the DNS resolver */ - status = pj_dns_resolver_set_ns(pjsua_var.resolver, - ua_cfg->nameserver_count, - ua_cfg->nameserver, NULL); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error setting nameserver", status); - goto on_error; - } - - /* Set this DNS resolver to be used by the SIP resolver */ - status = pjsip_endpt_set_resolver(pjsua_var.endpt, pjsua_var.resolver); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error setting DNS resolver", status); - goto on_error; - } - - /* Print nameservers */ - for (i=0; inameserver_count; ++i) { - PJ_LOG(4,(THIS_FILE, "Nameserver %.*s added", - (int)ua_cfg->nameserver[i].slen, - ua_cfg->nameserver[i].ptr)); - } -#else - PJ_LOG(2,(THIS_FILE, - "DNS resolver is disabled (PJSIP_HAS_RESOLVER==0)")); -#endif - } - - /* Init SIP UA: */ - - /* Initialize transaction layer: */ - status = pjsip_tsx_layer_init_module(pjsua_var.endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - - /* Initialize UA layer module: */ - pj_bzero(&ua_init_param, sizeof(ua_init_param)); - if (ua_cfg->hangup_forked_call) { - ua_init_param.on_dlg_forked = &on_dlg_forked; - } - status = pjsip_ua_init_module( pjsua_var.endpt, &ua_init_param); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - - /* Initialize Replaces support. */ - status = pjsip_replaces_init_module( pjsua_var.endpt ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Initialize 100rel support */ - status = pjsip_100rel_init_module(pjsua_var.endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Initialize session timer support */ - status = pjsip_timer_init_module(pjsua_var.endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Initialize and register PJSUA application module. */ - { - const pjsip_module mod_initializer = - { - NULL, NULL, /* prev, next. */ - { "mod-pjsua", 9 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &mod_pjsua_on_rx_request, /* on_rx_request() */ - &mod_pjsua_on_rx_response, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ - }; - - pjsua_var.mod = mod_initializer; - - status = pjsip_endpt_register_module(pjsua_var.endpt, &pjsua_var.mod); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - } - - /* Parse outbound proxies */ - for (i=0; ioutbound_proxy_cnt; ++i) { - pj_str_t tmp; - pj_str_t hname = { "Route", 5}; - pjsip_route_hdr *r; - - pj_strdup_with_null(pjsua_var.pool, &tmp, &ua_cfg->outbound_proxy[i]); - - r = (pjsip_route_hdr*) - pjsip_parse_hdr(pjsua_var.pool, &hname, tmp.ptr, - (unsigned)tmp.slen, NULL); - if (r == NULL) { - pjsua_perror(THIS_FILE, "Invalid outbound proxy URI", - PJSIP_EINVALIDURI); - status = PJSIP_EINVALIDURI; - goto on_error; - } - - if (pjsua_var.ua_cfg.force_lr) { - pjsip_sip_uri *sip_url; - if (!PJSIP_URI_SCHEME_IS_SIP(r->name_addr.uri) && - !PJSIP_URI_SCHEME_IS_SIP(r->name_addr.uri)) - { - status = PJSIP_EINVALIDSCHEME; - goto on_error; - } - sip_url = (pjsip_sip_uri*)r->name_addr.uri; - sip_url->lr_param = 1; - } - - pj_list_push_back(&pjsua_var.outbound_proxy, r); - } - - - /* Initialize PJSUA call subsystem: */ - status = pjsua_call_subsys_init(ua_cfg); - if (status != PJ_SUCCESS) - goto on_error; - - /* Convert deprecated STUN settings */ - if (pjsua_var.ua_cfg.stun_srv_cnt==0) { - if (pjsua_var.ua_cfg.stun_domain.slen) { - pjsua_var.ua_cfg.stun_srv[pjsua_var.ua_cfg.stun_srv_cnt++] = - pjsua_var.ua_cfg.stun_domain; - } - if (pjsua_var.ua_cfg.stun_host.slen) { - pjsua_var.ua_cfg.stun_srv[pjsua_var.ua_cfg.stun_srv_cnt++] = - pjsua_var.ua_cfg.stun_host; - } - } - - /* Start resolving STUN server */ - status = resolve_stun_server(PJ_FALSE); - if (status != PJ_SUCCESS && status != PJ_EPENDING) { - pjsua_perror(THIS_FILE, "Error resolving STUN server", status); - goto on_error; - } - - /* Initialize PJSUA media subsystem */ - status = pjsua_media_subsys_init(media_cfg); - if (status != PJ_SUCCESS) - goto on_error; - - - /* Init core SIMPLE module : */ - status = pjsip_evsub_init_module(pjsua_var.endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - - /* Init presence module: */ - status = pjsip_pres_init_module( pjsua_var.endpt, pjsip_evsub_instance()); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Initialize MWI support */ - status = pjsip_mwi_init_module(pjsua_var.endpt, pjsip_evsub_instance()); - - /* Init PUBLISH module */ - pjsip_publishc_init_module(pjsua_var.endpt); - - /* Init xfer/REFER module */ - status = pjsip_xfer_init_module( pjsua_var.endpt ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); - - /* Init pjsua presence handler: */ - status = pjsua_pres_init(); - if (status != PJ_SUCCESS) - goto on_error; - - /* Init out-of-dialog MESSAGE request handler. */ - status = pjsua_im_init(); - if (status != PJ_SUCCESS) - goto on_error; - - /* Register OPTIONS handler */ - pjsip_endpt_register_module(pjsua_var.endpt, &pjsua_options_handler); - - /* Add OPTIONS in Allow header */ - pjsip_endpt_add_capability(pjsua_var.endpt, NULL, PJSIP_H_ALLOW, - NULL, 1, &STR_OPTIONS); - - /* Start worker thread if needed. */ - if (pjsua_var.ua_cfg.thread_cnt) { - unsigned i; - - if (pjsua_var.ua_cfg.thread_cnt > PJ_ARRAY_SIZE(pjsua_var.thread)) - pjsua_var.ua_cfg.thread_cnt = PJ_ARRAY_SIZE(pjsua_var.thread); - - for (i=0; iinfo.ptr)); - - pjsua_set_state(PJSUA_STATE_INIT); - pj_log_pop_indent(); - return PJ_SUCCESS; - -on_error: - pjsua_destroy(); - pj_log_pop_indent(); - return status; -} - - -/* Sleep with polling */ -static void busy_sleep(unsigned msec) -{ - pj_time_val timeout, now; - - pj_gettimeofday(&timeout); - timeout.msec += msec; - pj_time_val_normalize(&timeout); - - do { - int i; - i = msec / 10; - while (pjsua_handle_events(10) > 0 && i > 0) - --i; - pj_gettimeofday(&now); - } while (PJ_TIME_VAL_LT(now, timeout)); -} - -/* Internal function to destroy STUN resolution session - * (pj_stun_resolve). - */ -static void destroy_stun_resolve(pjsua_stun_resolve *sess) -{ - PJSUA_LOCK(); - pj_list_erase(sess); - PJSUA_UNLOCK(); - - pj_assert(sess->stun_sock==NULL); - pj_pool_release(sess->pool); -} - -/* This is the internal function to be called when STUN resolution - * session (pj_stun_resolve) has completed. - */ -static void stun_resolve_complete(pjsua_stun_resolve *sess) -{ - pj_stun_resolve_result result; - - pj_bzero(&result, sizeof(result)); - result.token = sess->token; - result.status = sess->status; - result.name = sess->srv[sess->idx]; - pj_memcpy(&result.addr, &sess->addr, sizeof(result.addr)); - - if (result.status == PJ_SUCCESS) { - char addr[PJ_INET6_ADDRSTRLEN+10]; - pj_sockaddr_print(&result.addr, addr, sizeof(addr), 3); - PJ_LOG(4,(THIS_FILE, - "STUN resolution success, using %.*s, address is %s", - (int)sess->srv[sess->idx].slen, - sess->srv[sess->idx].ptr, - addr)); - } else { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(result.status, errmsg, sizeof(errmsg)); - PJ_LOG(1,(THIS_FILE, "STUN resolution failed: %s", errmsg)); - } - - sess->cb(&result); - - if (!sess->blocking) { - destroy_stun_resolve(sess); - } -} - -/* This is the callback called by the STUN socket (pj_stun_sock) - * to report it's state. We use this as part of testing the - * STUN server. - */ -static pj_bool_t test_stun_on_status(pj_stun_sock *stun_sock, - pj_stun_sock_op op, - pj_status_t status) -{ - pjsua_stun_resolve *sess; - - sess = (pjsua_stun_resolve*) pj_stun_sock_get_user_data(stun_sock); - pj_assert(stun_sock == sess->stun_sock); - - if (status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(status, errmsg, sizeof(errmsg)); - - PJ_LOG(4,(THIS_FILE, "STUN resolution for %.*s failed: %s", - (int)sess->srv[sess->idx].slen, - sess->srv[sess->idx].ptr, errmsg)); - - sess->status = status; - - pj_stun_sock_destroy(stun_sock); - sess->stun_sock = NULL; - - ++sess->idx; - resolve_stun_entry(sess); - - return PJ_FALSE; - - } else if (op == PJ_STUN_SOCK_BINDING_OP) { - pj_stun_sock_info ssi; - - pj_stun_sock_get_info(stun_sock, &ssi); - pj_memcpy(&sess->addr, &ssi.srv_addr, sizeof(sess->addr)); - - sess->status = PJ_SUCCESS; - pj_stun_sock_destroy(stun_sock); - sess->stun_sock = NULL; - - stun_resolve_complete(sess); - - return PJ_FALSE; - - } else - return PJ_TRUE; - -} - -/* This is an internal function to resolve and test current - * server entry in pj_stun_resolve session. It is called by - * pjsua_resolve_stun_servers() and test_stun_on_status() above - */ -static void resolve_stun_entry(pjsua_stun_resolve *sess) -{ - /* Loop while we have entry to try */ - for (; sess->idx < sess->count; ++sess->idx) { - const int af = pj_AF_INET(); - pj_str_t hostpart; - pj_uint16_t port; - pj_stun_sock_cb stun_sock_cb; - - pj_assert(sess->idx < sess->count); - - /* Parse the server entry into host:port */ - sess->status = pj_sockaddr_parse2(af, 0, &sess->srv[sess->idx], - &hostpart, &port, NULL); - if (sess->status != PJ_SUCCESS) { - PJ_LOG(2,(THIS_FILE, "Invalid STUN server entry %.*s", - (int)sess->srv[sess->idx].slen, - sess->srv[sess->idx].ptr)); - continue; - } - - /* Use default port if not specified */ - if (port == 0) - port = PJ_STUN_PORT; - - pj_assert(sess->stun_sock == NULL); - - PJ_LOG(4,(THIS_FILE, "Trying STUN server %.*s (%d of %d)..", - (int)sess->srv[sess->idx].slen, - sess->srv[sess->idx].ptr, - sess->idx+1, sess->count)); - - /* Use STUN_sock to test this entry */ - pj_bzero(&stun_sock_cb, sizeof(stun_sock_cb)); - stun_sock_cb.on_status = &test_stun_on_status; - sess->status = pj_stun_sock_create(&pjsua_var.stun_cfg, "stunresolve", - pj_AF_INET(), &stun_sock_cb, - NULL, sess, &sess->stun_sock); - if (sess->status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(sess->status, errmsg, sizeof(errmsg)); - PJ_LOG(4,(THIS_FILE, - "Error creating STUN socket for %.*s: %s", - (int)sess->srv[sess->idx].slen, - sess->srv[sess->idx].ptr, errmsg)); - - continue; - } - - sess->status = pj_stun_sock_start(sess->stun_sock, &hostpart, - port, pjsua_var.resolver); - if (sess->status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - pj_strerror(sess->status, errmsg, sizeof(errmsg)); - PJ_LOG(4,(THIS_FILE, - "Error starting STUN socket for %.*s: %s", - (int)sess->srv[sess->idx].slen, - sess->srv[sess->idx].ptr, errmsg)); - - pj_stun_sock_destroy(sess->stun_sock); - sess->stun_sock = NULL; - continue; - } - - /* Done for now, testing will resume/complete asynchronously in - * stun_sock_cb() - */ - return; - } - - if (sess->idx >= sess->count) { - /* No more entries to try */ - PJ_ASSERT_ON_FAIL(sess->status != PJ_SUCCESS, - sess->status = PJ_EUNKNOWN); - stun_resolve_complete(sess); - } -} - - -/* - * Resolve STUN server. - */ -PJ_DEF(pj_status_t) pjsua_resolve_stun_servers( unsigned count, - pj_str_t srv[], - pj_bool_t wait, - void *token, - pj_stun_resolve_cb cb) -{ - pj_pool_t *pool; - pjsua_stun_resolve *sess; - pj_status_t status; - unsigned i; - - PJ_ASSERT_RETURN(count && srv && cb, PJ_EINVAL); - - pool = pjsua_pool_create("stunres", 256, 256); - if (!pool) - return PJ_ENOMEM; - - sess = PJ_POOL_ZALLOC_T(pool, pjsua_stun_resolve); - sess->pool = pool; - sess->token = token; - sess->cb = cb; - sess->count = count; - sess->blocking = wait; - sess->status = PJ_EPENDING; - sess->srv = (pj_str_t*) pj_pool_calloc(pool, count, sizeof(pj_str_t)); - for (i=0; isrv[i], &srv[i]); - } - - PJSUA_LOCK(); - pj_list_push_back(&pjsua_var.stun_res, sess); - PJSUA_UNLOCK(); - - resolve_stun_entry(sess); - - if (!wait) - return PJ_SUCCESS; - - while (sess->status == PJ_EPENDING) { - pjsua_handle_events(50); - } - - status = sess->status; - destroy_stun_resolve(sess); - - return status; -} - -/* - * Cancel pending STUN resolution. - */ -PJ_DEF(pj_status_t) pjsua_cancel_stun_resolution( void *token, - pj_bool_t notify_cb) -{ - pjsua_stun_resolve *sess; - unsigned cancelled_count = 0; - - PJSUA_LOCK(); - sess = pjsua_var.stun_res.next; - while (sess != &pjsua_var.stun_res) { - pjsua_stun_resolve *next = sess->next; - - if (sess->token == token) { - if (notify_cb) { - pj_stun_resolve_result result; - - pj_bzero(&result, sizeof(result)); - result.token = token; - result.status = PJ_ECANCELLED; - - sess->cb(&result); - } - - destroy_stun_resolve(sess); - ++cancelled_count; - } - - sess = next; - } - PJSUA_UNLOCK(); - - return cancelled_count ? PJ_SUCCESS : PJ_ENOTFOUND; -} - -static void internal_stun_resolve_cb(const pj_stun_resolve_result *result) -{ - pjsua_var.stun_status = result->status; - if (result->status == PJ_SUCCESS) { - pj_memcpy(&pjsua_var.stun_srv, &result->addr, sizeof(result->addr)); - } -} - -/* - * Resolve STUN server. - */ -pj_status_t resolve_stun_server(pj_bool_t wait) -{ - if (pjsua_var.stun_status == PJ_EUNKNOWN) { - pj_status_t status; - - /* Initialize STUN configuration */ - pj_stun_config_init(&pjsua_var.stun_cfg, &pjsua_var.cp.factory, 0, - pjsip_endpt_get_ioqueue(pjsua_var.endpt), - pjsip_endpt_get_timer_heap(pjsua_var.endpt)); - - /* Start STUN server resolution */ - if (pjsua_var.ua_cfg.stun_srv_cnt) { - pjsua_var.stun_status = PJ_EPENDING; - status = pjsua_resolve_stun_servers(pjsua_var.ua_cfg.stun_srv_cnt, - pjsua_var.ua_cfg.stun_srv, - wait, NULL, - &internal_stun_resolve_cb); - if (wait || status != PJ_SUCCESS) { - pjsua_var.stun_status = status; - } - } else { - pjsua_var.stun_status = PJ_SUCCESS; - } - - } else if (pjsua_var.stun_status == PJ_EPENDING) { - /* STUN server resolution has been started, wait for the - * result. - */ - if (wait) { - while (pjsua_var.stun_status == PJ_EPENDING) { - if (pjsua_var.thread[0] == NULL) - pjsua_handle_events(10); - else - pj_thread_sleep(10); - } - } - } - - if (pjsua_var.stun_status != PJ_EPENDING && - pjsua_var.stun_status != PJ_SUCCESS && - pjsua_var.ua_cfg.stun_ignore_failure) - { - PJ_LOG(2,(THIS_FILE, - "Ignoring STUN resolution failure (by setting)")); - pjsua_var.stun_status = PJ_SUCCESS; - } - - return pjsua_var.stun_status; -} - -/* - * Destroy pjsua. - */ -PJ_DEF(pj_status_t) pjsua_destroy2(unsigned flags) -{ - int i; /* Must be signed */ - - if (pjsua_var.endpt) { - PJ_LOG(4,(THIS_FILE, "Shutting down, flags=%d...", flags)); - } - - if (pjsua_var.state > PJSUA_STATE_NULL && - pjsua_var.state < PJSUA_STATE_CLOSING) - { - pjsua_set_state(PJSUA_STATE_CLOSING); - } - - /* Signal threads to quit: */ - pjsua_var.thread_quit_flag = 1; - - /* Wait worker threads to quit: */ - for (i=0; i<(int)pjsua_var.ua_cfg.thread_cnt; ++i) { - if (pjsua_var.thread[i]) { - pj_status_t status; - status = pj_thread_join(pjsua_var.thread[i]); - if (status != PJ_SUCCESS) { - PJ_PERROR(4,(THIS_FILE, status, "Error joining worker thread")); - pj_thread_sleep(1000); - } - pj_thread_destroy(pjsua_var.thread[i]); - pjsua_var.thread[i] = NULL; - } - } - - if (pjsua_var.endpt) { - unsigned max_wait; - - pj_log_push_indent(); - - /* Terminate all calls. */ - if ((flags & PJSUA_DESTROY_NO_TX_MSG) == 0) { - pjsua_call_hangup_all(); - } - - /* Set all accounts to offline */ - for (i=0; i<(int)PJ_ARRAY_SIZE(pjsua_var.acc); ++i) { - if (!pjsua_var.acc[i].valid) - continue; - pjsua_var.acc[i].online_status = PJ_FALSE; - pj_bzero(&pjsua_var.acc[i].rpid, sizeof(pjrpid_element)); - } - - /* Terminate all presence subscriptions. */ - pjsua_pres_shutdown(flags); - - /* Destroy media (to shutdown media transports etc) */ - pjsua_media_subsys_destroy(flags); - - /* Wait for sometime until all publish client sessions are done - * (ticket #364) - */ - /* First stage, get the maximum wait time */ - max_wait = 100; - for (i=0; i<(int)PJ_ARRAY_SIZE(pjsua_var.acc); ++i) { - if (!pjsua_var.acc[i].valid) - continue; - if (pjsua_var.acc[i].cfg.unpublish_max_wait_time_msec > max_wait) - max_wait = pjsua_var.acc[i].cfg.unpublish_max_wait_time_msec; - } - - /* No waiting if RX is disabled */ - if (flags & PJSUA_DESTROY_NO_RX_MSG) { - max_wait = 0; - } - - /* Second stage, wait for unpublications to complete */ - for (i=0; i<(int)(max_wait/50); ++i) { - unsigned j; - for (j=0; jnext; - destroy_stun_resolve(sess); - sess = next; - } - } - - /* Wait until all unregistrations are done (ticket #364) */ - /* First stage, get the maximum wait time */ - max_wait = 100; - for (i=0; i<(int)PJ_ARRAY_SIZE(pjsua_var.acc); ++i) { - if (!pjsua_var.acc[i].valid) - continue; - if (pjsua_var.acc[i].cfg.unreg_timeout > max_wait) - max_wait = pjsua_var.acc[i].cfg.unreg_timeout; - } - - /* No waiting if RX is disabled */ - if (flags & PJSUA_DESTROY_NO_RX_MSG) { - max_wait = 0; - } - - /* Second stage, wait for unregistrations to complete */ - for (i=0; i<(int)(max_wait/50); ++i) { - unsigned j; - for (j=0; j %s", - state_name[old_state], state_name[new_state])); -} - -/* Get state */ -PJ_DEF(pjsua_state) pjsua_get_state(void) -{ - return pjsua_var.state; -} - -PJ_DEF(pj_status_t) pjsua_destroy(void) -{ - return pjsua_destroy2(0); -} - - -/** - * Application is recommended to call this function after all initialization - * is done, so that the library can do additional checking set up - * additional - * - * @return PJ_SUCCESS on success, or the appropriate error code. - */ -PJ_DEF(pj_status_t) pjsua_start(void) -{ - pj_status_t status; - - pjsua_set_state(PJSUA_STATE_STARTING); - pj_log_push_indent(); - - status = pjsua_call_subsys_start(); - if (status != PJ_SUCCESS) - goto on_return; - - status = pjsua_media_subsys_start(); - if (status != PJ_SUCCESS) - goto on_return; - - status = pjsua_pres_start(); - if (status != PJ_SUCCESS) - goto on_return; - - pjsua_set_state(PJSUA_STATE_RUNNING); - -on_return: - pj_log_pop_indent(); - return status; -} - - -/** - * Poll pjsua for events, and if necessary block the caller thread for - * the specified maximum interval (in miliseconds). - */ -PJ_DEF(int) pjsua_handle_events(unsigned msec_timeout) -{ -#if defined(PJ_SYMBIAN) && PJ_SYMBIAN != 0 - - return pj_symbianos_poll(-1, msec_timeout); - -#else - - unsigned count = 0; - pj_time_val tv; - pj_status_t status; - - tv.sec = 0; - tv.msec = msec_timeout; - pj_time_val_normalize(&tv); - - status = pjsip_endpt_handle_events2(pjsua_var.endpt, &tv, &count); - - if (status != PJ_SUCCESS) - return -status; - - return count; - -#endif -} - - -/* - * Create memory pool. - */ -PJ_DEF(pj_pool_t*) pjsua_pool_create( const char *name, pj_size_t init_size, - pj_size_t increment) -{ - /* Pool factory is thread safe, no need to lock */ - return pj_pool_create(&pjsua_var.cp.factory, name, init_size, increment, - NULL); -} - - -/* - * Internal function to get SIP endpoint instance of pjsua, which is - * needed for example to register module, create transports, etc. - * Probably is only valid after #pjsua_init() is called. - */ -PJ_DEF(pjsip_endpoint*) pjsua_get_pjsip_endpt(void) -{ - return pjsua_var.endpt; -} - -/* - * Internal function to get media endpoint instance. - * Only valid after #pjsua_init() is called. - */ -PJ_DEF(pjmedia_endpt*) pjsua_get_pjmedia_endpt(void) -{ - return pjsua_var.med_endpt; -} - -/* - * Internal function to get PJSUA pool factory. - */ -PJ_DEF(pj_pool_factory*) pjsua_get_pool_factory(void) -{ - return &pjsua_var.cp.factory; -} - -/***************************************************************************** - * PJSUA SIP Transport API. - */ - -/* - * Tools to get address string. - */ -static const char *addr_string(const pj_sockaddr_t *addr) -{ - static char str[128]; - str[0] = '\0'; - pj_inet_ntop(((const pj_sockaddr*)addr)->addr.sa_family, - pj_sockaddr_get_addr(addr), - str, sizeof(str)); - return str; -} - -void pjsua_acc_on_tp_state_changed(pjsip_transport *tp, - pjsip_transport_state state, - const pjsip_transport_state_info *info); - -/* Callback to receive transport state notifications */ -static void on_tp_state_callback(pjsip_transport *tp, - pjsip_transport_state state, - const pjsip_transport_state_info *info) -{ - if (pjsua_var.ua_cfg.cb.on_transport_state) { - (*pjsua_var.ua_cfg.cb.on_transport_state)(tp, state, info); - } - if (pjsua_var.old_tp_cb) { - (*pjsua_var.old_tp_cb)(tp, state, info); - } - pjsua_acc_on_tp_state_changed(tp, state, info); -} - -/* - * Create and initialize SIP socket (and possibly resolve public - * address via STUN, depending on config). - */ -static pj_status_t create_sip_udp_sock(int af, - const pjsua_transport_config *cfg, - pj_sock_t *p_sock, - pj_sockaddr *p_pub_addr) -{ - char stun_ip_addr[PJ_INET6_ADDRSTRLEN]; - unsigned port = cfg->port; - pj_str_t stun_srv; - pj_sock_t sock; - pj_sockaddr bind_addr; - pj_status_t status; - - /* Make sure STUN server resolution has completed */ - status = resolve_stun_server(PJ_TRUE); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error resolving STUN server", status); - return status; - } - - /* Initialize bound address */ - if (cfg->bound_addr.slen) { - status = pj_sockaddr_init(af, &bind_addr, &cfg->bound_addr, - (pj_uint16_t)port); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, - "Unable to resolve transport bound address", - status); - return status; - } - } else { - pj_sockaddr_init(af, &bind_addr, NULL, (pj_uint16_t)port); - } - - /* Create socket */ - status = pj_sock_socket(af, pj_SOCK_DGRAM(), 0, &sock); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "socket() error", status); - return status; - } - - /* Apply QoS, if specified */ - status = pj_sock_apply_qos2(sock, cfg->qos_type, - &cfg->qos_params, - 2, THIS_FILE, "SIP UDP socket"); - - /* Bind socket */ - status = pj_sock_bind(sock, &bind_addr, pj_sockaddr_get_len(&bind_addr)); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "bind() error", status); - pj_sock_close(sock); - return status; - } - - /* If port is zero, get the bound port */ - if (port == 0) { - pj_sockaddr bound_addr; - int namelen = sizeof(bound_addr); - status = pj_sock_getsockname(sock, &bound_addr, &namelen); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "getsockname() error", status); - pj_sock_close(sock); - return status; - } - - port = pj_sockaddr_get_port(&bound_addr); - } - - if (pjsua_var.stun_srv.addr.sa_family != 0) { - pj_ansi_strcpy(stun_ip_addr,pj_inet_ntoa(pjsua_var.stun_srv.ipv4.sin_addr)); - stun_srv = pj_str(stun_ip_addr); - } else { - stun_srv.slen = 0; - } - - /* Get the published address, either by STUN or by resolving - * the name of local host. - */ - if (pj_sockaddr_has_addr(p_pub_addr)) { - /* - * Public address is already specified, no need to resolve the - * address, only set the port. - */ - if (pj_sockaddr_get_port(p_pub_addr) == 0) - pj_sockaddr_set_port(p_pub_addr, (pj_uint16_t)port); - - } else if (stun_srv.slen) { - /* - * STUN is specified, resolve the address with STUN. - */ - if (af != pj_AF_INET()) { - pjsua_perror(THIS_FILE, "Cannot use STUN", PJ_EAFNOTSUP); - pj_sock_close(sock); - return PJ_EAFNOTSUP; - } - - status = pjstun_get_mapped_addr(&pjsua_var.cp.factory, 1, &sock, - &stun_srv, pj_ntohs(pjsua_var.stun_srv.ipv4.sin_port), - &stun_srv, pj_ntohs(pjsua_var.stun_srv.ipv4.sin_port), - &p_pub_addr->ipv4); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error contacting STUN server", status); - pj_sock_close(sock); - return status; - } - - } else { - pj_bzero(p_pub_addr, sizeof(pj_sockaddr)); - - if (pj_sockaddr_has_addr(&bind_addr)) { - pj_sockaddr_copy_addr(p_pub_addr, &bind_addr); - } else { - status = pj_gethostip(af, p_pub_addr); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to get local host IP", status); - pj_sock_close(sock); - return status; - } - } - - p_pub_addr->addr.sa_family = (pj_uint16_t)af; - pj_sockaddr_set_port(p_pub_addr, (pj_uint16_t)port); - } - - *p_sock = sock; - - PJ_LOG(4,(THIS_FILE, "SIP UDP socket reachable at %s:%d", - addr_string(p_pub_addr), - (int)pj_sockaddr_get_port(p_pub_addr))); - - return PJ_SUCCESS; -} - - -/* - * Create SIP transport. - */ -PJ_DEF(pj_status_t) pjsua_transport_create( pjsip_transport_type_e type, - const pjsua_transport_config *cfg, - pjsua_transport_id *p_id) -{ - pjsip_transport *tp; - unsigned id; - pj_status_t status; - - PJSUA_LOCK(); - - /* Find empty transport slot */ - for (id=0; id < PJ_ARRAY_SIZE(pjsua_var.tpdata); ++id) { - if (pjsua_var.tpdata[id].data.ptr == NULL) - break; - } - - if (id == PJ_ARRAY_SIZE(pjsua_var.tpdata)) { - status = PJ_ETOOMANY; - pjsua_perror(THIS_FILE, "Error creating transport", status); - goto on_return; - } - - /* Create the transport */ - if (type==PJSIP_TRANSPORT_UDP || type==PJSIP_TRANSPORT_UDP6) { - /* - * Create UDP transport (IPv4 or IPv6). - */ - pjsua_transport_config config; - char hostbuf[PJ_INET6_ADDRSTRLEN]; - pj_sock_t sock = PJ_INVALID_SOCKET; - pj_sockaddr pub_addr; - pjsip_host_port addr_name; - - /* Supply default config if it's not specified */ - if (cfg == NULL) { - pjsua_transport_config_default(&config); - cfg = &config; - } - - /* Initialize the public address from the config, if any */ - pj_sockaddr_init(pjsip_transport_type_get_af(type), &pub_addr, - NULL, (pj_uint16_t)cfg->port); - if (cfg->public_addr.slen) { - status = pj_sockaddr_set_str_addr(pjsip_transport_type_get_af(type), - &pub_addr, &cfg->public_addr); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, - "Unable to resolve transport public address", - status); - goto on_return; - } - } - - /* Create the socket and possibly resolve the address with STUN - * (only when public address is not specified). - */ - status = create_sip_udp_sock(pjsip_transport_type_get_af(type), - cfg, &sock, &pub_addr); - if (status != PJ_SUCCESS) - goto on_return; - - pj_ansi_strcpy(hostbuf, addr_string(&pub_addr)); - addr_name.host = pj_str(hostbuf); - addr_name.port = pj_sockaddr_get_port(&pub_addr); - - /* Create UDP transport */ - status = pjsip_udp_transport_attach2(pjsua_var.endpt, type, sock, - &addr_name, 1, &tp); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error creating SIP UDP transport", - status); - pj_sock_close(sock); - goto on_return; - } - - - /* Save the transport */ - pjsua_var.tpdata[id].type = type; - pjsua_var.tpdata[id].local_name = tp->local_name; - pjsua_var.tpdata[id].data.tp = tp; - -#if defined(PJ_HAS_TCP) && PJ_HAS_TCP!=0 - - } else if (type == PJSIP_TRANSPORT_TCP || type == PJSIP_TRANSPORT_TCP6) { - /* - * Create TCP transport. - */ - pjsua_transport_config config; - pjsip_tpfactory *tcp; - pjsip_tcp_transport_cfg tcp_cfg; - - pjsip_tcp_transport_cfg_default(&tcp_cfg, pj_AF_INET()); - - /* Supply default config if it's not specified */ - if (cfg == NULL) { - pjsua_transport_config_default(&config); - cfg = &config; - } - - /* Configure bind address */ - if (cfg->port) - pj_sockaddr_set_port(&tcp_cfg.bind_addr, (pj_uint16_t)cfg->port); - - if (cfg->bound_addr.slen) { - status = pj_sockaddr_set_str_addr(tcp_cfg.af, - &tcp_cfg.bind_addr, - &cfg->bound_addr); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, - "Unable to resolve transport bound address", - status); - goto on_return; - } - } - - /* Set published name */ - if (cfg->public_addr.slen) - tcp_cfg.addr_name.host = cfg->public_addr; - - /* Copy the QoS settings */ - tcp_cfg.qos_type = cfg->qos_type; - pj_memcpy(&tcp_cfg.qos_params, &cfg->qos_params, - sizeof(cfg->qos_params)); - - /* Create the TCP transport */ - status = pjsip_tcp_transport_start3(pjsua_var.endpt, &tcp_cfg, &tcp); - - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error creating SIP TCP listener", - status); - goto on_return; - } - - /* Save the transport */ - pjsua_var.tpdata[id].type = type; - pjsua_var.tpdata[id].local_name = tcp->addr_name; - pjsua_var.tpdata[id].data.factory = tcp; - -#endif /* PJ_HAS_TCP */ - -#if defined(PJSIP_HAS_TLS_TRANSPORT) && PJSIP_HAS_TLS_TRANSPORT!=0 - } else if (type == PJSIP_TRANSPORT_TLS) { - /* - * Create TLS transport. - */ - pjsua_transport_config config; - pjsip_host_port a_name; - pjsip_tpfactory *tls; - pj_sockaddr_in local_addr; - - /* Supply default config if it's not specified */ - if (cfg == NULL) { - pjsua_transport_config_default(&config); - config.port = 5061; - cfg = &config; - } - - /* Init local address */ - pj_sockaddr_in_init(&local_addr, 0, 0); - - if (cfg->port) - local_addr.sin_port = pj_htons((pj_uint16_t)cfg->port); - - if (cfg->bound_addr.slen) { - status = pj_sockaddr_in_set_str_addr(&local_addr,&cfg->bound_addr); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, - "Unable to resolve transport bound address", - status); - goto on_return; - } - } - - /* Init published name */ - pj_bzero(&a_name, sizeof(pjsip_host_port)); - if (cfg->public_addr.slen) - a_name.host = cfg->public_addr; - - status = pjsip_tls_transport_start(pjsua_var.endpt, - &cfg->tls_setting, - &local_addr, &a_name, 1, &tls); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error creating SIP TLS listener", - status); - goto on_return; - } - - /* Save the transport */ - pjsua_var.tpdata[id].type = type; - pjsua_var.tpdata[id].local_name = tls->addr_name; - pjsua_var.tpdata[id].data.factory = tls; -#endif - - } else { - status = PJSIP_EUNSUPTRANSPORT; - pjsua_perror(THIS_FILE, "Error creating transport", status); - goto on_return; - } - - /* Set transport state callback */ - if (pjsua_var.ua_cfg.cb.on_transport_state) { - pjsip_tp_state_callback tpcb; - pjsip_tpmgr *tpmgr; - - tpmgr = pjsip_endpt_get_tpmgr(pjsua_var.endpt); - tpcb = pjsip_tpmgr_get_state_cb(tpmgr); - - if (tpcb != &on_tp_state_callback) { - pjsua_var.old_tp_cb = tpcb; - pjsip_tpmgr_set_state_cb(tpmgr, &on_tp_state_callback); - } - } - - /* Return the ID */ - if (p_id) *p_id = id; - - status = PJ_SUCCESS; - -on_return: - - PJSUA_UNLOCK(); - - return status; -} - - -/* - * Register transport that has been created by application. - */ -PJ_DEF(pj_status_t) pjsua_transport_register( pjsip_transport *tp, - pjsua_transport_id *p_id) -{ - unsigned id; - - PJSUA_LOCK(); - - /* Find empty transport slot */ - for (id=0; id < PJ_ARRAY_SIZE(pjsua_var.tpdata); ++id) { - if (pjsua_var.tpdata[id].data.ptr == NULL) - break; - } - - if (id == PJ_ARRAY_SIZE(pjsua_var.tpdata)) { - pjsua_perror(THIS_FILE, "Error creating transport", PJ_ETOOMANY); - PJSUA_UNLOCK(); - return PJ_ETOOMANY; - } - - /* Save the transport */ - pjsua_var.tpdata[id].type = (pjsip_transport_type_e) tp->key.type; - pjsua_var.tpdata[id].local_name = tp->local_name; - pjsua_var.tpdata[id].data.tp = tp; - - /* Return the ID */ - if (p_id) *p_id = id; - - PJSUA_UNLOCK(); - - return PJ_SUCCESS; -} - - -/* - * Enumerate all transports currently created in the system. - */ -PJ_DEF(pj_status_t) pjsua_enum_transports( pjsua_transport_id id[], - unsigned *p_count ) -{ - unsigned i, count; - - PJSUA_LOCK(); - - for (i=0, count=0; i=0 && id<(int)PJ_ARRAY_SIZE(pjsua_var.tpdata), - PJ_EINVAL); - - /* Make sure that transport exists */ - PJ_ASSERT_RETURN(pjsua_var.tpdata[id].data.ptr != NULL, PJ_EINVAL); - - PJSUA_LOCK(); - - if (t->type == PJSIP_TRANSPORT_UDP) { - - pjsip_transport *tp = t->data.tp; - - if (tp == NULL) { - PJSUA_UNLOCK(); - return PJ_EINVALIDOP; - } - - info->id = id; - info->type = (pjsip_transport_type_e) tp->key.type; - info->type_name = pj_str(tp->type_name); - info->info = pj_str(tp->info); - info->flag = tp->flag; - info->addr_len = tp->addr_len; - info->local_addr = tp->local_addr; - info->local_name = tp->local_name; - info->usage_count = pj_atomic_get(tp->ref_cnt); - - status = PJ_SUCCESS; - - } else if (t->type == PJSIP_TRANSPORT_TCP || - t->type == PJSIP_TRANSPORT_TLS) - { - - pjsip_tpfactory *factory = t->data.factory; - - if (factory == NULL) { - PJSUA_UNLOCK(); - return PJ_EINVALIDOP; - } - - info->id = id; - info->type = t->type; - info->type_name = (t->type==PJSIP_TRANSPORT_TCP)? pj_str("TCP"): - pj_str("TLS"); - info->info = (t->type==PJSIP_TRANSPORT_TCP)? pj_str("TCP transport"): - pj_str("TLS transport"); - info->flag = factory->flag; - info->addr_len = sizeof(factory->local_addr); - info->local_addr = factory->local_addr; - info->local_name = factory->addr_name; - info->usage_count = 0; - - status = PJ_SUCCESS; - - } else { - pj_assert(!"Unsupported transport"); - status = PJ_EINVALIDOP; - } - - - PJSUA_UNLOCK(); - - return status; -} - - -/* - * Disable a transport or re-enable it. - */ -PJ_DEF(pj_status_t) pjsua_transport_set_enable( pjsua_transport_id id, - pj_bool_t enabled) -{ - /* Make sure id is in range. */ - PJ_ASSERT_RETURN(id>=0 && id<(int)PJ_ARRAY_SIZE(pjsua_var.tpdata), - PJ_EINVAL); - - /* Make sure that transport exists */ - PJ_ASSERT_RETURN(pjsua_var.tpdata[id].data.ptr != NULL, PJ_EINVAL); - - - /* To be done!! */ - PJ_TODO(pjsua_transport_set_enable); - PJ_UNUSED_ARG(enabled); - - return PJ_EINVALIDOP; -} - - -/* - * Close the transport. - */ -PJ_DEF(pj_status_t) pjsua_transport_close( pjsua_transport_id id, - pj_bool_t force ) -{ - pj_status_t status; - - /* Make sure id is in range. */ - PJ_ASSERT_RETURN(id>=0 && id<(int)PJ_ARRAY_SIZE(pjsua_var.tpdata), - PJ_EINVAL); - - /* Make sure that transport exists */ - PJ_ASSERT_RETURN(pjsua_var.tpdata[id].data.ptr != NULL, PJ_EINVAL); - - /* Note: destroy() may not work if there are objects still referencing - * the transport. - */ - if (force) { - switch (pjsua_var.tpdata[id].type) { - case PJSIP_TRANSPORT_UDP: - status = pjsip_transport_shutdown(pjsua_var.tpdata[id].data.tp); - if (status != PJ_SUCCESS) - return status; - status = pjsip_transport_destroy(pjsua_var.tpdata[id].data.tp); - if (status != PJ_SUCCESS) - return status; - break; - - case PJSIP_TRANSPORT_TLS: - case PJSIP_TRANSPORT_TCP: - /* This will close the TCP listener, but existing TCP/TLS - * connections (if any) will still linger - */ - status = (*pjsua_var.tpdata[id].data.factory->destroy) - (pjsua_var.tpdata[id].data.factory); - if (status != PJ_SUCCESS) - return status; - - break; - - default: - return PJ_EINVAL; - } - - } else { - /* If force is not specified, transports will be closed at their - * convenient time. However this will leak PJSUA-API transport - * descriptors as PJSUA-API wouldn't know when exactly the - * transport is closed thus it can't cleanup PJSUA transport - * descriptor. - */ - switch (pjsua_var.tpdata[id].type) { - case PJSIP_TRANSPORT_UDP: - return pjsip_transport_shutdown(pjsua_var.tpdata[id].data.tp); - case PJSIP_TRANSPORT_TLS: - case PJSIP_TRANSPORT_TCP: - return (*pjsua_var.tpdata[id].data.factory->destroy) - (pjsua_var.tpdata[id].data.factory); - default: - return PJ_EINVAL; - } - } - - /* Cleanup pjsua data when force is applied */ - if (force) { - pjsua_var.tpdata[id].type = PJSIP_TRANSPORT_UNSPECIFIED; - pjsua_var.tpdata[id].data.ptr = NULL; - } - - return PJ_SUCCESS; -} - - -/* - * Add additional headers etc in msg_data specified by application - * when sending requests. - */ -void pjsua_process_msg_data(pjsip_tx_data *tdata, - const pjsua_msg_data *msg_data) -{ - pj_bool_t allow_body; - const pjsip_hdr *hdr; - - /* Always add User-Agent */ - if (pjsua_var.ua_cfg.user_agent.slen && - tdata->msg->type == PJSIP_REQUEST_MSG) - { - const pj_str_t STR_USER_AGENT = { "User-Agent", 10 }; - pjsip_hdr *h; - h = (pjsip_hdr*)pjsip_generic_string_hdr_create(tdata->pool, - &STR_USER_AGENT, - &pjsua_var.ua_cfg.user_agent); - pjsip_msg_add_hdr(tdata->msg, h); - } - - if (!msg_data) - return; - - hdr = msg_data->hdr_list.next; - while (hdr && hdr != &msg_data->hdr_list) { - pjsip_hdr *new_hdr; - - new_hdr = (pjsip_hdr*) pjsip_hdr_clone(tdata->pool, hdr); - pjsip_msg_add_hdr(tdata->msg, new_hdr); - - hdr = hdr->next; - } - - allow_body = (tdata->msg->body == NULL); - - if (allow_body && msg_data->content_type.slen && msg_data->msg_body.slen) { - pjsip_media_type ctype; - pjsip_msg_body *body; - - pjsua_parse_media_type(tdata->pool, &msg_data->content_type, &ctype); - body = pjsip_msg_body_create(tdata->pool, &ctype.type, &ctype.subtype, - &msg_data->msg_body); - tdata->msg->body = body; - } - - /* Multipart */ - if (!pj_list_empty(&msg_data->multipart_parts) && - msg_data->multipart_ctype.type.slen) - { - pjsip_msg_body *bodies; - pjsip_multipart_part *part; - pj_str_t *boundary = NULL; - - bodies = pjsip_multipart_create(tdata->pool, - &msg_data->multipart_ctype, - boundary); - part = msg_data->multipart_parts.next; - while (part != &msg_data->multipart_parts) { - pjsip_multipart_part *part_copy; - - part_copy = pjsip_multipart_clone_part(tdata->pool, part); - pjsip_multipart_add_part(tdata->pool, bodies, part_copy); - part = part->next; - } - - if (tdata->msg->body) { - part = pjsip_multipart_create_part(tdata->pool); - part->body = tdata->msg->body; - pjsip_multipart_add_part(tdata->pool, bodies, part); - - tdata->msg->body = NULL; - } - - tdata->msg->body = bodies; - } -} - - -/* - * Add route_set to outgoing requests - */ -void pjsua_set_msg_route_set( pjsip_tx_data *tdata, - const pjsip_route_hdr *route_set ) -{ - const pjsip_route_hdr *r; - - r = route_set->next; - while (r != route_set) { - pjsip_route_hdr *new_r; - - new_r = (pjsip_route_hdr*) pjsip_hdr_clone(tdata->pool, r); - pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)new_r); - - r = r->next; - } -} - - -/* - * Simple version of MIME type parsing (it doesn't support parameters) - */ -void pjsua_parse_media_type( pj_pool_t *pool, - const pj_str_t *mime, - pjsip_media_type *media_type) -{ - pj_str_t tmp; - char *pos; - - pj_bzero(media_type, sizeof(*media_type)); - - pj_strdup_with_null(pool, &tmp, mime); - - pos = pj_strchr(&tmp, '/'); - if (pos) { - media_type->type.ptr = tmp.ptr; - media_type->type.slen = (pos-tmp.ptr); - media_type->subtype.ptr = pos+1; - media_type->subtype.slen = tmp.ptr+tmp.slen-pos-1; - } else { - media_type->type = tmp; - } -} - - -/* - * Internal function to init transport selector from transport id. - */ -void pjsua_init_tpselector(pjsua_transport_id tp_id, - pjsip_tpselector *sel) -{ - pjsua_transport_data *tpdata; - unsigned flag; - - pj_bzero(sel, sizeof(*sel)); - if (tp_id == PJSUA_INVALID_ID) - return; - - pj_assert(tp_id >= 0 && tp_id < (int)PJ_ARRAY_SIZE(pjsua_var.tpdata)); - tpdata = &pjsua_var.tpdata[tp_id]; - - flag = pjsip_transport_get_flag_from_type(tpdata->type); - - if (flag & PJSIP_TRANSPORT_DATAGRAM) { - sel->type = PJSIP_TPSELECTOR_TRANSPORT; - sel->u.transport = tpdata->data.tp; - } else { - sel->type = PJSIP_TPSELECTOR_LISTENER; - sel->u.listener = tpdata->data.factory; - } -} - - -/* Callback upon NAT detection completion */ -static void nat_detect_cb(void *user_data, - const pj_stun_nat_detect_result *res) -{ - PJ_UNUSED_ARG(user_data); - - pjsua_var.nat_in_progress = PJ_FALSE; - pjsua_var.nat_status = res->status; - pjsua_var.nat_type = res->nat_type; - - if (pjsua_var.ua_cfg.cb.on_nat_detect) { - (*pjsua_var.ua_cfg.cb.on_nat_detect)(res); - } -} - - -/* - * Detect NAT type. - */ -PJ_DEF(pj_status_t) pjsua_detect_nat_type() -{ - pj_status_t status; - - if (pjsua_var.nat_in_progress) - return PJ_SUCCESS; - - /* Make sure STUN server resolution has completed */ - status = resolve_stun_server(PJ_TRUE); - if (status != PJ_SUCCESS) { - pjsua_var.nat_status = status; - pjsua_var.nat_type = PJ_STUN_NAT_TYPE_ERR_UNKNOWN; - return status; - } - - /* Make sure we have STUN */ - if (pjsua_var.stun_srv.ipv4.sin_family == 0) { - pjsua_var.nat_status = PJNATH_ESTUNINSERVER; - return PJNATH_ESTUNINSERVER; - } - - status = pj_stun_detect_nat_type(&pjsua_var.stun_srv.ipv4, - &pjsua_var.stun_cfg, - NULL, &nat_detect_cb); - - if (status != PJ_SUCCESS) { - pjsua_var.nat_status = status; - pjsua_var.nat_type = PJ_STUN_NAT_TYPE_ERR_UNKNOWN; - return status; - } - - pjsua_var.nat_in_progress = PJ_TRUE; - - return PJ_SUCCESS; -} - - -/* - * Get NAT type. - */ -PJ_DEF(pj_status_t) pjsua_get_nat_type(pj_stun_nat_type *type) -{ - *type = pjsua_var.nat_type; - return pjsua_var.nat_status; -} - -/* - * Verify that valid url is given. - */ -PJ_DEF(pj_status_t) pjsua_verify_url(const char *c_url) -{ - pjsip_uri *p; - pj_pool_t *pool; - char *url; - int len = (c_url ? pj_ansi_strlen(c_url) : 0); - - if (!len) return PJSIP_EINVALIDURI; - - pool = pj_pool_create(&pjsua_var.cp.factory, "check%p", 1024, 0, NULL); - if (!pool) return PJ_ENOMEM; - - url = (char*) pj_pool_alloc(pool, len+1); - pj_ansi_strcpy(url, c_url); - - p = pjsip_parse_uri(pool, url, len, 0); - - pj_pool_release(pool); - return p ? 0 : PJSIP_EINVALIDURI; -} - -/* - * Verify that valid SIP url is given. - */ -PJ_DEF(pj_status_t) pjsua_verify_sip_url(const char *c_url) -{ - pjsip_uri *p; - pj_pool_t *pool; - char *url; - int len = (c_url ? pj_ansi_strlen(c_url) : 0); - - if (!len) return PJSIP_EINVALIDURI; - - pool = pj_pool_create(&pjsua_var.cp.factory, "check%p", 1024, 0, NULL); - if (!pool) return PJ_ENOMEM; - - url = (char*) pj_pool_alloc(pool, len+1); - pj_ansi_strcpy(url, c_url); - - p = pjsip_parse_uri(pool, url, len, 0); - if (!p || (pj_stricmp2(pjsip_uri_get_scheme(p), "sip") != 0 && - pj_stricmp2(pjsip_uri_get_scheme(p), "sips") != 0)) - { - p = NULL; - } - - pj_pool_release(pool); - return p ? 0 : PJSIP_EINVALIDURI; -} - -/* - * Schedule a timer entry. - */ -PJ_DEF(pj_status_t) pjsua_schedule_timer( pj_timer_entry *entry, - const pj_time_val *delay) -{ - return pjsip_endpt_schedule_timer(pjsua_var.endpt, entry, delay); -} - -/* Timer callback */ -static void timer_cb( pj_timer_heap_t *th, - pj_timer_entry *entry) -{ - pjsua_timer_list *tmr = (pjsua_timer_list *)entry->user_data; - void (*cb)(void *user_data) = tmr->cb; - void *user_data = tmr->user_data; - - PJ_UNUSED_ARG(th); - - pj_mutex_lock(pjsua_var.timer_mutex); - pj_list_push_back(&pjsua_var.timer_list, tmr); - pj_mutex_unlock(pjsua_var.timer_mutex); - - if (cb) - (*cb)(user_data); -} - -/* - * Schedule a timer callback. - */ -PJ_DEF(pj_status_t) pjsua_schedule_timer2( void (*cb)(void *user_data), - void *user_data, - unsigned msec_delay) -{ - pjsua_timer_list *tmr = NULL; - pj_status_t status; - pj_time_val delay; - - pj_mutex_lock(pjsua_var.timer_mutex); - - if (pj_list_empty(&pjsua_var.timer_list)) { - tmr = PJ_POOL_ALLOC_T(pjsua_var.pool, pjsua_timer_list); - } else { - tmr = pjsua_var.timer_list.next; - pj_list_erase(tmr); - } - pj_timer_entry_init(&tmr->entry, 0, tmr, timer_cb); - tmr->cb = cb; - tmr->user_data = user_data; - delay.sec = 0; - delay.msec = msec_delay; - - status = pjsip_endpt_schedule_timer(pjsua_var.endpt, &tmr->entry, &delay); - if (status != PJ_SUCCESS) { - pj_list_push_back(&pjsua_var.timer_list, tmr); - } - - pj_mutex_unlock(pjsua_var.timer_mutex); - - return status; -} - -/* - * Cancel the previously scheduled timer. - * - */ -PJ_DEF(void) pjsua_cancel_timer(pj_timer_entry *entry) -{ - pjsip_endpt_cancel_timer(pjsua_var.endpt, entry); -} - -/** - * Normalize route URI (check for ";lr" and append one if it doesn't - * exist and pjsua_config.force_lr is set. - */ -pj_status_t normalize_route_uri(pj_pool_t *pool, pj_str_t *uri) -{ - pj_str_t tmp_uri; - pj_pool_t *tmp_pool; - pjsip_uri *uri_obj; - pjsip_sip_uri *sip_uri; - - tmp_pool = pjsua_pool_create("tmplr%p", 512, 512); - if (!tmp_pool) - return PJ_ENOMEM; - - pj_strdup_with_null(tmp_pool, &tmp_uri, uri); - - uri_obj = pjsip_parse_uri(tmp_pool, tmp_uri.ptr, tmp_uri.slen, 0); - if (!uri_obj) { - PJ_LOG(1,(THIS_FILE, "Invalid route URI: %.*s", - (int)uri->slen, uri->ptr)); - pj_pool_release(tmp_pool); - return PJSIP_EINVALIDURI; - } - - if (!PJSIP_URI_SCHEME_IS_SIP(uri_obj) && - !PJSIP_URI_SCHEME_IS_SIP(uri_obj)) - { - PJ_LOG(1,(THIS_FILE, "Route URI must be SIP URI: %.*s", - (int)uri->slen, uri->ptr)); - pj_pool_release(tmp_pool); - return PJSIP_EINVALIDSCHEME; - } - - sip_uri = (pjsip_sip_uri*) pjsip_uri_get_uri(uri_obj); - - /* Done if force_lr is disabled or if lr parameter is present */ - if (!pjsua_var.ua_cfg.force_lr || sip_uri->lr_param) { - pj_pool_release(tmp_pool); - return PJ_SUCCESS; - } - - /* Set lr param */ - sip_uri->lr_param = 1; - - /* Print the URI */ - tmp_uri.ptr = (char*) pj_pool_alloc(tmp_pool, PJSIP_MAX_URL_SIZE); - tmp_uri.slen = pjsip_uri_print(PJSIP_URI_IN_ROUTING_HDR, uri_obj, - tmp_uri.ptr, PJSIP_MAX_URL_SIZE); - if (tmp_uri.slen < 1) { - PJ_LOG(1,(THIS_FILE, "Route URI is too long: %.*s", - (int)uri->slen, uri->ptr)); - pj_pool_release(tmp_pool); - return PJSIP_EURITOOLONG; - } - - /* Clone the URI */ - pj_strdup_with_null(pool, uri, &tmp_uri); - - pj_pool_release(tmp_pool); - return PJ_SUCCESS; -} - -/* - * This is a utility function to dump the stack states to log, using - * verbosity level 3. - */ -PJ_DEF(void) pjsua_dump(pj_bool_t detail) -{ - unsigned old_decor; - unsigned i; - - PJ_LOG(3,(THIS_FILE, "Start dumping application states:")); - - old_decor = pj_log_get_decor(); - pj_log_set_decor(old_decor & (PJ_LOG_HAS_NEWLINE | PJ_LOG_HAS_CR)); - - if (detail) - pj_dump_config(); - - pjsip_endpt_dump(pjsua_get_pjsip_endpt(), detail); - - pjmedia_endpt_dump(pjsua_get_pjmedia_endpt()); - - PJ_LOG(3,(THIS_FILE, "Dumping media transports:")); - for (i=0; imed_cnt; ++j) { - if (call->media[j].tp != NULL) - tp[tp_cnt++] = call->media[j].tp; - } - for (j = 0; j < call->med_prov_cnt; ++j) { - pjmedia_transport *med_tp = call->media_prov[j].tp; - if (med_tp) { - unsigned k; - pj_bool_t used = PJ_FALSE; - for (k = 0; k < tp_cnt; ++k) { - if (med_tp == tp[k]) { - used = PJ_TRUE; - break; - } - } - if (!used) - tp[tp_cnt++] = med_tp; - } - } - - /* Dump the media transports in this call */ - for (j = 0; j < tp_cnt; ++j) { - pjmedia_transport_info tpinfo; - char addr_buf[80]; - - pjmedia_transport_info_init(&tpinfo); - pjmedia_transport_get_info(tp[j], &tpinfo); - PJ_LOG(3,(THIS_FILE, " %s: %s", - (pjsua_var.media_cfg.enable_ice ? "ICE" : "UDP"), - pj_sockaddr_print(&tpinfo.sock_info.rtp_addr_name, - addr_buf, - sizeof(addr_buf), 3))); - } - } - - pjsip_tsx_layer_dump(detail); - pjsip_ua_dump(detail); - -// Dumping complete call states may require a 'large' buffer -// (about 3KB per call session, including RTCP XR). -#if 0 - /* Dump all invite sessions: */ - PJ_LOG(3,(THIS_FILE, "Dumping invite sessions:")); - - if (pjsua_call_get_count() == 0) { - - PJ_LOG(3,(THIS_FILE, " - no sessions -")); - - } else { - unsigned i; - - for (i=0; i call_dump_len) - part_len = call_dump_len - part_idx; - p_orig = p[part_len]; - p[part_len] = '\0'; - PJ_LOG(3,(THIS_FILE, "%s", p)); - p[part_len] = p_orig; - part_idx += part_len; - } - pj_log_set_decor(log_decor); - } - } - } -#endif - - /* Dump presence status */ - pjsua_pres_dump(detail); - - pj_log_set_decor(old_decor); - PJ_LOG(3,(THIS_FILE, "Dump complete")); -} - diff --git a/res/pjproject/pjsip/src/pjsua-lib/pjsua_dump.c b/res/pjproject/pjsip/src/pjsua-lib/pjsua_dump.c deleted file mode 100644 index ed18475bb7..0000000000 --- a/res/pjproject/pjsip/src/pjsua-lib/pjsua_dump.c +++ /dev/null @@ -1,974 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2011-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - -const char *good_number(char *buf, pj_int32_t val) -{ - if (val < 1000) { - pj_ansi_sprintf(buf, "%d", val); - } else if (val < 1000000) { - pj_ansi_sprintf(buf, "%d.%dK", - val / 1000, - (val % 1000) / 100); - } else { - pj_ansi_sprintf(buf, "%d.%02dM", - val / 1000000, - (val % 1000000) / 10000); - } - - return buf; -} - -static unsigned dump_media_stat(const char *indent, - char *buf, unsigned maxlen, - const pjmedia_rtcp_stat *stat, - const char *rx_info, const char *tx_info) -{ - char last_update[64]; - char packets[32], bytes[32], ipbytes[32], avg_bps[32], avg_ipbps[32]; - pj_time_val media_duration, now; - char *p = buf, *end = buf+maxlen; - int len; - - if (stat->rx.update_cnt == 0) - strcpy(last_update, "never"); - else { - pj_gettimeofday(&now); - PJ_TIME_VAL_SUB(now, stat->rx.update); - sprintf(last_update, "%02ldh:%02ldm:%02ld.%03lds ago", - now.sec / 3600, - (now.sec % 3600) / 60, - now.sec % 60, - now.msec); - } - - pj_gettimeofday(&media_duration); - PJ_TIME_VAL_SUB(media_duration, stat->start); - if (PJ_TIME_VAL_MSEC(media_duration) == 0) - media_duration.msec = 1; - - len = pj_ansi_snprintf(p, end-p, - "%s RX %s last update:%s\n" - "%s total %spkt %sB (%sB +IP hdr) @avg=%sbps/%sbps\n" - "%s pkt loss=%d (%3.1f%%), discrd=%d (%3.1f%%), dup=%d (%2.1f%%), reord=%d (%3.1f%%)\n" - "%s (msec) min avg max last dev\n" - "%s loss period: %7.3f %7.3f %7.3f %7.3f %7.3f\n" - "%s jitter : %7.3f %7.3f %7.3f %7.3f %7.3f\n" -#if defined(PJMEDIA_RTCP_STAT_HAS_RAW_JITTER) && PJMEDIA_RTCP_STAT_HAS_RAW_JITTER!=0 - "%s raw jitter : %7.3f %7.3f %7.3f %7.3f %7.3f\n" -#endif -#if defined(PJMEDIA_RTCP_STAT_HAS_IPDV) && PJMEDIA_RTCP_STAT_HAS_IPDV!=0 - "%s IPDV : %7.3f %7.3f %7.3f %7.3f %7.3f\n" -#endif - "%s", - indent, - rx_info? rx_info : "", - last_update, - - indent, - good_number(packets, stat->rx.pkt), - good_number(bytes, stat->rx.bytes), - good_number(ipbytes, stat->rx.bytes + stat->rx.pkt * 40), - good_number(avg_bps, (pj_int32_t)((pj_int64_t)stat->rx.bytes * 8 * 1000 / PJ_TIME_VAL_MSEC(media_duration))), - good_number(avg_ipbps, (pj_int32_t)(((pj_int64_t)stat->rx.bytes + stat->rx.pkt * 40) * 8 * 1000 / PJ_TIME_VAL_MSEC(media_duration))), - indent, - stat->rx.loss, - (stat->rx.loss? stat->rx.loss * 100.0 / (stat->rx.pkt + stat->rx.loss) : 0), - stat->rx.discard, - (stat->rx.discard? stat->rx.discard * 100.0 / (stat->rx.pkt + stat->rx.loss) : 0), - stat->rx.dup, - (stat->rx.dup? stat->rx.dup * 100.0 / (stat->rx.pkt + stat->rx.loss) : 0), - stat->rx.reorder, - (stat->rx.reorder? stat->rx.reorder * 100.0 / (stat->rx.pkt + stat->rx.loss) : 0), - indent, indent, - stat->rx.loss_period.min / 1000.0, - stat->rx.loss_period.mean / 1000.0, - stat->rx.loss_period.max / 1000.0, - stat->rx.loss_period.last / 1000.0, - pj_math_stat_get_stddev(&stat->rx.loss_period) / 1000.0, - indent, - stat->rx.jitter.min / 1000.0, - stat->rx.jitter.mean / 1000.0, - stat->rx.jitter.max / 1000.0, - stat->rx.jitter.last / 1000.0, - pj_math_stat_get_stddev(&stat->rx.jitter) / 1000.0, -#if defined(PJMEDIA_RTCP_STAT_HAS_RAW_JITTER) && PJMEDIA_RTCP_STAT_HAS_RAW_JITTER!=0 - indent, - stat->rx_raw_jitter.min / 1000.0, - stat->rx_raw_jitter.mean / 1000.0, - stat->rx_raw_jitter.max / 1000.0, - stat->rx_raw_jitter.last / 1000.0, - pj_math_stat_get_stddev(&stat->rx_raw_jitter) / 1000.0, -#endif -#if defined(PJMEDIA_RTCP_STAT_HAS_IPDV) && PJMEDIA_RTCP_STAT_HAS_IPDV!=0 - indent, - stat->rx_ipdv.min / 1000.0, - stat->rx_ipdv.mean / 1000.0, - stat->rx_ipdv.max / 1000.0, - stat->rx_ipdv.last / 1000.0, - pj_math_stat_get_stddev(&stat->rx_ipdv) / 1000.0, -#endif - "" - ); - - if (len < 1 || len > end-p) { - *p = '\0'; - return (p-buf); - } - p += len; - - if (stat->tx.update_cnt == 0) - strcpy(last_update, "never"); - else { - pj_gettimeofday(&now); - PJ_TIME_VAL_SUB(now, stat->tx.update); - sprintf(last_update, "%02ldh:%02ldm:%02ld.%03lds ago", - now.sec / 3600, - (now.sec % 3600) / 60, - now.sec % 60, - now.msec); - } - - len = pj_ansi_snprintf(p, end-p, - "%s TX %s last update:%s\n" - "%s total %spkt %sB (%sB +IP hdr) @avg=%sbps/%sbps\n" - "%s pkt loss=%d (%3.1f%%), dup=%d (%3.1f%%), reorder=%d (%3.1f%%)\n" - "%s (msec) min avg max last dev \n" - "%s loss period: %7.3f %7.3f %7.3f %7.3f %7.3f\n" - "%s jitter : %7.3f %7.3f %7.3f %7.3f %7.3f\n", - indent, - tx_info, - last_update, - - indent, - good_number(packets, stat->tx.pkt), - good_number(bytes, stat->tx.bytes), - good_number(ipbytes, stat->tx.bytes + stat->tx.pkt * 40), - good_number(avg_bps, (pj_int32_t)((pj_int64_t)stat->tx.bytes * 8 * 1000 / PJ_TIME_VAL_MSEC(media_duration))), - good_number(avg_ipbps, (pj_int32_t)(((pj_int64_t)stat->tx.bytes + stat->tx.pkt * 40) * 8 * 1000 / PJ_TIME_VAL_MSEC(media_duration))), - - indent, - stat->tx.loss, - (stat->tx.loss? stat->tx.loss * 100.0 / (stat->tx.pkt + stat->tx.loss) : 0), - stat->tx.dup, - (stat->tx.dup? stat->tx.dup * 100.0 / (stat->tx.pkt + stat->tx.loss) : 0), - stat->tx.reorder, - (stat->tx.reorder? stat->tx.reorder * 100.0 / (stat->tx.pkt + stat->tx.loss) : 0), - - indent, indent, - stat->tx.loss_period.min / 1000.0, - stat->tx.loss_period.mean / 1000.0, - stat->tx.loss_period.max / 1000.0, - stat->tx.loss_period.last / 1000.0, - pj_math_stat_get_stddev(&stat->tx.loss_period) / 1000.0, - indent, - stat->tx.jitter.min / 1000.0, - stat->tx.jitter.mean / 1000.0, - stat->tx.jitter.max / 1000.0, - stat->tx.jitter.last / 1000.0, - pj_math_stat_get_stddev(&stat->tx.jitter) / 1000.0 - ); - - if (len < 1 || len > end-p) { - *p = '\0'; - return (p-buf); - } - p += len; - - len = pj_ansi_snprintf(p, end-p, - "%s RTT msec : %7.3f %7.3f %7.3f %7.3f %7.3f\n", - indent, - stat->rtt.min / 1000.0, - stat->rtt.mean / 1000.0, - stat->rtt.max / 1000.0, - stat->rtt.last / 1000.0, - pj_math_stat_get_stddev(&stat->rtt) / 1000.0 - ); - if (len < 1 || len > end-p) { - *p = '\0'; - return (p-buf); - } - p += len; - - return (p-buf); -} - - -/* Dump media session */ -static void dump_media_session(const char *indent, - char *buf, unsigned maxlen, - pjsua_call *call) -{ - unsigned i; - char *p = buf, *end = buf+maxlen; - int len; - - for (i=0; imed_cnt; ++i) { - pjsua_call_media *call_med = &call->media[i]; - pjmedia_rtcp_stat stat; - pj_bool_t has_stat; - pjmedia_transport_info tp_info; - char rem_addr_buf[80]; - char codec_info[32] = {'0'}; - char rx_info[80] = {'\0'}; - char tx_info[80] = {'\0'}; - const char *rem_addr; - const char *dir_str; - const char *media_type_str; - - switch (call_med->type) { - case PJMEDIA_TYPE_AUDIO: - media_type_str = "audio"; - break; - case PJMEDIA_TYPE_VIDEO: - media_type_str = "video"; - break; - case PJMEDIA_TYPE_APPLICATION: - media_type_str = "application"; - break; - default: - media_type_str = "unknown"; - break; - } - - /* Check if the stream is deactivated */ - if (call_med->tp == NULL || - (!call_med->strm.a.stream && !call_med->strm.v.stream)) - { - len = pj_ansi_snprintf(p, end-p, - "%s #%d %s deactivated\n", - indent, i, media_type_str); - if (len < 1 || len > end-p) { - *p = '\0'; - return; - } - - p += len; - continue; - } - - pjmedia_transport_info_init(&tp_info); - pjmedia_transport_get_info(call_med->tp, &tp_info); - - // rem_addr will contain actual address of RTP originator, instead of - // remote RTP address specified by stream which is fetched from the SDP. - // Please note that we are assuming only one stream per call. - //rem_addr = pj_sockaddr_print(&info.stream_info[i].rem_addr, - // rem_addr_buf, sizeof(rem_addr_buf), 3); - if (pj_sockaddr_has_addr(&tp_info.src_rtp_name)) { - rem_addr = pj_sockaddr_print(&tp_info.src_rtp_name, rem_addr_buf, - sizeof(rem_addr_buf), 3); - } else { - pj_ansi_snprintf(rem_addr_buf, sizeof(rem_addr_buf), "-"); - rem_addr = rem_addr_buf; - } - - if (call_med->dir == PJMEDIA_DIR_NONE) { - /* To handle when the stream that is currently being paused - * (http://trac.pjsip.org/repos/ticket/1079) - */ - dir_str = "inactive"; - } else if (call_med->dir == PJMEDIA_DIR_ENCODING) - dir_str = "sendonly"; - else if (call_med->dir == PJMEDIA_DIR_DECODING) - dir_str = "recvonly"; - else if (call_med->dir == PJMEDIA_DIR_ENCODING_DECODING) - dir_str = "sendrecv"; - else - dir_str = "inactive"; - - if (call_med->type == PJMEDIA_TYPE_AUDIO) { - pjmedia_stream *stream = call_med->strm.a.stream; - pjmedia_stream_info info; - - pjmedia_stream_get_stat(stream, &stat); - has_stat = PJ_TRUE; - - pjmedia_stream_get_info(stream, &info); - pj_ansi_snprintf(codec_info, sizeof(codec_info), " %.*s @%dkHz", - (int)info.fmt.encoding_name.slen, - info.fmt.encoding_name.ptr, - info.fmt.clock_rate / 1000); - pj_ansi_snprintf(rx_info, sizeof(rx_info), "pt=%d,", - info.rx_pt); - pj_ansi_snprintf(tx_info, sizeof(tx_info), "pt=%d, ptime=%d,", - info.tx_pt, - info.param->setting.frm_per_pkt* - info.param->info.frm_ptime); - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - } else if (call_med->type == PJMEDIA_TYPE_VIDEO) { - pjmedia_vid_stream *stream = call_med->strm.v.stream; - pjmedia_vid_stream_info info; - - pjmedia_vid_stream_get_stat(stream, &stat); - has_stat = PJ_TRUE; - - pjmedia_vid_stream_get_info(stream, &info); - pj_ansi_snprintf(codec_info, sizeof(codec_info), " %.*s", - (int)info.codec_info.encoding_name.slen, - info.codec_info.encoding_name.ptr); - if (call_med->dir & PJMEDIA_DIR_DECODING) { - pjmedia_video_format_detail *vfd; - vfd = pjmedia_format_get_video_format_detail( - &info.codec_param->dec_fmt, PJ_TRUE); - pj_ansi_snprintf(rx_info, sizeof(rx_info), - "pt=%d, size=%dx%d, fps=%.2f,", - info.rx_pt, - vfd->size.w, vfd->size.h, - vfd->fps.num*1.0/vfd->fps.denum); - } - if (call_med->dir & PJMEDIA_DIR_ENCODING) { - pjmedia_video_format_detail *vfd; - vfd = pjmedia_format_get_video_format_detail( - &info.codec_param->enc_fmt, PJ_TRUE); - pj_ansi_snprintf(tx_info, sizeof(tx_info), - "pt=%d, size=%dx%d, fps=%.2f,", - info.tx_pt, - vfd->size.w, vfd->size.h, - vfd->fps.num*1.0/vfd->fps.denum); - } -#endif /* PJMEDIA_HAS_VIDEO */ - - } else { - has_stat = PJ_FALSE; - } - - len = pj_ansi_snprintf(p, end-p, - "%s #%d %s%s, %s, peer=%s\n", - indent, - call_med->idx, - media_type_str, - codec_info, - dir_str, - rem_addr); - if (len < 1 || len > end-p) { - *p = '\0'; - return; - } - p += len; - - /* Get and ICE SRTP status */ - if (call_med->tp) { - pjmedia_transport_info tp_info; - - pjmedia_transport_info_init(&tp_info); - pjmedia_transport_get_info(call_med->tp, &tp_info); - if (tp_info.specific_info_cnt > 0) { - unsigned j; - for (j = 0; j < tp_info.specific_info_cnt; ++j) { - if (tp_info.spc_info[j].type == PJMEDIA_TRANSPORT_TYPE_SRTP) - { - pjmedia_srtp_info *srtp_info = - (pjmedia_srtp_info*) tp_info.spc_info[j].buffer; - - len = pj_ansi_snprintf(p, end-p, - " %s SRTP status: %s Crypto-suite: %s", - indent, - (srtp_info->active?"Active":"Not active"), - srtp_info->tx_policy.name.ptr); - if (len > 0 && len < end-p) { - p += len; - *p++ = '\n'; - *p = '\0'; - } - } else if (tp_info.spc_info[j].type==PJMEDIA_TRANSPORT_TYPE_ICE) { - const pjmedia_ice_transport_info *ii; - unsigned jj; - - ii = (const pjmedia_ice_transport_info*) - tp_info.spc_info[j].buffer; - - len = pj_ansi_snprintf(p, end-p, - " %s ICE role: %s, state: %s, comp_cnt: %u", - indent, - pj_ice_sess_role_name(ii->role), - pj_ice_strans_state_name(ii->sess_state), - ii->comp_cnt); - if (len > 0 && len < end-p) { - p += len; - *p++ = '\n'; - *p = '\0'; - } - - for (jj=0; ii->sess_state==PJ_ICE_STRANS_STATE_RUNNING && jj<2; ++jj) { - const char *type1 = pj_ice_get_cand_type_name(ii->comp[jj].lcand_type); - const char *type2 = pj_ice_get_cand_type_name(ii->comp[jj].rcand_type); - char addr1[PJ_INET6_ADDRSTRLEN+10]; - char addr2[PJ_INET6_ADDRSTRLEN+10]; - - if (pj_sockaddr_has_addr(&ii->comp[jj].lcand_addr)) - pj_sockaddr_print(&ii->comp[jj].lcand_addr, addr1, sizeof(addr1), 3); - else - strcpy(addr1, "0.0.0.0:0"); - if (pj_sockaddr_has_addr(&ii->comp[jj].rcand_addr)) - pj_sockaddr_print(&ii->comp[jj].rcand_addr, addr2, sizeof(addr2), 3); - else - strcpy(addr2, "0.0.0.0:0"); - len = pj_ansi_snprintf(p, end-p, - " %s [%d]: L:%s (%c) --> R:%s (%c)\n", - indent, jj, - addr1, type1[0], - addr2, type2[0]); - if (len > 0 && len < end-p) { - p += len; - *p = '\0'; - } - } - } - } - } - } - - - if (has_stat) { - len = dump_media_stat(indent, p, end-p, &stat, - rx_info, tx_info); - p += len; - } - -#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) -# define SAMPLES_TO_USEC(usec, samples, clock_rate) \ - do { \ - if (samples <= 4294) \ - usec = samples * 1000000 / clock_rate; \ - else { \ - usec = samples * 1000 / clock_rate; \ - usec *= 1000; \ - } \ - } while(0) - -# define PRINT_VOIP_MTC_VAL(s, v) \ - if (v == 127) \ - sprintf(s, "(na)"); \ - else \ - sprintf(s, "%d", v) - -# define VALIDATE_PRINT_BUF() \ - if (len < 1 || len > end-p) { *p = '\0'; return; } \ - p += len; *p++ = '\n'; *p = '\0' - - - if (call_med->type == PJMEDIA_TYPE_AUDIO) { - pjmedia_stream_info info; - char last_update[64]; - char loss[16], dup[16]; - char jitter[80]; - char toh[80]; - char plc[16], jba[16], jbr[16]; - char signal_lvl[16], noise_lvl[16], rerl[16]; - char r_factor[16], ext_r_factor[16], mos_lq[16], mos_cq[16]; - pjmedia_rtcp_xr_stat xr_stat; - unsigned clock_rate; - pj_time_val now; - - if (pjmedia_stream_get_stat_xr(call_med->strm.a.stream, - &xr_stat) != PJ_SUCCESS) - { - continue; - } - - if (pjmedia_stream_get_info(call_med->strm.a.stream, &info) - != PJ_SUCCESS) - { - continue; - } - - clock_rate = info.fmt.clock_rate; - pj_gettimeofday(&now); - - len = pj_ansi_snprintf(p, end-p, "\n%s Extended reports:", indent); - VALIDATE_PRINT_BUF(); - - /* Statistics Summary */ - len = pj_ansi_snprintf(p, end-p, "%s Statistics Summary", indent); - VALIDATE_PRINT_BUF(); - - if (xr_stat.rx.stat_sum.l) - sprintf(loss, "%d", xr_stat.rx.stat_sum.lost); - else - sprintf(loss, "(na)"); - - if (xr_stat.rx.stat_sum.d) - sprintf(dup, "%d", xr_stat.rx.stat_sum.dup); - else - sprintf(dup, "(na)"); - - if (xr_stat.rx.stat_sum.j) { - unsigned jmin, jmax, jmean, jdev; - - SAMPLES_TO_USEC(jmin, xr_stat.rx.stat_sum.jitter.min, - clock_rate); - SAMPLES_TO_USEC(jmax, xr_stat.rx.stat_sum.jitter.max, - clock_rate); - SAMPLES_TO_USEC(jmean, xr_stat.rx.stat_sum.jitter.mean, - clock_rate); - SAMPLES_TO_USEC(jdev, - pj_math_stat_get_stddev(&xr_stat.rx.stat_sum.jitter), - clock_rate); - sprintf(jitter, "%7.3f %7.3f %7.3f %7.3f", - jmin/1000.0, jmean/1000.0, jmax/1000.0, jdev/1000.0); - } else - sprintf(jitter, "(report not available)"); - - if (xr_stat.rx.stat_sum.t) { - sprintf(toh, "%11d %11d %11d %11d", - xr_stat.rx.stat_sum.toh.min, - xr_stat.rx.stat_sum.toh.mean, - xr_stat.rx.stat_sum.toh.max, - pj_math_stat_get_stddev(&xr_stat.rx.stat_sum.toh)); - } else - sprintf(toh, "(report not available)"); - - if (xr_stat.rx.stat_sum.update.sec == 0) - strcpy(last_update, "never"); - else { - pj_gettimeofday(&now); - PJ_TIME_VAL_SUB(now, xr_stat.rx.stat_sum.update); - sprintf(last_update, "%02ldh:%02ldm:%02ld.%03lds ago", - now.sec / 3600, - (now.sec % 3600) / 60, - now.sec % 60, - now.msec); - } - - len = pj_ansi_snprintf(p, end-p, - "%s RX last update: %s\n" - "%s begin seq=%d, end seq=%d\n" - "%s pkt loss=%s, dup=%s\n" - "%s (msec) min avg max dev\n" - "%s jitter : %s\n" - "%s toh : %s", - indent, last_update, - indent, - xr_stat.rx.stat_sum.begin_seq, xr_stat.rx.stat_sum.end_seq, - indent, loss, dup, - indent, - indent, jitter, - indent, toh - ); - VALIDATE_PRINT_BUF(); - - if (xr_stat.tx.stat_sum.l) - sprintf(loss, "%d", xr_stat.tx.stat_sum.lost); - else - sprintf(loss, "(na)"); - - if (xr_stat.tx.stat_sum.d) - sprintf(dup, "%d", xr_stat.tx.stat_sum.dup); - else - sprintf(dup, "(na)"); - - if (xr_stat.tx.stat_sum.j) { - unsigned jmin, jmax, jmean, jdev; - - SAMPLES_TO_USEC(jmin, xr_stat.tx.stat_sum.jitter.min, - clock_rate); - SAMPLES_TO_USEC(jmax, xr_stat.tx.stat_sum.jitter.max, - clock_rate); - SAMPLES_TO_USEC(jmean, xr_stat.tx.stat_sum.jitter.mean, - clock_rate); - SAMPLES_TO_USEC(jdev, - pj_math_stat_get_stddev(&xr_stat.tx.stat_sum.jitter), - clock_rate); - sprintf(jitter, "%7.3f %7.3f %7.3f %7.3f", - jmin/1000.0, jmean/1000.0, jmax/1000.0, jdev/1000.0); - } else - sprintf(jitter, "(report not available)"); - - if (xr_stat.tx.stat_sum.t) { - sprintf(toh, "%11d %11d %11d %11d", - xr_stat.tx.stat_sum.toh.min, - xr_stat.tx.stat_sum.toh.mean, - xr_stat.tx.stat_sum.toh.max, - pj_math_stat_get_stddev(&xr_stat.rx.stat_sum.toh)); - } else - sprintf(toh, "(report not available)"); - - if (xr_stat.tx.stat_sum.update.sec == 0) - strcpy(last_update, "never"); - else { - pj_gettimeofday(&now); - PJ_TIME_VAL_SUB(now, xr_stat.tx.stat_sum.update); - sprintf(last_update, "%02ldh:%02ldm:%02ld.%03lds ago", - now.sec / 3600, - (now.sec % 3600) / 60, - now.sec % 60, - now.msec); - } - - len = pj_ansi_snprintf(p, end-p, - "%s TX last update: %s\n" - "%s begin seq=%d, end seq=%d\n" - "%s pkt loss=%s, dup=%s\n" - "%s (msec) min avg max dev\n" - "%s jitter : %s\n" - "%s toh : %s", - indent, last_update, - indent, - xr_stat.tx.stat_sum.begin_seq, xr_stat.tx.stat_sum.end_seq, - indent, loss, dup, - indent, - indent, jitter, - indent, toh - ); - VALIDATE_PRINT_BUF(); - - - /* VoIP Metrics */ - len = pj_ansi_snprintf(p, end-p, "%s VoIP Metrics", indent); - VALIDATE_PRINT_BUF(); - - PRINT_VOIP_MTC_VAL(signal_lvl, xr_stat.rx.voip_mtc.signal_lvl); - PRINT_VOIP_MTC_VAL(noise_lvl, xr_stat.rx.voip_mtc.noise_lvl); - PRINT_VOIP_MTC_VAL(rerl, xr_stat.rx.voip_mtc.rerl); - PRINT_VOIP_MTC_VAL(r_factor, xr_stat.rx.voip_mtc.r_factor); - PRINT_VOIP_MTC_VAL(ext_r_factor, xr_stat.rx.voip_mtc.ext_r_factor); - PRINT_VOIP_MTC_VAL(mos_lq, xr_stat.rx.voip_mtc.mos_lq); - PRINT_VOIP_MTC_VAL(mos_cq, xr_stat.rx.voip_mtc.mos_cq); - - switch ((xr_stat.rx.voip_mtc.rx_config>>6) & 3) { - case PJMEDIA_RTCP_XR_PLC_DIS: - sprintf(plc, "DISABLED"); - break; - case PJMEDIA_RTCP_XR_PLC_ENH: - sprintf(plc, "ENHANCED"); - break; - case PJMEDIA_RTCP_XR_PLC_STD: - sprintf(plc, "STANDARD"); - break; - case PJMEDIA_RTCP_XR_PLC_UNK: - default: - sprintf(plc, "UNKNOWN"); - break; - } - - switch ((xr_stat.rx.voip_mtc.rx_config>>4) & 3) { - case PJMEDIA_RTCP_XR_JB_FIXED: - sprintf(jba, "FIXED"); - break; - case PJMEDIA_RTCP_XR_JB_ADAPTIVE: - sprintf(jba, "ADAPTIVE"); - break; - default: - sprintf(jba, "UNKNOWN"); - break; - } - - sprintf(jbr, "%d", xr_stat.rx.voip_mtc.rx_config & 0x0F); - - if (xr_stat.rx.voip_mtc.update.sec == 0) - strcpy(last_update, "never"); - else { - pj_gettimeofday(&now); - PJ_TIME_VAL_SUB(now, xr_stat.rx.voip_mtc.update); - sprintf(last_update, "%02ldh:%02ldm:%02ld.%03lds ago", - now.sec / 3600, - (now.sec % 3600) / 60, - now.sec % 60, - now.msec); - } - - len = pj_ansi_snprintf(p, end-p, - "%s RX last update: %s\n" - "%s packets : loss rate=%d (%.2f%%), discard rate=%d (%.2f%%)\n" - "%s burst : density=%d (%.2f%%), duration=%d%s\n" - "%s gap : density=%d (%.2f%%), duration=%d%s\n" - "%s delay : round trip=%d%s, end system=%d%s\n" - "%s level : signal=%s%s, noise=%s%s, RERL=%s%s\n" - "%s quality : R factor=%s, ext R factor=%s\n" - "%s MOS LQ=%s, MOS CQ=%s\n" - "%s config : PLC=%s, JB=%s, JB rate=%s, Gmin=%d\n" - "%s JB delay : cur=%d%s, max=%d%s, abs max=%d%s", - indent, - last_update, - /* packets */ - indent, - xr_stat.rx.voip_mtc.loss_rate, xr_stat.rx.voip_mtc.loss_rate*100.0/256, - xr_stat.rx.voip_mtc.discard_rate, xr_stat.rx.voip_mtc.discard_rate*100.0/256, - /* burst */ - indent, - xr_stat.rx.voip_mtc.burst_den, xr_stat.rx.voip_mtc.burst_den*100.0/256, - xr_stat.rx.voip_mtc.burst_dur, "ms", - /* gap */ - indent, - xr_stat.rx.voip_mtc.gap_den, xr_stat.rx.voip_mtc.gap_den*100.0/256, - xr_stat.rx.voip_mtc.gap_dur, "ms", - /* delay */ - indent, - xr_stat.rx.voip_mtc.rnd_trip_delay, "ms", - xr_stat.rx.voip_mtc.end_sys_delay, "ms", - /* level */ - indent, - signal_lvl, "dB", - noise_lvl, "dB", - rerl, "", - /* quality */ - indent, - r_factor, ext_r_factor, - indent, - mos_lq, mos_cq, - /* config */ - indent, - plc, jba, jbr, xr_stat.rx.voip_mtc.gmin, - /* JB delay */ - indent, - xr_stat.rx.voip_mtc.jb_nom, "ms", - xr_stat.rx.voip_mtc.jb_max, "ms", - xr_stat.rx.voip_mtc.jb_abs_max, "ms" - ); - VALIDATE_PRINT_BUF(); - - PRINT_VOIP_MTC_VAL(signal_lvl, xr_stat.tx.voip_mtc.signal_lvl); - PRINT_VOIP_MTC_VAL(noise_lvl, xr_stat.tx.voip_mtc.noise_lvl); - PRINT_VOIP_MTC_VAL(rerl, xr_stat.tx.voip_mtc.rerl); - PRINT_VOIP_MTC_VAL(r_factor, xr_stat.tx.voip_mtc.r_factor); - PRINT_VOIP_MTC_VAL(ext_r_factor, xr_stat.tx.voip_mtc.ext_r_factor); - PRINT_VOIP_MTC_VAL(mos_lq, xr_stat.tx.voip_mtc.mos_lq); - PRINT_VOIP_MTC_VAL(mos_cq, xr_stat.tx.voip_mtc.mos_cq); - - switch ((xr_stat.tx.voip_mtc.rx_config>>6) & 3) { - case PJMEDIA_RTCP_XR_PLC_DIS: - sprintf(plc, "DISABLED"); - break; - case PJMEDIA_RTCP_XR_PLC_ENH: - sprintf(plc, "ENHANCED"); - break; - case PJMEDIA_RTCP_XR_PLC_STD: - sprintf(plc, "STANDARD"); - break; - case PJMEDIA_RTCP_XR_PLC_UNK: - default: - sprintf(plc, "unknown"); - break; - } - - switch ((xr_stat.tx.voip_mtc.rx_config>>4) & 3) { - case PJMEDIA_RTCP_XR_JB_FIXED: - sprintf(jba, "FIXED"); - break; - case PJMEDIA_RTCP_XR_JB_ADAPTIVE: - sprintf(jba, "ADAPTIVE"); - break; - default: - sprintf(jba, "unknown"); - break; - } - - sprintf(jbr, "%d", xr_stat.tx.voip_mtc.rx_config & 0x0F); - - if (xr_stat.tx.voip_mtc.update.sec == 0) - strcpy(last_update, "never"); - else { - pj_gettimeofday(&now); - PJ_TIME_VAL_SUB(now, xr_stat.tx.voip_mtc.update); - sprintf(last_update, "%02ldh:%02ldm:%02ld.%03lds ago", - now.sec / 3600, - (now.sec % 3600) / 60, - now.sec % 60, - now.msec); - } - - len = pj_ansi_snprintf(p, end-p, - "%s TX last update: %s\n" - "%s packets : loss rate=%d (%.2f%%), discard rate=%d (%.2f%%)\n" - "%s burst : density=%d (%.2f%%), duration=%d%s\n" - "%s gap : density=%d (%.2f%%), duration=%d%s\n" - "%s delay : round trip=%d%s, end system=%d%s\n" - "%s level : signal=%s%s, noise=%s%s, RERL=%s%s\n" - "%s quality : R factor=%s, ext R factor=%s\n" - "%s MOS LQ=%s, MOS CQ=%s\n" - "%s config : PLC=%s, JB=%s, JB rate=%s, Gmin=%d\n" - "%s JB delay : cur=%d%s, max=%d%s, abs max=%d%s", - indent, - last_update, - /* pakcets */ - indent, - xr_stat.tx.voip_mtc.loss_rate, xr_stat.tx.voip_mtc.loss_rate*100.0/256, - xr_stat.tx.voip_mtc.discard_rate, xr_stat.tx.voip_mtc.discard_rate*100.0/256, - /* burst */ - indent, - xr_stat.tx.voip_mtc.burst_den, xr_stat.tx.voip_mtc.burst_den*100.0/256, - xr_stat.tx.voip_mtc.burst_dur, "ms", - /* gap */ - indent, - xr_stat.tx.voip_mtc.gap_den, xr_stat.tx.voip_mtc.gap_den*100.0/256, - xr_stat.tx.voip_mtc.gap_dur, "ms", - /* delay */ - indent, - xr_stat.tx.voip_mtc.rnd_trip_delay, "ms", - xr_stat.tx.voip_mtc.end_sys_delay, "ms", - /* level */ - indent, - signal_lvl, "dB", - noise_lvl, "dB", - rerl, "", - /* quality */ - indent, - r_factor, ext_r_factor, - indent, - mos_lq, mos_cq, - /* config */ - indent, - plc, jba, jbr, xr_stat.tx.voip_mtc.gmin, - /* JB delay */ - indent, - xr_stat.tx.voip_mtc.jb_nom, "ms", - xr_stat.tx.voip_mtc.jb_max, "ms", - xr_stat.tx.voip_mtc.jb_abs_max, "ms" - ); - VALIDATE_PRINT_BUF(); - - - /* RTT delay (by receiver side) */ - len = pj_ansi_snprintf(p, end-p, - "%s RTT (from recv) min avg max last dev", - indent); - VALIDATE_PRINT_BUF(); - len = pj_ansi_snprintf(p, end-p, - "%s RTT msec : %7.3f %7.3f %7.3f %7.3f %7.3f", - indent, - xr_stat.rtt.min / 1000.0, - xr_stat.rtt.mean / 1000.0, - xr_stat.rtt.max / 1000.0, - xr_stat.rtt.last / 1000.0, - pj_math_stat_get_stddev(&xr_stat.rtt) / 1000.0 - ); - VALIDATE_PRINT_BUF(); - } /* if audio */; -#endif - - } -} - - -/* Print call info */ -void print_call(const char *title, - int call_id, - char *buf, pj_size_t size) -{ - int len; - pjsip_inv_session *inv = pjsua_var.calls[call_id].inv; - pjsip_dialog *dlg = inv->dlg; - char userinfo[128]; - - /* Dump invite sesion info. */ - - len = pjsip_hdr_print_on(dlg->remote.info, userinfo, sizeof(userinfo)); - if (len < 0) - pj_ansi_strcpy(userinfo, "<--uri too long-->"); - else - userinfo[len] = '\0'; - - len = pj_ansi_snprintf(buf, size, "%s[%s] %s", - title, - pjsip_inv_state_name(inv->state), - userinfo); - if (len < 1 || len >= (int)size) { - pj_ansi_strcpy(buf, "<--uri too long-->"); - len = 18; - } else - buf[len] = '\0'; -} - - -/* - * Dump call and media statistics to string. - */ -PJ_DEF(pj_status_t) pjsua_call_dump( pjsua_call_id call_id, - pj_bool_t with_media, - char *buffer, - unsigned maxlen, - const char *indent) -{ - pjsua_call *call; - pjsip_dialog *dlg; - pj_time_val duration, res_delay, con_delay; - char tmp[128]; - char *p, *end; - pj_status_t status; - int len; - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - - status = acquire_call("pjsua_call_dump()", call_id, &call, &dlg); - if (status != PJ_SUCCESS) - return status; - - *buffer = '\0'; - p = buffer; - end = buffer + maxlen; - len = 0; - - print_call(indent, call_id, tmp, sizeof(tmp)); - - len = pj_ansi_strlen(tmp); - pj_ansi_strcpy(buffer, tmp); - - p += len; - *p++ = '\r'; - *p++ = '\n'; - - /* Calculate call duration */ - if (call->conn_time.sec != 0) { - pj_gettimeofday(&duration); - PJ_TIME_VAL_SUB(duration, call->conn_time); - con_delay = call->conn_time; - PJ_TIME_VAL_SUB(con_delay, call->start_time); - } else { - duration.sec = duration.msec = 0; - con_delay.sec = con_delay.msec = 0; - } - - /* Calculate first response delay */ - if (call->res_time.sec != 0) { - res_delay = call->res_time; - PJ_TIME_VAL_SUB(res_delay, call->start_time); - } else { - res_delay.sec = res_delay.msec = 0; - } - - /* Print duration */ - len = pj_ansi_snprintf(p, end-p, - "%s Call time: %02dh:%02dm:%02ds, " - "1st res in %d ms, conn in %dms", - indent, - (int)(duration.sec / 3600), - (int)((duration.sec % 3600)/60), - (int)(duration.sec % 60), - (int)PJ_TIME_VAL_MSEC(res_delay), - (int)PJ_TIME_VAL_MSEC(con_delay)); - - if (len > 0 && len < end-p) { - p += len; - *p++ = '\n'; - *p = '\0'; - } - - /* Dump session statistics */ - if (with_media) - dump_media_session(indent, p, end-p, call); - - pjsip_dlg_dec_lock(dlg); - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjsip/src/pjsua-lib/pjsua_im.c b/res/pjproject/pjsip/src/pjsua-lib/pjsua_im.c deleted file mode 100644 index a1062c6fe6..0000000000 --- a/res/pjproject/pjsip/src/pjsua-lib/pjsua_im.c +++ /dev/null @@ -1,733 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - - -#define THIS_FILE "pjsua_im.h" - - -/* Declare MESSAGE method */ -/* We put PJSIP_MESSAGE_METHOD as the enum here, so that when - * somebody add that method into pjsip_method_e in sip_msg.h we - * will get an error here. - */ -enum -{ - PJSIP_MESSAGE_METHOD = PJSIP_OTHER_METHOD -}; - -const pjsip_method pjsip_message_method = -{ - (pjsip_method_e) PJSIP_MESSAGE_METHOD, - { "MESSAGE", 7 } -}; - - -/* Proto */ -static pj_bool_t im_on_rx_request(pjsip_rx_data *rdata); - - -/* The module instance. */ -static pjsip_module mod_pjsua_im = -{ - NULL, NULL, /* prev, next. */ - { "mod-pjsua-im", 12 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &im_on_rx_request, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ - -}; - - -/* MIME constants. */ -static const pj_str_t STR_MIME_APP = { "application", 11 }; -static const pj_str_t STR_MIME_ISCOMPOSING = { "im-iscomposing+xml", 18 }; -static const pj_str_t STR_MIME_TEXT = { "text", 4 }; -static const pj_str_t STR_MIME_PLAIN = { "plain", 5 }; - - -/* Check if content type is acceptable */ -#if 0 -static pj_bool_t acceptable_message(const pjsip_media_type *mime) -{ - return (pj_stricmp(&mime->type, &STR_MIME_TEXT)==0 && - pj_stricmp(&mime->subtype, &STR_MIME_PLAIN)==0) - || - (pj_stricmp(&mime->type, &STR_MIME_APP)==0 && - pj_stricmp(&mime->subtype, &STR_MIME_ISCOMPOSING)==0); -} -#endif - -/** - * Create Accept header for MESSAGE. - */ -pjsip_accept_hdr* pjsua_im_create_accept(pj_pool_t *pool) -{ - /* Create Accept header. */ - pjsip_accept_hdr *accept; - - accept = pjsip_accept_hdr_create(pool); - accept->values[0] = pj_str("text/plain"); - accept->values[1] = pj_str("application/im-iscomposing+xml"); - accept->count = 2; - - return accept; -} - -/** - * Private: check if we can accept the message. - */ -pj_bool_t pjsua_im_accept_pager(pjsip_rx_data *rdata, - pjsip_accept_hdr **p_accept_hdr) -{ - /* Some UA sends text/html, so this check will break */ -#if 0 - pjsip_ctype_hdr *ctype; - pjsip_msg *msg; - - msg = rdata->msg_info.msg; - - /* Request MUST have message body, with Content-Type equal to - * "text/plain". - */ - ctype = (pjsip_ctype_hdr*) - pjsip_msg_find_hdr(msg, PJSIP_H_CONTENT_TYPE, NULL); - if (msg->body == NULL || ctype == NULL || - !acceptable_message(&ctype->media)) - { - /* Create Accept header. */ - if (p_accept_hdr) - *p_accept_hdr = pjsua_im_create_accept(rdata->tp_info.pool); - - return PJ_FALSE; - } -#elif 0 - pjsip_msg *msg; - - msg = rdata->msg_info.msg; - if (msg->body == NULL) { - /* Create Accept header. */ - if (p_accept_hdr) - *p_accept_hdr = pjsua_im_create_accept(rdata->tp_info.pool); - - return PJ_FALSE; - } -#else - /* Ticket #693: allow incoming MESSAGE without message body */ - PJ_UNUSED_ARG(rdata); - PJ_UNUSED_ARG(p_accept_hdr); -#endif - - return PJ_TRUE; -} - -/** - * Private: process pager message. - * This may trigger pjsua_ui_on_pager() or pjsua_ui_on_typing(). - */ -void pjsua_im_process_pager(int call_id, const pj_str_t *from, - const pj_str_t *to, pjsip_rx_data *rdata) -{ - pjsip_contact_hdr *contact_hdr; - pj_str_t contact; - pjsip_msg_body *body = rdata->msg_info.msg->body; - -#if 0 - /* Ticket #693: allow incoming MESSAGE without message body */ - /* Body MUST have been checked before */ - pj_assert(body != NULL); -#endif - - - /* Build remote contact */ - contact_hdr = (pjsip_contact_hdr*) - pjsip_msg_find_hdr(rdata->msg_info.msg, PJSIP_H_CONTACT, - NULL); - if (contact_hdr && contact_hdr->uri) { - contact.ptr = (char*) pj_pool_alloc(rdata->tp_info.pool, - PJSIP_MAX_URL_SIZE); - contact.slen = pjsip_uri_print(PJSIP_URI_IN_CONTACT_HDR, - contact_hdr->uri, contact.ptr, - PJSIP_MAX_URL_SIZE); - } else { - contact.slen = 0; - } - - if (body && pj_stricmp(&body->content_type.type, &STR_MIME_APP)==0 && - pj_stricmp(&body->content_type.subtype, &STR_MIME_ISCOMPOSING)==0) - { - /* Expecting typing indication */ - pj_status_t status; - pj_bool_t is_typing; - - status = pjsip_iscomposing_parse(rdata->tp_info.pool, (char*)body->data, - body->len, &is_typing, NULL, NULL, - NULL ); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Invalid MESSAGE body", status); - return; - } - - if (pjsua_var.ua_cfg.cb.on_typing) { - (*pjsua_var.ua_cfg.cb.on_typing)(call_id, from, to, &contact, - is_typing); - } - - if (pjsua_var.ua_cfg.cb.on_typing2) { - pjsua_acc_id acc_id; - - if (call_id == PJSUA_INVALID_ID) { - acc_id = pjsua_acc_find_for_incoming(rdata); - } else { - pjsua_call *call = &pjsua_var.calls[call_id]; - acc_id = call->acc_id; - } - - - (*pjsua_var.ua_cfg.cb.on_typing2)(call_id, from, to, &contact, - is_typing, rdata, acc_id); - } - - } else { - pj_str_t mime_type; - char buf[256]; - pjsip_media_type *m; - pj_str_t text_body; - - /* Save text body */ - if (body) { - text_body.ptr = (char*)rdata->msg_info.msg->body->data; - text_body.slen = rdata->msg_info.msg->body->len; - - /* Get mime type */ - m = &rdata->msg_info.msg->body->content_type; - mime_type.ptr = buf; - mime_type.slen = pj_ansi_snprintf(buf, sizeof(buf), - "%.*s/%.*s", - (int)m->type.slen, - m->type.ptr, - (int)m->subtype.slen, - m->subtype.ptr); - if (mime_type.slen < 1) - mime_type.slen = 0; - - - } else { - text_body.ptr = mime_type.ptr = ""; - text_body.slen = mime_type.slen = 0; - } - - if (pjsua_var.ua_cfg.cb.on_pager) { - (*pjsua_var.ua_cfg.cb.on_pager)(call_id, from, to, &contact, - &mime_type, &text_body); - } - - if (pjsua_var.ua_cfg.cb.on_pager2) { - pjsua_acc_id acc_id; - - if (call_id == PJSUA_INVALID_ID) { - acc_id = pjsua_acc_find_for_incoming(rdata); - } else { - pjsua_call *call = &pjsua_var.calls[call_id]; - acc_id = call->acc_id; - } - - (*pjsua_var.ua_cfg.cb.on_pager2)(call_id, from, to, &contact, - &mime_type, &text_body, rdata, - acc_id); - } - } -} - - -/* - * Handler to receive incoming MESSAGE - */ -static pj_bool_t im_on_rx_request(pjsip_rx_data *rdata) -{ - pj_str_t from, to; - pjsip_accept_hdr *accept_hdr; - pjsip_msg *msg; - pj_status_t status; - - msg = rdata->msg_info.msg; - - /* Only want to handle MESSAGE requests. */ - if (pjsip_method_cmp(&msg->line.req.method, &pjsip_message_method) != 0) { - return PJ_FALSE; - } - - - /* Should not have any transaction attached to rdata. */ - PJ_ASSERT_RETURN(pjsip_rdata_get_tsx(rdata)==NULL, PJ_FALSE); - - /* Should not have any dialog attached to rdata. */ - PJ_ASSERT_RETURN(pjsip_rdata_get_dlg(rdata)==NULL, PJ_FALSE); - - /* Check if we can accept the message. */ - if (!pjsua_im_accept_pager(rdata, &accept_hdr)) { - pjsip_hdr hdr_list; - - pj_list_init(&hdr_list); - pj_list_push_back(&hdr_list, accept_hdr); - - pjsip_endpt_respond_stateless(pjsua_var.endpt, rdata, - PJSIP_SC_NOT_ACCEPTABLE_HERE, NULL, - &hdr_list, NULL); - return PJ_TRUE; - } - - /* Respond with 200 first, so that remote doesn't retransmit in case - * the UI takes too long to process the message. - */ - status = pjsip_endpt_respond( pjsua_var.endpt, NULL, rdata, 200, NULL, - NULL, NULL, NULL); - - /* For the source URI, we use Contact header if present, since - * Contact header contains the port number information. If this is - * not available, then use From header. - */ - from.ptr = (char*)pj_pool_alloc(rdata->tp_info.pool, PJSIP_MAX_URL_SIZE); - from.slen = pjsip_uri_print(PJSIP_URI_IN_FROMTO_HDR, - rdata->msg_info.from->uri, - from.ptr, PJSIP_MAX_URL_SIZE); - - if (from.slen < 1) - from = pj_str("<--URI is too long-->"); - - /* Build the To text. */ - to.ptr = (char*) pj_pool_alloc(rdata->tp_info.pool, PJSIP_MAX_URL_SIZE); - to.slen = pjsip_uri_print( PJSIP_URI_IN_FROMTO_HDR, - rdata->msg_info.to->uri, - to.ptr, PJSIP_MAX_URL_SIZE); - if (to.slen < 1) - to = pj_str("<--URI is too long-->"); - - /* Process pager. */ - pjsua_im_process_pager(-1, &from, &to, rdata); - - /* Done. */ - return PJ_TRUE; -} - - -/* Outgoing IM callback. */ -static void im_callback(void *token, pjsip_event *e) -{ - pjsua_im_data *im_data = (pjsua_im_data*) token; - - if (e->type == PJSIP_EVENT_TSX_STATE) { - - pjsip_transaction *tsx = e->body.tsx_state.tsx; - - /* Ignore provisional response, if any */ - if (tsx->status_code < 200) - return; - - - /* Handle authentication challenges */ - if (e->body.tsx_state.type == PJSIP_EVENT_RX_MSG && - (tsx->status_code == 401 || tsx->status_code == 407)) - { - pjsip_rx_data *rdata = e->body.tsx_state.src.rdata; - pjsip_tx_data *tdata; - pjsip_auth_clt_sess auth; - pj_status_t status; - - PJ_LOG(4,(THIS_FILE, "Resending IM with authentication")); - - /* Create temporary authentication session */ - pjsip_auth_clt_init(&auth,pjsua_var.endpt,rdata->tp_info.pool, 0); - - pjsip_auth_clt_set_credentials(&auth, - pjsua_var.acc[im_data->acc_id].cred_cnt, - pjsua_var.acc[im_data->acc_id].cred); - - pjsip_auth_clt_set_prefs(&auth, - &pjsua_var.acc[im_data->acc_id].cfg.auth_pref); - - status = pjsip_auth_clt_reinit_req(&auth, rdata, tsx->last_tx, - &tdata); - if (status == PJ_SUCCESS) { - pjsua_im_data *im_data2; - - /* Must duplicate im_data */ - im_data2 = pjsua_im_data_dup(tdata->pool, im_data); - - /* Increment CSeq */ - PJSIP_MSG_CSEQ_HDR(tdata->msg)->cseq++; - - /* Re-send request */ - status = pjsip_endpt_send_request( pjsua_var.endpt, tdata, -1, - im_data2, &im_callback); - if (status == PJ_SUCCESS) { - /* Done */ - return; - } - } - } - - if (tsx->status_code/100 == 2) { - PJ_LOG(4,(THIS_FILE, - "Message \'%s\' delivered successfully", - im_data->body.ptr)); - } else { - PJ_LOG(3,(THIS_FILE, - "Failed to deliver message \'%s\': %d/%.*s", - im_data->body.ptr, - tsx->status_code, - (int)tsx->status_text.slen, - tsx->status_text.ptr)); - } - - if (pjsua_var.ua_cfg.cb.on_pager_status) { - pjsua_var.ua_cfg.cb.on_pager_status(im_data->call_id, - &im_data->to, - &im_data->body, - im_data->user_data, - (pjsip_status_code) - tsx->status_code, - &tsx->status_text); - } - - if (pjsua_var.ua_cfg.cb.on_pager_status2) { - pjsip_rx_data *rdata; - - if (e->body.tsx_state.type == PJSIP_EVENT_RX_MSG) - rdata = e->body.tsx_state.src.rdata; - else - rdata = NULL; - - pjsua_var.ua_cfg.cb.on_pager_status2(im_data->call_id, - &im_data->to, - &im_data->body, - im_data->user_data, - (pjsip_status_code) - tsx->status_code, - &tsx->status_text, - tsx->last_tx, - rdata, im_data->acc_id); - } - } -} - - -/* Outgoing typing indication callback. - * (used to reauthenticate request) - */ -static void typing_callback(void *token, pjsip_event *e) -{ - pjsua_im_data *im_data = (pjsua_im_data*) token; - - if (e->type == PJSIP_EVENT_TSX_STATE) { - - pjsip_transaction *tsx = e->body.tsx_state.tsx; - - /* Ignore provisional response, if any */ - if (tsx->status_code < 200) - return; - - /* Handle authentication challenges */ - if (e->body.tsx_state.type == PJSIP_EVENT_RX_MSG && - (tsx->status_code == 401 || tsx->status_code == 407)) - { - pjsip_rx_data *rdata = e->body.tsx_state.src.rdata; - pjsip_tx_data *tdata; - pjsip_auth_clt_sess auth; - pj_status_t status; - - PJ_LOG(4,(THIS_FILE, "Resending IM with authentication")); - - /* Create temporary authentication session */ - pjsip_auth_clt_init(&auth,pjsua_var.endpt,rdata->tp_info.pool, 0); - - pjsip_auth_clt_set_credentials(&auth, - pjsua_var.acc[im_data->acc_id].cred_cnt, - pjsua_var.acc[im_data->acc_id].cred); - - pjsip_auth_clt_set_prefs(&auth, - &pjsua_var.acc[im_data->acc_id].cfg.auth_pref); - - status = pjsip_auth_clt_reinit_req(&auth, rdata, tsx->last_tx, - &tdata); - if (status == PJ_SUCCESS) { - pjsua_im_data *im_data2; - - /* Must duplicate im_data */ - im_data2 = pjsua_im_data_dup(tdata->pool, im_data); - - /* Increment CSeq */ - PJSIP_MSG_CSEQ_HDR(tdata->msg)->cseq++; - - /* Re-send request */ - status = pjsip_endpt_send_request( pjsua_var.endpt, tdata, -1, - im_data2, &typing_callback); - if (status == PJ_SUCCESS) { - /* Done */ - return; - } - } - } - - } -} - - -/* - * Send instant messaging outside dialog, using the specified account for - * route set and authentication. - */ -PJ_DEF(pj_status_t) pjsua_im_send( pjsua_acc_id acc_id, - const pj_str_t *to, - const pj_str_t *mime_type, - const pj_str_t *content, - const pjsua_msg_data *msg_data, - void *user_data) -{ - pjsip_tx_data *tdata; - const pj_str_t mime_text_plain = pj_str("text/plain"); - const pj_str_t STR_CONTACT = { "Contact", 7 }; - pjsip_media_type media_type; - pjsua_im_data *im_data; - pjsua_acc *acc; - pj_str_t contact; - pj_status_t status; - - /* To and message body must be specified. */ - PJ_ASSERT_RETURN(to && content, PJ_EINVAL); - - acc = &pjsua_var.acc[acc_id]; - - /* Create request. */ - status = pjsip_endpt_create_request(pjsua_var.endpt, - &pjsip_message_method, to, - &acc->cfg.id, - to, NULL, NULL, -1, NULL, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create request", status); - return status; - } - - /* If account is locked to specific transport, then set transport to - * the request. - */ - if (acc->cfg.transport_id != PJSUA_INVALID_ID) { - pjsip_tpselector tp_sel; - - pjsua_init_tpselector(acc->cfg.transport_id, &tp_sel); - pjsip_tx_data_set_transport(tdata, &tp_sel); - } - - /* Add accept header. */ - pjsip_msg_add_hdr( tdata->msg, - (pjsip_hdr*)pjsua_im_create_accept(tdata->pool)); - - /* Create suitable Contact header unless a Contact header has been - * set in the account. - */ - if (acc->contact.slen) { - contact = acc->contact; - } else { - status = pjsua_acc_create_uac_contact(tdata->pool, &contact, acc_id, to); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to generate Contact header", status); - pjsip_tx_data_dec_ref(tdata); - return status; - } - } - - pjsip_msg_add_hdr( tdata->msg, (pjsip_hdr*) - pjsip_generic_string_hdr_create(tdata->pool, - &STR_CONTACT, &contact)); - - /* Create IM data to keep message details and give it back to - * application on the callback - */ - im_data = PJ_POOL_ZALLOC_T(tdata->pool, pjsua_im_data); - im_data->acc_id = acc_id; - im_data->call_id = PJSUA_INVALID_ID; - pj_strdup_with_null(tdata->pool, &im_data->to, to); - pj_strdup_with_null(tdata->pool, &im_data->body, content); - im_data->user_data = user_data; - - - /* Set default media type if none is specified */ - if (mime_type == NULL) { - mime_type = &mime_text_plain; - } - - /* Parse MIME type */ - pjsua_parse_media_type(tdata->pool, mime_type, &media_type); - - /* Add message body */ - tdata->msg->body = pjsip_msg_body_create( tdata->pool, &media_type.type, - &media_type.subtype, - &im_data->body); - if (tdata->msg->body == NULL) { - pjsua_perror(THIS_FILE, "Unable to create msg body", PJ_ENOMEM); - pjsip_tx_data_dec_ref(tdata); - return PJ_ENOMEM; - } - - /* Add additional headers etc. */ - pjsua_process_msg_data(tdata, msg_data); - - /* Add route set */ - pjsua_set_msg_route_set(tdata, &acc->route_set); - - /* Send request (statefully) */ - status = pjsip_endpt_send_request( pjsua_var.endpt, tdata, -1, - im_data, &im_callback); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to send request", status); - return status; - } - - return PJ_SUCCESS; -} - - -/* - * Send typing indication outside dialog. - */ -PJ_DEF(pj_status_t) pjsua_im_typing( pjsua_acc_id acc_id, - const pj_str_t *to, - pj_bool_t is_typing, - const pjsua_msg_data *msg_data) -{ - const pj_str_t STR_CONTACT = { "Contact", 7 }; - pjsua_im_data *im_data; - pjsip_tx_data *tdata; - pjsua_acc *acc; - pj_str_t contact; - pj_status_t status; - - acc = &pjsua_var.acc[acc_id]; - - /* Create request. */ - status = pjsip_endpt_create_request( pjsua_var.endpt, &pjsip_message_method, - to, &acc->cfg.id, - to, NULL, NULL, -1, NULL, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create request", status); - return status; - } - - - /* If account is locked to specific transport, then set transport to - * the request. - */ - if (acc->cfg.transport_id != PJSUA_INVALID_ID) { - pjsip_tpselector tp_sel; - - pjsua_init_tpselector(acc->cfg.transport_id, &tp_sel); - pjsip_tx_data_set_transport(tdata, &tp_sel); - } - - /* Add accept header. */ - pjsip_msg_add_hdr( tdata->msg, - (pjsip_hdr*)pjsua_im_create_accept(tdata->pool)); - - - /* Create suitable Contact header unless a Contact header has been - * set in the account. - */ - if (acc->contact.slen) { - contact = acc->contact; - } else { - status = pjsua_acc_create_uac_contact(tdata->pool, &contact, acc_id, to); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to generate Contact header", status); - pjsip_tx_data_dec_ref(tdata); - return status; - } - } - - pjsip_msg_add_hdr( tdata->msg, (pjsip_hdr*) - pjsip_generic_string_hdr_create(tdata->pool, - &STR_CONTACT, &contact)); - - - /* Create "application/im-iscomposing+xml" msg body. */ - tdata->msg->body = pjsip_iscomposing_create_body( tdata->pool, is_typing, - NULL, NULL, -1); - - /* Add additional headers etc. */ - pjsua_process_msg_data(tdata, msg_data); - - /* Add route set */ - pjsua_set_msg_route_set(tdata, &acc->route_set); - - /* Create data to reauthenticate */ - im_data = PJ_POOL_ZALLOC_T(tdata->pool, pjsua_im_data); - im_data->acc_id = acc_id; - - /* Send request (statefully) */ - status = pjsip_endpt_send_request( pjsua_var.endpt, tdata, -1, - im_data, &typing_callback); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to send request", status); - return status; - } - - return PJ_SUCCESS; -} - - -/* - * Init pjsua IM module. - */ -pj_status_t pjsua_im_init(void) -{ - const pj_str_t msg_tag = { "MESSAGE", 7 }; - const pj_str_t STR_MIME_TEXT_PLAIN = { "text/plain", 10 }; - const pj_str_t STR_MIME_APP_ISCOMPOSING = - { "application/im-iscomposing+xml", 30 }; - pj_status_t status; - - /* Register module */ - status = pjsip_endpt_register_module(pjsua_var.endpt, &mod_pjsua_im); - if (status != PJ_SUCCESS) - return status; - - /* Register support for MESSAGE method. */ - pjsip_endpt_add_capability( pjsua_var.endpt, &mod_pjsua_im, PJSIP_H_ALLOW, - NULL, 1, &msg_tag); - - /* Register support for "application/im-iscomposing+xml" content */ - pjsip_endpt_add_capability( pjsua_var.endpt, &mod_pjsua_im, PJSIP_H_ACCEPT, - NULL, 1, &STR_MIME_APP_ISCOMPOSING); - - /* Register support for "text/plain" content */ - pjsip_endpt_add_capability( pjsua_var.endpt, &mod_pjsua_im, PJSIP_H_ACCEPT, - NULL, 1, &STR_MIME_TEXT_PLAIN); - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjsip/src/pjsua-lib/pjsua_media.c b/res/pjproject/pjsip/src/pjsua-lib/pjsua_media.c deleted file mode 100644 index 1e98bca790..0000000000 --- a/res/pjproject/pjsip/src/pjsua-lib/pjsua_media.c +++ /dev/null @@ -1,2689 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - - -#define THIS_FILE "pjsua_media.c" - -#define DEFAULT_RTP_PORT 4000 - -#ifndef PJSUA_REQUIRE_CONSECUTIVE_RTCP_PORT -# define PJSUA_REQUIRE_CONSECUTIVE_RTCP_PORT 0 -#endif - -/* Next RTP port to be used */ -static pj_uint16_t next_rtp_port; - -static void pjsua_media_config_dup(pj_pool_t *pool, - pjsua_media_config *dst, - const pjsua_media_config *src) -{ - pj_memcpy(dst, src, sizeof(*src)); - pj_strdup(pool, &dst->turn_server, &src->turn_server); - pj_stun_auth_cred_dup(pool, &dst->turn_auth_cred, &src->turn_auth_cred); -} - - -/** - * Init media subsystems. - */ -pj_status_t pjsua_media_subsys_init(const pjsua_media_config *cfg) -{ - pj_status_t status; - - pj_log_push_indent(); - - /* Specify which audio device settings are save-able */ - pjsua_var.aud_svmask = 0xFFFFFFFF; - /* These are not-settable */ - pjsua_var.aud_svmask &= ~(PJMEDIA_AUD_DEV_CAP_EXT_FORMAT | - PJMEDIA_AUD_DEV_CAP_INPUT_SIGNAL_METER | - PJMEDIA_AUD_DEV_CAP_OUTPUT_SIGNAL_METER); - /* EC settings use different API */ - pjsua_var.aud_svmask &= ~(PJMEDIA_AUD_DEV_CAP_EC | - PJMEDIA_AUD_DEV_CAP_EC_TAIL); - - /* Copy configuration */ - pjsua_media_config_dup(pjsua_var.pool, &pjsua_var.media_cfg, cfg); - - /* Normalize configuration */ - if (pjsua_var.media_cfg.snd_clock_rate == 0) { - pjsua_var.media_cfg.snd_clock_rate = pjsua_var.media_cfg.clock_rate; - } - - if (pjsua_var.media_cfg.has_ioqueue && - pjsua_var.media_cfg.thread_cnt == 0) - { - pjsua_var.media_cfg.thread_cnt = 1; - } - - if (pjsua_var.media_cfg.max_media_ports < pjsua_var.ua_cfg.max_calls) { - pjsua_var.media_cfg.max_media_ports = pjsua_var.ua_cfg.max_calls + 2; - } - - /* Create media endpoint. */ - status = pjmedia_endpt_create(&pjsua_var.cp.factory, - pjsua_var.media_cfg.has_ioqueue? NULL : - pjsip_endpt_get_ioqueue(pjsua_var.endpt), - pjsua_var.media_cfg.thread_cnt, - &pjsua_var.med_endpt); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, - "Media stack initialization has returned error", - status); - goto on_error; - } - - status = pjsua_aud_subsys_init(); - if (status != PJ_SUCCESS) - goto on_error; - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - /* Initialize SRTP library (ticket #788). */ - status = pjmedia_srtp_init_lib(pjsua_var.med_endpt); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error initializing SRTP library", - status); - goto on_error; - } -#endif - - /* Video */ -#if PJMEDIA_HAS_VIDEO - status = pjsua_vid_subsys_init(); - if (status != PJ_SUCCESS) - goto on_error; -#endif - - pj_log_pop_indent(); - return PJ_SUCCESS; - -on_error: - pj_log_pop_indent(); - return status; -} - -/* - * Start pjsua media subsystem. - */ -pj_status_t pjsua_media_subsys_start(void) -{ - pj_status_t status; - - pj_log_push_indent(); - -#if DISABLED_FOR_TICKET_1185 - /* Create media for calls, if none is specified */ - if (pjsua_var.calls[0].media[0].tp == NULL) { - pjsua_transport_config transport_cfg; - - /* Create default transport config */ - pjsua_transport_config_default(&transport_cfg); - transport_cfg.port = DEFAULT_RTP_PORT; - - status = pjsua_media_transports_create(&transport_cfg); - if (status != PJ_SUCCESS) { - pj_log_pop_indent(); - return status; - } - } -#endif - - /* Audio */ - status = pjsua_aud_subsys_start(); - if (status != PJ_SUCCESS) { - pj_log_pop_indent(); - return status; - } - - /* Video */ -#if PJMEDIA_HAS_VIDEO - status = pjsua_vid_subsys_start(); - if (status != PJ_SUCCESS) { - pjsua_aud_subsys_destroy(); - pj_log_pop_indent(); - return status; - } -#endif - - /* Perform NAT detection */ - status = pjsua_detect_nat_type(); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, "NAT type detection failed")); - } - - pj_log_pop_indent(); - return PJ_SUCCESS; -} - - -/* - * Destroy pjsua media subsystem. - */ -pj_status_t pjsua_media_subsys_destroy(unsigned flags) -{ - unsigned i; - - PJ_LOG(4,(THIS_FILE, "Shutting down media..")); - pj_log_push_indent(); - - if (pjsua_var.med_endpt) { - pjsua_aud_subsys_destroy(); - } - - /* Close media transports */ - for (i=0; iport; - - if (next_rtp_port == 0) - next_rtp_port = (pj_uint16_t)40000; - - for (i=0; i<2; ++i) - sock[i] = PJ_INVALID_SOCKET; - - bound_addr.sin_addr.s_addr = PJ_INADDR_ANY; - if (cfg->bound_addr.slen) { - status = pj_sockaddr_in_set_str_addr(&bound_addr, &cfg->bound_addr); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to resolve transport bind address", - status); - return status; - } - } - - /* Loop retry to bind RTP and RTCP sockets. */ - for (i=0; iqos_type, - &cfg->qos_params, - 2, THIS_FILE, "RTP socket"); - - /* Bind RTP socket */ - status=pj_sock_bind_in(sock[0], pj_ntohl(bound_addr.sin_addr.s_addr), - next_rtp_port); - if (status != PJ_SUCCESS) { - pj_sock_close(sock[0]); - sock[0] = PJ_INVALID_SOCKET; - continue; - } - - /* Create RTCP socket. */ - status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &sock[1]); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "socket() error", status); - pj_sock_close(sock[0]); - return status; - } - - /* Apply QoS to RTCP socket, if specified */ - status = pj_sock_apply_qos2(sock[1], cfg->qos_type, - &cfg->qos_params, - 2, THIS_FILE, "RTCP socket"); - - /* Bind RTCP socket */ - status=pj_sock_bind_in(sock[1], pj_ntohl(bound_addr.sin_addr.s_addr), - (pj_uint16_t)(next_rtp_port+1)); - if (status != PJ_SUCCESS) { - pj_sock_close(sock[0]); - sock[0] = PJ_INVALID_SOCKET; - - pj_sock_close(sock[1]); - sock[1] = PJ_INVALID_SOCKET; - continue; - } - - /* - * If we're configured to use STUN, then find out the mapped address, - * and make sure that the mapped RTCP port is adjacent with the RTP. - */ - if (pjsua_var.stun_srv.addr.sa_family != 0) { - char ip_addr[32]; - pj_str_t stun_srv; - - pj_ansi_strcpy(ip_addr, - pj_inet_ntoa(pjsua_var.stun_srv.ipv4.sin_addr)); - stun_srv = pj_str(ip_addr); - - status=pjstun_get_mapped_addr(&pjsua_var.cp.factory, 2, sock, - &stun_srv, pj_ntohs(pjsua_var.stun_srv.ipv4.sin_port), - &stun_srv, pj_ntohs(pjsua_var.stun_srv.ipv4.sin_port), - mapped_addr); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "STUN resolve error", status); - goto on_error; - } - -#if PJSUA_REQUIRE_CONSECUTIVE_RTCP_PORT - if (pj_ntohs(mapped_addr[1].sin_port) == - pj_ntohs(mapped_addr[0].sin_port)+1) - { - /* Success! */ - break; - } - - pj_sock_close(sock[0]); - sock[0] = PJ_INVALID_SOCKET; - - pj_sock_close(sock[1]); - sock[1] = PJ_INVALID_SOCKET; -#else - if (pj_ntohs(mapped_addr[1].sin_port) != - pj_ntohs(mapped_addr[0].sin_port)+1) - { - PJ_LOG(4,(THIS_FILE, - "Note: STUN mapped RTCP port %d is not adjacent" - " to RTP port %d", - pj_ntohs(mapped_addr[1].sin_port), - pj_ntohs(mapped_addr[0].sin_port))); - } - /* Success! */ - break; -#endif - - } else if (cfg->public_addr.slen) { - - status = pj_sockaddr_in_init(&mapped_addr[0], &cfg->public_addr, - (pj_uint16_t)next_rtp_port); - if (status != PJ_SUCCESS) - goto on_error; - - status = pj_sockaddr_in_init(&mapped_addr[1], &cfg->public_addr, - (pj_uint16_t)(next_rtp_port+1)); - if (status != PJ_SUCCESS) - goto on_error; - - break; - - } else { - - if (bound_addr.sin_addr.s_addr == 0) { - pj_sockaddr addr; - - /* Get local IP address. */ - status = pj_gethostip(pj_AF_INET(), &addr); - if (status != PJ_SUCCESS) - goto on_error; - - bound_addr.sin_addr.s_addr = addr.ipv4.sin_addr.s_addr; - } - - for (i=0; i<2; ++i) { - pj_sockaddr_in_init(&mapped_addr[i], NULL, 0); - mapped_addr[i].sin_addr.s_addr = bound_addr.sin_addr.s_addr; - } - - mapped_addr[0].sin_port=pj_htons((pj_uint16_t)next_rtp_port); - mapped_addr[1].sin_port=pj_htons((pj_uint16_t)(next_rtp_port+1)); - break; - } - } - - if (sock[0] == PJ_INVALID_SOCKET) { - PJ_LOG(1,(THIS_FILE, - "Unable to find appropriate RTP/RTCP ports combination")); - goto on_error; - } - - - skinfo->rtp_sock = sock[0]; - pj_memcpy(&skinfo->rtp_addr_name, - &mapped_addr[0], sizeof(pj_sockaddr_in)); - - skinfo->rtcp_sock = sock[1]; - pj_memcpy(&skinfo->rtcp_addr_name, - &mapped_addr[1], sizeof(pj_sockaddr_in)); - - PJ_LOG(4,(THIS_FILE, "RTP socket reachable at %s", - pj_sockaddr_print(&skinfo->rtp_addr_name, addr_buf, - sizeof(addr_buf), 3))); - PJ_LOG(4,(THIS_FILE, "RTCP socket reachable at %s", - pj_sockaddr_print(&skinfo->rtcp_addr_name, addr_buf, - sizeof(addr_buf), 3))); - - next_rtp_port += 2; - return PJ_SUCCESS; - -on_error: - for (i=0; i<2; ++i) { - if (sock[i] != PJ_INVALID_SOCKET) - pj_sock_close(sock[i]); - } - return status; -} - -/* Create normal UDP media transports */ -static pj_status_t create_udp_media_transport(const pjsua_transport_config *cfg, - pjsua_call_media *call_med) -{ - pjmedia_sock_info skinfo; - pj_status_t status; - - status = create_rtp_rtcp_sock(cfg, &skinfo); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create RTP/RTCP socket", - status); - goto on_error; - } - - status = pjmedia_transport_udp_attach(pjsua_var.med_endpt, NULL, - &skinfo, 0, &call_med->tp); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create media transport", - status); - goto on_error; - } - - pjmedia_transport_simulate_lost(call_med->tp, PJMEDIA_DIR_ENCODING, - pjsua_var.media_cfg.tx_drop_pct); - - pjmedia_transport_simulate_lost(call_med->tp, PJMEDIA_DIR_DECODING, - pjsua_var.media_cfg.rx_drop_pct); - - call_med->tp_ready = PJ_SUCCESS; - - return PJ_SUCCESS; - -on_error: - if (call_med->tp) - pjmedia_transport_close(call_med->tp); - - return status; -} - -#if DISABLED_FOR_TICKET_1185 -/* Create normal UDP media transports */ -static pj_status_t create_udp_media_transports(pjsua_transport_config *cfg) -{ - unsigned i; - pj_status_t status; - - for (i=0; i < pjsua_var.ua_cfg.max_calls; ++i) { - pjsua_call *call = &pjsua_var.calls[i]; - unsigned strm_idx; - - for (strm_idx=0; strm_idx < call->med_cnt; ++strm_idx) { - pjsua_call_media *call_med = &call->media[strm_idx]; - - status = create_udp_media_transport(cfg, &call_med->tp); - if (status != PJ_SUCCESS) - goto on_error; - } - } - - return PJ_SUCCESS; - -on_error: - for (i=0; i < pjsua_var.ua_cfg.max_calls; ++i) { - pjsua_call *call = &pjsua_var.calls[i]; - unsigned strm_idx; - - for (strm_idx=0; strm_idx < call->med_cnt; ++strm_idx) { - pjsua_call_media *call_med = &call->media[strm_idx]; - - if (call_med->tp) { - pjmedia_transport_close(call_med->tp); - call_med->tp = NULL; - } - } - } - return status; -} -#endif - -static void med_tp_timer_cb(void *user_data) -{ - pjsua_call_media *call_med = (pjsua_call_media*)user_data; - - PJSUA_LOCK(); - - call_med->tp_ready = call_med->tp_result; - if (call_med->med_create_cb) - (*call_med->med_create_cb)(call_med, call_med->tp_ready, - call_med->call->secure_level, NULL); - - PJSUA_UNLOCK(); -} - -/* This callback is called when ICE negotiation completes */ -static void on_ice_complete(pjmedia_transport *tp, - pj_ice_strans_op op, - pj_status_t result) -{ - pjsua_call_media *call_med = (pjsua_call_media*)tp->user_data; - - if (!call_med) - return; - - switch (op) { - case PJ_ICE_STRANS_OP_INIT: - call_med->tp_result = result; - pjsua_schedule_timer2(&med_tp_timer_cb, call_med, 1); - break; - case PJ_ICE_STRANS_OP_NEGOTIATION: - if (result != PJ_SUCCESS) { - call_med->state = PJSUA_CALL_MEDIA_ERROR; - call_med->dir = PJMEDIA_DIR_NONE; - - if (call_med->call && pjsua_var.ua_cfg.cb.on_call_media_state) { - pjsua_var.ua_cfg.cb.on_call_media_state(call_med->call->index); - } - } else if (call_med->call) { - /* Send UPDATE if default transport address is different than - * what was advertised (ticket #881) - */ - pjmedia_transport_info tpinfo; - pjmedia_ice_transport_info *ii = NULL; - unsigned i; - - pjmedia_transport_info_init(&tpinfo); - pjmedia_transport_get_info(tp, &tpinfo); - for (i=0; irole==PJ_ICE_SESS_ROLE_CONTROLLING && - pj_sockaddr_cmp(&tpinfo.sock_info.rtp_addr_name, - &call_med->rtp_addr)) - { - pj_bool_t use_update; - const pj_str_t STR_UPDATE = { "UPDATE", 6 }; - pjsip_dialog_cap_status support_update; - pjsip_dialog *dlg; - - dlg = call_med->call->inv->dlg; - support_update = pjsip_dlg_remote_has_cap(dlg, PJSIP_H_ALLOW, - NULL, &STR_UPDATE); - use_update = (support_update == PJSIP_DIALOG_CAP_SUPPORTED); - - PJ_LOG(4,(THIS_FILE, - "ICE default transport address has changed for " - "call %d, sending %s", - call_med->call->index, - (use_update ? "UPDATE" : "re-INVITE"))); - - if (use_update) - pjsua_call_update(call_med->call->index, 0, NULL); - else - pjsua_call_reinvite(call_med->call->index, 0, NULL); - } - } - break; - case PJ_ICE_STRANS_OP_KEEP_ALIVE: - if (result != PJ_SUCCESS) { - PJ_PERROR(4,(THIS_FILE, result, - "ICE keep alive failure for transport %d:%d", - call_med->call->index, call_med->idx)); - } - if (pjsua_var.ua_cfg.cb.on_call_media_transport_state) { - pjsua_med_tp_state_info info; - - pj_bzero(&info, sizeof(info)); - info.med_idx = call_med->idx; - info.state = call_med->tp_st; - info.status = result; - info.ext_info = &op; - (*pjsua_var.ua_cfg.cb.on_call_media_transport_state)( - call_med->call->index, &info); - } - if (pjsua_var.ua_cfg.cb.on_ice_transport_error) { - pjsua_call_id id = call_med->call->index; - (*pjsua_var.ua_cfg.cb.on_ice_transport_error)(id, op, result, - NULL); - } - break; - } -} - - -/* Parse "HOST:PORT" format */ -static pj_status_t parse_host_port(const pj_str_t *host_port, - pj_str_t *host, pj_uint16_t *port) -{ - pj_str_t str_port; - - str_port.ptr = pj_strchr(host_port, ':'); - if (str_port.ptr != NULL) { - int iport; - - host->ptr = host_port->ptr; - host->slen = (str_port.ptr - host->ptr); - str_port.ptr++; - str_port.slen = host_port->slen - host->slen - 1; - iport = (int)pj_strtoul(&str_port); - if (iport < 1 || iport > 65535) - return PJ_EINVAL; - *port = (pj_uint16_t)iport; - } else { - *host = *host_port; - *port = 0; - } - - return PJ_SUCCESS; -} - -/* Create ICE media transports (when ice is enabled) */ -static pj_status_t create_ice_media_transport( - const pjsua_transport_config *cfg, - pjsua_call_media *call_med, - pj_bool_t async) -{ - char stunip[PJ_INET6_ADDRSTRLEN]; - pj_ice_strans_cfg ice_cfg; - pjmedia_ice_cb ice_cb; - char name[32]; - unsigned comp_cnt; - pj_status_t status; - - /* Make sure STUN server resolution has completed */ - status = resolve_stun_server(PJ_TRUE); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error resolving STUN server", status); - return status; - } - - /* Create ICE stream transport configuration */ - pj_ice_strans_cfg_default(&ice_cfg); - pj_stun_config_init(&ice_cfg.stun_cfg, &pjsua_var.cp.factory, 0, - pjsip_endpt_get_ioqueue(pjsua_var.endpt), - pjsip_endpt_get_timer_heap(pjsua_var.endpt)); - - ice_cfg.af = pj_AF_INET(); - ice_cfg.resolver = pjsua_var.resolver; - - ice_cfg.opt = pjsua_var.media_cfg.ice_opt; - - /* Configure STUN settings */ - if (pj_sockaddr_has_addr(&pjsua_var.stun_srv)) { - pj_sockaddr_print(&pjsua_var.stun_srv, stunip, sizeof(stunip), 0); - ice_cfg.stun.server = pj_str(stunip); - ice_cfg.stun.port = pj_sockaddr_get_port(&pjsua_var.stun_srv); - } - if (pjsua_var.media_cfg.ice_max_host_cands >= 0) - ice_cfg.stun.max_host_cands = pjsua_var.media_cfg.ice_max_host_cands; - - /* Copy QoS setting to STUN setting */ - ice_cfg.stun.cfg.qos_type = cfg->qos_type; - pj_memcpy(&ice_cfg.stun.cfg.qos_params, &cfg->qos_params, - sizeof(cfg->qos_params)); - - /* Configure TURN settings */ - if (pjsua_var.media_cfg.enable_turn) { - status = parse_host_port(&pjsua_var.media_cfg.turn_server, - &ice_cfg.turn.server, - &ice_cfg.turn.port); - if (status != PJ_SUCCESS || ice_cfg.turn.server.slen == 0) { - PJ_LOG(1,(THIS_FILE, "Invalid TURN server setting")); - return PJ_EINVAL; - } - if (ice_cfg.turn.port == 0) - ice_cfg.turn.port = 3479; - ice_cfg.turn.conn_type = pjsua_var.media_cfg.turn_conn_type; - pj_memcpy(&ice_cfg.turn.auth_cred, - &pjsua_var.media_cfg.turn_auth_cred, - sizeof(ice_cfg.turn.auth_cred)); - - /* Copy QoS setting to TURN setting */ - ice_cfg.turn.cfg.qos_type = cfg->qos_type; - pj_memcpy(&ice_cfg.turn.cfg.qos_params, &cfg->qos_params, - sizeof(cfg->qos_params)); - } - - pj_bzero(&ice_cb, sizeof(pjmedia_ice_cb)); - ice_cb.on_ice_complete = &on_ice_complete; - pj_ansi_snprintf(name, sizeof(name), "icetp%02d", call_med->idx); - call_med->tp_ready = PJ_EPENDING; - - comp_cnt = 1; - if (PJMEDIA_ADVERTISE_RTCP && !pjsua_var.media_cfg.ice_no_rtcp) - ++comp_cnt; - - status = pjmedia_ice_create3(pjsua_var.med_endpt, name, comp_cnt, - &ice_cfg, &ice_cb, 0, call_med, - &call_med->tp); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create ICE media transport", - status); - goto on_error; - } - - /* Wait until transport is initialized, or time out */ - if (!async) { - pj_bool_t has_pjsua_lock = PJSUA_LOCK_IS_LOCKED(); - if (has_pjsua_lock) - PJSUA_UNLOCK(); - while (call_med->tp_ready == PJ_EPENDING) { - pjsua_handle_events(100); - } - if (has_pjsua_lock) - PJSUA_LOCK(); - } - - if (async && call_med->tp_ready == PJ_EPENDING) { - return PJ_EPENDING; - } else if (call_med->tp_ready != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error initializing ICE media transport", - call_med->tp_ready); - status = call_med->tp_ready; - goto on_error; - } - - pjmedia_transport_simulate_lost(call_med->tp, PJMEDIA_DIR_ENCODING, - pjsua_var.media_cfg.tx_drop_pct); - - pjmedia_transport_simulate_lost(call_med->tp, PJMEDIA_DIR_DECODING, - pjsua_var.media_cfg.rx_drop_pct); - - return PJ_SUCCESS; - -on_error: - if (call_med->tp != NULL) { - pjmedia_transport_close(call_med->tp); - call_med->tp = NULL; - } - - return status; -} - -#if DISABLED_FOR_TICKET_1185 -/* Create ICE media transports (when ice is enabled) */ -static pj_status_t create_ice_media_transports(pjsua_transport_config *cfg) -{ - unsigned i; - pj_status_t status; - - for (i=0; i < pjsua_var.ua_cfg.max_calls; ++i) { - pjsua_call *call = &pjsua_var.calls[i]; - unsigned strm_idx; - - for (strm_idx=0; strm_idx < call->med_cnt; ++strm_idx) { - pjsua_call_media *call_med = &call->media[strm_idx]; - - status = create_ice_media_transport(cfg, call_med); - if (status != PJ_SUCCESS) - goto on_error; - } - } - - return PJ_SUCCESS; - -on_error: - for (i=0; i < pjsua_var.ua_cfg.max_calls; ++i) { - pjsua_call *call = &pjsua_var.calls[i]; - unsigned strm_idx; - - for (strm_idx=0; strm_idx < call->med_cnt; ++strm_idx) { - pjsua_call_media *call_med = &call->media[strm_idx]; - - if (call_med->tp) { - pjmedia_transport_close(call_med->tp); - call_med->tp = NULL; - } - } - } - return status; -} -#endif - -#if DISABLED_FOR_TICKET_1185 -/* - * Create media transports for all the calls. This function creates - * one UDP media transport for each call. - */ -PJ_DEF(pj_status_t) pjsua_media_transports_create( - const pjsua_transport_config *app_cfg) -{ - pjsua_transport_config cfg; - unsigned i; - pj_status_t status; - - - /* Make sure pjsua_init() has been called */ - PJ_ASSERT_RETURN(pjsua_var.ua_cfg.max_calls>0, PJ_EINVALIDOP); - - PJSUA_LOCK(); - - /* Delete existing media transports */ - for (i=0; imed_cnt; ++strm_idx) { - pjsua_call_media *call_med = &call->media[strm_idx]; - - if (call_med->tp && call_med->tp_auto_del) { - pjmedia_transport_close(call_med->tp); - call_med->tp = NULL; - call_med->tp_orig = NULL; - } - } - } - - /* Copy config */ - pjsua_transport_config_dup(pjsua_var.pool, &cfg, app_cfg); - - /* Create the transports */ - if (pjsua_var.media_cfg.enable_ice) { - status = create_ice_media_transports(&cfg); - } else { - status = create_udp_media_transports(&cfg); - } - - /* Set media transport auto_delete to True */ - for (i=0; imed_cnt; ++strm_idx) { - pjsua_call_media *call_med = &call->media[strm_idx]; - - call_med->tp_auto_del = PJ_TRUE; - } - } - - PJSUA_UNLOCK(); - - return status; -} - -/* - * Attach application's created media transports. - */ -PJ_DEF(pj_status_t) pjsua_media_transports_attach(pjsua_media_transport tp[], - unsigned count, - pj_bool_t auto_delete) -{ - unsigned i; - - PJ_ASSERT_RETURN(tp && count==pjsua_var.ua_cfg.max_calls, PJ_EINVAL); - - /* Assign the media transports */ - for (i=0; imed_cnt; ++strm_idx) { - pjsua_call_media *call_med = &call->media[strm_idx]; - - if (call_med->tp && call_med->tp_auto_del) { - pjmedia_transport_close(call_med->tp); - call_med->tp = NULL; - call_med->tp_orig = NULL; - } - } - - PJ_TODO(remove_pjsua_media_transports_attach); - - call->media[0].tp = tp[i].transport; - call->media[0].tp_auto_del = auto_delete; - } - - return PJ_SUCCESS; -} -#endif - -/* Go through the list of media in the SDP, find acceptable media, and - * sort them based on the "quality" of the media, and store the indexes - * in the specified array. Media with the best quality will be listed - * first in the array. The quality factors considered currently is - * encryption. - */ -static void sort_media(const pjmedia_sdp_session *sdp, - const pj_str_t *type, - pjmedia_srtp_use use_srtp, - pj_uint8_t midx[], - unsigned *p_count, - unsigned *p_total_count) -{ - unsigned i; - unsigned count = 0; - int score[PJSUA_MAX_CALL_MEDIA]; - - pj_assert(*p_count >= PJSUA_MAX_CALL_MEDIA); - pj_assert(*p_total_count >= PJSUA_MAX_CALL_MEDIA); - - *p_count = 0; - *p_total_count = 0; - for (i=0; imedia_count && countmedia[i]; - const pjmedia_sdp_conn *c; - - /* Skip different media */ - if (pj_stricmp(&m->desc.media, type) != 0) { - score[count++] = -22000; - continue; - } - - c = m->conn? m->conn : sdp->conn; - - /* Supported transports */ - if (pj_stricmp2(&m->desc.transport, "RTP/SAVP")==0) { - switch (use_srtp) { - case PJMEDIA_SRTP_MANDATORY: - case PJMEDIA_SRTP_OPTIONAL: - ++score[i]; - break; - case PJMEDIA_SRTP_DISABLED: - //--score[i]; - score[i] -= 5; - break; - } - } else if (pj_stricmp2(&m->desc.transport, "RTP/AVP")==0) { - switch (use_srtp) { - case PJMEDIA_SRTP_MANDATORY: - //--score[i]; - score[i] -= 5; - break; - case PJMEDIA_SRTP_OPTIONAL: - /* No change in score */ - break; - case PJMEDIA_SRTP_DISABLED: - ++score[i]; - break; - } - } else { - score[i] -= 10; - } - - /* Is media disabled? */ - if (m->desc.port == 0) - score[i] -= 10; - - /* Is media inactive? */ - if (pjmedia_sdp_media_find_attr2(m, "inactive", NULL) || - pj_strcmp2(&c->addr, "0.0.0.0") == 0) - { - //score[i] -= 10; - score[i] -= 1; - } - - ++count; - } - - /* Created sorted list based on quality */ - for (i=0; i score[best]) - best = j; - } - /* Don't put media with negative score, that media is unacceptable - * for us. - */ - midx[i] = (pj_uint8_t)best; - if (score[best] >= 0) - (*p_count)++; - if (score[best] > -22000) - (*p_total_count)++; - - score[best] = -22000; - - } -} - -/* Callback to receive media events */ -pj_status_t call_media_on_event(pjmedia_event *event, - void *user_data) -{ - pjsua_call_media *call_med = (pjsua_call_media*)user_data; - pjsua_call *call = call_med->call; - pj_status_t status = PJ_SUCCESS; - - switch(event->type) { - case PJMEDIA_EVENT_KEYFRAME_MISSING: - if (call->opt.req_keyframe_method & PJSUA_VID_REQ_KEYFRAME_SIP_INFO) - { - pj_timestamp now; - - pj_get_timestamp(&now); - if (pj_elapsed_msec(&call_med->last_req_keyframe, &now) >= - PJSUA_VID_REQ_KEYFRAME_INTERVAL) - { - pjsua_msg_data msg_data; - const pj_str_t SIP_INFO = {"INFO", 4}; - const char *BODY_TYPE = "application/media_control+xml"; - const char *BODY = - "" - "" - "" - ""; - - PJ_LOG(4,(THIS_FILE, - "Sending video keyframe request via SIP INFO")); - - pjsua_msg_data_init(&msg_data); - pj_cstr(&msg_data.content_type, BODY_TYPE); - pj_cstr(&msg_data.msg_body, BODY); - status = pjsua_call_send_request(call->index, &SIP_INFO, - &msg_data); - if (status != PJ_SUCCESS) { - pj_perror(3, THIS_FILE, status, - "Failed requesting keyframe via SIP INFO"); - } else { - call_med->last_req_keyframe = now; - } - } - } - break; - - default: - break; - } - - if (pjsua_var.ua_cfg.cb.on_call_media_event && call) { - (*pjsua_var.ua_cfg.cb.on_call_media_event)(call->index, - call_med->idx, event); - } - - return status; -} - -/* Set media transport state and notify the application via the callback. */ -void pjsua_set_media_tp_state(pjsua_call_media *call_med, - pjsua_med_tp_st tp_st) -{ - if (pjsua_var.ua_cfg.cb.on_call_media_transport_state && - call_med->tp_st != tp_st) - { - pjsua_med_tp_state_info info; - - pj_bzero(&info, sizeof(info)); - info.med_idx = call_med->idx; - info.state = tp_st; - info.status = call_med->tp_ready; - (*pjsua_var.ua_cfg.cb.on_call_media_transport_state)( - call_med->call->index, &info); - } - - call_med->tp_st = tp_st; -} - -/* Callback to resume pjsua_call_media_init() after media transport - * creation is completed. - */ -static pj_status_t call_media_init_cb(pjsua_call_media *call_med, - pj_status_t status, - int security_level, - int *sip_err_code) -{ - pjsua_acc *acc = &pjsua_var.acc[call_med->call->acc_id]; - pjmedia_transport_info tpinfo; - int err_code = 0; - - if (status != PJ_SUCCESS) - goto on_return; - - if (call_med->tp_st == PJSUA_MED_TP_CREATING) - pjsua_set_media_tp_state(call_med, PJSUA_MED_TP_IDLE); - - if (!call_med->tp_orig && - pjsua_var.ua_cfg.cb.on_create_media_transport) - { - call_med->use_custom_med_tp = PJ_TRUE; - } else - call_med->use_custom_med_tp = PJ_FALSE; - -#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - /* This function may be called when SRTP transport already exists - * (e.g: in re-invite, update), don't need to destroy/re-create. - */ - if (!call_med->tp_orig) { - pjmedia_srtp_setting srtp_opt; - pjmedia_transport *srtp = NULL; - - /* Check if SRTP requires secure signaling */ - if (acc->cfg.use_srtp != PJMEDIA_SRTP_DISABLED) { - if (security_level < acc->cfg.srtp_secure_signaling) { - err_code = PJSIP_SC_NOT_ACCEPTABLE; - status = PJSIP_ESESSIONINSECURE; - goto on_return; - } - } - - /* Always create SRTP adapter */ - pjmedia_srtp_setting_default(&srtp_opt); - srtp_opt.close_member_tp = PJ_TRUE; - - /* If media session has been ever established, let's use remote's - * preference in SRTP usage policy, especially when it is stricter. - */ - if (call_med->rem_srtp_use > acc->cfg.use_srtp) - srtp_opt.use = call_med->rem_srtp_use; - else - srtp_opt.use = acc->cfg.use_srtp; - - status = pjmedia_transport_srtp_create(pjsua_var.med_endpt, - call_med->tp, - &srtp_opt, &srtp); - if (status != PJ_SUCCESS) { - err_code = PJSIP_SC_INTERNAL_SERVER_ERROR; - goto on_return; - } - - /* Set SRTP as current media transport */ - call_med->tp_orig = call_med->tp; - call_med->tp = srtp; - } -#else - call_med->tp_orig = call_med->tp; - PJ_UNUSED_ARG(security_level); -#endif - - - pjmedia_transport_info_init(&tpinfo); - pjmedia_transport_get_info(call_med->tp, &tpinfo); - - pj_sockaddr_cp(&call_med->rtp_addr, &tpinfo.sock_info.rtp_addr_name); - - -on_return: - if (status != PJ_SUCCESS && call_med->tp) { - pjsua_set_media_tp_state(call_med, PJSUA_MED_TP_NULL); - pjmedia_transport_close(call_med->tp); - call_med->tp = NULL; - } - - if (sip_err_code) - *sip_err_code = err_code; - - if (call_med->med_init_cb) { - pjsua_med_tp_state_info info; - - pj_bzero(&info, sizeof(info)); - info.status = status; - info.state = call_med->tp_st; - info.med_idx = call_med->idx; - info.sip_err_code = err_code; - (*call_med->med_init_cb)(call_med->call->index, &info); - } - - return status; -} - -/* Initialize the media line */ -pj_status_t pjsua_call_media_init(pjsua_call_media *call_med, - pjmedia_type type, - const pjsua_transport_config *tcfg, - int security_level, - int *sip_err_code, - pj_bool_t async, - pjsua_med_tp_state_cb cb) -{ - pj_status_t status = PJ_SUCCESS; - - /* - * Note: this function may be called when the media already exists - * (e.g. in reinvites, updates, etc.) - */ - call_med->type = type; - - /* Create the media transport for initial call. Here are the possible - * media transport state and the action needed: - * - PJSUA_MED_TP_NULL or call_med->tp==NULL, create one. - * - PJSUA_MED_TP_RUNNING, do nothing. - * - PJSUA_MED_TP_DISABLED, re-init (media_create(), etc). Currently, - * this won't happen as media_channel_update() will always clean up - * the unused transport of a disabled media. - */ - if (call_med->tp == NULL) { -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - /* While in initial call, set default video devices */ - if (type == PJMEDIA_TYPE_VIDEO) { - status = pjsua_vid_channel_init(call_med); - if (status != PJ_SUCCESS) - return status; - } -#endif - - pjsua_set_media_tp_state(call_med, PJSUA_MED_TP_CREATING); - - if (pjsua_var.media_cfg.enable_ice) { - status = create_ice_media_transport(tcfg, call_med, async); - if (async && status == PJ_EPENDING) { - /* We will resume call media initialization in the - * on_ice_complete() callback. - */ - call_med->med_create_cb = &call_media_init_cb; - call_med->med_init_cb = cb; - - return PJ_EPENDING; - } - } else { - status = create_udp_media_transport(tcfg, call_med); - } - - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, "Error creating media transport")); - return status; - } - - /* Media transport creation completed immediately, so - * we don't need to call the callback. - */ - call_med->med_init_cb = NULL; - - } else if (call_med->tp_st == PJSUA_MED_TP_DISABLED) { - /* Media is being reenabled. */ - //pjsua_set_media_tp_state(call_med, PJSUA_MED_TP_IDLE); - - pj_assert(!"Currently no media transport reuse"); - } - - return call_media_init_cb(call_med, status, security_level, - sip_err_code); -} - -/* Callback to resume pjsua_media_channel_init() after media transport - * initialization is completed. - */ -static pj_status_t media_channel_init_cb(pjsua_call_id call_id, - const pjsua_med_tp_state_info *info) -{ - pjsua_call *call = &pjsua_var.calls[call_id]; - pj_status_t status = (info? info->status : PJ_SUCCESS); - unsigned mi; - - if (info) { - pj_mutex_lock(call->med_ch_mutex); - - /* Set the callback to NULL to indicate that the async operation - * has completed. - */ - call->media_prov[info->med_idx].med_init_cb = NULL; - - /* In case of failure, save the information to be returned - * by the last media transport to finish. - */ - if (info->status != PJ_SUCCESS) - pj_memcpy(&call->med_ch_info, info, sizeof(info)); - - /* Check whether all the call's medias have finished calling their - * callbacks. - */ - for (mi=0; mi < call->med_prov_cnt; ++mi) { - pjsua_call_media *call_med = &call->media_prov[mi]; - - if (call_med->med_init_cb) { - pj_mutex_unlock(call->med_ch_mutex); - return PJ_SUCCESS; - } - - if (call_med->tp_ready != PJ_SUCCESS) - status = call_med->tp_ready; - } - - /* OK, we are called by the last media transport finished. */ - pj_mutex_unlock(call->med_ch_mutex); - } - - if (call->med_ch_mutex) { - pj_mutex_destroy(call->med_ch_mutex); - call->med_ch_mutex = NULL; - } - - if (status != PJ_SUCCESS) { - if (call->med_ch_info.status == PJ_SUCCESS) { - call->med_ch_info.status = status; - call->med_ch_info.sip_err_code = PJSIP_SC_TEMPORARILY_UNAVAILABLE; - } - pjsua_media_prov_clean_up(call_id); - goto on_return; - } - - /* Tell the media transport of a new offer/answer session */ - for (mi=0; mi < call->med_prov_cnt; ++mi) { - pjsua_call_media *call_med = &call->media_prov[mi]; - - /* Note: tp may be NULL if this media line is disabled */ - if (call_med->tp && call_med->tp_st == PJSUA_MED_TP_IDLE) { - pj_pool_t *tmp_pool = call->async_call.pool_prov; - - if (!tmp_pool) { - tmp_pool = (call->inv? call->inv->pool_prov: - call->async_call.dlg->pool); - } - - if (call_med->use_custom_med_tp) { - unsigned custom_med_tp_flags = 0; - - /* Use custom media transport returned by the application */ - call_med->tp = - (*pjsua_var.ua_cfg.cb.on_create_media_transport) - (call_id, mi, call_med->tp, - custom_med_tp_flags); - if (!call_med->tp) { - status = - PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_TEMPORARILY_UNAVAILABLE); - } - } - - if (call_med->tp) { - status = pjmedia_transport_media_create( - call_med->tp, tmp_pool, - 0, call->async_call.rem_sdp, mi); - } - if (status != PJ_SUCCESS) { - call->med_ch_info.status = status; - call->med_ch_info.med_idx = mi; - call->med_ch_info.state = call_med->tp_st; - call->med_ch_info.sip_err_code = PJSIP_SC_TEMPORARILY_UNAVAILABLE; - pjsua_media_prov_clean_up(call_id); - goto on_return; - } - - pjsua_set_media_tp_state(call_med, PJSUA_MED_TP_INIT); - } - } - - call->med_ch_info.status = PJ_SUCCESS; - -on_return: - if (call->med_ch_cb) - (*call->med_ch_cb)(call->index, &call->med_ch_info); - - return status; -} - - -/* Clean up media transports in provisional media that is not used - * by call media. - */ -void pjsua_media_prov_clean_up(pjsua_call_id call_id) -{ - pjsua_call *call = &pjsua_var.calls[call_id]; - unsigned i; - - for (i = 0; i < call->med_prov_cnt; ++i) { - pjsua_call_media *call_med = &call->media_prov[i]; - unsigned j; - pj_bool_t used = PJ_FALSE; - - if (call_med->tp == NULL) - continue; - - for (j = 0; j < call->med_cnt; ++j) { - if (call->media[j].tp == call_med->tp) { - used = PJ_TRUE; - break; - } - } - - if (!used) { - if (call_med->tp_st > PJSUA_MED_TP_IDLE) { - pjsua_set_media_tp_state(call_med, PJSUA_MED_TP_IDLE); - pjmedia_transport_media_stop(call_med->tp); - } - pjsua_set_media_tp_state(call_med, PJSUA_MED_TP_NULL); - pjmedia_transport_close(call_med->tp); - call_med->tp = call_med->tp_orig = NULL; - } - } -} - - -pj_status_t pjsua_media_channel_init(pjsua_call_id call_id, - pjsip_role_e role, - int security_level, - pj_pool_t *tmp_pool, - const pjmedia_sdp_session *rem_sdp, - int *sip_err_code, - pj_bool_t async, - pjsua_med_tp_state_cb cb) -{ - const pj_str_t STR_AUDIO = { "audio", 5 }; - const pj_str_t STR_VIDEO = { "video", 5 }; - pjsua_call *call = &pjsua_var.calls[call_id]; - pjsua_acc *acc = &pjsua_var.acc[call->acc_id]; - pj_uint8_t maudidx[PJSUA_MAX_CALL_MEDIA]; - unsigned maudcnt = PJ_ARRAY_SIZE(maudidx); - unsigned mtotaudcnt = PJ_ARRAY_SIZE(maudidx); - pj_uint8_t mvididx[PJSUA_MAX_CALL_MEDIA]; - unsigned mvidcnt = PJ_ARRAY_SIZE(mvididx); - unsigned mtotvidcnt = PJ_ARRAY_SIZE(mvididx); - unsigned mi; - pj_bool_t pending_med_tp = PJ_FALSE; - pj_bool_t reinit = PJ_FALSE; - pj_status_t status; - - PJ_UNUSED_ARG(role); - - /* - * Note: this function may be called when the media already exists - * (e.g. in reinvites, updates, etc). - */ - - if (pjsua_get_state() != PJSUA_STATE_RUNNING) - return PJ_EBUSY; - - if (async) { - pj_pool_t *tmppool = (call->inv? call->inv->pool_prov: - call->async_call.dlg->pool); - - status = pj_mutex_create_simple(tmppool, NULL, &call->med_ch_mutex); - if (status != PJ_SUCCESS) - return status; - } - - if (call->inv && call->inv->state == PJSIP_INV_STATE_CONFIRMED) - reinit = PJ_TRUE; - - PJ_LOG(4,(THIS_FILE, "Call %d: %sinitializing media..", - call_id, (reinit?"re-":"") )); - - pj_log_push_indent(); - - /* Init provisional media state */ - if (call->med_cnt == 0) { - /* New media session, just copy whole from call media state. */ - pj_memcpy(call->media_prov, call->media, sizeof(call->media)); - } else { - /* Clean up any unused transports. Note that when local SDP reoffer - * is rejected by remote, there may be any initialized transports that - * are not used by call media and currently there is no notification - * from PJSIP level regarding the reoffer rejection. - */ - pjsua_media_prov_clean_up(call_id); - - /* Updating media session, copy from call media state. */ - pj_memcpy(call->media_prov, call->media, - sizeof(call->media[0]) * call->med_cnt); - } - call->med_prov_cnt = call->med_cnt; - -#if DISABLED_FOR_TICKET_1185 - /* Return error if media transport has not been created yet - * (e.g. application is starting) - */ - for (i=0; imed_cnt; ++i) { - if (call->media[i].tp == NULL) { - status = PJ_EBUSY; - goto on_error; - } - } -#endif - - /* Get media count for each media type */ - if (rem_sdp) { - sort_media(rem_sdp, &STR_AUDIO, acc->cfg.use_srtp, - maudidx, &maudcnt, &mtotaudcnt); - if (maudcnt==0) { - /* Expecting audio in the offer */ - if (sip_err_code) *sip_err_code = PJSIP_SC_NOT_ACCEPTABLE_HERE; - status = PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_NOT_ACCEPTABLE_HERE); - goto on_error; - } - -#if PJMEDIA_HAS_VIDEO - sort_media(rem_sdp, &STR_VIDEO, acc->cfg.use_srtp, - mvididx, &mvidcnt, &mtotvidcnt); -#else - mvidcnt = mtotvidcnt = 0; - PJ_UNUSED_ARG(STR_VIDEO); -#endif - - /* Update media count only when remote add any media, this media count - * must never decrease. Also note that we shouldn't apply the media - * count setting (of the call setting) before the SDP negotiation. - */ - if (call->med_prov_cnt < rem_sdp->media_count) - call->med_prov_cnt = PJ_MIN(rem_sdp->media_count, - PJSUA_MAX_CALL_MEDIA); - - call->rem_offerer = PJ_TRUE; - call->rem_aud_cnt = maudcnt; - call->rem_vid_cnt = mvidcnt; - - } else { - - /* If call already established, calculate media count from current - * local active SDP and call setting. Otherwise, calculate media - * count from the call setting only. - */ - if (reinit) { - const pjmedia_sdp_session *sdp; - - status = pjmedia_sdp_neg_get_active_local(call->inv->neg, &sdp); - pj_assert(status == PJ_SUCCESS); - - sort_media(sdp, &STR_AUDIO, acc->cfg.use_srtp, - maudidx, &maudcnt, &mtotaudcnt); - pj_assert(maudcnt > 0); - - sort_media(sdp, &STR_VIDEO, acc->cfg.use_srtp, - mvididx, &mvidcnt, &mtotvidcnt); - - /* Call setting may add or remove media. Adding media is done by - * enabling any disabled/port-zeroed media first, then adding new - * media whenever needed. Removing media is done by disabling - * media with the lowest 'quality'. - */ - - /* Check if we need to add new audio */ - if (maudcnt < call->opt.aud_cnt && - mtotaudcnt < call->opt.aud_cnt) - { - for (mi = 0; mi < call->opt.aud_cnt - mtotaudcnt; ++mi) - maudidx[maudcnt++] = (pj_uint8_t)call->med_prov_cnt++; - - mtotaudcnt = call->opt.aud_cnt; - } - maudcnt = call->opt.aud_cnt; - - /* Check if we need to add new video */ - if (mvidcnt < call->opt.vid_cnt && - mtotvidcnt < call->opt.vid_cnt) - { - for (mi = 0; mi < call->opt.vid_cnt - mtotvidcnt; ++mi) - mvididx[mvidcnt++] = (pj_uint8_t)call->med_prov_cnt++; - - mtotvidcnt = call->opt.vid_cnt; - } - mvidcnt = call->opt.vid_cnt; - - } else { - - maudcnt = mtotaudcnt = call->opt.aud_cnt; - for (mi=0; miopt.vid_cnt; - for (mi=0; mimed_prov_cnt = maudcnt + mvidcnt; - - /* Need to publish supported media? */ - if (call->opt.flag & PJSUA_CALL_INCLUDE_DISABLED_MEDIA) { - if (mtotaudcnt == 0) { - mtotaudcnt = 1; - maudidx[0] = (pj_uint8_t)call->med_prov_cnt++; - } -#if PJMEDIA_HAS_VIDEO - if (mtotvidcnt == 0) { - mtotvidcnt = 1; - mvididx[0] = (pj_uint8_t)call->med_prov_cnt++; - } -#endif - } - } - - call->rem_offerer = PJ_FALSE; - } - - if (call->med_prov_cnt == 0) { - /* Expecting at least one media */ - if (sip_err_code) *sip_err_code = PJSIP_SC_NOT_ACCEPTABLE_HERE; - status = PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_NOT_ACCEPTABLE_HERE); - goto on_error; - } - - if (async) { - call->med_ch_cb = cb; - } - - if (rem_sdp) { - call->async_call.rem_sdp = - pjmedia_sdp_session_clone(call->inv->pool_prov, rem_sdp); - } else { - call->async_call.rem_sdp = NULL; - } - - call->async_call.pool_prov = tmp_pool; - - /* Initialize each media line */ - for (mi=0; mi < call->med_prov_cnt; ++mi) { - pjsua_call_media *call_med = &call->media_prov[mi]; - pj_bool_t enabled = PJ_FALSE; - pjmedia_type media_type = PJMEDIA_TYPE_UNKNOWN; - - if (pj_memchr(maudidx, mi, mtotaudcnt * sizeof(maudidx[0]))) { - media_type = PJMEDIA_TYPE_AUDIO; - if (call->opt.aud_cnt && - pj_memchr(maudidx, mi, maudcnt * sizeof(maudidx[0]))) - { - enabled = PJ_TRUE; - } - } else if (pj_memchr(mvididx, mi, mtotvidcnt * sizeof(mvididx[0]))) { - media_type = PJMEDIA_TYPE_VIDEO; - if (call->opt.vid_cnt && - pj_memchr(mvididx, mi, mvidcnt * sizeof(mvididx[0]))) - { - enabled = PJ_TRUE; - } - } - - if (enabled) { - status = pjsua_call_media_init(call_med, media_type, - &acc->cfg.rtp_cfg, - security_level, sip_err_code, - async, - (async? &media_channel_init_cb: - NULL)); - if (status == PJ_EPENDING) { - pending_med_tp = PJ_TRUE; - } else if (status != PJ_SUCCESS) { - if (pending_med_tp) { - /* Save failure information. */ - call_med->tp_ready = status; - pj_bzero(&call->med_ch_info, sizeof(call->med_ch_info)); - call->med_ch_info.status = status; - call->med_ch_info.state = call_med->tp_st; - call->med_ch_info.med_idx = call_med->idx; - if (sip_err_code) - call->med_ch_info.sip_err_code = *sip_err_code; - - /* We will return failure in the callback later. */ - return PJ_EPENDING; - } - - pjsua_media_prov_clean_up(call_id); - goto on_error; - } - } else { - /* By convention, the media is disabled if transport is NULL - * or transport state is PJSUA_MED_TP_DISABLED. - */ - if (call_med->tp) { - // Don't close transport here, as SDP negotiation has not been - // done and stream may be still active. Once SDP negotiation - // is done (channel_update() invoked), this transport will be - // closed there. - //pjmedia_transport_close(call_med->tp); - //call_med->tp = NULL; - pj_assert(call_med->tp_st == PJSUA_MED_TP_INIT || - call_med->tp_st == PJSUA_MED_TP_RUNNING); - pjsua_set_media_tp_state(call_med, PJSUA_MED_TP_DISABLED); - } - - /* Put media type just for info */ - call_med->type = media_type; - } - } - - call->audio_idx = maudidx[0]; - - PJ_LOG(4,(THIS_FILE, "Media index %d selected for audio call %d", - call->audio_idx, call->index)); - - if (pending_med_tp) { - /* We shouldn't use temporary pool anymore. */ - call->async_call.pool_prov = NULL; - /* We have a pending media transport initialization. */ - pj_log_pop_indent(); - return PJ_EPENDING; - } - - /* Media transport initialization completed immediately, so - * we don't need to call the callback. - */ - call->med_ch_cb = NULL; - - status = media_channel_init_cb(call_id, NULL); - if (status != PJ_SUCCESS && sip_err_code) - *sip_err_code = call->med_ch_info.sip_err_code; - - pj_log_pop_indent(); - return status; - -on_error: - if (call->med_ch_mutex) { - pj_mutex_destroy(call->med_ch_mutex); - call->med_ch_mutex = NULL; - } - - pj_log_pop_indent(); - return status; -} - - -/* Create SDP based on the current media channel. Note that, this function - * will not modify the media channel, so when receiving new offer or - * updating media count (via call setting), media channel must be reinit'd - * (using pjsua_media_channel_init()) first before calling this function. - */ -pj_status_t pjsua_media_channel_create_sdp(pjsua_call_id call_id, - pj_pool_t *pool, - const pjmedia_sdp_session *rem_sdp, - pjmedia_sdp_session **p_sdp, - int *sip_err_code) -{ - enum { MAX_MEDIA = PJSUA_MAX_CALL_MEDIA }; - pjmedia_sdp_session *sdp; - pj_sockaddr origin; - pjsua_call *call = &pjsua_var.calls[call_id]; - pjmedia_sdp_neg_state sdp_neg_state = PJMEDIA_SDP_NEG_STATE_NULL; - unsigned mi; - unsigned tot_bandw_tias = 0; - pj_status_t status; - - if (pjsua_get_state() != PJSUA_STATE_RUNNING) - return PJ_EBUSY; - -#if 0 - // This function should not really change the media channel. - if (rem_sdp) { - /* If this is a re-offer, let's re-initialize media as remote may - * add or remove media - */ - if (call->inv && call->inv->state == PJSIP_INV_STATE_CONFIRMED) { - status = pjsua_media_channel_init(call_id, PJSIP_ROLE_UAS, - call->secure_level, pool, - rem_sdp, sip_err_code, - PJ_FALSE, NULL); - if (status != PJ_SUCCESS) - return status; - } - } else { - /* Audio is first in our offer, by convention */ - // The audio_idx should not be changed here, as this function may be - // called in generating re-offer and the current active audio index - // can be anywhere. - //call->audio_idx = 0; - } -#endif - -#if 0 - // Since r3512, old-style hold should have got transport, created by - // pjsua_media_channel_init() in initial offer/answer or remote reoffer. - /* Create media if it's not created. This could happen when call is - * currently on-hold (with the old style hold) - */ - if (call->media[call->audio_idx].tp == NULL) { - pjsip_role_e role; - role = (rem_sdp ? PJSIP_ROLE_UAS : PJSIP_ROLE_UAC); - status = pjsua_media_channel_init(call_id, role, call->secure_level, - pool, rem_sdp, sip_err_code); - if (status != PJ_SUCCESS) - return status; - } -#endif - - /* Get SDP negotiator state */ - if (call->inv && call->inv->neg) - sdp_neg_state = pjmedia_sdp_neg_get_state(call->inv->neg); - - /* Get one address to use in the origin field */ - pj_bzero(&origin, sizeof(origin)); - for (mi=0; mimed_prov_cnt; ++mi) { - pjmedia_transport_info tpinfo; - - if (call->media_prov[mi].tp == NULL) - continue; - - pjmedia_transport_info_init(&tpinfo); - pjmedia_transport_get_info(call->media_prov[mi].tp, &tpinfo); - pj_sockaddr_cp(&origin, &tpinfo.sock_info.rtp_addr_name); - break; - } - - /* Create the base (blank) SDP */ - status = pjmedia_endpt_create_base_sdp(pjsua_var.med_endpt, pool, NULL, - &origin, &sdp); - if (status != PJ_SUCCESS) - return status; - - /* Process each media line */ - for (mi=0; mimed_prov_cnt; ++mi) { - pjsua_call_media *call_med = &call->media_prov[mi]; - pjmedia_sdp_media *m = NULL; - pjmedia_transport_info tpinfo; - unsigned i; - - if (rem_sdp && mi >= rem_sdp->media_count) { - /* Remote might have removed some media lines. */ - break; - } - - if (call_med->tp == NULL || call_med->tp_st == PJSUA_MED_TP_DISABLED) - { - /* - * This media is disabled. Just create a valid SDP with zero - * port. - */ - if (rem_sdp) { - /* Just clone the remote media and deactivate it */ - m = pjmedia_sdp_media_clone_deactivate(pool, - rem_sdp->media[mi]); - } else { - m = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_media); - m->desc.transport = pj_str("RTP/AVP"); - m->desc.fmt_count = 1; - m->conn = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_conn); - m->conn->net_type = pj_str("IN"); - m->conn->addr_type = pj_str("IP4"); - m->conn->addr = pj_str("127.0.0.1"); - - switch (call_med->type) { - case PJMEDIA_TYPE_AUDIO: - m->desc.media = pj_str("audio"); - m->desc.fmt[0] = pj_str("0"); - break; - case PJMEDIA_TYPE_VIDEO: - m->desc.media = pj_str("video"); - m->desc.fmt[0] = pj_str("31"); - break; - default: - /* This must be us generating re-offer, and some unknown - * media may exist, so just clone from active local SDP - * (and it should have been deactivated already). - */ - pj_assert(call->inv && call->inv->neg && - sdp_neg_state == PJMEDIA_SDP_NEG_STATE_DONE); - { - const pjmedia_sdp_session *s_; - pjmedia_sdp_neg_get_active_local(call->inv->neg, &s_); - - pj_assert(mi < s_->media_count); - m = pjmedia_sdp_media_clone(pool, s_->media[mi]); - m->desc.port = 0; - } - break; - } - } - - sdp->media[sdp->media_count++] = m; - continue; - } - - /* Get transport address info */ - pjmedia_transport_info_init(&tpinfo); - pjmedia_transport_get_info(call_med->tp, &tpinfo); - - /* Ask pjmedia endpoint to create SDP media line */ - switch (call_med->type) { - case PJMEDIA_TYPE_AUDIO: - status = pjmedia_endpt_create_audio_sdp(pjsua_var.med_endpt, pool, - &tpinfo.sock_info, 0, &m); - break; -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - case PJMEDIA_TYPE_VIDEO: - status = pjmedia_endpt_create_video_sdp(pjsua_var.med_endpt, pool, - &tpinfo.sock_info, 0, &m); - break; -#endif - default: - pj_assert(!"Invalid call_med media type"); - return PJ_EBUG; - } - - if (status != PJ_SUCCESS) - return status; - - sdp->media[sdp->media_count++] = m; - - /* Give to transport */ - status = pjmedia_transport_encode_sdp(call_med->tp, pool, - sdp, rem_sdp, mi); - if (status != PJ_SUCCESS) { - if (sip_err_code) *sip_err_code = PJSIP_SC_NOT_ACCEPTABLE; - return status; - } - - /* Copy c= line of the first media to session level, - * if there's none. - */ - if (sdp->conn == NULL) { - sdp->conn = pjmedia_sdp_conn_clone(pool, m->conn); - } - - - /* Find media bandwidth info */ - for (i = 0; i < m->bandw_count; ++i) { - const pj_str_t STR_BANDW_MODIFIER_TIAS = { "TIAS", 4 }; - if (!pj_stricmp(&m->bandw[i]->modifier, &STR_BANDW_MODIFIER_TIAS)) - { - tot_bandw_tias += m->bandw[i]->value; - break; - } - } - } - - /* Add NAT info in the SDP */ - if (pjsua_var.ua_cfg.nat_type_in_sdp) { - pjmedia_sdp_attr *a; - pj_str_t value; - char nat_info[80]; - - value.ptr = nat_info; - if (pjsua_var.ua_cfg.nat_type_in_sdp == 1) { - value.slen = pj_ansi_snprintf(nat_info, sizeof(nat_info), - "%d", pjsua_var.nat_type); - } else { - const char *type_name = pj_stun_get_nat_name(pjsua_var.nat_type); - value.slen = pj_ansi_snprintf(nat_info, sizeof(nat_info), - "%d %s", - pjsua_var.nat_type, - type_name); - } - - a = pjmedia_sdp_attr_create(pool, "X-nat", &value); - - pjmedia_sdp_attr_add(&sdp->attr_count, sdp->attr, a); - - } - - - /* Add bandwidth info in session level using bandwidth modifier "AS". */ - if (tot_bandw_tias) { - unsigned bandw; - const pj_str_t STR_BANDW_MODIFIER_AS = { "AS", 2 }; - pjmedia_sdp_bandw *b; - - /* AS bandwidth = RTP bitrate + RTCP bitrate. - * RTP bitrate = payload bitrate (total TIAS) + overheads (~16kbps). - * RTCP bitrate = est. 5% of RTP bitrate. - * Note that AS bandwidth is in kbps. - */ - bandw = tot_bandw_tias + 16000; - bandw += bandw * 5 / 100; - b = PJ_POOL_ALLOC_T(pool, pjmedia_sdp_bandw); - b->modifier = STR_BANDW_MODIFIER_AS; - b->value = bandw / 1000; - sdp->bandw[sdp->bandw_count++] = b; - } - - -#if DISABLED_FOR_TICKET_1185 && defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) - /* Check if SRTP is in optional mode and configured to use duplicated - * media, i.e: secured and unsecured version, in the SDP offer. - */ - if (!rem_sdp && - pjsua_var.acc[call->acc_id].cfg.use_srtp == PJMEDIA_SRTP_OPTIONAL && - pjsua_var.acc[call->acc_id].cfg.srtp_optional_dup_offer) - { - unsigned i; - - for (i = 0; i < sdp->media_count; ++i) { - pjmedia_sdp_media *m = sdp->media[i]; - - /* Check if this media is unsecured but has SDP "crypto" - * attribute. - */ - if (pj_stricmp2(&m->desc.transport, "RTP/AVP") == 0 && - pjmedia_sdp_media_find_attr2(m, "crypto", NULL) != NULL) - { - if (i == (unsigned)call->audio_idx && - sdp_neg_state == PJMEDIA_SDP_NEG_STATE_DONE) - { - /* This is a session update, and peer has chosen the - * unsecured version, so let's make this unsecured too. - */ - pjmedia_sdp_media_remove_all_attr(m, "crypto"); - } else { - /* This is new offer, duplicate media so we'll have - * secured (with "RTP/SAVP" transport) and and unsecured - * versions. - */ - pjmedia_sdp_media *new_m; - - /* Duplicate this media and apply secured transport */ - new_m = pjmedia_sdp_media_clone(pool, m); - pj_strdup2(pool, &new_m->desc.transport, "RTP/SAVP"); - - /* Remove the "crypto" attribute in the unsecured media */ - pjmedia_sdp_media_remove_all_attr(m, "crypto"); - - /* Insert the new media before the unsecured media */ - if (sdp->media_count < PJMEDIA_MAX_SDP_MEDIA) { - pj_array_insert(sdp->media, sizeof(new_m), - sdp->media_count, i, &new_m); - ++sdp->media_count; - ++i; - } - } - } - } - } -#endif - - call->rem_offerer = (rem_sdp != NULL); - - /* Notify application */ - if (pjsua_var.ua_cfg.cb.on_call_sdp_created) { - (*pjsua_var.ua_cfg.cb.on_call_sdp_created)(call_id, sdp, - pool, rem_sdp); - } - - *p_sdp = sdp; - return PJ_SUCCESS; -} - - -static void stop_media_session(pjsua_call_id call_id) -{ - pjsua_call *call = &pjsua_var.calls[call_id]; - unsigned mi; - - pj_log_push_indent(); - - for (mi=0; mimed_cnt; ++mi) { - pjsua_call_media *call_med = &call->media[mi]; - - if (call_med->type == PJMEDIA_TYPE_AUDIO) { - pjsua_aud_stop_stream(call_med); - } - -#if PJMEDIA_HAS_VIDEO - else if (call_med->type == PJMEDIA_TYPE_VIDEO) { - pjsua_vid_stop_stream(call_med); - } -#endif - - PJ_LOG(4,(THIS_FILE, "Media session call%02d:%d is destroyed", - call_id, mi)); - call_med->prev_state = call_med->state; - call_med->state = PJSUA_CALL_MEDIA_NONE; - - /* Try to sync recent changes to provisional media */ - if (mimed_prov_cnt && call->media_prov[mi].tp==call_med->tp) - { - pjsua_call_media *prov_med = &call->media_prov[mi]; - - /* Media state */ - prov_med->prev_state = call_med->prev_state; - prov_med->state = call_med->state; - - /* RTP seq/ts */ - prov_med->rtp_tx_seq_ts_set = call_med->rtp_tx_seq_ts_set; - prov_med->rtp_tx_seq = call_med->rtp_tx_seq; - prov_med->rtp_tx_ts = call_med->rtp_tx_ts; - - /* Stream */ - if (call_med->type == PJMEDIA_TYPE_AUDIO) { - prov_med->strm.a.conf_slot = call_med->strm.a.conf_slot; - prov_med->strm.a.stream = call_med->strm.a.stream; - } -#if PJMEDIA_HAS_VIDEO - else if (call_med->type == PJMEDIA_TYPE_VIDEO) { - prov_med->strm.v.cap_win_id = call_med->strm.v.cap_win_id; - prov_med->strm.v.rdr_win_id = call_med->strm.v.rdr_win_id; - prov_med->strm.v.stream = call_med->strm.v.stream; - } -#endif - } - } - - pj_log_pop_indent(); -} - -pj_status_t pjsua_media_channel_deinit(pjsua_call_id call_id) -{ - pjsua_call *call = &pjsua_var.calls[call_id]; - unsigned mi; - - PJSUA_LOCK(); - for (mi=0; mimed_cnt; ++mi) { - pjsua_call_media *call_med = &call->media[mi]; - - if (call_med->tp_st == PJSUA_MED_TP_CREATING) { - /* We will do the deinitialization after media transport - * creation is completed. - */ - call->async_call.med_ch_deinit = PJ_TRUE; - PJSUA_UNLOCK(); - return PJ_SUCCESS; - } - } - PJSUA_UNLOCK(); - - PJ_LOG(4,(THIS_FILE, "Call %d: deinitializing media..", call_id)); - pj_log_push_indent(); - - stop_media_session(call_id); - - /* Clean up media transports */ - pjsua_media_prov_clean_up(call_id); - call->med_prov_cnt = 0; - for (mi=0; mimed_cnt; ++mi) { - pjsua_call_media *call_med = &call->media[mi]; - - if (call_med->tp_st > PJSUA_MED_TP_IDLE) { - pjsua_set_media_tp_state(call_med, PJSUA_MED_TP_IDLE); - pjmedia_transport_media_stop(call_med->tp); - } - - if (call_med->tp) { - pjsua_set_media_tp_state(call_med, PJSUA_MED_TP_NULL); - pjmedia_transport_close(call_med->tp); - call_med->tp = call_med->tp_orig = NULL; - } - call_med->tp_orig = NULL; - } - - pj_log_pop_indent(); - - return PJ_SUCCESS; -} - - -pj_status_t pjsua_media_channel_update(pjsua_call_id call_id, - const pjmedia_sdp_session *local_sdp, - const pjmedia_sdp_session *remote_sdp) -{ - pjsua_call *call = &pjsua_var.calls[call_id]; - pjsua_acc *acc = &pjsua_var.acc[call->acc_id]; - pj_pool_t *tmp_pool = call->inv->pool_prov; - unsigned mi; - pj_bool_t got_media = PJ_FALSE; - pj_status_t status = PJ_SUCCESS; - - const pj_str_t STR_AUDIO = { "audio", 5 }; - const pj_str_t STR_VIDEO = { "video", 5 }; - pj_uint8_t maudidx[PJSUA_MAX_CALL_MEDIA]; - unsigned maudcnt = PJ_ARRAY_SIZE(maudidx); - unsigned mtotaudcnt = PJ_ARRAY_SIZE(maudidx); - pj_uint8_t mvididx[PJSUA_MAX_CALL_MEDIA]; - unsigned mvidcnt = PJ_ARRAY_SIZE(mvididx); - unsigned mtotvidcnt = PJ_ARRAY_SIZE(mvididx); - pj_bool_t need_renego_sdp = PJ_FALSE; - - if (pjsua_get_state() != PJSUA_STATE_RUNNING) - return PJ_EBUSY; - - PJ_LOG(4,(THIS_FILE, "Call %d: updating media..", call_id)); - pj_log_push_indent(); - - /* Destroy existing media session, if any. */ - stop_media_session(call->index); - - /* Call media count must be at least equal to SDP media. Note that - * it may not be equal when remote removed any SDP media line. - */ - pj_assert(call->med_prov_cnt >= local_sdp->media_count); - - /* Reset audio_idx first */ - call->audio_idx = -1; - - /* Sort audio/video based on "quality" */ - sort_media(local_sdp, &STR_AUDIO, acc->cfg.use_srtp, - maudidx, &maudcnt, &mtotaudcnt); -#if PJMEDIA_HAS_VIDEO - sort_media(local_sdp, &STR_VIDEO, acc->cfg.use_srtp, - mvididx, &mvidcnt, &mtotvidcnt); -#else - PJ_UNUSED_ARG(STR_VIDEO); - mvidcnt = mtotvidcnt = 0; -#endif - - /* Applying media count limitation. Note that in generating SDP answer, - * no media count limitation applied, as we didn't know yet which media - * would pass the SDP negotiation. - */ - if (maudcnt > call->opt.aud_cnt || mvidcnt > call->opt.vid_cnt) - { - pjmedia_sdp_session *local_sdp2; - - maudcnt = PJ_MIN(maudcnt, call->opt.aud_cnt); - mvidcnt = PJ_MIN(mvidcnt, call->opt.vid_cnt); - local_sdp2 = pjmedia_sdp_session_clone(tmp_pool, local_sdp); - - for (mi=0; mi < local_sdp2->media_count; ++mi) { - pjmedia_sdp_media *m = local_sdp2->media[mi]; - - if (m->desc.port == 0 || - pj_memchr(maudidx, mi, maudcnt*sizeof(maudidx[0])) || - pj_memchr(mvididx, mi, mvidcnt*sizeof(mvididx[0]))) - { - continue; - } - - /* Deactivate this media */ - pjmedia_sdp_media_deactivate(tmp_pool, m); - } - - local_sdp = local_sdp2; - need_renego_sdp = PJ_TRUE; - } - - /* Process each media stream */ - for (mi=0; mi < call->med_prov_cnt; ++mi) { - pjsua_call_media *call_med = &call->media_prov[mi]; - - if (mi >= local_sdp->media_count || - mi >= remote_sdp->media_count) - { - /* This may happen when remote removed any SDP media lines in - * its re-offer. - */ - if (call_med->tp) { - /* Close the media transport */ - pjsua_set_media_tp_state(call_med, PJSUA_MED_TP_NULL); - pjmedia_transport_close(call_med->tp); - call_med->tp = call_med->tp_orig = NULL; - } - continue; -#if 0 - /* Something is wrong */ - PJ_LOG(1,(THIS_FILE, "Error updating media for call %d: " - "invalid media index %d in SDP", call_id, mi)); - status = PJMEDIA_SDP_EINSDP; - goto on_error; -#endif - } - - if (call_med->type==PJMEDIA_TYPE_AUDIO) { - pjmedia_stream_info the_si, *si = &the_si; - - status = pjmedia_stream_info_from_sdp(si, tmp_pool, pjsua_var.med_endpt, - local_sdp, remote_sdp, mi); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, - "pjmedia_stream_info_from_sdp() failed " - "for call_id %d media %d", - call_id, mi)); - continue; - } - - /* Check if no media is active */ - if (si->dir == PJMEDIA_DIR_NONE) { - /* Update call media state and direction */ - call_med->state = PJSUA_CALL_MEDIA_NONE; - call_med->dir = PJMEDIA_DIR_NONE; - - } else { - pjmedia_transport_info tp_info; - - /* Start/restart media transport based on info in SDP */ - status = pjmedia_transport_media_start(call_med->tp, - tmp_pool, local_sdp, - remote_sdp, mi); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, - "pjmedia_transport_media_start() failed " - "for call_id %d media %d", - call_id, mi)); - continue; - } - - pjsua_set_media_tp_state(call_med, PJSUA_MED_TP_RUNNING); - - /* Get remote SRTP usage policy */ - pjmedia_transport_info_init(&tp_info); - pjmedia_transport_get_info(call_med->tp, &tp_info); - if (tp_info.specific_info_cnt > 0) { - unsigned i; - for (i = 0; i < tp_info.specific_info_cnt; ++i) { - if (tp_info.spc_info[i].type == PJMEDIA_TRANSPORT_TYPE_SRTP) - { - pjmedia_srtp_info *srtp_info = - (pjmedia_srtp_info*) tp_info.spc_info[i].buffer; - - call_med->rem_srtp_use = srtp_info->peer_use; - break; - } - } - } - - /* Call media direction */ - call_med->dir = si->dir; - - /* Call media state */ - if (call->local_hold) - call_med->state = PJSUA_CALL_MEDIA_LOCAL_HOLD; - else if (call_med->dir == PJMEDIA_DIR_DECODING) - call_med->state = PJSUA_CALL_MEDIA_REMOTE_HOLD; - else - call_med->state = PJSUA_CALL_MEDIA_ACTIVE; - } - - /* Call implementation */ - status = pjsua_aud_channel_update(call_med, tmp_pool, si, - local_sdp, remote_sdp); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, - "pjsua_aud_channel_update() failed " - "for call_id %d media %d", - call_id, mi)); - continue; - } - - /* Print info. */ - if (status == PJ_SUCCESS) { - char info[80]; - int info_len = 0; - int len; - const char *dir; - - switch (si->dir) { - case PJMEDIA_DIR_NONE: - dir = "inactive"; - break; - case PJMEDIA_DIR_ENCODING: - dir = "sendonly"; - break; - case PJMEDIA_DIR_DECODING: - dir = "recvonly"; - break; - case PJMEDIA_DIR_ENCODING_DECODING: - dir = "sendrecv"; - break; - default: - dir = "unknown"; - break; - } - len = pj_ansi_sprintf( info+info_len, - ", stream #%d: %.*s (%s)", mi, - (int)si->fmt.encoding_name.slen, - si->fmt.encoding_name.ptr, - dir); - if (len > 0) - info_len += len; - PJ_LOG(4,(THIS_FILE,"Audio updated%s", info)); - } - - - if (call->audio_idx==-1 && status==PJ_SUCCESS && - si->dir != PJMEDIA_DIR_NONE) - { - call->audio_idx = mi; - } - -#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) - } else if (call_med->type==PJMEDIA_TYPE_VIDEO) { - pjmedia_vid_stream_info the_si, *si = &the_si; - - status = pjmedia_vid_stream_info_from_sdp(si, tmp_pool, pjsua_var.med_endpt, - local_sdp, remote_sdp, mi); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, - "pjmedia_vid_stream_info_from_sdp() failed " - "for call_id %d media %d", - call_id, mi)); - continue; - } - - /* Check if no media is active */ - if (si->dir == PJMEDIA_DIR_NONE) { - /* Update call media state and direction */ - call_med->state = PJSUA_CALL_MEDIA_NONE; - call_med->dir = PJMEDIA_DIR_NONE; - - } else { - pjmedia_transport_info tp_info; - - /* Start/restart media transport */ - status = pjmedia_transport_media_start(call_med->tp, - tmp_pool, local_sdp, - remote_sdp, mi); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, - "pjmedia_transport_media_start() failed " - "for call_id %d media %d", - call_id, mi)); - continue; - } - - pjsua_set_media_tp_state(call_med, PJSUA_MED_TP_RUNNING); - - /* Get remote SRTP usage policy */ - pjmedia_transport_info_init(&tp_info); - pjmedia_transport_get_info(call_med->tp, &tp_info); - if (tp_info.specific_info_cnt > 0) { - unsigned i; - for (i = 0; i < tp_info.specific_info_cnt; ++i) { - if (tp_info.spc_info[i].type == - PJMEDIA_TRANSPORT_TYPE_SRTP) - { - pjmedia_srtp_info *sri; - sri=(pjmedia_srtp_info*)tp_info.spc_info[i].buffer; - call_med->rem_srtp_use = sri->peer_use; - break; - } - } - } - - /* Call media direction */ - call_med->dir = si->dir; - - /* Call media state */ - if (call->local_hold) - call_med->state = PJSUA_CALL_MEDIA_LOCAL_HOLD; - else if (call_med->dir == PJMEDIA_DIR_DECODING) - call_med->state = PJSUA_CALL_MEDIA_REMOTE_HOLD; - else - call_med->state = PJSUA_CALL_MEDIA_ACTIVE; - } - - status = pjsua_vid_channel_update(call_med, tmp_pool, si, - local_sdp, remote_sdp); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, - "pjsua_vid_channel_update() failed " - "for call_id %d media %d", - call_id, mi)); - continue; - } - - /* Print info. */ - { - char info[80]; - int info_len = 0; - int len; - const char *dir; - - switch (si->dir) { - case PJMEDIA_DIR_NONE: - dir = "inactive"; - break; - case PJMEDIA_DIR_ENCODING: - dir = "sendonly"; - break; - case PJMEDIA_DIR_DECODING: - dir = "recvonly"; - break; - case PJMEDIA_DIR_ENCODING_DECODING: - dir = "sendrecv"; - break; - default: - dir = "unknown"; - break; - } - len = pj_ansi_sprintf( info+info_len, - ", stream #%d: %.*s (%s)", mi, - (int)si->codec_info.encoding_name.slen, - si->codec_info.encoding_name.ptr, - dir); - if (len > 0) - info_len += len; - PJ_LOG(4,(THIS_FILE,"Video updated%s", info)); - } - -#endif - } else { - status = PJMEDIA_EINVALIMEDIATYPE; - } - - /* Close the transport of deactivated media, need this here as media - * can be deactivated by the SDP negotiation and the max media count - * (account) setting. - */ - if (local_sdp->media[mi]->desc.port==0 && call_med->tp) { - pjsua_set_media_tp_state(call_med, PJSUA_MED_TP_NULL); - pjmedia_transport_close(call_med->tp); - call_med->tp = call_med->tp_orig = NULL; - } - - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, "Error updating media call%02d:%d", - call_id, mi)); - } else { - got_media = PJ_TRUE; - } - } - - /* Update call media from provisional media */ - call->med_cnt = call->med_prov_cnt; - pj_memcpy(call->media, call->media_prov, - sizeof(call->media_prov[0]) * call->med_prov_cnt); - - /* Perform SDP re-negotiation if needed. */ - if (got_media && need_renego_sdp) { - pjmedia_sdp_neg *neg = call->inv->neg; - - /* This should only happen when we are the answerer. */ - PJ_ASSERT_RETURN(neg && !pjmedia_sdp_neg_was_answer_remote(neg), - PJMEDIA_SDPNEG_EINSTATE); - - status = pjmedia_sdp_neg_set_remote_offer(tmp_pool, neg, remote_sdp); - if (status != PJ_SUCCESS) - goto on_error; - - status = pjmedia_sdp_neg_set_local_answer(tmp_pool, neg, local_sdp); - if (status != PJ_SUCCESS) - goto on_error; - - status = pjmedia_sdp_neg_negotiate(tmp_pool, neg, 0); - if (status != PJ_SUCCESS) - goto on_error; - } - - pj_log_pop_indent(); - return (got_media? PJ_SUCCESS : PJMEDIA_SDPNEG_ENOMEDIA); - -on_error: - pj_log_pop_indent(); - return status; -} - -/***************************************************************************** - * Codecs. - */ - -/* - * Enum all supported codecs in the system. - */ -PJ_DEF(pj_status_t) pjsua_enum_codecs( pjsua_codec_info id[], - unsigned *p_count ) -{ - pjmedia_codec_mgr *codec_mgr; - pjmedia_codec_info info[32]; - unsigned i, count, prio[32]; - pj_status_t status; - - codec_mgr = pjmedia_endpt_get_codec_mgr(pjsua_var.med_endpt); - count = PJ_ARRAY_SIZE(info); - status = pjmedia_codec_mgr_enum_codecs( codec_mgr, &count, info, prio); - if (status != PJ_SUCCESS) { - *p_count = 0; - return status; - } - - if (count > *p_count) count = *p_count; - - for (i=0; islen==1 && *codec_id->ptr=='*') - codec_id = &all; - - return pjmedia_codec_mgr_set_codec_priority(codec_mgr, codec_id, - priority); -} - - -/* - * Get codec parameters. - */ -PJ_DEF(pj_status_t) pjsua_codec_get_param( const pj_str_t *codec_id, - pjmedia_codec_param *param ) -{ - const pj_str_t all = { NULL, 0 }; - const pjmedia_codec_info *info; - pjmedia_codec_mgr *codec_mgr; - unsigned count = 1; - pj_status_t status; - - codec_mgr = pjmedia_endpt_get_codec_mgr(pjsua_var.med_endpt); - - if (codec_id->slen==1 && *codec_id->ptr=='*') - codec_id = &all; - - status = pjmedia_codec_mgr_find_codecs_by_id(codec_mgr, codec_id, - &count, &info, NULL); - if (status != PJ_SUCCESS) - return status; - - if (count != 1) - return (count > 1? PJ_ETOOMANY : PJ_ENOTFOUND); - - status = pjmedia_codec_mgr_get_default_param( codec_mgr, info, param); - return status; -} - - -/* - * Set codec parameters. - */ -PJ_DEF(pj_status_t) pjsua_codec_set_param( const pj_str_t *codec_id, - const pjmedia_codec_param *param) -{ - const pjmedia_codec_info *info[2]; - pjmedia_codec_mgr *codec_mgr; - unsigned count = 2; - pj_status_t status; - - codec_mgr = pjmedia_endpt_get_codec_mgr(pjsua_var.med_endpt); - - status = pjmedia_codec_mgr_find_codecs_by_id(codec_mgr, codec_id, - &count, info, NULL); - if (status != PJ_SUCCESS) - return status; - - /* Codec ID should be specific, except for G.722.1 */ - if (count > 1 && - pj_strnicmp2(codec_id, "G7221/16", 8) != 0 && - pj_strnicmp2(codec_id, "G7221/32", 8) != 0) - { - pj_assert(!"Codec ID is not specific"); - return PJ_ETOOMANY; - } - - status = pjmedia_codec_mgr_set_default_param(codec_mgr, info[0], param); - return status; -} - - -pj_status_t pjsua_media_apply_xml_control(pjsua_call_id call_id, - const pj_str_t *xml_st) -{ -#if PJMEDIA_HAS_VIDEO - pjsua_call *call = &pjsua_var.calls[call_id]; - const pj_str_t PICT_FAST_UPDATE = {"picture_fast_update", 19}; - - if (pj_strstr(xml_st, &PICT_FAST_UPDATE)) { - unsigned i; - - PJ_LOG(4,(THIS_FILE, "Received keyframe request via SIP INFO")); - - for (i = 0; i < call->med_cnt; ++i) { - pjsua_call_media *cm = &call->media[i]; - if (cm->type != PJMEDIA_TYPE_VIDEO || !cm->strm.v.stream) - continue; - - pjmedia_vid_stream_send_keyframe(cm->strm.v.stream); - } - - return PJ_SUCCESS; - } -#endif - - /* Just to avoid compiler warning of unused var */ - PJ_UNUSED_ARG(call_id); - PJ_UNUSED_ARG(xml_st); - - return PJ_ENOTSUP; -} - diff --git a/res/pjproject/pjsip/src/pjsua-lib/pjsua_pres.c b/res/pjproject/pjsip/src/pjsua-lib/pjsua_pres.c deleted file mode 100644 index c78e8b5c3e..0000000000 --- a/res/pjproject/pjsip/src/pjsua-lib/pjsua_pres.c +++ /dev/null @@ -1,2371 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include - - -#define THIS_FILE "pjsua_pres.c" - - -static void subscribe_buddy_presence(pjsua_buddy_id buddy_id); -static void unsubscribe_buddy_presence(pjsua_buddy_id buddy_id); - - -/* - * Find buddy. - */ -static pjsua_buddy_id find_buddy(const pjsip_uri *uri) -{ - const pjsip_sip_uri *sip_uri; - unsigned i; - - uri = (const pjsip_uri*) pjsip_uri_get_uri((pjsip_uri*)uri); - - if (!PJSIP_URI_SCHEME_IS_SIP(uri) && !PJSIP_URI_SCHEME_IS_SIPS(uri)) - return PJSUA_INVALID_ID; - - sip_uri = (const pjsip_sip_uri*) uri; - - for (i=0; iuser, &b->name)==0 && - pj_stricmp(&sip_uri->host, &b->host)==0 && - (sip_uri->port==(int)b->port || (sip_uri->port==0 && b->port==5060))) - { - /* Match */ - return i; - } - } - - return PJSUA_INVALID_ID; -} - -#define LOCK_DIALOG 1 -#define LOCK_PJSUA 2 -#define LOCK_ALL (LOCK_DIALOG | LOCK_PJSUA) - -/* Buddy lock object */ -struct buddy_lock -{ - pjsua_buddy *buddy; - pjsip_dialog *dlg; - pj_uint8_t flag; -}; - -/* Acquire lock to the specified buddy_id */ -pj_status_t lock_buddy(const char *title, - pjsua_buddy_id buddy_id, - struct buddy_lock *lck, - unsigned _unused_) -{ - enum { MAX_RETRY=50 }; - pj_bool_t has_pjsua_lock = PJ_FALSE; - unsigned retry; - - PJ_UNUSED_ARG(_unused_); - - pj_bzero(lck, sizeof(*lck)); - - for (retry=0; retryflag = LOCK_PJSUA; - lck->buddy = &pjsua_var.buddy[buddy_id]; - - if (lck->buddy->dlg == NULL) - return PJ_SUCCESS; - - if (pjsip_dlg_try_inc_lock(lck->buddy->dlg) != PJ_SUCCESS) { - lck->flag = 0; - lck->buddy = NULL; - has_pjsua_lock = PJ_FALSE; - PJSUA_UNLOCK(); - pj_thread_sleep(retry/10); - continue; - } - - lck->dlg = lck->buddy->dlg; - lck->flag = LOCK_DIALOG; - PJSUA_UNLOCK(); - - break; - } - - if (lck->flag == 0) { - if (has_pjsua_lock == PJ_FALSE) - PJ_LOG(1,(THIS_FILE, "Timed-out trying to acquire PJSUA mutex " - "(possibly system has deadlocked) in %s", - title)); - else - PJ_LOG(1,(THIS_FILE, "Timed-out trying to acquire dialog mutex " - "(possibly system has deadlocked) in %s", - title)); - return PJ_ETIMEDOUT; - } - - return PJ_SUCCESS; -} - -/* Release buddy lock */ -static void unlock_buddy(struct buddy_lock *lck) -{ - if (lck->flag & LOCK_DIALOG) - pjsip_dlg_dec_lock(lck->dlg); - - if (lck->flag & LOCK_PJSUA) - PJSUA_UNLOCK(); -} - - -/* - * Get total number of buddies. - */ -PJ_DEF(unsigned) pjsua_get_buddy_count(void) -{ - return pjsua_var.buddy_cnt; -} - - -/* - * Find buddy. - */ -PJ_DEF(pjsua_buddy_id) pjsua_buddy_find(const pj_str_t *uri_str) -{ - pj_str_t input; - pj_pool_t *pool; - pjsip_uri *uri; - pjsua_buddy_id buddy_id; - - pool = pjsua_pool_create("buddyfind", 512, 512); - pj_strdup_with_null(pool, &input, uri_str); - - uri = pjsip_parse_uri(pool, input.ptr, input.slen, 0); - if (!uri) - buddy_id = PJSUA_INVALID_ID; - else { - PJSUA_LOCK(); - buddy_id = find_buddy(uri); - PJSUA_UNLOCK(); - } - - pj_pool_release(pool); - - return buddy_id; -} - - -/* - * Check if buddy ID is valid. - */ -PJ_DEF(pj_bool_t) pjsua_buddy_is_valid(pjsua_buddy_id buddy_id) -{ - return buddy_id>=0 && buddy_id<(int)PJ_ARRAY_SIZE(pjsua_var.buddy) && - pjsua_var.buddy[buddy_id].uri.slen != 0; -} - - -/* - * Enum buddy IDs. - */ -PJ_DEF(pj_status_t) pjsua_enum_buddies( pjsua_buddy_id ids[], - unsigned *count) -{ - unsigned i, c; - - PJ_ASSERT_RETURN(ids && count, PJ_EINVAL); - - PJSUA_LOCK(); - - for (i=0, c=0; c<*count && iid = buddy->index; - if (pjsua_var.buddy[buddy_id].uri.slen == 0) { - unlock_buddy(&lck); - return PJ_SUCCESS; - } - - /* uri */ - info->uri.ptr = info->buf_ + total; - pj_strncpy(&info->uri, &buddy->uri, sizeof(info->buf_)-total); - total += info->uri.slen; - - /* contact */ - info->contact.ptr = info->buf_ + total; - pj_strncpy(&info->contact, &buddy->contact, sizeof(info->buf_)-total); - total += info->contact.slen; - - /* Presence status */ - pj_memcpy(&info->pres_status, &buddy->status, sizeof(pjsip_pres_status)); - - /* status and status text */ - if (buddy->sub == NULL || buddy->status.info_cnt==0) { - info->status = PJSUA_BUDDY_STATUS_UNKNOWN; - info->status_text = pj_str("?"); - } else if (pjsua_var.buddy[buddy_id].status.info[0].basic_open) { - info->status = PJSUA_BUDDY_STATUS_ONLINE; - - /* copy RPID information */ - info->rpid = buddy->status.info[0].rpid; - - if (info->rpid.note.slen) - info->status_text = info->rpid.note; - else - info->status_text = pj_str("Online"); - - } else { - info->status = PJSUA_BUDDY_STATUS_OFFLINE; - info->rpid = buddy->status.info[0].rpid; - - if (info->rpid.note.slen) - info->status_text = info->rpid.note; - else - info->status_text = pj_str("Offline"); - } - - /* monitor pres */ - info->monitor_pres = buddy->monitor; - - /* subscription state and termination reason */ - info->sub_term_code = buddy->term_code; - if (buddy->sub) { - info->sub_state = pjsip_evsub_get_state(buddy->sub); - info->sub_state_name = pjsip_evsub_get_state_name(buddy->sub); - if (info->sub_state == PJSIP_EVSUB_STATE_TERMINATED && - total < sizeof(info->buf_)) - { - info->sub_term_reason.ptr = info->buf_ + total; - pj_strncpy(&info->sub_term_reason, - pjsip_evsub_get_termination_reason(buddy->sub), - sizeof(info->buf_) - total); - total += info->sub_term_reason.slen; - } else { - info->sub_term_reason = pj_str(""); - } - } else if (total < sizeof(info->buf_)) { - info->sub_state_name = "NULL"; - info->sub_term_reason.ptr = info->buf_ + total; - pj_strncpy(&info->sub_term_reason, &buddy->term_reason, - sizeof(info->buf_) - total); - total += info->sub_term_reason.slen; - } else { - info->sub_state_name = "NULL"; - info->sub_term_reason = pj_str(""); - } - - unlock_buddy(&lck); - return PJ_SUCCESS; -} - -/* - * Set the user data associated with the buddy object. - */ -PJ_DEF(pj_status_t) pjsua_buddy_set_user_data( pjsua_buddy_id buddy_id, - void *user_data) -{ - struct buddy_lock lck; - pj_status_t status; - - PJ_ASSERT_RETURN(pjsua_buddy_is_valid(buddy_id), PJ_EINVAL); - - status = lock_buddy("pjsua_buddy_set_user_data()", buddy_id, &lck, 0); - if (status != PJ_SUCCESS) - return status; - - pjsua_var.buddy[buddy_id].user_data = user_data; - - unlock_buddy(&lck); - - return PJ_SUCCESS; -} - - -/* - * Get the user data associated with the budy object. - */ -PJ_DEF(void*) pjsua_buddy_get_user_data(pjsua_buddy_id buddy_id) -{ - struct buddy_lock lck; - pj_status_t status; - void *user_data; - - PJ_ASSERT_RETURN(pjsua_buddy_is_valid(buddy_id), NULL); - - status = lock_buddy("pjsua_buddy_get_user_data()", buddy_id, &lck, 0); - if (status != PJ_SUCCESS) - return NULL; - - user_data = pjsua_var.buddy[buddy_id].user_data; - - unlock_buddy(&lck); - - return user_data; -} - - -/* - * Reset buddy descriptor. - */ -static void reset_buddy(pjsua_buddy_id id) -{ - pj_pool_t *pool = pjsua_var.buddy[id].pool; - pj_bzero(&pjsua_var.buddy[id], sizeof(pjsua_var.buddy[id])); - pjsua_var.buddy[id].pool = pool; - pjsua_var.buddy[id].index = id; -} - - -/* - * Add new buddy. - */ -PJ_DEF(pj_status_t) pjsua_buddy_add( const pjsua_buddy_config *cfg, - pjsua_buddy_id *p_buddy_id) -{ - pjsip_name_addr *url; - pjsua_buddy *buddy; - pjsip_sip_uri *sip_uri; - int index; - pj_str_t tmp; - - PJ_ASSERT_RETURN(pjsua_var.buddy_cnt <= - PJ_ARRAY_SIZE(pjsua_var.buddy), - PJ_ETOOMANY); - - PJ_LOG(4,(THIS_FILE, "Adding buddy: %.*s", - (int)cfg->uri.slen, cfg->uri.ptr)); - pj_log_push_indent(); - - PJSUA_LOCK(); - - /* Find empty slot */ - for (index=0; index<(int)PJ_ARRAY_SIZE(pjsua_var.buddy); ++index) { - if (pjsua_var.buddy[index].uri.slen == 0) - break; - } - - /* Expect to find an empty slot */ - if (index == PJ_ARRAY_SIZE(pjsua_var.buddy)) { - PJSUA_UNLOCK(); - /* This shouldn't happen */ - pj_assert(!"index < PJ_ARRAY_SIZE(pjsua_var.buddy)"); - pj_log_pop_indent(); - return PJ_ETOOMANY; - } - - buddy = &pjsua_var.buddy[index]; - - /* Create pool for this buddy */ - if (buddy->pool) { - pj_pool_reset(buddy->pool); - } else { - char name[PJ_MAX_OBJ_NAME]; - pj_ansi_snprintf(name, sizeof(name), "buddy%03d", index); - buddy->pool = pjsua_pool_create(name, 512, 256); - } - - /* Init buffers for presence subscription status */ - buddy->term_reason.ptr = (char*) - pj_pool_alloc(buddy->pool, - PJSUA_BUDDY_SUB_TERM_REASON_LEN); - - /* Get name and display name for buddy */ - pj_strdup_with_null(buddy->pool, &tmp, &cfg->uri); - url = (pjsip_name_addr*)pjsip_parse_uri(buddy->pool, tmp.ptr, tmp.slen, - PJSIP_PARSE_URI_AS_NAMEADDR); - - if (url == NULL) { - pjsua_perror(THIS_FILE, "Unable to add buddy", PJSIP_EINVALIDURI); - pj_pool_release(buddy->pool); - buddy->pool = NULL; - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return PJSIP_EINVALIDURI; - } - - /* Only support SIP schemes */ - if (!PJSIP_URI_SCHEME_IS_SIP(url) && !PJSIP_URI_SCHEME_IS_SIPS(url)) { - pj_pool_release(buddy->pool); - buddy->pool = NULL; - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return PJSIP_EINVALIDSCHEME; - } - - /* Reset buddy, to make sure everything is cleared with default - * values - */ - reset_buddy(index); - - /* Save URI */ - pjsua_var.buddy[index].uri = tmp; - - sip_uri = (pjsip_sip_uri*) pjsip_uri_get_uri(url->uri); - pjsua_var.buddy[index].name = sip_uri->user; - pjsua_var.buddy[index].display = url->display; - pjsua_var.buddy[index].host = sip_uri->host; - pjsua_var.buddy[index].port = sip_uri->port; - pjsua_var.buddy[index].monitor = cfg->subscribe; - if (pjsua_var.buddy[index].port == 0) - pjsua_var.buddy[index].port = 5060; - - /* Save user data */ - pjsua_var.buddy[index].user_data = (void*)cfg->user_data; - - if (p_buddy_id) - *p_buddy_id = index; - - pjsua_var.buddy_cnt++; - - PJSUA_UNLOCK(); - - PJ_LOG(4,(THIS_FILE, "Buddy %d added.", index)); - - pjsua_buddy_subscribe_pres(index, cfg->subscribe); - - pj_log_pop_indent(); - return PJ_SUCCESS; -} - - -/* - * Delete buddy. - */ -PJ_DEF(pj_status_t) pjsua_buddy_del(pjsua_buddy_id buddy_id) -{ - struct buddy_lock lck; - pj_status_t status; - - PJ_ASSERT_RETURN(buddy_id>=0 && - buddy_id<(int)PJ_ARRAY_SIZE(pjsua_var.buddy), - PJ_EINVAL); - - if (pjsua_var.buddy[buddy_id].uri.slen == 0) { - return PJ_SUCCESS; - } - - status = lock_buddy("pjsua_buddy_del()", buddy_id, &lck, 0); - if (status != PJ_SUCCESS) - return status; - - PJ_LOG(4,(THIS_FILE, "Buddy %d: deleting..", buddy_id)); - pj_log_push_indent(); - - /* Unsubscribe presence */ - pjsua_buddy_subscribe_pres(buddy_id, PJ_FALSE); - - /* Not interested with further events for this buddy */ - if (pjsua_var.buddy[buddy_id].sub) { - pjsip_evsub_set_mod_data(pjsua_var.buddy[buddy_id].sub, - pjsua_var.mod.id, NULL); - } - - /* Remove buddy */ - pjsua_var.buddy[buddy_id].uri.slen = 0; - pjsua_var.buddy_cnt--; - - /* Clear timer */ - if (pjsua_var.buddy[buddy_id].timer.id) { - pjsua_cancel_timer(&pjsua_var.buddy[buddy_id].timer); - pjsua_var.buddy[buddy_id].timer.id = PJ_FALSE; - } - - /* Reset buddy struct */ - reset_buddy(buddy_id); - - unlock_buddy(&lck); - pj_log_pop_indent(); - return PJ_SUCCESS; -} - - -/* - * Enable/disable buddy's presence monitoring. - */ -PJ_DEF(pj_status_t) pjsua_buddy_subscribe_pres( pjsua_buddy_id buddy_id, - pj_bool_t subscribe) -{ - struct buddy_lock lck; - pj_status_t status; - - PJ_ASSERT_RETURN(pjsua_buddy_is_valid(buddy_id), PJ_EINVAL); - - status = lock_buddy("pjsua_buddy_subscribe_pres()", buddy_id, &lck, 0); - if (status != PJ_SUCCESS) - return status; - - PJ_LOG(4,(THIS_FILE, "Buddy %d: unsubscribing presence..", buddy_id)); - pj_log_push_indent(); - - lck.buddy->monitor = subscribe; - - pjsua_buddy_update_pres(buddy_id); - - unlock_buddy(&lck); - pj_log_pop_indent(); - return PJ_SUCCESS; -} - - -/* - * Update buddy's presence. - */ -PJ_DEF(pj_status_t) pjsua_buddy_update_pres(pjsua_buddy_id buddy_id) -{ - struct buddy_lock lck; - pj_status_t status; - - PJ_ASSERT_RETURN(pjsua_buddy_is_valid(buddy_id), PJ_EINVAL); - - status = lock_buddy("pjsua_buddy_update_pres()", buddy_id, &lck, 0); - if (status != PJ_SUCCESS) - return status; - - PJ_LOG(4,(THIS_FILE, "Buddy %d: updating presence..", buddy_id)); - pj_log_push_indent(); - - /* Is this an unsubscribe request? */ - if (!lck.buddy->monitor) { - unsubscribe_buddy_presence(buddy_id); - unlock_buddy(&lck); - pj_log_pop_indent(); - return PJ_SUCCESS; - } - - /* Ignore if presence is already active for the buddy */ - if (lck.buddy->sub) { - unlock_buddy(&lck); - pj_log_pop_indent(); - return PJ_SUCCESS; - } - - /* Initiate presence subscription */ - subscribe_buddy_presence(buddy_id); - - unlock_buddy(&lck); - pj_log_pop_indent(); - return PJ_SUCCESS; -} - - -/* - * Dump presence subscriptions to log file. - */ -PJ_DEF(void) pjsua_pres_dump(pj_bool_t verbose) -{ - unsigned acc_id; - unsigned i; - - - PJSUA_LOCK(); - - /* - * When no detail is required, just dump number of server and client - * subscriptions. - */ - if (verbose == PJ_FALSE) { - - int count = 0; - - for (acc_id=0; acc_idnext; - } - } - } - - PJ_LOG(3,(THIS_FILE, "Number of server/UAS subscriptions: %d", - count)); - - count = 0; - - for (i=0; isub), - uapres->remote)); - - uapres = uapres->next; - } - } - } - - /* - * Dumping all client (UAC) subscriptions - */ - PJ_LOG(3,(THIS_FILE, "Dumping pjsua client subscriptions:")); - - if (pjsua_var.buddy_cnt == 0) { - - PJ_LOG(3,(THIS_FILE, " - no buddy list - ")); - - } else { - for (i=0; iremote, pjsip_evsub_get_state_name(sub))); - pj_log_push_indent(); - - state = pjsip_evsub_get_state(sub); - - if (pjsua_var.ua_cfg.cb.on_srv_subscribe_state) { - pj_str_t from; - - from = uapres->dlg->remote.info_str; - (*pjsua_var.ua_cfg.cb.on_srv_subscribe_state)(uapres->acc_id, - uapres, &from, - state, event); - } - - if (state == PJSIP_EVSUB_STATE_TERMINATED) { - pjsip_evsub_set_mod_data(sub, pjsua_var.mod.id, NULL); - pj_list_erase(uapres); - } - pj_log_pop_indent(); - } - - PJSUA_UNLOCK(); -} - -/* This is called when request is received. - * We need to check for incoming SUBSCRIBE request. - */ -static pj_bool_t pres_on_rx_request(pjsip_rx_data *rdata) -{ - int acc_id; - pjsua_acc *acc; - pj_str_t contact; - pjsip_method *req_method = &rdata->msg_info.msg->line.req.method; - pjsua_srv_pres *uapres; - pjsip_evsub *sub; - pjsip_evsub_user pres_cb; - pjsip_dialog *dlg; - pjsip_status_code st_code; - pj_str_t reason; - pjsip_expires_hdr *expires_hdr; - pjsua_msg_data msg_data; - pj_status_t status; - - if (pjsip_method_cmp(req_method, pjsip_get_subscribe_method()) != 0) - return PJ_FALSE; - - /* Incoming SUBSCRIBE: */ - - /* Don't want to accept the request if shutdown is in progress */ - if (pjsua_var.thread_quit_flag) { - pjsip_endpt_respond_stateless(pjsua_var.endpt, rdata, - PJSIP_SC_TEMPORARILY_UNAVAILABLE, NULL, - NULL, NULL); - return PJ_TRUE; - } - - PJSUA_LOCK(); - - /* Find which account for the incoming request. */ - acc_id = pjsua_acc_find_for_incoming(rdata); - acc = &pjsua_var.acc[acc_id]; - - PJ_LOG(4,(THIS_FILE, "Creating server subscription, using account %d", - acc_id)); - pj_log_push_indent(); - - /* Create suitable Contact header */ - if (acc->contact.slen) { - contact = acc->contact; - } else { - status = pjsua_acc_create_uas_contact(rdata->tp_info.pool, &contact, - acc_id, rdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to generate Contact header", - status); - PJSUA_UNLOCK(); - pjsip_endpt_respond_stateless(pjsua_var.endpt, rdata, 400, NULL, - NULL, NULL); - pj_log_pop_indent(); - return PJ_TRUE; - } - } - - /* Create UAS dialog: */ - status = pjsip_dlg_create_uas(pjsip_ua_instance(), rdata, - &contact, &dlg); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, - "Unable to create UAS dialog for subscription", - status); - PJSUA_UNLOCK(); - pjsip_endpt_respond_stateless(pjsua_var.endpt, rdata, 400, NULL, - NULL, NULL); - pj_log_pop_indent(); - return PJ_TRUE; - } - - /* Set credentials and preference. */ - pjsip_auth_clt_set_credentials(&dlg->auth_sess, acc->cred_cnt, acc->cred); - pjsip_auth_clt_set_prefs(&dlg->auth_sess, &acc->cfg.auth_pref); - - /* Init callback: */ - pj_bzero(&pres_cb, sizeof(pres_cb)); - pres_cb.on_evsub_state = &pres_evsub_on_srv_state; - - /* Create server presence subscription: */ - status = pjsip_pres_create_uas( dlg, &pres_cb, rdata, &sub); - if (status != PJ_SUCCESS) { - int code = PJSIP_ERRNO_TO_SIP_STATUS(status); - pjsip_tx_data *tdata; - - pjsua_perror(THIS_FILE, "Unable to create server subscription", - status); - - if (code==599 || code > 699 || code < 300) { - code = 400; - } - - status = pjsip_dlg_create_response(dlg, rdata, code, NULL, &tdata); - if (status == PJ_SUCCESS) { - status = pjsip_dlg_send_response(dlg, pjsip_rdata_get_tsx(rdata), - tdata); - } - - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return PJ_TRUE; - } - - /* If account is locked to specific transport, then lock dialog - * to this transport too. - */ - if (acc->cfg.transport_id != PJSUA_INVALID_ID) { - pjsip_tpselector tp_sel; - - pjsua_init_tpselector(acc->cfg.transport_id, &tp_sel); - pjsip_dlg_set_transport(dlg, &tp_sel); - } - - /* Attach our data to the subscription: */ - uapres = PJ_POOL_ALLOC_T(dlg->pool, pjsua_srv_pres); - uapres->sub = sub; - uapres->remote = (char*) pj_pool_alloc(dlg->pool, PJSIP_MAX_URL_SIZE); - uapres->acc_id = acc_id; - uapres->dlg = dlg; - status = pjsip_uri_print(PJSIP_URI_IN_REQ_URI, dlg->remote.info->uri, - uapres->remote, PJSIP_MAX_URL_SIZE); - if (status < 1) - pj_ansi_strcpy(uapres->remote, "<-- url is too long-->"); - else - uapres->remote[status] = '\0'; - - pjsip_evsub_add_header(sub, &acc->cfg.sub_hdr_list); - pjsip_evsub_set_mod_data(sub, pjsua_var.mod.id, uapres); - - /* Add server subscription to the list: */ - pj_list_push_back(&pjsua_var.acc[acc_id].pres_srv_list, uapres); - - - /* Capture the value of Expires header. */ - expires_hdr = (pjsip_expires_hdr*) - pjsip_msg_find_hdr(rdata->msg_info.msg, PJSIP_H_EXPIRES, - NULL); - if (expires_hdr) - uapres->expires = expires_hdr->ivalue; - else - uapres->expires = -1; - - st_code = (pjsip_status_code)200; - reason = pj_str("OK"); - pjsua_msg_data_init(&msg_data); - - /* Notify application callback, if any */ - if (pjsua_var.ua_cfg.cb.on_incoming_subscribe) { - pjsua_buddy_id buddy_id; - - buddy_id = find_buddy(rdata->msg_info.from->uri); - - (*pjsua_var.ua_cfg.cb.on_incoming_subscribe)(acc_id, uapres, buddy_id, - &dlg->remote.info_str, - rdata, &st_code, &reason, - &msg_data); - } - - /* Handle rejection case */ - if (st_code >= 300) { - pjsip_tx_data *tdata; - - /* Create response */ - status = pjsip_dlg_create_response(dlg, rdata, st_code, - &reason, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error creating response", status); - pj_list_erase(uapres); - pjsip_pres_terminate(sub, PJ_FALSE); - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return PJ_FALSE; - } - - /* Add header list, if any */ - pjsua_process_msg_data(tdata, &msg_data); - - /* Send the response */ - status = pjsip_dlg_send_response(dlg, pjsip_rdata_get_tsx(rdata), - tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error sending response", status); - /* This is not fatal */ - } - - /* Terminate presence subscription */ - pj_list_erase(uapres); - pjsip_pres_terminate(sub, PJ_FALSE); - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return PJ_TRUE; - } - - /* Create and send 2xx response to the SUBSCRIBE request: */ - status = pjsip_pres_accept(sub, rdata, st_code, &msg_data.hdr_list); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to accept presence subscription", - status); - pj_list_erase(uapres); - pjsip_pres_terminate(sub, PJ_FALSE); - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return PJ_FALSE; - } - - /* If code is 200, send NOTIFY now */ - if (st_code == 200) { - pjsua_pres_notify(acc_id, uapres, PJSIP_EVSUB_STATE_ACTIVE, - NULL, NULL, PJ_TRUE, &msg_data); - } - - /* Done: */ - - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return PJ_TRUE; -} - - -/* - * Send NOTIFY. - */ -PJ_DEF(pj_status_t) pjsua_pres_notify( pjsua_acc_id acc_id, - pjsua_srv_pres *srv_pres, - pjsip_evsub_state ev_state, - const pj_str_t *state_str, - const pj_str_t *reason, - pj_bool_t with_body, - const pjsua_msg_data *msg_data) -{ - pjsua_acc *acc; - pjsip_pres_status pres_status; - pjsua_buddy_id buddy_id; - pjsip_tx_data *tdata; - pj_status_t status; - - /* Check parameters */ - PJ_ASSERT_RETURN(acc_id!=-1 && srv_pres, PJ_EINVAL); - - /* Check that account ID is valid */ - PJ_ASSERT_RETURN(acc_id>=0 && acc_id<(int)PJ_ARRAY_SIZE(pjsua_var.acc), - PJ_EINVAL); - /* Check that account is valid */ - PJ_ASSERT_RETURN(pjsua_var.acc[acc_id].valid, PJ_EINVALIDOP); - - PJ_LOG(4,(THIS_FILE, "Acc %d: sending NOTIFY for srv_pres=0x%p..", - acc_id, (int)(long)srv_pres)); - pj_log_push_indent(); - - PJSUA_LOCK(); - - acc = &pjsua_var.acc[acc_id]; - - /* Check that the server presence subscription is still valid */ - if (pj_list_find_node(&acc->pres_srv_list, srv_pres) == NULL) { - /* Subscription has been terminated */ - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return PJ_EINVALIDOP; - } - - /* Set our online status: */ - pj_bzero(&pres_status, sizeof(pres_status)); - pres_status.info_cnt = 1; - pres_status.info[0].basic_open = acc->online_status; - pres_status.info[0].id = acc->cfg.pidf_tuple_id; - //Both pjsua_var.local_uri and pjsua_var.contact_uri are enclosed in "<" and ">" - //causing XML parsing to fail. - //pres_status.info[0].contact = pjsua_var.local_uri; - /* add RPID information */ - pj_memcpy(&pres_status.info[0].rpid, &acc->rpid, - sizeof(pjrpid_element)); - - pjsip_pres_set_status(srv_pres->sub, &pres_status); - - /* Check expires value. If it's zero, send our presense state but - * set subscription state to TERMINATED. - */ - if (srv_pres->expires == 0) - ev_state = PJSIP_EVSUB_STATE_TERMINATED; - - /* Create and send the NOTIFY to active subscription: */ - status = pjsip_pres_notify(srv_pres->sub, ev_state, state_str, - reason, &tdata); - if (status == PJ_SUCCESS) { - /* Force removal of message body if msg_body==FALSE */ - if (!with_body) { - tdata->msg->body = NULL; - } - pjsua_process_msg_data(tdata, msg_data); - status = pjsip_pres_send_request( srv_pres->sub, tdata); - } - - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create/send NOTIFY", - status); - pj_list_erase(srv_pres); - pjsip_pres_terminate(srv_pres->sub, PJ_FALSE); - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return status; - } - - - /* Subscribe to buddy's presence if we're not subscribed */ - buddy_id = find_buddy(srv_pres->dlg->remote.info->uri); - if (buddy_id != PJSUA_INVALID_ID) { - pjsua_buddy *b = &pjsua_var.buddy[buddy_id]; - if (b->monitor && b->sub == NULL) { - PJ_LOG(4,(THIS_FILE, "Received SUBSCRIBE from buddy %d, " - "activating outgoing subscription", buddy_id)); - subscribe_buddy_presence(buddy_id); - } - } - - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return PJ_SUCCESS; -} - - -/* - * Client presence publication callback. - */ -static void publish_cb(struct pjsip_publishc_cbparam *param) -{ - pjsua_acc *acc = (pjsua_acc*) param->token; - - if (param->code/100 != 2 || param->status != PJ_SUCCESS) { - - pjsip_publishc_destroy(param->pubc); - acc->publish_sess = NULL; - - if (param->status != PJ_SUCCESS) { - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(param->status, errmsg, sizeof(errmsg)); - PJ_LOG(1,(THIS_FILE, - "Client publication (PUBLISH) failed, status=%d, msg=%s", - param->status, errmsg)); - } else if (param->code == 412) { - /* 412 (Conditional Request Failed) - * The PUBLISH refresh has failed, retry with new one. - */ - pjsua_pres_init_publish_acc(acc->index); - - } else { - PJ_LOG(1,(THIS_FILE, - "Client publication (PUBLISH) failed (%d/%.*s)", - param->code, (int)param->reason.slen, - param->reason.ptr)); - } - - } else { - if (param->expiration < 1) { - /* Could happen if server "forgot" to include Expires header - * in the response. We will not renew, so destroy the pubc. - */ - pjsip_publishc_destroy(param->pubc); - acc->publish_sess = NULL; - } - } -} - - -/* - * Send PUBLISH request. - */ -static pj_status_t send_publish(int acc_id, pj_bool_t active) -{ - pjsua_acc_config *acc_cfg = &pjsua_var.acc[acc_id].cfg; - pjsua_acc *acc = &pjsua_var.acc[acc_id]; - pjsip_pres_status pres_status; - pjsip_tx_data *tdata; - pj_status_t status; - - PJ_LOG(5,(THIS_FILE, "Acc %d: sending %sPUBLISH..", - acc_id, (active ? "" : "un-"))); - pj_log_push_indent(); - - /* Create PUBLISH request */ - if (active) { - char *bpos; - pj_str_t entity; - - status = pjsip_publishc_publish(acc->publish_sess, PJ_TRUE, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error creating PUBLISH request", status); - goto on_error; - } - - /* Set our online status: */ - pj_bzero(&pres_status, sizeof(pres_status)); - pres_status.info_cnt = 1; - pres_status.info[0].basic_open = acc->online_status; - pres_status.info[0].id = acc->cfg.pidf_tuple_id; - /* .. including RPID information */ - pj_memcpy(&pres_status.info[0].rpid, &acc->rpid, - sizeof(pjrpid_element)); - - /* Be careful not to send PIDF with presence entity ID containing - * "<" character. - */ - if ((bpos=pj_strchr(&acc_cfg->id, '<')) != NULL) { - char *epos = pj_strchr(&acc_cfg->id, '>'); - if (epos - bpos < 2) { - pj_assert(!"Unexpected invalid URI"); - status = PJSIP_EINVALIDURI; - goto on_error; - } - entity.ptr = bpos+1; - entity.slen = epos - bpos - 1; - } else { - entity = acc_cfg->id; - } - - /* Create and add PIDF message body */ - status = pjsip_pres_create_pidf(tdata->pool, &pres_status, - &entity, &tdata->msg->body); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error creating PIDF for PUBLISH request", - status); - pjsip_tx_data_dec_ref(tdata); - goto on_error; - } - } else { - status = pjsip_publishc_unpublish(acc->publish_sess, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error creating PUBLISH request", status); - goto on_error; - } - } - - /* Add headers etc */ - pjsua_process_msg_data(tdata, NULL); - - /* Send the PUBLISH request */ - status = pjsip_publishc_send(acc->publish_sess, tdata); - if (status == PJ_EPENDING) { - PJ_LOG(3,(THIS_FILE, "Previous request is in progress, " - "PUBLISH request is queued")); - } else if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error sending PUBLISH request", status); - goto on_error; - } - - acc->publish_state = acc->online_status; - pj_log_pop_indent(); - return PJ_SUCCESS; - -on_error: - if (acc->publish_sess) { - pjsip_publishc_destroy(acc->publish_sess); - acc->publish_sess = NULL; - } - pj_log_pop_indent(); - return status; -} - - -/* Create client publish session */ -pj_status_t pjsua_pres_init_publish_acc(int acc_id) -{ - const pj_str_t STR_PRESENCE = { "presence", 8 }; - pjsua_acc_config *acc_cfg = &pjsua_var.acc[acc_id].cfg; - pjsua_acc *acc = &pjsua_var.acc[acc_id]; - pj_status_t status; - - /* Create and init client publication session */ - if (acc_cfg->publish_enabled) { - - /* Create client publication */ - status = pjsip_publishc_create(pjsua_var.endpt, &acc_cfg->publish_opt, - acc, &publish_cb, - &acc->publish_sess); - if (status != PJ_SUCCESS) { - acc->publish_sess = NULL; - return status; - } - - /* Initialize client publication */ - status = pjsip_publishc_init(acc->publish_sess, &STR_PRESENCE, - &acc_cfg->id, &acc_cfg->id, - &acc_cfg->id, - PJSUA_PUBLISH_EXPIRATION); - if (status != PJ_SUCCESS) { - acc->publish_sess = NULL; - return status; - } - - /* Add credential for authentication */ - if (acc->cred_cnt) { - pjsip_publishc_set_credentials(acc->publish_sess, acc->cred_cnt, - acc->cred); - } - - /* Set route-set */ - pjsip_publishc_set_route_set(acc->publish_sess, &acc->route_set); - - /* Send initial PUBLISH request */ - if (acc->online_status != 0) { - status = send_publish(acc_id, PJ_TRUE); - if (status != PJ_SUCCESS) - return status; - } - - } else { - acc->publish_sess = NULL; - } - - return PJ_SUCCESS; -} - - -/* Init presence for account */ -pj_status_t pjsua_pres_init_acc(int acc_id) -{ - pjsua_acc *acc = &pjsua_var.acc[acc_id]; - - /* Init presence subscription */ - pj_list_init(&acc->pres_srv_list); - - return PJ_SUCCESS; -} - - -/* Unpublish presence publication */ -void pjsua_pres_unpublish(pjsua_acc *acc, unsigned flags) -{ - if (acc->publish_sess) { - pjsua_acc_config *acc_cfg = &acc->cfg; - - acc->online_status = PJ_FALSE; - - if ((flags & PJSUA_DESTROY_NO_TX_MSG) == 0) { - send_publish(acc->index, PJ_FALSE); - } - - /* By ticket #364, don't destroy the session yet (let the callback - destroy it) - if (acc->publish_sess) { - pjsip_publishc_destroy(acc->publish_sess); - acc->publish_sess = NULL; - } - */ - acc_cfg->publish_enabled = PJ_FALSE; - } -} - -/* Terminate server subscription for the account */ -void pjsua_pres_delete_acc(int acc_id, unsigned flags) -{ - pjsua_acc *acc = &pjsua_var.acc[acc_id]; - pjsua_srv_pres *uapres; - - uapres = pjsua_var.acc[acc_id].pres_srv_list.next; - - /* Notify all subscribers that we're no longer available */ - while (uapres != &acc->pres_srv_list) { - - pjsip_pres_status pres_status; - pj_str_t reason = { "noresource", 10 }; - pjsua_srv_pres *next; - pjsip_tx_data *tdata; - - next = uapres->next; - - pjsip_pres_get_status(uapres->sub, &pres_status); - - pres_status.info[0].basic_open = pjsua_var.acc[acc_id].online_status; - pjsip_pres_set_status(uapres->sub, &pres_status); - - if ((flags & PJSUA_DESTROY_NO_TX_MSG) == 0) { - if (pjsip_pres_notify(uapres->sub, - PJSIP_EVSUB_STATE_TERMINATED, NULL, - &reason, &tdata)==PJ_SUCCESS) - { - pjsip_pres_send_request(uapres->sub, tdata); - } - } else { - pjsip_pres_terminate(uapres->sub, PJ_FALSE); - } - - uapres = next; - } - - /* Clear server presence subscription list because account might be reused - * later. */ - pj_list_init(&acc->pres_srv_list); - - /* Terminate presence publication, if any */ - pjsua_pres_unpublish(acc, flags); -} - - -/* Update server subscription (e.g. when our online status has changed) */ -void pjsua_pres_update_acc(int acc_id, pj_bool_t force) -{ - pjsua_acc *acc = &pjsua_var.acc[acc_id]; - pjsua_acc_config *acc_cfg = &pjsua_var.acc[acc_id].cfg; - pjsua_srv_pres *uapres; - - uapres = pjsua_var.acc[acc_id].pres_srv_list.next; - - while (uapres != &acc->pres_srv_list) { - - pjsip_pres_status pres_status; - pjsip_tx_data *tdata; - - pjsip_pres_get_status(uapres->sub, &pres_status); - - /* Only send NOTIFY once subscription is active. Some subscriptions - * may still be in NULL (when app is adding a new buddy while in the - * on_incoming_subscribe() callback) or PENDING (when user approval is - * being requested) state and we don't send NOTIFY to these subs until - * the user accepted the request. - */ - if (pjsip_evsub_get_state(uapres->sub)==PJSIP_EVSUB_STATE_ACTIVE && - (force || pres_status.info[0].basic_open != acc->online_status)) - { - - pres_status.info[0].basic_open = acc->online_status; - pj_memcpy(&pres_status.info[0].rpid, &acc->rpid, - sizeof(pjrpid_element)); - - pjsip_pres_set_status(uapres->sub, &pres_status); - - if (pjsip_pres_current_notify(uapres->sub, &tdata)==PJ_SUCCESS) { - pjsua_process_msg_data(tdata, NULL); - pjsip_pres_send_request(uapres->sub, tdata); - } - } - - uapres = uapres->next; - } - - /* Send PUBLISH if required. We only do this when we have a PUBLISH - * session. If we don't have a PUBLISH session, then it could be - * that we're waiting until registration has completed before we - * send the first PUBLISH. - */ - if (acc_cfg->publish_enabled && acc->publish_sess) { - if (force || acc->publish_state != acc->online_status) { - send_publish(acc_id, PJ_TRUE); - } - } -} - - - -/*************************************************************************** - * Client subscription. - */ - -static void buddy_timer_cb(pj_timer_heap_t *th, pj_timer_entry *entry) -{ - pjsua_buddy *buddy = (pjsua_buddy*)entry->user_data; - - PJ_UNUSED_ARG(th); - - entry->id = PJ_FALSE; - pjsua_buddy_update_pres(buddy->index); -} - -/* Reschedule subscription refresh timer or terminate the subscription - * refresh timer for the specified buddy. - */ -static void buddy_resubscribe(pjsua_buddy *buddy, pj_bool_t resched, - unsigned msec_interval) -{ - if (buddy->timer.id) { - pjsua_cancel_timer(&buddy->timer); - buddy->timer.id = PJ_FALSE; - } - - if (resched) { - pj_time_val delay; - - PJ_LOG(4,(THIS_FILE, - "Resubscribing buddy id %u in %u ms (reason: %.*s)", - buddy->index, msec_interval, - (int)buddy->term_reason.slen, - buddy->term_reason.ptr)); - - pj_timer_entry_init(&buddy->timer, 0, buddy, &buddy_timer_cb); - delay.sec = 0; - delay.msec = msec_interval; - pj_time_val_normalize(&delay); - - if (pjsua_schedule_timer(&buddy->timer, &delay)==PJ_SUCCESS) - buddy->timer.id = PJ_TRUE; - } -} - -/* Callback called when *client* subscription state has changed. */ -static void pjsua_evsub_on_state( pjsip_evsub *sub, pjsip_event *event) -{ - pjsua_buddy *buddy; - - PJ_UNUSED_ARG(event); - - /* Note: #937: no need to acuire PJSUA_LOCK here. Since the buddy has - * a dialog attached to it, lock_buddy() will use the dialog - * lock, which we are currently holding! - */ - buddy = (pjsua_buddy*) pjsip_evsub_get_mod_data(sub, pjsua_var.mod.id); - if (buddy) { - PJ_LOG(4,(THIS_FILE, - "Presence subscription to %.*s is %s", - (int)pjsua_var.buddy[buddy->index].uri.slen, - pjsua_var.buddy[buddy->index].uri.ptr, - pjsip_evsub_get_state_name(sub))); - pj_log_push_indent(); - - if (pjsip_evsub_get_state(sub) == PJSIP_EVSUB_STATE_TERMINATED) { - int resub_delay = -1; - - if (buddy->term_reason.ptr == NULL) { - buddy->term_reason.ptr = (char*) - pj_pool_alloc(buddy->pool, - PJSUA_BUDDY_SUB_TERM_REASON_LEN); - } - pj_strncpy(&buddy->term_reason, - pjsip_evsub_get_termination_reason(sub), - PJSUA_BUDDY_SUB_TERM_REASON_LEN); - - buddy->term_code = 200; - - /* Determine whether to resubscribe automatically */ - if (event && event->type==PJSIP_EVENT_TSX_STATE) { - const pjsip_transaction *tsx = event->body.tsx_state.tsx; - if (pjsip_method_cmp(&tsx->method, - &pjsip_subscribe_method)==0) - { - buddy->term_code = tsx->status_code; - switch (tsx->status_code) { - case PJSIP_SC_CALL_TSX_DOES_NOT_EXIST: - /* 481: we refreshed too late? resubscribe - * immediately. - */ - /* But this must only happen when the 481 is received - * on subscription refresh request. We MUST NOT try to - * resubscribe automatically if the 481 is received - * on the initial SUBSCRIBE (if server returns this - * response for some reason). - */ - if (buddy->dlg->remote.contact) - resub_delay = 500; - break; - } - } else if (pjsip_method_cmp(&tsx->method, - &pjsip_notify_method)==0) - { - if (pj_stricmp2(&buddy->term_reason, "deactivated")==0 || - pj_stricmp2(&buddy->term_reason, "timeout")==0) { - /* deactivated: The subscription has been terminated, - * but the subscriber SHOULD retry immediately with - * a new subscription. - */ - /* timeout: The subscription has been terminated - * because it was not refreshed before it expired. - * Clients MAY re-subscribe immediately. The - * "retry-after" parameter has no semantics for - * "timeout". - */ - resub_delay = 500; - } - else if (pj_stricmp2(&buddy->term_reason, "probation")==0|| - pj_stricmp2(&buddy->term_reason, "giveup")==0) { - /* probation: The subscription has been terminated, - * but the client SHOULD retry at some later time. - * If a "retry-after" parameter is also present, the - * client SHOULD wait at least the number of seconds - * specified by that parameter before attempting to re- - * subscribe. - */ - /* giveup: The subscription has been terminated because - * the notifier could not obtain authorization in a - * timely fashion. If a "retry-after" parameter is - * also present, the client SHOULD wait at least the - * number of seconds specified by that parameter before - * attempting to re-subscribe; otherwise, the client - * MAY retry immediately, but will likely get put back - * into pending state. - */ - const pjsip_sub_state_hdr *sub_hdr; - pj_str_t sub_state = { "Subscription-State", 18 }; - const pjsip_msg *msg; - - msg = event->body.tsx_state.src.rdata->msg_info.msg; - sub_hdr = (const pjsip_sub_state_hdr*) - pjsip_msg_find_hdr_by_name(msg, &sub_state, - NULL); - if (sub_hdr && sub_hdr->retry_after > 0) - resub_delay = sub_hdr->retry_after * 1000; - } - - } - } - - /* For other cases of subscription termination, if resubscribe - * timer is not set, schedule with default expiration (plus minus - * some random value, to avoid sending SUBSCRIBEs all at once) - */ - if (resub_delay == -1) { - pj_assert(PJSUA_PRES_TIMER >= 3); - resub_delay = PJSUA_PRES_TIMER*1000 - 2500 + (pj_rand()%5000); - } - - buddy_resubscribe(buddy, PJ_TRUE, resub_delay); - - } else { - /* This will clear the last termination code/reason */ - buddy->term_code = 0; - buddy->term_reason.slen = 0; - } - - /* Call callbacks */ - if (pjsua_var.ua_cfg.cb.on_buddy_evsub_state) - (*pjsua_var.ua_cfg.cb.on_buddy_evsub_state)(buddy->index, sub, - event); - - if (pjsua_var.ua_cfg.cb.on_buddy_state) - (*pjsua_var.ua_cfg.cb.on_buddy_state)(buddy->index); - - /* Clear subscription */ - if (pjsip_evsub_get_state(sub) == PJSIP_EVSUB_STATE_TERMINATED) { - buddy->sub = NULL; - buddy->status.info_cnt = 0; - buddy->dlg = NULL; - pjsip_evsub_set_mod_data(sub, pjsua_var.mod.id, NULL); - } - - pj_log_pop_indent(); - } -} - - -/* Callback when transaction state has changed. */ -static void pjsua_evsub_on_tsx_state(pjsip_evsub *sub, - pjsip_transaction *tsx, - pjsip_event *event) -{ - pjsua_buddy *buddy; - pjsip_contact_hdr *contact_hdr; - - /* Note: #937: no need to acuire PJSUA_LOCK here. Since the buddy has - * a dialog attached to it, lock_buddy() will use the dialog - * lock, which we are currently holding! - */ - buddy = (pjsua_buddy*) pjsip_evsub_get_mod_data(sub, pjsua_var.mod.id); - if (!buddy) { - return; - } - - /* We only use this to update buddy's Contact, when it's not - * set. - */ - if (buddy->contact.slen != 0) { - /* Contact already set */ - return; - } - - /* Only care about 2xx response to outgoing SUBSCRIBE */ - if (tsx->status_code/100 != 2 || - tsx->role != PJSIP_UAC_ROLE || - event->type != PJSIP_EVENT_RX_MSG || - pjsip_method_cmp(&tsx->method, pjsip_get_subscribe_method())!=0) - { - return; - } - - /* Find contact header. */ - contact_hdr = (pjsip_contact_hdr*) - pjsip_msg_find_hdr(event->body.rx_msg.rdata->msg_info.msg, - PJSIP_H_CONTACT, NULL); - if (!contact_hdr || !contact_hdr->uri) { - return; - } - - buddy->contact.ptr = (char*) - pj_pool_alloc(buddy->pool, PJSIP_MAX_URL_SIZE); - buddy->contact.slen = pjsip_uri_print( PJSIP_URI_IN_CONTACT_HDR, - contact_hdr->uri, - buddy->contact.ptr, - PJSIP_MAX_URL_SIZE); - if (buddy->contact.slen < 0) - buddy->contact.slen = 0; -} - - -/* Callback called when we receive NOTIFY */ -static void pjsua_evsub_on_rx_notify(pjsip_evsub *sub, - pjsip_rx_data *rdata, - int *p_st_code, - pj_str_t **p_st_text, - pjsip_hdr *res_hdr, - pjsip_msg_body **p_body) -{ - pjsua_buddy *buddy; - - /* Note: #937: no need to acuire PJSUA_LOCK here. Since the buddy has - * a dialog attached to it, lock_buddy() will use the dialog - * lock, which we are currently holding! - */ - buddy = (pjsua_buddy*) pjsip_evsub_get_mod_data(sub, pjsua_var.mod.id); - if (buddy) { - /* Update our info. */ - pjsip_pres_get_status(sub, &buddy->status); - } - - /* The default is to send 200 response to NOTIFY. - * Just leave it there.. - */ - PJ_UNUSED_ARG(rdata); - PJ_UNUSED_ARG(p_st_code); - PJ_UNUSED_ARG(p_st_text); - PJ_UNUSED_ARG(res_hdr); - PJ_UNUSED_ARG(p_body); -} - - -/* It does what it says.. */ -static void subscribe_buddy_presence(pjsua_buddy_id buddy_id) -{ - pjsip_evsub_user pres_callback; - pj_pool_t *tmp_pool = NULL; - pjsua_buddy *buddy; - int acc_id; - pjsua_acc *acc; - pj_str_t contact; - pjsip_tx_data *tdata; - pj_status_t status; - - /* Event subscription callback. */ - pj_bzero(&pres_callback, sizeof(pres_callback)); - pres_callback.on_evsub_state = &pjsua_evsub_on_state; - pres_callback.on_tsx_state = &pjsua_evsub_on_tsx_state; - pres_callback.on_rx_notify = &pjsua_evsub_on_rx_notify; - - buddy = &pjsua_var.buddy[buddy_id]; - acc_id = pjsua_acc_find_for_outgoing(&buddy->uri); - - acc = &pjsua_var.acc[acc_id]; - - PJ_LOG(4,(THIS_FILE, "Buddy %d: subscribing presence,using account %d..", - buddy_id, acc_id)); - pj_log_push_indent(); - - /* Generate suitable Contact header unless one is already set in - * the account - */ - if (acc->contact.slen) { - contact = acc->contact; - } else { - tmp_pool = pjsua_pool_create("tmpbuddy", 512, 256); - - status = pjsua_acc_create_uac_contact(tmp_pool, &contact, - acc_id, &buddy->uri); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to generate Contact header", - status); - pj_pool_release(tmp_pool); - pj_log_pop_indent(); - return; - } - } - - /* Create UAC dialog */ - status = pjsip_dlg_create_uac( pjsip_ua_instance(), - &acc->cfg.id, - &contact, - &buddy->uri, - NULL, &buddy->dlg); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create dialog", - status); - if (tmp_pool) pj_pool_release(tmp_pool); - pj_log_pop_indent(); - return; - } - - /* Increment the dialog's lock otherwise when presence session creation - * fails the dialog will be destroyed prematurely. - */ - pjsip_dlg_inc_lock(buddy->dlg); - - status = pjsip_pres_create_uac( buddy->dlg, &pres_callback, - PJSIP_EVSUB_NO_EVENT_ID, &buddy->sub); - if (status != PJ_SUCCESS) { - buddy->sub = NULL; - pjsua_perror(THIS_FILE, "Unable to create presence client", - status); - /* This should destroy the dialog since there's no session - * referencing it - */ - if (buddy->dlg) pjsip_dlg_dec_lock(buddy->dlg); - if (tmp_pool) pj_pool_release(tmp_pool); - pj_log_pop_indent(); - return; - } - - /* If account is locked to specific transport, then lock dialog - * to this transport too. - */ - if (acc->cfg.transport_id != PJSUA_INVALID_ID) { - pjsip_tpselector tp_sel; - - pjsua_init_tpselector(acc->cfg.transport_id, &tp_sel); - pjsip_dlg_set_transport(buddy->dlg, &tp_sel); - } - - /* Set route-set */ - if (!pj_list_empty(&acc->route_set)) { - pjsip_dlg_set_route_set(buddy->dlg, &acc->route_set); - } - - /* Set credentials */ - if (acc->cred_cnt) { - pjsip_auth_clt_set_credentials( &buddy->dlg->auth_sess, - acc->cred_cnt, acc->cred); - } - - /* Set authentication preference */ - pjsip_auth_clt_set_prefs(&buddy->dlg->auth_sess, &acc->cfg.auth_pref); - - pjsip_evsub_set_mod_data(buddy->sub, pjsua_var.mod.id, buddy); - - status = pjsip_pres_initiate(buddy->sub, -1, &tdata); - if (status != PJ_SUCCESS) { - if (buddy->dlg) pjsip_dlg_dec_lock(buddy->dlg); - if (buddy->sub) { - pjsip_pres_terminate(buddy->sub, PJ_FALSE); - } - buddy->sub = NULL; - pjsua_perror(THIS_FILE, "Unable to create initial SUBSCRIBE", - status); - if (tmp_pool) pj_pool_release(tmp_pool); - pj_log_pop_indent(); - return; - } - - pjsua_process_msg_data(tdata, NULL); - - status = pjsip_pres_send_request(buddy->sub, tdata); - if (status != PJ_SUCCESS) { - if (buddy->dlg) pjsip_dlg_dec_lock(buddy->dlg); - if (buddy->sub) { - pjsip_pres_terminate(buddy->sub, PJ_FALSE); - } - buddy->sub = NULL; - pjsua_perror(THIS_FILE, "Unable to send initial SUBSCRIBE", - status); - if (tmp_pool) pj_pool_release(tmp_pool); - pj_log_pop_indent(); - return; - } - - pjsip_dlg_dec_lock(buddy->dlg); - if (tmp_pool) pj_pool_release(tmp_pool); - pj_log_pop_indent(); -} - - -/* It does what it says... */ -static void unsubscribe_buddy_presence(pjsua_buddy_id buddy_id) -{ - pjsua_buddy *buddy; - pjsip_tx_data *tdata; - pj_status_t status; - - buddy = &pjsua_var.buddy[buddy_id]; - - if (buddy->sub == NULL) - return; - - if (pjsip_evsub_get_state(buddy->sub) == PJSIP_EVSUB_STATE_TERMINATED) { - buddy->sub = NULL; - return; - } - - PJ_LOG(5,(THIS_FILE, "Buddy %d: unsubscribing..", buddy_id)); - pj_log_push_indent(); - - status = pjsip_pres_initiate( buddy->sub, 0, &tdata); - if (status == PJ_SUCCESS) { - pjsua_process_msg_data(tdata, NULL); - status = pjsip_pres_send_request( buddy->sub, tdata ); - } - - if (status != PJ_SUCCESS && buddy->sub) { - pjsip_pres_terminate(buddy->sub, PJ_FALSE); - buddy->sub = NULL; - pjsua_perror(THIS_FILE, "Unable to unsubscribe presence", - status); - } - - pj_log_pop_indent(); -} - -/* It does what it says.. */ -static pj_status_t refresh_client_subscriptions(void) -{ - unsigned i; - pj_status_t status; - - for (i=0; icfg.id.slen, acc->cfg.id.ptr, - pjsip_evsub_get_state_name(sub))); - - if (pjsip_evsub_get_state(sub) == PJSIP_EVSUB_STATE_TERMINATED) { - /* Clear subscription */ - acc->mwi_dlg = NULL; - acc->mwi_sub = NULL; - pjsip_evsub_set_mod_data(sub, pjsua_var.mod.id, NULL); - - } -} - -/* Callback called when we receive NOTIFY */ -static void mwi_evsub_on_rx_notify(pjsip_evsub *sub, - pjsip_rx_data *rdata, - int *p_st_code, - pj_str_t **p_st_text, - pjsip_hdr *res_hdr, - pjsip_msg_body **p_body) -{ - pjsua_mwi_info mwi_info; - pjsua_acc *acc; - - PJ_UNUSED_ARG(p_st_code); - PJ_UNUSED_ARG(p_st_text); - PJ_UNUSED_ARG(res_hdr); - PJ_UNUSED_ARG(p_body); - - acc = (pjsua_acc*) pjsip_evsub_get_mod_data(sub, pjsua_var.mod.id); - if (!acc) - return; - - /* Construct mwi_info */ - pj_bzero(&mwi_info, sizeof(mwi_info)); - mwi_info.evsub = sub; - mwi_info.rdata = rdata; - - PJ_LOG(4,(THIS_FILE, "MWI got NOTIFY..")); - pj_log_push_indent(); - - /* Call callback */ - if (pjsua_var.ua_cfg.cb.on_mwi_info) { - (*pjsua_var.ua_cfg.cb.on_mwi_info)(acc->index, &mwi_info); - } - - pj_log_pop_indent(); -} - - -/* Event subscription callback. */ -static pjsip_evsub_user mwi_cb = -{ - &mwi_evsub_on_state, - NULL, /* on_tsx_state: not interested */ - NULL, /* on_rx_refresh: don't care about SUBSCRIBE refresh, unless - * we want to authenticate - */ - - &mwi_evsub_on_rx_notify, - - NULL, /* on_client_refresh: Use default behaviour, which is to - * refresh client subscription. */ - - NULL, /* on_server_timeout: Use default behaviour, which is to send - * NOTIFY to terminate. - */ -}; - -void pjsua_start_mwi(pjsua_acc *acc) -{ - pj_pool_t *tmp_pool = NULL; - pj_str_t contact; - pjsip_tx_data *tdata; - pj_status_t status; - - if (!acc->cfg.mwi_enabled) { - if (acc->mwi_sub) { - /* Terminate MWI subscription */ - pjsip_tx_data *tdata; - pjsip_evsub *sub = acc->mwi_sub; - - /* Detach sub from this account */ - acc->mwi_sub = NULL; - acc->mwi_dlg = NULL; - pjsip_evsub_set_mod_data(sub, pjsua_var.mod.id, NULL); - - /* Unsubscribe */ - status = pjsip_mwi_initiate(acc->mwi_sub, 0, &tdata); - if (status == PJ_SUCCESS) { - status = pjsip_mwi_send_request(acc->mwi_sub, tdata); - } - } - return; - } - - if (acc->mwi_sub) { - /* Subscription is already active */ - return; - - } - - PJ_LOG(4,(THIS_FILE, "Starting MWI subscription..")); - pj_log_push_indent(); - - /* Generate suitable Contact header unless one is already set in - * the account - */ - if (acc->contact.slen) { - contact = acc->contact; - } else { - tmp_pool = pjsua_pool_create("tmpmwi", 512, 256); - status = pjsua_acc_create_uac_contact(tmp_pool, &contact, - acc->index, &acc->cfg.id); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to generate Contact header", - status); - pj_pool_release(tmp_pool); - pj_log_pop_indent(); - return; - } - } - - /* Create UAC dialog */ - status = pjsip_dlg_create_uac( pjsip_ua_instance(), - &acc->cfg.id, - &contact, - &acc->cfg.id, - NULL, &acc->mwi_dlg); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create dialog", status); - if (tmp_pool) pj_pool_release(tmp_pool); - pj_log_pop_indent(); - return; - } - - /* Increment the dialog's lock otherwise when presence session creation - * fails the dialog will be destroyed prematurely. - */ - pjsip_dlg_inc_lock(acc->mwi_dlg); - - /* Create UAC subscription */ - status = pjsip_mwi_create_uac(acc->mwi_dlg, &mwi_cb, - PJSIP_EVSUB_NO_EVENT_ID, &acc->mwi_sub); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Error creating MWI subscription", status); - if (tmp_pool) pj_pool_release(tmp_pool); - if (acc->mwi_dlg) pjsip_dlg_dec_lock(acc->mwi_dlg); - pj_log_pop_indent(); - return; - } - - /* If account is locked to specific transport, then lock dialog - * to this transport too. - */ - if (acc->cfg.transport_id != PJSUA_INVALID_ID) { - pjsip_tpselector tp_sel; - - pjsua_init_tpselector(acc->cfg.transport_id, &tp_sel); - pjsip_dlg_set_transport(acc->mwi_dlg, &tp_sel); - } - - /* Set route-set */ - if (!pj_list_empty(&acc->route_set)) { - pjsip_dlg_set_route_set(acc->mwi_dlg, &acc->route_set); - } - - /* Set credentials */ - if (acc->cred_cnt) { - pjsip_auth_clt_set_credentials( &acc->mwi_dlg->auth_sess, - acc->cred_cnt, acc->cred); - } - - /* Set authentication preference */ - pjsip_auth_clt_set_prefs(&acc->mwi_dlg->auth_sess, &acc->cfg.auth_pref); - - pjsip_evsub_set_mod_data(acc->mwi_sub, pjsua_var.mod.id, acc); - - status = pjsip_mwi_initiate(acc->mwi_sub, -1, &tdata); - if (status != PJ_SUCCESS) { - if (acc->mwi_dlg) pjsip_dlg_dec_lock(acc->mwi_dlg); - if (acc->mwi_sub) { - pjsip_pres_terminate(acc->mwi_sub, PJ_FALSE); - } - acc->mwi_sub = NULL; - acc->mwi_dlg = NULL; - pjsua_perror(THIS_FILE, "Unable to create initial MWI SUBSCRIBE", - status); - if (tmp_pool) pj_pool_release(tmp_pool); - pj_log_pop_indent(); - return; - } - - pjsua_process_msg_data(tdata, NULL); - - status = pjsip_pres_send_request(acc->mwi_sub, tdata); - if (status != PJ_SUCCESS) { - if (acc->mwi_dlg) pjsip_dlg_dec_lock(acc->mwi_dlg); - if (acc->mwi_sub) { - pjsip_pres_terminate(acc->mwi_sub, PJ_FALSE); - } - acc->mwi_sub = NULL; - acc->mwi_dlg = NULL; - pjsua_perror(THIS_FILE, "Unable to send initial MWI SUBSCRIBE", - status); - if (tmp_pool) pj_pool_release(tmp_pool); - pj_log_pop_indent(); - return; - } - - pjsip_dlg_dec_lock(acc->mwi_dlg); - if (tmp_pool) pj_pool_release(tmp_pool); - - pj_log_pop_indent(); -} - - -/*************************************************************************** - * Unsolicited MWI - */ -static pj_bool_t unsolicited_mwi_on_rx_request(pjsip_rx_data *rdata) -{ - pjsip_msg *msg = rdata->msg_info.msg; - pj_str_t EVENT_HDR = { "Event", 5 }; - pj_str_t MWI = { "message-summary", 15 }; - pjsip_event_hdr *eh; - - if (pjsip_method_cmp(&msg->line.req.method, &pjsip_notify_method)!=0) { - /* Only interested with NOTIFY request */ - return PJ_FALSE; - } - - eh = (pjsip_event_hdr*) pjsip_msg_find_hdr_by_name(msg, &EVENT_HDR, NULL); - if (!eh) { - /* Something wrong with the request, it has no Event hdr */ - return PJ_FALSE; - } - - if (pj_stricmp(&eh->event_type, &MWI) != 0) { - /* Not MWI event */ - return PJ_FALSE; - } - - PJ_LOG(4,(THIS_FILE, "Got unsolicited NOTIFY from %s:%d..", - rdata->pkt_info.src_name, rdata->pkt_info.src_port)); - pj_log_push_indent(); - - /* Got unsolicited MWI request, respond with 200/OK first */ - pjsip_endpt_respond(pjsua_get_pjsip_endpt(), NULL, rdata, 200, NULL, - NULL, NULL, NULL); - - - /* Call callback */ - if (pjsua_var.ua_cfg.cb.on_mwi_info) { - pjsua_acc_id acc_id; - pjsua_mwi_info mwi_info; - - acc_id = pjsua_acc_find_for_incoming(rdata); - - pj_bzero(&mwi_info, sizeof(mwi_info)); - mwi_info.rdata = rdata; - - (*pjsua_var.ua_cfg.cb.on_mwi_info)(acc_id, &mwi_info); - } - - pj_log_pop_indent(); - return PJ_TRUE; -} - -/* The module instance. */ -static pjsip_module pjsua_unsolicited_mwi_mod = -{ - NULL, NULL, /* prev, next. */ - { "mod-unsolicited-mwi", 19 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &unsolicited_mwi_on_rx_request, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ -}; - -static pj_status_t enable_unsolicited_mwi(void) -{ - pj_status_t status; - - status = pjsip_endpt_register_module(pjsua_get_pjsip_endpt(), - &pjsua_unsolicited_mwi_mod); - if (status != PJ_SUCCESS) - pjsua_perror(THIS_FILE, "Error registering unsolicited MWI module", - status); - - return status; -} - - - -/***************************************************************************/ - -/* Timer callback to re-create client subscription */ -static void pres_timer_cb(pj_timer_heap_t *th, - pj_timer_entry *entry) -{ - unsigned i; - pj_time_val delay = { PJSUA_PRES_TIMER, 0 }; - - entry->id = PJ_FALSE; - - /* Retry failed PUBLISH and MWI SUBSCRIBE requests */ - for (i=0; icfg.publish_enabled && acc->publish_sess==NULL) - pjsua_pres_init_publish_acc(acc->index); - - /* Re-subscribe MWI subscription if it's terminated prematurely */ - if (acc->cfg.mwi_enabled && !acc->mwi_sub) - pjsua_start_mwi(acc); - } - - /* #937: No need to do bulk client refresh, as buddies have their - * own individual timer now. - */ - //refresh_client_subscriptions(); - - pjsip_endpt_schedule_timer(pjsua_var.endpt, entry, &delay); - entry->id = PJ_TRUE; - - PJ_UNUSED_ARG(th); -} - - -/* - * Init presence - */ -pj_status_t pjsua_pres_init() -{ - unsigned i; - pj_status_t status; - - status = pjsip_endpt_register_module( pjsua_var.endpt, &mod_pjsua_pres); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to register pjsua presence module", - status); - } - - for (i=0; i -#include - -#if defined(PJSUA_MEDIA_HAS_PJMEDIA) && PJSUA_MEDIA_HAS_PJMEDIA != 0 - -#define THIS_FILE "pjsua_vid.c" - -#if PJSUA_HAS_VIDEO - -#define ENABLE_EVENT 1 -#define VID_TEE_MAX_PORT (PJSUA_MAX_CALLS + 1) - -#define PJSUA_SHOW_WINDOW 1 -#define PJSUA_HIDE_WINDOW 0 - - -static void free_vid_win(pjsua_vid_win_id wid); - -/***************************************************************************** - * pjsua video subsystem. - */ -pj_status_t pjsua_vid_subsys_init(void) -{ - unsigned i; - pj_status_t status; - - PJ_LOG(4,(THIS_FILE, "Initializing video subsystem..")); - pj_log_push_indent(); - - status = pjmedia_video_format_mgr_create(pjsua_var.pool, 64, 0, NULL); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, - "Error creating PJMEDIA video format manager")); - goto on_error; - } - - status = pjmedia_converter_mgr_create(pjsua_var.pool, NULL); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, - "Error creating PJMEDIA converter manager")); - goto on_error; - } - - status = pjmedia_event_mgr_create(pjsua_var.pool, 0, NULL); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, - "Error creating PJMEDIA event manager")); - goto on_error; - } - - status = pjmedia_vid_codec_mgr_create(pjsua_var.pool, NULL); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, - "Error creating PJMEDIA video codec manager")); - goto on_error; - } - -#if PJMEDIA_HAS_VIDEO && PJMEDIA_HAS_FFMPEG_VID_CODEC - status = pjmedia_codec_ffmpeg_vid_init(NULL, &pjsua_var.cp.factory); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, - "Error initializing ffmpeg library")); - goto on_error; - } -#endif - - status = pjmedia_vid_dev_subsys_init(&pjsua_var.cp.factory); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, - "Error creating PJMEDIA video subsystem")); - goto on_error; - } - - for (i=0; imed_idx = -1; - param->dir = PJMEDIA_DIR_ENCODING_DECODING; - param->cap_dev = PJMEDIA_VID_DEFAULT_CAPTURE_DEV; -} - -PJ_DEF(void) pjsua_vid_preview_param_default(pjsua_vid_preview_param *p) -{ - p->rend_id = PJMEDIA_VID_DEFAULT_RENDER_DEV; - p->show = PJ_TRUE; - p->wnd_flags = 0; -} - - -/***************************************************************************** - * Devices. - */ - -/* - * Get the number of video devices installed in the system. - */ -PJ_DEF(unsigned) pjsua_vid_dev_count(void) -{ - return pjmedia_vid_dev_count(); -} - -/* - * Retrieve the video device info for the specified device index. - */ -PJ_DEF(pj_status_t) pjsua_vid_dev_get_info(pjmedia_vid_dev_index id, - pjmedia_vid_dev_info *vdi) -{ - return pjmedia_vid_dev_get_info(id, vdi); -} - -/* - * Enum all video devices installed in the system. - */ -PJ_DEF(pj_status_t) pjsua_vid_enum_devs(pjmedia_vid_dev_info info[], - unsigned *count) -{ - unsigned i, dev_count; - - dev_count = pjmedia_vid_dev_count(); - - if (dev_count > *count) dev_count = *count; - - for (i=0; ipackings & PJMEDIA_VID_PACKING_PACKETS) == 0) - continue; - p_info[j++] = info[i]; - } - *count = j; - return PJ_SUCCESS; -} - -/* - * Enum all supported video codecs in the system. - */ -PJ_DEF(pj_status_t) pjsua_vid_enum_codecs( pjsua_codec_info id[], - unsigned *p_count ) -{ - pjmedia_vid_codec_info info[32]; - unsigned i, j, count, prio[32]; - pj_status_t status; - - count = PJ_ARRAY_SIZE(info); - status = pjmedia_vid_codec_mgr_enum_codecs(NULL, &count, info, prio); - if (status != PJ_SUCCESS) { - *p_count = 0; - return status; - } - - for (i=0, j=0; islen==1 && *codec_id->ptr=='*') - codec_id = &all; - - return pjmedia_vid_codec_mgr_set_codec_priority(NULL, codec_id, - priority); -} - - -/* - * Get video codec parameters. - */ -PJ_DEF(pj_status_t) pjsua_vid_codec_get_param( - const pj_str_t *codec_id, - pjmedia_vid_codec_param *param) -{ - const pjmedia_vid_codec_info *info[2]; - unsigned count = 2; - pj_status_t status; - - status = find_codecs_with_rtp_packing(codec_id, &count, info); - if (status != PJ_SUCCESS) - return status; - - if (count != 1) - return (count > 1? PJ_ETOOMANY : PJ_ENOTFOUND); - - status = pjmedia_vid_codec_mgr_get_default_param(NULL, info[0], param); - return status; -} - - -/* - * Set video codec parameters. - */ -PJ_DEF(pj_status_t) pjsua_vid_codec_set_param( - const pj_str_t *codec_id, - const pjmedia_vid_codec_param *param) -{ - const pjmedia_vid_codec_info *info[2]; - unsigned count = 2; - pj_status_t status; - - status = find_codecs_with_rtp_packing(codec_id, &count, info); - if (status != PJ_SUCCESS) - return status; - - if (count != 1) - return (count > 1? PJ_ETOOMANY : PJ_ENOTFOUND); - - status = pjmedia_vid_codec_mgr_set_default_param(NULL, info[0], param); - return status; -} - - -/***************************************************************************** - * Preview - */ - -static pjsua_vid_win_id vid_preview_get_win(pjmedia_vid_dev_index id, - pj_bool_t running_only) -{ - pjsua_vid_win_id wid = PJSUA_INVALID_ID; - unsigned i; - - PJSUA_LOCK(); - - /* Get real capture ID, if set to PJMEDIA_VID_DEFAULT_CAPTURE_DEV */ - if (id == PJMEDIA_VID_DEFAULT_CAPTURE_DEV) { - pjmedia_vid_dev_info info; - pjmedia_vid_dev_get_info(id, &info); - id = info.id; - } - - for (i=0; itype == PJSUA_WND_TYPE_PREVIEW && w->preview_cap_id == id) { - wid = i; - break; - } - } - - if (wid != PJSUA_INVALID_ID && running_only) { - pjsua_vid_win *w = &pjsua_var.win[wid]; - wid = w->preview_running ? wid : PJSUA_INVALID_ID; - } - - PJSUA_UNLOCK(); - - return wid; -} - -/* - * NOTE: internal function don't use this!!! Use vid_preview_get_win() - * instead. This is because this function will only return window ID - * if preview is currently running. - */ -PJ_DEF(pjsua_vid_win_id) pjsua_vid_preview_get_win(pjmedia_vid_dev_index id) -{ - return vid_preview_get_win(id, PJ_TRUE); -} - -PJ_DEF(void) pjsua_vid_win_reset(pjsua_vid_win_id wid) -{ - pjsua_vid_win *w = &pjsua_var.win[wid]; - pj_pool_t *pool = w->pool; - - pj_bzero(w, sizeof(*w)); - if (pool) pj_pool_reset(pool); - w->ref_cnt = 0; - w->pool = pool; - w->preview_cap_id = PJMEDIA_VID_INVALID_DEV; -} - -/* Allocate and initialize pjsua video window: - * - If the type is preview, video capture, tee, and render - * will be instantiated. - * - If the type is stream, only renderer will be created. - */ -static pj_status_t create_vid_win(pjsua_vid_win_type type, - const pjmedia_format *fmt, - pjmedia_vid_dev_index rend_id, - pjmedia_vid_dev_index cap_id, - pj_bool_t show, - unsigned wnd_flags, - pjsua_vid_win_id *id) -{ - pj_bool_t enable_native_preview; - pjsua_vid_win_id wid = PJSUA_INVALID_ID; - pjsua_vid_win *w = NULL; - pjmedia_vid_port_param vp_param; - pjmedia_format fmt_; - pj_status_t status; - unsigned i; - - enable_native_preview = pjsua_var.media_cfg.vid_preview_enable_native; - - PJ_LOG(4,(THIS_FILE, - "Creating video window: type=%s, cap_id=%d, rend_id=%d", - pjsua_vid_win_type_name(type), cap_id, rend_id)); - pj_log_push_indent(); - - /* If type is preview, check if it exists already */ - if (type == PJSUA_WND_TYPE_PREVIEW) { - wid = vid_preview_get_win(cap_id, PJ_FALSE); - if (wid != PJSUA_INVALID_ID) { - /* Yes, it exists */ - /* Show/hide window */ - pjmedia_vid_dev_stream *strm; - pj_bool_t hide = !show; - - w = &pjsua_var.win[wid]; - - PJ_LOG(4,(THIS_FILE, - "Window already exists for cap_dev=%d, returning wid=%d", - cap_id, wid)); - - - if (w->is_native) { - strm = pjmedia_vid_port_get_stream(w->vp_cap); - } else { - strm = pjmedia_vid_port_get_stream(w->vp_rend); - } - - pj_assert(strm); - status = pjmedia_vid_dev_stream_set_cap( - strm, PJMEDIA_VID_DEV_CAP_OUTPUT_HIDE, - &hide); - - pjmedia_vid_dev_stream_set_cap( - strm, PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW_FLAGS, - &wnd_flags); - - /* Done */ - *id = wid; - pj_log_pop_indent(); - - return status; - } - } - - /* Allocate window */ - for (i=0; itype == PJSUA_WND_TYPE_NONE) { - wid = i; - w->type = type; - break; - } - } - if (i == PJSUA_MAX_VID_WINS) { - pj_log_pop_indent(); - return PJ_ETOOMANY; - } - - /* Initialize window */ - pjmedia_vid_port_param_default(&vp_param); - - if (w->type == PJSUA_WND_TYPE_PREVIEW) { - pjmedia_vid_dev_info vdi; - - /* - * Determine if the device supports native preview. - */ - status = pjmedia_vid_dev_get_info(cap_id, &vdi); - if (status != PJ_SUCCESS) - goto on_error; - - if (enable_native_preview && - (vdi.caps & PJMEDIA_VID_DEV_CAP_INPUT_PREVIEW)) - { - /* Device supports native preview! */ - w->is_native = PJ_TRUE; - } - - status = pjmedia_vid_dev_default_param(w->pool, cap_id, - &vp_param.vidparam); - if (status != PJ_SUCCESS) - goto on_error; - - if (w->is_native) { - vp_param.vidparam.flags |= PJMEDIA_VID_DEV_CAP_OUTPUT_HIDE; - vp_param.vidparam.window_hide = !show; - vp_param.vidparam.flags |= PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW_FLAGS; - vp_param.vidparam.window_flags = wnd_flags; - } - - /* Normalize capture ID, in case it was set to - * PJMEDIA_VID_DEFAULT_CAPTURE_DEV - */ - cap_id = vp_param.vidparam.cap_id; - - /* Assign preview capture device ID */ - w->preview_cap_id = cap_id; - - /* Create capture video port */ - vp_param.active = PJ_TRUE; - vp_param.vidparam.dir = PJMEDIA_DIR_CAPTURE; - if (fmt) - vp_param.vidparam.fmt = *fmt; - - status = pjmedia_vid_port_create(w->pool, &vp_param, &w->vp_cap); - if (status != PJ_SUCCESS) - goto on_error; - - /* Update format info */ - fmt_ = vp_param.vidparam.fmt; - fmt = &fmt_; - - /* Create video tee */ - status = pjmedia_vid_tee_create(w->pool, fmt, VID_TEE_MAX_PORT, - &w->tee); - if (status != PJ_SUCCESS) - goto on_error; - - /* Connect capturer to the video tee */ - status = pjmedia_vid_port_connect(w->vp_cap, w->tee, PJ_FALSE); - if (status != PJ_SUCCESS) - goto on_error; - - /* If device supports native preview, enable it */ - if (w->is_native) { - pjmedia_vid_dev_stream *cap_dev; - pj_bool_t enabled = PJ_TRUE; - - cap_dev = pjmedia_vid_port_get_stream(w->vp_cap); - status = pjmedia_vid_dev_stream_set_cap( - cap_dev, PJMEDIA_VID_DEV_CAP_INPUT_PREVIEW, - &enabled); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, - "Error activating native preview, falling back " - "to software preview..")); - w->is_native = PJ_FALSE; - } - } - } - - /* Create renderer video port, only if it's not a native preview */ - if (!w->is_native) { - status = pjmedia_vid_dev_default_param(w->pool, rend_id, - &vp_param.vidparam); - if (status != PJ_SUCCESS) - goto on_error; - - vp_param.active = (w->type == PJSUA_WND_TYPE_STREAM); - vp_param.vidparam.dir = PJMEDIA_DIR_RENDER; - vp_param.vidparam.fmt = *fmt; - vp_param.vidparam.disp_size = fmt->det.vid.size; - vp_param.vidparam.flags |= PJMEDIA_VID_DEV_CAP_OUTPUT_HIDE; - vp_param.vidparam.window_hide = !show; - vp_param.vidparam.flags |= PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW_FLAGS; - vp_param.vidparam.window_flags = wnd_flags; - - status = pjmedia_vid_port_create(w->pool, &vp_param, &w->vp_rend); - if (status != PJ_SUCCESS) - goto on_error; - - /* For preview window, connect capturer & renderer (via tee) */ - if (w->type == PJSUA_WND_TYPE_PREVIEW) { - pjmedia_port *rend_port; - - rend_port = pjmedia_vid_port_get_passive_port(w->vp_rend); - status = pjmedia_vid_tee_add_dst_port2(w->tee, 0, rend_port); - if (status != PJ_SUCCESS) - goto on_error; - } - - PJ_LOG(4,(THIS_FILE, - "%s window id %d created for cap_dev=%d rend_dev=%d", - pjsua_vid_win_type_name(type), wid, cap_id, rend_id)); - } else { - PJ_LOG(4,(THIS_FILE, - "Preview window id %d created for cap_dev %d, " - "using built-in preview!", - wid, cap_id)); - } - - - /* Done */ - *id = wid; - - PJ_LOG(4,(THIS_FILE, "Window %d created", wid)); - pj_log_pop_indent(); - return PJ_SUCCESS; - -on_error: - free_vid_win(wid); - pj_log_pop_indent(); - return status; -} - - -static void free_vid_win(pjsua_vid_win_id wid) -{ - pjsua_vid_win *w = &pjsua_var.win[wid]; - - PJ_LOG(4,(THIS_FILE, "Window %d: destroying..", wid)); - pj_log_push_indent(); - - if (w->vp_cap) { - pjmedia_event_unsubscribe(NULL, &call_media_on_event, NULL, - w->vp_cap); - pjmedia_vid_port_stop(w->vp_cap); - pjmedia_vid_port_disconnect(w->vp_cap); - pjmedia_vid_port_destroy(w->vp_cap); - } - if (w->vp_rend) { - pjmedia_event_unsubscribe(NULL, &call_media_on_event, NULL, - w->vp_rend); - pjmedia_vid_port_stop(w->vp_rend); - pjmedia_vid_port_destroy(w->vp_rend); - } - if (w->tee) { - pjmedia_port_destroy(w->tee); - } - pjsua_vid_win_reset(wid); - - pj_log_pop_indent(); -} - - -static void inc_vid_win(pjsua_vid_win_id wid) -{ - pjsua_vid_win *w; - - pj_assert(wid >= 0 && wid < PJSUA_MAX_VID_WINS); - - w = &pjsua_var.win[wid]; - pj_assert(w->type != PJSUA_WND_TYPE_NONE); - ++w->ref_cnt; -} - -static void dec_vid_win(pjsua_vid_win_id wid) -{ - pjsua_vid_win *w; - - pj_assert(wid >= 0 && wid < PJSUA_MAX_VID_WINS); - - w = &pjsua_var.win[wid]; - pj_assert(w->type != PJSUA_WND_TYPE_NONE); - if (--w->ref_cnt == 0) - free_vid_win(wid); -} - -/* Initialize video call media */ -pj_status_t pjsua_vid_channel_init(pjsua_call_media *call_med) -{ - pjsua_acc *acc = &pjsua_var.acc[call_med->call->acc_id]; - - call_med->strm.v.rdr_dev = acc->cfg.vid_rend_dev; - call_med->strm.v.cap_dev = acc->cfg.vid_cap_dev; - if (call_med->strm.v.rdr_dev == PJMEDIA_VID_DEFAULT_RENDER_DEV) { - pjmedia_vid_dev_info info; - pjmedia_vid_dev_get_info(call_med->strm.v.rdr_dev, &info); - call_med->strm.v.rdr_dev = info.id; - } - if (call_med->strm.v.cap_dev == PJMEDIA_VID_DEFAULT_CAPTURE_DEV) { - pjmedia_vid_dev_info info; - pjmedia_vid_dev_get_info(call_med->strm.v.cap_dev, &info); - call_med->strm.v.cap_dev = info.id; - } - - return PJ_SUCCESS; -} - -/* Internal function: update video channel after SDP negotiation */ -pj_status_t pjsua_vid_channel_update(pjsua_call_media *call_med, - pj_pool_t *tmp_pool, - pjmedia_vid_stream_info *si, - const pjmedia_sdp_session *local_sdp, - const pjmedia_sdp_session *remote_sdp) -{ - pjsua_call *call = call_med->call; - pjsua_acc *acc = &pjsua_var.acc[call->acc_id]; - pjmedia_port *media_port; - pj_status_t status; - - PJ_UNUSED_ARG(tmp_pool); - PJ_UNUSED_ARG(local_sdp); - PJ_UNUSED_ARG(remote_sdp); - - PJ_LOG(4,(THIS_FILE, "Video channel update..")); - pj_log_push_indent(); - - si->rtcp_sdes_bye_disabled = PJ_TRUE; - - /* Check if no media is active */ - if (si->dir != PJMEDIA_DIR_NONE) { - /* Optionally, application may modify other stream settings here - * (such as jitter buffer parameters, codec ptime, etc.) - */ - si->jb_init = pjsua_var.media_cfg.jb_init; - si->jb_min_pre = pjsua_var.media_cfg.jb_min_pre; - si->jb_max_pre = pjsua_var.media_cfg.jb_max_pre; - si->jb_max = pjsua_var.media_cfg.jb_max; - - /* Set SSRC */ - si->ssrc = call_med->ssrc; - - /* Set RTP timestamp & sequence, normally these value are intialized - * automatically when stream session created, but for some cases (e.g: - * call reinvite, call update) timestamp and sequence need to be kept - * contigue. - */ - si->rtp_ts = call_med->rtp_tx_ts; - si->rtp_seq = call_med->rtp_tx_seq; - si->rtp_seq_ts_set = call_med->rtp_tx_seq_ts_set; - - /* Set rate control config from account setting */ - si->rc_cfg = acc->cfg.vid_stream_rc_cfg; - -#if defined(PJMEDIA_STREAM_ENABLE_KA) && PJMEDIA_STREAM_ENABLE_KA!=0 - /* Enable/disable stream keep-alive and NAT hole punch. */ - si->use_ka = pjsua_var.acc[call->acc_id].cfg.use_stream_ka; -#endif - - /* Try to get shared format ID between the capture device and - * the encoder to avoid format conversion in the capture device. - */ - if (si->dir & PJMEDIA_DIR_ENCODING) { - pjmedia_vid_dev_info dev_info; - pjmedia_vid_codec_info *codec_info = &si->codec_info; - unsigned i, j; - - status = pjmedia_vid_dev_get_info(call_med->strm.v.cap_dev, - &dev_info); - if (status != PJ_SUCCESS) - goto on_error; - - /* Find matched format ID */ - for (i = 0; i < codec_info->dec_fmt_id_cnt; ++i) { - for (j = 0; j < dev_info.fmt_cnt; ++j) { - if (codec_info->dec_fmt_id[i] == - (pjmedia_format_id)dev_info.fmt[j].id) - { - /* Apply the matched format ID to the codec */ - si->codec_param->dec_fmt.id = - codec_info->dec_fmt_id[i]; - - /* Force outer loop to break */ - i = codec_info->dec_fmt_id_cnt; - break; - } - } - } - } - - /* Create session based on session info. */ - status = pjmedia_vid_stream_create(pjsua_var.med_endpt, NULL, si, - call_med->tp, NULL, - &call_med->strm.v.stream); - if (status != PJ_SUCCESS) - goto on_error; - - /* Start stream */ - status = pjmedia_vid_stream_start(call_med->strm.v.stream); - if (status != PJ_SUCCESS) - goto on_error; - - /* Setup decoding direction */ - if (si->dir & PJMEDIA_DIR_DECODING) - { - pjsua_vid_win_id wid; - pjsua_vid_win *w; - - PJ_LOG(4,(THIS_FILE, "Setting up RX..")); - pj_log_push_indent(); - - status = pjmedia_vid_stream_get_port(call_med->strm.v.stream, - PJMEDIA_DIR_DECODING, - &media_port); - if (status != PJ_SUCCESS) { - pj_log_pop_indent(); - goto on_error; - } - - /* Create stream video window */ - status = create_vid_win(PJSUA_WND_TYPE_STREAM, - &media_port->info.fmt, - call_med->strm.v.rdr_dev, - //acc->cfg.vid_rend_dev, - PJSUA_INVALID_ID, - acc->cfg.vid_in_auto_show, - acc->cfg.vid_wnd_flags, - &wid); - if (status != PJ_SUCCESS) { - pj_log_pop_indent(); - goto on_error; - } - - w = &pjsua_var.win[wid]; - -#if ENABLE_EVENT - /* Register to video events */ - pjmedia_event_subscribe(NULL, &call_media_on_event, - call_med, w->vp_rend); -#endif - - /* Connect renderer to stream */ - status = pjmedia_vid_port_connect(w->vp_rend, media_port, - PJ_FALSE); - if (status != PJ_SUCCESS) { - pj_log_pop_indent(); - goto on_error; - } - - /* Start renderer */ - status = pjmedia_vid_port_start(w->vp_rend); - if (status != PJ_SUCCESS) { - pj_log_pop_indent(); - goto on_error; - } - - /* Done */ - inc_vid_win(wid); - call_med->strm.v.rdr_win_id = wid; - pj_log_pop_indent(); - } - - /* Setup encoding direction */ - if (si->dir & PJMEDIA_DIR_ENCODING && !call->local_hold) - { - pjsua_acc *acc = &pjsua_var.acc[call_med->call->acc_id]; - pjsua_vid_win *w; - pjsua_vid_win_id wid; - pj_bool_t just_created = PJ_FALSE; - - PJ_LOG(4,(THIS_FILE, "Setting up TX..")); - pj_log_push_indent(); - - status = pjmedia_vid_stream_get_port(call_med->strm.v.stream, - PJMEDIA_DIR_ENCODING, - &media_port); - if (status != PJ_SUCCESS) { - pj_log_pop_indent(); - goto on_error; - } - - /* Note: calling pjsua_vid_preview_get_win() even though - * create_vid_win() will automatically create the window - * if it doesn't exist, because create_vid_win() will modify - * existing window SHOW/HIDE value. - */ - wid = vid_preview_get_win(call_med->strm.v.cap_dev, PJ_FALSE); - if (wid == PJSUA_INVALID_ID) { - /* Create preview video window */ - status = create_vid_win(PJSUA_WND_TYPE_PREVIEW, - &media_port->info.fmt, - call_med->strm.v.rdr_dev, - call_med->strm.v.cap_dev, - //acc->cfg.vid_rend_dev, - //acc->cfg.vid_cap_dev, - PJSUA_HIDE_WINDOW, - acc->cfg.vid_wnd_flags, - &wid); - if (status != PJ_SUCCESS) { - pj_log_pop_indent(); - return status; - } - just_created = PJ_TRUE; - } - - w = &pjsua_var.win[wid]; -#if ENABLE_EVENT - pjmedia_event_subscribe(NULL, &call_media_on_event, - call_med, w->vp_cap); -#endif - - /* Connect stream to capturer (via video window tee) */ - status = pjmedia_vid_tee_add_dst_port2(w->tee, 0, media_port); - if (status != PJ_SUCCESS) { - pj_log_pop_indent(); - goto on_error; - } - - /* Start capturer */ - if (just_created) { - status = pjmedia_vid_port_start(w->vp_cap); - if (status != PJ_SUCCESS) { - pj_log_pop_indent(); - goto on_error; - } - } - - /* Done */ - inc_vid_win(wid); - call_med->strm.v.cap_win_id = wid; - pj_log_pop_indent(); - } - - } - - if (!acc->cfg.vid_out_auto_transmit && call_med->strm.v.stream) { - status = pjmedia_vid_stream_pause(call_med->strm.v.stream, - PJMEDIA_DIR_ENCODING); - if (status != PJ_SUCCESS) - goto on_error; - } - - pj_log_pop_indent(); - return PJ_SUCCESS; - -on_error: - pj_log_pop_indent(); - return status; -} - - -/* Internal function to stop video stream */ -void pjsua_vid_stop_stream(pjsua_call_media *call_med) -{ - pjmedia_vid_stream *strm = call_med->strm.v.stream; - pjmedia_rtcp_stat stat; - - pj_assert(call_med->type == PJMEDIA_TYPE_VIDEO); - - if (!strm) - return; - - PJ_LOG(4,(THIS_FILE, "Stopping video stream..")); - pj_log_push_indent(); - - if (call_med->strm.v.cap_win_id != PJSUA_INVALID_ID) { - pjmedia_port *media_port; - pjsua_vid_win *w = &pjsua_var.win[call_med->strm.v.cap_win_id]; - pj_status_t status; - - /* Stop the capture before detaching stream and unsubscribing event */ - pjmedia_vid_port_stop(w->vp_cap); - - /* Disconnect video stream from capture device */ - status = pjmedia_vid_stream_get_port(call_med->strm.v.stream, - PJMEDIA_DIR_ENCODING, - &media_port); - if (status == PJ_SUCCESS) { - pjmedia_vid_tee_remove_dst_port(w->tee, media_port); - } - - /* Unsubscribe event */ - pjmedia_event_unsubscribe(NULL, &call_media_on_event, call_med, - w->vp_cap); - - /* Re-start capture again, if it is used by other stream */ - if (w->ref_cnt > 1) - pjmedia_vid_port_start(w->vp_cap); - - dec_vid_win(call_med->strm.v.cap_win_id); - call_med->strm.v.cap_win_id = PJSUA_INVALID_ID; - } - - if (call_med->strm.v.rdr_win_id != PJSUA_INVALID_ID) { - pjsua_vid_win *w = &pjsua_var.win[call_med->strm.v.rdr_win_id]; - - /* Stop the render before unsubscribing event */ - pjmedia_vid_port_stop(w->vp_rend); - pjmedia_event_unsubscribe(NULL, &call_media_on_event, call_med, - w->vp_rend); - - dec_vid_win(call_med->strm.v.rdr_win_id); - call_med->strm.v.rdr_win_id = PJSUA_INVALID_ID; - } - - if ((call_med->dir & PJMEDIA_DIR_ENCODING) && - (pjmedia_vid_stream_get_stat(strm, &stat) == PJ_SUCCESS)) - { - /* Save RTP timestamp & sequence, so when media session is - * restarted, those values will be restored as the initial - * RTP timestamp & sequence of the new media session. So in - * the same call session, RTP timestamp and sequence are - * guaranteed to be contigue. - */ - call_med->rtp_tx_seq_ts_set = 1 | (1 << 1); - call_med->rtp_tx_seq = stat.rtp_tx_last_seq; - call_med->rtp_tx_ts = stat.rtp_tx_last_ts; - } - - pjmedia_vid_stream_destroy(strm); - call_med->strm.v.stream = NULL; - - pj_log_pop_indent(); -} - -/* - * Does it have built-in preview support. - */ -PJ_DEF(pj_bool_t) pjsua_vid_preview_has_native(pjmedia_vid_dev_index id) -{ - pjmedia_vid_dev_info vdi; - - return (pjmedia_vid_dev_get_info(id, &vdi)==PJ_SUCCESS) ? - ((vdi.caps & PJMEDIA_VID_DEV_CAP_INPUT_PREVIEW)!=0) : PJ_FALSE; -} - -/* - * Start video preview window for the specified capture device. - */ -PJ_DEF(pj_status_t) pjsua_vid_preview_start(pjmedia_vid_dev_index id, - const pjsua_vid_preview_param *prm) -{ - pjsua_vid_win_id wid; - pjsua_vid_win *w; - pjmedia_vid_dev_index rend_id; - pjsua_vid_preview_param default_param; - pj_status_t status; - - if (!prm) { - pjsua_vid_preview_param_default(&default_param); - prm = &default_param; - } - - PJ_LOG(4,(THIS_FILE, "Starting preview for cap_dev=%d, show=%d", - id, prm->show)); - pj_log_push_indent(); - - PJSUA_LOCK(); - - rend_id = prm->rend_id; - - status = create_vid_win(PJSUA_WND_TYPE_PREVIEW, NULL, rend_id, id, - prm->show, prm->wnd_flags, &wid); - if (status != PJ_SUCCESS) { - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return status; - } - - w = &pjsua_var.win[wid]; - if (w->preview_running) { - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return PJ_SUCCESS; - } - - /* Start renderer, unless it's native preview */ - if (w->is_native && !pjmedia_vid_port_is_running(w->vp_cap)) { - pjmedia_vid_dev_stream *cap_dev; - pj_bool_t enabled = PJ_TRUE; - - cap_dev = pjmedia_vid_port_get_stream(w->vp_cap); - status = pjmedia_vid_dev_stream_set_cap( - cap_dev, PJMEDIA_VID_DEV_CAP_INPUT_PREVIEW, - &enabled); - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, - "Error activating native preview, falling back " - "to software preview..")); - w->is_native = PJ_FALSE; - } - } - - if (!w->is_native && !pjmedia_vid_port_is_running(w->vp_rend)) { - status = pjmedia_vid_port_start(w->vp_rend); - if (status != PJ_SUCCESS) { - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return status; - } - } - - /* Start capturer */ - if (!pjmedia_vid_port_is_running(w->vp_cap)) { - status = pjmedia_vid_port_start(w->vp_cap); - if (status != PJ_SUCCESS) { - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return status; - } - } - - inc_vid_win(wid); - w->preview_running = PJ_TRUE; - - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return PJ_SUCCESS; -} - -/* - * Stop video preview. - */ -PJ_DEF(pj_status_t) pjsua_vid_preview_stop(pjmedia_vid_dev_index id) -{ - pjsua_vid_win_id wid = PJSUA_INVALID_ID; - pjsua_vid_win *w; - pj_status_t status; - - PJSUA_LOCK(); - wid = pjsua_vid_preview_get_win(id); - if (wid == PJSUA_INVALID_ID) { - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return PJ_ENOTFOUND; - } - - PJ_LOG(4,(THIS_FILE, "Stopping preview for cap_dev=%d", id)); - pj_log_push_indent(); - - w = &pjsua_var.win[wid]; - if (w->preview_running) { - if (w->is_native) { - pjmedia_vid_dev_stream *cap_dev; - pj_bool_t enabled = PJ_FALSE; - - cap_dev = pjmedia_vid_port_get_stream(w->vp_cap); - status = pjmedia_vid_dev_stream_set_cap( - cap_dev, PJMEDIA_VID_DEV_CAP_INPUT_PREVIEW, - &enabled); - } else { - status = pjmedia_vid_port_stop(w->vp_rend); - } - - if (status != PJ_SUCCESS) { - PJ_PERROR(1,(THIS_FILE, status, "Error stopping %spreview", - (w->is_native ? "native " : ""))); - PJSUA_UNLOCK(); - pj_log_pop_indent(); - return status; - } - - dec_vid_win(wid); - w->preview_running = PJ_FALSE; - } - - PJSUA_UNLOCK(); - pj_log_pop_indent(); - - return PJ_SUCCESS; -} - - -/***************************************************************************** - * Window - */ - - -/* - * Enumerates all video windows. - */ -PJ_DEF(pj_status_t) pjsua_vid_enum_wins( pjsua_vid_win_id wids[], - unsigned *count) -{ - unsigned i, cnt; - - cnt = 0; - - for (i=0; itype != PJSUA_WND_TYPE_NONE) - wids[cnt++] = i; - } - - *count = cnt; - - return PJ_SUCCESS; -} - - -/* - * Get window info. - */ -PJ_DEF(pj_status_t) pjsua_vid_win_get_info( pjsua_vid_win_id wid, - pjsua_vid_win_info *wi) -{ - pjsua_vid_win *w; - pjmedia_vid_dev_stream *s; - pjmedia_vid_dev_param vparam; - pj_status_t status; - - PJ_ASSERT_RETURN(wid >= 0 && wid < PJSUA_MAX_VID_WINS && wi, PJ_EINVAL); - - pj_bzero(wi, sizeof(*wi)); - - PJSUA_LOCK(); - w = &pjsua_var.win[wid]; - - wi->is_native = w->is_native; - - if (w->is_native) { - pjmedia_vid_dev_stream *cap_strm; - pjmedia_vid_dev_cap cap = PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW; - - cap_strm = pjmedia_vid_port_get_stream(w->vp_cap); - if (!cap_strm) { - status = PJ_EINVAL; - } else { - status = pjmedia_vid_dev_stream_get_cap(cap_strm, cap, &wi->hwnd); - } - - PJSUA_UNLOCK(); - return status; - } - - if (w->vp_rend == NULL) { - PJSUA_UNLOCK(); - return PJ_EINVAL; - } - - s = pjmedia_vid_port_get_stream(w->vp_rend); - if (s == NULL) { - PJSUA_UNLOCK(); - return PJ_EINVAL; - } - - status = pjmedia_vid_dev_stream_get_param(s, &vparam); - if (status != PJ_SUCCESS) { - PJSUA_UNLOCK(); - return status; - } - - wi->rdr_dev = vparam.rend_id; - wi->hwnd = vparam.window; - wi->show = !vparam.window_hide; - wi->pos = vparam.window_pos; - wi->size = vparam.disp_size; - - PJSUA_UNLOCK(); - - return PJ_SUCCESS; -} - -/* - * Show or hide window. - */ -PJ_DEF(pj_status_t) pjsua_vid_win_set_show( pjsua_vid_win_id wid, - pj_bool_t show) -{ - pjsua_vid_win *w; - pjmedia_vid_dev_stream *s; - pj_bool_t hide; - pj_status_t status; - - PJ_ASSERT_RETURN(wid >= 0 && wid < PJSUA_MAX_VID_WINS, PJ_EINVAL); - - PJSUA_LOCK(); - w = &pjsua_var.win[wid]; - if (w->vp_rend == NULL) { - /* Native window */ - PJSUA_UNLOCK(); - return PJ_EINVAL; - } - - s = pjmedia_vid_port_get_stream(w->vp_rend); - if (s == NULL) { - PJSUA_UNLOCK(); - return PJ_EINVAL; - } - - /* Make sure that renderer gets started before shown up */ - if (show && !pjmedia_vid_port_is_running(w->vp_rend)) - status = pjmedia_vid_port_start(w->vp_rend); - - hide = !show; - status = pjmedia_vid_dev_stream_set_cap(s, - PJMEDIA_VID_DEV_CAP_OUTPUT_HIDE, &hide); - - PJSUA_UNLOCK(); - - return status; -} - -/* - * Set video window position. - */ -PJ_DEF(pj_status_t) pjsua_vid_win_set_pos( pjsua_vid_win_id wid, - const pjmedia_coord *pos) -{ - pjsua_vid_win *w; - pjmedia_vid_dev_stream *s; - pj_status_t status; - - PJ_ASSERT_RETURN(wid >= 0 && wid < PJSUA_MAX_VID_WINS && pos, PJ_EINVAL); - - PJSUA_LOCK(); - w = &pjsua_var.win[wid]; - if (w->vp_rend == NULL) { - /* Native window */ - PJSUA_UNLOCK(); - return PJ_EINVAL; - } - - s = pjmedia_vid_port_get_stream(w->vp_rend); - if (s == NULL) { - PJSUA_UNLOCK(); - return PJ_EINVAL; - } - - status = pjmedia_vid_dev_stream_set_cap(s, - PJMEDIA_VID_DEV_CAP_OUTPUT_POSITION, pos); - - PJSUA_UNLOCK(); - - return status; -} - -/* - * Resize window. - */ -PJ_DEF(pj_status_t) pjsua_vid_win_set_size( pjsua_vid_win_id wid, - const pjmedia_rect_size *size) -{ - pjsua_vid_win *w; - pjmedia_vid_dev_stream *s; - pj_status_t status; - - PJ_ASSERT_RETURN(wid >= 0 && wid < PJSUA_MAX_VID_WINS && size, PJ_EINVAL); - - PJSUA_LOCK(); - w = &pjsua_var.win[wid]; - if (w->vp_rend == NULL) { - /* Native window */ - PJSUA_UNLOCK(); - return PJ_EINVAL; - } - - s = pjmedia_vid_port_get_stream(w->vp_rend); - if (s == NULL) { - PJSUA_UNLOCK(); - return PJ_EINVAL; - } - - status = pjmedia_vid_dev_stream_set_cap(s, - PJMEDIA_VID_DEV_CAP_OUTPUT_RESIZE, size); - - PJSUA_UNLOCK(); - - return status; -} - -/* - * Set video orientation. - */ -PJ_DEF(pj_status_t) pjsua_vid_win_rotate( pjsua_vid_win_id wid, - int angle) -{ - pjsua_vid_win *w; - pjmedia_vid_dev_stream *s; - pjmedia_orient orient; - pj_status_t status; - - PJ_ASSERT_RETURN(wid >= 0 && wid < PJSUA_MAX_VID_WINS, PJ_EINVAL); - PJ_ASSERT_RETURN((angle % 90) == 0, PJ_EINVAL); - - /* Normalize angle, so it must be 0, 90, 180, or 270. */ - angle %= 360; - if (angle < 0) - angle += 360; - - /* Convert angle to pjmedia_orient */ - switch(angle) { - case 0: - /* No rotation */ - return PJ_SUCCESS; - case 90: - orient = PJMEDIA_ORIENT_ROTATE_90DEG; - break; - case 180: - orient = PJMEDIA_ORIENT_ROTATE_180DEG; - break; - case 270: - orient = PJMEDIA_ORIENT_ROTATE_270DEG; - break; - default: - pj_assert(!"Angle must have been validated"); - return PJ_EBUG; - } - - PJSUA_LOCK(); - w = &pjsua_var.win[wid]; - if (w->vp_rend == NULL) { - /* Native window */ - PJSUA_UNLOCK(); - return PJ_EINVAL; - } - - s = pjmedia_vid_port_get_stream(w->vp_rend); - if (s == NULL) { - PJSUA_UNLOCK(); - return PJ_EINVAL; - } - - status = pjmedia_vid_dev_stream_set_cap(s, - PJMEDIA_VID_DEV_CAP_ORIENTATION, &orient); - - PJSUA_UNLOCK(); - - return status; -} - - -static void call_get_vid_strm_info(pjsua_call *call, - int *first_active, - int *first_inactive, - unsigned *active_cnt, - unsigned *cnt) -{ - unsigned i, var_cnt = 0; - - if (first_active && ++var_cnt) - *first_active = -1; - if (first_inactive && ++var_cnt) - *first_inactive = -1; - if (active_cnt && ++var_cnt) - *active_cnt = 0; - if (cnt && ++var_cnt) - *cnt = 0; - - for (i = 0; i < call->med_cnt && var_cnt; ++i) { - if (call->media[i].type == PJMEDIA_TYPE_VIDEO) { - if (call->media[i].dir != PJMEDIA_DIR_NONE) - { - if (first_active && *first_active == -1) { - *first_active = i; - --var_cnt; - } - if (active_cnt) - ++(*active_cnt); - } else if (first_inactive && *first_inactive == -1) { - *first_inactive = i; - --var_cnt; - } - if (cnt) - ++(*cnt); - } - } -} - - -/* Send SDP reoffer. */ -static pj_status_t call_reoffer_sdp(pjsua_call_id call_id, - const pjmedia_sdp_session *sdp) -{ - pjsua_call *call; - pjsip_tx_data *tdata; - pjsip_dialog *dlg; - pj_status_t status; - - status = acquire_call("call_reoffer_sdp()", call_id, &call, &dlg); - if (status != PJ_SUCCESS) - return status; - - if (call->inv->state != PJSIP_INV_STATE_CONFIRMED) { - PJ_LOG(3,(THIS_FILE, "Can not re-INVITE call that is not confirmed")); - pjsip_dlg_dec_lock(dlg); - return PJSIP_ESESSIONSTATE; - } - - /* Create re-INVITE with new offer */ - status = pjsip_inv_reinvite( call->inv, NULL, sdp, &tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to create re-INVITE", status); - pjsip_dlg_dec_lock(dlg); - return status; - } - - /* Send the request */ - status = pjsip_inv_send_msg( call->inv, tdata); - if (status != PJ_SUCCESS) { - pjsua_perror(THIS_FILE, "Unable to send re-INVITE", status); - pjsip_dlg_dec_lock(dlg); - return status; - } - - pjsip_dlg_dec_lock(dlg); - - return PJ_SUCCESS; -} - -/* Add a new video stream into a call */ -static pj_status_t call_add_video(pjsua_call *call, - pjmedia_vid_dev_index cap_dev, - pjmedia_dir dir) -{ - pj_pool_t *pool = call->inv->pool_prov; - pjsua_acc_config *acc_cfg = &pjsua_var.acc[call->acc_id].cfg; - pjsua_call_media *call_med; - const pjmedia_sdp_session *current_sdp; - pjmedia_sdp_session *sdp; - pjmedia_sdp_media *sdp_m; - pjmedia_transport_info tpinfo; - pj_status_t status; - - /* Verify media slot availability */ - if (call->med_cnt == PJSUA_MAX_CALL_MEDIA) - return PJ_ETOOMANY; - - /* Get active local SDP and clone it */ - status = pjmedia_sdp_neg_get_active_local(call->inv->neg, ¤t_sdp); - if (status != PJ_SUCCESS) - return status; - - sdp = pjmedia_sdp_session_clone(call->inv->pool_prov, current_sdp); - - /* Clean up provisional media before using it */ - pjsua_media_prov_clean_up(call->index); - - /* Update provisional media from call media */ - call->med_prov_cnt = call->med_cnt; - pj_memcpy(call->media_prov, call->media, - sizeof(call->media[0]) * call->med_cnt); - - /* Initialize call media */ - call_med = &call->media_prov[call->med_prov_cnt++]; - status = pjsua_call_media_init(call_med, PJMEDIA_TYPE_VIDEO, - &acc_cfg->rtp_cfg, call->secure_level, - NULL, PJ_FALSE, NULL); - if (status != PJ_SUCCESS) - goto on_error; - - /* Override default capture device setting */ - call_med->strm.v.cap_dev = cap_dev; - - /* Init transport media */ - status = pjmedia_transport_media_create(call_med->tp, pool, 0, - NULL, call_med->idx); - if (status != PJ_SUCCESS) - goto on_error; - - pjsua_set_media_tp_state(call_med, PJSUA_MED_TP_INIT); - - /* Get transport address info */ - pjmedia_transport_info_init(&tpinfo); - pjmedia_transport_get_info(call_med->tp, &tpinfo); - - /* Create SDP media line */ - status = pjmedia_endpt_create_video_sdp(pjsua_var.med_endpt, pool, - &tpinfo.sock_info, 0, &sdp_m); - if (status != PJ_SUCCESS) - goto on_error; - - sdp->media[sdp->media_count++] = sdp_m; - - /* Update media direction, if it is not 'sendrecv' */ - if (dir != PJMEDIA_DIR_ENCODING_DECODING) { - pjmedia_sdp_attr *a; - - /* Remove sendrecv direction attribute, if any */ - pjmedia_sdp_media_remove_all_attr(sdp_m, "sendrecv"); - - if (dir == PJMEDIA_DIR_ENCODING) - a = pjmedia_sdp_attr_create(pool, "sendonly", NULL); - else if (dir == PJMEDIA_DIR_DECODING) - a = pjmedia_sdp_attr_create(pool, "recvonly", NULL); - else - a = pjmedia_sdp_attr_create(pool, "inactive", NULL); - - pjmedia_sdp_media_add_attr(sdp_m, a); - } - - /* Update SDP media line by media transport */ - status = pjmedia_transport_encode_sdp(call_med->tp, pool, - sdp, NULL, call_med->idx); - if (status != PJ_SUCCESS) - goto on_error; - - status = call_reoffer_sdp(call->index, sdp); - if (status != PJ_SUCCESS) - goto on_error; - - call->opt.vid_cnt++; - - return PJ_SUCCESS; - -on_error: - if (call_med->tp) { - pjsua_set_media_tp_state(call_med, PJSUA_MED_TP_NULL); - pjmedia_transport_close(call_med->tp); - call_med->tp = call_med->tp_orig = NULL; - } - - return status; -} - - -/* Modify a video stream from a call, i.e: update direction, - * remove/disable. - */ -static pj_status_t call_modify_video(pjsua_call *call, - int med_idx, - pjmedia_dir dir, - pj_bool_t remove) -{ - pjsua_call_media *call_med; - const pjmedia_sdp_session *current_sdp; - pjmedia_sdp_session *sdp; - pj_status_t status; - - /* Verify and normalize media index */ - if (med_idx == -1) { - int first_active; - - call_get_vid_strm_info(call, &first_active, NULL, NULL, NULL); - if (first_active == -1) - return PJ_ENOTFOUND; - - med_idx = first_active; - } - - /* Clean up provisional media before using it */ - pjsua_media_prov_clean_up(call->index); - - /* Update provisional media from call media */ - call->med_prov_cnt = call->med_cnt; - pj_memcpy(call->media_prov, call->media, - sizeof(call->media[0]) * call->med_cnt); - - call_med = &call->media_prov[med_idx]; - - /* Verify if the stream media type is video */ - if (call_med->type != PJMEDIA_TYPE_VIDEO) - return PJ_EINVAL; - - /* Verify if the stream dir is not changed */ - if ((!remove && call_med->dir == dir) || - ( remove && (call_med->tp_st == PJSUA_MED_TP_DISABLED || - call_med->tp == NULL))) - { - return PJ_SUCCESS; - } - - /* Get active local SDP and clone it */ - status = pjmedia_sdp_neg_get_active_local(call->inv->neg, ¤t_sdp); - if (status != PJ_SUCCESS) - return status; - - sdp = pjmedia_sdp_session_clone(call->inv->pool_prov, current_sdp); - - pj_assert(med_idx < (int)sdp->media_count); - - if (!remove) { - pjsua_acc_config *acc_cfg = &pjsua_var.acc[call->acc_id].cfg; - pj_pool_t *pool = call->inv->pool_prov; - pjmedia_sdp_media *sdp_m; - - /* Enabling video */ - if (call_med->dir == PJMEDIA_DIR_NONE) { - unsigned i, vid_cnt = 0; - - /* Check if vid_cnt in call option needs to be increased */ - for (i = 0; i < call->med_cnt; ++i) { - if (call->media[i].type == PJMEDIA_TYPE_VIDEO && - call->media[i].dir != PJMEDIA_DIR_NONE) - { - ++vid_cnt; - } - } - if (call->opt.vid_cnt <= vid_cnt) - call->opt.vid_cnt++; - } - - status = pjsua_call_media_init(call_med, PJMEDIA_TYPE_VIDEO, - &acc_cfg->rtp_cfg, call->secure_level, - NULL, PJ_FALSE, NULL); - if (status != PJ_SUCCESS) - goto on_error; - - /* Init transport media */ - if (call_med->tp && call_med->tp_st == PJSUA_MED_TP_IDLE) { - status = pjmedia_transport_media_create(call_med->tp, pool, 0, - NULL, call_med->idx); - if (status != PJ_SUCCESS) - goto on_error; - } - - sdp_m = sdp->media[med_idx]; - - /* Create new SDP media line if the stream is disabled */ - if (sdp->media[med_idx]->desc.port == 0) { - pjmedia_transport_info tpinfo; - - /* Get transport address info */ - pjmedia_transport_info_init(&tpinfo); - pjmedia_transport_get_info(call_med->tp, &tpinfo); - - status = pjmedia_endpt_create_video_sdp(pjsua_var.med_endpt, pool, - &tpinfo.sock_info, 0, &sdp_m); - if (status != PJ_SUCCESS) - goto on_error; - } - - { - pjmedia_sdp_attr *a; - - /* Remove any direction attributes */ - pjmedia_sdp_media_remove_all_attr(sdp_m, "sendrecv"); - pjmedia_sdp_media_remove_all_attr(sdp_m, "sendonly"); - pjmedia_sdp_media_remove_all_attr(sdp_m, "recvonly"); - pjmedia_sdp_media_remove_all_attr(sdp_m, "inactive"); - - /* Update media direction */ - if (dir == PJMEDIA_DIR_ENCODING_DECODING) - a = pjmedia_sdp_attr_create(pool, "sendrecv", NULL); - else if (dir == PJMEDIA_DIR_ENCODING) - a = pjmedia_sdp_attr_create(pool, "sendonly", NULL); - else if (dir == PJMEDIA_DIR_DECODING) - a = pjmedia_sdp_attr_create(pool, "recvonly", NULL); - else - a = pjmedia_sdp_attr_create(pool, "inactive", NULL); - - pjmedia_sdp_media_add_attr(sdp_m, a); - } - - sdp->media[med_idx] = sdp_m; - - /* Update SDP media line by media transport */ - status = pjmedia_transport_encode_sdp(call_med->tp, pool, - sdp, NULL, call_med->idx); - if (status != PJ_SUCCESS) - goto on_error; - -on_error: - if (status != PJ_SUCCESS) { - pjsua_media_prov_clean_up(call->index); - return status; - } - - } else { - - pj_pool_t *pool = call->inv->pool_prov; - - /* Mark media transport to disabled */ - // Don't close this here, as SDP negotiation has not been - // done and stream may be still active. - pjsua_set_media_tp_state(call_med, PJSUA_MED_TP_DISABLED); - - /* Deactivate the stream */ - pjmedia_sdp_media_deactivate(pool, sdp->media[med_idx]); - - call->opt.vid_cnt--; - } - - status = call_reoffer_sdp(call->index, sdp); - if (status != PJ_SUCCESS) - return status; - - return PJ_SUCCESS; -} - - -/* Change capture device of a video stream in a call */ -static pj_status_t call_change_cap_dev(pjsua_call *call, - int med_idx, - pjmedia_vid_dev_index cap_dev) -{ - pjsua_call_media *call_med; - pjmedia_vid_dev_stream *old_dev; - pjmedia_vid_dev_switch_param switch_prm; - pjmedia_vid_dev_info info; - pjsua_vid_win *w, *new_w = NULL; - pjsua_vid_win_id wid, new_wid; - pjmedia_port *media_port; - pj_status_t status; - - /* Verify and normalize media index */ - if (med_idx == -1) { - int first_active; - - call_get_vid_strm_info(call, &first_active, NULL, NULL, NULL); - if (first_active == -1) - return PJ_ENOTFOUND; - - med_idx = first_active; - } - - call_med = &call->media[med_idx]; - - /* Verify if the stream media type is video */ - if (call_med->type != PJMEDIA_TYPE_VIDEO) - return PJ_EINVAL; - - /* Verify the capture device */ - status = pjmedia_vid_dev_get_info(cap_dev, &info); - if (status != PJ_SUCCESS || info.dir != PJMEDIA_DIR_CAPTURE) - return PJ_EINVAL; - - /* The specified capture device is being used already */ - if (call_med->strm.v.cap_dev == cap_dev) - return PJ_SUCCESS; - - /* == Apply the new capture device == */ - - wid = call_med->strm.v.cap_win_id; - w = &pjsua_var.win[wid]; - pj_assert(w->type == PJSUA_WND_TYPE_PREVIEW && w->vp_cap); - - /* If the old device supports fast switching, then that's excellent! */ - old_dev = pjmedia_vid_port_get_stream(w->vp_cap); - pjmedia_vid_dev_switch_param_default(&switch_prm); - switch_prm.target_id = cap_dev; - status = pjmedia_vid_dev_stream_set_cap(old_dev, - PJMEDIA_VID_DEV_CAP_SWITCH, - &switch_prm); - if (status == PJ_SUCCESS) { - w->preview_cap_id = cap_dev; - call_med->strm.v.cap_dev = cap_dev; - return PJ_SUCCESS; - } - - /* No it doesn't support fast switching. Do slow switching then.. */ - status = pjmedia_vid_stream_get_port(call_med->strm.v.stream, - PJMEDIA_DIR_ENCODING, &media_port); - if (status != PJ_SUCCESS) - return status; - - pjmedia_event_unsubscribe(NULL, &call_media_on_event, call_med, - w->vp_cap); - - /* temporarily disconnect while we operate on the tee. */ - pjmedia_vid_port_disconnect(w->vp_cap); - - /* = Detach stream port from the old capture device's tee = */ - status = pjmedia_vid_tee_remove_dst_port(w->tee, media_port); - if (status != PJ_SUCCESS) { - /* Something wrong, assume that media_port has been removed - * and continue. - */ - PJ_PERROR(4,(THIS_FILE, status, - "Warning: call %d: unable to remove video from tee", - call->index)); - } - - /* Reconnect again immediately. We're done with w->tee */ - pjmedia_vid_port_connect(w->vp_cap, w->tee, PJ_FALSE); - - /* = Attach stream port to the new capture device = */ - - /* Note: calling pjsua_vid_preview_get_win() even though - * create_vid_win() will automatically create the window - * if it doesn't exist, because create_vid_win() will modify - * existing window SHOW/HIDE value. - */ - new_wid = vid_preview_get_win(cap_dev, PJ_FALSE); - if (new_wid == PJSUA_INVALID_ID) { - pjsua_acc *acc = &pjsua_var.acc[call_med->call->acc_id]; - - /* Create preview video window */ - status = create_vid_win(PJSUA_WND_TYPE_PREVIEW, - &media_port->info.fmt, - call_med->strm.v.rdr_dev, - cap_dev, - PJSUA_HIDE_WINDOW, - acc->cfg.vid_wnd_flags, - &new_wid); - if (status != PJ_SUCCESS) - goto on_error; - } - - inc_vid_win(new_wid); - new_w = &pjsua_var.win[new_wid]; - - /* Connect stream to capturer (via video window tee) */ - status = pjmedia_vid_tee_add_dst_port2(new_w->tee, 0, media_port); - if (status != PJ_SUCCESS) - goto on_error; - - if (w->vp_rend) { - /* Start renderer */ - status = pjmedia_vid_port_start(new_w->vp_rend); - if (status != PJ_SUCCESS) - goto on_error; - } - -#if ENABLE_EVENT - pjmedia_event_subscribe(NULL, &call_media_on_event, - call_med, new_w->vp_cap); -#endif - - /* Start capturer */ - if (!pjmedia_vid_port_is_running(new_w->vp_cap)) { - status = pjmedia_vid_port_start(new_w->vp_cap); - if (status != PJ_SUCCESS) - goto on_error; - } - - /* Finally */ - call_med->strm.v.cap_dev = cap_dev; - call_med->strm.v.cap_win_id = new_wid; - dec_vid_win(wid); - - return PJ_SUCCESS; - -on_error: - PJ_PERROR(4,(THIS_FILE, status, - "Call %d: error changing capture device to %d", - call->index, cap_dev)); - - if (new_w) { - /* Unsubscribe, just in case */ - pjmedia_event_unsubscribe(NULL, &call_media_on_event, call_med, - new_w->vp_cap); - /* Disconnect media port from the new capturer */ - pjmedia_vid_tee_remove_dst_port(new_w->tee, media_port); - /* Release the new capturer */ - dec_vid_win(new_wid); - } - - /* Revert back to the old capturer */ - pjmedia_vid_port_disconnect(w->vp_cap); - status = pjmedia_vid_tee_add_dst_port2(w->tee, 0, media_port); - pjmedia_vid_port_connect(w->vp_cap, w->tee, PJ_FALSE); - if (status != PJ_SUCCESS) - return status; - -#if ENABLE_EVENT - /* Resubscribe */ - pjmedia_event_subscribe(NULL, &call_media_on_event, - call_med, w->vp_cap); -#endif - - return status; -} - - -/* Start/stop transmitting video stream in a call */ -static pj_status_t call_set_tx_video(pjsua_call *call, - int med_idx, - pj_bool_t enable) -{ - pjsua_call_media *call_med; - pj_status_t status; - - /* Verify and normalize media index */ - if (med_idx == -1) { - int first_active; - - call_get_vid_strm_info(call, &first_active, NULL, NULL, NULL); - if (first_active == -1) - return PJ_ENOTFOUND; - - med_idx = first_active; - } - - call_med = &call->media[med_idx]; - - /* Verify if the stream is transmitting video */ - if (call_med->type != PJMEDIA_TYPE_VIDEO || - (enable && (call_med->dir & PJMEDIA_DIR_ENCODING) == 0)) - { - return PJ_EINVAL; - } - - if (enable) { - /* Start stream in encoding direction */ - status = pjmedia_vid_stream_resume(call_med->strm.v.stream, - PJMEDIA_DIR_ENCODING); - } else { - /* Pause stream in encoding direction */ - status = pjmedia_vid_stream_pause( call_med->strm.v.stream, - PJMEDIA_DIR_ENCODING); - } - - return status; -} - - -static pj_status_t call_send_vid_keyframe(pjsua_call *call, - int med_idx) -{ - pjsua_call_media *call_med; - - /* Verify and normalize media index */ - if (med_idx == -1) { - int first_active; - - call_get_vid_strm_info(call, &first_active, NULL, NULL, NULL); - if (first_active == -1) - return PJ_ENOTFOUND; - - med_idx = first_active; - } - - call_med = &call->media[med_idx]; - - /* Verify media type and stream instance. */ - if (call_med->type != PJMEDIA_TYPE_VIDEO || !call_med->strm.v.stream) - return PJ_EINVAL; - - return pjmedia_vid_stream_send_keyframe(call_med->strm.v.stream); -} - - -/* - * Start, stop, and/or manipulate video transmission for the specified call. - */ -PJ_DEF(pj_status_t) pjsua_call_set_vid_strm ( - pjsua_call_id call_id, - pjsua_call_vid_strm_op op, - const pjsua_call_vid_strm_op_param *param) -{ - pjsua_call *call; - pjsua_call_vid_strm_op_param param_; - pj_status_t status; - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - PJ_ASSERT_RETURN(op != PJSUA_CALL_VID_STRM_NO_OP, PJ_EINVAL); - - PJ_LOG(4,(THIS_FILE, "Call %d: set video stream, op=%d", - call_id, op)); - pj_log_push_indent(); - - PJSUA_LOCK(); - - call = &pjsua_var.calls[call_id]; - - if (param) { - param_ = *param; - } else { - pjsua_call_vid_strm_op_param_default(¶m_); - } - - /* If set to PJMEDIA_VID_DEFAULT_CAPTURE_DEV, replace it with - * account default video capture device. - */ - if (param_.cap_dev == PJMEDIA_VID_DEFAULT_CAPTURE_DEV) { - pjsua_acc_config *acc_cfg = &pjsua_var.acc[call->acc_id].cfg; - param_.cap_dev = acc_cfg->vid_cap_dev; - - /* If the account default video capture device is - * PJMEDIA_VID_DEFAULT_CAPTURE_DEV, replace it with - * global default video capture device. - */ - if (param_.cap_dev == PJMEDIA_VID_DEFAULT_CAPTURE_DEV) { - pjmedia_vid_dev_info info; - pjmedia_vid_dev_get_info(param_.cap_dev, &info); - pj_assert(info.dir == PJMEDIA_DIR_CAPTURE); - param_.cap_dev = info.id; - } - } - - switch (op) { - case PJSUA_CALL_VID_STRM_ADD: - status = call_add_video(call, param_.cap_dev, param_.dir); - break; - case PJSUA_CALL_VID_STRM_REMOVE: - status = call_modify_video(call, param_.med_idx, PJMEDIA_DIR_NONE, - PJ_TRUE); - break; - case PJSUA_CALL_VID_STRM_CHANGE_DIR: - status = call_modify_video(call, param_.med_idx, param_.dir, PJ_FALSE); - break; - case PJSUA_CALL_VID_STRM_CHANGE_CAP_DEV: - status = call_change_cap_dev(call, param_.med_idx, param_.cap_dev); - break; - case PJSUA_CALL_VID_STRM_START_TRANSMIT: - status = call_set_tx_video(call, param_.med_idx, PJ_TRUE); - break; - case PJSUA_CALL_VID_STRM_STOP_TRANSMIT: - status = call_set_tx_video(call, param_.med_idx, PJ_FALSE); - break; - case PJSUA_CALL_VID_STRM_SEND_KEYFRAME: - status = call_send_vid_keyframe(call, param_.med_idx); - break; - default: - status = PJ_EINVALIDOP; - break; - } - - PJSUA_UNLOCK(); - pj_log_pop_indent(); - - return status; -} - - -/* - * Get the media stream index of the default video stream in the call. - */ -PJ_DEF(int) pjsua_call_get_vid_stream_idx(pjsua_call_id call_id) -{ - pjsua_call *call; - int first_active, first_inactive; - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - - PJSUA_LOCK(); - call = &pjsua_var.calls[call_id]; - call_get_vid_strm_info(call, &first_active, &first_inactive, NULL, NULL); - PJSUA_UNLOCK(); - - if (first_active == -1) - return first_inactive; - - return first_active; -} - - -/* - * Determine if video stream for the specified call is currently running - * for the specified direction. - */ -PJ_DEF(pj_bool_t) pjsua_call_vid_stream_is_running( pjsua_call_id call_id, - int med_idx, - pjmedia_dir dir) -{ - pjsua_call *call; - pjsua_call_media *call_med; - - PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, - PJ_EINVAL); - - /* Verify and normalize media index */ - if (med_idx == -1) { - med_idx = pjsua_call_get_vid_stream_idx(call_id); - } - - call = &pjsua_var.calls[call_id]; - PJ_ASSERT_RETURN(med_idx >= 0 && med_idx < (int)call->med_cnt, PJ_EINVAL); - - call_med = &call->media[med_idx]; - - /* Verify if the stream is transmitting video */ - if (call_med->type != PJMEDIA_TYPE_VIDEO || (call_med->dir & dir) == 0 || - !call_med->strm.v.stream) - { - return PJ_FALSE; - } - - return pjmedia_vid_stream_is_running(call_med->strm.v.stream, dir); -} - -#endif /* PJSUA_HAS_VIDEO */ - -#endif /* PJSUA_MEDIA_HAS_PJMEDIA */ diff --git a/res/pjproject/pjsip/src/test/dlg_core_test.c b/res/pjproject/pjsip/src/test/dlg_core_test.c deleted file mode 100644 index c661d5755f..0000000000 --- a/res/pjproject/pjsip/src/test/dlg_core_test.c +++ /dev/null @@ -1,23 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include "test.h" -#include - diff --git a/res/pjproject/pjsip/src/test/dns_test.c b/res/pjproject/pjsip/src/test/dns_test.c deleted file mode 100644 index 986b3124e8..0000000000 --- a/res/pjproject/pjsip/src/test/dns_test.c +++ /dev/null @@ -1,618 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include -#include - -/* For logging purpose. */ -#define THIS_FILE "dns_test.c" - -struct result -{ - pj_status_t status; - pjsip_server_addresses servers; -}; - - -static void cb(pj_status_t status, - void *token, - const struct pjsip_server_addresses *addr) -{ - struct result *result = (struct result*) token; - - result->status = status; - if (status == PJ_SUCCESS) - pj_memcpy(&result->servers, addr, sizeof(*addr)); -} - - -static void add_dns_entries(pj_dns_resolver *resv) -{ - /* Inject DNS SRV entry */ - pj_dns_parsed_packet pkt; - pj_dns_parsed_query q; - pj_dns_parsed_rr ans[4]; - pj_dns_parsed_rr ar[5]; - pj_str_t tmp; - unsigned i; - - /* - * This is answer to SRV query to "example.com" domain, and - * the answer contains full reference to the A records of - * the server. The full DNS records is : - - _sip._udp.example.com 3600 IN SRV 0 0 5060 sip01.example.com. - _sip._udp.example.com 3600 IN SRV 0 20 5060 sip02.example.com. - _sip._udp.example.com 3600 IN SRV 0 10 5060 sip03.example.com. - _sip._udp.example.com 3600 IN SRV 1 0 5060 sip04.example.com. - - sip01.example.com. 3600 IN A 1.1.1.1 - sip02.example.com. 3600 IN A 2.2.2.2 - sip03.example.com. 3600 IN A 3.3.3.3 - sip04.example.com. 3600 IN A 4.4.4.4 - - ; Additionally, add A record for "example.com" - example.com. 3600 IN A 5.5.5.5 - - */ - pj_bzero(&pkt, sizeof(pkt)); - pj_bzero(ans, sizeof(ans)); - pj_bzero(ar, sizeof(ar)); - - pkt.hdr.flags = PJ_DNS_SET_QR(1); - pkt.hdr.anscount = PJ_ARRAY_SIZE(ans); - pkt.hdr.arcount = 0; - pkt.ans = ans; - pkt.arr = ar; - - ans[0].name = pj_str("_sip._udp.example.com"); - ans[0].type = PJ_DNS_TYPE_SRV; - ans[0].dnsclass = PJ_DNS_CLASS_IN; - ans[0].ttl = 3600; - ans[0].rdata.srv.prio = 0; - ans[0].rdata.srv.weight = 0; - ans[0].rdata.srv.port = 5060; - ans[0].rdata.srv.target = pj_str("sip01.example.com"); - - ans[1].name = pj_str("_sip._udp.example.com"); - ans[1].type = PJ_DNS_TYPE_SRV; - ans[1].dnsclass = PJ_DNS_CLASS_IN; - ans[1].ttl = 3600; - ans[1].rdata.srv.prio = 0; - ans[1].rdata.srv.weight = 20; - ans[1].rdata.srv.port = 5060; - ans[1].rdata.srv.target = pj_str("sip02.example.com"); - - ans[2].name = pj_str("_sip._udp.example.com"); - ans[2].type = PJ_DNS_TYPE_SRV; - ans[2].dnsclass = PJ_DNS_CLASS_IN; - ans[2].ttl = 3600; - ans[2].rdata.srv.prio = 0; - ans[2].rdata.srv.weight = 10; - ans[2].rdata.srv.port = 5060; - ans[2].rdata.srv.target = pj_str("sip03.example.com"); - - ans[3].name = pj_str("_sip._udp.example.com"); - ans[3].type = PJ_DNS_TYPE_SRV; - ans[3].dnsclass = PJ_DNS_CLASS_IN; - ans[3].ttl = 3600; - ans[3].rdata.srv.prio = 1; - ans[3].rdata.srv.weight = 0; - ans[3].rdata.srv.port = 5060; - ans[3].rdata.srv.target = pj_str("sip04.example.com"); - - pj_dns_resolver_add_entry( resv, &pkt, PJ_FALSE); - - ar[0].name = pj_str("sip01.example.com"); - ar[0].type = PJ_DNS_TYPE_A; - ar[0].dnsclass = PJ_DNS_CLASS_IN; - ar[0].ttl = 3600; - ar[0].rdata.a.ip_addr = pj_inet_addr(pj_cstr(&tmp, "1.1.1.1")); - - ar[1].name = pj_str("sip02.example.com"); - ar[1].type = PJ_DNS_TYPE_A; - ar[1].dnsclass = PJ_DNS_CLASS_IN; - ar[1].ttl = 3600; - ar[1].rdata.a.ip_addr = pj_inet_addr(pj_cstr(&tmp, "2.2.2.2")); - - ar[2].name = pj_str("sip03.example.com"); - ar[2].type = PJ_DNS_TYPE_A; - ar[2].dnsclass = PJ_DNS_CLASS_IN; - ar[2].ttl = 3600; - ar[2].rdata.a.ip_addr = pj_inet_addr(pj_cstr(&tmp, "3.3.3.3")); - - ar[3].name = pj_str("sip04.example.com"); - ar[3].type = PJ_DNS_TYPE_A; - ar[3].dnsclass = PJ_DNS_CLASS_IN; - ar[3].ttl = 3600; - ar[3].rdata.a.ip_addr = pj_inet_addr(pj_cstr(&tmp, "4.4.4.4")); - - ar[4].name = pj_str("example.com"); - ar[4].type = PJ_DNS_TYPE_A; - ar[4].dnsclass = PJ_DNS_CLASS_IN; - ar[4].ttl = 3600; - ar[4].rdata.a.ip_addr = pj_inet_addr(pj_cstr(&tmp, "5.5.5.5")); - - /* - * Create individual A records for all hosts in "example.com" domain. - */ - for (i=0; icount != result.servers.count) { - PJ_LOG(3,(THIS_FILE, " test_resolve() error 10: result count mismatch")); - return 10; - } - - for (i=0; icount; ++i) { - pj_sockaddr_in *ra = (pj_sockaddr_in *)&ref->entry[i].addr; - pj_sockaddr_in *rb = (pj_sockaddr_in *)&result.servers.entry[i].addr; - - if (ra->sin_addr.s_addr != rb->sin_addr.s_addr) { - PJ_LOG(3,(THIS_FILE, " test_resolve() error 20: IP address mismatch")); - return 20; - } - if (ra->sin_port != rb->sin_port) { - PJ_LOG(3,(THIS_FILE, " test_resolve() error 30: port mismatch")); - return 30; - } - if (ref->entry[i].addr_len != result.servers.entry[i].addr_len) { - PJ_LOG(3,(THIS_FILE, " test_resolve() error 40: addr_len mismatch")); - return 40; - } - if (ref->entry[i].type != result.servers.entry[i].type) { - PJ_LOG(3,(THIS_FILE, " test_resolve() error 50: transport type mismatch")); - return 50; - } - } - } - - return PJ_SUCCESS; -} - -/* - * Perform round-robin/load balance test. - */ -static int round_robin_test(pj_pool_t *pool) -{ - enum { COUNT = 400, PCT_ALLOWANCE = 5 }; - unsigned i; - struct server_hit - { - char *ip_addr; - unsigned percent; - unsigned hits; - } server_hit[] = - { - { "1.1.1.1", 3, 0 }, - { "2.2.2.2", 65, 0 }, - { "3.3.3.3", 32, 0 }, - { "4.4.4.4", 0, 0 } - }; - - PJ_LOG(3,(THIS_FILE, " Performing round-robin/load-balance test..")); - - /* Do multiple resolve request to "example.com". - * The resolver should select the server based on the weight proportion - * the the servers in the SRV entry. - */ - for (i=0; isin_addr.s_addr) { - server_hit[j].hits++; - break; - } - } - - if (j == PJ_ARRAY_SIZE(server_hit)) { - PJ_LOG(1,(THIS_FILE, "..round_robin_test() error 10: returned address mismatch")); - return 10; - } - } - - /* Print the actual hit rate */ - for (i=0; i (int)server_hit[i].percent) - { - PJ_LOG(1,(THIS_FILE, - "..round_robin_test() error 20: " - "hit rate difference for server %s (%d%%) is more than " - "tolerable allowance (%d%%)", - server_hit[i].ip_addr, - actual_pct - server_hit[i].percent, - PCT_ALLOWANCE)); - return 20; - } - } - - PJ_LOG(3,(THIS_FILE, - " Load balance test success, hit-rate is " - "within %d%% allowance", PCT_ALLOWANCE)); - return PJ_SUCCESS; -} - - -#define C(expr) status = expr; \ - if (status != PJ_SUCCESS) app_perror(THIS_FILE, "Error", status); - -static void add_ref(pjsip_server_addresses *r, - pjsip_transport_type_e type, - char *addr, - int port) -{ - pj_sockaddr_in *a; - pj_str_t tmp; - - r->entry[r->count].type = type; - r->entry[r->count].priority = 0; - r->entry[r->count].weight = 0; - r->entry[r->count].addr_len = sizeof(pj_sockaddr_in); - - a = (pj_sockaddr_in *)&r->entry[r->count].addr; - a->sin_family = pj_AF_INET(); - tmp = pj_str(addr); - a->sin_addr = pj_inet_addr(&tmp); - a->sin_port = pj_htons((pj_uint16_t)port); - - r->count++; -} - -static void create_ref(pjsip_server_addresses *r, - pjsip_transport_type_e type, - char *addr, - int port) -{ - r->count = 0; - add_ref(r, type, addr, port); -} - - -/* - * Main test entry. - */ -int resolve_test(void) -{ - pj_pool_t *pool; - pj_dns_resolver *resv; - pj_str_t nameserver; - pj_uint16_t port = 5353; - pj_status_t status; - - pool = pjsip_endpt_create_pool(endpt, NULL, 4000, 4000); - - status = pjsip_endpt_create_resolver(endpt, &resv); - - nameserver = pj_str("192.168.0.106"); - pj_dns_resolver_set_ns(resv, 1, &nameserver, &port); - pjsip_endpt_set_resolver(endpt, resv); - - add_dns_entries(resv); - - /* These all should be resolved as IP addresses (DNS A query) */ - { - pjsip_server_addresses ref; - create_ref(&ref, PJSIP_TRANSPORT_UDP, "1.1.1.1", 5060); - status = test_resolve("IP address without transport and port", pool, PJSIP_TRANSPORT_UNSPECIFIED, "1.1.1.1", 0, &ref); - if (status != PJ_SUCCESS) - return -100; - } - { - pjsip_server_addresses ref; - create_ref(&ref, PJSIP_TRANSPORT_UDP, "1.1.1.1", 5060); - status = test_resolve("IP address with explicit port", pool, PJSIP_TRANSPORT_UNSPECIFIED, "1.1.1.1", 5060, &ref); - if (status != PJ_SUCCESS) - return -110; - } - { - pjsip_server_addresses ref; - create_ref(&ref, PJSIP_TRANSPORT_TCP, "1.1.1.1", 5060); - status = test_resolve("IP address without port (TCP)", pool, PJSIP_TRANSPORT_TCP,"1.1.1.1", 0, &ref); - if (status != PJ_SUCCESS) - return -120; - } - { - pjsip_server_addresses ref; - create_ref(&ref, PJSIP_TRANSPORT_TLS, "1.1.1.1", 5061); - status = test_resolve("IP address without port (TLS)", pool, PJSIP_TRANSPORT_TLS, "1.1.1.1", 0, &ref); - if (status != PJ_SUCCESS) - return -130; - } - - /* This should be resolved as DNS A record (because port is present) */ - { - pjsip_server_addresses ref; - create_ref(&ref, PJSIP_TRANSPORT_UDP, "5.5.5.5", 5060); - status = test_resolve("domain name with port should resolve to A record", pool, PJSIP_TRANSPORT_UNSPECIFIED, "example.com", 5060, &ref); - if (status != PJ_SUCCESS) - return -140; - } - - /* This will fail to be resolved as SRV, resolver should fallback to - * resolving to A record. - */ - { - pjsip_server_addresses ref; - create_ref(&ref, PJSIP_TRANSPORT_UDP, "2.2.2.2", 5060); - status = test_resolve("failure with SRV fallback to A record", pool, PJSIP_TRANSPORT_UNSPECIFIED, "sip02.example.com", 0, &ref); - if (status != PJ_SUCCESS) - return -150; - } - - /* Same as above, but explicitly for TLS. */ - { - pjsip_server_addresses ref; - create_ref(&ref, PJSIP_TRANSPORT_TLS, "2.2.2.2", 5061); - status = test_resolve("failure with SRV fallback to A record (for TLS)", pool, PJSIP_TRANSPORT_TLS, "sip02.example.com", 0, &ref); - if (status != PJ_SUCCESS) - return -150; - } - - /* Standard DNS SRV followed by A recolution */ - { - pjsip_server_addresses ref; - create_ref(&ref, PJSIP_TRANSPORT_UDP, "6.6.6.6", 50060); - status = test_resolve("standard SRV resolution", pool, PJSIP_TRANSPORT_UNSPECIFIED, "domain.com", 0, &ref); - if (status != PJ_SUCCESS) - return -155; - } - - /* Standard DNS SRV followed by A recolution (explicit transport) */ - { - pjsip_server_addresses ref; - create_ref(&ref, PJSIP_TRANSPORT_TCP, "6.6.6.6", 50060); - add_ref(&ref, PJSIP_TRANSPORT_TCP, "7.7.7.7", 50060); - status = test_resolve("standard SRV resolution with explicit transport (TCP)", pool, PJSIP_TRANSPORT_TCP, "domain.com", 0, &ref); - if (status != PJ_SUCCESS) - return -160; - } - - - /* Round robin/load balance test */ - if (round_robin_test(pool) != 0) - return -170; - - /* Timeout test */ - { - status = test_resolve("timeout test", pool, PJSIP_TRANSPORT_UNSPECIFIED, "an.invalid.address", 0, NULL); - if (status == PJ_SUCCESS) - return -150; - } - - return 0; -} - diff --git a/res/pjproject/pjsip/src/test/inv_offer_answer_test.c b/res/pjproject/pjsip/src/test/inv_offer_answer_test.c deleted file mode 100644 index 2131ae6f1c..0000000000 --- a/res/pjproject/pjsip/src/test/inv_offer_answer_test.c +++ /dev/null @@ -1,691 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include "test.h" -#include -#include -#include - -#define THIS_FILE "inv_offer_answer_test.c" -#define PORT 5068 -#define CONTACT "sip:127.0.0.1:5068" -#define TRACE_(x) PJ_LOG(3,x) - -static struct oa_sdp_t -{ - const char *offer; - const char *answer; - unsigned pt_result; -} oa_sdp[] = -{ - { - /* Offer: */ - "v=0\r\n" - "o=alice 1 1 IN IP4 host.anywhere.com\r\n" - "s= \r\n" - "c=IN IP4 host.anywhere.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n", - - /* Answer: */ - "v=0\r\n" - "o=bob 1 1 IN IP4 host.example.com\r\n" - "s= \r\n" - "c=IN IP4 host.example.com\r\n" - "t=0 0\r\n" - "m=audio 49920 RTP/AVP 0\r\n" - "a=rtpmap:0 PCMU/8000\r\n" - "m=video 0 RTP/AVP 31\r\n", - - 0 - }, - - { - /* Offer: */ - "v=0\r\n" - "o=alice 2 2 IN IP4 host.anywhere.com\r\n" - "s= \r\n" - "c=IN IP4 host.anywhere.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 8\r\n" - "a=rtpmap:0 PCMA/8000\r\n", - - /* Answer: */ - "v=0\r\n" - "o=bob 2 2 IN IP4 host.example.com\r\n" - "s= \r\n" - "c=IN IP4 host.example.com\r\n" - "t=0 0\r\n" - "m=audio 49920 RTP/AVP 8\r\n" - "a=rtpmap:0 PCMA/8000\r\n", - - 8 - }, - - { - /* Offer: */ - "v=0\r\n" - "o=alice 3 3 IN IP4 host.anywhere.com\r\n" - "s= \r\n" - "c=IN IP4 host.anywhere.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 3\r\n", - - /* Answer: */ - "v=0\r\n" - "o=bob 3 3 IN IP4 host.example.com\r\n" - "s= \r\n" - "c=IN IP4 host.example.com\r\n" - "t=0 0\r\n" - "m=audio 49920 RTP/AVP 3\r\n", - - 3 - }, - - { - /* Offer: */ - "v=0\r\n" - "o=alice 4 4 IN IP4 host.anywhere.com\r\n" - "s= \r\n" - "c=IN IP4 host.anywhere.com\r\n" - "t=0 0\r\n" - "m=audio 49170 RTP/AVP 4\r\n", - - /* Answer: */ - "v=0\r\n" - "o=bob 4 4 IN IP4 host.example.com\r\n" - "s= \r\n" - "c=IN IP4 host.example.com\r\n" - "t=0 0\r\n" - "m=audio 49920 RTP/AVP 4\r\n", - - 4 - } -}; - - - -typedef enum oa_t -{ - OFFERER_NONE, - OFFERER_UAC, - OFFERER_UAS -} oa_t; - -typedef struct inv_test_param_t -{ - char *title; - unsigned inv_option; - pj_bool_t need_established; - unsigned count; - oa_t oa[4]; -} inv_test_param_t; - -typedef struct inv_test_t -{ - inv_test_param_t param; - pjsip_inv_session *uac; - pjsip_inv_session *uas; - - pj_bool_t complete; - pj_bool_t uas_complete, - uac_complete; - - unsigned oa_index; - unsigned uac_update_cnt, - uas_update_cnt; -} inv_test_t; - - -/**************** GLOBALS ******************/ -static inv_test_t inv_test; -static unsigned job_cnt; - -typedef enum job_type -{ - SEND_OFFER, - ESTABLISH_CALL -} job_type; - -typedef struct job_t -{ - job_type type; - pjsip_role_e who; -} job_t; - -static job_t jobs[128]; - - -/**************** UTILS ******************/ -static pjmedia_sdp_session *create_sdp(pj_pool_t *pool, const char *body) -{ - pjmedia_sdp_session *sdp; - pj_str_t dup; - pj_status_t status; - - pj_strdup2_with_null(pool, &dup, body); - status = pjmedia_sdp_parse(pool, dup.ptr, dup.slen, &sdp); - pj_assert(status == PJ_SUCCESS); - - return sdp; -} - -/**************** INVITE SESSION CALLBACKS ******************/ -static void on_rx_offer(pjsip_inv_session *inv, - const pjmedia_sdp_session *offer) -{ - pjmedia_sdp_session *sdp; - - PJ_UNUSED_ARG(offer); - - sdp = create_sdp(inv->dlg->pool, oa_sdp[inv_test.oa_index].answer); - pjsip_inv_set_sdp_answer(inv, sdp); - - if (inv_test.oa_index == inv_test.param.count-1 && - inv_test.param.need_established) - { - jobs[job_cnt].type = ESTABLISH_CALL; - jobs[job_cnt].who = PJSIP_ROLE_UAS; - job_cnt++; - } -} - - -static void on_create_offer(pjsip_inv_session *inv, - pjmedia_sdp_session **p_offer) -{ - PJ_UNUSED_ARG(inv); - PJ_UNUSED_ARG(p_offer); - - pj_assert(!"Should not happen"); -} - -static void on_media_update(pjsip_inv_session *inv_ses, - pj_status_t status) -{ - PJ_UNUSED_ARG(status); - - if (inv_ses == inv_test.uas) { - inv_test.uas_update_cnt++; - pj_assert(inv_test.uas_update_cnt - inv_test.uac_update_cnt <= 1); - TRACE_((THIS_FILE, " Callee media is established")); - } else if (inv_ses == inv_test.uac) { - inv_test.uac_update_cnt++; - pj_assert(inv_test.uac_update_cnt - inv_test.uas_update_cnt <= 1); - TRACE_((THIS_FILE, " Caller media is established")); - - } else { - pj_assert(!"Unknown session!"); - } - - if (inv_test.uac_update_cnt == inv_test.uas_update_cnt) { - inv_test.oa_index++; - - if (inv_test.oa_index < inv_test.param.count) { - switch (inv_test.param.oa[inv_test.oa_index]) { - case OFFERER_UAC: - jobs[job_cnt].type = SEND_OFFER; - jobs[job_cnt].who = PJSIP_ROLE_UAC; - job_cnt++; - break; - case OFFERER_UAS: - jobs[job_cnt].type = SEND_OFFER; - jobs[job_cnt].who = PJSIP_ROLE_UAS; - job_cnt++; - break; - default: - pj_assert(!"Invalid oa"); - } - } - - pj_assert(job_cnt <= PJ_ARRAY_SIZE(jobs)); - } -} - -static void on_state_changed(pjsip_inv_session *inv, pjsip_event *e) -{ - const char *who = NULL; - - PJ_UNUSED_ARG(e); - - if (inv->state == PJSIP_INV_STATE_DISCONNECTED) { - TRACE_((THIS_FILE, " %s call disconnected", - (inv==inv_test.uas ? "Callee" : "Caller"))); - return; - } - - if (inv->state != PJSIP_INV_STATE_CONFIRMED) - return; - - if (inv == inv_test.uas) { - inv_test.uas_complete = PJ_TRUE; - who = "Callee"; - } else if (inv == inv_test.uac) { - inv_test.uac_complete = PJ_TRUE; - who = "Caller"; - } else - pj_assert(!"No session"); - - TRACE_((THIS_FILE, " %s call is confirmed", who)); - - if (inv_test.uac_complete && inv_test.uas_complete) - inv_test.complete = PJ_TRUE; -} - - -/**************** MODULE TO RECEIVE INITIAL INVITE ******************/ - -static pj_bool_t on_rx_request(pjsip_rx_data *rdata) -{ - if (rdata->msg_info.msg->type == PJSIP_REQUEST_MSG && - rdata->msg_info.msg->line.req.method.id == PJSIP_INVITE_METHOD) - { - pjsip_dialog *dlg; - pjmedia_sdp_session *sdp = NULL; - pj_str_t uri; - pjsip_tx_data *tdata; - pj_status_t status; - - /* - * Create UAS - */ - uri = pj_str(CONTACT); - status = pjsip_dlg_create_uas(pjsip_ua_instance(), rdata, - &uri, &dlg); - pj_assert(status == PJ_SUCCESS); - - if (inv_test.param.oa[0] == OFFERER_UAC) - sdp = create_sdp(rdata->tp_info.pool, oa_sdp[0].answer); - else if (inv_test.param.oa[0] == OFFERER_UAS) - sdp = create_sdp(rdata->tp_info.pool, oa_sdp[0].offer); - else - pj_assert(!"Invalid offerer type"); - - status = pjsip_inv_create_uas(dlg, rdata, sdp, inv_test.param.inv_option, &inv_test.uas); - pj_assert(status == PJ_SUCCESS); - - TRACE_((THIS_FILE, " Sending 183 with SDP")); - - /* - * Answer with 183 - */ - status = pjsip_inv_initial_answer(inv_test.uas, rdata, 183, NULL, - NULL, &tdata); - pj_assert(status == PJ_SUCCESS); - - status = pjsip_inv_send_msg(inv_test.uas, tdata); - pj_assert(status == PJ_SUCCESS); - - return PJ_TRUE; - } - - return PJ_FALSE; -} - -static pjsip_module mod_inv_oa_test = -{ - NULL, NULL, /* prev, next. */ - { "mod-inv-oa-test", 15 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &on_rx_request, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ -}; - - -/**************** THE TEST ******************/ -static void run_job(job_t *j) -{ - pjsip_inv_session *inv; - pjsip_tx_data *tdata; - pjmedia_sdp_session *sdp; - pj_status_t status; - - if (j->who == PJSIP_ROLE_UAC) - inv = inv_test.uac; - else - inv = inv_test.uas; - - switch (j->type) { - case SEND_OFFER: - sdp = create_sdp(inv->dlg->pool, oa_sdp[inv_test.oa_index].offer); - - TRACE_((THIS_FILE, " Sending UPDATE with offer")); - status = pjsip_inv_update(inv, NULL, sdp, &tdata); - pj_assert(status == PJ_SUCCESS); - - status = pjsip_inv_send_msg(inv, tdata); - pj_assert(status == PJ_SUCCESS); - break; - case ESTABLISH_CALL: - TRACE_((THIS_FILE, " Sending 200/OK")); - status = pjsip_inv_answer(inv, 200, NULL, NULL, &tdata); - pj_assert(status == PJ_SUCCESS); - - status = pjsip_inv_send_msg(inv, tdata); - pj_assert(status == PJ_SUCCESS); - break; - } -} - - -static int perform_test(inv_test_param_t *param) -{ - pj_str_t uri; - pjsip_dialog *dlg; - pjmedia_sdp_session *sdp; - pjsip_tx_data *tdata; - pj_status_t status; - - PJ_LOG(3,(THIS_FILE, " %s", param->title)); - - pj_bzero(&inv_test, sizeof(inv_test)); - pj_memcpy(&inv_test.param, param, sizeof(*param)); - job_cnt = 0; - - uri = pj_str(CONTACT); - - /* - * Create UAC - */ - status = pjsip_dlg_create_uac(pjsip_ua_instance(), - &uri, &uri, &uri, &uri, &dlg); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, -10); - - if (inv_test.param.oa[0] == OFFERER_UAC) - sdp = create_sdp(dlg->pool, oa_sdp[0].offer); - else - sdp = NULL; - - status = pjsip_inv_create_uac(dlg, sdp, inv_test.param.inv_option, &inv_test.uac); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, -20); - - TRACE_((THIS_FILE, " Sending INVITE %s offer", (sdp ? "with" : "without"))); - - /* - * Make call! - */ - status = pjsip_inv_invite(inv_test.uac, &tdata); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, -30); - - status = pjsip_inv_send_msg(inv_test.uac, tdata); - PJ_ASSERT_RETURN(status==PJ_SUCCESS, -30); - - /* - * Wait until test completes - */ - while (!inv_test.complete) { - pj_time_val delay = {0, 20}; - - pjsip_endpt_handle_events(endpt, &delay); - - while (job_cnt) { - job_t j; - - j = jobs[0]; - pj_array_erase(jobs, sizeof(jobs[0]), job_cnt, 0); - --job_cnt; - - run_job(&j); - } - } - - flush_events(100); - - /* - * Hangup - */ - TRACE_((THIS_FILE, " Disconnecting call")); - status = pjsip_inv_end_session(inv_test.uas, PJSIP_SC_DECLINE, 0, &tdata); - pj_assert(status == PJ_SUCCESS); - - status = pjsip_inv_send_msg(inv_test.uas, tdata); - pj_assert(status == PJ_SUCCESS); - - flush_events(500); - - return 0; -} - - -static pj_bool_t log_on_rx_msg(pjsip_rx_data *rdata) -{ - pjsip_msg *msg = rdata->msg_info.msg; - char info[80]; - - if (msg->type == PJSIP_REQUEST_MSG) - pj_ansi_snprintf(info, sizeof(info), "%.*s", - (int)msg->line.req.method.name.slen, - msg->line.req.method.name.ptr); - else - pj_ansi_snprintf(info, sizeof(info), "%d/%.*s", - msg->line.status.code, - (int)rdata->msg_info.cseq->method.name.slen, - rdata->msg_info.cseq->method.name.ptr); - - TRACE_((THIS_FILE, " Received %s %s sdp", info, - (msg->body ? "with" : "without"))); - - return PJ_FALSE; -} - - -/* Message logger module. */ -static pjsip_module mod_msg_logger = -{ - NULL, NULL, /* prev and next */ - { "mod-msg-loggee", 14}, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_TRANSPORT_LAYER-1,/* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &log_on_rx_msg, /* on_rx_request() */ - &log_on_rx_msg, /* on_rx_response() */ - NULL, /* on_tx_request() */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ -}; - -static inv_test_param_t test_params[] = -{ -/* Normal scenario: - - UAC UAS - INVITE (offer) --> - 200/INVITE (answer) <-- - ACK --> - */ -#if 0 - { - "Standard INVITE with offer", - 0, - PJ_TRUE, - 1, - { OFFERER_UAC } - }, - - { - "Standard INVITE with offer, with 100rel", - PJSIP_INV_REQUIRE_100REL, - PJ_TRUE, - 1, - { OFFERER_UAC } - }, -#endif - -/* Delayed offer: - UAC UAS - INVITE (no SDP) --> - 200/INVITE (offer) <-- - ACK (answer) --> - */ -#if 1 - { - "INVITE with no offer", - 0, - PJ_TRUE, - 1, - { OFFERER_UAS } - }, - - { - "INVITE with no offer, with 100rel", - PJSIP_INV_REQUIRE_100REL, - PJ_TRUE, - 1, - { OFFERER_UAS } - }, -#endif - -/* Subsequent UAC offer with UPDATE: - - UAC UAS - INVITE (offer) --> - 180/rel (answer) <-- - UPDATE (offer) --> inv_update() on_rx_offer() - set_sdp_answer() - 200/UPDATE (answer) <-- - 200/INVITE <-- - ACK --> -*/ -#if 1 - { - "INVITE and UPDATE by UAC", - 0, - PJ_TRUE, - 2, - { OFFERER_UAC, OFFERER_UAC } - }, - { - "INVITE and UPDATE by UAC, with 100rel", - PJSIP_INV_REQUIRE_100REL, - PJ_TRUE, - 2, - { OFFERER_UAC, OFFERER_UAC } - }, -#endif - -/* Subsequent UAS offer with UPDATE: - - INVITE (offer --> - 180/rel (answer) <-- - UPDATE (offer) <-- inv_update() - on_rx_offer() - set_sdp_answer() - 200/UPDATE (answer) --> - UPDATE (offer) --> on_rx_offer() - set_sdp_answer() - 200/UPDATE (answer) <-- - 200/INVITE <-- - ACK --> - - */ - { - "INVITE and many UPDATE by UAC and UAS", - 0, - PJ_TRUE, - 4, - { OFFERER_UAC, OFFERER_UAS, OFFERER_UAC, OFFERER_UAS } - }, - -}; - - -static pjsip_dialog* on_dlg_forked(pjsip_dialog *first_set, pjsip_rx_data *res) -{ - PJ_UNUSED_ARG(first_set); - PJ_UNUSED_ARG(res); - - return NULL; -} - - -static void on_new_session(pjsip_inv_session *inv, pjsip_event *e) -{ - PJ_UNUSED_ARG(inv); - PJ_UNUSED_ARG(e); -} - - -int inv_offer_answer_test(void) -{ - unsigned i; - int rc = 0; - - /* Init UA layer */ - if (pjsip_ua_instance()->id == -1) { - pjsip_ua_init_param ua_param; - pj_bzero(&ua_param, sizeof(ua_param)); - ua_param.on_dlg_forked = &on_dlg_forked; - pjsip_ua_init_module(endpt, &ua_param); - } - - /* Init inv-usage */ - if (pjsip_inv_usage_instance()->id == -1) { - pjsip_inv_callback inv_cb; - pj_bzero(&inv_cb, sizeof(inv_cb)); - inv_cb.on_media_update = &on_media_update; - inv_cb.on_rx_offer = &on_rx_offer; - inv_cb.on_create_offer = &on_create_offer; - inv_cb.on_state_changed = &on_state_changed; - inv_cb.on_new_session = &on_new_session; - pjsip_inv_usage_init(endpt, &inv_cb); - } - - /* 100rel module */ - pjsip_100rel_init_module(endpt); - - /* Our module */ - pjsip_endpt_register_module(endpt, &mod_inv_oa_test); - pjsip_endpt_register_module(endpt, &mod_msg_logger); - - /* Create SIP UDP transport */ - { - pj_sockaddr_in addr; - pjsip_transport *tp; - pj_status_t status; - - pj_sockaddr_in_init(&addr, NULL, PORT); - status = pjsip_udp_transport_start(endpt, &addr, NULL, 1, &tp); - pj_assert(status == PJ_SUCCESS); - } - - /* Do tests */ - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include -#include - -extern const char *system_name; - -static void usage() -{ - puts("Usage: test-pjsip"); - puts("Options:"); - puts(" -i,--interractive Key input at the end."); - puts(" -h,--help Show this screen"); - puts(" -l,--log-level N Set log level (0-6)"); -} - -int main(int argc, char *argv[]) -{ - int interractive = 0; - int retval; - char **opt_arg; - - PJ_UNUSED_ARG(argc); - - /* Parse arguments. */ - opt_arg = argv+1; - while (*opt_arg) { - if (strcmp(*opt_arg, "-i") == 0 || - strcmp(*opt_arg, "--interractive") == 0) - { - interractive = 1; - } else if (strcmp(*opt_arg, "-h") == 0 || - strcmp(*opt_arg, "--help") == 0) - { - usage(); - return 1; - } else if (strcmp(*opt_arg, "-l") == 0 || - strcmp(*opt_arg, "--log-level") == 0) - { - ++opt_arg; - if (!opt_arg) { - usage(); - return 1; - } - log_level = atoi(*opt_arg); - } else if (strcmp(*opt_arg, "-s") == 0 || - strcmp(*opt_arg, "--system") == 0) - { - ++opt_arg; - if (!opt_arg) { - usage(); - return 1; - } - system_name = *opt_arg; - } else { - usage(); - return 1; - } - - ++opt_arg; - } - - retval = test_main(); - - if (interractive) { - char s[10]; - printf("\n"); fflush(stdout); - if (fgets(s, sizeof(s), stdin) == NULL) - return retval; - } - - return retval; -} diff --git a/res/pjproject/pjsip/src/test/main_rtems.c b/res/pjproject/pjsip/src/test/main_rtems.c deleted file mode 100644 index a4d14e5a0c..0000000000 --- a/res/pjproject/pjsip/src/test/main_rtems.c +++ /dev/null @@ -1,12 +0,0 @@ - -/* - * !! OIY OIY !! - * - * The purpose of this file is only to get pjsip-test linked. I haven't - * actually tried to run pjsip-test on RTEMS!! - * - */ - -#include "../../pjlib/src/pjlib-test/main_rtems.c" - - diff --git a/res/pjproject/pjsip/src/test/main_win32.c b/res/pjproject/pjsip/src/test/main_win32.c deleted file mode 100644 index 3043a395f9..0000000000 --- a/res/pjproject/pjsip/src/test/main_win32.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../pjlib/src/pjlib-test/main_win32.c" diff --git a/res/pjproject/pjsip/src/test/msg_err_test.c b/res/pjproject/pjsip/src/test/msg_err_test.c deleted file mode 100644 index 3150c90e93..0000000000 --- a/res/pjproject/pjsip/src/test/msg_err_test.c +++ /dev/null @@ -1,104 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include - -#define THIS_FILE "msg_err_test.c" - - -static pj_bool_t verify_success(pjsip_msg *msg, - pjsip_parser_err_report *err_list) -{ - PJ_UNUSED_ARG(msg); - PJ_UNUSED_ARG(err_list); - - return PJ_TRUE; -} - -static struct test_entry -{ - char msg[1024]; - pj_bool_t (*verify)(pjsip_msg *msg, - pjsip_parser_err_report *err_list); - -} test_entries[] = -{ - /* Syntax error in status line */ - { - "SIP/2.0 200\r\n" - "H-Name: H-Value\r\n" - "\r\n", - &verify_success - }, - - /* Syntax error in header */ - { - "SIP/2.0 200 OK\r\n" - "Via: SIP/2.0\r\n" - "H-Name: H-Value\r\n" - "\r\n", - &verify_success - }, - - /* Multiple syntax errors in headers */ - { - "SIP/2.0 200 OK\r\n" - "Via: SIP/2.0\r\n" - "H-Name: H-Value\r\n" - "Via: SIP/2.0\r\n" - "\r\n", - &verify_success - } -}; - - -int msg_err_test(void) -{ - pj_pool_t *pool; - unsigned i; - - PJ_LOG(3,(THIS_FILE, "Testing parsing error")); - - pool = pjsip_endpt_create_pool(endpt, "msgerrtest", 4000, 4000); - - for (i=0; iline, e->col, - (int)e->hname.slen, - e->hname.ptr)); - e = e->next; - } - } - - pj_pool_release(pool); - return 0; -} diff --git a/res/pjproject/pjsip/src/test/msg_logger.c b/res/pjproject/pjsip/src/test/msg_logger.c deleted file mode 100644 index ac058de151..0000000000 --- a/res/pjproject/pjsip/src/test/msg_logger.c +++ /dev/null @@ -1,104 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include - -#define THIS_FILE "msg_logger.c" - -static pj_bool_t msg_log_enabled; - -static pj_bool_t on_rx_msg(pjsip_rx_data *rdata) -{ - if (msg_log_enabled) { - PJ_LOG(4,(THIS_FILE, "RX %d bytes %s from %s:%s:%d:\n" - "%.*s\n" - "--end msg--", - rdata->msg_info.len, - pjsip_rx_data_get_info(rdata), - rdata->tp_info.transport->type_name, - rdata->pkt_info.src_name, - rdata->pkt_info.src_port, - rdata->msg_info.len, - rdata->msg_info.msg_buf)); - } - - return PJ_FALSE; -} - -static pj_status_t on_tx_msg(pjsip_tx_data *tdata) -{ - if (msg_log_enabled) { - PJ_LOG(4,(THIS_FILE, "TX %d bytes %s to %s:%s:%d:\n" - "%.*s\n" - "--end msg--", - (tdata->buf.cur - tdata->buf.start), - pjsip_tx_data_get_info(tdata), - tdata->tp_info.transport->type_name, - tdata->tp_info.dst_name, - tdata->tp_info.dst_port, - (tdata->buf.cur - tdata->buf.start), - tdata->buf.start)); - } - return PJ_SUCCESS; -} - - -/* Message logger module. */ -static pjsip_module mod_msg_logger = -{ - NULL, NULL, /* prev and next */ - { "mod-msg-logger", 14}, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_TRANSPORT_LAYER-1,/* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &on_rx_msg, /* on_rx_request() */ - &on_rx_msg, /* on_rx_response() */ - &on_tx_msg, /* on_tx_request() */ - &on_tx_msg, /* on_tx_response() */ - NULL, /* on_tsx_state() */ -}; - -int init_msg_logger(void) -{ - pj_status_t status; - - if (mod_msg_logger.id != -1) - return 0; - - status = pjsip_endpt_register_module(endpt, &mod_msg_logger); - if (status != PJ_SUCCESS) { - app_perror(" error registering module", status); - return -10; - } - - return 0; -} - -int msg_logger_set_enabled(pj_bool_t enabled) -{ - int val = msg_log_enabled; - msg_log_enabled = enabled; - return val; -} - diff --git a/res/pjproject/pjsip/src/test/msg_test.c b/res/pjproject/pjsip/src/test/msg_test.c deleted file mode 100644 index 51d002db84..0000000000 --- a/res/pjproject/pjsip/src/test/msg_test.c +++ /dev/null @@ -1,2084 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include - -#define POOL_SIZE 8000 -#if defined(PJ_DEBUG) && PJ_DEBUG!=0 -# define LOOP 10000 -#else -# define LOOP 100000 -#endif -#define AVERAGE_MSG_LEN 800 -#define THIS_FILE "msg_test.c" - -static pjsip_msg *create_msg0(pj_pool_t *pool); -static pjsip_msg *create_msg1(pj_pool_t *pool); - -#define STATUS_PARTIAL 1 -#define STATUS_SYNTAX_ERROR 2 - -#define FLAG_DETECT_ONLY 1 -#define FLAG_PARSE_ONLY 4 -#define FLAG_PRINT_ONLY 8 - -struct test_msg -{ - char msg[1024]; - pjsip_msg *(*creator)(pj_pool_t *pool); - pj_size_t len; - int expected_status; -} test_array[] = -{ -{ - /* 'Normal' message with all headers. */ - "INVITE sip:user@foo SIP/2.0\n" - "from: Hi I'm Joe ;tag=123457890123456\r" - "To: Fellow User \r\n" - "Call-ID: 12345678901234567890@bar\r\n" - "Content-Length: 0\r\n" - "CSeq: 123456 INVITE\n" - "Contact: ; q=0.5;expires=3600,sip:user@host;q=0.500\r" - " ,sip:user2@host2\n" - "Content-Type: text/html ; charset=ISO-8859-4\r" - "Route: ,\r\n" - " \r" - "Record-Route: ,\r\n" /* multiple routes+folding*/ - " \n" - "v: SIP/2.0/SCTP bigbox3.site3.atlanta.com;branch=z9hG4bK77ef4c230\n" - "Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bKnashds8\n" /* folding. */ - " ;received=192.0.2.1\r\n" - "Via: SIP/2.0/UDP 10.2.1.1, SIP/2.0/TCP 192.168.1.1\n" - "Organization: \r" - "Max-Forwards: 70\n" - "X-Header: \r\n" /* empty header */ - "P-Associated-URI:\r\n" /* empty header without space */ - "\r\n", - &create_msg0, - 0, - PJ_SUCCESS -}, -{ - /* Typical response message. */ - "SIP/2.0 200 OK\r\n" - "Via: SIP/2.0/SCTP server10.biloxi.com;branch=z9hG4bKnashds8;rport;received=192.0.2.1\r\n" - "Via: SIP/2.0/UDP bigbox3.site3.atlanta.com;branch=z9hG4bK77ef4c2312983.1;received=192.0.2.2\r\n" - "Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bK776asdhds ;received=192.0.2.3\r\n" - "Route: \r\n" - "Route: \r\n" - "Max-Forwards: 70\r\n" - "To: Bob ;tag=a6c85cf\r\n" - "From: Alice ;tag=1928301774\r\n" - "Call-ID: a84b4c76e66710@pc33.atlanta.com\r\n" - "CSeq: 314159 INVITE\r\n" - "Contact: \r\n" - "Content-Type: application/sdp\r\n" - "Content-Length: 150\r\n" - "\r\n" - "v=0\r\n" - "o=alice 53655765 2353687637 IN IP4 pc33.atlanta.com\r\n" - "s=-\r\n" - "t=0 0\r\n" - "c=IN IP4 pc33.atlanta.com\r\n" - "m=audio 3456 RTP/AVP 0 1 3 99\r\n" - "a=rtpmap:0 PCMU/8000\r\n", - &create_msg1, - 0, - PJ_SUCCESS -}, -{ - /* Torture message from RFC 4475 - * 3.1.1.1 A short tortuous INVITE - */ - "INVITE sip:vivekg@chair-dnrc.example.com;unknownparam SIP/2.0\n" - "TO :\n" - " sip:vivekg@chair-dnrc.example.com ; tag = 1918181833n\n" - "from : \"J Rosenberg \\\\\\\"\" \n" - " ;\n" - " tag = 98asjd8\n" - "MaX-fOrWaRdS: 0068\n" - "Call-ID: wsinv.ndaksdj@192.0.2.1\n" - "Content-Length : 150\n" - "cseq: 0009\n" - " INVITE\n" - "Via : SIP / 2.0\n" - " /UDP\n" - " 192.0.2.2;rport;branch=390skdjuw\n" - "s :\n" - "NewFangledHeader: newfangled value\n" - " continued newfangled value\n" - "UnknownHeaderWithUnusualValue: ;;,,;;,;\n" - "Content-Type: application/sdp\n" - "Route:\n" - " \n" - "v: SIP / 2.0 / TCP spindle.example.com ;\n" - " branch = z9hG4bK9ikj8 ,\n" - " SIP / 2.0 / UDP 192.168.255.111 ; branch=\n" - " z9hG4bK30239\n" - "m:\"Quoted string \\\"\\\"\" ; newparam =\n" - " newvalue ;\n" - " secondparam ; q = 0.33\r\n" - "\r\n" - "v=0\r\n" - "o=mhandley 29739 7272939 IN IP4 192.0.2.3\r\n" - "s=-\r\n" - "c=IN IP4 192.0.2.4\r\n" - "t=0 0\r\n" - "m=audio 49217 RTP/AVP 0 12\r\n" - "m=video 3227 RTP/AVP 31\r\n" - "a=rtpmap:31 LPC\r\n", - NULL, - 0, - PJ_SUCCESS -}, -{ - /* Torture message from RFC 4475 - * 3.1.1.2 Wide Range of Valid Characters - */ - "!interesting-Method0123456789_*+`.%indeed'~ sip:1_unusual.URI~(to-be!sure)&isn't+it$/crazy?,/;;*:&it+has=1,weird!*pas$wo~d_too.(doesn't-it)@example.com SIP/2.0\n" - "Via: SIP/2.0/UDP host1.example.com;rport;branch=z9hG4bK-.!%66*_+`'~\n" - "To: \"BEL:\\\x07 NUL:\\\x00 DEL:\\\x7F\" \n" - "From: token1~` token2'+_ token3*%!.- ;fromParam''~+*_!.-%=\"\xD1\x80\xD0\xB0\xD0\xB1\xD0\xBE\xD1\x82\xD0\xB0\xD1\x8E\xD1\x89\xD0\xB8\xD0\xB9\";tag=_token~1'+`*%!-.\n" - "Call-ID: intmeth.word%ZK-!.*_+'@word`~)(><:\\/\"][?}{\n" - "CSeq: 139122385 !interesting-Method0123456789_*+`.%indeed'~\n" - "Max-Forwards: 255\n" - "extensionHeader-!.%*+_`'~: \xEF\xBB\xBF\xE5\xA4\xA7\xE5\x81\x9C\xE9\x9B\xBB\n" - "Content-Length: 0\r\n\r\n", - NULL, - 641, - PJ_SUCCESS -}, -{ - /* Torture message from RFC 4475 - * 3.1.1.3 Valid Use of the % Escaping Mechanism - */ - "INVITE sip:sips%3Auser%40example.com@example.net SIP/2.0\n" - "To: sip:%75se%72@example.com\n" - "From: ;tag=1234\n" - "Max-Forwards: 87\n" - "i: esc01.239409asdfakjkn23onasd0-3234\n" - "CSeq: 234234 INVITE\n" - "Via: SIP/2.0/UDP host5.example.net;rport;branch=z9hG4bKkdjuw\n" - "C: application/sdp\n" - "Contact:\n" - " \n" - "Content-Length: 150\r\n" - "\r\n" - "v=0\r\n" - "o=mhandley 29739 7272939 IN IP4 192.0.2.1\r\n" - "s=-\r\n" - "c=IN IP4 192.0.2.1\r\n" - "t=0 0\r\n" - "m=audio 49217 RTP/AVP 0 12\r\n" - "m=video 3227 RTP/AVP 31\r\n" - "a=rtpmap:31 LPC\r\n", - NULL, - 0, - PJ_SUCCESS -}, -{ - /* Torture message from RFC 4475 - * 3.1.1.4 Escaped Nulls in URIs - */ - "REGISTER sip:example.com SIP/2.0\r\n" - "To: sip:null-%00-null@example.com\r\n" - "From: sip:null-%00-null@example.com;tag=839923423\r\n" - "Max-Forwards: 70\r\n" - "Call-ID: escnull.39203ndfvkjdasfkq3w4otrq0adsfdfnavd\r\n" - "CSeq: 14398234 REGISTER\r\n" - "Via: SIP/2.0/UDP host5.example.com;rport;branch=z9hG4bKkdjuw\r\n" - "Contact: \r\n" - "Contact: \r\n" - "L:0\r\n" - "\r\n", - NULL, - 0, - PJ_SUCCESS -}, -{ - /* Torture message from RFC 4475 - * 3.1.1.5 Use of % When It Is Not an Escape - */ - "RE%47IST%45R sip:registrar.example.com SIP/2.0\r\n" - "To: \"%Z%45\" \r\n" - "From: \"%Z%45\" ;tag=f232jadfj23\r\n" - "Call-ID: esc02.asdfnqwo34rq23i34jrjasdcnl23nrlknsdf\r\n" - "Via: SIP/2.0/TCP host.example.com;rport;branch=z9hG4bK209%fzsnel234\r\n" - "CSeq: 29344 RE%47IST%45R\r\n" - "Max-Forwards: 70\r\n" - "Contact: \r\n" - "C%6Fntact: \r\n" - "Contact: \r\n" - "l: 0\r\n" - "\r\n", - NULL, - 0, - PJ_SUCCESS -} -}; - -static struct -{ - int flag; - pj_highprec_t detect_len, parse_len, print_len; - pj_timestamp detect_time, parse_time, print_time; -} var; - -static pj_status_t test_entry( pj_pool_t *pool, struct test_msg *entry ) -{ - pjsip_msg *parsed_msg, *ref_msg = NULL; - static pjsip_msg *print_msg; - pj_status_t status = PJ_SUCCESS; - int len; - pj_str_t str1, str2; - pjsip_hdr *hdr1, *hdr2; - pj_timestamp t1, t2; - pjsip_parser_err_report err_list; - pj_size_t msg_size; - char msgbuf1[PJSIP_MAX_PKT_LEN]; - char msgbuf2[PJSIP_MAX_PKT_LEN]; - enum { BUFLEN = 512 }; - - if (entry->len==0) - entry->len = pj_ansi_strlen(entry->msg); - - if (var.flag & FLAG_PARSE_ONLY) - goto parse_msg; - - if (var.flag & FLAG_PRINT_ONLY) { - if (print_msg == NULL) - print_msg = entry->creator(pool); - goto print_msg; - } - - /* Detect message. */ - var.detect_len = var.detect_len + entry->len; - pj_get_timestamp(&t1); - status = pjsip_find_msg(entry->msg, entry->len, PJ_FALSE, &msg_size); - if (status != PJ_SUCCESS) { - if (status!=PJSIP_EPARTIALMSG || - entry->expected_status!=STATUS_PARTIAL) - { - app_perror(" error: unable to detect message", status); - return -5; - } - } - if (msg_size != entry->len) { - PJ_LOG(3,(THIS_FILE, " error: size mismatch")); - return -6; - } - pj_get_timestamp(&t2); - pj_sub_timestamp(&t2, &t1); - pj_add_timestamp(&var.detect_time, &t2); - - if (var.flag & FLAG_DETECT_ONLY) - return PJ_SUCCESS; - - /* Parse message. */ -parse_msg: - var.parse_len = var.parse_len + entry->len; - pj_get_timestamp(&t1); - pj_list_init(&err_list); - parsed_msg = pjsip_parse_msg(pool, entry->msg, entry->len, &err_list); - if (parsed_msg == NULL) { - if (entry->expected_status != STATUS_SYNTAX_ERROR) { - status = -10; - if (err_list.next != &err_list) { - PJ_LOG(3,(THIS_FILE, " Syntax error in line %d col %d", - err_list.next->line, err_list.next->col)); - } - goto on_return; - } - } - pj_get_timestamp(&t2); - pj_sub_timestamp(&t2, &t1); - pj_add_timestamp(&var.parse_time, &t2); - - if ((var.flag & FLAG_PARSE_ONLY) || entry->creator==NULL) - return PJ_SUCCESS; - - /* Create reference message. */ - ref_msg = entry->creator(pool); - - /* Create buffer for comparison. */ - str1.ptr = (char*)pj_pool_alloc(pool, BUFLEN); - str2.ptr = (char*)pj_pool_alloc(pool, BUFLEN); - - /* Compare message type. */ - if (parsed_msg->type != ref_msg->type) { - status = -20; - goto on_return; - } - - /* Compare request or status line. */ - if (parsed_msg->type == PJSIP_REQUEST_MSG) { - pjsip_method *m1 = &parsed_msg->line.req.method; - pjsip_method *m2 = &ref_msg->line.req.method; - - if (pjsip_method_cmp(m1, m2) != 0) { - status = -30; - goto on_return; - } - status = pjsip_uri_cmp(PJSIP_URI_IN_REQ_URI, - parsed_msg->line.req.uri, - ref_msg->line.req.uri); - if (status != PJ_SUCCESS) { - app_perror(" error: request URI mismatch", status); - status = -31; - goto on_return; - } - } else { - if (parsed_msg->line.status.code != ref_msg->line.status.code) { - PJ_LOG(3,(THIS_FILE, " error: status code mismatch")); - status = -32; - goto on_return; - } - if (pj_strcmp(&parsed_msg->line.status.reason, - &ref_msg->line.status.reason) != 0) - { - PJ_LOG(3,(THIS_FILE, " error: status text mismatch")); - status = -33; - goto on_return; - } - } - - /* Compare headers. */ - hdr1 = parsed_msg->hdr.next; - hdr2 = ref_msg->hdr.next; - - while (hdr1 != &parsed_msg->hdr && hdr2 != &ref_msg->hdr) { - len = pjsip_hdr_print_on(hdr1, str1.ptr, BUFLEN); - if (len < 0) { - status = -40; - goto on_return; - } - str1.ptr[len] = '\0'; - str1.slen = len; - - len = pjsip_hdr_print_on(hdr2, str2.ptr, BUFLEN); - if (len < 0) { - status = -50; - goto on_return; - } - str2.ptr[len] = '\0'; - str2.slen = len; - - if (pj_strcmp(&str1, &str2) != 0) { - status = -60; - PJ_LOG(3,(THIS_FILE, " error: header string mismatch:\n" - " h1='%s'\n" - " h2='%s'\n", - str1.ptr, str2.ptr)); - goto on_return; - } - - hdr1 = hdr1->next; - hdr2 = hdr2->next; - } - - if (hdr1 != &parsed_msg->hdr || hdr2 != &ref_msg->hdr) { - status = -70; - goto on_return; - } - - /* Compare body? */ - if (parsed_msg->body==NULL && ref_msg->body==NULL) - goto print_msg; - - /* Compare msg body length. */ - if (parsed_msg->body->len != ref_msg->body->len) { - status = -80; - goto on_return; - } - - /* Compare msg body content type. */ - if (pj_strcmp(&parsed_msg->body->content_type.type, - &ref_msg->body->content_type.type) != 0) { - status = -90; - goto on_return; - } - if (pj_strcmp(&parsed_msg->body->content_type.subtype, - &ref_msg->body->content_type.subtype) != 0) { - status = -100; - goto on_return; - } - - /* Compare body content. */ - str1.slen = parsed_msg->body->print_body(parsed_msg->body, - msgbuf1, sizeof(msgbuf1)); - if (str1.slen < 1) { - status = -110; - goto on_return; - } - str1.ptr = msgbuf1; - - str2.slen = ref_msg->body->print_body(ref_msg->body, - msgbuf2, sizeof(msgbuf2)); - if (str2.slen < 1) { - status = -120; - goto on_return; - } - str2.ptr = msgbuf2; - - if (pj_strcmp(&str1, &str2) != 0) { - status = -140; - goto on_return; - } - - /* Print message. */ -print_msg: - var.print_len = var.print_len + entry->len; - pj_get_timestamp(&t1); - if (var.flag && FLAG_PRINT_ONLY) - ref_msg = print_msg; - len = pjsip_msg_print(ref_msg, msgbuf1, PJSIP_MAX_PKT_LEN); - if (len < 1) { - status = -150; - goto on_return; - } - pj_get_timestamp(&t2); - pj_sub_timestamp(&t2, &t1); - pj_add_timestamp(&var.print_time, &t2); - - - status = PJ_SUCCESS; - -on_return: - return status; -} - - -static pjsip_msg *create_msg0(pj_pool_t *pool) -{ - - pjsip_msg *msg; - pjsip_name_addr *name_addr; - pjsip_sip_uri *url; - pjsip_fromto_hdr *fromto; - pjsip_cid_hdr *cid; - pjsip_clen_hdr *clen; - pjsip_cseq_hdr *cseq; - pjsip_contact_hdr *contact; - pjsip_ctype_hdr *ctype; - pjsip_routing_hdr *routing; - pjsip_via_hdr *via; - pjsip_generic_string_hdr *generic; - pjsip_param *prm; - pj_str_t str; - - msg = pjsip_msg_create(pool, PJSIP_REQUEST_MSG); - - /* "INVITE sip:user@foo SIP/2.0\n" */ - pjsip_method_set(&msg->line.req.method, PJSIP_INVITE_METHOD); - url = pjsip_sip_uri_create(pool, 0); - msg->line.req.uri = (pjsip_uri*)url; - pj_strdup2(pool, &url->user, "user"); - pj_strdup2(pool, &url->host, "foo"); - - /* "From: Hi I'm Joe ;tag=123457890123456\r" */ - fromto = pjsip_from_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)fromto); - pj_strdup2(pool, &fromto->tag, "123457890123456"); - name_addr = pjsip_name_addr_create(pool); - fromto->uri = (pjsip_uri*)name_addr; - pj_strdup2(pool, &name_addr->display, "Hi I'm Joe"); - url = pjsip_sip_uri_create(pool, 0); - name_addr->uri = (pjsip_uri*)url; - pj_strdup2(pool, &url->user, "joe.user"); - pj_strdup2(pool, &url->host, "bar.otherdomain.com"); - - /* "To: Fellow User \r\n" */ - fromto = pjsip_to_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)fromto); - name_addr = pjsip_name_addr_create(pool); - fromto->uri = (pjsip_uri*)name_addr; - pj_strdup2(pool, &name_addr->display, "Fellow User"); - url = pjsip_sip_uri_create(pool, 0); - name_addr->uri = (pjsip_uri*)url; - pj_strdup2(pool, &url->user, "user"); - pj_strdup2(pool, &url->host, "foo.bar.domain.com"); - - /* "Call-ID: 12345678901234567890@bar\r\n" */ - cid = pjsip_cid_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)cid); - pj_strdup2(pool, &cid->id, "12345678901234567890@bar"); - - /* "Content-Length: 0\r\n" */ - clen = pjsip_clen_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)clen); - clen->len = 0; - - /* "CSeq: 123456 INVITE\n" */ - cseq = pjsip_cseq_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)cseq); - cseq->cseq = 123456; - pjsip_method_set(&cseq->method, PJSIP_INVITE_METHOD); - - /* "Contact: ;q=0.5;expires=3600*/ - contact = pjsip_contact_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)contact); - contact->q1000 = 500; - contact->expires = 3600; - name_addr = pjsip_name_addr_create(pool); - contact->uri = (pjsip_uri*)name_addr; - url = pjsip_sip_uri_create(pool, 0); - name_addr->uri = (pjsip_uri*)url; - pj_strdup2(pool, &url->user, "joe"); - pj_strdup2(pool, &url->host, "bar"); - - /*, sip:user@host;q=0.500\r" */ - contact = pjsip_contact_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)contact); - contact->q1000 = 500; - name_addr = pjsip_name_addr_create(pool); - contact->uri = (pjsip_uri*)name_addr; - url = pjsip_sip_uri_create(pool, 0); - name_addr->uri = (pjsip_uri*)url; - pj_strdup2(pool, &url->user, "user"); - pj_strdup2(pool, &url->host, "host"); - - /* " ,sip:user2@host2\n" */ - contact = pjsip_contact_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)contact); - name_addr = pjsip_name_addr_create(pool); - contact->uri = (pjsip_uri*)name_addr; - url = pjsip_sip_uri_create(pool, 0); - name_addr->uri = (pjsip_uri*)url; - pj_strdup2(pool, &url->user, "user2"); - pj_strdup2(pool, &url->host, "host2"); - - /* "Content-Type: text/html; charset=ISO-8859-4\r" */ - ctype = pjsip_ctype_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)ctype); - pj_strdup2(pool, &ctype->media.type, "text"); - pj_strdup2(pool, &ctype->media.subtype, "html"); - prm = PJ_POOL_ALLOC_T(pool, pjsip_param); - prm->name = pj_str("charset"); - prm->value = pj_str("ISO-8859-4"); - pj_list_push_back(&ctype->media.param, prm); - - /* "Route: ,\r\n" */ - routing = pjsip_route_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)routing); - url = pjsip_sip_uri_create(pool, 0); - routing->name_addr.uri = (pjsip_uri*)url; - pj_strdup2(pool, &url->host, "bigbox3.site3.atlanta.com"); - url->lr_param = 1; - - /* " \r" */ - routing = pjsip_route_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)routing); - url = pjsip_sip_uri_create(pool, 0); - routing->name_addr.uri = (pjsip_uri*)url; - pj_strdup2(pool, &url->host, "server10.biloxi.com"); - url->lr_param = 1; - - /* "Record-Route: ,\r\n" */ - routing = pjsip_rr_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)routing); - url = pjsip_sip_uri_create(pool, 0); - routing->name_addr.uri = (pjsip_uri*)url; - pj_strdup2(pool, &url->host, "server10.biloxi.com"); - url->lr_param = 0; - - /* " \n" */ - routing = pjsip_rr_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)routing); - url = pjsip_sip_uri_create(pool, 0); - routing->name_addr.uri = (pjsip_uri*)url; - pj_strdup2(pool, &url->host, "bigbox3.site3.atlanta.com"); - url->lr_param = 1; - - /* "Via: SIP/2.0/SCTP bigbox3.site3.atlanta.com;branch=z9hG4bK77ef4c230\n" */ - via = pjsip_via_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)via); - pj_strdup2(pool, &via->transport, "SCTP"); - pj_strdup2(pool, &via->sent_by.host, "bigbox3.site3.atlanta.com"); - pj_strdup2(pool, &via->branch_param, "z9hG4bK77ef4c230"); - - /* "Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bKnashds8\n" - " ;received=192.0.2.1\r\n" */ - via = pjsip_via_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)via); - pj_strdup2(pool, &via->transport, "UDP"); - pj_strdup2(pool, &via->sent_by.host, "pc33.atlanta.com"); - pj_strdup2(pool, &via->branch_param, "z9hG4bKnashds8"); - pj_strdup2(pool, &via->recvd_param, "192.0.2.1"); - - - /* "Via: SIP/2.0/UDP 10.2.1.1, */ - via = pjsip_via_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)via); - pj_strdup2(pool, &via->transport, "UDP"); - pj_strdup2(pool, &via->sent_by.host, "10.2.1.1"); - - - /*SIP/2.0/TCP 192.168.1.1\n" */ - via = pjsip_via_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)via); - pj_strdup2(pool, &via->transport, "TCP"); - pj_strdup2(pool, &via->sent_by.host, "192.168.1.1"); - - /* "Organization: \r" */ - str.ptr = "Organization"; - str.slen = 12; - generic = pjsip_generic_string_hdr_create(pool, &str, NULL); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)generic); - generic->hvalue.ptr = NULL; - generic->hvalue.slen = 0; - - /* "Max-Forwards: 70\n" */ - str.ptr = "Max-Forwards"; - str.slen = 12; - generic = pjsip_generic_string_hdr_create(pool, &str, NULL); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)generic); - str.ptr = "70"; - str.slen = 2; - generic->hvalue = str; - - /* "X-Header: \r\n" */ - str.ptr = "X-Header"; - str.slen = 8; - generic = pjsip_generic_string_hdr_create(pool, &str, NULL); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)generic); - str.ptr = NULL; - str.slen = 0; - generic->hvalue = str; - - /* P-Associated-URI:\r\n */ - str.ptr = "P-Associated-URI"; - str.slen = 16; - generic = pjsip_generic_string_hdr_create(pool, &str, NULL); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)generic); - str.ptr = NULL; - str.slen = 0; - generic->hvalue = str; - - return msg; -} - -static pjsip_msg *create_msg1(pj_pool_t *pool) -{ - pjsip_via_hdr *via; - pjsip_route_hdr *route; - pjsip_name_addr *name_addr; - pjsip_sip_uri *url; - pjsip_max_fwd_hdr *max_fwd; - pjsip_to_hdr *to; - pjsip_from_hdr *from; - pjsip_contact_hdr *contact; - pjsip_ctype_hdr *ctype; - pjsip_cid_hdr *cid; - pjsip_clen_hdr *clen; - pjsip_cseq_hdr *cseq; - pjsip_msg *msg = pjsip_msg_create(pool, PJSIP_RESPONSE_MSG); - pjsip_msg_body *body; - - //"SIP/2.0 200 OK\r\n" - msg->line.status.code = 200; - msg->line.status.reason = pj_str("OK"); - - //"Via: SIP/2.0/SCTP server10.biloxi.com;branch=z9hG4bKnashds8;rport;received=192.0.2.1\r\n" - via = pjsip_via_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)via); - via->transport = pj_str("SCTP"); - via->sent_by.host = pj_str("server10.biloxi.com"); - via->branch_param = pj_str("z9hG4bKnashds8"); - via->rport_param = 0; - via->recvd_param = pj_str("192.0.2.1"); - - //"Via: SIP/2.0/UDP bigbox3.site3.atlanta.com;branch=z9hG4bK77ef4c2312983.1;received=192.0.2.2\r\n" - via = pjsip_via_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)via); - via->transport = pj_str("UDP"); - via->sent_by.host = pj_str("bigbox3.site3.atlanta.com"); - via->branch_param = pj_str("z9hG4bK77ef4c2312983.1"); - via->recvd_param = pj_str("192.0.2.2"); - - //"Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bK776asdhds ;received=192.0.2.3\r\n" - via = pjsip_via_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)via); - via->transport = pj_str("UDP"); - via->sent_by.host = pj_str("pc33.atlanta.com"); - via->branch_param = pj_str("z9hG4bK776asdhds"); - via->recvd_param = pj_str("192.0.2.3"); - - //"Route: \r\n" - route = pjsip_route_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)route); - url = pjsip_sip_uri_create(pool, PJ_FALSE); - route->name_addr.uri = (pjsip_uri*)url; - url->host = pj_str("proxy.sipprovider.com"); - - //"Route: \r\n" - route = pjsip_route_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)route); - url = pjsip_sip_uri_create(pool, PJ_FALSE); - route->name_addr.uri = (pjsip_uri*)url; - url->host = pj_str("proxy.supersip.com"); - url->port = 5060; - - //"Max-Forwards: 70\r\n" - max_fwd = pjsip_max_fwd_hdr_create(pool, 70); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)max_fwd); - - //"To: Bob ;tag=a6c85cf\r\n" - to = pjsip_to_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)to); - name_addr = pjsip_name_addr_create(pool); - name_addr->display = pj_str("Bob"); - to->uri = (pjsip_uri*)name_addr; - url = pjsip_sip_uri_create(pool, PJ_FALSE); - name_addr->uri = (pjsip_uri*)url; - url->user = pj_str("bob"); - url->host = pj_str("biloxi.com"); - to->tag = pj_str("a6c85cf"); - - //"From: Alice ;tag=1928301774\r\n" - from = pjsip_from_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)from); - name_addr = pjsip_name_addr_create(pool); - name_addr->display = pj_str("Alice"); - from->uri = (pjsip_uri*)name_addr; - url = pjsip_sip_uri_create(pool, PJ_FALSE); - name_addr->uri = (pjsip_uri*)url; - url->user = pj_str("alice"); - url->host = pj_str("atlanta.com"); - from->tag = pj_str("1928301774"); - - //"Call-ID: a84b4c76e66710@pc33.atlanta.com\r\n" - cid = pjsip_cid_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)cid); - cid->id = pj_str("a84b4c76e66710@pc33.atlanta.com"); - - //"CSeq: 314159 INVITE\r\n" - cseq = pjsip_cseq_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)cseq); - cseq->cseq = 314159; - pjsip_method_set(&cseq->method, PJSIP_INVITE_METHOD); - - //"Contact: \r\n" - contact = pjsip_contact_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)contact); - name_addr = pjsip_name_addr_create(pool); - contact->uri = (pjsip_uri*)name_addr; - url = pjsip_sip_uri_create(pool, PJ_TRUE); - name_addr->uri = (pjsip_uri*)url; - url->user = pj_str("bob"); - url->host = pj_str("192.0.2.4"); - - //"Content-Type: application/sdp\r\n" - ctype = pjsip_ctype_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)ctype); - ctype->media.type = pj_str("application"); - ctype->media.subtype = pj_str("sdp"); - - //"Content-Length: 150\r\n" - clen = pjsip_clen_hdr_create(pool); - pjsip_msg_add_hdr(msg, (pjsip_hdr*)clen); - clen->len = 150; - - // Body - body = PJ_POOL_ZALLOC_T(pool, pjsip_msg_body); - msg->body = body; - body->content_type.type = pj_str("application"); - body->content_type.subtype = pj_str("sdp"); - body->data = (void*) - "v=0\r\n" - "o=alice 53655765 2353687637 IN IP4 pc33.atlanta.com\r\n" - "s=-\r\n" - "t=0 0\r\n" - "c=IN IP4 pc33.atlanta.com\r\n" - "m=audio 3456 RTP/AVP 0 1 3 99\r\n" - "a=rtpmap:0 PCMU/8000\r\n"; - body->len = pj_ansi_strlen((const char*) body->data); - body->print_body = &pjsip_print_text_body; - - return msg; -} - -/*****************************************************************************/ - -static pj_status_t simple_test(void) -{ - char stbuf[] = "SIP/2.0 180 Ringing like it never rings before"; - unsigned i; - pjsip_status_line st_line; - pj_status_t status; - - PJ_LOG(3,(THIS_FILE, " simple test..")); - - status = pjsip_parse_status_line(stbuf, pj_ansi_strlen(stbuf), &st_line); - if (status != PJ_SUCCESS) - return status; - - for (i=0; i" - -#define HDR_FLAG_PARSE_FAIL 1 -#define HDR_FLAG_DONT_PRINT 2 - -struct hdr_test_t -{ - char *hname; - char *hshort_name; - char *hcontent; - int (*test)(pjsip_hdr*); - unsigned flags; -} hdr_test_data[] = -{ - { - /* Empty Accept */ - "Accept", NULL, - "", - &hdr_test_accept0 - }, - - { - /* Overflowing generic string header */ - "Accept", NULL, - "a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, " \ - "a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, " \ - "a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, " \ - "a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, " \ - "a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, " \ - "a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, " \ - "a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, " \ - "a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a", - &hdr_test_success, - HDR_FLAG_PARSE_FAIL - }, - - { - /* Normal Accept */ - "Accept", NULL, - "application/*, text/plain", - &hdr_test_accept1 - }, - - { - /* Accept with params */ - "Accept", NULL, - "application/*;p1=v1, text/plain", - &hdr_test_accept2 - }, - - { - /* Empty Allow */ - "Allow", NULL, - "", - &hdr_test_allow0, - }, - - { - /* Authorization, testing which params should be quoted */ - "Authorization", NULL, - "Digest username=\"username\", realm=\"realm\", nonce=\"nonce\", " \ - "uri=\"sip:domain\", response=\"RESPONSE\", algorithm=MD5, " \ - "cnonce=\"CNONCE\", opaque=\"OPAQUE\", qop=auth, nc=00000001", - &hdr_test_authorization - }, - - { - /* Call ID */ - "Call-ID", "i", - "-.!%*_+`'~()<>:\\\"/[]?{}", - &hdr_test_cid, - }, - - { - /* Parameter belong to hparam */ - "Contact", "m", - SIMPLE_ADDR_SPEC ";p1=v1", - &hdr_test_contact0, - HDR_FLAG_DONT_PRINT - }, - - { - /* generic-param in Contact header */ - "Contact", "m", - NAME_ADDR ";" GENERIC_PARAM, - &hdr_test_contact1 - }, - - { - /* q=0 parameter in Contact header */ - "Contact", "m", - NAME_ADDR ";q=0", - &hdr_test_contact_q0, - HDR_FLAG_DONT_PRINT - }, - - { - /* q=0.5 parameter in Contact header */ - "Contact", "m", - NAME_ADDR ";q=0.5", - &hdr_test_contact_q1 - }, - - { - /* q=1 parameter in Contact header */ - "Contact", "m", - NAME_ADDR ";q=1", - &hdr_test_contact_q2 - }, - - { - /* q=1.0 parameter in Contact header */ - "Contact", "m", - NAME_ADDR ";q=1.0", - &hdr_test_contact_q3, - HDR_FLAG_DONT_PRINT - }, - - { - /* q=1.1 parameter in Contact header */ - "Contact", "m", - NAME_ADDR ";q=1.15", - &hdr_test_contact_q4 - }, - - { - /* Content-Length */ - "Content-Length", "l", - "10", - &hdr_test_content_length - }, - - { - /* Content-Type, with generic-param */ - "Content-Type", "c", - "application/sdp" ";" GENERIC_PARAM, - &hdr_test_content_type, - HDR_FLAG_DONT_PRINT - }, - - { - /* From, testing parameters and generic-param */ - "From", "f", - NAME_ADDR ";" GENERIC_PARAM, - &hdr_test_from - }, - - { - /* Proxy-Authenticate, testing which params should be quoted */ - "Proxy-Authenticate", NULL, - "Digest realm=\"realm\",domain=\"sip:domain\",nonce=\"nonce\"," \ - "opaque=\"opaque\",stale=true,algorithm=MD5,qop=\"auth\"", - &hdr_test_proxy_authenticate - }, - - { - /* Record-Route, param belong to header */ - "Record-Route", NULL, - NAME_ADDR ";" GENERIC_PARAM, - &hdr_test_record_route - }, - - { - /* Empty Supported */ - "Supported", "k", - "", - &hdr_test_supported, - }, - - { - /* To */ - "To", "t", - NAME_ADDR ";" GENERIC_PARAM, - &hdr_test_to - }, - - { - /* Via */ - "Via", "v", - "SIP/2.0/XYZ host" ";" GENERIC_PARAM, - &hdr_test_via - }, - - { - /* Via with IPv6 */ - "Via", "v", - "SIP/2.0/UDP [::1]", - &hdr_test_via_ipv6_1 - }, - - { - /* Via with IPv6 */ - "Via", "v", - "SIP/2.0/UDP [::1]:5061", - &hdr_test_via_ipv6_2 - }, - - { - /* Via with IPv6 */ - "Via", "v", - "SIP/2.0/UDP [::1];rport=5061;received=::2", - &hdr_test_via_ipv6_3 - }, - - { - /* Retry-After header with comment */ - "Retry-After", NULL, - "10(Already Pending Register)", - &hdr_test_retry_after1 - }, - - { - /* Non-ASCII UTF-8 characters in Subject */ - "Subject", NULL, - "\xC0\x81", - &hdr_test_subject_utf - } -}; - -static int hdr_test_success(pjsip_hdr *h) -{ - PJ_UNUSED_ARG(h); - return 0; -} - -/* "" */ -static int hdr_test_accept0(pjsip_hdr *h) -{ - pjsip_accept_hdr *hdr = (pjsip_accept_hdr*)h; - - if (h->type != PJSIP_H_ACCEPT) - return -1010; - - if (hdr->count != 0) - return -1020; - - return 0; -} - -/* "application/ *, text/plain\r\n" */ -static int hdr_test_accept1(pjsip_hdr *h) -{ - pjsip_accept_hdr *hdr = (pjsip_accept_hdr*)h; - - if (h->type != PJSIP_H_ACCEPT) - return -1110; - - if (hdr->count != 2) - return -1120; - - if (pj_strcmp2(&hdr->values[0], "application/*")) - return -1130; - - if (pj_strcmp2(&hdr->values[1], "text/plain")) - return -1140; - - return 0; -} - -/* "application/ *;p1=v1, text/plain\r\n" */ -static int hdr_test_accept2(pjsip_hdr *h) -{ - pjsip_accept_hdr *hdr = (pjsip_accept_hdr*)h; - - if (h->type != PJSIP_H_ACCEPT) - return -1210; - - if (hdr->count != 2) - return -1220; - - if (pj_strcmp2(&hdr->values[0], "application/*;p1=v1")) - return -1230; - - if (pj_strcmp2(&hdr->values[1], "text/plain")) - return -1240; - - return 0; -} - -/* "" */ -static int hdr_test_allow0(pjsip_hdr *h) -{ - pjsip_allow_hdr *hdr = (pjsip_allow_hdr*)h; - - if (h->type != PJSIP_H_ALLOW) - return -1310; - - if (hdr->count != 0) - return -1320; - - return 0; - -} - - -/* - "Digest username=\"username\", realm=\"realm\", nonce=\"nonce\", " \ - "uri=\"sip:domain\", response=\"RESPONSE\", algorithm=MD5, " \ - "cnonce=\"CNONCE\", opaque=\"OPAQUE\", qop=auth, nc=00000001", - */ -static int hdr_test_authorization(pjsip_hdr *h) -{ - pjsip_authorization_hdr *hdr = (pjsip_authorization_hdr*)h; - - if (h->type != PJSIP_H_AUTHORIZATION) - return -1410; - - if (pj_strcmp2(&hdr->scheme, "Digest")) - return -1420; - - if (pj_strcmp2(&hdr->credential.digest.username, "username")) - return -1421; - - if (pj_strcmp2(&hdr->credential.digest.realm, "realm")) - return -1422; - - if (pj_strcmp2(&hdr->credential.digest.nonce, "nonce")) - return -1423; - - if (pj_strcmp2(&hdr->credential.digest.uri, "sip:domain")) - return -1424; - - if (pj_strcmp2(&hdr->credential.digest.response, "RESPONSE")) - return -1425; - - if (pj_strcmp2(&hdr->credential.digest.algorithm, "MD5")) - return -1426; - - if (pj_strcmp2(&hdr->credential.digest.cnonce, "CNONCE")) - return -1427; - - if (pj_strcmp2(&hdr->credential.digest.opaque, "OPAQUE")) - return -1428; - - if (pj_strcmp2(&hdr->credential.digest.qop, "auth")) - return -1429; - - if (pj_strcmp2(&hdr->credential.digest.nc, "00000001")) - return -1430; - - return 0; -} - - -/* - "-.!%*_+`'~()<>:\\\"/[]?{}\r\n" - */ -static int hdr_test_cid(pjsip_hdr *h) -{ - pjsip_cid_hdr *hdr = (pjsip_cid_hdr*)h; - - if (h->type != PJSIP_H_CALL_ID) - return -1510; - - if (pj_strcmp2(&hdr->id, "-.!%*_+`'~()<>:\\\"/[]?{}")) - return -1520; - - return 0; -} - -/* - #define SIMPLE_ADDR_SPEC "sip:host" - */ -static int test_simple_addr_spec(pjsip_uri *uri) -{ - pjsip_sip_uri *sip_uri = (pjsip_sip_uri *)pjsip_uri_get_uri(uri); - - if (!PJSIP_URI_SCHEME_IS_SIP(uri)) - return -900; - - if (pj_strcmp2(&sip_uri->host, "host")) - return -910; - - if (sip_uri->port != 0) - return -920; - - return 0; -} - -/* -#define PARAM_CHAR "][/:&+$" -#define SIMPLE_ADDR_SPEC "sip:host" -#define ADDR_SPEC SIMPLE_ADDR_SPEC ";"PARAM_CHAR"="PARAM_CHAR ";p1=\";\"" -#define NAME_ADDR "<" ADDR_SPEC ">" - */ -static int nameaddr_test(void *uri) -{ - pjsip_sip_uri *sip_uri=(pjsip_sip_uri *)pjsip_uri_get_uri((pjsip_uri*)uri); - pjsip_param *param; - int rc; - - if (!PJSIP_URI_SCHEME_IS_SIP(uri)) - return -930; - - rc = test_simple_addr_spec((pjsip_uri*)sip_uri); - if (rc != 0) - return rc; - - if (pj_list_size(&sip_uri->other_param) != 2) - return -940; - - param = sip_uri->other_param.next; - - if (pj_strcmp2(¶m->name, PARAM_CHAR)) - return -942; - - if (pj_strcmp2(¶m->value, PARAM_CHAR)) - return -943; - - param = param->next; - if (pj_strcmp2(¶m->name, "p1")) - return -942; - if (pj_strcmp2(¶m->value, "\";\"")) - return -943; - - return 0; -} - -/* -#define GENERIC_PARAM "p0=a;p1=\"ab:;cd\";p2=ab%3acd;p3" - */ -static int generic_param_test(pjsip_param *param_head) -{ - pjsip_param *param; - - if (pj_list_size(param_head) != 4) - return -950; - - param = param_head->next; - - if (pj_strcmp2(¶m->name, "p0")) - return -952; - if (pj_strcmp2(¶m->value, "a")) - return -953; - - param = param->next; - if (pj_strcmp2(¶m->name, "p1")) - return -954; - if (pj_strcmp2(¶m->value, "\"ab:;cd\"")) - return -955; - - param = param->next; - if (pj_strcmp2(¶m->name, "p2")) - return -956; - if (pj_strcmp2(¶m->value, "ab:cd")) - return -957; - - param = param->next; - if (pj_strcmp2(¶m->name, "p3")) - return -958; - if (pj_strcmp2(¶m->value, "")) - return -959; - - return 0; -} - - - -/* - SIMPLE_ADDR_SPEC ";p1=v1\r\n" - */ -static int hdr_test_contact0(pjsip_hdr *h) -{ - pjsip_contact_hdr *hdr = (pjsip_contact_hdr*)h; - pjsip_param *param; - int rc; - - if (h->type != PJSIP_H_CONTACT) - return -1610; - - rc = test_simple_addr_spec(hdr->uri); - if (rc != 0) - return rc; - - if (pj_list_size(&hdr->other_param) != 1) - return -1620; - - param = hdr->other_param.next; - - if (pj_strcmp2(¶m->name, "p1")) - return -1630; - - if (pj_strcmp2(¶m->value, "v1")) - return -1640; - - return 0; -} - -/* - NAME_ADDR GENERIC_PARAM "\r\n", - */ -static int hdr_test_contact1(pjsip_hdr *h) -{ - pjsip_contact_hdr *hdr = (pjsip_contact_hdr*)h; - int rc; - - if (h->type != PJSIP_H_CONTACT) - return -1710; - - rc = nameaddr_test(hdr->uri); - if (rc != 0) - return rc; - - rc = generic_param_test(&hdr->other_param); - if (rc != 0) - return rc; - - return 0; -} - -/* - NAME_ADDR ";q=0" - */ -static int hdr_test_contact_q0(pjsip_hdr *h) -{ - pjsip_contact_hdr *hdr = (pjsip_contact_hdr*)h; - int rc; - - if (h->type != PJSIP_H_CONTACT) - return -1710; - - rc = nameaddr_test(hdr->uri); - if (rc != 0) - return rc; - - if (hdr->q1000 != 0) - return -1711; - - return 0; -} - -/* - NAME_ADDR ";q=0.5" - */ -static int hdr_test_contact_q1(pjsip_hdr *h) -{ - pjsip_contact_hdr *hdr = (pjsip_contact_hdr*)h; - int rc; - - if (h->type != PJSIP_H_CONTACT) - return -1710; - - rc = nameaddr_test(hdr->uri); - if (rc != 0) - return rc; - - if (hdr->q1000 != 500) - return -1712; - - return 0; -} - -/* - NAME_ADDR ";q=1" - */ -static int hdr_test_contact_q2(pjsip_hdr *h) -{ - pjsip_contact_hdr *hdr = (pjsip_contact_hdr*)h; - int rc; - - if (h->type != PJSIP_H_CONTACT) - return -1710; - - rc = nameaddr_test(hdr->uri); - if (rc != 0) - return rc; - - if (hdr->q1000 != 1000) - return -1713; - - return 0; -} - -/* - NAME_ADDR ";q=1.0" - */ -static int hdr_test_contact_q3(pjsip_hdr *h) -{ - pjsip_contact_hdr *hdr = (pjsip_contact_hdr*)h; - int rc; - - if (h->type != PJSIP_H_CONTACT) - return -1710; - - rc = nameaddr_test(hdr->uri); - if (rc != 0) - return rc; - - if (hdr->q1000 != 1000) - return -1714; - - return 0; -} - -/* - NAME_ADDR ";q=1.15" - */ -static int hdr_test_contact_q4(pjsip_hdr *h) -{ - pjsip_contact_hdr *hdr = (pjsip_contact_hdr*)h; - int rc; - - if (h->type != PJSIP_H_CONTACT) - return -1710; - - rc = nameaddr_test(hdr->uri); - if (rc != 0) - return rc; - - if (hdr->q1000 != 1150) - return -1715; - - return 0; -} - -/* - "10" - */ -static int hdr_test_content_length(pjsip_hdr *h) -{ - pjsip_clen_hdr *hdr = (pjsip_clen_hdr*)h; - - if (h->type != PJSIP_H_CONTENT_LENGTH) - return -1810; - - if (hdr->len != 10) - return -1820; - - return 0; -} - -/* - "application/sdp" GENERIC_PARAM, - */ -static int hdr_test_content_type(pjsip_hdr *h) -{ - pjsip_ctype_hdr *hdr = (pjsip_ctype_hdr*)h; - const pjsip_param *prm; - - if (h->type != PJSIP_H_CONTENT_TYPE) - return -1910; - - if (pj_strcmp2(&hdr->media.type, "application")) - return -1920; - - if (pj_strcmp2(&hdr->media.subtype, "sdp")) - return -1930; - - /* Currently, if the media parameter contains escaped characters, - * pjsip will print the parameter unescaped. - */ - prm = hdr->media.param.next; - if (prm == &hdr->media.param) return -1940; - if (pj_strcmp2(&prm->name, "p0")) return -1941; - if (pj_strcmp2(&prm->value, "a")) return -1942; - - prm = prm->next; - if (prm == &hdr->media.param) return -1950; - if (pj_strcmp2(&prm->name, "p1")) { PJ_LOG(3,("", "%.*s", (int)prm->name.slen, prm->name.ptr)); return -1951; } - if (pj_strcmp2(&prm->value, "\"ab:;cd\"")) { PJ_LOG(3,("", "%.*s", (int)prm->value.slen, prm->value.ptr)); return -1952; } - - prm = prm->next; - if (prm == &hdr->media.param) return -1960; - if (pj_strcmp2(&prm->name, "p2")) return -1961; - if (pj_strcmp2(&prm->value, "ab:cd")) return -1962; - - prm = prm->next; - if (prm == &hdr->media.param) return -1970; - if (pj_strcmp2(&prm->name, "p3")) return -1971; - if (pj_strcmp2(&prm->value, "")) return -1972; - - return 0; -} - -/* - NAME_ADDR GENERIC_PARAM, - */ -static int hdr_test_from(pjsip_hdr *h) -{ - pjsip_from_hdr *hdr = (pjsip_from_hdr*)h; - int rc; - - if (h->type != PJSIP_H_FROM) - return -2010; - - rc = nameaddr_test(hdr->uri); - if (rc != 0) - return rc; - - rc = generic_param_test(&hdr->other_param); - if (rc != 0) - return rc; - - return 0; -} - -/* - "Digest realm=\"realm\", domain=\"sip:domain\", nonce=\"nonce\", " \ - "opaque=\"opaque\", stale=true, algorithm=MD5, qop=\"auth\"", - */ -static int hdr_test_proxy_authenticate(pjsip_hdr *h) -{ - pjsip_proxy_authenticate_hdr *hdr = (pjsip_proxy_authenticate_hdr*)h; - - if (h->type != PJSIP_H_PROXY_AUTHENTICATE) - return -2110; - - if (pj_strcmp2(&hdr->scheme, "Digest")) - return -2120; - - if (pj_strcmp2(&hdr->challenge.digest.realm, "realm")) - return -2130; - - if (pj_strcmp2(&hdr->challenge.digest.domain, "sip:domain")) - return -2140; - - if (pj_strcmp2(&hdr->challenge.digest.nonce, "nonce")) - return -2150; - - if (pj_strcmp2(&hdr->challenge.digest.opaque, "opaque")) - return -2160; - - if (hdr->challenge.digest.stale != 1) - return -2170; - - if (pj_strcmp2(&hdr->challenge.digest.algorithm, "MD5")) - return -2180; - - if (pj_strcmp2(&hdr->challenge.digest.qop, "auth")) - return -2190; - - return 0; -} - -/* - NAME_ADDR GENERIC_PARAM, - */ -static int hdr_test_record_route(pjsip_hdr *h) -{ - pjsip_rr_hdr *hdr = (pjsip_rr_hdr*)h; - int rc; - - if (h->type != PJSIP_H_RECORD_ROUTE) - return -2210; - - rc = nameaddr_test(&hdr->name_addr); - if (rc != 0) - return rc; - - rc = generic_param_test(&hdr->other_param); - if (rc != 0) - return rc; - - return 0; - -} - -/* - " \r\n" - */ -static int hdr_test_supported(pjsip_hdr *h) -{ - pjsip_supported_hdr *hdr = (pjsip_supported_hdr*)h; - - if (h->type != PJSIP_H_SUPPORTED) - return -2310; - - if (hdr->count != 0) - return -2320; - - return 0; -} - -/* - NAME_ADDR GENERIC_PARAM, - */ -static int hdr_test_to(pjsip_hdr *h) -{ - pjsip_to_hdr *hdr = (pjsip_to_hdr*)h; - int rc; - - if (h->type != PJSIP_H_TO) - return -2410; - - rc = nameaddr_test(hdr->uri); - if (rc != 0) - return rc; - - rc = generic_param_test(&hdr->other_param); - if (rc != 0) - return rc; - - return 0; -} - -/* - "SIP/2.0 host" GENERIC_PARAM - */ -static int hdr_test_via(pjsip_hdr *h) -{ - pjsip_via_hdr *hdr = (pjsip_via_hdr*)h; - int rc; - - if (h->type != PJSIP_H_VIA) - return -2510; - - if (pj_strcmp2(&hdr->transport, "XYZ")) - return -2515; - - if (pj_strcmp2(&hdr->sent_by.host, "host")) - return -2520; - - if (hdr->sent_by.port != 0) - return -2530; - - rc = generic_param_test(&hdr->other_param); - if (rc != 0) - return rc; - - return 0; -} - - -/* - "SIP/2.0/UDP [::1]" - */ -static int hdr_test_via_ipv6_1(pjsip_hdr *h) -{ - pjsip_via_hdr *hdr = (pjsip_via_hdr*)h; - - if (h->type != PJSIP_H_VIA) - return -2610; - - if (pj_strcmp2(&hdr->transport, "UDP")) - return -2615; - - if (pj_strcmp2(&hdr->sent_by.host, "::1")) - return -2620; - - if (hdr->sent_by.port != 0) - return -2630; - - return 0; -} - -/* "SIP/2.0/UDP [::1]:5061" */ -static int hdr_test_via_ipv6_2(pjsip_hdr *h) -{ - pjsip_via_hdr *hdr = (pjsip_via_hdr*)h; - - if (h->type != PJSIP_H_VIA) - return -2710; - - if (pj_strcmp2(&hdr->transport, "UDP")) - return -2715; - - if (pj_strcmp2(&hdr->sent_by.host, "::1")) - return -2720; - - if (hdr->sent_by.port != 5061) - return -2730; - - return 0; -} - -/* "SIP/2.0/UDP [::1];rport=5061;received=::2" */ -static int hdr_test_via_ipv6_3(pjsip_hdr *h) -{ - pjsip_via_hdr *hdr = (pjsip_via_hdr*)h; - - if (h->type != PJSIP_H_VIA) - return -2810; - - if (pj_strcmp2(&hdr->transport, "UDP")) - return -2815; - - if (pj_strcmp2(&hdr->sent_by.host, "::1")) - return -2820; - - if (hdr->sent_by.port != 0) - return -2830; - - if (pj_strcmp2(&hdr->recvd_param, "::2")) - return -2840; - - if (hdr->rport_param != 5061) - return -2850; - - return 0; -} - -/* "10(Already Pending Register)" */ -static int hdr_test_retry_after1(pjsip_hdr *h) -{ - pjsip_retry_after_hdr *hdr = (pjsip_retry_after_hdr*)h; - - if (h->type != PJSIP_H_RETRY_AFTER) - return -2910; - - if (hdr->ivalue != 10) - return -2920; - - if (pj_strcmp2(&hdr->comment, "Already Pending Register")) - return -2930; - - return 0; -} - -/* Subject: \xC0\x81 */ -static int hdr_test_subject_utf(pjsip_hdr *h) -{ - pjsip_subject_hdr *hdr = (pjsip_subject_hdr*)h; - - if (pj_strcmp2(&h->name, "Subject")) - return -2950; - - if (pj_strcmp2(&hdr->hvalue, "\xC0\x81")) - return -2960; - - return 0; -} - -static int hdr_test(void) -{ - unsigned i; - - PJ_LOG(3,(THIS_FILE, " testing header parsing..")); - - for (i=0; ihname); - len = strlen(test->hcontent); -#if defined(PJSIP_UNESCAPE_IN_PLACE) && PJSIP_UNESCAPE_IN_PLACE!=0 - PJ_ASSERT_RETURN(len < sizeof(hcontent), PJSIP_EMSGTOOLONG); - strcpy(hcontent, test->hcontent); -#else - hcontent = test->hcontent; -#endif - - parsed_hdr1 = (pjsip_hdr*) pjsip_parse_hdr(pool, &hname, - hcontent, len, - &parsed_len); - if (parsed_hdr1 == NULL) { - if (test->flags & HDR_FLAG_PARSE_FAIL) { - pj_pool_release(pool); - continue; - } - PJ_LOG(3,(THIS_FILE, " error parsing header %s: %s", test->hname, test->hcontent)); - return -500; - } - - /* Test the parsing result */ - if (test->test && (rc=test->test(parsed_hdr1)) != 0) { - PJ_LOG(3,(THIS_FILE, " validation failed for header %s: %s", test->hname, test->hcontent)); - PJ_LOG(3,(THIS_FILE, " error code is %d", rc)); - return -502; - } - -#if 1 - /* Parse with hshortname, if present */ - if (test->hshort_name) { - hname = pj_str(test->hshort_name); - len = strlen(test->hcontent); -#if defined(PJSIP_UNESCAPE_IN_PLACE) && PJSIP_UNESCAPE_IN_PLACE!=0 - PJ_ASSERT_RETURN(len < sizeof(hcontent), PJSIP_EMSGTOOLONG); - strcpy(hcontent, test->hcontent); -#else - hcontent = test->hcontent; -#endif - - parsed_hdr2 = (pjsip_hdr*) pjsip_parse_hdr(pool, &hname, hcontent, len, &parsed_len); - if (parsed_hdr2 == NULL) { - PJ_LOG(3,(THIS_FILE, " error parsing header %s: %s", test->hshort_name, test->hcontent)); - return -510; - } - } -#endif - - if (test->flags & HDR_FLAG_DONT_PRINT) { - pj_pool_release(pool); - continue; - } - - /* Print the original header */ - input = (char*) pj_pool_alloc(pool, 1024); - len = pj_ansi_snprintf(input, 1024, "%s: %s", test->hname, test->hcontent); - if (len < 1 || len >= 1024) - return -520; - - /* Print the parsed header*/ - output = (char*) pj_pool_alloc(pool, 1024); - len = pjsip_hdr_print_on(parsed_hdr1, output, 1024); - if (len < 0 || len >= 1024) { - PJ_LOG(3,(THIS_FILE, " header too long: %s: %s", test->hname, test->hcontent)); - return -530; - } - output[len] = 0; - - if (strcmp(input, output) != 0) { - PJ_LOG(3,(THIS_FILE, " header character by character comparison failed.")); - PJ_LOG(3,(THIS_FILE, " original header=|%s|", input)); - PJ_LOG(3,(THIS_FILE, " parsed header =|%s|", output)); - return -540; - } - - pj_pool_release(pool); - } - - return 0; -} - - -/*****************************************************************************/ - -int msg_test(void) -{ - enum { COUNT = 1, DETECT=0, PARSE=1, PRINT=2 }; - struct { - unsigned detect; - unsigned parse; - unsigned print; - } run[COUNT]; - unsigned i, max, avg_len; - char desc[250]; - pj_status_t status; - - status = hdr_test(); - if (status != 0) - return status; - - status = simple_test(); - if (status != PJ_SUCCESS) - return status; - -#if INCLUDE_BENCHMARKS - for (i=0; i max) max = run[i].detect; - - PJ_LOG(3,("", " Maximum message detection/sec=%u", max)); - - pj_ansi_sprintf(desc, "Number of SIP messages " - "can be pre-parse by pjsip_find_msg() " - "per second (tested with %d message sets with " - "average message length of " - "%d bytes)", (int)PJ_ARRAY_SIZE(test_array), avg_len); - report_ival("msg-detect-per-sec", max, "msg/sec", desc); - - /* Print maximum parse/sec */ - for (i=0, max=0; i max) max = run[i].parse; - - PJ_LOG(3,("", " Maximum message parsing/sec=%u", max)); - - pj_ansi_sprintf(desc, "Number of SIP messages " - "can be parsed by pjsip_parse_msg() " - "per second (tested with %d message sets with " - "average message length of " - "%d bytes)", (int)PJ_ARRAY_SIZE(test_array), avg_len); - report_ival("msg-parse-per-sec", max, "msg/sec", desc); - - /* Msg parsing bandwidth */ - report_ival("msg-parse-bandwidth-mb", avg_len*max/1000000, "MB/sec", - "Message parsing bandwidth in megabytes (number of megabytes" - " worth of SIP messages that can be parsed per second). " - "The value is derived from msg-parse-per-sec above."); - - - /* Print maximum print/sec */ - for (i=0, max=0; i max) max = run[i].print; - - PJ_LOG(3,("", " Maximum message print/sec=%u", max)); - - pj_ansi_sprintf(desc, "Number of SIP messages " - "can be printed by pjsip_msg_print()" - " per second (tested with %d message sets with " - "average message length of " - "%d bytes)", (int)PJ_ARRAY_SIZE(test_array), avg_len); - - report_ival("msg-print-per-sec", max, "msg/sec", desc); - - /* Msg print bandwidth */ - report_ival("msg-printed-bandwidth-mb", avg_len*max/1000000, "MB/sec", - "Message print bandwidth in megabytes (total size of " - "SIP messages printed per second). " - "The value is derived from msg-print-per-sec above."); - -#endif /* INCLUDE_BENCHMARKS */ - - return PJ_SUCCESS; -} - - - - diff --git a/res/pjproject/pjsip/src/test/multipart_test.c b/res/pjproject/pjsip/src/test/multipart_test.c deleted file mode 100644 index 4f16e68bfd..0000000000 --- a/res/pjproject/pjsip/src/test/multipart_test.c +++ /dev/null @@ -1,266 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include - -#define THIS_FILE "" - -/* - * multipart tests - */ -typedef pj_status_t (*verify_ptr)(pj_pool_t*,pjsip_msg_body*); - -static pj_status_t verify1(pj_pool_t *pool, pjsip_msg_body *body); - -static struct test_t -{ - char *ctype; - char *csubtype; - char *boundary; - const char *msg; - verify_ptr verify; -} p_tests[] = -{ - { - /* Content-type */ - "multipart", "mixed", "12345", - - /* Body: */ - "This is the prolog, which should be ignored.\r\n" - "--12345\r\n" - "Content-Type: my/text\r\n" - "\r\n" - "Header and body\r\n" - "--12345 \t\r\n" - "Content-Type: hello/world\r\n" - "Content-Length: 0\r\n" - "\r\n" - "--12345\r\n" - "\r\n" - "Body only\r\n" - "--12345\r\n" - "Content-Type: multipart/mixed;boundary=6789\r\n" - "\r\n" - "Prolog of the subbody, should be ignored\r\n" - "--6789\r\n" - "\r\n" - "Subbody\r\n" - "--6789--\r\n" - "Epilogue of the subbody, should be ignored\r\n" - "--12345--\r\n" - "This is epilogue, which should be ignored too", - - &verify1 - } -}; - -static void init_media_type(pjsip_media_type *mt, - char *type, char *subtype, char *boundary) -{ - static pjsip_param prm; - - pjsip_media_type_init(mt, NULL, NULL); - if (type) mt->type = pj_str(type); - if (subtype) mt->subtype = pj_str(subtype); - if (boundary) { - pj_list_init(&prm); - prm.name = pj_str("boundary"); - prm.value = pj_str(boundary); - pj_list_push_back(&mt->param, &prm); - } -} - -static int verify_part(pjsip_multipart_part *part, - char *h_content_type, - char *h_content_subtype, - char *boundary, - int h_content_length, - const char *body) -{ - pjsip_ctype_hdr *ctype_hdr = NULL; - pjsip_clen_hdr *clen_hdr = NULL; - pjsip_hdr *hdr; - pj_str_t the_body; - - hdr = part->hdr.next; - while (hdr != &part->hdr) { - if (hdr->type == PJSIP_H_CONTENT_TYPE) - ctype_hdr = (pjsip_ctype_hdr*)hdr; - else if (hdr->type == PJSIP_H_CONTENT_LENGTH) - clen_hdr = (pjsip_clen_hdr*)hdr; - hdr = hdr->next; - } - - if (h_content_type) { - pjsip_media_type mt; - - if (ctype_hdr == NULL) - return -10; - - init_media_type(&mt, h_content_type, h_content_subtype, boundary); - - if (pjsip_media_type_cmp(&ctype_hdr->media, &mt, 2) != 0) - return -20; - - } else { - if (ctype_hdr) - return -30; - } - - if (h_content_length >= 0) { - if (clen_hdr == NULL) - return -50; - if (clen_hdr->len != h_content_length) - return -60; - } else { - if (clen_hdr) - return -70; - } - - the_body.ptr = (char*)part->body->data; - the_body.slen = part->body->len; - - if (pj_strcmp2(&the_body, body) != 0) - return -90; - - return 0; -} - -static pj_status_t verify1(pj_pool_t *pool, pjsip_msg_body *body) -{ - pjsip_media_type mt; - pjsip_multipart_part *part; - int rc; - - PJ_UNUSED_ARG(pool); - - /* Check content-type: "multipart/mixed;boundary=12345" */ - init_media_type(&mt, "multipart", "mixed", "12345"); - if (pjsip_media_type_cmp(&body->content_type, &mt, 2) != 0) - return -200; - - /* First part: - "Content-Type: my/text\r\n" - "\r\n" - "Header and body\r\n" - */ - part = pjsip_multipart_get_first_part(body); - if (!part) - return -210; - if (verify_part(part, "my", "text", NULL, -1, "Header and body")) - return -220; - - /* Next part: - "Content-Type: hello/world\r\n" - "Content-Length: 0\r\n" - "\r\n" - */ - part = pjsip_multipart_get_next_part(body, part); - if (!part) - return -230; - if ((rc=verify_part(part, "hello", "world", NULL, 0, ""))!=0) { - PJ_LOG(3,(THIS_FILE, " err: verify_part rc=%d", rc)); - return -240; - } - - /* Next part: - "\r\n" - "Body only\r\n" - */ - part = pjsip_multipart_get_next_part(body, part); - if (!part) - return -260; - if (verify_part(part, NULL, NULL, NULL, -1, "Body only")) - return -270; - - /* Next part: - "Content-Type: multipart/mixed;boundary=6789\r\n" - "\r\n" - "Prolog of the subbody, should be ignored\r\n" - "--6789\r\n" - "\r\n" - "Subbody\r\n" - "--6789--\r\n" - "Epilogue of the subbody, should be ignored\r\n" - - */ - part = pjsip_multipart_get_next_part(body, part); - if (!part) - return -280; - if ((rc=verify_part(part, "multipart", "mixed", "6789", -1, - "Prolog of the subbody, should be ignored\r\n" - "--6789\r\n" - "\r\n" - "Subbody\r\n" - "--6789--\r\n" - "Epilogue of the subbody, should be ignored"))!=0) { - PJ_LOG(3,(THIS_FILE, " err: verify_part rc=%d", rc)); - return -290; - } - - return 0; -} - -static int parse_test(void) -{ - unsigned i; - - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include -#include - -#define THIS_FILE "regc_test.c" - - -/************************************************************************/ -/* A module to inject error into outgoing sending operation */ -static pj_status_t mod_send_on_tx_request(pjsip_tx_data *tdata); - -static struct -{ - pjsip_module mod; - unsigned count; - unsigned count_before_reject; -} send_mod = -{ - { - NULL, NULL, /* prev, next. */ - { "mod-send", 8 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_TRANSPORT_LAYER, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - NULL, /* on_rx_request() */ - NULL, /* on_rx_response() */ - &mod_send_on_tx_request, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ - }, - 0, - 0xFFFF -}; - - -static pj_status_t mod_send_on_tx_request(pjsip_tx_data *tdata) -{ - PJ_UNUSED_ARG(tdata); - - if (++send_mod.count > send_mod.count_before_reject) - return PJ_ECANCELLED; - else - return PJ_SUCCESS; -}; - - -/************************************************************************/ -/* Registrar for testing */ -static pj_bool_t regs_rx_request(pjsip_rx_data *rdata); - -enum contact_op -{ - NONE, /* don't put Contact header */ - EXACT, /* return exact contact */ - MODIFIED, /* return modified Contact header */ -}; - -struct registrar_cfg -{ - pj_bool_t respond; /* should it respond at all */ - unsigned status_code; /* final response status code */ - pj_bool_t authenticate; /* should we authenticate? */ - enum contact_op contact_op; /* What should we do with Contact */ - unsigned expires_param; /* non-zero to put in expires param */ - unsigned expires; /* non-zero to put in Expires header*/ - - pj_str_t more_contacts; /* Additional Contact headers to put*/ -}; - -static struct registrar -{ - pjsip_module mod; - struct registrar_cfg cfg; - unsigned response_cnt; -} registrar = -{ - { - NULL, NULL, /* prev, next. */ - { "registrar", 9 }, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - ®s_rx_request, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request. */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ - } -}; - -static pj_bool_t regs_rx_request(pjsip_rx_data *rdata) -{ - pjsip_msg *msg = rdata->msg_info.msg; - pjsip_hdr hdr_list; - int code; - pj_status_t status; - - if (msg->line.req.method.id != PJSIP_REGISTER_METHOD) - return PJ_FALSE; - - if (!registrar.cfg.respond) - return PJ_TRUE; - - pj_list_init(&hdr_list); - - if (registrar.cfg.authenticate && - pjsip_msg_find_hdr(msg, PJSIP_H_AUTHORIZATION, NULL)==NULL) - { - pjsip_generic_string_hdr *hwww; - const pj_str_t hname = pj_str("WWW-Authenticate"); - const pj_str_t hvalue = pj_str("Digest realm=\"test\""); - - hwww = pjsip_generic_string_hdr_create(rdata->tp_info.pool, &hname, - &hvalue); - pj_list_push_back(&hdr_list, hwww); - - code = 401; - - } else { - if (registrar.cfg.contact_op == EXACT || - registrar.cfg.contact_op == MODIFIED) - { - pjsip_hdr *hsrc; - - for (hsrc=msg->hdr.next; hsrc!=&msg->hdr; hsrc=hsrc->next) { - pjsip_contact_hdr *hdst; - - if (hsrc->type != PJSIP_H_CONTACT) - continue; - - hdst = (pjsip_contact_hdr*) - pjsip_hdr_clone(rdata->tp_info.pool, hsrc); - - if (hdst->expires==0) - continue; - - if (registrar.cfg.contact_op == MODIFIED) { - if (PJSIP_URI_SCHEME_IS_SIP(hdst->uri) || - PJSIP_URI_SCHEME_IS_SIPS(hdst->uri)) - { - pjsip_sip_uri *sip_uri = (pjsip_sip_uri*) - pjsip_uri_get_uri(hdst->uri); - sip_uri->host = pj_str("x-modified-host"); - sip_uri->port = 1; - } - } - - if (registrar.cfg.expires_param) - hdst->expires = registrar.cfg.expires_param; - - pj_list_push_back(&hdr_list, hdst); - } - } - - if (registrar.cfg.more_contacts.slen) { - pjsip_generic_string_hdr *hcontact; - const pj_str_t hname = pj_str("Contact"); - - hcontact = pjsip_generic_string_hdr_create(rdata->tp_info.pool, &hname, - ®istrar.cfg.more_contacts); - pj_list_push_back(&hdr_list, hcontact); - } - - if (registrar.cfg.expires) { - pjsip_expires_hdr *hexp; - - hexp = pjsip_expires_hdr_create(rdata->tp_info.pool, - registrar.cfg.expires); - pj_list_push_back(&hdr_list, hexp); - } - - registrar.response_cnt++; - - code = registrar.cfg.status_code; - } - - status = pjsip_endpt_respond(endpt, NULL, rdata, code, NULL, - &hdr_list, NULL, NULL); - pj_assert(status == PJ_SUCCESS); - - return PJ_TRUE; -} - - -/************************************************************************/ -/* Client registration test session */ -struct client -{ - /* Result/expected result */ - int error; - int code; - pj_bool_t have_reg; - int expiration; - unsigned contact_cnt; - pj_bool_t auth; - - /* Commands */ - pj_bool_t destroy_on_cb; - - /* Status */ - pj_bool_t done; - - /* Additional results */ - int interval; - int next_reg; -}; - -/* regc callback */ -static void client_cb(struct pjsip_regc_cbparam *param) -{ - struct client *client = (struct client*) param->token; - pjsip_regc_info info; - pj_status_t status; - - client->done = PJ_TRUE; - - status = pjsip_regc_get_info(param->regc, &info); - pj_assert(status == PJ_SUCCESS); - - client->error = (param->status != PJ_SUCCESS); - client->code = param->code; - - if (client->error) - return; - - client->have_reg = info.auto_reg && info.interval>0 && - param->expiration>0; - client->expiration = param->expiration; - client->contact_cnt = param->contact_cnt; - client->interval = info.interval; - client->next_reg = info.next_reg; - - if (client->destroy_on_cb) - pjsip_regc_destroy(param->regc); -} - - -/* Generic client test session */ -static struct client client_result; -static int do_test(const char *title, - const struct registrar_cfg *srv_cfg, - const struct client *client_cfg, - const pj_str_t *registrar_uri, - unsigned contact_cnt, - const pj_str_t contacts[], - unsigned expires, - pj_bool_t leave_session, - pjsip_regc **p_regc) -{ - pjsip_regc *regc; - unsigned i; - const pj_str_t aor = pj_str(""); - pjsip_tx_data *tdata; - pj_status_t status; - - PJ_LOG(3,(THIS_FILE, " %s", title)); - - /* Modify registrar settings */ - pj_memcpy(®istrar.cfg, srv_cfg, sizeof(*srv_cfg)); - - pj_bzero(&client_result, sizeof(client_result)); - client_result.destroy_on_cb = client_cfg->destroy_on_cb; - - status = pjsip_regc_create(endpt, &client_result, &client_cb, ®c); - if (status != PJ_SUCCESS) - return -100; - - status = pjsip_regc_init(regc, registrar_uri, &aor, &aor, contact_cnt, - contacts, expires ? expires : 60); - if (status != PJ_SUCCESS) { - pjsip_regc_destroy(regc); - return -110; - } - - if (client_cfg->auth) { - pjsip_cred_info cred; - - pj_bzero(&cred, sizeof(cred)); - cred.realm = pj_str("*"); - cred.scheme = pj_str("digest"); - cred.username = pj_str("user"); - cred.data_type = PJSIP_CRED_DATA_PLAIN_PASSWD; - cred.data = pj_str("password"); - - status = pjsip_regc_set_credentials(regc, 1, &cred); - if (status != PJ_SUCCESS) { - pjsip_regc_destroy(regc); - return -115; - } - } - - /* Register */ - status = pjsip_regc_register(regc, PJ_TRUE, &tdata); - if (status != PJ_SUCCESS) { - pjsip_regc_destroy(regc); - return -120; - } - status = pjsip_regc_send(regc, tdata); - - /* That's it, wait until the callback is sent */ - for (i=0; i<600 && !client_result.done; ++i) { - flush_events(100); - } - - if (!client_result.done) { - PJ_LOG(3,(THIS_FILE, " error: test has timed out")); - pjsip_regc_destroy(regc); - return -200; - } - - /* Destroy the regc, we're done with the test, unless we're - * instructed to leave the session open. - */ - if (!leave_session && !client_cfg->destroy_on_cb) - pjsip_regc_destroy(regc); - - /* Compare results with expected results */ - - if (client_result.error != client_cfg->error) { - PJ_LOG(3,(THIS_FILE, " error: expecting err=%d, got err=%d", - client_cfg->error, client_result.error)); - return -210; - } - if (client_result.code != client_cfg->code) { - PJ_LOG(3,(THIS_FILE, " error: expecting code=%d, got code=%d", - client_cfg->code, client_result.code)); - return -220; - } - if (client_result.expiration != client_cfg->expiration) { - PJ_LOG(3,(THIS_FILE, " error: expecting expiration=%d, got expiration=%d", - client_cfg->expiration, client_result.expiration)); - return -240; - } - if (client_result.contact_cnt != client_cfg->contact_cnt) { - PJ_LOG(3,(THIS_FILE, " error: expecting contact_cnt=%d, got contact_cnt=%d", - client_cfg->contact_cnt, client_result.contact_cnt)); - return -250; - } - if (client_result.have_reg != client_cfg->have_reg) { - PJ_LOG(3,(THIS_FILE, " error: expecting have_reg=%d, got have_reg=%d", - client_cfg->have_reg, client_result.have_reg)); - return -260; - } - if (client_result.interval != client_result.expiration) { - PJ_LOG(3,(THIS_FILE, " error: interval (%d) is different than expiration (%d)", - client_result.interval, client_result.expiration)); - return -270; - } - if (client_result.expiration > 0 && client_result.next_reg < 1) { - PJ_LOG(3,(THIS_FILE, " error: next_reg=%d, expecting positive number because expiration is %d", - client_result.next_reg, client_result.expiration)); - return -280; - } - - /* Looks like everything is okay. */ - if (leave_session) { - *p_regc = regc; - } - - return 0; -} - - -/************************************************************************/ -/* Customized tests */ - -/* Check that client is sending register refresh */ -static int keep_alive_test(const pj_str_t *registrar_uri) -{ - enum { TIMEOUT = 40 }; - struct registrar_cfg server_cfg = - /* respond code auth contact exp_prm expires more_contacts */ - { PJ_TRUE, 200, PJ_FALSE, EXACT, TIMEOUT, 0, {NULL, 0}}; - struct client client_cfg = - /* error code have_reg expiration contact_cnt auth? destroy*/ - { PJ_FALSE, 200, PJ_TRUE, TIMEOUT, 1, PJ_FALSE,PJ_FALSE}; - pj_str_t contact = pj_str(""); - - - pjsip_regc *regc; - unsigned i; - int ret; - - ret = do_test("register refresh (takes ~40 secs)", &server_cfg, &client_cfg, registrar_uri, - 1, &contact, TIMEOUT, PJ_TRUE, ®c); - if (ret != 0) - return ret; - - /* Reset server response_cnt */ - registrar.response_cnt = 0; - - /* Wait until keep-alive/refresh is done */ - for (i=0; i<(TIMEOUT-1)*10 && registrar.response_cnt==0; ++i) { - flush_events(100); - } - - if (registrar.response_cnt==0) { - PJ_LOG(3,(THIS_FILE, " error: no refresh is received")); - return -400; - } - - if (client_result.error) { - PJ_LOG(3,(THIS_FILE, " error: got error")); - return -410; - } - if (client_result.code != 200) { - PJ_LOG(3,(THIS_FILE, " error: expecting code=%d, got code=%d", - 200, client_result.code)); - return -420; - } - if (client_result.expiration != TIMEOUT) { - PJ_LOG(3,(THIS_FILE, " error: expecting expiration=%d, got expiration=%d", - TIMEOUT, client_result.expiration)); - return -440; - } - if (client_result.contact_cnt != 1) { - PJ_LOG(3,(THIS_FILE, " error: expecting contact_cnt=%d, got contact_cnt=%d", - TIMEOUT, client_result.contact_cnt)); - return -450; - } - if (client_result.have_reg == 0) { - PJ_LOG(3,(THIS_FILE, " error: expecting have_reg=%d, got have_reg=%d", - 1, client_result.have_reg)); - return -460; - } - if (client_result.interval != TIMEOUT) { - PJ_LOG(3,(THIS_FILE, " error: interval (%d) is different than expiration (%d)", - client_result.interval, TIMEOUT)); - return -470; - } - if (client_result.expiration > 0 && client_result.next_reg < 1) { - PJ_LOG(3,(THIS_FILE, " error: next_reg=%d, expecting positive number because expiration is %d", - client_result.next_reg, client_result.expiration)); - return -480; - } - - /* Success */ - pjsip_regc_destroy(regc); - return 0; -} - - -/* Send error on refresh */ -static int refresh_error(const pj_str_t *registrar_uri, - pj_bool_t destroy_on_cb) -{ - enum { TIMEOUT = 40 }; - struct registrar_cfg server_cfg = - /* respond code auth contact exp_prm expires more_contacts */ - { PJ_TRUE, 200, PJ_FALSE, EXACT, TIMEOUT, 0, {NULL, 0}}; - struct client client_cfg = - /* error code have_reg expiration contact_cnt auth? destroy*/ - { PJ_FALSE, 200, PJ_TRUE, TIMEOUT, 1, PJ_FALSE,PJ_FALSE}; - pj_str_t contact = pj_str(""); - - pjsip_regc *regc; - unsigned i; - int ret; - - ret = do_test("refresh error (takes ~40 secs)", &server_cfg, &client_cfg, registrar_uri, - 1, &contact, TIMEOUT, PJ_TRUE, ®c); - if (ret != 0) - return ret; - - /* Reset server response_cnt */ - registrar.response_cnt = 0; - - /* inject error for transmission */ - send_mod.count = 0; - send_mod.count_before_reject = 0; - - /* reconfigure client */ - client_result.done = PJ_FALSE; - client_result.destroy_on_cb = destroy_on_cb; - - /* Wait until keep-alive/refresh is done */ - for (i=0; i", 7 }, - { "", 7 }, - { "", 7 } - }; - - pjsip_regc *regc; - pjsip_contact_hdr *h1, *h2; - pjsip_sip_uri *u1, *u2; - unsigned i; - pj_status_t status; - pjsip_tx_data *tdata = NULL; - int ret = 0; - - /* initially only has 1 contact */ - ret = do_test("update test", &server_cfg, &client_cfg, registrar_uri, - 1, &contacts[0], TIMEOUT, PJ_TRUE, ®c); - if (ret != 0) { - return -600; - } - - /***** - * replace the contact with new one - */ - PJ_LOG(3,(THIS_FILE, " replacing contact")); - status = pjsip_regc_update_contact(regc, 1, &contacts[1]); - if (status != PJ_SUCCESS) { - ret = -610; - goto on_return; - } - - status = pjsip_regc_register(regc, PJ_TRUE, &tdata); - if (status != PJ_SUCCESS) { - ret = -620; - goto on_return; - } - - /* Check that the REGISTER contains two Contacts: - * - ;expires=0, - * - - */ - h1 = (pjsip_contact_hdr*) - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_CONTACT, NULL); - if (!h1) { - ret = -630; - goto on_return; - } - if ((void*)h1->next == (void*)&tdata->msg->hdr) - h2 = NULL; - else - h2 = (pjsip_contact_hdr*) - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_CONTACT, h1->next); - if (!h2) { - ret = -640; - goto on_return; - } - /* must not have other Contact header */ - if ((void*)h2->next != (void*)&tdata->msg->hdr && - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_CONTACT, h2->next) != NULL) - { - ret = -645; - goto on_return; - } - - u1 = (pjsip_sip_uri*) pjsip_uri_get_uri(h1->uri); - u2 = (pjsip_sip_uri*) pjsip_uri_get_uri(h2->uri); - - if (*u1->host.ptr == 'a') { - if (h1->expires != 0) { - ret = -650; - goto on_return; - } - if (h2->expires == 0) { - ret = -660; - goto on_return; - } - - } else { - pj_assert(*u1->host.ptr == 'b'); - if (h1->expires == 0) { - ret = -670; - goto on_return; - } - if (h2->expires != 0) { - ret = -680; - goto on_return; - } - } - - /* Destroy tdata */ - pjsip_tx_data_dec_ref(tdata); - tdata = NULL; - - - - /** - * First loop, it will update with more contacts. Second loop - * should do nothing. - */ - for (i=0; i<2; ++i) { - if (i==0) - PJ_LOG(3,(THIS_FILE, " replacing with more contacts")); - else - PJ_LOG(3,(THIS_FILE, " updating contacts with same contacts")); - - status = pjsip_regc_update_contact(regc, 2, &contacts[1]); - if (status != PJ_SUCCESS) { - ret = -710; - goto on_return; - } - - status = pjsip_regc_register(regc, PJ_TRUE, &tdata); - if (status != PJ_SUCCESS) { - ret = -720; - goto on_return; - } - - /* Check that the REGISTER contains two Contacts: - * - - * - - */ - h1 = (pjsip_contact_hdr*) - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_CONTACT, NULL); - if (!h1) { - ret = -730; - goto on_return; - } - if ((void*)h1->next == (void*)&tdata->msg->hdr) - h2 = NULL; - else - h2 = (pjsip_contact_hdr*) - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_CONTACT, h1->next); - if (!h2) { - ret = -740; - goto on_return; - } - /* must not have other Contact header */ - if ((void*)h2->next != (void*)&tdata->msg->hdr && - pjsip_msg_find_hdr(tdata->msg, PJSIP_H_CONTACT, h2->next) != NULL) - { - ret = -745; - goto on_return; - } - - /* both contacts must not have expires=0 parameter */ - if (h1->expires == 0) { - ret = -750; - goto on_return; - } - if (h2->expires == 0) { - ret = -760; - goto on_return; - } - - /* Destroy tdata */ - pjsip_tx_data_dec_ref(tdata); - tdata = NULL; - } - -on_return: - if (tdata) pjsip_tx_data_dec_ref(tdata); - pjsip_regc_destroy(regc); - return ret; -}; - - -/* send error on authentication */ -static int auth_send_error(const pj_str_t *registrar_uri, - pj_bool_t destroy_on_cb) -{ - enum { TIMEOUT = 40 }; - struct registrar_cfg server_cfg = - /* respond code auth contact exp_prm expires more_contacts */ - { PJ_TRUE, 200, PJ_TRUE, EXACT, 75, 0, {NULL, 0}}; - struct client client_cfg = - /* error code have_reg expiration contact_cnt auth? destroy*/ - { PJ_TRUE, 401, PJ_FALSE, -1, 0, PJ_TRUE, PJ_TRUE}; - pj_str_t contact = pj_str(""); - - pjsip_regc *regc; - int ret; - - client_cfg.destroy_on_cb = destroy_on_cb; - - /* inject error for second request retry */ - send_mod.count = 0; - send_mod.count_before_reject = 1; - - ret = do_test("auth send error", &server_cfg, &client_cfg, registrar_uri, - 1, &contact, TIMEOUT, PJ_TRUE, ®c); - - send_mod.count_before_reject = 0xFFFF; - - return ret; -}; - - - - -/************************************************************************/ -enum -{ - OFF = 1, - ON = 2, - ON_OFF = 3, -}; - -int regc_test(void) -{ - struct test_rec { - unsigned check_contact; - unsigned add_xuid_param; - - const char *title; - char *alt_registrar; - unsigned contact_cnt; - char *contacts[4]; - unsigned expires; - struct registrar_cfg server_cfg; - struct client client_cfg; - } test_rec[] = - { - /* immediate error */ - { - OFF, /* check_contact */ - OFF, /* add_xuid_param */ - "immediate error", /* title */ - "sip:unresolved-host-xyy", /* alt_registrar */ - 1, /* contact cnt */ - { "sip:user@127.0.0.1:5060" }, /* contacts[] */ - 600, /* expires */ - - /* registrar config: */ - /* respond code auth contact exp_prm expires more_contacts */ - { PJ_FALSE, 200, PJ_FALSE, NONE, 0, 0, {NULL, 0}}, - - /* client expected results: */ - /* error code have_reg expiration contact_cnt auth?*/ - { PJ_FALSE, 502, PJ_FALSE, -1, 0, PJ_FALSE} - }, - - /* timeout test */ - { - OFF, /* check_contact */ - OFF, /* add_xuid_param */ - "timeout test (takes ~32 secs)",/* title */ - NULL, /* alt_registrar */ - 1, /* contact cnt */ - { "sip:user@127.0.0.1:5060" }, /* contacts[] */ - 600, /* expires */ - - /* registrar config: */ - /* respond code auth contact exp_prm expires more_contacts */ - { PJ_FALSE, 200, PJ_FALSE, NONE, 0, 0, {NULL, 0}}, - - /* client expected results: */ - /* error code have_reg expiration contact_cnt auth? */ - { PJ_FALSE, 408, PJ_FALSE, -1, 0, PJ_FALSE} - }, - - /* Basic successful registration scenario: - * a good registrar returns the Contact header as is and - * add expires parameter. In this test no additional bindings - * are returned. - */ - { - ON_OFF, /* check_contact */ - ON_OFF, /* add_xuid_param */ - "basic", /* title */ - NULL, /* alt_registrar */ - 1, /* contact cnt */ - { "" }, /* contacts[] */ - 600, /* expires */ - - /* registrar config: */ - /* respond code auth contact exp_prm expires more_contacts */ - { PJ_TRUE, 200, PJ_FALSE, EXACT, 75, 65, {NULL, 0}}, - - /* client expected results: */ - /* error code have_reg expiration contact_cnt auth?*/ - { PJ_FALSE, 200, PJ_TRUE, 75, 1, PJ_FALSE} - }, - - /* Basic successful registration scenario with authentication - */ - { - ON_OFF, /* check_contact */ - ON_OFF, /* add_xuid_param */ - "authentication", /* title */ - NULL, /* alt_registrar */ - 1, /* contact cnt */ - { "" }, /* contacts[] */ - 600, /* expires */ - - /* registrar config: */ - /* respond code auth contact exp_prm expires more_contacts */ - { PJ_TRUE, 200, PJ_TRUE, EXACT, 75, 65, {NULL, 0}}, - - /* client expected results: */ - /* error code have_reg expiration contact_cnt auth?*/ - { PJ_FALSE, 200, PJ_TRUE, 75, 1, PJ_TRUE} - }, - - /* a good registrar returns the Contact header as is and - * add expires parameter. Also it adds bindings from other - * clients in this test. - */ - { - ON_OFF, /* check_contact */ - ON, /* add_xuid_param */ - "more bindings in response", /* title */ - NULL, /* alt_registrar */ - 1, /* contact cnt */ - { "" }, /* contacts[] */ - 600, /* expires */ - - /* registrar config: */ - /* respond code auth contact exp_prm expires more_contacts */ - { PJ_TRUE, 200, PJ_FALSE, EXACT, 75, 65, {";expires=70", 0}}, - - /* client expected results: */ - /* error code have_reg expiration contact_cnt auth?*/ - { PJ_FALSE, 200, PJ_TRUE, 75, 2, PJ_FALSE} - }, - - - /* a bad registrar returns modified Contact header, but it - * still returns all parameters intact. In this case - * the expiration is taken from the expires param because - * of matching xuid param or because the number of - * Contact header matches. - */ - { - ON_OFF, /* check_contact */ - ON_OFF, /* add_xuid_param */ - "registrar modifies Contact header", /* title */ - NULL, /* alt_registrar */ - 1, /* contact cnt */ - { "" }, /* contacts[] */ - 600, /* expires */ - - /* registrar config: */ - /* respond code auth contact exp_prm expires more_contacts */ - { PJ_TRUE, 200, PJ_FALSE, MODIFIED, 75, 65, {NULL, 0}}, - - /* client expected results: */ - /* error code have_reg expiration contact_cnt auth?*/ - { PJ_FALSE, 200, PJ_TRUE, 75, 1, PJ_FALSE} - }, - - - /* a bad registrar returns modified Contact header, but it - * still returns all parameters intact. In addition it returns - * bindings from other clients. - * - * In this case the expiration is taken from the expires param - * because add_xuid_param is enabled. - */ - { - ON_OFF, /* check_contact */ - ON, /* add_xuid_param */ - "registrar modifies Contact header and add bindings", /* title */ - NULL, /* alt_registrar */ - 1, /* contact cnt */ - { "" }, /* contacts[] */ - 600, /* expires */ - - /* registrar config: */ - /* respond code auth contact exp_prm expires more_contacts */ - { PJ_TRUE, 200, PJ_FALSE, MODIFIED, 75, 65, {";expires=70", 0}}, - - /* client expected results: */ - /* error code have_reg expiration contact_cnt auth?*/ - { PJ_FALSE, 200, PJ_TRUE, 75, 2, PJ_FALSE} - }, - - - /* a bad registrar returns completely different Contact and - * all parameters are gone. In this case the expiration is - * also taken from the expires param since the number of - * header matches. - */ - { - ON_OFF, /* check_contact */ - ON_OFF, /* add_xuid_param */ - "registrar replaces Contact header", /* title */ - NULL, /* alt_registrar */ - 1, /* contact cnt */ - { "" }, /* contacts[] */ - 600, /* expires */ - - /* registrar config: */ - /* respond code auth contact exp_prm expires more_contacts */ - { PJ_TRUE, 202, PJ_FALSE, NONE, 0, 65, {";expires=75", 0}}, - - /* client expected results: */ - /* error code have_reg expiration contact_cnt auth?*/ - { PJ_FALSE, 202, PJ_TRUE, 75, 1, PJ_FALSE} - }, - - - /* a bad registrar returns completely different Contact (and - * all parameters are gone) and it also includes bindings from - * other clients. - * In this case the expiration is taken from the Expires header. - */ - { - ON_OFF, /* check_contact */ - ON_OFF, /* add_xuid_param */ - " as above with additional bindings", /* title */ - NULL, /* alt_registrar */ - 1, /* contact cnt */ - { "" }, /* contacts[] */ - 600, /* expires */ - - /* registrar config: */ - /* respond code auth contact exp_prm expires more_contacts */ - { PJ_TRUE, 200, PJ_FALSE, NONE, 0, 65, {";expires=75, ", 0}}, - - /* client expected results: */ - /* error code have_reg expiration contact_cnt auth?*/ - { PJ_FALSE, 200, PJ_TRUE, 65, 2, PJ_FALSE} - }, - - /* the registrar doesn't return any bindings, but for some - * reason it includes an Expires header. - * In this case the expiration is taken from the Expires header. - */ - { - ON_OFF, /* check_contact */ - ON_OFF, /* add_xuid_param */ - "no Contact but with Expires", /* title */ - NULL, /* alt_registrar */ - 1, /* contact cnt */ - { "" }, /* contacts[] */ - 600, /* expires */ - - /* registrar config: */ - /* respond code auth contact exp_prm expires more_contacts */ - { PJ_TRUE, 200, PJ_FALSE, NONE, 0, 65, {NULL, 0}}, - - /* client expected results: */ - /* error code have_reg expiration contact_cnt auth?*/ - { PJ_FALSE, 200, PJ_TRUE, 65, 0, PJ_FALSE} - }, - - /* Neither Contact header nor Expires header are present. - * In this case the expiration is taken from the request. - */ - { - ON_OFF, /* check_contact */ - ON_OFF, /* add_xuid_param */ - "no Contact and no Expires", /* title */ - NULL, /* alt_registrar */ - 1, /* contact cnt */ - { "" },/* contacts[] */ - 600, /* expires */ - - /* registrar config: */ - /* respond code auth contact exp_prm expires more_contacts */ - { PJ_TRUE, 200, PJ_FALSE, NONE, 0, 0, {NULL, 0}}, - - /* client expected results: */ - /* error code have_reg expiration contact_cnt auth?*/ - { PJ_FALSE, 200, PJ_TRUE, 600, 0, PJ_FALSE} - }, - }; - - unsigned i; - pj_sockaddr_in addr; - pjsip_transport *udp = NULL; - pj_uint16_t port; - char registrar_uri_buf[80]; - pj_str_t registrar_uri; - int rc = 0; - - pj_sockaddr_in_init(&addr, 0, 0); - - /* Acquire existing transport, if any */ - rc = pjsip_endpt_acquire_transport(endpt, PJSIP_TRANSPORT_UDP, &addr, sizeof(addr), NULL, &udp); - if (rc == PJ_SUCCESS) { - port = pj_sockaddr_get_port(&udp->local_addr); - pjsip_transport_dec_ref(udp); - udp = NULL; - } else { - rc = pjsip_udp_transport_start(endpt, NULL, NULL, 1, &udp); - if (rc != PJ_SUCCESS) { - app_perror(" error creating UDP transport", rc); - rc = -2; - goto on_return; - } - - port = pj_sockaddr_get_port(&udp->local_addr); - } - - /* Register registrar module */ - rc = pjsip_endpt_register_module(endpt, ®istrar.mod); - if (rc != PJ_SUCCESS) { - app_perror(" error registering module", rc); - rc = -3; - goto on_return; - } - - /* Register send module */ - rc = pjsip_endpt_register_module(endpt, &send_mod.mod); - if (rc != PJ_SUCCESS) { - app_perror(" error registering module", rc); - rc = -3; - goto on_return; - } - - pj_ansi_snprintf(registrar_uri_buf, sizeof(registrar_uri_buf), - "sip:127.0.0.1:%d", (int)port); - registrar_uri = pj_str(registrar_uri_buf); - - for (i=0; ialt_registrar == NULL) { - reg_uri = registrar_uri; - } else { - reg_uri = pj_str(t->alt_registrar); - } - - /* Build contact pj_str_t's */ - for (j=0; jcontact_cnt; ++j) { - contacts[j] = pj_str(t->contacts[j]); - } - - /* Normalize more_contacts field */ - if (t->server_cfg.more_contacts.ptr) - t->server_cfg.more_contacts.slen = strlen(t->server_cfg.more_contacts.ptr); - - /* Do tests with three combinations: - * - check_contact on/off - * - add_xuid_param on/off - * - destroy_on_callback on/off - */ - for (x=1; x<=2; ++x) { - unsigned y; - - if ((t->check_contact & x) == 0) - continue; - - pjsip_cfg()->regc.check_contact = (x-1); - - for (y=1; y<=2; ++y) { - unsigned z; - - if ((t->add_xuid_param & y) == 0) - continue; - - pjsip_cfg()->regc.add_xuid_param = (y-1); - - for (z=0; z<=1; ++z) { - char new_title[200]; - - t->client_cfg.destroy_on_cb = z; - - sprintf(new_title, "%s [check=%d, xuid=%d, destroy=%d]", - t->title, pjsip_cfg()->regc.check_contact, - pjsip_cfg()->regc.add_xuid_param, z); - rc = do_test(new_title, &t->server_cfg, &t->client_cfg, - ®_uri, t->contact_cnt, contacts, - t->expires, PJ_FALSE, NULL); - if (rc != 0) - goto on_return; - } - - } - } - - /* Sleep between test groups to avoid using up too many - * active transactions. - */ - pj_thread_sleep(1000); - } - - /* keep-alive test */ - rc = keep_alive_test(®istrar_uri); - if (rc != 0) - goto on_return; - - /* Send error on refresh without destroy on callback */ - rc = refresh_error(®istrar_uri, PJ_FALSE); - if (rc != 0) - goto on_return; - - /* Send error on refresh, destroy on callback */ - rc = refresh_error(®istrar_uri, PJ_TRUE); - if (rc != 0) - goto on_return; - - /* Updating contact */ - rc = update_test(®istrar_uri); - if (rc != 0) - goto on_return; - - /* Send error during auth, don't destroy on callback */ - rc = auth_send_error(®istrar_uri, PJ_FALSE); - if (rc != 0) - goto on_return; - - /* Send error during auth, destroy on callback */ - rc = auth_send_error(®istrar_uri, PJ_FALSE); - if (rc != 0) - goto on_return; - -on_return: - if (registrar.mod.id != -1) { - pjsip_endpt_unregister_module(endpt, ®istrar.mod); - } - if (send_mod.mod.id != -1) { - pjsip_endpt_unregister_module(endpt, &send_mod.mod); - } - if (udp) { - pjsip_transport_dec_ref(udp); - } - return rc; -} - - diff --git a/res/pjproject/pjsip/src/test/test.c b/res/pjproject/pjsip/src/test/test.c deleted file mode 100644 index 8ffe566458..0000000000 --- a/res/pjproject/pjsip/src/test/test.c +++ /dev/null @@ -1,398 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - - -#include "test.h" -#include -#include -#include - -#define THIS_FILE "test.c" - -#define DO_TEST(test) do { \ - PJ_LOG(3, (THIS_FILE, "Running %s...", #test)); \ - rc = test; \ - PJ_LOG(3, (THIS_FILE, \ - "%s(%d)", \ - (rc ? "..ERROR" : "..success"), rc)); \ - if (rc!=0) goto on_return; \ - } while (0) - -#define DO_TSX_TEST(test, param) \ - do { \ - PJ_LOG(3, (THIS_FILE, "Running %s(%s)...", #test, (param)->tp_type)); \ - rc = test(param); \ - PJ_LOG(3, (THIS_FILE, \ - "%s(%d)", \ - (rc ? "..ERROR" : "..success"), rc)); \ - if (rc!=0) goto on_return; \ - } while (0) - - -pjsip_endpoint *endpt; -int log_level = 3; -int param_log_decor = PJ_LOG_HAS_NEWLINE | PJ_LOG_HAS_TIME | - PJ_LOG_HAS_MICRO_SEC; - -static pj_oshandle_t fd_report; -const char *system_name = "Unknown"; -static char buf[1024]; - -void app_perror(const char *msg, pj_status_t rc) -{ - char errbuf[256]; - - PJ_CHECK_STACK(); - - pj_strerror(rc, errbuf, sizeof(errbuf)); - PJ_LOG(3,(THIS_FILE, "%s: [pj_status_t=%d] %s", msg, rc, errbuf)); - -} - -void flush_events(unsigned duration) -{ - pj_time_val stop_time; - - pj_gettimeofday(&stop_time); - stop_time.msec += duration; - pj_time_val_normalize(&stop_time); - - /* Process all events for the specified duration. */ - for (;;) { - pj_time_val timeout = {0, 1}, now; - - pjsip_endpt_handle_events(endpt, &timeout); - - pj_gettimeofday(&now); - if (PJ_TIME_VAL_GTE(now, stop_time)) - break; - } -} - -pj_status_t register_static_modules(pj_size_t *count, pjsip_module **modules) -{ - PJ_UNUSED_ARG(modules); - - *count = 0; - return PJ_SUCCESS; -} - -static pj_status_t init_report(void) -{ - char tmp[80]; - pj_time_val timestamp; - pj_parsed_time date_time; - pj_ssize_t len; - pj_status_t status; - - pj_ansi_sprintf(tmp, "pjsip-static-bench-%s-%s.htm", PJ_OS_NAME, PJ_CC_NAME); - - status = pj_file_open(NULL, tmp, PJ_O_WRONLY, &fd_report); - if (status != PJ_SUCCESS) - return status; - - /* Title */ - len = pj_ansi_sprintf(buf, "\n" - " \n" - " PJSIP %s (%s) - Static Benchmark\n" - " \n" - "\n" - "\n", - PJ_VERSION, - (PJ_DEBUG ? "Debug" : "Release")); - pj_file_write(fd_report, buf, &len); - - - /* Title */ - len = pj_ansi_sprintf(buf, "

PJSIP %s (%s) - Static Benchmark

\n", - PJ_VERSION, - (PJ_DEBUG ? "Debug" : "Release")); - pj_file_write(fd_report, buf, &len); - - len = pj_ansi_sprintf(buf, "

Below is the benchmark result generated " - "by test-pjsip program. The program " - "is single-threaded only.

\n"); - pj_file_write(fd_report, buf, &len); - - - /* Write table heading */ - len = pj_ansi_sprintf(buf, "\n" - " \n" - " \n" - " \n" - " \n"); - pj_file_write(fd_report, buf, &len); - - - /* Write version */ - report_sval("version", PJ_VERSION, "", "PJLIB/PJSIP version"); - - - /* Debug or release */ - report_sval("build-type", (PJ_DEBUG ? "Debug" : "Release"), "", "Build type"); - - - /* Write timestamp */ - pj_gettimeofday(×tamp); - report_ival("timestamp", timestamp.sec, "", "System timestamp of the test"); - - - /* Write time of day */ - pj_time_decode(×tamp, &date_time); - len = pj_ansi_sprintf(tmp, "%04d-%02d-%02d %02d:%02d:%02d", - date_time.year, date_time.mon+1, date_time.day, - date_time.hour, date_time.min, date_time.sec); - report_sval("date-time", tmp, "", "Date/time of the test"); - - - /* Write System */ - report_sval("system", system_name, "", "System description"); - - - /* Write OS type */ - report_sval("os-family", PJ_OS_NAME, "", "Operating system family"); - - - /* Write CC name */ - len = pj_ansi_sprintf(tmp, "%s-%d.%d.%d", PJ_CC_NAME, - PJ_CC_VER_1, PJ_CC_VER_2, PJ_CC_VER_2); - report_sval("cc-name", tmp, "", "Compiler name and version"); - - - return PJ_SUCCESS; -} - -void report_sval(const char *name, const char* value, const char *valname, - const char *desc) -{ - pj_ssize_t len; - - len = pj_ansi_sprintf(buf, " \n" - " \n" - " \n" - " \n", - name, value, valname, desc); - pj_file_write(fd_report, buf, &len); -} - - -void report_ival(const char *name, int value, const char *valname, - const char *desc) -{ - pj_ssize_t len; - - len = pj_ansi_sprintf(buf, " \n" - " \n" - " \n" - " \n", - name, value, valname, desc); - pj_file_write(fd_report, buf, &len); - -} - -static void close_report(void) -{ - pj_ssize_t len; - - if (fd_report) { - len = pj_ansi_sprintf(buf, "
VariableValueDescription
%s%s %s%s
%s%d %s%s
\n\n\n"); - pj_file_write(fd_report, buf, &len); - - pj_file_close(fd_report); - } -} - - -int test_main(void) -{ - pj_status_t rc; - pj_caching_pool caching_pool; - const char *filename; - unsigned tsx_test_cnt=0; - struct tsx_test_param tsx_test[10]; - pj_status_t status; -#if INCLUDE_TSX_TEST - unsigned i; - pjsip_transport *tp; -#if PJ_HAS_TCP - pjsip_tpfactory *tpfactory; -#endif /* PJ_HAS_TCP */ -#endif /* INCLUDE_TSX_TEST */ - int line; - - pj_log_set_level(log_level); - pj_log_set_decor(param_log_decor); - - if ((rc=pj_init()) != PJ_SUCCESS) { - app_perror("pj_init", rc); - return rc; - } - - if ((rc=pjlib_util_init()) != PJ_SUCCESS) { - app_perror("pj_init", rc); - return rc; - } - - status = init_report(); - if (status != PJ_SUCCESS) - return status; - - pj_dump_config(); - - pj_caching_pool_init( &caching_pool, &pj_pool_factory_default_policy, - PJSIP_TEST_MEM_SIZE ); - - rc = pjsip_endpt_create(&caching_pool.factory, "endpt", &endpt); - if (rc != PJ_SUCCESS) { - app_perror("pjsip_endpt_create", rc); - pj_caching_pool_destroy(&caching_pool); - return rc; - } - - PJ_LOG(3,(THIS_FILE,"")); - - /* Init logger module. */ - init_msg_logger(); - msg_logger_set_enabled(1); - - /* Start transaction layer module. */ - rc = pjsip_tsx_layer_init_module(endpt); - if (rc != PJ_SUCCESS) { - app_perror(" Error initializing transaction module", rc); - goto on_return; - } - - /* Create loop transport. */ - rc = pjsip_loop_start(endpt, NULL); - if (rc != PJ_SUCCESS) { - app_perror(" error: unable to create datagram loop transport", - rc); - goto on_return; - } - tsx_test[tsx_test_cnt].port = 5060; - tsx_test[tsx_test_cnt].tp_type = "loop-dgram"; - tsx_test[tsx_test_cnt].type = PJSIP_TRANSPORT_LOOP_DGRAM; - ++tsx_test_cnt; - - -#if INCLUDE_URI_TEST - DO_TEST(uri_test()); -#endif - -#if INCLUDE_MSG_TEST - DO_TEST(msg_test()); - DO_TEST(msg_err_test()); -#endif - -#if INCLUDE_MULTIPART_TEST - DO_TEST(multipart_test()); -#endif - -#if INCLUDE_TXDATA_TEST - DO_TEST(txdata_test()); -#endif - -#if INCLUDE_TSX_BENCH - DO_TEST(tsx_bench()); -#endif - -#if INCLUDE_UDP_TEST - DO_TEST(transport_udp_test()); -#endif - -#if INCLUDE_LOOP_TEST - DO_TEST(transport_loop_test()); -#endif - -#if INCLUDE_TCP_TEST - DO_TEST(transport_tcp_test()); -#endif - -#if INCLUDE_RESOLVE_TEST - DO_TEST(resolve_test()); -#endif - - -#if INCLUDE_TSX_TEST - status = pjsip_udp_transport_start(endpt, NULL, NULL, 1, &tp); - if (status == PJ_SUCCESS) { - tsx_test[tsx_test_cnt].port = tp->local_name.port; - tsx_test[tsx_test_cnt].tp_type = "udp"; - tsx_test[tsx_test_cnt].type = PJSIP_TRANSPORT_UDP; - ++tsx_test_cnt; - } - -#if PJ_HAS_TCP - status = pjsip_tcp_transport_start(endpt, NULL, 1, &tpfactory); - if (status == PJ_SUCCESS) { - tsx_test[tsx_test_cnt].port = tpfactory->addr_name.port; - tsx_test[tsx_test_cnt].tp_type = "tcp"; - tsx_test[tsx_test_cnt].type = PJSIP_TRANSPORT_TCP; - ++tsx_test_cnt; - } else { - app_perror("Unable to create TCP", status); - rc = -4; - goto on_return; - } -#endif - - - for (i=0; i - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __TEST_H__ -#define __TEST_H__ - -#include - -extern pjsip_endpoint *endpt; - -#define TEST_UDP_PORT 15060 -#define TEST_UDP_PORT_STR "15060" - -/** - * Memory size to use in caching pool. - * Default: 2MB - */ -#ifndef PJSIP_TEST_MEM_SIZE -# define PJSIP_TEST_MEM_SIZE (2*1024*1024) -#endif - - - -#define INCLUDE_MESSAGING_GROUP 1 -#define INCLUDE_TRANSPORT_GROUP 1 -#define INCLUDE_TSX_GROUP 1 -#define INCLUDE_INV_GROUP 1 -#define INCLUDE_REGC_GROUP 1 - -#define INCLUDE_BENCHMARKS 1 - -/* - * Include tests that normally would fail under certain gcc - * optimization levels. - */ -#ifndef INCLUDE_GCC_TEST -# define INCLUDE_GCC_TEST 0 -#endif - - -#define INCLUDE_URI_TEST INCLUDE_MESSAGING_GROUP -#define INCLUDE_MSG_TEST INCLUDE_MESSAGING_GROUP -#define INCLUDE_MULTIPART_TEST INCLUDE_MESSAGING_GROUP -#define INCLUDE_TXDATA_TEST INCLUDE_MESSAGING_GROUP -#define INCLUDE_TSX_BENCH INCLUDE_MESSAGING_GROUP -#define INCLUDE_UDP_TEST INCLUDE_TRANSPORT_GROUP -#define INCLUDE_LOOP_TEST INCLUDE_TRANSPORT_GROUP -#define INCLUDE_TCP_TEST INCLUDE_TRANSPORT_GROUP -#define INCLUDE_RESOLVE_TEST INCLUDE_TRANSPORT_GROUP -#define INCLUDE_TSX_TEST INCLUDE_TSX_GROUP -#define INCLUDE_INV_OA_TEST INCLUDE_INV_GROUP -#define INCLUDE_REGC_TEST INCLUDE_REGC_GROUP - - -/* The tests */ -int uri_test(void); -int msg_test(void); -int msg_err_test(void); -int multipart_test(void); -int txdata_test(void); -int tsx_bench(void); -int transport_udp_test(void); -int transport_loop_test(void); -int transport_tcp_test(void); -int resolve_test(void); -int regc_test(void); - -struct tsx_test_param -{ - int type; - int port; - char *tp_type; -}; - -int tsx_basic_test(struct tsx_test_param *param); -int tsx_uac_test(struct tsx_test_param *param); -int tsx_uas_test(struct tsx_test_param *param); - -/* Transport test helpers (transport_test.c). */ -int generic_transport_test(pjsip_transport *tp); -int transport_send_recv_test( pjsip_transport_type_e tp_type, - pjsip_transport *ref_tp, - char *target_url, - int *p_usec_rtt); -int transport_rt_test( pjsip_transport_type_e tp_type, - pjsip_transport *ref_tp, - char *target_url, - int *pkt_lost); -int transport_load_test(char *target_url); - -/* Invite session */ -int inv_offer_answer_test(void); - -/* Test main entry */ -int test_main(void); - -/* Test utilities. */ -void app_perror(const char *msg, pj_status_t status); -int init_msg_logger(void); -int msg_logger_set_enabled(pj_bool_t enabled); -void flush_events(unsigned duration); - - -void report_ival(const char *name, int value, const char *valname, const char *desc); -void report_sval(const char *name, const char* value, const char *valname, const char *desc); - - -/* Settings. */ -extern int log_level; - -#endif /* __TEST_H__ */ diff --git a/res/pjproject/pjsip/src/test/transport_loop_test.c b/res/pjproject/pjsip/src/test/transport_loop_test.c deleted file mode 100644 index efa2ea116e..0000000000 --- a/res/pjproject/pjsip/src/test/transport_loop_test.c +++ /dev/null @@ -1,127 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include "test.h" -#include -#include - -#define THIS_FILE "transport_loop_test.c" - -static int datagram_loop_test() -{ - enum { LOOP = 8 }; - pjsip_transport *loop; - int i, pkt_lost; - pj_sockaddr_in addr; - pj_status_t status; - long ref_cnt; - int rtt[LOOP], min_rtt; - - PJ_LOG(3,(THIS_FILE, "testing datagram loop transport")); - - /* Test acquire transport. */ - status = pjsip_endpt_acquire_transport( endpt, PJSIP_TRANSPORT_LOOP_DGRAM, - &addr, sizeof(addr), NULL, &loop); - if (status != PJ_SUCCESS) { - app_perror(" error: loop transport is not configured", status); - return -20; - } - - /* Get initial reference counter */ - ref_cnt = pj_atomic_get(loop->ref_cnt); - - /* Test basic transport attributes */ - status = generic_transport_test(loop); - if (status != PJ_SUCCESS) - return status; - - /* Basic transport's send/receive loopback test. */ - for (i=0; iref_cnt) != ref_cnt) { - PJ_LOG(3,(THIS_FILE, " error: ref counter is not %d (%d)", - ref_cnt, pj_atomic_get(loop->ref_cnt))); - return -51; - } - - /* Decrement reference. */ - pjsip_transport_dec_ref(loop); - - return 0; -} - -int transport_loop_test(void) -{ - int status; - - status = datagram_loop_test(); - if (status != 0) - return status; - - return 0; -} diff --git a/res/pjproject/pjsip/src/test/transport_tcp_test.c b/res/pjproject/pjsip/src/test/transport_tcp_test.c deleted file mode 100644 index 9024ef99bc..0000000000 --- a/res/pjproject/pjsip/src/test/transport_tcp_test.c +++ /dev/null @@ -1,155 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include "test.h" -#include -#include - -#define THIS_FILE "transport_tcp_test.c" - - -/* - * TCP transport test. - */ -#if PJ_HAS_TCP -int transport_tcp_test(void) -{ - enum { SEND_RECV_LOOP = 8 }; - pjsip_tpfactory *tpfactory; - pjsip_transport *tcp; - pj_sockaddr_in rem_addr; - pj_status_t status; - char url[PJSIP_MAX_URL_SIZE]; - int rtt[SEND_RECV_LOOP], min_rtt; - int i, pkt_lost; - - /* Start TCP listener on arbitrary port. */ - status = pjsip_tcp_transport_start(endpt, NULL, 1, &tpfactory); - if (status != PJ_SUCCESS) { - app_perror(" Error: unable to start TCP transport", status); - return -10; - } - - - /* Get the listener address */ - status = pj_sockaddr_in_init(&rem_addr, &tpfactory->addr_name.host, - (pj_uint16_t)tpfactory->addr_name.port); - if (status != PJ_SUCCESS) { - app_perror(" Error: possibly invalid TCP address name", status); - return -14; - } - - pj_ansi_sprintf(url, "sip:alice@%s:%d;transport=tcp", - pj_inet_ntoa(rem_addr.sin_addr), - pj_ntohs(rem_addr.sin_port)); - - - /* Acquire one TCP transport. */ - status = pjsip_endpt_acquire_transport(endpt, PJSIP_TRANSPORT_TCP, - &rem_addr, sizeof(rem_addr), - NULL, &tcp); - if (status != PJ_SUCCESS || tcp == NULL) { - app_perror(" Error: unable to acquire TCP transport", status); - return -17; - } - - /* After pjsip_endpt_acquire_transport, TCP transport must have - * reference counter 1. - */ - if (pj_atomic_get(tcp->ref_cnt) != 1) - return -20; - - /* Test basic transport attributes */ - status = generic_transport_test(tcp); - if (status != PJ_SUCCESS) - return status; - - - /* Check again that reference counter is 1. */ - if (pj_atomic_get(tcp->ref_cnt) != 1) - return -40; - - /* Load test */ - if (transport_load_test(url) != 0) - return -60; - - /* Basic transport's send/receive loopback test. */ - for (i=0; iref_cnt) != 1) - return -80; - - /* Destroy this transport. */ - pjsip_transport_dec_ref(tcp); - - /* Force destroy this transport. */ - status = pjsip_transport_destroy(tcp); - if (status != PJ_SUCCESS) - return -90; - - /* Unregister factory */ - status = pjsip_tpmgr_unregister_tpfactory(pjsip_endpt_get_tpmgr(endpt), - tpfactory); - if (status != PJ_SUCCESS) - return -95; - - /* Flush events. */ - PJ_LOG(3,(THIS_FILE, " Flushing events, 1 second...")); - flush_events(1000); - - /* Done */ - return 0; -} -#else /* PJ_HAS_TCP */ -int transport_tcp_test(void) -{ - return 0; -} -#endif /* PJ_HAS_TCP */ diff --git a/res/pjproject/pjsip/src/test/transport_test.c b/res/pjproject/pjsip/src/test/transport_test.c deleted file mode 100644 index a1cb6056df..0000000000 --- a/res/pjproject/pjsip/src/test/transport_test.c +++ /dev/null @@ -1,771 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include "test.h" -#include -#include - -#define THIS_FILE "transport_test.c" - -/////////////////////////////////////////////////////////////////////////////// -/* - * Generic testing for transport, to make sure that basic - * attributes have been initialized properly. - */ -int generic_transport_test(pjsip_transport *tp) -{ - PJ_LOG(3,(THIS_FILE, " structure test...")); - - /* Check that local address name is valid. */ - { - struct pj_in_addr addr; - - /* Note: inet_aton() returns non-zero if addr is valid! */ - if (pj_inet_aton(&tp->local_name.host, &addr) != 0) { - if (addr.s_addr==PJ_INADDR_ANY || addr.s_addr==PJ_INADDR_NONE) { - PJ_LOG(3,(THIS_FILE, " Error: invalid address name")); - return -420; - } - } else { - /* It's okay. local_name.host may be a hostname instead of - * IP address. - */ - } - } - - /* Check that port is valid. */ - if (tp->local_name.port <= 0) { - return -430; - } - - /* Check length of address (for now we only check against sockaddr_in). */ - if (tp->addr_len != sizeof(pj_sockaddr_in)) - return -440; - - /* Check type. */ - if (tp->key.type == PJSIP_TRANSPORT_UNSPECIFIED) - return -450; - - /* That's it. */ - return PJ_SUCCESS; -} - -/////////////////////////////////////////////////////////////////////////////// -/* - * Send/receive test. - * - * This test sends a request to loopback address; as soon as request is - * received, response will be sent, and time is recorded. - * - * The main purpose is to test that the basic transport functionalities works, - * before we continue with more complicated tests. - */ -#define FROM_HDR "Bob " -#define CONTACT_HDR "Bob " -#define CALL_ID_HDR "SendRecv-Test" -#define CSEQ_VALUE 100 -#define BODY "Hello World!" - -static pj_bool_t my_on_rx_request(pjsip_rx_data *rdata); -static pj_bool_t my_on_rx_response(pjsip_rx_data *rdata); - -/* Flag to indicate message has been received - * (or failed to send) - */ -#define NO_STATUS -2 -static int send_status = NO_STATUS; -static int recv_status = NO_STATUS; -static pj_timestamp my_send_time, my_recv_time; - -/* Module to receive messages for this test. */ -static pjsip_module my_module = -{ - NULL, NULL, /* prev and next */ - { "Transport-Test", 14}, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_TSX_LAYER-1, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &my_on_rx_request, /* on_rx_request() */ - &my_on_rx_response, /* on_rx_response() */ - NULL, /* on_tsx_state() */ -}; - - -static pj_bool_t my_on_rx_request(pjsip_rx_data *rdata) -{ - /* Check that this is our request. */ - if (pj_strcmp2(&rdata->msg_info.cid->id, CALL_ID_HDR) == 0) { - /* It is! */ - /* Send response. */ - pjsip_tx_data *tdata; - pjsip_response_addr res_addr; - pj_status_t status; - - status = pjsip_endpt_create_response( endpt, rdata, 200, NULL, &tdata); - if (status != PJ_SUCCESS) { - recv_status = status; - return PJ_TRUE; - } - status = pjsip_get_response_addr( tdata->pool, rdata, &res_addr); - if (status != PJ_SUCCESS) { - recv_status = status; - pjsip_tx_data_dec_ref(tdata); - return PJ_TRUE; - } - status = pjsip_endpt_send_response( endpt, &res_addr, tdata, NULL, NULL); - if (status != PJ_SUCCESS) { - recv_status = status; - pjsip_tx_data_dec_ref(tdata); - return PJ_TRUE; - } - return PJ_TRUE; - } - - /* Not ours. */ - return PJ_FALSE; -} - -static pj_bool_t my_on_rx_response(pjsip_rx_data *rdata) -{ - if (pj_strcmp2(&rdata->msg_info.cid->id, CALL_ID_HDR) == 0) { - pj_get_timestamp(&my_recv_time); - recv_status = PJ_SUCCESS; - return PJ_TRUE; - } - return PJ_FALSE; -} - -/* Transport callback. */ -static void send_msg_callback(pjsip_send_state *stateless_data, - pj_ssize_t sent, pj_bool_t *cont) -{ - PJ_UNUSED_ARG(stateless_data); - - if (sent < 1) { - /* Obtain the error code. */ - send_status = -sent; - } else { - send_status = PJ_SUCCESS; - } - - /* Don't want to continue. */ - *cont = PJ_FALSE; -} - - -/* Test that we receive loopback message. */ -int transport_send_recv_test( pjsip_transport_type_e tp_type, - pjsip_transport *ref_tp, - char *target_url, - int *p_usec_rtt) -{ - pj_bool_t msg_log_enabled; - pj_status_t status; - pj_str_t target, from, to, contact, call_id, body; - pjsip_method method; - pjsip_tx_data *tdata; - pj_time_val timeout; - - PJ_UNUSED_ARG(tp_type); - PJ_UNUSED_ARG(ref_tp); - - PJ_LOG(3,(THIS_FILE, " single message round-trip test...")); - - /* Register out test module to receive the message (if necessary). */ - if (my_module.id == -1) { - status = pjsip_endpt_register_module( endpt, &my_module ); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to register module", status); - return -500; - } - } - - /* Disable message logging. */ - msg_log_enabled = msg_logger_set_enabled(0); - - /* Create a request message. */ - target = pj_str(target_url); - from = pj_str(FROM_HDR); - to = pj_str(target_url); - contact = pj_str(CONTACT_HDR); - call_id = pj_str(CALL_ID_HDR); - body = pj_str(BODY); - - pjsip_method_set(&method, PJSIP_OPTIONS_METHOD); - status = pjsip_endpt_create_request( endpt, &method, &target, &from, &to, - &contact, &call_id, CSEQ_VALUE, - &body, &tdata ); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create request", status); - return -510; - } - - /* Reset statuses */ - send_status = recv_status = NO_STATUS; - - /* Start time. */ - pj_get_timestamp(&my_send_time); - - /* Send the message (statelessly). */ - PJ_LOG(5,(THIS_FILE, "Sending request to %.*s", - (int)target.slen, target.ptr)); - status = pjsip_endpt_send_request_stateless( endpt, tdata, NULL, - &send_msg_callback); - if (status != PJ_SUCCESS) { - /* Immediate error! */ - pjsip_tx_data_dec_ref(tdata); - send_status = status; - } - - /* Set the timeout (2 seconds from now) */ - pj_gettimeofday(&timeout); - timeout.sec += 2; - - /* Loop handling events until we get status */ - do { - pj_time_val now; - pj_time_val poll_interval = { 0, 10 }; - - pj_gettimeofday(&now); - if (PJ_TIME_VAL_GTE(now, timeout)) { - PJ_LOG(3,(THIS_FILE, " error: timeout in send/recv test")); - status = -540; - goto on_return; - } - - if (send_status!=NO_STATUS && send_status!=PJ_SUCCESS) { - app_perror(" error sending message", send_status); - status = -550; - goto on_return; - } - - if (recv_status!=NO_STATUS && recv_status!=PJ_SUCCESS) { - app_perror(" error receiving message", recv_status); - status = -560; - goto on_return; - } - - if (send_status!=NO_STATUS && recv_status!=NO_STATUS) { - /* Success! */ - break; - } - - pjsip_endpt_handle_events(endpt, &poll_interval); - - } while (1); - - if (status == PJ_SUCCESS) { - unsigned usec_rt; - usec_rt = pj_elapsed_usec(&my_send_time, &my_recv_time); - - PJ_LOG(3,(THIS_FILE, " round-trip = %d usec", usec_rt)); - - *p_usec_rtt = usec_rt; - } - - /* Restore message logging. */ - msg_logger_set_enabled(msg_log_enabled); - - status = PJ_SUCCESS; - -on_return: - return status; -} - - -/////////////////////////////////////////////////////////////////////////////// -/* - * Multithreaded round-trip test - * - * This test will spawn multiple threads, each of them send a request. As soon - * as request is received, response will be sent, and time is recorded. - * - * The main purpose of this test is to ensure there's no crash when multiple - * threads are sending/receiving messages. - * - */ -static pj_bool_t rt_on_rx_request(pjsip_rx_data *rdata); -static pj_bool_t rt_on_rx_response(pjsip_rx_data *rdata); - -static pjsip_module rt_module = -{ - NULL, NULL, /* prev and next */ - { "Transport-RT-Test", 17}, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_TSX_LAYER-1, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &rt_on_rx_request, /* on_rx_request() */ - &rt_on_rx_response, /* on_rx_response() */ - NULL, /* tsx_handler() */ -}; - -static struct -{ - pj_thread_t *thread; - pj_timestamp send_time; - pj_timestamp total_rt_time; - int sent_request_count, recv_response_count; - pj_str_t call_id; - pj_timer_entry timeout_timer; - pj_timer_entry tx_timer; - pj_mutex_t *mutex; -} rt_test_data[16]; - -static char rt_target_uri[64]; -static pj_bool_t rt_stop; -static pj_str_t rt_call_id; - -static pj_bool_t rt_on_rx_request(pjsip_rx_data *rdata) -{ - if (!pj_strncmp(&rdata->msg_info.cid->id, &rt_call_id, rt_call_id.slen)) { - pjsip_tx_data *tdata; - pjsip_response_addr res_addr; - pj_status_t status; - - status = pjsip_endpt_create_response( endpt, rdata, 200, NULL, &tdata); - if (status != PJ_SUCCESS) { - app_perror(" error creating response", status); - return PJ_TRUE; - } - status = pjsip_get_response_addr( tdata->pool, rdata, &res_addr); - if (status != PJ_SUCCESS) { - app_perror(" error in get response address", status); - pjsip_tx_data_dec_ref(tdata); - return PJ_TRUE; - } - status = pjsip_endpt_send_response( endpt, &res_addr, tdata, NULL, NULL); - if (status != PJ_SUCCESS) { - app_perror(" error sending response", status); - pjsip_tx_data_dec_ref(tdata); - return PJ_TRUE; - } - return PJ_TRUE; - - } - return PJ_FALSE; -} - -static pj_status_t rt_send_request(int thread_id) -{ - pj_status_t status; - pj_str_t target, from, to, contact, call_id; - pjsip_tx_data *tdata; - pj_time_val timeout_delay; - - pj_mutex_lock(rt_test_data[thread_id].mutex); - - /* Create a request message. */ - target = pj_str(rt_target_uri); - from = pj_str(FROM_HDR); - to = pj_str(rt_target_uri); - contact = pj_str(CONTACT_HDR); - call_id = rt_test_data[thread_id].call_id; - - status = pjsip_endpt_create_request( endpt, &pjsip_options_method, - &target, &from, &to, - &contact, &call_id, -1, - NULL, &tdata ); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create request", status); - pj_mutex_unlock(rt_test_data[thread_id].mutex); - return -610; - } - - /* Start time. */ - pj_get_timestamp(&rt_test_data[thread_id].send_time); - - /* Send the message (statelessly). */ - status = pjsip_endpt_send_request_stateless( endpt, tdata, NULL, NULL); - if (status != PJ_SUCCESS) { - /* Immediate error! */ - app_perror(" error: send request", status); - pjsip_tx_data_dec_ref(tdata); - pj_mutex_unlock(rt_test_data[thread_id].mutex); - return -620; - } - - /* Update counter. */ - rt_test_data[thread_id].sent_request_count++; - - /* Set timeout timer. */ - if (rt_test_data[thread_id].timeout_timer.user_data != NULL) { - pjsip_endpt_cancel_timer(endpt, &rt_test_data[thread_id].timeout_timer); - } - timeout_delay.sec = 100; timeout_delay.msec = 0; - rt_test_data[thread_id].timeout_timer.user_data = (void*)1; - pjsip_endpt_schedule_timer(endpt, &rt_test_data[thread_id].timeout_timer, - &timeout_delay); - - pj_mutex_unlock(rt_test_data[thread_id].mutex); - return PJ_SUCCESS; -} - -static pj_bool_t rt_on_rx_response(pjsip_rx_data *rdata) -{ - if (!pj_strncmp(&rdata->msg_info.cid->id, &rt_call_id, rt_call_id.slen)) { - char *pos = pj_strchr(&rdata->msg_info.cid->id, '/')+1; - int thread_id = (*pos - '0'); - pj_timestamp recv_time; - - pj_mutex_lock(rt_test_data[thread_id].mutex); - - /* Stop timer. */ - pjsip_endpt_cancel_timer(endpt, &rt_test_data[thread_id].timeout_timer); - - /* Update counter and end-time. */ - rt_test_data[thread_id].recv_response_count++; - pj_get_timestamp(&recv_time); - - pj_sub_timestamp(&recv_time, &rt_test_data[thread_id].send_time); - pj_add_timestamp(&rt_test_data[thread_id].total_rt_time, &recv_time); - - if (!rt_stop) { - pj_time_val tx_delay = { 0, 0 }; - pj_assert(rt_test_data[thread_id].tx_timer.user_data == NULL); - rt_test_data[thread_id].tx_timer.user_data = (void*)1; - pjsip_endpt_schedule_timer(endpt, &rt_test_data[thread_id].tx_timer, - &tx_delay); - } - - pj_mutex_unlock(rt_test_data[thread_id].mutex); - - return PJ_TRUE; - } - return PJ_FALSE; -} - -static void rt_timeout_timer( pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry ) -{ - pj_mutex_lock(rt_test_data[entry->id].mutex); - - PJ_UNUSED_ARG(timer_heap); - PJ_LOG(3,(THIS_FILE, " timeout waiting for response")); - rt_test_data[entry->id].timeout_timer.user_data = NULL; - - if (rt_test_data[entry->id].tx_timer.user_data == NULL) { - pj_time_val delay = { 0, 0 }; - rt_test_data[entry->id].tx_timer.user_data = (void*)1; - pjsip_endpt_schedule_timer(endpt, &rt_test_data[entry->id].tx_timer, - &delay); - } - - pj_mutex_unlock(rt_test_data[entry->id].mutex); -} - -static void rt_tx_timer( pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry ) -{ - pj_mutex_lock(rt_test_data[entry->id].mutex); - - PJ_UNUSED_ARG(timer_heap); - pj_assert(rt_test_data[entry->id].tx_timer.user_data != NULL); - rt_test_data[entry->id].tx_timer.user_data = NULL; - rt_send_request(entry->id); - - pj_mutex_unlock(rt_test_data[entry->id].mutex); -} - - -static int rt_worker_thread(void *arg) -{ - int i; - pj_time_val poll_delay = { 0, 10 }; - - PJ_UNUSED_ARG(arg); - - /* Sleep to allow main threads to run. */ - pj_thread_sleep(10); - - while (!rt_stop) { - pjsip_endpt_handle_events(endpt, &poll_delay); - } - - /* Exhaust responses. */ - for (i=0; i<100; ++i) - pjsip_endpt_handle_events(endpt, &poll_delay); - - return 0; -} - -int transport_rt_test( pjsip_transport_type_e tp_type, - pjsip_transport *ref_tp, - char *target_url, - int *lost) -{ - enum { THREADS = 4, INTERVAL = 10 }; - int i; - pj_status_t status; - pj_pool_t *pool; - pj_bool_t logger_enabled; - - pj_timestamp zero_time, total_time; - unsigned usec_rt; - unsigned total_sent; - unsigned total_recv; - - PJ_UNUSED_ARG(tp_type); - PJ_UNUSED_ARG(ref_tp); - - PJ_LOG(3,(THIS_FILE, " multithreaded round-trip test (%d threads)...", - THREADS)); - PJ_LOG(3,(THIS_FILE, " this will take approx %d seconds, please wait..", - INTERVAL)); - - /* Make sure msg logger is disabled. */ - logger_enabled = msg_logger_set_enabled(0); - - /* Register module (if not yet registered) */ - if (rt_module.id == -1) { - status = pjsip_endpt_register_module( endpt, &rt_module ); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to register module", status); - return -600; - } - } - - /* Create pool for this test. */ - pool = pjsip_endpt_create_pool(endpt, NULL, 4000, 4000); - if (!pool) - return -610; - - /* Initialize static test data. */ - pj_ansi_strcpy(rt_target_uri, target_url); - rt_call_id = pj_str("RT-Call-Id/"); - rt_stop = PJ_FALSE; - - /* Initialize thread data. */ - for (i=0; imsg_info.cseq->cseq != mod_load.next_seq) { - PJ_LOG(1,("THIS_FILE", " err: expecting cseq %u, got %u", - mod_load.next_seq, rdata->msg_info.cseq->cseq)); - mod_load.err = PJ_TRUE; - mod_load.next_seq = rdata->msg_info.cseq->cseq + 1; - } else - mod_load.next_seq++; - return PJ_TRUE; -} - -int transport_load_test(char *target_url) -{ - enum { COUNT = 2000 }; - unsigned i; - pj_status_t status = PJ_SUCCESS; - - /* exhaust packets */ - do { - pj_time_val delay = {1, 0}; - i = 0; - pjsip_endpt_handle_events2(endpt, &delay, &i); - } while (i != 0); - - PJ_LOG(3,(THIS_FILE, " transport load test...")); - - if (mod_load.mod.id == -1) { - status = pjsip_endpt_register_module( endpt, &mod_load.mod); - if (status != PJ_SUCCESS) { - app_perror("error registering module", status); - return -1; - } - } - mod_load.err = PJ_FALSE; - mod_load.next_seq = 0; - - for (i=0; i"); - call_id = pj_str("thecallid"); - status = pjsip_endpt_create_request(endpt, &pjsip_invite_method, - &target, &from, - &target, &from, &call_id, - i, NULL, &tdata ); - if (status != PJ_SUCCESS) { - app_perror("error creating request", status); - goto on_return; - } - - status = pjsip_endpt_send_request_stateless(endpt, tdata, NULL, NULL); - if (status != PJ_SUCCESS) { - app_perror("error sending request", status); - goto on_return; - } - } - - do { - pj_time_val delay = {1, 0}; - i = 0; - pjsip_endpt_handle_events2(endpt, &delay, &i); - } while (i != 0); - - if (mod_load.next_seq != COUNT) { - PJ_LOG(1,("THIS_FILE", " err: expecting %u msg, got only %u", - COUNT, mod_load.next_seq)); - status = -2; - goto on_return; - } - -on_return: - if (mod_load.mod.id != -1) { - pjsip_endpt_unregister_module( endpt, &mod_load.mod); - mod_load.mod.id = -1; - } - if (status != PJ_SUCCESS || mod_load.err) { - return -2; - } - PJ_LOG(3,(THIS_FILE, " success")); - return 0; -} - - diff --git a/res/pjproject/pjsip/src/test/transport_udp_test.c b/res/pjproject/pjsip/src/test/transport_udp_test.c deleted file mode 100644 index bc0831a384..0000000000 --- a/res/pjproject/pjsip/src/test/transport_udp_test.c +++ /dev/null @@ -1,128 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include "test.h" -#include -#include - -#define THIS_FILE "transport_udp_test.c" - - -/* - * UDP transport test. - */ -int transport_udp_test(void) -{ - enum { SEND_RECV_LOOP = 8 }; - pjsip_transport *udp_tp, *tp; - pj_sockaddr_in addr, rem_addr; - pj_str_t s; - pj_status_t status; - int rtt[SEND_RECV_LOOP], min_rtt; - int i, pkt_lost; - - pj_sockaddr_in_init(&addr, NULL, TEST_UDP_PORT); - - /* Start UDP transport. */ - status = pjsip_udp_transport_start( endpt, &addr, NULL, 1, &udp_tp); - if (status != PJ_SUCCESS) { - app_perror(" Error: unable to start UDP transport", status); - return -10; - } - - /* UDP transport must have initial reference counter set to 1. */ - if (pj_atomic_get(udp_tp->ref_cnt) != 1) - return -20; - - /* Test basic transport attributes */ - status = generic_transport_test(udp_tp); - if (status != PJ_SUCCESS) - return status; - - /* Test that transport manager is returning the correct - * transport. - */ - pj_sockaddr_in_init(&rem_addr, pj_cstr(&s, "1.1.1.1"), 80); - status = pjsip_endpt_acquire_transport(endpt, PJSIP_TRANSPORT_UDP, - &rem_addr, sizeof(rem_addr), - NULL, &tp); - if (status != PJ_SUCCESS) - return -50; - if (tp != udp_tp) - return -60; - - /* pjsip_endpt_acquire_transport() adds reference, so we need - * to decrement it. - */ - pjsip_transport_dec_ref(tp); - - /* Check again that reference counter is 1. */ - if (pj_atomic_get(udp_tp->ref_cnt) != 1) - return -70; - - /* Basic transport's send/receive loopback test. */ - pj_sockaddr_in_init(&rem_addr, pj_cstr(&s, "127.0.0.1"), TEST_UDP_PORT); - for (i=0; iref_cnt) != 1) - return -80; - - /* Destroy this transport. */ - pjsip_transport_dec_ref(udp_tp); - - /* Force destroy this transport. */ - status = pjsip_transport_destroy(udp_tp); - if (status != PJ_SUCCESS) - return -90; - - /* Flush events. */ - PJ_LOG(3,(THIS_FILE, " Flushing events, 1 second...")); - flush_events(1000); - - /* Done */ - return 0; -} diff --git a/res/pjproject/pjsip/src/test/tsx_basic_test.c b/res/pjproject/pjsip/src/test/tsx_basic_test.c deleted file mode 100644 index 163c3b9fc2..0000000000 --- a/res/pjproject/pjsip/src/test/tsx_basic_test.c +++ /dev/null @@ -1,157 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include "test.h" -#include -#include - -#define THIS_FILE "tsx_basic_test.c" - -static char TARGET_URI[PJSIP_MAX_URL_SIZE]; -static char FROM_URI[PJSIP_MAX_URL_SIZE]; - - -/* Test transaction layer. */ -static int tsx_layer_test(void) -{ - pj_str_t target, from, tsx_key; - pjsip_tx_data *tdata; - pjsip_transaction *tsx, *found; - pj_status_t status; - - PJ_LOG(3,(THIS_FILE, " transaction layer test")); - - target = pj_str(TARGET_URI); - from = pj_str(FROM_URI); - - status = pjsip_endpt_create_request(endpt, &pjsip_invite_method, &target, - &from, &target, NULL, NULL, -1, NULL, - &tdata); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create request", status); - return -110; - } - - status = pjsip_tsx_create_uac(NULL, tdata, &tsx); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create transaction", status); - return -120; - } - - pj_strdup(tdata->pool, &tsx_key, &tsx->transaction_key); - - found = pjsip_tsx_layer_find_tsx(&tsx_key, PJ_FALSE); - if (found != tsx) { - return -130; - } - - pjsip_tsx_terminate(tsx, PJSIP_SC_REQUEST_TERMINATED); - flush_events(500); - - if (pjsip_tx_data_dec_ref(tdata) != PJSIP_EBUFDESTROYED) { - return -140; - } - - return 0; -} - -/* Double terminate test. */ -static int double_terminate(void) -{ - pj_str_t target, from, tsx_key; - pjsip_tx_data *tdata; - pjsip_transaction *tsx; - pj_status_t status; - - PJ_LOG(3,(THIS_FILE, " double terminate test")); - - target = pj_str(TARGET_URI); - from = pj_str(FROM_URI); - - /* Create request. */ - status = pjsip_endpt_create_request(endpt, &pjsip_invite_method, &target, - &from, &target, NULL, NULL, -1, NULL, - &tdata); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create request", status); - return -10; - } - - /* Create transaction. */ - status = pjsip_tsx_create_uac(NULL, tdata, &tsx); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create transaction", status); - return -20; - } - - /* Save transaction key for later. */ - pj_strdup_with_null(tdata->pool, &tsx_key, &tsx->transaction_key); - - /* Add reference to transmit buffer (tsx_send_msg() will dec txdata). */ - pjsip_tx_data_add_ref(tdata); - - /* Send message to start timeout timer. */ - status = pjsip_tsx_send_msg(tsx, NULL); - - /* Terminate transaction. */ - status = pjsip_tsx_terminate(tsx, PJSIP_SC_REQUEST_TERMINATED); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to terminate transaction", status); - return -30; - } - - tsx = pjsip_tsx_layer_find_tsx(&tsx_key, PJ_TRUE); - if (tsx) { - /* Terminate transaction again. */ - pjsip_tsx_terminate(tsx, PJSIP_SC_REQUEST_TERMINATED); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to terminate transaction", status); - return -40; - } - pj_mutex_unlock(tsx->mutex); - } - - flush_events(500); - if (pjsip_tx_data_dec_ref(tdata) != PJSIP_EBUFDESTROYED) { - return -50; - } - - return PJ_SUCCESS; -} - -int tsx_basic_test(struct tsx_test_param *param) -{ - int status; - - pj_ansi_sprintf(TARGET_URI, "sip:bob@127.0.0.1:%d;transport=%s", - param->port, param->tp_type); - pj_ansi_sprintf(FROM_URI, "sip:alice@127.0.0.1:%d;transport=%s", - param->port, param->tp_type); - - status = tsx_layer_test(); - if (status != 0) - return status; - - status = double_terminate(); - if (status != 0) - return status; - - return 0; -} diff --git a/res/pjproject/pjsip/src/test/tsx_bench.c b/res/pjproject/pjsip/src/test/tsx_bench.c deleted file mode 100644 index 8ae5778306..0000000000 --- a/res/pjproject/pjsip/src/test/tsx_bench.c +++ /dev/null @@ -1,280 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include - -#define THIS_FILE "tsx_uas_test.c" - - -static pjsip_module mod_tsx_user; - -static int uac_tsx_bench(unsigned working_set, pj_timestamp *p_elapsed) -{ - unsigned i; - pjsip_tx_data *request; - pjsip_transaction **tsx; - pj_timestamp t1, t2, elapsed; - pjsip_via_hdr *via; - pj_status_t status; - - /* Create the request first. */ - pj_str_t str_target = pj_str("sip:someuser@someprovider.com"); - pj_str_t str_from = pj_str("\"Local User\" "); - pj_str_t str_to = pj_str("\"Remote User\" "); - pj_str_t str_contact = str_from; - - status = pjsip_endpt_create_request(endpt, &pjsip_invite_method, - &str_target, &str_from, &str_to, - &str_contact, NULL, -1, NULL, - &request); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create request", status); - return status; - } - - via = (pjsip_via_hdr*) pjsip_msg_find_hdr(request->msg, PJSIP_H_VIA, - NULL); - - /* Create transaction array */ - tsx = (pjsip_transaction**) pj_pool_zalloc(request->pool, working_set * sizeof(pj_pool_t*)); - - pj_bzero(&mod_tsx_user, sizeof(mod_tsx_user)); - mod_tsx_user.id = -1; - - /* Benchmark */ - elapsed.u64 = 0; - pj_get_timestamp(&t1); - for (i=0; ibranch_param.slen = 0; - } - pj_get_timestamp(&t2); - pj_sub_timestamp(&t2, &t1); - pj_add_timestamp(&elapsed, &t2); - - p_elapsed->u64 = elapsed.u64; - status = PJ_SUCCESS; - -on_error: - for (i=0; i"); - pj_str_t str_to = pj_str("\"Remote User\" "); - pj_str_t str_contact = str_from; - - status = pjsip_endpt_create_request(endpt, &pjsip_invite_method, - &str_target, &str_from, &str_to, - &str_contact, NULL, -1, NULL, - &request); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create request", status); - return status; - } - - /* Create Via */ - via = pjsip_via_hdr_create(request->pool); - via->sent_by.host = pj_str("192.168.0.7"); - via->sent_by.port = 5061; - via->transport = pj_str("udp"); - via->rport_param = 1; - via->recvd_param = pj_str("192.168.0.7"); - pjsip_msg_insert_first_hdr(request->msg, (pjsip_hdr*)via); - - - /* Create "dummy" rdata from the tdata */ - pj_bzero(&rdata, sizeof(pjsip_rx_data)); - rdata.tp_info.pool = request->pool; - rdata.msg_info.msg = request->msg; - rdata.msg_info.from = (pjsip_from_hdr*) pjsip_msg_find_hdr(request->msg, PJSIP_H_FROM, NULL); - rdata.msg_info.to = (pjsip_to_hdr*) pjsip_msg_find_hdr(request->msg, PJSIP_H_TO, NULL); - rdata.msg_info.cseq = (pjsip_cseq_hdr*) pjsip_msg_find_hdr(request->msg, PJSIP_H_CSEQ, NULL); - rdata.msg_info.cid = (pjsip_cid_hdr*) pjsip_msg_find_hdr(request->msg, PJSIP_H_FROM, NULL); - rdata.msg_info.via = via; - - pj_sockaddr_in_init(&remote, 0, 0); - status = pjsip_endpt_acquire_transport(endpt, PJSIP_TRANSPORT_LOOP_DGRAM, - &remote, sizeof(pj_sockaddr_in), - NULL, &rdata.tp_info.transport); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to get loop transport", status); - return status; - } - - - /* Create transaction array */ - tsx = (pjsip_transaction**) pj_pool_zalloc(request->pool, working_set * sizeof(pj_pool_t*)); - - pj_bzero(&mod_tsx_user, sizeof(mod_tsx_user)); - mod_tsx_user.id = -1; - - - /* Benchmark */ - elapsed.u64 = 0; - pj_get_timestamp(&t1); - for (i=0; ibranch_param.ptr = branch_buf; - via->branch_param.slen = PJSIP_RFC3261_BRANCH_LEN + - pj_ansi_sprintf(branch_buf+PJSIP_RFC3261_BRANCH_LEN, - "-%d", i); - status = pjsip_tsx_create_uas(&mod_tsx_user, &rdata, &tsx[i]); - if (status != PJ_SUCCESS) - goto on_error; - - } - pj_get_timestamp(&t2); - pj_sub_timestamp(&t2, &t1); - pj_add_timestamp(&elapsed, &t2); - - p_elapsed->u64 = elapsed.u64; - status = PJ_SUCCESS; - -on_error: - for (i=0; ipjsip_tsx_create_uac(), based on the time " - "to create %d simultaneous transactions above.", - WORKING_SET); - - report_ival("create-uac-tsx-per-sec", - speed, "tsx/sec", desc); - - - - /* - * Benchmark UAS - */ - PJ_LOG(3,(THIS_FILE, " benchmarking UAS transaction creation:")); - for (i=0; ipjsip_tsx_create_uas(), based on the time " - "to create %d simultaneous transactions above.", - WORKING_SET); - - report_ival("create-uas-tsx-per-sec", - speed, "tsx/sec", desc); - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pjsip/src/test/tsx_uac_test.c b/res/pjproject/pjsip/src/test/tsx_uac_test.c deleted file mode 100644 index 1d67dea5bb..0000000000 --- a/res/pjproject/pjsip/src/test/tsx_uac_test.c +++ /dev/null @@ -1,1456 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include "test.h" -#include -#include - -#define THIS_FILE "tsx_uac_test.c" - - -/***************************************************************************** - ** - ** UAC tests. - ** - ** This file performs various tests for UAC transactions. Each test will have - ** a different Via branch param so that message receiver module and - ** transaction user module can identify which test is being carried out. - ** - ** TEST1_BRANCH_ID - ** Perform basic retransmission and timeout test. Message receiver will - ** verify that retransmission is received at correct time. - ** This test verifies the following requirements: - ** - retransmit timer doubles for INVITE - ** - retransmit timer doubles and caps off for non-INVITE - ** - retransmit timer timer is precise - ** - correct timeout and retransmission count - ** Requirements not tested: - ** - retransmit timer only starts after resolving has completed. - ** - ** TEST2_BRANCH_ID - ** Test scenario where resolver is unable to resolve destination host. - ** - ** TEST3_BRANCH_ID - ** Test scenario where transaction is terminated while resolver is still - ** running. - ** - ** TEST4_BRANCH_ID - ** Test scenario where transport failed after several retransmissions. - ** - ** TEST5_BRANCH_ID - ** Test scenario where transaction is terminated by user after several - ** retransmissions. - ** - ** TEST6_BRANCH_ID - ** Test successfull non-INVITE transaction. - ** It tests the following requirements: - ** - transaction correctly moves to COMPLETED state. - ** - retransmission must cease. - ** - tx_data must be maintained until state is terminated. - ** - ** TEST7_BRANCH_ID - ** Test successfull non-INVITE transaction, with provisional response. - ** - ** TEST8_BRANCH_ID - ** Test failed INVITE transaction (e.g. ACK must be received) - ** - ** TEST9_BRANCH_ID - ** Test failed INVITE transaction with provisional response. - ** - ** - ***************************************************************************** - */ - -static char *TEST1_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test1"; -static char *TEST2_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test2"; -static char *TEST3_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test3"; -static char *TEST4_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test4"; -static char *TEST5_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test5"; -static char *TEST6_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test6"; -static char *TEST7_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test7"; -static char *TEST8_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test8"; -static char *TEST9_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAC-Test9"; - -#define TEST1_ALLOWED_DIFF (150) -#define TEST4_RETRANSMIT_CNT 3 -#define TEST5_RETRANSMIT_CNT 3 - -static char TARGET_URI[128]; -static char FROM_URI[128]; -static unsigned tp_flag; -static struct tsx_test_param *test_param; - -static void tsx_user_on_tsx_state(pjsip_transaction *tsx, pjsip_event *e); -static pj_bool_t msg_receiver_on_rx_request(pjsip_rx_data *rdata); - -/* UAC transaction user module. */ -static pjsip_module tsx_user = -{ - NULL, NULL, /* prev and next */ - { "Tsx-UAC-User", 12}, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION-1, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - NULL, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request() */ - NULL, /* on_tx_response() */ - &tsx_user_on_tsx_state, /* on_tsx_state() */ -}; - -/* Module to receive the loop-backed request. */ -static pjsip_module msg_receiver = -{ - NULL, NULL, /* prev and next */ - { "Msg-Receiver", 12}, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION-1, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &msg_receiver_on_rx_request, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request() */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ -}; - -/* Static vars, which will be reset on each test. */ -static int recv_count; -static pj_time_val recv_last; -static pj_bool_t test_complete; - -/* Loop transport instance. */ -static pjsip_transport *loop; - -/* General timer entry to be used by tests. */ -static struct my_timer -{ - pj_timer_entry entry; - char key_buf[1024]; - pj_str_t tsx_key; -} timer; - -/* - * This is the handler to receive state changed notification from the - * transaction. It is used to verify that the transaction behaves according - * to the test scenario. - */ -static void tsx_user_on_tsx_state(pjsip_transaction *tsx, pjsip_event *e) -{ - if (pj_strcmp2(&tsx->branch, TEST1_BRANCH_ID)==0) { - /* - * Transaction with TEST1_BRANCH_ID should terminate with transaction - * timeout status. - */ - if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - - if (test_complete == 0) - test_complete = 1; - - /* Test the status code. */ - if (tsx->status_code != PJSIP_SC_TSX_TIMEOUT) { - PJ_LOG(3,(THIS_FILE, - " error: status code is %d instead of %d", - tsx->status_code, PJSIP_SC_TSX_TIMEOUT)); - test_complete = -710; - } - - - /* If transport is reliable, then there must not be any - * retransmissions. - */ - if (tp_flag & PJSIP_TRANSPORT_RELIABLE) { - if (recv_count != 1) { - PJ_LOG(3,(THIS_FILE, - " error: there were %d (re)transmissions", - recv_count)); - test_complete = -715; - } - } else { - /* Check the number of transmissions, which must be - * 6 for INVITE and 10 for non-INVITE - */ - if (tsx->method.id==PJSIP_INVITE_METHOD && recv_count != 7) { - PJ_LOG(3,(THIS_FILE, - " error: there were %d (re)transmissions", - recv_count)); - test_complete = -716; - } else - if (tsx->method.id==PJSIP_OPTIONS_METHOD && recv_count != 11) { - PJ_LOG(3,(THIS_FILE, - " error: there were %d (re)transmissions", - recv_count)); - test_complete = -717; - } else - if (tsx->method.id!=PJSIP_INVITE_METHOD && - tsx->method.id!=PJSIP_OPTIONS_METHOD) - { - PJ_LOG(3,(THIS_FILE, " error: unexpected method")); - test_complete = -718; - } - } - } - - } else if (pj_strcmp2(&tsx->branch, TEST2_BRANCH_ID)==0) { - /* - * Transaction with TEST2_BRANCH_ID should terminate with transport error. - */ - if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - - /* Test the status code. */ - if (tsx->status_code != PJSIP_SC_TSX_TRANSPORT_ERROR) { - PJ_LOG(3,(THIS_FILE, - " error: status code is %d instead of %d", - tsx->status_code, PJSIP_SC_TSX_TRANSPORT_ERROR)); - test_complete = -720; - } - - if (test_complete == 0) - test_complete = 1; - } - - } else if (pj_strcmp2(&tsx->branch, TEST3_BRANCH_ID)==0) { - /* - * This test terminates the transaction while resolver is still - * running. - */ - if (tsx->state == PJSIP_TSX_STATE_CALLING) { - - /* Terminate the transaction. */ - pjsip_tsx_terminate(tsx, PJSIP_SC_REQUEST_TERMINATED); - - } else if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - - /* Check if status code is correct. */ - if (tsx->status_code != PJSIP_SC_REQUEST_TERMINATED) { - PJ_LOG(3,(THIS_FILE, - " error: status code is %d instead of %d", - tsx->status_code, PJSIP_SC_REQUEST_TERMINATED)); - test_complete = -730; - } - - if (test_complete == 0) - test_complete = 1; - - } - - } else if (pj_strcmp2(&tsx->branch, TEST4_BRANCH_ID)==0) { - /* - * This test simulates transport failure after several - * retransmissions. - */ - if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - - /* Status code must be transport error. */ - if (tsx->status_code != PJSIP_SC_TSX_TRANSPORT_ERROR) { - PJ_LOG(3,(THIS_FILE, - " error: status code is %d instead of %d", - tsx->status_code, PJSIP_SC_TSX_TRANSPORT_ERROR)); - test_complete = -730; - } - - /* Must have correct retransmission count. */ - if (tsx->retransmit_count != TEST4_RETRANSMIT_CNT) { - PJ_LOG(3,(THIS_FILE, - " error: retransmit cnt is %d instead of %d", - tsx->retransmit_count, TEST4_RETRANSMIT_CNT)); - test_complete = -731; - } - - if (test_complete == 0) - test_complete = 1; - } - - - } else if (pj_strcmp2(&tsx->branch, TEST5_BRANCH_ID)==0) { - /* - * This test simulates transport failure after several - * retransmissions. - */ - if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - - /* Status code must be PJSIP_SC_REQUEST_TERMINATED. */ - if (tsx->status_code != PJSIP_SC_REQUEST_TERMINATED) { - PJ_LOG(3,(THIS_FILE, - " error: status code is %d instead of %d", - tsx->status_code, PJSIP_SC_REQUEST_TERMINATED)); - test_complete = -733; - } - - /* Must have correct retransmission count. */ - if (tsx->retransmit_count != TEST5_RETRANSMIT_CNT) { - PJ_LOG(3,(THIS_FILE, - " error: retransmit cnt is %d instead of %d", - tsx->retransmit_count, TEST5_RETRANSMIT_CNT)); - test_complete = -734; - } - - if (test_complete == 0) - test_complete = 1; - } - - - } else if (pj_strcmp2(&tsx->branch, TEST6_BRANCH_ID)==0) { - /* - * Successfull non-INVITE transaction. - */ - if (tsx->state == PJSIP_TSX_STATE_COMPLETED) { - - /* Status code must be 202. */ - if (tsx->status_code != 202) { - PJ_LOG(3,(THIS_FILE, - " error: status code is %d instead of %d", - tsx->status_code, 202)); - test_complete = -736; - } - - /* Must have correct retransmission count. */ - if (tsx->retransmit_count != 0) { - PJ_LOG(3,(THIS_FILE, - " error: retransmit cnt is %d instead of %d", - tsx->retransmit_count, 0)); - test_complete = -737; - } - - /* Must still keep last_tx */ - if (tsx->last_tx == NULL) { - PJ_LOG(3,(THIS_FILE, - " error: transaction lost last_tx")); - test_complete = -738; - } - - if (test_complete == 0) { - test_complete = 1; - pjsip_tsx_terminate(tsx, 202); - } - - } else if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - - /* Previous state must be COMPLETED. */ - if (e->body.tsx_state.prev_state != PJSIP_TSX_STATE_COMPLETED) { - test_complete = -7381; - } - - } - - } else if (pj_strcmp2(&tsx->branch, TEST7_BRANCH_ID)==0) { - /* - * Successfull non-INVITE transaction. - */ - if (tsx->state == PJSIP_TSX_STATE_COMPLETED) { - - /* Check prev state. */ - if (e->body.tsx_state.prev_state != PJSIP_TSX_STATE_PROCEEDING) { - PJ_LOG(3,(THIS_FILE, - " error: prev state is %s instead of %s", - pjsip_tsx_state_str((pjsip_tsx_state_e)e->body.tsx_state.prev_state), - pjsip_tsx_state_str(PJSIP_TSX_STATE_PROCEEDING))); - test_complete = -739; - } - - /* Status code must be 202. */ - if (tsx->status_code != 202) { - PJ_LOG(3,(THIS_FILE, - " error: status code is %d instead of %d", - tsx->status_code, 202)); - test_complete = -740; - } - - /* Must have correct retransmission count. */ - if (tsx->retransmit_count != 0) { - PJ_LOG(3,(THIS_FILE, - " error: retransmit cnt is %d instead of %d", - tsx->retransmit_count, 0)); - test_complete = -741; - } - - /* Must still keep last_tx */ - if (tsx->last_tx == NULL) { - PJ_LOG(3,(THIS_FILE, - " error: transaction lost last_tx")); - test_complete = -741; - } - - if (test_complete == 0) { - test_complete = 1; - pjsip_tsx_terminate(tsx, 202); - } - - } else if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - - /* Previous state must be COMPLETED. */ - if (e->body.tsx_state.prev_state != PJSIP_TSX_STATE_COMPLETED) { - test_complete = -742; - } - - } - - - } else if (pj_strcmp2(&tsx->branch, TEST8_BRANCH_ID)==0) { - /* - * Failed INVITE transaction. - */ - if (tsx->state == PJSIP_TSX_STATE_COMPLETED) { - - /* Status code must be 301. */ - if (tsx->status_code != 301) { - PJ_LOG(3,(THIS_FILE, - " error: status code is %d instead of %d", - tsx->status_code, 301)); - test_complete = -745; - } - - /* Must have correct retransmission count. */ - if (tsx->retransmit_count != 0) { - PJ_LOG(3,(THIS_FILE, - " error: retransmit cnt is %d instead of %d", - tsx->retransmit_count, 0)); - test_complete = -746; - } - - /* Must still keep last_tx */ - if (tsx->last_tx == NULL) { - PJ_LOG(3,(THIS_FILE, - " error: transaction lost last_tx")); - test_complete = -747; - } - - /* last_tx MUST be the INVITE request - * (authorization depends on this behavior) - */ - if (tsx->last_tx && tsx->last_tx->msg->line.req.method.id != - PJSIP_INVITE_METHOD) - { - PJ_LOG(3,(THIS_FILE, - " error: last_tx is not INVITE")); - test_complete = -748; - } - } - else if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - - test_complete = 1; - - /* Previous state must be COMPLETED. */ - if (e->body.tsx_state.prev_state != PJSIP_TSX_STATE_COMPLETED) { - test_complete = -750; - } - - /* Status code must be 301. */ - if (tsx->status_code != 301) { - PJ_LOG(3,(THIS_FILE, - " error: status code is %d instead of %d", - tsx->status_code, 301)); - test_complete = -751; - } - - } - - - } else if (pj_strcmp2(&tsx->branch, TEST9_BRANCH_ID)==0) { - /* - * Failed INVITE transaction with provisional response. - */ - if (tsx->state == PJSIP_TSX_STATE_COMPLETED) { - - /* Previous state must be PJSIP_TSX_STATE_PROCEEDING. */ - if (e->body.tsx_state.prev_state != PJSIP_TSX_STATE_PROCEEDING) { - test_complete = -760; - } - - /* Status code must be 302. */ - if (tsx->status_code != 302) { - PJ_LOG(3,(THIS_FILE, - " error: status code is %d instead of %d", - tsx->status_code, 302)); - test_complete = -761; - } - - /* Must have correct retransmission count. */ - if (tsx->retransmit_count != 0) { - PJ_LOG(3,(THIS_FILE, - " error: retransmit cnt is %d instead of %d", - tsx->retransmit_count, 0)); - test_complete = -762; - } - - /* Must still keep last_tx */ - if (tsx->last_tx == NULL) { - PJ_LOG(3,(THIS_FILE, - " error: transaction lost last_tx")); - test_complete = -763; - } - - /* last_tx MUST be INVITE. - * (authorization depends on this behavior) - */ - if (tsx->last_tx && tsx->last_tx->msg->line.req.method.id != - PJSIP_INVITE_METHOD) - { - PJ_LOG(3,(THIS_FILE, - " error: last_tx is not INVITE")); - test_complete = -764; - } - - } - else if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - - test_complete = 1; - - /* Previous state must be COMPLETED. */ - if (e->body.tsx_state.prev_state != PJSIP_TSX_STATE_COMPLETED) { - test_complete = -767; - } - - /* Status code must be 302. */ - if (tsx->status_code != 302) { - PJ_LOG(3,(THIS_FILE, - " error: status code is %d instead of %d", - tsx->status_code, 302)); - test_complete = -768; - } - - } - - } -} - -/* - * This timer callback is called to send delayed response. - */ -struct response -{ - pjsip_response_addr res_addr; - pjsip_tx_data *tdata; -}; - -static void send_response_callback( pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry) -{ - struct response *r = (struct response*) entry->user_data; - pjsip_transport *tp = r->res_addr.transport; - - PJ_UNUSED_ARG(timer_heap); - - pjsip_endpt_send_response(endpt, &r->res_addr, r->tdata, NULL, NULL); - if (tp) - pjsip_transport_dec_ref(tp); -} - -/* Timer callback to terminate a transaction. */ -static void terminate_tsx_callback( pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry) -{ - struct my_timer *m = (struct my_timer *)entry; - pjsip_transaction *tsx = pjsip_tsx_layer_find_tsx(&m->tsx_key, PJ_FALSE); - int status_code = entry->id; - - PJ_UNUSED_ARG(timer_heap); - - if (tsx) { - pjsip_tsx_terminate(tsx, status_code); - } -} - - -#define DIFF(a,b) ((amsg_info.via->branch_param, TEST1_BRANCH_ID) == 0) { - /* - * The TEST1_BRANCH_ID test performs the verifications for transaction - * retransmission mechanism. It will not answer the incoming request - * with any response. - */ - pjsip_msg *msg = rdata->msg_info.msg; - - PJ_LOG(4,(THIS_FILE, " received request")); - - /* Only wants to take INVITE or OPTIONS method. */ - if (msg->line.req.method.id != PJSIP_INVITE_METHOD && - msg->line.req.method.id != PJSIP_OPTIONS_METHOD) - { - PJ_LOG(3,(THIS_FILE, " error: received unexpected method %.*s", - msg->line.req.method.name.slen, - msg->line.req.method.name.ptr)); - test_complete = -600; - return PJ_TRUE; - } - - if (recv_count == 0) { - recv_count++; - //pj_gettimeofday(&recv_last); - recv_last = rdata->pkt_info.timestamp; - } else { - pj_time_val now; - unsigned msec_expected, msec_elapsed; - int max_received; - - //pj_gettimeofday(&now); - now = rdata->pkt_info.timestamp; - PJ_TIME_VAL_SUB(now, recv_last); - msec_elapsed = now.sec*1000 + now.msec; - - ++recv_count; - msec_expected = (1<<(recv_count-2))*pjsip_cfg()->tsx.t1; - - if (msg->line.req.method.id != PJSIP_INVITE_METHOD) { - if (msec_expected > pjsip_cfg()->tsx.t2) - msec_expected = pjsip_cfg()->tsx.t2; - max_received = 11; - } else { - max_received = 7; - } - - if (DIFF(msec_expected, msec_elapsed) > TEST1_ALLOWED_DIFF) { - PJ_LOG(3,(THIS_FILE, - " error: expecting retransmission no. %d in %d " - "ms, received in %d ms", - recv_count-1, msec_expected, msec_elapsed)); - test_complete = -610; - } - - - if (recv_count > max_received) { - PJ_LOG(3,(THIS_FILE, - " error: too many messages (%d) received", - recv_count)); - test_complete = -620; - } - - //pj_gettimeofday(&recv_last); - recv_last = rdata->pkt_info.timestamp; - } - return PJ_TRUE; - - } else - if (pj_strcmp2(&rdata->msg_info.via->branch_param, TEST4_BRANCH_ID) == 0) { - /* - * The TEST4_BRANCH_ID test simulates transport failure after several - * retransmissions. - */ - recv_count++; - - if (recv_count == TEST4_RETRANSMIT_CNT) { - /* Simulate transport failure. */ - pjsip_loop_set_failure(loop, 2, NULL); - - } else if (recv_count > TEST4_RETRANSMIT_CNT) { - PJ_LOG(3,(THIS_FILE," error: not expecting %d-th packet!", - recv_count)); - test_complete = -631; - } - - return PJ_TRUE; - - - } else - if (pj_strcmp2(&rdata->msg_info.via->branch_param, TEST5_BRANCH_ID) == 0) { - /* - * The TEST5_BRANCH_ID test simulates user terminating the transaction - * after several retransmissions. - */ - recv_count++; - - if (recv_count == TEST5_RETRANSMIT_CNT+1) { - pj_str_t key; - pjsip_transaction *tsx; - - pjsip_tsx_create_key( rdata->tp_info.pool, &key, PJSIP_ROLE_UAC, - &rdata->msg_info.msg->line.req.method, rdata); - tsx = pjsip_tsx_layer_find_tsx(&key, PJ_TRUE); - if (tsx) { - pjsip_tsx_terminate(tsx, PJSIP_SC_REQUEST_TERMINATED); - pj_mutex_unlock(tsx->mutex); - } else { - PJ_LOG(3,(THIS_FILE, " error: uac transaction not found!")); - test_complete = -633; - } - - } else if (recv_count > TEST5_RETRANSMIT_CNT+1) { - PJ_LOG(3,(THIS_FILE," error: not expecting %d-th packet!", - recv_count)); - test_complete = -634; - } - - return PJ_TRUE; - - } else - if (pj_strcmp2(&rdata->msg_info.via->branch_param, TEST6_BRANCH_ID) == 0) { - /* - * The TEST6_BRANCH_ID test successfull non-INVITE transaction. - */ - pj_status_t status; - - recv_count++; - - if (recv_count > 1) { - PJ_LOG(3,(THIS_FILE," error: not expecting %d-th packet!", - recv_count)); - test_complete = -635; - } - - status = pjsip_endpt_respond_stateless(endpt, rdata, 202, NULL, - NULL, NULL); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to send response", status); - test_complete = -636; - } - - return PJ_TRUE; - - - } else - if (pj_strcmp2(&rdata->msg_info.via->branch_param, TEST7_BRANCH_ID) == 0) { - /* - * The TEST7_BRANCH_ID test successfull non-INVITE transaction - * with provisional response. - */ - pj_status_t status; - pjsip_response_addr res_addr; - struct response *r; - pjsip_tx_data *tdata; - pj_time_val delay = { 2, 0 }; - - recv_count++; - - if (recv_count > 1) { - PJ_LOG(3,(THIS_FILE," error: not expecting %d-th packet!", - recv_count)); - test_complete = -640; - return PJ_TRUE; - } - - /* Respond with provisional response */ - status = pjsip_endpt_create_response(endpt, rdata, 100, NULL, &tdata); - pj_assert(status == PJ_SUCCESS); - - status = pjsip_get_response_addr(tdata->pool, rdata, &res_addr); - pj_assert(status == PJ_SUCCESS); - - status = pjsip_endpt_send_response(endpt, &res_addr, tdata, - NULL, NULL); - pj_assert(status == PJ_SUCCESS); - - /* Create the final response. */ - status = pjsip_endpt_create_response(endpt, rdata, 202, NULL, &tdata); - pj_assert(status == PJ_SUCCESS); - - /* Schedule sending final response in couple of of secs. */ - r = PJ_POOL_ALLOC_T(tdata->pool, struct response); - r->res_addr = res_addr; - r->tdata = tdata; - if (r->res_addr.transport) - pjsip_transport_add_ref(r->res_addr.transport); - - timer.entry.cb = &send_response_callback; - timer.entry.user_data = r; - pjsip_endpt_schedule_timer(endpt, &timer.entry, &delay); - - return PJ_TRUE; - - - } else - if (pj_strcmp2(&rdata->msg_info.via->branch_param, TEST8_BRANCH_ID) == 0) { - /* - * The TEST8_BRANCH_ID test failed INVITE transaction. - */ - pjsip_method *method; - pj_status_t status; - - method = &rdata->msg_info.msg->line.req.method; - - recv_count++; - - if (method->id == PJSIP_INVITE_METHOD) { - - if (recv_count > 1) { - PJ_LOG(3,(THIS_FILE," error: not expecting %d-th packet!", - recv_count)); - test_complete = -635; - } - - status = pjsip_endpt_respond_stateless(endpt, rdata, 301, NULL, - NULL, NULL); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to send response", status); - test_complete = -636; - } - - } else if (method->id == PJSIP_ACK_METHOD) { - - if (recv_count == 2) { - pj_str_t key; - pj_time_val delay = { 5, 0 }; - - /* Schedule timer to destroy transaction after 5 seconds. - * This is to make sure that transaction does not - * retransmit ACK. - */ - pjsip_tsx_create_key(rdata->tp_info.pool, &key, - PJSIP_ROLE_UAC, &pjsip_invite_method, - rdata); - - pj_strcpy(&timer.tsx_key, &key); - timer.entry.id = 301; - timer.entry.cb = &terminate_tsx_callback; - - pjsip_endpt_schedule_timer(endpt, &timer.entry, &delay); - } - - if (recv_count > 2) { - PJ_LOG(3,(THIS_FILE," error: not expecting %d-th packet!", - recv_count)); - test_complete = -638; - } - - - } else { - PJ_LOG(3,(THIS_FILE," error: not expecting %s", - pjsip_rx_data_get_info(rdata))); - test_complete = -639; - - } - - - } else - if (pj_strcmp2(&rdata->msg_info.via->branch_param, TEST9_BRANCH_ID) == 0) { - /* - * The TEST9_BRANCH_ID test failed INVITE transaction with - * provisional response. - */ - pjsip_method *method; - pj_status_t status; - - method = &rdata->msg_info.msg->line.req.method; - - recv_count++; - - if (method->id == PJSIP_INVITE_METHOD) { - - pjsip_response_addr res_addr; - struct response *r; - pjsip_tx_data *tdata; - pj_time_val delay = { 2, 0 }; - - if (recv_count > 1) { - PJ_LOG(3,(THIS_FILE," error: not expecting %d-th packet!", - recv_count)); - test_complete = -650; - return PJ_TRUE; - } - - /* Respond with provisional response */ - status = pjsip_endpt_create_response(endpt, rdata, 100, NULL, - &tdata); - pj_assert(status == PJ_SUCCESS); - - status = pjsip_get_response_addr(tdata->pool, rdata, &res_addr); - pj_assert(status == PJ_SUCCESS); - - status = pjsip_endpt_send_response(endpt, &res_addr, tdata, - NULL, NULL); - pj_assert(status == PJ_SUCCESS); - - /* Create the final response. */ - status = pjsip_endpt_create_response(endpt, rdata, 302, NULL, - &tdata); - pj_assert(status == PJ_SUCCESS); - - /* Schedule sending final response in couple of of secs. */ - r = PJ_POOL_ALLOC_T(tdata->pool, struct response); - r->res_addr = res_addr; - r->tdata = tdata; - if (r->res_addr.transport) - pjsip_transport_add_ref(r->res_addr.transport); - - timer.entry.cb = &send_response_callback; - timer.entry.user_data = r; - pjsip_endpt_schedule_timer(endpt, &timer.entry, &delay); - - } else if (method->id == PJSIP_ACK_METHOD) { - - if (recv_count == 2) { - pj_str_t key; - pj_time_val delay = { 5, 0 }; - - /* Schedule timer to destroy transaction after 5 seconds. - * This is to make sure that transaction does not - * retransmit ACK. - */ - pjsip_tsx_create_key(rdata->tp_info.pool, &key, - PJSIP_ROLE_UAC, &pjsip_invite_method, - rdata); - - pj_strcpy(&timer.tsx_key, &key); - timer.entry.id = 302; - timer.entry.cb = &terminate_tsx_callback; - - pjsip_endpt_schedule_timer(endpt, &timer.entry, &delay); - } - - if (recv_count > 2) { - PJ_LOG(3,(THIS_FILE," error: not expecting %d-th packet!", - recv_count)); - test_complete = -638; - } - - - } else { - PJ_LOG(3,(THIS_FILE," error: not expecting %s", - pjsip_rx_data_get_info(rdata))); - test_complete = -639; - - } - - return PJ_TRUE; - - } - - return PJ_FALSE; -} - -/* - * The generic test framework, used by most of the tests. - */ -static int perform_tsx_test(int dummy, char *target_uri, char *from_uri, - char *branch_param, int test_time, - const pjsip_method *method) -{ - pjsip_tx_data *tdata; - pjsip_transaction *tsx; - pj_str_t target, from, tsx_key; - pjsip_via_hdr *via; - pj_time_val timeout; - pj_status_t status; - - PJ_UNUSED_ARG(dummy); - - PJ_LOG(3,(THIS_FILE, - " please standby, this will take at most %d seconds..", - test_time)); - - /* Reset test. */ - recv_count = 0; - test_complete = 0; - - /* Init headers. */ - target = pj_str(target_uri); - from = pj_str(from_uri); - - /* Create request. */ - status = pjsip_endpt_create_request( endpt, method, &target, - &from, &target, NULL, NULL, -1, - NULL, &tdata); - if (status != PJ_SUCCESS) { - app_perror(" Error: unable to create request", status); - return -100; - } - - /* Set the branch param for test 1. */ - via = (pjsip_via_hdr*) pjsip_msg_find_hdr(tdata->msg, PJSIP_H_VIA, NULL); - via->branch_param = pj_str(branch_param); - - /* Add additional reference to tdata to prevent transaction from - * deleting it. - */ - pjsip_tx_data_add_ref(tdata); - - /* Create transaction. */ - status = pjsip_tsx_create_uac( &tsx_user, tdata, &tsx); - if (status != PJ_SUCCESS) { - app_perror(" Error: unable to create UAC transaction", status); - pjsip_tx_data_dec_ref(tdata); - return -110; - } - - /* Get transaction key. */ - pj_strdup(tdata->pool, &tsx_key, &tsx->transaction_key); - - /* Send the message. */ - status = pjsip_tsx_send_msg(tsx, NULL); - // Ignore send result. Some tests do deliberately triggers error - // when sending message. - if (status != PJ_SUCCESS) { - // app_perror(" Error: unable to send request", status); - pjsip_tx_data_dec_ref(tdata); - // return -120; - } - - - /* Set test completion time. */ - pj_gettimeofday(&timeout); - timeout.sec += test_time; - - /* Wait until test complete. */ - while (!test_complete) { - pj_time_val now, poll_delay = {0, 10}; - - pjsip_endpt_handle_events(endpt, &poll_delay); - - pj_gettimeofday(&now); - if (now.sec > timeout.sec) { - PJ_LOG(3,(THIS_FILE, " Error: test has timed out")); - pjsip_tx_data_dec_ref(tdata); - return -130; - } - } - - if (test_complete < 0) { - tsx = pjsip_tsx_layer_find_tsx(&tsx_key, PJ_TRUE); - if (tsx) { - pjsip_tsx_terminate(tsx, PJSIP_SC_REQUEST_TERMINATED); - pj_mutex_unlock(tsx->mutex); - flush_events(1000); - } - pjsip_tx_data_dec_ref(tdata); - return test_complete; - - } else { - pj_time_val now; - - /* Allow transaction to destroy itself */ - flush_events(500); - - /* Wait until test completes */ - pj_gettimeofday(&now); - - if (PJ_TIME_VAL_LT(now, timeout)) { - pj_time_val interval; - interval = timeout; - PJ_TIME_VAL_SUB(interval, now); - flush_events(PJ_TIME_VAL_MSEC(interval)); - } - } - - /* Make sure transaction has been destroyed. */ - if (pjsip_tsx_layer_find_tsx(&tsx_key, PJ_FALSE) != NULL) { - PJ_LOG(3,(THIS_FILE, " Error: transaction has not been destroyed")); - pjsip_tx_data_dec_ref(tdata); - return -140; - } - - /* Check tdata reference counter. */ - if (pj_atomic_get(tdata->ref_cnt) != 1) { - PJ_LOG(3,(THIS_FILE, " Error: tdata reference counter is %d", - pj_atomic_get(tdata->ref_cnt))); - pjsip_tx_data_dec_ref(tdata); - return -150; - } - - /* Destroy txdata */ - pjsip_tx_data_dec_ref(tdata); - - return PJ_SUCCESS; -} - -/***************************************************************************** - ** - ** TEST1_BRANCH_ID: UAC basic retransmission and timeout test. - ** - ** This will test the retransmission of the UAC transaction. Remote will not - ** answer the transaction, so the transaction should fail. The Via branch prm - ** TEST1_BRANCH_ID will be used for this test. - ** - ***************************************************************************** - */ -static int tsx_uac_retransmit_test(void) -{ - int status = 0, enabled; - int i; - struct { - const pjsip_method *method; - unsigned delay; - } sub_test[] = - { - { &pjsip_invite_method, 0}, - { &pjsip_invite_method, TEST1_ALLOWED_DIFF*2}, - { &pjsip_options_method, 0}, - { &pjsip_options_method, TEST1_ALLOWED_DIFF*2} - }; - - PJ_LOG(3,(THIS_FILE, " test1: basic uac retransmit and timeout test")); - - - /* For this test. message printing shound be disabled because it makes - * incorrect timing. - */ - enabled = msg_logger_set_enabled(0); - - for (i=0; i<(int)PJ_ARRAY_SIZE(sub_test); ++i) { - - PJ_LOG(3,(THIS_FILE, - " variant %c: %s with %d ms network delay", - ('a' + i), - sub_test[i].method->name.ptr, - sub_test[i].delay)); - - /* Configure transport */ - pjsip_loop_set_failure(loop, 0, NULL); - pjsip_loop_set_recv_delay(loop, sub_test[i].delay, NULL); - - /* Do the test. */ - status = perform_tsx_test(-500, TARGET_URI, FROM_URI, - TEST1_BRANCH_ID, - 35, sub_test[i].method); - if (status != 0) - break; - } - - /* Restore transport. */ - pjsip_loop_set_recv_delay(loop, 0, NULL); - - /* Restore msg logger. */ - msg_logger_set_enabled(enabled); - - /* Done. */ - return status; -} - -/***************************************************************************** - ** - ** TEST2_BRANCH_ID: UAC resolve error test. - ** - ** Test the scenario where destination host is unresolvable. There are - ** two variants: - ** (a) resolver returns immediate error - ** (b) resolver returns error via the callback. - ** - ***************************************************************************** - */ -static int tsx_resolve_error_test(void) -{ - int status = 0; - - PJ_LOG(3,(THIS_FILE, " test2: resolve error test")); - - /* - * Variant (a): immediate resolve error. - */ - PJ_LOG(3,(THIS_FILE, " variant a: immediate resolving error")); - - status = perform_tsx_test(-800, - "sip:bob@unresolved-host", - FROM_URI, TEST2_BRANCH_ID, 20, - &pjsip_options_method); - if (status != 0) - return status; - - /* - * Variant (b): error via callback. - */ - PJ_LOG(3,(THIS_FILE, " variant b: error via callback")); - - /* This only applies to "loop-dgram" transport */ - if (test_param->type == PJSIP_TRANSPORT_LOOP_DGRAM) { - /* Set loop transport to return delayed error. */ - pjsip_loop_set_failure(loop, 2, NULL); - pjsip_loop_set_send_callback_delay(loop, 10, NULL); - - status = perform_tsx_test(-800, TARGET_URI, FROM_URI, - TEST2_BRANCH_ID, 2, - &pjsip_options_method); - if (status != 0) - return status; - - /* Restore loop transport settings. */ - pjsip_loop_set_failure(loop, 0, NULL); - pjsip_loop_set_send_callback_delay(loop, 0, NULL); - } - - return status; -} - - -/***************************************************************************** - ** - ** TEST3_BRANCH_ID: UAC terminate while resolving test. - ** - ** Terminate the transaction while resolver is still running. - ** - ***************************************************************************** - */ -static int tsx_terminate_resolving_test(void) -{ - unsigned prev_delay; - pj_status_t status; - - PJ_LOG(3,(THIS_FILE, " test3: terminate while resolving test")); - - /* Configure transport delay. */ - pjsip_loop_set_send_callback_delay(loop, 100, &prev_delay); - - /* Start the test. */ - status = perform_tsx_test(-900, TARGET_URI, FROM_URI, - TEST3_BRANCH_ID, 2, &pjsip_options_method); - - /* Restore delay. */ - pjsip_loop_set_send_callback_delay(loop, prev_delay, NULL); - - return status; -} - - -/***************************************************************************** - ** - ** TEST4_BRANCH_ID: Transport failed after several retransmissions - ** - ** There are two variants of this test: (a) failure occurs immediately when - ** transaction calls pjsip_transport_send() or (b) failure is reported via - ** transport callback. - ** - ***************************************************************************** - */ -static int tsx_retransmit_fail_test(void) -{ - int i; - unsigned delay[] = {0, 10}; - pj_status_t status = PJ_SUCCESS; - - PJ_LOG(3,(THIS_FILE, - " test4: transport fails after several retransmissions test")); - - - for (i=0; i<(int)PJ_ARRAY_SIZE(delay); ++i) { - - PJ_LOG(3,(THIS_FILE, - " variant %c: transport delay %d ms", ('a'+i), delay[i])); - - /* Configure transport delay. */ - pjsip_loop_set_send_callback_delay(loop, delay[i], NULL); - - /* Restore transport failure mode. */ - pjsip_loop_set_failure(loop, 0, 0); - - /* Start the test. */ - status = perform_tsx_test(-1000, TARGET_URI, FROM_URI, - TEST4_BRANCH_ID, 6, &pjsip_options_method); - - if (status != 0) - break; - - } - - /* Restore delay. */ - pjsip_loop_set_send_callback_delay(loop, 0, NULL); - - /* Restore transport failure mode. */ - pjsip_loop_set_failure(loop, 0, 0); - - return status; -} - - -/***************************************************************************** - ** - ** TEST5_BRANCH_ID: Terminate transaction after several retransmissions - ** - ***************************************************************************** - */ -static int tsx_terminate_after_retransmit_test(void) -{ - int status; - - PJ_LOG(3,(THIS_FILE, " test5: terminate after retransmissions")); - - /* Do the test. */ - status = perform_tsx_test(-1100, TARGET_URI, FROM_URI, - TEST5_BRANCH_ID, - 6, &pjsip_options_method); - - /* Done. */ - return status; -} - - -/***************************************************************************** - ** - ** TEST6_BRANCH_ID: Successfull non-invite transaction - ** TEST7_BRANCH_ID: Successfull non-invite transaction with provisional - ** TEST8_BRANCH_ID: Failed invite transaction - ** TEST9_BRANCH_ID: Failed invite transaction with provisional - ** - ***************************************************************************** - */ -static int perform_generic_test( const char *title, - char *branch_id, - const pjsip_method *method) -{ - int i, status = 0; - unsigned delay[] = { 1, 200 }; - - PJ_LOG(3,(THIS_FILE, " %s", title)); - - /* Do the test. */ - for (i=0; i<(int)PJ_ARRAY_SIZE(delay); ++i) { - - if (test_param->type == PJSIP_TRANSPORT_LOOP_DGRAM) { - PJ_LOG(3,(THIS_FILE, " variant %c: with %d ms transport delay", - ('a'+i), delay[i])); - - pjsip_loop_set_delay(loop, delay[i]); - } - - status = perform_tsx_test(-1200, TARGET_URI, FROM_URI, - branch_id, 10, method); - if (status != 0) - return status; - - if (test_param->type != PJSIP_TRANSPORT_LOOP_DGRAM) - break; - } - - pjsip_loop_set_delay(loop, 0); - - /* Done. */ - return status; -} - - -/***************************************************************************** - ** - ** UAC Transaction Test. - ** - ***************************************************************************** - */ -int tsx_uac_test(struct tsx_test_param *param) -{ - pj_sockaddr_in addr; - pj_status_t status; - - timer.tsx_key.ptr = timer.key_buf; - - test_param = param; - - /* Get transport flag */ - tp_flag = pjsip_transport_get_flag_from_type((pjsip_transport_type_e)test_param->type); - - pj_ansi_sprintf(TARGET_URI, "sip:bob@127.0.0.1:%d;transport=%s", - param->port, param->tp_type); - pj_ansi_sprintf(FROM_URI, "sip:alice@127.0.0.1:%d;transport=%s", - param->port, param->tp_type); - - /* Check if loop transport is configured. */ - status = pjsip_endpt_acquire_transport(endpt, PJSIP_TRANSPORT_LOOP_DGRAM, - &addr, sizeof(addr), NULL, &loop); - if (status != PJ_SUCCESS) { - PJ_LOG(3,(THIS_FILE, " Error: loop transport is not configured!")); - return -10; - } - - /* Register modules. */ - status = pjsip_endpt_register_module(endpt, &tsx_user); - if (status != PJ_SUCCESS) { - app_perror(" Error: unable to register module", status); - return -30; - } - status = pjsip_endpt_register_module(endpt, &msg_receiver); - if (status != PJ_SUCCESS) { - app_perror(" Error: unable to register module", status); - return -40; - } - - /* TEST1_BRANCH_ID: Basic retransmit and timeout test. */ - status = tsx_uac_retransmit_test(); - if (status != 0) - return status; - - /* TEST2_BRANCH_ID: Resolve error test. */ - status = tsx_resolve_error_test(); - if (status != 0) - return status; - - /* TEST3_BRANCH_ID: UAC terminate while resolving test. */ - status = tsx_terminate_resolving_test(); - if (status != 0) - return status; - - /* TEST4_BRANCH_ID: Transport failed after several retransmissions. - * Only applies to loop transport. - */ - if (test_param->type == PJSIP_TRANSPORT_LOOP_DGRAM) { - status = tsx_retransmit_fail_test(); - if (status != 0) - return status; - } - - /* TEST5_BRANCH_ID: Terminate transaction after several retransmissions - * Only applicable to non-reliable transports. - */ - if ((tp_flag & PJSIP_TRANSPORT_RELIABLE) == 0) { - status = tsx_terminate_after_retransmit_test(); - if (status != 0) - return status; - } - - /* TEST6_BRANCH_ID: Successfull non-invite transaction */ - status = perform_generic_test("test6: successfull non-invite transaction", - TEST6_BRANCH_ID, &pjsip_options_method); - if (status != 0) - return status; - - /* TEST7_BRANCH_ID: Successfull non-invite transaction */ - status = perform_generic_test("test7: successfull non-invite transaction " - "with provisional response", - TEST7_BRANCH_ID, &pjsip_options_method); - if (status != 0) - return status; - - /* TEST8_BRANCH_ID: Failed invite transaction */ - status = perform_generic_test("test8: failed invite transaction", - TEST8_BRANCH_ID, &pjsip_invite_method); - if (status != 0) - return status; - - /* TEST9_BRANCH_ID: Failed invite transaction with provisional response */ - status = perform_generic_test("test9: failed invite transaction with " - "provisional response", - TEST9_BRANCH_ID, &pjsip_invite_method); - if (status != 0) - return status; - - pjsip_transport_dec_ref(loop); - flush_events(500); - - /* Unregister modules. */ - status = pjsip_endpt_unregister_module(endpt, &tsx_user); - if (status != PJ_SUCCESS) { - app_perror(" Error: unable to unregister module", status); - return -31; - } - status = pjsip_endpt_unregister_module(endpt, &msg_receiver); - if (status != PJ_SUCCESS) { - app_perror(" Error: unable to unregister module", status); - return -41; - } - - return 0; -} - diff --git a/res/pjproject/pjsip/src/test/tsx_uas_test.c b/res/pjproject/pjsip/src/test/tsx_uas_test.c deleted file mode 100644 index f39a1a287d..0000000000 --- a/res/pjproject/pjsip/src/test/tsx_uas_test.c +++ /dev/null @@ -1,1658 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include "test.h" -#include -#include - -#define THIS_FILE "tsx_uas_test.c" - - -/***************************************************************************** - ** - ** UAS tests. - ** - ** This file performs various tests for UAC transactions. Each test will have - ** a different Via branch param so that message receiver module and - ** transaction user module can identify which test is being carried out. - ** - ** TEST1_BRANCH_ID - ** Test that non-INVITE transaction returns 2xx response to the correct - ** transport and correctly terminates the transaction. - ** This also checks that transaction is destroyed immediately after - ** it sends final response when reliable transport is used. - ** - ** TEST2_BRANCH_ID - ** As above, for non-2xx final response. - ** - ** TEST3_BRANCH_ID - ** Transaction correctly progressing to PROCEEDING state when provisional - ** response is sent. - ** - ** TEST4_BRANCH_ID - ** Transaction retransmits last response (if any) without notifying - ** transaction user upon receiving request retransmissions on TRYING - ** state - ** - ** TEST5_BRANCH_ID - ** As above, in PROCEEDING state. - ** - ** TEST6_BRANCH_ID - ** As above, in COMPLETED state, with first sending provisional response. - ** (Only applicable for non-reliable transports). - ** - ** TEST7_BRANCH_ID - ** INVITE transaction MUST retransmit non-2xx final response. - ** - ** TEST8_BRANCH_ID - ** As above, for INVITE's 2xx final response (this is PJSIP specific). - ** - ** TEST9_BRANCH_ID - ** INVITE transaction MUST cease retransmission of final response when - ** ACK is received. (Note: PJSIP also retransmit 2xx final response - ** until it's terminated by user). - ** Transaction also MUST terminate in T4 seconds. - ** (Only applicable for non-reliable transports). - ** - ** TEST11_BRANCH_ID - ** Test scenario where transport fails before response is sent (i.e. - ** in TRYING state). - ** - ** TEST12_BRANCH_ID - ** As above, after provisional response is sent but before final - ** response is sent (i.e. in PROCEEDING state). - ** - ** TEST13_BRANCH_ID - ** As above, for INVITE, after final response has been sent but before - ** ACK is received (i.e. in CONNECTED state). - ** - ** TEST14_BRANCH_ID - ** When UAS failed to deliver the response with the selected transport, - ** it should try contacting the client with other transport or begin - ** RFC 3263 server resolution procedure. - ** This should be tested on: - ** a. TRYING state (when delivering first response). - ** b. PROCEEDING state (when failed to retransmit last response - ** upon receiving request retransmission). - ** c. COMPLETED state. - ** - **/ - -#define TEST1_BRANCH_ID (PJSIP_RFC3261_BRANCH_ID "-UAS-Test1") -#define TEST2_BRANCH_ID (PJSIP_RFC3261_BRANCH_ID "-UAS-Test2") -#define TEST3_BRANCH_ID (PJSIP_RFC3261_BRANCH_ID "-UAS-Test3") -#define TEST4_BRANCH_ID (PJSIP_RFC3261_BRANCH_ID "-UAS-Test4") -#define TEST5_BRANCH_ID (PJSIP_RFC3261_BRANCH_ID "-UAS-Test5") -#define TEST6_BRANCH_ID (PJSIP_RFC3261_BRANCH_ID "-UAS-Test6") -#define TEST7_BRANCH_ID (PJSIP_RFC3261_BRANCH_ID "-UAS-Test7") -#define TEST8_BRANCH_ID (PJSIP_RFC3261_BRANCH_ID "-UAS-Test8") -#define TEST9_BRANCH_ID (PJSIP_RFC3261_BRANCH_ID "-UAS-Test9") -#define TEST10_BRANCH_ID (PJSIP_RFC3261_BRANCH_ID "-UAS-Test10") -#define TEST11_BRANCH_ID (PJSIP_RFC3261_BRANCH_ID "-UAS-Test11") -#define TEST12_BRANCH_ID (PJSIP_RFC3261_BRANCH_ID "-UAS-Test12") -//#define TEST13_BRANCH_ID (PJSIP_RFC3261_BRANCH_ID "-UAS-Test13") - -#define TEST1_STATUS_CODE 200 -#define TEST2_STATUS_CODE 301 -#define TEST3_PROVISIONAL_CODE PJSIP_SC_QUEUED -#define TEST3_STATUS_CODE 202 -#define TEST4_STATUS_CODE 200 -#define TEST4_REQUEST_COUNT 2 -#define TEST5_PROVISIONAL_CODE 100 -#define TEST5_STATUS_CODE 200 -#define TEST5_REQUEST_COUNT 2 -#define TEST5_RESPONSE_COUNT 2 -#define TEST6_PROVISIONAL_CODE 100 -#define TEST6_STATUS_CODE 200 /* Must be final */ -#define TEST6_REQUEST_COUNT 2 -#define TEST6_RESPONSE_COUNT 3 -#define TEST7_STATUS_CODE 301 -#define TEST8_STATUS_CODE 302 -#define TEST9_STATUS_CODE 301 - - -#define TEST4_TITLE "test4: absorbing request retransmission" -#define TEST5_TITLE "test5: retransmit last response in PROCEEDING state" -#define TEST6_TITLE "test6: retransmit last response in COMPLETED state" - - -static char TARGET_URI[128]; -static char FROM_URI[128]; -static struct tsx_test_param *test_param; -static unsigned tp_flag; - - -#define TEST_TIMEOUT_ERROR -30 -#define MAX_ALLOWED_DIFF 150 - -static void tsx_user_on_tsx_state(pjsip_transaction *tsx, pjsip_event *e); -static pj_bool_t on_rx_message(pjsip_rx_data *rdata); - -/* UAC transaction user module. */ -static pjsip_module tsx_user = -{ - NULL, NULL, /* prev and next */ - { "Tsx-UAS-User", 12}, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION-1, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - NULL, /* on_rx_request() */ - NULL, /* on_rx_response() */ - NULL, /* on_tx_request() */ - NULL, /* on_tx_response() */ - &tsx_user_on_tsx_state, /* on_tsx_state() */ -}; - -/* Module to send request. */ -static pjsip_module msg_sender = -{ - NULL, NULL, /* prev and next */ - { "Msg-Sender", 10}, /* Name. */ - -1, /* Id */ - PJSIP_MOD_PRIORITY_APPLICATION-1, /* Priority */ - NULL, /* load() */ - NULL, /* start() */ - NULL, /* stop() */ - NULL, /* unload() */ - &on_rx_message, /* on_rx_request() */ - &on_rx_message, /* on_rx_response() */ - NULL, /* on_tx_request() */ - NULL, /* on_tx_response() */ - NULL, /* on_tsx_state() */ -}; - -/* Static vars, which will be reset on each test. */ -static int recv_count; -static pj_time_val recv_last; -static pj_bool_t test_complete; - -/* Loop transport instance. */ -static pjsip_transport *loop; - -/* UAS transaction key. */ -static char key_buf[64]; -static pj_str_t tsx_key = { key_buf, 0 }; - - -/* General timer entry to be used by tests. */ -//static pj_timer_entry timer; - -/* Timer to send response via transaction. */ -struct response -{ - pj_str_t tsx_key; - pjsip_tx_data *tdata; -}; - -/* Timer callback to send response. */ -static void send_response_timer( pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry) -{ - pjsip_transaction *tsx; - struct response *r = (struct response*) entry->user_data; - pj_status_t status; - - PJ_UNUSED_ARG(timer_heap); - - tsx = pjsip_tsx_layer_find_tsx(&r->tsx_key, PJ_TRUE); - if (!tsx) { - PJ_LOG(3,(THIS_FILE," error: timer unable to find transaction")); - pjsip_tx_data_dec_ref(r->tdata); - return; - } - - status = pjsip_tsx_send_msg(tsx, r->tdata); - if (status != PJ_SUCCESS) { - // Some tests do expect failure! - //PJ_LOG(3,(THIS_FILE," error: timer unable to send response")); - pj_mutex_unlock(tsx->mutex); - pjsip_tx_data_dec_ref(r->tdata); - return; - } - - pj_mutex_unlock(tsx->mutex); -} - -/* Utility to send response. */ -static void send_response( pjsip_rx_data *rdata, - pjsip_transaction *tsx, - int status_code ) -{ - pj_status_t status; - pjsip_tx_data *tdata; - - status = pjsip_endpt_create_response( endpt, rdata, status_code, NULL, - &tdata); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create response", status); - test_complete = -196; - return; - } - - status = pjsip_tsx_send_msg(tsx, tdata); - if (status != PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - // Some tests do expect failure! - //app_perror(" error: unable to send response", status); - //test_complete = -197; - return; - } -} - -/* Schedule timer to send response for the specified UAS transaction */ -static void schedule_send_response( pjsip_rx_data *rdata, - const pj_str_t *tsx_key, - int status_code, - int msec_delay ) -{ - pj_status_t status; - pjsip_tx_data *tdata; - pj_timer_entry *t; - struct response *r; - pj_time_val delay; - - status = pjsip_endpt_create_response( endpt, rdata, status_code, NULL, - &tdata); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create response", status); - test_complete = -198; - return; - } - - r = PJ_POOL_ALLOC_T(tdata->pool, struct response); - pj_strdup(tdata->pool, &r->tsx_key, tsx_key); - r->tdata = tdata; - - delay.sec = 0; - delay.msec = msec_delay; - pj_time_val_normalize(&delay); - - t = PJ_POOL_ZALLOC_T(tdata->pool, pj_timer_entry); - t->user_data = r; - t->cb = &send_response_timer; - - status = pjsip_endpt_schedule_timer(endpt, t, &delay); - if (status != PJ_SUCCESS) { - pjsip_tx_data_dec_ref(tdata); - app_perror(" error: unable to schedule timer", status); - test_complete = -199; - return; - } -} - - -/* Find and terminate tsx with the specified key. */ -static void terminate_our_tsx(int status_code) -{ - pjsip_transaction *tsx; - - tsx = pjsip_tsx_layer_find_tsx(&tsx_key, PJ_TRUE); - if (!tsx) { - PJ_LOG(3,(THIS_FILE," error: timer unable to find transaction")); - return; - } - - pjsip_tsx_terminate(tsx, status_code); - pj_mutex_unlock(tsx->mutex); -} - -#if 0 /* Unused for now */ -/* Timer callback to terminate transaction. */ -static void terminate_tsx_timer( pj_timer_heap_t *timer_heap, - struct pj_timer_entry *entry) -{ - terminate_our_tsx(entry->id); -} - - -/* Schedule timer to terminate transaction. */ -static void schedule_terminate_tsx( pjsip_transaction *tsx, - int status_code, - int msec_delay ) -{ - pj_time_val delay; - - delay.sec = 0; - delay.msec = msec_delay; - pj_time_val_normalize(&delay); - - pj_assert(pj_strcmp(&tsx->transaction_key, &tsx_key)==0); - timer.user_data = NULL; - timer.id = status_code; - timer.cb = &terminate_tsx_timer; - pjsip_endpt_schedule_timer(endpt, &timer, &delay); -} -#endif - - -/* - * This is the handler to receive state changed notification from the - * transaction. It is used to verify that the transaction behaves according - * to the test scenario. - */ -static void tsx_user_on_tsx_state(pjsip_transaction *tsx, pjsip_event *e) -{ - if (pj_strcmp2(&tsx->branch, TEST1_BRANCH_ID)==0 || - pj_strcmp2(&tsx->branch, TEST2_BRANCH_ID)==0) - { - /* - * TEST1_BRANCH_ID tests that non-INVITE transaction transmits final - * response using correct transport and terminates transaction after - * T4 (PJSIP_T4_TIMEOUT, 5 seconds). - * - * TEST2_BRANCH_ID does similar test for non-2xx final response. - */ - int status_code = (pj_strcmp2(&tsx->branch, TEST1_BRANCH_ID)==0) ? - TEST1_STATUS_CODE : TEST2_STATUS_CODE; - - if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - - test_complete = 1; - - /* Check that status code is status_code. */ - if (tsx->status_code != status_code) { - PJ_LOG(3,(THIS_FILE, " error: incorrect status code")); - test_complete = -100; - } - - /* Previous state must be completed. */ - if (e->body.tsx_state.prev_state != PJSIP_TSX_STATE_COMPLETED) { - PJ_LOG(3,(THIS_FILE, " error: incorrect prev_state")); - test_complete = -101; - } - - } else if (tsx->state == PJSIP_TSX_STATE_COMPLETED) { - - /* Previous state must be TRYING. */ - if (e->body.tsx_state.prev_state != PJSIP_TSX_STATE_TRYING) { - PJ_LOG(3,(THIS_FILE, " error: incorrect prev_state")); - test_complete = -102; - } - } - - } - else - if (pj_strcmp2(&tsx->branch, TEST3_BRANCH_ID)==0) { - /* - * TEST3_BRANCH_ID tests sending provisional response. - */ - if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - - test_complete = 1; - - /* Check that status code is status_code. */ - if (tsx->status_code != TEST3_STATUS_CODE) { - PJ_LOG(3,(THIS_FILE, " error: incorrect status code")); - test_complete = -110; - } - - /* Previous state must be completed. */ - if (e->body.tsx_state.prev_state != PJSIP_TSX_STATE_COMPLETED) { - PJ_LOG(3,(THIS_FILE, " error: incorrect prev_state")); - test_complete = -111; - } - - } else if (tsx->state == PJSIP_TSX_STATE_PROCEEDING) { - - /* Previous state must be TRYING. */ - if (e->body.tsx_state.prev_state != PJSIP_TSX_STATE_TRYING) { - PJ_LOG(3,(THIS_FILE, " error: incorrect prev_state")); - test_complete = -112; - } - - /* Check that status code is status_code. */ - if (tsx->status_code != TEST3_PROVISIONAL_CODE) { - PJ_LOG(3,(THIS_FILE, " error: incorrect status code")); - test_complete = -113; - } - - /* Check that event must be TX_MSG */ - if (e->body.tsx_state.type != PJSIP_EVENT_TX_MSG) { - PJ_LOG(3,(THIS_FILE, " error: incorrect event")); - test_complete = -114; - } - - } else if (tsx->state == PJSIP_TSX_STATE_COMPLETED) { - - /* Previous state must be PROCEEDING. */ - if (e->body.tsx_state.prev_state != PJSIP_TSX_STATE_PROCEEDING) { - PJ_LOG(3,(THIS_FILE, " error: incorrect prev_state")); - test_complete = -115; - } - - /* Check that status code is status_code. */ - if (tsx->status_code != TEST3_STATUS_CODE) { - PJ_LOG(3,(THIS_FILE, " error: incorrect status code")); - test_complete = -116; - } - - /* Check that event must be TX_MSG */ - if (e->body.tsx_state.type != PJSIP_EVENT_TX_MSG) { - PJ_LOG(3,(THIS_FILE, " error: incorrect event")); - test_complete = -117; - } - - } - - } else - if (pj_strcmp2(&tsx->branch, TEST4_BRANCH_ID)==0) { - /* - * TEST4_BRANCH_ID tests receiving retransmissions in TRYING state. - */ - if (tsx->state == PJSIP_TSX_STATE_TRYING) { - /* Request is received. */ - } else if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - - /* Check that status code is status_code. */ - if (tsx->status_code != TEST4_STATUS_CODE) { - PJ_LOG(3,(THIS_FILE, - " error: incorrect status code %d " - "(expecting %d)", tsx->status_code, - TEST4_STATUS_CODE)); - test_complete = -120; - } - - /* Previous state. */ - if (e->body.tsx_state.prev_state != PJSIP_TSX_STATE_TRYING) { - PJ_LOG(3,(THIS_FILE, " error: incorrect prev_state")); - test_complete = -121; - } - - } else if (tsx->state != PJSIP_TSX_STATE_DESTROYED) - { - PJ_LOG(3,(THIS_FILE, " error: unexpected state %s (122)", - pjsip_tsx_state_str(tsx->state))); - test_complete = -122; - - } - - - } else - if (pj_strcmp2(&tsx->branch, TEST5_BRANCH_ID)==0) { - /* - * TEST5_BRANCH_ID tests receiving retransmissions in PROCEEDING state - */ - if (tsx->state == PJSIP_TSX_STATE_TRYING) { - /* Request is received. */ - - } else if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - - /* Check that status code is status_code. */ - if (tsx->status_code != TEST5_STATUS_CODE) { - PJ_LOG(3,(THIS_FILE, " error: incorrect status code")); - test_complete = -130; - } - - /* Previous state. */ - if (e->body.tsx_state.prev_state != PJSIP_TSX_STATE_PROCEEDING) { - PJ_LOG(3,(THIS_FILE, " error: incorrect prev_state")); - test_complete = -131; - } - - } else if (tsx->state == PJSIP_TSX_STATE_PROCEEDING) { - - /* Check status code. */ - if (tsx->status_code != TEST5_PROVISIONAL_CODE) { - PJ_LOG(3,(THIS_FILE, " error: incorrect status code")); - test_complete = -132; - } - - } else if (tsx->state != PJSIP_TSX_STATE_DESTROYED) { - PJ_LOG(3,(THIS_FILE, " error: unexpected state %s (133)", - pjsip_tsx_state_str(tsx->state))); - test_complete = -133; - - } - - } else - if (pj_strcmp2(&tsx->branch, TEST6_BRANCH_ID)==0) { - /* - * TEST6_BRANCH_ID tests receiving retransmissions in COMPLETED state - */ - if (tsx->state == PJSIP_TSX_STATE_TRYING) { - /* Request is received. */ - - } else if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - - /* Check that status code is status_code. */ - if (tsx->status_code != TEST6_STATUS_CODE) { - PJ_LOG(3,(THIS_FILE, " error: incorrect status code %d " - "(expecting %d)", tsx->status_code, - TEST6_STATUS_CODE)); - test_complete = -140; - } - - /* Previous state. */ - if (e->body.tsx_state.prev_state != PJSIP_TSX_STATE_COMPLETED) { - PJ_LOG(3,(THIS_FILE, " error: incorrect prev_state")); - test_complete = -141; - } - - } else if (tsx->state != PJSIP_TSX_STATE_PROCEEDING && - tsx->state != PJSIP_TSX_STATE_COMPLETED && - tsx->state != PJSIP_TSX_STATE_DESTROYED) - { - PJ_LOG(3,(THIS_FILE, " error: unexpected state %s (142)", - pjsip_tsx_state_str(tsx->state))); - test_complete = -142; - - } - - - } else - if (pj_strcmp2(&tsx->branch, TEST7_BRANCH_ID)==0 || - pj_strcmp2(&tsx->branch, TEST8_BRANCH_ID)==0) - { - /* - * TEST7_BRANCH_ID and TEST8_BRANCH_ID test retransmission of - * INVITE final response - */ - int code; - - if (pj_strcmp2(&tsx->branch, TEST7_BRANCH_ID) == 0) - code = TEST7_STATUS_CODE; - else - code = TEST8_STATUS_CODE; - - if (tsx->state == PJSIP_TSX_STATE_TRYING) { - /* Request is received. */ - - } else if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - - if (test_complete == 0) - test_complete = 1; - - /* Check status code. */ - if (tsx->status_code != PJSIP_SC_TSX_TIMEOUT) { - PJ_LOG(3,(THIS_FILE, " error: incorrect status code")); - test_complete = -150; - } - - /* Previous state. */ - if (e->body.tsx_state.prev_state != PJSIP_TSX_STATE_COMPLETED) { - PJ_LOG(3,(THIS_FILE, " error: incorrect prev_state")); - test_complete = -151; - } - - /* Check the number of retransmissions */ - if (tp_flag & PJSIP_TRANSPORT_RELIABLE) { - - if (tsx->retransmit_count != 0) { - PJ_LOG(3,(THIS_FILE, " error: should not retransmit")); - test_complete = -1510; - } - - } else { - - if (tsx->retransmit_count != 10) { - PJ_LOG(3,(THIS_FILE, - " error: incorrect retransmit count %d " - "(expecting 10)", - tsx->retransmit_count)); - test_complete = -1510; - } - - } - - } else if (tsx->state == PJSIP_TSX_STATE_COMPLETED) { - - /* Check that status code is status_code. */ - if (tsx->status_code != code) { - PJ_LOG(3,(THIS_FILE, " error: incorrect status code")); - test_complete = -152; - } - - /* Previous state. */ - if (e->body.tsx_state.prev_state != PJSIP_TSX_STATE_TRYING) { - PJ_LOG(3,(THIS_FILE, " error: incorrect prev_state")); - test_complete = -153; - } - - } else if (tsx->state != PJSIP_TSX_STATE_DESTROYED) { - - PJ_LOG(3,(THIS_FILE, " error: unexpected state (154)")); - test_complete = -154; - - } - - - } else - if (pj_strcmp2(&tsx->branch, TEST9_BRANCH_ID)==0) { - /* - * TEST9_BRANCH_ID tests that retransmission of INVITE final response - * must cease when ACK is received. - */ - - if (tsx->state == PJSIP_TSX_STATE_TRYING) { - /* Request is received. */ - - } else if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - - if (test_complete == 0) - test_complete = 1; - - /* Check status code. */ - if (tsx->status_code != TEST9_STATUS_CODE) { - PJ_LOG(3,(THIS_FILE, " error: incorrect status code")); - test_complete = -160; - } - - /* Previous state. */ - if (e->body.tsx_state.prev_state != PJSIP_TSX_STATE_CONFIRMED) { - PJ_LOG(3,(THIS_FILE, " error: incorrect prev_state")); - test_complete = -161; - } - - } else if (tsx->state == PJSIP_TSX_STATE_COMPLETED) { - - /* Check that status code is status_code. */ - if (tsx->status_code != TEST9_STATUS_CODE) { - PJ_LOG(3,(THIS_FILE, " error: incorrect status code")); - test_complete = -162; - } - - /* Previous state. */ - if (e->body.tsx_state.prev_state != PJSIP_TSX_STATE_TRYING) { - PJ_LOG(3,(THIS_FILE, " error: incorrect prev_state")); - test_complete = -163; - } - - - } else if (tsx->state == PJSIP_TSX_STATE_CONFIRMED) { - - /* Check that status code is status_code. */ - if (tsx->status_code != TEST9_STATUS_CODE) { - PJ_LOG(3,(THIS_FILE, " error: incorrect status code")); - test_complete = -164; - } - - /* Previous state. */ - if (e->body.tsx_state.prev_state != PJSIP_TSX_STATE_COMPLETED) { - PJ_LOG(3,(THIS_FILE, " error: incorrect prev_state")); - test_complete = -165; - } - - } else if (tsx->state != PJSIP_TSX_STATE_DESTROYED) { - - PJ_LOG(3,(THIS_FILE, " error: unexpected state (166)")); - test_complete = -166; - - } - - - } else - if (pj_strcmp2(&tsx->branch, TEST10_BRANCH_ID)==0 || - pj_strcmp2(&tsx->branch, TEST11_BRANCH_ID)==0 || - pj_strcmp2(&tsx->branch, TEST12_BRANCH_ID)==0) - { - if (tsx->state == PJSIP_TSX_STATE_TERMINATED) { - - if (!test_complete) - test_complete = 1; - - if (tsx->status_code != PJSIP_SC_TSX_TRANSPORT_ERROR) { - PJ_LOG(3,(THIS_FILE," error: incorrect status code")); - test_complete = -170; - } - } - } - -} - -/* Save transaction key to global variables. */ -static void save_key(pjsip_transaction *tsx) -{ - pj_str_t key; - - pj_strdup(tsx->pool, &key, &tsx->transaction_key); - pj_strcpy(&tsx_key, &key); -} - -#define DIFF(a,b) ((amsg_info.msg; - pj_str_t branch_param = rdata->msg_info.via->branch_param; - pj_status_t status; - - if (pj_strcmp2(&branch_param, TEST1_BRANCH_ID) == 0 || - pj_strcmp2(&branch_param, TEST2_BRANCH_ID) == 0) - { - /* - * TEST1_BRANCH_ID tests that non-INVITE transaction transmits 2xx - * final response using correct transport and terminates transaction - * after 32 seconds. - * - * TEST2_BRANCH_ID performs similar test for non-2xx final response. - */ - int status_code = (pj_strcmp2(&branch_param, TEST1_BRANCH_ID) == 0) ? - TEST1_STATUS_CODE : TEST2_STATUS_CODE; - - if (msg->type == PJSIP_REQUEST_MSG) { - /* On received request, create UAS and respond with final - * response. - */ - pjsip_transaction *tsx; - - status = pjsip_tsx_create_uas(&tsx_user, rdata, &tsx); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create transaction", status); - test_complete = -110; - return PJ_TRUE; - } - pjsip_tsx_recv_msg(tsx, rdata); - - save_key(tsx); - send_response(rdata, tsx, status_code); - - } else { - /* Verify the response received. */ - - ++recv_count; - - /* Verify status code. */ - if (msg->line.status.code != status_code) { - PJ_LOG(3,(THIS_FILE, " error: incorrect status code")); - test_complete = -113; - } - - /* Verify that no retransmissions is received. */ - if (recv_count > 1) { - PJ_LOG(3,(THIS_FILE, " error: retransmission received")); - test_complete = -114; - } - - } - return PJ_TRUE; - - } else if (pj_strcmp2(&branch_param, TEST3_BRANCH_ID) == 0) { - - /* TEST3_BRANCH_ID tests provisional response. */ - - if (msg->type == PJSIP_REQUEST_MSG) { - /* On received request, create UAS and respond with provisional - * response, then schedule timer to send final response. - */ - pjsip_transaction *tsx; - - status = pjsip_tsx_create_uas(&tsx_user, rdata, &tsx); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create transaction", status); - test_complete = -116; - return PJ_TRUE; - } - pjsip_tsx_recv_msg(tsx, rdata); - - save_key(tsx); - - send_response(rdata, tsx, TEST3_PROVISIONAL_CODE); - schedule_send_response(rdata, &tsx->transaction_key, - TEST3_STATUS_CODE, 2000); - - } else { - /* Verify the response received. */ - - ++recv_count; - - if (recv_count == 1) { - /* Verify status code. */ - if (msg->line.status.code != TEST3_PROVISIONAL_CODE) { - PJ_LOG(3,(THIS_FILE, " error: incorrect status code")); - test_complete = -123; - } - } else if (recv_count == 2) { - /* Verify status code. */ - if (msg->line.status.code != TEST3_STATUS_CODE) { - PJ_LOG(3,(THIS_FILE, " error: incorrect status code")); - test_complete = -124; - } - } else { - PJ_LOG(3,(THIS_FILE, " error: retransmission received")); - test_complete = -125; - } - - } - return PJ_TRUE; - - } else if (pj_strcmp2(&branch_param, TEST4_BRANCH_ID) == 0 || - pj_strcmp2(&branch_param, TEST5_BRANCH_ID) == 0 || - pj_strcmp2(&branch_param, TEST6_BRANCH_ID) == 0) - { - - /* TEST4_BRANCH_ID: absorbs retransmissions in TRYING state. */ - /* TEST5_BRANCH_ID: retransmit last response in PROCEEDING state. */ - /* TEST6_BRANCH_ID: retransmit last response in COMPLETED state. */ - - if (msg->type == PJSIP_REQUEST_MSG) { - /* On received request, create UAS. */ - pjsip_transaction *tsx; - - PJ_LOG(4,(THIS_FILE, " received request (probably retransmission)")); - - status = pjsip_tsx_create_uas(&tsx_user, rdata, &tsx); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create transaction", status); - test_complete = -130; - return PJ_TRUE; - } - - pjsip_tsx_recv_msg(tsx, rdata); - save_key(tsx); - - if (pj_strcmp2(&branch_param, TEST4_BRANCH_ID) == 0) { - - } else if (pj_strcmp2(&branch_param, TEST5_BRANCH_ID) == 0) { - send_response(rdata, tsx, TEST5_PROVISIONAL_CODE); - - } else if (pj_strcmp2(&branch_param, TEST6_BRANCH_ID) == 0) { - PJ_LOG(4,(THIS_FILE, " sending provisional response")); - send_response(rdata, tsx, TEST6_PROVISIONAL_CODE); - PJ_LOG(4,(THIS_FILE, " sending final response")); - send_response(rdata, tsx, TEST6_STATUS_CODE); - } - - } else { - /* Verify the response received. */ - - PJ_LOG(4,(THIS_FILE, " received response number %d", recv_count)); - - ++recv_count; - - if (pj_strcmp2(&branch_param, TEST4_BRANCH_ID) == 0) { - PJ_LOG(3,(THIS_FILE, " error: not expecting response!")); - test_complete = -132; - - } else if (pj_strcmp2(&branch_param, TEST5_BRANCH_ID) == 0) { - - if (rdata->msg_info.msg->line.status.code!=TEST5_PROVISIONAL_CODE) { - PJ_LOG(3,(THIS_FILE, " error: incorrect status code!")); - test_complete = -133; - - } - if (recv_count > TEST5_RESPONSE_COUNT) { - PJ_LOG(3,(THIS_FILE, " error: not expecting response!")); - test_complete = -134; - } - - } else if (pj_strcmp2(&branch_param, TEST6_BRANCH_ID) == 0) { - - int code = rdata->msg_info.msg->line.status.code; - - switch (recv_count) { - case 1: - if (code != TEST6_PROVISIONAL_CODE) { - PJ_LOG(3,(THIS_FILE, " error: invalid code!")); - test_complete = -135; - } - break; - case 2: - case 3: - if (code != TEST6_STATUS_CODE) { - PJ_LOG(3,(THIS_FILE, " error: invalid code %d " - "(expecting %d)", code, TEST6_STATUS_CODE)); - test_complete = -136; - } - break; - default: - PJ_LOG(3,(THIS_FILE, " error: not expecting response")); - test_complete = -137; - break; - } - } - } - return PJ_TRUE; - - - } else if (pj_strcmp2(&branch_param, TEST7_BRANCH_ID) == 0 || - pj_strcmp2(&branch_param, TEST8_BRANCH_ID) == 0) - { - - /* - * TEST7_BRANCH_ID and TEST8_BRANCH_ID test the retransmission - * of INVITE final response - */ - if (msg->type == PJSIP_REQUEST_MSG) { - - /* On received request, create UAS. */ - pjsip_transaction *tsx; - - status = pjsip_tsx_create_uas(&tsx_user, rdata, &tsx); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create transaction", status); - test_complete = -140; - return PJ_TRUE; - } - - pjsip_tsx_recv_msg(tsx, rdata); - save_key(tsx); - - if (pj_strcmp2(&branch_param, TEST7_BRANCH_ID) == 0) { - - send_response(rdata, tsx, TEST7_STATUS_CODE); - - } else { - - send_response(rdata, tsx, TEST8_STATUS_CODE); - - } - - } else { - int code; - - ++recv_count; - - if (pj_strcmp2(&branch_param, TEST7_BRANCH_ID) == 0) - code = TEST7_STATUS_CODE; - else - code = TEST8_STATUS_CODE; - - if (recv_count==1) { - - if (rdata->msg_info.msg->line.status.code != code) { - PJ_LOG(3,(THIS_FILE," error: invalid status code")); - test_complete = -141; - } - - recv_last = rdata->pkt_info.timestamp; - - } else { - - pj_time_val now; - unsigned msec, msec_expected; - - now = rdata->pkt_info.timestamp; - - PJ_TIME_VAL_SUB(now, recv_last); - - msec = now.sec*1000 + now.msec; - msec_expected = (1 << (recv_count-2)) * pjsip_cfg()->tsx.t1; - if (msec_expected > pjsip_cfg()->tsx.t2) - msec_expected = pjsip_cfg()->tsx.t2; - - if (DIFF(msec, msec_expected) > MAX_ALLOWED_DIFF) { - PJ_LOG(3,(THIS_FILE, - " error: incorrect retransmission " - "time (%d ms expected, %d ms received", - msec_expected, msec)); - test_complete = -142; - } - - if (recv_count > 11) { - PJ_LOG(3,(THIS_FILE," error: too many responses (%d)", - recv_count)); - test_complete = -143; - } - - recv_last = rdata->pkt_info.timestamp; - } - - } - return PJ_TRUE; - - } else if (pj_strcmp2(&branch_param, TEST9_BRANCH_ID) == 0) { - - /* - * TEST9_BRANCH_ID tests that the retransmission of INVITE final - * response should cease when ACK is received. Transaction also MUST - * terminate in T4 seconds. - */ - if (msg->type == PJSIP_REQUEST_MSG) { - - /* On received request, create UAS. */ - pjsip_transaction *tsx; - - status = pjsip_tsx_create_uas(&tsx_user, rdata, &tsx); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create transaction", status); - test_complete = -150; - return PJ_TRUE; - } - - pjsip_tsx_recv_msg(tsx, rdata); - save_key(tsx); - send_response(rdata, tsx, TEST9_STATUS_CODE); - - - } else { - - ++recv_count; - - if (rdata->msg_info.msg->line.status.code != TEST9_STATUS_CODE) { - PJ_LOG(3,(THIS_FILE," error: invalid status code")); - test_complete = -151; - } - - if (recv_count==1) { - - recv_last = rdata->pkt_info.timestamp; - - } else if (recv_count < 5) { - - /* Let UAS retransmit some messages before we send ACK. */ - pj_time_val now; - unsigned msec, msec_expected; - - now = rdata->pkt_info.timestamp; - - PJ_TIME_VAL_SUB(now, recv_last); - - msec = now.sec*1000 + now.msec; - msec_expected = (1 << (recv_count-2)) * pjsip_cfg()->tsx.t1; - if (msec_expected > pjsip_cfg()->tsx.t2) - msec_expected = pjsip_cfg()->tsx.t2; - - if (DIFF(msec, msec_expected) > MAX_ALLOWED_DIFF) { - PJ_LOG(3,(THIS_FILE, - " error: incorrect retransmission " - "time (%d ms expected, %d ms received", - msec_expected, msec)); - test_complete = -152; - } - - recv_last = rdata->pkt_info.timestamp; - - } else if (recv_count == 5) { - pjsip_tx_data *tdata; - pjsip_sip_uri *uri; - pjsip_via_hdr *via; - - status = pjsip_endpt_create_request_from_hdr( - endpt, &pjsip_ack_method, - rdata->msg_info.to->uri, - rdata->msg_info.from, - rdata->msg_info.to, - NULL, - rdata->msg_info.cid, - rdata->msg_info.cseq->cseq, - NULL, - &tdata); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create ACK", status); - test_complete = -153; - return PJ_TRUE; - } - - uri=(pjsip_sip_uri*)pjsip_uri_get_uri(tdata->msg->line.req.uri); - uri->transport_param = pj_str("loop-dgram"); - - via = (pjsip_via_hdr*) pjsip_msg_find_hdr(tdata->msg, PJSIP_H_VIA, NULL); - via->branch_param = pj_str(TEST9_BRANCH_ID); - - status = pjsip_endpt_send_request_stateless(endpt, tdata, - NULL, NULL); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to send ACK", status); - test_complete = -154; - } - - } else { - PJ_LOG(3,(THIS_FILE," error: too many responses (%d)", - recv_count)); - test_complete = -155; - } - - } - return PJ_TRUE; - - } else if (pj_strcmp2(&branch_param, TEST10_BRANCH_ID) == 0 || - pj_strcmp2(&branch_param, TEST11_BRANCH_ID) == 0 || - pj_strcmp2(&branch_param, TEST12_BRANCH_ID) == 0) - { - int test_num, code1, code2; - - if (pj_strcmp2(&branch_param, TEST10_BRANCH_ID) == 0) - test_num=10, code1 = 100, code2 = 0; - else if (pj_strcmp2(&branch_param, TEST11_BRANCH_ID) == 0) - test_num=11, code1 = 100, code2 = 200; - else - test_num=12, code1 = 200, code2 = 0; - - if (rdata->msg_info.msg->type == PJSIP_REQUEST_MSG) { - - /* On received response, create UAS. */ - pjsip_transaction *tsx; - - status = pjsip_tsx_create_uas(&tsx_user, rdata, &tsx); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create transaction", status); - test_complete = -150; - return PJ_TRUE; - } - - pjsip_tsx_recv_msg(tsx, rdata); - save_key(tsx); - - schedule_send_response(rdata, &tsx_key, code1, 1000); - - if (code2) - schedule_send_response(rdata, &tsx_key, code2, 2000); - - } else { - - } - - return PJ_TRUE; - } - - return PJ_FALSE; -} - -/* - * The generic test framework, used by most of the tests. - */ -static int perform_test( char *target_uri, char *from_uri, - char *branch_param, int test_time, - const pjsip_method *method, - int request_cnt, int request_interval_msec, - int expecting_timeout) -{ - pjsip_tx_data *tdata; - pj_str_t target, from; - pjsip_via_hdr *via; - pj_time_val timeout, next_send; - int sent_cnt; - pj_status_t status; - - PJ_LOG(3,(THIS_FILE, - " please standby, this will take at most %d seconds..", - test_time)); - - /* Reset test. */ - recv_count = 0; - test_complete = 0; - tsx_key.slen = 0; - - /* Init headers. */ - target = pj_str(target_uri); - from = pj_str(from_uri); - - /* Create request. */ - status = pjsip_endpt_create_request( endpt, method, &target, - &from, &target, NULL, NULL, -1, - NULL, &tdata); - if (status != PJ_SUCCESS) { - app_perror(" Error: unable to create request", status); - return -10; - } - - /* Set the branch param for test 1. */ - via = (pjsip_via_hdr*) pjsip_msg_find_hdr(tdata->msg, PJSIP_H_VIA, NULL); - via->branch_param = pj_str(branch_param); - - /* Schedule first send. */ - sent_cnt = 0; - pj_gettimeofday(&next_send); - pj_time_val_normalize(&next_send); - - /* Set test completion time. */ - pj_gettimeofday(&timeout); - timeout.sec += test_time; - - /* Wait until test complete. */ - while (!test_complete) { - pj_time_val now, poll_delay = {0, 10}; - - pjsip_endpt_handle_events(endpt, &poll_delay); - - pj_gettimeofday(&now); - - if (sent_cnt < request_cnt && PJ_TIME_VAL_GTE(now, next_send)) { - /* Add additional reference to tdata to prevent transaction from - * deleting it. - */ - pjsip_tx_data_add_ref(tdata); - - /* (Re)Send the request. */ - PJ_LOG(4,(THIS_FILE, " (re)sending request %d", sent_cnt)); - - status = pjsip_endpt_send_request_stateless(endpt, tdata, 0, 0); - if (status != PJ_SUCCESS) { - app_perror(" Error: unable to send request", status); - pjsip_tx_data_dec_ref(tdata); - return -20; - } - - /* Schedule next send, if any. */ - sent_cnt++; - if (sent_cnt < request_cnt) { - pj_gettimeofday(&next_send); - next_send.msec += request_interval_msec; - pj_time_val_normalize(&next_send); - } - } - - if (now.sec > timeout.sec) { - if (!expecting_timeout) - PJ_LOG(3,(THIS_FILE, " Error: test has timed out")); - pjsip_tx_data_dec_ref(tdata); - return TEST_TIMEOUT_ERROR; - } - } - - if (test_complete < 0) { - pjsip_transaction *tsx; - - tsx = pjsip_tsx_layer_find_tsx(&tsx_key, PJ_TRUE); - if (tsx) { - pjsip_tsx_terminate(tsx, PJSIP_SC_REQUEST_TERMINATED); - pj_mutex_unlock(tsx->mutex); - flush_events(1000); - } - pjsip_tx_data_dec_ref(tdata); - return test_complete; - } - - /* Allow transaction to destroy itself */ - flush_events(500); - - /* Make sure transaction has been destroyed. */ - if (pjsip_tsx_layer_find_tsx(&tsx_key, PJ_FALSE) != NULL) { - PJ_LOG(3,(THIS_FILE, " Error: transaction has not been destroyed")); - pjsip_tx_data_dec_ref(tdata); - return -40; - } - - /* Check tdata reference counter. */ - if (pj_atomic_get(tdata->ref_cnt) != 1) { - PJ_LOG(3,(THIS_FILE, " Error: tdata reference counter is %d", - pj_atomic_get(tdata->ref_cnt))); - pjsip_tx_data_dec_ref(tdata); - return -50; - } - - /* Destroy txdata */ - pjsip_tx_data_dec_ref(tdata); - - return PJ_SUCCESS; - -} - - -/***************************************************************************** - ** - ** TEST1_BRANCH_ID: Basic 2xx final response - ** TEST2_BRANCH_ID: Basic non-2xx final response - ** - ***************************************************************************** - */ -static int tsx_basic_final_response_test(void) -{ - unsigned duration; - int status; - - PJ_LOG(3,(THIS_FILE," test1: basic sending 2xx final response")); - - /* Test duration must be greater than 32 secs if unreliable transport - * is used. - */ - duration = (tp_flag & PJSIP_TRANSPORT_RELIABLE) ? 1 : 33; - - status = perform_test(TARGET_URI, FROM_URI, TEST1_BRANCH_ID, - duration, &pjsip_options_method, 1, 0, 0); - if (status != 0) - return status; - - PJ_LOG(3,(THIS_FILE," test2: basic sending non-2xx final response")); - - status = perform_test(TARGET_URI, FROM_URI, TEST2_BRANCH_ID, - duration, &pjsip_options_method, 1, 0, 0); - if (status != 0) - return status; - - return 0; -} - - -/***************************************************************************** - ** - ** TEST3_BRANCH_ID: Sending provisional response - ** - ***************************************************************************** - */ -static int tsx_basic_provisional_response_test(void) -{ - unsigned duration; - int status; - - PJ_LOG(3,(THIS_FILE," test3: basic sending 2xx final response")); - - duration = (tp_flag & PJSIP_TRANSPORT_RELIABLE) ? 1 : 33; - duration += 2; - - status = perform_test(TARGET_URI, FROM_URI, TEST3_BRANCH_ID, duration, - &pjsip_options_method, 1, 0, 0); - - return status; -} - - -/***************************************************************************** - ** - ** TEST4_BRANCH_ID: Absorbs retransmissions in TRYING state - ** TEST5_BRANCH_ID: Absorbs retransmissions in PROCEEDING state - ** TEST6_BRANCH_ID: Absorbs retransmissions in COMPLETED state - ** - ***************************************************************************** - */ -static int tsx_retransmit_last_response_test(const char *title, - char *branch_id, - int request_cnt, - int status_code) -{ - int status; - - PJ_LOG(3,(THIS_FILE," %s", title)); - - status = perform_test(TARGET_URI, FROM_URI, branch_id, 5, - &pjsip_options_method, - request_cnt, 1000, 1); - if (status && status != TEST_TIMEOUT_ERROR) - return status; - if (!status) { - PJ_LOG(3,(THIS_FILE, " error: expecting timeout")); - return -31; - } - - terminate_our_tsx(status_code); - flush_events(100); - - if (test_complete != 1) - return test_complete; - - flush_events(100); - return 0; -} - -/***************************************************************************** - ** - ** TEST7_BRANCH_ID: INVITE non-2xx final response retransmission test - ** TEST8_BRANCH_ID: INVITE 2xx final response retransmission test - ** - ***************************************************************************** - */ -static int tsx_final_response_retransmission_test(void) -{ - int status; - - PJ_LOG(3,(THIS_FILE, - " test7: INVITE non-2xx final response retransmission")); - - status = perform_test(TARGET_URI, FROM_URI, TEST7_BRANCH_ID, - 33, /* Test duration must be greater than 32 secs */ - &pjsip_invite_method, 1, 0, 0); - if (status != 0) - return status; - - PJ_LOG(3,(THIS_FILE, - " test8: INVITE 2xx final response retransmission")); - - status = perform_test(TARGET_URI, FROM_URI, TEST8_BRANCH_ID, - 33, /* Test duration must be greater than 32 secs */ - &pjsip_invite_method, 1, 0, 0); - if (status != 0) - return status; - - return 0; -} - - -/***************************************************************************** - ** - ** TEST9_BRANCH_ID: retransmission of non-2xx INVITE final response must - ** cease when ACK is received - ** - ***************************************************************************** - */ -static int tsx_ack_test(void) -{ - int status; - - PJ_LOG(3,(THIS_FILE, - " test9: receiving ACK for non-2xx final response")); - - status = perform_test(TARGET_URI, FROM_URI, TEST9_BRANCH_ID, - 20, /* allow 5 retransmissions */ - &pjsip_invite_method, 1, 0, 0); - if (status != 0) - return status; - - - return 0; -} - - - -/***************************************************************************** - ** - ** TEST10_BRANCH_ID: test transport failure in TRYING state. - ** TEST11_BRANCH_ID: test transport failure in PROCEEDING state. - ** TEST12_BRANCH_ID: test transport failure in CONNECTED state. - ** TEST13_BRANCH_ID: test transport failure in CONFIRMED state. - ** - ***************************************************************************** - */ -static int tsx_transport_failure_test(void) -{ - struct test_desc - { - int transport_delay; - int fail_delay; - char *branch_id; - char *title; - } tests[] = - { - { 0, 10, TEST10_BRANCH_ID, "test10: failed transport in TRYING state (no delay)" }, - { 50, 10, TEST10_BRANCH_ID, "test10: failed transport in TRYING state (50 ms delay)" }, - { 0, 1500, TEST11_BRANCH_ID, "test11: failed transport in PROCEEDING state (no delay)" }, - { 50, 1500, TEST11_BRANCH_ID, "test11: failed transport in PROCEEDING state (50 ms delay)" }, - { 0, 2500, TEST12_BRANCH_ID, "test12: failed transport in COMPLETED state (no delay)" }, - { 50, 2500, TEST12_BRANCH_ID, "test12: failed transport in COMPLETED state (50 ms delay)" }, - }; - int i, status; - - for (i=0; i<(int)PJ_ARRAY_SIZE(tests); ++i) { - pj_time_val fail_time, end_test, now; - - PJ_LOG(3,(THIS_FILE, " %s", tests[i].title)); - pjsip_loop_set_failure(loop, 0, NULL); - pjsip_loop_set_delay(loop, tests[i].transport_delay); - - status = perform_test(TARGET_URI, FROM_URI, tests[i].branch_id, - 0, &pjsip_invite_method, 1, 0, 1); - if (status && status != TEST_TIMEOUT_ERROR) - return status; - if (!status) { - PJ_LOG(3,(THIS_FILE, " error: expecting timeout")); - return -40; - } - - pj_gettimeofday(&fail_time); - fail_time.msec += tests[i].fail_delay; - pj_time_val_normalize(&fail_time); - - do { - pj_time_val interval = { 0, 1 }; - pj_gettimeofday(&now); - pjsip_endpt_handle_events(endpt, &interval); - } while (PJ_TIME_VAL_LT(now, fail_time)); - - pjsip_loop_set_failure(loop, 1, NULL); - - end_test = now; - end_test.sec += 5; - - do { - pj_time_val interval = { 0, 1 }; - pj_gettimeofday(&now); - pjsip_endpt_handle_events(endpt, &interval); - } while (!test_complete && PJ_TIME_VAL_LT(now, end_test)); - - if (test_complete == 0) { - PJ_LOG(3,(THIS_FILE, " error: test has timed out")); - return -41; - } - - if (test_complete != 1) - return test_complete; - } - - return 0; -} - -/***************************************************************************** - ** - ** UAS Transaction Test. - ** - ***************************************************************************** - */ -int tsx_uas_test(struct tsx_test_param *param) -{ - pj_sockaddr_in addr; - pj_status_t status; - - test_param = param; - tp_flag = pjsip_transport_get_flag_from_type((pjsip_transport_type_e)param->type); - - pj_ansi_sprintf(TARGET_URI, "sip:bob@127.0.0.1:%d;transport=%s", - param->port, param->tp_type); - pj_ansi_sprintf(FROM_URI, "sip:alice@127.0.0.1:%d;transport=%s", - param->port, param->tp_type); - - /* Check if loop transport is configured. */ - status = pjsip_endpt_acquire_transport(endpt, PJSIP_TRANSPORT_LOOP_DGRAM, - &addr, sizeof(addr), NULL, &loop); - if (status != PJ_SUCCESS) { - PJ_LOG(3,(THIS_FILE, " Error: loop transport is not configured!")); - return -10; - } - /* Register modules. */ - status = pjsip_endpt_register_module(endpt, &tsx_user); - if (status != PJ_SUCCESS) { - app_perror(" Error: unable to register module", status); - return -3; - } - status = pjsip_endpt_register_module(endpt, &msg_sender); - if (status != PJ_SUCCESS) { - app_perror(" Error: unable to register module", status); - return -4; - } - - /* TEST1_BRANCH_ID: Basic 2xx final response. - * TEST2_BRANCH_ID: Basic non-2xx final response. - */ - status = tsx_basic_final_response_test(); - if (status != 0) - return status; - - /* TEST3_BRANCH_ID: with provisional response - */ - status = tsx_basic_provisional_response_test(); - if (status != 0) - return status; - - /* TEST4_BRANCH_ID: absorbs retransmissions in TRYING state - */ - status = tsx_retransmit_last_response_test(TEST4_TITLE, - TEST4_BRANCH_ID, - TEST4_REQUEST_COUNT, - TEST4_STATUS_CODE); - if (status != 0) - return status; - - /* TEST5_BRANCH_ID: retransmit last response in PROCEEDING state - */ - status = tsx_retransmit_last_response_test(TEST5_TITLE, - TEST5_BRANCH_ID, - TEST5_REQUEST_COUNT, - TEST5_STATUS_CODE); - if (status != 0) - return status; - - /* TEST6_BRANCH_ID: retransmit last response in COMPLETED state - * This only applies to non-reliable transports, - * since UAS transaction is destroyed as soon - * as final response is sent for reliable transports. - */ - if ((tp_flag & PJSIP_TRANSPORT_RELIABLE) == 0) { - status = tsx_retransmit_last_response_test(TEST6_TITLE, - TEST6_BRANCH_ID, - TEST6_REQUEST_COUNT, - TEST6_STATUS_CODE); - if (status != 0) - return status; - } - - /* TEST7_BRANCH_ID: INVITE non-2xx final response retransmission test - * TEST8_BRANCH_ID: INVITE 2xx final response retransmission test - */ - status = tsx_final_response_retransmission_test(); - if (status != 0) - return status; - - /* TEST9_BRANCH_ID: retransmission of non-2xx INVITE final response must - * cease when ACK is received - * Only applicable for non-reliable transports. - */ - if ((tp_flag & PJSIP_TRANSPORT_RELIABLE) == 0) { - status = tsx_ack_test(); - if (status != 0) - return status; - } - - - /* TEST10_BRANCH_ID: test transport failure in TRYING state. - * TEST11_BRANCH_ID: test transport failure in PROCEEDING state. - * TEST12_BRANCH_ID: test transport failure in CONNECTED state. - * TEST13_BRANCH_ID: test transport failure in CONFIRMED state. - */ - /* Only valid for loop-dgram */ - if (param->type == PJSIP_TRANSPORT_LOOP_DGRAM) { - status = tsx_transport_failure_test(); - if (status != 0) - return status; - } - - - /* Register modules. */ - status = pjsip_endpt_unregister_module(endpt, &tsx_user); - if (status != PJ_SUCCESS) { - app_perror(" Error: unable to unregister module", status); - return -8; - } - status = pjsip_endpt_unregister_module(endpt, &msg_sender); - if (status != PJ_SUCCESS) { - app_perror(" Error: unable to unregister module", status); - return -9; - } - - - if (loop) - pjsip_transport_dec_ref(loop); - - return 0; -} - diff --git a/res/pjproject/pjsip/src/test/txdata_test.c b/res/pjproject/pjsip/src/test/txdata_test.c deleted file mode 100644 index 6e87b86ded..0000000000 --- a/res/pjproject/pjsip/src/test/txdata_test.c +++ /dev/null @@ -1,856 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include "test.h" -#include -#include - - -#define THIS_FILE "txdata_test.c" - - -#define HFIND(msg,h,H) ((pjsip_##h##_hdr*) pjsip_msg_find_hdr(msg, PJSIP_H_##H, NULL)) - -#if defined(PJ_DEBUG) && PJ_DEBUG!=0 -# define LOOP 10000 -#else -# define LOOP 100000 -#endif - - -/* - * This tests various core message creation functions. - */ -static int core_txdata_test(void) -{ - pj_status_t status; - pj_str_t target, from, to, contact, body; - pjsip_rx_data dummy_rdata; - pjsip_tx_data *invite, *invite2, *cancel, *response, *ack; - - PJ_LOG(3,(THIS_FILE, " core transmit data test")); - - /* Create INVITE request. */ - target = pj_str("tel:+1"); - from = pj_str("tel:+0"); - to = pj_str("tel:+1"); - contact = pj_str("Bob "); - body = pj_str("Hello world!"); - - status = pjsip_endpt_create_request( endpt, &pjsip_invite_method, &target, - &from, &to, &contact, NULL, 10, &body, - &invite); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create request", status); - return -10; - } - - /* Buffer must be invalid. */ - if (pjsip_tx_data_is_valid(invite) != 0) { - PJ_LOG(3,(THIS_FILE, " error: buffer must be invalid")); - return -14; - } - /* Reference counter must be set to 1. */ - if (pj_atomic_get(invite->ref_cnt) != 1) { - PJ_LOG(3,(THIS_FILE, " error: invalid reference counter")); - return -15; - } - /* Check message type. */ - if (invite->msg->type != PJSIP_REQUEST_MSG) - return -16; - /* Check method. */ - if (invite->msg->line.req.method.id != PJSIP_INVITE_METHOD) - return -17; - - /* Check that mandatory headers are present. */ - if (HFIND(invite->msg, from, FROM) == 0) - return -20; - if (HFIND(invite->msg, to, TO) == 0) - return -21; - if (HFIND(invite->msg, contact, CONTACT) == 0) - return -22; - if (HFIND(invite->msg, cid, CALL_ID) == 0) - return -23; - if (HFIND(invite->msg, cseq, CSEQ) == 0) - return -24; - do { - pjsip_via_hdr *via = HFIND(invite->msg, via, VIA); - if (via == NULL) - return -25; - /* Branch param must be empty. */ - if (via->branch_param.slen != 0) - return -26; - } while (0); - if (invite->msg->body == NULL) - return -28; - - /* Create another INVITE request from first request. */ - status = pjsip_endpt_create_request_from_hdr( endpt, &pjsip_invite_method, - invite->msg->line.req.uri, - HFIND(invite->msg,from,FROM), - HFIND(invite->msg,to,TO), - HFIND(invite->msg,contact,CONTACT), - HFIND(invite->msg,cid,CALL_ID), - 10, &body, &invite2); - if (status != PJ_SUCCESS) { - app_perror(" error: create second request failed", status); - return -30; - } - - /* Buffer must be invalid. */ - if (pjsip_tx_data_is_valid(invite2) != 0) { - PJ_LOG(3,(THIS_FILE, " error: buffer must be invalid")); - return -34; - } - /* Reference counter must be set to 1. */ - if (pj_atomic_get(invite2->ref_cnt) != 1) { - PJ_LOG(3,(THIS_FILE, " error: invalid reference counter")); - return -35; - } - /* Check message type. */ - if (invite2->msg->type != PJSIP_REQUEST_MSG) - return -36; - /* Check method. */ - if (invite2->msg->line.req.method.id != PJSIP_INVITE_METHOD) - return -37; - - /* Check that mandatory headers are again present. */ - if (HFIND(invite2->msg, from, FROM) == 0) - return -40; - if (HFIND(invite2->msg, to, TO) == 0) - return -41; - if (HFIND(invite2->msg, contact, CONTACT) == 0) - return -42; - if (HFIND(invite2->msg, cid, CALL_ID) == 0) - return -43; - if (HFIND(invite2->msg, cseq, CSEQ) == 0) - return -44; - if (HFIND(invite2->msg, via, VIA) == 0) - return -45; - /* - if (HFIND(invite2->msg, ctype, CONTENT_TYPE) == 0) - return -46; - if (HFIND(invite2->msg, clen, CONTENT_LENGTH) == 0) - return -47; - */ - if (invite2->msg->body == NULL) - return -48; - - /* Done checking invite2. We can delete this. */ - if (pjsip_tx_data_dec_ref(invite2) != PJSIP_EBUFDESTROYED) { - PJ_LOG(3,(THIS_FILE, " error: request buffer not destroyed!")); - return -49; - } - - /* Initialize dummy rdata (to simulate receiving a request) - * We should never do this in real application, as there are many - * many more fields need to be initialized!! - */ - dummy_rdata.msg_info.cid = HFIND(invite->msg, cid, CALL_ID); - dummy_rdata.msg_info.clen = NULL; - dummy_rdata.msg_info.cseq = HFIND(invite->msg, cseq, CSEQ); - dummy_rdata.msg_info.ctype = NULL; - dummy_rdata.msg_info.from = HFIND(invite->msg, from, FROM); - dummy_rdata.msg_info.max_fwd = NULL; - dummy_rdata.msg_info.msg = invite->msg; - dummy_rdata.msg_info.record_route = NULL; - dummy_rdata.msg_info.require = NULL; - dummy_rdata.msg_info.route = NULL; - dummy_rdata.msg_info.to = HFIND(invite->msg, to, TO); - dummy_rdata.msg_info.via = HFIND(invite->msg, via, VIA); - - /* Create a response message for the request. */ - status = pjsip_endpt_create_response( endpt, &dummy_rdata, 301, NULL, - &response); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create response", status); - return -50; - } - - /* Buffer must be invalid. */ - if (pjsip_tx_data_is_valid(response) != 0) { - PJ_LOG(3,(THIS_FILE, " error: buffer must be invalid")); - return -54; - } - /* Check reference counter. */ - if (pj_atomic_get(response->ref_cnt) != 1) { - PJ_LOG(3,(THIS_FILE, " error: invalid ref count in response")); - return -55; - } - /* Check message type. */ - if (response->msg->type != PJSIP_RESPONSE_MSG) - return -56; - /* Check correct status is set. */ - if (response->msg->line.status.code != 301) - return -57; - - /* Check that mandatory headers are again present. */ - if (HFIND(response->msg, from, FROM) == 0) - return -60; - if (HFIND(response->msg, to, TO) == 0) - return -61; - /* - if (HFIND(response->msg, contact, CONTACT) == 0) - return -62; - */ - if (HFIND(response->msg, cid, CALL_ID) == 0) - return -63; - if (HFIND(response->msg, cseq, CSEQ) == 0) - return -64; - if (HFIND(response->msg, via, VIA) == 0) - return -65; - - /* This response message will be used later when creating ACK */ - - /* Create CANCEL request for the original request. */ - status = pjsip_endpt_create_cancel( endpt, invite, &cancel); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create CANCEL request", status); - return -80; - } - - /* Buffer must be invalid. */ - if (pjsip_tx_data_is_valid(cancel) != 0) { - PJ_LOG(3,(THIS_FILE, " error: buffer must be invalid")); - return -84; - } - /* Check reference counter. */ - if (pj_atomic_get(cancel->ref_cnt) != 1) { - PJ_LOG(3,(THIS_FILE, " error: invalid ref count in CANCEL request")); - return -85; - } - /* Check message type. */ - if (cancel->msg->type != PJSIP_REQUEST_MSG) - return -86; - /* Check method. */ - if (cancel->msg->line.req.method.id != PJSIP_CANCEL_METHOD) - return -87; - - /* Check that mandatory headers are again present. */ - if (HFIND(cancel->msg, from, FROM) == 0) - return -90; - if (HFIND(cancel->msg, to, TO) == 0) - return -91; - /* - if (HFIND(cancel->msg, contact, CONTACT) == 0) - return -92; - */ - if (HFIND(cancel->msg, cid, CALL_ID) == 0) - return -93; - if (HFIND(cancel->msg, cseq, CSEQ) == 0) - return -94; - if (HFIND(cancel->msg, via, VIA) == 0) - return -95; - - /* Done checking CANCEL request. */ - if (pjsip_tx_data_dec_ref(cancel) != PJSIP_EBUFDESTROYED) { - PJ_LOG(3,(THIS_FILE, " error: response buffer not destroyed!")); - return -99; - } - - /* Modify dummy_rdata to simulate receiving response. */ - pj_bzero(&dummy_rdata, sizeof(dummy_rdata)); - dummy_rdata.msg_info.msg = response->msg; - dummy_rdata.msg_info.to = HFIND(response->msg, to, TO); - - /* Create ACK request */ - status = pjsip_endpt_create_ack( endpt, invite, &dummy_rdata, &ack ); - if (status != PJ_SUCCESS) { - PJ_LOG(3,(THIS_FILE, " error: unable to create ACK")); - return -100; - } - /* Buffer must be invalid. */ - if (pjsip_tx_data_is_valid(ack) != 0) { - PJ_LOG(3,(THIS_FILE, " error: buffer must be invalid")); - return -104; - } - /* Check reference counter. */ - if (pj_atomic_get(ack->ref_cnt) != 1) { - PJ_LOG(3,(THIS_FILE, " error: invalid ref count in ACK request")); - return -105; - } - /* Check message type. */ - if (ack->msg->type != PJSIP_REQUEST_MSG) - return -106; - /* Check method. */ - if (ack->msg->line.req.method.id != PJSIP_ACK_METHOD) - return -107; - /* Check Request-URI is present. */ - if (ack->msg->line.req.uri == NULL) - return -108; - - /* Check that mandatory headers are again present. */ - if (HFIND(ack->msg, from, FROM) == 0) - return -110; - if (HFIND(ack->msg, to, TO) == 0) - return -111; - if (HFIND(ack->msg, cid, CALL_ID) == 0) - return -112; - if (HFIND(ack->msg, cseq, CSEQ) == 0) - return -113; - if (HFIND(ack->msg, via, VIA) == 0) - return -114; - if (ack->msg->body != NULL) - return -115; - - /* Done checking invite message. */ - if (pjsip_tx_data_dec_ref(invite) != PJSIP_EBUFDESTROYED) { - PJ_LOG(3,(THIS_FILE, " error: response buffer not destroyed!")); - return -120; - } - - /* Done checking response message. */ - if (pjsip_tx_data_dec_ref(response) != PJSIP_EBUFDESTROYED) { - PJ_LOG(3,(THIS_FILE, " error: response buffer not destroyed!")); - return -130; - } - - /* Done checking ack message. */ - if (pjsip_tx_data_dec_ref(ack) != PJSIP_EBUFDESTROYED) { - PJ_LOG(3,(THIS_FILE, " error: response buffer not destroyed!")); - return -140; - } - - /* Done. */ - return 0; -} - - - -/* - * This test demonstrate the bug as reported in: - * http://bugzilla.pjproject.net/show_bug.cgi?id=49 - */ -#if INCLUDE_GCC_TEST -static int gcc_test() -{ - char msgbuf[512]; - pj_str_t target = pj_str("sip:alice@wonderland:5061;x-param=param%201" - "?X-Hdr-1=Header%201" - "&X-Empty-Hdr="); - pjsip_tx_data *tdata; - pjsip_parser_err_report err_list; - pjsip_msg *msg; - int len; - pj_status_t status; - - PJ_LOG(3,(THIS_FILE, " header param in URI to create request")); - - /* Create request with header param in target URI. */ - status = pjsip_endpt_create_request(endpt, &pjsip_invite_method, &target, - &target, &target, &target, NULL, -1, - NULL, &tdata); - if (status != 0) { - app_perror(" error: Unable to create request", status); - return -200; - } - - /* Print and parse the request. - * We'll check that header params are not present in - */ - len = pjsip_msg_print(tdata->msg, msgbuf, sizeof(msgbuf)); - if (len < 1) { - PJ_LOG(3,(THIS_FILE, " error: printing message")); - pjsip_tx_data_dec_ref(tdata); - return -250; - } - msgbuf[len] = '\0'; - - PJ_LOG(5,(THIS_FILE, "%d bytes request created:--begin-msg--\n" - "%s\n" - "--end-msg--", len, msgbuf)); - - /* Now parse the message. */ - pj_list_init(&err_list); - msg = pjsip_parse_msg( tdata->pool, msgbuf, len, &err_list); - if (msg == NULL) { - pjsip_parser_err_report *e; - - PJ_LOG(3,(THIS_FILE, " error: parsing message message")); - - e = err_list.next; - while (e != &err_list) { - PJ_LOG(3,(THIS_FILE, " %s in line %d col %d hname=%.*s", - pj_exception_id_name(e->except_code), - e->line, e->col+1, - (int)e->hname.slen, - e->hname.ptr)); - e = e->next; - } - - pjsip_tx_data_dec_ref(tdata); - return -255; - } - - pjsip_tx_data_dec_ref(tdata); - return 0; -} -#endif - - -/* This tests the request creating functions against the following - * requirements: - * - header params in URI creates header in the request. - * - method and headers params are correctly shown or hidden in - * request URI, From, To, and Contact header. - */ -static int txdata_test_uri_params(void) -{ - char msgbuf[512]; - pj_str_t target = pj_str("sip:alice@wonderland:5061;x-param=param%201" - "?X-Hdr-1=Header%201" - "&X-Empty-Hdr="); - pj_str_t contact; - pj_str_t pname = pj_str("x-param"); - pj_str_t hname = pj_str("X-Hdr-1"); - pj_str_t hemptyname = pj_str("X-Empty-Hdr"); - pjsip_from_hdr *from_hdr; - pjsip_to_hdr *to_hdr; - pjsip_contact_hdr *contact_hdr; - pjsip_generic_string_hdr *hdr; - pjsip_tx_data *tdata; - pjsip_sip_uri *uri; - pjsip_param *param; - pjsip_via_hdr *via; - pjsip_parser_err_report err_list; - pjsip_msg *msg; - int len; - pj_status_t status; - - PJ_LOG(3,(THIS_FILE, " header param in URI to create request")); - - /* Due to #930, contact argument is now parsed as Contact header, so - * must enclose it with <> to make it be parsed as URI. - */ - pj_ansi_snprintf(msgbuf, sizeof(msgbuf), "<%.*s>", - (int)target.slen, target.ptr); - contact.ptr = msgbuf; - contact.slen = strlen(msgbuf); - - /* Create request with header param in target URI. */ - status = pjsip_endpt_create_request(endpt, &pjsip_invite_method, &target, - &target, &target, &contact, NULL, -1, - NULL, &tdata); - if (status != 0) { - app_perror(" error: Unable to create request", status); - return -200; - } - - /* Fill up the Via header to prevent syntax error on parsing */ - via = (pjsip_via_hdr*) pjsip_msg_find_hdr(tdata->msg, PJSIP_H_VIA, NULL); - via->transport = pj_str("TCP"); - via->sent_by.host = pj_str("127.0.0.1"); - - /* Print and parse the request. - * We'll check that header params are not present in - */ - len = pjsip_msg_print(tdata->msg, msgbuf, sizeof(msgbuf)); - if (len < 1) { - PJ_LOG(3,(THIS_FILE, " error: printing message")); - pjsip_tx_data_dec_ref(tdata); - return -250; - } - msgbuf[len] = '\0'; - - PJ_LOG(5,(THIS_FILE, "%d bytes request created:--begin-msg--\n" - "%s\n" - "--end-msg--", len, msgbuf)); - - /* Now parse the message. */ - pj_list_init(&err_list); - msg = pjsip_parse_msg( tdata->pool, msgbuf, len, &err_list); - if (msg == NULL) { - pjsip_parser_err_report *e; - - PJ_LOG(3,(THIS_FILE, " error: parsing message message")); - - e = err_list.next; - while (e != &err_list) { - PJ_LOG(3,(THIS_FILE, " %s in line %d col %d hname=%.*s", - pj_exception_id_name(e->except_code), - e->line, e->col+1, - (int)e->hname.slen, - e->hname.ptr)); - e = e->next; - } - - pjsip_tx_data_dec_ref(tdata); - return -256; - } - - /* Check the existence of port, other_param, and header param. - * Port is now allowed in To and From header. - */ - /* Port in request URI. */ - uri = (pjsip_sip_uri*) pjsip_uri_get_uri(msg->line.req.uri); - if (uri->port != 5061) { - PJ_LOG(3,(THIS_FILE, " error: port not present in request URI")); - pjsip_tx_data_dec_ref(tdata); - return -260; - } - /* other_param in request_uri */ - param = pjsip_param_find(&uri->other_param, &pname); - if (param == NULL || pj_strcmp2(¶m->value, "param 1") != 0) { - PJ_LOG(3,(THIS_FILE, " error: x-param not present in request URI")); - pjsip_tx_data_dec_ref(tdata); - return -261; - } - /* header param in request uri. */ - if (!pj_list_empty(&uri->header_param)) { - PJ_LOG(3,(THIS_FILE, " error: hparam in request URI")); - pjsip_tx_data_dec_ref(tdata); - return -262; - } - - /* Port in From header. */ - from_hdr = (pjsip_from_hdr*) pjsip_msg_find_hdr(msg, PJSIP_H_FROM, NULL); - uri = (pjsip_sip_uri*) pjsip_uri_get_uri(from_hdr->uri); - if (uri->port != 0) { - PJ_LOG(3,(THIS_FILE, " error: port most not exist in From header")); - pjsip_tx_data_dec_ref(tdata); - return -270; - } - /* other_param in From header */ - param = pjsip_param_find(&uri->other_param, &pname); - if (param == NULL || pj_strcmp2(¶m->value, "param 1") != 0) { - PJ_LOG(3,(THIS_FILE, " error: x-param not present in From header")); - pjsip_tx_data_dec_ref(tdata); - return -271; - } - /* header param in From header. */ - if (!pj_list_empty(&uri->header_param)) { - PJ_LOG(3,(THIS_FILE, " error: hparam in From header")); - pjsip_tx_data_dec_ref(tdata); - return -272; - } - - - /* Port in To header. */ - to_hdr = (pjsip_to_hdr*) pjsip_msg_find_hdr(msg, PJSIP_H_TO, NULL); - uri = (pjsip_sip_uri*) pjsip_uri_get_uri(to_hdr->uri); - if (uri->port != 0) { - PJ_LOG(3,(THIS_FILE, " error: port most not exist in To header")); - pjsip_tx_data_dec_ref(tdata); - return -280; - } - /* other_param in To header */ - param = pjsip_param_find(&uri->other_param, &pname); - if (param == NULL || pj_strcmp2(¶m->value, "param 1") != 0) { - PJ_LOG(3,(THIS_FILE, " error: x-param not present in To header")); - pjsip_tx_data_dec_ref(tdata); - return -281; - } - /* header param in From header. */ - if (!pj_list_empty(&uri->header_param)) { - PJ_LOG(3,(THIS_FILE, " error: hparam in To header")); - pjsip_tx_data_dec_ref(tdata); - return -282; - } - - - - /* Port in Contact header. */ - contact_hdr = (pjsip_contact_hdr*) pjsip_msg_find_hdr(msg, PJSIP_H_CONTACT, NULL); - uri = (pjsip_sip_uri*) pjsip_uri_get_uri(contact_hdr->uri); - if (uri->port != 5061) { - PJ_LOG(3,(THIS_FILE, " error: port not present in Contact header")); - pjsip_tx_data_dec_ref(tdata); - return -290; - } - /* other_param in Contact header */ - param = pjsip_param_find(&uri->other_param, &pname); - if (param == NULL || pj_strcmp2(¶m->value, "param 1") != 0) { - PJ_LOG(3,(THIS_FILE, " error: x-param not present in Contact header")); - pjsip_tx_data_dec_ref(tdata); - return -291; - } - /* header param in Contact header. */ - if (pj_list_empty(&uri->header_param)) { - PJ_LOG(3,(THIS_FILE, " error: hparam is missing in Contact header")); - pjsip_tx_data_dec_ref(tdata); - return -292; - } - /* Check for X-Hdr-1 */ - param = pjsip_param_find(&uri->header_param, &hname); - if (param == NULL || pj_strcmp2(¶m->value, "Header 1")!=0) { - PJ_LOG(3,(THIS_FILE, " error: hparam is missing in Contact header")); - pjsip_tx_data_dec_ref(tdata); - return -293; - } - /* Check for X-Empty-Hdr */ - param = pjsip_param_find(&uri->header_param, &hemptyname); - if (param == NULL || pj_strcmp2(¶m->value, "")!=0) { - PJ_LOG(3,(THIS_FILE, " error: hparam is missing in Contact header")); - pjsip_tx_data_dec_ref(tdata); - return -294; - } - - - /* Check that headers are present in the request. */ - hdr = (pjsip_generic_string_hdr*) - pjsip_msg_find_hdr_by_name(msg, &hname, NULL); - if (hdr == NULL || pj_strcmp2(&hdr->hvalue, "Header 1")!=0) { - PJ_LOG(3,(THIS_FILE, " error: header X-Hdr-1 not created")); - pjsip_tx_data_dec_ref(tdata); - return -300; - } - - hdr = (pjsip_generic_string_hdr*) - pjsip_msg_find_hdr_by_name(msg, &hemptyname, NULL); - if (hdr == NULL || pj_strcmp2(¶m->value, "")!=0) { - PJ_LOG(3,(THIS_FILE, " error: header X-Empty-Hdr not created")); - pjsip_tx_data_dec_ref(tdata); - return -330; - } - - pjsip_tx_data_dec_ref(tdata); - return 0; -} - - -/* - * create request benchmark - */ -static int create_request_bench(pj_timestamp *p_elapsed) -{ - enum { COUNT = 100 }; - unsigned i, j; - pjsip_tx_data *tdata[COUNT]; - pj_timestamp t1, t2, elapsed; - pj_status_t status; - - pj_str_t str_target = pj_str("sip:someuser@someprovider.com"); - pj_str_t str_from = pj_str("\"Local User\" "); - pj_str_t str_to = pj_str("\"Remote User\" "); - pj_str_t str_contact = str_from; - - elapsed.u64 = 0; - - for (i=0; iu64 = elapsed.u64; - return PJ_SUCCESS; - -on_error: - for (i=0; i"); - pj_str_t str_to = pj_str("\"Remote User\" "); - pj_str_t str_contact = str_from; - - status = pjsip_endpt_create_request(endpt, &pjsip_invite_method, - &str_target, &str_from, &str_to, - &str_contact, NULL, -1, NULL, - &request); - if (status != PJ_SUCCESS) { - app_perror(" error: unable to create request", status); - return status; - } - - /* Create several Via headers */ - via = pjsip_via_hdr_create(request->pool); - via->sent_by.host = pj_str("192.168.0.7"); - via->sent_by.port = 5061; - via->transport = pj_str("udp"); - via->rport_param = 0; - via->branch_param = pj_str("012345678901234567890123456789"); - via->recvd_param = pj_str("192.168.0.7"); - pjsip_msg_insert_first_hdr(request->msg, (pjsip_hdr*) pjsip_hdr_clone(request->pool, via)); - pjsip_msg_insert_first_hdr(request->msg, (pjsip_hdr*) pjsip_hdr_clone(request->pool, via)); - pjsip_msg_insert_first_hdr(request->msg, (pjsip_hdr*)via); - - - /* Create "dummy" rdata from the tdata */ - pj_bzero(&rdata, sizeof(pjsip_rx_data)); - rdata.tp_info.pool = request->pool; - rdata.msg_info.msg = request->msg; - rdata.msg_info.from = (pjsip_from_hdr*) pjsip_msg_find_hdr(request->msg, PJSIP_H_FROM, NULL); - rdata.msg_info.to = (pjsip_to_hdr*) pjsip_msg_find_hdr(request->msg, PJSIP_H_TO, NULL); - rdata.msg_info.cseq = (pjsip_cseq_hdr*) pjsip_msg_find_hdr(request->msg, PJSIP_H_CSEQ, NULL); - rdata.msg_info.cid = (pjsip_cid_hdr*) pjsip_msg_find_hdr(request->msg, PJSIP_H_FROM, NULL); - rdata.msg_info.via = via; - - /* - * Now benchmark create_response - */ - elapsed.u64 = 0; - - for (i=0; iu64 = elapsed.u64; - pjsip_tx_data_dec_ref(request); - return PJ_SUCCESS; - -on_error: - for (i=0; ipjsip_endpt_create_request()"); - - - /* - * Benchmark create_response() - */ - PJ_LOG(3,(THIS_FILE, " benchmarking response creation:")); - for (i=0; ipjsip_endpt_create_response()"); - - - return 0; -} - diff --git a/res/pjproject/pjsip/src/test/uri_test.c b/res/pjproject/pjsip/src/test/uri_test.c deleted file mode 100644 index 72ce612679..0000000000 --- a/res/pjproject/pjsip/src/test/uri_test.c +++ /dev/null @@ -1,1097 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include "test.h" -#include -#include - -#define THIS_FILE "uri_test.c" - - -#define ALPHANUM "abcdefghijklmnopqrstuvwxyz" \ - "ABCDEFGHIJKLMNOPQRSTUVWXYZ" \ - "0123456789" -#define MARK "-_.!~*'()" -#define USER_CHAR ALPHANUM MARK "&=+$,;?/" -#define PASS_CHAR ALPHANUM MARK "&=+$," -#define PARAM_CHAR ALPHANUM MARK "[]/:&+$" - -#define POOL_SIZE 8000 -#if defined(PJ_DEBUG) && PJ_DEBUG!=0 -# define LOOP_COUNT 10000 -#else -# define LOOP_COUNT 40000 -#endif -#define AVERAGE_URL_LEN 80 -#define THREAD_COUNT 4 - -static struct -{ - pj_highprec_t parse_len, print_len, cmp_len; - pj_timestamp parse_time, print_time, cmp_time; -} var; - - -/* URI creator functions. */ -static pjsip_uri *create_uri0( pj_pool_t *pool ); -static pjsip_uri *create_uri1( pj_pool_t *pool ); -static pjsip_uri *create_uri2( pj_pool_t *pool ); -static pjsip_uri *create_uri3( pj_pool_t *pool ); -static pjsip_uri *create_uri4( pj_pool_t *pool ); -static pjsip_uri *create_uri5( pj_pool_t *pool ); -static pjsip_uri *create_uri6( pj_pool_t *pool ); -static pjsip_uri *create_uri7( pj_pool_t *pool ); -static pjsip_uri *create_uri8( pj_pool_t *pool ); -static pjsip_uri *create_uri9( pj_pool_t *pool ); -static pjsip_uri *create_uri10( pj_pool_t *pool ); -static pjsip_uri *create_uri11( pj_pool_t *pool ); -static pjsip_uri *create_uri12( pj_pool_t *pool ); -static pjsip_uri *create_uri13( pj_pool_t *pool ); -static pjsip_uri *create_uri14( pj_pool_t *pool ); -static pjsip_uri *create_uri15( pj_pool_t *pool ); -static pjsip_uri *create_uri16( pj_pool_t *pool ); -static pjsip_uri *create_uri17( pj_pool_t *pool ); -static pjsip_uri *create_uri25( pj_pool_t *pool ); -static pjsip_uri *create_uri26( pj_pool_t *pool ); -static pjsip_uri *create_uri27( pj_pool_t *pool ); -static pjsip_uri *create_uri28( pj_pool_t *pool ); -static pjsip_uri *create_uri29( pj_pool_t *pool ); -static pjsip_uri *create_uri30( pj_pool_t *pool ); -static pjsip_uri *create_uri31( pj_pool_t *pool ); -static pjsip_uri *create_uri32( pj_pool_t *pool ); -static pjsip_uri *create_uri33( pj_pool_t *pool ); -static pjsip_uri *create_uri34( pj_pool_t *pool ); -static pjsip_uri *create_uri35( pj_pool_t *pool ); -static pjsip_uri *create_uri36( pj_pool_t *pool ); -static pjsip_uri *create_uri37( pj_pool_t *pool ); -static pjsip_uri *create_uri38( pj_pool_t *pool ); -static pjsip_uri *create_dummy( pj_pool_t *pool ); - -#define ERR_NOT_EQUAL -1001 -#define ERR_SYNTAX_ERR -1002 - -struct uri_test -{ - pj_status_t status; - char str[PJSIP_MAX_URL_SIZE]; - pjsip_uri *(*creator)(pj_pool_t *pool); - const char *printed; - pj_size_t len; -} uri_test_array[] = -{ - { - PJ_SUCCESS, - "sip:localhost", - &create_uri0 - }, - { - PJ_SUCCESS, - "sip:user@localhost", - &create_uri1 - }, - { - PJ_SUCCESS, - "sip:user:password@localhost:5060", - &create_uri2, }, - { - /* Port is specified should not match unspecified port. */ - ERR_NOT_EQUAL, - "sip:localhost:5060", - &create_uri3 - }, - { - /* All recognized parameters. */ - PJ_SUCCESS, - "sip:localhost;transport=tcp;user=ip;ttl=255;lr;maddr=127.0.0.1;method=ACK", - &create_uri4 - }, - { - /* Params mixed with other params and header params. */ - PJ_SUCCESS, - "sip:localhost;pickup=hurry;user=phone;message=I%20am%20sorry" - "?Subject=Hello%20There&Server=SIP%20Server", - &create_uri5 - }, - { - /* SIPS. */ - PJ_SUCCESS, - "sips:localhost", - &create_uri6, - }, - { - /* Name address */ - PJ_SUCCESS, - "", - &create_uri7 - }, - { - /* Name address with display name and SIPS scheme with some redundant - * whitespaced. - */ - PJ_SUCCESS, - " Power Administrator ", - &create_uri8 - }, - { - /* Name address. */ - PJ_SUCCESS, - " \"User\" ", - &create_uri9 - }, - { - /* Escaped sequence in display name (display=Strange User\"\\\"). */ - PJ_SUCCESS, - " \"Strange User\\\"\\\\\\\"\" ", - &create_uri10, - }, - { - /* Errorneous escaping in display name. */ - ERR_SYNTAX_ERR, - " \"Rogue User\\\" ", - &create_uri11, - }, - { - /* Dangling quote in display name, but that should be OK. */ - PJ_SUCCESS, - "Strange User\" ", - &create_uri12, - }, - { - /* Special characters in parameter value must be quoted. */ - PJ_SUCCESS, - "sip:localhost;pvalue=\"hello world\"", - &create_uri13, - }, - { - /* Excercise strange character sets allowed in display, user, password, - * host, and port. - */ - PJ_SUCCESS, - "This is -. !% *_+`'~ me ", - &create_uri14, - }, - { - /* Another excercise to the allowed character sets to the hostname. */ - PJ_SUCCESS, - "sip:" ALPHANUM "-_.com", - &create_uri15, - }, - { - /* Another excercise to the allowed character sets to the username - * and password. - */ - PJ_SUCCESS, - "sip:" USER_CHAR ":" PASS_CHAR "@host", - &create_uri16, - }, - { - /* Excercise to the pname and pvalue, and mixup of other-param - * between 'recognized' params. - */ - PJ_SUCCESS, - "sip:host;user=ip;" PARAM_CHAR "%21=" PARAM_CHAR "%21" - ";lr;other=1;transport=sctp;other2", - &create_uri17, - }, - { - /* 18: This should trigger syntax error. */ - ERR_SYNTAX_ERR, - "sip:", - &create_dummy, - }, - { - /* 19: Syntax error: whitespace after scheme. */ - ERR_SYNTAX_ERR, - "sip :host", - &create_dummy, - }, - { - /* 20: Syntax error: whitespace before hostname. */ - ERR_SYNTAX_ERR, - "sip: host", - &create_dummy, - }, - { - /* 21: Syntax error: invalid port. */ - ERR_SYNTAX_ERR, - "sip:user:password", - &create_dummy, - }, - { - /* 22: Syntax error: no host. */ - ERR_SYNTAX_ERR, - "sip:user@", - &create_dummy, - }, - { - /* 23: Syntax error: no user/host. */ - ERR_SYNTAX_ERR, - "sip:@", - &create_dummy, - }, - { - /* 24: Syntax error: empty string. */ - ERR_SYNTAX_ERR, - "", - &create_dummy, - }, - { - /* 25: Simple tel: URI with global context */ - PJ_SUCCESS, - "tel:+1-201-555-0123", - &create_uri25, - "tel:+1-201-555-0123" - }, - { - /* 26: Simple tel: URI with local context */ - PJ_SUCCESS, - "tel:7042;phone-context=example.com", - &create_uri26, - "tel:7042;phone-context=example.com" - }, - { - /* 27: Simple tel: URI with local context */ - PJ_SUCCESS, - "tel:863-1234;phone-context=+1-914-555", - &create_uri27, - "tel:863-1234;phone-context=+1-914-555" - }, - { - /* 28: Comparison between local and global number */ - ERR_NOT_EQUAL, - "tel:+1", - &create_uri28, - "tel:+1" - }, - { - /* 29: tel: with some visual chars and spaces */ - PJ_SUCCESS, - "tel:(44).1234-*#+Deaf", - &create_uri29, - "tel:(44).1234-*#+Deaf" - }, - { - /* 30: isub parameters */ - PJ_SUCCESS, - "tel:+1;isub=/:@&$,-_.!~*'()[]/:&$aA1%21+=", - &create_uri30, - "tel:+1;isub=/:@&$,-_.!~*'()[]/:&$aA1!+%3d" - }, - { - /* 31: extension number parsing and encoding */ - PJ_SUCCESS, - "tel:+1;ext=+123", - &create_uri31, - "tel:+1;ext=%2b123" - }, - { - /* 32: context parameter parsing and encoding */ - PJ_SUCCESS, - "tel:911;phone-context=+1-911", - &create_uri32, - "tel:911;phone-context=+1-911" - }, - { - /* 33: case-insensitive comparison */ - PJ_SUCCESS, - "tel:911;phone-context=emergency.example.com", - &create_uri33, - "tel:911;phone-context=emergency.example.com" - }, - { - /* 34: parameter only appears in one URL */ - ERR_NOT_EQUAL, - "tel:911;p1=p1;p2=p2", - &create_uri34, - "tel:911;p1=p1;p2=p2" - }, - { - /* 35: IPv6 in host and maddr parameter */ - PJ_SUCCESS, - "sip:user@[::1];maddr=[::01]", - &create_uri35, - "sip:user@[::1];maddr=[::01]" - }, - { - /* 36: IPv6 in host and maddr, without username */ - PJ_SUCCESS, - "sip:[::1];maddr=[::01]", - &create_uri36, - "sip:[::1];maddr=[::01]" - }, - { - /* 37: Non-ASCII UTF-8 in display name, with quote */ - PJ_SUCCESS, - "\"\xC0\x81\" ", - &create_uri37, - "\"\xC0\x81\" " - }, - { - /* 38: Non-ASCII UTF-8 in display name, without quote */ - PJ_SUCCESS, - "\xC0\x81 ", - &create_uri38, - "\"\xC0\x81\" " - } - -}; - -static pjsip_uri *create_uri0(pj_pool_t *pool) -{ - /* "sip:localhost" */ - pjsip_sip_uri *url = pjsip_sip_uri_create(pool, 0); - - pj_strdup2(pool, &url->host, "localhost"); - return (pjsip_uri*)url; -} - -static pjsip_uri *create_uri1(pj_pool_t *pool) -{ - /* "sip:user@localhost" */ - pjsip_sip_uri *url = pjsip_sip_uri_create(pool, 0); - - pj_strdup2( pool, &url->user, "user"); - pj_strdup2( pool, &url->host, "localhost"); - - return (pjsip_uri*) url; -} - -static pjsip_uri *create_uri2(pj_pool_t *pool) -{ - /* "sip:user:password@localhost:5060" */ - pjsip_sip_uri *url = pjsip_sip_uri_create(pool, 0); - - pj_strdup2( pool, &url->user, "user"); - pj_strdup2( pool, &url->passwd, "password"); - pj_strdup2( pool, &url->host, "localhost"); - url->port = 5060; - - return (pjsip_uri*) url; -} - -static pjsip_uri *create_uri3(pj_pool_t *pool) -{ - /* Like: "sip:localhost:5060", but without the port. */ - pjsip_sip_uri *url = pjsip_sip_uri_create(pool, 0); - - pj_strdup2(pool, &url->host, "localhost"); - return (pjsip_uri*)url; -} - -static pjsip_uri *create_uri4(pj_pool_t *pool) -{ - /* "sip:localhost;transport=tcp;user=ip;ttl=255;lr;maddr=127.0.0.1;method=ACK" */ - pjsip_sip_uri *url = pjsip_sip_uri_create(pool, 0); - - pj_strdup2(pool, &url->host, "localhost"); - pj_strdup2(pool, &url->transport_param, "tcp"); - pj_strdup2(pool, &url->user_param, "ip"); - url->ttl_param = 255; - url->lr_param = 1; - pj_strdup2(pool, &url->maddr_param, "127.0.0.1"); - pj_strdup2(pool, &url->method_param, "ACK"); - - return (pjsip_uri*)url; -} - -#define param_add(list,pname,pvalue) \ - do { \ - pjsip_param *param; \ - param=PJ_POOL_ALLOC_T(pool, pjsip_param); \ - param->name = pj_str(pname); \ - param->value = pj_str(pvalue); \ - pj_list_insert_before(&list, param); \ - } while (0) - -static pjsip_uri *create_uri5(pj_pool_t *pool) -{ - /* "sip:localhost;pickup=hurry;user=phone;message=I%20am%20sorry" - "?Subject=Hello%20There&Server=SIP%20Server" - */ - pjsip_sip_uri *url = pjsip_sip_uri_create(pool, 0); - - pj_strdup2(pool, &url->host, "localhost"); - pj_strdup2(pool, &url->user_param, "phone"); - - //pj_strdup2(pool, &url->other_param, ";pickup=hurry;message=I%20am%20sorry"); - param_add(url->other_param, "pickup", "hurry"); - param_add(url->other_param, "message", "I am sorry"); - - //pj_strdup2(pool, &url->header_param, "?Subject=Hello%20There&Server=SIP%20Server"); - param_add(url->header_param, "Subject", "Hello There"); - param_add(url->header_param, "Server", "SIP Server"); - return (pjsip_uri*)url; - -} - -static pjsip_uri *create_uri6(pj_pool_t *pool) -{ - /* "sips:localhost" */ - pjsip_sip_uri *url = pjsip_sip_uri_create(pool, 1); - - pj_strdup2(pool, &url->host, "localhost"); - return (pjsip_uri*)url; -} - -static pjsip_uri *create_uri7(pj_pool_t *pool) -{ - /* "" */ - pjsip_name_addr *name_addr = pjsip_name_addr_create(pool); - pjsip_sip_uri *url; - - url = pjsip_sip_uri_create(pool, 0); - name_addr->uri = (pjsip_uri*) url; - - pj_strdup2(pool, &url->host, "localhost"); - return (pjsip_uri*)name_addr; -} - -static pjsip_uri *create_uri8(pj_pool_t *pool) -{ - /* " Power Administrator " */ - pjsip_name_addr *name_addr = pjsip_name_addr_create(pool); - pjsip_sip_uri *url; - - url = pjsip_sip_uri_create(pool, 1); - name_addr->uri = (pjsip_uri*) url; - - pj_strdup2(pool, &name_addr->display, "Power Administrator"); - pj_strdup2(pool, &url->host, "localhost"); - return (pjsip_uri*)name_addr; -} - -static pjsip_uri *create_uri9(pj_pool_t *pool) -{ - /* " \"User\" " */ - pjsip_name_addr *name_addr = pjsip_name_addr_create(pool); - pjsip_sip_uri *url; - - url = pjsip_sip_uri_create(pool, 0); - name_addr->uri = (pjsip_uri*) url; - - pj_strdup2(pool, &name_addr->display, "User"); - pj_strdup2(pool, &url->user, "user"); - pj_strdup2(pool, &url->host, "localhost"); - url->port = 5071; - return (pjsip_uri*)name_addr; -} - -static pjsip_uri *create_uri10(pj_pool_t *pool) -{ - /* " \"Strange User\\\"\\\\\\\"\" " */ - pjsip_name_addr *name_addr = pjsip_name_addr_create(pool); - pjsip_sip_uri *url; - - url = pjsip_sip_uri_create(pool, 0); - name_addr->uri = (pjsip_uri*) url; - - pj_strdup2(pool, &name_addr->display, "Strange User\\\"\\\\\\\""); - pj_strdup2(pool, &url->host, "localhost"); - return (pjsip_uri*)name_addr; -} - -static pjsip_uri *create_uri11(pj_pool_t *pool) -{ - /* " \"Rogue User\\\" " */ - pjsip_name_addr *name_addr = pjsip_name_addr_create(pool); - pjsip_sip_uri *url; - - url = pjsip_sip_uri_create(pool, 0); - name_addr->uri = (pjsip_uri*) url; - - pj_strdup2(pool, &name_addr->display, "Rogue User\\"); - pj_strdup2(pool, &url->host, "localhost"); - return (pjsip_uri*)name_addr; -} - -static pjsip_uri *create_uri12(pj_pool_t *pool) -{ - /* "Strange User\" " */ - pjsip_name_addr *name_addr = pjsip_name_addr_create(pool); - pjsip_sip_uri *url; - - url = pjsip_sip_uri_create(pool, 0); - name_addr->uri = (pjsip_uri*) url; - - pj_strdup2(pool, &name_addr->display, "Strange User\""); - pj_strdup2(pool, &url->host, "localhost"); - return (pjsip_uri*)name_addr; -} - -static pjsip_uri *create_uri13(pj_pool_t *pool) -{ - /* "sip:localhost;pvalue=\"hello world\"" */ - pjsip_sip_uri *url; - url = pjsip_sip_uri_create(pool, 0); - pj_strdup2(pool, &url->host, "localhost"); - //pj_strdup2(pool, &url->other_param, ";pvalue=\"hello world\""); - param_add(url->other_param, "pvalue", "\"hello world\""); - return (pjsip_uri*)url; -} - -static pjsip_uri *create_uri14(pj_pool_t *pool) -{ - /* "This is -. !% *_+`'~ me " */ - pjsip_name_addr *name_addr = pjsip_name_addr_create(pool); - pjsip_sip_uri *url; - - url = pjsip_sip_uri_create(pool, 0); - name_addr->uri = (pjsip_uri*) url; - - pj_strdup2(pool, &name_addr->display, "This is -. !% *_+`'~ me"); - pj_strdup2(pool, &url->user, "a19A&=+$,;?/,"); - pj_strdup2(pool, &url->passwd, "@a&Zz=+$,"); - pj_strdup2(pool, &url->host, "my_proxy09.MY-domain.com"); - url->port = 9801; - return (pjsip_uri*)name_addr; -} - -static pjsip_uri *create_uri15(pj_pool_t *pool) -{ - /* "sip:abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.com" */ - pjsip_sip_uri *url; - url = pjsip_sip_uri_create(pool, 0); - pj_strdup2(pool, &url->host, ALPHANUM "-_.com"); - return (pjsip_uri*)url; -} - -static pjsip_uri *create_uri16(pj_pool_t *pool) -{ - /* "sip:" USER_CHAR ":" PASS_CHAR "@host" */ - pjsip_sip_uri *url; - url = pjsip_sip_uri_create(pool, 0); - pj_strdup2(pool, &url->user, USER_CHAR); - pj_strdup2(pool, &url->passwd, PASS_CHAR); - pj_strdup2(pool, &url->host, "host"); - return (pjsip_uri*)url; -} - -static pjsip_uri *create_uri17(pj_pool_t *pool) -{ - /* "sip:host;user=ip;" PARAM_CHAR "%21=" PARAM_CHAR "%21;lr;other=1;transport=sctp;other2" */ - pjsip_sip_uri *url; - url = pjsip_sip_uri_create(pool, 0); - pj_strdup2(pool, &url->host, "host"); - pj_strdup2(pool, &url->user_param, "ip"); - pj_strdup2(pool, &url->transport_param, "sctp"); - param_add(url->other_param, PARAM_CHAR "!", PARAM_CHAR "!"); - param_add(url->other_param, "other", "1"); - param_add(url->other_param, "other2", ""); - url->lr_param = 1; - return (pjsip_uri*)url; -} - - -static pjsip_uri *create_uri25(pj_pool_t *pool) -{ - /* "tel:+1-201-555-0123" */ - pjsip_tel_uri *uri = pjsip_tel_uri_create(pool); - - uri->number = pj_str("+1-201-555-0123"); - return (pjsip_uri*)uri; -} - -static pjsip_uri *create_uri26(pj_pool_t *pool) -{ - /* tel:7042;phone-context=example.com */ - pjsip_tel_uri *uri = pjsip_tel_uri_create(pool); - - uri->number = pj_str("7042"); - uri->context = pj_str("example.com"); - return (pjsip_uri*)uri; -} - -static pjsip_uri *create_uri27(pj_pool_t *pool) -{ - /* "tel:863-1234;phone-context=+1-914-555" */ - pjsip_tel_uri *uri = pjsip_tel_uri_create(pool); - - uri->number = pj_str("863-1234"); - uri->context = pj_str("+1-914-555"); - return (pjsip_uri*)uri; -} - -/* "tel:1" */ -static pjsip_uri *create_uri28(pj_pool_t *pool) -{ - pjsip_tel_uri *uri = pjsip_tel_uri_create(pool); - - uri->number = pj_str("1"); - return (pjsip_uri*)uri; -} - -/* "tel:(44).1234-*#+Deaf" */ -static pjsip_uri *create_uri29(pj_pool_t *pool) -{ - pjsip_tel_uri *uri = pjsip_tel_uri_create(pool); - - uri->number = pj_str("(44).1234-*#+Deaf"); - return (pjsip_uri*)uri; -} - -/* "tel:+1;isub=/:@&$,-_.!~*'()[]/:&$aA1%21+=" */ -static pjsip_uri *create_uri30(pj_pool_t *pool) -{ - pjsip_tel_uri *uri = pjsip_tel_uri_create(pool); - - uri->number = pj_str("+1"); - uri->isub_param = pj_str("/:@&$,-_.!~*'()[]/:&$aA1!+="); - return (pjsip_uri*)uri; -} - -/* "tel:+1;ext=+123" */ -static pjsip_uri *create_uri31(pj_pool_t *pool) -{ - pjsip_tel_uri *uri = pjsip_tel_uri_create(pool); - - uri->number = pj_str("+1"); - uri->ext_param = pj_str("+123"); - return (pjsip_uri*)uri; -} - -/* "tel:911;phone-context=+1-911" */ -static pjsip_uri *create_uri32(pj_pool_t *pool) -{ - pjsip_tel_uri *uri = pjsip_tel_uri_create(pool); - - uri->number = pj_str("911"); - uri->context = pj_str("+1-911"); - return (pjsip_uri*)uri; -} - -/* "tel:911;phone-context=emergency.example.com" */ -static pjsip_uri *create_uri33(pj_pool_t *pool) -{ - pjsip_tel_uri *uri = pjsip_tel_uri_create(pool); - - uri->number = pj_str("911"); - uri->context = pj_str("EMERGENCY.EXAMPLE.COM"); - return (pjsip_uri*)uri; -} - -/* "tel:911;p1=p1;p2=p2" */ -static pjsip_uri *create_uri34(pj_pool_t *pool) -{ - pjsip_tel_uri *uri = pjsip_tel_uri_create(pool); - pjsip_param *p; - - uri->number = pj_str("911"); - - p = PJ_POOL_ALLOC_T(pool, pjsip_param); - p->name = p->value = pj_str("p1"); - pj_list_insert_before(&uri->other_param, p); - - return (pjsip_uri*)uri; -} - -/* "sip:user@[::1];maddr=[::01]" */ -static pjsip_uri *create_uri35( pj_pool_t *pool ) -{ - pjsip_sip_uri *url; - url = pjsip_sip_uri_create(pool, 0); - url->user = pj_str("user"); - url->host = pj_str("::1"); - url->maddr_param = pj_str("::01"); - return (pjsip_uri*)url; -} - -/* "sip:[::1];maddr=[::01]" */ -static pjsip_uri *create_uri36( pj_pool_t *pool ) -{ - pjsip_sip_uri *url; - url = pjsip_sip_uri_create(pool, 0); - url->host = pj_str("::1"); - url->maddr_param = pj_str("::01"); - return (pjsip_uri*)url; - -} - -/* "\"\xC0\x81\" " */ -static pjsip_uri *create_uri37( pj_pool_t *pool ) -{ - pjsip_name_addr *name; - pjsip_sip_uri *url; - - name = pjsip_name_addr_create(pool); - name->display = pj_str("\xC0\x81"); - - url = pjsip_sip_uri_create(pool, 0); - url->host = pj_str("localhost"); - - name->uri = (pjsip_uri*)url; - - return (pjsip_uri*)name; - -} - -/* "\xC0\x81 " */ -static pjsip_uri *create_uri38( pj_pool_t *pool ) -{ - pjsip_name_addr *name; - pjsip_sip_uri *url; - - name = pjsip_name_addr_create(pool); - name->display = pj_str("\xC0\x81"); - - url = pjsip_sip_uri_create(pool, 0); - url->host = pj_str("localhost"); - - name->uri = (pjsip_uri*)url; - - return (pjsip_uri*)name; - -} - -static pjsip_uri *create_dummy(pj_pool_t *pool) -{ - PJ_UNUSED_ARG(pool); - return NULL; -} - -/*****************************************************************************/ - -/* - * Test one test entry. - */ -static pj_status_t do_uri_test(pj_pool_t *pool, struct uri_test *entry) -{ - pj_status_t status; - int len; - char *input; - pjsip_uri *parsed_uri, *ref_uri; - pj_str_t s1 = {NULL, 0}, s2 = {NULL, 0}; - pj_timestamp t1, t2; - - if (entry->len == 0) - entry->len = pj_ansi_strlen(entry->str); - -#if defined(PJSIP_UNESCAPE_IN_PLACE) && PJSIP_UNESCAPE_IN_PLACE!=0 - input = pj_pool_alloc(pool, entry->len + 1); - pj_memcpy(input, entry->str, entry->len); - input[entry->len] = '\0'; -#else - input = entry->str; -#endif - - /* Parse URI text. */ - pj_get_timestamp(&t1); - var.parse_len = var.parse_len + entry->len; - parsed_uri = pjsip_parse_uri(pool, input, entry->len, 0); - if (!parsed_uri) { - /* Parsing failed. If the entry says that this is expected, then - * return OK. - */ - status = entry->status==ERR_SYNTAX_ERR ? PJ_SUCCESS : -10; - if (status != 0) { - PJ_LOG(3,(THIS_FILE, " uri parse error!\n" - " uri='%s'\n", - input)); - } - goto on_return; - } - pj_get_timestamp(&t2); - pj_sub_timestamp(&t2, &t1); - pj_add_timestamp(&var.parse_time, &t2); - - /* Create the reference URI. */ - ref_uri = entry->creator(pool); - - /* Print both URI. */ - s1.ptr = (char*) pj_pool_alloc(pool, PJSIP_MAX_URL_SIZE); - s2.ptr = (char*) pj_pool_alloc(pool, PJSIP_MAX_URL_SIZE); - - pj_get_timestamp(&t1); - len = pjsip_uri_print( PJSIP_URI_IN_OTHER, parsed_uri, s1.ptr, PJSIP_MAX_URL_SIZE); - if (len < 1) { - status = -20; - goto on_return; - } - s1.ptr[len] = '\0'; - s1.slen = len; - - var.print_len = var.print_len + len; - pj_get_timestamp(&t2); - pj_sub_timestamp(&t2, &t1); - pj_add_timestamp(&var.print_time, &t2); - - len = pjsip_uri_print( PJSIP_URI_IN_OTHER, ref_uri, s2.ptr, PJSIP_MAX_URL_SIZE); - if (len < 1) { - status = -30; - goto on_return; - } - s2.ptr[len] = '\0'; - s2.slen = len; - - /* Full comparison of parsed URI with reference URI. */ - pj_get_timestamp(&t1); - status = pjsip_uri_cmp(PJSIP_URI_IN_OTHER, parsed_uri, ref_uri); - if (status != 0) { - /* Not equal. See if this is the expected status. */ - status = entry->status==ERR_NOT_EQUAL ? PJ_SUCCESS : -40; - if (status != 0) { - PJ_LOG(3,(THIS_FILE, " uri comparison mismatch, status=%d:\n" - " uri1='%s'\n" - " uri2='%s'", - status, s1.ptr, s2.ptr)); - } - goto on_return; - - } else { - /* Equal. See if this is the expected status. */ - status = entry->status==PJ_SUCCESS ? PJ_SUCCESS : -50; - if (status != PJ_SUCCESS) { - goto on_return; - } - } - - var.cmp_len = var.cmp_len + len; - pj_get_timestamp(&t2); - pj_sub_timestamp(&t2, &t1); - pj_add_timestamp(&var.cmp_time, &t2); - - /* Compare text. */ - if (entry->printed) { - if (pj_strcmp2(&s1, entry->printed) != 0) { - /* Not equal. */ - PJ_LOG(3,(THIS_FILE, " uri print mismatch:\n" - " printed='%s'\n" - " expectd='%s'", - s1.ptr, entry->printed)); - status = -60; - } - } else { - if (pj_strcmp(&s1, &s2) != 0) { - /* Not equal. */ - PJ_LOG(3,(THIS_FILE, " uri print mismatch:\n" - " uri1='%s'\n" - " uri2='%s'", - s1.ptr, s2.ptr)); - status = -70; - } - } - -on_return: - return status; -} - - -static int simple_uri_test(void) -{ - unsigned i; - pj_pool_t *pool; - pj_status_t status; - - PJ_LOG(3,(THIS_FILE, " simple test")); - for (i=0; i max) max = run[i].parse; - - PJ_LOG(3,("", " Maximum URI parse/sec=%u", max)); - - pj_ansi_sprintf(desc, "Number of SIP/TEL URIs that can be parsed with " - "pjsip_parse_uri() per second " - "(tested with %d URI set, with average length of " - "%d chars)", - (int)PJ_ARRAY_SIZE(uri_test_array), avg_len); - - report_ival("uri-parse-per-sec", max, "URI/sec", desc); - - /* URI parsing bandwidth */ - report_ival("uri-parse-bandwidth-mb", avg_len*max/1000000, "MB/sec", - "URI parsing bandwidth in megabytes (number of megabytes " - "worth of URI that can be parsed per second)"); - - - /* Print maximum print/sec */ - for (i=0, max=0; i max) max = run[i].print; - - PJ_LOG(3,("", " Maximum URI print/sec=%u", max)); - - pj_ansi_sprintf(desc, "Number of SIP/TEL URIs that can be printed with " - "pjsip_uri_print() per second " - "(tested with %d URI set, with average length of " - "%d chars)", - (int)PJ_ARRAY_SIZE(uri_test_array), avg_len); - - report_ival("uri-print-per-sec", max, "URI/sec", desc); - - /* Print maximum detect/sec */ - for (i=0, max=0; i max) max = run[i].cmp; - - PJ_LOG(3,("", " Maximum URI comparison/sec=%u", max)); - - pj_ansi_sprintf(desc, "Number of SIP/TEL URIs that can be compared with " - "pjsip_uri_cmp() per second " - "(tested with %d URI set, with average length of " - "%d chars)", - (int)PJ_ARRAY_SIZE(uri_test_array), avg_len); - - report_ival("uri-cmp-per-sec", max, "URI/sec", desc); - -#endif /* INCLUDE_BENCHMARKS */ - - return PJ_SUCCESS; -} - diff --git a/res/pjproject/pkgconfig.py b/res/pjproject/pkgconfig.py deleted file mode 100644 index 496e311b9e..0000000000 --- a/res/pjproject/pkgconfig.py +++ /dev/null @@ -1,171 +0,0 @@ -import sys -import os - -REMOVE_THESE = ["-I/usr/include", "-I/usr/include/", "-L/usr/lib", "-L/usr/lib/"] - -class Pkg: - def __init__(self, pkg_name): - self.name = pkg_name - self.priority = 0 - self.vars = {} - - def parse(self, pkg_config_path): - f = None - for pkg_path in pkg_config_path.split(':'): - if pkg_path[-1] != '/': - pkg_path += '/' - fname = pkg_path + self.name + '.pc' - try: - f = open(fname, "r") - break - except: - continue - if not f: - #sys.stderr.write("pkgconfig.py: unable to find %s.pc in %s\n" % (self.name, pkg_config_path)) - return False - - for line in f.readlines(): - line = line.strip() - if not line: - continue - if line[0]=='#': - continue - pos1 = line.find('=') - pos2 = line.find(':') - if pos1 > 0 and (pos1 < pos2 or pos2 < 0): - pos = pos1 - elif pos2 > 0 and (pos2 < pos1 or pos1 < 0): - pos = pos2 - else: - continue - name = line[:pos].lower() - value = line[pos+1:] - self.vars[name] = value - f.close() - - for name in self.vars.keys(): - value = self.vars[name] - while True: - pos1 = value.find("${") - if pos1 < 0: - break - pos2 = value.find("}") - if pos2 < 0: - break - value = value.replace(value[pos1:pos2+1], self.vars[value[pos1+2:pos2]]) - self.vars[name] = value - return True - - def requires(self): - if not 'requires' in self.vars: - return [] - deps = [] - req_list = self.vars['requires'] - for req_item in req_list.split(','): - req_item = req_item.strip() - for i in range(len(req_item)): - if "=<>".find(req_item[i]) >= 0: - deps.append(req_item[:i].strip()) - break - return deps - - def libs(self): - if not 'libs' in self.vars: - return [] - return self.vars['libs'].split(' ') - - def cflags(self): - if not 'cflags' in self.vars: - return [] - return self.vars['cflags'].split(' ') - - -def calculate_pkg_priority(pkg, pkg_dict, loop_cnt): - if loop_cnt > 10: - sys.stderr.write("Circular dependency with pkg %s\n" % (pkg)) - return 0 - reqs = pkg.requires() - prio = 1 - for req in reqs: - if not req in pkg_dict: - continue - req_pkg = pkg_dict[req] - prio += calculate_pkg_priority(req_pkg, pkg_dict, loop_cnt+1) - return prio - -if __name__ == "__main__": - pkg_names = [] - pkg_dict = {} - commands = [] - exist_check = False - - for i in range(1,len(sys.argv)): - if sys.argv[i][0] == '-': - cmd = sys.argv[i] - commands.append(cmd) - if cmd=='--exists': - exist_check = True - elif cmd=="--help": - print "This is not very helpful, is it" - sys.exit(0) - elif cmd=="--version": - print "0.1" - sys.exit(0) - else: - pkg_names.append(sys.argv[i]) - - # Fix search path - PKG_CONFIG_PATH = os.getenv("PKG_CONFIG_PATH", "").strip() - if not PKG_CONFIG_PATH: - PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/lib/pkgconfig" - PKG_CONFIG_PATH = PKG_CONFIG_PATH.replace(";", ":") - - # Parse files - for pkg_name in pkg_names: - pkg = Pkg(pkg_name) - if not pkg.parse(PKG_CONFIG_PATH): - sys.exit(1) - pkg_dict[pkg_name] = pkg - - if exist_check: - sys.exit(0) - - # Calculate priority based on dependency - for pkg_name in pkg_dict.keys(): - pkg = pkg_dict[pkg_name] - pkg.priority = calculate_pkg_priority(pkg, pkg_dict, 1) - - # Sort package based on dependency - pkg_names = sorted(pkg_names, key=lambda pkg_name: pkg_dict[pkg_name].priority, reverse=True) - - # Get the options - opts = [] - for cmd in commands: - if cmd=='--libs': - for pkg_name in pkg_names: - libs = pkg_dict[pkg_name].libs() - for lib in libs: - opts.append(lib) - if lib[:2]=="-l": - break - for pkg_name in pkg_names: - opts += pkg_dict[pkg_name].libs() - elif cmd=='--cflags': - for pkg_name in pkg_names: - opts += pkg_dict[pkg_name].cflags() - elif cmd[0]=='-': - sys.stderr.write("pkgconfig.py: I don't know how to handle " + sys.argv[i] + "\n") - - filtered_opts = [] - for opt in opts: - opt = opt.strip() - if not opt: - continue - if REMOVE_THESE.count(opt) != 0: - continue - if filtered_opts.count(opt) != 0: - continue - filtered_opts.append(opt) - - print ' '.join(filtered_opts) - diff --git a/res/pjproject/self-test.mak b/res/pjproject/self-test.mak deleted file mode 100644 index 7685f9effb..0000000000 --- a/res/pjproject/self-test.mak +++ /dev/null @@ -1,113 +0,0 @@ -# -# This is a make file for performing various tests on the libraries -# -# Sample user.mak contents: -# export CFLAGS += -Wno-unused-label -Werror -# -# ifeq ($(CPP_MODE),1) -# export CFLAGS += -x c++ -# export LDFLAGS += -lstdc++ -# endif - -PJSUA_OPT=--null-audio - - -build_test: distclean rm_build_mak build_mak everything cpp_prep cpp_test cpp_post everything - -run_test: pjlib_test pjlib_util_test pjnath_test pjsip_test pjsua_test - -all: build_test run_test - -CPP_DIR=pjlib pjlib-util pjnath pjmedia pjsip - -.PHONY: build_test distclean rm_build_mak build_mak everything pjlib_test pjlib_util_test pjnath_test pjsip_test cpp_prep cpp_test cpp_post pjsua_test - -distclean: - make distclean - -rm_build_mak: - rm -f build.mak - -build_mak: - ./configure - make dep - -everything: - make - -pjlib_test: - cd pjlib/bin && ./pjlib-test-`../../config.guess` - -pjlib_util_test: - cd pjlib-util/bin && ./pjlib-util-test-`../../config.guess` - -pjnath_test: - cd pjnath/bin && ./pjnath-test-`../../config.guess` - -pjsip_test: - cd pjsip/bin && ./pjsip-test-`../../config.guess` - -cpp_prep: - for dir in $(CPP_DIR); do \ - make -C $$dir/build clean; \ - done - -cpp_test: - make -f c++-build.mak - -cpp_post: - make -f c++-build.mak clean - -pjsua_test: pjsua_config_file pjsua_local_port0 pjsua_ip_addr pjsua_no_tcp pjsua_no_udp pjsua_outbound pjsua_use_ice pjsua_add_codec pjsua_clock_rate pjsua_play_file pjsua_play_tone pjsua_rec_file pjsua_rtp_port pjsua_quality pjsua_ptime pjsua_ectail - @echo pjsua_test completed successfully - -pjsua_config_file: - touch testconfig.cfg - echo q | pjsip-apps/bin/pjsua-`./config.guess` $(PJSUA_OPT) --config-file testconfig.cfg - rm -f testconfig.cfg - -pjsua_local_port0: - echo q | pjsip-apps/bin/pjsua-`./config.guess` $(PJSUA_OPT) --local-port 0 - -pjsua_ip_addr: - echo q | pjsip-apps/bin/pjsua-`./config.guess` $(PJSUA_OPT) --ip-addr 1.1.1.1 - -pjsua_no_tcp: - echo q | pjsip-apps/bin/pjsua-`./config.guess` $(PJSUA_OPT) --no-tcp - -pjsua_no_udp: - echo q | pjsip-apps/bin/pjsua-`./config.guess` $(PJSUA_OPT) --no-udp - -pjsua_outbound: - echo q | pjsip-apps/bin/pjsua-`./config.guess` $(PJSUA_OPT) --outbound 'sip:1.2.3.4;lr' - -pjsua_use_ice: - echo q | pjsip-apps/bin/pjsua-`./config.guess` $(PJSUA_OPT) --use-ice - -pjsua_add_codec: - echo q | pjsip-apps/bin/pjsua-`./config.guess` $(PJSUA_OPT) --add-codec pcma - -pjsua_clock_rate: - echo q | pjsip-apps/bin/pjsua-`./config.guess` $(PJSUA_OPT) --clock-rate 8000 - -pjsua_play_file: - echo q | pjsip-apps/bin/pjsua-`./config.guess` $(PJSUA_OPT) --play-file pjsip-apps/bin/d16.wav --auto-play --auto-loop --auto-conf - -pjsua_play_tone: - echo q | pjsip-apps/bin/pjsua-`./config.guess` $(PJSUA_OPT) --play-tone '400,600,100,500' - -pjsua_rec_file: - echo q | pjsip-apps/bin/pjsua-`./config.guess` $(PJSUA_OPT) --rec-file pjsip-apps/bin/testrec.wav --auto-rec - -pjsua_rtp_port: - echo q | pjsip-apps/bin/pjsua-`./config.guess` $(PJSUA_OPT) --rtp-port 8000 - -pjsua_quality: - echo q | pjsip-apps/bin/pjsua-`./config.guess` $(PJSUA_OPT) --quality 10 - -pjsua_ptime: - echo q | pjsip-apps/bin/pjsua-`./config.guess` $(PJSUA_OPT) --ptime 40 - -pjsua_ectail: - echo q | pjsip-apps/bin/pjsua-`./config.guess` $(PJSUA_OPT) --ec-tail 10 - diff --git a/res/pjproject/svn_add b/res/pjproject/svn_add deleted file mode 100644 index 03528cf30f..0000000000 --- a/res/pjproject/svn_add +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -svn add $* - -./svn_pset $* - diff --git a/res/pjproject/svn_add.bat b/res/pjproject/svn_add.bat deleted file mode 100644 index a5e5211999..0000000000 --- a/res/pjproject/svn_add.bat +++ /dev/null @@ -1,12 +0,0 @@ -@echo off - -if "%*" EQU "" ( - echo Usage: svn_add.bat FILE1 ... - goto end -) - -svn add %* - -svn_pset.bat %* - -:end diff --git a/res/pjproject/svn_pset b/res/pjproject/svn_pset deleted file mode 100644 index 7e0d3d447e..0000000000 --- a/res/pjproject/svn_pset +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -svn pset svn:keywords id $* -svn pset svn:eol-style native $* diff --git a/res/pjproject/svn_pset.bat b/res/pjproject/svn_pset.bat deleted file mode 100644 index d35feddd94..0000000000 --- a/res/pjproject/svn_pset.bat +++ /dev/null @@ -1,11 +0,0 @@ -@echo off - -if "%*" EQU "" ( - echo Usage: svn_pset.bat FILE1 ... - goto end -) - -svn pset svn:keywords id %* -svn pset svn:eol-style native %* - -:end diff --git a/res/pjproject/tests/automated/README.txt b/res/pjproject/tests/automated/README.txt deleted file mode 100644 index 1d1cb81ac1..0000000000 --- a/res/pjproject/tests/automated/README.txt +++ /dev/null @@ -1,4 +0,0 @@ -This directory contains files to run automated/unattended tests for PJSIP. - -See https://trac.pjsip.org/repos/wiki/AutomatedTesting for more info. - diff --git a/res/pjproject/tests/automated/configure.py b/res/pjproject/tests/automated/configure.py deleted file mode 100755 index 1e2f52f4c9..0000000000 --- a/res/pjproject/tests/automated/configure.py +++ /dev/null @@ -1,354 +0,0 @@ -#!/usr/bin/python - -import optparse -import os -import platform -import socket -import subprocess -import sys - -PROG = "r" + "$Rev$".strip("$ ").replace("Rev: ", "") -PYTHON = os.path.basename(sys.executable) -build_type = "" -vs_target = "" -s60_target = "" -no_test = False -no_pjsua_test = False - -# -# Get gcc version -# -def gcc_version(gcc): - proc = subprocess.Popen(gcc + " -v", stdout=subprocess.PIPE, - stderr=subprocess.STDOUT, shell=True) - ver = "" - while True: - s = proc.stdout.readline() - if not s: - break - if s.find("gcc version") >= 0: - ver = s.split(None, 3)[2] - break - proc.wait() - return "gcc-" + ver - -# -# Get Visual Studio info -# -class VSVersion: - def __init__(self): - self.version = "8" - self.release = "2005" - - proc = subprocess.Popen("cl", stdout=subprocess.PIPE, - stderr=subprocess.STDOUT) - while True: - s = proc.stdout.readline() - if s=="": - break - pos = s.find("Version") - if pos > 0: - proc.wait() - s = s[pos+8:] - ver = s.split(None, 1)[0] - major = ver[0:2] - if major=="12": - self.version = "6" - self.release = "98" - break - elif major=="13": - self.version = "7" - self.release = "2003" - break - elif major=="14": - self.version = "8" - self.release = "2005" - break - elif major=="15": - self.version = "9" - self.release = "2008" - break - elif major=="16": - self.version = "10" - self.release = "2010" - break - else: - self.version = "11" - self.release = "2012" - break - proc.wait() - self.vs_version = "vs" + self.version - self.vs_release = "vs" + self.release - - -# -# Get S60 SDK info -# -class S60SDK: - def __init__(self): - self.epocroot = "" - self.sdk = "" - self.device = "" - - # Check that EPOCROOT is set - if not "EPOCROOT" in os.environ: - sys.stderr.write("Error: EPOCROOT environment variable is not set\n") - sys.exit(1) - epocroot = os.environ["EPOCROOT"] - # EPOCROOT must have trailing backslash - if epocroot[-1] != "\\": - epocroot = epocroot + "\\" - os.environ["EPOCROOT"] = epocroot - self.epocroot = epocroot - self.sdk = sdk1 = epocroot.split("\\")[-2] - self.device = "@" + self.sdk + ":com.nokia.s60" - - # Check that correct device is set - proc = subprocess.Popen("devices", stdout=subprocess.PIPE, - stderr=subprocess.STDOUT, shell=True) - sdk2 = "" - while True: - line = proc.stdout.readline() - if line.find("- default") > 0: - sdk2 = line.split(":",1)[0] - break - proc.wait() - - if sdk1 != sdk2: - sys.stderr.write("Error: default SDK in device doesn't match EPOCROOT\n") - sys.stderr.write("Default device SDK = '" + sdk2 + "'\n") - sys.stderr.write("EPOCROOT SDK = '" + sdk1 + "'\n") - sys.exit(1) - - self.name = sdk2.replace("_", "-") - - - -def replace_vars(text): - global vs_target, s60_target, build_type, no_test, no_pjsua_test - suffix = "" - - os_info = platform.system() + platform.release() + "-" + platform.machine() - - # osinfo - s60sdk_var = None - if build_type == "s60": - s60sdk_var = S60SDK() - os_info = s60sdk_var.name - elif platform.system().lower() == "windows" or platform.system().lower() == "microsoft": - if platform.system().lower() == "microsoft": - os_info = platform.release() + "-" + platform.version() + "-" + platform.win32_ver()[2] - elif platform.system().lower() == "linux": - os_info = "-" + "-".join(platform.linux_distribution()[0:2]) - - # vs_target - if not vs_target and text.find("$(VSTARGET)") >= 0: - if build_type != "vs": - sys.stderr.write("Warning: $(VSTARGET) only valid for Visual Studio\n") - print "Enter Visual Studio vs_target name (e.g. Release, Debug) [Release]: ", - vs_target = sys.stdin.readline().replace("\n", "").replace("\r", "") - if not vs_target: - vs_target = "Release" - - # s60_target - if not s60_target and text.find("$(S60TARGET)") >= 0: - if build_type != "s60": - sys.stderr.write("Warning: $(S60TARGET) only valid for S60\n") - print "Enter S60 target name (e.g. \"gcce urel\") [gcce urel]: ", - s60_target = sys.stdin.readline().replace("\n", "").replace("\r", "") - if not s60_target: - s60_target = "gcce urel" - - # Suffix - if build_type == "vs": - suffix = "i386-Win32-vc8-" + vs_target - elif build_type == "s60": - suffix = s60sdk_var.name + "-" + s60_target.replace(" ", "-") - elif build_type == "gnu": - proc = subprocess.Popen("sh config.guess", cwd="../..", - shell=True, stdout=subprocess.PIPE) - suffix = proc.stdout.readline().rstrip(" \r\n") - else: - sys.stderr.write("Error: unsupported build type '" + build_type + "'\n") - sys.exit(1) - - while True: - if text.find("$(PJSUA-TESTS)") >= 0: - if no_test==False and no_pjsua_test==False: - # Determine pjsua exe to use - exe = "../../pjsip-apps/bin/pjsua-" + suffix - proc = subprocess.Popen(PYTHON + " runall.py --list-xml -e " + exe, - cwd="../pjsua", - shell=True, stdout=subprocess.PIPE) - content = proc.stdout.read() - else: - content = "" - text = text.replace("$(PJSUA-TESTS)", content) - elif text.find("$(GCC)") >= 0: - text = text.replace("$(GCC)", gcc_version("gcc")) - elif text.find("$(VS)") >= 0: - vsver = VSVersion() - text = text.replace("$(VS)", VSVersion().vs_release) - elif text.find("$(VSTARGET)") >= 0: - text = text.replace("$(VSTARGET)", vs_target) - elif text.find("$(S60TARGET)") >= 0: - text = text.replace("$(S60TARGET)", s60_target) - elif text.find("$(S60TARGETNAME)") >= 0: - text = text.replace("$(S60TARGETNAME)", s60_target.replace(" ", "-")) - elif text.find("$(S60DEVICE)") >= 0: - text = text.replace("$(S60DEVICE)", s60sdk_var.device) - elif text.find("$(EPOCROOT)") >= 0: - text = text.replace("$(EPOCROOT)", s60sdk_var.epocroot) - elif text.find("$(DISABLED)") >= 0: - text = text.replace("$(DISABLED)", "0") - elif text.find("$(IPPROOT)") >= 0: - if not os.environ.has_key("IPPROOT"): - sys.stderr.write("Error: environment variable IPPROOT is needed but not set\n") - sys.exit(1) - text = text.replace("$(IPPROOT)", os.environ["IPPROOT"]) - elif text.find("$(IPPSAMPLES)") >= 0: - if not os.environ.has_key("IPPSAMPLES"): - sys.stderr.write("Error: environment variable IPPSAMPLES is needed but not set\n") - sys.exit(1) - text = text.replace("$(IPPSAMPLES)", os.environ["IPPSAMPLES"]) - elif text.find("$(IPPARCH)") >= 0: - if not os.environ.has_key("IPPARCH"): - text = text.replace("$(IPPARCH)", "") - else: - text = text.replace("$(IPPARCH)", os.environ["IPPARCH"]) - elif text.find("$(OS)") >= 0: - text = text.replace("$(OS)", os_info) - elif text.find("$(SUFFIX)") >= 0: - text = text.replace("$(SUFFIX)", suffix) - elif text.find("$(HOSTNAME)") >= 0: - text = text.replace("$(HOSTNAME)", socket.gethostname()) - elif text.find("$(PJDIR)") >= 0: - wdir = os.path.join(os.getcwd(), "../..") - wdir = os.path.normpath(wdir) - text = text.replace("$(PJDIR)", wdir) - elif text.find("$(NOP)") >= 0: - if platform.system().lower() == "windows" or platform.system().lower() == "microsoft": - cmd = "CMD /C echo Success" - else: - cmd = "echo Success" - text = text.replace("$(NOP)", cmd) - elif text.find("$(NOTEST)") >= 0: - if no_test: - str = '"1"' - else: - str = '"0"' - text = text.replace("$(NOTEST)", str) - else: - break - return text - - -def main(args): - global vs_target, s60_target, build_type, no_test, no_pjsua_test - output = sys.stdout - usage = """Usage: configure.py [OPTIONS] scenario_template_file - -Where OPTIONS: - -o FILE Output to file, otherwise to stdout. - -t TYPE Specify build type. If not specified, it will be - asked if necessary. Values are: - vs: Visual Studio - gnu: Makefile based - s60: Symbian S60 - -vstarget TARGETNAME Specify Visual Studio target name if build type is set - to vs. If not specified then it will be asked. - Sample target names: - - Debug - - Release - - or any other target in the project file - -s60target TARGETNAME Specify S60 target name if build type is set to s60. - If not specified then it will be asked. Sample target - names: - - "gcce udeb" - - "gcce urel" - -notest Disable all tests in the scenario. - -nopjsuatest Disable pjsua tests in the scenario. -""" - - args.pop(0) - while len(args): - if args[0]=='-o': - args.pop(0) - if len(args): - output = open(args[0], "wt") - args.pop(0) - else: - sys.stderr.write("Error: needs value for -o\n") - sys.exit(1) - elif args[0]=='-vstarget': - args.pop(0) - if len(args): - vs_target = args[0] - args.pop(0) - else: - sys.stderr.write("Error: needs value for -vstarget\n") - sys.exit(1) - elif args[0]=='-s60target': - args.pop(0) - if len(args): - s60_target = args[0] - args.pop(0) - else: - sys.stderr.write("Error: needs value for -s60target\n") - sys.exit(1) - elif args[0]=='-t': - args.pop(0) - if len(args): - build_type = args[0].lower() - args.pop(0) - else: - sys.stderr.write("Error: needs value for -t\n") - sys.exit(1) - if not ["vs", "gnu", "s60"].count(build_type): - sys.stderr.write("Error: invalid -t argument value\n") - sys.exit(1) - elif args[0]=='-notest' or args[0]=='-notests': - args.pop(0) - no_test = True - elif args[0]=='-nopjsuatest' or args[0]=='-nopjsuatests': - args.pop(0) - no_pjsua_test = True - else: - break - - if len(args) != 1: - sys.stderr.write(usage + "\n") - return 1 - - if not build_type: - defval = "vs" - if "SHELL" in os.environ: - shell = os.environ["SHELL"] - if shell.find("sh") > -1: - defval = "gnu" - print "Enter the build type (values: vs, gnu, s60) [%s]: " % (defval), - build_type = sys.stdin.readline().replace("\n", "").replace("\r", "") - if not build_type: - build_type = defval - - - tpl_file = args[len(args)-1] - if not os.path.isfile(tpl_file): - print "Error: unable to find template file '%s'" % (tpl_file) - return 1 - - f = open(tpl_file, "r") - tpl = f.read() - f.close() - - tpl = replace_vars(tpl) - output.write(tpl) - if output != sys.stdout: - output.close() - return 0 - - -if __name__ == "__main__": - rc = main(sys.argv) - sys.exit(rc) - diff --git a/res/pjproject/tests/automated/gnu-ipp.xml.template b/res/pjproject/tests/automated/gnu-ipp.xml.template deleted file mode 100644 index f6daf517a1..0000000000 --- a/res/pjproject/tests/automated/gnu-ipp.xml.template +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - $(PJSUA-TESTS) - - diff --git a/res/pjproject/tests/automated/gnu.xml.template b/res/pjproject/tests/automated/gnu.xml.template deleted file mode 100644 index d453f44b3a..0000000000 --- a/res/pjproject/tests/automated/gnu.xml.template +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - $(PJSUA-TESTS) - - - diff --git a/res/pjproject/tests/automated/iphone.xml.template b/res/pjproject/tests/automated/iphone.xml.template deleted file mode 100644 index b4b0c9d8d8..0000000000 --- a/res/pjproject/tests/automated/iphone.xml.template +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - -]]> - - - - - - diff --git a/res/pjproject/tests/automated/msvc.xml.template b/res/pjproject/tests/automated/msvc.xml.template deleted file mode 100644 index d4dc8ffdcb..0000000000 --- a/res/pjproject/tests/automated/msvc.xml.template +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - $(PJSUA-TESTS) - - - diff --git a/res/pjproject/tests/automated/prepare.xml.template b/res/pjproject/tests/automated/prepare.xml.template deleted file mode 100644 index cadfb342e8..0000000000 --- a/res/pjproject/tests/automated/prepare.xml.template +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/automated/run_continuous.py b/res/pjproject/tests/automated/run_continuous.py deleted file mode 100755 index 07e45abc22..0000000000 --- a/res/pjproject/tests/automated/run_continuous.py +++ /dev/null @@ -1,140 +0,0 @@ -#!/usr/bin/python -import os -import sys -import time -import datetime -import ccdash - -INTERVAL = 300 -DELAY = 0 -ONCE = False -SUFFIX = "" -FORCE = False - -def run_scenarios(scenarios, group): - # Run each scenario - rc = 0 - for scenario in scenarios: - argv = [] - argv.append("ccdash.py") - argv.append("scenario") - argv.append(scenario) - argv.append("--group") - argv.append(group) - thisrc = ccdash.main(argv) - if rc==0 and thisrc: - rc = thisrc - return rc - - -def usage(): - print """Periodically monitor working directory for Continuous and Nightly builds - -Usage: - run_continuous.py [options] scenario1.xml [scenario2.xml ...] - -options: - These are options which will be processed by run_continuous.py: - - --delay MIN Delay both Continuous and Nightly builds by MIN minutes. - This is useful to coordinate the build with other build - machines. By default, Continuous build will be done right - after changes are detected, and Nightly build will be done - at 00:00 GMT. MIN is a float number. - - --once Just run one loop to see if anything needs to be done and - if so just do it once. Quit after that. - - --suffix SFX Set group suffix to SFX. For example, if SFX is "-2.x", then - tests will be submitted to "Nightly-2.x", "Continuous-2.x", - and "Experimental-2.x" - - --force Force running the test even when nothing has changed. -""" - sys.exit(1) - -if __name__ == "__main__": - if len(sys.argv)<=1 or sys.argv[1]=="-h" or sys.argv[1]=="--h" or sys.argv[1]=="--help" or sys.argv[1]=="/h": - usage() - - # Splice list - scenarios = [] - i = 1 - while i < len(sys.argv): - if sys.argv[i]=="--delay": - i = i + 1 - if i >= len(sys.argv): - print "Error: missing argument" - sys.exit(1) - DELAY = float(sys.argv[i]) * 60 - print "Delay is set to %f minute(s)" % (DELAY / 60) - elif sys.argv[i]=="--suffix": - i = i + 1 - if i >= len(sys.argv): - print "Error: missing argument" - sys.exit(1) - SUFFIX = sys.argv[i] - print "Suffix is set to %s" % (SUFFIX) - elif sys.argv[i]=="--once": - ONCE = True - elif sys.argv[i]=="--force": - FORCE = True - else: - # Check if scenario exists - scenario = sys.argv[i] - if not os.path.exists(scenario): - print "Error: file " + scenario + " does not exist" - sys.exit(1) - scenarios.append(scenario) - print "Scenario %s added" % (scenario) - i = i + 1 - - if len(scenarios) < 1: - print "Error: scenario is required" - sys.exit(1) - - # Current date - utc = time.gmtime(None) - day = utc.tm_mday - - # Loop foreva - while True: - argv = [] - - # Anything changed recently? - argv.append("ccdash.py") - argv.append("status") - argv.append("-w") - argv.append("../..") - rc = ccdash.main(argv) - - utc = time.gmtime(None) - - if utc.tm_mday != day or rc != 0 or FORCE: - group = "" - if utc.tm_mday != day: - day = utc.tm_mday - group = "Nightly" + SUFFIX - elif rc != 0: - group = "Continuous" + SUFFIX - else: - group = "Experimental" + SUFFIX - if DELAY > 0: - print "Will run %s after %f s.." % (group, DELAY) - time.sleep(DELAY) - rc = run_scenarios(scenarios, group) - msg = str(datetime.datetime.now()) + \ - ": done running " + group + \ - "tests, will check again in " + str(INTERVAL) + "s.." - if ONCE: - sys.exit(0) - else: - # Nothing changed - msg = str(datetime.datetime.now()) + \ - ": No update, will check again in " + str(INTERVAL) + "s.." - if ONCE: - sys.exit(1) - - print msg - time.sleep(INTERVAL) - diff --git a/res/pjproject/tests/automated/run_scenario.py b/res/pjproject/tests/automated/run_scenario.py deleted file mode 100644 index bfd06d125d..0000000000 --- a/res/pjproject/tests/automated/run_scenario.py +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/python -import sys -import ccdash - -if __name__ == "__main__": - sys.argv[0] = "ccdash.py" - sys.argv.insert(1, "scenario") - rc = ccdash.main(sys.argv) - sys.exit(rc) - - diff --git a/res/pjproject/tests/automated/symbian-aps.xml.template b/res/pjproject/tests/automated/symbian-aps.xml.template deleted file mode 100644 index 1a7befc846..0000000000 --- a/res/pjproject/tests/automated/symbian-aps.xml.template +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - -]]> - - - - - - - - - - - - - - - - - - - - -]]> - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/automated/symbian-vas.xml.template b/res/pjproject/tests/automated/symbian-vas.xml.template deleted file mode 100644 index 119d1e562a..0000000000 --- a/res/pjproject/tests/automated/symbian-vas.xml.template +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - -]]> - - - - - - - - - - - - - - - - - - - - -]]> - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/automated/symbian.xml.template b/res/pjproject/tests/automated/symbian.xml.template deleted file mode 100644 index 4f36dd96a7..0000000000 --- a/res/pjproject/tests/automated/symbian.xml.template +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - -#undef PJ_HAS_IPV6 -#define PJ_HAS_IPV6 1 -#undef PJMEDIA_HAS_G7221_CODEC -#define PJMEDIA_HAS_G7221_CODEC 1 -]]> - - - - - - diff --git a/res/pjproject/tests/automated/testvars.template b/res/pjproject/tests/automated/testvars.template deleted file mode 100644 index e3f5cf09eb..0000000000 --- a/res/pjproject/tests/automated/testvars.template +++ /dev/null @@ -1,33 +0,0 @@ -Variables: ------------------------------ -DISABLED = "$(DISABLED)" -GCC = "$(GCC)" -HOSTNAME = "$(HOSTNAME)" -OS = "$(OS)" -PJDIR = "$(PJDIR)" -SUFFIX = "$(SUFFIX)" -NOTEST = "$(NOTEST)" - -S60 only: ------------------------------- -S60TARGET = "$(S60TARGET)" -S60TARGETNAME = "$(S60TARGETNAME)" -S60DEVICE = "$(S60DEVICE)" -EPOCROOT = "$(EPOCROOT)" - -VS only: ------------------------------- -VS = "$(VS)" -VSTARGET = "$(VSTARGET)" - -PJSUA-TESTS: ------------------------------- -$(PJSUA-TESTS) ------------------------------- - -OTHER: ------------------------------- -IPPROOT -IPPSAMPLES -IPPARCH -NOP (cmdline to do nothing) diff --git a/res/pjproject/tests/cdash/README.TXT b/res/pjproject/tests/cdash/README.TXT deleted file mode 100644 index 69728b739f..0000000000 --- a/res/pjproject/tests/cdash/README.TXT +++ /dev/null @@ -1,59 +0,0 @@ - - PJSIP CDASH AUTOMATED TESTS - -------------------------------- - - -1. What is this - - This directory contains the scripts to run the automated, Python based tests -of PJSIP source codes, across platforms, and submit the test results to a CDash -test monitoring dashboard. - - Stuffs that are included in the test scope: - - configure (for GNU platforms, e.g. Linux, msys, and MacOS X) - - build - - standard unit tests (pjlib-test, pjsip-test, etc.) - - pjsua's Python based blackbox tests - - -2. Requirements - - To run this test, you will need: - - Python (2.4 or later) - - curl (http://curl.haxx.se) - - a CDash server to receive test submissions (http://www.cdash.org) - - ccdash to submit the tests (http://trac.pjsip.org/ccdash) - - -3. Configuration - - Create a Python configuration file by copying from "cfg_site_sample.py". -Save it as "cfg_site.py". You may create more than one configurations for your -site and save them as different files. - - -4. Running - - To execute tests for GNU based targets: - - $ python main.py cfg_gnu - - - To execute tests for MSVC based target: - - $ python main.py cfg_msvc - - To execute tests for Symbian target: - - $ python main.py cfg_symbian - - - If you have a different site configuration file, you may specify it in the -arguments, e.g.: - - $ python main.py cfg_gnu my_site_config - - For more information you can also pass "-h" or "--help", e.g.: - - $ python main.py cfg_gnu --help - diff --git a/res/pjproject/tests/cdash/builder.py b/res/pjproject/tests/cdash/builder.py deleted file mode 100644 index 79066e8a12..0000000000 --- a/res/pjproject/tests/cdash/builder.py +++ /dev/null @@ -1,501 +0,0 @@ -# -# builder.py - PJSIP test scenarios builder -# -# Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# - -import ccdash -import os -import platform -import re -import subprocess -import sys -import time - -class Operation: - """\ - The Operation class describes the individual ccdash operation to be - performed. - - """ - # Types: - UPDATE = "update" # Update operation - CONFIGURE = "configure" # Configure operation - BUILD = "build" # Build operation - TEST = "test" # Unit test operation - - def __init__(self, type, cmdline, name="", wdir=""): - self.type = type - self.cmdline = cmdline - self.name = name - self.wdir = wdir - if self.type==self.TEST and not self.name: - raise "name required for tests" - - def encode(self, base_dir): - s = [self.type] - if self.type == self.TEST: - s.append(self.name) - if self.type != self.UPDATE: - s.append(self.cmdline) - s.append("-w") - if self.wdir: - s.append(base_dir + "/" + self.wdir) - else: - s.append(base_dir) - return s - - -# -# Update operation -# -update_ops = [Operation(Operation.UPDATE, "")] - -# -# The standard library tests (e.g. pjlib-test, pjsip-test, etc.) -# -std_test_ops= [ - Operation(Operation.TEST, "./pjlib-test$SUFFIX", name="pjlib test", - wdir="pjlib/bin"), - Operation(Operation.TEST, "./pjlib-util-test$SUFFIX", - name="pjlib-util test", wdir="pjlib-util/bin"), - Operation(Operation.TEST, "./pjnath-test$SUFFIX", name="pjnath test", - wdir="pjnath/bin"), - Operation(Operation.TEST, "./pjmedia-test$SUFFIX", name="pjmedia test", - wdir="pjmedia/bin"), - Operation(Operation.TEST, "./pjsip-test$SUFFIX", name="pjsip test", - wdir="pjsip/bin") -] - -# -# These are pjsua Python based unit test operations -# -def build_pjsua_test_ops(pjsua_exe=""): - ops = [] - if pjsua_exe: - exe = " -e ../../pjsip-apps/bin/" + pjsua_exe - else: - exe = "" - cwd = os.getcwd() - os.chdir("../pjsua") - os.system("python runall.py --list > list") - f = open("list", "r") - for e in f: - e = e.rstrip("\r\n ") - (mod,param) = e.split(None,2) - name = mod[4:mod.find(".py")] + "_" + \ - param[param.find("/")+1:param.find(".py")] - ops.append(Operation(Operation.TEST, "python run.py" + exe + " " + \ - e, name=name, wdir="tests/pjsua")) - f.close() - os.remove("list") - os.chdir(cwd) - return ops - -# -# Get gcc version -# -def gcc_version(gcc): - proc = subprocess.Popen(gcc + " -v", stdout=subprocess.PIPE, - stderr=subprocess.STDOUT, shell=True) - ver = "" - while True: - s = proc.stdout.readline() - if not s: - break - if s.find("gcc version") >= 0: - ver = s.split(None, 3)[2] - break - proc.wait() - return "gcc-" + ver - -# -# Get Visual Studio version -# -def vs_get_version(): - proc = subprocess.Popen("cl", stdout=subprocess.PIPE, - stderr=subprocess.STDOUT) - while True: - s = proc.stdout.readline() - if s=="": - break - pos = s.find("Version") - if pos > 0: - proc.wait() - s = s[pos+8:] - ver = s.split(None, 1)[0] - major = ver[0:2] - if major=="12": - return "vs6" - elif major=="13": - return "vs2003" - elif major=="14": - return "vs2005" - elif major=="15": - return "vs2008" - else: - return "vs-" + major - proc.wait() - return "vs-unknown" - - -# -# Test config -# -class BaseConfig: - def __init__(self, base_dir, url, site, group, options=None): - self.base_dir = base_dir - self.url = url - self.site = site - self.group = group - self.options = options - -# -# Base class for test configurator -# -class TestBuilder: - def __init__(self, config, build_config_name="", - user_mak="", config_site="", exclude=[], not_exclude=[]): - self.config = config # BaseConfig instance - self.build_config_name = build_config_name # Optional build suffix - self.user_mak = user_mak # To be put in user.mak - self.config_site = config_site # To be put in config_s.. - self.saved_user_mak = "" # To restore user.mak - self.saved_config_site = "" # To restore config_s.. - self.exclude = exclude # List of exclude pattern - self.not_exclude = not_exclude # List of include pattern - self.ccdash_args = [] # ccdash cmd line - - def stamp(self): - return time.strftime("%Y%m%d-%H%M", time.localtime()) - - def pre_action(self): - # Override user.mak - name = self.config.base_dir + "/user.mak" - if os.access(name, os.F_OK): - f = open(name, "r") - self.saved_user_mak = f.read() - f.close() - if True: - f = open(name, "w") - f.write(self.user_mak) - f.close() - # Override config_site.h - name = self.config.base_dir + "/pjlib/include/pj/config_site.h" - if os.access(name, os.F_OK): - f = open(name, "r") - self.saved_config_site= f.read() - f.close() - if True: - f = open(name, "wt") - f.write(self.config_site) - f.close() - - - def post_action(self): - # Restore user.mak - name = self.config.base_dir + "/user.mak" - f = open(name, "wt") - f.write(self.saved_user_mak) - f.close() - # Restore config_site.h - name = self.config.base_dir + "/pjlib/include/pj/config_site.h" - f = open(name, "wt") - f.write(self.saved_config_site) - f.close() - - def build_tests(self): - # This should be overridden by subclasses - pass - - def execute(self): - if len(self.ccdash_args)==0: - self.build_tests() - self.pre_action() - mandatory_op = ["update", "configure", "build"] - counter = 0 - for a in self.ccdash_args: - # Check if this test is in exclusion list - fullcmd = " ".join(a) - excluded = False - included = False - for pat in self.exclude: - if pat and re.search(pat, fullcmd) != None: - excluded = True - break - if excluded: - for pat in self.not_exclude: - if pat and re.search(pat, fullcmd) != None: - included = True - break - if excluded and not included: - if len(fullcmd)>60: - fullcmd = fullcmd[0:60] + ".." - print "Skipping '%s'" % (fullcmd) - continue - - b = ["ccdash.py"] - b.extend(a) - a = b - #print a - try: - rc = ccdash.main(a) - except Exception, e: - errmsg = str(e) - print "**** Error: ccdash got exception %s ****" % errmsg - rc = -1 - except: - print "**** Error: ccdash got unknown exception ****" - rc = -1 - - if rc!=0 and a[1] in mandatory_op: - print "Stopping because of error.." - break - counter = counter + 1 - self.post_action() - - -# -# GNU test configurator -# -class GNUTestBuilder(TestBuilder): - """\ - This class creates list of tests suitable for GNU targets. - - """ - def __init__(self, config, build_config_name="", user_mak="", \ - config_site="", cross_compile="", exclude=[], not_exclude=[]): - """\ - Parameters: - config - BaseConfig instance - build_config_name - Optional name to be added as suffix to the build - name. Sample: "min-size", "O4", "TLS", etc. - user_mak - Contents to be put on user.mak - config_site - Contents to be put on config_site.h - cross_compile - Optional cross-compile prefix. Must include the - trailing dash, e.g. "arm-unknown-linux-" - exclude - List of regular expression patterns for tests - that will be excluded from the run - not_exclude - List of regular expression patterns for tests - that will be run regardless of whether they - match the excluded pattern. - - """ - TestBuilder.__init__(self, config, build_config_name=build_config_name, - user_mak=user_mak, config_site=config_site, - exclude=exclude, not_exclude=not_exclude) - self.cross_compile = cross_compile - if self.cross_compile and self.cross_compile[-1] != '-': - self.cross_compile.append("-") - - def build_tests(self): - if self.cross_compile: - suffix = "-" + self.cross_compile[0:-1] - build_name = self.cross_compile + \ - gcc_version(self.cross_compile + "gcc") - else: - proc = subprocess.Popen("sh "+self.config.base_dir+"/config.guess", - shell=True, stdout=subprocess.PIPE) - plat = proc.stdout.readline().rstrip(" \r\n") - build_name = plat + "-"+gcc_version(self.cross_compile + "gcc") - suffix = "-" + plat - - if self.build_config_name: - build_name = build_name + "-" + self.build_config_name - cmds = [] - cmds.extend(update_ops) - cmds.append(Operation(Operation.CONFIGURE, "sh ./configure")) - if sys.platform=="win32": - # Don't build python module on Mingw - cmds.append(Operation(Operation.BUILD, - "sh -c 'make distclean && make dep && make'")) - else: - cmds.append(Operation(Operation.BUILD, - "sh -c 'make distclean && make dep && make" + \ - " && cd pjsip-apps/src/python && " + \ - "python setup.py clean build'")) - - cmds.extend(std_test_ops) - cmds.extend(build_pjsua_test_ops()) - self.ccdash_args = [] - for c in cmds: - c.cmdline = c.cmdline.replace("$SUFFIX", suffix) - args = c.encode(self.config.base_dir) - args.extend(["-U", self.config.url, - "-S", self.config.site, - "-T", self.stamp(), - "-B", build_name, - "-G", self.config.group]) - args.extend(self.config.options) - self.ccdash_args.append(args) - -# -# MSVC test configurator -# -class MSVCTestBuilder(TestBuilder): - """\ - This class creates list of tests suitable for Visual Studio builds. - You need to set the MSVC environment variables (typically by calling - vcvars32.bat) prior to running this class. - - """ - def __init__(self, config, target="Release|Win32", build_config_name="", - config_site="", exclude=[], not_exclude=[]): - """\ - Parameters: - config - BaseConfig instance - target - Visual Studio build configuration to build. - Sample: "Debug|Win32", "Release|Win32". - build_config_name - Optional name to be added as suffix to the build - name. Sample: "Debug", "Release", "IPv6", etc. - config_site - Contents to be put on config_site.h - exclude - List of regular expression patterns for tests - that will be excluded from the run - not_exclude - List of regular expression patterns for tests - that will be run regardless of whether they - match the excluded pattern. - - """ - TestBuilder.__init__(self, config, build_config_name=build_config_name, - config_site=config_site, exclude=exclude, - not_exclude=not_exclude) - self.target = target.lower() - - def build_tests(self): - - (vsbuild,sys) = self.target.split("|",2) - - build_name = sys + "-" + vs_get_version() + "-" + vsbuild - - if self.build_config_name: - build_name = build_name + "-" + self.build_config_name - - vccmd = "vcbuild.exe /nologo /nohtmllog /nocolor /rebuild " + \ - "pjproject-vs8.sln " + " \"" + self.target + "\"" - - suffix = "-i386-win32-vc8-" + vsbuild - pjsua = "pjsua_vc8" - if vsbuild=="debug": - pjsua = pjsua + "d" - - cmds = [] - cmds.extend(update_ops) - cmds.append(Operation(Operation.CONFIGURE, "CMD /C echo Nothing to do")) - cmds.append(Operation(Operation.BUILD, vccmd)) - cmds.extend(std_test_ops) - cmds.extend(build_pjsua_test_ops(pjsua)) - - self.ccdash_args = [] - for c in cmds: - c.cmdline = c.cmdline.replace("$SUFFIX", suffix) - args = c.encode(self.config.base_dir) - args.extend(["-U", self.config.url, - "-S", self.config.site, - "-T", self.stamp(), - "-B", build_name, - "-G", self.config.group]) - args.extend(self.config.options) - self.ccdash_args.append(args) - - -# -# Symbian test configurator -# -class SymbianTestBuilder(TestBuilder): - """\ - This class creates list of tests suitable for Symbian builds. You need to - set the command line build settings prior to running this class (typically - that involves setting the EPOCROOT variable and current device). - - """ - def __init__(self, config, target="gcce urel", build_config_name="", - config_site="", exclude=[], not_exclude=[]): - """\ - Parameters: - config - BaseConfig instance - target - Symbian target to build. Default is "gcce urel". - build_config_name - Optional name to be added as suffix to the build - name. Sample: "APS", "VAS", etc. - config_site - Contents to be put on config_site.h - exclude - List of regular expression patterns for tests - that will be excluded from the run - not_exclude - List of regular expression patterns for tests - that will be run regardless of whether they - match the excluded pattern. - - """ - TestBuilder.__init__(self, config, build_config_name=build_config_name, - config_site=config_site, exclude=exclude, - not_exclude=not_exclude) - self.target = target.lower() - - def build_tests(self): - - # Check that EPOCROOT is set - if not "EPOCROOT" in os.environ: - print "Error: EPOCROOT environment variable is not set" - sys.exit(1) - epocroot = os.environ["EPOCROOT"] - # EPOCROOT must have trailing backslash - if epocroot[-1] != "\\": - epocroot = epocroot + "\\" - os.environ["EPOCROOT"] = epocroot - sdk1 = epocroot.split("\\")[-2] - - # Check that correct device is set - proc = subprocess.Popen("devices", stdout=subprocess.PIPE, - stderr=subprocess.STDOUT, shell=True) - sdk2 = "" - while True: - line = proc.stdout.readline() - if line.find("- default") > 0: - sdk2 = line.split(":",1)[0] - break - proc.wait() - - if sdk1 != sdk2: - print "Error: default SDK in device doesn't match EPOCROOT" - print "Default device SDK =", sdk2 - print "EPOCROOT SDK =", sdk1 - sys.exit(1) - - build_name = sdk2.replace("_", "-") + "-" + \ - self.target.replace(" ", "-") - - if self.build_config_name: - build_name = build_name + "-" + self.build_config_name - - cmdline = "cmd /C \"cd build.symbian && bldmake bldfiles && abld build %s\"" % (self.target) - - cmds = [] - cmds.extend(update_ops) - cmds.append(Operation(Operation.CONFIGURE, "CMD /C echo Nothing to do")) - cmds.extend([Operation(Operation.BUILD, cmdline)]) - - self.ccdash_args = [] - suffix = "" - for c in cmds: - c.cmdline = c.cmdline.replace("$SUFFIX", suffix) - args = c.encode(self.config.base_dir) - args.extend(["-U", self.config.url, - "-S", self.config.site, - "-T", self.stamp(), - "-B", build_name, - "-G", self.config.group]) - args.extend(self.config.options) - self.ccdash_args.append(args) - diff --git a/res/pjproject/tests/cdash/cfg_gnu.py b/res/pjproject/tests/cdash/cfg_gnu.py deleted file mode 100644 index 8411b654a6..0000000000 --- a/res/pjproject/tests/cdash/cfg_gnu.py +++ /dev/null @@ -1,73 +0,0 @@ -# -# cfg_gnu.py - GNU target configurator -# -# Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -import builder -import os -import sys - -# Each configurator must export this function -def create_builder(args): - usage = """\ -Usage: - main.py cfg_gnu [-h|--help] [cfg_site] - -Arguments: - cfg_site: site configuration module. If not specified, "cfg_site" - is implied - -h, --help Show this help screen - -""" - # (optional) args format: - # site configuration module. If not specified, "cfg_site" is implied - - cfg_site = "cfg_site" - - for arg in args: - if arg=="-h" or arg=="--help": - print usage - sys.exit(0) - elif arg[0]=="-": - print usage - sys.exit(1) - else: - cfg_site = arg - - if os.access(cfg_site+".py", os.F_OK) == False: - print "Error: file '%s.py' doesn't exist." % (cfg_site) - sys.exit(1) - - cfg_site = __import__(cfg_site) - test_cfg = builder.BaseConfig(cfg_site.BASE_DIR, \ - cfg_site.URL, \ - cfg_site.SITE_NAME, \ - cfg_site.GROUP, \ - cfg_site.OPTIONS) - - config_site = "#define PJ_TODO(x)\n" + cfg_site.CONFIG_SITE - user_mak = "export CFLAGS+=-Wall\n" + cfg_site.USER_MAK - - builders = [ - builder.GNUTestBuilder(test_cfg, build_config_name="default", - user_mak=user_mak, - config_site=config_site, - exclude=cfg_site.EXCLUDE, - not_exclude=cfg_site.NOT_EXCLUDE) - ] - - return builders diff --git a/res/pjproject/tests/cdash/cfg_msvc.py b/res/pjproject/tests/cdash/cfg_msvc.py deleted file mode 100644 index 26b07855b2..0000000000 --- a/res/pjproject/tests/cdash/cfg_msvc.py +++ /dev/null @@ -1,82 +0,0 @@ -# -# cfg_msvc.py - MSVC/Visual Studio target configurator -# -# Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -import builder -import os -import sys - -# Each configurator must export this function -def create_builder(args): - usage = """\ -Usage: - main.py cfg_msvc [-h|--help] [-t|--target TARGET] [cfg_site] - -Arguments: - cfg_site: site configuration module. If not specified, "cfg_site" - is implied - -t,--target TARGET: Visual Studio build configuration to build. Default is - "Release|Win32". Sample values: "Debug|Win32" - -h, --help Show this help screen - -""" - - cfg_site = "cfg_site" - target = "Release|Win32" - in_option = "" - - for arg in args: - if in_option=="-t": - target = arg - in_option = "" - elif arg=="--target" or arg=="-t": - in_option = "-t" - elif arg=="-h" or arg=="--help": - print usage - sys.exit(0) - elif arg[0]=="-": - print usage - sys.exit(1) - else: - cfg_site = arg - - if os.access(cfg_site+".py", os.F_OK) == False: - print "Error: file '%s.py' doesn't exist." % (cfg_site) - sys.exit(1) - - cfg_site = __import__(cfg_site) - test_cfg = builder.BaseConfig(cfg_site.BASE_DIR, \ - cfg_site.URL, \ - cfg_site.SITE_NAME, \ - cfg_site.GROUP, \ - cfg_site.OPTIONS) - - config_site = "#define PJ_TODO(x)\n" + cfg_site.CONFIG_SITE - user_mak = cfg_site.USER_MAK - - builders = [ - builder.MSVCTestBuilder(test_cfg, - target=target, - build_config_name="default", - config_site=config_site, - exclude=cfg_site.EXCLUDE, - not_exclude=cfg_site.NOT_EXCLUDE) - ] - - return builders - diff --git a/res/pjproject/tests/cdash/cfg_site_sample.py b/res/pjproject/tests/cdash/cfg_site_sample.py deleted file mode 100644 index b05964279c..0000000000 --- a/res/pjproject/tests/cdash/cfg_site_sample.py +++ /dev/null @@ -1,50 +0,0 @@ -# -# cfg_site_sample.py - Sample site configuration -# -# Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -import builder - -# Your site name -SITE_NAME="Newham3" - -# The URL where tests will be submitted to -URL = "http://192.168.0.2/dash/submit.php?project=PJSIP" - -# Test group -GROUP = "Experimental" - -# PJSIP base directory -BASE_DIR = "/root/project/pjproject" - -# List of additional ccdash options -#OPTIONS = ["-o", "out.xml", "-y"] -OPTIONS = [] - -# What's the content of config_site.h -CONFIG_SITE = "" - -# What's the content of user.mak -USER_MAK = "" - -# List of regular expression of test patterns to be excluded -EXCLUDE = [] - -# List of regular expression of test patterns to be included (even -# if they match EXCLUDE patterns) -NOT_EXCLUDE = [] -#"configure", "update", "build.*make", "build", "run.py mod_run.*100_simple"] diff --git a/res/pjproject/tests/cdash/cfg_symbian.py b/res/pjproject/tests/cdash/cfg_symbian.py deleted file mode 100644 index 94f5f3f6b6..0000000000 --- a/res/pjproject/tests/cdash/cfg_symbian.py +++ /dev/null @@ -1,86 +0,0 @@ -# -# cfg_symbian.py - Symbian target configurator -# -# Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -import builder -import os -import sys - -# Each configurator must export this function -def create_builder(args): - usage = """\ -Usage: - main.py cfg_symbian [-h|--help] [-t|--target TARGET] [cfg_site] - -Arguments: - cfg_site: site configuration module. If not specified, "cfg_site" - is implied - -t,--target TARGET: Symbian target to build. Default is "gcce urel". - Other values: - "winscw udeb", "gcce udeb", etc. - -h, --help Show this help screen -""" - - cfg_site = "cfg_site" - target = "gcce urel" - in_option = "" - - for arg in args: - if in_option=="-t": - target = arg - in_option = "" - elif arg=="--target" or arg=="-t": - in_option = "-t" - elif arg=="--help" or arg=="-h": - print usage - sys.exit(0) - elif arg[0]=="-": - print usage - sys.exit(1) - else: - cfg_site = arg - - if os.access(cfg_site+".py", os.F_OK) == False: - print "Error: file '%s.py' doesn't exist." % (cfg_site) - sys.exit(1) - - cfg_site = __import__(cfg_site) - test_cfg = builder.BaseConfig(cfg_site.BASE_DIR, \ - cfg_site.URL, \ - cfg_site.SITE_NAME, \ - cfg_site.GROUP, \ - cfg_site.OPTIONS) - config_site1 = """\ -#define PJ_TODO(x) -#include - -""" - - config_Site = config_site1 + cfg_site.CONFIG_SITE - - builders = [ - builder.SymbianTestBuilder(test_cfg, - target=target, - build_config_name="default", - config_site=config_site1, - exclude=cfg_site.EXCLUDE, - not_exclude=cfg_site.NOT_EXCLUDE) - ] - - return builders - diff --git a/res/pjproject/tests/cdash/inc_test.py b/res/pjproject/tests/cdash/inc_test.py deleted file mode 100644 index 8b13789179..0000000000 --- a/res/pjproject/tests/cdash/inc_test.py +++ /dev/null @@ -1 +0,0 @@ - diff --git a/res/pjproject/tests/cdash/main.py b/res/pjproject/tests/cdash/main.py deleted file mode 100644 index 8a99371455..0000000000 --- a/res/pjproject/tests/cdash/main.py +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/env python - -# -# main.py - main entry for PJSIP's CDash tests -# -# Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# - -import sys - -if len(sys.argv)==1: - print "Usage: main.py cfg_file [cfg_site]" - print "Example:" - print " main.py cfg_gnu" - print " main.py cfg_gnu custom_cfg_site" - sys.exit(1) - - -args = [] -args.extend(sys.argv) -args.remove(args[1]) -args.remove(args[0]) - -cfg_file = __import__(sys.argv[1]) -builders = cfg_file.create_builder(args) - -for builder in builders: - builder.execute() diff --git a/res/pjproject/tests/cdash/starttest_sample.bat b/res/pjproject/tests/cdash/starttest_sample.bat deleted file mode 100644 index 9693b1cf76..0000000000 --- a/res/pjproject/tests/cdash/starttest_sample.bat +++ /dev/null @@ -1,44 +0,0 @@ -@echo off - -rem *** -rem ************** VS 2005 ************** -rem *** -set OLD_PATH=%PATH% -set OLD_INCLUDE=%INCLUDE% -set OLD_LIB=%LIB% -set OLD_LIBPATH=%LIBPATH% - -call "C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat" x86 -python main.py cfg_msvc -t "Debug|Win32" -python main.py cfg_msvc -t "Release|Win32" - -set PATH=%OLD_PATH% -set INCLUDE=%OLD_INCLUDE% -set LIB=%OLD_LIB% -set LIBPATH=%OLD_LIBPATH% - - -rem *** -rem ************** S60 3rd FP1 ************** -rem *** -set EPOCROOT=\symbian\9.2\S60_3rd_FP1\ -devices -setdefault @S60_3rd_FP1:com.nokia.s60 -python main.py cfg_symbian -t "winscw udeb" -python main.py cfg_symbian -t "gcce udeb" -python main.py cfg_symbian -t "gcce urel" - - -rem *** -rem ************** Mingw ************** -rem *** -set MSYSTEM=MINGW32 -set DISPLAY= -C:\msys\1.0\bin\sh -c "python main.py cfg_gnu" - - -rem *** -rem ************** Linux ************** -rem *** -set PATH=%PATH%;c:\msys\1.0\bin -set HOME=C:\msys\1.0\home\Administrator -C:\mingw\bin\ssh test@192.168.0.12 "cd project/pjproject/tests/cdash && python main.py cfg_gnu" diff --git a/res/pjproject/tests/pjsua/README.TXT b/res/pjproject/tests/pjsua/README.TXT deleted file mode 100644 index 24322f55c9..0000000000 --- a/res/pjproject/tests/pjsua/README.TXT +++ /dev/null @@ -1,65 +0,0 @@ - - PJSUA TEST FRAMEWORK - ========================= - -0. What is this ---------------- -This is the automated testing scripts for pjsua. It can do many things (just -don't ask it to write good documentation :) ). - - -1. Requirements ---------------- -To run the tests you need: - - Python (tested with Python 2.5.2) - - pjsua application, built and placed in pjsip-apps/bin directory - - the pjsua must be built with: - - SRTP enabled (the default) - - -2. Using --------- -To run all the tests: - $ python [OPTIONS] runall.py - -To run individual test: - $ python [OPTIONS] run.py MODULE CONFIG - -Where options: - -e EXE use EXE as pjsua executable - -n use null audio - -r TEST (for runall.py only) resume test at TEST - - -For each individual tests, the run.py is the main entry for the test. It -imports the various inc_xxx.py files, and it will load the MODULE. The MODULE -contains specific test flows, and we have few of them: - - - mod_run.py: - a simple test which just run pjsua with the configuration from CONFIG - file and checks if pjsua can start properly. - - - mod_call.py: - call testing where it spawns two pjsua instances each with configura- - tions as specified in CONFIG file, makes one pjsua call the other, and - checks if the call can be established. - - - mod_pres.py: - presence testing - - - mod_sendto.py: - Simple UAC to send arbitrary SIP message to pjsua. Good to test - various incoming INVITE scenarios - - - mod_media_playrec.py: - Mainly for resampling quality testing - - - mod_pesq.py - Measure call quality of various call settings with PESQ, for people - who have PESQ tool and license - -Example: - $ python run.py mod_run.py scripts-run/100_simple.py - $ python run.py mod_call.py scripts-call/100_simple.py - - diff --git a/res/pjproject/tests/pjsua/config_site.py b/res/pjproject/tests/pjsua/config_site.py deleted file mode 100644 index a6e4f29a2b..0000000000 --- a/res/pjproject/tests/pjsua/config_site.py +++ /dev/null @@ -1,4 +0,0 @@ -# $Id$ - -# Specify if host has sound device, or test should be performed using sound device -HAS_SND_DEV = 0 diff --git a/res/pjproject/tests/pjsua/inc_cfg.py b/res/pjproject/tests/pjsua/inc_cfg.py deleted file mode 100644 index d75c17f351..0000000000 --- a/res/pjproject/tests/pjsua/inc_cfg.py +++ /dev/null @@ -1,107 +0,0 @@ -# $Id$ -import random -import config_site - -DEFAULT_ECHO = True -DEFAULT_TRACE = True -DEFAULT_START_SIP_PORT = 50000 - -# Shared vars -ARGS = [] # arguments containing script module & config -HAS_SND_DEV = config_site.HAS_SND_DEV - -# Individual pjsua instance configuration class -class InstanceParam: - # Name to identify this pjsua instance (e.g. "caller", "callee", etc.) - name = "" - # pjsua command line arguments, concatenated in string - arg = "" - # Specify whether pjsua output should be echoed to stdout - echo_enabled = DEFAULT_ECHO - # Enable/disable test tracing - trace_enabled = DEFAULT_TRACE - # SIP URI to send request to this instance - uri = "" - # SIP port number, zero to automatically assign - sip_port = 0 - # Does this have registration? If yes then the test function will - # wait until the UA is registered before doing anything else - have_reg = False - # Does this have PUBLISH? - have_publish = False - # Enable stdout buffer? - enable_buffer = False - def __init__( self, - name, # Instance name - arg, # Cmd-line arguments - uri="", # URI - uri_param="", # Additional URI param - sip_port=0, # SIP port - have_reg=False, # Have registration? - have_publish=False, # Have publish? - echo_enabled=DEFAULT_ECHO, - trace_enabled=DEFAULT_TRACE, - enable_buffer = False): - # Instance name - self.name = name - # Give random sip_port if it's not specified - if sip_port==0: - self.sip_port = random.randint(DEFAULT_START_SIP_PORT, 65534) - else: - self.sip_port = sip_port - # Autogenerate URI if it's empty. - self.uri = uri - if self.uri=="": - self.uri = "sip:pjsip@127.0.0.1:" + str(self.sip_port) - # Add uri_param to the URI - self.uri = self.uri + uri_param - # Add bracket to the URI - if self.uri[0] != "<": - self.uri = "<" + self.uri + ">" - # Add SIP local port to the argument - self.arg = arg + " --local-port=" + str(self.sip_port) - self.have_reg = have_reg - self.have_publish = have_publish - if have_publish and have_reg and not ("--publish" in self.arg): - self.arg = self.arg + " --publish" - self.echo_enabled = echo_enabled - self.trace_enabled = trace_enabled - self.enable_buffer = enable_buffer - - -############################################ -# Test parameter class -class TestParam: - title = "" - # params is list containing InstanceParams objects - inst_params = [] - # flag if this tes should be skipped - skip = None - # list of Expect instances, to be filled at run-time by - # the test program - process = [] - # the function for test body - test_func = None - post_func = None - def __init__( self, - title, # Test title - inst_params, # InstanceParam's as list - func=None, - skip=False, - post_func=None, - need_stdout_buffer=False): - self.title = title - self.inst_params = inst_params - self.skip = skip - self.test_func = func - self.post_func = post_func - - -################################### -# TestError exception -class TestError: - desc = "" - def __init__(self, desc): - self.desc = desc - - diff --git a/res/pjproject/tests/pjsua/inc_const.py b/res/pjproject/tests/pjsua/inc_const.py deleted file mode 100644 index b8b761e11b..0000000000 --- a/res/pjproject/tests/pjsua/inc_const.py +++ /dev/null @@ -1,62 +0,0 @@ -# $Id$ -# Useful constants - - -########################## -# MENU OUTPUT -# - - -########################## -# EVENTS -# - -# Text to expect when there is incoming call -EVENT_INCOMING_CALL = "Press .* answer" - - -########################## -# CALL STATES -# - -# Call state is CALLING -STATE_CALLING = "state.*CALLING" -# Call state is CONFIRMED -STATE_CONFIRMED = "state.*CONFIRMED" -# Call state is DISCONNECTED -STATE_DISCONNECTED = "Call .* DISCONNECTED" - -# Media call is put on-hold -MEDIA_HOLD = "Call [0-9]+ media [0-9]+ .*, status is .* hold" -# Media call is active -MEDIA_ACTIVE = "Call [0-9]+ media [0-9]+ .*, status is Active" -#MEDIA_ACTIVE = "Media for call [0-9]+ is active" -# RX_DTMF -RX_DTMF = "Incoming DTMF on call [0-9]+: " - -########################## -# MEDIA -# - -# Connecting/disconnecting ports -MEDIA_CONN_PORT_SUCCESS = "Port \d+ \(.+\) transmitting to port" -MEDIA_DISCONN_PORT_SUCCESS = "Port \d+ \(.+\) stop transmitting to port" - -# Filename to play / record -MEDIA_PLAY_FILE = "--play-file\s+(\S+)" -MEDIA_REC_FILE = "--rec-file\s+(\S+)" - -########################## -# MISC -# - -# The command prompt -PROMPT = ">>>" -# When pjsua has been destroyed -DESTROYED = "PJSUA destroyed" -# Assertion failure -ASSERT = "Assertion failed" -# Stdout refresh text -STDOUT_REFRESH = "XXSTDOUT_REFRESHXX" - - diff --git a/res/pjproject/tests/pjsua/inc_sdp.py b/res/pjproject/tests/pjsua/inc_sdp.py deleted file mode 100644 index 97dfdc7733..0000000000 --- a/res/pjproject/tests/pjsua/inc_sdp.py +++ /dev/null @@ -1,38 +0,0 @@ -# $Id$ - -# SDP template -sdp_templ = \ -"""v=0\r -o=- 1 1 $NET_TYPE $ADDR_TYPE $LOCAL_IP\r -s=pjmedia\r -t=0 0\r -$SDP_LINES""" - -sdp_media_templ = \ -"""m=$MEDIA_TYPE $PORT $TRANSPORT 0\r -c=$NET_TYPE $ADDR_TYPE $LOCAL_IP\r -$SDP_LINES""" - -# Create SDP session -def session(local_ip="127.0.0.1", extra_lines="", net_type="IN", addr_type="IP4"): - sdp = sdp_templ - sdp = sdp.replace("$NET_TYPE", net_type) - sdp = sdp.replace("$ADDR_TYPE", addr_type) - sdp = sdp.replace("$LOCAL_IP", local_ip) - sdp = sdp.replace("$SDP_LINES", extra_lines) - return sdp - -# Create basic SDP media -def media(media_type="audio", local_port=4000, local_ip="127.0.0.1", extra_lines="", - net_type = "IN", addr_type="IP4", transport="RTP/AVP"): - sdp = sdp_media_templ - sdp = sdp.replace("$MEDIA_TYPE", media_type) - sdp = sdp.replace("$LOCAL_IP", local_ip) - sdp = sdp.replace("$PORT", str(local_port)) - sdp = sdp.replace("$NET_TYPE", net_type) - sdp = sdp.replace("$ADDR_TYPE", addr_type) - sdp = sdp.replace("$TRANSPORT", transport) - sdp = sdp.replace("$SDP_LINES", extra_lines) - return sdp - - diff --git a/res/pjproject/tests/pjsua/inc_sip.py b/res/pjproject/tests/pjsua/inc_sip.py deleted file mode 100644 index f7e64816ea..0000000000 --- a/res/pjproject/tests/pjsua/inc_sip.py +++ /dev/null @@ -1,343 +0,0 @@ -# $Id$ -# -from socket import * -import re -import random -import time -import sys -import inc_cfg as cfg -from select import * - -# SIP request template -req_templ = \ -"""$METHOD $TARGET_URI SIP/2.0\r -Via: SIP/2.0/UDP $LOCAL_IP:$LOCAL_PORT;rport;branch=z9hG4bK$BRANCH\r -Max-Forwards: 70\r -From: $FROM_TAG\r -To: <$TARGET_URI>$TO_TAG\r -Contact: \r -Call-ID: $CALL_ID@pjsip.org\r -CSeq: $CSEQ $METHOD\r -Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, REFER\r -Supported: replaces, 100rel, norefersub\r -User-Agent: pjsip.org Python tester\r -Content-Length: $CONTENT_LENGTH\r -$SIP_HEADERS""" - - -def is_request(msg): - return msg.split(" ", 1)[0] != "SIP/2.0" - -def is_response(msg): - return msg.split(" ", 1)[0] == "SIP/2.0" - -def get_code(msg): - if msg=="": - return 0 - return int(msg.split(" ", 2)[1]) - -def get_tag(msg, hdr="To"): - pat = "^" + hdr + ":.*" - result = re.search(pat, msg, re.M | re.I) - if result==None: - return "" - line = result.group() - #print "line=", line - tags = line.split(";tag=") - if len(tags)>1: - return tags[1] - return "" - #return re.split("[;& ]", s) - -def get_header(msg, hname): - headers = msg.splitlines() - for hdr in headers: - hfields = hdr.split(": ", 2) - if hfields[0]==hname: - return hfields[1] - return None - -class Dialog: - sock = None - dst_addr = "" - dst_port = 5060 - local_ip = "" - local_port = 0 - tcp = False - call_id = str(random.random()) - cseq = 0 - local_tag = ";tag=" + str(random.random()) - rem_tag = "" - last_resp_code = 0 - inv_branch = "" - trace_enabled = True - last_request = "" - def __init__(self, dst_addr, dst_port=5060, tcp=False, trace=True, local_port=0): - self.dst_addr = dst_addr - self.dst_port = dst_port - self.tcp = tcp - self.trace_enabled = trace - if tcp==True: - self.sock = socket(AF_INET, SOCK_STREAM) - self.sock.connect(dst_addr, dst_port) - else: - self.sock = socket(AF_INET, SOCK_DGRAM) - self.sock.bind(("127.0.0.1", local_port)) - - self.local_ip, self.local_port = self.sock.getsockname() - self.trace("Dialog socket bound to " + self.local_ip + ":" + str(self.local_port)) - - def trace(self, txt): - if self.trace_enabled: - print str(time.strftime("%H:%M:%S ")) + txt - - def update_fields(self, msg): - if self.tcp: - transport_param = ";transport=tcp" - else: - transport_param = "" - msg = msg.replace("$TARGET_URI", "sip:"+self.dst_addr+":"+str(self.dst_port) + transport_param) - msg = msg.replace("$LOCAL_IP", self.local_ip) - msg = msg.replace("$LOCAL_PORT", str(self.local_port)) - msg = msg.replace("$FROM_TAG", self.local_tag) - msg = msg.replace("$TO_TAG", self.rem_tag) - msg = msg.replace("$CALL_ID", self.call_id) - msg = msg.replace("$CSEQ", str(self.cseq)) - branch=str(random.random()) - msg = msg.replace("$BRANCH", branch) - return msg - - def create_req(self, method, sdp, branch="", extra_headers="", body=""): - if branch=="": - self.cseq = self.cseq + 1 - msg = req_templ - msg = msg.replace("$METHOD", method) - msg = msg.replace("$SIP_HEADERS", extra_headers) - if branch=="": - branch=str(random.random()) - msg = msg.replace("$BRANCH", branch) - if sdp!="": - msg = msg.replace("$CONTENT_LENGTH", str(len(sdp))) - msg = msg + "Content-Type: application/sdp\r\n" - msg = msg + "\r\n" - msg = msg + sdp - elif body!="": - msg = msg.replace("$CONTENT_LENGTH", str(len(body))) - msg = msg + "\r\n" - msg = msg + body - else: - msg = msg.replace("$CONTENT_LENGTH", "0") - return self.update_fields(msg) - - def create_response(self, request, code, reason, to_tag=""): - response = "SIP/2.0 " + str(code) + " " + reason + "\r\n" - lines = request.splitlines() - for line in lines: - hdr = line.split(":", 1)[0] - if hdr in ["Via", "From", "To", "CSeq", "Call-ID"]: - if hdr=="To" and to_tag!="": - line = line + ";tag=" + to_tag - elif hdr=="Via": - line = line + ";received=127.0.0.1" - response = response + line + "\r\n" - return response - - def create_invite(self, sdp, extra_headers="", body=""): - self.inv_branch = str(random.random()) - return self.create_req("INVITE", sdp, branch=self.inv_branch, extra_headers=extra_headers, body=body) - - def create_ack(self, sdp="", extra_headers=""): - return self.create_req("ACK", sdp, extra_headers=extra_headers, branch=self.inv_branch) - - def create_bye(self, extra_headers=""): - return self.create_req("BYE", "", extra_headers) - - def send_msg(self, msg, dst_addr=None): - if (is_request(msg)): - self.last_request = msg.split(" ", 1)[0] - if not dst_addr: - dst_addr = (self.dst_addr, self.dst_port) - self.trace("============== TX MSG to " + str(dst_addr) + " ============= \n" + msg) - self.sock.sendto(msg, 0, dst_addr) - - def wait_msg_from(self, timeout): - endtime = time.time() + timeout - msg = "" - src_addr = None - while time.time() < endtime: - readset = select([self.sock], [], [], 1) - if len(readset[0]) < 1 or not self.sock in readset[0]: - if len(readset[0]) < 1: - print "select() timeout (will wait for " + str(int(endtime - time.time())) + "more secs)" - elif not self.sock in readset[0]: - print "select() alien socket" - else: - print "select other error" - continue - try: - msg, src_addr = self.sock.recvfrom(4096) - break - except: - print "recv() exception: ", sys.exc_info()[0] - continue - - if msg=="": - return "", None - if self.last_request=="INVITE" and self.rem_tag=="": - self.rem_tag = get_tag(msg, "To") - self.rem_tag = self.rem_tag.rstrip("\r\n;") - if self.rem_tag != "": - self.rem_tag = ";tag=" + self.rem_tag - self.trace("=== rem_tag:" + self.rem_tag) - self.trace("=========== RX MSG from " + str(src_addr) + " ===========\n" + msg) - return (msg, src_addr) - - def wait_msg(self, timeout): - return self.wait_msg_from(timeout)[0] - - # Send request and wait for final response - def send_request_wait(self, msg, timeout): - t1 = 1.0 - endtime = time.time() + timeout - resp = "" - code = 0 - for i in range(0,5): - self.send_msg(msg) - resp = self.wait_msg(t1) - if resp!="" and is_response(resp): - code = get_code(resp) - break - last_resp = resp - while code < 200 and time.time() < endtime: - resp = self.wait_msg(endtime - time.time()) - if resp != "" and is_response(resp): - code = get_code(resp) - last_resp = resp - elif resp=="": - break - return last_resp - - def hangup(self, last_code=0): - self.trace("====== hangup =====") - if last_code!=0: - self.last_resp_code = last_code - if self.last_resp_code>0 and self.last_resp_code<200: - msg = self.create_req("CANCEL", "", branch=self.inv_branch, extra_headers="") - self.send_request_wait(msg, 5) - msg = self.create_ack() - self.send_msg(msg) - elif self.last_resp_code>=200 and self.last_resp_code<300: - msg = self.create_ack() - self.send_msg(msg) - msg = self.create_bye() - self.send_request_wait(msg, 5) - else: - msg = self.create_ack() - self.send_msg(msg) - - -class SendtoCfg: - # Test name - name = "" - # pjsua InstanceParam - inst_param = None - # Complete INVITE message. If this is not empty, then this - # message will be sent instead and the "sdp" and "extra_headers" - # settings will be ignored. - complete_msg = "" - # Initial SDP - sdp = "" - # Extra headers to add to request - extra_headers = "" - # Expected code - resp_code = 0 - # Use TCP? - use_tcp = False - # List of RE patterns that must exist in response - resp_include = [] - # List of RE patterns that must NOT exist in response - resp_exclude = [] - # Full (non-SDP) body - body = "" - # Constructor - def __init__(self, name, pjsua_args, sdp, resp_code, - resp_inc=[], resp_exc=[], use_tcp=False, - extra_headers="", body="", complete_msg="", - enable_buffer = False): - self.complete_msg = complete_msg - self.sdp = sdp - self.resp_code = resp_code - self.resp_include = resp_inc - self.resp_exclude = resp_exc - self.use_tcp = use_tcp - self.extra_headers = extra_headers - self.body = body - self.inst_param = cfg.InstanceParam("pjsua", pjsua_args) - self.inst_param.enable_buffer = enable_buffer - - -class RecvfromTransaction: - # The test title for this transaction - title = "" - # Optinal list of pjsua command and optional expect patterns - # to be invoked to make pjsua send a request - # Sample: - # (to make call and wait for INVITE to be sent) - # cmds = [ ["m"], ["sip:127.0.0.1", "INVITE sip:"] ] - cmds = [] - # Check if the CSeq must be greater than last Cseq? - check_cseq = True - # List of RE patterns that must exists in incoming request - include = [] - # List of RE patterns that MUST NOT exist in incoming request - exclude = [] - # Response code to send - resp_code = 0 - # Additional list of headers to be sent on the response - # Note: no need to add CRLF on the header - resp_hdr = [] - # Message body. This should include the Content-Type header too. - # Sample: - # body = """Content-Type: application/sdp\r\n - # \r\n - # v=0\r\n - # ... - # """ - body = None - # Pattern to be expected on pjsua when receiving the response - expect = "" - - def __init__(self, title, resp_code, check_cseq=True, - include=[], exclude=[], cmds=[], resp_hdr=[], resp_body=None, expect=""): - self.title = title - self.cmds = cmds - self.include = include - self.exclude = exclude - self.resp_code = resp_code - self.resp_hdr = resp_hdr - self.body = resp_body - self.expect = expect - - -class RecvfromCfg: - # Test name - name = "" - # pjsua InstanceParam - inst_param = None - # List of RecvfromTransaction - transaction = None - # Use TCP? - tcp = False - - # Note: - # Any "$PORT" string in the pjsua_args will be replaced - # by server port - def __init__(self, name, pjsua_args, transaction, tcp=False): - self.name = name - self.inst_param = cfg.InstanceParam("pjsua", pjsua_args) - self.transaction = transaction - self.tcp=tcp - - - - diff --git a/res/pjproject/tests/pjsua/mod_call.py b/res/pjproject/tests/pjsua/mod_call.py deleted file mode 100644 index 7081aed4f9..0000000000 --- a/res/pjproject/tests/pjsua/mod_call.py +++ /dev/null @@ -1,226 +0,0 @@ -# $Id$ -import time -import imp -import sys -import inc_const as const -from inc_cfg import * - -# Load configuration -cfg_file = imp.load_source("cfg_file", ARGS[1]) - -# Check media flow between ua1 and ua2 -def check_media(ua1, ua2): - ua1.send("#") - ua1.expect("#") - ua1.send("1122") - ua2.expect(const.RX_DTMF + "1") - ua2.expect(const.RX_DTMF + "1") - ua2.expect(const.RX_DTMF + "2") - ua2.expect(const.RX_DTMF + "2") - - -# Test body function -def test_func(t): - callee = t.process[0] - caller = t.process[1] - - # if have_reg then wait for couple of seconds for PUBLISH - # to complete (just in case pUBLISH is used) - if callee.inst_param.have_reg: - time.sleep(1) - if caller.inst_param.have_reg: - time.sleep(1) - - # Caller making call - caller.send("m") - caller.send(t.inst_params[0].uri) - caller.expect(const.STATE_CALLING) - - # Callee waits for call and answers with 180/Ringing - time.sleep(0.2) - callee.expect(const.EVENT_INCOMING_CALL) - callee.send("a") - callee.send("180") - callee.expect("SIP/2.0 180") - caller.expect("SIP/2.0 180") - - # Synchronize stdout - caller.sync_stdout() - callee.sync_stdout() - - # Callee answers with 200/OK - callee.send("a") - callee.send("200") - - # Wait until call is connected in both endpoints - time.sleep(0.2) - caller.expect(const.STATE_CONFIRMED) - callee.expect(const.STATE_CONFIRMED) - - # Synchronize stdout - caller.sync_stdout() - callee.sync_stdout() - time.sleep(0.1) - caller.sync_stdout() - callee.sync_stdout() - - # Test that media is okay - time.sleep(0.3) - check_media(caller, callee) - check_media(callee, caller) - - # Hold call by caller - caller.send("H") - caller.expect("INVITE sip:") - callee.expect("INVITE sip:") - caller.expect(const.MEDIA_HOLD) - callee.expect(const.MEDIA_HOLD) - - # Synchronize stdout - caller.sync_stdout() - callee.sync_stdout() - - # Release hold - time.sleep(0.5) - caller.send("v") - caller.expect("INVITE sip:") - callee.expect("INVITE sip:") - caller.expect(const.MEDIA_ACTIVE, title="waiting for media active after call hold") - callee.expect(const.MEDIA_ACTIVE, title="waiting for media active after call hold") - - # Synchronize stdout - caller.sync_stdout() - callee.sync_stdout() - - # Test that media is okay - check_media(caller, callee) - check_media(callee, caller) - - # Synchronize stdout - caller.sync_stdout() - callee.sync_stdout() - - # Hold call by callee - callee.send("H") - callee.expect("INVITE sip:") - caller.expect("INVITE sip:") - caller.expect(const.MEDIA_HOLD) - callee.expect(const.MEDIA_HOLD) - - # Synchronize stdout - caller.sync_stdout() - callee.sync_stdout() - - # Release hold - time.sleep(0.1) - callee.send("v") - callee.expect("INVITE sip:") - caller.expect("INVITE sip:") - callee.expect(const.MEDIA_ACTIVE, title="waiting for media active after call hold") - caller.expect(const.MEDIA_ACTIVE, title="waiting for media active after call hold") - - # Synchronize stdout - caller.sync_stdout() - callee.sync_stdout() - - # Test that media is okay - # Wait for some time for ICE negotiation - time.sleep(0.6) - check_media(caller, callee) - check_media(callee, caller) - - # Synchronize stdout - caller.sync_stdout() - callee.sync_stdout() - - # UPDATE (by caller) - caller.send("U") - #caller.sync_stdout() - callee.expect(const.MEDIA_ACTIVE, title="waiting for media active with UPDATE") - caller.expect(const.MEDIA_ACTIVE, title="waiting for media active with UPDATE") - - # Synchronize stdout - caller.sync_stdout() - callee.sync_stdout() - - # Test that media is okay - time.sleep(0.1) - check_media(caller, callee) - check_media(callee, caller) - - # UPDATE (by callee) - callee.send("U") - callee.expect("UPDATE sip:") - caller.expect("UPDATE sip:") - caller.expect(const.MEDIA_ACTIVE, title="waiting for media active with UPDATE") - callee.expect(const.MEDIA_ACTIVE, title="waiting for media active with UPDATE") - - # Synchronize stdout - caller.sync_stdout() - callee.sync_stdout() - - # Test that media is okay - time.sleep(0.1) - check_media(caller, callee) - check_media(callee, caller) - - # Synchronize stdout - caller.sync_stdout() - callee.sync_stdout() - - # Set codecs in both caller and callee so that there is - # no common codec between them. - # In caller we only enable PCMU, in callee we only enable PCMA - caller.send("Cp") - caller.expect("Enter codec") - caller.send("* 0") - caller.send("Cp") - caller.expect("Enter codec") - caller.send("pcmu 120") - - callee.send("Cp") - callee.expect("Enter codec") - callee.send("* 0") - callee.send("Cp") - callee.expect("Enter codec") - callee.send("pcma 120") - - # Test when UPDATE fails (by callee) - callee.send("U") - caller.expect("SIP/2.0 488") - callee.expect("SIP/2.0 488") - callee.sync_stdout() - caller.sync_stdout() - - # Test that media is still okay - time.sleep(0.1) - check_media(caller, callee) - check_media(callee, caller) - - # Test when UPDATE fails (by caller) - caller.send("U") - caller.expect("UPDATE sip:") - callee.expect("UPDATE sip:") - callee.expect("SIP/2.0 488") - caller.expect("SIP/2.0 488") - caller.sync_stdout() - callee.sync_stdout() - - # Test that media is still okay - time.sleep(0.1) - check_media(callee, caller) - check_media(caller, callee) - - # Hangup call - time.sleep(0.1) - caller.send("h") - - # Wait until calls are cleared in both endpoints - caller.expect(const.STATE_DISCONNECTED) - callee.expect(const.STATE_DISCONNECTED) - - -# Here where it all comes together -test = cfg_file.test_param -test.test_func = test_func - diff --git a/res/pjproject/tests/pjsua/mod_media_playrec.py b/res/pjproject/tests/pjsua/mod_media_playrec.py deleted file mode 100644 index 39efd05180..0000000000 --- a/res/pjproject/tests/pjsua/mod_media_playrec.py +++ /dev/null @@ -1,108 +0,0 @@ -# $Id$ - -# PLAYFILE -> RECFILE: -# Input file is played and is recorded to output, then compare them. -# Useful to tes clock rates compatibility and resample quality -# null-audio -# port 1: wav file input xxxxxx.clock_rate.wav, e.g: test1.8.wav -# port 2: wav file ouput xxxxxx.clock_rate.wav, e.g: res1.8.wav -# wav input must be more than 3 seconds long - -import time -import imp -import sys -import re -import subprocess -import inc_const as const -from inc_cfg import * - -# Load configuration -cfg_file = imp.load_source("cfg_file", ARGS[1]) - -# WAV similarity calculator -COMPARE_WAV_EXE = "" -if sys.platform.find("win32")!=-1: - COMPARE_WAV_EXE = "tools/cmp_wav.exe" - G_INUNIX = False -else: - COMPARE_WAV_EXE = "tools/cmp_wav" - G_INUNIX = True - - -# Threshold to declare degradation is too high when result is lower than this value -COMPARE_THRESHOLD = 2 - -# COMPARE params -input_filename = "" # Input filename -output_filename = "" # Output filename - -# Test body function -def test_func(t): - global input_filename - global output_filename - - endpt = t.process[0] - - # Get input file name - input_filename = re.compile(const.MEDIA_PLAY_FILE).search(endpt.inst_param.arg).group(1) - endpt.trace("Input file = " + input_filename) - - # Get output file name - output_filename = re.compile(const.MEDIA_REC_FILE).search(endpt.inst_param.arg).group(1) - endpt.trace("Output file = " + output_filename) - - # Find appropriate clock rate for the input file - clock_rate = re.compile(".+(\.\d+\.wav)$").match(output_filename).group(1) - if (clock_rate==None): - endpt.trace("Cannot compare input & output, incorrect output filename format") - return - input_filename = re.sub("\.\d+\.wav$", clock_rate, input_filename) - endpt.trace("WAV file to be compared with output = " + input_filename) - - # Connect input-output file - endpt.sync_stdout() - - endpt.send("cc 1 2") - endpt.expect(const.MEDIA_CONN_PORT_SUCCESS) - - # Wait - time.sleep(3) - - endpt.sync_stdout() - - # Disconnect input-output file - endpt.send("cd 1 2") - endpt.expect(const.MEDIA_DISCONN_PORT_SUCCESS) - - -# Post body function -def post_func(t): - global input_filename - global output_filename - - endpt = t.process[0] - - # Check WAV similarity - fullcmd = COMPARE_WAV_EXE + " " + input_filename + " " + output_filename + " " + "3000" - endpt.trace("Popen " + fullcmd) - cmp_proc = subprocess.Popen(fullcmd, shell=G_INUNIX, stdout=subprocess.PIPE, universal_newlines=True) - - # Parse similarity ouput - line = cmp_proc.stdout.readline() - mo_sim_val = re.match(".+=\s+(\d+)", line) - if (mo_sim_val == None): - raise TestError("Error comparing WAV files") - return - - # Evaluate the similarity value - sim_val = mo_sim_val.group(1) - if (sim_val >= COMPARE_THRESHOLD): - endpt.trace("WAV similarity = " + sim_val) - else: - raise TestError("WAV degraded heavily, similarity = " + sim_val) - - -# Here where it all comes together -test = cfg_file.test_param -test.test_func = test_func -test.post_func = post_func diff --git a/res/pjproject/tests/pjsua/mod_pesq.py b/res/pjproject/tests/pjsua/mod_pesq.py deleted file mode 100644 index 272d0715bf..0000000000 --- a/res/pjproject/tests/pjsua/mod_pesq.py +++ /dev/null @@ -1,167 +0,0 @@ -# $Id$ - -# Quality test of media calls. -# - UA1 calls UA2 -# - UA1 plays a file until finished to be streamed to UA2 -# - UA2 records from stream -# - Apply PESQ to played file (reference) and recorded file (degraded) -# -# File should be: -# - naming: xxxxxx.CLOCK_RATE.wav, e.g: test1.8.wav -# - clock-rate of those files can only be 8khz or 16khz - -import time -import imp -import os -import sys -import re -import subprocess -import wave -import shutil -import inc_const as const - -from inc_cfg import * - -# Load configuration -cfg_file = imp.load_source("cfg_file", ARGS[1]) - -# PESQ configs -PESQ = "tools/pesq" # PESQ executable path -PESQ_DEFAULT_THRESHOLD = 3.4 # Default minimum acceptable PESQ MOS value - -# PESQ params -pesq_sample_rate_opt = "" # Sample rate option for PESQ -input_filename = "" # Input/Reference filename -output_filename = "" # Output/Degraded filename - - -# Test body function -def test_func(t): - global pesq_sample_rate_opt - global input_filename - global output_filename - - ua1 = t.process[0] - ua2 = t.process[1] - - # Get input file name - input_filename = re.compile(const.MEDIA_PLAY_FILE).search(ua1.inst_param.arg).group(1) - - # Get output file name - output_filename = re.compile(const.MEDIA_REC_FILE).search(ua2.inst_param.arg).group(1) - - # Get WAV input length, in seconds - fin = wave.open(input_filename, "r") - if fin == None: - raise TestError("Failed opening input WAV file") - inwavlen = fin.getnframes() * 1.0 / fin.getframerate() - inwavlen += 0.2 - fin.close() - print "WAV input len = " + str(inwavlen) + "s" - - # Get clock rate of the output - mo_clock_rate = re.compile("\.(\d+)\.wav").search(output_filename) - if (mo_clock_rate==None): - raise TestError("Cannot compare input & output, incorrect output filename format") - clock_rate = mo_clock_rate.group(1) - - # Get channel count of the output - channel_count = 1 - if re.search("--stereo", ua2.inst_param.arg) != None: - channel_count = 2 - - # Get matched input file from output file - # (PESQ evaluates only files whose same clock rate & channel count) - if channel_count == 2: - if re.search("\.\d+\.\d+\.wav", input_filename) != None: - input_filename = re.sub("\.\d+\.\d+\.wav", "." + str(channel_count) + "."+clock_rate+".wav", input_filename) - else: - input_filename = re.sub("\.\d+\.wav", "." + str(channel_count) + "."+clock_rate+".wav", input_filename) - - if (clock_rate != "8") & (clock_rate != "16"): - raise TestError("PESQ only works on clock rate 8kHz or 16kHz, clock rate used = "+clock_rate+ "kHz") - - # Get conference clock rate of UA2 for PESQ sample rate option - pesq_sample_rate_opt = "+" + clock_rate + "000" - - # UA1 making call - ua1.send("m") - ua1.send(t.inst_params[1].uri) - ua1.expect(const.STATE_CALLING) - - # UA2 wait until call established - ua2.expect(const.STATE_CONFIRMED) - - ua1.sync_stdout() - ua2.sync_stdout() - time.sleep(2) - - # Disconnect mic -> rec file, to avoid echo recorded when using sound device - # Disconnect stream -> spk, make it silent - # Connect stream -> rec file, start recording - ua2.send("cd 0 1\ncd 4 0\ncc 4 1") - - # Disconnect mic -> stream, make stream purely sending from file - # Disconnect stream -> spk, make it silent - # Connect file -> stream, start sending - ua1.send("cd 0 4\ncd 4 0\ncc 1 4") - - time.sleep(inwavlen) - - # Disconnect files from bridge - ua2.send("cd 4 1") - ua2.expect(const.MEDIA_DISCONN_PORT_SUCCESS) - ua1.send("cd 1 4") - ua1.expect(const.MEDIA_DISCONN_PORT_SUCCESS) - - -# Post body function -def post_func(t): - global pesq_sample_rate_opt - global input_filename - global output_filename - - endpt = t.process[0] - - # Execute PESQ - fullcmd = os.path.normpath(PESQ) + " " + pesq_sample_rate_opt + " " + input_filename + " " + output_filename - endpt.trace("Popen " + fullcmd) - pesq_proc = subprocess.Popen(fullcmd, shell=True, stdout=subprocess.PIPE, universal_newlines=True) - pesq_out = pesq_proc.communicate() - - # Parse ouput - mo_pesq_out = re.compile("Prediction[^=]+=\s+([\-\d\.]+)\s*").search(pesq_out[0]) - if (mo_pesq_out == None): - raise TestError("Failed to fetch PESQ result") - - # Get threshold - if (cfg_file.pesq_threshold != None) | (cfg_file.pesq_threshold > -0.5 ): - threshold = cfg_file.pesq_threshold - else: - threshold = PESQ_DEFAULT_THRESHOLD - - # Evaluate the PESQ MOS value - pesq_res = mo_pesq_out.group(1) - if (float(pesq_res) >= threshold): - endpt.trace("Success, PESQ result = " + pesq_res + " (target=" + str(threshold) + ").") - else: - endpt.trace("Failed, PESQ result = " + pesq_res + " (target=" + str(threshold) + ").") - # Save the wav file - wavoutname = ARGS[1] - wavoutname = re.sub("[\\\/]", "_", wavoutname) - wavoutname = re.sub("\.py$", ".wav", wavoutname) - wavoutname = "logs/" + wavoutname - try: - shutil.copyfile(output_filename, wavoutname) - print "Output WAV is copied to " + wavoutname - except: - print "Couldn't copy output WAV, please check if 'logs' directory exists." - - raise TestError("WAV seems to be degraded badly, PESQ = "+ pesq_res + " (target=" + str(threshold) + ").") - - -# Here where it all comes together -test = cfg_file.test_param -test.test_func = test_func -test.post_func = post_func - diff --git a/res/pjproject/tests/pjsua/mod_pres.py b/res/pjproject/tests/pjsua/mod_pres.py deleted file mode 100644 index 7dafd52f78..0000000000 --- a/res/pjproject/tests/pjsua/mod_pres.py +++ /dev/null @@ -1,125 +0,0 @@ -# $Id$ -import time -import imp -import sys -import inc_const as const -from inc_cfg import * - -# Load configuration -cfg_file = imp.load_source("cfg_file", ARGS[1]) - - -# Test body function -def test_func(t): - u1 = t.process[0] - uri1 = cfg_file.test_param.inst_params[0].uri - acc1 = "-1" - u2 = t.process[1] - uri2 = cfg_file.test_param.inst_params[1].uri - acc2 = "-1" - - # if have_reg then wait for couple of seconds for PUBLISH - # to complete (just in case pUBLISH is used) - if u1.inst_param.have_reg: - time.sleep(1) - if u2.inst_param.have_reg: - time.sleep(1) - - # U1 adds U2 as buddy - u1.send("+b") - u1.send(uri2) - u1.expect("Subscription state changed NULL --> SENT") - u1.expect("Presence subscription.*is ACCEPTED") - if not u2.inst_param.have_publish: - # Process incoming SUBSCRIBE in U2 - # Finds out which account gets the subscription in U2 - line = u2.expect("pjsua_pres.*subscription.*using account") - acc2 = line.split("using account ")[1] - # wait until we've got Online notification - u1.expect(uri2 + ".*Online") - - # Synchronize stdout - u1.sync_stdout() - u2.sync_stdout() - - # U2 adds U1 as buddy - u2.send("+b") - u2.send(uri1) - u2.expect("Subscription state changed NULL --> SENT") - u2.expect("Presence subscription.*is ACCEPTED") - if not u1.inst_param.have_publish: - # Process incoming SUBSCRIBE in U1 - # Finds out which account gets the subscription in U1 - line = u1.expect("pjsua_pres.*subscription.*using account") - acc1 = line.split("using account ")[1] - # wait until we've got Online notification - u2.expect(uri1 + ".*Online") - - # Synchronize stdout - u1.sync_stdout() - u2.sync_stdout() - - # Set current account in both U1 and U2 - if acc1!="-1": - u1.send(">") - u1.send(acc1) - u1.expect("Current account changed") - if acc2!="-1": - u2.send(">") - u2.send(acc2) - u2.expect("Current account changed") - - # Synchronize stdout - u1.sync_stdout() - u2.sync_stdout() - - # u2 toggles online status - u2.send("t") - u1.expect(uri2 + ".*status.*Offline") - u2.expect("offline") - - # Synchronize stdout - u1.sync_stdout() - u2.sync_stdout() - - # u1 toggles online status - u1.send("t") - u2.expect(uri1 + ".*status.*Offline") - u1.expect("offline") - - # Synchronize stdout - u1.sync_stdout() - u2.sync_stdout() - - # u2 set online status to On the phone - u2.send("T") - u2.send("3") - u1.expect(uri2 + ".*status.*On the phone") - u2.expect("On the phone") - - # Synchronize stdout - u1.sync_stdout() - u2.sync_stdout() - - # Synchronize stdout - u1.sync_stdout() - u2.sync_stdout() - - # U1 send IM - im_text = "Hello World from U1" - u1.send("i") - u1.send(uri2) - u2.expect(" is typing") - u1.send(im_text) - u1.expect(im_text+".*delivered successfully") - u2.expect("MESSAGE from.*"+im_text) - - # Synchronize stdout - u1.sync_stdout() - u2.sync_stdout() - - -# Here where it all comes together -test = cfg_file.test_param -test.test_func = test_func - diff --git a/res/pjproject/tests/pjsua/mod_recvfrom.py b/res/pjproject/tests/pjsua/mod_recvfrom.py deleted file mode 100644 index 5797d93c74..0000000000 --- a/res/pjproject/tests/pjsua/mod_recvfrom.py +++ /dev/null @@ -1,97 +0,0 @@ -# $Id$ -import imp -import sys -import inc_sip as sip -import inc_const as const -import re -from inc_cfg import * - -# Read configuration -cfg_file = imp.load_source("cfg_file", ARGS[1]) - -# Default server port (should we randomize?) -srv_port = 50070 - -def test_func(test): - pjsua = test.process[0] - dlg = sip.Dialog("127.0.0.1", pjsua.inst_param.sip_port, - local_port=srv_port, - tcp=cfg_file.recvfrom_cfg.tcp) - - last_cseq = 0 - last_method = "" - last_call_id = "" - for t in cfg_file.recvfrom_cfg.transaction: - # Print transaction title - if t.title != "": - dlg.trace(t.title) - # Run command and expect patterns - for c in t.cmds: - if c[0] and c[0] != "": - pjsua.send(c[0]) - if len(c)>1 and c[1] and c[1] != "": - pjsua.expect(c[1]) - # Wait for request - if t.check_cseq: - # Absorbs retransmissions - cseq = 0 - method = last_method - call_id = last_call_id - while cseq <= last_cseq and method == last_method and call_id == last_call_id: - request, src_addr = dlg.wait_msg_from(30) - if request==None or request=="": - raise TestError("Timeout waiting for request") - method = request.split(" ", 1)[0] - cseq_hval = sip.get_header(request, "CSeq") - cseq_hval = cseq_hval.split(" ")[0] - cseq = int(cseq_hval) - call_id = sip.get_header(request, "Call-ID") - last_cseq = cseq - last_method = method - else: - request, src_addr = dlg.wait_msg_from(30) - if request==None or request=="": - raise TestError("Timeout waiting for request") - - # Check for include patterns - for pat in t.include: - if re.search(pat, request, re.M | re.I)==None: - if t.title: - tname = " in " + t.title + " transaction" - else: - tname = "" - raise TestError("Pattern " + pat + " not found" + tname) - # Check for exclude patterns - for pat in t.exclude: - if re.search(pat, request, re.M | re.I)!=None: - if t.title: - tname = " in " + t.title + " transaction" - else: - tname = "" - raise TestError("Excluded pattern " + pat + " found" + tname) - # Create response - if t.resp_code!=0: - response = dlg.create_response(request, t.resp_code, "Status reason") - # Add headers to response - for h in t.resp_hdr: - response = response + h + "\r\n" - # Add message body if required - if t.body: - response = response + t.body - # Send response - dlg.send_msg(response, src_addr) - - # Expect something to happen in pjsua - if t.expect != "": - pjsua.expect(t.expect) - # Sync - pjsua.sync_stdout() - -# Replace "$PORT" with server port in pjsua args -cfg_file.recvfrom_cfg.inst_param.arg = cfg_file.recvfrom_cfg.inst_param.arg.replace("$PORT", str(srv_port)) - -# Here where it all comes together -test = TestParam(cfg_file.recvfrom_cfg.name, - [cfg_file.recvfrom_cfg.inst_param], - test_func) - diff --git a/res/pjproject/tests/pjsua/mod_run.py b/res/pjproject/tests/pjsua/mod_run.py deleted file mode 100644 index 03548eea56..0000000000 --- a/res/pjproject/tests/pjsua/mod_run.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -import imp -import sys - -from inc_cfg import * - -# Read configuration -cfg_file = imp.load_source("cfg_file", ARGS[1]) - -# Here where it all comes together -test = cfg_file.test_param diff --git a/res/pjproject/tests/pjsua/mod_sendto.py b/res/pjproject/tests/pjsua/mod_sendto.py deleted file mode 100644 index 50dc0fe84c..0000000000 --- a/res/pjproject/tests/pjsua/mod_sendto.py +++ /dev/null @@ -1,53 +0,0 @@ -# $Id$ -import imp -import sys -import inc_sip as sip -import inc_const as const -import re -from inc_cfg import * - -# Read configuration -cfg_file = imp.load_source("cfg_file", ARGS[1]) - -# Test body function -def test_func(t): - pjsua = t.process[0] - # Create dialog - dlg = sip.Dialog("127.0.0.1", pjsua.inst_param.sip_port, - tcp=cfg_file.sendto_cfg.use_tcp) - #dlg = sip.Dialog("127.0.0.1", 5060, tcp=cfg_file.sendto_cfg.use_tcp) - cfg = cfg_file.sendto_cfg - - if len(cfg.complete_msg) != 0: - req = dlg.update_fields(cfg.complete_msg) - else: - req = dlg.create_invite(cfg.sdp, cfg.extra_headers, cfg.body) - resp = dlg.send_request_wait(req, 10) - if resp=="": - raise TestError("Timed-out waiting for response") - # Check response code - code = int(sip.get_code(resp)) - if code != cfg.resp_code: - dlg.hangup(code) - raise TestError("Expecting code " + str(cfg.resp_code) + - " got " + str(code)) - # Check for patterns that must exist - for p in cfg.resp_include: - if re.search(p, resp, re.M | re.I)==None: - dlg.hangup(code) - raise TestError("Pattern " + p + " not found") - # Check for patterns that must not exist - for p in cfg.resp_exclude: - if re.search(p, resp, re.M | re.I)!=None: - dlg.hangup(code) - raise TestError("Excluded pattern " + p + " found") - pjsua.sync_stdout() - dlg.hangup(code) - pjsua.sync_stdout() - -# Here where it all comes together -test = TestParam(cfg_file.sendto_cfg.name, - [cfg_file.sendto_cfg.inst_param], - test_func) - - diff --git a/res/pjproject/tests/pjsua/run.py b/res/pjproject/tests/pjsua/run.py deleted file mode 100644 index d6d558b165..0000000000 --- a/res/pjproject/tests/pjsua/run.py +++ /dev/null @@ -1,289 +0,0 @@ -# $Id$ -import sys -import imp -import re -import os -import subprocess -import random -import time -import getopt - -import inc_const as const -import inc_cfg as inc - -# Vars -G_EXE = "" # pjsua executable path -G_INUNIX = False # flags that test is running in Unix - - -# Usage string -usage = \ -""" -run.py - Automated test driver - -Usage: - run.py [options] MODULE CONFIG -Options: - --exe, -e pjsua executable path - --null-audio, -n use null audio -Sample: - run.py -n mod_run.py scripts-run/100_simple.py -""" - -# Parse arguments -try: - opts, args = getopt.getopt(sys.argv[1:], "hne:", ["help", "null-audio", "exe="]) -except getopt.GetoptError, err: - print str(err) - print usage - sys.exit(2) -for o, a in opts: - if o in ("-h", "--help"): - print usage - sys.exit() - elif o in ("-n", "--null-audio"): - inc.HAS_SND_DEV = 0 - elif o in ("-e", "--exe"): - G_EXE = a - else: - print "Unknown options" - sys.exit(2) - -if len(args) != 2: - print "Invalid arguments" - print usage - sys.exit(2) - -# Set global ARGS to be used by modules -inc.ARGS = args - -# Get the pjsua executable name -if G_EXE == "": - if sys.platform.find("win32")!=-1: - EXE_DIR = "../../pjsip-apps/bin/" - EXECUTABLES = [ "pjsua_vc6d.exe", - "pjsua_vc6.exe", - "pjsua-i386-Win32-vc8-Debug.exe", - "pjsua-i386-Win32-vc8-Debug-Dynamic.exe", - "pjsua-i386-Win32-vc8-Debug-Static.exe", - "pjsua-i386-Win32-vc8-Release.exe", - "pjsua-i386-Win32-vc8-Release-Dynamic.exe", - "pjsua-i386-Win32-vc8-Release-Static.exe" - ] - e_ts = 0 - for e in EXECUTABLES: - e = EXE_DIR + e - if os.access(e, os.F_OK): - st = os.stat(e) - if e_ts==0 or e_ts= 6: - self.trace("Timed-out!") - if raise_on_error: - raise inc.TestError(self.name + " " + title + ": Timeout expecting pattern: \"" + pattern + "\"") - else: - return None # timeout - # Search for expected text - if r.search(line) != None: - return line - - def sync_stdout(self): - self.trace("sync_stdout") - cmd = "echo 1" + str(random.randint(1000,9999)) - self.send(cmd) - self.expect(cmd) - - def wait(self): - self.trace("wait") - self.proc.communicate() - - def trace(self, s): - if self.trace_enabled: - now = time.time() - fmt = self.name + ": " + "================== " + s + " ==================" + " [at t=%(time)03d]" - print fmt % {'time':int(now - self.t0)} - -######################### -# Error handling -def handle_error(errmsg, t, close_processes = True): - print "====== Caught error: " + errmsg + " ======" - if (close_processes): - time.sleep(1) - for p in t.process: - # Protect against 'Broken pipe' exception - try: - p.send("q") - p.send("q") - except: - pass - is_err = False - try: - ret = p.expect(const.DESTROYED, False) - if not ret: - is_err = True - except: - is_err = True - if is_err: - if sys.hexversion >= 0x02060000: - p.proc.terminate() - else: - p.wait() - else: - p.wait() - print "Test completed with error: " + errmsg - sys.exit(1) - - -######################### -# MAIN - -# Import the test script -script = imp.load_source("script", inc.ARGS[0]) - -# Init random seed -random.seed() - -# Validate -if script.test == None: - print "Error: no test defined" - sys.exit(1) - -if script.test.skip: - print "Test " + script.test.title + " is skipped" - sys.exit(0) - -if len(script.test.inst_params) == 0: - print "Error: test doesn't contain pjsua run descriptions" - sys.exit(1) - -# Instantiate pjsuas -print "====== Running " + script.test.title + " ======" -print "Using " + G_EXE + " as pjsua executable" - -for inst_param in script.test.inst_params: - try: - # Create pjsua's Expect instance from the param - p = Expect(inst_param) - # Wait until registration completes - if inst_param.have_reg: - p.expect(inst_param.uri+".*registration success") - # Synchronize stdout - p.send("") - p.expect(const.PROMPT) - p.send("echo 1") - p.send("echo 1") - p.expect("echo 1") - # add running instance - script.test.process.append(p) - - except inc.TestError, e: - handle_error(e.desc, script.test) - -# Run the test function -if script.test.test_func != None: - try: - script.test.test_func(script.test) - except inc.TestError, e: - handle_error(e.desc, script.test) - -# Shutdown all instances -time.sleep(2) -for p in script.test.process: - # Unregister if we have_reg to make sure that next tests - # won't wail - if p.inst_param.have_reg: - p.send("ru") - p.expect(p.inst_param.uri+".*unregistration success") - p.send("q") - p.send("q") - time.sleep(0.5) - p.expect(const.DESTROYED, False) - p.wait() - -# Run the post test function -if script.test.post_func != None: - try: - script.test.post_func(script.test) - except inc.TestError, e: - handle_error(e.desc, script.test, False) - -# Done -print "Test " + script.test.title + " completed successfully" -sys.exit(0) - diff --git a/res/pjproject/tests/pjsua/runall.py b/res/pjproject/tests/pjsua/runall.py deleted file mode 100644 index 5dbfaf185c..0000000000 --- a/res/pjproject/tests/pjsua/runall.py +++ /dev/null @@ -1,178 +0,0 @@ -# $Id$ -import os -import sys -import time -import re -import shutil - -PYTHON = os.path.basename(sys.executable) - -# Usage: -# runall.py [test-to-resume] - - -# Initialize test list -tests = [] - -# Excluded tests (because they fail?) -excluded_tests = [ "svn", - "pyc", - "scripts-call/150_srtp_2_1", # SRTP optional 'cannot' call SRTP mandatory - "scripts-call/150_srtp_2_3.py", # temporarily disabled until #1267 done - "scripts-call/301_ice_public_a.py", # Unreliable, proxy returns 408 sometimes - "scripts-call/301_ice_public_b.py", # Doesn't work because OpenSER modifies SDP - "scripts-pres/200_publish.py", # Ok from cmdline, error from runall.py - "scripts-media-playrec/100_resample_lf_8_11.py", # related to clock-rate 11 kHz problem - "scripts-media-playrec/100_resample_lf_8_22.py", # related to clock-rate 22 kHz problem - "scripts-media-playrec/100_resample_lf_11" # related to clock-rate 11 kHz problem - ] - -# Add basic tests -for f in os.listdir("scripts-run"): - tests.append("mod_run.py scripts-run/" + f) - -# Add basic call tests -for f in os.listdir("scripts-call"): - tests.append("mod_call.py scripts-call/" + f) - -# Add presence tests -for f in os.listdir("scripts-pres"): - tests.append("mod_pres.py scripts-pres/" + f) - -# Add mod_sendto tests -for f in os.listdir("scripts-sendto"): - tests.append("mod_sendto.py scripts-sendto/" + f) - -# Add mod_media_playrec tests -for f in os.listdir("scripts-media-playrec"): - tests.append("mod_media_playrec.py scripts-media-playrec/" + f) - -# Add mod_pesq tests -for f in os.listdir("scripts-pesq"): - tests.append("mod_pesq.py scripts-pesq/" + f) - -# Add recvfrom tests -for f in os.listdir("scripts-recvfrom"): - tests.append("mod_recvfrom.py scripts-recvfrom/" + f) - -# Filter-out excluded tests -for pat in excluded_tests: - tests = [t for t in tests if t.find(pat)==-1] - - -resume_script="" -shell_cmd="" - -# Parse arguments -sys.argv.pop(0) -while len(sys.argv): - if sys.argv[0]=='/h' or sys.argv[0]=='-h' or sys.argv[0]=='--help' or sys.argv[0]=='/help': - sys.argv.pop(0) - print "Usage:" - print " runall.py [OPTIONS] [run.py-OPTIONS]" - print "OPTIONS:" - print " --list" - print " List the tests" - print " --list-xml" - print " List the tests as XML format suitable for ccdash" - print " --resume,-r RESUME" - print " RESUME is string/substring to specify where to resume tests." - print " If this argument is omited, tests will start from the beginning." - print " --shell,-s SHELL" - print " Run the tests with the specified SHELL cmd. This can also be" - print " used to run the test with ccdash. Example:" - print " --shell '/bin/sh -c'" - print " run.py-OPTIONS are applicable here" - sys.exit(0) - elif sys.argv[0] == '-r' or sys.argv[0] == '--resume': - if len(sys.argv) > 1: - resume_script=sys.argv[1] - sys.argv.pop(0) - sys.argv.pop(1) - else: - sys.argv.pop(0) - sys.stderr.write("Error: argument value required") - sys.exit(1) - elif sys.argv[0] == '--list': - sys.argv.pop(0) - for t in tests: - print t - sys.exit(0) - elif sys.argv[0] == '--list-xml': - sys.argv.pop(0) - for t in tests: - (mod,param) = t.split(None,2) - tname = mod[4:mod.find(".py")] + "_" + \ - param[param.find("/")+1:param.find(".py")] - c = "" - if len(sys.argv): - c = " ".join(sys.argv) + " " - tcmd = PYTHON + ' run.py ' + c + t - print '\t\t' % (tname, tcmd) - sys.exit(0) - elif sys.argv[0] == '-s' or sys.argv[0] == '--shell': - if len(sys.argv) > 1: - shell_cmd = sys.argv[1] - sys.argv.pop(0) - sys.argv.pop(1) - else: - sys.argv.pop(0) - sys.stderr.write("Error: argument value required") - sys.exit(1) - - -# Generate arguments for run.py -argv_st = " ".join(sys.argv) - -# Init vars -fails_cnt = 0 -tests_cnt = 0 - -# Re-create "logs" directory -try: - shutil.rmtree("logs") -except: - print "Warning: failed in removing directory 'logs'" - -try: - os.mkdir("logs") -except: - print "Warning: failed in creating directory 'logs'" - -# Now run the tests -total_cnt = len(tests) -for t in tests: - if resume_script!="" and t.find(resume_script)==-1: - print "Skipping " + t +".." - total_cnt = total_cnt - 1 - continue - resume_script="" - cmdline = "python run.py " + argv_st + t - if shell_cmd: - cmdline = "%s '%s'" % (shell_cmd, cmdline) - t0 = time.time() - msg = "Running %d/%d: %s..." % (tests_cnt+1, total_cnt, cmdline) - sys.stdout.write(msg) - sys.stdout.flush() - ret = os.system(cmdline + " > output.log") - t1 = time.time() - if ret != 0: - dur = int(t1 - t0) - print " failed!! [" + str(dur) + "s]" - logname = re.search(".*\s+(.*)", t).group(1) - logname = re.sub("[\\\/]", "_", logname) - logname = re.sub("\.py$", ".log", logname) - logname = "logs/" + logname - shutil.move("output.log", logname) - print "Please see '" + logname + "' for the test log." - fails_cnt += 1 - else: - dur = int(t1 - t0) - print " ok [" + str(dur) + "s]" - tests_cnt += 1 - -if fails_cnt == 0: - print "All " + str(tests_cnt) + " tests completed successfully" -else: - print str(tests_cnt) + " tests completed, " + str(fails_cnt) + " test(s) failed" - diff --git a/res/pjproject/tests/pjsua/scripts-call/100_simplecall.py b/res/pjproject/tests/pjsua/scripts-call/100_simplecall.py deleted file mode 100644 index c6bfcb3fab..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/100_simplecall.py +++ /dev/null @@ -1,12 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Simple call -test_param = TestParam( - "Basic call", - [ - InstanceParam("callee", "--null-audio --max-calls=1"), - InstanceParam("caller", "--null-audio --max-calls=1") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/150_srtp_0_1.py b/res/pjproject/tests/pjsua/scripts-call/150_srtp_0_1.py deleted file mode 100644 index 92b0ff4163..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/150_srtp_0_1.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -test_param= TestParam( - "Callee=no SRTP, caller=optional SRTP", - [ - InstanceParam("callee", "--null-audio --max-calls=1"), - InstanceParam("caller", "--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/150_srtp_0_3.py b/res/pjproject/tests/pjsua/scripts-call/150_srtp_0_3.py deleted file mode 100644 index 447a5b096f..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/150_srtp_0_3.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -test_param = TestParam( - "Callee=no SRTP, caller=optional (with duplicated offer) SRTP", - [ - InstanceParam("callee", "--null-audio --use-srtp=0 --srtp-secure=0 --max-calls=1"), - InstanceParam("caller", "--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/150_srtp_1_0.py b/res/pjproject/tests/pjsua/scripts-call/150_srtp_1_0.py deleted file mode 100644 index fa128b6c70..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/150_srtp_1_0.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -test_param = TestParam( - "Callee=optional SRTP, caller=no SRTP", - [ - InstanceParam("callee", "--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1"), - InstanceParam("caller", "--null-audio --max-calls=1") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/150_srtp_1_1.py b/res/pjproject/tests/pjsua/scripts-call/150_srtp_1_1.py deleted file mode 100644 index 3b4446c7c0..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/150_srtp_1_1.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -test_param = TestParam( - "Callee=optional SRTP, caller=optional SRTP", - [ - InstanceParam("callee", "--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1"), - InstanceParam("caller", "--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/150_srtp_1_2.py b/res/pjproject/tests/pjsua/scripts-call/150_srtp_1_2.py deleted file mode 100644 index 03f5886396..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/150_srtp_1_2.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -test_param = TestParam( - "Callee=optional SRTP, caller=mandatory SRTP", - [ - InstanceParam("callee", "--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1"), - InstanceParam("caller", "--null-audio --use-srtp=2 --srtp-secure=0 --max-calls=1") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/150_srtp_1_3.py b/res/pjproject/tests/pjsua/scripts-call/150_srtp_1_3.py deleted file mode 100644 index a3d2c814da..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/150_srtp_1_3.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -test_param = TestParam( - "Callee=optional SRTP, caller=optional (with duplicated offer) SRTP", - [ - InstanceParam("callee", "--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1"), - InstanceParam("caller", "--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/150_srtp_2_1.py b/res/pjproject/tests/pjsua/scripts-call/150_srtp_2_1.py deleted file mode 100644 index 16341ebeb7..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/150_srtp_2_1.py +++ /dev/null @@ -1,12 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Simple call -test_param = TestParam( - "Callee=mandatory SRTP, caller=optional SRTP", - [ - InstanceParam("callee", "--null-audio --use-srtp=2 --srtp-secure=0 --max-calls=1"), - InstanceParam("caller", "--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/150_srtp_2_2.py b/res/pjproject/tests/pjsua/scripts-call/150_srtp_2_2.py deleted file mode 100644 index 9ec2ab69ed..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/150_srtp_2_2.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -test_param = TestParam( - "Callee=mandatory SRTP, caller=mandatory SRTP", - [ - InstanceParam("callee", "--null-audio --use-srtp=2 --srtp-secure=0 --max-calls=1"), - InstanceParam("caller", "--null-audio --use-srtp=2 --srtp-secure=0 --max-calls=1") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/150_srtp_2_3.py b/res/pjproject/tests/pjsua/scripts-call/150_srtp_2_3.py deleted file mode 100644 index 62a8e0ca71..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/150_srtp_2_3.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -test_param = TestParam( - "Callee=mandatory SRTP, caller=optional (with duplicated offer) SRTP", - [ - InstanceParam("callee", "--null-audio --use-srtp=2 --srtp-secure=0 --max-calls=1"), - InstanceParam("caller", "--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/150_srtp_3_0.py b/res/pjproject/tests/pjsua/scripts-call/150_srtp_3_0.py deleted file mode 100644 index 2783b22621..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/150_srtp_3_0.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -test_param = TestParam( - "Callee=optional (with duplicated offer) SRTP, caller=no SRTP", - [ - InstanceParam("callee", "--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1"), - InstanceParam("caller", "--null-audio --use-srtp=0 --srtp-secure=0 --max-calls=1") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/150_srtp_3_1.py b/res/pjproject/tests/pjsua/scripts-call/150_srtp_3_1.py deleted file mode 100644 index 3028766bb4..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/150_srtp_3_1.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -test_param = TestParam( - "Callee=optional (with duplicated offer) SRTP, caller=optional SRTP", - [ - InstanceParam("callee", "--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1"), - InstanceParam("caller", "--null-audio --use-srtp=1 --srtp-secure=0 --max-calls=1") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/150_srtp_3_2.py b/res/pjproject/tests/pjsua/scripts-call/150_srtp_3_2.py deleted file mode 100644 index 3ab73f904b..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/150_srtp_3_2.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -test_param = TestParam( - "Callee=optional (with duplicated offer) SRTP, caller=mandatory SRTP", - [ - InstanceParam("callee", "--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1"), - InstanceParam("caller", "--null-audio --use-srtp=2 --srtp-secure=0 --max-calls=1") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/150_srtp_3_3.py b/res/pjproject/tests/pjsua/scripts-call/150_srtp_3_3.py deleted file mode 100644 index 1a5fd56d4f..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/150_srtp_3_3.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -test_param = TestParam( - "Callee=optional (with duplicated offer) SRTP, caller=optional (with duplicated offer) SRTP", - [ - InstanceParam("callee", "--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1"), - InstanceParam("caller", "--null-audio --use-srtp=3 --srtp-secure=0 --max-calls=1") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/200_tcp.py b/res/pjproject/tests/pjsua/scripts-call/200_tcp.py deleted file mode 100644 index 3414f17c2c..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/200_tcp.py +++ /dev/null @@ -1,12 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# TCP call -test_param = TestParam( - "TCP transport", - [ - InstanceParam("callee", "--null-audio --no-udp --max-calls=1", uri_param=";transport=tcp"), - InstanceParam("caller", "--null-audio --no-udp --max-calls=1") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/300_ice_0_1.py b/res/pjproject/tests/pjsua/scripts-call/300_ice_0_1.py deleted file mode 100644 index fb0b9deff9..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/300_ice_0_1.py +++ /dev/null @@ -1,12 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# ICE mismatch -test_param = TestParam( - "Callee=no ICE, caller=use ICE", - [ - InstanceParam("callee", "--null-audio --max-calls=1"), - InstanceParam("caller", "--null-audio --use-ice --max-calls=1") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/300_ice_1_0.py b/res/pjproject/tests/pjsua/scripts-call/300_ice_1_0.py deleted file mode 100644 index ef800e7f3f..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/300_ice_1_0.py +++ /dev/null @@ -1,12 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# ICE mismatch -test_param = TestParam( - "Callee=use ICE, caller=no ICE", - [ - InstanceParam("callee", "--null-audio --use-ice --max-calls=1"), - InstanceParam("caller", "--null-audio --max-calls=1") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/300_ice_1_1.py b/res/pjproject/tests/pjsua/scripts-call/300_ice_1_1.py deleted file mode 100644 index 456aa46b2b..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/300_ice_1_1.py +++ /dev/null @@ -1,12 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# ICE mismatch -test_param = TestParam( - "Callee=use ICE, caller=use ICE", - [ - InstanceParam("callee", "--null-audio --use-ice --max-calls=1", enable_buffer=True), - InstanceParam("caller", "--null-audio --use-ice --max-calls=1", enable_buffer=True) - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/301_ice_public_a.py b/res/pjproject/tests/pjsua/scripts-call/301_ice_public_a.py deleted file mode 100644 index daa4c6cf7f..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/301_ice_public_a.py +++ /dev/null @@ -1,22 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Note: -# - need --dis-codec to make INVITE packet less than typical MTU -uas_args = "--null-audio --id=\"\" --registrar=sip:sip.pjsip.org --username=test1 --password=test1 --realm=pjsip.org --proxy=\"sip:sip.pjsip.org;lr\" --rtp-port 0 --stun-srv stun.pjsip.org --use-ice --use-compact-form --max-calls 1 --dis-codec=i --dis-codec=s --dis-codec=g" - -uac_args = "--null-audio --id=\"\" --registrar=sip:sip.pjsip.org --username=test2 --password=test2 --realm=pjsip.org --proxy=\"sip:sip.pjsip.org;lr\" --rtp-port 0 --stun-srv stun.pjsip.org --use-ice --use-compact-form --max-calls 1 --dis-codec=i --dis-codec=s --dis-codec=g" - -test_param = TestParam( - "ICE via public internet", - [ - InstanceParam( "callee", uas_args, - uri="", - have_reg=True, have_publish=False), - InstanceParam( "caller", uac_args, - uri="", - have_reg=True, have_publish=False), - ] - ) - diff --git a/res/pjproject/tests/pjsua/scripts-call/301_ice_public_b.py b/res/pjproject/tests/pjsua/scripts-call/301_ice_public_b.py deleted file mode 100644 index d78992c8ec..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/301_ice_public_b.py +++ /dev/null @@ -1,25 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# This test: -# to make call with ICE but without STUN. - -# Note: -# - need --dis-codec to make INVITE packet less than typical MTU -uas_args = "--null-audio --id=\"\" --registrar=sip:sip.pjsip.org --username=test1 --password=test1 --realm=pjsip.org --proxy=\"sip:sip.pjsip.org;lr\" --rtp-port 0 --use-ice --use-compact-form --max-calls 1 --dis-codec=i --dis-codec=s --dis-codec=g --log-file callee.log" - -uac_args = "--null-audio --id=\"\" --registrar=sip:sip.pjsip.org --username=test2 --password=test2 --realm=pjsip.org --proxy=\"sip:sip.pjsip.org;lr\" --rtp-port 0 --use-ice --use-compact-form --max-calls 1 --dis-codec=i --dis-codec=s --dis-codec=g --log-file caller.log" - -test_param = TestParam( - "ICE via public internet with no STUN", - [ - InstanceParam( "callee", uas_args, - uri="", - have_reg=True, have_publish=False), - InstanceParam( "caller", uac_args, - uri="", - have_reg=True, have_publish=False), - ] - ) - diff --git a/res/pjproject/tests/pjsua/scripts-call/305_ice_comp_1_2.py b/res/pjproject/tests/pjsua/scripts-call/305_ice_comp_1_2.py deleted file mode 100644 index 7580b2044d..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/305_ice_comp_1_2.py +++ /dev/null @@ -1,12 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Different number of ICE components -test_param = TestParam( - "Callee=use ICE, caller=use ICE", - [ - InstanceParam("callee", "--null-audio --use-ice --max-calls=1 --ice-no-rtcp", enable_buffer=True), - InstanceParam("caller", "--null-audio --use-ice --max-calls=1", enable_buffer=True) - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/305_ice_comp_2_1.py b/res/pjproject/tests/pjsua/scripts-call/305_ice_comp_2_1.py deleted file mode 100644 index a0ddaf78eb..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/305_ice_comp_2_1.py +++ /dev/null @@ -1,12 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Different number of ICE components -test_param = TestParam( - "Callee=use ICE, caller=use ICE", - [ - InstanceParam("callee", "--null-audio --use-ice --max-calls=1", enable_buffer=True), - InstanceParam("caller", "--null-audio --use-ice --max-calls=1 --ice-no-rtcp", enable_buffer=True) - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/350_prack_a.py b/res/pjproject/tests/pjsua/scripts-call/350_prack_a.py deleted file mode 100644 index 13649f67a9..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/350_prack_a.py +++ /dev/null @@ -1,12 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# TCP call -test_param = TestParam( - "Callee requires PRACK", - [ - InstanceParam("callee", "--null-audio --max-calls=1 --use-100rel"), - InstanceParam("caller", "--null-audio --max-calls=1") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/350_prack_b.py b/res/pjproject/tests/pjsua/scripts-call/350_prack_b.py deleted file mode 100644 index b97bdc22c5..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/350_prack_b.py +++ /dev/null @@ -1,12 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# TCP call -test_param = TestParam( - "Caller requires PRACK", - [ - InstanceParam("callee", "--null-audio --max-calls=1"), - InstanceParam("caller", "--null-audio --max-calls=1 --use-100rel") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-call/400_tel_uri.py b/res/pjproject/tests/pjsua/scripts-call/400_tel_uri.py deleted file mode 100644 index 2b64c30c9f..0000000000 --- a/res/pjproject/tests/pjsua/scripts-call/400_tel_uri.py +++ /dev/null @@ -1,12 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Simple call -test_param = TestParam( - "tel: URI in From", - [ - InstanceParam("callee", "--null-audio --max-calls=1 --id tel:+111"), - InstanceParam("caller", "--null-audio --max-calls=1") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_11_16.py b/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_11_16.py deleted file mode 100644 index 41dd7d431d..0000000000 --- a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_11_16.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# simple test -test_param = TestParam( - "Resample (large filter) 11 KHZ to 16 KHZ", - [ - InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 16000 --play-file wavs/input.11.wav --rec-file wavs/tmp.16.wav") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_11_22.py b/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_11_22.py deleted file mode 100644 index d966a1f53c..0000000000 --- a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_11_22.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# simple test -test_param = TestParam( - "Resample (large filter) 11 KHZ to 22 KHZ", - [ - InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 22050 --play-file wavs/input.11.wav --rec-file wavs/tmp.22.wav") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_11_32.py b/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_11_32.py deleted file mode 100644 index a00c5257eb..0000000000 --- a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_11_32.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# simple test -test_param = TestParam( - "Resample (large filter) 11 KHZ to 32 KHZ", - [ - InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 32000 --play-file wavs/input.11.wav --rec-file wavs/tmp.32.wav") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_11_44.py b/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_11_44.py deleted file mode 100644 index 89aadcfa01..0000000000 --- a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_11_44.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# simple test -test_param = TestParam( - "Resample (large filter) 11 KHZ to 44 KHZ", - [ - InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 44100 --play-file wavs/input.11.wav --rec-file wavs/tmp.44.wav") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_11_48.py b/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_11_48.py deleted file mode 100644 index 9a4e93b5c1..0000000000 --- a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_11_48.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# simple test -test_param = TestParam( - "Resample (large filter) 11 KHZ to 48 KHZ", - [ - InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 48000 --play-file wavs/input.11.wav --rec-file wavs/tmp.48.wav") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_11_8.py b/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_11_8.py deleted file mode 100644 index 5813b0b412..0000000000 --- a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_11_8.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# simple test -test_param = TestParam( - "Resample (large filter) 11 KHZ to 8 KHZ", - [ - InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 8000 --play-file wavs/input.11.wav --rec-file wavs/tmp.8.wav") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_8_11.py b/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_8_11.py deleted file mode 100644 index 7d19f6f5aa..0000000000 --- a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_8_11.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# simple test -test_param = TestParam( - "Resample (large filter) 8 KHZ to 11 KHZ", - [ - InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 11025 --play-file wavs/input.8.wav --rec-file wavs/tmp.11.wav") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_8_16.py b/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_8_16.py deleted file mode 100644 index b9361757b5..0000000000 --- a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_8_16.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# simple test -test_param = TestParam( - "Resample (large filter) 8 KHZ to 16 KHZ", - [ - InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 16000 --play-file wavs/input.8.wav --rec-file wavs/tmp.16.wav") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_8_22.py b/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_8_22.py deleted file mode 100644 index 268c6a5b3a..0000000000 --- a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_8_22.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# simple test -test_param = TestParam( - "Resample (large filter) 8 KHZ to 22 KHZ", - [ - InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 22050 --play-file wavs/input.8.wav --rec-file wavs/tmp.22.wav") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_8_32.py b/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_8_32.py deleted file mode 100644 index 05f3a30a44..0000000000 --- a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_8_32.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# simple test -test_param = TestParam( - "Resample (large filter) 8 KHZ to 32 KHZ", - [ - InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 32000 --play-file wavs/input.8.wav --rec-file wavs/tmp.32.wav") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_8_44.py b/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_8_44.py deleted file mode 100644 index 73e4b10925..0000000000 --- a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_8_44.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# simple test -test_param = TestParam( - "Resample (large filter) 8 KHZ to 44 KHZ", - [ - InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 44100 --play-file wavs/input.8.wav --rec-file wavs/tmp.44.wav") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_8_48.py b/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_8_48.py deleted file mode 100644 index 4d72603fad..0000000000 --- a/res/pjproject/tests/pjsua/scripts-media-playrec/100_resample_lf_8_48.py +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# simple test -test_param = TestParam( - "Resample (large filter) 8 KHZ to 48 KHZ", - [ - InstanceParam("endpt", "--null-audio --quality 10 --clock-rate 48000 --play-file wavs/input.8.wav --rec-file wavs/tmp.48.wav") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-pesq/100_defaults.py b/res/pjproject/tests/pjsua/scripts-pesq/100_defaults.py deleted file mode 100644 index 188b17bb11..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/100_defaults.py +++ /dev/null @@ -1,19 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -ADD_PARAM = "" - -if (HAS_SND_DEV == 0): - ADD_PARAM += "--null-audio" - -# Call with default pjsua settings -test_param = TestParam( - "PESQ defaults pjsua settings", - [ - InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --play-file wavs/input.16.wav --no-vad"), - InstanceParam("UA2", "--null-audio --max-calls=1 --rec-file wavs/tmp.16.wav --clock-rate 16000 --auto-answer 200") - ] - ) - -pesq_threshold = 3.8 diff --git a/res/pjproject/tests/pjsua/scripts-pesq/101_defaults.py b/res/pjproject/tests/pjsua/scripts-pesq/101_defaults.py deleted file mode 100644 index 67b53e3fcf..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/101_defaults.py +++ /dev/null @@ -1,18 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Call with default pjsua settings -test_param = TestParam( - "PESQ defaults pjsua settings (RX side uses snd dev)", - [ - InstanceParam("UA1", "--max-calls=1 --play-file wavs/input.16.wav --null-audio"), - InstanceParam("UA2", "--max-calls=1 --rec-file wavs/tmp.16.wav --clock-rate 16000 --auto-answer 200") - ] - ) - - -if (HAS_SND_DEV == 0): - test_param.skip = True - -pesq_threshold = None diff --git a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_g711a.py b/res/pjproject/tests/pjsua/scripts-pesq/200_codec_g711a.py deleted file mode 100644 index 9e91c96334..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_g711a.py +++ /dev/null @@ -1,19 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -ADD_PARAM = "" - -if (HAS_SND_DEV == 0): - ADD_PARAM += "--null-audio" - -# Call with PCMA codec -test_param = TestParam( - "PESQ codec PCMA", - [ - InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec pcma --clock-rate 8000 --play-file wavs/input.8.wav"), - InstanceParam("UA2", "--null-audio --max-calls=1 --add-codec pcma --clock-rate 8000 --rec-file wavs/tmp.8.wav --auto-answer 200") - ] - ) - -pesq_threshold = 3.5 diff --git a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_g711u.py b/res/pjproject/tests/pjsua/scripts-pesq/200_codec_g711u.py deleted file mode 100644 index fa64e7a636..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_g711u.py +++ /dev/null @@ -1,19 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -ADD_PARAM = "" - -if (HAS_SND_DEV == 0): - ADD_PARAM += "--null-audio" - -# Call with PCMU codec -test_param = TestParam( - "PESQ codec PCMU", - [ - InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec pcmu --clock-rate 8000 --play-file wavs/input.8.wav"), - InstanceParam("UA2", "--null-audio --max-calls=1 --add-codec pcmu --clock-rate 8000 --rec-file wavs/tmp.8.wav --auto-answer 200") - ] - ) - -pesq_threshold = 3.5 diff --git a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_g722.py b/res/pjproject/tests/pjsua/scripts-pesq/200_codec_g722.py deleted file mode 100644 index 4cb85dad7a..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_g722.py +++ /dev/null @@ -1,19 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -ADD_PARAM = "" - -if (HAS_SND_DEV == 0): - ADD_PARAM += "--null-audio" - -# Call with G722 codec -test_param = TestParam( - "PESQ codec G722", - [ - InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec g722 --clock-rate 16000 --play-file wavs/input.16.wav"), - InstanceParam("UA2", "--null-audio --max-calls=1 --add-codec g722 --clock-rate 16000 --rec-file wavs/tmp.16.wav --auto-answer 200") - ] - ) - -pesq_threshold = 3.7 diff --git a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_gsm.py b/res/pjproject/tests/pjsua/scripts-pesq/200_codec_gsm.py deleted file mode 100644 index 221372ef97..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_gsm.py +++ /dev/null @@ -1,19 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -ADD_PARAM = "" - -if (HAS_SND_DEV == 0): - ADD_PARAM += "--null-audio" - -# Call with GSM codec -test_param = TestParam( - "PESQ codec GSM", - [ - InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec gsm --clock-rate 8000 --play-file wavs/input.8.wav"), - InstanceParam("UA2", "--null-audio --max-calls=1 --add-codec gsm --clock-rate 8000 --rec-file wavs/tmp.8.wav --auto-answer 200") - ] - ) - -pesq_threshold = 3.0 diff --git a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_ilbc.py b/res/pjproject/tests/pjsua/scripts-pesq/200_codec_ilbc.py deleted file mode 100644 index 45480b85bb..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_ilbc.py +++ /dev/null @@ -1,19 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -ADD_PARAM = "" - -if (HAS_SND_DEV == 0): - ADD_PARAM += "--null-audio" - -# Call with iLBC codec -test_param = TestParam( - "PESQ codec iLBC", - [ - InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec ilbc --clock-rate 8000 --play-file wavs/input.8.wav"), - InstanceParam("UA2", "--null-audio --max-calls=1 --add-codec ilbc --clock-rate 8000 --rec-file wavs/tmp.8.wav --auto-answer 200") - ] - ) - -pesq_threshold = 3.0 diff --git a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_l16_16000.py b/res/pjproject/tests/pjsua/scripts-pesq/200_codec_l16_16000.py deleted file mode 100644 index 691a362af8..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_l16_16000.py +++ /dev/null @@ -1,19 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -ADD_PARAM = "" - -if (HAS_SND_DEV == 0): - ADD_PARAM += "--null-audio" - -# Call with L16/16000/1 codec -test_param = TestParam( - "PESQ codec L16/16000/1", - [ - InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec L16/16000/1 --clock-rate 16000 --play-file wavs/input.16.wav"), - InstanceParam("UA2", "--null-audio --max-calls=1 --add-codec L16/16000/1 --clock-rate 16000 --rec-file wavs/tmp.16.wav --auto-answer 200") - ] - ) - -pesq_threshold = 3.5 diff --git a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_l16_16000_stereo.py b/res/pjproject/tests/pjsua/scripts-pesq/200_codec_l16_16000_stereo.py deleted file mode 100644 index 406a18261b..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_l16_16000_stereo.py +++ /dev/null @@ -1,19 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -ADD_PARAM = "" - -if (HAS_SND_DEV == 0): - ADD_PARAM += "--null-audio" - -# Call with L16/16000/2 codec -test_param = TestParam( - "PESQ defaults pjsua settings", - [ - InstanceParam("UA1", ADD_PARAM + " --stereo --max-calls=1 --clock-rate 16000 --add-codec L16/16000/2 --play-file wavs/input.2.16.wav"), - InstanceParam("UA2", "--null-audio --stereo --max-calls=1 --clock-rate 16000 --add-codec L16/16000/2 --rec-file wavs/tmp.2.16.wav --auto-answer 200") - ] - ) - -pesq_threshold = None diff --git a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_l16_8000.py b/res/pjproject/tests/pjsua/scripts-pesq/200_codec_l16_8000.py deleted file mode 100644 index df05a9dad0..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_l16_8000.py +++ /dev/null @@ -1,19 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -ADD_PARAM = "" - -if (HAS_SND_DEV == 0): - ADD_PARAM += "--null-audio" - -# Call with L16/8000/1 codec -test_param = TestParam( - "PESQ codec L16/8000/1", - [ - InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec L16/8000/1 --clock-rate 8000 --play-file wavs/input.8.wav"), - InstanceParam("UA2", "--null-audio --max-calls=1 --add-codec L16/8000/1 --clock-rate 8000 --rec-file wavs/tmp.8.wav --auto-answer 200") - ] - ) - -pesq_threshold = 3.5 diff --git a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_l16_8000_stereo.py b/res/pjproject/tests/pjsua/scripts-pesq/200_codec_l16_8000_stereo.py deleted file mode 100644 index b114a1ab59..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_l16_8000_stereo.py +++ /dev/null @@ -1,19 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -ADD_PARAM = "" - -if (HAS_SND_DEV == 0): - ADD_PARAM += "--null-audio" - -# Call with L16/8000/2 codec -test_param = TestParam( - "PESQ defaults pjsua settings", - [ - InstanceParam("UA1", ADD_PARAM + " --stereo --max-calls=1 --clock-rate 8000 --add-codec L16/8000/2 --play-file wavs/input.2.8.wav"), - InstanceParam("UA2", "--null-audio --stereo --max-calls=1 --clock-rate 8000 --add-codec L16/8000/2 --rec-file wavs/tmp.2.8.wav --auto-answer 200") - ] - ) - -pesq_threshold = None diff --git a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_speex_16000.py b/res/pjproject/tests/pjsua/scripts-pesq/200_codec_speex_16000.py deleted file mode 100644 index f4c5dac768..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_speex_16000.py +++ /dev/null @@ -1,19 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -ADD_PARAM = "" - -if (HAS_SND_DEV == 0): - ADD_PARAM += "--null-audio" - -# Call with Speex/16000 codec -test_param = TestParam( - "PESQ codec Speex WB", - [ - InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --clock-rate 16000 --add-codec speex/16000 --play-file wavs/input.16.wav --no-vad"), - InstanceParam("UA2", "--null-audio --max-calls=1 --clock-rate 16000 --add-codec speex/16000 --rec-file wavs/tmp.16.wav --auto-answer 200") - ] - ) - -pesq_threshold = 3.8 diff --git a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_speex_8000.py b/res/pjproject/tests/pjsua/scripts-pesq/200_codec_speex_8000.py deleted file mode 100644 index 5cd1fb5b3a..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/200_codec_speex_8000.py +++ /dev/null @@ -1,19 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -ADD_PARAM = "" - -if (HAS_SND_DEV == 0): - ADD_PARAM += "--null-audio" - -# Call with Speex/8000 codec -test_param = TestParam( - "PESQ codec Speex NB", - [ - InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec speex/8000 --clock-rate 8000 --play-file wavs/input.8.wav --no-vad"), - InstanceParam("UA2", "--null-audio --max-calls=1 --add-codec speex/8000 --clock-rate 8000 --rec-file wavs/tmp.8.wav --auto-answer 200") - ] - ) - -pesq_threshold = 3.65 diff --git a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_g711a.py b/res/pjproject/tests/pjsua/scripts-pesq/201_codec_g711a.py deleted file mode 100644 index b7458c3c9f..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_g711a.py +++ /dev/null @@ -1,17 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Call with PCMA codec -test_param = TestParam( - "PESQ codec PCMA (RX side uses snd dev)", - [ - InstanceParam("UA1", "--max-calls=1 --add-codec pcma --clock-rate 8000 --play-file wavs/input.8.wav --null-audio"), - InstanceParam("UA2", "--max-calls=1 --add-codec pcma --clock-rate 8000 --rec-file wavs/tmp.8.wav --auto-answer 200") - ] - ) - -if (HAS_SND_DEV == 0): - test_param.skip = True - -pesq_threshold = 3.5 diff --git a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_g711u.py b/res/pjproject/tests/pjsua/scripts-pesq/201_codec_g711u.py deleted file mode 100644 index 43cff65183..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_g711u.py +++ /dev/null @@ -1,17 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Call with PCMU codec -test_param = TestParam( - "PESQ codec PCMU (RX side uses snd dev)", - [ - InstanceParam("UA1", "--max-calls=1 --add-codec pcmu --clock-rate 8000 --play-file wavs/input.8.wav --null-audio"), - InstanceParam("UA2", "--max-calls=1 --add-codec pcmu --clock-rate 8000 --rec-file wavs/tmp.8.wav --auto-answer 200") - ] - ) - -if (HAS_SND_DEV == 0): - test_param.skip = True - -pesq_threshold = 3.5 diff --git a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_g722.py b/res/pjproject/tests/pjsua/scripts-pesq/201_codec_g722.py deleted file mode 100644 index 24c89293d1..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_g722.py +++ /dev/null @@ -1,17 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Call with G722 codec -test_param = TestParam( - "PESQ codec G722 (RX side uses snd dev)", - [ - InstanceParam("UA1", "--max-calls=1 --add-codec g722 --clock-rate 16000 --play-file wavs/input.16.wav --null-audio"), - InstanceParam("UA2", "--max-calls=1 --add-codec g722 --clock-rate 16000 --rec-file wavs/tmp.16.wav --auto-answer 200") - ] - ) - -if (HAS_SND_DEV == 0): - test_param.skip = True - -pesq_threshold = 3.7 diff --git a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_gsm.py b/res/pjproject/tests/pjsua/scripts-pesq/201_codec_gsm.py deleted file mode 100644 index d250b77040..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_gsm.py +++ /dev/null @@ -1,17 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Call with GSM codec -test_param = TestParam( - "PESQ codec GSM (RX side uses snd dev)", - [ - InstanceParam("UA1", "--max-calls=1 --add-codec gsm --clock-rate 8000 --play-file wavs/input.8.wav --null-audio"), - InstanceParam("UA2", "--max-calls=1 --add-codec gsm --clock-rate 8000 --rec-file wavs/tmp.8.wav --auto-answer 200") - ] - ) - -if (HAS_SND_DEV == 0): - test_param.skip = True - -pesq_threshold = 3.0 diff --git a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_ilbc.py b/res/pjproject/tests/pjsua/scripts-pesq/201_codec_ilbc.py deleted file mode 100644 index e6d4d35fc5..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_ilbc.py +++ /dev/null @@ -1,17 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Call with iLBC codec -test_param = TestParam( - "PESQ codec iLBC (RX side uses snd dev)", - [ - InstanceParam("UA1", "--max-calls=1 --add-codec ilbc --clock-rate 8000 --play-file wavs/input.8.wav --null-audio"), - InstanceParam("UA2", "--max-calls=1 --add-codec ilbc --clock-rate 8000 --rec-file wavs/tmp.8.wav --auto-answer 200") - ] - ) - -if (HAS_SND_DEV == 0): - test_param.skip = True - -pesq_threshold = 3.0 diff --git a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_l16_16000.py b/res/pjproject/tests/pjsua/scripts-pesq/201_codec_l16_16000.py deleted file mode 100644 index a71004cfd4..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_l16_16000.py +++ /dev/null @@ -1,17 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Call with L16/16000/1 codec -test_param = TestParam( - "PESQ codec L16/16000/1 (RX side uses snd dev)", - [ - InstanceParam("UA1", "--max-calls=1 --add-codec L16/16000/1 --clock-rate 16000 --play-file wavs/input.16.wav --null-audio"), - InstanceParam("UA2", "--max-calls=1 --add-codec L16/16000/1 --clock-rate 16000 --rec-file wavs/tmp.16.wav --auto-answer 200") - ] - ) - -if (HAS_SND_DEV == 0): - test_param.skip = True - -pesq_threshold = 3.5 diff --git a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_l16_16000_stereo.py b/res/pjproject/tests/pjsua/scripts-pesq/201_codec_l16_16000_stereo.py deleted file mode 100644 index c20bc5fcf7..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_l16_16000_stereo.py +++ /dev/null @@ -1,17 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Call with L16/16000/2 codec -test_param = TestParam( - "PESQ defaults pjsua settings", - [ - InstanceParam("UA1", "--stereo --max-calls=1 --clock-rate 16000 --add-codec L16/16000/2 --play-file wavs/input.2.16.wav --null-audio"), - InstanceParam("UA2", "--stereo --max-calls=1 --clock-rate 16000 --add-codec L16/16000/2 --rec-file wavs/tmp.2.16.wav --auto-answer 200") - ] - ) - -if (HAS_SND_DEV == 0): - test_param.skip = True - -pesq_threshold = None diff --git a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_l16_8000.py b/res/pjproject/tests/pjsua/scripts-pesq/201_codec_l16_8000.py deleted file mode 100644 index d404f2d7f9..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_l16_8000.py +++ /dev/null @@ -1,17 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Call with L16/8000/1 codec -test_param = TestParam( - "PESQ codec L16/8000/1 (RX side uses snd dev)", - [ - InstanceParam("UA1", "--max-calls=1 --add-codec L16/8000/1 --clock-rate 8000 --play-file wavs/input.8.wav --null-audio"), - InstanceParam("UA2", "--max-calls=1 --add-codec L16/8000/1 --clock-rate 8000 --rec-file wavs/tmp.8.wav --auto-answer 200") - ] - ) - -if (HAS_SND_DEV == 0): - test_param.skip = True - -pesq_threshold = 3.5 diff --git a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_l16_8000_stereo.py b/res/pjproject/tests/pjsua/scripts-pesq/201_codec_l16_8000_stereo.py deleted file mode 100644 index a40cd7e849..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_l16_8000_stereo.py +++ /dev/null @@ -1,17 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Call with L16/8000/2 codec -test_param = TestParam( - "PESQ defaults pjsua settings", - [ - InstanceParam("UA1", "--stereo --max-calls=1 --clock-rate 8000 --add-codec L16/8000/2 --play-file wavs/input.2.8.wav --null-audio"), - InstanceParam("UA2", "--stereo --max-calls=1 --clock-rate 8000 --add-codec L16/8000/2 --rec-file wavs/tmp.2.8.wav --auto-answer 200") - ] - ) - -if (HAS_SND_DEV == 0): - test_param.skip = True - -pesq_threshold = None diff --git a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_speex_16000.py b/res/pjproject/tests/pjsua/scripts-pesq/201_codec_speex_16000.py deleted file mode 100644 index 252e4efe83..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_speex_16000.py +++ /dev/null @@ -1,17 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Call with Speex/16000 codec -test_param = TestParam( - "PESQ codec Speex WB (RX side uses snd dev)", - [ - InstanceParam("UA1", "--max-calls=1 --clock-rate 16000 --add-codec speex/16000 --play-file wavs/input.16.wav --null-audio"), - InstanceParam("UA2", "--max-calls=1 --clock-rate 16000 --add-codec speex/16000 --rec-file wavs/tmp.16.wav --auto-answer 200") - ] - ) - -if (HAS_SND_DEV == 0): - test_param.skip = True - -pesq_threshold = 3.7 diff --git a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_speex_8000.py b/res/pjproject/tests/pjsua/scripts-pesq/201_codec_speex_8000.py deleted file mode 100644 index 8f04dbc9b9..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pesq/201_codec_speex_8000.py +++ /dev/null @@ -1,17 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Call with Speex/8000 codec -test_param = TestParam( - "PESQ codec Speex NB (RX side uses snd dev)", - [ - InstanceParam("UA1", "--max-calls=1 --add-codec speex/8000 --clock-rate 8000 --play-file wavs/input.8.wav --null-audio"), - InstanceParam("UA2", "--max-calls=1 --add-codec speex/8000 --clock-rate 8000 --rec-file wavs/tmp.8.wav --auto-answer 200") - ] - ) - -if (HAS_SND_DEV == 0): - test_param.skip = True - -pesq_threshold = 3.0 diff --git a/res/pjproject/tests/pjsua/scripts-pres/100_peertopeer.py b/res/pjproject/tests/pjsua/scripts-pres/100_peertopeer.py deleted file mode 100644 index 84e6c7a731..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pres/100_peertopeer.py +++ /dev/null @@ -1,12 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Direct peer to peer presence -test_param = TestParam( - "Direct peer to peer presence", - [ - InstanceParam("client1", "--null-audio"), - InstanceParam("client2", "--null-audio") - ] - ) diff --git a/res/pjproject/tests/pjsua/scripts-pres/200_publish.py b/res/pjproject/tests/pjsua/scripts-pres/200_publish.py deleted file mode 100644 index 50308a583e..0000000000 --- a/res/pjproject/tests/pjsua/scripts-pres/200_publish.py +++ /dev/null @@ -1,35 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Basic registration -test_param = TestParam( - "Presence with PUBLISH", - [ - InstanceParam( "ua1", - "--null-audio"+ - " --id=\"\""+ - " --registrar=sip:sip.pjsip.org" + - " --username=test1" + - " --password=test1" + - " --realm=*" + - " --proxy=\"sip:sip.pjsip.org;lr\"" + - " --publish", - uri="", - have_reg=True, - have_publish=True), - InstanceParam( "ua2", - "--null-audio"+ - " --id=\"\""+ - " --registrar=sip:sip.pjsip.org" + - " --username=test2" + - " --password=test2" + - " --realm=*" + - " --proxy=\"sip:sip.pjsip.org;lr\"" + - " --publish", - uri="", - have_reg=True, - have_publish=True), - ] - ) - diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/100_simple.py b/res/pjproject/tests/pjsua/scripts-recvfrom/100_simple.py deleted file mode 100644 index e92369d8fb..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/100_simple.py +++ /dev/null @@ -1,16 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ - "--auto-update-nat=0" - -req1 = sip.RecvfromTransaction("Registration", 200, - include=["REGISTER sip"], - exclude=["Authorization"], - resp_hdr=["Server: Snake Registrar", "Expires: 221", "Contact: sip:localhost"], - expect="registration success" - ) - -recvfrom_cfg = sip.RecvfromCfg("Simple registration test", - pjsua, [req1]) diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/200_reg_good_enocredentiall.py b/res/pjproject/tests/pjsua/scripts-recvfrom/200_reg_good_enocredentiall.py deleted file mode 100644 index 33d12b1a12..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/200_reg_good_enocredentiall.py +++ /dev/null @@ -1,15 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT" - -req1 = sip.RecvfromTransaction("", 401, - include=["REGISTER sip"], - exclude=["Authorization"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"1234\""], - expect="PJSIP_ENOCREDENTIAL" - ) - -recvfrom_cfg = sip.RecvfromCfg("Failed registration test", - pjsua, [req1]) diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/201_reg_good_ok.py b/res/pjproject/tests/pjsua/scripts-recvfrom/201_reg_good_ok.py deleted file mode 100644 index 9b5a9f962d..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/201_reg_good_ok.py +++ /dev/null @@ -1,23 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ - "--username user --realm python --password passwd --auto-update-nat=0" - -req1 = sip.RecvfromTransaction("Initial registration", 401, - include=["REGISTER sip"], - exclude=["Authorization"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"1234\""], - expect="SIP/2.0 401" - ) - -req2 = sip.RecvfromTransaction("Registration retry with auth", 200, - include=["REGISTER sip", "Authorization:", - "realm=\"python\"", "username=\"user\"", - "nonce=\"1234\"", "response="], - expect="registration success" - ) - -recvfrom_cfg = sip.RecvfromCfg("Successful registration test", - pjsua, [req1, req2]) diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/202_reg_good_ok_wildcard.py b/res/pjproject/tests/pjsua/scripts-recvfrom/202_reg_good_ok_wildcard.py deleted file mode 100644 index 66ed19ed23..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/202_reg_good_ok_wildcard.py +++ /dev/null @@ -1,23 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ - "--username user --realm \"*\" --password passwd --auto-update-nat=0" - -req1 = sip.RecvfromTransaction("Initial registration", 401, - include=["REGISTER sip"], - exclude=["Authorization"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"1234\""], - expect="SIP/2.0 401" - ) - -req2 = sip.RecvfromTransaction("Registration retry with auth", 200, - include=["REGISTER sip", "Authorization:", - "realm=\"python\"", "username=\"user\"", - "nonce=\"1234\"", "response="], - expect="registration success" - ) - -recvfrom_cfg = sip.RecvfromCfg("Successful registration with wildcard realm test", - pjsua, [req1, req2]) diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/203_reg_good_empty_realm.py b/res/pjproject/tests/pjsua/scripts-recvfrom/203_reg_good_empty_realm.py deleted file mode 100644 index edfd40f393..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/203_reg_good_empty_realm.py +++ /dev/null @@ -1,31 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ - "--realm=* --user=username --password=password " + \ - "--auto-update-nat=0" - -# 401 Response, missing realm value -req1 = sip.RecvfromTransaction("Initial request", 401, - include=["REGISTER sip"], - exclude=[], - resp_hdr=['WWW-Authenticate: Digest'] - ) - -# Client should retry, we giving it another 401 with empty realm -req2 = sip.RecvfromTransaction("REGISTER retry #1 of 2", 407, - include=["REGISTER sip"], - exclude=[], - resp_hdr=['Proxy-Authenticate: Digest realm=""'] - ) - -# Client should retry -req3 = sip.RecvfromTransaction("REGISTER retry #2 of 2", 200, - include=[], - exclude=[], - expect="registration success" - ) - -recvfrom_cfg = sip.RecvfromCfg("Registration with empty realm", - pjsua, [req1, req2, req3]) diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/205_reg_good_no_realm.py b/res/pjproject/tests/pjsua/scripts-recvfrom/205_reg_good_no_realm.py deleted file mode 100644 index 199493ec00..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/205_reg_good_no_realm.py +++ /dev/null @@ -1,16 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ - "--realm=provider --user=username --password=password" - -req1 = sip.RecvfromTransaction("", 401, - include=["REGISTER sip"], - exclude=["Authorization"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"1234\""], - expect="PJSIP_ENOCREDENTIAL" - ) - -recvfrom_cfg = sip.RecvfromCfg("Failed registration because of realm test", - pjsua, [req1]) diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/206_reg_good_efailedcredential.py b/res/pjproject/tests/pjsua/scripts-recvfrom/206_reg_good_efailedcredential.py deleted file mode 100644 index dc4a4db2f0..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/206_reg_good_efailedcredential.py +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Authentication failure test with same nonce - - -pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ - "--realm=python --user=username --password=password" - -req1 = sip.RecvfromTransaction("Initial request", 401, - include=["REGISTER sip"], - exclude=["Authorization"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"1\""] - ) - -req2 = sip.RecvfromTransaction("REGISTER retry", 401, - include=["REGISTER sip", "Authorization", "nonce=\"1\""], - exclude=["Authorization:[\\s\\S]+Authorization:"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"1\""], - expect="PJSIP_EFAILEDCREDENTIAL" - ) - - -recvfrom_cfg = sip.RecvfromCfg("Authentication failure with same nonce", - pjsua, [req1, req2]) diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/208_reg_good_retry_nonce_ok.py b/res/pjproject/tests/pjsua/scripts-recvfrom/208_reg_good_retry_nonce_ok.py deleted file mode 100644 index 46e172854f..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/208_reg_good_retry_nonce_ok.py +++ /dev/null @@ -1,29 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ - "--realm=python --user=username --password=password " + \ - "--auto-update-nat=0" - -req1 = sip.RecvfromTransaction("Initial request", 401, - include=["REGISTER sip"], - exclude=["Authorization"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"1\""] - ) - -req2 = sip.RecvfromTransaction("REGISTER first retry", 401, - include=["REGISTER sip", "Authorization", "nonce=\"1\""], - exclude=["Authorization:[\\s\\S]+Authorization:"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"2\", stale=true"] - ) - - -req3 = sip.RecvfromTransaction("REGISTER retry with new nonce", 200, - include=["REGISTER sip", "Authorization", "nonce=\"2\""], - exclude=["Authorization:[\\s\\S]+Authorization:"], - expect="registration success" - ) - -recvfrom_cfg = sip.RecvfromCfg("Authentication okay after retry with new nonce", - pjsua, [req1, req2, req3]) diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/209a_reg_handle_423_ok.py b/res/pjproject/tests/pjsua/scripts-recvfrom/209a_reg_handle_423_ok.py deleted file mode 100644 index 16ec214cc4..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/209a_reg_handle_423_ok.py +++ /dev/null @@ -1,31 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ - "--realm=python --user=username --password=password " + \ - "--auto-update-nat=0" - -# 423 Response without Min-Expires header -req1 = sip.RecvfromTransaction("Initial request", 423, - include=["REGISTER sip"], - exclude=[], - resp_hdr=[] - ) - -# Client should retry with Expires header containing special value (pjsip specific) -req2 = sip.RecvfromTransaction("REGISTER retry after 423 response without Min-Expires header", 423, - include=["REGISTER sip", "Expires: 3601"], - exclude=[], - resp_hdr=["Min-Expires: 3612"] - ) - -# Client should retry with proper Expires header now -req3 = sip.RecvfromTransaction("REGISTER retry after proper 423", 200, - include=["Expires: 3612"], - exclude=[], - expect="registration success" - ) - -recvfrom_cfg = sip.RecvfromCfg("Reregistration after 423 response", - pjsua, [req1, req2, req3]) diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/209b_reg_handle_423_bad_min_expires1.py b/res/pjproject/tests/pjsua/scripts-recvfrom/209b_reg_handle_423_bad_min_expires1.py deleted file mode 100644 index 83a4074c53..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/209b_reg_handle_423_bad_min_expires1.py +++ /dev/null @@ -1,20 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ - "--realm=python --user=username --password=password " + \ - "--auto-update-nat=0 --reg-timeout 300" - -# 423 Response with Min-Expires header that is lower than what the client -# had requested -req1 = sip.RecvfromTransaction("Initial request", 423, - include=["REGISTER sip"], - exclude=[], - resp_hdr=["Min-Expires: 250"], - expect="invalid Min-Expires" - - ) - -recvfrom_cfg = sip.RecvfromCfg("Invalid 423 response to REGISTER", - pjsua, [req1]) diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/209c_reg_handle_423_bad_min_expires2.py b/res/pjproject/tests/pjsua/scripts-recvfrom/209c_reg_handle_423_bad_min_expires2.py deleted file mode 100644 index 378ea28325..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/209c_reg_handle_423_bad_min_expires2.py +++ /dev/null @@ -1,25 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ - "--realm=python --user=username --password=password " + \ - "--auto-update-nat=0 --reg-timeout 300" - -# 423 without Min-Expires. PJSIP would retry with Expires: 3601 -req1 = sip.RecvfromTransaction("Initial request", 423, - include=["REGISTER sip"], - exclude=[], - resp_hdr=[] - ) - -# Another 423, still without Min-Expires -req2 = sip.RecvfromTransaction("Retry with guessed Expires header", 423, - include=["REGISTER sip", "Expires: 3601"], - exclude=[], - resp_hdr=[], - expect="without Min-Expires header is invalid" - ) - -recvfrom_cfg = sip.RecvfromCfg("Invalid 423 response to REGISTER", - pjsua, [req1, req2]) diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/215_reg_good_multi_ok.py b/res/pjproject/tests/pjsua/scripts-recvfrom/215_reg_good_multi_ok.py deleted file mode 100644 index 61194bd77c..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/215_reg_good_multi_ok.py +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ - "--username theuser1 --realm python1 --password passwd --next-cred " + \ - "--username theuser2 --realm python2 --password passwd " + \ - "--auto-update-nat=0" - -req1 = sip.RecvfromTransaction("Initial registration", 401, - include=["REGISTER sip"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python1\", nonce=\"1234\"", - "WWW-Authenticate: Digest realm=\"python2\", nonce=\"6789\""], - expect="SIP/2.0 401" - ) - -req2 = sip.RecvfromTransaction("Registration retry with auth", 200, - include=["REGISTER sip", - "Authorization:[\\s\\S]+Authorization:", # Must have 2 Auth hdrs - "realm=\"python1\"", "realm=\"python2\"", - "username=\"theuser1\"", "username=\"theuser2\"", - "nonce=\"1234\"", "nonce=\"6789\"", - "response="], - expect="registration success" - ) - -recvfrom_cfg = sip.RecvfromCfg("Multiple authentication challenges", - pjsua, [req1, req2]) diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/220_reg_good_ims_ok.py b/res/pjproject/tests/pjsua/scripts-recvfrom/220_reg_good_ims_ok.py deleted file mode 100644 index d37add173a..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/220_reg_good_ims_ok.py +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ - "--username user@ims-domain --realm python --password passwd --use-ims --auto-update-nat=0" - -req1 = sip.RecvfromTransaction("Initial registration", 401, - include=["REGISTER sip", "Authorization", - "username=\"user@ims-domain\"", - "realm=\"python\""], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"1234\""], - expect="SIP/2.0 401" - ) - -req2 = sip.RecvfromTransaction("Registration retry with auth", 200, - include=["REGISTER sip", "Authorization:", - "realm=\"python\"", "username=\"user@ims-domain\"", - "nonce=\"1234\"", "response="], - # Must not have double Authorization header: - exclude=["Authorization:[\\s\\S]+Authorization:"], - expect="registration success" - ) - -recvfrom_cfg = sip.RecvfromCfg("Successful IMS registration test", - pjsua, [req1, req2]) diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/230_reg_bad_fail_stale_true.py b/res/pjproject/tests/pjsua/scripts-recvfrom/230_reg_bad_fail_stale_true.py deleted file mode 100644 index 4bceaf4573..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/230_reg_bad_fail_stale_true.py +++ /dev/null @@ -1,41 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# In this test we simulate broken server, where it always sends -# stale=true with all 401 responses. We should expect pjsip to -# retry the authentication until PJSIP_MAX_STALE_COUNT is -# exceeded. When pjsip retries the authentication, it should -# use the new nonce from server - - -pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ - "--realm=python --user=username --password=password" - -req1 = sip.RecvfromTransaction("Initial request", 401, - include=["REGISTER sip"], - exclude=["Authorization"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"1\""] - ) - -req2 = sip.RecvfromTransaction("First retry", 401, - include=["REGISTER sip", "Authorization", "nonce=\"1\""], - exclude=["Authorization:[\\s\\S]+Authorization:"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"2\", stale=true"] - ) - -req3 = sip.RecvfromTransaction("Second retry retry", 401, - include=["REGISTER sip", "Authorization", "nonce=\"2\""], - exclude=["Authorization:[\\s\\S]+Authorization:"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"3\", stale=true"] - ) - -req4 = sip.RecvfromTransaction("Third retry", 401, - include=["REGISTER sip", "Authorization", "nonce=\"3\""], - exclude=["Authorization:[\\s\\S]+Authorization:"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"4\", stale=true"], - expect="PJSIP_EAUTHSTALECOUNT" - ) - -recvfrom_cfg = sip.RecvfromCfg("Failed registration retry (server rejects with stale=true) ", - pjsua, [req1, req2, req3, req4]) diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/231_reg_bad_fail_stale_false_nonce_changed.py b/res/pjproject/tests/pjsua/scripts-recvfrom/231_reg_bad_fail_stale_false_nonce_changed.py deleted file mode 100644 index 443b91ba91..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/231_reg_bad_fail_stale_false_nonce_changed.py +++ /dev/null @@ -1,41 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# In this test we simulate broken server, where: -# - it wants to signal that NONCE has change -# - but it sets stale=false -# For this case pjsip will retry authentication until -# PJSIP_MAX_STALE_COUNT is exceeded. -# - -pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ - "--realm=python --user=username --password=password" - -req1 = sip.RecvfromTransaction("Initial request", 401, - include=["REGISTER sip"], - exclude=["Authorization"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"1\""] - ) - -req2 = sip.RecvfromTransaction("First retry", 401, - include=["REGISTER sip", "Authorization", "nonce=\"1\""], - exclude=["Authorization:[\\s\\S]+Authorization:"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"2\", stale=true"] - ) - -req3 = sip.RecvfromTransaction("Second retry retry", 401, - include=["REGISTER sip", "Authorization", "nonce=\"2\""], - exclude=["Authorization:[\\s\\S]+Authorization:"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"3\", stale=true"] - ) - -req4 = sip.RecvfromTransaction("Third retry", 401, - include=["REGISTER sip", "Authorization", "nonce=\"3\""], - exclude=["Authorization:[\\s\\S]+Authorization:"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"4\", stale=true"], - expect="PJSIP_EAUTHSTALECOUNT" - ) - -recvfrom_cfg = sip.RecvfromCfg("Failed registration retry (server rejects with stale=true) ", - pjsua, [req1, req2, req3, req4]) diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/234_reg_bad_stale_ok.py b/res/pjproject/tests/pjsua/scripts-recvfrom/234_reg_bad_stale_ok.py deleted file mode 100644 index cfa9403ba3..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/234_reg_bad_stale_ok.py +++ /dev/null @@ -1,41 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# In this test we simulate broken server, where it wants to -# change the nonce, but it fails to set stale to true. In this -# case, we should expect pjsip to retry the authentication until -# PJSIP_MAX_STALE_COUNT is exceeded as it should have detected -# that that nonce has changed - - -pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \ - "--realm=python --user=username --password=password " + \ - "--auto-update-nat=0" - -req1 = sip.RecvfromTransaction("Initial request", 401, - include=["REGISTER sip"], - exclude=["Authorization"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"1\""] - ) - -req2 = sip.RecvfromTransaction("First retry", 401, - include=["REGISTER sip", "Authorization", "nonce=\"1\""], - exclude=["Authorization:[\\s\\S]+Authorization:"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"2\""] - ) - -req3 = sip.RecvfromTransaction("Second retry retry", 401, - include=["REGISTER sip", "Authorization", "nonce=\"2\""], - exclude=["Authorization:[\\s\\S]+Authorization:"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"3\""] - ) - -req4 = sip.RecvfromTransaction("Third retry", 200, - include=["REGISTER sip", "Authorization", "nonce=\"3\""], - exclude=["Authorization:[\\s\\S]+Authorization:"], - expect="registration success" - ) - -recvfrom_cfg = sip.RecvfromCfg("Successful auth server changes nonce but with stale=false", - pjsua, [req1, req2, req3, req4]) diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/235_reg_good_tel_uri_enocredential.py b/res/pjproject/tests/pjsua/scripts-recvfrom/235_reg_good_tel_uri_enocredential.py deleted file mode 100644 index 3725bf728e..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/235_reg_good_tel_uri_enocredential.py +++ /dev/null @@ -1,15 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -pjsua = "--null-audio --id=tel:+12345 --registrar sip:127.0.0.1:$PORT" - -req1 = sip.RecvfromTransaction("", 401, - include=["REGISTER sip"], - exclude=["Authorization"], - resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"1234\""], - expect="PJSIP_ENOCREDENTIAL" - ) - -recvfrom_cfg = sip.RecvfromCfg("Failed registration with tel: URI test", - pjsua, [req1]) diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/240_publish_scenarios.py b/res/pjproject/tests/pjsua/scripts-recvfrom/240_publish_scenarios.py deleted file mode 100644 index 02adac920c..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/240_publish_scenarios.py +++ /dev/null @@ -1,51 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Several PUBLISH failure scenarios that should be handled automatically - - -pjsua = "--null-audio --id=sip:127.0.0.1:$PORT --registrar sip:127.0.0.1:$PORT " + \ - "--realm=python --user=username --password=password " + \ - "--auto-update-nat=0 --publish" -#pjsua = "--null-audio --local-port 0 --rtp-port 0" - -# Handle REGISTER first -req1 = sip.RecvfromTransaction("Initial REGISTER", 200, - include=["REGISTER sip"], - exclude=[], - resp_hdr=["Expires: 1800"] - ) - -# First PUBLISH, reply with 412 -req2 = sip.RecvfromTransaction("Initial PUBLISH, will be replied with 412", 412, - include=["PUBLISH sip"], - exclude=["Expires:"] - ) - -# Second PUBLISH -req3 = sip.RecvfromTransaction("Second PUBLISH, will be replied with 200", 200, - include=["PUBLISH sip"], - exclude=["Expires:"], - resp_hdr=["Expires: 60", "SIP-ETag: dx200xyz"] - ) - -# PUBLISH refresh, respond with 408 -req4 = sip.RecvfromTransaction("PUBLISH refresh, will be replied with 408", 408, - include=["PUBLISH sip", "SIP-If-Match: dx200xyz"], - exclude=["Expires:"], - resp_hdr=["Expires: 60", "SIP-ETag: dx200xyz"] - ) - -# After 5 minutes, pjsua should retry again -req5 = sip.RecvfromTransaction("PUBLISH retry", 200, - include=["PUBLISH sip"], - exclude=["Expires:", "SIP-If-Match:"], - resp_hdr=["Expires: 60", "SIP-ETag: abc"] - ) - - - -recvfrom_cfg = sip.RecvfromCfg("PUBLISH scenarios", - pjsua, [req1, req2, req3]) - diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/300_timer_good.py b/res/pjproject/tests/pjsua/scripts-recvfrom/300_timer_good.py deleted file mode 100644 index 834c2981bd..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/300_timer_good.py +++ /dev/null @@ -1,17 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# INVITE session using session timer - -pjsua = "--null-audio sip:127.0.0.1:$PORT --use-timer 2 --timer-min-se 100 --timer-se 2000" - -req = sip.RecvfromTransaction("INVITE with session timer", 200, - include=["Session-Expires:\s*2000", "Min-SE:\s*100"], - exclude=[], - resp_hdr=["Session-Expires: 1000;refresher=uac"] - ) - -recvfrom_cfg = sip.RecvfromCfg("INVITE session using session timer", - pjsua, [req]) - diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/301_timer_good_retry_after_422.py b/res/pjproject/tests/pjsua/scripts-recvfrom/301_timer_good_retry_after_422.py deleted file mode 100644 index cb35414cad..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/301_timer_good_retry_after_422.py +++ /dev/null @@ -1,30 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Session timers retry after 422 - - -pjsua = "--null-audio sip:127.0.0.1:$PORT --timer-min-se 100 --timer-se 1000" - -# First INVITE with timer rejected with 422 -req1 = sip.RecvfromTransaction("INVITE with SE too small", 422, - include=["Session-Expires:\s*1000"], - exclude=[], - resp_hdr=["Min-SE: 2000"] - ) - -# Wait for ACK -req2 = sip.RecvfromTransaction("Wait ACK", 0, include=["ACK sip"]) - -# New INVITE with SE >= Min-SE -req3 = sip.RecvfromTransaction("Retrying with acceptable SE", 200, - include=["Session-Expires:\s*2000", "Min-SE:\s*2000"], - exclude=[], - resp_hdr=["Session-Expires: 2000;refresher=uac"] - ) - - -recvfrom_cfg = sip.RecvfromCfg("Session timers retry after 422", - pjsua, [req1, req2, req3]) - diff --git a/res/pjproject/tests/pjsua/scripts-recvfrom/400_inv_answered_with_less_media.py b/res/pjproject/tests/pjsua/scripts-recvfrom/400_inv_answered_with_less_media.py deleted file mode 100644 index 1f0471f535..0000000000 --- a/res/pjproject/tests/pjsua/scripts-recvfrom/400_inv_answered_with_less_media.py +++ /dev/null @@ -1,32 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Offer with 2 media lines answered with only 1 media line - -pjsua = "--null-audio sip:127.0.0.1:$PORT --id=sip:1000@localhost --extra-audio --use-srtp=0" - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -req = sip.RecvfromTransaction("Receiving 2 media lines, answer with 1 media line", 200, - include=["m=audio \d+ RTP/AVP", "m=audio \d+ RTP/AVP"], - exclude=[], - resp_hdr=["Content-type: application/sdp"], - resp_body=sdp, - ) - -recvfrom_cfg = sip.RecvfromCfg("Receiving answer with less media lines", - pjsua, [req]) - diff --git a/res/pjproject/tests/pjsua/scripts-run/100_simple.py b/res/pjproject/tests/pjsua/scripts-run/100_simple.py deleted file mode 100644 index 7ab96efc38..0000000000 --- a/res/pjproject/tests/pjsua/scripts-run/100_simple.py +++ /dev/null @@ -1,13 +0,0 @@ -# $Id$ -# -# Just about the simple pjsua command line parameter, which should -# never fail in any circumstances -from inc_cfg import * - -test_param = TestParam( - "Basic run", - [ - InstanceParam("pjsua", "--null-audio --rtp-port 0") - ] - ) - diff --git a/res/pjproject/tests/pjsua/scripts-run/200_register.py b/res/pjproject/tests/pjsua/scripts-run/200_register.py deleted file mode 100644 index 3f4338d1ae..0000000000 --- a/res/pjproject/tests/pjsua/scripts-run/200_register.py +++ /dev/null @@ -1,20 +0,0 @@ -# $Id$ -# -from inc_cfg import * - -# Basic registration -test_param = TestParam( - "Basic registration", - [ - InstanceParam( "client", - "--null-audio"+ - " --id=\"\""+ - " --registrar=sip:sip.pjsip.org" + - " --username=test1" + - " --password=test1" + - " --realm=*", - uri="sip:test1@pjsip.org", - have_reg=True), - ] - ) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/001_torture_4475_3_1_1_1.py b/res/pjproject/tests/pjsua/scripts-sendto/001_torture_4475_3_1_1_1.py deleted file mode 100644 index 35f803c7f1..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/001_torture_4475_3_1_1_1.py +++ /dev/null @@ -1,52 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Torture message from RFC 4475 -# 3.1.1. Valid Messages -# 3.1.1.1. A Short Tortuous INVITE -complete_msg = \ -"""INVITE sip:vivekg@chair-dnrc.example.com;unknownparam SIP/2.0 -TO : - sip:vivekg@chair-dnrc.example.com ; tag = 1918181833n -from : "J Rosenberg \\\\\\"" - ; - tag = 98asjd8 -MaX-fOrWaRdS: 0068 -Call-ID: wsinv.ndaksdj@192.0.2.1 -Content-Length : 150 -cseq: 0009 - INVITE -Via : SIP / 2.0 - /UDP - 192.0.2.2;rport;branch=390skdjuw -s : -NewFangledHeader: newfangled value - continued newfangled value -UnknownHeaderWithUnusualValue: ;;,,;;,; -Content-Type: application/sdp -Route: - -v: SIP / 2.0 / TCP spindle.example.com ; - branch = z9hG4bK9ikj8 , - SIP / 2.0 / UDP 192.168.255.111 ; branch= - z9hG4bK30239 -m:"Quoted string \\"\\"" ; newparam = - newvalue ; - secondparam ; q = 0.33 - -v=0 -o=mhandley 29739 7272939 IN IP4 192.0.2.3 -s=- -c=IN IP4 192.0.2.4 -t=0 0 -m=audio 49217 RTP/AVP 0 12 -m=video 3227 RTP/AVP 31 -a=rtpmap:31 LPC -""" - - -sendto_cfg = sip.SendtoCfg( "RFC 4475 3.1.1.1", - "--null-audio --auto-answer 200", - "", 481, complete_msg=complete_msg) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/001_torture_4475_3_1_1_2.py b/res/pjproject/tests/pjsua/scripts-sendto/001_torture_4475_3_1_1_2.py deleted file mode 100644 index 88fd249bfc..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/001_torture_4475_3_1_1_2.py +++ /dev/null @@ -1,25 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Torture message from RFC 4475 -# 3.1.1. Valid Messages -# 3.1.1.2. Wide Range of Valid Characters -complete_msg = \ -"""!interesting-Method0123456789_*+`.%indeed'~ sip:1_unusual.URI~(to-be!sure)&isn't+it$/crazy?,/;;*:&it+has=1,weird!*pas$wo~d_too.(doesn't-it)@example.com SIP/2.0 -Via: SIP/2.0/UDP host1.example.com;rport;branch=z9hG4bK-.!%66*_+`'~ -To: "BEL:\\\x07 NUL:\\\x00 DEL:\\\x7F" -From: token1~` token2'+_ token3*%!.- ;fromParam''~+*_!.-%="\xD1\x80\xD0\xB0\xD0\xB1\xD0\xBE\xD1\x82\xD0\xB0\xD1\x8E\xD1\x89\xD0\xB8\xD0\xB9";tag=_token~1'+`*%!-. -Call-ID: intmeth.word%ZK-!.*_+'@word`~)(><:\\/"][?}{ -CSeq: 139122385 !interesting-Method0123456789_*+`.%indeed'~ -Max-Forwards: 255 -extensionHeader-!.%*+_`'~: \xEF\xBB\xBF\xE5\xA4\xA7\xE5\x81\x9C\xE9\x9B\xBB -Content-Length: 0 - -""" - - -sendto_cfg = sip.SendtoCfg( "RFC 4475 3.1.1.2", - "--null-audio --auto-answer 200", - "", 405, complete_msg=complete_msg) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/001_torture_4475_3_1_1_3.py b/res/pjproject/tests/pjsua/scripts-sendto/001_torture_4475_3_1_1_3.py deleted file mode 100644 index 4f32e979ca..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/001_torture_4475_3_1_1_3.py +++ /dev/null @@ -1,35 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Torture message from RFC 4475 -# 3.1.1. Valid Messages -# 3.1.1.3. Valid Use of the % Escaping Mechanism -complete_msg = \ -"""INVITE sip:sips%3Auser%40example.com@example.net SIP/2.0 -To: sip:%75se%72@example.com -From: ;tag=$FROM_TAG -Max-Forwards: 87 -i: esc01.239409asdfakjkn23onasd0-3234 -CSeq: 234234 INVITE -Via: SIP/2.0/UDP host5.example.net;rport;branch=z9hG4bKkdjuw -C: application/sdp -Contact: - -Content-Length: 150 - -v=0 -o=mhandley 29739 7272939 IN IP4 192.0.2.1 -s=- -c=IN IP4 192.0.2.1 -t=0 0 -m=audio 49217 RTP/AVP 0 12 -m=video 3227 RTP/AVP 31 -a=rtpmap:31 LPC -""" - - -sendto_cfg = sip.SendtoCfg( "RFC 4475 3.1.1.3", - "--null-audio --auto-answer 200", - "", 200, complete_msg=complete_msg) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/001_torture_4475_3_1_1_4.py b/res/pjproject/tests/pjsua/scripts-sendto/001_torture_4475_3_1_1_4.py deleted file mode 100644 index 9a24ddfd0e..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/001_torture_4475_3_1_1_4.py +++ /dev/null @@ -1,25 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Torture message from RFC 4475 -# 3.1.1. Valid Messages -# 3.1.1.4. Escaped Nulls in URIs -complete_msg = \ -"""REGISTER sip:example.com SIP/2.0 -To: sip:null-%00-null@example.com -From: sip:null-%00-null@example.com;tag=839923423 -Max-Forwards: 70 -Call-ID: escnull.39203ndfvkjdasfkq3w4otrq0adsfdfnavd -CSeq: 14398234 REGISTER -Via: SIP/2.0/UDP host5.example.com;rport;branch=z9hG4bKkdjuw -Contact: -Contact: -L:0 -""" - - -sendto_cfg = sip.SendtoCfg( "RFC 4475 3.1.1.4", - "--null-audio --auto-answer 200", - "", 200, complete_msg=complete_msg) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/001_torture_4475_3_1_1_5.py b/res/pjproject/tests/pjsua/scripts-sendto/001_torture_4475_3_1_1_5.py deleted file mode 100644 index 2b449d1124..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/001_torture_4475_3_1_1_5.py +++ /dev/null @@ -1,25 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Torture message from RFC 4475 -# 3.1.1. Valid Messages -# 3.1.1.5. Use of % When It Is Not an Escape -complete_msg = \ -"""RE%47IST%45R sip:registrar.example.com SIP/2.0 -To: "%Z%45" -From: "%Z%45" ;tag=f232jadfj23 -Call-ID: esc02.asdfnqwo34rq23i34jrjasdcnl23nrlknsdf -Via: SIP/2.0/TCP host.example.com;rport;branch=z9hG4bK209%fzsnel234 -CSeq: 29344 RE%47IST%45R -Max-Forwards: 70 -Contact: -C%6Fntact: -Contact: -l: 0 -""" - -sendto_cfg = sip.SendtoCfg( "RFC 4475 3.1.1.5", - "--null-audio --auto-answer 200", - "", 405, complete_msg=complete_msg) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/100_simplecall.py b/res/pjproject/tests/pjsua/scripts-sendto/100_simplecall.py deleted file mode 100644 index 3fc52dff75..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/100_simplecall.py +++ /dev/null @@ -1,20 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -sendto_cfg = sip.SendtoCfg( "simple call", "--null-audio --auto-answer 200", sdp, 200) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/110_tel_uri.py b/res/pjproject/tests/pjsua/scripts-sendto/110_tel_uri.py deleted file mode 100644 index 1d5e645c7a..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/110_tel_uri.py +++ /dev/null @@ -1,46 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Handling of incoming tel: URI. -complete_msg = \ -"""INVITE tel:+2065551212 SIP/2.0 -Via: SIP/2.0/UDP $LOCAL_IP:$LOCAL_PORT;rport;x-route-tag="tgrp:cococisco1";branch=z9hG4bK61E05 -From: $FROM_TAG -To: -Date: Thu, 12 Feb 2009 18:32:33 GMT -Call-ID: 58F8F7D6-F86A11DD-8013D591-5694EF79 -Supported: 100rel,timer,resource-priority -Min-SE: 86400 -Cisco-Guid: 1492551325-4167700957-2148586897-1452601209 -User-Agent: Cisco-SIPGateway/IOS-12.x -Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER -CSeq: 101 INVITE -Max-Forwards: 70 -Timestamp: 1234463553 -Contact: -Contact: -Record-Route: -Expires: 180 -Allow-Events: telephone-event -Content-Type: application/sdp -Content-Disposition: session;handling=required -Content-Length: 265 - -v=0 -o=CiscoSystemsSIP-GW-UserAgent 1296 9529 IN IP4 X.X.X.X -s=SIP Call -c=IN IP4 $LOCAL_IP -t=0 0 -m=audio 18676 RTP/AVP 0 101 19 -c=IN IP4 $LOCAL_IP -a=rtpmap:0 PCMU/8000 -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-16 -a=rtpmap:19 CN/8000 -a=ptime:20 -""" - -sendto_cfg = sip.SendtoCfg( "tel: URI", "--null-audio --auto-answer 200", - "", 200, complete_msg=complete_msg) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/120_sdp_with_video_dynamic_1.py b/res/pjproject/tests/pjsua/scripts-sendto/120_sdp_with_video_dynamic_1.py deleted file mode 100644 index e96919f3fe..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/120_sdp_with_video_dynamic_1.py +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Video uses dynamic payload type -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 5000 RTP/AVP 0 -m=video 4000 RTP/AVP 100 -a=rtpmap:100 myvideo/80000 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+m=video 0 RTP/AVP" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Mixed audio and video", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/120_sdp_with_video_dynamic_2.py b/res/pjproject/tests/pjsua/scripts-sendto/120_sdp_with_video_dynamic_2.py deleted file mode 100644 index 6bdda923ba..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/120_sdp_with_video_dynamic_2.py +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# In this case the video codec uses dynamic payload type -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=video 4000 RTP/AVP 100 -a=rtpmap:100 myvideo/96000 -m=audio 5000 RTP/AVP 0 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=video 0 RTP[\\s\\S]+m=audio [1-9]+[0-9]* RTP/AVP" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Mixed audio and video", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/121_sdp_with_video_static_1.py b/res/pjproject/tests/pjsua/scripts-sendto/121_sdp_with_video_static_1.py deleted file mode 100644 index f05da5dbac..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/121_sdp_with_video_static_1.py +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Video uses static payload type which will cause failure -# when session.c looks-up the codec in codec manager -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 5000 RTP/AVP 0 -m=video 4000 RTP/AVP 54 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+m=video 0 RTP" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Mixed audio and video", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/121_sdp_with_video_static_2.py b/res/pjproject/tests/pjsua/scripts-sendto/121_sdp_with_video_static_2.py deleted file mode 100644 index 67e0132147..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/121_sdp_with_video_static_2.py +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Video uses static payload type which will cause failure -# when session.c looks-up the codec in codec manager -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=video 4000 RTP/AVP 54 -m=audio 5000 RTP/AVP 0 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=video 0 RTP/AVP[\\s\\S]+m=audio [1-9]+[0-9]* RTP/AVP" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Mixed audio and video", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/122_sdp_with_unknown_dynamic_1.py b/res/pjproject/tests/pjsua/scripts-sendto/122_sdp_with_unknown_dynamic_1.py deleted file mode 100644 index 0e7ced7586..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/122_sdp_with_unknown_dynamic_1.py +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 5000 RTP/AVP 0 -m=xapplicationx 4000 RTP/AVP 100 -a=rtpmap:100 myapp/80000 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+m=xapplicationx 0 RTP/AVP" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Mixed audio and unknown", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/122_sdp_with_unknown_dynamic_2.py b/res/pjproject/tests/pjsua/scripts-sendto/122_sdp_with_unknown_dynamic_2.py deleted file mode 100644 index 7bdb14eed7..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/122_sdp_with_unknown_dynamic_2.py +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=xapplicationx 4000 RTP/AVP 100 -a=rtpmap:100 myapp/80000 -m=audio 5000 RTP/AVP 0 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=xapplicationx 0 RTP/AVP[\\s\\S]+m=audio [1-9]+[0-9]* RTP/AVP" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Mixed audio and unknown", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/123_sdp_with_unknown_static_1.py b/res/pjproject/tests/pjsua/scripts-sendto/123_sdp_with_unknown_static_1.py deleted file mode 100644 index 3da14409f2..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/123_sdp_with_unknown_static_1.py +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# The unknown media uses static payload type -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 5000 RTP/AVP 0 -m=xapplicationx 4000 RTP/AVP 54 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+m=xapplicationx 0 RTP/AVP" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Mixed audio and unknown", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/123_sdp_with_unknown_static_2.py b/res/pjproject/tests/pjsua/scripts-sendto/123_sdp_with_unknown_static_2.py deleted file mode 100644 index 76ff13beae..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/123_sdp_with_unknown_static_2.py +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# The unknown media uses static payload type -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=xapplicationx 4000 RTP/AVP 54 -m=audio 5000 RTP/AVP 0 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=xapplicationx 0 RTP/AVP[\\s\\S]+m=audio [1-9]+[0-9]* RTP/AVP" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Mixed audio and unknown", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/124_sdp_with_unknown_static_unknown_transport.py b/res/pjproject/tests/pjsua/scripts-sendto/124_sdp_with_unknown_static_unknown_transport.py deleted file mode 100644 index 5d1b7d3fac..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/124_sdp_with_unknown_static_unknown_transport.py +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 5000 RTP/AVP 0 -m=xapplicationx 4000 XRTPX/XAVPX 54 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+m=xapplicationx 0 XRTPX/XAVPX " - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Mixed audio and unknown and with unknown transport", - pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_0.py b/res/pjproject/tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_0.py deleted file mode 100644 index c194ba94b1..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_0.py +++ /dev/null @@ -1,29 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Multiple good m=audio lines! The current algorithm in pjsua-lib will -# select the first audio (note that in 1.x it will select the last audio) -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 5000 RTP/AVP 0 -m=audio 4000 RTP/AVP 0 -m=audio 3000 RTP/AVP 0 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+m=audio 0 RTP/AVP[\\s\\S]+m=audio 0 RTP/AVP" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Mutiple good m=audio lines", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_1.py b/res/pjproject/tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_1.py deleted file mode 100644 index 3cfc6116a3..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_1.py +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Multiple m=audio, one of them is bad -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 5000 RTP/AVP 0 -m=audio 4000 UNKNOWN 0 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+m=audio 0 UNKNOWN" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Audio and bad audio", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_2.py b/res/pjproject/tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_2.py deleted file mode 100644 index 80cbf4b538..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_2.py +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Multiple m=audio, one of them is bad -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 UNKNOWN 0 -m=audio 5000 RTP/AVP 0 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=audio 0 UNKNOWN[\\s\\S]+m=audio [1-9]+[0-9]* RTP/AVP" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Audio and bad audio", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_3.py b/res/pjproject/tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_3.py deleted file mode 100644 index a0397c5918..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_3.py +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Multiple m=audio, one of them has dynamic PT codec that we don't support -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 5000 RTP/AVP 100 -a=rtpmap:100 someunknowncodec/8000 -m=audio 4000 RTP/AVP 0 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=audio 0 RTP/AVP[\s\S]+m=audio [1-9]+[0-9]* RTP/AVP" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Multiple audio lines", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_4.py b/res/pjproject/tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_4.py deleted file mode 100644 index 814de0d935..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/125_sdp_with_multi_audio_4.py +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Multiple m=audio, one of them has static PT codec that we don't support -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 5000 RTP/AVP 80 -m=audio 4000 RTP/AVP 0 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=audio 0 RTP/AVP[\s\S]+m=audio [1-9]+[0-9]* RTP/AVP" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Multiple audio lines", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/126_sdp_with_port_0_and_no_rtpmap_for_dynamic_pt.py b/res/pjproject/tests/pjsua/scripts-sendto/126_sdp_with_port_0_and_no_rtpmap_for_dynamic_pt.py deleted file mode 100644 index 41a64b693e..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/126_sdp_with_port_0_and_no_rtpmap_for_dynamic_pt.py +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=video 0 RTP/AVP 100 -m=audio 5000 RTP/AVP 0 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=video 0 RTP/AVP[\\s\\S]+m=audio [1-9]+[0-9]* RTP/AVP" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("SDP media with port 0 and no rtpmap for dynamic PT", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/140_sdp_with_direction_attr_in_session_1.py b/res/pjproject/tests/pjsua/scripts-sendto/140_sdp_with_direction_attr_in_session_1.py deleted file mode 100644 index 16073eda94..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/140_sdp_with_direction_attr_in_session_1.py +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Offer contains "sendonly" attribute in the session. Answer should -# respond with appropriate direction in session or media -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -a=sendonly -m=audio 5000 RTP/AVP 0 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "a=recvonly" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("SDP direction in session", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/140_sdp_with_direction_attr_in_session_2.py b/res/pjproject/tests/pjsua/scripts-sendto/140_sdp_with_direction_attr_in_session_2.py deleted file mode 100644 index a8b1d10c05..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/140_sdp_with_direction_attr_in_session_2.py +++ /dev/null @@ -1,30 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Offer contains "inactive" attribute in the session, however the media -# also has "sendonly" attribute. Answer should appropriately respond -# direction attribute in media, instead of the one in session. -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -a=inactive -m=audio 5000 RTP/AVP 0 -a=sendonly -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "a=recvonly" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("SDP direction in session", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/150_err_extension.py b/res/pjproject/tests/pjsua/scripts-sendto/150_err_extension.py deleted file mode 100644 index cb46d1f410..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/150_err_extension.py +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "Require: xxx-my-extension\n" -include = ["Unsupported: xxx-my-extension"] -exclude = [] -sendto_cfg = sip.SendtoCfg("Bad extension", pjsua_args, sdp, 420, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/151_err_sdp_video.py b/res/pjproject/tests/pjsua/scripts-sendto/151_err_sdp_video.py deleted file mode 100644 index 1dc8422b72..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/151_err_sdp_video.py +++ /dev/null @@ -1,23 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=video 4000 RTP/AVP 0 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = [] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Video not acceptable", pjsua_args, sdp, 488, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/152_err_sdp_no_media.py b/res/pjproject/tests/pjsua/scripts-sendto/152_err_sdp_no_media.py deleted file mode 100644 index 4e7465a267..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/152_err_sdp_no_media.py +++ /dev/null @@ -1,22 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = [] -exclude = [] - -sendto_cfg = sip.SendtoCfg("No media in SDP", pjsua_args, sdp, 400, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/153_err_sdp_unsupported_codec.py b/res/pjproject/tests/pjsua/scripts-sendto/153_err_sdp_unsupported_codec.py deleted file mode 100644 index 1d6da2a844..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/153_err_sdp_unsupported_codec.py +++ /dev/null @@ -1,24 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=video 4000 RTP/AVP 101 -a=rtpmap:101 my-proprietary-codec -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = [] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Unsupported codec", pjsua_args, sdp, 488, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/155_err_sdp_bad_syntax.py b/res/pjproject/tests/pjsua/scripts-sendto/155_err_sdp_bad_syntax.py deleted file mode 100644 index d32ef3d6d7..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/155_err_sdp_bad_syntax.py +++ /dev/null @@ -1,23 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v= -o= -s= -c= -t= -a= -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = [ "Warning: " ] # better have Warning header -exclude = [] - -sendto_cfg = sip.SendtoCfg("Bad SDP syntax", pjsua_args, sdp, 400, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/156_err_sdp_bad_net_type.py b/res/pjproject/tests/pjsua/scripts-sendto/156_err_sdp_bad_net_type.py deleted file mode 100644 index 7c1536b78a..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/156_err_sdp_bad_net_type.py +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=AF IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = [ "Warning: " ] # better have Warning header -exclude = [] -sendto_cfg = sip.SendtoCfg("Bad SDP network type", pjsua_args, sdp, 400, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/157_err_sdp_bad_addr_type.py b/res/pjproject/tests/pjsua/scripts-sendto/157_err_sdp_bad_addr_type.py deleted file mode 100644 index cac5c9887c..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/157_err_sdp_bad_addr_type.py +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP7 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = [ "Warning: " ] # better have Warning header -exclude = [] -sendto_cfg = sip.SendtoCfg("Bad SDP address type", pjsua_args, sdp, 400, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/158_err_sdp_bad_transport_type.py b/res/pjproject/tests/pjsua/scripts-sendto/158_err_sdp_bad_transport_type.py deleted file mode 100644 index 63dd811a76..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/158_err_sdp_bad_transport_type.py +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/XAVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "" -include = [] -exclude = [] -sendto_cfg = sip.SendtoCfg("Unsupported transport type", pjsua_args, sdp, 488, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/159_no_rport.py b/res/pjproject/tests/pjsua/scripts-sendto/159_no_rport.py deleted file mode 100644 index d34e4a9dd6..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/159_no_rport.py +++ /dev/null @@ -1,38 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Ticket http://trac.pjsip.org/repos/ticket/718 -# RTC doesn't put rport in Via, and it is report to have caused segfault. -complete_msg = \ -"""INVITE sip:localhost SIP/2.0 -Via: SIP/2.0/UDP $LOCAL_IP:$LOCAL_PORT;branch=z9hG4bK74a60ee5 -From: ;tag=as2858a32c -To: -Contact: -Call-ID: 123@localhost -CSeq: 1 INVITE -Max-Forwards: 70 -Content-Type: application/sdp -Content-Length: 285 - -v=0 -o=root 4236 4236 IN IP4 192.168.1.11 -s=session -c=IN IP4 192.168.1.11 -t=0 0 -m=audio 14390 RTP/AVP 0 3 8 101 -a=rtpmap:0 PCMU/8000 -a=rtpmap:3 GSM/8000 -a=rtpmap:8 PCMA/8000 -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-16 -a=silenceSupp:off - - - - -a=ptime:20 -a=sendrecv -""" - - -sendto_cfg = sip.SendtoCfg( "RTC no rport", "--null-audio --auto-answer 200", - "", 200, complete_msg=complete_msg) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/159_no_rport_nit.py b/res/pjproject/tests/pjsua/scripts-sendto/159_no_rport_nit.py deleted file mode 100644 index 2af9ab1ac0..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/159_no_rport_nit.py +++ /dev/null @@ -1,25 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Ticket http://trac.pjsip.org/repos/ticket/718 -# RTC doesn't put rport in Via, and it is reported to have caused segfault. -# -complete_msg = \ -"""MESSAGE sip:localhost SIP/2.0 -Via: SIP/2.0/UDP localhost:$LOCAL_PORT;branch=z9hG4bK$BRANCH -From: ;tag=as2858a32c -To: -Call-ID: 123@localhost -CSeq: 1 MESSAGE -Max-Forwards: 70 -Content-Length: 11 -Content-Type: text/plain - -Hello world -""" - - -sendto_cfg = sip.SendtoCfg( "RTC no rport", "--null-audio --auto-answer 200", - "", 200, complete_msg=complete_msg) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/160_err_duplicate_replaces.py b/res/pjproject/tests/pjsua/scripts-sendto/160_err_duplicate_replaces.py deleted file mode 100644 index ec4b0fdfe7..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/160_err_duplicate_replaces.py +++ /dev/null @@ -1,23 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "Replaces: abcd;from_tag=1\r\nReplaces: efgh;from_tag=2\r\n" -include = [] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Duplicate replaces header", pjsua_args, sdp, 400, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/161_err_replaces_dlg_not_found.py b/res/pjproject/tests/pjsua/scripts-sendto/161_err_replaces_dlg_not_found.py deleted file mode 100644 index 863a1a572d..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/161_err_replaces_dlg_not_found.py +++ /dev/null @@ -1,23 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "Replaces: abcd;from_tag=1\r\n" -include = [] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Replaced dialog not found", pjsua_args, sdp, 481, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/170_timer_required.py b/res/pjproject/tests/pjsua/scripts-sendto/170_timer_required.py deleted file mode 100644 index 8f6749dbb1..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/170_timer_required.py +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -pjsua_args = "--null-audio --auto-answer 200 --use-timer 2 --timer-min-se 90 --timer-se 1800" -extra_headers = "Require: timer\nSupported: timer\nSession-Expires: 1800\n" -include = ["Session-Expires: .*;refresher=.*"] -exclude = [] -sendto_cfg = sip.SendtoCfg("Session Timer required", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/171_timer_initiated_by_uas.py b/res/pjproject/tests/pjsua/scripts-sendto/171_timer_initiated_by_uas.py deleted file mode 100644 index 4dd73e0f68..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/171_timer_initiated_by_uas.py +++ /dev/null @@ -1,36 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -# RFC 4028 Section 9: -# If the incoming request contains a Supported header field with a -# value 'timer' but does not contain a Session-Expires header, it means -# that the UAS is indicating support for timers but is not requesting -# one. The UAS may request a session timer in the 2XX response by -# including a Session-Expires header field. The value MUST NOT be set -# to a duration lower than the value in the Min-SE header field in the -# request, if it is present. - -pjsua_args = "--null-audio --auto-answer 200 --use-timer 2 --timer-min-se 90 --timer-se 1800" -extra_headers = "Supported: timer\n" -include = ["Session-Expires: .*;refresher=.*"] -exclude = [] -sendto_cfg = sip.SendtoCfg("Session Timer initiated by UAS", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/172_timer_supported_but_not_used.py b/res/pjproject/tests/pjsua/scripts-sendto/172_timer_supported_but_not_used.py deleted file mode 100644 index 69b0c900d6..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/172_timer_supported_but_not_used.py +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -pjsua_args = "--null-audio --auto-answer 200" -extra_headers = "Supported: timer\n" -include = [] -exclude = ["Session-Expires:"] -sendto_cfg = sip.SendtoCfg("Session Timer supported but not used", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/173_timer_offer_no_refresher.py b/res/pjproject/tests/pjsua/scripts-sendto/173_timer_offer_no_refresher.py deleted file mode 100644 index a0005d3ebf..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/173_timer_offer_no_refresher.py +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -pjsua_args = "--null-audio --auto-answer 200 --timer-min-se 90" -extra_headers = "Supported: timer\nSession-Expires: 1800\n" -include = ["Session-Expires:.*;refresher=ua[cs]"] -exclude = [] -sendto_cfg = sip.SendtoCfg("Session Timer without specifying refresher", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/173_timer_offer_refresher_uac.py b/res/pjproject/tests/pjsua/scripts-sendto/173_timer_offer_refresher_uac.py deleted file mode 100644 index 13c2449833..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/173_timer_offer_refresher_uac.py +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -pjsua_args = "--null-audio --auto-answer 200 --timer-min-se 90" -extra_headers = "Supported: timer\nSession-Expires: 1800;refresher=uac\n" -include = ["Session-Expires:.*;refresher=ua[cs]"] -exclude = [] -sendto_cfg = sip.SendtoCfg("Session Timer offer refresher uac", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/173_timer_offer_refresher_uas.py b/res/pjproject/tests/pjsua/scripts-sendto/173_timer_offer_refresher_uas.py deleted file mode 100644 index 2c270e1f03..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/173_timer_offer_refresher_uas.py +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -pjsua_args = "--null-audio --auto-answer 200 --timer-min-se 90" -extra_headers = "Supported: timer\nSession-Expires: 1800;refresher=uas\n" -include = ["Session-Expires:.*;refresher=ua[cs]"] -exclude = [] -sendto_cfg = sip.SendtoCfg("Session Timer offer refresher uas", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/174_timer_se_too_small.py b/res/pjproject/tests/pjsua/scripts-sendto/174_timer_se_too_small.py deleted file mode 100644 index c607de6cca..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/174_timer_se_too_small.py +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -pjsua_args = "--null-audio --auto-answer 200 --timer-min-se 2000 --timer-se 2000" -extra_headers = "Supported: timer\nSession-Expires: 1800\n" -include = ["Min-SE:\s*2000"] -exclude = [] -sendto_cfg = sip.SendtoCfg("Session Timer SE too small", pjsua_args, sdp, 422, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/200_ice_no_ice.py b/res/pjproject/tests/pjsua/scripts-sendto/200_ice_no_ice.py deleted file mode 100644 index 07a08f2aca..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/200_ice_no_ice.py +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -args = "--null-audio --use-ice --auto-answer 200 --max-calls 1" -include = [] -exclude = ["a=ice", "a=candidate"] - -sendto_cfg = sip.SendtoCfg( "caller has no ice, answer must not have ICE", - pjsua_args=args, sdp=sdp, resp_code=200, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/200_ice_success_1.py b/res/pjproject/tests/pjsua/scripts-sendto/200_ice_success_1.py deleted file mode 100644 index a2ff50d45e..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/200_ice_success_1.py +++ /dev/null @@ -1,31 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=ice-ufrag:1234 -a=ice-pwd:5678 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=candidate:XX 1 UDP 1234 127.0.0.1 4000 typ host -""" - -args = "--null-audio --use-ice --auto-answer 200 --max-calls 1" -include = ["a=ice-ufrag"] # must have ICE -exclude = ["a=candidate:[0-9a-zA-Z]+ 2 UDP", # must not answer with 2 components - "ice-mismatch" # must not mismatch - ] - -sendto_cfg = sip.SendtoCfg( "caller sends only one component", - pjsua_args=args, sdp=sdp, resp_code=200, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/200_ice_success_2.py b/res/pjproject/tests/pjsua/scripts-sendto/200_ice_success_2.py deleted file mode 100644 index caf64b917f..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/200_ice_success_2.py +++ /dev/null @@ -1,36 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtcp:4382 IN IP4 192.168.0.4 -a=ice-ufrag:1234 -a=ice-pwd:5678 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=candidate:XX 1 UDP 1234 127.0.0.1 4000 typ host -a=candidate:YY 2 UDP 1234 192.168.0.4 4382 typ host -""" - -args = "--null-audio --use-ice --auto-answer 200 --max-calls 1" -include = ["a=ice-ufrag", # must have ICE - "a=candidate:[0-9a-zA-Z]+ 2 UDP" # must have RTCP component - ] -exclude = [ - "ice-mismatch" # must not mismatch - ] - -sendto_cfg = sip.SendtoCfg( "caller sends only one component", - pjsua_args=args, sdp=sdp, resp_code=200, - resp_inc=include, resp_exc=exclude, - enable_buffer = True) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/200_ice_success_3.py b/res/pjproject/tests/pjsua/scripts-sendto/200_ice_success_3.py deleted file mode 100644 index 2c741e44e7..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/200_ice_success_3.py +++ /dev/null @@ -1,35 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=ice-ufrag:1234 -a=ice-pwd:5678 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=candidate:XX 1 UDP 1234 127.0.0.1 4000 typ host -a=candidate:YY 2 UDP 1234 127.0.0.1 4001 typ host -""" - -args = "--null-audio --use-ice --auto-answer 200 --max-calls 1" -include = ["a=ice-ufrag", # must have ICE - "a=candidate:[0-9a-zA-Z]+ 2 UDP" # must have RTCP component - ] -exclude = [ - "ice-mismatch" # must not mismatch - ] - -sendto_cfg = sip.SendtoCfg( "caller sends two components without a=rtcp line", - pjsua_args=args, sdp=sdp, resp_code=200, - resp_inc=include, resp_exc=exclude, - enable_buffer = True) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/200_ice_success_4.py b/res/pjproject/tests/pjsua/scripts-sendto/200_ice_success_4.py deleted file mode 100644 index 0ec3849cf8..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/200_ice_success_4.py +++ /dev/null @@ -1,35 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtcp:4382 IN IP4 192.168.0.4 -a=ice-ufrag:1234 -a=ice-pwd:5678 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=candidate:XX 1 UDP 1234 127.0.0.1 4000 typ host -a=candidate:YY 2 UDP 1234 127.0.0.2 4002 typ host -""" - -args = "--null-audio --use-ice --auto-answer 200 --max-calls 1 --ice-no-rtcp" -include = ["a=ice-ufrag"] # must have ICE -exclude = [ - "ice-mismatch", # must not mismatch - "a=candidate:[0-9a-zA-Z]+ 2 UDP" # must not have RTCP component - ] - -sendto_cfg = sip.SendtoCfg( "pjsua with --ice-no-rtcp ignores RTCP things in the SDP", - pjsua_args=args, sdp=sdp, resp_code=200, - resp_inc=include, resp_exc=exclude, - enable_buffer = True) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/201_ice_mismatch_1.py b/res/pjproject/tests/pjsua/scripts-sendto/201_ice_mismatch_1.py deleted file mode 100644 index 11b093361c..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/201_ice_mismatch_1.py +++ /dev/null @@ -1,29 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=ice-ufrag:1234 -a=ice-pwd:5678 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=candidate:XX 1 UDP 1 1.1.1.1 2222 typ host -""" - -args = "--null-audio --use-ice --auto-answer 200 --max-calls 1" -include = ["a=ice-mismatch"] -exclude = [] - -sendto_cfg = sip.SendtoCfg( "caller sends mismatched offer for comp 1", - pjsua_args=args, sdp=sdp, resp_code=200, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/201_ice_mismatch_2.py b/res/pjproject/tests/pjsua/scripts-sendto/201_ice_mismatch_2.py deleted file mode 100644 index 7371092292..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/201_ice_mismatch_2.py +++ /dev/null @@ -1,31 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtcp:4382 IN IP4 192.168.0.4 -a=ice-ufrag:1234 -a=ice-pwd:5678 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=candidate:XX 1 UDP 1234 127.0.0.1 4000 typ host -a=candidate:XX 2 UDP 1234 127.0.0.1 4000 typ host -""" - -args = "--null-audio --use-ice --auto-answer 200 --max-calls 1" -include = ["a=ice-mismatch"] -exclude = [] - -sendto_cfg = sip.SendtoCfg( "caller sends mismatched offer for comp 2", - pjsua_args=args, sdp=sdp, resp_code=200, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/201_ice_mismatch_3.py b/res/pjproject/tests/pjsua/scripts-sendto/201_ice_mismatch_3.py deleted file mode 100644 index 7706a15993..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/201_ice_mismatch_3.py +++ /dev/null @@ -1,30 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtcp:4382 IN IP4 192.168.0.4 -a=ice-ufrag:1234 -a=ice-pwd:5678 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=candidate:XX 1 UDP 1234 127.0.0.1 4000 typ host -""" - -args = "--null-audio --use-ice --auto-answer 200 --max-calls 1" -include = ["a=ice-mismatch"] -exclude = [] - -sendto_cfg = sip.SendtoCfg( "caller sends mismatched offer for comp 2", - pjsua_args=args, sdp=sdp, resp_code=200, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/251_multipart_ok_simple.py b/res/pjproject/tests/pjsua/scripts-sendto/251_multipart_ok_simple.py deleted file mode 100644 index 4216319964..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/251_multipart_ok_simple.py +++ /dev/null @@ -1,38 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -body = \ -""" ---12345 -Content-Type: application/sdp - -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 - ---12345 -Content-Type: text/plain - -Hi there this is definitely not SDP - ---12345-- -""" - -args = "--null-audio --auto-answer 200 --max-calls 1" -extra_headers = "Content-Type: multipart/mixed; boundary=12345" -include = ["v=0", "m=audio"] -exclude = [] - -sendto_cfg = sip.SendtoCfg( "Valid multipart/mixed body containing SDP", - pjsua_args=args, sdp="", resp_code=200, - extra_headers=extra_headers, body=body, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/252_multipart_ok_clutter.py b/res/pjproject/tests/pjsua/scripts-sendto/252_multipart_ok_clutter.py deleted file mode 100644 index 6503848870..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/252_multipart_ok_clutter.py +++ /dev/null @@ -1,47 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -body = \ -""" -This is the preamble. It is to be ignored, though it -is a handy place for composition agents to include an -explanatory note to non-MIME conformant readers. - ---123:45 -Content-Type: text/plain - -The first part is definitely not SDP - ---123:45 - -This is implicitly typed plain US-ASCII text. -It does NOT end with a linebreak. ---123:45 -Content-Type: application/sdp - -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 - ---123:45-- -This is the epilogue. It is also to be ignored. -""" - -args = "--null-audio --auto-answer 200 --max-calls 1" -extra_headers = "Content-Type: multipart/mixed; boundary=\"123:45\"" -include = ["v=0", "m=audio"] -exclude = [] - -sendto_cfg = sip.SendtoCfg( "Valid but cluttered multipart/mixed body containing SDP", - pjsua_args=args, sdp="", resp_code=200, - extra_headers=extra_headers, body=body, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/260_multipart_err_no_sdp.py b/res/pjproject/tests/pjsua/scripts-sendto/260_multipart_err_no_sdp.py deleted file mode 100644 index 7827ec11a1..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/260_multipart_err_no_sdp.py +++ /dev/null @@ -1,38 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -body = \ -""" ---12345 -Content-Type: application/notsdp - -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=pjmedia -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 - ---12345 -Content-Type: text/plain - -Hi there this is definitely not SDP - ---12345-- -""" - -args = "--null-audio --auto-answer 200 --max-calls 1" -extra_headers = "Content-Type: multipart/mixed; boundary=12345" -include = [] -exclude = [] - -sendto_cfg = sip.SendtoCfg( "Multipart/mixed body without SDP", - pjsua_args=args, sdp="", resp_code=400, - extra_headers=extra_headers, body=body, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_crypto_case_insensitive.py b/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_crypto_case_insensitive.py deleted file mode 100644 index 2e3923e6f3..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_crypto_case_insensitive.py +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=tester -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/SAVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=crypto:1 AeS_Cm_128_HmAC_shA1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ -a=crypto:2 aEs_cM_128_HMaC_ShA1_32 inline:t0r0/apkukU7JjjfR0mY8GEimBq4OiPEm9eKSFOx -""" - -args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 2 --srtp-secure 0" -include = ["m=audio \d+ RTP/SAVP", "a=crypto"] -exclude = [] - -sendto_cfg = sip.SendtoCfg( "caller has used mixed case in crypto attr, callee must process that normally", - pjsua_args=args, sdp=sdp, resp_code=200, - resp_inc=include, resp_exc=exclude) diff --git a/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_duplicated_crypto_tag.py b/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_duplicated_crypto_tag.py deleted file mode 100644 index d9228c821a..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_duplicated_crypto_tag.py +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=tester -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ -a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:t0r0/apkukU7JjjfR0mY8GEimBq4OiPEm9eKSFOx -""" - -args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 1 --srtp-secure 0" -include = [] -exclude = [] - -sendto_cfg = sip.SendtoCfg( "caller has used invalid crypto tag, callee must not accept the call", - pjsua_args=args, sdp=sdp, resp_code=406, - resp_inc=include, resp_exc=exclude) diff --git a/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_invalid_crypto_tag_non_numeric.py b/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_invalid_crypto_tag_non_numeric.py deleted file mode 100644 index e1b05355ae..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_invalid_crypto_tag_non_numeric.py +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=tester -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ -a=crypto:x AES_CM_128_HMAC_SHA1_32 inline:t0r0/apkukU7JjjfR0mY8GEimBq4OiPEm9eKSFOx -""" - -args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 1 --srtp-secure 0" -include = [] -exclude = [] - -sendto_cfg = sip.SendtoCfg( "caller has used invalid crypto tag (non-numeric), callee must not accept the call", - pjsua_args=args, sdp=sdp, resp_code=406, - resp_inc=include, resp_exc=exclude) diff --git a/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_receive_crypto_tag_zero.py b/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_receive_crypto_tag_zero.py deleted file mode 100644 index 7e4e5499ed..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_receive_crypto_tag_zero.py +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=tester -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=crypto:0 AES_CM_128_HMAC_SHA1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ -""" - -args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 1 --srtp-secure 0" -include = [] -exclude = [] - -sendto_cfg = sip.SendtoCfg( "caller has used crypto tag zero, callee must accept the call", - pjsua_args=args, sdp=sdp, resp_code=200, - resp_inc=include, resp_exc=exclude) diff --git a/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_receive_no_key_1.py b/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_receive_no_key_1.py deleted file mode 100644 index 7cc91a7383..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_receive_no_key_1.py +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=tester -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=crypto:0 AES_CM_128_HMAC_SHA1_80 -""" - -args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 1 --srtp-secure 0" -include = [] -exclude = [] - -sendto_cfg = sip.SendtoCfg( "caller send crypto attr without key, callee must not accept the call", - pjsua_args=args, sdp=sdp, resp_code=406, - resp_inc=include, resp_exc=exclude) diff --git a/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_receive_no_key_2.py b/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_receive_no_key_2.py deleted file mode 100644 index 0e347004f4..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_receive_no_key_2.py +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=tester -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=crypto:0 AES_CM_128_HMAC_SHA1_80 inline -""" - -args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 1 --srtp-secure 0" -include = [] -exclude = [] - -sendto_cfg = sip.SendtoCfg( "caller send crypto attr without key, callee must not accept the call", - pjsua_args=args, sdp=sdp, resp_code=406, - resp_inc=include, resp_exc=exclude) diff --git a/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_receive_no_key_3.py b/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_receive_no_key_3.py deleted file mode 100644 index 2849f713d5..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/300_srtp_receive_no_key_3.py +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=tester -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=crypto:0 AES_CM_128_HMAC_SHA1_80 inline: -""" - -args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 1 --srtp-secure 0" -include = [] -exclude = [] - -sendto_cfg = sip.SendtoCfg( "caller send crypto attr without key, callee must not accept the call", - pjsua_args=args, sdp=sdp, resp_code=406, - resp_inc=include, resp_exc=exclude) diff --git a/res/pjproject/tests/pjsua/scripts-sendto/301_srtp0_recv_avp.py b/res/pjproject/tests/pjsua/scripts-sendto/301_srtp0_recv_avp.py deleted file mode 100644 index 2ef19f335b..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/301_srtp0_recv_avp.py +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=tester -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ -a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:t0r0/apkukU7JjjfR0mY8GEimBq4OiPEm9eKSFOx -""" - -args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 0 --srtp-secure 0" -include = [] -exclude = ["a=crypto"] - -sendto_cfg = sip.SendtoCfg( "Callee has SRTP disabled but receive RTP/AVP with crypto, should accept without crypto", - pjsua_args=args, sdp=sdp, resp_code=200, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/301_srtp0_recv_savp.py b/res/pjproject/tests/pjsua/scripts-sendto/301_srtp0_recv_savp.py deleted file mode 100644 index b86ba527db..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/301_srtp0_recv_savp.py +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=tester -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/SAVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ -a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:t0r0/apkukU7JjjfR0mY8GEimBq4OiPEm9eKSFOx -""" - -args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 0 --srtp-secure 0" -include = [] -exclude = [] - -sendto_cfg = sip.SendtoCfg( "Callee has SRTP disabled but receive RTP/SAVP, should reject the call", - pjsua_args=args, sdp=sdp, resp_code=488, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/310_srtp1_no_crypto.py b/res/pjproject/tests/pjsua/scripts-sendto/310_srtp1_no_crypto.py deleted file mode 100644 index 5bfb92e574..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/310_srtp1_no_crypto.py +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=tester -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 1 --srtp-secure 0" -include = ["m=audio \d+ RTP/AVP"] -exclude = ["a=crypto"] - -sendto_cfg = sip.SendtoCfg( "caller has no crypto attr, answer must accept without crypto attr", - pjsua_args=args, sdp=sdp, resp_code=200, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/311_srtp1_recv_avp.py b/res/pjproject/tests/pjsua/scripts-sendto/311_srtp1_recv_avp.py deleted file mode 100644 index 8b173f263d..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/311_srtp1_recv_avp.py +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=tester -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ -a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:t0r0/apkukU7JjjfR0mY8GEimBq4OiPEm9eKSFOx -""" - -args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 1 --srtp-secure 0" -include = ["m=audio \d+ RTP/AVP", "a=crypto"] -exclude = [] - -sendto_cfg = sip.SendtoCfg( "Callee has SRTP optional and receive RTP/AVP with crypto, should accept with RTP/AVP & crypto", - pjsua_args=args, sdp=sdp, resp_code=200, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/312_srtp1_recv_savp.py b/res/pjproject/tests/pjsua/scripts-sendto/312_srtp1_recv_savp.py deleted file mode 100644 index a3b30218ac..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/312_srtp1_recv_savp.py +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=tester -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/SAVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ -a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:t0r0/apkukU7JjjfR0mY8GEimBq4OiPEm9eKSFOx -""" - -args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 1 --srtp-secure 0" -include = ["m=audio \d+ RTP/SAVP", "a=crypto"] -exclude = [] - -sendto_cfg = sip.SendtoCfg( "Callee has SRTP optional receive RTP/SAVP, should answer RTP/SAVP too", - pjsua_args=args, sdp=sdp, resp_code=200, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/313_srtp1_unsupported_crypto.py b/res/pjproject/tests/pjsua/scripts-sendto/313_srtp1_unsupported_crypto.py deleted file mode 100644 index 7b45755565..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/313_srtp1_unsupported_crypto.py +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=tester -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=crypto:1 CRYPTO_X inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ -""" - -args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 1 --srtp-secure 0" -include = [] -exclude = ["a=crypto"] - -sendto_cfg = sip.SendtoCfg( "caller has used unsupported crypto, callee (SRTP optional) accept the call without crypto", - pjsua_args=args, sdp=sdp, resp_code=200, - resp_inc=include, resp_exc=exclude) diff --git a/res/pjproject/tests/pjsua/scripts-sendto/320_srtp2_no_crypto.py b/res/pjproject/tests/pjsua/scripts-sendto/320_srtp2_no_crypto.py deleted file mode 100644 index 6613b74127..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/320_srtp2_no_crypto.py +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=tester -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/SAVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 2 --srtp-secure 0" -include = [] -exclude = [] - -sendto_cfg = sip.SendtoCfg( "caller has no crypto attr on RTP/SAVP, callee must not accept the call", - pjsua_args=args, sdp=sdp, resp_code=406, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/320_srtp_with_unknown_media_1.py b/res/pjproject/tests/pjsua/scripts-sendto/320_srtp_with_unknown_media_1.py deleted file mode 100644 index 4ee7bfea5f..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/320_srtp_with_unknown_media_1.py +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 5000 RTP/AVP 0 -a=crypto:1 aes_cm_128_hmac_sha1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ -m=xapplicationx 4000 RTP/AVP 100 -a=rtpmap:100 myapp/80000 -""" - -pjsua_args = "--null-audio --auto-answer 200 --use-srtp 1 --srtp-secure 0" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+a=crypto[\\s\\S]+m=xapplicationx 0 RTP/AVP" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("SRTP audio and unknown media", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/320_srtp_with_unknown_media_2.py b/res/pjproject/tests/pjsua/scripts-sendto/320_srtp_with_unknown_media_2.py deleted file mode 100644 index 8536f1a220..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/320_srtp_with_unknown_media_2.py +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=xapplicationx 4000 RTP/AVP 100 -a=rtpmap:100 myapp/80000 -m=audio 5000 RTP/AVP 0 -a=crypto:1 aes_cm_128_hmac_sha1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ -""" - -pjsua_args = "--null-audio --auto-answer 200 --use-srtp 1 --srtp-secure 0" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=xapplicationx 0 RTP/AVP[\\s\\S]+m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+a=crypto" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Unknown media and SRTP audio", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/320_srtp_with_unknown_transport_1.py b/res/pjproject/tests/pjsua/scripts-sendto/320_srtp_with_unknown_transport_1.py deleted file mode 100644 index 12aa61cb53..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/320_srtp_with_unknown_transport_1.py +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 5000 RTP/AVP 0 -a=crypto:1 aes_cm_128_hmac_sha1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ -m=audio 4000 UNKNOWN 0 -""" - -pjsua_args = "--null-audio --auto-answer 200 --use-srtp 1 --srtp-secure 0" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+a=crypto[\\s\\S]+m=audio 0 UNKNOWN" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("SRTP audio and unknown media", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/320_srtp_with_unknown_transport_2.py b/res/pjproject/tests/pjsua/scripts-sendto/320_srtp_with_unknown_transport_2.py deleted file mode 100644 index a1ac6ce07b..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/320_srtp_with_unknown_transport_2.py +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 UNKNOWN 0 -m=audio 5000 RTP/AVP 0 -a=crypto:1 aes_cm_128_hmac_sha1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ -""" - -pjsua_args = "--null-audio --auto-answer 200 --use-srtp 1 --srtp-secure 0" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=audio 0 UNKNOWN[\\s\\S]+m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+a=crypto" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("SRTP audio and unknown media", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/321_srtp2_recv_avp.py b/res/pjproject/tests/pjsua/scripts-sendto/321_srtp2_recv_avp.py deleted file mode 100644 index 56d03dc1a3..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/321_srtp2_recv_avp.py +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=tester -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ -a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:t0r0/apkukU7JjjfR0mY8GEimBq4OiPEm9eKSFOx -""" - -args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 2 --srtp-secure 0" -include = [] -exclude = [] - -sendto_cfg = sip.SendtoCfg( "Callee has SRTP mandatory and receive RTP/AVP with crypto, should reject the call", - pjsua_args=args, sdp=sdp, resp_code=488, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/322_srtp2_recv_savp.py b/res/pjproject/tests/pjsua/scripts-sendto/322_srtp2_recv_savp.py deleted file mode 100644 index 5d5d53de2b..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/322_srtp2_recv_savp.py +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=tester -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/SAVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ -a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:t0r0/apkukU7JjjfR0mY8GEimBq4OiPEm9eKSFOx -""" - -args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 2 --srtp-secure 0" -include = ["m=audio \d+ RTP/SAVP", "a=crypto"] -exclude = [] - -sendto_cfg = sip.SendtoCfg( "Callee has SRTP mandatory receive RTP/SAVP, should answer RTP/SAVP too", - pjsua_args=args, sdp=sdp, resp_code=200, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/323_srtp2_receive_too_long_key.py b/res/pjproject/tests/pjsua/scripts-sendto/323_srtp2_receive_too_long_key.py deleted file mode 100644 index cf8bf487aa..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/323_srtp2_receive_too_long_key.py +++ /dev/null @@ -1,25 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Too long key should be rejected -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 5000 RTP/SAVP 0 -a=crypto:1 aes_cm_128_hmac_sha1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQWnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ -""" - -pjsua_args = "--null-audio --auto-answer 200 --use-srtp 2 --srtp-secure 0" -extra_headers = "" -include = [] -exclude = [] - -sendto_cfg = sip.SendtoCfg("SRTP receive too long key", pjsua_args, sdp, 406, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/323_srtp2_unsupported_crypto.py b/res/pjproject/tests/pjsua/scripts-sendto/323_srtp2_unsupported_crypto.py deleted file mode 100644 index 782beba92c..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/323_srtp2_unsupported_crypto.py +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=tester -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/SAVP 0 101 -a=rtpmap:0 PCMU/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -a=crypto:1 CRYPTO_X inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ -""" - -args = "--null-audio --auto-answer 200 --max-calls 1 --use-srtp 2 --srtp-secure 0" -include = [] -exclude = [] - -sendto_cfg = sip.SendtoCfg( "caller has used unsupported crypto, callee (SRTP mandatory) must reject the call", - pjsua_args=args, sdp=sdp, resp_code=406, - resp_inc=include, resp_exc=exclude) diff --git a/res/pjproject/tests/pjsua/scripts-sendto/330_srtp_prefer_rtp_savp.py b/res/pjproject/tests/pjsua/scripts-sendto/330_srtp_prefer_rtp_savp.py deleted file mode 100644 index 168b36cecb..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/330_srtp_prefer_rtp_savp.py +++ /dev/null @@ -1,30 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# When SRTP is enabled in pjsua, it should prefer to use -# RTP/SAVP media line if there are multiple m=audio lines -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 4000 RTP/AVP 0 -a=rtpmap:0 pcmu/8000 -m=audio 4000 RTP/SAVP 0 -a=crypto:1 aes_cm_128_hmac_sha1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ -""" - -pjsua_args = "--null-audio --auto-answer 200 --use-srtp 1 --srtp-secure 0" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=audio 0 RTP/AVP[\\s\\S]+m=audio [1-9]+[0-9]* RTP/SAVP[\\s\\S]+a=crypto" - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Prefer RTP/SAVP", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/331_srtp_prefer_rtp_avp.py b/res/pjproject/tests/pjsua/scripts-sendto/331_srtp_prefer_rtp_avp.py deleted file mode 100644 index e42d20bdac..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/331_srtp_prefer_rtp_avp.py +++ /dev/null @@ -1,29 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# When SRTP is NOT enabled in pjsua, it should prefer to use -# RTP/AVP media line if there are multiple m=audio lines -sdp = \ -""" -v=0 -o=- 0 0 IN IP4 127.0.0.1 -s=- -c=IN IP4 127.0.0.1 -t=0 0 -m=audio 5000 RTP/SAVP 0 -a=crypto:1 aes_cm_128_hmac_sha1_80 inline:WnD7c1ksDGs+dIefCEo8omPg4uO8DYIinNGL5yxQ -m=audio 4000 RTP/AVP 0 -""" - -pjsua_args = "--null-audio --auto-answer 200 --use-srtp 0" -extra_headers = "" -include = ["Content-Type: application/sdp", # response must include SDP - "m=audio 0 RTP/SAVP[\\s\\S]+m=audio [1-9]+[0-9]* RTP/AVP" - ] -exclude = ["a=crypto"] - -sendto_cfg = sip.SendtoCfg("Prefer RTP/SAVP", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/360_non_sip_uri.py b/res/pjproject/tests/pjsua/scripts-sendto/360_non_sip_uri.py deleted file mode 100644 index c4861aa386..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/360_non_sip_uri.py +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Some non-SIP URI's in Contact header -# -complete_msg = \ -"""INVITE sip:localhost SIP/2.0 -Via: SIP/2.0/UDP 192.168.0.14:5060;rport;branch=z9hG4bKPj9db9 -Max-Forwards: 70 -From: ;tag=08cd5bfc2d8a4fddb1f5e59c6961d298 -To: -Call-ID: 3373d9eb32aa458db7e69c7ea51e0bd7 -CSeq: 0 INVITE -Contact: mailto:dontspam@pjsip.org -Contact: -Contact: http://www.pjsip.org/the%20path.cgi?pname=pvalue -Contact: -User-Agent: PJSUA v0.9.0-trunk/win32 -Content-Length: 0 -""" - - -sendto_cfg = sip.SendtoCfg( "Non SIP URI in Contact", - "--null-audio --auto-answer 200", - "", 200, complete_msg=complete_msg) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/361_non_sip_uri.py b/res/pjproject/tests/pjsua/scripts-sendto/361_non_sip_uri.py deleted file mode 100644 index d24685d5cf..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/361_non_sip_uri.py +++ /dev/null @@ -1,26 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# No SIP URI in Contact header -# -complete_msg = \ -"""INVITE sip:localhost SIP/2.0 -Via: SIP/2.0/UDP 192.168.0.14:5060;rport;branch=z9hG4bKPj9db9 -Max-Forwards: 70 -From: ;tag=08cd5bfc2d8a4fddb1f5e59c6961d298 -To: -Call-ID: 3373d9eb32aa458db7e69c7ea51e0bd7 -CSeq: 0 INVITE -Contact: mailto:dontspam@pjsip.org -Contact: -Contact: http://www.pjsip.org/the%20path.cgi?pname=pvalue -User-Agent: PJSUA v0.9.0-trunk/win32 -Content-Length: 0 -""" - - -sendto_cfg = sip.SendtoCfg( "No SIP URI in Contact", - "--null-audio --auto-answer 200", - "", 500, complete_msg=complete_msg) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/362_non_sip_uri.py b/res/pjproject/tests/pjsua/scripts-sendto/362_non_sip_uri.py deleted file mode 100644 index 0c4b002afb..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/362_non_sip_uri.py +++ /dev/null @@ -1,27 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Some non-SIP URI's in Contact header -# -complete_msg = \ -"""INVITE sip:localhost SIP/2.0 -Via: SIP/2.0/UDP 192.168.0.14:5060;rport;branch=z9hG4bKPj9db9 -Max-Forwards: 70 -From: ;tag=08cd5bfc2d8a4fddb1f5e59c6961d298 -To: -Call-ID: 3373d9eb32aa458db7e69c7ea51e0bd7 -CSeq: 0 INVITE -Contact: -Contact: mailto:dontspam@pjsip.org -Contact: -Contact: http://www.pjsip.org/the%20path.cgi?pname=pvalue -User-Agent: PJSUA v0.9.0-trunk/win32 -Content-Length: 0 -""" - - -sendto_cfg = sip.SendtoCfg( "Non SIP URI in Contact", - "--null-audio --auto-answer 200", - "", 200, complete_msg=complete_msg) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/363_non_sip_uri_subscribe.py b/res/pjproject/tests/pjsua/scripts-sendto/363_non_sip_uri_subscribe.py deleted file mode 100644 index 5d3d42ded7..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/363_non_sip_uri_subscribe.py +++ /dev/null @@ -1,31 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Some non-SIP URI's in Contact header -# -complete_msg = \ -"""SUBSCRIBE sip:localhost SIP/2.0 -Via: SIP/2.0/UDP 192.168.0.14:5060;rport;branch=z9hG4bKPj9db9 -Max-Forwards: 70 -From: ;tag=08cd5bfc2d8a4fddb1f5e59c6961d298 -To: -Call-ID: 3373d9eb32aa458db7e69c7ea51e0bd7 -CSeq: 0 SUBSCRIBE -Contact: mailto:dontspam@pjsip.org -Contact: -Contact: http://www.pjsip.org/the%20path.cgi?pname=pvalue -Contact: -Event: presence -Expires: 600 -Accept: application/pidf+xml, application/xpidf+xml -Allow-Events: presence, refer -User-Agent: PJSUA v0.9.0-trunk/win32 -Content-Length: 0 -""" - - -sendto_cfg = sip.SendtoCfg( "Non SIP URI in Contact", - "--null-audio --auto-answer 200", - "", 200, complete_msg=complete_msg) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/364_non_sip_uri_subscribe.py b/res/pjproject/tests/pjsua/scripts-sendto/364_non_sip_uri_subscribe.py deleted file mode 100644 index f9beb05e0f..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/364_non_sip_uri_subscribe.py +++ /dev/null @@ -1,30 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Some non-SIP URI's in Contact header -# -complete_msg = \ -"""SUBSCRIBE sip:localhost SIP/2.0 -Via: SIP/2.0/UDP 192.168.0.14:5060;rport;branch=z9hG4bKPj9db9 -Max-Forwards: 70 -From: ;tag=08cd5bfc2d8a4fddb1f5e59c6961d298 -To: -Call-ID: 3373d9eb32aa458db7e69c7ea51e0bd7 -CSeq: 0 SUBSCRIBE -Contact: mailto:dontspam@pjsip.org -Contact: -Contact: http://www.pjsip.org/the%20path.cgi?pname=pvalue -Event: presence -Expires: 600 -Accept: application/pidf+xml, application/xpidf+xml -Allow-Events: presence, refer -User-Agent: PJSUA v0.9.0-trunk/win32 -Content-Length: 0 -""" - - -sendto_cfg = sip.SendtoCfg( "Non SIP URI in Contact", - "--null-audio --auto-answer 200", - "", 400, complete_msg=complete_msg) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/400_fmtp_g7221_with_bitrate.py b/res/pjproject/tests/pjsua/scripts-sendto/400_fmtp_g7221_with_bitrate.py deleted file mode 100644 index 1073741156..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/400_fmtp_g7221_with_bitrate.py +++ /dev/null @@ -1,34 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Answer for codec G722.1 should contain fmtp bitrate - -sdp = \ -""" -v=0 -o=- 3428650655 3428650655 IN IP4 192.168.1.9 -s=pjmedia -c=IN IP4 192.168.1.9 -t=0 0 -a=X-nat:0 -m=audio 4000 RTP/AVP 99 100 101 -a=rtcp:4001 IN IP4 192.168.1.9 -a=rtpmap:99 G7221/16000 -a=fmtp:99 bitrate=24000 -a=rtpmap:100 G7221/16000 -a=fmtp:100 bitrate=32000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -pjsua_args = "--null-audio --auto-answer 200 --add-codec G7221" -extra_headers = "" -include = ["fmtp:[\d]+ bitrate="] # response must include fmtp bitrate -exclude = [] - -sendto_cfg = sip.SendtoCfg("Answer should contain fmtp bitrate for codec G722.1", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/401_fmtp_g7221_with_bitrate_24000.py b/res/pjproject/tests/pjsua/scripts-sendto/401_fmtp_g7221_with_bitrate_24000.py deleted file mode 100644 index 93976c072a..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/401_fmtp_g7221_with_bitrate_24000.py +++ /dev/null @@ -1,35 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Answer with codec G722.1 should choose the same bitrate -# which in this test is 24000 - -sdp = \ -""" -v=0 -o=- 3428650655 3428650655 IN IP4 192.168.1.9 -s=pjmedia -c=IN IP4 192.168.1.9 -t=0 0 -a=X-nat:0 -m=audio 4000 RTP/AVP 100 101 -a=rtcp:4001 IN IP4 192.168.1.9 -a=rtpmap:100 G7221/16000 -a=fmtp:100 bitrate=24000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -pjsua_args = "--null-audio --auto-answer 200 --add-codec G7221" -extra_headers = "" -include = ["a=rtpmap:[\d]+ G7221/16000", # response must choose G722.1 - "fmtp:[\d]+ bitrate=24000" # response must choose the same bitrate - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Answer with G722.1 should choose bitrate 24000", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/401_fmtp_g7221_with_bitrate_32000.py b/res/pjproject/tests/pjsua/scripts-sendto/401_fmtp_g7221_with_bitrate_32000.py deleted file mode 100644 index 38532d2ef1..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/401_fmtp_g7221_with_bitrate_32000.py +++ /dev/null @@ -1,35 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Answer with codec G722.1 should choose the same bitrate -# which in this test is 32000 - -sdp = \ -""" -v=0 -o=- 3428650655 3428650655 IN IP4 192.168.1.9 -s=pjmedia -c=IN IP4 192.168.1.9 -t=0 0 -a=X-nat:0 -m=audio 4000 RTP/AVP 100 101 -a=rtcp:4001 IN IP4 192.168.1.9 -a=rtpmap:100 G7221/16000 -a=fmtp:100 bitrate=32000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -pjsua_args = "--null-audio --auto-answer 200 --add-codec G7221" -extra_headers = "" -include = ["a=rtpmap:[\d]+ G7221/16000", # response must choose G722.1 - "fmtp:[\d]+ bitrate=32000" # response must choose the same bitrate - ] -exclude = [] - -sendto_cfg = sip.SendtoCfg("Answer with G722.1 should choose bitrate 32000", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/410_fmtp_amrnb_offer_octet_align.py b/res/pjproject/tests/pjsua/scripts-sendto/410_fmtp_amrnb_offer_octet_align.py deleted file mode 100644 index 61662b7960..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/410_fmtp_amrnb_offer_octet_align.py +++ /dev/null @@ -1,32 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Answer for codec AMR should contain fmtp octet-align=1 - -sdp = \ -""" -v=0 -o=- 3428650655 3428650655 IN IP4 192.168.1.9 -s=pjmedia -c=IN IP4 192.168.1.9 -t=0 0 -a=X-nat:0 -m=audio 4000 RTP/AVP 99 101 -a=rtcp:4001 IN IP4 192.168.1.9 -a=rtpmap:99 AMR/8000 -a=fmtp:99 octet-align=1 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -pjsua_args = "--null-audio --auto-answer 200 --add-codec AMR" -extra_headers = "" -include = ["octet-align=1"] # response must include 'octet-align=1' -exclude = [] - -sendto_cfg = sip.SendtoCfg("AMR negotiation should response with fmtp 'octet-align=1'", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/411_fmtp_amrnb_offer_band_eff.py b/res/pjproject/tests/pjsua/scripts-sendto/411_fmtp_amrnb_offer_band_eff.py deleted file mode 100644 index 6299f4ed0e..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/411_fmtp_amrnb_offer_band_eff.py +++ /dev/null @@ -1,31 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Answer for codec AMR should not contain fmtp octet-align=1 - -sdp = \ -""" -v=0 -o=- 3428650655 3428650655 IN IP4 192.168.1.9 -s=pjmedia -c=IN IP4 192.168.1.9 -t=0 0 -a=X-nat:0 -m=audio 4000 RTP/AVP 99 101 -a=rtcp:4001 IN IP4 192.168.1.9 -a=rtpmap:99 AMR/8000 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -pjsua_args = "--null-audio --auto-answer 200 --add-codec AMR" -extra_headers = "" -include = [""] -exclude = ["octet-align=1"] # response must not include fmtp 'octet-align=1' - -sendto_cfg = sip.SendtoCfg("AMR negotiation should not contain 'octet-align=1'", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/412_fmtp_amrnb_offer_band_eff2.py b/res/pjproject/tests/pjsua/scripts-sendto/412_fmtp_amrnb_offer_band_eff2.py deleted file mode 100644 index d35c805995..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/412_fmtp_amrnb_offer_band_eff2.py +++ /dev/null @@ -1,32 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Answer for codec AMR should not contain fmtp octet-align=1 - -sdp = \ -""" -v=0 -o=- 3428650655 3428650655 IN IP4 192.168.1.9 -s=pjmedia -c=IN IP4 192.168.1.9 -t=0 0 -a=X-nat:0 -m=audio 4000 RTP/AVP 99 101 -a=rtcp:4001 IN IP4 192.168.1.9 -a=rtpmap:99 AMR/8000 -a=fmtp:99 octet-align=0 -a=sendrecv -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-15 -""" - -pjsua_args = "--null-audio --auto-answer 200 --add-codec AMR" -extra_headers = "" -include = [""] -exclude = ["octet-align=1"] # response must not include fmtp 'octet-align=1' - -sendto_cfg = sip.SendtoCfg("AMR negotiation should not contain 'octet-align=1'", pjsua_args, sdp, 200, - extra_headers=extra_headers, - resp_inc=include, resp_exc=exclude) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/500_pres_subscribe_with_bad_event.py b/res/pjproject/tests/pjsua/scripts-sendto/500_pres_subscribe_with_bad_event.py deleted file mode 100644 index 70f5ab9460..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/500_pres_subscribe_with_bad_event.py +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Ticket http://trac.pjsip.org/repos/ticket/623, based on -# http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2008-September/004709.html: -# -# Assertion when receiving SUBSCRIBE with non-presence Event. -complete_msg = \ -"""SUBSCRIBE sip:localhost;transport=UDP SIP/2.0 -Call-ID: f20e8783e764cae325dba17be4b8fe19@10.0.2.15 -CSeq: 1 SUBSCRIBE -From: ;tag=1710895 -To: -Via: SIP/2.0/UDP localhost;rport;branch=z9hG4bKd88a.18c427d2.0 -Max-Forwards: 69 -Event: message-summary -Contact: -Allow: NOTIFY, SUBSCRIBE -Content-Length: 0 - -""" - - -sendto_cfg = sip.SendtoCfg( "Incoming SUBSCRIBE with non presence", - "--null-audio", - "", 489, complete_msg=complete_msg) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/999_asterisk_err.py b/res/pjproject/tests/pjsua/scripts-sendto/999_asterisk_err.py deleted file mode 100644 index 580b46de41..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/999_asterisk_err.py +++ /dev/null @@ -1,45 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2008-June/003426.html: -# -# Report in pjsip mailing list on 27/6/2008 that this message will -# cause pjsip to respond with 500 and then second request will cause -# segfault. -complete_msg = \ -"""INVITE sip:5001@192.168.1.200:5060;transport=UDP SIP/2.0 -Via: SIP/2.0/UDP 192.168.1.11:5060;branch=z9hG4bK74a60ee5;rport -From: \"A user\" ;tag=as2858a32c -To: -Contact: -Call-ID: 0bc7612c665e875a4a46411442b930a6@192.168.1.11 -CSeq: 102 INVITE -User-Agent: Asterisk PBX -Max-Forwards: 70 -Date: Fri, 27 Jun 2008 08:46:47 GMT -Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY -Supported: replaces -Content-Type: application/sdp -Content-Length: 285 - -v=0 -o=root 4236 4236 IN IP4 192.168.1.11 -s=session -c=IN IP4 192.168.1.11 -t=0 0 -m=audio 14390 RTP/AVP 0 3 8 101 -a=rtpmap:0 PCMU/8000 -a=rtpmap:3 GSM/8000 -a=rtpmap:8 PCMA/8000 -a=rtpmap:101 telephone-event/8000 -a=fmtp:101 0-16 -a=silenceSupp:off - - - - -a=ptime:20 -a=sendrecv -""" - - -sendto_cfg = sip.SendtoCfg( "Asterisk 500", "--null-audio --auto-answer 200", - "", 200, complete_msg=complete_msg) - diff --git a/res/pjproject/tests/pjsua/scripts-sendto/999_message_no_body.py b/res/pjproject/tests/pjsua/scripts-sendto/999_message_no_body.py deleted file mode 100644 index c009601458..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sendto/999_message_no_body.py +++ /dev/null @@ -1,24 +0,0 @@ -# $Id$ -import inc_sip as sip -import inc_sdp as sdp - -# Incoming MESSAGE without body is now accepted -# -complete_msg = \ -"""MESSAGE sip:localhost SIP/2.0 -Via: SIP/2.0/UDP 192.168.0.14:5060;rport;branch=z9hG4bKPj9db9 -Max-Forwards: 70 -From: ;tag=08cd5bfc2d8a4fddb1f5e59c6961d298 -To: -Call-ID: 3373d9eb32aa458db7e69c7ea51e0bd7 -CSeq: 23809 MESSAGE -Contact: -User-Agent: PJSUA v0.8.0-trunk/win32 -Content-Type: text/plain -Content-Length: 50 -""" - - -sendto_cfg = sip.SendtoCfg( "empty MESSAGE", "--null-audio --auto-answer 200", - "", 200, complete_msg=complete_msg) - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/inv_401_retry_after_100.xml b/res/pjproject/tests/pjsua/scripts-sipp/inv_401_retry_after_100.xml deleted file mode 100644 index 6debd134c9..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/inv_401_retry_after_100.xml +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/prack_fork.xml b/res/pjproject/tests/pjsua/scripts-sipp/prack_fork.xml deleted file mode 100644 index 81d917fa0a..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/prack_fork.xml +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ]]> - - - - - - ]]> - - - - - - - - - - - - - - - Content-Type: application/sdp - - v=0 - o=- 3442013205 3442013205 IN IP4 192.168.0.13 - s=pjsip - c=IN IP4 192.168.0.13 - t=0 0 - m=audio 4002 RTP/AVP 0 - a=rtpmap:0 PCMU/8000 - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/strict-route.xml b/res/pjproject/tests/pjsua/scripts-sipp/strict-route.xml deleted file mode 100644 index 788fc5287d..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/strict-route.xml +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Record-route: - Content-Type: application/sdp - - v=0 - o=- 3442013205 3442013205 IN IP4 192.168.0.13 - s=pjsip - c=IN IP4 192.168.0.13 - t=0 0 - m=audio 4002 RTP/AVP 0 - a=rtpmap:0 PCMU/8000 - ]]> - - - - - Record-route: - Content-Type: application/sdp - - v=0 - o=- 3442013205 3442013205 IN IP4 192.168.0.13 - s=pjsip - c=IN IP4 192.168.0.13 - t=0 0 - m=audio 4002 RTP/AVP 0 - a=rtpmap:0 PCMU/8000 - ]]> - - - - - - - - Record-route: - Content-Type: application/sdp - - v=0 - o=- 3442013205 3442013205 IN IP4 192.168.0.13 - s=pjsip - c=IN IP4 192.168.0.13 - t=0 0 - m=audio 4002 RTP/AVP 0 - a=rtpmap:0 PCMU/8000 - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uac-bad-ack.xml b/res/pjproject/tests/pjsua/scripts-sipp/uac-bad-ack.xml deleted file mode 100644 index d93e30c51d..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uac-bad-ack.xml +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - ;tag=[call_number] - To: sut - Call-ID: [call_id] - CSeq: 1 INVITE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Type: application/sdp - Content-Length: [len] - - v=0 - o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip] - s=- - c=IN IP[media_ip_type] [media_ip] - t=0 0 - m=audio [media_port] RTP/AVP 0 - a=rtpmap:0 PCMU/8000 - - ]]> - - - - - - - - - - - - - - - - - - ;tag=[call_number] - To: sut [peer_tag_param] - Call-ID: [call_id] - CSeq: 1 ACK - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Length: 0 - - ]]> - - - - - - - - - ;tag=[call_number] - To: sut [peer_tag_param] - Call-ID: [call_id] - CSeq: 2 BYE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Length: 0 - - ]]> - - - - - - - - - ;tag=[call_number] - To: sut [peer_tag_param] - Call-ID: [call_id] - CSeq: 2 BYE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Length: 0 - - ]]> - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uac-inv-and-ack-without-sdp.xml b/res/pjproject/tests/pjsua/scripts-sipp/uac-inv-and-ack-without-sdp.xml deleted file mode 100644 index a61aba77cf..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uac-inv-and-ack-without-sdp.xml +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - ;tag=[call_number] - To: sut - Call-ID: [call_id] - CSeq: 1 INVITE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Type: application/sdp - Content-Length: [len] - - ]]> - - - - - - - - - - - - - ;tag=[call_number] - To: sut [peer_tag_param] - Call-ID: [call_id] - CSeq: 1 ACK - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Length: 0 - - ]]> - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uac-inv-multiple-require.xml b/res/pjproject/tests/pjsua/scripts-sipp/uac-inv-multiple-require.xml deleted file mode 100644 index 137b68623d..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uac-inv-multiple-require.xml +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - ;tag=[call_number] - To: sut - Call-ID: [call_id] - CSeq: 1 INVITE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Require: timer - Require: toto - Subject: Performance Test - Content-Type: application/sdp - Content-Length: [len] - - v=0 - o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip] - s=- - c=IN IP[media_ip_type] [media_ip] - t=0 0 - m=audio [media_port] RTP/AVP 0 - a=rtpmap:0 PCMU/8000 - - ]]> - - - - - - - - - - - - - ;tag=[call_number] - To: sut [peer_tag_param] - Call-ID: [call_id] - CSeq: 1 ACK - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Length: 0 - - ]]> - - - - - - ;tag=[call_number] - To: sut [peer_tag_param] - Call-ID: [call_id] - CSeq: 2 BYE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Length: 0 - - ]]> - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uac-inv-two-media-but-one-disabled-no-rtpmap.xml b/res/pjproject/tests/pjsua/scripts-sipp/uac-inv-two-media-but-one-disabled-no-rtpmap.xml deleted file mode 100644 index c8ae534d8a..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uac-inv-two-media-but-one-disabled-no-rtpmap.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - ;tag=[call_number] - To: sut [peer_tag_param] - Call-ID: [call_id] - CSeq: 3 INVITE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Type: application/sdp - Content-Length: [len] - - v=0 - o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip] - s=- - c=IN IP[media_ip_type] [media_ip] - t=0 0 - m=audio 4000 RTP/AVP 0 - m=video 0 RTP/AVP 100 - - ]]> - - - - - - - - - - - ;tag=[call_number] - To: sut [peer_tag_param] - Call-ID: [call_id] - CSeq: 3 ACK - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Length: 0 - - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uac-message-no-body.xml b/res/pjproject/tests/pjsua/scripts-sipp/uac-message-no-body.xml deleted file mode 100644 index 1b7f072412..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uac-message-no-body.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - ;tag=[call_number] - To: sut - Call-ID: [call_id] - CSeq: 1 MESSAGE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Message without body - Content-Length: 0 - - ]]> - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uac-options.xml b/res/pjproject/tests/pjsua/scripts-sipp/uac-options.xml deleted file mode 100644 index d017cd87d7..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uac-options.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - ;tag=[call_number] - To: sut - Call-ID: [call_id] - CSeq: 1 OPTIONS - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Length: [len] - - ]]> - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uac-reinvite-bad-via-branch.xml b/res/pjproject/tests/pjsua/scripts-sipp/uac-reinvite-bad-via-branch.xml deleted file mode 100644 index 1456c1e795..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uac-reinvite-bad-via-branch.xml +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - ;tag=[call_number] - To: sut - Call-ID: [call_id] - CSeq: 1 INVITE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Type: application/sdp - Content-Length: [len] - - v=0 - o=Tester 234 123 IN IP4 127.0.0.1 - s=Tester - c=IN IP4 127.0.0.1 - t=0 0 - m=audio 17424 RTP/AVP 0 101 - a=rtpmap:101 telephone-event/8000 - a=sendrecv - - ]]> - - - - - - - - - - - - - - - - - - ;tag=[call_number] - To: sut [peer_tag_param] - Call-ID: [call_id] - CSeq: 1 ACK - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Length: 0 - - ]]> - - - - - - ;tag=[call_number] - To: sut [peer_tag_param] - Call-ID: [call_id] - CSeq: 2 INVITE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Type: application/sdp - Content-Length: [len] - - v=0 - o=Tester 234 124 IN IP4 127.0.0.1 - s=Tester - c=IN IP4 127.0.0.1 - t=0 0 - m=audio 17424 RTP/AVP 0 101 - a=rtpmap:101 telephone-event/8000 - - - ]]> - - - - - - - - - - - - ;tag=[call_number] - To: sut [peer_tag_param] - Call-ID: [call_id] - CSeq: 2 ACK - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Length: 0 - - ]]> - - - - - - - - - ;tag=[call_number] - To: sut [peer_tag_param] - Call-ID: [call_id] - CSeq: 3 BYE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Length: 0 - - ]]> - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uac-reinvite-port-0-bad-sdp.xml b/res/pjproject/tests/pjsua/scripts-sipp/uac-reinvite-port-0-bad-sdp.xml deleted file mode 100644 index d1cc04f3c1..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uac-reinvite-port-0-bad-sdp.xml +++ /dev/null @@ -1,207 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - ;tag=[call_number] - To: sut - Call-ID: [call_id] - CSeq: 1 INVITE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Type: application/sdp - Content-Length: [len] - - v=0 - o=Tester 234 123 IN IP4 89.208.145.194 - s=Tester - c=IN IP4 89.208.145.194 - t=0 0 - m=audio 17424 RTP/AVP 111 0 18 101 - a=rtpmap:111 SPEEX/16000 - a=rtpmap:0 PCMU/8000 - a=rtpmap:18 G729/8000 - a=rtpmap:101 telephone-event/8000 - a=sendrecv - a=rtcp:17425 - m=video 11128 RTP/AVP 34 103 104 - a=rtpmap:34 H263/90000 - a=rtpmap:103 H263-1998/90000 - a=rtpmap:104 H264/90000 - a=sendrecv - a=rtcp:11129 - - ]]> - - - - - - - - - - - - - - - - - - ;tag=[call_number] - To: sut [peer_tag_param] - Call-ID: [call_id] - CSeq: 1 ACK - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Length: 0 - - ]]> - - - - - - - - ;tag=[call_number] - To: sut [peer_tag_param] - Call-ID: [call_id] - CSeq: 2 INVITE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Type: application/sdp - Content-Length: [len] - - v=0 - o=Tester 234 124 IN IP4 89.208.145.194 - s=Tester - c=IN IP4 89.208.145.194 - t=0 0 - m=audio 17424 RTP/AVP 111 0 18 101 - a=rtpmap:111 SPEEX/16000 - a=rtpmap:0 PCMU/8000 - a=rtpmap:18 G729/8000 - a=rtpmap:101 telephone-event/8000 - a=sendrecv - a=rtcp:17425 - m=video 0 RTP/AVP 34 103 104 - a=sendrecv - - - ]]> - - - - - - - - - - - - ;tag=[call_number] - To: sut [peer_tag_param] - Call-ID: [call_id] - CSeq: 2 ACK - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Length: 0 - - ]]> - - - - - - - - - ;tag=[call_number] - To: sut [peer_tag_param] - Call-ID: [call_id] - CSeq: 3 BYE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Length: 0 - - ]]> - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uac-subscribe.xml b/res/pjproject/tests/pjsua/scripts-sipp/uac-subscribe.xml deleted file mode 100644 index b2205ea736..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uac-subscribe.xml +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - ;tag=[call_number] - To: sut - Call-ID: [call_id] - CSeq: 1 SUBSCRIBE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Event: presence - Expires: 600 - Accept: application/pidf+xml, application/xpidf+xml - Allow-Events: presence, refer - Content-Length: 0 - - ]]> - - - - - - - - - - - - - - ;tag=[call_number] - To: sut - Call-ID: [call_id] - CSeq: 2 SUBSCRIBE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Event: presence - Expires: 0 - Accept: application/pidf+xml, application/xpidf+xml - Allow-Events: presence, refer - Content-Length: 0 - - ]]> - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uac-ticket-1148.xml b/res/pjproject/tests/pjsua/scripts-sipp/uac-ticket-1148.xml deleted file mode 100644 index 154b537cde..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uac-ticket-1148.xml +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - ;tag=[call_number] - To: sut [peer_tag_param] - Call-ID: [call_id] - CSeq: 3 INVITE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Type: application/sdp - Content-Length: [len] - - v=0 - o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip] - s=- - c=IN IP[media_ip_type] [media_ip] - t=0 0 - m=audio 4000 RTP/AVP 0 - m=video 5000 RTP/AVP 100 - a=rtpmap:100 H261/90000 - - ]]> - - - - - - - - - - - ;tag=[call_number] - To: sut [peer_tag_param] - Call-ID: [call_id] - CSeq: 3 ACK - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Subject: Performance Test - Content-Length: 0 - - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-422-then-200-bad-se.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-422-then-200-bad-se.xml deleted file mode 100644 index 1d6c711771..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-422-then-200-bad-se.xml +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Min-SE: 5400 - Content-Length: 0 - - ]]> - - - - - - - - - - - - Supported: replaces - Session-Expires: 3600;refresher=uas - Require: timer - Content-Type: application/sdp - Content-Disposition: session;handling=required - Content-Length: [len] - - v=0 - o=Some-UserAgent 68 210 IN IP4 [local_ip] - s=SIP Call - c=IN IP4 [local_ip] - t=0 0 - m=audio 17294 RTP/AVP 18 101 - c=IN IP4 [local_ip] - a=rtpmap:18 G729/8000 - a=fmtp:18 annexb=no - a=rtpmap:101 telephone-event/8000 - a=fmtp:101 0-16 - a=ptime:20 - - ]]> - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-180-multiple-fmts-support-update.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-180-multiple-fmts-support-update.xml deleted file mode 100644 index e75e7c76c7..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-180-multiple-fmts-support-update.xml +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 1 BYE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-180-multiple-fmts.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-180-multiple-fmts.xml deleted file mode 100644 index bc27c9dfe3..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-180-multiple-fmts.xml +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 1 BYE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-200-inv-without-sdp.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-200-inv-without-sdp.xml deleted file mode 100644 index 70a3b5f0f0..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-200-inv-without-sdp.xml +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-200-multiple-fmts-support-update.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-200-multiple-fmts-support-update.xml deleted file mode 100644 index 5d57600345..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-200-multiple-fmts-support-update.xml +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 1 BYE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-200-multiple-fmts.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-200-multiple-fmts.xml deleted file mode 100644 index 4e4170d2be..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-200-multiple-fmts.xml +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 1 BYE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-200-reinvite-without-sdp.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-200-reinvite-without-sdp.xml deleted file mode 100644 index 7634545f93..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-200-reinvite-without-sdp.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-200-update-without-sdp.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-200-update-without-sdp.xml deleted file mode 100644 index 646e1f4f9f..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-answer-200-update-without-sdp.xml +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-auth.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-auth.xml deleted file mode 100644 index ed5d926dc0..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-auth.xml +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-cancel-no-final.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-cancel-no-final.xml deleted file mode 100644 index e96f2a3740..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-cancel-no-final.xml +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - Content-Length: 0 - - ]]> - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-early-bye.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-early-bye.xml deleted file mode 100644 index 216b8b45bf..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-early-bye.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 1 BYE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-forked-100rel.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-forked-100rel.xml deleted file mode 100644 index c2f2044b02..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-forked-100rel.xml +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Require: 100rel - RSeq: 1000 - Content-Length: 0 - ]]> - - - - - - - - - - - - - - - - Require: 100rel - RSeq: 2000 - Content-Length: 0 - ]]> - - - - - - - - - - - - - - - - Require: 100rel - RSeq: 2001 - Content-Length: 0 - ]]> - - - - - - - - - - - - - - - - Require: 100rel - RSeq: 2004 - Content-Length: 0 - ]]> - - - - - - - - Require: 100rel - RSeq: 1001 - Content-Length: 0 - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-forked-200.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-forked-200.xml deleted file mode 100644 index 229f7d89d8..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-forked-200.xml +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Content-Type: application/sdp - - v=0 - o=- 3442013205 3442013205 IN IP4 192.168.0.13 - s=pjsip - c=IN IP4 192.168.0.13 - t=0 0 - m=audio 4002 RTP/AVP 0 - a=rtpmap:0 PCMU/8000 - ]]> - - - - - - Content-Type: application/sdp - - v=0 - o=- 3442013205 3442013205 IN IP4 192.168.0.13 - s=pjsip - c=IN IP4 192.168.0.13 - t=0 0 - m=audio 4002 RTP/AVP 0 - a=rtpmap:0 PCMU/8000 - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-invite.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-invite.xml deleted file mode 100644 index df9a9bd558..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-invite.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Content-Type: application/sdp - - v=0 - o=- 3441953879 3441953879 IN IP4 192.168.0.15 - s=pjmedia - c=IN IP4 192.168.0.15 - t=0 0 - m=audio 4004 RTP/SAVP 0 101 - a=rtpmap:0 PCMU/8000 - a=rtpmap:101 telephone-event/8000 - a=fmtp:101 0-15 - a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:D4Mf5fIPqxwse/lLrVc2XhLk7NSL6JI0k0Jps4Br - - ]]> - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-mwi-0.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-mwi-0.xml deleted file mode 100644 index 0e4efdd9c9..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-mwi-0.xml +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Content-Length: 0 - Expires: 600 - ]]> - - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 1 NOTIFY - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Event: message-summary - Subscription-State: terminated;reason=goinghome - Content-Type: application/simple-message-summary - Content-Length: [len] - - Messages-Waiting: yes - Voice-Message: 4/8 (1/2) - - ]]> - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-mwi.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-mwi.xml deleted file mode 100644 index de2db5a493..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-mwi.xml +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Content-Length: 0 - Expires: 600 - ]]> - - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 1 NOTIFY - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Event: message-summary - Subscription-State: active;expires=50 - Content-Type: application/simple-message-summary - Content-Length: [len] - - Messages-Waiting: yes - Voice-Message: 4/8 (1/2) - - ]]> - - - - - - - - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 2 NOTIFY - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Event: message-summary - Subscription-State: terminated;reason=noresource - Content-Type: application/simple-message-summary - Content-Length: [len] - - Messages-Waiting: yes - Voice-Message: 4/8 (1/2) - - ]]> - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-reinv-and-ack(same-branch)-without-sdp.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-reinv-and-ack(same-branch)-without-sdp.xml deleted file mode 100644 index cab4e535c4..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-reinv-and-ack(same-branch)-without-sdp.xml +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 1 INVITE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 1 ACK - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-reinv-and-ack-without-sdp.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-reinv-and-ack-without-sdp.xml deleted file mode 100644 index 90e1cec688..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-reinv-and-ack-without-sdp.xml +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 1 INVITE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 1 ACK - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-reinv-glare.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-reinv-glare.xml deleted file mode 100644 index 60c65f73e5..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-reinv-glare.xml +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 1 INVITE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Content-Type: application/sdp - Content-Length: [len] - - v=0 - o=- 2 2 IN IP4 192.168.0.15 - s=pjmedia - c=IN IP4 192.168.0.15 - t=0 0 - m=audio 4004 RTP/AVP 0 - - ]]> - - - - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 1 INVITE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-reinv-no-media.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-reinv-no-media.xml deleted file mode 100644 index 1c16fdd463..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-reinv-no-media.xml +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 1 INVITE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Content-Type: application/sdp - Content-Length: [len] - - v=0 - o=- 2 2 IN IP4 192.168.0.15 - s=pjmedia - c=IN IP4 192.168.0.15 - t=0 0 - m=audio 0 RTP/AVP 0 - - ]]> - - - - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 1 INVITE - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-subscribe-late-notify.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-subscribe-late-notify.xml deleted file mode 100644 index f53a78b705..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-subscribe-late-notify.xml +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Content-Length: 0 - Expires: 60 - ]]> - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 1 NOTIFY - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Event: presence - Subscription-State: active;expires=50 - Content-Type: application/pidf+xml - - - - - - open - - - closed - - active - - org.openmobilealliance:PoC-session - 1.0 - - - - ]]> - - - - - - - - - - - - Content-Length: 0 - Expires: 60 - ]]> - - - - - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 2 NOTIFY - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Event: presence - Subscription-State: terminated;reason=timeout - Content-Length: 0 - ]]> - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-subscribe-multipart-notify.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-subscribe-multipart-notify.xml deleted file mode 100644 index 7cfdef2764..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-subscribe-multipart-notify.xml +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Content-Length: 0 - Expires: 60 - ]]> - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 1 NOTIFY - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Event: presence - Subscription-State: active;expires=50 - Content-Type: multipart/mixed;boundary=abcd - - --abcd - Content-Type: text/plain - - Hi there, please don't read this part. - --abcd - Content-Type: application/pidf+xml - - - - - - open - - - - --abcd-- - ]]> - - - - - - - - - - - - - - - - Content-Length: 0 - ]]> - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-subscribe-notify-terminate.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-subscribe-notify-terminate.xml deleted file mode 100644 index e6f1186c0c..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-subscribe-notify-terminate.xml +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Content-Length: 0 - Expires: 0 - ]]> - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 1 NOTIFY - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Event: presence - Subscription-State: terminated;reason=timeout - Content-Type: application/pidf+xml - - - - - - open - - - closed - - active - - org.openmobilealliance:PoC-session - 1.0 - - - - ]]> - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-subscribe-refresh-481.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-subscribe-refresh-481.xml deleted file mode 100644 index 09b37e3343..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-subscribe-refresh-481.xml +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Content-Length: 0 - Expires: 60 - ]]> - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 1 NOTIFY - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Event: presence - Subscription-State: active;expires=50 - Content-Type: application/pidf+xml - - - - - - open - - - - ]]> - - - - - - - - - - - - - - - - Content-Length: 0 - ]]> - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-subscribe-terminated-retry.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-subscribe-terminated-retry.xml deleted file mode 100644 index ca0d1612ad..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-subscribe-terminated-retry.xml +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Content-Length: 0 - Expires: 60 - ]]> - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 1 NOTIFY - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Event: presence - Subscription-State: active;expires=50 - Content-Type: application/pidf+xml - - - - - - open - - - - ]]> - - - - - - - - - - - - - ;tag=[call_number] - To[$3] - Call-ID: [call_id] - Cseq: 3 NOTIFY - Contact: sip:sipp@[local_ip]:[local_port] - Max-Forwards: 70 - Event: presence - Subscription-State: terminated;reason=probation;retry-after=5 - Content-Length: 0 - ]]> - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-template.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-template.xml deleted file mode 100644 index d51f89c897..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-template.xml +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Content-Length: 0 - ]]> - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-timer-reinvite.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-timer-reinvite.xml deleted file mode 100644 index fe5169bb81..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-timer-reinvite.xml +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Require: timer - Session-Expires: 90;refresher=uac - Content-Type: application/sdp - Content-Length: [len] - - v=0 - o=Some-UserAgent 68 210 IN IP4 [local_ip] - s=SIP Call - c=IN IP4 [local_ip] - t=0 0 - m=audio 17294 RTP/AVP 0 101 - c=IN IP4 [local_ip] - a=rtpmap:101 telephone-event/8000 - a=fmtp:101 0-16 - ]]> - - - - - - - - - - - Require: timer - Session-Expires: 90;refresher=uac - Content-Type: application/sdp - Content-Length: [len] - - v=0 - o=Some-UserAgent 68 210 IN IP4 [local_ip] - s=SIP Call - c=IN IP4 [local_ip] - t=0 0 - m=audio 17294 RTP/AVP 0 101 - c=IN IP4 [local_ip] - a=rtpmap:101 telephone-event/8000 - a=fmtp:101 0-16 - ]]> - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas-timer-update.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas-timer-update.xml deleted file mode 100644 index 11a59734df..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas-timer-update.xml +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Allow: UPDATE, INVITE - Require: timer - Session-Expires: 90;refresher=uac - Content-Type: application/sdp - Content-Length: [len] - - v=0 - o=Some-UserAgent 68 210 IN IP4 [local_ip] - s=SIP Call - c=IN IP4 [local_ip] - t=0 0 - m=audio 17294 RTP/AVP 0 101 - c=IN IP4 [local_ip] - a=rtpmap:101 telephone-event/8000 - a=fmtp:101 0-16 - ]]> - - - - - - - - - - - Allow: INVITE - Require: timer - Session-Expires: 90;refresher=uac - Content-Length: 0 - ]]> - - - - - - - - Allow: INVITE - Require: timer - Session-Expires: 90;refresher=uac - Content-Type: application/sdp - Content-Length: [len] - - v=0 - o=Some-UserAgent 68 210 IN IP4 [local_ip] - s=SIP Call - c=IN IP4 [local_ip] - t=0 0 - m=audio 17294 RTP/AVP 0 101 - c=IN IP4 [local_ip] - a=rtpmap:101 telephone-event/8000 - a=fmtp:101 0-16 - ]]> - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/scripts-sipp/uas.xml b/res/pjproject/tests/pjsua/scripts-sipp/uas.xml deleted file mode 100644 index 005f9fe11d..0000000000 --- a/res/pjproject/tests/pjsua/scripts-sipp/uas.xml +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/tests/pjsua/tools/Makefile b/res/pjproject/tests/pjsua/tools/Makefile deleted file mode 100644 index 189eb00c15..0000000000 --- a/res/pjproject/tests/pjsua/tools/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -#Modify this to point to the PJSIP location. -PJBASE=~/Desktop/project/pjproject - -include $(PJBASE)/build.mak - -CC = $(APP_CC) -LDFLAGS = $(APP_LDFLAGS) -LDLIBS = $(APP_LDLIBS) -CFLAGS = $(APP_CFLAGS) -CPPFLAGS= ${CFLAGS} - -# If your application is in a file named myapp.cpp or myapp.c -# # this is the line you will need to build the binary. -# all: myapp -# -cmp_wav: cmp_wav.c - $(CC) -o $@ $< $(CPPFLAGS) $(LDFLAGS) $(LDLIBS) - -clean: - rm -f cmp_wav.o cmp_wav - diff --git a/res/pjproject/tests/pjsua/tools/cmp_wav.c b/res/pjproject/tests/pjsua/tools/cmp_wav.c deleted file mode 100644 index bcf6c3a3bc..0000000000 --- a/res/pjproject/tests/pjsua/tools/cmp_wav.c +++ /dev/null @@ -1,262 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) - * Copyright (C) 2003-2008 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#include -#include -#include -#include -#include - -#define app_perror(a,b,c) printf("%s: %s (%d)", a, b, c) - - -/* For logging purpose. */ -#define THIS_FILE "cmp_wav.c" -#define BYTES_PER_FRAME 512 - -static const char *desc = -" FILE \n" -" \n" -" cmp_wav.c \n" -" \n" -" PURPOSE \n" -" \n" -" Compare two WAV files. \n" -" \n" -" USAGE \n" -" \n" -" cmp_wav ORIGINAL_WAV DEGRADED_WAV [TIME] [DETAIL] \n" -" \n" -" ORIGINAL_WAV The original WAV file as reference. \n" -" DEGRADED_WAV The degraded WAV file. \n" -" TIME Compare only some part of the files \n" -" (in ms, since the beginning). \n" -" Specify 0 (default) to compare the whole time. \n" -" DETAIL Show detail result, 1 or 0 (default=0, means no)\n" -" \n" -" Both files must have same clock rate and must contain \n" -" uncompressed (i.e. 16bit) PCM. \n"; - - -/* Sum of multiplication of corresponding samples in buf1 & buf2 */ -double sum_mult_sig(pj_int16_t *buf1, pj_int16_t *buf2, unsigned nsamples) -{ - double mag = 0; - - while (nsamples--) - mag += (double)*buf1++ * (double)*buf2++; - - return mag; -} - - -/* - * main() - */ -int main(int argc, char *argv[]) -{ - pj_caching_pool cp; - pjmedia_endpt *med_endpt; - pj_pool_t *pool; - pjmedia_port *file_ori_port; - pjmedia_port *file_deg_port; - pj_status_t status; - unsigned first_nsamples = 0; - unsigned samples_compared = 0; - - char buf1[BYTES_PER_FRAME]; - char buf2[BYTES_PER_FRAME]; - - double ref_mag = 0; - double deg_mag = 0; - double mix_mag = 0; - - int detail = 0; - int res_deg, res_mix, res_overall; - - if (argc < 3) { - puts("Error: original & degraded filename required"); - puts(desc); - return 1; - } - - /* Set log level. */ - pj_log_set_level(3); - - /* Must init PJLIB first: */ - status = pj_init(); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Must create a pool factory before we can allocate any memory. */ - pj_caching_pool_init(&cp, &pj_pool_factory_default_policy, 0); - - /* - * Initialize media endpoint. - * This will implicitly initialize PJMEDIA too. - */ - status = pjmedia_endpt_create(&cp.factory, NULL, 1, &med_endpt); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Create memory pool for our file player */ - pool = pj_pool_create( &cp.factory, /* pool factory */ - "wav", /* pool name. */ - 4000, /* init size */ - 4000, /* increment size */ - NULL /* callback on error */ - ); - - /* Create file media port from the original WAV file */ - status = pjmedia_wav_player_port_create( pool, /* memory pool */ - argv[1], /* file to play */ - 40, /* ptime. */ - PJMEDIA_FILE_NO_LOOP, /* flags */ - 0, /* default buffer */ - &file_ori_port/* returned port */ - ); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to use WAV file", status); - return 1; - } - - /* Create file media port from the degraded WAV file */ - status = pjmedia_wav_player_port_create( pool, /* memory pool */ - argv[2], /* file to play */ - 40, /* ptime. */ - PJMEDIA_FILE_NO_LOOP, /* flags */ - 0, /* default buffer */ - &file_deg_port/* returned port */ - ); - if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Unable to use WAV file", status); - return 1; - } - - if (file_ori_port->info.clock_rate != file_deg_port->info.clock_rate) { - app_perror(THIS_FILE, "Clock rates must be same.", PJ_EINVAL); - return 1; - } - - if (argc > 3) - first_nsamples = atoi(argv[3]) * file_ori_port->info.clock_rate / 1000; - - if (argc > 4) - detail = atoi(argv[4]); - - while (1) { - pjmedia_frame f1, f2; - - f1.buf = buf1; - f1.size = BYTES_PER_FRAME; - f2.buf = buf2; - f2.size = BYTES_PER_FRAME; - - status = pjmedia_port_get_frame(file_ori_port, &f1); - if (status == PJ_EEOF) { - break; - } else if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Error occured while reading file", status); - break; - } - status = pjmedia_port_get_frame(file_deg_port, &f2); - if (status == PJ_EEOF) { - break; - } else if (status != PJ_SUCCESS) { - app_perror(THIS_FILE, "Error occured while reading file", status); - break; - } - - /* Calculate magnitudes */ - ref_mag += sum_mult_sig(f1.buf, f1.buf, BYTES_PER_FRAME >> 1); - deg_mag += sum_mult_sig(f2.buf, f2.buf, BYTES_PER_FRAME >> 1); - mix_mag += sum_mult_sig(f1.buf, f2.buf, BYTES_PER_FRAME >> 1); - - samples_compared += BYTES_PER_FRAME >> 1; - if (first_nsamples && samples_compared >= first_nsamples) - break; - } - - /* Degraded magnitude compared to reference magnitude - */ - res_deg = (int) (deg_mag / ref_mag * 100.0); - if (res_deg < 0) - res_deg = -1; - else if (res_deg >= 81) - res_deg = 9; - else - res_deg = pj_isqrt(res_deg); - - /* Mixed magnitude (don't know what this is actually :D) compared to - * reference magnitude - */ - res_mix = (int) (mix_mag / ref_mag * 100.0); - if (res_mix < 0) - res_mix = -1; - else if (res_mix >= 81) - res_mix = 9; - else - res_mix = pj_isqrt(res_mix); - - /* Overall score. - * If mixed score is -1, then overall score should be -1 as well. - * Apply no weighting (1:1) for now. - */ - if (res_mix == -1) - res_overall = -1; - else - res_overall = (res_mix*1 + res_deg*1) / 2; - - if (detail) { - printf("Reference = %.0f\n", ref_mag); - printf("Degraded = %.0f\n", deg_mag); - printf("Mixed = %.0f\n", mix_mag); - - printf("\n"); - - printf("Score 1 = %d\n", res_deg); - printf("Score 2 = %d\n", res_mix); - - printf("\n"); - } - - printf("Overall = %d\n", res_overall); - - /* Destroy file port */ - status = pjmedia_port_destroy( file_ori_port ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - status = pjmedia_port_destroy( file_deg_port ); - PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); - - /* Release application pool */ - pj_pool_release( pool ); - - /* Destroy media endpoint. */ - pjmedia_endpt_destroy( med_endpt ); - - /* Destroy pool factory */ - pj_caching_pool_destroy( &cp ); - - /* Shutdown PJLIB */ - pj_shutdown(); - - - /* Done. */ - return 0; -} - diff --git a/res/pjproject/third_party/BaseClasses/amfilter.cpp b/res/pjproject/third_party/BaseClasses/amfilter.cpp deleted file mode 100644 index 740a6c079c..0000000000 --- a/res/pjproject/third_party/BaseClasses/amfilter.cpp +++ /dev/null @@ -1,5363 +0,0 @@ -//------------------------------------------------------------------------------ -// File: AMFilter.cpp -// -// Desc: DirectShow base classes - implements class hierarchy for streams -// architecture. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - - -//===================================================================== -//===================================================================== -// The following classes are declared in this header: -// -// -// CBaseMediaFilter Basic IMediaFilter support (abstract class) -// CBaseFilter Support for IBaseFilter (incl. IMediaFilter) -// CEnumPins Enumerate input and output pins -// CEnumMediaTypes Enumerate the preferred pin formats -// CBasePin Abstract base class for IPin interface -// CBaseOutputPin Adds data provider member functions -// CBaseInputPin Implements IMemInputPin interface -// CMediaSample Basic transport unit for IMemInputPin -// CBaseAllocator General list guff for most allocators -// CMemAllocator Implements memory buffer allocation -// -//===================================================================== -//===================================================================== - -#include - -#if defined(PJMEDIA_VIDEO_DEV_HAS_DSHOW) && PJMEDIA_VIDEO_DEV_HAS_DSHOW != 0 - -#include -#include - -#ifdef DXMPERF -#include "dxmperf.h" -#endif // DXMPERF - - -//===================================================================== -// Helpers -//===================================================================== -STDAPI CreateMemoryAllocator(__deref_out IMemAllocator **ppAllocator) -{ - return CoCreateInstance(CLSID_MemoryAllocator, - 0, - CLSCTX_INPROC_SERVER, - IID_IMemAllocator, - (void **)ppAllocator); -} - -// Put this one here rather than in ctlutil.cpp to avoid linking -// anything brought in by ctlutil.cpp -STDAPI CreatePosPassThru( - __in_opt LPUNKNOWN pAgg, - BOOL bRenderer, - IPin *pPin, - __deref_out IUnknown **ppPassThru -) -{ - *ppPassThru = NULL; - IUnknown *pUnkSeek; - HRESULT hr = CoCreateInstance(CLSID_SeekingPassThru, - pAgg, - CLSCTX_INPROC_SERVER, - IID_IUnknown, - (void **)&pUnkSeek - ); - if (FAILED(hr)) { - return hr; - } - - ISeekingPassThru *pPassThru; - hr = pUnkSeek->QueryInterface(IID_ISeekingPassThru, (void**)&pPassThru); - if (FAILED(hr)) { - pUnkSeek->Release(); - return hr; - } - hr = pPassThru->Init(bRenderer, pPin); - pPassThru->Release(); - if (FAILED(hr)) { - pUnkSeek->Release(); - return hr; - } - *ppPassThru = pUnkSeek; - return S_OK; -} - - - -#define CONNECT_TRACE_LEVEL 3 - -//===================================================================== -//===================================================================== -// Implements CBaseMediaFilter -//===================================================================== -//===================================================================== - - -/* Constructor */ - -CBaseMediaFilter::CBaseMediaFilter(__in_opt LPCTSTR pName, - __inout_opt LPUNKNOWN pUnk, - __in CCritSec *pLock, - REFCLSID clsid) : - CUnknown(pName, pUnk), - m_pLock(pLock), - m_clsid(clsid), - m_State(State_Stopped), - m_pClock(NULL) -{ -} - - -/* Destructor */ - -CBaseMediaFilter::~CBaseMediaFilter() -{ - // must be stopped, but can't call Stop here since - // our critsec has been destroyed. - - /* Release any clock we were using */ - - if (m_pClock) { - m_pClock->Release(); - m_pClock = NULL; - } -} - - -/* Override this to say what interfaces we support and where */ - -STDMETHODIMP -CBaseMediaFilter::NonDelegatingQueryInterface( - REFIID riid, - __deref_out void ** ppv) -{ - if (riid == IID_IMediaFilter) { - return GetInterface((IMediaFilter *) this, ppv); - } else if (riid == IID_IPersist) { - return GetInterface((IPersist *) this, ppv); - } else { - return CUnknown::NonDelegatingQueryInterface(riid, ppv); - } -} - -/* Return the filter's clsid */ -STDMETHODIMP -CBaseMediaFilter::GetClassID(__out CLSID *pClsID) -{ - CheckPointer(pClsID,E_POINTER); - ValidateReadWritePtr(pClsID,sizeof(CLSID)); - *pClsID = m_clsid; - return NOERROR; -} - -/* Override this if your state changes are not done synchronously */ - -STDMETHODIMP -CBaseMediaFilter::GetState(DWORD dwMSecs, __out FILTER_STATE *State) -{ - UNREFERENCED_PARAMETER(dwMSecs); - CheckPointer(State,E_POINTER); - ValidateReadWritePtr(State,sizeof(FILTER_STATE)); - - *State = m_State; - return S_OK; -} - - -/* Set the clock we will use for synchronisation */ - -STDMETHODIMP -CBaseMediaFilter::SetSyncSource(__inout_opt IReferenceClock *pClock) -{ - CAutoLock cObjectLock(m_pLock); - - // Ensure the new one does not go away - even if the same as the old - if (pClock) { - pClock->AddRef(); - } - - // if we have a clock, release it - if (m_pClock) { - m_pClock->Release(); - } - - // Set the new reference clock (might be NULL) - // Should we query it to ensure it is a clock? Consider for a debug build. - m_pClock = pClock; - - return NOERROR; -} - -/* Return the clock we are using for synchronisation */ -STDMETHODIMP -CBaseMediaFilter::GetSyncSource(__deref_out_opt IReferenceClock **pClock) -{ - CheckPointer(pClock,E_POINTER); - ValidateReadWritePtr(pClock,sizeof(IReferenceClock *)); - CAutoLock cObjectLock(m_pLock); - - if (m_pClock) { - // returning an interface... addref it... - m_pClock->AddRef(); - } - *pClock = (IReferenceClock*)m_pClock; - return NOERROR; -} - - -/* Put the filter into a stopped state */ - -STDMETHODIMP -CBaseMediaFilter::Stop() -{ - CAutoLock cObjectLock(m_pLock); - - m_State = State_Stopped; - return S_OK; -} - - -/* Put the filter into a paused state */ - -STDMETHODIMP -CBaseMediaFilter::Pause() -{ - CAutoLock cObjectLock(m_pLock); - - m_State = State_Paused; - return S_OK; -} - - -// Put the filter into a running state. - -// The time parameter is the offset to be added to the samples' -// stream time to get the reference time at which they should be presented. -// -// you can either add these two and compare it against the reference clock, -// or you can call CBaseMediaFilter::StreamTime and compare that against -// the sample timestamp. - -STDMETHODIMP -CBaseMediaFilter::Run(REFERENCE_TIME tStart) -{ - CAutoLock cObjectLock(m_pLock); - - // remember the stream time offset - m_tStart = tStart; - - if (m_State == State_Stopped){ - HRESULT hr = Pause(); - - if (FAILED(hr)) { - return hr; - } - } - m_State = State_Running; - return S_OK; -} - - -// -// return the current stream time - samples with start timestamps of this -// time or before should be rendered by now -HRESULT -CBaseMediaFilter::StreamTime(CRefTime& rtStream) -{ - // Caller must lock for synchronization - // We can't grab the filter lock because we want to be able to call - // this from worker threads without deadlocking - - if (m_pClock == NULL) { - return VFW_E_NO_CLOCK; - } - - // get the current reference time - HRESULT hr = m_pClock->GetTime((REFERENCE_TIME*)&rtStream); - if (FAILED(hr)) { - return hr; - } - - // subtract the stream offset to get stream time - rtStream -= m_tStart; - - return S_OK; -} - - -//===================================================================== -//===================================================================== -// Implements CBaseFilter -//===================================================================== -//===================================================================== - - -/* Override this to say what interfaces we support and where */ - -STDMETHODIMP CBaseFilter::NonDelegatingQueryInterface(REFIID riid, - __deref_out void **ppv) -{ - /* Do we have this interface */ - - if (riid == IID_IBaseFilter) { - return GetInterface((IBaseFilter *) this, ppv); - } else if (riid == IID_IMediaFilter) { - return GetInterface((IMediaFilter *) this, ppv); - } else if (riid == IID_IPersist) { - return GetInterface((IPersist *) this, ppv); - } else if (riid == IID_IAMovieSetup) { - return GetInterface((IAMovieSetup *) this, ppv); - } else { - return CUnknown::NonDelegatingQueryInterface(riid, ppv); - } -} - -#ifdef DEBUG -STDMETHODIMP_(ULONG) CBaseFilter::NonDelegatingRelease() -{ - if (m_cRef == 1) { - KASSERT(m_pGraph == NULL); - } - return CUnknown::NonDelegatingRelease(); -} -#endif - - -/* Constructor */ - -CBaseFilter::CBaseFilter(__in_opt LPCTSTR pName, - __inout_opt LPUNKNOWN pUnk, - __in CCritSec *pLock, - REFCLSID clsid) : - CUnknown( pName, pUnk ), - m_pLock(pLock), - m_clsid(clsid), - m_State(State_Stopped), - m_pClock(NULL), - m_pGraph(NULL), - m_pSink(NULL), - m_pName(NULL), - m_PinVersion(1) -{ -#ifdef DXMPERF - PERFLOG_CTOR( pName ? pName : L"CBaseFilter", (IBaseFilter *) this ); -#endif // DXMPERF - - ASSERT(pLock != NULL); -} - -/* Passes in a redundant HRESULT argument */ - -CBaseFilter::CBaseFilter(__in_opt LPCTSTR pName, - __in_opt LPUNKNOWN pUnk, - __in CCritSec *pLock, - REFCLSID clsid, - __inout HRESULT *phr) : - CUnknown( pName, pUnk ), - m_pLock(pLock), - m_clsid(clsid), - m_State(State_Stopped), - m_pClock(NULL), - m_pGraph(NULL), - m_pSink(NULL), - m_pName(NULL), - m_PinVersion(1) -{ -#ifdef DXMPERF - PERFLOG_CTOR( pName ? pName : L"CBaseFilter", (IBaseFilter *) this ); -#endif // DXMPERF - - ASSERT(pLock != NULL); - UNREFERENCED_PARAMETER(phr); -} - -#ifdef UNICODE -CBaseFilter::CBaseFilter(__in_opt LPCSTR pName, - __in_opt LPUNKNOWN pUnk, - __in CCritSec *pLock, - REFCLSID clsid) : - CUnknown( pName, pUnk ), - m_pLock(pLock), - m_clsid(clsid), - m_State(State_Stopped), - m_pClock(NULL), - m_pGraph(NULL), - m_pSink(NULL), - m_pName(NULL), - m_PinVersion(1) -{ -#ifdef DXMPERF - PERFLOG_CTOR( L"CBaseFilter", (IBaseFilter *) this ); -#endif // DXMPERF - - ASSERT(pLock != NULL); -} -CBaseFilter::CBaseFilter(__in_opt LPCSTR pName, - __in_opt LPUNKNOWN pUnk, - __in CCritSec *pLock, - REFCLSID clsid, - __inout HRESULT *phr) : - CUnknown( pName, pUnk ), - m_pLock(pLock), - m_clsid(clsid), - m_State(State_Stopped), - m_pClock(NULL), - m_pGraph(NULL), - m_pSink(NULL), - m_pName(NULL), - m_PinVersion(1) -{ -#ifdef DXMPERF - PERFLOG_CTOR( L"CBaseFilter", (IBaseFilter *) this ); -#endif // DXMPERF - - ASSERT(pLock != NULL); - UNREFERENCED_PARAMETER(phr); -} -#endif - -/* Destructor */ - -CBaseFilter::~CBaseFilter() -{ -#ifdef DXMPERF - PERFLOG_DTOR( L"CBaseFilter", (IBaseFilter *) this ); -#endif // DXMPERF - - // NOTE we do NOT hold references on the filtergraph for m_pGraph or m_pSink - // When we did we had the circular reference problem. Nothing would go away. - - delete[] m_pName; - - // must be stopped, but can't call Stop here since - // our critsec has been destroyed. - - /* Release any clock we were using */ - if (m_pClock) { - m_pClock->Release(); - m_pClock = NULL; - } -} - -/* Return the filter's clsid */ -STDMETHODIMP -CBaseFilter::GetClassID(__out CLSID *pClsID) -{ - CheckPointer(pClsID,E_POINTER); - ValidateReadWritePtr(pClsID,sizeof(CLSID)); - *pClsID = m_clsid; - return NOERROR; -} - -/* Override this if your state changes are not done synchronously */ -STDMETHODIMP -CBaseFilter::GetState(DWORD dwMSecs, __out FILTER_STATE *State) -{ - UNREFERENCED_PARAMETER(dwMSecs); - CheckPointer(State,E_POINTER); - ValidateReadWritePtr(State,sizeof(FILTER_STATE)); - - *State = m_State; - return S_OK; -} - - -/* Set the clock we will use for synchronisation */ - -STDMETHODIMP -CBaseFilter::SetSyncSource(__in_opt IReferenceClock *pClock) -{ - CAutoLock cObjectLock(m_pLock); - - // Ensure the new one does not go away - even if the same as the old - if (pClock) { - pClock->AddRef(); - } - - // if we have a clock, release it - if (m_pClock) { - m_pClock->Release(); - } - - // Set the new reference clock (might be NULL) - // Should we query it to ensure it is a clock? Consider for a debug build. - m_pClock = pClock; - - return NOERROR; -} - -/* Return the clock we are using for synchronisation */ -STDMETHODIMP -CBaseFilter::GetSyncSource(__deref_out_opt IReferenceClock **pClock) -{ - CheckPointer(pClock,E_POINTER); - ValidateReadWritePtr(pClock,sizeof(IReferenceClock *)); - CAutoLock cObjectLock(m_pLock); - - if (m_pClock) { - // returning an interface... addref it... - m_pClock->AddRef(); - } - *pClock = (IReferenceClock*)m_pClock; - return NOERROR; -} - - - -// override CBaseMediaFilter Stop method, to deactivate any pins this -// filter has. -STDMETHODIMP -CBaseFilter::Stop() -{ - CAutoLock cObjectLock(m_pLock); - HRESULT hr = NOERROR; - - // notify all pins of the state change - if (m_State != State_Stopped) { - int cPins = GetPinCount(); - for (int c = 0; c < cPins; c++) { - - CBasePin *pPin = GetPin(c); - if (NULL == pPin) { - break; - } - - // Disconnected pins are not activated - this saves pins worrying - // about this state themselves. We ignore the return code to make - // sure everyone is inactivated regardless. The base input pin - // class can return an error if it has no allocator but Stop can - // be used to resync the graph state after something has gone bad - - if (pPin->IsConnected()) { - HRESULT hrTmp = pPin->Inactive(); - if (FAILED(hrTmp) && SUCCEEDED(hr)) { - hr = hrTmp; - } - } - } - } - -#ifdef DXMPERF - PERFLOG_STOP( m_pName ? m_pName : L"CBaseFilter", (IBaseFilter *) this, m_State ); -#endif // DXMPERF - - m_State = State_Stopped; - return hr; -} - - -// override CBaseMediaFilter Pause method to activate any pins -// this filter has (also called from Run) - -STDMETHODIMP -CBaseFilter::Pause() -{ - CAutoLock cObjectLock(m_pLock); - - // notify all pins of the change to active state - if (m_State == State_Stopped) { - int cPins = GetPinCount(); - for (int c = 0; c < cPins; c++) { - - CBasePin *pPin = GetPin(c); - if (NULL == pPin) { - break; - } - - // Disconnected pins are not activated - this saves pins - // worrying about this state themselves - - if (pPin->IsConnected()) { - HRESULT hr = pPin->Active(); - if (FAILED(hr)) { - return hr; - } - } - } - } - - -#ifdef DXMPERF - PERFLOG_PAUSE( m_pName ? m_pName : L"CBaseFilter", (IBaseFilter *) this, m_State ); -#endif // DXMPERF - - m_State = State_Paused; - return S_OK; -} - -// Put the filter into a running state. - -// The time parameter is the offset to be added to the samples' -// stream time to get the reference time at which they should be presented. -// -// you can either add these two and compare it against the reference clock, -// or you can call CBaseFilter::StreamTime and compare that against -// the sample timestamp. - -STDMETHODIMP -CBaseFilter::Run(REFERENCE_TIME tStart) -{ - CAutoLock cObjectLock(m_pLock); - - // remember the stream time offset - m_tStart = tStart; - - if (m_State == State_Stopped){ - HRESULT hr = Pause(); - - if (FAILED(hr)) { - return hr; - } - } - // notify all pins of the change to active state - if (m_State != State_Running) { - int cPins = GetPinCount(); - for (int c = 0; c < cPins; c++) { - - CBasePin *pPin = GetPin(c); - if (NULL == pPin) { - break; - } - - // Disconnected pins are not activated - this saves pins - // worrying about this state themselves - - if (pPin->IsConnected()) { - HRESULT hr = pPin->Run(tStart); - if (FAILED(hr)) { - return hr; - } - } - } - } - -#ifdef DXMPERF - PERFLOG_RUN( m_pName ? m_pName : L"CBaseFilter", (IBaseFilter *) this, tStart, m_State ); -#endif // DXMPERF - - m_State = State_Running; - return S_OK; -} - -// -// return the current stream time - samples with start timestamps of this -// time or before should be rendered by now -HRESULT -CBaseFilter::StreamTime(CRefTime& rtStream) -{ - // Caller must lock for synchronization - // We can't grab the filter lock because we want to be able to call - // this from worker threads without deadlocking - - if (m_pClock == NULL) { - return VFW_E_NO_CLOCK; - } - - // get the current reference time - HRESULT hr = m_pClock->GetTime((REFERENCE_TIME*)&rtStream); - if (FAILED(hr)) { - return hr; - } - - // subtract the stream offset to get stream time - rtStream -= m_tStart; - - return S_OK; -} - - -/* Create an enumerator for the pins attached to this filter */ - -STDMETHODIMP -CBaseFilter::EnumPins(__deref_out IEnumPins **ppEnum) -{ - CheckPointer(ppEnum,E_POINTER); - ValidateReadWritePtr(ppEnum,sizeof(IEnumPins *)); - - /* Create a new ref counted enumerator */ - - *ppEnum = new CEnumPins(this, - NULL); - - return *ppEnum == NULL ? E_OUTOFMEMORY : NOERROR; -} - - -// default behaviour of FindPin is to assume pins are named -// by their pin names -STDMETHODIMP -CBaseFilter::FindPin( - LPCWSTR Id, - __deref_out IPin ** ppPin -) -{ - CheckPointer(ppPin,E_POINTER); - ValidateReadWritePtr(ppPin,sizeof(IPin *)); - - // We're going to search the pin list so maintain integrity - CAutoLock lck(m_pLock); - int iCount = GetPinCount(); - for (int i = 0; i < iCount; i++) { - CBasePin *pPin = GetPin(i); - if (NULL == pPin) { - break; - } - - if (0 == lstrcmpW(pPin->Name(), Id)) { - // Found one that matches - // - // AddRef() and return it - *ppPin = pPin; - pPin->AddRef(); - return S_OK; - } - } - *ppPin = NULL; - return VFW_E_NOT_FOUND; -} - -/* Return information about this filter */ - -STDMETHODIMP -CBaseFilter::QueryFilterInfo(__out FILTER_INFO * pInfo) -{ - CheckPointer(pInfo,E_POINTER); - ValidateReadWritePtr(pInfo,sizeof(FILTER_INFO)); - - if (m_pName) { - (void)StringCchCopyW(pInfo->achName, NUMELMS(pInfo->achName), m_pName); - } else { - pInfo->achName[0] = L'\0'; - } - pInfo->pGraph = m_pGraph; - if (m_pGraph) - m_pGraph->AddRef(); - return NOERROR; -} - - -/* Provide the filter with a filter graph */ - -STDMETHODIMP -CBaseFilter::JoinFilterGraph( - __inout_opt IFilterGraph * pGraph, - __in_opt LPCWSTR pName) -{ - CAutoLock cObjectLock(m_pLock); - - // NOTE: we no longer hold references on the graph (m_pGraph, m_pSink) - - m_pGraph = pGraph; - if (m_pGraph) { - HRESULT hr = m_pGraph->QueryInterface(IID_IMediaEventSink, - (void**) &m_pSink); - if (FAILED(hr)) { - ASSERT(m_pSink == NULL); - } - else m_pSink->Release(); // we do NOT keep a reference on it. - } else { - // if graph pointer is null, then we should - // also release the IMediaEventSink on the same object - we don't - // refcount it, so just set it to null - m_pSink = NULL; - } - - - if (m_pName) { - delete[] m_pName; - m_pName = NULL; - } - - if (pName) { - size_t namelen; - HRESULT hr = StringCchLengthW(pName, STRSAFE_MAX_CCH, &namelen); - if (FAILED(hr)) { - return hr; - } - m_pName = new WCHAR[namelen + 1]; - if (m_pName) { - (void)StringCchCopyW(m_pName, namelen + 1, pName); - } else { - return E_OUTOFMEMORY; - } - } - -#ifdef DXMPERF - PERFLOG_JOINGRAPH( m_pName ? m_pName : L"CBaseFilter",(IBaseFilter *) this, pGraph ); -#endif // DXMPERF - - return NOERROR; -} - - -// return a Vendor information string. Optional - may return E_NOTIMPL. -// memory returned should be freed using CoTaskMemFree -// default implementation returns E_NOTIMPL -STDMETHODIMP -CBaseFilter::QueryVendorInfo( - __deref_out LPWSTR* pVendorInfo) -{ - UNREFERENCED_PARAMETER(pVendorInfo); - return E_NOTIMPL; -} - - -// send an event notification to the filter graph if we know about it. -// returns S_OK if delivered, S_FALSE if the filter graph does not sink -// events, or an error otherwise. -HRESULT -CBaseFilter::NotifyEvent( - long EventCode, - LONG_PTR EventParam1, - LONG_PTR EventParam2) -{ - // Snapshot so we don't have to lock up - IMediaEventSink *pSink = m_pSink; - if (pSink) { - if (EC_COMPLETE == EventCode) { - EventParam2 = (LONG_PTR)(IBaseFilter*)this; - } - - return pSink->Notify(EventCode, EventParam1, EventParam2); - } else { - return E_NOTIMPL; - } -} - -// Request reconnect -// pPin is the pin to reconnect -// pmt is the type to reconnect with - can be NULL -// Calls ReconnectEx on the filter graph -HRESULT -CBaseFilter::ReconnectPin( - IPin *pPin, - __in_opt AM_MEDIA_TYPE const *pmt -) -{ - IFilterGraph2 *pGraph2; - if (m_pGraph != NULL) { - HRESULT hr = m_pGraph->QueryInterface(IID_IFilterGraph2, (void **)&pGraph2); - if (SUCCEEDED(hr)) { - hr = pGraph2->ReconnectEx(pPin, pmt); - pGraph2->Release(); - return hr; - } else { - return m_pGraph->Reconnect(pPin); - } - } else { - return E_NOINTERFACE; - } -} - - - -/* This is the same idea as the media type version does for type enumeration - on pins but for the list of pins available. So if the list of pins you - provide changes dynamically then either override this virtual function - to provide the version number, or more simply call IncrementPinVersion */ - -LONG CBaseFilter::GetPinVersion() -{ - return m_PinVersion; -} - - -/* Increment the current pin version cookie */ - -void CBaseFilter::IncrementPinVersion() -{ - InterlockedIncrement(&m_PinVersion); -} - -/* register filter */ - -STDMETHODIMP CBaseFilter::Register() -{ - // get setup data, if it exists - // - LPAMOVIESETUP_FILTER psetupdata = GetSetupData(); - - // check we've got data - // - if( NULL == psetupdata ) return S_FALSE; - - // init is ref counted so call just in case - // we're being called cold. - // - HRESULT hr = CoInitialize( (LPVOID)NULL ); - ASSERT( SUCCEEDED(hr) ); - - // get hold of IFilterMapper - // - IFilterMapper *pIFM; - hr = CoCreateInstance( CLSID_FilterMapper - , NULL - , CLSCTX_INPROC_SERVER - , IID_IFilterMapper - , (void **)&pIFM ); - if( SUCCEEDED(hr) ) - { - hr = AMovieSetupRegisterFilter( psetupdata, pIFM, TRUE ); - pIFM->Release(); - } - - // and clear up - // - CoFreeUnusedLibraries(); - CoUninitialize(); - - return NOERROR; -} - - -/* unregister filter */ - -STDMETHODIMP CBaseFilter::Unregister() -{ - // get setup data, if it exists - // - LPAMOVIESETUP_FILTER psetupdata = GetSetupData(); - - // check we've got data - // - if( NULL == psetupdata ) return S_FALSE; - - // OLE init is ref counted so call - // just in case we're being called cold. - // - HRESULT hr = CoInitialize( (LPVOID)NULL ); - ASSERT( SUCCEEDED(hr) ); - - // get hold of IFilterMapper - // - IFilterMapper *pIFM; - hr = CoCreateInstance( CLSID_FilterMapper - , NULL - , CLSCTX_INPROC_SERVER - , IID_IFilterMapper - , (void **)&pIFM ); - if( SUCCEEDED(hr) ) - { - hr = AMovieSetupRegisterFilter( psetupdata, pIFM, FALSE ); - - // release interface - // - pIFM->Release(); - } - - // clear up - // - CoFreeUnusedLibraries(); - CoUninitialize(); - - // handle one acceptable "error" - that - // of filter not being registered! - // (couldn't find a suitable #define'd - // name for the error!) - // - if( 0x80070002 == hr) - return NOERROR; - else - return hr; -} - - -//===================================================================== -//===================================================================== -// Implements CEnumPins -//===================================================================== -//===================================================================== - - -CEnumPins::CEnumPins(__in CBaseFilter *pFilter, - __in_opt CEnumPins *pEnumPins) : - m_Position(0), - m_PinCount(0), - m_pFilter(pFilter), - m_cRef(1), // Already ref counted - m_PinCache(NAME("Pin Cache")) -{ - -#ifdef DEBUG - m_dwCookie = DbgRegisterObjectCreation("CEnumPins", 0); -#endif - - /* We must be owned by a filter derived from CBaseFilter */ - - ASSERT(pFilter != NULL); - - /* Hold a reference count on our filter */ - m_pFilter->AddRef(); - - /* Are we creating a new enumerator */ - - if (pEnumPins == NULL) { - m_Version = m_pFilter->GetPinVersion(); - m_PinCount = m_pFilter->GetPinCount(); - } else { - ASSERT(m_Position <= m_PinCount); - m_Position = pEnumPins->m_Position; - m_PinCount = pEnumPins->m_PinCount; - m_Version = pEnumPins->m_Version; - m_PinCache.AddTail(&(pEnumPins->m_PinCache)); - } -} - - -/* Destructor releases the reference count on our filter NOTE since we hold - a reference count on the filter who created us we know it is safe to - release it, no access can be made to it afterwards though as we have just - caused the last reference count to go and the object to be deleted */ - -CEnumPins::~CEnumPins() -{ - m_pFilter->Release(); - -#ifdef DEBUG - DbgRegisterObjectDestruction(m_dwCookie); -#endif -} - - -/* Override this to say what interfaces we support where */ - -STDMETHODIMP -CEnumPins::QueryInterface(REFIID riid, __deref_out void **ppv) -{ - CheckPointer(ppv, E_POINTER); - - /* Do we have this interface */ - - if (riid == IID_IEnumPins || riid == IID_IUnknown) { - return GetInterface((IEnumPins *) this, ppv); - } else { - *ppv = NULL; - return E_NOINTERFACE; - } -} - -STDMETHODIMP_(ULONG) -CEnumPins::AddRef() -{ - return InterlockedIncrement(&m_cRef); -} - -STDMETHODIMP_(ULONG) -CEnumPins::Release() -{ - ULONG cRef = InterlockedDecrement(&m_cRef); - if (cRef == 0) { - delete this; - } - return cRef; -} - -/* One of an enumerator's basic member functions allows us to create a cloned - interface that initially has the same state. Since we are taking a snapshot - of an object (current position and all) we must lock access at the start */ - -STDMETHODIMP -CEnumPins::Clone(__deref_out IEnumPins **ppEnum) -{ - CheckPointer(ppEnum,E_POINTER); - ValidateReadWritePtr(ppEnum,sizeof(IEnumPins *)); - HRESULT hr = NOERROR; - - /* Check we are still in sync with the filter */ - if (AreWeOutOfSync() == TRUE) { - *ppEnum = NULL; - hr = VFW_E_ENUM_OUT_OF_SYNC; - } else { - *ppEnum = new CEnumPins(m_pFilter, - this); - if (*ppEnum == NULL) { - hr = E_OUTOFMEMORY; - } - } - return hr; -} - - -/* Return the next pin after the current position */ - -STDMETHODIMP -CEnumPins::Next(ULONG cPins, // place this many pins... - __out_ecount(cPins) IPin **ppPins, // ...in this array - __out_opt ULONG *pcFetched) // actual count passed returned here -{ - CheckPointer(ppPins,E_POINTER); - ValidateReadWritePtr(ppPins,cPins * sizeof(IPin *)); - - ASSERT(ppPins); - - if (pcFetched!=NULL) { - ValidateWritePtr(pcFetched, sizeof(ULONG)); - *pcFetched = 0; // default unless we succeed - } - // now check that the parameter is valid - else if (cPins>1) { // pcFetched == NULL - return E_INVALIDARG; - } - ULONG cFetched = 0; // increment as we get each one. - - /* Check we are still in sync with the filter */ - if (AreWeOutOfSync() == TRUE) { - // If we are out of sync, we should refresh the enumerator. - // This will reset the position and update the other members, but - // will not clear cache of pins we have already returned. - Refresh(); - } - - /* Return each pin interface NOTE GetPin returns CBasePin * not addrefed - so we must QI for the IPin (which increments its reference count) - If while we are retrieving a pin from the filter an error occurs we - assume that our internal state is stale with respect to the filter - (for example someone has deleted a pin) so we - return VFW_E_ENUM_OUT_OF_SYNC */ - - while (cFetched < cPins && m_PinCount > m_Position) { - - /* Get the next pin object from the filter */ - - CBasePin *pPin = m_pFilter->GetPin(m_Position++); - if (pPin == NULL) { - // If this happend, and it's not the first time through, then we've got a problem, - // since we should really go back and release the iPins, which we have previously - // AddRef'ed. - ASSERT( cFetched==0 ); - return VFW_E_ENUM_OUT_OF_SYNC; - } - - /* We only want to return this pin, if it is not in our cache */ - if (0 == m_PinCache.Find(pPin)) - { - /* From the object get an IPin interface */ - - *ppPins = pPin; - pPin->AddRef(); - - cFetched++; - ppPins++; - - m_PinCache.AddTail(pPin); - } - } - - if (pcFetched!=NULL) { - *pcFetched = cFetched; - } - - return (cPins==cFetched ? NOERROR : S_FALSE); -} - - -/* Skip over one or more entries in the enumerator */ - -STDMETHODIMP -CEnumPins::Skip(ULONG cPins) -{ - /* Check we are still in sync with the filter */ - if (AreWeOutOfSync() == TRUE) { - return VFW_E_ENUM_OUT_OF_SYNC; - } - - /* Work out how many pins are left to skip over */ - /* We could position at the end if we are asked to skip too many... */ - /* ..which would match the base implementation for CEnumMediaTypes::Skip */ - - ULONG PinsLeft = m_PinCount - m_Position; - if (cPins > PinsLeft) { - return S_FALSE; - } - m_Position += cPins; - return NOERROR; -} - - -/* Set the current position back to the start */ -/* Reset has 4 simple steps: - * - * Set position to head of list - * Sync enumerator with object being enumerated - * Clear the cache of pins already returned - * return S_OK - */ - -STDMETHODIMP -CEnumPins::Reset() -{ - m_Version = m_pFilter->GetPinVersion(); - m_PinCount = m_pFilter->GetPinCount(); - - m_Position = 0; - - // Clear the cache - m_PinCache.RemoveAll(); - - return S_OK; -} - - -/* Set the current position back to the start */ -/* Refresh has 3 simple steps: - * - * Set position to head of list - * Sync enumerator with object being enumerated - * return S_OK - */ - -STDMETHODIMP -CEnumPins::Refresh() -{ - m_Version = m_pFilter->GetPinVersion(); - m_PinCount = m_pFilter->GetPinCount(); - - m_Position = 0; - return S_OK; -} - - -//===================================================================== -//===================================================================== -// Implements CEnumMediaTypes -//===================================================================== -//===================================================================== - - -CEnumMediaTypes::CEnumMediaTypes(__in CBasePin *pPin, - __in_opt CEnumMediaTypes *pEnumMediaTypes) : - m_Position(0), - m_pPin(pPin), - m_cRef(1) -{ - -#ifdef DEBUG - m_dwCookie = DbgRegisterObjectCreation("CEnumMediaTypes", 0); -#endif - - /* We must be owned by a pin derived from CBasePin */ - - ASSERT(pPin != NULL); - - /* Hold a reference count on our pin */ - m_pPin->AddRef(); - - /* Are we creating a new enumerator */ - - if (pEnumMediaTypes == NULL) { - m_Version = m_pPin->GetMediaTypeVersion(); - return; - } - - m_Position = pEnumMediaTypes->m_Position; - m_Version = pEnumMediaTypes->m_Version; -} - - -/* Destructor releases the reference count on our base pin. NOTE since we hold - a reference count on the pin who created us we know it is safe to release - it, no access can be made to it afterwards though as we might have just - caused the last reference count to go and the object to be deleted */ - -CEnumMediaTypes::~CEnumMediaTypes() -{ -#ifdef DEBUG - DbgRegisterObjectDestruction(m_dwCookie); -#endif - m_pPin->Release(); -} - - -/* Override this to say what interfaces we support where */ - -STDMETHODIMP -CEnumMediaTypes::QueryInterface(REFIID riid, __deref_out void **ppv) -{ - CheckPointer(ppv, E_POINTER); - - /* Do we have this interface */ - - if (riid == IID_IEnumMediaTypes || riid == IID_IUnknown) { - return GetInterface((IEnumMediaTypes *) this, ppv); - } else { - *ppv = NULL; - return E_NOINTERFACE; - } -} - -STDMETHODIMP_(ULONG) -CEnumMediaTypes::AddRef() -{ - return InterlockedIncrement(&m_cRef); -} - -STDMETHODIMP_(ULONG) -CEnumMediaTypes::Release() -{ - ULONG cRef = InterlockedDecrement(&m_cRef); - if (cRef == 0) { - delete this; - } - return cRef; -} - -/* One of an enumerator's basic member functions allows us to create a cloned - interface that initially has the same state. Since we are taking a snapshot - of an object (current position and all) we must lock access at the start */ - -STDMETHODIMP -CEnumMediaTypes::Clone(__deref_out IEnumMediaTypes **ppEnum) -{ - CheckPointer(ppEnum,E_POINTER); - ValidateReadWritePtr(ppEnum,sizeof(IEnumMediaTypes *)); - HRESULT hr = NOERROR; - - /* Check we are still in sync with the pin */ - if (AreWeOutOfSync() == TRUE) { - *ppEnum = NULL; - hr = VFW_E_ENUM_OUT_OF_SYNC; - } else { - - *ppEnum = new CEnumMediaTypes(m_pPin, - this); - - if (*ppEnum == NULL) { - hr = E_OUTOFMEMORY; - } - } - return hr; -} - - -/* Enumerate the next pin(s) after the current position. The client using this - interface passes in a pointer to an array of pointers each of which will - be filled in with a pointer to a fully initialised media type format - Return NOERROR if it all works, - S_FALSE if fewer than cMediaTypes were enumerated. - VFW_E_ENUM_OUT_OF_SYNC if the enumerator has been broken by - state changes in the filter - The actual count always correctly reflects the number of types in the array. -*/ - -STDMETHODIMP -CEnumMediaTypes::Next(ULONG cMediaTypes, // place this many types... - __out_ecount(cMediaTypes) AM_MEDIA_TYPE **ppMediaTypes, // ...in this array - __out ULONG *pcFetched) // actual count passed -{ - CheckPointer(ppMediaTypes,E_POINTER); - ValidateReadWritePtr(ppMediaTypes,cMediaTypes * sizeof(AM_MEDIA_TYPE *)); - /* Check we are still in sync with the pin */ - if (AreWeOutOfSync() == TRUE) { - return VFW_E_ENUM_OUT_OF_SYNC; - } - - if (pcFetched!=NULL) { - ValidateWritePtr(pcFetched, sizeof(ULONG)); - *pcFetched = 0; // default unless we succeed - } - // now check that the parameter is valid - else if (cMediaTypes>1) { // pcFetched == NULL - return E_INVALIDARG; - } - ULONG cFetched = 0; // increment as we get each one. - - /* Return each media type by asking the filter for them in turn - If we - have an error code retured to us while we are retrieving a media type - we assume that our internal state is stale with respect to the filter - (for example the window size changing) so we return - VFW_E_ENUM_OUT_OF_SYNC */ - - while (cMediaTypes) { - - CMediaType cmt; - - HRESULT hr = m_pPin->GetMediaType(m_Position++, &cmt); - if (S_OK != hr) { - break; - } - - /* We now have a CMediaType object that contains the next media type - but when we assign it to the array position we CANNOT just assign - the AM_MEDIA_TYPE structure because as soon as the object goes out of - scope it will delete the memory we have just copied. The function - we use is CreateMediaType which allocates a task memory block */ - - /* Transfer across the format block manually to save an allocate - and free on the format block and generally go faster */ - - *ppMediaTypes = (AM_MEDIA_TYPE *)CoTaskMemAlloc(sizeof(AM_MEDIA_TYPE)); - if (*ppMediaTypes == NULL) { - break; - } - - /* Do a regular copy */ - **ppMediaTypes = cmt; - - /* Make sure the destructor doesn't free these */ - cmt.pbFormat = NULL; - cmt.cbFormat = NULL; - cmt.pUnk = NULL; - - - ppMediaTypes++; - cFetched++; - cMediaTypes--; - } - - if (pcFetched!=NULL) { - *pcFetched = cFetched; - } - - return ( cMediaTypes==0 ? NOERROR : S_FALSE ); -} - - -/* Skip over one or more entries in the enumerator */ - -STDMETHODIMP -CEnumMediaTypes::Skip(ULONG cMediaTypes) -{ - // If we're skipping 0 elements we're guaranteed to skip the - // correct number of elements - if (cMediaTypes == 0) { - return S_OK; - } - - /* Check we are still in sync with the pin */ - if (AreWeOutOfSync() == TRUE) { - return VFW_E_ENUM_OUT_OF_SYNC; - } - - m_Position += cMediaTypes; - - /* See if we're over the end */ - CMediaType cmt; - return S_OK == m_pPin->GetMediaType(m_Position - 1, &cmt) ? S_OK : S_FALSE; -} - - -/* Set the current position back to the start */ -/* Reset has 3 simple steps: - * - * set position to head of list - * sync enumerator with object being enumerated - * return S_OK - */ - -STDMETHODIMP -CEnumMediaTypes::Reset() - -{ - m_Position = 0; - - // Bring the enumerator back into step with the current state. This - // may be a noop but ensures that the enumerator will be valid on the - // next call. - m_Version = m_pPin->GetMediaTypeVersion(); - return NOERROR; -} - - -//===================================================================== -//===================================================================== -// Implements CBasePin -//===================================================================== -//===================================================================== - - -/* NOTE The implementation of this class calls the CUnknown constructor with - a NULL outer unknown pointer. This has the effect of making us a self - contained class, ie any QueryInterface, AddRef or Release calls will be - routed to the class's NonDelegatingUnknown methods. You will typically - find that the classes that do this then override one or more of these - virtual functions to provide more specialised behaviour. A good example - of this is where a class wants to keep the QueryInterface internal but - still wants its lifetime controlled by the external object */ - -/* Constructor */ - -CBasePin::CBasePin(__in_opt LPCTSTR pObjectName, - __in CBaseFilter *pFilter, - __in CCritSec *pLock, - __inout HRESULT *phr, - __in_opt LPCWSTR pName, - PIN_DIRECTION dir) : - CUnknown( pObjectName, NULL ), - m_pFilter(pFilter), - m_pLock(pLock), - m_pName(NULL), - m_Connected(NULL), - m_dir(dir), - m_bRunTimeError(FALSE), - m_pQSink(NULL), - m_TypeVersion(1), - m_tStart(), - m_tStop(MAX_TIME), - m_bCanReconnectWhenActive(false), - m_bTryMyTypesFirst(false), - m_dRate(1.0) -{ - /* WARNING - pFilter is often not a properly constituted object at - this state (in particular QueryInterface may not work) - this - is because its owner is often its containing object and we - have been called from the containing object's constructor so - the filter's owner has not yet had its CUnknown constructor - called - */ -#ifdef DXMPERF - PERFLOG_CTOR( pName ? pName : L"CBasePin", (IPin *) this ); -#endif // DXMPERF - - ASSERT(pFilter != NULL); - ASSERT(pLock != NULL); - - if (pName) { - size_t cchName; - HRESULT hr = StringCchLengthW(pName, STRSAFE_MAX_CCH, &cchName); - if (SUCCEEDED(hr)) { - m_pName = new WCHAR[cchName + 1]; - if (m_pName) { - (void)StringCchCopyW(m_pName, cchName + 1, pName); - } - } - } - -#ifdef DEBUG - m_cRef = 0; -#endif -} - -#ifdef UNICODE -CBasePin::CBasePin(__in_opt LPCSTR pObjectName, - __in CBaseFilter *pFilter, - __in CCritSec *pLock, - __inout HRESULT *phr, - __in_opt LPCWSTR pName, - PIN_DIRECTION dir) : - CUnknown( pObjectName, NULL ), - m_pFilter(pFilter), - m_pLock(pLock), - m_pName(NULL), - m_Connected(NULL), - m_dir(dir), - m_bRunTimeError(FALSE), - m_pQSink(NULL), - m_TypeVersion(1), - m_tStart(), - m_tStop(MAX_TIME), - m_bCanReconnectWhenActive(false), - m_bTryMyTypesFirst(false), - m_dRate(1.0) -{ - /* WARNING - pFilter is often not a properly constituted object at - this state (in particular QueryInterface may not work) - this - is because its owner is often its containing object and we - have been called from the containing object's constructor so - the filter's owner has not yet had its CUnknown constructor - called - */ -#ifdef DXMPERF - PERFLOG_CTOR( pName ? pName : L"CBasePin", (IPin *) this ); -#endif // DXMPERF - - ASSERT(pFilter != NULL); - ASSERT(pLock != NULL); - - if (pName) { - size_t cchName; - HRESULT hr = StringCchLengthW(pName, STRSAFE_MAX_CCH, &cchName); - if (SUCCEEDED(hr)) { - m_pName = new WCHAR[cchName + 1]; - if (m_pName) { - (void)StringCchCopyW(m_pName, cchName + 1, pName); - } - } - } - - -#ifdef DEBUG - m_cRef = 0; -#endif -} -#endif - -/* Destructor since a connected pin holds a reference count on us there is - no way that we can be deleted unless we are not currently connected */ - -CBasePin::~CBasePin() -{ -#ifdef DXMPERF - PERFLOG_DTOR( m_pName ? m_pName : L"CBasePin", (IPin *) this ); -#endif // DXMPERF - - // We don't call disconnect because if the filter is going away - // all the pins must have a reference count of zero so they must - // have been disconnected anyway - (but check the assumption) - ASSERT(m_Connected == FALSE); - - delete[] m_pName; - - // check the internal reference count is consistent - ASSERT(m_cRef == 0); -} - - -/* Override this to say what interfaces we support and where */ - -STDMETHODIMP -CBasePin::NonDelegatingQueryInterface(REFIID riid, __deref_out void ** ppv) -{ - /* Do we have this interface */ - - if (riid == IID_IPin) { - return GetInterface((IPin *) this, ppv); - } else if (riid == IID_IQualityControl) { - return GetInterface((IQualityControl *) this, ppv); - } else { - return CUnknown::NonDelegatingQueryInterface(riid, ppv); - } -} - - -/* Override to increment the owning filter's reference count */ - -STDMETHODIMP_(ULONG) -CBasePin::NonDelegatingAddRef() -{ - ASSERT(InterlockedIncrement(&m_cRef) > 0); - return m_pFilter->AddRef(); -} - - -/* Override to decrement the owning filter's reference count */ - -STDMETHODIMP_(ULONG) -CBasePin::NonDelegatingRelease() -{ - ASSERT(InterlockedDecrement(&m_cRef) >= 0); - return m_pFilter->Release(); -} - - -/* Displays pin connection information */ - -#ifdef DEBUG -void -CBasePin::DisplayPinInfo(IPin *pReceivePin) -{ - - if (DbgCheckModuleLevel(LOG_TRACE, CONNECT_TRACE_LEVEL)) { - PIN_INFO ConnectPinInfo; - PIN_INFO ReceivePinInfo; - - if (FAILED(QueryPinInfo(&ConnectPinInfo))) { - StringCchCopyW(ConnectPinInfo.achName, sizeof(ConnectPinInfo.achName)/sizeof(WCHAR), L"Bad Pin"); - } else { - QueryPinInfoReleaseFilter(ConnectPinInfo); - } - - if (FAILED(pReceivePin->QueryPinInfo(&ReceivePinInfo))) { - StringCchCopyW(ReceivePinInfo.achName, sizeof(ReceivePinInfo.achName)/sizeof(WCHAR), L"Bad Pin"); - } else { - QueryPinInfoReleaseFilter(ReceivePinInfo); - } - - DbgLog((LOG_TRACE, CONNECT_TRACE_LEVEL, TEXT("Trying to connect Pins :"))); - DbgLog((LOG_TRACE, CONNECT_TRACE_LEVEL, TEXT(" <%ls>"), ConnectPinInfo.achName)); - DbgLog((LOG_TRACE, CONNECT_TRACE_LEVEL, TEXT(" <%ls>"), ReceivePinInfo.achName)); - } -} -#endif - - -/* Displays general information on the pin media type */ - -#ifdef DEBUG -void CBasePin::DisplayTypeInfo(IPin *pPin, const CMediaType *pmt) -{ - UNREFERENCED_PARAMETER(pPin); - if (DbgCheckModuleLevel(LOG_TRACE, CONNECT_TRACE_LEVEL)) { - DbgLog((LOG_TRACE, CONNECT_TRACE_LEVEL, TEXT("Trying media type:"))); - DbgLog((LOG_TRACE, CONNECT_TRACE_LEVEL, TEXT(" major type: %hs"), - GuidNames[*pmt->Type()])); - DbgLog((LOG_TRACE, CONNECT_TRACE_LEVEL, TEXT(" sub type : %hs"), - GuidNames[*pmt->Subtype()])); - } -} -#endif - -/* Asked to connect to a pin. A pin is always attached to an owning filter - object so we always delegate our locking to that object. We first of all - retrieve a media type enumerator for the input pin and see if we accept - any of the formats that it would ideally like, failing that we retrieve - our enumerator and see if it will accept any of our preferred types */ - -STDMETHODIMP -CBasePin::Connect( - IPin * pReceivePin, - __in_opt const AM_MEDIA_TYPE *pmt // optional media type -) -{ - CheckPointer(pReceivePin,E_POINTER); - ValidateReadPtr(pReceivePin,sizeof(IPin)); - CAutoLock cObjectLock(m_pLock); - DisplayPinInfo(pReceivePin); - - /* See if we are already connected */ - - if (m_Connected) { - DbgLog((LOG_TRACE, CONNECT_TRACE_LEVEL, TEXT("Already connected"))); - return VFW_E_ALREADY_CONNECTED; - } - - /* See if the filter is active */ - if (!IsStopped() && !m_bCanReconnectWhenActive) { - return VFW_E_NOT_STOPPED; - } - - - // Find a mutually agreeable media type - - // Pass in the template media type. If this is partially specified, - // each of the enumerated media types will need to be checked against - // it. If it is non-null and fully specified, we will just try to connect - // with this. - - const CMediaType * ptype = (CMediaType*)pmt; - HRESULT hr = AgreeMediaType(pReceivePin, ptype); - if (FAILED(hr)) { - DbgLog((LOG_TRACE, CONNECT_TRACE_LEVEL, TEXT("Failed to agree type"))); - - // Since the procedure is already returning an error code, there - // is nothing else this function can do to report the error. - EXECUTE_ASSERT( SUCCEEDED( BreakConnect() ) ); - -#ifdef DXMPERF - PERFLOG_CONNECT( (IPin *) this, pReceivePin, hr, pmt ); -#endif // DXMPERF - - return hr; - } - - DbgLog((LOG_TRACE, CONNECT_TRACE_LEVEL, TEXT("Connection succeeded"))); - -#ifdef DXMPERF - PERFLOG_CONNECT( (IPin *) this, pReceivePin, NOERROR, pmt ); -#endif // DXMPERF - - return NOERROR; -} - -// given a specific media type, attempt a connection (includes -// checking that the type is acceptable to this pin) -HRESULT -CBasePin::AttemptConnection( - IPin* pReceivePin, // connect to this pin - const CMediaType* pmt // using this type -) -{ - // The caller should hold the filter lock becasue this function - // uses m_Connected. The caller should also hold the filter lock - // because this function calls SetMediaType(), IsStopped() and - // CompleteConnect(). - ASSERT(CritCheckIn(m_pLock)); - - // Check that the connection is valid -- need to do this for every - // connect attempt since BreakConnect will undo it. - HRESULT hr = CheckConnect(pReceivePin); - if (FAILED(hr)) { - DbgLog((LOG_TRACE, CONNECT_TRACE_LEVEL, TEXT("CheckConnect failed"))); - - // Since the procedure is already returning an error code, there - // is nothing else this function can do to report the error. - EXECUTE_ASSERT( SUCCEEDED( BreakConnect() ) ); - - return hr; - } - - DisplayTypeInfo(pReceivePin, pmt); - - /* Check we will accept this media type */ - - hr = CheckMediaType(pmt); - if (hr == NOERROR) { - - /* Make ourselves look connected otherwise ReceiveConnection - may not be able to complete the connection - */ - m_Connected = pReceivePin; - m_Connected->AddRef(); - hr = SetMediaType(pmt); - if (SUCCEEDED(hr)) { - /* See if the other pin will accept this type */ - - hr = pReceivePin->ReceiveConnection((IPin *)this, pmt); - if (SUCCEEDED(hr)) { - /* Complete the connection */ - - hr = CompleteConnect(pReceivePin); - if (SUCCEEDED(hr)) { - return hr; - } else { - DbgLog((LOG_TRACE, - CONNECT_TRACE_LEVEL, - TEXT("Failed to complete connection"))); - pReceivePin->Disconnect(); - } - } - } - } else { - // we cannot use this media type - - // return a specific media type error if there is one - // or map a general failure code to something more helpful - // (in particular S_FALSE gets changed to an error code) - if (SUCCEEDED(hr) || - (hr == E_FAIL) || - (hr == E_INVALIDARG)) { - hr = VFW_E_TYPE_NOT_ACCEPTED; - } - } - - // BreakConnect and release any connection here in case CheckMediaType - // failed, or if we set anything up during a call back during - // ReceiveConnection. - - // Since the procedure is already returning an error code, there - // is nothing else this function can do to report the error. - EXECUTE_ASSERT( SUCCEEDED( BreakConnect() ) ); - - /* If failed then undo our state */ - if (m_Connected) { - m_Connected->Release(); - m_Connected = NULL; - } - - return hr; -} - -/* Given an enumerator we cycle through all the media types it proposes and - firstly suggest them to our derived pin class and if that succeeds try - them with the pin in a ReceiveConnection call. This means that if our pin - proposes a media type we still check in here that we can support it. This - is deliberate so that in simple cases the enumerator can hold all of the - media types even if some of them are not really currently available */ - -HRESULT CBasePin::TryMediaTypes( - IPin *pReceivePin, - __in_opt const CMediaType *pmt, - IEnumMediaTypes *pEnum) -{ - /* Reset the current enumerator position */ - - HRESULT hr = pEnum->Reset(); - if (FAILED(hr)) { - return hr; - } - - CMediaType *pMediaType = NULL; - ULONG ulMediaCount = 0; - - // attempt to remember a specific error code if there is one - HRESULT hrFailure = S_OK; - - for (;;) { - - /* Retrieve the next media type NOTE each time round the loop the - enumerator interface will allocate another AM_MEDIA_TYPE structure - If we are successful then we copy it into our output object, if - not then we must delete the memory allocated before returning */ - - hr = pEnum->Next(1, (AM_MEDIA_TYPE**)&pMediaType,&ulMediaCount); - if (hr != S_OK) { - if (S_OK == hrFailure) { - hrFailure = VFW_E_NO_ACCEPTABLE_TYPES; - } - return hrFailure; - } - - - ASSERT(ulMediaCount == 1); - ASSERT(pMediaType); - - // check that this matches the partial type (if any) - - if (pMediaType && - ((pmt == NULL) || - pMediaType->MatchesPartial(pmt))) { - - hr = AttemptConnection(pReceivePin, pMediaType); - - // attempt to remember a specific error code - if (FAILED(hr) && - SUCCEEDED(hrFailure) && - (hr != E_FAIL) && - (hr != E_INVALIDARG) && - (hr != VFW_E_TYPE_NOT_ACCEPTED)) { - hrFailure = hr; - } - } else { - hr = VFW_E_NO_ACCEPTABLE_TYPES; - } - - if(pMediaType) { - DeleteMediaType(pMediaType); - pMediaType = NULL; - } - - if (S_OK == hr) { - return hr; - } - } -} - - -/* This is called to make the connection, including the taask of finding - a media type for the pin connection. pmt is the proposed media type - from the Connect call: if this is fully specified, we will try that. - Otherwise we enumerate and try all the input pin's types first and - if that fails we then enumerate and try all our preferred media types. - For each media type we check it against pmt (if non-null and partially - specified) as well as checking that both pins will accept it. - */ - -HRESULT CBasePin::AgreeMediaType( - IPin *pReceivePin, - const CMediaType *pmt) -{ - ASSERT(pReceivePin); - IEnumMediaTypes *pEnumMediaTypes = NULL; - - // if the media type is fully specified then use that - if ( (pmt != NULL) && (!pmt->IsPartiallySpecified())) { - - // if this media type fails, then we must fail the connection - // since if pmt is nonnull we are only allowed to connect - // using a type that matches it. - - return AttemptConnection(pReceivePin, pmt); - } - - - /* Try the other pin's enumerator */ - - HRESULT hrFailure = VFW_E_NO_ACCEPTABLE_TYPES; - - for (int i = 0; i < 2; i++) { - HRESULT hr; - if (i == (int)m_bTryMyTypesFirst) { - hr = pReceivePin->EnumMediaTypes(&pEnumMediaTypes); - } else { - hr = EnumMediaTypes(&pEnumMediaTypes); - } - if (SUCCEEDED(hr)) { - ASSERT(pEnumMediaTypes); - hr = TryMediaTypes(pReceivePin,pmt,pEnumMediaTypes); - pEnumMediaTypes->Release(); - if (SUCCEEDED(hr)) { - return NOERROR; - } else { - // try to remember specific error codes if there are any - if ((hr != E_FAIL) && - (hr != E_INVALIDARG) && - (hr != VFW_E_TYPE_NOT_ACCEPTED)) { - hrFailure = hr; - } - } - } - } - - return hrFailure; -} - - -/* Called when we want to complete a connection to another filter. Failing - this will also fail the connection and disconnect the other pin as well */ - -HRESULT -CBasePin::CompleteConnect(IPin *pReceivePin) -{ - UNREFERENCED_PARAMETER(pReceivePin); - return NOERROR; -} - - -/* This is called to set the format for a pin connection - CheckMediaType - will have been called to check the connection format and if it didn't - return an error code then this (virtual) function will be invoked */ - -HRESULT -CBasePin::SetMediaType(const CMediaType *pmt) -{ - HRESULT hr = m_mt.Set(*pmt); - if (FAILED(hr)) { - return hr; - } - - return NOERROR; -} - - -/* This is called during Connect() to provide a virtual method that can do - any specific check needed for connection such as QueryInterface. This - base class method just checks that the pin directions don't match */ - -HRESULT -CBasePin::CheckConnect(IPin * pPin) -{ - /* Check that pin directions DONT match */ - - PIN_DIRECTION pd; - pPin->QueryDirection(&pd); - - ASSERT((pd == PINDIR_OUTPUT) || (pd == PINDIR_INPUT)); - ASSERT((m_dir == PINDIR_OUTPUT) || (m_dir == PINDIR_INPUT)); - - // we should allow for non-input and non-output connections? - if (pd == m_dir) { - return VFW_E_INVALID_DIRECTION; - } - return NOERROR; -} - - -/* This is called when we realise we can't make a connection to the pin and - must undo anything we did in CheckConnect - override to release QIs done */ - -HRESULT -CBasePin::BreakConnect() -{ - return NOERROR; -} - - -/* Called normally by an output pin on an input pin to try and establish a - connection. -*/ - -STDMETHODIMP -CBasePin::ReceiveConnection( - IPin * pConnector, // this is the pin who we will connect to - const AM_MEDIA_TYPE *pmt // this is the media type we will exchange -) -{ - CheckPointer(pConnector,E_POINTER); - CheckPointer(pmt,E_POINTER); - ValidateReadPtr(pConnector,sizeof(IPin)); - ValidateReadPtr(pmt,sizeof(AM_MEDIA_TYPE)); - CAutoLock cObjectLock(m_pLock); - - /* Are we already connected */ - if (m_Connected) { - return VFW_E_ALREADY_CONNECTED; - } - - /* See if the filter is active */ - if (!IsStopped() && !m_bCanReconnectWhenActive) { - return VFW_E_NOT_STOPPED; - } - - HRESULT hr = CheckConnect(pConnector); - if (FAILED(hr)) { - // Since the procedure is already returning an error code, there - // is nothing else this function can do to report the error. - EXECUTE_ASSERT( SUCCEEDED( BreakConnect() ) ); - -#ifdef DXMPERF - PERFLOG_RXCONNECT( pConnector, (IPin *) this, hr, pmt ); -#endif // DXMPERF - - return hr; - } - - /* Ask derived class if this media type is ok */ - - CMediaType * pcmt = (CMediaType*) pmt; - hr = CheckMediaType(pcmt); - if (hr != NOERROR) { - // no -we don't support this media type - - // Since the procedure is already returning an error code, there - // is nothing else this function can do to report the error. - EXECUTE_ASSERT( SUCCEEDED( BreakConnect() ) ); - - // return a specific media type error if there is one - // or map a general failure code to something more helpful - // (in particular S_FALSE gets changed to an error code) - if (SUCCEEDED(hr) || - (hr == E_FAIL) || - (hr == E_INVALIDARG)) { - hr = VFW_E_TYPE_NOT_ACCEPTED; - } - -#ifdef DXMPERF - PERFLOG_RXCONNECT( pConnector, (IPin *) this, hr, pmt ); -#endif // DXMPERF - - return hr; - } - - /* Complete the connection */ - - m_Connected = pConnector; - m_Connected->AddRef(); - hr = SetMediaType(pcmt); - if (SUCCEEDED(hr)) { - hr = CompleteConnect(pConnector); - if (SUCCEEDED(hr)) { - -#ifdef DXMPERF - PERFLOG_RXCONNECT( pConnector, (IPin *) this, NOERROR, pmt ); -#endif // DXMPERF - - return NOERROR; - } - } - - DbgLog((LOG_TRACE, CONNECT_TRACE_LEVEL, TEXT("Failed to set the media type or failed to complete the connection."))); - m_Connected->Release(); - m_Connected = NULL; - - // Since the procedure is already returning an error code, there - // is nothing else this function can do to report the error. - EXECUTE_ASSERT( SUCCEEDED( BreakConnect() ) ); - -#ifdef DXMPERF - PERFLOG_RXCONNECT( pConnector, (IPin *) this, hr, pmt ); -#endif // DXMPERF - - return hr; -} - - -/* Called when we want to terminate a pin connection */ - -STDMETHODIMP -CBasePin::Disconnect() -{ - CAutoLock cObjectLock(m_pLock); - - /* See if the filter is active */ - if (!IsStopped()) { - return VFW_E_NOT_STOPPED; - } - - return DisconnectInternal(); -} - -STDMETHODIMP -CBasePin::DisconnectInternal() -{ - ASSERT(CritCheckIn(m_pLock)); - - if (m_Connected) { - HRESULT hr = BreakConnect(); - if( FAILED( hr ) ) { - -#ifdef DXMPERF - PERFLOG_DISCONNECT( (IPin *) this, m_Connected, hr ); -#endif // DXMPERF - - // There is usually a bug in the program if BreakConnect() fails. - DbgBreak( "WARNING: BreakConnect() failed in CBasePin::Disconnect()." ); - return hr; - } - - m_Connected->Release(); - m_Connected = NULL; - -#ifdef DXMPERF - PERFLOG_DISCONNECT( (IPin *) this, m_Connected, S_OK ); -#endif // DXMPERF - - return S_OK; - } else { - // no connection - not an error - -#ifdef DXMPERF - PERFLOG_DISCONNECT( (IPin *) this, m_Connected, S_FALSE ); -#endif // DXMPERF - - return S_FALSE; - } -} - - -/* Return an AddRef()'d pointer to the connected pin if there is one */ -STDMETHODIMP -CBasePin::ConnectedTo( - __deref_out IPin **ppPin -) -{ - CheckPointer(ppPin,E_POINTER); - ValidateReadWritePtr(ppPin,sizeof(IPin *)); - // - // It's pointless to lock here. - // The caller should ensure integrity. - // - - IPin *pPin = m_Connected; - *ppPin = pPin; - if (pPin != NULL) { - pPin->AddRef(); - return S_OK; - } else { - ASSERT(*ppPin == NULL); - return VFW_E_NOT_CONNECTED; - } -} - -/* Return the media type of the connection */ -STDMETHODIMP -CBasePin::ConnectionMediaType( - __out AM_MEDIA_TYPE *pmt -) -{ - CheckPointer(pmt,E_POINTER); - ValidateReadWritePtr(pmt,sizeof(AM_MEDIA_TYPE)); - CAutoLock cObjectLock(m_pLock); - - /* Copy constructor of m_mt allocates the memory */ - if (IsConnected()) { - CopyMediaType( pmt, &m_mt ); - return S_OK; - } else { - ((CMediaType *)pmt)->InitMediaType(); - return VFW_E_NOT_CONNECTED; - } -} - -/* Return information about the filter we are connect to */ - -STDMETHODIMP -CBasePin::QueryPinInfo( - __out PIN_INFO * pInfo -) -{ - CheckPointer(pInfo,E_POINTER); - ValidateReadWritePtr(pInfo,sizeof(PIN_INFO)); - - pInfo->pFilter = m_pFilter; - if (m_pFilter) { - m_pFilter->AddRef(); - } - - if (m_pName) { - (void)StringCchCopyW(pInfo->achName, NUMELMS(pInfo->achName), m_pName); - } else { - pInfo->achName[0] = L'\0'; - } - - pInfo->dir = m_dir; - - return NOERROR; -} - -STDMETHODIMP -CBasePin::QueryDirection( - __out PIN_DIRECTION * pPinDir -) -{ - CheckPointer(pPinDir,E_POINTER); - ValidateReadWritePtr(pPinDir,sizeof(PIN_DIRECTION)); - - *pPinDir = m_dir; - return NOERROR; -} - -// Default QueryId to return the pin's name -STDMETHODIMP -CBasePin::QueryId( - __deref_out LPWSTR * Id -) -{ - // We're not going away because someone's got a pointer to us - // so there's no need to lock - - return AMGetWideString(Name(), Id); -} - -/* Does this pin support this media type WARNING this interface function does - not lock the main object as it is meant to be asynchronous by nature - if - the media types you support depend on some internal state that is updated - dynamically then you will need to implement locking in a derived class */ - -STDMETHODIMP -CBasePin::QueryAccept( - const AM_MEDIA_TYPE *pmt -) -{ - CheckPointer(pmt,E_POINTER); - ValidateReadPtr(pmt,sizeof(AM_MEDIA_TYPE)); - - /* The CheckMediaType method is valid to return error codes if the media - type is horrible, an example might be E_INVALIDARG. What we do here - is map all the error codes into either S_OK or S_FALSE regardless */ - - HRESULT hr = CheckMediaType((CMediaType*)pmt); - if (FAILED(hr)) { - return S_FALSE; - } - // note that the only defined success codes should be S_OK and S_FALSE... - return hr; -} - - -/* This can be called to return an enumerator for the pin's list of preferred - media types. An input pin is not obliged to have any preferred formats - although it can do. For example, the window renderer has a preferred type - which describes a video image that matches the current window size. All - output pins should expose at least one preferred format otherwise it is - possible that neither pin has any types and so no connection is possible */ - -STDMETHODIMP -CBasePin::EnumMediaTypes( - __deref_out IEnumMediaTypes **ppEnum -) -{ - CheckPointer(ppEnum,E_POINTER); - ValidateReadWritePtr(ppEnum,sizeof(IEnumMediaTypes *)); - - /* Create a new ref counted enumerator */ - - *ppEnum = new CEnumMediaTypes(this, - NULL); - - if (*ppEnum == NULL) { - return E_OUTOFMEMORY; - } - - return NOERROR; -} - - - -/* This is a virtual function that returns a media type corresponding with - place iPosition in the list. This base class simply returns an error as - we support no media types by default but derived classes should override */ - -HRESULT CBasePin::GetMediaType(int iPosition, __inout CMediaType *pMediaType) -{ - UNREFERENCED_PARAMETER(iPosition); - UNREFERENCED_PARAMETER(pMediaType); - return E_UNEXPECTED; -} - - -/* This is a virtual function that returns the current media type version. - The base class initialises the media type enumerators with the value 1 - By default we always returns that same value. A Derived class may change - the list of media types available and after doing so it should increment - the version either in a method derived from this, or more simply by just - incrementing the m_TypeVersion base pin variable. The type enumerators - call this when they want to see if their enumerations are out of date */ - -LONG CBasePin::GetMediaTypeVersion() -{ - return m_TypeVersion; -} - - -/* Increment the cookie representing the current media type version */ - -void CBasePin::IncrementTypeVersion() -{ - InterlockedIncrement(&m_TypeVersion); -} - - -/* Called by IMediaFilter implementation when the state changes from Stopped - to either paused or running and in derived classes could do things like - commit memory and grab hardware resource (the default is to do nothing) */ - -HRESULT -CBasePin::Active(void) -{ - return NOERROR; -} - -/* Called by IMediaFilter implementation when the state changes from - to either paused to running and in derived classes could do things like - commit memory and grab hardware resource (the default is to do nothing) */ - -HRESULT -CBasePin::Run(REFERENCE_TIME tStart) -{ - UNREFERENCED_PARAMETER(tStart); - return NOERROR; -} - - -/* Also called by the IMediaFilter implementation when the state changes to - Stopped at which point you should decommit allocators and free hardware - resources you grabbed in the Active call (default is also to do nothing) */ - -HRESULT -CBasePin::Inactive(void) -{ - m_bRunTimeError = FALSE; - return NOERROR; -} - - -// Called when no more data will arrive -STDMETHODIMP -CBasePin::EndOfStream(void) -{ - return S_OK; -} - - -STDMETHODIMP -CBasePin::SetSink(IQualityControl * piqc) -{ - CAutoLock cObjectLock(m_pLock); - if (piqc) ValidateReadPtr(piqc,sizeof(IQualityControl)); - m_pQSink = piqc; - return NOERROR; -} // SetSink - - -STDMETHODIMP -CBasePin::Notify(IBaseFilter * pSender, Quality q) -{ - UNREFERENCED_PARAMETER(q); - UNREFERENCED_PARAMETER(pSender); - DbgBreak("IQualityControl::Notify not over-ridden from CBasePin. (IGNORE is OK)"); - return E_NOTIMPL; -} //Notify - - -// NewSegment notifies of the start/stop/rate applying to the data -// about to be received. Default implementation records data and -// returns S_OK. -// Override this to pass downstream. -STDMETHODIMP -CBasePin::NewSegment( - REFERENCE_TIME tStart, - REFERENCE_TIME tStop, - double dRate) -{ - m_tStart = tStart; - m_tStop = tStop; - m_dRate = dRate; - - return S_OK; -} - - -//===================================================================== -//===================================================================== -// Implements CBaseOutputPin -//===================================================================== -//===================================================================== - - -CBaseOutputPin::CBaseOutputPin(__in_opt LPCTSTR pObjectName, - __in CBaseFilter *pFilter, - __in CCritSec *pLock, - __inout HRESULT *phr, - __in_opt LPCWSTR pName) : - CBasePin(pObjectName, pFilter, pLock, phr, pName, PINDIR_OUTPUT), - m_pAllocator(NULL), - m_pInputPin(NULL) -{ - ASSERT(pFilter); -} - -#ifdef UNICODE -CBaseOutputPin::CBaseOutputPin(__in_opt LPCSTR pObjectName, - __in CBaseFilter *pFilter, - __in CCritSec *pLock, - __inout HRESULT *phr, - __in_opt LPCWSTR pName) : - CBasePin(pObjectName, pFilter, pLock, phr, pName, PINDIR_OUTPUT), - m_pAllocator(NULL), - m_pInputPin(NULL) -{ - ASSERT(pFilter); -} -#endif - -/* This is called after a media type has been proposed - - Try to complete the connection by agreeing the allocator -*/ -HRESULT -CBaseOutputPin::CompleteConnect(IPin *pReceivePin) -{ - UNREFERENCED_PARAMETER(pReceivePin); - return DecideAllocator(m_pInputPin, &m_pAllocator); -} - - -/* This method is called when the output pin is about to try and connect to - an input pin. It is at this point that you should try and grab any extra - interfaces that you need, in this case IMemInputPin. Because this is - only called if we are not currently connected we do NOT need to call - BreakConnect. This also makes it easier to derive classes from us as - BreakConnect is only called when we actually have to break a connection - (or a partly made connection) and not when we are checking a connection */ - -/* Overriden from CBasePin */ - -HRESULT -CBaseOutputPin::CheckConnect(IPin * pPin) -{ - HRESULT hr = CBasePin::CheckConnect(pPin); - if (FAILED(hr)) { - return hr; - } - - // get an input pin and an allocator interface - hr = pPin->QueryInterface(IID_IMemInputPin, (void **) &m_pInputPin); - if (FAILED(hr)) { - return hr; - } - return NOERROR; -} - - -/* Overriden from CBasePin */ - -HRESULT -CBaseOutputPin::BreakConnect() -{ - /* Release any allocator we hold */ - - if (m_pAllocator) { - // Always decommit the allocator because a downstream filter may or - // may not decommit the connection's allocator. A memory leak could - // occur if the allocator is not decommited when a connection is broken. - HRESULT hr = m_pAllocator->Decommit(); - if( FAILED( hr ) ) { - return hr; - } - - m_pAllocator->Release(); - m_pAllocator = NULL; - } - - /* Release any input pin interface we hold */ - - if (m_pInputPin) { - m_pInputPin->Release(); - m_pInputPin = NULL; - } - return NOERROR; -} - - -/* This is called when the input pin didn't give us a valid allocator */ - -HRESULT -CBaseOutputPin::InitAllocator(__deref_out IMemAllocator **ppAlloc) -{ - return CreateMemoryAllocator(ppAlloc); -} - - -/* Decide on an allocator, override this if you want to use your own allocator - Override DecideBufferSize to call SetProperties. If the input pin fails - the GetAllocator call then this will construct a CMemAllocator and call - DecideBufferSize on that, and if that fails then we are completely hosed. - If the you succeed the DecideBufferSize call, we will notify the input - pin of the selected allocator. NOTE this is called during Connect() which - therefore looks after grabbing and locking the object's critical section */ - -// We query the input pin for its requested properties and pass this to -// DecideBufferSize to allow it to fulfill requests that it is happy -// with (eg most people don't care about alignment and are thus happy to -// use the downstream pin's alignment request). - -HRESULT -CBaseOutputPin::DecideAllocator(IMemInputPin *pPin, __deref_out IMemAllocator **ppAlloc) -{ - HRESULT hr = NOERROR; - *ppAlloc = NULL; - - // get downstream prop request - // the derived class may modify this in DecideBufferSize, but - // we assume that he will consistently modify it the same way, - // so we only get it once - ALLOCATOR_PROPERTIES prop; - ZeroMemory(&prop, sizeof(prop)); - - // whatever he returns, we assume prop is either all zeros - // or he has filled it out. - pPin->GetAllocatorRequirements(&prop); - - // if he doesn't care about alignment, then set it to 1 - if (prop.cbAlign == 0) { - prop.cbAlign = 1; - } - - /* Try the allocator provided by the input pin */ - - hr = pPin->GetAllocator(ppAlloc); - if (SUCCEEDED(hr)) { - - hr = DecideBufferSize(*ppAlloc, &prop); - if (SUCCEEDED(hr)) { - hr = pPin->NotifyAllocator(*ppAlloc, FALSE); - if (SUCCEEDED(hr)) { - return NOERROR; - } - } - } - - /* If the GetAllocator failed we may not have an interface */ - - if (*ppAlloc) { - (*ppAlloc)->Release(); - *ppAlloc = NULL; - } - - /* Try the output pin's allocator by the same method */ - - hr = InitAllocator(ppAlloc); - if (SUCCEEDED(hr)) { - - // note - the properties passed here are in the same - // structure as above and may have been modified by - // the previous call to DecideBufferSize - hr = DecideBufferSize(*ppAlloc, &prop); - if (SUCCEEDED(hr)) { - hr = pPin->NotifyAllocator(*ppAlloc, FALSE); - if (SUCCEEDED(hr)) { - return NOERROR; - } - } - } - - /* Likewise we may not have an interface to release */ - - if (*ppAlloc) { - (*ppAlloc)->Release(); - *ppAlloc = NULL; - } - return hr; -} - - -/* This returns an empty sample buffer from the allocator WARNING the same - dangers and restrictions apply here as described below for Deliver() */ - -HRESULT -CBaseOutputPin::GetDeliveryBuffer(__deref_out IMediaSample ** ppSample, - __in_opt REFERENCE_TIME * pStartTime, - __in_opt REFERENCE_TIME * pEndTime, - DWORD dwFlags) -{ - if (m_pAllocator != NULL) { - return m_pAllocator->GetBuffer(ppSample,pStartTime,pEndTime,dwFlags); - } else { - return E_NOINTERFACE; - } -} - - -/* Deliver a filled-in sample to the connected input pin. NOTE the object must - have locked itself before calling us otherwise we may get halfway through - executing this method only to find the filter graph has got in and - disconnected us from the input pin. If the filter has no worker threads - then the lock is best applied on Receive(), otherwise it should be done - when the worker thread is ready to deliver. There is a wee snag to worker - threads that this shows up. The worker thread must lock the object when - it is ready to deliver a sample, but it may have to wait until a state - change has completed, but that may never complete because the state change - is waiting for the worker thread to complete. The way to handle this is for - the state change code to grab the critical section, then set an abort event - for the worker thread, then release the critical section and wait for the - worker thread to see the event we set and then signal that it has finished - (with another event). At which point the state change code can complete */ - -// note (if you've still got any breath left after reading that) that you -// need to release the sample yourself after this call. if the connected -// input pin needs to hold onto the sample beyond the call, it will addref -// the sample itself. - -// of course you must release this one and call GetDeliveryBuffer for the -// next. You cannot reuse it directly. - -HRESULT -CBaseOutputPin::Deliver(IMediaSample * pSample) -{ - if (m_pInputPin == NULL) { - return VFW_E_NOT_CONNECTED; - } - -#ifdef DXMPERF - PERFLOG_DELIVER( m_pName ? m_pName : L"CBaseOutputPin", (IPin *) this, (IPin *) m_pInputPin, pSample, &m_mt ); -#endif // DXMPERF - - return m_pInputPin->Receive(pSample); -} - - -// called from elsewhere in our filter to pass EOS downstream to -// our connected input pin -HRESULT -CBaseOutputPin::DeliverEndOfStream(void) -{ - // remember this is on IPin not IMemInputPin - if (m_Connected == NULL) { - return VFW_E_NOT_CONNECTED; - } - return m_Connected->EndOfStream(); -} - - -/* Commit the allocator's memory, this is called through IMediaFilter - which is responsible for locking the object before calling us */ - -HRESULT -CBaseOutputPin::Active(void) -{ - if (m_pAllocator == NULL) { - return VFW_E_NO_ALLOCATOR; - } - return m_pAllocator->Commit(); -} - - -/* Free up or unprepare allocator's memory, this is called through - IMediaFilter which is responsible for locking the object first */ - -HRESULT -CBaseOutputPin::Inactive(void) -{ - m_bRunTimeError = FALSE; - if (m_pAllocator == NULL) { - return VFW_E_NO_ALLOCATOR; - } - return m_pAllocator->Decommit(); -} - -// we have a default handling of EndOfStream which is to return -// an error, since this should be called on input pins only -STDMETHODIMP -CBaseOutputPin::EndOfStream(void) -{ - return E_UNEXPECTED; -} - - -// BeginFlush should be called on input pins only -STDMETHODIMP -CBaseOutputPin::BeginFlush(void) -{ - return E_UNEXPECTED; -} - -// EndFlush should be called on input pins only -STDMETHODIMP -CBaseOutputPin::EndFlush(void) -{ - return E_UNEXPECTED; -} - -// call BeginFlush on the connected input pin -HRESULT -CBaseOutputPin::DeliverBeginFlush(void) -{ - // remember this is on IPin not IMemInputPin - if (m_Connected == NULL) { - return VFW_E_NOT_CONNECTED; - } - return m_Connected->BeginFlush(); -} - -// call EndFlush on the connected input pin -HRESULT -CBaseOutputPin::DeliverEndFlush(void) -{ - // remember this is on IPin not IMemInputPin - if (m_Connected == NULL) { - return VFW_E_NOT_CONNECTED; - } - return m_Connected->EndFlush(); -} -// deliver NewSegment to connected pin -HRESULT -CBaseOutputPin::DeliverNewSegment( - REFERENCE_TIME tStart, - REFERENCE_TIME tStop, - double dRate) -{ - if (m_Connected == NULL) { - return VFW_E_NOT_CONNECTED; - } - return m_Connected->NewSegment(tStart, tStop, dRate); -} - - -//===================================================================== -//===================================================================== -// Implements CBaseInputPin -//===================================================================== -//===================================================================== - - -/* Constructor creates a default allocator object */ - -CBaseInputPin::CBaseInputPin(__in_opt LPCTSTR pObjectName, - __in CBaseFilter *pFilter, - __in CCritSec *pLock, - __inout HRESULT *phr, - __in_opt LPCWSTR pPinName) : - CBasePin(pObjectName, pFilter, pLock, phr, pPinName, PINDIR_INPUT), - m_pAllocator(NULL), - m_bReadOnly(FALSE), - m_bFlushing(FALSE) -{ - ZeroMemory(&m_SampleProps, sizeof(m_SampleProps)); -} - -#ifdef UNICODE -CBaseInputPin::CBaseInputPin(__in LPCSTR pObjectName, - __in CBaseFilter *pFilter, - __in CCritSec *pLock, - __inout HRESULT *phr, - __in_opt LPCWSTR pPinName) : - CBasePin(pObjectName, pFilter, pLock, phr, pPinName, PINDIR_INPUT), - m_pAllocator(NULL), - m_bReadOnly(FALSE), - m_bFlushing(FALSE) -{ - ZeroMemory(&m_SampleProps, sizeof(m_SampleProps)); -} -#endif - -/* Destructor releases it's reference count on the default allocator */ - -CBaseInputPin::~CBaseInputPin() -{ - if (m_pAllocator != NULL) { - m_pAllocator->Release(); - m_pAllocator = NULL; - } -} - - -// override this to publicise our interfaces -STDMETHODIMP -CBaseInputPin::NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv) -{ - /* Do we know about this interface */ - - if (riid == IID_IMemInputPin) { - return GetInterface((IMemInputPin *) this, ppv); - } else { - return CBasePin::NonDelegatingQueryInterface(riid, ppv); - } -} - - -/* Return the allocator interface that this input pin would like the output - pin to use. NOTE subsequent calls to GetAllocator should all return an - interface onto the SAME object so we create one object at the start - - Note: - The allocator is Release()'d on disconnect and replaced on - NotifyAllocator(). - - Override this to provide your own allocator. -*/ - -STDMETHODIMP -CBaseInputPin::GetAllocator( - __deref_out IMemAllocator **ppAllocator) -{ - CheckPointer(ppAllocator,E_POINTER); - ValidateReadWritePtr(ppAllocator,sizeof(IMemAllocator *)); - CAutoLock cObjectLock(m_pLock); - - if (m_pAllocator == NULL) { - HRESULT hr = CreateMemoryAllocator(&m_pAllocator); - if (FAILED(hr)) { - return hr; - } - } - ASSERT(m_pAllocator != NULL); - *ppAllocator = m_pAllocator; - m_pAllocator->AddRef(); - return NOERROR; -} - - -/* Tell the input pin which allocator the output pin is actually going to use - Override this if you care - NOTE the locking we do both here and also in - GetAllocator is unnecessary but derived classes that do something useful - will undoubtedly have to lock the object so this might help remind people */ - -STDMETHODIMP -CBaseInputPin::NotifyAllocator( - IMemAllocator * pAllocator, - BOOL bReadOnly) -{ - CheckPointer(pAllocator,E_POINTER); - ValidateReadPtr(pAllocator,sizeof(IMemAllocator)); - CAutoLock cObjectLock(m_pLock); - - IMemAllocator *pOldAllocator = m_pAllocator; - pAllocator->AddRef(); - m_pAllocator = pAllocator; - - if (pOldAllocator != NULL) { - pOldAllocator->Release(); - } - - // the readonly flag indicates whether samples from this allocator should - // be regarded as readonly - if true, then inplace transforms will not be - // allowed. - m_bReadOnly = (BYTE)bReadOnly; - return NOERROR; -} - - -HRESULT -CBaseInputPin::BreakConnect() -{ - /* We don't need our allocator any more */ - if (m_pAllocator) { - // Always decommit the allocator because a downstream filter may or - // may not decommit the connection's allocator. A memory leak could - // occur if the allocator is not decommited when a pin is disconnected. - HRESULT hr = m_pAllocator->Decommit(); - if( FAILED( hr ) ) { - return hr; - } - - m_pAllocator->Release(); - m_pAllocator = NULL; - } - - return S_OK; -} - - -/* Do something with this media sample - this base class checks to see if the - format has changed with this media sample and if so checks that the filter - will accept it, generating a run time error if not. Once we have raised a - run time error we set a flag so that no more samples will be accepted - - It is important that any filter should override this method and implement - synchronization so that samples are not processed when the pin is - disconnected etc -*/ - -STDMETHODIMP -CBaseInputPin::Receive(IMediaSample *pSample) -{ - CheckPointer(pSample,E_POINTER); - ValidateReadPtr(pSample,sizeof(IMediaSample)); - ASSERT(pSample); - - HRESULT hr = CheckStreaming(); - if (S_OK != hr) { - return hr; - } - -#ifdef DXMPERF - PERFLOG_RECEIVE( m_pName ? m_pName : L"CBaseInputPin", (IPin *) m_Connected, (IPin *) this, pSample, &m_mt ); -#endif // DXMPERF - - - /* Check for IMediaSample2 */ - IMediaSample2 *pSample2; - if (SUCCEEDED(pSample->QueryInterface(IID_IMediaSample2, (void **)&pSample2))) { - hr = pSample2->GetProperties(sizeof(m_SampleProps), (PBYTE)&m_SampleProps); - pSample2->Release(); - if (FAILED(hr)) { - return hr; - } - } else { - /* Get the properties the hard way */ - m_SampleProps.cbData = sizeof(m_SampleProps); - m_SampleProps.dwTypeSpecificFlags = 0; - m_SampleProps.dwStreamId = AM_STREAM_MEDIA; - m_SampleProps.dwSampleFlags = 0; - if (S_OK == pSample->IsDiscontinuity()) { - m_SampleProps.dwSampleFlags |= AM_SAMPLE_DATADISCONTINUITY; - } - if (S_OK == pSample->IsPreroll()) { - m_SampleProps.dwSampleFlags |= AM_SAMPLE_PREROLL; - } - if (S_OK == pSample->IsSyncPoint()) { - m_SampleProps.dwSampleFlags |= AM_SAMPLE_SPLICEPOINT; - } - if (SUCCEEDED(pSample->GetTime(&m_SampleProps.tStart, - &m_SampleProps.tStop))) { - m_SampleProps.dwSampleFlags |= AM_SAMPLE_TIMEVALID | - AM_SAMPLE_STOPVALID; - } - if (S_OK == pSample->GetMediaType(&m_SampleProps.pMediaType)) { - m_SampleProps.dwSampleFlags |= AM_SAMPLE_TYPECHANGED; - } - pSample->GetPointer(&m_SampleProps.pbBuffer); - m_SampleProps.lActual = pSample->GetActualDataLength(); - m_SampleProps.cbBuffer = pSample->GetSize(); - } - - /* Has the format changed in this sample */ - - if (!(m_SampleProps.dwSampleFlags & AM_SAMPLE_TYPECHANGED)) { - return NOERROR; - } - - /* Check the derived class accepts this format */ - /* This shouldn't fail as the source must call QueryAccept first */ - - hr = CheckMediaType((CMediaType *)m_SampleProps.pMediaType); - - if (hr == NOERROR) { - return NOERROR; - } - - /* Raise a runtime error if we fail the media type */ - - m_bRunTimeError = TRUE; - EndOfStream(); - m_pFilter->NotifyEvent(EC_ERRORABORT,VFW_E_TYPE_NOT_ACCEPTED,0); - return VFW_E_INVALIDMEDIATYPE; -} - - -/* Receive multiple samples */ -STDMETHODIMP -CBaseInputPin::ReceiveMultiple ( - __in_ecount(nSamples) IMediaSample **pSamples, - long nSamples, - __out long *nSamplesProcessed) -{ - CheckPointer(pSamples,E_POINTER); - ValidateReadPtr(pSamples,nSamples * sizeof(IMediaSample *)); - - HRESULT hr = S_OK; - *nSamplesProcessed = 0; - while (nSamples-- > 0) { - hr = Receive(pSamples[*nSamplesProcessed]); - - /* S_FALSE means don't send any more */ - if (hr != S_OK) { - break; - } - (*nSamplesProcessed)++; - } - return hr; -} - -/* See if Receive() might block */ -STDMETHODIMP -CBaseInputPin::ReceiveCanBlock() -{ - /* Ask all the output pins if they block - If there are no output pin assume we do block - */ - int cPins = m_pFilter->GetPinCount(); - int cOutputPins = 0; - for (int c = 0; c < cPins; c++) { - CBasePin *pPin = m_pFilter->GetPin(c); - if (NULL == pPin) { - break; - } - PIN_DIRECTION pd; - HRESULT hr = pPin->QueryDirection(&pd); - if (FAILED(hr)) { - return hr; - } - - if (pd == PINDIR_OUTPUT) { - - IPin *pConnected; - hr = pPin->ConnectedTo(&pConnected); - if (SUCCEEDED(hr)) { - ASSERT(pConnected != NULL); - cOutputPins++; - IMemInputPin *pInputPin; - hr = pConnected->QueryInterface( - IID_IMemInputPin, - (void **)&pInputPin); - pConnected->Release(); - if (SUCCEEDED(hr)) { - hr = pInputPin->ReceiveCanBlock(); - pInputPin->Release(); - if (hr != S_FALSE) { - return S_OK; - } - } else { - /* There's a transport we don't understand here */ - return S_OK; - } - } - } - } - return cOutputPins == 0 ? S_OK : S_FALSE; -} - -// Default handling for BeginFlush - call at the beginning -// of your implementation (makes sure that all Receive calls -// fail). After calling this, you need to free any queued data -// and then call downstream. -STDMETHODIMP -CBaseInputPin::BeginFlush(void) -{ - // BeginFlush is NOT synchronized with streaming but is part of - // a control action - hence we synchronize with the filter - CAutoLock lck(m_pLock); - - // if we are already in mid-flush, this is probably a mistake - // though not harmful - try to pick it up for now so I can think about it - ASSERT(!m_bFlushing); - - // first thing to do is ensure that no further Receive calls succeed - m_bFlushing = TRUE; - - // now discard any data and call downstream - must do that - // in derived classes - return S_OK; -} - -// default handling for EndFlush - call at end of your implementation -// - before calling this, ensure that there is no queued data and no thread -// pushing any more without a further receive, then call downstream, -// then call this method to clear the m_bFlushing flag and re-enable -// receives -STDMETHODIMP -CBaseInputPin::EndFlush(void) -{ - // Endlush is NOT synchronized with streaming but is part of - // a control action - hence we synchronize with the filter - CAutoLock lck(m_pLock); - - // almost certainly a mistake if we are not in mid-flush - ASSERT(m_bFlushing); - - // before calling, sync with pushing thread and ensure - // no more data is going downstream, then call EndFlush on - // downstream pins. - - // now re-enable Receives - m_bFlushing = FALSE; - - // No more errors - m_bRunTimeError = FALSE; - - return S_OK; -} - - -STDMETHODIMP -CBaseInputPin::Notify(IBaseFilter * pSender, Quality q) -{ - UNREFERENCED_PARAMETER(q); - CheckPointer(pSender,E_POINTER); - ValidateReadPtr(pSender,sizeof(IBaseFilter)); - DbgBreak("IQuality::Notify called on an input pin"); - return NOERROR; -} // Notify - -/* Free up or unprepare allocator's memory, this is called through - IMediaFilter which is responsible for locking the object first */ - -HRESULT -CBaseInputPin::Inactive(void) -{ - m_bRunTimeError = FALSE; - if (m_pAllocator == NULL) { - return VFW_E_NO_ALLOCATOR; - } - - m_bFlushing = FALSE; - - return m_pAllocator->Decommit(); -} - -// what requirements do we have of the allocator - override if you want -// to support other people's allocators but need a specific alignment -// or prefix. -STDMETHODIMP -CBaseInputPin::GetAllocatorRequirements(__out ALLOCATOR_PROPERTIES*pProps) -{ - UNREFERENCED_PARAMETER(pProps); - return E_NOTIMPL; -} - -// Check if it's OK to process data -// -HRESULT -CBaseInputPin::CheckStreaming() -{ - // Shouldn't be able to get any data if we're not connected! - ASSERT(IsConnected()); - - // Don't process stuff in Stopped state - if (IsStopped()) { - return VFW_E_WRONG_STATE; - } - if (m_bFlushing) { - return S_FALSE; - } - if (m_bRunTimeError) { - return VFW_E_RUNTIME_ERROR; - } - return S_OK; -} - -// Pass on the Quality notification q to -// a. Our QualityControl sink (if we have one) or else -// b. to our upstream filter -// and if that doesn't work, throw it away with a bad return code -HRESULT -CBaseInputPin::PassNotify(Quality& q) -{ - // We pass the message on, which means that we find the quality sink - // for our input pin and send it there - - DbgLog((LOG_TRACE,3,TEXT("Passing Quality notification through transform"))); - if (m_pQSink!=NULL) { - return m_pQSink->Notify(m_pFilter, q); - } else { - // no sink set, so pass it upstream - HRESULT hr; - IQualityControl * pIQC; - - hr = VFW_E_NOT_FOUND; // default - if (m_Connected) { - m_Connected->QueryInterface(IID_IQualityControl, (void**)&pIQC); - - if (pIQC!=NULL) { - hr = pIQC->Notify(m_pFilter, q); - pIQC->Release(); - } - } - return hr; - } - -} // PassNotify - -//===================================================================== -//===================================================================== -// Memory allocation class, implements CMediaSample -//===================================================================== -//===================================================================== - - -/* NOTE The implementation of this class calls the CUnknown constructor with - a NULL outer unknown pointer. This has the effect of making us a self - contained class, ie any QueryInterface, AddRef or Release calls will be - routed to the class's NonDelegatingUnknown methods. You will typically - find that the classes that do this then override one or more of these - virtual functions to provide more specialised behaviour. A good example - of this is where a class wants to keep the QueryInterface internal but - still wants it's lifetime controlled by the external object */ - -/* The last two parameters have default values of NULL and zero */ - -CMediaSample::CMediaSample(__in_opt LPCTSTR pName, - __in_opt CBaseAllocator *pAllocator, - __inout_opt HRESULT *phr, - __in_bcount_opt(length) LPBYTE pBuffer, - LONG length) : - m_pBuffer(pBuffer), // Initialise the buffer - m_cbBuffer(length), // And it's length - m_lActual(length), // By default, actual = length - m_pMediaType(NULL), // No media type change - m_dwFlags(0), // Nothing set - m_cRef(0), // 0 ref count - m_dwTypeSpecificFlags(0), // Type specific flags - m_dwStreamId(AM_STREAM_MEDIA), // Stream id - m_pAllocator(pAllocator) // Allocator -{ -#ifdef DXMPERF - PERFLOG_CTOR( pName ? pName : L"CMediaSample", (IMediaSample *) this ); -#endif // DXMPERF - - /* We must have an owner and it must also be derived from class - CBaseAllocator BUT we do not hold a reference count on it */ - - ASSERT(pAllocator); - - if (length < 0) { - *phr = VFW_E_BUFFER_OVERFLOW; - m_cbBuffer = 0; - } -} - -#ifdef UNICODE -CMediaSample::CMediaSample(__in_opt LPCSTR pName, - __in_opt CBaseAllocator *pAllocator, - __inout_opt HRESULT *phr, - __in_bcount_opt(length) LPBYTE pBuffer, - LONG length) : - m_pBuffer(pBuffer), // Initialise the buffer - m_cbBuffer(length), // And it's length - m_lActual(length), // By default, actual = length - m_pMediaType(NULL), // No media type change - m_dwFlags(0), // Nothing set - m_cRef(0), // 0 ref count - m_dwTypeSpecificFlags(0), // Type specific flags - m_dwStreamId(AM_STREAM_MEDIA), // Stream id - m_pAllocator(pAllocator) // Allocator -{ -#ifdef DXMPERF - PERFLOG_CTOR( L"CMediaSample", (IMediaSample *) this ); -#endif // DXMPERF - - /* We must have an owner and it must also be derived from class - CBaseAllocator BUT we do not hold a reference count on it */ - - ASSERT(pAllocator); -} -#endif - -/* Destructor deletes the media type memory */ - -CMediaSample::~CMediaSample() -{ -#ifdef DXMPERF - PERFLOG_DTOR( L"CMediaSample", (IMediaSample *) this ); -#endif // DXMPERF - - if (m_pMediaType) { - DeleteMediaType(m_pMediaType); - } -} - -/* Override this to publicise our interfaces */ - -STDMETHODIMP -CMediaSample::QueryInterface(REFIID riid, __deref_out void **ppv) -{ - if (riid == IID_IMediaSample || - riid == IID_IMediaSample2 || - riid == IID_IUnknown) { - return GetInterface((IMediaSample *) this, ppv); - } else { - *ppv = NULL; - return E_NOINTERFACE; - } -} - -STDMETHODIMP_(ULONG) -CMediaSample::AddRef() -{ - return InterlockedIncrement(&m_cRef); -} - - -// -- CMediaSample lifetimes -- -// -// On final release of this sample buffer it is not deleted but -// returned to the freelist of the owning memory allocator -// -// The allocator may be waiting for the last buffer to be placed on the free -// list in order to decommit all the memory, so the ReleaseBuffer() call may -// result in this sample being deleted. We also need to hold a refcount on -// the allocator to stop that going away until we have finished with this. -// However, we cannot release the allocator before the ReleaseBuffer, as the -// release may cause us to be deleted. Similarly we can't do it afterwards. -// -// Thus we must leave it to the allocator to hold an addref on our behalf. -// When he issues us in GetBuffer, he addref's himself. When ReleaseBuffer -// is called, he releases himself, possibly causing us and him to be deleted. - - -STDMETHODIMP_(ULONG) -CMediaSample::Release() -{ - /* Decrement our own private reference count */ - LONG lRef; - if (m_cRef == 1) { - lRef = 0; - m_cRef = 0; - } else { - lRef = InterlockedDecrement(&m_cRef); - } - ASSERT(lRef >= 0); - - DbgLog((LOG_MEMORY,3,TEXT(" Unknown %X ref-- = %d"), - this, m_cRef)); - - /* Did we release our final reference count */ - if (lRef == 0) { - /* Free all resources */ - if (m_dwFlags & Sample_TypeChanged) { - SetMediaType(NULL); - } - ASSERT(m_pMediaType == NULL); - m_dwFlags = 0; - m_dwTypeSpecificFlags = 0; - m_dwStreamId = AM_STREAM_MEDIA; - - /* This may cause us to be deleted */ - // Our refcount is reliably 0 thus no-one will mess with us - m_pAllocator->ReleaseBuffer(this); - } - return (ULONG)lRef; -} - - -// set the buffer pointer and length. Used by allocators that -// want variable sized pointers or pointers into already-read data. -// This is only available through a CMediaSample* not an IMediaSample* -// and so cannot be changed by clients. -HRESULT -CMediaSample::SetPointer(__in_bcount(cBytes) BYTE * ptr, LONG cBytes) -{ - if (cBytes < 0) { - return VFW_E_BUFFER_OVERFLOW; - } - m_pBuffer = ptr; // new buffer area (could be null) - m_cbBuffer = cBytes; // length of buffer - m_lActual = cBytes; // length of data in buffer (assume full) - - return S_OK; -} - - -// get me a read/write pointer to this buffer's memory. I will actually -// want to use sizeUsed bytes. -STDMETHODIMP -CMediaSample::GetPointer(__deref_out BYTE ** ppBuffer) -{ - ValidateReadWritePtr(ppBuffer,sizeof(BYTE *)); - - // creator must have set pointer either during - // constructor or by SetPointer - ASSERT(m_pBuffer); - - *ppBuffer = m_pBuffer; - return NOERROR; -} - - -// return the size in bytes of this buffer -STDMETHODIMP_(LONG) -CMediaSample::GetSize(void) -{ - return m_cbBuffer; -} - - -// get the stream time at which this sample should start and finish. -STDMETHODIMP -CMediaSample::GetTime( - __out REFERENCE_TIME * pTimeStart, // put time here - __out REFERENCE_TIME * pTimeEnd -) -{ - ValidateReadWritePtr(pTimeStart,sizeof(REFERENCE_TIME)); - ValidateReadWritePtr(pTimeEnd,sizeof(REFERENCE_TIME)); - - if (!(m_dwFlags & Sample_StopValid)) { - if (!(m_dwFlags & Sample_TimeValid)) { - return VFW_E_SAMPLE_TIME_NOT_SET; - } else { - *pTimeStart = m_Start; - - // Make sure old stuff works - *pTimeEnd = m_Start + 1; - return VFW_S_NO_STOP_TIME; - } - } - - *pTimeStart = m_Start; - *pTimeEnd = m_End; - return NOERROR; -} - - -// Set the stream time at which this sample should start and finish. -// NULL pointers means the time is reset -STDMETHODIMP -CMediaSample::SetTime( - __in_opt REFERENCE_TIME * pTimeStart, - __in_opt REFERENCE_TIME * pTimeEnd -) -{ - if (pTimeStart == NULL) { - ASSERT(pTimeEnd == NULL); - m_dwFlags &= ~(Sample_TimeValid | Sample_StopValid); - } else { - if (pTimeEnd == NULL) { - m_Start = *pTimeStart; - m_dwFlags |= Sample_TimeValid; - m_dwFlags &= ~Sample_StopValid; - } else { - ValidateReadPtr(pTimeStart,sizeof(REFERENCE_TIME)); - ValidateReadPtr(pTimeEnd,sizeof(REFERENCE_TIME)); - ASSERT(*pTimeEnd >= *pTimeStart); - - m_Start = *pTimeStart; - m_End = *pTimeEnd; - m_dwFlags |= Sample_TimeValid | Sample_StopValid; - } - } - return NOERROR; -} - - -// get the media times (eg bytes) for this sample -STDMETHODIMP -CMediaSample::GetMediaTime( - __out LONGLONG * pTimeStart, - __out LONGLONG * pTimeEnd -) -{ - ValidateReadWritePtr(pTimeStart,sizeof(LONGLONG)); - ValidateReadWritePtr(pTimeEnd,sizeof(LONGLONG)); - - if (!(m_dwFlags & Sample_MediaTimeValid)) { - return VFW_E_MEDIA_TIME_NOT_SET; - } - - *pTimeStart = m_MediaStart; - *pTimeEnd = (m_MediaStart + m_MediaEnd); - return NOERROR; -} - - -// Set the media times for this sample -STDMETHODIMP -CMediaSample::SetMediaTime( - __in_opt LONGLONG * pTimeStart, - __in_opt LONGLONG * pTimeEnd -) -{ - if (pTimeStart == NULL) { - ASSERT(pTimeEnd == NULL); - m_dwFlags &= ~Sample_MediaTimeValid; - } else { - if (NULL == pTimeEnd) { - return E_POINTER; - } - ValidateReadPtr(pTimeStart,sizeof(LONGLONG)); - ValidateReadPtr(pTimeEnd,sizeof(LONGLONG)); - ASSERT(*pTimeEnd >= *pTimeStart); - - m_MediaStart = *pTimeStart; - m_MediaEnd = (LONG)(*pTimeEnd - *pTimeStart); - m_dwFlags |= Sample_MediaTimeValid; - } - return NOERROR; -} - - -STDMETHODIMP -CMediaSample::IsSyncPoint(void) -{ - if (m_dwFlags & Sample_SyncPoint) { - return S_OK; - } else { - return S_FALSE; - } -} - - -STDMETHODIMP -CMediaSample::SetSyncPoint(BOOL bIsSyncPoint) -{ - if (bIsSyncPoint) { - m_dwFlags |= Sample_SyncPoint; - } else { - m_dwFlags &= ~Sample_SyncPoint; - } - return NOERROR; -} - -// returns S_OK if there is a discontinuity in the data (this same is -// not a continuation of the previous stream of data -// - there has been a seek). -STDMETHODIMP -CMediaSample::IsDiscontinuity(void) -{ - if (m_dwFlags & Sample_Discontinuity) { - return S_OK; - } else { - return S_FALSE; - } -} - -// set the discontinuity property - TRUE if this sample is not a -// continuation, but a new sample after a seek. -STDMETHODIMP -CMediaSample::SetDiscontinuity(BOOL bDiscont) -{ - // should be TRUE or FALSE - if (bDiscont) { - m_dwFlags |= Sample_Discontinuity; - } else { - m_dwFlags &= ~Sample_Discontinuity; - } - return S_OK; -} - -STDMETHODIMP -CMediaSample::IsPreroll(void) -{ - if (m_dwFlags & Sample_Preroll) { - return S_OK; - } else { - return S_FALSE; - } -} - - -STDMETHODIMP -CMediaSample::SetPreroll(BOOL bIsPreroll) -{ - if (bIsPreroll) { - m_dwFlags |= Sample_Preroll; - } else { - m_dwFlags &= ~Sample_Preroll; - } - return NOERROR; -} - -STDMETHODIMP_(LONG) -CMediaSample::GetActualDataLength(void) -{ - return m_lActual; -} - - -STDMETHODIMP -CMediaSample::SetActualDataLength(LONG lActual) -{ - if (lActual > m_cbBuffer || lActual < 0) { - ASSERT(lActual <= GetSize()); - return VFW_E_BUFFER_OVERFLOW; - } - m_lActual = lActual; - return NOERROR; -} - - -/* These allow for limited format changes in band */ - -STDMETHODIMP -CMediaSample::GetMediaType(__deref_out AM_MEDIA_TYPE **ppMediaType) -{ - ValidateReadWritePtr(ppMediaType,sizeof(AM_MEDIA_TYPE *)); - ASSERT(ppMediaType); - - /* Do we have a new media type for them */ - - if (!(m_dwFlags & Sample_TypeChanged)) { - ASSERT(m_pMediaType == NULL); - *ppMediaType = NULL; - return S_FALSE; - } - - ASSERT(m_pMediaType); - - /* Create a copy of our media type */ - - *ppMediaType = CreateMediaType(m_pMediaType); - if (*ppMediaType == NULL) { - return E_OUTOFMEMORY; - } - return NOERROR; -} - - -/* Mark this sample as having a different format type */ - -STDMETHODIMP -CMediaSample::SetMediaType(__in_opt AM_MEDIA_TYPE *pMediaType) -{ - /* Delete the current media type */ - - if (m_pMediaType) { - DeleteMediaType(m_pMediaType); - m_pMediaType = NULL; - } - - /* Mechanism for resetting the format type */ - - if (pMediaType == NULL) { - m_dwFlags &= ~Sample_TypeChanged; - return NOERROR; - } - - ASSERT(pMediaType); - ValidateReadPtr(pMediaType,sizeof(AM_MEDIA_TYPE)); - - /* Take a copy of the media type */ - - m_pMediaType = CreateMediaType(pMediaType); - if (m_pMediaType == NULL) { - m_dwFlags &= ~Sample_TypeChanged; - return E_OUTOFMEMORY; - } - - m_dwFlags |= Sample_TypeChanged; - return NOERROR; -} - -// Set and get properties (IMediaSample2) -STDMETHODIMP CMediaSample::GetProperties( - DWORD cbProperties, - __out_bcount(cbProperties) BYTE * pbProperties -) -{ - if (0 != cbProperties) { - CheckPointer(pbProperties, E_POINTER); - // Return generic stuff up to the length - AM_SAMPLE2_PROPERTIES Props; - Props.cbData = min(cbProperties, sizeof(Props)); - Props.dwSampleFlags = m_dwFlags & ~Sample_MediaTimeValid; - Props.dwTypeSpecificFlags = m_dwTypeSpecificFlags; - Props.pbBuffer = m_pBuffer; - Props.cbBuffer = m_cbBuffer; - Props.lActual = m_lActual; - Props.tStart = m_Start; - Props.tStop = m_End; - Props.dwStreamId = m_dwStreamId; - if (m_dwFlags & AM_SAMPLE_TYPECHANGED) { - Props.pMediaType = m_pMediaType; - } else { - Props.pMediaType = NULL; - } - CopyMemory(pbProperties, &Props, Props.cbData); - } - return S_OK; -} - -#define CONTAINS_FIELD(type, field, offset) \ - ((FIELD_OFFSET(type, field) + sizeof(((type *)0)->field)) <= offset) - -HRESULT CMediaSample::SetProperties( - DWORD cbProperties, - __in_bcount(cbProperties) const BYTE * pbProperties -) -{ - - /* Generic properties */ - AM_MEDIA_TYPE *pMediaType = NULL; - - if (CONTAINS_FIELD(AM_SAMPLE2_PROPERTIES, cbData, cbProperties)) { - CheckPointer(pbProperties, E_POINTER); - AM_SAMPLE2_PROPERTIES *pProps = - (AM_SAMPLE2_PROPERTIES *)pbProperties; - - /* Don't use more data than is actually there */ - if (pProps->cbData < cbProperties) { - cbProperties = pProps->cbData; - } - /* We only handle IMediaSample2 */ - if (cbProperties > sizeof(*pProps) || - pProps->cbData > sizeof(*pProps)) { - return E_INVALIDARG; - } - /* Do checks first, the assignments (for backout) */ - if (CONTAINS_FIELD(AM_SAMPLE2_PROPERTIES, dwSampleFlags, cbProperties)) { - /* Check the flags */ - if (pProps->dwSampleFlags & - (~Sample_ValidFlags | Sample_MediaTimeValid)) { - return E_INVALIDARG; - } - /* Check a flag isn't being set for a property - not being provided - */ - if ((pProps->dwSampleFlags & AM_SAMPLE_TIMEVALID) && - !(m_dwFlags & AM_SAMPLE_TIMEVALID) && - !CONTAINS_FIELD(AM_SAMPLE2_PROPERTIES, tStop, cbProperties)) { - return E_INVALIDARG; - } - } - /* NB - can't SET the pointer or size */ - if (CONTAINS_FIELD(AM_SAMPLE2_PROPERTIES, pbBuffer, cbProperties)) { - - /* Check pbBuffer */ - if (pProps->pbBuffer != 0 && pProps->pbBuffer != m_pBuffer) { - return E_INVALIDARG; - } - } - if (CONTAINS_FIELD(AM_SAMPLE2_PROPERTIES, cbBuffer, cbProperties)) { - - /* Check cbBuffer */ - if (pProps->cbBuffer != 0 && pProps->cbBuffer != m_cbBuffer) { - return E_INVALIDARG; - } - } - if (CONTAINS_FIELD(AM_SAMPLE2_PROPERTIES, cbBuffer, cbProperties) && - CONTAINS_FIELD(AM_SAMPLE2_PROPERTIES, lActual, cbProperties)) { - - /* Check lActual */ - if (pProps->cbBuffer < pProps->lActual) { - return E_INVALIDARG; - } - } - - if (CONTAINS_FIELD(AM_SAMPLE2_PROPERTIES, pMediaType, cbProperties)) { - - /* Check pMediaType */ - if (pProps->dwSampleFlags & AM_SAMPLE_TYPECHANGED) { - CheckPointer(pProps->pMediaType, E_POINTER); - pMediaType = CreateMediaType(pProps->pMediaType); - if (pMediaType == NULL) { - return E_OUTOFMEMORY; - } - } - } - - /* Now do the assignments */ - if (CONTAINS_FIELD(AM_SAMPLE2_PROPERTIES, dwStreamId, cbProperties)) { - m_dwStreamId = pProps->dwStreamId; - } - if (CONTAINS_FIELD(AM_SAMPLE2_PROPERTIES, dwSampleFlags, cbProperties)) { - /* Set the flags */ - m_dwFlags = pProps->dwSampleFlags | - (m_dwFlags & Sample_MediaTimeValid); - m_dwTypeSpecificFlags = pProps->dwTypeSpecificFlags; - } else { - if (CONTAINS_FIELD(AM_SAMPLE2_PROPERTIES, dwTypeSpecificFlags, cbProperties)) { - m_dwTypeSpecificFlags = pProps->dwTypeSpecificFlags; - } - } - - if (CONTAINS_FIELD(AM_SAMPLE2_PROPERTIES, lActual, cbProperties)) { - /* Set lActual */ - m_lActual = pProps->lActual; - } - - if (CONTAINS_FIELD(AM_SAMPLE2_PROPERTIES, tStop, cbProperties)) { - - /* Set the times */ - m_End = pProps->tStop; - } - if (CONTAINS_FIELD(AM_SAMPLE2_PROPERTIES, tStart, cbProperties)) { - - /* Set the times */ - m_Start = pProps->tStart; - } - - if (CONTAINS_FIELD(AM_SAMPLE2_PROPERTIES, pMediaType, cbProperties)) { - /* Set pMediaType */ - if (pProps->dwSampleFlags & AM_SAMPLE_TYPECHANGED) { - if (m_pMediaType != NULL) { - DeleteMediaType(m_pMediaType); - } - m_pMediaType = pMediaType; - } - } - - /* Fix up the type changed flag to correctly reflect the current state - If, for instance the input contained no type change but the - output does then if we don't do this we'd lose the - output media type. - */ - if (m_pMediaType) { - m_dwFlags |= Sample_TypeChanged; - } else { - m_dwFlags &= ~Sample_TypeChanged; - } - } - - return S_OK; -} - - -// -// The streaming thread calls IPin::NewSegment(), IPin::EndOfStream(), -// IMemInputPin::Receive() and IMemInputPin::ReceiveMultiple() on the -// connected input pin. The application thread calls Block(). The -// following class members can only be called by the streaming thread. -// -// Deliver() -// DeliverNewSegment() -// StartUsingOutputPin() -// StopUsingOutputPin() -// ChangeOutputFormat() -// ChangeMediaType() -// DynamicReconnect() -// -// The following class members can only be called by the application thread. -// -// Block() -// SynchronousBlockOutputPin() -// AsynchronousBlockOutputPin() -// - -CDynamicOutputPin::CDynamicOutputPin( - __in_opt LPCTSTR pObjectName, - __in CBaseFilter *pFilter, - __in CCritSec *pLock, - __inout HRESULT *phr, - __in_opt LPCWSTR pName) : - CBaseOutputPin(pObjectName, pFilter, pLock, phr, pName), - m_hStopEvent(NULL), - m_pGraphConfig(NULL), - m_bPinUsesReadOnlyAllocator(FALSE), - m_BlockState(NOT_BLOCKED), - m_hUnblockOutputPinEvent(NULL), - m_hNotifyCallerPinBlockedEvent(NULL), - m_dwBlockCallerThreadID(0), - m_dwNumOutstandingOutputPinUsers(0) -{ - HRESULT hr = Initialize(); - if( FAILED( hr ) ) { - *phr = hr; - return; - } -} - -#ifdef UNICODE -CDynamicOutputPin::CDynamicOutputPin( - __in_opt LPCSTR pObjectName, - __in CBaseFilter *pFilter, - __in CCritSec *pLock, - __inout HRESULT *phr, - __in_opt LPCWSTR pName) : - CBaseOutputPin(pObjectName, pFilter, pLock, phr, pName), - m_hStopEvent(NULL), - m_pGraphConfig(NULL), - m_bPinUsesReadOnlyAllocator(FALSE), - m_BlockState(NOT_BLOCKED), - m_hUnblockOutputPinEvent(NULL), - m_hNotifyCallerPinBlockedEvent(NULL), - m_dwBlockCallerThreadID(0), - m_dwNumOutstandingOutputPinUsers(0) -{ - HRESULT hr = Initialize(); - if( FAILED( hr ) ) { - *phr = hr; - return; - } -} -#endif - -CDynamicOutputPin::~CDynamicOutputPin() -{ - if(NULL != m_hUnblockOutputPinEvent) { - // This call should not fail because we have access to m_hUnblockOutputPinEvent - // and m_hUnblockOutputPinEvent is a valid event. - EXECUTE_ASSERT(::CloseHandle(m_hUnblockOutputPinEvent)); - } - - if(NULL != m_hNotifyCallerPinBlockedEvent) { - // This call should not fail because we have access to m_hNotifyCallerPinBlockedEvent - // and m_hNotifyCallerPinBlockedEvent is a valid event. - EXECUTE_ASSERT(::CloseHandle(m_hNotifyCallerPinBlockedEvent)); - } -} - -HRESULT CDynamicOutputPin::Initialize(void) -{ - m_hUnblockOutputPinEvent = ::CreateEvent( NULL, // The event will have the default security descriptor. - TRUE, // This is a manual reset event. - TRUE, // The event is initially signaled. - NULL ); // The event is not named. - - // CreateEvent() returns NULL if an error occurs. - if(NULL == m_hUnblockOutputPinEvent) { - return AmGetLastErrorToHResult(); - } - - // Set flag to say we can reconnect while streaming. - SetReconnectWhenActive(true); - - return S_OK; -} - -STDMETHODIMP CDynamicOutputPin::NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv) -{ - if(riid == IID_IPinFlowControl) { - return GetInterface(static_cast(this), ppv); - } else { - return CBaseOutputPin::NonDelegatingQueryInterface(riid, ppv); - } -} - -STDMETHODIMP CDynamicOutputPin::Disconnect(void) -{ - CAutoLock cObjectLock(m_pLock); - return DisconnectInternal(); -} - -STDMETHODIMP CDynamicOutputPin::Block(DWORD dwBlockFlags, HANDLE hEvent) -{ - const DWORD VALID_FLAGS = AM_PIN_FLOW_CONTROL_BLOCK; - - // Check for illegal flags. - if(dwBlockFlags & ~VALID_FLAGS) { - return E_INVALIDARG; - } - - // Make sure the event is unsignaled. - if((dwBlockFlags & AM_PIN_FLOW_CONTROL_BLOCK) && (NULL != hEvent)) { - if( !::ResetEvent( hEvent ) ) { - return AmGetLastErrorToHResult(); - } - } - - // No flags are set if we are unblocking the output pin. - if(0 == dwBlockFlags) { - - // This parameter should be NULL because unblock operations are always synchronous. - // There is no need to notify the caller when the event is done. - if(NULL != hEvent) { - return E_INVALIDARG; - } - } - - #ifdef DEBUG - AssertValid(); - #endif // DEBUG - - HRESULT hr; - - if(dwBlockFlags & AM_PIN_FLOW_CONTROL_BLOCK) { - // IPinFlowControl::Block()'s hEvent parameter is NULL if the block is synchronous. - // If hEvent is not NULL, the block is asynchronous. - if(NULL == hEvent) { - hr = SynchronousBlockOutputPin(); - } else { - hr = AsynchronousBlockOutputPin(hEvent); - } - } else { - hr = UnblockOutputPin(); - } - - #ifdef DEBUG - AssertValid(); - #endif // DEBUG - - if(FAILED(hr)) { - return hr; - } - - return S_OK; -} - -HRESULT CDynamicOutputPin::SynchronousBlockOutputPin(void) -{ - HANDLE hNotifyCallerPinBlockedEvent = :: CreateEvent( NULL, // The event will have the default security attributes. - FALSE, // This is an automatic reset event. - FALSE, // The event is initially unsignaled. - NULL ); // The event is not named. - - // CreateEvent() returns NULL if an error occurs. - if(NULL == hNotifyCallerPinBlockedEvent) { - return AmGetLastErrorToHResult(); - } - - HRESULT hr = AsynchronousBlockOutputPin(hNotifyCallerPinBlockedEvent); - if(FAILED(hr)) { - // This call should not fail because we have access to hNotifyCallerPinBlockedEvent - // and hNotifyCallerPinBlockedEvent is a valid event. - EXECUTE_ASSERT(::CloseHandle(hNotifyCallerPinBlockedEvent)); - - return hr; - } - - hr = WaitEvent(hNotifyCallerPinBlockedEvent); - - // This call should not fail because we have access to hNotifyCallerPinBlockedEvent - // and hNotifyCallerPinBlockedEvent is a valid event. - EXECUTE_ASSERT(::CloseHandle(hNotifyCallerPinBlockedEvent)); - - if(FAILED(hr)) { - return hr; - } - - return S_OK; -} - -HRESULT CDynamicOutputPin::AsynchronousBlockOutputPin(HANDLE hNotifyCallerPinBlockedEvent) -{ - // This function holds the m_BlockStateLock because it uses - // m_dwBlockCallerThreadID, m_BlockState and - // m_hNotifyCallerPinBlockedEvent. - CAutoLock alBlockStateLock(&m_BlockStateLock); - - if(NOT_BLOCKED != m_BlockState) { - if(m_dwBlockCallerThreadID == ::GetCurrentThreadId()) { - return VFW_E_PIN_ALREADY_BLOCKED_ON_THIS_THREAD; - } else { - return VFW_E_PIN_ALREADY_BLOCKED; - } - } - - BOOL fSuccess = ::DuplicateHandle( ::GetCurrentProcess(), - hNotifyCallerPinBlockedEvent, - ::GetCurrentProcess(), - &m_hNotifyCallerPinBlockedEvent, - EVENT_MODIFY_STATE, - FALSE, - 0 ); - if( !fSuccess ) { - return AmGetLastErrorToHResult(); - } - - m_BlockState = PENDING; - m_dwBlockCallerThreadID = ::GetCurrentThreadId(); - - // The output pin cannot be blocked if the streaming thread is - // calling IPin::NewSegment(), IPin::EndOfStream(), IMemInputPin::Receive() - // or IMemInputPin::ReceiveMultiple() on the connected input pin. Also, it - // cannot be blocked if the streaming thread is calling DynamicReconnect(), - // ChangeMediaType() or ChangeOutputFormat(). - if(!StreamingThreadUsingOutputPin()) { - - // The output pin can be immediately blocked. - BlockOutputPin(); - } - - return S_OK; -} - -void CDynamicOutputPin::BlockOutputPin(void) -{ - // The caller should always hold the m_BlockStateLock because this function - // uses m_BlockState and m_hNotifyCallerPinBlockedEvent. - ASSERT(CritCheckIn(&m_BlockStateLock)); - - // This function should not be called if the streaming thread is modifying - // the connection state or it's passing data downstream. - ASSERT(!StreamingThreadUsingOutputPin()); - - // This should not fail because we successfully created the event - // and we have the security permissions to change it's state. - EXECUTE_ASSERT(::ResetEvent(m_hUnblockOutputPinEvent)); - - // This event should not fail because AsynchronousBlockOutputPin() successfully - // duplicated this handle and we have the appropriate security permissions. - EXECUTE_ASSERT(::SetEvent(m_hNotifyCallerPinBlockedEvent)); - EXECUTE_ASSERT(::CloseHandle(m_hNotifyCallerPinBlockedEvent)); - - m_BlockState = BLOCKED; - m_hNotifyCallerPinBlockedEvent = NULL; -} - -HRESULT CDynamicOutputPin::UnblockOutputPin(void) -{ - // UnblockOutputPin() holds the m_BlockStateLock because it - // uses m_BlockState, m_dwBlockCallerThreadID and - // m_hNotifyCallerPinBlockedEvent. - CAutoLock alBlockStateLock(&m_BlockStateLock); - - if(NOT_BLOCKED == m_BlockState) { - return S_FALSE; - } - - // This should not fail because we successfully created the event - // and we have the security permissions to change it's state. - EXECUTE_ASSERT(::SetEvent(m_hUnblockOutputPinEvent)); - - // Cancel the block operation if it's still pending. - if(NULL != m_hNotifyCallerPinBlockedEvent) { - // This event should not fail because AsynchronousBlockOutputPin() successfully - // duplicated this handle and we have the appropriate security permissions. - EXECUTE_ASSERT(::SetEvent(m_hNotifyCallerPinBlockedEvent)); - EXECUTE_ASSERT(::CloseHandle(m_hNotifyCallerPinBlockedEvent)); - } - - m_BlockState = NOT_BLOCKED; - m_dwBlockCallerThreadID = 0; - m_hNotifyCallerPinBlockedEvent = NULL; - - return S_OK; -} - -HRESULT CDynamicOutputPin::StartUsingOutputPin(void) -{ - // The caller should not hold m_BlockStateLock. If the caller does, - // a deadlock could occur. - ASSERT(CritCheckOut(&m_BlockStateLock)); - - CAutoLock alBlockStateLock(&m_BlockStateLock); - - #ifdef DEBUG - AssertValid(); - #endif // DEBUG - - // Are we in the middle of a block operation? - while(BLOCKED == m_BlockState) { - m_BlockStateLock.Unlock(); - - // If this ASSERT fires, a deadlock could occur. The caller should make sure - // that this thread never acquires the Block State lock more than once. - ASSERT(CritCheckOut( &m_BlockStateLock )); - - // WaitForMultipleObjects() returns WAIT_OBJECT_0 if the unblock event - // is fired. It returns WAIT_OBJECT_0 + 1 if the stop event if fired. - // See the Windows SDK documentation for more information on - // WaitForMultipleObjects(). - const DWORD UNBLOCK = WAIT_OBJECT_0; - const DWORD STOP = WAIT_OBJECT_0 + 1; - - HANDLE ahWaitEvents[] = { m_hUnblockOutputPinEvent, m_hStopEvent }; - DWORD dwNumWaitEvents = sizeof(ahWaitEvents)/sizeof(HANDLE); - - DWORD dwReturnValue = ::WaitForMultipleObjects( dwNumWaitEvents, ahWaitEvents, FALSE, INFINITE ); - - m_BlockStateLock.Lock(); - - #ifdef DEBUG - AssertValid(); - #endif // DEBUG - - switch( dwReturnValue ) { - case UNBLOCK: - break; - - case STOP: - return VFW_E_STATE_CHANGED; - - case WAIT_FAILED: - return AmGetLastErrorToHResult(); - - default: - DbgBreak( "An Unexpected case occured in CDynamicOutputPin::StartUsingOutputPin()." ); - return E_UNEXPECTED; - } - } - - m_dwNumOutstandingOutputPinUsers++; - - #ifdef DEBUG - AssertValid(); - #endif // DEBUG - - return S_OK; -} - -void CDynamicOutputPin::StopUsingOutputPin(void) -{ - CAutoLock alBlockStateLock(&m_BlockStateLock); - - #ifdef DEBUG - AssertValid(); - #endif // DEBUG - - m_dwNumOutstandingOutputPinUsers--; - - if((m_dwNumOutstandingOutputPinUsers == 0) && (NOT_BLOCKED != m_BlockState)) { - BlockOutputPin(); - } - - #ifdef DEBUG - AssertValid(); - #endif // DEBUG -} - -bool CDynamicOutputPin::StreamingThreadUsingOutputPin(void) -{ - CAutoLock alBlockStateLock(&m_BlockStateLock); - - return (m_dwNumOutstandingOutputPinUsers > 0); -} - -void CDynamicOutputPin::SetConfigInfo(IGraphConfig *pGraphConfig, HANDLE hStopEvent) -{ - // This pointer is not addrefed because filters are not allowed to - // hold references to the filter graph manager. See the documentation for - // IBaseFilter::JoinFilterGraph() in the Direct Show SDK for more information. - m_pGraphConfig = pGraphConfig; - - m_hStopEvent = hStopEvent; -} - -HRESULT CDynamicOutputPin::Active(void) -{ - // Make sure the user initialized the object by calling SetConfigInfo(). - if((NULL == m_hStopEvent) || (NULL == m_pGraphConfig)) { - DbgBreak( ERROR: CDynamicOutputPin::Active() failed because m_pGraphConfig and m_hStopEvent were not initialized. Call SetConfigInfo() to initialize them. ); - return E_FAIL; - } - - // If this ASSERT fires, the user may have passed an invalid event handle to SetConfigInfo(). - // The ASSERT can also fire if the event if destroyed and then Active() is called. An event - // handle is invalid if 1) the event does not exist or the user does not have the security - // permissions to use the event. - EXECUTE_ASSERT(ResetEvent(m_hStopEvent)); - - return CBaseOutputPin::Active(); -} - -HRESULT CDynamicOutputPin::Inactive(void) -{ - // If this ASSERT fires, the user may have passed an invalid event handle to SetConfigInfo(). - // The ASSERT can also fire if the event if destroyed and then Active() is called. An event - // handle is invalid if 1) the event does not exist or the user does not have the security - // permissions to use the event. - EXECUTE_ASSERT(SetEvent(m_hStopEvent)); - - return CBaseOutputPin::Inactive(); -} - -HRESULT CDynamicOutputPin::DeliverBeginFlush(void) -{ - // If this ASSERT fires, the user may have passed an invalid event handle to SetConfigInfo(). - // The ASSERT can also fire if the event if destroyed and then DeliverBeginFlush() is called. - // An event handle is invalid if 1) the event does not exist or the user does not have the security - // permissions to use the event. - EXECUTE_ASSERT(SetEvent(m_hStopEvent)); - - return CBaseOutputPin::DeliverBeginFlush(); -} - -HRESULT CDynamicOutputPin::DeliverEndFlush(void) -{ - // If this ASSERT fires, the user may have passed an invalid event handle to SetConfigInfo(). - // The ASSERT can also fire if the event if destroyed and then DeliverBeginFlush() is called. - // An event handle is invalid if 1) the event does not exist or the user does not have the security - // permissions to use the event. - EXECUTE_ASSERT(ResetEvent(m_hStopEvent)); - - return CBaseOutputPin::DeliverEndFlush(); -} - - -// ChangeOutputFormat() either dynamicly changes the connection's format type or it dynamicly -// reconnects the output pin. -HRESULT CDynamicOutputPin::ChangeOutputFormat - ( - const AM_MEDIA_TYPE *pmt, - REFERENCE_TIME tSegmentStart, - REFERENCE_TIME tSegmentStop, - double dSegmentRate - ) -{ - // The caller should call StartUsingOutputPin() before calling this - // method. - ASSERT(StreamingThreadUsingOutputPin()); - - // Callers should always pass a valid media type to ChangeOutputFormat() . - ASSERT(NULL != pmt); - - CMediaType cmt(*pmt); - HRESULT hr = ChangeMediaType(&cmt); - if (FAILED(hr)) { - return hr; - } - - hr = DeliverNewSegment(tSegmentStart, tSegmentStop, dSegmentRate); - if( FAILED( hr ) ) { - return hr; - } - - return S_OK; -} - -HRESULT CDynamicOutputPin::ChangeMediaType(const CMediaType *pmt) -{ - // The caller should call StartUsingOutputPin() before calling this - // method. - ASSERT(StreamingThreadUsingOutputPin()); - - // This function assumes the filter graph is running. - ASSERT(!IsStopped()); - - if(!IsConnected()) { - return VFW_E_NOT_CONNECTED; - } - - /* First check if the downstream pin will accept a dynamic - format change - */ - QzCComPtr pConnection; - - m_Connected->QueryInterface(IID_IPinConnection, (void **)&pConnection); - if(pConnection != NULL) { - - if(S_OK == pConnection->DynamicQueryAccept(pmt)) { - - HRESULT hr = ChangeMediaTypeHelper(pmt); - if(FAILED(hr)) { - return hr; - } - - return S_OK; - } - } - - /* Can't do the dynamic connection */ - return DynamicReconnect(pmt); -} - -HRESULT CDynamicOutputPin::ChangeMediaTypeHelper(const CMediaType *pmt) -{ - // The caller should call StartUsingOutputPin() before calling this - // method. - ASSERT(StreamingThreadUsingOutputPin()); - - HRESULT hr = m_Connected->ReceiveConnection(this, pmt); - if(FAILED(hr)) { - return hr; - } - - hr = SetMediaType(pmt); - if(FAILED(hr)) { - return hr; - } - - // Does this pin use the local memory transport? - if(NULL != m_pInputPin) { - // This function assumes that m_pInputPin and m_Connected are - // two different interfaces to the same object. - ASSERT(::IsEqualObject(m_Connected, m_pInputPin)); - - ALLOCATOR_PROPERTIES apInputPinRequirements; - apInputPinRequirements.cbAlign = 0; - apInputPinRequirements.cbBuffer = 0; - apInputPinRequirements.cbPrefix = 0; - apInputPinRequirements.cBuffers = 0; - - m_pInputPin->GetAllocatorRequirements(&apInputPinRequirements); - - // A zero allignment does not make any sense. - if(0 == apInputPinRequirements.cbAlign) { - apInputPinRequirements.cbAlign = 1; - } - - hr = m_pAllocator->Decommit(); - if(FAILED(hr)) { - return hr; - } - - hr = DecideBufferSize(m_pAllocator, &apInputPinRequirements); - if(FAILED(hr)) { - return hr; - } - - hr = m_pAllocator->Commit(); - if(FAILED(hr)) { - return hr; - } - - hr = m_pInputPin->NotifyAllocator(m_pAllocator, m_bPinUsesReadOnlyAllocator); - if(FAILED(hr)) { - return hr; - } - } - - return S_OK; -} - -// this method has to be called from the thread that is pushing data, -// and it's the caller's responsibility to make sure that the thread -// has no outstand samples because they cannot be delivered after a -// reconnect -// -HRESULT CDynamicOutputPin::DynamicReconnect( const CMediaType* pmt ) -{ - // The caller should call StartUsingOutputPin() before calling this - // method. - ASSERT(StreamingThreadUsingOutputPin()); - - if((m_pGraphConfig == NULL) || (NULL == m_hStopEvent)) { - return E_FAIL; - } - - HRESULT hr = m_pGraphConfig->Reconnect( - this, - NULL, - pmt, - NULL, - m_hStopEvent, - AM_GRAPH_CONFIG_RECONNECT_CACHE_REMOVED_FILTERS ); - - return hr; -} - -HRESULT CDynamicOutputPin::CompleteConnect(IPin *pReceivePin) -{ - HRESULT hr = CBaseOutputPin::CompleteConnect(pReceivePin); - if(SUCCEEDED(hr)) { - if(!IsStopped() && m_pAllocator) { - hr = m_pAllocator->Commit(); - ASSERT(hr != VFW_E_ALREADY_COMMITTED); - } - } - - return hr; -} - -#ifdef DEBUG -void CDynamicOutputPin::AssertValid(void) -{ - // Make sure the object was correctly initialized. - - // This ASSERT only fires if the object failed to initialize - // and the user ignored the constructor's return code (phr). - ASSERT(NULL != m_hUnblockOutputPinEvent); - - // If either of these ASSERTs fire, the user did not correctly call - // SetConfigInfo(). - ASSERT(NULL != m_hStopEvent); - ASSERT(NULL != m_pGraphConfig); - - // Make sure the block state is consistent. - - CAutoLock alBlockStateLock(&m_BlockStateLock); - - // BLOCK_STATE variables only have three legal values: PENDING, BLOCKED and NOT_BLOCKED. - ASSERT((NOT_BLOCKED == m_BlockState) || (PENDING == m_BlockState) || (BLOCKED == m_BlockState)); - - // m_hNotifyCallerPinBlockedEvent is only needed when a block operation cannot complete - // immediately. - ASSERT(((NULL == m_hNotifyCallerPinBlockedEvent) && (PENDING != m_BlockState)) || - ((NULL != m_hNotifyCallerPinBlockedEvent) && (PENDING == m_BlockState)) ); - - // m_dwBlockCallerThreadID should always be 0 if the pin is not blocked and - // the user is not trying to block the pin. - ASSERT((0 == m_dwBlockCallerThreadID) || (NOT_BLOCKED != m_BlockState)); - - // If this ASSERT fires, the streaming thread is using the output pin and the - // output pin is blocked. - ASSERT(((0 != m_dwNumOutstandingOutputPinUsers) && (BLOCKED != m_BlockState)) || - ((0 == m_dwNumOutstandingOutputPinUsers) && (NOT_BLOCKED != m_BlockState)) || - ((0 == m_dwNumOutstandingOutputPinUsers) && (NOT_BLOCKED == m_BlockState)) ); -} -#endif // DEBUG - -HRESULT CDynamicOutputPin::WaitEvent(HANDLE hEvent) -{ - const DWORD EVENT_SIGNALED = WAIT_OBJECT_0; - - DWORD dwReturnValue = ::WaitForSingleObject(hEvent, INFINITE); - - switch( dwReturnValue ) { - case EVENT_SIGNALED: - return S_OK; - - case WAIT_FAILED: - return AmGetLastErrorToHResult(); - - default: - DbgBreak( "An Unexpected case occured in CDynamicOutputPin::WaitEvent()." ); - return E_UNEXPECTED; - } -} - -//===================================================================== -//===================================================================== -// Implements CBaseAllocator -//===================================================================== -//===================================================================== - - -/* Constructor overrides the default settings for the free list to request - that it be alertable (ie the list can be cast to a handle which can be - passed to WaitForSingleObject). Both of the allocator lists also ask for - object locking, the all list matches the object default settings but I - have included them here just so it is obvious what kind of list it is */ - -CBaseAllocator::CBaseAllocator(__in_opt LPCTSTR pName, - __inout_opt LPUNKNOWN pUnk, - __inout HRESULT *phr, - BOOL bEvent, - BOOL fEnableReleaseCallback - ) : - CUnknown(pName, pUnk), - m_lAllocated(0), - m_bChanged(FALSE), - m_bCommitted(FALSE), - m_bDecommitInProgress(FALSE), - m_lSize(0), - m_lCount(0), - m_lAlignment(0), - m_lPrefix(0), - m_hSem(NULL), - m_lWaiting(0), - m_fEnableReleaseCallback(fEnableReleaseCallback), - m_pNotify(NULL) -{ -#ifdef DXMPERF - PERFLOG_CTOR( pName ? pName : L"CBaseAllocator", (IMemAllocator *) this ); -#endif // DXMPERF - - if (bEvent) { - m_hSem = CreateSemaphore(NULL, 0, 0x7FFFFFFF, NULL); - if (m_hSem == NULL) { - *phr = E_OUTOFMEMORY; - return; - } - } -} - -#ifdef UNICODE -CBaseAllocator::CBaseAllocator(__in_opt LPCSTR pName, - __inout_opt LPUNKNOWN pUnk, - __inout HRESULT *phr, - BOOL bEvent, - BOOL fEnableReleaseCallback) : - CUnknown(pName, pUnk), - m_lAllocated(0), - m_bChanged(FALSE), - m_bCommitted(FALSE), - m_bDecommitInProgress(FALSE), - m_lSize(0), - m_lCount(0), - m_lAlignment(0), - m_lPrefix(0), - m_hSem(NULL), - m_lWaiting(0), - m_fEnableReleaseCallback(fEnableReleaseCallback), - m_pNotify(NULL) -{ -#ifdef DXMPERF - PERFLOG_CTOR( L"CBaseAllocator", (IMemAllocator *) this ); -#endif // DXMPERF - - if (bEvent) { - m_hSem = CreateSemaphore(NULL, 0, 0x7FFFFFFF, NULL); - if (m_hSem == NULL) { - *phr = E_OUTOFMEMORY; - return; - } - } -} -#endif - -/* Destructor */ - -CBaseAllocator::~CBaseAllocator() -{ - // we can't call Decommit here since that would mean a call to a - // pure virtual in destructor. - // We must assume that the derived class has gone into decommit state in - // its destructor. -#ifdef DXMPERF - PERFLOG_DTOR( L"CBaseAllocator", (IMemAllocator *) this ); -#endif // DXMPERF - - ASSERT(!m_bCommitted); - if (m_hSem != NULL) { - EXECUTE_ASSERT(CloseHandle(m_hSem)); - } - if (m_pNotify) { - m_pNotify->Release(); - } -} - - -/* Override this to publicise our interfaces */ - -STDMETHODIMP -CBaseAllocator::NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv) -{ - /* Do we know about this interface */ - - if (riid == IID_IMemAllocator || - riid == IID_IMemAllocatorCallbackTemp && m_fEnableReleaseCallback) { - return GetInterface((IMemAllocatorCallbackTemp *) this, ppv); - } else { - return CUnknown::NonDelegatingQueryInterface(riid, ppv); - } -} - - -/* This sets the size and count of the required samples. The memory isn't - actually allocated until Commit() is called, if memory has already been - allocated then assuming no samples are outstanding the user may call us - to change the buffering, the memory will be released in Commit() */ - -STDMETHODIMP -CBaseAllocator::SetProperties( - __in ALLOCATOR_PROPERTIES* pRequest, - __out ALLOCATOR_PROPERTIES* pActual) -{ - CheckPointer(pRequest, E_POINTER); - CheckPointer(pActual, E_POINTER); - ValidateReadWritePtr(pActual, sizeof(ALLOCATOR_PROPERTIES)); - CAutoLock cObjectLock(this); - - ZeroMemory(pActual, sizeof(ALLOCATOR_PROPERTIES)); - - ASSERT(pRequest->cbBuffer > 0); - - /* Check the alignment requested */ - if (pRequest->cbAlign != 1) { - DbgLog((LOG_ERROR, 2, TEXT("Alignment requested was 0x%x, not 1"), - pRequest->cbAlign)); - return VFW_E_BADALIGN; - } - - /* Can't do this if already committed, there is an argument that says we - should not reject the SetProperties call if there are buffers still - active. However this is called by the source filter, which is the same - person who is holding the samples. Therefore it is not unreasonable - for them to free all their samples before changing the requirements */ - - if (m_bCommitted) { - return VFW_E_ALREADY_COMMITTED; - } - - /* Must be no outstanding buffers */ - - if (m_lAllocated != m_lFree.GetCount()) { - return VFW_E_BUFFERS_OUTSTANDING; - } - - /* There isn't any real need to check the parameters as they - will just be rejected when the user finally calls Commit */ - - pActual->cbBuffer = m_lSize = pRequest->cbBuffer; - pActual->cBuffers = m_lCount = pRequest->cBuffers; - pActual->cbAlign = m_lAlignment = pRequest->cbAlign; - pActual->cbPrefix = m_lPrefix = pRequest->cbPrefix; - - m_bChanged = TRUE; - return NOERROR; -} - -STDMETHODIMP -CBaseAllocator::GetProperties( - __out ALLOCATOR_PROPERTIES * pActual) -{ - CheckPointer(pActual,E_POINTER); - ValidateReadWritePtr(pActual,sizeof(ALLOCATOR_PROPERTIES)); - - CAutoLock cObjectLock(this); - pActual->cbBuffer = m_lSize; - pActual->cBuffers = m_lCount; - pActual->cbAlign = m_lAlignment; - pActual->cbPrefix = m_lPrefix; - return NOERROR; -} - -// get container for a sample. Blocking, synchronous call to get the -// next free buffer (as represented by an IMediaSample interface). -// on return, the time etc properties will be invalid, but the buffer -// pointer and size will be correct. - -HRESULT CBaseAllocator::GetBuffer(__deref_out IMediaSample **ppBuffer, - __in_opt REFERENCE_TIME *pStartTime, - __in_opt REFERENCE_TIME *pEndTime, - DWORD dwFlags - ) -{ - UNREFERENCED_PARAMETER(pStartTime); - UNREFERENCED_PARAMETER(pEndTime); - UNREFERENCED_PARAMETER(dwFlags); - CMediaSample *pSample; - - *ppBuffer = NULL; - for (;;) - { - { // scope for lock - CAutoLock cObjectLock(this); - - /* Check we are committed */ - if (!m_bCommitted) { - return VFW_E_NOT_COMMITTED; - } - pSample = (CMediaSample *) m_lFree.RemoveHead(); - if (pSample == NULL) { - SetWaiting(); - } - } - - /* If we didn't get a sample then wait for the list to signal */ - - if (pSample) { - break; - } - if (dwFlags & AM_GBF_NOWAIT) { - return VFW_E_TIMEOUT; - } - ASSERT(m_hSem != NULL); - WaitForSingleObject(m_hSem, INFINITE); - } - - /* Addref the buffer up to one. On release - back to zero instead of being deleted, it will requeue itself by - calling the ReleaseBuffer member function. NOTE the owner of a - media sample must always be derived from CBaseAllocator */ - - - ASSERT(pSample->m_cRef == 0); - pSample->m_cRef = 1; - *ppBuffer = pSample; - -#ifdef DXMPERF - PERFLOG_GETBUFFER( (IMemAllocator *) this, pSample ); -#endif // DXMPERF - - return NOERROR; -} - - -/* Final release of a CMediaSample will call this */ - -STDMETHODIMP -CBaseAllocator::ReleaseBuffer(IMediaSample * pSample) -{ - CheckPointer(pSample,E_POINTER); - ValidateReadPtr(pSample,sizeof(IMediaSample)); - -#ifdef DXMPERF - PERFLOG_RELBUFFER( (IMemAllocator *) this, pSample ); -#endif // DXMPERF - - - BOOL bRelease = FALSE; - { - CAutoLock cal(this); - - /* Put back on the free list */ - - m_lFree.Add((CMediaSample *)pSample); - if (m_lWaiting != 0) { - NotifySample(); - } - - // if there is a pending Decommit, then we need to complete it by - // calling Free() when the last buffer is placed on the free list - - LONG l1 = m_lFree.GetCount(); - if (m_bDecommitInProgress && (l1 == m_lAllocated)) { - Free(); - m_bDecommitInProgress = FALSE; - bRelease = TRUE; - } - } - - if (m_pNotify) { - - ASSERT(m_fEnableReleaseCallback); - - // - // Note that this is not synchronized with setting up a notification - // method. - // - m_pNotify->NotifyRelease(); - } - - /* For each buffer there is one AddRef, made in GetBuffer and released - here. This may cause the allocator and all samples to be deleted */ - - if (bRelease) { - Release(); - } - return NOERROR; -} - -STDMETHODIMP -CBaseAllocator::SetNotify( - IMemAllocatorNotifyCallbackTemp* pNotify - ) -{ - ASSERT(m_fEnableReleaseCallback); - CAutoLock lck(this); - if (pNotify) { - pNotify->AddRef(); - } - if (m_pNotify) { - m_pNotify->Release(); - } - m_pNotify = pNotify; - return S_OK; -} - -STDMETHODIMP -CBaseAllocator::GetFreeCount( - __out LONG* plBuffersFree - ) -{ - ASSERT(m_fEnableReleaseCallback); - CAutoLock cObjectLock(this); - *plBuffersFree = m_lCount - m_lAllocated + m_lFree.GetCount(); - return NOERROR; -} - -void -CBaseAllocator::NotifySample() -{ - if (m_lWaiting != 0) { - ASSERT(m_hSem != NULL); - ReleaseSemaphore(m_hSem, m_lWaiting, 0); - m_lWaiting = 0; - } -} - -STDMETHODIMP -CBaseAllocator::Commit() -{ - /* Check we are not decommitted */ - CAutoLock cObjectLock(this); - - // cannot need to alloc or re-alloc if we are committed - if (m_bCommitted) { - return NOERROR; - } - - /* Allow GetBuffer calls */ - - m_bCommitted = TRUE; - - // is there a pending decommit ? if so, just cancel it - if (m_bDecommitInProgress) { - m_bDecommitInProgress = FALSE; - - // don't call Alloc at this point. He cannot allow SetProperties - // between Decommit and the last free, so the buffer size cannot have - // changed. And because some of the buffers are not free yet, he - // cannot re-alloc anyway. - return NOERROR; - } - - DbgLog((LOG_MEMORY, 1, TEXT("Allocating: %ldx%ld"), m_lCount, m_lSize)); - - // actually need to allocate the samples - HRESULT hr = Alloc(); - if (FAILED(hr)) { - m_bCommitted = FALSE; - return hr; - } - AddRef(); - return NOERROR; -} - - -STDMETHODIMP -CBaseAllocator::Decommit() -{ - BOOL bRelease = FALSE; - { - /* Check we are not already decommitted */ - CAutoLock cObjectLock(this); - if (m_bCommitted == FALSE) { - if (m_bDecommitInProgress == FALSE) { - return NOERROR; - } - } - - /* No more GetBuffer calls will succeed */ - m_bCommitted = FALSE; - - // are any buffers outstanding? - if (m_lFree.GetCount() < m_lAllocated) { - // please complete the decommit when last buffer is freed - m_bDecommitInProgress = TRUE; - } else { - m_bDecommitInProgress = FALSE; - - // need to complete the decommit here as there are no - // outstanding buffers - - Free(); - bRelease = TRUE; - } - - // Tell anyone waiting that they can go now so we can - // reject their call -#pragma warning(push) -#ifndef _PREFAST_ -#pragma warning(disable:4068) -#endif -#pragma prefast(suppress:__WARNING_DEREF_NULL_PTR, "Suppress warning related to Free() invalidating 'this' which is no applicable to CBaseAllocator::Free()") - NotifySample(); - -#pragma warning(pop) - } - - if (bRelease) { - Release(); - } - return NOERROR; -} - - -/* Base definition of allocation which checks we are ok to go ahead and do - the full allocation. We return S_FALSE if the requirements are the same */ - -HRESULT -CBaseAllocator::Alloc(void) -{ - /* Error if he hasn't set the size yet */ - if (m_lCount <= 0 || m_lSize <= 0 || m_lAlignment <= 0) { - return VFW_E_SIZENOTSET; - } - - /* should never get here while buffers outstanding */ - ASSERT(m_lFree.GetCount() == m_lAllocated); - - /* If the requirements haven't changed then don't reallocate */ - if (m_bChanged == FALSE) { - return S_FALSE; - } - - return NOERROR; -} - -/* Implement CBaseAllocator::CSampleList::Remove(pSample) - Removes pSample from the list -*/ -void -CBaseAllocator::CSampleList::Remove(__inout CMediaSample * pSample) -{ - CMediaSample **pSearch; - for (pSearch = &m_List; - *pSearch != NULL; - pSearch = &(CBaseAllocator::NextSample(*pSearch))) { - if (*pSearch == pSample) { - *pSearch = CBaseAllocator::NextSample(pSample); - CBaseAllocator::NextSample(pSample) = NULL; - m_nOnList--; - return; - } - } - DbgBreak("Couldn't find sample in list"); -} - -//===================================================================== -//===================================================================== -// Implements CMemAllocator -//===================================================================== -//===================================================================== - - -/* This goes in the factory template table to create new instances */ -CUnknown *CMemAllocator::CreateInstance(__inout_opt LPUNKNOWN pUnk, __inout HRESULT *phr) -{ - CUnknown *pUnkRet = new CMemAllocator(NAME("CMemAllocator"), pUnk, phr); - return pUnkRet; -} - -CMemAllocator::CMemAllocator( - __in_opt LPCTSTR pName, - __inout_opt LPUNKNOWN pUnk, - __inout HRESULT *phr) - : CBaseAllocator(pName, pUnk, phr, TRUE, TRUE), - m_pBuffer(NULL) -{ -} - -#ifdef UNICODE -CMemAllocator::CMemAllocator( - __in_opt LPCSTR pName, - __inout_opt LPUNKNOWN pUnk, - __inout HRESULT *phr) - : CBaseAllocator(pName, pUnk, phr, TRUE, TRUE), - m_pBuffer(NULL) -{ -} -#endif - -/* This sets the size and count of the required samples. The memory isn't - actually allocated until Commit() is called, if memory has already been - allocated then assuming no samples are outstanding the user may call us - to change the buffering, the memory will be released in Commit() */ -STDMETHODIMP -CMemAllocator::SetProperties( - __in ALLOCATOR_PROPERTIES* pRequest, - __out ALLOCATOR_PROPERTIES* pActual) -{ - CheckPointer(pActual,E_POINTER); - ValidateReadWritePtr(pActual,sizeof(ALLOCATOR_PROPERTIES)); - CAutoLock cObjectLock(this); - - ZeroMemory(pActual, sizeof(ALLOCATOR_PROPERTIES)); - - ASSERT(pRequest->cbBuffer > 0); - - SYSTEM_INFO SysInfo; - GetSystemInfo(&SysInfo); - - /* Check the alignment request is a power of 2 */ - if ((-pRequest->cbAlign & pRequest->cbAlign) != pRequest->cbAlign) { - DbgLog((LOG_ERROR, 1, TEXT("Alignment requested 0x%x not a power of 2!"), - pRequest->cbAlign)); - } - /* Check the alignment requested */ - if (pRequest->cbAlign == 0 || - (SysInfo.dwAllocationGranularity & (pRequest->cbAlign - 1)) != 0) { - DbgLog((LOG_ERROR, 1, TEXT("Invalid alignment 0x%x requested - granularity = 0x%x"), - pRequest->cbAlign, SysInfo.dwAllocationGranularity)); - return VFW_E_BADALIGN; - } - - /* Can't do this if already committed, there is an argument that says we - should not reject the SetProperties call if there are buffers still - active. However this is called by the source filter, which is the same - person who is holding the samples. Therefore it is not unreasonable - for them to free all their samples before changing the requirements */ - - if (m_bCommitted == TRUE) { - return VFW_E_ALREADY_COMMITTED; - } - - /* Must be no outstanding buffers */ - - if (m_lFree.GetCount() < m_lAllocated) { - return VFW_E_BUFFERS_OUTSTANDING; - } - - /* There isn't any real need to check the parameters as they - will just be rejected when the user finally calls Commit */ - - // round length up to alignment - remember that prefix is included in - // the alignment - LONG lSize = pRequest->cbBuffer + pRequest->cbPrefix; - LONG lRemainder = lSize % pRequest->cbAlign; - if (lRemainder != 0) { - lSize = lSize - lRemainder + pRequest->cbAlign; - } - pActual->cbBuffer = m_lSize = (lSize - pRequest->cbPrefix); - - pActual->cBuffers = m_lCount = pRequest->cBuffers; - pActual->cbAlign = m_lAlignment = pRequest->cbAlign; - pActual->cbPrefix = m_lPrefix = pRequest->cbPrefix; - - m_bChanged = TRUE; - return NOERROR; -} - -// override this to allocate our resources when Commit is called. -// -// note that our resources may be already allocated when this is called, -// since we don't free them on Decommit. We will only be called when in -// decommit state with all buffers free. -// -// object locked by caller -HRESULT -CMemAllocator::Alloc(void) -{ - CAutoLock lck(this); - - /* Check he has called SetProperties */ - HRESULT hr = CBaseAllocator::Alloc(); - if (FAILED(hr)) { - return hr; - } - - /* If the requirements haven't changed then don't reallocate */ - if (hr == S_FALSE) { - ASSERT(m_pBuffer); - return NOERROR; - } - ASSERT(hr == S_OK); // we use this fact in the loop below - - /* Free the old resources */ - if (m_pBuffer) { - ReallyFree(); - } - - /* Make sure we've got reasonable values */ - if ( m_lSize < 0 || m_lPrefix < 0 || m_lCount < 0 ) { - return E_OUTOFMEMORY; - } - - /* Compute the aligned size */ - LONG lAlignedSize = m_lSize + m_lPrefix; - - /* Check overflow */ - if (lAlignedSize < m_lSize) { - return E_OUTOFMEMORY; - } - - if (m_lAlignment > 1) { - LONG lRemainder = lAlignedSize % m_lAlignment; - if (lRemainder != 0) { - LONG lNewSize = lAlignedSize + m_lAlignment - lRemainder; - if (lNewSize < lAlignedSize) { - return E_OUTOFMEMORY; - } - lAlignedSize = lNewSize; - } - } - - /* Create the contiguous memory block for the samples - making sure it's properly aligned (64K should be enough!) - */ - ASSERT(lAlignedSize % m_lAlignment == 0); - - LONGLONG lToAllocate = m_lCount * (LONGLONG)lAlignedSize; - - /* Check overflow */ - if (lToAllocate > MAXLONG) { - return E_OUTOFMEMORY; - } - - m_pBuffer = (PBYTE)VirtualAlloc(NULL, - (LONG)lToAllocate, - MEM_COMMIT, - PAGE_READWRITE); - - if (m_pBuffer == NULL) { - return E_OUTOFMEMORY; - } - - LPBYTE pNext = m_pBuffer; - CMediaSample *pSample; - - ASSERT(m_lAllocated == 0); - - // Create the new samples - we have allocated m_lSize bytes for each sample - // plus m_lPrefix bytes per sample as a prefix. We set the pointer to - // the memory after the prefix - so that GetPointer() will return a pointer - // to m_lSize bytes. - for (; m_lAllocated < m_lCount; m_lAllocated++, pNext += lAlignedSize) { - - - pSample = new CMediaSample( - NAME("Default memory media sample"), - this, - &hr, - pNext + m_lPrefix, // GetPointer() value - m_lSize); // not including prefix - - ASSERT(SUCCEEDED(hr)); - if (pSample == NULL) { - return E_OUTOFMEMORY; - } - - // This CANNOT fail - m_lFree.Add(pSample); - } - - m_bChanged = FALSE; - return NOERROR; -} - - -// override this to free up any resources we have allocated. -// called from the base class on Decommit when all buffers have been -// returned to the free list. -// -// caller has already locked the object. - -// in our case, we keep the memory until we are deleted, so -// we do nothing here. The memory is deleted in the destructor by -// calling ReallyFree() -void -CMemAllocator::Free(void) -{ - return; -} - - -// called from the destructor (and from Alloc if changing size/count) to -// actually free up the memory -void -CMemAllocator::ReallyFree(void) -{ - /* Should never be deleting this unless all buffers are freed */ - - ASSERT(m_lAllocated == m_lFree.GetCount()); - - /* Free up all the CMediaSamples */ - - CMediaSample *pSample; - for (;;) { - pSample = m_lFree.RemoveHead(); - if (pSample != NULL) { - delete pSample; - } else { - break; - } - } - - m_lAllocated = 0; - - // free the block of buffer memory - if (m_pBuffer) { - EXECUTE_ASSERT(VirtualFree(m_pBuffer, 0, MEM_RELEASE)); - m_pBuffer = NULL; - } -} - - -/* Destructor frees our memory resources */ - -CMemAllocator::~CMemAllocator() -{ - Decommit(); - ReallyFree(); -} - -// ------------------------------------------------------------------------ -// filter registration through IFilterMapper. used if IFilterMapper is -// not found (Quartz 1.0 install) - -STDAPI -AMovieSetupRegisterFilter( const AMOVIESETUP_FILTER * const psetupdata - , IFilterMapper * pIFM - , BOOL bRegister ) -{ - DbgLog((LOG_TRACE, 3, TEXT("= AMovieSetupRegisterFilter"))); - - // check we've got data - // - if( NULL == psetupdata ) return S_FALSE; - - - // unregister filter - // (as pins are subkeys of filter's CLSID key - // they do not need to be removed separately). - // - DbgLog((LOG_TRACE, 3, TEXT("= = unregister filter"))); - HRESULT hr = pIFM->UnregisterFilter( *(psetupdata->clsID) ); - - - if( bRegister ) - { - // register filter - // - DbgLog((LOG_TRACE, 3, TEXT("= = register filter"))); - hr = pIFM->RegisterFilter( *(psetupdata->clsID) - , psetupdata->strName - , psetupdata->dwMerit ); - if( SUCCEEDED(hr) ) - { - // all its pins - // - DbgLog((LOG_TRACE, 3, TEXT("= = register filter pins"))); - for( UINT m1=0; m1 < psetupdata->nPins; m1++ ) - { - hr = pIFM->RegisterPin( *(psetupdata->clsID) - , psetupdata->lpPin[m1].strName - , psetupdata->lpPin[m1].bRendered - , psetupdata->lpPin[m1].bOutput - , psetupdata->lpPin[m1].bZero - , psetupdata->lpPin[m1].bMany - , *(psetupdata->lpPin[m1].clsConnectsToFilter) - , psetupdata->lpPin[m1].strConnectsToPin ); - - if( SUCCEEDED(hr) ) - { - // and each pin's media types - // - DbgLog((LOG_TRACE, 3, TEXT("= = register filter pin types"))); - for( UINT m2=0; m2 < psetupdata->lpPin[m1].nMediaTypes; m2++ ) - { - hr = pIFM->RegisterPinType( *(psetupdata->clsID) - , psetupdata->lpPin[m1].strName - , *(psetupdata->lpPin[m1].lpMediaType[m2].clsMajorType) - , *(psetupdata->lpPin[m1].lpMediaType[m2].clsMinorType) ); - if( FAILED(hr) ) break; - } - if( FAILED(hr) ) break; - } - if( FAILED(hr) ) break; - } - } - } - - // handle one acceptable "error" - that - // of filter not being registered! - // (couldn't find a suitable #define'd - // name for the error!) - // - if( 0x80070002 == hr) - return NOERROR; - else - return hr; -} - -// Remove warnings about unreferenced inline functions -#pragma warning(disable:4514) - -#endif /* PJMEDIA_VIDEO_DEV_HAS_DSHOW */ diff --git a/res/pjproject/third_party/BaseClasses/amfilter.h b/res/pjproject/third_party/BaseClasses/amfilter.h deleted file mode 100644 index 8646bc034a..0000000000 --- a/res/pjproject/third_party/BaseClasses/amfilter.h +++ /dev/null @@ -1,1587 +0,0 @@ -//------------------------------------------------------------------------------ -// File: AMFilter.h -// -// Desc: DirectShow base classes - efines class hierarchy for streams -// architecture. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - - -#ifndef __FILTER__ -#define __FILTER__ - -/* The following classes are declared in this header: */ - -class CBaseMediaFilter; // IMediaFilter support -class CBaseFilter; // IBaseFilter,IMediaFilter support -class CBasePin; // Abstract base class for IPin interface -class CEnumPins; // Enumerate input and output pins -class CEnumMediaTypes; // Enumerate the pin's preferred formats -class CBaseOutputPin; // Adds data provider member functions -class CBaseInputPin; // Implements IMemInputPin interface -class CMediaSample; // Basic transport unit for IMemInputPin -class CBaseAllocator; // General list guff for most allocators -class CMemAllocator; // Implements memory buffer allocation - - -//===================================================================== -//===================================================================== -// -// QueryFilterInfo and QueryPinInfo AddRef the interface pointers -// they return. You can use the macro below to release the interface. -// -//===================================================================== -//===================================================================== - -#define QueryFilterInfoReleaseGraph(fi) if ((fi).pGraph) (fi).pGraph->Release(); - -#define QueryPinInfoReleaseFilter(pi) if ((pi).pFilter) (pi).pFilter->Release(); - -//===================================================================== -//===================================================================== -// Defines CBaseMediaFilter -// -// Abstract base class implementing IMediaFilter. -// -// Typically you will derive your filter from CBaseFilter rather than -// this, unless you are implementing an object such as a plug-in -// distributor that needs to support IMediaFilter but not IBaseFilter. -// -// Note that IMediaFilter is derived from IPersist to allow query of -// class id. -//===================================================================== -//===================================================================== - -class AM_NOVTABLE CBaseMediaFilter : public CUnknown, - public IMediaFilter -{ - -protected: - - FILTER_STATE m_State; // current state: running, paused - IReferenceClock *m_pClock; // this filter's reference clock - // note: all filters in a filter graph use the same clock - - // offset from stream time to reference time - CRefTime m_tStart; - - CLSID m_clsid; // This filters clsid - // used for serialization - CCritSec *m_pLock; // Object we use for locking - -public: - - CBaseMediaFilter( - __in_opt LPCTSTR pName, - __inout_opt LPUNKNOWN pUnk, - __in CCritSec *pLock, - REFCLSID clsid); - - virtual ~CBaseMediaFilter(); - - DECLARE_IUNKNOWN - - // override this to say what interfaces we support where - STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void ** ppv); - - // - // --- IPersist method --- - // - - STDMETHODIMP GetClassID(__out CLSID *pClsID); - - // --- IMediaFilter methods --- - - STDMETHODIMP GetState(DWORD dwMSecs, __out FILTER_STATE *State); - - STDMETHODIMP SetSyncSource(__inout_opt IReferenceClock *pClock); - - STDMETHODIMP GetSyncSource(__deref_out_opt IReferenceClock **pClock); - - // default implementation of Stop and Pause just record the - // state. Override to activate or de-activate your filter. - // Note that Run when called from Stopped state will call Pause - // to ensure activation, so if you are a source or transform - // you will probably not need to override Run. - STDMETHODIMP Stop(); - STDMETHODIMP Pause(); - - - // the start parameter is the difference to be added to the - // sample's stream time to get the reference time for - // its presentation - STDMETHODIMP Run(REFERENCE_TIME tStart); - - // --- helper methods --- - - // return the current stream time - ie find out what - // stream time should be appearing now - virtual HRESULT StreamTime(CRefTime& rtStream); - - // Is the filter currently active? (running or paused) - BOOL IsActive() { - CAutoLock cObjectLock(m_pLock); - return ((m_State == State_Paused) || (m_State == State_Running)); - }; -}; - -//===================================================================== -//===================================================================== -// Defines CBaseFilter -// -// An abstract class providing basic IBaseFilter support for pin -// enumeration and filter information reading. -// -// We cannot derive from CBaseMediaFilter since methods in IMediaFilter -// are also in IBaseFilter and would be ambiguous. Since much of the code -// assumes that they derive from a class that has m_State and other state -// directly available, we duplicate code from CBaseMediaFilter rather than -// having a member variable. -// -// Derive your filter from this, or from a derived object such as -// CTransformFilter. -//===================================================================== -//===================================================================== - - -class AM_NOVTABLE CBaseFilter : public CUnknown, // Handles an IUnknown - public IBaseFilter, // The Filter Interface - public IAMovieSetup // For un/registration -{ - -friend class CBasePin; - -protected: - FILTER_STATE m_State; // current state: running, paused - IReferenceClock *m_pClock; // this graph's ref clock - CRefTime m_tStart; // offset from stream time to reference time - CLSID m_clsid; // This filters clsid - // used for serialization - CCritSec *m_pLock; // Object we use for locking - - WCHAR *m_pName; // Full filter name - IFilterGraph *m_pGraph; // Graph we belong to - IMediaEventSink *m_pSink; // Called with notify events - LONG m_PinVersion; // Current pin version - -public: - - CBaseFilter( - __in_opt LPCTSTR pName, // Object description - __inout_opt LPUNKNOWN pUnk, // IUnknown of delegating object - __in CCritSec *pLock, // Object who maintains lock - REFCLSID clsid); // The clsid to be used to serialize this filter - - CBaseFilter( - __in_opt LPCTSTR pName, // Object description - __in_opt LPUNKNOWN pUnk, // IUnknown of delegating object - __in CCritSec *pLock, // Object who maintains lock - REFCLSID clsid, // The clsid to be used to serialize this filter - __inout HRESULT *phr); // General OLE return code -#ifdef UNICODE - CBaseFilter( - __in_opt LPCSTR pName, // Object description - __in_opt LPUNKNOWN pUnk, // IUnknown of delegating object - __in CCritSec *pLock, // Object who maintains lock - REFCLSID clsid); // The clsid to be used to serialize this filter - - CBaseFilter( - __in_opt LPCSTR pName, // Object description - __in_opt LPUNKNOWN pUnk, // IUnknown of delegating object - __in CCritSec *pLock, // Object who maintains lock - REFCLSID clsid, // The clsid to be used to serialize this filter - __inout HRESULT *phr); // General OLE return code -#endif - ~CBaseFilter(); - - DECLARE_IUNKNOWN - - // override this to say what interfaces we support where - STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void ** ppv); -#ifdef DEBUG - STDMETHODIMP_(ULONG) NonDelegatingRelease(); -#endif - - // - // --- IPersist method --- - // - - STDMETHODIMP GetClassID(__out CLSID *pClsID); - - // --- IMediaFilter methods --- - - STDMETHODIMP GetState(DWORD dwMSecs, __out FILTER_STATE *State); - - STDMETHODIMP SetSyncSource(__in_opt IReferenceClock *pClock); - - STDMETHODIMP GetSyncSource(__deref_out_opt IReferenceClock **pClock); - - - // override Stop and Pause so we can activate the pins. - // Note that Run will call Pause first if activation needed. - // Override these if you want to activate your filter rather than - // your pins. - STDMETHODIMP Stop(); - STDMETHODIMP Pause(); - - // the start parameter is the difference to be added to the - // sample's stream time to get the reference time for - // its presentation - STDMETHODIMP Run(REFERENCE_TIME tStart); - - // --- helper methods --- - - // return the current stream time - ie find out what - // stream time should be appearing now - virtual HRESULT StreamTime(CRefTime& rtStream); - - // Is the filter currently active? - BOOL IsActive() { - CAutoLock cObjectLock(m_pLock); - return ((m_State == State_Paused) || (m_State == State_Running)); - }; - - // Is this filter stopped (without locking) - BOOL IsStopped() { - return (m_State == State_Stopped); - }; - - // - // --- IBaseFilter methods --- - // - - // pin enumerator - STDMETHODIMP EnumPins( - __deref_out IEnumPins ** ppEnum); - - - // default behaviour of FindPin assumes pin ids are their names - STDMETHODIMP FindPin( - LPCWSTR Id, - __deref_out IPin ** ppPin - ); - - STDMETHODIMP QueryFilterInfo( - __out FILTER_INFO * pInfo); - - STDMETHODIMP JoinFilterGraph( - __inout_opt IFilterGraph * pGraph, - __in_opt LPCWSTR pName); - - // return a Vendor information string. Optional - may return E_NOTIMPL. - // memory returned should be freed using CoTaskMemFree - // default implementation returns E_NOTIMPL - STDMETHODIMP QueryVendorInfo( - __deref_out LPWSTR* pVendorInfo - ); - - // --- helper methods --- - - // send an event notification to the filter graph if we know about it. - // returns S_OK if delivered, S_FALSE if the filter graph does not sink - // events, or an error otherwise. - HRESULT NotifyEvent( - long EventCode, - LONG_PTR EventParam1, - LONG_PTR EventParam2); - - // return the filter graph we belong to - __out_opt IFilterGraph *GetFilterGraph() { - return m_pGraph; - } - - // Request reconnect - // pPin is the pin to reconnect - // pmt is the type to reconnect with - can be NULL - // Calls ReconnectEx on the filter graph - HRESULT ReconnectPin(IPin *pPin, __in_opt AM_MEDIA_TYPE const *pmt); - - // find out the current pin version (used by enumerators) - virtual LONG GetPinVersion(); - void IncrementPinVersion(); - - // you need to supply these to access the pins from the enumerator - // and for default Stop and Pause/Run activation. - virtual int GetPinCount() PURE; - virtual CBasePin *GetPin(int n) PURE; - - // --- IAMovieSetup methods --- - - STDMETHODIMP Register(); // ask filter to register itself - STDMETHODIMP Unregister(); // and unregister itself - - // --- setup helper methods --- - // (override to return filters setup data) - - virtual __out_opt LPAMOVIESETUP_FILTER GetSetupData(){ return NULL; } - -}; - - -//===================================================================== -//===================================================================== -// Defines CBasePin -// -// Abstract class that supports the basics of IPin -//===================================================================== -//===================================================================== - -class AM_NOVTABLE CBasePin : public CUnknown, public IPin, public IQualityControl -{ - -protected: - - WCHAR * m_pName; // This pin's name - IPin *m_Connected; // Pin we have connected to - PIN_DIRECTION m_dir; // Direction of this pin - CCritSec *m_pLock; // Object we use for locking - bool m_bRunTimeError; // Run time error generated - bool m_bCanReconnectWhenActive; // OK to reconnect when active - bool m_bTryMyTypesFirst; // When connecting enumerate - // this pin's types first - CBaseFilter *m_pFilter; // Filter we were created by - IQualityControl *m_pQSink; // Target for Quality messages - LONG m_TypeVersion; // Holds current type version - CMediaType m_mt; // Media type of connection - - CRefTime m_tStart; // time from NewSegment call - CRefTime m_tStop; // time from NewSegment - double m_dRate; // rate from NewSegment - -#ifdef DEBUG - LONG m_cRef; // Ref count tracing -#endif - - // displays pin connection information - -#ifdef DEBUG - void DisplayPinInfo(IPin *pReceivePin); - void DisplayTypeInfo(IPin *pPin, const CMediaType *pmt); -#else - void DisplayPinInfo(IPin *pReceivePin) {}; - void DisplayTypeInfo(IPin *pPin, const CMediaType *pmt) {}; -#endif - - // used to agree a media type for a pin connection - - // given a specific media type, attempt a connection (includes - // checking that the type is acceptable to this pin) - HRESULT - AttemptConnection( - IPin* pReceivePin, // connect to this pin - const CMediaType* pmt // using this type - ); - - // try all the media types in this enumerator - for each that - // we accept, try to connect using ReceiveConnection. - HRESULT TryMediaTypes( - IPin *pReceivePin, // connect to this pin - __in_opt const CMediaType *pmt, // proposed type from Connect - IEnumMediaTypes *pEnum); // try this enumerator - - // establish a connection with a suitable mediatype. Needs to - // propose a media type if the pmt pointer is null or partially - // specified - use TryMediaTypes on both our and then the other pin's - // enumerator until we find one that works. - HRESULT AgreeMediaType( - IPin *pReceivePin, // connect to this pin - const CMediaType *pmt); // proposed type from Connect - -public: - - CBasePin( - __in_opt LPCTSTR pObjectName, // Object description - __in CBaseFilter *pFilter, // Owning filter who knows about pins - __in CCritSec *pLock, // Object who implements the lock - __inout HRESULT *phr, // General OLE return code - __in_opt LPCWSTR pName, // Pin name for us - PIN_DIRECTION dir); // Either PINDIR_INPUT or PINDIR_OUTPUT -#ifdef UNICODE - CBasePin( - __in_opt LPCSTR pObjectName, // Object description - __in CBaseFilter *pFilter, // Owning filter who knows about pins - __in CCritSec *pLock, // Object who implements the lock - __inout HRESULT *phr, // General OLE return code - __in_opt LPCWSTR pName, // Pin name for us - PIN_DIRECTION dir); // Either PINDIR_INPUT or PINDIR_OUTPUT -#endif - virtual ~CBasePin(); - - DECLARE_IUNKNOWN - - STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void ** ppv); - STDMETHODIMP_(ULONG) NonDelegatingRelease(); - STDMETHODIMP_(ULONG) NonDelegatingAddRef(); - - // --- IPin methods --- - - // take lead role in establishing a connection. Media type pointer - // may be null, or may point to partially-specified mediatype - // (subtype or format type may be GUID_NULL). - STDMETHODIMP Connect( - IPin * pReceivePin, - __in_opt const AM_MEDIA_TYPE *pmt // optional media type - ); - - // (passive) accept a connection from another pin - STDMETHODIMP ReceiveConnection( - IPin * pConnector, // this is the initiating connecting pin - const AM_MEDIA_TYPE *pmt // this is the media type we will exchange - ); - - STDMETHODIMP Disconnect(); - - STDMETHODIMP ConnectedTo(__deref_out IPin **pPin); - - STDMETHODIMP ConnectionMediaType(__out AM_MEDIA_TYPE *pmt); - - STDMETHODIMP QueryPinInfo( - __out PIN_INFO * pInfo - ); - - STDMETHODIMP QueryDirection( - __out PIN_DIRECTION * pPinDir - ); - - STDMETHODIMP QueryId( - __deref_out LPWSTR * Id - ); - - // does the pin support this media type - STDMETHODIMP QueryAccept( - const AM_MEDIA_TYPE *pmt - ); - - // return an enumerator for this pins preferred media types - STDMETHODIMP EnumMediaTypes( - __deref_out IEnumMediaTypes **ppEnum - ); - - // return an array of IPin* - the pins that this pin internally connects to - // All pins put in the array must be AddReffed (but no others) - // Errors: "Can't say" - FAIL, not enough slots - return S_FALSE - // Default: return E_NOTIMPL - // The filter graph will interpret NOT_IMPL as any input pin connects to - // all visible output pins and vice versa. - // apPin can be NULL if nPin==0 (not otherwise). - STDMETHODIMP QueryInternalConnections( - __out_ecount_part(*nPin,*nPin) IPin* *apPin, // array of IPin* - __inout ULONG *nPin // on input, the number of slots - // on output the number of pins - ) { return E_NOTIMPL; } - - // Called when no more data will be sent - STDMETHODIMP EndOfStream(void); - - // Begin/EndFlush still PURE - - // NewSegment notifies of the start/stop/rate applying to the data - // about to be received. Default implementation records data and - // returns S_OK. - // Override this to pass downstream. - STDMETHODIMP NewSegment( - REFERENCE_TIME tStart, - REFERENCE_TIME tStop, - double dRate); - - //================================================================================ - // IQualityControl methods - //================================================================================ - - STDMETHODIMP Notify(IBaseFilter * pSender, Quality q); - - STDMETHODIMP SetSink(IQualityControl * piqc); - - // --- helper methods --- - - // Returns true if the pin is connected. false otherwise. - BOOL IsConnected(void) {return (m_Connected != NULL); }; - // Return the pin this is connected to (if any) - IPin * GetConnected() { return m_Connected; }; - - // Check if our filter is currently stopped - BOOL IsStopped() { - return (m_pFilter->m_State == State_Stopped); - }; - - // find out the current type version (used by enumerators) - virtual LONG GetMediaTypeVersion(); - void IncrementTypeVersion(); - - // switch the pin to active (paused or running) mode - // not an error to call this if already active - virtual HRESULT Active(void); - - // switch the pin to inactive state - may already be inactive - virtual HRESULT Inactive(void); - - // Notify of Run() from filter - virtual HRESULT Run(REFERENCE_TIME tStart); - - // check if the pin can support this specific proposed type and format - virtual HRESULT CheckMediaType(const CMediaType *) PURE; - - // set the connection to use this format (previously agreed) - virtual HRESULT SetMediaType(const CMediaType *); - - // check that the connection is ok before verifying it - // can be overridden eg to check what interfaces will be supported. - virtual HRESULT CheckConnect(IPin *); - - // Set and release resources required for a connection - virtual HRESULT BreakConnect(); - virtual HRESULT CompleteConnect(IPin *pReceivePin); - - // returns the preferred formats for a pin - virtual HRESULT GetMediaType(int iPosition, __inout CMediaType *pMediaType); - - // access to NewSegment values - REFERENCE_TIME CurrentStopTime() { - return m_tStop; - } - REFERENCE_TIME CurrentStartTime() { - return m_tStart; - } - double CurrentRate() { - return m_dRate; - } - - // Access name - LPWSTR Name() { return m_pName; }; - - // Can reconnectwhen active? - void SetReconnectWhenActive(bool bCanReconnect) - { - m_bCanReconnectWhenActive = bCanReconnect; - } - - bool CanReconnectWhenActive() - { - return m_bCanReconnectWhenActive; - } - -protected: - STDMETHODIMP DisconnectInternal(); -}; - - -//===================================================================== -//===================================================================== -// Defines CEnumPins -// -// Pin enumerator class that works by calling CBaseFilter. This interface -// is provided by CBaseFilter::EnumPins and calls GetPinCount() and -// GetPin() to enumerate existing pins. Needs to be a separate object so -// that it can be cloned (creating an existing object at the same -// position in the enumeration) -// -//===================================================================== -//===================================================================== - -class CEnumPins : public IEnumPins // The interface we support -{ - int m_Position; // Current ordinal position - int m_PinCount; // Number of pins available - CBaseFilter *m_pFilter; // The filter who owns us - LONG m_Version; // Pin version information - LONG m_cRef; - - typedef CGenericList CPinList; - - CPinList m_PinCache; // These pointers have not been AddRef'ed and - // so they should not be dereferenced. They are - // merely kept to ID which pins have been enumerated. - -#ifdef DEBUG - DWORD m_dwCookie; -#endif - - /* If while we are retrieving a pin for example from the filter an error - occurs we assume that our internal state is stale with respect to the - filter (someone may have deleted all the pins). We can check before - starting whether or not the operation is likely to fail by asking the - filter what it's current version number is. If the filter has not - overriden the GetPinVersion method then this will always match */ - - BOOL AreWeOutOfSync() { - return (m_pFilter->GetPinVersion() == m_Version ? FALSE : TRUE); - }; - - /* This method performs the same operations as Reset, except is does not clear - the cache of pins already enumerated. */ - - STDMETHODIMP Refresh(); - -public: - - CEnumPins( - __in CBaseFilter *pFilter, - __in_opt CEnumPins *pEnumPins); - - virtual ~CEnumPins(); - - // IUnknown - STDMETHODIMP QueryInterface(REFIID riid, __deref_out void **ppv); - STDMETHODIMP_(ULONG) AddRef(); - STDMETHODIMP_(ULONG) Release(); - - // IEnumPins - STDMETHODIMP Next( - ULONG cPins, // place this many pins... - __out_ecount(cPins) IPin ** ppPins, // ...in this array of IPin* - __out_opt ULONG * pcFetched // actual count passed returned here - ); - - STDMETHODIMP Skip(ULONG cPins); - STDMETHODIMP Reset(); - STDMETHODIMP Clone(__deref_out IEnumPins **ppEnum); - - -}; - - -//===================================================================== -//===================================================================== -// Defines CEnumMediaTypes -// -// Enumerates the preferred formats for input and output pins -//===================================================================== -//===================================================================== - -class CEnumMediaTypes : public IEnumMediaTypes // The interface we support -{ - int m_Position; // Current ordinal position - CBasePin *m_pPin; // The pin who owns us - LONG m_Version; // Media type version value - LONG m_cRef; -#ifdef DEBUG - DWORD m_dwCookie; -#endif - - /* The media types a filter supports can be quite dynamic so we add to - the general IEnumXXXX interface the ability to be signaled when they - change via an event handle the connected filter supplies. Until the - Reset method is called after the state changes all further calls to - the enumerator (except Reset) will return E_UNEXPECTED error code */ - - BOOL AreWeOutOfSync() { - return (m_pPin->GetMediaTypeVersion() == m_Version ? FALSE : TRUE); - }; - -public: - - CEnumMediaTypes( - __in CBasePin *pPin, - __in_opt CEnumMediaTypes *pEnumMediaTypes); - - virtual ~CEnumMediaTypes(); - - // IUnknown - STDMETHODIMP QueryInterface(REFIID riid, __deref_out void **ppv); - STDMETHODIMP_(ULONG) AddRef(); - STDMETHODIMP_(ULONG) Release(); - - // IEnumMediaTypes - STDMETHODIMP Next( - ULONG cMediaTypes, // place this many pins... - __out_ecount(cMediaTypes) AM_MEDIA_TYPE ** ppMediaTypes, // ...in this array - __out_opt ULONG * pcFetched // actual count passed - ); - - STDMETHODIMP Skip(ULONG cMediaTypes); - STDMETHODIMP Reset(); - STDMETHODIMP Clone(__deref_out IEnumMediaTypes **ppEnum); -}; - - - - -//===================================================================== -//===================================================================== -// Defines CBaseOutputPin -// -// class derived from CBasePin that can pass buffers to a connected pin -// that supports IMemInputPin. Supports IPin. -// -// Derive your output pin from this. -// -//===================================================================== -//===================================================================== - -class AM_NOVTABLE CBaseOutputPin : public CBasePin -{ - -protected: - - IMemAllocator *m_pAllocator; - IMemInputPin *m_pInputPin; // interface on the downstreaminput pin - // set up in CheckConnect when we connect. - -public: - - CBaseOutputPin( - __in_opt LPCTSTR pObjectName, - __in CBaseFilter *pFilter, - __in CCritSec *pLock, - __inout HRESULT *phr, - __in_opt LPCWSTR pName); -#ifdef UNICODE - CBaseOutputPin( - __in_opt LPCSTR pObjectName, - __in CBaseFilter *pFilter, - __in CCritSec *pLock, - __inout HRESULT *phr, - __in_opt LPCWSTR pName); -#endif - // override CompleteConnect() so we can negotiate an allocator - virtual HRESULT CompleteConnect(IPin *pReceivePin); - - // negotiate the allocator and its buffer size/count and other properties - // Calls DecideBufferSize to set properties - virtual HRESULT DecideAllocator(IMemInputPin * pPin, __deref_out IMemAllocator ** pAlloc); - - // override this to set the buffer size and count. Return an error - // if the size/count is not to your liking. - // The allocator properties passed in are those requested by the - // input pin - use eg the alignment and prefix members if you have - // no preference on these. - virtual HRESULT DecideBufferSize( - IMemAllocator * pAlloc, - __inout ALLOCATOR_PROPERTIES * ppropInputRequest - ) PURE; - - // returns an empty sample buffer from the allocator - virtual HRESULT GetDeliveryBuffer(__deref_out IMediaSample ** ppSample, - __in_opt REFERENCE_TIME * pStartTime, - __in_opt REFERENCE_TIME * pEndTime, - DWORD dwFlags); - - // deliver a filled-in sample to the connected input pin - // note - you need to release it after calling this. The receiving - // pin will addref the sample if it needs to hold it beyond the - // call. - virtual HRESULT Deliver(IMediaSample *); - - // override this to control the connection - virtual HRESULT InitAllocator(__deref_out IMemAllocator **ppAlloc); - HRESULT CheckConnect(IPin *pPin); - HRESULT BreakConnect(); - - // override to call Commit and Decommit - HRESULT Active(void); - HRESULT Inactive(void); - - // we have a default handling of EndOfStream which is to return - // an error, since this should be called on input pins only - STDMETHODIMP EndOfStream(void); - - // called from elsewhere in our filter to pass EOS downstream to - // our connected input pin - virtual HRESULT DeliverEndOfStream(void); - - // same for Begin/EndFlush - we handle Begin/EndFlush since it - // is an error on an output pin, and we have Deliver methods to - // call the methods on the connected pin - STDMETHODIMP BeginFlush(void); - STDMETHODIMP EndFlush(void); - virtual HRESULT DeliverBeginFlush(void); - virtual HRESULT DeliverEndFlush(void); - - // deliver NewSegment to connected pin - you will need to - // override this if you queue any data in your output pin. - virtual HRESULT DeliverNewSegment( - REFERENCE_TIME tStart, - REFERENCE_TIME tStop, - double dRate); - - //================================================================================ - // IQualityControl methods - //================================================================================ - - // All inherited from CBasePin and not overridden here. - // STDMETHODIMP Notify(IBaseFilter * pSender, Quality q); - // STDMETHODIMP SetSink(IQualityControl * piqc); -}; - - -//===================================================================== -//===================================================================== -// Defines CBaseInputPin -// -// derive your standard input pin from this. -// you need to supply GetMediaType and CheckConnect etc (see CBasePin), -// and you need to supply Receive to do something more useful. -// -//===================================================================== -//===================================================================== - -class AM_NOVTABLE CBaseInputPin : public CBasePin, - public IMemInputPin -{ - -protected: - - IMemAllocator *m_pAllocator; // Default memory allocator - - // allocator is read-only, so received samples - // cannot be modified (probably only relevant to in-place - // transforms - BYTE m_bReadOnly; - - // in flushing state (between BeginFlush and EndFlush) - // if TRUE, all Receives are returned with S_FALSE - BYTE m_bFlushing; - - // Sample properties - initalized in Receive - AM_SAMPLE2_PROPERTIES m_SampleProps; - -public: - - CBaseInputPin( - __in_opt LPCTSTR pObjectName, - __in CBaseFilter *pFilter, - __in CCritSec *pLock, - __inout HRESULT *phr, - __in_opt LPCWSTR pName); -#ifdef UNICODE - CBaseInputPin( - __in_opt LPCSTR pObjectName, - __in CBaseFilter *pFilter, - __in CCritSec *pLock, - __inout HRESULT *phr, - __in_opt LPCWSTR pName); -#endif - virtual ~CBaseInputPin(); - - DECLARE_IUNKNOWN - - // override this to publicise our interfaces - STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv); - - // return the allocator interface that this input pin - // would like the output pin to use - STDMETHODIMP GetAllocator(__deref_out IMemAllocator ** ppAllocator); - - // tell the input pin which allocator the output pin is actually - // going to use. - STDMETHODIMP NotifyAllocator( - IMemAllocator * pAllocator, - BOOL bReadOnly); - - // do something with this media sample - STDMETHODIMP Receive(IMediaSample *pSample); - - // do something with these media samples - STDMETHODIMP ReceiveMultiple ( - __in_ecount(nSamples) IMediaSample **pSamples, - long nSamples, - __out long *nSamplesProcessed); - - // See if Receive() blocks - STDMETHODIMP ReceiveCanBlock(); - - // Default handling for BeginFlush - call at the beginning - // of your implementation (makes sure that all Receive calls - // fail). After calling this, you need to free any queued data - // and then call downstream. - STDMETHODIMP BeginFlush(void); - - // default handling for EndFlush - call at end of your implementation - // - before calling this, ensure that there is no queued data and no thread - // pushing any more without a further receive, then call downstream, - // then call this method to clear the m_bFlushing flag and re-enable - // receives - STDMETHODIMP EndFlush(void); - - // this method is optional (can return E_NOTIMPL). - // default implementation returns E_NOTIMPL. Override if you have - // specific alignment or prefix needs, but could use an upstream - // allocator - STDMETHODIMP GetAllocatorRequirements(__out ALLOCATOR_PROPERTIES*pProps); - - // Release the pin's allocator. - HRESULT BreakConnect(); - - // helper method to check the read-only flag - BOOL IsReadOnly() { - return m_bReadOnly; - }; - - // helper method to see if we are flushing - BOOL IsFlushing() { - return m_bFlushing; - }; - - // Override this for checking whether it's OK to process samples - // Also call this from EndOfStream. - virtual HRESULT CheckStreaming(); - - // Pass a Quality notification on to the appropriate sink - HRESULT PassNotify(Quality& q); - - - //================================================================================ - // IQualityControl methods (from CBasePin) - //================================================================================ - - STDMETHODIMP Notify(IBaseFilter * pSender, Quality q); - - // no need to override: - // STDMETHODIMP SetSink(IQualityControl * piqc); - - - // switch the pin to inactive state - may already be inactive - virtual HRESULT Inactive(void); - - // Return sample properties pointer - AM_SAMPLE2_PROPERTIES * SampleProps() { - ASSERT(m_SampleProps.cbData != 0); - return &m_SampleProps; - } - -}; - -/////////////////////////////////////////////////////////////////////////// -// CDynamicOutputPin -// - -class CDynamicOutputPin : public CBaseOutputPin, - public IPinFlowControl -{ -public: -#ifdef UNICODE - CDynamicOutputPin( - __in_opt LPCSTR pObjectName, - __in CBaseFilter *pFilter, - __in CCritSec *pLock, - __inout HRESULT *phr, - __in_opt LPCWSTR pName); -#endif - - CDynamicOutputPin( - __in_opt LPCTSTR pObjectName, - __in CBaseFilter *pFilter, - __in CCritSec *pLock, - __inout HRESULT *phr, - __in_opt LPCWSTR pName); - - ~CDynamicOutputPin(); - - // IUnknown Methods - DECLARE_IUNKNOWN - STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv); - - // IPin Methods - STDMETHODIMP Disconnect(void); - - // IPinFlowControl Methods - STDMETHODIMP Block(DWORD dwBlockFlags, HANDLE hEvent); - - // Set graph config info - void SetConfigInfo(IGraphConfig *pGraphConfig, HANDLE hStopEvent); - - #ifdef DEBUG - virtual HRESULT Deliver(IMediaSample *pSample); - virtual HRESULT DeliverEndOfStream(void); - virtual HRESULT DeliverNewSegment(REFERENCE_TIME tStart, REFERENCE_TIME tStop, double dRate); - #endif // DEBUG - - HRESULT DeliverBeginFlush(void); - HRESULT DeliverEndFlush(void); - - HRESULT Inactive(void); - HRESULT Active(void); - virtual HRESULT CompleteConnect(IPin *pReceivePin); - - virtual HRESULT StartUsingOutputPin(void); - virtual void StopUsingOutputPin(void); - virtual bool StreamingThreadUsingOutputPin(void); - - HRESULT ChangeOutputFormat - ( - const AM_MEDIA_TYPE *pmt, - REFERENCE_TIME tSegmentStart, - REFERENCE_TIME tSegmentStop, - double dSegmentRate - ); - HRESULT ChangeMediaType(const CMediaType *pmt); - HRESULT DynamicReconnect(const CMediaType *pmt); - -protected: - HRESULT SynchronousBlockOutputPin(void); - HRESULT AsynchronousBlockOutputPin(HANDLE hNotifyCallerPinBlockedEvent); - HRESULT UnblockOutputPin(void); - - void BlockOutputPin(void); - void ResetBlockState(void); - - static HRESULT WaitEvent(HANDLE hEvent); - - enum BLOCK_STATE - { - NOT_BLOCKED, - PENDING, - BLOCKED - }; - - // This lock should be held when the following class members are - // being used: m_hNotifyCallerPinBlockedEvent, m_BlockState, - // m_dwBlockCallerThreadID and m_dwNumOutstandingOutputPinUsers. - CCritSec m_BlockStateLock; - - // This event should be signaled when the output pin is - // not blocked. This is a manual reset event. For more - // information on events, see the documentation for - // CreateEvent() in the Windows SDK. - HANDLE m_hUnblockOutputPinEvent; - - // This event will be signaled when block operation succeedes or - // when the user cancels the block operation. The block operation - // can be canceled by calling IPinFlowControl2::Block( 0, NULL ) - // while the block operation is pending. - HANDLE m_hNotifyCallerPinBlockedEvent; - - // The state of the current block operation. - BLOCK_STATE m_BlockState; - - // The ID of the thread which last called IPinFlowControl::Block(). - // For more information on thread IDs, see the documentation for - // GetCurrentThreadID() in the Windows SDK. - DWORD m_dwBlockCallerThreadID; - - // The number of times StartUsingOutputPin() has been sucessfully - // called and a corresponding call to StopUsingOutputPin() has not - // been made. When this variable is greater than 0, the streaming - // thread is calling IPin::NewSegment(), IPin::EndOfStream(), - // IMemInputPin::Receive() or IMemInputPin::ReceiveMultiple(). The - // streaming thread could also be calling: DynamicReconnect(), - // ChangeMediaType() or ChangeOutputFormat(). The output pin cannot - // be blocked while the output pin is being used. - DWORD m_dwNumOutstandingOutputPinUsers; - - // This event should be set when the IMediaFilter::Stop() is called. - // This is a manual reset event. It is also set when the output pin - // delivers a flush to the connected input pin. - HANDLE m_hStopEvent; - IGraphConfig* m_pGraphConfig; - - // TRUE if the output pin's allocator's samples are read only. - // Otherwise FALSE. For more information, see the documentation - // for IMemInputPin::NotifyAllocator(). - BOOL m_bPinUsesReadOnlyAllocator; - -private: - HRESULT Initialize(void); - HRESULT ChangeMediaTypeHelper(const CMediaType *pmt); - - #ifdef DEBUG - void AssertValid(void); - #endif // DEBUG -}; - -class CAutoUsingOutputPin -{ -public: - CAutoUsingOutputPin( __in CDynamicOutputPin* pOutputPin, __inout HRESULT* phr ); - ~CAutoUsingOutputPin(); - -private: - CDynamicOutputPin* m_pOutputPin; -}; - -inline CAutoUsingOutputPin::CAutoUsingOutputPin( __in CDynamicOutputPin* pOutputPin, __inout HRESULT* phr ) : - m_pOutputPin(NULL) -{ - // The caller should always pass in valid pointers. - ASSERT( NULL != pOutputPin ); - ASSERT( NULL != phr ); - - // Make sure the user initialized phr. - ASSERT( S_OK == *phr ); - - HRESULT hr = pOutputPin->StartUsingOutputPin(); - if( FAILED( hr ) ) - { - *phr = hr; - return; - } - - m_pOutputPin = pOutputPin; -} - -inline CAutoUsingOutputPin::~CAutoUsingOutputPin() -{ - if( NULL != m_pOutputPin ) - { - m_pOutputPin->StopUsingOutputPin(); - } -} - -#ifdef DEBUG - -inline HRESULT CDynamicOutputPin::Deliver(IMediaSample *pSample) -{ - // The caller should call StartUsingOutputPin() before calling this - // method. - ASSERT(StreamingThreadUsingOutputPin()); - - return CBaseOutputPin::Deliver(pSample); -} - -inline HRESULT CDynamicOutputPin::DeliverEndOfStream(void) -{ - // The caller should call StartUsingOutputPin() before calling this - // method. - ASSERT( StreamingThreadUsingOutputPin() ); - - return CBaseOutputPin::DeliverEndOfStream(); -} - -inline HRESULT CDynamicOutputPin::DeliverNewSegment(REFERENCE_TIME tStart, REFERENCE_TIME tStop, double dRate) -{ - // The caller should call StartUsingOutputPin() before calling this - // method. - ASSERT(StreamingThreadUsingOutputPin()); - - return CBaseOutputPin::DeliverNewSegment(tStart, tStop, dRate); -} - -#endif // DEBUG - -//===================================================================== -//===================================================================== -// Memory allocators -// -// the shared memory transport between pins requires the input pin -// to provide a memory allocator that can provide sample objects. A -// sample object supports the IMediaSample interface. -// -// CBaseAllocator handles the management of free and busy samples. It -// allocates CMediaSample objects. CBaseAllocator is an abstract class: -// in particular it has no method of initializing the list of free -// samples. CMemAllocator is derived from CBaseAllocator and initializes -// the list of samples using memory from the standard IMalloc interface. -// -// If you want your buffers to live in some special area of memory, -// derive your allocator object from CBaseAllocator. If you derive your -// IMemInputPin interface object from CBaseMemInputPin, you will get -// CMemAllocator-based allocation etc for free and will just need to -// supply the Receive handling, and media type / format negotiation. -//===================================================================== -//===================================================================== - - -//===================================================================== -//===================================================================== -// Defines CMediaSample -// -// an object of this class supports IMediaSample and represents a buffer -// for media data with some associated properties. Releasing it returns -// it to a freelist managed by a CBaseAllocator derived object. -//===================================================================== -//===================================================================== - -class CMediaSample : public IMediaSample2 // The interface we support -{ - -protected: - - friend class CBaseAllocator; - - /* Values for dwFlags - these are used for backward compatiblity - only now - use AM_SAMPLE_xxx - */ - enum { Sample_SyncPoint = 0x01, /* Is this a sync point */ - Sample_Preroll = 0x02, /* Is this a preroll sample */ - Sample_Discontinuity = 0x04, /* Set if start of new segment */ - Sample_TypeChanged = 0x08, /* Has the type changed */ - Sample_TimeValid = 0x10, /* Set if time is valid */ - Sample_MediaTimeValid = 0x20, /* Is the media time valid */ - Sample_TimeDiscontinuity = 0x40, /* Time discontinuity */ - Sample_StopValid = 0x100, /* Stop time valid */ - Sample_ValidFlags = 0x1FF - }; - - /* Properties, the media sample class can be a container for a format - change in which case we take a copy of a type through the SetMediaType - interface function and then return it when GetMediaType is called. As - we do no internal processing on it we leave it as a pointer */ - - DWORD m_dwFlags; /* Flags for this sample */ - /* Type specific flags are packed - into the top word - */ - DWORD m_dwTypeSpecificFlags; /* Media type specific flags */ - __field_ecount_opt(m_cbBuffer) LPBYTE m_pBuffer; /* Pointer to the complete buffer */ - LONG m_lActual; /* Length of data in this sample */ - LONG m_cbBuffer; /* Size of the buffer */ - CBaseAllocator *m_pAllocator; /* The allocator who owns us */ - CMediaSample *m_pNext; /* Chaining in free list */ - REFERENCE_TIME m_Start; /* Start sample time */ - REFERENCE_TIME m_End; /* End sample time */ - LONGLONG m_MediaStart; /* Real media start position */ - LONG m_MediaEnd; /* A difference to get the end */ - AM_MEDIA_TYPE *m_pMediaType; /* Media type change data */ - DWORD m_dwStreamId; /* Stream id */ -public: - LONG m_cRef; /* Reference count */ - - -public: - - CMediaSample( - __in_opt LPCTSTR pName, - __in_opt CBaseAllocator *pAllocator, - __inout_opt HRESULT *phr, - __in_bcount_opt(length) LPBYTE pBuffer = NULL, - LONG length = 0); -#ifdef UNICODE - CMediaSample( - __in_opt LPCSTR pName, - __in_opt CBaseAllocator *pAllocator, - __inout_opt HRESULT *phr, - __in_bcount_opt(length) LPBYTE pBuffer = NULL, - LONG length = 0); -#endif - - virtual ~CMediaSample(); - - /* Note the media sample does not delegate to its owner */ - - STDMETHODIMP QueryInterface(REFIID riid, __deref_out void **ppv); - STDMETHODIMP_(ULONG) AddRef(); - STDMETHODIMP_(ULONG) Release(); - - // set the buffer pointer and length. Used by allocators that - // want variable sized pointers or pointers into already-read data. - // This is only available through a CMediaSample* not an IMediaSample* - // and so cannot be changed by clients. - HRESULT SetPointer(__in_bcount(cBytes) BYTE * ptr, LONG cBytes); - - // Get me a read/write pointer to this buffer's memory. - STDMETHODIMP GetPointer(__deref_out BYTE ** ppBuffer); - - STDMETHODIMP_(LONG) GetSize(void); - - // get the stream time at which this sample should start and finish. - STDMETHODIMP GetTime( - __out REFERENCE_TIME * pTimeStart, // put time here - __out REFERENCE_TIME * pTimeEnd - ); - - // Set the stream time at which this sample should start and finish. - STDMETHODIMP SetTime( - __in_opt REFERENCE_TIME * pTimeStart, // put time here - __in_opt REFERENCE_TIME * pTimeEnd - ); - STDMETHODIMP IsSyncPoint(void); - STDMETHODIMP SetSyncPoint(BOOL bIsSyncPoint); - STDMETHODIMP IsPreroll(void); - STDMETHODIMP SetPreroll(BOOL bIsPreroll); - - STDMETHODIMP_(LONG) GetActualDataLength(void); - STDMETHODIMP SetActualDataLength(LONG lActual); - - // these allow for limited format changes in band - - STDMETHODIMP GetMediaType(__deref_out AM_MEDIA_TYPE **ppMediaType); - STDMETHODIMP SetMediaType(__in_opt AM_MEDIA_TYPE *pMediaType); - - // returns S_OK if there is a discontinuity in the data (this same is - // not a continuation of the previous stream of data - // - there has been a seek). - STDMETHODIMP IsDiscontinuity(void); - // set the discontinuity property - TRUE if this sample is not a - // continuation, but a new sample after a seek. - STDMETHODIMP SetDiscontinuity(BOOL bDiscontinuity); - - // get the media times for this sample - STDMETHODIMP GetMediaTime( - __out LONGLONG * pTimeStart, - __out LONGLONG * pTimeEnd - ); - - // Set the media times for this sample - STDMETHODIMP SetMediaTime( - __in_opt LONGLONG * pTimeStart, - __in_opt LONGLONG * pTimeEnd - ); - - // Set and get properties (IMediaSample2) - STDMETHODIMP GetProperties( - DWORD cbProperties, - __out_bcount(cbProperties) BYTE * pbProperties - ); - - STDMETHODIMP SetProperties( - DWORD cbProperties, - __in_bcount(cbProperties) const BYTE * pbProperties - ); -}; - - -//===================================================================== -//===================================================================== -// Defines CBaseAllocator -// -// Abstract base class that manages a list of media samples -// -// This class provides support for getting buffers from the free list, -// including handling of commit and (asynchronous) decommit. -// -// Derive from this class and override the Alloc and Free functions to -// allocate your CMediaSample (or derived) objects and add them to the -// free list, preparing them as necessary. -//===================================================================== -//===================================================================== - -class AM_NOVTABLE CBaseAllocator : public CUnknown,// A non delegating IUnknown - public IMemAllocatorCallbackTemp, // The interface we support - public CCritSec // Provides object locking -{ - class CSampleList; - friend class CSampleList; - - /* Trick to get at protected member in CMediaSample */ - static CMediaSample * &NextSample(__in CMediaSample *pSample) - { - return pSample->m_pNext; - }; - - /* Mini list class for the free list */ - class CSampleList - { - public: - CSampleList() : m_List(NULL), m_nOnList(0) {}; -#ifdef DEBUG - ~CSampleList() - { - ASSERT(m_nOnList == 0); - }; -#endif - CMediaSample *Head() const { return m_List; }; - CMediaSample *Next(__in CMediaSample *pSample) const { return CBaseAllocator::NextSample(pSample); }; - int GetCount() const { return m_nOnList; }; - void Add(__inout CMediaSample *pSample) - { - ASSERT(pSample != NULL); - CBaseAllocator::NextSample(pSample) = m_List; - m_List = pSample; - m_nOnList++; - }; - CMediaSample *RemoveHead() - { - CMediaSample *pSample = m_List; - if (pSample != NULL) { - m_List = CBaseAllocator::NextSample(m_List); - m_nOnList--; - } - return pSample; - }; - void Remove(__inout CMediaSample *pSample); - - public: - CMediaSample *m_List; - int m_nOnList; - }; -protected: - - CSampleList m_lFree; // Free list - - /* Note to overriders of CBaseAllocator. - - We use a lazy signalling mechanism for waiting for samples. - This means we don't call the OS if no waits occur. - - In order to implement this: - - 1. When a new sample is added to m_lFree call NotifySample() which - calls ReleaseSemaphore on m_hSem with a count of m_lWaiting and - sets m_lWaiting to 0. - This must all be done holding the allocator's critical section. - - 2. When waiting for a sample call SetWaiting() which increments - m_lWaiting BEFORE leaving the allocator's critical section. - - 3. Actually wait by calling WaitForSingleObject(m_hSem, INFINITE) - having left the allocator's critical section. The effect of - this is to remove 1 from the semaphore's count. You MUST call - this once having incremented m_lWaiting. - - The following are then true when the critical section is not held : - (let nWaiting = number about to wait or waiting) - - (1) if (m_lFree.GetCount() != 0) then (m_lWaiting == 0) - (2) m_lWaiting + Semaphore count == nWaiting - - We would deadlock if - nWaiting != 0 && - m_lFree.GetCount() != 0 && - Semaphore count == 0 - - But from (1) if m_lFree.GetCount() != 0 then m_lWaiting == 0 so - from (2) Semaphore count == nWaiting (which is non-0) so the - deadlock can't happen. - */ - - HANDLE m_hSem; // For signalling - long m_lWaiting; // Waiting for a free element - long m_lCount; // how many buffers we have agreed to provide - long m_lAllocated; // how many buffers are currently allocated - long m_lSize; // agreed size of each buffer - long m_lAlignment; // agreed alignment - long m_lPrefix; // agreed prefix (preceeds GetPointer() value) - BOOL m_bChanged; // Have the buffer requirements changed - - // if true, we are decommitted and can't allocate memory - BOOL m_bCommitted; - // if true, the decommit has happened, but we haven't called Free yet - // as there are still outstanding buffers - BOOL m_bDecommitInProgress; - - // Notification interface - IMemAllocatorNotifyCallbackTemp *m_pNotify; - - BOOL m_fEnableReleaseCallback; - - // called to decommit the memory when the last buffer is freed - // pure virtual - need to override this - virtual void Free(void) PURE; - - // override to allocate the memory when commit called - virtual HRESULT Alloc(void); - -public: - - CBaseAllocator( - __in_opt LPCTSTR , __inout_opt LPUNKNOWN, __inout HRESULT *, - BOOL bEvent = TRUE, BOOL fEnableReleaseCallback = FALSE); -#ifdef UNICODE - CBaseAllocator( - __in_opt LPCSTR , __inout_opt LPUNKNOWN, __inout HRESULT *, - BOOL bEvent = TRUE, BOOL fEnableReleaseCallback = FALSE); -#endif - virtual ~CBaseAllocator(); - - DECLARE_IUNKNOWN - - // override this to publicise our interfaces - STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv); - - STDMETHODIMP SetProperties( - __in ALLOCATOR_PROPERTIES* pRequest, - __out ALLOCATOR_PROPERTIES* pActual); - - // return the properties actually being used on this allocator - STDMETHODIMP GetProperties( - __out ALLOCATOR_PROPERTIES* pProps); - - // override Commit to allocate memory. We handle the GetBuffer - //state changes - STDMETHODIMP Commit(); - - // override this to handle the memory freeing. We handle any outstanding - // GetBuffer calls - STDMETHODIMP Decommit(); - - // get container for a sample. Blocking, synchronous call to get the - // next free buffer (as represented by an IMediaSample interface). - // on return, the time etc properties will be invalid, but the buffer - // pointer and size will be correct. The two time parameters are - // optional and either may be NULL, they may alternatively be set to - // the start and end times the sample will have attached to it - // bPrevFramesSkipped is not used (used only by the video renderer's - // allocator where it affects quality management in direct draw). - - STDMETHODIMP GetBuffer(__deref_out IMediaSample **ppBuffer, - __in_opt REFERENCE_TIME * pStartTime, - __in_opt REFERENCE_TIME * pEndTime, - DWORD dwFlags); - - // final release of a CMediaSample will call this - STDMETHODIMP ReleaseBuffer(IMediaSample *pBuffer); - // obsolete:: virtual void PutOnFreeList(CMediaSample * pSample); - - STDMETHODIMP SetNotify(IMemAllocatorNotifyCallbackTemp *pNotify); - - STDMETHODIMP GetFreeCount(__out LONG *plBuffersFree); - - // Notify that a sample is available - void NotifySample(); - - // Notify that we're waiting for a sample - void SetWaiting() { m_lWaiting++; }; -}; - - -//===================================================================== -//===================================================================== -// Defines CMemAllocator -// -// this is an allocator based on CBaseAllocator that allocates sample -// buffers in main memory (from 'new'). You must call SetProperties -// before calling Commit. -// -// we don't free the memory when going into Decommit state. The simplest -// way to implement this without complicating CBaseAllocator is to -// have a Free() function, called to go into decommit state, that does -// nothing and a ReallyFree function called from our destructor that -// actually frees the memory. -//===================================================================== -//===================================================================== - -// Make me one from quartz.dll -STDAPI CreateMemoryAllocator(__deref_out IMemAllocator **ppAllocator); - -class CMemAllocator : public CBaseAllocator -{ - -protected: - - LPBYTE m_pBuffer; // combined memory for all buffers - - // override to free the memory when decommit completes - // - we actually do nothing, and save the memory until deletion. - void Free(void); - - // called from the destructor (and from Alloc if changing size/count) to - // actually free up the memory - void ReallyFree(void); - - // overriden to allocate the memory when commit called - HRESULT Alloc(void); - -public: - /* This goes in the factory template table to create new instances */ - static CUnknown *CreateInstance(__inout_opt LPUNKNOWN, __inout HRESULT *); - - STDMETHODIMP SetProperties( - __in ALLOCATOR_PROPERTIES* pRequest, - __out ALLOCATOR_PROPERTIES* pActual); - - CMemAllocator(__in_opt LPCTSTR , __inout_opt LPUNKNOWN, __inout HRESULT *); -#ifdef UNICODE - CMemAllocator(__in_opt LPCSTR , __inout_opt LPUNKNOWN, __inout HRESULT *); -#endif - ~CMemAllocator(); -}; - -// helper used by IAMovieSetup implementation -STDAPI -AMovieSetupRegisterFilter( const AMOVIESETUP_FILTER * const psetupdata - , IFilterMapper * pIFM - , BOOL bRegister ); - - -/////////////////////////////////////////////////////////////////////////// -// ------------------------------------------------------------------------ -// ------------------------------------------------------------------------ -// ------------------------------------------------------------------------ -// ------------------------------------------------------------------------ -/////////////////////////////////////////////////////////////////////////// - -#endif /* __FILTER__ */ - - - diff --git a/res/pjproject/third_party/BaseClasses/amvideo.cpp b/res/pjproject/third_party/BaseClasses/amvideo.cpp deleted file mode 100644 index d31152cd2c..0000000000 --- a/res/pjproject/third_party/BaseClasses/amvideo.cpp +++ /dev/null @@ -1,280 +0,0 @@ -//------------------------------------------------------------------------------ -// File: AMVideo.cpp -// -// Desc: DirectShow base classes - implements helper functions for -// bitmap formats. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - -#include - -#if defined(PJMEDIA_VIDEO_DEV_HAS_DSHOW) && PJMEDIA_VIDEO_DEV_HAS_DSHOW != 0 - -#include -#include - -// These are bit field masks for true colour devices - -const DWORD bits555[] = {0x007C00,0x0003E0,0x00001F}; -const DWORD bits565[] = {0x00F800,0x0007E0,0x00001F}; -const DWORD bits888[] = {0xFF0000,0x00FF00,0x0000FF}; - -// This maps bitmap subtypes into a bits per pixel value and also a -// name. unicode and ansi versions are stored because we have to -// return a pointer to a static string. -const struct { - const GUID *pSubtype; - WORD BitCount; - CHAR *pName; - WCHAR *wszName; -} BitCountMap[] = { &MEDIASUBTYPE_RGB1, 1, "RGB Monochrome", L"RGB Monochrome", - &MEDIASUBTYPE_RGB4, 4, "RGB VGA", L"RGB VGA", - &MEDIASUBTYPE_RGB8, 8, "RGB 8", L"RGB 8", - &MEDIASUBTYPE_RGB565, 16, "RGB 565 (16 bit)", L"RGB 565 (16 bit)", - &MEDIASUBTYPE_RGB555, 16, "RGB 555 (16 bit)", L"RGB 555 (16 bit)", - &MEDIASUBTYPE_RGB24, 24, "RGB 24", L"RGB 24", - &MEDIASUBTYPE_RGB32, 32, "RGB 32", L"RGB 32", - &MEDIASUBTYPE_ARGB32, 32, "ARGB 32", L"ARGB 32", - &MEDIASUBTYPE_Overlay, 0, "Overlay", L"Overlay", - &GUID_NULL, 0, "UNKNOWN", L"UNKNOWN" -}; - -// Return the size of the bitmap as defined by this header - -STDAPI_(DWORD) GetBitmapSize(const BITMAPINFOHEADER *pHeader) -{ - return DIBSIZE(*pHeader); -} - - -// This is called if the header has a 16 bit colour depth and needs to work -// out the detailed type from the bit fields (either RGB 565 or RGB 555) - -STDAPI_(const GUID) GetTrueColorType(const BITMAPINFOHEADER *pbmiHeader) -{ - BITMAPINFO *pbmInfo = (BITMAPINFO *) pbmiHeader; - ASSERT(pbmiHeader->biBitCount == 16); - - // If its BI_RGB then it's RGB 555 by default - - if (pbmiHeader->biCompression == BI_RGB) { - return MEDIASUBTYPE_RGB555; - } - - // Compare the bit fields with RGB 555 - - DWORD *pMask = (DWORD *) pbmInfo->bmiColors; - if (pMask[0] == bits555[0]) { - if (pMask[1] == bits555[1]) { - if (pMask[2] == bits555[2]) { - return MEDIASUBTYPE_RGB555; - } - } - } - - // Compare the bit fields with RGB 565 - - pMask = (DWORD *) pbmInfo->bmiColors; - if (pMask[0] == bits565[0]) { - if (pMask[1] == bits565[1]) { - if (pMask[2] == bits565[2]) { - return MEDIASUBTYPE_RGB565; - } - } - } - return GUID_NULL; -} - - -// Given a BITMAPINFOHEADER structure this returns the GUID sub type that is -// used to describe it in format negotiations. For example a video codec fills -// in the format block with a VIDEOINFO structure, it also fills in the major -// type with MEDIATYPE_VIDEO and the subtype with a GUID that matches the bit -// count, for example if it is an eight bit image then MEDIASUBTYPE_RGB8 - -STDAPI_(const GUID) GetBitmapSubtype(const BITMAPINFOHEADER *pbmiHeader) -{ - ASSERT(pbmiHeader); - - // If it's not RGB then create a GUID from the compression type - - if (pbmiHeader->biCompression != BI_RGB) { - if (pbmiHeader->biCompression != BI_BITFIELDS) { - FOURCCMap FourCCMap(pbmiHeader->biCompression); - return (const GUID) FourCCMap; - } - } - - // Map the RGB DIB bit depth to a image GUID - - switch(pbmiHeader->biBitCount) { - case 1 : return MEDIASUBTYPE_RGB1; - case 4 : return MEDIASUBTYPE_RGB4; - case 8 : return MEDIASUBTYPE_RGB8; - case 16 : return GetTrueColorType(pbmiHeader); - case 24 : return MEDIASUBTYPE_RGB24; - case 32 : return MEDIASUBTYPE_RGB32; - } - return GUID_NULL; -} - - -// Given a video bitmap subtype we return the number of bits per pixel it uses -// We return a WORD bit count as thats what the BITMAPINFOHEADER uses. If the -// GUID subtype is not found in the table we return an invalid USHRT_MAX - -STDAPI_(WORD) GetBitCount(const GUID *pSubtype) -{ - ASSERT(pSubtype); - const GUID *pMediaSubtype; - INT iPosition = 0; - - // Scan the mapping list seeing if the source GUID matches any known - // bitmap subtypes, the list is terminated by a GUID_NULL entry - - while (TRUE) { - pMediaSubtype = BitCountMap[iPosition].pSubtype; - if (IsEqualGUID(*pMediaSubtype,GUID_NULL)) { - return USHRT_MAX; - } - if (IsEqualGUID(*pMediaSubtype,*pSubtype)) { - return BitCountMap[iPosition].BitCount; - } - iPosition++; - } -} - - -// Given a bitmap subtype we return a description name that can be used for -// debug purposes. In a retail build this function still returns the names -// If the subtype isn't found in the lookup table we return string UNKNOWN - -int LocateSubtype(const GUID *pSubtype) -{ - ASSERT(pSubtype); - const GUID *pMediaSubtype; - INT iPosition = 0; - - // Scan the mapping list seeing if the source GUID matches any known - // bitmap subtypes, the list is terminated by a GUID_NULL entry - - while (TRUE) { - pMediaSubtype = BitCountMap[iPosition].pSubtype; - if (IsEqualGUID(*pMediaSubtype,*pSubtype) || - IsEqualGUID(*pMediaSubtype,GUID_NULL) - ) - { - break; - } - - iPosition++; - } - - return iPosition; -} - - - -STDAPI_(WCHAR *) GetSubtypeNameW(const GUID *pSubtype) -{ - return BitCountMap[LocateSubtype(pSubtype)].wszName; -} - -STDAPI_(CHAR *) GetSubtypeNameA(const GUID *pSubtype) -{ - return BitCountMap[LocateSubtype(pSubtype)].pName; -} - -#ifndef GetSubtypeName -#error wxutil.h should have defined GetSubtypeName -#endif -#undef GetSubtypeName - -// this is here for people that linked to it directly; most people -// would use the header file that picks the A or W version. -STDAPI_(CHAR *) GetSubtypeName(const GUID *pSubtype) -{ - return GetSubtypeNameA(pSubtype); -} - - -// The mechanism for describing a bitmap format is with the BITMAPINFOHEADER -// This is really messy to deal with because it invariably has fields that -// follow it holding bit fields, palettes and the rest. This function gives -// the number of bytes required to hold a VIDEOINFO that represents it. This -// count includes the prefix information (like the rcSource rectangle) the -// BITMAPINFOHEADER field, and any other colour information on the end. -// -// WARNING If you want to copy a BITMAPINFOHEADER into a VIDEOINFO always make -// sure that you use the HEADER macro because the BITMAPINFOHEADER field isn't -// right at the start of the VIDEOINFO (there are a number of other fields), -// -// CopyMemory(HEADER(pVideoInfo),pbmi,sizeof(BITMAPINFOHEADER)); -// - -STDAPI_(LONG) GetBitmapFormatSize(const BITMAPINFOHEADER *pHeader) -{ - // Everyone has this to start with this - LONG Size = SIZE_PREHEADER + pHeader->biSize; - - ASSERT(pHeader->biSize >= sizeof(BITMAPINFOHEADER)); - - // Does this format use a palette, if the number of colours actually used - // is zero then it is set to the maximum that are allowed for that colour - // depth (an example is 256 for eight bits). Truecolour formats may also - // pass a palette with them in which case the used count is non zero - - // This would scare me. - ASSERT(pHeader->biBitCount <= iPALETTE || pHeader->biClrUsed == 0); - - if (pHeader->biBitCount <= iPALETTE || pHeader->biClrUsed) { - LONG Entries = (DWORD) 1 << pHeader->biBitCount; - if (pHeader->biClrUsed) { - Entries = pHeader->biClrUsed; - } - Size += Entries * sizeof(RGBQUAD); - } - - // Truecolour formats may have a BI_BITFIELDS specifier for compression - // type which means that room for three DWORDs should be allocated that - // specify where in each pixel the RGB colour components may be found - - if (pHeader->biCompression == BI_BITFIELDS) { - Size += SIZE_MASKS; - } - - // A BITMAPINFO for a palettised image may also contain a palette map that - // provides the information to map from a source palette to a destination - // palette during a BitBlt for example, because this information is only - // ever processed during drawing you don't normally store the palette map - // nor have any way of knowing if it is present in the data structure - - return Size; -} - - -// Returns TRUE if the VIDEOINFO contains a palette - -STDAPI_(BOOL) ContainsPalette(const VIDEOINFOHEADER *pVideoInfo) -{ - if (PALETTISED(pVideoInfo) == FALSE) { - if (pVideoInfo->bmiHeader.biClrUsed == 0) { - return FALSE; - } - } - return TRUE; -} - - -// Return a pointer to the first entry in a palette - -STDAPI_(const RGBQUAD *) GetBitmapPalette(const VIDEOINFOHEADER *pVideoInfo) -{ - if (pVideoInfo->bmiHeader.biCompression == BI_BITFIELDS) { - return TRUECOLOR(pVideoInfo)->bmiColors; - } - return COLORS(pVideoInfo); -} - -#endif /* PJMEDIA_VIDEO_DEV_HAS_DSHOW */ diff --git a/res/pjproject/third_party/BaseClasses/arithutil.cpp b/res/pjproject/third_party/BaseClasses/arithutil.cpp deleted file mode 100644 index 9e6e9b3f3a..0000000000 --- a/res/pjproject/third_party/BaseClasses/arithutil.cpp +++ /dev/null @@ -1,366 +0,0 @@ -//------------------------------------------------------------------------------ -// File: ArithUtil.cpp -// -// Desc: DirectShow base classes - implements helper classes for building -// multimedia filters. -// -// Copyright (c) 1992-2004 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - -#include - -#if defined(PJMEDIA_VIDEO_DEV_HAS_DSHOW) && PJMEDIA_VIDEO_DEV_HAS_DSHOW != 0 - -#include - -// -// Declare function from largeint.h we need so that PPC can build -// - -// -// Enlarged integer divide - 64-bits / 32-bits > 32-bits -// - -#ifndef _X86_ - -#define LLtoU64(x) (*(unsigned __int64*)(void*)(&(x))) - -__inline -ULONG -WINAPI -EnlargedUnsignedDivide ( - IN ULARGE_INTEGER Dividend, - IN ULONG Divisor, - IN PULONG Remainder - ) -{ - // return remainder if necessary - if (Remainder != NULL) - *Remainder = (ULONG)(LLtoU64(Dividend) % Divisor); - return (ULONG)(LLtoU64(Dividend) / Divisor); -} - -#else -__inline -ULONG -WINAPI -EnlargedUnsignedDivide ( - IN ULARGE_INTEGER Dividend, - IN ULONG Divisor, - IN PULONG Remainder - ) -{ - ULONG ulResult; - _asm { - mov eax,Dividend.LowPart - mov edx,Dividend.HighPart - mov ecx,Remainder - div Divisor - or ecx,ecx - jz short label - mov [ecx],edx -label: - mov ulResult,eax - } - return ulResult; -} -#endif - - -/* Arithmetic functions to help with time format conversions -*/ - -#ifdef _M_ALPHA -// work around bug in version 12.00.8385 of the alpha compiler where -// UInt32x32To64 sign-extends its arguments (?) -#undef UInt32x32To64 -#define UInt32x32To64(a, b) (((ULONGLONG)((ULONG)(a)) & 0xffffffff) * ((ULONGLONG)((ULONG)(b)) & 0xffffffff)) -#endif - -/* Compute (a * b + d) / c */ -LONGLONG WINAPI llMulDiv(LONGLONG a, LONGLONG b, LONGLONG c, LONGLONG d) -{ - /* Compute the absolute values to avoid signed arithmetic problems */ - ULARGE_INTEGER ua, ub; - DWORDLONG uc; - - ua.QuadPart = (DWORDLONG)(a >= 0 ? a : -a); - ub.QuadPart = (DWORDLONG)(b >= 0 ? b : -b); - uc = (DWORDLONG)(c >= 0 ? c : -c); - BOOL bSign = (a < 0) ^ (b < 0); - - /* Do long multiplication */ - ULARGE_INTEGER p[2]; - p[0].QuadPart = UInt32x32To64(ua.LowPart, ub.LowPart); - - /* This next computation cannot overflow into p[1].HighPart because - the max number we can compute here is: - - (2 ** 32 - 1) * (2 ** 32 - 1) + // ua.LowPart * ub.LowPart - (2 ** 32) * (2 ** 31) * (2 ** 32 - 1) * 2 // x.LowPart * y.HighPart * 2 - - == 2 ** 96 - 2 ** 64 + (2 ** 64 - 2 ** 33 + 1) - == 2 ** 96 - 2 ** 33 + 1 - < 2 ** 96 - */ - - ULARGE_INTEGER x; - x.QuadPart = UInt32x32To64(ua.LowPart, ub.HighPart) + - UInt32x32To64(ua.HighPart, ub.LowPart) + - p[0].HighPart; - p[0].HighPart = x.LowPart; - p[1].QuadPart = UInt32x32To64(ua.HighPart, ub.HighPart) + x.HighPart; - - if (d != 0) { - ULARGE_INTEGER ud[2]; - if (bSign) { - ud[0].QuadPart = (DWORDLONG)(-d); - if (d > 0) { - /* -d < 0 */ - ud[1].QuadPart = (DWORDLONG)(LONGLONG)-1; - } else { - ud[1].QuadPart = (DWORDLONG)0; - } - } else { - ud[0].QuadPart = (DWORDLONG)d; - if (d < 0) { - ud[1].QuadPart = (DWORDLONG)(LONGLONG)-1; - } else { - ud[1].QuadPart = (DWORDLONG)0; - } - } - /* Now do extended addition */ - ULARGE_INTEGER uliTotal; - - /* Add ls DWORDs */ - uliTotal.QuadPart = (DWORDLONG)ud[0].LowPart + p[0].LowPart; - p[0].LowPart = uliTotal.LowPart; - - /* Propagate carry */ - uliTotal.LowPart = uliTotal.HighPart; - uliTotal.HighPart = 0; - - /* Add 2nd most ls DWORDs */ - uliTotal.QuadPart += (DWORDLONG)ud[0].HighPart + p[0].HighPart; - p[0].HighPart = uliTotal.LowPart; - - /* Propagate carry */ - uliTotal.LowPart = uliTotal.HighPart; - uliTotal.HighPart = 0; - - /* Add MS DWORDLONGs - no carry expected */ - p[1].QuadPart += ud[1].QuadPart + uliTotal.QuadPart; - - /* Now see if we got a sign change from the addition */ - if ((LONG)p[1].HighPart < 0) { - bSign = !bSign; - - /* Negate the current value (ugh!) */ - p[0].QuadPart = ~p[0].QuadPart; - p[1].QuadPart = ~p[1].QuadPart; - p[0].QuadPart += 1; - p[1].QuadPart += (p[0].QuadPart == 0); - } - } - - /* Now for the division */ - if (c < 0) { - bSign = !bSign; - } - - - /* This will catch c == 0 and overflow */ - if (uc <= p[1].QuadPart) { - return bSign ? (LONGLONG)0x8000000000000000 : - (LONGLONG)0x7FFFFFFFFFFFFFFF; - } - - DWORDLONG ullResult; - - /* Do the division */ - /* If the dividend is a DWORD_LONG use the compiler */ - if (p[1].QuadPart == 0) { - ullResult = p[0].QuadPart / uc; - return bSign ? -(LONGLONG)ullResult : (LONGLONG)ullResult; - } - - /* If the divisor is a DWORD then its simpler */ - ULARGE_INTEGER ulic; - ulic.QuadPart = uc; - if (ulic.HighPart == 0) { - ULARGE_INTEGER uliDividend; - ULARGE_INTEGER uliResult; - DWORD dwDivisor = (DWORD)uc; - // ASSERT(p[1].HighPart == 0 && p[1].LowPart < dwDivisor); - uliDividend.HighPart = p[1].LowPart; - uliDividend.LowPart = p[0].HighPart; -#ifndef USE_LARGEINT - uliResult.HighPart = (DWORD)(uliDividend.QuadPart / dwDivisor); - p[0].HighPart = (DWORD)(uliDividend.QuadPart % dwDivisor); - uliResult.LowPart = 0; - uliResult.QuadPart = p[0].QuadPart / dwDivisor + uliResult.QuadPart; -#else - /* NOTE - this routine will take exceptions if - the result does not fit in a DWORD - */ - if (uliDividend.QuadPart >= (DWORDLONG)dwDivisor) { - uliResult.HighPart = EnlargedUnsignedDivide( - uliDividend, - dwDivisor, - &p[0].HighPart); - } else { - uliResult.HighPart = 0; - } - uliResult.LowPart = EnlargedUnsignedDivide( - p[0], - dwDivisor, - NULL); -#endif - return bSign ? -(LONGLONG)uliResult.QuadPart : - (LONGLONG)uliResult.QuadPart; - } - - - ullResult = 0; - - /* OK - do long division */ - for (int i = 0; i < 64; i++) { - ullResult <<= 1; - - /* Shift 128 bit p left 1 */ - p[1].QuadPart <<= 1; - if ((p[0].HighPart & 0x80000000) != 0) { - p[1].LowPart++; - } - p[0].QuadPart <<= 1; - - /* Compare */ - if (uc <= p[1].QuadPart) { - p[1].QuadPart -= uc; - ullResult += 1; - } - } - - return bSign ? - (LONGLONG)ullResult : (LONGLONG)ullResult; -} - -LONGLONG WINAPI Int64x32Div32(LONGLONG a, LONG b, LONG c, LONG d) -{ - ULARGE_INTEGER ua; - DWORD ub; - DWORD uc; - - /* Compute the absolute values to avoid signed arithmetic problems */ - ua.QuadPart = (DWORDLONG)(a >= 0 ? a : -a); - ub = (DWORD)(b >= 0 ? b : -b); - uc = (DWORD)(c >= 0 ? c : -c); - BOOL bSign = (a < 0) ^ (b < 0); - - /* Do long multiplication */ - ULARGE_INTEGER p0; - DWORD p1; - p0.QuadPart = UInt32x32To64(ua.LowPart, ub); - - if (ua.HighPart != 0) { - ULARGE_INTEGER x; - x.QuadPart = UInt32x32To64(ua.HighPart, ub) + p0.HighPart; - p0.HighPart = x.LowPart; - p1 = x.HighPart; - } else { - p1 = 0; - } - - if (d != 0) { - ULARGE_INTEGER ud0; - DWORD ud1; - - if (bSign) { - // - // Cast d to LONGLONG first otherwise -0x80000000 sign extends - // incorrectly - // - ud0.QuadPart = (DWORDLONG)(-(LONGLONG)d); - if (d > 0) { - /* -d < 0 */ - ud1 = (DWORD)-1; - } else { - ud1 = (DWORD)0; - } - } else { - ud0.QuadPart = (DWORDLONG)d; - if (d < 0) { - ud1 = (DWORD)-1; - } else { - ud1 = (DWORD)0; - } - } - /* Now do extended addition */ - ULARGE_INTEGER uliTotal; - - /* Add ls DWORDs */ - uliTotal.QuadPart = (DWORDLONG)ud0.LowPart + p0.LowPart; - p0.LowPart = uliTotal.LowPart; - - /* Propagate carry */ - uliTotal.LowPart = uliTotal.HighPart; - uliTotal.HighPart = 0; - - /* Add 2nd most ls DWORDs */ - uliTotal.QuadPart += (DWORDLONG)ud0.HighPart + p0.HighPart; - p0.HighPart = uliTotal.LowPart; - - /* Add MS DWORDLONGs - no carry expected */ - p1 += ud1 + uliTotal.HighPart; - - /* Now see if we got a sign change from the addition */ - if ((LONG)p1 < 0) { - bSign = !bSign; - - /* Negate the current value (ugh!) */ - p0.QuadPart = ~p0.QuadPart; - p1 = ~p1; - p0.QuadPart += 1; - p1 += (p0.QuadPart == 0); - } - } - - /* Now for the division */ - if (c < 0) { - bSign = !bSign; - } - - - /* This will catch c == 0 and overflow */ - if (uc <= p1) { - return bSign ? (LONGLONG)0x8000000000000000 : - (LONGLONG)0x7FFFFFFFFFFFFFFF; - } - - /* Do the division */ - - /* If the divisor is a DWORD then its simpler */ - ULARGE_INTEGER uliDividend; - ULARGE_INTEGER uliResult; - DWORD dwDivisor = uc; - uliDividend.HighPart = p1; - uliDividend.LowPart = p0.HighPart; - /* NOTE - this routine will take exceptions if - the result does not fit in a DWORD - */ - if (uliDividend.QuadPart >= (DWORDLONG)dwDivisor) { - uliResult.HighPart = EnlargedUnsignedDivide( - uliDividend, - dwDivisor, - &p0.HighPart); - } else { - uliResult.HighPart = 0; - } - uliResult.LowPart = EnlargedUnsignedDivide( - p0, - dwDivisor, - NULL); - return bSign ? -(LONGLONG)uliResult.QuadPart : - (LONGLONG)uliResult.QuadPart; -} - -#endif /* PJMEDIA_VIDEO_DEV_HAS_DSHOW */ diff --git a/res/pjproject/third_party/BaseClasses/combase.cpp b/res/pjproject/third_party/BaseClasses/combase.cpp deleted file mode 100644 index dd70125a5d..0000000000 --- a/res/pjproject/third_party/BaseClasses/combase.cpp +++ /dev/null @@ -1,269 +0,0 @@ -//------------------------------------------------------------------------------ -// File: ComBase.cpp -// -// Desc: DirectShow base classes - implements class hierarchy for creating -// COM objects. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - -#include - -#if defined(PJMEDIA_VIDEO_DEV_HAS_DSHOW) && PJMEDIA_VIDEO_DEV_HAS_DSHOW != 0 - -#include -#pragma warning( disable : 4514 ) // Disable warnings re unused inline functions - - -/* Define the static member variable */ - -LONG CBaseObject::m_cObjects = 0; - - -/* Constructor */ - -CBaseObject::CBaseObject(__in_opt LPCTSTR pName) -{ - /* Increment the number of active objects */ - InterlockedIncrement(&m_cObjects); - -#ifdef DEBUG - -#ifdef UNICODE - m_dwCookie = DbgRegisterObjectCreation(0, pName); -#else - m_dwCookie = DbgRegisterObjectCreation(pName, 0); -#endif - -#endif -} - -#ifdef UNICODE -CBaseObject::CBaseObject(const char *pName) -{ - /* Increment the number of active objects */ - InterlockedIncrement(&m_cObjects); - -#ifdef DEBUG - m_dwCookie = DbgRegisterObjectCreation(pName, 0); -#endif -} -#endif - -HINSTANCE hlibOLEAut32; - -/* Destructor */ - -CBaseObject::~CBaseObject() -{ - /* Decrement the number of objects active */ - if (InterlockedDecrement(&m_cObjects) == 0) { - if (hlibOLEAut32) { - FreeLibrary(hlibOLEAut32); - - hlibOLEAut32 = 0; - } - }; - - -#ifdef DEBUG - DbgRegisterObjectDestruction(m_dwCookie); -#endif -} - -static const TCHAR szOle32Aut[] = TEXT("OleAut32.dll"); - -HINSTANCE LoadOLEAut32() -{ - if (hlibOLEAut32 == 0) { - - hlibOLEAut32 = LoadLibrary(szOle32Aut); - } - - return hlibOLEAut32; -} - - -/* Constructor */ - -// We know we use "this" in the initialization list, we also know we don't modify *phr. -#pragma warning( disable : 4355 4100 ) -CUnknown::CUnknown(__in_opt LPCTSTR pName, __in_opt LPUNKNOWN pUnk) -: CBaseObject(pName) -/* Start the object with a reference count of zero - when the */ -/* object is queried for it's first interface this may be */ -/* incremented depending on whether or not this object is */ -/* currently being aggregated upon */ -, m_cRef(0) -/* Set our pointer to our IUnknown interface. */ -/* If we have an outer, use its, otherwise use ours. */ -/* This pointer effectivly points to the owner of */ -/* this object and can be accessed by the GetOwner() method. */ -, m_pUnknown( pUnk != 0 ? pUnk : reinterpret_cast( static_cast(this) ) ) - /* Why the double cast? Well, the inner cast is a type-safe cast */ - /* to pointer to a type from which we inherit. The second is */ - /* type-unsafe but works because INonDelegatingUnknown "behaves */ - /* like" IUnknown. (Only the names on the methods change.) */ -{ - // Everything we need to do has been done in the initializer list -} - -// This does the same as above except it has a useless HRESULT argument -// use the previous constructor, this is just left for compatibility... -CUnknown::CUnknown(__in_opt LPCTSTR pName, __in_opt LPUNKNOWN pUnk, __inout_opt HRESULT *phr) : - CBaseObject(pName), - m_cRef(0), - m_pUnknown( pUnk != 0 ? pUnk : reinterpret_cast( static_cast(this) ) ) -{ -} - -#ifdef UNICODE -CUnknown::CUnknown(__in_opt LPCSTR pName, __in_opt LPUNKNOWN pUnk) -: CBaseObject(pName), m_cRef(0), - m_pUnknown( pUnk != 0 ? pUnk : reinterpret_cast( static_cast(this) ) ) -{ } - -CUnknown::CUnknown(__in_opt LPCSTR pName, __in_opt LPUNKNOWN pUnk, __inout_opt HRESULT *phr) : - CBaseObject(pName), m_cRef(0), - m_pUnknown( pUnk != 0 ? pUnk : reinterpret_cast( static_cast(this) ) ) -{ } - -#endif - -#pragma warning( default : 4355 4100 ) - - -/* QueryInterface */ - -STDMETHODIMP CUnknown::NonDelegatingQueryInterface(REFIID riid, __deref_out void ** ppv) -{ - CheckPointer(ppv,E_POINTER); - ValidateReadWritePtr(ppv,sizeof(PVOID)); - - /* We know only about IUnknown */ - - if (riid == IID_IUnknown) { - GetInterface((LPUNKNOWN) (PNDUNKNOWN) this, ppv); - return NOERROR; - } else { - *ppv = NULL; - return E_NOINTERFACE; - } -} - -/* We have to ensure that we DON'T use a max macro, since these will typically */ -/* lead to one of the parameters being evaluated twice. Since we are worried */ -/* about concurrency, we can't afford to access the m_cRef twice since we can't */ -/* afford to run the risk that its value having changed between accesses. */ - -template inline static T ourmax( const T & a, const T & b ) -{ - return a > b ? a : b; -} - -/* AddRef */ - -STDMETHODIMP_(ULONG) CUnknown::NonDelegatingAddRef() -{ - LONG lRef = InterlockedIncrement( &m_cRef ); - ASSERT(lRef > 0); - DbgLog((LOG_MEMORY,3,TEXT(" Obj %d ref++ = %d"), - m_dwCookie, m_cRef)); - return ourmax(ULONG(m_cRef), 1ul); -} - - -/* Release */ - -STDMETHODIMP_(ULONG) CUnknown::NonDelegatingRelease() -{ - /* If the reference count drops to zero delete ourselves */ - - LONG lRef = InterlockedDecrement( &m_cRef ); - ASSERT(lRef >= 0); - - DbgLog((LOG_MEMORY,3,TEXT(" Object %d ref-- = %d"), - m_dwCookie, m_cRef)); - if (lRef == 0) { - - // COM rules say we must protect against re-entrancy. - // If we are an aggregator and we hold our own interfaces - // on the aggregatee, the QI for these interfaces will - // addref ourselves. So after doing the QI we must release - // a ref count on ourselves. Then, before releasing the - // private interface, we must addref ourselves. When we do - // this from the destructor here it will result in the ref - // count going to 1 and then back to 0 causing us to - // re-enter the destructor. Hence we add an extra refcount here - // once we know we will delete the object. - // for an example aggregator see filgraph\distrib.cpp. - - m_cRef++; - - delete this; - return ULONG(0); - } else { - // Don't touch m_cRef again even in this leg as the object - // may have just been released on another thread too - return ourmax(ULONG(lRef), 1ul); - } -} - - -/* Return an interface pointer to a requesting client - performing a thread safe AddRef as necessary */ - -STDAPI GetInterface(LPUNKNOWN pUnk, __out void **ppv) -{ - CheckPointer(ppv, E_POINTER); - *ppv = pUnk; - pUnk->AddRef(); - return NOERROR; -} - - -/* Compares two interfaces and returns TRUE if they are on the same object */ - -BOOL WINAPI IsEqualObject(IUnknown *pFirst, IUnknown *pSecond) -{ - /* Different objects can't have the same interface pointer for - any interface - */ - if (pFirst == pSecond) { - return TRUE; - } - /* OK - do it the hard way - check if they have the same - IUnknown pointers - a single object can only have one of these - */ - LPUNKNOWN pUnknown1; // Retrieve the IUnknown interface - LPUNKNOWN pUnknown2; // Retrieve the other IUnknown interface - HRESULT hr; // General OLE return code - - ASSERT(pFirst); - ASSERT(pSecond); - - /* See if the IUnknown pointers match */ - - hr = pFirst->QueryInterface(IID_IUnknown,(void **) &pUnknown1); - if (FAILED(hr)) { - return FALSE; - } - ASSERT(pUnknown1); - - /* Release the extra interface we hold */ - - pUnknown1->Release(); - - hr = pSecond->QueryInterface(IID_IUnknown,(void **) &pUnknown2); - if (FAILED(hr)) { - return FALSE; - } - ASSERT(pUnknown2); - - /* Release the extra interface we hold */ - - pUnknown2->Release(); - return (pUnknown1 == pUnknown2); -} - -#endif /* PJMEDIA_VIDEO_DEV_HAS_DSHOW */ diff --git a/res/pjproject/third_party/BaseClasses/combase.h b/res/pjproject/third_party/BaseClasses/combase.h deleted file mode 100644 index 44ca5354dc..0000000000 --- a/res/pjproject/third_party/BaseClasses/combase.h +++ /dev/null @@ -1,305 +0,0 @@ -//------------------------------------------------------------------------------ -// File: ComBase.h -// -// Desc: DirectShow base classes - defines a class hierarchy for creating -// COM objects. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - - -/* - -a. Derive your COM object from CUnknown - -b. Make a static CreateInstance function that takes an LPUNKNOWN, an HRESULT * - and a TCHAR *. The LPUNKNOWN defines the object to delegate IUnknown calls - to. The HRESULT * allows error codes to be passed around constructors and - the TCHAR * is a descriptive name that can be printed on the debugger. - - It is important that constructors only change the HRESULT * if they have - to set an ERROR code, if it was successful then leave it alone or you may - overwrite an error code from an object previously created. - - When you call a constructor the descriptive name should be in static store - as we do not copy the string. To stop large amounts of memory being used - in retail builds by all these static strings use the NAME macro, - - CMyFilter = new CImplFilter(NAME("My filter"),pUnknown,phr); - if (FAILED(hr)) { - return hr; - } - - In retail builds NAME(_x_) compiles to NULL, the base CBaseObject class - knows not to do anything with objects that don't have a name. - -c. Have a constructor for your object that passes the LPUNKNOWN, HRESULT * and - TCHAR * to the CUnknown constructor. You can set the HRESULT if you have an - error, or just simply pass it through to the constructor. - - The object creation will fail in the class factory if the HRESULT indicates - an error (ie FAILED(HRESULT) == TRUE) - -d. Create a FactoryTemplate with your object's class id and CreateInstance - function. - -Then (for each interface) either - -Multiple inheritance - -1. Also derive it from ISomeInterface -2. Include DECLARE_IUNKNOWN in your class definition to declare - implementations of QueryInterface, AddRef and Release that - call the outer unknown -3. Override NonDelegatingQueryInterface to expose ISomeInterface by - code something like - - if (riid == IID_ISomeInterface) { - return GetInterface((ISomeInterface *) this, ppv); - } else { - return CUnknown::NonDelegatingQueryInterface(riid, ppv); - } - -4. Declare and implement the member functions of ISomeInterface. - -or: Nested interfaces - -1. Declare a class derived from CUnknown -2. Include DECLARE_IUNKNOWN in your class definition -3. Override NonDelegatingQueryInterface to expose ISomeInterface by - code something like - - if (riid == IID_ISomeInterface) { - return GetInterface((ISomeInterface *) this, ppv); - } else { - return CUnknown::NonDelegatingQueryInterface(riid, ppv); - } - -4. Implement the member functions of ISomeInterface. Use GetOwner() to - access the COM object class. - -And in your COM object class: - -5. Make the nested class a friend of the COM object class, and declare - an instance of the nested class as a member of the COM object class. - - NOTE that because you must always pass the outer unknown and an hResult - to the CUnknown constructor you cannot use a default constructor, in - other words you will have to make the member variable a pointer to the - class and make a NEW call in your constructor to actually create it. - -6. override the NonDelegatingQueryInterface with code like this: - - if (riid == IID_ISomeInterface) { - return m_pImplFilter-> - NonDelegatingQueryInterface(IID_ISomeInterface, ppv); - } else { - return CUnknown::NonDelegatingQueryInterface(riid, ppv); - } - -You can have mixed classes which support some interfaces via multiple -inheritance and some via nested classes - -*/ - -#ifndef __COMBASE__ -#define __COMBASE__ - -// Filter Setup data structures no defined in axextend.idl - -typedef REGPINTYPES -AMOVIESETUP_MEDIATYPE, * PAMOVIESETUP_MEDIATYPE, * FAR LPAMOVIESETUP_MEDIATYPE; - -typedef REGFILTERPINS -AMOVIESETUP_PIN, * PAMOVIESETUP_PIN, * FAR LPAMOVIESETUP_PIN; - -typedef struct _AMOVIESETUP_FILTER -{ - const CLSID * clsID; - const WCHAR * strName; - DWORD dwMerit; - UINT nPins; - const AMOVIESETUP_PIN * lpPin; -} -AMOVIESETUP_FILTER, * PAMOVIESETUP_FILTER, * FAR LPAMOVIESETUP_FILTER; - -/* The DLLENTRY module initialises the module handle on loading */ - -extern HINSTANCE g_hInst; - -/* On DLL load remember which platform we are running on */ - -extern DWORD g_amPlatform; -extern OSVERSIONINFO g_osInfo; // Filled in by GetVersionEx - -/* Version of IUnknown that is renamed to allow a class to support both - non delegating and delegating IUnknowns in the same COM object */ - -#ifndef INONDELEGATINGUNKNOWN_DEFINED -DECLARE_INTERFACE(INonDelegatingUnknown) -{ - STDMETHOD(NonDelegatingQueryInterface) (THIS_ REFIID, LPVOID *) PURE; - STDMETHOD_(ULONG, NonDelegatingAddRef)(THIS) PURE; - STDMETHOD_(ULONG, NonDelegatingRelease)(THIS) PURE; -}; -#define INONDELEGATINGUNKNOWN_DEFINED -#endif - -typedef INonDelegatingUnknown *PNDUNKNOWN; - - -/* This is the base object class that supports active object counting. As - part of the debug facilities we trace every time a C++ object is created - or destroyed. The name of the object has to be passed up through the class - derivation list during construction as you cannot call virtual functions - in the constructor. The downside of all this is that every single object - constructor has to take an object name parameter that describes it */ - -class CBaseObject -{ - -private: - - // Disable the copy constructor and assignment by default so you will get - // compiler errors instead of unexpected behaviour if you pass objects - // by value or assign objects. - CBaseObject(const CBaseObject& objectSrc); // no implementation - void operator=(const CBaseObject& objectSrc); // no implementation - -private: - static LONG m_cObjects; /* Total number of objects active */ - -protected: -#ifdef DEBUG - DWORD m_dwCookie; /* Cookie identifying this object */ -#endif - - -public: - - /* These increment and decrement the number of active objects */ - - CBaseObject(__in_opt LPCTSTR pName); -#ifdef UNICODE - CBaseObject(__in_opt LPCSTR pName); -#endif - ~CBaseObject(); - - /* Call this to find if there are any CUnknown derived objects active */ - - static LONG ObjectsActive() { - return m_cObjects; - }; -}; - - -/* An object that supports one or more COM interfaces will be based on - this class. It supports counting of total objects for DLLCanUnloadNow - support, and an implementation of the core non delegating IUnknown */ - -class AM_NOVTABLE CUnknown : public INonDelegatingUnknown, - public CBaseObject -{ -private: - const LPUNKNOWN m_pUnknown; /* Owner of this object */ - -protected: /* So we can override NonDelegatingRelease() */ - volatile LONG m_cRef; /* Number of reference counts */ - -public: - - CUnknown(__in_opt LPCTSTR pName, __in_opt LPUNKNOWN pUnk); - virtual ~CUnknown() {}; - - // This is redundant, just use the other constructor - // as we never touch the HRESULT in this anyway - CUnknown(__in_opt LPCTSTR Name, __in_opt LPUNKNOWN pUnk, __inout_opt HRESULT *phr); -#ifdef UNICODE - CUnknown(__in_opt LPCSTR pName, __in_opt LPUNKNOWN pUnk); - CUnknown(__in_opt LPCSTR pName, __in_opt LPUNKNOWN pUnk,__inout_opt HRESULT *phr); -#endif - - /* Return the owner of this object */ - - LPUNKNOWN GetOwner() const { - return m_pUnknown; - }; - - /* Called from the class factory to create a new instance, it is - pure virtual so it must be overriden in your derived class */ - - /* static CUnknown *CreateInstance(LPUNKNOWN, HRESULT *) */ - - /* Non delegating unknown implementation */ - - STDMETHODIMP NonDelegatingQueryInterface(REFIID, __deref_out void **); - STDMETHODIMP_(ULONG) NonDelegatingAddRef(); - STDMETHODIMP_(ULONG) NonDelegatingRelease(); -}; - -/* Return an interface pointer to a requesting client - performing a thread safe AddRef as necessary */ - -STDAPI GetInterface(LPUNKNOWN pUnk, __out void **ppv); - -/* A function that can create a new COM object */ - -typedef CUnknown *(CALLBACK *LPFNNewCOMObject)(__in_opt LPUNKNOWN pUnkOuter, __inout_opt HRESULT *phr); - -/* A function (can be NULL) which is called from the DLL entrypoint - routine for each factory template: - - bLoading - TRUE on DLL load, FALSE on DLL unload - rclsid - the m_ClsID of the entry -*/ -typedef void (CALLBACK *LPFNInitRoutine)(BOOL bLoading, const CLSID *rclsid); - -/* Create one of these per object class in an array so that - the default class factory code can create new instances */ - -class CFactoryTemplate { - -public: - - const WCHAR * m_Name; - const CLSID * m_ClsID; - LPFNNewCOMObject m_lpfnNew; - LPFNInitRoutine m_lpfnInit; - const AMOVIESETUP_FILTER * m_pAMovieSetup_Filter; - - BOOL IsClassID(REFCLSID rclsid) const { - return (IsEqualCLSID(*m_ClsID,rclsid)); - }; - - CUnknown *CreateInstance(__inout_opt LPUNKNOWN pUnk, __inout_opt HRESULT *phr) const { - CheckPointer(phr,NULL); - return m_lpfnNew(pUnk, phr); - }; -}; - - -/* You must override the (pure virtual) NonDelegatingQueryInterface to return - interface pointers (using GetInterface) to the interfaces your derived - class supports (the default implementation only supports IUnknown) */ - -#define DECLARE_IUNKNOWN \ - STDMETHODIMP QueryInterface(REFIID riid, __deref_out void **ppv) { \ - return GetOwner()->QueryInterface(riid,ppv); \ - }; \ - STDMETHODIMP_(ULONG) AddRef() { \ - return GetOwner()->AddRef(); \ - }; \ - STDMETHODIMP_(ULONG) Release() { \ - return GetOwner()->Release(); \ - }; - - - -HINSTANCE LoadOLEAut32(); - - -#endif /* __COMBASE__ */ - - - - diff --git a/res/pjproject/third_party/BaseClasses/ctlutil.cpp b/res/pjproject/third_party/BaseClasses/ctlutil.cpp deleted file mode 100644 index b2966e6752..0000000000 --- a/res/pjproject/third_party/BaseClasses/ctlutil.cpp +++ /dev/null @@ -1,2545 +0,0 @@ -//------------------------------------------------------------------------------ -// File: CtlUtil.cpp -// -// Desc: DirectShow base classes. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - - -// Base classes implementing IDispatch parsing for the basic control dual -// interfaces. Derive from these and implement just the custom method and -// property methods. We also implement CPosPassThru that can be used by -// renderers and transforms to pass by IMediaPosition and IMediaSeeking - -#include - -#if defined(PJMEDIA_VIDEO_DEV_HAS_DSHOW) && PJMEDIA_VIDEO_DEV_HAS_DSHOW != 0 - -#include -#include -#include "seekpt.h" - -// 'bool' non standard reserved word -#pragma warning(disable:4237) - - -// --- CBaseDispatch implementation ---------- -CBaseDispatch::~CBaseDispatch() -{ - if (m_pti) { - m_pti->Release(); - } -} - - -// return 1 if we support GetTypeInfo - -STDMETHODIMP -CBaseDispatch::GetTypeInfoCount(__out UINT * pctinfo) -{ - CheckPointer(pctinfo,E_POINTER); - ValidateReadWritePtr(pctinfo,sizeof(UINT *)); - *pctinfo = 1; - return S_OK; -} - - -typedef HRESULT (STDAPICALLTYPE *LPLOADTYPELIB)( - const OLECHAR FAR *szFile, - __deref_out ITypeLib FAR* FAR* pptlib); - -typedef HRESULT (STDAPICALLTYPE *LPLOADREGTYPELIB)(REFGUID rguid, - WORD wVerMajor, - WORD wVerMinor, - LCID lcid, - __deref_out ITypeLib FAR* FAR* pptlib); - -// attempt to find our type library - -STDMETHODIMP -CBaseDispatch::GetTypeInfo( - REFIID riid, - UINT itinfo, - LCID lcid, - __deref_out ITypeInfo ** pptinfo) -{ - CheckPointer(pptinfo,E_POINTER); - ValidateReadWritePtr(pptinfo,sizeof(ITypeInfo *)); - HRESULT hr; - - *pptinfo = NULL; - - // we only support one type element - if (0 != itinfo) { - return TYPE_E_ELEMENTNOTFOUND; - } - - if (NULL == pptinfo) { - return E_POINTER; - } - - // always look for neutral - if (NULL == m_pti) { - - LPLOADTYPELIB lpfnLoadTypeLib; - LPLOADREGTYPELIB lpfnLoadRegTypeLib; - ITypeLib *ptlib; - HINSTANCE hInst; - - static const char szTypeLib[] = "LoadTypeLib"; - static const char szRegTypeLib[] = "LoadRegTypeLib"; - static const WCHAR szControl[] = L"control.tlb"; - - // - // Try to get the Ole32Aut.dll module handle. - // - - hInst = LoadOLEAut32(); - if (hInst == NULL) { - DWORD dwError = GetLastError(); - return AmHresultFromWin32(dwError); - } - lpfnLoadRegTypeLib = (LPLOADREGTYPELIB)GetProcAddress(hInst, - szRegTypeLib); - if (lpfnLoadRegTypeLib == NULL) { - DWORD dwError = GetLastError(); - return AmHresultFromWin32(dwError); - } - - hr = (*lpfnLoadRegTypeLib)(LIBID_QuartzTypeLib, 1, 0, // version 1.0 - lcid, &ptlib); - - if (FAILED(hr)) { - - // attempt to load directly - this will fill the - // registry in if it finds it - - lpfnLoadTypeLib = (LPLOADTYPELIB)GetProcAddress(hInst, szTypeLib); - if (lpfnLoadTypeLib == NULL) { - DWORD dwError = GetLastError(); - return AmHresultFromWin32(dwError); - } - - hr = (*lpfnLoadTypeLib)(szControl, &ptlib); - if (FAILED(hr)) { - return hr; - } - } - - hr = ptlib->GetTypeInfoOfGuid( - riid, - &m_pti); - - ptlib->Release(); - - if (FAILED(hr)) { - return hr; - } - } - - *pptinfo = m_pti; - m_pti->AddRef(); - return S_OK; -} - - -STDMETHODIMP -CBaseDispatch::GetIDsOfNames( - REFIID riid, - __in_ecount(cNames) LPOLESTR * rgszNames, - UINT cNames, - LCID lcid, - __out_ecount(cNames) DISPID * rgdispid) -{ - // although the IDispatch riid is dead, we use this to pass from - // the interface implementation class to us the iid we are talking about. - - ITypeInfo * pti; - HRESULT hr = GetTypeInfo(riid, 0, lcid, &pti); - - if (SUCCEEDED(hr)) { - hr = pti->GetIDsOfNames(rgszNames, cNames, rgdispid); - - pti->Release(); - } - return hr; -} - - -// --- CMediaControl implementation --------- - -CMediaControl::CMediaControl(const TCHAR * name,LPUNKNOWN pUnk) : - CUnknown(name, pUnk) -{ -} - -// expose our interfaces IMediaControl and IUnknown - -STDMETHODIMP -CMediaControl::NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv) -{ - ValidateReadWritePtr(ppv,sizeof(PVOID)); - if (riid == IID_IMediaControl) { - return GetInterface( (IMediaControl *) this, ppv); - } else { - return CUnknown::NonDelegatingQueryInterface(riid, ppv); - } -} - - -// return 1 if we support GetTypeInfo - -STDMETHODIMP -CMediaControl::GetTypeInfoCount(__out UINT * pctinfo) -{ - return m_basedisp.GetTypeInfoCount(pctinfo); -} - - -// attempt to find our type library - -STDMETHODIMP -CMediaControl::GetTypeInfo( - UINT itinfo, - LCID lcid, - __deref_out ITypeInfo ** pptinfo) -{ - return m_basedisp.GetTypeInfo( - IID_IMediaControl, - itinfo, - lcid, - pptinfo); -} - - -STDMETHODIMP -CMediaControl::GetIDsOfNames( - REFIID riid, - __in_ecount(cNames) LPOLESTR * rgszNames, - UINT cNames, - LCID lcid, - __out_ecount(cNames) DISPID * rgdispid) -{ - return m_basedisp.GetIDsOfNames( - IID_IMediaControl, - rgszNames, - cNames, - lcid, - rgdispid); -} - - -STDMETHODIMP -CMediaControl::Invoke( - DISPID dispidMember, - REFIID riid, - LCID lcid, - WORD wFlags, - __in DISPPARAMS * pdispparams, - __out_opt VARIANT * pvarResult, - __out_opt EXCEPINFO * pexcepinfo, - __out_opt UINT * puArgErr) -{ - // this parameter is a dead leftover from an earlier interface - if (IID_NULL != riid) { - return DISP_E_UNKNOWNINTERFACE; - } - - ITypeInfo * pti; - HRESULT hr = GetTypeInfo(0, lcid, &pti); - - if (FAILED(hr)) { - return hr; - } - - hr = pti->Invoke( - (IMediaControl *)this, - dispidMember, - wFlags, - pdispparams, - pvarResult, - pexcepinfo, - puArgErr); - - pti->Release(); - return hr; -} - - -// --- CMediaEvent implementation ---------- - - -CMediaEvent::CMediaEvent(__in_opt LPCTSTR name,__in_opt LPUNKNOWN pUnk) : - CUnknown(name, pUnk) -{ -} - - -// expose our interfaces IMediaEvent and IUnknown - -STDMETHODIMP -CMediaEvent::NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv) -{ - ValidateReadWritePtr(ppv,sizeof(PVOID)); - if (riid == IID_IMediaEvent || riid == IID_IMediaEventEx) { - return GetInterface( (IMediaEventEx *) this, ppv); - } else { - return CUnknown::NonDelegatingQueryInterface(riid, ppv); - } -} - - -// return 1 if we support GetTypeInfo - -STDMETHODIMP -CMediaEvent::GetTypeInfoCount(__out UINT * pctinfo) -{ - return m_basedisp.GetTypeInfoCount(pctinfo); -} - - -// attempt to find our type library - -STDMETHODIMP -CMediaEvent::GetTypeInfo( - UINT itinfo, - LCID lcid, - __deref_out ITypeInfo ** pptinfo) -{ - return m_basedisp.GetTypeInfo( - IID_IMediaEvent, - itinfo, - lcid, - pptinfo); -} - - -STDMETHODIMP -CMediaEvent::GetIDsOfNames( - REFIID riid, - __in_ecount(cNames) LPOLESTR * rgszNames, - UINT cNames, - LCID lcid, - __out_ecount(cNames) DISPID * rgdispid) -{ - return m_basedisp.GetIDsOfNames( - IID_IMediaEvent, - rgszNames, - cNames, - lcid, - rgdispid); -} - - -STDMETHODIMP -CMediaEvent::Invoke( - DISPID dispidMember, - REFIID riid, - LCID lcid, - WORD wFlags, - __in DISPPARAMS * pdispparams, - __out_opt VARIANT * pvarResult, - __out_opt EXCEPINFO * pexcepinfo, - __out_opt UINT * puArgErr) -{ - // this parameter is a dead leftover from an earlier interface - if (IID_NULL != riid) { - return DISP_E_UNKNOWNINTERFACE; - } - - ITypeInfo * pti; - HRESULT hr = GetTypeInfo(0, lcid, &pti); - - if (FAILED(hr)) { - return hr; - } - - hr = pti->Invoke( - (IMediaEvent *)this, - dispidMember, - wFlags, - pdispparams, - pvarResult, - pexcepinfo, - puArgErr); - - pti->Release(); - return hr; -} - - -// --- CMediaPosition implementation ---------- - - -CMediaPosition::CMediaPosition(__in_opt LPCTSTR name,__in_opt LPUNKNOWN pUnk) : - CUnknown(name, pUnk) -{ -} - -CMediaPosition::CMediaPosition(__in_opt LPCTSTR name, - __in_opt LPUNKNOWN pUnk, - __inout HRESULT * phr) : - CUnknown(name, pUnk) -{ - UNREFERENCED_PARAMETER(phr); -} - - -// expose our interfaces IMediaPosition and IUnknown - -STDMETHODIMP -CMediaPosition::NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv) -{ - ValidateReadWritePtr(ppv,sizeof(PVOID)); - if (riid == IID_IMediaPosition) { - return GetInterface( (IMediaPosition *) this, ppv); - } else { - return CUnknown::NonDelegatingQueryInterface(riid, ppv); - } -} - - -// return 1 if we support GetTypeInfo - -STDMETHODIMP -CMediaPosition::GetTypeInfoCount(__out UINT * pctinfo) -{ - return m_basedisp.GetTypeInfoCount(pctinfo); -} - - -// attempt to find our type library - -STDMETHODIMP -CMediaPosition::GetTypeInfo( - UINT itinfo, - LCID lcid, - __deref_out ITypeInfo ** pptinfo) -{ - return m_basedisp.GetTypeInfo( - IID_IMediaPosition, - itinfo, - lcid, - pptinfo); -} - - -STDMETHODIMP -CMediaPosition::GetIDsOfNames( - REFIID riid, - __in_ecount(cNames) LPOLESTR * rgszNames, - UINT cNames, - LCID lcid, - __out_ecount(cNames) DISPID * rgdispid) -{ - return m_basedisp.GetIDsOfNames( - IID_IMediaPosition, - rgszNames, - cNames, - lcid, - rgdispid); -} - - -STDMETHODIMP -CMediaPosition::Invoke( - DISPID dispidMember, - REFIID riid, - LCID lcid, - WORD wFlags, - __in DISPPARAMS * pdispparams, - __out_opt VARIANT * pvarResult, - __out_opt EXCEPINFO * pexcepinfo, - __out_opt UINT * puArgErr) -{ - // this parameter is a dead leftover from an earlier interface - if (IID_NULL != riid) { - return DISP_E_UNKNOWNINTERFACE; - } - - ITypeInfo * pti; - HRESULT hr = GetTypeInfo(0, lcid, &pti); - - if (FAILED(hr)) { - return hr; - } - - hr = pti->Invoke( - (IMediaPosition *)this, - dispidMember, - wFlags, - pdispparams, - pvarResult, - pexcepinfo, - puArgErr); - - pti->Release(); - return hr; -} - - -// --- IMediaPosition and IMediaSeeking pass through class ---------- - - -CPosPassThru::CPosPassThru(__in_opt LPCTSTR pName, - __in_opt LPUNKNOWN pUnk, - __inout HRESULT *phr, - IPin *pPin) : - CMediaPosition(pName,pUnk), - m_pPin(pPin) -{ - if (pPin == NULL) { - *phr = E_POINTER; - return; - } -} - - -// Expose our IMediaSeeking and IMediaPosition interfaces - -STDMETHODIMP -CPosPassThru::NonDelegatingQueryInterface(REFIID riid,__deref_out void **ppv) -{ - CheckPointer(ppv,E_POINTER); - *ppv = NULL; - - if (riid == IID_IMediaSeeking) { - return GetInterface( static_cast(this), ppv); - } - return CMediaPosition::NonDelegatingQueryInterface(riid,ppv); -} - - -// Return the IMediaPosition interface from our peer - -HRESULT -CPosPassThru::GetPeer(IMediaPosition ** ppMP) -{ - *ppMP = NULL; - - IPin *pConnected; - HRESULT hr = m_pPin->ConnectedTo(&pConnected); - if (FAILED(hr)) { - return E_NOTIMPL; - } - IMediaPosition * pMP; - hr = pConnected->QueryInterface(IID_IMediaPosition, (void **) &pMP); - pConnected->Release(); - if (FAILED(hr)) { - return E_NOTIMPL; - } - - *ppMP = pMP; - return S_OK; -} - - -// Return the IMediaSeeking interface from our peer - -HRESULT -CPosPassThru::GetPeerSeeking(__deref_out IMediaSeeking ** ppMS) -{ - *ppMS = NULL; - - IPin *pConnected; - HRESULT hr = m_pPin->ConnectedTo(&pConnected); - if (FAILED(hr)) { - return E_NOTIMPL; - } - IMediaSeeking * pMS; - hr = pConnected->QueryInterface(IID_IMediaSeeking, (void **) &pMS); - pConnected->Release(); - if (FAILED(hr)) { - return E_NOTIMPL; - } - - *ppMS = pMS; - return S_OK; -} - - -// --- IMediaSeeking methods ---------- - - -STDMETHODIMP -CPosPassThru::GetCapabilities(__out DWORD * pCaps) -{ - IMediaSeeking* pMS; - HRESULT hr = GetPeerSeeking(&pMS); - if (FAILED(hr)) { - return hr; - } - - hr = pMS->GetCapabilities(pCaps); - pMS->Release(); - return hr; -} - -STDMETHODIMP -CPosPassThru::CheckCapabilities(__inout DWORD * pCaps) -{ - IMediaSeeking* pMS; - HRESULT hr = GetPeerSeeking(&pMS); - if (FAILED(hr)) { - return hr; - } - - hr = pMS->CheckCapabilities(pCaps); - pMS->Release(); - return hr; -} - -STDMETHODIMP -CPosPassThru::IsFormatSupported(const GUID * pFormat) -{ - IMediaSeeking* pMS; - HRESULT hr = GetPeerSeeking(&pMS); - if (FAILED(hr)) { - return hr; - } - - hr = pMS->IsFormatSupported(pFormat); - pMS->Release(); - return hr; -} - - -STDMETHODIMP -CPosPassThru::QueryPreferredFormat(__out GUID *pFormat) -{ - IMediaSeeking* pMS; - HRESULT hr = GetPeerSeeking(&pMS); - if (FAILED(hr)) { - return hr; - } - - hr = pMS->QueryPreferredFormat(pFormat); - pMS->Release(); - return hr; -} - - -STDMETHODIMP -CPosPassThru::SetTimeFormat(const GUID * pFormat) -{ - IMediaSeeking* pMS; - HRESULT hr = GetPeerSeeking(&pMS); - if (FAILED(hr)) { - return hr; - } - - hr = pMS->SetTimeFormat(pFormat); - pMS->Release(); - return hr; -} - - -STDMETHODIMP -CPosPassThru::GetTimeFormat(__out GUID *pFormat) -{ - IMediaSeeking* pMS; - HRESULT hr = GetPeerSeeking(&pMS); - if (FAILED(hr)) { - return hr; - } - - hr = pMS->GetTimeFormat(pFormat); - pMS->Release(); - return hr; -} - - -STDMETHODIMP -CPosPassThru::IsUsingTimeFormat(const GUID * pFormat) -{ - IMediaSeeking* pMS; - HRESULT hr = GetPeerSeeking(&pMS); - if (FAILED(hr)) { - return hr; - } - - hr = pMS->IsUsingTimeFormat(pFormat); - pMS->Release(); - return hr; -} - - -STDMETHODIMP -CPosPassThru::ConvertTimeFormat(__out LONGLONG * pTarget, - __in_opt const GUID * pTargetFormat, - LONGLONG Source, - __in_opt const GUID * pSourceFormat ) -{ - IMediaSeeking* pMS; - HRESULT hr = GetPeerSeeking(&pMS); - if (FAILED(hr)) { - return hr; - } - - hr = pMS->ConvertTimeFormat(pTarget, pTargetFormat, Source, pSourceFormat ); - pMS->Release(); - return hr; -} - - -STDMETHODIMP -CPosPassThru::SetPositions( __inout_opt LONGLONG * pCurrent, - DWORD CurrentFlags, - __inout_opt LONGLONG * pStop, - DWORD StopFlags ) -{ - IMediaSeeking* pMS; - HRESULT hr = GetPeerSeeking(&pMS); - if (FAILED(hr)) { - return hr; - } - - hr = pMS->SetPositions(pCurrent, CurrentFlags, pStop, StopFlags ); - pMS->Release(); - return hr; -} - -STDMETHODIMP -CPosPassThru::GetPositions(__out_opt LONGLONG *pCurrent, __out_opt LONGLONG * pStop) -{ - IMediaSeeking* pMS; - HRESULT hr = GetPeerSeeking(&pMS); - if (FAILED(hr)) { - return hr; - } - - hr = pMS->GetPositions(pCurrent,pStop); - pMS->Release(); - return hr; -} - -HRESULT -CPosPassThru::GetSeekingLongLong -( HRESULT (__stdcall IMediaSeeking::*pMethod)( __out LONGLONG * ) -, LONGLONG * pll -) -{ - IMediaSeeking* pMS; - HRESULT hr = GetPeerSeeking(&pMS); - if (SUCCEEDED(hr)) - { - hr = (pMS->*pMethod)(pll); - pMS->Release(); - } - return hr; -} - -// If we don't have a current position then ask upstream - -STDMETHODIMP -CPosPassThru::GetCurrentPosition(__out LONGLONG *pCurrent) -{ - // Can we report the current position - HRESULT hr = GetMediaTime(pCurrent,NULL); - if (SUCCEEDED(hr)) hr = NOERROR; - else hr = GetSeekingLongLong( &IMediaSeeking::GetCurrentPosition, pCurrent ); - return hr; -} - - -STDMETHODIMP -CPosPassThru::GetStopPosition(__out LONGLONG *pStop) -{ - return GetSeekingLongLong( &IMediaSeeking::GetStopPosition, pStop );; -} - -STDMETHODIMP -CPosPassThru::GetDuration(__out LONGLONG *pDuration) -{ - return GetSeekingLongLong( &IMediaSeeking::GetDuration, pDuration );; -} - - -STDMETHODIMP -CPosPassThru::GetPreroll(__out LONGLONG *pllPreroll) -{ - return GetSeekingLongLong( &IMediaSeeking::GetPreroll, pllPreroll );; -} - - -STDMETHODIMP -CPosPassThru::GetAvailable( __out_opt LONGLONG *pEarliest, __out_opt LONGLONG *pLatest ) -{ - IMediaSeeking* pMS; - HRESULT hr = GetPeerSeeking(&pMS); - if (FAILED(hr)) { - return hr; - } - - hr = pMS->GetAvailable( pEarliest, pLatest ); - pMS->Release(); - return hr; -} - - -STDMETHODIMP -CPosPassThru::GetRate(__out double * pdRate) -{ - IMediaSeeking* pMS; - HRESULT hr = GetPeerSeeking(&pMS); - if (FAILED(hr)) { - return hr; - } - hr = pMS->GetRate(pdRate); - pMS->Release(); - return hr; -} - - -STDMETHODIMP -CPosPassThru::SetRate(double dRate) -{ - if (0.0 == dRate) { - return E_INVALIDARG; - } - - IMediaSeeking* pMS; - HRESULT hr = GetPeerSeeking(&pMS); - if (FAILED(hr)) { - return hr; - } - hr = pMS->SetRate(dRate); - pMS->Release(); - return hr; -} - - - - -// --- IMediaPosition methods ---------- - - -STDMETHODIMP -CPosPassThru::get_Duration(__out REFTIME * plength) -{ - IMediaPosition* pMP; - HRESULT hr = GetPeer(&pMP); - if (FAILED(hr)) { - return hr; - } - - hr = pMP->get_Duration(plength); - pMP->Release(); - return hr; -} - - -STDMETHODIMP -CPosPassThru::get_CurrentPosition(__out REFTIME * pllTime) -{ - IMediaPosition* pMP; - HRESULT hr = GetPeer(&pMP); - if (FAILED(hr)) { - return hr; - } - hr = pMP->get_CurrentPosition(pllTime); - pMP->Release(); - return hr; -} - - -STDMETHODIMP -CPosPassThru::put_CurrentPosition(REFTIME llTime) -{ - IMediaPosition* pMP; - HRESULT hr = GetPeer(&pMP); - if (FAILED(hr)) { - return hr; - } - hr = pMP->put_CurrentPosition(llTime); - pMP->Release(); - return hr; -} - - -STDMETHODIMP -CPosPassThru::get_StopTime(__out REFTIME * pllTime) -{ - IMediaPosition* pMP; - HRESULT hr = GetPeer(&pMP); - if (FAILED(hr)) { - return hr; - } - hr = pMP->get_StopTime(pllTime); - pMP->Release(); - return hr; -} - - -STDMETHODIMP -CPosPassThru::put_StopTime(REFTIME llTime) -{ - IMediaPosition* pMP; - HRESULT hr = GetPeer(&pMP); - if (FAILED(hr)) { - return hr; - } - hr = pMP->put_StopTime(llTime); - pMP->Release(); - return hr; -} - - -STDMETHODIMP -CPosPassThru::get_PrerollTime(__out REFTIME * pllTime) -{ - IMediaPosition* pMP; - HRESULT hr = GetPeer(&pMP); - if (FAILED(hr)) { - return hr; - } - hr = pMP->get_PrerollTime(pllTime); - pMP->Release(); - return hr; -} - - -STDMETHODIMP -CPosPassThru::put_PrerollTime(REFTIME llTime) -{ - IMediaPosition* pMP; - HRESULT hr = GetPeer(&pMP); - if (FAILED(hr)) { - return hr; - } - hr = pMP->put_PrerollTime(llTime); - pMP->Release(); - return hr; -} - - -STDMETHODIMP -CPosPassThru::get_Rate(__out double * pdRate) -{ - IMediaPosition* pMP; - HRESULT hr = GetPeer(&pMP); - if (FAILED(hr)) { - return hr; - } - hr = pMP->get_Rate(pdRate); - pMP->Release(); - return hr; -} - - -STDMETHODIMP -CPosPassThru::put_Rate(double dRate) -{ - if (0.0 == dRate) { - return E_INVALIDARG; - } - - IMediaPosition* pMP; - HRESULT hr = GetPeer(&pMP); - if (FAILED(hr)) { - return hr; - } - hr = pMP->put_Rate(dRate); - pMP->Release(); - return hr; -} - - -STDMETHODIMP -CPosPassThru::CanSeekForward(__out LONG *pCanSeekForward) -{ - IMediaPosition* pMP; - HRESULT hr = GetPeer(&pMP); - if (FAILED(hr)) { - return hr; - } - hr = pMP->CanSeekForward(pCanSeekForward); - pMP->Release(); - return hr; -} - - -STDMETHODIMP -CPosPassThru::CanSeekBackward(__out LONG *pCanSeekBackward) -{ - IMediaPosition* pMP; - HRESULT hr = GetPeer(&pMP); - if (FAILED(hr)) { - return hr; - } - hr = pMP->CanSeekBackward(pCanSeekBackward); - pMP->Release(); - return hr; -} - - -// --- Implements the CRendererPosPassThru class ---------- - - -// Media times (eg current frame, field, sample etc) are passed through the -// filtergraph in media samples. When a renderer gets a sample with media -// times in it, it will call one of the RegisterMediaTime methods we expose -// (one takes an IMediaSample, the other takes the media times direct). We -// store the media times internally and return them in GetCurrentPosition. - -CRendererPosPassThru::CRendererPosPassThru(__in_opt LPCTSTR pName, - __in_opt LPUNKNOWN pUnk, - __inout HRESULT *phr, - IPin *pPin) : - CPosPassThru(pName,pUnk,phr,pPin), - m_StartMedia(0), - m_EndMedia(0), - m_bReset(TRUE) -{ -} - - -// Sets the media times the object should report - -HRESULT -CRendererPosPassThru::RegisterMediaTime(IMediaSample *pMediaSample) -{ - ASSERT(pMediaSample); - LONGLONG StartMedia; - LONGLONG EndMedia; - - CAutoLock cAutoLock(&m_PositionLock); - - // Get the media times from the sample - - HRESULT hr = pMediaSample->GetTime(&StartMedia,&EndMedia); - if (FAILED(hr)) - { - ASSERT(hr == VFW_E_SAMPLE_TIME_NOT_SET); - return hr; - } - - m_StartMedia = StartMedia; - m_EndMedia = EndMedia; - m_bReset = FALSE; - return NOERROR; -} - - -// Sets the media times the object should report - -HRESULT -CRendererPosPassThru::RegisterMediaTime(LONGLONG StartTime,LONGLONG EndTime) -{ - CAutoLock cAutoLock(&m_PositionLock); - m_StartMedia = StartTime; - m_EndMedia = EndTime; - m_bReset = FALSE; - return NOERROR; -} - - -// Return the current media times registered in the object - -HRESULT -CRendererPosPassThru::GetMediaTime(__out LONGLONG *pStartTime, __out_opt LONGLONG *pEndTime) -{ - ASSERT(pStartTime); - - CAutoLock cAutoLock(&m_PositionLock); - if (m_bReset == TRUE) { - return E_FAIL; - } - - // We don't have to return the end time - - HRESULT hr = ConvertTimeFormat( pStartTime, 0, m_StartMedia, &TIME_FORMAT_MEDIA_TIME ); - if (pEndTime && SUCCEEDED(hr)) { - hr = ConvertTimeFormat( pEndTime, 0, m_EndMedia, &TIME_FORMAT_MEDIA_TIME ); - } - return hr; -} - - -// Resets the media times we hold - -HRESULT -CRendererPosPassThru::ResetMediaTime() -{ - CAutoLock cAutoLock(&m_PositionLock); - m_StartMedia = 0; - m_EndMedia = 0; - m_bReset = TRUE; - return NOERROR; -} - -// Intended to be called by the owing filter during EOS processing so -// that the media times can be adjusted to the stop time. This ensures -// that the GetCurrentPosition will actully get to the stop position. -HRESULT -CRendererPosPassThru::EOS() -{ - HRESULT hr; - - if ( m_bReset == TRUE ) hr = E_FAIL; - else - { - LONGLONG llStop; - if SUCCEEDED(hr=GetStopPosition(&llStop)) - { - CAutoLock cAutoLock(&m_PositionLock); - m_StartMedia = - m_EndMedia = llStop; - } - } - return hr; -} - -// -- CSourceSeeking implementation ------------ - -CSourceSeeking::CSourceSeeking( - __in_opt LPCTSTR pName, - __in_opt LPUNKNOWN pUnk, - __inout HRESULT* phr, - __in CCritSec * pLock) : - CUnknown(pName, pUnk), - m_pLock(pLock), - m_rtStart((long)0) -{ - m_rtStop = _I64_MAX / 2; - m_rtDuration = m_rtStop; - m_dRateSeeking = 1.0; - - m_dwSeekingCaps = AM_SEEKING_CanSeekForwards - | AM_SEEKING_CanSeekBackwards - | AM_SEEKING_CanSeekAbsolute - | AM_SEEKING_CanGetStopPos - | AM_SEEKING_CanGetDuration; -} - -HRESULT CSourceSeeking::NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv) -{ - if(riid == IID_IMediaSeeking) { - CheckPointer(ppv, E_POINTER); - return GetInterface(static_cast(this), ppv); - } - else { - return CUnknown::NonDelegatingQueryInterface(riid, ppv); - } -} - - -HRESULT CSourceSeeking::IsFormatSupported(const GUID * pFormat) -{ - CheckPointer(pFormat, E_POINTER); - // only seeking in time (REFERENCE_TIME units) is supported - return *pFormat == TIME_FORMAT_MEDIA_TIME ? S_OK : S_FALSE; -} - -HRESULT CSourceSeeking::QueryPreferredFormat(__out GUID *pFormat) -{ - CheckPointer(pFormat, E_POINTER); - *pFormat = TIME_FORMAT_MEDIA_TIME; - return S_OK; -} - -HRESULT CSourceSeeking::SetTimeFormat(const GUID * pFormat) -{ - CheckPointer(pFormat, E_POINTER); - - // nothing to set; just check that it's TIME_FORMAT_TIME - return *pFormat == TIME_FORMAT_MEDIA_TIME ? S_OK : E_INVALIDARG; -} - -HRESULT CSourceSeeking::IsUsingTimeFormat(const GUID * pFormat) -{ - CheckPointer(pFormat, E_POINTER); - return *pFormat == TIME_FORMAT_MEDIA_TIME ? S_OK : S_FALSE; -} - -HRESULT CSourceSeeking::GetTimeFormat(__out GUID *pFormat) -{ - CheckPointer(pFormat, E_POINTER); - *pFormat = TIME_FORMAT_MEDIA_TIME; - return S_OK; -} - -HRESULT CSourceSeeking::GetDuration(__out LONGLONG *pDuration) -{ - CheckPointer(pDuration, E_POINTER); - CAutoLock lock(m_pLock); - *pDuration = m_rtDuration; - return S_OK; -} - -HRESULT CSourceSeeking::GetStopPosition(__out LONGLONG *pStop) -{ - CheckPointer(pStop, E_POINTER); - CAutoLock lock(m_pLock); - *pStop = m_rtStop; - return S_OK; -} - -HRESULT CSourceSeeking::GetCurrentPosition(__out LONGLONG *pCurrent) -{ - // GetCurrentPosition is typically supported only in renderers and - // not in source filters. - return E_NOTIMPL; -} - -HRESULT CSourceSeeking::GetCapabilities( __out DWORD * pCapabilities ) -{ - CheckPointer(pCapabilities, E_POINTER); - *pCapabilities = m_dwSeekingCaps; - return S_OK; -} - -HRESULT CSourceSeeking::CheckCapabilities( __inout DWORD * pCapabilities ) -{ - CheckPointer(pCapabilities, E_POINTER); - - // make sure all requested capabilities are in our mask - return (~m_dwSeekingCaps & *pCapabilities) ? S_FALSE : S_OK; -} - -HRESULT CSourceSeeking::ConvertTimeFormat( __out LONGLONG * pTarget, - __in_opt const GUID * pTargetFormat, - LONGLONG Source, - __in_opt const GUID * pSourceFormat ) -{ - CheckPointer(pTarget, E_POINTER); - // format guids can be null to indicate current format - - // since we only support TIME_FORMAT_MEDIA_TIME, we don't really - // offer any conversions. - if(pTargetFormat == 0 || *pTargetFormat == TIME_FORMAT_MEDIA_TIME) - { - if(pSourceFormat == 0 || *pSourceFormat == TIME_FORMAT_MEDIA_TIME) - { - *pTarget = Source; - return S_OK; - } - } - - return E_INVALIDARG; -} - - -HRESULT CSourceSeeking::SetPositions( __inout_opt LONGLONG * pCurrent, - DWORD CurrentFlags, - __inout_opt LONGLONG * pStop, - DWORD StopFlags ) -{ - DWORD StopPosBits = StopFlags & AM_SEEKING_PositioningBitsMask; - DWORD StartPosBits = CurrentFlags & AM_SEEKING_PositioningBitsMask; - - if(StopFlags) { - CheckPointer(pStop, E_POINTER); - - // accept only relative, incremental, or absolute positioning - if(StopPosBits != StopFlags) { - return E_INVALIDARG; - } - } - - if(CurrentFlags) { - CheckPointer(pCurrent, E_POINTER); - if(StartPosBits != AM_SEEKING_AbsolutePositioning && - StartPosBits != AM_SEEKING_RelativePositioning) { - return E_INVALIDARG; - } - } - - - // scope for autolock - { - CAutoLock lock(m_pLock); - - // set start position - if(StartPosBits == AM_SEEKING_AbsolutePositioning) - { - m_rtStart = *pCurrent; - } - else if(StartPosBits == AM_SEEKING_RelativePositioning) - { - m_rtStart += *pCurrent; - } - - // set stop position - if(StopPosBits == AM_SEEKING_AbsolutePositioning) - { - m_rtStop = *pStop; - } - else if(StopPosBits == AM_SEEKING_IncrementalPositioning) - { - m_rtStop = m_rtStart + *pStop; - } - else if(StopPosBits == AM_SEEKING_RelativePositioning) - { - m_rtStop = m_rtStop + *pStop; - } - } - - - HRESULT hr = S_OK; - if(SUCCEEDED(hr) && StopPosBits) { - hr = ChangeStop(); - } - if(StartPosBits) { - hr = ChangeStart(); - } - - return hr; -} - - -HRESULT CSourceSeeking::GetPositions( __out_opt LONGLONG * pCurrent, __out_opt LONGLONG * pStop ) -{ - if(pCurrent) { - *pCurrent = m_rtStart; - } - if(pStop) { - *pStop = m_rtStop; - } - - return S_OK;; -} - - -HRESULT CSourceSeeking::GetAvailable( __out_opt LONGLONG * pEarliest, __out_opt LONGLONG * pLatest ) -{ - if(pEarliest) { - *pEarliest = 0; - } - if(pLatest) { - CAutoLock lock(m_pLock); - *pLatest = m_rtDuration; - } - return S_OK; -} - -HRESULT CSourceSeeking::SetRate( double dRate) -{ - { - CAutoLock lock(m_pLock); - m_dRateSeeking = dRate; - } - return ChangeRate(); -} - -HRESULT CSourceSeeking::GetRate( __out double * pdRate) -{ - CheckPointer(pdRate, E_POINTER); - CAutoLock lock(m_pLock); - *pdRate = m_dRateSeeking; - return S_OK; -} - -HRESULT CSourceSeeking::GetPreroll(__out LONGLONG *pPreroll) -{ - CheckPointer(pPreroll, E_POINTER); - *pPreroll = 0; - return S_OK; -} - - - - - -// --- CSourcePosition implementation ---------- - - -CSourcePosition::CSourcePosition(__in_opt LPCTSTR pName, - __in_opt LPUNKNOWN pUnk, - __inout HRESULT* phr, - __in CCritSec * pLock) : - CMediaPosition(pName, pUnk), - m_pLock(pLock), - m_Start(CRefTime((LONGLONG)0)) -{ - m_Stop = _I64_MAX; - m_Rate = 1.0; -} - - -STDMETHODIMP -CSourcePosition::get_Duration(__out REFTIME * plength) -{ - CheckPointer(plength,E_POINTER); - ValidateReadWritePtr(plength,sizeof(REFTIME)); - CAutoLock lock(m_pLock); - - *plength = m_Duration; - return S_OK; -} - - -STDMETHODIMP -CSourcePosition::put_CurrentPosition(REFTIME llTime) -{ - m_pLock->Lock(); - m_Start = llTime; - m_pLock->Unlock(); - - return ChangeStart(); -} - - -STDMETHODIMP -CSourcePosition::get_StopTime(__out REFTIME * pllTime) -{ - CheckPointer(pllTime,E_POINTER); - ValidateReadWritePtr(pllTime,sizeof(REFTIME)); - CAutoLock lock(m_pLock); - - *pllTime = m_Stop; - return S_OK; -} - - -STDMETHODIMP -CSourcePosition::put_StopTime(REFTIME llTime) -{ - m_pLock->Lock(); - m_Stop = llTime; - m_pLock->Unlock(); - - return ChangeStop(); -} - - -STDMETHODIMP -CSourcePosition::get_PrerollTime(__out REFTIME * pllTime) -{ - CheckPointer(pllTime,E_POINTER); - ValidateReadWritePtr(pllTime,sizeof(REFTIME)); - return E_NOTIMPL; -} - - -STDMETHODIMP -CSourcePosition::put_PrerollTime(REFTIME llTime) -{ - return E_NOTIMPL; -} - - -STDMETHODIMP -CSourcePosition::get_Rate(__out double * pdRate) -{ - CheckPointer(pdRate,E_POINTER); - ValidateReadWritePtr(pdRate,sizeof(double)); - CAutoLock lock(m_pLock); - - *pdRate = m_Rate; - return S_OK; -} - - -STDMETHODIMP -CSourcePosition::put_Rate(double dRate) -{ - m_pLock->Lock(); - m_Rate = dRate; - m_pLock->Unlock(); - - return ChangeRate(); -} - - -// By default we can seek forwards - -STDMETHODIMP -CSourcePosition::CanSeekForward(__out LONG *pCanSeekForward) -{ - CheckPointer(pCanSeekForward,E_POINTER); - *pCanSeekForward = OATRUE; - return S_OK; -} - - -// By default we can seek backwards - -STDMETHODIMP -CSourcePosition::CanSeekBackward(__out LONG *pCanSeekBackward) -{ - CheckPointer(pCanSeekBackward,E_POINTER); - *pCanSeekBackward = OATRUE; - return S_OK; -} - - -// --- Implementation of CBasicAudio class ---------- - - -CBasicAudio::CBasicAudio(__in_opt LPCTSTR pName,__in_opt LPUNKNOWN punk) : - CUnknown(pName, punk) -{ -} - -// overriden to publicise our interfaces - -STDMETHODIMP -CBasicAudio::NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv) -{ - ValidateReadWritePtr(ppv,sizeof(PVOID)); - if (riid == IID_IBasicAudio) { - return GetInterface( (IBasicAudio *) this, ppv); - } else { - return CUnknown::NonDelegatingQueryInterface(riid, ppv); - } -} - - -STDMETHODIMP -CBasicAudio::GetTypeInfoCount(__out UINT * pctinfo) -{ - return m_basedisp.GetTypeInfoCount(pctinfo); -} - - -STDMETHODIMP -CBasicAudio::GetTypeInfo( - UINT itinfo, - LCID lcid, - __deref_out ITypeInfo ** pptinfo) -{ - return m_basedisp.GetTypeInfo( - IID_IBasicAudio, - itinfo, - lcid, - pptinfo); -} - - -STDMETHODIMP -CBasicAudio::GetIDsOfNames( - REFIID riid, - __in_ecount(cNames) LPOLESTR * rgszNames, - UINT cNames, - LCID lcid, - __out_ecount(cNames) DISPID * rgdispid) -{ - return m_basedisp.GetIDsOfNames( - IID_IBasicAudio, - rgszNames, - cNames, - lcid, - rgdispid); -} - - -STDMETHODIMP -CBasicAudio::Invoke( - DISPID dispidMember, - REFIID riid, - LCID lcid, - WORD wFlags, - __in DISPPARAMS * pdispparams, - __out_opt VARIANT * pvarResult, - __out_opt EXCEPINFO * pexcepinfo, - __out_opt UINT * puArgErr) -{ - // this parameter is a dead leftover from an earlier interface - if (IID_NULL != riid) { - return DISP_E_UNKNOWNINTERFACE; - } - - ITypeInfo * pti; - HRESULT hr = GetTypeInfo(0, lcid, &pti); - - if (FAILED(hr)) { - return hr; - } - - hr = pti->Invoke( - (IBasicAudio *)this, - dispidMember, - wFlags, - pdispparams, - pvarResult, - pexcepinfo, - puArgErr); - - pti->Release(); - return hr; -} - - -// --- IVideoWindow implementation ---------- - -CBaseVideoWindow::CBaseVideoWindow(__in_opt LPCTSTR pName,__in_opt LPUNKNOWN punk) : - CUnknown(pName, punk) -{ -} - - -// overriden to publicise our interfaces - -STDMETHODIMP -CBaseVideoWindow::NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv) -{ - ValidateReadWritePtr(ppv,sizeof(PVOID)); - if (riid == IID_IVideoWindow) { - return GetInterface( (IVideoWindow *) this, ppv); - } else { - return CUnknown::NonDelegatingQueryInterface(riid, ppv); - } -} - - -STDMETHODIMP -CBaseVideoWindow::GetTypeInfoCount(__out UINT * pctinfo) -{ - return m_basedisp.GetTypeInfoCount(pctinfo); -} - - -STDMETHODIMP -CBaseVideoWindow::GetTypeInfo( - UINT itinfo, - LCID lcid, - __deref_out ITypeInfo ** pptinfo) -{ - return m_basedisp.GetTypeInfo( - IID_IVideoWindow, - itinfo, - lcid, - pptinfo); -} - - -STDMETHODIMP -CBaseVideoWindow::GetIDsOfNames( - REFIID riid, - __in_ecount(cNames) LPOLESTR * rgszNames, - UINT cNames, - LCID lcid, - __out_ecount(cNames) DISPID * rgdispid) -{ - return m_basedisp.GetIDsOfNames( - IID_IVideoWindow, - rgszNames, - cNames, - lcid, - rgdispid); -} - - -STDMETHODIMP -CBaseVideoWindow::Invoke( - DISPID dispidMember, - REFIID riid, - LCID lcid, - WORD wFlags, - __in DISPPARAMS * pdispparams, - __out_opt VARIANT * pvarResult, - __out_opt EXCEPINFO * pexcepinfo, - __out_opt UINT * puArgErr) -{ - // this parameter is a dead leftover from an earlier interface - if (IID_NULL != riid) { - return DISP_E_UNKNOWNINTERFACE; - } - - ITypeInfo * pti; - HRESULT hr = GetTypeInfo(0, lcid, &pti); - - if (FAILED(hr)) { - return hr; - } - - hr = pti->Invoke( - (IVideoWindow *)this, - dispidMember, - wFlags, - pdispparams, - pvarResult, - pexcepinfo, - puArgErr); - - pti->Release(); - return hr; -} - - -// --- IBasicVideo implementation ---------- - - -CBaseBasicVideo::CBaseBasicVideo(__in_opt LPCTSTR pName,__in_opt LPUNKNOWN punk) : - CUnknown(pName, punk) -{ -} - - -// overriden to publicise our interfaces - -STDMETHODIMP -CBaseBasicVideo::NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv) -{ - ValidateReadWritePtr(ppv,sizeof(PVOID)); - if (riid == IID_IBasicVideo || riid == IID_IBasicVideo2) { - return GetInterface( static_cast(this), ppv); - } else { - return CUnknown::NonDelegatingQueryInterface(riid, ppv); - } -} - - -STDMETHODIMP -CBaseBasicVideo::GetTypeInfoCount(__out UINT * pctinfo) -{ - return m_basedisp.GetTypeInfoCount(pctinfo); -} - - -STDMETHODIMP -CBaseBasicVideo::GetTypeInfo( - UINT itinfo, - LCID lcid, - __deref_out ITypeInfo ** pptinfo) -{ - return m_basedisp.GetTypeInfo( - IID_IBasicVideo, - itinfo, - lcid, - pptinfo); -} - - -STDMETHODIMP -CBaseBasicVideo::GetIDsOfNames( - REFIID riid, - __in_ecount(cNames) LPOLESTR * rgszNames, - UINT cNames, - LCID lcid, - __out_ecount(cNames) DISPID * rgdispid) -{ - return m_basedisp.GetIDsOfNames( - IID_IBasicVideo, - rgszNames, - cNames, - lcid, - rgdispid); -} - - -STDMETHODIMP -CBaseBasicVideo::Invoke( - DISPID dispidMember, - REFIID riid, - LCID lcid, - WORD wFlags, - __in DISPPARAMS * pdispparams, - __out_opt VARIANT * pvarResult, - __out_opt EXCEPINFO * pexcepinfo, - __out_opt UINT * puArgErr) -{ - // this parameter is a dead leftover from an earlier interface - if (IID_NULL != riid) { - return DISP_E_UNKNOWNINTERFACE; - } - - ITypeInfo * pti; - HRESULT hr = GetTypeInfo(0, lcid, &pti); - - if (FAILED(hr)) { - return hr; - } - - hr = pti->Invoke( - (IBasicVideo *)this, - dispidMember, - wFlags, - pdispparams, - pvarResult, - pexcepinfo, - puArgErr); - - pti->Release(); - return hr; -} - - -// --- Implementation of Deferred Commands ---------- - - -CDispParams::CDispParams(UINT nArgs, __in_ecount(nArgs) VARIANT* pArgs, __inout_opt HRESULT *phr) -{ - cNamedArgs = 0; - rgdispidNamedArgs = NULL; - cArgs = nArgs; - - if (cArgs) { - rgvarg = new VARIANT[cArgs]; - if (NULL == rgvarg) { - cArgs = 0; - if (phr) { - *phr = E_OUTOFMEMORY; - } - return; - } - - for (UINT i = 0; i < cArgs; i++) { - - // Why aren't we using VariantCopy? - - VARIANT * pDest = &rgvarg[i]; - VARIANT * pSrc = &pArgs[i]; - - pDest->vt = pSrc->vt; - switch(pDest->vt) { - - case VT_I4: - pDest->lVal = pSrc->lVal; - break; - - case VT_UI1: - pDest->bVal = pSrc->bVal; - break; - - case VT_I2: - pDest->iVal = pSrc->iVal; - break; - - case VT_R4: - pDest->fltVal = pSrc->fltVal; - break; - - case VT_R8: - pDest->dblVal = pSrc->dblVal; - break; - - case VT_BOOL: - pDest->boolVal = pSrc->boolVal; - break; - - case VT_ERROR: - pDest->scode = pSrc->scode; - break; - - case VT_CY: - pDest->cyVal = pSrc->cyVal; - break; - - case VT_DATE: - pDest->date = pSrc->date; - break; - - case VT_BSTR: - if ((PVOID)pSrc->bstrVal == NULL) { - pDest->bstrVal = NULL; - } else { - - // a BSTR is a WORD followed by a UNICODE string. - // the pointer points just after the WORD - - WORD len = * (WORD*) (pSrc->bstrVal - (sizeof(WORD) / sizeof(OLECHAR))); - OLECHAR* pch = new OLECHAR[len + (sizeof(WORD)/sizeof(OLECHAR))]; - if (pch) { - WORD *pui = (WORD*)pch; - *pui = len; - pDest->bstrVal = pch + (sizeof(WORD)/sizeof(OLECHAR)); - CopyMemory(pDest->bstrVal, pSrc->bstrVal, len*sizeof(OLECHAR)); - } else { - cArgs = i; - if (phr) { - *phr = E_OUTOFMEMORY; - } - } - } - break; - - case VT_UNKNOWN: - pDest->punkVal = pSrc->punkVal; - pDest->punkVal->AddRef(); - break; - - case VT_DISPATCH: - pDest->pdispVal = pSrc->pdispVal; - pDest->pdispVal->AddRef(); - break; - - default: - // a type we haven't got round to adding yet! - ASSERT(0); - break; - } - } - - } else { - rgvarg = NULL; - } - -} - - -CDispParams::~CDispParams() -{ - for (UINT i = 0; i < cArgs; i++) { - switch(rgvarg[i].vt) { - case VT_BSTR: - // Explicitly cast BSTR to PVOID to tell code scanning tools we really mean to test the pointer - if ((PVOID)rgvarg[i].bstrVal != NULL) { - OLECHAR * pch = rgvarg[i].bstrVal - (sizeof(WORD)/sizeof(OLECHAR)); - delete pch; - } - break; - - case VT_UNKNOWN: - rgvarg[i].punkVal->Release(); - break; - - case VT_DISPATCH: - rgvarg[i].pdispVal->Release(); - break; - } - } - delete[] rgvarg; -} - - -// lifetime is controlled by refcounts (see defer.h) - -CDeferredCommand::CDeferredCommand( - __inout CCmdQueue * pQ, - __in_opt LPUNKNOWN pUnk, - __inout HRESULT * phr, - __in LPUNKNOWN pUnkExecutor, - REFTIME time, - __in GUID* iid, - long dispidMethod, - short wFlags, - long nArgs, - __in_ecount(nArgs) VARIANT* pDispParams, - __out VARIANT* pvarResult, - __out short* puArgErr, - BOOL bStream - ) : - CUnknown(NAME("DeferredCommand"), pUnk), - m_pQueue(pQ), - m_pUnk(pUnkExecutor), - m_iid(iid), - m_dispidMethod(dispidMethod), - m_wFlags(wFlags), - m_DispParams(nArgs, pDispParams, phr), - m_pvarResult(pvarResult), - m_bStream(bStream), - m_hrResult(E_ABORT) - -{ - // convert REFTIME to REFERENCE_TIME - COARefTime convertor(time); - m_time = convertor; - - // no check of time validity - it's ok to queue a command that's - // already late - - // check iid is supportable on pUnk by QueryInterface for it - IUnknown * pInterface; - HRESULT hr = m_pUnk->QueryInterface(GetIID(), (void**) &pInterface); - if (FAILED(hr)) { - *phr = hr; - return; - } - pInterface->Release(); - - - // !!! check dispidMethod and param/return types using typelib - ITypeInfo *pti; - hr = m_Dispatch.GetTypeInfo(*iid, 0, 0, &pti); - if (FAILED(hr)) { - *phr = hr; - return; - } - // !!! some sort of ITypeInfo validity check here - pti->Release(); - - - // Fix up the dispid for put and get - if (wFlags == DISPATCH_PROPERTYPUT) { - m_DispParams.cNamedArgs = 1; - m_DispId = DISPID_PROPERTYPUT; - m_DispParams.rgdispidNamedArgs = &m_DispId; - } - - // all checks ok - add to queue - hr = pQ->Insert(this); - if (FAILED(hr)) { - *phr = hr; - } -} - - -// refcounts are held by caller of InvokeAt... and by list. So if -// we get here, we can't be on the list - -#if 0 -CDeferredCommand::~CDeferredCommand() -{ - // this assert is invalid since if the queue is deleted while we are - // still on the queue, we will have been removed by the queue and this - // m_pQueue will not have been modified. - // ASSERT(m_pQueue == NULL); - - // we don't hold a ref count on pUnk, which is the object that should - // execute the command. - // This is because there would otherwise be a circular refcount problem - // since pUnk probably owns the CmdQueue object that has a refcount - // on us. - // The lifetime of pUnk is guaranteed by it being part of, or lifetime - // controlled by, our parent object. As long as we are on the list, pUnk - // must be valid. Once we are off the list, we do not use pUnk. - -} -#endif - - -// overriden to publicise our interfaces - -STDMETHODIMP -CDeferredCommand::NonDelegatingQueryInterface(REFIID riid, __out void **ppv) -{ - ValidateReadWritePtr(ppv,sizeof(PVOID)); - if (riid == IID_IDeferredCommand) { - return GetInterface( (IDeferredCommand *) this, ppv); - } else { - return CUnknown::NonDelegatingQueryInterface(riid, ppv); - } -} - - -// remove from q. this will reduce the refcount by one (since the q -// holds a count) but can't make us go away since he must have a -// refcount in order to call this method. - -STDMETHODIMP -CDeferredCommand::Cancel() -{ - if (m_pQueue == NULL) { - return VFW_E_ALREADY_CANCELLED; - } - - HRESULT hr = m_pQueue->Remove(this); - if (FAILED(hr)) { - return hr; - } - - m_pQueue = NULL; - return S_OK; -} - - -STDMETHODIMP -CDeferredCommand::Confidence(__out LONG* pConfidence) -{ - return E_NOTIMPL; -} - - -STDMETHODIMP -CDeferredCommand::GetHResult(__out HRESULT * phrResult) -{ - CheckPointer(phrResult,E_POINTER); - ValidateReadWritePtr(phrResult,sizeof(HRESULT)); - - if (m_pQueue != NULL) { - return E_ABORT; - } - *phrResult = m_hrResult; - return S_OK; -} - - -// set the time to be a new time (checking that it is valid) and -// then requeue - -STDMETHODIMP -CDeferredCommand::Postpone(REFTIME newtime) -{ - - // check that this time is not past - // convert REFTIME to REFERENCE_TIME - COARefTime convertor(newtime); - - // check that the time has not passed - if (m_pQueue->CheckTime(convertor, IsStreamTime())) { - return VFW_E_TIME_ALREADY_PASSED; - } - - // extract from list - HRESULT hr = m_pQueue->Remove(this); - if (FAILED(hr)) { - return hr; - } - - // change time - m_time = convertor; - - // requeue - hr = m_pQueue->Insert(this); - - return hr; -} - - -HRESULT -CDeferredCommand::Invoke() -{ - // check that we are still outstanding - if (m_pQueue == NULL) { - return VFW_E_ALREADY_CANCELLED; - } - - // get the type info - ITypeInfo* pti; - HRESULT hr = m_Dispatch.GetTypeInfo(GetIID(), 0, 0, &pti); - if (FAILED(hr)) { - return hr; - } - - // qi for the expected interface and then invoke it. Note that we have to - // treat the returned interface as IUnknown since we don't know its type. - IUnknown* pInterface; - - hr = m_pUnk->QueryInterface(GetIID(), (void**) &pInterface); - if (FAILED(hr)) { - pti->Release(); - return hr; - } - - EXCEPINFO expinfo; - UINT uArgErr; - m_hrResult = pti->Invoke( - pInterface, - GetMethod(), - GetFlags(), - GetParams(), - GetResult(), - &expinfo, - &uArgErr); - - // release the interface we QI'd for - pInterface->Release(); - pti->Release(); - - - // remove from list whether or not successful - // or we loop indefinitely - hr = m_pQueue->Remove(this); - m_pQueue = NULL; - return hr; -} - - - -// --- CCmdQueue methods ---------- - - -CCmdQueue::CCmdQueue(__inout_opt HRESULT *phr) : - m_listPresentation(NAME("Presentation time command list")), - m_listStream(NAME("Stream time command list")), - m_evDue(TRUE, phr), // manual reset - m_dwAdvise(0), - m_pClock(NULL), - m_bRunning(FALSE) -{ -} - - -CCmdQueue::~CCmdQueue() -{ - // empty all our lists - - // we hold a refcount on each, so traverse and Release each - // entry then RemoveAll to empty the list - POSITION pos = m_listPresentation.GetHeadPosition(); - - while(pos) { - CDeferredCommand* pCmd = m_listPresentation.GetNext(pos); - pCmd->Release(); - } - m_listPresentation.RemoveAll(); - - pos = m_listStream.GetHeadPosition(); - - while(pos) { - CDeferredCommand* pCmd = m_listStream.GetNext(pos); - pCmd->Release(); - } - m_listStream.RemoveAll(); - - if (m_pClock) { - if (m_dwAdvise) { - m_pClock->Unadvise(m_dwAdvise); - m_dwAdvise = 0; - } - m_pClock->Release(); - } -} - - -// returns a new CDeferredCommand object that will be initialised with -// the parameters and will be added to the queue during construction. -// returns S_OK if successfully created otherwise an error and -// no object has been queued. - -HRESULT -CCmdQueue::New( - __out CDeferredCommand **ppCmd, - __in LPUNKNOWN pUnk, // this object will execute command - REFTIME time, - __in GUID* iid, - long dispidMethod, - short wFlags, - long cArgs, - __in_ecount(cArgs) VARIANT* pDispParams, - __out VARIANT* pvarResult, - __out short* puArgErr, - BOOL bStream -) -{ - CAutoLock lock(&m_Lock); - - HRESULT hr = S_OK; - *ppCmd = NULL; - - CDeferredCommand* pCmd; - pCmd = new CDeferredCommand( - this, - NULL, // not aggregated - &hr, - pUnk, // this guy will execute - time, - iid, - dispidMethod, - wFlags, - cArgs, - pDispParams, - pvarResult, - puArgErr, - bStream); - - if (pCmd == NULL) { - hr = E_OUTOFMEMORY; - } else { - *ppCmd = pCmd; - } - return hr; -} - - -HRESULT -CCmdQueue::Insert(__in CDeferredCommand* pCmd) -{ - CAutoLock lock(&m_Lock); - - // addref the item - pCmd->AddRef(); - - CGenericList * pList; - if (pCmd->IsStreamTime()) { - pList = &m_listStream; - } else { - pList = &m_listPresentation; - } - POSITION pos = pList->GetHeadPosition(); - - // seek past all items that are before us - while (pos && - (pList->GetValid(pos)->GetTime() <= pCmd->GetTime())) { - - pList->GetNext(pos); - } - - // now at end of list or in front of items that come later - if (!pos) { - pList->AddTail(pCmd); - } else { - pList->AddBefore(pos, pCmd); - } - - SetTimeAdvise(); - return S_OK; -} - - -HRESULT -CCmdQueue::Remove(__in CDeferredCommand* pCmd) -{ - CAutoLock lock(&m_Lock); - HRESULT hr = S_OK; - - CGenericList * pList; - if (pCmd->IsStreamTime()) { - pList = &m_listStream; - } else { - pList = &m_listPresentation; - } - POSITION pos = pList->GetHeadPosition(); - - // traverse the list - while (pos && (pList->GetValid(pos) != pCmd)) { - pList->GetNext(pos); - } - - // did we drop off the end? - if (!pos) { - hr = VFW_E_NOT_FOUND; - } else { - - // found it - now take off list - pList->Remove(pos); - - // Insert did an AddRef, so release it - pCmd->Release(); - - // check that timer request is still for earliest time - SetTimeAdvise(); - } - return hr; -} - - -// set the clock used for timing - -HRESULT -CCmdQueue::SetSyncSource(__in_opt IReferenceClock* pClock) -{ - CAutoLock lock(&m_Lock); - - // addref the new clock first in case they are the same - if (pClock) { - pClock->AddRef(); - } - - // kill any advise on the old clock - if (m_pClock) { - if (m_dwAdvise) { - m_pClock->Unadvise(m_dwAdvise); - m_dwAdvise = 0; - } - m_pClock->Release(); - } - m_pClock = pClock; - - // set up a new advise - SetTimeAdvise(); - return S_OK; -} - - -// set up a timer event with the reference clock - -void -CCmdQueue::SetTimeAdvise(void) -{ - // make sure we have a clock to use - if (!m_pClock) { - return; - } - - // reset the event whenever we are requesting a new signal - m_evDue.Reset(); - - // time 0 is earliest - CRefTime current; - - // find the earliest presentation time - POSITION pos = m_listPresentation.GetHeadPosition(); - if (pos != NULL) { - current = m_listPresentation.GetValid(pos)->GetTime(); - } - - // if we're running, check the stream times too - if (m_bRunning) { - - CRefTime t; - pos = m_listStream.GetHeadPosition(); - if (NULL != pos) { - t = m_listStream.GetValid(pos)->GetTime(); - - // add on stream time offset to get presentation time - t += m_StreamTimeOffset; - - // is this earlier? - if ((current == TimeZero) || (t < current)) { - current = t; - } - } - } - - // need to change? - if ((current > TimeZero) && (current != m_tCurrentAdvise)) { - if (m_dwAdvise) { - m_pClock->Unadvise(m_dwAdvise); - // reset the event whenever we are requesting a new signal - m_evDue.Reset(); - } - - // ask for time advice - the first two params are either - // stream time offset and stream time or - // presentation time and 0. we always use the latter - HRESULT hr = m_pClock->AdviseTime( - (REFERENCE_TIME)current, - TimeZero, - (HEVENT) HANDLE(m_evDue), - &m_dwAdvise); - - ASSERT(SUCCEEDED(hr)); - m_tCurrentAdvise = current; - } -} - - -// switch to run mode. Streamtime to Presentation time mapping known. - -HRESULT -CCmdQueue::Run(REFERENCE_TIME tStreamTimeOffset) -{ - CAutoLock lock(&m_Lock); - - m_StreamTimeOffset = tStreamTimeOffset; - m_bRunning = TRUE; - - // ensure advise is accurate - SetTimeAdvise(); - return S_OK; -} - - -// switch to Stopped or Paused mode. Time mapping not known. - -HRESULT -CCmdQueue::EndRun() -{ - CAutoLock lock(&m_Lock); - - m_bRunning = FALSE; - - // check timer setting - stream times - SetTimeAdvise(); - return S_OK; -} - - -// return a pointer to the next due command. Blocks for msTimeout -// milliseconds until there is a due command. -// Stream-time commands will only become due between Run and Endrun calls. -// The command remains queued until invoked or cancelled. -// Returns E_ABORT if timeout occurs, otherwise S_OK (or other error). -// -// returns an AddRef'd object - -HRESULT -CCmdQueue::GetDueCommand(__out CDeferredCommand ** ppCmd, long msTimeout) -{ - // loop until we timeout or find a due command - for (;;) { - - { - CAutoLock lock(&m_Lock); - - - // find the earliest command - CDeferredCommand * pCmd = NULL; - - // check the presentation time and the - // stream time list to find the earliest - - POSITION pos = m_listPresentation.GetHeadPosition(); - - if (NULL != pos) { - pCmd = m_listPresentation.GetValid(pos); - } - - if (m_bRunning) { - pos = m_listStream.GetHeadPosition(); - if (NULL != pos) { - CDeferredCommand* pStrm = m_listStream.GetValid(pos); - - CRefTime t = pStrm->GetTime() + m_StreamTimeOffset; - if (!pCmd || (t < pCmd->GetTime())) { - pCmd = pStrm; - } - } - } - - // if we have found one, is it due? - if (pCmd) { - if (CheckTime(pCmd->GetTime(), pCmd->IsStreamTime())) { - - // yes it's due - addref it - pCmd->AddRef(); - *ppCmd = pCmd; - return S_OK; - } - } - } - - // block until the advise is signalled - if (WaitForSingleObject(m_evDue, msTimeout) != WAIT_OBJECT_0) { - return E_ABORT; - } - } -} - - -// return a pointer to a command that will be due for a given time. -// Pass in a stream time here. The stream time offset will be passed -// in via the Run method. -// Commands remain queued until invoked or cancelled. -// This method will not block. It will report E_ABORT if there are no -// commands due yet. -// -// returns an AddRef'd object - -HRESULT -CCmdQueue::GetCommandDueFor(REFERENCE_TIME rtStream, __out CDeferredCommand**ppCmd) -{ - CAutoLock lock(&m_Lock); - - CRefTime tStream(rtStream); - - // find the earliest stream and presentation time commands - CDeferredCommand* pStream = NULL; - POSITION pos = m_listStream.GetHeadPosition(); - if (NULL != pos) { - pStream = m_listStream.GetValid(pos); - } - CDeferredCommand* pPresent = NULL; - pos = m_listPresentation.GetHeadPosition(); - if (NULL != pos) { - pPresent = m_listPresentation.GetValid(pos); - } - - // is there a presentation time that has passed already - if (pPresent && CheckTime(pPresent->GetTime(), FALSE)) { - pPresent->AddRef(); - *ppCmd = pPresent; - return S_OK; - } - - // is there a stream time command due before this stream time - if (pStream && (pStream->GetTime() <= tStream)) { - pStream->AddRef(); - *ppCmd = pStream; - return S_OK; - } - - // if we are running, we can map presentation times to - // stream time. In this case, is there a presentation time command - // that will be due before this stream time is presented? - if (m_bRunning && pPresent) { - - // this stream time will appear at... - tStream += m_StreamTimeOffset; - - // due before that? - if (pPresent->GetTime() <= tStream) { - *ppCmd = pPresent; - return S_OK; - } - } - - // no commands due yet - return VFW_E_NOT_FOUND; -} - -#endif /* PJMEDIA_VIDEO_DEV_HAS_DSHOW */ diff --git a/res/pjproject/third_party/BaseClasses/ctlutil.h b/res/pjproject/third_party/BaseClasses/ctlutil.h deleted file mode 100644 index e3f7085d98..0000000000 --- a/res/pjproject/third_party/BaseClasses/ctlutil.h +++ /dev/null @@ -1,923 +0,0 @@ -//------------------------------------------------------------------------------ -// File: CtlUtil.h -// -// Desc: DirectShow base classes. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - - -// Base classes implementing IDispatch parsing for the basic control dual -// interfaces. Derive from these and implement just the custom method and -// property methods. We also implement CPosPassThru that can be used by -// renderers and transforms to pass by IMediaPosition and IMediaSeeking - -#ifndef __CTLUTIL__ -#define __CTLUTIL__ - -// OLE Automation has different ideas of TRUE and FALSE - -#define OATRUE (-1) -#define OAFALSE (0) - - -// It's possible that we could replace this class with CreateStdDispatch - -class CBaseDispatch -{ - ITypeInfo * m_pti; - -public: - - CBaseDispatch() : m_pti(NULL) {} - ~CBaseDispatch(); - - /* IDispatch methods */ - STDMETHODIMP GetTypeInfoCount(__out UINT * pctinfo); - - STDMETHODIMP GetTypeInfo( - REFIID riid, - UINT itinfo, - LCID lcid, - __deref_out ITypeInfo ** pptinfo); - - STDMETHODIMP GetIDsOfNames( - REFIID riid, - __in_ecount(cNames) LPOLESTR * rgszNames, - UINT cNames, - LCID lcid, - __out_ecount(cNames) DISPID * rgdispid); -}; - - -class AM_NOVTABLE CMediaControl : - public IMediaControl, - public CUnknown -{ - CBaseDispatch m_basedisp; - -public: - - CMediaControl(const TCHAR *, LPUNKNOWN); - - DECLARE_IUNKNOWN - - // override this to publicise our interfaces - STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv); - - /* IDispatch methods */ - STDMETHODIMP GetTypeInfoCount(__out UINT * pctinfo); - - STDMETHODIMP GetTypeInfo( - UINT itinfo, - LCID lcid, - __deref_out ITypeInfo ** pptinfo); - - STDMETHODIMP GetIDsOfNames( - REFIID riid, - __in_ecount(cNames) LPOLESTR * rgszNames, - UINT cNames, - LCID lcid, - __out_ecount(cNames) DISPID * rgdispid); - - STDMETHODIMP Invoke( - DISPID dispidMember, - REFIID riid, - LCID lcid, - WORD wFlags, - __in DISPPARAMS * pdispparams, - __out_opt VARIANT * pvarResult, - __out_opt EXCEPINFO * pexcepinfo, - __out_opt UINT * puArgErr); -}; - - -class AM_NOVTABLE CMediaEvent : - public IMediaEventEx, - public CUnknown -{ - CBaseDispatch m_basedisp; - -public: - - CMediaEvent(__in_opt LPCTSTR, __in_opt LPUNKNOWN); - - DECLARE_IUNKNOWN - - // override this to publicise our interfaces - STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv); - - /* IDispatch methods */ - STDMETHODIMP GetTypeInfoCount(__out UINT * pctinfo); - - STDMETHODIMP GetTypeInfo( - UINT itinfo, - LCID lcid, - __deref_out ITypeInfo ** pptinfo); - - STDMETHODIMP GetIDsOfNames( - REFIID riid, - __in_ecount(cNames) LPOLESTR * rgszNames, - UINT cNames, - LCID lcid, - __out_ecount(cNames) DISPID * rgdispid); - - STDMETHODIMP Invoke( - DISPID dispidMember, - REFIID riid, - LCID lcid, - WORD wFlags, - __in DISPPARAMS * pdispparams, - __out_opt VARIANT * pvarResult, - __out_opt EXCEPINFO * pexcepinfo, - __out_opt UINT * puArgErr); -}; - - -class AM_NOVTABLE CMediaPosition : - public IMediaPosition, - public CUnknown -{ - CBaseDispatch m_basedisp; - - -public: - - CMediaPosition(__in_opt LPCTSTR, __in_opt LPUNKNOWN); - CMediaPosition(__in_opt LPCTSTR, __in_opt LPUNKNOWN, __inout HRESULT *phr); - - DECLARE_IUNKNOWN - - // override this to publicise our interfaces - STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv); - - /* IDispatch methods */ - STDMETHODIMP GetTypeInfoCount(__out UINT * pctinfo); - - STDMETHODIMP GetTypeInfo( - UINT itinfo, - LCID lcid, - __deref_out ITypeInfo ** pptinfo); - - STDMETHODIMP GetIDsOfNames( - REFIID riid, - __in_ecount(cNames) LPOLESTR * rgszNames, - UINT cNames, - LCID lcid, - __out_ecount(cNames) DISPID * rgdispid); - - STDMETHODIMP Invoke( - DISPID dispidMember, - REFIID riid, - LCID lcid, - WORD wFlags, - __in DISPPARAMS * pdispparams, - __out_opt VARIANT * pvarResult, - __out_opt EXCEPINFO * pexcepinfo, - __out_opt UINT * puArgErr); - -}; - - -// OA-compatibility means that we must use double as the RefTime value, -// and REFERENCE_TIME (essentially a LONGLONG) within filters. -// this class converts between the two - -class COARefTime : public CRefTime { -public: - - COARefTime() { - }; - - COARefTime(CRefTime t) - : CRefTime(t) - { - }; - - COARefTime(REFERENCE_TIME t) - : CRefTime(t) - { - }; - - COARefTime(double d) { - m_time = (LONGLONG) (d * 10000000); - }; - - operator double() { - return double(m_time) / 10000000; - }; - - operator REFERENCE_TIME() { - return m_time; - }; - - COARefTime& operator=(const double& rd) { - m_time = (LONGLONG) (rd * 10000000); - return *this; - } - - COARefTime& operator=(const REFERENCE_TIME& rt) { - m_time = rt; - return *this; - } - - inline BOOL operator==(const COARefTime& rt) - { - return m_time == rt.m_time; - }; - - inline BOOL operator!=(const COARefTime& rt) - { - return m_time != rt.m_time; - }; - - inline BOOL operator < (const COARefTime& rt) - { - return m_time < rt.m_time; - }; - - inline BOOL operator > (const COARefTime& rt) - { - return m_time > rt.m_time; - }; - - inline BOOL operator >= (const COARefTime& rt) - { - return m_time >= rt.m_time; - }; - - inline BOOL operator <= (const COARefTime& rt) - { - return m_time <= rt.m_time; - }; - - inline COARefTime operator+(const COARefTime& rt) - { - return COARefTime(m_time + rt.m_time); - }; - - inline COARefTime operator-(const COARefTime& rt) - { - return COARefTime(m_time - rt.m_time); - }; - - inline COARefTime operator*(LONG l) - { - return COARefTime(m_time * l); - }; - - inline COARefTime operator/(LONG l) - { - return COARefTime(m_time / l); - }; - -private: - // Prevent bugs from constructing from LONG (which gets - // converted to double and then multiplied by 10000000 - COARefTime(LONG); - LONG operator=(LONG); -}; - - -// A utility class that handles IMediaPosition and IMediaSeeking on behalf -// of single-input pin renderers, or transform filters. -// -// Renderers will expose this from the filter; transform filters will -// expose it from the output pin and not the renderer. -// -// Create one of these, giving it your IPin* for your input pin, and delegate -// all IMediaPosition methods to it. It will query the input pin for -// IMediaPosition and respond appropriately. -// -// Call ForceRefresh if the pin connection changes. -// -// This class no longer caches the upstream IMediaPosition or IMediaSeeking -// it acquires it on each method call. This means ForceRefresh is not needed. -// The method is kept for source compatibility and to minimise the changes -// if we need to put it back later for performance reasons. - -class CPosPassThru : public IMediaSeeking, public CMediaPosition -{ - IPin *m_pPin; - - HRESULT GetPeer(__deref_out IMediaPosition **ppMP); - HRESULT GetPeerSeeking(__deref_out IMediaSeeking **ppMS); - -public: - - CPosPassThru(__in_opt LPCTSTR, __in_opt LPUNKNOWN, __inout HRESULT*, IPin *); - DECLARE_IUNKNOWN - - HRESULT ForceRefresh() { - return S_OK; - }; - - // override to return an accurate current position - virtual HRESULT GetMediaTime(__out LONGLONG *pStartTime, __out_opt LONGLONG *pEndTime) { - return E_FAIL; - } - - STDMETHODIMP NonDelegatingQueryInterface(REFIID riid,__deref_out void **ppv); - - // IMediaSeeking methods - STDMETHODIMP GetCapabilities( __out DWORD * pCapabilities ); - STDMETHODIMP CheckCapabilities( __inout DWORD * pCapabilities ); - STDMETHODIMP SetTimeFormat(const GUID * pFormat); - STDMETHODIMP GetTimeFormat(__out GUID *pFormat); - STDMETHODIMP IsUsingTimeFormat(const GUID * pFormat); - STDMETHODIMP IsFormatSupported( const GUID * pFormat); - STDMETHODIMP QueryPreferredFormat( __out GUID *pFormat); - STDMETHODIMP ConvertTimeFormat(__out LONGLONG * pTarget, - __in_opt const GUID * pTargetFormat, - LONGLONG Source, - __in_opt const GUID * pSourceFormat ); - STDMETHODIMP SetPositions( __inout_opt LONGLONG * pCurrent, DWORD CurrentFlags - , __inout_opt LONGLONG * pStop, DWORD StopFlags ); - - STDMETHODIMP GetPositions( __out_opt LONGLONG * pCurrent, __out_opt LONGLONG * pStop ); - STDMETHODIMP GetCurrentPosition( __out LONGLONG * pCurrent ); - STDMETHODIMP GetStopPosition( __out LONGLONG * pStop ); - STDMETHODIMP SetRate( double dRate); - STDMETHODIMP GetRate( __out double * pdRate); - STDMETHODIMP GetDuration( __out LONGLONG *pDuration); - STDMETHODIMP GetAvailable( __out_opt LONGLONG *pEarliest, __out_opt LONGLONG *pLatest ); - STDMETHODIMP GetPreroll( __out LONGLONG *pllPreroll ); - - // IMediaPosition properties - STDMETHODIMP get_Duration(__out REFTIME * plength); - STDMETHODIMP put_CurrentPosition(REFTIME llTime); - STDMETHODIMP get_StopTime(__out REFTIME * pllTime); - STDMETHODIMP put_StopTime(REFTIME llTime); - STDMETHODIMP get_PrerollTime(__out REFTIME * pllTime); - STDMETHODIMP put_PrerollTime(REFTIME llTime); - STDMETHODIMP get_Rate(__out double * pdRate); - STDMETHODIMP put_Rate(double dRate); - STDMETHODIMP get_CurrentPosition(__out REFTIME * pllTime); - STDMETHODIMP CanSeekForward(__out LONG *pCanSeekForward); - STDMETHODIMP CanSeekBackward(__out LONG *pCanSeekBackward); - -private: - HRESULT GetSeekingLongLong( HRESULT (__stdcall IMediaSeeking::*pMethod)( LONGLONG * ), - __out LONGLONG * pll ); -}; - - -// Adds the ability to return a current position - -class CRendererPosPassThru : public CPosPassThru -{ - CCritSec m_PositionLock; // Locks access to our position - LONGLONG m_StartMedia; // Start media time last seen - LONGLONG m_EndMedia; // And likewise the end media - BOOL m_bReset; // Have media times been set - -public: - - // Used to help with passing media times through graph - - CRendererPosPassThru(__in_opt LPCTSTR, __in_opt LPUNKNOWN, __inout HRESULT*, IPin *); - HRESULT RegisterMediaTime(IMediaSample *pMediaSample); - HRESULT RegisterMediaTime(LONGLONG StartTime,LONGLONG EndTime); - HRESULT GetMediaTime(__out LONGLONG *pStartTime,__out_opt LONGLONG *pEndTime); - HRESULT ResetMediaTime(); - HRESULT EOS(); -}; - -STDAPI CreatePosPassThru( - __in_opt LPUNKNOWN pAgg, - BOOL bRenderer, - IPin *pPin, - __deref_out IUnknown **ppPassThru -); - -// A class that handles the IDispatch part of IBasicAudio and leaves the -// properties and methods themselves pure virtual. - -class AM_NOVTABLE CBasicAudio : public IBasicAudio, public CUnknown -{ - CBaseDispatch m_basedisp; - -public: - - CBasicAudio(__in_opt LPCTSTR, __in_opt LPUNKNOWN); - - DECLARE_IUNKNOWN - - // override this to publicise our interfaces - STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv); - - /* IDispatch methods */ - STDMETHODIMP GetTypeInfoCount(__out UINT * pctinfo); - - STDMETHODIMP GetTypeInfo( - UINT itinfo, - LCID lcid, - __deref_out ITypeInfo ** pptinfo); - - STDMETHODIMP GetIDsOfNames( - REFIID riid, - __in_ecount(cNames) LPOLESTR * rgszNames, - UINT cNames, - LCID lcid, - __out_ecount(cNames) DISPID * rgdispid); - - STDMETHODIMP Invoke( - DISPID dispidMember, - REFIID riid, - LCID lcid, - WORD wFlags, - __in DISPPARAMS * pdispparams, - __out_opt VARIANT * pvarResult, - __out_opt EXCEPINFO * pexcepinfo, - __out_opt UINT * puArgErr); -}; - - -// A class that handles the IDispatch part of IBasicVideo and leaves the -// properties and methods themselves pure virtual. - -class AM_NOVTABLE CBaseBasicVideo : public IBasicVideo2, public CUnknown -{ - CBaseDispatch m_basedisp; - -public: - - CBaseBasicVideo(__in_opt LPCTSTR, __in_opt LPUNKNOWN); - - DECLARE_IUNKNOWN - - // override this to publicise our interfaces - STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv); - - /* IDispatch methods */ - STDMETHODIMP GetTypeInfoCount(__out UINT * pctinfo); - - STDMETHODIMP GetTypeInfo( - UINT itinfo, - LCID lcid, - __deref_out ITypeInfo ** pptinfo); - - STDMETHODIMP GetIDsOfNames( - REFIID riid, - __in_ecount(cNames) LPOLESTR * rgszNames, - UINT cNames, - LCID lcid, - __out_ecount(cNames) DISPID * rgdispid); - - STDMETHODIMP Invoke( - DISPID dispidMember, - REFIID riid, - LCID lcid, - WORD wFlags, - __in DISPPARAMS * pdispparams, - __out_opt VARIANT * pvarResult, - __out_opt EXCEPINFO * pexcepinfo, - __out_opt UINT * puArgErr); - - STDMETHODIMP GetPreferredAspectRatio( - __out long *plAspectX, - __out long *plAspectY) - { - return E_NOTIMPL; - } -}; - - -// A class that handles the IDispatch part of IVideoWindow and leaves the -// properties and methods themselves pure virtual. - -class AM_NOVTABLE CBaseVideoWindow : public IVideoWindow, public CUnknown -{ - CBaseDispatch m_basedisp; - -public: - - CBaseVideoWindow(__in_opt LPCTSTR, __in_opt LPUNKNOWN); - - DECLARE_IUNKNOWN - - // override this to publicise our interfaces - STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv); - - /* IDispatch methods */ - STDMETHODIMP GetTypeInfoCount(__out UINT * pctinfo); - - STDMETHODIMP GetTypeInfo( - UINT itinfo, - LCID lcid, - __deref_out ITypeInfo ** pptinfo); - - STDMETHODIMP GetIDsOfNames( - REFIID riid, - __in_ecount(cNames) LPOLESTR * rgszNames, - UINT cNames, - LCID lcid, - __out_ecount(cNames) DISPID * rgdispid); - - STDMETHODIMP Invoke( - DISPID dispidMember, - REFIID riid, - LCID lcid, - WORD wFlags, - __in DISPPARAMS * pdispparams, - __out_opt VARIANT * pvarResult, - __out_opt EXCEPINFO * pexcepinfo, - __out_opt UINT * puArgErr); -}; - - -// abstract class to help source filters with their implementation -// of IMediaPosition. Derive from this and set the duration (and stop -// position). Also override NotifyChange to do something when the properties -// change. - -class AM_NOVTABLE CSourcePosition : public CMediaPosition -{ - -public: - CSourcePosition(__in_opt LPCTSTR, __in_opt LPUNKNOWN, __inout HRESULT*, __in CCritSec *); - - // IMediaPosition methods - STDMETHODIMP get_Duration(__out REFTIME * plength); - STDMETHODIMP put_CurrentPosition(REFTIME llTime); - STDMETHODIMP get_StopTime(__out REFTIME * pllTime); - STDMETHODIMP put_StopTime(REFTIME llTime); - STDMETHODIMP get_PrerollTime(__out REFTIME * pllTime); - STDMETHODIMP put_PrerollTime(REFTIME llTime); - STDMETHODIMP get_Rate(__out double * pdRate); - STDMETHODIMP put_Rate(double dRate); - STDMETHODIMP CanSeekForward(__out LONG *pCanSeekForward); - STDMETHODIMP CanSeekBackward(__out LONG *pCanSeekBackward); - - // override if you can return the data you are actually working on - STDMETHODIMP get_CurrentPosition(__out REFTIME * pllTime) { - return E_NOTIMPL; - }; - -protected: - - // we call this to notify changes. Override to handle them - virtual HRESULT ChangeStart() PURE; - virtual HRESULT ChangeStop() PURE; - virtual HRESULT ChangeRate() PURE; - - COARefTime m_Duration; - COARefTime m_Start; - COARefTime m_Stop; - double m_Rate; - - CCritSec * m_pLock; -}; - -class AM_NOVTABLE CSourceSeeking : - public IMediaSeeking, - public CUnknown -{ - -public: - - DECLARE_IUNKNOWN; - STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv); - - // IMediaSeeking methods - - STDMETHODIMP IsFormatSupported(const GUID * pFormat); - STDMETHODIMP QueryPreferredFormat(__out GUID *pFormat); - STDMETHODIMP SetTimeFormat(const GUID * pFormat); - STDMETHODIMP IsUsingTimeFormat(const GUID * pFormat); - STDMETHODIMP GetTimeFormat(__out GUID *pFormat); - STDMETHODIMP GetDuration(__out LONGLONG *pDuration); - STDMETHODIMP GetStopPosition(__out LONGLONG *pStop); - STDMETHODIMP GetCurrentPosition(__out LONGLONG *pCurrent); - STDMETHODIMP GetCapabilities( __out DWORD * pCapabilities ); - STDMETHODIMP CheckCapabilities( __inout DWORD * pCapabilities ); - STDMETHODIMP ConvertTimeFormat( __out LONGLONG * pTarget, - __in_opt const GUID * pTargetFormat, - LONGLONG Source, - __in_opt const GUID * pSourceFormat ); - - STDMETHODIMP SetPositions( __inout_opt LONGLONG * pCurrent, DWORD CurrentFlags - , __inout_opt LONGLONG * pStop, DWORD StopFlags ); - - STDMETHODIMP GetPositions( __out_opt LONGLONG * pCurrent, __out_opt LONGLONG * pStop ); - - STDMETHODIMP GetAvailable( __out_opt LONGLONG * pEarliest, __out_opt LONGLONG * pLatest ); - STDMETHODIMP SetRate( double dRate); - STDMETHODIMP GetRate( __out double * pdRate); - STDMETHODIMP GetPreroll(__out LONGLONG *pPreroll); - - -protected: - - // ctor - CSourceSeeking(__in_opt LPCTSTR, __in_opt LPUNKNOWN, __inout HRESULT*, __in CCritSec *); - - // we call this to notify changes. Override to handle them - virtual HRESULT ChangeStart() PURE; - virtual HRESULT ChangeStop() PURE; - virtual HRESULT ChangeRate() PURE; - - CRefTime m_rtDuration; // length of stream - CRefTime m_rtStart; // source will start here - CRefTime m_rtStop; // source will stop here - double m_dRateSeeking; - - // seeking capabilities - DWORD m_dwSeekingCaps; - - CCritSec * m_pLock; -}; - - -// Base classes supporting Deferred commands. - -// Deferred commands are queued by calls to methods on the IQueueCommand -// interface, exposed by the filtergraph and by some filters. A successful -// call to one of these methods will return an IDeferredCommand interface -// representing the queued command. -// -// A CDeferredCommand object represents a single deferred command, and exposes -// the IDeferredCommand interface as well as other methods permitting time -// checks and actual execution. It contains a reference to the CCommandQueue -// object on which it is queued. -// -// CCommandQueue is a base class providing a queue of CDeferredCommand -// objects, and methods to add, remove, check status and invoke the queued -// commands. A CCommandQueue object would be part of an object that -// implemented IQueueCommand. - -class CCmdQueue; - -// take a copy of the params and store them. Release any allocated -// memory in destructor - -class CDispParams : public DISPPARAMS -{ -public: - CDispParams(UINT nArgs, __in_ecount(nArgs) VARIANT* pArgs, __inout_opt HRESULT *phr = NULL); - ~CDispParams(); -}; - - -// CDeferredCommand lifetime is controlled by refcounts. Caller of -// InvokeAt.. gets a refcounted interface pointer, and the CCmdQueue -// object also holds a refcount on us. Calling Cancel or Invoke takes -// us off the CCmdQueue and thus reduces the refcount by 1. Once taken -// off the queue we cannot be put back on the queue. - -class CDeferredCommand - : public CUnknown, - public IDeferredCommand -{ -public: - - CDeferredCommand( - __inout CCmdQueue * pQ, - __in_opt LPUNKNOWN pUnk, // aggregation outer unk - __inout HRESULT * phr, - __in LPUNKNOWN pUnkExecutor, // object that will execute this cmd - REFTIME time, - __in GUID* iid, - long dispidMethod, - short wFlags, - long cArgs, - __in_ecount(cArgs) VARIANT* pDispParams, - __out VARIANT* pvarResult, - __out short* puArgErr, - BOOL bStream - ); - - DECLARE_IUNKNOWN - - // override this to publicise our interfaces - STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __out void **ppv); - - // IDeferredCommand methods - STDMETHODIMP Cancel(); - STDMETHODIMP Confidence( - __out LONG* pConfidence); - STDMETHODIMP Postpone( - REFTIME newtime); - STDMETHODIMP GetHResult( - __out HRESULT* phrResult); - - // other public methods - - HRESULT Invoke(); - - // access methods - - // returns TRUE if streamtime, FALSE if presentation time - BOOL IsStreamTime() { - return m_bStream; - }; - - CRefTime GetTime() { - return m_time; - }; - - REFIID GetIID() { - return *m_iid; - }; - - long GetMethod() { - return m_dispidMethod; - }; - - short GetFlags() { - return m_wFlags; - }; - - DISPPARAMS* GetParams() { - return &m_DispParams; - }; - - VARIANT* GetResult() { - return m_pvarResult; - }; - -protected: - - CCmdQueue* m_pQueue; - - // pUnk for the interface that we will execute the command on - LPUNKNOWN m_pUnk; - - // stored command data - REFERENCE_TIME m_time; - GUID* m_iid; - long m_dispidMethod; - short m_wFlags; - VARIANT* m_pvarResult; - BOOL m_bStream; - CDispParams m_DispParams; - DISPID m_DispId; // For get and put - - // we use this for ITypeInfo access - CBaseDispatch m_Dispatch; - - // save retval here - HRESULT m_hrResult; -}; - - -// a list of CDeferredCommand objects. this is a base class providing -// the basics of access to the list. If you want to use CDeferredCommand -// objects then your queue needs to be derived from this class. - -class AM_NOVTABLE CCmdQueue -{ -public: - CCmdQueue(__inout_opt HRESULT *phr = NULL); - virtual ~CCmdQueue(); - - // returns a new CDeferredCommand object that will be initialised with - // the parameters and will be added to the queue during construction. - // returns S_OK if successfully created otherwise an error and - // no object has been queued. - virtual HRESULT New( - __out CDeferredCommand **ppCmd, - __in LPUNKNOWN pUnk, - REFTIME time, - __in GUID* iid, - long dispidMethod, - short wFlags, - long cArgs, - __in_ecount(cArgs) VARIANT* pDispParams, - __out VARIANT* pvarResult, - __out short* puArgErr, - BOOL bStream - ); - - // called by the CDeferredCommand object to add and remove itself - // from the queue - virtual HRESULT Insert(__in CDeferredCommand* pCmd); - virtual HRESULT Remove(__in CDeferredCommand* pCmd); - - // Command-Due Checking - // - // There are two schemes of synchronisation: coarse and accurate. In - // coarse mode, you wait till the time arrives and then execute the cmd. - // In accurate mode, you wait until you are processing the sample that - // will appear at the time, and then execute the command. It's up to the - // filter which one it will implement. The filtergraph will always - // implement coarse mode for commands queued at the filtergraph. - // - // If you want coarse sync, you probably want to wait until there is a - // command due, and then execute it. You can do this by calling - // GetDueCommand. If you have several things to wait for, get the - // event handle from GetDueHandle() and when this is signalled then call - // GetDueCommand. Stream time will only advance between calls to Run and - // EndRun. Note that to avoid an extra thread there is no guarantee that - // if the handle is set there will be a command ready. Each time the - // event is signalled, call GetDueCommand (probably with a 0 timeout); - // This may return E_ABORT. - // - // If you want accurate sync, you must call GetCommandDueFor, passing - // as a parameter the stream time of the samples you are about to process. - // This will return: - // -- a stream-time command due at or before that stream time - // -- a presentation-time command due at or before the - // time that stream time will be presented (only between Run - // and EndRun calls, since outside of this, the mapping from - // stream time to presentation time is not known. - // -- any presentation-time command due now. - // This means that if you want accurate synchronisation on samples that - // might be processed during Paused mode, you need to use - // stream-time commands. - // - // In all cases, commands remain queued until Invoked or Cancelled. The - // setting and resetting of the event handle is managed entirely by this - // queue object. - - // set the clock used for timing - virtual HRESULT SetSyncSource(__in_opt IReferenceClock*); - - // switch to run mode. Streamtime to Presentation time mapping known. - virtual HRESULT Run(REFERENCE_TIME tStreamTimeOffset); - - // switch to Stopped or Paused mode. Time mapping not known. - virtual HRESULT EndRun(); - - // return a pointer to the next due command. Blocks for msTimeout - // milliseconds until there is a due command. - // Stream-time commands will only become due between Run and Endrun calls. - // The command remains queued until invoked or cancelled. - // Returns E_ABORT if timeout occurs, otherwise S_OK (or other error). - // Returns an AddRef-ed object - virtual HRESULT GetDueCommand(__out CDeferredCommand ** ppCmd, long msTimeout); - - // return the event handle that will be signalled whenever - // there are deferred commands due for execution (when GetDueCommand - // will not block). - HANDLE GetDueHandle() { - return HANDLE(m_evDue); - }; - - // return a pointer to a command that will be due for a given time. - // Pass in a stream time here. The stream time offset will be passed - // in via the Run method. - // Commands remain queued until invoked or cancelled. - // This method will not block. It will report VFW_E_NOT_FOUND if there - // are no commands due yet. - // Returns an AddRef-ed object - virtual HRESULT GetCommandDueFor(REFERENCE_TIME tStream, __out CDeferredCommand**ppCmd); - - // check if a given time is due (TRUE if it is due yet) - BOOL CheckTime(CRefTime time, BOOL bStream) { - - // if no clock, nothing is due! - if (!m_pClock) { - return FALSE; - } - - // stream time - if (bStream) { - - // not valid if not running - if (!m_bRunning) { - return FALSE; - } - // add on known stream time offset to get presentation time - time += m_StreamTimeOffset; - } - - CRefTime Now; - m_pClock->GetTime((REFERENCE_TIME*)&Now); - return (time <= Now); - }; - -protected: - - // protect access to lists etc - CCritSec m_Lock; - - // commands queued in presentation time are stored here - CGenericList m_listPresentation; - - // commands queued in stream time are stored here - CGenericList m_listStream; - - // set when any commands are due - CAMEvent m_evDue; - - // creates an advise for the earliest time required, if any - void SetTimeAdvise(void); - - // advise id from reference clock (0 if no outstanding advise) - DWORD_PTR m_dwAdvise; - - // advise time is for this presentation time - CRefTime m_tCurrentAdvise; - - // the reference clock we are using (addrefed) - IReferenceClock* m_pClock; - - // true when running - BOOL m_bRunning; - - // contains stream time offset when m_bRunning is true - CRefTime m_StreamTimeOffset; -}; - -#endif // __CTLUTIL__ diff --git a/res/pjproject/third_party/BaseClasses/fourcc.h b/res/pjproject/third_party/BaseClasses/fourcc.h deleted file mode 100644 index f4f71e9621..0000000000 --- a/res/pjproject/third_party/BaseClasses/fourcc.h +++ /dev/null @@ -1,101 +0,0 @@ -//------------------------------------------------------------------------------ -// File: FourCC.h -// -// Desc: DirectShow base classes. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - - -// FOURCCMap -// -// provides a mapping between old-style multimedia format DWORDs -// and new-style GUIDs. -// -// A range of 4 billion GUIDs has been allocated to ensure that this -// mapping can be done straightforwardly one-to-one in both directions. -// -// January 95 - - -#ifndef __FOURCC__ -#define __FOURCC__ - - -// Multimedia format types are marked with DWORDs built from four 8-bit -// chars and known as FOURCCs. New multimedia AM_MEDIA_TYPE definitions include -// a subtype GUID. In order to simplify the mapping, GUIDs in the range: -// XXXXXXXX-0000-0010-8000-00AA00389B71 -// are reserved for FOURCCs. - -class FOURCCMap : public GUID -{ - -public: - FOURCCMap(); - FOURCCMap(DWORD Fourcc); - FOURCCMap(const GUID *); - - - DWORD GetFOURCC(void); - void SetFOURCC(DWORD fourcc); - void SetFOURCC(const GUID *); - -private: - void InitGUID(); -}; - -#define GUID_Data2 0 -#define GUID_Data3 0x10 -#define GUID_Data4_1 0xaa000080 -#define GUID_Data4_2 0x719b3800 - -inline void -FOURCCMap::InitGUID() { - Data2 = GUID_Data2; - Data3 = GUID_Data3; - ((DWORD *)Data4)[0] = GUID_Data4_1; - ((DWORD *)Data4)[1] = GUID_Data4_2; -} - -inline -FOURCCMap::FOURCCMap() { - InitGUID(); - SetFOURCC( DWORD(0)); -} - -inline -FOURCCMap::FOURCCMap(DWORD fourcc) -{ - InitGUID(); - SetFOURCC(fourcc); -} - -inline -FOURCCMap::FOURCCMap(const GUID * pGuid) -{ - InitGUID(); - SetFOURCC(pGuid); -} - -inline void -FOURCCMap::SetFOURCC(const GUID * pGuid) -{ - FOURCCMap * p = (FOURCCMap*) pGuid; - SetFOURCC(p->GetFOURCC()); -} - -inline void -FOURCCMap::SetFOURCC(DWORD fourcc) -{ - Data1 = fourcc; -} - -inline DWORD -FOURCCMap::GetFOURCC(void) -{ - return Data1; -} - -#endif /* __FOURCC__ */ - diff --git a/res/pjproject/third_party/BaseClasses/measure.h b/res/pjproject/third_party/BaseClasses/measure.h deleted file mode 100644 index 0babc86008..0000000000 --- a/res/pjproject/third_party/BaseClasses/measure.h +++ /dev/null @@ -1,222 +0,0 @@ -//------------------------------------------------------------------------------ -// File: Measure.h -// -// Desc: DirectShow base classes. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - - -/* - The idea is to pepper the source code with interesting measurements and - have the last few thousand of these recorded in a circular buffer that - can be post-processed to give interesting numbers. - - WHAT THE LOG LOOKS LIKE: - - Time (sec) Type Delta Incident_Name - 0.055,41 NOTE -. Incident Nine - Another note - 0.055,42 NOTE 0.000,01 Incident Nine - Another note - 0.055,44 NOTE 0.000,02 Incident Nine - Another note - 0.055,45 STOP -. Incident Eight - Also random - 0.055,47 START -. Incident Seven - Random - 0.055,49 NOTE 0.000,05 Incident Nine - Another note - ------- ---------------- - 0.125,60 STOP 0.000,03 Msr_Stop - 0.125,62 START -. Msr_Start - 0.125,63 START -. Incident Two - Start/Stop - 0.125,65 STOP 0.000,03 Msr_Start - 0.125,66 START -. Msr_Stop - 0.125,68 STOP 0.000,05 Incident Two - Start/Stop - 0.125,70 STOP 0.000,04 Msr_Stop - 0.125,72 START -. Msr_Start - 0.125,73 START -. Incident Two - Start/Stop - 0.125,75 STOP 0.000,03 Msr_Start - 0.125,77 START -. Msr_Stop - 0.125,78 STOP 0.000,05 Incident Two - Start/Stop - 0.125,80 STOP 0.000,03 Msr_Stop - 0.125,81 NOTE -. Incident Three - single Note - 0.125,83 START -. Incident Four - Start, no stop - 0.125,85 START -. Incident Five - Single Start/Stop - 0.125,87 STOP 0.000,02 Incident Five - Single Start/Stop - -Number Average StdDev Smallest Largest Incident_Name - 10 0.000,58 0.000,10 0.000,55 0.000,85 Incident One - Note - 50 0.000,05 0.000,00 0.000,05 0.000,05 Incident Two - Start/Stop - 1 -. -. -. -. Incident Three - single Note - 0 -. -. -. -. Incident Four - Start, no stop - 1 0.000,02 -. 0.000,02 0.000,02 Incident Five - Single Start/Stop - 0 -. -. -. -. Incident Six - zero occurrences - 100 0.000,25 0.000,12 0.000,02 0.000,62 Incident Seven - Random - 100 0.000,79 0.000,48 0.000,02 0.001,92 Incident Eight - Also random - 5895 0.000,01 0.000,01 0.000,01 0.000,56 Incident Nine - Another note - 10 0.000,03 0.000,00 0.000,03 0.000,04 Msr_Note - 50 0.000,03 0.000,00 0.000,03 0.000,04 Msr_Start - 50 0.000,04 0.000,03 0.000,03 0.000,31 Msr_Stop - - WHAT IT MEANS: - The log shows what happened and when. Each line shows the time at which - something happened (see WHAT YOU CODE below) what it was that happened - and (if approporate) the time since the corresponding previous event - (that's the delta column). - - The statistics show how many times each event occurred, what the average - delta time was, also the standard deviation, largest and smalles delta. - - WHAT YOU CODE: - - Before anything else executes: - register your ids - - int id1 = Msr_Register("Incident One - Note"); - int id2 = Msr_Register("Incident Two - Start/Stop"); - int id3 = Msr_Register("Incident Three - single Note"); - etc. - - At interesting moments: - - // To measure a repetitive event - e.g. end of bitblt to screen - Msr_Note(Id9); // e.g. "video frame hiting the screen NOW!" - - or - - // To measure an elapsed time e.g. time taken to decode an MPEG B-frame - Msr_Start(Id2); // e.g. "Starting to decode MPEG B-frame" - . . . - MsrStop(Id2); // "Finished MPEG decode" - - At the end: - - HANDLE hFile; - hFile = CreateFile("Perf.log", GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, 0, NULL); - Msr_Dump(hFile); // This writes the log out to the file - CloseHandle(hFile); - - or - - Msr_Dump(NULL); // This writes it to DbgLog((LOG_TRACE,0, ... )); - // but if you are writing it out to the debugger - // then the times are probably all garbage because - // the debugger can make things run awfully slow. - - A given id should be used either for start / stop or Note calls. If Notes - are mixed in with Starts and Stops their statistics will be gibberish. - - If you code the calls in upper case i.e. MSR_START(idMunge); then you get - macros which will turn into nothing unless PERF is defined. - - You can reset the statistical counts for a given id by calling Reset(Id). - They are reset by default at the start. - It logs Reset as a special incident, so you can see it in the log. - - The log is a circular buffer in storage (to try to minimise disk I/O). - It overwrites the oldest entries once full. The statistics include ALL - incidents since the last Reset, whether still visible in the log or not. -*/ - -#ifndef __MEASURE__ -#define __MEASURE__ - -#ifdef PERF -#define MSR_INIT() Msr_Init() -#define MSR_TERMINATE() Msr_Terminate() -#define MSR_REGISTER(a) Msr_Register(a) -#define MSR_RESET(a) Msr_Reset(a) -#define MSR_CONTROL(a) Msr_Control(a) -#define MSR_START(a) Msr_Start(a) -#define MSR_STOP(a) Msr_Stop(a) -#define MSR_NOTE(a) Msr_Note(a) -#define MSR_INTEGER(a,b) Msr_Integer(a,b) -#define MSR_DUMP(a) Msr_Dump(a) -#define MSR_DUMPSTATS(a) Msr_DumpStats(a) -#else -#define MSR_INIT() ((void)0) -#define MSR_TERMINATE() ((void)0) -#define MSR_REGISTER(a) 0 -#define MSR_RESET(a) ((void)0) -#define MSR_CONTROL(a) ((void)0) -#define MSR_START(a) ((void)0) -#define MSR_STOP(a) ((void)0) -#define MSR_NOTE(a) ((void)0) -#define MSR_INTEGER(a,b) ((void)0) -#define MSR_DUMP(a) ((void)0) -#define MSR_DUMPSTATS(a) ((void)0) -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -// This must be called first - (called by the DllEntry) - -void WINAPI Msr_Init(void); - - -// Call this last to clean up (or just let it fall off the end - who cares?) - -void WINAPI Msr_Terminate(void); - - -// Call this to get an Id for an "incident" that you can pass to Start, Stop or Note -// everything that's logged is called an "incident". - -int WINAPI Msr_Register(__in LPTSTR Incident); - - -// Reset the statistical counts for an incident - -void WINAPI Msr_Reset(int Id); - - -// Reset all the counts for all incidents -#define MSR_RESET_ALL 0 -#define MSR_PAUSE 1 -#define MSR_RUN 2 - -void WINAPI Msr_Control(int iAction); - - -// log the start of an operation - -void WINAPI Msr_Start(int Id); - - -// log the end of an operation - -void WINAPI Msr_Stop(int Id); - - -// log a one-off or repetitive operation - -void WINAPI Msr_Note(int Id); - - -// log an integer (on which we can see statistics later) -void WINAPI Msr_Integer(int Id, int n); - - -// print out all the vaialable log (it may have wrapped) and then the statistics. -// When the log wraps you lose log but the statistics are still complete. -// hFIle==NULL => use DbgLog -// otherwise hFile must have come from CreateFile or OpenFile. - -void WINAPI Msr_Dump(HANDLE hFile); - - -// just dump the statistics - never mind the log - -void WINAPI Msr_DumpStats(HANDLE hFile); - -// Type definitions in case you want to declare a pointer to the dump functions -// (makes it a trifle easier to do dynamic linking -// i.e. LoadModule, GetProcAddress and call that) - -// Typedefs so can declare MSR_DUMPPROC *MsrDumpStats; or whatever -typedef void WINAPI MSR_DUMPPROC(HANDLE hFile); -typedef void WINAPI MSR_CONTROLPROC(int iAction); - - -#ifdef __cplusplus -} -#endif - -#endif // __MEASURE__ diff --git a/res/pjproject/third_party/BaseClasses/msgthrd.h b/res/pjproject/third_party/BaseClasses/msgthrd.h deleted file mode 100644 index 208f03c82d..0000000000 --- a/res/pjproject/third_party/BaseClasses/msgthrd.h +++ /dev/null @@ -1,120 +0,0 @@ -//------------------------------------------------------------------------------ -// File: MsgThrd.h -// -// Desc: DirectShow base classes - provides support for a worker thread -// class to which one can asynchronously post messages. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - - -// Message class - really just a structure. -// -class CMsg { -public: - UINT uMsg; - DWORD dwFlags; - LPVOID lpParam; - CAMEvent *pEvent; - - CMsg(UINT u, DWORD dw, __inout_opt LPVOID lp, __in_opt CAMEvent *pEvnt) - : uMsg(u), dwFlags(dw), lpParam(lp), pEvent(pEvnt) {} - - CMsg() - : uMsg(0), dwFlags(0L), lpParam(NULL), pEvent(NULL) {} -}; - -// This is the actual thread class. It exports all the usual thread control -// functions. The created thread is different from a normal WIN32 thread in -// that it is prompted to perform particaular tasks by responding to messages -// posted to its message queue. -// -class AM_NOVTABLE CMsgThread { -private: - static DWORD WINAPI DefaultThreadProc(__inout LPVOID lpParam); - DWORD m_ThreadId; - HANDLE m_hThread; - -protected: - - // if you want to override GetThreadMsg to block on other things - // as well as this queue, you need access to this - CGenericList m_ThreadQueue; - CCritSec m_Lock; - HANDLE m_hSem; - LONG m_lWaiting; - -public: - CMsgThread() - : m_ThreadId(0), - m_hThread(NULL), - m_lWaiting(0), - m_hSem(NULL), - // make a list with a cache of 5 items - m_ThreadQueue(NAME("MsgThread list"), 5) - { - } - - ~CMsgThread(); - // override this if you want to block on other things as well - // as the message loop - void virtual GetThreadMsg(__out CMsg *msg); - - // override this if you want to do something on thread startup - virtual void OnThreadInit() { - }; - - BOOL CreateThread(); - - BOOL WaitForThreadExit(__out LPDWORD lpdwExitCode) { - if (m_hThread != NULL) { - WaitForSingleObject(m_hThread, INFINITE); - return GetExitCodeThread(m_hThread, lpdwExitCode); - } - return FALSE; - } - - DWORD ResumeThread() { - return ::ResumeThread(m_hThread); - } - - DWORD SuspendThread() { - return ::SuspendThread(m_hThread); - } - - int GetThreadPriority() { - return ::GetThreadPriority(m_hThread); - } - - BOOL SetThreadPriority(int nPriority) { - return ::SetThreadPriority(m_hThread, nPriority); - } - - HANDLE GetThreadHandle() { - return m_hThread; - } - - DWORD GetThreadId() { - return m_ThreadId; - } - - - void PutThreadMsg(UINT uMsg, DWORD dwMsgFlags, - __in_opt LPVOID lpMsgParam, __in_opt CAMEvent *pEvent = NULL) { - CAutoLock lck(&m_Lock); - CMsg* pMsg = new CMsg(uMsg, dwMsgFlags, lpMsgParam, pEvent); - m_ThreadQueue.AddTail(pMsg); - if (m_lWaiting != 0) { - ReleaseSemaphore(m_hSem, m_lWaiting, 0); - m_lWaiting = 0; - } - } - - // This is the function prototype of the function that the client - // supplies. It is always called on the created thread, never on - // the creator thread. - // - virtual LRESULT ThreadMessageProc( - UINT uMsg, DWORD dwFlags, __inout_opt LPVOID lpParam, __in_opt CAMEvent *pEvent) = 0; -}; - diff --git a/res/pjproject/third_party/BaseClasses/mtype.cpp b/res/pjproject/third_party/BaseClasses/mtype.cpp deleted file mode 100644 index 6ba563bef8..0000000000 --- a/res/pjproject/third_party/BaseClasses/mtype.cpp +++ /dev/null @@ -1,483 +0,0 @@ -//------------------------------------------------------------------------------ -// File: MType.cpp -// -// Desc: DirectShow base classes - implements a class that holds and -// manages media type information. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - -#include - -#if defined(PJMEDIA_VIDEO_DEV_HAS_DSHOW) && PJMEDIA_VIDEO_DEV_HAS_DSHOW != 0 - -// helper class that derived pin objects can use to compare media -// types etc. Has same data members as the struct AM_MEDIA_TYPE defined -// in the streams IDL file, but also has (non-virtual) functions - -#include -#include - -CMediaType::~CMediaType(){ - FreeMediaType(*this); -} - - -CMediaType::CMediaType() -{ - InitMediaType(); -} - - -CMediaType::CMediaType(const GUID * type) -{ - InitMediaType(); - majortype = *type; -} - - -// copy constructor does a deep copy of the format block - -CMediaType::CMediaType(const AM_MEDIA_TYPE& rt, __out_opt HRESULT* phr) -{ - HRESULT hr = CopyMediaType(this, &rt); - if (FAILED(hr) && (NULL != phr)) { - *phr = hr; - } -} - - -CMediaType::CMediaType(const CMediaType& rt, __out_opt HRESULT* phr) -{ - HRESULT hr = CopyMediaType(this, &rt); - if (FAILED(hr) && (NULL != phr)) { - *phr = hr; - } -} - - -// this class inherits publicly from AM_MEDIA_TYPE so the compiler could generate -// the following assignment operator itself, however it could introduce some -// memory conflicts and leaks in the process because the structure contains -// a dynamically allocated block (pbFormat) which it will not copy correctly - -CMediaType& -CMediaType::operator=(const AM_MEDIA_TYPE& rt) -{ - Set(rt); - return *this; -} - -CMediaType& -CMediaType::operator=(const CMediaType& rt) -{ - *this = (AM_MEDIA_TYPE &) rt; - return *this; -} - -BOOL -CMediaType::operator == (const CMediaType& rt) const -{ - // I don't believe we need to check sample size or - // temporal compression flags, since I think these must - // be represented in the type, subtype and format somehow. They - // are pulled out as separate flags so that people who don't understand - // the particular format representation can still see them, but - // they should duplicate information in the format block. - - return ((IsEqualGUID(majortype,rt.majortype) == TRUE) && - (IsEqualGUID(subtype,rt.subtype) == TRUE) && - (IsEqualGUID(formattype,rt.formattype) == TRUE) && - (cbFormat == rt.cbFormat) && - ( (cbFormat == 0) || - pbFormat != NULL && rt.pbFormat != NULL && - (memcmp(pbFormat, rt.pbFormat, cbFormat) == 0))); -} - - -BOOL -CMediaType::operator != (const CMediaType& rt) const -{ - /* Check to see if they are equal */ - - if (*this == rt) { - return FALSE; - } - return TRUE; -} - - -HRESULT -CMediaType::Set(const CMediaType& rt) -{ - return Set((AM_MEDIA_TYPE &) rt); -} - - -HRESULT -CMediaType::Set(const AM_MEDIA_TYPE& rt) -{ - if (&rt != this) { - FreeMediaType(*this); - HRESULT hr = CopyMediaType(this, &rt); - if (FAILED(hr)) { - return E_OUTOFMEMORY; - } - } - - return S_OK; -} - - -BOOL -CMediaType::IsValid() const -{ - return (!IsEqualGUID(majortype,GUID_NULL)); -} - - -void -CMediaType::SetType(const GUID* ptype) -{ - majortype = *ptype; -} - - -void -CMediaType::SetSubtype(const GUID* ptype) -{ - subtype = *ptype; -} - - -ULONG -CMediaType::GetSampleSize() const { - if (IsFixedSize()) { - return lSampleSize; - } else { - return 0; - } -} - - -void -CMediaType::SetSampleSize(ULONG sz) { - if (sz == 0) { - SetVariableSize(); - } else { - bFixedSizeSamples = TRUE; - lSampleSize = sz; - } -} - - -void -CMediaType::SetVariableSize() { - bFixedSizeSamples = FALSE; -} - - -void -CMediaType::SetTemporalCompression(BOOL bCompressed) { - bTemporalCompression = bCompressed; -} - -BOOL -CMediaType::SetFormat(__in_bcount(cb) BYTE * pformat, ULONG cb) -{ - if (NULL == AllocFormatBuffer(cb)) - return(FALSE); - - ASSERT(pbFormat); - memcpy(pbFormat, pformat, cb); - return(TRUE); -} - - -// set the type of the media type format block, this type defines what you -// will actually find in the format pointer. For example FORMAT_VideoInfo or -// FORMAT_WaveFormatEx. In the future this may be an interface pointer to a -// property set. Before sending out media types this should be filled in. - -void -CMediaType::SetFormatType(const GUID *pformattype) -{ - formattype = *pformattype; -} - - -// reset the format buffer - -void CMediaType::ResetFormatBuffer() -{ - if (cbFormat) { - CoTaskMemFree((PVOID)pbFormat); - } - cbFormat = 0; - pbFormat = NULL; -} - - -// allocate length bytes for the format and return a read/write pointer -// If we cannot allocate the new block of memory we return NULL leaving -// the original block of memory untouched (as does ReallocFormatBuffer) - -BYTE* -CMediaType::AllocFormatBuffer(ULONG length) -{ - ASSERT(length); - - // do the types have the same buffer size - - if (cbFormat == length) { - return pbFormat; - } - - // allocate the new format buffer - - BYTE *pNewFormat = (PBYTE)CoTaskMemAlloc(length); - if (pNewFormat == NULL) { - if (length <= cbFormat) return pbFormat; //reuse the old block anyway. - return NULL; - } - - // delete the old format - - if (cbFormat != 0) { - ASSERT(pbFormat); - CoTaskMemFree((PVOID)pbFormat); - } - - cbFormat = length; - pbFormat = pNewFormat; - return pbFormat; -} - - -// reallocate length bytes for the format and return a read/write pointer -// to it. We keep as much information as we can given the new buffer size -// if this fails the original format buffer is left untouched. The caller -// is responsible for ensuring the size of memory required is non zero - -BYTE* -CMediaType::ReallocFormatBuffer(ULONG length) -{ - ASSERT(length); - - // do the types have the same buffer size - - if (cbFormat == length) { - return pbFormat; - } - - // allocate the new format buffer - - BYTE *pNewFormat = (PBYTE)CoTaskMemAlloc(length); - if (pNewFormat == NULL) { - if (length <= cbFormat) return pbFormat; //reuse the old block anyway. - return NULL; - } - - // copy any previous format (or part of if new is smaller) - // delete the old format and replace with the new one - - if (cbFormat != 0) { - ASSERT(pbFormat); - memcpy(pNewFormat,pbFormat,min(length,cbFormat)); - CoTaskMemFree((PVOID)pbFormat); - } - - cbFormat = length; - pbFormat = pNewFormat; - return pNewFormat; -} - -// initialise a media type structure - -void CMediaType::InitMediaType() -{ - ZeroMemory((PVOID)this, sizeof(*this)); - lSampleSize = 1; - bFixedSizeSamples = TRUE; -} - - -// a partially specified media type can be passed to IPin::Connect -// as a constraint on the media type used in the connection. -// the type, subtype or format type can be null. -BOOL -CMediaType::IsPartiallySpecified(void) const -{ - if ((majortype == GUID_NULL) || - (formattype == GUID_NULL)) { - return TRUE; - } else { - return FALSE; - } -} - -BOOL -CMediaType::MatchesPartial(const CMediaType* ppartial) const -{ - if ((ppartial->majortype != GUID_NULL) && - (majortype != ppartial->majortype)) { - return FALSE; - } - if ((ppartial->subtype != GUID_NULL) && - (subtype != ppartial->subtype)) { - return FALSE; - } - - if (ppartial->formattype != GUID_NULL) { - // if the format block is specified then it must match exactly - if (formattype != ppartial->formattype) { - return FALSE; - } - if (cbFormat != ppartial->cbFormat) { - return FALSE; - } - if ((cbFormat != 0) && - (memcmp(pbFormat, ppartial->pbFormat, cbFormat) != 0)) { - return FALSE; - } - } - - return TRUE; - -} - - - -// general purpose function to delete a heap allocated AM_MEDIA_TYPE structure -// which is useful when calling IEnumMediaTypes::Next as the interface -// implementation allocates the structures which you must later delete -// the format block may also be a pointer to an interface to release - -void WINAPI DeleteMediaType(__inout_opt AM_MEDIA_TYPE *pmt) -{ - // allow NULL pointers for coding simplicity - - if (pmt == NULL) { - return; - } - - FreeMediaType(*pmt); - CoTaskMemFree((PVOID)pmt); -} - - -// this also comes in useful when using the IEnumMediaTypes interface so -// that you can copy a media type, you can do nearly the same by creating -// a CMediaType object but as soon as it goes out of scope the destructor -// will delete the memory it allocated (this takes a copy of the memory) - -AM_MEDIA_TYPE * WINAPI CreateMediaType(AM_MEDIA_TYPE const *pSrc) -{ - ASSERT(pSrc); - - // Allocate a block of memory for the media type - - AM_MEDIA_TYPE *pMediaType = - (AM_MEDIA_TYPE *)CoTaskMemAlloc(sizeof(AM_MEDIA_TYPE)); - - if (pMediaType == NULL) { - return NULL; - } - // Copy the variable length format block - - HRESULT hr = CopyMediaType(pMediaType,pSrc); - if (FAILED(hr)) { - CoTaskMemFree((PVOID)pMediaType); - return NULL; - } - - return pMediaType; -} - - -// Copy 1 media type to another - -HRESULT WINAPI CopyMediaType(__out AM_MEDIA_TYPE *pmtTarget, const AM_MEDIA_TYPE *pmtSource) -{ - // We'll leak if we copy onto one that already exists - there's one - // case we can check like that - copying to itself. - ASSERT(pmtSource != pmtTarget); - *pmtTarget = *pmtSource; - if (pmtSource->cbFormat != 0) { - ASSERT(pmtSource->pbFormat != NULL); - pmtTarget->pbFormat = (PBYTE)CoTaskMemAlloc(pmtSource->cbFormat); - if (pmtTarget->pbFormat == NULL) { - pmtTarget->cbFormat = 0; - return E_OUTOFMEMORY; - } else { - CopyMemory((PVOID)pmtTarget->pbFormat, (PVOID)pmtSource->pbFormat, - pmtTarget->cbFormat); - } - } - if (pmtTarget->pUnk != NULL) { - pmtTarget->pUnk->AddRef(); - } - - return S_OK; -} - -// Free an existing media type (ie free resources it holds) - -void WINAPI FreeMediaType(__inout AM_MEDIA_TYPE& mt) -{ - if (mt.cbFormat != 0) { - CoTaskMemFree((PVOID)mt.pbFormat); - - // Strictly unnecessary but tidier - mt.cbFormat = 0; - mt.pbFormat = NULL; - } - if (mt.pUnk != NULL) { - mt.pUnk->Release(); - mt.pUnk = NULL; - } -} - -// Initialize a media type from a WAVEFORMATEX - -STDAPI CreateAudioMediaType( - const WAVEFORMATEX *pwfx, - __out AM_MEDIA_TYPE *pmt, - BOOL bSetFormat -) -{ - pmt->majortype = MEDIATYPE_Audio; - if (pwfx->wFormatTag == WAVE_FORMAT_EXTENSIBLE) { - pmt->subtype = ((PWAVEFORMATEXTENSIBLE)pwfx)->SubFormat; - } else { - pmt->subtype = FOURCCMap(pwfx->wFormatTag); - } - pmt->formattype = FORMAT_WaveFormatEx; - pmt->bFixedSizeSamples = TRUE; - pmt->bTemporalCompression = FALSE; - pmt->lSampleSize = pwfx->nBlockAlign; - pmt->pUnk = NULL; - if (bSetFormat) { - if (pwfx->wFormatTag == WAVE_FORMAT_PCM) { - pmt->cbFormat = sizeof(WAVEFORMATEX); - } else { - pmt->cbFormat = sizeof(WAVEFORMATEX) + pwfx->cbSize; - } - pmt->pbFormat = (PBYTE)CoTaskMemAlloc(pmt->cbFormat); - if (pmt->pbFormat == NULL) { - return E_OUTOFMEMORY; - } - if (pwfx->wFormatTag == WAVE_FORMAT_PCM) { - CopyMemory(pmt->pbFormat, pwfx, sizeof(PCMWAVEFORMAT)); - ((WAVEFORMATEX *)pmt->pbFormat)->cbSize = 0; - } else { - CopyMemory(pmt->pbFormat, pwfx, pmt->cbFormat); - } - } - return S_OK; -} - -// eliminate very many spurious warnings from MS compiler -#pragma warning(disable:4514) - -#endif /* PJMEDIA_VIDEO_DEV_HAS_DSHOW */ diff --git a/res/pjproject/third_party/BaseClasses/mtype.h b/res/pjproject/third_party/BaseClasses/mtype.h deleted file mode 100644 index 9402f0644a..0000000000 --- a/res/pjproject/third_party/BaseClasses/mtype.h +++ /dev/null @@ -1,89 +0,0 @@ -//------------------------------------------------------------------------------ -// File: MtType.h -// -// Desc: DirectShow base classes - defines a class that holds and manages -// media type information. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - - -#ifndef __MTYPE__ -#define __MTYPE__ - -/* Helper class that derived pin objects can use to compare media - types etc. Has same data members as the struct AM_MEDIA_TYPE defined - in the streams IDL file, but also has (non-virtual) functions */ - -class CMediaType : public _AMMediaType { - -public: - - ~CMediaType(); - CMediaType(); - CMediaType(const GUID * majortype); - CMediaType(const AM_MEDIA_TYPE&, __out_opt HRESULT* phr = NULL); - CMediaType(const CMediaType&, __out_opt HRESULT* phr = NULL); - - CMediaType& operator=(const CMediaType&); - CMediaType& operator=(const AM_MEDIA_TYPE&); - - BOOL operator == (const CMediaType&) const; - BOOL operator != (const CMediaType&) const; - - HRESULT Set(const CMediaType& rt); - HRESULT Set(const AM_MEDIA_TYPE& rt); - - BOOL IsValid() const; - - const GUID *Type() const { return &majortype;} ; - void SetType(const GUID *); - const GUID *Subtype() const { return &subtype;} ; - void SetSubtype(const GUID *); - - BOOL IsFixedSize() const {return bFixedSizeSamples; }; - BOOL IsTemporalCompressed() const {return bTemporalCompression; }; - ULONG GetSampleSize() const; - - void SetSampleSize(ULONG sz); - void SetVariableSize(); - void SetTemporalCompression(BOOL bCompressed); - - // read/write pointer to format - can't change length without - // calling SetFormat, AllocFormatBuffer or ReallocFormatBuffer - - BYTE* Format() const {return pbFormat; }; - ULONG FormatLength() const { return cbFormat; }; - - void SetFormatType(const GUID *); - const GUID *FormatType() const {return &formattype; }; - BOOL SetFormat(__in_bcount(length) BYTE *pFormat, ULONG length); - void ResetFormatBuffer(); - BYTE* AllocFormatBuffer(ULONG length); - BYTE* ReallocFormatBuffer(ULONG length); - - void InitMediaType(); - - BOOL MatchesPartial(const CMediaType* ppartial) const; - BOOL IsPartiallySpecified(void) const; -}; - - -/* General purpose functions to copy and delete a task allocated AM_MEDIA_TYPE - structure which is useful when using the IEnumMediaFormats interface as - the implementation allocates the structures which you must later delete */ - -void WINAPI DeleteMediaType(__inout_opt AM_MEDIA_TYPE *pmt); -AM_MEDIA_TYPE * WINAPI CreateMediaType(AM_MEDIA_TYPE const *pSrc); -HRESULT WINAPI CopyMediaType(__out AM_MEDIA_TYPE *pmtTarget, const AM_MEDIA_TYPE *pmtSource); -void WINAPI FreeMediaType(__inout AM_MEDIA_TYPE& mt); - -// Initialize a media type from a WAVEFORMATEX - -STDAPI CreateAudioMediaType( - const WAVEFORMATEX *pwfx, - __out AM_MEDIA_TYPE *pmt, - BOOL bSetFormat); - -#endif /* __MTYPE__ */ - diff --git a/res/pjproject/third_party/BaseClasses/refclock.h b/res/pjproject/third_party/BaseClasses/refclock.h deleted file mode 100644 index df822e0333..0000000000 --- a/res/pjproject/third_party/BaseClasses/refclock.h +++ /dev/null @@ -1,184 +0,0 @@ -//------------------------------------------------------------------------------ -// File: RefClock.h -// -// Desc: DirectShow base classes - defines the IReferenceClock interface. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - - -#ifndef __BASEREFCLOCK__ -#define __BASEREFCLOCK__ - -#include - -const UINT RESOLUTION = 1; /* High resolution timer */ -const INT ADVISE_CACHE = 4; /* Default cache size */ -const LONGLONG MAX_TIME = 0x7FFFFFFFFFFFFFFF; /* Maximum LONGLONG value */ - -inline LONGLONG WINAPI ConvertToMilliseconds(const REFERENCE_TIME& RT) -{ - /* This converts an arbitrary value representing a reference time - into a MILLISECONDS value for use in subsequent system calls */ - - return (RT / (UNITS / MILLISECONDS)); -} - -/* This class hierarchy will support an IReferenceClock interface so - that an audio card (or other externally driven clock) can update the - system wide clock that everyone uses. - - The interface will be pretty thin with probably just one update method - This interface has not yet been defined. - */ - -/* This abstract base class implements the IReferenceClock - * interface. Classes that actually provide clock signals (from - * whatever source) have to be derived from this class. - * - * The abstract class provides implementations for: - * CUnknown support - * locking support (CCritSec) - * client advise code (creates a thread) - * - * Question: what can we do about quality? Change the timer - * resolution to lower the system load? Up the priority of the - * timer thread to force more responsive signals? - * - * During class construction we create a worker thread that is destroyed during - * destuction. This thread executes a series of WaitForSingleObject calls, - * waking up when a command is given to the thread or the next wake up point - * is reached. The wakeup points are determined by clients making Advise - * calls. - * - * Each advise call defines a point in time when they wish to be notified. A - * periodic advise is a series of these such events. We maintain a list of - * advise links and calculate when the nearest event notification is due for. - * We then call WaitForSingleObject with a timeout equal to this time. The - * handle we wait on is used by the class to signal that something has changed - * and that we must reschedule the next event. This typically happens when - * someone comes in and asks for an advise link while we are waiting for an - * event to timeout. - * - * While we are modifying the list of advise requests we - * are protected from interference through a critical section. Clients are NOT - * advised through callbacks. One shot clients have an event set, while - * periodic clients have a semaphore released for each event notification. A - * semaphore allows a client to be kept up to date with the number of events - * actually triggered and be assured that they can't miss multiple events being - * set. - * - * Keeping track of advises is taken care of by the CAMSchedule class. - */ - -class CBaseReferenceClock -: public CUnknown, public IReferenceClock, public CCritSec, public IReferenceClockTimerControl -{ -protected: - virtual ~CBaseReferenceClock(); // Don't let me be created on the stack! -public: - CBaseReferenceClock(__in_opt LPCTSTR pName, - __inout_opt LPUNKNOWN pUnk, - __inout HRESULT *phr, - __inout_opt CAMSchedule * pSched = 0 ); - - STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void ** ppv); - - DECLARE_IUNKNOWN - - /* IReferenceClock methods */ - // Derived classes must implement GetPrivateTime(). All our GetTime - // does is call GetPrivateTime and then check so that time does not - // go backwards. A return code of S_FALSE implies that the internal - // clock has gone backwards and GetTime time has halted until internal - // time has caught up. (Don't know if this will be much use to folk, - // but it seems odd not to use the return code for something useful.) - STDMETHODIMP GetTime(__out REFERENCE_TIME *pTime); - // When this is called, it sets m_rtLastGotTime to the time it returns. - - /* Provide standard mechanisms for scheduling events */ - - /* Ask for an async notification that a time has elapsed */ - STDMETHODIMP AdviseTime( - REFERENCE_TIME baseTime, // base reference time - REFERENCE_TIME streamTime, // stream offset time - HEVENT hEvent, // advise via this event - __out DWORD_PTR *pdwAdviseCookie// where your cookie goes - ); - - /* Ask for an asynchronous periodic notification that a time has elapsed */ - STDMETHODIMP AdvisePeriodic( - REFERENCE_TIME StartTime, // starting at this time - REFERENCE_TIME PeriodTime, // time between notifications - HSEMAPHORE hSemaphore, // advise via a semaphore - __out DWORD_PTR *pdwAdviseCookie// where your cookie goes - ); - - /* Cancel a request for notification(s) - if the notification was - * a one shot timer then this function doesn't need to be called - * as the advise is automatically cancelled, however it does no - * harm to explicitly cancel a one-shot advise. It is REQUIRED that - * clients call Unadvise to clear a Periodic advise setting. - */ - - STDMETHODIMP Unadvise(DWORD_PTR dwAdviseCookie); - - /* Methods for the benefit of derived classes or outer objects */ - - // GetPrivateTime() is the REAL clock. GetTime is just a cover for - // it. Derived classes will probably override this method but not - // GetTime() itself. - // The important point about GetPrivateTime() is it's allowed to go - // backwards. Our GetTime() will keep returning the LastGotTime - // until GetPrivateTime() catches up. - virtual REFERENCE_TIME GetPrivateTime(); - - /* Provide a method for correcting drift */ - STDMETHODIMP SetTimeDelta( const REFERENCE_TIME& TimeDelta ); - - CAMSchedule * GetSchedule() const { return m_pSchedule; } - - // IReferenceClockTimerControl methods - // - // Setting a default of 0 disables the default of 1ms - STDMETHODIMP SetDefaultTimerResolution( - REFERENCE_TIME timerResolution // in 100ns - ); - STDMETHODIMP GetDefaultTimerResolution( - __out REFERENCE_TIME* pTimerResolution // in 100ns - ); - -private: - REFERENCE_TIME m_rtPrivateTime; // Current best estimate of time - DWORD m_dwPrevSystemTime; // Last vaule we got from timeGetTime - REFERENCE_TIME m_rtLastGotTime; // Last time returned by GetTime - REFERENCE_TIME m_rtNextAdvise; // Time of next advise - UINT m_TimerResolution; - -#ifdef PERF - int m_idGetSystemTime; -#endif - -// Thread stuff -public: - void TriggerThread() // Wakes thread up. Need to do this if - { // time to next advise needs reevaluating. - EXECUTE_ASSERT(SetEvent(m_pSchedule->GetEvent())); - } - - -private: - BOOL m_bAbort; // Flag used for thread shutdown - HANDLE m_hThread; // Thread handle - - HRESULT AdviseThread(); // Method in which the advise thread runs - static DWORD __stdcall AdviseThreadFunction(__in LPVOID); // Function used to get there - -protected: - CAMSchedule * m_pSchedule; - - void Restart (IN REFERENCE_TIME rtMinTime = 0I64) ; -}; - -#endif - diff --git a/res/pjproject/third_party/BaseClasses/reftime.h b/res/pjproject/third_party/BaseClasses/reftime.h deleted file mode 100644 index 0ed32f6e17..0000000000 --- a/res/pjproject/third_party/BaseClasses/reftime.h +++ /dev/null @@ -1,116 +0,0 @@ -//------------------------------------------------------------------------------ -// File: RefTime.h -// -// Desc: DirectShow base classes - defines CRefTime, a class that manages -// reference times. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - - -// -// CRefTime -// -// Manage reference times. -// Shares same data layout as REFERENCE_TIME, but adds some (nonvirtual) -// functions providing simple comparison, conversion and arithmetic. -// -// A reference time (at the moment) is a unit of seconds represented in -// 100ns units as is used in the Win32 FILETIME structure. BUT the time -// a REFERENCE_TIME represents is NOT the time elapsed since 1/1/1601 it -// will either be stream time or reference time depending upon context -// -// This class provides simple arithmetic operations on reference times -// -// keep non-virtual otherwise the data layout will not be the same as -// REFERENCE_TIME - - -// ----- -// note that you are safe to cast a CRefTime* to a REFERENCE_TIME*, but -// you will need to do so explicitly -// ----- - - -#ifndef __REFTIME__ -#define __REFTIME__ - - -const LONGLONG MILLISECONDS = (1000); // 10 ^ 3 -const LONGLONG NANOSECONDS = (1000000000); // 10 ^ 9 -const LONGLONG UNITS = (NANOSECONDS / 100); // 10 ^ 7 - -/* Unfortunately an inline function here generates a call to __allmul - - even for constants! -*/ -#define MILLISECONDS_TO_100NS_UNITS(lMs) \ - Int32x32To64((lMs), (UNITS / MILLISECONDS)) - -class CRefTime -{ -public: - - // *MUST* be the only data member so that this class is exactly - // equivalent to a REFERENCE_TIME. - // Also, must be *no virtual functions* - - REFERENCE_TIME m_time; - - inline CRefTime() - { - // default to 0 time - m_time = 0; - }; - - inline CRefTime(LONG msecs) - { - m_time = MILLISECONDS_TO_100NS_UNITS(msecs); - }; - - inline CRefTime(REFERENCE_TIME rt) - { - m_time = rt; - }; - - inline operator REFERENCE_TIME() const - { - return m_time; - }; - - inline CRefTime& operator=(const CRefTime& rt) - { - m_time = rt.m_time; - return *this; - }; - - inline CRefTime& operator=(const LONGLONG ll) - { - m_time = ll; - return *this; - }; - - inline CRefTime& operator+=(const CRefTime& rt) - { - return (*this = *this + rt); - }; - - inline CRefTime& operator-=(const CRefTime& rt) - { - return (*this = *this - rt); - }; - - inline LONG Millisecs(void) - { - return (LONG)(m_time / (UNITS / MILLISECONDS)); - }; - - inline LONGLONG GetUnits(void) - { - return m_time; - }; -}; - -const LONGLONG TimeZero = 0; - -#endif /* __REFTIME__ */ - diff --git a/res/pjproject/third_party/BaseClasses/renbase.cpp b/res/pjproject/third_party/BaseClasses/renbase.cpp deleted file mode 100644 index 4da6a4e7dd..0000000000 --- a/res/pjproject/third_party/BaseClasses/renbase.cpp +++ /dev/null @@ -1,2862 +0,0 @@ -//------------------------------------------------------------------------------ -// File: RenBase.cpp -// -// Desc: DirectShow base classes. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - -#include - -#if defined(PJMEDIA_VIDEO_DEV_HAS_DSHOW) && PJMEDIA_VIDEO_DEV_HAS_DSHOW != 0 - -#include // DirectShow base class definitions -#include // Needed for definition of timeGetTime -#include // Standard data type limit definitions -#include // Used for time critical log functions - -#pragma warning(disable:4355) - -// Helper function for clamping time differences -int inline TimeDiff(REFERENCE_TIME rt) -{ - if (rt < - (50 * UNITS)) { - return -(50 * UNITS); - } else - if (rt > 50 * UNITS) { - return 50 * UNITS; - } else return (int)rt; -} - -// Implements the CBaseRenderer class - -CBaseRenderer::CBaseRenderer(REFCLSID RenderClass, // CLSID for this renderer - __in_opt LPCTSTR pName, // Debug ONLY description - __inout_opt LPUNKNOWN pUnk, // Aggregated owner object - __inout HRESULT *phr) : // General OLE return code - - CBaseFilter(pName,pUnk,&m_InterfaceLock,RenderClass), - m_evComplete(TRUE, phr), - m_RenderEvent(FALSE, phr), - m_bAbort(FALSE), - m_pPosition(NULL), - m_ThreadSignal(TRUE, phr), - m_bStreaming(FALSE), - m_bEOS(FALSE), - m_bEOSDelivered(FALSE), - m_pMediaSample(NULL), - m_dwAdvise(0), - m_pQSink(NULL), - m_pInputPin(NULL), - m_bRepaintStatus(TRUE), - m_SignalTime(0), - m_bInReceive(FALSE), - m_EndOfStreamTimer(0) -{ - if (SUCCEEDED(*phr)) { - Ready(); -#ifdef PERF - m_idBaseStamp = MSR_REGISTER(TEXT("BaseRenderer: sample time stamp")); - m_idBaseRenderTime = MSR_REGISTER(TEXT("BaseRenderer: draw time (msec)")); - m_idBaseAccuracy = MSR_REGISTER(TEXT("BaseRenderer: Accuracy (msec)")); -#endif - } -} - - -// Delete the dynamically allocated IMediaPosition and IMediaSeeking helper -// object. The object is created when somebody queries us. These are standard -// control interfaces for seeking and setting start/stop positions and rates. -// We will probably also have made an input pin based on CRendererInputPin -// that has to be deleted, it's created when an enumerator calls our GetPin - -CBaseRenderer::~CBaseRenderer() -{ - ASSERT(m_bStreaming == FALSE); - ASSERT(m_EndOfStreamTimer == 0); - StopStreaming(); - ClearPendingSample(); - - // Delete any IMediaPosition implementation - - if (m_pPosition) { - delete m_pPosition; - m_pPosition = NULL; - } - - // Delete any input pin created - - if (m_pInputPin) { - delete m_pInputPin; - m_pInputPin = NULL; - } - - // Release any Quality sink - - ASSERT(m_pQSink == NULL); -} - - -// This returns the IMediaPosition and IMediaSeeking interfaces - -HRESULT CBaseRenderer::GetMediaPositionInterface(REFIID riid, __deref_out void **ppv) -{ - CAutoLock cObjectCreationLock(&m_ObjectCreationLock); - if (m_pPosition) { - return m_pPosition->NonDelegatingQueryInterface(riid,ppv); - } - - CBasePin *pPin = GetPin(0); - if (NULL == pPin) { - return E_OUTOFMEMORY; - } - - HRESULT hr = NOERROR; - - // Create implementation of this dynamically since sometimes we may - // never try and do a seek. The helper object implements a position - // control interface (IMediaPosition) which in fact simply takes the - // calls normally from the filter graph and passes them upstream - - m_pPosition = new CRendererPosPassThru(NAME("Renderer CPosPassThru"), - CBaseFilter::GetOwner(), - (HRESULT *) &hr, - pPin); - if (m_pPosition == NULL) { - return E_OUTOFMEMORY; - } - - if (FAILED(hr)) { - delete m_pPosition; - m_pPosition = NULL; - return E_NOINTERFACE; - } - return GetMediaPositionInterface(riid,ppv); -} - - -// Overriden to say what interfaces we support and where - -STDMETHODIMP CBaseRenderer::NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv) -{ - // Do we have this interface - - if (riid == IID_IMediaPosition || riid == IID_IMediaSeeking) { - return GetMediaPositionInterface(riid,ppv); - } else { - return CBaseFilter::NonDelegatingQueryInterface(riid,ppv); - } -} - - -// This is called whenever we change states, we have a manual reset event that -// is signalled whenever we don't won't the source filter thread to wait in us -// (such as in a stopped state) and likewise is not signalled whenever it can -// wait (during paused and running) this function sets or resets the thread -// event. The event is used to stop source filter threads waiting in Receive - -HRESULT CBaseRenderer::SourceThreadCanWait(BOOL bCanWait) -{ - if (bCanWait == TRUE) { - m_ThreadSignal.Reset(); - } else { - m_ThreadSignal.Set(); - } - return NOERROR; -} - - -#ifdef DEBUG -// Dump the current renderer state to the debug terminal. The hardest part of -// the renderer is the window where we unlock everything to wait for a clock -// to signal it is time to draw or for the application to cancel everything -// by stopping the filter. If we get things wrong we can leave the thread in -// WaitForRenderTime with no way for it to ever get out and we will deadlock - -void CBaseRenderer::DisplayRendererState() -{ - DbgLog((LOG_TIMING, 1, TEXT("\nTimed out in WaitForRenderTime"))); - - // No way should this be signalled at this point - - BOOL bSignalled = m_ThreadSignal.Check(); - DbgLog((LOG_TIMING, 1, TEXT("Signal sanity check %d"),bSignalled)); - - // Now output the current renderer state variables - - DbgLog((LOG_TIMING, 1, TEXT("Filter state %d"),m_State)); - - DbgLog((LOG_TIMING, 1, TEXT("Abort flag %d"),m_bAbort)); - - DbgLog((LOG_TIMING, 1, TEXT("Streaming flag %d"),m_bStreaming)); - - DbgLog((LOG_TIMING, 1, TEXT("Clock advise link %d"),m_dwAdvise)); - - DbgLog((LOG_TIMING, 1, TEXT("Current media sample %x"),m_pMediaSample)); - - DbgLog((LOG_TIMING, 1, TEXT("EOS signalled %d"),m_bEOS)); - - DbgLog((LOG_TIMING, 1, TEXT("EOS delivered %d"),m_bEOSDelivered)); - - DbgLog((LOG_TIMING, 1, TEXT("Repaint status %d"),m_bRepaintStatus)); - - - // Output the delayed end of stream timer information - - DbgLog((LOG_TIMING, 1, TEXT("End of stream timer %x"),m_EndOfStreamTimer)); - - DbgLog((LOG_TIMING, 1, TEXT("Deliver time %s"),CDisp((LONGLONG)m_SignalTime))); - - - // Should never timeout during a flushing state - - BOOL bFlushing = m_pInputPin->IsFlushing(); - DbgLog((LOG_TIMING, 1, TEXT("Flushing sanity check %d"),bFlushing)); - - // Display the time we were told to start at - DbgLog((LOG_TIMING, 1, TEXT("Last run time %s"),CDisp((LONGLONG)m_tStart.m_time))); - - // Have we got a reference clock - if (m_pClock == NULL) return; - - // Get the current time from the wall clock - - CRefTime CurrentTime,StartTime,EndTime; - m_pClock->GetTime((REFERENCE_TIME*) &CurrentTime); - CRefTime Offset = CurrentTime - m_tStart; - - // Display the current time from the clock - - DbgLog((LOG_TIMING, 1, TEXT("Clock time %s"),CDisp((LONGLONG)CurrentTime.m_time))); - - DbgLog((LOG_TIMING, 1, TEXT("Time difference %dms"),Offset.Millisecs())); - - - // Do we have a sample ready to render - if (m_pMediaSample == NULL) return; - - m_pMediaSample->GetTime((REFERENCE_TIME*)&StartTime, (REFERENCE_TIME*)&EndTime); - DbgLog((LOG_TIMING, 1, TEXT("Next sample stream times (Start %d End %d ms)"), - StartTime.Millisecs(),EndTime.Millisecs())); - - // Calculate how long it is until it is due for rendering - CRefTime Wait = (m_tStart + StartTime) - CurrentTime; - DbgLog((LOG_TIMING, 1, TEXT("Wait required %d ms"),Wait.Millisecs())); -} -#endif - - -// Wait until the clock sets the timer event or we're otherwise signalled. We -// set an arbitrary timeout for this wait and if it fires then we display the -// current renderer state on the debugger. It will often fire if the filter's -// left paused in an application however it may also fire during stress tests -// if the synchronisation with application seeks and state changes is faulty - -#define RENDER_TIMEOUT 10000 - -HRESULT CBaseRenderer::WaitForRenderTime() -{ - HANDLE WaitObjects[] = { m_ThreadSignal, m_RenderEvent }; - DWORD Result = WAIT_TIMEOUT; - - // Wait for either the time to arrive or for us to be stopped - - OnWaitStart(); - while (Result == WAIT_TIMEOUT) { - Result = WaitForMultipleObjects(2,WaitObjects,FALSE,RENDER_TIMEOUT); - -#ifdef DEBUG - if (Result == WAIT_TIMEOUT) DisplayRendererState(); -#endif - - } - OnWaitEnd(); - - // We may have been awoken without the timer firing - - if (Result == WAIT_OBJECT_0) { - return VFW_E_STATE_CHANGED; - } - - SignalTimerFired(); - return NOERROR; -} - - -// Poll waiting for Receive to complete. This really matters when -// Receive may set the palette and cause window messages -// The problem is that if we don't really wait for a renderer to -// stop processing we can deadlock waiting for a transform which -// is calling the renderer's Receive() method because the transform's -// Stop method doesn't know to process window messages to unblock -// the renderer's Receive processing -void CBaseRenderer::WaitForReceiveToComplete() -{ - for (;;) { - if (!m_bInReceive) { - break; - } - - MSG msg; - // Receive all interthread snedmessages - PeekMessage(&msg, NULL, WM_NULL, WM_NULL, PM_NOREMOVE); - - Sleep(1); - } - - // If the wakebit for QS_POSTMESSAGE is set, the PeekMessage call - // above just cleared the changebit which will cause some messaging - // calls to block (waitMessage, MsgWaitFor...) now. - // Post a dummy message to set the QS_POSTMESSAGE bit again - if (HIWORD(GetQueueStatus(QS_POSTMESSAGE)) & QS_POSTMESSAGE) { - // Send dummy message - PostThreadMessage(GetCurrentThreadId(), WM_NULL, 0, 0); - } -} - -// A filter can have four discrete states, namely Stopped, Running, Paused, -// Intermediate. We are in an intermediate state if we are currently trying -// to pause but haven't yet got the first sample (or if we have been flushed -// in paused state and therefore still have to wait for a sample to arrive) - -// This class contains an event called m_evComplete which is signalled when -// the current state is completed and is not signalled when we are waiting to -// complete the last state transition. As mentioned above the only time we -// use this at the moment is when we wait for a media sample in paused state -// If while we are waiting we receive an end of stream notification from the -// source filter then we know no data is imminent so we can reset the event -// This means that when we transition to paused the source filter must call -// end of stream on us or send us an image otherwise we'll hang indefinately - - -// Simple internal way of getting the real state - -FILTER_STATE CBaseRenderer::GetRealState() { - return m_State; -} - - -// The renderer doesn't complete the full transition to paused states until -// it has got one media sample to render. If you ask it for its state while -// it's waiting it will return the state along with VFW_S_STATE_INTERMEDIATE - -STDMETHODIMP CBaseRenderer::GetState(DWORD dwMSecs,FILTER_STATE *State) -{ - CheckPointer(State,E_POINTER); - - if (WaitDispatchingMessages(m_evComplete, dwMSecs) == WAIT_TIMEOUT) { - *State = m_State; - return VFW_S_STATE_INTERMEDIATE; - } - *State = m_State; - return NOERROR; -} - - -// If we're pausing and we have no samples we don't complete the transition -// to State_Paused and we return S_FALSE. However if the m_bAbort flag has -// been set then all samples are rejected so there is no point waiting for -// one. If we do have a sample then return NOERROR. We will only ever return -// VFW_S_STATE_INTERMEDIATE from GetState after being paused with no sample -// (calling GetState after either being stopped or Run will NOT return this) - -HRESULT CBaseRenderer::CompleteStateChange(FILTER_STATE OldState) -{ - // Allow us to be paused when disconnected - - if (m_pInputPin->IsConnected() == FALSE) { - Ready(); - return S_OK; - } - - // Have we run off the end of stream - - if (IsEndOfStream() == TRUE) { - Ready(); - return S_OK; - } - - // Make sure we get fresh data after being stopped - - if (HaveCurrentSample() == TRUE) { - if (OldState != State_Stopped) { - Ready(); - return S_OK; - } - } - NotReady(); - return S_FALSE; -} - - -// When we stop the filter the things we do are:- - -// Decommit the allocator being used in the connection -// Release the source filter if it's waiting in Receive -// Cancel any advise link we set up with the clock -// Any end of stream signalled is now obsolete so reset -// Allow us to be stopped when we are not connected - -STDMETHODIMP CBaseRenderer::Stop() -{ - CAutoLock cRendererLock(&m_InterfaceLock); - - // Make sure there really is a state change - - if (m_State == State_Stopped) { - return NOERROR; - } - - // Is our input pin connected - - if (m_pInputPin->IsConnected() == FALSE) { - NOTE("Input pin is not connected"); - m_State = State_Stopped; - return NOERROR; - } - - CBaseFilter::Stop(); - - // If we are going into a stopped state then we must decommit whatever - // allocator we are using it so that any source filter waiting in the - // GetBuffer can be released and unlock themselves for a state change - - if (m_pInputPin->Allocator()) { - m_pInputPin->Allocator()->Decommit(); - } - - // Cancel any scheduled rendering - - SetRepaintStatus(TRUE); - StopStreaming(); - SourceThreadCanWait(FALSE); - ResetEndOfStream(); - CancelNotification(); - - // There should be no outstanding clock advise - ASSERT(CancelNotification() == S_FALSE); - ASSERT(WAIT_TIMEOUT == WaitForSingleObject((HANDLE)m_RenderEvent,0)); - ASSERT(m_EndOfStreamTimer == 0); - - Ready(); - WaitForReceiveToComplete(); - m_bAbort = FALSE; - - return NOERROR; -} - - -// When we pause the filter the things we do are:- - -// Commit the allocator being used in the connection -// Allow a source filter thread to wait in Receive -// Cancel any clock advise link (we may be running) -// Possibly complete the state change if we have data -// Allow us to be paused when we are not connected - -STDMETHODIMP CBaseRenderer::Pause() -{ - CAutoLock cRendererLock(&m_InterfaceLock); - FILTER_STATE OldState = m_State; - ASSERT(m_pInputPin->IsFlushing() == FALSE); - - // Make sure there really is a state change - - if (m_State == State_Paused) { - return CompleteStateChange(State_Paused); - } - - // Has our input pin been connected - - if (m_pInputPin->IsConnected() == FALSE) { - NOTE("Input pin is not connected"); - m_State = State_Paused; - return CompleteStateChange(State_Paused); - } - - // Pause the base filter class - - HRESULT hr = CBaseFilter::Pause(); - if (FAILED(hr)) { - NOTE("Pause failed"); - return hr; - } - - // Enable EC_REPAINT events again - - SetRepaintStatus(TRUE); - StopStreaming(); - SourceThreadCanWait(TRUE); - CancelNotification(); - ResetEndOfStreamTimer(); - - // If we are going into a paused state then we must commit whatever - // allocator we are using it so that any source filter can call the - // GetBuffer and expect to get a buffer without returning an error - - if (m_pInputPin->Allocator()) { - m_pInputPin->Allocator()->Commit(); - } - - // There should be no outstanding advise - ASSERT(CancelNotification() == S_FALSE); - ASSERT(WAIT_TIMEOUT == WaitForSingleObject((HANDLE)m_RenderEvent,0)); - ASSERT(m_EndOfStreamTimer == 0); - ASSERT(m_pInputPin->IsFlushing() == FALSE); - - // When we come out of a stopped state we must clear any image we were - // holding onto for frame refreshing. Since renderers see state changes - // first we can reset ourselves ready to accept the source thread data - // Paused or running after being stopped causes the current position to - // be reset so we're not interested in passing end of stream signals - - if (OldState == State_Stopped) { - m_bAbort = FALSE; - ClearPendingSample(); - } - return CompleteStateChange(OldState); -} - - -// When we run the filter the things we do are:- - -// Commit the allocator being used in the connection -// Allow a source filter thread to wait in Receive -// Signal the render event just to get us going -// Start the base class by calling StartStreaming -// Allow us to be run when we are not connected -// Signal EC_COMPLETE if we are not connected - -STDMETHODIMP CBaseRenderer::Run(REFERENCE_TIME StartTime) -{ - CAutoLock cRendererLock(&m_InterfaceLock); - FILTER_STATE OldState = m_State; - - // Make sure there really is a state change - - if (m_State == State_Running) { - return NOERROR; - } - - // Send EC_COMPLETE if we're not connected - - if (m_pInputPin->IsConnected() == FALSE) { - NotifyEvent(EC_COMPLETE,S_OK,(LONG_PTR)(IBaseFilter *)this); - m_State = State_Running; - return NOERROR; - } - - Ready(); - - // Pause the base filter class - - HRESULT hr = CBaseFilter::Run(StartTime); - if (FAILED(hr)) { - NOTE("Run failed"); - return hr; - } - - // Allow the source thread to wait - ASSERT(m_pInputPin->IsFlushing() == FALSE); - SourceThreadCanWait(TRUE); - SetRepaintStatus(FALSE); - - // There should be no outstanding advise - ASSERT(CancelNotification() == S_FALSE); - ASSERT(WAIT_TIMEOUT == WaitForSingleObject((HANDLE)m_RenderEvent,0)); - ASSERT(m_EndOfStreamTimer == 0); - ASSERT(m_pInputPin->IsFlushing() == FALSE); - - // If we are going into a running state then we must commit whatever - // allocator we are using it so that any source filter can call the - // GetBuffer and expect to get a buffer without returning an error - - if (m_pInputPin->Allocator()) { - m_pInputPin->Allocator()->Commit(); - } - - // When we come out of a stopped state we must clear any image we were - // holding onto for frame refreshing. Since renderers see state changes - // first we can reset ourselves ready to accept the source thread data - // Paused or running after being stopped causes the current position to - // be reset so we're not interested in passing end of stream signals - - if (OldState == State_Stopped) { - m_bAbort = FALSE; - ClearPendingSample(); - } - return StartStreaming(); -} - - -// Return the number of input pins we support - -int CBaseRenderer::GetPinCount() -{ - if (m_pInputPin == NULL) { - // Try to create it - (void)GetPin(0); - } - return m_pInputPin != NULL ? 1 : 0; -} - - -// We only support one input pin and it is numbered zero - -CBasePin *CBaseRenderer::GetPin(int n) -{ - CAutoLock cObjectCreationLock(&m_ObjectCreationLock); - - // Should only ever be called with zero - ASSERT(n == 0); - - if (n != 0) { - return NULL; - } - - // Create the input pin if not already done so - - if (m_pInputPin == NULL) { - - // hr must be initialized to NOERROR because - // CRendererInputPin's constructor only changes - // hr's value if an error occurs. - HRESULT hr = NOERROR; - - m_pInputPin = new CRendererInputPin(this,&hr,L"In"); - if (NULL == m_pInputPin) { - return NULL; - } - - if (FAILED(hr)) { - delete m_pInputPin; - m_pInputPin = NULL; - return NULL; - } - } - return m_pInputPin; -} - - -// If "In" then return the IPin for our input pin, otherwise NULL and error - -STDMETHODIMP CBaseRenderer::FindPin(LPCWSTR Id, __deref_out IPin **ppPin) -{ - CheckPointer(ppPin,E_POINTER); - - if (0==lstrcmpW(Id,L"In")) { - *ppPin = GetPin(0); - if (*ppPin) { - (*ppPin)->AddRef(); - } else { - return E_OUTOFMEMORY; - } - } else { - *ppPin = NULL; - return VFW_E_NOT_FOUND; - } - return NOERROR; -} - - -// Called when the input pin receives an EndOfStream notification. If we have -// not got a sample, then notify EC_COMPLETE now. If we have samples, then set -// m_bEOS and check for this on completing samples. If we're waiting to pause -// then complete the transition to paused state by setting the state event - -HRESULT CBaseRenderer::EndOfStream() -{ - // Ignore these calls if we are stopped - - if (m_State == State_Stopped) { - return NOERROR; - } - - // If we have a sample then wait for it to be rendered - - m_bEOS = TRUE; - if (m_pMediaSample) { - return NOERROR; - } - - // If we are waiting for pause then we are now ready since we cannot now - // carry on waiting for a sample to arrive since we are being told there - // won't be any. This sets an event that the GetState function picks up - - Ready(); - - // Only signal completion now if we are running otherwise queue it until - // we do run in StartStreaming. This is used when we seek because a seek - // causes a pause where early notification of completion is misleading - - if (m_bStreaming) { - SendEndOfStream(); - } - return NOERROR; -} - - -// When we are told to flush we should release the source thread - -HRESULT CBaseRenderer::BeginFlush() -{ - // If paused then report state intermediate until we get some data - - if (m_State == State_Paused) { - NotReady(); - } - - SourceThreadCanWait(FALSE); - CancelNotification(); - ClearPendingSample(); - // Wait for Receive to complete - WaitForReceiveToComplete(); - - return NOERROR; -} - - -// After flushing the source thread can wait in Receive again - -HRESULT CBaseRenderer::EndFlush() -{ - // Reset the current sample media time - if (m_pPosition) m_pPosition->ResetMediaTime(); - - // There should be no outstanding advise - - ASSERT(CancelNotification() == S_FALSE); - SourceThreadCanWait(TRUE); - return NOERROR; -} - - -// We can now send EC_REPAINTs if so required - -HRESULT CBaseRenderer::CompleteConnect(IPin *pReceivePin) -{ - // The caller should always hold the interface lock because - // the function uses CBaseFilter::m_State. - ASSERT(CritCheckIn(&m_InterfaceLock)); - - m_bAbort = FALSE; - - if (State_Running == GetRealState()) { - HRESULT hr = StartStreaming(); - if (FAILED(hr)) { - return hr; - } - - SetRepaintStatus(FALSE); - } else { - SetRepaintStatus(TRUE); - } - - return NOERROR; -} - - -// Called when we go paused or running - -HRESULT CBaseRenderer::Active() -{ - return NOERROR; -} - - -// Called when we go into a stopped state - -HRESULT CBaseRenderer::Inactive() -{ - if (m_pPosition) { - m_pPosition->ResetMediaTime(); - } - // People who derive from this may want to override this behaviour - // to keep hold of the sample in some circumstances - ClearPendingSample(); - - return NOERROR; -} - - -// Tell derived classes about the media type agreed - -HRESULT CBaseRenderer::SetMediaType(const CMediaType *pmt) -{ - return NOERROR; -} - - -// When we break the input pin connection we should reset the EOS flags. When -// we are asked for either IMediaPosition or IMediaSeeking we will create a -// CPosPassThru object to handles media time pass through. When we're handed -// samples we store (by calling CPosPassThru::RegisterMediaTime) their media -// times so we can then return a real current position of data being rendered - -HRESULT CBaseRenderer::BreakConnect() -{ - // Do we have a quality management sink - - if (m_pQSink) { - m_pQSink->Release(); - m_pQSink = NULL; - } - - // Check we have a valid connection - - if (m_pInputPin->IsConnected() == FALSE) { - return S_FALSE; - } - - // Check we are stopped before disconnecting - if (m_State != State_Stopped && !m_pInputPin->CanReconnectWhenActive()) { - return VFW_E_NOT_STOPPED; - } - - SetRepaintStatus(FALSE); - ResetEndOfStream(); - ClearPendingSample(); - m_bAbort = FALSE; - - if (State_Running == m_State) { - StopStreaming(); - } - - return NOERROR; -} - - -// Retrieves the sample times for this samples (note the sample times are -// passed in by reference not value). We return S_FALSE to say schedule this -// sample according to the times on the sample. We also return S_OK in -// which case the object should simply render the sample data immediately - -HRESULT CBaseRenderer::GetSampleTimes(IMediaSample *pMediaSample, - __out REFERENCE_TIME *pStartTime, - __out REFERENCE_TIME *pEndTime) -{ - ASSERT(m_dwAdvise == 0); - ASSERT(pMediaSample); - - // If the stop time for this sample is before or the same as start time, - // then just ignore it (release it) and schedule the next one in line - // Source filters should always fill in the start and end times properly! - - if (SUCCEEDED(pMediaSample->GetTime(pStartTime, pEndTime))) { - if (*pEndTime < *pStartTime) { - return VFW_E_START_TIME_AFTER_END; - } - } else { - // no time set in the sample... draw it now? - return S_OK; - } - - // Can't synchronise without a clock so we return S_OK which tells the - // caller that the sample should be rendered immediately without going - // through the overhead of setting a timer advise link with the clock - - if (m_pClock == NULL) { - return S_OK; - } - return ShouldDrawSampleNow(pMediaSample,pStartTime,pEndTime); -} - - -// By default all samples are drawn according to their time stamps so we -// return S_FALSE. Returning S_OK means draw immediately, this is used -// by the derived video renderer class in its quality management. - -HRESULT CBaseRenderer::ShouldDrawSampleNow(IMediaSample *pMediaSample, - __out REFERENCE_TIME *ptrStart, - __out REFERENCE_TIME *ptrEnd) -{ - return S_FALSE; -} - - -// We must always reset the current advise time to zero after a timer fires -// because there are several possible ways which lead us not to do any more -// scheduling such as the pending image being cleared after state changes - -void CBaseRenderer::SignalTimerFired() -{ - m_dwAdvise = 0; -} - - -// Cancel any notification currently scheduled. This is called by the owning -// window object when it is told to stop streaming. If there is no timer link -// outstanding then calling this is benign otherwise we go ahead and cancel -// We must always reset the render event as the quality management code can -// signal immediate rendering by setting the event without setting an advise -// link. If we're subsequently stopped and run the first attempt to setup an -// advise link with the reference clock will find the event still signalled - -HRESULT CBaseRenderer::CancelNotification() -{ - ASSERT(m_dwAdvise == 0 || m_pClock); - DWORD_PTR dwAdvise = m_dwAdvise; - - // Have we a live advise link - - if (m_dwAdvise) { - m_pClock->Unadvise(m_dwAdvise); - SignalTimerFired(); - ASSERT(m_dwAdvise == 0); - } - - // Clear the event and return our status - - m_RenderEvent.Reset(); - return (dwAdvise ? S_OK : S_FALSE); -} - - -// Responsible for setting up one shot advise links with the clock -// Return FALSE if the sample is to be dropped (not drawn at all) -// Return TRUE if the sample is to be drawn and in this case also -// arrange for m_RenderEvent to be set at the appropriate time - -BOOL CBaseRenderer::ScheduleSample(IMediaSample *pMediaSample) -{ - REFERENCE_TIME StartSample, EndSample; - - // Is someone pulling our leg - - if (pMediaSample == NULL) { - return FALSE; - } - - // Get the next sample due up for rendering. If there aren't any ready - // then GetNextSampleTimes returns an error. If there is one to be done - // then it succeeds and yields the sample times. If it is due now then - // it returns S_OK other if it's to be done when due it returns S_FALSE - - HRESULT hr = GetSampleTimes(pMediaSample, &StartSample, &EndSample); - if (FAILED(hr)) { - return FALSE; - } - - // If we don't have a reference clock then we cannot set up the advise - // time so we simply set the event indicating an image to render. This - // will cause us to run flat out without any timing or synchronisation - - if (hr == S_OK) { - EXECUTE_ASSERT(SetEvent((HANDLE) m_RenderEvent)); - return TRUE; - } - - ASSERT(m_dwAdvise == 0); - ASSERT(m_pClock); - ASSERT(WAIT_TIMEOUT == WaitForSingleObject((HANDLE)m_RenderEvent,0)); - - // We do have a valid reference clock interface so we can ask it to - // set an event when the image comes due for rendering. We pass in - // the reference time we were told to start at and also the current - // stream time which is the offset from the start reference time - - hr = m_pClock->AdviseTime( - (REFERENCE_TIME) m_tStart, // Start run time - StartSample, // Stream time - (HEVENT)(HANDLE) m_RenderEvent, // Render notification - &m_dwAdvise); // Advise cookie - - if (SUCCEEDED(hr)) { - return TRUE; - } - - // We could not schedule the next sample for rendering despite the fact - // we have a valid sample here. This is a fair indication that either - // the system clock is wrong or the time stamp for the sample is duff - - ASSERT(m_dwAdvise == 0); - return FALSE; -} - - -// This is called when a sample comes due for rendering. We pass the sample -// on to the derived class. After rendering we will initialise the timer for -// the next sample, NOTE signal that the last one fired first, if we don't -// do this it thinks there is still one outstanding that hasn't completed - -HRESULT CBaseRenderer::Render(IMediaSample *pMediaSample) -{ - // If the media sample is NULL then we will have been notified by the - // clock that another sample is ready but in the mean time someone has - // stopped us streaming which causes the next sample to be released - - if (pMediaSample == NULL) { - return S_FALSE; - } - - // If we have stopped streaming then don't render any more samples, the - // thread that got in and locked us and then reset this flag does not - // clear the pending sample as we can use it to refresh any output device - - if (m_bStreaming == FALSE) { - return S_FALSE; - } - - // Time how long the rendering takes - - OnRenderStart(pMediaSample); - DoRenderSample(pMediaSample); - OnRenderEnd(pMediaSample); - - return NOERROR; -} - - -// Checks if there is a sample waiting at the renderer - -BOOL CBaseRenderer::HaveCurrentSample() -{ - CAutoLock cRendererLock(&m_RendererLock); - return (m_pMediaSample == NULL ? FALSE : TRUE); -} - - -// Returns the current sample waiting at the video renderer. We AddRef the -// sample before returning so that should it come due for rendering the -// person who called this method will hold the remaining reference count -// that will stop the sample being added back onto the allocator free list - -IMediaSample *CBaseRenderer::GetCurrentSample() -{ - CAutoLock cRendererLock(&m_RendererLock); - if (m_pMediaSample) { - m_pMediaSample->AddRef(); - } - return m_pMediaSample; -} - - -// Called when the source delivers us a sample. We go through a few checks to -// make sure the sample can be rendered. If we are running (streaming) then we -// have the sample scheduled with the reference clock, if we are not streaming -// then we have received an sample in paused mode so we can complete any state -// transition. On leaving this function everything will be unlocked so an app -// thread may get in and change our state to stopped (for example) in which -// case it will also signal the thread event so that our wait call is stopped - -HRESULT CBaseRenderer::PrepareReceive(IMediaSample *pMediaSample) -{ - CAutoLock cInterfaceLock(&m_InterfaceLock); - m_bInReceive = TRUE; - - // Check our flushing and filter state - - // This function must hold the interface lock because it calls - // CBaseInputPin::Receive() and CBaseInputPin::Receive() uses - // CBasePin::m_bRunTimeError. - HRESULT hr = m_pInputPin->CBaseInputPin::Receive(pMediaSample); - - if (hr != NOERROR) { - m_bInReceive = FALSE; - return E_FAIL; - } - - // Has the type changed on a media sample. We do all rendering - // synchronously on the source thread, which has a side effect - // that only one buffer is ever outstanding. Therefore when we - // have Receive called we can go ahead and change the format - // Since the format change can cause a SendMessage we just don't - // lock - if (m_pInputPin->SampleProps()->pMediaType) { - hr = m_pInputPin->SetMediaType( - (CMediaType *)m_pInputPin->SampleProps()->pMediaType); - if (FAILED(hr)) { - m_bInReceive = FALSE; - return hr; - } - } - - - CAutoLock cSampleLock(&m_RendererLock); - - ASSERT(IsActive() == TRUE); - ASSERT(m_pInputPin->IsFlushing() == FALSE); - ASSERT(m_pInputPin->IsConnected() == TRUE); - ASSERT(m_pMediaSample == NULL); - - // Return an error if we already have a sample waiting for rendering - // source pins must serialise the Receive calls - we also check that - // no data is being sent after the source signalled an end of stream - - if (m_pMediaSample || m_bEOS || m_bAbort) { - Ready(); - m_bInReceive = FALSE; - return E_UNEXPECTED; - } - - // Store the media times from this sample - if (m_pPosition) m_pPosition->RegisterMediaTime(pMediaSample); - - // Schedule the next sample if we are streaming - - if ((m_bStreaming == TRUE) && (ScheduleSample(pMediaSample) == FALSE)) { - ASSERT(WAIT_TIMEOUT == WaitForSingleObject((HANDLE)m_RenderEvent,0)); - ASSERT(CancelNotification() == S_FALSE); - m_bInReceive = FALSE; - return VFW_E_SAMPLE_REJECTED; - } - - // Store the sample end time for EC_COMPLETE handling - m_SignalTime = m_pInputPin->SampleProps()->tStop; - - // BEWARE we sometimes keep the sample even after returning the thread to - // the source filter such as when we go into a stopped state (we keep it - // to refresh the device with) so we must AddRef it to keep it safely. If - // we start flushing the source thread is released and any sample waiting - // will be released otherwise GetBuffer may never return (see BeginFlush) - - m_pMediaSample = pMediaSample; - m_pMediaSample->AddRef(); - - if (m_bStreaming == FALSE) { - SetRepaintStatus(TRUE); - } - return NOERROR; -} - - -// Called by the source filter when we have a sample to render. Under normal -// circumstances we set an advise link with the clock, wait for the time to -// arrive and then render the data using the PURE virtual DoRenderSample that -// the derived class will have overriden. After rendering the sample we may -// also signal EOS if it was the last one sent before EndOfStream was called - -HRESULT CBaseRenderer::Receive(IMediaSample *pSample) -{ - ASSERT(pSample); - - // It may return VFW_E_SAMPLE_REJECTED code to say don't bother - - HRESULT hr = PrepareReceive(pSample); - ASSERT(m_bInReceive == SUCCEEDED(hr)); - if (FAILED(hr)) { - if (hr == VFW_E_SAMPLE_REJECTED) { - return NOERROR; - } - return hr; - } - - // We realize the palette in "PrepareRender()" so we have to give away the - // filter lock here. - if (m_State == State_Paused) { - PrepareRender(); - // no need to use InterlockedExchange - m_bInReceive = FALSE; - { - // We must hold both these locks - CAutoLock cRendererLock(&m_InterfaceLock); - if (m_State == State_Stopped) - return NOERROR; - - m_bInReceive = TRUE; - CAutoLock cSampleLock(&m_RendererLock); - OnReceiveFirstSample(pSample); - } - Ready(); - } - // Having set an advise link with the clock we sit and wait. We may be - // awoken by the clock firing or by a state change. The rendering call - // will lock the critical section and check we can still render the data - - hr = WaitForRenderTime(); - if (FAILED(hr)) { - m_bInReceive = FALSE; - return NOERROR; - } - - PrepareRender(); - - // Set this here and poll it until we work out the locking correctly - // It can't be right that the streaming stuff grabs the interface - // lock - after all we want to be able to wait for this stuff - // to complete - m_bInReceive = FALSE; - - // We must hold both these locks - CAutoLock cRendererLock(&m_InterfaceLock); - - // since we gave away the filter wide lock, the sate of the filter could - // have chnaged to Stopped - if (m_State == State_Stopped) - return NOERROR; - - CAutoLock cSampleLock(&m_RendererLock); - - // Deal with this sample - - Render(m_pMediaSample); - ClearPendingSample(); - SendEndOfStream(); - CancelNotification(); - return NOERROR; -} - - -// This is called when we stop or are inactivated to clear the pending sample -// We release the media sample interface so that they can be allocated to the -// source filter again, unless of course we are changing state to inactive in -// which case GetBuffer will return an error. We must also reset the current -// media sample to NULL so that we know we do not currently have an image - -HRESULT CBaseRenderer::ClearPendingSample() -{ - CAutoLock cRendererLock(&m_RendererLock); - if (m_pMediaSample) { - m_pMediaSample->Release(); - m_pMediaSample = NULL; - } - return NOERROR; -} - - -// Used to signal end of stream according to the sample end time - -void CALLBACK EndOfStreamTimer(UINT uID, // Timer identifier - UINT uMsg, // Not currently used - DWORD_PTR dwUser,// User information - DWORD_PTR dw1, // Windows reserved - DWORD_PTR dw2) // is also reserved -{ - CBaseRenderer *pRenderer = (CBaseRenderer *) dwUser; - NOTE1("EndOfStreamTimer called (%d)",uID); - pRenderer->TimerCallback(); -} - -// Do the timer callback work -void CBaseRenderer::TimerCallback() -{ - // Lock for synchronization (but don't hold this lock when calling - // timeKillEvent) - CAutoLock cRendererLock(&m_RendererLock); - - // See if we should signal end of stream now - - if (m_EndOfStreamTimer) { - m_EndOfStreamTimer = 0; - SendEndOfStream(); - } -} - - -// If we are at the end of the stream signal the filter graph but do not set -// the state flag back to FALSE. Once we drop off the end of the stream we -// leave the flag set (until a subsequent ResetEndOfStream). Each sample we -// get delivered will update m_SignalTime to be the last sample's end time. -// We must wait this long before signalling end of stream to the filtergraph - -#define TIMEOUT_DELIVERYWAIT 50 -#define TIMEOUT_RESOLUTION 10 - -HRESULT CBaseRenderer::SendEndOfStream() -{ - ASSERT(CritCheckIn(&m_RendererLock)); - if (m_bEOS == FALSE || m_bEOSDelivered || m_EndOfStreamTimer) { - return NOERROR; - } - - // If there is no clock then signal immediately - if (m_pClock == NULL) { - return NotifyEndOfStream(); - } - - // How long into the future is the delivery time - - REFERENCE_TIME Signal = m_tStart + m_SignalTime; - REFERENCE_TIME CurrentTime; - m_pClock->GetTime(&CurrentTime); - LONG Delay = LONG((Signal - CurrentTime) / 10000); - - // Dump the timing information to the debugger - - NOTE1("Delay until end of stream delivery %d",Delay); - NOTE1("Current %s",(LPCTSTR)CDisp((LONGLONG)CurrentTime)); - NOTE1("Signal %s",(LPCTSTR)CDisp((LONGLONG)Signal)); - - // Wait for the delivery time to arrive - - if (Delay < TIMEOUT_DELIVERYWAIT) { - return NotifyEndOfStream(); - } - - // Signal a timer callback on another worker thread - - m_EndOfStreamTimer = CompatibleTimeSetEvent((UINT) Delay, // Period of timer - TIMEOUT_RESOLUTION, // Timer resolution - EndOfStreamTimer, // Callback function - DWORD_PTR(this), // Used information - TIME_ONESHOT); // Type of callback - if (m_EndOfStreamTimer == 0) { - return NotifyEndOfStream(); - } - return NOERROR; -} - - -// Signals EC_COMPLETE to the filtergraph manager - -HRESULT CBaseRenderer::NotifyEndOfStream() -{ - CAutoLock cRendererLock(&m_RendererLock); - ASSERT(m_bEOSDelivered == FALSE); - ASSERT(m_EndOfStreamTimer == 0); - - // Has the filter changed state - - if (m_bStreaming == FALSE) { - ASSERT(m_EndOfStreamTimer == 0); - return NOERROR; - } - - // Reset the end of stream timer - m_EndOfStreamTimer = 0; - - // If we've been using the IMediaPosition interface, set it's start - // and end media "times" to the stop position by hand. This ensures - // that we actually get to the end, even if the MPEG guestimate has - // been bad or if the quality management dropped the last few frames - - if (m_pPosition) m_pPosition->EOS(); - m_bEOSDelivered = TRUE; - NOTE("Sending EC_COMPLETE..."); - return NotifyEvent(EC_COMPLETE,S_OK,(LONG_PTR)(IBaseFilter *)this); -} - - -// Reset the end of stream flag, this is typically called when we transfer to -// stopped states since that resets the current position back to the start so -// we will receive more samples or another EndOfStream if there aren't any. We -// keep two separate flags one to say we have run off the end of the stream -// (this is the m_bEOS flag) and another to say we have delivered EC_COMPLETE -// to the filter graph. We need the latter otherwise we can end up sending an -// EC_COMPLETE every time the source changes state and calls our EndOfStream - -HRESULT CBaseRenderer::ResetEndOfStream() -{ - ResetEndOfStreamTimer(); - CAutoLock cRendererLock(&m_RendererLock); - - m_bEOS = FALSE; - m_bEOSDelivered = FALSE; - m_SignalTime = 0; - - return NOERROR; -} - - -// Kills any outstanding end of stream timer - -void CBaseRenderer::ResetEndOfStreamTimer() -{ - ASSERT(CritCheckOut(&m_RendererLock)); - if (m_EndOfStreamTimer) { - timeKillEvent(m_EndOfStreamTimer); - m_EndOfStreamTimer = 0; - } -} - - -// This is called when we start running so that we can schedule any pending -// image we have with the clock and display any timing information. If we -// don't have any sample but we have queued an EOS flag then we send it. If -// we do have a sample then we wait until that has been rendered before we -// signal the filter graph otherwise we may change state before it's done - -HRESULT CBaseRenderer::StartStreaming() -{ - CAutoLock cRendererLock(&m_RendererLock); - if (m_bStreaming == TRUE) { - return NOERROR; - } - - // Reset the streaming times ready for running - - m_bStreaming = TRUE; - - timeBeginPeriod(1); - OnStartStreaming(); - - // There should be no outstanding advise - ASSERT(WAIT_TIMEOUT == WaitForSingleObject((HANDLE)m_RenderEvent,0)); - ASSERT(CancelNotification() == S_FALSE); - - // If we have an EOS and no data then deliver it now - - if (m_pMediaSample == NULL) { - return SendEndOfStream(); - } - - // Have the data rendered - - ASSERT(m_pMediaSample); - if (!ScheduleSample(m_pMediaSample)) - m_RenderEvent.Set(); - - return NOERROR; -} - - -// This is called when we stop streaming so that we can set our internal flag -// indicating we are not now to schedule any more samples arriving. The state -// change methods in the filter implementation take care of cancelling any -// clock advise link we have set up and clearing any pending sample we have - -HRESULT CBaseRenderer::StopStreaming() -{ - CAutoLock cRendererLock(&m_RendererLock); - m_bEOSDelivered = FALSE; - - if (m_bStreaming == TRUE) { - m_bStreaming = FALSE; - OnStopStreaming(); - timeEndPeriod(1); - } - return NOERROR; -} - - -// We have a boolean flag that is reset when we have signalled EC_REPAINT to -// the filter graph. We set this when we receive an image so that should any -// conditions arise again we can send another one. By having a flag we ensure -// we don't flood the filter graph with redundant calls. We do not set the -// event when we receive an EndOfStream call since there is no point in us -// sending further EC_REPAINTs. In particular the AutoShowWindow method and -// the DirectDraw object use this method to control the window repainting - -void CBaseRenderer::SetRepaintStatus(BOOL bRepaint) -{ - CAutoLock cSampleLock(&m_RendererLock); - m_bRepaintStatus = bRepaint; -} - - -// Pass the window handle to the upstream filter - -void CBaseRenderer::SendNotifyWindow(IPin *pPin,HWND hwnd) -{ - IMediaEventSink *pSink; - - // Does the pin support IMediaEventSink - HRESULT hr = pPin->QueryInterface(IID_IMediaEventSink,(void **)&pSink); - if (SUCCEEDED(hr)) { - pSink->Notify(EC_NOTIFY_WINDOW,LONG_PTR(hwnd),0); - pSink->Release(); - } - NotifyEvent(EC_NOTIFY_WINDOW,LONG_PTR(hwnd),0); -} - - -// Signal an EC_REPAINT to the filter graph. This can be used to have data -// sent to us. For example when a video window is first displayed it may -// not have an image to display, at which point it signals EC_REPAINT. The -// filtergraph will either pause the graph if stopped or if already paused -// it will call put_CurrentPosition of the current position. Setting the -// current position to itself has the stream flushed and the image resent - -#define RLOG(_x_) DbgLog((LOG_TRACE,1,TEXT(_x_))); - -void CBaseRenderer::SendRepaint() -{ - CAutoLock cSampleLock(&m_RendererLock); - ASSERT(m_pInputPin); - - // We should not send repaint notifications when... - // - An end of stream has been notified - // - Our input pin is being flushed - // - The input pin is not connected - // - We have aborted a video playback - // - There is a repaint already sent - - if (m_bAbort == FALSE) { - if (m_pInputPin->IsConnected() == TRUE) { - if (m_pInputPin->IsFlushing() == FALSE) { - if (IsEndOfStream() == FALSE) { - if (m_bRepaintStatus == TRUE) { - IPin *pPin = (IPin *) m_pInputPin; - NotifyEvent(EC_REPAINT,(LONG_PTR) pPin,0); - SetRepaintStatus(FALSE); - RLOG("Sending repaint"); - } - } - } - } - } -} - - -// When a video window detects a display change (WM_DISPLAYCHANGE message) it -// can send an EC_DISPLAY_CHANGED event code along with the renderer pin. The -// filtergraph will stop everyone and reconnect our input pin. As we're then -// reconnected we can accept the media type that matches the new display mode -// since we may no longer be able to draw the current image type efficiently - -BOOL CBaseRenderer::OnDisplayChange() -{ - // Ignore if we are not connected yet - - CAutoLock cSampleLock(&m_RendererLock); - if (m_pInputPin->IsConnected() == FALSE) { - return FALSE; - } - - RLOG("Notification of EC_DISPLAY_CHANGE"); - - // Pass our input pin as parameter on the event - - IPin *pPin = (IPin *) m_pInputPin; - m_pInputPin->AddRef(); - NotifyEvent(EC_DISPLAY_CHANGED,(LONG_PTR) pPin,0); - SetAbortSignal(TRUE); - ClearPendingSample(); - m_pInputPin->Release(); - - return TRUE; -} - - -// Called just before we start drawing. -// Store the current time in m_trRenderStart to allow the rendering time to be -// logged. Log the time stamp of the sample and how late it is (neg is early) - -void CBaseRenderer::OnRenderStart(IMediaSample *pMediaSample) -{ -#ifdef PERF - REFERENCE_TIME trStart, trEnd; - pMediaSample->GetTime(&trStart, &trEnd); - - MSR_INTEGER(m_idBaseStamp, (int)trStart); // dump low order 32 bits - - m_pClock->GetTime(&m_trRenderStart); - MSR_INTEGER(0, (int)m_trRenderStart); - REFERENCE_TIME trStream; - trStream = m_trRenderStart-m_tStart; // convert reftime to stream time - MSR_INTEGER(0,(int)trStream); - - const int trLate = (int)(trStream - trStart); - MSR_INTEGER(m_idBaseAccuracy, trLate/10000); // dump in mSec -#endif - -} // OnRenderStart - - -// Called directly after drawing an image. -// calculate the time spent drawing and log it. - -void CBaseRenderer::OnRenderEnd(IMediaSample *pMediaSample) -{ -#ifdef PERF - REFERENCE_TIME trNow; - m_pClock->GetTime(&trNow); - MSR_INTEGER(0,(int)trNow); - int t = (int)((trNow - m_trRenderStart)/10000); // convert UNITS->msec - MSR_INTEGER(m_idBaseRenderTime, t); -#endif -} // OnRenderEnd - - - - -// Constructor must be passed the base renderer object - -CRendererInputPin::CRendererInputPin(__inout CBaseRenderer *pRenderer, - __inout HRESULT *phr, - __in_opt LPCWSTR pPinName) : - CBaseInputPin(NAME("Renderer pin"), - pRenderer, - &pRenderer->m_InterfaceLock, - (HRESULT *) phr, - pPinName) -{ - m_pRenderer = pRenderer; - ASSERT(m_pRenderer); -} - - -// Signals end of data stream on the input pin - -STDMETHODIMP CRendererInputPin::EndOfStream() -{ - CAutoLock cRendererLock(&m_pRenderer->m_InterfaceLock); - CAutoLock cSampleLock(&m_pRenderer->m_RendererLock); - - // Make sure we're streaming ok - - HRESULT hr = CheckStreaming(); - if (hr != NOERROR) { - return hr; - } - - // Pass it onto the renderer - - hr = m_pRenderer->EndOfStream(); - if (SUCCEEDED(hr)) { - hr = CBaseInputPin::EndOfStream(); - } - return hr; -} - - -// Signals start of flushing on the input pin - we do the final reset end of -// stream with the renderer lock unlocked but with the interface lock locked -// We must do this because we call timeKillEvent, our timer callback method -// has to take the renderer lock to serialise our state. Therefore holding a -// renderer lock when calling timeKillEvent could cause a deadlock condition - -STDMETHODIMP CRendererInputPin::BeginFlush() -{ - CAutoLock cRendererLock(&m_pRenderer->m_InterfaceLock); - { - CAutoLock cSampleLock(&m_pRenderer->m_RendererLock); - CBaseInputPin::BeginFlush(); - m_pRenderer->BeginFlush(); - } - return m_pRenderer->ResetEndOfStream(); -} - - -// Signals end of flushing on the input pin - -STDMETHODIMP CRendererInputPin::EndFlush() -{ - CAutoLock cRendererLock(&m_pRenderer->m_InterfaceLock); - CAutoLock cSampleLock(&m_pRenderer->m_RendererLock); - - HRESULT hr = m_pRenderer->EndFlush(); - if (SUCCEEDED(hr)) { - hr = CBaseInputPin::EndFlush(); - } - return hr; -} - - -// Pass the sample straight through to the renderer object - -STDMETHODIMP CRendererInputPin::Receive(IMediaSample *pSample) -{ - HRESULT hr = m_pRenderer->Receive(pSample); - if (FAILED(hr)) { - - // A deadlock could occur if the caller holds the renderer lock and - // attempts to acquire the interface lock. - ASSERT(CritCheckOut(&m_pRenderer->m_RendererLock)); - - { - // The interface lock must be held when the filter is calling - // IsStopped() or IsFlushing(). The interface lock must also - // be held because the function uses m_bRunTimeError. - CAutoLock cRendererLock(&m_pRenderer->m_InterfaceLock); - - // We do not report errors which occur while the filter is stopping, - // flushing or if the m_bAbort flag is set . Errors are expected to - // occur during these operations and the streaming thread correctly - // handles the errors. - if (!IsStopped() && !IsFlushing() && !m_pRenderer->m_bAbort && !m_bRunTimeError) { - - // EC_ERRORABORT's first parameter is the error which caused - // the event and its' last parameter is 0. See the Direct - // Show SDK documentation for more information. - m_pRenderer->NotifyEvent(EC_ERRORABORT,hr,0); - - { - CAutoLock alRendererLock(&m_pRenderer->m_RendererLock); - if (m_pRenderer->IsStreaming() && !m_pRenderer->IsEndOfStreamDelivered()) { - m_pRenderer->NotifyEndOfStream(); - } - } - - m_bRunTimeError = TRUE; - } - } - } - - return hr; -} - - -// Called when the input pin is disconnected - -HRESULT CRendererInputPin::BreakConnect() -{ - HRESULT hr = m_pRenderer->BreakConnect(); - if (FAILED(hr)) { - return hr; - } - return CBaseInputPin::BreakConnect(); -} - - -// Called when the input pin is connected - -HRESULT CRendererInputPin::CompleteConnect(IPin *pReceivePin) -{ - HRESULT hr = m_pRenderer->CompleteConnect(pReceivePin); - if (FAILED(hr)) { - return hr; - } - return CBaseInputPin::CompleteConnect(pReceivePin); -} - - -// Give the pin id of our one and only pin - -STDMETHODIMP CRendererInputPin::QueryId(__deref_out LPWSTR *Id) -{ - CheckPointer(Id,E_POINTER); - - const WCHAR szIn[] = L"In"; - - *Id = (LPWSTR)CoTaskMemAlloc(sizeof(szIn)); - if (*Id == NULL) { - return E_OUTOFMEMORY; - } - CopyMemory(*Id, szIn, sizeof(szIn)); - return NOERROR; -} - - -// Will the filter accept this media type - -HRESULT CRendererInputPin::CheckMediaType(const CMediaType *pmt) -{ - return m_pRenderer->CheckMediaType(pmt); -} - - -// Called when we go paused or running - -HRESULT CRendererInputPin::Active() -{ - return m_pRenderer->Active(); -} - - -// Called when we go into a stopped state - -HRESULT CRendererInputPin::Inactive() -{ - // The caller must hold the interface lock because - // this function uses m_bRunTimeError. - ASSERT(CritCheckIn(&m_pRenderer->m_InterfaceLock)); - - m_bRunTimeError = FALSE; - - return m_pRenderer->Inactive(); -} - - -// Tell derived classes about the media type agreed - -HRESULT CRendererInputPin::SetMediaType(const CMediaType *pmt) -{ - HRESULT hr = CBaseInputPin::SetMediaType(pmt); - if (FAILED(hr)) { - return hr; - } - return m_pRenderer->SetMediaType(pmt); -} - - -// We do not keep an event object to use when setting up a timer link with -// the clock but are given a pointer to one by the owning object through the -// SetNotificationObject method - this must be initialised before starting -// We can override the default quality management process to have it always -// draw late frames, this is currently done by having the following registry -// key (actually an INI key) called DrawLateFrames set to 1 (default is 0) - -const TCHAR AMQUALITY[] = TEXT("ActiveMovie"); -const TCHAR DRAWLATEFRAMES[] = TEXT("DrawLateFrames"); - -CBaseVideoRenderer::CBaseVideoRenderer( - REFCLSID RenderClass, // CLSID for this renderer - __in_opt LPCTSTR pName, // Debug ONLY description - __inout_opt LPUNKNOWN pUnk, // Aggregated owner object - __inout HRESULT *phr) : // General OLE return code - - CBaseRenderer(RenderClass,pName,pUnk,phr), - m_cFramesDropped(0), - m_cFramesDrawn(0), - m_bSupplierHandlingQuality(FALSE) -{ - ResetStreamingTimes(); - -#ifdef PERF - m_idTimeStamp = MSR_REGISTER(TEXT("Frame time stamp")); - m_idEarliness = MSR_REGISTER(TEXT("Earliness fudge")); - m_idTarget = MSR_REGISTER(TEXT("Target (mSec)")); - m_idSchLateTime = MSR_REGISTER(TEXT("mSec late when scheduled")); - m_idDecision = MSR_REGISTER(TEXT("Scheduler decision code")); - m_idQualityRate = MSR_REGISTER(TEXT("Quality rate sent")); - m_idQualityTime = MSR_REGISTER(TEXT("Quality time sent")); - m_idWaitReal = MSR_REGISTER(TEXT("Render wait")); - // m_idWait = MSR_REGISTER(TEXT("wait time recorded (msec)")); - m_idFrameAccuracy = MSR_REGISTER(TEXT("Frame accuracy (msecs)")); - m_bDrawLateFrames = GetProfileInt(AMQUALITY, DRAWLATEFRAMES, FALSE); - //m_idSendQuality = MSR_REGISTER(TEXT("Processing Quality message")); - - m_idRenderAvg = MSR_REGISTER(TEXT("Render draw time Avg")); - m_idFrameAvg = MSR_REGISTER(TEXT("FrameAvg")); - m_idWaitAvg = MSR_REGISTER(TEXT("WaitAvg")); - m_idDuration = MSR_REGISTER(TEXT("Duration")); - m_idThrottle = MSR_REGISTER(TEXT("Audio-video throttle wait")); - // m_idDebug = MSR_REGISTER(TEXT("Debug stuff")); -#endif // PERF -} // Constructor - - -// Destructor is just a placeholder - -CBaseVideoRenderer::~CBaseVideoRenderer() -{ - ASSERT(m_dwAdvise == 0); -} - - -// The timing functions in this class are called by the window object and by -// the renderer's allocator. -// The windows object calls timing functions as it receives media sample -// images for drawing using GDI. -// The allocator calls timing functions when it starts passing DCI/DirectDraw -// surfaces which are not rendered in the same way; The decompressor writes -// directly to the surface with no separate rendering, so those code paths -// call direct into us. Since we only ever hand out DCI/DirectDraw surfaces -// when we have allocated one and only one image we know there cannot be any -// conflict between the two. -// -// We use timeGetTime to return the timing counts we use (since it's relative -// performance we are interested in rather than absolute compared to a clock) -// The window object sets the accuracy of the system clock (normally 1ms) by -// calling timeBeginPeriod/timeEndPeriod when it changes streaming states - - -// Reset all times controlling streaming. -// Set them so that -// 1. Frames will not initially be dropped -// 2. The first frame will definitely be drawn (achieved by saying that there -// has not ben a frame drawn for a long time). - -HRESULT CBaseVideoRenderer::ResetStreamingTimes() -{ - m_trLastDraw = -1000; // set up as first frame since ages (1 sec) ago - m_tStreamingStart = timeGetTime(); - m_trRenderAvg = 0; - m_trFrameAvg = -1; // -1000 fps == "unset" - m_trDuration = 0; // 0 - strange value - m_trRenderLast = 0; - m_trWaitAvg = 0; - m_tRenderStart = 0; - m_cFramesDrawn = 0; - m_cFramesDropped = 0; - m_iTotAcc = 0; - m_iSumSqAcc = 0; - m_iSumSqFrameTime = 0; - m_trFrame = 0; // hygeine - not really needed - m_trLate = 0; // hygeine - not really needed - m_iSumFrameTime = 0; - m_nNormal = 0; - m_trEarliness = 0; - m_trTarget = -300000; // 30mSec early - m_trThrottle = 0; - m_trRememberStampForPerf = 0; - -#ifdef PERF - m_trRememberFrameForPerf = 0; -#endif - - return NOERROR; -} // ResetStreamingTimes - - -// Reset all times controlling streaming. Note that we're now streaming. We -// don't need to set the rendering event to have the source filter released -// as it is done during the Run processing. When we are run we immediately -// release the source filter thread and draw any image waiting (that image -// may already have been drawn once as a poster frame while we were paused) - -HRESULT CBaseVideoRenderer::OnStartStreaming() -{ - ResetStreamingTimes(); - return NOERROR; -} // OnStartStreaming - - -// Called at end of streaming. Fixes times for property page report - -HRESULT CBaseVideoRenderer::OnStopStreaming() -{ - m_tStreamingStart = timeGetTime()-m_tStreamingStart; - return NOERROR; -} // OnStopStreaming - - -// Called when we start waiting for a rendering event. -// Used to update times spent waiting and not waiting. - -void CBaseVideoRenderer::OnWaitStart() -{ - MSR_START(m_idWaitReal); -} // OnWaitStart - - -// Called when we are awoken from the wait in the window OR by our allocator -// when it is hanging around until the next sample is due for rendering on a -// DCI/DirectDraw surface. We add the wait time into our rolling average. -// We grab the interface lock so that we're serialised with the application -// thread going through the run code - which in due course ends up calling -// ResetStreaming times - possibly as we run through this section of code - -void CBaseVideoRenderer::OnWaitEnd() -{ -#ifdef PERF - MSR_STOP(m_idWaitReal); - // for a perf build we want to know just exactly how late we REALLY are. - // even if this means that we have to look at the clock again. - - REFERENCE_TIME trRealStream; // the real time now expressed as stream time. -#if 0 - m_pClock->GetTime(&trRealStream); // Calling clock here causes W95 deadlock! -#else - // We will be discarding overflows like mad here! - // This is wrong really because timeGetTime() can wrap but it's - // only for PERF - REFERENCE_TIME tr = timeGetTime()*10000; - trRealStream = tr + m_llTimeOffset; -#endif - trRealStream -= m_tStart; // convert to stream time (this is a reftime) - - if (m_trRememberStampForPerf==0) { - // This is probably the poster frame at the start, and it is not scheduled - // in the usual way at all. Just count it. The rememberstamp gets set - // in ShouldDrawSampleNow, so this does invalid frame recording until we - // actually start playing. - PreparePerformanceData(0, 0); - } else { - int trLate = (int)(trRealStream - m_trRememberStampForPerf); - int trFrame = (int)(tr - m_trRememberFrameForPerf); - PreparePerformanceData(trLate, trFrame); - } - m_trRememberFrameForPerf = tr; -#endif //PERF -} // OnWaitEnd - - -// Put data on one side that describes the lateness of the current frame. -// We don't yet know whether it will actually be drawn. In direct draw mode, -// this decision is up to the filter upstream, and it could change its mind. -// The rules say that if it did draw it must call Receive(). One way or -// another we eventually get into either OnRenderStart or OnDirectRender and -// these both call RecordFrameLateness to update the statistics. - -void CBaseVideoRenderer::PreparePerformanceData(int trLate, int trFrame) -{ - m_trLate = trLate; - m_trFrame = trFrame; -} // PreparePerformanceData - - -// update the statistics: -// m_iTotAcc, m_iSumSqAcc, m_iSumSqFrameTime, m_iSumFrameTime, m_cFramesDrawn -// Note that because the properties page reports using these variables, -// 1. We need to be inside a critical section -// 2. They must all be updated together. Updating the sums here and the count -// elsewhere can result in imaginary jitter (i.e. attempts to find square roots -// of negative numbers) in the property page code. - -void CBaseVideoRenderer::RecordFrameLateness(int trLate, int trFrame) -{ - // Record how timely we are. - int tLate = trLate/10000; - - // Best estimate of moment of appearing on the screen is average of - // start and end draw times. Here we have only the end time. This may - // tend to show us as spuriously late by up to 1/2 frame rate achieved. - // Decoder probably monitors draw time. We don't bother. - MSR_INTEGER( m_idFrameAccuracy, tLate ); - - // This is a kludge - we can get frames that are very late - // especially (at start-up) and they invalidate the statistics. - // So ignore things that are more than 1 sec off. - if (tLate>1000 || tLate<-1000) { - if (m_cFramesDrawn<=1) { - tLate = 0; - } else if (tLate>0) { - tLate = 1000; - } else { - tLate = -1000; - } - } - // The very first frame often has a invalid time, so don't - // count it into the statistics. (???) - if (m_cFramesDrawn>1) { - m_iTotAcc += tLate; - m_iSumSqAcc += (tLate*tLate); - } - - // calculate inter-frame time. Doesn't make sense for first frame - // second frame suffers from invalid first frame stamp. - if (m_cFramesDrawn>2) { - int tFrame = trFrame/10000; // convert to mSec else it overflows - - // This is a kludge. It can overflow anyway (a pause can cause - // a very long inter-frame time) and it overflows at 2**31/10**7 - // or about 215 seconds i.e. 3min 35sec - if (tFrame>1000||tFrame<0) tFrame = 1000; - m_iSumSqFrameTime += tFrame*tFrame; - ASSERT(m_iSumSqFrameTime>=0); - m_iSumFrameTime += tFrame; - } - ++m_cFramesDrawn; - -} // RecordFrameLateness - - -void CBaseVideoRenderer::ThrottleWait() -{ - if (m_trThrottle>0) { - int iThrottle = m_trThrottle/10000; // convert to mSec - MSR_INTEGER( m_idThrottle, iThrottle); - DbgLog((LOG_TRACE, 0, TEXT("Throttle %d ms"), iThrottle)); - Sleep(iThrottle); - } else { - Sleep(0); - } -} // ThrottleWait - - -// Whenever a frame is rendered it goes though either OnRenderStart -// or OnDirectRender. Data that are generated during ShouldDrawSample -// are added to the statistics by calling RecordFrameLateness from both -// these two places. - -// Called in place of OnRenderStart..OnRenderEnd -// When a DirectDraw image is drawn -void CBaseVideoRenderer::OnDirectRender(IMediaSample *pMediaSample) -{ - m_trRenderAvg = 0; - m_trRenderLast = 5000000; // If we mode switch, we do NOT want this - // to inhibit the new average getting going! - // so we set it to half a second - // MSR_INTEGER(m_idRenderAvg, m_trRenderAvg/10000); - RecordFrameLateness(m_trLate, m_trFrame); - ThrottleWait(); -} // OnDirectRender - - -// Called just before we start drawing. All we do is to get the current clock -// time (from the system) and return. We have to store the start render time -// in a member variable because it isn't used until we complete the drawing -// The rest is just performance logging. - -void CBaseVideoRenderer::OnRenderStart(IMediaSample *pMediaSample) -{ - RecordFrameLateness(m_trLate, m_trFrame); - m_tRenderStart = timeGetTime(); -} // OnRenderStart - - -// Called directly after drawing an image. We calculate the time spent in the -// drawing code and if this doesn't appear to have any odd looking spikes in -// it then we add it to the current average draw time. Measurement spikes may -// occur if the drawing thread is interrupted and switched to somewhere else. - -void CBaseVideoRenderer::OnRenderEnd(IMediaSample *pMediaSample) -{ - // The renderer time can vary erratically if we are interrupted so we do - // some smoothing to help get more sensible figures out but even that is - // not enough as figures can go 9,10,9,9,83,9 and we must disregard 83 - - int tr = (timeGetTime() - m_tRenderStart)*10000; // convert mSec->UNITS - if (tr < m_trRenderAvg*2 || tr < 2 * m_trRenderLast) { - // DO_MOVING_AVG(m_trRenderAvg, tr); - m_trRenderAvg = (tr + (AVGPERIOD-1)*m_trRenderAvg)/AVGPERIOD; - } - m_trRenderLast = tr; - ThrottleWait(); -} // OnRenderEnd - - -STDMETHODIMP CBaseVideoRenderer::SetSink( IQualityControl * piqc) -{ - - m_pQSink = piqc; - - return NOERROR; -} // SetSink - - -STDMETHODIMP CBaseVideoRenderer::Notify( IBaseFilter * pSelf, Quality q) -{ - // NOTE: We are NOT getting any locks here. We could be called - // asynchronously and possibly even on a time critical thread of - // someone else's - so we do the minumum. We only set one state - // variable (an integer) and if that happens to be in the middle - // of another thread reading it they will just get either the new - // or the old value. Locking would achieve no more than this. - - // It might be nice to check that we are being called from m_pGraph, but - // it turns out to be a millisecond or so per throw! - - // This is heuristics, these numbers are aimed at being "what works" - // rather than anything based on some theory. - // We use a hyperbola because it's easy to calculate and it includes - // a panic button asymptote (which we push off just to the left) - // The throttling fits the following table (roughly) - // Proportion Throttle (msec) - // >=1000 0 - // 900 3 - // 800 7 - // 700 11 - // 600 17 - // 500 25 - // 400 35 - // 300 50 - // 200 72 - // 125 100 - // 100 112 - // 50 146 - // 0 200 - - // (some evidence that we could go for a sharper kink - e.g. no throttling - // until below the 750 mark - might give fractionally more frames on a - // P60-ish machine). The easy way to get these coefficients is to use - // Renbase.xls follow the instructions therein using excel solver. - - if (q.Proportion>=1000) { m_trThrottle = 0; } - else { - // The DWORD is to make quite sure I get unsigned arithmetic - // as the constant is between 2**31 and 2**32 - m_trThrottle = -330000 + (388880000/(q.Proportion+167)); - } - return NOERROR; -} // Notify - - -// Send a message to indicate what our supplier should do about quality. -// Theory: -// What a supplier wants to know is "is the frame I'm working on NOW -// going to be late?". -// F1 is the frame at the supplier (as above) -// Tf1 is the due time for F1 -// T1 is the time at that point (NOW!) -// Tr1 is the time that f1 WILL actually be rendered -// L1 is the latency of the graph for frame F1 = Tr1-T1 -// D1 (for delay) is how late F1 will be beyond its due time i.e. -// D1 = (Tr1-Tf1) which is what the supplier really wants to know. -// Unfortunately Tr1 is in the future and is unknown, so is L1 -// -// We could estimate L1 by its value for a previous frame, -// L0 = Tr0-T0 and work off -// D1' = ((T1+L0)-Tf1) = (T1 + (Tr0-T0) -Tf1) -// Rearranging terms: -// D1' = (T1-T0) + (Tr0-Tf1) -// adding (Tf0-Tf0) and rearranging again: -// = (T1-T0) + (Tr0-Tf0) + (Tf0-Tf1) -// = (T1-T0) - (Tf1-Tf0) + (Tr0-Tf0) -// But (Tr0-Tf0) is just D0 - how late frame zero was, and this is the -// Late field in the quality message that we send. -// The other two terms just state what correction should be applied before -// using the lateness of F0 to predict the lateness of F1. -// (T1-T0) says how much time has actually passed (we have lost this much) -// (Tf1-Tf0) says how much time should have passed if we were keeping pace -// (we have gained this much). -// -// Suppliers should therefore work off: -// Quality.Late + (T1-T0) - (Tf1-Tf0) -// and see if this is "acceptably late" or even early (i.e. negative). -// They get T1 and T0 by polling the clock, they get Tf1 and Tf0 from -// the time stamps in the frames. They get Quality.Late from us. -// - -HRESULT CBaseVideoRenderer::SendQuality(REFERENCE_TIME trLate, - REFERENCE_TIME trRealStream) -{ - Quality q; - HRESULT hr; - - // If we are the main user of time, then report this as Flood/Dry. - // If our suppliers are, then report it as Famine/Glut. - // - // We need to take action, but avoid hunting. Hunting is caused by - // 1. Taking too much action too soon and overshooting - // 2. Taking too long to react (so averaging can CAUSE hunting). - // - // The reason why we use trLate as well as Wait is to reduce hunting; - // if the wait time is coming down and about to go into the red, we do - // NOT want to rely on some average which is only telling is that it used - // to be OK once. - - q.TimeStamp = (REFERENCE_TIME)trRealStream; - - if (m_trFrameAvg<0) { - q.Type = Famine; // guess - } - // Is the greater part of the time taken bltting or something else - else if (m_trFrameAvg > 2*m_trRenderAvg) { - q.Type = Famine; // mainly other - } else { - q.Type = Flood; // mainly bltting - } - - q.Proportion = 1000; // default - - if (m_trFrameAvg<0) { - // leave it alone - we don't know enough - } - else if ( trLate> 0 ) { - // try to catch up over the next second - // We could be Really, REALLY late, but rendering all the frames - // anyway, just because it's so cheap. - - q.Proportion = 1000 - (int)((trLate)/(UNITS/1000)); - if (q.Proportion<500) { - q.Proportion = 500; // don't go daft. (could've been negative!) - } else { - } - - } else if ( m_trWaitAvg>20000 - && trLate<-20000 - ){ - // Go cautiously faster - aim at 2mSec wait. - if (m_trWaitAvg>=m_trFrameAvg) { - // This can happen because of some fudges. - // The waitAvg is how long we originally planned to wait - // The frameAvg is more honest. - // It means that we are spending a LOT of time waiting - q.Proportion = 2000; // double. - } else { - if (m_trFrameAvg+20000 > m_trWaitAvg) { - q.Proportion - = 1000 * (m_trFrameAvg / (m_trFrameAvg + 20000 - m_trWaitAvg)); - } else { - // We're apparently spending more than the whole frame time waiting. - // Assume that the averages are slightly out of kilter, but that we - // are indeed doing a lot of waiting. (This leg probably never - // happens, but the code avoids any potential divide by zero). - q.Proportion = 2000; - } - } - - if (q.Proportion>2000) { - q.Proportion = 2000; // don't go crazy. - } - } - - // Tell the supplier how late frames are when they get rendered - // That's how late we are now. - // If we are in directdraw mode then the guy upstream can see the drawing - // times and we'll just report on the start time. He can figure out any - // offset to apply. If we are in DIB Section mode then we will apply an - // extra offset which is half of our drawing time. This is usually small - // but can sometimes be the dominant effect. For this we will use the - // average drawing time rather than the last frame. If the last frame took - // a long time to draw and made us late, that's already in the lateness - // figure. We should not add it in again unless we expect the next frame - // to be the same. We don't, we expect the average to be a better shot. - // In direct draw mode the RenderAvg will be zero. - - q.Late = trLate + m_trRenderAvg/2; - - // log what we're doing - MSR_INTEGER(m_idQualityRate, q.Proportion); - MSR_INTEGER( m_idQualityTime, (int)q.Late / 10000 ); - - // A specific sink interface may be set through IPin - - if (m_pQSink==NULL) { - // Get our input pin's peer. We send quality management messages - // to any nominated receiver of these things (set in the IPin - // interface), or else to our source filter. - - IQualityControl *pQC = NULL; - IPin *pOutputPin = m_pInputPin->GetConnected(); - ASSERT(pOutputPin != NULL); - - // And get an AddRef'd quality control interface - - hr = pOutputPin->QueryInterface(IID_IQualityControl,(void**) &pQC); - if (SUCCEEDED(hr)) { - m_pQSink = pQC; - } - } - if (m_pQSink) { - return m_pQSink->Notify(this,q); - } - - return S_FALSE; - -} // SendQuality - - -// We are called with a valid IMediaSample image to decide whether this is to -// be drawn or not. There must be a reference clock in operation. -// Return S_OK if it is to be drawn Now (as soon as possible) -// Return S_FALSE if it is to be drawn when it's due -// Return an error if we want to drop it -// m_nNormal=-1 indicates that we dropped the previous frame and so this -// one should be drawn early. Respect it and update it. -// Use current stream time plus a number of heuristics (detailed below) -// to make the decision - -HRESULT CBaseVideoRenderer::ShouldDrawSampleNow(IMediaSample *pMediaSample, - __inout REFERENCE_TIME *ptrStart, - __inout REFERENCE_TIME *ptrEnd) -{ - - // Don't call us unless there's a clock interface to synchronise with - ASSERT(m_pClock); - - MSR_INTEGER(m_idTimeStamp, (int)((*ptrStart)>>32)); // high order 32 bits - MSR_INTEGER(m_idTimeStamp, (int)(*ptrStart)); // low order 32 bits - - // We lose a bit of time depending on the monitor type waiting for the next - // screen refresh. On average this might be about 8mSec - so it will be - // later than we think when the picture appears. To compensate a bit - // we bias the media samples by -8mSec i.e. 80000 UNITs. - // We don't ever make a stream time negative (call it paranoia) - if (*ptrStart>=80000) { - *ptrStart -= 80000; - *ptrEnd -= 80000; // bias stop to to retain valid frame duration - } - - // Cache the time stamp now. We will want to compare what we did with what - // we started with (after making the monitor allowance). - m_trRememberStampForPerf = *ptrStart; - - // Get reference times (current and late) - REFERENCE_TIME trRealStream; // the real time now expressed as stream time. - m_pClock->GetTime(&trRealStream); -#ifdef PERF - // While the reference clock is expensive: - // Remember the offset from timeGetTime and use that. - // This overflows all over the place, but when we subtract to get - // differences the overflows all cancel out. - m_llTimeOffset = trRealStream-timeGetTime()*10000; -#endif - trRealStream -= m_tStart; // convert to stream time (this is a reftime) - - // We have to wory about two versions of "lateness". The truth, which we - // try to work out here and the one measured against m_trTarget which - // includes long term feedback. We report statistics against the truth - // but for operational decisions we work to the target. - // We use TimeDiff to make sure we get an integer because we - // may actually be late (or more likely early if there is a big time - // gap) by a very long time. - const int trTrueLate = TimeDiff(trRealStream - *ptrStart); - const int trLate = trTrueLate; - - MSR_INTEGER(m_idSchLateTime, trTrueLate/10000); - - // Send quality control messages upstream, measured against target - HRESULT hr = SendQuality(trLate, trRealStream); - // Note: the filter upstream is allowed to this FAIL meaning "you do it". - m_bSupplierHandlingQuality = (hr==S_OK); - - // Decision time! Do we drop, draw when ready or draw immediately? - - const int trDuration = (int)(*ptrEnd - *ptrStart); - { - // We need to see if the frame rate of the file has just changed. - // This would make comparing our previous frame rate with the current - // frame rate inefficent. Hang on a moment though. I've seen files - // where the frames vary between 33 and 34 mSec so as to average - // 30fps. A minor variation like that won't hurt us. - int t = m_trDuration/32; - if ( trDuration > m_trDuration+t - || trDuration < m_trDuration-t - ) { - // There's a major variation. Reset the average frame rate to - // exactly the current rate to disable decision 9002 for this frame, - // and remember the new rate. - m_trFrameAvg = trDuration; - m_trDuration = trDuration; - } - } - - MSR_INTEGER(m_idEarliness, m_trEarliness/10000); - MSR_INTEGER(m_idRenderAvg, m_trRenderAvg/10000); - MSR_INTEGER(m_idFrameAvg, m_trFrameAvg/10000); - MSR_INTEGER(m_idWaitAvg, m_trWaitAvg/10000); - MSR_INTEGER(m_idDuration, trDuration/10000); - -#ifdef PERF - if (S_OK==pMediaSample->IsDiscontinuity()) { - MSR_INTEGER(m_idDecision, 9000); - } -#endif - - // Control the graceful slide back from slow to fast machine mode. - // After a frame drop accept an early frame and set the earliness to here - // If this frame is already later than the earliness then slide it to here - // otherwise do the standard slide (reduce by about 12% per frame). - // Note: earliness is normally NEGATIVE - BOOL bJustDroppedFrame - = ( m_bSupplierHandlingQuality - // Can't use the pin sample properties because we might - // not be in Receive when we call this - && (S_OK == pMediaSample->IsDiscontinuity()) // he just dropped one - ) - || (m_nNormal==-1); // we just dropped one - - - // Set m_trEarliness (slide back from slow to fast machine mode) - if (trLate>0) { - m_trEarliness = 0; // we are no longer in fast machine mode at all! - } else if ( (trLate>=m_trEarliness) || bJustDroppedFrame) { - m_trEarliness = trLate; // Things have slipped of their own accord - } else { - m_trEarliness = m_trEarliness - m_trEarliness/8; // graceful slide - } - - // prepare the new wait average - but don't pollute the old one until - // we have finished with it. - int trWaitAvg; - { - // We never mix in a negative wait. This causes us to believe in fast machines - // slightly more. - int trL = trLate<0 ? -trLate : 0; - trWaitAvg = (trL + m_trWaitAvg*(AVGPERIOD-1))/AVGPERIOD; - } - - - int trFrame; - { - REFERENCE_TIME tr = trRealStream - m_trLastDraw; // Cd be large - 4 min pause! - if (tr>10000000) { - tr = 10000000; // 1 second - arbitrarily. - } - trFrame = int(tr); - } - - // We will DRAW this frame IF... - if ( - // ...the time we are spending drawing is a small fraction of the total - // observed inter-frame time so that dropping it won't help much. - (3*m_trRenderAvg <= m_trFrameAvg) - - // ...or our supplier is NOT handling things and the next frame would - // be less timely than this one or our supplier CLAIMS to be handling - // things, and is now less than a full FOUR frames late. - || ( m_bSupplierHandlingQuality - ? (trLate <= trDuration*4) - : (trLate+trLate < trDuration) - ) - - // ...or we are on average waiting for over eight milliseconds then - // this may be just a glitch. Draw it and we'll hope to catch up. - || (m_trWaitAvg > 80000) - - // ...or we haven't drawn an image for over a second. We will update - // the display, which stops the video looking hung. - // Do this regardless of how late this media sample is. - || ((trRealStream - m_trLastDraw) > UNITS) - - ) { - HRESULT Result; - - // We are going to play this frame. We may want to play it early. - // We will play it early if we think we are in slow machine mode. - // If we think we are NOT in slow machine mode, we will still play - // it early by m_trEarliness as this controls the graceful slide back. - // and in addition we aim at being m_trTarget late rather than "on time". - - BOOL bPlayASAP = FALSE; - - // we will play it AT ONCE (slow machine mode) if... - - // ...we are playing catch-up - if ( bJustDroppedFrame) { - bPlayASAP = TRUE; - MSR_INTEGER(m_idDecision, 9001); - } - - // ...or if we are running below the true frame rate - // exact comparisons are glitchy, for these measurements, - // so add an extra 5% or so - else if ( (m_trFrameAvg > trDuration + trDuration/16) - - // It's possible to get into a state where we are losing ground, but - // are a very long way ahead. To avoid this or recover from it - // we refuse to play early by more than 10 frames. - && (trLate > - trDuration*10) - ){ - bPlayASAP = TRUE; - MSR_INTEGER(m_idDecision, 9002); - } -#if 0 - // ...or if we have been late and are less than one frame early - else if ( (trLate + trDuration > 0) - && (m_trWaitAvg<=20000) - ) { - bPlayASAP = TRUE; - MSR_INTEGER(m_idDecision, 9003); - } -#endif - // We will NOT play it at once if we are grossly early. On very slow frame - // rate movies - e.g. clock.avi - it is not a good idea to leap ahead just - // because we got starved (for instance by the net) and dropped one frame - // some time or other. If we are more than 900mSec early, then wait. - if (trLate<-9000000) { - bPlayASAP = FALSE; - } - - if (bPlayASAP) { - - m_nNormal = 0; - MSR_INTEGER(m_idDecision, 0); - // When we are here, we are in slow-machine mode. trLate may well - // oscillate between negative and positive when the supplier is - // dropping frames to keep sync. We should not let that mislead - // us into thinking that we have as much as zero spare time! - // We just update with a zero wait. - m_trWaitAvg = (m_trWaitAvg*(AVGPERIOD-1))/AVGPERIOD; - - // Assume that we draw it immediately. Update inter-frame stats - m_trFrameAvg = (trFrame + m_trFrameAvg*(AVGPERIOD-1))/AVGPERIOD; -#ifndef PERF - // If this is NOT a perf build, then report what we know so far - // without looking at the clock any more. This assumes that we - // actually wait for exactly the time we hope to. It also reports - // how close we get to the manipulated time stamps that we now have - // rather than the ones we originally started with. It will - // therefore be a little optimistic. However it's fast. - PreparePerformanceData(trTrueLate, trFrame); -#endif - m_trLastDraw = trRealStream; - if (m_trEarliness > trLate) { - m_trEarliness = trLate; // if we are actually early, this is neg - } - Result = S_OK; // Draw it now - - } else { - ++m_nNormal; - // Set the average frame rate to EXACTLY the ideal rate. - // If we are exiting slow-machine mode then we will have caught up - // and be running ahead, so as we slide back to exact timing we will - // have a longer than usual gap at this point. If we record this - // real gap then we'll think that we're running slow and go back - // into slow-machine mode and vever get it straight. - m_trFrameAvg = trDuration; - MSR_INTEGER(m_idDecision, 1); - - // Play it early by m_trEarliness and by m_trTarget - - { - int trE = m_trEarliness; - if (trE < -m_trFrameAvg) { - trE = -m_trFrameAvg; - } - *ptrStart += trE; // N.B. earliness is negative - } - - int Delay = -trTrueLate; - Result = Delay<=0 ? S_OK : S_FALSE; // OK = draw now, FALSE = wait - - m_trWaitAvg = trWaitAvg; - - // Predict when it will actually be drawn and update frame stats - - if (Result==S_FALSE) { // We are going to wait - trFrame = TimeDiff(*ptrStart-m_trLastDraw); - m_trLastDraw = *ptrStart; - } else { - // trFrame is already = trRealStream-m_trLastDraw; - m_trLastDraw = trRealStream; - } -#ifndef PERF - int iAccuracy; - if (Delay>0) { - // Report lateness based on when we intend to play it - iAccuracy = TimeDiff(*ptrStart-m_trRememberStampForPerf); - } else { - // Report lateness based on playing it *now*. - iAccuracy = trTrueLate; // trRealStream-RememberStampForPerf; - } - PreparePerformanceData(iAccuracy, trFrame); -#endif - } - return Result; - } - - // We are going to drop this frame! - // Of course in DirectDraw mode the guy upstream may draw it anyway. - - // This will probably give a large negative wack to the wait avg. - m_trWaitAvg = trWaitAvg; - -#ifdef PERF - // Respect registry setting - debug only! - if (m_bDrawLateFrames) { - return S_OK; // draw it when it's ready - } // even though it's late. -#endif - - // We are going to drop this frame so draw the next one early - // n.b. if the supplier is doing direct draw then he may draw it anyway - // but he's doing something funny to arrive here in that case. - - MSR_INTEGER(m_idDecision, 2); - m_nNormal = -1; - return E_FAIL; // drop it - -} // ShouldDrawSampleNow - - -// NOTE we're called by both the window thread and the source filter thread -// so we have to be protected by a critical section (locked before called) -// Also, when the window thread gets signalled to render an image, it always -// does so regardless of how late it is. All the degradation is done when we -// are scheduling the next sample to be drawn. Hence when we start an advise -// link to draw a sample, that sample's time will always become the last one -// drawn - unless of course we stop streaming in which case we cancel links - -BOOL CBaseVideoRenderer::ScheduleSample(IMediaSample *pMediaSample) -{ - // We override ShouldDrawSampleNow to add quality management - - BOOL bDrawImage = CBaseRenderer::ScheduleSample(pMediaSample); - if (bDrawImage == FALSE) { - ++m_cFramesDropped; - return FALSE; - } - - // m_cFramesDrawn must NOT be updated here. It has to be updated - // in RecordFrameLateness at the same time as the other statistics. - return TRUE; -} - - -// Implementation of IQualProp interface needed to support the property page -// This is how the property page gets the data out of the scheduler. We are -// passed into the constructor the owning object in the COM sense, this will -// either be the video renderer or an external IUnknown if we're aggregated. -// We initialise our CUnknown base class with this interface pointer. Then -// all we have to do is to override NonDelegatingQueryInterface to expose -// our IQualProp interface. The AddRef and Release are handled automatically -// by the base class and will be passed on to the appropriate outer object - -STDMETHODIMP CBaseVideoRenderer::get_FramesDroppedInRenderer(__out int *pcFramesDropped) -{ - CheckPointer(pcFramesDropped,E_POINTER); - CAutoLock cVideoLock(&m_InterfaceLock); - *pcFramesDropped = m_cFramesDropped; - return NOERROR; -} // get_FramesDroppedInRenderer - - -// Set *pcFramesDrawn to the number of frames drawn since -// streaming started. - -STDMETHODIMP CBaseVideoRenderer::get_FramesDrawn( int *pcFramesDrawn) -{ - CheckPointer(pcFramesDrawn,E_POINTER); - CAutoLock cVideoLock(&m_InterfaceLock); - *pcFramesDrawn = m_cFramesDrawn; - return NOERROR; -} // get_FramesDrawn - - -// Set iAvgFrameRate to the frames per hundred secs since -// streaming started. 0 otherwise. - -STDMETHODIMP CBaseVideoRenderer::get_AvgFrameRate( int *piAvgFrameRate) -{ - CheckPointer(piAvgFrameRate,E_POINTER); - CAutoLock cVideoLock(&m_InterfaceLock); - - int t; - if (m_bStreaming) { - t = timeGetTime()-m_tStreamingStart; - } else { - t = m_tStreamingStart; - } - - if (t<=0) { - *piAvgFrameRate = 0; - ASSERT(m_cFramesDrawn == 0); - } else { - // i is frames per hundred seconds - *piAvgFrameRate = MulDiv(100000, m_cFramesDrawn, t); - } - return NOERROR; -} // get_AvgFrameRate - - -// Set *piAvg to the average sync offset since streaming started -// in mSec. The sync offset is the time in mSec between when the frame -// should have been drawn and when the frame was actually drawn. - -STDMETHODIMP CBaseVideoRenderer::get_AvgSyncOffset(__out int *piAvg) -{ - CheckPointer(piAvg,E_POINTER); - CAutoLock cVideoLock(&m_InterfaceLock); - - if (NULL==m_pClock) { - *piAvg = 0; - return NOERROR; - } - - // Note that we didn't gather the stats on the first frame - // so we use m_cFramesDrawn-1 here - if (m_cFramesDrawn<=1) { - *piAvg = 0; - } else { - *piAvg = (int)(m_iTotAcc / (m_cFramesDrawn-1)); - } - return NOERROR; -} // get_AvgSyncOffset - - -// To avoid dragging in the maths library - a cheap -// approximate integer square root. -// We do this by getting a starting guess which is between 1 -// and 2 times too large, followed by THREE iterations of -// Newton Raphson. (That will give accuracy to the nearest mSec -// for the range in question - roughly 0..1000) -// -// It would be faster to use a linear interpolation and ONE NR, but -// who cares. If anyone does - the best linear interpolation is -// to approximates sqrt(x) by -// y = x * (sqrt(2)-1) + 1 - 1/sqrt(2) + 1/(8*(sqrt(2)-1)) -// 0r y = x*0.41421 + 0.59467 -// This minimises the maximal error in the range in question. -// (error is about +0.008883 and then one NR will give error .0000something -// (Of course these are integers, so you can't just multiply by 0.41421 -// you'd have to do some sort of MulDiv). -// Anyone wanna check my maths? (This is only for a property display!) - -int isqrt(int x) -{ - int s = 1; - // Make s an initial guess for sqrt(x) - if (x > 0x40000000) { - s = 0x8000; // prevent any conceivable closed loop - } else { - while (s*s=0) s = (s*s+x)/(2*s); - if (s>=0) s = (s*s+x)/(2*s); - } - } - return s; -} - -// -// Do estimates for standard deviations for per-frame -// statistics -// -HRESULT CBaseVideoRenderer::GetStdDev( - int nSamples, - __out int *piResult, - LONGLONG llSumSq, - LONGLONG iTot -) -{ - CheckPointer(piResult,E_POINTER); - CAutoLock cVideoLock(&m_InterfaceLock); - - if (NULL==m_pClock) { - *piResult = 0; - return NOERROR; - } - - // If S is the Sum of the Squares of observations and - // T the Total (i.e. sum) of the observations and there were - // N observations, then an estimate of the standard deviation is - // sqrt( (S - T**2/N) / (N-1) ) - - if (nSamples<=1) { - *piResult = 0; - } else { - LONGLONG x; - // First frames have invalid stamps, so we get no stats for them - // So we need 2 frames to get 1 datum, so N is cFramesDrawn-1 - - // so we use m_cFramesDrawn-1 here - x = llSumSq - llMulDiv(iTot, iTot, nSamples, 0); - x = x / (nSamples-1); - ASSERT(x>=0); - *piResult = isqrt((LONG)x); - } - return NOERROR; -} - -// Set *piDev to the standard deviation in mSec of the sync offset -// of each frame since streaming started. - -STDMETHODIMP CBaseVideoRenderer::get_DevSyncOffset(__out int *piDev) -{ - // First frames have invalid stamps, so we get no stats for them - // So we need 2 frames to get 1 datum, so N is cFramesDrawn-1 - return GetStdDev(m_cFramesDrawn - 1, - piDev, - m_iSumSqAcc, - m_iTotAcc); -} // get_DevSyncOffset - - -// Set *piJitter to the standard deviation in mSec of the inter-frame time -// of frames since streaming started. - -STDMETHODIMP CBaseVideoRenderer::get_Jitter(__out int *piJitter) -{ - // First frames have invalid stamps, so we get no stats for them - // So second frame gives invalid inter-frame time - // So we need 3 frames to get 1 datum, so N is cFramesDrawn-2 - return GetStdDev(m_cFramesDrawn - 2, - piJitter, - m_iSumSqFrameTime, - m_iSumFrameTime); -} // get_Jitter - - -// Overidden to return our IQualProp interface - -STDMETHODIMP -CBaseVideoRenderer::NonDelegatingQueryInterface(REFIID riid,__deref_out VOID **ppv) -{ - // We return IQualProp and delegate everything else - - if (riid == IID_IQualProp) { - return GetInterface( (IQualProp *)this, ppv); - } else if (riid == IID_IQualityControl) { - return GetInterface( (IQualityControl *)this, ppv); - } - return CBaseRenderer::NonDelegatingQueryInterface(riid,ppv); -} - - -// Override JoinFilterGraph so that, just before leaving -// the graph we can send an EC_WINDOW_DESTROYED event - -STDMETHODIMP -CBaseVideoRenderer::JoinFilterGraph(__inout_opt IFilterGraph *pGraph, __in_opt LPCWSTR pName) -{ - // Since we send EC_ACTIVATE, we also need to ensure - // we send EC_WINDOW_DESTROYED or the resource manager may be - // holding us as a focus object - if (!pGraph && m_pGraph) { - - // We were in a graph and now we're not - // Do this properly in case we are aggregated - IBaseFilter* pFilter = this; - NotifyEvent(EC_WINDOW_DESTROYED, (LPARAM) pFilter, 0); - } - return CBaseFilter::JoinFilterGraph(pGraph, pName); -} - - -// This removes a large number of level 4 warnings from the -// Microsoft compiler which in this case are not very useful -#pragma warning(disable: 4514) - -#endif /* PJMEDIA_VIDEO_DEV_HAS_DSHOW */ diff --git a/res/pjproject/third_party/BaseClasses/renbase.h b/res/pjproject/third_party/BaseClasses/renbase.h deleted file mode 100644 index 8634c6bee9..0000000000 --- a/res/pjproject/third_party/BaseClasses/renbase.h +++ /dev/null @@ -1,478 +0,0 @@ -//------------------------------------------------------------------------------ -// File: RenBase.h -// -// Desc: DirectShow base classes - defines a generic ActiveX base renderer -// class. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - - -#ifndef __RENBASE__ -#define __RENBASE__ - -// Forward class declarations - -class CBaseRenderer; -class CBaseVideoRenderer; -class CRendererInputPin; - -// This is our input pin class that channels calls to the renderer - -class CRendererInputPin : public CBaseInputPin -{ -protected: - - CBaseRenderer *m_pRenderer; - -public: - - CRendererInputPin(__inout CBaseRenderer *pRenderer, - __inout HRESULT *phr, - __in_opt LPCWSTR Name); - - // Overriden from the base pin classes - - HRESULT BreakConnect(); - HRESULT CompleteConnect(IPin *pReceivePin); - HRESULT SetMediaType(const CMediaType *pmt); - HRESULT CheckMediaType(const CMediaType *pmt); - HRESULT Active(); - HRESULT Inactive(); - - // Add rendering behaviour to interface functions - - STDMETHODIMP QueryId(__deref_out LPWSTR *Id); - STDMETHODIMP EndOfStream(); - STDMETHODIMP BeginFlush(); - STDMETHODIMP EndFlush(); - STDMETHODIMP Receive(IMediaSample *pMediaSample); - - // Helper - IMemAllocator inline *Allocator() const - { - return m_pAllocator; - } -}; - -// Main renderer class that handles synchronisation and state changes - -class CBaseRenderer : public CBaseFilter -{ -protected: - - friend class CRendererInputPin; - - friend void CALLBACK EndOfStreamTimer(UINT uID, // Timer identifier - UINT uMsg, // Not currently used - DWORD_PTR dwUser, // User information - DWORD_PTR dw1, // Windows reserved - DWORD_PTR dw2); // Is also reserved - - CRendererPosPassThru *m_pPosition; // Media seeking pass by object - CAMEvent m_RenderEvent; // Used to signal timer events - CAMEvent m_ThreadSignal; // Signalled to release worker thread - CAMEvent m_evComplete; // Signalled when state complete - BOOL m_bAbort; // Stop us from rendering more data - BOOL m_bStreaming; // Are we currently streaming - DWORD_PTR m_dwAdvise; // Timer advise cookie - IMediaSample *m_pMediaSample; // Current image media sample - BOOL m_bEOS; // Any more samples in the stream - BOOL m_bEOSDelivered; // Have we delivered an EC_COMPLETE - CRendererInputPin *m_pInputPin; // Our renderer input pin object - CCritSec m_InterfaceLock; // Critical section for interfaces - CCritSec m_RendererLock; // Controls access to internals - IQualityControl * m_pQSink; // QualityControl sink - BOOL m_bRepaintStatus; // Can we signal an EC_REPAINT - // Avoid some deadlocks by tracking filter during stop - volatile BOOL m_bInReceive; // Inside Receive between PrepareReceive - // And actually processing the sample - REFERENCE_TIME m_SignalTime; // Time when we signal EC_COMPLETE - UINT m_EndOfStreamTimer; // Used to signal end of stream - CCritSec m_ObjectCreationLock; // This lock protects the creation and - // of m_pPosition and m_pInputPin. It - // ensures that two threads cannot create - // either object simultaneously. - -public: - - CBaseRenderer(REFCLSID RenderClass, // CLSID for this renderer - __in_opt LPCTSTR pName, // Debug ONLY description - __inout_opt LPUNKNOWN pUnk, // Aggregated owner object - __inout HRESULT *phr); // General OLE return code - - ~CBaseRenderer(); - - // Overriden to say what interfaces we support and where - - virtual HRESULT GetMediaPositionInterface(REFIID riid, __deref_out void **ppv); - STDMETHODIMP NonDelegatingQueryInterface(REFIID, __deref_out void **); - - virtual HRESULT SourceThreadCanWait(BOOL bCanWait); - -#ifdef DEBUG - // Debug only dump of the renderer state - void DisplayRendererState(); -#endif - virtual HRESULT WaitForRenderTime(); - virtual HRESULT CompleteStateChange(FILTER_STATE OldState); - - // Return internal information about this filter - - BOOL IsEndOfStream() { return m_bEOS; }; - BOOL IsEndOfStreamDelivered() { return m_bEOSDelivered; }; - BOOL IsStreaming() { return m_bStreaming; }; - void SetAbortSignal(BOOL bAbort) { m_bAbort = bAbort; }; - virtual void OnReceiveFirstSample(IMediaSample *pMediaSample) { }; - CAMEvent *GetRenderEvent() { return &m_RenderEvent; }; - - // Permit access to the transition state - - void Ready() { m_evComplete.Set(); }; - void NotReady() { m_evComplete.Reset(); }; - BOOL CheckReady() { return m_evComplete.Check(); }; - - virtual int GetPinCount(); - virtual CBasePin *GetPin(int n); - FILTER_STATE GetRealState(); - void SendRepaint(); - void SendNotifyWindow(IPin *pPin,HWND hwnd); - BOOL OnDisplayChange(); - void SetRepaintStatus(BOOL bRepaint); - - // Override the filter and pin interface functions - - STDMETHODIMP Stop(); - STDMETHODIMP Pause(); - STDMETHODIMP Run(REFERENCE_TIME StartTime); - STDMETHODIMP GetState(DWORD dwMSecs, __out FILTER_STATE *State); - STDMETHODIMP FindPin(LPCWSTR Id, __deref_out IPin **ppPin); - - // These are available for a quality management implementation - - virtual void OnRenderStart(IMediaSample *pMediaSample); - virtual void OnRenderEnd(IMediaSample *pMediaSample); - virtual HRESULT OnStartStreaming() { return NOERROR; }; - virtual HRESULT OnStopStreaming() { return NOERROR; }; - virtual void OnWaitStart() { }; - virtual void OnWaitEnd() { }; - virtual void PrepareRender() { }; - -#ifdef PERF - REFERENCE_TIME m_trRenderStart; // Just before we started drawing - // Set in OnRenderStart, Used in OnRenderEnd - int m_idBaseStamp; // MSR_id for frame time stamp - int m_idBaseRenderTime; // MSR_id for true wait time - int m_idBaseAccuracy; // MSR_id for time frame is late (int) -#endif - - // Quality management implementation for scheduling rendering - - virtual BOOL ScheduleSample(IMediaSample *pMediaSample); - virtual HRESULT GetSampleTimes(IMediaSample *pMediaSample, - __out REFERENCE_TIME *pStartTime, - __out REFERENCE_TIME *pEndTime); - - virtual HRESULT ShouldDrawSampleNow(IMediaSample *pMediaSample, - __out REFERENCE_TIME *ptrStart, - __out REFERENCE_TIME *ptrEnd); - - // Lots of end of stream complexities - - void TimerCallback(); - void ResetEndOfStreamTimer(); - HRESULT NotifyEndOfStream(); - virtual HRESULT SendEndOfStream(); - virtual HRESULT ResetEndOfStream(); - virtual HRESULT EndOfStream(); - - // Rendering is based around the clock - - void SignalTimerFired(); - virtual HRESULT CancelNotification(); - virtual HRESULT ClearPendingSample(); - - // Called when the filter changes state - - virtual HRESULT Active(); - virtual HRESULT Inactive(); - virtual HRESULT StartStreaming(); - virtual HRESULT StopStreaming(); - virtual HRESULT BeginFlush(); - virtual HRESULT EndFlush(); - - // Deal with connections and type changes - - virtual HRESULT BreakConnect(); - virtual HRESULT SetMediaType(const CMediaType *pmt); - virtual HRESULT CompleteConnect(IPin *pReceivePin); - - // These look after the handling of data samples - - virtual HRESULT PrepareReceive(IMediaSample *pMediaSample); - virtual HRESULT Receive(IMediaSample *pMediaSample); - virtual BOOL HaveCurrentSample(); - virtual IMediaSample *GetCurrentSample(); - virtual HRESULT Render(IMediaSample *pMediaSample); - - // Derived classes MUST override these - virtual HRESULT DoRenderSample(IMediaSample *pMediaSample) PURE; - virtual HRESULT CheckMediaType(const CMediaType *) PURE; - - // Helper - void WaitForReceiveToComplete(); -}; - - -// CBaseVideoRenderer is a renderer class (see its ancestor class) and -// it handles scheduling of media samples so that they are drawn at the -// correct time by the reference clock. It implements a degradation -// strategy. Possible degradation modes are: -// Drop frames here (only useful if the drawing takes significant time) -// Signal supplier (upstream) to drop some frame(s) - i.e. one-off skip. -// Signal supplier to change the frame rate - i.e. ongoing skipping. -// Or any combination of the above. -// In order to determine what's useful to try we need to know what's going -// on. This is done by timing various operations (including the supplier). -// This timing is done by using timeGetTime as it is accurate enough and -// usually cheaper than calling the reference clock. It also tells the -// truth if there is an audio break and the reference clock stops. -// We provide a number of public entry points (named OnXxxStart, OnXxxEnd) -// which the rest of the renderer calls at significant moments. These do -// the timing. - -// the number of frames that the sliding averages are averaged over. -// the rule is (1024*NewObservation + (AVGPERIOD-1) * PreviousAverage)/AVGPERIOD -#define AVGPERIOD 4 -#define DO_MOVING_AVG(avg,obs) (avg = (1024*obs + (AVGPERIOD-1)*avg)/AVGPERIOD) -// Spot the bug in this macro - I can't. but it doesn't work! - -class CBaseVideoRenderer : public CBaseRenderer, // Base renderer class - public IQualProp, // Property page guff - public IQualityControl // Allow throttling -{ -protected: - - // Hungarian: - // tFoo is the time Foo in mSec (beware m_tStart from filter.h) - // trBar is the time Bar by the reference clock - - //****************************************************************** - // State variables to control synchronisation - //****************************************************************** - - // Control of sending Quality messages. We need to know whether - // we are in trouble (e.g. frames being dropped) and where the time - // is being spent. - - // When we drop a frame we play the next one early. - // The frame after that is likely to wait before drawing and counting this - // wait as spare time is unfair, so we count it as a zero wait. - // We therefore need to know whether we are playing frames early or not. - - int m_nNormal; // The number of consecutive frames - // drawn at their normal time (not early) - // -1 means we just dropped a frame. - -#ifdef PERF - BOOL m_bDrawLateFrames; // Don't drop any frames (debug and I'm - // not keen on people using it!) -#endif - - BOOL m_bSupplierHandlingQuality;// The response to Quality messages says - // our supplier is handling things. - // We will allow things to go extra late - // before dropping frames. We will play - // very early after he has dropped one. - - // Control of scheduling, frame dropping etc. - // We need to know where the time is being spent so as to tell whether - // we should be taking action here, signalling supplier or what. - // The variables are initialised to a mode of NOT dropping frames. - // They will tell the truth after a few frames. - // We typically record a start time for an event, later we get the time - // again and subtract to get the elapsed time, and we average this over - // a few frames. The average is used to tell what mode we are in. - - // Although these are reference times (64 bit) they are all DIFFERENCES - // between times which are small. An int will go up to 214 secs before - // overflow. Avoiding 64 bit multiplications and divisions seems - // worth while. - - - - // Audio-video throttling. If the user has turned up audio quality - // very high (in principle it could be any other stream, not just audio) - // then we can receive cries for help via the graph manager. In this case - // we put in a wait for some time after rendering each frame. - int m_trThrottle; - - // The time taken to render (i.e. BitBlt) frames controls which component - // needs to degrade. If the blt is expensive, the renderer degrades. - // If the blt is cheap it's done anyway and the supplier degrades. - int m_trRenderAvg; // Time frames are taking to blt - int m_trRenderLast; // Time for last frame blt - int m_tRenderStart; // Just before we started drawing (mSec) - // derived from timeGetTime. - - // When frames are dropped we will play the next frame as early as we can. - // If it was a false alarm and the machine is fast we slide gently back to - // normal timing. To do this, we record the offset showing just how early - // we really are. This will normally be negative meaning early or zero. - int m_trEarliness; - - // Target provides slow long-term feedback to try to reduce the - // average sync offset to zero. Whenever a frame is actually rendered - // early we add a msec or two, whenever late we take off a few. - // We add or take off 1/32 of the error time. - // Eventually we should be hovering around zero. For a really bad case - // where we were (say) 300mSec off, it might take 100 odd frames to - // settle down. The rate of change of this is intended to be slower - // than any other mechanism in Quartz, thereby avoiding hunting. - int m_trTarget; - - // The proportion of time spent waiting for the right moment to blt - // controls whether we bother to drop a frame or whether we reckon that - // we're doing well enough that we can stand a one-frame glitch. - int m_trWaitAvg; // Average of last few wait times - // (actually we just average how early - // we were). Negative here means LATE. - - // The average inter-frame time. - // This is used to calculate the proportion of the time used by the - // three operations (supplying us, waiting, rendering) - int m_trFrameAvg; // Average inter-frame time - int m_trDuration; // duration of last frame. - -#ifdef PERF - // Performance logging identifiers - int m_idTimeStamp; // MSR_id for frame time stamp - int m_idEarliness; // MSR_id for earliness fudge - int m_idTarget; // MSR_id for Target fudge - int m_idWaitReal; // MSR_id for true wait time - int m_idWait; // MSR_id for wait time recorded - int m_idFrameAccuracy; // MSR_id for time frame is late (int) - int m_idRenderAvg; // MSR_id for Render time recorded (int) - int m_idSchLateTime; // MSR_id for lateness at scheduler - int m_idQualityRate; // MSR_id for Quality rate requested - int m_idQualityTime; // MSR_id for Quality time requested - int m_idDecision; // MSR_id for decision code - int m_idDuration; // MSR_id for duration of a frame - int m_idThrottle; // MSR_id for audio-video throttling - //int m_idDebug; // MSR_id for trace style debugging - //int m_idSendQuality; // MSR_id for timing the notifications per se -#endif // PERF - REFERENCE_TIME m_trRememberStampForPerf; // original time stamp of frame - // with no earliness fudges etc. -#ifdef PERF - REFERENCE_TIME m_trRememberFrameForPerf; // time when previous frame rendered - - // debug... - int m_idFrameAvg; - int m_idWaitAvg; -#endif - - // PROPERTY PAGE - // This has edit fields that show the user what's happening - // These member variables hold these counts. - - int m_cFramesDropped; // cumulative frames dropped IN THE RENDERER - int m_cFramesDrawn; // Frames since streaming started seen BY THE - // RENDERER (some may be dropped upstream) - - // Next two support average sync offset and standard deviation of sync offset. - LONGLONG m_iTotAcc; // Sum of accuracies in mSec - LONGLONG m_iSumSqAcc; // Sum of squares of (accuracies in mSec) - - // Next two allow jitter calculation. Jitter is std deviation of frame time. - REFERENCE_TIME m_trLastDraw; // Time of prev frame (for inter-frame times) - LONGLONG m_iSumSqFrameTime; // Sum of squares of (inter-frame time in mSec) - LONGLONG m_iSumFrameTime; // Sum of inter-frame times in mSec - - // To get performance statistics on frame rate, jitter etc, we need - // to record the lateness and inter-frame time. What we actually need are the - // data above (sum, sum of squares and number of entries for each) but the data - // is generated just ahead of time and only later do we discover whether the - // frame was actually drawn or not. So we have to hang on to the data - int m_trLate; // hold onto frame lateness - int m_trFrame; // hold onto inter-frame time - - int m_tStreamingStart; // if streaming then time streaming started - // else time of last streaming session - // used for property page statistics -#ifdef PERF - LONGLONG m_llTimeOffset; // timeGetTime()*10000+m_llTimeOffset==ref time -#endif - -public: - - - CBaseVideoRenderer(REFCLSID RenderClass, // CLSID for this renderer - __in_opt LPCTSTR pName, // Debug ONLY description - __inout_opt LPUNKNOWN pUnk, // Aggregated owner object - __inout HRESULT *phr); // General OLE return code - - ~CBaseVideoRenderer(); - - // IQualityControl methods - Notify allows audio-video throttling - - STDMETHODIMP SetSink( IQualityControl * piqc); - STDMETHODIMP Notify( IBaseFilter * pSelf, Quality q); - - // These provide a full video quality management implementation - - void OnRenderStart(IMediaSample *pMediaSample); - void OnRenderEnd(IMediaSample *pMediaSample); - void OnWaitStart(); - void OnWaitEnd(); - HRESULT OnStartStreaming(); - HRESULT OnStopStreaming(); - void ThrottleWait(); - - // Handle the statistics gathering for our quality management - - void PreparePerformanceData(int trLate, int trFrame); - virtual void RecordFrameLateness(int trLate, int trFrame); - virtual void OnDirectRender(IMediaSample *pMediaSample); - virtual HRESULT ResetStreamingTimes(); - BOOL ScheduleSample(IMediaSample *pMediaSample); - HRESULT ShouldDrawSampleNow(IMediaSample *pMediaSample, - __inout REFERENCE_TIME *ptrStart, - __inout REFERENCE_TIME *ptrEnd); - - virtual HRESULT SendQuality(REFERENCE_TIME trLate, REFERENCE_TIME trRealStream); - STDMETHODIMP JoinFilterGraph(__inout_opt IFilterGraph * pGraph, __in_opt LPCWSTR pName); - - // - // Do estimates for standard deviations for per-frame - // statistics - // - // *piResult = (llSumSq - iTot * iTot / m_cFramesDrawn - 1) / - // (m_cFramesDrawn - 2) - // or 0 if m_cFramesDrawn <= 3 - // - HRESULT GetStdDev( - int nSamples, - __out int *piResult, - LONGLONG llSumSq, - LONGLONG iTot - ); -public: - - // IQualProp property page support - - STDMETHODIMP get_FramesDroppedInRenderer(__out int *cFramesDropped); - STDMETHODIMP get_FramesDrawn(__out int *pcFramesDrawn); - STDMETHODIMP get_AvgFrameRate(__out int *piAvgFrameRate); - STDMETHODIMP get_Jitter(__out int *piJitter); - STDMETHODIMP get_AvgSyncOffset(__out int *piAvg); - STDMETHODIMP get_DevSyncOffset(__out int *piDev); - - // Implement an IUnknown interface and expose IQualProp - - DECLARE_IUNKNOWN - STDMETHODIMP NonDelegatingQueryInterface(REFIID riid,__deref_out VOID **ppv); -}; - -#endif // __RENBASE__ - diff --git a/res/pjproject/third_party/BaseClasses/seekpt.h b/res/pjproject/third_party/BaseClasses/seekpt.h deleted file mode 100644 index 26abdf3ece..0000000000 --- a/res/pjproject/third_party/BaseClasses/seekpt.h +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// File: SeekPT.h -// -// Desc: DirectShow base classes. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - - -#ifndef __seekpt_h__ -#define __seekpt_h__ - - -class CSeekingPassThru : public ISeekingPassThru, public CUnknown -{ -public: - static CUnknown *CreateInstance(__inout_opt LPUNKNOWN pUnk, __inout HRESULT *phr); - CSeekingPassThru(__in_opt LPCTSTR pName, __inout_opt LPUNKNOWN pUnk, __inout HRESULT *phr); - ~CSeekingPassThru(); - - DECLARE_IUNKNOWN; - STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void ** ppv); - - STDMETHODIMP Init(BOOL bSupportRendering, IPin *pPin); - -private: - CPosPassThru *m_pPosPassThru; -}; - -#endif diff --git a/res/pjproject/third_party/BaseClasses/streams.h b/res/pjproject/third_party/BaseClasses/streams.h deleted file mode 100644 index 2a7fc8bafc..0000000000 --- a/res/pjproject/third_party/BaseClasses/streams.h +++ /dev/null @@ -1,202 +0,0 @@ -//------------------------------------------------------------------------------ -// File: Streams.h -// -// Desc: DirectShow base classes - defines overall streams architecture. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - - -#ifndef __STREAMS__ -#define __STREAMS__ - -#ifdef _MSC_VER -// disable some level-4 warnings, use #pragma warning(enable:###) to re-enable -#pragma warning(disable:4100) // warning C4100: unreferenced formal parameter -#pragma warning(disable:4201) // warning C4201: nonstandard extension used : nameless struct/union -#pragma warning(disable:4511) // warning C4511: copy constructor could not be generated -#pragma warning(disable:4512) // warning C4512: assignment operator could not be generated -#pragma warning(disable:4514) // warning C4514: "unreferenced inline function has been removed" - -#if _MSC_VER>=1100 -#define AM_NOVTABLE __declspec(novtable) -#else -#define AM_NOVTABLE -#endif -#endif // MSC_VER - - -// Because of differences between Visual C++ and older Microsoft SDKs, -// you may have defined _DEBUG without defining DEBUG. This logic -// ensures that both will be set if Visual C++ sets _DEBUG. -#ifdef _DEBUG -#ifndef DEBUG -#define DEBUG -#endif -#endif - - -#include -#include -#include -#include -#include - - -#ifndef NUMELMS -#if _WIN32_WINNT < 0x0600 - #define NUMELMS(aa) (sizeof(aa)/sizeof((aa)[0])) -#else - #define NUMELMS(aa) ARRAYSIZE(aa) -#endif -#endif - -/////////////////////////////////////////////////////////////////////////// -// The following definitions come from the Platform SDK and are required if -// the applicaiton is being compiled with the headers from Visual C++ 6.0. -/////////////////////////////////////////////////// //////////////////////// -#ifndef InterlockedExchangePointer - #define InterlockedExchangePointer(Target, Value) \ - (PVOID)InterlockedExchange((PLONG)(Target), (LONG)(Value)) -#endif - -#ifndef _WAVEFORMATEXTENSIBLE_ -#define _WAVEFORMATEXTENSIBLE_ -typedef struct { - WAVEFORMATEX Format; - union { - WORD wValidBitsPerSample; /* bits of precision */ - WORD wSamplesPerBlock; /* valid if wBitsPerSample==0 */ - WORD wReserved; /* If neither applies, set to zero. */ - } Samples; - DWORD dwChannelMask; /* which channels are */ - /* present in stream */ - GUID SubFormat; -} WAVEFORMATEXTENSIBLE, *PWAVEFORMATEXTENSIBLE; -#endif // !_WAVEFORMATEXTENSIBLE_ - -#if !defined(WAVE_FORMAT_EXTENSIBLE) -#define WAVE_FORMAT_EXTENSIBLE 0xFFFE -#endif // !defined(WAVE_FORMAT_EXTENSIBLE) - -#ifndef GetWindowLongPtr - #define GetWindowLongPtrA GetWindowLongA - #define GetWindowLongPtrW GetWindowLongW - #ifdef UNICODE - #define GetWindowLongPtr GetWindowLongPtrW - #else - #define GetWindowLongPtr GetWindowLongPtrA - #endif // !UNICODE -#endif // !GetWindowLongPtr - -#ifndef SetWindowLongPtr - #define SetWindowLongPtrA SetWindowLongA - #define SetWindowLongPtrW SetWindowLongW - #ifdef UNICODE - #define SetWindowLongPtr SetWindowLongPtrW - #else - #define SetWindowLongPtr SetWindowLongPtrA - #endif // !UNICODE -#endif // !SetWindowLongPtr - -#ifndef GWLP_WNDPROC - #define GWLP_WNDPROC (-4) -#endif -#ifndef GWLP_HINSTANCE - #define GWLP_HINSTANCE (-6) -#endif -#ifndef GWLP_HWNDPARENT - #define GWLP_HWNDPARENT (-8) -#endif -#ifndef GWLP_USERDATA - #define GWLP_USERDATA (-21) -#endif -#ifndef GWLP_ID - #define GWLP_ID (-12) -#endif -#ifndef DWLP_MSGRESULT - #define DWLP_MSGRESULT 0 -#endif -#ifndef DWLP_DLGPROC - #define DWLP_DLGPROC DWLP_MSGRESULT + sizeof(LRESULT) -#endif -#ifndef DWLP_USER - #define DWLP_USER DWLP_DLGPROC + sizeof(DLGPROC) -#endif - - -#pragma warning(push) -#pragma warning(disable: 4312 4244) -// _GetWindowLongPtr -// Templated version of GetWindowLongPtr, to suppress spurious compiler warning. -template -T _GetWindowLongPtr(HWND hwnd, int nIndex) -{ - return (T)GetWindowLongPtr(hwnd, nIndex); -} - -// _SetWindowLongPtr -// Templated version of SetWindowLongPtr, to suppress spurious compiler warning. -template -LONG_PTR _SetWindowLongPtr(HWND hwnd, int nIndex, T p) -{ - return SetWindowLongPtr(hwnd, nIndex, (LONG_PTR)p); -} -#pragma warning(pop) - -/////////////////////////////////////////////////////////////////////////// -// End Platform SDK definitions -/////////////////////////////////////////////////////////////////////////// - - -#include // Generated IDL header file for streams interfaces -#include // required by amvideo.h - -#include // Helper class for REFERENCE_TIME management -#include // Debug support for logging and ASSERTs -#include // ActiveMovie video interfaces and definitions -//include amaudio.h explicitly if you need it. it requires the DX SDK. -//#include // ActiveMovie audio interfaces and definitions -#include // General helper classes for threads etc -#include // Base COM classes to support IUnknown -//#include // Filter registration support functions -#include // Performance measurement -//#include // Light weight com function prototypes - -//#include // Simple cache container class -#include // Non MFC generic list class -#include // CMsgThread -#include // Helper class for managing media types -#include // conversions between FOURCCs and GUIDs -#include // generated from control.odl -#include // control interface utility classes -#include // event code definitions -#include // Main streams architecture class hierachy -//#include // Generic transform filter -//#include // Generic transform-in-place filter -#include // declaration of type GUIDs and well-known clsids -//#include // Generic source filter -//#include // Output pin queueing -#include // HRESULT status and error definitions -#include // Base class for writing ActiveX renderers -//#include // Helps with filters that manage windows -//#include // Implements the IVideoWindow interface -//#include // Specifically video related classes -const LONGLONG MAX_TIME = 0x7FFFFFFFFFFFFFFF; /* Maximum LONGLONG value */ -//#include // Base clock class -//#include // System clock -//#include // IPersistStream helper class -//#include // Video Transform Filter base class -//#include -//#include // Base property page class -//#include // IAMStreamControl support -//#include // External device control interface defines -//#include // audio filter device error event codes - - -#else - #ifdef DEBUG - #pragma message("STREAMS.H included TWICE") - #endif -#endif // __STREAMS__ - diff --git a/res/pjproject/third_party/BaseClasses/wxdebug.cpp b/res/pjproject/third_party/BaseClasses/wxdebug.cpp deleted file mode 100644 index 3414ae3f2c..0000000000 --- a/res/pjproject/third_party/BaseClasses/wxdebug.cpp +++ /dev/null @@ -1,1478 +0,0 @@ -//------------------------------------------------------------------------------ -// File: WXDebug.cpp -// -// Desc: DirectShow base classes - implements ActiveX system debugging -// facilities. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - -#include - -#if defined(PJMEDIA_VIDEO_DEV_HAS_DSHOW) && PJMEDIA_VIDEO_DEV_HAS_DSHOW != 0 - -#define _WINDLL - -#include -#include -#include -#include - -#ifdef DEBUG -#ifdef UNICODE -#ifndef _UNICODE -#define _UNICODE -#endif // _UNICODE -#endif // UNICODE -#endif // DEBUG - -#include -#include - -#ifdef DEBUG -static void DisplayBITMAPINFO(const BITMAPINFOHEADER* pbmi); -static void DisplayRECT(LPCTSTR szLabel, const RECT& rc); - -// The Win32 wsprintf() function writes a maximum of 1024 characters to it's output buffer. -// See the documentation for wsprintf()'s lpOut parameter for more information. -const INT iDEBUGINFO = 1024; // Used to format strings - -/* For every module and executable we store a debugging level for each of - the five categories (eg LOG_ERROR and LOG_TIMING). This makes it easy - to isolate and debug individual modules without seeing everybody elses - spurious debug output. The keys are stored in the registry under the - HKEY_LOCAL_MACHINE\SOFTWARE\Debug\\ key values - NOTE these must be in the same order as their enumeration definition */ - -const LPCTSTR pKeyNames[] = { - TEXT("TIMING"), // Timing and performance measurements - TEXT("TRACE"), // General step point call tracing - TEXT("MEMORY"), // Memory and object allocation/destruction - TEXT("LOCKING"), // Locking/unlocking of critical sections - TEXT("ERROR"), // Debug error notification - TEXT("CUSTOM1"), - TEXT("CUSTOM2"), - TEXT("CUSTOM3"), - TEXT("CUSTOM4"), - TEXT("CUSTOM5") - }; - -const TCHAR CAutoTrace::_szEntering[] = TEXT("->: %s"); -const TCHAR CAutoTrace::_szLeaving[] = TEXT("<-: %s"); - -const INT iMAXLEVELS = NUMELMS(pKeyNames); // Maximum debug categories - -HINSTANCE m_hInst; // Module instance handle -TCHAR m_ModuleName[iDEBUGINFO]; // Cut down module name -DWORD m_Levels[iMAXLEVELS]; // Debug level per category -CRITICAL_SECTION m_CSDebug; // Controls access to list -DWORD m_dwNextCookie; // Next active object ID -ObjectDesc *pListHead = NULL; // First active object -DWORD m_dwObjectCount; // Active object count -BOOL m_bInit = FALSE; // Have we been initialised -HANDLE m_hOutput = INVALID_HANDLE_VALUE; // Optional output written here -DWORD dwWaitTimeout = INFINITE; // Default timeout value -DWORD dwTimeOffset; // Time of first DbgLog call -bool g_fUseKASSERT = false; // don't create messagebox -bool g_fDbgInDllEntryPoint = false; -bool g_fAutoRefreshLevels = false; - -LPCTSTR pBaseKey = TEXT("SOFTWARE\\Microsoft\\DirectShow\\Debug"); -LPCTSTR pGlobalKey = TEXT("GLOBAL"); -static CHAR *pUnknownName = "UNKNOWN"; - -LPCTSTR TimeoutName = TEXT("TIMEOUT"); - -/* This sets the instance handle that the debug library uses to find - the module's file name from the Win32 GetModuleFileName function */ - -void WINAPI DbgInitialise(HINSTANCE hInst) -{ - InitializeCriticalSection(&m_CSDebug); - m_bInit = TRUE; - - m_hInst = hInst; - DbgInitModuleName(); - if (GetProfileInt(m_ModuleName, TEXT("BreakOnLoad"), 0)) - DebugBreak(); - DbgInitModuleSettings(false); - DbgInitGlobalSettings(true); - dwTimeOffset = timeGetTime(); -} - - -/* This is called to clear up any resources the debug library uses - at the - moment we delete our critical section and the object list. The values we - retrieve from the registry are all done during initialisation but we don't - go looking for update notifications while we are running, if the values - are changed then the application has to be restarted to pick them up */ - -void WINAPI DbgTerminate() -{ - if (m_hOutput != INVALID_HANDLE_VALUE) { - EXECUTE_ASSERT(CloseHandle(m_hOutput)); - m_hOutput = INVALID_HANDLE_VALUE; - } - DeleteCriticalSection(&m_CSDebug); - m_bInit = FALSE; -} - - -/* This is called by DbgInitLogLevels to read the debug settings - for each logging category for this module from the registry */ - -void WINAPI DbgInitKeyLevels(HKEY hKey, bool fTakeMax) -{ - LONG lReturn; // Create key return value - LONG lKeyPos; // Current key category - DWORD dwKeySize; // Size of the key value - DWORD dwKeyType; // Receives it's type - DWORD dwKeyValue; // This fields value - - /* Try and read a value for each key position in turn */ - for (lKeyPos = 0;lKeyPos < iMAXLEVELS;lKeyPos++) { - - dwKeySize = sizeof(DWORD); - lReturn = RegQueryValueEx( - hKey, // Handle to an open key - pKeyNames[lKeyPos], // Subkey name derivation - NULL, // Reserved field - &dwKeyType, // Returns the field type - (LPBYTE) &dwKeyValue, // Returns the field's value - &dwKeySize ); // Number of bytes transferred - - /* If either the key was not available or it was not a DWORD value - then we ensure only the high priority debug logging is output - but we try and update the field to a zero filled DWORD value */ - - if (lReturn != ERROR_SUCCESS || dwKeyType != REG_DWORD) { - - dwKeyValue = 0; - lReturn = RegSetValueEx( - hKey, // Handle of an open key - pKeyNames[lKeyPos], // Address of subkey name - (DWORD) 0, // Reserved field - REG_DWORD, // Type of the key field - (PBYTE) &dwKeyValue, // Value for the field - sizeof(DWORD)); // Size of the field buffer - - if (lReturn != ERROR_SUCCESS) { - DbgLog((LOG_ERROR,1,TEXT("Could not create subkey %s"),pKeyNames[lKeyPos])); - dwKeyValue = 0; - } - } - if(fTakeMax) - { - m_Levels[lKeyPos] = max(dwKeyValue,m_Levels[lKeyPos]); - } - else - { - if((m_Levels[lKeyPos] & LOG_FORCIBLY_SET) == 0) { - m_Levels[lKeyPos] = dwKeyValue; - } - } - } - - /* Read the timeout value for catching hangs */ - dwKeySize = sizeof(DWORD); - lReturn = RegQueryValueEx( - hKey, // Handle to an open key - TimeoutName, // Subkey name derivation - NULL, // Reserved field - &dwKeyType, // Returns the field type - (LPBYTE) &dwWaitTimeout, // Returns the field's value - &dwKeySize ); // Number of bytes transferred - - /* If either the key was not available or it was not a DWORD value - then we ensure only the high priority debug logging is output - but we try and update the field to a zero filled DWORD value */ - - if (lReturn != ERROR_SUCCESS || dwKeyType != REG_DWORD) { - - dwWaitTimeout = INFINITE; - lReturn = RegSetValueEx( - hKey, // Handle of an open key - TimeoutName, // Address of subkey name - (DWORD) 0, // Reserved field - REG_DWORD, // Type of the key field - (PBYTE) &dwWaitTimeout, // Value for the field - sizeof(DWORD)); // Size of the field buffer - - if (lReturn != ERROR_SUCCESS) { - DbgLog((LOG_ERROR,1,TEXT("Could not create subkey %s"),pKeyNames[lKeyPos])); - dwWaitTimeout = INFINITE; - } - } -} - -void WINAPI DbgOutString(LPCTSTR psz) -{ - if (m_hOutput != INVALID_HANDLE_VALUE) { - UINT cb = lstrlen(psz); - DWORD dw; -#ifdef UNICODE - CHAR szDest[2048]; - WideCharToMultiByte(CP_ACP, 0, psz, -1, szDest, NUMELMS(szDest), 0, 0); - WriteFile (m_hOutput, szDest, cb, &dw, NULL); -#else - WriteFile (m_hOutput, psz, cb, &dw, NULL); -#endif - } else { - OutputDebugString (psz); - } -} - - - - -HRESULT DbgUniqueProcessName(LPCTSTR inName, LPTSTR outName) -{ - HRESULT hr = S_OK; - const TCHAR *pIn = inName; - int dotPos = -1; - - //scan the input and record the last '.' position - while (*pIn && (pIn - inName) < MAX_PATH) - { - if ( TEXT('.') == *pIn ) - dotPos = (int)(pIn-inName); - ++pIn; - } - - if (*pIn) //input should be zero-terminated within MAX_PATH - return E_INVALIDARG; - - DWORD dwProcessId = GetCurrentProcessId(); - - if (dotPos < 0) - { - //no extension in the input, appending process id to the input - hr = StringCchPrintf(outName, MAX_PATH, TEXT("%s_%d"), inName, dwProcessId); - } - else - { - TCHAR pathAndBasename[MAX_PATH] = {0}; - - //there's an extension - zero-terminate the path and basename first by copying - hr = StringCchCopyN(pathAndBasename, MAX_PATH, inName, (size_t)dotPos); - - //re-combine path, basename and extension with processId appended to a basename - if (SUCCEEDED(hr)) - hr = StringCchPrintf(outName, MAX_PATH, TEXT("%s_%d%s"), pathAndBasename, dwProcessId, inName + dotPos); - } - - return hr; -} - - -/* Called by DbgInitGlobalSettings to setup alternate logging destinations - */ - -void WINAPI DbgInitLogTo ( - HKEY hKey) -{ - LONG lReturn; - DWORD dwKeyType; - DWORD dwKeySize; - TCHAR szFile[MAX_PATH] = {0}; - static const TCHAR cszKey[] = TEXT("LogToFile"); - - dwKeySize = MAX_PATH; - lReturn = RegQueryValueEx( - hKey, // Handle to an open key - cszKey, // Subkey name derivation - NULL, // Reserved field - &dwKeyType, // Returns the field type - (LPBYTE) szFile, // Returns the field's value - &dwKeySize); // Number of bytes transferred - - // create an empty key if it does not already exist - // - if (lReturn != ERROR_SUCCESS || dwKeyType != REG_SZ) - { - dwKeySize = sizeof(TCHAR); - lReturn = RegSetValueEx( - hKey, // Handle of an open key - cszKey, // Address of subkey name - (DWORD) 0, // Reserved field - REG_SZ, // Type of the key field - (PBYTE)szFile, // Value for the field - dwKeySize); // Size of the field buffer - } - - // if an output-to was specified. try to open it. - // - if (m_hOutput != INVALID_HANDLE_VALUE) { - EXECUTE_ASSERT(CloseHandle (m_hOutput)); - m_hOutput = INVALID_HANDLE_VALUE; - } - if (szFile[0] != 0) - { - if (!lstrcmpi(szFile, TEXT("Console"))) { - m_hOutput = GetStdHandle (STD_OUTPUT_HANDLE); - if (m_hOutput == INVALID_HANDLE_VALUE) { - AllocConsole (); - m_hOutput = GetStdHandle (STD_OUTPUT_HANDLE); - } - SetConsoleTitle (TEXT("ActiveX Debug Output")); - } else if (szFile[0] && - lstrcmpi(szFile, TEXT("Debug")) && - lstrcmpi(szFile, TEXT("Debugger")) && - lstrcmpi(szFile, TEXT("Deb"))) - { - m_hOutput = CreateFile(szFile, GENERIC_WRITE, - FILE_SHARE_READ, - NULL, OPEN_ALWAYS, - FILE_ATTRIBUTE_NORMAL, - NULL); - - if (INVALID_HANDLE_VALUE == m_hOutput && - GetLastError() == ERROR_SHARING_VIOLATION) - { - TCHAR uniqueName[MAX_PATH] = {0}; - if (SUCCEEDED(DbgUniqueProcessName(szFile, uniqueName))) - { - m_hOutput = CreateFile(uniqueName, GENERIC_WRITE, - FILE_SHARE_READ, - NULL, OPEN_ALWAYS, - FILE_ATTRIBUTE_NORMAL, - NULL); - } - } - - if (INVALID_HANDLE_VALUE != m_hOutput) - { - static const TCHAR cszBar[] = TEXT("\r\n\r\n=====DbgInitialize()=====\r\n\r\n"); - SetFilePointer (m_hOutput, 0, NULL, FILE_END); - DbgOutString (cszBar); - } - } - } -} - - - -/* This is called by DbgInitLogLevels to read the global debug settings for - each logging category for this module from the registry. Normally each - module has it's own values set for it's different debug categories but - setting the global SOFTWARE\Debug\Global applies them to ALL modules */ - -void WINAPI DbgInitGlobalSettings(bool fTakeMax) -{ - LONG lReturn; // Create key return value - TCHAR szInfo[iDEBUGINFO]; // Constructs key names - HKEY hGlobalKey; // Global override key - - /* Construct the global base key name */ - (void)StringCchPrintf(szInfo,NUMELMS(szInfo),TEXT("%s\\%s"),pBaseKey,pGlobalKey); - - /* Create or open the key for this module */ - lReturn = RegCreateKeyEx(HKEY_LOCAL_MACHINE, // Handle of an open key - szInfo, // Address of subkey name - (DWORD) 0, // Reserved value - NULL, // Address of class name - (DWORD) 0, // Special options flags - GENERIC_READ | GENERIC_WRITE, // Desired security access - NULL, // Key security descriptor - &hGlobalKey, // Opened handle buffer - NULL); // What really happened - - if (lReturn != ERROR_SUCCESS) { - lReturn = RegCreateKeyEx(HKEY_LOCAL_MACHINE, // Handle of an open key - szInfo, // Address of subkey name - (DWORD) 0, // Reserved value - NULL, // Address of class name - (DWORD) 0, // Special options flags - GENERIC_READ, // Desired security access - NULL, // Key security descriptor - &hGlobalKey, // Opened handle buffer - NULL); // What really happened - if (lReturn != ERROR_SUCCESS) { - DbgLog((LOG_ERROR,1,TEXT("Could not access GLOBAL module key"))); - } - return; - } - - DbgInitKeyLevels(hGlobalKey, fTakeMax); - RegCloseKey(hGlobalKey); -} - - -/* This sets the debugging log levels for the different categories. We start - by opening (or creating if not already available) the SOFTWARE\Debug key - that all these settings live under. We then look at the global values - set under SOFTWARE\Debug\Global which apply on top of the individual - module settings. We then load the individual module registry settings */ - -void WINAPI DbgInitModuleSettings(bool fTakeMax) -{ - LONG lReturn; // Create key return value - TCHAR szInfo[iDEBUGINFO]; // Constructs key names - HKEY hModuleKey; // Module key handle - - /* Construct the base key name */ - (void)StringCchPrintf(szInfo,NUMELMS(szInfo),TEXT("%s\\%s"),pBaseKey,m_ModuleName); - - /* Create or open the key for this module */ - lReturn = RegCreateKeyEx(HKEY_LOCAL_MACHINE, // Handle of an open key - szInfo, // Address of subkey name - (DWORD) 0, // Reserved value - NULL, // Address of class name - (DWORD) 0, // Special options flags - GENERIC_READ | GENERIC_WRITE, // Desired security access - NULL, // Key security descriptor - &hModuleKey, // Opened handle buffer - NULL); // What really happened - - if (lReturn != ERROR_SUCCESS) { - lReturn = RegCreateKeyEx(HKEY_LOCAL_MACHINE, // Handle of an open key - szInfo, // Address of subkey name - (DWORD) 0, // Reserved value - NULL, // Address of class name - (DWORD) 0, // Special options flags - GENERIC_READ, // Desired security access - NULL, // Key security descriptor - &hModuleKey, // Opened handle buffer - NULL); // What really happened - if (lReturn != ERROR_SUCCESS) { - DbgLog((LOG_ERROR,1,TEXT("Could not access module key"))); - } - return; - } - - DbgInitLogTo(hModuleKey); - DbgInitKeyLevels(hModuleKey, fTakeMax); - RegCloseKey(hModuleKey); -} - - -/* Initialise the module file name */ - -void WINAPI DbgInitModuleName() -{ - TCHAR FullName[iDEBUGINFO]; // Load the full path and module name - LPTSTR pName; // Searches from the end for a backslash - - GetModuleFileName(m_hInst,FullName,iDEBUGINFO); - pName = _tcsrchr(FullName,'\\'); - if (pName == NULL) { - pName = FullName; - } else { - pName++; - } - (void)StringCchCopy(m_ModuleName,NUMELMS(m_ModuleName), pName); -} - -struct MsgBoxMsg -{ - HWND hwnd; - LPCTSTR szTitle; - LPCTSTR szMessage; - DWORD dwFlags; - INT iResult; -}; - -// -// create a thread to call MessageBox(). calling MessageBox() on -// random threads at bad times can confuse the host (eg IE). -// -DWORD WINAPI MsgBoxThread( - __inout LPVOID lpParameter // thread data - ) -{ - MsgBoxMsg *pmsg = (MsgBoxMsg *)lpParameter; - pmsg->iResult = MessageBox( - pmsg->hwnd, - pmsg->szTitle, - pmsg->szMessage, - pmsg->dwFlags); - - return 0; -} - -INT MessageBoxOtherThread( - HWND hwnd, - LPCTSTR szTitle, - LPCTSTR szMessage, - DWORD dwFlags) -{ - if(g_fDbgInDllEntryPoint) - { - // can't wait on another thread because we have the loader - // lock held in the dll entry point. - // This can crash sometimes so just skip it - // return MessageBox(hwnd, szTitle, szMessage, dwFlags); - return IDCANCEL; - } - else - { - MsgBoxMsg msg = {hwnd, szTitle, szMessage, dwFlags, 0}; - DWORD dwid; - HANDLE hThread = CreateThread( - 0, // security - 0, // stack size - MsgBoxThread, - (void *)&msg, // arg - 0, // flags - &dwid); - if(hThread) - { - WaitForSingleObject(hThread, INFINITE); - CloseHandle(hThread); - return msg.iResult; - } - - // break into debugger on failure. - return IDCANCEL; - } -} - -/* Displays a message box if the condition evaluated to FALSE */ - -void WINAPI DbgAssert(LPCTSTR pCondition,LPCTSTR pFileName,INT iLine) -{ - if(g_fUseKASSERT) - { - DbgKernelAssert(pCondition, pFileName, iLine); - } - else - { - - TCHAR szInfo[iDEBUGINFO]; - - (void)StringCchPrintf(szInfo, NUMELMS(szInfo),TEXT("%s \nAt line %d of %s\nContinue? (Cancel to debug)"), - pCondition, iLine, pFileName); - - INT MsgId = MessageBoxOtherThread(NULL,szInfo,TEXT("ASSERT Failed"), - MB_SYSTEMMODAL | - MB_ICONHAND | - MB_YESNOCANCEL | - MB_SETFOREGROUND); - switch (MsgId) - { - case IDNO: /* Kill the application */ - - FatalAppExit(FALSE, TEXT("Application terminated")); - break; - - case IDCANCEL: /* Break into the debugger */ - - DebugBreak(); - break; - - case IDYES: /* Ignore assertion continue execution */ - break; - } - } -} - -/* Displays a message box at a break point */ - -void WINAPI DbgBreakPoint(LPCTSTR pCondition,LPCTSTR pFileName,INT iLine) -{ - if(g_fUseKASSERT) - { - DbgKernelAssert(pCondition, pFileName, iLine); - } - else - { - TCHAR szInfo[iDEBUGINFO]; - - (void)StringCchPrintf(szInfo, NUMELMS(szInfo),TEXT("%s \nAt line %d of %s\nContinue? (Cancel to debug)"), - pCondition, iLine, pFileName); - - INT MsgId = MessageBoxOtherThread(NULL,szInfo,TEXT("Hard coded break point"), - MB_SYSTEMMODAL | - MB_ICONHAND | - MB_YESNOCANCEL | - MB_SETFOREGROUND); - switch (MsgId) - { - case IDNO: /* Kill the application */ - - FatalAppExit(FALSE, TEXT("Application terminated")); - break; - - case IDCANCEL: /* Break into the debugger */ - - DebugBreak(); - break; - - case IDYES: /* Ignore break point continue execution */ - break; - } - } -} - -void WINAPI DbgBreakPoint(LPCTSTR pFileName,INT iLine,__format_string LPCTSTR szFormatString,...) -{ - // A debug break point message can have at most 2000 characters if - // ANSI or UNICODE characters are being used. A debug break point message - // can have between 1000 and 2000 double byte characters in it. If a - // particular message needs more characters, then the value of this constant - // should be increased. - const DWORD MAX_BREAK_POINT_MESSAGE_SIZE = 2000; - - TCHAR szBreakPointMessage[MAX_BREAK_POINT_MESSAGE_SIZE]; - - va_list va; - va_start( va, szFormatString ); - - HRESULT hr = StringCchVPrintf( szBreakPointMessage, NUMELMS(szBreakPointMessage), szFormatString, va ); - - va_end(va); - - if( FAILED(hr) ) { - DbgBreak( "ERROR in DbgBreakPoint(). The variable length debug message could not be displayed because StringCchVPrintf() failed." ); - return; - } - - ::DbgBreakPoint( szBreakPointMessage, pFileName, iLine ); -} - - -/* When we initialised the library we stored in the m_Levels array the current - debug output level for this module for each of the five categories. When - some debug logging is sent to us it can be sent with a combination of the - categories (if it is applicable to many for example) in which case we map - the type's categories into their current debug levels and see if any of - them can be accepted. The function looks at each bit position in turn from - the input type field and then compares it's debug level with the modules. - - A level of 0 means that output is always sent to the debugger. This is - due to producing output if the input level is <= m_Levels. -*/ - - -BOOL WINAPI DbgCheckModuleLevel(DWORD Type,DWORD Level) -{ - if(g_fAutoRefreshLevels) - { - // re-read the registry every second. We cannot use RegNotify() to - // notice registry changes because it's not available on win9x. - static DWORD g_dwLastRefresh = 0; - DWORD dwTime = timeGetTime(); - if(dwTime - g_dwLastRefresh > 1000) { - g_dwLastRefresh = dwTime; - - // there's a race condition: multiple threads could update the - // values. plus read and write not synchronized. no harm - // though. - DbgInitModuleSettings(false); - } - } - - - DWORD Mask = 0x01; - - // If no valid bits are set return FALSE - if ((Type & ((1<m_szName = szObjectName; - pObject->m_wszName = wszObjectName; - pObject->m_dwCookie = ++m_dwNextCookie; - pObject->m_pNext = pListHead; - - pListHead = pObject; - m_dwObjectCount++; - - DWORD ObjectCookie = pObject->m_dwCookie; - ASSERT(ObjectCookie); - - if(wszObjectName) { - DbgLog((LOG_MEMORY,2,TEXT("Object created %d (%ls) %d Active"), - pObject->m_dwCookie, wszObjectName, m_dwObjectCount)); - } else { - DbgLog((LOG_MEMORY,2,TEXT("Object created %d (%hs) %d Active"), - pObject->m_dwCookie, szObjectName, m_dwObjectCount)); - } - - LeaveCriticalSection(&m_CSDebug); - return ObjectCookie; -} - - -/* This is called by the CBaseObject destructor when an object is about to be - destroyed, we are passed the cookie we returned during construction that - identifies this object. We scan the object list for a matching cookie and - remove the object if successful. We also update the active object count */ - -BOOL WINAPI DbgRegisterObjectDestruction(DWORD dwCookie) -{ - /* Grab the list critical section */ - EnterCriticalSection(&m_CSDebug); - - ObjectDesc *pObject = pListHead; - ObjectDesc *pPrevious = NULL; - - /* Scan the object list looking for a cookie match */ - - while (pObject) { - if (pObject->m_dwCookie == dwCookie) { - break; - } - pPrevious = pObject; - pObject = pObject->m_pNext; - } - - if (pObject == NULL) { - DbgBreak("Apparently destroying a bogus object"); - LeaveCriticalSection(&m_CSDebug); - return FALSE; - } - - /* Is the object at the head of the list */ - - if (pPrevious == NULL) { - pListHead = pObject->m_pNext; - } else { - pPrevious->m_pNext = pObject->m_pNext; - } - - /* Delete the object and update the housekeeping information */ - - m_dwObjectCount--; - - if(pObject->m_wszName) { - DbgLog((LOG_MEMORY,2,TEXT("Object destroyed %d (%ls) %d Active"), - pObject->m_dwCookie, pObject->m_wszName, m_dwObjectCount)); - } else { - DbgLog((LOG_MEMORY,2,TEXT("Object destroyed %d (%hs) %d Active"), - pObject->m_dwCookie, pObject->m_szName, m_dwObjectCount)); - } - - delete pObject; - LeaveCriticalSection(&m_CSDebug); - return TRUE; -} - - -/* This runs through the active object list displaying their details */ - -void WINAPI DbgDumpObjectRegister() -{ - TCHAR szInfo[iDEBUGINFO]; - - /* Grab the list critical section */ - - EnterCriticalSection(&m_CSDebug); - ObjectDesc *pObject = pListHead; - - /* Scan the object list displaying the name and cookie */ - - DbgLog((LOG_MEMORY,2,TEXT(""))); - DbgLog((LOG_MEMORY,2,TEXT(" ID Object Description"))); - DbgLog((LOG_MEMORY,2,TEXT(""))); - - while (pObject) { - if(pObject->m_wszName) { - (void)StringCchPrintf(szInfo,NUMELMS(szInfo),TEXT("%5d (%p) %30ls"),pObject->m_dwCookie, &pObject, pObject->m_wszName); - } else { - (void)StringCchPrintf(szInfo,NUMELMS(szInfo),TEXT("%5d (%p) %30hs"),pObject->m_dwCookie, &pObject, pObject->m_szName); - } - DbgLog((LOG_MEMORY,2,szInfo)); - pObject = pObject->m_pNext; - } - - (void)StringCchPrintf(szInfo,NUMELMS(szInfo),TEXT("Total object count %5d"),m_dwObjectCount); - DbgLog((LOG_MEMORY,2,TEXT(""))); - DbgLog((LOG_MEMORY,1,szInfo)); - LeaveCriticalSection(&m_CSDebug); -} - -/* Debug infinite wait stuff */ -DWORD WINAPI DbgWaitForSingleObject(HANDLE h) -{ - DWORD dwWaitResult; - do { - dwWaitResult = WaitForSingleObject(h, dwWaitTimeout); - ASSERT(dwWaitResult == WAIT_OBJECT_0); - } while (dwWaitResult == WAIT_TIMEOUT); - return dwWaitResult; -} -DWORD WINAPI DbgWaitForMultipleObjects(DWORD nCount, - __in_ecount(nCount) CONST HANDLE *lpHandles, - BOOL bWaitAll) -{ - DWORD dwWaitResult; - do { - dwWaitResult = WaitForMultipleObjects(nCount, - lpHandles, - bWaitAll, - dwWaitTimeout); - ASSERT((DWORD)(dwWaitResult - WAIT_OBJECT_0) < MAXIMUM_WAIT_OBJECTS); - } while (dwWaitResult == WAIT_TIMEOUT); - return dwWaitResult; -} - -void WINAPI DbgSetWaitTimeout(DWORD dwTimeout) -{ - dwWaitTimeout = dwTimeout; -} - -#endif /* DEBUG */ - -#ifdef _OBJBASE_H_ - - /* Stuff for printing out our GUID names */ - - GUID_STRING_ENTRY g_GuidNames[] = { - #define OUR_GUID_ENTRY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ - { #name, { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } }, - #include - }; - - CGuidNameList GuidNames; - int g_cGuidNames = sizeof(g_GuidNames) / sizeof(g_GuidNames[0]); - - char *CGuidNameList::operator [] (const GUID &guid) - { - for (int i = 0; i < g_cGuidNames; i++) { - if (g_GuidNames[i].guid == guid) { - return g_GuidNames[i].szName; - } - } - if (guid == GUID_NULL) { - return "GUID_NULL"; - } - - // !!! add something to print FOURCC guids? - - // shouldn't this print the hex CLSID? - return "Unknown GUID Name"; - } - -#endif /* _OBJBASE_H_ */ - -/* CDisp class - display our data types */ - -// clashes with REFERENCE_TIME -CDisp::CDisp(LONGLONG ll, int Format) -{ - // note: this could be combined with CDisp(LONGLONG) by - // introducing a default format of CDISP_REFTIME - LARGE_INTEGER li; - li.QuadPart = ll; - switch (Format) { - case CDISP_DEC: - { - TCHAR temp[20]; - int pos=20; - temp[--pos] = 0; - int digit; - // always output at least one digit - do { - // Get the rightmost digit - we only need the low word - digit = li.LowPart % 10; - li.QuadPart /= 10; - temp[--pos] = (TCHAR) digit+L'0'; - } while (li.QuadPart); - (void)StringCchCopy(m_String, NUMELMS(m_String), temp+pos); - break; - } - case CDISP_HEX: - default: - (void)StringCchPrintf(m_String, NUMELMS(m_String), TEXT("0x%X%8.8X"), li.HighPart, li.LowPart); - } -}; - -CDisp::CDisp(REFCLSID clsid) -{ -#ifdef UNICODE - (void)StringFromGUID2(clsid, m_String, NUMELMS(m_String)); -#else - WCHAR wszTemp[50]; - (void)StringFromGUID2(clsid, wszTemp, NUMELMS(wszTemp)); - (void)StringCchPrintf(m_String, NUMELMS(m_String), TEXT("%S"), wszTemp); -#endif -}; - -#ifdef __STREAMS__ -/* Display stuff */ -CDisp::CDisp(CRefTime llTime) -{ - LONGLONG llDiv; - if (llTime < 0) { - llTime = -llTime; - (void)StringCchCopy(m_String, NUMELMS(m_String), TEXT("-")); - } - llDiv = (LONGLONG)24 * 3600 * 10000000; - if (llTime >= llDiv) { - (void)StringCchPrintf(m_String + lstrlen(m_String), NUMELMS(m_String) - lstrlen(m_String), TEXT("%d days "), (LONG)(llTime / llDiv)); - llTime = llTime % llDiv; - } - llDiv = (LONGLONG)3600 * 10000000; - if (llTime >= llDiv) { - (void)StringCchPrintf(m_String + lstrlen(m_String), NUMELMS(m_String) - lstrlen(m_String), TEXT("%d hrs "), (LONG)(llTime / llDiv)); - llTime = llTime % llDiv; - } - llDiv = (LONGLONG)60 * 10000000; - if (llTime >= llDiv) { - (void)StringCchPrintf(m_String + lstrlen(m_String), NUMELMS(m_String) - lstrlen(m_String), TEXT("%d mins "), (LONG)(llTime / llDiv)); - llTime = llTime % llDiv; - } - (void)StringCchPrintf(m_String + lstrlen(m_String), NUMELMS(m_String) - lstrlen(m_String), TEXT("%d.%3.3d sec"), - (LONG)llTime / 10000000, - (LONG)((llTime % 10000000) / 10000)); -}; - -#endif // __STREAMS__ - - -/* Display pin */ -CDisp::CDisp(IPin *pPin) -{ - PIN_INFO pi; - TCHAR str[MAX_PIN_NAME]; - CLSID clsid; - - if (pPin) { - pPin->QueryPinInfo(&pi); - pi.pFilter->GetClassID(&clsid); - QueryPinInfoReleaseFilter(pi); - #ifndef UNICODE - WideCharToMultiByte(GetACP(), 0, pi.achName, lstrlenW(pi.achName) + 1, - str, MAX_PIN_NAME, NULL, NULL); - #else - (void)StringCchCopy(str, NUMELMS(str), pi.achName); - #endif - } else { - (void)StringCchCopy(str, NUMELMS(str), TEXT("NULL IPin")); - } - - m_pString = (PTCHAR) new TCHAR[lstrlen(str)+64]; - if (!m_pString) { - return; - } - - (void)StringCchPrintf(m_pString, lstrlen(str) + 64, TEXT("%hs(%s)"), GuidNames[clsid], str); -} - -/* Display filter or pin */ -CDisp::CDisp(IUnknown *pUnk) -{ - IBaseFilter *pf; - HRESULT hr = pUnk->QueryInterface(IID_IBaseFilter, (void **)&pf); - if(SUCCEEDED(hr)) - { - FILTER_INFO fi; - hr = pf->QueryFilterInfo(&fi); - if(SUCCEEDED(hr)) - { - QueryFilterInfoReleaseGraph(fi); - - size_t len = lstrlenW(fi.achName) + 1; - - m_pString = new TCHAR[len]; - if(m_pString) - { -#ifdef UNICODE - (void)StringCchCopy(m_pString, len, fi.achName); -#else - (void)StringCchPrintf(m_pString, len, "%S", fi.achName); -#endif - } - } - - pf->Release(); - - return; - } - - IPin *pp; - hr = pUnk->QueryInterface(IID_IPin, (void **)&pp); - if(SUCCEEDED(hr)) - { - CDisp::CDisp(pp); - pp->Release(); - return; - } -} - - -CDisp::~CDisp() -{ -} - -CDispBasic::~CDispBasic() -{ - if (m_pString != m_String) { - delete [] m_pString; - } -} - -CDisp::CDisp(double d) -{ - (void)StringCchPrintf(m_String, NUMELMS(m_String), TEXT("%d.%03d"), (int) d, (int) ((d - (int) d) * 1000)); -} - - -/* If built for debug this will display the media type details. We convert the - major and subtypes into strings and also ask the base classes for a string - description of the subtype, so MEDIASUBTYPE_RGB565 becomes RGB 565 16 bit - We also display the fields in the BITMAPINFOHEADER structure, this should - succeed as we do not accept input types unless the format is big enough */ - -#ifdef DEBUG -void WINAPI DisplayType(LPCTSTR label, const AM_MEDIA_TYPE *pmtIn) -{ - - /* Dump the GUID types and a short description */ - - DbgLog((LOG_TRACE,5,TEXT(""))); - DbgLog((LOG_TRACE,2,TEXT("%s M type %hs S type %hs"), label, - GuidNames[pmtIn->majortype], - GuidNames[pmtIn->subtype])); - DbgLog((LOG_TRACE,5,TEXT("Subtype description %s"),GetSubtypeName(&pmtIn->subtype))); - - /* Dump the generic media types */ - - if (pmtIn->bTemporalCompression) { - DbgLog((LOG_TRACE,5,TEXT("Temporally compressed"))); - } else { - DbgLog((LOG_TRACE,5,TEXT("Not temporally compressed"))); - } - - if (pmtIn->bFixedSizeSamples) { - DbgLog((LOG_TRACE,5,TEXT("Sample size %d"),pmtIn->lSampleSize)); - } else { - DbgLog((LOG_TRACE,5,TEXT("Variable size samples"))); - } - - if (pmtIn->formattype == FORMAT_VideoInfo) { - - VIDEOINFOHEADER *pVideoInfo = (VIDEOINFOHEADER *)pmtIn->pbFormat; - - DisplayRECT(TEXT("Source rectangle"),pVideoInfo->rcSource); - DisplayRECT(TEXT("Target rectangle"),pVideoInfo->rcTarget); - DisplayBITMAPINFO(HEADER(pmtIn->pbFormat)); - - } if (pmtIn->formattype == FORMAT_VideoInfo2) { - - VIDEOINFOHEADER2 *pVideoInfo2 = (VIDEOINFOHEADER2 *)pmtIn->pbFormat; - - DisplayRECT(TEXT("Source rectangle"),pVideoInfo2->rcSource); - DisplayRECT(TEXT("Target rectangle"),pVideoInfo2->rcTarget); - DbgLog((LOG_TRACE, 5, TEXT("Aspect Ratio: %d:%d"), - pVideoInfo2->dwPictAspectRatioX, - pVideoInfo2->dwPictAspectRatioY)); - DisplayBITMAPINFO(&pVideoInfo2->bmiHeader); - - } else if (pmtIn->majortype == MEDIATYPE_Audio) { - DbgLog((LOG_TRACE,2,TEXT(" Format type %hs"), - GuidNames[pmtIn->formattype])); - DbgLog((LOG_TRACE,2,TEXT(" Subtype %hs"), - GuidNames[pmtIn->subtype])); - - if ((pmtIn->subtype != MEDIASUBTYPE_MPEG1Packet) - && (pmtIn->cbFormat >= sizeof(PCMWAVEFORMAT))) - { - /* Dump the contents of the WAVEFORMATEX type-specific format structure */ - - WAVEFORMATEX *pwfx = (WAVEFORMATEX *) pmtIn->pbFormat; - DbgLog((LOG_TRACE,2,TEXT("wFormatTag %u"), pwfx->wFormatTag)); - DbgLog((LOG_TRACE,2,TEXT("nChannels %u"), pwfx->nChannels)); - DbgLog((LOG_TRACE,2,TEXT("nSamplesPerSec %lu"), pwfx->nSamplesPerSec)); - DbgLog((LOG_TRACE,2,TEXT("nAvgBytesPerSec %lu"), pwfx->nAvgBytesPerSec)); - DbgLog((LOG_TRACE,2,TEXT("nBlockAlign %u"), pwfx->nBlockAlign)); - DbgLog((LOG_TRACE,2,TEXT("wBitsPerSample %u"), pwfx->wBitsPerSample)); - - /* PCM uses a WAVEFORMAT and does not have the extra size field */ - - if (pmtIn->cbFormat >= sizeof(WAVEFORMATEX)) { - DbgLog((LOG_TRACE,2,TEXT("cbSize %u"), pwfx->cbSize)); - } - } else { - } - - } else { - DbgLog((LOG_TRACE,2,TEXT(" Format type %hs"), - GuidNames[pmtIn->formattype])); - } -} - - -void DisplayBITMAPINFO(const BITMAPINFOHEADER* pbmi) -{ - DbgLog((LOG_TRACE,5,TEXT("Size of BITMAPINFO structure %d"),pbmi->biSize)); - if (pbmi->biCompression < 256) { - DbgLog((LOG_TRACE,2,TEXT("%dx%dx%d bit (%d)"), - pbmi->biWidth, pbmi->biHeight, - pbmi->biBitCount, pbmi->biCompression)); - } else { - DbgLog((LOG_TRACE,2,TEXT("%dx%dx%d bit '%4.4hs'"), - pbmi->biWidth, pbmi->biHeight, - pbmi->biBitCount, &pbmi->biCompression)); - } - - DbgLog((LOG_TRACE,2,TEXT("Image size %d"),pbmi->biSizeImage)); - DbgLog((LOG_TRACE,5,TEXT("Planes %d"),pbmi->biPlanes)); - DbgLog((LOG_TRACE,5,TEXT("X Pels per metre %d"),pbmi->biXPelsPerMeter)); - DbgLog((LOG_TRACE,5,TEXT("Y Pels per metre %d"),pbmi->biYPelsPerMeter)); - DbgLog((LOG_TRACE,5,TEXT("Colours used %d"),pbmi->biClrUsed)); -} - - -void DisplayRECT(LPCTSTR szLabel, const RECT& rc) -{ - DbgLog((LOG_TRACE,5,TEXT("%s (Left %d Top %d Right %d Bottom %d)"), - szLabel, - rc.left, - rc.top, - rc.right, - rc.bottom)); -} - - -void WINAPI DumpGraph(IFilterGraph *pGraph, DWORD dwLevel) -{ - if( !pGraph ) - { - return; - } - - IEnumFilters *pFilters; - - DbgLog((LOG_TRACE,dwLevel,TEXT("DumpGraph [%x]"), pGraph)); - - if (FAILED(pGraph->EnumFilters(&pFilters))) { - DbgLog((LOG_TRACE,dwLevel,TEXT("EnumFilters failed!"))); - } - - IBaseFilter *pFilter; - ULONG n; - while (pFilters->Next(1, &pFilter, &n) == S_OK) { - FILTER_INFO info; - - if (FAILED(pFilter->QueryFilterInfo(&info))) { - DbgLog((LOG_TRACE,dwLevel,TEXT(" Filter [%p] -- failed QueryFilterInfo"), pFilter)); - } else { - QueryFilterInfoReleaseGraph(info); - - // !!! should QueryVendorInfo here! - - DbgLog((LOG_TRACE,dwLevel,TEXT(" Filter [%p] '%ls'"), pFilter, info.achName)); - - IEnumPins *pins; - - if (FAILED(pFilter->EnumPins(&pins))) { - DbgLog((LOG_TRACE,dwLevel,TEXT("EnumPins failed!"))); - } else { - - IPin *pPin; - while (pins->Next(1, &pPin, &n) == S_OK) { - PIN_INFO pinInfo; - - if (FAILED(pPin->QueryPinInfo(&pinInfo))) { - DbgLog((LOG_TRACE,dwLevel,TEXT(" Pin [%x] -- failed QueryPinInfo"), pPin)); - } else { - QueryPinInfoReleaseFilter(pinInfo); - - IPin *pPinConnected = NULL; - - HRESULT hr = pPin->ConnectedTo(&pPinConnected); - - if (pPinConnected) { - DbgLog((LOG_TRACE,dwLevel,TEXT(" Pin [%p] '%ls' [%sput]") - TEXT(" Connected to pin [%p]"), - pPin, pinInfo.achName, - pinInfo.dir == PINDIR_INPUT ? TEXT("In") : TEXT("Out"), - pPinConnected)); - - pPinConnected->Release(); - - // perhaps we should really dump the type both ways as a sanity - // check? - if (pinInfo.dir == PINDIR_OUTPUT) { - AM_MEDIA_TYPE mt; - - hr = pPin->ConnectionMediaType(&mt); - - if (SUCCEEDED(hr)) { - DisplayType(TEXT("Connection type"), &mt); - - FreeMediaType(mt); - } - } - } else { - DbgLog((LOG_TRACE,dwLevel, - TEXT(" Pin [%x] '%ls' [%sput]"), - pPin, pinInfo.achName, - pinInfo.dir == PINDIR_INPUT ? TEXT("In") : TEXT("Out"))); - - } - } - - pPin->Release(); - - } - - pins->Release(); - } - - } - - pFilter->Release(); - } - - pFilters->Release(); - -} - -#endif - -#endif /* PJMEDIA_VIDEO_DEV_HAS_DSHOW */ diff --git a/res/pjproject/third_party/BaseClasses/wxdebug.h b/res/pjproject/third_party/BaseClasses/wxdebug.h deleted file mode 100644 index 62efffbeec..0000000000 --- a/res/pjproject/third_party/BaseClasses/wxdebug.h +++ /dev/null @@ -1,359 +0,0 @@ -//------------------------------------------------------------------------------ -// File: WXDebug.h -// -// Desc: DirectShow base classes - provides debugging facilities. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - - -#ifndef __WXDEBUG__ -#define __WXDEBUG__ - -// This library provides fairly straight forward debugging functionality, this -// is split into two main sections. The first is assertion handling, there are -// three types of assertions provided here. The most commonly used one is the -// ASSERT(condition) macro which will pop up a message box including the file -// and line number if the condition evaluates to FALSE. Then there is the -// EXECUTE_ASSERT macro which is the same as ASSERT except the condition will -// still be executed in NON debug builds. The final type of assertion is the -// KASSERT macro which is more suitable for pure (perhaps kernel) filters as -// the condition is printed onto the debugger rather than in a message box. -// -// The other part of the debug module facilties is general purpose logging. -// This is accessed by calling DbgLog(). The function takes a type and level -// field which define the type of informational string you are presenting and -// it's relative importance. The type field can be a combination (one or more) -// of LOG_TIMING, LOG_TRACE, LOG_MEMORY, LOG_LOCKING and LOG_ERROR. The level -// is a DWORD value where zero defines highest important. Use of zero as the -// debug logging level is to be encouraged ONLY for major errors or events as -// they will ALWAYS be displayed on the debugger. Other debug output has it's -// level matched against the current debug output level stored in the registry -// for this module and if less than the current setting it will be displayed. -// -// Each module or executable has it's own debug output level for each of the -// five types. These are read in when the DbgInitialise function is called -// for DLLs linking to STRMBASE.LIB this is done automatically when the DLL -// is loaded, executables must call it explicitely with the module instance -// handle given to them through the WINMAIN entry point. An executable must -// also call DbgTerminate when they have finished to clean up the resources -// the debug library uses, once again this is done automatically for DLLs - -// These are the five different categories of logging information - -enum { LOG_TIMING = 0x01, // Timing and performance measurements - LOG_TRACE = 0x02, // General step point call tracing - LOG_MEMORY = 0x04, // Memory and object allocation/destruction - LOG_LOCKING = 0x08, // Locking/unlocking of critical sections - LOG_ERROR = 0x10, // Debug error notification - LOG_CUSTOM1 = 0x20, - LOG_CUSTOM2 = 0x40, - LOG_CUSTOM3 = 0x80, - LOG_CUSTOM4 = 0x100, - LOG_CUSTOM5 = 0x200, -}; - -#define LOG_FORCIBLY_SET 0x80000000 - -enum { CDISP_HEX = 0x01, - CDISP_DEC = 0x02}; - -// For each object created derived from CBaseObject (in debug builds) we -// create a descriptor that holds it's name (statically allocated memory) -// and a cookie we assign it. We keep a list of all the active objects -// we have registered so that we can dump a list of remaining objects - -typedef struct tag_ObjectDesc { - LPCSTR m_szName; - LPCWSTR m_wszName; - DWORD m_dwCookie; - tag_ObjectDesc *m_pNext; -} ObjectDesc; - -#define DLLIMPORT __declspec(dllimport) -#define DLLEXPORT __declspec(dllexport) - -#ifdef DEBUG - - #define NAME(x) TEXT(x) - - // These are used internally by the debug library (PRIVATE) - - void WINAPI DbgInitKeyLevels(HKEY hKey, bool fTakeMax); - void WINAPI DbgInitGlobalSettings(bool fTakeMax); - void WINAPI DbgInitModuleSettings(bool fTakeMax); - void WINAPI DbgInitModuleName(); - DWORD WINAPI DbgRegisterObjectCreation( - LPCSTR szObjectName, LPCWSTR wszObjectName); - - BOOL WINAPI DbgRegisterObjectDestruction(DWORD dwCookie); - - // These are the PUBLIC entry points - - BOOL WINAPI DbgCheckModuleLevel(DWORD Type,DWORD Level); - void WINAPI DbgSetModuleLevel(DWORD Type,DWORD Level); - void WINAPI DbgSetAutoRefreshLevels(bool fAuto); - - // Initialise the library with the module handle - - void WINAPI DbgInitialise(HINSTANCE hInst); - void WINAPI DbgTerminate(); - - void WINAPI DbgDumpObjectRegister(); - - // Display error and logging to the user - - void WINAPI DbgAssert(LPCTSTR pCondition,LPCTSTR pFileName,INT iLine); - void WINAPI DbgBreakPoint(LPCTSTR pCondition,LPCTSTR pFileName,INT iLine); - void WINAPI DbgBreakPoint(LPCTSTR pFileName,INT iLine,__format_string LPCTSTR szFormatString,...); - - void WINAPI DbgKernelAssert(LPCTSTR pCondition,LPCTSTR pFileName,INT iLine); - void WINAPI DbgLogInfo(DWORD Type,DWORD Level,__format_string LPCTSTR pFormat,...); -#ifdef UNICODE - void WINAPI DbgLogInfo(DWORD Type,DWORD Level,__format_string LPCSTR pFormat,...); - void WINAPI DbgAssert(LPCSTR pCondition,LPCSTR pFileName,INT iLine); - void WINAPI DbgBreakPoint(LPCSTR pCondition,LPCSTR pFileName,INT iLine); - void WINAPI DbgKernelAssert(LPCSTR pCondition,LPCSTR pFileName,INT iLine); -#endif - void WINAPI DbgOutString(LPCTSTR psz); - - // Debug infinite wait stuff - DWORD WINAPI DbgWaitForSingleObject(HANDLE h); - DWORD WINAPI DbgWaitForMultipleObjects(DWORD nCount, - __in_ecount(nCount) CONST HANDLE *lpHandles, - BOOL bWaitAll); - void WINAPI DbgSetWaitTimeout(DWORD dwTimeout); - -#ifdef __strmif_h__ - // Display a media type: Terse at level 2, verbose at level 5 - void WINAPI DisplayType(LPCTSTR label, const AM_MEDIA_TYPE *pmtIn); - - // Dump lots of information about a filter graph - void WINAPI DumpGraph(IFilterGraph *pGraph, DWORD dwLevel); -#endif - - #define KASSERT(_x_) if (!(_x_)) \ - DbgKernelAssert(TEXT(#_x_),TEXT(__FILE__),__LINE__) - - // Break on the debugger without putting up a message box - // message goes to debugger instead - - #define KDbgBreak(_x_) \ - DbgKernelAssert(TEXT(#_x_),TEXT(__FILE__),__LINE__) - - // We chose a common name for our ASSERT macro, MFC also uses this name - // So long as the implementation evaluates the condition and handles it - // then we will be ok. Rather than override the behaviour expected we - // will leave whatever first defines ASSERT as the handler (i.e. MFC) - #ifndef ASSERT - #define ASSERT(_x_) if (!(_x_)) \ - DbgAssert(TEXT(#_x_),TEXT(__FILE__),__LINE__) - #endif - - #define DbgAssertAligned( _ptr_, _alignment_ ) ASSERT( ((DWORD_PTR) (_ptr_)) % (_alignment_) == 0) - - // Put up a message box informing the user of a halt - // condition in the program - - #define DbgBreak(_x_) \ - DbgBreakPoint(TEXT(#_x_),TEXT(__FILE__),__LINE__) - - #define EXECUTE_ASSERT(_x_) ASSERT(_x_) - #define DbgLog(_x_) DbgLogInfo _x_ - // MFC style trace macros - - #define NOTE(_x_) DbgLog((LOG_TRACE,5,TEXT(_x_))) - #define NOTE1(_x_,a) DbgLog((LOG_TRACE,5,TEXT(_x_),a)) - #define NOTE2(_x_,a,b) DbgLog((LOG_TRACE,5,TEXT(_x_),a,b)) - #define NOTE3(_x_,a,b,c) DbgLog((LOG_TRACE,5,TEXT(_x_),a,b,c)) - #define NOTE4(_x_,a,b,c,d) DbgLog((LOG_TRACE,5,TEXT(_x_),a,b,c,d)) - #define NOTE5(_x_,a,b,c,d,e) DbgLog((LOG_TRACE,5,TEXT(_x_),a,b,c,d,e)) - -#else - - // Retail builds make public debug functions inert - WARNING the source - // files do not define or build any of the entry points in debug builds - // (public entry points compile to nothing) so if you go trying to call - // any of the private entry points in your source they won't compile - - #define NAME(_x_) ((LPTSTR) NULL) - - #define DbgInitialise(hInst) - #define DbgTerminate() - #define DbgLog(_x_) 0 - #define DbgOutString(psz) - #define DbgAssertAligned( _ptr_, _alignment_ ) 0 - - #define DbgRegisterObjectCreation(pObjectName) - #define DbgRegisterObjectDestruction(dwCookie) - #define DbgDumpObjectRegister() - - #define DbgCheckModuleLevel(Type,Level) - #define DbgSetModuleLevel(Type,Level) - #define DbgSetAutoRefreshLevels(fAuto) - - #define DbgWaitForSingleObject(h) WaitForSingleObject(h, INFINITE) - #define DbgWaitForMultipleObjects(nCount, lpHandles, bWaitAll) \ - WaitForMultipleObjects(nCount, lpHandles, bWaitAll, INFINITE) - #define DbgSetWaitTimeout(dwTimeout) - - #define KDbgBreak(_x_) - #define DbgBreak(_x_) - - #define KASSERT(_x_) ((void)0) - #ifndef ASSERT - #define ASSERT(_x_) ((void)0) - #endif - #define EXECUTE_ASSERT(_x_) ((void)(_x_)) - - // MFC style trace macros - - #define NOTE(_x_) ((void)0) - #define NOTE1(_x_,a) ((void)0) - #define NOTE2(_x_,a,b) ((void)0) - #define NOTE3(_x_,a,b,c) ((void)0) - #define NOTE4(_x_,a,b,c,d) ((void)0) - #define NOTE5(_x_,a,b,c,d,e) ((void)0) - - #define DisplayType(label, pmtIn) ((void)0) - #define DumpGraph(pGraph, label) ((void)0) -#endif - - -// Checks a pointer which should be non NULL - can be used as follows. - -#define CheckPointer(p,ret) {if((p)==NULL) return (ret);} - -// HRESULT Foo(VOID *pBar) -// { -// CheckPointer(pBar,E_INVALIDARG) -// } -// -// Or if the function returns a boolean -// -// BOOL Foo(VOID *pBar) -// { -// CheckPointer(pBar,FALSE) -// } - -#define ValidateReadPtr(p,cb) 0 -#define ValidateWritePtr(p,cb) 0 -#define ValidateReadWritePtr(p,cb) 0 -#define ValidateStringPtr(p) 0 -#define ValidateStringPtrA(p) 0 -#define ValidateStringPtrW(p) 0 - - -#ifdef _OBJBASE_H_ - - // Outputting GUID names. If you want to include the name - // associated with a GUID (eg CLSID_...) then - // - // GuidNames[yourGUID] - // - // Returns the name defined in uuids.h as a string - - typedef struct { - CHAR *szName; - GUID guid; - } GUID_STRING_ENTRY; - - class CGuidNameList { - public: - CHAR *operator [] (const GUID& guid); - }; - - extern CGuidNameList GuidNames; - -#endif - -#ifndef REMIND - // REMIND macro - generates warning as reminder to complete coding - // (eg) usage: - // - // #pragma message (REMIND("Add automation support")) - - - #define QUOTE(x) #x - #define QQUOTE(y) QUOTE(y) - #define REMIND(str) __FILE__ "(" QQUOTE(__LINE__) ") : " str -#endif - -// Method to display objects in a useful format -// -// eg If you want to display a LONGLONG ll in a debug string do (eg) -// -// DbgLog((LOG_TRACE, n, TEXT("Value is %s"), (LPCTSTR)CDisp(ll, CDISP_HEX))); - - -class CDispBasic -{ -public: - CDispBasic() { m_pString = m_String; }; - ~CDispBasic(); -protected: - PTCHAR m_pString; // normally points to m_String... unless too much data - TCHAR m_String[50]; -}; -class CDisp : public CDispBasic -{ -public: - CDisp(LONGLONG ll, int Format = CDISP_HEX); // Display a LONGLONG in CDISP_HEX or CDISP_DEC form - CDisp(REFCLSID clsid); // Display a GUID - CDisp(double d); // Display a floating point number -#ifdef __strmif_h__ -#ifdef __STREAMS__ - CDisp(CRefTime t); // Display a Reference Time -#endif - CDisp(IPin *pPin); // Display a pin as {filter clsid}(pin name) - CDisp(IUnknown *pUnk); // Display a filter or pin -#endif // __strmif_h__ - ~CDisp(); - - // Implement cast to (LPCTSTR) as parameter to logger - operator LPCTSTR() - { - return (LPCTSTR)m_pString; - }; -}; - - -#if defined(DEBUG) -class CAutoTrace -{ -private: - LPCTSTR _szBlkName; - const int _level; - static const TCHAR _szEntering[]; - static const TCHAR _szLeaving[]; -public: - CAutoTrace(LPCTSTR szBlkName, const int level = 15) - : _szBlkName(szBlkName), _level(level) - {DbgLog((LOG_TRACE, _level, _szEntering, _szBlkName));} - - ~CAutoTrace() - {DbgLog((LOG_TRACE, _level, _szLeaving, _szBlkName));} -}; - -#if defined (__FUNCTION__) - -#define AMTRACEFN() CAutoTrace __trace(TEXT(__FUNCTION__)) -#define AMTRACE(_x_) CAutoTrace __trace(TEXT(__FUNCTION__)) - -#else - -#define AMTRACE(_x_) CAutoTrace __trace _x_ -#define AMTRACEFN() - -#endif - -#else - -#define AMTRACE(_x_) -#define AMTRACEFN() - -#endif - -#endif // __WXDEBUG__ - - diff --git a/res/pjproject/third_party/BaseClasses/wxlist.cpp b/res/pjproject/third_party/BaseClasses/wxlist.cpp deleted file mode 100644 index 90719998c7..0000000000 --- a/res/pjproject/third_party/BaseClasses/wxlist.cpp +++ /dev/null @@ -1,896 +0,0 @@ -//------------------------------------------------------------------------------ -// File: WXList.cpp -// -// Desc: DirectShow base classes - implements a non-MFC based generic list -// template class. -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - -#include - -#if defined(PJMEDIA_VIDEO_DEV_HAS_DSHOW) && PJMEDIA_VIDEO_DEV_HAS_DSHOW != 0 - -/* A generic list of pointers to objects. - Objectives: avoid using MFC libraries in ndm kernel mode and - provide a really useful list type. - - The class is thread safe in that separate threads may add and - delete items in the list concurrently although the application - must ensure that constructor and destructor access is suitably - synchronised. - - The list name must not conflict with MFC classes as an - application may use both - - The nodes form a doubly linked, NULL terminated chain with an anchor - block (the list object per se) holding pointers to the first and last - nodes and a count of the nodes. - There is a node cache to reduce the allocation and freeing overhead. - It optionally (determined at construction time) has an Event which is - set whenever the list becomes non-empty and reset whenever it becomes - empty. - It optionally (determined at construction time) has a Critical Section - which is entered during the important part of each operation. (About - all you can do outside it is some parameter checking). - - The node cache is a repository of nodes that are NOT in the list to speed - up storage allocation. Each list has its own cache to reduce locking and - serialising. The list accesses are serialised anyway for a given list - a - common cache would mean that we would have to separately serialise access - of all lists within the cache. Because the cache only stores nodes that are - not in the list, releasing the cache does not release any list nodes. This - means that list nodes can be copied or rechained from one list to another - without danger of creating a dangling reference if the original cache goes - away. - - Questionable design decisions: - 1. Retaining the warts for compatibility - 2. Keeping an element count -i.e. counting whenever we do anything - instead of only when we want the count. - 3. Making the chain pointers NULL terminated. If the list object - itself looks just like a node and the list is kept as a ring then - it reduces the number of special cases. All inserts look the same. -*/ - - -#include - -/* set cursor to the position of each element of list in turn */ -#define INTERNALTRAVERSELIST(list, cursor) \ -for ( cursor = (list).GetHeadPositionI() \ - ; cursor!=NULL \ - ; cursor = (list).Next(cursor) \ - ) - - -/* set cursor to the position of each element of list in turn - in reverse order -*/ -#define INTERNALREVERSETRAVERSELIST(list, cursor) \ -for ( cursor = (list).GetTailPositionI() \ - ; cursor!=NULL \ - ; cursor = (list).Prev(cursor) \ - ) - -/* Constructor calls a separate initialisation function that - creates a node cache, optionally creates a lock object - and optionally creates a signaling object. - - By default we create a locking object, a DEFAULTCACHE sized - cache but no event object so the list cannot be used in calls - to WaitForSingleObject -*/ -CBaseList::CBaseList(__in_opt LPCTSTR pName, // Descriptive list name - INT iItems) : // Node cache size -#ifdef DEBUG - CBaseObject(pName), -#endif - m_pFirst(NULL), - m_pLast(NULL), - m_Count(0), - m_Cache(iItems) -{ -} // constructor - -CBaseList::CBaseList(__in_opt LPCTSTR pName) : // Descriptive list name -#ifdef DEBUG - CBaseObject(pName), -#endif - m_pFirst(NULL), - m_pLast(NULL), - m_Count(0), - m_Cache(DEFAULTCACHE) -{ -} // constructor - -#ifdef UNICODE -CBaseList::CBaseList(__in_opt LPCSTR pName, // Descriptive list name - INT iItems) : // Node cache size -#ifdef DEBUG - CBaseObject(pName), -#endif - m_pFirst(NULL), - m_pLast(NULL), - m_Count(0), - m_Cache(iItems) -{ -} // constructor - -CBaseList::CBaseList(__in_opt LPCSTR pName) : // Descriptive list name -#ifdef DEBUG - CBaseObject(pName), -#endif - m_pFirst(NULL), - m_pLast(NULL), - m_Count(0), - m_Cache(DEFAULTCACHE) -{ -} // constructor - -#endif - -/* The destructor enumerates all the node objects in the list and - in the cache deleting each in turn. We do not do any processing - on the objects that the list holds (i.e. points to) so if they - represent interfaces for example the creator of the list should - ensure that each of them is released before deleting us -*/ -CBaseList::~CBaseList() -{ - /* Delete all our list nodes */ - - RemoveAll(); - -} // destructor - -/* Remove all the nodes from the list but don't do anything - with the objects that each node looks after (this is the - responsibility of the creator). - Aa a last act we reset the signalling event - (if available) to indicate to clients that the list - does not have any entries in it. -*/ -void CBaseList::RemoveAll() -{ - /* Free up all the CNode objects NOTE we don't bother putting the - deleted nodes into the cache as this method is only really called - in serious times of change such as when we are being deleted at - which point the cache will be deleted anway */ - - CNode *pn = m_pFirst; - while (pn) { - CNode *op = pn; - pn = pn->Next(); - delete op; - } - - /* Reset the object count and the list pointers */ - - m_Count = 0; - m_pFirst = m_pLast = NULL; - -} // RemoveAll - - - -/* Return a position enumerator for the entire list. - A position enumerator is a pointer to a node object cast to a - transparent type so all we do is return the head/tail node - pointer in the list. - WARNING because the position is a pointer to a node there is - an implicit assumption for users a the list class that after - deleting an object from the list that any other position - enumerators that you have may be invalid (since the node - may be gone). -*/ -__out_opt POSITION CBaseList::GetHeadPositionI() const -{ - return (POSITION) m_pFirst; -} // GetHeadPosition - - - -__out_opt POSITION CBaseList::GetTailPositionI() const -{ - return (POSITION) m_pLast; -} // GetTailPosition - - - -/* Get the number of objects in the list, - Get the lock before accessing the count. - Locking may not be entirely necessary but it has the side effect - of making sure that all operations are complete before we get it. - So for example if a list is being added to this list then that - will have completed in full before we continue rather than seeing - an intermediate albeit valid state -*/ -int CBaseList::GetCountI() const -{ - return m_Count; -} // GetCount - - - -/* Return the object at rp, update rp to the next object from - the list or NULL if you have moved over the last object. - You may still call this function once we return NULL but - we will continue to return a NULL position value -*/ -__out void *CBaseList::GetNextI(__inout POSITION& rp) const -{ - /* have we reached the end of the list */ - - if (rp == NULL) { - return NULL; - } - - /* Lock the object before continuing */ - - void *pObject; - - /* Copy the original position then step on */ - - CNode *pn = (CNode *) rp; - ASSERT(pn != NULL); - rp = (POSITION) pn->Next(); - - /* Get the object at the original position from the list */ - - pObject = pn->GetData(); - // ASSERT(pObject != NULL); // NULL pointers in the list are allowed. - return pObject; -} //GetNext - - - -/* Return the object at p. - Asking for the object at NULL ASSERTs then returns NULL - The object is NOT locked. The list is not being changed - in any way. If another thread is busy deleting the object - then locking would only result in a change from one bad - behaviour to another. -*/ -__out_opt void *CBaseList::GetI(__in_opt POSITION p) const -{ - if (p == NULL) { - return NULL; - } - - CNode * pn = (CNode *) p; - void *pObject = pn->GetData(); - // ASSERT(pObject != NULL); // NULL pointers in the list are allowed. - return pObject; -} //Get - -__out void *CBaseList::GetValidI(__in POSITION p) const -{ - CNode * pn = (CNode *) p; - void *pObject = pn->GetData(); - // ASSERT(pObject != NULL); // NULL pointers in the list are allowed. - return pObject; -} //Get - - -/* Return the first position in the list which holds the given pointer. - Return NULL if it's not found. -*/ -__out_opt POSITION CBaseList::FindI( __in void * pObj) const -{ - POSITION pn; - INTERNALTRAVERSELIST(*this, pn){ - if (GetI(pn)==pObj) { - return pn; - } - } - return NULL; -} // Find - - - -/* Remove the first node in the list (deletes the pointer to its object - from the list, does not free the object itself). - Return the pointer to its object or NULL if empty -*/ -__out_opt void *CBaseList::RemoveHeadI() -{ - /* All we do is get the head position and ask for that to be deleted. - We could special case this since some of the code path checking - in Remove() is redundant as we know there is no previous - node for example but it seems to gain little over the - added complexity - */ - - return RemoveI((POSITION)m_pFirst); -} // RemoveHead - - - -/* Remove the last node in the list (deletes the pointer to its object - from the list, does not free the object itself). - Return the pointer to its object or NULL if empty -*/ -__out_opt void *CBaseList::RemoveTailI() -{ - /* All we do is get the tail position and ask for that to be deleted. - We could special case this since some of the code path checking - in Remove() is redundant as we know there is no previous - node for example but it seems to gain little over the - added complexity - */ - - return RemoveI((POSITION)m_pLast); -} // RemoveTail - - - -/* Remove the pointer to the object in this position from the list. - Deal with all the chain pointers - Return a pointer to the object removed from the list. - The node object that is freed as a result - of this operation is added to the node cache where - it can be used again. - Remove(NULL) is a harmless no-op - but probably is a wart. -*/ -__out_opt void *CBaseList::RemoveI(__in_opt POSITION pos) -{ - /* Lock the critical section before continuing */ - - // ASSERT (pos!=NULL); // Removing NULL is to be harmless! - if (pos==NULL) return NULL; - - - CNode *pCurrent = (CNode *) pos; - ASSERT(pCurrent != NULL); - - /* Update the previous node */ - - CNode *pNode = pCurrent->Prev(); - if (pNode == NULL) { - m_pFirst = pCurrent->Next(); - } else { - pNode->SetNext(pCurrent->Next()); - } - - /* Update the following node */ - - pNode = pCurrent->Next(); - if (pNode == NULL) { - m_pLast = pCurrent->Prev(); - } else { - pNode->SetPrev(pCurrent->Prev()); - } - - /* Get the object this node was looking after */ - - void *pObject = pCurrent->GetData(); - - // ASSERT(pObject != NULL); // NULL pointers in the list are allowed. - - /* Try and add the node object to the cache - - a NULL return code from the cache means we ran out of room. - The cache size is fixed by a constructor argument when the - list is created and defaults to DEFAULTCACHE. - This means that the cache will have room for this many - node objects. So if you have a list of media samples - and you know there will never be more than five active at - any given time of them for example then override the default - constructor - */ - - m_Cache.AddToCache(pCurrent); - - /* If the list is empty then reset the list event */ - - --m_Count; - ASSERT(m_Count >= 0); - return pObject; -} // Remove - - - -/* Add this object to the tail end of our list - Return the new tail position. -*/ - -__out_opt POSITION CBaseList::AddTailI(__in void *pObject) -{ - /* Lock the critical section before continuing */ - - CNode *pNode; - // ASSERT(pObject); // NULL pointers in the list are allowed. - - /* If there is a node objects in the cache then use - that otherwise we will have to create a new one */ - - pNode = (CNode *) m_Cache.RemoveFromCache(); - if (pNode == NULL) { - pNode = new CNode; - } - - /* Check we have a valid object */ - - if (pNode == NULL) { - return NULL; - } - - /* Initialise all the CNode object - just in case it came from the cache - */ - - pNode->SetData(pObject); - pNode->SetNext(NULL); - pNode->SetPrev(m_pLast); - - if (m_pLast == NULL) { - m_pFirst = pNode; - } else { - m_pLast->SetNext(pNode); - } - - /* Set the new last node pointer and also increment the number - of list entries, the critical section is unlocked when we - exit the function - */ - - m_pLast = pNode; - ++m_Count; - - return (POSITION) pNode; -} // AddTail(object) - - - -/* Add this object to the head end of our list - Return the new head position. -*/ -__out_opt POSITION CBaseList::AddHeadI(__in void *pObject) -{ - CNode *pNode; - // ASSERT(pObject); // NULL pointers in the list are allowed. - - /* If there is a node objects in the cache then use - that otherwise we will have to create a new one */ - - pNode = (CNode *) m_Cache.RemoveFromCache(); - if (pNode == NULL) { - pNode = new CNode; - } - - /* Check we have a valid object */ - - if (pNode == NULL) { - return NULL; - } - - /* Initialise all the CNode object - just in case it came from the cache - */ - - pNode->SetData(pObject); - - /* chain it in (set four pointers) */ - pNode->SetPrev(NULL); - pNode->SetNext(m_pFirst); - - if (m_pFirst == NULL) { - m_pLast = pNode; - } else { - m_pFirst->SetPrev(pNode); - } - m_pFirst = pNode; - - ++m_Count; - - return (POSITION) pNode; -} // AddHead(object) - - - -/* Add all the elements in *pList to the tail of this list. - Return TRUE if it all worked, FALSE if it didn't. - If it fails some elements may have been added. -*/ -BOOL CBaseList::AddTail(__in CBaseList *pList) -{ - /* lock the object before starting then enumerate - each entry in the source list and add them one by one to - our list (while still holding the object lock) - Lock the other list too. - */ - POSITION pos = pList->GetHeadPositionI(); - - while (pos) { - if (NULL == AddTailI(pList->GetNextI(pos))) { - return FALSE; - } - } - return TRUE; -} // AddTail(list) - - - -/* Add all the elements in *pList to the head of this list. - Return TRUE if it all worked, FALSE if it didn't. - If it fails some elements may have been added. -*/ -BOOL CBaseList::AddHead(__in CBaseList *pList) -{ - /* lock the object before starting then enumerate - each entry in the source list and add them one by one to - our list (while still holding the object lock) - Lock the other list too. - - To avoid reversing the list, traverse it backwards. - */ - - POSITION pos; - - INTERNALREVERSETRAVERSELIST(*pList, pos) { - if (NULL== AddHeadI(pList->GetValidI(pos))){ - return FALSE; - } - } - return TRUE; -} // AddHead(list) - - - -/* Add the object after position p - p is still valid after the operation. - AddAfter(NULL,x) adds x to the start - same as AddHead - Return the position of the new object, NULL if it failed -*/ -__out_opt POSITION CBaseList::AddAfterI(__in_opt POSITION pos, __in void * pObj) -{ - if (pos==NULL) - return AddHeadI(pObj); - - /* As someone else might be furkling with the list - - Lock the critical section before continuing - */ - CNode *pAfter = (CNode *) pos; - ASSERT(pAfter != NULL); - if (pAfter==m_pLast) - return AddTailI(pObj); - - /* set pnode to point to a new node, preferably from the cache */ - - CNode *pNode = (CNode *) m_Cache.RemoveFromCache(); - if (pNode == NULL) { - pNode = new CNode; - } - - /* Check we have a valid object */ - - if (pNode == NULL) { - return NULL; - } - - /* Initialise all the CNode object - just in case it came from the cache - */ - - pNode->SetData(pObj); - - /* It is to be added to the middle of the list - there is a before - and after node. Chain it after pAfter, before pBefore. - */ - CNode * pBefore = pAfter->Next(); - ASSERT(pBefore != NULL); - - /* chain it in (set four pointers) */ - pNode->SetPrev(pAfter); - pNode->SetNext(pBefore); - pBefore->SetPrev(pNode); - pAfter->SetNext(pNode); - - ++m_Count; - - return (POSITION) pNode; - -} // AddAfter(object) - - - -BOOL CBaseList::AddAfter(__in_opt POSITION p, __in CBaseList *pList) -{ - POSITION pos; - INTERNALTRAVERSELIST(*pList, pos) { - /* p follows along the elements being added */ - p = AddAfterI(p, pList->GetValidI(pos)); - if (p==NULL) return FALSE; - } - return TRUE; -} // AddAfter(list) - - - -/* Mirror images: - Add the element or list after position p. - p is still valid after the operation. - AddBefore(NULL,x) adds x to the end - same as AddTail -*/ -__out_opt POSITION CBaseList::AddBeforeI(__in_opt POSITION pos, __in void * pObj) -{ - if (pos==NULL) - return AddTailI(pObj); - - /* set pnode to point to a new node, preferably from the cache */ - - CNode *pBefore = (CNode *) pos; - ASSERT(pBefore != NULL); - if (pBefore==m_pFirst) - return AddHeadI(pObj); - - CNode * pNode = (CNode *) m_Cache.RemoveFromCache(); - if (pNode == NULL) { - pNode = new CNode; - } - - /* Check we have a valid object */ - - if (pNode == NULL) { - return NULL; - } - - /* Initialise all the CNode object - just in case it came from the cache - */ - - pNode->SetData(pObj); - - /* It is to be added to the middle of the list - there is a before - and after node. Chain it after pAfter, before pBefore. - */ - - CNode * pAfter = pBefore->Prev(); - ASSERT(pAfter != NULL); - - /* chain it in (set four pointers) */ - pNode->SetPrev(pAfter); - pNode->SetNext(pBefore); - pBefore->SetPrev(pNode); - pAfter->SetNext(pNode); - - ++m_Count; - - return (POSITION) pNode; - -} // Addbefore(object) - - - -BOOL CBaseList::AddBefore(__in_opt POSITION p, __in CBaseList *pList) -{ - POSITION pos; - INTERNALREVERSETRAVERSELIST(*pList, pos) { - /* p follows along the elements being added */ - p = AddBeforeI(p, pList->GetValidI(pos)); - if (p==NULL) return FALSE; - } - return TRUE; -} // AddBefore(list) - - - -/* Split *this after position p in *this - Retain as *this the tail portion of the original *this - Add the head portion to the tail end of *pList - Return TRUE if it all worked, FALSE if it didn't. - - e.g. - foo->MoveToTail(foo->GetHeadPosition(), bar); - moves one element from the head of foo to the tail of bar - foo->MoveToTail(NULL, bar); - is a no-op - foo->MoveToTail(foo->GetTailPosition, bar); - concatenates foo onto the end of bar and empties foo. - - A better, except excessively long name might be - MoveElementsFromHeadThroughPositionToOtherTail -*/ -BOOL CBaseList::MoveToTail - (__in_opt POSITION pos, __in CBaseList *pList) -{ - /* Algorithm: - Note that the elements (including their order) in the concatenation - of *pList to the head of *this is invariant. - 1. Count elements to be moved - 2. Join *pList onto the head of this to make one long chain - 3. Set first/Last pointers in *this and *pList - 4. Break the chain at the new place - 5. Adjust counts - 6. Set/Reset any events - */ - - if (pos==NULL) return TRUE; // no-op. Eliminates special cases later. - - - /* Make cMove the number of nodes to move */ - CNode * p = (CNode *)pos; - int cMove = 0; // number of nodes to move - while(p!=NULL) { - p = p->Prev(); - ++cMove; - } - - - /* Join the two chains together */ - if (pList->m_pLast!=NULL) - pList->m_pLast->SetNext(m_pFirst); - if (m_pFirst!=NULL) - m_pFirst->SetPrev(pList->m_pLast); - - - /* set first and last pointers */ - p = (CNode *)pos; - - if (pList->m_pFirst==NULL) - pList->m_pFirst = m_pFirst; - m_pFirst = p->Next(); - if (m_pFirst==NULL) - m_pLast = NULL; - pList->m_pLast = p; - - - /* Break the chain after p to create the new pieces */ - if (m_pFirst!=NULL) - m_pFirst->SetPrev(NULL); - p->SetNext(NULL); - - - /* Adjust the counts */ - m_Count -= cMove; - pList->m_Count += cMove; - - return TRUE; - -} // MoveToTail - - - -/* Mirror image of MoveToTail: - Split *this before position p in *this. - Retain in *this the head portion of the original *this - Add the tail portion to the start (i.e. head) of *pList - Return TRUE if it all worked, FALSE if it didn't. - - e.g. - foo->MoveToHead(foo->GetTailPosition(), bar); - moves one element from the tail of foo to the head of bar - foo->MoveToHead(NULL, bar); - is a no-op - foo->MoveToHead(foo->GetHeadPosition, bar); - concatenates foo onto the start of bar and empties foo. -*/ -BOOL CBaseList::MoveToHead - (__in_opt POSITION pos, __in CBaseList *pList) -{ - - /* See the comments on the algorithm in MoveToTail */ - - if (pos==NULL) return TRUE; // no-op. Eliminates special cases later. - - /* Make cMove the number of nodes to move */ - CNode * p = (CNode *)pos; - int cMove = 0; // number of nodes to move - while(p!=NULL) { - p = p->Next(); - ++cMove; - } - - - /* Join the two chains together */ - if (pList->m_pFirst!=NULL) - pList->m_pFirst->SetPrev(m_pLast); - if (m_pLast!=NULL) - m_pLast->SetNext(pList->m_pFirst); - - - /* set first and last pointers */ - p = (CNode *)pos; - - - if (pList->m_pLast==NULL) - pList->m_pLast = m_pLast; - - m_pLast = p->Prev(); - if (m_pLast==NULL) - m_pFirst = NULL; - pList->m_pFirst = p; - - - /* Break the chain after p to create the new pieces */ - if (m_pLast!=NULL) - m_pLast->SetNext(NULL); - p->SetPrev(NULL); - - - /* Adjust the counts */ - m_Count -= cMove; - pList->m_Count += cMove; - - return TRUE; - -} // MoveToHead - - - -/* Reverse the order of the [pointers to] objects in *this -*/ -void CBaseList::Reverse() -{ - /* algorithm: - The obvious booby trap is that you flip pointers around and lose - addressability to the node that you are going to process next. - The easy way to avoid this is do do one chain at a time. - - Run along the forward chain, - For each node, set the reverse pointer to the one ahead of us. - The reverse chain is now a copy of the old forward chain, including - the NULL termination. - - Run along the reverse chain (i.e. old forward chain again) - For each node set the forward pointer of the node ahead to point back - to the one we're standing on. - The first node needs special treatment, - it's new forward pointer is NULL. - Finally set the First/Last pointers - - */ - CNode * p; - - // Yes we COULD use a traverse, but it would look funny! - p = m_pFirst; - while (p!=NULL) { - CNode * q; - q = p->Next(); - p->SetNext(p->Prev()); - p->SetPrev(q); - p = q; - } - - p = m_pFirst; - m_pFirst = m_pLast; - m_pLast = p; - - -#if 0 // old version - - if (m_pFirst==NULL) return; // empty list - if (m_pFirst->Next()==NULL) return; // single node list - - - /* run along forward chain */ - for ( p = m_pFirst - ; p!=NULL - ; p = p->Next() - ){ - p->SetPrev(p->Next()); - } - - - /* special case first element */ - m_pFirst->SetNext(NULL); // fix the old first element - - - /* run along new reverse chain i.e. old forward chain again */ - for ( p = m_pFirst // start at the old first element - ; p->Prev()!=NULL // while there's a node still to be set - ; p = p->Prev() // work in the same direction as before - ){ - p->Prev()->SetNext(p); - } - - - /* fix forward and reverse pointers - - the triple XOR swap would work but all the casts look hideous */ - p = m_pFirst; - m_pFirst = m_pLast; - m_pLast = p; -#endif - -} // Reverse - -#endif /* PJMEDIA_VIDEO_DEV_HAS_DSHOW */ diff --git a/res/pjproject/third_party/BaseClasses/wxlist.h b/res/pjproject/third_party/BaseClasses/wxlist.h deleted file mode 100644 index 931893d14e..0000000000 --- a/res/pjproject/third_party/BaseClasses/wxlist.h +++ /dev/null @@ -1,553 +0,0 @@ -//------------------------------------------------------------------------------ -// File: WXList.h -// -// Desc: DirectShow base classes - defines a non-MFC generic template list -// class. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - - -/* A generic list of pointers to objects. - No storage management or copying is done on the objects pointed to. - Objectives: avoid using MFC libraries in ndm kernel mode and - provide a really useful list type. - - The class is thread safe in that separate threads may add and - delete items in the list concurrently although the application - must ensure that constructor and destructor access is suitably - synchronised. An application can cause deadlock with operations - which use two lists by simultaneously calling - list1->Operation(list2) and list2->Operation(list1). So don't! - - The names must not conflict with MFC classes as an application - may use both. - */ - -#ifndef __WXLIST__ -#define __WXLIST__ - - /* A POSITION represents (in some fashion that's opaque) a cursor - on the list that can be set to identify any element. NULL is - a valid value and several operations regard NULL as the position - "one step off the end of the list". (In an n element list there - are n+1 places to insert and NULL is that "n+1-th" value). - The POSITION of an element in the list is only invalidated if - that element is deleted. Move operations may mean that what - was a valid POSITION in one list is now a valid POSITION in - a different list. - - Some operations which at first sight are illegal are allowed as - harmless no-ops. For instance RemoveHead is legal on an empty - list and it returns NULL. This allows an atomic way to test if - there is an element there, and if so, get it. The two operations - AddTail and RemoveHead thus implement a MONITOR (See Hoare's paper). - - Single element operations return POSITIONs, non-NULL means it worked. - whole list operations return a BOOL. TRUE means it all worked. - - This definition is the same as the POSITION type for MFCs, so we must - avoid defining it twice. - */ -#ifndef __AFX_H__ -struct __POSITION { int unused; }; -typedef __POSITION* POSITION; -#endif - -const int DEFAULTCACHE = 10; /* Default node object cache size */ - -/* A class representing one node in a list. - Each node knows a pointer to it's adjacent nodes and also a pointer - to the object that it looks after. - All of these pointers can be retrieved or set through member functions. -*/ -class CBaseList -#ifdef DEBUG - : public CBaseObject -#endif -{ - /* Making these classes inherit from CBaseObject does nothing - functionally but it allows us to check there are no memory - leaks in debug builds. - */ - -public: - -#ifdef DEBUG - class CNode : public CBaseObject { -#else - class CNode { -#endif - - CNode *m_pPrev; /* Previous node in the list */ - CNode *m_pNext; /* Next node in the list */ - void *m_pObject; /* Pointer to the object */ - - public: - - /* Constructor - initialise the object's pointers */ - CNode() -#ifdef DEBUG - : CBaseObject(NAME("List node")) -#endif - { - }; - - - /* Return the previous node before this one */ - __out CNode *Prev() const { return m_pPrev; }; - - - /* Return the next node after this one */ - __out CNode *Next() const { return m_pNext; }; - - - /* Set the previous node before this one */ - void SetPrev(__in_opt CNode *p) { m_pPrev = p; }; - - - /* Set the next node after this one */ - void SetNext(__in_opt CNode *p) { m_pNext = p; }; - - - /* Get the pointer to the object for this node */ - __out void *GetData() const { return m_pObject; }; - - - /* Set the pointer to the object for this node */ - void SetData(__in void *p) { m_pObject = p; }; - }; - - class CNodeCache - { - public: - CNodeCache(INT iCacheSize) : m_iCacheSize(iCacheSize), - m_pHead(NULL), - m_iUsed(0) - {}; - ~CNodeCache() { - CNode *pNode = m_pHead; - while (pNode) { - CNode *pCurrent = pNode; - pNode = pNode->Next(); - delete pCurrent; - } - }; - void AddToCache(__inout CNode *pNode) - { - if (m_iUsed < m_iCacheSize) { - pNode->SetNext(m_pHead); - m_pHead = pNode; - m_iUsed++; - } else { - delete pNode; - } - }; - CNode *RemoveFromCache() - { - CNode *pNode = m_pHead; - if (pNode != NULL) { - m_pHead = pNode->Next(); - m_iUsed--; - ASSERT(m_iUsed >= 0); - } else { - ASSERT(m_iUsed == 0); - } - return pNode; - }; - private: - INT m_iCacheSize; - INT m_iUsed; - CNode *m_pHead; - }; - -protected: - - CNode* m_pFirst; /* Pointer to first node in the list */ - CNode* m_pLast; /* Pointer to the last node in the list */ - LONG m_Count; /* Number of nodes currently in the list */ - -private: - - CNodeCache m_Cache; /* Cache of unused node pointers */ - -private: - - /* These override the default copy constructor and assignment - operator for all list classes. They are in the private class - declaration section so that anybody trying to pass a list - object by value will generate a compile time error of - "cannot access the private member function". If these were - not here then the compiler will create default constructors - and assignment operators which when executed first take a - copy of all member variables and then during destruction - delete them all. This must not be done for any heap - allocated data. - */ - CBaseList(const CBaseList &refList); - CBaseList &operator=(const CBaseList &refList); - -public: - - CBaseList(__in_opt LPCTSTR pName, - INT iItems); - - CBaseList(__in_opt LPCTSTR pName); -#ifdef UNICODE - CBaseList(__in_opt LPCSTR pName, - INT iItems); - - CBaseList(__in_opt LPCSTR pName); -#endif - ~CBaseList(); - - /* Remove all the nodes from *this i.e. make the list empty */ - void RemoveAll(); - - - /* Return a cursor which identifies the first element of *this */ - __out_opt POSITION GetHeadPositionI() const; - - - /* Return a cursor which identifies the last element of *this */ - __out_opt POSITION GetTailPositionI() const; - - - /* Return the number of objects in *this */ - int GetCountI() const; - -protected: - /* Return the pointer to the object at rp, - Update rp to the next node in *this - but make it NULL if it was at the end of *this. - This is a wart retained for backwards compatibility. - GetPrev is not implemented. - Use Next, Prev and Get separately. - */ - __out void *GetNextI(__inout POSITION& rp) const; - - - /* Return a pointer to the object at p - Asking for the object at NULL will return NULL harmlessly. - */ - __out_opt void *GetI(__in_opt POSITION p) const; - __out void *GetValidI(__in POSITION p) const; - -public: - /* return the next / prev position in *this - return NULL when going past the end/start. - Next(NULL) is same as GetHeadPosition() - Prev(NULL) is same as GetTailPosition() - An n element list therefore behaves like a n+1 element - cycle with NULL at the start/end. - - !!WARNING!! - This handling of NULL is DIFFERENT from GetNext. - - Some reasons are: - 1. For a list of n items there are n+1 positions to insert - These are conveniently encoded as the n POSITIONs and NULL. - 2. If you are keeping a list sorted (fairly common) and you - search forward for an element to insert before and don't - find it you finish up with NULL as the element before which - to insert. You then want that NULL to be a valid POSITION - so that you can insert before it and you want that insertion - point to mean the (n+1)-th one that doesn't have a POSITION. - (symmetrically if you are working backwards through the list). - 3. It simplifies the algebra which the methods generate. - e.g. AddBefore(p,x) is identical to AddAfter(Prev(p),x) - in ALL cases. All the other arguments probably are reflections - of the algebraic point. - */ - __out_opt POSITION Next(__in_opt POSITION pos) const - { - if (pos == NULL) { - return (POSITION) m_pFirst; - } - CNode *pn = (CNode *) pos; - return (POSITION) pn->Next(); - } //Next - - // See Next - __out_opt POSITION Prev(__in_opt POSITION pos) const - { - if (pos == NULL) { - return (POSITION) m_pLast; - } - CNode *pn = (CNode *) pos; - return (POSITION) pn->Prev(); - } //Prev - - - /* Return the first position in *this which holds the given - pointer. Return NULL if the pointer was not not found. - */ -protected: - __out_opt POSITION FindI( __in void * pObj) const; - - // ??? Should there be (or even should there be only) - // ??? POSITION FindNextAfter(void * pObj, POSITION p) - // ??? And of course FindPrevBefore too. - // ??? List.Find(&Obj) then becomes List.FindNextAfter(&Obj, NULL) - - - /* Remove the first node in *this (deletes the pointer to its - object from the list, does not free the object itself). - Return the pointer to its object. - If *this was already empty it will harmlessly return NULL. - */ - __out_opt void *RemoveHeadI(); - - - /* Remove the last node in *this (deletes the pointer to its - object from the list, does not free the object itself). - Return the pointer to its object. - If *this was already empty it will harmlessly return NULL. - */ - __out_opt void *RemoveTailI(); - - - /* Remove the node identified by p from the list (deletes the pointer - to its object from the list, does not free the object itself). - Asking to Remove the object at NULL will harmlessly return NULL. - Return the pointer to the object removed. - */ - __out_opt void *RemoveI(__in_opt POSITION p); - - /* Add single object *pObj to become a new last element of the list. - Return the new tail position, NULL if it fails. - If you are adding a COM objects, you might want AddRef it first. - Other existing POSITIONs in *this are still valid - */ - __out_opt POSITION AddTailI(__in void * pObj); -public: - - - /* Add all the elements in *pList to the tail of *this. - This duplicates all the nodes in *pList (i.e. duplicates - all its pointers to objects). It does not duplicate the objects. - If you are adding a list of pointers to a COM object into the list - it's a good idea to AddRef them all it when you AddTail it. - Return TRUE if it all worked, FALSE if it didn't. - If it fails some elements may have been added. - Existing POSITIONs in *this are still valid - - If you actually want to MOVE the elements, use MoveToTail instead. - */ - BOOL AddTail(__in CBaseList *pList); - - - /* Mirror images of AddHead: */ - - /* Add single object to become a new first element of the list. - Return the new head position, NULL if it fails. - Existing POSITIONs in *this are still valid - */ -protected: - __out_opt POSITION AddHeadI(__in void * pObj); -public: - - /* Add all the elements in *pList to the head of *this. - Same warnings apply as for AddTail. - Return TRUE if it all worked, FALSE if it didn't. - If it fails some of the objects may have been added. - - If you actually want to MOVE the elements, use MoveToHead instead. - */ - BOOL AddHead(__in CBaseList *pList); - - - /* Add the object *pObj to *this after position p in *this. - AddAfter(NULL,x) adds x to the start - equivalent to AddHead - Return the position of the object added, NULL if it failed. - Existing POSITIONs in *this are undisturbed, including p. - */ -protected: - __out_opt POSITION AddAfterI(__in_opt POSITION p, __in void * pObj); -public: - - /* Add the list *pList to *this after position p in *this - AddAfter(NULL,x) adds x to the start - equivalent to AddHead - Return TRUE if it all worked, FALSE if it didn't. - If it fails, some of the objects may be added - Existing POSITIONs in *this are undisturbed, including p. - */ - BOOL AddAfter(__in_opt POSITION p, __in CBaseList *pList); - - - /* Mirror images: - Add the object *pObj to this-List after position p in *this. - AddBefore(NULL,x) adds x to the end - equivalent to AddTail - Return the position of the new object, NULL if it fails - Existing POSITIONs in *this are undisturbed, including p. - */ - protected: - __out_opt POSITION AddBeforeI(__in_opt POSITION p, __in void * pObj); - public: - - /* Add the list *pList to *this before position p in *this - AddAfter(NULL,x) adds x to the start - equivalent to AddHead - Return TRUE if it all worked, FALSE if it didn't. - If it fails, some of the objects may be added - Existing POSITIONs in *this are undisturbed, including p. - */ - BOOL AddBefore(__in_opt POSITION p, __in CBaseList *pList); - - - /* Note that AddAfter(p,x) is equivalent to AddBefore(Next(p),x) - even in cases where p is NULL or Next(p) is NULL. - Similarly for mirror images etc. - This may make it easier to argue about programs. - */ - - - - /* The following operations do not copy any elements. - They move existing blocks of elements around by switching pointers. - They are fairly efficient for long lists as for short lists. - (Alas, the Count slows things down). - - They split the list into two parts. - One part remains as the original list, the other part - is appended to the second list. There are eight possible - variations: - Split the list {after/before} a given element - keep the {head/tail} portion in the original list - append the rest to the {head/tail} of the new list. - - Since After is strictly equivalent to Before Next - we are not in serious need of the Before/After variants. - That leaves only four. - - If you are processing a list left to right and dumping - the bits that you have processed into another list as - you go, the Tail/Tail variant gives the most natural result. - If you are processing in reverse order, Head/Head is best. - - By using NULL positions and empty lists judiciously either - of the other two can be built up in two operations. - - The definition of NULL (see Next/Prev etc) means that - degenerate cases include - "move all elements to new list" - "Split a list into two lists" - "Concatenate two lists" - (and quite a few no-ops) - - !!WARNING!! The type checking won't buy you much if you get list - positions muddled up - e.g. use a POSITION that's in a different - list and see what a mess you get! - */ - - /* Split *this after position p in *this - Retain as *this the tail portion of the original *this - Add the head portion to the tail end of *pList - Return TRUE if it all worked, FALSE if it didn't. - - e.g. - foo->MoveToTail(foo->GetHeadPosition(), bar); - moves one element from the head of foo to the tail of bar - foo->MoveToTail(NULL, bar); - is a no-op, returns NULL - foo->MoveToTail(foo->GetTailPosition, bar); - concatenates foo onto the end of bar and empties foo. - - A better, except excessively long name might be - MoveElementsFromHeadThroughPositionToOtherTail - */ - BOOL MoveToTail(__in_opt POSITION pos, __in CBaseList *pList); - - - /* Mirror image: - Split *this before position p in *this. - Retain in *this the head portion of the original *this - Add the tail portion to the start (i.e. head) of *pList - - e.g. - foo->MoveToHead(foo->GetTailPosition(), bar); - moves one element from the tail of foo to the head of bar - foo->MoveToHead(NULL, bar); - is a no-op, returns NULL - foo->MoveToHead(foo->GetHeadPosition, bar); - concatenates foo onto the start of bar and empties foo. - */ - BOOL MoveToHead(__in_opt POSITION pos, __in CBaseList *pList); - - - /* Reverse the order of the [pointers to] objects in *this - */ - void Reverse(); - - - /* set cursor to the position of each element of list in turn */ - #define TRAVERSELIST(list, cursor) \ - for ( cursor = (list).GetHeadPosition() \ - ; cursor!=NULL \ - ; cursor = (list).Next(cursor) \ - ) - - - /* set cursor to the position of each element of list in turn - in reverse order - */ - #define REVERSETRAVERSELIST(list, cursor) \ - for ( cursor = (list).GetTailPosition() \ - ; cursor!=NULL \ - ; cursor = (list).Prev(cursor) \ - ) - -}; // end of class declaration - -template class CGenericList : public CBaseList -{ -public: - CGenericList(__in_opt LPCTSTR pName, - INT iItems, - BOOL bLock = TRUE, - BOOL bAlert = FALSE) : - CBaseList(pName, iItems) { - UNREFERENCED_PARAMETER(bAlert); - UNREFERENCED_PARAMETER(bLock); - }; - CGenericList(__in_opt LPCTSTR pName) : - CBaseList(pName) { - }; - - __out_opt POSITION GetHeadPosition() const { return (POSITION)m_pFirst; } - __out_opt POSITION GetTailPosition() const { return (POSITION)m_pLast; } - int GetCount() const { return m_Count; } - - __out OBJECT *GetNext(__inout POSITION& rp) const { return (OBJECT *) GetNextI(rp); } - - __out_opt OBJECT *Get(__in_opt POSITION p) const { return (OBJECT *) GetI(p); } - __out OBJECT *GetValid(__in POSITION p) const { return (OBJECT *) GetValidI(p); } - __out_opt OBJECT *GetHead() const { return Get(GetHeadPosition()); } - - __out_opt OBJECT *RemoveHead() { return (OBJECT *) RemoveHeadI(); } - - __out_opt OBJECT *RemoveTail() { return (OBJECT *) RemoveTailI(); } - - __out_opt OBJECT *Remove(__in_opt POSITION p) { return (OBJECT *) RemoveI(p); } - __out_opt POSITION AddBefore(__in_opt POSITION p, __in OBJECT * pObj) { return AddBeforeI(p, pObj); } - __out_opt POSITION AddAfter(__in_opt POSITION p, __in OBJECT * pObj) { return AddAfterI(p, pObj); } - __out_opt POSITION AddHead(__in OBJECT * pObj) { return AddHeadI(pObj); } - __out_opt POSITION AddTail(__in OBJECT * pObj) { return AddTailI(pObj); } - BOOL AddTail(__in CGenericList *pList) - { return CBaseList::AddTail((CBaseList *) pList); } - BOOL AddHead(__in CGenericList *pList) - { return CBaseList::AddHead((CBaseList *) pList); } - BOOL AddAfter(__in_opt POSITION p, __in CGenericList *pList) - { return CBaseList::AddAfter(p, (CBaseList *) pList); }; - BOOL AddBefore(__in_opt POSITION p, __in CGenericList *pList) - { return CBaseList::AddBefore(p, (CBaseList *) pList); }; - __out_opt POSITION Find( __in OBJECT * pObj) const { return FindI(pObj); } -}; // end of class declaration - - - -/* These define the standard list types */ - -typedef CGenericList CBaseObjectList; -typedef CGenericList CBaseInterfaceList; - -#endif /* __WXLIST__ */ - diff --git a/res/pjproject/third_party/BaseClasses/wxutil.cpp b/res/pjproject/third_party/BaseClasses/wxutil.cpp deleted file mode 100644 index d9bb33a968..0000000000 --- a/res/pjproject/third_party/BaseClasses/wxutil.cpp +++ /dev/null @@ -1,773 +0,0 @@ -//------------------------------------------------------------------------------ -// File: WXUtil.cpp -// -// Desc: DirectShow base classes - implements helper classes for building -// multimedia filters. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - -#include - -#if defined(PJMEDIA_VIDEO_DEV_HAS_DSHOW) && PJMEDIA_VIDEO_DEV_HAS_DSHOW != 0 - -#include -#define STRSAFE_NO_DEPRECATE -#include - - -// --- CAMEvent ----------------------- -CAMEvent::CAMEvent(BOOL fManualReset, __inout_opt HRESULT *phr) -{ - m_hEvent = CreateEvent(NULL, fManualReset, FALSE, NULL); - if (NULL == m_hEvent) { - if (NULL != phr && SUCCEEDED(*phr)) { - *phr = E_OUTOFMEMORY; - } - } -} - -CAMEvent::CAMEvent(__inout_opt HRESULT *phr) -{ - m_hEvent = CreateEvent(NULL, FALSE, FALSE, NULL); - if (NULL == m_hEvent) { - if (NULL != phr && SUCCEEDED(*phr)) { - *phr = E_OUTOFMEMORY; - } - } -} - -CAMEvent::~CAMEvent() -{ - if (m_hEvent) { - EXECUTE_ASSERT(CloseHandle(m_hEvent)); - } -} - - -// --- CAMMsgEvent ----------------------- -// One routine. The rest is handled in CAMEvent - -CAMMsgEvent::CAMMsgEvent(__inout_opt HRESULT *phr) : CAMEvent(FALSE, phr) -{ -} - -BOOL CAMMsgEvent::WaitMsg(DWORD dwTimeout) -{ - // wait for the event to be signalled, or for the - // timeout (in MS) to expire. allow SENT messages - // to be processed while we wait - DWORD dwWait; - DWORD dwStartTime; - - // set the waiting period. - DWORD dwWaitTime = dwTimeout; - - // the timeout will eventually run down as we iterate - // processing messages. grab the start time so that - // we can calculate elapsed times. - if (dwWaitTime != INFINITE) { - dwStartTime = timeGetTime(); - } - - do { - dwWait = MsgWaitForMultipleObjects(1,&m_hEvent,FALSE, dwWaitTime, QS_SENDMESSAGE); - if (dwWait == WAIT_OBJECT_0 + 1) { - MSG Message; - PeekMessage(&Message,NULL,0,0,PM_NOREMOVE); - - // If we have an explicit length of time to wait calculate - // the next wake up point - which might be now. - // If dwTimeout is INFINITE, it stays INFINITE - if (dwWaitTime != INFINITE) { - - DWORD dwElapsed = timeGetTime()-dwStartTime; - - dwWaitTime = - (dwElapsed >= dwTimeout) - ? 0 // wake up with WAIT_TIMEOUT - : dwTimeout-dwElapsed; - } - } - } while (dwWait == WAIT_OBJECT_0 + 1); - - // return TRUE if we woke on the event handle, - // FALSE if we timed out. - return (dwWait == WAIT_OBJECT_0); -} - -// --- CAMThread ---------------------- - - -CAMThread::CAMThread(__inout_opt HRESULT *phr) - : m_EventSend(TRUE, phr), // must be manual-reset for CheckRequest() - m_EventComplete(FALSE, phr) -{ - m_hThread = NULL; -} - -CAMThread::~CAMThread() { - Close(); -} - - -// when the thread starts, it calls this function. We unwrap the 'this' -//pointer and call ThreadProc. -DWORD WINAPI -CAMThread::InitialThreadProc(__inout LPVOID pv) -{ - HRESULT hrCoInit = CAMThread::CoInitializeHelper(); - if(FAILED(hrCoInit)) { - DbgLog((LOG_ERROR, 1, TEXT("CoInitializeEx failed."))); - } - - CAMThread * pThread = (CAMThread *) pv; - - HRESULT hr = pThread->ThreadProc(); - - if(SUCCEEDED(hrCoInit)) { - CoUninitialize(); - } - - return hr; -} - -BOOL -CAMThread::Create() -{ - DWORD threadid; - - CAutoLock lock(&m_AccessLock); - - if (ThreadExists()) { - return FALSE; - } - - m_hThread = CreateThread( - NULL, - 0, - CAMThread::InitialThreadProc, - this, - 0, - &threadid); - - if (!m_hThread) { - return FALSE; - } - - return TRUE; -} - -DWORD -CAMThread::CallWorker(DWORD dwParam) -{ - // lock access to the worker thread for scope of this object - CAutoLock lock(&m_AccessLock); - - if (!ThreadExists()) { - return (DWORD) E_FAIL; - } - - // set the parameter - m_dwParam = dwParam; - - // signal the worker thread - m_EventSend.Set(); - - // wait for the completion to be signalled - m_EventComplete.Wait(); - - // done - this is the thread's return value - return m_dwReturnVal; -} - -// Wait for a request from the client -DWORD -CAMThread::GetRequest() -{ - m_EventSend.Wait(); - return m_dwParam; -} - -// is there a request? -BOOL -CAMThread::CheckRequest(__out_opt DWORD * pParam) -{ - if (!m_EventSend.Check()) { - return FALSE; - } else { - if (pParam) { - *pParam = m_dwParam; - } - return TRUE; - } -} - -// reply to the request -void -CAMThread::Reply(DWORD dw) -{ - m_dwReturnVal = dw; - - // The request is now complete so CheckRequest should fail from - // now on - // - // This event should be reset BEFORE we signal the client or - // the client may Set it before we reset it and we'll then - // reset it (!) - - m_EventSend.Reset(); - - // Tell the client we're finished - - m_EventComplete.Set(); -} - -HRESULT CAMThread::CoInitializeHelper() -{ - // call CoInitializeEx and tell OLE not to create a window (this - // thread probably won't dispatch messages and will hang on - // broadcast msgs o/w). - // - // If CoInitEx is not available, threads that don't call CoCreate - // aren't affected. Threads that do will have to handle the - // failure. Perhaps we should fall back to CoInitialize and risk - // hanging? - // - - // older versions of ole32.dll don't have CoInitializeEx - - HRESULT hr = E_FAIL; - HINSTANCE hOle = GetModuleHandle(TEXT("ole32.dll")); - if(hOle) - { - typedef HRESULT (STDAPICALLTYPE *PCoInitializeEx)( - LPVOID pvReserved, DWORD dwCoInit); - PCoInitializeEx pCoInitializeEx = - (PCoInitializeEx)(GetProcAddress(hOle, "CoInitializeEx")); - if(pCoInitializeEx) - { - hr = (*pCoInitializeEx)(0, COINIT_DISABLE_OLE1DDE ); - } - } - else - { - // caller must load ole32.dll - DbgBreak("couldn't locate ole32.dll"); - } - - return hr; -} - - -// destructor for CMsgThread - cleans up any messages left in the -// queue when the thread exited -CMsgThread::~CMsgThread() -{ - if (m_hThread != NULL) { - WaitForSingleObject(m_hThread, INFINITE); - EXECUTE_ASSERT(CloseHandle(m_hThread)); - } - - POSITION pos = m_ThreadQueue.GetHeadPosition(); - while (pos) { - CMsg * pMsg = m_ThreadQueue.GetNext(pos); - delete pMsg; - } - m_ThreadQueue.RemoveAll(); - - if (m_hSem != NULL) { - EXECUTE_ASSERT(CloseHandle(m_hSem)); - } -} - -BOOL -CMsgThread::CreateThread( - ) -{ - m_hSem = CreateSemaphore(NULL, 0, 0x7FFFFFFF, NULL); - if (m_hSem == NULL) { - return FALSE; - } - - m_hThread = ::CreateThread(NULL, 0, DefaultThreadProc, - (LPVOID)this, 0, &m_ThreadId); - return m_hThread != NULL; -} - - -// This is the threads message pump. Here we get and dispatch messages to -// clients thread proc until the client refuses to process a message. -// The client returns a non-zero value to stop the message pump, this -// value becomes the threads exit code. - -DWORD WINAPI -CMsgThread::DefaultThreadProc( - __inout LPVOID lpParam - ) -{ - CMsgThread *lpThis = (CMsgThread *)lpParam; - CMsg msg; - LRESULT lResult; - - // !!! - CoInitialize(NULL); - - // allow a derived class to handle thread startup - lpThis->OnThreadInit(); - - do { - lpThis->GetThreadMsg(&msg); - lResult = lpThis->ThreadMessageProc(msg.uMsg,msg.dwFlags, - msg.lpParam, msg.pEvent); - } while (lResult == 0L); - - // !!! - CoUninitialize(); - - return (DWORD)lResult; -} - - -// Block until the next message is placed on the list m_ThreadQueue. -// copies the message to the message pointed to by *pmsg -void -CMsgThread::GetThreadMsg(__out CMsg *msg) -{ - CMsg * pmsg = NULL; - - // keep trying until a message appears - while (TRUE) { - { - CAutoLock lck(&m_Lock); - pmsg = m_ThreadQueue.RemoveHead(); - if (pmsg == NULL) { - m_lWaiting++; - } else { - break; - } - } - // the semaphore will be signalled when it is non-empty - WaitForSingleObject(m_hSem, INFINITE); - } - // copy fields to caller's CMsg - *msg = *pmsg; - - // this CMsg was allocated by the 'new' in PutThreadMsg - delete pmsg; - -} - -// Helper function - convert int to WSTR -void WINAPI IntToWstr(int i, __out_ecount(12) LPWSTR wstr) -{ -#ifdef UNICODE - if (FAILED(StringCchPrintf(wstr, 12, L"%d", i))) { - wstr[0] = 0; - } -#else - TCHAR temp[12]; - if (FAILED(StringCchPrintf(temp, NUMELMS(temp), "%d", i))) { - wstr[0] = 0; - } else { - MultiByteToWideChar(CP_ACP, 0, temp, -1, wstr, 12); - } -#endif -} // IntToWstr - - -#define MEMORY_ALIGNMENT 4 -#define MEMORY_ALIGNMENT_LOG2 2 -#define MEMORY_ALIGNMENT_MASK MEMORY_ALIGNMENT - 1 - -void * __stdcall memmoveInternal(void * dst, const void * src, size_t count) -{ - void * ret = dst; - -#ifdef _X86_ - if (dst <= src || (char *)dst >= ((char *)src + count)) { - - /* - * Non-Overlapping Buffers - * copy from lower addresses to higher addresses - */ - _asm { - mov esi,src - mov edi,dst - mov ecx,count - cld - mov edx,ecx - and edx,MEMORY_ALIGNMENT_MASK - shr ecx,MEMORY_ALIGNMENT_LOG2 - rep movsd - or ecx,edx - jz memmove_done - rep movsb -memmove_done: - } - } - else { - - /* - * Overlapping Buffers - * copy from higher addresses to lower addresses - */ - _asm { - mov esi,src - mov edi,dst - mov ecx,count - std - add esi,ecx - add edi,ecx - dec esi - dec edi - rep movsb - cld - } - } -#else - MoveMemory(dst, src, count); -#endif - - return ret; -} - -HRESULT AMSafeMemMoveOffset( - __in_bcount(dst_size) void * dst, - __in size_t dst_size, - __in DWORD cb_dst_offset, - __in_bcount(src_size) const void * src, - __in size_t src_size, - __in DWORD cb_src_offset, - __in size_t count) -{ - // prevent read overruns - if( count + cb_src_offset < count || // prevent integer overflow - count + cb_src_offset > src_size) // prevent read overrun - { - return E_INVALIDARG; - } - - // prevent write overruns - if( count + cb_dst_offset < count || // prevent integer overflow - count + cb_dst_offset > dst_size) // prevent write overrun - { - return E_INVALIDARG; - } - - memmoveInternal( (BYTE *)dst+cb_dst_offset, (BYTE *)src+cb_src_offset, count); - return S_OK; -} - - -#ifdef DEBUG -/******************************Public*Routine******************************\ -* Debug CCritSec helpers -* -* We provide debug versions of the Constructor, destructor, Lock and Unlock -* routines. The debug code tracks who owns each critical section by -* maintaining a depth count. -* -* History: -* -\**************************************************************************/ - -CCritSec::CCritSec() -{ - InitializeCriticalSection(&m_CritSec); - m_currentOwner = m_lockCount = 0; - m_fTrace = FALSE; -} - -CCritSec::~CCritSec() -{ - DeleteCriticalSection(&m_CritSec); -} - -void CCritSec::Lock() -{ - UINT tracelevel=3; - DWORD us = GetCurrentThreadId(); - DWORD currentOwner = m_currentOwner; - if (currentOwner && (currentOwner != us)) { - // already owned, but not by us - if (m_fTrace) { - DbgLog((LOG_LOCKING, 2, TEXT("Thread %d about to wait for lock %x owned by %d"), - GetCurrentThreadId(), &m_CritSec, currentOwner)); - tracelevel=2; - // if we saw the message about waiting for the critical - // section we ensure we see the message when we get the - // critical section - } - } - EnterCriticalSection(&m_CritSec); - if (0 == m_lockCount++) { - // we now own it for the first time. Set owner information - m_currentOwner = us; - - if (m_fTrace) { - DbgLog((LOG_LOCKING, tracelevel, TEXT("Thread %d now owns lock %x"), m_currentOwner, &m_CritSec)); - } - } -} - -void CCritSec::Unlock() { - if (0 == --m_lockCount) { - // about to be unowned - if (m_fTrace) { - DbgLog((LOG_LOCKING, 3, TEXT("Thread %d releasing lock %x"), m_currentOwner, &m_CritSec)); - } - - m_currentOwner = 0; - } - LeaveCriticalSection(&m_CritSec); -} - -void WINAPI DbgLockTrace(CCritSec * pcCrit, BOOL fTrace) -{ - pcCrit->m_fTrace = fTrace; -} - -BOOL WINAPI CritCheckIn(CCritSec * pcCrit) -{ - return (GetCurrentThreadId() == pcCrit->m_currentOwner); -} - -BOOL WINAPI CritCheckIn(const CCritSec * pcCrit) -{ - return (GetCurrentThreadId() == pcCrit->m_currentOwner); -} - -BOOL WINAPI CritCheckOut(CCritSec * pcCrit) -{ - return (GetCurrentThreadId() != pcCrit->m_currentOwner); -} - -BOOL WINAPI CritCheckOut(const CCritSec * pcCrit) -{ - return (GetCurrentThreadId() != pcCrit->m_currentOwner); -} -#endif - - -STDAPI WriteBSTR(__deref_out BSTR *pstrDest, LPCWSTR szSrc) -{ - *pstrDest = SysAllocString( szSrc ); - if( !(*pstrDest) ) return E_OUTOFMEMORY; - return NOERROR; -} - - -STDAPI FreeBSTR(__deref_in BSTR* pstr) -{ - if( (PVOID)*pstr == NULL ) return S_FALSE; - SysFreeString( *pstr ); - return NOERROR; -} - - -// Return a wide string - allocating memory for it -// Returns: -// S_OK - no error -// E_POINTER - ppszReturn == NULL -// E_OUTOFMEMORY - can't allocate memory for returned string -STDAPI AMGetWideString(LPCWSTR psz, __deref_out LPWSTR *ppszReturn) -{ - CheckPointer(ppszReturn, E_POINTER); - ValidateReadWritePtr(ppszReturn, sizeof(LPWSTR)); - *ppszReturn = NULL; - size_t nameLen; - HRESULT hr = StringCbLengthW(psz, 100000, &nameLen); - if (FAILED(hr)) { - return hr; - } - *ppszReturn = (LPWSTR)CoTaskMemAlloc(nameLen + sizeof(WCHAR)); - if (*ppszReturn == NULL) { - return E_OUTOFMEMORY; - } - CopyMemory(*ppszReturn, psz, nameLen + sizeof(WCHAR)); - return NOERROR; -} - -// Waits for the HANDLE hObject. While waiting messages sent -// to windows on our thread by SendMessage will be processed. -// Using this function to do waits and mutual exclusion -// avoids some deadlocks in objects with windows. -// Return codes are the same as for WaitForSingleObject -DWORD WINAPI WaitDispatchingMessages( - HANDLE hObject, - DWORD dwWait, - HWND hwnd, - UINT uMsg, - HANDLE hEvent) -{ - BOOL bPeeked = FALSE; - DWORD dwResult; - DWORD dwStart; - DWORD dwThreadPriority; - - static UINT uMsgId = 0; - - HANDLE hObjects[2] = { hObject, hEvent }; - if (dwWait != INFINITE && dwWait != 0) { - dwStart = GetTickCount(); - } - for (; ; ) { - DWORD nCount = NULL != hEvent ? 2 : 1; - - // Minimize the chance of actually dispatching any messages - // by seeing if we can lock immediately. - dwResult = WaitForMultipleObjects(nCount, hObjects, FALSE, 0); - if (dwResult < WAIT_OBJECT_0 + nCount) { - break; - } - - DWORD dwTimeOut = dwWait; - if (dwTimeOut > 10) { - dwTimeOut = 10; - } - dwResult = MsgWaitForMultipleObjects( - nCount, - hObjects, - FALSE, - dwTimeOut, - hwnd == NULL ? QS_SENDMESSAGE : - QS_SENDMESSAGE + QS_POSTMESSAGE); - if (dwResult == WAIT_OBJECT_0 + nCount || - dwResult == WAIT_TIMEOUT && dwTimeOut != dwWait) { - MSG msg; - if (hwnd != NULL) { - while (PeekMessage(&msg, hwnd, uMsg, uMsg, PM_REMOVE)) { - DispatchMessage(&msg); - } - } - // Do this anyway - the previous peek doesn't flush out the - // messages - PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE); - - if (dwWait != INFINITE && dwWait != 0) { - DWORD dwNow = GetTickCount(); - - // Working with differences handles wrap-around - DWORD dwDiff = dwNow - dwStart; - if (dwDiff > dwWait) { - dwWait = 0; - } else { - dwWait -= dwDiff; - } - dwStart = dwNow; - } - if (!bPeeked) { - // Raise our priority to prevent our message queue - // building up - dwThreadPriority = GetThreadPriority(GetCurrentThread()); - if (dwThreadPriority < THREAD_PRIORITY_HIGHEST) { - SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_HIGHEST); - } - bPeeked = TRUE; - } - } else { - break; - } - } - if (bPeeked) { - SetThreadPriority(GetCurrentThread(), dwThreadPriority); - if (HIWORD(GetQueueStatus(QS_POSTMESSAGE)) & QS_POSTMESSAGE) { - if (uMsgId == 0) { - uMsgId = RegisterWindowMessage(TEXT("AMUnblock")); - } - if (uMsgId != 0) { - MSG msg; - // Remove old ones - while (PeekMessage(&msg, (HWND)-1, uMsgId, uMsgId, PM_REMOVE)) { - } - } - PostThreadMessage(GetCurrentThreadId(), uMsgId, 0, 0); - } - } - return dwResult; -} - -HRESULT AmGetLastErrorToHResult() -{ - DWORD dwLastError = GetLastError(); - if(dwLastError != 0) - { - return HRESULT_FROM_WIN32(dwLastError); - } - else - { - return E_FAIL; - } -} - -IUnknown* QzAtlComPtrAssign(__deref_inout_opt IUnknown** pp, __in_opt IUnknown* lp) -{ - if (lp != NULL) - lp->AddRef(); - if (*pp) - (*pp)->Release(); - *pp = lp; - return lp; -} - -/****************************************************************************** - -CompatibleTimeSetEvent - - CompatibleTimeSetEvent() sets the TIME_KILL_SYNCHRONOUS flag before calling -timeSetEvent() if the current operating system supports it. TIME_KILL_SYNCHRONOUS -is supported on Windows XP and later operating systems. - -Parameters: -- The same parameters as timeSetEvent(). See timeSetEvent()'s documentation in -the Platform SDK for more information. - -Return Value: -- The same return value as timeSetEvent(). See timeSetEvent()'s documentation in -the Platform SDK for more information. - -******************************************************************************/ -MMRESULT CompatibleTimeSetEvent( UINT uDelay, UINT uResolution, __in LPTIMECALLBACK lpTimeProc, DWORD_PTR dwUser, UINT fuEvent ) -{ - #if WINVER >= 0x0501 - { - static bool fCheckedVersion = false; - static bool fTimeKillSynchronousFlagAvailable = false; - - if( !fCheckedVersion ) { - fTimeKillSynchronousFlagAvailable = TimeKillSynchronousFlagAvailable(); - fCheckedVersion = true; - } - - if( fTimeKillSynchronousFlagAvailable ) { - fuEvent = fuEvent | TIME_KILL_SYNCHRONOUS; - } - } - #endif // WINVER >= 0x0501 - - return timeSetEvent( uDelay, uResolution, lpTimeProc, dwUser, fuEvent ); -} - -bool TimeKillSynchronousFlagAvailable( void ) -{ - OSVERSIONINFO osverinfo; - - osverinfo.dwOSVersionInfoSize = sizeof(osverinfo); - - if( GetVersionEx( &osverinfo ) ) { - - // Windows XP's major version is 5 and its' minor version is 1. - // timeSetEvent() started supporting the TIME_KILL_SYNCHRONOUS flag - // in Windows XP. - if( (osverinfo.dwMajorVersion > 5) || - ( (osverinfo.dwMajorVersion == 5) && (osverinfo.dwMinorVersion >= 1) ) ) { - return true; - } - } - - return false; -} - - -#endif /* PJMEDIA_VIDEO_DEV_HAS_DSHOW */ diff --git a/res/pjproject/third_party/BaseClasses/wxutil.h b/res/pjproject/third_party/BaseClasses/wxutil.h deleted file mode 100644 index 3bfc2d29f6..0000000000 --- a/res/pjproject/third_party/BaseClasses/wxutil.h +++ /dev/null @@ -1,532 +0,0 @@ -//------------------------------------------------------------------------------ -// File: WXUtil.h -// -// Desc: DirectShow base classes - defines helper classes and functions for -// building multimedia filters. -// -// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. -//------------------------------------------------------------------------------ - - -#ifndef __WXUTIL__ -#define __WXUTIL__ - -// eliminate spurious "statement has no effect" warnings. -#pragma warning(disable: 4705) - -// wrapper for whatever critical section we have -class CCritSec { - - // make copy constructor and assignment operator inaccessible - - CCritSec(const CCritSec &refCritSec); - CCritSec &operator=(const CCritSec &refCritSec); - - CRITICAL_SECTION m_CritSec; - -#ifdef DEBUG -public: - DWORD m_currentOwner; - DWORD m_lockCount; - BOOL m_fTrace; // Trace this one -public: - CCritSec(); - ~CCritSec(); - void Lock(); - void Unlock(); -#else - -public: - CCritSec() { - InitializeCriticalSection(&m_CritSec); - }; - - ~CCritSec() { - DeleteCriticalSection(&m_CritSec); - }; - - void Lock() { - EnterCriticalSection(&m_CritSec); - }; - - void Unlock() { - LeaveCriticalSection(&m_CritSec); - }; -#endif -}; - -// -// To make deadlocks easier to track it is useful to insert in the -// code an assertion that says whether we own a critical section or -// not. We make the routines that do the checking globals to avoid -// having different numbers of member functions in the debug and -// retail class implementations of CCritSec. In addition we provide -// a routine that allows usage of specific critical sections to be -// traced. This is NOT on by default - there are far too many. -// - -#ifdef DEBUG - BOOL WINAPI CritCheckIn(CCritSec * pcCrit); - BOOL WINAPI CritCheckIn(const CCritSec * pcCrit); - BOOL WINAPI CritCheckOut(CCritSec * pcCrit); - BOOL WINAPI CritCheckOut(const CCritSec * pcCrit); - void WINAPI DbgLockTrace(CCritSec * pcCrit, BOOL fTrace); -#else - #define CritCheckIn(x) TRUE - #define CritCheckOut(x) TRUE - #define DbgLockTrace(pc, fT) -#endif - - -// locks a critical section, and unlocks it automatically -// when the lock goes out of scope -class CAutoLock { - - // make copy constructor and assignment operator inaccessible - - CAutoLock(const CAutoLock &refAutoLock); - CAutoLock &operator=(const CAutoLock &refAutoLock); - -protected: - CCritSec * m_pLock; - -public: - CAutoLock(CCritSec * plock) - { - m_pLock = plock; - m_pLock->Lock(); - }; - - ~CAutoLock() { - m_pLock->Unlock(); - }; -}; - - - -// wrapper for event objects -class CAMEvent -{ - - // make copy constructor and assignment operator inaccessible - - CAMEvent(const CAMEvent &refEvent); - CAMEvent &operator=(const CAMEvent &refEvent); - -protected: - HANDLE m_hEvent; -public: - CAMEvent(BOOL fManualReset = FALSE, __inout_opt HRESULT *phr = NULL); - CAMEvent(__inout_opt HRESULT *phr); - ~CAMEvent(); - - // Cast to HANDLE - we don't support this as an lvalue - operator HANDLE () const { return m_hEvent; }; - - void Set() {EXECUTE_ASSERT(SetEvent(m_hEvent));}; - BOOL Wait(DWORD dwTimeout = INFINITE) { - return (WaitForSingleObject(m_hEvent, dwTimeout) == WAIT_OBJECT_0); - }; - void Reset() { ResetEvent(m_hEvent); }; - BOOL Check() { return Wait(0); }; -}; - - -// wrapper for event objects that do message processing -// This adds ONE method to the CAMEvent object to allow sent -// messages to be processed while waiting - -class CAMMsgEvent : public CAMEvent -{ - -public: - - CAMMsgEvent(__inout_opt HRESULT *phr = NULL); - - // Allow SEND messages to be processed while waiting - BOOL WaitMsg(DWORD dwTimeout = INFINITE); -}; - -// old name supported for the time being -#define CTimeoutEvent CAMEvent - -// support for a worker thread - -#ifdef AM_NOVTABLE -// simple thread class supports creation of worker thread, synchronization -// and communication. Can be derived to simplify parameter passing -class AM_NOVTABLE CAMThread { - - // make copy constructor and assignment operator inaccessible - - CAMThread(const CAMThread &refThread); - CAMThread &operator=(const CAMThread &refThread); - - CAMEvent m_EventSend; - CAMEvent m_EventComplete; - - DWORD m_dwParam; - DWORD m_dwReturnVal; - -protected: - HANDLE m_hThread; - - // thread will run this function on startup - // must be supplied by derived class - virtual DWORD ThreadProc() = 0; - -public: - CAMThread(__inout_opt HRESULT *phr = NULL); - virtual ~CAMThread(); - - CCritSec m_AccessLock; // locks access by client threads - CCritSec m_WorkerLock; // locks access to shared objects - - // thread initially runs this. param is actually 'this'. function - // just gets this and calls ThreadProc - static DWORD WINAPI InitialThreadProc(__inout LPVOID pv); - - // start thread running - error if already running - BOOL Create(); - - // signal the thread, and block for a response - // - DWORD CallWorker(DWORD); - - // accessor thread calls this when done with thread (having told thread - // to exit) - void Close() { - - // Disable warning: Conversion from LONG to PVOID of greater size -#pragma warning(push) -#pragma warning(disable: 4312) - HANDLE hThread = (HANDLE)InterlockedExchangePointer(&m_hThread, 0); -#pragma warning(pop) - - if (hThread) { - WaitForSingleObject(hThread, INFINITE); - CloseHandle(hThread); - } - }; - - // ThreadExists - // Return TRUE if the thread exists. FALSE otherwise - BOOL ThreadExists(void) const - { - if (m_hThread == 0) { - return FALSE; - } else { - return TRUE; - } - } - - // wait for the next request - DWORD GetRequest(); - - // is there a request? - BOOL CheckRequest(__out_opt DWORD * pParam); - - // reply to the request - void Reply(DWORD); - - // If you want to do WaitForMultipleObjects you'll need to include - // this handle in your wait list or you won't be responsive - HANDLE GetRequestHandle() const { return m_EventSend; }; - - // Find out what the request was - DWORD GetRequestParam() const { return m_dwParam; }; - - // call CoInitializeEx (COINIT_DISABLE_OLE1DDE) if - // available. S_FALSE means it's not available. - static HRESULT CoInitializeHelper(); -}; -#endif // AM_NOVTABLE - - -// CQueue -// -// Implements a simple Queue ADT. The queue contains a finite number of -// objects, access to which is controlled by a semaphore. The semaphore -// is created with an initial count (N). Each time an object is added -// a call to WaitForSingleObject is made on the semaphore's handle. When -// this function returns a slot has been reserved in the queue for the new -// object. If no slots are available the function blocks until one becomes -// available. Each time an object is removed from the queue ReleaseSemaphore -// is called on the semaphore's handle, thus freeing a slot in the queue. -// If no objects are present in the queue the function blocks until an -// object has been added. - -#define DEFAULT_QUEUESIZE 2 - -template class CQueue { -private: - HANDLE hSemPut; // Semaphore controlling queue "putting" - HANDLE hSemGet; // Semaphore controlling queue "getting" - CRITICAL_SECTION CritSect; // Thread seriallization - int nMax; // Max objects allowed in queue - int iNextPut; // Array index of next "PutMsg" - int iNextGet; // Array index of next "GetMsg" - T *QueueObjects; // Array of objects (ptr's to void) - - void Initialize(int n) { - iNextPut = iNextGet = 0; - nMax = n; - InitializeCriticalSection(&CritSect); - hSemPut = CreateSemaphore(NULL, n, n, NULL); - hSemGet = CreateSemaphore(NULL, 0, n, NULL); - QueueObjects = new T[n]; - } - - -public: - CQueue(int n) { - Initialize(n); - } - - CQueue() { - Initialize(DEFAULT_QUEUESIZE); - } - - ~CQueue() { - delete [] QueueObjects; - DeleteCriticalSection(&CritSect); - CloseHandle(hSemPut); - CloseHandle(hSemGet); - } - - T GetQueueObject() { - int iSlot; - T Object; - LONG lPrevious; - - // Wait for someone to put something on our queue, returns straight - // away is there is already an object on the queue. - // - WaitForSingleObject(hSemGet, INFINITE); - - EnterCriticalSection(&CritSect); - iSlot = iNextGet++ % nMax; - Object = QueueObjects[iSlot]; - LeaveCriticalSection(&CritSect); - - // Release anyone waiting to put an object onto our queue as there - // is now space available in the queue. - // - ReleaseSemaphore(hSemPut, 1L, &lPrevious); - return Object; - } - - void PutQueueObject(T Object) { - int iSlot; - LONG lPrevious; - - // Wait for someone to get something from our queue, returns straight - // away is there is already an empty slot on the queue. - // - WaitForSingleObject(hSemPut, INFINITE); - - EnterCriticalSection(&CritSect); - iSlot = iNextPut++ % nMax; - QueueObjects[iSlot] = Object; - LeaveCriticalSection(&CritSect); - - // Release anyone waiting to remove an object from our queue as there - // is now an object available to be removed. - // - ReleaseSemaphore(hSemGet, 1L, &lPrevious); - } -}; - -// Ensures that memory is not read past the length source buffer -// and that memory is not written past the length of the dst buffer -// dst - buffer to copy to -// dst_size - total size of destination buffer -// cb_dst_offset - offset, first byte copied to dst+cb_dst_offset -// src - buffer to copy from -// src_size - total size of source buffer -// cb_src_offset - offset, first byte copied from src+cb_src_offset -// count - number of bytes to copy -// -// Returns: -// S_OK - no error -// E_INVALIDARG - values passed would lead to overrun -HRESULT AMSafeMemMoveOffset( - __in_bcount(dst_size) void * dst, - __in size_t dst_size, - __in DWORD cb_dst_offset, - __in_bcount(src_size) const void * src, - __in size_t src_size, - __in DWORD cb_src_offset, - __in size_t count); - -extern "C" -void * __stdcall memmoveInternal(void *, const void *, size_t); - -inline void * __cdecl memchrInternal(const void *buf, int chr, size_t cnt) -{ -#ifdef _X86_ - void *pRet = NULL; - - _asm { - cld // make sure we get the direction right - mov ecx, cnt // num of bytes to scan - mov edi, buf // pointer byte stream - mov eax, chr // byte to scan for - repne scasb // look for the byte in the byte stream - jnz exit_memchr // Z flag set if byte found - dec edi // scasb always increments edi even when it - // finds the required byte - mov pRet, edi -exit_memchr: - } - return pRet; - -#else - while ( cnt && (*(unsigned char *)buf != (unsigned char)chr) ) { - buf = (unsigned char *)buf + 1; - cnt--; - } - - return(cnt ? (void *)buf : NULL); -#endif -} - -void WINAPI IntToWstr(int i, __out_ecount(12) LPWSTR wstr); - -#define WstrToInt(sz) _wtoi(sz) -#define atoiW(sz) _wtoi(sz) -#define atoiA(sz) atoi(sz) - -// These are available to help managing bitmap VIDEOINFOHEADER media structures - -extern const DWORD bits555[3]; -extern const DWORD bits565[3]; -extern const DWORD bits888[3]; - -// These help convert between VIDEOINFOHEADER and BITMAPINFO structures - -STDAPI_(const GUID) GetTrueColorType(const BITMAPINFOHEADER *pbmiHeader); -STDAPI_(const GUID) GetBitmapSubtype(const BITMAPINFOHEADER *pbmiHeader); -STDAPI_(WORD) GetBitCount(const GUID *pSubtype); - -// strmbase.lib implements this for compatibility with people who -// managed to link to this directly. we don't want to advertise it. -// -// STDAPI_(/* T */ CHAR *) GetSubtypeName(const GUID *pSubtype); - -STDAPI_(CHAR *) GetSubtypeNameA(const GUID *pSubtype); -STDAPI_(WCHAR *) GetSubtypeNameW(const GUID *pSubtype); - -#ifdef UNICODE -#define GetSubtypeName GetSubtypeNameW -#else -#define GetSubtypeName GetSubtypeNameA -#endif - -STDAPI_(LONG) GetBitmapFormatSize(const BITMAPINFOHEADER *pHeader); -STDAPI_(DWORD) GetBitmapSize(const BITMAPINFOHEADER *pHeader); - -#ifdef __AMVIDEO__ -STDAPI_(BOOL) ContainsPalette(const VIDEOINFOHEADER *pVideoInfo); -STDAPI_(const RGBQUAD *) GetBitmapPalette(const VIDEOINFOHEADER *pVideoInfo); -#endif // __AMVIDEO__ - - -// Compares two interfaces and returns TRUE if they are on the same object -BOOL WINAPI IsEqualObject(IUnknown *pFirst, IUnknown *pSecond); - -// This is for comparing pins -#define EqualPins(pPin1, pPin2) IsEqualObject(pPin1, pPin2) - - -// Arithmetic helper functions - -// Compute (a * b + rnd) / c -LONGLONG WINAPI llMulDiv(LONGLONG a, LONGLONG b, LONGLONG c, LONGLONG rnd); -LONGLONG WINAPI Int64x32Div32(LONGLONG a, LONG b, LONG c, LONG rnd); - - -// Avoids us dyna-linking to SysAllocString to copy BSTR strings -STDAPI WriteBSTR(__deref_out BSTR * pstrDest, LPCWSTR szSrc); -STDAPI FreeBSTR(__deref_in BSTR* pstr); - -// Return a wide string - allocating memory for it -// Returns: -// S_OK - no error -// E_POINTER - ppszReturn == NULL -// E_OUTOFMEMORY - can't allocate memory for returned string -STDAPI AMGetWideString(LPCWSTR pszString, __deref_out LPWSTR *ppszReturn); - -// Special wait for objects owning windows -DWORD WINAPI WaitDispatchingMessages( - HANDLE hObject, - DWORD dwWait, - HWND hwnd = NULL, - UINT uMsg = 0, - HANDLE hEvent = NULL); - -// HRESULT_FROM_WIN32 converts ERROR_SUCCESS to a success code, but in -// our use of HRESULT_FROM_WIN32, it typically means a function failed -// to call SetLastError(), and we still want a failure code. -// -#define AmHresultFromWin32(x) (MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, x)) - -// call GetLastError and return an HRESULT value that will fail the -// SUCCEEDED() macro. -HRESULT AmGetLastErrorToHResult(void); - -// duplicate of ATL's CComPtr to avoid linker conflicts. - -IUnknown* QzAtlComPtrAssign(__deref_inout_opt IUnknown** pp, __in_opt IUnknown* lp); - -template -class QzCComPtr -{ -public: - typedef T _PtrClass; - QzCComPtr() {p=NULL;} - QzCComPtr(T* lp) - { - if ((p = lp) != NULL) - p->AddRef(); - } - QzCComPtr(const QzCComPtr& lp) - { - if ((p = lp.p) != NULL) - p->AddRef(); - } - ~QzCComPtr() {if (p) p->Release();} - void Release() {if (p) p->Release(); p=NULL;} - operator T*() {return (T*)p;} - T& operator*() {ASSERT(p!=NULL); return *p; } - //The assert on operator& usually indicates a bug. If this is really - //what is needed, however, take the address of the p member explicitly. - T** operator&() { ASSERT(p==NULL); return &p; } - T* operator->() { ASSERT(p!=NULL); return p; } - T* operator=(T* lp){return (T*)QzAtlComPtrAssign((IUnknown**)&p, lp);} - T* operator=(const QzCComPtr& lp) - { - return (T*)QzAtlComPtrAssign((IUnknown**)&p, lp.p); - } -#if _MSC_VER>1020 - bool operator!(){return (p == NULL);} -#else - BOOL operator!(){return (p == NULL) ? TRUE : FALSE;} -#endif - T* p; -}; - -MMRESULT CompatibleTimeSetEvent( UINT uDelay, UINT uResolution, __in LPTIMECALLBACK lpTimeProc, DWORD_PTR dwUser, UINT fuEvent ); -bool TimeKillSynchronousFlagAvailable( void ); - -// Helper to replace lstrcpmi -__inline int lstrcmpiLocaleIndependentW(LPCWSTR lpsz1, LPCWSTR lpsz2) -{ - return CompareStringW(LOCALE_INVARIANT, NORM_IGNORECASE, lpsz1, -1, lpsz2, -1) - CSTR_EQUAL; -} -__inline int lstrcmpiLocaleIndependentA(LPCSTR lpsz1, LPCSTR lpsz2) -{ - return CompareStringA(LOCALE_INVARIANT, NORM_IGNORECASE, lpsz1, -1, lpsz2, -1) - CSTR_EQUAL; -} - -#endif /* __WXUTIL__ */ diff --git a/res/pjproject/third_party/README.txt b/res/pjproject/third_party/README.txt deleted file mode 100644 index d852a7998b..0000000000 --- a/res/pjproject/third_party/README.txt +++ /dev/null @@ -1,19 +0,0 @@ -Third Party Software - -This directory contains third party software that is -used by PJ project. - -= Building the third party libraries = - -Go to build directory, rather than building the library -using the project files/Makefiles provided by the software. - - -= Versions = - -speex: SVN -r12832 -portaudio: SVN -r1186 -gsm: gsm-1.0.12 -ilbc: from RFC -resample: lib-resample, I think version 1.7 -srtp libsrtp-1.4.4 diff --git a/res/pjproject/third_party/build/Makefile b/res/pjproject/third_party/build/Makefile deleted file mode 100644 index 36d8061207..0000000000 --- a/res/pjproject/third_party/build/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -DIRS = resample milenage srtp - -include ../../build.mak -include $(PJDIR)/build/common.mak - -all clean dep depend distclean realclean: - for dir in $(DIRS); do \ - if $(MAKE) $(MAKE_FLAGS) -C $$dir $@; then \ - true; \ - else \ - exit 1; \ - fi; \ - done - -doc: - diff --git a/res/pjproject/third_party/build/baseclasses/libbaseclasses.vcproj b/res/pjproject/third_party/build/baseclasses/libbaseclasses.vcproj deleted file mode 100644 index 6241ef97d5..0000000000 --- a/res/pjproject/third_party/build/baseclasses/libbaseclasses.vcproj +++ /dev/null @@ -1,488 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/third_party/build/g7221/Makefile b/res/pjproject/third_party/build/g7221/Makefile deleted file mode 100644 index 60590307f6..0000000000 --- a/res/pjproject/third_party/build/g7221/Makefile +++ /dev/null @@ -1,63 +0,0 @@ -include ../../../build.mak -include ../../../build/common.mak - -export LIBDIR := ../../lib - -RULES_MAK := $(PJDIR)/build/rules.mak - -export G7221_CODEC_LIB := ../../lib/libg7221codec-$(TARGET_NAME)$(LIBEXT) - -############################################################################### -# Gather all flags. -# -export _CFLAGS := $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \ - $(CFLAGS) $(CC_INC)../.. $(CC_INC)../../g7221/common \ - $(CC_INC)../../g7221/common/stl-files \ - $(CC_INC)../../../pjlib/include -export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ - $(HOST_CXXFLAGS) $(CXXFLAGS) -export _LDFLAGS := $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \ - $(LDFLAGS) - -export G7221_CODEC_SRCDIR = ../../g7221 -export G7221_CODEC_OBJS = common/common.o common/huff_tab.o common/tables.o \ - common/basic_op.o \ - decode/coef2sam.o decode/dct4_s.o decode/decoder.o \ - encode/dct4_a.o encode/sam2coef.o encode/encoder.o - -export G7221_CODEC_CFLAGS = $(_CFLAGS) - - -export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT -############################################################################### -# Main entry -# -# $(TARGET) is defined in os-$(OS_NAME).mak file in current directory. -# -TARGETS := libg7221codec - -all: $(TARGETS) - -doc: - cd .. && doxygen docs/doxygen.cfg - -dep: depend -distclean: realclean - -.PHONY: dep depend libg7221codec clean realclean distclean - -libg7221codec: - $(MAKE) -f $(RULES_MAK) APP=G7221_CODEC app=libg7221codec $(G7221_CODEC_LIB) - -clean print_lib: - $(MAKE) -f $(RULES_MAK) APP=G7221_CODEC app=libg7221codec $@ - -realclean: - $(subst @@,$(subst /,$(HOST_PSEP),.ilbc-$(TARGET_NAME).depend),$(HOST_RMR)) - - $(MAKE) -f $(RULES_MAK) APP=G7221_CODEC app=libg7221codec $@ - -depend: - $(MAKE) -f $(RULES_MAK) APP=G7221_CODEC app=libg7221codec $@ - - diff --git a/res/pjproject/third_party/build/g7221/libg7221codec.vcproj b/res/pjproject/third_party/build/g7221/libg7221codec.vcproj deleted file mode 100644 index f5952f99e1..0000000000 --- a/res/pjproject/third_party/build/g7221/libg7221codec.vcproj +++ /dev/null @@ -1,6328 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/third_party/build/gsm/Makefile b/res/pjproject/third_party/build/gsm/Makefile deleted file mode 100644 index a265076e13..0000000000 --- a/res/pjproject/third_party/build/gsm/Makefile +++ /dev/null @@ -1,64 +0,0 @@ -include ../../../build.mak -include ../../../build/common.mak - -export LIBDIR := ../../lib - -RULES_MAK := $(PJDIR)/build/rules.mak - -export GSM_CODEC_LIB := ../../lib/libgsmcodec-$(TARGET_NAME)$(LIBEXT) - -############################################################################### -# Gather all flags. -# -export _CFLAGS := $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \ - $(CFLAGS) $(CC_INC). $(CC_INC)../../gsm/inc \ - $(CC_INC)../../../pjlib/include -export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ - $(HOST_CXXFLAGS) $(CXXFLAGS) -export _LDFLAGS := $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \ - $(LDFLAGS) - -export GSM_CODEC_SRCDIR = ../../gsm/src -export GSM_CODEC_OBJS = add.o code.o decode.o \ - gsm_create.o gsm_decode.o gsm_destroy.o \ - gsm_encode.o gsm_explode.o gsm_implode.o \ - gsm_option.o long_term.o \ - lpc.o preprocess.o rpe.o short_term.o \ - table.o - -export GSM_CODEC_CFLAGS = -DSASR -DWAV49 -DNeedFunctionPrototypes=1 $(_CFLAGS) - - -export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT -############################################################################### -# Main entry -# -# $(TARGET) is defined in os-$(OS_NAME).mak file in current directory. -# -TARGETS := libgsmcodec - -all: $(TARGETS) - -doc: - cd .. && doxygen docs/doxygen.cfg - -dep: depend -distclean: realclean - -.PHONY: dep depend libgsmcodec clean realclean distclean - -libgsmcodec: - $(MAKE) -f $(RULES_MAK) APP=GSM_CODEC app=libgsmcodec $(GSM_CODEC_LIB) - -clean print_lib: - $(MAKE) -f $(RULES_MAK) APP=GSM_CODEC app=libgsmcodec $@ - -realclean: - $(subst @@,$(subst /,$(HOST_PSEP),.ilbc-$(TARGET_NAME).depend),$(HOST_RMR)) - - $(MAKE) -f $(RULES_MAK) APP=GSM_CODEC app=libgsmcodec $@ - -depend: - $(MAKE) -f $(RULES_MAK) APP=GSM_CODEC app=libgsmcodec $@ - - diff --git a/res/pjproject/third_party/build/gsm/config.h b/res/pjproject/third_party/build/gsm/config.h deleted file mode 100644 index a7fec50e99..0000000000 --- a/res/pjproject/third_party/build/gsm/config.h +++ /dev/null @@ -1,11 +0,0 @@ -#ifdef _MSC_VER -# pragma warning(disable: 4100) // unreferenced formal parameter -# pragma warning(disable: 4101) // unreferenced local variable -# pragma warning(disable: 4244) // conversion from 'double ' to 'float ' -# pragma warning(disable: 4305) // truncation from 'const double ' to 'float ' -# pragma warning(disable: 4018) // signed/unsigned mismatch -//# pragma warning(disable: 4701) // local variable used without initialized -#endif - -#include -#include "../../gsm/inc/config.h" diff --git a/res/pjproject/third_party/build/gsm/libgsmcodec.vcp b/res/pjproject/third_party/build/gsm/libgsmcodec.vcp deleted file mode 100644 index f2a980cfad..0000000000 --- a/res/pjproject/third_party/build/gsm/libgsmcodec.vcp +++ /dev/null @@ -1,4835 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="libgsmcodec" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE x86) Static Library" 0x8304 -# TARGTYPE "Win32 (WCE MIPS16) Static Library" 0x8904 -# TARGTYPE "Win32 (WCE SH4) Static Library" 0x8604 -# TARGTYPE "Win32 (WCE MIPSII) Static Library" 0xa104 -# TARGTYPE "Win32 (WCE MIPSIV_FP) Static Library" 0x9204 -# TARGTYPE "Win32 (WCE SH3) Static Library" 0x8104 -# TARGTYPE "Win32 (WCE ARMV4) Static Library" 0xa304 -# TARGTYPE "Win32 (WCE ARMV4I) Static Library" 0xa504 -# TARGTYPE "Win32 (WCE emulator) Static Library" 0xa604 -# TARGTYPE "Win32 (WCE MIPSII_FP) Static Library" 0xa204 -# TARGTYPE "Win32 (WCE ARMV4T) Static Library" 0xa404 -# TARGTYPE "Win32 (WCE MIPSIV) Static Library" 0x9604 - -CFG=libgsmcodec - Win32 (WCE MIPSII_FP) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "libgsmcodec.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "libgsmcodec.vcn" CFG="libgsmcodec - Win32 (WCE MIPSII_FP) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "libgsmcodec - Win32 (WCE MIPSII_FP) Release" (based on "Win32 (WCE MIPSII_FP) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" (based on "Win32 (WCE MIPSII_FP) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE MIPSII) Release" (based on "Win32 (WCE MIPSII) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE MIPSII) Debug" (based on "Win32 (WCE MIPSII) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE SH4) Release" (based on "Win32 (WCE SH4) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE SH4) Debug" (based on "Win32 (WCE SH4) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE SH3) Release" (based on "Win32 (WCE SH3) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE SH3) Debug" (based on "Win32 (WCE SH3) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE MIPSIV) Release" (based on "Win32 (WCE MIPSIV) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE MIPSIV) Debug" (based on "Win32 (WCE MIPSIV) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" (based on "Win32 (WCE MIPSIV_FP) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" (based on "Win32 (WCE MIPSIV_FP) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE MIPS16) Release" (based on "Win32 (WCE MIPS16) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE MIPS16) Debug" (based on "Win32 (WCE MIPS16) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Static Library") -!MESSAGE "libgsmcodec - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSII_FPRel" -# PROP BASE Intermediate_Dir "output\MIPSII_FPRel" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSII_FPRel" -# PROP Intermediate_Dir "output\MIPSII_FPRel" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../gsm/inc" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSII_FPDbg" -# PROP BASE Intermediate_Dir "output\MIPSII_FPDbg" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSII_FPDbg" -# PROP Intermediate_Dir "output\MIPSII_FPDbg" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../gsm/inc" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIIRel" -# PROP BASE Intermediate_Dir "output\MIPSIIRel" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIIRel" -# PROP Intermediate_Dir "output\MIPSIIRel" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../gsm/inc" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIIDbg" -# PROP BASE Intermediate_Dir "output\MIPSIIDbg" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIIDbg" -# PROP Intermediate_Dir "output\MIPSIIDbg" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../gsm/inc" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\SH4Rel" -# PROP BASE Intermediate_Dir "output\SH4Rel" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\SH4Rel" -# PROP Intermediate_Dir "output\SH4Rel" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /Qsh4 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../gsm/inc" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /Qsh4 /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\SH4Dbg" -# PROP BASE Intermediate_Dir "output\SH4Dbg" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\SH4Dbg" -# PROP Intermediate_Dir "output\SH4Dbg" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Qsh4 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../gsm/inc" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Qsh4 /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\SH3Rel" -# PROP BASE Intermediate_Dir "output\SH3Rel" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\SH3Rel" -# PROP Intermediate_Dir "output\SH3Rel" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../gsm/inc" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\SH3Dbg" -# PROP BASE Intermediate_Dir "output\SH3Dbg" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\SH3Dbg" -# PROP Intermediate_Dir "output\SH3Dbg" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../gsm/inc" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIVRel" -# PROP BASE Intermediate_Dir "output\MIPSIVRel" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIVRel" -# PROP Intermediate_Dir "output\MIPSIVRel" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../gsm/inc" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIVDbg" -# PROP BASE Intermediate_Dir "output\MIPSIVDbg" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIVDbg" -# PROP Intermediate_Dir "output\MIPSIVDbg" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../gsm/inc" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\emulatorRel" -# PROP BASE Intermediate_Dir "output\emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\emulatorRel" -# PROP Intermediate_Dir "output\emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "." /I "../../gsm/inc" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\emulatorDbg" -# PROP BASE Intermediate_Dir "output\emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\emulatorDbg" -# PROP Intermediate_Dir "output\emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../gsm/inc" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4IRel" -# PROP BASE Intermediate_Dir "output\ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4IRel" -# PROP Intermediate_Dir "output\ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../gsm/inc" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4IDbg" -# PROP BASE Intermediate_Dir "output\ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4IDbg" -# PROP Intermediate_Dir "output\ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../gsm/inc" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIV_FPRel" -# PROP BASE Intermediate_Dir "output\MIPSIV_FPRel" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIV_FPRel" -# PROP Intermediate_Dir "output\MIPSIV_FPRel" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../gsm/inc" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIV_FPDbg" -# PROP BASE Intermediate_Dir "output\MIPSIV_FPDbg" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIV_FPDbg" -# PROP Intermediate_Dir "output\MIPSIV_FPDbg" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../gsm/inc" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4Rel" -# PROP BASE Intermediate_Dir "output\ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4Rel" -# PROP Intermediate_Dir "output\ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../gsm/inc" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4Dbg" -# PROP BASE Intermediate_Dir "output\ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4Dbg" -# PROP Intermediate_Dir "output\ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../gsm/inc" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPS16Rel" -# PROP BASE Intermediate_Dir "output\MIPS16Rel" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPS16Rel" -# PROP Intermediate_Dir "output\MIPS16Rel" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../gsm/inc" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPS16Dbg" -# PROP BASE Intermediate_Dir "output\MIPS16Dbg" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPS16Dbg" -# PROP Intermediate_Dir "output\MIPS16Dbg" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../gsm/inc" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4TRel" -# PROP BASE Intermediate_Dir "output\ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4TRel" -# PROP Intermediate_Dir "output\ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../gsm/inc" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4TDbg" -# PROP BASE Intermediate_Dir "output\ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4TDbg" -# PROP Intermediate_Dir "output\ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../gsm/inc" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\X86Rel" -# PROP BASE Intermediate_Dir "output\X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\X86Rel" -# PROP Intermediate_Dir "output\X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "." /I "../../gsm/inc" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\X86Dbg" -# PROP BASE Intermediate_Dir "output\X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\X86Dbg" -# PROP Intermediate_Dir "output\X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../gsm/inc" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ENDIF - -# Begin Target - -# Name "libgsmcodec - Win32 (WCE MIPSII_FP) Release" -# Name "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" -# Name "libgsmcodec - Win32 (WCE MIPSII) Release" -# Name "libgsmcodec - Win32 (WCE MIPSII) Debug" -# Name "libgsmcodec - Win32 (WCE SH4) Release" -# Name "libgsmcodec - Win32 (WCE SH4) Debug" -# Name "libgsmcodec - Win32 (WCE SH3) Release" -# Name "libgsmcodec - Win32 (WCE SH3) Debug" -# Name "libgsmcodec - Win32 (WCE MIPSIV) Release" -# Name "libgsmcodec - Win32 (WCE MIPSIV) Debug" -# Name "libgsmcodec - Win32 (WCE emulator) Release" -# Name "libgsmcodec - Win32 (WCE emulator) Debug" -# Name "libgsmcodec - Win32 (WCE ARMV4I) Release" -# Name "libgsmcodec - Win32 (WCE ARMV4I) Debug" -# Name "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" -# Name "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" -# Name "libgsmcodec - Win32 (WCE ARMV4) Release" -# Name "libgsmcodec - Win32 (WCE ARMV4) Debug" -# Name "libgsmcodec - Win32 (WCE MIPS16) Release" -# Name "libgsmcodec - Win32 (WCE MIPS16) Debug" -# Name "libgsmcodec - Win32 (WCE ARMV4T) Release" -# Name "libgsmcodec - Win32 (WCE ARMV4T) Debug" -# Name "libgsmcodec - Win32 (WCE x86) Release" -# Name "libgsmcodec - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\gsm\src\add.c - -!IF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Release" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Debug" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Release" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Debug" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Release" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Debug" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Release" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Debug" - -DEP_CPP_ADD_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\src\code.c - -!IF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Release" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Debug" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Release" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Debug" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Release" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Debug" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Release" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Debug" - -DEP_CPP_CODE_=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\src\debug.c - -!IF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Release" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Debug" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Release" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Debug" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Release" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Debug" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Release" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Debug" - -DEP_CPP_DEBUG=\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\src\decode.c - -!IF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Release" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Debug" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Release" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Debug" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Release" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Debug" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Release" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Debug" - -DEP_CPP_DECOD=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\src\gsm_create.c - -!IF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Release" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Debug" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Release" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Debug" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Release" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Debug" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Release" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Debug" - -DEP_CPP_GSM_C=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - ".\config.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\src\gsm_decode.c - -!IF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Release" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Debug" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Release" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Debug" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Release" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Debug" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Release" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Debug" - -DEP_CPP_GSM_D=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\src\gsm_destroy.c - -!IF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Release" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Debug" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Release" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Debug" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Release" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Debug" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Release" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Debug" - -DEP_CPP_GSM_DE=\ - "..\..\gsm\inc\config.h"\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\proto.h"\ - ".\config.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\src\gsm_encode.c - -!IF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Release" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Debug" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Release" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Debug" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Release" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Debug" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Release" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Debug" - -DEP_CPP_GSM_E=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\src\gsm_explode.c - -!IF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Release" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Debug" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Release" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Debug" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Release" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Debug" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Release" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Debug" - -DEP_CPP_GSM_EX=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\src\gsm_implode.c - -!IF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Release" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Debug" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Release" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Debug" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Release" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Debug" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Release" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Debug" - -DEP_CPP_GSM_I=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\src\gsm_option.c - -!IF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Release" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Debug" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Release" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Debug" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Release" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Debug" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Release" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Debug" - -DEP_CPP_GSM_O=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\src\gsm_print.c - -!IF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Release" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Debug" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Release" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Debug" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Release" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Debug" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Release" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Debug" - -DEP_CPP_GSM_P=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\src\long_term.c - -!IF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Release" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Debug" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Release" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Debug" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Release" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Debug" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Release" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Debug" - -DEP_CPP_LONG_=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\src\lpc.c - -!IF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Release" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Debug" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Release" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Debug" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Release" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Debug" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Release" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Debug" - -DEP_CPP_LPC_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\src\preprocess.c - -!IF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Release" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Debug" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Release" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Debug" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Release" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Debug" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Release" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Debug" - -DEP_CPP_PREPR=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\src\rpe.c - -!IF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Release" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Debug" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Release" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Debug" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Release" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Debug" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Release" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Debug" - -DEP_CPP_RPE_C=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\src\short_term.c - -!IF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Release" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Debug" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Release" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Debug" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Release" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Debug" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Release" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Debug" - -DEP_CPP_SHORT=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\src\table.c - -!IF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Release" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH4) Debug" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Release" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE SH3) Debug" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Release" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE emulator) Debug" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Release" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ELSEIF "$(CFG)" == "libgsmcodec - Win32 (WCE x86) Debug" - -DEP_CPP_TABLE=\ - "..\..\gsm\inc\gsm.h"\ - "..\..\gsm\inc\private.h"\ - "..\..\gsm\inc\proto.h"\ - "..\..\gsm\inc\unproto.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\config.h -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\inc\config.h -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\inc\gsm.h -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\inc\private.h -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\inc\proto.h -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\inc\toast.h -# End Source File -# Begin Source File - -SOURCE=..\..\gsm\inc\unproto.h -# End Source File -# End Group -# End Target -# End Project diff --git a/res/pjproject/third_party/build/gsm/libgsmcodec.vcproj b/res/pjproject/third_party/build/gsm/libgsmcodec.vcproj deleted file mode 100644 index ff908371de..0000000000 --- a/res/pjproject/third_party/build/gsm/libgsmcodec.vcproj +++ /dev/null @@ -1,3890 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/third_party/build/ilbc/Makefile b/res/pjproject/third_party/build/ilbc/Makefile deleted file mode 100644 index 50b4ab7e7b..0000000000 --- a/res/pjproject/third_party/build/ilbc/Makefile +++ /dev/null @@ -1,65 +0,0 @@ -include ../../../build.mak -include ../../../build/common.mak - -export LIBDIR := ../../lib - -RULES_MAK := $(PJDIR)/build/rules.mak - -export ILBC_LIB := ../../lib/libilbccodec-$(TARGET_NAME)$(LIBEXT) - -############################################################################### -# Gather all flags. -# -export _CFLAGS := $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \ - $(CFLAGS) $(CC_INC). $(CC_INC)../../ilbc \ - $(CC_INC)../../../pjlib/include -export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ - $(HOST_CXXFLAGS) $(CXXFLAGS) -export _LDFLAGS := $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \ - $(LDFLAGS) - -export ILBC_SRCDIR = ../../ilbc -export ILBC_OBJS = FrameClassify.o LPCdecode.o LPCencode.o \ - StateConstructW.o StateSearchW.o anaFilter.o \ - constants.o createCB.o doCPLC.o \ - enhancer.o filter.o gainquant.o \ - getCBvec.o helpfun.o hpInput.o \ - hpOutput.o iCBConstruct.o iCBSearch.o \ - iLBC_decode.o iLBC_encode.o lsf.o \ - packing.o syntFilter.o -export ILBC_CFLAGS = $(_CFLAGS) - - -export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT -############################################################################### -# Main entry -# -# $(TARGET) is defined in os-$(OS_NAME).mak file in current directory. -# -TARGETS := libilbccodec - -all: $(TARGETS) - -doc: - cd .. && doxygen docs/doxygen.cfg - -dep: depend -distclean: realclean - -.PHONY: dep depend libilbccodec clean realclean distclean - -libilbccodec: - $(MAKE) -f $(RULES_MAK) APP=ILBC app=libilbccodec $(ILBC_LIB) - -clean print_lib: - $(MAKE) -f $(RULES_MAK) APP=ILBC app=libilbccodec $@ - -realclean: - $(subst @@,$(subst /,$(HOST_PSEP),.ilbc-$(TARGET_NAME).depend),$(HOST_RMR)) - - $(MAKE) -f $(RULES_MAK) APP=ILBC app=libilbccodec $@ - -depend: - $(MAKE) -f $(RULES_MAK) APP=ILBC app=libilbccodec $@ - - diff --git a/res/pjproject/third_party/build/ilbc/libilbccodec.vcp b/res/pjproject/third_party/build/ilbc/libilbccodec.vcp deleted file mode 100644 index 8d6440951c..0000000000 --- a/res/pjproject/third_party/build/ilbc/libilbccodec.vcp +++ /dev/null @@ -1,5373 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="libilbccodec" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE x86) Static Library" 0x8304 -# TARGTYPE "Win32 (WCE MIPS16) Static Library" 0x8904 -# TARGTYPE "Win32 (WCE SH4) Static Library" 0x8604 -# TARGTYPE "Win32 (WCE MIPSII) Static Library" 0xa104 -# TARGTYPE "Win32 (WCE MIPSIV_FP) Static Library" 0x9204 -# TARGTYPE "Win32 (WCE SH3) Static Library" 0x8104 -# TARGTYPE "Win32 (WCE ARMV4) Static Library" 0xa304 -# TARGTYPE "Win32 (WCE ARMV4I) Static Library" 0xa504 -# TARGTYPE "Win32 (WCE emulator) Static Library" 0xa604 -# TARGTYPE "Win32 (WCE MIPSII_FP) Static Library" 0xa204 -# TARGTYPE "Win32 (WCE ARMV4T) Static Library" 0xa404 -# TARGTYPE "Win32 (WCE MIPSIV) Static Library" 0x9604 - -CFG=libilbccodec - Win32 (WCE MIPSII_FP) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "libilbccodec.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "libilbccodec.vcn" CFG="libilbccodec - Win32 (WCE MIPSII_FP) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "libilbccodec - Win32 (WCE MIPSII_FP) Release" (based on "Win32 (WCE MIPSII_FP) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE MIPSII_FP) Debug" (based on "Win32 (WCE MIPSII_FP) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE MIPSII) Release" (based on "Win32 (WCE MIPSII) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE MIPSII) Debug" (based on "Win32 (WCE MIPSII) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE SH4) Release" (based on "Win32 (WCE SH4) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE SH4) Debug" (based on "Win32 (WCE SH4) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE SH3) Release" (based on "Win32 (WCE SH3) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE SH3) Debug" (based on "Win32 (WCE SH3) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE MIPSIV) Release" (based on "Win32 (WCE MIPSIV) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE MIPSIV) Debug" (based on "Win32 (WCE MIPSIV) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE MIPSIV_FP) Release" (based on "Win32 (WCE MIPSIV_FP) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" (based on "Win32 (WCE MIPSIV_FP) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE MIPS16) Release" (based on "Win32 (WCE MIPS16) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE MIPS16) Debug" (based on "Win32 (WCE MIPS16) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Static Library") -!MESSAGE "libilbccodec - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSII_FPRel" -# PROP BASE Intermediate_Dir "output\MIPSII_FPRel" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSII_FPRel" -# PROP Intermediate_Dir "output\MIPSII_FPRel" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSII_FPDbg" -# PROP BASE Intermediate_Dir "output\MIPSII_FPDbg" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSII_FPDbg" -# PROP Intermediate_Dir "output\MIPSII_FPDbg" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIIRel" -# PROP BASE Intermediate_Dir "output\MIPSIIRel" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIIRel" -# PROP Intermediate_Dir "output\MIPSIIRel" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIIDbg" -# PROP BASE Intermediate_Dir "output\MIPSIIDbg" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIIDbg" -# PROP Intermediate_Dir "output\MIPSIIDbg" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\SH4Rel" -# PROP BASE Intermediate_Dir "output\SH4Rel" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\SH4Rel" -# PROP Intermediate_Dir "output\SH4Rel" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /Qsh4 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /Qsh4 /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\SH4Dbg" -# PROP BASE Intermediate_Dir "output\SH4Dbg" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\SH4Dbg" -# PROP Intermediate_Dir "output\SH4Dbg" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Qsh4 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Qsh4 /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\SH3Rel" -# PROP BASE Intermediate_Dir "output\SH3Rel" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\SH3Rel" -# PROP Intermediate_Dir "output\SH3Rel" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\SH3Dbg" -# PROP BASE Intermediate_Dir "output\SH3Dbg" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\SH3Dbg" -# PROP Intermediate_Dir "output\SH3Dbg" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIVRel" -# PROP BASE Intermediate_Dir "output\MIPSIVRel" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIVRel" -# PROP Intermediate_Dir "output\MIPSIVRel" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIVDbg" -# PROP BASE Intermediate_Dir "output\MIPSIVDbg" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIVDbg" -# PROP Intermediate_Dir "output\MIPSIVDbg" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\emulatorRel" -# PROP BASE Intermediate_Dir "output\emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\emulatorRel" -# PROP Intermediate_Dir "output\emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\emulatorDbg" -# PROP BASE Intermediate_Dir "output\emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\emulatorDbg" -# PROP Intermediate_Dir "output\emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4IRel" -# PROP BASE Intermediate_Dir "output\ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4IRel" -# PROP Intermediate_Dir "output\ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4IDbg" -# PROP BASE Intermediate_Dir "output\ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4IDbg" -# PROP Intermediate_Dir "output\ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIV_FPRel" -# PROP BASE Intermediate_Dir "output\MIPSIV_FPRel" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIV_FPRel" -# PROP Intermediate_Dir "output\MIPSIV_FPRel" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIV_FPDbg" -# PROP BASE Intermediate_Dir "output\MIPSIV_FPDbg" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIV_FPDbg" -# PROP Intermediate_Dir "output\MIPSIV_FPDbg" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4Rel" -# PROP BASE Intermediate_Dir "output\ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4Rel" -# PROP Intermediate_Dir "output\ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4Dbg" -# PROP BASE Intermediate_Dir "output\ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4Dbg" -# PROP Intermediate_Dir "output\ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPS16Rel" -# PROP BASE Intermediate_Dir "output\MIPS16Rel" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPS16Rel" -# PROP Intermediate_Dir "output\MIPS16Rel" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPS16Dbg" -# PROP BASE Intermediate_Dir "output\MIPS16Dbg" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPS16Dbg" -# PROP Intermediate_Dir "output\MIPS16Dbg" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4TRel" -# PROP BASE Intermediate_Dir "output\ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4TRel" -# PROP Intermediate_Dir "output\ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4TDbg" -# PROP BASE Intermediate_Dir "output\ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4TDbg" -# PROP Intermediate_Dir "output\ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\X86Rel" -# PROP BASE Intermediate_Dir "output\X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\X86Rel" -# PROP Intermediate_Dir "output\X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\X86Dbg" -# PROP BASE Intermediate_Dir "output\X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\X86Dbg" -# PROP Intermediate_Dir "output\X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ENDIF - -# Begin Target - -# Name "libilbccodec - Win32 (WCE MIPSII_FP) Release" -# Name "libilbccodec - Win32 (WCE MIPSII_FP) Debug" -# Name "libilbccodec - Win32 (WCE MIPSII) Release" -# Name "libilbccodec - Win32 (WCE MIPSII) Debug" -# Name "libilbccodec - Win32 (WCE SH4) Release" -# Name "libilbccodec - Win32 (WCE SH4) Debug" -# Name "libilbccodec - Win32 (WCE SH3) Release" -# Name "libilbccodec - Win32 (WCE SH3) Debug" -# Name "libilbccodec - Win32 (WCE MIPSIV) Release" -# Name "libilbccodec - Win32 (WCE MIPSIV) Debug" -# Name "libilbccodec - Win32 (WCE emulator) Release" -# Name "libilbccodec - Win32 (WCE emulator) Debug" -# Name "libilbccodec - Win32 (WCE ARMV4I) Release" -# Name "libilbccodec - Win32 (WCE ARMV4I) Debug" -# Name "libilbccodec - Win32 (WCE MIPSIV_FP) Release" -# Name "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" -# Name "libilbccodec - Win32 (WCE ARMV4) Release" -# Name "libilbccodec - Win32 (WCE ARMV4) Debug" -# Name "libilbccodec - Win32 (WCE MIPS16) Release" -# Name "libilbccodec - Win32 (WCE MIPS16) Debug" -# Name "libilbccodec - Win32 (WCE ARMV4T) Release" -# Name "libilbccodec - Win32 (WCE ARMV4T) Debug" -# Name "libilbccodec - Win32 (WCE x86) Release" -# Name "libilbccodec - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\ilbc\anaFilter.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_ANAFI=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\constants.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_CONST=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\createCB.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_CREAT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\doCPLC.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_DOCPL=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\enhancer.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_ENHAN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\filter.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_FILTE=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\FrameClassify.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_FRAME=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\gainquant.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_GAINQ=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\getCBvec.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_GETCB=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\helpfun.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_HELPF=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\hpInput.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_HPINP=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\hpOutput.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_HPOUT=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\iCBConstruct.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_ICBCO=\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\getCBvec.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\iCBSearch.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_ICBSE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\createCB.h"\ - "..\..\ilbc\gainquant.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\iLBC_decode.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_ILBC_=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\doCPLC.h"\ - "..\..\ilbc\enhancer.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpOutput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCdecode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\iLBC_encode.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_ILBC_E=\ - "..\..\ilbc\anaFilter.h"\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\FrameClassify.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\hpInput.h"\ - "..\..\ilbc\iCBConstruct.h"\ - "..\..\ilbc\iCBSearch.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\LPCencode.h"\ - "..\..\ilbc\packing.h"\ - "..\..\ilbc\StateConstructW.h"\ - "..\..\ilbc\StateSearchW.h"\ - "..\..\ilbc\syntFilter.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\LPCdecode.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_LPCDE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\LPCencode.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_LPCEN=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - "..\..\ilbc\lsf.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\lsf.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_LSF_C=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\packing.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_PACKI=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\StateConstructW.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_STATE=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\StateSearchW.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_STATES=\ - "..\..\ilbc\constants.h"\ - "..\..\ilbc\helpfun.h"\ - "..\..\ilbc\iLBC_define.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\syntFilter.c - -!IF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Release" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSII) Debug" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Release" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH4) Debug" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Release" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE SH3) Debug" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Release" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Release" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE emulator) Debug" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Release" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Release" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE MIPS16) Debug" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Release" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ELSEIF "$(CFG)" == "libilbccodec - Win32 (WCE x86) Debug" - -DEP_CPP_SYNTF=\ - "..\..\ilbc\iLBC_define.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\ilbc\anaFilter.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\constants.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\createCB.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\doCPLC.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\enhancer.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\filter.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\FrameClassify.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\gainquant.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\getCBvec.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\helpfun.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\hpInput.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\hpOutput.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\iCBConstruct.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\iCBSearch.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\iLBC_decode.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\iLBC_define.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\iLBC_encode.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\LPCdecode.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\LPCencode.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\lsf.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\packing.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\StateConstructW.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\StateSearchW.h -# End Source File -# Begin Source File - -SOURCE=..\..\ilbc\syntFilter.h -# End Source File -# End Group -# End Target -# End Project diff --git a/res/pjproject/third_party/build/ilbc/libilbccodec.vcproj b/res/pjproject/third_party/build/ilbc/libilbccodec.vcproj deleted file mode 100644 index 444fad7320..0000000000 --- a/res/pjproject/third_party/build/ilbc/libilbccodec.vcproj +++ /dev/null @@ -1,4272 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/third_party/build/milenage/Makefile b/res/pjproject/third_party/build/milenage/Makefile deleted file mode 100644 index 094ddeaa7e..0000000000 --- a/res/pjproject/third_party/build/milenage/Makefile +++ /dev/null @@ -1,58 +0,0 @@ -include ../../../build.mak -include ../../../build/common.mak - -export LIBDIR := ../../lib - -RULES_MAK := $(PJDIR)/build/rules.mak - -export MILENAGE_LIB := ../../lib/libmilenage-$(TARGET_NAME)$(LIBEXT) - -############################################################################### -# Gather all flags. -# -export _CFLAGS := $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \ - $(CFLAGS) $(CC_INC). $(CC_INC)../../milenage/include \ - $(CC_INC)../../../pjlib/include -export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ - $(HOST_CXXFLAGS) $(CXXFLAGS) -export _LDFLAGS := $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \ - $(LDFLAGS) - -export MILENAGE_SRCDIR = ../../milenage -export MILENAGE_OBJS = milenage.o rijndael.o -export MILENAGE_CFLAGS = $(_CFLAGS) - - -export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT -############################################################################### -# Main entry -# -# $(TARGET) is defined in os-$(OS_NAME).mak file in current directory. -# -TARGETS := libmilenage - -all: $(TARGETS) - -doc: - cd .. && doxygen docs/doxygen.cfg - -dep: depend -distclean: realclean - -.PHONY: dep depend libmilenage clean realclean distclean - -libmilenage: - $(MAKE) -f $(RULES_MAK) APP=MILENAGE app=libmilenage $(MILENAGE_LIB) - -clean print_lib: - $(MAKE) -f $(RULES_MAK) APP=MILENAGE app=libmilenage $@ - -realclean: - $(subst @@,$(subst /,$(HOST_PSEP),.ilbc-$(TARGET_NAME).depend),$(HOST_RMR)) - - $(MAKE) -f $(RULES_MAK) APP=MILENAGE app=libmilenage $@ - -depend: - $(MAKE) -f $(RULES_MAK) APP=MILENAGE app=libmilenage $@ - - diff --git a/res/pjproject/third_party/build/milenage/libmilenage.vcp b/res/pjproject/third_party/build/milenage/libmilenage.vcp deleted file mode 100644 index 166b0e76fb..0000000000 --- a/res/pjproject/third_party/build/milenage/libmilenage.vcp +++ /dev/null @@ -1,1562 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="libmilenage" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE x86) Static Library" 0x8304 -# TARGTYPE "Win32 (WCE MIPS16) Static Library" 0x8904 -# TARGTYPE "Win32 (WCE SH4) Static Library" 0x8604 -# TARGTYPE "Win32 (WCE MIPSII) Static Library" 0xa104 -# TARGTYPE "Win32 (WCE MIPSIV_FP) Static Library" 0x9204 -# TARGTYPE "Win32 (WCE SH3) Static Library" 0x8104 -# TARGTYPE "Win32 (WCE ARMV4) Static Library" 0xa304 -# TARGTYPE "Win32 (WCE ARMV4I) Static Library" 0xa504 -# TARGTYPE "Win32 (WCE emulator) Static Library" 0xa604 -# TARGTYPE "Win32 (WCE MIPSII_FP) Static Library" 0xa204 -# TARGTYPE "Win32 (WCE ARMV4T) Static Library" 0xa404 -# TARGTYPE "Win32 (WCE MIPSIV) Static Library" 0x9604 - -CFG=libmilenage - Win32 (WCE MIPSII_FP) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "libmilenage.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "libmilenage.vcn" CFG="libmilenage - Win32 (WCE MIPSII_FP) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "libmilenage - Win32 (WCE MIPSII_FP) Release" (based on "Win32 (WCE MIPSII_FP) Static Library") -!MESSAGE "libmilenage - Win32 (WCE MIPSII_FP) Debug" (based on "Win32 (WCE MIPSII_FP) Static Library") -!MESSAGE "libmilenage - Win32 (WCE MIPSII) Release" (based on "Win32 (WCE MIPSII) Static Library") -!MESSAGE "libmilenage - Win32 (WCE MIPSII) Debug" (based on "Win32 (WCE MIPSII) Static Library") -!MESSAGE "libmilenage - Win32 (WCE SH4) Release" (based on "Win32 (WCE SH4) Static Library") -!MESSAGE "libmilenage - Win32 (WCE SH4) Debug" (based on "Win32 (WCE SH4) Static Library") -!MESSAGE "libmilenage - Win32 (WCE SH3) Release" (based on "Win32 (WCE SH3) Static Library") -!MESSAGE "libmilenage - Win32 (WCE SH3) Debug" (based on "Win32 (WCE SH3) Static Library") -!MESSAGE "libmilenage - Win32 (WCE MIPSIV) Release" (based on "Win32 (WCE MIPSIV) Static Library") -!MESSAGE "libmilenage - Win32 (WCE MIPSIV) Debug" (based on "Win32 (WCE MIPSIV) Static Library") -!MESSAGE "libmilenage - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "libmilenage - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "libmilenage - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "libmilenage - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "libmilenage - Win32 (WCE MIPSIV_FP) Release" (based on "Win32 (WCE MIPSIV_FP) Static Library") -!MESSAGE "libmilenage - Win32 (WCE MIPSIV_FP) Debug" (based on "Win32 (WCE MIPSIV_FP) Static Library") -!MESSAGE "libmilenage - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "libmilenage - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "libmilenage - Win32 (WCE MIPS16) Release" (based on "Win32 (WCE MIPS16) Static Library") -!MESSAGE "libmilenage - Win32 (WCE MIPS16) Debug" (based on "Win32 (WCE MIPS16) Static Library") -!MESSAGE "libmilenage - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "libmilenage - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "libmilenage - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Static Library") -!MESSAGE "libmilenage - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "libmilenage - Win32 (WCE MIPSII_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSII_FPRel" -# PROP BASE Intermediate_Dir "output\MIPSII_FPRel" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSII_FPRel" -# PROP Intermediate_Dir "output\MIPSII_FPRel" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSII_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSII_FPDbg" -# PROP BASE Intermediate_Dir "output\MIPSII_FPDbg" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSII_FPDbg" -# PROP Intermediate_Dir "output\MIPSII_FPDbg" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSII) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIIRel" -# PROP BASE Intermediate_Dir "output\MIPSIIRel" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIIRel" -# PROP Intermediate_Dir "output\MIPSIIRel" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSII) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIIDbg" -# PROP BASE Intermediate_Dir "output\MIPSIIDbg" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIIDbg" -# PROP Intermediate_Dir "output\MIPSIIDbg" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE SH4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\SH4Rel" -# PROP BASE Intermediate_Dir "output\SH4Rel" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\SH4Rel" -# PROP Intermediate_Dir "output\SH4Rel" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /Qsh4 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /Qsh4 /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE SH4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\SH4Dbg" -# PROP BASE Intermediate_Dir "output\SH4Dbg" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\SH4Dbg" -# PROP Intermediate_Dir "output\SH4Dbg" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Qsh4 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Qsh4 /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE SH3) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\SH3Rel" -# PROP BASE Intermediate_Dir "output\SH3Rel" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\SH3Rel" -# PROP Intermediate_Dir "output\SH3Rel" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE SH3) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\SH3Dbg" -# PROP BASE Intermediate_Dir "output\SH3Dbg" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\SH3Dbg" -# PROP Intermediate_Dir "output\SH3Dbg" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSIV) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIVRel" -# PROP BASE Intermediate_Dir "output\MIPSIVRel" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIVRel" -# PROP Intermediate_Dir "output\MIPSIVRel" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSIV) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIVDbg" -# PROP BASE Intermediate_Dir "output\MIPSIVDbg" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIVDbg" -# PROP Intermediate_Dir "output\MIPSIVDbg" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\emulatorRel" -# PROP BASE Intermediate_Dir "output\emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\emulatorRel" -# PROP Intermediate_Dir "output\emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\emulatorDbg" -# PROP BASE Intermediate_Dir "output\emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\emulatorDbg" -# PROP Intermediate_Dir "output\emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4IRel" -# PROP BASE Intermediate_Dir "output\ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4IRel" -# PROP Intermediate_Dir "output\ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4IDbg" -# PROP BASE Intermediate_Dir "output\ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4IDbg" -# PROP Intermediate_Dir "output\ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSIV_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIV_FPRel" -# PROP BASE Intermediate_Dir "output\MIPSIV_FPRel" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIV_FPRel" -# PROP Intermediate_Dir "output\MIPSIV_FPRel" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSIV_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIV_FPDbg" -# PROP BASE Intermediate_Dir "output\MIPSIV_FPDbg" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIV_FPDbg" -# PROP Intermediate_Dir "output\MIPSIV_FPDbg" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4Rel" -# PROP BASE Intermediate_Dir "output\ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4Rel" -# PROP Intermediate_Dir "output\ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4Dbg" -# PROP BASE Intermediate_Dir "output\ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4Dbg" -# PROP Intermediate_Dir "output\ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPS16) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPS16Rel" -# PROP BASE Intermediate_Dir "output\MIPS16Rel" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPS16Rel" -# PROP Intermediate_Dir "output\MIPS16Rel" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPS16) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPS16Dbg" -# PROP BASE Intermediate_Dir "output\MIPS16Dbg" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPS16Dbg" -# PROP Intermediate_Dir "output\MIPS16Dbg" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4TRel" -# PROP BASE Intermediate_Dir "output\ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4TRel" -# PROP Intermediate_Dir "output\ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4TDbg" -# PROP BASE Intermediate_Dir "output\ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4TDbg" -# PROP Intermediate_Dir "output\ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\X86Rel" -# PROP BASE Intermediate_Dir "output\X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\X86Rel" -# PROP Intermediate_Dir "output\X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\X86Dbg" -# PROP BASE Intermediate_Dir "output\X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "output\" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\X86Dbg" -# PROP Intermediate_Dir "output\X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "output\" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ENDIF - -# Begin Target - -# Name "libmilenage - Win32 (WCE MIPSII_FP) Release" -# Name "libmilenage - Win32 (WCE MIPSII_FP) Debug" -# Name "libmilenage - Win32 (WCE MIPSII) Release" -# Name "libmilenage - Win32 (WCE MIPSII) Debug" -# Name "libmilenage - Win32 (WCE SH4) Release" -# Name "libmilenage - Win32 (WCE SH4) Debug" -# Name "libmilenage - Win32 (WCE SH3) Release" -# Name "libmilenage - Win32 (WCE SH3) Debug" -# Name "libmilenage - Win32 (WCE MIPSIV) Release" -# Name "libmilenage - Win32 (WCE MIPSIV) Debug" -# Name "libmilenage - Win32 (WCE emulator) Release" -# Name "libmilenage - Win32 (WCE emulator) Debug" -# Name "libmilenage - Win32 (WCE ARMV4I) Release" -# Name "libmilenage - Win32 (WCE ARMV4I) Debug" -# Name "libmilenage - Win32 (WCE MIPSIV_FP) Release" -# Name "libmilenage - Win32 (WCE MIPSIV_FP) Debug" -# Name "libmilenage - Win32 (WCE ARMV4) Release" -# Name "libmilenage - Win32 (WCE ARMV4) Debug" -# Name "libmilenage - Win32 (WCE MIPS16) Release" -# Name "libmilenage - Win32 (WCE MIPS16) Debug" -# Name "libmilenage - Win32 (WCE ARMV4T) Release" -# Name "libmilenage - Win32 (WCE ARMV4T) Debug" -# Name "libmilenage - Win32 (WCE x86) Release" -# Name "libmilenage - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\milenage\milenage.c - -!IF "$(CFG)" == "libmilenage - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSII) Release" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSII) Debug" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE SH4) Release" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE SH4) Debug" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE SH3) Release" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE SH3) Debug" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSIV) Release" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE emulator) Release" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE emulator) Debug" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE ARMV4I) Release" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE ARMV4) Release" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE ARMV4) Debug" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPS16) Release" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPS16) Debug" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE ARMV4T) Release" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE x86) Release" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE x86) Debug" - -DEP_CPP_MILEN=\ - "..\..\milenage\milenage.h"\ - "..\..\milenage\rijndael.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\milenage\rijndael.c - -!IF "$(CFG)" == "libmilenage - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSII) Release" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSII) Debug" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE SH4) Release" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE SH4) Debug" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE SH3) Release" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE SH3) Debug" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSIV) Release" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE emulator) Release" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE emulator) Debug" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE ARMV4) Release" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPS16) Release" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE MIPS16) Debug" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE x86) Release" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ELSEIF "$(CFG)" == "libmilenage - Win32 (WCE x86) Debug" - -DEP_CPP_RIJND=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\milenage\milenage.h -# End Source File -# Begin Source File - -SOURCE=..\..\milenage\rijndael.h -# End Source File -# End Group -# End Target -# End Project diff --git a/res/pjproject/third_party/build/milenage/libmilenage.vcproj b/res/pjproject/third_party/build/milenage/libmilenage.vcproj deleted file mode 100644 index 10033e7d7e..0000000000 --- a/res/pjproject/third_party/build/milenage/libmilenage.vcproj +++ /dev/null @@ -1,2888 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/third_party/build/os-auto.mak.in b/res/pjproject/third_party/build/os-auto.mak.in deleted file mode 100644 index f1de03f8be..0000000000 --- a/res/pjproject/third_party/build/os-auto.mak.in +++ /dev/null @@ -1,33 +0,0 @@ - -ifneq (@ac_no_gsm_codec@,1) -ifeq (@ac_external_gsm@,1) -# External -else -DIRS += gsm -endif -endif - -ifneq (@ac_no_ilbc_codec@,1) -DIRS += ilbc -endif - -ifneq (@ac_no_speex_codec@,1) -ifeq (@ac_external_speex@,1) -# External speex -else -DIRS += speex -endif -endif - -ifneq (@ac_no_g7221_codec@,1) -DIRS += g7221 -endif - -ifneq ($(findstring pa,@ac_pjmedia_snd@),) -ifeq (@ac_external_pa@,1) -# External PA -else -DIRS += portaudio -endif -endif - diff --git a/res/pjproject/third_party/build/os-darwinos.mak b/res/pjproject/third_party/build/os-darwinos.mak deleted file mode 100644 index a9c740f7fd..0000000000 --- a/res/pjproject/third_party/build/os-darwinos.mak +++ /dev/null @@ -1,7 +0,0 @@ -DIRS += gsm -DIRS += ilbc -DIRS += speex -DIRS += portaudio -DIRS += g7221 - - diff --git a/res/pjproject/third_party/build/os-linux.mak b/res/pjproject/third_party/build/os-linux.mak deleted file mode 100644 index a9c740f7fd..0000000000 --- a/res/pjproject/third_party/build/os-linux.mak +++ /dev/null @@ -1,7 +0,0 @@ -DIRS += gsm -DIRS += ilbc -DIRS += speex -DIRS += portaudio -DIRS += g7221 - - diff --git a/res/pjproject/third_party/build/os-win32.mak b/res/pjproject/third_party/build/os-win32.mak deleted file mode 100644 index a9c740f7fd..0000000000 --- a/res/pjproject/third_party/build/os-win32.mak +++ /dev/null @@ -1,7 +0,0 @@ -DIRS += gsm -DIRS += ilbc -DIRS += speex -DIRS += portaudio -DIRS += g7221 - - diff --git a/res/pjproject/third_party/build/portaudio/Makefile b/res/pjproject/third_party/build/portaudio/Makefile deleted file mode 100644 index ad81571aad..0000000000 --- a/res/pjproject/third_party/build/portaudio/Makefile +++ /dev/null @@ -1,68 +0,0 @@ -# @configure_input@ -include ../../../build.mak -include $(PJDIR)/build/common.mak - -export LIBDIR := ../../lib - -RULES_MAK := $(PJDIR)/build/rules.mak - -export PORTAUDIO_LIB:=../../lib/libportaudio-$(TARGET_NAME)$(LIBEXT) - -PORTAUDIO_OBJS += pa_allocation.o \ - pa_converters.o \ - pa_cpuload.o \ - pa_dither.o \ - pa_debugprint.o \ - pa_front.o \ - pa_process.o \ - pa_skeleton.o \ - pa_stream.o \ - pa_trace.o - - -############################################################################### -# Gather all flags. -# -export _CFLAGS += $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \ - $(CFLAGS) $(CC_INC). $(CC_INC)src -export _CXXFLAGS+= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ - $(HOST_CXXFLAGS) $(CXXFLAGS) -export _LDFLAGS += $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \ - $(LDFLAGS) - -############################################################################### -# Defines for building PORTAUDIO library -# -export PORTAUDIO_SRCDIR = src -export PORTAUDIO_OBJS += -export PORTAUDIO_CFLAGS += $(_CFLAGS) - -export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT -############################################################################### -# Main entry -# -# $(TARGET) is defined in os-$(OS_NAME).mak file in current directory. -# -TARGETS := libportaudio - -all: $(TARGETS) - -dep: depend -distclean: realclean - -.PHONY: dep depend libportaudio clean realclean distclean - -libportaudio: - $(MAKE) -f $(RULES_MAK) APP=PORTAUDIO app=libportaudio $(PORTAUDIO_LIB) - -clean: - $(MAKE) -f $(RULES_MAK) APP=PORTAUDIO app=libportaudio $@ - -realclean: - $(subst @@,$(subst /,$(HOST_PSEP),.libportaudio-$(TARGET_NAME).depend),$(HOST_RMR)) - - $(MAKE) -f $(RULES_MAK) APP=PORTAUDIO app=libportaudio $@ - -depend: - $(MAKE) -f $(RULES_MAK) APP=PORTAUDIO app=libportaudio $@ - diff --git a/res/pjproject/third_party/build/portaudio/libportaudio.vcp b/res/pjproject/third_party/build/portaudio/libportaudio.vcp deleted file mode 100644 index 2b021b5b9b..0000000000 --- a/res/pjproject/third_party/build/portaudio/libportaudio.vcp +++ /dev/null @@ -1,3985 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="libportaudio" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE x86) Static Library" 0x8304 -# TARGTYPE "Win32 (WCE MIPS16) Static Library" 0x8904 -# TARGTYPE "Win32 (WCE SH4) Static Library" 0x8604 -# TARGTYPE "Win32 (WCE MIPSII) Static Library" 0xa104 -# TARGTYPE "Win32 (WCE MIPSIV_FP) Static Library" 0x9204 -# TARGTYPE "Win32 (WCE SH3) Static Library" 0x8104 -# TARGTYPE "Win32 (WCE ARMV4) Static Library" 0xa304 -# TARGTYPE "Win32 (WCE ARMV4I) Static Library" 0xa504 -# TARGTYPE "Win32 (WCE emulator) Static Library" 0xa604 -# TARGTYPE "Win32 (WCE MIPSII_FP) Static Library" 0xa204 -# TARGTYPE "Win32 (WCE ARMV4T) Static Library" 0xa404 -# TARGTYPE "Win32 (WCE MIPSIV) Static Library" 0x9604 - -CFG=libportaudio - Win32 (WCE MIPSII_FP) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "libportaudio.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "libportaudio.vcn" CFG="libportaudio - Win32 (WCE MIPSII_FP) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "libportaudio - Win32 (WCE MIPSII_FP) Release" (based on "Win32 (WCE MIPSII_FP) Static Library") -!MESSAGE "libportaudio - Win32 (WCE MIPSII_FP) Debug" (based on "Win32 (WCE MIPSII_FP) Static Library") -!MESSAGE "libportaudio - Win32 (WCE MIPSII) Release" (based on "Win32 (WCE MIPSII) Static Library") -!MESSAGE "libportaudio - Win32 (WCE MIPSII) Debug" (based on "Win32 (WCE MIPSII) Static Library") -!MESSAGE "libportaudio - Win32 (WCE SH4) Release" (based on "Win32 (WCE SH4) Static Library") -!MESSAGE "libportaudio - Win32 (WCE SH4) Debug" (based on "Win32 (WCE SH4) Static Library") -!MESSAGE "libportaudio - Win32 (WCE SH3) Release" (based on "Win32 (WCE SH3) Static Library") -!MESSAGE "libportaudio - Win32 (WCE SH3) Debug" (based on "Win32 (WCE SH3) Static Library") -!MESSAGE "libportaudio - Win32 (WCE MIPSIV) Release" (based on "Win32 (WCE MIPSIV) Static Library") -!MESSAGE "libportaudio - Win32 (WCE MIPSIV) Debug" (based on "Win32 (WCE MIPSIV) Static Library") -!MESSAGE "libportaudio - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "libportaudio - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "libportaudio - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "libportaudio - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "libportaudio - Win32 (WCE MIPSIV_FP) Release" (based on "Win32 (WCE MIPSIV_FP) Static Library") -!MESSAGE "libportaudio - Win32 (WCE MIPSIV_FP) Debug" (based on "Win32 (WCE MIPSIV_FP) Static Library") -!MESSAGE "libportaudio - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "libportaudio - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "libportaudio - Win32 (WCE MIPS16) Release" (based on "Win32 (WCE MIPS16) Static Library") -!MESSAGE "libportaudio - Win32 (WCE MIPS16) Debug" (based on "Win32 (WCE MIPS16) Static Library") -!MESSAGE "libportaudio - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "libportaudio - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "libportaudio - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Static Library") -!MESSAGE "libportaudio - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSII_FPRel" -# PROP BASE Intermediate_Dir "output\MIPSII_FPRel" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSII_FPRel" -# PROP Intermediate_Dir "output\MIPSII_FPRel" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D "NDEBUG" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSII_FPDbg" -# PROP BASE Intermediate_Dir "output\MIPSII_FPDbg" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSII_FPDbg" -# PROP Intermediate_Dir "output\MIPSII_FPDbg" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIIRel" -# PROP BASE Intermediate_Dir "output\MIPSIIRel" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIIRel" -# PROP Intermediate_Dir "output\MIPSIIRel" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "NDEBUG" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIIDbg" -# PROP BASE Intermediate_Dir "output\MIPSIIDbg" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIIDbg" -# PROP Intermediate_Dir "output\MIPSIIDbg" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\SH4Rel" -# PROP BASE Intermediate_Dir "output\SH4Rel" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\SH4Rel" -# PROP Intermediate_Dir "output\SH4Rel" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /Qsh4 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "SHx" /D "SH4" /D "_SH4_" /D "NDEBUG" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Qsh4 /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\SH4Dbg" -# PROP BASE Intermediate_Dir "output\SH4Dbg" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\SH4Dbg" -# PROP Intermediate_Dir "output\SH4Dbg" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Qsh4 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "DEBUG" /D "SHx" /D "SH4" /D "_SH4_" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Qsh4 /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\SH3Rel" -# PROP BASE Intermediate_Dir "output\SH3Rel" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\SH3Rel" -# PROP Intermediate_Dir "output\SH3Rel" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "SHx" /D "SH3" /D "_SH3_" /D "NDEBUG" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\SH3Dbg" -# PROP BASE Intermediate_Dir "output\SH3Dbg" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\SH3Dbg" -# PROP Intermediate_Dir "output\SH3Dbg" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIVRel" -# PROP BASE Intermediate_Dir "output\MIPSIVRel" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIVRel" -# PROP Intermediate_Dir "output\MIPSIVRel" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "NDEBUG" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIVDbg" -# PROP BASE Intermediate_Dir "output\MIPSIVDbg" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIVDbg" -# PROP Intermediate_Dir "output\MIPSIVDbg" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\emulatorRel" -# PROP BASE Intermediate_Dir "output\emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\emulatorRel" -# PROP Intermediate_Dir "output\emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "_i386_" /D "_X86_" /D "x86" /D "NDEBUG" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\emulatorDbg" -# PROP BASE Intermediate_Dir "output\emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\emulatorDbg" -# PROP Intermediate_Dir "output\emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4IRel" -# PROP BASE Intermediate_Dir "output\ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4IRel" -# PROP Intermediate_Dir "output\ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "ARM" /D "_ARM_" /D "ARMV4I" /D "NDEBUG" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4IDbg" -# PROP BASE Intermediate_Dir "output\ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4IDbg" -# PROP Intermediate_Dir "output\ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4I" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIV_FPRel" -# PROP BASE Intermediate_Dir "output\MIPSIV_FPRel" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIV_FPRel" -# PROP Intermediate_Dir "output\MIPSIV_FPRel" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D "NDEBUG" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIV_FPDbg" -# PROP BASE Intermediate_Dir "output\MIPSIV_FPDbg" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIV_FPDbg" -# PROP Intermediate_Dir "output\MIPSIV_FPDbg" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4Rel" -# PROP BASE Intermediate_Dir "output\ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4Rel" -# PROP Intermediate_Dir "output\ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4Dbg" -# PROP BASE Intermediate_Dir "output\ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4Dbg" -# PROP Intermediate_Dir "output\ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPS16Rel" -# PROP BASE Intermediate_Dir "output\MIPS16Rel" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPS16Rel" -# PROP Intermediate_Dir "output\MIPS16Rel" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips16 /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPS16Dbg" -# PROP BASE Intermediate_Dir "output\MIPS16Dbg" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPS16Dbg" -# PROP Intermediate_Dir "output\MIPS16Dbg" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips16 /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4TRel" -# PROP BASE Intermediate_Dir "output\ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4TRel" -# PROP Intermediate_Dir "output\ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "ARM" /D "_ARM_" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "NDEBUG" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4TDbg" -# PROP BASE Intermediate_Dir "output\ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4TDbg" -# PROP Intermediate_Dir "output\ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\X86Rel" -# PROP BASE Intermediate_Dir "output\X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\X86Rel" -# PROP Intermediate_Dir "output\X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "_i386_" /D "_X86_" /D "x86" /D "NDEBUG" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\X86Dbg" -# PROP BASE Intermediate_Dir "output\X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\X86Dbg" -# PROP Intermediate_Dir "output\X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "..\..\portaudio\src\common" /I "..\..\portaudio\include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D "WIN32_PLATFORM_PSPC" /D "PA_NO_DS" /D "PA_NO_ASIO" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ENDIF - -# Begin Target - -# Name "libportaudio - Win32 (WCE MIPSII_FP) Release" -# Name "libportaudio - Win32 (WCE MIPSII_FP) Debug" -# Name "libportaudio - Win32 (WCE MIPSII) Release" -# Name "libportaudio - Win32 (WCE MIPSII) Debug" -# Name "libportaudio - Win32 (WCE SH4) Release" -# Name "libportaudio - Win32 (WCE SH4) Debug" -# Name "libportaudio - Win32 (WCE SH3) Release" -# Name "libportaudio - Win32 (WCE SH3) Debug" -# Name "libportaudio - Win32 (WCE MIPSIV) Release" -# Name "libportaudio - Win32 (WCE MIPSIV) Debug" -# Name "libportaudio - Win32 (WCE emulator) Release" -# Name "libportaudio - Win32 (WCE emulator) Debug" -# Name "libportaudio - Win32 (WCE ARMV4I) Release" -# Name "libportaudio - Win32 (WCE ARMV4I) Debug" -# Name "libportaudio - Win32 (WCE MIPSIV_FP) Release" -# Name "libportaudio - Win32 (WCE MIPSIV_FP) Debug" -# Name "libportaudio - Win32 (WCE ARMV4) Release" -# Name "libportaudio - Win32 (WCE ARMV4) Debug" -# Name "libportaudio - Win32 (WCE MIPS16) Release" -# Name "libportaudio - Win32 (WCE MIPS16) Debug" -# Name "libportaudio - Win32 (WCE ARMV4T) Release" -# Name "libportaudio - Win32 (WCE ARMV4T) Debug" -# Name "libportaudio - Win32 (WCE x86) Release" -# Name "libportaudio - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Group "common" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\..\portaudio\src\common\pa_allocation.c - -!IF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Release" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Debug" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Release" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Debug" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Release" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Debug" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Release" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Release" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Debug" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Release" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Release" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Debug" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Release" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Debug" - -DEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_AL=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\portaudio\src\common\pa_converters.c - -!IF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - -NODEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Release" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - -NODEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Debug" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - -NODEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Release" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - -NODEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Debug" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - -NODEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Release" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - -NODEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Debug" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - -NODEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Release" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - -NODEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - -NODEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Release" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - -NODEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Debug" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - -NODEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - -NODEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - -NODEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - -NODEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Release" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Release" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - -NODEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Debug" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - -NODEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - -NODEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - -NODEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Release" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - -NODEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Debug" - -DEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - -NODEP_CPP_PA_CO=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\portaudio\src\common\pa_cpuload.c - -!IF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Release" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Debug" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Release" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Debug" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Release" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Debug" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Release" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Release" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Debug" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Release" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Release" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Debug" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Release" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Debug" - -DEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_CP=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\portaudio\src\common\pa_debugprint.c - -!IF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Release" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Debug" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Release" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Debug" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Release" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Debug" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Release" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Release" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Debug" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Release" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Release" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Debug" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Release" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Debug" - -DEP_CPP_PA_DE=\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\portaudio\src\common\pa_dither.c - -!IF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Release" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Debug" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Release" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Debug" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Release" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Debug" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Release" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Release" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Debug" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Release" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Release" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Debug" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Release" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Debug" - -DEP_CPP_PA_DI=\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\portaudio\src\common\pa_front.c - -!IF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Release" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Debug" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Release" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Debug" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Release" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Debug" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Release" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Release" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Debug" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Release" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Release" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Debug" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Release" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Debug" - -DEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\pa_endianness.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_types.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_FR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\portaudio\src\common\pa_process.c - -!IF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Release" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Debug" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Release" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Debug" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Release" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Debug" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Release" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Release" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Debug" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Release" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Release" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Debug" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Release" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Debug" - -DEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_PR=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\portaudio\src\common\pa_skeleton.c - -!IF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Release" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Debug" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Release" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Debug" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Release" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Debug" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Release" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Release" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Debug" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Release" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Release" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Debug" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Release" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Debug" - -DEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_SK=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\portaudio\src\common\pa_stream.c - -!IF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\pa_stream.h"\ - -NODEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Release" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\pa_stream.h"\ - -NODEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Debug" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\pa_stream.h"\ - -NODEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Release" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\pa_stream.h"\ - -NODEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Debug" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\pa_stream.h"\ - -NODEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Release" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\pa_stream.h"\ - -NODEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Debug" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\pa_stream.h"\ - -NODEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Release" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\pa_stream.h"\ - -NODEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\pa_stream.h"\ - -NODEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Release" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\pa_stream.h"\ - -NODEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Debug" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\pa_stream.h"\ - -NODEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\pa_stream.h"\ - -NODEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\pa_stream.h"\ - -NODEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\pa_stream.h"\ - -NODEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Release" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Release" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\pa_stream.h"\ - -NODEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Debug" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\pa_stream.h"\ - -NODEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\pa_stream.h"\ - -NODEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\pa_stream.h"\ - -NODEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Release" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\pa_stream.h"\ - -NODEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Debug" - -DEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\pa_stream.h"\ - -NODEP_CPP_PA_ST=\ - "..\..\portaudio\src\common\portaudio.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "hostapi" - -# PROP Default_Filter "" -# Begin Group "wmme" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\..\portaudio\src\hostapi\wmme\pa_win_wmme.c - -!IF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Release" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Debug" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Release" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Debug" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Release" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Debug" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Release" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Release" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Debug" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Release" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_debugprint.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - -NODEP_CPP_PA_WI=\ - "..\..\portaudio\src\hostapi\wmme\pa_win_wdmks_utils.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Release" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Debug" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Release" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Debug" - -DEP_CPP_PA_WI=\ - "..\..\portaudio\include\pa_win_wmme.h"\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_allocation.h"\ - "..\..\portaudio\src\common\pa_converters.h"\ - "..\..\portaudio\src\common\pa_cpuload.h"\ - "..\..\portaudio\src\common\pa_dither.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - "..\..\portaudio\src\common\pa_process.h"\ - "..\..\portaudio\src\common\pa_stream.h"\ - "..\..\portaudio\src\common\pa_trace.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ENDIF - -# End Source File -# End Group -# End Group -# Begin Group "os" - -# PROP Default_Filter "" -# Begin Group "win" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\..\portaudio\src\os\win\pa_win_hostapis.c - -!IF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Release" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Debug" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Release" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Debug" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Release" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Debug" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Release" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Release" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Debug" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Release" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Release" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Debug" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Release" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Debug" - -DEP_CPP_PA_WIN=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_hostapi.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\portaudio\src\os\win\pa_win_util.c - -!IF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Release" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Debug" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Release" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Debug" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Release" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Debug" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Release" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Release" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Debug" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Release" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Release" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Debug" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Release" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Debug" - -DEP_CPP_PA_WIN_=\ - "..\..\portaudio\include\portaudio.h"\ - "..\..\portaudio\src\common\pa_util.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\portaudio\src\os\win\pa_win_waveformat.c - -!IF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Release" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSII) Debug" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Release" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH4) Debug" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Release" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE SH3) Debug" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Release" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Release" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE emulator) Debug" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Release" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Release" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE MIPS16) Debug" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Release" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ELSEIF "$(CFG)" == "libportaudio - Win32 (WCE x86) Debug" - -DEP_CPP_PA_WIN_W=\ - "..\..\portaudio\include\pa_win_waveformat.h"\ - "..\..\portaudio\include\portaudio.h"\ - - -!ENDIF - -# End Source File -# End Group -# End Group -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\portaudio\include\pa_win_wmme.h -# End Source File -# Begin Source File - -SOURCE=..\..\portaudio\include\portaudio.h -# End Source File -# End Group -# End Target -# End Project diff --git a/res/pjproject/third_party/build/portaudio/libportaudio.vcproj b/res/pjproject/third_party/build/portaudio/libportaudio.vcproj deleted file mode 100644 index ea061e0ad5..0000000000 --- a/res/pjproject/third_party/build/portaudio/libportaudio.vcproj +++ /dev/null @@ -1,4554 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/third_party/build/portaudio/os-auto.mak.in b/res/pjproject/third_party/build/portaudio/os-auto.mak.in deleted file mode 100644 index 99128f7272..0000000000 --- a/res/pjproject/third_party/build/portaudio/os-auto.mak.in +++ /dev/null @@ -1,79 +0,0 @@ -# @configure_input@ - -# Define the desired sound device backend -# Valid values are: -# - pa_unix: PortAudio on Unix (OSS or ALSA) -# - pa_darwinos: PortAudio on MacOSX (CoreAudio) -# - pa_old_darwinos: PortAudio on MacOSX (old CoreAudio, for OSX 10.2) -# - pa_win32: PortAudio on Win32 (WMME) -# -# There are other values below, but these are handled by PJMEDIA's Makefile -# - ds: Win32 DirectSound (dsound.c) -# - null: Null sound device (nullsound.c) -AC_PJMEDIA_SND=@ac_pjmedia_snd@ - -# For Unix, specify if ALSA should be supported -AC_PA_USE_ALSA=@ac_pa_use_alsa@ - -# For Unix, specify if OSS should be supported -AC_PA_USE_OSS=@ac_pa_use_oss@ - -# Additional PortAudio CFLAGS are in @ac_pa_cflags@ - - -# -# PortAudio on Unix -# -ifeq ($(AC_PJMEDIA_SND),pa_unix) -# Host APIs and utils -export PORTAUDIO_OBJS += pa_unix_hostapis.o pa_unix_util.o - -# Include ALSA? -ifeq ($(AC_PA_USE_ALSA),1) -export CFLAGS += -DPA_USE_ALSA=1 -export PORTAUDIO_OBJS += pa_linux_alsa.o -endif - -export CFLAGS += @ac_pa_cflags@ -endif - -# Include OSS? -ifeq ($(AC_PA_USE_OSS),1) -export CFLAGS += -DPA_USE_OSS=1 -export PORTAUDIO_OBJS += pa_unix_oss.o -endif - -# -# PortAudio on MacOS X (using current PortAudio) -# -ifeq ($(AC_PJMEDIA_SND),pa_darwinos) -export PORTAUDIO_OBJS +=pa_mac_hostapis.o \ - pa_unix_util.o \ - pa_mac_core.o \ - pa_mac_core_blocking.o \ - pa_mac_core_utilities.o \ - pa_ringbuffer.o -export CFLAGS += -DPA_USE_COREAUDIO=1 -export CFLAGS += @ac_pa_cflags@ -endif - -# -# PortAudio on MacOS X (using old PortAudio, for MacOS X 10.2.x) -# -ifeq ($(AC_PJMEDIA_SND),pa_old_darwinos) -export PORTAUDIO_OBJS +=pa_mac_hostapis.o \ - pa_unix_util.o \ - pa_mac_core_old.o -export CFLAGS += -DPA_USE_COREAUDIO=1 -export CFLAGS += @ac_pa_cflags@ -endif - -# -# -# PortAudio on Win32 (WMME) -# -ifeq ($(AC_PJMEDIA_SND),pa_win32) -export PORTAUDIO_OBJS += pa_win_hostapis.o pa_win_util.o \ - pa_win_wmme.o pa_win_waveformat.o -export CFLAGS += -DPA_NO_ASIO -DPA_NO_DS -endif diff --git a/res/pjproject/third_party/build/portaudio/os-linux.mak b/res/pjproject/third_party/build/portaudio/os-linux.mak deleted file mode 100644 index 508948d390..0000000000 --- a/res/pjproject/third_party/build/portaudio/os-linux.mak +++ /dev/null @@ -1,34 +0,0 @@ -# @configure_input@ - -# Define the desired sound device backend -# Valid values are: -# - pa_unix: PortAudio on Unix (OSS or ALSA) -# - pa_darwinos: PortAudio on MacOSX (CoreAudio) -# - pa_old_darwinos: PortAudio on MacOSX (old CoreAudio, for OSX 10.2) -# - pa_win32: PortAudio on Win32 (WMME) -# -# There are other values below, but these are handled by PJMEDIA's Makefile -# - ds: Win32 DirectSound (dsound.c) -# - null: Null sound device (nullsound.c) -AC_PJMEDIA_SND=pa_unix - -# For Unix, specify if ALSA should be supported -AC_PA_USE_ALSA=0 - -# -# PortAudio on Unix -# -ifeq ($(AC_PJMEDIA_SND),pa_unix) -# Host APIs and utils -export PORTAUDIO_OBJS += pa_unix_hostapis.o pa_unix_util.o - -# Include ALSA? -ifeq ($(AC_PA_USE_ALSA),1) -export CFLAGS += -DPA_USE_ALSA=1 -export PORTAUDIO_OBJS += pa_linux_alsa.o -endif - -export CFLAGS += -DPA_USE_OSS=1 -DHAVE_SYS_SOUNDCARD_H -export PORTAUDIO_OBJS += pa_unix_oss.o -endif - diff --git a/res/pjproject/third_party/build/portaudio/src/pa_allocation.c b/res/pjproject/third_party/build/portaudio/src/pa_allocation.c deleted file mode 100644 index 3c5513671c..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_allocation.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_allocation.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_allocation.h b/res/pjproject/third_party/build/portaudio/src/pa_allocation.h deleted file mode 100644 index 1589980f80..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_allocation.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_allocation.h" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_converters.c b/res/pjproject/third_party/build/portaudio/src/pa_converters.c deleted file mode 100644 index 1ffea59822..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_converters.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_converters.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_converters.h b/res/pjproject/third_party/build/portaudio/src/pa_converters.h deleted file mode 100644 index 59b3eefd7f..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_converters.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_converters.h" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_cpuload.c b/res/pjproject/third_party/build/portaudio/src/pa_cpuload.c deleted file mode 100644 index 4332202b51..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_cpuload.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_cpuload.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_cpuload.h b/res/pjproject/third_party/build/portaudio/src/pa_cpuload.h deleted file mode 100644 index 5100afff45..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_cpuload.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_cpuload.h" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_debugprint.c b/res/pjproject/third_party/build/portaudio/src/pa_debugprint.c deleted file mode 100644 index 299017c429..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_debugprint.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_debugprint.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_debugprint.h b/res/pjproject/third_party/build/portaudio/src/pa_debugprint.h deleted file mode 100644 index 1e5f317567..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_debugprint.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_debugprint.h" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_dither.c b/res/pjproject/third_party/build/portaudio/src/pa_dither.c deleted file mode 100644 index a7ecb2ab15..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_dither.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_dither.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_dither.h b/res/pjproject/third_party/build/portaudio/src/pa_dither.h deleted file mode 100644 index c8f90986c1..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_dither.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_dither.h" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_endianness.h b/res/pjproject/third_party/build/portaudio/src/pa_endianness.h deleted file mode 100644 index 60fcfd8172..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_endianness.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_endianness.h" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_front.c b/res/pjproject/third_party/build/portaudio/src/pa_front.c deleted file mode 100644 index 2165c7fb8b..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_front.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_front.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_hostapi.h b/res/pjproject/third_party/build/portaudio/src/pa_hostapi.h deleted file mode 100644 index de2c812ec4..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_hostapi.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_hostapi.h" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_linux_alsa.c b/res/pjproject/third_party/build/portaudio/src/pa_linux_alsa.c deleted file mode 100644 index a778f40d24..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_linux_alsa.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_linux_alsa.h b/res/pjproject/third_party/build/portaudio/src/pa_linux_alsa.h deleted file mode 100644 index a3e0ae7cd5..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_linux_alsa.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/include/pa_linux_alsa.h" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_mac_core.c b/res/pjproject/third_party/build/portaudio/src/pa_mac_core.c deleted file mode 100644 index 5b1609c62b..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_mac_core.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_mac_core.h b/res/pjproject/third_party/build/portaudio/src/pa_mac_core.h deleted file mode 100644 index d50ac834d8..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_mac_core.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/include/pa_mac_core.h" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_mac_core_blocking.c b/res/pjproject/third_party/build/portaudio/src/pa_mac_core_blocking.c deleted file mode 100644 index 28f79ddbc7..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_mac_core_blocking.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/hostapi/coreaudio/pa_mac_core_blocking.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_mac_core_blocking.h b/res/pjproject/third_party/build/portaudio/src/pa_mac_core_blocking.h deleted file mode 100644 index 6b83fd4034..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_mac_core_blocking.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/hostapi/coreaudio/pa_mac_core_blocking.h" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_mac_core_internal.h b/res/pjproject/third_party/build/portaudio/src/pa_mac_core_internal.h deleted file mode 100644 index 11e995b9e9..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_mac_core_internal.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/hostapi/coreaudio/pa_mac_core_internal.h" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_mac_core_old.c b/res/pjproject/third_party/build/portaudio/src/pa_mac_core_old.c deleted file mode 100644 index edbc42f992..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_mac_core_old.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/hostapi/coreaudio/pa_mac_core_old.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_mac_core_utilities.c b/res/pjproject/third_party/build/portaudio/src/pa_mac_core_utilities.c deleted file mode 100644 index 9e8c1bd14d..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_mac_core_utilities.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/hostapi/coreaudio/pa_mac_core_utilities.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_mac_core_utilities.h b/res/pjproject/third_party/build/portaudio/src/pa_mac_core_utilities.h deleted file mode 100644 index d42d9bb0c0..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_mac_core_utilities.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/hostapi/coreaudio/pa_mac_core_utilities.h" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_mac_hostapis.c b/res/pjproject/third_party/build/portaudio/src/pa_mac_hostapis.c deleted file mode 100644 index 5c44c0a151..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_mac_hostapis.c +++ /dev/null @@ -1,2 +0,0 @@ -#include "../../../portaudio/src/os/unix/pa_unix_hostapis.c" - diff --git a/res/pjproject/third_party/build/portaudio/src/pa_process.c b/res/pjproject/third_party/build/portaudio/src/pa_process.c deleted file mode 100644 index 5582296394..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_process.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_process.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_process.h b/res/pjproject/third_party/build/portaudio/src/pa_process.h deleted file mode 100644 index da81b6409e..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_process.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_process.h" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_ringbuffer.c b/res/pjproject/third_party/build/portaudio/src/pa_ringbuffer.c deleted file mode 100644 index 2c7b0f3d01..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_ringbuffer.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_ringbuffer.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_ringbuffer.h b/res/pjproject/third_party/build/portaudio/src/pa_ringbuffer.h deleted file mode 100644 index 9ddbb4f868..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_ringbuffer.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_ringbuffer.h" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_skeleton.c b/res/pjproject/third_party/build/portaudio/src/pa_skeleton.c deleted file mode 100644 index 805d140b8b..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_skeleton.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_skeleton.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_stream.c b/res/pjproject/third_party/build/portaudio/src/pa_stream.c deleted file mode 100644 index a64033a95c..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_stream.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_stream.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_stream.h b/res/pjproject/third_party/build/portaudio/src/pa_stream.h deleted file mode 100644 index c78f48d63d..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_stream.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_stream.h" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_trace.c b/res/pjproject/third_party/build/portaudio/src/pa_trace.c deleted file mode 100644 index da843523f0..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_trace.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_trace.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_trace.h b/res/pjproject/third_party/build/portaudio/src/pa_trace.h deleted file mode 100644 index 8ac24cfa01..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_trace.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_trace.h" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_types.h b/res/pjproject/third_party/build/portaudio/src/pa_types.h deleted file mode 100644 index 855ca801f0..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_types.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_types.h" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_unix_hostapis.c b/res/pjproject/third_party/build/portaudio/src/pa_unix_hostapis.c deleted file mode 100644 index dde8ddd4a7..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_unix_hostapis.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/os/unix/pa_unix_hostapis.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_unix_oss.c b/res/pjproject/third_party/build/portaudio/src/pa_unix_oss.c deleted file mode 100644 index 255ac44860..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_unix_oss.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/hostapi/oss/pa_unix_oss.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_unix_util.c b/res/pjproject/third_party/build/portaudio/src/pa_unix_util.c deleted file mode 100644 index 68c24fd248..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_unix_util.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/os/unix/pa_unix_util.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_unix_util.h b/res/pjproject/third_party/build/portaudio/src/pa_unix_util.h deleted file mode 100644 index 2f7dd1610c..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_unix_util.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/os/unix/pa_unix_util.h" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_util.h b/res/pjproject/third_party/build/portaudio/src/pa_util.h deleted file mode 100644 index 31637ce80f..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_util.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/common/pa_util.h" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_win_hostapis.c b/res/pjproject/third_party/build/portaudio/src/pa_win_hostapis.c deleted file mode 100644 index 09c7645347..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_win_hostapis.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../portaudio/src/os/win/pa_win_hostapis.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_win_util.c b/res/pjproject/third_party/build/portaudio/src/pa_win_util.c deleted file mode 100644 index d2ea7eb4dc..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_win_util.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/os/win/pa_win_util.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_win_waveformat.c b/res/pjproject/third_party/build/portaudio/src/pa_win_waveformat.c deleted file mode 100644 index 7658dc3bde..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_win_waveformat.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../portaudio/src/os/win/pa_win_waveformat.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_win_waveformat.h b/res/pjproject/third_party/build/portaudio/src/pa_win_waveformat.h deleted file mode 100644 index 2b3e94ed01..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_win_waveformat.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/include/pa_win_waveformat.h" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_win_wmme.c b/res/pjproject/third_party/build/portaudio/src/pa_win_wmme.c deleted file mode 100644 index a09b379061..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_win_wmme.c +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/src/hostapi/wmme/pa_win_wmme.c" diff --git a/res/pjproject/third_party/build/portaudio/src/pa_win_wmme.h b/res/pjproject/third_party/build/portaudio/src/pa_win_wmme.h deleted file mode 100644 index 697dc6a95b..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/pa_win_wmme.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/include/pa_win_wmme.h" diff --git a/res/pjproject/third_party/build/portaudio/src/portaudio.h b/res/pjproject/third_party/build/portaudio/src/portaudio.h deleted file mode 100644 index 7ba2bcfee7..0000000000 --- a/res/pjproject/third_party/build/portaudio/src/portaudio.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../../portaudio/include/portaudio.h" diff --git a/res/pjproject/third_party/build/resample/Makefile b/res/pjproject/third_party/build/resample/Makefile deleted file mode 100644 index 2deb8732d8..0000000000 --- a/res/pjproject/third_party/build/resample/Makefile +++ /dev/null @@ -1,77 +0,0 @@ -include ../../../build.mak -include ../../../build/common.mak - -export LIBDIR := ../../lib - -RULES_MAK := $(PJDIR)/build/rules.mak - - -############################################################################### -# Gather all flags. -# -export _CFLAGS := $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \ - $(CFLAGS) $(CC_INC). $(CC_INC)../../resample/include \ - $(CC_INC)../../../pjlib/include -export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ - $(HOST_CXXFLAGS) $(CXXFLAGS) -export _LDFLAGS := $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \ - $(LDFLAGS) - -export RESAMPLE_SRCDIR = ../../resample/src -export RESAMPLE_OBJS = resamplesubs.o -export RESAMPLE_CFLAGS = $(_CFLAGS) - -SHLIB_NAME := libresample.$(SHLIB_SUFFIX) -export RESAMPLE_SHLIB := ../../lib/$(SHLIB_NAME).$(PJ_VERSION_MAJOR) -export RESAMPLE_LIB := ../../lib/libresample-$(TARGET_NAME)$(LIBEXT) - -export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT -############################################################################### -# Main entry -# -# $(TARGET) is defined in os-$(OS_NAME).mak file in current directory. -# -ifeq ($(PJ_RESAMPLE_DLL),1) -TARGETS := ../../lib/$(SHLIB_NAME) -ifeq ($(SHLIB_SUFFIX),so) -SHLIB_OPT := -Wl,-soname,$(SHLIB_NAME).$(PJ_VERSION_MAJOR) -else -SHLIB_OPT := -endif -export RESAMPLE_CFLAGS := -fPIC $(RESAMPLE_CFLAGS) -export RESAMPLE_LDFLAGS := -shared $(SHLIB_OPT) $(RESAMPLE_LDFLAGS) -else -TARGETS := libresample -endif - -all: $(TARGETS) - -doc: - cd .. && doxygen docs/doxygen.cfg - -dep: depend -distclean: realclean - -.PHONY: dep depend libresample clean realclean distclean - -libresample: - $(MAKE) -f $(RULES_MAK) APP=RESAMPLE app=libresample $(RESAMPLE_LIB) - -../../lib/$(SHLIB_NAME): $(RESAMPLE_SHLIB) - ln -s $(SHLIB_NAME).$(PJ_VERSION_MAJOR) $@ - -$(RESAMPLE_SHLIB): - $(MAKE) -f $(RULES_MAK) APP=RESAMPLE app=libresample $(RESAMPLE_SHLIB) - -clean print_lib: - $(MAKE) -f $(RULES_MAK) APP=RESAMPLE app=libresample $@ - -realclean: - $(subst @@,$(subst /,$(HOST_PSEP),../../lib/$(SHLIB_NAME)),$(HOST_RMR)) - $(subst @@,$(subst /,$(HOST_PSEP),$(RESAMPLE_SHLIB)),$(HOST_RMR)) - $(MAKE) -f $(RULES_MAK) APP=RESAMPLE app=libresample $@ - -depend: - $(MAKE) -f $(RULES_MAK) APP=RESAMPLE app=libresample $@ - - diff --git a/res/pjproject/third_party/build/resample/config.h b/res/pjproject/third_party/build/resample/config.h deleted file mode 100644 index 634fb6ad6c..0000000000 --- a/res/pjproject/third_party/build/resample/config.h +++ /dev/null @@ -1,7 +0,0 @@ -#ifndef RESAMPLE_HAS_SMALL_FILTER -# define RESAMPLE_HAS_SMALL_FILTER 1 -#endif - -#ifndef RESAMPLE_HAS_LARGE_FILTER -# define RESAMPLE_HAS_LARGE_FILTER 1 -#endif diff --git a/res/pjproject/third_party/build/resample/libresample.vcp b/res/pjproject/third_party/build/resample/libresample.vcp deleted file mode 100644 index 5bd9939d2d..0000000000 --- a/res/pjproject/third_party/build/resample/libresample.vcp +++ /dev/null @@ -1,1015 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="libresample" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE x86) Static Library" 0x8304 -# TARGTYPE "Win32 (WCE MIPS16) Static Library" 0x8904 -# TARGTYPE "Win32 (WCE SH4) Static Library" 0x8604 -# TARGTYPE "Win32 (WCE MIPSII) Static Library" 0xa104 -# TARGTYPE "Win32 (WCE MIPSIV_FP) Static Library" 0x9204 -# TARGTYPE "Win32 (WCE SH3) Static Library" 0x8104 -# TARGTYPE "Win32 (WCE ARMV4) Static Library" 0xa304 -# TARGTYPE "Win32 (WCE ARMV4I) Static Library" 0xa504 -# TARGTYPE "Win32 (WCE emulator) Static Library" 0xa604 -# TARGTYPE "Win32 (WCE MIPSII_FP) Static Library" 0xa204 -# TARGTYPE "Win32 (WCE ARMV4T) Static Library" 0xa404 -# TARGTYPE "Win32 (WCE MIPSIV) Static Library" 0x9604 - -CFG=libresample - Win32 (WCE MIPSII_FP) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "libresample.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "libresample.vcn" CFG="libresample - Win32 (WCE MIPSII_FP) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "libresample - Win32 (WCE MIPSII_FP) Release" (based on "Win32 (WCE MIPSII_FP) Static Library") -!MESSAGE "libresample - Win32 (WCE MIPSII_FP) Debug" (based on "Win32 (WCE MIPSII_FP) Static Library") -!MESSAGE "libresample - Win32 (WCE MIPSII) Release" (based on "Win32 (WCE MIPSII) Static Library") -!MESSAGE "libresample - Win32 (WCE MIPSII) Debug" (based on "Win32 (WCE MIPSII) Static Library") -!MESSAGE "libresample - Win32 (WCE SH4) Release" (based on "Win32 (WCE SH4) Static Library") -!MESSAGE "libresample - Win32 (WCE SH4) Debug" (based on "Win32 (WCE SH4) Static Library") -!MESSAGE "libresample - Win32 (WCE SH3) Release" (based on "Win32 (WCE SH3) Static Library") -!MESSAGE "libresample - Win32 (WCE SH3) Debug" (based on "Win32 (WCE SH3) Static Library") -!MESSAGE "libresample - Win32 (WCE MIPSIV) Release" (based on "Win32 (WCE MIPSIV) Static Library") -!MESSAGE "libresample - Win32 (WCE MIPSIV) Debug" (based on "Win32 (WCE MIPSIV) Static Library") -!MESSAGE "libresample - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "libresample - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "libresample - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "libresample - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "libresample - Win32 (WCE MIPSIV_FP) Release" (based on "Win32 (WCE MIPSIV_FP) Static Library") -!MESSAGE "libresample - Win32 (WCE MIPSIV_FP) Debug" (based on "Win32 (WCE MIPSIV_FP) Static Library") -!MESSAGE "libresample - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "libresample - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "libresample - Win32 (WCE MIPS16) Release" (based on "Win32 (WCE MIPS16) Static Library") -!MESSAGE "libresample - Win32 (WCE MIPS16) Debug" (based on "Win32 (WCE MIPS16) Static Library") -!MESSAGE "libresample - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "libresample - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "libresample - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Static Library") -!MESSAGE "libresample - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "libresample - Win32 (WCE MIPSII_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSII_FPRel" -# PROP BASE Intermediate_Dir "output\MIPSII_FPRel" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSII_FPRel" -# PROP Intermediate_Dir "output\MIPSII_FPRel" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../resample/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE MIPSII_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSII_FPDbg" -# PROP BASE Intermediate_Dir "output\MIPSII_FPDbg" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSII_FPDbg" -# PROP Intermediate_Dir "output\MIPSII_FPDbg" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../resample/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE MIPSII) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIIRel" -# PROP BASE Intermediate_Dir "output\MIPSIIRel" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIIRel" -# PROP Intermediate_Dir "output\MIPSIIRel" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../resample/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE MIPSII) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIIDbg" -# PROP BASE Intermediate_Dir "output\MIPSIIDbg" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIIDbg" -# PROP Intermediate_Dir "output\MIPSIIDbg" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../resample/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE SH4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\SH4Rel" -# PROP BASE Intermediate_Dir "output\SH4Rel" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\SH4Rel" -# PROP Intermediate_Dir "output\SH4Rel" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /Qsh4 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../resample/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /Qsh4 /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE SH4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\SH4Dbg" -# PROP BASE Intermediate_Dir "output\SH4Dbg" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\SH4Dbg" -# PROP Intermediate_Dir "output\SH4Dbg" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Qsh4 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../resample/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Qsh4 /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE SH3) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\SH3Rel" -# PROP BASE Intermediate_Dir "output\SH3Rel" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\SH3Rel" -# PROP Intermediate_Dir "output\SH3Rel" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../resample/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE SH3) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\SH3Dbg" -# PROP BASE Intermediate_Dir "output\SH3Dbg" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\SH3Dbg" -# PROP Intermediate_Dir "output\SH3Dbg" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../resample/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE MIPSIV) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIVRel" -# PROP BASE Intermediate_Dir "output\MIPSIVRel" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIVRel" -# PROP Intermediate_Dir "output\MIPSIVRel" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../resample/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE MIPSIV) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIVDbg" -# PROP BASE Intermediate_Dir "output\MIPSIVDbg" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIVDbg" -# PROP Intermediate_Dir "output\MIPSIVDbg" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../resample/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\emulatorRel" -# PROP BASE Intermediate_Dir "output\emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\emulatorRel" -# PROP Intermediate_Dir "output\emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "." /I "../../resample/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\emulatorDbg" -# PROP BASE Intermediate_Dir "output\emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\emulatorDbg" -# PROP Intermediate_Dir "output\emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../resample/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4IRel" -# PROP BASE Intermediate_Dir "output\ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4IRel" -# PROP Intermediate_Dir "output\ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../resample/include" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4IDbg" -# PROP BASE Intermediate_Dir "output\ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4IDbg" -# PROP Intermediate_Dir "output\ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../resample/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE MIPSIV_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIV_FPRel" -# PROP BASE Intermediate_Dir "output\MIPSIV_FPRel" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIV_FPRel" -# PROP Intermediate_Dir "output\MIPSIV_FPRel" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../resample/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE MIPSIV_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIV_FPDbg" -# PROP BASE Intermediate_Dir "output\MIPSIV_FPDbg" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIV_FPDbg" -# PROP Intermediate_Dir "output\MIPSIV_FPDbg" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../resample/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4Rel" -# PROP BASE Intermediate_Dir "output\ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4Rel" -# PROP Intermediate_Dir "output\ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../resample/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4Dbg" -# PROP BASE Intermediate_Dir "output\ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4Dbg" -# PROP Intermediate_Dir "output\ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../resample/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE MIPS16) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPS16Rel" -# PROP BASE Intermediate_Dir "output\MIPS16Rel" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPS16Rel" -# PROP Intermediate_Dir "output\MIPS16Rel" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../resample/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE MIPS16) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPS16Dbg" -# PROP BASE Intermediate_Dir "output\MIPS16Dbg" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPS16Dbg" -# PROP Intermediate_Dir "output\MIPS16Dbg" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../resample/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4TRel" -# PROP BASE Intermediate_Dir "output\ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4TRel" -# PROP Intermediate_Dir "output\ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../resample/include" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4TDbg" -# PROP BASE Intermediate_Dir "output\ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4TDbg" -# PROP Intermediate_Dir "output\ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../resample/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\X86Rel" -# PROP BASE Intermediate_Dir "output\X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\X86Rel" -# PROP Intermediate_Dir "output\X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "." /I "../../resample/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\X86Dbg" -# PROP BASE Intermediate_Dir "output\X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\X86Dbg" -# PROP Intermediate_Dir "output\X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../resample/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ENDIF - -# Begin Target - -# Name "libresample - Win32 (WCE MIPSII_FP) Release" -# Name "libresample - Win32 (WCE MIPSII_FP) Debug" -# Name "libresample - Win32 (WCE MIPSII) Release" -# Name "libresample - Win32 (WCE MIPSII) Debug" -# Name "libresample - Win32 (WCE SH4) Release" -# Name "libresample - Win32 (WCE SH4) Debug" -# Name "libresample - Win32 (WCE SH3) Release" -# Name "libresample - Win32 (WCE SH3) Debug" -# Name "libresample - Win32 (WCE MIPSIV) Release" -# Name "libresample - Win32 (WCE MIPSIV) Debug" -# Name "libresample - Win32 (WCE emulator) Release" -# Name "libresample - Win32 (WCE emulator) Debug" -# Name "libresample - Win32 (WCE ARMV4I) Release" -# Name "libresample - Win32 (WCE ARMV4I) Debug" -# Name "libresample - Win32 (WCE MIPSIV_FP) Release" -# Name "libresample - Win32 (WCE MIPSIV_FP) Debug" -# Name "libresample - Win32 (WCE ARMV4) Release" -# Name "libresample - Win32 (WCE ARMV4) Debug" -# Name "libresample - Win32 (WCE MIPS16) Release" -# Name "libresample - Win32 (WCE MIPS16) Debug" -# Name "libresample - Win32 (WCE ARMV4T) Release" -# Name "libresample - Win32 (WCE ARMV4T) Debug" -# Name "libresample - Win32 (WCE x86) Release" -# Name "libresample - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\resample\src\largefilter.h -# End Source File -# Begin Source File - -SOURCE=..\..\resample\src\resample.h -# End Source File -# Begin Source File - -SOURCE=..\..\resample\src\resamplesubs.c - -!IF "$(CFG)" == "libresample - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE MIPSII) Release" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE MIPSII) Debug" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE SH4) Release" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE SH4) Debug" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE SH3) Release" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE SH3) Debug" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE MIPSIV) Release" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE emulator) Release" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE emulator) Debug" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE ARMV4) Release" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE MIPS16) Release" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE MIPS16) Debug" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE x86) Release" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ELSEIF "$(CFG)" == "libresample - Win32 (WCE x86) Debug" - -DEP_CPP_RESAM=\ - "..\..\resample\include\resamplesubs.h"\ - "..\..\resample\src\largefilter.h"\ - "..\..\resample\src\resample.h"\ - "..\..\resample\src\smallfilter.h"\ - "..\..\resample\src\stddefs.h"\ - ".\config.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\resample\src\smallfilter.h -# End Source File -# Begin Source File - -SOURCE=..\..\resample\src\stddefs.h -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\resample\include\resamplesubs.h -# End Source File -# End Group -# End Target -# End Project diff --git a/res/pjproject/third_party/build/resample/libresample.vcproj b/res/pjproject/third_party/build/resample/libresample.vcproj deleted file mode 100644 index 10f0149bc1..0000000000 --- a/res/pjproject/third_party/build/resample/libresample.vcproj +++ /dev/null @@ -1,2872 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/third_party/build/resample/libresample_dll.vcproj b/res/pjproject/third_party/build/resample/libresample_dll.vcproj deleted file mode 100644 index d7102c0402..0000000000 --- a/res/pjproject/third_party/build/resample/libresample_dll.vcproj +++ /dev/null @@ -1,630 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/third_party/build/samplerate/README.txt b/res/pjproject/third_party/build/samplerate/README.txt deleted file mode 100644 index 0f8de07b89..0000000000 --- a/res/pjproject/third_party/build/samplerate/README.txt +++ /dev/null @@ -1,85 +0,0 @@ - - HOW TO ACTIVATE LIBSAMPLERATE - (a.k.a SRC/Secret Rabbit Code) - AS PJMEDIA'S SAMPLE RATE CONVERSION BACKEND - - by - Benny Prijono - PJSIP - -Background ----------- - Secret Rabbit Code (aka libsamplerate) is a sample rate conversion - library, available from http://www.mega-nerd.com/SRC/index.html. - It is licensed under dual license, GPL and proprietary. - - -Supported Platforms -------------------- - libsamplerate is available for Win32 with Visual Studio and the - Makefile based targets (such as Linux, MacOS X, *nix, etc.). - - It's not supported for WinCE/Windows Mobile and Symbian since it is - a floating point based implementation. - - -Installation ------------- - - Download libsamplerate from http://www.mega-nerd.com/SRC/index.html - - - Untar libsamplerate-0.1.2.tar.gz into third_party directory - cd third_party - tar xzf libsamplerate-0.1.2.tar.gz - - - Rename libsamplerate-0.1.2 directory name to libsamplerate - On Windows: - ren libsamplerate-0.1.2 libsamplerate - - On Linux/Unix/MacOS X: - mv libsamplerate-0.1.2 libsamplerate - - -Visual Studio Build -------------------- - For Visual Studio projects, only static linkage is supported - by PJMEDIA build system. If dynamic linking is desired, edit - pjmedia/src/pjmedia/resample_libresample.c to prevent it from - linking with the static library, and configure your project - to link with libsamplerate DLL library. - - To build libresample static library with Visual Studio: - - - Open third_party/build/samplerate/libsamplerate_static.dsp - - Build the project for both Debug and Release build - - - libresample dynamic library can be produced by following the - instructions in libresample source directory. - - -Makefile build --------------- - - Build and install libsamplerate (configure && make && make install). - Please follow the instructions in libsamplerate documentation. - - - Re-run PJSIP's "configure" script with this option: - - ./configure --enable-libsamplerate - - this will detect the presence of libsamplerate library and add it - to the input library list. - - -Enabling libsamplerate for PJMEDIA's resample ---------------------------------------------- - For both Visual Studio and Makefile based build system, add this in - config_site.h: - - #define PJMEDIA_RESAMPLE_IMP PJMEDIA_RESAMPLE_LIBSAMPLERATE - - -Limitations ------------ -Sample rate 22050 Hz is only supported with 20ms ptime, and sample rate 11025 Hz is only supported with 40ms ptime. This is the limitation of PJMEDIA rather than libsamplerate. - - diff --git a/res/pjproject/third_party/build/samplerate/Static.msvc b/res/pjproject/third_party/build/samplerate/Static.msvc deleted file mode 100644 index b556673a76..0000000000 --- a/res/pjproject/third_party/build/samplerate/Static.msvc +++ /dev/null @@ -1,138 +0,0 @@ - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF - -CPP=cl.exe -RSC=rc.exe -F90=df.exe -BSC32=bscmake.exe -BSC32_SBRS= \ - -LIB32=link.exe -lib - -OUTDIR_REL=.\output\libsamplerate-i386-win32-vc-release -INTDIR_REL=.\output\libsamplerate-i386-win32-vc-release -OUTDIR_DEB=.\output\libsamplerate-i386-win32-vc-debug -INTDIR_DEB=.\output\libsamplerate-i386-win32-vc-debug - -LIB_REL=..\..\lib\libsamplerate-i386-win32-vc-release.lib -LIB_DEB=..\..\lib\libsamplerate-i386-win32-vc-debug.lib - -ALL : $(LIB_REL) $(LIB_DEB) - -CLEAN : - -@erase "$(INTDIR_REL)\*.obj" - -@erase "$(INTDIR_REL)\*.pch" - -@erase "$(INTDIR_REL)\*.pdb" - -@erase "$(INTDIR_REL)\*.idb" - @rmdir $(INTDIR_REL) - -@erase "$(INTDIR_DEB)\*.obj" - -@erase "$(INTDIR_DEB)\*.pch" - -@erase "$(INTDIR_DEB)\*.pdb" - -@erase "$(INTDIR_DEB)\*.idb" - @rmdir $(INTDIR_DEB) - -@erase $(LIB_REL) - -@erase $(LIB_DEB) - -"$(OUTDIR_REL)" : - if not exist "$(OUTDIR_REL)/$(NULL)" mkdir "$(OUTDIR_REL)" - -CPP_PROJ_REL=/nologo /MD /W3 /GX /O2 /I "../win32" /I "../../libsamplerate/src" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /Fp"$(INTDIR_REL)\libsamplerate_static.pch" /YX /Fo"$(INTDIR_REL)\\" /Fd"$(INTDIR_REL)\\" /FD /c - -LIB32_FLAGS_REL=/nologo /out:$(LIB_REL) -LIB32_OBJS_REL= \ - "$(INTDIR_REL)\samplerate.obj" \ - "$(INTDIR_REL)\src_linear.obj" \ - "$(INTDIR_REL)\src_sinc.obj" \ - "$(INTDIR_REL)\src_zoh.obj" - -$(LIB_REL) : "$(OUTDIR_REL)" $(DEF_FILE) $(LIB32_OBJS_REL) - $(LIB32) @<< - $(LIB32_FLAGS_REL) $(DEF_FLAGS) $(LIB32_OBJS_REL) -<< - -"$(OUTDIR_DEB)" : - if not exist "$(OUTDIR_DEB)/$(NULL)" mkdir "$(OUTDIR_DEB)" - -CPP_PROJ_DEB=/nologo /MTd /W3 /Gm /GX /ZI /Od /I "../win32" /I "../../libsamplerate/src" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Fp"$(INTDIR_DEB)\libsamplerate_static.pch" /YX /Fo"$(INTDIR_DEB)\\" /Fd"$(INTDIR_DEB)\\" /FD /GZ /c -LIB32_FLAGS_DEB=/nologo /out:$(LIB_DEB) -LIB32_OBJS_DEB= \ - "$(INTDIR_DEB)\samplerate.obj" \ - "$(INTDIR_DEB)\src_linear.obj" \ - "$(INTDIR_DEB)\src_sinc.obj" \ - "$(INTDIR_DEB)\src_zoh.obj" - -$(LIB_DEB) : "$(OUTDIR_DEB)" $(DEF_FILE) $(LIB32_OBJS_DEB) - $(LIB32) @<< - $(LIB32_FLAGS_DEB) $(DEF_FLAGS) $(LIB32_OBJS_DEB) -<< - - -..\..\libsamplerate\src\samplerate.c : \ - "..\..\libsamplerate\src\common.h"\ - "..\..\libsamplerate\src\config.h"\ - "..\..\libsamplerate\src\float_cast.h"\ - "..\..\libsamplerate\src\samplerate.h"\ - - -..\..\libsamplerate\src\src_linear.c : \ - "..\..\libsamplerate\src\common.h"\ - "..\..\libsamplerate\src\config.h"\ - "..\..\libsamplerate\src\float_cast.h"\ - "..\..\libsamplerate\src\samplerate.h"\ - - -..\..\libsamplerate\src\src_sinc.c : \ - "..\..\libsamplerate\src\common.h"\ - "..\..\libsamplerate\src\config.h"\ - "..\..\libsamplerate\src\fastest_coeffs.h"\ - "..\..\libsamplerate\src\float_cast.h"\ - "..\..\libsamplerate\src\high_qual_coeffs.h"\ - "..\..\libsamplerate\src\mid_qual_coeffs.h"\ - "..\..\libsamplerate\src\samplerate.h"\ - - -..\..\libsamplerate\src\src_zoh.c : \ - "..\..\libsamplerate\src\common.h"\ - "..\..\libsamplerate\src\config.h"\ - "..\..\libsamplerate\src\float_cast.h"\ - "..\..\libsamplerate\src\samplerate.h"\ - - - -SOURCE=..\..\libsamplerate\src\samplerate.c - -"$(INTDIR_DEB)\samplerate.obj" : $(SOURCE) "$(INTDIR_DEB)" - $(CPP) $(CPP_PROJ_DEB) $(SOURCE) -"$(INTDIR_REL)\samplerate.obj" : $(SOURCE) "$(INTDIR_REL)" - $(CPP) $(CPP_PROJ_REL) $(SOURCE) - - -SOURCE=..\..\libsamplerate\src\src_linear.c - -"$(INTDIR_DEB)\src_linear.obj" : $(SOURCE) "$(INTDIR_DEB)" - $(CPP) $(CPP_PROJ_DEB) $(SOURCE) -"$(INTDIR_REL)\src_linear.obj" : $(SOURCE) "$(INTDIR_REL)" - $(CPP) $(CPP_PROJ_REL) $(SOURCE) - - -SOURCE=..\..\libsamplerate\src\src_sinc.c - -"$(INTDIR_DEB)\src_sinc.obj" : $(SOURCE) "$(INTDIR_DEB)" - $(CPP) $(CPP_PROJ_DEB) $(SOURCE) -"$(INTDIR_REL)\src_sinc.obj" : $(SOURCE) "$(INTDIR_REL)" - $(CPP) $(CPP_PROJ_REL) $(SOURCE) - - -SOURCE=..\..\libsamplerate\src\src_zoh.c - -"$(INTDIR_DEB)\src_zoh.obj" : $(SOURCE) "$(INTDIR_DEB)" - $(CPP) $(CPP_PROJ_DEB) $(SOURCE) -"$(INTDIR_REL)\src_zoh.obj" : $(SOURCE) "$(INTDIR_REL)" - $(CPP) $(CPP_PROJ_REL) $(SOURCE) - - - diff --git a/res/pjproject/third_party/build/samplerate/libsamplerate_static.dsp b/res/pjproject/third_party/build/samplerate/libsamplerate_static.dsp deleted file mode 100644 index d84fa5415a..0000000000 --- a/res/pjproject/third_party/build/samplerate/libsamplerate_static.dsp +++ /dev/null @@ -1,114 +0,0 @@ -# Microsoft Developer Studio Project File - Name="libsamplerate_static" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Static Library" 0x0104 - -CFG=libsamplerate_static - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "libsamplerate_static.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "libsamplerate_static.mak" CFG="libsamplerate_static - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "libsamplerate_static - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "libsamplerate_static - Win32 Debug" (based on "Win32 (x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "libsamplerate_static - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output/libsamplerate-i386-win32-vc-release" -# PROP BASE Intermediate_Dir "output/libsamplerate-i386-win32-vc-release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output/libsamplerate-i386-win32-vc-release" -# PROP Intermediate_Dir "output/libsamplerate-i386-win32-vc-release" -# PROP Target_Dir "" -F90=df.exe -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "./win32" /I "../../libsamplerate/src" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:"..\..\lib\libsamplerate-i386-win32-vc-release.lib" - -!ELSEIF "$(CFG)" == "libsamplerate_static - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output/libsamplerate-i386-win32-vc-debug" -# PROP BASE Intermediate_Dir "output/libsamplerate-i386-win32-vc-debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output/libsamplerate-i386-win32-vc-debug" -# PROP Intermediate_Dir "output/libsamplerate-i386-win32-vc-debug" -# PROP Target_Dir "" -F90=df.exe -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "./win32" /I "../../libsamplerate/src" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:"..\..\lib\libsamplerate-i386-win32-vc-debug.lib" - -!ENDIF - -# Begin Target - -# Name "libsamplerate_static - Win32 Release" -# Name "libsamplerate_static - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\libsamplerate\src\samplerate.c -# End Source File -# Begin Source File - -SOURCE=..\..\libsamplerate\src\src_linear.c -# End Source File -# Begin Source File - -SOURCE=..\..\libsamplerate\src\src_sinc.c -# End Source File -# Begin Source File - -SOURCE=..\..\libsamplerate\src\src_zoh.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\libsamplerate\src\samplerate.h -# End Source File -# End Group -# End Target -# End Project diff --git a/res/pjproject/third_party/build/speex/Makefile b/res/pjproject/third_party/build/speex/Makefile deleted file mode 100644 index d31166ea6a..0000000000 --- a/res/pjproject/third_party/build/speex/Makefile +++ /dev/null @@ -1,73 +0,0 @@ -include ../../../build.mak -include ../../../build/common.mak - -export LIBDIR := ../../lib - -RULES_MAK := $(PJDIR)/build/rules.mak - -export SPEEX_LIB := ../../lib/libspeex-$(TARGET_NAME)$(LIBEXT) - -############################################################################### -# Gather all flags. -# -export _CFLAGS := $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \ - $(CFLAGS) $(CC_INC). $(CC_INC)../../speex/include \ - $(CC_INC)../../speex/libspeex \ - $(CC_INC)../../../pjlib/include -export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ - $(HOST_CXXFLAGS) $(CXXFLAGS) -export _LDFLAGS := $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \ - $(LDFLAGS) - -export SPEEX_SRCDIR = ../../speex/libspeex -export SPEEX_OBJS = bits.o cb_search.o exc_10_16_table.o \ - exc_10_32_table.o exc_20_32_table.o \ - exc_5_256_table.o exc_5_64_table.o \ - exc_8_128_table.o fftwrap.o filterbank.o \ - filters.o gain_table.o gain_table_lbr.o \ - hexc_10_32_table.o hexc_table.o \ - high_lsp_tables.o \ - kiss_fft.o kiss_fftr.o lpc.o \ - lsp.o lsp_tables_nb.o ltp.o \ - mdf.o modes.o modes_wb.o \ - nb_celp.o preprocess.o \ - quant_lsp.o resample.o sb_celp.o smallft.o \ - speex.o speex_callbacks.o speex_header.o \ - stereo.o vbr.o vq.o window.o - -export SPEEX_CFLAGS = -DHAVE_CONFIG_H $(_CFLAGS) - - -export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT -############################################################################### -# Main entry -# -# $(TARGET) is defined in os-$(OS_NAME).mak file in current directory. -# -TARGETS := libspeex - -all: $(TARGETS) - -doc: - cd .. && doxygen docs/doxygen.cfg - -dep: depend -distclean: realclean - -.PHONY: dep depend libspeex clean realclean distclean - -libspeex: - $(MAKE) -f $(RULES_MAK) APP=SPEEX app=libspeex $(SPEEX_LIB) - -clean print_lib: - $(MAKE) -f $(RULES_MAK) APP=SPEEX app=libspeex $@ - -realclean: - $(subst @@,$(subst /,$(HOST_PSEP),.ilbc-$(TARGET_NAME).depend),$(HOST_RMR)) - - $(MAKE) -f $(RULES_MAK) APP=SPEEX app=libspeex $@ - -depend: - $(MAKE) -f $(RULES_MAK) APP=SPEEX app=libspeex $@ - - diff --git a/res/pjproject/third_party/build/speex/config.h b/res/pjproject/third_party/build/speex/config.h deleted file mode 100644 index ba7be7a6e2..0000000000 --- a/res/pjproject/third_party/build/speex/config.h +++ /dev/null @@ -1,44 +0,0 @@ -#include - -/* Check if we need to use the fixed point version */ -#if !defined(PJ_HAS_FLOATING_POINT) || PJ_HAS_FLOATING_POINT==0 -# define FIXED_POINT -# define USE_KISS_FFT -#else -# define FLOATING_POINT -# define USE_SMALLFT -#endif - -#define EXPORT - -#if (defined(PJ_WIN32) && PJ_WIN32!=0) || \ - (defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE != 0) -# include "../../speex/win32/config.h" -#else -#define inline __inline -#define restrict -#endif - -#ifdef _MSC_VER -# pragma warning(disable: 4100) // unreferenced formal parameter -# pragma warning(disable: 4101) // unreferenced local variable -# pragma warning(disable: 4244) // conversion from 'double ' to 'float ' -# pragma warning(disable: 4305) // truncation from 'const double ' to 'float ' -# pragma warning(disable: 4018) // signed/unsigned mismatch -//# pragma warning(disable: 4701) // local variable used without initialized -#endif - -#include - -/* - * Override miscellaneous Speex functions. - */ -#define OVERRIDE_SPEEX_ERROR -#define speex_error(str) PJ_LOG(4,("speex", "error: %s", str)) - -#define OVERRIDE_SPEEX_WARNING -#define speex_warning(str) PJ_LOG(5,("speex", "warning: %s", str)) - -#define OVERRIDE_SPEEX_WARNING_INT -#define speex_warning_int(str,val) PJ_LOG(5,("speex", "warning: %s: %d", str, val)) - diff --git a/res/pjproject/third_party/build/speex/libspeex.vcp b/res/pjproject/third_party/build/speex/libspeex.vcp deleted file mode 100644 index f22d86b36f..0000000000 --- a/res/pjproject/third_party/build/speex/libspeex.vcp +++ /dev/null @@ -1,25638 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="libspeex" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE x86) Static Library" 0x8304 -# TARGTYPE "Win32 (WCE MIPS16) Static Library" 0x8904 -# TARGTYPE "Win32 (WCE SH4) Static Library" 0x8604 -# TARGTYPE "Win32 (WCE MIPSII) Static Library" 0xa104 -# TARGTYPE "Win32 (WCE MIPSIV_FP) Static Library" 0x9204 -# TARGTYPE "Win32 (WCE SH3) Static Library" 0x8104 -# TARGTYPE "Win32 (WCE ARMV4) Static Library" 0xa304 -# TARGTYPE "Win32 (WCE ARMV4I) Static Library" 0xa504 -# TARGTYPE "Win32 (WCE emulator) Static Library" 0xa604 -# TARGTYPE "Win32 (WCE MIPSII_FP) Static Library" 0xa204 -# TARGTYPE "Win32 (WCE ARMV4T) Static Library" 0xa404 -# TARGTYPE "Win32 (WCE MIPSIV) Static Library" 0x9604 - -CFG=libspeex - Win32 (WCE MIPSII_FP) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "libspeex.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "libspeex.vcn" CFG="libspeex - Win32 (WCE MIPSII_FP) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "libspeex - Win32 (WCE MIPSII_FP) Release" (based on "Win32 (WCE MIPSII_FP) Static Library") -!MESSAGE "libspeex - Win32 (WCE MIPSII_FP) Debug" (based on "Win32 (WCE MIPSII_FP) Static Library") -!MESSAGE "libspeex - Win32 (WCE MIPSII) Release" (based on "Win32 (WCE MIPSII) Static Library") -!MESSAGE "libspeex - Win32 (WCE MIPSII) Debug" (based on "Win32 (WCE MIPSII) Static Library") -!MESSAGE "libspeex - Win32 (WCE SH4) Release" (based on "Win32 (WCE SH4) Static Library") -!MESSAGE "libspeex - Win32 (WCE SH4) Debug" (based on "Win32 (WCE SH4) Static Library") -!MESSAGE "libspeex - Win32 (WCE SH3) Release" (based on "Win32 (WCE SH3) Static Library") -!MESSAGE "libspeex - Win32 (WCE SH3) Debug" (based on "Win32 (WCE SH3) Static Library") -!MESSAGE "libspeex - Win32 (WCE MIPSIV) Release" (based on "Win32 (WCE MIPSIV) Static Library") -!MESSAGE "libspeex - Win32 (WCE MIPSIV) Debug" (based on "Win32 (WCE MIPSIV) Static Library") -!MESSAGE "libspeex - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "libspeex - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "libspeex - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "libspeex - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "libspeex - Win32 (WCE MIPSIV_FP) Release" (based on "Win32 (WCE MIPSIV_FP) Static Library") -!MESSAGE "libspeex - Win32 (WCE MIPSIV_FP) Debug" (based on "Win32 (WCE MIPSIV_FP) Static Library") -!MESSAGE "libspeex - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "libspeex - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "libspeex - Win32 (WCE MIPS16) Release" (based on "Win32 (WCE MIPS16) Static Library") -!MESSAGE "libspeex - Win32 (WCE MIPS16) Debug" (based on "Win32 (WCE MIPS16) Static Library") -!MESSAGE "libspeex - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "libspeex - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "libspeex - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Static Library") -!MESSAGE "libspeex - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSII_FPRel" -# PROP BASE Intermediate_Dir "output\MIPSII_FPRel" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSII_FPRel" -# PROP Intermediate_Dir "output\MIPSII_FPRel" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D "NDEBUG" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSII_FPDbg" -# PROP BASE Intermediate_Dir "output\MIPSII_FPDbg" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSII_FPDbg" -# PROP Intermediate_Dir "output\MIPSII_FPDbg" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIIRel" -# PROP BASE Intermediate_Dir "output\MIPSIIRel" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIIRel" -# PROP Intermediate_Dir "output\MIPSIIRel" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "NDEBUG" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIIDbg" -# PROP BASE Intermediate_Dir "output\MIPSIIDbg" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIIDbg" -# PROP Intermediate_Dir "output\MIPSIIDbg" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\SH4Rel" -# PROP BASE Intermediate_Dir "output\SH4Rel" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\SH4Rel" -# PROP Intermediate_Dir "output\SH4Rel" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /Qsh4 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "SHx" /D "SH4" /D "_SH4_" /D "NDEBUG" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Qsh4 /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\SH4Dbg" -# PROP BASE Intermediate_Dir "output\SH4Dbg" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\SH4Dbg" -# PROP Intermediate_Dir "output\SH4Dbg" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Qsh4 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "DEBUG" /D "SHx" /D "SH4" /D "_SH4_" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Qsh4 /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\SH3Rel" -# PROP BASE Intermediate_Dir "output\SH3Rel" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\SH3Rel" -# PROP Intermediate_Dir "output\SH3Rel" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "SHx" /D "SH3" /D "_SH3_" /D "NDEBUG" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\SH3Dbg" -# PROP BASE Intermediate_Dir "output\SH3Dbg" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\SH3Dbg" -# PROP Intermediate_Dir "output\SH3Dbg" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIVRel" -# PROP BASE Intermediate_Dir "output\MIPSIVRel" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIVRel" -# PROP Intermediate_Dir "output\MIPSIVRel" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "NDEBUG" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIVDbg" -# PROP BASE Intermediate_Dir "output\MIPSIVDbg" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIVDbg" -# PROP Intermediate_Dir "output\MIPSIVDbg" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\emulatorRel" -# PROP BASE Intermediate_Dir "output\emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\emulatorRel" -# PROP Intermediate_Dir "output\emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "_i386_" /D "_X86_" /D "x86" /D "NDEBUG" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\emulatorDbg" -# PROP BASE Intermediate_Dir "output\emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\emulatorDbg" -# PROP Intermediate_Dir "output\emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4IRel" -# PROP BASE Intermediate_Dir "output\ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4IRel" -# PROP Intermediate_Dir "output\ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "ARM" /D "_ARM_" /D "ARMV4I" /D "NDEBUG" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4IDbg" -# PROP BASE Intermediate_Dir "output\ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4IDbg" -# PROP Intermediate_Dir "output\ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4I" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIV_FPRel" -# PROP BASE Intermediate_Dir "output\MIPSIV_FPRel" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIV_FPRel" -# PROP Intermediate_Dir "output\MIPSIV_FPRel" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D "NDEBUG" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIV_FPDbg" -# PROP BASE Intermediate_Dir "output\MIPSIV_FPDbg" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIV_FPDbg" -# PROP Intermediate_Dir "output\MIPSIV_FPDbg" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4Rel" -# PROP BASE Intermediate_Dir "output\ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4Rel" -# PROP Intermediate_Dir "output\ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /Oxt /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4Dbg" -# PROP BASE Intermediate_Dir "output\ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4Dbg" -# PROP Intermediate_Dir "output\ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPS16Rel" -# PROP BASE Intermediate_Dir "output\MIPS16Rel" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPS16Rel" -# PROP Intermediate_Dir "output\MIPS16Rel" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips16 /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPS16Dbg" -# PROP BASE Intermediate_Dir "output\MIPS16Dbg" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPS16Dbg" -# PROP Intermediate_Dir "output\MIPS16Dbg" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D "_MIPS16_" /D "MIPS16SUPPORT" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips16 /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4TRel" -# PROP BASE Intermediate_Dir "output\ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4TRel" -# PROP Intermediate_Dir "output\ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "ARM" /D "_ARM_" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D "NDEBUG" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4TDbg" -# PROP BASE Intermediate_Dir "output\ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4TDbg" -# PROP Intermediate_Dir "output\ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\X86Rel" -# PROP BASE Intermediate_Dir "output\X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\X86Rel" -# PROP Intermediate_Dir "output\X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "_i386_" /D "_X86_" /D "x86" /D "NDEBUG" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\X86Dbg" -# PROP BASE Intermediate_Dir "output\X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\X86Dbg" -# PROP Intermediate_Dir "output\X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../speex/include" /I "../../../pjlib/include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D inline=__inline /D "HAVE_CONFIG_H" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ENDIF - -# Begin Target - -# Name "libspeex - Win32 (WCE MIPSII_FP) Release" -# Name "libspeex - Win32 (WCE MIPSII_FP) Debug" -# Name "libspeex - Win32 (WCE MIPSII) Release" -# Name "libspeex - Win32 (WCE MIPSII) Debug" -# Name "libspeex - Win32 (WCE SH4) Release" -# Name "libspeex - Win32 (WCE SH4) Debug" -# Name "libspeex - Win32 (WCE SH3) Release" -# Name "libspeex - Win32 (WCE SH3) Debug" -# Name "libspeex - Win32 (WCE MIPSIV) Release" -# Name "libspeex - Win32 (WCE MIPSIV) Debug" -# Name "libspeex - Win32 (WCE emulator) Release" -# Name "libspeex - Win32 (WCE emulator) Debug" -# Name "libspeex - Win32 (WCE ARMV4I) Release" -# Name "libspeex - Win32 (WCE ARMV4I) Debug" -# Name "libspeex - Win32 (WCE MIPSIV_FP) Release" -# Name "libspeex - Win32 (WCE MIPSIV_FP) Debug" -# Name "libspeex - Win32 (WCE ARMV4) Release" -# Name "libspeex - Win32 (WCE ARMV4) Debug" -# Name "libspeex - Win32 (WCE MIPS16) Release" -# Name "libspeex - Win32 (WCE MIPS16) Debug" -# Name "libspeex - Win32 (WCE ARMV4T) Release" -# Name "libspeex - Win32 (WCE ARMV4T) Debug" -# Name "libspeex - Win32 (WCE x86) Release" -# Name "libspeex - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\speex\libspeex\bits.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_BITS_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_BITS_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\cb_search.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_CB_SE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\cb_search_arm4.h"\ - "..\..\speex\libspeex\cb_search_bfin.h"\ - "..\..\speex\libspeex\cb_search_sse.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_CB_SE=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\exc_10_16_table.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\exc_10_32_table.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\exc_20_32_table.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\exc_5_256_table.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\exc_5_64_table.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\exc_8_128_table.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\fftwrap.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_FFTWR=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_FFTWR=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\filterbank.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_FILTE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_FILTE=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\filters.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_FILTER=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_FILTER=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\filters_arm4.h"\ - "..\..\speex\libspeex\filters_bfin.h"\ - "..\..\speex\libspeex\filters_sse.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_FILTER=\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\gain_table.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\gain_table_lbr.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\hexc_10_32_table.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\hexc_table.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\high_lsp_tables.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\kiss_fft.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_KISS_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_KISS_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\kiss_fftr.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_KISS_F=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\_kiss_fft_guts.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\kiss_fft.h"\ - "..\..\speex\libspeex\kiss_fftr.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_KISS_F=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\lpc.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LPC_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_LPC_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lpc_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_LPC_C=\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\lsp.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LSP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_LSP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\lsp_bfin.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_LSP_C=\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\lsp_tables_nb.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\ltp.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_LTP_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\ltp_arm4.h"\ - "..\..\speex\libspeex\ltp_bfin.h"\ - "..\..\speex\libspeex\ltp_sse.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_LTP_C=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\mdf.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_MDF_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\pseudofloat.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MDF_C=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\modes.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_MODES=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_MODES=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES=\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\modes_wb.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_MODES_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_MODES_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\nb_celp.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_NB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_NB_CE=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\preprocess.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_PREPR=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_echo.h"\ - "..\..\speex\include\speex\speex_preprocess.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fftwrap.h"\ - "..\..\speex\libspeex\filterbank.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_PREPR=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\quant_lsp.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_QUANT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\quant_lsp_bfin.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_QUANT=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\resample.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\misc.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_RESAM=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_resampler.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\resample_sse.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_RESAM=\ - "..\..\speex\libspeex\os_support_custom.h"\ - "..\..\speex\libspeex\speex_resampler.h"\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\sb_celp.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_SB_CE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\cb_search.h"\ - "..\..\speex\libspeex\filters.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\lpc.h"\ - "..\..\speex\libspeex\lsp.h"\ - "..\..\speex\libspeex\ltp.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\nb_celp.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\quant_lsp.h"\ - "..\..\speex\libspeex\sb_celp.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\libspeex\vorbis_psy.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_SB_CE=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\smallft.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_SMALL=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\smallft.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_SMALL=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\speex.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_SPEEX=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\modes.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_SPEEX=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\speex_callbacks.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_SPEEX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_SPEEX_=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\speex_header.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_SPEEX_H=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_header.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_SPEEX_H=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\stereo.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_STERE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex.h"\ - "..\..\speex\include\speex\speex_bits.h"\ - "..\..\speex\include\speex\speex_callbacks.h"\ - "..\..\speex\include\speex\speex_stereo.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\math_approx.h"\ - "..\..\speex\libspeex\os_support.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_STERE=\ - "..\..\speex\libspeex\os_support_custom.h"\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\vbr.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VBR_C=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_VBR_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\vbr.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_VBR_C=\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\vq.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_VQ_C30=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_VQ_C30=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\libspeex\stack_alloc.h"\ - "..\..\speex\libspeex\vq.h"\ - "..\..\speex\libspeex\vq_arm4.h"\ - "..\..\speex\libspeex\vq_bfin.h"\ - "..\..\speex\libspeex\vq_sse.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_VQ_C30=\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\window.c - -!IF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Release" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSII) Debug" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Release" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH4) Debug" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Release" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE SH3) Debug" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Release" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Release" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE emulator) Debug" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Release" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Release" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4) Debug" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Release" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE MIPS16) Debug" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Release" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Release" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - -NODEP_CPP_WINDO=\ - "..\..\speex\libspeex\misc.h"\ - - -!ELSEIF "$(CFG)" == "libspeex - Win32 (WCE x86) Debug" - -DEP_CPP_WINDO=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\speex\include\speex\speex_types.h"\ - "..\..\speex\libspeex\arch.h"\ - "..\..\speex\libspeex\fixed_arm4.h"\ - "..\..\speex\libspeex\fixed_arm5e.h"\ - "..\..\speex\libspeex\fixed_bfin.h"\ - "..\..\speex\libspeex\fixed_debug.h"\ - "..\..\speex\libspeex\fixed_generic.h"\ - "..\..\speex\win32\config.h"\ - ".\config.h"\ - ".\speex\speex_config_types.h"\ - -NODEP_CPP_WINDO=\ - ".\misc.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\config.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\fftwrap.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\filterbank.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\filters.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\kiss_fft.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\kiss_fftr.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\lpc.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\lsp.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\math_approx.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\medfilter.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\misc.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\modes.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\nb_celp.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\quant_lsp.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\sb_celp.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\smallft.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\include\speex\speex.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\include\speex\speex_bits.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\include\speex\speex_callbacks.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\include\speex\speex_echo.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\include\speex\speex_header.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\include\speex\speex_jitter.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\include\speex\speex_preprocess.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\include\speex\speex_resampler.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\include\speex\speex_stereo.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\include\speex\speex_types.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\vbr.h -# End Source File -# Begin Source File - -SOURCE=..\..\speex\libspeex\vq.h -# End Source File -# End Group -# End Target -# End Project diff --git a/res/pjproject/third_party/build/speex/libspeex.vcproj b/res/pjproject/third_party/build/speex/libspeex.vcproj deleted file mode 100644 index 23b328c88f..0000000000 --- a/res/pjproject/third_party/build/speex/libspeex.vcproj +++ /dev/null @@ -1,5207 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/third_party/build/speex/speex/speex_config_types.h b/res/pjproject/third_party/build/speex/speex/speex_config_types.h deleted file mode 100644 index b4054516ec..0000000000 --- a/res/pjproject/third_party/build/speex/speex/speex_config_types.h +++ /dev/null @@ -1,6 +0,0 @@ -#include -typedef pj_int16_t spx_int16_t; -typedef pj_uint16_t spx_uint16_t; -typedef pj_int32_t spx_int32_t; -typedef pj_uint32_t spx_uint32_t; - diff --git a/res/pjproject/third_party/build/srtp/Makefile b/res/pjproject/third_party/build/srtp/Makefile deleted file mode 100644 index 17cb421711..0000000000 --- a/res/pjproject/third_party/build/srtp/Makefile +++ /dev/null @@ -1,87 +0,0 @@ -include ../../../build.mak -include ../../../build/common.mak - -export LIBDIR := ../../lib - -RULES_MAK := $(PJDIR)/build/rules.mak - -export SRTP_LIB := ../../lib/libsrtp-$(TARGET_NAME)$(LIBEXT) - -############################################################################### -# Gather all flags. -# -export _CFLAGS := $(CC_INC). $(CC_INC)../../srtp/crypto/include \ - $(CC_INC)../../srtp/include \ - $(CC_INC)../../../pjlib/include \ - $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \ - $(CFLAGS) -export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \ - $(HOST_CXXFLAGS) $(CXXFLAGS) -export _LDFLAGS := $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \ - $(LDFLAGS) - -# libcrypt.a (the crypto engine) -ciphers = crypto/cipher/cipher.o crypto/cipher/null_cipher.o \ - crypto/cipher/aes.o crypto/cipher/aes_icm.o \ - crypto/cipher/aes_cbc.o - -hashes = crypto/hash/null_auth.o crypto/hash/sha1.o \ - crypto/hash/hmac.o crypto/hash/auth.o # crypto/hash/tmmhv2.o - -replay = crypto/replay/rdb.o crypto/replay/rdbx.o \ - crypto/replay/ut_sim.o - -math = crypto/math/datatypes.o crypto/math/stat.o - -ust = crypto/ust/ust.o - -rng = crypto/rng/rand_source.o crypto/rng/prng.o crypto/rng/ctr_prng.o - -err = pjlib/srtp_err.o - -kernel = crypto/kernel/crypto_kernel.o crypto/kernel/alloc.o \ - crypto/kernel/key.o $(rng) $(err) # $(ust) - -srtpobj = srtp/srtp.o - -cryptobj = $(ciphers) $(hashes) $(math) $(stat) $(kernel) $(replay) - -export SRTP_SRCDIR = ../../srtp -export SRTP_OBJS = $(cryptobj) $(srtpobj) -export SRTP_CFLAGS = -DHAVE_CONFIG_H $(_CFLAGS) - - -export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT -############################################################################### -# Main entry -# -# $(TARGET) is defined in os-$(OS_NAME).mak file in current directory. -# -TARGETS := libsrtp - -all: $(TARGETS) - -doc: - cd .. && doxygen docs/doxygen.cfg - -dep: depend -distclean: realclean - -.PHONY: dep depend libsrtp clean realclean distclean - -libsrtp: - $(MAKE) -f $(RULES_MAK) APP=SRTP app=libsrtp $(SRTP_LIB) - -clean print_lib: - $(MAKE) -f $(RULES_MAK) APP=SRTP app=libsrtp $@ - -realclean: - $(subst @@,$(subst /,$(HOST_PSEP),.ilbc-$(TARGET_NAME).depend),$(HOST_RMR)) - - $(MAKE) -f $(RULES_MAK) APP=SRTP app=libsrtp $@ - -depend: - $(MAKE) -f $(RULES_MAK) APP=SRTP app=libsrtp $@ - - - diff --git a/res/pjproject/third_party/build/srtp/libsrtp.vcp b/res/pjproject/third_party/build/srtp/libsrtp.vcp deleted file mode 100644 index bc0e8330b2..0000000000 --- a/res/pjproject/third_party/build/srtp/libsrtp.vcp +++ /dev/null @@ -1,20977 +0,0 @@ -# Microsoft eMbedded Visual Tools Project File - Name="libsrtp" - Package Owner=<4> -# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (WCE x86) Static Library" 0x8304 -# TARGTYPE "Win32 (WCE MIPS16) Static Library" 0x8904 -# TARGTYPE "Win32 (WCE SH4) Static Library" 0x8604 -# TARGTYPE "Win32 (WCE MIPSII) Static Library" 0xa104 -# TARGTYPE "Win32 (WCE MIPSIV_FP) Static Library" 0x9204 -# TARGTYPE "Win32 (WCE SH3) Static Library" 0x8104 -# TARGTYPE "Win32 (WCE ARMV4) Static Library" 0xa304 -# TARGTYPE "Win32 (WCE ARMV4I) Static Library" 0xa504 -# TARGTYPE "Win32 (WCE emulator) Static Library" 0xa604 -# TARGTYPE "Win32 (WCE MIPSII_FP) Static Library" 0xa204 -# TARGTYPE "Win32 (WCE ARMV4T) Static Library" 0xa404 -# TARGTYPE "Win32 (WCE MIPSIV) Static Library" 0x9604 - -CFG=libsrtp - Win32 (WCE MIPSII_FP) Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "libsrtp.vcn". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "libsrtp.vcn" CFG="libsrtp - Win32 (WCE MIPSII_FP) Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "libsrtp - Win32 (WCE MIPSII_FP) Release" (based on "Win32 (WCE MIPSII_FP) Static Library") -!MESSAGE "libsrtp - Win32 (WCE MIPSII_FP) Debug" (based on "Win32 (WCE MIPSII_FP) Static Library") -!MESSAGE "libsrtp - Win32 (WCE MIPSII) Release" (based on "Win32 (WCE MIPSII) Static Library") -!MESSAGE "libsrtp - Win32 (WCE MIPSII) Debug" (based on "Win32 (WCE MIPSII) Static Library") -!MESSAGE "libsrtp - Win32 (WCE SH4) Release" (based on "Win32 (WCE SH4) Static Library") -!MESSAGE "libsrtp - Win32 (WCE SH4) Debug" (based on "Win32 (WCE SH4) Static Library") -!MESSAGE "libsrtp - Win32 (WCE SH3) Release" (based on "Win32 (WCE SH3) Static Library") -!MESSAGE "libsrtp - Win32 (WCE SH3) Debug" (based on "Win32 (WCE SH3) Static Library") -!MESSAGE "libsrtp - Win32 (WCE MIPSIV) Release" (based on "Win32 (WCE MIPSIV) Static Library") -!MESSAGE "libsrtp - Win32 (WCE MIPSIV) Debug" (based on "Win32 (WCE MIPSIV) Static Library") -!MESSAGE "libsrtp - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "libsrtp - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Static Library") -!MESSAGE "libsrtp - Win32 (WCE ARMV4I) Release" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "libsrtp - Win32 (WCE ARMV4I) Debug" (based on "Win32 (WCE ARMV4I) Static Library") -!MESSAGE "libsrtp - Win32 (WCE MIPSIV_FP) Release" (based on "Win32 (WCE MIPSIV_FP) Static Library") -!MESSAGE "libsrtp - Win32 (WCE MIPSIV_FP) Debug" (based on "Win32 (WCE MIPSIV_FP) Static Library") -!MESSAGE "libsrtp - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "libsrtp - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Static Library") -!MESSAGE "libsrtp - Win32 (WCE MIPS16) Release" (based on "Win32 (WCE MIPS16) Static Library") -!MESSAGE "libsrtp - Win32 (WCE MIPS16) Debug" (based on "Win32 (WCE MIPS16) Static Library") -!MESSAGE "libsrtp - Win32 (WCE ARMV4T) Release" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "libsrtp - Win32 (WCE ARMV4T) Debug" (based on "Win32 (WCE ARMV4T) Static Library") -!MESSAGE "libsrtp - Win32 (WCE x86) Release" (based on "Win32 (WCE x86) Static Library") -!MESSAGE "libsrtp - Win32 (WCE x86) Debug" (based on "Win32 (WCE x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP ATL_Project 2 - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSII_FPRel" -# PROP BASE Intermediate_Dir "output\MIPSII_FPRel" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSII_FPRel" -# PROP Intermediate_Dir "output\MIPSII_FPRel" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE- /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSII_FPDbg" -# PROP BASE Intermediate_Dir "output\MIPSII_FPDbg" -# PROP BASE CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSII_FPDbg" -# PROP Intermediate_Dir "output\MIPSII_FPDbg" -# PROP CPU_ID "{D8AC856C-B213-4895-9E83-9EC51A55201E}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPSII_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE- /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIIRel" -# PROP BASE Intermediate_Dir "output\MIPSIIRel" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIIRel" -# PROP Intermediate_Dir "output\MIPSIIRel" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips2 /QMFPE /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIIDbg" -# PROP BASE Intermediate_Dir "output\MIPSIIDbg" -# PROP BASE CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIIDbg" -# PROP Intermediate_Dir "output\MIPSIIDbg" -# PROP CPU_ID "{689DDC64-9D9D-11D5-96F8-00207802C01C}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips2 /QMFPE /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\SH4Rel" -# PROP BASE Intermediate_Dir "output\SH4Rel" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\SH4Rel" -# PROP Intermediate_Dir "output\SH4Rel" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /Qsh4 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /Qsh4 /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\SH4Dbg" -# PROP BASE Intermediate_Dir "output\SH4Dbg" -# PROP BASE CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\SH4Dbg" -# PROP Intermediate_Dir "output\SH4Dbg" -# PROP CPU_ID "{D6519021-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Qsh4 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH4" /D "_SH4_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /Qsh4 /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\SH3Rel" -# PROP BASE Intermediate_Dir "output\SH3Rel" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\SH3Rel" -# PROP Intermediate_Dir "output\SH3Rel" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\SH3Dbg" -# PROP BASE Intermediate_Dir "output\SH3Dbg" -# PROP BASE CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\SH3Dbg" -# PROP Intermediate_Dir "output\SH3Dbg" -# PROP CPU_ID "{D6519020-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=shcl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIVRel" -# PROP BASE Intermediate_Dir "output\MIPSIVRel" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIVRel" -# PROP Intermediate_Dir "output\MIPSIVRel" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIVDbg" -# PROP BASE Intermediate_Dir "output\MIPSIVDbg" -# PROP BASE CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIVDbg" -# PROP Intermediate_Dir "output\MIPSIVDbg" -# PROP CPU_ID "{0B2FE524-26C5-4194-8CEF-B1582DEB5A98}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\emulatorRel" -# PROP BASE Intermediate_Dir "output\emulatorRel" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\emulatorRel" -# PROP Intermediate_Dir "output\emulatorRel" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\emulatorDbg" -# PROP BASE Intermediate_Dir "output\emulatorDbg" -# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\emulatorDbg" -# PROP Intermediate_Dir "output\emulatorDbg" -# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4IRel" -# PROP BASE Intermediate_Dir "output\ARMV4IRel" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4IRel" -# PROP Intermediate_Dir "output\ARMV4IRel" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4IDbg" -# PROP BASE Intermediate_Dir "output\ARMV4IDbg" -# PROP BASE CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4IDbg" -# PROP Intermediate_Dir "output\ARMV4IDbg" -# PROP CPU_ID "{DC70F430-E78B-494F-A9D5-62ADC56443B8}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "ARMV4I" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPSIV_FPRel" -# PROP BASE Intermediate_Dir "output\MIPSIV_FPRel" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPSIV_FPRel" -# PROP Intermediate_Dir "output\MIPSIV_FPRel" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPSIV_FPDbg" -# PROP BASE Intermediate_Dir "output\MIPSIV_FPDbg" -# PROP BASE CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPSIV_FPDbg" -# PROP Intermediate_Dir "output\MIPSIV_FPDbg" -# PROP CPU_ID "{046A430D-7770-48AB-89B5-24C2D300B03F}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "_MIPS64" /D "R4000" /D "MIPSIV" /D "MIPSIV_FP" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QMmips4 /QMn32 /QMFPE- /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4Rel" -# PROP BASE Intermediate_Dir "output\ARMV4Rel" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4Rel" -# PROP Intermediate_Dir "output\ARMV4Rel" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4Dbg" -# PROP BASE Intermediate_Dir "output\ARMV4Dbg" -# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4Dbg" -# PROP Intermediate_Dir "output\ARMV4Dbg" -# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clarm.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\MIPS16Rel" -# PROP BASE Intermediate_Dir "output\MIPS16Rel" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\MIPS16Rel" -# PROP Intermediate_Dir "output\MIPS16Rel" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\MIPS16Dbg" -# PROP BASE Intermediate_Dir "output\MIPS16Dbg" -# PROP BASE CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\MIPS16Dbg" -# PROP Intermediate_Dir "output\MIPS16Dbg" -# PROP CPU_ID "{D6519013-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clmips.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "MIPS" /D "_MIPS_" /D "R4000" /D "MIPSII" /D "MIPS16" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_MIPS16_" /D "MIPS16SUPPORT" /D "_LIB" /YX /QMmips16 /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\ARMV4TRel" -# PROP BASE Intermediate_Dir "output\ARMV4TRel" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\ARMV4TRel" -# PROP Intermediate_Dir "output\ARMV4TRel" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -# ADD CPP /nologo /W3 /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "_LIB" /YX /QRarch4T /QRinterwork-return /O2 /M$(CECrtMT) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\ARMV4TDbg" -# PROP BASE Intermediate_Dir "output\ARMV4TDbg" -# PROP BASE CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\ARMV4TDbg" -# PROP Intermediate_Dir "output\ARMV4TDbg" -# PROP CPU_ID "{F52316A9-3B7C-4FE7-A67F-68350B41240D}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=clthumb.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "ARM" /D "_ARM_" /D "$(CePlatform)" /D "THUMB" /D "_THUMB_" /D "ARMV4T" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /YX /QRarch4T /QRinterwork-return /M$(CECrtMTDebug) /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "output\X86Rel" -# PROP BASE Intermediate_Dir "output\X86Rel" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "output\X86Rel" -# PROP Intermediate_Dir "output\X86Rel" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -# ADD CPP /nologo /W3 /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /D "_LIB" /YX /Gs8192 /GF /O2 /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "output\X86Dbg" -# PROP BASE Intermediate_Dir "output\X86Dbg" -# PROP BASE CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "output\X86Dbg" -# PROP Intermediate_Dir "output\X86Dbg" -# PROP CPU_ID "{D6518FF3-710F-11D3-99F2-00105A0DF099}" -# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}" -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -# ADD CPP /nologo /W3 /Zi /Od /I "." /I "../../srtp/include" /I "../../srtp/crypto/include" /I "../../../pjlib/include" /D "DEBUG" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_LIB" /YX /Gs8192 /GF /c -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo - -!ENDIF - -# Begin Target - -# Name "libsrtp - Win32 (WCE MIPSII_FP) Release" -# Name "libsrtp - Win32 (WCE MIPSII_FP) Debug" -# Name "libsrtp - Win32 (WCE MIPSII) Release" -# Name "libsrtp - Win32 (WCE MIPSII) Debug" -# Name "libsrtp - Win32 (WCE SH4) Release" -# Name "libsrtp - Win32 (WCE SH4) Debug" -# Name "libsrtp - Win32 (WCE SH3) Release" -# Name "libsrtp - Win32 (WCE SH3) Debug" -# Name "libsrtp - Win32 (WCE MIPSIV) Release" -# Name "libsrtp - Win32 (WCE MIPSIV) Debug" -# Name "libsrtp - Win32 (WCE emulator) Release" -# Name "libsrtp - Win32 (WCE emulator) Debug" -# Name "libsrtp - Win32 (WCE ARMV4I) Release" -# Name "libsrtp - Win32 (WCE ARMV4I) Debug" -# Name "libsrtp - Win32 (WCE MIPSIV_FP) Release" -# Name "libsrtp - Win32 (WCE MIPSIV_FP) Debug" -# Name "libsrtp - Win32 (WCE ARMV4) Release" -# Name "libsrtp - Win32 (WCE ARMV4) Debug" -# Name "libsrtp - Win32 (WCE MIPS16) Release" -# Name "libsrtp - Win32 (WCE MIPS16) Debug" -# Name "libsrtp - Win32 (WCE ARMV4T) Release" -# Name "libsrtp - Win32 (WCE ARMV4T) Debug" -# Name "libsrtp - Win32 (WCE x86) Release" -# Name "libsrtp - Win32 (WCE x86) Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\srtp\srtp\srtp.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_SRTP_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\include\srtp.h"\ - "..\..\srtp\include\srtp_priv.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\pjlib\srtp_err.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_SRTP_E=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\log.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\srtp\include\getopt_s.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\include\rtp.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\include\rtp_priv.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\include\srtp.h -# End Source File -# Begin Source File - -SOURCE=.\srtp_config.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\include\srtp_priv.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\include\ut_sim.h -# End Source File -# End Group -# Begin Group "crypto" - -# PROP Default_Filter "" -# Begin Group "ae_xfm" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\..\srtp\crypto\ae_xfm\xfm.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_XFM_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "cipher" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\..\srtp\crypto\cipher\aes.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_AES_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\cipher\aes_cbc.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_AES_CB=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_cbc.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\cipher\aes_icm.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_AES_I=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\cipher\cipher.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_CIPHE=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\cipher\null_cipher.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_NULL_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_cipher.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "hash" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\..\srtp\crypto\hash\auth.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_AUTH_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\hash\hmac.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_HMAC_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\hmac.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\hash\null_auth.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_NULL_A=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\null_auth.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\hash\sha1.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_SHA1_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\sha1.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "include" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\aes.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\aes_cbc.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\aes_icm.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\alloc.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\auth.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\cipher.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\crypto.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\crypto_kernel.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\crypto_math.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\crypto_types.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\cryptoalg.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\datatypes.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\err.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\gf2_8.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\hmac.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\integers.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\kernel_compat.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\key.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\null_auth.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\null_cipher.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\prng.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\rand_source.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\rdb.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\rdbx.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\sha1.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\stat.h -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\include\xfm.h -# End Source File -# End Group -# Begin Group "kernel" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\..\srtp\crypto\kernel\alloc.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_ALLOC=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\kernel\crypto_kernel.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_CRYPT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\auth.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\crypto.h"\ - "..\..\srtp\crypto\include\crypto_kernel.h"\ - "..\..\srtp\crypto\include\crypto_types.h"\ - "..\..\srtp\crypto\include\cryptoalg.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\kernel\key.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_KEY_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\key.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "math" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\..\srtp\crypto\math\datatypes.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_DATAT=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\math\gf2_8.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_GF2_8=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\math\stat.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -!ENDIF - -# End Source File -# End Group -# Begin Group "replay" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\..\srtp\crypto\replay\rdb.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_RDB_C=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdb.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\replay\rdbx.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_RDBX_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "rng" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\..\srtp\crypto\rng\ctr_prng.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_CTR_P=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\rng\prng.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_PRNG_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\aes.h"\ - "..\..\srtp\crypto\include\aes_icm.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\cipher.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\gf2_8.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\prng.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - "..\..\srtp\crypto\include\rdbx.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\srtp\crypto\rng\rand_source.c - -!IF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Release" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII_FP) Debug" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Release" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSII) Debug" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Release" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH4) Debug" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Release" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE SH3) Debug" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Release" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV) Debug" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Release" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE emulator) Debug" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Release" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4I) Debug" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Release" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPSIV_FP) Debug" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Release" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4) Debug" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Release" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE MIPS16) Debug" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Release" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE ARMV4T) Debug" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Release" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ELSEIF "$(CFG)" == "libsrtp - Win32 (WCE x86) Debug" - -DEP_CPP_RAND_=\ - "..\..\..\pjlib\include\pj\compat\cc_armcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_codew.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_gcce.h"\ - "..\..\..\pjlib\include\pj\compat\cc_msvc.h"\ - "..\..\..\pjlib\include\pj\compat\cc_mwcc.h"\ - "..\..\..\pjlib\include\pj\compat\m_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_auto.h"\ - "..\..\..\pjlib\include\pj\compat\os_darwinos.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux.h"\ - "..\..\..\pjlib\include\pj\compat\os_linux_kernel.h"\ - "..\..\..\pjlib\include\pj\compat\os_palmos.h"\ - "..\..\..\pjlib\include\pj\compat\os_rtems.h"\ - "..\..\..\pjlib\include\pj\compat\os_sunos.h"\ - "..\..\..\pjlib\include\pj\compat\os_symbian.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32.h"\ - "..\..\..\pjlib\include\pj\compat\os_win32_wince.h"\ - "..\..\..\pjlib\include\pj\compat\size_t.h"\ - "..\..\..\pjlib\include\pj\config.h"\ - "..\..\..\pjlib\include\pj\config_site.h"\ - "..\..\..\pjlib\include\pj\config_site_sample.h"\ - "..\..\..\pjlib\include\pj\types.h"\ - "..\..\srtp\crypto\include\alloc.h"\ - "..\..\srtp\crypto\include\datatypes.h"\ - "..\..\srtp\crypto\include\err.h"\ - "..\..\srtp\crypto\include\integers.h"\ - "..\..\srtp\crypto\include\kernel_compat.h"\ - "..\..\srtp\crypto\include\rand_source.h"\ - ".\srtp_config.h"\ - - -!ENDIF - -# End Source File -# End Group -# End Group -# End Target -# End Project diff --git a/res/pjproject/third_party/build/srtp/libsrtp.vcproj b/res/pjproject/third_party/build/srtp/libsrtp.vcproj deleted file mode 100644 index 10dda44cd0..0000000000 --- a/res/pjproject/third_party/build/srtp/libsrtp.vcproj +++ /dev/null @@ -1,3025 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/third_party/build/srtp/srtp_config.h b/res/pjproject/third_party/build/srtp/srtp_config.h deleted file mode 100644 index 91c66e11a4..0000000000 --- a/res/pjproject/third_party/build/srtp/srtp_config.h +++ /dev/null @@ -1,225 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2003-2007 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef __SRTP_CONFIG_H__ -#define __SRTP_CONFIG_H__ - -#include - -/* We'll just define CISC if it's x86 family */ -#if defined (PJ_M_I386) || defined(_i386_) || defined(i_386_) || \ - defined(_X86_) || defined(x86) || defined(__i386__) || \ - defined(__i386) || defined(_M_IX86) || defined(__I86__) || \ - defined (PJ_M_X86_64) || defined(__amd64__) || defined(__amd64) || \ - defined(__x86_64__) || defined(__x86_64) || \ - defined(PJ_M_IA64) || defined(__ia64__) || defined(_IA64) || \ - defined(__IA64__) || defined(_M_IA64) -# define CPU_CISC 1 -/* # define HAVE_X86 1 use X86 inlined assembly code */ -#else -/*# define CPU_RISC 1*/ -# define CPU_CISC 1 -#endif - -/* Define to compile in dynamic debugging system. */ -#define ENABLE_DEBUGGING PJ_DEBUG - -/* Define to 1 if you have the header file. */ -#if defined(PJ_HAS_ARPA_INET_H) && PJ_HAS_ARPA_INET_H!=0 -# define HAVE_ARPA_INET_H 1 -#endif - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_BYTESWAP_H */ - -/* Define to 1 if you have the `inet_aton' function. */ -#if defined(PJ_SOCK_HAS_INET_PTON) && PJ_SOCK_HAS_INET_PTON -# define HAVE_INET_ATON 1 -#endif - - -/* Define to 1 if you have the header file. */ -#if defined(PJ_HAS_NETINET_IN_H) && PJ_HAS_NETINET_IN_H!=0 -# define HAVE_NETINET_IN_H 1 -#endif - -/* Define to 1 if you have the header file. */ -#if defined(PJ_HAS_STDLIB_H) && PJ_HAS_STDLIB_H!=0 -# define HAVE_STDLIB_H 1 -#endif - -/* Define to 1 if you have the header file. */ -#if defined(PJ_HAS_STRING_H) && PJ_HAS_STRING_H!=0 -# define HAVE_STRING_H 1 -#endif - -/* Define to 1 if you have the header file. */ -#if defined(PJ_HAS_SYS_SOCKET_H) && PJ_HAS_SYS_SOCKET_H!=0 -# define HAVE_SYS_SOCKET_H 1 -#endif - -/* Define to 1 if you have the header file. */ -#if defined(PJ_HAS_SYS_TYPES_H) && PJ_HAS_SYS_TYPES_H!=0 -# define HAVE_SYS_TYPES_H 1 -#endif - -/* Define to 1 if you have the header file. */ -/* Define to 1 if you have the `usleep' function. */ -#if defined(PJ_HAS_UNISTD_H) && PJ_HAS_UNISTD_H!=0 -# define HAVE_UNISTD_H 1 -# define HAVE_USLEEP 1 -#endif - - -/* Define to 1 if you have the header file. */ -#if defined(PJ_WIN32) && PJ_WIN32!=0 -# define HAVE_WINDOWS_H 1 -#endif - -/* Define to 1 if you have the header file. */ -#if defined(PJ_HAS_WINSOCK2_H) && PJ_HAS_WINSOCK2_H!=0 -# define HAVE_WINSOCK2_H 1 -#endif - -#define HAVE_INT16_T 1 -#define HAVE_INT32_T 1 -#define HAVE_INT8_T 1 -#define HAVE_UINT8_T 1 -#define HAVE_UINT16_T 1 -#define HAVE_UINT32_T 1 -#define HAVE_UINT64_T 1 - -/* Define to 1 if you have the header file. */ -#if defined(PJ_HAS_STDINT_H) && PJ_HAS_STDINT_H!=0 -# define HAVE_STDINT_H 1 -#else - typedef pj_uint8_t uint8_t; - typedef pj_uint16_t uint16_t; - typedef pj_uint32_t uint32_t; - typedef pj_uint64_t uint64_t; - typedef pj_int8_t int8_t; - typedef pj_int16_t int16_t; - typedef pj_int32_t int32_t; - typedef pj_int64_t int64_t; -#endif - -/* These shouldn't really matter as long as HAVE_UINT64_T is set */ -#define SIZEOF_UNSIGNED_LONG (sizeof(unsigned long)) -#define SIZEOF_UNSIGNED_LONG_LONG 8 - - -#if (_MSC_VER >= 1400) // VC8+ -# ifndef _CRT_SECURE_NO_DEPRECATE -# define _CRT_SECURE_NO_DEPRECATE -# endif -# ifndef _CRT_NONSTDC_NO_DEPRECATE -# define _CRT_NONSTDC_NO_DEPRECATE -# endif -#endif // VC8+ - -#ifdef _MSC_VER -# ifndef __cplusplus -# define inline _inline -# endif - -# pragma warning(disable:4311) -# pragma warning(disable:4761) // integral mismatch -# pragma warning(disable:4018) // signed/unsigned mismatch -# pragma warning(disable:4244) // conversion from int64 to int -# pragma warning(disable:4100) // unreferenced formal parameter -#endif - -/* clock() */ -#if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0 - /* clock() causes unresolved symbol on linking */ -# define _CLOCK_T_DEFINED -# define CLOCKS_PER_SEC 1000 -# define clock_t unsigned - - #include - static clock_t clock(void) - { - return GetTickCount(); - } -#endif - - -/* Path to random device */ -/* #define DEV_URANDOM "/dev/urandom" */ - -/* Only with PJSIP: - * Try to open PJ_DEV_URANDOM if present - */ -#if defined(PJ_HAS_FCNTL_H) && defined(PJ_HAS_UNISTD_H) -# define PJ_DEV_URANDOM "/dev/urandom" -#endif - -/* We have overridden libsrtp error mechanism, so these are not used. */ -/* #undef ERR_REPORTING_FILE */ -/* #undef ERR_REPORTING_STDOUT */ -/* #undef USE_ERR_REPORTING_FILE */ -/* #undef USE_SYSLOG */ -/* #undef HAVE_SYSLOG_H */ - - -/* Define this to use ISMAcryp code. */ -/* #undef GENERIC_AESICM */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_INTTYPES_H */ - -/* Define to 1 if you have the `socket' function. */ -/* #undef HAVE_SOCKET */ - -/* Define to 1 if you have the `socket' library (-lsocket). */ -/* #undef HAVE_LIBSOCKET */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_MACHINE_TYPES_H */ - - -/* Define to 1 if you have the header file. */ -//#define HAVE_STRINGS_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_INT_TYPES_H */ - -/* Define to use GDOI. */ -/* #undef SRTP_GDOI */ - -/* Define to compile for kernel contexts. */ -/* #undef SRTP_KERNEL */ - -/* Define to compile for Linux kernel context. */ -/* #undef SRTP_KERNEL_LINUX */ - -/* Define to 1 if you have the ANSI C header files. */ -//#define STDC_HEADERS 1 - -/* Endianness would have been set by pjlib. */ -/* #undef WORDS_BIGENDIAN */ - -/* Define to empty if `const' does not conform to ANSI C. */ -/* #undef const */ - -/* Define to `unsigned' if does not define. */ -/* #undef size_t */ - - -#endif /* __SRTP_CONFIG_H__ */ - diff --git a/res/pjproject/third_party/g7221/common/basic_op.c b/res/pjproject/third_party/g7221/common/basic_op.c deleted file mode 100644 index 028d06fe96..0000000000 --- a/res/pjproject/third_party/g7221/common/basic_op.c +++ /dev/null @@ -1,1835 +0,0 @@ -#include "config.h" - -#if !PJMEDIA_LIBG7221_FUNCS_INLINED || \ - (PJMEDIA_LIBG7221_FUNCS_INLINED && defined(__BASIC_OP_H__)) - -/*___________________________________________________________________________ - | | - | Basic arithmetic operators. | - |___________________________________________________________________________| -*/ - -/*___________________________________________________________________________ - | | - | Include-Files | - |___________________________________________________________________________| -*/ - -//#include -//#include -#include "typedef.h" -#include "basic_op.h" -#include - -#if (WMOPS) -#include "count.h" -extern BASIC_OP multiCounter[MAXCOUNTERS]; -extern int currCounter; - -#endif - -/*___________________________________________________________________________ - | | - | Constants and Globals | - |___________________________________________________________________________| -*/ -#if INCLUDE_UNSAFE -Flag g7221_Overflow = 0; -Flag g7221_Carry = 0; -#endif - -/*___________________________________________________________________________ - | | - | Functions | - |___________________________________________________________________________| -*/ -/*___________________________________________________________________________ - | | - | Function Name : shr | - | | - | Purpose : | - | | - | Arithmetically shift the 16 bit input var1 right var2 positions with | - | sign extension. If var2 is negative, arithmetically shift var1 left by | - | -var2 with sign extension. Saturate the result in case of underflows or | - | overflows. | - | | - | Complexity weight : 1 | - | | - | Inputs : | - | | - | var1 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | var2 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | var_out | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var_out <= 0x0000 7fff. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word16) shr (Word16 var1, Word16 var2) -{ - if (var2 < 0) - { - if (var2 < -16) - var2 = -16; - return shl_nocheck(var1, (Word16) -var2); - } - else - { - return shr_nocheck(var1, var2); - } -} -/* ------------------------- End of shr() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : shl | - | | - | Purpose : | - | | - | Arithmetically shift the 16 bit input var1 left var2 positions.Zero fill| - | the var2 LSB of the result. If var2 is negative, arithmetically shift | - | var1 right by -var2 with sign extension. Saturate the result in case of | - | underflows or overflows. | - | | - | Complexity weight : 1 | - | | - | Inputs : | - | | - | var1 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | var2 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | var_out | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var_out <= 0x0000 7fff. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word16) shl (Word16 var1, Word16 var2) -{ - if (var2 < 0) - { - return shr_nocheck(var1, (Word16) -var2); - } - else - { - return shl_nocheck(var1, var2); - } -} -/* ------------------------- End of shl() ------------------------- */ - - - -/*___________________________________________________________________________ - | | - | Function Name : mult | - | | - | Purpose : | - | | - | Performs the multiplication of var1 by var2 and gives a 16 bit result | - | which is scaled i.e.: | - | mult(var1,var2) = extract_l(L_shr((var1 times var2),15)) and | - | mult(-32768,-32768) = 32767. | - | | - | Complexity weight : 1 | - | | - | Inputs : | - | | - | var1 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | var2 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | var_out | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var_out <= 0x0000 7fff. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word16) mult (Word16 var1, Word16 var2) -{ - Word16 var_out; - Word32 L_product; - - L_product = (Word32) var1 *(Word32) var2; - - L_product = (L_product & (Word32) 0xffff8000L) >> 15; - - if (L_product & (Word32) 0x00010000L) - L_product = L_product | (Word32) 0xffff0000L; - - var_out = saturate (L_product); -#if (WMOPS) - multiCounter[currCounter].mult++; -#endif - return (var_out); -} -/* ------------------------- End of mult() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : L_msu | - | | - | Purpose : | - | | - | Multiply var1 by var2 and shift the result left by 1. Subtract the 32 | - | bit result to L_var3 with saturation, return a 32 bit result: | - | L_msu(L_var3,var1,var2) = L_sub(L_var3,L_mult(var1,var2)). | - | | - | Complexity weight : 1 | - | | - | Inputs : | - | | - | L_var3 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. | - | | - | var1 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | var2 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | L_var_out | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var_out <= 0x7fff ffff. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word32) L_msu (Word32 L_var3, Word16 var1, Word16 var2) -{ - Word32 L_var_out; - Word32 L_product; - - L_product = L_mult (var1, var2); -#if (WMOPS) - multiCounter[currCounter].L_mult--; -#endif - L_var_out = L_sub (L_var3, L_product); -#if (WMOPS) - multiCounter[currCounter].L_sub--; - multiCounter[currCounter].L_msu++; -#endif - return (L_var_out); -} -/* ------------------------- End of L_msu() ------------------------- */ - -#if INCLUDE_UNSAFE -/*___________________________________________________________________________ - | | - | Function Name : L_macNs | - | | - | Purpose : | - | | - | Multiply var1 by var2 and shift the result left by 1. Add the 32 bit | - | result to L_var3 without saturation, return a 32 bit result. Generate | - | carry and overflow values : | - | L_macNs(L_var3,var1,var2) = L_add_c(L_var3,L_mult(var1,var2)). | - | | - | Complexity weight : 1 | - | | - | Inputs : | - | | - | L_var3 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. | - | | - | var1 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | var2 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | L_var_out | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var_out <= 0x7fff ffff. | - | | - | Caution : | - | | - | In some cases the Carry flag has to be cleared or set before using | - | operators which take into account its value. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word32) L_macNs (Word32 L_var3, Word16 var1, Word16 var2) -{ - Word32 L_var_out; - - L_var_out = L_mult (var1, var2); -#if (WMOPS) - multiCounter[currCounter].L_mult--; -#endif - L_var_out = L_add_c (L_var3, L_var_out); -#if (WMOPS) - multiCounter[currCounter].L_add_c--; - multiCounter[currCounter].L_macNs++; -#endif - return (L_var_out); -} -#endif -/* ------------------------- End of L_macNs() ------------------------- */ - -#if INCLUDE_UNSAFE -/*___________________________________________________________________________ - | | - | Function Name : L_msuNs | - | | - | Purpose : | - | | - | Multiply var1 by var2 and shift the result left by 1. Subtract the 32 | - | bit result from L_var3 without saturation, return a 32 bit result. Ge- | - | nerate carry and overflow values : | - | L_msuNs(L_var3,var1,var2) = L_sub_c(L_var3,L_mult(var1,var2)). | - | | - | Complexity weight : 1 | - | | - | Inputs : | - | | - | L_var3 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. | - | | - | var1 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | var2 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | L_var_out | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var_out <= 0x7fff ffff. | - | | - | Caution : | - | | - | In some cases the Carry flag has to be cleared or set before using | - | operators which take into account its value. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word32) L_msuNs (Word32 L_var3, Word16 var1, Word16 var2) -{ - Word32 L_var_out; - - L_var_out = L_mult (var1, var2); -#if (WMOPS) - multiCounter[currCounter].L_mult--; -#endif - L_var_out = L_sub_c (L_var3, L_var_out); -#if (WMOPS) - multiCounter[currCounter].L_sub_c--; - multiCounter[currCounter].L_msuNs++; -#endif - return (L_var_out); -} -#endif - -/* ------------------------- End of L_msuNs() ------------------------- */ - - -#if INCLUDE_UNSAFE -/*___________________________________________________________________________ - | | - | Function Name : L_add_c | - | | - | Purpose : | - | | - | Performs 32 bits addition of the two 32 bits variables (L_var1+L_var2+C)| - | with carry. No saturation. Generate carry and Overflow values. The car- | - | ry and overflow values are binary variables which can be tested and as- | - | signed values. | - | | - | Complexity weight : 2 | - | | - | Inputs : | - | | - | L_var1 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. | - | | - | L_var2 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | L_var_out | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var_out <= 0x7fff ffff. | - | | - | Caution : | - | | - | In some cases the Carry flag has to be cleared or set before using | - | operators which take into account its value. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word32) L_add_c (Word32 L_var1, Word32 L_var2) -{ - Word32 L_var_out; - Word32 L_test; - Flag carry_int = 0; - - L_var_out = L_var1 + L_var2 + GET_CARRY(); - - L_test = L_var1 + L_var2; - - if ((L_var1 > 0) && (L_var2 > 0) && (L_test < 0)) - { - SET_OVERFLOW(1); - carry_int = 0; - } - else - { - if ((L_var1 < 0) && (L_var2 < 0)) - { - if (L_test >= 0) - { - SET_OVERFLOW(1); - carry_int = 1; - } - else - { - SET_OVERFLOW(0); - carry_int = 1; - } - } - else - { - if (((L_var1 ^ L_var2) < 0) && (L_test >= 0)) - { - SET_OVERFLOW(0); - carry_int = 1; - } - else - { - SET_OVERFLOW(0); - carry_int = 0; - } - } - } - - if (GET_CARRY()) - { - if (L_test == MAX_32) - { - SET_OVERFLOW(1); - SET_CARRY(carry_int); - } - else - { - if (L_test == (Word32) 0xFFFFFFFFL) - { - SET_CARRY(1); - } - else - { - SET_CARRY(carry_int); - } - } - } - else - { - SET_CARRY(carry_int); - } - -#if (WMOPS) - multiCounter[currCounter].L_add_c++; -#endif - return (L_var_out); -} -#endif - -/* ------------------------- End of L_add_c() ------------------------- */ - -#if INCLUDE_UNSAFE -/*___________________________________________________________________________ - | | - | Function Name : L_sub_c | - | | - | Purpose : | - | | - | Performs 32 bits subtraction of the two 32 bits variables with carry | - | (borrow) : L_var1-L_var2-C. No saturation. Generate carry and Overflow | - | values. The carry and overflow values are binary variables which can | - | be tested and assigned values. | - | | - | Complexity weight : 2 | - | | - | Inputs : | - | | - | L_var1 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. | - | | - | L_var2 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | L_var_out | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var_out <= 0x7fff ffff. | - | | - | Caution : | - | | - | In some cases the Carry flag has to be cleared or set before using | - | operators which take into account its value. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word32) L_sub_c (Word32 L_var1, Word32 L_var2) -{ - Word32 L_var_out; - Word32 L_test; - Flag carry_int = 0; - - if (GET_CARRY()) - { - SET_CARRY(0); - if (L_var2 != MIN_32) - { - L_var_out = L_add_c (L_var1, -L_var2); -#if (WMOPS) - multiCounter[currCounter].L_add_c--; -#endif - } - else - { - L_var_out = L_var1 - L_var2; - if (L_var1 > 0L) - { - SET_OVERFLOW(1); - SET_CARRY(0); - } - } - } - else - { - L_var_out = L_var1 - L_var2 - (Word32) 0X00000001L; - L_test = L_var1 - L_var2; - - if ((L_test < 0) && (L_var1 > 0) && (L_var2 < 0)) - { - SET_OVERFLOW(1); - carry_int = 0; - } - else if ((L_test > 0) && (L_var1 < 0) && (L_var2 > 0)) - { - SET_OVERFLOW(1); - carry_int = 1; - } - else if ((L_test > 0) && ((L_var1 ^ L_var2) > 0)) - { - SET_OVERFLOW(0); - carry_int = 1; - } - if (L_test == MIN_32) - { - SET_OVERFLOW(1); - SET_CARRY(carry_int); - } - else - { - SET_CARRY(carry_int); - } - } - -#if (WMOPS) - multiCounter[currCounter].L_sub_c++; -#endif - return (L_var_out); -} -#endif -/* ------------------------- End of L_sub_c() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : L_negate | - | | - | Purpose : | - | | - | Negate the 32 bit variable L_var1 with saturation; saturate in the case | - | where input is -2147483648 (0x8000 0000). | - | | - | Complexity weight : 2 | - | | - | Inputs : | - | | - | L_var1 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | L_var_out | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var_out <= 0x7fff ffff. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word32) L_negate (Word32 L_var1) -{ - Word32 L_var_out; - - L_var_out = (L_var1 == MIN_32) ? MAX_32 : -L_var1; -#if (WMOPS) - multiCounter[currCounter].L_negate++; -#endif - return (L_var_out); -} -/* ------------------------- End of L_negate() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : mult_r | - | | - | Purpose : | - | | - | Same as mult with rounding, i.e.: | - | mult_r(var1,var2) = extract_l(L_shr(((var1 * var2) + 16384),15)) and | - | mult_r(-32768,-32768) = 32767. | - | | - | Complexity weight : 2 | - | | - | Inputs : | - | | - | var1 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | var2 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | var_out | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var_out <= 0x0000 7fff. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word16) mult_r (Word16 var1, Word16 var2) -{ - Word16 var_out; - Word32 L_product_arr; - - L_product_arr = (Word32) var1 *(Word32) var2; /* product */ - L_product_arr += (Word32) 0x00004000L; /* round */ - L_product_arr &= (Word32) 0xffff8000L; - L_product_arr >>= 15; /* shift */ - - if (L_product_arr & (Word32) 0x00010000L) /* sign extend when necessary */ - { - L_product_arr |= (Word32) 0xffff0000L; - } - var_out = saturate (L_product_arr); -#if (WMOPS) - multiCounter[currCounter].mult_r++; -#endif - return (var_out); -} -/* ------------------------- End of mult_r() ------------------------- */ - - - -/*___________________________________________________________________________ - | | - | Function Name : shr_r | - | | - | Purpose : | - | | - | Same as shr(var1,var2) but with rounding. Saturate the result in case of| - | underflows or overflows : | - | - If var2 is greater than zero : | - | if (sub(shl(shr(var1,var2),1),shr(var1,sub(var2,1)))) | - | is equal to zero | - | then | - | shr_r(var1,var2) = shr(var1,var2) | - | else | - | shr_r(var1,var2) = add(shr(var1,var2),1) | - | - If var2 is less than or equal to zero : | - | shr_r(var1,var2) = shr(var1,var2). | - | | - | Complexity weight : 2 | - | | - | Inputs : | - | | - | var1 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | var2 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | var_out | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var_out <= 0x0000 7fff. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word16) shr_r (Word16 var1, Word16 var2) -{ - Word16 var_out; - - if (var2 > 15) - { - var_out = 0; - } - else - { - var_out = shr (var1, var2); -#if (WMOPS) - multiCounter[currCounter].shr--; -#endif - - if (var2 > 0) - { - if ((var1 & ((Word16) 1 << (var2 - 1))) != 0) - { - var_out++; - } - } - } -#if (WMOPS) - multiCounter[currCounter].shr_r++; -#endif - return (var_out); -} -/* ------------------------- End of shr_r() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : mac_r | - | | - | Purpose : | - | | - | Multiply var1 by var2 and shift the result left by 1. Add the 32 bit | - | result to L_var3 with saturation. Round the LS 16 bits of the result | - | into the MS 16 bits with saturation and shift the result right by 16. | - | Return a 16 bit result. | - | mac_r(L_var3,var1,var2) = round(L_mac(L_var3,var1,var2)) | - | | - | Complexity weight : 2 | - | | - | Inputs : | - | | - | L_var3 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. | - | | - | var1 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | var2 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | var_out | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0x0000 8000 <= L_var_out <= 0x0000 7fff. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word16) mac_r (Word32 L_var3, Word16 var1, Word16 var2) -{ - Word16 var_out; - - L_var3 = L_mac (L_var3, var1, var2); -#if (WMOPS) - multiCounter[currCounter].L_mac--; -#endif - L_var3 = L_add (L_var3, (Word32) 0x00008000L); -#if (WMOPS) - multiCounter[currCounter].L_add--; -#endif - var_out = extract_h (L_var3); -#if (WMOPS) - multiCounter[currCounter].extract_h--; - multiCounter[currCounter].mac_r++; -#endif - return (var_out); -} -/* ------------------------- End of mac_r() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : msu_r | - | | - | Purpose : | - | | - | Multiply var1 by var2 and shift the result left by 1. Subtract the 32 | - | bit result to L_var3 with saturation. Round the LS 16 bits of the res- | - | ult into the MS 16 bits with saturation and shift the result right by | - | 16. Return a 16 bit result. | - | msu_r(L_var3,var1,var2) = round(L_msu(L_var3,var1,var2)) | - | | - | Complexity weight : 2 | - | | - | Inputs : | - | | - | L_var3 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. | - | | - | var1 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | var2 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | var_out | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0x0000 8000 <= L_var_out <= 0x0000 7fff. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word16) msu_r (Word32 L_var3, Word16 var1, Word16 var2) -{ - Word16 var_out; - - L_var3 = L_msu (L_var3, var1, var2); -#if (WMOPS) - multiCounter[currCounter].L_msu--; -#endif - L_var3 = L_add (L_var3, (Word32) 0x00008000L); -#if (WMOPS) - multiCounter[currCounter].L_add--; -#endif - var_out = extract_h (L_var3); -#if (WMOPS) - multiCounter[currCounter].extract_h--; - multiCounter[currCounter].msu_r++; -#endif - return (var_out); -} -/* ------------------------- End of msu_r() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : L_deposit_h | - | | - | Purpose : | - | | - | Deposit the 16 bit var1 into the 16 MS bits of the 32 bit output. The | - | 16 LS bits of the output are zeroed. | - | | - | Complexity weight : 2 | - | | - | Inputs : | - | | - | var1 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | L_var_out | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= var_out <= 0x7fff 0000. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word32) L_deposit_h (Word16 var1) -{ - Word32 L_var_out; - - L_var_out = (Word32) var1 << 16; -#if (WMOPS) - multiCounter[currCounter].L_deposit_h++; -#endif - return (L_var_out); -} -/* ------------------------- End of L_deposit_h() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : L_deposit_l | - | | - | Purpose : | - | | - | Deposit the 16 bit var1 into the 16 LS bits of the 32 bit output. The | - | 16 MS bits of the output are sign extended. | - | | - | Complexity weight : 2 | - | | - | Inputs : | - | | - | var1 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | L_var_out | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0xFFFF 8000 <= var_out <= 0x0000 7fff. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word32) L_deposit_l (Word16 var1) -{ - Word32 L_var_out; - - L_var_out = (Word32) var1; -#if (WMOPS) - multiCounter[currCounter].L_deposit_l++; -#endif - return (L_var_out); -} -/* ------------------------- End of L_deposit_l() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : L_shr_r | - | | - | Purpose : | - | | - | Same as L_shr(L_var1,var2) but with rounding. Saturate the result in | - | case of underflows or overflows : | - | - If var2 is greater than zero : | - | if (L_sub(L_shl(L_shr(L_var1,var2),1),L_shr(L_var1,sub(var2,1))))| - | is equal to zero | - | then | - | L_shr_r(L_var1,var2) = L_shr(L_var1,var2) | - | else | - | L_shr_r(L_var1,var2) = L_add(L_shr(L_var1,var2),1) | - | - If var2 is less than or equal to zero : | - | L_shr_r(L_var1,var2) = L_shr(L_var1,var2). | - | | - | Complexity weight : 3 | - | | - | Inputs : | - | | - | L_var1 | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= var1 <= 0x7fff ffff. | - | | - | var2 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | L_var_out | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= var_out <= 0x7fff ffff. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word32) L_shr_r (Word32 L_var1, Word16 var2) -{ - Word32 L_var_out; - - if (var2 > 31) - { - L_var_out = 0; - } - else - { - L_var_out = L_shr (L_var1, var2); -#if (WMOPS) - multiCounter[currCounter].L_shr--; -#endif - if (var2 > 0) - { - if ((L_var1 & ((Word32) 1 << (var2 - 1))) != 0) - { - L_var_out++; - } - } - } -#if (WMOPS) - multiCounter[currCounter].L_shr_r++; -#endif - return (L_var_out); -} -/* ------------------------- End of L_shr_r() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : L_abs | - | | - | Purpose : | - | | - | Absolute value of L_var1; Saturate in case where the input is | - | -214783648 | - | | - | Complexity weight : 3 | - | | - | Inputs : | - | | - | L_var1 | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= var1 <= 0x7fff ffff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | L_var_out | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x0000 0000 <= var_out <= 0x7fff ffff. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word32) L_abs (Word32 L_var1) -{ - Word32 L_var_out; - - if (L_var1 == MIN_32) - { - L_var_out = MAX_32; - } - else - { - if (L_var1 < 0) - { - L_var_out = -L_var1; - } - else - { - L_var_out = L_var1; - } - } - -#if (WMOPS) - multiCounter[currCounter].L_abs++; -#endif - return (L_var_out); -} -/* ------------------------- End of L_abs() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : norm_s | - | | - | Purpose : | - | | - | Produces the number of left shift needed to normalize the 16 bit varia- | - | ble var1 for positive values on the interval with minimum of 16384 and | - | maximum of 32767, and for negative values on the interval with minimum | - | of -32768 and maximum of -16384; in order to normalize the result, the | - | following operation must be done : | - | norm_var1 = shl(var1,norm_s(var1)). | - | | - | Complexity weight : 15 | - | | - | Inputs : | - | | - | var1 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | var_out | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0x0000 0000 <= var_out <= 0x0000 000f. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word16) norm_s (Word16 var1) -{ - Word16 var_out; - - if (var1 == 0) - { - var_out = 0; - } - else - { - if ((UWord16)var1 == (UWord16)0xffff) - { - var_out = 15; - } - else - { - if (var1 < 0) - { - var1 = (Word16)(~var1); - } - for (var_out = 0; var1 < 0x4000; var_out++) - { - var1 <<= 1; - } - } - } - -#if (WMOPS) - multiCounter[currCounter].norm_s++; -#endif - return (var_out); -} -/* ------------------------- End of norm_s() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : div_s | - | | - | Purpose : | - | | - | Produces a result which is the fractional integer division of var1 by | - | var2; var1 and var2 must be positive and var2 must be greater or equal | - | to var1; the result is positive (leading bit equal to 0) and truncated | - | to 16 bits. | - | If var1 = var2 then div(var1,var2) = 32767. | - | | - | Complexity weight : 18 | - | | - | Inputs : | - | | - | var1 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0x0000 0000 <= var1 <= var2 and var2 != 0. | - | | - | var2 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : var1 <= var2 <= 0x0000 7fff and var2 != 0. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | var_out | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0x0000 0000 <= var_out <= 0x0000 7fff. | - | It's a Q15 value (point between b15 and b14). | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word16) div_s (Word16 var1, Word16 var2) -{ - Word16 var_out = 0; - Word16 iteration; - Word32 L_num; - Word32 L_denom; - - if ((var1 > var2) || (var1 < 0) || (var2 < 0)) - { - //printf ("Division Error var1=%d var2=%d\n", var1, var2); - //abort(); /* exit (0); */ - pj_assert(!"Division Error"); - } - if (var2 == 0) - { - //printf ("Division by 0, Fatal error \n"); - //abort(); /* exit (0); */ - assert(!"Division by 0"); - } - if (var1 == 0) - { - var_out = 0; - } - else - { - if (var1 == var2) - { - var_out = MAX_16; - } - else - { - L_num = L_deposit_l (var1); -#if (WMOPS) - multiCounter[currCounter].L_deposit_l--; -#endif - L_denom = L_deposit_l (var2); -#if (WMOPS) - multiCounter[currCounter].L_deposit_l--; -#endif - - for (iteration = 0; iteration < 15; iteration++) - { - var_out <<= 1; - L_num <<= 1; - - if (L_num >= L_denom) - { - L_num = L_sub (L_num, L_denom); -#if (WMOPS) - multiCounter[currCounter].L_sub--; -#endif - var_out = add (var_out, 1); -#if (WMOPS) - multiCounter[currCounter].add--; -#endif - } - } - } - } - -#if (WMOPS) - multiCounter[currCounter].div_s++; -#endif - return (var_out); -} -/* ------------------------- End of div_s() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : norm_l | - | | - | Purpose : | - | | - | Produces the number of left shifts needed to normalize the 32 bit varia-| - | ble L_var1 for positive values on the interval with minimum of | - | 1073741824 and maximum of 2147483647, and for negative values on the in-| - | terval with minimum of -2147483648 and maximum of -1073741824; in order | - | to normalize the result, the following operation must be done : | - | norm_L_var1 = L_shl(L_var1,norm_l(L_var1)). | - | | - | Complexity weight : 30 | - | | - | Inputs : | - | | - | L_var1 | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= var1 <= 0x7fff ffff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | var_out | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0x0000 0000 <= var_out <= 0x0000 001f. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word16) norm_l (Word32 L_var1) -{ - Word16 var_out; - - if (L_var1 == 0) - { - var_out = 0; - } - else - { - if (L_var1 == (Word32) 0xffffffffL) - { - var_out = 31; - } - else - { - if (L_var1 < 0) - { - L_var1 = ~L_var1; - } - for (var_out = 0; L_var1 < (Word32) 0x40000000L; var_out++) - { - L_var1 <<= 1; - } - } - } - -#if (WMOPS) - multiCounter[currCounter].norm_l++; -#endif - return (var_out); -} -/* ------------------------- End of norm_l() ------------------------- */ - - -/* - ***************************************************************** - Additional operators extracted from the G.723.1 Library - Adapted for WMOPS calculations - ***************************************************************** -*/ - -/*___________________________________________________________________________ - | | - | Function Name : L_mls | - | | - | Purpose : | - | | - | Multiplies a 16 bit word v by a 32 bit word Lv and returns a 32 bit | - | word (multiplying 16 by 32 bit words gives 48 bit word; the function | - | extracts the 32 MSB and shift the result to the left by 1). | - | | - | A 32 bit word can be written as | - | Lv = a + b * 2^16 | - | where a= unsigned 16 LSBs and b= signed 16 MSBs. | - | The function returns v * Lv / 2^15 which is equivalent to | - | a*v / 2^15 + b*v*2 | - | | - | Complexity weight : 6 [to be confirmed] | - | | - | Inputs : | - | | - | Lv | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= var1 <= 0x7fff ffff. | - | v | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0x8000 <= var1 <= 0x7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | var_out | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= var_out <= 0x7fff ffff. | - | | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(Word32) L_mls (Word32 Lv, Word16 v) -{ - Word32 Temp ; - - Temp = Lv & (Word32) 0x0000ffff ; - Temp = Temp * (Word32) v ; - Temp = L_shr_nocheck( Temp, (Word16) 15 ) ; - Temp = L_mac( Temp, v, extract_h(Lv) ) ; - -#if (WMOPS) - multiCounter[currCounter].L_shr--; - multiCounter[currCounter].L_mac--; - multiCounter[currCounter].extract_h--; - multiCounter[currCounter].L_mls++; -#endif - - return Temp ; -} -/* ------------------------- End of L_mls() ------------------------- */ - - -/*__________________________________________________________________________ -| | -| Function Name : div_l | -| | -| Purpose : | -| | -| Produces a result which is the fractional integer division of L_var1 by| -| var2; L_var1 and var2 must be positive and var2 << 16 must be greater or| -| equal to L_var1; the result is positive (leading bit equal to 0) and | -| truncated to 16 bits. | -| If L_var1 == var2 << 16 then div_l(L_var1,var2) = 32767. | -| | -| Complexity weight : 20 | -| | -| Inputs : | -| | -| L_var1 | -| 32 bit long signed integer (Word32) whose value falls in the | -| range : 0x0000 0000 <= var1 <= (var2 << 16) and var2 != 0. | -| L_var1 must be considered as a Q.31 value | -| | -| var2 | -| 16 bit short signed integer (Word16) whose value falls in the | -| range : var1 <= (var2<< 16) <= 0x7fff0000 and var2 != 0. | -| var2 must be considered as a Q.15 value | -| | -| Outputs : | -| | -| none | -| | -| Return Value : | -| | -| var_out | -| 16 bit short signed integer (Word16) whose value falls in the | -| range : 0x0000 0000 <= var_out <= 0x0000 7fff. | -| It's a Q15 value (point between b15 and b14). | -|___________________________________________________________________________| -*/ -LIBG7221_DEF(Word16) div_l (Word32 L_num, Word16 den) -{ - Word16 var_out = (Word16)0; - Word32 L_den; - Word16 iteration; - -#if (WMOPS) - multiCounter[currCounter].div_l++; -#endif - - if ( den == (Word16) 0 ) { - //printf("Division by 0 in div_l, Fatal error \n"); - //exit(0); - assert(!"Division by 0"); - } - - if ( (L_num < (Word32) 0) || (den < (Word16) 0) ) { - //printf("Division Error in div_l, Fatal error \n"); - //exit(0); - assert(!"Division Error"); - } - - L_den = L_deposit_h( den ) ; -#if (WMOPS) - multiCounter[currCounter].L_deposit_h--; -#endif - - if ( L_num >= L_den ){ - return MAX_16 ; - } - else { - L_num = L_shr_nocheck(L_num, (Word16)1) ; - L_den = L_shr_nocheck(L_den, (Word16)1); -#if (WMOPS) - multiCounter[currCounter].L_shr-=2; -#endif - for(iteration=(Word16)0; iteration< (Word16)15;iteration++) { - var_out = shl_nocheck( var_out, (Word16)1); - L_num = L_shl_nocheck( L_num, (Word16)1); -#if (WMOPS) - multiCounter[currCounter].shl--; - multiCounter[currCounter].L_shl--; -#endif - if (L_num >= L_den) { - L_num = L_sub(L_num,L_den); - var_out = add(var_out, (Word16)1); -#if (WMOPS) - multiCounter[currCounter].L_sub--; - multiCounter[currCounter].add--; -#endif - } - } - - return var_out; - } -} -/* ------------------------- End of div_l() ------------------------- */ - - -/*__________________________________________________________________________ -| | -| Function Name : i_mult | -| | -| Purpose : | -| | -| Integer 16-bit multiplication. No overflow protection is performed if | -| ORIGINAL_G7231 is defined. | -| | -| Complexity weight : TBD | -| | -| Inputs : | -| | -| a | -| 16 bit short signed integer (Word16). | -| | -| b | -| 16 bit short signed integer (Word16). | -| | -| Outputs : | -| | -| none | -| | -| Return Value : | -| | -| 16 bit short signed integer (Word16). No overflow checks | -| are performed if ORIGINAL_G7231 is defined. | -|___________________________________________________________________________| -*/ -LIBG7221_DEF(Word16) i_mult (Word16 a, Word16 b) -{ -#ifdef ORIGINAL_G7231 - return a*b ; -#else - Word32 register c=a*b; -#if (WMOPS) - multiCounter[currCounter].i_mult++; -#endif - return saturate(c) ; -#endif -} -/* ------------------------- End of i_mult() ------------------------- */ - - -/* - ********************************************************************** - The following three operators are not part of the original - G.729/G.723.1 set of basic operators and implement shiftless - accumulation operation. - ********************************************************************** -*/ - -/*___________________________________________________________________________ - | - | Function Name : L_mult0 - | - | Purpose : - | - | L_mult0 is the 32 bit result of the multiplication of var1 times var2 - | without one left shift. - | - | Complexity weight : 1 - | - | Inputs : - | - | var1 16 bit short signed integer (Word16) whose value falls in the - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. - | - | var2 16 bit short signed integer (Word16) whose value falls in the - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. - | - | Return Value : - | - | L_var_out - | 32 bit long signed integer (Word32) whose value falls in the - | range : 0x8000 0000 <= L_var_out <= 0x7fff ffff. - |___________________________________________________________________________ -*/ -LIBG7221_DEF(Word32) L_mult0 (Word16 var1,Word16 var2) -{ - Word32 L_var_out; - - L_var_out = (Word32)var1 * (Word32)var2; - -#if (WMOPS) - multiCounter[currCounter].L_mult0++; -#endif - return(L_var_out); -} -/* ------------------------- End of L_mult0() ------------------------- */ - - -/*___________________________________________________________________________ - | - | Function Name : L_mac0 - | - | Purpose : - | - | Multiply var1 by var2 (without left shift) and add the 32 bit result to - | L_var3 with saturation, return a 32 bit result: - | L_mac0(L_var3,var1,var2) = L_add(L_var3,(L_mult0(var1,var2)). - | - | Complexity weight : 1 - | - | Inputs : - | - | L_var3 32 bit long signed integer (Word32) whose value falls in the - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. - | - | var1 16 bit short signed integer (Word16) whose value falls in the - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. - | - | var2 16 bit short signed integer (Word16) whose value falls in the - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. - | - | Return Value : - | - | L_var_out - | 32 bit long signed integer (Word32) whose value falls in the - | range : 0x8000 0000 <= L_var_out <= 0x7fff ffff. - |___________________________________________________________________________ -*/ -LIBG7221_DEF(Word32) L_mac0 (Word32 L_var3, Word16 var1, Word16 var2) -{ - Word32 L_var_out; - Word32 L_product; - - L_product = L_mult0(var1,var2); - L_var_out = L_add(L_var3,L_product); - -#if (WMOPS) - multiCounter[currCounter].L_mac0++; - multiCounter[currCounter].L_mult0--; - multiCounter[currCounter].L_add--; -#endif - return(L_var_out); -} -/* ------------------------- End of L_mac0() ------------------------- */ - - -/*___________________________________________________________________________ - | - | Function Name : L_msu0 - | - | Purpose : - | - | Multiply var1 by var2 (without left shift) and subtract the 32 bit - | result to L_var3 with saturation, return a 32 bit result: - | L_msu0(L_var3,var1,var2) = L_sub(L_var3,(L_mult0(var1,var2)). - | - | Complexity weight : 1 - | - | Inputs : - | - | L_var3 32 bit long signed integer (Word32) whose value falls in the - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. - | - | var1 16 bit short signed integer (Word16) whose value falls in the - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. - | - | var2 16 bit short signed integer (Word16) whose value falls in the - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. - | - | Return Value : - | - | L_var_out - | 32 bit long signed integer (Word32) whose value falls in the - | range : 0x8000 0000 <= L_var_out <= 0x7fff ffff. - |___________________________________________________________________________ -*/ -LIBG7221_DEF(Word32) L_msu0 (Word32 L_var3, Word16 var1, Word16 var2) -{ - Word32 L_var_out; - Word32 L_product; - - L_product = L_mult0(var1,var2); - L_var_out = L_sub(L_var3,L_product); - -#if (WMOPS) - multiCounter[currCounter].L_msu0++; - multiCounter[currCounter].L_mult0--; - multiCounter[currCounter].L_sub--; -#endif - return(L_var_out); -} -/* ------------------------- End of L_msu0() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : LU_shl | - | | - | Purpose : | - | | - | Arithmetically shift the 32 bit input L_var1 left var2 positions. Zero | - | fill the var2 LSB of the result. If var2 is negative, arithmetically | - | shift L_var1 right by -var2 with sign extension. Saturate the result in | - | case of underflows or overflows. | - | | - | Complexity weight : 2 | - | | - | Inputs : | - | | - | L_var1 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. | - | | - | var2 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | L_var_out | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var_out <= 0x7fff ffff. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(UWord32) LU_shl (UWord32 L_var1, Word16 var2) -{ - Word16 neg_var2; - UWord32 L_var_out = 0; - - if (var2 <= 0) - { - if (var2 < -32) - var2 = -32; - neg_var2 = negate(var2); - L_var_out = LU_shr (L_var1, neg_var2); -#if (WMOPS) - multiCounter[currCounter].negate--; - multiCounter[currCounter].LU_shr--; -#endif - } - else - { - for (; var2 > 0; var2--) - { - if (L_var1 > (UWord32) 0X7fffffffL) - { - SET_OVERFLOW(1); - L_var_out = UMAX_32; - break; - } - else - { - if (L_var1 < (UWord32) 0x00000001L) - { - SET_OVERFLOW(1); - L_var_out = (UWord32)MIN_32; - break; - } - } - L_var1 *= 2; - L_var_out = L_var1; - } - } -#if (WMOPS) - multiCounter[currCounter].LU_shl++; -#endif - return (L_var_out); -} -/* ------------------------- End of LU_shl() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : LU_shr | - | | - | Purpose : | - | | - | Arithmetically shift the 32 bit input L_var1 right var2 positions with | - | sign extension. If var2 is negative, arithmetically shift L_var1 left | - | by -var2 and zero fill the -var2 LSB of the result. Saturate the result | - | in case of underflows or overflows. | - | | - | Complexity weight : 2 | - | | - | Inputs : | - | | - | L_var1 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. | - | | - | var2 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | L_var_out | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var_out <= 0x7fff ffff. | - |___________________________________________________________________________| -*/ -LIBG7221_DEF(UWord32) LU_shr (UWord32 L_var1, Word16 var2) -{ - Word16 neg_var2; - UWord32 L_var_out; - - if (var2 < 0) - { - if (var2 < -32) - var2 = -32; - neg_var2 = negate(var2); - L_var_out = LU_shl (L_var1, neg_var2); -#if (WMOPS) - multiCounter[currCounter].negate--; - multiCounter[currCounter].LU_shl--; -#endif - } - else - { - if (var2 >= 32) - { - L_var_out = 0L; - } - else - { - L_var_out = L_var1 >> var2; - } - } -#if (WMOPS) - multiCounter[currCounter].LU_shr++; -#endif - return (L_var_out); -} -/* ------------------------- End of LU_shr() ------------------------- */ - -#endif /* PJMEDIA_LIBG7221_FUNCS_INLINED */ - -/* ************************** END OF BASOP32.C ************************** */ diff --git a/res/pjproject/third_party/g7221/common/basic_op.h b/res/pjproject/third_party/g7221/common/basic_op.h deleted file mode 100644 index 45104d1ce1..0000000000 --- a/res/pjproject/third_party/g7221/common/basic_op.h +++ /dev/null @@ -1,117 +0,0 @@ -#ifndef __BASIC_OP_H__ -#define __BASIC_OP_H__ - -#include "config.h" - -/*___________________________________________________________________________ - | | - | Constants and Globals | - |___________________________________________________________________________| -*/ - -#define MAX_32 (Word32)0x7fffffffL -#define MIN_32 (Word32)0x80000000L - -#define MAX_16 (Word16)0x7fff -#define MIN_16 (Word16)(pj_uint16_t)0x8000 - -#define UMAX_32 (UWord32)0xffffffffL -#define UMIN_32 (UWord32)0x00000000L - -/*___________________________________________________________________________ - | | - | Prototypes for basic arithmetic operators | - |___________________________________________________________________________| -*/ - -PJ_INLINE(Word16) add (Word16 var1, Word16 var2); /* Short add, 1 */ -PJ_INLINE(Word16) sub (Word16 var1, Word16 var2); /* Short sub, 1 */ -PJ_INLINE(Word16) abs_s (Word16 var1); /* Short abs, 1 */ -LIBG7221_DECL(Word16) shl (Word16 var1, Word16 var2); /* Short shift left, 1 */ -PJ_INLINE(Word16) shl_nocheck(Word16 var1, Word16 var2); -LIBG7221_DECL(Word16) shr (Word16 var1, Word16 var2); /* Short shift right, 1 */ -PJ_INLINE(Word16) shr_nocheck(Word16 var1, Word16 var2); -LIBG7221_DECL(Word16) mult (Word16 var1, Word16 var2); /* Short mult, 1 */ -PJ_INLINE(Word32) L_mult (Word16 var1, Word16 var2); /* Long mult, 1 */ -PJ_INLINE(Word16) negate (Word16 var1); /* Short negate, 1 */ -PJ_INLINE(Word16) extract_h (Word32 L_var1); /* Extract high, 1 */ -PJ_INLINE(Word16) extract_l (Word32 L_var1); /* Extract low, 1 */ -PJ_INLINE(Word16) itu_round (Word32 L_var1); /* Round, 1 */ -PJ_INLINE(Word32) L_mac (Word32 L_var3, Word16 var1, Word16 var2); /* Mac, 1 */ -LIBG7221_DECL(Word32) L_msu (Word32 L_var3, Word16 var1, Word16 var2); /* Msu, 1 */ -LIBG7221_DECL(Word32) L_macNs (Word32 L_var3, Word16 var1, Word16 var2); /* Mac without - sat, 1 */ -LIBG7221_DECL(Word32) L_msuNs (Word32 L_var3, Word16 var1, Word16 var2); /* Msu without - sat, 1 */ -//PJ_INLINE(Word32) L_add (Word32 L_var1, Word32 L_var2); /* Long add, 2 */ -PJ_INLINE(Word32) L_sub (Word32 L_var1, Word32 L_var2); /* Long sub, 2 */ -LIBG7221_DECL(Word32) L_add_c (Word32 L_var1, Word32 L_var2); /* Long add with c, 2 */ -LIBG7221_DECL(Word32) L_sub_c (Word32 L_var1, Word32 L_var2); /* Long sub with c, 2 */ -LIBG7221_DECL(Word32) L_negate (Word32 L_var1); /* Long negate, 2 */ -LIBG7221_DECL(Word16) mult_r (Word16 var1, Word16 var2); /* Mult with round, 2 */ -PJ_INLINE(Word32) L_shl (Word32 L_var1, Word16 var2); /* Long shift left, 2 */ -PJ_INLINE(Word32) L_shr (Word32 L_var1, Word16 var2); /* Long shift right, 2*/ -LIBG7221_DECL(Word16) shr_r (Word16 var1, Word16 var2); /* Shift right with - round, 2 */ -LIBG7221_DECL(Word16) mac_r (Word32 L_var3, Word16 var1, Word16 var2); /* Mac with - rounding,2 */ -LIBG7221_DECL(Word16) msu_r (Word32 L_var3, Word16 var1, Word16 var2); /* Msu with - rounding,2 */ -LIBG7221_DECL(Word32) L_deposit_h (Word16 var1); /* 16 bit var1 -> MSB, 2 */ -LIBG7221_DECL(Word32) L_deposit_l (Word16 var1); /* 16 bit var1 -> LSB, 2 */ - -LIBG7221_DECL(Word32) L_shr_r (Word32 L_var1, Word16 var2); /* Long shift right with - round, 3 */ -LIBG7221_DECL(Word32) L_abs (Word32 L_var1); /* Long abs, 3 */ -LIBG7221_DECL(Word32) L_sat (Word32 L_var1); /* Long saturation, 4 */ -LIBG7221_DECL(Word16) norm_s (Word16 var1); /* Short norm, 15 */ -LIBG7221_DECL(Word16) div_s (Word16 var1, Word16 var2); /* Short division, 18 */ -LIBG7221_DECL(Word16) norm_l (Word32 L_var1); /* Long norm, 30 */ - -/* - Additional G.723.1 operators -*/ -LIBG7221_DECL(Word32) L_mls( Word32, Word16 ) ; /* Weight FFS; currently assigned 1 */ -LIBG7221_DECL(Word16) div_l( Word32, Word16 ) ; /* Weight FFS; currently assigned 1 */ -LIBG7221_DECL(Word16) i_mult(Word16 a, Word16 b); /* Weight FFS; currently assigned 1 */ - -/* - New shiftless operators, not used in G.729/G.723.1 -*/ -LIBG7221_DECL(Word32) L_mult0(Word16 v1, Word16 v2); /* 32-bit Multiply w/o shift 1 */ -LIBG7221_DECL(Word32) L_mac0(Word32 L_v3, Word16 v1, Word16 v2); /* 32-bit Mac w/o shift 1 */ -LIBG7221_DECL(Word32) L_msu0(Word32 L_v3, Word16 v1, Word16 v2); /* 32-bit Msu w/o shift 1 */ - -/* - Additional G.722.1 operators -*/ -LIBG7221_DECL(UWord32) LU_shl (UWord32 L_var1, Word16 var2); -LIBG7221_DECL(UWord32) LU_shr (UWord32 L_var1, Word16 var2); - -#define INCLUDE_UNSAFE 0 - -/* Local */ -PJ_INLINE(Word16) saturate (Word32 L_var1); - -#if INCLUDE_UNSAFE - extern Flag g7221_Overflow; - extern Flag g7221_Carry; -# define SET_OVERFLOW(n) g7221_Overflow = n -# define SET_CARRY(n) g7221_Carry = n - -#else -# define SET_OVERFLOW(n) -# define SET_CARRY(n) -# define GET_OVERFLOW() 0 -# define GET_CARRY() 0 -#endif - -#include "basic_op_i.h" - -#if PJMEDIA_LIBG7221_FUNCS_INLINED -# include "basic_op.c" -#endif - -#endif /* __BASIC_OP_H__ */ - - diff --git a/res/pjproject/third_party/g7221/common/basic_op_i.h b/res/pjproject/third_party/g7221/common/basic_op_i.h deleted file mode 100644 index d6906237b1..0000000000 --- a/res/pjproject/third_party/g7221/common/basic_op_i.h +++ /dev/null @@ -1,730 +0,0 @@ -/*___________________________________________________________________________ - | | - | Function Name : extract_h | - | | - | Purpose : | - | | - | Return the 16 MSB of L_var1. | - | | - | Complexity weight : 1 | - | | - | Inputs : | - | | - | L_var1 | - | 32 bit long signed integer (Word32 ) whose value falls in the | - | range : 0x8000 0000 <= L_var1 <= 0x7fff ffff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | var_out | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var_out <= 0x0000 7fff. | - |___________________________________________________________________________| -*/ -PJ_INLINE(Word16) extract_h (Word32 L_var1) -{ - return (Word16) (L_var1 >> 16); -} -/* ------------------------- End of extract_h() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : extract_l | - | | - | Purpose : | - | | - | Return the 16 LSB of L_var1. | - | | - | Complexity weight : 1 | - | | - | Inputs : | - | | - | L_var1 | - | 32 bit long signed integer (Word32 ) whose value falls in the | - | range : 0x8000 0000 <= L_var1 <= 0x7fff ffff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | var_out | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var_out <= 0x0000 7fff. | - |___________________________________________________________________________| -*/ -PJ_INLINE(Word16) extract_l (Word32 L_var1) -{ - return (Word16) L_var1; -} - -/* ------------------------- End of extract_l() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : saturate | - | | - | Purpose : | - | | - | Limit the 32 bit input to the range of a 16 bit word. | - | | - | Inputs : | - | | - | L_var1 | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var1 <= 0x7fff ffff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | var_out | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var_out <= 0x0000 7fff. | - |___________________________________________________________________________| -*/ -PJ_INLINE(Word16) saturate (Word32 L_var1) -{ - Word16 val16 = (Word16) L_var1; - - if (val16 == L_var1) - return val16; - - if (L_var1 > MAX_16) - return MAX_16; - return MIN_16; -} -/* ------------------------- End of saturate() ------------------------- */ - - -#if PJ_HAS_INT64 -PJ_INLINE(Word32) L_saturate (pj_int64_t LL_var1) -{ - pj_int32_t L_var1 = (pj_int32_t)LL_var1; - if (LL_var1 == L_var1) - return L_var1; - else if (LL_var1 > MAX_32) - return MAX_32; - else - return MIN_32; -} -#endif - - -/*___________________________________________________________________________ - | | - | Function Name : add | - | | - | Purpose : | - | | - | Performs the addition (var1+var2) with overflow control and saturation;| - | the 16 bit result is set at +32767 when overflow occurs or at -32768 | - | when underflow occurs. | - | | - | Complexity weight : 1 | - | | - | Inputs : | - | | - | var1 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | var2 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | var_out | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var_out <= 0x0000 7fff. | - |___________________________________________________________________________| -*/ -PJ_INLINE(Word16) add (Word16 var1, Word16 var2) -{ - return saturate (var1 + var2); -} -/* ------------------------- End of add() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : sub | - | | - | Purpose : | - | | - | Performs the subtraction (var1+var2) with overflow control and satu- | - | ration; the 16 bit result is set at +32767 when overflow occurs or at | - | -32768 when underflow occurs. | - | | - | Complexity weight : 1 | - | | - | Inputs : | - | | - | var1 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | var2 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | var_out | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var_out <= 0x0000 7fff. | - |___________________________________________________________________________| -*/ -PJ_INLINE(Word16) sub (Word16 var1, Word16 var2) -{ - return saturate ((Word32) var1 - var2); -} -/* ------------------------- End of sub() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : negate | - | | - | Purpose : | - | | - | Negate var1 with saturation, saturate in the case where input is -32768:| - | negate(var1) = sub(0,var1). | - | | - | Complexity weight : 1 | - | | - | Inputs : | - | | - | var1 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | var_out | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var_out <= 0x0000 7fff. | - |___________________________________________________________________________| -*/ -PJ_INLINE(Word16) negate (Word16 var1) -{ - return (Word16)((var1 == MIN_16) ? MAX_16 : -var1); -} -/* ------------------------- End of negate() ------------------------- */ - - - - -/*___________________________________________________________________________ - | | - | Function Name : L_add | - | | - | Purpose : | - | | - | 32 bits addition of the two 32 bits variables (L_var1+L_var2) with | - | overflow control and saturation; the result is set at +2147483647 when | - | overflow occurs or at -2147483648 when underflow occurs. | - | | - | Complexity weight : 2 | - | | - | Inputs : | - | | - | L_var1 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. | - | | - | L_var2 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | L_var_out | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var_out <= 0x7fff ffff. | - |___________________________________________________________________________| -*/ -PJ_INLINE(Word32) L_add (Word32 L_var1, Word32 L_var2) -{ -#if PJ_HAS_INT64 - return L_saturate(((pj_int64_t)L_var1) + L_var2); -#else - Word32 L_var_out; - - L_var_out = L_var1 + L_var2; - - if (((L_var1 ^ L_var2) & MIN_32) == 0) - { - if ((L_var_out ^ L_var1) & MIN_32) - { - SET_OVERFLOW(1); - L_var_out = (L_var1 < 0) ? MIN_32 : MAX_32; - } - } - return (L_var_out); -#endif -} - -/* ------------------------- End of L_add() ------------------------- */ - - - - -/*___________________________________________________________________________ - | | - | Function Name : L_sub | - | | - | Purpose : | - | | - | 32 bits subtraction of the two 32 bits variables (L_var1-L_var2) with | - | overflow control and saturation; the result is set at +2147483647 when | - | overflow occurs or at -2147483648 when underflow occurs. | - | | - | Complexity weight : 2 | - | | - | Inputs : | - | | - | L_var1 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. | - | | - | L_var2 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | L_var_out | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var_out <= 0x7fff ffff. | - |___________________________________________________________________________| -*/ -PJ_INLINE(Word32) L_sub (Word32 L_var1, Word32 L_var2) -{ -#if PJ_HAS_INT64 - return L_saturate((pj_int64_t)L_var1 - L_var2); -#else - Word32 L_var_out; - - L_var_out = L_var1 - L_var2; - - if (((L_var1 ^ L_var2) & MIN_32) != 0) - { - if ((L_var_out ^ L_var1) & MIN_32) - { - L_var_out = (L_var1 < 0L) ? MIN_32 : MAX_32; - SET_OVERFLOW(1); - } - } - return (L_var_out); -#endif -} -/* ------------------------- End of L_sub() ------------------------- */ - -/*___________________________________________________________________________ - | | - | Function Name : L_mult | - | | - | Purpose : | - | | - | L_mult is the 32 bit result of the multiplication of var1 times var2 | - | with one shift left i.e.: | - | L_mult(var1,var2) = L_shl((var1 times var2),1) and | - | L_mult(-32768,-32768) = 2147483647. | - | | - | Complexity weight : 1 | - | | - | Inputs : | - | | - | var1 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | var2 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | L_var_out | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var_out <= 0x7fff ffff. | - |___________________________________________________________________________| -*/ -PJ_INLINE(Word32) L_mult (Word16 var1, Word16 var2) -{ - Word32 L_var_out; - - L_var_out = (Word32) var1 *(Word32) var2; - - if (L_var_out != (Word32) 0x40000000L) - { - return L_var_out << 1; - } - else - { - SET_OVERFLOW(1); - return MAX_32; - } -} -/* ------------------------- End of L_mult() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : L_mac | - | | - | Purpose : | - | | - | Multiply var1 by var2 and shift the result left by 1. Add the 32 bit | - | result to L_var3 with saturation, return a 32 bit result: | - | L_mac(L_var3,var1,var2) = L_add(L_var3,L_mult(var1,var2)). | - | | - | Complexity weight : 1 | - | | - | Inputs : | - | | - | L_var3 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. | - | | - | var1 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | var2 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | L_var_out | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var_out <= 0x7fff ffff. | - |___________________________________________________________________________| -*/ -PJ_INLINE(Word32) L_mac (Word32 L_var3, Word16 var1, Word16 var2) -{ - return L_add (L_var3, L_mult (var1, var2)); -} -/* ------------------------- End of L_mac() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : round | - | | - | Purpose : | - | | - | Round the lower 16 bits of the 32 bit input number into the MS 16 bits | - | with saturation. Shift the resulting bits right by 16 and return the 16 | - | bit number: | - | round(L_var1) = extract_h(L_add(L_var1,32768)) | - | | - | Complexity weight : 1 | - | | - | Inputs : | - | | - | L_var1 | - | 32 bit long signed integer (Word32 ) whose value falls in the | - | range : 0x8000 0000 <= L_var1 <= 0x7fff ffff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | var_out | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var_out <= 0x0000 7fff. | - |___________________________________________________________________________| -*/ -PJ_INLINE(Word16) itu_round (Word32 L_var1) -{ - return extract_h (L_add (L_var1, (Word32) 0x00008000L)); -} -/* ------------------------- End of round() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : L_shr | - | | - | Purpose : | - | | - | Arithmetically shift the 32 bit input L_var1 right var2 positions with | - | sign extension. If var2 is negative, arithmetically shift L_var1 left | - | by -var2 and zero fill the -var2 LSB of the result. Saturate the result | - | in case of underflows or overflows. | - | | - | Complexity weight : 2 | - | | - | Inputs : | - | | - | L_var1 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. | - | | - | var2 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | L_var_out | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var_out <= 0x7fff ffff. | - |___________________________________________________________________________| -*/ -PJ_INLINE(Word32) L_shr_nocheck(Word32 L_var1, Word16 var2) -{ -#if 1 - return L_var1 >> var2; -#else - if (var2 >= 31) - { - return (L_var1 < 0L) ? -1 : 0; - } - else - { - if (L_var1 < 0) - { - return ~((~L_var1) >> var2); - } - else - { - return L_var1 >> var2; - } - } -#endif -} - -PJ_INLINE(Word32) L_shl_nocheck (Word32 L_var1, Word16 var2) -{ -#if PJ_HAS_INT64 - return L_saturate( ((pj_int64_t)L_var1) << var2 ); -#else - for (; var2 > 0; var2--) - { - if (L_var1 > (Word32) 0X3fffffffL) - { - SET_OVERFLOW(1); - return MAX_32; - } - else - { - if (L_var1 < (Word32) 0xc0000000L) - { - SET_OVERFLOW(1); - return MIN_32; - } - } - L_var1 <<= 1; - } - return (L_var1); -#endif -} - -PJ_INLINE(Word32) L_shr (Word32 L_var1, Word16 var2) -{ - if (var2 < 0) - { - if (var2 < -32) - var2 = -32; - return L_shl_nocheck (L_var1, (Word16) -var2); - } - else - { - return L_shr_nocheck(L_var1, var2); - } -} -/* ------------------------- End of L_shr() ------------------------- */ - -/*___________________________________________________________________________ - | | - | Function Name : L_shl | - | | - | Purpose : | - | | - | Arithmetically shift the 32 bit input L_var1 left var2 positions. Zero | - | fill the var2 LSB of the result. If var2 is negative, arithmetically | - | shift L_var1 right by -var2 with sign extension. Saturate the result in | - | case of underflows or overflows. | - | | - | Complexity weight : 2 | - | | - | Inputs : | - | | - | L_var1 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var3 <= 0x7fff ffff. | - | | - | var2 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | L_var_out | - | 32 bit long signed integer (Word32) whose value falls in the | - | range : 0x8000 0000 <= L_var_out <= 0x7fff ffff. | - |___________________________________________________________________________| -*/ -PJ_INLINE(Word32) L_shl (Word32 L_var1, Word16 var2) -{ - if (var2 <= 0) - { - if (var2 < -32) - var2 = -32; - return L_shr_nocheck(L_var1, (Word16) -var2); - } - else - { - return L_shl_nocheck(L_var1, var2); - } -} -/* ------------------------- End of L_shl() ------------------------- */ - - -/*___________________________________________________________________________ - | | - | Function Name : abs_s | - | | - | Purpose : | - | | - | Absolute value of var1; abs_s(-32768) = 32767. | - | | - | Complexity weight : 1 | - | | - | Inputs : | - | | - | var1 | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0xffff 8000 <= var1 <= 0x0000 7fff. | - | | - | Outputs : | - | | - | none | - | | - | Return Value : | - | | - | var_out | - | 16 bit short signed integer (Word16) whose value falls in the | - | range : 0x0000 0000 <= var_out <= 0x0000 7fff. | - |___________________________________________________________________________| -*/ -PJ_INLINE(Word16) abs_s (Word16 var1) -{ -#if 1 - if (var1 >= 0) - return var1; - else if (var1 == MIN_16) - return MAX_16; - else - return (Word16)-var1; -#else - if (var1 == MIN_16) - { - return MAX_16; - } - else - { - if (var1 < 0) - { - return (Word16)-var1; - } - else - { - return var1; - } - } -#endif -} -/* ------------------------- End of abs_s() ------------------------- */ - - -PJ_INLINE(Word16) shl_nocheck(Word16 var1, Word16 var2) -{ -#if 1 - /* blp: this should be more optimized */ - return saturate (((Word32)var1) << var2); -#else - /* Original algorithm */ - Word32 result = (Word32) var1 *((Word32) 1 << var2); - - if ((var2 > 15 && var1 != 0) || (result != (Word32) ((Word16) result))) - { - SET_OVERFLOW(1); - return (Word16) ((var1 > 0) ? MAX_16 : MIN_16); - } - else - { - return extract_l (result); - } -#endif -} - -PJ_INLINE(Word16) shr_nocheck(Word16 var1, Word16 var2) -{ -#if 1 - /* blp: this should yield the same value */ - return (Word16) (var1 >> var2); -#else - /* Original algorithm */ - if (var2 >= 15) - { - return (Word16)((var1 < 0) ? -1 : 0); - } - else - { - if (var1 < 0) - { - return (Word16) (~((~var1) >> var2)); - } - else - { - return (Word16)(var1 >> var2); - } - } -#endif -} diff --git a/res/pjproject/third_party/g7221/common/common.c b/res/pjproject/third_party/g7221/common/common.c deleted file mode 100644 index d5eed81050..0000000000 --- a/res/pjproject/third_party/g7221/common/common.c +++ /dev/null @@ -1,461 +0,0 @@ -/**************************************************************************************** -** -** ITU-T G.722.1 (2005-05) - Fixed point implementation for main body and Annex C -** > Software Release 2.1 (2008-06) -** (Simple repackaging; no change from 2005-05 Release 2.0 code) -** -** © 2004 Polycom, Inc. -** -** All rights reserved. -** -****************************************************************************************/ - -/**************************************************************************************** - Filename: common.c - - Purpose: Contains the functions used for both G.722.1 Annex C encoder and decoder - - Design Notes: - -****************************************************************************************/ -/**************************************************************************************** - Include files -****************************************************************************************/ -#include "defs.h" -#include "huff_def.h" -#include "huff_tab.h" -#include "tables.h" -#include "count.h" - -/**************************************************************************************** - Function: categorize - - Syntax: void categorize(Word16 number_of_available_bits, - Word16 number_of_regions, - Word16 num_categorization_control_possibilities, - Word16 rms_index, - Word16 power_categories, - Word16 category_balances) - - inputs: number_of_regions - num_categorization_control_possibilities - number_of_available_bits - rms_index[MAX_NUMBER_OF_REGIONS] - - outputs: power_categories[MAX_NUMBER_OF_REGIONS] - category_balances[MAX_NUM_CATEGORIZATION_CONTROL_POSSIBILITIES-1] - - Description: Computes a series of categorizations - - WMOPS: 7kHz | 24kbit | 32kbit - -------|--------------|---------------- - AVG | 0.14 | 0.14 - -------|--------------|---------------- - MAX | 0.15 | 0.15 - -------|--------------|---------------- - - 14kHz | 24kbit | 32kbit | 48kbit - -------|--------------|----------------|---------------- - AVG | 0.42 | 0.45 | 0.48 - -------|--------------|----------------|---------------- - MAX | 0.47 | 0.52 | 0.52 - -------|--------------|----------------|---------------- - -****************************************************************************************/ -void categorize(Word16 number_of_available_bits, - Word16 number_of_regions, - Word16 num_categorization_control_possibilities, - Word16 *rms_index, - Word16 *power_categories, - Word16 *category_balances) -{ - - Word16 offset; - Word16 temp; - Word16 frame_size; - - /* At higher bit rates, there is an increase for most categories in average bit - consumption per region. We compensate for this by pretending we have fewer - available bits. */ - test(); - if (number_of_regions == NUMBER_OF_REGIONS) - { - frame_size = DCT_LENGTH; - } - else - { - frame_size = MAX_DCT_LENGTH; - } - - temp = sub(number_of_available_bits,frame_size); - - test(); - if (temp > 0) - { - number_of_available_bits = sub(number_of_available_bits,frame_size); - number_of_available_bits = extract_l(L_mult0(number_of_available_bits,5)); - number_of_available_bits = shr_nocheck(number_of_available_bits,3); - number_of_available_bits = add(number_of_available_bits,frame_size); - } - - /* calculate the offset using the original category assignments */ - offset = calc_offset(rms_index,number_of_regions,number_of_available_bits); - - - - /* compute the power categories based on the uniform offset */ - compute_raw_pow_categories(power_categories,rms_index,number_of_regions,offset); - - - /* adjust the category assignments */ - /* compute the new power categories and category balances */ - comp_powercat_and_catbalance(power_categories,category_balances,rms_index,number_of_available_bits,number_of_regions,num_categorization_control_possibilities,offset); - -} - -/*************************************************************************** - Function: comp_powercat_and_catbalance - - Syntax: void comp_powercat_and_catbalance(Word16 *power_categories, - Word16 *category_balances, - Word16 *rms_index, - Word16 number_of_available_bits, - Word16 number_of_regions, - Word16 num_categorization_control_possibilities, - Word16 offset) - - - inputs: *rms_index - number_of_available_bits - number_of_regions - num_categorization_control_possibilities - offset - - outputs: *power_categories - *category_balances - - - Description: Computes the power_categories and the category balances - - WMOPS: 7kHz | 24kbit | 32kbit - -------|--------------|---------------- - AVG | 0.10 | 0.10 - -------|--------------|---------------- - MAX | 0.11 | 0.11 - -------|--------------|---------------- - - 14kHz | 24kbit | 32kbit | 48kbit - -------|--------------|----------------|---------------- - AVG | 0.32 | 0.35 | 0.38 - -------|--------------|----------------|---------------- - MAX | 0.38 | 0.42 | 0.43 - -------|--------------|----------------|---------------- - -***************************************************************************/ -void comp_powercat_and_catbalance(Word16 *power_categories, - Word16 *category_balances, - Word16 *rms_index, - Word16 number_of_available_bits, - Word16 number_of_regions, - Word16 num_categorization_control_possibilities, - Word16 offset) -{ - - Word16 expected_number_of_code_bits; - Word16 region; - Word16 max_region; - Word16 j; - Word16 max_rate_categories[MAX_NUMBER_OF_REGIONS]; - Word16 min_rate_categories[MAX_NUMBER_OF_REGIONS]; - Word16 temp_category_balances[2*MAX_NUM_CATEGORIZATION_CONTROL_POSSIBILITIES]; - Word16 raw_max, raw_min; - Word16 raw_max_index=0, raw_min_index=0; - Word16 max_rate_pointer, min_rate_pointer; - Word16 max, min; - Word16 itemp0; - Word16 itemp1; - Word16 min_plus_max; - Word16 two_x_number_of_available_bits; - - Word16 temp; - - expected_number_of_code_bits = 0; - move16(); - - for (region=0; region 0) - { - itemp0 = shl_nocheck(max_rate_categories[region],1); - itemp1 = sub(offset,rms_index[region]); - itemp0 = sub(itemp1,itemp0); - - temp = sub(itemp0,raw_min); - test(); - if (temp < 0) - { - raw_min = itemp0; - raw_min_index = region; - } - } - } - max_rate_pointer = sub(max_rate_pointer,1); - temp_category_balances[max_rate_pointer] = raw_min_index; - move16(); - - max = sub(max,expected_bits_table[max_rate_categories[raw_min_index]]); - max_rate_categories[raw_min_index] = sub(max_rate_categories[raw_min_index],1); - move16(); - - max = add(max,expected_bits_table[max_rate_categories[raw_min_index]]); - } - else - { - raw_max = -99; - move16(); - /* Search from highest freq regions to lowest for best region to reassign to - a lower bit rate category. */ - max_region = sub(number_of_regions,1); - for (region= max_region; region >= 0; region--) - { - temp = sub(min_rate_categories[region],(NUM_CATEGORIES-1)); - test(); - if (temp < 0) - { - itemp0 = shl_nocheck(min_rate_categories[region],1); - itemp1 = sub(offset,rms_index[region]); - itemp0 = sub(itemp1,itemp0); - - temp = sub(itemp0,raw_max); - test(); - if (temp > 0) - { - raw_max = itemp0; - move16(); - raw_max_index = region; - move16(); - } - } - } - temp_category_balances[min_rate_pointer] = raw_max_index; - move16(); - - min_rate_pointer = add(min_rate_pointer,1); - min = sub(min,expected_bits_table[min_rate_categories[raw_max_index]]); - - min_rate_categories[raw_max_index] = add(min_rate_categories[raw_max_index],1); - move16(); - - min = add(min,expected_bits_table[min_rate_categories[raw_max_index]]); - } - } - - for (region=0; region 0) - { - j = sub(NUM_CATEGORIES,1); - move16(); - } - power_cats[region] = j; - move16(); - } - bits = 0; - move16(); - - /* compute the number of bits that will be used given the cat assignments */ - for (region=0; region available_bits - 32) then divide the offset region for the bin search */ - offset = sub(available_bits,32); - temp = sub(bits,offset); - test(); - if (temp >= 0) - { - answer = test_offset; - move16(); - } - delta = shr_nocheck(delta,1); - test(); /* for the while loop */ - } while (delta > 0); - - return(answer); -} -/*************************************************************************** - Function: compute_raw_pow_categories - - Syntax: void compute_raw_pow_categories(Word16 *power_categories, - Word16 *rms_index, - Word16 number_of_regions, - Word16 offset) - inputs: *rms_index - number_of_regions - offset - - outputs: *power_categories - - - - Description: This function computes the power categories given the offset - This is kind of redundant since they were already computed - in calc_offset to determine the offset. - - WMOPS: | 24kbit | 32kbit - -------|--------------|---------------- - AVG | 0.01 | 0.01 - -------|--------------|---------------- - MAX | 0.01 | 0.01 - -------|--------------|---------------- - - 14kHz | 24kbit | 32kbit | 48kbit - -------|--------------|----------------|---------------- - AVG | 0.01 | 0.01 | 0.01 - -------|--------------|----------------|---------------- - MAX | 0.01 | 0.01 | 0.01 - -------|--------------|----------------|---------------- - -***************************************************************************/ -void compute_raw_pow_categories(Word16 *power_categories,Word16 *rms_index,Word16 number_of_regions,Word16 offset) -{ - Word16 region; - Word16 j; - Word16 temp; - - for (region=0; region 0) - j = sub(NUM_CATEGORIES,1); - - power_categories[region] = j; - move16(); - } -} - diff --git a/res/pjproject/third_party/g7221/common/config.h b/res/pjproject/third_party/g7221/common/config.h deleted file mode 100644 index 4faec787d7..0000000000 --- a/res/pjproject/third_party/g7221/common/config.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef __LIBG7221_CONFIG_H__ -#define __LIBG7221_CONFIG_H__ - -#include - -/** - * Expand all basic operation functions as inline. Even if this is set to - * zero, some critical functions would still be expanded as inline. Note - * also that enabling this may generate some warning messages about functions - * not being referenced (with gcc). - * - * Default: 0 (no) - */ -#ifndef PJMEDIA_LIBG7221_FUNCS_INLINED -# define PJMEDIA_LIBG7221_FUNCS_INLINED 0 -#endif - -/* Declare/define a function that may be expanded as inline. */ -#if PJMEDIA_LIBG7221_FUNCS_INLINED -# define LIBG7221_DECL(type) PJ_INLINE(type) -# define LIBG7221_DEF(type) PJ_INLINE(type) -#else -# define LIBG7221_DECL(type) PJ_DECL(type) -# define LIBG7221_DEF(type) PJ_DEF(type) -#endif - -#endif /* __LIBG7221_CONFIG_H__ */ diff --git a/res/pjproject/third_party/g7221/common/count.h b/res/pjproject/third_party/g7221/common/count.h deleted file mode 100644 index 791145e865..0000000000 --- a/res/pjproject/third_party/g7221/common/count.h +++ /dev/null @@ -1,28 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef COUNT_H -#define COUNT_H - -#define move16() -#define move32() -#define logic16() -#define logic32() -#define test() - -#endif diff --git a/res/pjproject/third_party/g7221/common/defs.h b/res/pjproject/third_party/g7221/common/defs.h deleted file mode 100644 index d4c7aa2ec4..0000000000 --- a/res/pjproject/third_party/g7221/common/defs.h +++ /dev/null @@ -1,205 +0,0 @@ -/*********************************************************************** -** -** ITU-T G.722.1 (2005-05) - Fixed point implementation for main body and Annex C -** > Software Release 2.1 (2008-06) -** (Simple repackaging; no change from 2005-05 Release 2.0 code) -** -** © 2004 Polycom, Inc. -** -** All rights reserved. -** -***********************************************************************/ - -#include -#include -#include -#include "g7221/common/typedef.h" -#include "g7221/common/basic_op.h" - -#define PI 3.141592653589793238462 - -#define MAX_DCT_LENGTH 640 -#define DCT_LENGTH 320 -#define DCT_LENGTH_DIV_2 160 -#define DCT_LENGTH_DIV_4 80 -#define DCT_LENGTH_DIV_8 40 -#define DCT_LENGTH_DIV_16 20 -#define DCT_LENGTH_DIV_32 10 -#define DCT_LENGTH_DIV_64 5 - - -#define MAX(a,b) (a > b ? a : b) -#define MIN(a,b) (a < b ? a : b) - -#define NUM_CATEGORIES 8 -#define NUM_CATEGORIZATION_CONTROL_BITS 4 -#define NUM_CATEGORIZATION_CONTROL_POSSIBILITIES 16 -#define CORE_SIZE 10 -#define DCT_LENGTH_LOG 6 -#define MAX_DCT_LENGTH_LOG 7 - -/* region_size = (BLOCK_SIZE * 0.875)/NUM_REGIONS; */ -#define NUMBER_OF_REGIONS 14 -#define MAX_NUMBER_OF_REGIONS 28 -#define REGION_SIZE 20 -#define NUMBER_OF_VALID_COEFS (NUMBER_OF_REGIONS * REGION_SIZE) -#define MAX_NUMBER_OF_VALID_COEFS (MAX_NUMBER_OF_REGIONS * REGION_SIZE) - -#define REGION_POWER_TABLE_SIZE 64 -#define REGION_POWER_TABLE_NUM_NEGATIVES 24 - -#define MAX_NUM_CATEGORIZATION_CONTROL_BITS 5 -#define MAX_NUM_CATEGORIZATION_CONTROL_POSSIBILITIES 32 - -#define ENCODER_SCALE_FACTOR 18318.0 - -/* The MLT output is incorrectly scaled by the factor - product of ENCODER_SCALE_FACTOR and sqrt(160.) - This is now (9/30/96) 1.0/2^(4.5) or 1/22.627. - In the current implementation this - must be an integer power of sqrt(2). The - integer power is ESF_ADJUSTMENT_TO_RMS_INDEX. - The -2 is to conform with the range defined in the spec. */ - - -#define ESF_ADJUSTMENT_TO_RMS_INDEX (9-2) - - -#define INTERMEDIATE_FILES_FLAG 0 - -/* Max bit rate is 48000 bits/sec. */ -#define MAX_BITS_PER_FRAME 960 - - -/***************************************************************************/ -/* Type definitions */ -/***************************************************************************/ -typedef struct -{ - Word16 code_bit_count; /* bit count of the current word */ - Word16 current_word; /* current word in the bitstream being processed */ - Word16 *code_word_ptr; /* pointer to the bitstream */ - Word16 number_of_bits_left; /* number of bits left in the current word */ - Word16 next_bit; /* next bit in the current word */ -}Bit_Obj; - -typedef struct -{ - Word16 seed0; - Word16 seed1; - Word16 seed2; - Word16 seed3; -}Rand_Obj; - -/***************************************************************************/ -/* Function definitions */ -/***************************************************************************/ -extern Word16 compute_region_powers(Word16 *mlt_coefs, - Word16 mag_shift, - Word16 *drp_num_bits, - UWord16 *drp_code_bits, - Word16 *absolute_region_power_index, - Word16 number_of_regions); - -void vector_quantize_mlts(Word16 number_of_available_bits, - Word16 number_of_regions, - Word16 num_categorization_control_possibilities, - Word16 *mlt_coefs, - Word16 *absolute_region_power_index, - Word16 *power_categories, - Word16 *category_balances, - Word16 *p_categorization_control, - Word16 *region_mlt_bit_counts, - UWord32 *region_mlt_bits); - -Word16 vector_huffman(Word16 category, - Word16 power_index, - Word16 *raw_mlt_ptr, - UWord32 *word_ptr); - - -void adjust_abs_region_power_index(Word16 *absolute_region_power_index,Word16 *mlt_coefs,Word16 number_of_regions); - -void bits_to_words(UWord32 *region_mlt_bits,Word16 *region_mlt_bit_counts, - Word16 *drp_num_bits,UWord16 *drp_code_bits,Word16 *out_words, - Word16 categorization_control, Word16 number_of_regions, - Word16 num_categorization_control_bits, Word16 number_of_bits_per_frame); - -void encoder(Word16 number_of_available_bits, - Word16 number_of_regions, - Word16 *mlt_coefs, - Word16 mag_shift, - Word16 *out_words); - -void decoder(Bit_Obj *bitobj, - Rand_Obj *randobj, - Word16 number_of_regions, - Word16 *decoder_mlt_coefs, - Word16 *p_mag_shift, - Word16 *p_old_mag_shift, - Word16 *old_decoder_mlt_coefs, - Word16 frame_error_flag); - -Word16 samples_to_rmlt_coefs(const Word16 *new_samples,Word16 *history,Word16 *coefs,Word16 dct_length); -void rmlt_coefs_to_samples(Word16 *coefs, - Word16 *old_samples, - Word16 *out_samples, - Word16 dct_length, - Word16 mag_shift); - -Word16 index_to_array(Word16 index,Word16 *array,Word16 category); -void categorize(Word16 number_of_available_bits, - Word16 number_of_regions, - Word16 num_categorization_control_possibilities, - Word16 *rms_index, - Word16 *power_categories, - Word16 *category_balances); - -Word16 calc_offset(Word16 *rms_index,Word16 number_of_regions,Word16 available_bits); -void compute_raw_pow_categories(Word16 *power_categories,Word16 *rms_index,Word16 number_of_regions,Word16 offset); -void comp_powercat_and_catbalance(Word16 *power_categories, - Word16 *category_balances, - Word16 *rms_index, - Word16 number_of_available_bits, - Word16 number_of_regions, - Word16 num_categorization_control_possibilities, - Word16 offset); - -void dct_type_iv_a (Word16 *input,Word16 *output,Word16 dct_length); -void dct_type_iv_s(Word16 *input,Word16 *output,Word16 dct_length); -void decode_envelope(Bit_Obj *bitobj, - Word16 number_of_regions, - Word16 *decoder_region_standard_deviation, - Word16 *absolute_region_power_index, - Word16 *p_mag_shift); - -void decode_vector_quantized_mlt_indices(Bit_Obj *bitobj, - Rand_Obj *randobj, - Word16 number_of_regions, - Word16 *decoder_region_standard_deviation, - Word16 *dedecoder_power_categories, - Word16 *dedecoder_mlt_coefs); - -void rate_adjust_categories(Word16 categorization_control, - Word16 *decoder_power_categories, - Word16 *decoder_category_balances); - -void get_next_bit(Bit_Obj *bitobj); -Word16 get_rand(Rand_Obj *randobj); - -void test_4_frame_errors(Bit_Obj *bitobj, - Word16 number_of_regions, - Word16 num_categorization_control_possibilities, - Word16 *frame_error_flag, - Word16 categorization_control, - Word16 *absolute_region_power_index); - -void error_handling(Word16 number_of_coefs, - Word16 number_of_valid_coefs, - Word16 *frame_error_flag, - Word16 *decoder_mlt_coefs, - Word16 *old_decoder_mlt_coefs, - Word16 *p_mag_shift, - Word16 *p_old_mag_shift); - - diff --git a/res/pjproject/third_party/g7221/common/huff_def.h b/res/pjproject/third_party/g7221/common/huff_def.h deleted file mode 100644 index dd10d9a5f6..0000000000 --- a/res/pjproject/third_party/g7221/common/huff_def.h +++ /dev/null @@ -1,53 +0,0 @@ -/*********************************************************************** -** -** ITU-T G.722.1 (2005-05) - Fixed point implementation for main body and Annex C -** > Software Release 2.1 (2008-06) -** (Simple repackaging; no change from 2005-05 Release 2.0 code) -** -** © 2004 Polycom, Inc. -** -** All rights reserved. -** -***********************************************************************/ - -#define REGION_POWER_STEPSIZE_DB 3.010299957 -#define ABS_REGION_POWER_LEVELS 32 -#define DIFF_REGION_POWER_LEVELS 24 - -#define DRP_DIFF_MIN -12 -#define DRP_DIFF_MAX 11 - -#define MAX_NUM_BINS 16 -#define MAX_VECTOR_INDICES 625 -#define MAX_VECTOR_DIMENSION 5 - -extern Word16 differential_region_power_bits[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS]; -extern UWord16 differential_region_power_codes[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS]; -extern Word16 differential_region_power_decoder_tree[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS-1][2]; -extern Word16 mlt_quant_centroid[NUM_CATEGORIES][MAX_NUM_BINS]; -extern Word16 expected_bits_table[NUM_CATEGORIES]; -extern Word16 mlt_sqvh_bitcount_category_0[196]; -extern UWord16 mlt_sqvh_code_category_0[196]; -extern Word16 mlt_sqvh_bitcount_category_1[100]; -extern UWord16 mlt_sqvh_code_category_1[100]; -extern Word16 mlt_sqvh_bitcount_category_2[49]; -extern UWord16 mlt_sqvh_code_category_2[49]; -extern Word16 mlt_sqvh_bitcount_category_3[625]; -extern UWord16 mlt_sqvh_code_category_3[625]; -extern Word16 mlt_sqvh_bitcount_category_4[256]; -extern UWord16 mlt_sqvh_code_category_4[256]; -extern Word16 mlt_sqvh_bitcount_category_5[243]; -extern UWord16 mlt_sqvh_code_category_5[243]; -extern Word16 mlt_sqvh_bitcount_category_6[32]; -extern UWord16 mlt_sqvh_code_category_6[32]; -extern Word16 *table_of_bitcount_tables[NUM_CATEGORIES-1]; -extern UWord16 *table_of_code_tables[NUM_CATEGORIES-1]; -extern Word16 mlt_decoder_tree_category_0[180][2]; -extern Word16 mlt_decoder_tree_category_1[93][2]; -extern Word16 mlt_decoder_tree_category_2[47][2]; -extern Word16 mlt_decoder_tree_category_3[519][2]; -extern Word16 mlt_decoder_tree_category_4[208][2]; -extern Word16 mlt_decoder_tree_category_5[191][2]; -extern Word16 mlt_decoder_tree_category_6[31][2]; -extern Word16 *table_of_decoder_tables[NUM_CATEGORIES-1]; - diff --git a/res/pjproject/third_party/g7221/common/huff_tab.c b/res/pjproject/third_party/g7221/common/huff_tab.c deleted file mode 100644 index 12ff661cc8..0000000000 --- a/res/pjproject/third_party/g7221/common/huff_tab.c +++ /dev/null @@ -1,528 +0,0 @@ -/*********************************************************************** -** -** ITU-T G.722.1 (2005-05) - Fixed point implementation for main body and Annex C -** > Software Release 2.1 (2008-06) -** (Simple repackaging; no change from 2005-05 Release 2.0 code) -** -** © 2004 Polycom, Inc. -** -** All rights reserved. -** -***********************************************************************/ -#include "defs.h" -#include "huff_def.h" - -Word16 differential_region_power_bits[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS] = { -{99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99}, -{ 4, 6, 5, 5, 4, 4, 4, 4, 4, 4, 3, 3, 3, 4, 5, 7, 8, 9,11,11,12,12,12,12}, -{10, 8, 6, 5, 5, 4, 3, 3, 3, 3, 3, 3, 4, 5, 7, 9,11,12,13,15,15,15,16,16}, -{12,10, 8, 6, 5, 4, 4, 4, 4, 4, 4, 3, 3, 3, 4, 4, 5, 5, 7, 9,11,13,14,14}, -{13,10, 9, 9, 7, 7, 5, 5, 4, 3, 3, 3, 3, 3, 4, 4, 4, 5, 7, 9,11,13,13,13}, -{12,13,10, 8, 6, 6, 5, 5, 4, 4, 3, 3, 3, 3, 3, 4, 5, 5, 6, 7, 9,11,14,14}, -{12,11, 9, 8, 8, 7, 5, 4, 4, 3, 3, 3, 3, 3, 4, 4, 5, 5, 7, 8,10,13,14,14}, -{15,16,15,12,10, 8, 6, 5, 4, 3, 3, 3, 2, 3, 4, 5, 5, 7, 9,11,13,16,16,16}, -{14,14,11,10, 9, 7, 7, 5, 5, 4, 3, 3, 2, 3, 3, 4, 5, 7, 9, 9,12,14,15,15}, -{ 9, 9, 9, 8, 7, 6, 5, 4, 3, 3, 3, 3, 3, 3, 4, 5, 6, 7, 8,10,11,12,13,13}, -{14,12,10, 8, 6, 6, 5, 4, 3, 3, 3, 3, 3, 3, 4, 5, 6, 8, 8, 9,11,14,14,14}, -{13,10, 9, 8, 6, 6, 5, 4, 4, 4, 3, 3, 2, 3, 4, 5, 6, 8, 9, 9,11,12,14,14}, -{16,13,12,11, 9, 6, 5, 5, 4, 4, 4, 3, 2, 3, 3, 4, 5, 7, 8,10,14,16,16,16}, -{13,14,14,14,10, 8, 7, 7, 5, 4, 3, 3, 2, 3, 3, 4, 5, 5, 7, 9,11,14,14,14}, -{13,14,14,14,10, 8, 7, 7, 5, 4, 3, 3, 2, 3, 3, 4, 5, 5, 7, 9,11,14,14,14}, -{13,14,14,14,10, 8, 7, 7, 5, 4, 3, 3, 2, 3, 3, 4, 5, 5, 7, 9,11,14,14,14}, -{13,14,14,14,10, 8, 7, 7, 5, 4, 3, 3, 2, 3, 3, 4, 5, 5, 7, 9,11,14,14,14}, -{13,14,14,14,10, 8, 7, 7, 5, 4, 3, 3, 2, 3, 3, 4, 5, 5, 7, 9,11,14,14,14}, -{13,14,14,14,10, 8, 7, 7, 5, 4, 3, 3, 2, 3, 3, 4, 5, 5, 7, 9,11,14,14,14}, -{13,14,14,14,10, 8, 7, 7, 5, 4, 3, 3, 2, 3, 3, 4, 5, 5, 7, 9,11,14,14,14}, -{13,14,14,14,10, 8, 7, 7, 5, 4, 3, 3, 2, 3, 3, 4, 5, 5, 7, 9,11,14,14,14}, -{13,14,14,14,10, 8, 7, 7, 5, 4, 3, 3, 2, 3, 3, 4, 5, 5, 7, 9,11,14,14,14}, -{13,14,14,14,10, 8, 7, 7, 5, 4, 3, 3, 2, 3, 3, 4, 5, 5, 7, 9,11,14,14,14}, -{13,14,14,14,10, 8, 7, 7, 5, 4, 3, 3, 2, 3, 3, 4, 5, 5, 7, 9,11,14,14,14}, -{13,14,14,14,10, 8, 7, 7, 5, 4, 3, 3, 2, 3, 3, 4, 5, 5, 7, 9,11,14,14,14}, -{13,14,14,14,10, 8, 7, 7, 5, 4, 3, 3, 2, 3, 3, 4, 5, 5, 7, 9,11,14,14,14}, -{13,14,14,14,10, 8, 7, 7, 5, 4, 3, 3, 2, 3, 3, 4, 5, 5, 7, 9,11,14,14,14}, -{13,14,14,14,10, 8, 7, 7, 5, 4, 3, 3, 2, 3, 3, 4, 5, 5, 7, 9,11,14,14,14}}; - -UWord16 differential_region_power_codes[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS] = { -{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, -{ 8,38,18,10, 7, 6, 3, 2, 0, 1, 7, 6, 5, 4,11,78,158,318,1278,1279,2552,2553,2554,2555}, -{36, 8, 3, 5, 0, 1, 7, 6, 4, 3, 2, 5, 3, 4, 5,19,74,150,302,1213,1214,1215,2424,2425}, -{2582,644,160,41, 5,11, 7, 5, 4, 1, 0, 6, 4, 7, 3, 6, 4,21,81,323,1290,5167,10332,10333}, -{2940,366,181,180,47,46,27,10, 8, 5, 1, 0, 3, 7, 4, 9,12,26,44,182,734,2941,2942,2943}, -{3982,7967,994,249,63,26,19,18,14, 8, 6, 1, 0, 2, 5, 7,12,30,27,125,496,1990,15932,15933}, -{3254,1626,407,206,202,100,30,14, 3, 5, 3, 0, 2, 4, 2,13,24,31,102,207,812,6511,13020,13021}, -{1110,2216,1111,139,35, 9, 3,20,11, 4, 2, 1, 3, 3, 1, 0,21, 5,16,68,276,2217,2218,2219}, -{1013,1014,127,62,29, 6, 4,16, 0, 1, 3, 2, 3, 1, 5, 9,17, 5,28,30,252,1015,2024,2025}, -{381,380,372,191,94,44,16,10, 7, 3, 1, 0, 2, 6, 9,17,45,92,187,746,1494,2991,5980,5981}, -{3036,758,188,45,43,10, 4, 3, 6, 4, 2, 0, 3, 7,11,20,42,44,46,95,378,3037,3038,3039}, -{751,92,45,20,26, 4,12, 7, 4, 0, 4, 1, 3, 5, 5, 3,27,21,44,47,186,374,1500,1501}, -{45572U,5697,2849,1425,357,45,23, 6,10, 7, 2, 2, 3, 0, 4, 6, 7,88,179,713,11392,45573U,45574U,45575U}, -{2511,5016,5018,5017,312,79,38,36,30,14, 6, 0, 2, 1, 3, 5, 8,31,37,157,626,5019,5020,5021}, -{2511,5016,5018,5017,312,79,38,36,30,14, 6, 0, 2, 1, 3, 5, 8,31,37,157,626,5019,5020,5021}, -{2511,5016,5018,5017,312,79,38,36,30,14, 6, 0, 2, 1, 3, 5, 8,31,37,157,626,5019,5020,5021}, -{2511,5016,5018,5017,312,79,38,36,30,14, 6, 0, 2, 1, 3, 5, 8,31,37,157,626,5019,5020,5021}, -{2511,5016,5018,5017,312,79,38,36,30,14, 6, 0, 2, 1, 3, 5, 8,31,37,157,626,5019,5020,5021}, -{2511,5016,5018,5017,312,79,38,36,30,14, 6, 0, 2, 1, 3, 5, 8,31,37,157,626,5019,5020,5021}, -{2511,5016,5018,5017,312,79,38,36,30,14, 6, 0, 2, 1, 3, 5, 8,31,37,157,626,5019,5020,5021}, -{2511,5016,5018,5017,312,79,38,36,30,14, 6, 0, 2, 1, 3, 5, 8,31,37,157,626,5019,5020,5021}, -{2511,5016,5018,5017,312,79,38,36,30,14, 6, 0, 2, 1, 3, 5, 8,31,37,157,626,5019,5020,5021}, -{2511,5016,5018,5017,312,79,38,36,30,14, 6, 0, 2, 1, 3, 5, 8,31,37,157,626,5019,5020,5021}, -{2511,5016,5018,5017,312,79,38,36,30,14, 6, 0, 2, 1, 3, 5, 8,31,37,157,626,5019,5020,5021}, -{2511,5016,5018,5017,312,79,38,36,30,14, 6, 0, 2, 1, 3, 5, 8,31,37,157,626,5019,5020,5021}, -{2511,5016,5018,5017,312,79,38,36,30,14, 6, 0, 2, 1, 3, 5, 8,31,37,157,626,5019,5020,5021}, -{2511,5016,5018,5017,312,79,38,36,30,14, 6, 0, 2, 1, 3, 5, 8,31,37,157,626,5019,5020,5021}, -{2511,5016,5018,5017,312,79,38,36,30,14, 6, 0, 2, 1, 3, 5, 8,31,37,157,626,5019,5020,5021}}; - -Word16 differential_region_power_decoder_tree[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS-1][2] = { -{{ 0, 0},{ 0, 0},{ 0, 0},{ 0, 0},{ 0, 0},{ 0, 0},{ 0, 0},{ 0, 0},{ 0, 0},{ 0, 0},{ 0, 0},{ 0, 0},{ 0, 0},{ 0, 0},{ 0, 0},{ 0, 0},{ 0, 0},{ 0, 0},{ 0, 0},{ 0, 0},{ 0, 0},{ 0, 0},{ 0, 0}}, -{{ 1, 2},{ 3, 4},{ 5, 6},{ 7, 8},{ 9, 10},{ 11,-12},{-11,-10},{ -8, -9},{ -7, -6},{-13, 12},{ -5, -4},{ 0, 13},{ -3,-14},{ -2, 14},{ -1, 15},{-15, 16},{-16, 17},{-17, 18},{ 19, 20},{ 21, 22},{-18,-19},{-20,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{ 5, 6},{ 7, 8},{-10, -9},{ -8,-11},{ -7, -6},{ 9, -5},{ 10,-12},{ -4, 11},{-13, -3},{ 12, -2},{ 13,-14},{ -1, 14},{ 15,-15},{ 0, 16},{-16, 17},{-17, 18},{-18, 19},{ 20, 21},{ 22,-19},{-20,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{ 5, 6},{ 7, 8},{ 9, 10},{-12, 11},{-11,-13},{-10, -9},{ 12,-14},{ -8, -7},{-15, -6},{ 13, -5},{-16, -4},{ 14,-17},{ 15, -3},{ 16,-18},{ -2, 17},{ 18,-19},{ -1, 19},{-20, 20},{ 0, 21},{ 22,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{ 5, 6},{-11,-10},{ 7,-12},{ 8, -9},{ 9,-13},{-14, 10},{ -8,-15},{-16, 11},{ -7, 12},{-17, -6},{ 13, 14},{-18, 15},{ -5, -4},{ 16, 17},{ -3, -2},{-19, 18},{ -1, 19},{-20, 20},{ 21, 22},{ 0,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{ 5, 6},{-12,-11},{-13, 7},{ 8,-14},{-10, 9},{ 10,-15},{ -9, 11},{ -8, 12},{-16, 13},{ -7, -6},{-17, 14},{ -5,-18},{ 15, -4},{ 16,-19},{ 17, -3},{-20, 18},{ -2, 19},{-21, 20},{ 0, 21},{ 22, -1},{-22,-23}}, -{{ 1, 2},{ 3, 4},{ 5, 6},{-11, 7},{-12,-10},{-13, -9},{ 8, 9},{-14, -8},{ 10,-15},{ -7, 11},{-16, 12},{ -6,-17},{ 13, 14},{ -5, 15},{-18, 16},{ -4, 17},{ -3,-19},{ 18, -2},{-20, 19},{ -1, 20},{ 0, 21},{ 22,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{ 5,-12},{ 6,-11},{-10,-13},{ -9, 7},{ 8,-14},{ 9, -8},{-15, 10},{ -7,-16},{ 11, -6},{ 12,-17},{ 13, -5},{-18, 14},{ 15, -4},{-19, 16},{ 17, -3},{-20, 18},{ 19, 20},{ 21, 22},{ 0, -2},{ -1,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{ 5,-12},{ 6,-13},{-11,-10},{ 7,-14},{ 8, -9},{ 9,-15},{ -8, 10},{ -7,-16},{ 11, 12},{ -6,-17},{ -5, 13},{ 14, 15},{-18, -4},{-19, 16},{ -3, 17},{ 18, -2},{-20, 19},{ 20, 21},{ 22, 0},{ -1,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{ 5, 6},{-11,-10},{-12, -9},{ 7, 8},{-13, -8},{ 9,-14},{ -7, 10},{ -6,-15},{ 11, 12},{ -5,-16},{ 13, 14},{-17, 15},{ -4, 16},{ 17,-18},{ 18, -3},{ -2, 19},{ -1, 0},{-19, 20},{-20, 21},{ 22,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{ 5, 6},{-11, 7},{-10,-12},{ -9, 8},{ -8,-13},{ 9, -7},{ 10,-14},{ -6, 11},{-15, 12},{ -5, 13},{-16, -4},{ 14, 15},{-17, -3},{-18, 16},{ 17,-19},{ -2, 18},{-20, 19},{ -1, 20},{ 21, 22},{ 0,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{ 5,-12},{ 6,-11},{ 7, 8},{-10,-13},{ -9, 9},{ -8,-14},{ 10, -7},{ 11,-15},{ -6, 12},{ -5, 13},{ -4,-16},{ 14, 15},{ -3,-17},{ 16, 17},{-18, -2},{ 18,-19},{ -1, 19},{-20, 20},{-21, 21},{ 22, 0},{-22,-23}}, -{{ 1, 2},{ 3, 4},{ 5,-12},{-13, 6},{-11, 7},{-14, 8},{-10, 9},{-15, -9},{ -8, 10},{ -7,-16},{ 11, -6},{ 12, -5},{-17, 13},{ 14,-18},{ 15, -4},{ 16,-19},{ 17, -3},{ 18, -2},{ 19, -1},{-20, 20},{ 21, 22},{ 0,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{-12, 5},{-11,-13},{ 6,-14},{-10, 7},{ 8,-15},{ -9, 9},{-16, 10},{ -8,-17},{ 11, 12},{ -7,-18},{ -6, 13},{ 14, -5},{ 15,-19},{ -4, 16},{-20, 17},{ 18, 19},{ 20, 21},{ 22, 0},{ -1, -3},{ -2,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{-12, 5},{-11,-13},{ 6,-14},{-10, 7},{ 8,-15},{ -9, 9},{-16, 10},{ -8,-17},{ 11, 12},{ -7,-18},{ -6, 13},{ 14, -5},{ 15,-19},{ -4, 16},{-20, 17},{ 18, 19},{ 20, 21},{ 22, 0},{ -1, -3},{ -2,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{-12, 5},{-11,-13},{ 6,-14},{-10, 7},{ 8,-15},{ -9, 9},{-16, 10},{ -8,-17},{ 11, 12},{ -7,-18},{ -6, 13},{ 14, -5},{ 15,-19},{ -4, 16},{-20, 17},{ 18, 19},{ 20, 21},{ 22, 0},{ -1, -3},{ -2,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{-12, 5},{-11,-13},{ 6,-14},{-10, 7},{ 8,-15},{ -9, 9},{-16, 10},{ -8,-17},{ 11, 12},{ -7,-18},{ -6, 13},{ 14, -5},{ 15,-19},{ -4, 16},{-20, 17},{ 18, 19},{ 20, 21},{ 22, 0},{ -1, -3},{ -2,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{-12, 5},{-11,-13},{ 6,-14},{-10, 7},{ 8,-15},{ -9, 9},{-16, 10},{ -8,-17},{ 11, 12},{ -7,-18},{ -6, 13},{ 14, -5},{ 15,-19},{ -4, 16},{-20, 17},{ 18, 19},{ 20, 21},{ 22, 0},{ -1, -3},{ -2,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{-12, 5},{-11,-13},{ 6,-14},{-10, 7},{ 8,-15},{ -9, 9},{-16, 10},{ -8,-17},{ 11, 12},{ -7,-18},{ -6, 13},{ 14, -5},{ 15,-19},{ -4, 16},{-20, 17},{ 18, 19},{ 20, 21},{ 22, 0},{ -1, -3},{ -2,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{-12, 5},{-11,-13},{ 6,-14},{-10, 7},{ 8,-15},{ -9, 9},{-16, 10},{ -8,-17},{ 11, 12},{ -7,-18},{ -6, 13},{ 14, -5},{ 15,-19},{ -4, 16},{-20, 17},{ 18, 19},{ 20, 21},{ 22, 0},{ -1, -3},{ -2,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{-12, 5},{-11,-13},{ 6,-14},{-10, 7},{ 8,-15},{ -9, 9},{-16, 10},{ -8,-17},{ 11, 12},{ -7,-18},{ -6, 13},{ 14, -5},{ 15,-19},{ -4, 16},{-20, 17},{ 18, 19},{ 20, 21},{ 22, 0},{ -1, -3},{ -2,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{-12, 5},{-11,-13},{ 6,-14},{-10, 7},{ 8,-15},{ -9, 9},{-16, 10},{ -8,-17},{ 11, 12},{ -7,-18},{ -6, 13},{ 14, -5},{ 15,-19},{ -4, 16},{-20, 17},{ 18, 19},{ 20, 21},{ 22, 0},{ -1, -3},{ -2,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{-12, 5},{-11,-13},{ 6,-14},{-10, 7},{ 8,-15},{ -9, 9},{-16, 10},{ -8,-17},{ 11, 12},{ -7,-18},{ -6, 13},{ 14, -5},{ 15,-19},{ -4, 16},{-20, 17},{ 18, 19},{ 20, 21},{ 22, 0},{ -1, -3},{ -2,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{-12, 5},{-11,-13},{ 6,-14},{-10, 7},{ 8,-15},{ -9, 9},{-16, 10},{ -8,-17},{ 11, 12},{ -7,-18},{ -6, 13},{ 14, -5},{ 15,-19},{ -4, 16},{-20, 17},{ 18, 19},{ 20, 21},{ 22, 0},{ -1, -3},{ -2,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{-12, 5},{-11,-13},{ 6,-14},{-10, 7},{ 8,-15},{ -9, 9},{-16, 10},{ -8,-17},{ 11, 12},{ -7,-18},{ -6, 13},{ 14, -5},{ 15,-19},{ -4, 16},{-20, 17},{ 18, 19},{ 20, 21},{ 22, 0},{ -1, -3},{ -2,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{-12, 5},{-11,-13},{ 6,-14},{-10, 7},{ 8,-15},{ -9, 9},{-16, 10},{ -8,-17},{ 11, 12},{ -7,-18},{ -6, 13},{ 14, -5},{ 15,-19},{ -4, 16},{-20, 17},{ 18, 19},{ 20, 21},{ 22, 0},{ -1, -3},{ -2,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{-12, 5},{-11,-13},{ 6,-14},{-10, 7},{ 8,-15},{ -9, 9},{-16, 10},{ -8,-17},{ 11, 12},{ -7,-18},{ -6, 13},{ 14, -5},{ 15,-19},{ -4, 16},{-20, 17},{ 18, 19},{ 20, 21},{ 22, 0},{ -1, -3},{ -2,-21},{-22,-23}}, -{{ 1, 2},{ 3, 4},{-12, 5},{-11,-13},{ 6,-14},{-10, 7},{ 8,-15},{ -9, 9},{-16, 10},{ -8,-17},{ 11, 12},{ -7,-18},{ -6, 13},{ 14, -5},{ 15,-19},{ -4, 16},{-20, 17},{ 18, 19},{ 20, 21},{ 22, 0},{ -1, -3},{ -2,-21},{-22,-23}}}; - -Word16 mlt_quant_centroid[NUM_CATEGORIES][MAX_NUM_BINS] = { -{ 0, 1606, 3119, 4586, 6049, 7502, 8941,10406,11851,13292,14736,16146,17566,19351, 0, 0}, -{ 0, 2229, 4341, 6401, 8471,10531,12583,14588,16673,18924, 0, 0, 0, 0, 0, 0}, -{ 0, 3055, 5998, 8929,11806,14680,17680, 0, 0, 0, 0, 0, 0, 0, 0, 0}, -{ 0, 4121, 8192,12259,16322, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, -{ 0, 5413,11071,16315, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, -{ 0, 6785,14300, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, -{ 0, 8044, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, -{ 0, 8019, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}; - -Word16 expected_bits_table[NUM_CATEGORIES] = {52, 47, 43, 37, 29, 22, 16, 0}; - - -Word16 mlt_sqvh_bitcount_category_0[196] = { - 1, 4, 6, 6, 7, 7, 8, 8, 8, 9, 9,10,11,11, 4, 5, - 6, 7, 7, 8, 8, 9, 9, 9, 9,10,11,11, 5, 6, 7, 8, - 8, 9, 9, 9, 9,10,10,10,11,12, 6, 7, 8, 9, 9, 9, - 9,10,10,10,10,11,12,13, 7, 7, 8, 9, 9, 9,10,10, -10,10,11,11,12,13, 8, 8, 9, 9, 9,10,10,10,10,11, -11,12,13,14, 8, 8, 9, 9,10,10,11,11,11,12,12,13, -13,15, 8, 8, 9, 9,10,10,11,11,11,12,12,13,14,15, - 9, 9, 9,10,10,10,11,11,12,13,12,14,15,16, 9, 9, -10,10,10,10,11,12,12,14,14,16,16,16, 9, 9,10,10, -11,11,12,13,13,14,14,15,15,16,10,10,10,11,11,12, -12,13,15,15,16,14,15,15,11,11,11,12,13,13,13,15, -16,16,16,16,14,15,11,11,12,13,13,14,15,16,16,16, -16,16,16,14}; -UWord16 mlt_sqvh_code_category_0[196] = { - 1, 2, 1, 24, 14, 51, 9, 68, 110, 26, 218, 54, 154, 761, 3, 10, - 22, 8, 58, 22, 71, 16, 30, 50, 213, 75, 94, 632, 15, 18, 52, 23, - 107, 5, 54, 63, 239, 46, 276, 271, 851, 252, 28, 10, 12, 1, 22, 133, - 191, 55, 105, 278, 317, 554, 310, 276, 32, 50, 94, 20, 187, 219, 13, 268, - 473, 445, 145, 849, 1277, 623, 1, 14, 0, 55, 238, 121, 120, 269, 318, 530, - 639, 1117, 509, 556, 24, 78, 51, 153, 62, 308, 16, 25, 68, 1058, 428, 277, - 2233, 1114, 92, 108, 141, 223, 270, 381, 24, 212, 760, 35, 1063, 279, 1717, 3439, - 7, 21, 152, 73, 309, 310, 95, 944, 1890, 2232, 1891, 5107,10213, 4981, 61, 62, - 9, 79, 474, 475, 848, 1059, 1056, 1716, 139, 4978, 4983, 4983, 140, 186, 76, 444, - 144, 633, 1057, 838, 2237, 4472, 4473,10212,10212, 4983, 74, 78, 311, 213, 850, 1062, - 1119, 508, 276, 277, 4982, 4473,10212,10212, 208, 70, 555, 418, 68, 510, 2552, 1115, - 4980, 4979, 4982, 4982, 4473,10212, 215, 71, 253, 511, 839, 1718, 2488, 6876, 6877, 4979, - 4979, 4982, 4982, 4473}; -Word16 mlt_sqvh_bitcount_category_1[100] = { - 1, 4, 5, 6, 7, 8, 8, 9,10,10, 4, 5, 6, 7, 7, 8, - 8, 9, 9,11, 5, 5, 6, 7, 8, 8, 9, 9,10,11, 6, 6, - 7, 8, 8, 9, 9,10,11,12, 7, 7, 8, 8, 9, 9,10,11, -11,13, 8, 8, 8, 9, 9,10,10,11,12,14, 8, 8, 8, 9, -10,11,11,12,13,15, 9, 9, 9,10,11,12,12,14,14,14, - 9, 9, 9,10,11,12,14,16,14,14,10,10,11,12,13,14, -16,16,16,14}; -UWord16 mlt_sqvh_code_category_1[100] = { - 1, 2, 11, 27, 31, 9, 120, 31, 275, 310, 1, 0, 12, 5, 33, 54, - 102, 111, 246, 448, 10, 14, 31, 39, 59, 100, 114, 202, 485, 969, 24, 26, - 36, 52, 103, 30, 120, 242, 69, 1244, 35, 32, 14, 61, 113, 117, 233, 486, - 487, 2491, 13, 12, 69, 110, 149, 35, 495, 449, 1978, 7751, 76, 75, 122, 136, - 213, 68, 623, 930, 3959, 9961, 115, 16, 107, 225, 424, 850, 1936, 7916, 4981, 4981, - 148, 154, 243, 407, 988, 851, 7750,19920, 7916, 4981, 406, 274, 464, 931, 3874, 7917, -19921,19920,19920, 7916}; -Word16 mlt_sqvh_bitcount_category_2[49] = { - 1, 4, 5, 7, 8, 9,10, 3, 4, 5, 7, 8, 9,10, 5, 5, - 6, 7, 8,10,10, 7, 6, 7, 8, 9,10,12, 8, 8, 8, 9, -10,12,14, 8, 9, 9,10,11,15,16, 9,10,11,12,13,16, -15}; -UWord16 mlt_sqvh_code_category_2[49] = { - 1, 0, 10, 11, 28, 62, 363, 3, 2, 9, 8, 24, 53, 352, 7, 8, - 13, 25, 89, 74, 355, 10, 23, 24, 29, 55, 354, 1449, 25, 19, 30, 52, - 108, 438, 5793, 91, 36, 63, 353, 725,11584,23170, 180, 75, 218, 439, 2897,23171, -11584}; -Word16 mlt_sqvh_bitcount_category_3[625] = { - 2, 4, 6, 8,10, 5, 5, 6, 8,10, 7, 8, 8,10,12, 9, - 9,10,12,15,10,11,13,16,16, 5, 6, 8,10,11, 5, 6, - 8,10,12, 7, 7, 8,10,13, 9, 9,10,12,15,12,11,13, -16,16, 7, 9,10,12,15, 7, 8,10,12,13, 9, 9,11,13, -16,11,11,12,14,16,12,12,14,16,14, 9,11,12,16,16, - 9,10,13,15,16,10,11,12,16,16,13,13,16,16,16,16, -16,15,16,16,11,13,16,16,15,11,13,15,16,16,13,13, -16,16,16,14,16,16,16,16,16,16,16,16,16, 4, 6, 8, -10,13, 6, 6, 8,10,13, 9, 8,10,12,16,10,10,11,15, -16,13,12,14,16,16, 5, 6, 8,11,13, 6, 6, 8,10,13, - 8, 8, 9,11,14,10,10,12,12,16,13,12,13,15,16, 7, - 8, 9,12,16, 7, 8,10,12,14, 9, 9,10,13,16,11,10, -12,15,16,13,13,16,16,15, 9,11,13,16,16, 9,10,12, -15,16,10,11,13,16,16,13,12,16,16,16,16,16,16,16, -16,11,13,16,16,16,11,13,16,16,16,12,13,15,16,16, -16,16,16,16,16,16,16,16,16,16, 6, 8,11,13,16, 8, - 8,10,12,16,11,10,11,13,16,12,13,13,15,16,16,16, -14,16,15, 6, 8,10,13,16, 8, 8,10,12,16,10,10,11, -13,16,13,12,13,16,16,14,14,14,16,16, 8, 9,11,13, -16, 8, 9,11,16,14,10,10,12,15,16,12,12,13,16,16, -15,16,16,16,16,10,12,15,16,16,10,12,12,14,16,12, -12,13,16,16,14,15,16,16,16,16,16,16,16,16,12,15, -15,16,16,13,13,16,16,14,14,16,16,16,16,16,16,16, -16,16,14,15,16,16,16, 8,10,13,15,16,10,11,13,16, -16,13,13,14,16,16,16,16,16,16,16,16,16,16,16,16, - 8,10,11,15,16, 9,10,12,16,16,12,12,15,16,16,16, -14,16,16,16,16,16,16,16,16, 9,11,14,16,16,10,11, -13,16,16,14,13,14,16,16,16,15,15,16,16,16,16,16, -16,16,11,13,16,16,16,11,13,15,16,16,13,16,16,16, -16,16,16,16,16,16,16,16,16,16,16,15,16,16,16,16, -14,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, -16,16,16,16, 9,13,16,16,16,11,13,16,16,16,14,15, -16,16,16,15,16,16,16,16,16,16,16,16,16, 9,13,15, -15,16,12,13,14,16,16,16,15,16,16,16,16,16,16,16, -16,16,16,16,16,16,11,13,15,16,16,12,14,16,16,16, -16,16,16,16,16,16,16,16,16,16,16,15,15,16,16,16, -16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, -16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,15, -16,16,13,16,16,16,16,16,16,16,16,16,16,16,16,16, -16}; -UWord16 mlt_sqvh_code_category_3[625] = { - 3, 8, 46, 145, 228, 4, 8, 47, 28, 455, 89, 2, 180, 5, 1335, 250, - 12, 644, 1311, 139, 729, 251, 870, 2172, 2211, 5, 23, 112, 334, 1469, 21, 3, - 5, 111, 2014, 88, 79, 152, 124, 2685, 297, 48, 110, 1310, 149, 501, 1231, 153, - 2267, 2569, 57, 13, 653, 2587, 143, 75, 124, 118, 2611, 5242, 61, 50, 253, 3633, - 2216, 476, 39, 57, 1926, 2236, 2586, 1329, 1920, 2566, 1926, 296, 233, 2590, 2240, 2217, - 253, 613, 867, 144, 318, 614, 252, 2589, 2242, 2218, 872, 866, 2187, 2296, 2155, 2568, - 2227, 150, 2567, 2296, 199, 2686, 2160, 2290,19145, 232, 2680, 128, 2192, 2212, 2684, 793, - 2281, 2223, 2242, 1934, 2165, 2146, 2291, 2296, 2222, 2189, 2187, 2296, 2296, 6, 4, 82, - 725, 3632, 15, 21, 56, 599, 148, 3, 162, 42, 411, 2301, 735, 654, 930, 137, - 2586, 869, 1334, 1931, 2300, 2213, 9, 22, 146, 1290, 5240, 5, 12, 53, 630, 875, - 80, 9, 8, 86, 2002, 210, 117, 56, 2019, 2162, 146, 397, 868, 131, 2151, 77, - 160, 365, 2610, 2252, 59, 54, 41, 2591, 1928, 226, 14, 121, 5792, 2295, 1197, 728, - 408, 130, 2157, 3635, 155, 2573, 2587, 130, 314, 64, 144, 2173, 2176, 115, 30, 409, - 153, 2590, 631, 26, 4787, 2221, 2174, 2683, 1863, 2572, 319, 2150, 2177, 2194, 2571, 2257, - 319, 65, 145, 2251, 2156, 2161, 909, 864, 2193, 2197, 2246, 2588, 5797, 156, 2258, 2221, - 2158, 2199, 2214, 2152, 319, 2188, 2264, 2572, 319, 319, 30, 117, 219, 865, 2263, 147, - 127, 239, 410, 2247, 27, 324, 1468, 2681, 2180, 1328, 5241, 147, 142, 2237, 2241, 2245, - 1921, 2262, 142, 41, 11, 505, 2682, 2591, 0, 26, 229, 2015, 2577, 464, 98, 87, - 5243, 2166, 149, 2016, 5244, 2190, 2198, 9573,11598,11599, 2235, 2190, 144, 298, 1004, 5245, - 2277, 156, 104, 254, 2560, 1922, 612, 325, 2017, 129, 2588, 2608, 1330, 871, 2144, 2145, - 132, 2147, 2148, 2149, 2144, 119, 1331, 133, 2153, 2154, 211, 58, 2609, 1923, 2159, 510, - 163, 5246, 2163, 2164, 1924, 134, 2167, 2168, 2168, 2169, 2170, 2171, 2168, 2168, 1332, 135, - 136, 2175, 2153, 150, 873, 2178, 2179, 1923, 1925, 2181, 2182, 2183, 2163, 2184, 2185, 2186, - 2168, 2168, 1924, 134, 2167, 2168, 2168, 58, 326, 2687, 138, 2191, 31, 66, 874, 2195, - 2196, 151, 152, 1927, 2200, 2201, 2202, 2203, 2204, 2205, 2206, 2207, 2208, 2209, 2210, 2205, - 55, 103, 1230, 140, 2215, 118, 15, 1333, 2219, 2220, 2018, 511, 141, 2224, 2225, 2226, - 1929, 2228, 2229, 2230, 2231, 2232, 2233, 2234, 2229, 366, 1005, 1930, 2238, 2239, 12, 1006, - 5247, 2243, 2244, 1932, 3634, 1933, 2248, 2249, 2250, 145, 146, 2253, 2253, 2254, 2255, 2256, - 2253, 2253, 1291, 5793, 2259, 2260, 2261, 477, 5794, 147, 2265, 2266, 5795, 2268, 2269, 2270, - 2270, 2271, 2272, 2273, 2274, 2274, 2275, 2276, 2273, 2274, 2274, 148, 2278, 2279, 2280, 2260, - 1935, 2282, 2283, 2284, 2265, 2285, 2286, 2287, 2270, 2270, 2288, 2289, 2273, 2274, 2274, 2271, - 2272, 2273, 2274, 2274, 233, 5796, 2292, 2293, 2294, 1292, 3724, 2297, 2298, 2299, 2000, 151, - 2302, 2303, 2200, 152, 2561, 2562, 2563, 2205, 2564, 2565, 2204, 2205, 2205, 363, 154, 154, - 155, 2570, 59, 3725, 2001, 2574, 2575, 2576, 157, 2578, 2579, 2224, 2580, 2581, 2582, 2583, - 2229, 2584, 2585, 2228, 2229, 2229, 654, 5798, 158, 2589, 2238, 2392, 2003, 2592, 2593, 2243, - 2594, 2595, 2596, 2597, 2248, 2598, 2599, 2600, 2253, 2253, 2250, 145, 146, 2253, 2253, 2601, - 2602, 2603, 2604, 2260, 2605, 2606, 2607, 6336, 2265, 6337, 6338, 6339, 2270, 2270, 6340, 6341, - 2273, 2274, 2274, 2271, 2272, 2273, 2274, 2274, 6342, 6343, 2259, 2260, 2260,38288U,38289U, 147, - 2265, 2265, 5795, 2268, 2269, 2270, 2270, 2271, 2272, 2273, 2274, 2274, 2271, 2272, 2273, 2274, - 2274}; -Word16 mlt_sqvh_bitcount_category_4[256] = { - 2, 4, 7,10, 4, 5, 7,10, 7, 8,10,14,11,11,15,15, - 4, 5, 9,12, 5, 5, 8,12, 8, 7,10,15,11,11,15,15, - 7, 9,12,15, 8, 8,12,15,10,10,13,15,14,14,15,13, -11,13,15,15,11,13,15,15,14,15,15,13,15,15,13,13, - 4, 5, 9,13, 5, 6, 9,13, 9, 9,11,15,14,13,15,15, - 4, 6, 9,12, 5, 6, 9,13, 9, 8,11,15,13,12,15,15, - 7, 9,12,15, 7, 8,11,15,10,10,14,15,14,15,15,14, -10,12,15,15,11,13,15,15,15,15,15,14,15,15,14,14, - 6, 9,13,14, 8, 9,12,15,12,12,15,15,15,15,15,15, - 7, 9,13,15, 8, 9,12,15,11,12,15,15,15,15,15,15, - 9,11,15,15, 9,11,15,15,14,14,15,15,15,15,15,15, -14,15,15,15,14,15,15,15,15,15,15,15,14,14,15,15, - 9,12,15,15,12,13,15,15,15,15,15,15,15,15,15,15, -10,12,15,15,12,14,15,15,15,15,15,15,15,15,15,15, -14,15,15,15,15,15,15,15,15,15,15,15,14,14,15,15, -15,15,15,15,15,15,15,15,14,14,15,15,14,14,15,15}; -UWord16 mlt_sqvh_code_category_4[256] = { - 1, 2, 4, 572, 10, 0, 69, 712, 91, 10, 46, 9182, 1426, 1430,30172,30194, - 9, 28, 22, 2258, 16, 25, 142, 2179, 15, 111, 719, 1521, 1131, 1437, 1520,30196, - 88, 283, 3803,30193, 13, 236, 2856,30166, 545, 951, 5709, 1522, 3241, 9180,30179, 5709, - 1088, 4356,30410,30175, 1146, 377,30162,30163, 8715,30176,30165, 5709,30197,30184, 5709, 5709, - 1, 23, 28, 5710, 26, 14, 29, 7538, 102, 103, 1429, 1524, 3237, 7060,30401,30201, - 15, 13, 470, 3768, 24, 15, 281, 5747, 24, 181, 1128,30206, 5711, 3531,30156,30158, - 116, 100, 2260,30187, 119, 234, 1764,30171, 716, 883, 9183,30164, 3236, 1528,30180, 9183, - 885, 2870, 1532,30160, 1431, 5708,30192,30205,30402,30168,30173, 9183,30157,30161, 9183, 9183, - 54, 25, 1621,15211, 180, 287, 2261,30198, 808, 811,30411,30413,30414,22986,22987,30411, - 24, 273, 376,30159, 137, 280, 2871, 1523, 1768, 2259, 1525,30167, 1526,30169,30170, 1525, - 443, 1434, 1527,30174, 474, 1769,30177,30178, 3238, 3239,30181,30181,30182,30183,30181,30181, - 3240,30185,30186, 1527, 9181,30188,30189,30177,30190,30191,30181,30181, 3238, 3239,30181,30181, - 440, 2857, 1529,30195, 2294, 7061, 1530,30199,30200, 1531,30202,30411,30203,30204,30411,30411, - 203, 2872,30207,30400, 189,11492,30403,30404,30405,30406,30407, 1525,30408,30409, 1525, 1525, - 8714, 1533,30412, 1527, 1534, 1535,30415,30177,30416,30417,30181,30181, 3238, 3239,30181,30181, -30418,30419, 1527, 1527,30420,30421,30177,30177, 3238, 3239,30181,30181, 3238, 3239,30181,30181}; -Word16 mlt_sqvh_bitcount_category_5[243] = { - 2, 4, 8, 4, 5, 9, 9,10,14, 4, 6,11, 5, 6,12,10, -11,15, 9,11,15,10,13,15,14,15, 6, 4, 6,12, 6, 7, -12,12,12,15, 5, 7,13, 6, 7,13,12,13,15,10,12,15, -11,13,15,15,15, 7, 8,13,15,11,12,15,15,15, 7,10, -13,15,12,15,15,15,15, 7,15,15, 7,15,15, 7, 6, 7, - 7, 4, 5,11, 5, 7,12,11,12,15, 6, 7,13, 7, 8,14, -12,14,15,11,13,15,12,13,15,15,15, 8, 5, 6,13, 7, - 8,15,12,14,15, 6, 8,14, 7, 8,15,14,15,15,12,12, -15,12,13,15,15,15, 8, 9,13,15,12,13,15,15,15, 8, -11,13,15,13,13,15,15,15, 8,14,15, 8,15,15, 8, 7, - 8, 8, 8,10,15,11,12,15,15,15, 7,10,12,15,12,13, -15,15,15, 8,14,15, 7,15,15, 8, 7, 8, 8, 8,12,15, -12,13,15,15,15, 8,11,13,15,13,15,15,15,15, 8,15, -15, 8,15,15, 8, 7, 8, 8,14,15, 6,15,15, 8, 7, 8, - 8,15,15, 8,15,15, 8, 7, 8, 8, 6, 8, 8, 7, 8, 8, - 7, 8, 8}; -UWord16 mlt_sqvh_code_category_5[243] = { - 0, 5, 220, 10, 16, 443, 390, 391,14333, 11, 26, 1566, 26, 54, 3135, 508, - 1558,28581, 255, 1782,28599, 885, 6208,28578,14335,28579, 54, 9, 35, 3129, 27, 68, - 3537, 1562, 3568,28610, 25, 62, 4078, 58, 118, 7763, 3107, 7758,28563, 778, 3131,28598, - 780, 7123,28630,28593,28586, 118, 243, 6210,28614, 1018, 3567,28601,28611,28570, 68, 388, - 6256,28619, 1559,28562,28606,28565,28591, 118,28594,28571, 62,28618,28590, 118, 58, 118, - 118, 4, 28, 1781, 31, 60, 3134, 1938, 3882,28574, 25, 96, 7757, 49, 126,14244, - 3883,14334,28613, 1769, 4077,28602, 3106, 7756,28582,28621,28566, 126, 14, 61, 4079, 61, - 138,28491, 3536, 8153,28573, 49, 96,12442, 119, 240,28490,12443,28560,28561, 3111, 3580, -28564, 3130, 7759,28567,28568,28569, 240, 444, 6209,28572, 3569, 6211,28575,28576,28577, 138, - 778, 7760,28580, 7761, 7762,28583,28584,28585, 240,14319,28587, 96,28588,28589, 240, 119, - 240, 240, 139, 968,28592, 1554, 3581,28595,28596,28597, 60, 971, 3560,28600, 3582, 7132, -28603,28604,28605, 126,14332,28607, 96,28608,28609, 126, 49, 126, 126, 241, 1558,28612, - 1563, 6257,28615,28616,28617, 138, 1559, 7133,28620, 6220,28622,28623,28624,28625, 240,28626, -28627, 96,28628,28629, 240, 119, 240, 240, 8152,28631, 61,28632,28633, 138, 61, 138, - 138,28634,28635, 96,28636,28637, 240, 119, 240, 240, 49, 96, 96, 119, 240, 240, - 119, 240, 240}; -Word16 mlt_sqvh_bitcount_category_6[32] = { - 1, 4, 4, 6, 4, 6, 6, 8, 4, 6, 6, 8, 6, 9, 8,10, - 4, 6, 7, 8, 6, 9, 8,11, 6, 9, 8,10, 8,10, 9,11}; -UWord16 mlt_sqvh_code_category_6[32] = { - 1, 2, 4, 2, 5, 29, 24, 101, 3, 31, 28, 105, 3, 5, 102, 424, - 1, 30, 0, 107, 27, 200, 103, 806, 1, 4, 104, 402, 3, 425, 213, 807}; - -Word16 *table_of_bitcount_tables[NUM_CATEGORIES-1] = { -mlt_sqvh_bitcount_category_0, -mlt_sqvh_bitcount_category_1, -mlt_sqvh_bitcount_category_2, -mlt_sqvh_bitcount_category_3, -mlt_sqvh_bitcount_category_4, -mlt_sqvh_bitcount_category_5, -mlt_sqvh_bitcount_category_6 -}; - - -UWord16 *table_of_code_tables[NUM_CATEGORIES-1] = { -(UWord16 *)mlt_sqvh_code_category_0, -(UWord16 *)mlt_sqvh_code_category_1, -(UWord16 *)mlt_sqvh_code_category_2, -(UWord16 *)mlt_sqvh_code_category_3, -(UWord16 *)mlt_sqvh_code_category_4, -(UWord16 *)mlt_sqvh_code_category_5, -(UWord16 *)mlt_sqvh_code_category_6 -}; - -Word16 mlt_decoder_tree_category_0[180][2] = { -{ 1, 0},{ 2, 3},{ 4, 5},{ 6, 7},{ 8, 9},{ -1, -14},{ 10, 11},{ 12, 13}, -{ 14, 15},{ 16, 17},{ 18, 19},{ -15, 20},{ 21, 22},{ 23, -28},{ 24, -2},{ 25, 26}, -{ 27, 28},{ 29, 30},{ 31, 32},{ -29, 33},{ -16, 34},{ -3, 35},{ 36, 37},{ -42, 38}, -{ 39, 40},{ 41, 42},{ 43, 44},{ -17, 45},{ -43, 46},{ 47, 48},{ -4, 49},{ -56, 50}, -{ 51, 52},{ 53, 54},{ 55, 56},{ -57, -5},{ -30, 57},{ 58, 59},{ -18, 60},{ 61, -70}, -{ 62, 63},{ 64, -6},{ 65, 66},{ -44, 67},{ -71, 68},{ 69, 70},{ -19, -31},{ -84, 71}, -{ 72, 73},{ 74, 75},{ 76, 77},{ -7, 78},{ 79, -20},{ 80, 81},{ -85, 82},{ -98, 83}, -{ -58, 84},{ 85, -32},{ -99, 86},{ -8, 87},{ 88, 89},{ -72, -45},{ 90, -33},{ 91,-112}, -{ -21, 92},{ -59,-113},{ -46, 93},{ -9, 94},{ -22, 95},{ 96, 97},{ 98, 99},{ -23, -86}, -{ 100, 101},{ -34, -73},{ 102,-126},{-127, -35},{ 103, -47},{ 104, 105},{ 106, 107},{-140,-100}, -{-114, -87},{ 108, 109},{ 110, 111},{-141, -60},{ 112, -48},{ 113, -24},{ -10, -61},{ 114,-101}, -{ 115, 116},{ -74, -36},{ 117,-128},{ 118, -62},{ 119, 120},{ -37, 121},{ -11, -49},{ -88, 122}, -{ 123,-115},{-154, -25},{-142, 124},{-155,-129},{ 125, -50},{ 126, 127},{ -76, -75},{ 128, 129}, -{ -63, -77},{-102, -39},{ -38, 130},{ -51, 131},{ -89,-116},{-117,-156},{ 132, -52},{ -78, 133}, -{ 134,-103},{ 135, 136},{-143, -65},{ 137, -64},{-130,-131},{ -90, 138},{-104, -91},{ -92, 139}, -{-169,-183},{ -26,-118},{ 140, 141},{-144, -66},{ -12, 142},{-168, 143},{-105,-157},{ 144,-182}, -{ 145, 146},{ -79, 147},{ -53,-170},{ 148, 149},{ -27,-145},{ 150, -80},{-106, -13},{-132, -67}, -{-158, -40},{-119, 151},{ 152,-107},{ 153, 154},{ -41,-184},{ 155, 156},{ -54, 157},{-171, 158}, -{ -94, 159},{-134,-146},{ -93,-133},{-159,-108},{ 160, -81},{ 161,-160},{ 162, -68},{-120,-122}, -{-172, 163},{ -55, -95},{ 164,-109},{-161, -82},{-173,-185},{ 165, -69},{-147,-186},{ 166, 167}, -{-121, -96},{ 168,-148},{-174, 169},{ 170,-136},{ -83, 171},{ 172, 173},{-135,-110},{-187, 174}, -{-149,-150},{ 175,-123},{-162,-163},{ -97,-175},{-188, 176},{ 177, 178},{ 179,-111},{-151,-124}, -{-137,-177},{-176,-125},{-164,-138},{-189,-190},}; -Word16 mlt_decoder_tree_category_1[93][2] = { -{ 1, 0},{ 2, 3},{ 4, 5},{ 6, 7},{ 8, -10},{ -1, 9},{ 10, 11},{ 12, 13}, -{ -11, 14},{ 15, 16},{ 17, 18},{ -20, -2},{ 19, 20},{ -21, 21},{ 22, 23},{ -12, 24}, -{ 25, 26},{ 27, 28},{ 29, 30},{ -30, 31},{ -31, -3},{ 32, -22},{ 33, -13},{ 34, 35}, -{ 36, 37},{ 38, 39},{ 40, -4},{ -41, -14},{ 41, -40},{ -32, 42},{ 43, -23},{ 44, 45}, -{ 46, 47},{ 48, -5},{ -51, -50},{ -42, 49},{ -33, 50},{ -15, 51},{ 52, 53},{ 54, -24}, -{ 55, -43},{ 56, -52},{ 57, -61},{ -60, 58},{ -25, 59},{ -16, -34},{ -6, 60},{ -62, 61}, -{ -71, 62},{ -35, -7},{ 63, -72},{ -53, -17},{ 64, -44},{ -26, -70},{ 65, -45},{ -36, 66}, -{ -63, 67},{ -80, -54},{ -81, 68},{ -27, 69},{ 70, -82},{ -18, 71},{ 72, -55},{ 73, -64}, -{ 74, -73},{ 75, -46},{ -37, 76},{ -91, -8},{ -9, 77},{ -90, -83},{ 78, -28},{ 79, -56}, -{ -65, -38},{ -74, 80},{ -19, -57},{ -92, 81},{ -47, -48},{ 82, -66},{ 83, -29},{ -84, 84}, -{ -75, -85},{ -67, -93},{ -39, 85},{ -76, 86},{ -58, 87},{ 88, -49},{ -94, 89},{ 90, -68}, -{ 91, -78},{ -86, -59},{ -77, -95},{ 92, -69},{ -87, -96},}; -Word16 mlt_decoder_tree_category_2[47][2] = { -{ 1, 0},{ 2, 3},{ 4, 5},{ 6, -7},{ -1, 7},{ -8, 8},{ 9, 10},{ 11, 12}, -{ 13, -14},{ -15, -9},{ -2, 14},{ 15, 16},{ 17, 18},{ 19, -16},{ 20, -22},{ -10, 21}, -{ -21, -3},{ 22, 23},{ 24, 25},{ -23, -17},{ 26, 27},{ 28, -29},{ -11, -28},{ 29, 30}, -{ -4, -24},{ -30, 31},{ 32, -18},{ 33, -35},{ -36, 34},{ -31, -12},{ 35, -25},{ -5, -37}, -{ 36, 37},{ -42, 38},{ -19, -43},{ -32, 39},{ -13, -38},{ -26, -20},{ 40, -6},{ -44, 41}, -{ 42, -39},{ -33, -45},{ 43, -27},{ 44, -46},{ 45, -34},{ -40, 46},{ -41, -47},}; -Word16 mlt_decoder_tree_category_3[519][2] = { -{ 1, 2},{ 3, 4},{ 5, 0},{ 6, 7},{ 8, 9},{ 10, 11},{ 12, 13},{ 14, 15}, -{ 16, 17},{-125, 18},{ -1, 19},{ 20, 21},{ 22, 23},{ 24, 25},{ -5, -25},{ 26, 27}, -{ -6,-150},{ 28, 29},{ 30, 31},{ 32, 33},{ 34, -30},{ 35, 36},{ 37, 38},{ 39, -31}, -{-126,-155},{ 40, 41},{-156, 42},{ 43,-130},{ 44,-131},{-151, -26},{ 45, 46},{-250, 47}, -{ 48, 49},{ 50, 51},{ 52,-275},{ 53, 54},{ -2, -7},{ 55, 56},{ 57, 58},{ 59, 60}, -{ 61, 62},{ 63, 64},{ 65, 66},{ 67, 68},{ 69, 70},{ 71, -50},{ 72,-180},{ 73, 74}, -{ 75, 76},{ 77, -55},{ 78,-175},{ 79, -36},{ 80, 81},{ -35, -10},{ 82, 83},{-280, 84}, -{ -11, 85},{ 86, -32},{ 87, 88},{ 89,-161},{ 90,-276},{ 91, 92},{-281, 93},{ -8, 94}, -{ 95, 96},{ 97,-157},{-181,-400},{-132, 98},{-375, 99},{-160, 100},{-127, 101},{ -27, 102}, -{ 103,-251},{ -56, 104},{ 105,-256},{-300, -3},{-152,-255},{ 106, 107},{ -37, 108},{-305, 109}, -{-176, 110},{-136, 111},{ -12, 112},{ 113, 114},{ 115,-135},{ 116, 117},{-162, 118},{ -16, -51}, -{-186, 119},{ 120, 121},{ 122, 123},{ -41, 124},{ -61, 125},{ 126, 127},{ 128, 129},{ 130, -60}, -{ 131, 132},{-306, 133},{ 134,-205},{-405, 135},{ 136, 137},{ 138, 139},{-185, 140},{ 141,-500}, -{ -15, 142},{ 143, -80},{ -75, -40},{-301, 144},{ 145, 146},{-200, 147},{ 148, 149},{ 150, 151}, -{ 152,-525},{ 153,-177},{-425, 154},{ 155, -13},{-430, 156},{ 157,-406},{ 158, 159},{-206,-380}, -{ 160, 161},{ 162, 163},{ 164,-182},{-137, 165},{-286, 166},{ 167,-401},{ 168, 169},{ -42, -33}, -{ 170,-166},{ -57,-325},{ 171,-187},{ -38, 172},{ 173, 174},{-165,-330},{ -4,-282},{ 175,-257}, -{-261,-311},{-376, 176},{ 177, 178},{ -28, 179},{ 180, -9},{-285, 181},{ 182, 183},{ 184,-277}, -{ 185,-133},{-310, -81},{ -85, 186},{-158,-210},{ -17, 187},{ 188, 189},{ 190, -52},{-141, 191}, -{ 192,-128},{-191, -20},{ 193,-140},{ 194, 195},{-211,-260},{ 196, 197},{ 198, 199},{ 200, -66}, -{-201,-225},{-381, 201},{ 202, 203},{ 204, 205},{ 206, 207},{-163,-287},{ 208,-100},{ 209, 210}, -{ 211, 212},{ 213,-252},{-105, -76},{ 214, 215},{ 216, -21},{ -86, -62},{-307, 217},{ -65,-455}, -{-550, 218},{ 219, 220},{ 221, 222},{ 223, 224},{ 225,-230},{-142, 226},{-302,-426},{-431, 227}, -{ 228, 229},{ 230,-190},{-402, -46},{-153,-450},{-505, 231},{ 232, 233},{ 234, 235},{ 236, 237}, -{ 238, 239},{-262, -29},{ 240, 241},{ 242, 243},{-167, -67},{-331,-530},{ 244, 245},{ 246, 247}, -{ 248, 249},{ 250, 251},{ 252, 253},{ 254, 255},{ 256, 257},{ 258, 259},{ 260, 261},{ 262,-336}, -{ 263,-171},{-192,-207},{-258,-138},{ 264, 265},{ 266, 267},{ 268, 269},{ 270, 271},{ 272, 273}, -{ 274, -45},{-335,-411},{ -43, -18},{-265, -71},{-316,-326},{-350,-407},{-146, -14},{ 275, 276}, -{ 277, 278},{ 279, 280},{ 281,-216},{ -34,-283},{-291,-312},{-410,-168},{-555, 282},{ -70, -53}, -{-235, -87},{ -77,-183},{-315,-332},{-178, -58},{ 283, 284},{ 285, 286},{ 287, 288},{ 289, 290}, -{ 291, 292},{ 293, 294},{ 295, 296},{ 297, 298},{-202,-226},{-170,-267},{-134,-290},{-355,-385}, -{-386, -47},{-526,-196},{ 299, 300},{ 301, 302},{ 303, 304},{ 305, 306},{ 307, 308},{ 309, 310}, -{ 311, 312},{ 313, 314},{ 315, 316},{ 317, 318},{ 319, 320},{ 321, 322},{ 323, 324},{ 325,-111}, -{-231,-253},{ -91, -82},{-172,-145},{ -22,-317},{ -90,-356},{-382,-159},{ 326, 327},{ 328, 329}, -{ 330, 331},{ 332, 333},{ 334, 335},{-106,-263},{-278,-215},{-110, -39},{-101,-377},{-129, -63}, -{-436,-195},{-506,-531},{ 336,-212},{-154,-266},{ -59,-288},{-292,-303},{-337,-432},{-188,-451}, -{-456,-460},{-501,-236},{-551, 337},{ 338, 339},{ 340, 341},{ 342, 343},{ 344, 345},{ 346, 347}, -{ 348, 349},{ 350, 351},{ 352, 353},{ 354, 355},{ 356, 357},{ 358, 359},{ 360, 361},{ 362, 363}, -{ 364, 365},{ 366, 367},{ 368, 369},{ 370, 371},{ 372, 373},{ 374, 375},{ 376, 377},{ 378, 379}, -{ 380, 381},{ 382, 383},{ 384, 385},{ 386, 387},{ 388, 389},{ 390, 391},{ 392, 393},{ 394, 395}, -{ 396, 397},{ 398, 399},{ 400, 401},{ 402, 403},{ 404, 405},{ 406, 407},{ -72,-272},{-309,-333}, -{-340,-360},{ -68,-387},{-184,-416},{-427,-147},{-435,-437},{-115,-480},{-510,-532},{-164,-556}, -{ 408,-295},{-296,-297},{-107,-313},{-193,-173},{-320,-327},{-341,-351},{-352,-143},{-378, -19}, -{-403,-412},{-268, -54},{ -83,-441},{-442,-457},{-475, -44},{ -97,-511},{-515,-208},{-527,-528}, -{-237,-536},{-552, 409},{ 410, 411},{ 412, 413},{ 414, 415},{ 416, 417},{ 418, 419},{ 420, 421}, -{ 422, 423},{ 424, 425},{ 426, 427},{ 428, 429},{ 430, 431},{ 432, 433},{ 434, 435},{ 436, 437}, -{ 438, 439},{ 440, 441},{ 442, 443},{ 444, 445},{ 446, 447},{ 448, 449},{ 450, 451},{ 452, 453}, -{ 454, 455},{ 456, 457},{ 458, 459},{ 460, 461},{ 462, 463},{ 464, 465},{ 466, 467},{ 468, 469}, -{ 470, 471},{ 472, 473},{ 474, 475},{ 476, 477},{ 478, 479},{ 480, 481},{ 482, 483},{ 484, 485}, -{ 486, 487},{ 488, 489},{ 490, 491},{ 492, 493},{ 494, 495},{ 496, 497},{ 498, 499},{ 500, 501}, -{ 502, 503},{ 504, 505},{ 506, 507},{ 508, 509},{ 510, 511},{ 512, 513},{ 514, 515},{ 516, 517}, -{ 518,-104},{ -84,-218},{-318,-319},{-117,-321},{-322,-323},{-219,-174},{-243,-328},{-329, -94}, -{-228,-194},{-240,-334},{-102,-229},{-169,-338},{-339,-116},{-289,-342},{-343,-345},{-346,-347}, -{ -23,-203},{-214,-353},{-204,-220},{-357,-358},{-264,-361},{-362,-363},{-365,-366},{-367, -92}, -{-245,-121},{-293,-379},{-108,-232},{-221,-383},{-384,-233},{-294,-241},{-388,-389},{-390,-391}, -{-392,-393},{-394,-395},{-396,-397},{-398, -24},{-109,-149},{-242,-404},{ -64, -79},{ -89,-408}, -{-409,-213},{-120,-113},{-413,-414},{-415, -96},{-417,-418},{-419,-420},{-421,-422},{-423,-298}, -{ -69,-269},{-428,-429},{ -78,-270},{ -88,-433},{-434,-271},{-234,-259},{-438,-439},{-440,-227}, -{-179,-443},{-445,-446},{-447,-223},{-238,-452},{-453,-454},{-273,-254},{-246,-458},{-459, -48}, -{-461,-462},{-463,-465},{-466,-467},{-468,-470},{-471,-304},{-476,-477},{-478,-112},{-481,-482}, -{-483,-485},{-486,-487},{-490,-491},{-103,-118},{-502,-503},{-504,-189},{ -93,-507},{-508,-509}, -{-148,-139},{-512,-513},{-308,-516},{-517,-518},{-520,-521},{ -73, -98},{ -95, -49},{-529,-222}, -{-217,-197},{-533,-534},{-535,-284},{-537,-538},{-540,-541},{-542,-543},{-545,-546},{-144,-198}, -{-314,-553},{-209,-279},{-557,-558},{-560,-561},{-562,-563},{-565,-566},{-567,-575},{-576,-577}, -{-578,-580},{-581,-582},{-583,-585},{-586,-587},{-590,-591},{-600,-601},{-605,-606},}; -Word16 mlt_decoder_tree_category_4[208][2] = { -{ 1, 2},{ 3, 0},{ 4, 5},{ 6, 7},{ 8, 9},{ 10, 11},{ 12, -64},{ -1, 13}, -{ 14, -16},{ -4, 15},{ 16, 17},{ 18, -80},{ -5, 19},{ 20, 21},{ -20, 22},{ 23, -65}, -{ -84, -21},{ -68, 24},{ -17, 25},{ 26, 27},{ 28, -81},{ -69, -85},{ 29, 30},{ 31, 32}, -{-128, 33},{ 34, 35},{ -2, 36},{ 37, 38},{-144, 39},{ 40, -6},{ 41, 42},{ -32, 43}, -{ 44, -8},{ 45, -25},{ -96, 46},{ 47,-100},{ -9, 48},{ 49, -36},{ 50, -24},{ 51, 52}, -{ 53,-148},{ 54, 55},{ -22, 56},{ 57, 58},{-132, -89},{ 59, 60},{-101, 61},{ -37, 62}, -{ -18, 63},{ -88,-129},{ -66, -70},{ -97, 64},{ -72, -73},{ 65,-145},{-149, -86},{ 66, -33}, -{ 67,-133},{ 68, 69},{ 70, 71},{-192, 72},{ 73,-160},{ -82, 74},{-164, 75},{ -10, 76}, -{ 77,-208},{ 78, -40},{ 79, 80},{ -3, 81},{ -7, 82},{ 83, 84},{-104, 85},{ 86, -26}, -{ 87,-105},{ 88,-112},{ 89, 90},{ 91, -41},{ 92, 93},{ 94, 95},{ -48, 96},{ -90, 97}, -{ 98, -28},{ -52, 99},{ -12, 100},{ 101, -74},{ -13,-116},{-161, 102},{ 103, -29},{-102, 104}, -{-152,-165},{ 105, 106},{ 107, 108},{ 109, 110},{ 111,-212},{ 112, 113},{-136, 114},{ 115,-137}, -{ 116, -23},{ -19,-153},{ -98,-134},{-196, 117},{ 118, 119},{ -38,-193},{-113,-150},{-209, 120}, -{ 121, -93},{ -83, 122},{ 123, 124},{ 125, 126},{ 127, 128},{ 129, 130},{ 131, -34},{-146, -53}, -{ 132, 133},{ 134, 135},{ 136, 137},{ 138,-130},{ -49, 139},{ 140, 141},{-117, -42},{ -67, -92}, -{ 142, -87},{ -77,-197},{ -71, 143},{ 144, 145},{ 146, 147},{ 148, 149},{ 150, 151},{ 152, 153}, -{ 154, 155},{ 156, 157},{ 158, 159},{ 160, 161},{ 162, 163},{ 164, 165},{ 166, 167},{ 168, 169}, -{-108, -76},{-168,-169},{-176, -44},{-224, -56},{ -45,-180},{ -11,-106},{-213, 170},{ 171, 172}, -{ 173, 174},{ 175, 176},{ 177, 178},{ 179, 180},{ 181, 182},{ 183, 184},{ 185, 186},{ 187, 188}, -{ 189, 190},{ 191, 192},{ 193, 194},{ 195, 196},{ 197, 198},{ 199, 200},{ 201, 202},{ 203, 204}, -{ 205, 206},{ 207,-131},{ -30, -27},{ -43,-151},{ -75,-154},{-156,-162},{-109,-194},{-198,-201}, -{-114,-225},{-228,-229},{-141,-142},{ -94,-124},{ -95,-147},{-115,-125},{ -54, -55},{-107, -58}, -{ -39,-155},{-121,-157},{-158,-103},{ -14,-122},{-163, -51},{ -57,-166},{-167, -46},{-110,-170}, -{-172,-173},{ -61,-177},{-178, -99},{-181,-182},{-184,-185},{-118, -35},{ -15,-195},{ -31, -60}, -{-135,-199},{-200, -79},{-202,-204},{-205,-119},{ -91,-210},{-211, -78},{-120,-214},{-215,-216}, -{-217,-218},{-220,-221},{ -50,-138},{-226,-139},{-140,-230},{-232,-233},{-240,-241},{-244,-245}, -}; -Word16 mlt_decoder_tree_category_5[191][2] = { -{ 1, 2},{ 0, 3},{ 4, 5},{ 6, 7},{ 8, 9},{ 10, 11},{ -81, -1},{ 12, 13}, -{ 14, -27},{ -3, -9},{ 15, 16},{ 17, 18},{ 19, 20},{-108, 21},{ -4, 22},{ 23, -36}, -{ -12, 24},{ -82, 25},{ 26, -84},{ 27, -90},{ -10, -30},{ 28, 29},{ 30, -28},{ 31,-117}, -{ -13, 32},{ -39, 33},{ 34,-109},{ 35, -93},{ -85,-111},{ -37, 36},{ -31, 37},{ -91, 38}, -{ 39, 40},{ -40,-120},{ 41, 42},{-118, 43},{ -94, 44},{-112,-162},{ 45, 46},{ -2, 47}, -{ 48, 49},{-121,-189},{ 50, -54},{ 51, 52},{ 53, -18},{ 54, 55},{ -6, 56},{ 57, -5}, -{-135, 58},{ 59, 60},{ 61, 62},{ -63, 63},{ 64, -7},{ -15, 65},{ 66, 67},{ -45, 68}, -{ 69, 70},{ 71, -21},{ 72, 73},{ 74, 75},{ 76, 77},{-163, 78},{ 79,-171},{-144, 80}, -{ -48, 81},{ -57, 82},{ 83, 84},{-165, 85},{ -16,-198},{ 86, 87},{ -11, 88},{ 89, -99}, -{ 90, -83},{ -19, 91},{ 92, 93},{ 94, 95},{ 96, 97},{ 98, 99},{ -87, 100},{ 101, 102}, -{-190, -66},{ -33,-192},{ 103, 104},{ 105, 106},{-102, -42},{ 107,-126},{ 108, -29},{-129, -46}, -{ -86, -14},{-114, -32},{-172, 109},{ 110, -58},{ -34,-138},{ 111, 112},{ 113, 114},{ 115, 116}, -{ 117, 118},{ 119, 120},{-127,-166},{-174, 121},{ 122, 123},{ 124, 125},{ -88, -96},{ 126,-100}, -{ -38,-110},{ -22,-136},{ -55,-139},{-201, 127},{ -64,-193},{ 128, -49},{-175,-199},{ 129, 130}, -{ 131, 132},{ 133, 134},{ 135, 136},{ 137, 138},{ 139, 140},{ 141, 142},{ 143, 144},{ 145, 146}, -{ 147, 148},{ 149, 150},{-103, -92},{ -43,-130},{-145,-147},{-148, -41},{-216,-115},{-119,-123}, -{ -95, 151},{ 152, 153},{ 154, 155},{ 156, 157},{ 158, 159},{ 160, 161},{ 162, 163},{ 164, 165}, -{ 166, 167},{ 168, 169},{ 170, 171},{ 172, 173},{ 174, 175},{ 176, 177},{ 178, 179},{ 180, 181}, -{ 182, 183},{ 184, 185},{ 186, 187},{ 188, 189},{ 190,-153},{-180, -8},{ -97, -24},{-122,-113}, -{-124,-125},{ -67, -44},{-128, -69},{-106,-131},{-132,-133},{ -61, -73},{-137,-116},{ -89,-140}, -{-141,-142},{ -23, -25},{-146, -17},{-104,-149},{-150,-151},{ -52,-154},{-156,-157},{ -76, -70}, -{-164, -51},{ -72,-167},{-168,-169},{ -47, -20},{-173, -59},{-101,-176},{-177,-178},{ -68,-181}, -{-183,-184},{ -35, -60},{-191, -98},{ -56,-194},{-195,-196},{ -75, -65},{-200,-105},{-202,-203}, -{-204,-205},{-207,-208},{-210,-211},{ -50,-217},{-219,-220},{-225,-226},{-228,-229},}; -Word16 mlt_decoder_tree_category_6[31][2] = { -{ 1, 0},{ 2, 3},{ 4, 5},{ 6, 7},{ 8, -16},{ -1, -8},{ -2, -4},{ 9, 10}, -{ 11, 12},{ 13, 14},{ 15, 16},{ 17, -24},{ -3, -12},{ -6, 18},{ 19, -20},{ -10, -5}, -{ -17, -9},{ -18, 20},{ 21, 22},{ 23, 24},{ 25, -28},{ 26, -7},{ -14, -22},{ -26, -11}, -{ 27, -19},{ -25, -13},{ -21, 28},{ 29, -30},{ -27, 30},{ -15, -29},{ -23, -31},}; - -Word16 *table_of_decoder_tables[NUM_CATEGORIES-1] = { -(Word16 *)mlt_decoder_tree_category_0, -(Word16 *)mlt_decoder_tree_category_1, -(Word16 *)mlt_decoder_tree_category_2, -(Word16 *)mlt_decoder_tree_category_3, -(Word16 *)mlt_decoder_tree_category_4, -(Word16 *)mlt_decoder_tree_category_5, -(Word16 *)mlt_decoder_tree_category_6, -}; - diff --git a/res/pjproject/third_party/g7221/common/huff_tab.h b/res/pjproject/third_party/g7221/common/huff_tab.h deleted file mode 100644 index 5ccd65008f..0000000000 --- a/res/pjproject/third_party/g7221/common/huff_tab.h +++ /dev/null @@ -1,42 +0,0 @@ -/*********************************************************************** -** -** ITU-T G.722.1 (2005-05) - Fixed point implementation for main body and Annex C -** > Software Release 2.1 (2008-06) -** (Simple repackaging; no change from 2005-05 Release 2.0 code) -** -** © 2004 Polycom, Inc. -** -** All rights reserved. -** -***********************************************************************/ - -extern Word16 differential_region_power_bits[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS]; -extern UWord16 differential_region_power_codes[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS]; -extern Word16 differential_region_power_decoder_tree[MAX_NUMBER_OF_REGIONS][DIFF_REGION_POWER_LEVELS-1][2]; -extern Word16 mlt_quant_centroid[NUM_CATEGORIES][MAX_NUM_BINS]; -extern Word16 expected_bits_table[NUM_CATEGORIES]; -extern Word16 mlt_sqvh_bitcount_category_0[196]; -extern UWord16 mlt_sqvh_code_category_0[196]; -extern Word16 mlt_sqvh_bitcount_category_1[100]; -extern UWord16 mlt_sqvh_code_category_1[100]; -extern Word16 mlt_sqvh_bitcount_category_2[49]; -extern UWord16 mlt_sqvh_code_category_2[49]; -extern Word16 mlt_sqvh_bitcount_category_3[625]; -extern UWord16 mlt_sqvh_code_category_3[625]; -extern Word16 mlt_sqvh_bitcount_category_4[256]; -extern UWord16 mlt_sqvh_code_category_4[256]; -extern Word16 mlt_sqvh_bitcount_category_5[243]; -extern UWord16 mlt_sqvh_code_category_5[243]; -extern Word16 mlt_sqvh_bitcount_category_6[32]; -extern UWord16 mlt_sqvh_code_category_6[32]; -extern Word16 *table_of_bitcount_tables[NUM_CATEGORIES-1]; -extern UWord16 *table_of_code_tables[NUM_CATEGORIES-1]; -extern Word16 mlt_decoder_tree_category_0[180][2]; -extern Word16 mlt_decoder_tree_category_1[93][2]; -extern Word16 mlt_decoder_tree_category_2[47][2]; -extern Word16 mlt_decoder_tree_category_3[519][2]; -extern Word16 mlt_decoder_tree_category_4[208][2]; -extern Word16 mlt_decoder_tree_category_5[191][2]; -extern Word16 mlt_decoder_tree_category_6[31][2]; -extern Word16 *table_of_decoder_tables[NUM_CATEGORIES-1]; - diff --git a/res/pjproject/third_party/g7221/common/tables.c b/res/pjproject/third_party/g7221/common/tables.c deleted file mode 100644 index 1018e6475f..0000000000 --- a/res/pjproject/third_party/g7221/common/tables.c +++ /dev/null @@ -1,298 +0,0 @@ -/**************************************************************************** -** -** ITU-T G.722.1 (2005-05) - Fixed point implementation for main body and Annex C -** > Software Release 2.1 (2008-06) -** (Simple repackaging; no change from 2005-05 Release 2.0 code) -** -** © 2004 Polycom, Inc. -** -** All rights reserved. -** -****************************************************************************/ - -/**************************************************************************** - Filename: tables.c - - Purpose: Contains tables used by G.722.1 Annex C - - Design Notes: - -****************************************************************************/ - -/*************************************************************************** - Include files -***************************************************************************/ -#include "defs.h" - -Word16 int_region_standard_deviation_table[REGION_POWER_TABLE_SIZE] = { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1, 1, 1, 1, 2, 3, 4, 6, - 8, 11, 16, 23, 32, 45, 64, 91, 128, 181, - 256, 362, 512, 724, 1024, 1448, 2048, 2896, 4096, 5793, - 8192, 11585, 16384, 23170, 0,0,0,0,0,0, - 0,0,0,0}; - -Word16 standard_deviation_inverse_table[REGION_POWER_TABLE_SIZE] = { - 32767, 32767, 32767, 32767, 32767, 32767, 32767, 32767, 32767, 32767, - 32767, 32767, 32767, 32767, 32767, 32767, 32767, 32767, 32767, 32767, - 32767, 32767, 32767, 32767, 32767, 23170, 16384, 11585, 8192, 5793, - 4096, 2896, 2048, 1448, 1024, 724, 512, 362, 256, 181, - 128, 91, 64, 45, 32, 23, 16, 11, 8, 6, - 4, 3, 2, 1, 1, 1, 1, 0, 0, 0, - 0, 0, 0, 0}; - - -Word16 step_size_inverse_table[NUM_CATEGORIES]={ - 23167,16384,11585,8192,5793,4096,2896,2896 -}; - - -Word16 vector_dimension[NUM_CATEGORIES] = { 2, 2, 2, 4, 4, 5, 5, 1}; -Word16 number_of_vectors[NUM_CATEGORIES] = {10,10,10, 5, 5, 4, 4,20}; -/* The last category isn't really coded with scalar quantization. */ - -Word16 max_bin[NUM_CATEGORIES] = {13, 9, 6, 4, 3, 2, 1, 1}; - -Word16 max_bin_plus_one_inverse[NUM_CATEGORIES] = -{ - 2341,3277,4682,6554,8193,10923,16385,16385 -}; - -/* - * Release 1.2. - * Add new version of int_dead_zone[] to go with - * changes to vector_huffman() in encoder.c. - * - */ - -/************** See new version of table below -Word16 int_dead_zone[NUM_CATEGORIES]= -{ - 9830,10813,11796,12780,13763,14746,16384,16384 -}; -***************/ - -/******** New version of table added in Release 1.2 ********/ -Word16 int_dead_zone[NUM_CATEGORIES]= -{ -2457, 2703, 2949, 3195, 3440, 3686, 4096, 4096 -}; - - -/* - * Release 1.2. - * Added this new table to go with - * changes to vector_huffman() in encoder.c, - * accompanies the new table for int_dead_zone[]. - */ - -Word16 int_dead_zone_low_bits[NUM_CATEGORIES]= -{ -2, 1, 0, 0, 3, 2, 0, 0 -}; - - -Word16 samples_to_rmlt_window[DCT_LENGTH]= -{ 44, 134, 224, 314, 404, 494, 584, 674, 764, 853, - 943, 1033, 1123, 1213, 1302, 1392, 1482, 1571, 1661, 1750, - 1840, 1929, 2019, 2108, 2197, 2286, 2376, 2465, 2554, 2643, - 2732, 2821, 2909, 2998, 3087, 3175, 3264, 3352, 3441, 3529, - 3617, 3705, 3793, 3881, 3969, 4057, 4144, 4232, 4319, 4407, - 4494, 4581, 4668, 4755, 4842, 4928, 5015, 5101, 5188, 5274, - 5360, 5446, 5532, 5617, 5703, 5788, 5873, 5959, 6043, 6128, - 6213, 6297, 6382, 6466, 6550, 6634, 6718, 6801, 6885, 6968, - 7051, 7134, 7217, 7299, 7382, 7464, 7546, 7628, 7709, 7791, - 7872, 7953, 8034, 8115, 8195, 8276, 8356, 8436, 8515, 8595, - 8674, 8753, 8832, 8911, 8989, 9068, 9146, 9223, 9301, 9378, - 9455, 9532, 9609, 9685, 9762, 9838, 9913, 9989, 10064, 10139, - 10214, 10288, 10363, 10437, 10510, 10584, 10657, 10730, 10803, 10875, - 10948, 11020, 11091, 11163, 11234, 11305, 11375, 11446, 11516, 11586, - 11655, 11724, 11793, 11862, 11930, 11998, 12066, 12134, 12201, 12268, - 12334, 12401, 12467, 12532, 12598, 12663, 12728, 12792, 12857, 12920, - 12984, 13047, 13110, 13173, 13235, 13297, 13359, 13420, 13481, 13542, - 13602, 13662, 13722, 13782, 13841, 13899, 13958, 14016, 14074, 14131, - 14188, 14245, 14301, 14357, 14413, 14468, 14523, 14578, 14632, 14686, - 14739, 14793, 14845, 14898, 14950, 15002, 15053, 15104, 15155, 15205, - 15255, 15305, 15354, 15403, 15451, 15500, 15547, 15595, 15642, 15688, - 15734, 15780, 15826, 15871, 15916, 15960, 16004, 16047, 16091, 16133, - 16176, 16218, 16259, 16300, 16341, 16382, 16422, 16461, 16501, 16540, - 16578, 16616, 16654, 16691, 16728, 16764, 16800, 16836, 16871, 16906, - 16940, 16974, 17008, 17041, 17074, 17106, 17138, 17170, 17201, 17232, - 17262, 17292, 17321, 17350, 17379, 17407, 17435, 17462, 17489, 17516, - 17542, 17567, 17593, 17617, 17642, 17666, 17689, 17713, 17735, 17758, - 17779, 17801, 17822, 17842, 17863, 17882, 17901, 17920, 17939, 17957, - 17974, 17991, 18008, 18024, 18040, 18055, 18070, 18085, 18099, 18113, - 18126, 18139, 18151, 18163, 18174, 18185, 18196, 18206, 18216, 18225, - 18234, 18242, 18250, 18257, 18265, 18271, 18277, 18283, 18288, 18293, - 18298, 18302, 18305, 18308, 18311, 18313, 18315, 18316, 18317, 18317, -}; - -Word16 rmlt_to_samples_window[DCT_LENGTH]= -{ 44, 133, 222, 310, 399, 488, 577, 666, 754, 843, - 932, 1020, 1109, 1198, 1286, 1375, 1464, 1552, 1641, 1729, - 1817, 1906, 1994, 2082, 2171, 2259, 2347, 2435, 2523, 2611, - 2699, 2786, 2874, 2962, 3049, 3137, 3224, 3312, 3399, 3486, - 3573, 3660, 3747, 3834, 3921, 4008, 4094, 4181, 4267, 4353, - 4439, 4526, 4611, 4697, 4783, 4869, 4954, 5040, 5125, 5210, - 5295, 5380, 5465, 5549, 5634, 5718, 5802, 5886, 5970, 6054, - 6138, 6221, 6304, 6388, 6471, 6553, 6636, 6719, 6801, 6883, - 6965, 7047, 7129, 7211, 7292, 7373, 7454, 7535, 7616, 7696, - 7777, 7857, 7937, 8016, 8096, 8175, 8254, 8333, 8412, 8491, - 8569, 8647, 8725, 8803, 8880, 8957, 9035, 9111, 9188, 9264, - 9341, 9417, 9492, 9568, 9643, 9718, 9793, 9868, 9942, 10016, - 10090, 10163, 10237, 10310, 10383, 10455, 10528, 10600, 10672, 10743, - 10815, 10886, 10957, 11027, 11098, 11168, 11237, 11307, 11376, 11445, - 11514, 11582, 11650, 11718, 11785, 11853, 11920, 11986, 12053, 12119, - 12185, 12250, 12315, 12380, 12445, 12509, 12573, 12637, 12701, 12764, - 12826, 12889, 12951, 13013, 13075, 13136, 13197, 13257, 13318, 13378, - 13437, 13497, 13556, 13614, 13673, 13731, 13788, 13846, 13903, 13959, - 14016, 14072, 14128, 14183, 14238, 14292, 14347, 14401, 14454, 14508, - 14561, 14613, 14665, 14717, 14769, 14820, 14871, 14921, 14971, 15021, - 15070, 15119, 15168, 15216, 15264, 15311, 15359, 15405, 15452, 15498, - 15544, 15589, 15634, 15678, 15722, 15766, 15810, 15853, 15895, 15938, - 15979, 16021, 16062, 16103, 16143, 16183, 16223, 16262, 16300, 16339, - 16377, 16414, 16452, 16488, 16525, 16561, 16596, 16632, 16666, 16701, - 16735, 16768, 16801, 16834, 16867, 16899, 16930, 16961, 16992, 17022, - 17052, 17082, 17111, 17140, 17168, 17196, 17223, 17250, 17277, 17303, - 17329, 17354, 17379, 17404, 17428, 17452, 17475, 17498, 17520, 17542, - 17564, 17585, 17606, 17626, 17646, 17665, 17684, 17703, 17721, 17739, - 17756, 17773, 17790, 17806, 17821, 17836, 17851, 17865, 17879, 17893, - 17906, 17918, 17931, 17942, 17954, 17965, 17975, 17985, 17995, 18004, - 18012, 18021, 18028, 18036, 18043, 18049, 18055, 18061, 18066, 18071, - 18076, 18079, 18083, 18086, 18089, 18091, 18093, 18094, 18095, 18095, -}; - -Word16 max_samples_to_rmlt_window[MAX_DCT_LENGTH]={ -0, 43, 89, 133, 178, 222, 268, 314, 357, 403, -447, 493, 538, 582, 628, 671, 717, 763, 807, 853, -896, 942, 987, 1031, 1077, 1121, 1166, 1212, 1256, 1301, -1345, 1390, 1436, 1480, 1526, 1569, 1615, 1660, 1704, 1749, -1793, 1838, 1884, 1928, 1973, 2016, 2062, 2107, 2151, 2196, -2239, 2285, 2331, 2374, 2419, 2463, 2508, 2553, 2597, 2642, -2685, 2730, 2776, 2819, 2864, 2908, 2952, 2998, 3041, 3086, -3129, 3174, 3219, 3263, 3307, 3350, 3396, 3440, 3483, 3528, -3571, 3616, 3661, 3704, 3748, 3791, 3836, 3881, 3923, 3968, -4011, 4055, 4100, 4143, 4187, 4230, 4274, 4318, 4362, 4406, -4448, 4493, 4537, 4580, 4624, 4666, 4710, 4755, 4797, 4841, -4883, 4927, 4971, 5013, 5057, 5099, 5144, 5187, 5229, 5273, -5315, 5359, 5402, 5444, 5488, 5530, 5573, 5617, 5658, 5702, -5743, 5787, 5830, 5871, 5915, 5956, 6000, 6043, 6084, 6127, -6169, 6211, 6254, 6296, 6339, 6380, 6423, 6465, 6507, 6549, -6590, 6633, 6675, 6716, 6759, 6799, 6842, 6884, 6925, 6967, -7007, 7050, 7092, 7132, 7175, 7215, 7257, 7299, 7339, 7381, -7421, 7462, 7504, 7544, 7586, 7626, 7667, 7709, 7749, 7790, -7830, 7871, 7912, 7952, 7993, 8032, 8073, 8114, 8153, 8194, -8234, 8275, 8315, 8355, 8395, 8434, 8474, 8515, 8554, 8594, -8632, 8673, 8713, 8752, 8792, 8830, 8871, 8910, 8949, 8989, -9027, 9066, 9106, 9144, 9184, 9221, 9261, 9300, 9338, 9378, -9415, 9454, 9493, 9531, 9570, 9607, 9646, 9685, 9722, 9761, -9798, 9836, 9875, 9912, 9950, 9987, 10025, 10064, 10100, 10138, -10175, 10213, 10250, 10287, 10325, 10361, 10398, 10436, 10472, 10510, -10545, 10583, 10620, 10656, 10692, 10728, 10766, 10803, 10838, 10874, -10910, 10947, 10983, 11018, 11055, 11089, 11126, 11162, 11197, 11233, -11268, 11303, 11340, 11374, 11410, 11444, 11480, 11515, 11549, 11585, -11619, 11654, 11689, 11723, 11758, 11791, 11826, 11861, 11895, 11930, -11963, 11997, 12032, 12065, 12099, 12132, 12166, 12201, 12233, 12267, -12300, 12333, 12367, 12400, 12433, 12465, 12499, 12532, 12563, 12597, -12629, 12662, 12695, 12727, 12759, 12790, 12823, 12856, 12887, 12920, -12951, 12983, 13016, 13046, 13078, 13109, 13141, 13173, 13203, 13235, -13266, 13296, 13328, 13358, 13389, 13419, 13450, 13481, 13510, 13541, -13571, 13602, 13632, 13661, 13692, 13721, 13751, 13781, 13810, 13840, -13869, 13898, 13929, 13957, 13986, 14015, 14044, 14073, 14101, 14130, -14158, 14187, 14216, 14244, 14272, 14300, 14328, 14357, 14384, 14412, -14439, 14468, 14495, 14522, 14550, 14577, 14604, 14632, 14658, 14686, -14711, 14739, 14765, 14792, 14819, 14844, 14871, 14897, 14923, 14949, -14975, 15001, 15027, 15053, 15079, 15103, 15129, 15155, 15180, 15205, -15229, 15255, 15280, 15304, 15329, 15353, 15378, 15403, 15426, 15451, -15475, 15499, 15523, 15546, 15570, 15594, 15618, 15641, 15664, 15688, -15711, 15734, 15757, 15780, 15802, 15825, 15848, 15871, 15892, 15915, -15937, 15960, 15982, 16003, 16026, 16047, 16069, 16090, 16112, 16133, -16154, 16175, 16197, 16217, 16239, 16259, 16279, 16301, 16320, 16341, -16361, 16382, 16402, 16421, 16441, 16461, 16481, 16501, 16520, 16539, -16558, 16578, 16597, 16615, 16635, 16653, 16672, 16691, 16709, 16728, -16746, 16764, 16782, 16800, 16818, 16835, 16853, 16871, 16888, 16905, -16923, 16940, 16957, 16974, 16991, 17008, 17024, 17041, 17057, 17074, -17090, 17106, 17122, 17138, 17154, 17169, 17185, 17201, 17216, 17231, -17246, 17262, 17277, 17291, 17306, 17321, 17336, 17350, 17364, 17379, -17393, 17407, 17421, 17435, 17449, 17462, 17476, 17490, 17502, 17515, -17528, 17542, 17554, 17567, 17580, 17592, 17605, 17618, 17629, 17642, -17653, 17666, 17678, 17689, 17701, 17712, 17724, 17736, 17746, 17757, -17768, 17779, 17790, 17800, 17811, 17822, 17832, 17842, 17852, 17862, -17872, 17882, 17892, 17902, 17911, 17920, 17930, 17938, 17947, 17956, -17965, 17974, 17983, 17991, 17999, 18008, 18016, 18025, 18032, 18040, -18047, 18055, 18063, 18070, 18078, 18085, 18092, 18099, 18106, 18112, -18119, 18126, 18132, 18138, 18144, 18151, 18157, 18163, 18168, 18174, -18179, 18185, 18191, 18196, 18201, 18206, 18211, 18216, 18220, 18225, -18229, 18234, 18238, 18242, 18246, 18250, 18254, 18257, 18260, 18264, -18268, 18271, 18274, 18277, 18280, 18283, 18286, 18288, 18291, 18293, -18295, 18297, 18300, 18301, 18303, 18305, 18306, 18308, 18309, 18311, -18312, 18312, 18314, 18315, 18315, 18316, 18316, 18317, 18317, 18317 -}; - -Word16 max_rmlt_to_samples_window[MAX_DCT_LENGTH]={ -0, 43, 88, 131, 176, 219, 265, 310, 353, 398, -442, 487, 532, 575, 620, 663, 709, 754, 797, 842, -885, 931, 975, 1019, 1064, 1107, 1152, 1197, 1240, 1286, -1329, 1373, 1419, 1462, 1507, 1550, 1595, 1640, 1683, 1728, -1771, 1816, 1861, 1904, 1949, 1992, 2037, 2081, 2125, 2170, -2212, 2258, 2302, 2345, 2390, 2433, 2477, 2522, 2565, 2610, -2652, 2697, 2742, 2784, 2829, 2872, 2916, 2961, 3004, 3048, -3091, 3136, 3180, 3223, 3267, 3310, 3354, 3399, 3441, 3485, -3528, 3572, 3616, 3659, 3703, 3745, 3790, 3834, 3876, 3920, -3962, 4006, 4050, 4093, 4136, 4179, 4222, 4266, 4309, 4352, -4394, 4438, 4482, 4524, 4568, 4610, 4653, 4697, 4739, 4782, -4824, 4867, 4911, 4953, 4996, 5038, 5081, 5124, 5166, 5209, -5251, 5294, 5337, 5378, 5421, 5463, 5506, 5548, 5590, 5633, -5674, 5717, 5759, 5800, 5843, 5884, 5927, 5970, 6011, 6053, -6094, 6136, 6178, 6219, 6262, 6302, 6345, 6387, 6428, 6470, -6510, 6552, 6594, 6635, 6677, 6717, 6759, 6801, 6841, 6883, -6922, 6964, 7006, 7046, 7087, 7127, 7169, 7210, 7250, 7291, -7331, 7372, 7413, 7453, 7494, 7533, 7574, 7615, 7655, 7695, -7735, 7776, 7816, 7855, 7896, 7935, 7975, 8016, 8054, 8095, -8134, 8174, 8214, 8253, 8293, 8332, 8371, 8412, 8450, 8490, -8528, 8568, 8607, 8646, 8685, 8723, 8763, 8802, 8840, 8879, -8917, 8956, 8995, 9033, 9072, 9109, 9148, 9187, 9225, 9264, -9301, 9340, 9378, 9415, 9454, 9491, 9529, 9567, 9604, 9642, -9679, 9717, 9755, 9791, 9829, 9866, 9903, 9941, 9977, 10015, -10051, 10089, 10126, 10162, 10199, 10235, 10272, 10309, 10345, 10382, -10417, 10454, 10491, 10526, 10563, 10598, 10635, 10672, 10706, 10742, -10778, 10814, 10850, 10885, 10921, 10955, 10991, 11027, 11061, 11097, -11131, 11166, 11202, 11236, 11271, 11305, 11340, 11376, 11409, 11444, -11478, 11513, 11547, 11580, 11615, 11648, 11683, 11717, 11751, 11785, -11817, 11852, 11886, 11918, 11952, 11985, 12018, 12053, 12085, 12118, -12150, 12184, 12217, 12249, 12282, 12314, 12347, 12380, 12411, 12444, -12476, 12508, 12541, 12572, 12604, 12635, 12668, 12700, 12731, 12763, -12794, 12826, 12858, 12888, 12920, 12950, 12982, 13013, 13043, 13074, -13105, 13135, 13166, 13196, 13227, 13257, 13287, 13317, 13347, 13377, -13407, 13437, 13467, 13496, 13525, 13555, 13585, 13614, 13643, 13672, -13701, 13730, 13760, 13787, 13817, 13845, 13873, 13903, 13930, 13959, -13987, 14015, 14043, 14071, 14099, 14126, 14154, 14183, 14209, 14237, -14264, 14292, 14319, 14346, 14373, 14400, 14427, 14454, 14480, 14507, -14533, 14560, 14586, 14612, 14639, 14664, 14691, 14717, 14742, 14768, -14793, 14819, 14845, 14870, 14896, 14920, 14945, 14971, 14996, 15020, -15044, 15070, 15094, 15118, 15143, 15167, 15192, 15216, 15239, 15263, -15287, 15311, 15335, 15358, 15382, 15405, 15428, 15452, 15474, 15498, -15520, 15543, 15566, 15588, 15611, 15633, 15656, 15678, 15700, 15722, -15744, 15766, 15788, 15809, 15831, 15852, 15874, 15895, 15916, 15937, -15958, 15979, 16000, 16020, 16041, 16061, 16082, 16103, 16122, 16143, -16162, 16183, 16203, 16222, 16242, 16261, 16281, 16300, 16319, 16339, -16357, 16377, 16396, 16414, 16433, 16451, 16470, 16488, 16506, 16525, -16542, 16561, 16579, 16596, 16614, 16631, 16649, 16667, 16683, 16700, -16717, 16735, 16752, 16768, 16785, 16801, 16818, 16834, 16850, 16867, -16883, 16899, 16915, 16930, 16945, 16961, 16977, 16992, 17007, 17022, -17037, 17052, 17067, 17081, 17096, 17111, 17126, 17140, 17154, 17168, -17182, 17196, 17209, 17223, 17237, 17250, 17264, 17277, 17290, 17303, -17315, 17329, 17341, 17354, 17367, 17379, 17391, 17404, 17415, 17428, -17439, 17451, 17463, 17475, 17486, 17497, 17509, 17520, 17531, 17542, -17552, 17563, 17574, 17584, 17595, 17605, 17616, 17626, 17636, 17646, -17655, 17665, 17675, 17684, 17694, 17703, 17712, 17721, 17730, 17739, -17747, 17756, 17764, 17773, 17781, 17789, 17798, 17806, 17813, 17821, -17829, 17836, 17843, 17851, 17858, 17866, 17872, 17879, 17886, 17893, -17899, 17906, 17912, 17918, 17924, 17931, 17937, 17942, 17948, 17953, -17959, 17964, 17970, 17975, 17980, 17985, 17990, 17995, 17999, 18004, -18008, 18012, 18016, 18021, 18025, 18028, 18032, 18036, 18039, 18043, -18046, 18049, 18052, 18055, 18058, 18061, 18064, 18067, 18069, 18071, -18073, 18075, 18078, 18079, 18081, 18083, 18084, 18086, 18087, 18089, -18090, 18090, 18091, 18092, 18093, 18094, 18094, 18095, 18095, 18095 -}; diff --git a/res/pjproject/third_party/g7221/common/tables.h b/res/pjproject/third_party/g7221/common/tables.h deleted file mode 100644 index ddf29eb3d2..0000000000 --- a/res/pjproject/third_party/g7221/common/tables.h +++ /dev/null @@ -1,47 +0,0 @@ -/*********************************************************************** -** -** ITU-T G.722.1 (2005-05) - Fixed point implementation for main body and Annex C -** > Software Release 2.1 (2008-06) -** (Simple repackaging; no change from 2005-05 Release 2.0 code) -** -** © 1999 PictureTel Coporation -** Andover, MA, USA -** -** All rights reserved. -** -***********************************************************************/ - -/*********************************************************************** - Filename: tables.h - - Purpose: Contains table definitions used by G.722.1 Annex C - - Design Notes: - -***********************************************************************/ - -/*********************************************************************** - Include files -***********************************************************************/ -#define REGION_POWER_TABLE_SIZE 64 -#define NUM_CATEGORIES 8 -#define DCT_LENGTH 320 -#define MAX_DCT_LENGTH 640 - -extern Word16 int_region_standard_deviation_table[REGION_POWER_TABLE_SIZE]; -extern Word16 standard_deviation_inverse_table[REGION_POWER_TABLE_SIZE]; -extern Word16 step_size_inverse_table[NUM_CATEGORIES]; -extern Word16 vector_dimension[NUM_CATEGORIES]; -extern Word16 number_of_vectors[NUM_CATEGORIES]; -/* The last category isn't really coded with scalar quantization. */ -extern Word16 max_bin[NUM_CATEGORIES]; -extern Word16 max_bin_plus_one_inverse[NUM_CATEGORIES]; -extern Word16 int_dead_zone[NUM_CATEGORIES]; -extern Word16 samples_to_rmlt_window[DCT_LENGTH]; -extern Word16 rmlt_to_samples_window[DCT_LENGTH]; - -/* Add next line in Release 1.2 */ -extern Word16 int_dead_zone_low_bits[NUM_CATEGORIES]; - -extern Word16 max_samples_to_rmlt_window[MAX_DCT_LENGTH]; -extern Word16 max_rmlt_to_samples_window[MAX_DCT_LENGTH]; diff --git a/res/pjproject/third_party/g7221/common/typedef.h b/res/pjproject/third_party/g7221/common/typedef.h deleted file mode 100644 index 09ddaba486..0000000000 --- a/res/pjproject/third_party/g7221/common/typedef.h +++ /dev/null @@ -1,32 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#ifndef TYPEDEF_H -#define TYPEDEF_H - -#include - -typedef pj_int8_t Word8; -typedef pj_int16_t Word16; -typedef pj_int32_t Word32; -typedef pj_uint16_t UWord16; -typedef pj_uint32_t UWord32; -typedef int Flag; - -#endif /* TYPEDEF_H */ - diff --git a/res/pjproject/third_party/g7221/decode/coef2sam.c b/res/pjproject/third_party/g7221/decode/coef2sam.c deleted file mode 100644 index 87deab0ef1..0000000000 --- a/res/pjproject/third_party/g7221/decode/coef2sam.c +++ /dev/null @@ -1,180 +0,0 @@ -/***************************************************************************** -** -** ITU-T G.722.1 (2005-05) - Fixed point implementation for main body and Annex C -** > Software Release 2.1 (2008-06) -** (Simple repackaging; no change from 2005-05 Release 2.0 code) -** -** © 2004 Polycom, Inc. -** -** All rights reserved. -** -*****************************************************************************/ - -/***************************************************************************** -* Filename: rmlt_coefs_to_samples.c -* -* Purpose: Convert Reversed MLT (Modulated Lapped Transform) -* Coefficients to Samples -* -* The "Reversed MLT" is an overlapped block transform which uses -* even symmetry * on the left, odd symmetry on the right and a -* Type IV DCT as the block transform. * It is thus similar to a -* MLT which uses odd symmetry on the left, even symmetry * on the -* right and a Type IV DST as the block transform. In fact, it is -* equivalent * to reversing the order of the samples, performing -* an MLT and then negating all * the even-numbered coefficients. -* -*****************************************************************************/ - -/*************************************************************************** - Include files -***************************************************************************/ -#include "defs.h" -#include "tables.h" -#include "count.h" - -/*************************************************************************** - Function: rmlt_coefs_to_samples - - Syntax: void rmlt_coefs_to_samples(Word16 *coefs, - Word16 *old_samples, - Word16 *out_samples, - Word16 dct_length, - Word16 mag_shift) - - inputs: Word16 *coefs - Word16 *old_samples - Word16 dct_length - Word16 mag_shift - - - outputs: Word16 *out_samples - - Description: Converts the mlt_coefs to samples - - Design Notes: - - WMOPS: 7kHz | 24kbit | 32kbit - -------|--------------|---------------- - AVG | 1.91 | 1.91 - -------|--------------|---------------- - MAX | 1.91 | 1.91 - -------|--------------|---------------- - - 14kHz | 24kbit | 32kbit | 48kbit - -------|--------------|----------------|---------------- - AVG | 3.97 | 3.97 | 3.97 - -------|--------------|----------------|---------------- - MAX | 3.97 | 3.97 | 3.97 - -------|--------------|----------------|---------------- - -***************************************************************************/ - -void rmlt_coefs_to_samples(Word16 *coefs, - Word16 *old_samples, - Word16 *out_samples, - Word16 dct_length, - Word16 mag_shift) -{ - - - Word16 index, vals_left; - Word16 new_samples[MAX_DCT_LENGTH]; - Word16 *new_ptr, *old_ptr; - Word16 *win_new, *win_old; - Word16 *out_ptr; - Word16 half_dct_size; - Word32 sum; - - - - half_dct_size = shr_nocheck(dct_length,1); - - /* Perform a Type IV (inverse) DCT on the coefficients */ - dct_type_iv_s(coefs, new_samples, dct_length); - - test(); - if (mag_shift > 0) - { - for(index=0;index 0; vals_left--) - { - sum = 0L; - move32(); - sum = L_mac(sum,*win_new++, *--new_ptr); - sum = L_mac(sum,*--win_old, *old_ptr++); - *out_ptr++ = itu_round(L_shl_nocheck(sum,2)); - move16(); - - } - - /* Get the second half of the windowed samples */ - - for (vals_left = half_dct_size; vals_left > 0; vals_left--) - { - sum = 0L; - move32(); - sum = L_mac(sum,*win_new++, *new_ptr++); - sum = L_mac(sum,negate(*--win_old), *--old_ptr); - *out_ptr++ = itu_round(L_shl_nocheck(sum,2)); - move16(); - } - - /* Save the second half of the new samples for */ - /* next time, when they will be the old samples. */ - - /* pointer arithmetic */ - new_ptr = new_samples + half_dct_size; - move16(); - old_ptr = old_samples; - move16(); - for (vals_left = half_dct_size; vals_left > 0; vals_left--) - { - *old_ptr++ = *new_ptr++; - move16(); - } -} diff --git a/res/pjproject/third_party/g7221/decode/dct4_s.c b/res/pjproject/third_party/g7221/decode/dct4_s.c deleted file mode 100644 index 0123a13bb4..0000000000 --- a/res/pjproject/third_party/g7221/decode/dct4_s.c +++ /dev/null @@ -1,504 +0,0 @@ -/******************************************************************************** -** -** ITU-T G.722.1 (2005-05) - Fixed point implementation for main body and Annex C -** > Software Release 2.1 (2008-06) -** (Simple repackaging; no change from 2005-05 Release 2.0 code) -** -** © 2004 Polycom, Inc. -** -** All rights reserved. -** -********************************************************************************/ - -/******************************************************************************** -* Filename: dct_type_iv_s.c -* -* Purpose: Discrete Cosine Transform, Type IV used for inverse MLT -* -* The basis functions are -* -* cos(PI*(t+0.5)*(k+0.5)/block_length) -* -* for time t and basis function number k. Due to the symmetry of the expression -* in t and k, it is clear that the forward and inverse transforms are the same. -* -*********************************************************************************/ - -/*************************************************************************** - Include files -***************************************************************************/ -#include "defs.h" -#include "count.h" -#include "dct4_s.h" - -/*************************************************************************** - External variable declarations -***************************************************************************/ -extern Word16 syn_bias_7khz[DCT_LENGTH]; -extern Word16 dither[DCT_LENGTH]; -extern Word16 max_dither[MAX_DCT_LENGTH]; - -extern Word16 dct_core_s[DCT_LENGTH_DIV_32][DCT_LENGTH_DIV_32]; -extern cos_msin_t s_cos_msin_2[DCT_LENGTH_DIV_32]; -extern cos_msin_t s_cos_msin_4[DCT_LENGTH_DIV_16]; -extern cos_msin_t s_cos_msin_8[DCT_LENGTH_DIV_8]; -extern cos_msin_t s_cos_msin_16[DCT_LENGTH_DIV_4]; -extern cos_msin_t s_cos_msin_32[DCT_LENGTH_DIV_2]; -extern cos_msin_t s_cos_msin_64[DCT_LENGTH]; -extern cos_msin_t *s_cos_msin_table[]; - -/******************************************************************************** - Function: dct_type_iv_s - - Syntax: void dct_type_iv_s (Word16 *input,Word16 *output,Word16 dct_length) - - - Description: Discrete Cosine Transform, Type IV used for inverse MLT - - Design Notes: - - WMOPS: 7kHz | 24kbit | 32kbit - -------|--------------|---------------- - AVG | 1.74 | 1.74 - -------|--------------|---------------- - MAX | 1.74 | 1.74 - -------|--------------|---------------- - - 14kHz | 24kbit | 32kbit | 48kbit - -------|--------------|----------------|---------------- - AVG | 3.62 | 3.62 | 3.62 - -------|--------------|----------------|---------------- - MAX | 3.62 | 3.62 | 3.62 - -------|--------------|----------------|---------------- - -********************************************************************************/ - -void dct_type_iv_s (Word16 *input,Word16 *output,Word16 dct_length) -{ - Word16 buffer_a[MAX_DCT_LENGTH], buffer_b[MAX_DCT_LENGTH], buffer_c[MAX_DCT_LENGTH]; - Word16 *in_ptr, *in_ptr_low, *in_ptr_high, *next_in_base; - Word16 *out_ptr_low, *out_ptr_high, *next_out_base; - Word16 *out_buffer, *in_buffer, *buffer_swap; - Word16 in_val_low, in_val_high; - Word16 out_val_low, out_val_high; - Word16 in_low_even, in_low_odd; - Word16 in_high_even, in_high_odd; - Word16 out_low_even, out_low_odd; - Word16 out_high_even, out_high_odd; - Word16 *pair_ptr; - Word16 cos_even, cos_odd, msin_even, msin_odd; - Word16 set_span, set_count, set_count_log, pairs_left, sets_left; - Word16 i,k; - Word16 index; - Word16 dummy; - Word32 sum; - cos_msin_t **table_ptr_ptr, *cos_msin_ptr; - - Word32 acca; - Word16 temp; - - Word16 dct_length_log; - Word16 *dither_ptr; - - /*++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ - /* Do the sum/difference butterflies, the first part of */ - /* converting one N-point transform into 32 - 10 point transforms */ - /* transforms, where N = 1 << DCT_LENGTH_LOG. */ - /*++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ - test(); - if (dct_length==DCT_LENGTH) - { - dct_length_log = DCT_LENGTH_LOG; - move16(); - dither_ptr = dither; - move16(); - } - else - { - dct_length_log = MAX_DCT_LENGTH_LOG; - move16(); - dither_ptr = max_dither; - move16(); - } - - in_buffer = input; - move16(); - out_buffer = buffer_a; - move16(); - - index=0; - move16(); - - i=0; - move16(); - - for (set_count_log = 0; set_count_log <= dct_length_log - 2; set_count_log++) - { - - /*===========================================================*/ - /* Initialization for the loop over sets at the current size */ - /*===========================================================*/ - - /* set_span = 1 << (DCT_LENGTH_LOG - set_count_log); */ - set_span = shr_nocheck(dct_length,set_count_log); - - set_count = shl_nocheck(1,set_count_log); - in_ptr = in_buffer; - move16(); - next_out_base = out_buffer; - move16(); - - /*=====================================*/ - /* Loop over all the sets of this size */ - /*=====================================*/ - temp = sub(index,1); - test(); - if(temp < 0) - { - for (sets_left = set_count;sets_left > 0;sets_left--) - { - - /*||||||||||||||||||||||||||||||||||||||||||||*/ - /* Set up output pointers for the current set */ - /*||||||||||||||||||||||||||||||||||||||||||||*/ - /* pointer arithmetic */ - out_ptr_low = next_out_base; - move16(); - next_out_base += set_span; - move16(); - out_ptr_high = next_out_base; - move16(); - - /*||||||||||||||||||||||||||||||||||||||||||||||||||*/ - /* Loop over all the butterflies in the current set */ - /*||||||||||||||||||||||||||||||||||||||||||||||||||*/ - - do - { - in_val_low = *in_ptr++; - move16(); - in_val_high = *in_ptr++; - move16(); - - /* BEST METHOD OF GETTING RID OF BIAS, BUT COMPUTATIONALLY UNPLEASANT */ - /* ALTERNATIVE METHOD, SMEARS BIAS OVER THE ENTIRE FRAME, COMPUTATIONALLY SIMPLEST. */ - /* IF THIS WORKS, IT'S PREFERABLE */ - - dummy = add(in_val_low,dither_ptr[i++]); - // blp: addition of two 16bits vars, there's no way - // they'll overflow a 32bit var - //acca = L_add(dummy,in_val_high); - acca = dummy + in_val_high; - out_val_low = extract_l(L_shr_nocheck(acca,1)); - - dummy = add(in_val_low,dither_ptr[i++]); - // blp: addition of two 16bits vars, there's no way - // they'll overflow a 32bit var - //acca = L_add(dummy,-in_val_high); - acca = dummy - in_val_high; - out_val_high = extract_l(L_shr_nocheck(acca,1)); - - *out_ptr_low++ = out_val_low; - move16(); - *--out_ptr_high = out_val_high; - move16(); - - test(); - - /* this involves comparison of pointers */ - /* pointer arithmetic */ - - } while (out_ptr_low < out_ptr_high); - - } /* End of loop over sets of the current size */ - } - else - { - for (sets_left = set_count; sets_left > 0; sets_left--) - { - /*||||||||||||||||||||||||||||||||||||||||||||*/ - /* Set up output pointers for the current set */ - /*||||||||||||||||||||||||||||||||||||||||||||*/ - - out_ptr_low = next_out_base; - move16(); - next_out_base += set_span; - move16(); - out_ptr_high = next_out_base; - move16(); - - /*||||||||||||||||||||||||||||||||||||||||||||||||||*/ - /* Loop over all the butterflies in the current set */ - /*||||||||||||||||||||||||||||||||||||||||||||||||||*/ - - do - { - in_val_low = *in_ptr++; - move16(); - in_val_high = *in_ptr++; - move16(); - - out_val_low = add(in_val_low,in_val_high); - out_val_high = add(in_val_low,negate(in_val_high)); - - *out_ptr_low++ = out_val_low; - move16(); - *--out_ptr_high = out_val_high; - move16(); - - test(); - } while (out_ptr_low < out_ptr_high); - - } /* End of loop over sets of the current size */ - } - - /*============================================================*/ - /* Decide which buffers to use as input and output next time. */ - /* Except for the first time (when the input buffer is the */ - /* subroutine input) we just alternate the local buffers. */ - /*============================================================*/ - - in_buffer = out_buffer; - move16(); - - test(); - if (out_buffer == buffer_a) - { - out_buffer = buffer_b; - move16(); - } - else - { - out_buffer = buffer_a; - move16(); - } - - index = add(index,1); - } /* End of loop over set sizes */ - - - /*++++++++++++++++++++++++++++++++*/ - /* Do 32 - 10 point transforms */ - /*++++++++++++++++++++++++++++++++*/ - - pair_ptr = in_buffer; - move16(); - buffer_swap = buffer_c; - move16(); - - for (pairs_left = 1 << (dct_length_log - 1); pairs_left > 0; pairs_left--) - { - for ( k=0; k= 0; set_count_log--) - { - - /*===========================================================*/ - /* Initialization for the loop over sets at the current size */ - /*===========================================================*/ - - /* set_span = 1 << (DCT_LENGTH_LOG - set_count_log); */ - set_span = shr_nocheck(dct_length,set_count_log); - - set_count = shl_nocheck(1,set_count_log); - next_in_base = in_buffer; - move16(); - test(); - if (set_count_log == 0) - { - next_out_base = output; - move16(); - } - else - { - next_out_base = out_buffer; - move16(); - } - - /*=====================================*/ - /* Loop over all the sets of this size */ - /*=====================================*/ - - for (sets_left = set_count; sets_left > 0; sets_left--) - { - - /*|||||||||||||||||||||||||||||||||||||||||*/ - /* Set up the pointers for the current set */ - /*|||||||||||||||||||||||||||||||||||||||||*/ - - in_ptr_low = next_in_base; - move16(); - - temp = shr_nocheck(set_span,1); - in_ptr_high = in_ptr_low + temp; - move16(); - - next_in_base += set_span; - move16(); - - out_ptr_low = next_out_base; - move16(); - - next_out_base += set_span; - move16(); - out_ptr_high = next_out_base; - move16(); - - cos_msin_ptr = *table_ptr_ptr; - move16(); - - /*||||||||||||||||||||||||||||||||||||||||||||||||||||||*/ - /* Loop over all the butterfly pairs in the current set */ - /*||||||||||||||||||||||||||||||||||||||||||||||||||||||*/ - - do - { - in_low_even = *in_ptr_low++; - move16(); - in_low_odd = *in_ptr_low++; - move16(); - in_high_even = *in_ptr_high++; - move16(); - in_high_odd = *in_ptr_high++; - move16(); - cos_even = cos_msin_ptr[0].cosine; - move16(); - msin_even = cos_msin_ptr[0].minus_sine; - move16(); - cos_odd = cos_msin_ptr[1].cosine; - move16(); - msin_odd = cos_msin_ptr[1].minus_sine; - move16(); - cos_msin_ptr += 2; - - sum = 0L; - move32(); - - sum = L_mac(sum,cos_even,in_low_even); - sum = L_mac(sum,negate(msin_even),in_high_even); - out_low_even = itu_round(L_shl_nocheck(sum,1)); - - sum = 0L; - move32(); - sum = L_mac(sum,msin_even,in_low_even); - sum = L_mac(sum,cos_even,in_high_even); - out_high_even = itu_round(L_shl_nocheck(sum,1)); - - sum = 0L; - move32(); - sum = L_mac(sum,cos_odd,in_low_odd); - sum = L_mac(sum,msin_odd,in_high_odd); - out_low_odd = itu_round(L_shl_nocheck(sum,1)); - - sum = 0L; - move32(); - sum = L_mac(sum,msin_odd,in_low_odd); - sum = L_mac(sum,negate(cos_odd),in_high_odd); - out_high_odd = itu_round(L_shl_nocheck(sum,1)); - - *out_ptr_low++ = out_low_even; - move16(); - *--out_ptr_high = out_high_even; - move16(); - *out_ptr_low++ = out_low_odd; - move16(); - *--out_ptr_high = out_high_odd; - move16(); - - test(); - } while (out_ptr_low < out_ptr_high); - - } /* End of loop over sets of the current size */ - - /*=============================================*/ - /* Swap input and output buffers for next time */ - /*=============================================*/ - - buffer_swap = in_buffer; - move16(); - in_buffer = out_buffer; - move16(); - out_buffer = buffer_swap; - move16(); - - index = add(index,1); - table_ptr_ptr++; - } - /*------------------------------------ - - ADD IN BIAS FOR OUTPUT - - -----------------------------------*/ - if (dct_length==DCT_LENGTH) - { - for(i=0;i<320;i++) - { - // blp: addition of two 16bits vars, there's no way - // they'll overflow a 32bit var - //sum = L_add(output[i],syn_bias_7khz[i]); - sum = output[i] + syn_bias_7khz[i]; - acca = L_sub(sum,32767); - test(); - if (acca > 0) - { - sum = 32767L; - move32(); - } - // blp: addition of two 16bits vars, there's no way - // they'll overflow 32bit var - //acca = L_add(sum,32768L); - acca = sum + 32768; - test(); - if (acca < 0) - { - sum = -32768L; - move32(); - } - output[i] = extract_l(sum); - } - } -} - diff --git a/res/pjproject/third_party/g7221/decode/dct4_s.h b/res/pjproject/third_party/g7221/decode/dct4_s.h deleted file mode 100644 index 010e52d82a..0000000000 --- a/res/pjproject/third_party/g7221/decode/dct4_s.h +++ /dev/null @@ -1,856 +0,0 @@ -/*********************************************************************** -** -** ITU-T G.722.1 (2005-05) - Fixed point implementation for main body and Annex C -** > Software Release 2.1 (2008-06) -** (Simple repackaging; no change from 2005-05 Release 2.0 code) -** -** © 2004 Polycom, Inc. -** -** All rights reserved. -** -***********************************************************************/ - -/*********************************************************************** - Filename: dct4_s.h - - Purpose: Contains tables used by dct4_s.c - - Design Notes: - -***********************************************************************/ - -/*************************************************************************** - Include files -***************************************************************************/ - -typedef struct -{ - Word16 cosine; - Word16 minus_sine; -} cos_msin_t; - -/*************************************************************************** - The dct_core_s table was generated by the following code - - for(i=0;i<10;++i) - { - for(k=0;k<10;++k) - { - dct_core_s[i][k]=(short) (FTOI(((.9*32768.)*cos(3.1415926*(k+0.5)*(i+0.5)/10.)))); - } - } -***************************************************************************/ -Word16 dct_core_s[10][10] = { -{ 29400, 28676, 27246, 25145, 22425, 19153, 15409, 11286, 6885, 2314 }, -{ 28676, 22425, 11286, -2314, -15409, -25145, -29400, -27246, -19153, -6885 }, -{ 27246, 11286, -11286, -27246, -27246, -11286, 11286, 27246, 27246, 11286 }, -{ 25145, -2314, -27246, -22425, 6885, 28676, 19153, -11286, -29400, -15409 }, -{ 22425, -15409, -27246, 6885, 29400, 2314, -28676, -11286, 25145, 19153 }, -{ 19153, -25145, -11286, 28676, 2314, -29400, 6885, 27246, -15409, -22425 }, -{ 15409, -29400, 11286, 19153, -28676, 6885, 22425, -27246, 2314, 25145 }, -{ 11286, -27246, 27246, -11286, -11286, 27246, -27246, 11286, 11286, -27246 }, -{ 6885, -19153, 27246, -29400, 25145, -15409, 2314, 11286, -22425, 28676 }, -{ 2314, -6885, 11286, -15409, 19153, -22425, 25145, -27246, 28676, -29400 } -}; - -Word16 syn_bias_7khz[DCT_LENGTH] = { - -4, 4, -5, -2, 0, -4, 6, 2, -2, -4, - -3, 3, 0, 0, -2, 4, 0, 0, 3, -6, - 8, 5, 4, 5, -8, 0, -2, 0, 0, -3, - 3, 0, 0, 0, 1, -1, -2, 0, 0, 2, - -2, -5, -2, 3, 2, -1, -1, -6, 3, 1, - -7, 4, 4, 0, 1, 4, 1, 0, 1, -5, - -1, 1, -6, 0, -1, -1, 3, 0, -2, 1, - 2, -4, 0, 9, 0, -3, 1, 1, 1, 0, - -3, -2, -1, -4, -2, 0, 5, 2, -3, 5, - 0, -2, 4, 4, 0, -6, -4, 2, 0, 0, - 0, -1, -1, -2, 0, 6, 1, 0, 0, -1, - 0, -4, -1, 0, -4, 1, -1, -5, 0, 1, - 2, 4, 0, -8, -4, 0, -2, -2, 2, 5, - -3, -1, 1, -4, 0, 0, 0, -1, -3, 0, - -5, -4, 0, -2, 0, 7, 1, 0, 5, -2, - -1, 2, 2, -2, 3, 7, -3, 4, 1, -4, - 0, 0, 3, -7, -5, 0, 0, 4, 0, -2, - -1, 0, -5, 0, 2, 0, 11, 5, -1, 0, - 2, 2, -2, -2, 5, 4, -3, 1, 0, -2, - 1, 3, 2, 0, 1, 0, 0, 0, 5, 6, - -2, -1, 0, 2, 3, 2, 0, -3, 4, 5, - 0, -1, 0, 3, 1, -2, -3, -2, -1, 2, - -1, -1, -2, -7, 4, 6, -5, -6, -3, -4, - 0, 2, -5, -2, 3, 0, 0, 0, 2, -2, - -4, 3, 3, 1, 0, 0, 4, -1, 8, 13, - 1, 2, 0, 2, 0, -1, 4, -3, 1, 0, - -1, 3, 0, 0, -5, 0, 6, 2, 4, 5, - 2, -1, -1, 3, 6, 1, 1, 2, -4, 0, - -1, -6, -2, -2, 2, 1, 2, 6, 2, 0, - -2, -2, 0, -1, 2, 0, 0, 3, -2, 1, - 3, 1, 2, -1, -2, 2, 2, -4, 0, 0, - -3, 0, -4, -3, 6, 7, 2, 2, 0, -3}; - -Word16 dither[DCT_LENGTH]= { - 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, - 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, - 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, - 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, - 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, - 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, - 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, - 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, - 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, - 0, 0, 1, 1, 0, 1, 0, 1, 1, 1, - 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, - 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, - 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, - 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, - 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, - 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, - 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, - 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, - 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, - 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, - 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, - 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, - 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, - 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, - 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, - 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, - 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, - 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, - 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, - 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, - 1, 1, 1, 0, 1, 0, 0, 0, 1, 0}; - -Word16 max_dither[MAX_DCT_LENGTH]= { - 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, - 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, - 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, - 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, - 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, - 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, - 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, - 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, - 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, - 1, 0, 1, 1, 1, 1, 1, 0, 0, 0, - 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, - 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, - 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, - 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, - 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, - 0, 1, 0, 0, 1, 1, 1, 1, 0, 1, - 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, - 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, - 1, 0, 0, 1, 1, 1, 1, 0, 1, 1, - 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, - 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, - 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, - 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, - 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, - 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, - 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, - 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, - 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, - 0, 1, 0, 1, 1, 0, 0, 0, 1, 0, - 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, - 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, - 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, - 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, - 1, 1, 0, 1, 0, 1, 1, 0, 0, 0, - 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, - 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, - 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, - 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, - 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, - 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, - 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, - 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, - 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, - 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, - 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, - 1, 1, 1, 0, 1, 1, 1, 0, 0, 0, - 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, - 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, - 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, - 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, - 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, - 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, - 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, - 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, - 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, - 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, - 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, - 1, 0, 1, 0, 1, 1, 0, 0, 0, 1, - 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, - 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, - 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, - 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, - 0, 1, 0, 1, 0, 1, 0, 0, 0, 0 -}; - - -/******************************************************************************** - The s_cos_min tables were generated by the following code: - double angle, scale; - int index; - - for (index = 0;index < length;index++) - { - angle = scale * ((double)index + 0.5); - table[index].cosine = (short) (FTOI((18427)* cos(angle))); - table[index].minus_sine = (short) (FTOI((18427)*(-sin(angle)))); - } - - -********************************************************************************/ - -cos_msin_t s_cos_msin_2[DCT_LENGTH_DIV_32] = { - { 18413 , -723 } , - { 18299 , -2166 } , - { 18073 , -3595 } , - { 17735 , -5002 } , - { 17288 , -6378 } , - { 16734 , -7715 } , - { 16077 , -9004 } , - { 15321 , -10237 } , - { 14471 , -11408 } , - { 13531 , -12508 } - }; -cos_msin_t s_cos_msin_4[DCT_LENGTH_DIV_16] = { - { 18423 , -362 } , - { 18395 , -1085 } , - { 18338 , -1806 } , - { 18253 , -2525 } , - { 18140 , -3239 } , - { 17999 , -3949 } , - { 17830 , -4653 } , - { 17634 , -5349 } , - { 17410 , -6037 } , - { 17159 , -6716 } , - { 16883 , -7385 } , - { 16580 , -8042 } , - { 16251 , -8686 } , - { 15898 , -9318 } , - { 15520 , -9935 } , - { 15118 , -10536 } , - { 14692 , -11122 } , - { 14244 , -11690 } , - { 13774 , -12240 } , - { 13283 , -12772 } - }; -cos_msin_t s_cos_msin_8[DCT_LENGTH_DIV_8] = { - { 18426 , -181 } , - { 18419 , -543 } , - { 18405 , -904 } , - { 18384 , -1265 } , - { 18355 , -1626 } , - { 18320 , -1986 } , - { 18277 , -2345 } , - { 18228 , -2704 } , - { 18171 , -3061 } , - { 18107 , -3417 } , - { 18037 , -3772 } , - { 17959 , -4126 } , - { 17875 , -4477 } , - { 17783 , -4827 } , - { 17685 , -5176 } , - { 17580 , -5522 } , - { 17468 , -5866 } , - { 17350 , -6208 } , - { 17225 , -6547 } , - { 17093 , -6884 } , - { 16954 , -7219 } , - { 16809 , -7550 } , - { 16658 , -7879 } , - { 16500 , -8204 } , - { 16336 , -8526 } , - { 16165 , -8846 } , - { 15988 , -9161 } , - { 15805 , -9473 } , - { 15616 , -9782 } , - { 15421 , -10087 } , - { 15220 , -10387 } , - { 15013 , -10684 } , - { 14801 , -10977 } , - { 14582 , -11265 } , - { 14358 , -11550 } , - { 14129 , -11829 } , - { 13894 , -12104 } , - { 13654 , -12375 } , - { 13408 , -12641 } , - { 13157 , -12901 } - }; -cos_msin_t s_cos_msin_16[DCT_LENGTH_DIV_4] = { - { 18427 , -90 } , - { 18425 , -271 } , - { 18421 , -452 } , - { 18416 , -633 } , - { 18409 , -814 } , - { 18400 , -995 } , - { 18389 , -1175 } , - { 18377 , -1356 } , - { 18363 , -1536 } , - { 18347 , -1716 } , - { 18329 , -1896 } , - { 18310 , -2076 } , - { 18288 , -2256 } , - { 18265 , -2435 } , - { 18241 , -2614 } , - { 18214 , -2793 } , - { 18186 , -2972 } , - { 18156 , -3150 } , - { 18124 , -3328 } , - { 18090 , -3506 } , - { 18055 , -3684 } , - { 18018 , -3861 } , - { 17979 , -4037 } , - { 17939 , -4214 } , - { 17897 , -4390 } , - { 17853 , -4565 } , - { 17807 , -4740 } , - { 17760 , -4915 } , - { 17710 , -5089 } , - { 17660 , -5262 } , - { 17607 , -5436 } , - { 17553 , -5608 } , - { 17497 , -5780 } , - { 17439 , -5952 } , - { 17380 , -6123 } , - { 17319 , -6293 } , - { 17257 , -6463 } , - { 17192 , -6632 } , - { 17126 , -6800 } , - { 17059 , -6968 } , - { 16990 , -7135 } , - { 16919 , -7302 } , - { 16846 , -7467 } , - { 16772 , -7632 } , - { 16696 , -7797 } , - { 16619 , -7960 } , - { 16540 , -8123 } , - { 16459 , -8285 } , - { 16377 , -8446 } , - { 16294 , -8607 } , - { 16208 , -8766 } , - { 16121 , -8925 } , - { 16033 , -9083 } , - { 15943 , -9240 } , - { 15852 , -9396 } , - { 15759 , -9551 } , - { 15664 , -9705 } , - { 15568 , -9858 } , - { 15471 , -10011 } , - { 15372 , -10162 } , - { 15271 , -10313 } , - { 15169 , -10462 } , - { 15066 , -10610 } , - { 14961 , -10758 } , - { 14854 , -10904 } , - { 14747 , -11049 } , - { 14637 , -11194 } , - { 14527 , -11337 } , - { 14415 , -11479 } , - { 14301 , -11620 } , - { 14187 , -11760 } , - { 14071 , -11898 } , - { 13953 , -12036 } , - { 13834 , -12172 } , - { 13714 , -12308 } , - { 13593 , -12442 } , - { 13470 , -12575 } , - { 13346 , -12706 } , - { 13220 , -12837 } , - { 13094 , -12966 } - }; -cos_msin_t s_cos_msin_32[DCT_LENGTH_DIV_2] = { - { 18427 , -45 } , - { 18427 , -136 } , - { 18426 , -226 } , - { 18424 , -317 } , - { 18423 , -407 } , - { 18420 , -497 } , - { 18418 , -588 } , - { 18415 , -678 } , - { 18411 , -769 } , - { 18407 , -859 } , - { 18403 , -949 } , - { 18398 , -1040 } , - { 18392 , -1130 } , - { 18387 , -1220 } , - { 18380 , -1310 } , - { 18374 , -1401 } , - { 18367 , -1491 } , - { 18359 , -1581 } , - { 18351 , -1671 } , - { 18343 , -1761 } , - { 18334 , -1851 } , - { 18324 , -1941 } , - { 18315 , -2031 } , - { 18305 , -2121 } , - { 18294 , -2211 } , - { 18283 , -2301 } , - { 18271 , -2390 } , - { 18259 , -2480 } , - { 18247 , -2570 } , - { 18234 , -2659 } , - { 18221 , -2749 } , - { 18207 , -2838 } , - { 18193 , -2927 } , - { 18178 , -3017 } , - { 18163 , -3106 } , - { 18148 , -3195 } , - { 18132 , -3284 } , - { 18116 , -3373 } , - { 18099 , -3462 } , - { 18082 , -3551 } , - { 18064 , -3639 } , - { 18046 , -3728 } , - { 18027 , -3816 } , - { 18009 , -3905 } , - { 17989 , -3993 } , - { 17969 , -4081 } , - { 17949 , -4170 } , - { 17928 , -4258 } , - { 17907 , -4346 } , - { 17886 , -4434 } , - { 17864 , -4521 } , - { 17841 , -4609 } , - { 17818 , -4696 } , - { 17795 , -4784 } , - { 17772 , -4871 } , - { 17747 , -4958 } , - { 17723 , -5045 } , - { 17698 , -5132 } , - { 17672 , -5219 } , - { 17647 , -5306 } , - { 17620 , -5392 } , - { 17594 , -5479 } , - { 17567 , -5565 } , - { 17539 , -5651 } , - { 17511 , -5737 } , - { 17483 , -5823 } , - { 17454 , -5909 } , - { 17425 , -5994 } , - { 17395 , -6080 } , - { 17365 , -6165 } , - { 17335 , -6250 } , - { 17304 , -6335 } , - { 17272 , -6420 } , - { 17241 , -6505 } , - { 17208 , -6590 } , - { 17176 , -6674 } , - { 17143 , -6758 } , - { 17110 , -6842 } , - { 17076 , -6926 } , - { 17042 , -7010 } , - { 17007 , -7093 } , - { 16972 , -7177 } , - { 16937 , -7260 } , - { 16901 , -7343 } , - { 16864 , -7426 } , - { 16828 , -7509 } , - { 16791 , -7591 } , - { 16753 , -7674 } , - { 16715 , -7756 } , - { 16677 , -7838 } , - { 16638 , -7919 } , - { 16599 , -8001 } , - { 16560 , -8082 } , - { 16520 , -8164 } , - { 16480 , -8245 } , - { 16439 , -8325 } , - { 16398 , -8406 } , - { 16357 , -8486 } , - { 16315 , -8567 } , - { 16272 , -8647 } , - { 16230 , -8726 } , - { 16187 , -8806 } , - { 16143 , -8885 } , - { 16100 , -8964 } , - { 16055 , -9043 } , - { 16011 , -9122 } , - { 15966 , -9200 } , - { 15920 , -9279 } , - { 15875 , -9357 } , - { 15829 , -9435 } , - { 15782 , -9512 } , - { 15735 , -9589 } , - { 15688 , -9667 } , - { 15640 , -9744 } , - { 15592 , -9820 } , - { 15544 , -9897 } , - { 15495 , -9973 } , - { 15446 , -10049 } , - { 15396 , -10124 } , - { 15347 , -10200 } , - { 15296 , -10275 } , - { 15246 , -10350 } , - { 15195 , -10425 } , - { 15143 , -10499 } , - { 15092 , -10573 } , - { 15040 , -10647 } , - { 14987 , -10721 } , - { 14934 , -10794 } , - { 14881 , -10868 } , - { 14828 , -10941 } , - { 14774 , -11013 } , - { 14719 , -11086 } , - { 14665 , -11158 } , - { 14610 , -11230 } , - { 14555 , -11301 } , - { 14499 , -11372 } , - { 14443 , -11444 } , - { 14387 , -11514 } , - { 14330 , -11585 } , - { 14273 , -11655 } , - { 14216 , -11725 } , - { 14158 , -11795 } , - { 14100 , -11864 } , - { 14041 , -11933 } , - { 13983 , -12002 } , - { 13924 , -12070 } , - { 13864 , -12138 } , - { 13804 , -12206 } , - { 13744 , -12274 } , - { 13684 , -12341 } , - { 13623 , -12408 } , - { 13562 , -12475 } , - { 13501 , -12541 } , - { 13439 , -12608 } , - { 13377 , -12673 } , - { 13314 , -12739 } , - { 13252 , -12804 } , - { 13189 , -12869 } , - { 13125 , -12934 } , - { 13062 , -12998 } - }; -cos_msin_t s_cos_msin_64[DCT_LENGTH] = { -{18426, -21}, -{18426, -66}, -{18426, -110}, -{18426, -154}, -{18425, -198}, -{18425, -242}, -{18424, -286}, -{18424, -331}, -{18423, -374}, -{18421, -419}, -{18421, -463}, -{18419, -507}, -{18418, -552}, -{18417, -595}, -{18415, -639}, -{18414, -684}, -{18412, -728}, -{18410, -772}, -{18408, -816}, -{18406, -860}, -{18404, -904}, -{18402, -949}, -{18400, -992}, -{18397, -1037}, -{18394, -1081}, -{18392, -1125}, -{18389, -1169}, -{18387, -1213}, -{18384, -1257}, -{18380, -1301}, -{18378, -1345}, -{18374, -1389}, -{18371, -1433}, -{18367, -1477}, -{18364, -1521}, -{18360, -1566}, -{18356, -1609}, -{18352, -1653}, -{18348, -1697}, -{18344, -1742}, -{18339, -1785}, -{18335, -1829}, -{18331, -1873}, -{18326, -1917}, -{18322, -1961}, -{18317, -2005}, -{18312, -2049}, -{18307, -2092}, -{18302, -2137}, -{18297, -2180}, -{18292, -2224}, -{18286, -2268}, -{18281, -2312}, -{18275, -2356}, -{18270, -2399}, -{18264, -2443}, -{18258, -2487}, -{18252, -2531}, -{18246, -2574}, -{18240, -2618}, -{18233, -2662}, -{18227, -2706}, -{18220, -2749}, -{18214, -2793}, -{18207, -2836}, -{18200, -2880}, -{18193, -2924}, -{18186, -2967}, -{18179, -3011}, -{18172, -3055}, -{18164, -3098}, -{18157, -3142}, -{18149, -3185}, -{18141, -3229}, -{18134, -3272}, -{18126, -3316}, -{18118, -3359}, -{18109, -3403}, -{18101, -3446}, -{18094, -3489}, -{18085, -3533}, -{18076, -3576}, -{18068, -3619}, -{18059, -3663}, -{18050, -3706}, -{18041, -3749}, -{18032, -3792}, -{18023, -3836}, -{18014, -3879}, -{18005, -3922}, -{17995, -3965}, -{17986, -4008}, -{17975, -4051}, -{17966, -4094}, -{17956, -4138}, -{17946, -4180}, -{17936, -4224}, -{17926, -4266}, -{17916, -4309}, -{17905, -4353}, -{17895, -4395}, -{17884, -4438}, -{17874, -4481}, -{17863, -4524}, -{17852, -4567}, -{17841, -4609}, -{17830, -4652}, -{17819, -4695}, -{17807, -4738}, -{17796, -4780}, -{17784, -4823}, -{17772, -4865}, -{17761, -4908}, -{17749, -4951}, -{17738, -4993}, -{17725, -5036}, -{17713, -5078}, -{17701, -5121}, -{17689, -5163}, -{17676, -5205}, -{17664, -5248}, -{17651, -5290}, -{17638, -5333}, -{17626, -5375}, -{17613, -5417}, -{17599, -5459}, -{17586, -5501}, -{17573, -5544}, -{17560, -5586}, -{17546, -5627}, -{17533, -5670}, -{17519, -5712}, -{17505, -5753}, -{17492, -5795}, -{17478, -5837}, -{17464, -5879}, -{17450, -5921}, -{17435, -5963}, -{17421, -6005}, -{17406, -6046}, -{17392, -6088}, -{17377, -6130}, -{17363, -6172}, -{17348, -6213}, -{17333, -6254}, -{17318, -6296}, -{17303, -6338}, -{17288, -6379}, -{17272, -6420}, -{17257, -6462}, -{17241, -6503}, -{17225, -6545}, -{17210, -6586}, -{17194, -6627}, -{17178, -6668}, -{17162, -6709}, -{17145, -6750}, -{17130, -6791}, -{17113, -6832}, -{17097, -6874}, -{17080, -6915}, -{17064, -6956}, -{17047, -6996}, -{17030, -7037}, -{17013, -7078}, -{16996, -7119}, -{16979, -7159}, -{16962, -7200}, -{16945, -7241}, -{16927, -7281}, -{16910, -7322}, -{16892, -7362}, -{16874, -7403}, -{16856, -7444}, -{16838, -7484}, -{16821, -7524}, -{16802, -7564}, -{16784, -7605}, -{16766, -7645}, -{16748, -7685}, -{16729, -7725}, -{16711, -7765}, -{16692, -7805}, -{16674, -7845}, -{16654, -7885}, -{16635, -7925}, -{16616, -7964}, -{16597, -8004}, -{16578, -8044}, -{16559, -8084}, -{16539, -8124}, -{16520, -8164}, -{16500, -8203}, -{16480, -8242}, -{16461, -8282}, -{16441, -8322}, -{16421, -8361}, -{16401, -8400}, -{16380, -8440}, -{16360, -8479}, -{16340, -8518}, -{16319, -8557}, -{16299, -8597}, -{16278, -8635}, -{16257, -8674}, -{16237, -8713}, -{16215, -8752}, -{16195, -8791}, -{16173, -8829}, -{16152, -8868}, -{16131, -8907}, -{16110, -8946}, -{16088, -8985}, -{16067, -9023}, -{16045, -9061}, -{16023, -9100}, -{16001, -9138}, -{15979, -9176}, -{15957, -9215}, -{15935, -9253}, -{15913, -9291}, -{15891, -9329}, -{15868, -9367}, -{15846, -9405}, -{15823, -9443}, -{15800, -9481}, -{15778, -9519}, -{15755, -9557}, -{15732, -9595}, -{15709, -9632}, -{15686, -9670}, -{15662, -9708}, -{15639, -9745}, -{15615, -9782}, -{15592, -9820}, -{15569, -9857}, -{15544, -9894}, -{15521, -9932}, -{15497, -9969}, -{15473, -10006}, -{15449, -10043}, -{15425, -10080}, -{15401, -10117}, -{15377, -10154}, -{15352, -10191}, -{15327, -10227}, -{15303, -10264}, -{15278, -10301}, -{15254, -10337}, -{15229, -10374}, -{15204, -10411}, -{15180, -10447}, -{15154, -10483}, -{15129, -10519}, -{15104, -10556}, -{15078, -10592}, -{15053, -10628}, -{15027, -10664}, -{15002, -10700}, -{14976, -10736}, -{14950, -10772}, -{14924, -10808}, -{14898, -10844}, -{14872, -10879}, -{14846, -10915}, -{14820, -10950}, -{14794, -10985}, -{14767, -11021}, -{14741, -11056}, -{14714, -11092}, -{14687, -11127}, -{14661, -11162}, -{14635, -11197}, -{14607, -11232}, -{14581, -11267}, -{14554, -11302}, -{14526, -11337}, -{14499, -11372}, -{14472, -11407}, -{14444, -11441}, -{14417, -11476}, -{14389, -11511}, -{14362, -11545}, -{14334, -11579}, -{14306, -11614}, -{14278, -11648}, -{14251, -11682}, -{14222, -11716}, -{14194, -11750}, -{14166, -11784}, -{14137, -11818}, -{14109, -11852}, -{14081, -11886}, -{14053, -11919}, -{14023, -11953}, -{13995, -11987}, -{13966, -12020}, -{13937, -12054}, -{13909, -12087}, -{13879, -12120}, -{13851, -12153}, -{13821, -12187}, -{13792, -12220}, -{13763, -12253}, -{13733, -12286}, -{13704, -12319}, -{13674, -12351}, -{13645, -12385}, -{13615, -12417}, -{13585, -12450}, -{13555, -12482}, -{13525, -12514}, -{13495, -12546}, -{13465, -12579}, -{13435, -12611}, -{13405, -12644}, -{13374, -12676}, -{13345, -12708}, -{13314, -12739}, -{13283, -12772} -}; - - - -cos_msin_t *s_cos_msin_table[] = {s_cos_msin_2, s_cos_msin_4, - s_cos_msin_8, s_cos_msin_16, - s_cos_msin_32, s_cos_msin_64 - }; - diff --git a/res/pjproject/third_party/g7221/decode/decoder.c b/res/pjproject/third_party/g7221/decode/decoder.c deleted file mode 100644 index ab81a300b2..0000000000 --- a/res/pjproject/third_party/g7221/decode/decoder.c +++ /dev/null @@ -1,1113 +0,0 @@ -/*************************************************************************** -** -** ITU-T G.722.1 (2005-05) - Fixed point implementation for main body and Annex C -** > Software Release 2.1 (2008-06) -** (Simple repackaging; no change from 2005-05 Release 2.0 code) -** -** © 2004 Polycom, Inc. -** -** All rights reserved. -** -***************************************************************************/ - -/*************************************************************************** - Filename: decoder.c - - Purpose: Contains files used to implement the G.722.1 Annex C decoder - - Design Notes: - -***************************************************************************/ - -/*************************************************************************** - Include files -***************************************************************************/ -#include "defs.h" -#include "tables.h" -#include "huff_def.h" -#include "count.h" - - -/*************************************************************************** - Function: decoder - - Syntax: void decoder(Bit_Obj *bitobj, - Rand_Obj *randobj, - Word16 number_of_regions, - Word16 *decoder_mlt_coefs, - Word16 *p_mag_shift, - Word16 *p_old_mag_shift, - Word16 *old_decoder_mlt_coefs, - Word16 frame_error_flag) - - inputs: Bit_Obj *bitobj - Rand_Obj *randobj - Word16 number_of_regions - Word16 *p_old_mag_shift - Word16 *old_decoder_mlt_coefs - Word16 frame_error_flag - - outputs: Word16 *decoder_mlt_coefs, - Word16 *p_mag_shift, - - - - Description: Decodes the out_words into mlt coefs using G.722.1 Annex C - - Design Notes: - - WMOPS: 7kHz | 24kbit | 32kbit - -------|-------------|---------------- - AVG | 0.84 | 0.94 - -------|-------------|---------------- - MAX | 0.90 | 1.00 - -------|-------------|---------------- - - 14kHz | 24kbit | 32kbit | 48kbit - -------|-------------|----------------|---------------- - AVG | 1.31 | 1.56 | 1.88 - -------|-------------|----------------|---------------- - MAX | 1.59 | 1.80 | 1.98 - -------|-------------|----------------|---------------- - -***************************************************************************/ -void decoder(Bit_Obj *bitobj, - Rand_Obj *randobj, - Word16 number_of_regions, - Word16 *decoder_mlt_coefs, - Word16 *p_mag_shift, - Word16 *p_old_mag_shift, - Word16 *old_decoder_mlt_coefs, - Word16 frame_error_flag) -{ - - - Word16 absolute_region_power_index[MAX_NUMBER_OF_REGIONS]; - Word16 decoder_power_categories[MAX_NUMBER_OF_REGIONS]; - Word16 decoder_category_balances[MAX_NUM_CATEGORIZATION_CONTROL_POSSIBILITIES-1]; - UWord16 categorization_control; - Word16 decoder_region_standard_deviation[MAX_NUMBER_OF_REGIONS]; - Word16 i; - - Word16 num_categorization_control_bits; - Word16 num_categorization_control_possibilities; - Word16 number_of_coefs; - Word16 number_of_valid_coefs; - - - test(); - if (number_of_regions==NUMBER_OF_REGIONS) - { - num_categorization_control_bits = NUM_CATEGORIZATION_CONTROL_BITS; - move16(); - num_categorization_control_possibilities = NUM_CATEGORIZATION_CONTROL_POSSIBILITIES; - move16(); - number_of_coefs = DCT_LENGTH; - move16(); - number_of_valid_coefs = NUMBER_OF_VALID_COEFS; - move16(); - } - else - { - num_categorization_control_bits = MAX_NUM_CATEGORIZATION_CONTROL_BITS; - move16(); - num_categorization_control_possibilities = MAX_NUM_CATEGORIZATION_CONTROL_POSSIBILITIES; - move16(); - number_of_coefs = MAX_DCT_LENGTH; - move16(); - number_of_valid_coefs = MAX_NUMBER_OF_VALID_COEFS; - move16(); - } - - test(); - if (frame_error_flag == 0) - { - - /* convert the bits to absolute region power index and decoder_region_standard_deviation */ - - decode_envelope(bitobj, - number_of_regions, - decoder_region_standard_deviation, - absolute_region_power_index, - p_mag_shift); - - /* fill the categorization_control with NUM_CATEGORIZATION_CONTROL_BITS */ - categorization_control = 0; - for (i=0; inext_bit); - } - - bitobj->number_of_bits_left = sub(bitobj->number_of_bits_left,num_categorization_control_bits); - - /* obtain decoder power categories and category balances */ - /* based on the absolute region power index */ - categorize(bitobj->number_of_bits_left, - number_of_regions, - num_categorization_control_possibilities, - absolute_region_power_index, - decoder_power_categories, - decoder_category_balances); - - /* perform adjustmaents to the power categories and category balances based on the cat control */ - rate_adjust_categories(categorization_control, - decoder_power_categories, - decoder_category_balances); - - /* decode the quantized bits into mlt coefs */ - decode_vector_quantized_mlt_indices(bitobj, - randobj, - number_of_regions, - decoder_region_standard_deviation, - decoder_power_categories, - decoder_mlt_coefs); - - /* test for frame errors */ - test_4_frame_errors(bitobj, - number_of_regions, - num_categorization_control_possibilities, - &frame_error_flag, - categorization_control, - absolute_region_power_index); - } - - /* perform error handling operations */ - error_handling(number_of_coefs, - number_of_valid_coefs, - &frame_error_flag, - decoder_mlt_coefs, - old_decoder_mlt_coefs, - p_mag_shift, - p_old_mag_shift); - -} - -/*************************************************************************** - Function: decode_envelope - - Syntax: void decode_envelope(Bit_Obj *bitobj, - Word16 number_of_regions, - Word16 *decoder_region_standard_deviation, - Word16 *absolute_region_power_index, - Word16 *p_mag_shift) - - inputs: Bit_Obj *bitobj - Word16 number_of_regions - - - outputs: Word16 *decoder_region_standard_deviation - Word16 *absolute_region_power_index - Word16 *p_mag_shift - - - Description: Recover differential_region_power_index from code bits - - Design Notes: - - WMOPS: 7kHz | 24kbit | 32kbit - -------|--------------|---------------- - AVG | 0.04 | 0.04 - -------|--------------|---------------- - MAX | 0.05 | 0.05 - -------|--------------|---------------- - - 14kHz | 24kbit | 32kbit | 48kbit - -------|--------------|----------------|---------------- - AVG | 0.08 | 0.08 | 0.08 - -------|--------------|----------------|---------------- - MAX | 0.10 | 0.10 | 0.10 - -------|--------------|----------------|---------------- - -***************************************************************************/ -void decode_envelope(Bit_Obj *bitobj, - Word16 number_of_regions, - Word16 *decoder_region_standard_deviation, - Word16 *absolute_region_power_index, - Word16 *p_mag_shift) - -{ - Word16 region; - Word16 i; - Word16 index; - Word16 differential_region_power_index[MAX_NUMBER_OF_REGIONS]; - Word16 max_index; - - Word16 temp; - Word16 temp1; - Word16 temp2; - Word32 acca; - - index = 0; - move16(); - - /* get 5 bits from the current code word */ - for (i=0; i<5; i++) - { - get_next_bit(bitobj); - index = shl_nocheck(index,1); - index = add(index,bitobj->next_bit); - } - bitobj->number_of_bits_left = sub(bitobj->number_of_bits_left,5); - - /* ESF_ADJUSTMENT_TO_RMS_INDEX compensates for the current (9/30/96) - IMLT being scaled to high by the ninth power of sqrt(2). */ - differential_region_power_index[0] = sub(index,ESF_ADJUSTMENT_TO_RMS_INDEX); - move16(); - - /* obtain differential_region_power_index */ - for (region=1; regionnext_bit == 0) - { - index = differential_region_power_decoder_tree[region][index][0]; - move16(); - } - else - { - index = differential_region_power_decoder_tree[region][index][1]; - move16(); - } - bitobj->number_of_bits_left = sub(bitobj->number_of_bits_left,1); - test(); - } while (index > 0); - - differential_region_power_index[region] = negate(index); - move16(); - } - - /* Reconstruct absolute_region_power_index[] from differential_region_power_index[]. */ - absolute_region_power_index[0] = differential_region_power_index[0]; - move16(); - for (region=1; region 0) - { - max_index = i; - move16(); - } - temp = add(temp,int_region_standard_deviation_table[i]); - } - i = 9; - move16(); - - temp1 = sub(temp,8); - temp2 = sub(max_index,28); - test(); - test(); - logic16(); - test(); - logic16(); - while ((i >= 0) && ((temp1 >= 0) || (temp2 > 0))) - { - i = sub(i,1); - temp = shr_nocheck(temp,1); - max_index = sub(max_index,2); - temp1 = sub(temp,8); - temp2 = sub(max_index,28); - test(); - test(); - logic16(); - test(); - logic16(); - } - - *p_mag_shift = i; - move16(); - - /* pointer arithmetic */ - temp = (Word16 )(REGION_POWER_TABLE_NUM_NEGATIVES + (*p_mag_shift * 2)); - - for (region=0; region 0) - { - region = decoder_category_balances[i++]; - move16(); - decoder_power_categories[region] = add(decoder_power_categories[region],1); - move16(); - categorization_control = sub(categorization_control,1); - } - -} - -/*************************************************************************** - Function: decode_vector_quantized_mlt_indices - - Syntax: void decode_vector_quantized_mlt_indices(Bit_Obj *bitobj, - Rand_Obj *randobj, - Word16 number_of_regions, - Word16 *decoder_region_standard_deviation, - Word16 *decoder_power_categories, - Word16 *decoder_mlt_coefs) - inputs: Bit_Obj *bitobj - Rand_Obj *randobj - Word16 number_of_regions - Word16 *decoder_region_standard_deviation - Word16 *decoder_power_categories - - - outputs: Word16 *decoder_mlt_coefs - - - Description: Decode MLT coefficients - - Design Notes: - - WMOPS: 7kHz | 24kbit | 32kbit - -------|--------------|---------------- - AVG | 0.60 | 0.72 - -------|--------------|---------------- - MAX | 0.67 | 0.76 - -------|--------------|---------------- - - 14kHz | 24kbit | 32kbit | 48kbit - -------|--------------|----------------|---------------- - AVG | 0.77 | 0.98 | 1.28 - -------|--------------|----------------|---------------- - MAX | 1.05 | 1.18 | 1.36 - -------|--------------|----------------|---------------- - -***************************************************************************/ -void decode_vector_quantized_mlt_indices(Bit_Obj *bitobj, - Rand_Obj *randobj, - Word16 number_of_regions, - Word16 *decoder_region_standard_deviation, - Word16 *decoder_power_categories, - Word16 *decoder_mlt_coefs) -{ - Word16 standard_deviation; - Word16 *decoder_mlt_ptr; - Word16 decoder_mlt_value; - Word16 noifillpos; - Word16 noifillneg; - Word16 noise_fill_factor[3] = {5793,8192,23170}; - Word16 region; - Word16 category; - Word16 j,n; - Word16 k[MAX_VECTOR_DIMENSION]; - Word16 vec_dim; - Word16 num_vecs; - Word16 index; - Word16 bit=0; - Word16 signs_index=0; - Word16 num_sign_bits; - Word16 ran_out_of_bits_flag; - Word16 *decoder_table_ptr; - Word16 random_word; - - Word16 temp1; - Word16 temp; - Word32 acca; - - ran_out_of_bits_flag = 0; - move16(); - - for (region=0; regionnumber_of_bits_left <= 0) - { - ran_out_of_bits_flag = 1; - move16(); - break; - } - - get_next_bit(bitobj); - - test(); - if (bitobj->next_bit == 0) - { - temp = shl_nocheck(index,1); - index = (Word16)*(decoder_table_ptr + temp); - move16(); - } - else - { - temp = shl_nocheck(index,1); - index = (Word16)*(decoder_table_ptr + temp + 1); - move16(); - } - bitobj->number_of_bits_left = sub(bitobj->number_of_bits_left,1); - test(); - - } while (index > 0); - - test(); - if (ran_out_of_bits_flag != 0) - break; - - index = negate(index); - - /* convert index into array used to access the centroid table */ - /* get the number of sign bits in the index */ - num_sign_bits = index_to_array(index,k,category); - - temp = sub(bitobj->number_of_bits_left,num_sign_bits); - test(); - if (temp >= 0) - { - - test(); - if (num_sign_bits != 0) - { - signs_index = 0; - move16(); - for (j=0; jnext_bit); - bitobj->number_of_bits_left = sub(bitobj->number_of_bits_left,1); - } - temp = sub(num_sign_bits,1); - bit = shl_nocheck(1,(temp)); - } - - for (j=0; jnumber_of_bits_left = sub(bitobj->number_of_bits_left,1); -} -/**************************************************************************************** - Function: index_to_array - - Syntax: number_of_non_zero = index_to_array(Word16 index, - Word16 array[MAX_VECTOR_DIMENSION], - Word16 category) - - inputs: Word16 index - Word16 category - - outputs: Word16 array[MAX_VECTOR_DIMENSION] - used in decoder to access - mlt_quant_centroid table - - Word16 number_of_non_zero - number of non zero elements - in the array - - Description: Computes an array of sign bits with the length of the category vector - Returns the number of sign bits and the array - - WMOPS: 7kHz | 24kbit | 32kbit - -------|--------------|---------------- - AVG | 0.00 | 0.00 - -------|--------------|---------------- - MAX | 0.00 | 0.00 - -------|--------------|---------------- - - 14kHz | 24kbit | 32kbit | 48kbit - -------|--------------|----------------|---------------- - AVG | 0.00 | 0.00 | 0.00 - -------|--------------|----------------|---------------- - MAX | 0.00 | 0.00 | 0.00 - -------|--------------|----------------|---------------- - -****************************************************************************************/ -Word16 index_to_array(Word16 index,Word16 *array,Word16 category) -{ - Word16 j,q,p; - Word16 number_of_non_zero; - Word16 max_bin_plus_one; - Word16 inverse_of_max_bin_plus_one; - Word16 temp; - - number_of_non_zero = 0; - move16(); - - p = index; - move16(); - - max_bin_plus_one = add(max_bin[category],1); - inverse_of_max_bin_plus_one = max_bin_plus_one_inverse[category]; - move16(); - - temp = sub(vector_dimension[category],1); - for (j=temp; j>=0; j--) - { - q = mult(p,inverse_of_max_bin_plus_one); - temp = extract_l(L_mult0(q,max_bin_plus_one)); - array[j] = sub(p,temp); - move16(); - - p = q; - move16(); - - temp = array[j]; - move16(); - test(); - if (temp != 0) - number_of_non_zero = add(number_of_non_zero,1); - } - return(number_of_non_zero); -} -/*************************************************************************** - Function: test_4_frame_errors - - Syntax: void test_4_frame_errors(Bit_Obj *bitobj, - Word16 number_of_regions, - Word16 num_categorization_control_possibilities, - Word16 *frame_error_flag, - Word16 categorization_control, - Word16 *absolute_region_power_index) - - inputs: bit_obj - number_of_regions - num_categorization_control_possibilities - frame_error_flag - categorization_control - absolute_region_power_index - - - outputs: frame_error_flag - - - - - Description: Tests for error conditions and sets the frame_error_flag accordingly - - Design Notes: - - WMOPS: 7kHz | 24kbit | 32kbit - -------|--------------|---------------- - AVG | 0.01 | 0.01 - -------|--------------|---------------- - MAX | 0.04 | 0.08 - -------|--------------|---------------- - - 14kHz | 24kbit | 32kbit | 48kbit - -------|--------------|----------------|---------------- - AVG | 0.01 | 0.01 | 0.01 - -------|--------------|----------------|---------------- - MAX | 0.02 | 0.06 | 0.08 - -------|--------------|----------------|---------------- - -***************************************************************************/ -void test_4_frame_errors(Bit_Obj *bitobj, - Word16 number_of_regions, - Word16 num_categorization_control_possibilities, - Word16 *frame_error_flag, - Word16 categorization_control, - Word16 *absolute_region_power_index) -{ - Word16 region; - Word16 i; - Word16 temp; - Word32 acca; - Word32 accb; - - /* Test for bit stream errors. */ - - test(); - if (bitobj->number_of_bits_left > 0) - { - for (i=0; inumber_of_bits_left; i++) - { - get_next_bit(bitobj); - test(); - if (bitobj->next_bit == 0) - { - *frame_error_flag = 1; - move16(); - } - } - } - else - { - temp = sub(categorization_control,sub(num_categorization_control_possibilities,1)); - test(); - if (temp < 0) - { - test(); - if (bitobj->number_of_bits_left < 0) - { - *frame_error_flag |= 2; - logic16(); - } - } - } - - /* checks to ensure that abs_region_power_index is within range */ - /* the error flag is set if it is out of range */ - for (region=0; region 31) || - (absolute_region_power_index[region] < -8) */ - - acca = L_add(absolute_region_power_index[region],ESF_ADJUSTMENT_TO_RMS_INDEX); - accb = L_sub(acca,31); - acca = L_add(acca,8); - test(); - - /* the next line was modifed in release 1.2 to - * correct miss typed code and error checking. - */ - if ((accb > 0) || (acca < 0)) - { - *frame_error_flag |= 4; - logic16(); - } - } - -} -/*************************************************************************** - Function: error_handling - - Syntax: void error_handling(Word16 number_of_coefs, - Word16 number_of_valid_coefs, - Word16 *frame_error_flag, - Word16 *decoder_mlt_coefs, - Word16 *old_decoder_mlt_coefs, - Word16 *p_mag_shift, - Word16 *p_old_mag_shift) - - inputs: number_of_coefs - number_of_valid_coefs - frame_error_flag - old_decoder_mlt_coefs - p_old_mag_shift - - - outputs: decoder_mlt_coefs - old_decoder_mlt_coefs - p_mag_shift - p_old_mag_shift - - - - Description: If both the current and previous frames are errored, - set the mlt coefficients to 0. If only the current frame - is errored, then repeat the previous frame's mlt coefficients. - - Design Notes: - - WMOPS: 7kHz | 24kbit | 32kbit - -------|--------------|---------------- - AVG | 0.02 | 0.02 - -------|--------------|---------------- - MAX | 0.03 | 0.03 - -------|--------------|---------------- - - 14kHz | 24kbit | 32kbit | 48kbit - -------|--------------|----------------|---------------- - AVG | 0.03 | 0.03 | 0.03 - -------|--------------|----------------|---------------- - MAX | 0.03 | 0.03 | 0.06 - -------|--------------|----------------|---------------- - -***************************************************************************/ -void error_handling(Word16 number_of_coefs, - Word16 number_of_valid_coefs, - Word16 *frame_error_flag, - Word16 *decoder_mlt_coefs, - Word16 *old_decoder_mlt_coefs, - Word16 *p_mag_shift, - Word16 *p_old_mag_shift) -{ - Word16 i; - - test(); - if (*frame_error_flag != 0) - { - - for (i = 0; i < number_of_valid_coefs; i++) - { - decoder_mlt_coefs[i] = old_decoder_mlt_coefs[i]; - move16(); - } - - for (i = 0; i < number_of_valid_coefs; i++) - { - old_decoder_mlt_coefs[i] = 0; - move16(); - } - - *p_mag_shift = *p_old_mag_shift; - move16(); - - *p_old_mag_shift = 0; - move16(); - } - else - { - /* Store in case next frame is errored. */ - for (i = 0; i < number_of_valid_coefs; i++) - { - old_decoder_mlt_coefs[i] = decoder_mlt_coefs[i]; - move16(); - } - - *p_old_mag_shift = *p_mag_shift; - move16(); - } - - - /* Zero out the upper 1/8 of the spectrum. */ - for (i = number_of_valid_coefs; i < number_of_coefs; i++) - { - decoder_mlt_coefs[i] = 0; - move16(); - } - -} -/**************************************************************************************** - Function: get_next_bit - - Syntax: void get_next_bit(Bit_Obj *bitobj) - - Description: Returns the next bit in the current word inside the bit object - - WMOPS: 7kHz | 24kbit | 32kbit - -------|--------------|---------------- - AVG | 0.00 | 0.00 - -------|--------------|---------------- - MAX | 0.00 | 0.00 - -------|--------------|---------------- - - 14kHz | 24kbit | 32kbit | 48kbit - -------|--------------|----------------|---------------- - AVG | 0.00 | 0.00 | 0.00 - -------|--------------|----------------|---------------- - MAX | 0.00 | 0.00 | 0.00 - -------|--------------|----------------|---------------- - -****************************************************************************************/ -void get_next_bit(Bit_Obj *bitobj) -{ - Word16 temp; - - test(); - if (bitobj->code_bit_count == 0) - { - bitobj->current_word = *bitobj->code_word_ptr++; - move16(); - bitobj->code_bit_count = 16; - move16(); - } - bitobj->code_bit_count = sub(bitobj->code_bit_count,1); - temp = shr_nocheck(bitobj->current_word,bitobj->code_bit_count); - logic16(); - bitobj->next_bit = (Word16 )(temp & 1); - -} -/**************************************************************************************** - Function: get_rand - - Syntax: Word16 get_rand(Rand_Obj *randobj) - - Description: Returns a random Word16 based on the seeds inside the rand object - - WMOPS: 7kHz | 24kbit | 32kbit - -------|--------------|---------------- - AVG | 0.00 | 0.00 - -------|--------------|---------------- - MAX | 0.00 | 0.00 - -------|--------------|---------------- - - 14kHz | 24kbit | 32kbit | 48kbit - -------|--------------|----------------|---------------- - AVG | 0.00 | 0.00 | 0.00 - -------|--------------|----------------|---------------- - MAX | 0.00 | 0.00 | 0.00 - -------|--------------|----------------|---------------- - -****************************************************************************************/ -Word16 get_rand(Rand_Obj *randobj) -{ - Word16 random_word; - Word32 acca; - - acca = L_add(randobj->seed0,randobj->seed3); - random_word = extract_l(acca); - - logic16(); - test(); - if ((random_word & 32768L) != 0) - random_word = add(random_word,1); - - randobj->seed3 = randobj->seed2; - move16(); - randobj->seed2 = randobj->seed1; - move16(); - randobj->seed1 = randobj->seed0; - move16(); - randobj->seed0 = random_word; - move16(); - - return(random_word); -} diff --git a/res/pjproject/third_party/g7221/encode/dct4_a.c b/res/pjproject/third_party/g7221/encode/dct4_a.c deleted file mode 100644 index 94ddf9fe49..0000000000 --- a/res/pjproject/third_party/g7221/encode/dct4_a.c +++ /dev/null @@ -1,367 +0,0 @@ -/********************************************************************************* -** ITU-T G.722.1 (2005-05) - Fixed point implementation for main body and Annex C -** > Software Release 2.1 (2008-06) -** (Simple repackaging; no change from 2005-05 Release 2.0 code) -** -** © 2004 Polycom, Inc. -** -** All rights reserved. -** -*********************************************************************************/ - -/********************************************************************************* -* Filename: dct_type_iv_a.c -* -* Purpose: Discrete Cosine Transform, Type IV used for MLT -* -* The basis functions are -* -* cos(PI*(t+0.5)*(k+0.5)/block_length) -* -* for time t and basis function number k. Due to the symmetry of the expression -* in t and k, it is clear that the forward and inverse transforms are the same. -* -*********************************************************************************/ - -/********************************************************************************* - Include files -*********************************************************************************/ -#include "defs.h" -#include "count.h" -#include "dct4_a.h" - -/********************************************************************************* - External variable declarations -*********************************************************************************/ -extern Word16 anal_bias[DCT_LENGTH]; -extern Word16 dct_core_a[DCT_LENGTH_DIV_32][DCT_LENGTH_DIV_32]; -extern cos_msin_t a_cos_msin_2 [DCT_LENGTH_DIV_32]; -extern cos_msin_t a_cos_msin_4 [DCT_LENGTH_DIV_16]; -extern cos_msin_t a_cos_msin_8 [DCT_LENGTH_DIV_8]; -extern cos_msin_t a_cos_msin_16[DCT_LENGTH_DIV_4]; -extern cos_msin_t a_cos_msin_32[DCT_LENGTH_DIV_2]; -extern cos_msin_t a_cos_msin_64[DCT_LENGTH]; -extern cos_msin_t *a_cos_msin_table[]; - -/********************************************************************************* - Function: dct_type_iv_a - - Syntax: void dct_type_iv_a (input, output, dct_length) - Word16 input[], output[], dct_length; - - Description: Discrete Cosine Transform, Type IV used for MLT - - Design Notes: - - WMOPS: | 24kbit | 32kbit - -------|--------------|---------------- - AVG | 1.14 | 1.14 - -------|--------------|---------------- - MAX | 1.14 | 1.14 - -------|--------------|---------------- - - 14kHz | 24kbit | 32kbit | 48kbit - -------|--------------|----------------|---------------- - AVG | 2.57 | 2.57 | 2.57 - -------|--------------|----------------|---------------- - MAX | 2.57 | 2.57 | 2.57 - -------|--------------|----------------|---------------- - -*********************************************************************************/ - -void dct_type_iv_a (Word16 *input,Word16 *output,Word16 dct_length) -{ - Word16 buffer_a[MAX_DCT_LENGTH], buffer_b[MAX_DCT_LENGTH], buffer_c[MAX_DCT_LENGTH]; - Word16 *in_ptr, *in_ptr_low, *in_ptr_high, *next_in_base; - Word16 *out_ptr_low, *out_ptr_high, *next_out_base; - Word16 *out_buffer, *in_buffer, *buffer_swap; - Word16 in_val_low, in_val_high; - Word16 out_val_low, out_val_high; - Word16 in_low_even, in_low_odd; - Word16 in_high_even, in_high_odd; - Word16 out_low_even, out_low_odd; - Word16 out_high_even, out_high_odd; - Word16 *pair_ptr; - Word16 cos_even, cos_odd, msin_even, msin_odd; - Word16 neg_cos_odd; - Word16 neg_msin_even; - Word32 sum; - Word16 set_span, set_count, set_count_log, pairs_left, sets_left; - Word16 i,k; - Word16 index; - cos_msin_t **table_ptr_ptr, *cos_msin_ptr; - - Word16 temp; - Word32 acca; - - Word16 dct_length_log; - - - /*++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ - /* Do the sum/difference butterflies, the first part of */ - /* converting one N-point transform into N/2 two-point */ - /* transforms, where N = 1 << DCT_LENGTH_LOG. = 64/128 */ - /*++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ - test(); - if (dct_length==DCT_LENGTH) - { - dct_length_log = DCT_LENGTH_LOG; - - /* Add bias offsets */ - for (i=0;i0;sets_left--) - { - - /*||||||||||||||||||||||||||||||||||||||||||||*/ - /* Set up output pointers for the current set */ - /*||||||||||||||||||||||||||||||||||||||||||||*/ - - out_ptr_low = next_out_base; - next_out_base = next_out_base + set_span; - out_ptr_high = next_out_base; - - /*||||||||||||||||||||||||||||||||||||||||||||||||||*/ - /* Loop over all the butterflies in the current set */ - /*||||||||||||||||||||||||||||||||||||||||||||||||||*/ - - do - { - in_val_low = *in_ptr++; - in_val_high = *in_ptr++; - // blp: addition of two 16bits vars, there's no way - // they'll overflow a 32bit var - //acca = L_add(in_val_low,in_val_high); - acca = (in_val_low + in_val_high); - acca = L_shr_nocheck(acca,1); - out_val_low = extract_l(acca); - - acca = L_sub(in_val_low,in_val_high); - acca = L_shr_nocheck(acca,1); - out_val_high = extract_l(acca); - - *out_ptr_low++ = out_val_low; - *--out_ptr_high = out_val_high; - - test(); - } while (out_ptr_low < out_ptr_high); - - } /* End of loop over sets of the current size */ - - /*============================================================*/ - /* Decide which buffers to use as input and output next time. */ - /* Except for the first time (when the input buffer is the */ - /* subroutine input) we just alternate the local buffers. */ - /*============================================================*/ - - in_buffer = out_buffer; - move16(); - if (out_buffer == buffer_a) - out_buffer = buffer_b; - else - out_buffer = buffer_a; - index = add(index,1); - - } /* End of loop over set sizes */ - - - /*++++++++++++++++++++++++++++++++*/ - /* Do N/2 two-point transforms, */ - /* where N = 1 << DCT_LENGTH_LOG */ - /*++++++++++++++++++++++++++++++++*/ - - pair_ptr = in_buffer; - move16(); - - buffer_swap = buffer_c; - move16(); - - temp = sub(dct_length_log,1); - temp = shl_nocheck(1,temp); - - for (pairs_left=temp; pairs_left > 0; pairs_left--) - { - for ( k=0; k= 0; set_count_log--) - { - /*===========================================================*/ - /* Initialization for the loop over sets at the current size */ - /*===========================================================*/ - /* set_span = 1 << (DCT_LENGTH_LOG - set_count_log); */ - set_span = shr_nocheck(dct_length,set_count_log); - - set_count = shl_nocheck(1,set_count_log); - next_in_base = in_buffer; - move16(); - - test(); - if (set_count_log == 0) - { - next_out_base = output; - } - else - { - next_out_base = out_buffer; - } - - - /*=====================================*/ - /* Loop over all the sets of this size */ - /*=====================================*/ - for (sets_left = set_count; sets_left > 0;sets_left--) - { - /*|||||||||||||||||||||||||||||||||||||||||*/ - /* Set up the pointers for the current set */ - /*|||||||||||||||||||||||||||||||||||||||||*/ - in_ptr_low = next_in_base; - move16(); - temp = shr_nocheck(set_span,1); - - /* address arithmetic */ - in_ptr_high = in_ptr_low + temp; - next_in_base += set_span; - out_ptr_low = next_out_base; - next_out_base += set_span; - out_ptr_high = next_out_base; - cos_msin_ptr = *table_ptr_ptr; - - /*||||||||||||||||||||||||||||||||||||||||||||||||||||||*/ - /* Loop over all the butterfly pairs in the current set */ - /*||||||||||||||||||||||||||||||||||||||||||||||||||||||*/ - - do - { - /* address arithmetic */ - in_low_even = *in_ptr_low++; - in_low_odd = *in_ptr_low++; - in_high_even = *in_ptr_high++; - in_high_odd = *in_ptr_high++; - cos_even = cos_msin_ptr[0].cosine; - move16(); - msin_even = cos_msin_ptr[0].minus_sine; - move16(); - cos_odd = cos_msin_ptr[1].cosine; - move16(); - msin_odd = cos_msin_ptr[1].minus_sine; - move16(); - cos_msin_ptr += 2; - - sum = 0L; - sum=L_mac(sum,cos_even,in_low_even); - neg_msin_even = negate(msin_even); - sum=L_mac(sum,neg_msin_even,in_high_even); - out_low_even = itu_round(sum); - - sum = 0L; - sum=L_mac(sum,msin_even,in_low_even); - sum=L_mac(sum,cos_even,in_high_even); - out_high_even= itu_round(sum); - - sum = 0L; - sum=L_mac(sum,cos_odd,in_low_odd); - sum=L_mac(sum,msin_odd,in_high_odd); - out_low_odd= itu_round(sum); - - sum = 0L; - sum=L_mac(sum,msin_odd,in_low_odd); - neg_cos_odd = negate(cos_odd); - sum=L_mac(sum,neg_cos_odd,in_high_odd); - out_high_odd= itu_round(sum); - - *out_ptr_low++ = out_low_even; - *--out_ptr_high = out_high_even; - *out_ptr_low++ = out_low_odd; - *--out_ptr_high = out_high_odd; - test(); - } while (out_ptr_low < out_ptr_high); - - } /* End of loop over sets of the current size */ - - /*=============================================*/ - /* Swap input and output buffers for next time */ - /*=============================================*/ - - buffer_swap = in_buffer; - in_buffer = out_buffer; - out_buffer = buffer_swap; - table_ptr_ptr++; - } -} - diff --git a/res/pjproject/third_party/g7221/encode/dct4_a.h b/res/pjproject/third_party/g7221/encode/dct4_a.h deleted file mode 100644 index 74f3d9397a..0000000000 --- a/res/pjproject/third_party/g7221/encode/dct4_a.h +++ /dev/null @@ -1,728 +0,0 @@ -/**************************************************************************** -** -** ITU-T G.722.1 (2005-05) - Fixed point implementation for main body and Annex C -** > Software Release 2.1 (2008-06) -** (Simple repackaging; no change from 2005-05 Release 2.0 code) -** -** © 2004 Polycom, Inc. -** -** All rights reserved. -** -****************************************************************************/ - -/**************************************************************************** - Filename: dct4_a.h - - Purpose: Contains tables used by dct4_a.c - - Design Notes: - -****************************************************************************/ - -/*************************************************************************** - Include files -***************************************************************************/ -#include -#include - -typedef struct -{ - Word16 cosine; - Word16 minus_sine; -} cos_msin_t; - -cos_msin_t a_cos_msin_2[10] = { - { 29805 , -1171 } , - { 29621 , -3506 } , - { 29255 , -5819 } , - { 28708 , -8097 } , - { 27984 , -10324 } , - { 27088 , -12488 } , - { 26025 , -14575 } , - { 24801 , -16572 } , - { 23425 , -18466 } , - { 21903 , -20247 } - }; -cos_msin_t a_cos_msin_4[20] = { - { 29822 , -586 } , - { 29776 , -1756 } , - { 29684 , -2924 } , - { 29547 , -4087 } , - { 29364 , -5244 } , - { 29135 , -6392 } , - { 28862 , -7531 } , - { 28544 , -8659 } , - { 28182 , -9773 } , - { 27776 , -10871 } , - { 27328 , -11954 } , - { 26838 , -13017 } , - { 26306 , -14061 } , - { 25734 , -15083 } , - { 25122 , -16081 } , - { 24471 , -17055 } , - { 23783 , -18003 } , - { 23057 , -18923 } , - { 22297 , -19813 } , - { 21502 , -20673 } - }; -cos_msin_t a_cos_msin_8[40] = { - { 29827 , -293 } , - { 29815 , -878 } , - { 29792 , -1464 } , - { 29758 , -2048 } , - { 29712 , -2632 } , - { 29654 , -3215 } , - { 29586 , -3797 } , - { 29505 , -4377 } , - { 29414 , -4955 } , - { 29311 , -5532 } , - { 29196 , -6106 } , - { 29071 , -6678 } , - { 28934 , -7248 } , - { 28786 , -7814 } , - { 28627 , -8378 } , - { 28457 , -8938 } , - { 28276 , -9495 } , - { 28084 , -10049 } , - { 27882 , -10598 } , - { 27668 , -11144 } , - { 27444 , -11685 } , - { 27209 , -12221 } , - { 26964 , -12753 } , - { 26709 , -13280 } , - { 26443 , -13802 } , - { 26167 , -14318 } , - { 25881 , -14829 } , - { 25584 , -15335 } , - { 25278 , -15834 } , - { 24963 , -16327 } , - { 24637 , -16814 } , - { 24302 , -17295 } , - { 23958 , -17769 } , - { 23605 , -18236 } , - { 23242 , -18695 } , - { 22871 , -19148 } , - { 22490 , -19594 } , - { 22101 , -20031 } , - { 21704 , -20461 } , - { 21298 , -20884 } - }; -cos_msin_t a_cos_msin_16[80] = { - { 29828 , -146 } , - { 29825 , -439 } , - { 29819 , -732 } , - { 29811 , -1025 } , - { 29799 , -1317 } , - { 29785 , -1610 } , - { 29767 , -1902 } , - { 29747 , -2194 } , - { 29724 , -2486 } , - { 29698 , -2778 } , - { 29670 , -3069 } , - { 29638 , -3360 } , - { 29604 , -3651 } , - { 29567 , -3942 } , - { 29526 , -4232 } , - { 29483 , -4521 } , - { 29438 , -4811 } , - { 29389 , -5099 } , - { 29338 , -5388 } , - { 29283 , -5676 } , - { 29226 , -5963 } , - { 29166 , -6249 } , - { 29103 , -6535 } , - { 29038 , -6821 } , - { 28969 , -7106 } , - { 28898 , -7390 } , - { 28824 , -7673 } , - { 28748 , -7956 } , - { 28668 , -8237 } , - { 28586 , -8518 } , - { 28501 , -8799 } , - { 28413 , -9078 } , - { 28323 , -9357 } , - { 28229 , -9634 } , - { 28133 , -9911 } , - { 28035 , -10187 } , - { 27933 , -10461 } , - { 27829 , -10735 } , - { 27723 , -11008 } , - { 27613 , -11279 } , - { 27501 , -11550 } , - { 27387 , -11819 } , - { 27269 , -12088 } , - { 27149 , -12355 } , - { 27027 , -12621 } , - { 26901 , -12885 } , - { 26774 , -13149 } , - { 26643 , -13411 } , - { 26510 , -13672 } , - { 26375 , -13932 } , - { 26237 , -14190 } , - { 26096 , -14447 } , - { 25953 , -14702 } , - { 25807 , -14956 } , - { 25659 , -15209 } , - { 25509 , -15460 } , - { 25356 , -15710 } , - { 25200 , -15958 } , - { 25043 , -16205 } , - { 24882 , -16450 } , - { 24720 , -16693 } , - { 24554 , -16935 } , - { 24387 , -17175 } , - { 24217 , -17414 } , - { 24045 , -17651 } , - { 23871 , -17886 } , - { 23694 , -18119 } , - { 23515 , -18351 } , - { 23334 , -18581 } , - { 23150 , -18809 } , - { 22964 , -19036 } , - { 22776 , -19260 } , - { 22586 , -19483 } , - { 22394 , -19704 } , - { 22199 , -19923 } , - { 22003 , -20140 } , - { 21804 , -20355 } , - { 21603 , -20568 } , - { 21400 , -20779 } , - { 21195 , -20988 } - }; -cos_msin_t a_cos_msin_32[160]= { - { 29828 , -73 } , - { 29827 , -220 } , - { 29826 , -366 } , - { 29824 , -512 } , - { 29821 , -659 } , - { 29817 , -805 } , - { 29813 , -952 } , - { 29808 , -1098 } , - { 29802 , -1244 } , - { 29796 , -1390 } , - { 29789 , -1537 } , - { 29781 , -1683 } , - { 29772 , -1829 } , - { 29763 , -1975 } , - { 29753 , -2121 } , - { 29742 , -2267 } , - { 29730 , -2413 } , - { 29718 , -2559 } , - { 29705 , -2705 } , - { 29692 , -2851 } , - { 29677 , -2997 } , - { 29662 , -3142 } , - { 29646 , -3288 } , - { 29630 , -3433 } , - { 29613 , -3579 } , - { 29595 , -3724 } , - { 29576 , -3869 } , - { 29557 , -4014 } , - { 29537 , -4159 } , - { 29516 , -4304 } , - { 29494 , -4449 } , - { 29472 , -4594 } , - { 29449 , -4738 } , - { 29426 , -4883 } , - { 29401 , -5027 } , - { 29376 , -5172 } , - { 29351 , -5316 } , - { 29324 , -5460 } , - { 29297 , -5604 } , - { 29269 , -5747 } , - { 29241 , -5891 } , - { 29211 , -6034 } , - { 29181 , -6178 } , - { 29151 , -6321 } , - { 29119 , -6464 } , - { 29087 , -6607 } , - { 29054 , -6749 } , - { 29021 , -6892 } , - { 28987 , -7034 } , - { 28952 , -7177 } , - { 28916 , -7319 } , - { 28880 , -7460 } , - { 28843 , -7602 } , - { 28805 , -7744 } , - { 28767 , -7885 } , - { 28728 , -8026 } , - { 28688 , -8167 } , - { 28648 , -8308 } , - { 28607 , -8448 } , - { 28565 , -8589 } , - { 28522 , -8729 } , - { 28479 , -8869 } , - { 28435 , -9008 } , - { 28391 , -9148 } , - { 28346 , -9287 } , - { 28300 , -9426 } , - { 28253 , -9565 } , - { 28206 , -9703 } , - { 28158 , -9842 } , - { 28109 , -9980 } , - { 28060 , -10118 } , - { 28010 , -10255 } , - { 27959 , -10393 } , - { 27908 , -10530 } , - { 27856 , -10667 } , - { 27803 , -10803 } , - { 27750 , -10940 } , - { 27696 , -11076 } , - { 27641 , -11212 } , - { 27586 , -11347 } , - { 27529 , -11482 } , - { 27473 , -11617 } , - { 27415 , -11752 } , - { 27357 , -11886 } , - { 27299 , -12021 } , - { 27239 , -12154 } , - { 27179 , -12288 } , - { 27119 , -12421 } , - { 27057 , -12554 } , - { 26996 , -12687 } , - { 26933 , -12819 } , - { 26870 , -12951 } , - { 26806 , -13083 } , - { 26741 , -13215 } , - { 26676 , -13346 } , - { 26610 , -13476 } , - { 26544 , -13607 } , - { 26477 , -13737 } , - { 26409 , -13867 } , - { 26340 , -13996 } , - { 26271 , -14125 } , - { 26202 , -14254 } , - { 26132 , -14383 } , - { 26061 , -14511 } , - { 25989 , -14638 } , - { 25917 , -14766 } , - { 25844 , -14893 } , - { 25771 , -15020 } , - { 25697 , -15146 } , - { 25622 , -15272 } , - { 25547 , -15397 } , - { 25471 , -15523 } , - { 25394 , -15648 } , - { 25317 , -15772 } , - { 25239 , -15896 } , - { 25161 , -16020 } , - { 25082 , -16143 } , - { 25003 , -16266 } , - { 24923 , -16389 } , - { 24842 , -16511 } , - { 24760 , -16632 } , - { 24678 , -16754 } , - { 24596 , -16875 } , - { 24513 , -16995 } , - { 24429 , -17115 } , - { 24345 , -17235 } , - { 24260 , -17354 } , - { 24174 , -17473 } , - { 24088 , -17592 } , - { 24002 , -17710 } , - { 23914 , -17827 } , - { 23827 , -17945 } , - { 23738 , -18061 } , - { 23649 , -18178 } , - { 23560 , -18293 } , - { 23470 , -18409 } , - { 23379 , -18524 } , - { 23288 , -18638 } , - { 23196 , -18752 } , - { 23104 , -18866 } , - { 23011 , -18979 } , - { 22917 , -19092 } , - { 22824 , -19204 } , - { 22729 , -19316 } , - { 22634 , -19427 } , - { 22538 , -19538 } , - { 22442 , -19649 } , - { 22345 , -19759 } , - { 22248 , -19868 } , - { 22150 , -19977 } , - { 22052 , -20086 } , - { 21953 , -20194 } , - { 21854 , -20301 } , - { 21754 , -20408 } , - { 21653 , -20515 } , - { 21552 , -20621 } , - { 21451 , -20726 } , - { 21349 , -20831 } , - { 21246 , -20936 } , - { 21143 , -21040 } - }; -cos_msin_t a_cos_msin_64[320] = { -{29827, -34}, -{29827, -106}, -{29827, -177}, -{29827, -249}, -{29826, -320}, -{29825, -392}, -{29824, -463}, -{29823, -535}, -{29821, -606}, -{29819, -678}, -{29818, -750}, -{29816, -821}, -{29814, -893}, -{29812, -964}, -{29809, -1035}, -{29807, -1106}, -{29804, -1177}, -{29801, -1249}, -{29797, -1320}, -{29795, -1392}, -{29791, -1463}, -{29787, -1535}, -{29784, -1606}, -{29780, -1678}, -{29776, -1749}, -{29771, -1820}, -{29767, -1892}, -{29763, -1963}, -{29758, -2035}, -{29753, -2106}, -{29748, -2177}, -{29742, -2249}, -{29737, -2320}, -{29731, -2391}, -{29726, -2462}, -{29719, -2534}, -{29713, -2605}, -{29707, -2676}, -{29701, -2747}, -{29694, -2819}, -{29686, -2890}, -{29680, -2961}, -{29673, -3032}, -{29665, -3103}, -{29658, -3174}, -{29650, -3245}, -{29643, -3316}, -{29635, -3387}, -{29626, -3459}, -{29618, -3529}, -{29610, -3600}, -{29601, -3671}, -{29592, -3742}, -{29583, -3813}, -{29574, -3884}, -{29564, -3955}, -{29554, -4026}, -{29544, -4097}, -{29535, -4167}, -{29525, -4238}, -{29514, -4309}, -{29504, -4380}, -{29493, -4450}, -{29483, -4521}, -{29472, -4591}, -{29461, -4662}, -{29450, -4733}, -{29439, -4803}, -{29427, -4874}, -{29415, -4944}, -{29403, -5015}, -{29391, -5085}, -{29379, -5155}, -{29366, -5226}, -{29353, -5296}, -{29341, -5367}, -{29328, -5438}, -{29314, -5508}, -{29301, -5578}, -{29289, -5648}, -{29274, -5718}, -{29260, -5788}, -{29247, -5858}, -{29232, -5928}, -{29218, -5998}, -{29204, -6068}, -{29188, -6139}, -{29175, -6209}, -{29159, -6279}, -{29145, -6348}, -{29128, -6418}, -{29114, -6488}, -{29097, -6557}, -{29082, -6627}, -{29066, -6697}, -{29050, -6767}, -{29034, -6837}, -{29017, -6906}, -{29001, -6975}, -{28984, -7045}, -{28966, -7114}, -{28950, -7184}, -{28933, -7254}, -{28915, -7323}, -{28897, -7392}, -{28880, -7461}, -{28862, -7530}, -{28843, -7600}, -{28825, -7669}, -{28807, -7738}, -{28788, -7806}, -{28769, -7875}, -{28751, -7944}, -{28732, -8014}, -{28712, -8082}, -{28692, -8151}, -{28672, -8219}, -{28653, -8289}, -{28633, -8357}, -{28613, -8425}, -{28593, -8494}, -{28572, -8563}, -{28551, -8632}, -{28531, -8700}, -{28510, -8768}, -{28488, -8837}, -{28468, -8905}, -{28447, -8973}, -{28425, -9041}, -{28403, -9109}, -{28381, -9177}, -{28359, -9245}, -{28336, -9313}, -{28315, -9381}, -{28292, -9448}, -{28269, -9517}, -{28246, -9584}, -{28223, -9652}, -{28200, -9720}, -{28176, -9787}, -{28153, -9854}, -{28129, -9922}, -{28105, -9990}, -{28082, -10056}, -{28057, -10124}, -{28032, -10191}, -{28009, -10258}, -{27984, -10326}, -{27959, -10392}, -{27934, -10460}, -{27909, -10526}, -{27883, -10593}, -{27858, -10661}, -{27832, -10727}, -{27807, -10794}, -{27780, -10860}, -{27754, -10927}, -{27728, -10993}, -{27701, -11059}, -{27676, -11126}, -{27648, -11192}, -{27622, -11259}, -{27595, -11324}, -{27567, -11391}, -{27540, -11456}, -{27512, -11523}, -{27484, -11588}, -{27456, -11655}, -{27429, -11720}, -{27401, -11786}, -{27372, -11852}, -{27344, -11917}, -{27315, -11982}, -{27286, -12049}, -{27257, -12114}, -{27229, -12179}, -{27199, -12244}, -{27169, -12309}, -{27140, -12375}, -{27110, -12439}, -{27080, -12505}, -{27050, -12570}, -{27019, -12634}, -{26990, -12699}, -{26958, -12764}, -{26928, -12828}, -{26897, -12892}, -{26866, -12956}, -{26835, -13021}, -{26804, -13086}, -{26773, -13149}, -{26741, -13214}, -{26709, -13278}, -{26677, -13342}, -{26645, -13406}, -{26613, -13470}, -{26581, -13534}, -{26549, -13597}, -{26515, -13661}, -{26483, -13725}, -{26450, -13788}, -{26417, -13851}, -{26384, -13915}, -{26350, -13978}, -{26316, -14041}, -{26283, -14103}, -{26248, -14166}, -{26215, -14229}, -{26180, -14292}, -{26146, -14355}, -{26112, -14417}, -{26077, -14480}, -{26042, -14543}, -{26008, -14605}, -{25972, -14667}, -{25937, -14730}, -{25901, -14792}, -{25866, -14854}, -{25830, -14916}, -{25794, -14977}, -{25759, -15039}, -{25723, -15101}, -{25687, -15162}, -{25650, -15224}, -{25613, -15286}, -{25577, -15347}, -{25540, -15408}, -{25503, -15470}, -{25465, -15531}, -{25428, -15592}, -{25391, -15653}, -{25353, -15714}, -{25315, -15774}, -{25277, -15834}, -{25240, -15895}, -{25201, -15956}, -{25162, -16016}, -{25124, -16076}, -{25086, -16136}, -{25047, -16196}, -{25008, -16256}, -{24969, -16316}, -{24930, -16375}, -{24891, -16436}, -{24851, -16496}, -{24811, -16555}, -{24772, -16615}, -{24732, -16674}, -{24692, -16732}, -{24652, -16791}, -{24612, -16852}, -{24572, -16911}, -{24531, -16969}, -{24490, -17027}, -{24449, -17086}, -{24408, -17145}, -{24367, -17203}, -{24325, -17261}, -{24284, -17320}, -{24242, -17379}, -{24200, -17436}, -{24158, -17494}, -{24116, -17552}, -{24075, -17610}, -{24032, -17668}, -{23990, -17725}, -{23947, -17782}, -{23904, -17840}, -{23862, -17897}, -{23819, -17954}, -{23775, -18011}, -{23732, -18068}, -{23689, -18125}, -{23645, -18181}, -{23602, -18238}, -{23558, -18294}, -{23514, -18351}, -{23470, -18407}, -{23426, -18464}, -{23381, -18520}, -{23337, -18576}, -{23293, -18632}, -{23248, -18688}, -{23202, -18743}, -{23158, -18799}, -{23112, -18854}, -{23068, -18910}, -{23022, -18964}, -{22977, -19020}, -{22931, -19074}, -{22885, -19129}, -{22839, -19185}, -{22793, -19239}, -{22747, -19294}, -{22700, -19348}, -{22655, -19403}, -{22607, -19457}, -{22561, -19511}, -{22514, -19565}, -{22467, -19619}, -{22421, -19673}, -{22373, -19726}, -{22326, -19780}, -{22279, -19834}, -{22230, -19887}, -{22183, -19940}, -{22135, -19993}, -{22087, -20047}, -{22039, -20099}, -{21991, -20152}, -{21942, -20205}, -{21894, -20257}, -{21845, -20309}, -{21797, -20362}, -{21748, -20413}, -{21699, -20466}, -{21650, -20518}, -{21601, -20570}, -{21551, -20621}, -{21502, -20674} -}; - -cos_msin_t *a_cos_msin_table[] = {a_cos_msin_2, a_cos_msin_4, - a_cos_msin_8, a_cos_msin_16, - a_cos_msin_32,a_cos_msin_64 - }; - -Word16 dct_core_a[10][10] = { - -{ 10453, 10196, 9688, 8941, 7973, 6810, 5479, 4013, 2448, 823 }, -{ 10196, 7973, 4013, -823, -5479, -8941, -10453, -9688, -6810, -2448 }, -{ 9688 , 4013, -4013, -9688, -9688, -4013, 4013, 9688, 9688, 4013 }, -{ 8941 , -823, -9688, -7973, 2448, 10196, 6810, -4013, -10453, -5479 }, -{ 7973 , -5479, -9688, 2448, 10453, 823, -10196, -4013, 8941, 6810 }, -{ 6810 , -8941, -4013, 10196, 823, -10453, 2448, 9688, -5479, -7973 }, -{ 5479 , -10453, 4013, 6810, -10196, 2448, 7973, -9688, 823, 8941 }, -{ 4013 , -9688, 9688, -4013, -4013, 9688, -9688, 4013, 4013, -9688 }, -{ 2448 , -6810, 9688, -10453, 8941, -5479, 823, 4013, -7973, 10196 }, -{ 823 , -2448, 4013, -5479, 6810, -7973, 8941, -9688, 10196, -10453 }}; - -Word16 anal_bias[320] = { - 1, 1, 3, 1, 4, 1, 3, -2, 4, 3, - 4, 1, 3, 0, 2, -3, 0, 0, 2, 2, - 4, 1, 1, -5, 4, 1, 2, -1, 0, -1, - 1, -2, 0, 2, 2, 2, 4, 1, 3, 0, - 5, 3, 2, 0, 3, 0, 1, -4, 1, 1, - 2, 0, 4, 0, 1, -4, 6, 1, 3, -1, - 1, 0, 0, -4, 1, 1, 3, 1, 3, 2, - 4, -2, 4, 3, 5, 1, 3, 0, 1, -3, - 1, 1, 2, 0, 4, 1, 2, -4, 4, 2, - 2, -1, 1, -1, 1, -4, 0, 0, 3, 0, - 5, 2, 3, -1, 6, 2, 5, 0, 4, 0, - 1, -3, 1, 0, 3, 0, 4, 0, 1, -3, - 4, 1, 3, -1, 1, -2, 1, -4, 0, 1, - 2, 1, 3, 2, 2, -2, 4, 3, 3, 0, - 3, 0, 0, -2, 1, 0, 2, 0, 5, -1, - 1, -3, 4, 2, 2, 0, 2, -3, 1, -4, - -1, 1, 2, 2, 4, 1, 3, -1, 5, 2, - 2, 0, 3, -1, 2, -3, 0, 1, 2, 2, - 4, 0, 1, -5, 5, 1, 3, 0, 2, -1, - 0, -2, 1, 2, 2, 2, 4, 1, 0, 0, - 4, 2, 4, 1, 4, -1, 1, -4, 0, 1, - 3, 1, 5, 1, 1, -2, 4, 0, 2, 0, - 2, -1, 0, -2, 0, 1, 1, 1, 4, 2, - 3, -2, 5, 4, 4, 0, 3, 0, 3, -4, - 1, 2, 2, 0, 4, 1, 0, -3, 4, 2, - 3, -1, 1, -1, 1, -4, 0, 2, 3, 1, - 4, 1, 3, 0, 3, 3, 4, 1, 2, 0, - 1, -3, 2, 2, 2, 1, 5, 0, 1, -4, - 4, 1, 3, -2, 3, -1, 0, -2, 0, 2, - 2, 0, 5, 1, 4, -1, 4, 3, 4, 1, - 3, 0, 1, -4, 2, 0, 3, 1, 5, 0, - 1, -5, 5, 2, 2, 0, 0, 0, 0, -4}; - diff --git a/res/pjproject/third_party/g7221/encode/encoder.c b/res/pjproject/third_party/g7221/encode/encoder.c deleted file mode 100644 index 2d878cc48a..0000000000 --- a/res/pjproject/third_party/g7221/encode/encoder.c +++ /dev/null @@ -1,1125 +0,0 @@ -/*************************************************************************** -** -** ITU-T G.722.1 (2005-05) - Fixed point implementation for main body and Annex C -** > Software Release 2.1 (2008-06) -** (Simple repackaging; no change from 2005-05 Release 2.0 code) -** -** © 2004 Polycom, Inc. -** -** All rights reserved. -** -***************************************************************************/ - -/*************************************************************************** - Filename: encoder.c - - Purpose: Contains files used to implement the G.722.1 Annex C encoder - - Design Notes: - -***************************************************************************/ - -/*************************************************************************** - Include files -***************************************************************************/ - -#include -#include -#include "defs.h" -#include "huff_def.h" -#include "tables.h" -#include "count.h" - -/*************************************************************************** - Function: encoder - - Syntax: void encoder(Word16 number_of_available_bits, - Word16 number_of_regions, - Word16 mlt_coefs, - Word16 mag_shift, - Word16 out_words) - - inputs: number_of_available_bits - number_of_regions - mag_shift - mlt_coefs[DCT_LENGTH] - - outputs: out_words[MAX_BITS_PER_FRAME/16] - - - Description: Encodes the mlt coefs into out_words using G.722.1 Annex C - - - WMOPS: 7kHz | 24kbit | 32kbit - -------|--------------|---------------- - AVG | 0.93 | 1.04 - -------|--------------|---------------- - MAX | 1.20 | 1.28 - -------|--------------|---------------- - - 14kHz | 24kbit | 32kbit | 48kbit - -------|--------------|----------------|---------------- - AVG | 1.39 | 1.71 | 2.01 - -------|--------------|----------------|---------------- - MAX | 2.00 | 2.30 | 2.52 - -------|--------------|----------------|---------------- - -***************************************************************************/ - -void encoder(Word16 number_of_available_bits, - Word16 number_of_regions, - Word16 *mlt_coefs, - Word16 mag_shift, - Word16 *out_words) -{ - - Word16 num_categorization_control_bits; - Word16 num_categorization_control_possibilities; - Word16 number_of_bits_per_frame; - Word16 number_of_envelope_bits; - Word16 categorization_control; - Word16 region; - Word16 absolute_region_power_index[MAX_NUMBER_OF_REGIONS]; - Word16 power_categories[MAX_NUMBER_OF_REGIONS]; - Word16 category_balances[MAX_NUM_CATEGORIZATION_CONTROL_POSSIBILITIES-1]; - Word16 drp_num_bits[MAX_NUMBER_OF_REGIONS+1]; - UWord16 drp_code_bits[MAX_NUMBER_OF_REGIONS+1]; - Word16 region_mlt_bit_counts[MAX_NUMBER_OF_REGIONS]; - UWord32 region_mlt_bits[4*MAX_NUMBER_OF_REGIONS]; - Word16 mag_shift_offset; - - Word16 temp; - - /* initialize variables */ - test(); - if (number_of_regions == NUMBER_OF_REGIONS) - { - num_categorization_control_bits = NUM_CATEGORIZATION_CONTROL_BITS; - move16(); - num_categorization_control_possibilities = NUM_CATEGORIZATION_CONTROL_POSSIBILITIES; - move16(); - } - else - { - num_categorization_control_bits = MAX_NUM_CATEGORIZATION_CONTROL_BITS; - move16(); - num_categorization_control_possibilities = MAX_NUM_CATEGORIZATION_CONTROL_POSSIBILITIES; - move16(); - } - - number_of_bits_per_frame = number_of_available_bits; - move16(); - - for (region=0; region= 0) - { - temp = extract_l(L_shr_nocheck(current_word,j)); - out_word = add(out_word,temp); - - out_words[out_word_index++] = out_word; - move16(); - - out_word_bits_free = 16; - move16(); - - out_word_bits_free = sub(out_word_bits_free,j); - - acca = (current_word << out_word_bits_free); - out_word = extract_l(acca); - } - else - { - j = negate(j); - - acca = (current_word << j); - accb = L_deposit_l(out_word); - acca = L_add(accb,acca); - out_word = extract_l(acca); - - out_word_bits_free = sub(out_word_bits_free,current_word_bits_left); - } - } - - /* These code bits are left justified. */ - - for (region=0;region 0) - current_word_bits_left = region_bit_count; - else - current_word_bits_left = 32; - - current_word = *in_word_ptr++; - - acca = L_deposit_l(out_word_index); - acca = L_shl_nocheck(acca,4); - acca = L_sub(acca,number_of_bits_per_frame); - - /* from while loop */ - test(); - test(); - logic16(); - while ((region_bit_count > 0) && (acca < 0)) - { - /* from while loop */ - test(); - test(); - logic16(); - - temp = sub(current_word_bits_left,out_word_bits_free); - test(); - if (temp >= 0) - { - temp = sub(32,out_word_bits_free); - accb = LU_shr(current_word,temp); - slice = (UWord16)extract_l(accb); - - out_word = add(out_word,slice); - - test(); - current_word <<= out_word_bits_free; - - current_word_bits_left = sub(current_word_bits_left,out_word_bits_free); - out_words[out_word_index++] = extract_l(out_word); - move16(); - - out_word = 0; - move16(); - - out_word_bits_free = 16; - move16(); - } - else - { - temp = sub(32,current_word_bits_left); - accb = LU_shr(current_word,temp); - slice = (UWord16)extract_l(accb); - - temp = sub(out_word_bits_free,current_word_bits_left); - test(); - accb = slice << temp; - acca = L_deposit_l(out_word); - acca = L_add(acca,accb); - out_word = extract_l(acca); - out_word_bits_free = sub(out_word_bits_free,current_word_bits_left); - - current_word_bits_left = 0; - move16(); - } - - test(); - if (current_word_bits_left == 0) - { - current_word = *in_word_ptr++; - region_bit_count = sub(region_bit_count,32); - - /* current_word_bits_left = MIN(32,region_bit_count); */ - temp = sub(32,region_bit_count); - test(); - if(temp > 0) - current_word_bits_left = region_bit_count; - else - current_word_bits_left = 32; - - } - acca = L_deposit_l(out_word_index); - acca = L_shl_nocheck(acca,4); - acca = L_sub(acca,number_of_bits_per_frame); - } - accb = L_deposit_l(out_word_index); - accb = L_shl_nocheck(accb,4); - accb = L_sub(accb,number_of_bits_per_frame); - } - } - - /* Fill out with 1's. */ - - test(); - while (acca < 0) - { - test(); - current_word = 0x0000ffff; - move32(); - - temp = sub(16,out_word_bits_free); - acca = LU_shr(current_word,temp); - slice = (UWord16)extract_l(acca); - - out_word = add(out_word,slice); - out_words[out_word_index++] = out_word; - move16(); - - out_word = 0; - move16(); - - out_word_bits_free = 16; - move16(); - - acca = L_deposit_l(out_word_index); - acca = L_shl_nocheck(acca,4); - acca = L_sub(acca,number_of_bits_per_frame); - } -} -/*************************************************************************** - Function: adjust_abs_region_power_index - - Syntax: adjust_abs_region_power_index(Word16 *absolute_region_power_index, - Word16 *mlt_coefs, - Word16 number_of_regions) - - inputs: *mlt_coefs - *absolute_region_power_index - number_of_regions - - outputs: *absolute_region_power_index - - Description: Adjusts the absolute power index - - - WMOPS: 7kHz | 24kbit | 32kbit - -------|--------------|---------------- - AVG | 0.03 | 0.03 - -------|--------------|---------------- - MAX | 0.12 | 0.12 - -------|--------------|---------------- - - 14kHz | 24kbit | 32kbit | 48kbit - -------|--------------|----------------|---------------- - AVG | 0.03 | 0.03 | 0.03 - -------|--------------|----------------|---------------- - MAX | 0.14 | 0.14 | 0.14 - -------|--------------|----------------|---------------- - -***************************************************************************/ -void adjust_abs_region_power_index(Word16 *absolute_region_power_index,Word16 *mlt_coefs,Word16 number_of_regions) -{ - Word16 n,i; - Word16 region; - Word16 *raw_mlt_ptr; - - Word32 acca; - Word16 temp; - - for (region=0; region 0) - { - temp = extract_l(L_mult0(region,REGION_SIZE)); - - raw_mlt_ptr = &mlt_coefs[temp]; - - for (i=0; i 0) - { - test(); - long_accumulator = L_shr_nocheck(long_accumulator,1); - - acca = (long_accumulator & 0x7fff0000L); - logic32(); - - power_shift = add(power_shift,1); - } - - acca = L_sub(long_accumulator,32767); - - temp = add(power_shift,15); - test(); - test(); - logic16(); - while ((acca <= 0) && (temp >= 0)) - { - test(); - test(); - logic16(); - - long_accumulator = L_shl_nocheck(long_accumulator,1); - acca = L_sub(long_accumulator,32767); - power_shift--; - temp = add(power_shift,15); - } - long_accumulator = L_shr_nocheck(long_accumulator,1); - /* 28963 corresponds to square root of 2 times REGION_SIZE(20). */ - acca = L_sub(long_accumulator,28963); - - test(); - if (acca >= 0) - power_shift = add(power_shift,1); - - acca = L_deposit_l(mag_shift); - acca = L_shl_nocheck(acca,1); - acca = L_sub(power_shift,acca); - acca = L_add(35,acca); - acca = L_sub(acca,REGION_POWER_TABLE_NUM_NEGATIVES); - absolute_region_power_index[region] = extract_l(acca); - } - - - /* Before we differentially encode the quantized region powers, adjust upward the - valleys to make sure all the peaks can be accurately represented. */ - temp = sub(number_of_regions,2); - - for (region = temp; region >= 0; region--) - { - temp1 = sub(absolute_region_power_index[region+1],DRP_DIFF_MAX); - temp2 = sub(absolute_region_power_index[region],temp1); - test(); - if (temp2 < 0) - { - absolute_region_power_index[region] = temp1; - move16(); - } - } - - /* The MLT is currently scaled too low by the factor - ENCODER_SCALE_FACTOR(=18318)/32768 * (1./sqrt(160). - This is the ninth power of 1 over the square root of 2. - So later we will add ESF_ADJUSTMENT_TO_RMS_INDEX (now 9) - to drp_code_bits[0]. */ - - /* drp_code_bits[0] can range from 1 to 31. 0 will be used only as an escape sequence. */ - temp1 = sub(1,ESF_ADJUSTMENT_TO_RMS_INDEX); - temp2 = sub(absolute_region_power_index[0],temp1); - test(); - if (temp2 < 0) - { - absolute_region_power_index[0] = temp1; - move16(); - } - - temp1 = sub(31,ESF_ADJUSTMENT_TO_RMS_INDEX); - - /* - * The next line was corrected in Release 1.2 - */ - - temp2 = sub(absolute_region_power_index[0], temp1); - test(); - if (temp2 > 0) - { - absolute_region_power_index[0] = temp1; - move16(); - } - - differential_region_power_index[0] = absolute_region_power_index[0]; - move16(); - - number_of_bits = 5; - move16(); - - drp_num_bits[0] = 5; - move16(); - - drp_code_bits[0] = (UWord16)add(absolute_region_power_index[0],ESF_ADJUSTMENT_TO_RMS_INDEX); - move16(); - - /* Lower limit the absolute region power indices to -8 and upper limit them to 31. Such extremes - may be mathematically impossible anyway.*/ - for (region=1; region 0) - { - absolute_region_power_index[region] = temp1; - move16(); - } - } - - for (region=1; region 0)) - { - test(); - test(); - logic16(); - (*p_categorization_control)--; - region = category_balances[*p_categorization_control]; - move16(); - - power_categories[region] = sub(power_categories[region],1); - move16(); - - total_mlt_bits = sub(total_mlt_bits,region_mlt_bit_counts[region]); - category = power_categories[region]; - move16(); - - raw_mlt_ptr = &mlt_coefs[region*REGION_SIZE]; - move16(); - - temp = sub(category,(NUM_CATEGORIES-1)); - test(); - if (temp < 0) - { - region_mlt_bit_counts[region] = - vector_huffman(category, absolute_region_power_index[region],raw_mlt_ptr, - ®ion_mlt_bits[shl_nocheck(region,2)]); - } - else - { - region_mlt_bit_counts[region] = 0; - move16(); - } - total_mlt_bits = add(total_mlt_bits,region_mlt_bit_counts[region]); - temp = sub(total_mlt_bits,number_of_available_bits); - } - - /* If too many bits... */ - /* Set up for while loop test */ - temp1 = sub(total_mlt_bits,number_of_available_bits); - temp2 = sub(*p_categorization_control,sub(num_categorization_control_possibilities,1)); - test(); - test(); - logic16(); - - while ((temp1 > 0) && (temp2 < 0)) - { - /* operations for while contitions */ - test(); - test(); - logic16(); - - region = category_balances[*p_categorization_control]; - move16(); - - power_categories[region] = add(power_categories[region],1); - move16(); - - total_mlt_bits = sub(total_mlt_bits,region_mlt_bit_counts[region]); - category = power_categories[region]; - move16(); - - temp = extract_l(L_mult0(region,REGION_SIZE)); - raw_mlt_ptr = &mlt_coefs[temp]; - move16(); - - temp = sub(category,(NUM_CATEGORIES-1)); - test(); - if (temp < 0) - { - region_mlt_bit_counts[region] = - vector_huffman(category, absolute_region_power_index[region],raw_mlt_ptr, - ®ion_mlt_bits[shl_nocheck(region,2)]); - } - else - { - region_mlt_bit_counts[region] = 0; - move16(); - } - total_mlt_bits = add(total_mlt_bits,region_mlt_bit_counts[region]); - (*p_categorization_control)++; - - temp1 = sub(total_mlt_bits,number_of_available_bits); - temp2 = sub(*p_categorization_control,sub(num_categorization_control_possibilities,1)); - } -} - -/*************************************************************************** - Function: vector_huffman - - Syntax: Word16 vector_huffman(Word16 category, - Word16 power_index, - Word16 *raw_mlt_ptr, - UWord32 *word_ptr) - - inputs: Word16 category - Word16 power_index - Word16 *raw_mlt_ptr - - outputs: number_of_region_bits - *word_ptr - - - Description: Huffman encoding for each region based on category and power_index - - WMOPS: 7kHz | 24kbit | 32kbit - -------|--------------|---------------- - AVG | 0.03 | 0.03 - -------|--------------|---------------- - MAX | 0.04 | 0.04 - -------|--------------|---------------- - - 14kHz | 24kbit | 32kbit | 48kbit - -------|--------------|----------------|---------------- - AVG | 0.03 | 0.03 | 0.03 - -------|--------------|----------------|---------------- - MAX | 0.04 | 0.04 | 0.04 - -------|--------------|----------------|---------------- - -***************************************************************************/ -Word16 vector_huffman(Word16 category, - Word16 power_index, - Word16 *raw_mlt_ptr, - UWord32 *word_ptr) -{ - - - Word16 inv_of_step_size_times_std_dev; - Word16 j,n; - Word16 k; - Word16 number_of_region_bits; - Word16 number_of_non_zero; - Word16 vec_dim; - Word16 num_vecs; - Word16 kmax, kmax_plus_one; - Word16 index,signs_index; - Word16 *bitcount_table_ptr; - UWord16 *code_table_ptr; - Word32 code_bits; - Word16 number_of_code_bits; - UWord32 current_word; - Word16 current_word_bits_free; - - Word32 acca; - Word32 accb; - Word16 temp; - - Word16 mytemp; /* new variable in Release 1.2 */ - Word16 myacca; /* new variable in Release 1.2 */ - - - /* initialize variables */ - vec_dim = vector_dimension[category]; - move16(); - - num_vecs = number_of_vectors[category]; - move16(); - - kmax = max_bin[category]; - move16(); - - kmax_plus_one = add(kmax,1); - move16(); - - current_word = 0L; - move16(); - - current_word_bits_free = 32; - move16(); - - number_of_region_bits = 0; - move16(); - - /* set up table pointers */ - bitcount_table_ptr = (Word16 *)table_of_bitcount_tables[category]; - code_table_ptr = (UWord16 *) table_of_code_tables[category]; - - /* compute inverse of step size * standard deviation */ - acca = L_mult(step_size_inverse_table[category],standard_deviation_inverse_table[power_index]); - acca = L_shr_nocheck(acca,1); - acca = L_add(acca,4096); - acca = L_shr_nocheck(acca,13); - - /* - * The next two lines are new to Release 1.2 - */ - - mytemp = (Word16)(acca & 0x3); - acca = L_shr_nocheck(acca,2); - - inv_of_step_size_times_std_dev = extract_l(acca); - - - for (n=0; n 0) - { - signs_index = add(signs_index,1); - } - - temp = sub(k,kmax); - test(); - if (temp > 0) - { - k = kmax; - move16(); - } - } - acca = L_shr_nocheck(L_mult(index,(kmax_plus_one)),1); - index = extract_l(acca); - index = add(index,k); - raw_mlt_ptr++; - } - - code_bits = *(code_table_ptr+index); - number_of_code_bits = add((*(bitcount_table_ptr+index)),number_of_non_zero); - number_of_region_bits = add(number_of_region_bits,number_of_code_bits); - - acca = code_bits << number_of_non_zero; - accb = L_deposit_l(signs_index); - acca = L_add(acca,accb); - code_bits = acca; - move32(); - - /* msb of codebits is transmitted first. */ - j = sub(current_word_bits_free,number_of_code_bits); - test(); - if (j >= 0) - { - test(); - acca = code_bits << j; - current_word = L_add(current_word,acca); - current_word_bits_free = j; - move16(); - } - else - { - j = negate(j); - acca = L_shr_nocheck(code_bits,j); - current_word = L_add(current_word,acca); - - *word_ptr++ = current_word; - move16(); - - current_word_bits_free = sub(32,j); - test(); - current_word = code_bits << current_word_bits_free; - } - } - - *word_ptr++ = current_word; - move16(); - - return (number_of_region_bits); -} - - diff --git a/res/pjproject/third_party/g7221/encode/sam2coef.c b/res/pjproject/third_party/g7221/encode/sam2coef.c deleted file mode 100644 index 3dd5b76660..0000000000 --- a/res/pjproject/third_party/g7221/encode/sam2coef.c +++ /dev/null @@ -1,271 +0,0 @@ -/****************************************************************************** -** -** ITU-T G.722.1 (2005-05) - Fixed point implementation for main body and Annex C -** > Software Release 2.1 (2008-06) -** (Simple repackaging; no change from 2005-05 Release 2.0 code) -** -** © 2004 Polycom, Inc. -** -** All rights reserved. -** -******************************************************************************/ - -/****************************************************************************** -* Filename: samples_to_rmlt_coefs.c -* -* Purpose: Convert Samples to Reversed MLT (Modulated Lapped Transform) -* Coefficients -* -* The "Reversed MLT" is an overlapped block transform which uses -* even symmetry * on the left, odd symmetry on the right and a -* Type IV DCT as the block transform. * It is thus similar to a -* MLT which uses odd symmetry on the left, even symmetry * on the -* right and a Type IV DST as the block transform. In fact, it is -* equivalent * to reversing the order of the samples, performing -* an MLT and then negating all * the even-numbered coefficients. -* -******************************************************************************/ - -/*************************************************************************** - Include files -***************************************************************************/ -#include "defs.h" -#include "tables.h" -#include "count.h" - -/*************************************************************************** - Function: samples_to_rmlt_coefs - - Syntax: Word16 samples_to_rmlt_coefs(new_samples, - old_samples, - coefs, - dct_length) - Word16 *new_samples; - Word16 *old_samples; - Word16 *coefs; - Word16 dct_length; - - Description: Convert samples to MLT coefficients - - Design Notes: - - WMOPS: 7kHz | 24kbit | 32kbit - -------|--------------|---------------- - AVG | 1.40 | 1.40 - -------|--------------|---------------- - MAX | 1.40 | 1.40 - -------|--------------|---------------- - - 14kHz | 24kbit | 32kbit | 48kbit - -------|--------------|----------------|---------------- - AVG | 3.07 | 3.07 | 3.07 - -------|--------------|----------------|---------------- - MAX | 3.10 | 3.10 | 3.10 - -------|--------------|----------------|---------------- - -***************************************************************************/ - -Word16 samples_to_rmlt_coefs(const Word16 *new_samples,Word16 *old_samples,Word16 *coefs,Word16 dct_length) -{ - - Word16 index, vals_left,mag_shift,n; - Word16 windowed_data[MAX_DCT_LENGTH]; - Word16 *old_ptr; - const Word16 *new_ptr, *sam_low, *sam_high; - Word16 *win_low, *win_high; - Word16 *dst_ptr; - Word16 neg_win_low; - Word16 samp_high; - Word16 half_dct_size; - - Word32 acca; - Word32 accb; - Word16 temp; - Word16 temp1; - Word16 temp2; - Word16 temp5; - - half_dct_size = shr_nocheck(dct_length,1); - - /*++++++++++++++++++++++++++++++++++++++++++++*/ - /* Get the first half of the windowed samples */ - /*++++++++++++++++++++++++++++++++++++++++++++*/ - - dst_ptr = windowed_data; - move16(); - - /* address arithmetic */ - test(); - if (dct_length==DCT_LENGTH) - { - win_high = samples_to_rmlt_window + half_dct_size; - } - else - { - win_high = max_samples_to_rmlt_window + half_dct_size; - } - - win_low = win_high; - move16(); - - /* address arithmetic */ - sam_high = old_samples + half_dct_size; - - sam_low = sam_high; - move16(); - - for (vals_left = half_dct_size;vals_left > 0;vals_left--) - { - acca = 0L; - move32(); - - acca = L_mac(acca,*--win_low, *--sam_low); - acca = L_mac(acca,*win_high++, *sam_high++); - temp = itu_round(acca); - - *dst_ptr++ = temp; - move16(); - } - - /*+++++++++++++++++++++++++++++++++++++++++++++*/ - /* Get the second half of the windowed samples */ - /*+++++++++++++++++++++++++++++++++++++++++++++*/ - - sam_low = new_samples; - move16(); - - /* address arithmetic */ - sam_high = new_samples + dct_length; - - for (vals_left = half_dct_size; vals_left > 0; vals_left--) - { - acca = 0L; - move32(); - - acca = L_mac(acca,*--win_high, *sam_low++); - neg_win_low = negate(*win_low++); - samp_high = *--sam_high; - acca = L_mac(acca, neg_win_low, samp_high); - temp = itu_round(acca); - - *dst_ptr++=temp; - move16(); - } - - /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ - /* Save the new samples for next time, when they will be the old samples */ - /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ - - new_ptr = new_samples; - move16(); - - old_ptr = old_samples; - move16(); - - for (vals_left = dct_length;vals_left > 0;vals_left--) - { - *old_ptr++ = *new_ptr++; - move16(); - } - - /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ - /* Calculate how many bits to shift up the input to the DCT. */ - /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ - - temp1=0; - move16(); - - for(index=0;index 0) - { - move16(); - temp1 = temp2; - } - } - - mag_shift=0; - move16(); - - temp = sub(temp1,14000); - test(); - if (temp >= 0) - { - mag_shift = 0; - move16(); - } - else - { - temp = sub(temp1,438); - test(); - if(temp < 0) - temp = add(temp1,1); - else - { - temp = temp1; - move16(); - } - accb = L_mult(temp,9587); - acca = L_shr_nocheck(accb,20); - temp5 = extract_l(acca); - temp = norm_s(temp5); - test(); - if (temp == 0) - { - mag_shift = 9; - move16(); - } - else - mag_shift = sub(temp,6); - - } - - acca = 0L; - move32(); - for(index=0; index 0) - { - for(index=0;index> is a signed arithmetic shift (-1 >> 1 == -1) - -# MULHACK = -DUSE_FLOAT_MUL -######### Define this if your host multiplies floats faster than integers, -######### e.g. on a SPARCstation. - -# FAST = -DFAST -######### Define together with USE_FLOAT_MUL to enable the GSM library's -######### approximation option for incorrect, but good-enough results. - -# LTP_CUT = -DLTP_CUT -LTP_CUT = -######### Define to enable the GSM library's long-term correlation -######### approximation option---faster, but worse; works for -######### both integer and floating point multiplications. -######### This flag is still in the experimental stage. - -WAV49 = -DWAV49 -# WAV49 = -######### Define to enable the GSM library's option to pack GSM frames -######### in the style used by the WAV #49 format. If you want to write -######### a tool that produces .WAV files which contain GSM-encoded data, -######### define this, and read about the GSM_OPT_WAV49 option in the -######### manual page on gsm_option(3). - -# Choose a compiler. The code works both with ANSI and K&R-C. -# Use -DNeedFunctionPrototypes to compile with, -UNeedFunctionPrototypes to -# compile without, function prototypes in the header files. -# -# You can use the -DSTUPID_COMPILER to circumvent some compilers' -# static limits regarding the number of subexpressions in a statement. - -# CC = cc -# CCFLAGS = -c -DSTUPID_COMPILER - -# CC = /usr/lang/acc -# CCFLAGS = -c -O - -CC = gcc -ansi -pedantic -CCFLAGS = -c -O2 -DNeedFunctionPrototypes=1 - -LD = $(CC) - -# LD = gcc -# LDFLAGS = - - -# If your compiler needs additional flags/libraries, regardless of -# the source compiled, configure them here. - -# CCINC = -I/usr/gnu/lib/gcc-2.1/gcc-lib/sparc-sun-sunos4.1.2/2.1/include -######### Includes needed by $(CC) - -# LDINC = -L/usr/gnu/lib/gcc-2.1/gcc-lib/sparc-sun-sunos4.1.2/2.1 -######### Library paths needed by $(LD) - -# LDLIB = -lgcc -######### Additional libraries needed by $(LD) - - -# Where do you want to install libraries, binaries, a header file -# and the manual pages? -# -# Leave INSTALL_ROOT empty (or just don't execute "make install") to -# not install gsm and toast outside of this directory. - -INSTALL_ROOT = - -# Where do you want to install the gsm library, header file, and manpages? -# -# Leave GSM_INSTALL_ROOT empty to not install the GSM library outside of -# this directory. - -GSM_INSTALL_ROOT = $(INSTALL_ROOT) -GSM_INSTALL_LIB = $(GSM_INSTALL_ROOT)/lib -GSM_INSTALL_INC = $(GSM_INSTALL_ROOT)/inc -GSM_INSTALL_MAN = $(GSM_INSTALL_ROOT)/man/man3 - - -# Where do you want to install the toast binaries and their manpage? -# -# Leave TOAST_INSTALL_ROOT empty to not install the toast binaries outside -# of this directory. - -TOAST_INSTALL_ROOT = $(INSTALL_ROOT) -TOAST_INSTALL_BIN = $(TOAST_INSTALL_ROOT)/bin -TOAST_INSTALL_MAN = $(TOAST_INSTALL_ROOT)/man/man1 - -# Other tools - -SHELL = /bin/sh -LN = ln -BASENAME = basename -AR = ar -ARFLAGS = cr -RMFLAGS = -FIND = find -COMPRESS = compress -COMPRESSFLAGS = -# RANLIB = true -RANLIB = ranlib - -# -# You shouldn't have to configure below this line if you're porting. -# - - -# Local Directories - -ROOT = . -ADDTST = $(ROOT)/add-test -TST = $(ROOT)/tst -MAN = $(ROOT)/man -BIN = $(ROOT)/bin -SRC = $(ROOT)/src -LIB = $(ROOT)/lib -TLS = $(ROOT)/tls -INC = $(ROOT)/inc - -# Flags - -# DEBUG = -DNDEBUG -######### Remove -DNDEBUG to enable assertions. - -CFLAGS = $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) $(LTP_CUT) \ - $(WAV49) $(CCINC) -I$(INC) -######### It's $(CC) $(CFLAGS) - -LFLAGS = $(LDFLAGS) $(LDINC) -######### It's $(LD) $(LFLAGS) - - -# Targets - -LIBGSM = $(LIB)/libgsm.a - -TOAST = $(BIN)/toast -UNTOAST = $(BIN)/untoast -TCAT = $(BIN)/tcat - -# Headers - -GSM_HEADERS = $(INC)/gsm.h - -HEADERS = $(INC)/proto.h \ - $(INC)/unproto.h \ - $(INC)/config.h \ - $(INC)/private.h \ - $(INC)/gsm.h \ - $(INC)/toast.h \ - $(TLS)/taste.h - -# Sources - -GSM_SOURCES = $(SRC)/add.c \ - $(SRC)/code.c \ - $(SRC)/debug.c \ - $(SRC)/decode.c \ - $(SRC)/long_term.c \ - $(SRC)/lpc.c \ - $(SRC)/preprocess.c \ - $(SRC)/rpe.c \ - $(SRC)/gsm_destroy.c \ - $(SRC)/gsm_decode.c \ - $(SRC)/gsm_encode.c \ - $(SRC)/gsm_explode.c \ - $(SRC)/gsm_implode.c \ - $(SRC)/gsm_create.c \ - $(SRC)/gsm_print.c \ - $(SRC)/gsm_option.c \ - $(SRC)/short_term.c \ - $(SRC)/table.c - -TOAST_SOURCES = $(SRC)/toast.c \ - $(SRC)/toast_lin.c \ - $(SRC)/toast_ulaw.c \ - $(SRC)/toast_alaw.c \ - $(SRC)/toast_audio.c - -SOURCES = $(GSM_SOURCES) \ - $(TOAST_SOURCES) \ - $(ADDTST)/add_test.c \ - $(TLS)/sour.c \ - $(TLS)/ginger.c \ - $(TLS)/sour1.dta \ - $(TLS)/sour2.dta \ - $(TLS)/bitter.c \ - $(TLS)/bitter.dta \ - $(TLS)/taste.c \ - $(TLS)/sweet.c \ - $(TST)/cod2lin.c \ - $(TST)/cod2txt.c \ - $(TST)/gsm2cod.c \ - $(TST)/lin2cod.c \ - $(TST)/lin2txt.c - -# Object files - -GSM_OBJECTS = $(SRC)/add.o \ - $(SRC)/code.o \ - $(SRC)/debug.o \ - $(SRC)/decode.o \ - $(SRC)/long_term.o \ - $(SRC)/lpc.o \ - $(SRC)/preprocess.o \ - $(SRC)/rpe.o \ - $(SRC)/gsm_destroy.o \ - $(SRC)/gsm_decode.o \ - $(SRC)/gsm_encode.o \ - $(SRC)/gsm_explode.o \ - $(SRC)/gsm_implode.o \ - $(SRC)/gsm_create.o \ - $(SRC)/gsm_print.o \ - $(SRC)/gsm_option.o \ - $(SRC)/short_term.o \ - $(SRC)/table.o - -TOAST_OBJECTS = $(SRC)/toast.o \ - $(SRC)/toast_lin.o \ - $(SRC)/toast_ulaw.o \ - $(SRC)/toast_alaw.o \ - $(SRC)/toast_audio.o - -OBJECTS = $(GSM_OBJECTS) $(TOAST_OBJECTS) - -# Manuals - -GSM_MANUALS = $(MAN)/gsm.3 \ - $(MAN)/gsm_explode.3 \ - $(MAN)/gsm_option.3 \ - $(MAN)/gsm_print.3 - -TOAST_MANUALS = $(MAN)/toast.1 - -MANUALS = $(GSM_MANUALS) $(TOAST_MANUALS) $(MAN)/bitter.1 - -# Other stuff in the distribution - -STUFF = ChangeLog \ - INSTALL \ - MACHINES \ - MANIFEST \ - Makefile \ - README \ - $(ADDTST)/add_test.dta \ - $(TLS)/bitter.dta \ - $(TST)/run - - -# Install targets - -GSM_INSTALL_TARGETS = \ - $(GSM_INSTALL_LIB)/libgsm.a \ - $(GSM_INSTALL_INC)/gsm.h \ - $(GSM_INSTALL_MAN)/gsm.3 \ - $(GSM_INSTALL_MAN)/gsm_explode.3 \ - $(GSM_INSTALL_MAN)/gsm_option.3 \ - $(GSM_INSTALL_MAN)/gsm_print.3 - -TOAST_INSTALL_TARGETS = \ - $(TOAST_INSTALL_BIN)/toast \ - $(TOAST_INSTALL_BIN)/tcat \ - $(TOAST_INSTALL_BIN)/untoast \ - $(TOAST_INSTALL_MAN)/toast.1 - - -# Default rules - -.c.o: - $(CC) $(CFLAGS) $? - @-mv `$(BASENAME) $@` $@ > /dev/null 2>&1 - -# Target rules - -all: $(LIBGSM) $(TOAST) $(TCAT) $(UNTOAST) - @-echo $(ROOT): Done. - -tst: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result - @-echo tst: Done. - -addtst: $(ADDTST)/add $(ADDTST)/add_test.dta - $(ADDTST)/add < $(ADDTST)/add_test.dta > /dev/null - @-echo addtst: Done. - -misc: $(TLS)/sweet $(TLS)/bitter $(TLS)/sour $(TLS)/ginger \ - $(TST)/lin2txt $(TST)/cod2txt $(TST)/gsm2cod - @-echo misc: Done. - -install: toastinstall gsminstall - @-echo install: Done. - - -# The basic API: libgsm - -$(LIBGSM): $(LIB) $(GSM_OBJECTS) - -rm $(RMFLAGS) $(LIBGSM) - $(AR) $(ARFLAGS) $(LIBGSM) $(GSM_OBJECTS) - $(RANLIB) $(LIBGSM) - - -# Toast, Untoast and Tcat -- the compress-like frontends to gsm. - -$(TOAST): $(BIN) $(TOAST_OBJECTS) $(LIBGSM) - $(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) $(LIBGSM) $(LDLIB) - -$(UNTOAST): $(BIN) $(TOAST) - -rm $(RMFLAGS) $(UNTOAST) - $(LN) $(TOAST) $(UNTOAST) - -$(TCAT): $(BIN) $(TOAST) - -rm $(RMFLAGS) $(TCAT) - $(LN) $(TOAST) $(TCAT) - - -# The local bin and lib directories - -$(BIN): - if [ ! -d $(BIN) ] ; then mkdir $(BIN) ; fi - -$(LIB): - if [ ! -d $(LIB) ] ; then mkdir $(LIB) ; fi - - -# Installation - -gsminstall: - -if [ x"$(GSM_INSTALL_ROOT)" != x ] ; then \ - make $(GSM_INSTALL_TARGETS) ; \ - fi - -toastinstall: - -if [ x"$(TOAST_INSTALL_ROOT)" != x ]; then \ - make $(TOAST_INSTALL_TARGETS); \ - fi - -gsmuninstall: - -if [ x"$(GSM_INSTALL_ROOT)" != x ] ; then \ - rm $(RMFLAGS) $(GSM_INSTALL_TARGETS) ; \ - fi - -toastuninstall: - -if [ x"$(TOAST_INSTALL_ROOT)" != x ] ; then \ - rm $(RMFLAGS) $(TOAST_INSTALL_TARGETS); \ - fi - -$(TOAST_INSTALL_BIN)/toast: $(TOAST) - -rm $@ - cp $(TOAST) $@ - chmod 755 $@ - -$(TOAST_INSTALL_BIN)/untoast: $(TOAST_INSTALL_BIN)/toast - -rm $@ - ln $? $@ - -$(TOAST_INSTALL_BIN)/tcat: $(TOAST_INSTALL_BIN)/toast - -rm $@ - ln $? $@ - -$(TOAST_INSTALL_MAN)/toast.1: $(MAN)/toast.1 - -rm $@ - cp $? $@ - chmod 444 $@ - -$(GSM_INSTALL_MAN)/gsm.3: $(MAN)/gsm.3 - -rm $@ - cp $? $@ - chmod 444 $@ - -$(GSM_INSTALL_MAN)/gsm_option.3: $(MAN)/gsm_option.3 - -rm $@ - cp $? $@ - chmod 444 $@ - -$(GSM_INSTALL_MAN)/gsm_explode.3: $(MAN)/gsm_explode.3 - -rm $@ - cp $? $@ - chmod 444 $@ - -$(GSM_INSTALL_MAN)/gsm_print.3: $(MAN)/gsm_print.3 - -rm $@ - cp $? $@ - chmod 444 $@ - -$(GSM_INSTALL_INC)/gsm.h: $(INC)/gsm.h - -rm $@ - cp $? $@ - chmod 444 $@ - -$(GSM_INSTALL_LIB)/libgsm.a: $(LIBGSM) - -rm $@ - cp $? $@ - chmod 444 $@ - - -# Distribution - -dist: gsm-1.0.tar.Z - @echo dist: Done. - -gsm-1.0.tar.Z: $(STUFF) $(SOURCES) $(HEADERS) $(MANUALS) - ( cd $(ROOT)/..; \ - tar cvf - `cat $(ROOT)/gsm-1.0/MANIFEST \ - | sed '/^#/d'` \ - ) | $(COMPRESS) $(COMPRESSFLAGS) > $(ROOT)/gsm-1.0.tar.Z - -# Clean - -uninstall: toastuninstall gsmuninstall - @-echo uninstall: Done. - -semi-clean: - -rm $(RMFLAGS) */*.o \ - $(TST)/lin2cod $(TST)/lin2txt \ - $(TST)/cod2lin $(TST)/cod2txt \ - $(TST)/gsm2cod \ - $(TST)/*.*.* - -$(FIND) . \( -name core -o -name foo \) \ - -print | xargs rm $(RMFLAGS) - -clean: semi-clean - -rm $(RMFLAGS) $(LIBGSM) $(ADDTST)/add \ - $(TOAST) $(TCAT) $(UNTOAST) \ - $(ROOT)/gsm-1.0.tar.Z - - -# Two tools that helped me generate gsm_encode.c and gsm_decode.c, -# but aren't generally needed to port this. - -$(TLS)/sweet: $(TLS)/sweet.o $(TLS)/taste.o - $(LD) $(LFLAGS) -o $(TLS)/sweet \ - $(TLS)/sweet.o $(TLS)/taste.o $(LDLIB) - -$(TLS)/bitter: $(TLS)/bitter.o $(TLS)/taste.o - $(LD) $(LFLAGS) -o $(TLS)/bitter \ - $(TLS)/bitter.o $(TLS)/taste.o $(LDLIB) - -# A version of the same family that Jeff Chilton used to implement -# the WAV #49 GSM format. - -$(TLS)/ginger: $(TLS)/ginger.o $(TLS)/taste.o - $(LD) $(LFLAGS) -o $(TLS)/ginger \ - $(TLS)/ginger.o $(TLS)/taste.o $(LDLIB) - -$(TLS)/sour: $(TLS)/sour.o $(TLS)/taste.o - $(LD) $(LFLAGS) -o $(TLS)/sour \ - $(TLS)/sour.o $(TLS)/taste.o $(LDLIB) - -# Run $(ADDTST)/add < $(ADDTST)/add_test.dta to make sure the -# basic arithmetic functions work as intended. - -$(ADDTST)/add: $(ADDTST)/add_test.o - $(LD) $(LFLAGS) -o $(ADDTST)/add $(ADDTST)/add_test.o $(LDLIB) - - -# Various conversion programs between linear, text, .gsm and the code -# format used by the tests we ran (.cod). We paid for the test data, -# so I guess we can't just provide them with this package. Still, -# if you happen to have them lying around, here's the code. -# -# You can use gsm2cod | cod2txt independently to look at what's -# coded inside the compressed frames, although this shouldn't be -# hard to roll on your own using the gsm_print() function from -# the API. - - -$(TST)/test-result: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/run - ( cd $(TST); ./run ) - -$(TST)/lin2txt: $(TST)/lin2txt.o $(LIBGSM) - $(LD) $(LFLAGS) -o $(TST)/lin2txt \ - $(TST)/lin2txt.o $(LIBGSM) $(LDLIB) - -$(TST)/lin2cod: $(TST)/lin2cod.o $(LIBGSM) - $(LD) $(LFLAGS) -o $(TST)/lin2cod \ - $(TST)/lin2cod.o $(LIBGSM) $(LDLIB) - -$(TST)/gsm2cod: $(TST)/gsm2cod.o $(LIBGSM) - $(LD) $(LFLAGS) -o $(TST)/gsm2cod \ - $(TST)/gsm2cod.o $(LIBGSM) $(LDLIB) - -$(TST)/cod2txt: $(TST)/cod2txt.o $(LIBGSM) - $(LD) $(LFLAGS) -o $(TST)/cod2txt \ - $(TST)/cod2txt.o $(LIBGSM) $(LDLIB) - -$(TST)/cod2lin: $(TST)/cod2lin.o $(LIBGSM) - $(LD) $(LFLAGS) -o $(TST)/cod2lin \ - $(TST)/cod2lin.o $(LIBGSM) $(LDLIB) diff --git a/res/pjproject/third_party/gsm/README b/res/pjproject/third_party/gsm/README deleted file mode 100644 index cb6af85cf0..0000000000 --- a/res/pjproject/third_party/gsm/README +++ /dev/null @@ -1,37 +0,0 @@ - -GSM 06.10 13 kbit/s RPE/LTP speech compression available --------------------------------------------------------- - -The Communications and Operating Systems Research Group (KBS) at the -Technische Universitaet Berlin is currently working on a set of -UNIX-based tools for computer-mediated telecooperation that will be -made freely available. - -As part of this effort we are publishing an implementation of the -European GSM 06.10 provisional standard for full-rate speech -transcoding, prI-ETS 300 036, which uses RPE/LTP (residual pulse -excitation/long term prediction) coding at 13 kbit/s. - -GSM 06.10 compresses frames of 160 13-bit samples (8 kHz sampling -rate, i.e. a frame rate of 50 Hz) into 260 bits; for compatibility -with typical UNIX applications, our implementation turns frames of 160 -16-bit linear samples into 33-byte frames (1650 Bytes/s). -The quality of the algorithm is good enough for reliable speaker -recognition; even music often survives transcoding in recognizable -form (given the bandwidth limitations of 8 kHz sampling rate). - -The interfaces offered are a front end modelled after compress(1), and -a library API. Compression and decompression run faster than realtime -on most SPARCstations. The implementation has been verified against the -ETSI standard test patterns. - -Jutta Degener (jutta@cs.tu-berlin.de) -Carsten Bormann (cabo@cs.tu-berlin.de) - -Communications and Operating Systems Research Group, TU Berlin -Fax: +49.30.31425156, Phone: +49.30.31424315 - --- -Copyright 1992 by Jutta Degener and Carsten Bormann, Technische -Universitaet Berlin. See the accompanying file "COPYRIGHT" for -details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. diff --git a/res/pjproject/third_party/gsm/add-test/add_test.c b/res/pjproject/third_party/gsm/add-test/add_test.c deleted file mode 100644 index 8e832dfb0f..0000000000 --- a/res/pjproject/third_party/gsm/add-test/add_test.c +++ /dev/null @@ -1,353 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/add_test.c,v 1.2 1994/05/10 20:18:17 jutta Exp $ */ - -#include -#include -#include - -#include "gsm.h" - -#include "../src/add.c" - -int interactive = 1; - -char * opname; -longword L_op1, L_op2, L_expect; -word op1, op2, expect; -int do_expect; - -word M_gsm_add P((word op1, word op2)); -word M_gsm_sub P((word op1, word op2)); -word M_gsm_mult P((word op1, word op2)); -word M_gsm_mult_r P((word op1, word op2)); -word M_gsm_abs P((word op1)); -longword M_gsm_L_mult P((word op1, word op2)); -longword M_gsm_L_add P((longword op1, longword op2)); - -help() -{ -puts( " add a b sub a b mult a b div a b" ); -puts( "L_add A B L_sub A B L_mult A B mult_r a b" ); -puts( "" ); -puts( "abs a norm a >> a b << a b" ); -puts( " L_>> A B L_<< A B" ); - -} - -char * strtek P2((str, sep), char * str, char * sep) { - - static char * S = (char *)0; - char * c, * base; - - if (str) S = str; - - if (!S || !*S) return (char *)0; - - /* Skip delimiters. - */ - while (*S) { - for (c = sep; *c && *c != *S; c++) ; - if (*c) *S++ = 0; - else break; - } - - base = S; - - /* Skip non-delimiters. - */ - for (base = S; *S; S++) { - - for (c = sep; *c; c++) - if (*c == *S) { - *S++ = 0; - return base; - } - } - - return base == S ? (char *)0 : base; -} - -long value P1((s), char * s) -{ - switch (*s) { - case '-': switch (s[1]) { - case '\0': return MIN_WORD; - case '-': return MIN_LONGWORD; - default: break; - } - break; - - case '+': switch (s[1]) { - case '\0': return MAX_WORD; - case '+': return MAX_LONGWORD; - default: break; - } - default: break; - } - - return strtol(s, (char **)0, 0); -} - -char * parse P1((buf), char * buf) -{ - char * s, * a; - long l; - - if (a = strchr(buf, '=')) *a++ = 0; - - opname = s = strtek(buf, " \t("); - if (!s) return (char *)0; - - op1 = op2 = L_op1 = L_op2 = 0; - - if (s = strtek( (char *)0, "( \t,")) { - op1 = L_op1 = value(s); - if (s = strtek( (char *)0, ", \t)")) op2 = L_op2 = value(s); - } - - if (a) { - do_expect = 1; - while (*a == ' ' || *a == '\t') a++; - expect = L_expect = value(a); - } - - return opname; -} - -void fprint_word P2((f, w), FILE * f, word w) -{ - if (!w) putc('0', f); - else fprintf(f, "0x%4.4x (%d%s)", - (unsigned int)w, - (int)w, - w == MIN_WORD? "/-" : (w == MAX_WORD ? "/+" : "")); -} - -void print_word P1((w), word w) -{ - fprint_word( stdout, w ); -} - -void fprint_longword P2((f, w), FILE * f, longword w) -{ - if (!w) putc('0', f); - else fprintf(f, "0x%8.8x (%ld%s)", - w, w, w == MIN_WORD ? "/-" - : (w == MAX_WORD ? "/+" - : (w == MIN_LONGWORD ? "/--" - : (w == MAX_LONGWORD ? "/++" : "")))); -} - -void print_longword P1((w),longword w) -{ - fprint_longword(stdout, w); -} - -void do_longword P1((w), longword w) -{ - if (interactive) print_longword(w); - if (do_expect) { - if (w != L_expect) { - if (!interactive) fprint_longword(stderr, w); - fprintf(stderr, " != %s (%ld, %ld) -- expected ", - opname, L_op1, L_op2 ); - fprint_longword(stderr, L_expect); - putc( '\n', stderr ); - } - } else if (interactive) putchar('\n'); -} - -void do_word P1((w), word w ) -{ - if (interactive) print_word(w); - if (do_expect) { - if (w != expect) { - if (!interactive) fprint_word(stderr, w); - fprintf(stderr, " != %s (%ld, %ld) -- expected ", - opname, L_op1, L_op2 ); - fprint_word(stderr, expect); - putc('\n', stderr); - } - } else if (interactive) putchar('\n'); -} - -int main(ac, av) char ** av; -{ - char buf[299]; - char * c; - FILE * in; - - if (ac > 2) { - fprintf(stderr, "Usage: %s [filename]\n", av[0]); -fail: -#ifdef EXIT_FAILURE - exit(EXIT_FAILURE); -#else - exit(1); -#endif - } - if (ac < 2) in = stdin; - else if (!(in = fopen(av[1], "r"))) { - perror(av[1]); - fprintf(stderr, "%s: cannot open file \"%s\" for reading\n", - av[0], av[1]); - goto fail; - } - - interactive = isatty(fileno(in)); - - for (;;) { - if (interactive) fprintf(stderr, "? "); - - if (!fgets(buf, sizeof(buf), in)) exit(0); - if (c = strchr(buf, '\n')) *c = 0; - - if (*buf == ';' || *buf == '#') continue; - if (*buf == '\'') { - puts(buf + 1); - continue; - } - if (*buf == '\"') { - fprintf(stderr, "%s\n", buf + 1); - continue; - } - - c = parse(buf); - - if (!c) continue; - if (!strcmp(c, "add")) { - do_word( gsm_add( op1, op2 )); - continue; - } - if (!strcmp(c, "M_add")) { - do_word( M_gsm_add( op1, op2 )); - continue; - } - if (!strcmp(c, "sub")) { - do_word( gsm_sub( op1, op2 )); - continue; - } - if (!strcmp(c, "M_sub")) { - do_word( M_gsm_sub( op1, op2 )); - continue; - } - if (!strcmp(c, "mult")) { - do_word( gsm_mult( op1, op2 )); - continue; - } - if (!strcmp(c, "M_mult")) { - do_word( M_gsm_mult( op1, op2 )); - continue; - } - if (!strcmp(c, "mult_r")) { - do_word( gsm_mult_r(op1, op2)); - continue; - } - if (!strcmp(c, "M_mult_r")) { - do_word( M_gsm_mult_r(op1, op2)); - continue; - } - if (!strcmp(c, "abs" )) { - do_word( gsm_abs(op1) ); - continue; - } - if (!strcmp(c, "M_abs" )) { - do_word( M_gsm_abs(op1) ); - continue; - } - if (!strcmp(c, "div" )) { - do_word( gsm_div( op1, op2 )); - continue; - } - if (!strcmp(c, "norm" )) { - do_word( gsm_norm(L_op1)); - continue; - } - if (!strcmp(c, "<<" )) { - do_word( gsm_asl( op1, op2)); - continue; - } - if (!strcmp(c, ">>" )) { - do_word( gsm_asr( op1, op2 )); - continue; - } - if (!strcmp(c, "L_mult")) { - do_longword( gsm_L_mult( op1, op2 )); - continue; - } - if (!strcmp(c, "M_L_mult")) { - do_longword( M_gsm_L_mult( op1, op2 )); - continue; - } - if (!strcmp(c, "L_add" )) { - do_longword( gsm_L_add( L_op1, L_op2 )); - continue; - } - if (!strcmp(c, "M_L_add" )) { - do_longword( M_gsm_L_add( L_op1, L_op2 )); - continue; - } - if (!strcmp(c, "L_sub" )) { - do_longword( gsm_L_sub( L_op1, L_op2 )); - continue; - } - if (!strcmp(c, "L_<<" )) { - do_longword( gsm_L_asl( L_op1, L_op2 )); - continue; - } - if (!strcmp(c, "L_>>")) { - do_longword( gsm_L_asr( L_op1, L_op2 )); - continue; - } - help(); - } -} - -#include "private.h" - -/* - * Function stubs for macro implementations of commonly used - * math functions - */ -word M_gsm_add P2((op1, op2),word op1, word op2) -{ - longword ltmp; - return GSM_ADD(op1, op2); -} - -word M_gsm_sub P2((op1, op2), word op1, word op2) -{ - longword ltmp; - return GSM_SUB(op1, op2); -} - -word M_gsm_mult P2((op1, op2), word op1, word op2) -{ - return GSM_MULT(op1, op2); -} - -word M_gsm_mult_r P2((op1, op2), word op1, word op2) -{ - return GSM_MULT_R(op1, op2); -} - -word M_gsm_abs P1((op1), word op1) -{ - return GSM_ABS(op1); -} - -longword M_gsm_L_mult P2((op1, op2), word op1, word op2) -{ - return GSM_L_MULT(op1, op2); -} - -longword M_gsm_L_add P2((op1, op2), longword op1, longword op2) -{ - ulongword utmp; - return GSM_L_ADD(op1, op2); -} diff --git a/res/pjproject/third_party/gsm/add-test/add_test.dta b/res/pjproject/third_party/gsm/add-test/add_test.dta deleted file mode 100644 index fe7402d39f..0000000000 --- a/res/pjproject/third_party/gsm/add-test/add_test.dta +++ /dev/null @@ -1,683 +0,0 @@ -; -; Copyright 1992 by Jutta Degener and Carsten Bormann, Technische -; Universitaet Berlin. See the accompanying file "COPYRIGHT" for -; details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. -; -; -; Lines starting with ' (in the first col) are echoed. -; Lines starting with " (in the first col) are echoed to stderr. -; Lines starting with ; or empty lines are ignored. -; -; The part after (including) a trailing '=' is what you expect; -; there will be output if the result is different. -; -; - and + by itself mean MIN_WORD and MAX_WORD, respectively; -; -- and ++ mean MIN_LONGWORD and MAX_LONGWORD. -; - -'test the basic arithmetic operations used for the rpe-ltd filtering. -' -'add ================ -' basic - - add 0 0 = 0 - add 7 4 = 11 - add 4 6 = 10 - add 1 1 = 2 - -' negative operands - - add -7 4 = -3 - add 4 -6 = -2 - add -1 -3 = -4 - add 7 -4 = 3 - add -4 6 = 2 - -' positive overflow -; (max-word = 32767) - add + 1 = + - add + + = + - add -1 + = 32766 - add 32766 2 = + - add 1 32766 = + - -' underflow -; (min-word = 32768) - - add - -1 = - - add - - = - - add 1 - = -32767 - add -32767 -2 = - - add -1 -32766 = -32767 - add -32767 -1 = - - add - + = -1 - add + - = -1 - add 0 - = - - add 0 + = + -' - -'L_add ================ -' basic - - L_add 0 0 = 0 - L_add 7 4 = 11 - L_add 4 6 = 10 - L_add 1 1 = 2 - -' negative operands - - L_add -7 4 = -3 - L_add 4 -6 = -2 - L_add -1 -3 = -4 - L_add 7 -4 = 3 - L_add -4 6 = 2 - L_add 0 -1 = -1 - -' positive overflow -; (max-longword = 2147483647) - L_add ++ 1 = ++ - L_add ++ ++ = ++ - L_add -1 ++ = 2147483646 - L_add 2147483646 2 = ++ - L_add 1 2147483645 = 2147483646 - -' underflow -; (min-longword = -2147483648) - - L_add -- -1 = -- - L_add -- -- = -- - L_add 1 -- = -2147483647 - L_add -2147483647 -2 = -- - L_add -1 -2147483646 = -2147483647 - L_add -2147483647 -1 = -- - L_add -- ++ = -1 - L_add ++ -- = -1 - L_add 0 -- = -- - L_add 0 ++ = ++ -' - -'sub ================ -' basic - - sub 0 0 = 0 - sub 7 4 = 3 - sub 4 6 = -2 - sub 1 0 = 1 - -' negative operands - - sub -7 4 = -11 - sub 4 -6 = 10 - sub -1 -3 = 2 - sub 7 -4 = 11 - sub -4 6 = -10 - -' positive overflow -; (max-word = 32767) - sub 1 - = + - sub + + = 0 - sub + 0 = + - sub + -1 = + - sub + 1 = 32766 - sub 1 + = -32766 - sub 0 + = -32767 - -' underflow -; (min-word = 32768) - - sub - -1 = -32767 - sub - 1 = - - sub - - = 0 - sub - + = - - sub + - = + - sub 1 - = + - sub -1 - = + - sub -32767 2 = - - sub 0 - = + -' - -'L_sub ================ -' basic - - L_sub 0 0 = 0 - L_sub 7 4 = 3 - L_sub 4 6 = -2 - L_sub 1 0 = 1 - -' negative operands - - L_sub -7 4 = -11 - L_sub 4 -6 = 10 - L_sub -1 -3 = 2 - L_sub 7 -4 = 11 - L_sub -4 6 = -10 - -' positive overflow - L_sub 1 -- = ++ - L_sub ++ ++ = 0 - L_sub ++ 0 = ++ - L_sub ++ -1 = ++ - L_sub ++ 1 = 2147483646 - L_sub 1 ++ = -2147483646 - L_sub 0 ++ = -2147483647 - -' underflow - - L_sub -- -1 = -2147483647 - L_sub -- 1 = -- - L_sub -- -- = 0 - L_sub -- ++ = -- - L_sub + -- = ++ - L_sub 1 -- = ++ - L_sub -1 -- = ++ - L_sub -2147483647 2 = -- - L_sub 0 -- = ++ - -' -'abs ================ -' basic - - abs 0 = 0 - abs 2 = 2 - abs -459 = 459 - -' overflow - - abs + = + - abs - = + - abs -32767 = + - abs 32766 = 32766 - abs -32766 = 32766 - -' -'mult ================ -; actually, a * b >> 15 - -' basic - mult 0 0 = 0 - mult 0x100 0x100 = 2 - mult 4711 0x4000 = 2355 - -' negative operands - mult -1 0 = 0 - - mult -0x100 0x100 = -2 - mult 0x100 -0x100 = -2 - mult -0x100 -0x100 = 2 - - mult -4711 0x4000 = -2356 - mult 4711 -0x4000 = -2356 - mult -4711 -0x4000 = 2355 - -' overflow - mult + + = 32766 - mult + 0x4000 = 0x3fff - mult 0x4000 + = 0x3fff - mult + 1 = 0 - mult + 2 = 1 - mult + 3 = 2 - -' underflow - mult - - = + - mult - + = -32767 - mult + - = -32767 - mult - 1 = -1 - mult - 2 = -2 - mult - 3 = -3 - -' -'mult_r ================ -; actually, (a * b + 16384) >> 15 - -' basic - mult_r 0 0 = 0 - mult_r 0x100 0x100 = 2 - mult_r 4711 0x4000 = 2356 - -' negative operands - mult_r -1 0 = 0 - - mult_r -0x100 0x100 = -2 - mult_r 0x100 -0x100 = -2 - mult_r -0x100 -0x100 = 2 - - mult_r -4711 0x4000 = -2355 - mult_r 4711 -0x4000 = -2355 - mult_r -4711 -0x4000 = 2356 - -' overflow - mult_r + + = 32766 - mult_r + 32766 = 32765 - mult_r 32766 + = 32765 - mult_r + 0x4000 = 0x4000 - mult_r 0x4000 + = 0x4000 - mult_r + 0x4001 = 0x4000 - mult_r 0x4001 + = 0x4000 - mult_r + 2 = 2 - mult_r + 1 = 1 - mult_r 1 + = 1 - mult_r + 0 = 0 - mult_r 0 + = 0 - -' underflow - mult_r - - = + - mult_r - + = -32767 - mult_r + - = -32767 - mult_r - 1 = -1 - mult_r - 2 = -2 - mult_r - 3 = -3 - -' -'L_mult ================ -; actually, (a * b) << 1 -; assert (a != MIN_WORD && b != MIN_WORD) - -' basic - L_mult 0 0 = 0 - L_mult 2 3 = 12 - L_mult 4711 5 = 47110 - -' negative operands - - L_mult -2 3 = -12 - L_mult 2 -3 = -12 - L_mult -2 -3 = 12 - L_mult -4711 5 = -47110 - L_mult 4711 -5 = -47110 - L_mult -4711 -5 = 47110 - -' overflow - L_mult + + = 2147352578 - L_mult + -32767 = -2147352578 - L_mult -32767 + = -2147352578 - L_mult + 2 = 131068 - L_mult + 1 = 65534 - L_mult 1 + = 65534 - L_mult + 0 = 0 - L_mult 0 + = 0 - -' -'div ================ -; actually, (32767 * a) / b -; assert (a > 0 && b >= a) - -' basic - div 1 1 = + - div 4711 4711 = + - div 5 10 = 0x4000 - div 5 20 = 0x2000 - div 5 40 = 0x1000 - -' overflow - div + + = + - div 0x4000 + = 0x4000 - div 1 + = 1 - div 1 2 = 0x4000 -' -'norm ================ - -' positive - norm 1 = 30 - norm 2 = 29 - norm 3 = 29 - norm 4 = 28 - norm 5 = 28 -; etc, etc... - norm 0x08000000 = 3 - norm 0x10000000 = 2 - norm 0x20000000 = 1 - norm 0x20000001 = 1 - norm 0x3fffffff = 1 - norm 0x40000000 = 0 - norm 0x40000001 = 0 - norm 0x4ffffffe = 0 - norm ++ = 0 - -' negative - norm -1 = 31 - norm -2 = 30 - norm -3 = 29 - norm -4 = 29 - norm -5 = 28 -; etc, etc... - norm 0x4fffffff = 0 - norm -- = 0 -' -'>> ================ - -' basic - >> 1 1 = 0 - >> 4 2 = 1 - >> 0x1100 5 = 0x88 - -' negative operand - - >> 1 -1 = 2 - >> 1 -2 = 4 - >> 0x88 -5 = 0x1100 - -' overflow - >> -1 4711 = -1 - >> 1 4711 = 0 - >> -4711 4711 = -1 - >> 4711 4711 = 0 - >> + 1 = 16383 - >> - 1 = -16384 -' -'L_>> ================ - -' basic - L_>> 1 1 = 0 - L_>> 4 2 = 1 - L_>> 0x1100 5 = 0x88 - -' negative operand - - L_>> 1 -1 = 2 - L_>> 1 -2 = 4 - L_>> 0x88 -5 = 0x1100 - -' overflow - L_>> -1 4711 = -1 - L_>> 1 4711 = 0 - L_>> -4711 4711 = -1 - L_>> 4711 4711 = 0 - L_>> ++ 1 = 1073741823 - L_>> -- 1 = -1073741824 - -' -'<< ================ - -' basic - << 1 1 = 2 - << 4 2 = 16 - << 0x0088 5 = 0x1100 - -' negative operand - - << 1 -1 = 0 - << 4 -2 = 1 - << 0x1100 -5 = 0x0088 - -' overflow - << -1 4711 = 0 - << 1 4711 = 0 - << -4711 4711 = 0 - << 4711 4711 = 0 - << 4711 -4711 = 0 - << -4711 -4711 = -1 - << + 1 = 0xfffe - << -1 1 = 0xfffe - << - 1 = 0 -' -'L_<< ================ - -' basic - L_<< 1 1 = 2 - L_<< 4 2 = 16 - L_<< 0x0088 5 = 0x1100 - -' negative operand - - L_<< 1 -1 = 0 - L_<< 4 -2 = 1 - L_<< 0x1100 -5 = 0x0088 - -' overflow - L_<< -1 4711 = 0 - L_<< 1 4711 = 0 - L_<< -4711 4711 = 0 - L_<< 4711 4711 = 0 - L_<< 4711 -4711 = 0 - L_<< -4711 -4711 = -1 - L_<< ++ 1 = -2 - L_<< -1 1 = -2 - L_<< -- 1 = 0 - -'macros -' -'add ================ -' basic - - M_add 0 0 = 0 - M_add 7 4 = 11 - M_add 4 6 = 10 - M_add 1 1 = 2 - -' negative operands - - M_add -7 4 = -3 - M_add 4 -6 = -2 - M_add -1 -3 = -4 - M_add 7 -4 = 3 - M_add -4 6 = 2 - -' positive overflow -; (max-word = 32767) - M_add + 1 = + - M_add + + = + - M_add -1 + = 32766 - M_add 32766 2 = + - M_add 1 32766 = + - -' underflow -; (min-word = 32768) - - M_add - -1 = - - M_add - - = - - M_add 1 - = -32767 - M_add -32767 -2 = - - M_add -1 -32766 = -32767 - M_add -32767 -1 = - - M_add - + = -1 - M_add + - = -1 - M_add 0 - = - - M_add 0 + = + -' - -'L_add ================ -' basic - - M_L_add 0 0 = 0 - M_L_add 7 4 = 11 - M_L_add 4 6 = 10 - M_L_add 1 1 = 2 - -' negative operands - - M_L_add -7 4 = -3 - M_L_add 4 -6 = -2 - M_L_add -1 -3 = -4 - M_L_add 7 -4 = 3 - M_L_add -4 6 = 2 - M_L_add 0 -1 = -1 - -' positive overflow -; (max-longword = 2147483647) - M_L_add ++ 1 = ++ - M_L_add ++ ++ = ++ - M_L_add -1 ++ = 2147483646 - M_L_add 2147483646 2 = ++ - M_L_add 1 2147483645 = 2147483646 - -' underflow -; (min-longword = -2147483648) - - M_L_add -- -1 = -- - M_L_add -- -- = -- - M_L_add 1 -- = -2147483647 - M_L_add -2147483647 -2 = -- - M_L_add -1 -2147483646 = -2147483647 - M_L_add -2147483647 -1 = -- - M_L_add -- ++ = -1 - M_L_add ++ -- = -1 - M_L_add 0 -- = -- - M_L_add 0 ++ = ++ -' - -'sub ================ -' basic - - M_sub 0 0 = 0 - M_sub 7 4 = 3 - M_sub 4 6 = -2 - M_sub 1 0 = 1 - -' negative operands - - M_sub -7 4 = -11 - M_sub 4 -6 = 10 - M_sub -1 -3 = 2 - M_sub 7 -4 = 11 - M_sub -4 6 = -10 - -' positive overflow -; (max-word = 32767) - M_sub 1 - = + - M_sub + + = 0 - M_sub + 0 = + - M_sub + -1 = + - M_sub + 1 = 32766 - M_sub 1 + = -32766 - M_sub 0 + = -32767 - -' underflow -; (min-word = 32768) - - M_sub - -1 = -32767 - M_sub - 1 = - - M_sub - - = 0 - M_sub - + = - - M_sub + - = + - M_sub 1 - = + - M_sub -1 - = + - M_sub -32767 2 = - - M_sub 0 - = + -' -' -'abs ================ -' basic - - M_abs 0 = 0 - M_abs 2 = 2 - M_abs -459 = 459 - -' overflow - - M_abs + = + - M_abs - = + - M_abs -32767 = + - M_abs 32766 = 32766 - M_abs -32766 = 32766 - -' -'mult ================ -; actually, a * b >> 15 - -' basic - M_mult 0 0 = 0 - M_mult 0x100 0x100 = 2 - M_mult 4711 0x4000 = 2355 - -' negative operands - M_mult -1 0 = 0 - - M_mult -0x100 0x100 = -2 - M_mult 0x100 -0x100 = -2 - M_mult -0x100 -0x100 = 2 - - M_mult -4711 0x4000 = -2356 - M_mult 4711 -0x4000 = -2356 - M_mult -4711 -0x4000 = 2355 - -' overflow - M_mult + + = 32766 - M_mult + 0x4000 = 0x3fff - M_mult 0x4000 + = 0x3fff - M_mult + 1 = 0 - M_mult + 2 = 1 - M_mult + 3 = 2 - -' underflow -; M_mult - - = + assert !(a == b && b == MIN_WORD) - M_mult - -32767 = + - M_mult -32767 - = + - M_mult - + = -32767 - M_mult + - = -32767 - M_mult - 1 = -1 - M_mult - 2 = -2 - M_mult - 3 = -3 - -' -'mult_r ================ -; actually, (a * b + 16384) >> 15 - -' basic - M_mult_r 0 0 = 0 - M_mult_r 0x100 0x100 = 2 - M_mult_r 4711 0x4000 = 2356 - -' negative operands - M_mult_r -1 0 = 0 - - M_mult_r -0x100 0x100 = -2 - M_mult_r 0x100 -0x100 = -2 - M_mult_r -0x100 -0x100 = 2 - - M_mult_r -4711 0x4000 = -2355 - M_mult_r 4711 -0x4000 = -2355 - M_mult_r -4711 -0x4000 = 2356 - -' overflow - M_mult_r + + = 32766 - M_mult_r + 32766 = 32765 - M_mult_r 32766 + = 32765 - M_mult_r + 0x4000 = 0x4000 - M_mult_r 0x4000 + = 0x4000 - M_mult_r + 0x4001 = 0x4000 - M_mult_r 0x4001 + = 0x4000 - M_mult_r + 2 = 2 - M_mult_r + 1 = 1 - M_mult_r 1 + = 1 - M_mult_r + 0 = 0 - M_mult_r 0 + = 0 - -' underflow -; M_mult_r - - = + assert !(a == b && b == MIN_WORD) - M_mult_r - -32767 = + - M_mult_r -32767 - = + - M_mult_r - + = -32767 - M_mult_r + - = -32767 - M_mult_r - 1 = -1 - M_mult_r - 2 = -2 - M_mult_r - 3 = -3 - -' -'L_mult ================ -; actually, (a * b) << 1 -; assert (a != MIN_WORD && b != MIN_WORD) - -' basic - M_L_mult 0 0 = 0 - M_L_mult 2 3 = 12 - M_L_mult 4711 5 = 47110 - -' negative operands - - M_L_mult -2 3 = -12 - M_L_mult 2 -3 = -12 - M_L_mult -2 -3 = 12 - M_L_mult -4711 5 = -47110 - M_L_mult 4711 -5 = -47110 - M_L_mult -4711 -5 = 47110 - -' overflow - M_L_mult + + = 2147352578 - M_L_mult + -32767 = -2147352578 - M_L_mult -32767 + = -2147352578 - M_L_mult + 2 = 131068 - M_L_mult + 1 = 65534 - M_L_mult 1 + = 65534 - M_L_mult + 0 = 0 - M_L_mult 0 + = 0 - diff --git a/res/pjproject/third_party/gsm/inc/config.h b/res/pjproject/third_party/gsm/inc/config.h deleted file mode 100644 index ab3601234a..0000000000 --- a/res/pjproject/third_party/gsm/inc/config.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/*$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/config.h,v 1.5 1996/07/02 11:26:20 jutta Exp $*/ - -#ifndef CONFIG_H -#define CONFIG_H - -/*efine SIGHANDLER_T int * signal handlers are void */ -/*efine HAS_SYSV_SIGNAL 1 * sigs not blocked/reset? */ - -#define HAS_STDLIB_H 1 /* /usr/include/stdlib.h */ -#define HAS_LIMITS_H 1 /* /usr/include/limits.h */ -#define HAS_FCNTL_H 1 /* /usr/include/fcntl.h */ -#define HAS_ERRNO_DECL 1 /* errno.h declares errno */ - -#define HAS_FSTAT 1 /* fstat syscall */ -#define HAS_FCHMOD 1 /* fchmod syscall */ -#define HAS_CHMOD 1 /* chmod syscall */ -#define HAS_FCHOWN 1 /* fchown syscall */ -#define HAS_CHOWN 1 /* chown syscall */ -/*efine HAS__FSETMODE 1 * _fsetmode -- set file mode */ - -#define HAS_STRING_H 1 /* /usr/include/string.h */ -/*efine HAS_STRINGS_H 1 * /usr/include/strings.h */ - -#define HAS_UNISTD_H 1 /* /usr/include/unistd.h */ -#define HAS_UTIME 1 /* POSIX utime(path, times) */ -/*efine HAS_UTIMES 1 * use utimes() syscall instead */ -#define HAS_UTIME_H 1 /* UTIME header file */ -#define HAS_UTIMBUF 1 /* struct utimbuf */ -/*efine HAS_UTIMEUSEC 1 * microseconds in utimbuf? */ - -#endif /* CONFIG_H */ diff --git a/res/pjproject/third_party/gsm/inc/gsm.h b/res/pjproject/third_party/gsm/inc/gsm.h deleted file mode 100644 index 4714ab620f..0000000000 --- a/res/pjproject/third_party/gsm/inc/gsm.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/*$Header: /home/kbs/jutta/src/gsm/gsm-1.0/inc/RCS/gsm.h,v 1.11 1996/07/05 18:02:56 jutta Exp $*/ - -#ifndef GSM_H -#define GSM_H - -#ifdef __cplusplus -# define NeedFunctionPrototypes 1 -#endif - -#if __STDC__ -# define NeedFunctionPrototypes 1 -#endif - -#ifdef _NO_PROTO -# undef NeedFunctionPrototypes -#endif - -#ifdef NeedFunctionPrototypes -# include /* for FILE * */ -#endif - -#undef GSM_P -#if NeedFunctionPrototypes -# define GSM_P( protos ) protos -#else -# define GSM_P( protos ) ( /* protos */ ) -#endif - -/* - * Interface - */ - -typedef struct gsm_state * gsm; -typedef short gsm_signal; /* signed 16 bit */ -typedef unsigned char gsm_byte; -typedef gsm_byte gsm_frame[33]; /* 33 * 8 bits */ - -#define GSM_MAGIC 0xD /* 13 kbit/s RPE-LTP */ - -#define GSM_PATCHLEVEL 10 -#define GSM_MINOR 0 -#define GSM_MAJOR 1 - -#define GSM_OPT_VERBOSE 1 -#define GSM_OPT_FAST 2 -#define GSM_OPT_LTP_CUT 3 -#define GSM_OPT_WAV49 4 -#define GSM_OPT_FRAME_INDEX 5 -#define GSM_OPT_FRAME_CHAIN 6 - -extern gsm gsm_create GSM_P((void)); -extern void gsm_destroy GSM_P((gsm)); - -extern int gsm_print GSM_P((FILE *, gsm, gsm_byte *)); -extern int gsm_option GSM_P((gsm, int, int *)); - -extern void gsm_encode GSM_P((gsm, gsm_signal *, gsm_byte *)); -extern int gsm_decode GSM_P((gsm, gsm_byte *, gsm_signal *)); - -extern int gsm_explode GSM_P((gsm, gsm_byte *, gsm_signal *)); -extern void gsm_implode GSM_P((gsm, gsm_signal *, gsm_byte *)); - -#undef GSM_P - -#endif /* GSM_H */ diff --git a/res/pjproject/third_party/gsm/inc/private.h b/res/pjproject/third_party/gsm/inc/private.h deleted file mode 100644 index 0c942550c3..0000000000 --- a/res/pjproject/third_party/gsm/inc/private.h +++ /dev/null @@ -1,269 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/*$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/private.h,v 1.6 1996/07/02 10:15:26 jutta Exp $*/ - -#ifndef PRIVATE_H -#define PRIVATE_H - -typedef short word; /* 16 bit signed int */ -typedef long longword; /* 32 bit signed int */ - -typedef unsigned short uword; /* unsigned word */ -typedef unsigned long ulongword; /* unsigned longword */ - -struct gsm_state { - - word dp0[ 280 ]; - word e[ 50 ]; /* code.c */ - - word z1; /* preprocessing.c, Offset_com. */ - longword L_z2; /* Offset_com. */ - int mp; /* Preemphasis */ - - word u[8]; /* short_term_aly_filter.c */ - word LARpp[2][8]; /* */ - word j; /* */ - - word ltp_cut; /* long_term.c, LTP crosscorr. */ - word nrp; /* 40 */ /* long_term.c, synthesis */ - word v[9]; /* short_term.c, synthesis */ - word msr; /* decoder.c, Postprocessing */ - - char verbose; /* only used if !NDEBUG */ - char fast; /* only used if FAST */ - - char wav_fmt; /* only used if WAV49 defined */ - unsigned char frame_index; /* odd/even chaining */ - unsigned char frame_chain; /* half-byte to carry forward */ -}; - - -#define MIN_WORD (-32767 - 1) -#define MAX_WORD 32767 - -#define MIN_LONGWORD (-2147483647 - 1) -#define MAX_LONGWORD 2147483647 - -#ifdef SASR /* flag: >> is a signed arithmetic shift right */ -#undef SASR -#define SASR(x, by) ((x) >> (by)) -#else -#define SASR(x, by) ((x) >= 0 ? (x) >> (by) : (~(-((x) + 1) >> (by)))) -#endif /* SASR */ - -#include "proto.h" - -/* - * Prototypes from add.c - */ -extern word gsm_mult P((word a, word b)); -extern longword gsm_L_mult P((word a, word b)); -extern word gsm_mult_r P((word a, word b)); - -extern word gsm_div P((word num, word denum)); - -extern word gsm_add P(( word a, word b )); -extern longword gsm_L_add P(( longword a, longword b )); - -extern word gsm_sub P((word a, word b)); -extern longword gsm_L_sub P((longword a, longword b)); - -extern word gsm_abs P((word a)); - -extern word gsm_norm P(( longword a )); - -extern longword gsm_L_asl P((longword a, int n)); -extern word gsm_asl P((word a, int n)); - -extern longword gsm_L_asr P((longword a, int n)); -extern word gsm_asr P((word a, int n)); - -/* - * Inlined functions from add.h - */ - -/* - * #define GSM_MULT_R(a, b) (* word a, word b, !(a == b == MIN_WORD) *) \ - * (0x0FFFF & SASR(((longword)(a) * (longword)(b) + 16384), 15)) - */ -#define GSM_MULT_R(a, b) /* word a, word b, !(a == b == MIN_WORD) */ \ - (SASR( ((longword)(a) * (longword)(b) + 16384), 15 )) - -# define GSM_MULT(a,b) /* word a, word b, !(a == b == MIN_WORD) */ \ - (SASR( ((longword)(a) * (longword)(b)), 15 )) - -# define GSM_L_MULT(a, b) /* word a, word b */ \ - (((longword)(a) * (longword)(b)) << 1) - -# define GSM_L_ADD(a, b) \ - ( (a) < 0 ? ( (b) >= 0 ? (a) + (b) \ - : (utmp = (ulongword)-((a) + 1) + (ulongword)-((b) + 1)) \ - >= MAX_LONGWORD ? MIN_LONGWORD : -(longword)utmp-2 ) \ - : ((b) <= 0 ? (a) + (b) \ - : (utmp = (ulongword)(a) + (ulongword)(b)) >= MAX_LONGWORD \ - ? MAX_LONGWORD : utmp)) - -/* - * # define GSM_ADD(a, b) \ - * ((ltmp = (longword)(a) + (longword)(b)) >= MAX_WORD \ - * ? MAX_WORD : ltmp <= MIN_WORD ? MIN_WORD : ltmp) - */ -/* Nonportable, but faster: */ - -#define GSM_ADD(a, b) \ - ((ulongword)((ltmp = (longword)(a) + (longword)(b)) - MIN_WORD) > \ - MAX_WORD - MIN_WORD ? (ltmp > 0 ? MAX_WORD : MIN_WORD) : ltmp) - -# define GSM_SUB(a, b) \ - ((ltmp = (longword)(a) - (longword)(b)) >= MAX_WORD \ - ? MAX_WORD : ltmp <= MIN_WORD ? MIN_WORD : ltmp) - -# define GSM_ABS(a) ((a) < 0 ? ((a) == MIN_WORD ? MAX_WORD : -(a)) : (a)) - -/* Use these if necessary: - -# define GSM_MULT_R(a, b) gsm_mult_r(a, b) -# define GSM_MULT(a, b) gsm_mult(a, b) -# define GSM_L_MULT(a, b) gsm_L_mult(a, b) - -# define GSM_L_ADD(a, b) gsm_L_add(a, b) -# define GSM_ADD(a, b) gsm_add(a, b) -# define GSM_SUB(a, b) gsm_sub(a, b) - -# define GSM_ABS(a) gsm_abs(a) - -*/ - -/* - * More prototypes from implementations.. - */ -extern void Gsm_Coder P(( - struct gsm_state * S, - word * s, /* [0..159] samples IN */ - word * LARc, /* [0..7] LAR coefficients OUT */ - word * Nc, /* [0..3] LTP lag OUT */ - word * bc, /* [0..3] coded LTP gain OUT */ - word * Mc, /* [0..3] RPE grid selection OUT */ - word * xmaxc,/* [0..3] Coded maximum amplitude OUT */ - word * xMc /* [13*4] normalized RPE samples OUT */)); - -extern void Gsm_Long_Term_Predictor P(( /* 4x for 160 samples */ - struct gsm_state * S, - word * d, /* [0..39] residual signal IN */ - word * dp, /* [-120..-1] d' IN */ - word * e, /* [0..40] OUT */ - word * dpp, /* [0..40] OUT */ - word * Nc, /* correlation lag OUT */ - word * bc /* gain factor OUT */)); - -extern void Gsm_LPC_Analysis P(( - struct gsm_state * S, - word * s, /* 0..159 signals IN/OUT */ - word * LARc)); /* 0..7 LARc's OUT */ - -extern void Gsm_Preprocess P(( - struct gsm_state * S, - word * s, word * so)); - -extern void Gsm_Encoding P(( - struct gsm_state * S, - word * e, - word * ep, - word * xmaxc, - word * Mc, - word * xMc)); - -extern void Gsm_Short_Term_Analysis_Filter P(( - struct gsm_state * S, - word * LARc, /* coded log area ratio [0..7] IN */ - word * d /* st res. signal [0..159] IN/OUT */)); - -extern void Gsm_Decoder P(( - struct gsm_state * S, - word * LARcr, /* [0..7] IN */ - word * Ncr, /* [0..3] IN */ - word * bcr, /* [0..3] IN */ - word * Mcr, /* [0..3] IN */ - word * xmaxcr, /* [0..3] IN */ - word * xMcr, /* [0..13*4] IN */ - word * s)); /* [0..159] OUT */ - -extern void Gsm_Decoding P(( - struct gsm_state * S, - word xmaxcr, - word Mcr, - word * xMcr, /* [0..12] IN */ - word * erp)); /* [0..39] OUT */ - -extern void Gsm_Long_Term_Synthesis_Filtering P(( - struct gsm_state* S, - word Ncr, - word bcr, - word * erp, /* [0..39] IN */ - word * drp)); /* [-120..-1] IN, [0..40] OUT */ - -void Gsm_RPE_Decoding P(( - struct gsm_state *S, - word xmaxcr, - word Mcr, - word * xMcr, /* [0..12], 3 bits IN */ - word * erp)); /* [0..39] OUT */ - -void Gsm_RPE_Encoding P(( - struct gsm_state * S, - word * e, /* -5..-1][0..39][40..44 IN/OUT */ - word * xmaxc, /* OUT */ - word * Mc, /* OUT */ - word * xMc)); /* [0..12] OUT */ - -extern void Gsm_Short_Term_Synthesis_Filter P(( - struct gsm_state * S, - word * LARcr, /* log area ratios [0..7] IN */ - word * drp, /* received d [0...39] IN */ - word * s)); /* signal s [0..159] OUT */ - -extern void Gsm_Update_of_reconstructed_short_time_residual_signal P(( - word * dpp, /* [0...39] IN */ - word * ep, /* [0...39] IN */ - word * dp)); /* [-120...-1] IN/OUT */ - -/* - * Tables from table.c - */ -#ifndef GSM_TABLE_C - -extern word gsm_A[8], gsm_B[8], gsm_MIC[8], gsm_MAC[8]; -extern word gsm_INVA[8]; -extern word gsm_DLB[4], gsm_QLB[4]; -extern word gsm_H[11]; -extern word gsm_NRFAC[8]; -extern word gsm_FAC[8]; - -#endif /* GSM_TABLE_C */ - -/* - * Debugging - */ -#ifdef NDEBUG - -# define gsm_debug_words(a, b, c, d) /* nil */ -# define gsm_debug_longwords(a, b, c, d) /* nil */ -# define gsm_debug_word(a, b) /* nil */ -# define gsm_debug_longword(a, b) /* nil */ - -#else /* !NDEBUG => DEBUG */ - - extern void gsm_debug_words P((char * name, int, int, word *)); - extern void gsm_debug_longwords P((char * name, int, int, longword *)); - extern void gsm_debug_longword P((char * name, longword)); - extern void gsm_debug_word P((char * name, word)); - -#endif /* !NDEBUG */ - -#include "unproto.h" - -#endif /* PRIVATE_H */ diff --git a/res/pjproject/third_party/gsm/inc/proto.h b/res/pjproject/third_party/gsm/inc/proto.h deleted file mode 100644 index 2851c086a2..0000000000 --- a/res/pjproject/third_party/gsm/inc/proto.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/*$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/proto.h,v 1.1 1992/10/28 00:11:08 jutta Exp $*/ - -#ifndef PROTO_H -#define PROTO_H - -#if __cplusplus -# define NeedFunctionPrototypes 1 -#endif - -#if __STDC__ -# define NeedFunctionPrototypes 1 -#endif - -#ifdef _NO_PROTO -# undef NeedFunctionPrototypes -#endif - -#undef P /* gnu stdio.h actually defines this... */ -#undef P0 -#undef P1 -#undef P2 -#undef P3 -#undef P4 -#undef P5 -#undef P6 -#undef P7 -#undef P8 - -#if NeedFunctionPrototypes - -# define P( protos ) protos - -# define P0() (void) -# define P1(x, a) (a) -# define P2(x, a, b) (a, b) -# define P3(x, a, b, c) (a, b, c) -# define P4(x, a, b, c, d) (a, b, c, d) -# define P5(x, a, b, c, d, e) (a, b, c, d, e) -# define P6(x, a, b, c, d, e, f) (a, b, c, d, e, f) -# define P7(x, a, b, c, d, e, f, g) (a, b, c, d, e, f, g) -# define P8(x, a, b, c, d, e, f, g, h) (a, b, c, d, e, f, g, h) - -#else /* !NeedFunctionPrototypes */ - -# define P( protos ) ( /* protos */ ) - -# define P0() () -# define P1(x, a) x a; -# define P2(x, a, b) x a; b; -# define P3(x, a, b, c) x a; b; c; -# define P4(x, a, b, c, d) x a; b; c; d; -# define P5(x, a, b, c, d, e) x a; b; c; d; e; -# define P6(x, a, b, c, d, e, f) x a; b; c; d; e; f; -# define P7(x, a, b, c, d, e, f, g) x a; b; c; d; e; f; g; -# define P8(x, a, b, c, d, e, f, g, h) x a; b; c; d; e; f; g; h; - -#endif /* !NeedFunctionPrototypes */ - -#endif /* PROTO_H */ diff --git a/res/pjproject/third_party/gsm/inc/toast.h b/res/pjproject/third_party/gsm/inc/toast.h deleted file mode 100644 index b42d9ae8a2..0000000000 --- a/res/pjproject/third_party/gsm/inc/toast.h +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/toast.h,v 1.4 1995/03/07 21:26:16 jutta Exp $ */ - -#ifndef TOAST_H -#define TOAST_H /* Guard against multiple includes */ - -#include "config.h" - -#include -#include - -#include -#include -#include - -#include -#ifndef HAS_ERRNO_DECL - extern int errno; -#endif - -#ifdef HAS_LIMITS_H -#include -#endif - -#ifdef HAS_FCNTL_H -# include -#endif - -#ifdef HAS_UTIME -# ifdef HAS_UTIME_H -# include -# endif -#endif - -#include "gsm.h" - -#ifndef S_ISREG -#define S_ISREG(x) ((x) & S_IFREG) -#endif /* S_ISREG */ - - -# define READ "rb" -# define WRITE "wb" -#ifdef O_BINARY -# define O_WRITE_EXCL O_WRONLY|O_CREAT|O_EXCL|O_BINARY -#else -# define O_WRITE_EXCL O_WRONLY|O_CREAT|O_EXCL -#endif - -#ifndef SIGHANDLER_T -#define SIGHANDLER_T void /* what does a signal handler return? */ -#endif - - -#ifdef HAS_STRING_H -#include -#else -# ifdef HAS_STRINGS_H -# include -# else -# include "proto.h" - - extern int strlen P((char *)); - extern char * strcpy P((char *, char *)); - extern char * strcat P((char *, char *)); - extern char * strrchr P((char *, int)); - -# include "unproto.h" -# endif -#endif - - -#ifdef HAS_STDLIB_H -#include -#else -# include "proto.h" -# ifdef HAS_MALLOC_H -# include -# else - extern char * malloc P((unsigned)); -# endif - extern int exit P((int)); -# include "unproto.h" -#endif - - -#ifdef HAS_UNISTD_H -# include -#endif - -/* - * This suffix is tacked onto/removed from filenames - * similar to the way freeze and compress do it. - */ -#define SUFFIX_TOASTED ".gsm" - -#include "proto.h" - -extern int audio_init_input P((void)), audio_init_output P((void)); -extern int ulaw_input P((gsm_signal*)), ulaw_output P((gsm_signal *)); -extern int alaw_input P((gsm_signal*)), alaw_output P((gsm_signal *)); -extern int linear_input P((gsm_signal*)), linear_output P((gsm_signal *)); - -#endif /* TOAST_H */ diff --git a/res/pjproject/third_party/gsm/inc/unproto.h b/res/pjproject/third_party/gsm/inc/unproto.h deleted file mode 100644 index eaf866f608..0000000000 --- a/res/pjproject/third_party/gsm/inc/unproto.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/*$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/unproto.h,v 1.1 1992/10/28 00:11:08 jutta Exp $*/ - -#ifdef PROTO_H /* sic */ -#undef PROTO_H - -#undef P -#undef P0 -#undef P1 -#undef P2 -#undef P3 -#undef P4 -#undef P5 -#undef P6 -#undef P7 -#undef P8 - -#endif /* PROTO_H */ diff --git a/res/pjproject/third_party/gsm/man/bitter.1 b/res/pjproject/third_party/gsm/man/bitter.1 deleted file mode 100644 index 2dad78b08b..0000000000 --- a/res/pjproject/third_party/gsm/man/bitter.1 +++ /dev/null @@ -1,70 +0,0 @@ -.\" -.\" Copyright 1992 by Jutta Degener and Carsten Bormann, Technische -.\" Universitaet Berlin. See the accompanying file "COPYRIGHT" for -.\" details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. -.\" -.PU -.TH BITTER 1 -.SH NAME -bitter, sweet \(em code-generators for packing bits -.SH SYNOPSIS -bitter < input > output -.br -sweet < input > output -.SH "DESCRIPTION" -Bitter and sweet are two filters which turn a description of the -form -.nf - name number-of-bits - name number-of-bits - ... -.nf -into code. -.PP -Bitter generates code that packs the specified bits from their -variables into an array of unsigned char referenced by an -advancing pointer c. -.PP -Sweet generates code that unpacks the specified bits from an array -of unsigned char referenced by a mutable pointer c into the -named variables. -.\" .SH OPTIONS -.\" .SH "RETURN VALUE" -.\" .SH ERRORS -.SH EXAMPLES -.nf -% cat in -amaretto 1 -banana 2 -cherry 3 -strawberry 4 -vanilla 15 -walnut 15 - -% bitter < in - *c++ = ((amaretto & 0x1) << 7) - | ((banana & 0x3) << 5) - | ((cherry & 0x7) << 2) - | ((strawberry >> 2) & 0x3); - *c++ = ((strawberry & 0x3) << 6) - | ((vanilla >> 9) & 0x3F); - *c++ = ((vanilla >> 1) & 0xFF); - *c++ = ((vanilla & 0x1) << 7) - | ((walnut >> 8) & 0x7F); - *c++ = walnut & 0xFF; - -% sweet < in - amaretto = (*c >> 7) & 0x1; - banana = (*c >> 5) & 0x3; - cherry = (*c >> 2) & 0x7; - strawberry = (*c++ & 0x3) << 2; - strawberry |= (*c >> 6) & 0x3; - vanilla = (*c++ & 0x3F) << 9; - vanilla |= (*c++ & 0xFF) << 1; - vanilla |= (*c >> 7) & 0x1; - walnut = (*c++ & 0x7F) << 8; - walnut |= *c++; -.SH NOTES -This is a quick hack for the gsm_encode() and gsm_decode() routines. -.SH BUGS -Please direct bug reports to jutta@cs.tu-berlin.de and cabo@cs.tu-berlin.de. diff --git a/res/pjproject/third_party/gsm/man/gsm.3 b/res/pjproject/third_party/gsm/man/gsm.3 deleted file mode 100644 index e465762b3e..0000000000 --- a/res/pjproject/third_party/gsm/man/gsm.3 +++ /dev/null @@ -1,105 +0,0 @@ -.\" -.\" Copyright 1992 by Jutta Degener and Carsten Bormann, Technische -.\" Universitaet Berlin. See the accompanying file "COPYRIGHT" for -.\" details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. -.\" -.PU -.TH GSM 3 -.SH NAME -gsm_create, gsm_destroy, gsm_encode, gsm_decode \(em GSM\ 06.10 lossy sound compression -.SH SYNOPSIS -.PP -#include "gsm.h" -.PP -gsm gsm_create(); -.PP -void gsm_encode(handle, src, dst) -.br -gsm handle; -.br -gsm_signal src[160]; -.br -gsm_frame dst; -.PP -int gsm_decode(handle, src, dst) -.br -gsm handle; -.br -gsm_frame src; -.br -gsm_signal dst[160]; -.PP -void gsm_destroy(handle) -.br -gsm handle; -.br -.SH "DESCRIPTION" -Gsm is an implementation of the final draft GSM 06.10 -standard for full-rate speech transcoding. -.PP -gsm_create() initializes a gsm pass and returns a 'gsm' object -which can be used as a handle in subsequent calls to gsm_decode(), -gsm_encode() or gsm_destroy(). -.PP -gsm_encode() encodes an array of 160 13-bit samples (given as -gsm_signal's, signed integral values of at least 16 bits) into -a gsm_frame of 33 bytes. -(gsm_frame is a type defined as an array of 33 gsm_bytes in gsm.h.) -.PP -gsm_decode() decodes a gsm_frame into an array of 160 13-bit samples -(given as gsm_signals), which sound rather like what you handed to -gsm_encode() on the other side of the wire. -.PP -gsm_destroy() finishes a gsm pass and frees all storage associated -with it. -.SS "Sample format" -The following scaling is assumed for input to the algorithm: -.br -.nf - 0 1 11 12 - S..v..v..v..v..v..v..v..v..v..v..v..v..*..*..* -.nf -.br -Only the top 13 bits are used as a signed input value. -The output of gsm_decode() has the three lower bits set to zero. -.\" .SH OPTIONS -.SH "RETURN VALUE" -gsm_create() returns an opaque handle object of type gsm, or 0 on error. -gsm_decode() returns -1 if the passed frame is invalid, else 0. -.SH EXAMPLE -.nf -#include "gsm.h" - -gsm handle; -gsm_frame buf; -gsm_signal sample[160]; -int cc, soundfd; - -play() { /* read compressed data from standard input, write to soundfd */ - - if (!(handle = gsm_create())) error... - while (cc = read(0, (char *)buf, sizeof buf)) { - if (cc != sizeof buf) error... - if (gsm_decode(handle, buf, sample) < 0) error... - if (write(soundfd, sample, sizeof sample) != sizeof sample) - error... - } - gsm_destroy(handle); -} - -record() { /* read from soundfd, write compressed to standard output */ - - if (!(handle = gsm_create())) error... - while (cc = read(soundfd, sample, sizeof sample)) { - if (cc != sizeof sample) error... - gsm_encode(handle, sample, buf); - if (write(1, (char *)buf, sizeof buf) != sizeof sample) - error... - } - gsm_destroy(handle); -} -.nf -.SH BUGS -Please direct bug reports to jutta@cs.tu-berlin.de and cabo@cs.tu-berlin.de. -.SH "SEE ALSO" -toast(1), gsm_print(3), gsm_explode(3), gsm_option(3) diff --git a/res/pjproject/third_party/gsm/man/gsm_explode.3 b/res/pjproject/third_party/gsm/man/gsm_explode.3 deleted file mode 100644 index ef89984232..0000000000 --- a/res/pjproject/third_party/gsm/man/gsm_explode.3 +++ /dev/null @@ -1,47 +0,0 @@ -.\" -.\" Copyright 1992 by Jutta Degener and Carsten Bormann, Technische -.\" Universitaet Berlin. See the accompanying file "COPYRIGHT" for -.\" details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. -.\" -.PU -.TH GSM_EXPLODE 3 -.SH NAME -gsm_explode, gsm_implode \(em GSM\ 06.10 supplementary -functions for testing -.SH SYNOPSIS -#include "gsm.h" -.PP -void gsm_explode(g, frame, xframe) -.br -gsm g; -.br -gsm_frame frame; -.br -gsm_signal xframe[ 76 ]; -.PP -void gsm_implode(g, xframe, frame) -.br -gsm g; -.br -gsm_signal xframe[ 76 ]; -.br -gsm_frame frame; -.SH "DESCRIPTION" -Gsm is an implementation of the final draft GSM 06.10 -standard for full-rate speech transcoding. -Test data for implementations of this particular document -can be bought and used to verify an implementation. -.PP -The encoded test data uses a format different from what -one would use to transmit frames with the least number -of bits. -Gsm_explode() and gsm_implode() convert between the -internal, small, 33-byte format and the 76-word format -used by the test data. -.PP -.SH "RETURN VALUE" -gsm_explode() returns -1 if the passed frame is invalid, else 0. -.SH BUGS -Please direct bug reports to jutta@cs.tu-berlin.de and cabo@cs.tu-berlin.de. -.SH "SEE ALSO" -gsm(3) diff --git a/res/pjproject/third_party/gsm/man/gsm_option.3 b/res/pjproject/third_party/gsm/man/gsm_option.3 deleted file mode 100644 index 8df7da0881..0000000000 --- a/res/pjproject/third_party/gsm/man/gsm_option.3 +++ /dev/null @@ -1,183 +0,0 @@ -.\" -.\" Copyright 1992-1995 by Jutta Degener and Carsten Bormann, Technische -.\" Universitaet Berlin. See the accompanying file "COPYRIGHT" for -.\" details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. -.\" -.PU -.TH GSM_OPTION 3 -.SH NAME -gsm_option \(em customizing the GSM 06.10 implementation -.SH SYNOPSIS -#include "gsm.h" -.PP -int gsm_option(handle, option, valueP); -.br -gsm handle; -.br -int option; -.br -int * valueP; -.SH "DESCRIPTION" -The gsm library is an implementation of the final draft GSM 06.10 -standard for full-rate speech transcoding, a lossy -speech compression algorithm. -.PP -The gsm_option() function can be used to set and query various -options or flags that are not needed for regular GSM 06.10 encoding -or decoding, but might be of interest in special cases. -.PP -The second argument to gsm_option specifies what parameter -should be changed or queried. -The third argument is either a null pointer, in which case -the current value of that parameter is returned; -or it is a pointer to an integer containing the value -you want to set, in which case the previous value will -be returned. -.PP -The following options are defined: -.PP -.I GSM_OPT_VERBOSE -Verbosity level. -.br -.in+5 -This option is only supported if the library was compiled -with debugging turned on, and may be used by developers of -compression algorithms to aid debugging. -.br -The verbosity level can be changed at any time during encoding or decoding. -.in-5 -.sp -.PP -.I GSM_OPT_FAST -Faster compression algorithm. -.br -.in+5 -This implementation offers a not strictly standard-compliant, but -faster compression algorithm that is compatible with the regular -method and does not noticably degrade audio quality. -.br -The value passed to -.br -.nf - gsm_option(handle, GSM_OPT_FAST, & value) -.fi -.br -functions as a boolean flag; if it is zero, the regular algorithm -will be used, if not, the faster version will be used. -.br -The availability of this option depends on the hardware used; -if it is not available, gsm_option will return -1 on an attempt -to set or query it. -.br -This option can be set any time during encoding or decoding. -.in-5 -.ne 5 -.sp -.PP -.I GSM_OPT_LTP_CUT -Enable, disable, or query the LTP cut-off optimization. -.br -.in+5 -During encoding, the search for the long-term correlation -lag forms the bottleneck of the algorithm. -The ltp-cut option enables an approximation that disregards most -of the samples for purposes of finding that correlation, -and hence speeds up the encoding at a noticable loss in quality. -.br -The value passed to -.br -.nf - gsm_option(handle, GSM_OPT_LTP_CUT, & value) -.fi -.br -turns the optimization on if nonzero, and off if zero. -.br -This option can be set any time during encoding -or decoding; it will only affect the encoding pass, not -the decoding. -.sp -.PP -.I GSM_OPT_WAV49 -WAV-style byte ordering. -.br -.in+5 -A WAV file of type #49 contains GSM 06.10-encoded frames. -Unfortunately, the framing and code ordering of the WAV version -are incompatible with the native ones of this GSM 06.10 library. -The GSM_OPT_WAV49 option turns on a different packing -algorithm that produces alternating frames of 32 and 33 bytes -(or makes it consume alternating frames of 33 and 32 bytes, note -the opposite order of the two numbers) which, when concatenated, -can be used in the body of a WAV #49 frame. -It is up to the user program to write a WAV header, if any; -neither the library itself nor the toast program produce -complete WAV files. -.br -The value passed to -.br -.nf - gsm_option(handle, GSM_OPT_WAV49, & value) -.fi -.br -functions as a boolean flag; if it is zero, the library's native -framing algorithm will be used, if nonzero, WAV-type packing is in effect. -.br -This option should be used before any frames are encoded. -Whether or not it is supported at all depends on a -compile-time switch, WAV49. -Both option and compile time switch are new to the library -as of patchlevel 9, and are considerably less tested than the -well-worn rest of the it. -.br -Thanks to Jeff Chilton for the detective work and first free -implementation of this version of the GSM 06.10 encoding. -.sp -.PP -.I GSM_OPT_FRAME_CHAIN -Query or set the chaining byte. -.br -.in+5 -Between the two frames of a WAV-style encoding, the GSM 06.10 library -must keep track of one half-byte that is technically part of the first -frame, but will be written as the first four bits of the second. -This half-byte are the lowest four bits of the value returned by, -and optionally set by, -.br -.nf - gsm_option(handle, GSM_OPT_FRAME_CHAIN, & value) -.fi -.br -This option can be queried and set at any time. -.sp -.PP -.I GSM_OPT_FRAME_INDEX -Query or set the current frame's index in a format's -alternating list of frames. -.br -.in+5 -The WAV #49 framing uses two alternating types of frames. -Which type the next GSM-coded frame belongs to can be queried, or, -when decoding, announced, using -.br -.nf - gsm_option(handle, GSM_OPT_FRAME_INDEX, & value) -.fi -.br -For WAV-style framing, the value should be 0 or 1; the first frame -of an encoding has an index of 0. -At library initialization, the index is set to zero. -.br -The frame index can be queried and set at any time. -Used in combination with the -.IR GSM_OPT_FRAME_CHAIN , -option, it can be used to position on arbitrary GSM frames -within a format like WAV #49 (not accounting for the lost -internal GSM state). -.in-5 -.SH "RETURN VALUE" -gsm_option() returns -1 if an option is not supported, the -previous value of the option otherwise. -.SH BUGS -Please direct bug reports to jutta@cs.tu-berlin.de and cabo@cs.tu-berlin.de. -.SH "SEE ALSO" -toast(1), gsm(3), gsm_explode(3), gsm_print(3) diff --git a/res/pjproject/third_party/gsm/man/gsm_print.3 b/res/pjproject/third_party/gsm/man/gsm_print.3 deleted file mode 100644 index 48d6883125..0000000000 --- a/res/pjproject/third_party/gsm/man/gsm_print.3 +++ /dev/null @@ -1,52 +0,0 @@ -.\" -.\" Copyright 1992 by Jutta Degener and Carsten Bormann, Technische -.\" Universitaet Berlin. See the accompanying file "COPYRIGHT" for -.\" details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. -.\" -.PU -.TH GSM_PRINT 3 -.SH NAME -gsm_print \(em GSM\ 06.10 supplementary function for debugging -.SH SYNOPSIS -#include "gsm.h" -#include - -int gsm_print(f, g, frame); -.br -FILE * f; -.br -gsm g; -.br -gsm_frame frame; -.SH "DESCRIPTION" -Gsm is an implementation of the final draft GSM 06.10 -standard for full-rate speech transcoding, a lossy -speech compression algorithm. -The compressed form involves 76 variables with different numbers -of significant bits packed into 33 bytes. -.PP -If you are interested in investigating the details of this -coding scheme, gsm_print() can be used to dump the contents -of individual gsm_frames to a file pointer provided by -the application. -.PP -.SH "RETURN VALUE" -gsm_print() returns -1 if the frame is invalid, else 0. -.SH EXAMPLE -A single frame looks like this: -.br -.nf -LARc: 29 32 20 11 08 05 06 07 -#1: Nc 0040 bc 0 Mc 1 xmaxc 60 - 06 04 00 03 03 06 04 02 02 04 05 04 01 -#2: Nc 0045 bc 1 Mc 1 xmaxc 48 - 03 07 01 03 04 04 07 01 03 02 04 05 03 -#3: Nc 0091 bc 1 Mc 1 xmaxc 46 - 00 03 03 07 01 06 02 04 05 03 03 02 04 -#4: Nc 0120 bc 0 Mc 1 xmaxc 47 - 07 03 06 00 03 03 06 05 00 03 02 07 04 -.nf -.SH BUGS -Please direct bug reports to jutta@cs.tu-berlin.de and cabo@cs.tu-berlin.de. -.SH "SEE ALSO" -gsm(3), gsm_explode(3) diff --git a/res/pjproject/third_party/gsm/man/toast.1 b/res/pjproject/third_party/gsm/man/toast.1 deleted file mode 100644 index e54647b5ab..0000000000 --- a/res/pjproject/third_party/gsm/man/toast.1 +++ /dev/null @@ -1,156 +0,0 @@ -.\" -.\" Copyright 1992 by Jutta Degener and Carsten Bormann, Technische -.\" Universitaet Berlin. See the accompanying file "COPYRIGHT" for -.\" details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. -.\" -.if n .ds mU u -.if t .ds mU \(*m -.\" -.TH TOAST 1 local -.SH NAME -toast \(em GSM\ 06.10 lossy sound compression -.SH SYNOPSIS -.ll +8 -.B toast -[ -.B \-cdfpvhualsFC -] [ -.I "filename...\&" -] -.LP -.B untoast -[ -.B \-cfpvhuaslF -] [ -.I "filename...\&" -] -.LP -.B tcat -[ -.B \-vhuaslF -] [ -.I "filename...\&" -] -.ll -8 -.SH DESCRIPTION -Toast compresses the sound files given on its command line. -Each file is replaced by a file with the extension -.I \&.gsm . -If no files are specified, the compression is applied to the -standard input, and its result is written to standard output. -.PP -Toasted files can be restored to something not quite unlike -their original form by running toast -.I "\-d" -, or -.I untoast -, on the \&.gsm-files or standard input. -.PP -The program -.I tcat -(the same as running -.I "untoast \-c" -) uncompresses its input on standard output, -but leaves the compressed .gsm\-files alone. -.PP -When files are compressed or uncompressed into other files, -the ownership (if run by root), modes, accessed and modified times -are maintained between both versions. -.SH OPTIONS -.TP -.B \-c -(cat) -Write to the standard output; no files are changed. -.TP -.B \-d -(decode) -Decode, rather than encode, the files. -.TP -.B \-f -(force) -Force replacement of output files if they exist. -If \-f is omitted and toast (or untoast) is run interactively from -a terminal, the user is prompted as to whether the file should be replaced. -.TP -.B \-p -(precious) -Do not delete the source files. -Source files are implicitly left alone whenever \-c is -specified or tcat is run. -.TP -.B \-C -(LTP cut-off) -Ignore most sample values when calculating the GSM long-term -correlation lag during encoding. -(The multiplications that do this are a bottleneck -of the algorithm.) -The resulting encoding process will not produce -exactly the same results as GSM 06.10 would, -but remains close enough to be compatible. -.br -The -.B \-C -option applies only to the encoder and is silently -ignored by the decoder. -.TP -.B \-F -(fast) -On systems with a floating point processor, but without -a multiplication instruction, \-F sacrifices standard conformance to -performance and nearly doubles the speed of the algorithm. -.br -The resulting encoding and decoding process will not produce -exactly the same results as GSM 06.10 would, but remains close -enough to be compatible. -.br -The default is standard-conforming operation. -.TP -.B \-v -(version)\ -outputs the version of toast (or untoast or tcat) to stdout and exits. -.TP -.B \-h -(help)\ -prints a short overview of the options. -.PP -Toast, untoast and tcat try to guess the appropriate audio data -format from the file suffix. -Command line options can also specify a format to be used for -all files. -.br -The following formats are supported: -.TP -.B "\-u" -(\(*mU-law) -8 kHz, 8 bit \(*mU-law encoding (file suffix .u) -.TP -.B "\-a" -(A-law) -8 kHz, 8 bit A-law encoding (file suffix .A) -.TP -.B "\-s" -(Sun audio) -8 kHz, 8 bit \(*mU-law encoding with audio header (file suffix .au) -.TP -.B "-l" -(linear) -8 kHz, 16 bit signed linear encoding in host byte order -with 13 significant bits (file suffix .l) -.PP -In absence of options or suffixes to specify a format, -\(*mU-law encoding as forced by \-u is assumed. -.PP -.SH PECULIARITIES -A four bit magic number is prefixed to each 32 1/2-byte GSM frame, -mainly because 32 1/2-bytes are rather clumsy to handle. -.SH WARNING -The compression algorithm used is a lossy compression algorithm -devised especially for speech; on no account should it be used -for text, pictures or any other non-speech-data you consider -valuable. -.SH BUGS -Please direct bug reports to jutta@cs.tu-berlin.de. -.SH "SEE ALSO" -gsm(3) -.\" -.\" Toast is dedicated to Bill Sienkiewicz, author of "Stray Toasters". diff --git a/res/pjproject/third_party/gsm/src/add.c b/res/pjproject/third_party/gsm/src/add.c deleted file mode 100644 index 381f4e5a51..0000000000 --- a/res/pjproject/third_party/gsm/src/add.c +++ /dev/null @@ -1,236 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/add.c,v 1.6 1996/07/02 09:57:33 jutta Exp $ */ - -/* - * See private.h for the more commonly used macro versions. - */ - -#include "config.h" -#include -#include - -#include "private.h" -#include "gsm.h" -#include "proto.h" - -#define saturate(x) \ - ((x) < MIN_WORD ? MIN_WORD : (x) > MAX_WORD ? MAX_WORD: (x)) - -word gsm_add P2((a,b), word a, word b) -{ - longword sum = (longword)a + (longword)b; - return saturate(sum); -} - -word gsm_sub P2((a,b), word a, word b) -{ - longword diff = (longword)a - (longword)b; - return saturate(diff); -} - -word gsm_mult P2((a,b), word a, word b) -{ - if (a == MIN_WORD && b == MIN_WORD) return MAX_WORD; - else return SASR( (longword)a * (longword)b, 15 ); -} - -word gsm_mult_r P2((a,b), word a, word b) -{ - if (b == MIN_WORD && a == MIN_WORD) return MAX_WORD; - else { - longword prod = (longword)a * (longword)b + 16384; - prod >>= 15; - return prod & 0xFFFF; - } -} - -word gsm_abs P1((a), word a) -{ - return a < 0 ? (a == MIN_WORD ? MAX_WORD : -a) : a; -} - -longword gsm_L_mult P2((a,b),word a, word b) -{ - assert( a != MIN_WORD || b != MIN_WORD ); - return ((longword)a * (longword)b) << 1; -} - -longword gsm_L_add P2((a,b), longword a, longword b) -{ - if (a < 0) { - if (b >= 0) return a + b; - else { - ulongword A = (ulongword)-(a + 1) + (ulongword)-(b + 1); - return A >= MAX_LONGWORD ? MIN_LONGWORD :-(longword)A-2; - } - } - else if (b <= 0) return a + b; - else { - ulongword A = (ulongword)a + (ulongword)b; - return A > MAX_LONGWORD ? MAX_LONGWORD : A; - } -} - -longword gsm_L_sub P2((a,b), longword a, longword b) -{ - if (a >= 0) { - if (b >= 0) return a - b; - else { - /* a>=0, b<0 */ - - ulongword A = (ulongword)a + -(b + 1); - return A >= MAX_LONGWORD ? MAX_LONGWORD : (A + 1); - } - } - else if (b <= 0) return a - b; - else { - /* a<0, b>0 */ - - ulongword A = (ulongword)-(a + 1) + b; - return A >= MAX_LONGWORD ? MIN_LONGWORD : -(longword)A - 1; - } -} - -static unsigned char const bitoff[ 256 ] = { - 8, 7, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 -}; - -word gsm_norm P1((a), longword a ) -/* - * the number of left shifts needed to normalize the 32 bit - * variable L_var1 for positive values on the interval - * - * with minimum of - * minimum of 1073741824 (01000000000000000000000000000000) and - * maximum of 2147483647 (01111111111111111111111111111111) - * - * - * and for negative values on the interval with - * minimum of -2147483648 (-10000000000000000000000000000000) and - * maximum of -1073741824 ( -1000000000000000000000000000000). - * - * in order to normalize the result, the following - * operation must be done: L_norm_var1 = L_var1 << norm( L_var1 ); - * - * (That's 'ffs', only from the left, not the right..) - */ -{ - assert(a != 0); - - if (a < 0) { - if (a <= -1073741824) return 0; - a = ~a; - } - - return a & 0xffff0000 - ? ( a & 0xff000000 - ? -1 + bitoff[ 0xFF & (a >> 24) ] - : 7 + bitoff[ 0xFF & (a >> 16) ] ) - : ( a & 0xff00 - ? 15 + bitoff[ 0xFF & (a >> 8) ] - : 23 + bitoff[ 0xFF & a ] ); -} - -longword gsm_L_asl P2((a,n), longword a, int n) -{ - if (n >= 32) return 0; - if (n <= -32) return -(a < 0); - if (n < 0) return gsm_L_asr(a, -n); - return a << n; -} - -word gsm_asl P2((a,n), word a, int n) -{ - if (n >= 16) return 0; - if (n <= -16) return -(a < 0); - if (n < 0) return gsm_asr(a, -n); - return a << n; -} - -longword gsm_L_asr P2((a,n), longword a, int n) -{ - if (n >= 32) return -(a < 0); - if (n <= -32) return 0; - if (n < 0) return a << -n; - -# ifdef SASR - return a >> n; -# else - if (a >= 0) return a >> n; - else return -(longword)( -(ulongword)a >> n ); -# endif -} - -word gsm_asr P2((a,n), word a, int n) -{ - if (n >= 16) return -(a < 0); - if (n <= -16) return 0; - if (n < 0) return a << -n; - -# ifdef SASR - return a >> n; -# else - if (a >= 0) return a >> n; - else return -(word)( -(uword)a >> n ); -# endif -} - -/* - * (From p. 46, end of section 4.2.5) - * - * NOTE: The following lines gives [sic] one correct implementation - * of the div(num, denum) arithmetic operation. Compute div - * which is the integer division of num by denum: with denum - * >= num > 0 - */ - -word gsm_div P2((num,denum), word num, word denum) -{ - longword L_num = num; - longword L_denum = denum; - word div = 0; - int k = 15; - - /* The parameter num sometimes becomes zero. - * Although this is explicitly guarded against in 4.2.5, - * we assume that the result should then be zero as well. - */ - - /* assert(num != 0); */ - - assert(num >= 0 && denum >= num); - if (num == 0) - return 0; - - while (k--) { - div <<= 1; - L_num <<= 1; - - if (L_num >= L_denum) { - L_num -= L_denum; - div++; - } - } - - return div; -} diff --git a/res/pjproject/third_party/gsm/src/code.c b/res/pjproject/third_party/gsm/src/code.c deleted file mode 100644 index 65dd0a3307..0000000000 --- a/res/pjproject/third_party/gsm/src/code.c +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/code.c,v 1.3 1996/07/02 09:59:05 jutta Exp $ */ - -#include "config.h" - - -#ifdef HAS_STDLIB_H -#include -#else -# include "proto.h" - extern char * memcpy P((char *, char *, int)); -#endif - -#include "private.h" -#include "gsm.h" -#include "proto.h" - -/* - * 4.2 FIXED POINT IMPLEMENTATION OF THE RPE-LTP CODER - */ - -void Gsm_Coder P8((S,s,LARc,Nc,bc,Mc,xmaxc,xMc), - - struct gsm_state * S, - - word * s, /* [0..159] samples IN */ - -/* - * The RPE-LTD coder works on a frame by frame basis. The length of - * the frame is equal to 160 samples. Some computations are done - * once per frame to produce at the output of the coder the - * LARc[1..8] parameters which are the coded LAR coefficients and - * also to realize the inverse filtering operation for the entire - * frame (160 samples of signal d[0..159]). These parts produce at - * the output of the coder: - */ - - word * LARc, /* [0..7] LAR coefficients OUT */ - -/* - * Procedure 4.2.11 to 4.2.18 are to be executed four times per - * frame. That means once for each sub-segment RPE-LTP analysis of - * 40 samples. These parts produce at the output of the coder: - */ - - word * Nc, /* [0..3] LTP lag OUT */ - word * bc, /* [0..3] coded LTP gain OUT */ - word * Mc, /* [0..3] RPE grid selection OUT */ - word * xmaxc,/* [0..3] Coded maximum amplitude OUT */ - word * xMc /* [13*4] normalized RPE samples OUT */ -) -{ - int k; - word * dp = S->dp0 + 120; /* [ -120...-1 ] */ - word * dpp = dp; /* [ 0...39 ] */ - - word so[160]; - - Gsm_Preprocess (S, s, so); - Gsm_LPC_Analysis (S, so, LARc); - Gsm_Short_Term_Analysis_Filter (S, LARc, so); - - for (k = 0; k <= 3; k++, xMc += 13) { - - Gsm_Long_Term_Predictor ( S, - so+k*40, /* d [0..39] IN */ - dp, /* dp [-120..-1] IN */ - S->e + 5, /* e [0..39] OUT */ - dpp, /* dpp [0..39] OUT */ - Nc++, - bc++); - - Gsm_RPE_Encoding ( S, - S->e + 5,/* e ][0..39][ IN/OUT */ - xmaxc++, Mc++, xMc ); - /* - * Gsm_Update_of_reconstructed_short_time_residual_signal - * ( dpp, S->e + 5, dp ); - */ - - { register int i; - register longword ltmp; - for (i = 0; i <= 39; i++) - dp[ i ] = GSM_ADD( S->e[5 + i], dpp[i] ); - } - dp += 40; - dpp += 40; - - } - (void)memcpy( (char *)S->dp0, (char *)(S->dp0 + 160), - 120 * sizeof(*S->dp0) ); -} diff --git a/res/pjproject/third_party/gsm/src/debug.c b/res/pjproject/third_party/gsm/src/debug.c deleted file mode 100644 index 04c39076f5..0000000000 --- a/res/pjproject/third_party/gsm/src/debug.c +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/debug.c,v 1.2 1993/01/29 18:22:20 jutta Exp $ */ - -#include "private.h" - -#ifndef NDEBUG - -/* If NDEBUG _is_ defined and no debugging should be performed, - * calls to functions in this module are #defined to nothing - * in private.h. - */ - -#include -#include "proto.h" - -void gsm_debug_words P4( (name, from, to, ptr), - char * name, - int from, - int to, - word * ptr) -{ - int nprinted = 0; - - fprintf( stderr, "%s [%d .. %d]: ", name, from, to ); - while (from <= to) { - fprintf(stderr, "%d ", ptr[ from ] ); - from++; - if (nprinted++ >= 7) { - nprinted = 0; - if (from < to) putc('\n', stderr); - } - } - putc('\n', stderr); -} - -void gsm_debug_longwords P4( (name, from, to, ptr), - char * name, - int from, - int to, - longword * ptr) -{ - int nprinted = 0; - - fprintf( stderr, "%s [%d .. %d]: ", name, from, to ); - while (from <= to) { - - fprintf(stderr, "%d ", ptr[ from ] ); - from++; - if (nprinted++ >= 7) { - nprinted = 0; - if (from < to) putc('\n', stderr); - } - } - putc('\n', stderr); -} - -void gsm_debug_longword P2( (name, value), - char * name, - longword value ) -{ - fprintf(stderr, "%s: %d\n", name, (long)value ); -} - -void gsm_debug_word P2( (name, value), - char * name, - word value ) -{ - fprintf(stderr, "%s: %d\n", name, (long)value); -} - -#endif diff --git a/res/pjproject/third_party/gsm/src/decode.c b/res/pjproject/third_party/gsm/src/decode.c deleted file mode 100644 index 91e61af8a4..0000000000 --- a/res/pjproject/third_party/gsm/src/decode.c +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/decode.c,v 1.1 1992/10/28 00:15:50 jutta Exp $ */ - -#include "config.h" -#include - -#include "private.h" -#include "gsm.h" -#include "proto.h" - -/* - * 4.3 FIXED POINT IMPLEMENTATION OF THE RPE-LTP DECODER - */ - -static void Postprocessing P2((S,s), - struct gsm_state * S, - register word * s) -{ - register int k; - register word msr = S->msr; - register longword ltmp; /* for GSM_ADD */ - register word tmp; - - for (k = 160; k--; s++) { - tmp = GSM_MULT_R( msr, 28180 ); - msr = GSM_ADD(*s, tmp); /* Deemphasis */ - *s = GSM_ADD(msr, msr) & 0xFFF8; /* Truncation & Upscaling */ - } - S->msr = msr; -} - -void Gsm_Decoder P8((S,LARcr, Ncr,bcr,Mcr,xmaxcr,xMcr,s), - struct gsm_state * S, - - word * LARcr, /* [0..7] IN */ - - word * Ncr, /* [0..3] IN */ - word * bcr, /* [0..3] IN */ - word * Mcr, /* [0..3] IN */ - word * xmaxcr, /* [0..3] IN */ - word * xMcr, /* [0..13*4] IN */ - - word * s) /* [0..159] OUT */ -{ - int j, k; - word erp[40], wt[160]; - word * drp = S->dp0 + 120; - - for (j=0; j <= 3; j++, xmaxcr++, bcr++, Ncr++, Mcr++, xMcr += 13) { - - Gsm_RPE_Decoding( S, *xmaxcr, *Mcr, xMcr, erp ); - Gsm_Long_Term_Synthesis_Filtering( S, *Ncr, *bcr, erp, drp ); - - for (k = 0; k <= 39; k++) wt[ j * 40 + k ] = drp[ k ]; - } - - Gsm_Short_Term_Synthesis_Filter( S, LARcr, wt, s ); - Postprocessing(S, s); -} diff --git a/res/pjproject/third_party/gsm/src/gsm_create.c b/res/pjproject/third_party/gsm/src/gsm_create.c deleted file mode 100644 index a0bf634d49..0000000000 --- a/res/pjproject/third_party/gsm/src/gsm_create.c +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -static char const ident[] = "$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/gsm_create.c,v 1.4 1996/07/02 09:59:05 jutta Exp $"; - -#include "config.h" - -#ifdef HAS_STRING_H -#include -#else -# include "proto.h" - extern char * memset P((char *, int, int)); -#endif - -#ifdef HAS_STDLIB_H -# include -#else -# ifdef HAS_MALLOC_H -# include -# else - extern char * malloc(); -# endif -#endif - -#include - -#include "gsm.h" -#include "private.h" -#include "proto.h" - -gsm gsm_create P0() -{ - gsm r; - - r = (gsm)malloc(sizeof(struct gsm_state)); - if (!r) return r; - - memset((char *)r, 0, sizeof(*r)); - r->nrp = 40; - - return r; -} diff --git a/res/pjproject/third_party/gsm/src/gsm_decode.c b/res/pjproject/third_party/gsm/src/gsm_decode.c deleted file mode 100644 index 973c08be5c..0000000000 --- a/res/pjproject/third_party/gsm/src/gsm_decode.c +++ /dev/null @@ -1,361 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/gsm_decode.c,v 1.2 1996/07/02 09:59:05 jutta Exp $ */ - -#include "private.h" - -#include "gsm.h" -#include "proto.h" - -int gsm_decode P3((s, c, target), gsm s, gsm_byte * c, gsm_signal * target) -{ - word LARc[8], Nc[4], Mc[4], bc[4], xmaxc[4], xmc[13*4]; - -#ifdef WAV49 - if (s->wav_fmt) { - - uword sr = 0; - - s->frame_index = !s->frame_index; - if (s->frame_index) { - - sr = *c++; - LARc[0] = sr & 0x3f; sr >>= 6; - sr |= (uword)*c++ << 2; - LARc[1] = sr & 0x3f; sr >>= 6; - sr |= (uword)*c++ << 4; - LARc[2] = sr & 0x1f; sr >>= 5; - LARc[3] = sr & 0x1f; sr >>= 5; - sr |= (uword)*c++ << 2; - LARc[4] = sr & 0xf; sr >>= 4; - LARc[5] = sr & 0xf; sr >>= 4; - sr |= (uword)*c++ << 2; /* 5 */ - LARc[6] = sr & 0x7; sr >>= 3; - LARc[7] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 4; - Nc[0] = sr & 0x7f; sr >>= 7; - bc[0] = sr & 0x3; sr >>= 2; - Mc[0] = sr & 0x3; sr >>= 2; - sr |= (uword)*c++ << 1; - xmaxc[0] = sr & 0x3f; sr >>= 6; - xmc[0] = sr & 0x7; sr >>= 3; - sr = *c++; - xmc[1] = sr & 0x7; sr >>= 3; - xmc[2] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; - xmc[3] = sr & 0x7; sr >>= 3; - xmc[4] = sr & 0x7; sr >>= 3; - xmc[5] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; /* 10 */ - xmc[6] = sr & 0x7; sr >>= 3; - xmc[7] = sr & 0x7; sr >>= 3; - xmc[8] = sr & 0x7; sr >>= 3; - sr = *c++; - xmc[9] = sr & 0x7; sr >>= 3; - xmc[10] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; - xmc[11] = sr & 0x7; sr >>= 3; - xmc[12] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 4; - Nc[1] = sr & 0x7f; sr >>= 7; - bc[1] = sr & 0x3; sr >>= 2; - Mc[1] = sr & 0x3; sr >>= 2; - sr |= (uword)*c++ << 1; - xmaxc[1] = sr & 0x3f; sr >>= 6; - xmc[13] = sr & 0x7; sr >>= 3; - sr = *c++; /* 15 */ - xmc[14] = sr & 0x7; sr >>= 3; - xmc[15] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; - xmc[16] = sr & 0x7; sr >>= 3; - xmc[17] = sr & 0x7; sr >>= 3; - xmc[18] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; - xmc[19] = sr & 0x7; sr >>= 3; - xmc[20] = sr & 0x7; sr >>= 3; - xmc[21] = sr & 0x7; sr >>= 3; - sr = *c++; - xmc[22] = sr & 0x7; sr >>= 3; - xmc[23] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; - xmc[24] = sr & 0x7; sr >>= 3; - xmc[25] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 4; /* 20 */ - Nc[2] = sr & 0x7f; sr >>= 7; - bc[2] = sr & 0x3; sr >>= 2; - Mc[2] = sr & 0x3; sr >>= 2; - sr |= (uword)*c++ << 1; - xmaxc[2] = sr & 0x3f; sr >>= 6; - xmc[26] = sr & 0x7; sr >>= 3; - sr = *c++; - xmc[27] = sr & 0x7; sr >>= 3; - xmc[28] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; - xmc[29] = sr & 0x7; sr >>= 3; - xmc[30] = sr & 0x7; sr >>= 3; - xmc[31] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; - xmc[32] = sr & 0x7; sr >>= 3; - xmc[33] = sr & 0x7; sr >>= 3; - xmc[34] = sr & 0x7; sr >>= 3; - sr = *c++; /* 25 */ - xmc[35] = sr & 0x7; sr >>= 3; - xmc[36] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; - xmc[37] = sr & 0x7; sr >>= 3; - xmc[38] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 4; - Nc[3] = sr & 0x7f; sr >>= 7; - bc[3] = sr & 0x3; sr >>= 2; - Mc[3] = sr & 0x3; sr >>= 2; - sr |= (uword)*c++ << 1; - xmaxc[3] = sr & 0x3f; sr >>= 6; - xmc[39] = sr & 0x7; sr >>= 3; - sr = *c++; - xmc[40] = sr & 0x7; sr >>= 3; - xmc[41] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; /* 30 */ - xmc[42] = sr & 0x7; sr >>= 3; - xmc[43] = sr & 0x7; sr >>= 3; - xmc[44] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; - xmc[45] = sr & 0x7; sr >>= 3; - xmc[46] = sr & 0x7; sr >>= 3; - xmc[47] = sr & 0x7; sr >>= 3; - sr = *c++; - xmc[48] = sr & 0x7; sr >>= 3; - xmc[49] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; - xmc[50] = sr & 0x7; sr >>= 3; - xmc[51] = sr & 0x7; sr >>= 3; - - s->frame_chain = sr & 0xf; - } - else { - sr = s->frame_chain; - sr |= (uword)*c++ << 4; /* 1 */ - LARc[0] = sr & 0x3f; sr >>= 6; - LARc[1] = sr & 0x3f; sr >>= 6; - sr = *c++; - LARc[2] = sr & 0x1f; sr >>= 5; - sr |= (uword)*c++ << 3; - LARc[3] = sr & 0x1f; sr >>= 5; - LARc[4] = sr & 0xf; sr >>= 4; - sr |= (uword)*c++ << 2; - LARc[5] = sr & 0xf; sr >>= 4; - LARc[6] = sr & 0x7; sr >>= 3; - LARc[7] = sr & 0x7; sr >>= 3; - sr = *c++; /* 5 */ - Nc[0] = sr & 0x7f; sr >>= 7; - sr |= (uword)*c++ << 1; - bc[0] = sr & 0x3; sr >>= 2; - Mc[0] = sr & 0x3; sr >>= 2; - sr |= (uword)*c++ << 5; - xmaxc[0] = sr & 0x3f; sr >>= 6; - xmc[0] = sr & 0x7; sr >>= 3; - xmc[1] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; - xmc[2] = sr & 0x7; sr >>= 3; - xmc[3] = sr & 0x7; sr >>= 3; - xmc[4] = sr & 0x7; sr >>= 3; - sr = *c++; - xmc[5] = sr & 0x7; sr >>= 3; - xmc[6] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; /* 10 */ - xmc[7] = sr & 0x7; sr >>= 3; - xmc[8] = sr & 0x7; sr >>= 3; - xmc[9] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; - xmc[10] = sr & 0x7; sr >>= 3; - xmc[11] = sr & 0x7; sr >>= 3; - xmc[12] = sr & 0x7; sr >>= 3; - sr = *c++; - Nc[1] = sr & 0x7f; sr >>= 7; - sr |= (uword)*c++ << 1; - bc[1] = sr & 0x3; sr >>= 2; - Mc[1] = sr & 0x3; sr >>= 2; - sr |= (uword)*c++ << 5; - xmaxc[1] = sr & 0x3f; sr >>= 6; - xmc[13] = sr & 0x7; sr >>= 3; - xmc[14] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; /* 15 */ - xmc[15] = sr & 0x7; sr >>= 3; - xmc[16] = sr & 0x7; sr >>= 3; - xmc[17] = sr & 0x7; sr >>= 3; - sr = *c++; - xmc[18] = sr & 0x7; sr >>= 3; - xmc[19] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; - xmc[20] = sr & 0x7; sr >>= 3; - xmc[21] = sr & 0x7; sr >>= 3; - xmc[22] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; - xmc[23] = sr & 0x7; sr >>= 3; - xmc[24] = sr & 0x7; sr >>= 3; - xmc[25] = sr & 0x7; sr >>= 3; - sr = *c++; - Nc[2] = sr & 0x7f; sr >>= 7; - sr |= (uword)*c++ << 1; /* 20 */ - bc[2] = sr & 0x3; sr >>= 2; - Mc[2] = sr & 0x3; sr >>= 2; - sr |= (uword)*c++ << 5; - xmaxc[2] = sr & 0x3f; sr >>= 6; - xmc[26] = sr & 0x7; sr >>= 3; - xmc[27] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; - xmc[28] = sr & 0x7; sr >>= 3; - xmc[29] = sr & 0x7; sr >>= 3; - xmc[30] = sr & 0x7; sr >>= 3; - sr = *c++; - xmc[31] = sr & 0x7; sr >>= 3; - xmc[32] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; - xmc[33] = sr & 0x7; sr >>= 3; - xmc[34] = sr & 0x7; sr >>= 3; - xmc[35] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; /* 25 */ - xmc[36] = sr & 0x7; sr >>= 3; - xmc[37] = sr & 0x7; sr >>= 3; - xmc[38] = sr & 0x7; sr >>= 3; - sr = *c++; - Nc[3] = sr & 0x7f; sr >>= 7; - sr |= (uword)*c++ << 1; - bc[3] = sr & 0x3; sr >>= 2; - Mc[3] = sr & 0x3; sr >>= 2; - sr |= (uword)*c++ << 5; - xmaxc[3] = sr & 0x3f; sr >>= 6; - xmc[39] = sr & 0x7; sr >>= 3; - xmc[40] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; - xmc[41] = sr & 0x7; sr >>= 3; - xmc[42] = sr & 0x7; sr >>= 3; - xmc[43] = sr & 0x7; sr >>= 3; - sr = *c++; /* 30 */ - xmc[44] = sr & 0x7; sr >>= 3; - xmc[45] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; - xmc[46] = sr & 0x7; sr >>= 3; - xmc[47] = sr & 0x7; sr >>= 3; - xmc[48] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; - xmc[49] = sr & 0x7; sr >>= 3; - xmc[50] = sr & 0x7; sr >>= 3; - xmc[51] = sr & 0x7; sr >>= 3; - } - } - else -#endif - { - /* GSM_MAGIC = (*c >> 4) & 0xF; */ - - if (((*c >> 4) & 0x0F) != GSM_MAGIC) return -1; - - LARc[0] = (*c++ & 0xF) << 2; /* 1 */ - LARc[0] |= (*c >> 6) & 0x3; - LARc[1] = *c++ & 0x3F; - LARc[2] = (*c >> 3) & 0x1F; - LARc[3] = (*c++ & 0x7) << 2; - LARc[3] |= (*c >> 6) & 0x3; - LARc[4] = (*c >> 2) & 0xF; - LARc[5] = (*c++ & 0x3) << 2; - LARc[5] |= (*c >> 6) & 0x3; - LARc[6] = (*c >> 3) & 0x7; - LARc[7] = *c++ & 0x7; - Nc[0] = (*c >> 1) & 0x7F; - bc[0] = (*c++ & 0x1) << 1; - bc[0] |= (*c >> 7) & 0x1; - Mc[0] = (*c >> 5) & 0x3; - xmaxc[0] = (*c++ & 0x1F) << 1; - xmaxc[0] |= (*c >> 7) & 0x1; - xmc[0] = (*c >> 4) & 0x7; - xmc[1] = (*c >> 1) & 0x7; - xmc[2] = (*c++ & 0x1) << 2; - xmc[2] |= (*c >> 6) & 0x3; - xmc[3] = (*c >> 3) & 0x7; - xmc[4] = *c++ & 0x7; - xmc[5] = (*c >> 5) & 0x7; - xmc[6] = (*c >> 2) & 0x7; - xmc[7] = (*c++ & 0x3) << 1; /* 10 */ - xmc[7] |= (*c >> 7) & 0x1; - xmc[8] = (*c >> 4) & 0x7; - xmc[9] = (*c >> 1) & 0x7; - xmc[10] = (*c++ & 0x1) << 2; - xmc[10] |= (*c >> 6) & 0x3; - xmc[11] = (*c >> 3) & 0x7; - xmc[12] = *c++ & 0x7; - Nc[1] = (*c >> 1) & 0x7F; - bc[1] = (*c++ & 0x1) << 1; - bc[1] |= (*c >> 7) & 0x1; - Mc[1] = (*c >> 5) & 0x3; - xmaxc[1] = (*c++ & 0x1F) << 1; - xmaxc[1] |= (*c >> 7) & 0x1; - xmc[13] = (*c >> 4) & 0x7; - xmc[14] = (*c >> 1) & 0x7; - xmc[15] = (*c++ & 0x1) << 2; - xmc[15] |= (*c >> 6) & 0x3; - xmc[16] = (*c >> 3) & 0x7; - xmc[17] = *c++ & 0x7; - xmc[18] = (*c >> 5) & 0x7; - xmc[19] = (*c >> 2) & 0x7; - xmc[20] = (*c++ & 0x3) << 1; - xmc[20] |= (*c >> 7) & 0x1; - xmc[21] = (*c >> 4) & 0x7; - xmc[22] = (*c >> 1) & 0x7; - xmc[23] = (*c++ & 0x1) << 2; - xmc[23] |= (*c >> 6) & 0x3; - xmc[24] = (*c >> 3) & 0x7; - xmc[25] = *c++ & 0x7; - Nc[2] = (*c >> 1) & 0x7F; - bc[2] = (*c++ & 0x1) << 1; /* 20 */ - bc[2] |= (*c >> 7) & 0x1; - Mc[2] = (*c >> 5) & 0x3; - xmaxc[2] = (*c++ & 0x1F) << 1; - xmaxc[2] |= (*c >> 7) & 0x1; - xmc[26] = (*c >> 4) & 0x7; - xmc[27] = (*c >> 1) & 0x7; - xmc[28] = (*c++ & 0x1) << 2; - xmc[28] |= (*c >> 6) & 0x3; - xmc[29] = (*c >> 3) & 0x7; - xmc[30] = *c++ & 0x7; - xmc[31] = (*c >> 5) & 0x7; - xmc[32] = (*c >> 2) & 0x7; - xmc[33] = (*c++ & 0x3) << 1; - xmc[33] |= (*c >> 7) & 0x1; - xmc[34] = (*c >> 4) & 0x7; - xmc[35] = (*c >> 1) & 0x7; - xmc[36] = (*c++ & 0x1) << 2; - xmc[36] |= (*c >> 6) & 0x3; - xmc[37] = (*c >> 3) & 0x7; - xmc[38] = *c++ & 0x7; - Nc[3] = (*c >> 1) & 0x7F; - bc[3] = (*c++ & 0x1) << 1; - bc[3] |= (*c >> 7) & 0x1; - Mc[3] = (*c >> 5) & 0x3; - xmaxc[3] = (*c++ & 0x1F) << 1; - xmaxc[3] |= (*c >> 7) & 0x1; - xmc[39] = (*c >> 4) & 0x7; - xmc[40] = (*c >> 1) & 0x7; - xmc[41] = (*c++ & 0x1) << 2; - xmc[41] |= (*c >> 6) & 0x3; - xmc[42] = (*c >> 3) & 0x7; - xmc[43] = *c++ & 0x7; /* 30 */ - xmc[44] = (*c >> 5) & 0x7; - xmc[45] = (*c >> 2) & 0x7; - xmc[46] = (*c++ & 0x3) << 1; - xmc[46] |= (*c >> 7) & 0x1; - xmc[47] = (*c >> 4) & 0x7; - xmc[48] = (*c >> 1) & 0x7; - xmc[49] = (*c++ & 0x1) << 2; - xmc[49] |= (*c >> 6) & 0x3; - xmc[50] = (*c >> 3) & 0x7; - xmc[51] = *c & 0x7; /* 33 */ - } - - Gsm_Decoder(s, LARc, Nc, bc, Mc, xmaxc, xmc, target); - - return 0; -} diff --git a/res/pjproject/third_party/gsm/src/gsm_destroy.c b/res/pjproject/third_party/gsm/src/gsm_destroy.c deleted file mode 100644 index 03c8659a2d..0000000000 --- a/res/pjproject/third_party/gsm/src/gsm_destroy.c +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/gsm_destroy.c,v 1.3 1994/11/28 19:52:25 jutta Exp $ */ - -#include "gsm.h" -#include "config.h" -#include "proto.h" - -#ifdef HAS_STDLIB_H -# include -#else -# ifdef HAS_MALLOC_H -# include -# else - extern void free(); -# endif -#endif - -void gsm_destroy P1((S), gsm S) -{ - if (S) free((char *)S); -} diff --git a/res/pjproject/third_party/gsm/src/gsm_encode.c b/res/pjproject/third_party/gsm/src/gsm_encode.c deleted file mode 100644 index 51bc5565f5..0000000000 --- a/res/pjproject/third_party/gsm/src/gsm_encode.c +++ /dev/null @@ -1,451 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/gsm_encode.c,v 1.2 1996/07/02 09:59:05 jutta Exp $ */ - -#include "private.h" -#include "gsm.h" -#include "proto.h" - -void gsm_encode P3((s, source, c), gsm s, gsm_signal * source, gsm_byte * c) -{ - word LARc[8], Nc[4], Mc[4], bc[4], xmaxc[4], xmc[13*4]; - - Gsm_Coder(s, source, LARc, Nc, bc, Mc, xmaxc, xmc); - - - /* variable size - - GSM_MAGIC 4 - - LARc[0] 6 - LARc[1] 6 - LARc[2] 5 - LARc[3] 5 - LARc[4] 4 - LARc[5] 4 - LARc[6] 3 - LARc[7] 3 - - Nc[0] 7 - bc[0] 2 - Mc[0] 2 - xmaxc[0] 6 - xmc[0] 3 - xmc[1] 3 - xmc[2] 3 - xmc[3] 3 - xmc[4] 3 - xmc[5] 3 - xmc[6] 3 - xmc[7] 3 - xmc[8] 3 - xmc[9] 3 - xmc[10] 3 - xmc[11] 3 - xmc[12] 3 - - Nc[1] 7 - bc[1] 2 - Mc[1] 2 - xmaxc[1] 6 - xmc[13] 3 - xmc[14] 3 - xmc[15] 3 - xmc[16] 3 - xmc[17] 3 - xmc[18] 3 - xmc[19] 3 - xmc[20] 3 - xmc[21] 3 - xmc[22] 3 - xmc[23] 3 - xmc[24] 3 - xmc[25] 3 - - Nc[2] 7 - bc[2] 2 - Mc[2] 2 - xmaxc[2] 6 - xmc[26] 3 - xmc[27] 3 - xmc[28] 3 - xmc[29] 3 - xmc[30] 3 - xmc[31] 3 - xmc[32] 3 - xmc[33] 3 - xmc[34] 3 - xmc[35] 3 - xmc[36] 3 - xmc[37] 3 - xmc[38] 3 - - Nc[3] 7 - bc[3] 2 - Mc[3] 2 - xmaxc[3] 6 - xmc[39] 3 - xmc[40] 3 - xmc[41] 3 - xmc[42] 3 - xmc[43] 3 - xmc[44] 3 - xmc[45] 3 - xmc[46] 3 - xmc[47] 3 - xmc[48] 3 - xmc[49] 3 - xmc[50] 3 - xmc[51] 3 - */ - -#ifdef WAV49 - - if (s->wav_fmt) { - s->frame_index = !s->frame_index; - if (s->frame_index) { - - uword sr; - - sr = 0; - sr = sr >> 6 | LARc[0] << 10; - sr = sr >> 6 | LARc[1] << 10; - *c++ = sr >> 4; - sr = sr >> 5 | LARc[2] << 11; - *c++ = sr >> 7; - sr = sr >> 5 | LARc[3] << 11; - sr = sr >> 4 | LARc[4] << 12; - *c++ = sr >> 6; - sr = sr >> 4 | LARc[5] << 12; - sr = sr >> 3 | LARc[6] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | LARc[7] << 13; - sr = sr >> 7 | Nc[0] << 9; - *c++ = sr >> 5; - sr = sr >> 2 | bc[0] << 14; - sr = sr >> 2 | Mc[0] << 14; - sr = sr >> 6 | xmaxc[0] << 10; - *c++ = sr >> 3; - sr = sr >> 3 | xmc[0] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[1] << 13; - sr = sr >> 3 | xmc[2] << 13; - sr = sr >> 3 | xmc[3] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[4] << 13; - sr = sr >> 3 | xmc[5] << 13; - sr = sr >> 3 | xmc[6] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[7] << 13; - sr = sr >> 3 | xmc[8] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[9] << 13; - sr = sr >> 3 | xmc[10] << 13; - sr = sr >> 3 | xmc[11] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[12] << 13; - sr = sr >> 7 | Nc[1] << 9; - *c++ = sr >> 5; - sr = sr >> 2 | bc[1] << 14; - sr = sr >> 2 | Mc[1] << 14; - sr = sr >> 6 | xmaxc[1] << 10; - *c++ = sr >> 3; - sr = sr >> 3 | xmc[13] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[14] << 13; - sr = sr >> 3 | xmc[15] << 13; - sr = sr >> 3 | xmc[16] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[17] << 13; - sr = sr >> 3 | xmc[18] << 13; - sr = sr >> 3 | xmc[19] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[20] << 13; - sr = sr >> 3 | xmc[21] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[22] << 13; - sr = sr >> 3 | xmc[23] << 13; - sr = sr >> 3 | xmc[24] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[25] << 13; - sr = sr >> 7 | Nc[2] << 9; - *c++ = sr >> 5; - sr = sr >> 2 | bc[2] << 14; - sr = sr >> 2 | Mc[2] << 14; - sr = sr >> 6 | xmaxc[2] << 10; - *c++ = sr >> 3; - sr = sr >> 3 | xmc[26] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[27] << 13; - sr = sr >> 3 | xmc[28] << 13; - sr = sr >> 3 | xmc[29] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[30] << 13; - sr = sr >> 3 | xmc[31] << 13; - sr = sr >> 3 | xmc[32] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[33] << 13; - sr = sr >> 3 | xmc[34] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[35] << 13; - sr = sr >> 3 | xmc[36] << 13; - sr = sr >> 3 | xmc[37] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[38] << 13; - sr = sr >> 7 | Nc[3] << 9; - *c++ = sr >> 5; - sr = sr >> 2 | bc[3] << 14; - sr = sr >> 2 | Mc[3] << 14; - sr = sr >> 6 | xmaxc[3] << 10; - *c++ = sr >> 3; - sr = sr >> 3 | xmc[39] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[40] << 13; - sr = sr >> 3 | xmc[41] << 13; - sr = sr >> 3 | xmc[42] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[43] << 13; - sr = sr >> 3 | xmc[44] << 13; - sr = sr >> 3 | xmc[45] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[46] << 13; - sr = sr >> 3 | xmc[47] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[48] << 13; - sr = sr >> 3 | xmc[49] << 13; - sr = sr >> 3 | xmc[50] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[51] << 13; - sr = sr >> 4; - *c = sr >> 8; - s->frame_chain = *c; - } - else { - uword sr; - - sr = 0; - sr = sr >> 4 | s->frame_chain << 12; - sr = sr >> 6 | LARc[0] << 10; - *c++ = sr >> 6; - sr = sr >> 6 | LARc[1] << 10; - *c++ = sr >> 8; - sr = sr >> 5 | LARc[2] << 11; - sr = sr >> 5 | LARc[3] << 11; - *c++ = sr >> 6; - sr = sr >> 4 | LARc[4] << 12; - sr = sr >> 4 | LARc[5] << 12; - *c++ = sr >> 6; - sr = sr >> 3 | LARc[6] << 13; - sr = sr >> 3 | LARc[7] << 13; - *c++ = sr >> 8; - sr = sr >> 7 | Nc[0] << 9; - sr = sr >> 2 | bc[0] << 14; - *c++ = sr >> 7; - sr = sr >> 2 | Mc[0] << 14; - sr = sr >> 6 | xmaxc[0] << 10; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[0] << 13; - sr = sr >> 3 | xmc[1] << 13; - sr = sr >> 3 | xmc[2] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[3] << 13; - sr = sr >> 3 | xmc[4] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[5] << 13; - sr = sr >> 3 | xmc[6] << 13; - sr = sr >> 3 | xmc[7] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[8] << 13; - sr = sr >> 3 | xmc[9] << 13; - sr = sr >> 3 | xmc[10] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[11] << 13; - sr = sr >> 3 | xmc[12] << 13; - *c++ = sr >> 8; - sr = sr >> 7 | Nc[1] << 9; - sr = sr >> 2 | bc[1] << 14; - *c++ = sr >> 7; - sr = sr >> 2 | Mc[1] << 14; - sr = sr >> 6 | xmaxc[1] << 10; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[13] << 13; - sr = sr >> 3 | xmc[14] << 13; - sr = sr >> 3 | xmc[15] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[16] << 13; - sr = sr >> 3 | xmc[17] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[18] << 13; - sr = sr >> 3 | xmc[19] << 13; - sr = sr >> 3 | xmc[20] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[21] << 13; - sr = sr >> 3 | xmc[22] << 13; - sr = sr >> 3 | xmc[23] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[24] << 13; - sr = sr >> 3 | xmc[25] << 13; - *c++ = sr >> 8; - sr = sr >> 7 | Nc[2] << 9; - sr = sr >> 2 | bc[2] << 14; - *c++ = sr >> 7; - sr = sr >> 2 | Mc[2] << 14; - sr = sr >> 6 | xmaxc[2] << 10; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[26] << 13; - sr = sr >> 3 | xmc[27] << 13; - sr = sr >> 3 | xmc[28] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[29] << 13; - sr = sr >> 3 | xmc[30] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[31] << 13; - sr = sr >> 3 | xmc[32] << 13; - sr = sr >> 3 | xmc[33] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[34] << 13; - sr = sr >> 3 | xmc[35] << 13; - sr = sr >> 3 | xmc[36] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[37] << 13; - sr = sr >> 3 | xmc[38] << 13; - *c++ = sr >> 8; - sr = sr >> 7 | Nc[3] << 9; - sr = sr >> 2 | bc[3] << 14; - *c++ = sr >> 7; - sr = sr >> 2 | Mc[3] << 14; - sr = sr >> 6 | xmaxc[3] << 10; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[39] << 13; - sr = sr >> 3 | xmc[40] << 13; - sr = sr >> 3 | xmc[41] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[42] << 13; - sr = sr >> 3 | xmc[43] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[44] << 13; - sr = sr >> 3 | xmc[45] << 13; - sr = sr >> 3 | xmc[46] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[47] << 13; - sr = sr >> 3 | xmc[48] << 13; - sr = sr >> 3 | xmc[49] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[50] << 13; - sr = sr >> 3 | xmc[51] << 13; - *c++ = sr >> 8; - } - } - - else - -#endif /* WAV49 */ - { - - *c++ = ((GSM_MAGIC & 0xF) << 4) /* 1 */ - | ((LARc[0] >> 2) & 0xF); - *c++ = ((LARc[0] & 0x3) << 6) - | (LARc[1] & 0x3F); - *c++ = ((LARc[2] & 0x1F) << 3) - | ((LARc[3] >> 2) & 0x7); - *c++ = ((LARc[3] & 0x3) << 6) - | ((LARc[4] & 0xF) << 2) - | ((LARc[5] >> 2) & 0x3); - *c++ = ((LARc[5] & 0x3) << 6) - | ((LARc[6] & 0x7) << 3) - | (LARc[7] & 0x7); - *c++ = ((Nc[0] & 0x7F) << 1) - | ((bc[0] >> 1) & 0x1); - *c++ = ((bc[0] & 0x1) << 7) - | ((Mc[0] & 0x3) << 5) - | ((xmaxc[0] >> 1) & 0x1F); - *c++ = ((xmaxc[0] & 0x1) << 7) - | ((xmc[0] & 0x7) << 4) - | ((xmc[1] & 0x7) << 1) - | ((xmc[2] >> 2) & 0x1); - *c++ = ((xmc[2] & 0x3) << 6) - | ((xmc[3] & 0x7) << 3) - | (xmc[4] & 0x7); - *c++ = ((xmc[5] & 0x7) << 5) /* 10 */ - | ((xmc[6] & 0x7) << 2) - | ((xmc[7] >> 1) & 0x3); - *c++ = ((xmc[7] & 0x1) << 7) - | ((xmc[8] & 0x7) << 4) - | ((xmc[9] & 0x7) << 1) - | ((xmc[10] >> 2) & 0x1); - *c++ = ((xmc[10] & 0x3) << 6) - | ((xmc[11] & 0x7) << 3) - | (xmc[12] & 0x7); - *c++ = ((Nc[1] & 0x7F) << 1) - | ((bc[1] >> 1) & 0x1); - *c++ = ((bc[1] & 0x1) << 7) - | ((Mc[1] & 0x3) << 5) - | ((xmaxc[1] >> 1) & 0x1F); - *c++ = ((xmaxc[1] & 0x1) << 7) - | ((xmc[13] & 0x7) << 4) - | ((xmc[14] & 0x7) << 1) - | ((xmc[15] >> 2) & 0x1); - *c++ = ((xmc[15] & 0x3) << 6) - | ((xmc[16] & 0x7) << 3) - | (xmc[17] & 0x7); - *c++ = ((xmc[18] & 0x7) << 5) - | ((xmc[19] & 0x7) << 2) - | ((xmc[20] >> 1) & 0x3); - *c++ = ((xmc[20] & 0x1) << 7) - | ((xmc[21] & 0x7) << 4) - | ((xmc[22] & 0x7) << 1) - | ((xmc[23] >> 2) & 0x1); - *c++ = ((xmc[23] & 0x3) << 6) - | ((xmc[24] & 0x7) << 3) - | (xmc[25] & 0x7); - *c++ = ((Nc[2] & 0x7F) << 1) /* 20 */ - | ((bc[2] >> 1) & 0x1); - *c++ = ((bc[2] & 0x1) << 7) - | ((Mc[2] & 0x3) << 5) - | ((xmaxc[2] >> 1) & 0x1F); - *c++ = ((xmaxc[2] & 0x1) << 7) - | ((xmc[26] & 0x7) << 4) - | ((xmc[27] & 0x7) << 1) - | ((xmc[28] >> 2) & 0x1); - *c++ = ((xmc[28] & 0x3) << 6) - | ((xmc[29] & 0x7) << 3) - | (xmc[30] & 0x7); - *c++ = ((xmc[31] & 0x7) << 5) - | ((xmc[32] & 0x7) << 2) - | ((xmc[33] >> 1) & 0x3); - *c++ = ((xmc[33] & 0x1) << 7) - | ((xmc[34] & 0x7) << 4) - | ((xmc[35] & 0x7) << 1) - | ((xmc[36] >> 2) & 0x1); - *c++ = ((xmc[36] & 0x3) << 6) - | ((xmc[37] & 0x7) << 3) - | (xmc[38] & 0x7); - *c++ = ((Nc[3] & 0x7F) << 1) - | ((bc[3] >> 1) & 0x1); - *c++ = ((bc[3] & 0x1) << 7) - | ((Mc[3] & 0x3) << 5) - | ((xmaxc[3] >> 1) & 0x1F); - *c++ = ((xmaxc[3] & 0x1) << 7) - | ((xmc[39] & 0x7) << 4) - | ((xmc[40] & 0x7) << 1) - | ((xmc[41] >> 2) & 0x1); - *c++ = ((xmc[41] & 0x3) << 6) /* 30 */ - | ((xmc[42] & 0x7) << 3) - | (xmc[43] & 0x7); - *c++ = ((xmc[44] & 0x7) << 5) - | ((xmc[45] & 0x7) << 2) - | ((xmc[46] >> 1) & 0x3); - *c++ = ((xmc[46] & 0x1) << 7) - | ((xmc[47] & 0x7) << 4) - | ((xmc[48] & 0x7) << 1) - | ((xmc[49] >> 2) & 0x1); - *c++ = ((xmc[49] & 0x3) << 6) - | ((xmc[50] & 0x7) << 3) - | (xmc[51] & 0x7); - - } -} diff --git a/res/pjproject/third_party/gsm/src/gsm_explode.c b/res/pjproject/third_party/gsm/src/gsm_explode.c deleted file mode 100644 index ca48f9b5fe..0000000000 --- a/res/pjproject/third_party/gsm/src/gsm_explode.c +++ /dev/null @@ -1,417 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/gsm_explode.c,v 1.2 1996/07/02 14:32:42 jutta Exp jutta $ */ - -#include "private.h" -#include "gsm.h" -#include "proto.h" - -int gsm_explode P3((s, c, target), gsm s, gsm_byte * c, gsm_signal * target) -{ -# define LARc target -# define Nc *((gsm_signal (*) [17])(target + 8)) -# define bc *((gsm_signal (*) [17])(target + 9)) -# define Mc *((gsm_signal (*) [17])(target + 10)) -# define xmaxc *((gsm_signal (*) [17])(target + 11)) - - -#ifdef WAV49 - if (s->wav_fmt) { - - uword sr = 0; - - if (s->frame_index == 1) { - - sr = *c++; - LARc[0] = sr & 0x3f; sr >>= 6; - sr |= (uword)*c++ << 2; - LARc[1] = sr & 0x3f; sr >>= 6; - sr |= (uword)*c++ << 4; - LARc[2] = sr & 0x1f; sr >>= 5; - LARc[3] = sr & 0x1f; sr >>= 5; - sr |= (uword)*c++ << 2; - LARc[4] = sr & 0xf; sr >>= 4; - LARc[5] = sr & 0xf; sr >>= 4; - sr |= (uword)*c++ << 2; /* 5 */ - LARc[6] = sr & 0x7; sr >>= 3; - LARc[7] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 4; - Nc[0] = sr & 0x7f; sr >>= 7; - bc[0] = sr & 0x3; sr >>= 2; - Mc[0] = sr & 0x3; sr >>= 2; - sr |= (uword)*c++ << 1; - xmaxc[0] = sr & 0x3f; sr >>= 6; -#undef xmc -#define xmc (target + 12) - xmc[0] = sr & 0x7; sr >>= 3; - sr = *c++; - xmc[1] = sr & 0x7; sr >>= 3; - xmc[2] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; - xmc[3] = sr & 0x7; sr >>= 3; - xmc[4] = sr & 0x7; sr >>= 3; - xmc[5] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; /* 10 */ - xmc[6] = sr & 0x7; sr >>= 3; - xmc[7] = sr & 0x7; sr >>= 3; - xmc[8] = sr & 0x7; sr >>= 3; - sr = *c++; - xmc[9] = sr & 0x7; sr >>= 3; - xmc[10] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; - xmc[11] = sr & 0x7; sr >>= 3; - xmc[12] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 4; - Nc[1] = sr & 0x7f; sr >>= 7; - bc[1] = sr & 0x3; sr >>= 2; - Mc[1] = sr & 0x3; sr >>= 2; - sr |= (uword)*c++ << 1; - xmaxc[1] = sr & 0x3f; sr >>= 6; -#undef xmc -#define xmc (target + 29 - 13) - - xmc[13] = sr & 0x7; sr >>= 3; - sr = *c++; /* 15 */ - xmc[14] = sr & 0x7; sr >>= 3; - xmc[15] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; - xmc[16] = sr & 0x7; sr >>= 3; - xmc[17] = sr & 0x7; sr >>= 3; - xmc[18] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; - xmc[19] = sr & 0x7; sr >>= 3; - xmc[20] = sr & 0x7; sr >>= 3; - xmc[21] = sr & 0x7; sr >>= 3; - sr = *c++; - xmc[22] = sr & 0x7; sr >>= 3; - xmc[23] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; - xmc[24] = sr & 0x7; sr >>= 3; - xmc[25] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 4; /* 20 */ - Nc[2] = sr & 0x7f; sr >>= 7; - bc[2] = sr & 0x3; sr >>= 2; - Mc[2] = sr & 0x3; sr >>= 2; - sr |= (uword)*c++ << 1; - xmaxc[2] = sr & 0x3f; sr >>= 6; - -#undef xmc -#define xmc (target + 46 - 26) - - xmc[26] = sr & 0x7; sr >>= 3; - sr = *c++; - xmc[27] = sr & 0x7; sr >>= 3; - xmc[28] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; - xmc[29] = sr & 0x7; sr >>= 3; - xmc[30] = sr & 0x7; sr >>= 3; - xmc[31] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; - xmc[32] = sr & 0x7; sr >>= 3; - xmc[33] = sr & 0x7; sr >>= 3; - xmc[34] = sr & 0x7; sr >>= 3; - sr = *c++; /* 25 */ - xmc[35] = sr & 0x7; sr >>= 3; - xmc[36] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; - xmc[37] = sr & 0x7; sr >>= 3; - xmc[38] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 4; - Nc[3] = sr & 0x7f; sr >>= 7; - bc[3] = sr & 0x3; sr >>= 2; - Mc[3] = sr & 0x3; sr >>= 2; - sr |= (uword)*c++ << 1; - xmaxc[3] = sr & 0x3f; sr >>= 6; -#undef xmc -#define xmc (target + 63 - 39) - - xmc[39] = sr & 0x7; sr >>= 3; - sr = *c++; - xmc[40] = sr & 0x7; sr >>= 3; - xmc[41] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; /* 30 */ - xmc[42] = sr & 0x7; sr >>= 3; - xmc[43] = sr & 0x7; sr >>= 3; - xmc[44] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; - xmc[45] = sr & 0x7; sr >>= 3; - xmc[46] = sr & 0x7; sr >>= 3; - xmc[47] = sr & 0x7; sr >>= 3; - sr = *c++; - xmc[48] = sr & 0x7; sr >>= 3; - xmc[49] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; - xmc[50] = sr & 0x7; sr >>= 3; - xmc[51] = sr & 0x7; sr >>= 3; - - s->frame_chain = sr & 0xf; - } - else { - sr = s->frame_chain; - sr |= (uword)*c++ << 4; /* 1 */ - LARc[0] = sr & 0x3f; sr >>= 6; - LARc[1] = sr & 0x3f; sr >>= 6; - sr = *c++; - LARc[2] = sr & 0x1f; sr >>= 5; - sr |= (uword)*c++ << 3; - LARc[3] = sr & 0x1f; sr >>= 5; - LARc[4] = sr & 0xf; sr >>= 4; - sr |= (uword)*c++ << 2; - LARc[5] = sr & 0xf; sr >>= 4; - LARc[6] = sr & 0x7; sr >>= 3; - LARc[7] = sr & 0x7; sr >>= 3; - sr = *c++; /* 5 */ - Nc[0] = sr & 0x7f; sr >>= 7; - sr |= (uword)*c++ << 1; - bc[0] = sr & 0x3; sr >>= 2; - Mc[0] = sr & 0x3; sr >>= 2; - sr |= (uword)*c++ << 5; - xmaxc[0] = sr & 0x3f; sr >>= 6; -#undef xmc -#define xmc (target + 12) - xmc[0] = sr & 0x7; sr >>= 3; - xmc[1] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; - xmc[2] = sr & 0x7; sr >>= 3; - xmc[3] = sr & 0x7; sr >>= 3; - xmc[4] = sr & 0x7; sr >>= 3; - sr = *c++; - xmc[5] = sr & 0x7; sr >>= 3; - xmc[6] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; /* 10 */ - xmc[7] = sr & 0x7; sr >>= 3; - xmc[8] = sr & 0x7; sr >>= 3; - xmc[9] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; - xmc[10] = sr & 0x7; sr >>= 3; - xmc[11] = sr & 0x7; sr >>= 3; - xmc[12] = sr & 0x7; sr >>= 3; - sr = *c++; - Nc[1] = sr & 0x7f; sr >>= 7; - sr |= (uword)*c++ << 1; - bc[1] = sr & 0x3; sr >>= 2; - Mc[1] = sr & 0x3; sr >>= 2; - sr |= (uword)*c++ << 5; - xmaxc[1] = sr & 0x3f; sr >>= 6; -#undef xmc -#define xmc (target + 29 - 13) - - xmc[13] = sr & 0x7; sr >>= 3; - xmc[14] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; /* 15 */ - xmc[15] = sr & 0x7; sr >>= 3; - xmc[16] = sr & 0x7; sr >>= 3; - xmc[17] = sr & 0x7; sr >>= 3; - sr = *c++; - xmc[18] = sr & 0x7; sr >>= 3; - xmc[19] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; - xmc[20] = sr & 0x7; sr >>= 3; - xmc[21] = sr & 0x7; sr >>= 3; - xmc[22] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; - xmc[23] = sr & 0x7; sr >>= 3; - xmc[24] = sr & 0x7; sr >>= 3; - xmc[25] = sr & 0x7; sr >>= 3; - sr = *c++; - Nc[2] = sr & 0x7f; sr >>= 7; - sr |= (uword)*c++ << 1; /* 20 */ - bc[2] = sr & 0x3; sr >>= 2; - Mc[2] = sr & 0x3; sr >>= 2; - sr |= (uword)*c++ << 5; - xmaxc[2] = sr & 0x3f; sr >>= 6; -#undef xmc -#define xmc (target + 46 - 26) - xmc[26] = sr & 0x7; sr >>= 3; - xmc[27] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; - xmc[28] = sr & 0x7; sr >>= 3; - xmc[29] = sr & 0x7; sr >>= 3; - xmc[30] = sr & 0x7; sr >>= 3; - sr = *c++; - xmc[31] = sr & 0x7; sr >>= 3; - xmc[32] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; - xmc[33] = sr & 0x7; sr >>= 3; - xmc[34] = sr & 0x7; sr >>= 3; - xmc[35] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; /* 25 */ - xmc[36] = sr & 0x7; sr >>= 3; - xmc[37] = sr & 0x7; sr >>= 3; - xmc[38] = sr & 0x7; sr >>= 3; - sr = *c++; - Nc[3] = sr & 0x7f; sr >>= 7; - sr |= (uword)*c++ << 1; - bc[3] = sr & 0x3; sr >>= 2; - Mc[3] = sr & 0x3; sr >>= 2; - sr |= (uword)*c++ << 5; - xmaxc[3] = sr & 0x3f; sr >>= 6; - -#undef xmc -#define xmc (target + 63 - 39) - - xmc[39] = sr & 0x7; sr >>= 3; - xmc[40] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; - xmc[41] = sr & 0x7; sr >>= 3; - xmc[42] = sr & 0x7; sr >>= 3; - xmc[43] = sr & 0x7; sr >>= 3; - sr = *c++; /* 30 */ - xmc[44] = sr & 0x7; sr >>= 3; - xmc[45] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 2; - xmc[46] = sr & 0x7; sr >>= 3; - xmc[47] = sr & 0x7; sr >>= 3; - xmc[48] = sr & 0x7; sr >>= 3; - sr |= (uword)*c++ << 1; - xmc[49] = sr & 0x7; sr >>= 3; - xmc[50] = sr & 0x7; sr >>= 3; - xmc[51] = sr & 0x7; sr >>= 3; - } - } - else -#endif - { - /* GSM_MAGIC = (*c >> 4) & 0xF; */ - - if (((*c >> 4) & 0x0F) != GSM_MAGIC) return -1; - - LARc[0] = (*c++ & 0xF) << 2; /* 1 */ - LARc[0] |= (*c >> 6) & 0x3; - LARc[1] = *c++ & 0x3F; - LARc[2] = (*c >> 3) & 0x1F; - LARc[3] = (*c++ & 0x7) << 2; - LARc[3] |= (*c >> 6) & 0x3; - LARc[4] = (*c >> 2) & 0xF; - LARc[5] = (*c++ & 0x3) << 2; - LARc[5] |= (*c >> 6) & 0x3; - LARc[6] = (*c >> 3) & 0x7; - LARc[7] = *c++ & 0x7; - - Nc[0] = (*c >> 1) & 0x7F; - - bc[0] = (*c++ & 0x1) << 1; - bc[0] |= (*c >> 7) & 0x1; - - Mc[0] = (*c >> 5) & 0x3; - - xmaxc[0] = (*c++ & 0x1F) << 1; - xmaxc[0] |= (*c >> 7) & 0x1; - -#undef xmc -#define xmc (target + 12) - - xmc[0] = (*c >> 4) & 0x7; - xmc[1] = (*c >> 1) & 0x7; - xmc[2] = (*c++ & 0x1) << 2; - xmc[2] |= (*c >> 6) & 0x3; - xmc[3] = (*c >> 3) & 0x7; - xmc[4] = *c++ & 0x7; - xmc[5] = (*c >> 5) & 0x7; - xmc[6] = (*c >> 2) & 0x7; - xmc[7] = (*c++ & 0x3) << 1; /* 10 */ - xmc[7] |= (*c >> 7) & 0x1; - xmc[8] = (*c >> 4) & 0x7; - xmc[9] = (*c >> 1) & 0x7; - xmc[10] = (*c++ & 0x1) << 2; - xmc[10] |= (*c >> 6) & 0x3; - xmc[11] = (*c >> 3) & 0x7; - xmc[12] = *c++ & 0x7; - - Nc[1] = (*c >> 1) & 0x7F; - - bc[1] = (*c++ & 0x1) << 1; - bc[1] |= (*c >> 7) & 0x1; - - Mc[1] = (*c >> 5) & 0x3; - - xmaxc[1] = (*c++ & 0x1F) << 1; - xmaxc[1] |= (*c >> 7) & 0x1; - -#undef xmc -#define xmc (target + 29 - 13) - - xmc[13] = (*c >> 4) & 0x7; - xmc[14] = (*c >> 1) & 0x7; - xmc[15] = (*c++ & 0x1) << 2; - xmc[15] |= (*c >> 6) & 0x3; - xmc[16] = (*c >> 3) & 0x7; - xmc[17] = *c++ & 0x7; - xmc[18] = (*c >> 5) & 0x7; - xmc[19] = (*c >> 2) & 0x7; - xmc[20] = (*c++ & 0x3) << 1; - xmc[20] |= (*c >> 7) & 0x1; - xmc[21] = (*c >> 4) & 0x7; - xmc[22] = (*c >> 1) & 0x7; - xmc[23] = (*c++ & 0x1) << 2; - xmc[23] |= (*c >> 6) & 0x3; - xmc[24] = (*c >> 3) & 0x7; - xmc[25] = *c++ & 0x7; - - Nc[2] = (*c >> 1) & 0x7F; - - bc[2] = (*c++ & 0x1) << 1; /* 20 */ - bc[2] |= (*c >> 7) & 0x1; - - Mc[2] = (*c >> 5) & 0x3; - - xmaxc[2] = (*c++ & 0x1F) << 1; - xmaxc[2] |= (*c >> 7) & 0x1; - -#undef xmc -#define xmc (target + 46 - 26) - - xmc[26] = (*c >> 4) & 0x7; - xmc[27] = (*c >> 1) & 0x7; - xmc[28] = (*c++ & 0x1) << 2; - xmc[28] |= (*c >> 6) & 0x3; - xmc[29] = (*c >> 3) & 0x7; - xmc[30] = *c++ & 0x7; - xmc[31] = (*c >> 5) & 0x7; - xmc[32] = (*c >> 2) & 0x7; - xmc[33] = (*c++ & 0x3) << 1; - xmc[33] |= (*c >> 7) & 0x1; - xmc[34] = (*c >> 4) & 0x7; - xmc[35] = (*c >> 1) & 0x7; - xmc[36] = (*c++ & 0x1) << 2; - xmc[36] |= (*c >> 6) & 0x3; - xmc[37] = (*c >> 3) & 0x7; - xmc[38] = *c++ & 0x7; - - Nc[3] = (*c >> 1) & 0x7F; - - bc[3] = (*c++ & 0x1) << 1; - bc[3] |= (*c >> 7) & 0x1; - - Mc[3] = (*c >> 5) & 0x3; - - xmaxc[3] = (*c++ & 0x1F) << 1; - xmaxc[3] |= (*c >> 7) & 0x1; - -#undef xmc -#define xmc (target + 63 - 39) - - xmc[39] = (*c >> 4) & 0x7; - xmc[40] = (*c >> 1) & 0x7; - xmc[41] = (*c++ & 0x1) << 2; - xmc[41] |= (*c >> 6) & 0x3; - xmc[42] = (*c >> 3) & 0x7; - xmc[43] = *c++ & 0x7; /* 30 */ - xmc[44] = (*c >> 5) & 0x7; - xmc[45] = (*c >> 2) & 0x7; - xmc[46] = (*c++ & 0x3) << 1; - xmc[46] |= (*c >> 7) & 0x1; - xmc[47] = (*c >> 4) & 0x7; - xmc[48] = (*c >> 1) & 0x7; - xmc[49] = (*c++ & 0x1) << 2; - xmc[49] |= (*c >> 6) & 0x3; - xmc[50] = (*c >> 3) & 0x7; - xmc[51] = *c & 0x7; /* 33 */ - } - - return 0; -} diff --git a/res/pjproject/third_party/gsm/src/gsm_implode.c b/res/pjproject/third_party/gsm/src/gsm_implode.c deleted file mode 100644 index 6c5672b829..0000000000 --- a/res/pjproject/third_party/gsm/src/gsm_implode.c +++ /dev/null @@ -1,521 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/gsm_implode.c,v 1.2 1996/07/02 14:32:43 jutta Exp jutta $ */ - -#include "private.h" - -#include "gsm.h" -#include "proto.h" - -void gsm_implode P3((s, source, c), gsm s, gsm_signal * source, gsm_byte * c) -{ - /* variable size index - - GSM_MAGIC 4 - - - LARc[0] 6 0 - LARc[1] 6 1 - LARc[2] 5 2 - LARc[3] 5 3 - LARc[4] 4 4 - LARc[5] 4 5 - LARc[6] 3 6 - LARc[7] 3 7 - - Nc[0] 7 8 - bc[0] 2 9 - Mc[0] 2 10 - xmaxc[0] 6 11 - xmc[0] 3 12 - xmc[1] 3 13 - xmc[2] 3 14 - xmc[3] 3 15 - xmc[4] 3 16 - xmc[5] 3 17 - xmc[6] 3 18 - xmc[7] 3 19 - xmc[8] 3 20 - xmc[9] 3 21 - xmc[10] 3 22 - xmc[11] 3 23 - xmc[12] 3 24 - - Nc[1] 7 25 - bc[1] 2 26 - Mc[1] 2 27 - xmaxc[1] 6 28 - xmc[13] 3 29 - xmc[14] 3 30 - xmc[15] 3 31 - xmc[16] 3 32 - xmc[17] 3 33 - xmc[18] 3 34 - xmc[19] 3 35 - xmc[20] 3 36 - xmc[21] 3 37 - xmc[22] 3 38 - xmc[23] 3 39 - xmc[24] 3 40 - xmc[25] 3 41 - - Nc[2] 7 42 - bc[2] 2 43 - Mc[2] 2 44 - xmaxc[2] 6 45 - xmc[26] 3 46 - xmc[27] 3 47 - xmc[28] 3 48 - xmc[29] 3 49 - xmc[30] 3 50 - xmc[31] 3 51 - xmc[32] 3 52 - xmc[33] 3 53 - xmc[34] 3 54 - xmc[35] 3 55 - xmc[36] 3 56 - xmc[37] 3 57 - xmc[38] 3 58 - - Nc[3] 7 59 - bc[3] 2 60 - Mc[3] 2 61 - xmaxc[3] 6 62 - xmc[39] 3 63 - xmc[40] 3 64 - xmc[41] 3 65 - xmc[42] 3 66 - xmc[43] 3 67 - xmc[44] 3 68 - xmc[45] 3 69 - xmc[46] 3 70 - xmc[47] 3 71 - xmc[48] 3 72 - xmc[49] 3 73 - xmc[50] 3 74 - xmc[51] 3 75 - */ - - /* There are 76 parameters per frame. The first eight are - * unique. The remaining 68 are four identical subframes of - * 17 parameters each. gsm_implode converts from a representation - * of these parameters as values in one array of signed words - * to the "packed" version of a GSM frame. - */ - -# define LARc source -# define Nc *((gsm_signal (*) [17])(source + 8)) -# define bc *((gsm_signal (*) [17])(source + 9)) -# define Mc *((gsm_signal (*) [17])(source + 10)) -# define xmaxc *((gsm_signal (*) [17])(source + 11)) - -#ifdef WAV49 - if (s->wav_fmt) { - - uword sr = 0; - if (s->frame_index) { - sr = sr >> 6 | LARc[0] << 10; - sr = sr >> 6 | LARc[1] << 10; - *c++ = sr >> 4; - sr = sr >> 5 | LARc[2] << 11; - *c++ = sr >> 7; - sr = sr >> 5 | LARc[3] << 11; - sr = sr >> 4 | LARc[4] << 12; - *c++ = sr >> 6; - sr = sr >> 4 | LARc[5] << 12; - sr = sr >> 3 | LARc[6] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | LARc[7] << 13; - sr = sr >> 7 | Nc[0] << 9; - *c++ = sr >> 5; - sr = sr >> 2 | bc[0] << 14; - sr = sr >> 2 | Mc[0] << 14; - sr = sr >> 6 | xmaxc[0] << 10; - *c++ = sr >> 3; -#undef xmc -#define xmc (source + 12) - - sr = sr >> 3 | xmc[0] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[1] << 13; - sr = sr >> 3 | xmc[2] << 13; - sr = sr >> 3 | xmc[3] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[4] << 13; - sr = sr >> 3 | xmc[5] << 13; - sr = sr >> 3 | xmc[6] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[7] << 13; - sr = sr >> 3 | xmc[8] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[9] << 13; - sr = sr >> 3 | xmc[10] << 13; - sr = sr >> 3 | xmc[11] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[12] << 13; - sr = sr >> 7 | Nc[1] << 9; - *c++ = sr >> 5; - sr = sr >> 2 | bc[1] << 14; - sr = sr >> 2 | Mc[1] << 14; - sr = sr >> 6 | xmaxc[1] << 10; - *c++ = sr >> 3; -#undef xmc -#define xmc (source + 29 - 13) - - sr = sr >> 3 | xmc[13] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[14] << 13; - sr = sr >> 3 | xmc[15] << 13; - sr = sr >> 3 | xmc[16] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[17] << 13; - sr = sr >> 3 | xmc[18] << 13; - sr = sr >> 3 | xmc[19] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[20] << 13; - sr = sr >> 3 | xmc[21] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[22] << 13; - sr = sr >> 3 | xmc[23] << 13; - sr = sr >> 3 | xmc[24] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[25] << 13; - sr = sr >> 7 | Nc[2] << 9; - *c++ = sr >> 5; - sr = sr >> 2 | bc[2] << 14; - sr = sr >> 2 | Mc[2] << 14; - sr = sr >> 6 | xmaxc[2] << 10; - *c++ = sr >> 3; -#undef xmc -#define xmc (source + 46 - 26) - - sr = sr >> 3 | xmc[26] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[27] << 13; - sr = sr >> 3 | xmc[28] << 13; - sr = sr >> 3 | xmc[29] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[30] << 13; - sr = sr >> 3 | xmc[31] << 13; - sr = sr >> 3 | xmc[32] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[33] << 13; - sr = sr >> 3 | xmc[34] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[35] << 13; - sr = sr >> 3 | xmc[36] << 13; - sr = sr >> 3 | xmc[37] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[38] << 13; - sr = sr >> 7 | Nc[3] << 9; - *c++ = sr >> 5; - sr = sr >> 2 | bc[3] << 14; - sr = sr >> 2 | Mc[3] << 14; - sr = sr >> 6 | xmaxc[3] << 10; - *c++ = sr >> 3; -#undef xmc -#define xmc (source + 63 - 39) - - sr = sr >> 3 | xmc[39] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[40] << 13; - sr = sr >> 3 | xmc[41] << 13; - sr = sr >> 3 | xmc[42] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[43] << 13; - sr = sr >> 3 | xmc[44] << 13; - sr = sr >> 3 | xmc[45] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[46] << 13; - sr = sr >> 3 | xmc[47] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[48] << 13; - sr = sr >> 3 | xmc[49] << 13; - sr = sr >> 3 | xmc[50] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[51] << 13; - sr = sr >> 4; - *c = sr >> 8; - s->frame_chain = *c; - } - else { - sr = sr >> 4 | s->frame_chain << 12; - sr = sr >> 6 | LARc[0] << 10; - *c++ = sr >> 6; - sr = sr >> 6 | LARc[1] << 10; - *c++ = sr >> 8; - sr = sr >> 5 | LARc[2] << 11; - sr = sr >> 5 | LARc[3] << 11; - *c++ = sr >> 6; - sr = sr >> 4 | LARc[4] << 12; - sr = sr >> 4 | LARc[5] << 12; - *c++ = sr >> 6; - sr = sr >> 3 | LARc[6] << 13; - sr = sr >> 3 | LARc[7] << 13; - *c++ = sr >> 8; - sr = sr >> 7 | Nc[0] << 9; - sr = sr >> 2 | bc[0] << 14; - *c++ = sr >> 7; - sr = sr >> 2 | Mc[0] << 14; - sr = sr >> 6 | xmaxc[0] << 10; - *c++ = sr >> 7; -#undef xmc -#define xmc (source + 12) - - sr = sr >> 3 | xmc[0] << 13; - sr = sr >> 3 | xmc[1] << 13; - sr = sr >> 3 | xmc[2] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[3] << 13; - sr = sr >> 3 | xmc[4] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[5] << 13; - sr = sr >> 3 | xmc[6] << 13; - sr = sr >> 3 | xmc[7] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[8] << 13; - sr = sr >> 3 | xmc[9] << 13; - sr = sr >> 3 | xmc[10] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[11] << 13; - sr = sr >> 3 | xmc[12] << 13; - *c++ = sr >> 8; - sr = sr >> 7 | Nc[1] << 9; - sr = sr >> 2 | bc[1] << 14; - *c++ = sr >> 7; - sr = sr >> 2 | Mc[1] << 14; - sr = sr >> 6 | xmaxc[1] << 10; - *c++ = sr >> 7; -#undef xmc -#define xmc (source + 29 - 13) - - sr = sr >> 3 | xmc[13] << 13; - sr = sr >> 3 | xmc[14] << 13; - sr = sr >> 3 | xmc[15] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[16] << 13; - sr = sr >> 3 | xmc[17] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[18] << 13; - sr = sr >> 3 | xmc[19] << 13; - sr = sr >> 3 | xmc[20] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[21] << 13; - sr = sr >> 3 | xmc[22] << 13; - sr = sr >> 3 | xmc[23] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[24] << 13; - sr = sr >> 3 | xmc[25] << 13; - *c++ = sr >> 8; - sr = sr >> 7 | Nc[2] << 9; - sr = sr >> 2 | bc[2] << 14; - *c++ = sr >> 7; - sr = sr >> 2 | Mc[2] << 14; - sr = sr >> 6 | xmaxc[2] << 10; - *c++ = sr >> 7; -#undef xmc -#define xmc (source + 46 - 26) - - sr = sr >> 3 | xmc[26] << 13; - sr = sr >> 3 | xmc[27] << 13; - sr = sr >> 3 | xmc[28] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[29] << 13; - sr = sr >> 3 | xmc[30] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[31] << 13; - sr = sr >> 3 | xmc[32] << 13; - sr = sr >> 3 | xmc[33] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[34] << 13; - sr = sr >> 3 | xmc[35] << 13; - sr = sr >> 3 | xmc[36] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[37] << 13; - sr = sr >> 3 | xmc[38] << 13; - *c++ = sr >> 8; - sr = sr >> 7 | Nc[3] << 9; - sr = sr >> 2 | bc[3] << 14; - *c++ = sr >> 7; - sr = sr >> 2 | Mc[3] << 14; - sr = sr >> 6 | xmaxc[3] << 10; - *c++ = sr >> 7; -#undef xmc -#define xmc (source + 63 - 39) - - sr = sr >> 3 | xmc[39] << 13; - sr = sr >> 3 | xmc[40] << 13; - sr = sr >> 3 | xmc[41] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[42] << 13; - sr = sr >> 3 | xmc[43] << 13; - *c++ = sr >> 8; - sr = sr >> 3 | xmc[44] << 13; - sr = sr >> 3 | xmc[45] << 13; - sr = sr >> 3 | xmc[46] << 13; - *c++ = sr >> 7; - sr = sr >> 3 | xmc[47] << 13; - sr = sr >> 3 | xmc[48] << 13; - sr = sr >> 3 | xmc[49] << 13; - *c++ = sr >> 6; - sr = sr >> 3 | xmc[50] << 13; - sr = sr >> 3 | xmc[51] << 13; - *c++ = sr >> 8; - } - } - else -#endif - { - - *c++ = ((GSM_MAGIC & 0xF) << 4) /* 1 */ - | ((LARc[0] >> 2) & 0xF); - *c++ = ((LARc[0] & 0x3) << 6) - | (LARc[1] & 0x3F); - *c++ = ((LARc[2] & 0x1F) << 3) - | ((LARc[3] >> 2) & 0x7); - *c++ = ((LARc[3] & 0x3) << 6) - | ((LARc[4] & 0xF) << 2) - | ((LARc[5] >> 2) & 0x3); - *c++ = ((LARc[5] & 0x3) << 6) - | ((LARc[6] & 0x7) << 3) - | (LARc[7] & 0x7); - - - *c++ = ((Nc[0] & 0x7F) << 1) - - - | ((bc[0] >> 1) & 0x1); - *c++ = ((bc[0] & 0x1) << 7) - - - | ((Mc[0] & 0x3) << 5) - - | ((xmaxc[0] >> 1) & 0x1F); - *c++ = ((xmaxc[0] & 0x1) << 7) - -#undef xmc -#define xmc (source + 12) - - | ((xmc[0] & 0x7) << 4) - | ((xmc[1] & 0x7) << 1) - | ((xmc[2] >> 2) & 0x1); - *c++ = ((xmc[2] & 0x3) << 6) - | ((xmc[3] & 0x7) << 3) - | (xmc[4] & 0x7); - *c++ = ((xmc[5] & 0x7) << 5) /* 10 */ - | ((xmc[6] & 0x7) << 2) - | ((xmc[7] >> 1) & 0x3); - *c++ = ((xmc[7] & 0x1) << 7) - | ((xmc[8] & 0x7) << 4) - | ((xmc[9] & 0x7) << 1) - | ((xmc[10] >> 2) & 0x1); - *c++ = ((xmc[10] & 0x3) << 6) - | ((xmc[11] & 0x7) << 3) - | (xmc[12] & 0x7); - - - *c++ = ((Nc[1] & 0x7F) << 1) - - - | ((bc[1] >> 1) & 0x1); - *c++ = ((bc[1] & 0x1) << 7) - - - | ((Mc[1] & 0x3) << 5) - - - | ((xmaxc[1] >> 1) & 0x1F); - *c++ = ((xmaxc[1] & 0x1) << 7) - -#undef xmc -#define xmc (source + 29 - 13) - - | ((xmc[13] & 0x7) << 4) - | ((xmc[14] & 0x7) << 1) - | ((xmc[15] >> 2) & 0x1); - *c++ = ((xmc[15] & 0x3) << 6) - | ((xmc[16] & 0x7) << 3) - | (xmc[17] & 0x7); - *c++ = ((xmc[18] & 0x7) << 5) - | ((xmc[19] & 0x7) << 2) - | ((xmc[20] >> 1) & 0x3); - *c++ = ((xmc[20] & 0x1) << 7) - | ((xmc[21] & 0x7) << 4) - | ((xmc[22] & 0x7) << 1) - | ((xmc[23] >> 2) & 0x1); - *c++ = ((xmc[23] & 0x3) << 6) - | ((xmc[24] & 0x7) << 3) - | (xmc[25] & 0x7); - - - *c++ = ((Nc[2] & 0x7F) << 1) /* 20 */ - - - | ((bc[2] >> 1) & 0x1); - *c++ = ((bc[2] & 0x1) << 7) - - - | ((Mc[2] & 0x3) << 5) - - - | ((xmaxc[2] >> 1) & 0x1F); - *c++ = ((xmaxc[2] & 0x1) << 7) - -#undef xmc -#define xmc (source + 46 - 26) - - | ((xmc[26] & 0x7) << 4) - | ((xmc[27] & 0x7) << 1) - | ((xmc[28] >> 2) & 0x1); - *c++ = ((xmc[28] & 0x3) << 6) - | ((xmc[29] & 0x7) << 3) - | (xmc[30] & 0x7); - *c++ = ((xmc[31] & 0x7) << 5) - | ((xmc[32] & 0x7) << 2) - | ((xmc[33] >> 1) & 0x3); - *c++ = ((xmc[33] & 0x1) << 7) - | ((xmc[34] & 0x7) << 4) - | ((xmc[35] & 0x7) << 1) - | ((xmc[36] >> 2) & 0x1); - *c++ = ((xmc[36] & 0x3) << 6) - | ((xmc[37] & 0x7) << 3) - | (xmc[38] & 0x7); - - - *c++ = ((Nc[3] & 0x7F) << 1) - - - | ((bc[3] >> 1) & 0x1); - *c++ = ((bc[3] & 0x1) << 7) - - - | ((Mc[3] & 0x3) << 5) - - - | ((xmaxc[3] >> 1) & 0x1F); - *c++ = ((xmaxc[3] & 0x1) << 7) - -#undef xmc -#define xmc (source + 63 - 39) - - | ((xmc[39] & 0x7) << 4) - | ((xmc[40] & 0x7) << 1) - | ((xmc[41] >> 2) & 0x1); - *c++ = ((xmc[41] & 0x3) << 6) /* 30 */ - | ((xmc[42] & 0x7) << 3) - | (xmc[43] & 0x7); - *c++ = ((xmc[44] & 0x7) << 5) - | ((xmc[45] & 0x7) << 2) - | ((xmc[46] >> 1) & 0x3); - *c++ = ((xmc[46] & 0x1) << 7) - | ((xmc[47] & 0x7) << 4) - | ((xmc[48] & 0x7) << 1) - | ((xmc[49] >> 2) & 0x1); - *c++ = ((xmc[49] & 0x3) << 6) - | ((xmc[50] & 0x7) << 3) - | (xmc[51] & 0x7); - } -} diff --git a/res/pjproject/third_party/gsm/src/gsm_option.c b/res/pjproject/third_party/gsm/src/gsm_option.c deleted file mode 100644 index 274b7b1668..0000000000 --- a/res/pjproject/third_party/gsm/src/gsm_option.c +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/gsm_option.c,v 1.3 1996/07/02 09:59:05 jutta Exp $ */ - -#include "private.h" - -#include "gsm.h" -#include "proto.h" - -int gsm_option P3((r, opt, val), gsm r, int opt, int * val) -{ - int result = -1; - - switch (opt) { - case GSM_OPT_LTP_CUT: -#ifdef LTP_CUT - result = r->ltp_cut; - if (val) r->ltp_cut = *val; -#endif - break; - - case GSM_OPT_VERBOSE: -#ifndef NDEBUG - result = r->verbose; - if (val) r->verbose = *val; -#endif - break; - - case GSM_OPT_FAST: - -#if defined(FAST) && defined(USE_FLOAT_MUL) - result = r->fast; - if (val) r->fast = !!*val; -#endif - break; - - case GSM_OPT_FRAME_CHAIN: - -#ifdef WAV49 - result = r->frame_chain; - if (val) r->frame_chain = *val; -#endif - break; - - case GSM_OPT_FRAME_INDEX: - -#ifdef WAV49 - result = r->frame_index; - if (val) r->frame_index = *val; -#endif - break; - - case GSM_OPT_WAV49: - -#ifdef WAV49 - result = r->wav_fmt; - if (val) r->wav_fmt = !!*val; -#endif - break; - - default: - break; - } - return result; -} diff --git a/res/pjproject/third_party/gsm/src/gsm_print.c b/res/pjproject/third_party/gsm/src/gsm_print.c deleted file mode 100644 index 47f753b1a3..0000000000 --- a/res/pjproject/third_party/gsm/src/gsm_print.c +++ /dev/null @@ -1,167 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/gsm_print.c,v 1.1 1992/10/28 00:15:50 jutta Exp $ */ - -#include - -#include "private.h" - -#include "gsm.h" -#include "proto.h" - -int gsm_print P3((f, s, c), FILE * f, gsm s, gsm_byte * c) -{ - word LARc[8], Nc[4], Mc[4], bc[4], xmaxc[4], xmc[13*4]; - - /* GSM_MAGIC = (*c >> 4) & 0xF; */ - - if (((*c >> 4) & 0x0F) != GSM_MAGIC) return -1; - - LARc[0] = (*c++ & 0xF) << 2; /* 1 */ - LARc[0] |= (*c >> 6) & 0x3; - LARc[1] = *c++ & 0x3F; - LARc[2] = (*c >> 3) & 0x1F; - LARc[3] = (*c++ & 0x7) << 2; - LARc[3] |= (*c >> 6) & 0x3; - LARc[4] = (*c >> 2) & 0xF; - LARc[5] = (*c++ & 0x3) << 2; - LARc[5] |= (*c >> 6) & 0x3; - LARc[6] = (*c >> 3) & 0x7; - LARc[7] = *c++ & 0x7; - - - Nc[0] = (*c >> 1) & 0x7F; - bc[0] = (*c++ & 0x1) << 1; - bc[0] |= (*c >> 7) & 0x1; - Mc[0] = (*c >> 5) & 0x3; - xmaxc[0] = (*c++ & 0x1F) << 1; - xmaxc[0] |= (*c >> 7) & 0x1; - xmc[0] = (*c >> 4) & 0x7; - xmc[1] = (*c >> 1) & 0x7; - xmc[2] = (*c++ & 0x1) << 2; - xmc[2] |= (*c >> 6) & 0x3; - xmc[3] = (*c >> 3) & 0x7; - xmc[4] = *c++ & 0x7; - xmc[5] = (*c >> 5) & 0x7; - xmc[6] = (*c >> 2) & 0x7; - xmc[7] = (*c++ & 0x3) << 1; /* 10 */ - xmc[7] |= (*c >> 7) & 0x1; - xmc[8] = (*c >> 4) & 0x7; - xmc[9] = (*c >> 1) & 0x7; - xmc[10] = (*c++ & 0x1) << 2; - xmc[10] |= (*c >> 6) & 0x3; - xmc[11] = (*c >> 3) & 0x7; - xmc[12] = *c++ & 0x7; - - Nc[1] = (*c >> 1) & 0x7F; - bc[1] = (*c++ & 0x1) << 1; - bc[1] |= (*c >> 7) & 0x1; - Mc[1] = (*c >> 5) & 0x3; - xmaxc[1] = (*c++ & 0x1F) << 1; - xmaxc[1] |= (*c >> 7) & 0x1; - xmc[13] = (*c >> 4) & 0x7; - xmc[14] = (*c >> 1) & 0x7; - xmc[15] = (*c++ & 0x1) << 2; - xmc[15] |= (*c >> 6) & 0x3; - xmc[16] = (*c >> 3) & 0x7; - xmc[17] = *c++ & 0x7; - xmc[18] = (*c >> 5) & 0x7; - xmc[19] = (*c >> 2) & 0x7; - xmc[20] = (*c++ & 0x3) << 1; - xmc[20] |= (*c >> 7) & 0x1; - xmc[21] = (*c >> 4) & 0x7; - xmc[22] = (*c >> 1) & 0x7; - xmc[23] = (*c++ & 0x1) << 2; - xmc[23] |= (*c >> 6) & 0x3; - xmc[24] = (*c >> 3) & 0x7; - xmc[25] = *c++ & 0x7; - - - Nc[2] = (*c >> 1) & 0x7F; - bc[2] = (*c++ & 0x1) << 1; /* 20 */ - bc[2] |= (*c >> 7) & 0x1; - Mc[2] = (*c >> 5) & 0x3; - xmaxc[2] = (*c++ & 0x1F) << 1; - xmaxc[2] |= (*c >> 7) & 0x1; - xmc[26] = (*c >> 4) & 0x7; - xmc[27] = (*c >> 1) & 0x7; - xmc[28] = (*c++ & 0x1) << 2; - xmc[28] |= (*c >> 6) & 0x3; - xmc[29] = (*c >> 3) & 0x7; - xmc[30] = *c++ & 0x7; - xmc[31] = (*c >> 5) & 0x7; - xmc[32] = (*c >> 2) & 0x7; - xmc[33] = (*c++ & 0x3) << 1; - xmc[33] |= (*c >> 7) & 0x1; - xmc[34] = (*c >> 4) & 0x7; - xmc[35] = (*c >> 1) & 0x7; - xmc[36] = (*c++ & 0x1) << 2; - xmc[36] |= (*c >> 6) & 0x3; - xmc[37] = (*c >> 3) & 0x7; - xmc[38] = *c++ & 0x7; - - Nc[3] = (*c >> 1) & 0x7F; - bc[3] = (*c++ & 0x1) << 1; - bc[3] |= (*c >> 7) & 0x1; - Mc[3] = (*c >> 5) & 0x3; - xmaxc[3] = (*c++ & 0x1F) << 1; - xmaxc[3] |= (*c >> 7) & 0x1; - - xmc[39] = (*c >> 4) & 0x7; - xmc[40] = (*c >> 1) & 0x7; - xmc[41] = (*c++ & 0x1) << 2; - xmc[41] |= (*c >> 6) & 0x3; - xmc[42] = (*c >> 3) & 0x7; - xmc[43] = *c++ & 0x7; /* 30 */ - xmc[44] = (*c >> 5) & 0x7; - xmc[45] = (*c >> 2) & 0x7; - xmc[46] = (*c++ & 0x3) << 1; - xmc[46] |= (*c >> 7) & 0x1; - xmc[47] = (*c >> 4) & 0x7; - xmc[48] = (*c >> 1) & 0x7; - xmc[49] = (*c++ & 0x1) << 2; - xmc[49] |= (*c >> 6) & 0x3; - xmc[50] = (*c >> 3) & 0x7; - xmc[51] = *c & 0x7; /* 33 */ - - fprintf(f, - "LARc:\t%2.2d %2.2d %2.2d %2.2d %2.2d %2.2d %2.2d %2.2d\n", - LARc[0],LARc[1],LARc[2],LARc[3],LARc[4],LARc[5],LARc[6],LARc[7]); - - fprintf(f, "#1: Nc %4.4d bc %d Mc %d xmaxc %d\n", - Nc[0], bc[0], Mc[0], xmaxc[0]); - fprintf(f, -"\t%.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d\n", - xmc[0],xmc[1],xmc[2],xmc[3],xmc[4],xmc[5],xmc[6], - xmc[7],xmc[8],xmc[9],xmc[10],xmc[11],xmc[12] ); - - fprintf(f, "#2: Nc %4.4d bc %d Mc %d xmaxc %d\n", - Nc[1], bc[1], Mc[1], xmaxc[1]); - fprintf(f, -"\t%.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d\n", - xmc[13+0],xmc[13+1],xmc[13+2],xmc[13+3],xmc[13+4],xmc[13+5], - xmc[13+6], xmc[13+7],xmc[13+8],xmc[13+9],xmc[13+10],xmc[13+11], - xmc[13+12] ); - - fprintf(f, "#3: Nc %4.4d bc %d Mc %d xmaxc %d\n", - Nc[2], bc[2], Mc[2], xmaxc[2]); - fprintf(f, -"\t%.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d\n", - xmc[26+0],xmc[26+1],xmc[26+2],xmc[26+3],xmc[26+4],xmc[26+5], - xmc[26+6], xmc[26+7],xmc[26+8],xmc[26+9],xmc[26+10],xmc[26+11], - xmc[26+12] ); - - fprintf(f, "#4: Nc %4.4d bc %d Mc %d xmaxc %d\n", - Nc[3], bc[3], Mc[3], xmaxc[3]); - fprintf(f, -"\t%.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d %.2d\n", - xmc[39+0],xmc[39+1],xmc[39+2],xmc[39+3],xmc[39+4],xmc[39+5], - xmc[39+6], xmc[39+7],xmc[39+8],xmc[39+9],xmc[39+10],xmc[39+11], - xmc[39+12] ); - - return 0; -} diff --git a/res/pjproject/third_party/gsm/src/long_term.c b/res/pjproject/third_party/gsm/src/long_term.c deleted file mode 100644 index 91bf8a957e..0000000000 --- a/res/pjproject/third_party/gsm/src/long_term.c +++ /dev/null @@ -1,950 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/long_term.c,v 1.6 1996/07/02 12:33:19 jutta Exp $ */ - -#include "config.h" -#include -#include - -#include "private.h" - -#include "gsm.h" -#include "proto.h" - -/* - * 4.2.11 .. 4.2.12 LONG TERM PREDICTOR (LTP) SECTION - */ - - -/* - * This module computes the LTP gain (bc) and the LTP lag (Nc) - * for the long term analysis filter. This is done by calculating a - * maximum of the cross-correlation function between the current - * sub-segment short term residual signal d[0..39] (output of - * the short term analysis filter; for simplification the index - * of this array begins at 0 and ends at 39 for each sub-segment of the - * RPE-LTP analysis) and the previous reconstructed short term - * residual signal dp[ -120 .. -1 ]. A dynamic scaling must be - * performed to avoid overflow. - */ - - /* The next procedure exists in six versions. First two integer - * version (if USE_FLOAT_MUL is not defined); then four floating - * point versions, twice with proper scaling (USE_FLOAT_MUL defined), - * once without (USE_FLOAT_MUL and FAST defined, and fast run-time - * option used). Every pair has first a Cut version (see the -C - * option to toast or the LTP_CUT option to gsm_option()), then the - * uncut one. (For a detailed explanation of why this is altogether - * a bad idea, see Henry Spencer and Geoff Collyer, ``#ifdef Considered - * Harmful''.) - */ - -#ifndef USE_FLOAT_MUL - -#ifdef LTP_CUT - -static void Cut_Calculation_of_the_LTP_parameters P5((st, d,dp,bc_out,Nc_out), - - struct gsm_state * st, - - register word * d, /* [0..39] IN */ - register word * dp, /* [-120..-1] IN */ - word * bc_out, /* OUT */ - word * Nc_out /* OUT */ -) -{ - register int k, lambda; - word Nc, bc; - word wt[40]; - - longword L_result; - longword L_max, L_power; - word R, S, dmax, scal, best_k; - word ltp_cut; - - register word temp, wt_k; - - /* Search of the optimum scaling of d[0..39]. - */ - dmax = 0; - for (k = 0; k <= 39; k++) { - temp = d[k]; - temp = GSM_ABS( temp ); - if (temp > dmax) { - dmax = temp; - best_k = k; - } - } - temp = 0; - if (dmax == 0) scal = 0; - else { - assert(dmax > 0); - temp = gsm_norm( (longword)dmax << 16 ); - } - if (temp > 6) scal = 0; - else scal = 6 - temp; - assert(scal >= 0); - - /* Search for the maximum cross-correlation and coding of the LTP lag - */ - L_max = 0; - Nc = 40; /* index for the maximum cross-correlation */ - wt_k = SASR(d[best_k], scal); - - for (lambda = 40; lambda <= 120; lambda++) { - L_result = (longword)wt_k * dp[best_k - lambda]; - if (L_result > L_max) { - Nc = lambda; - L_max = L_result; - } - } - *Nc_out = Nc; - L_max <<= 1; - - /* Rescaling of L_max - */ - assert(scal <= 100 && scal >= -100); - L_max = L_max >> (6 - scal); /* sub(6, scal) */ - - assert( Nc <= 120 && Nc >= 40); - - /* Compute the power of the reconstructed short term residual - * signal dp[..] - */ - L_power = 0; - for (k = 0; k <= 39; k++) { - - register longword L_temp; - - L_temp = SASR( dp[k - Nc], 3 ); - L_power += L_temp * L_temp; - } - L_power <<= 1; /* from L_MULT */ - - /* Normalization of L_max and L_power - */ - - if (L_max <= 0) { - *bc_out = 0; - return; - } - if (L_max >= L_power) { - *bc_out = 3; - return; - } - - temp = gsm_norm( L_power ); - - R = SASR( L_max << temp, 16 ); - S = SASR( L_power << temp, 16 ); - - /* Coding of the LTP gain - */ - - /* Table 4.3a must be used to obtain the level DLB[i] for the - * quantization of the LTP gain b to get the coded version bc. - */ - for (bc = 0; bc <= 2; bc++) if (R <= gsm_mult(S, gsm_DLB[bc])) break; - *bc_out = bc; -} - -#endif /* LTP_CUT */ - -static void Calculation_of_the_LTP_parameters P4((d,dp,bc_out,Nc_out), - register word * d, /* [0..39] IN */ - register word * dp, /* [-120..-1] IN */ - word * bc_out, /* OUT */ - word * Nc_out /* OUT */ -) -{ - register int k, lambda; - word Nc, bc; - word wt[40]; - - longword L_max, L_power; - word R, S, dmax, scal; - register word temp; - - /* Search of the optimum scaling of d[0..39]. - */ - dmax = 0; - - for (k = 0; k <= 39; k++) { - temp = d[k]; - temp = GSM_ABS( temp ); - if (temp > dmax) dmax = temp; - } - - temp = 0; - if (dmax == 0) scal = 0; - else { - assert(dmax > 0); - temp = gsm_norm( (longword)dmax << 16 ); - } - - if (temp > 6) scal = 0; - else scal = 6 - temp; - - assert(scal >= 0); - - /* Initialization of a working array wt - */ - - for (k = 0; k <= 39; k++) wt[k] = SASR( d[k], scal ); - - /* Search for the maximum cross-correlation and coding of the LTP lag - */ - L_max = 0; - Nc = 40; /* index for the maximum cross-correlation */ - - for (lambda = 40; lambda <= 120; lambda++) { - -# undef STEP -# define STEP(k) (longword)wt[k] * dp[k - lambda] - - register longword L_result; - - L_result = STEP(0) ; L_result += STEP(1) ; - L_result += STEP(2) ; L_result += STEP(3) ; - L_result += STEP(4) ; L_result += STEP(5) ; - L_result += STEP(6) ; L_result += STEP(7) ; - L_result += STEP(8) ; L_result += STEP(9) ; - L_result += STEP(10) ; L_result += STEP(11) ; - L_result += STEP(12) ; L_result += STEP(13) ; - L_result += STEP(14) ; L_result += STEP(15) ; - L_result += STEP(16) ; L_result += STEP(17) ; - L_result += STEP(18) ; L_result += STEP(19) ; - L_result += STEP(20) ; L_result += STEP(21) ; - L_result += STEP(22) ; L_result += STEP(23) ; - L_result += STEP(24) ; L_result += STEP(25) ; - L_result += STEP(26) ; L_result += STEP(27) ; - L_result += STEP(28) ; L_result += STEP(29) ; - L_result += STEP(30) ; L_result += STEP(31) ; - L_result += STEP(32) ; L_result += STEP(33) ; - L_result += STEP(34) ; L_result += STEP(35) ; - L_result += STEP(36) ; L_result += STEP(37) ; - L_result += STEP(38) ; L_result += STEP(39) ; - - if (L_result > L_max) { - - Nc = lambda; - L_max = L_result; - } - } - - *Nc_out = Nc; - - L_max <<= 1; - - /* Rescaling of L_max - */ - assert(scal <= 100 && scal >= -100); - L_max = L_max >> (6 - scal); /* sub(6, scal) */ - - assert( Nc <= 120 && Nc >= 40); - - /* Compute the power of the reconstructed short term residual - * signal dp[..] - */ - L_power = 0; - for (k = 0; k <= 39; k++) { - - register longword L_temp; - - L_temp = SASR( dp[k - Nc], 3 ); - L_power += L_temp * L_temp; - } - L_power <<= 1; /* from L_MULT */ - - /* Normalization of L_max and L_power - */ - - if (L_max <= 0) { - *bc_out = 0; - return; - } - if (L_max >= L_power) { - *bc_out = 3; - return; - } - - temp = gsm_norm( L_power ); - - R = SASR( L_max << temp, 16 ); - S = SASR( L_power << temp, 16 ); - - /* Coding of the LTP gain - */ - - /* Table 4.3a must be used to obtain the level DLB[i] for the - * quantization of the LTP gain b to get the coded version bc. - */ - for (bc = 0; bc <= 2; bc++) if (R <= gsm_mult(S, gsm_DLB[bc])) break; - *bc_out = bc; -} - -#else /* USE_FLOAT_MUL */ - -#ifdef LTP_CUT - -static void Cut_Calculation_of_the_LTP_parameters P5((st, d,dp,bc_out,Nc_out), - struct gsm_state * st, /* IN */ - register word * d, /* [0..39] IN */ - register word * dp, /* [-120..-1] IN */ - word * bc_out, /* OUT */ - word * Nc_out /* OUT */ -) -{ - register int k, lambda; - word Nc, bc; - word ltp_cut; - - float wt_float[40]; - float dp_float_base[120], * dp_float = dp_float_base + 120; - - longword L_max, L_power; - word R, S, dmax, scal; - register word temp; - - /* Search of the optimum scaling of d[0..39]. - */ - dmax = 0; - - for (k = 0; k <= 39; k++) { - temp = d[k]; - temp = GSM_ABS( temp ); - if (temp > dmax) dmax = temp; - } - - temp = 0; - if (dmax == 0) scal = 0; - else { - assert(dmax > 0); - temp = gsm_norm( (longword)dmax << 16 ); - } - - if (temp > 6) scal = 0; - else scal = 6 - temp; - - assert(scal >= 0); - ltp_cut = (longword)SASR(dmax, scal) * st->ltp_cut / 100; - - - /* Initialization of a working array wt - */ - - for (k = 0; k < 40; k++) { - register word w = SASR( d[k], scal ); - if (w < 0 ? w > -ltp_cut : w < ltp_cut) { - wt_float[k] = 0.0; - } - else { - wt_float[k] = w; - } - } - for (k = -120; k < 0; k++) dp_float[k] = dp[k]; - - /* Search for the maximum cross-correlation and coding of the LTP lag - */ - L_max = 0; - Nc = 40; /* index for the maximum cross-correlation */ - - for (lambda = 40; lambda <= 120; lambda += 9) { - - /* Calculate L_result for l = lambda .. lambda + 9. - */ - register float *lp = dp_float - lambda; - - register float W; - register float a = lp[-8], b = lp[-7], c = lp[-6], - d = lp[-5], e = lp[-4], f = lp[-3], - g = lp[-2], h = lp[-1]; - register float E; - register float S0 = 0, S1 = 0, S2 = 0, S3 = 0, S4 = 0, - S5 = 0, S6 = 0, S7 = 0, S8 = 0; - -# undef STEP -# define STEP(K, a, b, c, d, e, f, g, h) \ - if ((W = wt_float[K]) != 0.0) { \ - E = W * a; S8 += E; \ - E = W * b; S7 += E; \ - E = W * c; S6 += E; \ - E = W * d; S5 += E; \ - E = W * e; S4 += E; \ - E = W * f; S3 += E; \ - E = W * g; S2 += E; \ - E = W * h; S1 += E; \ - a = lp[K]; \ - E = W * a; S0 += E; } else (a = lp[K]) - -# define STEP_A(K) STEP(K, a, b, c, d, e, f, g, h) -# define STEP_B(K) STEP(K, b, c, d, e, f, g, h, a) -# define STEP_C(K) STEP(K, c, d, e, f, g, h, a, b) -# define STEP_D(K) STEP(K, d, e, f, g, h, a, b, c) -# define STEP_E(K) STEP(K, e, f, g, h, a, b, c, d) -# define STEP_F(K) STEP(K, f, g, h, a, b, c, d, e) -# define STEP_G(K) STEP(K, g, h, a, b, c, d, e, f) -# define STEP_H(K) STEP(K, h, a, b, c, d, e, f, g) - - STEP_A( 0); STEP_B( 1); STEP_C( 2); STEP_D( 3); - STEP_E( 4); STEP_F( 5); STEP_G( 6); STEP_H( 7); - - STEP_A( 8); STEP_B( 9); STEP_C(10); STEP_D(11); - STEP_E(12); STEP_F(13); STEP_G(14); STEP_H(15); - - STEP_A(16); STEP_B(17); STEP_C(18); STEP_D(19); - STEP_E(20); STEP_F(21); STEP_G(22); STEP_H(23); - - STEP_A(24); STEP_B(25); STEP_C(26); STEP_D(27); - STEP_E(28); STEP_F(29); STEP_G(30); STEP_H(31); - - STEP_A(32); STEP_B(33); STEP_C(34); STEP_D(35); - STEP_E(36); STEP_F(37); STEP_G(38); STEP_H(39); - - if (S0 > L_max) { L_max = S0; Nc = lambda; } - if (S1 > L_max) { L_max = S1; Nc = lambda + 1; } - if (S2 > L_max) { L_max = S2; Nc = lambda + 2; } - if (S3 > L_max) { L_max = S3; Nc = lambda + 3; } - if (S4 > L_max) { L_max = S4; Nc = lambda + 4; } - if (S5 > L_max) { L_max = S5; Nc = lambda + 5; } - if (S6 > L_max) { L_max = S6; Nc = lambda + 6; } - if (S7 > L_max) { L_max = S7; Nc = lambda + 7; } - if (S8 > L_max) { L_max = S8; Nc = lambda + 8; } - - } - *Nc_out = Nc; - - L_max <<= 1; - - /* Rescaling of L_max - */ - assert(scal <= 100 && scal >= -100); - L_max = L_max >> (6 - scal); /* sub(6, scal) */ - - assert( Nc <= 120 && Nc >= 40); - - /* Compute the power of the reconstructed short term residual - * signal dp[..] - */ - L_power = 0; - for (k = 0; k <= 39; k++) { - - register longword L_temp; - - L_temp = SASR( dp[k - Nc], 3 ); - L_power += L_temp * L_temp; - } - L_power <<= 1; /* from L_MULT */ - - /* Normalization of L_max and L_power - */ - - if (L_max <= 0) { - *bc_out = 0; - return; - } - if (L_max >= L_power) { - *bc_out = 3; - return; - } - - temp = gsm_norm( L_power ); - - R = SASR( L_max << temp, 16 ); - S = SASR( L_power << temp, 16 ); - - /* Coding of the LTP gain - */ - - /* Table 4.3a must be used to obtain the level DLB[i] for the - * quantization of the LTP gain b to get the coded version bc. - */ - for (bc = 0; bc <= 2; bc++) if (R <= gsm_mult(S, gsm_DLB[bc])) break; - *bc_out = bc; -} - -#endif /* LTP_CUT */ - -static void Calculation_of_the_LTP_parameters P4((d,dp,bc_out,Nc_out), - register word * d, /* [0..39] IN */ - register word * dp, /* [-120..-1] IN */ - word * bc_out, /* OUT */ - word * Nc_out /* OUT */ -) -{ - register int k, lambda; - word Nc, bc; - - float wt_float[40]; - float dp_float_base[120], * dp_float = dp_float_base + 120; - - longword L_max, L_power; - word R, S, dmax, scal; - register word temp; - - /* Search of the optimum scaling of d[0..39]. - */ - dmax = 0; - - for (k = 0; k <= 39; k++) { - temp = d[k]; - temp = GSM_ABS( temp ); - if (temp > dmax) dmax = temp; - } - - temp = 0; - if (dmax == 0) scal = 0; - else { - assert(dmax > 0); - temp = gsm_norm( (longword)dmax << 16 ); - } - - if (temp > 6) scal = 0; - else scal = 6 - temp; - - assert(scal >= 0); - - /* Initialization of a working array wt - */ - - for (k = 0; k < 40; k++) wt_float[k] = SASR( d[k], scal ); - for (k = -120; k < 0; k++) dp_float[k] = dp[k]; - - /* Search for the maximum cross-correlation and coding of the LTP lag - */ - L_max = 0; - Nc = 40; /* index for the maximum cross-correlation */ - - for (lambda = 40; lambda <= 120; lambda += 9) { - - /* Calculate L_result for l = lambda .. lambda + 9. - */ - register float *lp = dp_float - lambda; - - register float W; - register float a = lp[-8], b = lp[-7], c = lp[-6], - d = lp[-5], e = lp[-4], f = lp[-3], - g = lp[-2], h = lp[-1]; - register float E; - register float S0 = 0, S1 = 0, S2 = 0, S3 = 0, S4 = 0, - S5 = 0, S6 = 0, S7 = 0, S8 = 0; - -# undef STEP -# define STEP(K, a, b, c, d, e, f, g, h) \ - W = wt_float[K]; \ - E = W * a; S8 += E; \ - E = W * b; S7 += E; \ - E = W * c; S6 += E; \ - E = W * d; S5 += E; \ - E = W * e; S4 += E; \ - E = W * f; S3 += E; \ - E = W * g; S2 += E; \ - E = W * h; S1 += E; \ - a = lp[K]; \ - E = W * a; S0 += E - -# define STEP_A(K) STEP(K, a, b, c, d, e, f, g, h) -# define STEP_B(K) STEP(K, b, c, d, e, f, g, h, a) -# define STEP_C(K) STEP(K, c, d, e, f, g, h, a, b) -# define STEP_D(K) STEP(K, d, e, f, g, h, a, b, c) -# define STEP_E(K) STEP(K, e, f, g, h, a, b, c, d) -# define STEP_F(K) STEP(K, f, g, h, a, b, c, d, e) -# define STEP_G(K) STEP(K, g, h, a, b, c, d, e, f) -# define STEP_H(K) STEP(K, h, a, b, c, d, e, f, g) - - STEP_A( 0); STEP_B( 1); STEP_C( 2); STEP_D( 3); - STEP_E( 4); STEP_F( 5); STEP_G( 6); STEP_H( 7); - - STEP_A( 8); STEP_B( 9); STEP_C(10); STEP_D(11); - STEP_E(12); STEP_F(13); STEP_G(14); STEP_H(15); - - STEP_A(16); STEP_B(17); STEP_C(18); STEP_D(19); - STEP_E(20); STEP_F(21); STEP_G(22); STEP_H(23); - - STEP_A(24); STEP_B(25); STEP_C(26); STEP_D(27); - STEP_E(28); STEP_F(29); STEP_G(30); STEP_H(31); - - STEP_A(32); STEP_B(33); STEP_C(34); STEP_D(35); - STEP_E(36); STEP_F(37); STEP_G(38); STEP_H(39); - - if (S0 > L_max) { L_max = S0; Nc = lambda; } - if (S1 > L_max) { L_max = S1; Nc = lambda + 1; } - if (S2 > L_max) { L_max = S2; Nc = lambda + 2; } - if (S3 > L_max) { L_max = S3; Nc = lambda + 3; } - if (S4 > L_max) { L_max = S4; Nc = lambda + 4; } - if (S5 > L_max) { L_max = S5; Nc = lambda + 5; } - if (S6 > L_max) { L_max = S6; Nc = lambda + 6; } - if (S7 > L_max) { L_max = S7; Nc = lambda + 7; } - if (S8 > L_max) { L_max = S8; Nc = lambda + 8; } - } - *Nc_out = Nc; - - L_max <<= 1; - - /* Rescaling of L_max - */ - assert(scal <= 100 && scal >= -100); - L_max = L_max >> (6 - scal); /* sub(6, scal) */ - - assert( Nc <= 120 && Nc >= 40); - - /* Compute the power of the reconstructed short term residual - * signal dp[..] - */ - L_power = 0; - for (k = 0; k <= 39; k++) { - - register longword L_temp; - - L_temp = SASR( dp[k - Nc], 3 ); - L_power += L_temp * L_temp; - } - L_power <<= 1; /* from L_MULT */ - - /* Normalization of L_max and L_power - */ - - if (L_max <= 0) { - *bc_out = 0; - return; - } - if (L_max >= L_power) { - *bc_out = 3; - return; - } - - temp = gsm_norm( L_power ); - - R = SASR( L_max << temp, 16 ); - S = SASR( L_power << temp, 16 ); - - /* Coding of the LTP gain - */ - - /* Table 4.3a must be used to obtain the level DLB[i] for the - * quantization of the LTP gain b to get the coded version bc. - */ - for (bc = 0; bc <= 2; bc++) if (R <= gsm_mult(S, gsm_DLB[bc])) break; - *bc_out = bc; -} - -#ifdef FAST -#ifdef LTP_CUT - -static void Cut_Fast_Calculation_of_the_LTP_parameters P5((st, - d,dp,bc_out,Nc_out), - struct gsm_state * st, /* IN */ - register word * d, /* [0..39] IN */ - register word * dp, /* [-120..-1] IN */ - word * bc_out, /* OUT */ - word * Nc_out /* OUT */ -) -{ - register int k, lambda; - register float wt_float; - word Nc, bc; - word wt_max, best_k, ltp_cut; - - float dp_float_base[120], * dp_float = dp_float_base + 120; - - register float L_result, L_max, L_power; - - wt_max = 0; - - for (k = 0; k < 40; ++k) { - if ( d[k] > wt_max) wt_max = d[best_k = k]; - else if (-d[k] > wt_max) wt_max = -d[best_k = k]; - } - - assert(wt_max >= 0); - wt_float = (float)wt_max; - - for (k = -120; k < 0; ++k) dp_float[k] = (float)dp[k]; - - /* Search for the maximum cross-correlation and coding of the LTP lag - */ - L_max = 0; - Nc = 40; /* index for the maximum cross-correlation */ - - for (lambda = 40; lambda <= 120; lambda++) { - L_result = wt_float * dp_float[best_k - lambda]; - if (L_result > L_max) { - Nc = lambda; - L_max = L_result; - } - } - - *Nc_out = Nc; - if (L_max <= 0.) { - *bc_out = 0; - return; - } - - /* Compute the power of the reconstructed short term residual - * signal dp[..] - */ - dp_float -= Nc; - L_power = 0; - for (k = 0; k < 40; ++k) { - register float f = dp_float[k]; - L_power += f * f; - } - - if (L_max >= L_power) { - *bc_out = 3; - return; - } - - /* Coding of the LTP gain - * Table 4.3a must be used to obtain the level DLB[i] for the - * quantization of the LTP gain b to get the coded version bc. - */ - lambda = L_max / L_power * 32768.; - for (bc = 0; bc <= 2; ++bc) if (lambda <= gsm_DLB[bc]) break; - *bc_out = bc; -} - -#endif /* LTP_CUT */ - -static void Fast_Calculation_of_the_LTP_parameters P4((d,dp,bc_out,Nc_out), - register word * d, /* [0..39] IN */ - register word * dp, /* [-120..-1] IN */ - word * bc_out, /* OUT */ - word * Nc_out /* OUT */ -) -{ - register int k, lambda; - word Nc, bc; - - float wt_float[40]; - float dp_float_base[120], * dp_float = dp_float_base + 120; - - register float L_max, L_power; - - for (k = 0; k < 40; ++k) wt_float[k] = (float)d[k]; - for (k = -120; k < 0; ++k) dp_float[k] = (float)dp[k]; - - /* Search for the maximum cross-correlation and coding of the LTP lag - */ - L_max = 0; - Nc = 40; /* index for the maximum cross-correlation */ - - for (lambda = 40; lambda <= 120; lambda += 9) { - - /* Calculate L_result for l = lambda .. lambda + 9. - */ - register float *lp = dp_float - lambda; - - register float W; - register float a = lp[-8], b = lp[-7], c = lp[-6], - d = lp[-5], e = lp[-4], f = lp[-3], - g = lp[-2], h = lp[-1]; - register float E; - register float S0 = 0, S1 = 0, S2 = 0, S3 = 0, S4 = 0, - S5 = 0, S6 = 0, S7 = 0, S8 = 0; - -# undef STEP -# define STEP(K, a, b, c, d, e, f, g, h) \ - W = wt_float[K]; \ - E = W * a; S8 += E; \ - E = W * b; S7 += E; \ - E = W * c; S6 += E; \ - E = W * d; S5 += E; \ - E = W * e; S4 += E; \ - E = W * f; S3 += E; \ - E = W * g; S2 += E; \ - E = W * h; S1 += E; \ - a = lp[K]; \ - E = W * a; S0 += E - -# define STEP_A(K) STEP(K, a, b, c, d, e, f, g, h) -# define STEP_B(K) STEP(K, b, c, d, e, f, g, h, a) -# define STEP_C(K) STEP(K, c, d, e, f, g, h, a, b) -# define STEP_D(K) STEP(K, d, e, f, g, h, a, b, c) -# define STEP_E(K) STEP(K, e, f, g, h, a, b, c, d) -# define STEP_F(K) STEP(K, f, g, h, a, b, c, d, e) -# define STEP_G(K) STEP(K, g, h, a, b, c, d, e, f) -# define STEP_H(K) STEP(K, h, a, b, c, d, e, f, g) - - STEP_A( 0); STEP_B( 1); STEP_C( 2); STEP_D( 3); - STEP_E( 4); STEP_F( 5); STEP_G( 6); STEP_H( 7); - - STEP_A( 8); STEP_B( 9); STEP_C(10); STEP_D(11); - STEP_E(12); STEP_F(13); STEP_G(14); STEP_H(15); - - STEP_A(16); STEP_B(17); STEP_C(18); STEP_D(19); - STEP_E(20); STEP_F(21); STEP_G(22); STEP_H(23); - - STEP_A(24); STEP_B(25); STEP_C(26); STEP_D(27); - STEP_E(28); STEP_F(29); STEP_G(30); STEP_H(31); - - STEP_A(32); STEP_B(33); STEP_C(34); STEP_D(35); - STEP_E(36); STEP_F(37); STEP_G(38); STEP_H(39); - - if (S0 > L_max) { L_max = S0; Nc = lambda; } - if (S1 > L_max) { L_max = S1; Nc = lambda + 1; } - if (S2 > L_max) { L_max = S2; Nc = lambda + 2; } - if (S3 > L_max) { L_max = S3; Nc = lambda + 3; } - if (S4 > L_max) { L_max = S4; Nc = lambda + 4; } - if (S5 > L_max) { L_max = S5; Nc = lambda + 5; } - if (S6 > L_max) { L_max = S6; Nc = lambda + 6; } - if (S7 > L_max) { L_max = S7; Nc = lambda + 7; } - if (S8 > L_max) { L_max = S8; Nc = lambda + 8; } - } - *Nc_out = Nc; - - if (L_max <= 0.) { - *bc_out = 0; - return; - } - - /* Compute the power of the reconstructed short term residual - * signal dp[..] - */ - dp_float -= Nc; - L_power = 0; - for (k = 0; k < 40; ++k) { - register float f = dp_float[k]; - L_power += f * f; - } - - if (L_max >= L_power) { - *bc_out = 3; - return; - } - - /* Coding of the LTP gain - * Table 4.3a must be used to obtain the level DLB[i] for the - * quantization of the LTP gain b to get the coded version bc. - */ - lambda = L_max / L_power * 32768.; - for (bc = 0; bc <= 2; ++bc) if (lambda <= gsm_DLB[bc]) break; - *bc_out = bc; -} - -#endif /* FAST */ -#endif /* USE_FLOAT_MUL */ - - -/* 4.2.12 */ - -static void Long_term_analysis_filtering P6((bc,Nc,dp,d,dpp,e), - word bc, /* IN */ - word Nc, /* IN */ - register word * dp, /* previous d [-120..-1] IN */ - register word * d, /* d [0..39] IN */ - register word * dpp, /* estimate [0..39] OUT */ - register word * e /* long term res. signal [0..39] OUT */ -) -/* - * In this part, we have to decode the bc parameter to compute - * the samples of the estimate dpp[0..39]. The decoding of bc needs the - * use of table 4.3b. The long term residual signal e[0..39] - * is then calculated to be fed to the RPE encoding section. - */ -{ - register int k; - register longword ltmp; - -# undef STEP -# define STEP(BP) \ - for (k = 0; k <= 39; k++) { \ - dpp[k] = GSM_MULT_R( BP, dp[k - Nc]); \ - e[k] = GSM_SUB( d[k], dpp[k] ); \ - } - - switch (bc) { - case 0: STEP( 3277 ); break; - case 1: STEP( 11469 ); break; - case 2: STEP( 21299 ); break; - case 3: STEP( 32767 ); break; - } -} - -void Gsm_Long_Term_Predictor P7((S,d,dp,e,dpp,Nc,bc), /* 4x for 160 samples */ - - struct gsm_state * S, - - word * d, /* [0..39] residual signal IN */ - word * dp, /* [-120..-1] d' IN */ - - word * e, /* [0..39] OUT */ - word * dpp, /* [0..39] OUT */ - word * Nc, /* correlation lag OUT */ - word * bc /* gain factor OUT */ -) -{ - assert( d ); assert( dp ); assert( e ); - assert( dpp); assert( Nc ); assert( bc ); - -#if defined(FAST) && defined(USE_FLOAT_MUL) - if (S->fast) -#if defined (LTP_CUT) - if (S->ltp_cut) - Cut_Fast_Calculation_of_the_LTP_parameters(S, - d, dp, bc, Nc); - else -#endif /* LTP_CUT */ - Fast_Calculation_of_the_LTP_parameters(d, dp, bc, Nc ); - else -#endif /* FAST & USE_FLOAT_MUL */ -#ifdef LTP_CUT - if (S->ltp_cut) - Cut_Calculation_of_the_LTP_parameters(S, d, dp, bc, Nc); - else -#endif - Calculation_of_the_LTP_parameters(d, dp, bc, Nc); - - Long_term_analysis_filtering( *bc, *Nc, dp, d, dpp, e ); -} - -/* 4.3.2 */ -void Gsm_Long_Term_Synthesis_Filtering P5((S,Ncr,bcr,erp,drp), - struct gsm_state * S, - - word Ncr, - word bcr, - register word * erp, /* [0..39] IN */ - register word * drp /* [-120..-1] IN, [-120..40] OUT */ -) -/* - * This procedure uses the bcr and Ncr parameter to realize the - * long term synthesis filtering. The decoding of bcr needs - * table 4.3b. - */ -{ - register longword ltmp; /* for ADD */ - register int k; - word brp, drpp, Nr; - - /* Check the limits of Nr. - */ - Nr = Ncr < 40 || Ncr > 120 ? S->nrp : Ncr; - S->nrp = Nr; - assert(Nr >= 40 && Nr <= 120); - - /* Decoding of the LTP gain bcr - */ - brp = gsm_QLB[ bcr ]; - - /* Computation of the reconstructed short term residual - * signal drp[0..39] - */ - assert(brp != MIN_WORD); - - for (k = 0; k <= 39; k++) { - drpp = GSM_MULT_R( brp, drp[ k - Nr ] ); - drp[k] = GSM_ADD( erp[k], drpp ); - } - - /* - * Update of the reconstructed short term residual signal - * drp[ -1..-120 ] - */ - - for (k = 0; k <= 119; k++) drp[ -120 + k ] = drp[ -80 + k ]; -} diff --git a/res/pjproject/third_party/gsm/src/lpc.c b/res/pjproject/third_party/gsm/src/lpc.c deleted file mode 100644 index e30211d839..0000000000 --- a/res/pjproject/third_party/gsm/src/lpc.c +++ /dev/null @@ -1,342 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/lpc.c,v 1.5 1994/12/30 23:14:54 jutta Exp $ */ - -#include "config.h" -#include -#include - -#include "private.h" - -#include "gsm.h" -#include "proto.h" - -#undef P - -/* - * 4.2.4 .. 4.2.7 LPC ANALYSIS SECTION - */ - -/* 4.2.4 */ - - -static void Autocorrelation P2((s, L_ACF), - word * s, /* [0..159] IN/OUT */ - longword * L_ACF) /* [0..8] OUT */ -/* - * The goal is to compute the array L_ACF[k]. The signal s[i] must - * be scaled in order to avoid an overflow situation. - */ -{ - register int k, i; - - word temp, smax, scalauto; - -#ifdef USE_FLOAT_MUL - float float_s[160]; -#endif - - /* Dynamic scaling of the array s[0..159] - */ - - /* Search for the maximum. - */ - smax = 0; - for (k = 0; k <= 159; k++) { - temp = GSM_ABS( s[k] ); - if (temp > smax) smax = temp; - } - - /* Computation of the scaling factor. - */ - if (smax == 0) scalauto = 0; - else { - assert(smax > 0); - scalauto = 4 - gsm_norm( (longword)smax << 16 );/* sub(4,..) */ - } - - /* Scaling of the array s[0...159] - */ - - if (scalauto > 0) { - -# ifdef USE_FLOAT_MUL -# define SCALE(n) \ - case n: for (k = 0; k <= 159; k++) \ - float_s[k] = (float) \ - (s[k] = GSM_MULT_R(s[k], 16384 >> (n-1)));\ - break; -# else -# define SCALE(n) \ - case n: for (k = 0; k <= 159; k++) \ - s[k] = GSM_MULT_R( s[k], 16384 >> (n-1) );\ - break; -# endif /* USE_FLOAT_MUL */ - - switch (scalauto) { - SCALE(1) - SCALE(2) - SCALE(3) - SCALE(4) - } -# undef SCALE - } -# ifdef USE_FLOAT_MUL - else for (k = 0; k <= 159; k++) float_s[k] = (float) s[k]; -# endif - - /* Compute the L_ACF[..]. - */ - { -# ifdef USE_FLOAT_MUL - register float * sp = float_s; - register float sl = *sp; - -# define STEP(k) L_ACF[k] += (longword)(sl * sp[ -(k) ]); -# else - word * sp = s; - word sl = *sp; - -# define STEP(k) L_ACF[k] += ((longword)sl * sp[ -(k) ]); -# endif - -# define NEXTI sl = *++sp - - - for (k = 9; k--; L_ACF[k] = 0) ; - - STEP (0); - NEXTI; - STEP(0); STEP(1); - NEXTI; - STEP(0); STEP(1); STEP(2); - NEXTI; - STEP(0); STEP(1); STEP(2); STEP(3); - NEXTI; - STEP(0); STEP(1); STEP(2); STEP(3); STEP(4); - NEXTI; - STEP(0); STEP(1); STEP(2); STEP(3); STEP(4); STEP(5); - NEXTI; - STEP(0); STEP(1); STEP(2); STEP(3); STEP(4); STEP(5); STEP(6); - NEXTI; - STEP(0); STEP(1); STEP(2); STEP(3); STEP(4); STEP(5); STEP(6); STEP(7); - - for (i = 8; i <= 159; i++) { - - NEXTI; - - STEP(0); - STEP(1); STEP(2); STEP(3); STEP(4); - STEP(5); STEP(6); STEP(7); STEP(8); - } - - for (k = 9; k--; L_ACF[k] <<= 1) ; - - } - /* Rescaling of the array s[0..159] - */ - if (scalauto > 0) { - assert(scalauto <= 4); - for (k = 160; k--; *s++ <<= scalauto) ; - } -} - -#if defined(USE_FLOAT_MUL) && defined(FAST) - -static void Fast_Autocorrelation P2((s, L_ACF), - word * s, /* [0..159] IN/OUT */ - longword * L_ACF) /* [0..8] OUT */ -{ - register int k, i; - float f_L_ACF[9]; - float scale; - - float s_f[160]; - register float *sf = s_f; - - for (i = 0; i < 160; ++i) sf[i] = s[i]; - for (k = 0; k <= 8; k++) { - register float L_temp2 = 0; - register float *sfl = sf - k; - for (i = k; i < 160; ++i) L_temp2 += sf[i] * sfl[i]; - f_L_ACF[k] = L_temp2; - } - scale = MAX_LONGWORD / f_L_ACF[0]; - - for (k = 0; k <= 8; k++) { - L_ACF[k] = f_L_ACF[k] * scale; - } -} -#endif /* defined (USE_FLOAT_MUL) && defined (FAST) */ - -/* 4.2.5 */ - -static void Reflection_coefficients P2( (L_ACF, r), - longword * L_ACF, /* 0...8 IN */ - register word * r /* 0...7 OUT */ -) -{ - register int i, m, n; - register word temp; - register longword ltmp; - word ACF[9]; /* 0..8 */ - word P[ 9]; /* 0..8 */ - word K[ 9]; /* 2..8 */ - - /* Schur recursion with 16 bits arithmetic. - */ - - if (L_ACF[0] == 0) { - for (i = 8; i--; *r++ = 0) ; - return; - } - - assert( L_ACF[0] != 0 ); - temp = gsm_norm( L_ACF[0] ); - - assert(temp >= 0 && temp < 32); - - /* ? overflow ? */ - for (i = 0; i <= 8; i++) ACF[i] = SASR( L_ACF[i] << temp, 16 ); - - /* Initialize array P[..] and K[..] for the recursion. - */ - - for (i = 1; i <= 7; i++) K[ i ] = ACF[ i ]; - for (i = 0; i <= 8; i++) P[ i ] = ACF[ i ]; - - /* Compute reflection coefficients - */ - for (n = 1; n <= 8; n++, r++) { - - temp = P[1]; - temp = GSM_ABS(temp); - if (P[0] < temp) { - for (i = n; i <= 8; i++) *r++ = 0; - return; - } - - *r = gsm_div( temp, P[0] ); - - assert(*r >= 0); - if (P[1] > 0) *r = -*r; /* r[n] = sub(0, r[n]) */ - assert (*r != MIN_WORD); - if (n == 8) return; - - /* Schur recursion - */ - temp = GSM_MULT_R( P[1], *r ); - P[0] = GSM_ADD( P[0], temp ); - - for (m = 1; m <= 8 - n; m++) { - temp = GSM_MULT_R( K[ m ], *r ); - P[m] = GSM_ADD( P[ m+1 ], temp ); - - temp = GSM_MULT_R( P[ m+1 ], *r ); - K[m] = GSM_ADD( K[ m ], temp ); - } - } -} - -/* 4.2.6 */ - -static void Transformation_to_Log_Area_Ratios P1((r), - register word * r /* 0..7 IN/OUT */ -) -/* - * The following scaling for r[..] and LAR[..] has been used: - * - * r[..] = integer( real_r[..]*32768. ); -1 <= real_r < 1. - * LAR[..] = integer( real_LAR[..] * 16384 ); - * with -1.625 <= real_LAR <= 1.625 - */ -{ - register word temp; - register int i; - - - /* Computation of the LAR[0..7] from the r[0..7] - */ - for (i = 1; i <= 8; i++, r++) { - - temp = *r; - temp = GSM_ABS(temp); - assert(temp >= 0); - - if (temp < 22118) { - temp >>= 1; - } else if (temp < 31130) { - assert( temp >= 11059 ); - temp -= 11059; - } else { - assert( temp >= 26112 ); - temp -= 26112; - temp <<= 2; - } - - *r = *r < 0 ? -temp : temp; - assert( *r != MIN_WORD ); - } -} - -/* 4.2.7 */ - -static void Quantization_and_coding P1((LAR), - register word * LAR /* [0..7] IN/OUT */ -) -{ - register word temp; - longword ltmp; - - - /* This procedure needs four tables; the following equations - * give the optimum scaling for the constants: - * - * A[0..7] = integer( real_A[0..7] * 1024 ) - * B[0..7] = integer( real_B[0..7] * 512 ) - * MAC[0..7] = maximum of the LARc[0..7] - * MIC[0..7] = minimum of the LARc[0..7] - */ - -# undef STEP -# define STEP( A, B, MAC, MIC ) \ - temp = GSM_MULT( A, *LAR ); \ - temp = GSM_ADD( temp, B ); \ - temp = GSM_ADD( temp, 256 ); \ - temp = SASR( temp, 9 ); \ - *LAR = temp>MAC ? MAC - MIC : (tempfast) Fast_Autocorrelation (s, L_ACF ); - else -#endif - Autocorrelation (s, L_ACF ); - Reflection_coefficients (L_ACF, LARc ); - Transformation_to_Log_Area_Ratios (LARc); - Quantization_and_coding (LARc); -} diff --git a/res/pjproject/third_party/gsm/src/preprocess.c b/res/pjproject/third_party/gsm/src/preprocess.c deleted file mode 100644 index 78085927f4..0000000000 --- a/res/pjproject/third_party/gsm/src/preprocess.c +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/preprocess.c,v 1.2 1994/05/10 20:18:45 jutta Exp $ */ - -#include "config.h" -#include -#include - -#include "private.h" - -#include "gsm.h" -#include "proto.h" - -/* 4.2.0 .. 4.2.3 PREPROCESSING SECTION - * - * After A-law to linear conversion (or directly from the - * Ato D converter) the following scaling is assumed for - * input to the RPE-LTP algorithm: - * - * in: 0.1.....................12 - * S.v.v.v.v.v.v.v.v.v.v.v.v.*.*.* - * - * Where S is the sign bit, v a valid bit, and * a "don't care" bit. - * The original signal is called sop[..] - * - * out: 0.1................... 12 - * S.S.v.v.v.v.v.v.v.v.v.v.v.v.0.0 - */ - - -void Gsm_Preprocess P3((S, s, so), - struct gsm_state * S, - word * s, - word * so ) /* [0..159] IN/OUT */ -{ - - word z1 = S->z1; - longword L_z2 = S->L_z2; - word mp = S->mp; - - word s1; - longword L_s2; - - longword L_temp; - - word msp, lsp; - word SO; - - longword ltmp; /* for ADD */ - ulongword utmp; /* for L_ADD */ - - register int k = 160; - - while (k--) { - - /* 4.2.1 Downscaling of the input signal - */ - SO = SASR( *s, 3 ) << 2; - s++; - - assert (SO >= -0x4000); /* downscaled by */ - assert (SO <= 0x3FFC); /* previous routine. */ - - - /* 4.2.2 Offset compensation - * - * This part implements a high-pass filter and requires extended - * arithmetic precision for the recursive part of this filter. - * The input of this procedure is the array so[0...159] and the - * output the array sof[ 0...159 ]. - */ - /* Compute the non-recursive part - */ - - s1 = SO - z1; /* s1 = gsm_sub( *so, z1 ); */ - z1 = SO; - - assert(s1 != MIN_WORD); - - /* Compute the recursive part - */ - L_s2 = s1; - L_s2 <<= 15; - - /* Execution of a 31 bv 16 bits multiplication - */ - - msp = SASR( L_z2, 15 ); - lsp = L_z2-((longword)msp<<15); /* gsm_L_sub(L_z2,(msp<<15)); */ - - L_s2 += GSM_MULT_R( lsp, 32735 ); - L_temp = (longword)msp * 32735; /* GSM_L_MULT(msp,32735) >> 1;*/ - L_z2 = GSM_L_ADD( L_temp, L_s2 ); - - /* Compute sof[k] with rounding - */ - L_temp = GSM_L_ADD( L_z2, 16384 ); - - /* 4.2.3 Preemphasis - */ - - msp = GSM_MULT_R( mp, -28180 ); - mp = SASR( L_temp, 15 ); - *so++ = GSM_ADD( mp, msp ); - } - - S->z1 = z1; - S->L_z2 = L_z2; - S->mp = mp; -} diff --git a/res/pjproject/third_party/gsm/src/rpe.c b/res/pjproject/third_party/gsm/src/rpe.c deleted file mode 100644 index dd611795d2..0000000000 --- a/res/pjproject/third_party/gsm/src/rpe.c +++ /dev/null @@ -1,489 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/rpe.c,v 1.3 1994/05/10 20:18:46 jutta Exp $ */ - -#include "config.h" -#include -#include - -#include "private.h" - -#include "gsm.h" -#include "proto.h" - -/* 4.2.13 .. 4.2.17 RPE ENCODING SECTION - */ - -/* 4.2.13 */ - -static void Weighting_filter P2((e, x), - register word * e, /* signal [-5..0.39.44] IN */ - word * x /* signal [0..39] OUT */ -) -/* - * The coefficients of the weighting filter are stored in a table - * (see table 4.4). The following scaling is used: - * - * H[0..10] = integer( real_H[ 0..10] * 8192 ); - */ -{ - /* word wt[ 50 ]; */ - - register longword L_result; - register int k /* , i */ ; - - /* Initialization of a temporary working array wt[0...49] - */ - - /* for (k = 0; k <= 4; k++) wt[k] = 0; - * for (k = 5; k <= 44; k++) wt[k] = *e++; - * for (k = 45; k <= 49; k++) wt[k] = 0; - * - * (e[-5..-1] and e[40..44] are allocated by the caller, - * are initially zero and are not written anywhere.) - */ - e -= 5; - - /* Compute the signal x[0..39] - */ - for (k = 0; k <= 39; k++) { - - L_result = 8192 >> 1; - - /* for (i = 0; i <= 10; i++) { - * L_temp = GSM_L_MULT( wt[k+i], gsm_H[i] ); - * L_result = GSM_L_ADD( L_result, L_temp ); - * } - */ - -#undef STEP -#define STEP( i, H ) (e[ k + i ] * (longword)H) - - /* Every one of these multiplications is done twice -- - * but I don't see an elegant way to optimize this. - * Do you? - */ - -#ifdef STUPID_COMPILER - L_result += STEP( 0, -134 ) ; - L_result += STEP( 1, -374 ) ; - /* + STEP( 2, 0 ) */ - L_result += STEP( 3, 2054 ) ; - L_result += STEP( 4, 5741 ) ; - L_result += STEP( 5, 8192 ) ; - L_result += STEP( 6, 5741 ) ; - L_result += STEP( 7, 2054 ) ; - /* + STEP( 8, 0 ) */ - L_result += STEP( 9, -374 ) ; - L_result += STEP( 10, -134 ) ; -#else - L_result += - STEP( 0, -134 ) - + STEP( 1, -374 ) - /* + STEP( 2, 0 ) */ - + STEP( 3, 2054 ) - + STEP( 4, 5741 ) - + STEP( 5, 8192 ) - + STEP( 6, 5741 ) - + STEP( 7, 2054 ) - /* + STEP( 8, 0 ) */ - + STEP( 9, -374 ) - + STEP(10, -134 ) - ; -#endif - - /* L_result = GSM_L_ADD( L_result, L_result ); (* scaling(x2) *) - * L_result = GSM_L_ADD( L_result, L_result ); (* scaling(x4) *) - * - * x[k] = SASR( L_result, 16 ); - */ - - /* 2 adds vs. >>16 => 14, minus one shift to compensate for - * those we lost when replacing L_MULT by '*'. - */ - - L_result = SASR( L_result, 13 ); - x[k] = ( L_result < MIN_WORD ? MIN_WORD - : (L_result > MAX_WORD ? MAX_WORD : L_result )); - } -} - -/* 4.2.14 */ - -static void RPE_grid_selection P3((x,xM,Mc_out), - word * x, /* [0..39] IN */ - word * xM, /* [0..12] OUT */ - word * Mc_out /* OUT */ -) -/* - * The signal x[0..39] is used to select the RPE grid which is - * represented by Mc. - */ -{ - /* register word temp1; */ - register int /* m, */ i; - register longword L_result, L_temp; - longword EM; /* xxx should be L_EM? */ - word Mc; - - longword L_common_0_3; - - EM = 0; - Mc = 0; - - /* for (m = 0; m <= 3; m++) { - * L_result = 0; - * - * - * for (i = 0; i <= 12; i++) { - * - * temp1 = SASR( x[m + 3*i], 2 ); - * - * assert(temp1 != MIN_WORD); - * - * L_temp = GSM_L_MULT( temp1, temp1 ); - * L_result = GSM_L_ADD( L_temp, L_result ); - * } - * - * if (L_result > EM) { - * Mc = m; - * EM = L_result; - * } - * } - */ - -#undef STEP -#define STEP( m, i ) L_temp = SASR( x[m + 3 * i], 2 ); \ - L_result += L_temp * L_temp; - - /* common part of 0 and 3 */ - - L_result = 0; - STEP( 0, 1 ); STEP( 0, 2 ); STEP( 0, 3 ); STEP( 0, 4 ); - STEP( 0, 5 ); STEP( 0, 6 ); STEP( 0, 7 ); STEP( 0, 8 ); - STEP( 0, 9 ); STEP( 0, 10); STEP( 0, 11); STEP( 0, 12); - L_common_0_3 = L_result; - - /* i = 0 */ - - STEP( 0, 0 ); - L_result <<= 1; /* implicit in L_MULT */ - EM = L_result; - - /* i = 1 */ - - L_result = 0; - STEP( 1, 0 ); - STEP( 1, 1 ); STEP( 1, 2 ); STEP( 1, 3 ); STEP( 1, 4 ); - STEP( 1, 5 ); STEP( 1, 6 ); STEP( 1, 7 ); STEP( 1, 8 ); - STEP( 1, 9 ); STEP( 1, 10); STEP( 1, 11); STEP( 1, 12); - L_result <<= 1; - if (L_result > EM) { - Mc = 1; - EM = L_result; - } - - /* i = 2 */ - - L_result = 0; - STEP( 2, 0 ); - STEP( 2, 1 ); STEP( 2, 2 ); STEP( 2, 3 ); STEP( 2, 4 ); - STEP( 2, 5 ); STEP( 2, 6 ); STEP( 2, 7 ); STEP( 2, 8 ); - STEP( 2, 9 ); STEP( 2, 10); STEP( 2, 11); STEP( 2, 12); - L_result <<= 1; - if (L_result > EM) { - Mc = 2; - EM = L_result; - } - - /* i = 3 */ - - L_result = L_common_0_3; - STEP( 3, 12 ); - L_result <<= 1; - if (L_result > EM) { - Mc = 3; - EM = L_result; - } - - /**/ - - /* Down-sampling by a factor 3 to get the selected xM[0..12] - * RPE sequence. - */ - for (i = 0; i <= 12; i ++) xM[i] = x[Mc + 3*i]; - *Mc_out = Mc; -} - -/* 4.12.15 */ - -static void APCM_quantization_xmaxc_to_exp_mant P3((xmaxc,exp_out,mant_out), - word xmaxc, /* IN */ - word * exp_out, /* OUT */ - word * mant_out ) /* OUT */ -{ - word exp, mant; - - /* Compute exponent and mantissa of the decoded version of xmaxc - */ - - exp = 0; - if (xmaxc > 15) exp = SASR(xmaxc, 3) - 1; - mant = xmaxc - (exp << 3); - - if (mant == 0) { - exp = -4; - mant = 7; - } - else { - while (mant <= 7) { - mant = mant << 1 | 1; - exp--; - } - mant -= 8; - } - - assert( exp >= -4 && exp <= 6 ); - assert( mant >= 0 && mant <= 7 ); - - *exp_out = exp; - *mant_out = mant; -} - -static void APCM_quantization P5((xM,xMc,mant_out,exp_out,xmaxc_out), - word * xM, /* [0..12] IN */ - - word * xMc, /* [0..12] OUT */ - word * mant_out, /* OUT */ - word * exp_out, /* OUT */ - word * xmaxc_out /* OUT */ -) -{ - int i, itest; - - word xmax, xmaxc, temp, temp1, temp2; - word exp, mant; - - - /* Find the maximum absolute value xmax of xM[0..12]. - */ - - xmax = 0; - for (i = 0; i <= 12; i++) { - temp = xM[i]; - temp = GSM_ABS(temp); - if (temp > xmax) xmax = temp; - } - - /* Qantizing and coding of xmax to get xmaxc. - */ - - exp = 0; - temp = SASR( xmax, 9 ); - itest = 0; - - for (i = 0; i <= 5; i++) { - - itest |= (temp <= 0); - temp = SASR( temp, 1 ); - - assert(exp <= 5); - if (itest == 0) exp++; /* exp = add (exp, 1) */ - } - - assert(exp <= 6 && exp >= 0); - temp = exp + 5; - - assert(temp <= 11 && temp >= 0); - xmaxc = gsm_add( SASR(xmax, temp), exp << 3 ); - - /* Quantizing and coding of the xM[0..12] RPE sequence - * to get the xMc[0..12] - */ - - APCM_quantization_xmaxc_to_exp_mant( xmaxc, &exp, &mant ); - - /* This computation uses the fact that the decoded version of xmaxc - * can be calculated by using the exponent and the mantissa part of - * xmaxc (logarithmic table). - * So, this method avoids any division and uses only a scaling - * of the RPE samples by a function of the exponent. A direct - * multiplication by the inverse of the mantissa (NRFAC[0..7] - * found in table 4.5) gives the 3 bit coded version xMc[0..12] - * of the RPE samples. - */ - - - /* Direct computation of xMc[0..12] using table 4.5 - */ - - assert( exp <= 4096 && exp >= -4096); - assert( mant >= 0 && mant <= 7 ); - - temp1 = 6 - exp; /* normalization by the exponent */ - temp2 = gsm_NRFAC[ mant ]; /* inverse mantissa */ - - for (i = 0; i <= 12; i++) { - - assert(temp1 >= 0 && temp1 < 16); - - temp = xM[i] << temp1; - temp = GSM_MULT( temp, temp2 ); - temp = SASR(temp, 12); - xMc[i] = temp + 4; /* see note below */ - } - - /* NOTE: This equation is used to make all the xMc[i] positive. - */ - - *mant_out = mant; - *exp_out = exp; - *xmaxc_out = xmaxc; -} - -/* 4.2.16 */ - -static void APCM_inverse_quantization P4((xMc,mant,exp,xMp), - register word * xMc, /* [0..12] IN */ - word mant, - word exp, - register word * xMp) /* [0..12] OUT */ -/* - * This part is for decoding the RPE sequence of coded xMc[0..12] - * samples to obtain the xMp[0..12] array. Table 4.6 is used to get - * the mantissa of xmaxc (FAC[0..7]). - */ -{ - int i; - word temp, temp1, temp2, temp3; - longword ltmp; - - assert( mant >= 0 && mant <= 7 ); - - temp1 = gsm_FAC[ mant ]; /* see 4.2-15 for mant */ - temp2 = gsm_sub( 6, exp ); /* see 4.2-15 for exp */ - temp3 = gsm_asl( 1, gsm_sub( temp2, 1 )); - - for (i = 13; i--;) { - - assert( *xMc <= 7 && *xMc >= 0 ); /* 3 bit unsigned */ - - /* temp = gsm_sub( *xMc++ << 1, 7 ); */ - temp = (*xMc++ << 1) - 7; /* restore sign */ - assert( temp <= 7 && temp >= -7 ); /* 4 bit signed */ - - temp <<= 12; /* 16 bit signed */ - temp = GSM_MULT_R( temp1, temp ); - temp = GSM_ADD( temp, temp3 ); - *xMp++ = gsm_asr( temp, temp2 ); - } -} - -/* 4.2.17 */ - -static void RPE_grid_positioning P3((Mc,xMp,ep), - word Mc, /* grid position IN */ - register word * xMp, /* [0..12] IN */ - register word * ep /* [0..39] OUT */ -) -/* - * This procedure computes the reconstructed long term residual signal - * ep[0..39] for the LTP analysis filter. The inputs are the Mc - * which is the grid position selection and the xMp[0..12] decoded - * RPE samples which are upsampled by a factor of 3 by inserting zero - * values. - */ -{ - int i = 13; - - assert(0 <= Mc && Mc <= 3); - - switch (Mc) { - case 3: *ep++ = 0; - case 2: do { - *ep++ = 0; - case 1: *ep++ = 0; - case 0: *ep++ = *xMp++; - } while (--i); - } - while (++Mc < 4) *ep++ = 0; - - /* - - int i, k; - for (k = 0; k <= 39; k++) ep[k] = 0; - for (i = 0; i <= 12; i++) { - ep[ Mc + (3*i) ] = xMp[i]; - } - */ -} - -/* 4.2.18 */ - -/* This procedure adds the reconstructed long term residual signal - * ep[0..39] to the estimated signal dpp[0..39] from the long term - * analysis filter to compute the reconstructed short term residual - * signal dp[-40..-1]; also the reconstructed short term residual - * array dp[-120..-41] is updated. - */ - -#if 0 /* Has been inlined in code.c */ -void Gsm_Update_of_reconstructed_short_time_residual_signal P3((dpp, ep, dp), - word * dpp, /* [0...39] IN */ - word * ep, /* [0...39] IN */ - word * dp) /* [-120...-1] IN/OUT */ -{ - int k; - - for (k = 0; k <= 79; k++) - dp[ -120 + k ] = dp[ -80 + k ]; - - for (k = 0; k <= 39; k++) - dp[ -40 + k ] = gsm_add( ep[k], dpp[k] ); -} -#endif /* Has been inlined in code.c */ - -void Gsm_RPE_Encoding P5((S,e,xmaxc,Mc,xMc), - - struct gsm_state * S, - - word * e, /* -5..-1][0..39][40..44 IN/OUT */ - word * xmaxc, /* OUT */ - word * Mc, /* OUT */ - word * xMc) /* [0..12] OUT */ -{ - word x[40]; - word xM[13], xMp[13]; - word mant, exp; - - Weighting_filter(e, x); - RPE_grid_selection(x, xM, Mc); - - APCM_quantization( xM, xMc, &mant, &exp, xmaxc); - APCM_inverse_quantization( xMc, mant, exp, xMp); - - RPE_grid_positioning( *Mc, xMp, e ); - -} - -void Gsm_RPE_Decoding P5((S, xmaxcr, Mcr, xMcr, erp), - struct gsm_state * S, - - word xmaxcr, - word Mcr, - word * xMcr, /* [0..12], 3 bits IN */ - word * erp /* [0..39] OUT */ -) -{ - word exp, mant; - word xMp[ 13 ]; - - APCM_quantization_xmaxc_to_exp_mant( xmaxcr, &exp, &mant ); - APCM_inverse_quantization( xMcr, mant, exp, xMp ); - RPE_grid_positioning( Mcr, xMp, erp ); - -} diff --git a/res/pjproject/third_party/gsm/src/short_term.c b/res/pjproject/third_party/gsm/src/short_term.c deleted file mode 100644 index 058aa4cf36..0000000000 --- a/res/pjproject/third_party/gsm/src/short_term.c +++ /dev/null @@ -1,430 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/short_term.c,v 1.2 1994/05/10 20:18:47 jutta Exp $ */ - -#include "config.h" -#include -#include - -#include "private.h" - -#include "gsm.h" -#include "proto.h" - -/* - * SHORT TERM ANALYSIS FILTERING SECTION - */ - -/* 4.2.8 */ - -static void Decoding_of_the_coded_Log_Area_Ratios P2((LARc,LARpp), - word * LARc, /* coded log area ratio [0..7] IN */ - word * LARpp) /* out: decoded .. */ -{ - register word temp1 /* , temp2 */; - register long ltmp; /* for GSM_ADD */ - - /* This procedure requires for efficient implementation - * two tables. - * - * INVA[1..8] = integer( (32768 * 8) / real_A[1..8]) - * MIC[1..8] = minimum value of the LARc[1..8] - */ - - /* Compute the LARpp[1..8] - */ - - /* for (i = 1; i <= 8; i++, B++, MIC++, INVA++, LARc++, LARpp++) { - * - * temp1 = GSM_ADD( *LARc, *MIC ) << 10; - * temp2 = *B << 1; - * temp1 = GSM_SUB( temp1, temp2 ); - * - * assert(*INVA != MIN_WORD); - * - * temp1 = GSM_MULT_R( *INVA, temp1 ); - * *LARpp = GSM_ADD( temp1, temp1 ); - * } - */ - -#undef STEP -#define STEP( B, MIC, INVA ) \ - temp1 = GSM_ADD( *LARc++, MIC ) << 10; \ - temp1 = GSM_SUB( temp1, B << 1 ); \ - temp1 = GSM_MULT_R( INVA, temp1 ); \ - *LARpp++ = GSM_ADD( temp1, temp1 ); - - STEP( 0, -32, 13107 ); - STEP( 0, -32, 13107 ); - STEP( 2048, -16, 13107 ); - STEP( -2560, -16, 13107 ); - - STEP( 94, -8, 19223 ); - STEP( -1792, -8, 17476 ); - STEP( -341, -4, 31454 ); - STEP( -1144, -4, 29708 ); - - /* NOTE: the addition of *MIC is used to restore - * the sign of *LARc. - */ -} - -/* 4.2.9 */ -/* Computation of the quantized reflection coefficients - */ - -/* 4.2.9.1 Interpolation of the LARpp[1..8] to get the LARp[1..8] - */ - -/* - * Within each frame of 160 analyzed speech samples the short term - * analysis and synthesis filters operate with four different sets of - * coefficients, derived from the previous set of decoded LARs(LARpp(j-1)) - * and the actual set of decoded LARs (LARpp(j)) - * - * (Initial value: LARpp(j-1)[1..8] = 0.) - */ - -static void Coefficients_0_12 P3((LARpp_j_1, LARpp_j, LARp), - register word * LARpp_j_1, - register word * LARpp_j, - register word * LARp) -{ - register int i; - register longword ltmp; - - for (i = 1; i <= 8; i++, LARp++, LARpp_j_1++, LARpp_j++) { - *LARp = GSM_ADD( SASR( *LARpp_j_1, 2 ), SASR( *LARpp_j, 2 )); - *LARp = GSM_ADD( *LARp, SASR( *LARpp_j_1, 1)); - } -} - -static void Coefficients_13_26 P3((LARpp_j_1, LARpp_j, LARp), - register word * LARpp_j_1, - register word * LARpp_j, - register word * LARp) -{ - register int i; - register longword ltmp; - for (i = 1; i <= 8; i++, LARpp_j_1++, LARpp_j++, LARp++) { - *LARp = GSM_ADD( SASR( *LARpp_j_1, 1), SASR( *LARpp_j, 1 )); - } -} - -static void Coefficients_27_39 P3((LARpp_j_1, LARpp_j, LARp), - register word * LARpp_j_1, - register word * LARpp_j, - register word * LARp) -{ - register int i; - register longword ltmp; - - for (i = 1; i <= 8; i++, LARpp_j_1++, LARpp_j++, LARp++) { - *LARp = GSM_ADD( SASR( *LARpp_j_1, 2 ), SASR( *LARpp_j, 2 )); - *LARp = GSM_ADD( *LARp, SASR( *LARpp_j, 1 )); - } -} - - -static void Coefficients_40_159 P2((LARpp_j, LARp), - register word * LARpp_j, - register word * LARp) -{ - register int i; - - for (i = 1; i <= 8; i++, LARp++, LARpp_j++) - *LARp = *LARpp_j; -} - -/* 4.2.9.2 */ - -static void LARp_to_rp P1((LARp), - register word * LARp) /* [0..7] IN/OUT */ -/* - * The input of this procedure is the interpolated LARp[0..7] array. - * The reflection coefficients, rp[i], are used in the analysis - * filter and in the synthesis filter. - */ -{ - register int i; - register word temp; - register longword ltmp; - - for (i = 1; i <= 8; i++, LARp++) { - - /* temp = GSM_ABS( *LARp ); - * - * if (temp < 11059) temp <<= 1; - * else if (temp < 20070) temp += 11059; - * else temp = GSM_ADD( temp >> 2, 26112 ); - * - * *LARp = *LARp < 0 ? -temp : temp; - */ - - if (*LARp < 0) { - temp = *LARp == MIN_WORD ? MAX_WORD : -(*LARp); - *LARp = - ((temp < 11059) ? temp << 1 - : ((temp < 20070) ? temp + 11059 - : GSM_ADD( temp >> 2, 26112 ))); - } else { - temp = *LARp; - *LARp = (temp < 11059) ? temp << 1 - : ((temp < 20070) ? temp + 11059 - : GSM_ADD( temp >> 2, 26112 )); - } - } -} - - -/* 4.2.10 */ -static void Short_term_analysis_filtering P4((S,rp,k_n,s), - struct gsm_state * S, - register word * rp, /* [0..7] IN */ - register int k_n, /* k_end - k_start */ - register word * s /* [0..n-1] IN/OUT */ -) -/* - * This procedure computes the short term residual signal d[..] to be fed - * to the RPE-LTP loop from the s[..] signal and from the local rp[..] - * array (quantized reflection coefficients). As the call of this - * procedure can be done in many ways (see the interpolation of the LAR - * coefficient), it is assumed that the computation begins with index - * k_start (for arrays d[..] and s[..]) and stops with index k_end - * (k_start and k_end are defined in 4.2.9.1). This procedure also - * needs to keep the array u[0..7] in memory for each call. - */ -{ - register word * u = S->u; - register int i; - register word di, zzz, ui, sav, rpi; - register longword ltmp; - - for (; k_n--; s++) { - - di = sav = *s; - - for (i = 0; i < 8; i++) { /* YYY */ - - ui = u[i]; - rpi = rp[i]; - u[i] = sav; - - zzz = GSM_MULT_R(rpi, di); - sav = GSM_ADD( ui, zzz); - - zzz = GSM_MULT_R(rpi, ui); - di = GSM_ADD( di, zzz ); - } - - *s = di; - } -} - -#if defined(USE_FLOAT_MUL) && defined(FAST) - -static void Fast_Short_term_analysis_filtering P4((S,rp,k_n,s), - struct gsm_state * S, - register word * rp, /* [0..7] IN */ - register int k_n, /* k_end - k_start */ - register word * s /* [0..n-1] IN/OUT */ -) -{ - register word * u = S->u; - register int i; - - float uf[8], - rpf[8]; - - register float scalef = 3.0517578125e-5; - register float sav, di, temp; - - for (i = 0; i < 8; ++i) { - uf[i] = u[i]; - rpf[i] = rp[i] * scalef; - } - for (; k_n--; s++) { - sav = di = *s; - for (i = 0; i < 8; ++i) { - register float rpfi = rpf[i]; - register float ufi = uf[i]; - - uf[i] = sav; - temp = rpfi * di + ufi; - di += rpfi * ufi; - sav = temp; - } - *s = di; - } - for (i = 0; i < 8; ++i) u[i] = uf[i]; -} -#endif /* ! (defined (USE_FLOAT_MUL) && defined (FAST)) */ - -static void Short_term_synthesis_filtering P5((S,rrp,k,wt,sr), - struct gsm_state * S, - register word * rrp, /* [0..7] IN */ - register int k, /* k_end - k_start */ - register word * wt, /* [0..k-1] IN */ - register word * sr /* [0..k-1] OUT */ -) -{ - register word * v = S->v; - register int i; - register word sri, tmp1, tmp2; - register longword ltmp; /* for GSM_ADD & GSM_SUB */ - - while (k--) { - sri = *wt++; - for (i = 8; i--;) { - - /* sri = GSM_SUB( sri, gsm_mult_r( rrp[i], v[i] ) ); - */ - tmp1 = rrp[i]; - tmp2 = v[i]; - tmp2 = ( tmp1 == MIN_WORD && tmp2 == MIN_WORD - ? MAX_WORD - : 0x0FFFF & (( (longword)tmp1 * (longword)tmp2 - + 16384) >> 15)) ; - - sri = GSM_SUB( sri, tmp2 ); - - /* v[i+1] = GSM_ADD( v[i], gsm_mult_r( rrp[i], sri ) ); - */ - tmp1 = ( tmp1 == MIN_WORD && sri == MIN_WORD - ? MAX_WORD - : 0x0FFFF & (( (longword)tmp1 * (longword)sri - + 16384) >> 15)) ; - - v[i+1] = GSM_ADD( v[i], tmp1); - } - *sr++ = v[0] = sri; - } -} - - -#if defined(FAST) && defined(USE_FLOAT_MUL) - -static void Fast_Short_term_synthesis_filtering P5((S,rrp,k,wt,sr), - struct gsm_state * S, - register word * rrp, /* [0..7] IN */ - register int k, /* k_end - k_start */ - register word * wt, /* [0..k-1] IN */ - register word * sr /* [0..k-1] OUT */ -) -{ - register word * v = S->v; - register int i; - - float va[9], rrpa[8]; - register float scalef = 3.0517578125e-5, temp; - - for (i = 0; i < 8; ++i) { - va[i] = v[i]; - rrpa[i] = (float)rrp[i] * scalef; - } - while (k--) { - register float sri = *wt++; - for (i = 8; i--;) { - sri -= rrpa[i] * va[i]; - if (sri < -32768.) sri = -32768.; - else if (sri > 32767.) sri = 32767.; - - temp = va[i] + rrpa[i] * sri; - if (temp < -32768.) temp = -32768.; - else if (temp > 32767.) temp = 32767.; - va[i+1] = temp; - } - *sr++ = va[0] = sri; - } - for (i = 0; i < 9; ++i) v[i] = va[i]; -} - -#endif /* defined(FAST) && defined(USE_FLOAT_MUL) */ - -void Gsm_Short_Term_Analysis_Filter P3((S,LARc,s), - - struct gsm_state * S, - - word * LARc, /* coded log area ratio [0..7] IN */ - word * s /* signal [0..159] IN/OUT */ -) -{ - word * LARpp_j = S->LARpp[ S->j ]; - word * LARpp_j_1 = S->LARpp[ S->j ^= 1 ]; - - word LARp[8]; - -#undef FILTER -#if defined(FAST) && defined(USE_FLOAT_MUL) -# define FILTER (* (S->fast \ - ? Fast_Short_term_analysis_filtering \ - : Short_term_analysis_filtering )) - -#else -# define FILTER Short_term_analysis_filtering -#endif - - Decoding_of_the_coded_Log_Area_Ratios( LARc, LARpp_j ); - - Coefficients_0_12( LARpp_j_1, LARpp_j, LARp ); - LARp_to_rp( LARp ); - FILTER( S, LARp, 13, s); - - Coefficients_13_26( LARpp_j_1, LARpp_j, LARp); - LARp_to_rp( LARp ); - FILTER( S, LARp, 14, s + 13); - - Coefficients_27_39( LARpp_j_1, LARpp_j, LARp); - LARp_to_rp( LARp ); - FILTER( S, LARp, 13, s + 27); - - Coefficients_40_159( LARpp_j, LARp); - LARp_to_rp( LARp ); - FILTER( S, LARp, 120, s + 40); -} - -void Gsm_Short_Term_Synthesis_Filter P4((S, LARcr, wt, s), - struct gsm_state * S, - - word * LARcr, /* received log area ratios [0..7] IN */ - word * wt, /* received d [0..159] IN */ - - word * s /* signal s [0..159] OUT */ -) -{ - word * LARpp_j = S->LARpp[ S->j ]; - word * LARpp_j_1 = S->LARpp[ S->j ^=1 ]; - - word LARp[8]; - -#undef FILTER -#if defined(FAST) && defined(USE_FLOAT_MUL) - -# define FILTER (* (S->fast \ - ? Fast_Short_term_synthesis_filtering \ - : Short_term_synthesis_filtering )) -#else -# define FILTER Short_term_synthesis_filtering -#endif - - Decoding_of_the_coded_Log_Area_Ratios( LARcr, LARpp_j ); - - Coefficients_0_12( LARpp_j_1, LARpp_j, LARp ); - LARp_to_rp( LARp ); - FILTER( S, LARp, 13, wt, s ); - - Coefficients_13_26( LARpp_j_1, LARpp_j, LARp); - LARp_to_rp( LARp ); - FILTER( S, LARp, 14, wt + 13, s + 13 ); - - Coefficients_27_39( LARpp_j_1, LARpp_j, LARp); - LARp_to_rp( LARp ); - FILTER( S, LARp, 13, wt + 27, s + 27 ); - - Coefficients_40_159( LARpp_j, LARp ); - LARp_to_rp( LARp ); - FILTER(S, LARp, 120, wt + 40, s + 40); -} diff --git a/res/pjproject/third_party/gsm/src/table.c b/res/pjproject/third_party/gsm/src/table.c deleted file mode 100644 index 0ed6f70731..0000000000 --- a/res/pjproject/third_party/gsm/src/table.c +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/table.c,v 1.1 1992/10/28 00:15:50 jutta Exp $ */ - -/* Most of these tables are inlined at their point of use. - */ - -/* 4.4 TABLES USED IN THE FIXED POINT IMPLEMENTATION OF THE RPE-LTP - * CODER AND DECODER - * - * (Most of them inlined, so watch out.) - */ - -#define GSM_TABLE_C -#include "private.h" -#include "gsm.h" - -/* Table 4.1 Quantization of the Log.-Area Ratios - */ -/* i 1 2 3 4 5 6 7 8 */ -word gsm_A[8] = {20480, 20480, 20480, 20480, 13964, 15360, 8534, 9036}; -word gsm_B[8] = { 0, 0, 2048, -2560, 94, -1792, -341, -1144}; -word gsm_MIC[8] = { -32, -32, -16, -16, -8, -8, -4, -4 }; -word gsm_MAC[8] = { 31, 31, 15, 15, 7, 7, 3, 3 }; - - -/* Table 4.2 Tabulation of 1/A[1..8] - */ -word gsm_INVA[8]={ 13107, 13107, 13107, 13107, 19223, 17476, 31454, 29708 }; - - -/* Table 4.3a Decision level of the LTP gain quantizer - */ -/* bc 0 1 2 3 */ -word gsm_DLB[4] = { 6554, 16384, 26214, 32767 }; - - -/* Table 4.3b Quantization levels of the LTP gain quantizer - */ -/* bc 0 1 2 3 */ -word gsm_QLB[4] = { 3277, 11469, 21299, 32767 }; - - -/* Table 4.4 Coefficients of the weighting filter - */ -/* i 0 1 2 3 4 5 6 7 8 9 10 */ -word gsm_H[11] = {-134, -374, 0, 2054, 5741, 8192, 5741, 2054, 0, -374, -134 }; - - -/* Table 4.5 Normalized inverse mantissa used to compute xM/xmax - */ -/* i 0 1 2 3 4 5 6 7 */ -word gsm_NRFAC[8] = { 29128, 26215, 23832, 21846, 20165, 18725, 17476, 16384 }; - - -/* Table 4.6 Normalized direct mantissa used to compute xM/xmax - */ -/* i 0 1 2 3 4 5 6 7 */ -word gsm_FAC[8] = { 18431, 20479, 22527, 24575, 26623, 28671, 30719, 32767 }; diff --git a/res/pjproject/third_party/gsm/src/toast.c b/res/pjproject/third_party/gsm/src/toast.c deleted file mode 100644 index f99b442cab..0000000000 --- a/res/pjproject/third_party/gsm/src/toast.c +++ /dev/null @@ -1,800 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/toast.c,v 1.8 1996/07/02 10:41:04 jutta Exp $ */ - -#include "toast.h" - -/* toast -- lossy sound compression using the gsm library. - */ - -char * progname; - -int f_decode = 0; /* decode rather than encode (-d) */ -int f_cat = 0; /* write to stdout; implies -p (-c) */ -int f_force = 0; /* don't ask about replacements (-f) */ -int f_precious = 0; /* avoid deletion of original (-p) */ -int f_fast = 0; /* use faster fpt algorithm (-F) */ -int f_verbose = 0; /* debugging (-V) */ -int f_ltp_cut = 0; /* LTP cut-off margin (-C) */ - -struct stat instat; /* stat (inname) */ - -FILE *in, *out; -char *inname, *outname; - -/* - * The function (*output)() writes a frame of 160 samples given as - * 160 signed 16 bit values (gsm_signals) to . - * The function (*input)() reads one such frame from . - * The function (*init_output)() begins output (e.g. writes a header)., - * The function (*init_input)() begins input (e.g. skips a header). - * - * There are different versions of input, output, init_input and init_output - * for different formats understood by toast; which ones are used - * depends on the command line arguments and, in their absence, the - * filename; the fallback is #defined in toast.h - * - * The specific implementations of input, output, init_input and init_output - * for a format `foo' live in toast_foo.c. - */ - -int (*output ) P((gsm_signal *)), - (*input ) P((gsm_signal *)); -int (*init_input) P((void)), - (*init_output) P((void)); - -static int generic_init P0() { return 0; } /* NOP */ - -struct fmtdesc { - - char * name, * longname, * suffix; - - int (* init_input ) P((void)), - (* init_output) P((void)); - - int (* input ) P((gsm_signal * )), - (* output) P((gsm_signal * )); - -} f_audio = { - "audio", - "8 kHz, 8 bit u-law encoding with Sun audio header", ".au", - audio_init_input, - audio_init_output, - ulaw_input, - ulaw_output -}, f_ulaw = { - "u-law", "plain 8 kHz, 8 bit u-law encoding", ".u", - generic_init, - generic_init, - ulaw_input, - ulaw_output - -}, f_alaw = { - "A-law", "8 kHz, 8 bit A-law encoding", ".A", - generic_init, - generic_init, - alaw_input, - alaw_output - -}, f_linear = { - "linear", - "16 bit (13 significant) signed 8 kHz signal", ".l", - generic_init, - generic_init, - linear_input, - linear_output -}; - -struct fmtdesc * alldescs[] = { - &f_audio, - &f_alaw, - &f_ulaw, - &f_linear, - (struct fmtdesc *)NULL -}; - -#define DEFAULT_FORMAT f_ulaw /* default audio format, others */ - /* are: f_alaw,f_audio,f_linear */ -struct fmtdesc * f_format = 0; - -/* - * basename + suffix of a pathname - */ -static char * endname P1((name), char * name) -{ - if (name) { - char * s = strrchr(name, '/'); - if (s && s[1]) name = s + 1; - } - return name; - -} - -/* - * Try to figure out what we're supposed to do from the argv[0], if - * any, and set the parameters accordingly. - */ -static void parse_argv0 P1((av0), char * av0 ) -{ - int l; - - progname = av0 = endname(av0 ? av0 : "toast"); - - /* If the name starts with `un', we want to decode, not code. - * If the name ends in `cat', we want to write to stdout, - * and decode as well. - */ - - if (!strncmp(av0, "un", 2)) f_decode = 1; - if ( (l = strlen(av0)) >= 3 /* strlen("cat") */ - && !strcmp( av0 + l - 3, "cat" )) f_cat = f_decode = 1; -} - - -/* - * Check whether the name (possibly generated by appending - * .gsm to something else) is short enough for this system. - */ -static int length_okay P1((name), char * name) -{ - long max_filename_length = 0; - char * end; - - /* If our _pathname_ is too long, we'll usually not be - * able to open the file at all -- don't worry about that. - * - * But if the _filename_ is too long, there is danger of - * silent truncation on some systems, which results - * in the target replacing the source! - */ - - if (!name) return 0; - end = endname(name); - -#ifdef NAME_MAX - max_filename_length = NAME_MAX; -#else -#ifdef _PC_NAME_MAX -#ifdef USE_PATHCONF - { char * s, tmp; - - /* s = dirname(name) - */ - if ((s = end) > name) { - if (s > name + 1) s--; - tmp = s; - *s = 0; - } - - errno = 0; - max_filename_length = pathconf(s > name ? name : ".", - _PC_NAME_MAX); - if (max_filename_length == -1 && errno) { - perror( s > name ? name : "." ); - fprintf(stderr, - "%s: cannot get dynamic filename length limit for %s.\n", - progname, s > name ? name : "."); - return 0; - } - if (s > name) *s = tmp; - } -#endif /* USE_PATHCONF */ -#endif /* _PC_NAME_MAX */ -#endif /* !NAME_MAX */ - - if (max_filename_length > 0 && strlen(end) > max_filename_length) { - fprintf(stderr, - "%s: filename \"%s\" is too long (maximum is %ld)\n", - progname, endname(name), max_filename_length ); - return 0; - } - - return 1; -} - -/* - * Return a pointer the suffix of a string, if any. - * A suffix alone has no suffix, an empty suffix can not be had. - */ -static char * suffix P2((name, suf), char *name, char * suf) -{ - size_t nlen = strlen(name); - size_t slen = strlen(suf); - - if (!slen || nlen <= slen) return (char *)0; - name += nlen - slen; - return memcmp(name, suf, slen) ? (char *)0 : name; -} - - -static void catch_signals P1((fun), SIGHANDLER_T (*fun) ()) -{ -#ifdef SIGHUP - signal( SIGHUP, fun ); -#endif -#ifdef SIGINT - signal( SIGINT, fun ); -#endif -#ifdef SIGPIPE - signal( SIGPIPE, fun ); -#endif -#ifdef SIGTERM - signal( SIGTERM, fun ); -#endif -#ifdef SIGXFSZ - signal( SIGXFSZ, fun ); -#endif -} - -static SIGHANDLER_T onintr P0() -{ - char * tmp = outname; - -#ifdef HAS_SYSV_SIGNALS - catch_signals( SIG_IGN ); -#endif - - outname = (char *)0; - if (tmp) (void)unlink(tmp); - - exit(1); -} - -/* - * Allocate some memory and complain if it fails. - */ -static char * emalloc P1((len), size_t len) -{ - char * s; - if (!(s = malloc(len))) { - fprintf(stderr, "%s: failed to malloc %d bytes -- abort\n", - progname, len); - onintr(); - exit(1); - } - return s; -} - -static char* normalname P3((name, want, cut), char *name, char *want,char *cut) -{ - size_t maxlen; - char * s, * p; - - p = (char *)0; - if (!name) return p; - - maxlen = strlen(name) + 1 + strlen(want) + strlen(cut); - p = strcpy(emalloc(maxlen), name); - - if (s = suffix(p, cut)) strcpy(s, want); - else if (*want && !suffix(p, want)) strcat(p, want); - - return p; -} - -/* - * Generate a `plain' (non-encoded) name from a given name. - */ -static char * plainname P1((name), char *name) -{ - return normalname(name, "", SUFFIX_TOASTED ); -} - -/* - * Generate a `code' name from a given name. - */ -static char * codename P1((name), char *name) -{ - return normalname( name, SUFFIX_TOASTED, "" ); -} - -/* - * If we're supposed to ask (fileno (stderr) is a tty, and f_force not - * set), ask the user whether to overwrite a file or not. - */ -static int ok_to_replace P1(( name ), char * name) -{ - int reply, c; - - if (f_force) return 1; /* YES, do replace */ - if (!isatty(fileno(stderr))) return 0; /* NO, don't replace */ - - fprintf(stderr, - "%s already exists; do you wish to overwrite %s (y or n)? ", - name, name); - fflush(stderr); - - for (c = reply = getchar(); c != '\n' && c != EOF; c = getchar()) ; - if (reply == 'y') return 1; - - fprintf(stderr, "\tnot overwritten\n"); - return 0; -} - -static void update_mode P0() -{ - if (!instat.st_nlink) return; /* couldn't stat in */ - -#ifdef HAS_FCHMOD - if (fchmod(fileno(out), instat.st_mode & 07777)) { - perror(outname); - fprintf(stderr, "%s: could not change file mode of \"%s\"\n", - progname, outname); - } -#else -#ifdef HAS_CHMOD - if (outname && chmod(outname, instat.st_mode & 07777)) { - perror(outname); - fprintf(stderr, "%s: could not change file mode of \"%s\"\n", - progname, outname); - } -#endif /* HAS_CHMOD */ -#endif /* HAS_FCHMOD */ -} - -static void update_own P0() -{ - if (!instat.st_nlink) return; /* couldn't stat in */ -#ifdef HAS_FCHOWN - (void)fchown(fileno(out), instat.st_uid, instat.st_gid); -#else -#ifdef HAS_CHOWN - (void)chown(outname, instat.st_uid, instat.st_gid); -#endif /* HAS_CHOWN */ -#endif /* HAS_FCHOWN */ -} - -static void update_times P0() -{ - if (!instat.st_nlink) return; /* couldn't stat in */ - -#ifdef HAS_UTIMES - if (outname) { - struct timeval tv[2]; - - tv[0].tv_sec = instat.st_atime; - tv[1].tv_sec = instat.st_mtime; - tv[0].tv_usec = tv[1].tv_usec = 0; - (void) utimes(outname, tv); - } -#else -#ifdef HAS_UTIME - - if (outname) { - -#ifdef HAS_UTIMBUF - struct utimbuf ut; - - ut.actime = instat.st_atime; - ut.modtime = instat.st_mtime; - -# ifdef HAS_UTIMEUSEC - ut.acusec = instat.st_ausec; - ut.modusec = instat.st_musec; -# endif /* HAS_UTIMEUSEC */ - - (void) utime(outname, &ut); - -#else /* UTIMBUF */ - - time_t ut[2]; - - ut[0] = instat.st_atime; - ut[1] = instat.st_mtime; - - (void) utime(outname, ut); - -#endif /* UTIMBUF */ - } -#endif /* HAS_UTIME */ -#endif /* HAS_UTIMES */ -} - - -static int okay_as_input P3((name,f,st), char* name, FILE* f, struct stat * st) -{ -# ifdef HAS_FSTAT - if (fstat(fileno(f), st) < 0) -# else - if (stat(name, st) < 0) -# endif - { - perror(name); - fprintf(stderr, "%s: cannot stat \"%s\"\n", progname, name); - return 0; - } - - if (!S_ISREG(st->st_mode)) { - fprintf(stderr, - "%s: \"%s\" is not a regular file -- unchanged.\n", - progname, name); - return 0; - } - if (st->st_nlink > 1 && !f_cat && !f_precious) { - fprintf(stderr, - "%s: \"%s\" has %s other link%s -- unchanged.\n", - progname,name,st->st_nlink - 1,"s" + (st->st_nlink<=2)); - return 0; - } - return 1; -} - -static void prepare_io P1(( desc), struct fmtdesc * desc) -{ - output = desc->output; - input = desc->input; - - init_input = desc->init_input; - init_output = desc->init_output; -} - -static struct fmtdesc * grok_format P1((name), char * name) -{ - char * c; - struct fmtdesc ** f; - - if (name) { - c = plainname(name); - - for (f = alldescs; *f; f++) { - if ( (*f)->suffix - && *(*f)->suffix - && suffix(c, (*f)->suffix)) { - - free(c); - return *f; - } - } - - free(c); - } - return (struct fmtdesc *)0; -} - -static int open_input P2((name, st), char * name, struct stat * st) -{ - struct fmtdesc * f = f_format; - - st->st_nlink = 0; /* indicates `undefined' value */ - if (!name) { - inname = (char *)NULL; - in = stdin; -#ifdef HAS__FSETMODE - _fsetmode(in, "b"); -#endif - } - else { - if (f_decode) inname = codename(name); - else { - if (!f_cat && suffix(name, SUFFIX_TOASTED)) { - fprintf(stderr, - "%s: %s already has \"%s\" suffix -- unchanged.\n", - progname, name, SUFFIX_TOASTED ); - return 0; - } - inname = strcpy(emalloc(strlen(name)+1), name); - } - if (!(in = fopen(inname, READ))) { - perror(inname); /* not guaranteed to be valid here */ - fprintf(stderr, "%s: cannot open \"%s\" for reading\n", - progname, inname); - return 0; - } - if (!okay_as_input(inname, in, st)) return 0; - if (!f) f = grok_format(inname); - } - prepare_io( f ? f : & DEFAULT_FORMAT ); - return 1; -} - -static int open_output P1((name), char *name) -{ - if (!name || f_cat) { - out = stdout; - outname = (char *)NULL; -#ifdef HAS__FSETMODE - _fsetmode(out, "b"); -#endif - } - else { - int outfd = -1; - char * o; - - o = (*(f_decode ? plainname : codename))(name); - if (!length_okay(o)) return 0; - if ((outfd = open(o, O_WRITE_EXCL, 0666)) >= 0) - out = fdopen(outfd, WRITE); - else if (errno != EEXIST) out = (FILE *)NULL; - else if (ok_to_replace(o)) out = fopen(o, WRITE); - else return 0; - - if (!out) { - perror(o); - fprintf(stderr, - "%s: can't open \"%s\" for writing\n", - progname, o); - if (outfd >= 0) (void)close(outfd); - return 0; - } - - outname = o; - } - return 1; -} - -static int process_encode P0() -{ - gsm r; - gsm_signal s[ 160 ]; - gsm_frame d; - - int cc; - - if (!(r = gsm_create())) { - perror(progname); - return -1; - } - (void)gsm_option(r, GSM_OPT_FAST, &f_fast); - (void)gsm_option(r, GSM_OPT_VERBOSE, &f_verbose); - (void)gsm_option(r, GSM_OPT_LTP_CUT, &f_ltp_cut); - - while ((cc = (*input)(s)) > 0) { - if (cc < sizeof(s) / sizeof(*s)) - memset((char *)(s+cc), 0, sizeof(s)-(cc * sizeof(*s))); - gsm_encode(r, s, d); - if (fwrite((char *)d, sizeof(d), 1, out) != 1) { - perror(outname ? outname : "stdout"); - fprintf(stderr, "%s: error writing to %s\n", - progname, outname ? outname : "stdout"); - gsm_destroy(r); - return -1; - } - } - if (cc < 0) { - perror(inname ? inname : "stdin"); - fprintf(stderr, "%s: error reading from %s\n", - progname, inname ? inname : "stdin"); - gsm_destroy(r); - return -1; - } - gsm_destroy(r); - - return 0; -} - -static int process_decode P0() -{ - gsm r; - gsm_frame s; - gsm_signal d[ 160 ]; - - int cc; - - if (!(r = gsm_create())) { /* malloc failed */ - perror(progname); - return -1; - } - (void)gsm_option(r, GSM_OPT_FAST, &f_fast); - (void)gsm_option(r, GSM_OPT_VERBOSE, &f_verbose); - - while ((cc = fread(s, 1, sizeof(s), in)) > 0) { - - if (cc != sizeof(s)) { - if (cc >= 0) fprintf(stderr, - "%s: incomplete frame (%d byte%s missing) from %s\n", - progname, sizeof(s) - cc, - "s" + (sizeof(s) - cc == 1), - inname ? inname : "stdin" ); - gsm_destroy(r); - errno = 0; - return -1; - } - if (gsm_decode(r, s, d)) { - fprintf(stderr, "%s: bad frame in %s\n", - progname, inname ? inname : "stdin"); - gsm_destroy(r); - errno = 0; - return -1; - } - - if ((*output)(d) < 0) { - perror(outname); - fprintf(stderr, "%s: error writing to %s\n", - progname, outname); - gsm_destroy(r); - return -1; - } - } - - if (cc < 0) { - perror(inname ? inname : "stdin" ); - fprintf(stderr, "%s: error reading from %s\n", progname, - inname ? inname : "stdin"); - gsm_destroy(r); - return -1; - } - - gsm_destroy(r); - return 0; -} - -static int process P1((name), char * name) -{ - int step = 0; - - out = (FILE *)0; - in = (FILE *)0; - - outname = (char *)0; - inname = (char *)0; - - if (!open_input(name, &instat) || !open_output(name)) - goto err; - - if ((*(f_decode ? init_output : init_input))()) { - fprintf(stderr, "%s: error %s %s\n", - progname, - f_decode ? "writing header to" : "reading header from", - f_decode ? (outname ? outname : "stdout") - : (inname ? inname : "stdin")); - goto err; - } - - if ((*(f_decode ? process_decode : process_encode))()) - goto err; - - if (fflush(out) < 0 || ferror(out)) { - perror(outname ? outname : "stdout"); - fprintf(stderr, "%s: error writing \"%s\"\n", progname, - outname ? outname:"stdout"); - goto err; - } - - if (out != stdout) { - - update_times(); - update_mode (); - update_own (); - - if (fclose(out) < 0) { - perror(outname); - fprintf(stderr, "%s: error writing \"%s\"\n", - progname, outname); - goto err; - } - if (outname != name) free(outname); - outname = (char *)0; - } - out = (FILE *)0; - if (in != stdin) { - (void)fclose(in), in = (FILE *)0; - if (!f_cat && !f_precious) { - if (unlink(inname) < 0) { - perror(inname); - fprintf(stderr, - "%s: source \"%s\" not deleted.\n", - progname, inname); - } - goto err; - } - if (inname != name) free(inname); - inname = (char *)0; - } - return 0; - - /* - * Error handling and cleanup. - */ -err: - if (out && out != stdout) { - (void)fclose(out), out = (FILE *)0; - if (unlink(outname) < 0 && errno != ENOENT && errno != EINTR) { - perror(outname); - fprintf(stderr, "%s: could not unlink \"%s\"\n", - progname, outname); - } - } - if (in && in != stdin) (void)fclose(in), in = (FILE *)0; - - if (inname && inname != name) free(inname); - if (outname && outname != name) free(outname); - - return -1; -} - -static void version P0() -{ - printf( "%s 1.0, version %s\n", - progname, - "$Id$" ); -} - -static void help P0() -{ - printf("Usage: %s [-fcpdhvaulsFC] [files...]\n", progname); - printf("\n"); - - printf(" -f force Replace existing files without asking\n"); - printf(" -c cat Write to stdout, do not remove source files\n"); - printf(" -d decode Decode data (default is encode)\n"); - printf(" -p precious Do not delete the source\n"); - printf("\n"); - - printf(" -u u-law Force 8 kHz/8 bit u-law in/output format\n"); - printf(" -s sun .au Force Sun .au u-law in/output format\n"); - printf(" -a A-law Force 8 kHz/8 bit A-law in/output format\n"); - printf(" -l linear Force 16 bit linear in/output format\n"); - printf("\n"); - - printf(" -F fast Sacrifice conformance to performance\n"); - printf(" -C cutoff Ignore most samples during LTP\n"); - printf(" -v version Show version information\n"); - printf(" -h help Print this text\n"); - printf("\n"); -} - - -static void set_format P1((f), struct fmtdesc * f) -{ - if (f_format && f_format != f) { - fprintf( stderr, - "%s: only one of -[uals] is possible (%s -h for help)\n", - progname, progname); - exit(1); - } - - f_format = f; -} - -int main P2((ac, av), int ac, char **av) -{ - int opt; - extern int optind; - extern char * optarg; - - parse_argv0(*av); - - while ((opt = getopt(ac, av, "fcdpvhuaslVFC:")) != EOF) switch (opt) { - - case 'd': f_decode = 1; break; - case 'f': f_force = 1; break; - case 'c': f_cat = 1; break; - case 'p': f_precious = 1; break; - case 'F': f_fast = 1; break; - case 'C': f_ltp_cut = 100; break; -#ifndef NDEBUG - case 'V': f_verbose = 1; break; /* undocumented */ -#endif - - case 'u': set_format( &f_ulaw ); break; - case 'l': set_format( &f_linear ); break; - case 'a': set_format( &f_alaw ); break; - case 's': set_format( &f_audio ); break; - - case 'v': version(); exit(0); - case 'h': help(); exit(0); - - default: - usage: - fprintf(stderr, - "Usage: %s [-fcpdhvuaslFC] [files...] (-h for help)\n", - progname); - exit(1); - } - - f_precious |= f_cat; - - av += optind; - ac -= optind; - - catch_signals(onintr); - - if (ac <= 0) process( (char *)0 ); - else while (ac--) process( *av++ ); - - exit(0); -} diff --git a/res/pjproject/third_party/gsm/src/toast_alaw.c b/res/pjproject/third_party/gsm/src/toast_alaw.c deleted file mode 100644 index 77993427f0..0000000000 --- a/res/pjproject/third_party/gsm/src/toast_alaw.c +++ /dev/null @@ -1,334 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /home/kbs/jutta/src/gsm/gsm-1.0/src/RCS/toast_alaw.c,v 1.2 1996/07/05 17:23:46 jutta Exp $ */ - -#include "toast.h" - -/* toast_alaw.c -- manipulate A-law encoded sound. - */ - -extern FILE * in, * out; - -#define A2S(x) (a2s[ (unsigned char )(x) ]) -#define S2A(x) (s2a[ ((unsigned short)(x)) >> 4 ]) - -static unsigned short a2s[] = { - - 60032, 60288, 59520, 59776, 61056, 61312, 60544, 60800, - 57984, 58240, 57472, 57728, 59008, 59264, 58496, 58752, - 62784, 62912, 62528, 62656, 63296, 63424, 63040, 63168, - 61760, 61888, 61504, 61632, 62272, 62400, 62016, 62144, - 43520, 44544, 41472, 42496, 47616, 48640, 45568, 46592, - 35328, 36352, 33280, 34304, 39424, 40448, 37376, 38400, - 54528, 55040, 53504, 54016, 56576, 57088, 55552, 56064, - 50432, 50944, 49408, 49920, 52480, 52992, 51456, 51968, - 65192, 65208, 65160, 65176, 65256, 65272, 65224, 65240, - 65064, 65080, 65032, 65048, 65128, 65144, 65096, 65112, - 65448, 65464, 65416, 65432, 65512, 65528, 65480, 65496, - 65320, 65336, 65288, 65304, 65384, 65400, 65352, 65368, - 64160, 64224, 64032, 64096, 64416, 64480, 64288, 64352, - 63648, 63712, 63520, 63584, 63904, 63968, 63776, 63840, - 64848, 64880, 64784, 64816, 64976, 65008, 64912, 64944, - 64592, 64624, 64528, 64560, 64720, 64752, 64656, 64688, - 5504, 5248, 6016, 5760, 4480, 4224, 4992, 4736, - 7552, 7296, 8064, 7808, 6528, 6272, 7040, 6784, - 2752, 2624, 3008, 2880, 2240, 2112, 2496, 2368, - 3776, 3648, 4032, 3904, 3264, 3136, 3520, 3392, - 22016, 20992, 24064, 23040, 17920, 16896, 19968, 18944, - 30208, 29184, 32256, 31232, 26112, 25088, 28160, 27136, - 11008, 10496, 12032, 11520, 8960, 8448, 9984, 9472, - 15104, 14592, 16128, 15616, 13056, 12544, 14080, 13568, - 344, 328, 376, 360, 280, 264, 312, 296, - 472, 456, 504, 488, 408, 392, 440, 424, - 88, 72, 120, 104, 24, 8, 56, 40, - 216, 200, 248, 232, 152, 136, 184, 168, - 1376, 1312, 1504, 1440, 1120, 1056, 1248, 1184, - 1888, 1824, 2016, 1952, 1632, 1568, 1760, 1696, - 688, 656, 752, 720, 560, 528, 624, 592, - 944, 912, 1008, 976, 816, 784, 880, 848 - -}; - - -static unsigned char s2a[] = { - - 213,212,215,214,209,208,211,210,221,220,223,222,217,216,219,218, - 197,196,199,198,193,192,195,194,205,204,207,206,201,200,203,202, - 245,245,244,244,247,247,246,246,241,241,240,240,243,243,242,242, - 253,253,252,252,255,255,254,254,249,249,248,248,251,251,250,250, - 229,229,229,229,228,228,228,228,231,231,231,231,230,230,230,230, - 225,225,225,225,224,224,224,224,227,227,227,227,226,226,226,226, - 237,237,237,237,236,236,236,236,239,239,239,239,238,238,238,238, - 233,233,233,233,232,232,232,232,235,235,235,235,234,234,234,234, - 149,149,149,149,149,149,149,149,148,148,148,148,148,148,148,148, - 151,151,151,151,151,151,151,151,150,150,150,150,150,150,150,150, - 145,145,145,145,145,145,145,145,144,144,144,144,144,144,144,144, - 147,147,147,147,147,147,147,147,146,146,146,146,146,146,146,146, - 157,157,157,157,157,157,157,157,156,156,156,156,156,156,156,156, - 159,159,159,159,159,159,159,159,158,158,158,158,158,158,158,158, - 153,153,153,153,153,153,153,153,152,152,152,152,152,152,152,152, - 155,155,155,155,155,155,155,155,154,154,154,154,154,154,154,154, - 133,133,133,133,133,133,133,133,133,133,133,133,133,133,133,133, - 132,132,132,132,132,132,132,132,132,132,132,132,132,132,132,132, - 135,135,135,135,135,135,135,135,135,135,135,135,135,135,135,135, - 134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134, - 129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129, - 128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128, - 131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131, - 130,130,130,130,130,130,130,130,130,130,130,130,130,130,130,130, - 141,141,141,141,141,141,141,141,141,141,141,141,141,141,141,141, - 140,140,140,140,140,140,140,140,140,140,140,140,140,140,140,140, - 143,143,143,143,143,143,143,143,143,143,143,143,143,143,143,143, - 142,142,142,142,142,142,142,142,142,142,142,142,142,142,142,142, - 137,137,137,137,137,137,137,137,137,137,137,137,137,137,137,137, - 136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136, - 139,139,139,139,139,139,139,139,139,139,139,139,139,139,139,139, - 138,138,138,138,138,138,138,138,138,138,138,138,138,138,138,138, - 181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181, - 181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181, - 180,180,180,180,180,180,180,180,180,180,180,180,180,180,180,180, - 180,180,180,180,180,180,180,180,180,180,180,180,180,180,180,180, - 183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183, - 183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183, - 182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182, - 182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182, - 177,177,177,177,177,177,177,177,177,177,177,177,177,177,177,177, - 177,177,177,177,177,177,177,177,177,177,177,177,177,177,177,177, - 176,176,176,176,176,176,176,176,176,176,176,176,176,176,176,176, - 176,176,176,176,176,176,176,176,176,176,176,176,176,176,176,176, - 179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179, - 179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179, - 178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178, - 178,178,178,178,178,178,178,178,178,178,178,178,178,178,178,178, - 189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189, - 189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189, - 188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188, - 188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188, - 191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191, - 191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191, - 190,190,190,190,190,190,190,190,190,190,190,190,190,190,190,190, - 190,190,190,190,190,190,190,190,190,190,190,190,190,190,190,190, - 185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185, - 185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185, - 184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184, - 184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184, - 187,187,187,187,187,187,187,187,187,187,187,187,187,187,187,187, - 187,187,187,187,187,187,187,187,187,187,187,187,187,187,187,187, - 186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186, - 186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186, - 165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165, - 165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165, - 165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165, - 165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165, - 164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164, - 164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164, - 164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164, - 164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164, - 167,167,167,167,167,167,167,167,167,167,167,167,167,167,167,167, - 167,167,167,167,167,167,167,167,167,167,167,167,167,167,167,167, - 167,167,167,167,167,167,167,167,167,167,167,167,167,167,167,167, - 167,167,167,167,167,167,167,167,167,167,167,167,167,167,167,167, - 166,166,166,166,166,166,166,166,166,166,166,166,166,166,166,166, - 166,166,166,166,166,166,166,166,166,166,166,166,166,166,166,166, - 166,166,166,166,166,166,166,166,166,166,166,166,166,166,166,166, - 166,166,166,166,166,166,166,166,166,166,166,166,166,166,166,166, - 161,161,161,161,161,161,161,161,161,161,161,161,161,161,161,161, - 161,161,161,161,161,161,161,161,161,161,161,161,161,161,161,161, - 161,161,161,161,161,161,161,161,161,161,161,161,161,161,161,161, - 161,161,161,161,161,161,161,161,161,161,161,161,161,161,161,161, - 160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160, - 160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160, - 160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160, - 160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160, - 163,163,163,163,163,163,163,163,163,163,163,163,163,163,163,163, - 163,163,163,163,163,163,163,163,163,163,163,163,163,163,163,163, - 163,163,163,163,163,163,163,163,163,163,163,163,163,163,163,163, - 163,163,163,163,163,163,163,163,163,163,163,163,163,163,163,163, - 162,162,162,162,162,162,162,162,162,162,162,162,162,162,162,162, - 162,162,162,162,162,162,162,162,162,162,162,162,162,162,162,162, - 162,162,162,162,162,162,162,162,162,162,162,162,162,162,162,162, - 162,162,162,162,162,162,162,162,162,162,162,162,162,162,162,162, - 173,173,173,173,173,173,173,173,173,173,173,173,173,173,173,173, - 173,173,173,173,173,173,173,173,173,173,173,173,173,173,173,173, - 173,173,173,173,173,173,173,173,173,173,173,173,173,173,173,173, - 173,173,173,173,173,173,173,173,173,173,173,173,173,173,173,173, - 172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172, - 172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172, - 172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172, - 172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172, - 175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175, - 175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175, - 175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175, - 175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175, - 174,174,174,174,174,174,174,174,174,174,174,174,174,174,174,174, - 174,174,174,174,174,174,174,174,174,174,174,174,174,174,174,174, - 174,174,174,174,174,174,174,174,174,174,174,174,174,174,174,174, - 174,174,174,174,174,174,174,174,174,174,174,174,174,174,174,174, - 169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169, - 169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169, - 169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169, - 169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169, - 168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168, - 168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168, - 168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168, - 168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168, - 171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171, - 171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171, - 171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171, - 171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171, - 170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170, - 170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170, - 170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170, - 170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170, - 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, - 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, - 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, - 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, - 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, - 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, - 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, - 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, - 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, - 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, - 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, - 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, - 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, - 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, - 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, - 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, - 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, - 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, - 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, - 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, - 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, - 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, - 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, - 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, - 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, - 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, - 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, - 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, - 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, - 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, - 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, - 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, - 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, - 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, - 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, - 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, - 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, - 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, - 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, - 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, - 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, - 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, - 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, - 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, - 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, - 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, - 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, - 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, - 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, - 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, - 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, - 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, - 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, - 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, - 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, - 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, - 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, - 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, - 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, - 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, - 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, - 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, - 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, - 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, - 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, - 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, - 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, - 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, - 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, - 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, - 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, - 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, - 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, - 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, - 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, - 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, - 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, - 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, - 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, - 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, - 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, - 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, - 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, - 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, - 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, - 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, - 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, - 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, - 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, - 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, - 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, - 24, 24, 24, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 25, 25, 25, - 30, 30, 30, 30, 30, 30, 30, 30, 31, 31, 31, 31, 31, 31, 31, 31, - 28, 28, 28, 28, 28, 28, 28, 28, 29, 29, 29, 29, 29, 29, 29, 29, - 18, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19, 19, 19, 19, 19, - 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 17, 17, 17, 17, - 22, 22, 22, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, - 20, 20, 20, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, 21, 21, 21, - 106,106,106,106,107,107,107,107,104,104,104,104,105,105,105,105, - 110,110,110,110,111,111,111,111,108,108,108,108,109,109,109,109, - 98, 98, 98, 98, 99, 99, 99, 99, 96, 96, 96, 96, 97, 97, 97, 97, - 102,102,102,102,103,103,103,103,100,100,100,100,101,101,101,101, - 122,122,123,123,120,120,121,121,126,126,127,127,124,124,125,125, - 114,114,115,115,112,112,113,113,118,118,119,119,116,116,117,117, - 74, 75, 72, 73, 78, 79, 76, 77, 66, 67, 64, 65, 70, 71, 68, 69, - 90, 91, 88, 89, 94, 95, 92, 93, 82, 83, 80, 81, 86, 87, 84, 85 -}; - -int alaw_input P1((buf), gsm_signal * buf) -{ - int i, c; - - for (i = 0; i < 160 && (c = fgetc(in)) != EOF; i++) buf[i] = A2S( c ); - if (c == EOF && ferror(in)) return -1; - return i; -} - -int alaw_output P1((buf), gsm_signal * buf) -{ - int i; - - for (i = 0; i < 160; i++, buf++) - if (fputc( S2A( *buf ), out) == EOF) return -1; - return 0; -} - diff --git a/res/pjproject/third_party/gsm/src/toast_audio.c b/res/pjproject/third_party/gsm/src/toast_audio.c deleted file mode 100644 index f090f23146..0000000000 --- a/res/pjproject/third_party/gsm/src/toast_audio.c +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/toast_audio.c,v 1.6 1995/03/07 21:21:24 jutta Exp $ */ - -#include "toast.h" - -/* toast_audio -- functions to manipulate SunOS audio files. - * - * This is reverse engineered from our present soundfiles - * and in no way portable, durable or aesthetically pleasing. - */ - -extern FILE * in, * out; -extern char * inname; -extern char * progname; - -extern int (*output) P((gsm_signal *)), - (*input ) P((gsm_signal *)); - -extern int alaw_input P((gsm_signal *)), - ulaw_input P((gsm_signal *)), - linear_input P((gsm_signal *)); - -extern int ulaw_output P((gsm_signal *)); - -static int put_u32 P2((f, u), FILE * f, unsigned long u) -{ - /* Write a 32-bit unsigned value msb first. - */ - if ( putc( (char)((u>>24) & 0x0FF), f) == EOF - || putc( (char)((u>>16) & 0x0FF), f) == EOF - || putc( (char)((u>> 8) & 0x0FF), f) == EOF - || putc( (char)( u & 0x0FF), f) == EOF) return -1; - - return 0; -} - -static int get_u32 P2((f, up), FILE * f, unsigned long * up) -{ - /* Read a 32-bit unsigned value msb first. - */ - int i; - unsigned long u; - - if ( (i = getc(f)) == EOF - || ((u = (unsigned char)i), (i = getc(f)) == EOF) - || ((u = (u<<8)|(unsigned char)i), (i = getc(f)) == EOF) - || ((u = (u<<8)|(unsigned char)i), (i = getc(f)) == EOF)) return -1; - *up = (u<<8)|(unsigned char)i; - return 0; -} - -int audio_init_input P0() -{ - unsigned long len, enc; /* unsigned 32 bits */ - - if ( fgetc(in) != '.' - || fgetc(in) != 's' - || fgetc(in) != 'n' - || fgetc(in) != 'd' - || get_u32( in, &len ) - || get_u32( in, &enc ) /* skip this */ - || get_u32( in, &enc )) { - fprintf(stderr, - "%s: bad (missing?) header in Sun audio file \"%s\";\n\ - Try one of -u, -a, -l instead (%s -h for help).\n", - progname, inname ? inname : "stdin", progname); - return -1; - } - - switch (enc) { - case 1: input = ulaw_input; break; - case 2: input = alaw_input; break; - case 3: input = linear_input; break; - default: - fprintf(stderr, -"%s: warning: file format #%lu for %s not implemented, defaulting to u-law.\n", - progname, enc, inname); - input = ulaw_input; - break; - } - - while (len > 4*4) - if (getc(in) == EOF) { - fprintf(stderr, - "%s: EOF in header of Sun audio file \"%s\";\n\ - Try one of -u, -a, -l instead (%s -h for help).\n", - progname, inname ? inname : "stdin", progname); - return -1; - } - else len--; - - return 0; -} - -int audio_init_output P0() -{ - if ( fputs(".snd", out) == EOF - || put_u32(out, 32) - || put_u32(out, ~(unsigned long)0) - || put_u32(out, 1) - || put_u32(out, 8000) - || put_u32(out, 1) - || put_u32(out, 0) - || put_u32(out, 0)) return -1; - - return 0; -} - diff --git a/res/pjproject/third_party/gsm/src/toast_lin.c b/res/pjproject/third_party/gsm/src/toast_lin.c deleted file mode 100644 index 7b5f845383..0000000000 --- a/res/pjproject/third_party/gsm/src/toast_lin.c +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/toast_lin.c,v 1.1 1992/10/28 00:15:50 jutta Exp $ */ - -#include "toast.h" - -/* toast_linear.c -- read and write 16 bit linear sound in host byte order. - */ - -extern FILE *in, *out; - -int linear_input (buf) gsm_signal * buf; -{ - return fread( (char *)buf, sizeof(*buf), 160, in ); -} - -int linear_output P1((buf), gsm_signal * buf) -{ - return -( fwrite( (char *)buf, sizeof(*buf), 160, out ) != 160 ); -} diff --git a/res/pjproject/third_party/gsm/src/toast_ulaw.c b/res/pjproject/third_party/gsm/src/toast_ulaw.c deleted file mode 100644 index 14ef2d058b..0000000000 --- a/res/pjproject/third_party/gsm/src/toast_ulaw.c +++ /dev/null @@ -1,621 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/toast_ulaw.c,v 1.1 1992/10/28 00:15:50 jutta Exp $ */ - -#include "toast.h" - -/* toast_ulaw -- functions to manipulate u-law encoded sound. - */ - -extern FILE *in, *out; - -#define U2S(x) (u2s[ (unsigned char)(x) ]) -#define S2U(x) (s2u[ ((unsigned short)(x)) >> 3 ]) - -static unsigned short u2s[] = { - 33280, 34308, 35336, 36364, 37393, 38421, 39449, 40477, - 41505, 42534, 43562, 44590, 45618, 46647, 47675, 48703, - 49474, 49988, 50503, 51017, 51531, 52045, 52559, 53073, - 53587, 54101, 54616, 55130, 55644, 56158, 56672, 57186, - 57572, 57829, 58086, 58343, 58600, 58857, 59114, 59371, - 59628, 59885, 60142, 60399, 60656, 60913, 61171, 61428, - 61620, 61749, 61877, 62006, 62134, 62263, 62392, 62520, - 62649, 62777, 62906, 63034, 63163, 63291, 63420, 63548, - 63645, 63709, 63773, 63838, 63902, 63966, 64030, 64095, - 64159, 64223, 64287, 64352, 64416, 64480, 64544, 64609, - 64657, 64689, 64721, 64753, 64785, 64818, 64850, 64882, - 64914, 64946, 64978, 65010, 65042, 65075, 65107, 65139, - 65163, 65179, 65195, 65211, 65227, 65243, 65259, 65275, - 65291, 65308, 65324, 65340, 65356, 65372, 65388, 65404, - 65416, 65424, 65432, 65440, 65448, 65456, 65464, 65472, - 65480, 65488, 65496, 65504, 65512, 65520, 65528, 0, - 32256, 31228, 30200, 29172, 28143, 27115, 26087, 25059, - 24031, 23002, 21974, 20946, 19918, 18889, 17861, 16833, - 16062, 15548, 15033, 14519, 14005, 13491, 12977, 12463, - 11949, 11435, 10920, 10406, 9892, 9378, 8864, 8350, - 7964, 7707, 7450, 7193, 6936, 6679, 6422, 6165, - 5908, 5651, 5394, 5137, 4880, 4623, 4365, 4108, - 3916, 3787, 3659, 3530, 3402, 3273, 3144, 3016, - 2887, 2759, 2630, 2502, 2373, 2245, 2116, 1988, - 1891, 1827, 1763, 1698, 1634, 1570, 1506, 1441, - 1377, 1313, 1249, 1184, 1120, 1056, 992, 927, - 879, 847, 815, 783, 751, 718, 686, 654, - 622, 590, 558, 526, 494, 461, 429, 397, - 373, 357, 341, 325, 309, 293, 277, 261, - 245, 228, 212, 196, 180, 164, 148, 132, - 120, 112, 104, 96, 88, 80, 72, 64, - 56, 48, 40, 32, 24, 16, 8, 0 -}; - -static unsigned char s2u[] = { -0377,0376,0375,0374,0373,0372,0371,0370,0367,0366,0365,0364,0363,0362,0361, -0360,0357,0357,0356,0356,0355,0355,0354,0354,0353,0353,0352,0352,0351,0351, -0350,0350,0347,0347,0346,0346,0345,0345,0344,0344,0343,0343,0342,0342,0341, -0341,0340,0340,0337,0337,0337,0337,0336,0336,0336,0336,0335,0335,0335,0335, -0334,0334,0334,0334,0333,0333,0333,0333,0332,0332,0332,0332,0331,0331,0331, -0331,0330,0330,0330,0330,0327,0327,0327,0327,0326,0326,0326,0326,0325,0325, -0325,0325,0324,0324,0324,0324,0323,0323,0323,0323,0322,0322,0322,0322,0321, -0321,0321,0321,0320,0320,0320,0320,0317,0317,0317,0317,0317,0317,0317,0317, -0316,0316,0316,0316,0316,0316,0316,0316,0315,0315,0315,0315,0315,0315,0315, -0315,0314,0314,0314,0314,0314,0314,0314,0314,0313,0313,0313,0313,0313,0313, -0313,0313,0312,0312,0312,0312,0312,0312,0312,0312,0311,0311,0311,0311,0311, -0311,0311,0311,0310,0310,0310,0310,0310,0310,0310,0310,0307,0307,0307,0307, -0307,0307,0307,0307,0306,0306,0306,0306,0306,0306,0306,0306,0305,0305,0305, -0305,0305,0305,0305,0305,0304,0304,0304,0304,0304,0304,0304,0304,0303,0303, -0303,0303,0303,0303,0303,0303,0303,0302,0302,0302,0302,0302,0302,0302,0302, -0301,0301,0301,0301,0301,0301,0301,0301,0300,0300,0300,0300,0300,0300,0300, -0300,0277,0277,0277,0277,0277,0277,0277,0277,0277,0277,0277,0277,0277,0277, -0277,0277,0276,0276,0276,0276,0276,0276,0276,0276,0276,0276,0276,0276,0276, -0276,0276,0276,0275,0275,0275,0275,0275,0275,0275,0275,0275,0275,0275,0275, -0275,0275,0275,0275,0274,0274,0274,0274,0274,0274,0274,0274,0274,0274,0274, -0274,0274,0274,0274,0274,0273,0273,0273,0273,0273,0273,0273,0273,0273,0273, -0273,0273,0273,0273,0273,0273,0272,0272,0272,0272,0272,0272,0272,0272,0272, -0272,0272,0272,0272,0272,0272,0272,0271,0271,0271,0271,0271,0271,0271,0271, -0271,0271,0271,0271,0271,0271,0271,0271,0270,0270,0270,0270,0270,0270,0270, -0270,0270,0270,0270,0270,0270,0270,0270,0270,0267,0267,0267,0267,0267,0267, -0267,0267,0267,0267,0267,0267,0267,0267,0267,0267,0266,0266,0266,0266,0266, -0266,0266,0266,0266,0266,0266,0266,0266,0266,0266,0266,0265,0265,0265,0265, -0265,0265,0265,0265,0265,0265,0265,0265,0265,0265,0265,0265,0264,0264,0264, -0264,0264,0264,0264,0264,0264,0264,0264,0264,0264,0264,0264,0264,0263,0263, -0263,0263,0263,0263,0263,0263,0263,0263,0263,0263,0263,0263,0263,0263,0262, -0262,0262,0262,0262,0262,0262,0262,0262,0262,0262,0262,0262,0262,0262,0262, -0262,0261,0261,0261,0261,0261,0261,0261,0261,0261,0261,0261,0261,0261,0261, -0261,0261,0260,0260,0260,0260,0260,0260,0260,0260,0260,0260,0260,0260,0260, -0260,0260,0260,0257,0257,0257,0257,0257,0257,0257,0257,0257,0257,0257,0257, -0257,0257,0257,0257,0257,0257,0257,0257,0257,0257,0257,0257,0257,0257,0257, -0257,0257,0257,0257,0257,0256,0256,0256,0256,0256,0256,0256,0256,0256,0256, -0256,0256,0256,0256,0256,0256,0256,0256,0256,0256,0256,0256,0256,0256,0256, -0256,0256,0256,0256,0256,0256,0256,0255,0255,0255,0255,0255,0255,0255,0255, -0255,0255,0255,0255,0255,0255,0255,0255,0255,0255,0255,0255,0255,0255,0255, -0255,0255,0255,0255,0255,0255,0255,0255,0255,0254,0254,0254,0254,0254,0254, -0254,0254,0254,0254,0254,0254,0254,0254,0254,0254,0254,0254,0254,0254,0254, -0254,0254,0254,0254,0254,0254,0254,0254,0254,0254,0254,0253,0253,0253,0253, -0253,0253,0253,0253,0253,0253,0253,0253,0253,0253,0253,0253,0253,0253,0253, -0253,0253,0253,0253,0253,0253,0253,0253,0253,0253,0253,0253,0253,0252,0252, -0252,0252,0252,0252,0252,0252,0252,0252,0252,0252,0252,0252,0252,0252,0252, -0252,0252,0252,0252,0252,0252,0252,0252,0252,0252,0252,0252,0252,0252,0252, -0251,0251,0251,0251,0251,0251,0251,0251,0251,0251,0251,0251,0251,0251,0251, -0251,0251,0251,0251,0251,0251,0251,0251,0251,0251,0251,0251,0251,0251,0251, -0251,0251,0251,0250,0250,0250,0250,0250,0250,0250,0250,0250,0250,0250,0250, -0250,0250,0250,0250,0250,0250,0250,0250,0250,0250,0250,0250,0250,0250,0250, -0250,0250,0250,0250,0250,0247,0247,0247,0247,0247,0247,0247,0247,0247,0247, -0247,0247,0247,0247,0247,0247,0247,0247,0247,0247,0247,0247,0247,0247,0247, -0247,0247,0247,0247,0247,0247,0247,0246,0246,0246,0246,0246,0246,0246,0246, -0246,0246,0246,0246,0246,0246,0246,0246,0246,0246,0246,0246,0246,0246,0246, -0246,0246,0246,0246,0246,0246,0246,0246,0246,0245,0245,0245,0245,0245,0245, -0245,0245,0245,0245,0245,0245,0245,0245,0245,0245,0245,0245,0245,0245,0245, -0245,0245,0245,0245,0245,0245,0245,0245,0245,0245,0245,0244,0244,0244,0244, -0244,0244,0244,0244,0244,0244,0244,0244,0244,0244,0244,0244,0244,0244,0244, -0244,0244,0244,0244,0244,0244,0244,0244,0244,0244,0244,0244,0244,0243,0243, -0243,0243,0243,0243,0243,0243,0243,0243,0243,0243,0243,0243,0243,0243,0243, -0243,0243,0243,0243,0243,0243,0243,0243,0243,0243,0243,0243,0243,0243,0243, -0242,0242,0242,0242,0242,0242,0242,0242,0242,0242,0242,0242,0242,0242,0242, -0242,0242,0242,0242,0242,0242,0242,0242,0242,0242,0242,0242,0242,0242,0242, -0242,0242,0242,0241,0241,0241,0241,0241,0241,0241,0241,0241,0241,0241,0241, -0241,0241,0241,0241,0241,0241,0241,0241,0241,0241,0241,0241,0241,0241,0241, -0241,0241,0241,0241,0241,0240,0240,0240,0240,0240,0240,0240,0240,0240,0240, -0240,0240,0240,0240,0240,0240,0240,0240,0240,0240,0240,0240,0240,0240,0240, -0240,0240,0240,0240,0240,0240,0240,0237,0237,0237,0237,0237,0237,0237,0237, -0237,0237,0237,0237,0237,0237,0237,0237,0237,0237,0237,0237,0237,0237,0237, -0237,0237,0237,0237,0237,0237,0237,0237,0237,0237,0237,0237,0237,0237,0237, -0237,0237,0237,0237,0237,0237,0237,0237,0237,0237,0237,0237,0237,0237,0237, -0237,0237,0237,0237,0237,0237,0237,0237,0237,0237,0237,0236,0236,0236,0236, -0236,0236,0236,0236,0236,0236,0236,0236,0236,0236,0236,0236,0236,0236,0236, -0236,0236,0236,0236,0236,0236,0236,0236,0236,0236,0236,0236,0236,0236,0236, -0236,0236,0236,0236,0236,0236,0236,0236,0236,0236,0236,0236,0236,0236,0236, -0236,0236,0236,0236,0236,0236,0236,0236,0236,0236,0236,0236,0236,0236,0236, -0235,0235,0235,0235,0235,0235,0235,0235,0235,0235,0235,0235,0235,0235,0235, -0235,0235,0235,0235,0235,0235,0235,0235,0235,0235,0235,0235,0235,0235,0235, -0235,0235,0235,0235,0235,0235,0235,0235,0235,0235,0235,0235,0235,0235,0235, -0235,0235,0235,0235,0235,0235,0235,0235,0235,0235,0235,0235,0235,0235,0235, -0235,0235,0235,0235,0235,0234,0234,0234,0234,0234,0234,0234,0234,0234,0234, -0234,0234,0234,0234,0234,0234,0234,0234,0234,0234,0234,0234,0234,0234,0234, -0234,0234,0234,0234,0234,0234,0234,0234,0234,0234,0234,0234,0234,0234,0234, -0234,0234,0234,0234,0234,0234,0234,0234,0234,0234,0234,0234,0234,0234,0234, -0234,0234,0234,0234,0234,0234,0234,0234,0234,0233,0233,0233,0233,0233,0233, -0233,0233,0233,0233,0233,0233,0233,0233,0233,0233,0233,0233,0233,0233,0233, -0233,0233,0233,0233,0233,0233,0233,0233,0233,0233,0233,0233,0233,0233,0233, -0233,0233,0233,0233,0233,0233,0233,0233,0233,0233,0233,0233,0233,0233,0233, -0233,0233,0233,0233,0233,0233,0233,0233,0233,0233,0233,0233,0233,0232,0232, -0232,0232,0232,0232,0232,0232,0232,0232,0232,0232,0232,0232,0232,0232,0232, -0232,0232,0232,0232,0232,0232,0232,0232,0232,0232,0232,0232,0232,0232,0232, -0232,0232,0232,0232,0232,0232,0232,0232,0232,0232,0232,0232,0232,0232,0232, -0232,0232,0232,0232,0232,0232,0232,0232,0232,0232,0232,0232,0232,0232,0232, -0232,0232,0231,0231,0231,0231,0231,0231,0231,0231,0231,0231,0231,0231,0231, -0231,0231,0231,0231,0231,0231,0231,0231,0231,0231,0231,0231,0231,0231,0231, -0231,0231,0231,0231,0231,0231,0231,0231,0231,0231,0231,0231,0231,0231,0231, -0231,0231,0231,0231,0231,0231,0231,0231,0231,0231,0231,0231,0231,0231,0231, -0231,0231,0231,0231,0231,0231,0231,0230,0230,0230,0230,0230,0230,0230,0230, -0230,0230,0230,0230,0230,0230,0230,0230,0230,0230,0230,0230,0230,0230,0230, -0230,0230,0230,0230,0230,0230,0230,0230,0230,0230,0230,0230,0230,0230,0230, -0230,0230,0230,0230,0230,0230,0230,0230,0230,0230,0230,0230,0230,0230,0230, -0230,0230,0230,0230,0230,0230,0230,0230,0230,0230,0230,0227,0227,0227,0227, -0227,0227,0227,0227,0227,0227,0227,0227,0227,0227,0227,0227,0227,0227,0227, -0227,0227,0227,0227,0227,0227,0227,0227,0227,0227,0227,0227,0227,0227,0227, -0227,0227,0227,0227,0227,0227,0227,0227,0227,0227,0227,0227,0227,0227,0227, -0227,0227,0227,0227,0227,0227,0227,0227,0227,0227,0227,0227,0227,0227,0227, -0226,0226,0226,0226,0226,0226,0226,0226,0226,0226,0226,0226,0226,0226,0226, -0226,0226,0226,0226,0226,0226,0226,0226,0226,0226,0226,0226,0226,0226,0226, -0226,0226,0226,0226,0226,0226,0226,0226,0226,0226,0226,0226,0226,0226,0226, -0226,0226,0226,0226,0226,0226,0226,0226,0226,0226,0226,0226,0226,0226,0226, -0226,0226,0226,0226,0225,0225,0225,0225,0225,0225,0225,0225,0225,0225,0225, -0225,0225,0225,0225,0225,0225,0225,0225,0225,0225,0225,0225,0225,0225,0225, -0225,0225,0225,0225,0225,0225,0225,0225,0225,0225,0225,0225,0225,0225,0225, -0225,0225,0225,0225,0225,0225,0225,0225,0225,0225,0225,0225,0225,0225,0225, -0225,0225,0225,0225,0225,0225,0225,0225,0225,0224,0224,0224,0224,0224,0224, -0224,0224,0224,0224,0224,0224,0224,0224,0224,0224,0224,0224,0224,0224,0224, -0224,0224,0224,0224,0224,0224,0224,0224,0224,0224,0224,0224,0224,0224,0224, -0224,0224,0224,0224,0224,0224,0224,0224,0224,0224,0224,0224,0224,0224,0224, -0224,0224,0224,0224,0224,0224,0224,0224,0224,0224,0224,0224,0224,0223,0223, -0223,0223,0223,0223,0223,0223,0223,0223,0223,0223,0223,0223,0223,0223,0223, -0223,0223,0223,0223,0223,0223,0223,0223,0223,0223,0223,0223,0223,0223,0223, -0223,0223,0223,0223,0223,0223,0223,0223,0223,0223,0223,0223,0223,0223,0223, -0223,0223,0223,0223,0223,0223,0223,0223,0223,0223,0223,0223,0223,0223,0223, -0223,0223,0222,0222,0222,0222,0222,0222,0222,0222,0222,0222,0222,0222,0222, -0222,0222,0222,0222,0222,0222,0222,0222,0222,0222,0222,0222,0222,0222,0222, -0222,0222,0222,0222,0222,0222,0222,0222,0222,0222,0222,0222,0222,0222,0222, -0222,0222,0222,0222,0222,0222,0222,0222,0222,0222,0222,0222,0222,0222,0222, -0222,0222,0222,0222,0222,0222,0221,0221,0221,0221,0221,0221,0221,0221,0221, -0221,0221,0221,0221,0221,0221,0221,0221,0221,0221,0221,0221,0221,0221,0221, -0221,0221,0221,0221,0221,0221,0221,0221,0221,0221,0221,0221,0221,0221,0221, -0221,0221,0221,0221,0221,0221,0221,0221,0221,0221,0221,0221,0221,0221,0221, -0221,0221,0221,0221,0221,0221,0221,0221,0221,0221,0221,0220,0220,0220,0220, -0220,0220,0220,0220,0220,0220,0220,0220,0220,0220,0220,0220,0220,0220,0220, -0220,0220,0220,0220,0220,0220,0220,0220,0220,0220,0220,0220,0220,0220,0220, -0220,0220,0220,0220,0220,0220,0220,0220,0220,0220,0220,0220,0220,0220,0220, -0220,0220,0220,0220,0220,0220,0220,0220,0220,0220,0220,0220,0220,0220,0220, -0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217, -0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217, -0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217, -0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217, -0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217, -0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217, -0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217, -0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217,0217, -0217,0217,0217,0217,0217,0217,0217,0217,0217,0216,0216,0216,0216,0216,0216, -0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216, -0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216, -0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216, -0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216, -0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216, -0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216, -0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216, -0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216,0216, -0216,0216,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215, -0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215, -0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215, -0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215, -0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215, -0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215, -0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215, -0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215, -0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0215,0214,0214,0214,0214, -0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214, -0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214, -0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214, -0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214, -0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214, -0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214, -0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214, -0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214,0214, -0214,0214,0214,0214,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213, -0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213, -0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213, -0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213, -0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213, -0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213, -0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213, -0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213, -0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0213,0212,0212, -0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212, -0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212, -0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212, -0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212, -0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212, -0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212, -0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212, -0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212,0212, -0212,0212,0212,0212,0212,0212,0211,0211,0211,0211,0211,0211,0211,0211,0211, -0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211, -0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211, -0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211, -0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211, -0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211, -0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211, -0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211, -0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211,0211, -0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210, -0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210, -0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210, -0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210, -0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210, -0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210, -0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210, -0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210,0210, -0210,0210,0210,0210,0210,0210,0210,0210,0207,0207,0207,0207,0207,0207,0207, -0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207, -0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207, -0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207, -0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207, -0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207, -0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207, -0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207, -0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207,0207, -0207,0207,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206, -0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206, -0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206, -0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206, -0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206, -0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206, -0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206, -0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0206, -0206,0206,0206,0206,0206,0206,0206,0206,0206,0206,0205,0205,0205,0205,0205, -0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205, -0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205, -0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205, -0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205, -0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205, -0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205, -0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205, -0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205,0205, -0205,0205,0205,0205,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204, -0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204, -0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204, -0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204, -0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204, -0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204, -0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204, -0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204, -0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0204,0203,0203,0203, -0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203, -0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203, -0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203, -0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203, -0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203, -0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203, -0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203, -0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203,0203, -0203,0203,0203,0203,0203,0203,0202,0202,0202,0202,0202,0202,0202,0202,0202, -0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202, -0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202, -0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202, -0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202, -0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202, -0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202, -0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202, -0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0202,0201, -0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201, -0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201, -0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201, -0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201, -0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201, -0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201, -0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201, -0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201,0201, -0201,0201,0201,0201,0201,0201,0201,0201,0200,0200,0200,0200,0200,0200,0200, -0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200, -0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200, -0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200, -0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200, -0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200, -0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200, -0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200, -0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200,0200, -0200,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000, -0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000, -0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000, -0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000, -0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000, -0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000, -0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000, -0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000, -0000,0000,0000,0000,0000,0000,0000,0000,0000,0001,0001,0001,0001,0001,0001, -0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001, -0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001, -0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001, -0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001, -0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001, -0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001, -0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001, -0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001,0001, -0001,0001,0001,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002, -0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002, -0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002, -0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002, -0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002, -0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002, -0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002, -0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002, -0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0002,0003,0003,0003,0003, -0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003, -0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003, -0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003, -0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003, -0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003, -0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003, -0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003, -0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003,0003, -0003,0003,0003,0003,0003,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004, -0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004, -0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004, -0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004, -0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004, -0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004, -0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004, -0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004, -0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0004,0005,0005, -0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005, -0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005, -0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005, -0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005, -0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005, -0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005, -0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005, -0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005,0005, -0005,0005,0005,0005,0005,0005,0005,0006,0006,0006,0006,0006,0006,0006,0006, -0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006, -0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006, -0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006, -0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006, -0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006, -0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006, -0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006, -0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006,0006, -0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007, -0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007, -0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007, -0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007, -0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007, -0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007, -0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007, -0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007,0007, -0007,0007,0007,0007,0007,0007,0007,0007,0007,0010,0010,0010,0010,0010,0010, -0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010, -0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010, -0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010, -0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010, -0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010, -0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010, -0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010, -0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010, -0010,0010,0010,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011, -0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011, -0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011, -0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011, -0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011, -0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011, -0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011, -0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011, -0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0011,0012,0012,0012,0012, -0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012, -0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012, -0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012, -0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012, -0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012, -0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012, -0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012, -0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012,0012, -0012,0012,0012,0012,0012,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013, -0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013, -0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013, -0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013, -0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013, -0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013, -0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013, -0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013, -0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0013,0014,0014, -0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014, -0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014, -0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014, -0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014, -0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014, -0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014, -0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014, -0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014,0014, -0014,0014,0014,0014,0014,0014,0014,0015,0015,0015,0015,0015,0015,0015,0015, -0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015, -0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015, -0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015, -0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015, -0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015, -0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015, -0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015, -0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015,0015, -0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016, -0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016, -0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016, -0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016, -0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016, -0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016, -0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016, -0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016,0016, -0016,0016,0016,0016,0016,0016,0016,0016,0016,0017,0017,0017,0017,0017,0017, -0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017, -0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017, -0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017, -0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017, -0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017, -0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017, -0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017, -0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017,0017, -0017,0017,0020,0020,0020,0020,0020,0020,0020,0020,0020,0020,0020,0020,0020, -0020,0020,0020,0020,0020,0020,0020,0020,0020,0020,0020,0020,0020,0020,0020, -0020,0020,0020,0020,0020,0020,0020,0020,0020,0020,0020,0020,0020,0020,0020, -0020,0020,0020,0020,0020,0020,0020,0020,0020,0020,0020,0020,0020,0020,0020, -0020,0020,0020,0020,0020,0020,0021,0021,0021,0021,0021,0021,0021,0021,0021, -0021,0021,0021,0021,0021,0021,0021,0021,0021,0021,0021,0021,0021,0021,0021, -0021,0021,0021,0021,0021,0021,0021,0021,0021,0021,0021,0021,0021,0021,0021, -0021,0021,0021,0021,0021,0021,0021,0021,0021,0021,0021,0021,0021,0021,0021, -0021,0021,0021,0021,0021,0021,0021,0021,0021,0021,0021,0022,0022,0022,0022, -0022,0022,0022,0022,0022,0022,0022,0022,0022,0022,0022,0022,0022,0022,0022, -0022,0022,0022,0022,0022,0022,0022,0022,0022,0022,0022,0022,0022,0022,0022, -0022,0022,0022,0022,0022,0022,0022,0022,0022,0022,0022,0022,0022,0022,0022, -0022,0022,0022,0022,0022,0022,0022,0022,0022,0022,0022,0022,0022,0022,0022, -0023,0023,0023,0023,0023,0023,0023,0023,0023,0023,0023,0023,0023,0023,0023, -0023,0023,0023,0023,0023,0023,0023,0023,0023,0023,0023,0023,0023,0023,0023, -0023,0023,0023,0023,0023,0023,0023,0023,0023,0023,0023,0023,0023,0023,0023, -0023,0023,0023,0023,0023,0023,0023,0023,0023,0023,0023,0023,0023,0023,0023, -0023,0023,0023,0023,0024,0024,0024,0024,0024,0024,0024,0024,0024,0024,0024, -0024,0024,0024,0024,0024,0024,0024,0024,0024,0024,0024,0024,0024,0024,0024, -0024,0024,0024,0024,0024,0024,0024,0024,0024,0024,0024,0024,0024,0024,0024, -0024,0024,0024,0024,0024,0024,0024,0024,0024,0024,0024,0024,0024,0024,0024, -0024,0024,0024,0024,0024,0024,0024,0024,0024,0025,0025,0025,0025,0025,0025, -0025,0025,0025,0025,0025,0025,0025,0025,0025,0025,0025,0025,0025,0025,0025, -0025,0025,0025,0025,0025,0025,0025,0025,0025,0025,0025,0025,0025,0025,0025, -0025,0025,0025,0025,0025,0025,0025,0025,0025,0025,0025,0025,0025,0025,0025, -0025,0025,0025,0025,0025,0025,0025,0025,0025,0025,0025,0025,0025,0026,0026, -0026,0026,0026,0026,0026,0026,0026,0026,0026,0026,0026,0026,0026,0026,0026, -0026,0026,0026,0026,0026,0026,0026,0026,0026,0026,0026,0026,0026,0026,0026, -0026,0026,0026,0026,0026,0026,0026,0026,0026,0026,0026,0026,0026,0026,0026, -0026,0026,0026,0026,0026,0026,0026,0026,0026,0026,0026,0026,0026,0026,0026, -0026,0026,0027,0027,0027,0027,0027,0027,0027,0027,0027,0027,0027,0027,0027, -0027,0027,0027,0027,0027,0027,0027,0027,0027,0027,0027,0027,0027,0027,0027, -0027,0027,0027,0027,0027,0027,0027,0027,0027,0027,0027,0027,0027,0027,0027, -0027,0027,0027,0027,0027,0027,0027,0027,0027,0027,0027,0027,0027,0027,0027, -0027,0027,0027,0027,0027,0027,0030,0030,0030,0030,0030,0030,0030,0030,0030, -0030,0030,0030,0030,0030,0030,0030,0030,0030,0030,0030,0030,0030,0030,0030, -0030,0030,0030,0030,0030,0030,0030,0030,0030,0030,0030,0030,0030,0030,0030, -0030,0030,0030,0030,0030,0030,0030,0030,0030,0030,0030,0030,0030,0030,0030, -0030,0030,0030,0030,0030,0030,0030,0030,0030,0030,0030,0031,0031,0031,0031, -0031,0031,0031,0031,0031,0031,0031,0031,0031,0031,0031,0031,0031,0031,0031, -0031,0031,0031,0031,0031,0031,0031,0031,0031,0031,0031,0031,0031,0031,0031, -0031,0031,0031,0031,0031,0031,0031,0031,0031,0031,0031,0031,0031,0031,0031, -0031,0031,0031,0031,0031,0031,0031,0031,0031,0031,0031,0031,0031,0031,0031, -0032,0032,0032,0032,0032,0032,0032,0032,0032,0032,0032,0032,0032,0032,0032, -0032,0032,0032,0032,0032,0032,0032,0032,0032,0032,0032,0032,0032,0032,0032, -0032,0032,0032,0032,0032,0032,0032,0032,0032,0032,0032,0032,0032,0032,0032, -0032,0032,0032,0032,0032,0032,0032,0032,0032,0032,0032,0032,0032,0032,0032, -0032,0032,0032,0032,0033,0033,0033,0033,0033,0033,0033,0033,0033,0033,0033, -0033,0033,0033,0033,0033,0033,0033,0033,0033,0033,0033,0033,0033,0033,0033, -0033,0033,0033,0033,0033,0033,0033,0033,0033,0033,0033,0033,0033,0033,0033, -0033,0033,0033,0033,0033,0033,0033,0033,0033,0033,0033,0033,0033,0033,0033, -0033,0033,0033,0033,0033,0033,0033,0033,0034,0034,0034,0034,0034,0034,0034, -0034,0034,0034,0034,0034,0034,0034,0034,0034,0034,0034,0034,0034,0034,0034, -0034,0034,0034,0034,0034,0034,0034,0034,0034,0034,0034,0034,0034,0034,0034, -0034,0034,0034,0034,0034,0034,0034,0034,0034,0034,0034,0034,0034,0034,0034, -0034,0034,0034,0034,0034,0034,0034,0034,0034,0034,0034,0034,0034,0035,0035, -0035,0035,0035,0035,0035,0035,0035,0035,0035,0035,0035,0035,0035,0035,0035, -0035,0035,0035,0035,0035,0035,0035,0035,0035,0035,0035,0035,0035,0035,0035, -0035,0035,0035,0035,0035,0035,0035,0035,0035,0035,0035,0035,0035,0035,0035, -0035,0035,0035,0035,0035,0035,0035,0035,0035,0035,0035,0035,0035,0035,0035, -0035,0035,0036,0036,0036,0036,0036,0036,0036,0036,0036,0036,0036,0036,0036, -0036,0036,0036,0036,0036,0036,0036,0036,0036,0036,0036,0036,0036,0036,0036, -0036,0036,0036,0036,0036,0036,0036,0036,0036,0036,0036,0036,0036,0036,0036, -0036,0036,0036,0036,0036,0036,0036,0036,0036,0036,0036,0036,0036,0036,0036, -0036,0036,0036,0036,0036,0036,0037,0037,0037,0037,0037,0037,0037,0037,0037, -0037,0037,0037,0037,0037,0037,0037,0037,0037,0037,0037,0037,0037,0037,0037, -0037,0037,0037,0037,0037,0037,0037,0037,0037,0037,0037,0037,0037,0037,0037, -0037,0037,0037,0037,0037,0037,0037,0037,0037,0037,0037,0037,0037,0037,0037, -0037,0037,0037,0037,0037,0037,0037,0037,0037,0037,0040,0040,0040,0040,0040, -0040,0040,0040,0040,0040,0040,0040,0040,0040,0040,0040,0040,0040,0040,0040, -0040,0040,0040,0040,0040,0040,0040,0040,0040,0040,0040,0040,0040,0041,0041, -0041,0041,0041,0041,0041,0041,0041,0041,0041,0041,0041,0041,0041,0041,0041, -0041,0041,0041,0041,0041,0041,0041,0041,0041,0041,0041,0041,0041,0041,0041, -0042,0042,0042,0042,0042,0042,0042,0042,0042,0042,0042,0042,0042,0042,0042, -0042,0042,0042,0042,0042,0042,0042,0042,0042,0042,0042,0042,0042,0042,0042, -0042,0042,0043,0043,0043,0043,0043,0043,0043,0043,0043,0043,0043,0043,0043, -0043,0043,0043,0043,0043,0043,0043,0043,0043,0043,0043,0043,0043,0043,0043, -0043,0043,0043,0043,0044,0044,0044,0044,0044,0044,0044,0044,0044,0044,0044, -0044,0044,0044,0044,0044,0044,0044,0044,0044,0044,0044,0044,0044,0044,0044, -0044,0044,0044,0044,0044,0044,0045,0045,0045,0045,0045,0045,0045,0045,0045, -0045,0045,0045,0045,0045,0045,0045,0045,0045,0045,0045,0045,0045,0045,0045, -0045,0045,0045,0045,0045,0045,0045,0045,0046,0046,0046,0046,0046,0046,0046, -0046,0046,0046,0046,0046,0046,0046,0046,0046,0046,0046,0046,0046,0046,0046, -0046,0046,0046,0046,0046,0046,0046,0046,0046,0046,0047,0047,0047,0047,0047, -0047,0047,0047,0047,0047,0047,0047,0047,0047,0047,0047,0047,0047,0047,0047, -0047,0047,0047,0047,0047,0047,0047,0047,0047,0047,0047,0047,0047,0050,0050, -0050,0050,0050,0050,0050,0050,0050,0050,0050,0050,0050,0050,0050,0050,0050, -0050,0050,0050,0050,0050,0050,0050,0050,0050,0050,0050,0050,0050,0050,0050, -0051,0051,0051,0051,0051,0051,0051,0051,0051,0051,0051,0051,0051,0051,0051, -0051,0051,0051,0051,0051,0051,0051,0051,0051,0051,0051,0051,0051,0051,0051, -0051,0051,0052,0052,0052,0052,0052,0052,0052,0052,0052,0052,0052,0052,0052, -0052,0052,0052,0052,0052,0052,0052,0052,0052,0052,0052,0052,0052,0052,0052, -0052,0052,0052,0052,0053,0053,0053,0053,0053,0053,0053,0053,0053,0053,0053, -0053,0053,0053,0053,0053,0053,0053,0053,0053,0053,0053,0053,0053,0053,0053, -0053,0053,0053,0053,0053,0053,0054,0054,0054,0054,0054,0054,0054,0054,0054, -0054,0054,0054,0054,0054,0054,0054,0054,0054,0054,0054,0054,0054,0054,0054, -0054,0054,0054,0054,0054,0054,0054,0054,0055,0055,0055,0055,0055,0055,0055, -0055,0055,0055,0055,0055,0055,0055,0055,0055,0055,0055,0055,0055,0055,0055, -0055,0055,0055,0055,0055,0055,0055,0055,0055,0055,0056,0056,0056,0056,0056, -0056,0056,0056,0056,0056,0056,0056,0056,0056,0056,0056,0056,0056,0056,0056, -0056,0056,0056,0056,0056,0056,0056,0056,0056,0056,0056,0056,0057,0057,0057, -0057,0057,0057,0057,0057,0057,0057,0057,0057,0057,0057,0057,0057,0057,0057, -0057,0057,0057,0057,0057,0057,0057,0057,0057,0057,0057,0057,0057,0057,0057, -0060,0060,0060,0060,0060,0060,0060,0060,0060,0060,0060,0060,0060,0060,0060, -0060,0061,0061,0061,0061,0061,0061,0061,0061,0061,0061,0061,0061,0061,0061, -0061,0061,0062,0062,0062,0062,0062,0062,0062,0062,0062,0062,0062,0062,0062, -0062,0062,0062,0063,0063,0063,0063,0063,0063,0063,0063,0063,0063,0063,0063, -0063,0063,0063,0063,0064,0064,0064,0064,0064,0064,0064,0064,0064,0064,0064, -0064,0064,0064,0064,0064,0065,0065,0065,0065,0065,0065,0065,0065,0065,0065, -0065,0065,0065,0065,0065,0065,0066,0066,0066,0066,0066,0066,0066,0066,0066, -0066,0066,0066,0066,0066,0066,0066,0067,0067,0067,0067,0067,0067,0067,0067, -0067,0067,0067,0067,0067,0067,0067,0067,0070,0070,0070,0070,0070,0070,0070, -0070,0070,0070,0070,0070,0070,0070,0070,0070,0071,0071,0071,0071,0071,0071, -0071,0071,0071,0071,0071,0071,0071,0071,0071,0071,0072,0072,0072,0072,0072, -0072,0072,0072,0072,0072,0072,0072,0072,0072,0072,0072,0073,0073,0073,0073, -0073,0073,0073,0073,0073,0073,0073,0073,0073,0073,0073,0073,0074,0074,0074, -0074,0074,0074,0074,0074,0074,0074,0074,0074,0074,0074,0074,0074,0075,0075, -0075,0075,0075,0075,0075,0075,0075,0075,0075,0075,0075,0075,0075,0075,0075, -0076,0076,0076,0076,0076,0076,0076,0076,0076,0076,0076,0076,0076,0076,0076, -0076,0077,0077,0077,0077,0077,0077,0077,0077,0077,0077,0077,0077,0077,0077, -0077,0077,0100,0100,0100,0100,0100,0100,0100,0100,0101,0101,0101,0101,0101, -0101,0101,0101,0102,0102,0102,0102,0102,0102,0102,0102,0103,0103,0103,0103, -0103,0103,0103,0103,0104,0104,0104,0104,0104,0104,0104,0104,0105,0105,0105, -0105,0105,0105,0105,0105,0106,0106,0106,0106,0106,0106,0106,0106,0107,0107, -0107,0107,0107,0107,0107,0107,0110,0110,0110,0110,0110,0110,0110,0110,0111, -0111,0111,0111,0111,0111,0111,0111,0112,0112,0112,0112,0112,0112,0112,0112, -0113,0113,0113,0113,0113,0113,0113,0113,0114,0114,0114,0114,0114,0114,0114, -0114,0115,0115,0115,0115,0115,0115,0115,0115,0116,0116,0116,0116,0116,0116, -0116,0116,0117,0117,0117,0117,0117,0117,0117,0117,0120,0120,0120,0120,0121, -0121,0121,0121,0122,0122,0122,0122,0123,0123,0123,0123,0124,0124,0124,0124, -0125,0125,0125,0125,0126,0126,0126,0126,0127,0127,0127,0127,0130,0130,0130, -0130,0131,0131,0131,0131,0132,0132,0132,0132,0133,0133,0133,0133,0134,0134, -0134,0134,0135,0135,0135,0135,0136,0136,0136,0136,0137,0137,0137,0137,0140, -0140,0141,0141,0142,0142,0143,0143,0144,0144,0145,0145,0146,0146,0147,0147, -0150,0150,0150,0151,0151,0152,0152,0153,0153,0154,0154,0155,0155,0156,0156, -0157,0157,0160,0161,0162,0163,0164,0165,0166,0167,0170,0171,0172,0173,0174, -0175,0176 -}; - -int ulaw_input P1((buf), gsm_signal * buf) -{ - int i, c; - - for (i = 0; i < 160 && (c = fgetc(in)) != EOF; i++) buf[i] = U2S(c); - if (c == EOF && ferror(in)) return -1; - return i; -} - -int ulaw_output P1((buf), gsm_signal * buf) -{ - int i; - - for(i = 0; i < 160; i++, buf++) - if (fputc( (char)S2U( (unsigned short)*buf ), out) == EOF) - return -1; - return 0; -} diff --git a/res/pjproject/third_party/gsm/tls/bitter.c b/res/pjproject/third_party/gsm/tls/bitter.c deleted file mode 100644 index 602d8d67cb..0000000000 --- a/res/pjproject/third_party/gsm/tls/bitter.c +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/*$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/bitter.c,v 1.1 1992/10/28 00:28:39 jutta Exp $*/ - -/* Generate code to pack a bit array from a name:#bits description */ - -#include -#include "taste.h" -#include "proto.h" - -void write_code P2((s_spex, n_spex), struct spex * s_spex, int n_spex) -{ - struct spex * sp = s_spex; - int bits = 8; - int vars; - - if (!n_spex) return; - - vars = sp->varsize; - - while (n_spex) { - - if (bits == 8) printf("\t*c++ = "); - else printf("\t | "); - - if (vars == bits) { - - printf( (bits==8? "%s & 0x%lX;\n" : "(%s & 0x%lX);\n"), - sp->var, - ~(0xfffffffe << (bits - 1))); - if (!-- n_spex) break; - sp++; - - vars = sp->varsize; - bits = 8; - - } else if (vars < bits) { - - printf( "((%s & 0x%lX) << %d)", - sp->var, - ~(0xfffffffe << (vars - 1)), - bits - vars); - bits -= vars; - if (!--n_spex) { - puts(";"); - break; - } - else putchar('\n'); - sp++; - vars = sp->varsize; - - } else { - printf("((%s >> %d) & 0x%X);\n", - sp->var, - vars - bits, - ~(0xfffffffe << (bits - 1))); - - vars -= bits; - bits = 8; - } - } -} diff --git a/res/pjproject/third_party/gsm/tls/bitter.dta b/res/pjproject/third_party/gsm/tls/bitter.dta deleted file mode 100644 index d1c42e4d97..0000000000 --- a/res/pjproject/third_party/gsm/tls/bitter.dta +++ /dev/null @@ -1,90 +0,0 @@ -; -; Copyright 1992 by Jutta Degener and Carsten Bormann, Technische -; Universitaet Berlin. See the accompanying file "COPYRIGHT" for -; details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. -; -; -; Variable Size - -GSM_MAGIC 4 - -LARc[0] 6 -LARc[1] 6 -LARc[2] 5 -LARc[3] 5 -LARc[4] 4 -LARc[5] 4 -LARc[6] 3 -LARc[7] 3 - -Nc[0] 7 -bc[0] 2 -Mc[0] 2 -xmaxc[0] 6 -xmc[0] 3 -xmc[1] 3 -xmc[2] 3 -xmc[3] 3 -xmc[4] 3 -xmc[5] 3 -xmc[6] 3 -xmc[7] 3 -xmc[8] 3 -xmc[9] 3 -xmc[10] 3 -xmc[11] 3 -xmc[12] 3 - -Nc[1] 7 -bc[1] 2 -Mc[1] 2 -xmaxc[1] 6 -xmc[13] 3 -xmc[14] 3 -xmc[15] 3 -xmc[16] 3 -xmc[17] 3 -xmc[18] 3 -xmc[19] 3 -xmc[20] 3 -xmc[21] 3 -xmc[22] 3 -xmc[23] 3 -xmc[24] 3 -xmc[25] 3 - -Nc[2] 7 -bc[2] 2 -Mc[2] 2 -xmaxc[2] 6 -xmc[26] 3 -xmc[27] 3 -xmc[28] 3 -xmc[29] 3 -xmc[30] 3 -xmc[31] 3 -xmc[32] 3 -xmc[33] 3 -xmc[34] 3 -xmc[35] 3 -xmc[36] 3 -xmc[37] 3 -xmc[38] 3 - -Nc[3] 7 -bc[3] 2 -Mc[3] 2 -xmaxc[3] 6 -xmc[39] 3 -xmc[40] 3 -xmc[41] 3 -xmc[42] 3 -xmc[43] 3 -xmc[44] 3 -xmc[45] 3 -xmc[46] 3 -xmc[47] 3 -xmc[48] 3 -xmc[49] 3 -xmc[50] 3 -xmc[51] 3 diff --git a/res/pjproject/third_party/gsm/tls/ginger.c b/res/pjproject/third_party/gsm/tls/ginger.c deleted file mode 100644 index d830e20f74..0000000000 --- a/res/pjproject/third_party/gsm/tls/ginger.c +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 1996 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/*$Header*/ - -/* Generate code to pack a bit array from a name:#bits description */ - -#include -#include "taste.h" -#include "proto.h" -#include - -/* This module is the opposite of sour. Sweet was already taken, - * that's why it's called ginger. (Add one point if that reminds - * you of Gary Larson.) - */ - -#define WORD_BITS 16 /* sizeof(uword) * CHAR_BIT on the - * target architecture---if this isn't 16, - * you're in trouble with this library anyway. - */ - -#define BYTE_BITS 8 /* CHAR_BIT on the target architecture--- - * if this isn't 8, you're in *deep* trouble. - */ - -void write_code P2((s_spex, n_spex), struct spex * s_spex, int n_spex) -{ - struct spex * sp = s_spex; - int n_in = 0; - - printf("uword sr = 0;\n"); - - for (; n_spex > 0; n_spex--, sp++) { - - while (n_in < sp->varsize) { - if (n_in) printf("sr |= (uword)*c++ << %d;\n", n_in); - else printf("sr = *c++;\n"); - n_in += BYTE_BITS; - } - - printf("%s = sr & %#x; sr >>= %d;\n", - sp->var, ~(~0U << sp->varsize), sp->varsize); - - n_in -= sp->varsize; - } - - if (n_in > 0) { - fprintf(stderr, "%d bits left over\n", n_in); - } -} diff --git a/res/pjproject/third_party/gsm/tls/sour.c b/res/pjproject/third_party/gsm/tls/sour.c deleted file mode 100644 index b6932e67aa..0000000000 --- a/res/pjproject/third_party/gsm/tls/sour.c +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright 1996 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/*$Header*/ - -/* Generate code to pack a bit array from a name:#bits description, - * WAV #49 style. - */ - -#include -#include "taste.h" -#include "proto.h" -#include - -/* This module goes back to one Jeff Chilton used for his implementation - * of the #49 WAV GSM format. (In his original patch 8, it replaced - * bitter.c.) - * - * In Microsoft's WAV #49 version of the GSM format, two 32 1/2 - * byte GSM frames are packed together to make one WAV frame, and - * the GSM parameters are packed into bytes right-to-left rather - * than left-to-right. - * - * That is, where toast's GSM format writes - * - * aaaaaabb bbbbcccc cdddddee ... - * ___1____ ___2____ ___3____ - * - * for parameters a (6 bits), b (6 bits), c (5 bits), d (5 bits), e .. - * the WAV format has - * - * bbaaaaaa ccccbbbb eedddddc ... - * ___1____ ___2____ ___3____ - * - * (This format looks a lot prettier if one pictures octets coming - * in through a fifo queue from the left, rather than waiting in the - * right-hand remainder of a C array.) - */ - -#define WORD_BITS 16 /* sizeof(uword) * CHAR_BIT on the - * target architecture---if this isn't 16, - * you're in trouble with this library anyway. - */ - -#define BYTE_BITS 8 /* CHAR_BIT on the target architecture--- - * if this isn't 8, you're in *deep* trouble. - */ - -void write_code P2((s_spex, n_spex), struct spex * s_spex, int n_spex) -{ - struct spex * sp = s_spex; - int n_in = 0; - - printf("uword sr = 0;\n"); - - for (; n_spex > 0; n_spex--, sp++) { - - /* insert old - * new var value unused - * here - * - * [____________xxxxxx**********] - * - * <----- n_in ------> - */ - printf("sr = sr >> %d | %s << %d;\n", - sp->varsize, - sp->var, - WORD_BITS - sp->varsize); - - n_in += sp->varsize; - - while (n_in >= BYTE_BITS) { - printf("*c++ = sr >> %d;\n", - WORD_BITS - n_in); - n_in -= BYTE_BITS; - } - } - - while (n_in >= BYTE_BITS) { - printf("*c++ = sr >> %d;\n", WORD_BITS - n_in); - n_in -= BYTE_BITS; - } - - if (n_in > 0) { - fprintf(stderr, "warning: %d bits left over\n", n_in); - } -} diff --git a/res/pjproject/third_party/gsm/tls/sour1.dta b/res/pjproject/third_party/gsm/tls/sour1.dta deleted file mode 100644 index 770b24c025..0000000000 --- a/res/pjproject/third_party/gsm/tls/sour1.dta +++ /dev/null @@ -1,88 +0,0 @@ -; -; Copyright 1992 by Jutta Degener and Carsten Bormann, Technische -; Universitaet Berlin. See the accompanying file "COPYRIGHT" for -; details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. -; -; -; Variable Size - -LARc[0] 6 -LARc[1] 6 -LARc[2] 5 -LARc[3] 5 -LARc[4] 4 -LARc[5] 4 -LARc[6] 3 -LARc[7] 3 - -Nc[0] 7 -bc[0] 2 -Mc[0] 2 -xmaxc[0] 6 -xmc[0] 3 -xmc[1] 3 -xmc[2] 3 -xmc[3] 3 -xmc[4] 3 -xmc[5] 3 -xmc[6] 3 -xmc[7] 3 -xmc[8] 3 -xmc[9] 3 -xmc[10] 3 -xmc[11] 3 -xmc[12] 3 - -Nc[1] 7 -bc[1] 2 -Mc[1] 2 -xmaxc[1] 6 -xmc[13] 3 -xmc[14] 3 -xmc[15] 3 -xmc[16] 3 -xmc[17] 3 -xmc[18] 3 -xmc[19] 3 -xmc[20] 3 -xmc[21] 3 -xmc[22] 3 -xmc[23] 3 -xmc[24] 3 -xmc[25] 3 - -Nc[2] 7 -bc[2] 2 -Mc[2] 2 -xmaxc[2] 6 -xmc[26] 3 -xmc[27] 3 -xmc[28] 3 -xmc[29] 3 -xmc[30] 3 -xmc[31] 3 -xmc[32] 3 -xmc[33] 3 -xmc[34] 3 -xmc[35] 3 -xmc[36] 3 -xmc[37] 3 -xmc[38] 3 - -Nc[3] 7 -bc[3] 2 -Mc[3] 2 -xmaxc[3] 6 -xmc[39] 3 -xmc[40] 3 -xmc[41] 3 -xmc[42] 3 -xmc[43] 3 -xmc[44] 3 -xmc[45] 3 -xmc[46] 3 -xmc[47] 3 -xmc[48] 3 -xmc[49] 3 -xmc[50] 3 -xmc[51] 3 diff --git a/res/pjproject/third_party/gsm/tls/sour2.dta b/res/pjproject/third_party/gsm/tls/sour2.dta deleted file mode 100644 index f56545c9dc..0000000000 --- a/res/pjproject/third_party/gsm/tls/sour2.dta +++ /dev/null @@ -1,90 +0,0 @@ -; -; Copyright 1992 by Jutta Degener and Carsten Bormann, Technische -; Universitaet Berlin. See the accompanying file "COPYRIGHT" for -; details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. -; -; -; Variable Size - -g->chain 4 - -LARc[0] 6 -LARc[1] 6 -LARc[2] 5 -LARc[3] 5 -LARc[4] 4 -LARc[5] 4 -LARc[6] 3 -LARc[7] 3 - -Nc[0] 7 -bc[0] 2 -Mc[0] 2 -xmaxc[0] 6 -xmc[0] 3 -xmc[1] 3 -xmc[2] 3 -xmc[3] 3 -xmc[4] 3 -xmc[5] 3 -xmc[6] 3 -xmc[7] 3 -xmc[8] 3 -xmc[9] 3 -xmc[10] 3 -xmc[11] 3 -xmc[12] 3 - -Nc[1] 7 -bc[1] 2 -Mc[1] 2 -xmaxc[1] 6 -xmc[13] 3 -xmc[14] 3 -xmc[15] 3 -xmc[16] 3 -xmc[17] 3 -xmc[18] 3 -xmc[19] 3 -xmc[20] 3 -xmc[21] 3 -xmc[22] 3 -xmc[23] 3 -xmc[24] 3 -xmc[25] 3 - -Nc[2] 7 -bc[2] 2 -Mc[2] 2 -xmaxc[2] 6 -xmc[26] 3 -xmc[27] 3 -xmc[28] 3 -xmc[29] 3 -xmc[30] 3 -xmc[31] 3 -xmc[32] 3 -xmc[33] 3 -xmc[34] 3 -xmc[35] 3 -xmc[36] 3 -xmc[37] 3 -xmc[38] 3 - -Nc[3] 7 -bc[3] 2 -Mc[3] 2 -xmaxc[3] 6 -xmc[39] 3 -xmc[40] 3 -xmc[41] 3 -xmc[42] 3 -xmc[43] 3 -xmc[44] 3 -xmc[45] 3 -xmc[46] 3 -xmc[47] 3 -xmc[48] 3 -xmc[49] 3 -xmc[50] 3 -xmc[51] 3 diff --git a/res/pjproject/third_party/gsm/tls/sweet.c b/res/pjproject/third_party/gsm/tls/sweet.c deleted file mode 100644 index 6a6fb29782..0000000000 --- a/res/pjproject/third_party/gsm/tls/sweet.c +++ /dev/null @@ -1,66 +0,0 @@ - /* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/*$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/sweet.c,v 1.2 1996/07/02 10:15:53 jutta Exp $*/ - -/* Generate code to unpack a bit array from name:#bits description */ - -#include -#include "taste.h" -#include "proto.h" - -void write_code P2((s_spex, n_spex), struct spex * s_spex, int n_spex) -{ - struct spex * sp = s_spex; - int bits = 8; - int vars; - - if (!n_spex) return; - - vars = sp->varsize; - - while (n_spex) { - - if (vars == sp->varsize) { - printf("\t%s = ", sp->var); - } else printf("\t%s |= ", sp->var); - - if (vars == bits) { - - if (bits == 8) printf( "*c++;\n" ); - else printf( "*c++ & 0x%lX;\n", - ~(0xfffffffe << (bits - 1)) ); - - if (!-- n_spex) break; - sp++; - vars = sp->varsize; - bits = 8; - - } else if (vars < bits) { - - printf( "(*c >> %d) & 0x%lX;\n", - bits - vars, - ~(0xfffffffe << (vars - 1))); - - bits -= vars; - if (!--n_spex) break; - sp++; - vars = sp->varsize; - - } else { - /* vars > bits. We're eating lower-all of c, - * but we must shift it. - */ - printf( "(*c++ & 0x%X) << %d;\n", - ~(0xfffffffe << (bits - 1)), - vars - bits ); - - vars -= bits; - bits = 8; - } - } -} - diff --git a/res/pjproject/third_party/gsm/tls/taste.c b/res/pjproject/third_party/gsm/tls/taste.c deleted file mode 100644 index 4bc84adc84..0000000000 --- a/res/pjproject/third_party/gsm/tls/taste.c +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/*$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/taste.c,v 1.1 1992/10/28 00:28:39 jutta Exp $*/ - -#include -#include -#include - -#include "config.h" - -#ifdef HAS_STDLIB_H -# include -#else -#include "proto.h" -# ifdef HAS_MALLOC_H -# include -# else - extern char * malloc P((char *)), * realloc P((char *,int)); -# endif - extern int exit P((int)); -#endif - -#include "proto.h" - -/* - * common code to sweet.c and bitter.c: read the name:#bits description. - */ - -#include "taste.h" - -static struct spex * s_spex; -static int n_spex, m_spex; - -extern void write_code P((struct spex *, int)); - -char * strsave P1((str), char * str) /* strdup() + errors */ -{ - int n = strlen(str) + 1; - char * s = malloc(n); - if (!s) { - fprintf(stderr, "Failed to malloc %d bytes, abort\n", - strlen(str) + 1); - exit(1); - } - return memcpy(s, str, n); -} - -struct spex * new_spex P0() -{ - if (n_spex >= m_spex) { - m_spex += 500; - if (!(s_spex = (struct spex *)(n_spex - ? realloc((char *)s_spex, m_spex * sizeof(*s_spex)) - : malloc( m_spex * sizeof(*s_spex))))) { - fprintf(stderr, "Failed to malloc %d bytes, abort\n", - m_spex * sizeof(*s_spex)); - exit(1); - } - } - return s_spex + n_spex; -} - -char * strtek P2((str, sep), char * str, char * sep) { - - static char * S = (char *)0; - char * c, * base; - - if (str) S = str; - - if (!S || !*S) return (char *)0; - - /* Skip delimiters. - */ - while (*S) { - for (c = sep; *c && *c != *S; c++) ; - if (*c) *S++ = 0; - else break; - } - - base = S; - - /* Skip non-delimiters. - */ - for (base = S; *S; S++) { - - for (c = sep; *c; c++) - if (*c == *S) { - *S++ = 0; - return base; - } - } - - return base == S ? (char *)0 : base; -} - -int read_spex P0() -{ - char buf[200]; - char * s, *t; - struct spex * sp = s_spex; - - while (fgets(buf, sizeof buf, stdin)) { - - char * nl; - - if (nl = strchr(buf, '\n')) - *nl = '\0'; - - if (!*buf || *buf == ';') continue; - s = strtek(buf, " \t"); - if (!s) { - fprintf(stderr, "? %s\n", buf); - continue; - } - sp = new_spex(); - sp->var = strsave(s); - s = strtek((char*)0, " \t"); - if (!s) { - fprintf(stderr, "varsize?\n"); - continue; - } - sp->varsize = strtol(s, (char **)0, 0); - n_spex++; - } - - return sp - s_spex; -} - -int main P0() -{ - read_spex(); - write_code(s_spex, n_spex); - - exit(0); -} diff --git a/res/pjproject/third_party/gsm/tls/taste.h b/res/pjproject/third_party/gsm/tls/taste.h deleted file mode 100644 index 2fc85efd33..0000000000 --- a/res/pjproject/third_party/gsm/tls/taste.h +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/* - * common code to sweet.c and bitter.c - */ - -#ifndef TASTE_H -#define TASTE_H - -struct spex { - - char * var; - int varsize; -} ; - -#endif /* TASTE_H */ diff --git a/res/pjproject/third_party/gsm/tst/cod2lin.c b/res/pjproject/third_party/gsm/tst/cod2lin.c deleted file mode 100644 index 07a95105ba..0000000000 --- a/res/pjproject/third_party/gsm/tst/cod2lin.c +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/*$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/cod2lin.c,v 1.2 1996/07/02 14:33:10 jutta Exp jutta $*/ - -#include -#include - -#include "gsm.h" -#include "proto.h" - -char * pname; - -int debug = 0; -int verbosity = 0; -int fast = 0; -int wav = 0; -int error = 0; - -usage P0() -{ - fprintf(stderr, "Usage: %s [-vwF] [files...]\n", pname); - exit(1); -} - -void process P2((f, filename), FILE * f, char * filename) -{ - gsm_frame buf; - gsm_signal source[160]; - - int cc; - gsm r; - - (void)memset(source, 0x00, sizeof(source)); - - if (!(r = gsm_create())) { - perror("gsm_create"); - error = 1; - return ; - } - gsm_option(r, GSM_OPT_VERBOSE, &verbosity); - gsm_option(r, GSM_OPT_FAST, &fast); - gsm_option(r, GSM_OPT_WAV49, &wav); - for (;;) { - cc = fread((char *)source, sizeof(*source), 76, f); - if (cc == 0) { - gsm_destroy(r); - return; - } - if (cc != 76) { - error = 1; - fprintf(stderr, - "%s: %s -- %d trailing bytes ignored\n", - pname, filename, cc); - gsm_destroy(r); - return; - } - - gsm_implode(r, source, buf); - gsm_decode(r, buf, source); - - if (write(1, source, sizeof(source)) != sizeof(source)) { - perror("write"); - error = 1; - gsm_destroy(r); - return; - } - } -} - -main P2((ac, av), int ac, char ** av) -{ - int opt; - extern char * optarg; - extern int optind; - - FILE * f; - - if (!(pname = av[0])) pname = "cod2out"; - - while ((opt = getopt(ac, av, "vwF")) != EOF) switch (opt) { - case 'v': verbosity++; break; - case 'w': wav++; break; - case 'F': fast++; break; - default: usage(); - } - - ac -= optind; - av += optind; - - if (!ac) process(stdin, "*stdin*"); - else for (; *av; av++) { - if (!(f = fopen(*av, "r"))) perror(*av); - else { - process(f, *av); - fclose(f); - } - } - - exit(error); -} diff --git a/res/pjproject/third_party/gsm/tst/cod2txt.c b/res/pjproject/third_party/gsm/tst/cod2txt.c deleted file mode 100644 index 71c362e0f4..0000000000 --- a/res/pjproject/third_party/gsm/tst/cod2txt.c +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/*$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/cod2txt.c,v 1.1 1994/10/21 20:52:11 jutta Exp $*/ - -#include -#include - -#include "gsm.h" -#include "proto.h" - -char * pname; - -int debug = 0; -int verbosity = 0; -int error = 0; - -usage P0() -{ - fprintf(stderr, "Usage: %s [files...]\n", pname); - exit(1); -} - -void process P2((f, filename), FILE * f, char * filename) -{ - gsm_frame buf; - gsm_signal source[160]; - - int cc; - gsm r; - int nr=0; - - (void)memset(source, 0, sizeof(source)); - - if (!(r = gsm_create())) { - perror("gsm_create"); - error = 1; - return ; - } - gsm_option(r, GSM_OPT_VERBOSE, &verbosity); - for (;;) { - cc = fread((char *)source, sizeof(*source), 76, f); - if (cc == 0) { - gsm_destroy(r); - return; - } - if (cc != 76) { - error = 1; - fprintf(stderr, - "%s: %s -- %d trailing bytes ignored\n", - pname, filename, cc); - gsm_destroy(r); - return; - } - - gsm_implode(r, source, buf); - printf("[%d] ", ++nr); - if (gsm_print(stdout, r, buf)) { - fprintf(stderr, - "%s: %s: bad magic\n", pname, filename); - gsm_destroy(r); - return; - - } - } -} - -main P2((ac, av), int ac, char ** av) -{ - int opt; - extern char * optarg; - extern int optind; - - FILE * f; - - if (!(pname = av[0])) pname = "cod2txt"; - - ac--; - av++; - - if (!ac) process(stdin, "*stdin*"); - else for (; *av; av++) { - if (!(f = fopen(*av, "r"))) perror(*av); - else { - process(f, *av); - fclose(f); - } - } - - exit(error); -} diff --git a/res/pjproject/third_party/gsm/tst/gsm2cod.c b/res/pjproject/third_party/gsm/tst/gsm2cod.c deleted file mode 100644 index f2e7c2c6ca..0000000000 --- a/res/pjproject/third_party/gsm/tst/gsm2cod.c +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/*$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/gsm2cod.c,v 1.1 1994/10/21 20:52:11 jutta Exp $*/ - -#include -#include - -#include "gsm.h" -#include "proto.h" - -char * pname; - -int debug = 0; -int verbosity = 0; -int error = 0; - -usage P0() -{ - fprintf(stderr, "Usage: %s [files...]\n", pname); - exit(1); -} - -void process P2((f, filename), FILE * f, char * filename) -{ - gsm_frame buf; - gsm_signal source[76]; - - int cc; - gsm r; - int nr=0; - - (void)memset(source, 0, sizeof(source)); - - if (!(r = gsm_create())) { - perror("gsm_create"); - error = 1; - return ; - } - gsm_option(r, GSM_OPT_VERBOSE, &verbosity); - for (;;) { - cc = fread((char *)buf, sizeof(buf), 1, f); - if (cc == 0) { - gsm_destroy(r); - return; - } - if (cc != 1) { - error = 1; - fprintf(stderr, - "%s: %s -- trailing bytes ignored\n", - pname, filename); - gsm_destroy(r); - return; - } - - gsm_explode(r, buf, source); - if (write(1, (char *)source, sizeof(source))!= sizeof(source)) { - - perror("write"); - error = 1; - gsm_destroy(r); - return; - } - } -} - -main P2((ac, av), int ac, char ** av) -{ - int opt; - extern char * optarg; - extern int optind; - - FILE * f; - - if (!(pname = av[0])) pname = "gsm2cod"; - - ac--; - av++; - - if (!ac) process(stdin, "*stdin*"); - else for (; *av; av++) { - if (!(f = fopen(*av, "r"))) perror(*av); - else { - process(f, *av); - fclose(f); - } - } - - exit(error); -} diff --git a/res/pjproject/third_party/gsm/tst/lin2cod.c b/res/pjproject/third_party/gsm/tst/lin2cod.c deleted file mode 100644 index 2c42b10b92..0000000000 --- a/res/pjproject/third_party/gsm/tst/lin2cod.c +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/*$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/lin2cod.c,v 1.2 1996/07/02 14:33:13 jutta Exp jutta $*/ - -#include - -#include "gsm.h" -#include "proto.h" - -char * pname; - -int debug = 0; -int verbosity = 0; -int fast = 0; -int wav = 0; -int error = 0; - -usage P0() -{ - fprintf(stderr, "Usage: %s [-vwF] [files...]\n", pname); - exit(1); -} - -void process P2((f, filename), FILE * f, char * filename) -{ - gsm_frame buf; - short source[160]; - int cc; - gsm r; - - if (!(r = gsm_create())) { - perror("gsm_create"); - error = 1; - return ; - } - gsm_option(r, GSM_OPT_VERBOSE, &verbosity); - gsm_option(r, GSM_OPT_FAST, &fast); - gsm_option(r, GSM_OPT_WAV49, &wav); - for (;;) { - - if ((cc = fread((char *)source, 1, sizeof(source), f)) == 0) { - gsm_destroy(r); -#ifdef COUNT_OVERFLOW - dump_overflow(stderr); -#endif - return; - } - - if (cc != sizeof(source)) { - error = 1; - perror(filename); - fprintf(stderr, "%s: cannot read input from %s\n", - pname, filename); - gsm_destroy(r); - return; - } - - gsm_encode(r, source, buf); - gsm_explode(r, buf, source); /* 76 shorts */ - if (write(1, source, sizeof(*source) * 76) - != sizeof(*source) * 76) { - - perror("write"); - error = 1; - gsm_destroy(r); - return; - } - } -} - -main P2((ac, av), int ac, char ** av) -{ - int opt; - extern char * optarg; - extern int optind; - - FILE * f; - - if (!(pname = av[0])) pname = "inp2cod"; - - while ((opt = getopt(ac, av, "vwF")) != EOF) switch (opt) { - case 'v': verbosity++; break; - case 'w': wav++; break; - case 'F': fast++; break; - default: usage(); - } - - ac -= optind; - av += optind; - - if (!ac) process(stdin, "*stdin*"); - else for (; *av; av++) { - if (!(f = fopen(*av, "r"))) perror(*av); - else { - process(f, *av); - fclose(f); - } - } - - exit(error); -} diff --git a/res/pjproject/third_party/gsm/tst/lin2txt.c b/res/pjproject/third_party/gsm/tst/lin2txt.c deleted file mode 100644 index fb39504c5a..0000000000 --- a/res/pjproject/third_party/gsm/tst/lin2txt.c +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/*$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/lin2txt.c,v 1.1 1994/10/21 20:52:11 jutta Exp $*/ - -#include - -#include "gsm.h" -#include "proto.h" - -char * pname; - -int debug = 0; -int verbosity = 0; -int error = 0; - -usage P0() -{ - fprintf(stderr, "Usage: %s [-v] [files...]\n", pname); - exit(1); -} - -void process P2((f, filename), FILE * f, char * filename) -{ - short source[160]; - int cc, j, k; - gsm r; - - if (!(r = gsm_create())) { - perror("gsm_create"); - error = 1; - return ; - } - gsm_option(r, GSM_OPT_VERBOSE, &verbosity); - for (;;) { - - if ((cc = fread((char *)source, 1, sizeof(source), f)) == 0) { - gsm_destroy(r); -#ifdef COUNT_OVERFLOW - dump_overflow(stderr); -#endif - return; - } - - printf("{\t"); - for (j = 0; j < 4; j++) { - printf("{\t"); - for (k = 0; k < 40; k++) { - printf("%d", (int)source[ j * 40 + k ]); - if (k < 39) { - printf(", "); - if (k % 4 == 3) printf("\n\t\t"); - } else { - printf("\t}"); - if (j == 3) printf("\t},\n"); - else printf(",\n\t"); - } - } - } - } -} - -main P2((ac, av), int ac, char ** av) -{ - int opt; - extern char * optarg; - extern int optind; - - FILE * f; - - if (!(pname = av[0])) pname = "inp2txt"; - - while ((opt = getopt(ac, av, "v")) != EOF) switch (opt) { - case 'v': verbosity++; break; - default: usage(); - } - - ac -= optind; - av += optind; - - if (!ac) process(stdin, "*stdin*"); - else for (; *av; av++) { - if (!(f = fopen(*av, "r"))) perror(*av); - else { - process(f, *av); - fclose(f); - } - } - - exit(error); -} diff --git a/res/pjproject/third_party/gsm/tst/run b/res/pjproject/third_party/gsm/tst/run deleted file mode 100644 index 5eec3b2f2b..0000000000 --- a/res/pjproject/third_party/gsm/tst/run +++ /dev/null @@ -1,34 +0,0 @@ -: -# -# Copyright 1992 by Jutta Degener and Carsten Bormann, Technische -# Universitaet Berlin. See the accompanying file "COPYRIGHT" for -# details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. -# -if [ ! -f 1.inp ] ; then - echo Sorry, but we cannot provide the test data with this release. - exit -fi - -echo -n 'Linear to code: ' -for i in 1 2 3 4 -do - echo -n $i.. - ./lin2cod < $i.inp | cmp - $i.cod -done -echo "" - -echo -n 'Code to linear: ' -for i in 1 2 3 4 -do - echo -n $i.. - ./cod2lin < $i.cod | cmp - $i.out -done -echo "" - -echo -n 'Toast: ' -for i in 1 2 3 4 -do - echo -n $i.. - ../bin/toast -l < $i.inp | ../bin/toast -dl | cmp - $i.out -done -echo "" diff --git a/res/pjproject/third_party/ilbc/FrameClassify.c b/res/pjproject/third_party/ilbc/FrameClassify.c deleted file mode 100644 index 80d72d917d..0000000000 --- a/res/pjproject/third_party/ilbc/FrameClassify.c +++ /dev/null @@ -1,114 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - FrameClassify.c - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - ******************************************************************/ - - #include "iLBC_define.h" - - /*---------------------------------------------------------------* - * Classification of subframes to localize start state - *--------------------------------------------------------------*/ - - int FrameClassify( /* index to the max-energy sub-frame */ - iLBC_Enc_Inst_t *iLBCenc_inst, - /* (i/o) the encoder state structure */ - float *residual /* (i) lpc residual signal */ - ) { - float max_ssqEn, fssqEn[NSUB_MAX], bssqEn[NSUB_MAX], *pp; - int n, l, max_ssqEn_n; - const float ssqEn_win[NSUB_MAX-1]={(float)0.8,(float)0.9, - (float)1.0,(float)0.9,(float)0.8}; - const float sampEn_win[5]={(float)1.0/(float)6.0, - (float)2.0/(float)6.0, (float)3.0/(float)6.0, - (float)4.0/(float)6.0, (float)5.0/(float)6.0}; - - /* init the front and back energies to zero */ - - memset(fssqEn, 0, NSUB_MAX*sizeof(float)); - memset(bssqEn, 0, NSUB_MAX*sizeof(float)); - - /* Calculate front of first seqence */ - - n=0; - pp=residual; - for (l=0; l<5; l++) { - fssqEn[n] += sampEn_win[l] * (*pp) * (*pp); - pp++; - } - for (l=5; lnsub-1; n++) { - pp=residual+n*SUBL; - for (l=0; l<5; l++) { - fssqEn[n] += sampEn_win[l] * (*pp) * (*pp); - bssqEn[n] += (*pp) * (*pp); - pp++; - } - for (l=5; lnsub-1; - pp=residual+n*SUBL; - for (l=0; lmode==20) l=1; - else l=0; - - max_ssqEn=(fssqEn[0]+bssqEn[1])*ssqEn_win[l]; - max_ssqEn_n=1; - for (n=2; nnsub; n++) { - - - - - - - l++; - if ((fssqEn[n-1]+bssqEn[n])*ssqEn_win[l] > max_ssqEn) { - max_ssqEn=(fssqEn[n-1]+bssqEn[n]) * - ssqEn_win[l]; - max_ssqEn_n=n; - } - } - - return max_ssqEn_n; - } - diff --git a/res/pjproject/third_party/ilbc/FrameClassify.h b/res/pjproject/third_party/ilbc/FrameClassify.h deleted file mode 100644 index 018ddbe5da..0000000000 --- a/res/pjproject/third_party/ilbc/FrameClassify.h +++ /dev/null @@ -1,27 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - FrameClassify.h - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - ******************************************************************/ - - #ifndef __iLBC_FRAMECLASSIFY_H - #define __iLBC_FRAMECLASSIFY_H - - int FrameClassify( /* index to the max-energy sub-frame */ - iLBC_Enc_Inst_t *iLBCenc_inst, - /* (i/o) the encoder state structure */ - float *residual /* (i) lpc residual signal */ - ); - - - - - - #endif - diff --git a/res/pjproject/third_party/ilbc/LPCdecode.c b/res/pjproject/third_party/ilbc/LPCdecode.c deleted file mode 100644 index 81bab90485..0000000000 --- a/res/pjproject/third_party/ilbc/LPCdecode.c +++ /dev/null @@ -1,158 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - LPC_decode.c - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - ******************************************************************/ - - #include - #include - - #include "helpfun.h" - #include "lsf.h" - #include "iLBC_define.h" - #include "constants.h" - - /*---------------------------------------------------------------* - * interpolation of lsf coefficients for the decoder - *--------------------------------------------------------------*/ - - void LSFinterpolate2a_dec( - float *a, /* (o) lpc coefficients for a sub-frame */ - float *lsf1, /* (i) first lsf coefficient vector */ - float *lsf2, /* (i) second lsf coefficient vector */ - float coef, /* (i) interpolation weight */ - int length /* (i) length of lsf vectors */ - ){ - float lsftmp[LPC_FILTERORDER]; - - interpolate(lsftmp, lsf1, lsf2, coef, length); - lsf2a(a, lsftmp); - } - - /*---------------------------------------------------------------* - * obtain dequantized lsf coefficients from quantization index - *--------------------------------------------------------------*/ - - void SimplelsfDEQ( - float *lsfdeq, /* (o) dequantized lsf coefficients */ - int *index, /* (i) quantization index */ - int lpc_n /* (i) number of LPCs */ - ){ - int i, j, pos, cb_pos; - - - - - - /* decode first LSF */ - - pos = 0; - cb_pos = 0; - for (i = 0; i < LSF_NSPLIT; i++) { - for (j = 0; j < dim_lsfCbTbl[i]; j++) { - lsfdeq[pos + j] = lsfCbTbl[cb_pos + - (long)(index[i])*dim_lsfCbTbl[i] + j]; - } - pos += dim_lsfCbTbl[i]; - cb_pos += size_lsfCbTbl[i]*dim_lsfCbTbl[i]; - } - - if (lpc_n>1) { - - /* decode last LSF */ - - pos = 0; - cb_pos = 0; - for (i = 0; i < LSF_NSPLIT; i++) { - for (j = 0; j < dim_lsfCbTbl[i]; j++) { - lsfdeq[LPC_FILTERORDER + pos + j] = - lsfCbTbl[cb_pos + - (long)(index[LSF_NSPLIT + i])* - dim_lsfCbTbl[i] + j]; - } - pos += dim_lsfCbTbl[i]; - cb_pos += size_lsfCbTbl[i]*dim_lsfCbTbl[i]; - } - } - } - - /*----------------------------------------------------------------* - * obtain synthesis and weighting filters form lsf coefficients - *---------------------------------------------------------------*/ - - void DecoderInterpolateLSF( - float *syntdenum, /* (o) synthesis filter coefficients */ - float *weightdenum, /* (o) weighting denumerator - coefficients */ - float *lsfdeq, /* (i) dequantized lsf coefficients */ - int length, /* (i) length of lsf coefficient vector */ - iLBC_Dec_Inst_t *iLBCdec_inst - /* (i) the decoder state structure */ - ){ - int i, pos, lp_length; - float lp[LPC_FILTERORDER + 1], *lsfdeq2; - - - - - - - lsfdeq2 = lsfdeq + length; - lp_length = length + 1; - - if (iLBCdec_inst->mode==30) { - /* sub-frame 1: Interpolation between old and first */ - - LSFinterpolate2a_dec(lp, iLBCdec_inst->lsfdeqold, lsfdeq, - lsf_weightTbl_30ms[0], length); - memcpy(syntdenum,lp,lp_length*sizeof(float)); - bwexpand(weightdenum, lp, LPC_CHIRP_WEIGHTDENUM, - lp_length); - - /* sub-frames 2 to 6: interpolation between first - and last LSF */ - - pos = lp_length; - for (i = 1; i < 6; i++) { - LSFinterpolate2a_dec(lp, lsfdeq, lsfdeq2, - lsf_weightTbl_30ms[i], length); - memcpy(syntdenum + pos,lp,lp_length*sizeof(float)); - bwexpand(weightdenum + pos, lp, - LPC_CHIRP_WEIGHTDENUM, lp_length); - pos += lp_length; - } - } - else { - pos = 0; - for (i = 0; i < iLBCdec_inst->nsub; i++) { - LSFinterpolate2a_dec(lp, iLBCdec_inst->lsfdeqold, - lsfdeq, lsf_weightTbl_20ms[i], length); - memcpy(syntdenum+pos,lp,lp_length*sizeof(float)); - bwexpand(weightdenum+pos, lp, LPC_CHIRP_WEIGHTDENUM, - lp_length); - pos += lp_length; - } - } - - /* update memory */ - - if (iLBCdec_inst->mode==30) - memcpy(iLBCdec_inst->lsfdeqold, lsfdeq2, - length*sizeof(float)); - else - memcpy(iLBCdec_inst->lsfdeqold, lsfdeq, - length*sizeof(float)); - - } - - - - - - diff --git a/res/pjproject/third_party/ilbc/LPCdecode.h b/res/pjproject/third_party/ilbc/LPCdecode.h deleted file mode 100644 index abe1d7b3b1..0000000000 --- a/res/pjproject/third_party/ilbc/LPCdecode.h +++ /dev/null @@ -1,52 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - LPC_decode.h - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - ******************************************************************/ - - #ifndef __iLBC_LPC_DECODE_H - #define __iLBC_LPC_DECODE_H - - void LSFinterpolate2a_dec( - float *a, /* (o) lpc coefficients for a sub-frame */ - float *lsf1, /* (i) first lsf coefficient vector */ - float *lsf2, /* (i) second lsf coefficient vector */ - float coef, /* (i) interpolation weight */ - int length /* (i) length of lsf vectors */ - ); - - void SimplelsfDEQ( - float *lsfdeq, /* (o) dequantized lsf coefficients */ - int *index, /* (i) quantization index */ - int lpc_n /* (i) number of LPCs */ - ); - - void DecoderInterpolateLSF( - float *syntdenum, /* (o) synthesis filter coefficients */ - float *weightdenum, /* (o) weighting denumerator - coefficients */ - float *lsfdeq, /* (i) dequantized lsf coefficients */ - int length, /* (i) length of lsf coefficient vector */ - iLBC_Dec_Inst_t *iLBCdec_inst - /* (i) the decoder state structure */ - ); - - #endif - - - - - - - - - - - - diff --git a/res/pjproject/third_party/ilbc/LPCencode.c b/res/pjproject/third_party/ilbc/LPCencode.c deleted file mode 100644 index 19695c0fa5..0000000000 --- a/res/pjproject/third_party/ilbc/LPCencode.c +++ /dev/null @@ -1,241 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - LPCencode.c - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - ******************************************************************/ - - #include - - #include "iLBC_define.h" - #include "helpfun.h" - #include "lsf.h" - #include "constants.h" - - - - - - /*----------------------------------------------------------------* - * lpc analysis (subrutine to LPCencode) - *---------------------------------------------------------------*/ - - void SimpleAnalysis( - float *lsf, /* (o) lsf coefficients */ - float *data, /* (i) new data vector */ - iLBC_Enc_Inst_t *iLBCenc_inst - /* (i/o) the encoder state structure */ - ){ - int k, is; - float temp[BLOCKL_MAX], lp[LPC_FILTERORDER + 1]; - float lp2[LPC_FILTERORDER + 1]; - float r[LPC_FILTERORDER + 1]; - - is=LPC_LOOKBACK+BLOCKL_MAX-iLBCenc_inst->blockl; - memcpy(iLBCenc_inst->lpc_buffer+is,data, - iLBCenc_inst->blockl*sizeof(float)); - - /* No lookahead, last window is asymmetric */ - - for (k = 0; k < iLBCenc_inst->lpc_n; k++) { - - is = LPC_LOOKBACK; - - if (k < (iLBCenc_inst->lpc_n - 1)) { - window(temp, lpc_winTbl, - iLBCenc_inst->lpc_buffer, BLOCKL_MAX); - } else { - window(temp, lpc_asymwinTbl, - iLBCenc_inst->lpc_buffer + is, BLOCKL_MAX); - } - - autocorr(r, temp, BLOCKL_MAX, LPC_FILTERORDER); - window(r, r, lpc_lagwinTbl, LPC_FILTERORDER + 1); - - levdurb(lp, temp, r, LPC_FILTERORDER); - bwexpand(lp2, lp, LPC_CHIRP_SYNTDENUM, LPC_FILTERORDER+1); - - a2lsf(lsf + k*LPC_FILTERORDER, lp2); - } - is=LPC_LOOKBACK+BLOCKL_MAX-iLBCenc_inst->blockl; - memmove(iLBCenc_inst->lpc_buffer, - iLBCenc_inst->lpc_buffer+LPC_LOOKBACK+BLOCKL_MAX-is, - is*sizeof(float)); - } - - /*----------------------------------------------------------------* - - - - - - * lsf interpolator and conversion from lsf to a coefficients - * (subrutine to SimpleInterpolateLSF) - *---------------------------------------------------------------*/ - - void LSFinterpolate2a_enc( - float *a, /* (o) lpc coefficients */ - float *lsf1,/* (i) first set of lsf coefficients */ - float *lsf2,/* (i) second set of lsf coefficients */ - float coef, /* (i) weighting coefficient to use between - lsf1 and lsf2 */ - long length /* (i) length of coefficient vectors */ - ){ - float lsftmp[LPC_FILTERORDER]; - - interpolate(lsftmp, lsf1, lsf2, coef, length); - lsf2a(a, lsftmp); - } - - /*----------------------------------------------------------------* - * lsf interpolator (subrutine to LPCencode) - *---------------------------------------------------------------*/ - - void SimpleInterpolateLSF( - float *syntdenum, /* (o) the synthesis filter denominator - resulting from the quantized - interpolated lsf */ - float *weightdenum, /* (o) the weighting filter denominator - resulting from the unquantized - interpolated lsf */ - float *lsf, /* (i) the unquantized lsf coefficients */ - float *lsfdeq, /* (i) the dequantized lsf coefficients */ - float *lsfold, /* (i) the unquantized lsf coefficients of - the previous signal frame */ - float *lsfdeqold, /* (i) the dequantized lsf coefficients of - the previous signal frame */ - int length, /* (i) should equate LPC_FILTERORDER */ - iLBC_Enc_Inst_t *iLBCenc_inst - /* (i/o) the encoder state structure */ - ){ - int i, pos, lp_length; - float lp[LPC_FILTERORDER + 1], *lsf2, *lsfdeq2; - - lsf2 = lsf + length; - lsfdeq2 = lsfdeq + length; - lp_length = length + 1; - - if (iLBCenc_inst->mode==30) { - /* sub-frame 1: Interpolation between old and first - - - - - - set of lsf coefficients */ - - LSFinterpolate2a_enc(lp, lsfdeqold, lsfdeq, - lsf_weightTbl_30ms[0], length); - memcpy(syntdenum,lp,lp_length*sizeof(float)); - LSFinterpolate2a_enc(lp, lsfold, lsf, - lsf_weightTbl_30ms[0], length); - bwexpand(weightdenum, lp, LPC_CHIRP_WEIGHTDENUM, lp_length); - - /* sub-frame 2 to 6: Interpolation between first - and second set of lsf coefficients */ - - pos = lp_length; - for (i = 1; i < iLBCenc_inst->nsub; i++) { - LSFinterpolate2a_enc(lp, lsfdeq, lsfdeq2, - lsf_weightTbl_30ms[i], length); - memcpy(syntdenum + pos,lp,lp_length*sizeof(float)); - - LSFinterpolate2a_enc(lp, lsf, lsf2, - lsf_weightTbl_30ms[i], length); - bwexpand(weightdenum + pos, lp, - LPC_CHIRP_WEIGHTDENUM, lp_length); - pos += lp_length; - } - } - else { - pos = 0; - for (i = 0; i < iLBCenc_inst->nsub; i++) { - LSFinterpolate2a_enc(lp, lsfdeqold, lsfdeq, - lsf_weightTbl_20ms[i], length); - memcpy(syntdenum+pos,lp,lp_length*sizeof(float)); - LSFinterpolate2a_enc(lp, lsfold, lsf, - lsf_weightTbl_20ms[i], length); - bwexpand(weightdenum+pos, lp, - LPC_CHIRP_WEIGHTDENUM, lp_length); - pos += lp_length; - } - } - - /* update memory */ - - if (iLBCenc_inst->mode==30) { - memcpy(lsfold, lsf2, length*sizeof(float)); - memcpy(lsfdeqold, lsfdeq2, length*sizeof(float)); - } - else { - memcpy(lsfold, lsf, length*sizeof(float)); - memcpy(lsfdeqold, lsfdeq, length*sizeof(float)); - - - - - - } - } - - /*----------------------------------------------------------------* - * lsf quantizer (subrutine to LPCencode) - *---------------------------------------------------------------*/ - - void SimplelsfQ( - float *lsfdeq, /* (o) dequantized lsf coefficients - (dimension FILTERORDER) */ - int *index, /* (o) quantization index */ - float *lsf, /* (i) the lsf coefficient vector to be - quantized (dimension FILTERORDER ) */ - int lpc_n /* (i) number of lsf sets to quantize */ - ){ - /* Quantize first LSF with memoryless split VQ */ - SplitVQ(lsfdeq, index, lsf, lsfCbTbl, LSF_NSPLIT, - dim_lsfCbTbl, size_lsfCbTbl); - - if (lpc_n==2) { - /* Quantize second LSF with memoryless split VQ */ - SplitVQ(lsfdeq + LPC_FILTERORDER, index + LSF_NSPLIT, - lsf + LPC_FILTERORDER, lsfCbTbl, LSF_NSPLIT, - dim_lsfCbTbl, size_lsfCbTbl); - } - } - - /*----------------------------------------------------------------* - * lpc encoder - *---------------------------------------------------------------*/ - - void LPCencode( - float *syntdenum, /* (i/o) synthesis filter coefficients - before/after encoding */ - float *weightdenum, /* (i/o) weighting denumerator - coefficients before/after - encoding */ - int *lsf_index, /* (o) lsf quantization index */ - float *data, /* (i) lsf coefficients to quantize */ - iLBC_Enc_Inst_t *iLBCenc_inst - /* (i/o) the encoder state structure */ - ){ - float lsf[LPC_FILTERORDER * LPC_N_MAX]; - float lsfdeq[LPC_FILTERORDER * LPC_N_MAX]; - int change=0; - - SimpleAnalysis(lsf, data, iLBCenc_inst); - SimplelsfQ(lsfdeq, lsf_index, lsf, iLBCenc_inst->lpc_n); - - - - - - change=LSF_check(lsfdeq, LPC_FILTERORDER, iLBCenc_inst->lpc_n); - SimpleInterpolateLSF(syntdenum, weightdenum, - lsf, lsfdeq, iLBCenc_inst->lsfold, - iLBCenc_inst->lsfdeqold, LPC_FILTERORDER, iLBCenc_inst); - } - diff --git a/res/pjproject/third_party/ilbc/LPCencode.h b/res/pjproject/third_party/ilbc/LPCencode.h deleted file mode 100644 index 39a9b04037..0000000000 --- a/res/pjproject/third_party/ilbc/LPCencode.h +++ /dev/null @@ -1,28 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - LPCencode.h - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - ******************************************************************/ - - #ifndef __iLBC_LPCENCOD_H - #define __iLBC_LPCENCOD_H - - void LPCencode( - float *syntdenum, /* (i/o) synthesis filter coefficients - before/after encoding */ - float *weightdenum, /* (i/o) weighting denumerator coefficients - before/after encoding */ - int *lsf_index, /* (o) lsf quantization index */ - float *data, /* (i) lsf coefficients to quantize */ - iLBC_Enc_Inst_t *iLBCenc_inst - /* (i/o) the encoder state structure */ - ); - - #endif - diff --git a/res/pjproject/third_party/ilbc/StateConstructW.c b/res/pjproject/third_party/ilbc/StateConstructW.c deleted file mode 100644 index 1d3e65fa63..0000000000 --- a/res/pjproject/third_party/ilbc/StateConstructW.c +++ /dev/null @@ -1,86 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - StateConstructW.c - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - ******************************************************************/ - - #include - #include - - #include "iLBC_define.h" - #include "constants.h" - #include "filter.h" - - /*----------------------------------------------------------------* - * decoding of the start state - *---------------------------------------------------------------*/ - - void StateConstructW( - int idxForMax, /* (i) 6-bit index for the quantization of - max amplitude */ - int *idxVec, /* (i) vector of quantization indexes */ - float *syntDenum, /* (i) synthesis filter denumerator */ - - - - - - float *out, /* (o) the decoded state vector */ - int len /* (i) length of a state vector */ - ){ - float maxVal, tmpbuf[LPC_FILTERORDER+2*STATE_LEN], *tmp, - numerator[LPC_FILTERORDER+1]; - float foutbuf[LPC_FILTERORDER+2*STATE_LEN], *fout; - int k,tmpi; - - /* decoding of the maximum value */ - - maxVal = state_frgqTbl[idxForMax]; - maxVal = (float)pow(10,maxVal)/(float)4.5; - - /* initialization of buffers and coefficients */ - - memset(tmpbuf, 0, LPC_FILTERORDER*sizeof(float)); - memset(foutbuf, 0, LPC_FILTERORDER*sizeof(float)); - for (k=0; k - #include - - #include "iLBC_define.h" - #include "constants.h" - #include "filter.h" - #include "helpfun.h" - - /*----------------------------------------------------------------* - * predictive noise shaping encoding of scaled start state - * (subrutine for StateSearchW) - *---------------------------------------------------------------*/ - - void AbsQuantW( - iLBC_Enc_Inst_t *iLBCenc_inst, - /* (i) Encoder instance */ - float *in, /* (i) vector to encode */ - float *syntDenum, /* (i) denominator of synthesis filter */ - float *weightDenum, /* (i) denominator of weighting filter */ - int *out, /* (o) vector of quantizer indexes */ - int len, /* (i) length of vector to encode and - vector of quantizer indexes */ - int state_first /* (i) position of start state in the - 80 vec */ - ){ - float *syntOut; - float syntOutBuf[LPC_FILTERORDER+STATE_SHORT_LEN_30MS]; - float toQ, xq; - int n; - int index; - - /* initialization of buffer for filtering */ - - memset(syntOutBuf, 0, LPC_FILTERORDER*sizeof(float)); - - - - - - - /* initialization of pointer for filtering */ - - syntOut = &syntOutBuf[LPC_FILTERORDER]; - - /* synthesis and weighting filters on input */ - - if (state_first) { - AllPoleFilter (in, weightDenum, SUBL, LPC_FILTERORDER); - } else { - AllPoleFilter (in, weightDenum, - iLBCenc_inst->state_short_len-SUBL, - LPC_FILTERORDER); - } - - /* encoding loop */ - - for (n=0; nstate_short_len-SUBL))) { - syntDenum += (LPC_FILTERORDER+1); - weightDenum += (LPC_FILTERORDER+1); - - /* synthesis and weighting filters on input */ - AllPoleFilter (&in[n], weightDenum, len-n, - LPC_FILTERORDER); - - } - - /* prediction of synthesized and weighted input */ - - syntOut[n] = 0.0; - AllPoleFilter (&syntOut[n], weightDenum, 1, - LPC_FILTERORDER); - - /* quantization */ - - toQ = in[n]-syntOut[n]; - - - - - - sort_sq(&xq, &index, toQ, state_sq3Tbl, 8); - out[n]=index; - syntOut[n] = state_sq3Tbl[out[n]]; - - /* update of the prediction filter */ - - AllPoleFilter(&syntOut[n], weightDenum, 1, - LPC_FILTERORDER); - } - } - - /*----------------------------------------------------------------* - * encoding of start state - *---------------------------------------------------------------*/ - - void StateSearchW( - iLBC_Enc_Inst_t *iLBCenc_inst, - /* (i) Encoder instance */ - float *residual,/* (i) target residual vector */ - float *syntDenum, /* (i) lpc synthesis filter */ - float *weightDenum, /* (i) weighting filter denuminator */ - int *idxForMax, /* (o) quantizer index for maximum - amplitude */ - int *idxVec, /* (o) vector of quantization indexes */ - int len, /* (i) length of all vectors */ - int state_first /* (i) position of start state in the - 80 vec */ - ){ - float dtmp, maxVal; - float tmpbuf[LPC_FILTERORDER+2*STATE_SHORT_LEN_30MS]; - float *tmp, numerator[1+LPC_FILTERORDER]; - float foutbuf[LPC_FILTERORDER+2*STATE_SHORT_LEN_30MS], *fout; - int k; - float qmax, scal; - - /* initialization of buffers and filter coefficients */ - - memset(tmpbuf, 0, LPC_FILTERORDER*sizeof(float)); - memset(foutbuf, 0, LPC_FILTERORDER*sizeof(float)); - for (k=0; k maxVal*maxVal){ - maxVal = fout[k]; - } - } - maxVal=(float)fabs(maxVal); - - /* encoding of the maximum amplitude value */ - - if (maxVal < 10.0) { - maxVal = 10.0; - } - maxVal = (float)log10(maxVal); - sort_sq(&dtmp, idxForMax, maxVal, state_frgqTbl, 64); - - /* decoding of the maximum amplitude representation value, - and corresponding scaling of start state */ - - maxVal=state_frgqTbl[*idxForMax]; - qmax = (float)pow(10,maxVal); - scal = (float)(4.5)/qmax; - for (k=0; k - #include "iLBC_define.h" - - /*----------------------------------------------------------------* - * LP analysis filter. - *---------------------------------------------------------------*/ - - void anaFilter( - float *In, /* (i) Signal to be filtered */ - float *a, /* (i) LP parameters */ - int len,/* (i) Length of signal */ - float *Out, /* (o) Filtered signal */ - float *mem /* (i/o) Filter state */ - ){ - int i, j; - float *po, *pi, *pm, *pa; - - po = Out; - - /* Filter first part using memory from past */ - - for (i=0; i - #include - - /*----------------------------------------------------------------* - * Construct an additional codebook vector by filtering the - * initial codebook buffer. This vector is then used to expand - * the codebook with an additional section. - *---------------------------------------------------------------*/ - - void filteredCBvecs( - float *cbvectors, /* (o) Codebook vectors for the - higher section */ - float *mem, /* (i) Buffer to create codebook - vector from */ - int lMem /* (i) Length of buffer */ - ){ - int j, k; - float *pp, *pp1; - float tempbuff2[CB_MEML+CB_FILTERLEN]; - float *pos; - - memset(tempbuff2, 0, (CB_HALFFILTERLEN-1)*sizeof(float)); - memcpy(&tempbuff2[CB_HALFFILTERLEN-1], mem, lMem*sizeof(float)); - memset(&tempbuff2[lMem+CB_HALFFILTERLEN-1], 0, - (CB_HALFFILTERLEN+1)*sizeof(float)); - - /* Create codebook vector for higher section by filtering */ - - /* do filtering */ - pos=cbvectors; - memset(pos, 0, lMem*sizeof(float)); - for (k=0; k0.0) { - invenergy[tmpIndex]=(float)1.0/(energy[tmpIndex]+EPS); - } else { - invenergy[tmpIndex] = (float) 0.0; - } - - if (stage==0) { - measure = (float)-10000000.0; - - if (crossDot > 0.0) { - measure = crossDot*crossDot*invenergy[tmpIndex]; - } - } - else { - measure = crossDot*crossDot*invenergy[tmpIndex]; - } - - /* check if measure is better */ - ftmp = crossDot*invenergy[tmpIndex]; - - if ((measure>*max_measure) && (fabs(ftmp) - #include - #include - - - - - - #include "iLBC_define.h" - - /*----------------------------------------------------------------* - * Compute cross correlation and pitch gain for pitch prediction - * of last subframe at given lag. - *---------------------------------------------------------------*/ - - void compCorr( - float *cc, /* (o) cross correlation coefficient */ - float *gc, /* (o) gain */ - float *pm, - float *buffer, /* (i) signal buffer */ - int lag, /* (i) pitch lag */ - int bLen, /* (i) length of buffer */ - int sRange /* (i) correlation search length */ - ){ - int i; - float ftmp1, ftmp2, ftmp3; - - /* Guard against getting outside buffer */ - if ((bLen-sRange-lag)<0) { - sRange=bLen-lag; - } - - ftmp1 = 0.0; - ftmp2 = 0.0; - ftmp3 = 0.0; - for (i=0; i 0.0) { - *cc = ftmp1*ftmp1/ftmp2; - *gc = (float)fabs(ftmp1/ftmp2); - *pm=(float)fabs(ftmp1)/ - ((float)sqrt(ftmp2)*(float)sqrt(ftmp3)); - } - else { - *cc = 0.0; - *gc = 0.0; - *pm=0.0; - } - } - - - - - - /*----------------------------------------------------------------* - * Packet loss concealment routine. Conceals a residual signal - * and LP parameters. If no packet loss, update state. - *---------------------------------------------------------------*/ - - void doThePLC( - float *PLCresidual, /* (o) concealed residual */ - float *PLClpc, /* (o) concealed LP parameters */ - int PLI, /* (i) packet loss indicator - 0 - no PL, 1 = PL */ - float *decresidual, /* (i) decoded residual */ - float *lpc, /* (i) decoded LPC (only used for no PL) */ - int inlag, /* (i) pitch lag */ - iLBC_Dec_Inst_t *iLBCdec_inst - /* (i/o) decoder instance */ - ){ - int lag=20, randlag; - float gain, maxcc; - float use_gain; - float gain_comp, maxcc_comp, per, max_per=0; - int i, pick, use_lag; - float ftmp, randvec[BLOCKL_MAX], pitchfact, energy; - - /* Packet Loss */ - - if (PLI == 1) { - - iLBCdec_inst->consPLICount += 1; - - /* if previous frame not lost, - determine pitch pred. gain */ - - if (iLBCdec_inst->prevPLI != 1) { - - /* Search around the previous lag to find the - best pitch period */ - - lag=inlag-3; - compCorr(&maxcc, &gain, &max_per, - iLBCdec_inst->prevResidual, - lag, iLBCdec_inst->blockl, 60); - for (i=inlag-2;i<=inlag+3;i++) { - compCorr(&maxcc_comp, &gain_comp, &per, - iLBCdec_inst->prevResidual, - i, iLBCdec_inst->blockl, 60); - - if (maxcc_comp>maxcc) { - maxcc=maxcc_comp; - - - - - - gain=gain_comp; - lag=i; - max_per=per; - } - } - - } - - /* previous frame lost, use recorded lag and periodicity */ - - else { - lag=iLBCdec_inst->prevLag; - max_per=iLBCdec_inst->per; - } - - /* downscaling */ - - use_gain=1.0; - if (iLBCdec_inst->consPLICount*iLBCdec_inst->blockl>320) - use_gain=(float)0.9; - else if (iLBCdec_inst->consPLICount* - iLBCdec_inst->blockl>2*320) - use_gain=(float)0.7; - else if (iLBCdec_inst->consPLICount* - iLBCdec_inst->blockl>3*320) - use_gain=(float)0.5; - else if (iLBCdec_inst->consPLICount* - iLBCdec_inst->blockl>4*320) - use_gain=(float)0.0; - - /* mix noise and pitch repeatition */ - ftmp=(float)sqrt(max_per); - if (ftmp>(float)0.7) - pitchfact=(float)1.0; - else if (ftmp>(float)0.4) - pitchfact=(ftmp-(float)0.4)/((float)0.7-(float)0.4); - else - pitchfact=0.0; - - - /* avoid repetition of same pitch cycle */ - use_lag=lag; - if (lag<80) { - use_lag=2*lag; - } - - /* compute concealed residual */ - - - - - - - energy = 0.0; - for (i=0; iblockl; i++) { - - /* noise component */ - - iLBCdec_inst->seed=(iLBCdec_inst->seed*69069L+1) & - (0x80000000L-1); - randlag = 50 + ((signed long) iLBCdec_inst->seed)%70; - pick = i - randlag; - - if (pick < 0) { - randvec[i] = - iLBCdec_inst->prevResidual[ - iLBCdec_inst->blockl+pick]; - } else { - randvec[i] = randvec[pick]; - } - - /* pitch repeatition component */ - pick = i - use_lag; - - if (pick < 0) { - PLCresidual[i] = - iLBCdec_inst->prevResidual[ - iLBCdec_inst->blockl+pick]; - } else { - PLCresidual[i] = PLCresidual[pick]; - } - - /* mix random and periodicity component */ - - if (i<80) - PLCresidual[i] = use_gain*(pitchfact * - PLCresidual[i] + - ((float)1.0 - pitchfact) * randvec[i]); - else if (i<160) - PLCresidual[i] = (float)0.95*use_gain*(pitchfact * - PLCresidual[i] + - ((float)1.0 - pitchfact) * randvec[i]); - else - PLCresidual[i] = (float)0.9*use_gain*(pitchfact * - PLCresidual[i] + - ((float)1.0 - pitchfact) * randvec[i]); - - energy += PLCresidual[i] * PLCresidual[i]; - } - - /* less than 30 dB, use only noise */ - - - - - - - if (sqrt(energy/(float)iLBCdec_inst->blockl) < 30.0) { - gain=0.0; - for (i=0; iblockl; i++) { - PLCresidual[i] = randvec[i]; - } - } - - /* use old LPC */ - - memcpy(PLClpc,iLBCdec_inst->prevLpc, - (LPC_FILTERORDER+1)*sizeof(float)); - - } - - /* no packet loss, copy input */ - - else { - memcpy(PLCresidual, decresidual, - iLBCdec_inst->blockl*sizeof(float)); - memcpy(PLClpc, lpc, (LPC_FILTERORDER+1)*sizeof(float)); - iLBCdec_inst->consPLICount = 0; - } - - /* update state */ - - if (PLI) { - iLBCdec_inst->prevLag = lag; - iLBCdec_inst->per=max_per; - } - - iLBCdec_inst->prevPLI = PLI; - memcpy(iLBCdec_inst->prevLpc, PLClpc, - (LPC_FILTERORDER+1)*sizeof(float)); - memcpy(iLBCdec_inst->prevResidual, PLCresidual, - iLBCdec_inst->blockl*sizeof(float)); - } - diff --git a/res/pjproject/third_party/ilbc/doCPLC.h b/res/pjproject/third_party/ilbc/doCPLC.h deleted file mode 100644 index 2bda7a1441..0000000000 --- a/res/pjproject/third_party/ilbc/doCPLC.h +++ /dev/null @@ -1,29 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - doCPLC.h - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - ******************************************************************/ - - #ifndef __iLBC_DOLPC_H - #define __iLBC_DOLPC_H - - void doThePLC( - float *PLCresidual, /* (o) concealed residual */ - float *PLClpc, /* (o) concealed LP parameters */ - int PLI, /* (i) packet loss indicator - 0 - no PL, 1 = PL */ - float *decresidual, /* (i) decoded residual */ - float *lpc, /* (i) decoded LPC (only used for no PL) */ - int inlag, /* (i) pitch lag */ - iLBC_Dec_Inst_t *iLBCdec_inst - /* (i/o) decoder instance */ - ); - - #endif - diff --git a/res/pjproject/third_party/ilbc/enhancer.c b/res/pjproject/third_party/ilbc/enhancer.c deleted file mode 100644 index dee13b03d5..0000000000 --- a/res/pjproject/third_party/ilbc/enhancer.c +++ /dev/null @@ -1,701 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - enhancer.c - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - ******************************************************************/ - - #include - #include - #include "iLBC_define.h" - #include "constants.h" - #include "filter.h" - - /*----------------------------------------------------------------* - * Find index in array such that the array element with said - * index is the element of said array closest to "value" - * according to the squared-error criterion - *---------------------------------------------------------------*/ - - void NearestNeighbor( - - - - - - int *index, /* (o) index of array element closest - to value */ - float *array, /* (i) data array */ - float value,/* (i) value */ - int arlength/* (i) dimension of data array */ - ){ - int i; - float bestcrit,crit; - - crit=array[0]-value; - bestcrit=crit*crit; - *index=0; - for (i=1; i dim1 ) { - hfl2=(int) (dim1/2); - for (j=0; j= idatal) { - searchSegEndPos=idatal-ENH_BLOCKL-1; - } - corrdim=searchSegEndPos-searchSegStartPos+1; - - /* compute upsampled correlation (corr33) and find - location of max */ - - mycorr1(corrVec,idata+searchSegStartPos, - corrdim+ENH_BLOCKL-1,idata+centerStartPos,ENH_BLOCKL); - enh_upsample(corrVecUps,corrVec,corrdim,ENH_FL0); - tloc=0; maxv=corrVecUps[0]; - for (i=1; imaxv) { - tloc=i; - maxv=corrVecUps[i]; - } - } - - /* make vector can be upsampled without ever running outside - bounds */ - - *updStartPos= (float)searchSegStartPos + - (float)tloc/(float)ENH_UPS0+(float)1.0; - tloc2=(int)(tloc/ENH_UPS0); - - if (tloc>tloc2*ENH_UPS0) { - tloc2++; - } - st=searchSegStartPos+tloc2-ENH_FL0; - - if (st<0) { - memset(vect,0,-st*sizeof(float)); - memcpy(&vect[-st],idata, (ENH_VECTL+st)*sizeof(float)); - } - else { - - - - - - en=st+ENH_VECTL; - - if (en>idatal) { - memcpy(vect, &idata[st], - (ENH_VECTL-(en-idatal))*sizeof(float)); - memset(&vect[ENH_VECTL-(en-idatal)], 0, - (en-idatal)*sizeof(float)); - } - else { - memcpy(vect, &idata[st], ENH_VECTL*sizeof(float)); - } - } - fraction=tloc2*ENH_UPS0-tloc; - - /* compute the segment (this is actually a convolution) */ - - mycorr1(seg,vect,ENH_VECTL,polyphaserTbl+(2*ENH_FL0+1)*fraction, - 2*ENH_FL0+1); - } - - /*----------------------------------------------------------------* - * find the smoothed output data - *---------------------------------------------------------------*/ - - void smath( - float *odata, /* (o) smoothed output */ - float *sseq,/* (i) said second sequence of waveforms */ - int hl, /* (i) 2*hl+1 is sseq dimension */ - float alpha0/* (i) max smoothing energy fraction */ - ){ - int i,k; - float w00,w10,w11,A,B,C,*psseq,err,errs; - float surround[BLOCKL_MAX]; /* shape contributed by other than - current */ - float wt[2*ENH_HL+1]; /* waveform weighting to get - surround shape */ - float denom; - - /* create shape of contribution from all waveforms except the - current one */ - - for (i=1; i<=2*hl+1; i++) { - wt[i-1] = (float)0.5*(1 - (float)cos(2*PI*i/(2*hl+2))); - } - wt[hl]=0.0; /* for clarity, not used */ - for (i=0; i alpha0 * w00) { - if ( w00 < 1) { - w00=1; - } - denom = (w11*w00-w10*w10)/(w00*w00); - - if (denom > 0.0001) { /* eliminates numerical problems - for if smooth */ - - - - - - A = (float)sqrt( (alpha0- alpha0*alpha0/4)/denom); - B = -alpha0/2 - A * w10/w00; - B = B+1; - } - else { /* essentially no difference between cycles; - smoothing not needed */ - A= 0.0; - B= 1.0; - } - - /* create smoothed sequence */ - - psseq=sseq+hl*ENH_BLOCKL; - for (i=0; i=0; q--) { - blockStartPos[q]=blockStartPos[q+1]-period[lagBlock[q+1]]; - NearestNeighbor(lagBlock+q,plocs, - blockStartPos[q]+ - ENH_BLOCKL_HALF-period[lagBlock[q+1]], periodl); - - - if (blockStartPos[q]-ENH_OVERHANG>=0) { - refiner(sseq+q*ENH_BLOCKL, blockStartPos+q, idata, - idatal, centerStartPos, blockStartPos[q], - period[lagBlock[q+1]]); - } else { - psseq=sseq+q*ENH_BLOCKL; - memset(psseq, 0, ENH_BLOCKL*sizeof(float)); - } - } - - /* future */ - - for (i=0; i 0.0) { - return (float)(ftmp1*ftmp1/ftmp2); - } - - - - - - else { - return (float)0.0; - } - } - - /*----------------------------------------------------------------* - * interface for enhancer - *---------------------------------------------------------------*/ - - int enhancerInterface( - float *out, /* (o) enhanced signal */ - float *in, /* (i) unenhanced signal */ - iLBC_Dec_Inst_t *iLBCdec_inst /* (i) buffers etc */ - ){ - float *enh_buf, *enh_period; - int iblock, isample; - int lag=0, ilag, i, ioffset; - float cc, maxcc; - float ftmp1, ftmp2; - float *inPtr, *enh_bufPtr1, *enh_bufPtr2; - float plc_pred[ENH_BLOCKL]; - - float lpState[6], downsampled[(ENH_NBLOCKS*ENH_BLOCKL+120)/2]; - int inLen=ENH_NBLOCKS*ENH_BLOCKL+120; - int start, plc_blockl, inlag; - - enh_buf=iLBCdec_inst->enh_buf; - enh_period=iLBCdec_inst->enh_period; - - memmove(enh_buf, &enh_buf[iLBCdec_inst->blockl], - (ENH_BUFL-iLBCdec_inst->blockl)*sizeof(float)); - - memcpy(&enh_buf[ENH_BUFL-iLBCdec_inst->blockl], in, - iLBCdec_inst->blockl*sizeof(float)); - - if (iLBCdec_inst->mode==30) - plc_blockl=ENH_BLOCKL; - else - plc_blockl=40; - - /* when 20 ms frame, move processing one block */ - ioffset=0; - if (iLBCdec_inst->mode==20) ioffset=1; - - i=3-ioffset; - memmove(enh_period, &enh_period[i], - (ENH_NBLOCKS_TOT-i)*sizeof(float)); - - - - - - - /* Set state information to the 6 samples right before - the samples to be downsampled. */ - - memcpy(lpState, - enh_buf+(ENH_NBLOCKS_EXTRA+ioffset)*ENH_BLOCKL-126, - 6*sizeof(float)); - - /* Down sample a factor 2 to save computations */ - - DownSample(enh_buf+(ENH_NBLOCKS_EXTRA+ioffset)*ENH_BLOCKL-120, - lpFilt_coefsTbl, inLen-ioffset*ENH_BLOCKL, - lpState, downsampled); - - /* Estimate the pitch in the down sampled domain. */ - for (iblock = 0; iblock maxcc) { - maxcc = cc; - lag = ilag; - } - } - - /* Store the estimated lag in the non-downsampled domain */ - enh_period[iblock+ENH_NBLOCKS_EXTRA+ioffset] = (float)lag*2; - - - } - - - /* PLC was performed on the previous packet */ - if (iLBCdec_inst->prev_enh_pl==1) { - - inlag=(int)enh_period[ENH_NBLOCKS_EXTRA+ioffset]; - - lag = inlag-1; - maxcc = xCorrCoef(in, in+lag, plc_blockl); - for (ilag=inlag; ilag<=inlag+1; ilag++) { - cc = xCorrCoef(in, in+ilag, plc_blockl); - - - - - - - if (cc > maxcc) { - maxcc = cc; - lag = ilag; - } - } - - enh_period[ENH_NBLOCKS_EXTRA+ioffset-1]=(float)lag; - - /* compute new concealed residual for the old lookahead, - mix the forward PLC with a backward PLC from - the new frame */ - - inPtr=&in[lag-1]; - - enh_bufPtr1=&plc_pred[plc_blockl-1]; - - if (lag>plc_blockl) { - start=plc_blockl; - } else { - start=lag; - } - - for (isample = start; isample>0; isample--) { - *enh_bufPtr1-- = *inPtr--; - } - - enh_bufPtr2=&enh_buf[ENH_BUFL-1-iLBCdec_inst->blockl]; - for (isample = (plc_blockl-1-lag); isample>=0; isample--) { - *enh_bufPtr1-- = *enh_bufPtr2--; - } - - /* limit energy change */ - ftmp2=0.0; - ftmp1=0.0; - for (i=0;iblockl-i]* - enh_buf[ENH_BUFL-1-iLBCdec_inst->blockl-i]; - ftmp1+=plc_pred[i]*plc_pred[i]; - } - ftmp1=(float)sqrt(ftmp1/(float)plc_blockl); - ftmp2=(float)sqrt(ftmp2/(float)plc_blockl); - if (ftmp1>(float)2.0*ftmp2 && ftmp1>0.0) { - for (i=0;iblockl]; - for (i=0; imode==20) { - /* Enhancer with 40 samples delay */ - for (iblock = 0; iblock<2; iblock++) { - enhancer(out+iblock*ENH_BLOCKL, enh_buf, - ENH_BUFL, (5+iblock)*ENH_BLOCKL+40, - ENH_ALPHA0, enh_period, enh_plocsTbl, - ENH_NBLOCKS_TOT); - } - } else if (iLBCdec_inst->mode==30) { - /* Enhancer with 80 samples delay */ - for (iblock = 0; iblock<3; iblock++) { - enhancer(out+iblock*ENH_BLOCKL, enh_buf, - ENH_BUFL, (4+iblock)*ENH_BLOCKL, - ENH_ALPHA0, enh_period, enh_plocsTbl, - ENH_NBLOCKS_TOT); - } - } - - return (lag*2); - } - diff --git a/res/pjproject/third_party/ilbc/enhancer.h b/res/pjproject/third_party/ilbc/enhancer.h deleted file mode 100644 index 8a081fb1bc..0000000000 --- a/res/pjproject/third_party/ilbc/enhancer.h +++ /dev/null @@ -1,36 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - enhancer.h - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - - - - - ******************************************************************/ - - #ifndef __ENHANCER_H - #define __ENHANCER_H - - #include "iLBC_define.h" - - float xCorrCoef( - float *target, /* (i) first array */ - float *regressor, /* (i) second array */ - int subl /* (i) dimension arrays */ - ); - - int enhancerInterface( - float *out, /* (o) the enhanced recidual signal */ - float *in, /* (i) the recidual signal to enhance */ - iLBC_Dec_Inst_t *iLBCdec_inst - /* (i/o) the decoder state structure */ - ); - - #endif - diff --git a/res/pjproject/third_party/ilbc/filter.c b/res/pjproject/third_party/ilbc/filter.c deleted file mode 100644 index 6565c2beee..0000000000 --- a/res/pjproject/third_party/ilbc/filter.c +++ /dev/null @@ -1,175 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - filter.c - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - ******************************************************************/ - - #include "iLBC_define.h" - - /*----------------------------------------------------------------* - * all-pole filter - *---------------------------------------------------------------*/ - - void AllPoleFilter( - float *InOut, /* (i/o) on entrance InOut[-orderCoef] to - InOut[-1] contain the state of the - filter (delayed samples). InOut[0] to - InOut[lengthInOut-1] contain the filter - input, on en exit InOut[-orderCoef] to - InOut[-1] is unchanged and InOut[0] to - InOut[lengthInOut-1] contain filtered - samples */ - float *Coef,/* (i) filter coefficients, Coef[0] is assumed - to be 1.0 */ - int lengthInOut,/* (i) number of input/output samples */ - int orderCoef /* (i) number of filter coefficients */ - ){ - int n,k; - - for(n=0;n - #include - #include "constants.h" - #include "filter.h" - - /*----------------------------------------------------------------* - * quantizer for the gain in the gain-shape coding of residual - *---------------------------------------------------------------*/ - - float gainquant(/* (o) quantized gain value */ - float in, /* (i) gain value */ - float maxIn,/* (i) maximum of gain value */ - int cblen, /* (i) number of quantization indices */ - int *index /* (o) quantization index */ - ){ - int i, tindex; - float minmeasure,measure, *cb, scale; - - /* ensure a lower bound on the scaling factor */ - - scale=maxIn; - - if (scale<0.1) { - scale=(float)0.1; - } - - /* select the quantization table */ - - if (cblen == 8) { - cb = gain_sq3Tbl; - } else if (cblen == 16) { - cb = gain_sq4Tbl; - } else { - cb = gain_sq5Tbl; - } - - /* select the best index in the quantization table */ - - minmeasure=10000000.0; - tindex=0; - for (i=0; i - - /*----------------------------------------------------------------* - * Construct codebook vector for given index. - *---------------------------------------------------------------*/ - - void getCBvec( - - - - - - float *cbvec, /* (o) Constructed codebook vector */ - float *mem, /* (i) Codebook buffer */ - int index, /* (i) Codebook index */ - int lMem, /* (i) Length of codebook buffer */ - int cbveclen/* (i) Codebook vector length */ - ){ - int j, k, n, memInd, sFilt; - float tmpbuf[CB_MEML]; - int base_size; - int ilow, ihigh; - float alfa, alfa1; - - /* Determine size of codebook sections */ - - base_size=lMem-cbveclen+1; - - if (cbveclen==SUBL) { - base_size+=cbveclen/2; - } - - /* No filter -> First codebook section */ - - if (index - - #include "iLBC_define.h" - #include "constants.h" - - /*----------------------------------------------------------------* - * calculation of auto correlation - *---------------------------------------------------------------*/ - - void autocorr( - float *r, /* (o) autocorrelation vector */ - const float *x, /* (i) data vector */ - int N, /* (i) length of data vector */ - int order /* largest lag for calculated - autocorrelations */ - ){ - int lag, n; - float sum; - - for (lag = 0; lag <= order; lag++) { - sum = 0; - for (n = 0; n < N - lag; n++) { - sum += x[n] * x[n+lag]; - } - r[lag] = sum; - } - - - - - - } - - /*----------------------------------------------------------------* - * window multiplication - *---------------------------------------------------------------*/ - - void window( - float *z, /* (o) the windowed data */ - const float *x, /* (i) the original data vector */ - const float *y, /* (i) the window */ - int N /* (i) length of all vectors */ - ){ - int i; - - for (i = 0; i < N; i++) { - z[i] = x[i] * y[i]; - } - } - - /*----------------------------------------------------------------* - * levinson-durbin solution for lpc coefficients - *---------------------------------------------------------------*/ - - void levdurb( - float *a, /* (o) lpc coefficient vector starting - with 1.0 */ - float *k, /* (o) reflection coefficients */ - float *r, /* (i) autocorrelation vector */ - int order /* (i) order of lpc filter */ - ){ - float sum, alpha; - int m, m_h, i; - - a[0] = 1.0; - - if (r[0] < EPS) { /* if r[0] <= 0, set LPC coeff. to zero */ - for (i = 0; i < order; i++) { - k[i] = 0; - a[i+1] = 0; - } - } else { - a[1] = k[0] = -r[1]/r[0]; - alpha = r[0] + r[1] * k[0]; - for (m = 1; m < order; m++){ - sum = r[m + 1]; - for (i = 0; i < m; i++){ - sum += a[i+1] * r[m - i]; - } - - - - - - k[m] = -sum / alpha; - alpha += k[m] * sum; - m_h = (m + 1) >> 1; - for (i = 0; i < m_h; i++){ - sum = a[i+1] + k[m] * a[m - i]; - a[m - i] += k[m] * a[i+1]; - a[i+1] = sum; - } - a[m+1] = k[m]; - } - } - } - - /*----------------------------------------------------------------* - * interpolation between vectors - *---------------------------------------------------------------*/ - - void interpolate( - float *out, /* (o) the interpolated vector */ - float *in1, /* (i) the first vector for the - interpolation */ - float *in2, /* (i) the second vector for the - interpolation */ - float coef, /* (i) interpolation weights */ - int length /* (i) length of all vectors */ - ){ - int i; - float invcoef; - - invcoef = (float)1.0 - coef; - for (i = 0; i < length; i++) { - out[i] = coef * in1[i] + invcoef * in2[i]; - } - } - - /*----------------------------------------------------------------* - * lpc bandwidth expansion - *---------------------------------------------------------------*/ - - void bwexpand( - float *out, /* (o) the bandwidth expanded lpc - coefficients */ - float *in, /* (i) the lpc coefficients before bandwidth - expansion */ - float coef, /* (i) the bandwidth expansion factor */ - int length /* (i) the length of lpc coefficient vectors */ - ){ - int i; - - - - - - float chirp; - - chirp = coef; - - out[0] = in[0]; - for (i = 1; i < length; i++) { - out[i] = chirp * in[i]; - chirp *= coef; - } - } - - /*----------------------------------------------------------------* - * vector quantization - *---------------------------------------------------------------*/ - - void vq( - float *Xq, /* (o) the quantized vector */ - int *index, /* (o) the quantization index */ - const float *CB,/* (i) the vector quantization codebook */ - float *X, /* (i) the vector to quantize */ - int n_cb, /* (i) the number of vectors in the codebook */ - int dim /* (i) the dimension of all vectors */ - ){ - int i, j; - int pos, minindex; - float dist, tmp, mindist; - - pos = 0; - mindist = FLOAT_MAX; - minindex = 0; - for (j = 0; j < n_cb; j++) { - dist = X[0] - CB[pos]; - dist *= dist; - for (i = 1; i < dim; i++) { - tmp = X[i] - CB[pos + i]; - dist += tmp*tmp; - } - - if (dist < mindist) { - mindist = dist; - minindex = j; - } - pos += dim; - } - for (i = 0; i < dim; i++) { - Xq[i] = CB[minindex*dim + i]; - } - *index = minindex; - - - - - - } - - /*----------------------------------------------------------------* - * split vector quantization - *---------------------------------------------------------------*/ - - void SplitVQ( - float *qX, /* (o) the quantized vector */ - int *index, /* (o) a vector of indexes for all vector - codebooks in the split */ - float *X, /* (i) the vector to quantize */ - const float *CB,/* (i) the quantizer codebook */ - int nsplit, /* the number of vector splits */ - const int *dim, /* the dimension of X and qX */ - const int *cbsize /* the number of vectors in the codebook */ - ){ - int cb_pos, X_pos, i; - - cb_pos = 0; - X_pos= 0; - for (i = 0; i < nsplit; i++) { - vq(qX + X_pos, index + i, CB + cb_pos, X + X_pos, - cbsize[i], dim[i]); - X_pos += dim[i]; - cb_pos += dim[i] * cbsize[i]; - } - } - - /*----------------------------------------------------------------* - * scalar quantization - *---------------------------------------------------------------*/ - - void sort_sq( - float *xq, /* (o) the quantized value */ - int *index, /* (o) the quantization index */ - float x, /* (i) the value to quantize */ - const float *cb,/* (i) the quantization codebook */ - int cb_size /* (i) the size of the quantization codebook */ - ){ - int i; - - if (x <= cb[0]) { - *index = 0; - *xq = cb[0]; - } else { - i = 0; - while ((x > cb[i]) && i < cb_size - 1) { - i++; - - - - - - } - - if (x > ((cb[i] + cb[i - 1])/2)) { - *index = i; - *xq = cb[i]; - } else { - *index = i - 1; - *xq = cb[i - 1]; - } - } - } - - /*----------------------------------------------------------------* - * check for stability of lsf coefficients - *---------------------------------------------------------------*/ - - int LSF_check( /* (o) 1 for stable lsf vectors and 0 for - nonstable ones */ - float *lsf, /* (i) a table of lsf vectors */ - int dim, /* (i) the dimension of each lsf vector */ - int NoAn /* (i) the number of lsf vectors in the - table */ - ){ - int k,n,m, Nit=2, change=0,pos; - float tmp; - static float eps=(float)0.039; /* 50 Hz */ - static float eps2=(float)0.0195; - static float maxlsf=(float)3.14; /* 4000 Hz */ - static float minlsf=(float)0.01; /* 0 Hz */ - - /* LSF separation check*/ - - for (n=0; nmaxlsf) { - lsf[pos]=maxlsf; - change=1; - } - } - } - } - - return change; - } - diff --git a/res/pjproject/third_party/ilbc/helpfun.h b/res/pjproject/third_party/ilbc/helpfun.h deleted file mode 100644 index 931ca68a64..0000000000 --- a/res/pjproject/third_party/ilbc/helpfun.h +++ /dev/null @@ -1,106 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - helpfun.h - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - ******************************************************************/ - - #ifndef __iLBC_HELPFUN_H - #define __iLBC_HELPFUN_H - - void autocorr( - float *r, /* (o) autocorrelation vector */ - const float *x, /* (i) data vector */ - int N, /* (i) length of data vector */ - int order /* largest lag for calculated - autocorrelations */ - ); - - void window( - float *z, /* (o) the windowed data */ - const float *x, /* (i) the original data vector */ - const float *y, /* (i) the window */ - int N /* (i) length of all vectors */ - ); - - void levdurb( - float *a, /* (o) lpc coefficient vector starting - with 1.0 */ - float *k, /* (o) reflection coefficients */ - float *r, /* (i) autocorrelation vector */ - int order /* (i) order of lpc filter */ - ); - - void interpolate( - - - - - - float *out, /* (o) the interpolated vector */ - float *in1, /* (i) the first vector for the - interpolation */ - float *in2, /* (i) the second vector for the - interpolation */ - float coef, /* (i) interpolation weights */ - int length /* (i) length of all vectors */ - ); - - void bwexpand( - float *out, /* (o) the bandwidth expanded lpc - coefficients */ - float *in, /* (i) the lpc coefficients before bandwidth - expansion */ - float coef, /* (i) the bandwidth expansion factor */ - int length /* (i) the length of lpc coefficient vectors */ - ); - - void vq( - float *Xq, /* (o) the quantized vector */ - int *index, /* (o) the quantization index */ - const float *CB,/* (i) the vector quantization codebook */ - float *X, /* (i) the vector to quantize */ - int n_cb, /* (i) the number of vectors in the codebook */ - int dim /* (i) the dimension of all vectors */ - ); - - void SplitVQ( - float *qX, /* (o) the quantized vector */ - int *index, /* (o) a vector of indexes for all vector - codebooks in the split */ - float *X, /* (i) the vector to quantize */ - const float *CB,/* (i) the quantizer codebook */ - int nsplit, /* the number of vector splits */ - const int *dim, /* the dimension of X and qX */ - const int *cbsize /* the number of vectors in the codebook */ - ); - - - void sort_sq( - float *xq, /* (o) the quantized value */ - int *index, /* (o) the quantization index */ - float x, /* (i) the value to quantize */ - const float *cb,/* (i) the quantization codebook */ - int cb_size /* (i) the size of the quantization codebook */ - ); - - int LSF_check( /* (o) 1 for stable lsf vectors and 0 for - - - - - - nonstable ones */ - float *lsf, /* (i) a table of lsf vectors */ - int dim, /* (i) the dimension of each lsf vector */ - int NoAn /* (i) the number of lsf vectors in the - table */ - ); - - #endif - diff --git a/res/pjproject/third_party/ilbc/hpInput.c b/res/pjproject/third_party/ilbc/hpInput.c deleted file mode 100644 index 7ceee09643..0000000000 --- a/res/pjproject/third_party/ilbc/hpInput.c +++ /dev/null @@ -1,65 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - - - - - hpInput.c - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - ******************************************************************/ - - #include "constants.h" - - /*----------------------------------------------------------------* - * Input high-pass filter - *---------------------------------------------------------------*/ - - void hpInput( - float *In, /* (i) vector to filter */ - int len, /* (i) length of vector to filter */ - float *Out, /* (o) the resulting filtered vector */ - float *mem /* (i/o) the filter state */ - ){ - int i; - float *pi, *po; - - /* all-zero section*/ - - pi = &In[0]; - po = &Out[0]; - for (i=0; i - - #include "iLBC_define.h" - #include "gainquant.h" - #include "getCBvec.h" - - /*----------------------------------------------------------------* - * Convert the codebook indexes to make the search easier - *---------------------------------------------------------------*/ - - - - - - - void index_conv_enc( - int *index /* (i/o) Codebook indexes */ - ){ - int k; - - for (k=1; k=108)&&(index[k]<172)) { - index[k]-=64; - } else if (index[k]>=236) { - index[k]-=128; - } else { - /* ERROR */ - } - } - } - - void index_conv_dec( - int *index /* (i/o) Codebook indexes */ - ){ - int k; - - for (k=1; k=44)&&(index[k]<108)) { - index[k]+=64; - } else if ((index[k]>=108)&&(index[k]<128)) { - index[k]+=128; - } else { - /* ERROR */ - } - } - } - - /*----------------------------------------------------------------* - * Construct decoded vector from codebook and gains. - *---------------------------------------------------------------*/ - - void iCBConstruct( - float *decvector, /* (o) Decoded vector */ - int *index, /* (i) Codebook indices */ - int *gain_index,/* (i) Gain quantization indices */ - float *mem, /* (i) Buffer for codevector construction */ - int lMem, /* (i) Length of buffer */ - int veclen, /* (i) Length of vector */ - int nStages /* (i) Number of codebook stages */ - ){ - int j,k; - - - - - - float gain[CB_NSTAGES]; - float cbvec[SUBL]; - - /* gain de-quantization */ - - gain[0] = gaindequant(gain_index[0], 1.0, 32); - if (nStages > 1) { - gain[1] = gaindequant(gain_index[1], - (float)fabs(gain[0]), 16); - } - if (nStages > 2) { - gain[2] = gaindequant(gain_index[2], - (float)fabs(gain[1]), 8); - } - - /* codebook vector construction and construction of - total vector */ - - getCBvec(cbvec, mem, index[0], lMem, veclen); - for (j=0;j 1) { - for (k=1; k - #include - - #include "iLBC_define.h" - #include "gainquant.h" - #include "createCB.h" - #include "filter.h" - #include "constants.h" - - /*----------------------------------------------------------------* - * Search routine for codebook encoding and gain quantization. - *---------------------------------------------------------------*/ - - void iCBSearch( - iLBC_Enc_Inst_t *iLBCenc_inst, - /* (i) the encoder state structure */ - int *index, /* (o) Codebook indices */ - int *gain_index,/* (o) Gain quantization indices */ - - - - - - float *intarget,/* (i) Target vector for encoding */ - float *mem, /* (i) Buffer for codebook construction */ - int lMem, /* (i) Length of buffer */ - int lTarget, /* (i) Length of vector */ - int nStages, /* (i) Number of codebook stages */ - float *weightDenum, /* (i) weighting filter coefficients */ - float *weightState, /* (i) weighting filter state */ - int block /* (i) the sub-block number */ - ){ - int i, j, icount, stage, best_index, range, counter; - float max_measure, gain, measure, crossDot, ftmp; - float gains[CB_NSTAGES]; - float target[SUBL]; - int base_index, sInd, eInd, base_size; - int sIndAug=0, eIndAug=0; - float buf[CB_MEML+SUBL+2*LPC_FILTERORDER]; - float invenergy[CB_EXPAND*128], energy[CB_EXPAND*128]; - float *pp, *ppi=0, *ppo=0, *ppe=0; - float cbvectors[CB_MEML]; - float tene, cene, cvec[SUBL]; - float aug_vec[SUBL]; - - memset(cvec,0,SUBL*sizeof(float)); - - /* Determine size of codebook sections */ - - base_size=lMem-lTarget+1; - - if (lTarget==SUBL) { - base_size=lMem-lTarget+1+lTarget/2; - } - - /* setup buffer for weighting */ - - memcpy(buf,weightState,sizeof(float)*LPC_FILTERORDER); - memcpy(buf+LPC_FILTERORDER,mem,lMem*sizeof(float)); - memcpy(buf+LPC_FILTERORDER+lMem,intarget,lTarget*sizeof(float)); - - /* weighting */ - - AllPoleFilter(buf+LPC_FILTERORDER, weightDenum, - lMem+lTarget, LPC_FILTERORDER); - - /* Construct the codebook and target needed */ - - memcpy(target, buf+LPC_FILTERORDER+lMem, lTarget*sizeof(float)); - - tene=0.0; - - - - - - for (i=0; i0.0) { - invenergy[0] = (float) 1.0 / (*ppe + EPS); - } else { - invenergy[0] = (float) 0.0; - - - - - - } - ppe++; - - measure=(float)-10000000.0; - - if (crossDot > 0.0) { - measure = crossDot*crossDot*invenergy[0]; - } - } - else { - measure = crossDot*crossDot*invenergy[0]; - } - - /* check if measure is better */ - ftmp = crossDot*invenergy[0]; - - if ((measure>max_measure) && (fabs(ftmp)0.0) { - invenergy[icount] = - (float)1.0/(energy[icount]+EPS); - } else { - invenergy[icount] = (float) 0.0; - } - - - - - - measure=(float)-10000000.0; - - if (crossDot > 0.0) { - measure = crossDot*crossDot*invenergy[icount]; - } - } - else { - measure = crossDot*crossDot*invenergy[icount]; - } - - /* check if measure is better */ - ftmp = crossDot*invenergy[icount]; - - if ((measure>max_measure) && (fabs(ftmp) range) { - sInd -= (eInd-range); - eInd = range; - } - } else { /* base_index >= (base_size-20) */ - - if (sInd < (base_size-20)) { - sIndAug = 20; - sInd = 0; - eInd = 0; - eIndAug = 19 + CB_RESRANGE; - - if(eIndAug > 39) { - eInd = eIndAug-39; - eIndAug = 39; - } - } else { - sIndAug = 20 + sInd - (base_size-20); - eIndAug = 39; - sInd = 0; - eInd = CB_RESRANGE - (eIndAug-sIndAug+1); - } - } - - } else { /* lTarget = 22 or 23 */ - - if (sInd < 0) { - eInd -= sInd; - - - - - - sInd = 0; - } - - if(eInd > range) { - sInd -= (eInd - range); - eInd = range; - } - } - - //} -# endif /* CB_RESRANGE == -1 */ - - - /* search of higher codebook section */ - - /* index search range */ - counter = sInd; - sInd += base_size; - eInd += base_size; - - - if (stage==0) { - ppe = energy+base_size; - *ppe=0.0; - - pp=cbvectors+lMem-lTarget; - for (j=0; j0.0) { - invenergy[icount] =(float)1.0/(energy[icount]+EPS); - } else { - invenergy[icount] =(float)0.0; - } - - if (stage==0) { - - measure=(float)-10000000.0; - - if (crossDot > 0.0) { - measure = crossDot*crossDot* - invenergy[icount]; - } - } - else { - measure = crossDot*crossDot*invenergy[icount]; - } - - /* check if measure is better */ - ftmp = crossDot*invenergy[icount]; - - if ((measure>max_measure) && (fabs(ftmp)CB_MAXGAIN) { - gain = (float)CB_MAXGAIN; - } - gain = gainquant(gain, 1.0, 32, &gain_index[stage]); - } - else { - if (stage==1) { - gain = gainquant(gain, (float)fabs(gains[stage-1]), - 16, &gain_index[stage]); - } else { - gain = gainquant(gain, (float)fabs(gains[stage-1]), - 8, &gain_index[stage]); - } - } - - /* Extract the best (according to measure) - codebook vector */ - - if (lTarget==(STATE_LEN-iLBCenc_inst->state_short_len)) { - - if (index[stage] - #include - - #include "iLBC_define.h" - #include "StateConstructW.h" - #include "LPCdecode.h" - #include "iCBConstruct.h" - #include "doCPLC.h" - #include "helpfun.h" - #include "constants.h" - #include "packing.h" - #include "string.h" - #include "enhancer.h" - #include "hpOutput.h" - #include "syntFilter.h" - - /*----------------------------------------------------------------* - * Initiation of decoder instance. - *---------------------------------------------------------------*/ - - short initDecode( /* (o) Number of decoded - samples */ - iLBC_Dec_Inst_t *iLBCdec_inst, /* (i/o) Decoder instance */ - int mode, /* (i) frame size mode */ - int use_enhancer /* (i) 1 to use enhancer - 0 to run without - enhancer */ - ){ - int i; - - iLBCdec_inst->mode = mode; - - - - - - if (mode==30) { - iLBCdec_inst->blockl = BLOCKL_30MS; - iLBCdec_inst->nsub = NSUB_30MS; - iLBCdec_inst->nasub = NASUB_30MS; - iLBCdec_inst->lpc_n = LPC_N_30MS; - iLBCdec_inst->no_of_bytes = NO_OF_BYTES_30MS; - iLBCdec_inst->no_of_words = NO_OF_WORDS_30MS; - iLBCdec_inst->state_short_len=STATE_SHORT_LEN_30MS; - /* ULP init */ - iLBCdec_inst->ULP_inst=&ULP_30msTbl; - } - else if (mode==20) { - iLBCdec_inst->blockl = BLOCKL_20MS; - iLBCdec_inst->nsub = NSUB_20MS; - iLBCdec_inst->nasub = NASUB_20MS; - iLBCdec_inst->lpc_n = LPC_N_20MS; - iLBCdec_inst->no_of_bytes = NO_OF_BYTES_20MS; - iLBCdec_inst->no_of_words = NO_OF_WORDS_20MS; - iLBCdec_inst->state_short_len=STATE_SHORT_LEN_20MS; - /* ULP init */ - iLBCdec_inst->ULP_inst=&ULP_20msTbl; - } - else { - exit(2); - } - - memset(iLBCdec_inst->syntMem, 0, - LPC_FILTERORDER*sizeof(float)); - memcpy((*iLBCdec_inst).lsfdeqold, lsfmeanTbl, - LPC_FILTERORDER*sizeof(float)); - - memset(iLBCdec_inst->old_syntdenum, 0, - ((LPC_FILTERORDER + 1)*NSUB_MAX)*sizeof(float)); - for (i=0; iold_syntdenum[i*(LPC_FILTERORDER+1)]=1.0; - - iLBCdec_inst->last_lag = 20; - - iLBCdec_inst->prevLag = 120; - iLBCdec_inst->per = 0.0; - iLBCdec_inst->consPLICount = 0; - iLBCdec_inst->prevPLI = 0; - iLBCdec_inst->prevLpc[0] = 1.0; - memset(iLBCdec_inst->prevLpc+1,0, - LPC_FILTERORDER*sizeof(float)); - memset(iLBCdec_inst->prevResidual, 0, BLOCKL_MAX*sizeof(float)); - iLBCdec_inst->seed=777; - - - - - - - memset(iLBCdec_inst->hpomem, 0, 4*sizeof(float)); - - iLBCdec_inst->use_enhancer = use_enhancer; - memset(iLBCdec_inst->enh_buf, 0, ENH_BUFL*sizeof(float)); - for (i=0;ienh_period[i]=(float)40.0; - - iLBCdec_inst->prev_enh_pl = 0; - - return (short)(iLBCdec_inst->blockl); - } - - /*----------------------------------------------------------------* - * frame residual decoder function (subrutine to iLBC_decode) - *---------------------------------------------------------------*/ - - void Decode( - iLBC_Dec_Inst_t *iLBCdec_inst, /* (i/o) the decoder state - structure */ - float *decresidual, /* (o) decoded residual frame */ - int start, /* (i) location of start - state */ - int idxForMax, /* (i) codebook index for the - maximum value */ - int *idxVec, /* (i) codebook indexes for the - samples in the start - state */ - float *syntdenum, /* (i) the decoded synthesis - filter coefficients */ - int *cb_index, /* (i) the indexes for the - adaptive codebook */ - int *gain_index, /* (i) the indexes for the - corresponding gains */ - int *extra_cb_index, /* (i) the indexes for the - adaptive codebook part - of start state */ - int *extra_gain_index, /* (i) the indexes for the - corresponding gains */ - int state_first /* (i) 1 if non adaptive part - of start state comes - first 0 if that part - comes last */ - ){ - float reverseDecresidual[BLOCKL_MAX], mem[CB_MEML]; - int k, meml_gotten, Nfor, Nback, i; - int diff, start_pos; - int subcount, subframe; - - - - - - - diff = STATE_LEN - iLBCdec_inst->state_short_len; - - if (state_first == 1) { - start_pos = (start-1)*SUBL; - } else { - start_pos = (start-1)*SUBL + diff; - } - - /* decode scalar part of start state */ - - StateConstructW(idxForMax, idxVec, - &syntdenum[(start-1)*(LPC_FILTERORDER+1)], - &decresidual[start_pos], iLBCdec_inst->state_short_len); - - - if (state_first) { /* put adaptive part in the end */ - - /* setup memory */ - - memset(mem, 0, - (CB_MEML-iLBCdec_inst->state_short_len)*sizeof(float)); - memcpy(mem+CB_MEML-iLBCdec_inst->state_short_len, - decresidual+start_pos, - iLBCdec_inst->state_short_len*sizeof(float)); - - /* construct decoded vector */ - - iCBConstruct( - &decresidual[start_pos+iLBCdec_inst->state_short_len], - extra_cb_index, extra_gain_index, mem+CB_MEML-stMemLTbl, - stMemLTbl, diff, CB_NSTAGES); - - } - else {/* put adaptive part in the beginning */ - - /* create reversed vectors for prediction */ - - for (k=0; kstate_short_len)]; - } - - /* setup memory */ - - meml_gotten = iLBCdec_inst->state_short_len; - for (k=0; knsub-start-1; - - if ( Nfor > 0 ){ - - /* setup memory */ - - memset(mem, 0, (CB_MEML-STATE_LEN)*sizeof(float)); - memcpy(mem+CB_MEML-STATE_LEN, decresidual+(start-1)*SUBL, - STATE_LEN*sizeof(float)); - - /* loop over sub-frames to encode */ - - for (subframe=0; subframe 0 ) { - - /* setup memory */ - - meml_gotten = SUBL*(iLBCdec_inst->nsub+1-start); - - if ( meml_gotten > CB_MEML ) { - meml_gotten=CB_MEML; - } - for (k=0; k0) { /* the data are good */ - - /* decode data */ - - pbytes=bytes; - pos=0; - - - - - - - /* Set everything to zero before decoding */ - - for (k=0; kstate_short_len; k++) { - idxVec[k]=0; - } - for (k=0; knasub; i++) { - for (k=0; knasub; i++) { - for (k=0; klpc_n; k++){ - unpack( &pbytes, &lastpart, - iLBCdec_inst->ULP_inst->lsf_bits[k][ulp], &pos); - packcombine(&lsf_i[k], lastpart, - iLBCdec_inst->ULP_inst->lsf_bits[k][ulp]); - } - - /* Start block info */ - - unpack( &pbytes, &lastpart, - iLBCdec_inst->ULP_inst->start_bits[ulp], &pos); - packcombine(&start, lastpart, - iLBCdec_inst->ULP_inst->start_bits[ulp]); - - unpack( &pbytes, &lastpart, - - - - - - iLBCdec_inst->ULP_inst->startfirst_bits[ulp], &pos); - packcombine(&state_first, lastpart, - iLBCdec_inst->ULP_inst->startfirst_bits[ulp]); - - unpack( &pbytes, &lastpart, - iLBCdec_inst->ULP_inst->scale_bits[ulp], &pos); - packcombine(&idxForMax, lastpart, - iLBCdec_inst->ULP_inst->scale_bits[ulp]); - - for (k=0; kstate_short_len; k++) { - unpack( &pbytes, &lastpart, - iLBCdec_inst->ULP_inst->state_bits[ulp], &pos); - packcombine(idxVec+k, lastpart, - iLBCdec_inst->ULP_inst->state_bits[ulp]); - } - - /* 23/22 (20ms/30ms) sample block */ - - for (k=0; kULP_inst->extra_cb_index[k][ulp], - &pos); - packcombine(extra_cb_index+k, lastpart, - iLBCdec_inst->ULP_inst->extra_cb_index[k][ulp]); - } - for (k=0; kULP_inst->extra_cb_gain[k][ulp], - &pos); - packcombine(extra_gain_index+k, lastpart, - iLBCdec_inst->ULP_inst->extra_cb_gain[k][ulp]); - } - - /* The two/four (20ms/30ms) 40 sample sub-blocks */ - - for (i=0; inasub; i++) { - for (k=0; kULP_inst->cb_index[i][k][ulp], - &pos); - packcombine(cb_index+i*CB_NSTAGES+k, lastpart, - iLBCdec_inst->ULP_inst->cb_index[i][k][ulp]); - } - } - - for (i=0; inasub; i++) { - for (k=0; kULP_inst->cb_gain[i][k][ulp], - &pos); - packcombine(gain_index+i*CB_NSTAGES+k, lastpart, - iLBCdec_inst->ULP_inst->cb_gain[i][k][ulp]); - } - } - } - /* Extract last bit. If it is 1 this indicates an - empty/lost frame */ - unpack( &pbytes, &last_bit, 1, &pos); - - /* Check for bit errors or empty/lost frames */ - if (start<1) - mode = 0; - if (iLBCdec_inst->mode==20 && start>3) - mode = 0; - if (iLBCdec_inst->mode==30 && start>5) - mode = 0; - if (last_bit==1) - mode = 0; - - if (mode==1) { /* No bit errors was detected, - continue decoding */ - - /* adjust index */ - index_conv_dec(cb_index); - - /* decode the lsf */ - - SimplelsfDEQ(lsfdeq, lsf_i, iLBCdec_inst->lpc_n); - check=LSF_check(lsfdeq, LPC_FILTERORDER, - iLBCdec_inst->lpc_n); - DecoderInterpolateLSF(syntdenum, weightdenum, - lsfdeq, LPC_FILTERORDER, iLBCdec_inst); - - Decode(iLBCdec_inst, decresidual, start, idxForMax, - idxVec, syntdenum, cb_index, gain_index, - extra_cb_index, extra_gain_index, - state_first); - - /* preparing the plc for a future loss! */ - - doThePLC(PLCresidual, PLClpc, 0, decresidual, - syntdenum + - (LPC_FILTERORDER + 1)*(iLBCdec_inst->nsub - 1), - (*iLBCdec_inst).last_lag, iLBCdec_inst); - - - - - - - - memcpy(decresidual, PLCresidual, - iLBCdec_inst->blockl*sizeof(float)); - } - - } - - if (mode == 0) { - /* the data is bad (either a PLC call - * was made or a severe bit error was detected) - */ - - /* packet loss conceal */ - - memset(zeros, 0, BLOCKL_MAX*sizeof(float)); - - one[0] = 1; - memset(one+1, 0, LPC_FILTERORDER*sizeof(float)); - - start=0; - - doThePLC(PLCresidual, PLClpc, 1, zeros, one, - (*iLBCdec_inst).last_lag, iLBCdec_inst); - memcpy(decresidual, PLCresidual, - iLBCdec_inst->blockl*sizeof(float)); - - order_plus_one = LPC_FILTERORDER + 1; - for (i = 0; i < iLBCdec_inst->nsub; i++) { - memcpy(syntdenum+(i*order_plus_one), PLClpc, - order_plus_one*sizeof(float)); - } - } - - if (iLBCdec_inst->use_enhancer == 1) { - - /* post filtering */ - - iLBCdec_inst->last_lag = - enhancerInterface(data, decresidual, iLBCdec_inst); - - /* synthesis filtering */ - - if (iLBCdec_inst->mode==20) { - /* Enhancer has 40 samples delay */ - i=0; - syntFilter(data + i*SUBL, - iLBCdec_inst->old_syntdenum + - (i+iLBCdec_inst->nsub-1)*(LPC_FILTERORDER+1), - SUBL, iLBCdec_inst->syntMem); - - - - - - for (i=1; i < iLBCdec_inst->nsub; i++) { - syntFilter(data + i*SUBL, - syntdenum + (i-1)*(LPC_FILTERORDER+1), - SUBL, iLBCdec_inst->syntMem); - } - } else if (iLBCdec_inst->mode==30) { - /* Enhancer has 80 samples delay */ - for (i=0; i < 2; i++) { - syntFilter(data + i*SUBL, - iLBCdec_inst->old_syntdenum + - (i+iLBCdec_inst->nsub-2)*(LPC_FILTERORDER+1), - SUBL, iLBCdec_inst->syntMem); - } - for (i=2; i < iLBCdec_inst->nsub; i++) { - syntFilter(data + i*SUBL, - syntdenum + (i-2)*(LPC_FILTERORDER+1), SUBL, - iLBCdec_inst->syntMem); - } - } - - } else { - - /* Find last lag */ - lag = 20; - maxcc = xCorrCoef(&decresidual[BLOCKL_MAX-ENH_BLOCKL], - &decresidual[BLOCKL_MAX-ENH_BLOCKL-lag], ENH_BLOCKL); - - for (ilag=21; ilag<120; ilag++) { - cc = xCorrCoef(&decresidual[BLOCKL_MAX-ENH_BLOCKL], - &decresidual[BLOCKL_MAX-ENH_BLOCKL-ilag], - ENH_BLOCKL); - - if (cc > maxcc) { - maxcc = cc; - lag = ilag; - } - } - iLBCdec_inst->last_lag = lag; - - /* copy data and run synthesis filter */ - - memcpy(data, decresidual, - iLBCdec_inst->blockl*sizeof(float)); - for (i=0; i < iLBCdec_inst->nsub; i++) { - syntFilter(data + i*SUBL, - syntdenum + i*(LPC_FILTERORDER+1), SUBL, - iLBCdec_inst->syntMem); - } - - - - - - } - - /* high pass filtering on output if desired, otherwise - copy to out */ - - hpOutput(data, iLBCdec_inst->blockl, - decblock,iLBCdec_inst->hpomem); - - /* memcpy(decblock,data,iLBCdec_inst->blockl*sizeof(float));*/ - - memcpy(iLBCdec_inst->old_syntdenum, syntdenum, - - iLBCdec_inst->nsub*(LPC_FILTERORDER+1)*sizeof(float)); - - iLBCdec_inst->prev_enh_pl=0; - - if (mode==0) { /* PLC was used */ - iLBCdec_inst->prev_enh_pl=1; - } - } - diff --git a/res/pjproject/third_party/ilbc/iLBC_decode.h b/res/pjproject/third_party/ilbc/iLBC_decode.h deleted file mode 100644 index 5f4384dcde..0000000000 --- a/res/pjproject/third_party/ilbc/iLBC_decode.h +++ /dev/null @@ -1,42 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - iLBC_decode.h - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - ******************************************************************/ - - #ifndef __iLBC_ILBCDECODE_H - #define __iLBC_ILBCDECODE_H - - #include "iLBC_define.h" - - short initDecode( /* (o) Number of decoded - samples */ - iLBC_Dec_Inst_t *iLBCdec_inst, /* (i/o) Decoder instance */ - int mode, /* (i) frame size mode */ - int use_enhancer /* (i) 1 to use enhancer - 0 to run without - enhancer */ - ); - - void iLBC_decode( - float *decblock, /* (o) decoded signal block */ - unsigned char *bytes, /* (i) encoded signal bits */ - iLBC_Dec_Inst_t *iLBCdec_inst, /* (i/o) the decoder state - structure */ - int mode /* (i) 0: bad packet, PLC, - 1: normal */ - - - - - - ); - - #endif - diff --git a/res/pjproject/third_party/ilbc/iLBC_define.h b/res/pjproject/third_party/ilbc/iLBC_define.h deleted file mode 100644 index 480c834b97..0000000000 --- a/res/pjproject/third_party/ilbc/iLBC_define.h +++ /dev/null @@ -1,217 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - iLBC_define.h - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - ******************************************************************/ - #include - - #ifndef __iLBC_ILBCDEFINE_H - #define __iLBC_ILBCDEFINE_H - - /* general codec settings */ - - #define FS (float)8000.0 - #define BLOCKL_20MS 160 - #define BLOCKL_30MS 240 - #define BLOCKL_MAX 240 - #define NSUB_20MS 4 - #define NSUB_30MS 6 - #define NSUB_MAX 6 - #define NASUB_20MS 2 - - - - - - #define NASUB_30MS 4 - #define NASUB_MAX 4 - #define SUBL 40 - #define STATE_LEN 80 - #define STATE_SHORT_LEN_30MS 58 - #define STATE_SHORT_LEN_20MS 57 - - /* LPC settings */ - - #define LPC_FILTERORDER 10 - #define LPC_CHIRP_SYNTDENUM (float)0.9025 - #define LPC_CHIRP_WEIGHTDENUM (float)0.4222 - #define LPC_LOOKBACK 60 - #define LPC_N_20MS 1 - #define LPC_N_30MS 2 - #define LPC_N_MAX 2 - #define LPC_ASYMDIFF 20 - #define LPC_BW (float)60.0 - #define LPC_WN (float)1.0001 - #define LSF_NSPLIT 3 - #define LSF_NUMBER_OF_STEPS 4 - #define LPC_HALFORDER (LPC_FILTERORDER/2) - - /* cb settings */ - - #define CB_NSTAGES 3 - #define CB_EXPAND 2 - #define CB_MEML 147 - #define CB_FILTERLEN 2*4 - #define CB_HALFFILTERLEN 4 - #define CB_RESRANGE 34 - #define CB_MAXGAIN (float)1.3 - - /* enhancer */ - - #define ENH_BLOCKL 80 /* block length */ - #define ENH_BLOCKL_HALF (ENH_BLOCKL/2) - #define ENH_HL 3 /* 2*ENH_HL+1 is number blocks - in said second sequence */ - #define ENH_SLOP 2 /* max difference estimated and - correct pitch period */ - #define ENH_PLOCSL 20 /* pitch-estimates and pitch- - locations buffer length */ - #define ENH_OVERHANG 2 - #define ENH_UPS0 4 /* upsampling rate */ - #define ENH_FL0 3 /* 2*FLO+1 is the length of - each filter */ - #define ENH_VECTL (ENH_BLOCKL+2*ENH_FL0) - - - - - - #define ENH_CORRDIM (2*ENH_SLOP+1) - #define ENH_NBLOCKS (BLOCKL_MAX/ENH_BLOCKL) - #define ENH_NBLOCKS_EXTRA 5 - #define ENH_NBLOCKS_TOT 8 /* ENH_NBLOCKS + - ENH_NBLOCKS_EXTRA */ - #define ENH_BUFL (ENH_NBLOCKS_TOT)*ENH_BLOCKL - #define ENH_ALPHA0 (float)0.05 - - /* Down sampling */ - - #define FILTERORDER_DS 7 - #define DELAY_DS 3 - #define FACTOR_DS 2 - - /* bit stream defs */ - - #define NO_OF_BYTES_20MS 38 - #define NO_OF_BYTES_30MS 50 - #define NO_OF_WORDS_20MS 19 - #define NO_OF_WORDS_30MS 25 - #define STATE_BITS 3 - #define BYTE_LEN 8 - #define ULP_CLASSES 3 - - /* help parameters */ - - #define FLOAT_MAX (float)1.0e37 - #define EPS (float)2.220446049250313e-016 - #define PI (float)3.14159265358979323846 - #define MIN_SAMPLE -32768 - #define MAX_SAMPLE 32767 - #define TWO_PI (float)6.283185307 - #define PI2 (float)0.159154943 - - /* type definition encoder instance */ - typedef struct iLBC_ULP_Inst_t_ { - int lsf_bits[6][ULP_CLASSES+2]; - int start_bits[ULP_CLASSES+2]; - int startfirst_bits[ULP_CLASSES+2]; - int scale_bits[ULP_CLASSES+2]; - int state_bits[ULP_CLASSES+2]; - int extra_cb_index[CB_NSTAGES][ULP_CLASSES+2]; - int extra_cb_gain[CB_NSTAGES][ULP_CLASSES+2]; - int cb_index[NSUB_MAX][CB_NSTAGES][ULP_CLASSES+2]; - int cb_gain[NSUB_MAX][CB_NSTAGES][ULP_CLASSES+2]; - } iLBC_ULP_Inst_t; - - /* type definition encoder instance */ - - - - - - typedef struct iLBC_Enc_Inst_t_ { - - /* flag for frame size mode */ - int mode; - - /* basic parameters for different frame sizes */ - int blockl; - int nsub; - int nasub; - int no_of_bytes, no_of_words; - int lpc_n; - int state_short_len; - const iLBC_ULP_Inst_t *ULP_inst; - - /* analysis filter state */ - float anaMem[LPC_FILTERORDER]; - - /* old lsf parameters for interpolation */ - float lsfold[LPC_FILTERORDER]; - float lsfdeqold[LPC_FILTERORDER]; - - /* signal buffer for LP analysis */ - float lpc_buffer[LPC_LOOKBACK + BLOCKL_MAX]; - - /* state of input HP filter */ - float hpimem[4]; - - } iLBC_Enc_Inst_t; - - /* type definition decoder instance */ - typedef struct iLBC_Dec_Inst_t_ { - - /* flag for frame size mode */ - int mode; - - /* basic parameters for different frame sizes */ - int blockl; - int nsub; - int nasub; - int no_of_bytes, no_of_words; - int lpc_n; - int state_short_len; - const iLBC_ULP_Inst_t *ULP_inst; - - /* synthesis filter state */ - float syntMem[LPC_FILTERORDER]; - - /* old LSF for interpolation */ - - - - - - float lsfdeqold[LPC_FILTERORDER]; - - /* pitch lag estimated in enhancer and used in PLC */ - int last_lag; - - /* PLC state information */ - int prevLag, consPLICount, prevPLI, prev_enh_pl; - float prevLpc[LPC_FILTERORDER+1]; - float prevResidual[NSUB_MAX*SUBL]; - float per; - unsigned long seed; - - /* previous synthesis filter parameters */ - float old_syntdenum[(LPC_FILTERORDER + 1)*NSUB_MAX]; - - /* state of output HP filter */ - float hpomem[4]; - - /* enhancer state information */ - int use_enhancer; - float enh_buf[ENH_BUFL]; - float enh_period[ENH_NBLOCKS_TOT]; - - } iLBC_Dec_Inst_t; - - #endif - diff --git a/res/pjproject/third_party/ilbc/iLBC_encode.c b/res/pjproject/third_party/ilbc/iLBC_encode.c deleted file mode 100644 index 438545883d..0000000000 --- a/res/pjproject/third_party/ilbc/iLBC_encode.c +++ /dev/null @@ -1,543 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - iLBC_encode.c - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - ******************************************************************/ - - #include - #include - #include - - #include "iLBC_define.h" - #include "LPCencode.h" - #include "FrameClassify.h" - #include "StateSearchW.h" - #include "StateConstructW.h" - #include "helpfun.h" - #include "constants.h" - #include "packing.h" - #include "iCBSearch.h" - #include "iCBConstruct.h" - #include "hpInput.h" - #include "anaFilter.h" - #include "syntFilter.h" - - /*----------------------------------------------------------------* - * Initiation of encoder instance. - *---------------------------------------------------------------*/ - - short initEncode( /* (o) Number of bytes - encoded */ - iLBC_Enc_Inst_t *iLBCenc_inst, /* (i/o) Encoder instance */ - int mode /* (i) frame size mode */ - ){ - iLBCenc_inst->mode = mode; - if (mode==30) { - iLBCenc_inst->blockl = BLOCKL_30MS; - iLBCenc_inst->nsub = NSUB_30MS; - iLBCenc_inst->nasub = NASUB_30MS; - iLBCenc_inst->lpc_n = LPC_N_30MS; - iLBCenc_inst->no_of_bytes = NO_OF_BYTES_30MS; - iLBCenc_inst->no_of_words = NO_OF_WORDS_30MS; - - - - - - iLBCenc_inst->state_short_len=STATE_SHORT_LEN_30MS; - /* ULP init */ - iLBCenc_inst->ULP_inst=&ULP_30msTbl; - } - else if (mode==20) { - iLBCenc_inst->blockl = BLOCKL_20MS; - iLBCenc_inst->nsub = NSUB_20MS; - iLBCenc_inst->nasub = NASUB_20MS; - iLBCenc_inst->lpc_n = LPC_N_20MS; - iLBCenc_inst->no_of_bytes = NO_OF_BYTES_20MS; - iLBCenc_inst->no_of_words = NO_OF_WORDS_20MS; - iLBCenc_inst->state_short_len=STATE_SHORT_LEN_20MS; - /* ULP init */ - iLBCenc_inst->ULP_inst=&ULP_20msTbl; - } - else { - exit(2); - } - - memset((*iLBCenc_inst).anaMem, 0, - LPC_FILTERORDER*sizeof(float)); - memcpy((*iLBCenc_inst).lsfold, lsfmeanTbl, - LPC_FILTERORDER*sizeof(float)); - memcpy((*iLBCenc_inst).lsfdeqold, lsfmeanTbl, - LPC_FILTERORDER*sizeof(float)); - memset((*iLBCenc_inst).lpc_buffer, 0, - (LPC_LOOKBACK+BLOCKL_MAX)*sizeof(float)); - memset((*iLBCenc_inst).hpimem, 0, 4*sizeof(float)); - - return (short)(iLBCenc_inst->no_of_bytes); - } - - /*----------------------------------------------------------------* - * main encoder function - *---------------------------------------------------------------*/ - - void iLBC_encode( - unsigned char *bytes, /* (o) encoded data bits iLBC */ - float *block, /* (o) speech vector to - encode */ - iLBC_Enc_Inst_t *iLBCenc_inst /* (i/o) the general encoder - state */ - ){ - - float data[BLOCKL_MAX]; - float residual[BLOCKL_MAX], reverseResidual[BLOCKL_MAX]; - - int start, idxForMax, idxVec[STATE_LEN]; - - - - - - float reverseDecresidual[BLOCKL_MAX], mem[CB_MEML]; - int n, k, meml_gotten, Nfor, Nback, i, pos; - int gain_index[CB_NSTAGES*NASUB_MAX], - extra_gain_index[CB_NSTAGES]; - int cb_index[CB_NSTAGES*NASUB_MAX],extra_cb_index[CB_NSTAGES]; - int lsf_i[LSF_NSPLIT*LPC_N_MAX]; - unsigned char *pbytes; - int diff, start_pos, state_first; - float en1, en2; - int index, ulp, firstpart; - int subcount, subframe; - float weightState[LPC_FILTERORDER]; - float syntdenum[NSUB_MAX*(LPC_FILTERORDER+1)]; - float weightdenum[NSUB_MAX*(LPC_FILTERORDER+1)]; - float decresidual[BLOCKL_MAX]; - - /* high pass filtering of input signal if such is not done - prior to calling this function */ - - hpInput(block, iLBCenc_inst->blockl, - data, (*iLBCenc_inst).hpimem); - - /* otherwise simply copy */ - - /*memcpy(data,block,iLBCenc_inst->blockl*sizeof(float));*/ - - /* LPC of hp filtered input data */ - - LPCencode(syntdenum, weightdenum, lsf_i, data, iLBCenc_inst); - - - /* inverse filter to get residual */ - - for (n=0; nnsub; n++) { - anaFilter(&data[n*SUBL], &syntdenum[n*(LPC_FILTERORDER+1)], - SUBL, &residual[n*SUBL], iLBCenc_inst->anaMem); - } - - /* find state location */ - - start = FrameClassify(iLBCenc_inst, residual); - - /* check if state should be in first or last part of the - two subframes */ - - diff = STATE_LEN - iLBCenc_inst->state_short_len; - en1 = 0; - index = (start-1)*SUBL; - - - - - - for (i = 0; i < iLBCenc_inst->state_short_len; i++) { - en1 += residual[index+i]*residual[index+i]; - } - en2 = 0; - index = (start-1)*SUBL+diff; - for (i = 0; i < iLBCenc_inst->state_short_len; i++) { - en2 += residual[index+i]*residual[index+i]; - } - - - if (en1 > en2) { - state_first = 1; - start_pos = (start-1)*SUBL; - } else { - state_first = 0; - start_pos = (start-1)*SUBL + diff; - } - - /* scalar quantization of state */ - - StateSearchW(iLBCenc_inst, &residual[start_pos], - &syntdenum[(start-1)*(LPC_FILTERORDER+1)], - &weightdenum[(start-1)*(LPC_FILTERORDER+1)], &idxForMax, - idxVec, iLBCenc_inst->state_short_len, state_first); - - StateConstructW(idxForMax, idxVec, - &syntdenum[(start-1)*(LPC_FILTERORDER+1)], - &decresidual[start_pos], iLBCenc_inst->state_short_len); - - /* predictive quantization in state */ - - if (state_first) { /* put adaptive part in the end */ - - /* setup memory */ - - memset(mem, 0, - (CB_MEML-iLBCenc_inst->state_short_len)*sizeof(float)); - memcpy(mem+CB_MEML-iLBCenc_inst->state_short_len, - decresidual+start_pos, - iLBCenc_inst->state_short_len*sizeof(float)); - memset(weightState, 0, LPC_FILTERORDER*sizeof(float)); - - /* encode sub-frames */ - - iCBSearch(iLBCenc_inst, extra_cb_index, extra_gain_index, - &residual[start_pos+iLBCenc_inst->state_short_len], - mem+CB_MEML-stMemLTbl, - stMemLTbl, diff, CB_NSTAGES, - - - - - - &weightdenum[start*(LPC_FILTERORDER+1)], - weightState, 0); - - /* construct decoded vector */ - - iCBConstruct( - &decresidual[start_pos+iLBCenc_inst->state_short_len], - extra_cb_index, extra_gain_index, - mem+CB_MEML-stMemLTbl, - stMemLTbl, diff, CB_NSTAGES); - - } - else { /* put adaptive part in the beginning */ - - /* create reversed vectors for prediction */ - - for (k=0; kstate_short_len)]; - } - - /* setup memory */ - - meml_gotten = iLBCenc_inst->state_short_len; - for (k=0; knsub-start-1; - - - if ( Nfor > 0 ) { - - /* setup memory */ - - memset(mem, 0, (CB_MEML-STATE_LEN)*sizeof(float)); - memcpy(mem+CB_MEML-STATE_LEN, decresidual+(start-1)*SUBL, - STATE_LEN*sizeof(float)); - memset(weightState, 0, LPC_FILTERORDER*sizeof(float)); - - /* loop over sub-frames to encode */ - - for (subframe=0; subframe 0 ) { - - /* create reverse order vectors */ - - for (n=0; nnsub+1-start); - - - if ( meml_gotten > CB_MEML ) { - meml_gotten=CB_MEML; - } - for (k=0; klpc_n; k++) { - packsplit(&lsf_i[k], &firstpart, &lsf_i[k], - iLBCenc_inst->ULP_inst->lsf_bits[k][ulp], - iLBCenc_inst->ULP_inst->lsf_bits[k][ulp]+ - iLBCenc_inst->ULP_inst->lsf_bits[k][ulp+1]+ - iLBCenc_inst->ULP_inst->lsf_bits[k][ulp+2]); - dopack( &pbytes, firstpart, - iLBCenc_inst->ULP_inst->lsf_bits[k][ulp], &pos); - } - - /* Start block info */ - - packsplit(&start, &firstpart, &start, - iLBCenc_inst->ULP_inst->start_bits[ulp], - iLBCenc_inst->ULP_inst->start_bits[ulp]+ - iLBCenc_inst->ULP_inst->start_bits[ulp+1]+ - iLBCenc_inst->ULP_inst->start_bits[ulp+2]); - dopack( &pbytes, firstpart, - iLBCenc_inst->ULP_inst->start_bits[ulp], &pos); - - packsplit(&state_first, &firstpart, &state_first, - iLBCenc_inst->ULP_inst->startfirst_bits[ulp], - iLBCenc_inst->ULP_inst->startfirst_bits[ulp]+ - iLBCenc_inst->ULP_inst->startfirst_bits[ulp+1]+ - iLBCenc_inst->ULP_inst->startfirst_bits[ulp+2]); - dopack( &pbytes, firstpart, - iLBCenc_inst->ULP_inst->startfirst_bits[ulp], &pos); - - packsplit(&idxForMax, &firstpart, &idxForMax, - iLBCenc_inst->ULP_inst->scale_bits[ulp], - iLBCenc_inst->ULP_inst->scale_bits[ulp]+ - iLBCenc_inst->ULP_inst->scale_bits[ulp+1]+ - iLBCenc_inst->ULP_inst->scale_bits[ulp+2]); - dopack( &pbytes, firstpart, - iLBCenc_inst->ULP_inst->scale_bits[ulp], &pos); - - for (k=0; kstate_short_len; k++) { - packsplit(idxVec+k, &firstpart, idxVec+k, - iLBCenc_inst->ULP_inst->state_bits[ulp], - iLBCenc_inst->ULP_inst->state_bits[ulp]+ - iLBCenc_inst->ULP_inst->state_bits[ulp+1]+ - iLBCenc_inst->ULP_inst->state_bits[ulp+2]); - dopack( &pbytes, firstpart, - iLBCenc_inst->ULP_inst->state_bits[ulp], &pos); - } - - - - - - - /* 23/22 (20ms/30ms) sample block */ - - for (k=0;kULP_inst->extra_cb_index[k][ulp], - iLBCenc_inst->ULP_inst->extra_cb_index[k][ulp]+ - iLBCenc_inst->ULP_inst->extra_cb_index[k][ulp+1]+ - iLBCenc_inst->ULP_inst->extra_cb_index[k][ulp+2]); - dopack( &pbytes, firstpart, - iLBCenc_inst->ULP_inst->extra_cb_index[k][ulp], - &pos); - } - - for (k=0;kULP_inst->extra_cb_gain[k][ulp], - iLBCenc_inst->ULP_inst->extra_cb_gain[k][ulp]+ - iLBCenc_inst->ULP_inst->extra_cb_gain[k][ulp+1]+ - iLBCenc_inst->ULP_inst->extra_cb_gain[k][ulp+2]); - dopack( &pbytes, firstpart, - iLBCenc_inst->ULP_inst->extra_cb_gain[k][ulp], - &pos); - } - - /* The two/four (20ms/30ms) 40 sample sub-blocks */ - - for (i=0; inasub; i++) { - for (k=0; kULP_inst->cb_index[i][k][ulp], - iLBCenc_inst->ULP_inst->cb_index[i][k][ulp]+ - iLBCenc_inst->ULP_inst->cb_index[i][k][ulp+1]+ - iLBCenc_inst->ULP_inst->cb_index[i][k][ulp+2]); - dopack( &pbytes, firstpart, - iLBCenc_inst->ULP_inst->cb_index[i][k][ulp], - &pos); - } - } - - for (i=0; inasub; i++) { - for (k=0; kULP_inst->cb_gain[i][k][ulp], - iLBCenc_inst->ULP_inst->cb_gain[i][k][ulp]+ - - - - - - iLBCenc_inst->ULP_inst->cb_gain[i][k][ulp+1]+ - iLBCenc_inst->ULP_inst->cb_gain[i][k][ulp+2]); - dopack( &pbytes, firstpart, - iLBCenc_inst->ULP_inst->cb_gain[i][k][ulp], - &pos); - } - } - } - - /* set the last bit to zero (otherwise the decoder - will treat it as a lost frame) */ - dopack( &pbytes, 0, 1, &pos); - } - diff --git a/res/pjproject/third_party/ilbc/iLBC_encode.h b/res/pjproject/third_party/ilbc/iLBC_encode.h deleted file mode 100644 index a3ab55f9dc..0000000000 --- a/res/pjproject/third_party/ilbc/iLBC_encode.h +++ /dev/null @@ -1,39 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - iLBC_encode.h - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - ******************************************************************/ - - #ifndef __iLBC_ILBCENCODE_H - #define __iLBC_ILBCENCODE_H - - #include "iLBC_define.h" - - short initEncode( /* (o) Number of bytes - encoded */ - iLBC_Enc_Inst_t *iLBCenc_inst, /* (i/o) Encoder instance */ - int mode /* (i) frame size mode */ - ); - - void iLBC_encode( - - unsigned char *bytes, /* (o) encoded data bits iLBC */ - float *block, /* (o) speech vector to - encode */ - iLBC_Enc_Inst_t *iLBCenc_inst /* (i/o) the general encoder - state */ - ); - - #endif - - - - - - diff --git a/res/pjproject/third_party/ilbc/iLBC_test.c b/res/pjproject/third_party/ilbc/iLBC_test.c deleted file mode 100644 index 81985c09a5..0000000000 --- a/res/pjproject/third_party/ilbc/iLBC_test.c +++ /dev/null @@ -1,310 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - iLBC_test.c - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - ******************************************************************/ - - #include - #include - #include - #include - #include "iLBC_define.h" - #include "iLBC_encode.h" - #include "iLBC_decode.h" - - /* Runtime statistics */ - #include - - #define ILBCNOOFWORDS_MAX (NO_OF_BYTES_30MS/2) - - /*----------------------------------------------------------------* - * Encoder interface function - - - - - - *---------------------------------------------------------------*/ - - short encode( /* (o) Number of bytes encoded */ - iLBC_Enc_Inst_t *iLBCenc_inst, - /* (i/o) Encoder instance */ - short *encoded_data, /* (o) The encoded bytes */ - short *data /* (i) The signal block to encode*/ - ){ - float block[BLOCKL_MAX]; - int k; - - /* convert signal to float */ - - for (k=0; kblockl; k++) - block[k] = (float)data[k]; - - /* do the actual encoding */ - - iLBC_encode((unsigned char *)encoded_data, block, iLBCenc_inst); - - - return (iLBCenc_inst->no_of_bytes); - } - - /*----------------------------------------------------------------* - * Decoder interface function - *---------------------------------------------------------------*/ - - short decode( /* (o) Number of decoded samples */ - iLBC_Dec_Inst_t *iLBCdec_inst, /* (i/o) Decoder instance */ - short *decoded_data, /* (o) Decoded signal block*/ - short *encoded_data, /* (i) Encoded bytes */ - short mode /* (i) 0=PL, 1=Normal */ - ){ - int k; - float decblock[BLOCKL_MAX], dtmp; - - /* check if mode is valid */ - - if (mode<0 || mode>1) { - printf("\nERROR - Wrong mode - 0, 1 allowed\n"); exit(3);} - - /* do actual decoding of block */ - - iLBC_decode(decblock, (unsigned char *)encoded_data, - iLBCdec_inst, mode); - - /* convert to short */ - - - - - - for (k=0; kblockl; k++){ - dtmp=decblock[k]; - - if (dtmpMAX_SAMPLE) - dtmp=MAX_SAMPLE; - decoded_data[k] = (short) dtmp; - } - - return (iLBCdec_inst->blockl); - } - - /*---------------------------------------------------------------* - * Main program to test iLBC encoding and decoding - * - * Usage: - * exefile_name.exe - * - * : Input file, speech for encoder (16-bit pcm file) - * : Bit stream output from the encoder - * : Output file, decoded speech (16-bit pcm file) - * : Bit error file, optional (16-bit) - * 1 - Packet received correctly - * 0 - Packet Lost - * - *--------------------------------------------------------------*/ - - int main(int argc, char* argv[]) - { - - /* Runtime statistics */ - - float starttime; - float runtime; - float outtime; - - FILE *ifileid,*efileid,*ofileid, *cfileid; - short data[BLOCKL_MAX]; - short encoded_data[ILBCNOOFWORDS_MAX], decoded_data[BLOCKL_MAX]; - int len; - short pli, mode; - int blockcount = 0; - int packetlosscount = 0; - - /* Create structs */ - iLBC_Enc_Inst_t Enc_Inst; - iLBC_Dec_Inst_t Dec_Inst; - - - - - - /* get arguments and open files */ - - if ((argc!=5) && (argc!=6)) { - fprintf(stderr, - "\n*-----------------------------------------------*\n"); - fprintf(stderr, - " %s <20,30> input encoded decoded (channel)\n\n", - argv[0]); - fprintf(stderr, - " mode : Frame size for the encoding/decoding\n"); - fprintf(stderr, - " 20 - 20 ms\n"); - fprintf(stderr, - " 30 - 30 ms\n"); - fprintf(stderr, - " input : Speech for encoder (16-bit pcm file)\n"); - fprintf(stderr, - " encoded : Encoded bit stream\n"); - fprintf(stderr, - " decoded : Decoded speech (16-bit pcm file)\n"); - fprintf(stderr, - " channel : Packet loss pattern, optional (16-bit)\n"); - fprintf(stderr, - " 1 - Packet received correctly\n"); - fprintf(stderr, - " 0 - Packet Lost\n"); - fprintf(stderr, - "*-----------------------------------------------*\n\n"); - exit(1); - } - mode=atoi(argv[1]); - if (mode != 20 && mode != 30) { - fprintf(stderr,"Wrong mode %s, must be 20, or 30\n", - argv[1]); - exit(2); - } - if ( (ifileid=fopen(argv[2],"rb")) == NULL) { - fprintf(stderr,"Cannot open input file %s\n", argv[2]); - exit(2);} - if ( (efileid=fopen(argv[3],"wb")) == NULL) { - fprintf(stderr, "Cannot open encoded file %s\n", - argv[3]); exit(1);} - if ( (ofileid=fopen(argv[4],"wb")) == NULL) { - fprintf(stderr, "Cannot open decoded file %s\n", - argv[4]); exit(1);} - if (argc==6) { - if( (cfileid=fopen(argv[5],"rb")) == NULL) { - fprintf(stderr, "Cannot open channel file %s\n", - - - - - - argv[5]); - exit(1); - } - } else { - cfileid=NULL; - } - - /* print info */ - - fprintf(stderr, "\n"); - fprintf(stderr, - "*---------------------------------------------------*\n"); - fprintf(stderr, - "* *\n"); - fprintf(stderr, - "* iLBC test program *\n"); - fprintf(stderr, - "* *\n"); - fprintf(stderr, - "* *\n"); - fprintf(stderr, - "*---------------------------------------------------*\n"); - fprintf(stderr,"\nMode : %2d ms\n", mode); - fprintf(stderr,"Input file : %s\n", argv[2]); - fprintf(stderr,"Encoded file : %s\n", argv[3]); - fprintf(stderr,"Output file : %s\n", argv[4]); - if (argc==6) { - fprintf(stderr,"Channel file : %s\n", argv[5]); - } - fprintf(stderr,"\n"); - - /* Initialization */ - - initEncode(&Enc_Inst, mode); - initDecode(&Dec_Inst, mode, 1); - - /* Runtime statistics */ - - starttime=clock()/(float)CLOCKS_PER_SEC; - - /* loop over input blocks */ - - while (fread(data,sizeof(short),Enc_Inst.blockl,ifileid)== - (size_t)Enc_Inst.blockl) { - - blockcount++; - - /* encoding */ - - - - - - fprintf(stderr, "--- Encoding block %i --- ",blockcount); - len=encode(&Enc_Inst, encoded_data, data); - fprintf(stderr, "\r"); - - /* write byte file */ - - fwrite(encoded_data, sizeof(unsigned char), len, efileid); - - /* get channel data if provided */ - if (argc==6) { - if (fread(&pli, sizeof(short), 1, cfileid)) { - if ((pli!=0)&&(pli!=1)) { - fprintf(stderr, "Error in channel file\n"); - exit(0); - } - if (pli==0) { - /* Packet loss -> remove info from frame */ - memset(encoded_data, 0, - sizeof(short)*ILBCNOOFWORDS_MAX); - packetlosscount++; - } - } else { - fprintf(stderr, "Error. Channel file too short\n"); - exit(0); - } - } else { - pli=1; - } - - /* decoding */ - - fprintf(stderr, "--- Decoding block %i --- ",blockcount); - - len=decode(&Dec_Inst, decoded_data, encoded_data, pli); - fprintf(stderr, "\r"); - - /* write output file */ - - fwrite(decoded_data,sizeof(short),len,ofileid); - } - - /* Runtime statistics */ - - runtime = (float)(clock()/(float)CLOCKS_PER_SEC-starttime); - outtime = (float)((float)blockcount*(float)mode/1000.0); - printf("\n\nLength of speech file: %.1f s\n", outtime); - printf("Packet loss : %.1f%%\n", - 100.0*(float)packetlosscount/(float)blockcount); - - - - - - printf("Time to run iLBC :"); - printf(" %.1f s (%.1f %% of realtime)\n\n", runtime, - (100*runtime/outtime)); - - /* close files */ - - fclose(ifileid); fclose(efileid); fclose(ofileid); - if (argc==6) { - fclose(cfileid); - } - return(0); - } - diff --git a/res/pjproject/third_party/ilbc/lsf.c b/res/pjproject/third_party/ilbc/lsf.c deleted file mode 100644 index b4fe0eda3d..0000000000 --- a/res/pjproject/third_party/ilbc/lsf.c +++ /dev/null @@ -1,283 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - lsf.c - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - ******************************************************************/ - - #include - - - - - - #include - - #include "iLBC_define.h" - - /*----------------------------------------------------------------* - * conversion from lpc coefficients to lsf coefficients - *---------------------------------------------------------------*/ - - void a2lsf( - float *freq,/* (o) lsf coefficients */ - float *a /* (i) lpc coefficients */ - ){ - float steps[LSF_NUMBER_OF_STEPS] = - {(float)0.00635, (float)0.003175, (float)0.0015875, - (float)0.00079375}; - float step; - int step_idx; - int lsp_index; - float p[LPC_HALFORDER]; - float q[LPC_HALFORDER]; - float p_pre[LPC_HALFORDER]; - float q_pre[LPC_HALFORDER]; - float old_p, old_q, *old; - float *pq_coef; - float omega, old_omega; - int i; - float hlp, hlp1, hlp2, hlp3, hlp4, hlp5; - - for (i=0; i= 0.5)){ - - if (step_idx == (LSF_NUMBER_OF_STEPS - 1)){ - - if (fabs(hlp5) >= fabs(*old)) { - freq[lsp_index] = omega - step; - } else { - freq[lsp_index] = omega; - } - - - - - - - - if ((*old) >= 0.0){ - *old = (float)-1.0 * FLOAT_MAX; - } else { - *old = FLOAT_MAX; - } - - omega = old_omega; - step_idx = 0; - - step_idx = LSF_NUMBER_OF_STEPS; - } else { - - if (step_idx == 0) { - old_omega = omega; - } - - step_idx++; - omega -= steps[step_idx]; - - /* Go back one grid step */ - - step = steps[step_idx]; - } - } else { - - /* increment omega until they are of different sign, - and we know there is at least one root between omega - and old_omega */ - *old = hlp5; - omega += step; - } - } - } - - for (i = 0; i= 0.5)){ - - - if (freq[0] <= 0.0) { - freq[0] = (float)0.022; - } - - - if (freq[LPC_FILTERORDER - 1] >= 0.5) { - freq[LPC_FILTERORDER - 1] = (float)0.499; - } - - hlp = (freq[LPC_FILTERORDER - 1] - freq[0]) / - (float) (LPC_FILTERORDER - 1); - - for (i=1; i - #include - - #include "iLBC_define.h" - #include "constants.h" - #include "helpfun.h" - #include "string.h" - - /*----------------------------------------------------------------* - * splitting an integer into first most significant bits and - * remaining least significant bits - *---------------------------------------------------------------*/ - - void packsplit( - int *index, /* (i) the value to split */ - int *firstpart, /* (o) the value specified by most - significant bits */ - int *rest, /* (o) the value specified by least - significant bits */ - - - - - - int bitno_firstpart, /* (i) number of bits in most - significant part */ - int bitno_total /* (i) number of bits in full range - of value */ - ){ - int bitno_rest = bitno_total-bitno_firstpart; - - *firstpart = *index>>(bitno_rest); - *rest = *index-(*firstpart<<(bitno_rest)); - } - - /*----------------------------------------------------------------* - * combining a value corresponding to msb's with a value - * corresponding to lsb's - *---------------------------------------------------------------*/ - - void packcombine( - int *index, /* (i/o) the msb value in the - combined value out */ - int rest, /* (i) the lsb value */ - int bitno_rest /* (i) the number of bits in the - lsb part */ - ){ - *index = *index<0) { - - /* Jump to the next byte if end of this byte is reached*/ - - if (*pos==8) { - *pos=0; - (*bitstream)++; - **bitstream=0; - } - - posLeft=8-(*pos); - - /* Insert index into the bitstream */ - - if (bitno <= posLeft) { - **bitstream |= (unsigned char)(index<<(posLeft-bitno)); - *pos+=bitno; - bitno=0; - } else { - **bitstream |= (unsigned char)(index>>(bitno-posLeft)); - - *pos=8; - index-=((index>>(bitno-posLeft))<<(bitno-posLeft)); - - bitno-=posLeft; - } - } - } - - /*----------------------------------------------------------------* - * unpacking of bits from bitstream, i.e., vector of bytes - *---------------------------------------------------------------*/ - - void unpack( - unsigned char **bitstream, /* (i/o) on entrance pointer to - place in bitstream to - unpack new data from, on - exit pointer to place in - bitstream to unpack future - data from */ - int *index, /* (o) resulting value */ - int bitno, /* (i) number of bits used to - represent the value */ - int *pos /* (i/o) read position in the - current byte */ - - - - - - ){ - int BitsLeft; - - *index=0; - - while (bitno>0) { - - /* move forward in bitstream when the end of the - byte is reached */ - - if (*pos==8) { - *pos=0; - (*bitstream)++; - } - - BitsLeft=8-(*pos); - - /* Extract bits to index */ - - if (BitsLeft>=bitno) { - *index+=((((**bitstream)<<(*pos)) & 0xFF)>>(8-bitno)); - - *pos+=bitno; - bitno=0; - } else { - - if ((8-bitno)>0) { - *index+=((((**bitstream)<<(*pos)) & 0xFF)>> - (8-bitno)); - *pos=8; - } else { - *index+=(((int)(((**bitstream)<<(*pos)) & 0xFF))<< - (bitno-8)); - *pos=8; - } - bitno-=BitsLeft; - } - } - } - diff --git a/res/pjproject/third_party/ilbc/packing.h b/res/pjproject/third_party/ilbc/packing.h deleted file mode 100644 index cbb9f82dfd..0000000000 --- a/res/pjproject/third_party/ilbc/packing.h +++ /dev/null @@ -1,68 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - packing.h - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - ******************************************************************/ - - #ifndef __PACKING_H - #define __PACKING_H - - void packsplit( - int *index, /* (i) the value to split */ - int *firstpart, /* (o) the value specified by most - significant bits */ - int *rest, /* (o) the value specified by least - significant bits */ - int bitno_firstpart, /* (i) number of bits in most - significant part */ - int bitno_total /* (i) number of bits in full range - of value */ - ); - - void packcombine( - int *index, /* (i/o) the msb value in the - combined value out */ - int rest, /* (i) the lsb value */ - int bitno_rest /* (i) the number of bits in the - lsb part */ - ); - - void dopack( - unsigned char **bitstream, /* (i/o) on entrance pointer to - place in bitstream to pack - new data, on exit pointer - to place in bitstream to - pack future data */ - int index, /* (i) the value to pack */ - int bitno, /* (i) the number of bits that the - value will fit within */ - int *pos /* (i/o) write position in the - current byte */ - ); - - - - - - void unpack( - unsigned char **bitstream, /* (i/o) on entrance pointer to - place in bitstream to - unpack new data from, on - exit pointer to place in - bitstream to unpack future - data from */ - int *index, /* (o) resulting value */ - int bitno, /* (i) number of bits used to - represent the value */ - int *pos /* (i/o) read position in the - current byte */ - ); - - #endif - diff --git a/res/pjproject/third_party/ilbc/syntFilter.c b/res/pjproject/third_party/ilbc/syntFilter.c deleted file mode 100644 index 190eb009db..0000000000 --- a/res/pjproject/third_party/ilbc/syntFilter.c +++ /dev/null @@ -1,80 +0,0 @@ - - /****************************************************************** - - iLBC Speech Coder ANSI-C Source Code - - syntFilter.c - - Copyright (C) The Internet Society (2004). - All Rights Reserved. - - ******************************************************************/ - - #include "iLBC_define.h" - - /*----------------------------------------------------------------* - * LP synthesis filter. - *---------------------------------------------------------------*/ - - void syntFilter( - float *Out, /* (i/o) Signal to be filtered */ - float *a, /* (i) LP parameters */ - int len, /* (i) Length of signal */ - - - - - - float *mem /* (i/o) Filter state */ - ){ - int i, j; - float *po, *pi, *pa, *pm; - - po=Out; - - /* Filter first part using memory from past */ - - for (i=0; i 9th October 2000. - * It uses a number of large (4k) lookup tables to implement the - * algorithm in an efficient manner. - * - * Note: in this implementation the State is stored in four 32-bit - * words, one per column of the State, with the top byte of the - * column being the _least_ significant byte of the word. - * -*-----------------------------------------------------------------*/ - -#include - -#if defined(PJ_IS_LITTLE_ENDIAN) && PJ_IS_LITTLE_ENDIAN != 0 -# define LITTLE_ENDIAN /* For INTEL architecture */ -#endif - -typedef unsigned char u8; -typedef unsigned int u32; - -/* Circular byte rotates of 32 bit values */ - -#define rot1(x) ((x << 8) | (x >> 24)) -#define rot2(x) ((x << 16) | (x >> 16)) -#define rot3(x) ((x << 24) | (x >> 8)) - -/* Extract a byte from a 32-bit u32 */ - -#define byte0(x) ((u8)(x)) -#define byte1(x) ((u8)(x >> 8)) -#define byte2(x) ((u8)(x >> 16)) -#define byte3(x) ((u8)(x >> 24)) - - -/* Put or get a 32 bit u32 (v) in machine order from a byte * - * address in (x) */ - -#ifdef LITTLE_ENDIAN - -#define u32_in(x) (*(u32*)(x)) -#define u32_out(x,y) (*(u32*)(x) = y) - -#else - -/* Invert byte order in a 32 bit variable */ - -__inline u32 byte_swap(const u32 x) -{ - return rot1(x) & 0x00ff00ff | rot3(x) & 0xff00ff00; -} -__inline u32 u32_in(const u8 x[]) -{ - return byte_swap(*(u32*)x); -}; -__inline void u32_out(u8 x[], const u32 v) -{ - *(u32*)x = byte_swap(v); -}; - -#endif - -/*--------------- The lookup tables ----------------------------*/ - -static u32 rnd_con[10] = -{ - 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1B, 0x36 -}; - -static u32 ft_tab[4][256] = -{ - { - 0xA56363C6,0x847C7CF8,0x997777EE,0x8D7B7BF6,0x0DF2F2FF,0xBD6B6BD6,0xB16F6FDE,0x54C5C591, - 0x50303060,0x03010102,0xA96767CE,0x7D2B2B56,0x19FEFEE7,0x62D7D7B5,0xE6ABAB4D,0x9A7676EC, - 0x45CACA8F,0x9D82821F,0x40C9C989,0x877D7DFA,0x15FAFAEF,0xEB5959B2,0xC947478E,0x0BF0F0FB, - 0xECADAD41,0x67D4D4B3,0xFDA2A25F,0xEAAFAF45,0xBF9C9C23,0xF7A4A453,0x967272E4,0x5BC0C09B, - 0xC2B7B775,0x1CFDFDE1,0xAE93933D,0x6A26264C,0x5A36366C,0x413F3F7E,0x02F7F7F5,0x4FCCCC83, - 0x5C343468,0xF4A5A551,0x34E5E5D1,0x08F1F1F9,0x937171E2,0x73D8D8AB,0x53313162,0x3F15152A, - 0x0C040408,0x52C7C795,0x65232346,0x5EC3C39D,0x28181830,0xA1969637,0x0F05050A,0xB59A9A2F, - 0x0907070E,0x36121224,0x9B80801B,0x3DE2E2DF,0x26EBEBCD,0x6927274E,0xCDB2B27F,0x9F7575EA, - 0x1B090912,0x9E83831D,0x742C2C58,0x2E1A1A34,0x2D1B1B36,0xB26E6EDC,0xEE5A5AB4,0xFBA0A05B, - 0xF65252A4,0x4D3B3B76,0x61D6D6B7,0xCEB3B37D,0x7B292952,0x3EE3E3DD,0x712F2F5E,0x97848413, - 0xF55353A6,0x68D1D1B9,0000000000,0x2CEDEDC1,0x60202040,0x1FFCFCE3,0xC8B1B179,0xED5B5BB6, - 0xBE6A6AD4,0x46CBCB8D,0xD9BEBE67,0x4B393972,0xDE4A4A94,0xD44C4C98,0xE85858B0,0x4ACFCF85, - 0x6BD0D0BB,0x2AEFEFC5,0xE5AAAA4F,0x16FBFBED,0xC5434386,0xD74D4D9A,0x55333366,0x94858511, - 0xCF45458A,0x10F9F9E9,0x06020204,0x817F7FFE,0xF05050A0,0x443C3C78,0xBA9F9F25,0xE3A8A84B, - 0xF35151A2,0xFEA3A35D,0xC0404080,0x8A8F8F05,0xAD92923F,0xBC9D9D21,0x48383870,0x04F5F5F1, - 0xDFBCBC63,0xC1B6B677,0x75DADAAF,0x63212142,0x30101020,0x1AFFFFE5,0x0EF3F3FD,0x6DD2D2BF, - 0x4CCDCD81,0x140C0C18,0x35131326,0x2FECECC3,0xE15F5FBE,0xA2979735,0xCC444488,0x3917172E, - 0x57C4C493,0xF2A7A755,0x827E7EFC,0x473D3D7A,0xAC6464C8,0xE75D5DBA,0x2B191932,0x957373E6, - 0xA06060C0,0x98818119,0xD14F4F9E,0x7FDCDCA3,0x66222244,0x7E2A2A54,0xAB90903B,0x8388880B, - 0xCA46468C,0x29EEEEC7,0xD3B8B86B,0x3C141428,0x79DEDEA7,0xE25E5EBC,0x1D0B0B16,0x76DBDBAD, - 0x3BE0E0DB,0x56323264,0x4E3A3A74,0x1E0A0A14,0xDB494992,0x0A06060C,0x6C242448,0xE45C5CB8, - 0x5DC2C29F,0x6ED3D3BD,0xEFACAC43,0xA66262C4,0xA8919139,0xA4959531,0x37E4E4D3,0x8B7979F2, - 0x32E7E7D5,0x43C8C88B,0x5937376E,0xB76D6DDA,0x8C8D8D01,0x64D5D5B1,0xD24E4E9C,0xE0A9A949, - 0xB46C6CD8,0xFA5656AC,0x07F4F4F3,0x25EAEACF,0xAF6565CA,0x8E7A7AF4,0xE9AEAE47,0x18080810, - 0xD5BABA6F,0x887878F0,0x6F25254A,0x722E2E5C,0x241C1C38,0xF1A6A657,0xC7B4B473,0x51C6C697, - 0x23E8E8CB,0x7CDDDDA1,0x9C7474E8,0x211F1F3E,0xDD4B4B96,0xDCBDBD61,0x868B8B0D,0x858A8A0F, - 0x907070E0,0x423E3E7C,0xC4B5B571,0xAA6666CC,0xD8484890,0x05030306,0x01F6F6F7,0x120E0E1C, - 0xA36161C2,0x5F35356A,0xF95757AE,0xD0B9B969,0x91868617,0x58C1C199,0x271D1D3A,0xB99E9E27, - 0x38E1E1D9,0x13F8F8EB,0xB398982B,0x33111122,0xBB6969D2,0x70D9D9A9,0x898E8E07,0xA7949433, - 0xB69B9B2D,0x221E1E3C,0x92878715,0x20E9E9C9,0x49CECE87,0xFF5555AA,0x78282850,0x7ADFDFA5, - 0x8F8C8C03,0xF8A1A159,0x80898909,0x170D0D1A,0xDABFBF65,0x31E6E6D7,0xC6424284,0xB86868D0, - 0xC3414182,0xB0999929,0x772D2D5A,0x110F0F1E,0xCBB0B07B,0xFC5454A8,0xD6BBBB6D,0x3A16162C - }, - { - 0x6363C6A5,0x7C7CF884,0x7777EE99,0x7B7BF68D,0xF2F2FF0D,0x6B6BD6BD,0x6F6FDEB1,0xC5C59154, - 0x30306050,0x01010203,0x6767CEA9,0x2B2B567D,0xFEFEE719,0xD7D7B562,0xABAB4DE6,0x7676EC9A, - 0xCACA8F45,0x82821F9D,0xC9C98940,0x7D7DFA87,0xFAFAEF15,0x5959B2EB,0x47478EC9,0xF0F0FB0B, - 0xADAD41EC,0xD4D4B367,0xA2A25FFD,0xAFAF45EA,0x9C9C23BF,0xA4A453F7,0x7272E496,0xC0C09B5B, - 0xB7B775C2,0xFDFDE11C,0x93933DAE,0x26264C6A,0x36366C5A,0x3F3F7E41,0xF7F7F502,0xCCCC834F, - 0x3434685C,0xA5A551F4,0xE5E5D134,0xF1F1F908,0x7171E293,0xD8D8AB73,0x31316253,0x15152A3F, - 0x0404080C,0xC7C79552,0x23234665,0xC3C39D5E,0x18183028,0x969637A1,0x05050A0F,0x9A9A2FB5, - 0x07070E09,0x12122436,0x80801B9B,0xE2E2DF3D,0xEBEBCD26,0x27274E69,0xB2B27FCD,0x7575EA9F, - 0x0909121B,0x83831D9E,0x2C2C5874,0x1A1A342E,0x1B1B362D,0x6E6EDCB2,0x5A5AB4EE,0xA0A05BFB, - 0x5252A4F6,0x3B3B764D,0xD6D6B761,0xB3B37DCE,0x2929527B,0xE3E3DD3E,0x2F2F5E71,0x84841397, - 0x5353A6F5,0xD1D1B968,0000000000,0xEDEDC12C,0x20204060,0xFCFCE31F,0xB1B179C8,0x5B5BB6ED, - 0x6A6AD4BE,0xCBCB8D46,0xBEBE67D9,0x3939724B,0x4A4A94DE,0x4C4C98D4,0x5858B0E8,0xCFCF854A, - 0xD0D0BB6B,0xEFEFC52A,0xAAAA4FE5,0xFBFBED16,0x434386C5,0x4D4D9AD7,0x33336655,0x85851194, - 0x45458ACF,0xF9F9E910,0x02020406,0x7F7FFE81,0x5050A0F0,0x3C3C7844,0x9F9F25BA,0xA8A84BE3, - 0x5151A2F3,0xA3A35DFE,0x404080C0,0x8F8F058A,0x92923FAD,0x9D9D21BC,0x38387048,0xF5F5F104, - 0xBCBC63DF,0xB6B677C1,0xDADAAF75,0x21214263,0x10102030,0xFFFFE51A,0xF3F3FD0E,0xD2D2BF6D, - 0xCDCD814C,0x0C0C1814,0x13132635,0xECECC32F,0x5F5FBEE1,0x979735A2,0x444488CC,0x17172E39, - 0xC4C49357,0xA7A755F2,0x7E7EFC82,0x3D3D7A47,0x6464C8AC,0x5D5DBAE7,0x1919322B,0x7373E695, - 0x6060C0A0,0x81811998,0x4F4F9ED1,0xDCDCA37F,0x22224466,0x2A2A547E,0x90903BAB,0x88880B83, - 0x46468CCA,0xEEEEC729,0xB8B86BD3,0x1414283C,0xDEDEA779,0x5E5EBCE2,0x0B0B161D,0xDBDBAD76, - 0xE0E0DB3B,0x32326456,0x3A3A744E,0x0A0A141E,0x494992DB,0x06060C0A,0x2424486C,0x5C5CB8E4, - 0xC2C29F5D,0xD3D3BD6E,0xACAC43EF,0x6262C4A6,0x919139A8,0x959531A4,0xE4E4D337,0x7979F28B, - 0xE7E7D532,0xC8C88B43,0x37376E59,0x6D6DDAB7,0x8D8D018C,0xD5D5B164,0x4E4E9CD2,0xA9A949E0, - 0x6C6CD8B4,0x5656ACFA,0xF4F4F307,0xEAEACF25,0x6565CAAF,0x7A7AF48E,0xAEAE47E9,0x08081018, - 0xBABA6FD5,0x7878F088,0x25254A6F,0x2E2E5C72,0x1C1C3824,0xA6A657F1,0xB4B473C7,0xC6C69751, - 0xE8E8CB23,0xDDDDA17C,0x7474E89C,0x1F1F3E21,0x4B4B96DD,0xBDBD61DC,0x8B8B0D86,0x8A8A0F85, - 0x7070E090,0x3E3E7C42,0xB5B571C4,0x6666CCAA,0x484890D8,0x03030605,0xF6F6F701,0x0E0E1C12, - 0x6161C2A3,0x35356A5F,0x5757AEF9,0xB9B969D0,0x86861791,0xC1C19958,0x1D1D3A27,0x9E9E27B9, - 0xE1E1D938,0xF8F8EB13,0x98982BB3,0x11112233,0x6969D2BB,0xD9D9A970,0x8E8E0789,0x949433A7, - 0x9B9B2DB6,0x1E1E3C22,0x87871592,0xE9E9C920,0xCECE8749,0x5555AAFF,0x28285078,0xDFDFA57A, - 0x8C8C038F,0xA1A159F8,0x89890980,0x0D0D1A17,0xBFBF65DA,0xE6E6D731,0x424284C6,0x6868D0B8, - 0x414182C3,0x999929B0,0x2D2D5A77,0x0F0F1E11,0xB0B07BCB,0x5454A8FC,0xBBBB6DD6,0x16162C3A - }, - { - 0x63C6A563,0x7CF8847C,0x77EE9977,0x7BF68D7B,0xF2FF0DF2,0x6BD6BD6B,0x6FDEB16F,0xC59154C5, - 0x30605030,0x01020301,0x67CEA967,0x2B567D2B,0xFEE719FE,0xD7B562D7,0xAB4DE6AB,0x76EC9A76, - 0xCA8F45CA,0x821F9D82,0xC98940C9,0x7DFA877D,0xFAEF15FA,0x59B2EB59,0x478EC947,0xF0FB0BF0, - 0xAD41ECAD,0xD4B367D4,0xA25FFDA2,0xAF45EAAF,0x9C23BF9C,0xA453F7A4,0x72E49672,0xC09B5BC0, - 0xB775C2B7,0xFDE11CFD,0x933DAE93,0x264C6A26,0x366C5A36,0x3F7E413F,0xF7F502F7,0xCC834FCC, - 0x34685C34,0xA551F4A5,0xE5D134E5,0xF1F908F1,0x71E29371,0xD8AB73D8,0x31625331,0x152A3F15, - 0x04080C04,0xC79552C7,0x23466523,0xC39D5EC3,0x18302818,0x9637A196,0x050A0F05,0x9A2FB59A, - 0x070E0907,0x12243612,0x801B9B80,0xE2DF3DE2,0xEBCD26EB,0x274E6927,0xB27FCDB2,0x75EA9F75, - 0x09121B09,0x831D9E83,0x2C58742C,0x1A342E1A,0x1B362D1B,0x6EDCB26E,0x5AB4EE5A,0xA05BFBA0, - 0x52A4F652,0x3B764D3B,0xD6B761D6,0xB37DCEB3,0x29527B29,0xE3DD3EE3,0x2F5E712F,0x84139784, - 0x53A6F553,0xD1B968D1,0000000000,0xEDC12CED,0x20406020,0xFCE31FFC,0xB179C8B1,0x5BB6ED5B, - 0x6AD4BE6A,0xCB8D46CB,0xBE67D9BE,0x39724B39,0x4A94DE4A,0x4C98D44C,0x58B0E858,0xCF854ACF, - 0xD0BB6BD0,0xEFC52AEF,0xAA4FE5AA,0xFBED16FB,0x4386C543,0x4D9AD74D,0x33665533,0x85119485, - 0x458ACF45,0xF9E910F9,0x02040602,0x7FFE817F,0x50A0F050,0x3C78443C,0x9F25BA9F,0xA84BE3A8, - 0x51A2F351,0xA35DFEA3,0x4080C040,0x8F058A8F,0x923FAD92,0x9D21BC9D,0x38704838,0xF5F104F5, - 0xBC63DFBC,0xB677C1B6,0xDAAF75DA,0x21426321,0x10203010,0xFFE51AFF,0xF3FD0EF3,0xD2BF6DD2, - 0xCD814CCD,0x0C18140C,0x13263513,0xECC32FEC,0x5FBEE15F,0x9735A297,0x4488CC44,0x172E3917, - 0xC49357C4,0xA755F2A7,0x7EFC827E,0x3D7A473D,0x64C8AC64,0x5DBAE75D,0x19322B19,0x73E69573, - 0x60C0A060,0x81199881,0x4F9ED14F,0xDCA37FDC,0x22446622,0x2A547E2A,0x903BAB90,0x880B8388, - 0x468CCA46,0xEEC729EE,0xB86BD3B8,0x14283C14,0xDEA779DE,0x5EBCE25E,0x0B161D0B,0xDBAD76DB, - 0xE0DB3BE0,0x32645632,0x3A744E3A,0x0A141E0A,0x4992DB49,0x060C0A06,0x24486C24,0x5CB8E45C, - 0xC29F5DC2,0xD3BD6ED3,0xAC43EFAC,0x62C4A662,0x9139A891,0x9531A495,0xE4D337E4,0x79F28B79, - 0xE7D532E7,0xC88B43C8,0x376E5937,0x6DDAB76D,0x8D018C8D,0xD5B164D5,0x4E9CD24E,0xA949E0A9, - 0x6CD8B46C,0x56ACFA56,0xF4F307F4,0xEACF25EA,0x65CAAF65,0x7AF48E7A,0xAE47E9AE,0x08101808, - 0xBA6FD5BA,0x78F08878,0x254A6F25,0x2E5C722E,0x1C38241C,0xA657F1A6,0xB473C7B4,0xC69751C6, - 0xE8CB23E8,0xDDA17CDD,0x74E89C74,0x1F3E211F,0x4B96DD4B,0xBD61DCBD,0x8B0D868B,0x8A0F858A, - 0x70E09070,0x3E7C423E,0xB571C4B5,0x66CCAA66,0x4890D848,0x03060503,0xF6F701F6,0x0E1C120E, - 0x61C2A361,0x356A5F35,0x57AEF957,0xB969D0B9,0x86179186,0xC19958C1,0x1D3A271D,0x9E27B99E, - 0xE1D938E1,0xF8EB13F8,0x982BB398,0x11223311,0x69D2BB69,0xD9A970D9,0x8E07898E,0x9433A794, - 0x9B2DB69B,0x1E3C221E,0x87159287,0xE9C920E9,0xCE8749CE,0x55AAFF55,0x28507828,0xDFA57ADF, - 0x8C038F8C,0xA159F8A1,0x89098089,0x0D1A170D,0xBF65DABF,0xE6D731E6,0x4284C642,0x68D0B868, - 0x4182C341,0x9929B099,0x2D5A772D,0x0F1E110F,0xB07BCBB0,0x54A8FC54,0xBB6DD6BB,0x162C3A16 - }, - { - 0xC6A56363,0xF8847C7C,0xEE997777,0xF68D7B7B,0xFF0DF2F2,0xD6BD6B6B,0xDEB16F6F,0x9154C5C5, - 0x60503030,0x02030101,0xCEA96767,0x567D2B2B,0xE719FEFE,0xB562D7D7,0x4DE6ABAB,0xEC9A7676, - 0x8F45CACA,0x1F9D8282,0x8940C9C9,0xFA877D7D,0xEF15FAFA,0xB2EB5959,0x8EC94747,0xFB0BF0F0, - 0x41ECADAD,0xB367D4D4,0x5FFDA2A2,0x45EAAFAF,0x23BF9C9C,0x53F7A4A4,0xE4967272,0x9B5BC0C0, - 0x75C2B7B7,0xE11CFDFD,0x3DAE9393,0x4C6A2626,0x6C5A3636,0x7E413F3F,0xF502F7F7,0x834FCCCC, - 0x685C3434,0x51F4A5A5,0xD134E5E5,0xF908F1F1,0xE2937171,0xAB73D8D8,0x62533131,0x2A3F1515, - 0x080C0404,0x9552C7C7,0x46652323,0x9D5EC3C3,0x30281818,0x37A19696,0x0A0F0505,0x2FB59A9A, - 0x0E090707,0x24361212,0x1B9B8080,0xDF3DE2E2,0xCD26EBEB,0x4E692727,0x7FCDB2B2,0xEA9F7575, - 0x121B0909,0x1D9E8383,0x58742C2C,0x342E1A1A,0x362D1B1B,0xDCB26E6E,0xB4EE5A5A,0x5BFBA0A0, - 0xA4F65252,0x764D3B3B,0xB761D6D6,0x7DCEB3B3,0x527B2929,0xDD3EE3E3,0x5E712F2F,0x13978484, - 0xA6F55353,0xB968D1D1,0000000000,0xC12CEDED,0x40602020,0xE31FFCFC,0x79C8B1B1,0xB6ED5B5B, - 0xD4BE6A6A,0x8D46CBCB,0x67D9BEBE,0x724B3939,0x94DE4A4A,0x98D44C4C,0xB0E85858,0x854ACFCF, - 0xBB6BD0D0,0xC52AEFEF,0x4FE5AAAA,0xED16FBFB,0x86C54343,0x9AD74D4D,0x66553333,0x11948585, - 0x8ACF4545,0xE910F9F9,0x04060202,0xFE817F7F,0xA0F05050,0x78443C3C,0x25BA9F9F,0x4BE3A8A8, - 0xA2F35151,0x5DFEA3A3,0x80C04040,0x058A8F8F,0x3FAD9292,0x21BC9D9D,0x70483838,0xF104F5F5, - 0x63DFBCBC,0x77C1B6B6,0xAF75DADA,0x42632121,0x20301010,0xE51AFFFF,0xFD0EF3F3,0xBF6DD2D2, - 0x814CCDCD,0x18140C0C,0x26351313,0xC32FECEC,0xBEE15F5F,0x35A29797,0x88CC4444,0x2E391717, - 0x9357C4C4,0x55F2A7A7,0xFC827E7E,0x7A473D3D,0xC8AC6464,0xBAE75D5D,0x322B1919,0xE6957373, - 0xC0A06060,0x19988181,0x9ED14F4F,0xA37FDCDC,0x44662222,0x547E2A2A,0x3BAB9090,0x0B838888, - 0x8CCA4646,0xC729EEEE,0x6BD3B8B8,0x283C1414,0xA779DEDE,0xBCE25E5E,0x161D0B0B,0xAD76DBDB, - 0xDB3BE0E0,0x64563232,0x744E3A3A,0x141E0A0A,0x92DB4949,0x0C0A0606,0x486C2424,0xB8E45C5C, - 0x9F5DC2C2,0xBD6ED3D3,0x43EFACAC,0xC4A66262,0x39A89191,0x31A49595,0xD337E4E4,0xF28B7979, - 0xD532E7E7,0x8B43C8C8,0x6E593737,0xDAB76D6D,0x018C8D8D,0xB164D5D5,0x9CD24E4E,0x49E0A9A9, - 0xD8B46C6C,0xACFA5656,0xF307F4F4,0xCF25EAEA,0xCAAF6565,0xF48E7A7A,0x47E9AEAE,0x10180808, - 0x6FD5BABA,0xF0887878,0x4A6F2525,0x5C722E2E,0x38241C1C,0x57F1A6A6,0x73C7B4B4,0x9751C6C6, - 0xCB23E8E8,0xA17CDDDD,0xE89C7474,0x3E211F1F,0x96DD4B4B,0x61DCBDBD,0x0D868B8B,0x0F858A8A, - 0xE0907070,0x7C423E3E,0x71C4B5B5,0xCCAA6666,0x90D84848,0x06050303,0xF701F6F6,0x1C120E0E, - 0xC2A36161,0x6A5F3535,0xAEF95757,0x69D0B9B9,0x17918686,0x9958C1C1,0x3A271D1D,0x27B99E9E, - 0xD938E1E1,0xEB13F8F8,0x2BB39898,0x22331111,0xD2BB6969,0xA970D9D9,0x07898E8E,0x33A79494, - 0x2DB69B9B,0x3C221E1E,0x15928787,0xC920E9E9,0x8749CECE,0xAAFF5555,0x50782828,0xA57ADFDF, - 0x038F8C8C,0x59F8A1A1,0x09808989,0x1A170D0D,0x65DABFBF,0xD731E6E6,0x84C64242,0xD0B86868, - 0x82C34141,0x29B09999,0x5A772D2D,0x1E110F0F,0x7BCBB0B0,0xA8FC5454,0x6DD6BBBB,0x2C3A1616 - } -}; - -static u32 fl_tab[4][256] = -{ - { - 0x00000063,0x0000007C,0x00000077,0x0000007B,0x000000F2,0x0000006B,0x0000006F,0x000000C5, - 0x00000030,0x00000001,0x00000067,0x0000002B,0x000000FE,0x000000D7,0x000000AB,0x00000076, - 0x000000CA,0x00000082,0x000000C9,0x0000007D,0x000000FA,0x00000059,0x00000047,0x000000F0, - 0x000000AD,0x000000D4,0x000000A2,0x000000AF,0x0000009C,0x000000A4,0x00000072,0x000000C0, - 0x000000B7,0x000000FD,0x00000093,0x00000026,0x00000036,0x0000003F,0x000000F7,0x000000CC, - 0x00000034,0x000000A5,0x000000E5,0x000000F1,0x00000071,0x000000D8,0x00000031,0x00000015, - 0x00000004,0x000000C7,0x00000023,0x000000C3,0x00000018,0x00000096,0x00000005,0x0000009A, - 0x00000007,0x00000012,0x00000080,0x000000E2,0x000000EB,0x00000027,0x000000B2,0x00000075, - 0x00000009,0x00000083,0x0000002C,0x0000001A,0x0000001B,0x0000006E,0x0000005A,0x000000A0, - 0x00000052,0x0000003B,0x000000D6,0x000000B3,0x00000029,0x000000E3,0x0000002F,0x00000084, - 0x00000053,0x000000D1,0x00000000,0x000000ED,0x00000020,0x000000FC,0x000000B1,0x0000005B, - 0x0000006A,0x000000CB,0x000000BE,0x00000039,0x0000004A,0x0000004C,0x00000058,0x000000CF, - 0x000000D0,0x000000EF,0x000000AA,0x000000FB,0x00000043,0x0000004D,0x00000033,0x00000085, - 0x00000045,0x000000F9,0x00000002,0x0000007F,0x00000050,0x0000003C,0x0000009F,0x000000A8, - 0x00000051,0x000000A3,0x00000040,0x0000008F,0x00000092,0x0000009D,0x00000038,0x000000F5, - 0x000000BC,0x000000B6,0x000000DA,0x00000021,0x00000010,0x000000FF,0x000000F3,0x000000D2, - 0x000000CD,0x0000000C,0x00000013,0x000000EC,0x0000005F,0x00000097,0x00000044,0x00000017, - 0x000000C4,0x000000A7,0x0000007E,0x0000003D,0x00000064,0x0000005D,0x00000019,0x00000073, - 0x00000060,0x00000081,0x0000004F,0x000000DC,0x00000022,0x0000002A,0x00000090,0x00000088, - 0x00000046,0x000000EE,0x000000B8,0x00000014,0x000000DE,0x0000005E,0x0000000B,0x000000DB, - 0x000000E0,0x00000032,0x0000003A,0x0000000A,0x00000049,0x00000006,0x00000024,0x0000005C, - 0x000000C2,0x000000D3,0x000000AC,0x00000062,0x00000091,0x00000095,0x000000E4,0x00000079, - 0x000000E7,0x000000C8,0x00000037,0x0000006D,0x0000008D,0x000000D5,0x0000004E,0x000000A9, - 0x0000006C,0x00000056,0x000000F4,0x000000EA,0x00000065,0x0000007A,0x000000AE,0x00000008, - 0x000000BA,0x00000078,0x00000025,0x0000002E,0x0000001C,0x000000A6,0x000000B4,0x000000C6, - 0x000000E8,0x000000DD,0x00000074,0x0000001F,0x0000004B,0x000000BD,0x0000008B,0x0000008A, - 0x00000070,0x0000003E,0x000000B5,0x00000066,0x00000048,0x00000003,0x000000F6,0x0000000E, - 0x00000061,0x00000035,0x00000057,0x000000B9,0x00000086,0x000000C1,0x0000001D,0x0000009E, - 0x000000E1,0x000000F8,0x00000098,0x00000011,0x00000069,0x000000D9,0x0000008E,0x00000094, - 0x0000009B,0x0000001E,0x00000087,0x000000E9,0x000000CE,0x00000055,0x00000028,0x000000DF, - 0x0000008C,0x000000A1,0x00000089,0x0000000D,0x000000BF,0x000000E6,0x00000042,0x00000068, - 0x00000041,0x00000099,0x0000002D,0x0000000F,0x000000B0,0x00000054,0x000000BB,0x00000016 - }, - { - 0x00006300,0x00007C00,0x00007700,0x00007B00,0x0000F200,0x00006B00,0x00006F00,0x0000C500, - 0x00003000,0x00000100,0x00006700,0x00002B00,0x0000FE00,0x0000D700,0x0000AB00,0x00007600, - 0x0000CA00,0x00008200,0x0000C900,0x00007D00,0x0000FA00,0x00005900,0x00004700,0x0000F000, - 0x0000AD00,0x0000D400,0x0000A200,0x0000AF00,0x00009C00,0x0000A400,0x00007200,0x0000C000, - 0x0000B700,0x0000FD00,0x00009300,0x00002600,0x00003600,0x00003F00,0x0000F700,0x0000CC00, - 0x00003400,0x0000A500,0x0000E500,0x0000F100,0x00007100,0x0000D800,0x00003100,0x00001500, - 0x00000400,0x0000C700,0x00002300,0x0000C300,0x00001800,0x00009600,0x00000500,0x00009A00, - 0x00000700,0x00001200,0x00008000,0x0000E200,0x0000EB00,0x00002700,0x0000B200,0x00007500, - 0x00000900,0x00008300,0x00002C00,0x00001A00,0x00001B00,0x00006E00,0x00005A00,0x0000A000, - 0x00005200,0x00003B00,0x0000D600,0x0000B300,0x00002900,0x0000E300,0x00002F00,0x00008400, - 0x00005300,0x0000D100,0000000000,0x0000ED00,0x00002000,0x0000FC00,0x0000B100,0x00005B00, - 0x00006A00,0x0000CB00,0x0000BE00,0x00003900,0x00004A00,0x00004C00,0x00005800,0x0000CF00, - 0x0000D000,0x0000EF00,0x0000AA00,0x0000FB00,0x00004300,0x00004D00,0x00003300,0x00008500, - 0x00004500,0x0000F900,0x00000200,0x00007F00,0x00005000,0x00003C00,0x00009F00,0x0000A800, - 0x00005100,0x0000A300,0x00004000,0x00008F00,0x00009200,0x00009D00,0x00003800,0x0000F500, - 0x0000BC00,0x0000B600,0x0000DA00,0x00002100,0x00001000,0x0000FF00,0x0000F300,0x0000D200, - 0x0000CD00,0x00000C00,0x00001300,0x0000EC00,0x00005F00,0x00009700,0x00004400,0x00001700, - 0x0000C400,0x0000A700,0x00007E00,0x00003D00,0x00006400,0x00005D00,0x00001900,0x00007300, - 0x00006000,0x00008100,0x00004F00,0x0000DC00,0x00002200,0x00002A00,0x00009000,0x00008800, - 0x00004600,0x0000EE00,0x0000B800,0x00001400,0x0000DE00,0x00005E00,0x00000B00,0x0000DB00, - 0x0000E000,0x00003200,0x00003A00,0x00000A00,0x00004900,0x00000600,0x00002400,0x00005C00, - 0x0000C200,0x0000D300,0x0000AC00,0x00006200,0x00009100,0x00009500,0x0000E400,0x00007900, - 0x0000E700,0x0000C800,0x00003700,0x00006D00,0x00008D00,0x0000D500,0x00004E00,0x0000A900, - 0x00006C00,0x00005600,0x0000F400,0x0000EA00,0x00006500,0x00007A00,0x0000AE00,0x00000800, - 0x0000BA00,0x00007800,0x00002500,0x00002E00,0x00001C00,0x0000A600,0x0000B400,0x0000C600, - 0x0000E800,0x0000DD00,0x00007400,0x00001F00,0x00004B00,0x0000BD00,0x00008B00,0x00008A00, - 0x00007000,0x00003E00,0x0000B500,0x00006600,0x00004800,0x00000300,0x0000F600,0x00000E00, - 0x00006100,0x00003500,0x00005700,0x0000B900,0x00008600,0x0000C100,0x00001D00,0x00009E00, - 0x0000E100,0x0000F800,0x00009800,0x00001100,0x00006900,0x0000D900,0x00008E00,0x00009400, - 0x00009B00,0x00001E00,0x00008700,0x0000E900,0x0000CE00,0x00005500,0x00002800,0x0000DF00, - 0x00008C00,0x0000A100,0x00008900,0x00000D00,0x0000BF00,0x0000E600,0x00004200,0x00006800, - 0x00004100,0x00009900,0x00002D00,0x00000F00,0x0000B000,0x00005400,0x0000BB00,0x00001600 - }, - { - 0x00630000,0x007C0000,0x00770000,0x007B0000,0x00F20000,0x006B0000,0x006F0000,0x00C50000, - 0x00300000,0x00010000,0x00670000,0x002B0000,0x00FE0000,0x00D70000,0x00AB0000,0x00760000, - 0x00CA0000,0x00820000,0x00C90000,0x007D0000,0x00FA0000,0x00590000,0x00470000,0x00F00000, - 0x00AD0000,0x00D40000,0x00A20000,0x00AF0000,0x009C0000,0x00A40000,0x00720000,0x00C00000, - 0x00B70000,0x00FD0000,0x00930000,0x00260000,0x00360000,0x003F0000,0x00F70000,0x00CC0000, - 0x00340000,0x00A50000,0x00E50000,0x00F10000,0x00710000,0x00D80000,0x00310000,0x00150000, - 0x00040000,0x00C70000,0x00230000,0x00C30000,0x00180000,0x00960000,0x00050000,0x009A0000, - 0x00070000,0x00120000,0x00800000,0x00E20000,0x00EB0000,0x00270000,0x00B20000,0x00750000, - 0x00090000,0x00830000,0x002C0000,0x001A0000,0x001B0000,0x006E0000,0x005A0000,0x00A00000, - 0x00520000,0x003B0000,0x00D60000,0x00B30000,0x00290000,0x00E30000,0x002F0000,0x00840000, - 0x00530000,0x00D10000,0000000000,0x00ED0000,0x00200000,0x00FC0000,0x00B10000,0x005B0000, - 0x006A0000,0x00CB0000,0x00BE0000,0x00390000,0x004A0000,0x004C0000,0x00580000,0x00CF0000, - 0x00D00000,0x00EF0000,0x00AA0000,0x00FB0000,0x00430000,0x004D0000,0x00330000,0x00850000, - 0x00450000,0x00F90000,0x00020000,0x007F0000,0x00500000,0x003C0000,0x009F0000,0x00A80000, - 0x00510000,0x00A30000,0x00400000,0x008F0000,0x00920000,0x009D0000,0x00380000,0x00F50000, - 0x00BC0000,0x00B60000,0x00DA0000,0x00210000,0x00100000,0x00FF0000,0x00F30000,0x00D20000, - 0x00CD0000,0x000C0000,0x00130000,0x00EC0000,0x005F0000,0x00970000,0x00440000,0x00170000, - 0x00C40000,0x00A70000,0x007E0000,0x003D0000,0x00640000,0x005D0000,0x00190000,0x00730000, - 0x00600000,0x00810000,0x004F0000,0x00DC0000,0x00220000,0x002A0000,0x00900000,0x00880000, - 0x00460000,0x00EE0000,0x00B80000,0x00140000,0x00DE0000,0x005E0000,0x000B0000,0x00DB0000, - 0x00E00000,0x00320000,0x003A0000,0x000A0000,0x00490000,0x00060000,0x00240000,0x005C0000, - 0x00C20000,0x00D30000,0x00AC0000,0x00620000,0x00910000,0x00950000,0x00E40000,0x00790000, - 0x00E70000,0x00C80000,0x00370000,0x006D0000,0x008D0000,0x00D50000,0x004E0000,0x00A90000, - 0x006C0000,0x00560000,0x00F40000,0x00EA0000,0x00650000,0x007A0000,0x00AE0000,0x00080000, - 0x00BA0000,0x00780000,0x00250000,0x002E0000,0x001C0000,0x00A60000,0x00B40000,0x00C60000, - 0x00E80000,0x00DD0000,0x00740000,0x001F0000,0x004B0000,0x00BD0000,0x008B0000,0x008A0000, - 0x00700000,0x003E0000,0x00B50000,0x00660000,0x00480000,0x00030000,0x00F60000,0x000E0000, - 0x00610000,0x00350000,0x00570000,0x00B90000,0x00860000,0x00C10000,0x001D0000,0x009E0000, - 0x00E10000,0x00F80000,0x00980000,0x00110000,0x00690000,0x00D90000,0x008E0000,0x00940000, - 0x009B0000,0x001E0000,0x00870000,0x00E90000,0x00CE0000,0x00550000,0x00280000,0x00DF0000, - 0x008C0000,0x00A10000,0x00890000,0x000D0000,0x00BF0000,0x00E60000,0x00420000,0x00680000, - 0x00410000,0x00990000,0x002D0000,0x000F0000,0x00B00000,0x00540000,0x00BB0000,0x00160000 - }, - { - 0x63000000,0x7C000000,0x77000000,0x7B000000,0xF2000000,0x6B000000,0x6F000000,0xC5000000, - 0x30000000,0x01000000,0x67000000,0x2B000000,0xFE000000,0xD7000000,0xAB000000,0x76000000, - 0xCA000000,0x82000000,0xC9000000,0x7D000000,0xFA000000,0x59000000,0x47000000,0xF0000000, - 0xAD000000,0xD4000000,0xA2000000,0xAF000000,0x9C000000,0xA4000000,0x72000000,0xC0000000, - 0xB7000000,0xFD000000,0x93000000,0x26000000,0x36000000,0x3F000000,0xF7000000,0xCC000000, - 0x34000000,0xA5000000,0xE5000000,0xF1000000,0x71000000,0xD8000000,0x31000000,0x15000000, - 0x04000000,0xC7000000,0x23000000,0xC3000000,0x18000000,0x96000000,0x05000000,0x9A000000, - 0x07000000,0x12000000,0x80000000,0xE2000000,0xEB000000,0x27000000,0xB2000000,0x75000000, - 0x09000000,0x83000000,0x2C000000,0x1A000000,0x1B000000,0x6E000000,0x5A000000,0xA0000000, - 0x52000000,0x3B000000,0xD6000000,0xB3000000,0x29000000,0xE3000000,0x2F000000,0x84000000, - 0x53000000,0xD1000000,0000000000,0xED000000,0x20000000,0xFC000000,0xB1000000,0x5B000000, - 0x6A000000,0xCB000000,0xBE000000,0x39000000,0x4A000000,0x4C000000,0x58000000,0xCF000000, - 0xD0000000,0xEF000000,0xAA000000,0xFB000000,0x43000000,0x4D000000,0x33000000,0x85000000, - 0x45000000,0xF9000000,0x02000000,0x7F000000,0x50000000,0x3C000000,0x9F000000,0xA8000000, - 0x51000000,0xA3000000,0x40000000,0x8F000000,0x92000000,0x9D000000,0x38000000,0xF5000000, - 0xBC000000,0xB6000000,0xDA000000,0x21000000,0x10000000,0xFF000000,0xF3000000,0xD2000000, - 0xCD000000,0x0C000000,0x13000000,0xEC000000,0x5F000000,0x97000000,0x44000000,0x17000000, - 0xC4000000,0xA7000000,0x7E000000,0x3D000000,0x64000000,0x5D000000,0x19000000,0x73000000, - 0x60000000,0x81000000,0x4F000000,0xDC000000,0x22000000,0x2A000000,0x90000000,0x88000000, - 0x46000000,0xEE000000,0xB8000000,0x14000000,0xDE000000,0x5E000000,0x0B000000,0xDB000000, - 0xE0000000,0x32000000,0x3A000000,0x0A000000,0x49000000,0x06000000,0x24000000,0x5C000000, - 0xC2000000,0xD3000000,0xAC000000,0x62000000,0x91000000,0x95000000,0xE4000000,0x79000000, - 0xE7000000,0xC8000000,0x37000000,0x6D000000,0x8D000000,0xD5000000,0x4E000000,0xA9000000, - 0x6C000000,0x56000000,0xF4000000,0xEA000000,0x65000000,0x7A000000,0xAE000000,0x08000000, - 0xBA000000,0x78000000,0x25000000,0x2E000000,0x1C000000,0xA6000000,0xB4000000,0xC6000000, - 0xE8000000,0xDD000000,0x74000000,0x1F000000,0x4B000000,0xBD000000,0x8B000000,0x8A000000, - 0x70000000,0x3E000000,0xB5000000,0x66000000,0x48000000,0x03000000,0xF6000000,0x0E000000, - 0x61000000,0x35000000,0x57000000,0xB9000000,0x86000000,0xC1000000,0x1D000000,0x9E000000, - 0xE1000000,0xF8000000,0x98000000,0x11000000,0x69000000,0xD9000000,0x8E000000,0x94000000, - 0x9B000000,0x1E000000,0x87000000,0xE9000000,0xCE000000,0x55000000,0x28000000,0xDF000000, - 0x8C000000,0xA1000000,0x89000000,0x0D000000,0xBF000000,0xE6000000,0x42000000,0x68000000, - 0x41000000,0x99000000,0x2D000000,0x0F000000,0xB0000000,0x54000000,0xBB000000,0x16000000 - } -}; - -/*----------------- The workspace ------------------------------*/ - -static u32 Ekey[44]; /* The expanded key */ - -/*------ The round Function. 4 table lookups and 4 Exors ------*/ -#define f_rnd(x, n) \ - ( ft_tab[0][byte0(x[n])] \ - ^ ft_tab[1][byte1(x[(n + 1) & 3])] \ - ^ ft_tab[2][byte2(x[(n + 2) & 3])] \ - ^ ft_tab[3][byte3(x[(n + 3) & 3])] ) - -#define f_round(bo, bi, k) \ - bo[0] = f_rnd(bi, 0) ^ k[0]; \ - bo[1] = f_rnd(bi, 1) ^ k[1]; \ - bo[2] = f_rnd(bi, 2) ^ k[2]; \ - bo[3] = f_rnd(bi, 3) ^ k[3]; \ - k += 4 - -/*--- The S Box lookup used in constructing the Key schedule ---*/ -#define ls_box(x) \ - ( fl_tab[0][byte0(x)] \ - ^ fl_tab[1][byte1(x)] \ - ^ fl_tab[2][byte2(x)] \ - ^ fl_tab[3][byte3(x)] ) - -/*------------ The last round function (no MixColumn) ----------*/ -#define lf_rnd(x, n) \ - ( fl_tab[0][byte0(x[n])] \ - ^ fl_tab[1][byte1(x[(n + 1) & 3])] \ - ^ fl_tab[2][byte2(x[(n + 2) & 3])] \ - ^ fl_tab[3][byte3(x[(n + 3) & 3])] ) - - -/*----------------------------------------------------------- - * RijndaelKeySchedule - * Initialise the key schedule from a supplied key - */ -void RijndaelKeySchedule(u8 key[16]) -{ - u32 t; - u32 *ek=Ekey, /* pointer to the expanded key */ - *rc=rnd_con; /* pointer to the round constant */ - - Ekey[0] = u32_in(key ); - Ekey[1] = u32_in(key + 4); - Ekey[2] = u32_in(key + 8); - Ekey[3] = u32_in(key + 12); - - while(ek < Ekey + 40) - { - t = rot3(ek[3]); - ek[4] = ek[0] ^ ls_box(t) ^ *rc++; - ek[5] = ek[1] ^ ek[4]; - ek[6] = ek[2] ^ ek[5]; - ek[7] = ek[3] ^ ek[6]; - ek += 4; - } -} - -/*----------------------------------------------------------- - * RijndaelEncrypt - * Encrypt an input block - */ -void RijndaelEncrypt(u8 in[16], u8 out[16]) -{ - u32 b0[4], b1[4], *kp = Ekey; - - b0[0] = u32_in(in ) ^ *kp++; - b0[1] = u32_in(in + 4) ^ *kp++; - b0[2] = u32_in(in + 8) ^ *kp++; - b0[3] = u32_in(in + 12) ^ *kp++; - - f_round(b1, b0, kp); - f_round(b0, b1, kp); - f_round(b1, b0, kp); - f_round(b0, b1, kp); - f_round(b1, b0, kp); - f_round(b0, b1, kp); - f_round(b1, b0, kp); - f_round(b0, b1, kp); - f_round(b1, b0, kp); - - u32_out(out, lf_rnd(b1, 0) ^ kp[0]); - u32_out(out + 4, lf_rnd(b1, 1) ^ kp[1]); - u32_out(out + 8, lf_rnd(b1, 2) ^ kp[2]); - u32_out(out + 12, lf_rnd(b1, 3) ^ kp[3]); -} diff --git a/res/pjproject/third_party/milenage/rijndael.h b/res/pjproject/third_party/milenage/rijndael.h deleted file mode 100644 index 4e728a5b3e..0000000000 --- a/res/pjproject/third_party/milenage/rijndael.h +++ /dev/null @@ -1,26 +0,0 @@ -/*------------------------------------------------------------------- - * Example algorithms f1, f1*, f2, f3, f4, f5, f5* - *------------------------------------------------------------------- - * - * A sample implementation of the example 3GPP authentication and - * key agreement functions f1, f1*, f2, f3, f4, f5 and f5*. This is - * a byte-oriented implementation of the functions, and of the block - * cipher kernel function Rijndael. - * - * This has been coded for clarity, not necessarily for efficiency. - * - * The functions f2, f3, f4 and f5 share the same inputs and have - * been coded together as a single function. f1, f1* and f5* are - * all coded separately. - * - *-----------------------------------------------------------------*/ - -#ifndef RIJNDAEL_H -#define RIJNDAEL_H - - -void RijndaelKeySchedule( u8 key[16] ); -void RijndaelEncrypt( u8 input[16], u8 output[16] ); - - -#endif diff --git a/res/pjproject/third_party/mp3/BladeMP3EncDLL.h b/res/pjproject/third_party/mp3/BladeMP3EncDLL.h deleted file mode 100644 index 2e32b913a9..0000000000 --- a/res/pjproject/third_party/mp3/BladeMP3EncDLL.h +++ /dev/null @@ -1,283 +0,0 @@ -/* - * Blade Type of DLL Interface for Lame encoder - * - * Copyright (c) 1999-2002 A.L. Faber - * Based on bladedll.h version 1.0 written by Jukka Poikolainen - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -//#define _BLADEDLL 1 - -#ifndef ___BLADEDLL_H_INCLUDED___ -#define ___BLADEDLL_H_INCLUDED___ - -#ifdef __GNUC__ -//#define ATTRIBUTE_PACKED __attribute__((packed)) -#define ATTRIBUTE_PACKED -#else -#define ATTRIBUTE_PACKED -#pragma pack(push) -#pragma pack(1) -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* encoding formats */ - -#define BE_CONFIG_MP3 0 -#define BE_CONFIG_LAME 256 - -/* type definitions */ - -typedef unsigned long HBE_STREAM; -typedef HBE_STREAM *PHBE_STREAM; -typedef unsigned long BE_ERR; - -/* error codes */ - -#define BE_ERR_SUCCESSFUL 0x00000000 -#define BE_ERR_INVALID_FORMAT 0x00000001 -#define BE_ERR_INVALID_FORMAT_PARAMETERS 0x00000002 -#define BE_ERR_NO_MORE_HANDLES 0x00000003 -#define BE_ERR_INVALID_HANDLE 0x00000004 -#define BE_ERR_BUFFER_TOO_SMALL 0x00000005 - -/* other constants */ - -#define BE_MAX_HOMEPAGE 128 - -/* format specific variables */ - -#define BE_MP3_MODE_STEREO 0 -#define BE_MP3_MODE_JSTEREO 1 -#define BE_MP3_MODE_DUALCHANNEL 2 -#define BE_MP3_MODE_MONO 3 - - - -#define MPEG1 1 -#define MPEG2 0 - -#ifdef _BLADEDLL -#undef FLOAT - #include -#endif - -#define CURRENT_STRUCT_VERSION 1 -#define CURRENT_STRUCT_SIZE sizeof(BE_CONFIG) // is currently 331 bytes - - -typedef enum -{ - VBR_METHOD_NONE = -1, - VBR_METHOD_DEFAULT = 0, - VBR_METHOD_OLD = 1, - VBR_METHOD_NEW = 2, - VBR_METHOD_MTRH = 3, - VBR_METHOD_ABR = 4 -} VBRMETHOD; - -typedef enum -{ - LQP_NOPRESET =-1, - - // QUALITY PRESETS - LQP_NORMAL_QUALITY = 0, - LQP_LOW_QUALITY = 1, - LQP_HIGH_QUALITY = 2, - LQP_VOICE_QUALITY = 3, - LQP_R3MIX = 4, - LQP_VERYHIGH_QUALITY = 5, - LQP_STANDARD = 6, - LQP_FAST_STANDARD = 7, - LQP_EXTREME = 8, - LQP_FAST_EXTREME = 9, - LQP_INSANE = 10, - LQP_ABR = 11, - LQP_CBR = 12, - LQP_MEDIUM = 13, - LQP_FAST_MEDIUM = 14, - - // NEW PRESET VALUES - LQP_PHONE =1000, - LQP_SW =2000, - LQP_AM =3000, - LQP_FM =4000, - LQP_VOICE =5000, - LQP_RADIO =6000, - LQP_TAPE =7000, - LQP_HIFI =8000, - LQP_CD =9000, - LQP_STUDIO =10000 - -} LAME_QUALITY_PRESET; - - - -typedef struct { - unsigned long dwConfig; // BE_CONFIG_XXXXX - // Currently only BE_CONFIG_MP3 is supported - union { - - struct { - - unsigned long dwSampleRate; // 48000, 44100 and 32000 allowed - unsigned char byMode; // BE_MP3_MODE_STEREO, BE_MP3_MODE_DUALCHANNEL, BE_MP3_MODE_MONO - unsigned short wBitrate; // 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256 and 320 allowed - int bPrivate; - int bCRC; - int bCopyright; - int bOriginal; - - } mp3; // BE_CONFIG_MP3 - - struct - { - // STRUCTURE INFORMATION - unsigned long dwStructVersion; - unsigned long dwStructSize; - - // BASIC ENCODER SETTINGS - unsigned long dwSampleRate; // SAMPLERATE OF INPUT FILE - unsigned long dwReSampleRate; // DOWNSAMPLERATE, 0=ENCODER DECIDES - long nMode; // BE_MP3_MODE_STEREO, BE_MP3_MODE_DUALCHANNEL, BE_MP3_MODE_MONO - unsigned long dwBitrate; // CBR bitrate, VBR min bitrate - unsigned long dwMaxBitrate; // CBR ignored, VBR Max bitrate - long nPreset; // Quality preset, use one of the settings of the LAME_QUALITY_PRESET enum - unsigned long dwMpegVersion; // FUTURE USE, MPEG-1 OR MPEG-2 - unsigned long dwPsyModel; // FUTURE USE, SET TO 0 - unsigned long dwEmphasis; // FUTURE USE, SET TO 0 - - // BIT STREAM SETTINGS - int bPrivate; // Set Private Bit (TRUE/FALSE) - int bCRC; // Insert CRC (TRUE/FALSE) - int bCopyright; // Set Copyright Bit (TRUE/FALSE) - int bOriginal; // Set Original Bit (TRUE/FALSE) - - // VBR STUFF - int bWriteVBRHeader; // WRITE XING VBR HEADER (TRUE/FALSE) - int bEnableVBR; // USE VBR ENCODING (TRUE/FALSE) - int nVBRQuality; // VBR QUALITY 0..9 - unsigned long dwVbrAbr_bps; // Use ABR in stead of nVBRQuality - VBRMETHOD nVbrMethod; - int bNoRes; // Disable Bit resorvoir (TRUE/FALSE) - - // MISC SETTINGS - int bStrictIso; // Use strict ISO encoding rules (TRUE/FALSE) - unsigned short nQuality; // Quality Setting, HIGH unsigned char should be NOT LOW byte, otherwhise quality=5 - - // FUTURE USE, SET TO 0, align strucutre to 331 bytes - unsigned char btReserved[255-4*sizeof(unsigned long) - sizeof( unsigned short )]; - - } LHV1; // LAME header version 1 - - struct { - - unsigned long dwSampleRate; - unsigned char byMode; - unsigned short wBitrate; - unsigned char byEncodingMethod; - - } aac; - - } format; - -} BE_CONFIG, *PBE_CONFIG ATTRIBUTE_PACKED; - - -typedef struct { - - // BladeEnc DLL Version number - - unsigned char byDLLMajorVersion; - unsigned char byDLLMinorVersion; - - // BladeEnc Engine Version Number - - unsigned char byMajorVersion; - unsigned char byMinorVersion; - - // DLL Release date - - unsigned char byDay; - unsigned char byMonth; - unsigned short wYear; - - // BladeEnc Homepage URL - - char zHomepage[BE_MAX_HOMEPAGE + 1]; - - unsigned char byAlphaLevel; - unsigned char byBetaLevel; - unsigned char byMMXEnabled; - - unsigned char btReserved[125]; - - -} BE_VERSION, *PBE_VERSION ATTRIBUTE_PACKED; - -#ifndef _BLADEDLL - -typedef unsigned long (*BEINITSTREAM) (PBE_CONFIG, unsigned long *, unsigned long *, PHBE_STREAM); -typedef unsigned long (*BEENCODECHUNK) (HBE_STREAM, unsigned long, short *, unsigned char *, unsigned long *); - -// added for floating point audio -- DSPguru, jd -typedef unsigned long (*BEENCODECHUNKFLOATS16NI) (HBE_STREAM, unsigned long, float *, float *, unsigned char *, unsigned long *); -typedef unsigned long (*BEDEINITSTREAM) (HBE_STREAM, unsigned char *, unsigned long *); -typedef unsigned long (*BECLOSESTREAM) (HBE_STREAM); -typedef void (*BEVERSION) (PBE_VERSION); -typedef unsigned long (*BEWRITEVBRHEADER) (const char*); -typedef unsigned long (*BEWRITEINFOTAG) (HBE_STREAM, const char * ); - -#define TEXT_BEINITSTREAM "beInitStream" -#define TEXT_BEENCODECHUNK "beEncodeChunk" -#define TEXT_BEENCODECHUNKFLOATS16NI "beEncodeChunkFloatS16NI" -#define TEXT_BEDEINITSTREAM "beDeinitStream" -#define TEXT_BECLOSESTREAM "beCloseStream" -#define TEXT_BEVERSION "beVersion" -#define TEXT_BEWRITEVBRHEADER "beWriteVBRHeader" -#define TEXT_BEFLUSHNOGAP "beFlushNoGap" -#define TEXT_BEWRITEINFOTAG "beWriteInfoTag" - - -#else - -__declspec(dllexport) unsigned long beInitStream(PBE_CONFIG pbeConfig, Punsigned long dwSamples, Punsigned long dwBufferSize, PHBE_STREAM phbeStream); -__declspec(dllexport) unsigned long beEncodeChunk(HBE_STREAM hbeStream, unsigned long nSamples, PSHORT pSamples, Punsigned char pOutput, Punsigned long pdwOutput); - -// added for floating point audio -- DSPguru, jd -__declspec(dllexport) unsigned long beEncodeChunkFloatS16NI(HBE_STREAM hbeStream, unsigned long nSamples, PFLOAT buffer_l, PFLOAT buffer_r, Punsigned char pOutput, Punsigned long pdwOutput); -__declspec(dllexport) unsigned long beDeinitStream(HBE_STREAM hbeStream, Punsigned char pOutput, Punsigned long pdwOutput); -__declspec(dllexport) unsigned long beCloseStream(HBE_STREAM hbeStream); -__declspec(dllexport) VOID beVersion(PBE_VERSION pbeVersion); -__declspec(dllexport) unsigned long beWriteVBRHeader(LPCSTR lpszFileName); -__declspec(dllexport) unsigned long beFlushNoGap(HBE_STREAM hbeStream, Punsigned char pOutput, Punsigned long pdwOutput); -__declspec(dllexport) unsigned long beWriteInfoTag( HBE_STREAM hbeStream, LPCSTR lpszFileName ); - -#endif - -#ifndef __GNUC__ -#pragma pack(pop) -#endif - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/res/pjproject/third_party/mp3/mp3_port.h b/res/pjproject/third_party/mp3/mp3_port.h deleted file mode 100644 index a4fc7e5f58..0000000000 --- a/res/pjproject/third_party/mp3/mp3_port.h +++ /dev/null @@ -1,147 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2003-2007 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * Contributed by: - * Toni < buldozer at aufbix dot org > - */ - -#ifndef __PJMEDIA_MP3_PORT_H__ -#define __PJMEDIA_MP3_PORT_H__ - - -/** - * @file mp3_port.h - * @brief MP3 writer - */ -#include - -/** - * @defgroup PJMEDIA_MP3_FILE_REC MP3 Audio File Writer (Recorder) - * @ingroup PJMEDIA_PORT - * @brief MP3 Audio File Writer (Recorder) - * @{ - * - * This section describes MP3 file writer. Currently it only works on Windows - * using BladeEncDLL of the LAME MP3 encoder. Note that the LAME_ENC.DLL - * file must exist in the PATH so that the encoder can work properly. - * - * The MP3 file writer is created with #pjmedia_mp3_writer_port_create() which - * among other things specifies the desired file name and audio properties. - * It then takes PCM input when #pjmedia_port_put_frame() is called and encode - * the PCM input into MP3 streams before writing it to the .mp3 file. - */ - - -PJ_BEGIN_DECL - - -/** - * This structure contains encoding options that can be specified during - * MP3 writer port creation. Application should always zero the structure - * before setting some value to make sure that default options will be used. - */ -typedef struct pjmedia_mp3_encoder_option -{ - /** Specify whether variable bit rate should be used. Variable bitrate - * would normally produce better quality at the expense of probably - * larger file. - */ - pj_bool_t vbr; - - /** Target bitrate, in bps. If VBR is enabled, this settings specifies - * the average bit-rate requested, and will make the encoder ignore - * the quality setting. For CBR, this specifies the actual bitrate, - * and if this option is zero, it will be set to the sampling rate - * multiplied by number of channels. - */ - unsigned bit_rate; - - /** Encoding quality, 0-9, with 0 is the highest quality. For VBR, the - * quality setting will only take effect when bit_rate setting is zero. - */ - unsigned quality; - -} pjmedia_mp3_encoder_option; - - -/** - * Create a media port to record PCM media to a MP3 file. After the port - * is created, application can call #pjmedia_port_put_frame() to feed the - * port with PCM frames. The port then will encode the PCM frame into MP3 - * stream, and store it to MP3 file specified in the argument. - * - * When application has finished with writing MP3 file, it must destroy the - * media port with #pjmedia_port_destroy() so that the MP3 file can be - * closed properly. - * - * @param pool Pool to create memory buffers for this port. - * @param filename File name. - * @param clock_rate The sampling rate. - * @param channel_count Number of channels. - * @param samples_per_frame Number of samples per frame. - * @param bits_per_sample Number of bits per sample (eg 16). - * @param option Optional option to set encoding parameters. - * @param p_port Pointer to receive the file port instance. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_mp3_writer_port_create(pj_pool_t *pool, - const char *filename, - unsigned clock_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - const pjmedia_mp3_encoder_option *option, - pjmedia_port **p_port ); - -/** - * Register the callback to be called when the file writing has reached - * certain size. Application can use this callback, for example, to limit - * the size of the output file. - * - * @param port The file writer port. - * @param pos The file position on which the callback will be called. - * @param user_data User data to be specified in the callback, and will be - * given on the callback. - * @param cb Callback to be called. If the callback returns non- - * PJ_SUCCESS, the writing will stop. Note that if - * application destroys the port in the callback, it must - * return non-PJ_SUCCESS here. - * - * @return PJ_SUCCESS on success. - */ -PJ_DECL(pj_status_t) -pjmedia_mp3_writer_port_set_cb( pjmedia_port *port, - pj_size_t pos, - void *user_data, - pj_status_t (*cb)(pjmedia_port *port, - void *usr_data)); - - -/** - * @} - */ - - -PJ_END_DECL - -#endif /* __PJMEDIA_MP3_PORT_H__ */ - diff --git a/res/pjproject/third_party/mp3/mp3_writer.c b/res/pjproject/third_party/mp3/mp3_writer.c deleted file mode 100644 index ca64617006..0000000000 --- a/res/pjproject/third_party/mp3/mp3_writer.c +++ /dev/null @@ -1,563 +0,0 @@ -/* $Id$ */ -/* - * Copyright (C) 2003-2007 Benny Prijono - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * Contributed by: - * Toni < buldozer at aufbix dot org > - */ -#include "mp3_port.h" -#include -#include -#include -#include -#include -#include -#include -#include - - -/* Include BladeDLL declarations */ -#include "BladeMP3EncDLL.h" - - -#define THIS_FILE "mp3_writer.c" -#define SIGNATURE PJMEDIA_PORT_SIGNATURE('F', 'W', 'M', '3') -#define BYTES_PER_SAMPLE 2 - -static struct BladeDLL -{ - void *hModule; - int refCount; - BEINITSTREAM beInitStream; - BEENCODECHUNK beEncodeChunk; - BEDEINITSTREAM beDeinitStream; - BECLOSESTREAM beCloseStream; - BEVERSION beVersion; - BEWRITEVBRHEADER beWriteVBRHeader; - BEWRITEINFOTAG beWriteInfoTag; -} BladeDLL; - - -struct mp3_file_port -{ - pjmedia_port base; - pj_size_t total; - pj_oshandle_t fd; - pj_size_t cb_size; - pj_status_t (*cb)(pjmedia_port*, void*); - - unsigned silence_duration; - - pj_str_t mp3_filename; - pjmedia_mp3_encoder_option mp3_option; - unsigned mp3_samples_per_frame; - pj_int16_t *mp3_sample_buf; - unsigned mp3_sample_pos; - HBE_STREAM mp3_stream; - unsigned char *mp3_buf; -}; - - -static pj_status_t file_put_frame(pjmedia_port *this_port, - const pjmedia_frame *frame); -static pj_status_t file_get_frame(pjmedia_port *this_port, - pjmedia_frame *frame); -static pj_status_t file_on_destroy(pjmedia_port *this_port); - - -#if defined(PJ_WIN32) || defined(_WIN32) || defined(WIN32) - -#include -#define DLL_NAME PJ_T("LAME_ENC.DLL") - -/* - * Load BladeEncoder DLL. - */ -static pj_status_t init_blade_dll(void) -{ - if (BladeDLL.refCount == 0) { - #define GET_PROC(type, name) \ - BladeDLL.name = (type)GetProcAddress(BladeDLL.hModule, PJ_T(#name)); \ - if (BladeDLL.name == NULL) { \ - PJ_LOG(1,(THIS_FILE, "Unable to find %s in %s", #name, DLL_NAME)); \ - return PJ_RETURN_OS_ERROR(GetLastError()); \ - } - - BE_VERSION beVersion; - BladeDLL.hModule = (void*)LoadLibrary(DLL_NAME); - if (BladeDLL.hModule == NULL) { - pj_status_t status = PJ_RETURN_OS_ERROR(GetLastError()); - char errmsg[PJ_ERR_MSG_SIZE]; - - pj_strerror(status, errmsg, sizeof(errmsg)); - PJ_LOG(1,(THIS_FILE, "Unable to load %s: %s", DLL_NAME, errmsg)); - return status; - } - - GET_PROC(BEINITSTREAM, beInitStream); - GET_PROC(BEENCODECHUNK, beEncodeChunk); - GET_PROC(BEDEINITSTREAM, beDeinitStream); - GET_PROC(BECLOSESTREAM, beCloseStream); - GET_PROC(BEVERSION, beVersion); - GET_PROC(BEWRITEVBRHEADER, beWriteVBRHeader); - GET_PROC(BEWRITEINFOTAG, beWriteInfoTag); - - #undef GET_PROC - - BladeDLL.beVersion(&beVersion); - PJ_LOG(4,(THIS_FILE, "%s encoder v%d.%d loaded (%s)", DLL_NAME, - beVersion.byMajorVersion, beVersion.byMinorVersion, - beVersion.zHomepage)); - } - ++BladeDLL.refCount; - return PJ_SUCCESS; -} - -/* - * Decrement the reference counter of the DLL. - */ -static void deinit_blade_dll() -{ - --BladeDLL.refCount; - if (BladeDLL.refCount == 0 && BladeDLL.hModule) { - FreeLibrary(BladeDLL.hModule); - BladeDLL.hModule = NULL; - PJ_LOG(4,(THIS_FILE, "%s unloaded", DLL_NAME)); - } -} - -#else - -static pj_status_t init_blade_dll(void) -{ - PJ_LOG(1,(THIS_FILE, "Error: MP3 writer port only works on Windows for now")); - return PJ_ENOTSUP; -} - -static void deinit_blade_dll() -{ -} -#endif - - - -/* - * Initialize MP3 encoder. - */ -static pj_status_t init_mp3_encoder(struct mp3_file_port *fport, - pj_pool_t *pool) -{ - BE_CONFIG LConfig; - unsigned long InSamples; - unsigned long OutBuffSize; - long MP3Err; - - /* - * Initialize encoder configuration. - */ - pj_bzero(&LConfig, sizeof(BE_CONFIG)); - LConfig.dwConfig = BE_CONFIG_LAME; - LConfig.format.LHV1.dwStructVersion = 1; - LConfig.format.LHV1.dwStructSize = sizeof(BE_CONFIG); - LConfig.format.LHV1.dwSampleRate = fport->base.info.clock_rate; - LConfig.format.LHV1.dwReSampleRate = 0; - - if (fport->base.info.channel_count==1) - LConfig.format.LHV1.nMode = BE_MP3_MODE_MONO; - else if (fport->base.info.channel_count==2) - LConfig.format.LHV1.nMode = BE_MP3_MODE_STEREO; - else - return PJMEDIA_ENCCHANNEL; - - LConfig.format.LHV1.dwBitrate = fport->mp3_option.bit_rate / 1000; - LConfig.format.LHV1.nPreset = LQP_NOPRESET; - LConfig.format.LHV1.bCopyright = 0; - LConfig.format.LHV1.bCRC = 1; - LConfig.format.LHV1.bOriginal = 1; - LConfig.format.LHV1.bPrivate = 0; - - if (!fport->mp3_option.vbr) { - LConfig.format.LHV1.nVbrMethod = VBR_METHOD_NONE; - LConfig.format.LHV1.bWriteVBRHeader = 0; - LConfig.format.LHV1.bEnableVBR = 0; - } else { - LConfig.format.LHV1.nVbrMethod = VBR_METHOD_DEFAULT; - LConfig.format.LHV1.bWriteVBRHeader = 1; - LConfig.format.LHV1.dwVbrAbr_bps = fport->mp3_option.bit_rate; - LConfig.format.LHV1.nVBRQuality = (pj_uint16_t) - fport->mp3_option.quality; - LConfig.format.LHV1.bEnableVBR = 1; - } - - LConfig.format.LHV1.nQuality = (pj_uint16_t) - (((0-fport->mp3_option.quality-1)<<8) | - fport->mp3_option.quality); - - /* - * Init MP3 stream. - */ - InSamples = 0; - MP3Err = BladeDLL.beInitStream(&LConfig, &InSamples, &OutBuffSize, - &fport->mp3_stream); - if (MP3Err != BE_ERR_SUCCESSFUL) - return PJMEDIA_ERROR; - - /* - * Allocate sample buffer. - */ - fport->mp3_samples_per_frame = (unsigned)InSamples; - fport->mp3_sample_buf = pj_pool_alloc(pool, fport->mp3_samples_per_frame * 2); - if (!fport->mp3_sample_buf) - return PJ_ENOMEM; - - /* - * Allocate encoded MP3 buffer. - */ - fport->mp3_buf = pj_pool_alloc(pool, (pj_size_t)OutBuffSize); - if (fport->mp3_buf == NULL) - return PJ_ENOMEM; - - - return PJ_SUCCESS; -} - - -/* - * Create MP3 file writer port. - */ -PJ_DEF(pj_status_t) -pjmedia_mp3_writer_port_create( pj_pool_t *pool, - const char *filename, - unsigned sampling_rate, - unsigned channel_count, - unsigned samples_per_frame, - unsigned bits_per_sample, - const pjmedia_mp3_encoder_option *param_option, - pjmedia_port **p_port ) -{ - struct mp3_file_port *fport; - pj_status_t status; - - status = init_blade_dll(); - if (status != PJ_SUCCESS) - return status; - - /* Check arguments. */ - PJ_ASSERT_RETURN(pool && filename && p_port, PJ_EINVAL); - - /* Only supports 16bits per sample for now. */ - PJ_ASSERT_RETURN(bits_per_sample == 16, PJ_EINVAL); - - /* Create file port instance. */ - fport = pj_pool_zalloc(pool, sizeof(struct mp3_file_port)); - PJ_ASSERT_RETURN(fport != NULL, PJ_ENOMEM); - - /* Initialize port info. */ - pj_strdup2_with_null(pool, &fport->mp3_filename, filename); - pjmedia_port_info_init(&fport->base.info, &fport->mp3_filename, SIGNATURE, - sampling_rate, channel_count, bits_per_sample, - samples_per_frame); - - fport->base.get_frame = &file_get_frame; - fport->base.put_frame = &file_put_frame; - fport->base.on_destroy = &file_on_destroy; - - - /* Open file in write and read mode. - * We need the read mode because we'll modify the WAVE header once - * the recording has completed. - */ - status = pj_file_open(pool, filename, PJ_O_WRONLY, &fport->fd); - if (status != PJ_SUCCESS) { - deinit_blade_dll(); - return status; - } - - /* Copy and initialize option with default settings */ - if (param_option) { - pj_memcpy(&fport->mp3_option, param_option, - sizeof(pjmedia_mp3_encoder_option)); - } else { - pj_bzero(&fport->mp3_option, sizeof(pjmedia_mp3_encoder_option)); - fport->mp3_option.vbr = PJ_TRUE; - } - - /* Calculate bitrate if it's not specified, only if it's not VBR. */ - if (fport->mp3_option.bit_rate == 0 && !fport->mp3_option.vbr) - fport->mp3_option.bit_rate = sampling_rate * channel_count; - - /* Set default quality if it's not specified */ - if (fport->mp3_option.quality == 0) - fport->mp3_option.quality = 2; - - /* Init mp3 encoder */ - status = init_mp3_encoder(fport, pool); - if (status != PJ_SUCCESS) { - pj_file_close(fport->fd); - deinit_blade_dll(); - return status; - } - - /* Done. */ - *p_port = &fport->base; - - PJ_LOG(4,(THIS_FILE, - "MP3 file writer '%.*s' created: samp.rate=%dKHz, " - "bitrate=%dkbps%s, quality=%d", - (int)fport->base.info.name.slen, - fport->base.info.name.ptr, - fport->base.info.clock_rate/1000, - fport->mp3_option.bit_rate/1000, - (fport->mp3_option.vbr ? " (VBR)" : ""), - fport->mp3_option.quality)); - - return PJ_SUCCESS; -} - - - -/* - * Register callback. - */ -PJ_DEF(pj_status_t) -pjmedia_mp3_writer_port_set_cb( pjmedia_port *port, - pj_size_t pos, - void *user_data, - pj_status_t (*cb)(pjmedia_port *port, - void *usr_data)) -{ - struct mp3_file_port *fport; - - /* Sanity check */ - PJ_ASSERT_RETURN(port && cb, PJ_EINVAL); - - /* Check that this is really a writer port */ - PJ_ASSERT_RETURN(port->info.signature == SIGNATURE, PJ_EINVALIDOP); - - fport = (struct mp3_file_port*) port; - - fport->cb_size = pos; - fport->base.port_data.pdata = user_data; - fport->cb = cb; - - return PJ_SUCCESS; - -} - - -/* - * Put a frame into the buffer. When the buffer is full, flush the buffer - * to the file. - */ -static pj_status_t file_put_frame(pjmedia_port *this_port, - const pjmedia_frame *frame) -{ - struct mp3_file_port *fport = (struct mp3_file_port *)this_port; - unsigned long MP3Err; - pj_ssize_t bytes; - pj_status_t status; - unsigned long WriteSize; - - /* Record silence if input is no-frame */ - if (frame->type == PJMEDIA_FRAME_TYPE_NONE || frame->size == 0) { - unsigned samples_left = fport->base.info.samples_per_frame; - unsigned samples_copied = 0; - - /* Only want to record at most 1 second of silence */ - if (fport->silence_duration >= fport->base.info.clock_rate) - return PJ_SUCCESS; - - while (samples_left) { - unsigned samples_needed = fport->mp3_samples_per_frame - - fport->mp3_sample_pos; - if (samples_needed > samples_left) - samples_needed = samples_left; - - pjmedia_zero_samples(fport->mp3_sample_buf + fport->mp3_sample_pos, - samples_needed); - fport->mp3_sample_pos += samples_needed; - samples_left -= samples_needed; - samples_copied += samples_needed; - - /* Encode if we have full frame */ - if (fport->mp3_sample_pos == fport->mp3_samples_per_frame) { - - /* Clear position */ - fport->mp3_sample_pos = 0; - - /* Encode ! */ - MP3Err = BladeDLL.beEncodeChunk(fport->mp3_stream, - fport->mp3_samples_per_frame, - fport->mp3_sample_buf, - fport->mp3_buf, - &WriteSize); - if (MP3Err != BE_ERR_SUCCESSFUL) - return PJMEDIA_ERROR; - - /* Write the chunk */ - bytes = WriteSize; - status = pj_file_write(fport->fd, fport->mp3_buf, &bytes); - if (status != PJ_SUCCESS) - return status; - - /* Increment total written. */ - fport->total += bytes; - } - } - - fport->silence_duration += fport->base.info.samples_per_frame; - - } - /* If encoder is expecting different sample size, then we need to - * buffer the samples. - */ - else if (fport->mp3_samples_per_frame != - fport->base.info.samples_per_frame) - { - unsigned samples_left = frame->size / 2; - unsigned samples_copied = 0; - const pj_int16_t *src_samples = frame->buf; - - fport->silence_duration = 0; - - while (samples_left) { - unsigned samples_needed = fport->mp3_samples_per_frame - - fport->mp3_sample_pos; - if (samples_needed > samples_left) - samples_needed = samples_left; - - pjmedia_copy_samples(fport->mp3_sample_buf + fport->mp3_sample_pos, - src_samples + samples_copied, - samples_needed); - fport->mp3_sample_pos += samples_needed; - samples_left -= samples_needed; - samples_copied += samples_needed; - - /* Encode if we have full frame */ - if (fport->mp3_sample_pos == fport->mp3_samples_per_frame) { - - /* Clear position */ - fport->mp3_sample_pos = 0; - - /* Encode ! */ - MP3Err = BladeDLL.beEncodeChunk(fport->mp3_stream, - fport->mp3_samples_per_frame, - fport->mp3_sample_buf, - fport->mp3_buf, - &WriteSize); - if (MP3Err != BE_ERR_SUCCESSFUL) - return PJMEDIA_ERROR; - - /* Write the chunk */ - bytes = WriteSize; - status = pj_file_write(fport->fd, fport->mp3_buf, &bytes); - if (status != PJ_SUCCESS) - return status; - - /* Increment total written. */ - fport->total += bytes; - } - } - - } else { - - fport->silence_duration = 0; - - /* Encode ! */ - MP3Err = BladeDLL.beEncodeChunk(fport->mp3_stream, - fport->mp3_samples_per_frame, - frame->buf, - fport->mp3_buf, - &WriteSize); - if (MP3Err != BE_ERR_SUCCESSFUL) - return PJMEDIA_ERROR; - - /* Write the chunk */ - bytes = WriteSize; - status = pj_file_write(fport->fd, fport->mp3_buf, &bytes); - if (status != PJ_SUCCESS) - return status; - - /* Increment total written. */ - fport->total += bytes; - } - - /* Increment total written, and check if we need to call callback */ - - if (fport->cb && fport->total >= fport->cb_size) { - pj_status_t (*cb)(pjmedia_port*, void*); - pj_status_t status; - - cb = fport->cb; - fport->cb = NULL; - - status = (*cb)(this_port, this_port->port_data.pdata); - return status; - } - - return PJ_SUCCESS; -} - -/* - * Get frame, basicy is a no-op operation. - */ -static pj_status_t file_get_frame(pjmedia_port *this_port, - pjmedia_frame *frame) -{ - PJ_UNUSED_ARG(this_port); - PJ_UNUSED_ARG(frame); - return PJ_EINVALIDOP; -} - - -/* - * Close the port, modify file header with updated file length. - */ -static pj_status_t file_on_destroy(pjmedia_port *this_port) -{ - struct mp3_file_port *fport = (struct mp3_file_port*)this_port; - pj_status_t status; - unsigned long WriteSize; - unsigned long MP3Err; - - - /* Close encoder */ - MP3Err = BladeDLL.beDeinitStream(fport->mp3_stream, fport->mp3_buf, - &WriteSize); - if (MP3Err == BE_ERR_SUCCESSFUL) { - pj_ssize_t bytes = WriteSize; - status = pj_file_write(fport->fd, fport->mp3_buf, &bytes); - } - - /* Close file */ - status = pj_file_close(fport->fd); - - /* Write additional VBR header */ - if (fport->mp3_option.vbr) { - MP3Err = BladeDLL.beWriteVBRHeader(fport->mp3_filename.ptr); - } - - - /* Decrement DLL reference counter */ - deinit_blade_dll(); - - /* Done. */ - return PJ_SUCCESS; -} - diff --git a/res/pjproject/third_party/portaudio/Doxyfile b/res/pjproject/third_party/portaudio/Doxyfile deleted file mode 100644 index 7dbfdfe661..0000000000 --- a/res/pjproject/third_party/portaudio/Doxyfile +++ /dev/null @@ -1,239 +0,0 @@ -# Doxyfile 1.4.6 - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- -PROJECT_NAME = PortAudio -PROJECT_NUMBER = 2.0 -OUTPUT_DIRECTORY = ./doc/ -CREATE_SUBDIRS = NO -OUTPUT_LANGUAGE = English -USE_WINDOWS_ENCODING = NO -BRIEF_MEMBER_DESC = YES -REPEAT_BRIEF = YES -ABBREVIATE_BRIEF = "The $name class" \ - "The $name widget" \ - "The $name file" \ - is \ - provides \ - specifies \ - contains \ - represents \ - a \ - an \ - the -ALWAYS_DETAILED_SEC = NO -INLINE_INHERITED_MEMB = NO -FULL_PATH_NAMES = NO -STRIP_FROM_PATH = -STRIP_FROM_INC_PATH = -SHORT_NAMES = NO -JAVADOC_AUTOBRIEF = NO -MULTILINE_CPP_IS_BRIEF = NO -DETAILS_AT_TOP = NO -INHERIT_DOCS = YES -SEPARATE_MEMBER_PAGES = NO -TAB_SIZE = 8 -ALIASES = -OPTIMIZE_OUTPUT_FOR_C = YES -OPTIMIZE_OUTPUT_JAVA = NO -BUILTIN_STL_SUPPORT = NO -DISTRIBUTE_GROUP_DOC = NO -SUBGROUPING = YES -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- -EXTRACT_ALL = YES -EXTRACT_PRIVATE = NO -EXTRACT_STATIC = NO -EXTRACT_LOCAL_CLASSES = YES -EXTRACT_LOCAL_METHODS = NO -HIDE_UNDOC_MEMBERS = NO -HIDE_UNDOC_CLASSES = NO -HIDE_FRIEND_COMPOUNDS = NO -HIDE_IN_BODY_DOCS = NO -INTERNAL_DOCS = NO -CASE_SENSE_NAMES = YES -HIDE_SCOPE_NAMES = NO -SHOW_INCLUDE_FILES = YES -INLINE_INFO = YES -SORT_MEMBER_DOCS = YES -SORT_BRIEF_DOCS = NO -SORT_BY_SCOPE_NAME = NO -GENERATE_TODOLIST = YES -GENERATE_TESTLIST = YES -GENERATE_BUGLIST = YES -GENERATE_DEPRECATEDLIST= YES -ENABLED_SECTIONS = -MAX_INITIALIZER_LINES = 30 -SHOW_USED_FILES = YES -SHOW_DIRECTORIES = NO -FILE_VERSION_FILTER = -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- -QUIET = NO -WARNINGS = YES -WARN_IF_UNDOCUMENTED = YES -WARN_IF_DOC_ERROR = YES -WARN_NO_PARAMDOC = NO -WARN_FORMAT = "$file:$line: $text" -WARN_LOGFILE = -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- -INPUT = doc/src \ - src \ - include \ - test -FILE_PATTERNS = *.h \ - *.c \ - *.cpp \ - *.dox -RECURSIVE = YES -EXCLUDE = -EXCLUDE_SYMLINKS = NO -EXCLUDE_PATTERNS = -EXAMPLE_PATH = -EXAMPLE_PATTERNS = -EXAMPLE_RECURSIVE = NO -IMAGE_PATH = -INPUT_FILTER = -FILTER_PATTERNS = -FILTER_SOURCE_FILES = NO -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- -SOURCE_BROWSER = NO -INLINE_SOURCES = NO -STRIP_CODE_COMMENTS = YES -REFERENCED_BY_RELATION = YES -REFERENCES_RELATION = YES -USE_HTAGS = NO -VERBATIM_HEADERS = YES -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- -ALPHABETICAL_INDEX = NO -COLS_IN_ALPHA_INDEX = 5 -IGNORE_PREFIX = -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- -GENERATE_HTML = YES -HTML_OUTPUT = html -HTML_FILE_EXTENSION = .html -HTML_HEADER = -HTML_FOOTER = -HTML_STYLESHEET = -HTML_ALIGN_MEMBERS = YES -GENERATE_HTMLHELP = NO -CHM_FILE = -HHC_LOCATION = -GENERATE_CHI = NO -BINARY_TOC = NO -TOC_EXPAND = NO -DISABLE_INDEX = NO -ENUM_VALUES_PER_LINE = 4 -GENERATE_TREEVIEW = NO -TREEVIEW_WIDTH = 250 -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- -GENERATE_LATEX = NO -LATEX_OUTPUT = latex -LATEX_CMD_NAME = latex -MAKEINDEX_CMD_NAME = makeindex -COMPACT_LATEX = NO -PAPER_TYPE = a4wide -EXTRA_PACKAGES = -LATEX_HEADER = -PDF_HYPERLINKS = NO -USE_PDFLATEX = NO -LATEX_BATCHMODE = NO -LATEX_HIDE_INDICES = NO -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- -GENERATE_RTF = NO -RTF_OUTPUT = rtf -COMPACT_RTF = NO -RTF_HYPERLINKS = NO -RTF_STYLESHEET_FILE = -RTF_EXTENSIONS_FILE = -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- -GENERATE_MAN = NO -MAN_OUTPUT = man -MAN_EXTENSION = .3 -MAN_LINKS = NO -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- -GENERATE_XML = NO -XML_OUTPUT = xml -XML_SCHEMA = -XML_DTD = -XML_PROGRAMLISTING = YES -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- -GENERATE_AUTOGEN_DEF = NO -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- -GENERATE_PERLMOD = NO -PERLMOD_LATEX = NO -PERLMOD_PRETTY = YES -PERLMOD_MAKEVAR_PREFIX = -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- -ENABLE_PREPROCESSING = YES -MACRO_EXPANSION = NO -EXPAND_ONLY_PREDEF = NO -SEARCH_INCLUDES = YES -INCLUDE_PATH = -INCLUDE_FILE_PATTERNS = -PREDEFINED = -EXPAND_AS_DEFINED = -SKIP_FUNCTION_MACROS = YES -#--------------------------------------------------------------------------- -# Configuration::additions related to external references -#--------------------------------------------------------------------------- -TAGFILES = -GENERATE_TAGFILE = -ALLEXTERNALS = NO -EXTERNAL_GROUPS = YES -PERL_PATH = /usr/bin/perl -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- -CLASS_DIAGRAMS = NO -HIDE_UNDOC_RELATIONS = NO -HAVE_DOT = NO -CLASS_GRAPH = YES -COLLABORATION_GRAPH = YES -GROUP_GRAPHS = YES -UML_LOOK = NO -TEMPLATE_RELATIONS = YES -INCLUDE_GRAPH = YES -INCLUDED_BY_GRAPH = YES -CALL_GRAPH = NO -GRAPHICAL_HIERARCHY = YES -DIRECTORY_GRAPH = YES -DOT_IMAGE_FORMAT = png -DOT_PATH = -DOTFILE_DIRS = -MAX_DOT_GRAPH_WIDTH = 1024 -MAX_DOT_GRAPH_HEIGHT = 1024 -MAX_DOT_GRAPH_DEPTH = 1000 -DOT_TRANSPARENT = NO -DOT_MULTI_TARGETS = NO -GENERATE_LEGEND = YES -DOT_CLEANUP = YES -#--------------------------------------------------------------------------- -# Configuration::additions related to the search engine -#--------------------------------------------------------------------------- -SEARCHENGINE = NO diff --git a/res/pjproject/third_party/portaudio/LICENSE.txt b/res/pjproject/third_party/portaudio/LICENSE.txt deleted file mode 100644 index e0ac4e8a0c..0000000000 --- a/res/pjproject/third_party/portaudio/LICENSE.txt +++ /dev/null @@ -1,81 +0,0 @@ -Portable header file to contain: ->>>>> -/* - * PortAudio Portable Real-Time Audio Library - * PortAudio API Header File - * Latest version available at: http://www.portaudio.com - * - * Copyright (c) 1999-2006 Ross Bencina and Phil Burk - * - * Permission is hereby granted, free of charge, to any person obtaining - * a copy of this software and associated documentation files - * (the "Software"), to deal in the Software without restriction, - * including without limitation the rights to use, copy, modify, merge, - * publish, distribute, sublicense, and/or sell copies of the Software, - * and to permit persons to whom the Software is furnished to do so, - * subject to the following conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR - * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION - * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -/* - * The text above constitutes the entire PortAudio license; however, - * the PortAudio community also makes the following non-binding requests: - * - * Any person wishing to distribute modifications to the Software is - * requested to send the modifications to the original developer so that - * they can be incorporated into the canonical version. It is also - * requested that these non-binding requests be included along with the - * license above. - */ -<<<<< - - -Implementation files to contain: ->>>>> -/* - * PortAudio Portable Real-Time Audio Library - * Latest version at: http://www.portaudio.com - * Implementation - * Copyright (c) 1999-2000 - * - * Permission is hereby granted, free of charge, to any person obtaining - * a copy of this software and associated documentation files - * (the "Software"), to deal in the Software without restriction, - * including without limitation the rights to use, copy, modify, merge, - * publish, distribute, sublicense, and/or sell copies of the Software, - * and to permit persons to whom the Software is furnished to do so, - * subject to the following conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR - * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION - * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -/* - * The text above constitutes the entire PortAudio license; however, - * the PortAudio community also makes the following non-binding requests: - * - * Any person wishing to distribute modifications to the Software is - * requested to send the modifications to the original developer so that - * they can be incorporated into the canonical version. It is also - * requested that these non-binding requests be included along with the - * license above. - */ -<<<<< \ No newline at end of file diff --git a/res/pjproject/third_party/portaudio/Makefile.in b/res/pjproject/third_party/portaudio/Makefile.in deleted file mode 100644 index 58c95cd137..0000000000 --- a/res/pjproject/third_party/portaudio/Makefile.in +++ /dev/null @@ -1,223 +0,0 @@ -# -# PortAudio V19 Makefile.in -# -# Dominic Mazzoni -# Modifications by Mikael Magnusson -# Modifications by Stelios Bounanos -# - -top_srcdir = @top_srcdir@ -srcdir = @srcdir@ -VPATH = @srcdir@ -top_builddir = . -PREFIX = @prefix@ -prefix = $(PREFIX) -exec_prefix = @exec_prefix@ -bindir = @bindir@ -libdir = @libdir@ -includedir = @includedir@ -CC = @CC@ -CXX = @CXX@ -CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src/common -I$(top_srcdir)/src/os/unix @CFLAGS@ @DEFS@ -LIBS = @LIBS@ -AR = @AR@ -RANLIB = @RANLIB@ -LIBTOOL = @LIBTOOL@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -SHARED_FLAGS = @SHARED_FLAGS@ -LDFLAGS = @LDFLAGS@ -DLL_LIBS = @DLL_LIBS@ -CXXFLAGS = @CXXFLAGS@ -NASM = @NASM@ -NASMOPT = @NASMOPT@ -LN_S = @LN_S@ -LT_CURRENT=@LT_CURRENT@ -LT_REVISION=@LT_REVISION@ -LT_AGE=@LT_AGE@ - -OTHER_OBJS = @OTHER_OBJS@ - -PALIB = libportaudio.la -PAINC = include/portaudio.h - -PA_LDFLAGS = $(LDFLAGS) $(SHARED_FLAGS) -rpath $(libdir) -no-undefined \ - -export-symbols-regex "(Pa|PaMacCore|PaJack|PaAlsa|PaAsio)_.*" \ - -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) - -COMMON_OBJS = \ - src/common/pa_allocation.o \ - src/common/pa_converters.o \ - src/common/pa_cpuload.o \ - src/common/pa_dither.o \ - src/common/pa_debugprint.o \ - src/common/pa_front.o \ - src/common/pa_process.o \ - src/common/pa_skeleton.o \ - src/common/pa_stream.o \ - src/common/pa_trace.o - -TESTS = \ - bin/paqa_devs \ - bin/paqa_errs \ - bin/patest1 \ - bin/patest_buffer \ - bin/patest_callbackstop \ - bin/patest_clip \ - bin/patest_dither \ - bin/patest_hang \ - bin/patest_in_overflow \ - bin/patest_latency \ - bin/patest_leftright \ - bin/patest_longsine \ - bin/patest_many \ - bin/patest_maxsines \ - bin/patest_multi_sine \ - bin/patest_out_underflow \ - bin/patest_pink \ - bin/patest_prime \ - bin/patest_read_record \ - bin/patest_read_write_wire \ - bin/patest_record \ - bin/patest_ringmix \ - bin/patest_saw \ - bin/patest_sine8 \ - bin/patest_sine \ - bin/patest_sine_channelmaps \ - bin/patest_sine_formats \ - bin/patest_sine_time \ - bin/patest_sine_srate \ - bin/patest_start_stop \ - bin/patest_stop \ - bin/patest_stop_playout \ - bin/patest_toomanysines \ - bin/patest_underflow \ - bin/patest_wire \ - bin/patest_write_sine \ - bin/pa_devs \ - bin/pa_fuzz \ - bin/pa_minlat - -# Most of these don't compile yet. Put them in TESTS, above, if -# you want to try to compile them... -ALL_TESTS = \ - $(TESTS) \ - bin/patest_sync \ - bin/debug_convert \ - bin/debug_dither_calc \ - bin/debug_dual \ - bin/debug_multi_in \ - bin/debug_multi_out \ - bin/debug_record \ - bin/debug_record_reuse \ - bin/debug_sine_amp \ - bin/debug_sine \ - bin/debug_sine_formats \ - bin/debug_srate \ - bin/debug_test1 - -OBJS := $(COMMON_OBJS) $(OTHER_OBJS) - -LTOBJS := $(OBJS:.o=.lo) - -SRC_DIRS = \ - src/common \ - src/hostapi/alsa \ - src/hostapi/asihpi \ - src/hostapi/asio \ - src/hostapi/coreaudio \ - src/hostapi/dsound \ - src/hostapi/jack \ - src/hostapi/oss \ - src/hostapi/wasapi \ - src/hostapi/wdmks \ - src/hostapi/wmme \ - src/os/mac_osx \ - src/os/unix \ - src/os/win - -SUBDIRS = -@ENABLE_CXX_TRUE@SUBDIRS += bindings/cpp - -all: lib/$(PALIB) all-recursive tests - -tests: bin-stamp $(TESTS) - - -# With ASIO enabled we must link libportaudio and all test programs with CXX -lib/$(PALIB): lib-stamp $(LTOBJS) $(MAKEFILE) $(PAINC) - @WITH_ASIO_FALSE@ $(LIBTOOL) --mode=link $(CC) $(PA_LDFLAGS) -o lib/$(PALIB) $(LTOBJS) $(DLL_LIBS) - @WITH_ASIO_TRUE@ $(LIBTOOL) --mode=link --tag=CXX $(CXX) $(PA_LDFLAGS) -o lib/$(PALIB) $(LTOBJS) $(DLL_LIBS) - -$(ALL_TESTS): bin/%: lib/$(PALIB) $(MAKEFILE) $(PAINC) test/%.c - @WITH_ASIO_FALSE@ $(LIBTOOL) --mode=link $(CC) -o $@ $(CFLAGS) $(top_srcdir)/test/$*.c lib/$(PALIB) $(LIBS) - @WITH_ASIO_TRUE@ $(LIBTOOL) --mode=link --tag=CXX $(CXX) -o $@ $(CXXFLAGS) $(top_srcdir)/test/$*.c lib/$(PALIB) $(LIBS) - - -install: lib/$(PALIB) portaudio-2.0.pc - $(INSTALL) -d $(DESTDIR)$(libdir) - $(LIBTOOL) --mode=install $(INSTALL) lib/$(PALIB) $(DESTDIR)$(libdir) - $(INSTALL) -d $(DESTDIR)$(includedir) - $(INSTALL_DATA) -m 644 $(top_srcdir)/$(PAINC) $(DESTDIR)$(includedir)/portaudio.h - $(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig - $(INSTALL) -m 644 portaudio-2.0.pc $(DESTDIR)$(libdir)/pkgconfig/portaudio-2.0.pc - @echo "" - @echo "------------------------------------------------------------" - @echo "PortAudio was successfully installed." - @echo "" - @echo "On some systems (e.g. Linux) you should run 'ldconfig' now" - @echo "to make the shared object available. You may also need to" - @echo "modify your LD_LIBRARY_PATH environment variable to include" - @echo "the directory $(libdir)" - @echo "------------------------------------------------------------" - @echo "" - $(MAKE) install-recursive - -uninstall: - $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(PALIB) - $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(includedir)/portaudio.h - $(MAKE) uninstall-recursive - -clean: - $(LIBTOOL) --mode=clean rm -f $(LTOBJS) $(ALL_TESTS) lib/$(PALIB) - $(RM) bin-stamp lib-stamp - -$(RM) -r bin lib - -distclean: clean - $(RM) config.log config.status Makefile libtool portaudio-2.0.pc - -%.o: %.c $(MAKEFILE) $(PAINC) - $(CC) -c $(CFLAGS) $< -o $@ - -%.lo: %.c $(MAKEFILE) $(PAINC) - $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $< -o $@ - -%.lo: %.cpp $(MAKEFILE) $(PAINC) - $(LIBTOOL) --mode=compile --tag=CXX $(CXX) -c $(CXXFLAGS) $< -o $@ - -%.o: %.cpp $(MAKEFILE) $(PAINC) - $(CXX) -c $(CXXFLAGS) $< -o $@ - -%.o: %.asm - $(NASM) $(NASMOPT) -o $@ $< - -bin-stamp: - -mkdir bin - touch $@ - -lib-stamp: - -mkdir lib - -mkdir -p $(SRC_DIRS) - touch $@ - -Makefile: Makefile.in config.status - $(SHELL) config.status - -all-recursive: - if test -n "$(SUBDIRS)" ; then for dir in "$(SUBDIRS)"; do $(MAKE) -C $$dir all; done ; fi - -install-recursive: - if test -n "$(SUBDIRS)" ; then for dir in "$(SUBDIRS)"; do $(MAKE) -C $$dir install; done ; fi - -uninstall-recursive: - if test -n "$(SUBDIRS)" ; then for dir in "$(SUBDIRS)"; do $(MAKE) -C $$dir uninstall; done ; fi diff --git a/res/pjproject/third_party/portaudio/README.txt b/res/pjproject/third_party/portaudio/README.txt deleted file mode 100644 index 211382785a..0000000000 --- a/res/pjproject/third_party/portaudio/README.txt +++ /dev/null @@ -1,98 +0,0 @@ -README for PortAudio - -/* - * PortAudio Portable Real-Time Audio Library - * Latest Version at: http://www.portaudio.com - * - * Copyright (c) 1999-2008 Phil Burk and Ross Bencina - * - * Permission is hereby granted, free of charge, to any person obtaining - * a copy of this software and associated documentation files - * (the "Software"), to deal in the Software without restriction, - * including without limitation the rights to use, copy, modify, merge, - * publish, distribute, sublicense, and/or sell copies of the Software, - * and to permit persons to whom the Software is furnished to do so, - * subject to the following conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR - * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION - * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -/* - * The text above constitutes the entire PortAudio license; however, - * the PortAudio community also makes the following non-binding requests: - * - * Any person wishing to distribute modifications to the Software is - * requested to send the modifications to the original developer so that - * they can be incorporated into the canonical version. It is also - * requested that these non-binding requests be included along with the - * license above. - */ - - -PortAudio is a portable audio I/O library designed for cross-platform -support of audio. It uses either a callback mechanism to request audio -processing, or blocking read/write calls to buffer data between the -native audio subsystem and the client. Audio can be processed in various -formats, including 32 bit floating point, and will be converted to the -native format internally. - -Documentation: - Documentation is available in "/doc/html/index.html" - Also see "src/common/portaudio.h" for API spec. - Also see http://www.portaudio.com/docs/ - And see the "test/" directory for many examples of usage - (we suggest "test/patest_saw.c" for an example) - -For information on compiling programs with PortAudio, please see the -tutorial at: - - http://portaudio.com/trac/wiki/TutorialDir/TutorialStart - -We have an active mailing list for user and developer discussions. -Please feel free to join. See http://www.portaudio.com for details. - - -Important Files and Folders: - include/portaudio.h = header file for PortAudio API. Specifies API. - src/common/ = platform independant code, host independant - code for all implementations. - src/os = os specific (but host api neutral) code - src/hostapi = implementations for different host apis - - -Host API Implementations: - src/hostapi/alsa = Advanced Linux Sound Architecture (ALSA) - src/hostapi/asihpi = AudioScience HPI - src/hostapi/asio = ASIO for Windows and Macintosh - src/hostapi/coreaudio = Macintosh Core Audio for OS X - src/hostapi/dsound = Windows Direct Sound - src/hostapi/jack = JACK Audio Connection Kit - src/hostapi/oss = Unix Open Sound System (OSS) - src/hostapi/wasapi = Windows Vista WASAPI - src/hostapi/wdmks = Windows WDM Kernel Streaming - src/hostapi/wmme = Windows MultiMedia Extensions (MME) - - -Test Programs: - test/pa_fuzz.c = guitar fuzz box - test/pa_devs.c = print a list of available devices - test/pa_minlat.c = determine minimum latency for your machine - test/paqa_devs.c = self test that opens all devices - test/paqa_errs.c = test error detection and reporting - test/patest_clip.c = hear a sine wave clipped and unclipped - test/patest_dither.c = hear effects of dithering (extremely subtle) - test/patest_pink.c = fun with pink noise - test/patest_record.c = record and playback some audio - test/patest_maxsines.c = how many sine waves can we play? Tests Pa_GetCPULoad(). - test/patest_sine.c = output a sine wave in a simple PA app - test/patest_sync.c = test syncronization of audio and video - test/patest_wire.c = pass input to output, wire simulator diff --git a/res/pjproject/third_party/portaudio/SConstruct b/res/pjproject/third_party/portaudio/SConstruct deleted file mode 100644 index 37e67bacd3..0000000000 --- a/res/pjproject/third_party/portaudio/SConstruct +++ /dev/null @@ -1,197 +0,0 @@ -import sys, os.path - -def rsplit(toSplit, sub, max=-1): - """ str.rsplit seems to have been introduced in 2.4 :( """ - l = [] - i = 0 - while i != max: - try: idx = toSplit.rindex(sub) - except ValueError: break - - toSplit, splitOff = toSplit[:idx], toSplit[idx + len(sub):] - l.insert(0, splitOff) - i += 1 - - l.insert(0, toSplit) - return l - -sconsDir = os.path.join("build", "scons") -SConscript(os.path.join(sconsDir, "SConscript_common")) -Import("Platform", "Posix", "ApiVer") - -# SConscript_opts exports PortAudio options -optsDict = SConscript(os.path.join(sconsDir, "SConscript_opts")) -optionsCache = os.path.join(sconsDir, "options.cache") # Save options between runs in this cache -options = Options(optionsCache, args=ARGUMENTS) -for k in ("Installation Dirs", "Build Targets", "Host APIs", "Build Parameters", "Bindings"): - options.AddOptions(*optsDict[k]) -# Propagate options into environment -env = Environment(options=options) -# Save options for next run -options.Save(optionsCache, env) -# Generate help text for options -env.Help(options.GenerateHelpText(env)) - -buildDir = os.path.join("#", sconsDir, env["PLATFORM"]) - -# Determine parameters to build tools -if Platform in Posix: - threadCFlags = '' - if Platform != 'darwin': - threadCFlags = "-pthread " - baseLinkFlags = threadCFlags - baseCxxFlags = baseCFlags = "-Wall -pedantic -pipe " + threadCFlags - debugCxxFlags = debugCFlags = "-g" - optCxxFlags = optCFlags = "-O2" -env.Append(CCFLAGS = baseCFlags) -env.Append(CXXFLAGS = baseCxxFlags) -env.Append(LINKFLAGS = baseLinkFlags) -if env["enableDebug"]: - env.AppendUnique(CCFLAGS=debugCFlags.split()) - env.AppendUnique(CXXFLAGS=debugCxxFlags.split()) -if env["enableOptimize"]: - env.AppendUnique(CCFLAGS=optCFlags.split()) - env.AppendUnique(CXXFLAGS=optCxxFlags.split()) -if not env["enableAsserts"]: - env.AppendUnique(CPPDEFINES=["-DNDEBUG"]) -if env["customCFlags"]: - env.Append(CCFLAGS=Split(env["customCFlags"])) -if env["customCxxFlags"]: - env.Append(CXXFLAGS=Split(env["customCxxFlags"])) -if env["customLinkFlags"]: - env.Append(LINKFLAGS=Split(env["customLinkFlags"])) - -env.Append(CPPPATH=[os.path.join("#", "include"), "common"]) - -# Store all signatures in one file, otherwise .sconsign files will get installed along with our own files -env.SConsignFile(os.path.join(sconsDir, ".sconsign")) - -env.SConscriptChdir(False) -sources, sharedLib, staticLib, tests, portEnv, hostApis = env.SConscript(os.path.join("src", "SConscript"), - build_dir=buildDir, duplicate=False, exports=["env"]) - -if Platform in Posix: - prefix = env["prefix"] - includeDir = os.path.join(prefix, "include") - libDir = os.path.join(prefix, "lib") - env.Alias("install", includeDir) - env.Alias("install", libDir) - - # pkg-config - - def installPkgconfig(env, target, source): - tgt = str(target[0]) - src = str(source[0]) - f = open(src) - try: txt = f.read() - finally: f.close() - txt = txt.replace("@prefix@", prefix) - txt = txt.replace("@exec_prefix@", prefix) - txt = txt.replace("@libdir@", libDir) - txt = txt.replace("@includedir@", includeDir) - txt = txt.replace("@LIBS@", " ".join(["-l%s" % l for l in portEnv["LIBS"]])) - txt = txt.replace("@THREAD_CFLAGS@", threadCFlags) - - f = open(tgt, "w") - try: f.write(txt) - finally: f.close() - - pkgconfigTgt = "portaudio-%d.0.pc" % int(ApiVer.split(".", 1)[0]) - env.Command(os.path.join(libDir, "pkgconfig", pkgconfigTgt), - os.path.join("#", pkgconfigTgt + ".in"), installPkgconfig) - -# Default to None, since if the user disables all targets and no Default is set, all targets -# are built by default -env.Default(None) -if env["enableTests"]: - env.Default(tests) -if env["enableShared"]: - env.Default(sharedLib) - - if Platform in Posix: - def symlink(env, target, source): - trgt = str(target[0]) - src = str(source[0]) - - if os.path.islink(trgt) or os.path.exists(trgt): - os.remove(trgt) - os.symlink(os.path.basename(src), trgt) - - major, minor, micro = [int(c) for c in ApiVer.split(".")] - - soFile = "%s.%s" % (os.path.basename(str(sharedLib[0])), ApiVer) - env.InstallAs(target=os.path.join(libDir, soFile), source=sharedLib) - # Install symlinks - symTrgt = os.path.join(libDir, soFile) - env.Command(os.path.join(libDir, "libportaudio.so.%d.%d" % (major, minor)), - symTrgt, symlink) - symTrgt = rsplit(symTrgt, ".", 1)[0] - env.Command(os.path.join(libDir, "libportaudio.so.%d" % major), symTrgt, symlink) - symTrgt = rsplit(symTrgt, ".", 1)[0] - env.Command(os.path.join(libDir, "libportaudio.so"), symTrgt, symlink) - -if env["enableStatic"]: - env.Default(staticLib) - env.Install(libDir, staticLib) - -env.Install(includeDir, os.path.join("include", "portaudio.h")) - - -if env["enableCxx"]: - env.SConscriptChdir(True) - cxxEnv = env.Copy() - sharedLibs, staticLibs, headers = env.SConscript(os.path.join("bindings", "cpp", "SConscript"), - exports={"env": cxxEnv, "buildDir": buildDir}, build_dir=os.path.join(buildDir, "portaudiocpp"), duplicate=False) - if env["enableStatic"]: - env.Default(staticLibs) - env.Install(libDir, staticLibs) - if env["enableShared"]: - env.Default(sharedLibs) - env.Install(libDir, sharedLibs) - env.Install(os.path.join(includeDir, "portaudiocpp"), headers) - -# Generate portaudio_config.h header with compile-time definitions of which PA -# back-ends are available, and which includes back-end extension headers - -# Host-specific headers -hostApiHeaders = {"ALSA": "pa_linux_alsa.h", - "ASIO": "pa_asio.h", - "COREAUDIO": "pa_mac_core.h", - "JACK": "pa_jack.h", - "WMME": "pa_winwmme.h", - } - -def buildConfigH(target, source, env): - """builder for portaudio_config.h""" - global hostApiHeaders, hostApis - out = "" - for hostApi in hostApis: - out += "#define PA_HAVE_%s\n" % hostApi - - hostApiSpecificHeader = hostApiHeaders.get(hostApi, None) - if hostApiSpecificHeader: - out += "#include \"%s\"\n" % hostApiSpecificHeader - - out += "\n" - # Strip the last newline - if out and out[-1] == "\n": - out = out[:-1] - - f = file(str(target[0]), 'w') - try: f.write(out) - finally: f.close() - return 0 - -# Define the builder for the config header -env.Append(BUILDERS={"portaudioConfig": env.Builder( - action=Action(buildConfigH), target_factory=env.fs.File)}) - -confH = env.portaudioConfig(File("portaudio_config.h", "include"), - File("portaudio.h", "include")) -env.Default(confH) -env.Install(os.path.join(includeDir, "portaudio"), confH) - -for api in hostApis: - if api in hostApiHeaders: - env.Install(os.path.join(includeDir, "portaudio"), - File(hostApiHeaders[api], "include")) diff --git a/res/pjproject/third_party/portaudio/aclocal.m4 b/res/pjproject/third_party/portaudio/aclocal.m4 deleted file mode 100644 index 9e5b4fd03d..0000000000 --- a/res/pjproject/third_party/portaudio/aclocal.m4 +++ /dev/null @@ -1,6627 +0,0 @@ -# aclocal.m4 generated automatically by aclocal 1.6.3 -*- Autoconf -*- - -# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 -# Free Software Foundation, Inc. -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- - -# serial 48 AC_PROG_LIBTOOL - - -# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) -# ----------------------------------------------------------- -# If this macro is not defined by Autoconf, define it here. -m4_ifdef([AC_PROVIDE_IFELSE], - [], - [m4_define([AC_PROVIDE_IFELSE], - [m4_ifdef([AC_PROVIDE_$1], - [$2], [$3])])]) - - -# AC_PROG_LIBTOOL -# --------------- -AC_DEFUN([AC_PROG_LIBTOOL], -[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl -dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX -dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. - AC_PROVIDE_IFELSE([AC_PROG_CXX], - [AC_LIBTOOL_CXX], - [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX - ])]) -dnl And a similar setup for Fortran 77 support - AC_PROVIDE_IFELSE([AC_PROG_F77], - [AC_LIBTOOL_F77], - [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 -])]) - -dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. -dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run -dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. - AC_PROVIDE_IFELSE([AC_PROG_GCJ], - [AC_LIBTOOL_GCJ], - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], - [AC_LIBTOOL_GCJ], - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], - [AC_LIBTOOL_GCJ], - [ifdef([AC_PROG_GCJ], - [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) - ifdef([A][M_PROG_GCJ], - [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) - ifdef([LT_AC_PROG_GCJ], - [define([LT_AC_PROG_GCJ], - defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) -])])# AC_PROG_LIBTOOL - - -# _AC_PROG_LIBTOOL -# ---------------- -AC_DEFUN([_AC_PROG_LIBTOOL], -[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl -AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl -AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl -AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl - -# This can be used to rebuild libtool when needed -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" - -# Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' -AC_SUBST(LIBTOOL)dnl - -# Prevent multiple expansion -define([AC_PROG_LIBTOOL], []) -])# _AC_PROG_LIBTOOL - - -# AC_LIBTOOL_SETUP -# ---------------- -AC_DEFUN([AC_LIBTOOL_SETUP], -[AC_PREREQ(2.50)dnl -AC_REQUIRE([AC_ENABLE_SHARED])dnl -AC_REQUIRE([AC_ENABLE_STATIC])dnl -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_PROG_LD])dnl -AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl -AC_REQUIRE([AC_PROG_NM])dnl - -AC_REQUIRE([AC_PROG_LN_S])dnl -AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! -AC_REQUIRE([AC_OBJEXT])dnl -AC_REQUIRE([AC_EXEEXT])dnl -dnl - -AC_LIBTOOL_SYS_MAX_CMD_LEN -AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -AC_LIBTOOL_OBJDIR - -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl -_LT_AC_PROG_ECHO_BACKSLASH - -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES - fi - ;; -esac - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed='sed -e 1s/^X//' -[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] - -# Same as above, but do not quote variable references. -[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] - -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' - -# Sed substitution to avoid accidental globbing in evaled expressions -no_glob_subst='s/\*/\\\*/g' - -# Constants: -rm="rm -f" - -# Global variables: -default_ofile=libtool -can_build_shared=yes - -# All known linkers require a `.a' archive for static linking (except MSVC, -# which needs '.lib'). -libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" - -AC_CHECK_TOOL(AR, ar, false) -AC_CHECK_TOOL(RANLIB, ranlib, :) -AC_CHECK_TOOL(STRIP, strip, :) - -old_CC="$CC" -old_CFLAGS="$CFLAGS" - -# Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as -test -z "$CC" && CC=cc -test -z "$LTCC" && LTCC=$CC -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS -test -z "$DLLTOOL" && DLLTOOL=dlltool -test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$SED" && SED=sed -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: -test -z "$ac_objext" && ac_objext=o - -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= - -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" - ;; - *) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" -fi - -_LT_CC_BASENAME([$compiler]) - -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - AC_PATH_MAGIC - fi - ;; -esac - -AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], -enable_win32_dll=yes, enable_win32_dll=no) - -AC_ARG_ENABLE([libtool-lock], - [AC_HELP_STRING([--disable-libtool-lock], - [avoid locking (might break parallel builds)])]) -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes - -AC_ARG_WITH([pic], - [AC_HELP_STRING([--with-pic], - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], - [pic_mode="$withval"], - [pic_mode=default]) -test -z "$pic_mode" && pic_mode=default - -# Check if we have a version mismatch between libtool.m4 and ltmain.sh. -# -# Note: This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined. -# We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually -# calls AC_LIBTOOL_CONFIG and creates libtool. -# -_LT_VERSION_CHECK - -# Use C for the default configuration in the libtool script -tagname= -AC_LIBTOOL_LANG_C_CONFIG -_LT_AC_TAGCONFIG -])# AC_LIBTOOL_SETUP - - -# _LT_VERSION_CHECK -# ----------------- -AC_DEFUN([_LT_VERSION_CHECK], -[AC_MSG_CHECKING([for correct ltmain.sh version]) -if test "x$ltmain" = "x" ; then - AC_MSG_RESULT(no) - AC_MSG_ERROR([ - -*** @<:@Gentoo@:>@ sanity check failed! *** -*** \$ltmain is not defined, please check the patch for consistency! *** -]) -fi -gentoo_lt_version="1.5.22" -gentoo_ltmain_version=`sed -n '/^[[ ]]*VERSION=/{s/^[[ ]]*VERSION=//;p;q;}' "$ltmain"` -if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then - AC_MSG_RESULT(no) - AC_MSG_ERROR([ - -*** @<:@Gentoo@:>@ sanity check failed! *** -*** libtool.m4 and ltmain.sh have a version mismatch! *** -*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) *** - -Please run: - - libtoolize --copy --force - -if appropriate, please contact the maintainer of this -package (or your distribution) for help. -]) -else - AC_MSG_RESULT(yes) -fi -])# _LT_VERSION_CHECK - - -# _LT_AC_SYS_COMPILER -# ------------------- -AC_DEFUN([_LT_AC_SYS_COMPILER], -[AC_REQUIRE([AC_PROG_CC])dnl - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC -])# _LT_AC_SYS_COMPILER - - -# _LT_CC_BASENAME(CC) -# ------------------- -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. -AC_DEFUN([_LT_CC_BASENAME], -[for cc_temp in $1""; do - case $cc_temp in - compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; - distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` -]) - - -# _LT_COMPILER_BOILERPLATE -# ------------------------ -# Check for compiler boilerplate output or warnings with -# the simple compiler test code. -AC_DEFUN([_LT_COMPILER_BOILERPLATE], -[ac_outfile=conftest.$ac_objext -printf "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$rm conftest* -])# _LT_COMPILER_BOILERPLATE - - -# _LT_LINKER_BOILERPLATE -# ---------------------- -# Check for linker boilerplate output or warnings with -# the simple link test code. -AC_DEFUN([_LT_LINKER_BOILERPLATE], -[ac_outfile=conftest.$ac_objext -printf "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$rm conftest* -])# _LT_LINKER_BOILERPLATE - - -# _LT_AC_SYS_LIBPATH_AIX -# ---------------------- -# Links a minimal program and checks the executable -# for the system default hardcoded library path. In most cases, -# this is /usr/lib:/lib, but when the MPI compilers are used -# the location of the communication and MPI libs are included too. -# If we don't find anything, use the default library path according -# to the aix ld manual. -AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], -[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } -}'` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } -}'`; fi],[]) -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi -])# _LT_AC_SYS_LIBPATH_AIX - - -# _LT_AC_SHELL_INIT(ARG) -# ---------------------- -AC_DEFUN([_LT_AC_SHELL_INIT], -[ifdef([AC_DIVERSION_NOTICE], - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], - [AC_DIVERT_PUSH(NOTICE)]) -$1 -AC_DIVERT_POP -])# _LT_AC_SHELL_INIT - - -# _LT_AC_PROG_ECHO_BACKSLASH -# -------------------------- -# Add some code to the start of the generated configure script which -# will find an echo command which doesn't interpret backslashes. -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], -[_LT_AC_SHELL_INIT([ -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` - ;; -esac - -echo=${ECHO-echo} -if test "X[$]1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X[$]1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then - # Yippee, $echo works! - : -else - # Restart under the correct shell. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} -fi - -if test "X[$]1" = X--fallback-echo; then - # used as fallback echo - shift - cat </dev/null 2>&1 && unset CDPATH - -if test -z "$ECHO"; then -if test "X${echo_test_string+set}" != Xset; then -# find a string as large as possible, as long as the shell can cope with it - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... - if (echo_test_string=`eval $cmd`) 2>/dev/null && - echo_test_string=`eval $cmd` && - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null - then - break - fi - done -fi - -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - : -else - # The Solaris, AIX, and Digital Unix default echo programs unquote - # backslashes. This makes it impossible to quote backslashes using - # echo "$something" | sed 's/\\/\\\\/g' - # - # So, first we look for a working echo in the user's PATH. - - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for dir in $PATH /usr/ucb; do - IFS="$lt_save_ifs" - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - echo="$dir/echo" - break - fi - done - IFS="$lt_save_ifs" - - if test "X$echo" = Xecho; then - # We didn't find a better echo, so look for alternatives. - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # This shell has a builtin print -r that does the trick. - echo='print -r' - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && - test "X$CONFIG_SHELL" != X/bin/ksh; then - # If we have ksh, try running configure again with it. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} - export ORIGINAL_CONFIG_SHELL - CONFIG_SHELL=/bin/ksh - export CONFIG_SHELL - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} - else - # Try using printf. - echo='printf %s\n' - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # Cool, printf works - : - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL - export CONFIG_SHELL - SHELL="$CONFIG_SHELL" - export SHELL - echo="$CONFIG_SHELL [$]0 --fallback-echo" - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - echo="$CONFIG_SHELL [$]0 --fallback-echo" - else - # maybe with a smaller string... - prev=: - - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null - then - break - fi - prev="$cmd" - done - - if test "$prev" != 'sed 50q "[$]0"'; then - echo_test_string=`eval $prev` - export echo_test_string - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} - else - # Oops. We lost completely, so just stick with echo. - echo=echo - fi - fi - fi - fi -fi -fi - -# Copy echo and quote the copy suitably for passing to libtool from -# the Makefile, instead of quoting the original, which is used later. -ECHO=$echo -if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then - ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" -fi - -AC_SUBST(ECHO) -])])# _LT_AC_PROG_ECHO_BACKSLASH - - -# _LT_AC_LOCK -# ----------- -AC_DEFUN([_LT_AC_LOCK], -[AC_ARG_ENABLE([libtool-lock], - [AC_HELP_STRING([--disable-libtool-lock], - [avoid locking (might break parallel builds)])]) -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes - -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -ia64-*-hpux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *ELF-32*) - HPUX_IA64_MODE="32" - ;; - *ELF-64*) - HPUX_IA64_MODE="64" - ;; - esac - fi - rm -rf conftest* - ;; -*-*-irix6*) - # Find out which ABI we are using. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - if test "$lt_cv_prog_gnu_ld" = yes; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -melf32bsmip" - ;; - *N32*) - LD="${LD-ld} -melf32bmipn32" - ;; - *64-bit*) - LD="${LD-ld} -melf64bmip" - ;; - esac - else - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - fi - rm -rf conftest* - ;; - -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in - *32-bit*) - case $host in - x86_64-*linux*) - LD="${LD-ld} -m elf_i386" - ;; - ppc64-*linux*|powerpc64-*linux*) - LD="${LD-ld} -m elf32ppclinux" - ;; - s390x-*linux*) - LD="${LD-ld} -m elf_s390" - ;; - sparc64-*linux*) - LD="${LD-ld} -m elf32_sparc" - ;; - esac - ;; - *64-bit*) - case $host in - x86_64-*linux*) - LD="${LD-ld} -m elf_x86_64" - ;; - ppc*-*linux*|powerpc*-*linux*) - LD="${LD-ld} -m elf64ppc" - ;; - s390*-*linux*) - LD="${LD-ld} -m elf64_s390" - ;; - sparc*-*linux*) - LD="${LD-ld} -m elf64_sparc" - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; - -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, - [AC_LANG_PUSH(C) - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) - AC_LANG_POP]) - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; -sparc*-*solaris*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in - *64-bit*) - case $lt_cv_prog_gnu_ld in - yes*) LD="${LD-ld} -m elf64_sparc" ;; - *) LD="${LD-ld} -64" ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; - -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], -[*-*-cygwin* | *-*-mingw* | *-*-pw32*) - AC_CHECK_TOOL(DLLTOOL, dlltool, false) - AC_CHECK_TOOL(AS, as, false) - AC_CHECK_TOOL(OBJDUMP, objdump, false) - ;; - ]) -esac - -need_locks="$enable_libtool_lock" - -])# _LT_AC_LOCK - - -# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, -# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) -# ---------------------------------------------------------------- -# Check whether the given compiler option works -AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], -[AC_REQUIRE([LT_AC_PROG_SED]) -AC_CACHE_CHECK([$1], [$2], - [$2=no - ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) - printf "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$3" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - $2=yes - fi - fi - $rm conftest* -]) - -if test x"[$]$2" = xyes; then - ifelse([$5], , :, [$5]) -else - ifelse([$6], , :, [$6]) -fi -])# AC_LIBTOOL_COMPILER_OPTION - - -# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, -# [ACTION-SUCCESS], [ACTION-FAILURE]) -# ------------------------------------------------------------ -# Check whether the given compiler option works -AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], -[AC_CACHE_CHECK([$1], [$2], - [$2=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $3" - printf "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&AS_MESSAGE_LOG_FD - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - $2=yes - fi - else - $2=yes - fi - fi - $rm conftest* - LDFLAGS="$save_LDFLAGS" -]) - -if test x"[$]$2" = xyes; then - ifelse([$4], , :, [$4]) -else - ifelse([$5], , :, [$5]) -fi -])# AC_LIBTOOL_LINKER_OPTION - - -# AC_LIBTOOL_SYS_MAX_CMD_LEN -# -------------------------- -AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], -[# find the maximum length of command line arguments -AC_MSG_CHECKING([the maximum length of command line arguments]) -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl - i=0 - teststring="ABCD" - - case $build_os in - msdosdjgpp*) - # On DJGPP, this test can blow up pretty badly due to problems in libc - # (any single argument exceeding 2000 bytes causes a buffer overrun - # during glob expansion). Even if it were fixed, the result of this - # check would be larger than it should be. - lt_cv_sys_max_cmd_len=12288; # 12K is about right - ;; - - gnu*) - # Under GNU Hurd, this test is not required because there is - # no limit to the length of command line arguments. - # Libtool will interpret -1 as no limit whatsoever - lt_cv_sys_max_cmd_len=-1; - ;; - - cygwin* | mingw*) - # On Win9x/ME, this test blows up -- it succeeds, but takes - # about 5 minutes as the teststring grows exponentially. - # Worse, since 9x/ME are not pre-emptively multitasking, - # you end up with a "frozen" computer, even though with patience - # the test eventually succeeds (with a max line length of 256k). - # Instead, let's just punt: use the minimum linelength reported by - # all of the supported platforms: 8192 (on NT/2K/XP). - lt_cv_sys_max_cmd_len=8192; - ;; - - amigaos*) - # On AmigaOS with pdksh, this test takes hours, literally. - # So we just punt and use a minimum line length of 8192. - lt_cv_sys_max_cmd_len=8192; - ;; - - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) - # This has been around since 386BSD, at least. Likely further. - if test -x /sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` - elif test -x /usr/sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` - else - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs - fi - # And add a safety zone - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - ;; - - interix*) - # We know the value 262144 and hardcode it with a safety zone (like BSD) - lt_cv_sys_max_cmd_len=196608 - ;; - - osf*) - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not - # nice to cause kernel panics so lets avoid the loop below. - # First set a reasonable default. - lt_cv_sys_max_cmd_len=16384 - # - if test -x /sbin/sysconfig; then - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in - *1*) lt_cv_sys_max_cmd_len=-1 ;; - esac - fi - ;; - sco3.2v5*) - lt_cv_sys_max_cmd_len=102400 - ;; - sysv5* | sco5v6* | sysv4.2uw2*) - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` - if test -n "$kargmax"; then - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` - else - lt_cv_sys_max_cmd_len=32768 - fi - ;; - *) - # If test is not a shell built-in, we'll probably end up computing a - # maximum length that is only half of the actual maximum length, but - # we can't tell. - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} - while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ - = "XX$teststring") >/dev/null 2>&1 && - new_result=`expr "X$teststring" : ".*" 2>&1` && - lt_cv_sys_max_cmd_len=$new_result && - test $i != 17 # 1/2 MB should be enough - do - i=`expr $i + 1` - teststring=$teststring$teststring - done - teststring= - # Add a significant safety factor because C++ compilers can tack on massive - # amounts of additional arguments before passing them to the linker. - # It appears as though 1/2 is a usable value. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` - ;; - esac -]) -if test -n $lt_cv_sys_max_cmd_len ; then - AC_MSG_RESULT($lt_cv_sys_max_cmd_len) -else - AC_MSG_RESULT(none) -fi -])# AC_LIBTOOL_SYS_MAX_CMD_LEN - - -# _LT_AC_CHECK_DLFCN -# ------------------ -AC_DEFUN([_LT_AC_CHECK_DLFCN], -[AC_CHECK_HEADERS(dlfcn.h)dnl -])# _LT_AC_CHECK_DLFCN - - -# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) -# --------------------------------------------------------------------- -AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl -if test "$cross_compiling" = yes; then : - [$4] -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext < -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -#ifdef __cplusplus -extern "C" void exit (int); -#endif - -void fnord() { int i=42;} -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } - else - puts (dlerror ()); - - exit (status); -}] -EOF - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) $1 ;; - x$lt_dlneed_uscore) $2 ;; - x$lt_dlunknown|x*) $3 ;; - esac - else : - # compilation failed - $3 - fi -fi -rm -fr conftest* -])# _LT_AC_TRY_DLOPEN_SELF - - -# AC_LIBTOOL_DLOPEN_SELF -# ---------------------- -AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl -if test "x$enable_dlopen" != xyes; then - enable_dlopen=unknown - enable_dlopen_self=unknown - enable_dlopen_self_static=unknown -else - lt_cv_dlopen=no - lt_cv_dlopen_libs= - - case $host_os in - beos*) - lt_cv_dlopen="load_add_on" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ;; - - mingw* | pw32*) - lt_cv_dlopen="LoadLibrary" - lt_cv_dlopen_libs= - ;; - - cygwin*) - lt_cv_dlopen="dlopen" - lt_cv_dlopen_libs= - ;; - - darwin*) - # if libdl is installed we need to link against it - AC_CHECK_LIB([dl], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ - lt_cv_dlopen="dyld" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ]) - ;; - - *) - AC_CHECK_FUNC([shl_load], - [lt_cv_dlopen="shl_load"], - [AC_CHECK_LIB([dld], [shl_load], - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], - [AC_CHECK_FUNC([dlopen], - [lt_cv_dlopen="dlopen"], - [AC_CHECK_LIB([dl], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], - [AC_CHECK_LIB([svld], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], - [AC_CHECK_LIB([dld], [dld_link], - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) - ]) - ]) - ]) - ]) - ]) - ;; - esac - - if test "x$lt_cv_dlopen" != xno; then - enable_dlopen=yes - else - enable_dlopen=no - fi - - case $lt_cv_dlopen in - dlopen) - save_CPPFLAGS="$CPPFLAGS" - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" - - save_LDFLAGS="$LDFLAGS" - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" - - save_LIBS="$LIBS" - LIBS="$lt_cv_dlopen_libs $LIBS" - - AC_CACHE_CHECK([whether a program can dlopen itself], - lt_cv_dlopen_self, [dnl - _LT_AC_TRY_DLOPEN_SELF( - lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, - lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) - ]) - - if test "x$lt_cv_dlopen_self" = xyes; then - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" - AC_CACHE_CHECK([whether a statically linked program can dlopen itself], - lt_cv_dlopen_self_static, [dnl - _LT_AC_TRY_DLOPEN_SELF( - lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, - lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) - ]) - fi - - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" - ;; - esac - - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac - - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac -fi -])# AC_LIBTOOL_DLOPEN_SELF - - -# AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) -# --------------------------------- -# Check to see if options -c and -o are simultaneously supported by compiler -AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no - $rm -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - printf "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes - fi - fi - chmod u+w . 2>&AS_MESSAGE_LOG_FD - $rm conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files - $rm out/* && rmdir out - cd .. - rmdir conftest - $rm conftest* -]) -])# AC_LIBTOOL_PROG_CC_C_O - - -# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) -# ----------------------------------------- -# Check to see if we can do hard links to lock some files if needed -AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], -[AC_REQUIRE([_LT_AC_LOCK])dnl - -hard_links="nottested" -if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - AC_MSG_CHECKING([if we can lock with hard links]) - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - AC_MSG_RESULT([$hard_links]) - if test "$hard_links" = no; then - AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) - need_locks=warn - fi -else - need_locks=no -fi -])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS - - -# AC_LIBTOOL_OBJDIR -# ----------------- -AC_DEFUN([AC_LIBTOOL_OBJDIR], -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], -[rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - lt_cv_objdir=.libs -else - # MS-DOS does not allow filenames that begin with a dot. - lt_cv_objdir=_libs -fi -rmdir .libs 2>/dev/null]) -objdir=$lt_cv_objdir -])# AC_LIBTOOL_OBJDIR - - -# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) -# ---------------------------------------------- -# Check hardcoding attributes. -AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], -[AC_MSG_CHECKING([how to hardcode library paths into programs]) -_LT_AC_TAGVAR(hardcode_action, $1)= -if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ - test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ - test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then - - # We can hardcode non-existant directories. - if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && - test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then - # Linking always hardcodes the temporary library directory. - _LT_AC_TAGVAR(hardcode_action, $1)=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - _LT_AC_TAGVAR(hardcode_action, $1)=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - _LT_AC_TAGVAR(hardcode_action, $1)=unsupported -fi -AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) - -if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi -])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH - - -# AC_LIBTOOL_SYS_LIB_STRIP -# ------------------------ -AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], -[striplib= -old_striplib= -AC_MSG_CHECKING([whether stripping libraries is possible]) -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - AC_MSG_RESULT([yes]) -else -# FIXME - insert some real tests, host_os isn't really good enough - case $host_os in - darwin*) - if test -n "$STRIP" ; then - striplib="$STRIP -x" - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) -fi - ;; - *) - AC_MSG_RESULT([no]) - ;; - esac -fi -])# AC_LIBTOOL_SYS_LIB_STRIP - - -# AC_LIBTOOL_SYS_DYNAMIC_LINKER -# ----------------------------- -# PORTME Fill in your ld.so characteristics -AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], -[AC_MSG_CHECKING([dynamic linker characteristics]) -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=".so" -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -if test "$GCC" = yes; then - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then - # if the path contains ";" then we assume it to be the separator - # otherwise default to the standard path separator (i.e. ":") - it is - # assumed that no part of a normal pathname contains ";" but that should - # okay in the real world where ";" in dirpaths is itself problematic. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi -else - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -fi -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}${shared_ext}$major' - ;; - -aix4* | aix5*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[[01]] | aix4.[[01]].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}${shared_ext}$major' - fi - shlibpath_var=LIBPATH - fi - ;; - -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; - -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[[45]]*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; - -cygwin* | mingw* | pw32*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - shlibpath_overrides_runpath=yes - - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; - mingw*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - ;; - esac - ;; - - linux*) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - supports_anon_versioning=no - case `$LD -v 2>/dev/null` in - *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... - *\ 2.11.*) ;; # other 2.11 versions - *) supports_anon_versioning=yes ;; - esac - if test $supports_anon_versioning = yes; then - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ -$echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - else - $archive_expsym_cmds="$archive_cmds" - fi - else - ld_shlibs=no - fi - ;; - - *) - library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' - soname_spec='${libname}${release}${major}$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. - if test "$GCC" = yes; then - sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` - else - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' - fi - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -kfreebsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='GNU ld.so' - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[[123]]*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - # Handle Gentoo/FreeBSD as it was Linux - case $host_vendor in - gentoo) - version_type=linux ;; - *) - version_type=freebsd-$objformat ;; - esac - - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' - need_version=yes - ;; - linux) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - need_lib_prefix=no - need_version=no - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[[01]]* | freebsdelf3.[[01]]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ - freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - freebsd*) # from 4.6 on - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - if test "X$HPUX_IA64_MODE" = X32; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - fi - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - -interix3*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - hardcode_into_libs=yes - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; - -# This must be Linux ELF. -linux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; - -knetbsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='GNU ld.so' - ;; - -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - -newsos6) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -nto-qnx*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case $host_os in - openbsd2.[[89]] | openbsd2.[[89]].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - ;; - -os2*) - libname_spec='$name' - shrext_cmds=".dll" - need_lib_prefix=no - library_names_spec='$libname${shared_ext} $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; - -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - ;; - -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; - -sysv4 | sysv4.3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; - -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' - soname_spec='$libname${shared_ext}.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - shlibpath_overrides_runpath=no - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - shlibpath_overrides_runpath=yes - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -uts4*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -*) - dynamic_linker=no - ;; -esac -AC_MSG_RESULT([$dynamic_linker]) -test "$dynamic_linker" = no && can_build_shared=no - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi -])# AC_LIBTOOL_SYS_DYNAMIC_LINKER - - -# _LT_AC_TAGCONFIG -# ---------------- -AC_DEFUN([_LT_AC_TAGCONFIG], -[AC_ARG_WITH([tags], - [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], - [include additional configurations @<:@automatic@:>@])], - [tagnames="$withval"]) - -if test -f "$ltmain" && test -n "$tagnames"; then - if test ! -f "${ofile}"; then - AC_MSG_WARN([output file `$ofile' does not exist]) - fi - - if test -z "$LTCC"; then - eval "`$SHELL ${ofile} --config | grep '^LTCC='`" - if test -z "$LTCC"; then - AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) - else - AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) - fi - fi - if test -z "$LTCFLAGS"; then - eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" - fi - - # Extract list of available tagged configurations in $ofile. - # Note that this assumes the entire list is on one line. - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` - - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for tagname in $tagnames; do - IFS="$lt_save_ifs" - # Check whether tagname contains only valid characters - case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in - "") ;; - *) AC_MSG_ERROR([invalid tag name: $tagname]) - ;; - esac - - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null - then - AC_MSG_ERROR([tag name \"$tagname\" already exists]) - fi - - # Update the list of available tags. - if test -n "$tagname"; then - echo appending configuration tag \"$tagname\" to $ofile - - case $tagname in - CXX) - if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - AC_LIBTOOL_LANG_CXX_CONFIG - else - tagname="" - fi - ;; - - F77) - if test -n "$F77" && test "X$F77" != "Xno"; then - AC_LIBTOOL_LANG_F77_CONFIG - else - tagname="" - fi - ;; - - GCJ) - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then - AC_LIBTOOL_LANG_GCJ_CONFIG - else - tagname="" - fi - ;; - - RC) - AC_LIBTOOL_LANG_RC_CONFIG - ;; - - *) - AC_MSG_ERROR([Unsupported tag name: $tagname]) - ;; - esac - - # Append the new tag name to the list of available tags. - if test -n "$tagname" ; then - available_tags="$available_tags $tagname" - fi - fi - done - IFS="$lt_save_ifs" - - # Now substitute the updated list of available tags. - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then - mv "${ofile}T" "$ofile" - chmod +x "$ofile" - else - rm -f "${ofile}T" - AC_MSG_ERROR([unable to update list of available tagged configurations.]) - fi -fi -])# _LT_AC_TAGCONFIG - - -# AC_LIBTOOL_DLOPEN -# ----------------- -# enable checks for dlopen support -AC_DEFUN([AC_LIBTOOL_DLOPEN], - [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) -])# AC_LIBTOOL_DLOPEN - - -# AC_LIBTOOL_WIN32_DLL -# -------------------- -# declare package support for building win32 DLLs -AC_DEFUN([AC_LIBTOOL_WIN32_DLL], -[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) -])# AC_LIBTOOL_WIN32_DLL - - -# AC_ENABLE_SHARED([DEFAULT]) -# --------------------------- -# implement the --enable-shared flag -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -AC_DEFUN([AC_ENABLE_SHARED], -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE([shared], - [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], - [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_shared=yes ;; - no) enable_shared=no ;; - *) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_shared=]AC_ENABLE_SHARED_DEFAULT) -])# AC_ENABLE_SHARED - - -# AC_DISABLE_SHARED -# ----------------- -# set the default shared flag to --disable-shared -AC_DEFUN([AC_DISABLE_SHARED], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_SHARED(no) -])# AC_DISABLE_SHARED - - -# AC_ENABLE_STATIC([DEFAULT]) -# --------------------------- -# implement the --enable-static flag -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -AC_DEFUN([AC_ENABLE_STATIC], -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE([static], - [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], - [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_static=yes ;; - no) enable_static=no ;; - *) - enable_static=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_static=]AC_ENABLE_STATIC_DEFAULT) -])# AC_ENABLE_STATIC - - -# AC_DISABLE_STATIC -# ----------------- -# set the default static flag to --disable-static -AC_DEFUN([AC_DISABLE_STATIC], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_STATIC(no) -])# AC_DISABLE_STATIC - - -# AC_ENABLE_FAST_INSTALL([DEFAULT]) -# --------------------------------- -# implement the --enable-fast-install flag -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -AC_DEFUN([AC_ENABLE_FAST_INSTALL], -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE([fast-install], - [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], - [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_fast_install=yes ;; - no) enable_fast_install=no ;; - *) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) -])# AC_ENABLE_FAST_INSTALL - - -# AC_DISABLE_FAST_INSTALL -# ----------------------- -# set the default to --disable-fast-install -AC_DEFUN([AC_DISABLE_FAST_INSTALL], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_FAST_INSTALL(no) -])# AC_DISABLE_FAST_INSTALL - - -# AC_LIBTOOL_PICMODE([MODE]) -# -------------------------- -# implement the --with-pic flag -# MODE is either `yes' or `no'. If omitted, it defaults to `both'. -AC_DEFUN([AC_LIBTOOL_PICMODE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -pic_mode=ifelse($#,1,$1,default) -])# AC_LIBTOOL_PICMODE - - -# AC_PROG_EGREP -# ------------- -# This is predefined starting with Autoconf 2.54, so this conditional -# definition can be removed once we require Autoconf 2.54 or later. -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], -[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], - [if echo a | (grep -E '(a|b)') >/dev/null 2>&1 - then ac_cv_prog_egrep='grep -E' - else ac_cv_prog_egrep='egrep' - fi]) - EGREP=$ac_cv_prog_egrep - AC_SUBST([EGREP]) -])]) - - -# AC_PATH_TOOL_PREFIX -# ------------------- -# find a file program which can recognise shared library -AC_DEFUN([AC_PATH_TOOL_PREFIX], -[AC_REQUIRE([AC_PROG_EGREP])dnl -AC_MSG_CHECKING([for $1]) -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, -[case $MAGIC_CMD in -[[\\/*] | ?:[\\/]*]) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD="$MAGIC_CMD" - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -dnl $ac_dummy forces splitting on constant user-supplied paths. -dnl POSIX.2 word splitting is done only on the output of word expansions, -dnl not every word. This closes a longstanding sh security hole. - ac_dummy="ifelse([$2], , $PATH, [$2])" - for ac_dir in $ac_dummy; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$1; then - lt_cv_path_MAGIC_CMD="$ac_dir/$1" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$lt_save_ifs" - MAGIC_CMD="$lt_save_MAGIC_CMD" - ;; -esac]) -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - AC_MSG_RESULT($MAGIC_CMD) -else - AC_MSG_RESULT(no) -fi -])# AC_PATH_TOOL_PREFIX - - -# AC_PATH_MAGIC -# ------------- -# find a file program which can recognise a shared library -AC_DEFUN([AC_PATH_MAGIC], -[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) - else - MAGIC_CMD=: - fi -fi -])# AC_PATH_MAGIC - - -# AC_PROG_LD -# ---------- -# find the pathname to the GNU or non-GNU linker -AC_DEFUN([AC_PROG_LD], -[AC_ARG_WITH([gnu-ld], - [AC_HELP_STRING([--with-gnu-ld], - [assume the C compiler uses GNU ld @<:@default=no@:>@])], - [test "$withval" = no || with_gnu_ld=yes], - [with_gnu_ld=no]) -AC_REQUIRE([LT_AC_PROG_SED])dnl -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - AC_MSG_CHECKING([for ld used by $CC]) - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [[\\/]]* | ?:[[\\/]]*) - re_direlt='/[[^/]][[^/]]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - AC_MSG_CHECKING([for GNU ld]) -else - AC_MSG_CHECKING([for non-GNU ld]) -fi -AC_CACHE_VAL(lt_cv_path_LD, -[if test -z "$LD"; then - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - ;; - esac - else - lt_cv_deplibs_check_method=pass_all - fi - ;; - -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; - -hpux10.20* | hpux11*) - lt_cv_file_magic_cmd=/usr/bin/file - case $host_cpu in - ia64*) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so - ;; - hppa*64*) - [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl - ;; - *) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; - esac - ;; - -interix3*) - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' - ;; - -irix5* | irix6* | nonstopux*) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - lt_cv_deplibs_check_method=pass_all - ;; - -# This must be Linux ELF. -linux*) - lt_cv_deplibs_check_method=pass_all - ;; - -netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' - fi - ;; - -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; - -nto-qnx*) - lt_cv_deplibs_check_method=unknown - ;; - -openbsd*) - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' - fi - ;; - -osf3* | osf4* | osf5*) - lt_cv_deplibs_check_method=pass_all - ;; - -solaris*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv4 | sysv4.3*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all - ;; - pc) - lt_cv_deplibs_check_method=pass_all - ;; - esac - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; -esac -]) -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -test -z "$deplibs_check_method" && deplibs_check_method=unknown -])# AC_DEPLIBS_CHECK_METHOD - - -# AC_PROG_NM -# ---------- -# find the pathname to a BSD-compatible name lister -AC_DEFUN([AC_PROG_NM], -[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, -[if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" -else - lt_nm_to_check="${ac_tool_prefix}nm" - if test -n "$ac_tool_prefix" && test "$build" = "$host"; then - lt_nm_to_check="$lt_nm_to_check nm" - fi - for lt_tmp_nm in $lt_nm_to_check; do - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - tmp_nm="$ac_dir/$lt_tmp_nm" - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in - */dev/null* | *'Invalid file or object type'*) - lt_cv_path_NM="$tmp_nm -B" - break - ;; - *) - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in - */dev/null*) - lt_cv_path_NM="$tmp_nm -p" - break - ;; - *) - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - ;; - esac - ;; - esac - fi - done - IFS="$lt_save_ifs" - done - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm -fi]) -NM="$lt_cv_path_NM" -])# AC_PROG_NM - - -# AC_CHECK_LIBM -# ------------- -# check for math library -AC_DEFUN([AC_CHECK_LIBM], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -LIBM= -case $host in -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) - # These system don't have libm, or don't need it - ;; -*-ncr-sysv4.3*) - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") - AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") - ;; -*) - AC_CHECK_LIB(m, cos, LIBM="-lm") - ;; -esac -])# AC_CHECK_LIBM - - -# AC_LIBLTDL_CONVENIENCE([DIRECTORY]) -# ----------------------------------- -# sets LIBLTDL to the link flags for the libltdl convenience library and -# LTDLINCL to the include flags for the libltdl header and adds -# --enable-ltdl-convenience to the configure arguments. Note that -# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, -# it is assumed to be `libltdl'. LIBLTDL will be prefixed with -# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/' -# (note the single quotes!). If your package is not flat and you're not -# using automake, define top_builddir and top_srcdir appropriately in -# the Makefiles. -AC_DEFUN([AC_LIBLTDL_CONVENIENCE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - case $enable_ltdl_convenience in - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; - "") enable_ltdl_convenience=yes - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; - esac - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -])# AC_LIBLTDL_CONVENIENCE - - -# AC_LIBLTDL_INSTALLABLE([DIRECTORY]) -# ----------------------------------- -# sets LIBLTDL to the link flags for the libltdl installable library and -# LTDLINCL to the include flags for the libltdl header and adds -# --enable-ltdl-install to the configure arguments. Note that -# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, -# and an installed libltdl is not found, it is assumed to be `libltdl'. -# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with -# '${top_srcdir}/' (note the single quotes!). If your package is not -# flat and you're not using automake, define top_builddir and top_srcdir -# appropriately in the Makefiles. -# In the future, this macro may have to be called after AC_PROG_LIBTOOL. -AC_DEFUN([AC_LIBLTDL_INSTALLABLE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - AC_CHECK_LIB(ltdl, lt_dlinit, - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], - [if test x"$enable_ltdl_install" = xno; then - AC_MSG_WARN([libltdl not installed, but installation disabled]) - else - enable_ltdl_install=yes - fi - ]) - if test x"$enable_ltdl_install" = x"yes"; then - ac_configure_args="$ac_configure_args --enable-ltdl-install" - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - else - ac_configure_args="$ac_configure_args --enable-ltdl-install=no" - LIBLTDL="-lltdl" - LTDLINCL= - fi - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -])# AC_LIBLTDL_INSTALLABLE - - -# AC_LIBTOOL_CXX -# -------------- -# enable support for C++ libraries -AC_DEFUN([AC_LIBTOOL_CXX], -[AC_REQUIRE([_LT_AC_LANG_CXX]) -])# AC_LIBTOOL_CXX - - -# _LT_AC_LANG_CXX -# --------------- -AC_DEFUN([_LT_AC_LANG_CXX], -[AC_REQUIRE([AC_PROG_CXX]) -AC_REQUIRE([_LT_AC_PROG_CXXCPP]) -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) -])# _LT_AC_LANG_CXX - -# _LT_AC_PROG_CXXCPP -# ------------------ -AC_DEFUN([_LT_AC_PROG_CXXCPP], -[ -AC_REQUIRE([AC_PROG_CXX]) -if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - AC_PROG_CXXCPP -fi -])# _LT_AC_PROG_CXXCPP - -# AC_LIBTOOL_F77 -# -------------- -# enable support for Fortran 77 libraries -AC_DEFUN([AC_LIBTOOL_F77], -[AC_REQUIRE([_LT_AC_LANG_F77]) -])# AC_LIBTOOL_F77 - - -# _LT_AC_LANG_F77 -# --------------- -AC_DEFUN([_LT_AC_LANG_F77], -[AC_REQUIRE([AC_PROG_F77]) -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77]) -])# _LT_AC_LANG_F77 - - -# AC_LIBTOOL_GCJ -# -------------- -# enable support for GCJ libraries -AC_DEFUN([AC_LIBTOOL_GCJ], -[AC_REQUIRE([_LT_AC_LANG_GCJ]) -])# AC_LIBTOOL_GCJ - - -# _LT_AC_LANG_GCJ -# --------------- -AC_DEFUN([_LT_AC_LANG_GCJ], -[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], - [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], - [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], - [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ]) -])# _LT_AC_LANG_GCJ - - -# AC_LIBTOOL_RC -# ------------- -# enable support for Windows resource files -AC_DEFUN([AC_LIBTOOL_RC], -[AC_REQUIRE([LT_AC_PROG_RC]) -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC]) -])# AC_LIBTOOL_RC - - -# AC_LIBTOOL_LANG_C_CONFIG -# ------------------------ -# Ensure that the configuration vars for the C compiler are -# suitably defined. Those variables are subsequently used by -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. -AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) -AC_DEFUN([_LT_AC_LANG_C_CONFIG], -[lt_save_CC="$CC" -AC_LANG_PUSH(C) - -# Source file extension for C test sources. -ac_ext=c - -# Object file extension for compiled C test sources. -objext=o -_LT_AC_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;\n" - -# Code to be used in simple link tests -lt_simple_link_test_code='int main(){return(0);}\n' - -_LT_AC_SYS_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) -AC_LIBTOOL_PROG_COMPILER_PIC($1) -AC_LIBTOOL_PROG_CC_C_O($1) -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) -AC_LIBTOOL_PROG_LD_SHLIBS($1) -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) -AC_LIBTOOL_SYS_LIB_STRIP -AC_LIBTOOL_DLOPEN_SELF - -# Report which library types will actually be built -AC_MSG_CHECKING([if libtool supports shared libraries]) -AC_MSG_RESULT([$can_build_shared]) - -AC_MSG_CHECKING([whether to build shared libraries]) -test "$can_build_shared" = "no" && enable_shared=no - -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case $host_os in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - -aix4* | aix5*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; -esac -AC_MSG_RESULT([$enable_shared]) - -AC_MSG_CHECKING([whether to build static libraries]) -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -AC_MSG_RESULT([$enable_static]) - -AC_LIBTOOL_CONFIG($1) - -AC_LANG_POP -CC="$lt_save_CC" -])# AC_LIBTOOL_LANG_C_CONFIG - - -# AC_LIBTOOL_LANG_CXX_CONFIG -# -------------------------- -# Ensure that the configuration vars for the C compiler are -# suitably defined. Those variables are subsequently used by -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. -AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) -AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], -[AC_LANG_PUSH(C++) -AC_REQUIRE([AC_PROG_CXX]) -AC_REQUIRE([_LT_AC_PROG_CXXCPP]) - -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no -_LT_AC_TAGVAR(allow_undefined_flag, $1)= -_LT_AC_TAGVAR(always_export_symbols, $1)=no -_LT_AC_TAGVAR(archive_expsym_cmds, $1)= -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= -_LT_AC_TAGVAR(hardcode_direct, $1)=no -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no -_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported -_LT_AC_TAGVAR(hardcode_automatic, $1)=no -_LT_AC_TAGVAR(module_cmds, $1)= -_LT_AC_TAGVAR(module_expsym_cmds, $1)= -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_AC_TAGVAR(no_undefined_flag, $1)= -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no - -# Dependencies to place before and after the object being linked: -_LT_AC_TAGVAR(predep_objects, $1)= -_LT_AC_TAGVAR(postdep_objects, $1)= -_LT_AC_TAGVAR(predeps, $1)= -_LT_AC_TAGVAR(postdeps, $1)= -_LT_AC_TAGVAR(compiler_lib_search_path, $1)= - -# Source file extension for C++ test sources. -ac_ext=cpp - -# Object file extension for compiled C++ test sources. -objext=o -_LT_AC_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;\n" - -# Code to be used in simple link tests -lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n' - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_AC_SYS_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -# Allow CC to be a program name with arguments. -lt_save_CC=$CC -lt_save_LD=$LD -lt_save_GCC=$GCC -GCC=$GXX -lt_save_with_gnu_ld=$with_gnu_ld -lt_save_path_LD=$lt_cv_path_LD -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx -else - $as_unset lt_cv_prog_gnu_ld -fi -if test -n "${lt_cv_path_LDCXX+set}"; then - lt_cv_path_LD=$lt_cv_path_LDCXX -else - $as_unset lt_cv_path_LD -fi -test -z "${LDCXX+set}" || LD=$LDCXX -CC=${CXX-"c++"} -compiler=$CC -_LT_AC_TAGVAR(compiler, $1)=$CC -_LT_CC_BASENAME([$compiler]) - -# We don't want -fno-exception wen compiling C++ code, so set the -# no_builtin_flag separately -if test "$GXX" = yes; then - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' -else - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= -fi - -if test "$GXX" = yes; then - # Set up default GNU C++ configuration - - AC_PROG_LD - - # Check if GNU C++ uses GNU ld as the underlying linker, since the - # archiving commands below assume that GNU ld is being used. - if test "$with_gnu_ld" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - - # If archive_cmds runs LD, not CC, wlarc should be empty - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to - # investigate it a little bit more. (MM) - wlarc='${wl}' - - # ancient GNU ld didn't support --whole-archive et. al. - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ - grep 'no-whole-archive' > /dev/null; then - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= - fi - else - with_gnu_ld=no - wlarc= - - # A generic and very simple default shared library creation - # command for GNU C++ for the case where it uses the native - # linker, instead of GNU ld. If possible, this setting should - # overridden to take advantage of the native linker features on - # the platform it is being used on. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - fi - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' - -else - GXX=no - with_gnu_ld=no - wlarc= -fi - -# PORTME: fill in a description of your system's C++ link characteristics -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) -_LT_AC_TAGVAR(ld_shlibs, $1)=yes -case $host_os in - aix3*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - _LT_AC_TAGVAR(archive_cmds, $1)='' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - - if test "$GXX" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - else - # We have old collect2 - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - _LT_AC_TAGVAR(always_export_symbols, $1)=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' - # Determine the default libpath from the value encoded in an empty executable. - _LT_AC_SYS_LIBPATH_AIX - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an empty executable. - _LT_AC_SYS_LIBPATH_AIX - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes - # This is similar to how AIX traditionally builds its shared libraries. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - beos*) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - chorus*) - case $cc_basename in - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - cygwin* | mingw* | pw32*) - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_AC_TAGVAR(always_export_symbols, $1)=no - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - darwin* | rhapsody*) - case $host_os in - rhapsody* | darwin1.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - ;; - 10.*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' - ;; - esac - fi - ;; - esac - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - - if test "$GXX" = yes ; then - lt_int_apple_cc_single_mod=no - output_verbose_link_cmd='echo' - if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then - lt_int_apple_cc_single_mod=yes - fi - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - fi - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - fi - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - case $cc_basename in - xlc*) - output_verbose_link_cmd='echo' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - ;; - *) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - fi - ;; - - dgux*) - case $cc_basename in - ec++*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - ghcx*) - # Green Hills C++ Compiler - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - freebsd[[12]]*) - # C++ shared libraries reported to be fairly broken before switch to ELF - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - freebsd-elf*) - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - ;; - freebsd* | kfreebsd*-gnu | dragonfly*) - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF - # conventions - _LT_AC_TAGVAR(ld_shlibs, $1)=yes - ;; - gnu*) - ;; - hpux9*) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, - # but as the default - # location of the library. - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - aCC*) - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - hpux10*|hpux11*) - if test $with_gnu_ld = no; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - case $host_cpu in - hppa*64*|ia64*) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' - ;; - *) - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - ;; - esac - fi - case $host_cpu in - hppa*64*|ia64*) - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - *) - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, - # but as the default - # location of the library. - ;; - esac - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - aCC*) - case $host_cpu in - hppa*64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes; then - if test $with_gnu_ld = no; then - case $host_cpu in - hppa*64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - fi - else - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - interix3*) - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - irix5* | irix6*) - case $cc_basename in - CC*) - # SGI C++ - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - - # Archives containing C++ object files must be created using - # "CC -ar", where "CC" is the IRIX C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' - ;; - *) - if test "$GXX" = yes; then - if test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' - fi - fi - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - ;; - esac - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - linux*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' - ;; - icpc*) - # Intel C++ - with_gnu_ld=yes - # version 8.0 and above of icpc choke on multiply defined symbols - # if we add $predep_objects and $postdep_objects, however 7.1 and - # earlier do not add the objects themselves. - case `$CC -V 2>&1` in - *"Version 7."*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - *) # Version 8.0 or newer - tmp_idyn= - case $host_cpu in - ia64*) tmp_idyn=' -i_dynamic';; - esac - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - esac - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' - ;; - pgCC*) - # Portland Group C++ compiler - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - ;; - cxx*) - # Compaq C++ - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' - - runpath_var=LD_RUN_PATH - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - esac - ;; - lynxos*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - m88k*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - mvs*) - case $cc_basename in - cxx*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' - wlarc= - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - fi - # Workaround some broken pre-1.5 toolchains - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' - ;; - openbsd2*) - # C++ shared libraries are fairly broken - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - openbsd*) - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - fi - output_verbose_link_cmd='echo' - ;; - osf3*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' - - ;; - RCC*) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - cxx*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' - - else - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - osf4* | osf5*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Archives containing C++ object files must be created using - # the KAI C++ compiler. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' - ;; - RCC*) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - cxx*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ - echo "-hidden">> $lib.exp~ - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ - $rm $lib.exp' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' - - else - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - psos*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - lcc*) - # Lucid - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - # The C++ compiler is used as linker so we must use $wl - # flag to pass the commands to the underlying system - # linker. We must also pass each convience library through - # to the system linker between allextract/defaultextract. - # The C++ compiler will combine linker options so we - # cannot just pass the convience library names through - # without $wl. - # Supported since Solaris 2.6 (maybe 2.5.1?) - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' - ;; - esac - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - - output_verbose_link_cmd='echo' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' - ;; - gcx*) - # Green Hills C++ Compiler - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - - # The C++ compiler must be used to create the archive. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' - ;; - *) - # GNU C++ compiler with Solaris linker - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' - if $CC --version | grep -v '^2\.7' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" - else - # g++ 2.7 appears to require `-G' NOT `-shared' on this - # platform. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" - fi - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' - fi - ;; - esac - ;; - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - # For security reasons, it is highly recommended that you always - # use absolute paths for naming shared libraries, and exclude the - # DT_RUNPATH tag from executables and libraries. But doing so - # requires that you compile everything twice, which is a pain. - # So that behaviour is only enabled if SCOABSPATH is set to a - # non-empty value in the environment. Most likely only useful for - # creating official distributions of packages. - # This is a hack until libtool officially supports absolute path - # names for shared libraries. - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - vxworks*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; -esac -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no - -_LT_AC_TAGVAR(GCC, $1)="$GXX" -_LT_AC_TAGVAR(LD, $1)="$LD" - -AC_LIBTOOL_POSTDEP_PREDEP($1) -AC_LIBTOOL_PROG_COMPILER_PIC($1) -AC_LIBTOOL_PROG_CC_C_O($1) -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) -AC_LIBTOOL_PROG_LD_SHLIBS($1) -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) - -AC_LIBTOOL_CONFIG($1) - -AC_LANG_POP -CC=$lt_save_CC -LDCXX=$LD -LD=$lt_save_LD -GCC=$lt_save_GCC -with_gnu_ldcxx=$with_gnu_ld -with_gnu_ld=$lt_save_with_gnu_ld -lt_cv_path_LDCXX=$lt_cv_path_LD -lt_cv_path_LD=$lt_save_path_LD -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld -])# AC_LIBTOOL_LANG_CXX_CONFIG - -# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) -# ------------------------------------ -# Figure out "hidden" library dependencies from verbose -# compiler output when linking a shared library. -# Parse the compiler output and extract the necessary -# objects, libraries and library flags. -AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ -dnl we can't use the lt_simple_compile_test_code here, -dnl because it contains code intended for an executable, -dnl not a library. It's possible we should let each -dnl tag define a new lt_????_link_test_code variable, -dnl but it's only used here... -ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <> "$cfgfile" -ifelse([$1], [], -[#! $SHELL - -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 -# Free Software Foundation, Inc. -# -# This file is part of GNU Libtool: -# Originally by Gordon Matzigkeit , 1996 -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# A sed program that does not truncate output. -SED=$lt_SED - -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="$SED -e 1s/^X//" - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -# The names of the tagged configurations supported by this script. -available_tags= - -# ### BEGIN LIBTOOL CONFIG], -[# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) - -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# Whether or not to build static libraries. -build_old_libs=$enable_static - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) - -# Whether or not to disallow shared libs when runtime libs are static -allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) - -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install - -# The host system. -host_alias=$host_alias -host=$host -host_os=$host_os - -# The build system. -build_alias=$build_alias -build=$build -build_os=$build_os - -# An echo program that does not interpret backslashes. -echo=$lt_echo - -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS - -# A C compiler. -LTCC=$lt_LTCC - -# LTCC compiler flags. -LTCFLAGS=$lt_LTCFLAGS - -# A language-specific compiler. -CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) - -# Is the compiler the GNU C compiler? -with_gcc=$_LT_AC_TAGVAR(GCC, $1) - -# An ERE matcher. -EGREP=$lt_EGREP - -# The linker used to build libraries. -LD=$lt_[]_LT_AC_TAGVAR(LD, $1) - -# Whether we need hard or soft links. -LN_S=$lt_LN_S - -# A BSD-compatible nm program. -NM=$lt_NM - -# A symbol stripping program -STRIP=$lt_STRIP - -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD - -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" - -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" - -# Used on cygwin: assembler. -AS="$AS" - -# The name of the directory that contains temporary libtool files. -objdir=$objdir - -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds - -# How to pass a linker flag through the compiler. -wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) - -# Object file suffix (normally "o"). -objext="$ac_objext" - -# Old archive suffix (normally "a"). -libext="$libext" - -# Shared library suffix (normally ".so"). -shrext_cmds='$shrext_cmds' - -# Executable file suffix (normally ""). -exeext="$exeext" - -# Additional compiler flags for building library objects. -pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) -pic_mode=$pic_mode - -# What is the maximum length of a command? -max_cmd_len=$lt_cv_sys_max_cmd_len - -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) - -# Must we lock files when doing compilation? -need_locks=$lt_need_locks - -# Do we need the lib prefix for modules? -need_lib_prefix=$need_lib_prefix - -# Do we need a version for libraries? -need_version=$need_version - -# Whether dlopen is supported. -dlopen_support=$enable_dlopen - -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self - -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static - -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) - -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) - -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) - -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) - -# Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) - -# Library versioning type. -version_type=$version_type - -# Format of library name prefix. -libname_spec=$lt_libname_spec - -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME. -library_names_spec=$lt_library_names_spec - -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec - -# Commands used to build and install an old-style archive. -RANLIB=$lt_RANLIB -old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds - -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) - -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) - -# Commands used to build and install a shared archive. -archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) -archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) -postinstall_cmds=$lt_postinstall_cmds -postuninstall_cmds=$lt_postuninstall_cmds - -# Commands used to build a loadable module (assumed same as above if empty) -module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) -module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) - -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib - -# Dependencies to place before the objects being linked to create a -# shared library. -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) - -# Dependencies to place after the objects being linked to create a -# shared library. -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) - -# Dependencies to place before the objects being linked to create a -# shared library. -predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) - -# Dependencies to place after the objects being linked to create a -# shared library. -postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) - -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) - -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method - -# Command to use when deplibs_check_method == file_magic. -file_magic_cmd=$lt_file_magic_cmd - -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) - -# Flag that forces no undefined symbols. -no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) - -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds - -# Same as above, but a single script fragment to be evaled but not shown. -finish_eval=$lt_finish_eval - -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe - -# Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl - -# Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address - -# This is the shared library runtime path variable. -runpath_var=$runpath_var - -# This is the shared library path variable. -shlibpath_var=$shlibpath_var - -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath - -# How to hardcode a shared library path into an executable. -hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) - -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) - -# If ld is used when linking, flag to hardcode \$libdir into -# a binary during linking. This must work even if \$libdir does -# not exist. -hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) - -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) - -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the -# resulting binary. -hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) - -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) - -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into -# the resulting binary. -hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) - -# Set to yes if building a shared library automatically hardcodes DIR into the library -# and all subsequent libraries and executables linked against it. -hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) - -# Variables whose values should be saved in libtool wrapper scripts and -# restored at relink time. -variables_saved_for_relink="$variables_saved_for_relink" - -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) - -# Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec - -# Run-time system search path for libraries -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec - -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" - -# Set to yes if exported symbols are required. -always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) - -# The commands to list exported symbols. -export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) - -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds - -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) - -# Symbols that must always be exported. -include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) - -ifelse([$1],[], -[# ### END LIBTOOL CONFIG], -[# ### END LIBTOOL TAG CONFIG: $tagname]) - -__EOF__ - -ifelse([$1],[], [ - case $host_os in - aix3*) - cat <<\EOF >> "$cfgfile" - -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES -fi -EOF - ;; - esac - - # We use sed instead of cat because bash on DJGPP gets confused if - # if finds mixed CR/LF and LF-only lines. Since sed operates in - # text mode, it properly converts lines to CR/LF. This bash problem - # is reportedly fixed, but why not run on old versions too? - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) - - mv -f "$cfgfile" "$ofile" || \ - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") - chmod +x "$ofile" -]) -else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` - if test -f "$ltmain_in"; then - test -f Makefile && make "$ltmain" - fi -fi -])# AC_LIBTOOL_CONFIG - - -# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) -# ------------------------------------------- -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl - -_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= - -if test "$GCC" = yes; then - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' - - AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], - lt_cv_prog_compiler_rtti_exceptions, - [-fno-rtti -fno-exceptions], [], - [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) -fi -])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI - - -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -# --------------------------------- -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], -[AC_REQUIRE([AC_CANONICAL_HOST]) -AC_REQUIRE([AC_PROG_NM]) -AC_REQUIRE([AC_OBJEXT]) -# Check for command to grab the raw symbol name followed by C symbol from nm. -AC_MSG_CHECKING([command to parse $NM output from $compiler object]) -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], -[ -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[[BCDEGRST]]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' - -# Transform an extracted symbol line into a proper C declaration -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - -# Define system-specific variables. -case $host_os in -aix*) - symcode='[[BCDT]]' - ;; -cygwin* | mingw* | pw32*) - symcode='[[ABCDGISTW]]' - ;; -hpux*) # Its linker distinguishes data from code symbols - if test "$host_cpu" = ia64; then - symcode='[[ABCDEGRST]]' - fi - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -linux*) - if test "$host_cpu" = ia64; then - symcode='[[ABCDGIRSTW]]' - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - fi - ;; -irix* | nonstopux*) - symcode='[[BCDEGRST]]' - ;; -osf*) - symcode='[[BCDEGQRST]]' - ;; -solaris*) - symcode='[[BDRT]]' - ;; -sco3.2v5*) - symcode='[[DT]]' - ;; -sysv4.2uw2*) - symcode='[[DT]]' - ;; -sysv5* | sco5v6* | unixware* | OpenUNIX*) - symcode='[[ABDT]]' - ;; -sysv4) - symcode='[[DFNSTU]]' - ;; -esac - -# Handle CRLF in mingw tool chain -opt_cr= -case $build_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -case `$NM -V 2>&1` in -*GNU* | *'with BFD'*) - symcode='[[ABCDGIRSTW]]' ;; -esac - -# Try without a prefix undercore, then with it. -for ac_symprfx in "" "_"; do - - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. - symxfrm="\\1 $ac_symprfx\\2 \\2" - - # Write the raw and C identifiers. - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" - - # Check to see that the pipe works correctly. - pipe_works=no - - rm -f conftest* - cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if grep ' nm_test_var$' "$nlist" >/dev/null; then - if grep ' nm_test_func$' "$nlist" >/dev/null; then - cat < conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -EOF - # Now generate the symbol file. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' - - cat <> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr_t void * -#else -# define lt_ptr_t char * -# define const -#endif - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr_t address; -} -lt_preloaded_symbols[[]] = -{ -EOF - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr_t) 0} -}; - -#ifdef __cplusplus -} -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - lt_save_LIBS="$LIBS" - lt_save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then - pipe_works=yes - fi - LIBS="$lt_save_LIBS" - CFLAGS="$lt_save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD - fi - else - echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD - fi - else - echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD - cat conftest.$ac_ext >&5 - fi - rm -f conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done -]) -if test -z "$lt_cv_sys_global_symbol_pipe"; then - lt_cv_sys_global_symbol_to_cdecl= -fi -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then - AC_MSG_RESULT(failed) -else - AC_MSG_RESULT(ok) -fi -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE - - -# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) -# --------------------------------------- -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], -[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= -_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= -_LT_AC_TAGVAR(lt_prog_compiler_static, $1)= - -AC_MSG_CHECKING([for $compiler option to produce PIC]) - ifelse([$1],[CXX],[ - # C++ specific cases for pic, static, wl, etc. - if test "$GXX" = yes; then - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' - ;; - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - mingw* | os2* | pw32*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' - ;; - *djgpp*) - # DJGPP does not support shared libraries at all - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - ;; - interix3*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - sysv4*MP*) - if test -d /usr/nec; then - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic - fi - ;; - hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - else - case $host_os in - aix4* | aix5*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - else - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' - fi - ;; - chorus*) - case $cc_basename in - cxch68*) - # Green Hills C++ Compiler - # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" - ;; - esac - ;; - darwin*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - case $cc_basename in - xlc*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - ;; - esac - ;; - dgux*) - case $cc_basename in - ec++*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - ;; - ghcx*) - # Green Hills C++ Compiler - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - *) - ;; - esac - ;; - freebsd* | kfreebsd*-gnu | dragonfly*) - # FreeBSD uses GNU C++ - ;; - hpux9* | hpux10* | hpux11*) - case $cc_basename in - CC*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - if test "$host_cpu" != ia64; then - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - fi - ;; - aCC*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - ;; - esac - ;; - *) - ;; - esac - ;; - interix*) - # This is c89, which is MS Visual C++ (no shared libs) - # Anyone wants to do a port? - ;; - irix5* | irix6* | nonstopux*) - case $cc_basename in - CC*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - # CC pic flag -KPIC is the default. - ;; - *) - ;; - esac - ;; - linux*) - case $cc_basename in - KCC*) - # KAI C++ Compiler - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - icpc* | ecpc*) - # Intel C++ - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - pgCC*) - # Portland Group C++ compiler. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - cxx*) - # Compaq C++ - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - *) - ;; - esac - ;; - lynxos*) - ;; - m88k*) - ;; - mvs*) - case $cc_basename in - cxx*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' - ;; - *) - ;; - esac - ;; - netbsd*) - ;; - osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' - ;; - RCC*) - # Rational C++ 2.4.1 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - cxx*) - # Digital/Compaq C++ - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - *) - ;; - esac - ;; - psos*) - ;; - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - ;; - gcx*) - # Green Hills C++ Compiler - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' - ;; - *) - ;; - esac - ;; - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - lcc*) - # Lucid - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - *) - ;; - esac - ;; - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - ;; - *) - ;; - esac - ;; - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - case $cc_basename in - CC*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - esac - ;; - vxworks*) - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - esac - fi -], -[ - if test "$GCC" = yes; then - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' - ;; - - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - - mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' - ;; - - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' - ;; - - interix3*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - - msdosdjgpp*) - # Just because we use GCC doesn't mean we suddenly get shared libraries - # on systems that don't support them. - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - enable_shared=no - ;; - - sysv4*MP*) - if test -d /usr/nec; then - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic - fi - ;; - - hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - ;; - - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - else - # PORTME Check for flag to pass linker flags through the system compiler. - case $host_os in - aix*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - else - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' - fi - ;; - darwin*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - case $cc_basename in - xlc*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - ;; - esac - ;; - - mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' - ;; - - hpux9* | hpux10* | hpux11*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - ;; - esac - # Is there a better lt_prog_compiler_static that works with the bundled CC? - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - ;; - - irix5* | irix6* | nonstopux*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # PIC (with -KPIC) is the default. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - newsos6) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - linux*) - case $cc_basename in - icc* | ecc*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - pgcc* | pgf77* | pgf90* | pgf95*) - # Portland Group compilers (*not* the Pentium gcc compiler, - # which looks to be a dead project) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - ccc*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # All Alpha code is PIC. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - esac - ;; - - osf3* | osf4* | osf5*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # All OSF/1 code is PIC. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - solaris*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - case $cc_basename in - f77* | f90* | f95*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; - *) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; - esac - ;; - - sunos4*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - sysv4 | sysv4.2uw2* | sysv4.3*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - sysv4*MP*) - if test -d /usr/nec ;then - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - unicos*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - - uts4*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - *) - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - esac - fi -]) -AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then - AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], - _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), - [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], - [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in - "" | " "*) ;; - *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; - esac], - [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) -fi -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" - ;; -esac - -# -# Check to make sure the static flag actually works. -# -wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], - _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), - $lt_tmp_static_flag, - [], - [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) -]) - - -# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) -# ------------------------------------ -# See if the linker supports building shared libraries. -AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], -[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) -ifelse([$1],[CXX],[ - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - case $host_os in - aix4* | aix5*) - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' - else - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' - fi - ;; - pw32*) - _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" - ;; - cygwin* | mingw*) - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' - ;; - *) - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - ;; - esac -],[ - runpath_var= - _LT_AC_TAGVAR(allow_undefined_flag, $1)= - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no - _LT_AC_TAGVAR(archive_cmds, $1)= - _LT_AC_TAGVAR(archive_expsym_cmds, $1)= - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= - _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown - _LT_AC_TAGVAR(hardcode_automatic, $1)=no - _LT_AC_TAGVAR(module_cmds, $1)= - _LT_AC_TAGVAR(module_expsym_cmds, $1)= - _LT_AC_TAGVAR(always_export_symbols, $1)=no - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - # include_expsyms should be a list of space-separated symbols to be *always* - # included in the symbol list - _LT_AC_TAGVAR(include_expsyms, $1)= - # exclude_expsyms can be an extended regexp of symbols to exclude - # it will be wrapped by ` (' and `)$', so one must not match beginning or - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', - # as well as any symbol that contains `d'. - _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out - # platforms (ab)use it in PIC code, but their linkers get confused if - # the symbol is explicitly referenced. Since portable code cannot - # rely on this symbol name, it's probably fine to never include it in - # preloaded symbol tables. - extract_expsyms_cmds= - # Just being paranoid about ensuring that cc_basename is set. - _LT_CC_BASENAME([$compiler]) - case $host_os in - cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no - fi - ;; - interix*) - # we just hope/assume this is gcc and not c89 (= MSVC++) - with_gnu_ld=yes - ;; - openbsd*) - with_gnu_ld=no - ;; - esac - - _LT_AC_TAGVAR(ld_shlibs, $1)=yes - if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' - - # Set some defaults for GNU ld with shared library support. These - # are reset later if shared libraries are not supported. Putting them - # here allows them to be overridden if necessary. - runpath_var=LD_RUN_PATH - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= - fi - supports_anon_versioning=no - case `$LD -v 2>/dev/null` in - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... - *\ 2.11.*) ;; # other 2.11 versions - *) supports_anon_versioning=yes ;; - esac - - # See if GNU ld supports shared libraries. - case $host_os in - aix3* | aix4* | aix5*) - # On AIX/PPC, the GNU linker is very broken - if test "$host_cpu" != ia64; then - _LT_AC_TAGVAR(ld_shlibs, $1)=no - cat <&2 - -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. - -EOF - fi - ;; - - amigaos*) - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can't use - # them. - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - - beos*) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - cygwin* | mingw* | pw32*) - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_AC_TAGVAR(always_export_symbols, $1)=no - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' - - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - interix3*) - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - - linux*) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - tmp_addflag= - case $cc_basename,$host_cpu in - pgcc*) # Portland Group C compiler - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag' - ;; - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag -Mnomain' ;; - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 - tmp_addflag=' -i_dynamic' ;; - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 - tmp_addflag=' -i_dynamic -nofor_main' ;; - ifc* | ifort*) # Intel Fortran compiler - tmp_addflag=' -nofor_main' ;; - esac - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - - if test $supports_anon_versioning = yes; then - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - $echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; - - solaris*) - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then - _LT_AC_TAGVAR(ld_shlibs, $1)=no - cat <&2 - -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -EOF - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) - case `$LD -v 2>&1` in - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - cat <<_LT_EOF 1>&2 - -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not -*** reliably create shared libraries on SCO systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - ;; - *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - - sunos4*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - - if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then - runpath_var= - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= - fi - else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_AC_TAGVAR(always_export_symbols, $1)=yes - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported - fi - ;; - - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' - else - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' - fi - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) - for ld_flag in $LDFLAGS; do - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then - aix_use_runtimelinking=yes - break - fi - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - _LT_AC_TAGVAR(archive_cmds, $1)='' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - - if test "$GCC" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - else - # We have old collect2 - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - _LT_AC_TAGVAR(always_export_symbols, $1)=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' - # Determine the default libpath from the value encoded in an empty executable. - _LT_AC_SYS_LIBPATH_AIX - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an empty executable. - _LT_AC_SYS_LIBPATH_AIX - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes - # This is similar to how AIX traditionally builds its shared libraries. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - amigaos*) - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - # see comment about different semantics on the GNU ld section - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - - bsdi[[45]]*) - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic - ;; - - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=".dll" - # FIXME: Setting linknames here is a bad hack. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' - # FIXME: Should let the user specify the lib program. - _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' - _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - ;; - - darwin* | rhapsody*) - case $host_os in - rhapsody* | darwin1.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - ;; - 10.*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' - ;; - esac - fi - ;; - esac - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - if test "$GCC" = yes ; then - output_verbose_link_cmd='echo' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - case $cc_basename in - xlc*) - output_verbose_link_cmd='echo' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - ;; - *) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - fi - ;; - - dgux*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - freebsd1*) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | kfreebsd*-gnu | dragonfly*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - hpux9*) - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - ;; - - hpux10*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' - fi - if test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - fi - ;; - - hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - case $host_cpu in - hppa*64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - else - case $host_cpu in - hppa*64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - fi - if test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - case $host_cpu in - hppa*64*|ia64*) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - *) - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - ;; - esac - fi - ;; - - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - newsos6) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - openbsd*) - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - else - case $host_os in - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - ;; - esac - fi - ;; - - os2*) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; - - osf3*) - if test "$GCC" = yes; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - else - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' - - # Both c and cxx compiler support -rpath directly - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - fi - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - - solaris*) - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' - if test "$GCC" = yes; then - wlarc='${wl}' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' - else - wlarc='' - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - # The compiler driver will combine linker options so we - # cannot just pass the convience library names through - # without $wl, iff we do not link with $LD. - # Luckily, gcc supports the same syntax we need for Sun Studio. - # Supported since Solaris 2.6 (maybe 2.5.1?) - case $wlarc in - '') - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; - *) - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; - esac ;; - esac - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - ;; - - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - sysv4) - case $host_vendor in - sni) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' - _LT_AC_TAGVAR(hardcode_direct, $1)=no - ;; - motorola) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - sysv4.3*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - _LT_AC_TAGVAR(ld_shlibs, $1)=yes - fi - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*) - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - uts4*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - *) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - fi -]) -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no - -# -# Do we need to explicitly link libc? -# -case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in -x|xyes) - # Assume -lc should be added - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes - - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $_LT_AC_TAGVAR(archive_cmds, $1) in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - AC_MSG_CHECKING([whether -lc should be explicitly linked in]) - $rm conftest* - printf "$lt_simple_compile_test_code" > conftest.$ac_ext - - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) - pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) - _LT_AC_TAGVAR(allow_undefined_flag, $1)= - if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) - then - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - else - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes - fi - _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* - AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) - ;; - esac - fi - ;; -esac -])# AC_LIBTOOL_PROG_LD_SHLIBS - - -# _LT_AC_FILE_LTDLL_C -# ------------------- -# Be careful that the start marker always follows a newline. -AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ -# /* ltdll.c starts here */ -# #define WIN32_LEAN_AND_MEAN -# #include -# #undef WIN32_LEAN_AND_MEAN -# #include -# -# #ifndef __CYGWIN__ -# # ifdef __CYGWIN32__ -# # define __CYGWIN__ __CYGWIN32__ -# # endif -# #endif -# -# #ifdef __cplusplus -# extern "C" { -# #endif -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); -# #ifdef __cplusplus -# } -# #endif -# -# #ifdef __CYGWIN__ -# #include -# DECLARE_CYGWIN_DLL( DllMain ); -# #endif -# HINSTANCE __hDllInstance_base; -# -# BOOL APIENTRY -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) -# { -# __hDllInstance_base = hInst; -# return TRUE; -# } -# /* ltdll.c ends here */ -])# _LT_AC_FILE_LTDLL_C - - -# _LT_AC_TAGVAR(VARNAME, [TAGNAME]) -# --------------------------------- -AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) - - -# old names -AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) -AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) -AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) -AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) -AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) -AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) -AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) - -# This is just to silence aclocal about the macro not being used -ifelse([AC_DISABLE_FAST_INSTALL]) - -AC_DEFUN([LT_AC_PROG_GCJ], -[AC_CHECK_TOOL(GCJ, gcj, no) - test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" - AC_SUBST(GCJFLAGS) -]) - -AC_DEFUN([LT_AC_PROG_RC], -[AC_CHECK_TOOL(RC, windres, no) -]) - -# NOTE: This macro has been submitted for inclusion into # -# GNU Autoconf as AC_PROG_SED. When it is available in # -# a released version of Autoconf we should remove this # -# macro and use it instead. # -# LT_AC_PROG_SED -# -------------- -# Check for a fully-functional sed program, that truncates -# as few characters as possible. Prefer GNU sed if found. -AC_DEFUN([LT_AC_PROG_SED], -[AC_MSG_CHECKING([for a sed that does not truncate output]) -AC_CACHE_VAL(lt_cv_path_SED, -[# Loop through the user's path and test for sed and gsed. -# Then use that list of sed's as ones to test for truncation. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for lt_ac_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" - fi - done - done -done -lt_ac_max=0 -lt_ac_count=0 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris -# along with /bin/sed that truncates output. -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do - test ! -f $lt_ac_sed && continue - cat /dev/null > conftest.in - lt_ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in - # Check for GNU sed and select it if it is found. - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then - lt_cv_path_SED=$lt_ac_sed - break - fi - while true; do - cat conftest.in conftest.in >conftest.tmp - mv conftest.tmp conftest.in - cp conftest.in conftest.nl - echo >>conftest.nl - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break - cmp -s conftest.out conftest.nl || break - # 10000 chars as input seems more than enough - test $lt_ac_count -gt 10 && break - lt_ac_count=`expr $lt_ac_count + 1` - if test $lt_ac_count -gt $lt_ac_max; then - lt_ac_max=$lt_ac_count - lt_cv_path_SED=$lt_ac_sed - fi - done -done -]) -SED=$lt_cv_path_SED -AC_MSG_RESULT([$SED]) -]) - -# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- -# -# Copyright © 2004 Scott James Remnant . -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# PKG_PROG_PKG_CONFIG([MIN-VERSION]) -# ---------------------------------- -AC_DEFUN([PKG_PROG_PKG_CONFIG], -[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) -m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=m4_default([$1], [0.9.0]) - AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - PKG_CONFIG="" - fi - -fi[]dnl -])# PKG_PROG_PKG_CONFIG - -# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -# -# Check to see whether a particular set of modules exists. Similar -# to PKG_CHECK_MODULES(), but does not set variables or print errors. -# -# -# Similar to PKG_CHECK_MODULES, make sure that the first instance of -# this or PKG_CHECK_MODULES is called, or make sure to call -# PKG_CHECK_EXISTS manually -# -------------------------------------------------------------- -AC_DEFUN([PKG_CHECK_EXISTS], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -if test -n "$PKG_CONFIG" && \ - AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then - m4_ifval([$2], [$2], [:]) -m4_ifvaln([$3], [else - $3])dnl -fi]) - - -# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) -# --------------------------------------------- -m4_define([_PKG_CONFIG], -[if test -n "$PKG_CONFIG"; then - if test -n "$$1"; then - pkg_cv_[]$1="$$1" - else - PKG_CHECK_EXISTS([$3], - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], - [pkg_failed=yes]) - fi -else - pkg_failed=untried -fi[]dnl -])# _PKG_CONFIG - -# _PKG_SHORT_ERRORS_SUPPORTED -# ----------------------------- -AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi[]dnl -])# _PKG_SHORT_ERRORS_SUPPORTED - - -# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], -# [ACTION-IF-NOT-FOUND]) -# -# -# Note that if there is a possibility the first call to -# PKG_CHECK_MODULES might not happen, you should be sure to include an -# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac -# -# -# -------------------------------------------------------------- -AC_DEFUN([PKG_CHECK_MODULES], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl -AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl - -pkg_failed=no -AC_MSG_CHECKING([for $1]) - -_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) -_PKG_CONFIG([$1][_LIBS], [libs], [$2]) - -m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS -and $1[]_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details.]) - -if test $pkg_failed = yes; then - _PKG_SHORT_ERRORS_SUPPORTED - if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` - else - $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` - fi - # Put the nasty error message in config.log where it belongs - echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD - - ifelse([$4], , [AC_MSG_ERROR(dnl -[Package requirements ($2) were not met: - -$$1_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -_PKG_TEXT -])], - [$4]) -elif test $pkg_failed = untried; then - ifelse([$4], , [AC_MSG_FAILURE(dnl -[The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -_PKG_TEXT - -To get pkg-config, see .])], - [$4]) -else - $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS - $1[]_LIBS=$pkg_cv_[]$1[]_LIBS - AC_MSG_RESULT([yes]) - ifelse([$3], , :, [$3]) -fi[]dnl -])# PKG_CHECK_MODULES - diff --git a/res/pjproject/third_party/portaudio/build/dev-cpp/Makefile-dll b/res/pjproject/third_party/portaudio/build/dev-cpp/Makefile-dll deleted file mode 100644 index 856af638e3..0000000000 --- a/res/pjproject/third_party/portaudio/build/dev-cpp/Makefile-dll +++ /dev/null @@ -1,78 +0,0 @@ -# Project: portaudio-dll -# Makefile created by Dev-C++ 4.9.8.2 - -CPP = g++.exe -CC = gcc.exe -WINDRES = windres.exe -RES = -OBJ = ./pa_skeleton.o ./pa_stream.o ./pa_trace.o ./pa_allocation.o ./pa_converters.o ./pa_cpuload.o ./pa_dither.o ./pa_front.o ./pa_process.o ./pa_asio.o ./pa_win_util.o ./pa_win_hostapis.o ./pa_win_ds.o ./dsound_wrapper.o ./pa_win_wmme.o ./iasiothiscallresolver.o $(RES) -LINKOBJ = ./pa_skeleton.o ./pa_stream.o ./pa_trace.o ./pa_allocation.o ./pa_converters.o ./pa_cpuload.o ./pa_dither.o ./pa_front.o ./pa_process.o ./pa_asio.o ./pa_win_util.o ./pa_win_hostapis.o ./pa_win_ds.o ./dsound_wrapper.o ./pa_win_wmme.o ./iasiothiscallresolver.o $(RES) -LIBS = -L"C:/Dev-CPP/lib" -fmessage-length=0 --no-export-all-symbols --add-stdcall-alias ../../../asiosdk2/asiosdk2.a -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32 -lwinmm -O3 -s -INCS = -I"C:/Dev-CPP/include" -I"../../../asiosdk2" -I"../../../asiosdk2/common" -I"../../../asiosdk2/host" -I"../../../asiosdk2/host/pc" -I"../../pa_common" -CXXINCS = -I"C:/Dev-CPP/include/c++" -I"C:/Dev-CPP/include/c++/mingw32" -I"C:/Dev-CPP/include/c++/backward" -I"C:/Dev-CPP/include" -I"../../../asiosdk2" -I"../../../asiosdk2/common" -I"../../../asiosdk2/host" -I"../../../asiosdk2/host/pc" -I"../../pa_common" -BIN = portaudio-dll.dll -CXXFLAGS = $(CXXINCS)-O3 -fmessage-length=0 -Wall -CFLAGS = $(INCS)-DBUILDING_DLL=1 -O3 -fmessage-length=0 -Wall - -.PHONY: all all-before all-after clean clean-custom - -all: all-before portaudio-dll.dll all-after - - -clean: clean-custom - rm -f $(OBJ) $(BIN) - -DLLWRAP=dllwrap.exe -DEFFILE=libportaudio-dll.def -STATICLIB=libportaudio-dll.a - -$(BIN): $(LINKOBJ) - $(DLLWRAP) --output-def $(DEFFILE) --driver-name c++ --implib $(STATICLIB) $(LINKOBJ) $(LIBS) -o $(BIN) - -./pa_skeleton.o: ../../pa_common/pa_skeleton.c - $(CPP) -c ../../pa_common/pa_skeleton.c -o ./pa_skeleton.o $(CXXFLAGS) - -./pa_stream.o: ../../pa_common/pa_stream.c - $(CPP) -c ../../pa_common/pa_stream.c -o ./pa_stream.o $(CXXFLAGS) - -./pa_trace.o: ../../pa_common/pa_trace.c - $(CPP) -c ../../pa_common/pa_trace.c -o ./pa_trace.o $(CXXFLAGS) - -./pa_allocation.o: ../../pa_common/pa_allocation.c - $(CPP) -c ../../pa_common/pa_allocation.c -o ./pa_allocation.o $(CXXFLAGS) - -./pa_converters.o: ../../pa_common/pa_converters.c - $(CPP) -c ../../pa_common/pa_converters.c -o ./pa_converters.o $(CXXFLAGS) - -./pa_cpuload.o: ../../pa_common/pa_cpuload.c - $(CPP) -c ../../pa_common/pa_cpuload.c -o ./pa_cpuload.o $(CXXFLAGS) - -./pa_dither.o: ../../pa_common/pa_dither.c - $(CPP) -c ../../pa_common/pa_dither.c -o ./pa_dither.o $(CXXFLAGS) - -./pa_front.o: ../../pa_common/pa_front.c - $(CPP) -c ../../pa_common/pa_front.c -o ./pa_front.o $(CXXFLAGS) - -./pa_process.o: ../../pa_common/pa_process.c - $(CPP) -c ../../pa_common/pa_process.c -o ./pa_process.o $(CXXFLAGS) - -./pa_asio.o: ../../pa_asio/pa_asio.cpp - $(CPP) -c ../../pa_asio/pa_asio.cpp -o ./pa_asio.o $(CXXFLAGS) - -./pa_win_util.o: ../pa_win_util.c - $(CPP) -c ../pa_win_util.c -o ./pa_win_util.o $(CXXFLAGS) - -./pa_win_hostapis.o: ../pa_win_hostapis.c - $(CPP) -c ../pa_win_hostapis.c -o ./pa_win_hostapis.o $(CXXFLAGS) - -./pa_win_ds.o: ../../pa_win_ds/pa_win_ds.c - $(CPP) -c ../../pa_win_ds/pa_win_ds.c -o ./pa_win_ds.o $(CXXFLAGS) - -./dsound_wrapper.o: ../../pa_win_ds/dsound_wrapper.c - $(CPP) -c ../../pa_win_ds/dsound_wrapper.c -o ./dsound_wrapper.o $(CXXFLAGS) - -./pa_win_wmme.o: ../../pa_win_wmme/pa_win_wmme.c - $(CPP) -c ../../pa_win_wmme/pa_win_wmme.c -o ./pa_win_wmme.o $(CXXFLAGS) - -./iasiothiscallresolver.o: ../../pa_asio/iasiothiscallresolver.cpp - $(CPP) -c ../../pa_asio/iasiothiscallresolver.cpp -o ./iasiothiscallresolver.o $(CXXFLAGS) diff --git a/res/pjproject/third_party/portaudio/build/dev-cpp/Makefile-static b/res/pjproject/third_party/portaudio/build/dev-cpp/Makefile-static deleted file mode 100644 index 2a1647ddc5..0000000000 --- a/res/pjproject/third_party/portaudio/build/dev-cpp/Makefile-static +++ /dev/null @@ -1,75 +0,0 @@ -# Project: portaudio-static -# Makefile created by Dev-C++ 4.9.8.2 - -CPP = g++.exe -CC = gcc.exe -WINDRES = windres.exe -RES = -OBJ = ./pa_skeleton.o ./pa_stream.o ./pa_trace.o ./pa_allocation.o ./pa_converters.o ./pa_cpuload.o ./pa_dither.o ./pa_front.o ./pa_process.o ./pa_asio.o ./pa_win_util.o ./pa_win_hostapis.o ./pa_win_ds.o ./dsound_wrapper.o ./pa_win_wmme.o ./iasiothiscallresolver.o $(RES) -LINKOBJ = ./pa_skeleton.o ./pa_stream.o ./pa_trace.o ./pa_allocation.o ./pa_converters.o ./pa_cpuload.o ./pa_dither.o ./pa_front.o ./pa_process.o ./pa_asio.o ./pa_win_util.o ./pa_win_hostapis.o ./pa_win_ds.o ./dsound_wrapper.o ./pa_win_wmme.o ./iasiothiscallresolver.o $(RES) -LIBS = -L"C:/Dev-CPP/lib" -fmessage-length=0 -O3 -s -INCS = -I"C:/Dev-CPP/include" -I"../../../asiosdk2" -I"../../../asiosdk2/common" -I"../../../asiosdk2/host" -I"../../../asiosdk2/host/pc" -I"../../pa_common" -CXXINCS = -I"C:/Dev-CPP/include/c++" -I"C:/Dev-CPP/include/c++/mingw32" -I"C:/Dev-CPP/include/c++/backward" -I"C:/Dev-CPP/include" -I"../../../asiosdk2" -I"../../../asiosdk2/common" -I"../../../asiosdk2/host" -I"../../../asiosdk2/host/pc" -I"../../pa_common" -BIN = portaudio-static.a -CXXFLAGS = $(CXXINCS)-O3 -fmessage-length=0 -Wall -CFLAGS = $(INCS)-O3 -fmessage-length=0 -Wall - -.PHONY: all all-before all-after clean clean-custom - -all: all-before portaudio-static.a all-after - - -clean: clean-custom - rm -f $(OBJ) $(BIN) - -$(BIN): $(LINKOBJ) - ar r $(BIN) $(LINKOBJ) - ranlib $(BIN) - -./pa_skeleton.o: ../../pa_common/pa_skeleton.c - $(CPP) -c ../../pa_common/pa_skeleton.c -o ./pa_skeleton.o $(CXXFLAGS) - -./pa_stream.o: ../../pa_common/pa_stream.c - $(CPP) -c ../../pa_common/pa_stream.c -o ./pa_stream.o $(CXXFLAGS) - -./pa_trace.o: ../../pa_common/pa_trace.c - $(CPP) -c ../../pa_common/pa_trace.c -o ./pa_trace.o $(CXXFLAGS) - -./pa_allocation.o: ../../pa_common/pa_allocation.c - $(CPP) -c ../../pa_common/pa_allocation.c -o ./pa_allocation.o $(CXXFLAGS) - -./pa_converters.o: ../../pa_common/pa_converters.c - $(CPP) -c ../../pa_common/pa_converters.c -o ./pa_converters.o $(CXXFLAGS) - -./pa_cpuload.o: ../../pa_common/pa_cpuload.c - $(CPP) -c ../../pa_common/pa_cpuload.c -o ./pa_cpuload.o $(CXXFLAGS) - -./pa_dither.o: ../../pa_common/pa_dither.c - $(CPP) -c ../../pa_common/pa_dither.c -o ./pa_dither.o $(CXXFLAGS) - -./pa_front.o: ../../pa_common/pa_front.c - $(CPP) -c ../../pa_common/pa_front.c -o ./pa_front.o $(CXXFLAGS) - -./pa_process.o: ../../pa_common/pa_process.c - $(CPP) -c ../../pa_common/pa_process.c -o ./pa_process.o $(CXXFLAGS) - -./pa_asio.o: ../../pa_asio/pa_asio.cpp - $(CPP) -c ../../pa_asio/pa_asio.cpp -o ./pa_asio.o $(CXXFLAGS) - -./pa_win_util.o: ../pa_win_util.c - $(CPP) -c ../pa_win_util.c -o ./pa_win_util.o $(CXXFLAGS) - -./pa_win_hostapis.o: ../pa_win_hostapis.c - $(CPP) -c ../pa_win_hostapis.c -o ./pa_win_hostapis.o $(CXXFLAGS) - -./pa_win_ds.o: ../../pa_win_ds/pa_win_ds.c - $(CPP) -c ../../pa_win_ds/pa_win_ds.c -o ./pa_win_ds.o $(CXXFLAGS) - -./dsound_wrapper.o: ../../pa_win_ds/dsound_wrapper.c - $(CPP) -c ../../pa_win_ds/dsound_wrapper.c -o ./dsound_wrapper.o $(CXXFLAGS) - -./pa_win_wmme.o: ../../pa_win_wmme/pa_win_wmme.c - $(CPP) -c ../../pa_win_wmme/pa_win_wmme.c -o ./pa_win_wmme.o $(CXXFLAGS) - -./iasiothiscallresolver.o: ../../pa_asio/iasiothiscallresolver.cpp - $(CPP) -c ../../pa_asio/iasiothiscallresolver.cpp -o ./iasiothiscallresolver.o $(CXXFLAGS) diff --git a/res/pjproject/third_party/portaudio/build/dev-cpp/portaudio-dll.dev b/res/pjproject/third_party/portaudio/build/dev-cpp/portaudio-dll.dev deleted file mode 100644 index 086e109eef..0000000000 --- a/res/pjproject/third_party/portaudio/build/dev-cpp/portaudio-dll.dev +++ /dev/null @@ -1,209 +0,0 @@ -[Project] -FileName=portaudio-dll.dev -Name=portaudio-dll -UnitCount=16 -Type=3 -Ver=1 -ObjFiles= -Includes=..\..\..\asiosdk2;..\..\..\asiosdk2\common;..\..\..\asiosdk2\host;..\..\..\asiosdk2\host\pc;..\..\pa_common -Libs= -PrivateResource= -ResourceIncludes= -MakeIncludes= -Compiler=-DBUILDING_DLL=1_@@_-O3_@@_ -CppCompiler=-O3_@@_ -Linker=--no-export-all-symbols --add-stdcall-alias_@@_../../../asiosdk2/asiosdk2.a_@@_-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32 -lwinmm_@@_-O3 -s_@@_ -IsCpp=1 -Icon= -ExeOutput=. -ObjectOutput=. -OverrideOutput=0 -OverrideOutputName=portaudio.a -HostApplication= -Folders= -CommandLine= -IncludeVersionInfo=0 -SupportXPThemes=0 -CompilerSet=0 -CompilerSettings=0000000000000000000 -UseCustomMakefile=0 -CustomMakefile= - -[Unit1] -FileName=..\..\pa_common\pa_skeleton.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_skeleton.c -o ./pa_skeleton.o $(CFLAGS) - -[Unit2] -FileName=..\..\pa_common\pa_stream.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_stream.c -o ./pa_stream.o $(CFLAGS) - -[Unit3] -FileName=..\..\pa_common\pa_trace.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_trace.c -o ./pa_trace.o $(CFLAGS) - -[Unit4] -FileName=..\..\pa_common\pa_allocation.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_allocation.c -o ./pa_allocation.o $(CFLAGS) - -[Unit5] -FileName=..\..\pa_common\pa_converters.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_converters.c -o ./pa_converters.o $(CFLAGS) - -[Unit6] -FileName=..\..\pa_common\pa_cpuload.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_cpuload.c -o ./pa_cpuload.o $(CFLAGS) - -[Unit7] -FileName=..\..\pa_common\pa_dither.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_dither.c -o ./pa_dither.o $(CFLAGS) - -[Unit8] -FileName=..\..\pa_common\pa_front.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_front.c -o ./pa_front.o $(CFLAGS) - -[Unit9] -FileName=..\..\pa_common\pa_process.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_process.c -o ./pa_process.o $(CFLAGS) - -[VersionInfo] -Major=0 -Minor=1 -Release=1 -Build=1 -LanguageID=1033 -CharsetID=1252 -CompanyName= -FileVersion= -FileDescription=Developed using the Dev-C++ IDE -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion= -AutoIncBuildNr=0 - -[Unit10] -FileName=..\..\pa_asio\pa_asio.cpp -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CPP) -c pa_asio.cpp -o ./pa_asio.o $(CXXFLAGS) - -[Unit11] -FileName=..\pa_win_util.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_win_util.c -o ./pa_win_util.o $(CFLAGS) - -[Unit12] -FileName=..\pa_win_hostapis.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_win_hostapis.c -o ./pa_win_hostapis.o $(CFLAGS) - -[Unit13] -FileName=..\..\pa_win_ds\pa_win_ds.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_win_ds.c -o ./pa_win_ds.o $(CFLAGS) - -[Unit14] -FileName=..\..\pa_win_ds\dsound_wrapper.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c dsound_wrapper.c -o ./dsound_wrapper.o $(CFLAGS) - -[Unit15] -FileName=..\..\pa_win_wmme\pa_win_wmme.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_win_wmme.c -o ./pa_win_wmme.o $(CFLAGS) - -[Unit16] -FileName=..\..\pa_asio\iasiothiscallresolver.cpp -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - diff --git a/res/pjproject/third_party/portaudio/build/dev-cpp/portaudio-static.dev b/res/pjproject/third_party/portaudio/build/dev-cpp/portaudio-static.dev deleted file mode 100644 index 2aae584df4..0000000000 --- a/res/pjproject/third_party/portaudio/build/dev-cpp/portaudio-static.dev +++ /dev/null @@ -1,209 +0,0 @@ -[Project] -FileName=portaudio-static.dev -Name=portaudio-static -UnitCount=16 -Type=2 -Ver=1 -ObjFiles= -Includes=..\..\..\asiosdk2;..\..\..\asiosdk2\common;..\..\..\asiosdk2\host;..\..\..\asiosdk2\host\pc;..\..\pa_common -Libs= -PrivateResource= -ResourceIncludes= -MakeIncludes= -Compiler=-O3_@@_ -CppCompiler=-O3_@@_ -Linker=-O3 -s_@@_ -IsCpp=1 -Icon= -ExeOutput=. -ObjectOutput=. -OverrideOutput=0 -OverrideOutputName=portaudio.a -HostApplication= -Folders= -CommandLine= -IncludeVersionInfo=0 -SupportXPThemes=0 -CompilerSet=0 -CompilerSettings=0000000000000000000 -UseCustomMakefile=0 -CustomMakefile= - -[Unit1] -FileName=..\..\pa_common\pa_skeleton.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_skeleton.c -o ./pa_skeleton.o $(CFLAGS) - -[Unit2] -FileName=..\..\pa_common\pa_stream.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_stream.c -o ./pa_stream.o $(CFLAGS) - -[Unit3] -FileName=..\..\pa_common\pa_trace.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_trace.c -o ./pa_trace.o $(CFLAGS) - -[Unit4] -FileName=..\..\pa_common\pa_allocation.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_allocation.c -o ./pa_allocation.o $(CFLAGS) - -[Unit5] -FileName=..\..\pa_common\pa_converters.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_converters.c -o ./pa_converters.o $(CFLAGS) - -[Unit6] -FileName=..\..\pa_common\pa_cpuload.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_cpuload.c -o ./pa_cpuload.o $(CFLAGS) - -[Unit7] -FileName=..\..\pa_common\pa_dither.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_dither.c -o ./pa_dither.o $(CFLAGS) - -[Unit8] -FileName=..\..\pa_common\pa_front.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_front.c -o ./pa_front.o $(CFLAGS) - -[Unit9] -FileName=..\..\pa_common\pa_process.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_process.c -o ./pa_process.o $(CFLAGS) - -[VersionInfo] -Major=0 -Minor=1 -Release=1 -Build=1 -LanguageID=1033 -CharsetID=1252 -CompanyName= -FileVersion= -FileDescription=Developed using the Dev-C++ IDE -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion= -AutoIncBuildNr=0 - -[Unit10] -FileName=..\..\pa_asio\pa_asio.cpp -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CPP) -c pa_asio.cpp -o ./pa_asio.o $(CXXFLAGS) - -[Unit11] -FileName=..\..\pa_win\pa_win_util.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_win_util.c -o ./pa_win_util.o $(CFLAGS) - -[Unit12] -FileName=..\..\pa_win\pa_win_hostapis.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_win_hostapis.c -o ./pa_win_hostapis.o $(CFLAGS) - -[Unit13] -FileName=..\..\pa_win_ds\pa_win_ds.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_win_ds.c -o ./pa_win_ds.o $(CFLAGS) - -[Unit14] -FileName=..\..\pa_win_ds\dsound_wrapper.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c dsound_wrapper.c -o ./dsound_wrapper.o $(CFLAGS) - -[Unit15] -FileName=..\..\pa_win_wmme\pa_win_wmme.c -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd=$(CC) -c pa_win_wmme.c -o ./pa_win_wmme.o $(CFLAGS) - -[Unit16] -FileName=..\..\pa_asio\iasiothiscallresolver.cpp -CompileCpp=1 -Folder=portaudio -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - diff --git a/res/pjproject/third_party/portaudio/build/dev-cpp/readme.txt b/res/pjproject/third_party/portaudio/build/dev-cpp/readme.txt deleted file mode 100644 index 07108a7dde..0000000000 --- a/res/pjproject/third_party/portaudio/build/dev-cpp/readme.txt +++ /dev/null @@ -1,23 +0,0 @@ -From: "Peter L Jones" -Sent: Wednesday, September 17, 2003 5:18 AM -Subject: Dev-C++ project files - -I attach two project files intended for portaudio/pa_win/dev-cpp (i.e. in -parallel with the msvc directory), if you want them. One is for a static -library build and one for a DLL. I've used the static library (in building -a single monolithic DLL) but I can't guarantee the DLL version will build a -working library (I think it's mostly there, though!). - -I also attach the resulting makefiles, which may be of use to other MinGW -users. - -They're rooted in the directory given above and drop their object and -library files in the same place. They assume the asiosdk2 files are in the -same directory as portaudio/ in a sub-directory called asiosdk2/. Oh! The -DLL is built against a static asiosdk2.a library... maybe not the best way -to do it... I ought to figure out how to link against a "home made" dll in -Dev-C++, I guess ;-) - -Cheers, - --- Peter diff --git a/res/pjproject/third_party/portaudio/build/msvc/portaudio.def b/res/pjproject/third_party/portaudio/build/msvc/portaudio.def deleted file mode 100644 index 08929d65c0..0000000000 --- a/res/pjproject/third_party/portaudio/build/msvc/portaudio.def +++ /dev/null @@ -1,43 +0,0 @@ -EXPORTS - -; -Pa_GetVersion @1 -Pa_GetVersionText @2 -Pa_GetErrorText @3 -Pa_Initialize @4 -Pa_Terminate @5 -Pa_GetHostApiCount @6 -Pa_GetDefaultHostApi @7 -Pa_GetHostApiInfo @8 -Pa_HostApiTypeIdToHostApiIndex @9 -Pa_HostApiDeviceIndexToDeviceIndex @10 -Pa_GetLastHostErrorInfo @11 -Pa_GetDeviceCount @12 -Pa_GetDefaultInputDevice @13 -Pa_GetDefaultOutputDevice @14 -Pa_GetDeviceInfo @15 -Pa_IsFormatSupported @16 -Pa_OpenStream @17 -Pa_OpenDefaultStream @18 -Pa_CloseStream @19 -Pa_SetStreamFinishedCallback @20 -Pa_StartStream @21 -Pa_StopStream @22 -Pa_AbortStream @23 -Pa_IsStreamStopped @24 -Pa_IsStreamActive @25 -Pa_GetStreamInfo @26 -Pa_GetStreamTime @27 -Pa_GetStreamCpuLoad @28 -Pa_ReadStream @29 -Pa_WriteStream @30 -Pa_GetStreamReadAvailable @31 -Pa_GetStreamWriteAvailable @32 -Pa_GetSampleSize @33 -Pa_Sleep @34 -PaAsio_GetAvailableLatencyValues @50 -PaAsio_ShowControlPanel @51 -PaUtil_InitializeX86PlainConverters @52 -PaAsio_GetInputChannelName @53 -PaAsio_GetOutputChannelName @54 -PaUtil_SetDebugPrintFunction @55 \ No newline at end of file diff --git a/res/pjproject/third_party/portaudio/build/msvc/portaudio.dsp b/res/pjproject/third_party/portaudio/build/msvc/portaudio.dsp deleted file mode 100644 index 75d618f969..0000000000 --- a/res/pjproject/third_party/portaudio/build/msvc/portaudio.dsp +++ /dev/null @@ -1,269 +0,0 @@ -# Microsoft Developer Studio Project File - Name="portaudio" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - -CFG=portaudio - Win32 Release -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "portaudio.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "portaudio.mak" CFG="portaudio - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "portaudio - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "portaudio - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "portaudio - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release_x86" -# PROP BASE Intermediate_Dir "Release_x86" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release_x86" -# PROP Intermediate_Dir "Release_x86" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\src\common" /I "..\..\include" /I ".\\" /I "..\..\src\os\win" /D "WIN32" /D "NDEBUG" /D "_USRDLL" /D "PA_ENABLE_DEBUG_OUTPUT" /D "_CRT_SECURE_NO_DEPRECATE" /D "PAWIN_USE_WDMKS_DEVICE_INFO" /FD /c -# SUBTRACT CPP /YX /Yc /Yu -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib setupapi.lib /nologo /dll /machine:I386 /out:"./Release_x86/portaudio_x86.dll" - -!ELSEIF "$(CFG)" == "portaudio - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug_x86" -# PROP BASE Intermediate_Dir "Debug_x86" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug_x86" -# PROP Intermediate_Dir "Debug_x86" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\src\common" /I "..\..\include" /I ".\\" /I "..\..\src\os\win" /D "WIN32" /D "_DEBUG" /D "_USRDLL" /D "PA_ENABLE_DEBUG_OUTPUT" /D "_CRT_SECURE_NO_DEPRECATE" /D "PAWIN_USE_WDMKS_DEVICE_INFO" /FD /GZ /c -# SUBTRACT CPP /YX /Yc /Yu -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib setupapi.lib /nologo /dll /debug /machine:I386 /out:"./Debug_x86/portaudio_x86.dll" /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "portaudio - Win32 Release" -# Name "portaudio - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Group "common" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\..\src\common\pa_allocation.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\common\pa_converters.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\common\pa_cpuload.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\common\pa_debugprint.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\common\pa_dither.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\common\pa_front.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\common\pa_process.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\common\pa_ringbuffer.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\common\pa_skeleton.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\common\pa_stream.c -# End Source File -# End Group -# Begin Group "hostapi" - -# PROP Default_Filter "" -# Begin Group "ASIO" - -# PROP Default_Filter "" -# Begin Group "ASIOSDK" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\..\src\hostapi\asio\ASIOSDK\common\asio.cpp -# ADD CPP /I "..\..\src\hostapi\asio\ASIOSDK\host" /I "..\..\src\hostapi\asio\ASIOSDK\host\pc" /I "..\..\src\hostapi\asio\ASIOSDK\common" -# End Source File -# Begin Source File - -SOURCE=..\..\src\hostapi\asio\ASIOSDK\host\ASIOConvertSamples.cpp -# ADD CPP /I "..\..\src\hostapi\asio\ASIOSDK\host" /I "..\..\src\hostapi\asio\ASIOSDK\host\pc" /I "..\..\src\hostapi\asio\ASIOSDK\common" -# End Source File -# Begin Source File - -SOURCE=..\..\src\hostapi\asio\ASIOSDK\host\asiodrivers.cpp -# ADD CPP /I "..\..\src\hostapi\asio\ASIOSDK\host" /I "..\..\src\hostapi\asio\ASIOSDK\host\pc" /I "..\..\src\hostapi\asio\ASIOSDK\common" -# End Source File -# Begin Source File - -SOURCE=..\..\src\hostapi\asio\ASIOSDK\host\pc\asiolist.cpp -# ADD CPP /I "..\..\src\hostapi\asio\ASIOSDK\host" /I "..\..\src\hostapi\asio\ASIOSDK\host\pc" /I "..\..\src\hostapi\asio\ASIOSDK\common" -# End Source File -# Begin Source File - -SOURCE=..\..\src\hostapi\asio\ASIOSDK\common\combase.cpp -# ADD CPP /I "..\..\src\hostapi\asio\ASIOSDK\host" /I "..\..\src\hostapi\asio\ASIOSDK\host\pc" /I "..\..\src\hostapi\asio\ASIOSDK\common" -# End Source File -# Begin Source File - -SOURCE=..\..\src\hostapi\asio\ASIOSDK\common\debugmessage.cpp -# ADD CPP /I "..\..\src\hostapi\asio\ASIOSDK\host" /I "..\..\src\hostapi\asio\ASIOSDK\host\pc" /I "..\..\src\hostapi\asio\ASIOSDK\common" -# End Source File -# Begin Source File - -SOURCE=..\..\src\hostapi\asio\ASIOSDK\common\register.cpp -# ADD CPP /I "..\..\src\hostapi\asio\ASIOSDK\host" /I "..\..\src\hostapi\asio\ASIOSDK\host\pc" /I "..\..\src\hostapi\asio\ASIOSDK\common" -# End Source File -# End Group -# Begin Source File - -SOURCE=..\..\src\hostapi\asio\pa_asio.cpp -# ADD CPP /I "..\..\src\hostapi\asio\ASIOSDK\host" /I "..\..\src\hostapi\asio\ASIOSDK\host\pc" /I "..\..\src\hostapi\asio\ASIOSDK\common" -# End Source File -# End Group -# Begin Group "dsound" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\..\src\hostapi\dsound\pa_win_ds.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\hostapi\dsound\pa_win_ds_dynlink.c -# End Source File -# End Group -# Begin Group "wmme" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\..\src\hostapi\wmme\pa_win_wmme.c -# End Source File -# End Group -# Begin Group "wasapi" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\..\src\hostapi\wasapi\pa_win_wasapi.cpp -# End Source File -# End Group -# Begin Group "wdm-ks" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\..\src\hostapi\wdmks\pa_win_wdmks.c -# End Source File -# End Group -# End Group -# Begin Group "os" - -# PROP Default_Filter "" -# Begin Group "win" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\..\src\os\win\pa_win_hostapis.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\os\win\pa_win_util.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\os\win\pa_win_waveformat.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\os\win\pa_win_wdmks_utils.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\os\win\pa_x86_plain_converters.c -# End Source File -# End Group -# End Group -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\portaudio.def -# End Source File -# End Group -# End Target -# End Project diff --git a/res/pjproject/third_party/portaudio/build/msvc/portaudio.dsw b/res/pjproject/third_party/portaudio/build/msvc/portaudio.dsw deleted file mode 100644 index 58d0ea9fb1..0000000000 --- a/res/pjproject/third_party/portaudio/build/msvc/portaudio.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "portaudio"=".\portaudio.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/res/pjproject/third_party/portaudio/build/msvc/portaudio.sln b/res/pjproject/third_party/portaudio/build/msvc/portaudio.sln deleted file mode 100644 index 25a8721a6e..0000000000 --- a/res/pjproject/third_party/portaudio/build/msvc/portaudio.sln +++ /dev/null @@ -1,26 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "portaudio", "portaudio.vcproj", "{0A18A071-125E-442F-AFF7-A3F68ABECF99}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {0A18A071-125E-442F-AFF7-A3F68ABECF99}.Debug|Win32.ActiveCfg = Debug|Win32 - {0A18A071-125E-442F-AFF7-A3F68ABECF99}.Debug|Win32.Build.0 = Debug|Win32 - {0A18A071-125E-442F-AFF7-A3F68ABECF99}.Debug|x64.ActiveCfg = Debug|x64 - {0A18A071-125E-442F-AFF7-A3F68ABECF99}.Debug|x64.Build.0 = Debug|x64 - {0A18A071-125E-442F-AFF7-A3F68ABECF99}.Release|Win32.ActiveCfg = Release|Win32 - {0A18A071-125E-442F-AFF7-A3F68ABECF99}.Release|Win32.Build.0 = Release|Win32 - {0A18A071-125E-442F-AFF7-A3F68ABECF99}.Release|x64.ActiveCfg = Release|x64 - {0A18A071-125E-442F-AFF7-A3F68ABECF99}.Release|x64.Build.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/res/pjproject/third_party/portaudio/build/msvc/portaudio.vcproj b/res/pjproject/third_party/portaudio/build/msvc/portaudio.vcproj deleted file mode 100644 index 0065e33cfc..0000000000 --- a/res/pjproject/third_party/portaudio/build/msvc/portaudio.vcproj +++ /dev/null @@ -1,1512 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/pjproject/third_party/portaudio/build/msvc/readme.txt b/res/pjproject/third_party/portaudio/build/msvc/readme.txt deleted file mode 100644 index b7d2f0bedd..0000000000 --- a/res/pjproject/third_party/portaudio/build/msvc/readme.txt +++ /dev/null @@ -1,109 +0,0 @@ -Hello - - This is a small list of steps in order to build portaudio -(Currently v19-devel) into a VC6 DLL and lib file. -This DLL contains all 3 current win32 PA APIS (MM/DS/ASIO) - -1)Copy the source dirs that comes with the ASIO SDK inside src\hostapi\asio\ASIOSDK - so you should now have example: - - portaudio19svn\src\hostapi\asio\ASIOSDK\common - portaudio19svn\src\hostapi\asio\ASIOSDK\host - portaudio19svn\src\hostapi\asio\ASIOSDK\host\sample - portaudio19svn\src\hostapi\asio\ASIOSDK\host\pc - portaudio19svn\src\hostapi\asio\ASIOSDK\host\mac (not needed) - - You dont need "driver" - - To build without ASIO (or another Host API) see the "Building without ASIO support" section below. - -2) - *If you have Visual Studio 6.0*, please make sure you have it updated with the latest (and final) - microsoft libraries for it, namely: - - Service pack 5: - Latest known URL: - http://msdn2.microsoft.com/en-us/vstudio/aa718363.aspx - Yes there EXISTS a service pack 6 , but the processor pack (below) isnt compatible with it. - - Processor Pack(only works with above SP5) - Latest known URL: - http://msdn2.microsoft.com/en-us/vstudio/Aa718349.aspx - This isnt absolutely required for portaudio, but if you plan on using SSE intrinsics and similar things. - Up to you to decide upon Service pack 5 or 6 depending on your need for intrinsics. - - Platform SDK (Feb 2003) : - Latest known URL: - http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm - (This will allow your code base to be x64 friendly, with correct defines - for LONG_PTR and such) - NOTE A) Yes you have to use IE activex scripts to install that - wont work in Firefox, you - may have to temporarily change tyour default browser(aint life unfair) - NOTE B) Dont forget to hit "Register PSDK Directories with Visual Studio". - you can make sure its right in VC6 if you open tools/options/directories/include files and you see SDK 2003 as the FIRST entry - (it must be the same for libs) - - DirectX 9.0 SDK Update - (Summer 2003) - Latest known URL: - http://www.microsoft.com/downloads/details.aspx?familyid=9216652f-51e0-402e-b7b5-feb68d00f298&displaylang=en - Again register the links in VC6, and check inside vc6 if headers are in second place right after SDk 2003 - - *If you have 7.0(VC.NET/2001) or 7.1(VC.2003) * - then I suggest you open portaudio.dsp (and convert if needed) - - *If you have Visual Studio 2005*, I suggest you open the portaudio.sln file - which contains 4 configurations. Win32/x64 in both Release and Debug variants - - hit compile and hope for the best. - -3)Now in any project, in which you require portaudio, - you can just link with portaudio_x86.lib, (or _x64) and of course include the - relevant headers - (portaudio.h, and/or pa_asio.h , pa_x86_plain_converters.h) See (*) - -4) Your new exe should now use portaudio_xXX.dll. - - -Have fun! - -(*): you may want to add/remove some DLL entry points. -Right now those 6 entries are _not_ from portaudio.h - -(from portaudio.def) -(...) -PaAsio_GetAvailableLatencyValues @50 -PaAsio_ShowControlPanel @51 -PaUtil_InitializeX86PlainConverters @52 -PaAsio_GetInputChannelName @53 -PaAsio_GetOutputChannelName @54 -PaUtil_SetLogPrintFunction @55 - - -*** Building without ASIO support *** - -To build PortAudio without ASIO support you need to: - A. Make sure your project doesn't try to build any ASIO SDK files. - If you're using one of the shipped projects, remove the ASIO related files - from the project. - - B. Make sure your project doesn't try to build the PortAudio ASIO - implementation files: - src/hostapi/pa_asio.cpp src/hostapi/iasiothiscallresolver.cpp - If you're using one of the shipped projects remove them from the project. - - C. Define the PA_NO_ASIO preprocessor symbol in the project properties. - In VS2005 this can be added under - Project Properties > Configuration Properties > C/C++ > Preprocessor > Preprocessor Definitions - - Defining PA_NO_ASIO stops src/os/win/pa_win_hostapis.c - from trying to initialize the PA ASIO implementation. - - D. Remove PaAsio_* entry points from portaudio.def - -A similar procedure can be used to omit any of the other host APIs from the -build. The relevant preprocessor symbols used by pa_win_hostapis.c are: -PA_NO_WMME, PA_NO_DS, PA_NO_ASIO, PA_NO_WASAPI and PA_NO_WDMKS - - ------ -David Viens, davidv@plogue.com \ No newline at end of file diff --git a/res/pjproject/third_party/portaudio/build/scons/SConscript_common b/res/pjproject/third_party/portaudio/build/scons/SConscript_common deleted file mode 100644 index eaf4e3c9cc..0000000000 --- a/res/pjproject/third_party/portaudio/build/scons/SConscript_common +++ /dev/null @@ -1,30 +0,0 @@ -import os.path, sys - -class ConfigurationError(Exception): - def __init__(self, reason): - Exception.__init__(self, "Configuration failed: %s" % reason) - -env = Environment() - -# sunos, aix, hpux, irix, sunos appear to be platforms known by SCons, assuming they're POSIX compliant -Posix = ("linux", "darwin", "sunos", "aix", "hpux", "irix", "sunos", "netbsd") -Windows = ("win32", "cygwin") - -if env["PLATFORM"] == "posix": - if sys.platform[:5] == "linux": - Platform = "linux" - elif sys.platform[:6] == "netbsd": - Platform = "netbsd" - else: - raise ConfigurationError("Unknown platform %s" % sys.platform) -else: - if not env["PLATFORM"] in ("win32", "cygwin") + Posix: - raise ConfigurationError("Unknown platform %s" % env["PLATFORM"]) - Platform = env["PLATFORM"] - -# Inspired by the versioning scheme followed by Qt, it seems sensible enough. There are three components: major, minor -# and micro. Major changes with each subtraction from the API (backward-incompatible, i.e. V19 vs. V18), minor changes -# with each addition to the API (backward-compatible), micro changes with each revision of the source code. -ApiVer = "2.0.0" - -Export("Platform", "Posix", "ConfigurationError", "ApiVer") diff --git a/res/pjproject/third_party/portaudio/build/scons/SConscript_opts b/res/pjproject/third_party/portaudio/build/scons/SConscript_opts deleted file mode 100644 index 6a4b0a958e..0000000000 --- a/res/pjproject/third_party/portaudio/build/scons/SConscript_opts +++ /dev/null @@ -1,91 +0,0 @@ -import os.path, sys - -def _PackageOption(pkgName, default=1): - """ Allow user to choose whether a package should be used if available. This results in a commandline option use, - where Pkgname is the name of the package with a capitalized first letter. - @param pkgName: Name of package. - @param default: The default value for this option ("yes"/"no"). - """ - return BoolOption("use%s" % pkgName[0].upper() + pkgName[1:], "use %s if available" % (pkgName), default) - -def _BoolOption(opt, explanation, default=1): - """ Allow user to enable/disable a certain option. This results in a commandline option enable